/******/ (() => { // webpackBootstrap
/******/ 	var __webpack_modules__ = ({

/***/ 96486:
/***/ (function(module, exports, __webpack_require__) {

/* module decorator */ module = __webpack_require__.nmd(module);
var __WEBPACK_AMD_DEFINE_RESULT__;/**
 * @license
 * Lodash <https://lodash.com/>
 * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
 * Released under MIT license <https://lodash.com/license>
 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
 */
;(function() {

  /** Used as a safe reference for `undefined` in pre-ES5 environments. */
  var undefined;

  /** Used as the semantic version number. */
  var VERSION = '4.17.21';

  /** Used as the size to enable large array optimizations. */
  var LARGE_ARRAY_SIZE = 200;

  /** Error message constants. */
  var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.',
      FUNC_ERROR_TEXT = 'Expected a function',
      INVALID_TEMPL_VAR_ERROR_TEXT = 'Invalid `variable` option passed into `_.template`';

  /** Used to stand-in for `undefined` hash values. */
  var HASH_UNDEFINED = '__lodash_hash_undefined__';

  /** Used as the maximum memoize cache size. */
  var MAX_MEMOIZE_SIZE = 500;

  /** Used as the internal argument placeholder. */
  var PLACEHOLDER = '__lodash_placeholder__';

  /** Used to compose bitmasks for cloning. */
  var CLONE_DEEP_FLAG = 1,
      CLONE_FLAT_FLAG = 2,
      CLONE_SYMBOLS_FLAG = 4;

  /** Used to compose bitmasks for value comparisons. */
  var COMPARE_PARTIAL_FLAG = 1,
      COMPARE_UNORDERED_FLAG = 2;

  /** Used to compose bitmasks for function metadata. */
  var WRAP_BIND_FLAG = 1,
      WRAP_BIND_KEY_FLAG = 2,
      WRAP_CURRY_BOUND_FLAG = 4,
      WRAP_CURRY_FLAG = 8,
      WRAP_CURRY_RIGHT_FLAG = 16,
      WRAP_PARTIAL_FLAG = 32,
      WRAP_PARTIAL_RIGHT_FLAG = 64,
      WRAP_ARY_FLAG = 128,
      WRAP_REARG_FLAG = 256,
      WRAP_FLIP_FLAG = 512;

  /** Used as default options for `_.truncate`. */
  var DEFAULT_TRUNC_LENGTH = 30,
      DEFAULT_TRUNC_OMISSION = '...';

  /** Used to detect hot functions by number of calls within a span of milliseconds. */
  var HOT_COUNT = 800,
      HOT_SPAN = 16;

  /** Used to indicate the type of lazy iteratees. */
  var LAZY_FILTER_FLAG = 1,
      LAZY_MAP_FLAG = 2,
      LAZY_WHILE_FLAG = 3;

  /** Used as references for various `Number` constants. */
  var INFINITY = 1 / 0,
      MAX_SAFE_INTEGER = 9007199254740991,
      MAX_INTEGER = 1.7976931348623157e+308,
      NAN = 0 / 0;

  /** Used as references for the maximum length and index of an array. */
  var MAX_ARRAY_LENGTH = 4294967295,
      MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1,
      HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1;

  /** Used to associate wrap methods with their bit flags. */
  var wrapFlags = [
    ['ary', WRAP_ARY_FLAG],
    ['bind', WRAP_BIND_FLAG],
    ['bindKey', WRAP_BIND_KEY_FLAG],
    ['curry', WRAP_CURRY_FLAG],
    ['curryRight', WRAP_CURRY_RIGHT_FLAG],
    ['flip', WRAP_FLIP_FLAG],
    ['partial', WRAP_PARTIAL_FLAG],
    ['partialRight', WRAP_PARTIAL_RIGHT_FLAG],
    ['rearg', WRAP_REARG_FLAG]
  ];

  /** `Object#toString` result references. */
  var argsTag = '[object Arguments]',
      arrayTag = '[object Array]',
      asyncTag = '[object AsyncFunction]',
      boolTag = '[object Boolean]',
      dateTag = '[object Date]',
      domExcTag = '[object DOMException]',
      errorTag = '[object Error]',
      funcTag = '[object Function]',
      genTag = '[object GeneratorFunction]',
      mapTag = '[object Map]',
      numberTag = '[object Number]',
      nullTag = '[object Null]',
      objectTag = '[object Object]',
      promiseTag = '[object Promise]',
      proxyTag = '[object Proxy]',
      regexpTag = '[object RegExp]',
      setTag = '[object Set]',
      stringTag = '[object String]',
      symbolTag = '[object Symbol]',
      undefinedTag = '[object Undefined]',
      weakMapTag = '[object WeakMap]',
      weakSetTag = '[object WeakSet]';

  var arrayBufferTag = '[object ArrayBuffer]',
      dataViewTag = '[object DataView]',
      float32Tag = '[object Float32Array]',
      float64Tag = '[object Float64Array]',
      int8Tag = '[object Int8Array]',
      int16Tag = '[object Int16Array]',
      int32Tag = '[object Int32Array]',
      uint8Tag = '[object Uint8Array]',
      uint8ClampedTag = '[object Uint8ClampedArray]',
      uint16Tag = '[object Uint16Array]',
      uint32Tag = '[object Uint32Array]';

  /** Used to match empty string literals in compiled template source. */
  var reEmptyStringLeading = /\b__p \+= '';/g,
      reEmptyStringMiddle = /\b(__p \+=) '' \+/g,
      reEmptyStringTrailing = /(__e\(.*?\)|\b__t\)) \+\n'';/g;

  /** Used to match HTML entities and HTML characters. */
  var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g,
      reUnescapedHtml = /[&<>"']/g,
      reHasEscapedHtml = RegExp(reEscapedHtml.source),
      reHasUnescapedHtml = RegExp(reUnescapedHtml.source);

  /** Used to match template delimiters. */
  var reEscape = /<%-([\s\S]+?)%>/g,
      reEvaluate = /<%([\s\S]+?)%>/g,
      reInterpolate = /<%=([\s\S]+?)%>/g;

  /** Used to match property names within property paths. */
  var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
      reIsPlainProp = /^\w*$/,
      rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;

  /**
   * Used to match `RegExp`
   * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
   */
  var reRegExpChar = /[\\^$.*+?()[\]{}|]/g,
      reHasRegExpChar = RegExp(reRegExpChar.source);

  /** Used to match leading whitespace. */
  var reTrimStart = /^\s+/;

  /** Used to match a single whitespace character. */
  var reWhitespace = /\s/;

  /** Used to match wrap detail comments. */
  var reWrapComment = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,
      reWrapDetails = /\{\n\/\* \[wrapped with (.+)\] \*/,
      reSplitDetails = /,? & /;

  /** Used to match words composed of alphanumeric characters. */
  var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;

  /**
   * Used to validate the `validate` option in `_.template` variable.
   *
   * Forbids characters which could potentially change the meaning of the function argument definition:
   * - "()," (modification of function parameters)
   * - "=" (default value)
   * - "[]{}" (destructuring of function parameters)
   * - "/" (beginning of a comment)
   * - whitespace
   */
  var reForbiddenIdentifierChars = /[()=,{}\[\]\/\s]/;

  /** Used to match backslashes in property paths. */
  var reEscapeChar = /\\(\\)?/g;

  /**
   * Used to match
   * [ES template delimiters](http://ecma-international.org/ecma-262/7.0/#sec-template-literal-lexical-components).
   */
  var reEsTemplate = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g;

  /** Used to match `RegExp` flags from their coerced string values. */
  var reFlags = /\w*$/;

  /** Used to detect bad signed hexadecimal string values. */
  var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;

  /** Used to detect binary string values. */
  var reIsBinary = /^0b[01]+$/i;

  /** Used to detect host constructors (Safari). */
  var reIsHostCtor = /^\[object .+?Constructor\]$/;

  /** Used to detect octal string values. */
  var reIsOctal = /^0o[0-7]+$/i;

  /** Used to detect unsigned integer values. */
  var reIsUint = /^(?:0|[1-9]\d*)$/;

  /** Used to match Latin Unicode letters (excluding mathematical operators). */
  var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;

  /** Used to ensure capturing order of template delimiters. */
  var reNoMatch = /($^)/;

  /** Used to match unescaped characters in compiled string literals. */
  var reUnescapedString = /['\n\r\u2028\u2029\\]/g;

  /** Used to compose unicode character classes. */
  var rsAstralRange = '\\ud800-\\udfff',
      rsComboMarksRange = '\\u0300-\\u036f',
      reComboHalfMarksRange = '\\ufe20-\\ufe2f',
      rsComboSymbolsRange = '\\u20d0-\\u20ff',
      rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,
      rsDingbatRange = '\\u2700-\\u27bf',
      rsLowerRange = 'a-z\\xdf-\\xf6\\xf8-\\xff',
      rsMathOpRange = '\\xac\\xb1\\xd7\\xf7',
      rsNonCharRange = '\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf',
      rsPunctuationRange = '\\u2000-\\u206f',
      rsSpaceRange = ' \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000',
      rsUpperRange = 'A-Z\\xc0-\\xd6\\xd8-\\xde',
      rsVarRange = '\\ufe0e\\ufe0f',
      rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;

  /** Used to compose unicode capture groups. */
  var rsApos = "['\u2019]",
      rsAstral = '[' + rsAstralRange + ']',
      rsBreak = '[' + rsBreakRange + ']',
      rsCombo = '[' + rsComboRange + ']',
      rsDigits = '\\d+',
      rsDingbat = '[' + rsDingbatRange + ']',
      rsLower = '[' + rsLowerRange + ']',
      rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',
      rsFitz = '\\ud83c[\\udffb-\\udfff]',
      rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',
      rsNonAstral = '[^' + rsAstralRange + ']',
      rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}',
      rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]',
      rsUpper = '[' + rsUpperRange + ']',
      rsZWJ = '\\u200d';

  /** Used to compose unicode regexes. */
  var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')',
      rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')',
      rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',
      rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',
      reOptMod = rsModifier + '?',
      rsOptVar = '[' + rsVarRange + ']?',
      rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',
      rsOrdLower = '\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])',
      rsOrdUpper = '\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])',
      rsSeq = rsOptVar + reOptMod + rsOptJoin,
      rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq,
      rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';

  /** Used to match apostrophes. */
  var reApos = RegExp(rsApos, 'g');

  /**
   * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and
   * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).
   */
  var reComboMark = RegExp(rsCombo, 'g');

  /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */
  var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');

  /** Used to match complex or compound words. */
  var reUnicodeWord = RegExp([
    rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',
    rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')',
    rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower,
    rsUpper + '+' + rsOptContrUpper,
    rsOrdUpper,
    rsOrdLower,
    rsDigits,
    rsEmoji
  ].join('|'), 'g');

  /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */
  var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange  + rsComboRange + rsVarRange + ']');

  /** Used to detect strings that need a more robust regexp to match words. */
  var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;

  /** Used to assign default `context` object properties. */
  var contextProps = [
    'Array', 'Buffer', 'DataView', 'Date', 'Error', 'Float32Array', 'Float64Array',
    'Function', 'Int8Array', 'Int16Array', 'Int32Array', 'Map', 'Math', 'Object',
    'Promise', 'RegExp', 'Set', 'String', 'Symbol', 'TypeError', 'Uint8Array',
    'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'WeakMap',
    '_', 'clearTimeout', 'isFinite', 'parseInt', 'setTimeout'
  ];

  /** Used to make template sourceURLs easier to identify. */
  var templateCounter = -1;

  /** Used to identify `toStringTag` values of typed arrays. */
  var typedArrayTags = {};
  typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
  typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
  typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
  typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
  typedArrayTags[uint32Tag] = true;
  typedArrayTags[argsTag] = typedArrayTags[arrayTag] =
  typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =
  typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =
  typedArrayTags[errorTag] = typedArrayTags[funcTag] =
  typedArrayTags[mapTag] = typedArrayTags[numberTag] =
  typedArrayTags[objectTag] = typedArrayTags[regexpTag] =
  typedArrayTags[setTag] = typedArrayTags[stringTag] =
  typedArrayTags[weakMapTag] = false;

  /** Used to identify `toStringTag` values supported by `_.clone`. */
  var cloneableTags = {};
  cloneableTags[argsTag] = cloneableTags[arrayTag] =
  cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =
  cloneableTags[boolTag] = cloneableTags[dateTag] =
  cloneableTags[float32Tag] = cloneableTags[float64Tag] =
  cloneableTags[int8Tag] = cloneableTags[int16Tag] =
  cloneableTags[int32Tag] = cloneableTags[mapTag] =
  cloneableTags[numberTag] = cloneableTags[objectTag] =
  cloneableTags[regexpTag] = cloneableTags[setTag] =
  cloneableTags[stringTag] = cloneableTags[symbolTag] =
  cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =
  cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
  cloneableTags[errorTag] = cloneableTags[funcTag] =
  cloneableTags[weakMapTag] = false;

  /** Used to map Latin Unicode letters to basic Latin letters. */
  var deburredLetters = {
    // Latin-1 Supplement block.
    '\xc0': 'A',  '\xc1': 'A', '\xc2': 'A', '\xc3': 'A', '\xc4': 'A', '\xc5': 'A',
    '\xe0': 'a',  '\xe1': 'a', '\xe2': 'a', '\xe3': 'a', '\xe4': 'a', '\xe5': 'a',
    '\xc7': 'C',  '\xe7': 'c',
    '\xd0': 'D',  '\xf0': 'd',
    '\xc8': 'E',  '\xc9': 'E', '\xca': 'E', '\xcb': 'E',
    '\xe8': 'e',  '\xe9': 'e', '\xea': 'e', '\xeb': 'e',
    '\xcc': 'I',  '\xcd': 'I', '\xce': 'I', '\xcf': 'I',
    '\xec': 'i',  '\xed': 'i', '\xee': 'i', '\xef': 'i',
    '\xd1': 'N',  '\xf1': 'n',
    '\xd2': 'O',  '\xd3': 'O', '\xd4': 'O', '\xd5': 'O', '\xd6': 'O', '\xd8': 'O',
    '\xf2': 'o',  '\xf3': 'o', '\xf4': 'o', '\xf5': 'o', '\xf6': 'o', '\xf8': 'o',
    '\xd9': 'U',  '\xda': 'U', '\xdb': 'U', '\xdc': 'U',
    '\xf9': 'u',  '\xfa': 'u', '\xfb': 'u', '\xfc': 'u',
    '\xdd': 'Y',  '\xfd': 'y', '\xff': 'y',
    '\xc6': 'Ae', '\xe6': 'ae',
    '\xde': 'Th', '\xfe': 'th',
    '\xdf': 'ss',
    // Latin Extended-A block.
    '\u0100': 'A',  '\u0102': 'A', '\u0104': 'A',
    '\u0101': 'a',  '\u0103': 'a', '\u0105': 'a',
    '\u0106': 'C',  '\u0108': 'C', '\u010a': 'C', '\u010c': 'C',
    '\u0107': 'c',  '\u0109': 'c', '\u010b': 'c', '\u010d': 'c',
    '\u010e': 'D',  '\u0110': 'D', '\u010f': 'd', '\u0111': 'd',
    '\u0112': 'E',  '\u0114': 'E', '\u0116': 'E', '\u0118': 'E', '\u011a': 'E',
    '\u0113': 'e',  '\u0115': 'e', '\u0117': 'e', '\u0119': 'e', '\u011b': 'e',
    '\u011c': 'G',  '\u011e': 'G', '\u0120': 'G', '\u0122': 'G',
    '\u011d': 'g',  '\u011f': 'g', '\u0121': 'g', '\u0123': 'g',
    '\u0124': 'H',  '\u0126': 'H', '\u0125': 'h', '\u0127': 'h',
    '\u0128': 'I',  '\u012a': 'I', '\u012c': 'I', '\u012e': 'I', '\u0130': 'I',
    '\u0129': 'i',  '\u012b': 'i', '\u012d': 'i', '\u012f': 'i', '\u0131': 'i',
    '\u0134': 'J',  '\u0135': 'j',
    '\u0136': 'K',  '\u0137': 'k', '\u0138': 'k',
    '\u0139': 'L',  '\u013b': 'L', '\u013d': 'L', '\u013f': 'L', '\u0141': 'L',
    '\u013a': 'l',  '\u013c': 'l', '\u013e': 'l', '\u0140': 'l', '\u0142': 'l',
    '\u0143': 'N',  '\u0145': 'N', '\u0147': 'N', '\u014a': 'N',
    '\u0144': 'n',  '\u0146': 'n', '\u0148': 'n', '\u014b': 'n',
    '\u014c': 'O',  '\u014e': 'O', '\u0150': 'O',
    '\u014d': 'o',  '\u014f': 'o', '\u0151': 'o',
    '\u0154': 'R',  '\u0156': 'R', '\u0158': 'R',
    '\u0155': 'r',  '\u0157': 'r', '\u0159': 'r',
    '\u015a': 'S',  '\u015c': 'S', '\u015e': 'S', '\u0160': 'S',
    '\u015b': 's',  '\u015d': 's', '\u015f': 's', '\u0161': 's',
    '\u0162': 'T',  '\u0164': 'T', '\u0166': 'T',
    '\u0163': 't',  '\u0165': 't', '\u0167': 't',
    '\u0168': 'U',  '\u016a': 'U', '\u016c': 'U', '\u016e': 'U', '\u0170': 'U', '\u0172': 'U',
    '\u0169': 'u',  '\u016b': 'u', '\u016d': 'u', '\u016f': 'u', '\u0171': 'u', '\u0173': 'u',
    '\u0174': 'W',  '\u0175': 'w',
    '\u0176': 'Y',  '\u0177': 'y', '\u0178': 'Y',
    '\u0179': 'Z',  '\u017b': 'Z', '\u017d': 'Z',
    '\u017a': 'z',  '\u017c': 'z', '\u017e': 'z',
    '\u0132': 'IJ', '\u0133': 'ij',
    '\u0152': 'Oe', '\u0153': 'oe',
    '\u0149': "'n", '\u017f': 's'
  };

  /** Used to map characters to HTML entities. */
  var htmlEscapes = {
    '&': '&amp;',
    '<': '&lt;',
    '>': '&gt;',
    '"': '&quot;',
    "'": '&#39;'
  };

  /** Used to map HTML entities to characters. */
  var htmlUnescapes = {
    '&amp;': '&',
    '&lt;': '<',
    '&gt;': '>',
    '&quot;': '"',
    '&#39;': "'"
  };

  /** Used to escape characters for inclusion in compiled string literals. */
  var stringEscapes = {
    '\\': '\\',
    "'": "'",
    '\n': 'n',
    '\r': 'r',
    '\u2028': 'u2028',
    '\u2029': 'u2029'
  };

  /** Built-in method references without a dependency on `root`. */
  var freeParseFloat = parseFloat,
      freeParseInt = parseInt;

  /** Detect free variable `global` from Node.js. */
  var freeGlobal = typeof __webpack_require__.g == 'object' && __webpack_require__.g && __webpack_require__.g.Object === Object && __webpack_require__.g;

  /** Detect free variable `self`. */
  var freeSelf = typeof self == 'object' && self && self.Object === Object && self;

  /** Used as a reference to the global object. */
  var root = freeGlobal || freeSelf || Function('return this')();

  /** Detect free variable `exports`. */
  var freeExports =  true && exports && !exports.nodeType && exports;

  /** Detect free variable `module`. */
  var freeModule = freeExports && "object" == 'object' && module && !module.nodeType && module;

  /** Detect the popular CommonJS extension `module.exports`. */
  var moduleExports = freeModule && freeModule.exports === freeExports;

  /** Detect free variable `process` from Node.js. */
  var freeProcess = moduleExports && freeGlobal.process;

  /** Used to access faster Node.js helpers. */
  var nodeUtil = (function() {
    try {
      // Use `util.types` for Node.js 10+.
      var types = freeModule && freeModule.require && freeModule.require('util').types;

      if (types) {
        return types;
      }

      // Legacy `process.binding('util')` for Node.js < 10.
      return freeProcess && freeProcess.binding && freeProcess.binding('util');
    } catch (e) {}
  }());

  /* Node.js helper references. */
  var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer,
      nodeIsDate = nodeUtil && nodeUtil.isDate,
      nodeIsMap = nodeUtil && nodeUtil.isMap,
      nodeIsRegExp = nodeUtil && nodeUtil.isRegExp,
      nodeIsSet = nodeUtil && nodeUtil.isSet,
      nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;

  /*--------------------------------------------------------------------------*/

  /**
   * A faster alternative to `Function#apply`, this function invokes `func`
   * with the `this` binding of `thisArg` and the arguments of `args`.
   *
   * @private
   * @param {Function} func The function to invoke.
   * @param {*} thisArg The `this` binding of `func`.
   * @param {Array} args The arguments to invoke `func` with.
   * @returns {*} Returns the result of `func`.
   */
  function apply(func, thisArg, args) {
    switch (args.length) {
      case 0: return func.call(thisArg);
      case 1: return func.call(thisArg, args[0]);
      case 2: return func.call(thisArg, args[0], args[1]);
      case 3: return func.call(thisArg, args[0], args[1], args[2]);
    }
    return func.apply(thisArg, args);
  }

  /**
   * A specialized version of `baseAggregator` for arrays.
   *
   * @private
   * @param {Array} [array] The array to iterate over.
   * @param {Function} setter The function to set `accumulator` values.
   * @param {Function} iteratee The iteratee to transform keys.
   * @param {Object} accumulator The initial aggregated object.
   * @returns {Function} Returns `accumulator`.
   */
  function arrayAggregator(array, setter, iteratee, accumulator) {
    var index = -1,
        length = array == null ? 0 : array.length;

    while (++index < length) {
      var value = array[index];
      setter(accumulator, value, iteratee(value), array);
    }
    return accumulator;
  }

  /**
   * A specialized version of `_.forEach` for arrays without support for
   * iteratee shorthands.
   *
   * @private
   * @param {Array} [array] The array to iterate over.
   * @param {Function} iteratee The function invoked per iteration.
   * @returns {Array} Returns `array`.
   */
  function arrayEach(array, iteratee) {
    var index = -1,
        length = array == null ? 0 : array.length;

    while (++index < length) {
      if (iteratee(array[index], index, array) === false) {
        break;
      }
    }
    return array;
  }

  /**
   * A specialized version of `_.forEachRight` for arrays without support for
   * iteratee shorthands.
   *
   * @private
   * @param {Array} [array] The array to iterate over.
   * @param {Function} iteratee The function invoked per iteration.
   * @returns {Array} Returns `array`.
   */
  function arrayEachRight(array, iteratee) {
    var length = array == null ? 0 : array.length;

    while (length--) {
      if (iteratee(array[length], length, array) === false) {
        break;
      }
    }
    return array;
  }

  /**
   * A specialized version of `_.every` for arrays without support for
   * iteratee shorthands.
   *
   * @private
   * @param {Array} [array] The array to iterate over.
   * @param {Function} predicate The function invoked per iteration.
   * @returns {boolean} Returns `true` if all elements pass the predicate check,
   *  else `false`.
   */
  function arrayEvery(array, predicate) {
    var index = -1,
        length = array == null ? 0 : array.length;

    while (++index < length) {
      if (!predicate(array[index], index, array)) {
        return false;
      }
    }
    return true;
  }

  /**
   * A specialized version of `_.filter` for arrays without support for
   * iteratee shorthands.
   *
   * @private
   * @param {Array} [array] The array to iterate over.
   * @param {Function} predicate The function invoked per iteration.
   * @returns {Array} Returns the new filtered array.
   */
  function arrayFilter(array, predicate) {
    var index = -1,
        length = array == null ? 0 : array.length,
        resIndex = 0,
        result = [];

    while (++index < length) {
      var value = array[index];
      if (predicate(value, index, array)) {
        result[resIndex++] = value;
      }
    }
    return result;
  }

  /**
   * A specialized version of `_.includes` for arrays without support for
   * specifying an index to search from.
   *
   * @private
   * @param {Array} [array] The array to inspect.
   * @param {*} target The value to search for.
   * @returns {boolean} Returns `true` if `target` is found, else `false`.
   */
  function arrayIncludes(array, value) {
    var length = array == null ? 0 : array.length;
    return !!length && baseIndexOf(array, value, 0) > -1;
  }

  /**
   * This function is like `arrayIncludes` except that it accepts a comparator.
   *
   * @private
   * @param {Array} [array] The array to inspect.
   * @param {*} target The value to search for.
   * @param {Function} comparator The comparator invoked per element.
   * @returns {boolean} Returns `true` if `target` is found, else `false`.
   */
  function arrayIncludesWith(array, value, comparator) {
    var index = -1,
        length = array == null ? 0 : array.length;

    while (++index < length) {
      if (comparator(value, array[index])) {
        return true;
      }
    }
    return false;
  }

  /**
   * A specialized version of `_.map` for arrays without support for iteratee
   * shorthands.
   *
   * @private
   * @param {Array} [array] The array to iterate over.
   * @param {Function} iteratee The function invoked per iteration.
   * @returns {Array} Returns the new mapped array.
   */
  function arrayMap(array, iteratee) {
    var index = -1,
        length = array == null ? 0 : array.length,
        result = Array(length);

    while (++index < length) {
      result[index] = iteratee(array[index], index, array);
    }
    return result;
  }

  /**
   * Appends the elements of `values` to `array`.
   *
   * @private
   * @param {Array} array The array to modify.
   * @param {Array} values The values to append.
   * @returns {Array} Returns `array`.
   */
  function arrayPush(array, values) {
    var index = -1,
        length = values.length,
        offset = array.length;

    while (++index < length) {
      array[offset + index] = values[index];
    }
    return array;
  }

  /**
   * A specialized version of `_.reduce` for arrays without support for
   * iteratee shorthands.
   *
   * @private
   * @param {Array} [array] The array to iterate over.
   * @param {Function} iteratee The function invoked per iteration.
   * @param {*} [accumulator] The initial value.
   * @param {boolean} [initAccum] Specify using the first element of `array` as
   *  the initial value.
   * @returns {*} Returns the accumulated value.
   */
  function arrayReduce(array, iteratee, accumulator, initAccum) {
    var index = -1,
        length = array == null ? 0 : array.length;

    if (initAccum && length) {
      accumulator = array[++index];
    }
    while (++index < length) {
      accumulator = iteratee(accumulator, array[index], index, array);
    }
    return accumulator;
  }

  /**
   * A specialized version of `_.reduceRight` for arrays without support for
   * iteratee shorthands.
   *
   * @private
   * @param {Array} [array] The array to iterate over.
   * @param {Function} iteratee The function invoked per iteration.
   * @param {*} [accumulator] The initial value.
   * @param {boolean} [initAccum] Specify using the last element of `array` as
   *  the initial value.
   * @returns {*} Returns the accumulated value.
   */
  function arrayReduceRight(array, iteratee, accumulator, initAccum) {
    var length = array == null ? 0 : array.length;
    if (initAccum && length) {
      accumulator = array[--length];
    }
    while (length--) {
      accumulator = iteratee(accumulator, array[length], length, array);
    }
    return accumulator;
  }

  /**
   * A specialized version of `_.some` for arrays without support for iteratee
   * shorthands.
   *
   * @private
   * @param {Array} [array] The array to iterate over.
   * @param {Function} predicate The function invoked per iteration.
   * @returns {boolean} Returns `true` if any element passes the predicate check,
   *  else `false`.
   */
  function arraySome(array, predicate) {
    var index = -1,
        length = array == null ? 0 : array.length;

    while (++index < length) {
      if (predicate(array[index], index, array)) {
        return true;
      }
    }
    return false;
  }

  /**
   * Gets the size of an ASCII `string`.
   *
   * @private
   * @param {string} string The string inspect.
   * @returns {number} Returns the string size.
   */
  var asciiSize = baseProperty('length');

  /**
   * Converts an ASCII `string` to an array.
   *
   * @private
   * @param {string} string The string to convert.
   * @returns {Array} Returns the converted array.
   */
  function asciiToArray(string) {
    return string.split('');
  }

  /**
   * Splits an ASCII `string` into an array of its words.
   *
   * @private
   * @param {string} The string to inspect.
   * @returns {Array} Returns the words of `string`.
   */
  function asciiWords(string) {
    return string.match(reAsciiWord) || [];
  }

  /**
   * The base implementation of methods like `_.findKey` and `_.findLastKey`,
   * without support for iteratee shorthands, which iterates over `collection`
   * using `eachFunc`.
   *
   * @private
   * @param {Array|Object} collection The collection to inspect.
   * @param {Function} predicate The function invoked per iteration.
   * @param {Function} eachFunc The function to iterate over `collection`.
   * @returns {*} Returns the found element or its key, else `undefined`.
   */
  function baseFindKey(collection, predicate, eachFunc) {
    var result;
    eachFunc(collection, function(value, key, collection) {
      if (predicate(value, key, collection)) {
        result = key;
        return false;
      }
    });
    return result;
  }

  /**
   * The base implementation of `_.findIndex` and `_.findLastIndex` without
   * support for iteratee shorthands.
   *
   * @private
   * @param {Array} array The array to inspect.
   * @param {Function} predicate The function invoked per iteration.
   * @param {number} fromIndex The index to search from.
   * @param {boolean} [fromRight] Specify iterating from right to left.
   * @returns {number} Returns the index of the matched value, else `-1`.
   */
  function baseFindIndex(array, predicate, fromIndex, fromRight) {
    var length = array.length,
        index = fromIndex + (fromRight ? 1 : -1);

    while ((fromRight ? index-- : ++index < length)) {
      if (predicate(array[index], index, array)) {
        return index;
      }
    }
    return -1;
  }

  /**
   * The base implementation of `_.indexOf` without `fromIndex` bounds checks.
   *
   * @private
   * @param {Array} array The array to inspect.
   * @param {*} value The value to search for.
   * @param {number} fromIndex The index to search from.
   * @returns {number} Returns the index of the matched value, else `-1`.
   */
  function baseIndexOf(array, value, fromIndex) {
    return value === value
      ? strictIndexOf(array, value, fromIndex)
      : baseFindIndex(array, baseIsNaN, fromIndex);
  }

  /**
   * This function is like `baseIndexOf` except that it accepts a comparator.
   *
   * @private
   * @param {Array} array The array to inspect.
   * @param {*} value The value to search for.
   * @param {number} fromIndex The index to search from.
   * @param {Function} comparator The comparator invoked per element.
   * @returns {number} Returns the index of the matched value, else `-1`.
   */
  function baseIndexOfWith(array, value, fromIndex, comparator) {
    var index = fromIndex - 1,
        length = array.length;

    while (++index < length) {
      if (comparator(array[index], value)) {
        return index;
      }
    }
    return -1;
  }

  /**
   * The base implementation of `_.isNaN` without support for number objects.
   *
   * @private
   * @param {*} value The value to check.
   * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.
   */
  function baseIsNaN(value) {
    return value !== value;
  }

  /**
   * The base implementation of `_.mean` and `_.meanBy` without support for
   * iteratee shorthands.
   *
   * @private
   * @param {Array} array The array to iterate over.
   * @param {Function} iteratee The function invoked per iteration.
   * @returns {number} Returns the mean.
   */
  function baseMean(array, iteratee) {
    var length = array == null ? 0 : array.length;
    return length ? (baseSum(array, iteratee) / length) : NAN;
  }

  /**
   * The base implementation of `_.property` without support for deep paths.
   *
   * @private
   * @param {string} key The key of the property to get.
   * @returns {Function} Returns the new accessor function.
   */
  function baseProperty(key) {
    return function(object) {
      return object == null ? undefined : object[key];
    };
  }

  /**
   * The base implementation of `_.propertyOf` without support for deep paths.
   *
   * @private
   * @param {Object} object The object to query.
   * @returns {Function} Returns the new accessor function.
   */
  function basePropertyOf(object) {
    return function(key) {
      return object == null ? undefined : object[key];
    };
  }

  /**
   * The base implementation of `_.reduce` and `_.reduceRight`, without support
   * for iteratee shorthands, which iterates over `collection` using `eachFunc`.
   *
   * @private
   * @param {Array|Object} collection The collection to iterate over.
   * @param {Function} iteratee The function invoked per iteration.
   * @param {*} accumulator The initial value.
   * @param {boolean} initAccum Specify using the first or last element of
   *  `collection` as the initial value.
   * @param {Function} eachFunc The function to iterate over `collection`.
   * @returns {*} Returns the accumulated value.
   */
  function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {
    eachFunc(collection, function(value, index, collection) {
      accumulator = initAccum
        ? (initAccum = false, value)
        : iteratee(accumulator, value, index, collection);
    });
    return accumulator;
  }

  /**
   * The base implementation of `_.sortBy` which uses `comparer` to define the
   * sort order of `array` and replaces criteria objects with their corresponding
   * values.
   *
   * @private
   * @param {Array} array The array to sort.
   * @param {Function} comparer The function to define sort order.
   * @returns {Array} Returns `array`.
   */
  function baseSortBy(array, comparer) {
    var length = array.length;

    array.sort(comparer);
    while (length--) {
      array[length] = array[length].value;
    }
    return array;
  }

  /**
   * The base implementation of `_.sum` and `_.sumBy` without support for
   * iteratee shorthands.
   *
   * @private
   * @param {Array} array The array to iterate over.
   * @param {Function} iteratee The function invoked per iteration.
   * @returns {number} Returns the sum.
   */
  function baseSum(array, iteratee) {
    var result,
        index = -1,
        length = array.length;

    while (++index < length) {
      var current = iteratee(array[index]);
      if (current !== undefined) {
        result = result === undefined ? current : (result + current);
      }
    }
    return result;
  }

  /**
   * The base implementation of `_.times` without support for iteratee shorthands
   * or max array length checks.
   *
   * @private
   * @param {number} n The number of times to invoke `iteratee`.
   * @param {Function} iteratee The function invoked per iteration.
   * @returns {Array} Returns the array of results.
   */
  function baseTimes(n, iteratee) {
    var index = -1,
        result = Array(n);

    while (++index < n) {
      result[index] = iteratee(index);
    }
    return result;
  }

  /**
   * The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array
   * of key-value pairs for `object` corresponding to the property names of `props`.
   *
   * @private
   * @param {Object} object The object to query.
   * @param {Array} props The property names to get values for.
   * @returns {Object} Returns the key-value pairs.
   */
  function baseToPairs(object, props) {
    return arrayMap(props, function(key) {
      return [key, object[key]];
    });
  }

  /**
   * The base implementation of `_.trim`.
   *
   * @private
   * @param {string} string The string to trim.
   * @returns {string} Returns the trimmed string.
   */
  function baseTrim(string) {
    return string
      ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')
      : string;
  }

  /**
   * The base implementation of `_.unary` without support for storing metadata.
   *
   * @private
   * @param {Function} func The function to cap arguments for.
   * @returns {Function} Returns the new capped function.
   */
  function baseUnary(func) {
    return function(value) {
      return func(value);
    };
  }

  /**
   * The base implementation of `_.values` and `_.valuesIn` which creates an
   * array of `object` property values corresponding to the property names
   * of `props`.
   *
   * @private
   * @param {Object} object The object to query.
   * @param {Array} props The property names to get values for.
   * @returns {Object} Returns the array of property values.
   */
  function baseValues(object, props) {
    return arrayMap(props, function(key) {
      return object[key];
    });
  }

  /**
   * Checks if a `cache` value for `key` exists.
   *
   * @private
   * @param {Object} cache The cache to query.
   * @param {string} key The key of the entry to check.
   * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
   */
  function cacheHas(cache, key) {
    return cache.has(key);
  }

  /**
   * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol
   * that is not found in the character symbols.
   *
   * @private
   * @param {Array} strSymbols The string symbols to inspect.
   * @param {Array} chrSymbols The character symbols to find.
   * @returns {number} Returns the index of the first unmatched string symbol.
   */
  function charsStartIndex(strSymbols, chrSymbols) {
    var index = -1,
        length = strSymbols.length;

    while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}
    return index;
  }

  /**
   * Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol
   * that is not found in the character symbols.
   *
   * @private
   * @param {Array} strSymbols The string symbols to inspect.
   * @param {Array} chrSymbols The character symbols to find.
   * @returns {number} Returns the index of the last unmatched string symbol.
   */
  function charsEndIndex(strSymbols, chrSymbols) {
    var index = strSymbols.length;

    while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}
    return index;
  }

  /**
   * Gets the number of `placeholder` occurrences in `array`.
   *
   * @private
   * @param {Array} array The array to inspect.
   * @param {*} placeholder The placeholder to search for.
   * @returns {number} Returns the placeholder count.
   */
  function countHolders(array, placeholder) {
    var length = array.length,
        result = 0;

    while (length--) {
      if (array[length] === placeholder) {
        ++result;
      }
    }
    return result;
  }

  /**
   * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A
   * letters to basic Latin letters.
   *
   * @private
   * @param {string} letter The matched letter to deburr.
   * @returns {string} Returns the deburred letter.
   */
  var deburrLetter = basePropertyOf(deburredLetters);

  /**
   * Used by `_.escape` to convert characters to HTML entities.
   *
   * @private
   * @param {string} chr The matched character to escape.
   * @returns {string} Returns the escaped character.
   */
  var escapeHtmlChar = basePropertyOf(htmlEscapes);

  /**
   * Used by `_.template` to escape characters for inclusion in compiled string literals.
   *
   * @private
   * @param {string} chr The matched character to escape.
   * @returns {string} Returns the escaped character.
   */
  function escapeStringChar(chr) {
    return '\\' + stringEscapes[chr];
  }

  /**
   * Gets the value at `key` of `object`.
   *
   * @private
   * @param {Object} [object] The object to query.
   * @param {string} key The key of the property to get.
   * @returns {*} Returns the property value.
   */
  function getValue(object, key) {
    return object == null ? undefined : object[key];
  }

  /**
   * Checks if `string` contains Unicode symbols.
   *
   * @private
   * @param {string} string The string to inspect.
   * @returns {boolean} Returns `true` if a symbol is found, else `false`.
   */
  function hasUnicode(string) {
    return reHasUnicode.test(string);
  }

  /**
   * Checks if `string` contains a word composed of Unicode symbols.
   *
   * @private
   * @param {string} string The string to inspect.
   * @returns {boolean} Returns `true` if a word is found, else `false`.
   */
  function hasUnicodeWord(string) {
    return reHasUnicodeWord.test(string);
  }

  /**
   * Converts `iterator` to an array.
   *
   * @private
   * @param {Object} iterator The iterator to convert.
   * @returns {Array} Returns the converted array.
   */
  function iteratorToArray(iterator) {
    var data,
        result = [];

    while (!(data = iterator.next()).done) {
      result.push(data.value);
    }
    return result;
  }

  /**
   * Converts `map` to its key-value pairs.
   *
   * @private
   * @param {Object} map The map to convert.
   * @returns {Array} Returns the key-value pairs.
   */
  function mapToArray(map) {
    var index = -1,
        result = Array(map.size);

    map.forEach(function(value, key) {
      result[++index] = [key, value];
    });
    return result;
  }

  /**
   * Creates a unary function that invokes `func` with its argument transformed.
   *
   * @private
   * @param {Function} func The function to wrap.
   * @param {Function} transform The argument transform.
   * @returns {Function} Returns the new function.
   */
  function overArg(func, transform) {
    return function(arg) {
      return func(transform(arg));
    };
  }

  /**
   * Replaces all `placeholder` elements in `array` with an internal placeholder
   * and returns an array of their indexes.
   *
   * @private
   * @param {Array} array The array to modify.
   * @param {*} placeholder The placeholder to replace.
   * @returns {Array} Returns the new array of placeholder indexes.
   */
  function replaceHolders(array, placeholder) {
    var index = -1,
        length = array.length,
        resIndex = 0,
        result = [];

    while (++index < length) {
      var value = array[index];
      if (value === placeholder || value === PLACEHOLDER) {
        array[index] = PLACEHOLDER;
        result[resIndex++] = index;
      }
    }
    return result;
  }

  /**
   * Converts `set` to an array of its values.
   *
   * @private
   * @param {Object} set The set to convert.
   * @returns {Array} Returns the values.
   */
  function setToArray(set) {
    var index = -1,
        result = Array(set.size);

    set.forEach(function(value) {
      result[++index] = value;
    });
    return result;
  }

  /**
   * Converts `set` to its value-value pairs.
   *
   * @private
   * @param {Object} set The set to convert.
   * @returns {Array} Returns the value-value pairs.
   */
  function setToPairs(set) {
    var index = -1,
        result = Array(set.size);

    set.forEach(function(value) {
      result[++index] = [value, value];
    });
    return result;
  }

  /**
   * A specialized version of `_.indexOf` which performs strict equality
   * comparisons of values, i.e. `===`.
   *
   * @private
   * @param {Array} array The array to inspect.
   * @param {*} value The value to search for.
   * @param {number} fromIndex The index to search from.
   * @returns {number} Returns the index of the matched value, else `-1`.
   */
  function strictIndexOf(array, value, fromIndex) {
    var index = fromIndex - 1,
        length = array.length;

    while (++index < length) {
      if (array[index] === value) {
        return index;
      }
    }
    return -1;
  }

  /**
   * A specialized version of `_.lastIndexOf` which performs strict equality
   * comparisons of values, i.e. `===`.
   *
   * @private
   * @param {Array} array The array to inspect.
   * @param {*} value The value to search for.
   * @param {number} fromIndex The index to search from.
   * @returns {number} Returns the index of the matched value, else `-1`.
   */
  function strictLastIndexOf(array, value, fromIndex) {
    var index = fromIndex + 1;
    while (index--) {
      if (array[index] === value) {
        return index;
      }
    }
    return index;
  }

  /**
   * Gets the number of symbols in `string`.
   *
   * @private
   * @param {string} string The string to inspect.
   * @returns {number} Returns the string size.
   */
  function stringSize(string) {
    return hasUnicode(string)
      ? unicodeSize(string)
      : asciiSize(string);
  }

  /**
   * Converts `string` to an array.
   *
   * @private
   * @param {string} string The string to convert.
   * @returns {Array} Returns the converted array.
   */
  function stringToArray(string) {
    return hasUnicode(string)
      ? unicodeToArray(string)
      : asciiToArray(string);
  }

  /**
   * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace
   * character of `string`.
   *
   * @private
   * @param {string} string The string to inspect.
   * @returns {number} Returns the index of the last non-whitespace character.
   */
  function trimmedEndIndex(string) {
    var index = string.length;

    while (index-- && reWhitespace.test(string.charAt(index))) {}
    return index;
  }

  /**
   * Used by `_.unescape` to convert HTML entities to characters.
   *
   * @private
   * @param {string} chr The matched character to unescape.
   * @returns {string} Returns the unescaped character.
   */
  var unescapeHtmlChar = basePropertyOf(htmlUnescapes);

  /**
   * Gets the size of a Unicode `string`.
   *
   * @private
   * @param {string} string The string inspect.
   * @returns {number} Returns the string size.
   */
  function unicodeSize(string) {
    var result = reUnicode.lastIndex = 0;
    while (reUnicode.test(string)) {
      ++result;
    }
    return result;
  }

  /**
   * Converts a Unicode `string` to an array.
   *
   * @private
   * @param {string} string The string to convert.
   * @returns {Array} Returns the converted array.
   */
  function unicodeToArray(string) {
    return string.match(reUnicode) || [];
  }

  /**
   * Splits a Unicode `string` into an array of its words.
   *
   * @private
   * @param {string} The string to inspect.
   * @returns {Array} Returns the words of `string`.
   */
  function unicodeWords(string) {
    return string.match(reUnicodeWord) || [];
  }

  /*--------------------------------------------------------------------------*/

  /**
   * Create a new pristine `lodash` function using the `context` object.
   *
   * @static
   * @memberOf _
   * @since 1.1.0
   * @category Util
   * @param {Object} [context=root] The context object.
   * @returns {Function} Returns a new `lodash` function.
   * @example
   *
   * _.mixin({ 'foo': _.constant('foo') });
   *
   * var lodash = _.runInContext();
   * lodash.mixin({ 'bar': lodash.constant('bar') });
   *
   * _.isFunction(_.foo);
   * // => true
   * _.isFunction(_.bar);
   * // => false
   *
   * lodash.isFunction(lodash.foo);
   * // => false
   * lodash.isFunction(lodash.bar);
   * // => true
   *
   * // Create a suped-up `defer` in Node.js.
   * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer;
   */
  var runInContext = (function runInContext(context) {
    context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));

    /** Built-in constructor references. */
    var Array = context.Array,
        Date = context.Date,
        Error = context.Error,
        Function = context.Function,
        Math = context.Math,
        Object = context.Object,
        RegExp = context.RegExp,
        String = context.String,
        TypeError = context.TypeError;

    /** Used for built-in method references. */
    var arrayProto = Array.prototype,
        funcProto = Function.prototype,
        objectProto = Object.prototype;

    /** Used to detect overreaching core-js shims. */
    var coreJsData = context['__core-js_shared__'];

    /** Used to resolve the decompiled source of functions. */
    var funcToString = funcProto.toString;

    /** Used to check objects for own properties. */
    var hasOwnProperty = objectProto.hasOwnProperty;

    /** Used to generate unique IDs. */
    var idCounter = 0;

    /** Used to detect methods masquerading as native. */
    var maskSrcKey = (function() {
      var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
      return uid ? ('Symbol(src)_1.' + uid) : '';
    }());

    /**
     * Used to resolve the
     * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
     * of values.
     */
    var nativeObjectToString = objectProto.toString;

    /** Used to infer the `Object` constructor. */
    var objectCtorString = funcToString.call(Object);

    /** Used to restore the original `_` reference in `_.noConflict`. */
    var oldDash = root._;

    /** Used to detect if a method is native. */
    var reIsNative = RegExp('^' +
      funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
      .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
    );

    /** Built-in value references. */
    var Buffer = moduleExports ? context.Buffer : undefined,
        Symbol = context.Symbol,
        Uint8Array = context.Uint8Array,
        allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined,
        getPrototype = overArg(Object.getPrototypeOf, Object),
        objectCreate = Object.create,
        propertyIsEnumerable = objectProto.propertyIsEnumerable,
        splice = arrayProto.splice,
        spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined,
        symIterator = Symbol ? Symbol.iterator : undefined,
        symToStringTag = Symbol ? Symbol.toStringTag : undefined;

    var defineProperty = (function() {
      try {
        var func = getNative(Object, 'defineProperty');
        func({}, '', {});
        return func;
      } catch (e) {}
    }());

    /** Mocked built-ins. */
    var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout,
        ctxNow = Date && Date.now !== root.Date.now && Date.now,
        ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout;

    /* Built-in method references for those with the same name as other `lodash` methods. */
    var nativeCeil = Math.ceil,
        nativeFloor = Math.floor,
        nativeGetSymbols = Object.getOwnPropertySymbols,
        nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,
        nativeIsFinite = context.isFinite,
        nativeJoin = arrayProto.join,
        nativeKeys = overArg(Object.keys, Object),
        nativeMax = Math.max,
        nativeMin = Math.min,
        nativeNow = Date.now,
        nativeParseInt = context.parseInt,
        nativeRandom = Math.random,
        nativeReverse = arrayProto.reverse;

    /* Built-in method references that are verified to be native. */
    var DataView = getNative(context, 'DataView'),
        Map = getNative(context, 'Map'),
        Promise = getNative(context, 'Promise'),
        Set = getNative(context, 'Set'),
        WeakMap = getNative(context, 'WeakMap'),
        nativeCreate = getNative(Object, 'create');

    /** Used to store function metadata. */
    var metaMap = WeakMap && new WeakMap;

    /** Used to lookup unminified function names. */
    var realNames = {};

    /** Used to detect maps, sets, and weakmaps. */
    var dataViewCtorString = toSource(DataView),
        mapCtorString = toSource(Map),
        promiseCtorString = toSource(Promise),
        setCtorString = toSource(Set),
        weakMapCtorString = toSource(WeakMap);

    /** Used to convert symbols to primitives and strings. */
    var symbolProto = Symbol ? Symbol.prototype : undefined,
        symbolValueOf = symbolProto ? symbolProto.valueOf : undefined,
        symbolToString = symbolProto ? symbolProto.toString : undefined;

    /*------------------------------------------------------------------------*/

    /**
     * Creates a `lodash` object which wraps `value` to enable implicit method
     * chain sequences. Methods that operate on and return arrays, collections,
     * and functions can be chained together. Methods that retrieve a single value
     * or may return a primitive value will automatically end the chain sequence
     * and return the unwrapped value. Otherwise, the value must be unwrapped
     * with `_#value`.
     *
     * Explicit chain sequences, which must be unwrapped with `_#value`, may be
     * enabled using `_.chain`.
     *
     * The execution of chained methods is lazy, that is, it's deferred until
     * `_#value` is implicitly or explicitly called.
     *
     * Lazy evaluation allows several methods to support shortcut fusion.
     * Shortcut fusion is an optimization to merge iteratee calls; this avoids
     * the creation of intermediate arrays and can greatly reduce the number of
     * iteratee executions. Sections of a chain sequence qualify for shortcut
     * fusion if the section is applied to an array and iteratees accept only
     * one argument. The heuristic for whether a section qualifies for shortcut
     * fusion is subject to change.
     *
     * Chaining is supported in custom builds as long as the `_#value` method is
     * directly or indirectly included in the build.
     *
     * In addition to lodash methods, wrappers have `Array` and `String` methods.
     *
     * The wrapper `Array` methods are:
     * `concat`, `join`, `pop`, `push`, `shift`, `sort`, `splice`, and `unshift`
     *
     * The wrapper `String` methods are:
     * `replace` and `split`
     *
     * The wrapper methods that support shortcut fusion are:
     * `at`, `compact`, `drop`, `dropRight`, `dropWhile`, `filter`, `find`,
     * `findLast`, `head`, `initial`, `last`, `map`, `reject`, `reverse`, `slice`,
     * `tail`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, and `toArray`
     *
     * The chainable wrapper methods are:
     * `after`, `ary`, `assign`, `assignIn`, `assignInWith`, `assignWith`, `at`,
     * `before`, `bind`, `bindAll`, `bindKey`, `castArray`, `chain`, `chunk`,
     * `commit`, `compact`, `concat`, `conforms`, `constant`, `countBy`, `create`,
     * `curry`, `debounce`, `defaults`, `defaultsDeep`, `defer`, `delay`,
     * `difference`, `differenceBy`, `differenceWith`, `drop`, `dropRight`,
     * `dropRightWhile`, `dropWhile`, `extend`, `extendWith`, `fill`, `filter`,
     * `flatMap`, `flatMapDeep`, `flatMapDepth`, `flatten`, `flattenDeep`,
     * `flattenDepth`, `flip`, `flow`, `flowRight`, `fromPairs`, `functions`,
     * `functionsIn`, `groupBy`, `initial`, `intersection`, `intersectionBy`,
     * `intersectionWith`, `invert`, `invertBy`, `invokeMap`, `iteratee`, `keyBy`,
     * `keys`, `keysIn`, `map`, `mapKeys`, `mapValues`, `matches`, `matchesProperty`,
     * `memoize`, `merge`, `mergeWith`, `method`, `methodOf`, `mixin`, `negate`,
     * `nthArg`, `omit`, `omitBy`, `once`, `orderBy`, `over`, `overArgs`,
     * `overEvery`, `overSome`, `partial`, `partialRight`, `partition`, `pick`,
     * `pickBy`, `plant`, `property`, `propertyOf`, `pull`, `pullAll`, `pullAllBy`,
     * `pullAllWith`, `pullAt`, `push`, `range`, `rangeRight`, `rearg`, `reject`,
     * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,
     * `slice`, `sort`, `sortBy`, `splice`, `spread`, `tail`, `take`, `takeRight`,
     * `takeRightWhile`, `takeWhile`, `tap`, `throttle`, `thru`, `toArray`,
     * `toPairs`, `toPairsIn`, `toPath`, `toPlainObject`, `transform`, `unary`,
     * `union`, `unionBy`, `unionWith`, `uniq`, `uniqBy`, `uniqWith`, `unset`,
     * `unshift`, `unzip`, `unzipWith`, `update`, `updateWith`, `values`,
     * `valuesIn`, `without`, `wrap`, `xor`, `xorBy`, `xorWith`, `zip`,
     * `zipObject`, `zipObjectDeep`, and `zipWith`
     *
     * The wrapper methods that are **not** chainable by default are:
     * `add`, `attempt`, `camelCase`, `capitalize`, `ceil`, `clamp`, `clone`,
     * `cloneDeep`, `cloneDeepWith`, `cloneWith`, `conformsTo`, `deburr`,
     * `defaultTo`, `divide`, `each`, `eachRight`, `endsWith`, `eq`, `escape`,
     * `escapeRegExp`, `every`, `find`, `findIndex`, `findKey`, `findLast`,
     * `findLastIndex`, `findLastKey`, `first`, `floor`, `forEach`, `forEachRight`,
     * `forIn`, `forInRight`, `forOwn`, `forOwnRight`, `get`, `gt`, `gte`, `has`,
     * `hasIn`, `head`, `identity`, `includes`, `indexOf`, `inRange`, `invoke`,
     * `isArguments`, `isArray`, `isArrayBuffer`, `isArrayLike`, `isArrayLikeObject`,
     * `isBoolean`, `isBuffer`, `isDate`, `isElement`, `isEmpty`, `isEqual`,
     * `isEqualWith`, `isError`, `isFinite`, `isFunction`, `isInteger`, `isLength`,
     * `isMap`, `isMatch`, `isMatchWith`, `isNaN`, `isNative`, `isNil`, `isNull`,
     * `isNumber`, `isObject`, `isObjectLike`, `isPlainObject`, `isRegExp`,
     * `isSafeInteger`, `isSet`, `isString`, `isUndefined`, `isTypedArray`,
     * `isWeakMap`, `isWeakSet`, `join`, `kebabCase`, `last`, `lastIndexOf`,
     * `lowerCase`, `lowerFirst`, `lt`, `lte`, `max`, `maxBy`, `mean`, `meanBy`,
     * `min`, `minBy`, `multiply`, `noConflict`, `noop`, `now`, `nth`, `pad`,
     * `padEnd`, `padStart`, `parseInt`, `pop`, `random`, `reduce`, `reduceRight`,
     * `repeat`, `result`, `round`, `runInContext`, `sample`, `shift`, `size`,
     * `snakeCase`, `some`, `sortedIndex`, `sortedIndexBy`, `sortedLastIndex`,
     * `sortedLastIndexBy`, `startCase`, `startsWith`, `stubArray`, `stubFalse`,
     * `stubObject`, `stubString`, `stubTrue`, `subtract`, `sum`, `sumBy`,
     * `template`, `times`, `toFinite`, `toInteger`, `toJSON`, `toLength`,
     * `toLower`, `toNumber`, `toSafeInteger`, `toString`, `toUpper`, `trim`,
     * `trimEnd`, `trimStart`, `truncate`, `unescape`, `uniqueId`, `upperCase`,
     * `upperFirst`, `value`, and `words`
     *
     * @name _
     * @constructor
     * @category Seq
     * @param {*} value The value to wrap in a `lodash` instance.
     * @returns {Object} Returns the new `lodash` wrapper instance.
     * @example
     *
     * function square(n) {
     *   return n * n;
     * }
     *
     * var wrapped = _([1, 2, 3]);
     *
     * // Returns an unwrapped value.
     * wrapped.reduce(_.add);
     * // => 6
     *
     * // Returns a wrapped value.
     * var squares = wrapped.map(square);
     *
     * _.isArray(squares);
     * // => false
     *
     * _.isArray(squares.value());
     * // => true
     */
    function lodash(value) {
      if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) {
        if (value instanceof LodashWrapper) {
          return value;
        }
        if (hasOwnProperty.call(value, '__wrapped__')) {
          return wrapperClone(value);
        }
      }
      return new LodashWrapper(value);
    }

    /**
     * The base implementation of `_.create` without support for assigning
     * properties to the created object.
     *
     * @private
     * @param {Object} proto The object to inherit from.
     * @returns {Object} Returns the new object.
     */
    var baseCreate = (function() {
      function object() {}
      return function(proto) {
        if (!isObject(proto)) {
          return {};
        }
        if (objectCreate) {
          return objectCreate(proto);
        }
        object.prototype = proto;
        var result = new object;
        object.prototype = undefined;
        return result;
      };
    }());

    /**
     * The function whose prototype chain sequence wrappers inherit from.
     *
     * @private
     */
    function baseLodash() {
      // No operation performed.
    }

    /**
     * The base constructor for creating `lodash` wrapper objects.
     *
     * @private
     * @param {*} value The value to wrap.
     * @param {boolean} [chainAll] Enable explicit method chain sequences.
     */
    function LodashWrapper(value, chainAll) {
      this.__wrapped__ = value;
      this.__actions__ = [];
      this.__chain__ = !!chainAll;
      this.__index__ = 0;
      this.__values__ = undefined;
    }

    /**
     * By default, the template delimiters used by lodash are like those in
     * embedded Ruby (ERB) as well as ES2015 template strings. Change the
     * following template settings to use alternative delimiters.
     *
     * @static
     * @memberOf _
     * @type {Object}
     */
    lodash.templateSettings = {

      /**
       * Used to detect `data` property values to be HTML-escaped.
       *
       * @memberOf _.templateSettings
       * @type {RegExp}
       */
      'escape': reEscape,

      /**
       * Used to detect code to be evaluated.
       *
       * @memberOf _.templateSettings
       * @type {RegExp}
       */
      'evaluate': reEvaluate,

      /**
       * Used to detect `data` property values to inject.
       *
       * @memberOf _.templateSettings
       * @type {RegExp}
       */
      'interpolate': reInterpolate,

      /**
       * Used to reference the data object in the template text.
       *
       * @memberOf _.templateSettings
       * @type {string}
       */
      'variable': '',

      /**
       * Used to import variables into the compiled template.
       *
       * @memberOf _.templateSettings
       * @type {Object}
       */
      'imports': {

        /**
         * A reference to the `lodash` function.
         *
         * @memberOf _.templateSettings.imports
         * @type {Function}
         */
        '_': lodash
      }
    };

    // Ensure wrappers are instances of `baseLodash`.
    lodash.prototype = baseLodash.prototype;
    lodash.prototype.constructor = lodash;

    LodashWrapper.prototype = baseCreate(baseLodash.prototype);
    LodashWrapper.prototype.constructor = LodashWrapper;

    /*------------------------------------------------------------------------*/

    /**
     * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation.
     *
     * @private
     * @constructor
     * @param {*} value The value to wrap.
     */
    function LazyWrapper(value) {
      this.__wrapped__ = value;
      this.__actions__ = [];
      this.__dir__ = 1;
      this.__filtered__ = false;
      this.__iteratees__ = [];
      this.__takeCount__ = MAX_ARRAY_LENGTH;
      this.__views__ = [];
    }

    /**
     * Creates a clone of the lazy wrapper object.
     *
     * @private
     * @name clone
     * @memberOf LazyWrapper
     * @returns {Object} Returns the cloned `LazyWrapper` object.
     */
    function lazyClone() {
      var result = new LazyWrapper(this.__wrapped__);
      result.__actions__ = copyArray(this.__actions__);
      result.__dir__ = this.__dir__;
      result.__filtered__ = this.__filtered__;
      result.__iteratees__ = copyArray(this.__iteratees__);
      result.__takeCount__ = this.__takeCount__;
      result.__views__ = copyArray(this.__views__);
      return result;
    }

    /**
     * Reverses the direction of lazy iteration.
     *
     * @private
     * @name reverse
     * @memberOf LazyWrapper
     * @returns {Object} Returns the new reversed `LazyWrapper` object.
     */
    function lazyReverse() {
      if (this.__filtered__) {
        var result = new LazyWrapper(this);
        result.__dir__ = -1;
        result.__filtered__ = true;
      } else {
        result = this.clone();
        result.__dir__ *= -1;
      }
      return result;
    }

    /**
     * Extracts the unwrapped value from its lazy wrapper.
     *
     * @private
     * @name value
     * @memberOf LazyWrapper
     * @returns {*} Returns the unwrapped value.
     */
    function lazyValue() {
      var array = this.__wrapped__.value(),
          dir = this.__dir__,
          isArr = isArray(array),
          isRight = dir < 0,
          arrLength = isArr ? array.length : 0,
          view = getView(0, arrLength, this.__views__),
          start = view.start,
          end = view.end,
          length = end - start,
          index = isRight ? end : (start - 1),
          iteratees = this.__iteratees__,
          iterLength = iteratees.length,
          resIndex = 0,
          takeCount = nativeMin(length, this.__takeCount__);

      if (!isArr || (!isRight && arrLength == length && takeCount == length)) {
        return baseWrapperValue(array, this.__actions__);
      }
      var result = [];

      outer:
      while (length-- && resIndex < takeCount) {
        index += dir;

        var iterIndex = -1,
            value = array[index];

        while (++iterIndex < iterLength) {
          var data = iteratees[iterIndex],
              iteratee = data.iteratee,
              type = data.type,
              computed = iteratee(value);

          if (type == LAZY_MAP_FLAG) {
            value = computed;
          } else if (!computed) {
            if (type == LAZY_FILTER_FLAG) {
              continue outer;
            } else {
              break outer;
            }
          }
        }
        result[resIndex++] = value;
      }
      return result;
    }

    // Ensure `LazyWrapper` is an instance of `baseLodash`.
    LazyWrapper.prototype = baseCreate(baseLodash.prototype);
    LazyWrapper.prototype.constructor = LazyWrapper;

    /*------------------------------------------------------------------------*/

    /**
     * Creates a hash object.
     *
     * @private
     * @constructor
     * @param {Array} [entries] The key-value pairs to cache.
     */
    function Hash(entries) {
      var index = -1,
          length = entries == null ? 0 : entries.length;

      this.clear();
      while (++index < length) {
        var entry = entries[index];
        this.set(entry[0], entry[1]);
      }
    }

    /**
     * Removes all key-value entries from the hash.
     *
     * @private
     * @name clear
     * @memberOf Hash
     */
    function hashClear() {
      this.__data__ = nativeCreate ? nativeCreate(null) : {};
      this.size = 0;
    }

    /**
     * Removes `key` and its value from the hash.
     *
     * @private
     * @name delete
     * @memberOf Hash
     * @param {Object} hash The hash to modify.
     * @param {string} key The key of the value to remove.
     * @returns {boolean} Returns `true` if the entry was removed, else `false`.
     */
    function hashDelete(key) {
      var result = this.has(key) && delete this.__data__[key];
      this.size -= result ? 1 : 0;
      return result;
    }

    /**
     * Gets the hash value for `key`.
     *
     * @private
     * @name get
     * @memberOf Hash
     * @param {string} key The key of the value to get.
     * @returns {*} Returns the entry value.
     */
    function hashGet(key) {
      var data = this.__data__;
      if (nativeCreate) {
        var result = data[key];
        return result === HASH_UNDEFINED ? undefined : result;
      }
      return hasOwnProperty.call(data, key) ? data[key] : undefined;
    }

    /**
     * Checks if a hash value for `key` exists.
     *
     * @private
     * @name has
     * @memberOf Hash
     * @param {string} key The key of the entry to check.
     * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
     */
    function hashHas(key) {
      var data = this.__data__;
      return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);
    }

    /**
     * Sets the hash `key` to `value`.
     *
     * @private
     * @name set
     * @memberOf Hash
     * @param {string} key The key of the value to set.
     * @param {*} value The value to set.
     * @returns {Object} Returns the hash instance.
     */
    function hashSet(key, value) {
      var data = this.__data__;
      this.size += this.has(key) ? 0 : 1;
      data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
      return this;
    }

    // Add methods to `Hash`.
    Hash.prototype.clear = hashClear;
    Hash.prototype['delete'] = hashDelete;
    Hash.prototype.get = hashGet;
    Hash.prototype.has = hashHas;
    Hash.prototype.set = hashSet;

    /*------------------------------------------------------------------------*/

    /**
     * Creates an list cache object.
     *
     * @private
     * @constructor
     * @param {Array} [entries] The key-value pairs to cache.
     */
    function ListCache(entries) {
      var index = -1,
          length = entries == null ? 0 : entries.length;

      this.clear();
      while (++index < length) {
        var entry = entries[index];
        this.set(entry[0], entry[1]);
      }
    }

    /**
     * Removes all key-value entries from the list cache.
     *
     * @private
     * @name clear
     * @memberOf ListCache
     */
    function listCacheClear() {
      this.__data__ = [];
      this.size = 0;
    }

    /**
     * Removes `key` and its value from the list cache.
     *
     * @private
     * @name delete
     * @memberOf ListCache
     * @param {string} key The key of the value to remove.
     * @returns {boolean} Returns `true` if the entry was removed, else `false`.
     */
    function listCacheDelete(key) {
      var data = this.__data__,
          index = assocIndexOf(data, key);

      if (index < 0) {
        return false;
      }
      var lastIndex = data.length - 1;
      if (index == lastIndex) {
        data.pop();
      } else {
        splice.call(data, index, 1);
      }
      --this.size;
      return true;
    }

    /**
     * Gets the list cache value for `key`.
     *
     * @private
     * @name get
     * @memberOf ListCache
     * @param {string} key The key of the value to get.
     * @returns {*} Returns the entry value.
     */
    function listCacheGet(key) {
      var data = this.__data__,
          index = assocIndexOf(data, key);

      return index < 0 ? undefined : data[index][1];
    }

    /**
     * Checks if a list cache value for `key` exists.
     *
     * @private
     * @name has
     * @memberOf ListCache
     * @param {string} key The key of the entry to check.
     * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
     */
    function listCacheHas(key) {
      return assocIndexOf(this.__data__, key) > -1;
    }

    /**
     * Sets the list cache `key` to `value`.
     *
     * @private
     * @name set
     * @memberOf ListCache
     * @param {string} key The key of the value to set.
     * @param {*} value The value to set.
     * @returns {Object} Returns the list cache instance.
     */
    function listCacheSet(key, value) {
      var data = this.__data__,
          index = assocIndexOf(data, key);

      if (index < 0) {
        ++this.size;
        data.push([key, value]);
      } else {
        data[index][1] = value;
      }
      return this;
    }

    // Add methods to `ListCache`.
    ListCache.prototype.clear = listCacheClear;
    ListCache.prototype['delete'] = listCacheDelete;
    ListCache.prototype.get = listCacheGet;
    ListCache.prototype.has = listCacheHas;
    ListCache.prototype.set = listCacheSet;

    /*------------------------------------------------------------------------*/

    /**
     * Creates a map cache object to store key-value pairs.
     *
     * @private
     * @constructor
     * @param {Array} [entries] The key-value pairs to cache.
     */
    function MapCache(entries) {
      var index = -1,
          length = entries == null ? 0 : entries.length;

      this.clear();
      while (++index < length) {
        var entry = entries[index];
        this.set(entry[0], entry[1]);
      }
    }

    /**
     * Removes all key-value entries from the map.
     *
     * @private
     * @name clear
     * @memberOf MapCache
     */
    function mapCacheClear() {
      this.size = 0;
      this.__data__ = {
        'hash': new Hash,
        'map': new (Map || ListCache),
        'string': new Hash
      };
    }

    /**
     * Removes `key` and its value from the map.
     *
     * @private
     * @name delete
     * @memberOf MapCache
     * @param {string} key The key of the value to remove.
     * @returns {boolean} Returns `true` if the entry was removed, else `false`.
     */
    function mapCacheDelete(key) {
      var result = getMapData(this, key)['delete'](key);
      this.size -= result ? 1 : 0;
      return result;
    }

    /**
     * Gets the map value for `key`.
     *
     * @private
     * @name get
     * @memberOf MapCache
     * @param {string} key The key of the value to get.
     * @returns {*} Returns the entry value.
     */
    function mapCacheGet(key) {
      return getMapData(this, key).get(key);
    }

    /**
     * Checks if a map value for `key` exists.
     *
     * @private
     * @name has
     * @memberOf MapCache
     * @param {string} key The key of the entry to check.
     * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
     */
    function mapCacheHas(key) {
      return getMapData(this, key).has(key);
    }

    /**
     * Sets the map `key` to `value`.
     *
     * @private
     * @name set
     * @memberOf MapCache
     * @param {string} key The key of the value to set.
     * @param {*} value The value to set.
     * @returns {Object} Returns the map cache instance.
     */
    function mapCacheSet(key, value) {
      var data = getMapData(this, key),
          size = data.size;

      data.set(key, value);
      this.size += data.size == size ? 0 : 1;
      return this;
    }

    // Add methods to `MapCache`.
    MapCache.prototype.clear = mapCacheClear;
    MapCache.prototype['delete'] = mapCacheDelete;
    MapCache.prototype.get = mapCacheGet;
    MapCache.prototype.has = mapCacheHas;
    MapCache.prototype.set = mapCacheSet;

    /*------------------------------------------------------------------------*/

    /**
     *
     * Creates an array cache object to store unique values.
     *
     * @private
     * @constructor
     * @param {Array} [values] The values to cache.
     */
    function SetCache(values) {
      var index = -1,
          length = values == null ? 0 : values.length;

      this.__data__ = new MapCache;
      while (++index < length) {
        this.add(values[index]);
      }
    }

    /**
     * Adds `value` to the array cache.
     *
     * @private
     * @name add
     * @memberOf SetCache
     * @alias push
     * @param {*} value The value to cache.
     * @returns {Object} Returns the cache instance.
     */
    function setCacheAdd(value) {
      this.__data__.set(value, HASH_UNDEFINED);
      return this;
    }

    /**
     * Checks if `value` is in the array cache.
     *
     * @private
     * @name has
     * @memberOf SetCache
     * @param {*} value The value to search for.
     * @returns {number} Returns `true` if `value` is found, else `false`.
     */
    function setCacheHas(value) {
      return this.__data__.has(value);
    }

    // Add methods to `SetCache`.
    SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
    SetCache.prototype.has = setCacheHas;

    /*------------------------------------------------------------------------*/

    /**
     * Creates a stack cache object to store key-value pairs.
     *
     * @private
     * @constructor
     * @param {Array} [entries] The key-value pairs to cache.
     */
    function Stack(entries) {
      var data = this.__data__ = new ListCache(entries);
      this.size = data.size;
    }

    /**
     * Removes all key-value entries from the stack.
     *
     * @private
     * @name clear
     * @memberOf Stack
     */
    function stackClear() {
      this.__data__ = new ListCache;
      this.size = 0;
    }

    /**
     * Removes `key` and its value from the stack.
     *
     * @private
     * @name delete
     * @memberOf Stack
     * @param {string} key The key of the value to remove.
     * @returns {boolean} Returns `true` if the entry was removed, else `false`.
     */
    function stackDelete(key) {
      var data = this.__data__,
          result = data['delete'](key);

      this.size = data.size;
      return result;
    }

    /**
     * Gets the stack value for `key`.
     *
     * @private
     * @name get
     * @memberOf Stack
     * @param {string} key The key of the value to get.
     * @returns {*} Returns the entry value.
     */
    function stackGet(key) {
      return this.__data__.get(key);
    }

    /**
     * Checks if a stack value for `key` exists.
     *
     * @private
     * @name has
     * @memberOf Stack
     * @param {string} key The key of the entry to check.
     * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
     */
    function stackHas(key) {
      return this.__data__.has(key);
    }

    /**
     * Sets the stack `key` to `value`.
     *
     * @private
     * @name set
     * @memberOf Stack
     * @param {string} key The key of the value to set.
     * @param {*} value The value to set.
     * @returns {Object} Returns the stack cache instance.
     */
    function stackSet(key, value) {
      var data = this.__data__;
      if (data instanceof ListCache) {
        var pairs = data.__data__;
        if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
          pairs.push([key, value]);
          this.size = ++data.size;
          return this;
        }
        data = this.__data__ = new MapCache(pairs);
      }
      data.set(key, value);
      this.size = data.size;
      return this;
    }

    // Add methods to `Stack`.
    Stack.prototype.clear = stackClear;
    Stack.prototype['delete'] = stackDelete;
    Stack.prototype.get = stackGet;
    Stack.prototype.has = stackHas;
    Stack.prototype.set = stackSet;

    /*------------------------------------------------------------------------*/

    /**
     * Creates an array of the enumerable property names of the array-like `value`.
     *
     * @private
     * @param {*} value The value to query.
     * @param {boolean} inherited Specify returning inherited property names.
     * @returns {Array} Returns the array of property names.
     */
    function arrayLikeKeys(value, inherited) {
      var isArr = isArray(value),
          isArg = !isArr && isArguments(value),
          isBuff = !isArr && !isArg && isBuffer(value),
          isType = !isArr && !isArg && !isBuff && isTypedArray(value),
          skipIndexes = isArr || isArg || isBuff || isType,
          result = skipIndexes ? baseTimes(value.length, String) : [],
          length = result.length;

      for (var key in value) {
        if ((inherited || hasOwnProperty.call(value, key)) &&
            !(skipIndexes && (
               // Safari 9 has enumerable `arguments.length` in strict mode.
               key == 'length' ||
               // Node.js 0.10 has enumerable non-index properties on buffers.
               (isBuff && (key == 'offset' || key == 'parent')) ||
               // PhantomJS 2 has enumerable non-index properties on typed arrays.
               (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
               // Skip index properties.
               isIndex(key, length)
            ))) {
          result.push(key);
        }
      }
      return result;
    }

    /**
     * A specialized version of `_.sample` for arrays.
     *
     * @private
     * @param {Array} array The array to sample.
     * @returns {*} Returns the random element.
     */
    function arraySample(array) {
      var length = array.length;
      return length ? array[baseRandom(0, length - 1)] : undefined;
    }

    /**
     * A specialized version of `_.sampleSize` for arrays.
     *
     * @private
     * @param {Array} array The array to sample.
     * @param {number} n The number of elements to sample.
     * @returns {Array} Returns the random elements.
     */
    function arraySampleSize(array, n) {
      return shuffleSelf(copyArray(array), baseClamp(n, 0, array.length));
    }

    /**
     * A specialized version of `_.shuffle` for arrays.
     *
     * @private
     * @param {Array} array The array to shuffle.
     * @returns {Array} Returns the new shuffled array.
     */
    function arrayShuffle(array) {
      return shuffleSelf(copyArray(array));
    }

    /**
     * This function is like `assignValue` except that it doesn't assign
     * `undefined` values.
     *
     * @private
     * @param {Object} object The object to modify.
     * @param {string} key The key of the property to assign.
     * @param {*} value The value to assign.
     */
    function assignMergeValue(object, key, value) {
      if ((value !== undefined && !eq(object[key], value)) ||
          (value === undefined && !(key in object))) {
        baseAssignValue(object, key, value);
      }
    }

    /**
     * Assigns `value` to `key` of `object` if the existing value is not equivalent
     * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
     * for equality comparisons.
     *
     * @private
     * @param {Object} object The object to modify.
     * @param {string} key The key of the property to assign.
     * @param {*} value The value to assign.
     */
    function assignValue(object, key, value) {
      var objValue = object[key];
      if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||
          (value === undefined && !(key in object))) {
        baseAssignValue(object, key, value);
      }
    }

    /**
     * Gets the index at which the `key` is found in `array` of key-value pairs.
     *
     * @private
     * @param {Array} array The array to inspect.
     * @param {*} key The key to search for.
     * @returns {number} Returns the index of the matched value, else `-1`.
     */
    function assocIndexOf(array, key) {
      var length = array.length;
      while (length--) {
        if (eq(array[length][0], key)) {
          return length;
        }
      }
      return -1;
    }

    /**
     * Aggregates elements of `collection` on `accumulator` with keys transformed
     * by `iteratee` and values set by `setter`.
     *
     * @private
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} setter The function to set `accumulator` values.
     * @param {Function} iteratee The iteratee to transform keys.
     * @param {Object} accumulator The initial aggregated object.
     * @returns {Function} Returns `accumulator`.
     */
    function baseAggregator(collection, setter, iteratee, accumulator) {
      baseEach(collection, function(value, key, collection) {
        setter(accumulator, value, iteratee(value), collection);
      });
      return accumulator;
    }

    /**
     * The base implementation of `_.assign` without support for multiple sources
     * or `customizer` functions.
     *
     * @private
     * @param {Object} object The destination object.
     * @param {Object} source The source object.
     * @returns {Object} Returns `object`.
     */
    function baseAssign(object, source) {
      return object && copyObject(source, keys(source), object);
    }

    /**
     * The base implementation of `_.assignIn` without support for multiple sources
     * or `customizer` functions.
     *
     * @private
     * @param {Object} object The destination object.
     * @param {Object} source The source object.
     * @returns {Object} Returns `object`.
     */
    function baseAssignIn(object, source) {
      return object && copyObject(source, keysIn(source), object);
    }

    /**
     * The base implementation of `assignValue` and `assignMergeValue` without
     * value checks.
     *
     * @private
     * @param {Object} object The object to modify.
     * @param {string} key The key of the property to assign.
     * @param {*} value The value to assign.
     */
    function baseAssignValue(object, key, value) {
      if (key == '__proto__' && defineProperty) {
        defineProperty(object, key, {
          'configurable': true,
          'enumerable': true,
          'value': value,
          'writable': true
        });
      } else {
        object[key] = value;
      }
    }

    /**
     * The base implementation of `_.at` without support for individual paths.
     *
     * @private
     * @param {Object} object The object to iterate over.
     * @param {string[]} paths The property paths to pick.
     * @returns {Array} Returns the picked elements.
     */
    function baseAt(object, paths) {
      var index = -1,
          length = paths.length,
          result = Array(length),
          skip = object == null;

      while (++index < length) {
        result[index] = skip ? undefined : get(object, paths[index]);
      }
      return result;
    }

    /**
     * The base implementation of `_.clamp` which doesn't coerce arguments.
     *
     * @private
     * @param {number} number The number to clamp.
     * @param {number} [lower] The lower bound.
     * @param {number} upper The upper bound.
     * @returns {number} Returns the clamped number.
     */
    function baseClamp(number, lower, upper) {
      if (number === number) {
        if (upper !== undefined) {
          number = number <= upper ? number : upper;
        }
        if (lower !== undefined) {
          number = number >= lower ? number : lower;
        }
      }
      return number;
    }

    /**
     * The base implementation of `_.clone` and `_.cloneDeep` which tracks
     * traversed objects.
     *
     * @private
     * @param {*} value The value to clone.
     * @param {boolean} bitmask The bitmask flags.
     *  1 - Deep clone
     *  2 - Flatten inherited properties
     *  4 - Clone symbols
     * @param {Function} [customizer] The function to customize cloning.
     * @param {string} [key] The key of `value`.
     * @param {Object} [object] The parent object of `value`.
     * @param {Object} [stack] Tracks traversed objects and their clone counterparts.
     * @returns {*} Returns the cloned value.
     */
    function baseClone(value, bitmask, customizer, key, object, stack) {
      var result,
          isDeep = bitmask & CLONE_DEEP_FLAG,
          isFlat = bitmask & CLONE_FLAT_FLAG,
          isFull = bitmask & CLONE_SYMBOLS_FLAG;

      if (customizer) {
        result = object ? customizer(value, key, object, stack) : customizer(value);
      }
      if (result !== undefined) {
        return result;
      }
      if (!isObject(value)) {
        return value;
      }
      var isArr = isArray(value);
      if (isArr) {
        result = initCloneArray(value);
        if (!isDeep) {
          return copyArray(value, result);
        }
      } else {
        var tag = getTag(value),
            isFunc = tag == funcTag || tag == genTag;

        if (isBuffer(value)) {
          return cloneBuffer(value, isDeep);
        }
        if (tag == objectTag || tag == argsTag || (isFunc && !object)) {
          result = (isFlat || isFunc) ? {} : initCloneObject(value);
          if (!isDeep) {
            return isFlat
              ? copySymbolsIn(value, baseAssignIn(result, value))
              : copySymbols(value, baseAssign(result, value));
          }
        } else {
          if (!cloneableTags[tag]) {
            return object ? value : {};
          }
          result = initCloneByTag(value, tag, isDeep);
        }
      }
      // Check for circular references and return its corresponding clone.
      stack || (stack = new Stack);
      var stacked = stack.get(value);
      if (stacked) {
        return stacked;
      }
      stack.set(value, result);

      if (isSet(value)) {
        value.forEach(function(subValue) {
          result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));
        });
      } else if (isMap(value)) {
        value.forEach(function(subValue, key) {
          result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));
        });
      }

      var keysFunc = isFull
        ? (isFlat ? getAllKeysIn : getAllKeys)
        : (isFlat ? keysIn : keys);

      var props = isArr ? undefined : keysFunc(value);
      arrayEach(props || value, function(subValue, key) {
        if (props) {
          key = subValue;
          subValue = value[key];
        }
        // Recursively populate clone (susceptible to call stack limits).
        assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));
      });
      return result;
    }

    /**
     * The base implementation of `_.conforms` which doesn't clone `source`.
     *
     * @private
     * @param {Object} source The object of property predicates to conform to.
     * @returns {Function} Returns the new spec function.
     */
    function baseConforms(source) {
      var props = keys(source);
      return function(object) {
        return baseConformsTo(object, source, props);
      };
    }

    /**
     * The base implementation of `_.conformsTo` which accepts `props` to check.
     *
     * @private
     * @param {Object} object The object to inspect.
     * @param {Object} source The object of property predicates to conform to.
     * @returns {boolean} Returns `true` if `object` conforms, else `false`.
     */
    function baseConformsTo(object, source, props) {
      var length = props.length;
      if (object == null) {
        return !length;
      }
      object = Object(object);
      while (length--) {
        var key = props[length],
            predicate = source[key],
            value = object[key];

        if ((value === undefined && !(key in object)) || !predicate(value)) {
          return false;
        }
      }
      return true;
    }

    /**
     * The base implementation of `_.delay` and `_.defer` which accepts `args`
     * to provide to `func`.
     *
     * @private
     * @param {Function} func The function to delay.
     * @param {number} wait The number of milliseconds to delay invocation.
     * @param {Array} args The arguments to provide to `func`.
     * @returns {number|Object} Returns the timer id or timeout object.
     */
    function baseDelay(func, wait, args) {
      if (typeof func != 'function') {
        throw new TypeError(FUNC_ERROR_TEXT);
      }
      return setTimeout(function() { func.apply(undefined, args); }, wait);
    }

    /**
     * The base implementation of methods like `_.difference` without support
     * for excluding multiple arrays or iteratee shorthands.
     *
     * @private
     * @param {Array} array The array to inspect.
     * @param {Array} values The values to exclude.
     * @param {Function} [iteratee] The iteratee invoked per element.
     * @param {Function} [comparator] The comparator invoked per element.
     * @returns {Array} Returns the new array of filtered values.
     */
    function baseDifference(array, values, iteratee, comparator) {
      var index = -1,
          includes = arrayIncludes,
          isCommon = true,
          length = array.length,
          result = [],
          valuesLength = values.length;

      if (!length) {
        return result;
      }
      if (iteratee) {
        values = arrayMap(values, baseUnary(iteratee));
      }
      if (comparator) {
        includes = arrayIncludesWith;
        isCommon = false;
      }
      else if (values.length >= LARGE_ARRAY_SIZE) {
        includes = cacheHas;
        isCommon = false;
        values = new SetCache(values);
      }
      outer:
      while (++index < length) {
        var value = array[index],
            computed = iteratee == null ? value : iteratee(value);

        value = (comparator || value !== 0) ? value : 0;
        if (isCommon && computed === computed) {
          var valuesIndex = valuesLength;
          while (valuesIndex--) {
            if (values[valuesIndex] === computed) {
              continue outer;
            }
          }
          result.push(value);
        }
        else if (!includes(values, computed, comparator)) {
          result.push(value);
        }
      }
      return result;
    }

    /**
     * The base implementation of `_.forEach` without support for iteratee shorthands.
     *
     * @private
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} iteratee The function invoked per iteration.
     * @returns {Array|Object} Returns `collection`.
     */
    var baseEach = createBaseEach(baseForOwn);

    /**
     * The base implementation of `_.forEachRight` without support for iteratee shorthands.
     *
     * @private
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} iteratee The function invoked per iteration.
     * @returns {Array|Object} Returns `collection`.
     */
    var baseEachRight = createBaseEach(baseForOwnRight, true);

    /**
     * The base implementation of `_.every` without support for iteratee shorthands.
     *
     * @private
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} predicate The function invoked per iteration.
     * @returns {boolean} Returns `true` if all elements pass the predicate check,
     *  else `false`
     */
    function baseEvery(collection, predicate) {
      var result = true;
      baseEach(collection, function(value, index, collection) {
        result = !!predicate(value, index, collection);
        return result;
      });
      return result;
    }

    /**
     * The base implementation of methods like `_.max` and `_.min` which accepts a
     * `comparator` to determine the extremum value.
     *
     * @private
     * @param {Array} array The array to iterate over.
     * @param {Function} iteratee The iteratee invoked per iteration.
     * @param {Function} comparator The comparator used to compare values.
     * @returns {*} Returns the extremum value.
     */
    function baseExtremum(array, iteratee, comparator) {
      var index = -1,
          length = array.length;

      while (++index < length) {
        var value = array[index],
            current = iteratee(value);

        if (current != null && (computed === undefined
              ? (current === current && !isSymbol(current))
              : comparator(current, computed)
            )) {
          var computed = current,
              result = value;
        }
      }
      return result;
    }

    /**
     * The base implementation of `_.fill` without an iteratee call guard.
     *
     * @private
     * @param {Array} array The array to fill.
     * @param {*} value The value to fill `array` with.
     * @param {number} [start=0] The start position.
     * @param {number} [end=array.length] The end position.
     * @returns {Array} Returns `array`.
     */
    function baseFill(array, value, start, end) {
      var length = array.length;

      start = toInteger(start);
      if (start < 0) {
        start = -start > length ? 0 : (length + start);
      }
      end = (end === undefined || end > length) ? length : toInteger(end);
      if (end < 0) {
        end += length;
      }
      end = start > end ? 0 : toLength(end);
      while (start < end) {
        array[start++] = value;
      }
      return array;
    }

    /**
     * The base implementation of `_.filter` without support for iteratee shorthands.
     *
     * @private
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} predicate The function invoked per iteration.
     * @returns {Array} Returns the new filtered array.
     */
    function baseFilter(collection, predicate) {
      var result = [];
      baseEach(collection, function(value, index, collection) {
        if (predicate(value, index, collection)) {
          result.push(value);
        }
      });
      return result;
    }

    /**
     * The base implementation of `_.flatten` with support for restricting flattening.
     *
     * @private
     * @param {Array} array The array to flatten.
     * @param {number} depth The maximum recursion depth.
     * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.
     * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.
     * @param {Array} [result=[]] The initial result value.
     * @returns {Array} Returns the new flattened array.
     */
    function baseFlatten(array, depth, predicate, isStrict, result) {
      var index = -1,
          length = array.length;

      predicate || (predicate = isFlattenable);
      result || (result = []);

      while (++index < length) {
        var value = array[index];
        if (depth > 0 && predicate(value)) {
          if (depth > 1) {
            // Recursively flatten arrays (susceptible to call stack limits).
            baseFlatten(value, depth - 1, predicate, isStrict, result);
          } else {
            arrayPush(result, value);
          }
        } else if (!isStrict) {
          result[result.length] = value;
        }
      }
      return result;
    }

    /**
     * The base implementation of `baseForOwn` which iterates over `object`
     * properties returned by `keysFunc` and invokes `iteratee` for each property.
     * Iteratee functions may exit iteration early by explicitly returning `false`.
     *
     * @private
     * @param {Object} object The object to iterate over.
     * @param {Function} iteratee The function invoked per iteration.
     * @param {Function} keysFunc The function to get the keys of `object`.
     * @returns {Object} Returns `object`.
     */
    var baseFor = createBaseFor();

    /**
     * This function is like `baseFor` except that it iterates over properties
     * in the opposite order.
     *
     * @private
     * @param {Object} object The object to iterate over.
     * @param {Function} iteratee The function invoked per iteration.
     * @param {Function} keysFunc The function to get the keys of `object`.
     * @returns {Object} Returns `object`.
     */
    var baseForRight = createBaseFor(true);

    /**
     * The base implementation of `_.forOwn` without support for iteratee shorthands.
     *
     * @private
     * @param {Object} object The object to iterate over.
     * @param {Function} iteratee The function invoked per iteration.
     * @returns {Object} Returns `object`.
     */
    function baseForOwn(object, iteratee) {
      return object && baseFor(object, iteratee, keys);
    }

    /**
     * The base implementation of `_.forOwnRight` without support for iteratee shorthands.
     *
     * @private
     * @param {Object} object The object to iterate over.
     * @param {Function} iteratee The function invoked per iteration.
     * @returns {Object} Returns `object`.
     */
    function baseForOwnRight(object, iteratee) {
      return object && baseForRight(object, iteratee, keys);
    }

    /**
     * The base implementation of `_.functions` which creates an array of
     * `object` function property names filtered from `props`.
     *
     * @private
     * @param {Object} object The object to inspect.
     * @param {Array} props The property names to filter.
     * @returns {Array} Returns the function names.
     */
    function baseFunctions(object, props) {
      return arrayFilter(props, function(key) {
        return isFunction(object[key]);
      });
    }

    /**
     * The base implementation of `_.get` without support for default values.
     *
     * @private
     * @param {Object} object The object to query.
     * @param {Array|string} path The path of the property to get.
     * @returns {*} Returns the resolved value.
     */
    function baseGet(object, path) {
      path = castPath(path, object);

      var index = 0,
          length = path.length;

      while (object != null && index < length) {
        object = object[toKey(path[index++])];
      }
      return (index && index == length) ? object : undefined;
    }

    /**
     * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
     * `keysFunc` and `symbolsFunc` to get the enumerable property names and
     * symbols of `object`.
     *
     * @private
     * @param {Object} object The object to query.
     * @param {Function} keysFunc The function to get the keys of `object`.
     * @param {Function} symbolsFunc The function to get the symbols of `object`.
     * @returns {Array} Returns the array of property names and symbols.
     */
    function baseGetAllKeys(object, keysFunc, symbolsFunc) {
      var result = keysFunc(object);
      return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
    }

    /**
     * The base implementation of `getTag` without fallbacks for buggy environments.
     *
     * @private
     * @param {*} value The value to query.
     * @returns {string} Returns the `toStringTag`.
     */
    function baseGetTag(value) {
      if (value == null) {
        return value === undefined ? undefinedTag : nullTag;
      }
      return (symToStringTag && symToStringTag in Object(value))
        ? getRawTag(value)
        : objectToString(value);
    }

    /**
     * The base implementation of `_.gt` which doesn't coerce arguments.
     *
     * @private
     * @param {*} value The value to compare.
     * @param {*} other The other value to compare.
     * @returns {boolean} Returns `true` if `value` is greater than `other`,
     *  else `false`.
     */
    function baseGt(value, other) {
      return value > other;
    }

    /**
     * The base implementation of `_.has` without support for deep paths.
     *
     * @private
     * @param {Object} [object] The object to query.
     * @param {Array|string} key The key to check.
     * @returns {boolean} Returns `true` if `key` exists, else `false`.
     */
    function baseHas(object, key) {
      return object != null && hasOwnProperty.call(object, key);
    }

    /**
     * The base implementation of `_.hasIn` without support for deep paths.
     *
     * @private
     * @param {Object} [object] The object to query.
     * @param {Array|string} key The key to check.
     * @returns {boolean} Returns `true` if `key` exists, else `false`.
     */
    function baseHasIn(object, key) {
      return object != null && key in Object(object);
    }

    /**
     * The base implementation of `_.inRange` which doesn't coerce arguments.
     *
     * @private
     * @param {number} number The number to check.
     * @param {number} start The start of the range.
     * @param {number} end The end of the range.
     * @returns {boolean} Returns `true` if `number` is in the range, else `false`.
     */
    function baseInRange(number, start, end) {
      return number >= nativeMin(start, end) && number < nativeMax(start, end);
    }

    /**
     * The base implementation of methods like `_.intersection`, without support
     * for iteratee shorthands, that accepts an array of arrays to inspect.
     *
     * @private
     * @param {Array} arrays The arrays to inspect.
     * @param {Function} [iteratee] The iteratee invoked per element.
     * @param {Function} [comparator] The comparator invoked per element.
     * @returns {Array} Returns the new array of shared values.
     */
    function baseIntersection(arrays, iteratee, comparator) {
      var includes = comparator ? arrayIncludesWith : arrayIncludes,
          length = arrays[0].length,
          othLength = arrays.length,
          othIndex = othLength,
          caches = Array(othLength),
          maxLength = Infinity,
          result = [];

      while (othIndex--) {
        var array = arrays[othIndex];
        if (othIndex && iteratee) {
          array = arrayMap(array, baseUnary(iteratee));
        }
        maxLength = nativeMin(array.length, maxLength);
        caches[othIndex] = !comparator && (iteratee || (length >= 120 && array.length >= 120))
          ? new SetCache(othIndex && array)
          : undefined;
      }
      array = arrays[0];

      var index = -1,
          seen = caches[0];

      outer:
      while (++index < length && result.length < maxLength) {
        var value = array[index],
            computed = iteratee ? iteratee(value) : value;

        value = (comparator || value !== 0) ? value : 0;
        if (!(seen
              ? cacheHas(seen, computed)
              : includes(result, computed, comparator)
            )) {
          othIndex = othLength;
          while (--othIndex) {
            var cache = caches[othIndex];
            if (!(cache
                  ? cacheHas(cache, computed)
                  : includes(arrays[othIndex], computed, comparator))
                ) {
              continue outer;
            }
          }
          if (seen) {
            seen.push(computed);
          }
          result.push(value);
        }
      }
      return result;
    }

    /**
     * The base implementation of `_.invert` and `_.invertBy` which inverts
     * `object` with values transformed by `iteratee` and set by `setter`.
     *
     * @private
     * @param {Object} object The object to iterate over.
     * @param {Function} setter The function to set `accumulator` values.
     * @param {Function} iteratee The iteratee to transform values.
     * @param {Object} accumulator The initial inverted object.
     * @returns {Function} Returns `accumulator`.
     */
    function baseInverter(object, setter, iteratee, accumulator) {
      baseForOwn(object, function(value, key, object) {
        setter(accumulator, iteratee(value), key, object);
      });
      return accumulator;
    }

    /**
     * The base implementation of `_.invoke` without support for individual
     * method arguments.
     *
     * @private
     * @param {Object} object The object to query.
     * @param {Array|string} path The path of the method to invoke.
     * @param {Array} args The arguments to invoke the method with.
     * @returns {*} Returns the result of the invoked method.
     */
    function baseInvoke(object, path, args) {
      path = castPath(path, object);
      object = parent(object, path);
      var func = object == null ? object : object[toKey(last(path))];
      return func == null ? undefined : apply(func, object, args);
    }

    /**
     * The base implementation of `_.isArguments`.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is an `arguments` object,
     */
    function baseIsArguments(value) {
      return isObjectLike(value) && baseGetTag(value) == argsTag;
    }

    /**
     * The base implementation of `_.isArrayBuffer` without Node.js optimizations.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.
     */
    function baseIsArrayBuffer(value) {
      return isObjectLike(value) && baseGetTag(value) == arrayBufferTag;
    }

    /**
     * The base implementation of `_.isDate` without Node.js optimizations.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a date object, else `false`.
     */
    function baseIsDate(value) {
      return isObjectLike(value) && baseGetTag(value) == dateTag;
    }

    /**
     * The base implementation of `_.isEqual` which supports partial comparisons
     * and tracks traversed objects.
     *
     * @private
     * @param {*} value The value to compare.
     * @param {*} other The other value to compare.
     * @param {boolean} bitmask The bitmask flags.
     *  1 - Unordered comparison
     *  2 - Partial comparison
     * @param {Function} [customizer] The function to customize comparisons.
     * @param {Object} [stack] Tracks traversed `value` and `other` objects.
     * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
     */
    function baseIsEqual(value, other, bitmask, customizer, stack) {
      if (value === other) {
        return true;
      }
      if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {
        return value !== value && other !== other;
      }
      return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
    }

    /**
     * A specialized version of `baseIsEqual` for arrays and objects which performs
     * deep comparisons and tracks traversed objects enabling objects with circular
     * references to be compared.
     *
     * @private
     * @param {Object} object The object to compare.
     * @param {Object} other The other object to compare.
     * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
     * @param {Function} customizer The function to customize comparisons.
     * @param {Function} equalFunc The function to determine equivalents of values.
     * @param {Object} [stack] Tracks traversed `object` and `other` objects.
     * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
     */
    function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
      var objIsArr = isArray(object),
          othIsArr = isArray(other),
          objTag = objIsArr ? arrayTag : getTag(object),
          othTag = othIsArr ? arrayTag : getTag(other);

      objTag = objTag == argsTag ? objectTag : objTag;
      othTag = othTag == argsTag ? objectTag : othTag;

      var objIsObj = objTag == objectTag,
          othIsObj = othTag == objectTag,
          isSameTag = objTag == othTag;

      if (isSameTag && isBuffer(object)) {
        if (!isBuffer(other)) {
          return false;
        }
        objIsArr = true;
        objIsObj = false;
      }
      if (isSameTag && !objIsObj) {
        stack || (stack = new Stack);
        return (objIsArr || isTypedArray(object))
          ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)
          : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
      }
      if (!(bitmask & COMPARE_PARTIAL_FLAG)) {
        var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),
            othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');

        if (objIsWrapped || othIsWrapped) {
          var objUnwrapped = objIsWrapped ? object.value() : object,
              othUnwrapped = othIsWrapped ? other.value() : other;

          stack || (stack = new Stack);
          return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
        }
      }
      if (!isSameTag) {
        return false;
      }
      stack || (stack = new Stack);
      return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
    }

    /**
     * The base implementation of `_.isMap` without Node.js optimizations.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a map, else `false`.
     */
    function baseIsMap(value) {
      return isObjectLike(value) && getTag(value) == mapTag;
    }

    /**
     * The base implementation of `_.isMatch` without support for iteratee shorthands.
     *
     * @private
     * @param {Object} object The object to inspect.
     * @param {Object} source The object of property values to match.
     * @param {Array} matchData The property names, values, and compare flags to match.
     * @param {Function} [customizer] The function to customize comparisons.
     * @returns {boolean} Returns `true` if `object` is a match, else `false`.
     */
    function baseIsMatch(object, source, matchData, customizer) {
      var index = matchData.length,
          length = index,
          noCustomizer = !customizer;

      if (object == null) {
        return !length;
      }
      object = Object(object);
      while (index--) {
        var data = matchData[index];
        if ((noCustomizer && data[2])
              ? data[1] !== object[data[0]]
              : !(data[0] in object)
            ) {
          return false;
        }
      }
      while (++index < length) {
        data = matchData[index];
        var key = data[0],
            objValue = object[key],
            srcValue = data[1];

        if (noCustomizer && data[2]) {
          if (objValue === undefined && !(key in object)) {
            return false;
          }
        } else {
          var stack = new Stack;
          if (customizer) {
            var result = customizer(objValue, srcValue, key, object, source, stack);
          }
          if (!(result === undefined
                ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)
                : result
              )) {
            return false;
          }
        }
      }
      return true;
    }

    /**
     * The base implementation of `_.isNative` without bad shim checks.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a native function,
     *  else `false`.
     */
    function baseIsNative(value) {
      if (!isObject(value) || isMasked(value)) {
        return false;
      }
      var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
      return pattern.test(toSource(value));
    }

    /**
     * The base implementation of `_.isRegExp` without Node.js optimizations.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.
     */
    function baseIsRegExp(value) {
      return isObjectLike(value) && baseGetTag(value) == regexpTag;
    }

    /**
     * The base implementation of `_.isSet` without Node.js optimizations.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a set, else `false`.
     */
    function baseIsSet(value) {
      return isObjectLike(value) && getTag(value) == setTag;
    }

    /**
     * The base implementation of `_.isTypedArray` without Node.js optimizations.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
     */
    function baseIsTypedArray(value) {
      return isObjectLike(value) &&
        isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
    }

    /**
     * The base implementation of `_.iteratee`.
     *
     * @private
     * @param {*} [value=_.identity] The value to convert to an iteratee.
     * @returns {Function} Returns the iteratee.
     */
    function baseIteratee(value) {
      // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.
      // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.
      if (typeof value == 'function') {
        return value;
      }
      if (value == null) {
        return identity;
      }
      if (typeof value == 'object') {
        return isArray(value)
          ? baseMatchesProperty(value[0], value[1])
          : baseMatches(value);
      }
      return property(value);
    }

    /**
     * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
     *
     * @private
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of property names.
     */
    function baseKeys(object) {
      if (!isPrototype(object)) {
        return nativeKeys(object);
      }
      var result = [];
      for (var key in Object(object)) {
        if (hasOwnProperty.call(object, key) && key != 'constructor') {
          result.push(key);
        }
      }
      return result;
    }

    /**
     * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
     *
     * @private
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of property names.
     */
    function baseKeysIn(object) {
      if (!isObject(object)) {
        return nativeKeysIn(object);
      }
      var isProto = isPrototype(object),
          result = [];

      for (var key in object) {
        if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {
          result.push(key);
        }
      }
      return result;
    }

    /**
     * The base implementation of `_.lt` which doesn't coerce arguments.
     *
     * @private
     * @param {*} value The value to compare.
     * @param {*} other The other value to compare.
     * @returns {boolean} Returns `true` if `value` is less than `other`,
     *  else `false`.
     */
    function baseLt(value, other) {
      return value < other;
    }

    /**
     * The base implementation of `_.map` without support for iteratee shorthands.
     *
     * @private
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} iteratee The function invoked per iteration.
     * @returns {Array} Returns the new mapped array.
     */
    function baseMap(collection, iteratee) {
      var index = -1,
          result = isArrayLike(collection) ? Array(collection.length) : [];

      baseEach(collection, function(value, key, collection) {
        result[++index] = iteratee(value, key, collection);
      });
      return result;
    }

    /**
     * The base implementation of `_.matches` which doesn't clone `source`.
     *
     * @private
     * @param {Object} source The object of property values to match.
     * @returns {Function} Returns the new spec function.
     */
    function baseMatches(source) {
      var matchData = getMatchData(source);
      if (matchData.length == 1 && matchData[0][2]) {
        return matchesStrictComparable(matchData[0][0], matchData[0][1]);
      }
      return function(object) {
        return object === source || baseIsMatch(object, source, matchData);
      };
    }

    /**
     * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.
     *
     * @private
     * @param {string} path The path of the property to get.
     * @param {*} srcValue The value to match.
     * @returns {Function} Returns the new spec function.
     */
    function baseMatchesProperty(path, srcValue) {
      if (isKey(path) && isStrictComparable(srcValue)) {
        return matchesStrictComparable(toKey(path), srcValue);
      }
      return function(object) {
        var objValue = get(object, path);
        return (objValue === undefined && objValue === srcValue)
          ? hasIn(object, path)
          : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
      };
    }

    /**
     * The base implementation of `_.merge` without support for multiple sources.
     *
     * @private
     * @param {Object} object The destination object.
     * @param {Object} source The source object.
     * @param {number} srcIndex The index of `source`.
     * @param {Function} [customizer] The function to customize merged values.
     * @param {Object} [stack] Tracks traversed source values and their merged
     *  counterparts.
     */
    function baseMerge(object, source, srcIndex, customizer, stack) {
      if (object === source) {
        return;
      }
      baseFor(source, function(srcValue, key) {
        stack || (stack = new Stack);
        if (isObject(srcValue)) {
          baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);
        }
        else {
          var newValue = customizer
            ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)
            : undefined;

          if (newValue === undefined) {
            newValue = srcValue;
          }
          assignMergeValue(object, key, newValue);
        }
      }, keysIn);
    }

    /**
     * A specialized version of `baseMerge` for arrays and objects which performs
     * deep merges and tracks traversed objects enabling objects with circular
     * references to be merged.
     *
     * @private
     * @param {Object} object The destination object.
     * @param {Object} source The source object.
     * @param {string} key The key of the value to merge.
     * @param {number} srcIndex The index of `source`.
     * @param {Function} mergeFunc The function to merge values.
     * @param {Function} [customizer] The function to customize assigned values.
     * @param {Object} [stack] Tracks traversed source values and their merged
     *  counterparts.
     */
    function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {
      var objValue = safeGet(object, key),
          srcValue = safeGet(source, key),
          stacked = stack.get(srcValue);

      if (stacked) {
        assignMergeValue(object, key, stacked);
        return;
      }
      var newValue = customizer
        ? customizer(objValue, srcValue, (key + ''), object, source, stack)
        : undefined;

      var isCommon = newValue === undefined;

      if (isCommon) {
        var isArr = isArray(srcValue),
            isBuff = !isArr && isBuffer(srcValue),
            isTyped = !isArr && !isBuff && isTypedArray(srcValue);

        newValue = srcValue;
        if (isArr || isBuff || isTyped) {
          if (isArray(objValue)) {
            newValue = objValue;
          }
          else if (isArrayLikeObject(objValue)) {
            newValue = copyArray(objValue);
          }
          else if (isBuff) {
            isCommon = false;
            newValue = cloneBuffer(srcValue, true);
          }
          else if (isTyped) {
            isCommon = false;
            newValue = cloneTypedArray(srcValue, true);
          }
          else {
            newValue = [];
          }
        }
        else if (isPlainObject(srcValue) || isArguments(srcValue)) {
          newValue = objValue;
          if (isArguments(objValue)) {
            newValue = toPlainObject(objValue);
          }
          else if (!isObject(objValue) || isFunction(objValue)) {
            newValue = initCloneObject(srcValue);
          }
        }
        else {
          isCommon = false;
        }
      }
      if (isCommon) {
        // Recursively merge objects and arrays (susceptible to call stack limits).
        stack.set(srcValue, newValue);
        mergeFunc(newValue, srcValue, srcIndex, customizer, stack);
        stack['delete'](srcValue);
      }
      assignMergeValue(object, key, newValue);
    }

    /**
     * The base implementation of `_.nth` which doesn't coerce arguments.
     *
     * @private
     * @param {Array} array The array to query.
     * @param {number} n The index of the element to return.
     * @returns {*} Returns the nth element of `array`.
     */
    function baseNth(array, n) {
      var length = array.length;
      if (!length) {
        return;
      }
      n += n < 0 ? length : 0;
      return isIndex(n, length) ? array[n] : undefined;
    }

    /**
     * The base implementation of `_.orderBy` without param guards.
     *
     * @private
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.
     * @param {string[]} orders The sort orders of `iteratees`.
     * @returns {Array} Returns the new sorted array.
     */
    function baseOrderBy(collection, iteratees, orders) {
      if (iteratees.length) {
        iteratees = arrayMap(iteratees, function(iteratee) {
          if (isArray(iteratee)) {
            return function(value) {
              return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);
            }
          }
          return iteratee;
        });
      } else {
        iteratees = [identity];
      }

      var index = -1;
      iteratees = arrayMap(iteratees, baseUnary(getIteratee()));

      var result = baseMap(collection, function(value, key, collection) {
        var criteria = arrayMap(iteratees, function(iteratee) {
          return iteratee(value);
        });
        return { 'criteria': criteria, 'index': ++index, 'value': value };
      });

      return baseSortBy(result, function(object, other) {
        return compareMultiple(object, other, orders);
      });
    }

    /**
     * The base implementation of `_.pick` without support for individual
     * property identifiers.
     *
     * @private
     * @param {Object} object The source object.
     * @param {string[]} paths The property paths to pick.
     * @returns {Object} Returns the new object.
     */
    function basePick(object, paths) {
      return basePickBy(object, paths, function(value, path) {
        return hasIn(object, path);
      });
    }

    /**
     * The base implementation of  `_.pickBy` without support for iteratee shorthands.
     *
     * @private
     * @param {Object} object The source object.
     * @param {string[]} paths The property paths to pick.
     * @param {Function} predicate The function invoked per property.
     * @returns {Object} Returns the new object.
     */
    function basePickBy(object, paths, predicate) {
      var index = -1,
          length = paths.length,
          result = {};

      while (++index < length) {
        var path = paths[index],
            value = baseGet(object, path);

        if (predicate(value, path)) {
          baseSet(result, castPath(path, object), value);
        }
      }
      return result;
    }

    /**
     * A specialized version of `baseProperty` which supports deep paths.
     *
     * @private
     * @param {Array|string} path The path of the property to get.
     * @returns {Function} Returns the new accessor function.
     */
    function basePropertyDeep(path) {
      return function(object) {
        return baseGet(object, path);
      };
    }

    /**
     * The base implementation of `_.pullAllBy` without support for iteratee
     * shorthands.
     *
     * @private
     * @param {Array} array The array to modify.
     * @param {Array} values The values to remove.
     * @param {Function} [iteratee] The iteratee invoked per element.
     * @param {Function} [comparator] The comparator invoked per element.
     * @returns {Array} Returns `array`.
     */
    function basePullAll(array, values, iteratee, comparator) {
      var indexOf = comparator ? baseIndexOfWith : baseIndexOf,
          index = -1,
          length = values.length,
          seen = array;

      if (array === values) {
        values = copyArray(values);
      }
      if (iteratee) {
        seen = arrayMap(array, baseUnary(iteratee));
      }
      while (++index < length) {
        var fromIndex = 0,
            value = values[index],
            computed = iteratee ? iteratee(value) : value;

        while ((fromIndex = indexOf(seen, computed, fromIndex, comparator)) > -1) {
          if (seen !== array) {
            splice.call(seen, fromIndex, 1);
          }
          splice.call(array, fromIndex, 1);
        }
      }
      return array;
    }

    /**
     * The base implementation of `_.pullAt` without support for individual
     * indexes or capturing the removed elements.
     *
     * @private
     * @param {Array} array The array to modify.
     * @param {number[]} indexes The indexes of elements to remove.
     * @returns {Array} Returns `array`.
     */
    function basePullAt(array, indexes) {
      var length = array ? indexes.length : 0,
          lastIndex = length - 1;

      while (length--) {
        var index = indexes[length];
        if (length == lastIndex || index !== previous) {
          var previous = index;
          if (isIndex(index)) {
            splice.call(array, index, 1);
          } else {
            baseUnset(array, index);
          }
        }
      }
      return array;
    }

    /**
     * The base implementation of `_.random` without support for returning
     * floating-point numbers.
     *
     * @private
     * @param {number} lower The lower bound.
     * @param {number} upper The upper bound.
     * @returns {number} Returns the random number.
     */
    function baseRandom(lower, upper) {
      return lower + nativeFloor(nativeRandom() * (upper - lower + 1));
    }

    /**
     * The base implementation of `_.range` and `_.rangeRight` which doesn't
     * coerce arguments.
     *
     * @private
     * @param {number} start The start of the range.
     * @param {number} end The end of the range.
     * @param {number} step The value to increment or decrement by.
     * @param {boolean} [fromRight] Specify iterating from right to left.
     * @returns {Array} Returns the range of numbers.
     */
    function baseRange(start, end, step, fromRight) {
      var index = -1,
          length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),
          result = Array(length);

      while (length--) {
        result[fromRight ? length : ++index] = start;
        start += step;
      }
      return result;
    }

    /**
     * The base implementation of `_.repeat` which doesn't coerce arguments.
     *
     * @private
     * @param {string} string The string to repeat.
     * @param {number} n The number of times to repeat the string.
     * @returns {string} Returns the repeated string.
     */
    function baseRepeat(string, n) {
      var result = '';
      if (!string || n < 1 || n > MAX_SAFE_INTEGER) {
        return result;
      }
      // Leverage the exponentiation by squaring algorithm for a faster repeat.
      // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details.
      do {
        if (n % 2) {
          result += string;
        }
        n = nativeFloor(n / 2);
        if (n) {
          string += string;
        }
      } while (n);

      return result;
    }

    /**
     * The base implementation of `_.rest` which doesn't validate or coerce arguments.
     *
     * @private
     * @param {Function} func The function to apply a rest parameter to.
     * @param {number} [start=func.length-1] The start position of the rest parameter.
     * @returns {Function} Returns the new function.
     */
    function baseRest(func, start) {
      return setToString(overRest(func, start, identity), func + '');
    }

    /**
     * The base implementation of `_.sample`.
     *
     * @private
     * @param {Array|Object} collection The collection to sample.
     * @returns {*} Returns the random element.
     */
    function baseSample(collection) {
      return arraySample(values(collection));
    }

    /**
     * The base implementation of `_.sampleSize` without param guards.
     *
     * @private
     * @param {Array|Object} collection The collection to sample.
     * @param {number} n The number of elements to sample.
     * @returns {Array} Returns the random elements.
     */
    function baseSampleSize(collection, n) {
      var array = values(collection);
      return shuffleSelf(array, baseClamp(n, 0, array.length));
    }

    /**
     * The base implementation of `_.set`.
     *
     * @private
     * @param {Object} object The object to modify.
     * @param {Array|string} path The path of the property to set.
     * @param {*} value The value to set.
     * @param {Function} [customizer] The function to customize path creation.
     * @returns {Object} Returns `object`.
     */
    function baseSet(object, path, value, customizer) {
      if (!isObject(object)) {
        return object;
      }
      path = castPath(path, object);

      var index = -1,
          length = path.length,
          lastIndex = length - 1,
          nested = object;

      while (nested != null && ++index < length) {
        var key = toKey(path[index]),
            newValue = value;

        if (key === '__proto__' || key === 'constructor' || key === 'prototype') {
          return object;
        }

        if (index != lastIndex) {
          var objValue = nested[key];
          newValue = customizer ? customizer(objValue, key, nested) : undefined;
          if (newValue === undefined) {
            newValue = isObject(objValue)
              ? objValue
              : (isIndex(path[index + 1]) ? [] : {});
          }
        }
        assignValue(nested, key, newValue);
        nested = nested[key];
      }
      return object;
    }

    /**
     * The base implementation of `setData` without support for hot loop shorting.
     *
     * @private
     * @param {Function} func The function to associate metadata with.
     * @param {*} data The metadata.
     * @returns {Function} Returns `func`.
     */
    var baseSetData = !metaMap ? identity : function(func, data) {
      metaMap.set(func, data);
      return func;
    };

    /**
     * The base implementation of `setToString` without support for hot loop shorting.
     *
     * @private
     * @param {Function} func The function to modify.
     * @param {Function} string The `toString` result.
     * @returns {Function} Returns `func`.
     */
    var baseSetToString = !defineProperty ? identity : function(func, string) {
      return defineProperty(func, 'toString', {
        'configurable': true,
        'enumerable': false,
        'value': constant(string),
        'writable': true
      });
    };

    /**
     * The base implementation of `_.shuffle`.
     *
     * @private
     * @param {Array|Object} collection The collection to shuffle.
     * @returns {Array} Returns the new shuffled array.
     */
    function baseShuffle(collection) {
      return shuffleSelf(values(collection));
    }

    /**
     * The base implementation of `_.slice` without an iteratee call guard.
     *
     * @private
     * @param {Array} array The array to slice.
     * @param {number} [start=0] The start position.
     * @param {number} [end=array.length] The end position.
     * @returns {Array} Returns the slice of `array`.
     */
    function baseSlice(array, start, end) {
      var index = -1,
          length = array.length;

      if (start < 0) {
        start = -start > length ? 0 : (length + start);
      }
      end = end > length ? length : end;
      if (end < 0) {
        end += length;
      }
      length = start > end ? 0 : ((end - start) >>> 0);
      start >>>= 0;

      var result = Array(length);
      while (++index < length) {
        result[index] = array[index + start];
      }
      return result;
    }

    /**
     * The base implementation of `_.some` without support for iteratee shorthands.
     *
     * @private
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} predicate The function invoked per iteration.
     * @returns {boolean} Returns `true` if any element passes the predicate check,
     *  else `false`.
     */
    function baseSome(collection, predicate) {
      var result;

      baseEach(collection, function(value, index, collection) {
        result = predicate(value, index, collection);
        return !result;
      });
      return !!result;
    }

    /**
     * The base implementation of `_.sortedIndex` and `_.sortedLastIndex` which
     * performs a binary search of `array` to determine the index at which `value`
     * should be inserted into `array` in order to maintain its sort order.
     *
     * @private
     * @param {Array} array The sorted array to inspect.
     * @param {*} value The value to evaluate.
     * @param {boolean} [retHighest] Specify returning the highest qualified index.
     * @returns {number} Returns the index at which `value` should be inserted
     *  into `array`.
     */
    function baseSortedIndex(array, value, retHighest) {
      var low = 0,
          high = array == null ? low : array.length;

      if (typeof value == 'number' && value === value && high <= HALF_MAX_ARRAY_LENGTH) {
        while (low < high) {
          var mid = (low + high) >>> 1,
              computed = array[mid];

          if (computed !== null && !isSymbol(computed) &&
              (retHighest ? (computed <= value) : (computed < value))) {
            low = mid + 1;
          } else {
            high = mid;
          }
        }
        return high;
      }
      return baseSortedIndexBy(array, value, identity, retHighest);
    }

    /**
     * The base implementation of `_.sortedIndexBy` and `_.sortedLastIndexBy`
     * which invokes `iteratee` for `value` and each element of `array` to compute
     * their sort ranking. The iteratee is invoked with one argument; (value).
     *
     * @private
     * @param {Array} array The sorted array to inspect.
     * @param {*} value The value to evaluate.
     * @param {Function} iteratee The iteratee invoked per element.
     * @param {boolean} [retHighest] Specify returning the highest qualified index.
     * @returns {number} Returns the index at which `value` should be inserted
     *  into `array`.
     */
    function baseSortedIndexBy(array, value, iteratee, retHighest) {
      var low = 0,
          high = array == null ? 0 : array.length;
      if (high === 0) {
        return 0;
      }

      value = iteratee(value);
      var valIsNaN = value !== value,
          valIsNull = value === null,
          valIsSymbol = isSymbol(value),
          valIsUndefined = value === undefined;

      while (low < high) {
        var mid = nativeFloor((low + high) / 2),
            computed = iteratee(array[mid]),
            othIsDefined = computed !== undefined,
            othIsNull = computed === null,
            othIsReflexive = computed === computed,
            othIsSymbol = isSymbol(computed);

        if (valIsNaN) {
          var setLow = retHighest || othIsReflexive;
        } else if (valIsUndefined) {
          setLow = othIsReflexive && (retHighest || othIsDefined);
        } else if (valIsNull) {
          setLow = othIsReflexive && othIsDefined && (retHighest || !othIsNull);
        } else if (valIsSymbol) {
          setLow = othIsReflexive && othIsDefined && !othIsNull && (retHighest || !othIsSymbol);
        } else if (othIsNull || othIsSymbol) {
          setLow = false;
        } else {
          setLow = retHighest ? (computed <= value) : (computed < value);
        }
        if (setLow) {
          low = mid + 1;
        } else {
          high = mid;
        }
      }
      return nativeMin(high, MAX_ARRAY_INDEX);
    }

    /**
     * The base implementation of `_.sortedUniq` and `_.sortedUniqBy` without
     * support for iteratee shorthands.
     *
     * @private
     * @param {Array} array The array to inspect.
     * @param {Function} [iteratee] The iteratee invoked per element.
     * @returns {Array} Returns the new duplicate free array.
     */
    function baseSortedUniq(array, iteratee) {
      var index = -1,
          length = array.length,
          resIndex = 0,
          result = [];

      while (++index < length) {
        var value = array[index],
            computed = iteratee ? iteratee(value) : value;

        if (!index || !eq(computed, seen)) {
          var seen = computed;
          result[resIndex++] = value === 0 ? 0 : value;
        }
      }
      return result;
    }

    /**
     * The base implementation of `_.toNumber` which doesn't ensure correct
     * conversions of binary, hexadecimal, or octal string values.
     *
     * @private
     * @param {*} value The value to process.
     * @returns {number} Returns the number.
     */
    function baseToNumber(value) {
      if (typeof value == 'number') {
        return value;
      }
      if (isSymbol(value)) {
        return NAN;
      }
      return +value;
    }

    /**
     * The base implementation of `_.toString` which doesn't convert nullish
     * values to empty strings.
     *
     * @private
     * @param {*} value The value to process.
     * @returns {string} Returns the string.
     */
    function baseToString(value) {
      // Exit early for strings to avoid a performance hit in some environments.
      if (typeof value == 'string') {
        return value;
      }
      if (isArray(value)) {
        // Recursively convert values (susceptible to call stack limits).
        return arrayMap(value, baseToString) + '';
      }
      if (isSymbol(value)) {
        return symbolToString ? symbolToString.call(value) : '';
      }
      var result = (value + '');
      return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
    }

    /**
     * The base implementation of `_.uniqBy` without support for iteratee shorthands.
     *
     * @private
     * @param {Array} array The array to inspect.
     * @param {Function} [iteratee] The iteratee invoked per element.
     * @param {Function} [comparator] The comparator invoked per element.
     * @returns {Array} Returns the new duplicate free array.
     */
    function baseUniq(array, iteratee, comparator) {
      var index = -1,
          includes = arrayIncludes,
          length = array.length,
          isCommon = true,
          result = [],
          seen = result;

      if (comparator) {
        isCommon = false;
        includes = arrayIncludesWith;
      }
      else if (length >= LARGE_ARRAY_SIZE) {
        var set = iteratee ? null : createSet(array);
        if (set) {
          return setToArray(set);
        }
        isCommon = false;
        includes = cacheHas;
        seen = new SetCache;
      }
      else {
        seen = iteratee ? [] : result;
      }
      outer:
      while (++index < length) {
        var value = array[index],
            computed = iteratee ? iteratee(value) : value;

        value = (comparator || value !== 0) ? value : 0;
        if (isCommon && computed === computed) {
          var seenIndex = seen.length;
          while (seenIndex--) {
            if (seen[seenIndex] === computed) {
              continue outer;
            }
          }
          if (iteratee) {
            seen.push(computed);
          }
          result.push(value);
        }
        else if (!includes(seen, computed, comparator)) {
          if (seen !== result) {
            seen.push(computed);
          }
          result.push(value);
        }
      }
      return result;
    }

    /**
     * The base implementation of `_.unset`.
     *
     * @private
     * @param {Object} object The object to modify.
     * @param {Array|string} path The property path to unset.
     * @returns {boolean} Returns `true` if the property is deleted, else `false`.
     */
    function baseUnset(object, path) {
      path = castPath(path, object);
      object = parent(object, path);
      return object == null || delete object[toKey(last(path))];
    }

    /**
     * The base implementation of `_.update`.
     *
     * @private
     * @param {Object} object The object to modify.
     * @param {Array|string} path The path of the property to update.
     * @param {Function} updater The function to produce the updated value.
     * @param {Function} [customizer] The function to customize path creation.
     * @returns {Object} Returns `object`.
     */
    function baseUpdate(object, path, updater, customizer) {
      return baseSet(object, path, updater(baseGet(object, path)), customizer);
    }

    /**
     * The base implementation of methods like `_.dropWhile` and `_.takeWhile`
     * without support for iteratee shorthands.
     *
     * @private
     * @param {Array} array The array to query.
     * @param {Function} predicate The function invoked per iteration.
     * @param {boolean} [isDrop] Specify dropping elements instead of taking them.
     * @param {boolean} [fromRight] Specify iterating from right to left.
     * @returns {Array} Returns the slice of `array`.
     */
    function baseWhile(array, predicate, isDrop, fromRight) {
      var length = array.length,
          index = fromRight ? length : -1;

      while ((fromRight ? index-- : ++index < length) &&
        predicate(array[index], index, array)) {}

      return isDrop
        ? baseSlice(array, (fromRight ? 0 : index), (fromRight ? index + 1 : length))
        : baseSlice(array, (fromRight ? index + 1 : 0), (fromRight ? length : index));
    }

    /**
     * The base implementation of `wrapperValue` which returns the result of
     * performing a sequence of actions on the unwrapped `value`, where each
     * successive action is supplied the return value of the previous.
     *
     * @private
     * @param {*} value The unwrapped value.
     * @param {Array} actions Actions to perform to resolve the unwrapped value.
     * @returns {*} Returns the resolved value.
     */
    function baseWrapperValue(value, actions) {
      var result = value;
      if (result instanceof LazyWrapper) {
        result = result.value();
      }
      return arrayReduce(actions, function(result, action) {
        return action.func.apply(action.thisArg, arrayPush([result], action.args));
      }, result);
    }

    /**
     * The base implementation of methods like `_.xor`, without support for
     * iteratee shorthands, that accepts an array of arrays to inspect.
     *
     * @private
     * @param {Array} arrays The arrays to inspect.
     * @param {Function} [iteratee] The iteratee invoked per element.
     * @param {Function} [comparator] The comparator invoked per element.
     * @returns {Array} Returns the new array of values.
     */
    function baseXor(arrays, iteratee, comparator) {
      var length = arrays.length;
      if (length < 2) {
        return length ? baseUniq(arrays[0]) : [];
      }
      var index = -1,
          result = Array(length);

      while (++index < length) {
        var array = arrays[index],
            othIndex = -1;

        while (++othIndex < length) {
          if (othIndex != index) {
            result[index] = baseDifference(result[index] || array, arrays[othIndex], iteratee, comparator);
          }
        }
      }
      return baseUniq(baseFlatten(result, 1), iteratee, comparator);
    }

    /**
     * This base implementation of `_.zipObject` which assigns values using `assignFunc`.
     *
     * @private
     * @param {Array} props The property identifiers.
     * @param {Array} values The property values.
     * @param {Function} assignFunc The function to assign values.
     * @returns {Object} Returns the new object.
     */
    function baseZipObject(props, values, assignFunc) {
      var index = -1,
          length = props.length,
          valsLength = values.length,
          result = {};

      while (++index < length) {
        var value = index < valsLength ? values[index] : undefined;
        assignFunc(result, props[index], value);
      }
      return result;
    }

    /**
     * Casts `value` to an empty array if it's not an array like object.
     *
     * @private
     * @param {*} value The value to inspect.
     * @returns {Array|Object} Returns the cast array-like object.
     */
    function castArrayLikeObject(value) {
      return isArrayLikeObject(value) ? value : [];
    }

    /**
     * Casts `value` to `identity` if it's not a function.
     *
     * @private
     * @param {*} value The value to inspect.
     * @returns {Function} Returns cast function.
     */
    function castFunction(value) {
      return typeof value == 'function' ? value : identity;
    }

    /**
     * Casts `value` to a path array if it's not one.
     *
     * @private
     * @param {*} value The value to inspect.
     * @param {Object} [object] The object to query keys on.
     * @returns {Array} Returns the cast property path array.
     */
    function castPath(value, object) {
      if (isArray(value)) {
        return value;
      }
      return isKey(value, object) ? [value] : stringToPath(toString(value));
    }

    /**
     * A `baseRest` alias which can be replaced with `identity` by module
     * replacement plugins.
     *
     * @private
     * @type {Function}
     * @param {Function} func The function to apply a rest parameter to.
     * @returns {Function} Returns the new function.
     */
    var castRest = baseRest;

    /**
     * Casts `array` to a slice if it's needed.
     *
     * @private
     * @param {Array} array The array to inspect.
     * @param {number} start The start position.
     * @param {number} [end=array.length] The end position.
     * @returns {Array} Returns the cast slice.
     */
    function castSlice(array, start, end) {
      var length = array.length;
      end = end === undefined ? length : end;
      return (!start && end >= length) ? array : baseSlice(array, start, end);
    }

    /**
     * A simple wrapper around the global [`clearTimeout`](https://mdn.io/clearTimeout).
     *
     * @private
     * @param {number|Object} id The timer id or timeout object of the timer to clear.
     */
    var clearTimeout = ctxClearTimeout || function(id) {
      return root.clearTimeout(id);
    };

    /**
     * Creates a clone of  `buffer`.
     *
     * @private
     * @param {Buffer} buffer The buffer to clone.
     * @param {boolean} [isDeep] Specify a deep clone.
     * @returns {Buffer} Returns the cloned buffer.
     */
    function cloneBuffer(buffer, isDeep) {
      if (isDeep) {
        return buffer.slice();
      }
      var length = buffer.length,
          result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);

      buffer.copy(result);
      return result;
    }

    /**
     * Creates a clone of `arrayBuffer`.
     *
     * @private
     * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
     * @returns {ArrayBuffer} Returns the cloned array buffer.
     */
    function cloneArrayBuffer(arrayBuffer) {
      var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
      new Uint8Array(result).set(new Uint8Array(arrayBuffer));
      return result;
    }

    /**
     * Creates a clone of `dataView`.
     *
     * @private
     * @param {Object} dataView The data view to clone.
     * @param {boolean} [isDeep] Specify a deep clone.
     * @returns {Object} Returns the cloned data view.
     */
    function cloneDataView(dataView, isDeep) {
      var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
      return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
    }

    /**
     * Creates a clone of `regexp`.
     *
     * @private
     * @param {Object} regexp The regexp to clone.
     * @returns {Object} Returns the cloned regexp.
     */
    function cloneRegExp(regexp) {
      var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
      result.lastIndex = regexp.lastIndex;
      return result;
    }

    /**
     * Creates a clone of the `symbol` object.
     *
     * @private
     * @param {Object} symbol The symbol object to clone.
     * @returns {Object} Returns the cloned symbol object.
     */
    function cloneSymbol(symbol) {
      return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
    }

    /**
     * Creates a clone of `typedArray`.
     *
     * @private
     * @param {Object} typedArray The typed array to clone.
     * @param {boolean} [isDeep] Specify a deep clone.
     * @returns {Object} Returns the cloned typed array.
     */
    function cloneTypedArray(typedArray, isDeep) {
      var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
      return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
    }

    /**
     * Compares values to sort them in ascending order.
     *
     * @private
     * @param {*} value The value to compare.
     * @param {*} other The other value to compare.
     * @returns {number} Returns the sort order indicator for `value`.
     */
    function compareAscending(value, other) {
      if (value !== other) {
        var valIsDefined = value !== undefined,
            valIsNull = value === null,
            valIsReflexive = value === value,
            valIsSymbol = isSymbol(value);

        var othIsDefined = other !== undefined,
            othIsNull = other === null,
            othIsReflexive = other === other,
            othIsSymbol = isSymbol(other);

        if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) ||
            (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) ||
            (valIsNull && othIsDefined && othIsReflexive) ||
            (!valIsDefined && othIsReflexive) ||
            !valIsReflexive) {
          return 1;
        }
        if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) ||
            (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) ||
            (othIsNull && valIsDefined && valIsReflexive) ||
            (!othIsDefined && valIsReflexive) ||
            !othIsReflexive) {
          return -1;
        }
      }
      return 0;
    }

    /**
     * Used by `_.orderBy` to compare multiple properties of a value to another
     * and stable sort them.
     *
     * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,
     * specify an order of "desc" for descending or "asc" for ascending sort order
     * of corresponding values.
     *
     * @private
     * @param {Object} object The object to compare.
     * @param {Object} other The other object to compare.
     * @param {boolean[]|string[]} orders The order to sort by for each property.
     * @returns {number} Returns the sort order indicator for `object`.
     */
    function compareMultiple(object, other, orders) {
      var index = -1,
          objCriteria = object.criteria,
          othCriteria = other.criteria,
          length = objCriteria.length,
          ordersLength = orders.length;

      while (++index < length) {
        var result = compareAscending(objCriteria[index], othCriteria[index]);
        if (result) {
          if (index >= ordersLength) {
            return result;
          }
          var order = orders[index];
          return result * (order == 'desc' ? -1 : 1);
        }
      }
      // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications
      // that causes it, under certain circumstances, to provide the same value for
      // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247
      // for more details.
      //
      // This also ensures a stable sort in V8 and other engines.
      // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details.
      return object.index - other.index;
    }

    /**
     * Creates an array that is the composition of partially applied arguments,
     * placeholders, and provided arguments into a single array of arguments.
     *
     * @private
     * @param {Array} args The provided arguments.
     * @param {Array} partials The arguments to prepend to those provided.
     * @param {Array} holders The `partials` placeholder indexes.
     * @params {boolean} [isCurried] Specify composing for a curried function.
     * @returns {Array} Returns the new array of composed arguments.
     */
    function composeArgs(args, partials, holders, isCurried) {
      var argsIndex = -1,
          argsLength = args.length,
          holdersLength = holders.length,
          leftIndex = -1,
          leftLength = partials.length,
          rangeLength = nativeMax(argsLength - holdersLength, 0),
          result = Array(leftLength + rangeLength),
          isUncurried = !isCurried;

      while (++leftIndex < leftLength) {
        result[leftIndex] = partials[leftIndex];
      }
      while (++argsIndex < holdersLength) {
        if (isUncurried || argsIndex < argsLength) {
          result[holders[argsIndex]] = args[argsIndex];
        }
      }
      while (rangeLength--) {
        result[leftIndex++] = args[argsIndex++];
      }
      return result;
    }

    /**
     * This function is like `composeArgs` except that the arguments composition
     * is tailored for `_.partialRight`.
     *
     * @private
     * @param {Array} args The provided arguments.
     * @param {Array} partials The arguments to append to those provided.
     * @param {Array} holders The `partials` placeholder indexes.
     * @params {boolean} [isCurried] Specify composing for a curried function.
     * @returns {Array} Returns the new array of composed arguments.
     */
    function composeArgsRight(args, partials, holders, isCurried) {
      var argsIndex = -1,
          argsLength = args.length,
          holdersIndex = -1,
          holdersLength = holders.length,
          rightIndex = -1,
          rightLength = partials.length,
          rangeLength = nativeMax(argsLength - holdersLength, 0),
          result = Array(rangeLength + rightLength),
          isUncurried = !isCurried;

      while (++argsIndex < rangeLength) {
        result[argsIndex] = args[argsIndex];
      }
      var offset = argsIndex;
      while (++rightIndex < rightLength) {
        result[offset + rightIndex] = partials[rightIndex];
      }
      while (++holdersIndex < holdersLength) {
        if (isUncurried || argsIndex < argsLength) {
          result[offset + holders[holdersIndex]] = args[argsIndex++];
        }
      }
      return result;
    }

    /**
     * Copies the values of `source` to `array`.
     *
     * @private
     * @param {Array} source The array to copy values from.
     * @param {Array} [array=[]] The array to copy values to.
     * @returns {Array} Returns `array`.
     */
    function copyArray(source, array) {
      var index = -1,
          length = source.length;

      array || (array = Array(length));
      while (++index < length) {
        array[index] = source[index];
      }
      return array;
    }

    /**
     * Copies properties of `source` to `object`.
     *
     * @private
     * @param {Object} source The object to copy properties from.
     * @param {Array} props The property identifiers to copy.
     * @param {Object} [object={}] The object to copy properties to.
     * @param {Function} [customizer] The function to customize copied values.
     * @returns {Object} Returns `object`.
     */
    function copyObject(source, props, object, customizer) {
      var isNew = !object;
      object || (object = {});

      var index = -1,
          length = props.length;

      while (++index < length) {
        var key = props[index];

        var newValue = customizer
          ? customizer(object[key], source[key], key, object, source)
          : undefined;

        if (newValue === undefined) {
          newValue = source[key];
        }
        if (isNew) {
          baseAssignValue(object, key, newValue);
        } else {
          assignValue(object, key, newValue);
        }
      }
      return object;
    }

    /**
     * Copies own symbols of `source` to `object`.
     *
     * @private
     * @param {Object} source The object to copy symbols from.
     * @param {Object} [object={}] The object to copy symbols to.
     * @returns {Object} Returns `object`.
     */
    function copySymbols(source, object) {
      return copyObject(source, getSymbols(source), object);
    }

    /**
     * Copies own and inherited symbols of `source` to `object`.
     *
     * @private
     * @param {Object} source The object to copy symbols from.
     * @param {Object} [object={}] The object to copy symbols to.
     * @returns {Object} Returns `object`.
     */
    function copySymbolsIn(source, object) {
      return copyObject(source, getSymbolsIn(source), object);
    }

    /**
     * Creates a function like `_.groupBy`.
     *
     * @private
     * @param {Function} setter The function to set accumulator values.
     * @param {Function} [initializer] The accumulator object initializer.
     * @returns {Function} Returns the new aggregator function.
     */
    function createAggregator(setter, initializer) {
      return function(collection, iteratee) {
        var func = isArray(collection) ? arrayAggregator : baseAggregator,
            accumulator = initializer ? initializer() : {};

        return func(collection, setter, getIteratee(iteratee, 2), accumulator);
      };
    }

    /**
     * Creates a function like `_.assign`.
     *
     * @private
     * @param {Function} assigner The function to assign values.
     * @returns {Function} Returns the new assigner function.
     */
    function createAssigner(assigner) {
      return baseRest(function(object, sources) {
        var index = -1,
            length = sources.length,
            customizer = length > 1 ? sources[length - 1] : undefined,
            guard = length > 2 ? sources[2] : undefined;

        customizer = (assigner.length > 3 && typeof customizer == 'function')
          ? (length--, customizer)
          : undefined;

        if (guard && isIterateeCall(sources[0], sources[1], guard)) {
          customizer = length < 3 ? undefined : customizer;
          length = 1;
        }
        object = Object(object);
        while (++index < length) {
          var source = sources[index];
          if (source) {
            assigner(object, source, index, customizer);
          }
        }
        return object;
      });
    }

    /**
     * Creates a `baseEach` or `baseEachRight` function.
     *
     * @private
     * @param {Function} eachFunc The function to iterate over a collection.
     * @param {boolean} [fromRight] Specify iterating from right to left.
     * @returns {Function} Returns the new base function.
     */
    function createBaseEach(eachFunc, fromRight) {
      return function(collection, iteratee) {
        if (collection == null) {
          return collection;
        }
        if (!isArrayLike(collection)) {
          return eachFunc(collection, iteratee);
        }
        var length = collection.length,
            index = fromRight ? length : -1,
            iterable = Object(collection);

        while ((fromRight ? index-- : ++index < length)) {
          if (iteratee(iterable[index], index, iterable) === false) {
            break;
          }
        }
        return collection;
      };
    }

    /**
     * Creates a base function for methods like `_.forIn` and `_.forOwn`.
     *
     * @private
     * @param {boolean} [fromRight] Specify iterating from right to left.
     * @returns {Function} Returns the new base function.
     */
    function createBaseFor(fromRight) {
      return function(object, iteratee, keysFunc) {
        var index = -1,
            iterable = Object(object),
            props = keysFunc(object),
            length = props.length;

        while (length--) {
          var key = props[fromRight ? length : ++index];
          if (iteratee(iterable[key], key, iterable) === false) {
            break;
          }
        }
        return object;
      };
    }

    /**
     * Creates a function that wraps `func` to invoke it with the optional `this`
     * binding of `thisArg`.
     *
     * @private
     * @param {Function} func The function to wrap.
     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.
     * @param {*} [thisArg] The `this` binding of `func`.
     * @returns {Function} Returns the new wrapped function.
     */
    function createBind(func, bitmask, thisArg) {
      var isBind = bitmask & WRAP_BIND_FLAG,
          Ctor = createCtor(func);

      function wrapper() {
        var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;
        return fn.apply(isBind ? thisArg : this, arguments);
      }
      return wrapper;
    }

    /**
     * Creates a function like `_.lowerFirst`.
     *
     * @private
     * @param {string} methodName The name of the `String` case method to use.
     * @returns {Function} Returns the new case function.
     */
    function createCaseFirst(methodName) {
      return function(string) {
        string = toString(string);

        var strSymbols = hasUnicode(string)
          ? stringToArray(string)
          : undefined;

        var chr = strSymbols
          ? strSymbols[0]
          : string.charAt(0);

        var trailing = strSymbols
          ? castSlice(strSymbols, 1).join('')
          : string.slice(1);

        return chr[methodName]() + trailing;
      };
    }

    /**
     * Creates a function like `_.camelCase`.
     *
     * @private
     * @param {Function} callback The function to combine each word.
     * @returns {Function} Returns the new compounder function.
     */
    function createCompounder(callback) {
      return function(string) {
        return arrayReduce(words(deburr(string).replace(reApos, '')), callback, '');
      };
    }

    /**
     * Creates a function that produces an instance of `Ctor` regardless of
     * whether it was invoked as part of a `new` expression or by `call` or `apply`.
     *
     * @private
     * @param {Function} Ctor The constructor to wrap.
     * @returns {Function} Returns the new wrapped function.
     */
    function createCtor(Ctor) {
      return function() {
        // Use a `switch` statement to work with class constructors. See
        // http://ecma-international.org/ecma-262/7.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist
        // for more details.
        var args = arguments;
        switch (args.length) {
          case 0: return new Ctor;
          case 1: return new Ctor(args[0]);
          case 2: return new Ctor(args[0], args[1]);
          case 3: return new Ctor(args[0], args[1], args[2]);
          case 4: return new Ctor(args[0], args[1], args[2], args[3]);
          case 5: return new Ctor(args[0], args[1], args[2], args[3], args[4]);
          case 6: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]);
          case 7: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]);
        }
        var thisBinding = baseCreate(Ctor.prototype),
            result = Ctor.apply(thisBinding, args);

        // Mimic the constructor's `return` behavior.
        // See https://es5.github.io/#x13.2.2 for more details.
        return isObject(result) ? result : thisBinding;
      };
    }

    /**
     * Creates a function that wraps `func` to enable currying.
     *
     * @private
     * @param {Function} func The function to wrap.
     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.
     * @param {number} arity The arity of `func`.
     * @returns {Function} Returns the new wrapped function.
     */
    function createCurry(func, bitmask, arity) {
      var Ctor = createCtor(func);

      function wrapper() {
        var length = arguments.length,
            args = Array(length),
            index = length,
            placeholder = getHolder(wrapper);

        while (index--) {
          args[index] = arguments[index];
        }
        var holders = (length < 3 && args[0] !== placeholder && args[length - 1] !== placeholder)
          ? []
          : replaceHolders(args, placeholder);

        length -= holders.length;
        if (length < arity) {
          return createRecurry(
            func, bitmask, createHybrid, wrapper.placeholder, undefined,
            args, holders, undefined, undefined, arity - length);
        }
        var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;
        return apply(fn, this, args);
      }
      return wrapper;
    }

    /**
     * Creates a `_.find` or `_.findLast` function.
     *
     * @private
     * @param {Function} findIndexFunc The function to find the collection index.
     * @returns {Function} Returns the new find function.
     */
    function createFind(findIndexFunc) {
      return function(collection, predicate, fromIndex) {
        var iterable = Object(collection);
        if (!isArrayLike(collection)) {
          var iteratee = getIteratee(predicate, 3);
          collection = keys(collection);
          predicate = function(key) { return iteratee(iterable[key], key, iterable); };
        }
        var index = findIndexFunc(collection, predicate, fromIndex);
        return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined;
      };
    }

    /**
     * Creates a `_.flow` or `_.flowRight` function.
     *
     * @private
     * @param {boolean} [fromRight] Specify iterating from right to left.
     * @returns {Function} Returns the new flow function.
     */
    function createFlow(fromRight) {
      return flatRest(function(funcs) {
        var length = funcs.length,
            index = length,
            prereq = LodashWrapper.prototype.thru;

        if (fromRight) {
          funcs.reverse();
        }
        while (index--) {
          var func = funcs[index];
          if (typeof func != 'function') {
            throw new TypeError(FUNC_ERROR_TEXT);
          }
          if (prereq && !wrapper && getFuncName(func) == 'wrapper') {
            var wrapper = new LodashWrapper([], true);
          }
        }
        index = wrapper ? index : length;
        while (++index < length) {
          func = funcs[index];

          var funcName = getFuncName(func),
              data = funcName == 'wrapper' ? getData(func) : undefined;

          if (data && isLaziable(data[0]) &&
                data[1] == (WRAP_ARY_FLAG | WRAP_CURRY_FLAG | WRAP_PARTIAL_FLAG | WRAP_REARG_FLAG) &&
                !data[4].length && data[9] == 1
              ) {
            wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]);
          } else {
            wrapper = (func.length == 1 && isLaziable(func))
              ? wrapper[funcName]()
              : wrapper.thru(func);
          }
        }
        return function() {
          var args = arguments,
              value = args[0];

          if (wrapper && args.length == 1 && isArray(value)) {
            return wrapper.plant(value).value();
          }
          var index = 0,
              result = length ? funcs[index].apply(this, args) : value;

          while (++index < length) {
            result = funcs[index].call(this, result);
          }
          return result;
        };
      });
    }

    /**
     * Creates a function that wraps `func` to invoke it with optional `this`
     * binding of `thisArg`, partial application, and currying.
     *
     * @private
     * @param {Function|string} func The function or method name to wrap.
     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.
     * @param {*} [thisArg] The `this` binding of `func`.
     * @param {Array} [partials] The arguments to prepend to those provided to
     *  the new function.
     * @param {Array} [holders] The `partials` placeholder indexes.
     * @param {Array} [partialsRight] The arguments to append to those provided
     *  to the new function.
     * @param {Array} [holdersRight] The `partialsRight` placeholder indexes.
     * @param {Array} [argPos] The argument positions of the new function.
     * @param {number} [ary] The arity cap of `func`.
     * @param {number} [arity] The arity of `func`.
     * @returns {Function} Returns the new wrapped function.
     */
    function createHybrid(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) {
      var isAry = bitmask & WRAP_ARY_FLAG,
          isBind = bitmask & WRAP_BIND_FLAG,
          isBindKey = bitmask & WRAP_BIND_KEY_FLAG,
          isCurried = bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG),
          isFlip = bitmask & WRAP_FLIP_FLAG,
          Ctor = isBindKey ? undefined : createCtor(func);

      function wrapper() {
        var length = arguments.length,
            args = Array(length),
            index = length;

        while (index--) {
          args[index] = arguments[index];
        }
        if (isCurried) {
          var placeholder = getHolder(wrapper),
              holdersCount = countHolders(args, placeholder);
        }
        if (partials) {
          args = composeArgs(args, partials, holders, isCurried);
        }
        if (partialsRight) {
          args = composeArgsRight(args, partialsRight, holdersRight, isCurried);
        }
        length -= holdersCount;
        if (isCurried && length < arity) {
          var newHolders = replaceHolders(args, placeholder);
          return createRecurry(
            func, bitmask, createHybrid, wrapper.placeholder, thisArg,
            args, newHolders, argPos, ary, arity - length
          );
        }
        var thisBinding = isBind ? thisArg : this,
            fn = isBindKey ? thisBinding[func] : func;

        length = args.length;
        if (argPos) {
          args = reorder(args, argPos);
        } else if (isFlip && length > 1) {
          args.reverse();
        }
        if (isAry && ary < length) {
          args.length = ary;
        }
        if (this && this !== root && this instanceof wrapper) {
          fn = Ctor || createCtor(fn);
        }
        return fn.apply(thisBinding, args);
      }
      return wrapper;
    }

    /**
     * Creates a function like `_.invertBy`.
     *
     * @private
     * @param {Function} setter The function to set accumulator values.
     * @param {Function} toIteratee The function to resolve iteratees.
     * @returns {Function} Returns the new inverter function.
     */
    function createInverter(setter, toIteratee) {
      return function(object, iteratee) {
        return baseInverter(object, setter, toIteratee(iteratee), {});
      };
    }

    /**
     * Creates a function that performs a mathematical operation on two values.
     *
     * @private
     * @param {Function} operator The function to perform the operation.
     * @param {number} [defaultValue] The value used for `undefined` arguments.
     * @returns {Function} Returns the new mathematical operation function.
     */
    function createMathOperation(operator, defaultValue) {
      return function(value, other) {
        var result;
        if (value === undefined && other === undefined) {
          return defaultValue;
        }
        if (value !== undefined) {
          result = value;
        }
        if (other !== undefined) {
          if (result === undefined) {
            return other;
          }
          if (typeof value == 'string' || typeof other == 'string') {
            value = baseToString(value);
            other = baseToString(other);
          } else {
            value = baseToNumber(value);
            other = baseToNumber(other);
          }
          result = operator(value, other);
        }
        return result;
      };
    }

    /**
     * Creates a function like `_.over`.
     *
     * @private
     * @param {Function} arrayFunc The function to iterate over iteratees.
     * @returns {Function} Returns the new over function.
     */
    function createOver(arrayFunc) {
      return flatRest(function(iteratees) {
        iteratees = arrayMap(iteratees, baseUnary(getIteratee()));
        return baseRest(function(args) {
          var thisArg = this;
          return arrayFunc(iteratees, function(iteratee) {
            return apply(iteratee, thisArg, args);
          });
        });
      });
    }

    /**
     * Creates the padding for `string` based on `length`. The `chars` string
     * is truncated if the number of characters exceeds `length`.
     *
     * @private
     * @param {number} length The padding length.
     * @param {string} [chars=' '] The string used as padding.
     * @returns {string} Returns the padding for `string`.
     */
    function createPadding(length, chars) {
      chars = chars === undefined ? ' ' : baseToString(chars);

      var charsLength = chars.length;
      if (charsLength < 2) {
        return charsLength ? baseRepeat(chars, length) : chars;
      }
      var result = baseRepeat(chars, nativeCeil(length / stringSize(chars)));
      return hasUnicode(chars)
        ? castSlice(stringToArray(result), 0, length).join('')
        : result.slice(0, length);
    }

    /**
     * Creates a function that wraps `func` to invoke it with the `this` binding
     * of `thisArg` and `partials` prepended to the arguments it receives.
     *
     * @private
     * @param {Function} func The function to wrap.
     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.
     * @param {*} thisArg The `this` binding of `func`.
     * @param {Array} partials The arguments to prepend to those provided to
     *  the new function.
     * @returns {Function} Returns the new wrapped function.
     */
    function createPartial(func, bitmask, thisArg, partials) {
      var isBind = bitmask & WRAP_BIND_FLAG,
          Ctor = createCtor(func);

      function wrapper() {
        var argsIndex = -1,
            argsLength = arguments.length,
            leftIndex = -1,
            leftLength = partials.length,
            args = Array(leftLength + argsLength),
            fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;

        while (++leftIndex < leftLength) {
          args[leftIndex] = partials[leftIndex];
        }
        while (argsLength--) {
          args[leftIndex++] = arguments[++argsIndex];
        }
        return apply(fn, isBind ? thisArg : this, args);
      }
      return wrapper;
    }

    /**
     * Creates a `_.range` or `_.rangeRight` function.
     *
     * @private
     * @param {boolean} [fromRight] Specify iterating from right to left.
     * @returns {Function} Returns the new range function.
     */
    function createRange(fromRight) {
      return function(start, end, step) {
        if (step && typeof step != 'number' && isIterateeCall(start, end, step)) {
          end = step = undefined;
        }
        // Ensure the sign of `-0` is preserved.
        start = toFinite(start);
        if (end === undefined) {
          end = start;
          start = 0;
        } else {
          end = toFinite(end);
        }
        step = step === undefined ? (start < end ? 1 : -1) : toFinite(step);
        return baseRange(start, end, step, fromRight);
      };
    }

    /**
     * Creates a function that performs a relational operation on two values.
     *
     * @private
     * @param {Function} operator The function to perform the operation.
     * @returns {Function} Returns the new relational operation function.
     */
    function createRelationalOperation(operator) {
      return function(value, other) {
        if (!(typeof value == 'string' && typeof other == 'string')) {
          value = toNumber(value);
          other = toNumber(other);
        }
        return operator(value, other);
      };
    }

    /**
     * Creates a function that wraps `func` to continue currying.
     *
     * @private
     * @param {Function} func The function to wrap.
     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.
     * @param {Function} wrapFunc The function to create the `func` wrapper.
     * @param {*} placeholder The placeholder value.
     * @param {*} [thisArg] The `this` binding of `func`.
     * @param {Array} [partials] The arguments to prepend to those provided to
     *  the new function.
     * @param {Array} [holders] The `partials` placeholder indexes.
     * @param {Array} [argPos] The argument positions of the new function.
     * @param {number} [ary] The arity cap of `func`.
     * @param {number} [arity] The arity of `func`.
     * @returns {Function} Returns the new wrapped function.
     */
    function createRecurry(func, bitmask, wrapFunc, placeholder, thisArg, partials, holders, argPos, ary, arity) {
      var isCurry = bitmask & WRAP_CURRY_FLAG,
          newHolders = isCurry ? holders : undefined,
          newHoldersRight = isCurry ? undefined : holders,
          newPartials = isCurry ? partials : undefined,
          newPartialsRight = isCurry ? undefined : partials;

      bitmask |= (isCurry ? WRAP_PARTIAL_FLAG : WRAP_PARTIAL_RIGHT_FLAG);
      bitmask &= ~(isCurry ? WRAP_PARTIAL_RIGHT_FLAG : WRAP_PARTIAL_FLAG);

      if (!(bitmask & WRAP_CURRY_BOUND_FLAG)) {
        bitmask &= ~(WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG);
      }
      var newData = [
        func, bitmask, thisArg, newPartials, newHolders, newPartialsRight,
        newHoldersRight, argPos, ary, arity
      ];

      var result = wrapFunc.apply(undefined, newData);
      if (isLaziable(func)) {
        setData(result, newData);
      }
      result.placeholder = placeholder;
      return setWrapToString(result, func, bitmask);
    }

    /**
     * Creates a function like `_.round`.
     *
     * @private
     * @param {string} methodName The name of the `Math` method to use when rounding.
     * @returns {Function} Returns the new round function.
     */
    function createRound(methodName) {
      var func = Math[methodName];
      return function(number, precision) {
        number = toNumber(number);
        precision = precision == null ? 0 : nativeMin(toInteger(precision), 292);
        if (precision && nativeIsFinite(number)) {
          // Shift with exponential notation to avoid floating-point issues.
          // See [MDN](https://mdn.io/round#Examples) for more details.
          var pair = (toString(number) + 'e').split('e'),
              value = func(pair[0] + 'e' + (+pair[1] + precision));

          pair = (toString(value) + 'e').split('e');
          return +(pair[0] + 'e' + (+pair[1] - precision));
        }
        return func(number);
      };
    }

    /**
     * Creates a set object of `values`.
     *
     * @private
     * @param {Array} values The values to add to the set.
     * @returns {Object} Returns the new set.
     */
    var createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) {
      return new Set(values);
    };

    /**
     * Creates a `_.toPairs` or `_.toPairsIn` function.
     *
     * @private
     * @param {Function} keysFunc The function to get the keys of a given object.
     * @returns {Function} Returns the new pairs function.
     */
    function createToPairs(keysFunc) {
      return function(object) {
        var tag = getTag(object);
        if (tag == mapTag) {
          return mapToArray(object);
        }
        if (tag == setTag) {
          return setToPairs(object);
        }
        return baseToPairs(object, keysFunc(object));
      };
    }

    /**
     * Creates a function that either curries or invokes `func` with optional
     * `this` binding and partially applied arguments.
     *
     * @private
     * @param {Function|string} func The function or method name to wrap.
     * @param {number} bitmask The bitmask flags.
     *    1 - `_.bind`
     *    2 - `_.bindKey`
     *    4 - `_.curry` or `_.curryRight` of a bound function
     *    8 - `_.curry`
     *   16 - `_.curryRight`
     *   32 - `_.partial`
     *   64 - `_.partialRight`
     *  128 - `_.rearg`
     *  256 - `_.ary`
     *  512 - `_.flip`
     * @param {*} [thisArg] The `this` binding of `func`.
     * @param {Array} [partials] The arguments to be partially applied.
     * @param {Array} [holders] The `partials` placeholder indexes.
     * @param {Array} [argPos] The argument positions of the new function.
     * @param {number} [ary] The arity cap of `func`.
     * @param {number} [arity] The arity of `func`.
     * @returns {Function} Returns the new wrapped function.
     */
    function createWrap(func, bitmask, thisArg, partials, holders, argPos, ary, arity) {
      var isBindKey = bitmask & WRAP_BIND_KEY_FLAG;
      if (!isBindKey && typeof func != 'function') {
        throw new TypeError(FUNC_ERROR_TEXT);
      }
      var length = partials ? partials.length : 0;
      if (!length) {
        bitmask &= ~(WRAP_PARTIAL_FLAG | WRAP_PARTIAL_RIGHT_FLAG);
        partials = holders = undefined;
      }
      ary = ary === undefined ? ary : nativeMax(toInteger(ary), 0);
      arity = arity === undefined ? arity : toInteger(arity);
      length -= holders ? holders.length : 0;

      if (bitmask & WRAP_PARTIAL_RIGHT_FLAG) {
        var partialsRight = partials,
            holdersRight = holders;

        partials = holders = undefined;
      }
      var data = isBindKey ? undefined : getData(func);

      var newData = [
        func, bitmask, thisArg, partials, holders, partialsRight, holdersRight,
        argPos, ary, arity
      ];

      if (data) {
        mergeData(newData, data);
      }
      func = newData[0];
      bitmask = newData[1];
      thisArg = newData[2];
      partials = newData[3];
      holders = newData[4];
      arity = newData[9] = newData[9] === undefined
        ? (isBindKey ? 0 : func.length)
        : nativeMax(newData[9] - length, 0);

      if (!arity && bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG)) {
        bitmask &= ~(WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG);
      }
      if (!bitmask || bitmask == WRAP_BIND_FLAG) {
        var result = createBind(func, bitmask, thisArg);
      } else if (bitmask == WRAP_CURRY_FLAG || bitmask == WRAP_CURRY_RIGHT_FLAG) {
        result = createCurry(func, bitmask, arity);
      } else if ((bitmask == WRAP_PARTIAL_FLAG || bitmask == (WRAP_BIND_FLAG | WRAP_PARTIAL_FLAG)) && !holders.length) {
        result = createPartial(func, bitmask, thisArg, partials);
      } else {
        result = createHybrid.apply(undefined, newData);
      }
      var setter = data ? baseSetData : setData;
      return setWrapToString(setter(result, newData), func, bitmask);
    }

    /**
     * Used by `_.defaults` to customize its `_.assignIn` use to assign properties
     * of source objects to the destination object for all destination properties
     * that resolve to `undefined`.
     *
     * @private
     * @param {*} objValue The destination value.
     * @param {*} srcValue The source value.
     * @param {string} key The key of the property to assign.
     * @param {Object} object The parent object of `objValue`.
     * @returns {*} Returns the value to assign.
     */
    function customDefaultsAssignIn(objValue, srcValue, key, object) {
      if (objValue === undefined ||
          (eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key))) {
        return srcValue;
      }
      return objValue;
    }

    /**
     * Used by `_.defaultsDeep` to customize its `_.merge` use to merge source
     * objects into destination objects that are passed thru.
     *
     * @private
     * @param {*} objValue The destination value.
     * @param {*} srcValue The source value.
     * @param {string} key The key of the property to merge.
     * @param {Object} object The parent object of `objValue`.
     * @param {Object} source The parent object of `srcValue`.
     * @param {Object} [stack] Tracks traversed source values and their merged
     *  counterparts.
     * @returns {*} Returns the value to assign.
     */
    function customDefaultsMerge(objValue, srcValue, key, object, source, stack) {
      if (isObject(objValue) && isObject(srcValue)) {
        // Recursively merge objects and arrays (susceptible to call stack limits).
        stack.set(srcValue, objValue);
        baseMerge(objValue, srcValue, undefined, customDefaultsMerge, stack);
        stack['delete'](srcValue);
      }
      return objValue;
    }

    /**
     * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain
     * objects.
     *
     * @private
     * @param {*} value The value to inspect.
     * @param {string} key The key of the property to inspect.
     * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.
     */
    function customOmitClone(value) {
      return isPlainObject(value) ? undefined : value;
    }

    /**
     * A specialized version of `baseIsEqualDeep` for arrays with support for
     * partial deep comparisons.
     *
     * @private
     * @param {Array} array The array to compare.
     * @param {Array} other The other array to compare.
     * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
     * @param {Function} customizer The function to customize comparisons.
     * @param {Function} equalFunc The function to determine equivalents of values.
     * @param {Object} stack Tracks traversed `array` and `other` objects.
     * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.
     */
    function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
      var isPartial = bitmask & COMPARE_PARTIAL_FLAG,
          arrLength = array.length,
          othLength = other.length;

      if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
        return false;
      }
      // Check that cyclic values are equal.
      var arrStacked = stack.get(array);
      var othStacked = stack.get(other);
      if (arrStacked && othStacked) {
        return arrStacked == other && othStacked == array;
      }
      var index = -1,
          result = true,
          seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;

      stack.set(array, other);
      stack.set(other, array);

      // Ignore non-index properties.
      while (++index < arrLength) {
        var arrValue = array[index],
            othValue = other[index];

        if (customizer) {
          var compared = isPartial
            ? customizer(othValue, arrValue, index, other, array, stack)
            : customizer(arrValue, othValue, index, array, other, stack);
        }
        if (compared !== undefined) {
          if (compared) {
            continue;
          }
          result = false;
          break;
        }
        // Recursively compare arrays (susceptible to call stack limits).
        if (seen) {
          if (!arraySome(other, function(othValue, othIndex) {
                if (!cacheHas(seen, othIndex) &&
                    (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
                  return seen.push(othIndex);
                }
              })) {
            result = false;
            break;
          }
        } else if (!(
              arrValue === othValue ||
                equalFunc(arrValue, othValue, bitmask, customizer, stack)
            )) {
          result = false;
          break;
        }
      }
      stack['delete'](array);
      stack['delete'](other);
      return result;
    }

    /**
     * A specialized version of `baseIsEqualDeep` for comparing objects of
     * the same `toStringTag`.
     *
     * **Note:** This function only supports comparing values with tags of
     * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
     *
     * @private
     * @param {Object} object The object to compare.
     * @param {Object} other The other object to compare.
     * @param {string} tag The `toStringTag` of the objects to compare.
     * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
     * @param {Function} customizer The function to customize comparisons.
     * @param {Function} equalFunc The function to determine equivalents of values.
     * @param {Object} stack Tracks traversed `object` and `other` objects.
     * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
     */
    function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
      switch (tag) {
        case dataViewTag:
          if ((object.byteLength != other.byteLength) ||
              (object.byteOffset != other.byteOffset)) {
            return false;
          }
          object = object.buffer;
          other = other.buffer;

        case arrayBufferTag:
          if ((object.byteLength != other.byteLength) ||
              !equalFunc(new Uint8Array(object), new Uint8Array(other))) {
            return false;
          }
          return true;

        case boolTag:
        case dateTag:
        case numberTag:
          // Coerce booleans to `1` or `0` and dates to milliseconds.
          // Invalid dates are coerced to `NaN`.
          return eq(+object, +other);

        case errorTag:
          return object.name == other.name && object.message == other.message;

        case regexpTag:
        case stringTag:
          // Coerce regexes to strings and treat strings, primitives and objects,
          // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring
          // for more details.
          return object == (other + '');

        case mapTag:
          var convert = mapToArray;

        case setTag:
          var isPartial = bitmask & COMPARE_PARTIAL_FLAG;
          convert || (convert = setToArray);

          if (object.size != other.size && !isPartial) {
            return false;
          }
          // Assume cyclic values are equal.
          var stacked = stack.get(object);
          if (stacked) {
            return stacked == other;
          }
          bitmask |= COMPARE_UNORDERED_FLAG;

          // Recursively compare objects (susceptible to call stack limits).
          stack.set(object, other);
          var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
          stack['delete'](object);
          return result;

        case symbolTag:
          if (symbolValueOf) {
            return symbolValueOf.call(object) == symbolValueOf.call(other);
          }
      }
      return false;
    }

    /**
     * A specialized version of `baseIsEqualDeep` for objects with support for
     * partial deep comparisons.
     *
     * @private
     * @param {Object} object The object to compare.
     * @param {Object} other The other object to compare.
     * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
     * @param {Function} customizer The function to customize comparisons.
     * @param {Function} equalFunc The function to determine equivalents of values.
     * @param {Object} stack Tracks traversed `object` and `other` objects.
     * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
     */
    function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
      var isPartial = bitmask & COMPARE_PARTIAL_FLAG,
          objProps = getAllKeys(object),
          objLength = objProps.length,
          othProps = getAllKeys(other),
          othLength = othProps.length;

      if (objLength != othLength && !isPartial) {
        return false;
      }
      var index = objLength;
      while (index--) {
        var key = objProps[index];
        if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {
          return false;
        }
      }
      // Check that cyclic values are equal.
      var objStacked = stack.get(object);
      var othStacked = stack.get(other);
      if (objStacked && othStacked) {
        return objStacked == other && othStacked == object;
      }
      var result = true;
      stack.set(object, other);
      stack.set(other, object);

      var skipCtor = isPartial;
      while (++index < objLength) {
        key = objProps[index];
        var objValue = object[key],
            othValue = other[key];

        if (customizer) {
          var compared = isPartial
            ? customizer(othValue, objValue, key, other, object, stack)
            : customizer(objValue, othValue, key, object, other, stack);
        }
        // Recursively compare objects (susceptible to call stack limits).
        if (!(compared === undefined
              ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))
              : compared
            )) {
          result = false;
          break;
        }
        skipCtor || (skipCtor = key == 'constructor');
      }
      if (result && !skipCtor) {
        var objCtor = object.constructor,
            othCtor = other.constructor;

        // Non `Object` object instances with different constructors are not equal.
        if (objCtor != othCtor &&
            ('constructor' in object && 'constructor' in other) &&
            !(typeof objCtor == 'function' && objCtor instanceof objCtor &&
              typeof othCtor == 'function' && othCtor instanceof othCtor)) {
          result = false;
        }
      }
      stack['delete'](object);
      stack['delete'](other);
      return result;
    }

    /**
     * A specialized version of `baseRest` which flattens the rest array.
     *
     * @private
     * @param {Function} func The function to apply a rest parameter to.
     * @returns {Function} Returns the new function.
     */
    function flatRest(func) {
      return setToString(overRest(func, undefined, flatten), func + '');
    }

    /**
     * Creates an array of own enumerable property names and symbols of `object`.
     *
     * @private
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of property names and symbols.
     */
    function getAllKeys(object) {
      return baseGetAllKeys(object, keys, getSymbols);
    }

    /**
     * Creates an array of own and inherited enumerable property names and
     * symbols of `object`.
     *
     * @private
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of property names and symbols.
     */
    function getAllKeysIn(object) {
      return baseGetAllKeys(object, keysIn, getSymbolsIn);
    }

    /**
     * Gets metadata for `func`.
     *
     * @private
     * @param {Function} func The function to query.
     * @returns {*} Returns the metadata for `func`.
     */
    var getData = !metaMap ? noop : function(func) {
      return metaMap.get(func);
    };

    /**
     * Gets the name of `func`.
     *
     * @private
     * @param {Function} func The function to query.
     * @returns {string} Returns the function name.
     */
    function getFuncName(func) {
      var result = (func.name + ''),
          array = realNames[result],
          length = hasOwnProperty.call(realNames, result) ? array.length : 0;

      while (length--) {
        var data = array[length],
            otherFunc = data.func;
        if (otherFunc == null || otherFunc == func) {
          return data.name;
        }
      }
      return result;
    }

    /**
     * Gets the argument placeholder value for `func`.
     *
     * @private
     * @param {Function} func The function to inspect.
     * @returns {*} Returns the placeholder value.
     */
    function getHolder(func) {
      var object = hasOwnProperty.call(lodash, 'placeholder') ? lodash : func;
      return object.placeholder;
    }

    /**
     * Gets the appropriate "iteratee" function. If `_.iteratee` is customized,
     * this function returns the custom method, otherwise it returns `baseIteratee`.
     * If arguments are provided, the chosen function is invoked with them and
     * its result is returned.
     *
     * @private
     * @param {*} [value] The value to convert to an iteratee.
     * @param {number} [arity] The arity of the created iteratee.
     * @returns {Function} Returns the chosen function or its result.
     */
    function getIteratee() {
      var result = lodash.iteratee || iteratee;
      result = result === iteratee ? baseIteratee : result;
      return arguments.length ? result(arguments[0], arguments[1]) : result;
    }

    /**
     * Gets the data for `map`.
     *
     * @private
     * @param {Object} map The map to query.
     * @param {string} key The reference key.
     * @returns {*} Returns the map data.
     */
    function getMapData(map, key) {
      var data = map.__data__;
      return isKeyable(key)
        ? data[typeof key == 'string' ? 'string' : 'hash']
        : data.map;
    }

    /**
     * Gets the property names, values, and compare flags of `object`.
     *
     * @private
     * @param {Object} object The object to query.
     * @returns {Array} Returns the match data of `object`.
     */
    function getMatchData(object) {
      var result = keys(object),
          length = result.length;

      while (length--) {
        var key = result[length],
            value = object[key];

        result[length] = [key, value, isStrictComparable(value)];
      }
      return result;
    }

    /**
     * Gets the native function at `key` of `object`.
     *
     * @private
     * @param {Object} object The object to query.
     * @param {string} key The key of the method to get.
     * @returns {*} Returns the function if it's native, else `undefined`.
     */
    function getNative(object, key) {
      var value = getValue(object, key);
      return baseIsNative(value) ? value : undefined;
    }

    /**
     * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
     *
     * @private
     * @param {*} value The value to query.
     * @returns {string} Returns the raw `toStringTag`.
     */
    function getRawTag(value) {
      var isOwn = hasOwnProperty.call(value, symToStringTag),
          tag = value[symToStringTag];

      try {
        value[symToStringTag] = undefined;
        var unmasked = true;
      } catch (e) {}

      var result = nativeObjectToString.call(value);
      if (unmasked) {
        if (isOwn) {
          value[symToStringTag] = tag;
        } else {
          delete value[symToStringTag];
        }
      }
      return result;
    }

    /**
     * Creates an array of the own enumerable symbols of `object`.
     *
     * @private
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of symbols.
     */
    var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
      if (object == null) {
        return [];
      }
      object = Object(object);
      return arrayFilter(nativeGetSymbols(object), function(symbol) {
        return propertyIsEnumerable.call(object, symbol);
      });
    };

    /**
     * Creates an array of the own and inherited enumerable symbols of `object`.
     *
     * @private
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of symbols.
     */
    var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {
      var result = [];
      while (object) {
        arrayPush(result, getSymbols(object));
        object = getPrototype(object);
      }
      return result;
    };

    /**
     * Gets the `toStringTag` of `value`.
     *
     * @private
     * @param {*} value The value to query.
     * @returns {string} Returns the `toStringTag`.
     */
    var getTag = baseGetTag;

    // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
    if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
        (Map && getTag(new Map) != mapTag) ||
        (Promise && getTag(Promise.resolve()) != promiseTag) ||
        (Set && getTag(new Set) != setTag) ||
        (WeakMap && getTag(new WeakMap) != weakMapTag)) {
      getTag = function(value) {
        var result = baseGetTag(value),
            Ctor = result == objectTag ? value.constructor : undefined,
            ctorString = Ctor ? toSource(Ctor) : '';

        if (ctorString) {
          switch (ctorString) {
            case dataViewCtorString: return dataViewTag;
            case mapCtorString: return mapTag;
            case promiseCtorString: return promiseTag;
            case setCtorString: return setTag;
            case weakMapCtorString: return weakMapTag;
          }
        }
        return result;
      };
    }

    /**
     * Gets the view, applying any `transforms` to the `start` and `end` positions.
     *
     * @private
     * @param {number} start The start of the view.
     * @param {number} end The end of the view.
     * @param {Array} transforms The transformations to apply to the view.
     * @returns {Object} Returns an object containing the `start` and `end`
     *  positions of the view.
     */
    function getView(start, end, transforms) {
      var index = -1,
          length = transforms.length;

      while (++index < length) {
        var data = transforms[index],
            size = data.size;

        switch (data.type) {
          case 'drop':      start += size; break;
          case 'dropRight': end -= size; break;
          case 'take':      end = nativeMin(end, start + size); break;
          case 'takeRight': start = nativeMax(start, end - size); break;
        }
      }
      return { 'start': start, 'end': end };
    }

    /**
     * Extracts wrapper details from the `source` body comment.
     *
     * @private
     * @param {string} source The source to inspect.
     * @returns {Array} Returns the wrapper details.
     */
    function getWrapDetails(source) {
      var match = source.match(reWrapDetails);
      return match ? match[1].split(reSplitDetails) : [];
    }

    /**
     * Checks if `path` exists on `object`.
     *
     * @private
     * @param {Object} object The object to query.
     * @param {Array|string} path The path to check.
     * @param {Function} hasFunc The function to check properties.
     * @returns {boolean} Returns `true` if `path` exists, else `false`.
     */
    function hasPath(object, path, hasFunc) {
      path = castPath(path, object);

      var index = -1,
          length = path.length,
          result = false;

      while (++index < length) {
        var key = toKey(path[index]);
        if (!(result = object != null && hasFunc(object, key))) {
          break;
        }
        object = object[key];
      }
      if (result || ++index != length) {
        return result;
      }
      length = object == null ? 0 : object.length;
      return !!length && isLength(length) && isIndex(key, length) &&
        (isArray(object) || isArguments(object));
    }

    /**
     * Initializes an array clone.
     *
     * @private
     * @param {Array} array The array to clone.
     * @returns {Array} Returns the initialized clone.
     */
    function initCloneArray(array) {
      var length = array.length,
          result = new array.constructor(length);

      // Add properties assigned by `RegExp#exec`.
      if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {
        result.index = array.index;
        result.input = array.input;
      }
      return result;
    }

    /**
     * Initializes an object clone.
     *
     * @private
     * @param {Object} object The object to clone.
     * @returns {Object} Returns the initialized clone.
     */
    function initCloneObject(object) {
      return (typeof object.constructor == 'function' && !isPrototype(object))
        ? baseCreate(getPrototype(object))
        : {};
    }

    /**
     * Initializes an object clone based on its `toStringTag`.
     *
     * **Note:** This function only supports cloning values with tags of
     * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.
     *
     * @private
     * @param {Object} object The object to clone.
     * @param {string} tag The `toStringTag` of the object to clone.
     * @param {boolean} [isDeep] Specify a deep clone.
     * @returns {Object} Returns the initialized clone.
     */
    function initCloneByTag(object, tag, isDeep) {
      var Ctor = object.constructor;
      switch (tag) {
        case arrayBufferTag:
          return cloneArrayBuffer(object);

        case boolTag:
        case dateTag:
          return new Ctor(+object);

        case dataViewTag:
          return cloneDataView(object, isDeep);

        case float32Tag: case float64Tag:
        case int8Tag: case int16Tag: case int32Tag:
        case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:
          return cloneTypedArray(object, isDeep);

        case mapTag:
          return new Ctor;

        case numberTag:
        case stringTag:
          return new Ctor(object);

        case regexpTag:
          return cloneRegExp(object);

        case setTag:
          return new Ctor;

        case symbolTag:
          return cloneSymbol(object);
      }
    }

    /**
     * Inserts wrapper `details` in a comment at the top of the `source` body.
     *
     * @private
     * @param {string} source The source to modify.
     * @returns {Array} details The details to insert.
     * @returns {string} Returns the modified source.
     */
    function insertWrapDetails(source, details) {
      var length = details.length;
      if (!length) {
        return source;
      }
      var lastIndex = length - 1;
      details[lastIndex] = (length > 1 ? '& ' : '') + details[lastIndex];
      details = details.join(length > 2 ? ', ' : ' ');
      return source.replace(reWrapComment, '{\n/* [wrapped with ' + details + '] */\n');
    }

    /**
     * Checks if `value` is a flattenable `arguments` object or array.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.
     */
    function isFlattenable(value) {
      return isArray(value) || isArguments(value) ||
        !!(spreadableSymbol && value && value[spreadableSymbol]);
    }

    /**
     * Checks if `value` is a valid array-like index.
     *
     * @private
     * @param {*} value The value to check.
     * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
     * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
     */
    function isIndex(value, length) {
      var type = typeof value;
      length = length == null ? MAX_SAFE_INTEGER : length;

      return !!length &&
        (type == 'number' ||
          (type != 'symbol' && reIsUint.test(value))) &&
            (value > -1 && value % 1 == 0 && value < length);
    }

    /**
     * Checks if the given arguments are from an iteratee call.
     *
     * @private
     * @param {*} value The potential iteratee value argument.
     * @param {*} index The potential iteratee index or key argument.
     * @param {*} object The potential iteratee object argument.
     * @returns {boolean} Returns `true` if the arguments are from an iteratee call,
     *  else `false`.
     */
    function isIterateeCall(value, index, object) {
      if (!isObject(object)) {
        return false;
      }
      var type = typeof index;
      if (type == 'number'
            ? (isArrayLike(object) && isIndex(index, object.length))
            : (type == 'string' && index in object)
          ) {
        return eq(object[index], value);
      }
      return false;
    }

    /**
     * Checks if `value` is a property name and not a property path.
     *
     * @private
     * @param {*} value The value to check.
     * @param {Object} [object] The object to query keys on.
     * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
     */
    function isKey(value, object) {
      if (isArray(value)) {
        return false;
      }
      var type = typeof value;
      if (type == 'number' || type == 'symbol' || type == 'boolean' ||
          value == null || isSymbol(value)) {
        return true;
      }
      return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||
        (object != null && value in Object(object));
    }

    /**
     * Checks if `value` is suitable for use as unique object key.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
     */
    function isKeyable(value) {
      var type = typeof value;
      return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
        ? (value !== '__proto__')
        : (value === null);
    }

    /**
     * Checks if `func` has a lazy counterpart.
     *
     * @private
     * @param {Function} func The function to check.
     * @returns {boolean} Returns `true` if `func` has a lazy counterpart,
     *  else `false`.
     */
    function isLaziable(func) {
      var funcName = getFuncName(func),
          other = lodash[funcName];

      if (typeof other != 'function' || !(funcName in LazyWrapper.prototype)) {
        return false;
      }
      if (func === other) {
        return true;
      }
      var data = getData(other);
      return !!data && func === data[0];
    }

    /**
     * Checks if `func` has its source masked.
     *
     * @private
     * @param {Function} func The function to check.
     * @returns {boolean} Returns `true` if `func` is masked, else `false`.
     */
    function isMasked(func) {
      return !!maskSrcKey && (maskSrcKey in func);
    }

    /**
     * Checks if `func` is capable of being masked.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `func` is maskable, else `false`.
     */
    var isMaskable = coreJsData ? isFunction : stubFalse;

    /**
     * Checks if `value` is likely a prototype object.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
     */
    function isPrototype(value) {
      var Ctor = value && value.constructor,
          proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;

      return value === proto;
    }

    /**
     * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` if suitable for strict
     *  equality comparisons, else `false`.
     */
    function isStrictComparable(value) {
      return value === value && !isObject(value);
    }

    /**
     * A specialized version of `matchesProperty` for source values suitable
     * for strict equality comparisons, i.e. `===`.
     *
     * @private
     * @param {string} key The key of the property to get.
     * @param {*} srcValue The value to match.
     * @returns {Function} Returns the new spec function.
     */
    function matchesStrictComparable(key, srcValue) {
      return function(object) {
        if (object == null) {
          return false;
        }
        return object[key] === srcValue &&
          (srcValue !== undefined || (key in Object(object)));
      };
    }

    /**
     * A specialized version of `_.memoize` which clears the memoized function's
     * cache when it exceeds `MAX_MEMOIZE_SIZE`.
     *
     * @private
     * @param {Function} func The function to have its output memoized.
     * @returns {Function} Returns the new memoized function.
     */
    function memoizeCapped(func) {
      var result = memoize(func, function(key) {
        if (cache.size === MAX_MEMOIZE_SIZE) {
          cache.clear();
        }
        return key;
      });

      var cache = result.cache;
      return result;
    }

    /**
     * Merges the function metadata of `source` into `data`.
     *
     * Merging metadata reduces the number of wrappers used to invoke a function.
     * This is possible because methods like `_.bind`, `_.curry`, and `_.partial`
     * may be applied regardless of execution order. Methods like `_.ary` and
     * `_.rearg` modify function arguments, making the order in which they are
     * executed important, preventing the merging of metadata. However, we make
     * an exception for a safe combined case where curried functions have `_.ary`
     * and or `_.rearg` applied.
     *
     * @private
     * @param {Array} data The destination metadata.
     * @param {Array} source The source metadata.
     * @returns {Array} Returns `data`.
     */
    function mergeData(data, source) {
      var bitmask = data[1],
          srcBitmask = source[1],
          newBitmask = bitmask | srcBitmask,
          isCommon = newBitmask < (WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG | WRAP_ARY_FLAG);

      var isCombo =
        ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_CURRY_FLAG)) ||
        ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_REARG_FLAG) && (data[7].length <= source[8])) ||
        ((srcBitmask == (WRAP_ARY_FLAG | WRAP_REARG_FLAG)) && (source[7].length <= source[8]) && (bitmask == WRAP_CURRY_FLAG));

      // Exit early if metadata can't be merged.
      if (!(isCommon || isCombo)) {
        return data;
      }
      // Use source `thisArg` if available.
      if (srcBitmask & WRAP_BIND_FLAG) {
        data[2] = source[2];
        // Set when currying a bound function.
        newBitmask |= bitmask & WRAP_BIND_FLAG ? 0 : WRAP_CURRY_BOUND_FLAG;
      }
      // Compose partial arguments.
      var value = source[3];
      if (value) {
        var partials = data[3];
        data[3] = partials ? composeArgs(partials, value, source[4]) : value;
        data[4] = partials ? replaceHolders(data[3], PLACEHOLDER) : source[4];
      }
      // Compose partial right arguments.
      value = source[5];
      if (value) {
        partials = data[5];
        data[5] = partials ? composeArgsRight(partials, value, source[6]) : value;
        data[6] = partials ? replaceHolders(data[5], PLACEHOLDER) : source[6];
      }
      // Use source `argPos` if available.
      value = source[7];
      if (value) {
        data[7] = value;
      }
      // Use source `ary` if it's smaller.
      if (srcBitmask & WRAP_ARY_FLAG) {
        data[8] = data[8] == null ? source[8] : nativeMin(data[8], source[8]);
      }
      // Use source `arity` if one is not provided.
      if (data[9] == null) {
        data[9] = source[9];
      }
      // Use source `func` and merge bitmasks.
      data[0] = source[0];
      data[1] = newBitmask;

      return data;
    }

    /**
     * This function is like
     * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
     * except that it includes inherited enumerable properties.
     *
     * @private
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of property names.
     */
    function nativeKeysIn(object) {
      var result = [];
      if (object != null) {
        for (var key in Object(object)) {
          result.push(key);
        }
      }
      return result;
    }

    /**
     * Converts `value` to a string using `Object.prototype.toString`.
     *
     * @private
     * @param {*} value The value to convert.
     * @returns {string} Returns the converted string.
     */
    function objectToString(value) {
      return nativeObjectToString.call(value);
    }

    /**
     * A specialized version of `baseRest` which transforms the rest array.
     *
     * @private
     * @param {Function} func The function to apply a rest parameter to.
     * @param {number} [start=func.length-1] The start position of the rest parameter.
     * @param {Function} transform The rest array transform.
     * @returns {Function} Returns the new function.
     */
    function overRest(func, start, transform) {
      start = nativeMax(start === undefined ? (func.length - 1) : start, 0);
      return function() {
        var args = arguments,
            index = -1,
            length = nativeMax(args.length - start, 0),
            array = Array(length);

        while (++index < length) {
          array[index] = args[start + index];
        }
        index = -1;
        var otherArgs = Array(start + 1);
        while (++index < start) {
          otherArgs[index] = args[index];
        }
        otherArgs[start] = transform(array);
        return apply(func, this, otherArgs);
      };
    }

    /**
     * Gets the parent value at `path` of `object`.
     *
     * @private
     * @param {Object} object The object to query.
     * @param {Array} path The path to get the parent value of.
     * @returns {*} Returns the parent value.
     */
    function parent(object, path) {
      return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));
    }

    /**
     * Reorder `array` according to the specified indexes where the element at
     * the first index is assigned as the first element, the element at
     * the second index is assigned as the second element, and so on.
     *
     * @private
     * @param {Array} array The array to reorder.
     * @param {Array} indexes The arranged array indexes.
     * @returns {Array} Returns `array`.
     */
    function reorder(array, indexes) {
      var arrLength = array.length,
          length = nativeMin(indexes.length, arrLength),
          oldArray = copyArray(array);

      while (length--) {
        var index = indexes[length];
        array[length] = isIndex(index, arrLength) ? oldArray[index] : undefined;
      }
      return array;
    }

    /**
     * Gets the value at `key`, unless `key` is "__proto__" or "constructor".
     *
     * @private
     * @param {Object} object The object to query.
     * @param {string} key The key of the property to get.
     * @returns {*} Returns the property value.
     */
    function safeGet(object, key) {
      if (key === 'constructor' && typeof object[key] === 'function') {
        return;
      }

      if (key == '__proto__') {
        return;
      }

      return object[key];
    }

    /**
     * Sets metadata for `func`.
     *
     * **Note:** If this function becomes hot, i.e. is invoked a lot in a short
     * period of time, it will trip its breaker and transition to an identity
     * function to avoid garbage collection pauses in V8. See
     * [V8 issue 2070](https://bugs.chromium.org/p/v8/issues/detail?id=2070)
     * for more details.
     *
     * @private
     * @param {Function} func The function to associate metadata with.
     * @param {*} data The metadata.
     * @returns {Function} Returns `func`.
     */
    var setData = shortOut(baseSetData);

    /**
     * A simple wrapper around the global [`setTimeout`](https://mdn.io/setTimeout).
     *
     * @private
     * @param {Function} func The function to delay.
     * @param {number} wait The number of milliseconds to delay invocation.
     * @returns {number|Object} Returns the timer id or timeout object.
     */
    var setTimeout = ctxSetTimeout || function(func, wait) {
      return root.setTimeout(func, wait);
    };

    /**
     * Sets the `toString` method of `func` to return `string`.
     *
     * @private
     * @param {Function} func The function to modify.
     * @param {Function} string The `toString` result.
     * @returns {Function} Returns `func`.
     */
    var setToString = shortOut(baseSetToString);

    /**
     * Sets the `toString` method of `wrapper` to mimic the source of `reference`
     * with wrapper details in a comment at the top of the source body.
     *
     * @private
     * @param {Function} wrapper The function to modify.
     * @param {Function} reference The reference function.
     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.
     * @returns {Function} Returns `wrapper`.
     */
    function setWrapToString(wrapper, reference, bitmask) {
      var source = (reference + '');
      return setToString(wrapper, insertWrapDetails(source, updateWrapDetails(getWrapDetails(source), bitmask)));
    }

    /**
     * Creates a function that'll short out and invoke `identity` instead
     * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`
     * milliseconds.
     *
     * @private
     * @param {Function} func The function to restrict.
     * @returns {Function} Returns the new shortable function.
     */
    function shortOut(func) {
      var count = 0,
          lastCalled = 0;

      return function() {
        var stamp = nativeNow(),
            remaining = HOT_SPAN - (stamp - lastCalled);

        lastCalled = stamp;
        if (remaining > 0) {
          if (++count >= HOT_COUNT) {
            return arguments[0];
          }
        } else {
          count = 0;
        }
        return func.apply(undefined, arguments);
      };
    }

    /**
     * A specialized version of `_.shuffle` which mutates and sets the size of `array`.
     *
     * @private
     * @param {Array} array The array to shuffle.
     * @param {number} [size=array.length] The size of `array`.
     * @returns {Array} Returns `array`.
     */
    function shuffleSelf(array, size) {
      var index = -1,
          length = array.length,
          lastIndex = length - 1;

      size = size === undefined ? length : size;
      while (++index < size) {
        var rand = baseRandom(index, lastIndex),
            value = array[rand];

        array[rand] = array[index];
        array[index] = value;
      }
      array.length = size;
      return array;
    }

    /**
     * Converts `string` to a property path array.
     *
     * @private
     * @param {string} string The string to convert.
     * @returns {Array} Returns the property path array.
     */
    var stringToPath = memoizeCapped(function(string) {
      var result = [];
      if (string.charCodeAt(0) === 46 /* . */) {
        result.push('');
      }
      string.replace(rePropName, function(match, number, quote, subString) {
        result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));
      });
      return result;
    });

    /**
     * Converts `value` to a string key if it's not a string or symbol.
     *
     * @private
     * @param {*} value The value to inspect.
     * @returns {string|symbol} Returns the key.
     */
    function toKey(value) {
      if (typeof value == 'string' || isSymbol(value)) {
        return value;
      }
      var result = (value + '');
      return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
    }

    /**
     * Converts `func` to its source code.
     *
     * @private
     * @param {Function} func The function to convert.
     * @returns {string} Returns the source code.
     */
    function toSource(func) {
      if (func != null) {
        try {
          return funcToString.call(func);
        } catch (e) {}
        try {
          return (func + '');
        } catch (e) {}
      }
      return '';
    }

    /**
     * Updates wrapper `details` based on `bitmask` flags.
     *
     * @private
     * @returns {Array} details The details to modify.
     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.
     * @returns {Array} Returns `details`.
     */
    function updateWrapDetails(details, bitmask) {
      arrayEach(wrapFlags, function(pair) {
        var value = '_.' + pair[0];
        if ((bitmask & pair[1]) && !arrayIncludes(details, value)) {
          details.push(value);
        }
      });
      return details.sort();
    }

    /**
     * Creates a clone of `wrapper`.
     *
     * @private
     * @param {Object} wrapper The wrapper to clone.
     * @returns {Object} Returns the cloned wrapper.
     */
    function wrapperClone(wrapper) {
      if (wrapper instanceof LazyWrapper) {
        return wrapper.clone();
      }
      var result = new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__);
      result.__actions__ = copyArray(wrapper.__actions__);
      result.__index__  = wrapper.__index__;
      result.__values__ = wrapper.__values__;
      return result;
    }

    /*------------------------------------------------------------------------*/

    /**
     * Creates an array of elements split into groups the length of `size`.
     * If `array` can't be split evenly, the final chunk will be the remaining
     * elements.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Array
     * @param {Array} array The array to process.
     * @param {number} [size=1] The length of each chunk
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {Array} Returns the new array of chunks.
     * @example
     *
     * _.chunk(['a', 'b', 'c', 'd'], 2);
     * // => [['a', 'b'], ['c', 'd']]
     *
     * _.chunk(['a', 'b', 'c', 'd'], 3);
     * // => [['a', 'b', 'c'], ['d']]
     */
    function chunk(array, size, guard) {
      if ((guard ? isIterateeCall(array, size, guard) : size === undefined)) {
        size = 1;
      } else {
        size = nativeMax(toInteger(size), 0);
      }
      var length = array == null ? 0 : array.length;
      if (!length || size < 1) {
        return [];
      }
      var index = 0,
          resIndex = 0,
          result = Array(nativeCeil(length / size));

      while (index < length) {
        result[resIndex++] = baseSlice(array, index, (index += size));
      }
      return result;
    }

    /**
     * Creates an array with all falsey values removed. The values `false`, `null`,
     * `0`, `""`, `undefined`, and `NaN` are falsey.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {Array} array The array to compact.
     * @returns {Array} Returns the new array of filtered values.
     * @example
     *
     * _.compact([0, 1, false, 2, '', 3]);
     * // => [1, 2, 3]
     */
    function compact(array) {
      var index = -1,
          length = array == null ? 0 : array.length,
          resIndex = 0,
          result = [];

      while (++index < length) {
        var value = array[index];
        if (value) {
          result[resIndex++] = value;
        }
      }
      return result;
    }

    /**
     * Creates a new array concatenating `array` with any additional arrays
     * and/or values.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to concatenate.
     * @param {...*} [values] The values to concatenate.
     * @returns {Array} Returns the new concatenated array.
     * @example
     *
     * var array = [1];
     * var other = _.concat(array, 2, [3], [[4]]);
     *
     * console.log(other);
     * // => [1, 2, 3, [4]]
     *
     * console.log(array);
     * // => [1]
     */
    function concat() {
      var length = arguments.length;
      if (!length) {
        return [];
      }
      var args = Array(length - 1),
          array = arguments[0],
          index = length;

      while (index--) {
        args[index - 1] = arguments[index];
      }
      return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1));
    }

    /**
     * Creates an array of `array` values not included in the other given arrays
     * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
     * for equality comparisons. The order and references of result values are
     * determined by the first array.
     *
     * **Note:** Unlike `_.pullAll`, this method returns a new array.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {...Array} [values] The values to exclude.
     * @returns {Array} Returns the new array of filtered values.
     * @see _.without, _.xor
     * @example
     *
     * _.difference([2, 1], [2, 3]);
     * // => [1]
     */
    var difference = baseRest(function(array, values) {
      return isArrayLikeObject(array)
        ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true))
        : [];
    });

    /**
     * This method is like `_.difference` except that it accepts `iteratee` which
     * is invoked for each element of `array` and `values` to generate the criterion
     * by which they're compared. The order and references of result values are
     * determined by the first array. The iteratee is invoked with one argument:
     * (value).
     *
     * **Note:** Unlike `_.pullAllBy`, this method returns a new array.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {...Array} [values] The values to exclude.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {Array} Returns the new array of filtered values.
     * @example
     *
     * _.differenceBy([2.1, 1.2], [2.3, 3.4], Math.floor);
     * // => [1.2]
     *
     * // The `_.property` iteratee shorthand.
     * _.differenceBy([{ 'x': 2 }, { 'x': 1 }], [{ 'x': 1 }], 'x');
     * // => [{ 'x': 2 }]
     */
    var differenceBy = baseRest(function(array, values) {
      var iteratee = last(values);
      if (isArrayLikeObject(iteratee)) {
        iteratee = undefined;
      }
      return isArrayLikeObject(array)
        ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), getIteratee(iteratee, 2))
        : [];
    });

    /**
     * This method is like `_.difference` except that it accepts `comparator`
     * which is invoked to compare elements of `array` to `values`. The order and
     * references of result values are determined by the first array. The comparator
     * is invoked with two arguments: (arrVal, othVal).
     *
     * **Note:** Unlike `_.pullAllWith`, this method returns a new array.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {...Array} [values] The values to exclude.
     * @param {Function} [comparator] The comparator invoked per element.
     * @returns {Array} Returns the new array of filtered values.
     * @example
     *
     * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];
     *
     * _.differenceWith(objects, [{ 'x': 1, 'y': 2 }], _.isEqual);
     * // => [{ 'x': 2, 'y': 1 }]
     */
    var differenceWith = baseRest(function(array, values) {
      var comparator = last(values);
      if (isArrayLikeObject(comparator)) {
        comparator = undefined;
      }
      return isArrayLikeObject(array)
        ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), undefined, comparator)
        : [];
    });

    /**
     * Creates a slice of `array` with `n` elements dropped from the beginning.
     *
     * @static
     * @memberOf _
     * @since 0.5.0
     * @category Array
     * @param {Array} array The array to query.
     * @param {number} [n=1] The number of elements to drop.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {Array} Returns the slice of `array`.
     * @example
     *
     * _.drop([1, 2, 3]);
     * // => [2, 3]
     *
     * _.drop([1, 2, 3], 2);
     * // => [3]
     *
     * _.drop([1, 2, 3], 5);
     * // => []
     *
     * _.drop([1, 2, 3], 0);
     * // => [1, 2, 3]
     */
    function drop(array, n, guard) {
      var length = array == null ? 0 : array.length;
      if (!length) {
        return [];
      }
      n = (guard || n === undefined) ? 1 : toInteger(n);
      return baseSlice(array, n < 0 ? 0 : n, length);
    }

    /**
     * Creates a slice of `array` with `n` elements dropped from the end.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Array
     * @param {Array} array The array to query.
     * @param {number} [n=1] The number of elements to drop.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {Array} Returns the slice of `array`.
     * @example
     *
     * _.dropRight([1, 2, 3]);
     * // => [1, 2]
     *
     * _.dropRight([1, 2, 3], 2);
     * // => [1]
     *
     * _.dropRight([1, 2, 3], 5);
     * // => []
     *
     * _.dropRight([1, 2, 3], 0);
     * // => [1, 2, 3]
     */
    function dropRight(array, n, guard) {
      var length = array == null ? 0 : array.length;
      if (!length) {
        return [];
      }
      n = (guard || n === undefined) ? 1 : toInteger(n);
      n = length - n;
      return baseSlice(array, 0, n < 0 ? 0 : n);
    }

    /**
     * Creates a slice of `array` excluding elements dropped from the end.
     * Elements are dropped until `predicate` returns falsey. The predicate is
     * invoked with three arguments: (value, index, array).
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Array
     * @param {Array} array The array to query.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the slice of `array`.
     * @example
     *
     * var users = [
     *   { 'user': 'barney',  'active': true },
     *   { 'user': 'fred',    'active': false },
     *   { 'user': 'pebbles', 'active': false }
     * ];
     *
     * _.dropRightWhile(users, function(o) { return !o.active; });
     * // => objects for ['barney']
     *
     * // The `_.matches` iteratee shorthand.
     * _.dropRightWhile(users, { 'user': 'pebbles', 'active': false });
     * // => objects for ['barney', 'fred']
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.dropRightWhile(users, ['active', false]);
     * // => objects for ['barney']
     *
     * // The `_.property` iteratee shorthand.
     * _.dropRightWhile(users, 'active');
     * // => objects for ['barney', 'fred', 'pebbles']
     */
    function dropRightWhile(array, predicate) {
      return (array && array.length)
        ? baseWhile(array, getIteratee(predicate, 3), true, true)
        : [];
    }

    /**
     * Creates a slice of `array` excluding elements dropped from the beginning.
     * Elements are dropped until `predicate` returns falsey. The predicate is
     * invoked with three arguments: (value, index, array).
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Array
     * @param {Array} array The array to query.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the slice of `array`.
     * @example
     *
     * var users = [
     *   { 'user': 'barney',  'active': false },
     *   { 'user': 'fred',    'active': false },
     *   { 'user': 'pebbles', 'active': true }
     * ];
     *
     * _.dropWhile(users, function(o) { return !o.active; });
     * // => objects for ['pebbles']
     *
     * // The `_.matches` iteratee shorthand.
     * _.dropWhile(users, { 'user': 'barney', 'active': false });
     * // => objects for ['fred', 'pebbles']
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.dropWhile(users, ['active', false]);
     * // => objects for ['pebbles']
     *
     * // The `_.property` iteratee shorthand.
     * _.dropWhile(users, 'active');
     * // => objects for ['barney', 'fred', 'pebbles']
     */
    function dropWhile(array, predicate) {
      return (array && array.length)
        ? baseWhile(array, getIteratee(predicate, 3), true)
        : [];
    }

    /**
     * Fills elements of `array` with `value` from `start` up to, but not
     * including, `end`.
     *
     * **Note:** This method mutates `array`.
     *
     * @static
     * @memberOf _
     * @since 3.2.0
     * @category Array
     * @param {Array} array The array to fill.
     * @param {*} value The value to fill `array` with.
     * @param {number} [start=0] The start position.
     * @param {number} [end=array.length] The end position.
     * @returns {Array} Returns `array`.
     * @example
     *
     * var array = [1, 2, 3];
     *
     * _.fill(array, 'a');
     * console.log(array);
     * // => ['a', 'a', 'a']
     *
     * _.fill(Array(3), 2);
     * // => [2, 2, 2]
     *
     * _.fill([4, 6, 8, 10], '*', 1, 3);
     * // => [4, '*', '*', 10]
     */
    function fill(array, value, start, end) {
      var length = array == null ? 0 : array.length;
      if (!length) {
        return [];
      }
      if (start && typeof start != 'number' && isIterateeCall(array, value, start)) {
        start = 0;
        end = length;
      }
      return baseFill(array, value, start, end);
    }

    /**
     * This method is like `_.find` except that it returns the index of the first
     * element `predicate` returns truthy for instead of the element itself.
     *
     * @static
     * @memberOf _
     * @since 1.1.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @param {number} [fromIndex=0] The index to search from.
     * @returns {number} Returns the index of the found element, else `-1`.
     * @example
     *
     * var users = [
     *   { 'user': 'barney',  'active': false },
     *   { 'user': 'fred',    'active': false },
     *   { 'user': 'pebbles', 'active': true }
     * ];
     *
     * _.findIndex(users, function(o) { return o.user == 'barney'; });
     * // => 0
     *
     * // The `_.matches` iteratee shorthand.
     * _.findIndex(users, { 'user': 'fred', 'active': false });
     * // => 1
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.findIndex(users, ['active', false]);
     * // => 0
     *
     * // The `_.property` iteratee shorthand.
     * _.findIndex(users, 'active');
     * // => 2
     */
    function findIndex(array, predicate, fromIndex) {
      var length = array == null ? 0 : array.length;
      if (!length) {
        return -1;
      }
      var index = fromIndex == null ? 0 : toInteger(fromIndex);
      if (index < 0) {
        index = nativeMax(length + index, 0);
      }
      return baseFindIndex(array, getIteratee(predicate, 3), index);
    }

    /**
     * This method is like `_.findIndex` except that it iterates over elements
     * of `collection` from right to left.
     *
     * @static
     * @memberOf _
     * @since 2.0.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @param {number} [fromIndex=array.length-1] The index to search from.
     * @returns {number} Returns the index of the found element, else `-1`.
     * @example
     *
     * var users = [
     *   { 'user': 'barney',  'active': true },
     *   { 'user': 'fred',    'active': false },
     *   { 'user': 'pebbles', 'active': false }
     * ];
     *
     * _.findLastIndex(users, function(o) { return o.user == 'pebbles'; });
     * // => 2
     *
     * // The `_.matches` iteratee shorthand.
     * _.findLastIndex(users, { 'user': 'barney', 'active': true });
     * // => 0
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.findLastIndex(users, ['active', false]);
     * // => 2
     *
     * // The `_.property` iteratee shorthand.
     * _.findLastIndex(users, 'active');
     * // => 0
     */
    function findLastIndex(array, predicate, fromIndex) {
      var length = array == null ? 0 : array.length;
      if (!length) {
        return -1;
      }
      var index = length - 1;
      if (fromIndex !== undefined) {
        index = toInteger(fromIndex);
        index = fromIndex < 0
          ? nativeMax(length + index, 0)
          : nativeMin(index, length - 1);
      }
      return baseFindIndex(array, getIteratee(predicate, 3), index, true);
    }

    /**
     * Flattens `array` a single level deep.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {Array} array The array to flatten.
     * @returns {Array} Returns the new flattened array.
     * @example
     *
     * _.flatten([1, [2, [3, [4]], 5]]);
     * // => [1, 2, [3, [4]], 5]
     */
    function flatten(array) {
      var length = array == null ? 0 : array.length;
      return length ? baseFlatten(array, 1) : [];
    }

    /**
     * Recursively flattens `array`.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Array
     * @param {Array} array The array to flatten.
     * @returns {Array} Returns the new flattened array.
     * @example
     *
     * _.flattenDeep([1, [2, [3, [4]], 5]]);
     * // => [1, 2, 3, 4, 5]
     */
    function flattenDeep(array) {
      var length = array == null ? 0 : array.length;
      return length ? baseFlatten(array, INFINITY) : [];
    }

    /**
     * Recursively flatten `array` up to `depth` times.
     *
     * @static
     * @memberOf _
     * @since 4.4.0
     * @category Array
     * @param {Array} array The array to flatten.
     * @param {number} [depth=1] The maximum recursion depth.
     * @returns {Array} Returns the new flattened array.
     * @example
     *
     * var array = [1, [2, [3, [4]], 5]];
     *
     * _.flattenDepth(array, 1);
     * // => [1, 2, [3, [4]], 5]
     *
     * _.flattenDepth(array, 2);
     * // => [1, 2, 3, [4], 5]
     */
    function flattenDepth(array, depth) {
      var length = array == null ? 0 : array.length;
      if (!length) {
        return [];
      }
      depth = depth === undefined ? 1 : toInteger(depth);
      return baseFlatten(array, depth);
    }

    /**
     * The inverse of `_.toPairs`; this method returns an object composed
     * from key-value `pairs`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} pairs The key-value pairs.
     * @returns {Object} Returns the new object.
     * @example
     *
     * _.fromPairs([['a', 1], ['b', 2]]);
     * // => { 'a': 1, 'b': 2 }
     */
    function fromPairs(pairs) {
      var index = -1,
          length = pairs == null ? 0 : pairs.length,
          result = {};

      while (++index < length) {
        var pair = pairs[index];
        result[pair[0]] = pair[1];
      }
      return result;
    }

    /**
     * Gets the first element of `array`.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @alias first
     * @category Array
     * @param {Array} array The array to query.
     * @returns {*} Returns the first element of `array`.
     * @example
     *
     * _.head([1, 2, 3]);
     * // => 1
     *
     * _.head([]);
     * // => undefined
     */
    function head(array) {
      return (array && array.length) ? array[0] : undefined;
    }

    /**
     * Gets the index at which the first occurrence of `value` is found in `array`
     * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
     * for equality comparisons. If `fromIndex` is negative, it's used as the
     * offset from the end of `array`.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {*} value The value to search for.
     * @param {number} [fromIndex=0] The index to search from.
     * @returns {number} Returns the index of the matched value, else `-1`.
     * @example
     *
     * _.indexOf([1, 2, 1, 2], 2);
     * // => 1
     *
     * // Search from the `fromIndex`.
     * _.indexOf([1, 2, 1, 2], 2, 2);
     * // => 3
     */
    function indexOf(array, value, fromIndex) {
      var length = array == null ? 0 : array.length;
      if (!length) {
        return -1;
      }
      var index = fromIndex == null ? 0 : toInteger(fromIndex);
      if (index < 0) {
        index = nativeMax(length + index, 0);
      }
      return baseIndexOf(array, value, index);
    }

    /**
     * Gets all but the last element of `array`.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {Array} array The array to query.
     * @returns {Array} Returns the slice of `array`.
     * @example
     *
     * _.initial([1, 2, 3]);
     * // => [1, 2]
     */
    function initial(array) {
      var length = array == null ? 0 : array.length;
      return length ? baseSlice(array, 0, -1) : [];
    }

    /**
     * Creates an array of unique values that are included in all given arrays
     * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
     * for equality comparisons. The order and references of result values are
     * determined by the first array.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {...Array} [arrays] The arrays to inspect.
     * @returns {Array} Returns the new array of intersecting values.
     * @example
     *
     * _.intersection([2, 1], [2, 3]);
     * // => [2]
     */
    var intersection = baseRest(function(arrays) {
      var mapped = arrayMap(arrays, castArrayLikeObject);
      return (mapped.length && mapped[0] === arrays[0])
        ? baseIntersection(mapped)
        : [];
    });

    /**
     * This method is like `_.intersection` except that it accepts `iteratee`
     * which is invoked for each element of each `arrays` to generate the criterion
     * by which they're compared. The order and references of result values are
     * determined by the first array. The iteratee is invoked with one argument:
     * (value).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {...Array} [arrays] The arrays to inspect.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {Array} Returns the new array of intersecting values.
     * @example
     *
     * _.intersectionBy([2.1, 1.2], [2.3, 3.4], Math.floor);
     * // => [2.1]
     *
     * // The `_.property` iteratee shorthand.
     * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');
     * // => [{ 'x': 1 }]
     */
    var intersectionBy = baseRest(function(arrays) {
      var iteratee = last(arrays),
          mapped = arrayMap(arrays, castArrayLikeObject);

      if (iteratee === last(mapped)) {
        iteratee = undefined;
      } else {
        mapped.pop();
      }
      return (mapped.length && mapped[0] === arrays[0])
        ? baseIntersection(mapped, getIteratee(iteratee, 2))
        : [];
    });

    /**
     * This method is like `_.intersection` except that it accepts `comparator`
     * which is invoked to compare elements of `arrays`. The order and references
     * of result values are determined by the first array. The comparator is
     * invoked with two arguments: (arrVal, othVal).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {...Array} [arrays] The arrays to inspect.
     * @param {Function} [comparator] The comparator invoked per element.
     * @returns {Array} Returns the new array of intersecting values.
     * @example
     *
     * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];
     * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];
     *
     * _.intersectionWith(objects, others, _.isEqual);
     * // => [{ 'x': 1, 'y': 2 }]
     */
    var intersectionWith = baseRest(function(arrays) {
      var comparator = last(arrays),
          mapped = arrayMap(arrays, castArrayLikeObject);

      comparator = typeof comparator == 'function' ? comparator : undefined;
      if (comparator) {
        mapped.pop();
      }
      return (mapped.length && mapped[0] === arrays[0])
        ? baseIntersection(mapped, undefined, comparator)
        : [];
    });

    /**
     * Converts all elements in `array` into a string separated by `separator`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to convert.
     * @param {string} [separator=','] The element separator.
     * @returns {string} Returns the joined string.
     * @example
     *
     * _.join(['a', 'b', 'c'], '~');
     * // => 'a~b~c'
     */
    function join(array, separator) {
      return array == null ? '' : nativeJoin.call(array, separator);
    }

    /**
     * Gets the last element of `array`.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {Array} array The array to query.
     * @returns {*} Returns the last element of `array`.
     * @example
     *
     * _.last([1, 2, 3]);
     * // => 3
     */
    function last(array) {
      var length = array == null ? 0 : array.length;
      return length ? array[length - 1] : undefined;
    }

    /**
     * This method is like `_.indexOf` except that it iterates over elements of
     * `array` from right to left.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {*} value The value to search for.
     * @param {number} [fromIndex=array.length-1] The index to search from.
     * @returns {number} Returns the index of the matched value, else `-1`.
     * @example
     *
     * _.lastIndexOf([1, 2, 1, 2], 2);
     * // => 3
     *
     * // Search from the `fromIndex`.
     * _.lastIndexOf([1, 2, 1, 2], 2, 2);
     * // => 1
     */
    function lastIndexOf(array, value, fromIndex) {
      var length = array == null ? 0 : array.length;
      if (!length) {
        return -1;
      }
      var index = length;
      if (fromIndex !== undefined) {
        index = toInteger(fromIndex);
        index = index < 0 ? nativeMax(length + index, 0) : nativeMin(index, length - 1);
      }
      return value === value
        ? strictLastIndexOf(array, value, index)
        : baseFindIndex(array, baseIsNaN, index, true);
    }

    /**
     * Gets the element at index `n` of `array`. If `n` is negative, the nth
     * element from the end is returned.
     *
     * @static
     * @memberOf _
     * @since 4.11.0
     * @category Array
     * @param {Array} array The array to query.
     * @param {number} [n=0] The index of the element to return.
     * @returns {*} Returns the nth element of `array`.
     * @example
     *
     * var array = ['a', 'b', 'c', 'd'];
     *
     * _.nth(array, 1);
     * // => 'b'
     *
     * _.nth(array, -2);
     * // => 'c';
     */
    function nth(array, n) {
      return (array && array.length) ? baseNth(array, toInteger(n)) : undefined;
    }

    /**
     * Removes all given values from `array` using
     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
     * for equality comparisons.
     *
     * **Note:** Unlike `_.without`, this method mutates `array`. Use `_.remove`
     * to remove elements from an array by predicate.
     *
     * @static
     * @memberOf _
     * @since 2.0.0
     * @category Array
     * @param {Array} array The array to modify.
     * @param {...*} [values] The values to remove.
     * @returns {Array} Returns `array`.
     * @example
     *
     * var array = ['a', 'b', 'c', 'a', 'b', 'c'];
     *
     * _.pull(array, 'a', 'c');
     * console.log(array);
     * // => ['b', 'b']
     */
    var pull = baseRest(pullAll);

    /**
     * This method is like `_.pull` except that it accepts an array of values to remove.
     *
     * **Note:** Unlike `_.difference`, this method mutates `array`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to modify.
     * @param {Array} values The values to remove.
     * @returns {Array} Returns `array`.
     * @example
     *
     * var array = ['a', 'b', 'c', 'a', 'b', 'c'];
     *
     * _.pullAll(array, ['a', 'c']);
     * console.log(array);
     * // => ['b', 'b']
     */
    function pullAll(array, values) {
      return (array && array.length && values && values.length)
        ? basePullAll(array, values)
        : array;
    }

    /**
     * This method is like `_.pullAll` except that it accepts `iteratee` which is
     * invoked for each element of `array` and `values` to generate the criterion
     * by which they're compared. The iteratee is invoked with one argument: (value).
     *
     * **Note:** Unlike `_.differenceBy`, this method mutates `array`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to modify.
     * @param {Array} values The values to remove.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {Array} Returns `array`.
     * @example
     *
     * var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }];
     *
     * _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x');
     * console.log(array);
     * // => [{ 'x': 2 }]
     */
    function pullAllBy(array, values, iteratee) {
      return (array && array.length && values && values.length)
        ? basePullAll(array, values, getIteratee(iteratee, 2))
        : array;
    }

    /**
     * This method is like `_.pullAll` except that it accepts `comparator` which
     * is invoked to compare elements of `array` to `values`. The comparator is
     * invoked with two arguments: (arrVal, othVal).
     *
     * **Note:** Unlike `_.differenceWith`, this method mutates `array`.
     *
     * @static
     * @memberOf _
     * @since 4.6.0
     * @category Array
     * @param {Array} array The array to modify.
     * @param {Array} values The values to remove.
     * @param {Function} [comparator] The comparator invoked per element.
     * @returns {Array} Returns `array`.
     * @example
     *
     * var array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }];
     *
     * _.pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual);
     * console.log(array);
     * // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }]
     */
    function pullAllWith(array, values, comparator) {
      return (array && array.length && values && values.length)
        ? basePullAll(array, values, undefined, comparator)
        : array;
    }

    /**
     * Removes elements from `array` corresponding to `indexes` and returns an
     * array of removed elements.
     *
     * **Note:** Unlike `_.at`, this method mutates `array`.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Array
     * @param {Array} array The array to modify.
     * @param {...(number|number[])} [indexes] The indexes of elements to remove.
     * @returns {Array} Returns the new array of removed elements.
     * @example
     *
     * var array = ['a', 'b', 'c', 'd'];
     * var pulled = _.pullAt(array, [1, 3]);
     *
     * console.log(array);
     * // => ['a', 'c']
     *
     * console.log(pulled);
     * // => ['b', 'd']
     */
    var pullAt = flatRest(function(array, indexes) {
      var length = array == null ? 0 : array.length,
          result = baseAt(array, indexes);

      basePullAt(array, arrayMap(indexes, function(index) {
        return isIndex(index, length) ? +index : index;
      }).sort(compareAscending));

      return result;
    });

    /**
     * Removes all elements from `array` that `predicate` returns truthy for
     * and returns an array of the removed elements. The predicate is invoked
     * with three arguments: (value, index, array).
     *
     * **Note:** Unlike `_.filter`, this method mutates `array`. Use `_.pull`
     * to pull elements from an array by value.
     *
     * @static
     * @memberOf _
     * @since 2.0.0
     * @category Array
     * @param {Array} array The array to modify.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the new array of removed elements.
     * @example
     *
     * var array = [1, 2, 3, 4];
     * var evens = _.remove(array, function(n) {
     *   return n % 2 == 0;
     * });
     *
     * console.log(array);
     * // => [1, 3]
     *
     * console.log(evens);
     * // => [2, 4]
     */
    function remove(array, predicate) {
      var result = [];
      if (!(array && array.length)) {
        return result;
      }
      var index = -1,
          indexes = [],
          length = array.length;

      predicate = getIteratee(predicate, 3);
      while (++index < length) {
        var value = array[index];
        if (predicate(value, index, array)) {
          result.push(value);
          indexes.push(index);
        }
      }
      basePullAt(array, indexes);
      return result;
    }

    /**
     * Reverses `array` so that the first element becomes the last, the second
     * element becomes the second to last, and so on.
     *
     * **Note:** This method mutates `array` and is based on
     * [`Array#reverse`](https://mdn.io/Array/reverse).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to modify.
     * @returns {Array} Returns `array`.
     * @example
     *
     * var array = [1, 2, 3];
     *
     * _.reverse(array);
     * // => [3, 2, 1]
     *
     * console.log(array);
     * // => [3, 2, 1]
     */
    function reverse(array) {
      return array == null ? array : nativeReverse.call(array);
    }

    /**
     * Creates a slice of `array` from `start` up to, but not including, `end`.
     *
     * **Note:** This method is used instead of
     * [`Array#slice`](https://mdn.io/Array/slice) to ensure dense arrays are
     * returned.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Array
     * @param {Array} array The array to slice.
     * @param {number} [start=0] The start position.
     * @param {number} [end=array.length] The end position.
     * @returns {Array} Returns the slice of `array`.
     */
    function slice(array, start, end) {
      var length = array == null ? 0 : array.length;
      if (!length) {
        return [];
      }
      if (end && typeof end != 'number' && isIterateeCall(array, start, end)) {
        start = 0;
        end = length;
      }
      else {
        start = start == null ? 0 : toInteger(start);
        end = end === undefined ? length : toInteger(end);
      }
      return baseSlice(array, start, end);
    }

    /**
     * Uses a binary search to determine the lowest index at which `value`
     * should be inserted into `array` in order to maintain its sort order.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {Array} array The sorted array to inspect.
     * @param {*} value The value to evaluate.
     * @returns {number} Returns the index at which `value` should be inserted
     *  into `array`.
     * @example
     *
     * _.sortedIndex([30, 50], 40);
     * // => 1
     */
    function sortedIndex(array, value) {
      return baseSortedIndex(array, value);
    }

    /**
     * This method is like `_.sortedIndex` except that it accepts `iteratee`
     * which is invoked for `value` and each element of `array` to compute their
     * sort ranking. The iteratee is invoked with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The sorted array to inspect.
     * @param {*} value The value to evaluate.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {number} Returns the index at which `value` should be inserted
     *  into `array`.
     * @example
     *
     * var objects = [{ 'x': 4 }, { 'x': 5 }];
     *
     * _.sortedIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });
     * // => 0
     *
     * // The `_.property` iteratee shorthand.
     * _.sortedIndexBy(objects, { 'x': 4 }, 'x');
     * // => 0
     */
    function sortedIndexBy(array, value, iteratee) {
      return baseSortedIndexBy(array, value, getIteratee(iteratee, 2));
    }

    /**
     * This method is like `_.indexOf` except that it performs a binary
     * search on a sorted `array`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {*} value The value to search for.
     * @returns {number} Returns the index of the matched value, else `-1`.
     * @example
     *
     * _.sortedIndexOf([4, 5, 5, 5, 6], 5);
     * // => 1
     */
    function sortedIndexOf(array, value) {
      var length = array == null ? 0 : array.length;
      if (length) {
        var index = baseSortedIndex(array, value);
        if (index < length && eq(array[index], value)) {
          return index;
        }
      }
      return -1;
    }

    /**
     * This method is like `_.sortedIndex` except that it returns the highest
     * index at which `value` should be inserted into `array` in order to
     * maintain its sort order.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Array
     * @param {Array} array The sorted array to inspect.
     * @param {*} value The value to evaluate.
     * @returns {number} Returns the index at which `value` should be inserted
     *  into `array`.
     * @example
     *
     * _.sortedLastIndex([4, 5, 5, 5, 6], 5);
     * // => 4
     */
    function sortedLastIndex(array, value) {
      return baseSortedIndex(array, value, true);
    }

    /**
     * This method is like `_.sortedLastIndex` except that it accepts `iteratee`
     * which is invoked for `value` and each element of `array` to compute their
     * sort ranking. The iteratee is invoked with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The sorted array to inspect.
     * @param {*} value The value to evaluate.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {number} Returns the index at which `value` should be inserted
     *  into `array`.
     * @example
     *
     * var objects = [{ 'x': 4 }, { 'x': 5 }];
     *
     * _.sortedLastIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });
     * // => 1
     *
     * // The `_.property` iteratee shorthand.
     * _.sortedLastIndexBy(objects, { 'x': 4 }, 'x');
     * // => 1
     */
    function sortedLastIndexBy(array, value, iteratee) {
      return baseSortedIndexBy(array, value, getIteratee(iteratee, 2), true);
    }

    /**
     * This method is like `_.lastIndexOf` except that it performs a binary
     * search on a sorted `array`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {*} value The value to search for.
     * @returns {number} Returns the index of the matched value, else `-1`.
     * @example
     *
     * _.sortedLastIndexOf([4, 5, 5, 5, 6], 5);
     * // => 3
     */
    function sortedLastIndexOf(array, value) {
      var length = array == null ? 0 : array.length;
      if (length) {
        var index = baseSortedIndex(array, value, true) - 1;
        if (eq(array[index], value)) {
          return index;
        }
      }
      return -1;
    }

    /**
     * This method is like `_.uniq` except that it's designed and optimized
     * for sorted arrays.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @returns {Array} Returns the new duplicate free array.
     * @example
     *
     * _.sortedUniq([1, 1, 2]);
     * // => [1, 2]
     */
    function sortedUniq(array) {
      return (array && array.length)
        ? baseSortedUniq(array)
        : [];
    }

    /**
     * This method is like `_.uniqBy` except that it's designed and optimized
     * for sorted arrays.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {Function} [iteratee] The iteratee invoked per element.
     * @returns {Array} Returns the new duplicate free array.
     * @example
     *
     * _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor);
     * // => [1.1, 2.3]
     */
    function sortedUniqBy(array, iteratee) {
      return (array && array.length)
        ? baseSortedUniq(array, getIteratee(iteratee, 2))
        : [];
    }

    /**
     * Gets all but the first element of `array`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to query.
     * @returns {Array} Returns the slice of `array`.
     * @example
     *
     * _.tail([1, 2, 3]);
     * // => [2, 3]
     */
    function tail(array) {
      var length = array == null ? 0 : array.length;
      return length ? baseSlice(array, 1, length) : [];
    }

    /**
     * Creates a slice of `array` with `n` elements taken from the beginning.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {Array} array The array to query.
     * @param {number} [n=1] The number of elements to take.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {Array} Returns the slice of `array`.
     * @example
     *
     * _.take([1, 2, 3]);
     * // => [1]
     *
     * _.take([1, 2, 3], 2);
     * // => [1, 2]
     *
     * _.take([1, 2, 3], 5);
     * // => [1, 2, 3]
     *
     * _.take([1, 2, 3], 0);
     * // => []
     */
    function take(array, n, guard) {
      if (!(array && array.length)) {
        return [];
      }
      n = (guard || n === undefined) ? 1 : toInteger(n);
      return baseSlice(array, 0, n < 0 ? 0 : n);
    }

    /**
     * Creates a slice of `array` with `n` elements taken from the end.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Array
     * @param {Array} array The array to query.
     * @param {number} [n=1] The number of elements to take.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {Array} Returns the slice of `array`.
     * @example
     *
     * _.takeRight([1, 2, 3]);
     * // => [3]
     *
     * _.takeRight([1, 2, 3], 2);
     * // => [2, 3]
     *
     * _.takeRight([1, 2, 3], 5);
     * // => [1, 2, 3]
     *
     * _.takeRight([1, 2, 3], 0);
     * // => []
     */
    function takeRight(array, n, guard) {
      var length = array == null ? 0 : array.length;
      if (!length) {
        return [];
      }
      n = (guard || n === undefined) ? 1 : toInteger(n);
      n = length - n;
      return baseSlice(array, n < 0 ? 0 : n, length);
    }

    /**
     * Creates a slice of `array` with elements taken from the end. Elements are
     * taken until `predicate` returns falsey. The predicate is invoked with
     * three arguments: (value, index, array).
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Array
     * @param {Array} array The array to query.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the slice of `array`.
     * @example
     *
     * var users = [
     *   { 'user': 'barney',  'active': true },
     *   { 'user': 'fred',    'active': false },
     *   { 'user': 'pebbles', 'active': false }
     * ];
     *
     * _.takeRightWhile(users, function(o) { return !o.active; });
     * // => objects for ['fred', 'pebbles']
     *
     * // The `_.matches` iteratee shorthand.
     * _.takeRightWhile(users, { 'user': 'pebbles', 'active': false });
     * // => objects for ['pebbles']
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.takeRightWhile(users, ['active', false]);
     * // => objects for ['fred', 'pebbles']
     *
     * // The `_.property` iteratee shorthand.
     * _.takeRightWhile(users, 'active');
     * // => []
     */
    function takeRightWhile(array, predicate) {
      return (array && array.length)
        ? baseWhile(array, getIteratee(predicate, 3), false, true)
        : [];
    }

    /**
     * Creates a slice of `array` with elements taken from the beginning. Elements
     * are taken until `predicate` returns falsey. The predicate is invoked with
     * three arguments: (value, index, array).
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Array
     * @param {Array} array The array to query.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the slice of `array`.
     * @example
     *
     * var users = [
     *   { 'user': 'barney',  'active': false },
     *   { 'user': 'fred',    'active': false },
     *   { 'user': 'pebbles', 'active': true }
     * ];
     *
     * _.takeWhile(users, function(o) { return !o.active; });
     * // => objects for ['barney', 'fred']
     *
     * // The `_.matches` iteratee shorthand.
     * _.takeWhile(users, { 'user': 'barney', 'active': false });
     * // => objects for ['barney']
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.takeWhile(users, ['active', false]);
     * // => objects for ['barney', 'fred']
     *
     * // The `_.property` iteratee shorthand.
     * _.takeWhile(users, 'active');
     * // => []
     */
    function takeWhile(array, predicate) {
      return (array && array.length)
        ? baseWhile(array, getIteratee(predicate, 3))
        : [];
    }

    /**
     * Creates an array of unique values, in order, from all given arrays using
     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
     * for equality comparisons.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {...Array} [arrays] The arrays to inspect.
     * @returns {Array} Returns the new array of combined values.
     * @example
     *
     * _.union([2], [1, 2]);
     * // => [2, 1]
     */
    var union = baseRest(function(arrays) {
      return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true));
    });

    /**
     * This method is like `_.union` except that it accepts `iteratee` which is
     * invoked for each element of each `arrays` to generate the criterion by
     * which uniqueness is computed. Result values are chosen from the first
     * array in which the value occurs. The iteratee is invoked with one argument:
     * (value).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {...Array} [arrays] The arrays to inspect.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {Array} Returns the new array of combined values.
     * @example
     *
     * _.unionBy([2.1], [1.2, 2.3], Math.floor);
     * // => [2.1, 1.2]
     *
     * // The `_.property` iteratee shorthand.
     * _.unionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');
     * // => [{ 'x': 1 }, { 'x': 2 }]
     */
    var unionBy = baseRest(function(arrays) {
      var iteratee = last(arrays);
      if (isArrayLikeObject(iteratee)) {
        iteratee = undefined;
      }
      return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), getIteratee(iteratee, 2));
    });

    /**
     * This method is like `_.union` except that it accepts `comparator` which
     * is invoked to compare elements of `arrays`. Result values are chosen from
     * the first array in which the value occurs. The comparator is invoked
     * with two arguments: (arrVal, othVal).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {...Array} [arrays] The arrays to inspect.
     * @param {Function} [comparator] The comparator invoked per element.
     * @returns {Array} Returns the new array of combined values.
     * @example
     *
     * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];
     * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];
     *
     * _.unionWith(objects, others, _.isEqual);
     * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]
     */
    var unionWith = baseRest(function(arrays) {
      var comparator = last(arrays);
      comparator = typeof comparator == 'function' ? comparator : undefined;
      return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), undefined, comparator);
    });

    /**
     * Creates a duplicate-free version of an array, using
     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
     * for equality comparisons, in which only the first occurrence of each element
     * is kept. The order of result values is determined by the order they occur
     * in the array.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @returns {Array} Returns the new duplicate free array.
     * @example
     *
     * _.uniq([2, 1, 2]);
     * // => [2, 1]
     */
    function uniq(array) {
      return (array && array.length) ? baseUniq(array) : [];
    }

    /**
     * This method is like `_.uniq` except that it accepts `iteratee` which is
     * invoked for each element in `array` to generate the criterion by which
     * uniqueness is computed. The order of result values is determined by the
     * order they occur in the array. The iteratee is invoked with one argument:
     * (value).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {Array} Returns the new duplicate free array.
     * @example
     *
     * _.uniqBy([2.1, 1.2, 2.3], Math.floor);
     * // => [2.1, 1.2]
     *
     * // The `_.property` iteratee shorthand.
     * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');
     * // => [{ 'x': 1 }, { 'x': 2 }]
     */
    function uniqBy(array, iteratee) {
      return (array && array.length) ? baseUniq(array, getIteratee(iteratee, 2)) : [];
    }

    /**
     * This method is like `_.uniq` except that it accepts `comparator` which
     * is invoked to compare elements of `array`. The order of result values is
     * determined by the order they occur in the array.The comparator is invoked
     * with two arguments: (arrVal, othVal).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {Function} [comparator] The comparator invoked per element.
     * @returns {Array} Returns the new duplicate free array.
     * @example
     *
     * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }];
     *
     * _.uniqWith(objects, _.isEqual);
     * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]
     */
    function uniqWith(array, comparator) {
      comparator = typeof comparator == 'function' ? comparator : undefined;
      return (array && array.length) ? baseUniq(array, undefined, comparator) : [];
    }

    /**
     * This method is like `_.zip` except that it accepts an array of grouped
     * elements and creates an array regrouping the elements to their pre-zip
     * configuration.
     *
     * @static
     * @memberOf _
     * @since 1.2.0
     * @category Array
     * @param {Array} array The array of grouped elements to process.
     * @returns {Array} Returns the new array of regrouped elements.
     * @example
     *
     * var zipped = _.zip(['a', 'b'], [1, 2], [true, false]);
     * // => [['a', 1, true], ['b', 2, false]]
     *
     * _.unzip(zipped);
     * // => [['a', 'b'], [1, 2], [true, false]]
     */
    function unzip(array) {
      if (!(array && array.length)) {
        return [];
      }
      var length = 0;
      array = arrayFilter(array, function(group) {
        if (isArrayLikeObject(group)) {
          length = nativeMax(group.length, length);
          return true;
        }
      });
      return baseTimes(length, function(index) {
        return arrayMap(array, baseProperty(index));
      });
    }

    /**
     * This method is like `_.unzip` except that it accepts `iteratee` to specify
     * how regrouped values should be combined. The iteratee is invoked with the
     * elements of each group: (...group).
     *
     * @static
     * @memberOf _
     * @since 3.8.0
     * @category Array
     * @param {Array} array The array of grouped elements to process.
     * @param {Function} [iteratee=_.identity] The function to combine
     *  regrouped values.
     * @returns {Array} Returns the new array of regrouped elements.
     * @example
     *
     * var zipped = _.zip([1, 2], [10, 20], [100, 200]);
     * // => [[1, 10, 100], [2, 20, 200]]
     *
     * _.unzipWith(zipped, _.add);
     * // => [3, 30, 300]
     */
    function unzipWith(array, iteratee) {
      if (!(array && array.length)) {
        return [];
      }
      var result = unzip(array);
      if (iteratee == null) {
        return result;
      }
      return arrayMap(result, function(group) {
        return apply(iteratee, undefined, group);
      });
    }

    /**
     * Creates an array excluding all given values using
     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
     * for equality comparisons.
     *
     * **Note:** Unlike `_.pull`, this method returns a new array.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {...*} [values] The values to exclude.
     * @returns {Array} Returns the new array of filtered values.
     * @see _.difference, _.xor
     * @example
     *
     * _.without([2, 1, 2, 3], 1, 2);
     * // => [3]
     */
    var without = baseRest(function(array, values) {
      return isArrayLikeObject(array)
        ? baseDifference(array, values)
        : [];
    });

    /**
     * Creates an array of unique values that is the
     * [symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference)
     * of the given arrays. The order of result values is determined by the order
     * they occur in the arrays.
     *
     * @static
     * @memberOf _
     * @since 2.4.0
     * @category Array
     * @param {...Array} [arrays] The arrays to inspect.
     * @returns {Array} Returns the new array of filtered values.
     * @see _.difference, _.without
     * @example
     *
     * _.xor([2, 1], [2, 3]);
     * // => [1, 3]
     */
    var xor = baseRest(function(arrays) {
      return baseXor(arrayFilter(arrays, isArrayLikeObject));
    });

    /**
     * This method is like `_.xor` except that it accepts `iteratee` which is
     * invoked for each element of each `arrays` to generate the criterion by
     * which by which they're compared. The order of result values is determined
     * by the order they occur in the arrays. The iteratee is invoked with one
     * argument: (value).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {...Array} [arrays] The arrays to inspect.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {Array} Returns the new array of filtered values.
     * @example
     *
     * _.xorBy([2.1, 1.2], [2.3, 3.4], Math.floor);
     * // => [1.2, 3.4]
     *
     * // The `_.property` iteratee shorthand.
     * _.xorBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');
     * // => [{ 'x': 2 }]
     */
    var xorBy = baseRest(function(arrays) {
      var iteratee = last(arrays);
      if (isArrayLikeObject(iteratee)) {
        iteratee = undefined;
      }
      return baseXor(arrayFilter(arrays, isArrayLikeObject), getIteratee(iteratee, 2));
    });

    /**
     * This method is like `_.xor` except that it accepts `comparator` which is
     * invoked to compare elements of `arrays`. The order of result values is
     * determined by the order they occur in the arrays. The comparator is invoked
     * with two arguments: (arrVal, othVal).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {...Array} [arrays] The arrays to inspect.
     * @param {Function} [comparator] The comparator invoked per element.
     * @returns {Array} Returns the new array of filtered values.
     * @example
     *
     * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];
     * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];
     *
     * _.xorWith(objects, others, _.isEqual);
     * // => [{ 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]
     */
    var xorWith = baseRest(function(arrays) {
      var comparator = last(arrays);
      comparator = typeof comparator == 'function' ? comparator : undefined;
      return baseXor(arrayFilter(arrays, isArrayLikeObject), undefined, comparator);
    });

    /**
     * Creates an array of grouped elements, the first of which contains the
     * first elements of the given arrays, the second of which contains the
     * second elements of the given arrays, and so on.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {...Array} [arrays] The arrays to process.
     * @returns {Array} Returns the new array of grouped elements.
     * @example
     *
     * _.zip(['a', 'b'], [1, 2], [true, false]);
     * // => [['a', 1, true], ['b', 2, false]]
     */
    var zip = baseRest(unzip);

    /**
     * This method is like `_.fromPairs` except that it accepts two arrays,
     * one of property identifiers and one of corresponding values.
     *
     * @static
     * @memberOf _
     * @since 0.4.0
     * @category Array
     * @param {Array} [props=[]] The property identifiers.
     * @param {Array} [values=[]] The property values.
     * @returns {Object} Returns the new object.
     * @example
     *
     * _.zipObject(['a', 'b'], [1, 2]);
     * // => { 'a': 1, 'b': 2 }
     */
    function zipObject(props, values) {
      return baseZipObject(props || [], values || [], assignValue);
    }

    /**
     * This method is like `_.zipObject` except that it supports property paths.
     *
     * @static
     * @memberOf _
     * @since 4.1.0
     * @category Array
     * @param {Array} [props=[]] The property identifiers.
     * @param {Array} [values=[]] The property values.
     * @returns {Object} Returns the new object.
     * @example
     *
     * _.zipObjectDeep(['a.b[0].c', 'a.b[1].d'], [1, 2]);
     * // => { 'a': { 'b': [{ 'c': 1 }, { 'd': 2 }] } }
     */
    function zipObjectDeep(props, values) {
      return baseZipObject(props || [], values || [], baseSet);
    }

    /**
     * This method is like `_.zip` except that it accepts `iteratee` to specify
     * how grouped values should be combined. The iteratee is invoked with the
     * elements of each group: (...group).
     *
     * @static
     * @memberOf _
     * @since 3.8.0
     * @category Array
     * @param {...Array} [arrays] The arrays to process.
     * @param {Function} [iteratee=_.identity] The function to combine
     *  grouped values.
     * @returns {Array} Returns the new array of grouped elements.
     * @example
     *
     * _.zipWith([1, 2], [10, 20], [100, 200], function(a, b, c) {
     *   return a + b + c;
     * });
     * // => [111, 222]
     */
    var zipWith = baseRest(function(arrays) {
      var length = arrays.length,
          iteratee = length > 1 ? arrays[length - 1] : undefined;

      iteratee = typeof iteratee == 'function' ? (arrays.pop(), iteratee) : undefined;
      return unzipWith(arrays, iteratee);
    });

    /*------------------------------------------------------------------------*/

    /**
     * Creates a `lodash` wrapper instance that wraps `value` with explicit method
     * chain sequences enabled. The result of such sequences must be unwrapped
     * with `_#value`.
     *
     * @static
     * @memberOf _
     * @since 1.3.0
     * @category Seq
     * @param {*} value The value to wrap.
     * @returns {Object} Returns the new `lodash` wrapper instance.
     * @example
     *
     * var users = [
     *   { 'user': 'barney',  'age': 36 },
     *   { 'user': 'fred',    'age': 40 },
     *   { 'user': 'pebbles', 'age': 1 }
     * ];
     *
     * var youngest = _
     *   .chain(users)
     *   .sortBy('age')
     *   .map(function(o) {
     *     return o.user + ' is ' + o.age;
     *   })
     *   .head()
     *   .value();
     * // => 'pebbles is 1'
     */
    function chain(value) {
      var result = lodash(value);
      result.__chain__ = true;
      return result;
    }

    /**
     * This method invokes `interceptor` and returns `value`. The interceptor
     * is invoked with one argument; (value). The purpose of this method is to
     * "tap into" a method chain sequence in order to modify intermediate results.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Seq
     * @param {*} value The value to provide to `interceptor`.
     * @param {Function} interceptor The function to invoke.
     * @returns {*} Returns `value`.
     * @example
     *
     * _([1, 2, 3])
     *  .tap(function(array) {
     *    // Mutate input array.
     *    array.pop();
     *  })
     *  .reverse()
     *  .value();
     * // => [2, 1]
     */
    function tap(value, interceptor) {
      interceptor(value);
      return value;
    }

    /**
     * This method is like `_.tap` except that it returns the result of `interceptor`.
     * The purpose of this method is to "pass thru" values replacing intermediate
     * results in a method chain sequence.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Seq
     * @param {*} value The value to provide to `interceptor`.
     * @param {Function} interceptor The function to invoke.
     * @returns {*} Returns the result of `interceptor`.
     * @example
     *
     * _('  abc  ')
     *  .chain()
     *  .trim()
     *  .thru(function(value) {
     *    return [value];
     *  })
     *  .value();
     * // => ['abc']
     */
    function thru(value, interceptor) {
      return interceptor(value);
    }

    /**
     * This method is the wrapper version of `_.at`.
     *
     * @name at
     * @memberOf _
     * @since 1.0.0
     * @category Seq
     * @param {...(string|string[])} [paths] The property paths to pick.
     * @returns {Object} Returns the new `lodash` wrapper instance.
     * @example
     *
     * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };
     *
     * _(object).at(['a[0].b.c', 'a[1]']).value();
     * // => [3, 4]
     */
    var wrapperAt = flatRest(function(paths) {
      var length = paths.length,
          start = length ? paths[0] : 0,
          value = this.__wrapped__,
          interceptor = function(object) { return baseAt(object, paths); };

      if (length > 1 || this.__actions__.length ||
          !(value instanceof LazyWrapper) || !isIndex(start)) {
        return this.thru(interceptor);
      }
      value = value.slice(start, +start + (length ? 1 : 0));
      value.__actions__.push({
        'func': thru,
        'args': [interceptor],
        'thisArg': undefined
      });
      return new LodashWrapper(value, this.__chain__).thru(function(array) {
        if (length && !array.length) {
          array.push(undefined);
        }
        return array;
      });
    });

    /**
     * Creates a `lodash` wrapper instance with explicit method chain sequences enabled.
     *
     * @name chain
     * @memberOf _
     * @since 0.1.0
     * @category Seq
     * @returns {Object} Returns the new `lodash` wrapper instance.
     * @example
     *
     * var users = [
     *   { 'user': 'barney', 'age': 36 },
     *   { 'user': 'fred',   'age': 40 }
     * ];
     *
     * // A sequence without explicit chaining.
     * _(users).head();
     * // => { 'user': 'barney', 'age': 36 }
     *
     * // A sequence with explicit chaining.
     * _(users)
     *   .chain()
     *   .head()
     *   .pick('user')
     *   .value();
     * // => { 'user': 'barney' }
     */
    function wrapperChain() {
      return chain(this);
    }

    /**
     * Executes the chain sequence and returns the wrapped result.
     *
     * @name commit
     * @memberOf _
     * @since 3.2.0
     * @category Seq
     * @returns {Object} Returns the new `lodash` wrapper instance.
     * @example
     *
     * var array = [1, 2];
     * var wrapped = _(array).push(3);
     *
     * console.log(array);
     * // => [1, 2]
     *
     * wrapped = wrapped.commit();
     * console.log(array);
     * // => [1, 2, 3]
     *
     * wrapped.last();
     * // => 3
     *
     * console.log(array);
     * // => [1, 2, 3]
     */
    function wrapperCommit() {
      return new LodashWrapper(this.value(), this.__chain__);
    }

    /**
     * Gets the next value on a wrapped object following the
     * [iterator protocol](https://mdn.io/iteration_protocols#iterator).
     *
     * @name next
     * @memberOf _
     * @since 4.0.0
     * @category Seq
     * @returns {Object} Returns the next iterator value.
     * @example
     *
     * var wrapped = _([1, 2]);
     *
     * wrapped.next();
     * // => { 'done': false, 'value': 1 }
     *
     * wrapped.next();
     * // => { 'done': false, 'value': 2 }
     *
     * wrapped.next();
     * // => { 'done': true, 'value': undefined }
     */
    function wrapperNext() {
      if (this.__values__ === undefined) {
        this.__values__ = toArray(this.value());
      }
      var done = this.__index__ >= this.__values__.length,
          value = done ? undefined : this.__values__[this.__index__++];

      return { 'done': done, 'value': value };
    }

    /**
     * Enables the wrapper to be iterable.
     *
     * @name Symbol.iterator
     * @memberOf _
     * @since 4.0.0
     * @category Seq
     * @returns {Object} Returns the wrapper object.
     * @example
     *
     * var wrapped = _([1, 2]);
     *
     * wrapped[Symbol.iterator]() === wrapped;
     * // => true
     *
     * Array.from(wrapped);
     * // => [1, 2]
     */
    function wrapperToIterator() {
      return this;
    }

    /**
     * Creates a clone of the chain sequence planting `value` as the wrapped value.
     *
     * @name plant
     * @memberOf _
     * @since 3.2.0
     * @category Seq
     * @param {*} value The value to plant.
     * @returns {Object} Returns the new `lodash` wrapper instance.
     * @example
     *
     * function square(n) {
     *   return n * n;
     * }
     *
     * var wrapped = _([1, 2]).map(square);
     * var other = wrapped.plant([3, 4]);
     *
     * other.value();
     * // => [9, 16]
     *
     * wrapped.value();
     * // => [1, 4]
     */
    function wrapperPlant(value) {
      var result,
          parent = this;

      while (parent instanceof baseLodash) {
        var clone = wrapperClone(parent);
        clone.__index__ = 0;
        clone.__values__ = undefined;
        if (result) {
          previous.__wrapped__ = clone;
        } else {
          result = clone;
        }
        var previous = clone;
        parent = parent.__wrapped__;
      }
      previous.__wrapped__ = value;
      return result;
    }

    /**
     * This method is the wrapper version of `_.reverse`.
     *
     * **Note:** This method mutates the wrapped array.
     *
     * @name reverse
     * @memberOf _
     * @since 0.1.0
     * @category Seq
     * @returns {Object} Returns the new `lodash` wrapper instance.
     * @example
     *
     * var array = [1, 2, 3];
     *
     * _(array).reverse().value()
     * // => [3, 2, 1]
     *
     * console.log(array);
     * // => [3, 2, 1]
     */
    function wrapperReverse() {
      var value = this.__wrapped__;
      if (value instanceof LazyWrapper) {
        var wrapped = value;
        if (this.__actions__.length) {
          wrapped = new LazyWrapper(this);
        }
        wrapped = wrapped.reverse();
        wrapped.__actions__.push({
          'func': thru,
          'args': [reverse],
          'thisArg': undefined
        });
        return new LodashWrapper(wrapped, this.__chain__);
      }
      return this.thru(reverse);
    }

    /**
     * Executes the chain sequence to resolve the unwrapped value.
     *
     * @name value
     * @memberOf _
     * @since 0.1.0
     * @alias toJSON, valueOf
     * @category Seq
     * @returns {*} Returns the resolved unwrapped value.
     * @example
     *
     * _([1, 2, 3]).value();
     * // => [1, 2, 3]
     */
    function wrapperValue() {
      return baseWrapperValue(this.__wrapped__, this.__actions__);
    }

    /*------------------------------------------------------------------------*/

    /**
     * Creates an object composed of keys generated from the results of running
     * each element of `collection` thru `iteratee`. The corresponding value of
     * each key is the number of times the key was returned by `iteratee`. The
     * iteratee is invoked with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 0.5.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [iteratee=_.identity] The iteratee to transform keys.
     * @returns {Object} Returns the composed aggregate object.
     * @example
     *
     * _.countBy([6.1, 4.2, 6.3], Math.floor);
     * // => { '4': 1, '6': 2 }
     *
     * // The `_.property` iteratee shorthand.
     * _.countBy(['one', 'two', 'three'], 'length');
     * // => { '3': 2, '5': 1 }
     */
    var countBy = createAggregator(function(result, value, key) {
      if (hasOwnProperty.call(result, key)) {
        ++result[key];
      } else {
        baseAssignValue(result, key, 1);
      }
    });

    /**
     * Checks if `predicate` returns truthy for **all** elements of `collection`.
     * Iteration is stopped once `predicate` returns falsey. The predicate is
     * invoked with three arguments: (value, index|key, collection).
     *
     * **Note:** This method returns `true` for
     * [empty collections](https://en.wikipedia.org/wiki/Empty_set) because
     * [everything is true](https://en.wikipedia.org/wiki/Vacuous_truth) of
     * elements of empty collections.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {boolean} Returns `true` if all elements pass the predicate check,
     *  else `false`.
     * @example
     *
     * _.every([true, 1, null, 'yes'], Boolean);
     * // => false
     *
     * var users = [
     *   { 'user': 'barney', 'age': 36, 'active': false },
     *   { 'user': 'fred',   'age': 40, 'active': false }
     * ];
     *
     * // The `_.matches` iteratee shorthand.
     * _.every(users, { 'user': 'barney', 'active': false });
     * // => false
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.every(users, ['active', false]);
     * // => true
     *
     * // The `_.property` iteratee shorthand.
     * _.every(users, 'active');
     * // => false
     */
    function every(collection, predicate, guard) {
      var func = isArray(collection) ? arrayEvery : baseEvery;
      if (guard && isIterateeCall(collection, predicate, guard)) {
        predicate = undefined;
      }
      return func(collection, getIteratee(predicate, 3));
    }

    /**
     * Iterates over elements of `collection`, returning an array of all elements
     * `predicate` returns truthy for. The predicate is invoked with three
     * arguments: (value, index|key, collection).
     *
     * **Note:** Unlike `_.remove`, this method returns a new array.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the new filtered array.
     * @see _.reject
     * @example
     *
     * var users = [
     *   { 'user': 'barney', 'age': 36, 'active': true },
     *   { 'user': 'fred',   'age': 40, 'active': false }
     * ];
     *
     * _.filter(users, function(o) { return !o.active; });
     * // => objects for ['fred']
     *
     * // The `_.matches` iteratee shorthand.
     * _.filter(users, { 'age': 36, 'active': true });
     * // => objects for ['barney']
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.filter(users, ['active', false]);
     * // => objects for ['fred']
     *
     * // The `_.property` iteratee shorthand.
     * _.filter(users, 'active');
     * // => objects for ['barney']
     *
     * // Combining several predicates using `_.overEvery` or `_.overSome`.
     * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]]));
     * // => objects for ['fred', 'barney']
     */
    function filter(collection, predicate) {
      var func = isArray(collection) ? arrayFilter : baseFilter;
      return func(collection, getIteratee(predicate, 3));
    }

    /**
     * Iterates over elements of `collection`, returning the first element
     * `predicate` returns truthy for. The predicate is invoked with three
     * arguments: (value, index|key, collection).
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object} collection The collection to inspect.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @param {number} [fromIndex=0] The index to search from.
     * @returns {*} Returns the matched element, else `undefined`.
     * @example
     *
     * var users = [
     *   { 'user': 'barney',  'age': 36, 'active': true },
     *   { 'user': 'fred',    'age': 40, 'active': false },
     *   { 'user': 'pebbles', 'age': 1,  'active': true }
     * ];
     *
     * _.find(users, function(o) { return o.age < 40; });
     * // => object for 'barney'
     *
     * // The `_.matches` iteratee shorthand.
     * _.find(users, { 'age': 1, 'active': true });
     * // => object for 'pebbles'
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.find(users, ['active', false]);
     * // => object for 'fred'
     *
     * // The `_.property` iteratee shorthand.
     * _.find(users, 'active');
     * // => object for 'barney'
     */
    var find = createFind(findIndex);

    /**
     * This method is like `_.find` except that it iterates over elements of
     * `collection` from right to left.
     *
     * @static
     * @memberOf _
     * @since 2.0.0
     * @category Collection
     * @param {Array|Object} collection The collection to inspect.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @param {number} [fromIndex=collection.length-1] The index to search from.
     * @returns {*} Returns the matched element, else `undefined`.
     * @example
     *
     * _.findLast([1, 2, 3, 4], function(n) {
     *   return n % 2 == 1;
     * });
     * // => 3
     */
    var findLast = createFind(findLastIndex);

    /**
     * Creates a flattened array of values by running each element in `collection`
     * thru `iteratee` and flattening the mapped results. The iteratee is invoked
     * with three arguments: (value, index|key, collection).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the new flattened array.
     * @example
     *
     * function duplicate(n) {
     *   return [n, n];
     * }
     *
     * _.flatMap([1, 2], duplicate);
     * // => [1, 1, 2, 2]
     */
    function flatMap(collection, iteratee) {
      return baseFlatten(map(collection, iteratee), 1);
    }

    /**
     * This method is like `_.flatMap` except that it recursively flattens the
     * mapped results.
     *
     * @static
     * @memberOf _
     * @since 4.7.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the new flattened array.
     * @example
     *
     * function duplicate(n) {
     *   return [[[n, n]]];
     * }
     *
     * _.flatMapDeep([1, 2], duplicate);
     * // => [1, 1, 2, 2]
     */
    function flatMapDeep(collection, iteratee) {
      return baseFlatten(map(collection, iteratee), INFINITY);
    }

    /**
     * This method is like `_.flatMap` except that it recursively flattens the
     * mapped results up to `depth` times.
     *
     * @static
     * @memberOf _
     * @since 4.7.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @param {number} [depth=1] The maximum recursion depth.
     * @returns {Array} Returns the new flattened array.
     * @example
     *
     * function duplicate(n) {
     *   return [[[n, n]]];
     * }
     *
     * _.flatMapDepth([1, 2], duplicate, 2);
     * // => [[1, 1], [2, 2]]
     */
    function flatMapDepth(collection, iteratee, depth) {
      depth = depth === undefined ? 1 : toInteger(depth);
      return baseFlatten(map(collection, iteratee), depth);
    }

    /**
     * Iterates over elements of `collection` and invokes `iteratee` for each element.
     * The iteratee is invoked with three arguments: (value, index|key, collection).
     * Iteratee functions may exit iteration early by explicitly returning `false`.
     *
     * **Note:** As with other "Collections" methods, objects with a "length"
     * property are iterated like arrays. To avoid this behavior use `_.forIn`
     * or `_.forOwn` for object iteration.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @alias each
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Array|Object} Returns `collection`.
     * @see _.forEachRight
     * @example
     *
     * _.forEach([1, 2], function(value) {
     *   console.log(value);
     * });
     * // => Logs `1` then `2`.
     *
     * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {
     *   console.log(key);
     * });
     * // => Logs 'a' then 'b' (iteration order is not guaranteed).
     */
    function forEach(collection, iteratee) {
      var func = isArray(collection) ? arrayEach : baseEach;
      return func(collection, getIteratee(iteratee, 3));
    }

    /**
     * This method is like `_.forEach` except that it iterates over elements of
     * `collection` from right to left.
     *
     * @static
     * @memberOf _
     * @since 2.0.0
     * @alias eachRight
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Array|Object} Returns `collection`.
     * @see _.forEach
     * @example
     *
     * _.forEachRight([1, 2], function(value) {
     *   console.log(value);
     * });
     * // => Logs `2` then `1`.
     */
    function forEachRight(collection, iteratee) {
      var func = isArray(collection) ? arrayEachRight : baseEachRight;
      return func(collection, getIteratee(iteratee, 3));
    }

    /**
     * Creates an object composed of keys generated from the results of running
     * each element of `collection` thru `iteratee`. The order of grouped values
     * is determined by the order they occur in `collection`. The corresponding
     * value of each key is an array of elements responsible for generating the
     * key. The iteratee is invoked with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [iteratee=_.identity] The iteratee to transform keys.
     * @returns {Object} Returns the composed aggregate object.
     * @example
     *
     * _.groupBy([6.1, 4.2, 6.3], Math.floor);
     * // => { '4': [4.2], '6': [6.1, 6.3] }
     *
     * // The `_.property` iteratee shorthand.
     * _.groupBy(['one', 'two', 'three'], 'length');
     * // => { '3': ['one', 'two'], '5': ['three'] }
     */
    var groupBy = createAggregator(function(result, value, key) {
      if (hasOwnProperty.call(result, key)) {
        result[key].push(value);
      } else {
        baseAssignValue(result, key, [value]);
      }
    });

    /**
     * Checks if `value` is in `collection`. If `collection` is a string, it's
     * checked for a substring of `value`, otherwise
     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
     * is used for equality comparisons. If `fromIndex` is negative, it's used as
     * the offset from the end of `collection`.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object|string} collection The collection to inspect.
     * @param {*} value The value to search for.
     * @param {number} [fromIndex=0] The index to search from.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.
     * @returns {boolean} Returns `true` if `value` is found, else `false`.
     * @example
     *
     * _.includes([1, 2, 3], 1);
     * // => true
     *
     * _.includes([1, 2, 3], 1, 2);
     * // => false
     *
     * _.includes({ 'a': 1, 'b': 2 }, 1);
     * // => true
     *
     * _.includes('abcd', 'bc');
     * // => true
     */
    function includes(collection, value, fromIndex, guard) {
      collection = isArrayLike(collection) ? collection : values(collection);
      fromIndex = (fromIndex && !guard) ? toInteger(fromIndex) : 0;

      var length = collection.length;
      if (fromIndex < 0) {
        fromIndex = nativeMax(length + fromIndex, 0);
      }
      return isString(collection)
        ? (fromIndex <= length && collection.indexOf(value, fromIndex) > -1)
        : (!!length && baseIndexOf(collection, value, fromIndex) > -1);
    }

    /**
     * Invokes the method at `path` of each element in `collection`, returning
     * an array of the results of each invoked method. Any additional arguments
     * are provided to each invoked method. If `path` is a function, it's invoked
     * for, and `this` bound to, each element in `collection`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Array|Function|string} path The path of the method to invoke or
     *  the function invoked per iteration.
     * @param {...*} [args] The arguments to invoke each method with.
     * @returns {Array} Returns the array of results.
     * @example
     *
     * _.invokeMap([[5, 1, 7], [3, 2, 1]], 'sort');
     * // => [[1, 5, 7], [1, 2, 3]]
     *
     * _.invokeMap([123, 456], String.prototype.split, '');
     * // => [['1', '2', '3'], ['4', '5', '6']]
     */
    var invokeMap = baseRest(function(collection, path, args) {
      var index = -1,
          isFunc = typeof path == 'function',
          result = isArrayLike(collection) ? Array(collection.length) : [];

      baseEach(collection, function(value) {
        result[++index] = isFunc ? apply(path, value, args) : baseInvoke(value, path, args);
      });
      return result;
    });

    /**
     * Creates an object composed of keys generated from the results of running
     * each element of `collection` thru `iteratee`. The corresponding value of
     * each key is the last element responsible for generating the key. The
     * iteratee is invoked with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [iteratee=_.identity] The iteratee to transform keys.
     * @returns {Object} Returns the composed aggregate object.
     * @example
     *
     * var array = [
     *   { 'dir': 'left', 'code': 97 },
     *   { 'dir': 'right', 'code': 100 }
     * ];
     *
     * _.keyBy(array, function(o) {
     *   return String.fromCharCode(o.code);
     * });
     * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }
     *
     * _.keyBy(array, 'dir');
     * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } }
     */
    var keyBy = createAggregator(function(result, value, key) {
      baseAssignValue(result, key, value);
    });

    /**
     * Creates an array of values by running each element in `collection` thru
     * `iteratee`. The iteratee is invoked with three arguments:
     * (value, index|key, collection).
     *
     * Many lodash methods are guarded to work as iteratees for methods like
     * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.
     *
     * The guarded methods are:
     * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,
     * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,
     * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,
     * `template`, `trim`, `trimEnd`, `trimStart`, and `words`
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the new mapped array.
     * @example
     *
     * function square(n) {
     *   return n * n;
     * }
     *
     * _.map([4, 8], square);
     * // => [16, 64]
     *
     * _.map({ 'a': 4, 'b': 8 }, square);
     * // => [16, 64] (iteration order is not guaranteed)
     *
     * var users = [
     *   { 'user': 'barney' },
     *   { 'user': 'fred' }
     * ];
     *
     * // The `_.property` iteratee shorthand.
     * _.map(users, 'user');
     * // => ['barney', 'fred']
     */
    function map(collection, iteratee) {
      var func = isArray(collection) ? arrayMap : baseMap;
      return func(collection, getIteratee(iteratee, 3));
    }

    /**
     * This method is like `_.sortBy` except that it allows specifying the sort
     * orders of the iteratees to sort by. If `orders` is unspecified, all values
     * are sorted in ascending order. Otherwise, specify an order of "desc" for
     * descending or "asc" for ascending sort order of corresponding values.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Array[]|Function[]|Object[]|string[]} [iteratees=[_.identity]]
     *  The iteratees to sort by.
     * @param {string[]} [orders] The sort orders of `iteratees`.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.
     * @returns {Array} Returns the new sorted array.
     * @example
     *
     * var users = [
     *   { 'user': 'fred',   'age': 48 },
     *   { 'user': 'barney', 'age': 34 },
     *   { 'user': 'fred',   'age': 40 },
     *   { 'user': 'barney', 'age': 36 }
     * ];
     *
     * // Sort by `user` in ascending order and by `age` in descending order.
     * _.orderBy(users, ['user', 'age'], ['asc', 'desc']);
     * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]
     */
    function orderBy(collection, iteratees, orders, guard) {
      if (collection == null) {
        return [];
      }
      if (!isArray(iteratees)) {
        iteratees = iteratees == null ? [] : [iteratees];
      }
      orders = guard ? undefined : orders;
      if (!isArray(orders)) {
        orders = orders == null ? [] : [orders];
      }
      return baseOrderBy(collection, iteratees, orders);
    }

    /**
     * Creates an array of elements split into two groups, the first of which
     * contains elements `predicate` returns truthy for, the second of which
     * contains elements `predicate` returns falsey for. The predicate is
     * invoked with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the array of grouped elements.
     * @example
     *
     * var users = [
     *   { 'user': 'barney',  'age': 36, 'active': false },
     *   { 'user': 'fred',    'age': 40, 'active': true },
     *   { 'user': 'pebbles', 'age': 1,  'active': false }
     * ];
     *
     * _.partition(users, function(o) { return o.active; });
     * // => objects for [['fred'], ['barney', 'pebbles']]
     *
     * // The `_.matches` iteratee shorthand.
     * _.partition(users, { 'age': 1, 'active': false });
     * // => objects for [['pebbles'], ['barney', 'fred']]
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.partition(users, ['active', false]);
     * // => objects for [['barney', 'pebbles'], ['fred']]
     *
     * // The `_.property` iteratee shorthand.
     * _.partition(users, 'active');
     * // => objects for [['fred'], ['barney', 'pebbles']]
     */
    var partition = createAggregator(function(result, value, key) {
      result[key ? 0 : 1].push(value);
    }, function() { return [[], []]; });

    /**
     * Reduces `collection` to a value which is the accumulated result of running
     * each element in `collection` thru `iteratee`, where each successive
     * invocation is supplied the return value of the previous. If `accumulator`
     * is not given, the first element of `collection` is used as the initial
     * value. The iteratee is invoked with four arguments:
     * (accumulator, value, index|key, collection).
     *
     * Many lodash methods are guarded to work as iteratees for methods like
     * `_.reduce`, `_.reduceRight`, and `_.transform`.
     *
     * The guarded methods are:
     * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`,
     * and `sortBy`
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @param {*} [accumulator] The initial value.
     * @returns {*} Returns the accumulated value.
     * @see _.reduceRight
     * @example
     *
     * _.reduce([1, 2], function(sum, n) {
     *   return sum + n;
     * }, 0);
     * // => 3
     *
     * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {
     *   (result[value] || (result[value] = [])).push(key);
     *   return result;
     * }, {});
     * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)
     */
    function reduce(collection, iteratee, accumulator) {
      var func = isArray(collection) ? arrayReduce : baseReduce,
          initAccum = arguments.length < 3;

      return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEach);
    }

    /**
     * This method is like `_.reduce` except that it iterates over elements of
     * `collection` from right to left.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @param {*} [accumulator] The initial value.
     * @returns {*} Returns the accumulated value.
     * @see _.reduce
     * @example
     *
     * var array = [[0, 1], [2, 3], [4, 5]];
     *
     * _.reduceRight(array, function(flattened, other) {
     *   return flattened.concat(other);
     * }, []);
     * // => [4, 5, 2, 3, 0, 1]
     */
    function reduceRight(collection, iteratee, accumulator) {
      var func = isArray(collection) ? arrayReduceRight : baseReduce,
          initAccum = arguments.length < 3;

      return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEachRight);
    }

    /**
     * The opposite of `_.filter`; this method returns the elements of `collection`
     * that `predicate` does **not** return truthy for.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the new filtered array.
     * @see _.filter
     * @example
     *
     * var users = [
     *   { 'user': 'barney', 'age': 36, 'active': false },
     *   { 'user': 'fred',   'age': 40, 'active': true }
     * ];
     *
     * _.reject(users, function(o) { return !o.active; });
     * // => objects for ['fred']
     *
     * // The `_.matches` iteratee shorthand.
     * _.reject(users, { 'age': 40, 'active': true });
     * // => objects for ['barney']
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.reject(users, ['active', false]);
     * // => objects for ['fred']
     *
     * // The `_.property` iteratee shorthand.
     * _.reject(users, 'active');
     * // => objects for ['barney']
     */
    function reject(collection, predicate) {
      var func = isArray(collection) ? arrayFilter : baseFilter;
      return func(collection, negate(getIteratee(predicate, 3)));
    }

    /**
     * Gets a random element from `collection`.
     *
     * @static
     * @memberOf _
     * @since 2.0.0
     * @category Collection
     * @param {Array|Object} collection The collection to sample.
     * @returns {*} Returns the random element.
     * @example
     *
     * _.sample([1, 2, 3, 4]);
     * // => 2
     */
    function sample(collection) {
      var func = isArray(collection) ? arraySample : baseSample;
      return func(collection);
    }

    /**
     * Gets `n` random elements at unique keys from `collection` up to the
     * size of `collection`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Collection
     * @param {Array|Object} collection The collection to sample.
     * @param {number} [n=1] The number of elements to sample.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {Array} Returns the random elements.
     * @example
     *
     * _.sampleSize([1, 2, 3], 2);
     * // => [3, 1]
     *
     * _.sampleSize([1, 2, 3], 4);
     * // => [2, 3, 1]
     */
    function sampleSize(collection, n, guard) {
      if ((guard ? isIterateeCall(collection, n, guard) : n === undefined)) {
        n = 1;
      } else {
        n = toInteger(n);
      }
      var func = isArray(collection) ? arraySampleSize : baseSampleSize;
      return func(collection, n);
    }

    /**
     * Creates an array of shuffled values, using a version of the
     * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle).
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object} collection The collection to shuffle.
     * @returns {Array} Returns the new shuffled array.
     * @example
     *
     * _.shuffle([1, 2, 3, 4]);
     * // => [4, 1, 3, 2]
     */
    function shuffle(collection) {
      var func = isArray(collection) ? arrayShuffle : baseShuffle;
      return func(collection);
    }

    /**
     * Gets the size of `collection` by returning its length for array-like
     * values or the number of own enumerable string keyed properties for objects.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object|string} collection The collection to inspect.
     * @returns {number} Returns the collection size.
     * @example
     *
     * _.size([1, 2, 3]);
     * // => 3
     *
     * _.size({ 'a': 1, 'b': 2 });
     * // => 2
     *
     * _.size('pebbles');
     * // => 7
     */
    function size(collection) {
      if (collection == null) {
        return 0;
      }
      if (isArrayLike(collection)) {
        return isString(collection) ? stringSize(collection) : collection.length;
      }
      var tag = getTag(collection);
      if (tag == mapTag || tag == setTag) {
        return collection.size;
      }
      return baseKeys(collection).length;
    }

    /**
     * Checks if `predicate` returns truthy for **any** element of `collection`.
     * Iteration is stopped once `predicate` returns truthy. The predicate is
     * invoked with three arguments: (value, index|key, collection).
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {boolean} Returns `true` if any element passes the predicate check,
     *  else `false`.
     * @example
     *
     * _.some([null, 0, 'yes', false], Boolean);
     * // => true
     *
     * var users = [
     *   { 'user': 'barney', 'active': true },
     *   { 'user': 'fred',   'active': false }
     * ];
     *
     * // The `_.matches` iteratee shorthand.
     * _.some(users, { 'user': 'barney', 'active': false });
     * // => false
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.some(users, ['active', false]);
     * // => true
     *
     * // The `_.property` iteratee shorthand.
     * _.some(users, 'active');
     * // => true
     */
    function some(collection, predicate, guard) {
      var func = isArray(collection) ? arraySome : baseSome;
      if (guard && isIterateeCall(collection, predicate, guard)) {
        predicate = undefined;
      }
      return func(collection, getIteratee(predicate, 3));
    }

    /**
     * Creates an array of elements, sorted in ascending order by the results of
     * running each element in a collection thru each iteratee. This method
     * performs a stable sort, that is, it preserves the original sort order of
     * equal elements. The iteratees are invoked with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {...(Function|Function[])} [iteratees=[_.identity]]
     *  The iteratees to sort by.
     * @returns {Array} Returns the new sorted array.
     * @example
     *
     * var users = [
     *   { 'user': 'fred',   'age': 48 },
     *   { 'user': 'barney', 'age': 36 },
     *   { 'user': 'fred',   'age': 30 },
     *   { 'user': 'barney', 'age': 34 }
     * ];
     *
     * _.sortBy(users, [function(o) { return o.user; }]);
     * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]]
     *
     * _.sortBy(users, ['user', 'age']);
     * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]]
     */
    var sortBy = baseRest(function(collection, iteratees) {
      if (collection == null) {
        return [];
      }
      var length = iteratees.length;
      if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) {
        iteratees = [];
      } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) {
        iteratees = [iteratees[0]];
      }
      return baseOrderBy(collection, baseFlatten(iteratees, 1), []);
    });

    /*------------------------------------------------------------------------*/

    /**
     * Gets the timestamp of the number of milliseconds that have elapsed since
     * the Unix epoch (1 January 1970 00:00:00 UTC).
     *
     * @static
     * @memberOf _
     * @since 2.4.0
     * @category Date
     * @returns {number} Returns the timestamp.
     * @example
     *
     * _.defer(function(stamp) {
     *   console.log(_.now() - stamp);
     * }, _.now());
     * // => Logs the number of milliseconds it took for the deferred invocation.
     */
    var now = ctxNow || function() {
      return root.Date.now();
    };

    /*------------------------------------------------------------------------*/

    /**
     * The opposite of `_.before`; this method creates a function that invokes
     * `func` once it's called `n` or more times.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Function
     * @param {number} n The number of calls before `func` is invoked.
     * @param {Function} func The function to restrict.
     * @returns {Function} Returns the new restricted function.
     * @example
     *
     * var saves = ['profile', 'settings'];
     *
     * var done = _.after(saves.length, function() {
     *   console.log('done saving!');
     * });
     *
     * _.forEach(saves, function(type) {
     *   asyncSave({ 'type': type, 'complete': done });
     * });
     * // => Logs 'done saving!' after the two async saves have completed.
     */
    function after(n, func) {
      if (typeof func != 'function') {
        throw new TypeError(FUNC_ERROR_TEXT);
      }
      n = toInteger(n);
      return function() {
        if (--n < 1) {
          return func.apply(this, arguments);
        }
      };
    }

    /**
     * Creates a function that invokes `func`, with up to `n` arguments,
     * ignoring any additional arguments.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Function
     * @param {Function} func The function to cap arguments for.
     * @param {number} [n=func.length] The arity cap.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {Function} Returns the new capped function.
     * @example
     *
     * _.map(['6', '8', '10'], _.ary(parseInt, 1));
     * // => [6, 8, 10]
     */
    function ary(func, n, guard) {
      n = guard ? undefined : n;
      n = (func && n == null) ? func.length : n;
      return createWrap(func, WRAP_ARY_FLAG, undefined, undefined, undefined, undefined, n);
    }

    /**
     * Creates a function that invokes `func`, with the `this` binding and arguments
     * of the created function, while it's called less than `n` times. Subsequent
     * calls to the created function return the result of the last `func` invocation.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Function
     * @param {number} n The number of calls at which `func` is no longer invoked.
     * @param {Function} func The function to restrict.
     * @returns {Function} Returns the new restricted function.
     * @example
     *
     * jQuery(element).on('click', _.before(5, addContactToList));
     * // => Allows adding up to 4 contacts to the list.
     */
    function before(n, func) {
      var result;
      if (typeof func != 'function') {
        throw new TypeError(FUNC_ERROR_TEXT);
      }
      n = toInteger(n);
      return function() {
        if (--n > 0) {
          result = func.apply(this, arguments);
        }
        if (n <= 1) {
          func = undefined;
        }
        return result;
      };
    }

    /**
     * Creates a function that invokes `func` with the `this` binding of `thisArg`
     * and `partials` prepended to the arguments it receives.
     *
     * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds,
     * may be used as a placeholder for partially applied arguments.
     *
     * **Note:** Unlike native `Function#bind`, this method doesn't set the "length"
     * property of bound functions.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Function
     * @param {Function} func The function to bind.
     * @param {*} thisArg The `this` binding of `func`.
     * @param {...*} [partials] The arguments to be partially applied.
     * @returns {Function} Returns the new bound function.
     * @example
     *
     * function greet(greeting, punctuation) {
     *   return greeting + ' ' + this.user + punctuation;
     * }
     *
     * var object = { 'user': 'fred' };
     *
     * var bound = _.bind(greet, object, 'hi');
     * bound('!');
     * // => 'hi fred!'
     *
     * // Bound with placeholders.
     * var bound = _.bind(greet, object, _, '!');
     * bound('hi');
     * // => 'hi fred!'
     */
    var bind = baseRest(function(func, thisArg, partials) {
      var bitmask = WRAP_BIND_FLAG;
      if (partials.length) {
        var holders = replaceHolders(partials, getHolder(bind));
        bitmask |= WRAP_PARTIAL_FLAG;
      }
      return createWrap(func, bitmask, thisArg, partials, holders);
    });

    /**
     * Creates a function that invokes the method at `object[key]` with `partials`
     * prepended to the arguments it receives.
     *
     * This method differs from `_.bind` by allowing bound functions to reference
     * methods that may be redefined or don't yet exist. See
     * [Peter Michaux's article](http://peter.michaux.ca/articles/lazy-function-definition-pattern)
     * for more details.
     *
     * The `_.bindKey.placeholder` value, which defaults to `_` in monolithic
     * builds, may be used as a placeholder for partially applied arguments.
     *
     * @static
     * @memberOf _
     * @since 0.10.0
     * @category Function
     * @param {Object} object The object to invoke the method on.
     * @param {string} key The key of the method.
     * @param {...*} [partials] The arguments to be partially applied.
     * @returns {Function} Returns the new bound function.
     * @example
     *
     * var object = {
     *   'user': 'fred',
     *   'greet': function(greeting, punctuation) {
     *     return greeting + ' ' + this.user + punctuation;
     *   }
     * };
     *
     * var bound = _.bindKey(object, 'greet', 'hi');
     * bound('!');
     * // => 'hi fred!'
     *
     * object.greet = function(greeting, punctuation) {
     *   return greeting + 'ya ' + this.user + punctuation;
     * };
     *
     * bound('!');
     * // => 'hiya fred!'
     *
     * // Bound with placeholders.
     * var bound = _.bindKey(object, 'greet', _, '!');
     * bound('hi');
     * // => 'hiya fred!'
     */
    var bindKey = baseRest(function(object, key, partials) {
      var bitmask = WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG;
      if (partials.length) {
        var holders = replaceHolders(partials, getHolder(bindKey));
        bitmask |= WRAP_PARTIAL_FLAG;
      }
      return createWrap(key, bitmask, object, partials, holders);
    });

    /**
     * Creates a function that accepts arguments of `func` and either invokes
     * `func` returning its result, if at least `arity` number of arguments have
     * been provided, or returns a function that accepts the remaining `func`
     * arguments, and so on. The arity of `func` may be specified if `func.length`
     * is not sufficient.
     *
     * The `_.curry.placeholder` value, which defaults to `_` in monolithic builds,
     * may be used as a placeholder for provided arguments.
     *
     * **Note:** This method doesn't set the "length" property of curried functions.
     *
     * @static
     * @memberOf _
     * @since 2.0.0
     * @category Function
     * @param {Function} func The function to curry.
     * @param {number} [arity=func.length] The arity of `func`.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {Function} Returns the new curried function.
     * @example
     *
     * var abc = function(a, b, c) {
     *   return [a, b, c];
     * };
     *
     * var curried = _.curry(abc);
     *
     * curried(1)(2)(3);
     * // => [1, 2, 3]
     *
     * curried(1, 2)(3);
     * // => [1, 2, 3]
     *
     * curried(1, 2, 3);
     * // => [1, 2, 3]
     *
     * // Curried with placeholders.
     * curried(1)(_, 3)(2);
     * // => [1, 2, 3]
     */
    function curry(func, arity, guard) {
      arity = guard ? undefined : arity;
      var result = createWrap(func, WRAP_CURRY_FLAG, undefined, undefined, undefined, undefined, undefined, arity);
      result.placeholder = curry.placeholder;
      return result;
    }

    /**
     * This method is like `_.curry` except that arguments are applied to `func`
     * in the manner of `_.partialRight` instead of `_.partial`.
     *
     * The `_.curryRight.placeholder` value, which defaults to `_` in monolithic
     * builds, may be used as a placeholder for provided arguments.
     *
     * **Note:** This method doesn't set the "length" property of curried functions.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Function
     * @param {Function} func The function to curry.
     * @param {number} [arity=func.length] The arity of `func`.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {Function} Returns the new curried function.
     * @example
     *
     * var abc = function(a, b, c) {
     *   return [a, b, c];
     * };
     *
     * var curried = _.curryRight(abc);
     *
     * curried(3)(2)(1);
     * // => [1, 2, 3]
     *
     * curried(2, 3)(1);
     * // => [1, 2, 3]
     *
     * curried(1, 2, 3);
     * // => [1, 2, 3]
     *
     * // Curried with placeholders.
     * curried(3)(1, _)(2);
     * // => [1, 2, 3]
     */
    function curryRight(func, arity, guard) {
      arity = guard ? undefined : arity;
      var result = createWrap(func, WRAP_CURRY_RIGHT_FLAG, undefined, undefined, undefined, undefined, undefined, arity);
      result.placeholder = curryRight.placeholder;
      return result;
    }

    /**
     * Creates a debounced function that delays invoking `func` until after `wait`
     * milliseconds have elapsed since the last time the debounced function was
     * invoked. The debounced function comes with a `cancel` method to cancel
     * delayed `func` invocations and a `flush` method to immediately invoke them.
     * Provide `options` to indicate whether `func` should be invoked on the
     * leading and/or trailing edge of the `wait` timeout. The `func` is invoked
     * with the last arguments provided to the debounced function. Subsequent
     * calls to the debounced function return the result of the last `func`
     * invocation.
     *
     * **Note:** If `leading` and `trailing` options are `true`, `func` is
     * invoked on the trailing edge of the timeout only if the debounced function
     * is invoked more than once during the `wait` timeout.
     *
     * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
     * until to the next tick, similar to `setTimeout` with a timeout of `0`.
     *
     * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
     * for details over the differences between `_.debounce` and `_.throttle`.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Function
     * @param {Function} func The function to debounce.
     * @param {number} [wait=0] The number of milliseconds to delay.
     * @param {Object} [options={}] The options object.
     * @param {boolean} [options.leading=false]
     *  Specify invoking on the leading edge of the timeout.
     * @param {number} [options.maxWait]
     *  The maximum time `func` is allowed to be delayed before it's invoked.
     * @param {boolean} [options.trailing=true]
     *  Specify invoking on the trailing edge of the timeout.
     * @returns {Function} Returns the new debounced function.
     * @example
     *
     * // Avoid costly calculations while the window size is in flux.
     * jQuery(window).on('resize', _.debounce(calculateLayout, 150));
     *
     * // Invoke `sendMail` when clicked, debouncing subsequent calls.
     * jQuery(element).on('click', _.debounce(sendMail, 300, {
     *   'leading': true,
     *   'trailing': false
     * }));
     *
     * // Ensure `batchLog` is invoked once after 1 second of debounced calls.
     * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
     * var source = new EventSource('/stream');
     * jQuery(source).on('message', debounced);
     *
     * // Cancel the trailing debounced invocation.
     * jQuery(window).on('popstate', debounced.cancel);
     */
    function debounce(func, wait, options) {
      var lastArgs,
          lastThis,
          maxWait,
          result,
          timerId,
          lastCallTime,
          lastInvokeTime = 0,
          leading = false,
          maxing = false,
          trailing = true;

      if (typeof func != 'function') {
        throw new TypeError(FUNC_ERROR_TEXT);
      }
      wait = toNumber(wait) || 0;
      if (isObject(options)) {
        leading = !!options.leading;
        maxing = 'maxWait' in options;
        maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
        trailing = 'trailing' in options ? !!options.trailing : trailing;
      }

      function invokeFunc(time) {
        var args = lastArgs,
            thisArg = lastThis;

        lastArgs = lastThis = undefined;
        lastInvokeTime = time;
        result = func.apply(thisArg, args);
        return result;
      }

      function leadingEdge(time) {
        // Reset any `maxWait` timer.
        lastInvokeTime = time;
        // Start the timer for the trailing edge.
        timerId = setTimeout(timerExpired, wait);
        // Invoke the leading edge.
        return leading ? invokeFunc(time) : result;
      }

      function remainingWait(time) {
        var timeSinceLastCall = time - lastCallTime,
            timeSinceLastInvoke = time - lastInvokeTime,
            timeWaiting = wait - timeSinceLastCall;

        return maxing
          ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)
          : timeWaiting;
      }

      function shouldInvoke(time) {
        var timeSinceLastCall = time - lastCallTime,
            timeSinceLastInvoke = time - lastInvokeTime;

        // Either this is the first call, activity has stopped and we're at the
        // trailing edge, the system time has gone backwards and we're treating
        // it as the trailing edge, or we've hit the `maxWait` limit.
        return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||
          (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));
      }

      function timerExpired() {
        var time = now();
        if (shouldInvoke(time)) {
          return trailingEdge(time);
        }
        // Restart the timer.
        timerId = setTimeout(timerExpired, remainingWait(time));
      }

      function trailingEdge(time) {
        timerId = undefined;

        // Only invoke if we have `lastArgs` which means `func` has been
        // debounced at least once.
        if (trailing && lastArgs) {
          return invokeFunc(time);
        }
        lastArgs = lastThis = undefined;
        return result;
      }

      function cancel() {
        if (timerId !== undefined) {
          clearTimeout(timerId);
        }
        lastInvokeTime = 0;
        lastArgs = lastCallTime = lastThis = timerId = undefined;
      }

      function flush() {
        return timerId === undefined ? result : trailingEdge(now());
      }

      function debounced() {
        var time = now(),
            isInvoking = shouldInvoke(time);

        lastArgs = arguments;
        lastThis = this;
        lastCallTime = time;

        if (isInvoking) {
          if (timerId === undefined) {
            return leadingEdge(lastCallTime);
          }
          if (maxing) {
            // Handle invocations in a tight loop.
            clearTimeout(timerId);
            timerId = setTimeout(timerExpired, wait);
            return invokeFunc(lastCallTime);
          }
        }
        if (timerId === undefined) {
          timerId = setTimeout(timerExpired, wait);
        }
        return result;
      }
      debounced.cancel = cancel;
      debounced.flush = flush;
      return debounced;
    }

    /**
     * Defers invoking the `func` until the current call stack has cleared. Any
     * additional arguments are provided to `func` when it's invoked.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Function
     * @param {Function} func The function to defer.
     * @param {...*} [args] The arguments to invoke `func` with.
     * @returns {number} Returns the timer id.
     * @example
     *
     * _.defer(function(text) {
     *   console.log(text);
     * }, 'deferred');
     * // => Logs 'deferred' after one millisecond.
     */
    var defer = baseRest(function(func, args) {
      return baseDelay(func, 1, args);
    });

    /**
     * Invokes `func` after `wait` milliseconds. Any additional arguments are
     * provided to `func` when it's invoked.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Function
     * @param {Function} func The function to delay.
     * @param {number} wait The number of milliseconds to delay invocation.
     * @param {...*} [args] The arguments to invoke `func` with.
     * @returns {number} Returns the timer id.
     * @example
     *
     * _.delay(function(text) {
     *   console.log(text);
     * }, 1000, 'later');
     * // => Logs 'later' after one second.
     */
    var delay = baseRest(function(func, wait, args) {
      return baseDelay(func, toNumber(wait) || 0, args);
    });

    /**
     * Creates a function that invokes `func` with arguments reversed.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Function
     * @param {Function} func The function to flip arguments for.
     * @returns {Function} Returns the new flipped function.
     * @example
     *
     * var flipped = _.flip(function() {
     *   return _.toArray(arguments);
     * });
     *
     * flipped('a', 'b', 'c', 'd');
     * // => ['d', 'c', 'b', 'a']
     */
    function flip(func) {
      return createWrap(func, WRAP_FLIP_FLAG);
    }

    /**
     * Creates a function that memoizes the result of `func`. If `resolver` is
     * provided, it determines the cache key for storing the result based on the
     * arguments provided to the memoized function. By default, the first argument
     * provided to the memoized function is used as the map cache key. The `func`
     * is invoked with the `this` binding of the memoized function.
     *
     * **Note:** The cache is exposed as the `cache` property on the memoized
     * function. Its creation may be customized by replacing the `_.memoize.Cache`
     * constructor with one whose instances implement the
     * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
     * method interface of `clear`, `delete`, `get`, `has`, and `set`.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Function
     * @param {Function} func The function to have its output memoized.
     * @param {Function} [resolver] The function to resolve the cache key.
     * @returns {Function} Returns the new memoized function.
     * @example
     *
     * var object = { 'a': 1, 'b': 2 };
     * var other = { 'c': 3, 'd': 4 };
     *
     * var values = _.memoize(_.values);
     * values(object);
     * // => [1, 2]
     *
     * values(other);
     * // => [3, 4]
     *
     * object.a = 2;
     * values(object);
     * // => [1, 2]
     *
     * // Modify the result cache.
     * values.cache.set(object, ['a', 'b']);
     * values(object);
     * // => ['a', 'b']
     *
     * // Replace `_.memoize.Cache`.
     * _.memoize.Cache = WeakMap;
     */
    function memoize(func, resolver) {
      if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {
        throw new TypeError(FUNC_ERROR_TEXT);
      }
      var memoized = function() {
        var args = arguments,
            key = resolver ? resolver.apply(this, args) : args[0],
            cache = memoized.cache;

        if (cache.has(key)) {
          return cache.get(key);
        }
        var result = func.apply(this, args);
        memoized.cache = cache.set(key, result) || cache;
        return result;
      };
      memoized.cache = new (memoize.Cache || MapCache);
      return memoized;
    }

    // Expose `MapCache`.
    memoize.Cache = MapCache;

    /**
     * Creates a function that negates the result of the predicate `func`. The
     * `func` predicate is invoked with the `this` binding and arguments of the
     * created function.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Function
     * @param {Function} predicate The predicate to negate.
     * @returns {Function} Returns the new negated function.
     * @example
     *
     * function isEven(n) {
     *   return n % 2 == 0;
     * }
     *
     * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven));
     * // => [1, 3, 5]
     */
    function negate(predicate) {
      if (typeof predicate != 'function') {
        throw new TypeError(FUNC_ERROR_TEXT);
      }
      return function() {
        var args = arguments;
        switch (args.length) {
          case 0: return !predicate.call(this);
          case 1: return !predicate.call(this, args[0]);
          case 2: return !predicate.call(this, args[0], args[1]);
          case 3: return !predicate.call(this, args[0], args[1], args[2]);
        }
        return !predicate.apply(this, args);
      };
    }

    /**
     * Creates a function that is restricted to invoking `func` once. Repeat calls
     * to the function return the value of the first invocation. The `func` is
     * invoked with the `this` binding and arguments of the created function.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Function
     * @param {Function} func The function to restrict.
     * @returns {Function} Returns the new restricted function.
     * @example
     *
     * var initialize = _.once(createApplication);
     * initialize();
     * initialize();
     * // => `createApplication` is invoked once
     */
    function once(func) {
      return before(2, func);
    }

    /**
     * Creates a function that invokes `func` with its arguments transformed.
     *
     * @static
     * @since 4.0.0
     * @memberOf _
     * @category Function
     * @param {Function} func The function to wrap.
     * @param {...(Function|Function[])} [transforms=[_.identity]]
     *  The argument transforms.
     * @returns {Function} Returns the new function.
     * @example
     *
     * function doubled(n) {
     *   return n * 2;
     * }
     *
     * function square(n) {
     *   return n * n;
     * }
     *
     * var func = _.overArgs(function(x, y) {
     *   return [x, y];
     * }, [square, doubled]);
     *
     * func(9, 3);
     * // => [81, 6]
     *
     * func(10, 5);
     * // => [100, 10]
     */
    var overArgs = castRest(function(func, transforms) {
      transforms = (transforms.length == 1 && isArray(transforms[0]))
        ? arrayMap(transforms[0], baseUnary(getIteratee()))
        : arrayMap(baseFlatten(transforms, 1), baseUnary(getIteratee()));

      var funcsLength = transforms.length;
      return baseRest(function(args) {
        var index = -1,
            length = nativeMin(args.length, funcsLength);

        while (++index < length) {
          args[index] = transforms[index].call(this, args[index]);
        }
        return apply(func, this, args);
      });
    });

    /**
     * Creates a function that invokes `func` with `partials` prepended to the
     * arguments it receives. This method is like `_.bind` except it does **not**
     * alter the `this` binding.
     *
     * The `_.partial.placeholder` value, which defaults to `_` in monolithic
     * builds, may be used as a placeholder for partially applied arguments.
     *
     * **Note:** This method doesn't set the "length" property of partially
     * applied functions.
     *
     * @static
     * @memberOf _
     * @since 0.2.0
     * @category Function
     * @param {Function} func The function to partially apply arguments to.
     * @param {...*} [partials] The arguments to be partially applied.
     * @returns {Function} Returns the new partially applied function.
     * @example
     *
     * function greet(greeting, name) {
     *   return greeting + ' ' + name;
     * }
     *
     * var sayHelloTo = _.partial(greet, 'hello');
     * sayHelloTo('fred');
     * // => 'hello fred'
     *
     * // Partially applied with placeholders.
     * var greetFred = _.partial(greet, _, 'fred');
     * greetFred('hi');
     * // => 'hi fred'
     */
    var partial = baseRest(function(func, partials) {
      var holders = replaceHolders(partials, getHolder(partial));
      return createWrap(func, WRAP_PARTIAL_FLAG, undefined, partials, holders);
    });

    /**
     * This method is like `_.partial` except that partially applied arguments
     * are appended to the arguments it receives.
     *
     * The `_.partialRight.placeholder` value, which defaults to `_` in monolithic
     * builds, may be used as a placeholder for partially applied arguments.
     *
     * **Note:** This method doesn't set the "length" property of partially
     * applied functions.
     *
     * @static
     * @memberOf _
     * @since 1.0.0
     * @category Function
     * @param {Function} func The function to partially apply arguments to.
     * @param {...*} [partials] The arguments to be partially applied.
     * @returns {Function} Returns the new partially applied function.
     * @example
     *
     * function greet(greeting, name) {
     *   return greeting + ' ' + name;
     * }
     *
     * var greetFred = _.partialRight(greet, 'fred');
     * greetFred('hi');
     * // => 'hi fred'
     *
     * // Partially applied with placeholders.
     * var sayHelloTo = _.partialRight(greet, 'hello', _);
     * sayHelloTo('fred');
     * // => 'hello fred'
     */
    var partialRight = baseRest(function(func, partials) {
      var holders = replaceHolders(partials, getHolder(partialRight));
      return createWrap(func, WRAP_PARTIAL_RIGHT_FLAG, undefined, partials, holders);
    });

    /**
     * Creates a function that invokes `func` with arguments arranged according
     * to the specified `indexes` where the argument value at the first index is
     * provided as the first argument, the argument value at the second index is
     * provided as the second argument, and so on.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Function
     * @param {Function} func The function to rearrange arguments for.
     * @param {...(number|number[])} indexes The arranged argument indexes.
     * @returns {Function} Returns the new function.
     * @example
     *
     * var rearged = _.rearg(function(a, b, c) {
     *   return [a, b, c];
     * }, [2, 0, 1]);
     *
     * rearged('b', 'c', 'a')
     * // => ['a', 'b', 'c']
     */
    var rearg = flatRest(function(func, indexes) {
      return createWrap(func, WRAP_REARG_FLAG, undefined, undefined, undefined, indexes);
    });

    /**
     * Creates a function that invokes `func` with the `this` binding of the
     * created function and arguments from `start` and beyond provided as
     * an array.
     *
     * **Note:** This method is based on the
     * [rest parameter](https://mdn.io/rest_parameters).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Function
     * @param {Function} func The function to apply a rest parameter to.
     * @param {number} [start=func.length-1] The start position of the rest parameter.
     * @returns {Function} Returns the new function.
     * @example
     *
     * var say = _.rest(function(what, names) {
     *   return what + ' ' + _.initial(names).join(', ') +
     *     (_.size(names) > 1 ? ', & ' : '') + _.last(names);
     * });
     *
     * say('hello', 'fred', 'barney', 'pebbles');
     * // => 'hello fred, barney, & pebbles'
     */
    function rest(func, start) {
      if (typeof func != 'function') {
        throw new TypeError(FUNC_ERROR_TEXT);
      }
      start = start === undefined ? start : toInteger(start);
      return baseRest(func, start);
    }

    /**
     * Creates a function that invokes `func` with the `this` binding of the
     * create function and an array of arguments much like
     * [`Function#apply`](http://www.ecma-international.org/ecma-262/7.0/#sec-function.prototype.apply).
     *
     * **Note:** This method is based on the
     * [spread operator](https://mdn.io/spread_operator).
     *
     * @static
     * @memberOf _
     * @since 3.2.0
     * @category Function
     * @param {Function} func The function to spread arguments over.
     * @param {number} [start=0] The start position of the spread.
     * @returns {Function} Returns the new function.
     * @example
     *
     * var say = _.spread(function(who, what) {
     *   return who + ' says ' + what;
     * });
     *
     * say(['fred', 'hello']);
     * // => 'fred says hello'
     *
     * var numbers = Promise.all([
     *   Promise.resolve(40),
     *   Promise.resolve(36)
     * ]);
     *
     * numbers.then(_.spread(function(x, y) {
     *   return x + y;
     * }));
     * // => a Promise of 76
     */
    function spread(func, start) {
      if (typeof func != 'function') {
        throw new TypeError(FUNC_ERROR_TEXT);
      }
      start = start == null ? 0 : nativeMax(toInteger(start), 0);
      return baseRest(function(args) {
        var array = args[start],
            otherArgs = castSlice(args, 0, start);

        if (array) {
          arrayPush(otherArgs, array);
        }
        return apply(func, this, otherArgs);
      });
    }

    /**
     * Creates a throttled function that only invokes `func` at most once per
     * every `wait` milliseconds. The throttled function comes with a `cancel`
     * method to cancel delayed `func` invocations and a `flush` method to
     * immediately invoke them. Provide `options` to indicate whether `func`
     * should be invoked on the leading and/or trailing edge of the `wait`
     * timeout. The `func` is invoked with the last arguments provided to the
     * throttled function. Subsequent calls to the throttled function return the
     * result of the last `func` invocation.
     *
     * **Note:** If `leading` and `trailing` options are `true`, `func` is
     * invoked on the trailing edge of the timeout only if the throttled function
     * is invoked more than once during the `wait` timeout.
     *
     * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
     * until to the next tick, similar to `setTimeout` with a timeout of `0`.
     *
     * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
     * for details over the differences between `_.throttle` and `_.debounce`.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Function
     * @param {Function} func The function to throttle.
     * @param {number} [wait=0] The number of milliseconds to throttle invocations to.
     * @param {Object} [options={}] The options object.
     * @param {boolean} [options.leading=true]
     *  Specify invoking on the leading edge of the timeout.
     * @param {boolean} [options.trailing=true]
     *  Specify invoking on the trailing edge of the timeout.
     * @returns {Function} Returns the new throttled function.
     * @example
     *
     * // Avoid excessively updating the position while scrolling.
     * jQuery(window).on('scroll', _.throttle(updatePosition, 100));
     *
     * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.
     * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });
     * jQuery(element).on('click', throttled);
     *
     * // Cancel the trailing throttled invocation.
     * jQuery(window).on('popstate', throttled.cancel);
     */
    function throttle(func, wait, options) {
      var leading = true,
          trailing = true;

      if (typeof func != 'function') {
        throw new TypeError(FUNC_ERROR_TEXT);
      }
      if (isObject(options)) {
        leading = 'leading' in options ? !!options.leading : leading;
        trailing = 'trailing' in options ? !!options.trailing : trailing;
      }
      return debounce(func, wait, {
        'leading': leading,
        'maxWait': wait,
        'trailing': trailing
      });
    }

    /**
     * Creates a function that accepts up to one argument, ignoring any
     * additional arguments.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Function
     * @param {Function} func The function to cap arguments for.
     * @returns {Function} Returns the new capped function.
     * @example
     *
     * _.map(['6', '8', '10'], _.unary(parseInt));
     * // => [6, 8, 10]
     */
    function unary(func) {
      return ary(func, 1);
    }

    /**
     * Creates a function that provides `value` to `wrapper` as its first
     * argument. Any additional arguments provided to the function are appended
     * to those provided to the `wrapper`. The wrapper is invoked with the `this`
     * binding of the created function.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Function
     * @param {*} value The value to wrap.
     * @param {Function} [wrapper=identity] The wrapper function.
     * @returns {Function} Returns the new function.
     * @example
     *
     * var p = _.wrap(_.escape, function(func, text) {
     *   return '<p>' + func(text) + '</p>';
     * });
     *
     * p('fred, barney, & pebbles');
     * // => '<p>fred, barney, &amp; pebbles</p>'
     */
    function wrap(value, wrapper) {
      return partial(castFunction(wrapper), value);
    }

    /*------------------------------------------------------------------------*/

    /**
     * Casts `value` as an array if it's not one.
     *
     * @static
     * @memberOf _
     * @since 4.4.0
     * @category Lang
     * @param {*} value The value to inspect.
     * @returns {Array} Returns the cast array.
     * @example
     *
     * _.castArray(1);
     * // => [1]
     *
     * _.castArray({ 'a': 1 });
     * // => [{ 'a': 1 }]
     *
     * _.castArray('abc');
     * // => ['abc']
     *
     * _.castArray(null);
     * // => [null]
     *
     * _.castArray(undefined);
     * // => [undefined]
     *
     * _.castArray();
     * // => []
     *
     * var array = [1, 2, 3];
     * console.log(_.castArray(array) === array);
     * // => true
     */
    function castArray() {
      if (!arguments.length) {
        return [];
      }
      var value = arguments[0];
      return isArray(value) ? value : [value];
    }

    /**
     * Creates a shallow clone of `value`.
     *
     * **Note:** This method is loosely based on the
     * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)
     * and supports cloning arrays, array buffers, booleans, date objects, maps,
     * numbers, `Object` objects, regexes, sets, strings, symbols, and typed
     * arrays. The own enumerable properties of `arguments` objects are cloned
     * as plain objects. An empty object is returned for uncloneable values such
     * as error objects, functions, DOM nodes, and WeakMaps.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to clone.
     * @returns {*} Returns the cloned value.
     * @see _.cloneDeep
     * @example
     *
     * var objects = [{ 'a': 1 }, { 'b': 2 }];
     *
     * var shallow = _.clone(objects);
     * console.log(shallow[0] === objects[0]);
     * // => true
     */
    function clone(value) {
      return baseClone(value, CLONE_SYMBOLS_FLAG);
    }

    /**
     * This method is like `_.clone` except that it accepts `customizer` which
     * is invoked to produce the cloned value. If `customizer` returns `undefined`,
     * cloning is handled by the method instead. The `customizer` is invoked with
     * up to four arguments; (value [, index|key, object, stack]).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to clone.
     * @param {Function} [customizer] The function to customize cloning.
     * @returns {*} Returns the cloned value.
     * @see _.cloneDeepWith
     * @example
     *
     * function customizer(value) {
     *   if (_.isElement(value)) {
     *     return value.cloneNode(false);
     *   }
     * }
     *
     * var el = _.cloneWith(document.body, customizer);
     *
     * console.log(el === document.body);
     * // => false
     * console.log(el.nodeName);
     * // => 'BODY'
     * console.log(el.childNodes.length);
     * // => 0
     */
    function cloneWith(value, customizer) {
      customizer = typeof customizer == 'function' ? customizer : undefined;
      return baseClone(value, CLONE_SYMBOLS_FLAG, customizer);
    }

    /**
     * This method is like `_.clone` except that it recursively clones `value`.
     *
     * @static
     * @memberOf _
     * @since 1.0.0
     * @category Lang
     * @param {*} value The value to recursively clone.
     * @returns {*} Returns the deep cloned value.
     * @see _.clone
     * @example
     *
     * var objects = [{ 'a': 1 }, { 'b': 2 }];
     *
     * var deep = _.cloneDeep(objects);
     * console.log(deep[0] === objects[0]);
     * // => false
     */
    function cloneDeep(value) {
      return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
    }

    /**
     * This method is like `_.cloneWith` except that it recursively clones `value`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to recursively clone.
     * @param {Function} [customizer] The function to customize cloning.
     * @returns {*} Returns the deep cloned value.
     * @see _.cloneWith
     * @example
     *
     * function customizer(value) {
     *   if (_.isElement(value)) {
     *     return value.cloneNode(true);
     *   }
     * }
     *
     * var el = _.cloneDeepWith(document.body, customizer);
     *
     * console.log(el === document.body);
     * // => false
     * console.log(el.nodeName);
     * // => 'BODY'
     * console.log(el.childNodes.length);
     * // => 20
     */
    function cloneDeepWith(value, customizer) {
      customizer = typeof customizer == 'function' ? customizer : undefined;
      return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG, customizer);
    }

    /**
     * Checks if `object` conforms to `source` by invoking the predicate
     * properties of `source` with the corresponding property values of `object`.
     *
     * **Note:** This method is equivalent to `_.conforms` when `source` is
     * partially applied.
     *
     * @static
     * @memberOf _
     * @since 4.14.0
     * @category Lang
     * @param {Object} object The object to inspect.
     * @param {Object} source The object of property predicates to conform to.
     * @returns {boolean} Returns `true` if `object` conforms, else `false`.
     * @example
     *
     * var object = { 'a': 1, 'b': 2 };
     *
     * _.conformsTo(object, { 'b': function(n) { return n > 1; } });
     * // => true
     *
     * _.conformsTo(object, { 'b': function(n) { return n > 2; } });
     * // => false
     */
    function conformsTo(object, source) {
      return source == null || baseConformsTo(object, source, keys(source));
    }

    /**
     * Performs a
     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
     * comparison between two values to determine if they are equivalent.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to compare.
     * @param {*} other The other value to compare.
     * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
     * @example
     *
     * var object = { 'a': 1 };
     * var other = { 'a': 1 };
     *
     * _.eq(object, object);
     * // => true
     *
     * _.eq(object, other);
     * // => false
     *
     * _.eq('a', 'a');
     * // => true
     *
     * _.eq('a', Object('a'));
     * // => false
     *
     * _.eq(NaN, NaN);
     * // => true
     */
    function eq(value, other) {
      return value === other || (value !== value && other !== other);
    }

    /**
     * Checks if `value` is greater than `other`.
     *
     * @static
     * @memberOf _
     * @since 3.9.0
     * @category Lang
     * @param {*} value The value to compare.
     * @param {*} other The other value to compare.
     * @returns {boolean} Returns `true` if `value` is greater than `other`,
     *  else `false`.
     * @see _.lt
     * @example
     *
     * _.gt(3, 1);
     * // => true
     *
     * _.gt(3, 3);
     * // => false
     *
     * _.gt(1, 3);
     * // => false
     */
    var gt = createRelationalOperation(baseGt);

    /**
     * Checks if `value` is greater than or equal to `other`.
     *
     * @static
     * @memberOf _
     * @since 3.9.0
     * @category Lang
     * @param {*} value The value to compare.
     * @param {*} other The other value to compare.
     * @returns {boolean} Returns `true` if `value` is greater than or equal to
     *  `other`, else `false`.
     * @see _.lte
     * @example
     *
     * _.gte(3, 1);
     * // => true
     *
     * _.gte(3, 3);
     * // => true
     *
     * _.gte(1, 3);
     * // => false
     */
    var gte = createRelationalOperation(function(value, other) {
      return value >= other;
    });

    /**
     * Checks if `value` is likely an `arguments` object.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is an `arguments` object,
     *  else `false`.
     * @example
     *
     * _.isArguments(function() { return arguments; }());
     * // => true
     *
     * _.isArguments([1, 2, 3]);
     * // => false
     */
    var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
      return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&
        !propertyIsEnumerable.call(value, 'callee');
    };

    /**
     * Checks if `value` is classified as an `Array` object.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is an array, else `false`.
     * @example
     *
     * _.isArray([1, 2, 3]);
     * // => true
     *
     * _.isArray(document.body.children);
     * // => false
     *
     * _.isArray('abc');
     * // => false
     *
     * _.isArray(_.noop);
     * // => false
     */
    var isArray = Array.isArray;

    /**
     * Checks if `value` is classified as an `ArrayBuffer` object.
     *
     * @static
     * @memberOf _
     * @since 4.3.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.
     * @example
     *
     * _.isArrayBuffer(new ArrayBuffer(2));
     * // => true
     *
     * _.isArrayBuffer(new Array(2));
     * // => false
     */
    var isArrayBuffer = nodeIsArrayBuffer ? baseUnary(nodeIsArrayBuffer) : baseIsArrayBuffer;

    /**
     * Checks if `value` is array-like. A value is considered array-like if it's
     * not a function and has a `value.length` that's an integer greater than or
     * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
     * @example
     *
     * _.isArrayLike([1, 2, 3]);
     * // => true
     *
     * _.isArrayLike(document.body.children);
     * // => true
     *
     * _.isArrayLike('abc');
     * // => true
     *
     * _.isArrayLike(_.noop);
     * // => false
     */
    function isArrayLike(value) {
      return value != null && isLength(value.length) && !isFunction(value);
    }

    /**
     * This method is like `_.isArrayLike` except that it also checks if `value`
     * is an object.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is an array-like object,
     *  else `false`.
     * @example
     *
     * _.isArrayLikeObject([1, 2, 3]);
     * // => true
     *
     * _.isArrayLikeObject(document.body.children);
     * // => true
     *
     * _.isArrayLikeObject('abc');
     * // => false
     *
     * _.isArrayLikeObject(_.noop);
     * // => false
     */
    function isArrayLikeObject(value) {
      return isObjectLike(value) && isArrayLike(value);
    }

    /**
     * Checks if `value` is classified as a boolean primitive or object.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a boolean, else `false`.
     * @example
     *
     * _.isBoolean(false);
     * // => true
     *
     * _.isBoolean(null);
     * // => false
     */
    function isBoolean(value) {
      return value === true || value === false ||
        (isObjectLike(value) && baseGetTag(value) == boolTag);
    }

    /**
     * Checks if `value` is a buffer.
     *
     * @static
     * @memberOf _
     * @since 4.3.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
     * @example
     *
     * _.isBuffer(new Buffer(2));
     * // => true
     *
     * _.isBuffer(new Uint8Array(2));
     * // => false
     */
    var isBuffer = nativeIsBuffer || stubFalse;

    /**
     * Checks if `value` is classified as a `Date` object.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a date object, else `false`.
     * @example
     *
     * _.isDate(new Date);
     * // => true
     *
     * _.isDate('Mon April 23 2012');
     * // => false
     */
    var isDate = nodeIsDate ? baseUnary(nodeIsDate) : baseIsDate;

    /**
     * Checks if `value` is likely a DOM element.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`.
     * @example
     *
     * _.isElement(document.body);
     * // => true
     *
     * _.isElement('<body>');
     * // => false
     */
    function isElement(value) {
      return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value);
    }

    /**
     * Checks if `value` is an empty object, collection, map, or set.
     *
     * Objects are considered empty if they have no own enumerable string keyed
     * properties.
     *
     * Array-like values such as `arguments` objects, arrays, buffers, strings, or
     * jQuery-like collections are considered empty if they have a `length` of `0`.
     * Similarly, maps and sets are considered empty if they have a `size` of `0`.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is empty, else `false`.
     * @example
     *
     * _.isEmpty(null);
     * // => true
     *
     * _.isEmpty(true);
     * // => true
     *
     * _.isEmpty(1);
     * // => true
     *
     * _.isEmpty([1, 2, 3]);
     * // => false
     *
     * _.isEmpty({ 'a': 1 });
     * // => false
     */
    function isEmpty(value) {
      if (value == null) {
        return true;
      }
      if (isArrayLike(value) &&
          (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||
            isBuffer(value) || isTypedArray(value) || isArguments(value))) {
        return !value.length;
      }
      var tag = getTag(value);
      if (tag == mapTag || tag == setTag) {
        return !value.size;
      }
      if (isPrototype(value)) {
        return !baseKeys(value).length;
      }
      for (var key in value) {
        if (hasOwnProperty.call(value, key)) {
          return false;
        }
      }
      return true;
    }

    /**
     * Performs a deep comparison between two values to determine if they are
     * equivalent.
     *
     * **Note:** This method supports comparing arrays, array buffers, booleans,
     * date objects, error objects, maps, numbers, `Object` objects, regexes,
     * sets, strings, symbols, and typed arrays. `Object` objects are compared
     * by their own, not inherited, enumerable properties. Functions and DOM
     * nodes are compared by strict equality, i.e. `===`.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to compare.
     * @param {*} other The other value to compare.
     * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
     * @example
     *
     * var object = { 'a': 1 };
     * var other = { 'a': 1 };
     *
     * _.isEqual(object, other);
     * // => true
     *
     * object === other;
     * // => false
     */
    function isEqual(value, other) {
      return baseIsEqual(value, other);
    }

    /**
     * This method is like `_.isEqual` except that it accepts `customizer` which
     * is invoked to compare values. If `customizer` returns `undefined`, comparisons
     * are handled by the method instead. The `customizer` is invoked with up to
     * six arguments: (objValue, othValue [, index|key, object, other, stack]).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to compare.
     * @param {*} other The other value to compare.
     * @param {Function} [customizer] The function to customize comparisons.
     * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
     * @example
     *
     * function isGreeting(value) {
     *   return /^h(?:i|ello)$/.test(value);
     * }
     *
     * function customizer(objValue, othValue) {
     *   if (isGreeting(objValue) && isGreeting(othValue)) {
     *     return true;
     *   }
     * }
     *
     * var array = ['hello', 'goodbye'];
     * var other = ['hi', 'goodbye'];
     *
     * _.isEqualWith(array, other, customizer);
     * // => true
     */
    function isEqualWith(value, other, customizer) {
      customizer = typeof customizer == 'function' ? customizer : undefined;
      var result = customizer ? customizer(value, other) : undefined;
      return result === undefined ? baseIsEqual(value, other, undefined, customizer) : !!result;
    }

    /**
     * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`,
     * `SyntaxError`, `TypeError`, or `URIError` object.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is an error object, else `false`.
     * @example
     *
     * _.isError(new Error);
     * // => true
     *
     * _.isError(Error);
     * // => false
     */
    function isError(value) {
      if (!isObjectLike(value)) {
        return false;
      }
      var tag = baseGetTag(value);
      return tag == errorTag || tag == domExcTag ||
        (typeof value.message == 'string' && typeof value.name == 'string' && !isPlainObject(value));
    }

    /**
     * Checks if `value` is a finite primitive number.
     *
     * **Note:** This method is based on
     * [`Number.isFinite`](https://mdn.io/Number/isFinite).
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a finite number, else `false`.
     * @example
     *
     * _.isFinite(3);
     * // => true
     *
     * _.isFinite(Number.MIN_VALUE);
     * // => true
     *
     * _.isFinite(Infinity);
     * // => false
     *
     * _.isFinite('3');
     * // => false
     */
    function isFinite(value) {
      return typeof value == 'number' && nativeIsFinite(value);
    }

    /**
     * Checks if `value` is classified as a `Function` object.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a function, else `false`.
     * @example
     *
     * _.isFunction(_);
     * // => true
     *
     * _.isFunction(/abc/);
     * // => false
     */
    function isFunction(value) {
      if (!isObject(value)) {
        return false;
      }
      // The use of `Object#toString` avoids issues with the `typeof` operator
      // in Safari 9 which returns 'object' for typed arrays and other constructors.
      var tag = baseGetTag(value);
      return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
    }

    /**
     * Checks if `value` is an integer.
     *
     * **Note:** This method is based on
     * [`Number.isInteger`](https://mdn.io/Number/isInteger).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is an integer, else `false`.
     * @example
     *
     * _.isInteger(3);
     * // => true
     *
     * _.isInteger(Number.MIN_VALUE);
     * // => false
     *
     * _.isInteger(Infinity);
     * // => false
     *
     * _.isInteger('3');
     * // => false
     */
    function isInteger(value) {
      return typeof value == 'number' && value == toInteger(value);
    }

    /**
     * Checks if `value` is a valid array-like length.
     *
     * **Note:** This method is loosely based on
     * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
     * @example
     *
     * _.isLength(3);
     * // => true
     *
     * _.isLength(Number.MIN_VALUE);
     * // => false
     *
     * _.isLength(Infinity);
     * // => false
     *
     * _.isLength('3');
     * // => false
     */
    function isLength(value) {
      return typeof value == 'number' &&
        value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
    }

    /**
     * Checks if `value` is the
     * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
     * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is an object, else `false`.
     * @example
     *
     * _.isObject({});
     * // => true
     *
     * _.isObject([1, 2, 3]);
     * // => true
     *
     * _.isObject(_.noop);
     * // => true
     *
     * _.isObject(null);
     * // => false
     */
    function isObject(value) {
      var type = typeof value;
      return value != null && (type == 'object' || type == 'function');
    }

    /**
     * Checks if `value` is object-like. A value is object-like if it's not `null`
     * and has a `typeof` result of "object".
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
     * @example
     *
     * _.isObjectLike({});
     * // => true
     *
     * _.isObjectLike([1, 2, 3]);
     * // => true
     *
     * _.isObjectLike(_.noop);
     * // => false
     *
     * _.isObjectLike(null);
     * // => false
     */
    function isObjectLike(value) {
      return value != null && typeof value == 'object';
    }

    /**
     * Checks if `value` is classified as a `Map` object.
     *
     * @static
     * @memberOf _
     * @since 4.3.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a map, else `false`.
     * @example
     *
     * _.isMap(new Map);
     * // => true
     *
     * _.isMap(new WeakMap);
     * // => false
     */
    var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;

    /**
     * Performs a partial deep comparison between `object` and `source` to
     * determine if `object` contains equivalent property values.
     *
     * **Note:** This method is equivalent to `_.matches` when `source` is
     * partially applied.
     *
     * Partial comparisons will match empty array and empty object `source`
     * values against any array or object value, respectively. See `_.isEqual`
     * for a list of supported value comparisons.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Lang
     * @param {Object} object The object to inspect.
     * @param {Object} source The object of property values to match.
     * @returns {boolean} Returns `true` if `object` is a match, else `false`.
     * @example
     *
     * var object = { 'a': 1, 'b': 2 };
     *
     * _.isMatch(object, { 'b': 2 });
     * // => true
     *
     * _.isMatch(object, { 'b': 1 });
     * // => false
     */
    function isMatch(object, source) {
      return object === source || baseIsMatch(object, source, getMatchData(source));
    }

    /**
     * This method is like `_.isMatch` except that it accepts `customizer` which
     * is invoked to compare values. If `customizer` returns `undefined`, comparisons
     * are handled by the method instead. The `customizer` is invoked with five
     * arguments: (objValue, srcValue, index|key, object, source).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {Object} object The object to inspect.
     * @param {Object} source The object of property values to match.
     * @param {Function} [customizer] The function to customize comparisons.
     * @returns {boolean} Returns `true` if `object` is a match, else `false`.
     * @example
     *
     * function isGreeting(value) {
     *   return /^h(?:i|ello)$/.test(value);
     * }
     *
     * function customizer(objValue, srcValue) {
     *   if (isGreeting(objValue) && isGreeting(srcValue)) {
     *     return true;
     *   }
     * }
     *
     * var object = { 'greeting': 'hello' };
     * var source = { 'greeting': 'hi' };
     *
     * _.isMatchWith(object, source, customizer);
     * // => true
     */
    function isMatchWith(object, source, customizer) {
      customizer = typeof customizer == 'function' ? customizer : undefined;
      return baseIsMatch(object, source, getMatchData(source), customizer);
    }

    /**
     * Checks if `value` is `NaN`.
     *
     * **Note:** This method is based on
     * [`Number.isNaN`](https://mdn.io/Number/isNaN) and is not the same as
     * global [`isNaN`](https://mdn.io/isNaN) which returns `true` for
     * `undefined` and other non-number values.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.
     * @example
     *
     * _.isNaN(NaN);
     * // => true
     *
     * _.isNaN(new Number(NaN));
     * // => true
     *
     * isNaN(undefined);
     * // => true
     *
     * _.isNaN(undefined);
     * // => false
     */
    function isNaN(value) {
      // An `NaN` primitive is the only value that is not equal to itself.
      // Perform the `toStringTag` check first to avoid errors with some
      // ActiveX objects in IE.
      return isNumber(value) && value != +value;
    }

    /**
     * Checks if `value` is a pristine native function.
     *
     * **Note:** This method can't reliably detect native functions in the presence
     * of the core-js package because core-js circumvents this kind of detection.
     * Despite multiple requests, the core-js maintainer has made it clear: any
     * attempt to fix the detection will be obstructed. As a result, we're left
     * with little choice but to throw an error. Unfortunately, this also affects
     * packages, like [babel-polyfill](https://www.npmjs.com/package/babel-polyfill),
     * which rely on core-js.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a native function,
     *  else `false`.
     * @example
     *
     * _.isNative(Array.prototype.push);
     * // => true
     *
     * _.isNative(_);
     * // => false
     */
    function isNative(value) {
      if (isMaskable(value)) {
        throw new Error(CORE_ERROR_TEXT);
      }
      return baseIsNative(value);
    }

    /**
     * Checks if `value` is `null`.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is `null`, else `false`.
     * @example
     *
     * _.isNull(null);
     * // => true
     *
     * _.isNull(void 0);
     * // => false
     */
    function isNull(value) {
      return value === null;
    }

    /**
     * Checks if `value` is `null` or `undefined`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is nullish, else `false`.
     * @example
     *
     * _.isNil(null);
     * // => true
     *
     * _.isNil(void 0);
     * // => true
     *
     * _.isNil(NaN);
     * // => false
     */
    function isNil(value) {
      return value == null;
    }

    /**
     * Checks if `value` is classified as a `Number` primitive or object.
     *
     * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are
     * classified as numbers, use the `_.isFinite` method.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a number, else `false`.
     * @example
     *
     * _.isNumber(3);
     * // => true
     *
     * _.isNumber(Number.MIN_VALUE);
     * // => true
     *
     * _.isNumber(Infinity);
     * // => true
     *
     * _.isNumber('3');
     * // => false
     */
    function isNumber(value) {
      return typeof value == 'number' ||
        (isObjectLike(value) && baseGetTag(value) == numberTag);
    }

    /**
     * Checks if `value` is a plain object, that is, an object created by the
     * `Object` constructor or one with a `[[Prototype]]` of `null`.
     *
     * @static
     * @memberOf _
     * @since 0.8.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     * }
     *
     * _.isPlainObject(new Foo);
     * // => false
     *
     * _.isPlainObject([1, 2, 3]);
     * // => false
     *
     * _.isPlainObject({ 'x': 0, 'y': 0 });
     * // => true
     *
     * _.isPlainObject(Object.create(null));
     * // => true
     */
    function isPlainObject(value) {
      if (!isObjectLike(value) || baseGetTag(value) != objectTag) {
        return false;
      }
      var proto = getPrototype(value);
      if (proto === null) {
        return true;
      }
      var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;
      return typeof Ctor == 'function' && Ctor instanceof Ctor &&
        funcToString.call(Ctor) == objectCtorString;
    }

    /**
     * Checks if `value` is classified as a `RegExp` object.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.
     * @example
     *
     * _.isRegExp(/abc/);
     * // => true
     *
     * _.isRegExp('/abc/');
     * // => false
     */
    var isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp;

    /**
     * Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754
     * double precision number which isn't the result of a rounded unsafe integer.
     *
     * **Note:** This method is based on
     * [`Number.isSafeInteger`](https://mdn.io/Number/isSafeInteger).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a safe integer, else `false`.
     * @example
     *
     * _.isSafeInteger(3);
     * // => true
     *
     * _.isSafeInteger(Number.MIN_VALUE);
     * // => false
     *
     * _.isSafeInteger(Infinity);
     * // => false
     *
     * _.isSafeInteger('3');
     * // => false
     */
    function isSafeInteger(value) {
      return isInteger(value) && value >= -MAX_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;
    }

    /**
     * Checks if `value` is classified as a `Set` object.
     *
     * @static
     * @memberOf _
     * @since 4.3.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a set, else `false`.
     * @example
     *
     * _.isSet(new Set);
     * // => true
     *
     * _.isSet(new WeakSet);
     * // => false
     */
    var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;

    /**
     * Checks if `value` is classified as a `String` primitive or object.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a string, else `false`.
     * @example
     *
     * _.isString('abc');
     * // => true
     *
     * _.isString(1);
     * // => false
     */
    function isString(value) {
      return typeof value == 'string' ||
        (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);
    }

    /**
     * Checks if `value` is classified as a `Symbol` primitive or object.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
     * @example
     *
     * _.isSymbol(Symbol.iterator);
     * // => true
     *
     * _.isSymbol('abc');
     * // => false
     */
    function isSymbol(value) {
      return typeof value == 'symbol' ||
        (isObjectLike(value) && baseGetTag(value) == symbolTag);
    }

    /**
     * Checks if `value` is classified as a typed array.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
     * @example
     *
     * _.isTypedArray(new Uint8Array);
     * // => true
     *
     * _.isTypedArray([]);
     * // => false
     */
    var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;

    /**
     * Checks if `value` is `undefined`.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.
     * @example
     *
     * _.isUndefined(void 0);
     * // => true
     *
     * _.isUndefined(null);
     * // => false
     */
    function isUndefined(value) {
      return value === undefined;
    }

    /**
     * Checks if `value` is classified as a `WeakMap` object.
     *
     * @static
     * @memberOf _
     * @since 4.3.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a weak map, else `false`.
     * @example
     *
     * _.isWeakMap(new WeakMap);
     * // => true
     *
     * _.isWeakMap(new Map);
     * // => false
     */
    function isWeakMap(value) {
      return isObjectLike(value) && getTag(value) == weakMapTag;
    }

    /**
     * Checks if `value` is classified as a `WeakSet` object.
     *
     * @static
     * @memberOf _
     * @since 4.3.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a weak set, else `false`.
     * @example
     *
     * _.isWeakSet(new WeakSet);
     * // => true
     *
     * _.isWeakSet(new Set);
     * // => false
     */
    function isWeakSet(value) {
      return isObjectLike(value) && baseGetTag(value) == weakSetTag;
    }

    /**
     * Checks if `value` is less than `other`.
     *
     * @static
     * @memberOf _
     * @since 3.9.0
     * @category Lang
     * @param {*} value The value to compare.
     * @param {*} other The other value to compare.
     * @returns {boolean} Returns `true` if `value` is less than `other`,
     *  else `false`.
     * @see _.gt
     * @example
     *
     * _.lt(1, 3);
     * // => true
     *
     * _.lt(3, 3);
     * // => false
     *
     * _.lt(3, 1);
     * // => false
     */
    var lt = createRelationalOperation(baseLt);

    /**
     * Checks if `value` is less than or equal to `other`.
     *
     * @static
     * @memberOf _
     * @since 3.9.0
     * @category Lang
     * @param {*} value The value to compare.
     * @param {*} other The other value to compare.
     * @returns {boolean} Returns `true` if `value` is less than or equal to
     *  `other`, else `false`.
     * @see _.gte
     * @example
     *
     * _.lte(1, 3);
     * // => true
     *
     * _.lte(3, 3);
     * // => true
     *
     * _.lte(3, 1);
     * // => false
     */
    var lte = createRelationalOperation(function(value, other) {
      return value <= other;
    });

    /**
     * Converts `value` to an array.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Lang
     * @param {*} value The value to convert.
     * @returns {Array} Returns the converted array.
     * @example
     *
     * _.toArray({ 'a': 1, 'b': 2 });
     * // => [1, 2]
     *
     * _.toArray('abc');
     * // => ['a', 'b', 'c']
     *
     * _.toArray(1);
     * // => []
     *
     * _.toArray(null);
     * // => []
     */
    function toArray(value) {
      if (!value) {
        return [];
      }
      if (isArrayLike(value)) {
        return isString(value) ? stringToArray(value) : copyArray(value);
      }
      if (symIterator && value[symIterator]) {
        return iteratorToArray(value[symIterator]());
      }
      var tag = getTag(value),
          func = tag == mapTag ? mapToArray : (tag == setTag ? setToArray : values);

      return func(value);
    }

    /**
     * Converts `value` to a finite number.
     *
     * @static
     * @memberOf _
     * @since 4.12.0
     * @category Lang
     * @param {*} value The value to convert.
     * @returns {number} Returns the converted number.
     * @example
     *
     * _.toFinite(3.2);
     * // => 3.2
     *
     * _.toFinite(Number.MIN_VALUE);
     * // => 5e-324
     *
     * _.toFinite(Infinity);
     * // => 1.7976931348623157e+308
     *
     * _.toFinite('3.2');
     * // => 3.2
     */
    function toFinite(value) {
      if (!value) {
        return value === 0 ? value : 0;
      }
      value = toNumber(value);
      if (value === INFINITY || value === -INFINITY) {
        var sign = (value < 0 ? -1 : 1);
        return sign * MAX_INTEGER;
      }
      return value === value ? value : 0;
    }

    /**
     * Converts `value` to an integer.
     *
     * **Note:** This method is loosely based on
     * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to convert.
     * @returns {number} Returns the converted integer.
     * @example
     *
     * _.toInteger(3.2);
     * // => 3
     *
     * _.toInteger(Number.MIN_VALUE);
     * // => 0
     *
     * _.toInteger(Infinity);
     * // => 1.7976931348623157e+308
     *
     * _.toInteger('3.2');
     * // => 3
     */
    function toInteger(value) {
      var result = toFinite(value),
          remainder = result % 1;

      return result === result ? (remainder ? result - remainder : result) : 0;
    }

    /**
     * Converts `value` to an integer suitable for use as the length of an
     * array-like object.
     *
     * **Note:** This method is based on
     * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to convert.
     * @returns {number} Returns the converted integer.
     * @example
     *
     * _.toLength(3.2);
     * // => 3
     *
     * _.toLength(Number.MIN_VALUE);
     * // => 0
     *
     * _.toLength(Infinity);
     * // => 4294967295
     *
     * _.toLength('3.2');
     * // => 3
     */
    function toLength(value) {
      return value ? baseClamp(toInteger(value), 0, MAX_ARRAY_LENGTH) : 0;
    }

    /**
     * Converts `value` to a number.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to process.
     * @returns {number} Returns the number.
     * @example
     *
     * _.toNumber(3.2);
     * // => 3.2
     *
     * _.toNumber(Number.MIN_VALUE);
     * // => 5e-324
     *
     * _.toNumber(Infinity);
     * // => Infinity
     *
     * _.toNumber('3.2');
     * // => 3.2
     */
    function toNumber(value) {
      if (typeof value == 'number') {
        return value;
      }
      if (isSymbol(value)) {
        return NAN;
      }
      if (isObject(value)) {
        var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
        value = isObject(other) ? (other + '') : other;
      }
      if (typeof value != 'string') {
        return value === 0 ? value : +value;
      }
      value = baseTrim(value);
      var isBinary = reIsBinary.test(value);
      return (isBinary || reIsOctal.test(value))
        ? freeParseInt(value.slice(2), isBinary ? 2 : 8)
        : (reIsBadHex.test(value) ? NAN : +value);
    }

    /**
     * Converts `value` to a plain object flattening inherited enumerable string
     * keyed properties of `value` to own properties of the plain object.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Lang
     * @param {*} value The value to convert.
     * @returns {Object} Returns the converted plain object.
     * @example
     *
     * function Foo() {
     *   this.b = 2;
     * }
     *
     * Foo.prototype.c = 3;
     *
     * _.assign({ 'a': 1 }, new Foo);
     * // => { 'a': 1, 'b': 2 }
     *
     * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));
     * // => { 'a': 1, 'b': 2, 'c': 3 }
     */
    function toPlainObject(value) {
      return copyObject(value, keysIn(value));
    }

    /**
     * Converts `value` to a safe integer. A safe integer can be compared and
     * represented correctly.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to convert.
     * @returns {number} Returns the converted integer.
     * @example
     *
     * _.toSafeInteger(3.2);
     * // => 3
     *
     * _.toSafeInteger(Number.MIN_VALUE);
     * // => 0
     *
     * _.toSafeInteger(Infinity);
     * // => 9007199254740991
     *
     * _.toSafeInteger('3.2');
     * // => 3
     */
    function toSafeInteger(value) {
      return value
        ? baseClamp(toInteger(value), -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER)
        : (value === 0 ? value : 0);
    }

    /**
     * Converts `value` to a string. An empty string is returned for `null`
     * and `undefined` values. The sign of `-0` is preserved.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to convert.
     * @returns {string} Returns the converted string.
     * @example
     *
     * _.toString(null);
     * // => ''
     *
     * _.toString(-0);
     * // => '-0'
     *
     * _.toString([1, 2, 3]);
     * // => '1,2,3'
     */
    function toString(value) {
      return value == null ? '' : baseToString(value);
    }

    /*------------------------------------------------------------------------*/

    /**
     * Assigns own enumerable string keyed properties of source objects to the
     * destination object. Source objects are applied from left to right.
     * Subsequent sources overwrite property assignments of previous sources.
     *
     * **Note:** This method mutates `object` and is loosely based on
     * [`Object.assign`](https://mdn.io/Object/assign).
     *
     * @static
     * @memberOf _
     * @since 0.10.0
     * @category Object
     * @param {Object} object The destination object.
     * @param {...Object} [sources] The source objects.
     * @returns {Object} Returns `object`.
     * @see _.assignIn
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     * }
     *
     * function Bar() {
     *   this.c = 3;
     * }
     *
     * Foo.prototype.b = 2;
     * Bar.prototype.d = 4;
     *
     * _.assign({ 'a': 0 }, new Foo, new Bar);
     * // => { 'a': 1, 'c': 3 }
     */
    var assign = createAssigner(function(object, source) {
      if (isPrototype(source) || isArrayLike(source)) {
        copyObject(source, keys(source), object);
        return;
      }
      for (var key in source) {
        if (hasOwnProperty.call(source, key)) {
          assignValue(object, key, source[key]);
        }
      }
    });

    /**
     * This method is like `_.assign` except that it iterates over own and
     * inherited source properties.
     *
     * **Note:** This method mutates `object`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @alias extend
     * @category Object
     * @param {Object} object The destination object.
     * @param {...Object} [sources] The source objects.
     * @returns {Object} Returns `object`.
     * @see _.assign
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     * }
     *
     * function Bar() {
     *   this.c = 3;
     * }
     *
     * Foo.prototype.b = 2;
     * Bar.prototype.d = 4;
     *
     * _.assignIn({ 'a': 0 }, new Foo, new Bar);
     * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4 }
     */
    var assignIn = createAssigner(function(object, source) {
      copyObject(source, keysIn(source), object);
    });

    /**
     * This method is like `_.assignIn` except that it accepts `customizer`
     * which is invoked to produce the assigned values. If `customizer` returns
     * `undefined`, assignment is handled by the method instead. The `customizer`
     * is invoked with five arguments: (objValue, srcValue, key, object, source).
     *
     * **Note:** This method mutates `object`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @alias extendWith
     * @category Object
     * @param {Object} object The destination object.
     * @param {...Object} sources The source objects.
     * @param {Function} [customizer] The function to customize assigned values.
     * @returns {Object} Returns `object`.
     * @see _.assignWith
     * @example
     *
     * function customizer(objValue, srcValue) {
     *   return _.isUndefined(objValue) ? srcValue : objValue;
     * }
     *
     * var defaults = _.partialRight(_.assignInWith, customizer);
     *
     * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });
     * // => { 'a': 1, 'b': 2 }
     */
    var assignInWith = createAssigner(function(object, source, srcIndex, customizer) {
      copyObject(source, keysIn(source), object, customizer);
    });

    /**
     * This method is like `_.assign` except that it accepts `customizer`
     * which is invoked to produce the assigned values. If `customizer` returns
     * `undefined`, assignment is handled by the method instead. The `customizer`
     * is invoked with five arguments: (objValue, srcValue, key, object, source).
     *
     * **Note:** This method mutates `object`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Object
     * @param {Object} object The destination object.
     * @param {...Object} sources The source objects.
     * @param {Function} [customizer] The function to customize assigned values.
     * @returns {Object} Returns `object`.
     * @see _.assignInWith
     * @example
     *
     * function customizer(objValue, srcValue) {
     *   return _.isUndefined(objValue) ? srcValue : objValue;
     * }
     *
     * var defaults = _.partialRight(_.assignWith, customizer);
     *
     * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });
     * // => { 'a': 1, 'b': 2 }
     */
    var assignWith = createAssigner(function(object, source, srcIndex, customizer) {
      copyObject(source, keys(source), object, customizer);
    });

    /**
     * Creates an array of values corresponding to `paths` of `object`.
     *
     * @static
     * @memberOf _
     * @since 1.0.0
     * @category Object
     * @param {Object} object The object to iterate over.
     * @param {...(string|string[])} [paths] The property paths to pick.
     * @returns {Array} Returns the picked values.
     * @example
     *
     * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };
     *
     * _.at(object, ['a[0].b.c', 'a[1]']);
     * // => [3, 4]
     */
    var at = flatRest(baseAt);

    /**
     * Creates an object that inherits from the `prototype` object. If a
     * `properties` object is given, its own enumerable string keyed properties
     * are assigned to the created object.
     *
     * @static
     * @memberOf _
     * @since 2.3.0
     * @category Object
     * @param {Object} prototype The object to inherit from.
     * @param {Object} [properties] The properties to assign to the object.
     * @returns {Object} Returns the new object.
     * @example
     *
     * function Shape() {
     *   this.x = 0;
     *   this.y = 0;
     * }
     *
     * function Circle() {
     *   Shape.call(this);
     * }
     *
     * Circle.prototype = _.create(Shape.prototype, {
     *   'constructor': Circle
     * });
     *
     * var circle = new Circle;
     * circle instanceof Circle;
     * // => true
     *
     * circle instanceof Shape;
     * // => true
     */
    function create(prototype, properties) {
      var result = baseCreate(prototype);
      return properties == null ? result : baseAssign(result, properties);
    }

    /**
     * Assigns own and inherited enumerable string keyed properties of source
     * objects to the destination object for all destination properties that
     * resolve to `undefined`. Source objects are applied from left to right.
     * Once a property is set, additional values of the same property are ignored.
     *
     * **Note:** This method mutates `object`.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Object
     * @param {Object} object The destination object.
     * @param {...Object} [sources] The source objects.
     * @returns {Object} Returns `object`.
     * @see _.defaultsDeep
     * @example
     *
     * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });
     * // => { 'a': 1, 'b': 2 }
     */
    var defaults = baseRest(function(object, sources) {
      object = Object(object);

      var index = -1;
      var length = sources.length;
      var guard = length > 2 ? sources[2] : undefined;

      if (guard && isIterateeCall(sources[0], sources[1], guard)) {
        length = 1;
      }

      while (++index < length) {
        var source = sources[index];
        var props = keysIn(source);
        var propsIndex = -1;
        var propsLength = props.length;

        while (++propsIndex < propsLength) {
          var key = props[propsIndex];
          var value = object[key];

          if (value === undefined ||
              (eq(value, objectProto[key]) && !hasOwnProperty.call(object, key))) {
            object[key] = source[key];
          }
        }
      }

      return object;
    });

    /**
     * This method is like `_.defaults` except that it recursively assigns
     * default properties.
     *
     * **Note:** This method mutates `object`.
     *
     * @static
     * @memberOf _
     * @since 3.10.0
     * @category Object
     * @param {Object} object The destination object.
     * @param {...Object} [sources] The source objects.
     * @returns {Object} Returns `object`.
     * @see _.defaults
     * @example
     *
     * _.defaultsDeep({ 'a': { 'b': 2 } }, { 'a': { 'b': 1, 'c': 3 } });
     * // => { 'a': { 'b': 2, 'c': 3 } }
     */
    var defaultsDeep = baseRest(function(args) {
      args.push(undefined, customDefaultsMerge);
      return apply(mergeWith, undefined, args);
    });

    /**
     * This method is like `_.find` except that it returns the key of the first
     * element `predicate` returns truthy for instead of the element itself.
     *
     * @static
     * @memberOf _
     * @since 1.1.0
     * @category Object
     * @param {Object} object The object to inspect.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @returns {string|undefined} Returns the key of the matched element,
     *  else `undefined`.
     * @example
     *
     * var users = {
     *   'barney':  { 'age': 36, 'active': true },
     *   'fred':    { 'age': 40, 'active': false },
     *   'pebbles': { 'age': 1,  'active': true }
     * };
     *
     * _.findKey(users, function(o) { return o.age < 40; });
     * // => 'barney' (iteration order is not guaranteed)
     *
     * // The `_.matches` iteratee shorthand.
     * _.findKey(users, { 'age': 1, 'active': true });
     * // => 'pebbles'
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.findKey(users, ['active', false]);
     * // => 'fred'
     *
     * // The `_.property` iteratee shorthand.
     * _.findKey(users, 'active');
     * // => 'barney'
     */
    function findKey(object, predicate) {
      return baseFindKey(object, getIteratee(predicate, 3), baseForOwn);
    }

    /**
     * This method is like `_.findKey` except that it iterates over elements of
     * a collection in the opposite order.
     *
     * @static
     * @memberOf _
     * @since 2.0.0
     * @category Object
     * @param {Object} object The object to inspect.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @returns {string|undefined} Returns the key of the matched element,
     *  else `undefined`.
     * @example
     *
     * var users = {
     *   'barney':  { 'age': 36, 'active': true },
     *   'fred':    { 'age': 40, 'active': false },
     *   'pebbles': { 'age': 1,  'active': true }
     * };
     *
     * _.findLastKey(users, function(o) { return o.age < 40; });
     * // => returns 'pebbles' assuming `_.findKey` returns 'barney'
     *
     * // The `_.matches` iteratee shorthand.
     * _.findLastKey(users, { 'age': 36, 'active': true });
     * // => 'barney'
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.findLastKey(users, ['active', false]);
     * // => 'fred'
     *
     * // The `_.property` iteratee shorthand.
     * _.findLastKey(users, 'active');
     * // => 'pebbles'
     */
    function findLastKey(object, predicate) {
      return baseFindKey(object, getIteratee(predicate, 3), baseForOwnRight);
    }

    /**
     * Iterates over own and inherited enumerable string keyed properties of an
     * object and invokes `iteratee` for each property. The iteratee is invoked
     * with three arguments: (value, key, object). Iteratee functions may exit
     * iteration early by explicitly returning `false`.
     *
     * @static
     * @memberOf _
     * @since 0.3.0
     * @category Object
     * @param {Object} object The object to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Object} Returns `object`.
     * @see _.forInRight
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     *   this.b = 2;
     * }
     *
     * Foo.prototype.c = 3;
     *
     * _.forIn(new Foo, function(value, key) {
     *   console.log(key);
     * });
     * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed).
     */
    function forIn(object, iteratee) {
      return object == null
        ? object
        : baseFor(object, getIteratee(iteratee, 3), keysIn);
    }

    /**
     * This method is like `_.forIn` except that it iterates over properties of
     * `object` in the opposite order.
     *
     * @static
     * @memberOf _
     * @since 2.0.0
     * @category Object
     * @param {Object} object The object to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Object} Returns `object`.
     * @see _.forIn
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     *   this.b = 2;
     * }
     *
     * Foo.prototype.c = 3;
     *
     * _.forInRight(new Foo, function(value, key) {
     *   console.log(key);
     * });
     * // => Logs 'c', 'b', then 'a' assuming `_.forIn` logs 'a', 'b', then 'c'.
     */
    function forInRight(object, iteratee) {
      return object == null
        ? object
        : baseForRight(object, getIteratee(iteratee, 3), keysIn);
    }

    /**
     * Iterates over own enumerable string keyed properties of an object and
     * invokes `iteratee` for each property. The iteratee is invoked with three
     * arguments: (value, key, object). Iteratee functions may exit iteration
     * early by explicitly returning `false`.
     *
     * @static
     * @memberOf _
     * @since 0.3.0
     * @category Object
     * @param {Object} object The object to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Object} Returns `object`.
     * @see _.forOwnRight
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     *   this.b = 2;
     * }
     *
     * Foo.prototype.c = 3;
     *
     * _.forOwn(new Foo, function(value, key) {
     *   console.log(key);
     * });
     * // => Logs 'a' then 'b' (iteration order is not guaranteed).
     */
    function forOwn(object, iteratee) {
      return object && baseForOwn(object, getIteratee(iteratee, 3));
    }

    /**
     * This method is like `_.forOwn` except that it iterates over properties of
     * `object` in the opposite order.
     *
     * @static
     * @memberOf _
     * @since 2.0.0
     * @category Object
     * @param {Object} object The object to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Object} Returns `object`.
     * @see _.forOwn
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     *   this.b = 2;
     * }
     *
     * Foo.prototype.c = 3;
     *
     * _.forOwnRight(new Foo, function(value, key) {
     *   console.log(key);
     * });
     * // => Logs 'b' then 'a' assuming `_.forOwn` logs 'a' then 'b'.
     */
    function forOwnRight(object, iteratee) {
      return object && baseForOwnRight(object, getIteratee(iteratee, 3));
    }

    /**
     * Creates an array of function property names from own enumerable properties
     * of `object`.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Object
     * @param {Object} object The object to inspect.
     * @returns {Array} Returns the function names.
     * @see _.functionsIn
     * @example
     *
     * function Foo() {
     *   this.a = _.constant('a');
     *   this.b = _.constant('b');
     * }
     *
     * Foo.prototype.c = _.constant('c');
     *
     * _.functions(new Foo);
     * // => ['a', 'b']
     */
    function functions(object) {
      return object == null ? [] : baseFunctions(object, keys(object));
    }

    /**
     * Creates an array of function property names from own and inherited
     * enumerable properties of `object`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Object
     * @param {Object} object The object to inspect.
     * @returns {Array} Returns the function names.
     * @see _.functions
     * @example
     *
     * function Foo() {
     *   this.a = _.constant('a');
     *   this.b = _.constant('b');
     * }
     *
     * Foo.prototype.c = _.constant('c');
     *
     * _.functionsIn(new Foo);
     * // => ['a', 'b', 'c']
     */
    function functionsIn(object) {
      return object == null ? [] : baseFunctions(object, keysIn(object));
    }

    /**
     * Gets the value at `path` of `object`. If the resolved value is
     * `undefined`, the `defaultValue` is returned in its place.
     *
     * @static
     * @memberOf _
     * @since 3.7.0
     * @category Object
     * @param {Object} object The object to query.
     * @param {Array|string} path The path of the property to get.
     * @param {*} [defaultValue] The value returned for `undefined` resolved values.
     * @returns {*} Returns the resolved value.
     * @example
     *
     * var object = { 'a': [{ 'b': { 'c': 3 } }] };
     *
     * _.get(object, 'a[0].b.c');
     * // => 3
     *
     * _.get(object, ['a', '0', 'b', 'c']);
     * // => 3
     *
     * _.get(object, 'a.b.c', 'default');
     * // => 'default'
     */
    function get(object, path, defaultValue) {
      var result = object == null ? undefined : baseGet(object, path);
      return result === undefined ? defaultValue : result;
    }

    /**
     * Checks if `path` is a direct property of `object`.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Object
     * @param {Object} object The object to query.
     * @param {Array|string} path The path to check.
     * @returns {boolean} Returns `true` if `path` exists, else `false`.
     * @example
     *
     * var object = { 'a': { 'b': 2 } };
     * var other = _.create({ 'a': _.create({ 'b': 2 }) });
     *
     * _.has(object, 'a');
     * // => true
     *
     * _.has(object, 'a.b');
     * // => true
     *
     * _.has(object, ['a', 'b']);
     * // => true
     *
     * _.has(other, 'a');
     * // => false
     */
    function has(object, path) {
      return object != null && hasPath(object, path, baseHas);
    }

    /**
     * Checks if `path` is a direct or inherited property of `object`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Object
     * @param {Object} object The object to query.
     * @param {Array|string} path The path to check.
     * @returns {boolean} Returns `true` if `path` exists, else `false`.
     * @example
     *
     * var object = _.create({ 'a': _.create({ 'b': 2 }) });
     *
     * _.hasIn(object, 'a');
     * // => true
     *
     * _.hasIn(object, 'a.b');
     * // => true
     *
     * _.hasIn(object, ['a', 'b']);
     * // => true
     *
     * _.hasIn(object, 'b');
     * // => false
     */
    function hasIn(object, path) {
      return object != null && hasPath(object, path, baseHasIn);
    }

    /**
     * Creates an object composed of the inverted keys and values of `object`.
     * If `object` contains duplicate values, subsequent values overwrite
     * property assignments of previous values.
     *
     * @static
     * @memberOf _
     * @since 0.7.0
     * @category Object
     * @param {Object} object The object to invert.
     * @returns {Object} Returns the new inverted object.
     * @example
     *
     * var object = { 'a': 1, 'b': 2, 'c': 1 };
     *
     * _.invert(object);
     * // => { '1': 'c', '2': 'b' }
     */
    var invert = createInverter(function(result, value, key) {
      if (value != null &&
          typeof value.toString != 'function') {
        value = nativeObjectToString.call(value);
      }

      result[value] = key;
    }, constant(identity));

    /**
     * This method is like `_.invert` except that the inverted object is generated
     * from the results of running each element of `object` thru `iteratee`. The
     * corresponding inverted value of each inverted key is an array of keys
     * responsible for generating the inverted value. The iteratee is invoked
     * with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 4.1.0
     * @category Object
     * @param {Object} object The object to invert.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {Object} Returns the new inverted object.
     * @example
     *
     * var object = { 'a': 1, 'b': 2, 'c': 1 };
     *
     * _.invertBy(object);
     * // => { '1': ['a', 'c'], '2': ['b'] }
     *
     * _.invertBy(object, function(value) {
     *   return 'group' + value;
     * });
     * // => { 'group1': ['a', 'c'], 'group2': ['b'] }
     */
    var invertBy = createInverter(function(result, value, key) {
      if (value != null &&
          typeof value.toString != 'function') {
        value = nativeObjectToString.call(value);
      }

      if (hasOwnProperty.call(result, value)) {
        result[value].push(key);
      } else {
        result[value] = [key];
      }
    }, getIteratee);

    /**
     * Invokes the method at `path` of `object`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Object
     * @param {Object} object The object to query.
     * @param {Array|string} path The path of the method to invoke.
     * @param {...*} [args] The arguments to invoke the method with.
     * @returns {*} Returns the result of the invoked method.
     * @example
     *
     * var object = { 'a': [{ 'b': { 'c': [1, 2, 3, 4] } }] };
     *
     * _.invoke(object, 'a[0].b.c.slice', 1, 3);
     * // => [2, 3]
     */
    var invoke = baseRest(baseInvoke);

    /**
     * Creates an array of the own enumerable property names of `object`.
     *
     * **Note:** Non-object values are coerced to objects. See the
     * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
     * for more details.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Object
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of property names.
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     *   this.b = 2;
     * }
     *
     * Foo.prototype.c = 3;
     *
     * _.keys(new Foo);
     * // => ['a', 'b'] (iteration order is not guaranteed)
     *
     * _.keys('hi');
     * // => ['0', '1']
     */
    function keys(object) {
      return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
    }

    /**
     * Creates an array of the own and inherited enumerable property names of `object`.
     *
     * **Note:** Non-object values are coerced to objects.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Object
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of property names.
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     *   this.b = 2;
     * }
     *
     * Foo.prototype.c = 3;
     *
     * _.keysIn(new Foo);
     * // => ['a', 'b', 'c'] (iteration order is not guaranteed)
     */
    function keysIn(object) {
      return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
    }

    /**
     * The opposite of `_.mapValues`; this method creates an object with the
     * same values as `object` and keys generated by running each own enumerable
     * string keyed property of `object` thru `iteratee`. The iteratee is invoked
     * with three arguments: (value, key, object).
     *
     * @static
     * @memberOf _
     * @since 3.8.0
     * @category Object
     * @param {Object} object The object to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Object} Returns the new mapped object.
     * @see _.mapValues
     * @example
     *
     * _.mapKeys({ 'a': 1, 'b': 2 }, function(value, key) {
     *   return key + value;
     * });
     * // => { 'a1': 1, 'b2': 2 }
     */
    function mapKeys(object, iteratee) {
      var result = {};
      iteratee = getIteratee(iteratee, 3);

      baseForOwn(object, function(value, key, object) {
        baseAssignValue(result, iteratee(value, key, object), value);
      });
      return result;
    }

    /**
     * Creates an object with the same keys as `object` and values generated
     * by running each own enumerable string keyed property of `object` thru
     * `iteratee`. The iteratee is invoked with three arguments:
     * (value, key, object).
     *
     * @static
     * @memberOf _
     * @since 2.4.0
     * @category Object
     * @param {Object} object The object to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Object} Returns the new mapped object.
     * @see _.mapKeys
     * @example
     *
     * var users = {
     *   'fred':    { 'user': 'fred',    'age': 40 },
     *   'pebbles': { 'user': 'pebbles', 'age': 1 }
     * };
     *
     * _.mapValues(users, function(o) { return o.age; });
     * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)
     *
     * // The `_.property` iteratee shorthand.
     * _.mapValues(users, 'age');
     * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)
     */
    function mapValues(object, iteratee) {
      var result = {};
      iteratee = getIteratee(iteratee, 3);

      baseForOwn(object, function(value, key, object) {
        baseAssignValue(result, key, iteratee(value, key, object));
      });
      return result;
    }

    /**
     * This method is like `_.assign` except that it recursively merges own and
     * inherited enumerable string keyed properties of source objects into the
     * destination object. Source properties that resolve to `undefined` are
     * skipped if a destination value exists. Array and plain object properties
     * are merged recursively. Other objects and value types are overridden by
     * assignment. Source objects are applied from left to right. Subsequent
     * sources overwrite property assignments of previous sources.
     *
     * **Note:** This method mutates `object`.
     *
     * @static
     * @memberOf _
     * @since 0.5.0
     * @category Object
     * @param {Object} object The destination object.
     * @param {...Object} [sources] The source objects.
     * @returns {Object} Returns `object`.
     * @example
     *
     * var object = {
     *   'a': [{ 'b': 2 }, { 'd': 4 }]
     * };
     *
     * var other = {
     *   'a': [{ 'c': 3 }, { 'e': 5 }]
     * };
     *
     * _.merge(object, other);
     * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }
     */
    var merge = createAssigner(function(object, source, srcIndex) {
      baseMerge(object, source, srcIndex);
    });

    /**
     * This method is like `_.merge` except that it accepts `customizer` which
     * is invoked to produce the merged values of the destination and source
     * properties. If `customizer` returns `undefined`, merging is handled by the
     * method instead. The `customizer` is invoked with six arguments:
     * (objValue, srcValue, key, object, source, stack).
     *
     * **Note:** This method mutates `object`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Object
     * @param {Object} object The destination object.
     * @param {...Object} sources The source objects.
     * @param {Function} customizer The function to customize assigned values.
     * @returns {Object} Returns `object`.
     * @example
     *
     * function customizer(objValue, srcValue) {
     *   if (_.isArray(objValue)) {
     *     return objValue.concat(srcValue);
     *   }
     * }
     *
     * var object = { 'a': [1], 'b': [2] };
     * var other = { 'a': [3], 'b': [4] };
     *
     * _.mergeWith(object, other, customizer);
     * // => { 'a': [1, 3], 'b': [2, 4] }
     */
    var mergeWith = createAssigner(function(object, source, srcIndex, customizer) {
      baseMerge(object, source, srcIndex, customizer);
    });

    /**
     * The opposite of `_.pick`; this method creates an object composed of the
     * own and inherited enumerable property paths of `object` that are not omitted.
     *
     * **Note:** This method is considerably slower than `_.pick`.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Object
     * @param {Object} object The source object.
     * @param {...(string|string[])} [paths] The property paths to omit.
     * @returns {Object} Returns the new object.
     * @example
     *
     * var object = { 'a': 1, 'b': '2', 'c': 3 };
     *
     * _.omit(object, ['a', 'c']);
     * // => { 'b': '2' }
     */
    var omit = flatRest(function(object, paths) {
      var result = {};
      if (object == null) {
        return result;
      }
      var isDeep = false;
      paths = arrayMap(paths, function(path) {
        path = castPath(path, object);
        isDeep || (isDeep = path.length > 1);
        return path;
      });
      copyObject(object, getAllKeysIn(object), result);
      if (isDeep) {
        result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);
      }
      var length = paths.length;
      while (length--) {
        baseUnset(result, paths[length]);
      }
      return result;
    });

    /**
     * The opposite of `_.pickBy`; this method creates an object composed of
     * the own and inherited enumerable string keyed properties of `object` that
     * `predicate` doesn't return truthy for. The predicate is invoked with two
     * arguments: (value, key).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Object
     * @param {Object} object The source object.
     * @param {Function} [predicate=_.identity] The function invoked per property.
     * @returns {Object} Returns the new object.
     * @example
     *
     * var object = { 'a': 1, 'b': '2', 'c': 3 };
     *
     * _.omitBy(object, _.isNumber);
     * // => { 'b': '2' }
     */
    function omitBy(object, predicate) {
      return pickBy(object, negate(getIteratee(predicate)));
    }

    /**
     * Creates an object composed of the picked `object` properties.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Object
     * @param {Object} object The source object.
     * @param {...(string|string[])} [paths] The property paths to pick.
     * @returns {Object} Returns the new object.
     * @example
     *
     * var object = { 'a': 1, 'b': '2', 'c': 3 };
     *
     * _.pick(object, ['a', 'c']);
     * // => { 'a': 1, 'c': 3 }
     */
    var pick = flatRest(function(object, paths) {
      return object == null ? {} : basePick(object, paths);
    });

    /**
     * Creates an object composed of the `object` properties `predicate` returns
     * truthy for. The predicate is invoked with two arguments: (value, key).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Object
     * @param {Object} object The source object.
     * @param {Function} [predicate=_.identity] The function invoked per property.
     * @returns {Object} Returns the new object.
     * @example
     *
     * var object = { 'a': 1, 'b': '2', 'c': 3 };
     *
     * _.pickBy(object, _.isNumber);
     * // => { 'a': 1, 'c': 3 }
     */
    function pickBy(object, predicate) {
      if (object == null) {
        return {};
      }
      var props = arrayMap(getAllKeysIn(object), function(prop) {
        return [prop];
      });
      predicate = getIteratee(predicate);
      return basePickBy(object, props, function(value, path) {
        return predicate(value, path[0]);
      });
    }

    /**
     * This method is like `_.get` except that if the resolved value is a
     * function it's invoked with the `this` binding of its parent object and
     * its result is returned.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Object
     * @param {Object} object The object to query.
     * @param {Array|string} path The path of the property to resolve.
     * @param {*} [defaultValue] The value returned for `undefined` resolved values.
     * @returns {*} Returns the resolved value.
     * @example
     *
     * var object = { 'a': [{ 'b': { 'c1': 3, 'c2': _.constant(4) } }] };
     *
     * _.result(object, 'a[0].b.c1');
     * // => 3
     *
     * _.result(object, 'a[0].b.c2');
     * // => 4
     *
     * _.result(object, 'a[0].b.c3', 'default');
     * // => 'default'
     *
     * _.result(object, 'a[0].b.c3', _.constant('default'));
     * // => 'default'
     */
    function result(object, path, defaultValue) {
      path = castPath(path, object);

      var index = -1,
          length = path.length;

      // Ensure the loop is entered when path is empty.
      if (!length) {
        length = 1;
        object = undefined;
      }
      while (++index < length) {
        var value = object == null ? undefined : object[toKey(path[index])];
        if (value === undefined) {
          index = length;
          value = defaultValue;
        }
        object = isFunction(value) ? value.call(object) : value;
      }
      return object;
    }

    /**
     * Sets the value at `path` of `object`. If a portion of `path` doesn't exist,
     * it's created. Arrays are created for missing index properties while objects
     * are created for all other missing properties. Use `_.setWith` to customize
     * `path` creation.
     *
     * **Note:** This method mutates `object`.
     *
     * @static
     * @memberOf _
     * @since 3.7.0
     * @category Object
     * @param {Object} object The object to modify.
     * @param {Array|string} path The path of the property to set.
     * @param {*} value The value to set.
     * @returns {Object} Returns `object`.
     * @example
     *
     * var object = { 'a': [{ 'b': { 'c': 3 } }] };
     *
     * _.set(object, 'a[0].b.c', 4);
     * console.log(object.a[0].b.c);
     * // => 4
     *
     * _.set(object, ['x', '0', 'y', 'z'], 5);
     * console.log(object.x[0].y.z);
     * // => 5
     */
    function set(object, path, value) {
      return object == null ? object : baseSet(object, path, value);
    }

    /**
     * This method is like `_.set` except that it accepts `customizer` which is
     * invoked to produce the objects of `path`.  If `customizer` returns `undefined`
     * path creation is handled by the method instead. The `customizer` is invoked
     * with three arguments: (nsValue, key, nsObject).
     *
     * **Note:** This method mutates `object`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Object
     * @param {Object} object The object to modify.
     * @param {Array|string} path The path of the property to set.
     * @param {*} value The value to set.
     * @param {Function} [customizer] The function to customize assigned values.
     * @returns {Object} Returns `object`.
     * @example
     *
     * var object = {};
     *
     * _.setWith(object, '[0][1]', 'a', Object);
     * // => { '0': { '1': 'a' } }
     */
    function setWith(object, path, value, customizer) {
      customizer = typeof customizer == 'function' ? customizer : undefined;
      return object == null ? object : baseSet(object, path, value, customizer);
    }

    /**
     * Creates an array of own enumerable string keyed-value pairs for `object`
     * which can be consumed by `_.fromPairs`. If `object` is a map or set, its
     * entries are returned.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @alias entries
     * @category Object
     * @param {Object} object The object to query.
     * @returns {Array} Returns the key-value pairs.
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     *   this.b = 2;
     * }
     *
     * Foo.prototype.c = 3;
     *
     * _.toPairs(new Foo);
     * // => [['a', 1], ['b', 2]] (iteration order is not guaranteed)
     */
    var toPairs = createToPairs(keys);

    /**
     * Creates an array of own and inherited enumerable string keyed-value pairs
     * for `object` which can be consumed by `_.fromPairs`. If `object` is a map
     * or set, its entries are returned.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @alias entriesIn
     * @category Object
     * @param {Object} object The object to query.
     * @returns {Array} Returns the key-value pairs.
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     *   this.b = 2;
     * }
     *
     * Foo.prototype.c = 3;
     *
     * _.toPairsIn(new Foo);
     * // => [['a', 1], ['b', 2], ['c', 3]] (iteration order is not guaranteed)
     */
    var toPairsIn = createToPairs(keysIn);

    /**
     * An alternative to `_.reduce`; this method transforms `object` to a new
     * `accumulator` object which is the result of running each of its own
     * enumerable string keyed properties thru `iteratee`, with each invocation
     * potentially mutating the `accumulator` object. If `accumulator` is not
     * provided, a new object with the same `[[Prototype]]` will be used. The
     * iteratee is invoked with four arguments: (accumulator, value, key, object).
     * Iteratee functions may exit iteration early by explicitly returning `false`.
     *
     * @static
     * @memberOf _
     * @since 1.3.0
     * @category Object
     * @param {Object} object The object to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @param {*} [accumulator] The custom accumulator value.
     * @returns {*} Returns the accumulated value.
     * @example
     *
     * _.transform([2, 3, 4], function(result, n) {
     *   result.push(n *= n);
     *   return n % 2 == 0;
     * }, []);
     * // => [4, 9]
     *
     * _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {
     *   (result[value] || (result[value] = [])).push(key);
     * }, {});
     * // => { '1': ['a', 'c'], '2': ['b'] }
     */
    function transform(object, iteratee, accumulator) {
      var isArr = isArray(object),
          isArrLike = isArr || isBuffer(object) || isTypedArray(object);

      iteratee = getIteratee(iteratee, 4);
      if (accumulator == null) {
        var Ctor = object && object.constructor;
        if (isArrLike) {
          accumulator = isArr ? new Ctor : [];
        }
        else if (isObject(object)) {
          accumulator = isFunction(Ctor) ? baseCreate(getPrototype(object)) : {};
        }
        else {
          accumulator = {};
        }
      }
      (isArrLike ? arrayEach : baseForOwn)(object, function(value, index, object) {
        return iteratee(accumulator, value, index, object);
      });
      return accumulator;
    }

    /**
     * Removes the property at `path` of `object`.
     *
     * **Note:** This method mutates `object`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Object
     * @param {Object} object The object to modify.
     * @param {Array|string} path The path of the property to unset.
     * @returns {boolean} Returns `true` if the property is deleted, else `false`.
     * @example
     *
     * var object = { 'a': [{ 'b': { 'c': 7 } }] };
     * _.unset(object, 'a[0].b.c');
     * // => true
     *
     * console.log(object);
     * // => { 'a': [{ 'b': {} }] };
     *
     * _.unset(object, ['a', '0', 'b', 'c']);
     * // => true
     *
     * console.log(object);
     * // => { 'a': [{ 'b': {} }] };
     */
    function unset(object, path) {
      return object == null ? true : baseUnset(object, path);
    }

    /**
     * This method is like `_.set` except that accepts `updater` to produce the
     * value to set. Use `_.updateWith` to customize `path` creation. The `updater`
     * is invoked with one argument: (value).
     *
     * **Note:** This method mutates `object`.
     *
     * @static
     * @memberOf _
     * @since 4.6.0
     * @category Object
     * @param {Object} object The object to modify.
     * @param {Array|string} path The path of the property to set.
     * @param {Function} updater The function to produce the updated value.
     * @returns {Object} Returns `object`.
     * @example
     *
     * var object = { 'a': [{ 'b': { 'c': 3 } }] };
     *
     * _.update(object, 'a[0].b.c', function(n) { return n * n; });
     * console.log(object.a[0].b.c);
     * // => 9
     *
     * _.update(object, 'x[0].y.z', function(n) { return n ? n + 1 : 0; });
     * console.log(object.x[0].y.z);
     * // => 0
     */
    function update(object, path, updater) {
      return object == null ? object : baseUpdate(object, path, castFunction(updater));
    }

    /**
     * This method is like `_.update` except that it accepts `customizer` which is
     * invoked to produce the objects of `path`.  If `customizer` returns `undefined`
     * path creation is handled by the method instead. The `customizer` is invoked
     * with three arguments: (nsValue, key, nsObject).
     *
     * **Note:** This method mutates `object`.
     *
     * @static
     * @memberOf _
     * @since 4.6.0
     * @category Object
     * @param {Object} object The object to modify.
     * @param {Array|string} path The path of the property to set.
     * @param {Function} updater The function to produce the updated value.
     * @param {Function} [customizer] The function to customize assigned values.
     * @returns {Object} Returns `object`.
     * @example
     *
     * var object = {};
     *
     * _.updateWith(object, '[0][1]', _.constant('a'), Object);
     * // => { '0': { '1': 'a' } }
     */
    function updateWith(object, path, updater, customizer) {
      customizer = typeof customizer == 'function' ? customizer : undefined;
      return object == null ? object : baseUpdate(object, path, castFunction(updater), customizer);
    }

    /**
     * Creates an array of the own enumerable string keyed property values of `object`.
     *
     * **Note:** Non-object values are coerced to objects.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Object
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of property values.
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     *   this.b = 2;
     * }
     *
     * Foo.prototype.c = 3;
     *
     * _.values(new Foo);
     * // => [1, 2] (iteration order is not guaranteed)
     *
     * _.values('hi');
     * // => ['h', 'i']
     */
    function values(object) {
      return object == null ? [] : baseValues(object, keys(object));
    }

    /**
     * Creates an array of the own and inherited enumerable string keyed property
     * values of `object`.
     *
     * **Note:** Non-object values are coerced to objects.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Object
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of property values.
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     *   this.b = 2;
     * }
     *
     * Foo.prototype.c = 3;
     *
     * _.valuesIn(new Foo);
     * // => [1, 2, 3] (iteration order is not guaranteed)
     */
    function valuesIn(object) {
      return object == null ? [] : baseValues(object, keysIn(object));
    }

    /*------------------------------------------------------------------------*/

    /**
     * Clamps `number` within the inclusive `lower` and `upper` bounds.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Number
     * @param {number} number The number to clamp.
     * @param {number} [lower] The lower bound.
     * @param {number} upper The upper bound.
     * @returns {number} Returns the clamped number.
     * @example
     *
     * _.clamp(-10, -5, 5);
     * // => -5
     *
     * _.clamp(10, -5, 5);
     * // => 5
     */
    function clamp(number, lower, upper) {
      if (upper === undefined) {
        upper = lower;
        lower = undefined;
      }
      if (upper !== undefined) {
        upper = toNumber(upper);
        upper = upper === upper ? upper : 0;
      }
      if (lower !== undefined) {
        lower = toNumber(lower);
        lower = lower === lower ? lower : 0;
      }
      return baseClamp(toNumber(number), lower, upper);
    }

    /**
     * Checks if `n` is between `start` and up to, but not including, `end`. If
     * `end` is not specified, it's set to `start` with `start` then set to `0`.
     * If `start` is greater than `end` the params are swapped to support
     * negative ranges.
     *
     * @static
     * @memberOf _
     * @since 3.3.0
     * @category Number
     * @param {number} number The number to check.
     * @param {number} [start=0] The start of the range.
     * @param {number} end The end of the range.
     * @returns {boolean} Returns `true` if `number` is in the range, else `false`.
     * @see _.range, _.rangeRight
     * @example
     *
     * _.inRange(3, 2, 4);
     * // => true
     *
     * _.inRange(4, 8);
     * // => true
     *
     * _.inRange(4, 2);
     * // => false
     *
     * _.inRange(2, 2);
     * // => false
     *
     * _.inRange(1.2, 2);
     * // => true
     *
     * _.inRange(5.2, 4);
     * // => false
     *
     * _.inRange(-3, -2, -6);
     * // => true
     */
    function inRange(number, start, end) {
      start = toFinite(start);
      if (end === undefined) {
        end = start;
        start = 0;
      } else {
        end = toFinite(end);
      }
      number = toNumber(number);
      return baseInRange(number, start, end);
    }

    /**
     * Produces a random number between the inclusive `lower` and `upper` bounds.
     * If only one argument is provided a number between `0` and the given number
     * is returned. If `floating` is `true`, or either `lower` or `upper` are
     * floats, a floating-point number is returned instead of an integer.
     *
     * **Note:** JavaScript follows the IEEE-754 standard for resolving
     * floating-point values which can produce unexpected results.
     *
     * @static
     * @memberOf _
     * @since 0.7.0
     * @category Number
     * @param {number} [lower=0] The lower bound.
     * @param {number} [upper=1] The upper bound.
     * @param {boolean} [floating] Specify returning a floating-point number.
     * @returns {number} Returns the random number.
     * @example
     *
     * _.random(0, 5);
     * // => an integer between 0 and 5
     *
     * _.random(5);
     * // => also an integer between 0 and 5
     *
     * _.random(5, true);
     * // => a floating-point number between 0 and 5
     *
     * _.random(1.2, 5.2);
     * // => a floating-point number between 1.2 and 5.2
     */
    function random(lower, upper, floating) {
      if (floating && typeof floating != 'boolean' && isIterateeCall(lower, upper, floating)) {
        upper = floating = undefined;
      }
      if (floating === undefined) {
        if (typeof upper == 'boolean') {
          floating = upper;
          upper = undefined;
        }
        else if (typeof lower == 'boolean') {
          floating = lower;
          lower = undefined;
        }
      }
      if (lower === undefined && upper === undefined) {
        lower = 0;
        upper = 1;
      }
      else {
        lower = toFinite(lower);
        if (upper === undefined) {
          upper = lower;
          lower = 0;
        } else {
          upper = toFinite(upper);
        }
      }
      if (lower > upper) {
        var temp = lower;
        lower = upper;
        upper = temp;
      }
      if (floating || lower % 1 || upper % 1) {
        var rand = nativeRandom();
        return nativeMin(lower + (rand * (upper - lower + freeParseFloat('1e-' + ((rand + '').length - 1)))), upper);
      }
      return baseRandom(lower, upper);
    }

    /*------------------------------------------------------------------------*/

    /**
     * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to convert.
     * @returns {string} Returns the camel cased string.
     * @example
     *
     * _.camelCase('Foo Bar');
     * // => 'fooBar'
     *
     * _.camelCase('--foo-bar--');
     * // => 'fooBar'
     *
     * _.camelCase('__FOO_BAR__');
     * // => 'fooBar'
     */
    var camelCase = createCompounder(function(result, word, index) {
      word = word.toLowerCase();
      return result + (index ? capitalize(word) : word);
    });

    /**
     * Converts the first character of `string` to upper case and the remaining
     * to lower case.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to capitalize.
     * @returns {string} Returns the capitalized string.
     * @example
     *
     * _.capitalize('FRED');
     * // => 'Fred'
     */
    function capitalize(string) {
      return upperFirst(toString(string).toLowerCase());
    }

    /**
     * Deburrs `string` by converting
     * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)
     * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)
     * letters to basic Latin letters and removing
     * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to deburr.
     * @returns {string} Returns the deburred string.
     * @example
     *
     * _.deburr('déjà vu');
     * // => 'deja vu'
     */
    function deburr(string) {
      string = toString(string);
      return string && string.replace(reLatin, deburrLetter).replace(reComboMark, '');
    }

    /**
     * Checks if `string` ends with the given target string.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to inspect.
     * @param {string} [target] The string to search for.
     * @param {number} [position=string.length] The position to search up to.
     * @returns {boolean} Returns `true` if `string` ends with `target`,
     *  else `false`.
     * @example
     *
     * _.endsWith('abc', 'c');
     * // => true
     *
     * _.endsWith('abc', 'b');
     * // => false
     *
     * _.endsWith('abc', 'b', 2);
     * // => true
     */
    function endsWith(string, target, position) {
      string = toString(string);
      target = baseToString(target);

      var length = string.length;
      position = position === undefined
        ? length
        : baseClamp(toInteger(position), 0, length);

      var end = position;
      position -= target.length;
      return position >= 0 && string.slice(position, end) == target;
    }

    /**
     * Converts the characters "&", "<", ">", '"', and "'" in `string` to their
     * corresponding HTML entities.
     *
     * **Note:** No other characters are escaped. To escape additional
     * characters use a third-party library like [_he_](https://mths.be/he).
     *
     * Though the ">" character is escaped for symmetry, characters like
     * ">" and "/" don't need escaping in HTML and have no special meaning
     * unless they're part of a tag or unquoted attribute value. See
     * [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands)
     * (under "semi-related fun fact") for more details.
     *
     * When working with HTML you should always
     * [quote attribute values](http://wonko.com/post/html-escaping) to reduce
     * XSS vectors.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category String
     * @param {string} [string=''] The string to escape.
     * @returns {string} Returns the escaped string.
     * @example
     *
     * _.escape('fred, barney, & pebbles');
     * // => 'fred, barney, &amp; pebbles'
     */
    function escape(string) {
      string = toString(string);
      return (string && reHasUnescapedHtml.test(string))
        ? string.replace(reUnescapedHtml, escapeHtmlChar)
        : string;
    }

    /**
     * Escapes the `RegExp` special characters "^", "$", "\", ".", "*", "+",
     * "?", "(", ")", "[", "]", "{", "}", and "|" in `string`.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to escape.
     * @returns {string} Returns the escaped string.
     * @example
     *
     * _.escapeRegExp('[lodash](https://lodash.com/)');
     * // => '\[lodash\]\(https://lodash\.com/\)'
     */
    function escapeRegExp(string) {
      string = toString(string);
      return (string && reHasRegExpChar.test(string))
        ? string.replace(reRegExpChar, '\\$&')
        : string;
    }

    /**
     * Converts `string` to
     * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to convert.
     * @returns {string} Returns the kebab cased string.
     * @example
     *
     * _.kebabCase('Foo Bar');
     * // => 'foo-bar'
     *
     * _.kebabCase('fooBar');
     * // => 'foo-bar'
     *
     * _.kebabCase('__FOO_BAR__');
     * // => 'foo-bar'
     */
    var kebabCase = createCompounder(function(result, word, index) {
      return result + (index ? '-' : '') + word.toLowerCase();
    });

    /**
     * Converts `string`, as space separated words, to lower case.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to convert.
     * @returns {string} Returns the lower cased string.
     * @example
     *
     * _.lowerCase('--Foo-Bar--');
     * // => 'foo bar'
     *
     * _.lowerCase('fooBar');
     * // => 'foo bar'
     *
     * _.lowerCase('__FOO_BAR__');
     * // => 'foo bar'
     */
    var lowerCase = createCompounder(function(result, word, index) {
      return result + (index ? ' ' : '') + word.toLowerCase();
    });

    /**
     * Converts the first character of `string` to lower case.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to convert.
     * @returns {string} Returns the converted string.
     * @example
     *
     * _.lowerFirst('Fred');
     * // => 'fred'
     *
     * _.lowerFirst('FRED');
     * // => 'fRED'
     */
    var lowerFirst = createCaseFirst('toLowerCase');

    /**
     * Pads `string` on the left and right sides if it's shorter than `length`.
     * Padding characters are truncated if they can't be evenly divided by `length`.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to pad.
     * @param {number} [length=0] The padding length.
     * @param {string} [chars=' '] The string used as padding.
     * @returns {string} Returns the padded string.
     * @example
     *
     * _.pad('abc', 8);
     * // => '  abc   '
     *
     * _.pad('abc', 8, '_-');
     * // => '_-abc_-_'
     *
     * _.pad('abc', 3);
     * // => 'abc'
     */
    function pad(string, length, chars) {
      string = toString(string);
      length = toInteger(length);

      var strLength = length ? stringSize(string) : 0;
      if (!length || strLength >= length) {
        return string;
      }
      var mid = (length - strLength) / 2;
      return (
        createPadding(nativeFloor(mid), chars) +
        string +
        createPadding(nativeCeil(mid), chars)
      );
    }

    /**
     * Pads `string` on the right side if it's shorter than `length`. Padding
     * characters are truncated if they exceed `length`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to pad.
     * @param {number} [length=0] The padding length.
     * @param {string} [chars=' '] The string used as padding.
     * @returns {string} Returns the padded string.
     * @example
     *
     * _.padEnd('abc', 6);
     * // => 'abc   '
     *
     * _.padEnd('abc', 6, '_-');
     * // => 'abc_-_'
     *
     * _.padEnd('abc', 3);
     * // => 'abc'
     */
    function padEnd(string, length, chars) {
      string = toString(string);
      length = toInteger(length);

      var strLength = length ? stringSize(string) : 0;
      return (length && strLength < length)
        ? (string + createPadding(length - strLength, chars))
        : string;
    }

    /**
     * Pads `string` on the left side if it's shorter than `length`. Padding
     * characters are truncated if they exceed `length`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to pad.
     * @param {number} [length=0] The padding length.
     * @param {string} [chars=' '] The string used as padding.
     * @returns {string} Returns the padded string.
     * @example
     *
     * _.padStart('abc', 6);
     * // => '   abc'
     *
     * _.padStart('abc', 6, '_-');
     * // => '_-_abc'
     *
     * _.padStart('abc', 3);
     * // => 'abc'
     */
    function padStart(string, length, chars) {
      string = toString(string);
      length = toInteger(length);

      var strLength = length ? stringSize(string) : 0;
      return (length && strLength < length)
        ? (createPadding(length - strLength, chars) + string)
        : string;
    }

    /**
     * Converts `string` to an integer of the specified radix. If `radix` is
     * `undefined` or `0`, a `radix` of `10` is used unless `value` is a
     * hexadecimal, in which case a `radix` of `16` is used.
     *
     * **Note:** This method aligns with the
     * [ES5 implementation](https://es5.github.io/#x15.1.2.2) of `parseInt`.
     *
     * @static
     * @memberOf _
     * @since 1.1.0
     * @category String
     * @param {string} string The string to convert.
     * @param {number} [radix=10] The radix to interpret `value` by.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {number} Returns the converted integer.
     * @example
     *
     * _.parseInt('08');
     * // => 8
     *
     * _.map(['6', '08', '10'], _.parseInt);
     * // => [6, 8, 10]
     */
    function parseInt(string, radix, guard) {
      if (guard || radix == null) {
        radix = 0;
      } else if (radix) {
        radix = +radix;
      }
      return nativeParseInt(toString(string).replace(reTrimStart, ''), radix || 0);
    }

    /**
     * Repeats the given string `n` times.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to repeat.
     * @param {number} [n=1] The number of times to repeat the string.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {string} Returns the repeated string.
     * @example
     *
     * _.repeat('*', 3);
     * // => '***'
     *
     * _.repeat('abc', 2);
     * // => 'abcabc'
     *
     * _.repeat('abc', 0);
     * // => ''
     */
    function repeat(string, n, guard) {
      if ((guard ? isIterateeCall(string, n, guard) : n === undefined)) {
        n = 1;
      } else {
        n = toInteger(n);
      }
      return baseRepeat(toString(string), n);
    }

    /**
     * Replaces matches for `pattern` in `string` with `replacement`.
     *
     * **Note:** This method is based on
     * [`String#replace`](https://mdn.io/String/replace).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to modify.
     * @param {RegExp|string} pattern The pattern to replace.
     * @param {Function|string} replacement The match replacement.
     * @returns {string} Returns the modified string.
     * @example
     *
     * _.replace('Hi Fred', 'Fred', 'Barney');
     * // => 'Hi Barney'
     */
    function replace() {
      var args = arguments,
          string = toString(args[0]);

      return args.length < 3 ? string : string.replace(args[1], args[2]);
    }

    /**
     * Converts `string` to
     * [snake case](https://en.wikipedia.org/wiki/Snake_case).
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to convert.
     * @returns {string} Returns the snake cased string.
     * @example
     *
     * _.snakeCase('Foo Bar');
     * // => 'foo_bar'
     *
     * _.snakeCase('fooBar');
     * // => 'foo_bar'
     *
     * _.snakeCase('--FOO-BAR--');
     * // => 'foo_bar'
     */
    var snakeCase = createCompounder(function(result, word, index) {
      return result + (index ? '_' : '') + word.toLowerCase();
    });

    /**
     * Splits `string` by `separator`.
     *
     * **Note:** This method is based on
     * [`String#split`](https://mdn.io/String/split).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to split.
     * @param {RegExp|string} separator The separator pattern to split by.
     * @param {number} [limit] The length to truncate results to.
     * @returns {Array} Returns the string segments.
     * @example
     *
     * _.split('a-b-c', '-', 2);
     * // => ['a', 'b']
     */
    function split(string, separator, limit) {
      if (limit && typeof limit != 'number' && isIterateeCall(string, separator, limit)) {
        separator = limit = undefined;
      }
      limit = limit === undefined ? MAX_ARRAY_LENGTH : limit >>> 0;
      if (!limit) {
        return [];
      }
      string = toString(string);
      if (string && (
            typeof separator == 'string' ||
            (separator != null && !isRegExp(separator))
          )) {
        separator = baseToString(separator);
        if (!separator && hasUnicode(string)) {
          return castSlice(stringToArray(string), 0, limit);
        }
      }
      return string.split(separator, limit);
    }

    /**
     * Converts `string` to
     * [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage).
     *
     * @static
     * @memberOf _
     * @since 3.1.0
     * @category String
     * @param {string} [string=''] The string to convert.
     * @returns {string} Returns the start cased string.
     * @example
     *
     * _.startCase('--foo-bar--');
     * // => 'Foo Bar'
     *
     * _.startCase('fooBar');
     * // => 'Foo Bar'
     *
     * _.startCase('__FOO_BAR__');
     * // => 'FOO BAR'
     */
    var startCase = createCompounder(function(result, word, index) {
      return result + (index ? ' ' : '') + upperFirst(word);
    });

    /**
     * Checks if `string` starts with the given target string.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to inspect.
     * @param {string} [target] The string to search for.
     * @param {number} [position=0] The position to search from.
     * @returns {boolean} Returns `true` if `string` starts with `target`,
     *  else `false`.
     * @example
     *
     * _.startsWith('abc', 'a');
     * // => true
     *
     * _.startsWith('abc', 'b');
     * // => false
     *
     * _.startsWith('abc', 'b', 1);
     * // => true
     */
    function startsWith(string, target, position) {
      string = toString(string);
      position = position == null
        ? 0
        : baseClamp(toInteger(position), 0, string.length);

      target = baseToString(target);
      return string.slice(position, position + target.length) == target;
    }

    /**
     * Creates a compiled template function that can interpolate data properties
     * in "interpolate" delimiters, HTML-escape interpolated data properties in
     * "escape" delimiters, and execute JavaScript in "evaluate" delimiters. Data
     * properties may be accessed as free variables in the template. If a setting
     * object is given, it takes precedence over `_.templateSettings` values.
     *
     * **Note:** In the development build `_.template` utilizes
     * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)
     * for easier debugging.
     *
     * For more information on precompiling templates see
     * [lodash's custom builds documentation](https://lodash.com/custom-builds).
     *
     * For more information on Chrome extension sandboxes see
     * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval).
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category String
     * @param {string} [string=''] The template string.
     * @param {Object} [options={}] The options object.
     * @param {RegExp} [options.escape=_.templateSettings.escape]
     *  The HTML "escape" delimiter.
     * @param {RegExp} [options.evaluate=_.templateSettings.evaluate]
     *  The "evaluate" delimiter.
     * @param {Object} [options.imports=_.templateSettings.imports]
     *  An object to import into the template as free variables.
     * @param {RegExp} [options.interpolate=_.templateSettings.interpolate]
     *  The "interpolate" delimiter.
     * @param {string} [options.sourceURL='lodash.templateSources[n]']
     *  The sourceURL of the compiled template.
     * @param {string} [options.variable='obj']
     *  The data object variable name.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {Function} Returns the compiled template function.
     * @example
     *
     * // Use the "interpolate" delimiter to create a compiled template.
     * var compiled = _.template('hello <%= user %>!');
     * compiled({ 'user': 'fred' });
     * // => 'hello fred!'
     *
     * // Use the HTML "escape" delimiter to escape data property values.
     * var compiled = _.template('<b><%- value %></b>');
     * compiled({ 'value': '<script>' });
     * // => '<b>&lt;script&gt;</b>'
     *
     * // Use the "evaluate" delimiter to execute JavaScript and generate HTML.
     * var compiled = _.template('<% _.forEach(users, function(user) { %><li><%- user %></li><% }); %>');
     * compiled({ 'users': ['fred', 'barney'] });
     * // => '<li>fred</li><li>barney</li>'
     *
     * // Use the internal `print` function in "evaluate" delimiters.
     * var compiled = _.template('<% print("hello " + user); %>!');
     * compiled({ 'user': 'barney' });
     * // => 'hello barney!'
     *
     * // Use the ES template literal delimiter as an "interpolate" delimiter.
     * // Disable support by replacing the "interpolate" delimiter.
     * var compiled = _.template('hello ${ user }!');
     * compiled({ 'user': 'pebbles' });
     * // => 'hello pebbles!'
     *
     * // Use backslashes to treat delimiters as plain text.
     * var compiled = _.template('<%= "\\<%- value %\\>" %>');
     * compiled({ 'value': 'ignored' });
     * // => '<%- value %>'
     *
     * // Use the `imports` option to import `jQuery` as `jq`.
     * var text = '<% jq.each(users, function(user) { %><li><%- user %></li><% }); %>';
     * var compiled = _.template(text, { 'imports': { 'jq': jQuery } });
     * compiled({ 'users': ['fred', 'barney'] });
     * // => '<li>fred</li><li>barney</li>'
     *
     * // Use the `sourceURL` option to specify a custom sourceURL for the template.
     * var compiled = _.template('hello <%= user %>!', { 'sourceURL': '/basic/greeting.jst' });
     * compiled(data);
     * // => Find the source of "greeting.jst" under the Sources tab or Resources panel of the web inspector.
     *
     * // Use the `variable` option to ensure a with-statement isn't used in the compiled template.
     * var compiled = _.template('hi <%= data.user %>!', { 'variable': 'data' });
     * compiled.source;
     * // => function(data) {
     * //   var __t, __p = '';
     * //   __p += 'hi ' + ((__t = ( data.user )) == null ? '' : __t) + '!';
     * //   return __p;
     * // }
     *
     * // Use custom template delimiters.
     * _.templateSettings.interpolate = /{{([\s\S]+?)}}/g;
     * var compiled = _.template('hello {{ user }}!');
     * compiled({ 'user': 'mustache' });
     * // => 'hello mustache!'
     *
     * // Use the `source` property to inline compiled templates for meaningful
     * // line numbers in error messages and stack traces.
     * fs.writeFileSync(path.join(process.cwd(), 'jst.js'), '\
     *   var JST = {\
     *     "main": ' + _.template(mainText).source + '\
     *   };\
     * ');
     */
    function template(string, options, guard) {
      // Based on John Resig's `tmpl` implementation
      // (http://ejohn.org/blog/javascript-micro-templating/)
      // and Laura Doktorova's doT.js (https://github.com/olado/doT).
      var settings = lodash.templateSettings;

      if (guard && isIterateeCall(string, options, guard)) {
        options = undefined;
      }
      string = toString(string);
      options = assignInWith({}, options, settings, customDefaultsAssignIn);

      var imports = assignInWith({}, options.imports, settings.imports, customDefaultsAssignIn),
          importsKeys = keys(imports),
          importsValues = baseValues(imports, importsKeys);

      var isEscaping,
          isEvaluating,
          index = 0,
          interpolate = options.interpolate || reNoMatch,
          source = "__p += '";

      // Compile the regexp to match each delimiter.
      var reDelimiters = RegExp(
        (options.escape || reNoMatch).source + '|' +
        interpolate.source + '|' +
        (interpolate === reInterpolate ? reEsTemplate : reNoMatch).source + '|' +
        (options.evaluate || reNoMatch).source + '|$'
      , 'g');

      // Use a sourceURL for easier debugging.
      // The sourceURL gets injected into the source that's eval-ed, so be careful
      // to normalize all kinds of whitespace, so e.g. newlines (and unicode versions of it) can't sneak in
      // and escape the comment, thus injecting code that gets evaled.
      var sourceURL = '//# sourceURL=' +
        (hasOwnProperty.call(options, 'sourceURL')
          ? (options.sourceURL + '').replace(/\s/g, ' ')
          : ('lodash.templateSources[' + (++templateCounter) + ']')
        ) + '\n';

      string.replace(reDelimiters, function(match, escapeValue, interpolateValue, esTemplateValue, evaluateValue, offset) {
        interpolateValue || (interpolateValue = esTemplateValue);

        // Escape characters that can't be included in string literals.
        source += string.slice(index, offset).replace(reUnescapedString, escapeStringChar);

        // Replace delimiters with snippets.
        if (escapeValue) {
          isEscaping = true;
          source += "' +\n__e(" + escapeValue + ") +\n'";
        }
        if (evaluateValue) {
          isEvaluating = true;
          source += "';\n" + evaluateValue + ";\n__p += '";
        }
        if (interpolateValue) {
          source += "' +\n((__t = (" + interpolateValue + ")) == null ? '' : __t) +\n'";
        }
        index = offset + match.length;

        // The JS engine embedded in Adobe products needs `match` returned in
        // order to produce the correct `offset` value.
        return match;
      });

      source += "';\n";

      // If `variable` is not specified wrap a with-statement around the generated
      // code to add the data object to the top of the scope chain.
      var variable = hasOwnProperty.call(options, 'variable') && options.variable;
      if (!variable) {
        source = 'with (obj) {\n' + source + '\n}\n';
      }
      // Throw an error if a forbidden character was found in `variable`, to prevent
      // potential command injection attacks.
      else if (reForbiddenIdentifierChars.test(variable)) {
        throw new Error(INVALID_TEMPL_VAR_ERROR_TEXT);
      }

      // Cleanup code by stripping empty strings.
      source = (isEvaluating ? source.replace(reEmptyStringLeading, '') : source)
        .replace(reEmptyStringMiddle, '$1')
        .replace(reEmptyStringTrailing, '$1;');

      // Frame code as the function body.
      source = 'function(' + (variable || 'obj') + ') {\n' +
        (variable
          ? ''
          : 'obj || (obj = {});\n'
        ) +
        "var __t, __p = ''" +
        (isEscaping
           ? ', __e = _.escape'
           : ''
        ) +
        (isEvaluating
          ? ', __j = Array.prototype.join;\n' +
            "function print() { __p += __j.call(arguments, '') }\n"
          : ';\n'
        ) +
        source +
        'return __p\n}';

      var result = attempt(function() {
        return Function(importsKeys, sourceURL + 'return ' + source)
          .apply(undefined, importsValues);
      });

      // Provide the compiled function's source by its `toString` method or
      // the `source` property as a convenience for inlining compiled templates.
      result.source = source;
      if (isError(result)) {
        throw result;
      }
      return result;
    }

    /**
     * Converts `string`, as a whole, to lower case just like
     * [String#toLowerCase](https://mdn.io/toLowerCase).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to convert.
     * @returns {string} Returns the lower cased string.
     * @example
     *
     * _.toLower('--Foo-Bar--');
     * // => '--foo-bar--'
     *
     * _.toLower('fooBar');
     * // => 'foobar'
     *
     * _.toLower('__FOO_BAR__');
     * // => '__foo_bar__'
     */
    function toLower(value) {
      return toString(value).toLowerCase();
    }

    /**
     * Converts `string`, as a whole, to upper case just like
     * [String#toUpperCase](https://mdn.io/toUpperCase).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to convert.
     * @returns {string} Returns the upper cased string.
     * @example
     *
     * _.toUpper('--foo-bar--');
     * // => '--FOO-BAR--'
     *
     * _.toUpper('fooBar');
     * // => 'FOOBAR'
     *
     * _.toUpper('__foo_bar__');
     * // => '__FOO_BAR__'
     */
    function toUpper(value) {
      return toString(value).toUpperCase();
    }

    /**
     * Removes leading and trailing whitespace or specified characters from `string`.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to trim.
     * @param {string} [chars=whitespace] The characters to trim.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {string} Returns the trimmed string.
     * @example
     *
     * _.trim('  abc  ');
     * // => 'abc'
     *
     * _.trim('-_-abc-_-', '_-');
     * // => 'abc'
     *
     * _.map(['  foo  ', '  bar  '], _.trim);
     * // => ['foo', 'bar']
     */
    function trim(string, chars, guard) {
      string = toString(string);
      if (string && (guard || chars === undefined)) {
        return baseTrim(string);
      }
      if (!string || !(chars = baseToString(chars))) {
        return string;
      }
      var strSymbols = stringToArray(string),
          chrSymbols = stringToArray(chars),
          start = charsStartIndex(strSymbols, chrSymbols),
          end = charsEndIndex(strSymbols, chrSymbols) + 1;

      return castSlice(strSymbols, start, end).join('');
    }

    /**
     * Removes trailing whitespace or specified characters from `string`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to trim.
     * @param {string} [chars=whitespace] The characters to trim.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {string} Returns the trimmed string.
     * @example
     *
     * _.trimEnd('  abc  ');
     * // => '  abc'
     *
     * _.trimEnd('-_-abc-_-', '_-');
     * // => '-_-abc'
     */
    function trimEnd(string, chars, guard) {
      string = toString(string);
      if (string && (guard || chars === undefined)) {
        return string.slice(0, trimmedEndIndex(string) + 1);
      }
      if (!string || !(chars = baseToString(chars))) {
        return string;
      }
      var strSymbols = stringToArray(string),
          end = charsEndIndex(strSymbols, stringToArray(chars)) + 1;

      return castSlice(strSymbols, 0, end).join('');
    }

    /**
     * Removes leading whitespace or specified characters from `string`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to trim.
     * @param {string} [chars=whitespace] The characters to trim.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {string} Returns the trimmed string.
     * @example
     *
     * _.trimStart('  abc  ');
     * // => 'abc  '
     *
     * _.trimStart('-_-abc-_-', '_-');
     * // => 'abc-_-'
     */
    function trimStart(string, chars, guard) {
      string = toString(string);
      if (string && (guard || chars === undefined)) {
        return string.replace(reTrimStart, '');
      }
      if (!string || !(chars = baseToString(chars))) {
        return string;
      }
      var strSymbols = stringToArray(string),
          start = charsStartIndex(strSymbols, stringToArray(chars));

      return castSlice(strSymbols, start).join('');
    }

    /**
     * Truncates `string` if it's longer than the given maximum string length.
     * The last characters of the truncated string are replaced with the omission
     * string which defaults to "...".
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to truncate.
     * @param {Object} [options={}] The options object.
     * @param {number} [options.length=30] The maximum string length.
     * @param {string} [options.omission='...'] The string to indicate text is omitted.
     * @param {RegExp|string} [options.separator] The separator pattern to truncate to.
     * @returns {string} Returns the truncated string.
     * @example
     *
     * _.truncate('hi-diddly-ho there, neighborino');
     * // => 'hi-diddly-ho there, neighbo...'
     *
     * _.truncate('hi-diddly-ho there, neighborino', {
     *   'length': 24,
     *   'separator': ' '
     * });
     * // => 'hi-diddly-ho there,...'
     *
     * _.truncate('hi-diddly-ho there, neighborino', {
     *   'length': 24,
     *   'separator': /,? +/
     * });
     * // => 'hi-diddly-ho there...'
     *
     * _.truncate('hi-diddly-ho there, neighborino', {
     *   'omission': ' [...]'
     * });
     * // => 'hi-diddly-ho there, neig [...]'
     */
    function truncate(string, options) {
      var length = DEFAULT_TRUNC_LENGTH,
          omission = DEFAULT_TRUNC_OMISSION;

      if (isObject(options)) {
        var separator = 'separator' in options ? options.separator : separator;
        length = 'length' in options ? toInteger(options.length) : length;
        omission = 'omission' in options ? baseToString(options.omission) : omission;
      }
      string = toString(string);

      var strLength = string.length;
      if (hasUnicode(string)) {
        var strSymbols = stringToArray(string);
        strLength = strSymbols.length;
      }
      if (length >= strLength) {
        return string;
      }
      var end = length - stringSize(omission);
      if (end < 1) {
        return omission;
      }
      var result = strSymbols
        ? castSlice(strSymbols, 0, end).join('')
        : string.slice(0, end);

      if (separator === undefined) {
        return result + omission;
      }
      if (strSymbols) {
        end += (result.length - end);
      }
      if (isRegExp(separator)) {
        if (string.slice(end).search(separator)) {
          var match,
              substring = result;

          if (!separator.global) {
            separator = RegExp(separator.source, toString(reFlags.exec(separator)) + 'g');
          }
          separator.lastIndex = 0;
          while ((match = separator.exec(substring))) {
            var newEnd = match.index;
          }
          result = result.slice(0, newEnd === undefined ? end : newEnd);
        }
      } else if (string.indexOf(baseToString(separator), end) != end) {
        var index = result.lastIndexOf(separator);
        if (index > -1) {
          result = result.slice(0, index);
        }
      }
      return result + omission;
    }

    /**
     * The inverse of `_.escape`; this method converts the HTML entities
     * `&amp;`, `&lt;`, `&gt;`, `&quot;`, and `&#39;` in `string` to
     * their corresponding characters.
     *
     * **Note:** No other HTML entities are unescaped. To unescape additional
     * HTML entities use a third-party library like [_he_](https://mths.be/he).
     *
     * @static
     * @memberOf _
     * @since 0.6.0
     * @category String
     * @param {string} [string=''] The string to unescape.
     * @returns {string} Returns the unescaped string.
     * @example
     *
     * _.unescape('fred, barney, &amp; pebbles');
     * // => 'fred, barney, & pebbles'
     */
    function unescape(string) {
      string = toString(string);
      return (string && reHasEscapedHtml.test(string))
        ? string.replace(reEscapedHtml, unescapeHtmlChar)
        : string;
    }

    /**
     * Converts `string`, as space separated words, to upper case.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to convert.
     * @returns {string} Returns the upper cased string.
     * @example
     *
     * _.upperCase('--foo-bar');
     * // => 'FOO BAR'
     *
     * _.upperCase('fooBar');
     * // => 'FOO BAR'
     *
     * _.upperCase('__foo_bar__');
     * // => 'FOO BAR'
     */
    var upperCase = createCompounder(function(result, word, index) {
      return result + (index ? ' ' : '') + word.toUpperCase();
    });

    /**
     * Converts the first character of `string` to upper case.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to convert.
     * @returns {string} Returns the converted string.
     * @example
     *
     * _.upperFirst('fred');
     * // => 'Fred'
     *
     * _.upperFirst('FRED');
     * // => 'FRED'
     */
    var upperFirst = createCaseFirst('toUpperCase');

    /**
     * Splits `string` into an array of its words.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to inspect.
     * @param {RegExp|string} [pattern] The pattern to match words.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {Array} Returns the words of `string`.
     * @example
     *
     * _.words('fred, barney, & pebbles');
     * // => ['fred', 'barney', 'pebbles']
     *
     * _.words('fred, barney, & pebbles', /[^, ]+/g);
     * // => ['fred', 'barney', '&', 'pebbles']
     */
    function words(string, pattern, guard) {
      string = toString(string);
      pattern = guard ? undefined : pattern;

      if (pattern === undefined) {
        return hasUnicodeWord(string) ? unicodeWords(string) : asciiWords(string);
      }
      return string.match(pattern) || [];
    }

    /*------------------------------------------------------------------------*/

    /**
     * Attempts to invoke `func`, returning either the result or the caught error
     * object. Any additional arguments are provided to `func` when it's invoked.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Util
     * @param {Function} func The function to attempt.
     * @param {...*} [args] The arguments to invoke `func` with.
     * @returns {*} Returns the `func` result or error object.
     * @example
     *
     * // Avoid throwing errors for invalid selectors.
     * var elements = _.attempt(function(selector) {
     *   return document.querySelectorAll(selector);
     * }, '>_>');
     *
     * if (_.isError(elements)) {
     *   elements = [];
     * }
     */
    var attempt = baseRest(function(func, args) {
      try {
        return apply(func, undefined, args);
      } catch (e) {
        return isError(e) ? e : new Error(e);
      }
    });

    /**
     * Binds methods of an object to the object itself, overwriting the existing
     * method.
     *
     * **Note:** This method doesn't set the "length" property of bound functions.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Util
     * @param {Object} object The object to bind and assign the bound methods to.
     * @param {...(string|string[])} methodNames The object method names to bind.
     * @returns {Object} Returns `object`.
     * @example
     *
     * var view = {
     *   'label': 'docs',
     *   'click': function() {
     *     console.log('clicked ' + this.label);
     *   }
     * };
     *
     * _.bindAll(view, ['click']);
     * jQuery(element).on('click', view.click);
     * // => Logs 'clicked docs' when clicked.
     */
    var bindAll = flatRest(function(object, methodNames) {
      arrayEach(methodNames, function(key) {
        key = toKey(key);
        baseAssignValue(object, key, bind(object[key], object));
      });
      return object;
    });

    /**
     * Creates a function that iterates over `pairs` and invokes the corresponding
     * function of the first predicate to return truthy. The predicate-function
     * pairs are invoked with the `this` binding and arguments of the created
     * function.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Util
     * @param {Array} pairs The predicate-function pairs.
     * @returns {Function} Returns the new composite function.
     * @example
     *
     * var func = _.cond([
     *   [_.matches({ 'a': 1 }),           _.constant('matches A')],
     *   [_.conforms({ 'b': _.isNumber }), _.constant('matches B')],
     *   [_.stubTrue,                      _.constant('no match')]
     * ]);
     *
     * func({ 'a': 1, 'b': 2 });
     * // => 'matches A'
     *
     * func({ 'a': 0, 'b': 1 });
     * // => 'matches B'
     *
     * func({ 'a': '1', 'b': '2' });
     * // => 'no match'
     */
    function cond(pairs) {
      var length = pairs == null ? 0 : pairs.length,
          toIteratee = getIteratee();

      pairs = !length ? [] : arrayMap(pairs, function(pair) {
        if (typeof pair[1] != 'function') {
          throw new TypeError(FUNC_ERROR_TEXT);
        }
        return [toIteratee(pair[0]), pair[1]];
      });

      return baseRest(function(args) {
        var index = -1;
        while (++index < length) {
          var pair = pairs[index];
          if (apply(pair[0], this, args)) {
            return apply(pair[1], this, args);
          }
        }
      });
    }

    /**
     * Creates a function that invokes the predicate properties of `source` with
     * the corresponding property values of a given object, returning `true` if
     * all predicates return truthy, else `false`.
     *
     * **Note:** The created function is equivalent to `_.conformsTo` with
     * `source` partially applied.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Util
     * @param {Object} source The object of property predicates to conform to.
     * @returns {Function} Returns the new spec function.
     * @example
     *
     * var objects = [
     *   { 'a': 2, 'b': 1 },
     *   { 'a': 1, 'b': 2 }
     * ];
     *
     * _.filter(objects, _.conforms({ 'b': function(n) { return n > 1; } }));
     * // => [{ 'a': 1, 'b': 2 }]
     */
    function conforms(source) {
      return baseConforms(baseClone(source, CLONE_DEEP_FLAG));
    }

    /**
     * Creates a function that returns `value`.
     *
     * @static
     * @memberOf _
     * @since 2.4.0
     * @category Util
     * @param {*} value The value to return from the new function.
     * @returns {Function} Returns the new constant function.
     * @example
     *
     * var objects = _.times(2, _.constant({ 'a': 1 }));
     *
     * console.log(objects);
     * // => [{ 'a': 1 }, { 'a': 1 }]
     *
     * console.log(objects[0] === objects[1]);
     * // => true
     */
    function constant(value) {
      return function() {
        return value;
      };
    }

    /**
     * Checks `value` to determine whether a default value should be returned in
     * its place. The `defaultValue` is returned if `value` is `NaN`, `null`,
     * or `undefined`.
     *
     * @static
     * @memberOf _
     * @since 4.14.0
     * @category Util
     * @param {*} value The value to check.
     * @param {*} defaultValue The default value.
     * @returns {*} Returns the resolved value.
     * @example
     *
     * _.defaultTo(1, 10);
     * // => 1
     *
     * _.defaultTo(undefined, 10);
     * // => 10
     */
    function defaultTo(value, defaultValue) {
      return (value == null || value !== value) ? defaultValue : value;
    }

    /**
     * Creates a function that returns the result of invoking the given functions
     * with the `this` binding of the created function, where each successive
     * invocation is supplied the return value of the previous.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Util
     * @param {...(Function|Function[])} [funcs] The functions to invoke.
     * @returns {Function} Returns the new composite function.
     * @see _.flowRight
     * @example
     *
     * function square(n) {
     *   return n * n;
     * }
     *
     * var addSquare = _.flow([_.add, square]);
     * addSquare(1, 2);
     * // => 9
     */
    var flow = createFlow();

    /**
     * This method is like `_.flow` except that it creates a function that
     * invokes the given functions from right to left.
     *
     * @static
     * @since 3.0.0
     * @memberOf _
     * @category Util
     * @param {...(Function|Function[])} [funcs] The functions to invoke.
     * @returns {Function} Returns the new composite function.
     * @see _.flow
     * @example
     *
     * function square(n) {
     *   return n * n;
     * }
     *
     * var addSquare = _.flowRight([square, _.add]);
     * addSquare(1, 2);
     * // => 9
     */
    var flowRight = createFlow(true);

    /**
     * This method returns the first argument it receives.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Util
     * @param {*} value Any value.
     * @returns {*} Returns `value`.
     * @example
     *
     * var object = { 'a': 1 };
     *
     * console.log(_.identity(object) === object);
     * // => true
     */
    function identity(value) {
      return value;
    }

    /**
     * Creates a function that invokes `func` with the arguments of the created
     * function. If `func` is a property name, the created function returns the
     * property value for a given element. If `func` is an array or object, the
     * created function returns `true` for elements that contain the equivalent
     * source properties, otherwise it returns `false`.
     *
     * @static
     * @since 4.0.0
     * @memberOf _
     * @category Util
     * @param {*} [func=_.identity] The value to convert to a callback.
     * @returns {Function} Returns the callback.
     * @example
     *
     * var users = [
     *   { 'user': 'barney', 'age': 36, 'active': true },
     *   { 'user': 'fred',   'age': 40, 'active': false }
     * ];
     *
     * // The `_.matches` iteratee shorthand.
     * _.filter(users, _.iteratee({ 'user': 'barney', 'active': true }));
     * // => [{ 'user': 'barney', 'age': 36, 'active': true }]
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.filter(users, _.iteratee(['user', 'fred']));
     * // => [{ 'user': 'fred', 'age': 40 }]
     *
     * // The `_.property` iteratee shorthand.
     * _.map(users, _.iteratee('user'));
     * // => ['barney', 'fred']
     *
     * // Create custom iteratee shorthands.
     * _.iteratee = _.wrap(_.iteratee, function(iteratee, func) {
     *   return !_.isRegExp(func) ? iteratee(func) : function(string) {
     *     return func.test(string);
     *   };
     * });
     *
     * _.filter(['abc', 'def'], /ef/);
     * // => ['def']
     */
    function iteratee(func) {
      return baseIteratee(typeof func == 'function' ? func : baseClone(func, CLONE_DEEP_FLAG));
    }

    /**
     * Creates a function that performs a partial deep comparison between a given
     * object and `source`, returning `true` if the given object has equivalent
     * property values, else `false`.
     *
     * **Note:** The created function is equivalent to `_.isMatch` with `source`
     * partially applied.
     *
     * Partial comparisons will match empty array and empty object `source`
     * values against any array or object value, respectively. See `_.isEqual`
     * for a list of supported value comparisons.
     *
     * **Note:** Multiple values can be checked by combining several matchers
     * using `_.overSome`
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Util
     * @param {Object} source The object of property values to match.
     * @returns {Function} Returns the new spec function.
     * @example
     *
     * var objects = [
     *   { 'a': 1, 'b': 2, 'c': 3 },
     *   { 'a': 4, 'b': 5, 'c': 6 }
     * ];
     *
     * _.filter(objects, _.matches({ 'a': 4, 'c': 6 }));
     * // => [{ 'a': 4, 'b': 5, 'c': 6 }]
     *
     * // Checking for several possible values
     * _.filter(objects, _.overSome([_.matches({ 'a': 1 }), _.matches({ 'a': 4 })]));
     * // => [{ 'a': 1, 'b': 2, 'c': 3 }, { 'a': 4, 'b': 5, 'c': 6 }]
     */
    function matches(source) {
      return baseMatches(baseClone(source, CLONE_DEEP_FLAG));
    }

    /**
     * Creates a function that performs a partial deep comparison between the
     * value at `path` of a given object to `srcValue`, returning `true` if the
     * object value is equivalent, else `false`.
     *
     * **Note:** Partial comparisons will match empty array and empty object
     * `srcValue` values against any array or object value, respectively. See
     * `_.isEqual` for a list of supported value comparisons.
     *
     * **Note:** Multiple values can be checked by combining several matchers
     * using `_.overSome`
     *
     * @static
     * @memberOf _
     * @since 3.2.0
     * @category Util
     * @param {Array|string} path The path of the property to get.
     * @param {*} srcValue The value to match.
     * @returns {Function} Returns the new spec function.
     * @example
     *
     * var objects = [
     *   { 'a': 1, 'b': 2, 'c': 3 },
     *   { 'a': 4, 'b': 5, 'c': 6 }
     * ];
     *
     * _.find(objects, _.matchesProperty('a', 4));
     * // => { 'a': 4, 'b': 5, 'c': 6 }
     *
     * // Checking for several possible values
     * _.filter(objects, _.overSome([_.matchesProperty('a', 1), _.matchesProperty('a', 4)]));
     * // => [{ 'a': 1, 'b': 2, 'c': 3 }, { 'a': 4, 'b': 5, 'c': 6 }]
     */
    function matchesProperty(path, srcValue) {
      return baseMatchesProperty(path, baseClone(srcValue, CLONE_DEEP_FLAG));
    }

    /**
     * Creates a function that invokes the method at `path` of a given object.
     * Any additional arguments are provided to the invoked method.
     *
     * @static
     * @memberOf _
     * @since 3.7.0
     * @category Util
     * @param {Array|string} path The path of the method to invoke.
     * @param {...*} [args] The arguments to invoke the method with.
     * @returns {Function} Returns the new invoker function.
     * @example
     *
     * var objects = [
     *   { 'a': { 'b': _.constant(2) } },
     *   { 'a': { 'b': _.constant(1) } }
     * ];
     *
     * _.map(objects, _.method('a.b'));
     * // => [2, 1]
     *
     * _.map(objects, _.method(['a', 'b']));
     * // => [2, 1]
     */
    var method = baseRest(function(path, args) {
      return function(object) {
        return baseInvoke(object, path, args);
      };
    });

    /**
     * The opposite of `_.method`; this method creates a function that invokes
     * the method at a given path of `object`. Any additional arguments are
     * provided to the invoked method.
     *
     * @static
     * @memberOf _
     * @since 3.7.0
     * @category Util
     * @param {Object} object The object to query.
     * @param {...*} [args] The arguments to invoke the method with.
     * @returns {Function} Returns the new invoker function.
     * @example
     *
     * var array = _.times(3, _.constant),
     *     object = { 'a': array, 'b': array, 'c': array };
     *
     * _.map(['a[2]', 'c[0]'], _.methodOf(object));
     * // => [2, 0]
     *
     * _.map([['a', '2'], ['c', '0']], _.methodOf(object));
     * // => [2, 0]
     */
    var methodOf = baseRest(function(object, args) {
      return function(path) {
        return baseInvoke(object, path, args);
      };
    });

    /**
     * Adds all own enumerable string keyed function properties of a source
     * object to the destination object. If `object` is a function, then methods
     * are added to its prototype as well.
     *
     * **Note:** Use `_.runInContext` to create a pristine `lodash` function to
     * avoid conflicts caused by modifying the original.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Util
     * @param {Function|Object} [object=lodash] The destination object.
     * @param {Object} source The object of functions to add.
     * @param {Object} [options={}] The options object.
     * @param {boolean} [options.chain=true] Specify whether mixins are chainable.
     * @returns {Function|Object} Returns `object`.
     * @example
     *
     * function vowels(string) {
     *   return _.filter(string, function(v) {
     *     return /[aeiou]/i.test(v);
     *   });
     * }
     *
     * _.mixin({ 'vowels': vowels });
     * _.vowels('fred');
     * // => ['e']
     *
     * _('fred').vowels().value();
     * // => ['e']
     *
     * _.mixin({ 'vowels': vowels }, { 'chain': false });
     * _('fred').vowels();
     * // => ['e']
     */
    function mixin(object, source, options) {
      var props = keys(source),
          methodNames = baseFunctions(source, props);

      if (options == null &&
          !(isObject(source) && (methodNames.length || !props.length))) {
        options = source;
        source = object;
        object = this;
        methodNames = baseFunctions(source, keys(source));
      }
      var chain = !(isObject(options) && 'chain' in options) || !!options.chain,
          isFunc = isFunction(object);

      arrayEach(methodNames, function(methodName) {
        var func = source[methodName];
        object[methodName] = func;
        if (isFunc) {
          object.prototype[methodName] = function() {
            var chainAll = this.__chain__;
            if (chain || chainAll) {
              var result = object(this.__wrapped__),
                  actions = result.__actions__ = copyArray(this.__actions__);

              actions.push({ 'func': func, 'args': arguments, 'thisArg': object });
              result.__chain__ = chainAll;
              return result;
            }
            return func.apply(object, arrayPush([this.value()], arguments));
          };
        }
      });

      return object;
    }

    /**
     * Reverts the `_` variable to its previous value and returns a reference to
     * the `lodash` function.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Util
     * @returns {Function} Returns the `lodash` function.
     * @example
     *
     * var lodash = _.noConflict();
     */
    function noConflict() {
      if (root._ === this) {
        root._ = oldDash;
      }
      return this;
    }

    /**
     * This method returns `undefined`.
     *
     * @static
     * @memberOf _
     * @since 2.3.0
     * @category Util
     * @example
     *
     * _.times(2, _.noop);
     * // => [undefined, undefined]
     */
    function noop() {
      // No operation performed.
    }

    /**
     * Creates a function that gets the argument at index `n`. If `n` is negative,
     * the nth argument from the end is returned.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Util
     * @param {number} [n=0] The index of the argument to return.
     * @returns {Function} Returns the new pass-thru function.
     * @example
     *
     * var func = _.nthArg(1);
     * func('a', 'b', 'c', 'd');
     * // => 'b'
     *
     * var func = _.nthArg(-2);
     * func('a', 'b', 'c', 'd');
     * // => 'c'
     */
    function nthArg(n) {
      n = toInteger(n);
      return baseRest(function(args) {
        return baseNth(args, n);
      });
    }

    /**
     * Creates a function that invokes `iteratees` with the arguments it receives
     * and returns their results.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Util
     * @param {...(Function|Function[])} [iteratees=[_.identity]]
     *  The iteratees to invoke.
     * @returns {Function} Returns the new function.
     * @example
     *
     * var func = _.over([Math.max, Math.min]);
     *
     * func(1, 2, 3, 4);
     * // => [4, 1]
     */
    var over = createOver(arrayMap);

    /**
     * Creates a function that checks if **all** of the `predicates` return
     * truthy when invoked with the arguments it receives.
     *
     * Following shorthands are possible for providing predicates.
     * Pass an `Object` and it will be used as an parameter for `_.matches` to create the predicate.
     * Pass an `Array` of parameters for `_.matchesProperty` and the predicate will be created using them.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Util
     * @param {...(Function|Function[])} [predicates=[_.identity]]
     *  The predicates to check.
     * @returns {Function} Returns the new function.
     * @example
     *
     * var func = _.overEvery([Boolean, isFinite]);
     *
     * func('1');
     * // => true
     *
     * func(null);
     * // => false
     *
     * func(NaN);
     * // => false
     */
    var overEvery = createOver(arrayEvery);

    /**
     * Creates a function that checks if **any** of the `predicates` return
     * truthy when invoked with the arguments it receives.
     *
     * Following shorthands are possible for providing predicates.
     * Pass an `Object` and it will be used as an parameter for `_.matches` to create the predicate.
     * Pass an `Array` of parameters for `_.matchesProperty` and the predicate will be created using them.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Util
     * @param {...(Function|Function[])} [predicates=[_.identity]]
     *  The predicates to check.
     * @returns {Function} Returns the new function.
     * @example
     *
     * var func = _.overSome([Boolean, isFinite]);
     *
     * func('1');
     * // => true
     *
     * func(null);
     * // => true
     *
     * func(NaN);
     * // => false
     *
     * var matchesFunc = _.overSome([{ 'a': 1 }, { 'a': 2 }])
     * var matchesPropertyFunc = _.overSome([['a', 1], ['a', 2]])
     */
    var overSome = createOver(arraySome);

    /**
     * Creates a function that returns the value at `path` of a given object.
     *
     * @static
     * @memberOf _
     * @since 2.4.0
     * @category Util
     * @param {Array|string} path The path of the property to get.
     * @returns {Function} Returns the new accessor function.
     * @example
     *
     * var objects = [
     *   { 'a': { 'b': 2 } },
     *   { 'a': { 'b': 1 } }
     * ];
     *
     * _.map(objects, _.property('a.b'));
     * // => [2, 1]
     *
     * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');
     * // => [1, 2]
     */
    function property(path) {
      return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);
    }

    /**
     * The opposite of `_.property`; this method creates a function that returns
     * the value at a given path of `object`.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Util
     * @param {Object} object The object to query.
     * @returns {Function} Returns the new accessor function.
     * @example
     *
     * var array = [0, 1, 2],
     *     object = { 'a': array, 'b': array, 'c': array };
     *
     * _.map(['a[2]', 'c[0]'], _.propertyOf(object));
     * // => [2, 0]
     *
     * _.map([['a', '2'], ['c', '0']], _.propertyOf(object));
     * // => [2, 0]
     */
    function propertyOf(object) {
      return function(path) {
        return object == null ? undefined : baseGet(object, path);
      };
    }

    /**
     * Creates an array of numbers (positive and/or negative) progressing from
     * `start` up to, but not including, `end`. A step of `-1` is used if a negative
     * `start` is specified without an `end` or `step`. If `end` is not specified,
     * it's set to `start` with `start` then set to `0`.
     *
     * **Note:** JavaScript follows the IEEE-754 standard for resolving
     * floating-point values which can produce unexpected results.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Util
     * @param {number} [start=0] The start of the range.
     * @param {number} end The end of the range.
     * @param {number} [step=1] The value to increment or decrement by.
     * @returns {Array} Returns the range of numbers.
     * @see _.inRange, _.rangeRight
     * @example
     *
     * _.range(4);
     * // => [0, 1, 2, 3]
     *
     * _.range(-4);
     * // => [0, -1, -2, -3]
     *
     * _.range(1, 5);
     * // => [1, 2, 3, 4]
     *
     * _.range(0, 20, 5);
     * // => [0, 5, 10, 15]
     *
     * _.range(0, -4, -1);
     * // => [0, -1, -2, -3]
     *
     * _.range(1, 4, 0);
     * // => [1, 1, 1]
     *
     * _.range(0);
     * // => []
     */
    var range = createRange();

    /**
     * This method is like `_.range` except that it populates values in
     * descending order.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Util
     * @param {number} [start=0] The start of the range.
     * @param {number} end The end of the range.
     * @param {number} [step=1] The value to increment or decrement by.
     * @returns {Array} Returns the range of numbers.
     * @see _.inRange, _.range
     * @example
     *
     * _.rangeRight(4);
     * // => [3, 2, 1, 0]
     *
     * _.rangeRight(-4);
     * // => [-3, -2, -1, 0]
     *
     * _.rangeRight(1, 5);
     * // => [4, 3, 2, 1]
     *
     * _.rangeRight(0, 20, 5);
     * // => [15, 10, 5, 0]
     *
     * _.rangeRight(0, -4, -1);
     * // => [-3, -2, -1, 0]
     *
     * _.rangeRight(1, 4, 0);
     * // => [1, 1, 1]
     *
     * _.rangeRight(0);
     * // => []
     */
    var rangeRight = createRange(true);

    /**
     * This method returns a new empty array.
     *
     * @static
     * @memberOf _
     * @since 4.13.0
     * @category Util
     * @returns {Array} Returns the new empty array.
     * @example
     *
     * var arrays = _.times(2, _.stubArray);
     *
     * console.log(arrays);
     * // => [[], []]
     *
     * console.log(arrays[0] === arrays[1]);
     * // => false
     */
    function stubArray() {
      return [];
    }

    /**
     * This method returns `false`.
     *
     * @static
     * @memberOf _
     * @since 4.13.0
     * @category Util
     * @returns {boolean} Returns `false`.
     * @example
     *
     * _.times(2, _.stubFalse);
     * // => [false, false]
     */
    function stubFalse() {
      return false;
    }

    /**
     * This method returns a new empty object.
     *
     * @static
     * @memberOf _
     * @since 4.13.0
     * @category Util
     * @returns {Object} Returns the new empty object.
     * @example
     *
     * var objects = _.times(2, _.stubObject);
     *
     * console.log(objects);
     * // => [{}, {}]
     *
     * console.log(objects[0] === objects[1]);
     * // => false
     */
    function stubObject() {
      return {};
    }

    /**
     * This method returns an empty string.
     *
     * @static
     * @memberOf _
     * @since 4.13.0
     * @category Util
     * @returns {string} Returns the empty string.
     * @example
     *
     * _.times(2, _.stubString);
     * // => ['', '']
     */
    function stubString() {
      return '';
    }

    /**
     * This method returns `true`.
     *
     * @static
     * @memberOf _
     * @since 4.13.0
     * @category Util
     * @returns {boolean} Returns `true`.
     * @example
     *
     * _.times(2, _.stubTrue);
     * // => [true, true]
     */
    function stubTrue() {
      return true;
    }

    /**
     * Invokes the iteratee `n` times, returning an array of the results of
     * each invocation. The iteratee is invoked with one argument; (index).
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Util
     * @param {number} n The number of times to invoke `iteratee`.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the array of results.
     * @example
     *
     * _.times(3, String);
     * // => ['0', '1', '2']
     *
     *  _.times(4, _.constant(0));
     * // => [0, 0, 0, 0]
     */
    function times(n, iteratee) {
      n = toInteger(n);
      if (n < 1 || n > MAX_SAFE_INTEGER) {
        return [];
      }
      var index = MAX_ARRAY_LENGTH,
          length = nativeMin(n, MAX_ARRAY_LENGTH);

      iteratee = getIteratee(iteratee);
      n -= MAX_ARRAY_LENGTH;

      var result = baseTimes(length, iteratee);
      while (++index < n) {
        iteratee(index);
      }
      return result;
    }

    /**
     * Converts `value` to a property path array.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Util
     * @param {*} value The value to convert.
     * @returns {Array} Returns the new property path array.
     * @example
     *
     * _.toPath('a.b.c');
     * // => ['a', 'b', 'c']
     *
     * _.toPath('a[0].b.c');
     * // => ['a', '0', 'b', 'c']
     */
    function toPath(value) {
      if (isArray(value)) {
        return arrayMap(value, toKey);
      }
      return isSymbol(value) ? [value] : copyArray(stringToPath(toString(value)));
    }

    /**
     * Generates a unique ID. If `prefix` is given, the ID is appended to it.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Util
     * @param {string} [prefix=''] The value to prefix the ID with.
     * @returns {string} Returns the unique ID.
     * @example
     *
     * _.uniqueId('contact_');
     * // => 'contact_104'
     *
     * _.uniqueId();
     * // => '105'
     */
    function uniqueId(prefix) {
      var id = ++idCounter;
      return toString(prefix) + id;
    }

    /*------------------------------------------------------------------------*/

    /**
     * Adds two numbers.
     *
     * @static
     * @memberOf _
     * @since 3.4.0
     * @category Math
     * @param {number} augend The first number in an addition.
     * @param {number} addend The second number in an addition.
     * @returns {number} Returns the total.
     * @example
     *
     * _.add(6, 4);
     * // => 10
     */
    var add = createMathOperation(function(augend, addend) {
      return augend + addend;
    }, 0);

    /**
     * Computes `number` rounded up to `precision`.
     *
     * @static
     * @memberOf _
     * @since 3.10.0
     * @category Math
     * @param {number} number The number to round up.
     * @param {number} [precision=0] The precision to round up to.
     * @returns {number} Returns the rounded up number.
     * @example
     *
     * _.ceil(4.006);
     * // => 5
     *
     * _.ceil(6.004, 2);
     * // => 6.01
     *
     * _.ceil(6040, -2);
     * // => 6100
     */
    var ceil = createRound('ceil');

    /**
     * Divide two numbers.
     *
     * @static
     * @memberOf _
     * @since 4.7.0
     * @category Math
     * @param {number} dividend The first number in a division.
     * @param {number} divisor The second number in a division.
     * @returns {number} Returns the quotient.
     * @example
     *
     * _.divide(6, 4);
     * // => 1.5
     */
    var divide = createMathOperation(function(dividend, divisor) {
      return dividend / divisor;
    }, 1);

    /**
     * Computes `number` rounded down to `precision`.
     *
     * @static
     * @memberOf _
     * @since 3.10.0
     * @category Math
     * @param {number} number The number to round down.
     * @param {number} [precision=0] The precision to round down to.
     * @returns {number} Returns the rounded down number.
     * @example
     *
     * _.floor(4.006);
     * // => 4
     *
     * _.floor(0.046, 2);
     * // => 0.04
     *
     * _.floor(4060, -2);
     * // => 4000
     */
    var floor = createRound('floor');

    /**
     * Computes the maximum value of `array`. If `array` is empty or falsey,
     * `undefined` is returned.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Math
     * @param {Array} array The array to iterate over.
     * @returns {*} Returns the maximum value.
     * @example
     *
     * _.max([4, 2, 8, 6]);
     * // => 8
     *
     * _.max([]);
     * // => undefined
     */
    function max(array) {
      return (array && array.length)
        ? baseExtremum(array, identity, baseGt)
        : undefined;
    }

    /**
     * This method is like `_.max` except that it accepts `iteratee` which is
     * invoked for each element in `array` to generate the criterion by which
     * the value is ranked. The iteratee is invoked with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Math
     * @param {Array} array The array to iterate over.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {*} Returns the maximum value.
     * @example
     *
     * var objects = [{ 'n': 1 }, { 'n': 2 }];
     *
     * _.maxBy(objects, function(o) { return o.n; });
     * // => { 'n': 2 }
     *
     * // The `_.property` iteratee shorthand.
     * _.maxBy(objects, 'n');
     * // => { 'n': 2 }
     */
    function maxBy(array, iteratee) {
      return (array && array.length)
        ? baseExtremum(array, getIteratee(iteratee, 2), baseGt)
        : undefined;
    }

    /**
     * Computes the mean of the values in `array`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Math
     * @param {Array} array The array to iterate over.
     * @returns {number} Returns the mean.
     * @example
     *
     * _.mean([4, 2, 8, 6]);
     * // => 5
     */
    function mean(array) {
      return baseMean(array, identity);
    }

    /**
     * This method is like `_.mean` except that it accepts `iteratee` which is
     * invoked for each element in `array` to generate the value to be averaged.
     * The iteratee is invoked with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 4.7.0
     * @category Math
     * @param {Array} array The array to iterate over.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {number} Returns the mean.
     * @example
     *
     * var objects = [{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }];
     *
     * _.meanBy(objects, function(o) { return o.n; });
     * // => 5
     *
     * // The `_.property` iteratee shorthand.
     * _.meanBy(objects, 'n');
     * // => 5
     */
    function meanBy(array, iteratee) {
      return baseMean(array, getIteratee(iteratee, 2));
    }

    /**
     * Computes the minimum value of `array`. If `array` is empty or falsey,
     * `undefined` is returned.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Math
     * @param {Array} array The array to iterate over.
     * @returns {*} Returns the minimum value.
     * @example
     *
     * _.min([4, 2, 8, 6]);
     * // => 2
     *
     * _.min([]);
     * // => undefined
     */
    function min(array) {
      return (array && array.length)
        ? baseExtremum(array, identity, baseLt)
        : undefined;
    }

    /**
     * This method is like `_.min` except that it accepts `iteratee` which is
     * invoked for each element in `array` to generate the criterion by which
     * the value is ranked. The iteratee is invoked with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Math
     * @param {Array} array The array to iterate over.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {*} Returns the minimum value.
     * @example
     *
     * var objects = [{ 'n': 1 }, { 'n': 2 }];
     *
     * _.minBy(objects, function(o) { return o.n; });
     * // => { 'n': 1 }
     *
     * // The `_.property` iteratee shorthand.
     * _.minBy(objects, 'n');
     * // => { 'n': 1 }
     */
    function minBy(array, iteratee) {
      return (array && array.length)
        ? baseExtremum(array, getIteratee(iteratee, 2), baseLt)
        : undefined;
    }

    /**
     * Multiply two numbers.
     *
     * @static
     * @memberOf _
     * @since 4.7.0
     * @category Math
     * @param {number} multiplier The first number in a multiplication.
     * @param {number} multiplicand The second number in a multiplication.
     * @returns {number} Returns the product.
     * @example
     *
     * _.multiply(6, 4);
     * // => 24
     */
    var multiply = createMathOperation(function(multiplier, multiplicand) {
      return multiplier * multiplicand;
    }, 1);

    /**
     * Computes `number` rounded to `precision`.
     *
     * @static
     * @memberOf _
     * @since 3.10.0
     * @category Math
     * @param {number} number The number to round.
     * @param {number} [precision=0] The precision to round to.
     * @returns {number} Returns the rounded number.
     * @example
     *
     * _.round(4.006);
     * // => 4
     *
     * _.round(4.006, 2);
     * // => 4.01
     *
     * _.round(4060, -2);
     * // => 4100
     */
    var round = createRound('round');

    /**
     * Subtract two numbers.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Math
     * @param {number} minuend The first number in a subtraction.
     * @param {number} subtrahend The second number in a subtraction.
     * @returns {number} Returns the difference.
     * @example
     *
     * _.subtract(6, 4);
     * // => 2
     */
    var subtract = createMathOperation(function(minuend, subtrahend) {
      return minuend - subtrahend;
    }, 0);

    /**
     * Computes the sum of the values in `array`.
     *
     * @static
     * @memberOf _
     * @since 3.4.0
     * @category Math
     * @param {Array} array The array to iterate over.
     * @returns {number} Returns the sum.
     * @example
     *
     * _.sum([4, 2, 8, 6]);
     * // => 20
     */
    function sum(array) {
      return (array && array.length)
        ? baseSum(array, identity)
        : 0;
    }

    /**
     * This method is like `_.sum` except that it accepts `iteratee` which is
     * invoked for each element in `array` to generate the value to be summed.
     * The iteratee is invoked with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Math
     * @param {Array} array The array to iterate over.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {number} Returns the sum.
     * @example
     *
     * var objects = [{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }];
     *
     * _.sumBy(objects, function(o) { return o.n; });
     * // => 20
     *
     * // The `_.property` iteratee shorthand.
     * _.sumBy(objects, 'n');
     * // => 20
     */
    function sumBy(array, iteratee) {
      return (array && array.length)
        ? baseSum(array, getIteratee(iteratee, 2))
        : 0;
    }

    /*------------------------------------------------------------------------*/

    // Add methods that return wrapped values in chain sequences.
    lodash.after = after;
    lodash.ary = ary;
    lodash.assign = assign;
    lodash.assignIn = assignIn;
    lodash.assignInWith = assignInWith;
    lodash.assignWith = assignWith;
    lodash.at = at;
    lodash.before = before;
    lodash.bind = bind;
    lodash.bindAll = bindAll;
    lodash.bindKey = bindKey;
    lodash.castArray = castArray;
    lodash.chain = chain;
    lodash.chunk = chunk;
    lodash.compact = compact;
    lodash.concat = concat;
    lodash.cond = cond;
    lodash.conforms = conforms;
    lodash.constant = constant;
    lodash.countBy = countBy;
    lodash.create = create;
    lodash.curry = curry;
    lodash.curryRight = curryRight;
    lodash.debounce = debounce;
    lodash.defaults = defaults;
    lodash.defaultsDeep = defaultsDeep;
    lodash.defer = defer;
    lodash.delay = delay;
    lodash.difference = difference;
    lodash.differenceBy = differenceBy;
    lodash.differenceWith = differenceWith;
    lodash.drop = drop;
    lodash.dropRight = dropRight;
    lodash.dropRightWhile = dropRightWhile;
    lodash.dropWhile = dropWhile;
    lodash.fill = fill;
    lodash.filter = filter;
    lodash.flatMap = flatMap;
    lodash.flatMapDeep = flatMapDeep;
    lodash.flatMapDepth = flatMapDepth;
    lodash.flatten = flatten;
    lodash.flattenDeep = flattenDeep;
    lodash.flattenDepth = flattenDepth;
    lodash.flip = flip;
    lodash.flow = flow;
    lodash.flowRight = flowRight;
    lodash.fromPairs = fromPairs;
    lodash.functions = functions;
    lodash.functionsIn = functionsIn;
    lodash.groupBy = groupBy;
    lodash.initial = initial;
    lodash.intersection = intersection;
    lodash.intersectionBy = intersectionBy;
    lodash.intersectionWith = intersectionWith;
    lodash.invert = invert;
    lodash.invertBy = invertBy;
    lodash.invokeMap = invokeMap;
    lodash.iteratee = iteratee;
    lodash.keyBy = keyBy;
    lodash.keys = keys;
    lodash.keysIn = keysIn;
    lodash.map = map;
    lodash.mapKeys = mapKeys;
    lodash.mapValues = mapValues;
    lodash.matches = matches;
    lodash.matchesProperty = matchesProperty;
    lodash.memoize = memoize;
    lodash.merge = merge;
    lodash.mergeWith = mergeWith;
    lodash.method = method;
    lodash.methodOf = methodOf;
    lodash.mixin = mixin;
    lodash.negate = negate;
    lodash.nthArg = nthArg;
    lodash.omit = omit;
    lodash.omitBy = omitBy;
    lodash.once = once;
    lodash.orderBy = orderBy;
    lodash.over = over;
    lodash.overArgs = overArgs;
    lodash.overEvery = overEvery;
    lodash.overSome = overSome;
    lodash.partial = partial;
    lodash.partialRight = partialRight;
    lodash.partition = partition;
    lodash.pick = pick;
    lodash.pickBy = pickBy;
    lodash.property = property;
    lodash.propertyOf = propertyOf;
    lodash.pull = pull;
    lodash.pullAll = pullAll;
    lodash.pullAllBy = pullAllBy;
    lodash.pullAllWith = pullAllWith;
    lodash.pullAt = pullAt;
    lodash.range = range;
    lodash.rangeRight = rangeRight;
    lodash.rearg = rearg;
    lodash.reject = reject;
    lodash.remove = remove;
    lodash.rest = rest;
    lodash.reverse = reverse;
    lodash.sampleSize = sampleSize;
    lodash.set = set;
    lodash.setWith = setWith;
    lodash.shuffle = shuffle;
    lodash.slice = slice;
    lodash.sortBy = sortBy;
    lodash.sortedUniq = sortedUniq;
    lodash.sortedUniqBy = sortedUniqBy;
    lodash.split = split;
    lodash.spread = spread;
    lodash.tail = tail;
    lodash.take = take;
    lodash.takeRight = takeRight;
    lodash.takeRightWhile = takeRightWhile;
    lodash.takeWhile = takeWhile;
    lodash.tap = tap;
    lodash.throttle = throttle;
    lodash.thru = thru;
    lodash.toArray = toArray;
    lodash.toPairs = toPairs;
    lodash.toPairsIn = toPairsIn;
    lodash.toPath = toPath;
    lodash.toPlainObject = toPlainObject;
    lodash.transform = transform;
    lodash.unary = unary;
    lodash.union = union;
    lodash.unionBy = unionBy;
    lodash.unionWith = unionWith;
    lodash.uniq = uniq;
    lodash.uniqBy = uniqBy;
    lodash.uniqWith = uniqWith;
    lodash.unset = unset;
    lodash.unzip = unzip;
    lodash.unzipWith = unzipWith;
    lodash.update = update;
    lodash.updateWith = updateWith;
    lodash.values = values;
    lodash.valuesIn = valuesIn;
    lodash.without = without;
    lodash.words = words;
    lodash.wrap = wrap;
    lodash.xor = xor;
    lodash.xorBy = xorBy;
    lodash.xorWith = xorWith;
    lodash.zip = zip;
    lodash.zipObject = zipObject;
    lodash.zipObjectDeep = zipObjectDeep;
    lodash.zipWith = zipWith;

    // Add aliases.
    lodash.entries = toPairs;
    lodash.entriesIn = toPairsIn;
    lodash.extend = assignIn;
    lodash.extendWith = assignInWith;

    // Add methods to `lodash.prototype`.
    mixin(lodash, lodash);

    /*------------------------------------------------------------------------*/

    // Add methods that return unwrapped values in chain sequences.
    lodash.add = add;
    lodash.attempt = attempt;
    lodash.camelCase = camelCase;
    lodash.capitalize = capitalize;
    lodash.ceil = ceil;
    lodash.clamp = clamp;
    lodash.clone = clone;
    lodash.cloneDeep = cloneDeep;
    lodash.cloneDeepWith = cloneDeepWith;
    lodash.cloneWith = cloneWith;
    lodash.conformsTo = conformsTo;
    lodash.deburr = deburr;
    lodash.defaultTo = defaultTo;
    lodash.divide = divide;
    lodash.endsWith = endsWith;
    lodash.eq = eq;
    lodash.escape = escape;
    lodash.escapeRegExp = escapeRegExp;
    lodash.every = every;
    lodash.find = find;
    lodash.findIndex = findIndex;
    lodash.findKey = findKey;
    lodash.findLast = findLast;
    lodash.findLastIndex = findLastIndex;
    lodash.findLastKey = findLastKey;
    lodash.floor = floor;
    lodash.forEach = forEach;
    lodash.forEachRight = forEachRight;
    lodash.forIn = forIn;
    lodash.forInRight = forInRight;
    lodash.forOwn = forOwn;
    lodash.forOwnRight = forOwnRight;
    lodash.get = get;
    lodash.gt = gt;
    lodash.gte = gte;
    lodash.has = has;
    lodash.hasIn = hasIn;
    lodash.head = head;
    lodash.identity = identity;
    lodash.includes = includes;
    lodash.indexOf = indexOf;
    lodash.inRange = inRange;
    lodash.invoke = invoke;
    lodash.isArguments = isArguments;
    lodash.isArray = isArray;
    lodash.isArrayBuffer = isArrayBuffer;
    lodash.isArrayLike = isArrayLike;
    lodash.isArrayLikeObject = isArrayLikeObject;
    lodash.isBoolean = isBoolean;
    lodash.isBuffer = isBuffer;
    lodash.isDate = isDate;
    lodash.isElement = isElement;
    lodash.isEmpty = isEmpty;
    lodash.isEqual = isEqual;
    lodash.isEqualWith = isEqualWith;
    lodash.isError = isError;
    lodash.isFinite = isFinite;
    lodash.isFunction = isFunction;
    lodash.isInteger = isInteger;
    lodash.isLength = isLength;
    lodash.isMap = isMap;
    lodash.isMatch = isMatch;
    lodash.isMatchWith = isMatchWith;
    lodash.isNaN = isNaN;
    lodash.isNative = isNative;
    lodash.isNil = isNil;
    lodash.isNull = isNull;
    lodash.isNumber = isNumber;
    lodash.isObject = isObject;
    lodash.isObjectLike = isObjectLike;
    lodash.isPlainObject = isPlainObject;
    lodash.isRegExp = isRegExp;
    lodash.isSafeInteger = isSafeInteger;
    lodash.isSet = isSet;
    lodash.isString = isString;
    lodash.isSymbol = isSymbol;
    lodash.isTypedArray = isTypedArray;
    lodash.isUndefined = isUndefined;
    lodash.isWeakMap = isWeakMap;
    lodash.isWeakSet = isWeakSet;
    lodash.join = join;
    lodash.kebabCase = kebabCase;
    lodash.last = last;
    lodash.lastIndexOf = lastIndexOf;
    lodash.lowerCase = lowerCase;
    lodash.lowerFirst = lowerFirst;
    lodash.lt = lt;
    lodash.lte = lte;
    lodash.max = max;
    lodash.maxBy = maxBy;
    lodash.mean = mean;
    lodash.meanBy = meanBy;
    lodash.min = min;
    lodash.minBy = minBy;
    lodash.stubArray = stubArray;
    lodash.stubFalse = stubFalse;
    lodash.stubObject = stubObject;
    lodash.stubString = stubString;
    lodash.stubTrue = stubTrue;
    lodash.multiply = multiply;
    lodash.nth = nth;
    lodash.noConflict = noConflict;
    lodash.noop = noop;
    lodash.now = now;
    lodash.pad = pad;
    lodash.padEnd = padEnd;
    lodash.padStart = padStart;
    lodash.parseInt = parseInt;
    lodash.random = random;
    lodash.reduce = reduce;
    lodash.reduceRight = reduceRight;
    lodash.repeat = repeat;
    lodash.replace = replace;
    lodash.result = result;
    lodash.round = round;
    lodash.runInContext = runInContext;
    lodash.sample = sample;
    lodash.size = size;
    lodash.snakeCase = snakeCase;
    lodash.some = some;
    lodash.sortedIndex = sortedIndex;
    lodash.sortedIndexBy = sortedIndexBy;
    lodash.sortedIndexOf = sortedIndexOf;
    lodash.sortedLastIndex = sortedLastIndex;
    lodash.sortedLastIndexBy = sortedLastIndexBy;
    lodash.sortedLastIndexOf = sortedLastIndexOf;
    lodash.startCase = startCase;
    lodash.startsWith = startsWith;
    lodash.subtract = subtract;
    lodash.sum = sum;
    lodash.sumBy = sumBy;
    lodash.template = template;
    lodash.times = times;
    lodash.toFinite = toFinite;
    lodash.toInteger = toInteger;
    lodash.toLength = toLength;
    lodash.toLower = toLower;
    lodash.toNumber = toNumber;
    lodash.toSafeInteger = toSafeInteger;
    lodash.toString = toString;
    lodash.toUpper = toUpper;
    lodash.trim = trim;
    lodash.trimEnd = trimEnd;
    lodash.trimStart = trimStart;
    lodash.truncate = truncate;
    lodash.unescape = unescape;
    lodash.uniqueId = uniqueId;
    lodash.upperCase = upperCase;
    lodash.upperFirst = upperFirst;

    // Add aliases.
    lodash.each = forEach;
    lodash.eachRight = forEachRight;
    lodash.first = head;

    mixin(lodash, (function() {
      var source = {};
      baseForOwn(lodash, function(func, methodName) {
        if (!hasOwnProperty.call(lodash.prototype, methodName)) {
          source[methodName] = func;
        }
      });
      return source;
    }()), { 'chain': false });

    /*------------------------------------------------------------------------*/

    /**
     * The semantic version number.
     *
     * @static
     * @memberOf _
     * @type {string}
     */
    lodash.VERSION = VERSION;

    // Assign default placeholders.
    arrayEach(['bind', 'bindKey', 'curry', 'curryRight', 'partial', 'partialRight'], function(methodName) {
      lodash[methodName].placeholder = lodash;
    });

    // Add `LazyWrapper` methods for `_.drop` and `_.take` variants.
    arrayEach(['drop', 'take'], function(methodName, index) {
      LazyWrapper.prototype[methodName] = function(n) {
        n = n === undefined ? 1 : nativeMax(toInteger(n), 0);

        var result = (this.__filtered__ && !index)
          ? new LazyWrapper(this)
          : this.clone();

        if (result.__filtered__) {
          result.__takeCount__ = nativeMin(n, result.__takeCount__);
        } else {
          result.__views__.push({
            'size': nativeMin(n, MAX_ARRAY_LENGTH),
            'type': methodName + (result.__dir__ < 0 ? 'Right' : '')
          });
        }
        return result;
      };

      LazyWrapper.prototype[methodName + 'Right'] = function(n) {
        return this.reverse()[methodName](n).reverse();
      };
    });

    // Add `LazyWrapper` methods that accept an `iteratee` value.
    arrayEach(['filter', 'map', 'takeWhile'], function(methodName, index) {
      var type = index + 1,
          isFilter = type == LAZY_FILTER_FLAG || type == LAZY_WHILE_FLAG;

      LazyWrapper.prototype[methodName] = function(iteratee) {
        var result = this.clone();
        result.__iteratees__.push({
          'iteratee': getIteratee(iteratee, 3),
          'type': type
        });
        result.__filtered__ = result.__filtered__ || isFilter;
        return result;
      };
    });

    // Add `LazyWrapper` methods for `_.head` and `_.last`.
    arrayEach(['head', 'last'], function(methodName, index) {
      var takeName = 'take' + (index ? 'Right' : '');

      LazyWrapper.prototype[methodName] = function() {
        return this[takeName](1).value()[0];
      };
    });

    // Add `LazyWrapper` methods for `_.initial` and `_.tail`.
    arrayEach(['initial', 'tail'], function(methodName, index) {
      var dropName = 'drop' + (index ? '' : 'Right');

      LazyWrapper.prototype[methodName] = function() {
        return this.__filtered__ ? new LazyWrapper(this) : this[dropName](1);
      };
    });

    LazyWrapper.prototype.compact = function() {
      return this.filter(identity);
    };

    LazyWrapper.prototype.find = function(predicate) {
      return this.filter(predicate).head();
    };

    LazyWrapper.prototype.findLast = function(predicate) {
      return this.reverse().find(predicate);
    };

    LazyWrapper.prototype.invokeMap = baseRest(function(path, args) {
      if (typeof path == 'function') {
        return new LazyWrapper(this);
      }
      return this.map(function(value) {
        return baseInvoke(value, path, args);
      });
    });

    LazyWrapper.prototype.reject = function(predicate) {
      return this.filter(negate(getIteratee(predicate)));
    };

    LazyWrapper.prototype.slice = function(start, end) {
      start = toInteger(start);

      var result = this;
      if (result.__filtered__ && (start > 0 || end < 0)) {
        return new LazyWrapper(result);
      }
      if (start < 0) {
        result = result.takeRight(-start);
      } else if (start) {
        result = result.drop(start);
      }
      if (end !== undefined) {
        end = toInteger(end);
        result = end < 0 ? result.dropRight(-end) : result.take(end - start);
      }
      return result;
    };

    LazyWrapper.prototype.takeRightWhile = function(predicate) {
      return this.reverse().takeWhile(predicate).reverse();
    };

    LazyWrapper.prototype.toArray = function() {
      return this.take(MAX_ARRAY_LENGTH);
    };

    // Add `LazyWrapper` methods to `lodash.prototype`.
    baseForOwn(LazyWrapper.prototype, function(func, methodName) {
      var checkIteratee = /^(?:filter|find|map|reject)|While$/.test(methodName),
          isTaker = /^(?:head|last)$/.test(methodName),
          lodashFunc = lodash[isTaker ? ('take' + (methodName == 'last' ? 'Right' : '')) : methodName],
          retUnwrapped = isTaker || /^find/.test(methodName);

      if (!lodashFunc) {
        return;
      }
      lodash.prototype[methodName] = function() {
        var value = this.__wrapped__,
            args = isTaker ? [1] : arguments,
            isLazy = value instanceof LazyWrapper,
            iteratee = args[0],
            useLazy = isLazy || isArray(value);

        var interceptor = function(value) {
          var result = lodashFunc.apply(lodash, arrayPush([value], args));
          return (isTaker && chainAll) ? result[0] : result;
        };

        if (useLazy && checkIteratee && typeof iteratee == 'function' && iteratee.length != 1) {
          // Avoid lazy use if the iteratee has a "length" value other than `1`.
          isLazy = useLazy = false;
        }
        var chainAll = this.__chain__,
            isHybrid = !!this.__actions__.length,
            isUnwrapped = retUnwrapped && !chainAll,
            onlyLazy = isLazy && !isHybrid;

        if (!retUnwrapped && useLazy) {
          value = onlyLazy ? value : new LazyWrapper(this);
          var result = func.apply(value, args);
          result.__actions__.push({ 'func': thru, 'args': [interceptor], 'thisArg': undefined });
          return new LodashWrapper(result, chainAll);
        }
        if (isUnwrapped && onlyLazy) {
          return func.apply(this, args);
        }
        result = this.thru(interceptor);
        return isUnwrapped ? (isTaker ? result.value()[0] : result.value()) : result;
      };
    });

    // Add `Array` methods to `lodash.prototype`.
    arrayEach(['pop', 'push', 'shift', 'sort', 'splice', 'unshift'], function(methodName) {
      var func = arrayProto[methodName],
          chainName = /^(?:push|sort|unshift)$/.test(methodName) ? 'tap' : 'thru',
          retUnwrapped = /^(?:pop|shift)$/.test(methodName);

      lodash.prototype[methodName] = function() {
        var args = arguments;
        if (retUnwrapped && !this.__chain__) {
          var value = this.value();
          return func.apply(isArray(value) ? value : [], args);
        }
        return this[chainName](function(value) {
          return func.apply(isArray(value) ? value : [], args);
        });
      };
    });

    // Map minified method names to their real names.
    baseForOwn(LazyWrapper.prototype, function(func, methodName) {
      var lodashFunc = lodash[methodName];
      if (lodashFunc) {
        var key = lodashFunc.name + '';
        if (!hasOwnProperty.call(realNames, key)) {
          realNames[key] = [];
        }
        realNames[key].push({ 'name': methodName, 'func': lodashFunc });
      }
    });

    realNames[createHybrid(undefined, WRAP_BIND_KEY_FLAG).name] = [{
      'name': 'wrapper',
      'func': undefined
    }];

    // Add methods to `LazyWrapper`.
    LazyWrapper.prototype.clone = lazyClone;
    LazyWrapper.prototype.reverse = lazyReverse;
    LazyWrapper.prototype.value = lazyValue;

    // Add chain sequence methods to the `lodash` wrapper.
    lodash.prototype.at = wrapperAt;
    lodash.prototype.chain = wrapperChain;
    lodash.prototype.commit = wrapperCommit;
    lodash.prototype.next = wrapperNext;
    lodash.prototype.plant = wrapperPlant;
    lodash.prototype.reverse = wrapperReverse;
    lodash.prototype.toJSON = lodash.prototype.valueOf = lodash.prototype.value = wrapperValue;

    // Add lazy aliases.
    lodash.prototype.first = lodash.prototype.head;

    if (symIterator) {
      lodash.prototype[symIterator] = wrapperToIterator;
    }
    return lodash;
  });

  /*--------------------------------------------------------------------------*/

  // Export lodash.
  var _ = runInContext();

  // Some AMD build optimizers, like r.js, check for condition patterns like:
  if (true) {
    // Expose Lodash on the global object to prevent errors when Lodash is
    // loaded by a script tag in the presence of an AMD loader.
    // See http://requirejs.org/docs/errors.html#mismatch for more details.
    // Use `_.noConflict` to remove Lodash from the global object.
    root._ = _;

    // Define as an anonymous module so, through path mapping, it can be
    // referenced as the "underscore" module.
    !(__WEBPACK_AMD_DEFINE_RESULT__ = (function() {
      return _;
    }).call(exports, __webpack_require__, exports, module),
		__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
  }
  // Check for `exports` after `define` in case a build optimizer adds it.
  else {}
}.call(this));


/***/ }),

/***/ 42786:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Afrikaans [af]
//! author : Werner Mollentze : https://github.com/wernerm

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var af = moment.defineLocale('af', {
        months: 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split(
            '_'
        ),
        monthsShort: 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'),
        weekdays: 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split(
            '_'
        ),
        weekdaysShort: 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'),
        weekdaysMin: 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'),
        meridiemParse: /vm|nm/i,
        isPM: function (input) {
            return /^nm$/i.test(input);
        },
        meridiem: function (hours, minutes, isLower) {
            if (hours < 12) {
                return isLower ? 'vm' : 'VM';
            } else {
                return isLower ? 'nm' : 'NM';
            }
        },
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd, D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[Vandag om] LT',
            nextDay: '[Môre om] LT',
            nextWeek: 'dddd [om] LT',
            lastDay: '[Gister om] LT',
            lastWeek: '[Laas] dddd [om] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'oor %s',
            past: '%s gelede',
            s: "'n paar sekondes",
            ss: '%d sekondes',
            m: "'n minuut",
            mm: '%d minute',
            h: "'n uur",
            hh: '%d ure',
            d: "'n dag",
            dd: '%d dae',
            M: "'n maand",
            MM: '%d maande',
            y: "'n jaar",
            yy: '%d jaar',
        },
        dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
        ordinal: function (number) {
            return (
                number +
                (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')
            ); // Thanks to Joris Röling : https://github.com/jjupiter
        },
        week: {
            dow: 1, // Maandag is die eerste dag van die week.
            doy: 4, // Die week wat die 4de Januarie bevat is die eerste week van die jaar.
        },
    });

    return af;

})));


/***/ }),

/***/ 14130:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Arabic (Algeria) [ar-dz]
//! author : Amine Roukh: https://github.com/Amine27
//! author : Abdel Said: https://github.com/abdelsaid
//! author : Ahmed Elkhatib
//! author : forabi https://github.com/forabi
//! author : Noureddine LOUAHEDJ : https://github.com/noureddinem

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var pluralForm = function (n) {
            return n === 0
                ? 0
                : n === 1
                ? 1
                : n === 2
                ? 2
                : n % 100 >= 3 && n % 100 <= 10
                ? 3
                : n % 100 >= 11
                ? 4
                : 5;
        },
        plurals = {
            s: [
                'أقل من ثانية',
                'ثانية واحدة',
                ['ثانيتان', 'ثانيتين'],
                '%d ثوان',
                '%d ثانية',
                '%d ثانية',
            ],
            m: [
                'أقل من دقيقة',
                'دقيقة واحدة',
                ['دقيقتان', 'دقيقتين'],
                '%d دقائق',
                '%d دقيقة',
                '%d دقيقة',
            ],
            h: [
                'أقل من ساعة',
                'ساعة واحدة',
                ['ساعتان', 'ساعتين'],
                '%d ساعات',
                '%d ساعة',
                '%d ساعة',
            ],
            d: [
                'أقل من يوم',
                'يوم واحد',
                ['يومان', 'يومين'],
                '%d أيام',
                '%d يومًا',
                '%d يوم',
            ],
            M: [
                'أقل من شهر',
                'شهر واحد',
                ['شهران', 'شهرين'],
                '%d أشهر',
                '%d شهرا',
                '%d شهر',
            ],
            y: [
                'أقل من عام',
                'عام واحد',
                ['عامان', 'عامين'],
                '%d أعوام',
                '%d عامًا',
                '%d عام',
            ],
        },
        pluralize = function (u) {
            return function (number, withoutSuffix, string, isFuture) {
                var f = pluralForm(number),
                    str = plurals[u][pluralForm(number)];
                if (f === 2) {
                    str = str[withoutSuffix ? 0 : 1];
                }
                return str.replace(/%d/i, number);
            };
        },
        months = [
            'جانفي',
            'فيفري',
            'مارس',
            'أفريل',
            'ماي',
            'جوان',
            'جويلية',
            'أوت',
            'سبتمبر',
            'أكتوبر',
            'نوفمبر',
            'ديسمبر',
        ];

    var arDz = moment.defineLocale('ar-dz', {
        months: months,
        monthsShort: months,
        weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
        weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
        weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'D/\u200FM/\u200FYYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd D MMMM YYYY HH:mm',
        },
        meridiemParse: /ص|م/,
        isPM: function (input) {
            return 'م' === input;
        },
        meridiem: function (hour, minute, isLower) {
            if (hour < 12) {
                return 'ص';
            } else {
                return 'م';
            }
        },
        calendar: {
            sameDay: '[اليوم عند الساعة] LT',
            nextDay: '[غدًا عند الساعة] LT',
            nextWeek: 'dddd [عند الساعة] LT',
            lastDay: '[أمس عند الساعة] LT',
            lastWeek: 'dddd [عند الساعة] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'بعد %s',
            past: 'منذ %s',
            s: pluralize('s'),
            ss: pluralize('s'),
            m: pluralize('m'),
            mm: pluralize('m'),
            h: pluralize('h'),
            hh: pluralize('h'),
            d: pluralize('d'),
            dd: pluralize('d'),
            M: pluralize('M'),
            MM: pluralize('M'),
            y: pluralize('y'),
            yy: pluralize('y'),
        },
        postformat: function (string) {
            return string.replace(/,/g, '،');
        },
        week: {
            dow: 0, // Sunday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return arDz;

})));


/***/ }),

/***/ 96135:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Arabic (Kuwait) [ar-kw]
//! author : Nusret Parlak: https://github.com/nusretparlak

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var arKw = moment.defineLocale('ar-kw', {
        months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
            '_'
        ),
        monthsShort:
            'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
                '_'
            ),
        weekdays: 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
        weekdaysShort: 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),
        weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[اليوم على الساعة] LT',
            nextDay: '[غدا على الساعة] LT',
            nextWeek: 'dddd [على الساعة] LT',
            lastDay: '[أمس على الساعة] LT',
            lastWeek: 'dddd [على الساعة] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'في %s',
            past: 'منذ %s',
            s: 'ثوان',
            ss: '%d ثانية',
            m: 'دقيقة',
            mm: '%d دقائق',
            h: 'ساعة',
            hh: '%d ساعات',
            d: 'يوم',
            dd: '%d أيام',
            M: 'شهر',
            MM: '%d أشهر',
            y: 'سنة',
            yy: '%d سنوات',
        },
        week: {
            dow: 0, // Sunday is the first day of the week.
            doy: 12, // The week that contains Jan 12th is the first week of the year.
        },
    });

    return arKw;

})));


/***/ }),

/***/ 56440:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Arabic (Libya) [ar-ly]
//! author : Ali Hmer: https://github.com/kikoanis

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var symbolMap = {
            1: '1',
            2: '2',
            3: '3',
            4: '4',
            5: '5',
            6: '6',
            7: '7',
            8: '8',
            9: '9',
            0: '0',
        },
        pluralForm = function (n) {
            return n === 0
                ? 0
                : n === 1
                ? 1
                : n === 2
                ? 2
                : n % 100 >= 3 && n % 100 <= 10
                ? 3
                : n % 100 >= 11
                ? 4
                : 5;
        },
        plurals = {
            s: [
                'أقل من ثانية',
                'ثانية واحدة',
                ['ثانيتان', 'ثانيتين'],
                '%d ثوان',
                '%d ثانية',
                '%d ثانية',
            ],
            m: [
                'أقل من دقيقة',
                'دقيقة واحدة',
                ['دقيقتان', 'دقيقتين'],
                '%d دقائق',
                '%d دقيقة',
                '%d دقيقة',
            ],
            h: [
                'أقل من ساعة',
                'ساعة واحدة',
                ['ساعتان', 'ساعتين'],
                '%d ساعات',
                '%d ساعة',
                '%d ساعة',
            ],
            d: [
                'أقل من يوم',
                'يوم واحد',
                ['يومان', 'يومين'],
                '%d أيام',
                '%d يومًا',
                '%d يوم',
            ],
            M: [
                'أقل من شهر',
                'شهر واحد',
                ['شهران', 'شهرين'],
                '%d أشهر',
                '%d شهرا',
                '%d شهر',
            ],
            y: [
                'أقل من عام',
                'عام واحد',
                ['عامان', 'عامين'],
                '%d أعوام',
                '%d عامًا',
                '%d عام',
            ],
        },
        pluralize = function (u) {
            return function (number, withoutSuffix, string, isFuture) {
                var f = pluralForm(number),
                    str = plurals[u][pluralForm(number)];
                if (f === 2) {
                    str = str[withoutSuffix ? 0 : 1];
                }
                return str.replace(/%d/i, number);
            };
        },
        months = [
            'يناير',
            'فبراير',
            'مارس',
            'أبريل',
            'مايو',
            'يونيو',
            'يوليو',
            'أغسطس',
            'سبتمبر',
            'أكتوبر',
            'نوفمبر',
            'ديسمبر',
        ];

    var arLy = moment.defineLocale('ar-ly', {
        months: months,
        monthsShort: months,
        weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
        weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
        weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'D/\u200FM/\u200FYYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd D MMMM YYYY HH:mm',
        },
        meridiemParse: /ص|م/,
        isPM: function (input) {
            return 'م' === input;
        },
        meridiem: function (hour, minute, isLower) {
            if (hour < 12) {
                return 'ص';
            } else {
                return 'م';
            }
        },
        calendar: {
            sameDay: '[اليوم عند الساعة] LT',
            nextDay: '[غدًا عند الساعة] LT',
            nextWeek: 'dddd [عند الساعة] LT',
            lastDay: '[أمس عند الساعة] LT',
            lastWeek: 'dddd [عند الساعة] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'بعد %s',
            past: 'منذ %s',
            s: pluralize('s'),
            ss: pluralize('s'),
            m: pluralize('m'),
            mm: pluralize('m'),
            h: pluralize('h'),
            hh: pluralize('h'),
            d: pluralize('d'),
            dd: pluralize('d'),
            M: pluralize('M'),
            MM: pluralize('M'),
            y: pluralize('y'),
            yy: pluralize('y'),
        },
        preparse: function (string) {
            return string.replace(/،/g, ',');
        },
        postformat: function (string) {
            return string
                .replace(/\d/g, function (match) {
                    return symbolMap[match];
                })
                .replace(/,/g, '،');
        },
        week: {
            dow: 6, // Saturday is the first day of the week.
            doy: 12, // The week that contains Jan 12th is the first week of the year.
        },
    });

    return arLy;

})));


/***/ }),

/***/ 47702:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Arabic (Morocco) [ar-ma]
//! author : ElFadili Yassine : https://github.com/ElFadiliY
//! author : Abdel Said : https://github.com/abdelsaid

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var arMa = moment.defineLocale('ar-ma', {
        months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
            '_'
        ),
        monthsShort:
            'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
                '_'
            ),
        weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
        weekdaysShort: 'احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),
        weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[اليوم على الساعة] LT',
            nextDay: '[غدا على الساعة] LT',
            nextWeek: 'dddd [على الساعة] LT',
            lastDay: '[أمس على الساعة] LT',
            lastWeek: 'dddd [على الساعة] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'في %s',
            past: 'منذ %s',
            s: 'ثوان',
            ss: '%d ثانية',
            m: 'دقيقة',
            mm: '%d دقائق',
            h: 'ساعة',
            hh: '%d ساعات',
            d: 'يوم',
            dd: '%d أيام',
            M: 'شهر',
            MM: '%d أشهر',
            y: 'سنة',
            yy: '%d سنوات',
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return arMa;

})));


/***/ }),

/***/ 16040:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Arabic (Saudi Arabia) [ar-sa]
//! author : Suhail Alkowaileet : https://github.com/xsoh

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var symbolMap = {
            1: '١',
            2: '٢',
            3: '٣',
            4: '٤',
            5: '٥',
            6: '٦',
            7: '٧',
            8: '٨',
            9: '٩',
            0: '٠',
        },
        numberMap = {
            '١': '1',
            '٢': '2',
            '٣': '3',
            '٤': '4',
            '٥': '5',
            '٦': '6',
            '٧': '7',
            '٨': '8',
            '٩': '9',
            '٠': '0',
        };

    var arSa = moment.defineLocale('ar-sa', {
        months: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(
            '_'
        ),
        monthsShort:
            'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(
                '_'
            ),
        weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
        weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
        weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd D MMMM YYYY HH:mm',
        },
        meridiemParse: /ص|م/,
        isPM: function (input) {
            return 'م' === input;
        },
        meridiem: function (hour, minute, isLower) {
            if (hour < 12) {
                return 'ص';
            } else {
                return 'م';
            }
        },
        calendar: {
            sameDay: '[اليوم على الساعة] LT',
            nextDay: '[غدا على الساعة] LT',
            nextWeek: 'dddd [على الساعة] LT',
            lastDay: '[أمس على الساعة] LT',
            lastWeek: 'dddd [على الساعة] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'في %s',
            past: 'منذ %s',
            s: 'ثوان',
            ss: '%d ثانية',
            m: 'دقيقة',
            mm: '%d دقائق',
            h: 'ساعة',
            hh: '%d ساعات',
            d: 'يوم',
            dd: '%d أيام',
            M: 'شهر',
            MM: '%d أشهر',
            y: 'سنة',
            yy: '%d سنوات',
        },
        preparse: function (string) {
            return string
                .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
                    return numberMap[match];
                })
                .replace(/،/g, ',');
        },
        postformat: function (string) {
            return string
                .replace(/\d/g, function (match) {
                    return symbolMap[match];
                })
                .replace(/,/g, '،');
        },
        week: {
            dow: 0, // Sunday is the first day of the week.
            doy: 6, // The week that contains Jan 6th is the first week of the year.
        },
    });

    return arSa;

})));


/***/ }),

/***/ 37100:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale  :  Arabic (Tunisia) [ar-tn]
//! author : Nader Toukabri : https://github.com/naderio

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var arTn = moment.defineLocale('ar-tn', {
        months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(
            '_'
        ),
        monthsShort:
            'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(
                '_'
            ),
        weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
        weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
        weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[اليوم على الساعة] LT',
            nextDay: '[غدا على الساعة] LT',
            nextWeek: 'dddd [على الساعة] LT',
            lastDay: '[أمس على الساعة] LT',
            lastWeek: 'dddd [على الساعة] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'في %s',
            past: 'منذ %s',
            s: 'ثوان',
            ss: '%d ثانية',
            m: 'دقيقة',
            mm: '%d دقائق',
            h: 'ساعة',
            hh: '%d ساعات',
            d: 'يوم',
            dd: '%d أيام',
            M: 'شهر',
            MM: '%d أشهر',
            y: 'سنة',
            yy: '%d سنوات',
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return arTn;

})));


/***/ }),

/***/ 30867:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Arabic [ar]
//! author : Abdel Said: https://github.com/abdelsaid
//! author : Ahmed Elkhatib
//! author : forabi https://github.com/forabi

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var symbolMap = {
            1: '١',
            2: '٢',
            3: '٣',
            4: '٤',
            5: '٥',
            6: '٦',
            7: '٧',
            8: '٨',
            9: '٩',
            0: '٠',
        },
        numberMap = {
            '١': '1',
            '٢': '2',
            '٣': '3',
            '٤': '4',
            '٥': '5',
            '٦': '6',
            '٧': '7',
            '٨': '8',
            '٩': '9',
            '٠': '0',
        },
        pluralForm = function (n) {
            return n === 0
                ? 0
                : n === 1
                ? 1
                : n === 2
                ? 2
                : n % 100 >= 3 && n % 100 <= 10
                ? 3
                : n % 100 >= 11
                ? 4
                : 5;
        },
        plurals = {
            s: [
                'أقل من ثانية',
                'ثانية واحدة',
                ['ثانيتان', 'ثانيتين'],
                '%d ثوان',
                '%d ثانية',
                '%d ثانية',
            ],
            m: [
                'أقل من دقيقة',
                'دقيقة واحدة',
                ['دقيقتان', 'دقيقتين'],
                '%d دقائق',
                '%d دقيقة',
                '%d دقيقة',
            ],
            h: [
                'أقل من ساعة',
                'ساعة واحدة',
                ['ساعتان', 'ساعتين'],
                '%d ساعات',
                '%d ساعة',
                '%d ساعة',
            ],
            d: [
                'أقل من يوم',
                'يوم واحد',
                ['يومان', 'يومين'],
                '%d أيام',
                '%d يومًا',
                '%d يوم',
            ],
            M: [
                'أقل من شهر',
                'شهر واحد',
                ['شهران', 'شهرين'],
                '%d أشهر',
                '%d شهرا',
                '%d شهر',
            ],
            y: [
                'أقل من عام',
                'عام واحد',
                ['عامان', 'عامين'],
                '%d أعوام',
                '%d عامًا',
                '%d عام',
            ],
        },
        pluralize = function (u) {
            return function (number, withoutSuffix, string, isFuture) {
                var f = pluralForm(number),
                    str = plurals[u][pluralForm(number)];
                if (f === 2) {
                    str = str[withoutSuffix ? 0 : 1];
                }
                return str.replace(/%d/i, number);
            };
        },
        months = [
            'يناير',
            'فبراير',
            'مارس',
            'أبريل',
            'مايو',
            'يونيو',
            'يوليو',
            'أغسطس',
            'سبتمبر',
            'أكتوبر',
            'نوفمبر',
            'ديسمبر',
        ];

    var ar = moment.defineLocale('ar', {
        months: months,
        monthsShort: months,
        weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
        weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
        weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'D/\u200FM/\u200FYYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd D MMMM YYYY HH:mm',
        },
        meridiemParse: /ص|م/,
        isPM: function (input) {
            return 'م' === input;
        },
        meridiem: function (hour, minute, isLower) {
            if (hour < 12) {
                return 'ص';
            } else {
                return 'م';
            }
        },
        calendar: {
            sameDay: '[اليوم عند الساعة] LT',
            nextDay: '[غدًا عند الساعة] LT',
            nextWeek: 'dddd [عند الساعة] LT',
            lastDay: '[أمس عند الساعة] LT',
            lastWeek: 'dddd [عند الساعة] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'بعد %s',
            past: 'منذ %s',
            s: pluralize('s'),
            ss: pluralize('s'),
            m: pluralize('m'),
            mm: pluralize('m'),
            h: pluralize('h'),
            hh: pluralize('h'),
            d: pluralize('d'),
            dd: pluralize('d'),
            M: pluralize('M'),
            MM: pluralize('M'),
            y: pluralize('y'),
            yy: pluralize('y'),
        },
        preparse: function (string) {
            return string
                .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
                    return numberMap[match];
                })
                .replace(/،/g, ',');
        },
        postformat: function (string) {
            return string
                .replace(/\d/g, function (match) {
                    return symbolMap[match];
                })
                .replace(/,/g, '،');
        },
        week: {
            dow: 6, // Saturday is the first day of the week.
            doy: 12, // The week that contains Jan 12th is the first week of the year.
        },
    });

    return ar;

})));


/***/ }),

/***/ 31083:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Azerbaijani [az]
//! author : topchiyev : https://github.com/topchiyev

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var suffixes = {
        1: '-inci',
        5: '-inci',
        8: '-inci',
        70: '-inci',
        80: '-inci',
        2: '-nci',
        7: '-nci',
        20: '-nci',
        50: '-nci',
        3: '-üncü',
        4: '-üncü',
        100: '-üncü',
        6: '-ncı',
        9: '-uncu',
        10: '-uncu',
        30: '-uncu',
        60: '-ıncı',
        90: '-ıncı',
    };

    var az = moment.defineLocale('az', {
        months: 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split(
            '_'
        ),
        monthsShort: 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'),
        weekdays:
            'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split(
                '_'
            ),
        weekdaysShort: 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'),
        weekdaysMin: 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD.MM.YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd, D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[bugün saat] LT',
            nextDay: '[sabah saat] LT',
            nextWeek: '[gələn həftə] dddd [saat] LT',
            lastDay: '[dünən] LT',
            lastWeek: '[keçən həftə] dddd [saat] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: '%s sonra',
            past: '%s əvvəl',
            s: 'bir neçə saniyə',
            ss: '%d saniyə',
            m: 'bir dəqiqə',
            mm: '%d dəqiqə',
            h: 'bir saat',
            hh: '%d saat',
            d: 'bir gün',
            dd: '%d gün',
            M: 'bir ay',
            MM: '%d ay',
            y: 'bir il',
            yy: '%d il',
        },
        meridiemParse: /gecə|səhər|gündüz|axşam/,
        isPM: function (input) {
            return /^(gündüz|axşam)$/.test(input);
        },
        meridiem: function (hour, minute, isLower) {
            if (hour < 4) {
                return 'gecə';
            } else if (hour < 12) {
                return 'səhər';
            } else if (hour < 17) {
                return 'gündüz';
            } else {
                return 'axşam';
            }
        },
        dayOfMonthOrdinalParse: /\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,
        ordinal: function (number) {
            if (number === 0) {
                // special case for zero
                return number + '-ıncı';
            }
            var a = number % 10,
                b = (number % 100) - a,
                c = number >= 100 ? 100 : null;
            return number + (suffixes[a] || suffixes[b] || suffixes[c]);
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 7, // The week that contains Jan 7th is the first week of the year.
        },
    });

    return az;

})));


/***/ }),

/***/ 9808:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Belarusian [be]
//! author : Dmitry Demidov : https://github.com/demidov91
//! author: Praleska: http://praleska.pro/
//! Author : Menelion Elensúle : https://github.com/Oire

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    function plural(word, num) {
        var forms = word.split('_');
        return num % 10 === 1 && num % 100 !== 11
            ? forms[0]
            : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)
            ? forms[1]
            : forms[2];
    }
    function relativeTimeWithPlural(number, withoutSuffix, key) {
        var format = {
            ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд',
            mm: withoutSuffix ? 'хвіліна_хвіліны_хвілін' : 'хвіліну_хвіліны_хвілін',
            hh: withoutSuffix ? 'гадзіна_гадзіны_гадзін' : 'гадзіну_гадзіны_гадзін',
            dd: 'дзень_дні_дзён',
            MM: 'месяц_месяцы_месяцаў',
            yy: 'год_гады_гадоў',
        };
        if (key === 'm') {
            return withoutSuffix ? 'хвіліна' : 'хвіліну';
        } else if (key === 'h') {
            return withoutSuffix ? 'гадзіна' : 'гадзіну';
        } else {
            return number + ' ' + plural(format[key], +number);
        }
    }

    var be = moment.defineLocale('be', {
        months: {
            format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split(
                '_'
            ),
            standalone:
                'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split(
                    '_'
                ),
        },
        monthsShort:
            'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split('_'),
        weekdays: {
            format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split(
                '_'
            ),
            standalone:
                'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split(
                    '_'
                ),
            isFormat: /\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/,
        },
        weekdaysShort: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
        weekdaysMin: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD.MM.YYYY',
            LL: 'D MMMM YYYY г.',
            LLL: 'D MMMM YYYY г., HH:mm',
            LLLL: 'dddd, D MMMM YYYY г., HH:mm',
        },
        calendar: {
            sameDay: '[Сёння ў] LT',
            nextDay: '[Заўтра ў] LT',
            lastDay: '[Учора ў] LT',
            nextWeek: function () {
                return '[У] dddd [ў] LT';
            },
            lastWeek: function () {
                switch (this.day()) {
                    case 0:
                    case 3:
                    case 5:
                    case 6:
                        return '[У мінулую] dddd [ў] LT';
                    case 1:
                    case 2:
                    case 4:
                        return '[У мінулы] dddd [ў] LT';
                }
            },
            sameElse: 'L',
        },
        relativeTime: {
            future: 'праз %s',
            past: '%s таму',
            s: 'некалькі секунд',
            m: relativeTimeWithPlural,
            mm: relativeTimeWithPlural,
            h: relativeTimeWithPlural,
            hh: relativeTimeWithPlural,
            d: 'дзень',
            dd: relativeTimeWithPlural,
            M: 'месяц',
            MM: relativeTimeWithPlural,
            y: 'год',
            yy: relativeTimeWithPlural,
        },
        meridiemParse: /ночы|раніцы|дня|вечара/,
        isPM: function (input) {
            return /^(дня|вечара)$/.test(input);
        },
        meridiem: function (hour, minute, isLower) {
            if (hour < 4) {
                return 'ночы';
            } else if (hour < 12) {
                return 'раніцы';
            } else if (hour < 17) {
                return 'дня';
            } else {
                return 'вечара';
            }
        },
        dayOfMonthOrdinalParse: /\d{1,2}-(і|ы|га)/,
        ordinal: function (number, period) {
            switch (period) {
                case 'M':
                case 'd':
                case 'DDD':
                case 'w':
                case 'W':
                    return (number % 10 === 2 || number % 10 === 3) &&
                        number % 100 !== 12 &&
                        number % 100 !== 13
                        ? number + '-і'
                        : number + '-ы';
                case 'D':
                    return number + '-га';
                default:
                    return number;
            }
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 7, // The week that contains Jan 7th is the first week of the year.
        },
    });

    return be;

})));


/***/ }),

/***/ 68338:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Bulgarian [bg]
//! author : Krasen Borisov : https://github.com/kraz

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var bg = moment.defineLocale('bg', {
        months: 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split(
            '_'
        ),
        monthsShort: 'яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split('_'),
        weekdays: 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split(
            '_'
        ),
        weekdaysShort: 'нед_пон_вто_сря_чет_пет_съб'.split('_'),
        weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
        longDateFormat: {
            LT: 'H:mm',
            LTS: 'H:mm:ss',
            L: 'D.MM.YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY H:mm',
            LLLL: 'dddd, D MMMM YYYY H:mm',
        },
        calendar: {
            sameDay: '[Днес в] LT',
            nextDay: '[Утре в] LT',
            nextWeek: 'dddd [в] LT',
            lastDay: '[Вчера в] LT',
            lastWeek: function () {
                switch (this.day()) {
                    case 0:
                    case 3:
                    case 6:
                        return '[Миналата] dddd [в] LT';
                    case 1:
                    case 2:
                    case 4:
                    case 5:
                        return '[Миналия] dddd [в] LT';
                }
            },
            sameElse: 'L',
        },
        relativeTime: {
            future: 'след %s',
            past: 'преди %s',
            s: 'няколко секунди',
            ss: '%d секунди',
            m: 'минута',
            mm: '%d минути',
            h: 'час',
            hh: '%d часа',
            d: 'ден',
            dd: '%d дена',
            w: 'седмица',
            ww: '%d седмици',
            M: 'месец',
            MM: '%d месеца',
            y: 'година',
            yy: '%d години',
        },
        dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
        ordinal: function (number) {
            var lastDigit = number % 10,
                last2Digits = number % 100;
            if (number === 0) {
                return number + '-ев';
            } else if (last2Digits === 0) {
                return number + '-ен';
            } else if (last2Digits > 10 && last2Digits < 20) {
                return number + '-ти';
            } else if (lastDigit === 1) {
                return number + '-ви';
            } else if (lastDigit === 2) {
                return number + '-ри';
            } else if (lastDigit === 7 || lastDigit === 8) {
                return number + '-ми';
            } else {
                return number + '-ти';
            }
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 7, // The week that contains Jan 7th is the first week of the year.
        },
    });

    return bg;

})));


/***/ }),

/***/ 67438:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Bambara [bm]
//! author : Estelle Comment : https://github.com/estellecomment

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var bm = moment.defineLocale('bm', {
        months: 'Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo'.split(
            '_'
        ),
        monthsShort: 'Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des'.split('_'),
        weekdays: 'Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri'.split('_'),
        weekdaysShort: 'Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib'.split('_'),
        weekdaysMin: 'Ka_Nt_Ta_Ar_Al_Ju_Si'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'MMMM [tile] D [san] YYYY',
            LLL: 'MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm',
            LLLL: 'dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm',
        },
        calendar: {
            sameDay: '[Bi lɛrɛ] LT',
            nextDay: '[Sini lɛrɛ] LT',
            nextWeek: 'dddd [don lɛrɛ] LT',
            lastDay: '[Kunu lɛrɛ] LT',
            lastWeek: 'dddd [tɛmɛnen lɛrɛ] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: '%s kɔnɔ',
            past: 'a bɛ %s bɔ',
            s: 'sanga dama dama',
            ss: 'sekondi %d',
            m: 'miniti kelen',
            mm: 'miniti %d',
            h: 'lɛrɛ kelen',
            hh: 'lɛrɛ %d',
            d: 'tile kelen',
            dd: 'tile %d',
            M: 'kalo kelen',
            MM: 'kalo %d',
            y: 'san kelen',
            yy: 'san %d',
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return bm;

})));


/***/ }),

/***/ 76225:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Bengali (Bangladesh) [bn-bd]
//! author : Asraf Hossain Patoary : https://github.com/ashwoolford

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var symbolMap = {
            1: '১',
            2: '২',
            3: '৩',
            4: '৪',
            5: '৫',
            6: '৬',
            7: '৭',
            8: '৮',
            9: '৯',
            0: '০',
        },
        numberMap = {
            '১': '1',
            '২': '2',
            '৩': '3',
            '৪': '4',
            '৫': '5',
            '৬': '6',
            '৭': '7',
            '৮': '8',
            '৯': '9',
            '০': '0',
        };

    var bnBd = moment.defineLocale('bn-bd', {
        months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split(
            '_'
        ),
        monthsShort:
            'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split(
                '_'
            ),
        weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split(
            '_'
        ),
        weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'),
        weekdaysMin: 'রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি'.split('_'),
        longDateFormat: {
            LT: 'A h:mm সময়',
            LTS: 'A h:mm:ss সময়',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY, A h:mm সময়',
            LLLL: 'dddd, D MMMM YYYY, A h:mm সময়',
        },
        calendar: {
            sameDay: '[আজ] LT',
            nextDay: '[আগামীকাল] LT',
            nextWeek: 'dddd, LT',
            lastDay: '[গতকাল] LT',
            lastWeek: '[গত] dddd, LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: '%s পরে',
            past: '%s আগে',
            s: 'কয়েক সেকেন্ড',
            ss: '%d সেকেন্ড',
            m: 'এক মিনিট',
            mm: '%d মিনিট',
            h: 'এক ঘন্টা',
            hh: '%d ঘন্টা',
            d: 'এক দিন',
            dd: '%d দিন',
            M: 'এক মাস',
            MM: '%d মাস',
            y: 'এক বছর',
            yy: '%d বছর',
        },
        preparse: function (string) {
            return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) {
                return numberMap[match];
            });
        },
        postformat: function (string) {
            return string.replace(/\d/g, function (match) {
                return symbolMap[match];
            });
        },

        meridiemParse: /রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,
        meridiemHour: function (hour, meridiem) {
            if (hour === 12) {
                hour = 0;
            }
            if (meridiem === 'রাত') {
                return hour < 4 ? hour : hour + 12;
            } else if (meridiem === 'ভোর') {
                return hour;
            } else if (meridiem === 'সকাল') {
                return hour;
            } else if (meridiem === 'দুপুর') {
                return hour >= 3 ? hour : hour + 12;
            } else if (meridiem === 'বিকাল') {
                return hour + 12;
            } else if (meridiem === 'সন্ধ্যা') {
                return hour + 12;
            }
        },

        meridiem: function (hour, minute, isLower) {
            if (hour < 4) {
                return 'রাত';
            } else if (hour < 6) {
                return 'ভোর';
            } else if (hour < 12) {
                return 'সকাল';
            } else if (hour < 15) {
                return 'দুপুর';
            } else if (hour < 18) {
                return 'বিকাল';
            } else if (hour < 20) {
                return 'সন্ধ্যা';
            } else {
                return 'রাত';
            }
        },
        week: {
            dow: 0, // Sunday is the first day of the week.
            doy: 6, // The week that contains Jan 6th is the first week of the year.
        },
    });

    return bnBd;

})));


/***/ }),

/***/ 8905:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Bengali [bn]
//! author : Kaushik Gandhi : https://github.com/kaushikgandhi

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var symbolMap = {
            1: '১',
            2: '২',
            3: '৩',
            4: '৪',
            5: '৫',
            6: '৬',
            7: '৭',
            8: '৮',
            9: '৯',
            0: '০',
        },
        numberMap = {
            '১': '1',
            '২': '2',
            '৩': '3',
            '৪': '4',
            '৫': '5',
            '৬': '6',
            '৭': '7',
            '৮': '8',
            '৯': '9',
            '০': '0',
        };

    var bn = moment.defineLocale('bn', {
        months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split(
            '_'
        ),
        monthsShort:
            'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split(
                '_'
            ),
        weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split(
            '_'
        ),
        weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'),
        weekdaysMin: 'রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি'.split('_'),
        longDateFormat: {
            LT: 'A h:mm সময়',
            LTS: 'A h:mm:ss সময়',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY, A h:mm সময়',
            LLLL: 'dddd, D MMMM YYYY, A h:mm সময়',
        },
        calendar: {
            sameDay: '[আজ] LT',
            nextDay: '[আগামীকাল] LT',
            nextWeek: 'dddd, LT',
            lastDay: '[গতকাল] LT',
            lastWeek: '[গত] dddd, LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: '%s পরে',
            past: '%s আগে',
            s: 'কয়েক সেকেন্ড',
            ss: '%d সেকেন্ড',
            m: 'এক মিনিট',
            mm: '%d মিনিট',
            h: 'এক ঘন্টা',
            hh: '%d ঘন্টা',
            d: 'এক দিন',
            dd: '%d দিন',
            M: 'এক মাস',
            MM: '%d মাস',
            y: 'এক বছর',
            yy: '%d বছর',
        },
        preparse: function (string) {
            return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) {
                return numberMap[match];
            });
        },
        postformat: function (string) {
            return string.replace(/\d/g, function (match) {
                return symbolMap[match];
            });
        },
        meridiemParse: /রাত|সকাল|দুপুর|বিকাল|রাত/,
        meridiemHour: function (hour, meridiem) {
            if (hour === 12) {
                hour = 0;
            }
            if (
                (meridiem === 'রাত' && hour >= 4) ||
                (meridiem === 'দুপুর' && hour < 5) ||
                meridiem === 'বিকাল'
            ) {
                return hour + 12;
            } else {
                return hour;
            }
        },
        meridiem: function (hour, minute, isLower) {
            if (hour < 4) {
                return 'রাত';
            } else if (hour < 10) {
                return 'সকাল';
            } else if (hour < 17) {
                return 'দুপুর';
            } else if (hour < 20) {
                return 'বিকাল';
            } else {
                return 'রাত';
            }
        },
        week: {
            dow: 0, // Sunday is the first day of the week.
            doy: 6, // The week that contains Jan 6th is the first week of the year.
        },
    });

    return bn;

})));


/***/ }),

/***/ 11560:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Tibetan [bo]
//! author : Thupten N. Chakrishar : https://github.com/vajradog

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var symbolMap = {
            1: '༡',
            2: '༢',
            3: '༣',
            4: '༤',
            5: '༥',
            6: '༦',
            7: '༧',
            8: '༨',
            9: '༩',
            0: '༠',
        },
        numberMap = {
            '༡': '1',
            '༢': '2',
            '༣': '3',
            '༤': '4',
            '༥': '5',
            '༦': '6',
            '༧': '7',
            '༨': '8',
            '༩': '9',
            '༠': '0',
        };

    var bo = moment.defineLocale('bo', {
        months: 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split(
            '_'
        ),
        monthsShort:
            'ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12'.split(
                '_'
            ),
        monthsShortRegex: /^(ཟླ་\d{1,2})/,
        monthsParseExact: true,
        weekdays:
            'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་'.split(
                '_'
            ),
        weekdaysShort: 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split(
            '_'
        ),
        weekdaysMin: 'ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན'.split('_'),
        longDateFormat: {
            LT: 'A h:mm',
            LTS: 'A h:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY, A h:mm',
            LLLL: 'dddd, D MMMM YYYY, A h:mm',
        },
        calendar: {
            sameDay: '[དི་རིང] LT',
            nextDay: '[སང་ཉིན] LT',
            nextWeek: '[བདུན་ཕྲག་རྗེས་མ], LT',
            lastDay: '[ཁ་སང] LT',
            lastWeek: '[བདུན་ཕྲག་མཐའ་མ] dddd, LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: '%s ལ་',
            past: '%s སྔན་ལ',
            s: 'ལམ་སང',
            ss: '%d སྐར་ཆ།',
            m: 'སྐར་མ་གཅིག',
            mm: '%d སྐར་མ',
            h: 'ཆུ་ཚོད་གཅིག',
            hh: '%d ཆུ་ཚོད',
            d: 'ཉིན་གཅིག',
            dd: '%d ཉིན་',
            M: 'ཟླ་བ་གཅིག',
            MM: '%d ཟླ་བ',
            y: 'ལོ་གཅིག',
            yy: '%d ལོ',
        },
        preparse: function (string) {
            return string.replace(/[༡༢༣༤༥༦༧༨༩༠]/g, function (match) {
                return numberMap[match];
            });
        },
        postformat: function (string) {
            return string.replace(/\d/g, function (match) {
                return symbolMap[match];
            });
        },
        meridiemParse: /མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,
        meridiemHour: function (hour, meridiem) {
            if (hour === 12) {
                hour = 0;
            }
            if (
                (meridiem === 'མཚན་མོ' && hour >= 4) ||
                (meridiem === 'ཉིན་གུང' && hour < 5) ||
                meridiem === 'དགོང་དག'
            ) {
                return hour + 12;
            } else {
                return hour;
            }
        },
        meridiem: function (hour, minute, isLower) {
            if (hour < 4) {
                return 'མཚན་མོ';
            } else if (hour < 10) {
                return 'ཞོགས་ཀས';
            } else if (hour < 17) {
                return 'ཉིན་གུང';
            } else if (hour < 20) {
                return 'དགོང་དག';
            } else {
                return 'མཚན་མོ';
            }
        },
        week: {
            dow: 0, // Sunday is the first day of the week.
            doy: 6, // The week that contains Jan 6th is the first week of the year.
        },
    });

    return bo;

})));


/***/ }),

/***/ 1278:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Breton [br]
//! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    function relativeTimeWithMutation(number, withoutSuffix, key) {
        var format = {
            mm: 'munutenn',
            MM: 'miz',
            dd: 'devezh',
        };
        return number + ' ' + mutation(format[key], number);
    }
    function specialMutationForYears(number) {
        switch (lastNumber(number)) {
            case 1:
            case 3:
            case 4:
            case 5:
            case 9:
                return number + ' bloaz';
            default:
                return number + ' vloaz';
        }
    }
    function lastNumber(number) {
        if (number > 9) {
            return lastNumber(number % 10);
        }
        return number;
    }
    function mutation(text, number) {
        if (number === 2) {
            return softMutation(text);
        }
        return text;
    }
    function softMutation(text) {
        var mutationTable = {
            m: 'v',
            b: 'v',
            d: 'z',
        };
        if (mutationTable[text.charAt(0)] === undefined) {
            return text;
        }
        return mutationTable[text.charAt(0)] + text.substring(1);
    }

    var monthsParse = [
            /^gen/i,
            /^c[ʼ\']hwe/i,
            /^meu/i,
            /^ebr/i,
            /^mae/i,
            /^(mez|eve)/i,
            /^gou/i,
            /^eos/i,
            /^gwe/i,
            /^her/i,
            /^du/i,
            /^ker/i,
        ],
        monthsRegex =
            /^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,
        monthsStrictRegex =
            /^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,
        monthsShortStrictRegex =
            /^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,
        fullWeekdaysParse = [
            /^sul/i,
            /^lun/i,
            /^meurzh/i,
            /^merc[ʼ\']her/i,
            /^yaou/i,
            /^gwener/i,
            /^sadorn/i,
        ],
        shortWeekdaysParse = [
            /^Sul/i,
            /^Lun/i,
            /^Meu/i,
            /^Mer/i,
            /^Yao/i,
            /^Gwe/i,
            /^Sad/i,
        ],
        minWeekdaysParse = [
            /^Su/i,
            /^Lu/i,
            /^Me([^r]|$)/i,
            /^Mer/i,
            /^Ya/i,
            /^Gw/i,
            /^Sa/i,
        ];

    var br = moment.defineLocale('br', {
        months: 'Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu'.split(
            '_'
        ),
        monthsShort: 'Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker'.split('_'),
        weekdays: 'Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn'.split('_'),
        weekdaysShort: 'Sul_Lun_Meu_Mer_Yao_Gwe_Sad'.split('_'),
        weekdaysMin: 'Su_Lu_Me_Mer_Ya_Gw_Sa'.split('_'),
        weekdaysParse: minWeekdaysParse,
        fullWeekdaysParse: fullWeekdaysParse,
        shortWeekdaysParse: shortWeekdaysParse,
        minWeekdaysParse: minWeekdaysParse,

        monthsRegex: monthsRegex,
        monthsShortRegex: monthsRegex,
        monthsStrictRegex: monthsStrictRegex,
        monthsShortStrictRegex: monthsShortStrictRegex,
        monthsParse: monthsParse,
        longMonthsParse: monthsParse,
        shortMonthsParse: monthsParse,

        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D [a viz] MMMM YYYY',
            LLL: 'D [a viz] MMMM YYYY HH:mm',
            LLLL: 'dddd, D [a viz] MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[Hiziv da] LT',
            nextDay: '[Warcʼhoazh da] LT',
            nextWeek: 'dddd [da] LT',
            lastDay: '[Decʼh da] LT',
            lastWeek: 'dddd [paset da] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'a-benn %s',
            past: '%s ʼzo',
            s: 'un nebeud segondennoù',
            ss: '%d eilenn',
            m: 'ur vunutenn',
            mm: relativeTimeWithMutation,
            h: 'un eur',
            hh: '%d eur',
            d: 'un devezh',
            dd: relativeTimeWithMutation,
            M: 'ur miz',
            MM: relativeTimeWithMutation,
            y: 'ur bloaz',
            yy: specialMutationForYears,
        },
        dayOfMonthOrdinalParse: /\d{1,2}(añ|vet)/,
        ordinal: function (number) {
            var output = number === 1 ? 'añ' : 'vet';
            return number + output;
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
        meridiemParse: /a.m.|g.m./, // goude merenn | a-raok merenn
        isPM: function (token) {
            return token === 'g.m.';
        },
        meridiem: function (hour, minute, isLower) {
            return hour < 12 ? 'a.m.' : 'g.m.';
        },
    });

    return br;

})));


/***/ }),

/***/ 80622:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Bosnian [bs]
//! author : Nedim Cholich : https://github.com/frontyard
//! based on (hr) translation by Bojan Marković

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    function translate(number, withoutSuffix, key) {
        var result = number + ' ';
        switch (key) {
            case 'ss':
                if (number === 1) {
                    result += 'sekunda';
                } else if (number === 2 || number === 3 || number === 4) {
                    result += 'sekunde';
                } else {
                    result += 'sekundi';
                }
                return result;
            case 'm':
                return withoutSuffix ? 'jedna minuta' : 'jedne minute';
            case 'mm':
                if (number === 1) {
                    result += 'minuta';
                } else if (number === 2 || number === 3 || number === 4) {
                    result += 'minute';
                } else {
                    result += 'minuta';
                }
                return result;
            case 'h':
                return withoutSuffix ? 'jedan sat' : 'jednog sata';
            case 'hh':
                if (number === 1) {
                    result += 'sat';
                } else if (number === 2 || number === 3 || number === 4) {
                    result += 'sata';
                } else {
                    result += 'sati';
                }
                return result;
            case 'dd':
                if (number === 1) {
                    result += 'dan';
                } else {
                    result += 'dana';
                }
                return result;
            case 'MM':
                if (number === 1) {
                    result += 'mjesec';
                } else if (number === 2 || number === 3 || number === 4) {
                    result += 'mjeseca';
                } else {
                    result += 'mjeseci';
                }
                return result;
            case 'yy':
                if (number === 1) {
                    result += 'godina';
                } else if (number === 2 || number === 3 || number === 4) {
                    result += 'godine';
                } else {
                    result += 'godina';
                }
                return result;
        }
    }

    var bs = moment.defineLocale('bs', {
        months: 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split(
            '_'
        ),
        monthsShort:
            'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split(
                '_'
            ),
        monthsParseExact: true,
        weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split(
            '_'
        ),
        weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
        weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'H:mm',
            LTS: 'H:mm:ss',
            L: 'DD.MM.YYYY',
            LL: 'D. MMMM YYYY',
            LLL: 'D. MMMM YYYY H:mm',
            LLLL: 'dddd, D. MMMM YYYY H:mm',
        },
        calendar: {
            sameDay: '[danas u] LT',
            nextDay: '[sutra u] LT',
            nextWeek: function () {
                switch (this.day()) {
                    case 0:
                        return '[u] [nedjelju] [u] LT';
                    case 3:
                        return '[u] [srijedu] [u] LT';
                    case 6:
                        return '[u] [subotu] [u] LT';
                    case 1:
                    case 2:
                    case 4:
                    case 5:
                        return '[u] dddd [u] LT';
                }
            },
            lastDay: '[jučer u] LT',
            lastWeek: function () {
                switch (this.day()) {
                    case 0:
                    case 3:
                        return '[prošlu] dddd [u] LT';
                    case 6:
                        return '[prošle] [subote] [u] LT';
                    case 1:
                    case 2:
                    case 4:
                    case 5:
                        return '[prošli] dddd [u] LT';
                }
            },
            sameElse: 'L',
        },
        relativeTime: {
            future: 'za %s',
            past: 'prije %s',
            s: 'par sekundi',
            ss: translate,
            m: translate,
            mm: translate,
            h: translate,
            hh: translate,
            d: 'dan',
            dd: translate,
            M: 'mjesec',
            MM: translate,
            y: 'godinu',
            yy: translate,
        },
        dayOfMonthOrdinalParse: /\d{1,2}\./,
        ordinal: '%d.',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 7, // The week that contains Jan 7th is the first week of the year.
        },
    });

    return bs;

})));


/***/ }),

/***/ 2468:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Catalan [ca]
//! author : Juan G. Hurtado : https://github.com/juanghurtado

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var ca = moment.defineLocale('ca', {
        months: {
            standalone:
                'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split(
                    '_'
                ),
            format: "de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split(
                '_'
            ),
            isFormat: /D[oD]?(\s)+MMMM/,
        },
        monthsShort:
            'gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.'.split(
                '_'
            ),
        monthsParseExact: true,
        weekdays:
            'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split(
                '_'
            ),
        weekdaysShort: 'dg._dl._dt._dc._dj._dv._ds.'.split('_'),
        weekdaysMin: 'dg_dl_dt_dc_dj_dv_ds'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'H:mm',
            LTS: 'H:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM [de] YYYY',
            ll: 'D MMM YYYY',
            LLL: 'D MMMM [de] YYYY [a les] H:mm',
            lll: 'D MMM YYYY, H:mm',
            LLLL: 'dddd D MMMM [de] YYYY [a les] H:mm',
            llll: 'ddd D MMM YYYY, H:mm',
        },
        calendar: {
            sameDay: function () {
                return '[avui a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
            },
            nextDay: function () {
                return '[demà a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
            },
            nextWeek: function () {
                return 'dddd [a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
            },
            lastDay: function () {
                return '[ahir a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
            },
            lastWeek: function () {
                return (
                    '[el] dddd [passat a ' +
                    (this.hours() !== 1 ? 'les' : 'la') +
                    '] LT'
                );
            },
            sameElse: 'L',
        },
        relativeTime: {
            future: "d'aquí %s",
            past: 'fa %s',
            s: 'uns segons',
            ss: '%d segons',
            m: 'un minut',
            mm: '%d minuts',
            h: 'una hora',
            hh: '%d hores',
            d: 'un dia',
            dd: '%d dies',
            M: 'un mes',
            MM: '%d mesos',
            y: 'un any',
            yy: '%d anys',
        },
        dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/,
        ordinal: function (number, period) {
            var output =
                number === 1
                    ? 'r'
                    : number === 2
                    ? 'n'
                    : number === 3
                    ? 'r'
                    : number === 4
                    ? 't'
                    : 'è';
            if (period === 'w' || period === 'W') {
                output = 'a';
            }
            return number + output;
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return ca;

})));


/***/ }),

/***/ 5822:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Czech [cs]
//! author : petrbela : https://github.com/petrbela

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var months = {
            format: 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split(
                '_'
            ),
            standalone:
                'ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince'.split(
                    '_'
                ),
        },
        monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_'),
        monthsParse = [
            /^led/i,
            /^úno/i,
            /^bře/i,
            /^dub/i,
            /^kvě/i,
            /^(čvn|červen$|června)/i,
            /^(čvc|červenec|července)/i,
            /^srp/i,
            /^zář/i,
            /^říj/i,
            /^lis/i,
            /^pro/i,
        ],
        // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched.
        // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'.
        monthsRegex =
            /^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;

    function plural(n) {
        return n > 1 && n < 5 && ~~(n / 10) !== 1;
    }
    function translate(number, withoutSuffix, key, isFuture) {
        var result = number + ' ';
        switch (key) {
            case 's': // a few seconds / in a few seconds / a few seconds ago
                return withoutSuffix || isFuture ? 'pár sekund' : 'pár sekundami';
            case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago
                if (withoutSuffix || isFuture) {
                    return result + (plural(number) ? 'sekundy' : 'sekund');
                } else {
                    return result + 'sekundami';
                }
            case 'm': // a minute / in a minute / a minute ago
                return withoutSuffix ? 'minuta' : isFuture ? 'minutu' : 'minutou';
            case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago
                if (withoutSuffix || isFuture) {
                    return result + (plural(number) ? 'minuty' : 'minut');
                } else {
                    return result + 'minutami';
                }
            case 'h': // an hour / in an hour / an hour ago
                return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou';
            case 'hh': // 9 hours / in 9 hours / 9 hours ago
                if (withoutSuffix || isFuture) {
                    return result + (plural(number) ? 'hodiny' : 'hodin');
                } else {
                    return result + 'hodinami';
                }
            case 'd': // a day / in a day / a day ago
                return withoutSuffix || isFuture ? 'den' : 'dnem';
            case 'dd': // 9 days / in 9 days / 9 days ago
                if (withoutSuffix || isFuture) {
                    return result + (plural(number) ? 'dny' : 'dní');
                } else {
                    return result + 'dny';
                }
            case 'M': // a month / in a month / a month ago
                return withoutSuffix || isFuture ? 'měsíc' : 'měsícem';
            case 'MM': // 9 months / in 9 months / 9 months ago
                if (withoutSuffix || isFuture) {
                    return result + (plural(number) ? 'měsíce' : 'měsíců');
                } else {
                    return result + 'měsíci';
                }
            case 'y': // a year / in a year / a year ago
                return withoutSuffix || isFuture ? 'rok' : 'rokem';
            case 'yy': // 9 years / in 9 years / 9 years ago
                if (withoutSuffix || isFuture) {
                    return result + (plural(number) ? 'roky' : 'let');
                } else {
                    return result + 'lety';
                }
        }
    }

    var cs = moment.defineLocale('cs', {
        months: months,
        monthsShort: monthsShort,
        monthsRegex: monthsRegex,
        monthsShortRegex: monthsRegex,
        // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched.
        // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'.
        monthsStrictRegex:
            /^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,
        monthsShortStrictRegex:
            /^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,
        monthsParse: monthsParse,
        longMonthsParse: monthsParse,
        shortMonthsParse: monthsParse,
        weekdays: 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'),
        weekdaysShort: 'ne_po_út_st_čt_pá_so'.split('_'),
        weekdaysMin: 'ne_po_út_st_čt_pá_so'.split('_'),
        longDateFormat: {
            LT: 'H:mm',
            LTS: 'H:mm:ss',
            L: 'DD.MM.YYYY',
            LL: 'D. MMMM YYYY',
            LLL: 'D. MMMM YYYY H:mm',
            LLLL: 'dddd D. MMMM YYYY H:mm',
            l: 'D. M. YYYY',
        },
        calendar: {
            sameDay: '[dnes v] LT',
            nextDay: '[zítra v] LT',
            nextWeek: function () {
                switch (this.day()) {
                    case 0:
                        return '[v neděli v] LT';
                    case 1:
                    case 2:
                        return '[v] dddd [v] LT';
                    case 3:
                        return '[ve středu v] LT';
                    case 4:
                        return '[ve čtvrtek v] LT';
                    case 5:
                        return '[v pátek v] LT';
                    case 6:
                        return '[v sobotu v] LT';
                }
            },
            lastDay: '[včera v] LT',
            lastWeek: function () {
                switch (this.day()) {
                    case 0:
                        return '[minulou neděli v] LT';
                    case 1:
                    case 2:
                        return '[minulé] dddd [v] LT';
                    case 3:
                        return '[minulou středu v] LT';
                    case 4:
                    case 5:
                        return '[minulý] dddd [v] LT';
                    case 6:
                        return '[minulou sobotu v] LT';
                }
            },
            sameElse: 'L',
        },
        relativeTime: {
            future: 'za %s',
            past: 'před %s',
            s: translate,
            ss: translate,
            m: translate,
            mm: translate,
            h: translate,
            hh: translate,
            d: translate,
            dd: translate,
            M: translate,
            MM: translate,
            y: translate,
            yy: translate,
        },
        dayOfMonthOrdinalParse: /\d{1,2}\./,
        ordinal: '%d.',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return cs;

})));


/***/ }),

/***/ 50877:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Chuvash [cv]
//! author : Anatoly Mironov : https://github.com/mirontoli

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var cv = moment.defineLocale('cv', {
        months: 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split(
            '_'
        ),
        monthsShort: 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'),
        weekdays:
            'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split(
                '_'
            ),
        weekdaysShort: 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'),
        weekdaysMin: 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD-MM-YYYY',
            LL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]',
            LLL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',
            LLLL: 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',
        },
        calendar: {
            sameDay: '[Паян] LT [сехетре]',
            nextDay: '[Ыран] LT [сехетре]',
            lastDay: '[Ӗнер] LT [сехетре]',
            nextWeek: '[Ҫитес] dddd LT [сехетре]',
            lastWeek: '[Иртнӗ] dddd LT [сехетре]',
            sameElse: 'L',
        },
        relativeTime: {
            future: function (output) {
                var affix = /сехет$/i.exec(output)
                    ? 'рен'
                    : /ҫул$/i.exec(output)
                    ? 'тан'
                    : 'ран';
                return output + affix;
            },
            past: '%s каялла',
            s: 'пӗр-ик ҫеккунт',
            ss: '%d ҫеккунт',
            m: 'пӗр минут',
            mm: '%d минут',
            h: 'пӗр сехет',
            hh: '%d сехет',
            d: 'пӗр кун',
            dd: '%d кун',
            M: 'пӗр уйӑх',
            MM: '%d уйӑх',
            y: 'пӗр ҫул',
            yy: '%d ҫул',
        },
        dayOfMonthOrdinalParse: /\d{1,2}-мӗш/,
        ordinal: '%d-мӗш',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 7, // The week that contains Jan 7th is the first week of the year.
        },
    });

    return cv;

})));


/***/ }),

/***/ 47373:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Welsh [cy]
//! author : Robert Allen : https://github.com/robgallen
//! author : https://github.com/ryangreaves

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var cy = moment.defineLocale('cy', {
        months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split(
            '_'
        ),
        monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split(
            '_'
        ),
        weekdays:
            'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split(
                '_'
            ),
        weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'),
        weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'),
        weekdaysParseExact: true,
        // time formats are the same as en-gb
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd, D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[Heddiw am] LT',
            nextDay: '[Yfory am] LT',
            nextWeek: 'dddd [am] LT',
            lastDay: '[Ddoe am] LT',
            lastWeek: 'dddd [diwethaf am] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'mewn %s',
            past: '%s yn ôl',
            s: 'ychydig eiliadau',
            ss: '%d eiliad',
            m: 'munud',
            mm: '%d munud',
            h: 'awr',
            hh: '%d awr',
            d: 'diwrnod',
            dd: '%d diwrnod',
            M: 'mis',
            MM: '%d mis',
            y: 'blwyddyn',
            yy: '%d flynedd',
        },
        dayOfMonthOrdinalParse: /\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,
        // traditional ordinal numbers above 31 are not commonly used in colloquial Welsh
        ordinal: function (number) {
            var b = number,
                output = '',
                lookup = [
                    '',
                    'af',
                    'il',
                    'ydd',
                    'ydd',
                    'ed',
                    'ed',
                    'ed',
                    'fed',
                    'fed',
                    'fed', // 1af to 10fed
                    'eg',
                    'fed',
                    'eg',
                    'eg',
                    'fed',
                    'eg',
                    'eg',
                    'fed',
                    'eg',
                    'fed', // 11eg to 20fed
                ];
            if (b > 20) {
                if (b === 40 || b === 50 || b === 60 || b === 80 || b === 100) {
                    output = 'fed'; // not 30ain, 70ain or 90ain
                } else {
                    output = 'ain';
                }
            } else if (b > 0) {
                output = lookup[b];
            }
            return number + output;
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return cy;

})));


/***/ }),

/***/ 24780:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Danish [da]
//! author : Ulrik Nielsen : https://github.com/mrbase

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var da = moment.defineLocale('da', {
        months: 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split(
            '_'
        ),
        monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
        weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
        weekdaysShort: 'søn_man_tir_ons_tor_fre_lør'.split('_'),
        weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD.MM.YYYY',
            LL: 'D. MMMM YYYY',
            LLL: 'D. MMMM YYYY HH:mm',
            LLLL: 'dddd [d.] D. MMMM YYYY [kl.] HH:mm',
        },
        calendar: {
            sameDay: '[i dag kl.] LT',
            nextDay: '[i morgen kl.] LT',
            nextWeek: 'på dddd [kl.] LT',
            lastDay: '[i går kl.] LT',
            lastWeek: '[i] dddd[s kl.] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'om %s',
            past: '%s siden',
            s: 'få sekunder',
            ss: '%d sekunder',
            m: 'et minut',
            mm: '%d minutter',
            h: 'en time',
            hh: '%d timer',
            d: 'en dag',
            dd: '%d dage',
            M: 'en måned',
            MM: '%d måneder',
            y: 'et år',
            yy: '%d år',
        },
        dayOfMonthOrdinalParse: /\d{1,2}\./,
        ordinal: '%d.',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return da;

})));


/***/ }),

/***/ 60217:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : German (Austria) [de-at]
//! author : lluchs : https://github.com/lluchs
//! author: Menelion Elensúle: https://github.com/Oire
//! author : Martin Groller : https://github.com/MadMG
//! author : Mikolaj Dadela : https://github.com/mik01aj

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    function processRelativeTime(number, withoutSuffix, key, isFuture) {
        var format = {
            m: ['eine Minute', 'einer Minute'],
            h: ['eine Stunde', 'einer Stunde'],
            d: ['ein Tag', 'einem Tag'],
            dd: [number + ' Tage', number + ' Tagen'],
            w: ['eine Woche', 'einer Woche'],
            M: ['ein Monat', 'einem Monat'],
            MM: [number + ' Monate', number + ' Monaten'],
            y: ['ein Jahr', 'einem Jahr'],
            yy: [number + ' Jahre', number + ' Jahren'],
        };
        return withoutSuffix ? format[key][0] : format[key][1];
    }

    var deAt = moment.defineLocale('de-at', {
        months: 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(
            '_'
        ),
        monthsShort:
            'Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),
        monthsParseExact: true,
        weekdays:
            'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(
                '_'
            ),
        weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
        weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD.MM.YYYY',
            LL: 'D. MMMM YYYY',
            LLL: 'D. MMMM YYYY HH:mm',
            LLLL: 'dddd, D. MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[heute um] LT [Uhr]',
            sameElse: 'L',
            nextDay: '[morgen um] LT [Uhr]',
            nextWeek: 'dddd [um] LT [Uhr]',
            lastDay: '[gestern um] LT [Uhr]',
            lastWeek: '[letzten] dddd [um] LT [Uhr]',
        },
        relativeTime: {
            future: 'in %s',
            past: 'vor %s',
            s: 'ein paar Sekunden',
            ss: '%d Sekunden',
            m: processRelativeTime,
            mm: '%d Minuten',
            h: processRelativeTime,
            hh: '%d Stunden',
            d: processRelativeTime,
            dd: processRelativeTime,
            w: processRelativeTime,
            ww: '%d Wochen',
            M: processRelativeTime,
            MM: processRelativeTime,
            y: processRelativeTime,
            yy: processRelativeTime,
        },
        dayOfMonthOrdinalParse: /\d{1,2}\./,
        ordinal: '%d.',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return deAt;

})));


/***/ }),

/***/ 60894:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : German (Switzerland) [de-ch]
//! author : sschueller : https://github.com/sschueller

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    function processRelativeTime(number, withoutSuffix, key, isFuture) {
        var format = {
            m: ['eine Minute', 'einer Minute'],
            h: ['eine Stunde', 'einer Stunde'],
            d: ['ein Tag', 'einem Tag'],
            dd: [number + ' Tage', number + ' Tagen'],
            w: ['eine Woche', 'einer Woche'],
            M: ['ein Monat', 'einem Monat'],
            MM: [number + ' Monate', number + ' Monaten'],
            y: ['ein Jahr', 'einem Jahr'],
            yy: [number + ' Jahre', number + ' Jahren'],
        };
        return withoutSuffix ? format[key][0] : format[key][1];
    }

    var deCh = moment.defineLocale('de-ch', {
        months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(
            '_'
        ),
        monthsShort:
            'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),
        monthsParseExact: true,
        weekdays:
            'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(
                '_'
            ),
        weekdaysShort: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
        weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD.MM.YYYY',
            LL: 'D. MMMM YYYY',
            LLL: 'D. MMMM YYYY HH:mm',
            LLLL: 'dddd, D. MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[heute um] LT [Uhr]',
            sameElse: 'L',
            nextDay: '[morgen um] LT [Uhr]',
            nextWeek: 'dddd [um] LT [Uhr]',
            lastDay: '[gestern um] LT [Uhr]',
            lastWeek: '[letzten] dddd [um] LT [Uhr]',
        },
        relativeTime: {
            future: 'in %s',
            past: 'vor %s',
            s: 'ein paar Sekunden',
            ss: '%d Sekunden',
            m: processRelativeTime,
            mm: '%d Minuten',
            h: processRelativeTime,
            hh: '%d Stunden',
            d: processRelativeTime,
            dd: processRelativeTime,
            w: processRelativeTime,
            ww: '%d Wochen',
            M: processRelativeTime,
            MM: processRelativeTime,
            y: processRelativeTime,
            yy: processRelativeTime,
        },
        dayOfMonthOrdinalParse: /\d{1,2}\./,
        ordinal: '%d.',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return deCh;

})));


/***/ }),

/***/ 59740:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : German [de]
//! author : lluchs : https://github.com/lluchs
//! author: Menelion Elensúle: https://github.com/Oire
//! author : Mikolaj Dadela : https://github.com/mik01aj

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    function processRelativeTime(number, withoutSuffix, key, isFuture) {
        var format = {
            m: ['eine Minute', 'einer Minute'],
            h: ['eine Stunde', 'einer Stunde'],
            d: ['ein Tag', 'einem Tag'],
            dd: [number + ' Tage', number + ' Tagen'],
            w: ['eine Woche', 'einer Woche'],
            M: ['ein Monat', 'einem Monat'],
            MM: [number + ' Monate', number + ' Monaten'],
            y: ['ein Jahr', 'einem Jahr'],
            yy: [number + ' Jahre', number + ' Jahren'],
        };
        return withoutSuffix ? format[key][0] : format[key][1];
    }

    var de = moment.defineLocale('de', {
        months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(
            '_'
        ),
        monthsShort:
            'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),
        monthsParseExact: true,
        weekdays:
            'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(
                '_'
            ),
        weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
        weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD.MM.YYYY',
            LL: 'D. MMMM YYYY',
            LLL: 'D. MMMM YYYY HH:mm',
            LLLL: 'dddd, D. MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[heute um] LT [Uhr]',
            sameElse: 'L',
            nextDay: '[morgen um] LT [Uhr]',
            nextWeek: 'dddd [um] LT [Uhr]',
            lastDay: '[gestern um] LT [Uhr]',
            lastWeek: '[letzten] dddd [um] LT [Uhr]',
        },
        relativeTime: {
            future: 'in %s',
            past: 'vor %s',
            s: 'ein paar Sekunden',
            ss: '%d Sekunden',
            m: processRelativeTime,
            mm: '%d Minuten',
            h: processRelativeTime,
            hh: '%d Stunden',
            d: processRelativeTime,
            dd: processRelativeTime,
            w: processRelativeTime,
            ww: '%d Wochen',
            M: processRelativeTime,
            MM: processRelativeTime,
            y: processRelativeTime,
            yy: processRelativeTime,
        },
        dayOfMonthOrdinalParse: /\d{1,2}\./,
        ordinal: '%d.',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return de;

})));


/***/ }),

/***/ 5300:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Maldivian [dv]
//! author : Jawish Hameed : https://github.com/jawish

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var months = [
            'ޖެނުއަރީ',
            'ފެބްރުއަރީ',
            'މާރިޗު',
            'އޭޕްރީލު',
            'މޭ',
            'ޖޫން',
            'ޖުލައި',
            'އޯގަސްޓު',
            'ސެޕްޓެމްބަރު',
            'އޮކްޓޯބަރު',
            'ނޮވެމްބަރު',
            'ޑިސެމްބަރު',
        ],
        weekdays = [
            'އާދިއްތަ',
            'ހޯމަ',
            'އަންގާރަ',
            'ބުދަ',
            'ބުރާސްފަތި',
            'ހުކުރު',
            'ހޮނިހިރު',
        ];

    var dv = moment.defineLocale('dv', {
        months: months,
        monthsShort: months,
        weekdays: weekdays,
        weekdaysShort: weekdays,
        weekdaysMin: 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'D/M/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd D MMMM YYYY HH:mm',
        },
        meridiemParse: /މކ|މފ/,
        isPM: function (input) {
            return 'މފ' === input;
        },
        meridiem: function (hour, minute, isLower) {
            if (hour < 12) {
                return 'މކ';
            } else {
                return 'މފ';
            }
        },
        calendar: {
            sameDay: '[މިއަދު] LT',
            nextDay: '[މާދަމާ] LT',
            nextWeek: 'dddd LT',
            lastDay: '[އިއްޔެ] LT',
            lastWeek: '[ފާއިތުވި] dddd LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'ތެރޭގައި %s',
            past: 'ކުރިން %s',
            s: 'ސިކުންތުކޮޅެއް',
            ss: 'd% ސިކުންތު',
            m: 'މިނިޓެއް',
            mm: 'މިނިޓު %d',
            h: 'ގަޑިއިރެއް',
            hh: 'ގަޑިއިރު %d',
            d: 'ދުވަހެއް',
            dd: 'ދުވަސް %d',
            M: 'މަހެއް',
            MM: 'މަސް %d',
            y: 'އަހަރެއް',
            yy: 'އަހަރު %d',
        },
        preparse: function (string) {
            return string.replace(/،/g, ',');
        },
        postformat: function (string) {
            return string.replace(/,/g, '،');
        },
        week: {
            dow: 7, // Sunday is the first day of the week.
            doy: 12, // The week that contains Jan 12th is the first week of the year.
        },
    });

    return dv;

})));


/***/ }),

/***/ 50837:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Greek [el]
//! author : Aggelos Karalias : https://github.com/mehiel

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    function isFunction(input) {
        return (
            (typeof Function !== 'undefined' && input instanceof Function) ||
            Object.prototype.toString.call(input) === '[object Function]'
        );
    }

    var el = moment.defineLocale('el', {
        monthsNominativeEl:
            'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split(
                '_'
            ),
        monthsGenitiveEl:
            'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split(
                '_'
            ),
        months: function (momentToFormat, format) {
            if (!momentToFormat) {
                return this._monthsNominativeEl;
            } else if (
                typeof format === 'string' &&
                /D/.test(format.substring(0, format.indexOf('MMMM')))
            ) {
                // if there is a day number before 'MMMM'
                return this._monthsGenitiveEl[momentToFormat.month()];
            } else {
                return this._monthsNominativeEl[momentToFormat.month()];
            }
        },
        monthsShort: 'Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ'.split('_'),
        weekdays: 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split(
            '_'
        ),
        weekdaysShort: 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'),
        weekdaysMin: 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'),
        meridiem: function (hours, minutes, isLower) {
            if (hours > 11) {
                return isLower ? 'μμ' : 'ΜΜ';
            } else {
                return isLower ? 'πμ' : 'ΠΜ';
            }
        },
        isPM: function (input) {
            return (input + '').toLowerCase()[0] === 'μ';
        },
        meridiemParse: /[ΠΜ]\.?Μ?\.?/i,
        longDateFormat: {
            LT: 'h:mm A',
            LTS: 'h:mm:ss A',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY h:mm A',
            LLLL: 'dddd, D MMMM YYYY h:mm A',
        },
        calendarEl: {
            sameDay: '[Σήμερα {}] LT',
            nextDay: '[Αύριο {}] LT',
            nextWeek: 'dddd [{}] LT',
            lastDay: '[Χθες {}] LT',
            lastWeek: function () {
                switch (this.day()) {
                    case 6:
                        return '[το προηγούμενο] dddd [{}] LT';
                    default:
                        return '[την προηγούμενη] dddd [{}] LT';
                }
            },
            sameElse: 'L',
        },
        calendar: function (key, mom) {
            var output = this._calendarEl[key],
                hours = mom && mom.hours();
            if (isFunction(output)) {
                output = output.apply(mom);
            }
            return output.replace('{}', hours % 12 === 1 ? 'στη' : 'στις');
        },
        relativeTime: {
            future: 'σε %s',
            past: '%s πριν',
            s: 'λίγα δευτερόλεπτα',
            ss: '%d δευτερόλεπτα',
            m: 'ένα λεπτό',
            mm: '%d λεπτά',
            h: 'μία ώρα',
            hh: '%d ώρες',
            d: 'μία μέρα',
            dd: '%d μέρες',
            M: 'ένας μήνας',
            MM: '%d μήνες',
            y: 'ένας χρόνος',
            yy: '%d χρόνια',
        },
        dayOfMonthOrdinalParse: /\d{1,2}η/,
        ordinal: '%dη',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4st is the first week of the year.
        },
    });

    return el;

})));


/***/ }),

/***/ 78348:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : English (Australia) [en-au]
//! author : Jared Morse : https://github.com/jarcoal

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var enAu = moment.defineLocale('en-au', {
        months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
            '_'
        ),
        monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
        weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
            '_'
        ),
        weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
        weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
        longDateFormat: {
            LT: 'h:mm A',
            LTS: 'h:mm:ss A',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY h:mm A',
            LLLL: 'dddd, D MMMM YYYY h:mm A',
        },
        calendar: {
            sameDay: '[Today at] LT',
            nextDay: '[Tomorrow at] LT',
            nextWeek: 'dddd [at] LT',
            lastDay: '[Yesterday at] LT',
            lastWeek: '[Last] dddd [at] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'in %s',
            past: '%s ago',
            s: 'a few seconds',
            ss: '%d seconds',
            m: 'a minute',
            mm: '%d minutes',
            h: 'an hour',
            hh: '%d hours',
            d: 'a day',
            dd: '%d days',
            M: 'a month',
            MM: '%d months',
            y: 'a year',
            yy: '%d years',
        },
        dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
        ordinal: function (number) {
            var b = number % 10,
                output =
                    ~~((number % 100) / 10) === 1
                        ? 'th'
                        : b === 1
                        ? 'st'
                        : b === 2
                        ? 'nd'
                        : b === 3
                        ? 'rd'
                        : 'th';
            return number + output;
        },
        week: {
            dow: 0, // Sunday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return enAu;

})));


/***/ }),

/***/ 77925:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : English (Canada) [en-ca]
//! author : Jonathan Abourbih : https://github.com/jonbca

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var enCa = moment.defineLocale('en-ca', {
        months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
            '_'
        ),
        monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
        weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
            '_'
        ),
        weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
        weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
        longDateFormat: {
            LT: 'h:mm A',
            LTS: 'h:mm:ss A',
            L: 'YYYY-MM-DD',
            LL: 'MMMM D, YYYY',
            LLL: 'MMMM D, YYYY h:mm A',
            LLLL: 'dddd, MMMM D, YYYY h:mm A',
        },
        calendar: {
            sameDay: '[Today at] LT',
            nextDay: '[Tomorrow at] LT',
            nextWeek: 'dddd [at] LT',
            lastDay: '[Yesterday at] LT',
            lastWeek: '[Last] dddd [at] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'in %s',
            past: '%s ago',
            s: 'a few seconds',
            ss: '%d seconds',
            m: 'a minute',
            mm: '%d minutes',
            h: 'an hour',
            hh: '%d hours',
            d: 'a day',
            dd: '%d days',
            M: 'a month',
            MM: '%d months',
            y: 'a year',
            yy: '%d years',
        },
        dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
        ordinal: function (number) {
            var b = number % 10,
                output =
                    ~~((number % 100) / 10) === 1
                        ? 'th'
                        : b === 1
                        ? 'st'
                        : b === 2
                        ? 'nd'
                        : b === 3
                        ? 'rd'
                        : 'th';
            return number + output;
        },
    });

    return enCa;

})));


/***/ }),

/***/ 22243:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : English (United Kingdom) [en-gb]
//! author : Chris Gedrim : https://github.com/chrisgedrim

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var enGb = moment.defineLocale('en-gb', {
        months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
            '_'
        ),
        monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
        weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
            '_'
        ),
        weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
        weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd, D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[Today at] LT',
            nextDay: '[Tomorrow at] LT',
            nextWeek: 'dddd [at] LT',
            lastDay: '[Yesterday at] LT',
            lastWeek: '[Last] dddd [at] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'in %s',
            past: '%s ago',
            s: 'a few seconds',
            ss: '%d seconds',
            m: 'a minute',
            mm: '%d minutes',
            h: 'an hour',
            hh: '%d hours',
            d: 'a day',
            dd: '%d days',
            M: 'a month',
            MM: '%d months',
            y: 'a year',
            yy: '%d years',
        },
        dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
        ordinal: function (number) {
            var b = number % 10,
                output =
                    ~~((number % 100) / 10) === 1
                        ? 'th'
                        : b === 1
                        ? 'st'
                        : b === 2
                        ? 'nd'
                        : b === 3
                        ? 'rd'
                        : 'th';
            return number + output;
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return enGb;

})));


/***/ }),

/***/ 46436:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : English (Ireland) [en-ie]
//! author : Chris Cartlidge : https://github.com/chriscartlidge

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var enIe = moment.defineLocale('en-ie', {
        months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
            '_'
        ),
        monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
        weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
            '_'
        ),
        weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
        weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[Today at] LT',
            nextDay: '[Tomorrow at] LT',
            nextWeek: 'dddd [at] LT',
            lastDay: '[Yesterday at] LT',
            lastWeek: '[Last] dddd [at] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'in %s',
            past: '%s ago',
            s: 'a few seconds',
            ss: '%d seconds',
            m: 'a minute',
            mm: '%d minutes',
            h: 'an hour',
            hh: '%d hours',
            d: 'a day',
            dd: '%d days',
            M: 'a month',
            MM: '%d months',
            y: 'a year',
            yy: '%d years',
        },
        dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
        ordinal: function (number) {
            var b = number % 10,
                output =
                    ~~((number % 100) / 10) === 1
                        ? 'th'
                        : b === 1
                        ? 'st'
                        : b === 2
                        ? 'nd'
                        : b === 3
                        ? 'rd'
                        : 'th';
            return number + output;
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return enIe;

})));


/***/ }),

/***/ 47207:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : English (Israel) [en-il]
//! author : Chris Gedrim : https://github.com/chrisgedrim

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var enIl = moment.defineLocale('en-il', {
        months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
            '_'
        ),
        monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
        weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
            '_'
        ),
        weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
        weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd, D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[Today at] LT',
            nextDay: '[Tomorrow at] LT',
            nextWeek: 'dddd [at] LT',
            lastDay: '[Yesterday at] LT',
            lastWeek: '[Last] dddd [at] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'in %s',
            past: '%s ago',
            s: 'a few seconds',
            ss: '%d seconds',
            m: 'a minute',
            mm: '%d minutes',
            h: 'an hour',
            hh: '%d hours',
            d: 'a day',
            dd: '%d days',
            M: 'a month',
            MM: '%d months',
            y: 'a year',
            yy: '%d years',
        },
        dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
        ordinal: function (number) {
            var b = number % 10,
                output =
                    ~~((number % 100) / 10) === 1
                        ? 'th'
                        : b === 1
                        ? 'st'
                        : b === 2
                        ? 'nd'
                        : b === 3
                        ? 'rd'
                        : 'th';
            return number + output;
        },
    });

    return enIl;

})));


/***/ }),

/***/ 44175:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : English (India) [en-in]
//! author : Jatin Agrawal : https://github.com/jatinag22

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var enIn = moment.defineLocale('en-in', {
        months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
            '_'
        ),
        monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
        weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
            '_'
        ),
        weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
        weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
        longDateFormat: {
            LT: 'h:mm A',
            LTS: 'h:mm:ss A',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY h:mm A',
            LLLL: 'dddd, D MMMM YYYY h:mm A',
        },
        calendar: {
            sameDay: '[Today at] LT',
            nextDay: '[Tomorrow at] LT',
            nextWeek: 'dddd [at] LT',
            lastDay: '[Yesterday at] LT',
            lastWeek: '[Last] dddd [at] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'in %s',
            past: '%s ago',
            s: 'a few seconds',
            ss: '%d seconds',
            m: 'a minute',
            mm: '%d minutes',
            h: 'an hour',
            hh: '%d hours',
            d: 'a day',
            dd: '%d days',
            M: 'a month',
            MM: '%d months',
            y: 'a year',
            yy: '%d years',
        },
        dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
        ordinal: function (number) {
            var b = number % 10,
                output =
                    ~~((number % 100) / 10) === 1
                        ? 'th'
                        : b === 1
                        ? 'st'
                        : b === 2
                        ? 'nd'
                        : b === 3
                        ? 'rd'
                        : 'th';
            return number + output;
        },
        week: {
            dow: 0, // Sunday is the first day of the week.
            doy: 6, // The week that contains Jan 1st is the first week of the year.
        },
    });

    return enIn;

})));


/***/ }),

/***/ 76319:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : English (New Zealand) [en-nz]
//! author : Luke McGregor : https://github.com/lukemcgregor

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var enNz = moment.defineLocale('en-nz', {
        months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
            '_'
        ),
        monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
        weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
            '_'
        ),
        weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
        weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
        longDateFormat: {
            LT: 'h:mm A',
            LTS: 'h:mm:ss A',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY h:mm A',
            LLLL: 'dddd, D MMMM YYYY h:mm A',
        },
        calendar: {
            sameDay: '[Today at] LT',
            nextDay: '[Tomorrow at] LT',
            nextWeek: 'dddd [at] LT',
            lastDay: '[Yesterday at] LT',
            lastWeek: '[Last] dddd [at] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'in %s',
            past: '%s ago',
            s: 'a few seconds',
            ss: '%d seconds',
            m: 'a minute',
            mm: '%d minutes',
            h: 'an hour',
            hh: '%d hours',
            d: 'a day',
            dd: '%d days',
            M: 'a month',
            MM: '%d months',
            y: 'a year',
            yy: '%d years',
        },
        dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
        ordinal: function (number) {
            var b = number % 10,
                output =
                    ~~((number % 100) / 10) === 1
                        ? 'th'
                        : b === 1
                        ? 'st'
                        : b === 2
                        ? 'nd'
                        : b === 3
                        ? 'rd'
                        : 'th';
            return number + output;
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return enNz;

})));


/***/ }),

/***/ 31662:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : English (Singapore) [en-sg]
//! author : Matthew Castrillon-Madrigal : https://github.com/techdimension

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var enSg = moment.defineLocale('en-sg', {
        months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
            '_'
        ),
        monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
        weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
            '_'
        ),
        weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
        weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd, D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[Today at] LT',
            nextDay: '[Tomorrow at] LT',
            nextWeek: 'dddd [at] LT',
            lastDay: '[Yesterday at] LT',
            lastWeek: '[Last] dddd [at] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'in %s',
            past: '%s ago',
            s: 'a few seconds',
            ss: '%d seconds',
            m: 'a minute',
            mm: '%d minutes',
            h: 'an hour',
            hh: '%d hours',
            d: 'a day',
            dd: '%d days',
            M: 'a month',
            MM: '%d months',
            y: 'a year',
            yy: '%d years',
        },
        dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
        ordinal: function (number) {
            var b = number % 10,
                output =
                    ~~((number % 100) / 10) === 1
                        ? 'th'
                        : b === 1
                        ? 'st'
                        : b === 2
                        ? 'nd'
                        : b === 3
                        ? 'rd'
                        : 'th';
            return number + output;
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return enSg;

})));


/***/ }),

/***/ 92915:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Esperanto [eo]
//! author : Colin Dean : https://github.com/colindean
//! author : Mia Nordentoft Imperatori : https://github.com/miestasmia
//! comment : miestasmia corrected the translation by colindean
//! comment : Vivakvo corrected the translation by colindean and miestasmia

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var eo = moment.defineLocale('eo', {
        months: 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split(
            '_'
        ),
        monthsShort: 'jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec'.split('_'),
        weekdays: 'dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato'.split('_'),
        weekdaysShort: 'dim_lun_mard_merk_ĵaŭ_ven_sab'.split('_'),
        weekdaysMin: 'di_lu_ma_me_ĵa_ve_sa'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'YYYY-MM-DD',
            LL: '[la] D[-an de] MMMM, YYYY',
            LLL: '[la] D[-an de] MMMM, YYYY HH:mm',
            LLLL: 'dddd[n], [la] D[-an de] MMMM, YYYY HH:mm',
            llll: 'ddd, [la] D[-an de] MMM, YYYY HH:mm',
        },
        meridiemParse: /[ap]\.t\.m/i,
        isPM: function (input) {
            return input.charAt(0).toLowerCase() === 'p';
        },
        meridiem: function (hours, minutes, isLower) {
            if (hours > 11) {
                return isLower ? 'p.t.m.' : 'P.T.M.';
            } else {
                return isLower ? 'a.t.m.' : 'A.T.M.';
            }
        },
        calendar: {
            sameDay: '[Hodiaŭ je] LT',
            nextDay: '[Morgaŭ je] LT',
            nextWeek: 'dddd[n je] LT',
            lastDay: '[Hieraŭ je] LT',
            lastWeek: '[pasintan] dddd[n je] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'post %s',
            past: 'antaŭ %s',
            s: 'kelkaj sekundoj',
            ss: '%d sekundoj',
            m: 'unu minuto',
            mm: '%d minutoj',
            h: 'unu horo',
            hh: '%d horoj',
            d: 'unu tago', //ne 'diurno', ĉar estas uzita por proksimumo
            dd: '%d tagoj',
            M: 'unu monato',
            MM: '%d monatoj',
            y: 'unu jaro',
            yy: '%d jaroj',
        },
        dayOfMonthOrdinalParse: /\d{1,2}a/,
        ordinal: '%da',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 7, // The week that contains Jan 7th is the first week of the year.
        },
    });

    return eo;

})));


/***/ }),

/***/ 55251:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Spanish (Dominican Republic) [es-do]

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var monthsShortDot =
            'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
                '_'
            ),
        monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
        monthsParse = [
            /^ene/i,
            /^feb/i,
            /^mar/i,
            /^abr/i,
            /^may/i,
            /^jun/i,
            /^jul/i,
            /^ago/i,
            /^sep/i,
            /^oct/i,
            /^nov/i,
            /^dic/i,
        ],
        monthsRegex =
            /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;

    var esDo = moment.defineLocale('es-do', {
        months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
            '_'
        ),
        monthsShort: function (m, format) {
            if (!m) {
                return monthsShortDot;
            } else if (/-MMM-/.test(format)) {
                return monthsShort[m.month()];
            } else {
                return monthsShortDot[m.month()];
            }
        },
        monthsRegex: monthsRegex,
        monthsShortRegex: monthsRegex,
        monthsStrictRegex:
            /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
        monthsShortStrictRegex:
            /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
        monthsParse: monthsParse,
        longMonthsParse: monthsParse,
        shortMonthsParse: monthsParse,
        weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
        weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
        weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'h:mm A',
            LTS: 'h:mm:ss A',
            L: 'DD/MM/YYYY',
            LL: 'D [de] MMMM [de] YYYY',
            LLL: 'D [de] MMMM [de] YYYY h:mm A',
            LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A',
        },
        calendar: {
            sameDay: function () {
                return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
            },
            nextDay: function () {
                return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
            },
            nextWeek: function () {
                return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
            },
            lastDay: function () {
                return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
            },
            lastWeek: function () {
                return (
                    '[el] dddd [pasado a la' +
                    (this.hours() !== 1 ? 's' : '') +
                    '] LT'
                );
            },
            sameElse: 'L',
        },
        relativeTime: {
            future: 'en %s',
            past: 'hace %s',
            s: 'unos segundos',
            ss: '%d segundos',
            m: 'un minuto',
            mm: '%d minutos',
            h: 'una hora',
            hh: '%d horas',
            d: 'un día',
            dd: '%d días',
            w: 'una semana',
            ww: '%d semanas',
            M: 'un mes',
            MM: '%d meses',
            y: 'un año',
            yy: '%d años',
        },
        dayOfMonthOrdinalParse: /\d{1,2}º/,
        ordinal: '%dº',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return esDo;

})));


/***/ }),

/***/ 96112:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Spanish (Mexico) [es-mx]
//! author : JC Franco : https://github.com/jcfranco

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var monthsShortDot =
            'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
                '_'
            ),
        monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
        monthsParse = [
            /^ene/i,
            /^feb/i,
            /^mar/i,
            /^abr/i,
            /^may/i,
            /^jun/i,
            /^jul/i,
            /^ago/i,
            /^sep/i,
            /^oct/i,
            /^nov/i,
            /^dic/i,
        ],
        monthsRegex =
            /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;

    var esMx = moment.defineLocale('es-mx', {
        months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
            '_'
        ),
        monthsShort: function (m, format) {
            if (!m) {
                return monthsShortDot;
            } else if (/-MMM-/.test(format)) {
                return monthsShort[m.month()];
            } else {
                return monthsShortDot[m.month()];
            }
        },
        monthsRegex: monthsRegex,
        monthsShortRegex: monthsRegex,
        monthsStrictRegex:
            /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
        monthsShortStrictRegex:
            /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
        monthsParse: monthsParse,
        longMonthsParse: monthsParse,
        shortMonthsParse: monthsParse,
        weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
        weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
        weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'H:mm',
            LTS: 'H:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D [de] MMMM [de] YYYY',
            LLL: 'D [de] MMMM [de] YYYY H:mm',
            LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',
        },
        calendar: {
            sameDay: function () {
                return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
            },
            nextDay: function () {
                return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
            },
            nextWeek: function () {
                return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
            },
            lastDay: function () {
                return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
            },
            lastWeek: function () {
                return (
                    '[el] dddd [pasado a la' +
                    (this.hours() !== 1 ? 's' : '') +
                    '] LT'
                );
            },
            sameElse: 'L',
        },
        relativeTime: {
            future: 'en %s',
            past: 'hace %s',
            s: 'unos segundos',
            ss: '%d segundos',
            m: 'un minuto',
            mm: '%d minutos',
            h: 'una hora',
            hh: '%d horas',
            d: 'un día',
            dd: '%d días',
            w: 'una semana',
            ww: '%d semanas',
            M: 'un mes',
            MM: '%d meses',
            y: 'un año',
            yy: '%d años',
        },
        dayOfMonthOrdinalParse: /\d{1,2}º/,
        ordinal: '%dº',
        week: {
            dow: 0, // Sunday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
        invalidDate: 'Fecha inválida',
    });

    return esMx;

})));


/***/ }),

/***/ 71146:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Spanish (United States) [es-us]
//! author : bustta : https://github.com/bustta
//! author : chrisrodz : https://github.com/chrisrodz

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var monthsShortDot =
            'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
                '_'
            ),
        monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
        monthsParse = [
            /^ene/i,
            /^feb/i,
            /^mar/i,
            /^abr/i,
            /^may/i,
            /^jun/i,
            /^jul/i,
            /^ago/i,
            /^sep/i,
            /^oct/i,
            /^nov/i,
            /^dic/i,
        ],
        monthsRegex =
            /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;

    var esUs = moment.defineLocale('es-us', {
        months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
            '_'
        ),
        monthsShort: function (m, format) {
            if (!m) {
                return monthsShortDot;
            } else if (/-MMM-/.test(format)) {
                return monthsShort[m.month()];
            } else {
                return monthsShortDot[m.month()];
            }
        },
        monthsRegex: monthsRegex,
        monthsShortRegex: monthsRegex,
        monthsStrictRegex:
            /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
        monthsShortStrictRegex:
            /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
        monthsParse: monthsParse,
        longMonthsParse: monthsParse,
        shortMonthsParse: monthsParse,
        weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
        weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
        weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'h:mm A',
            LTS: 'h:mm:ss A',
            L: 'MM/DD/YYYY',
            LL: 'D [de] MMMM [de] YYYY',
            LLL: 'D [de] MMMM [de] YYYY h:mm A',
            LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A',
        },
        calendar: {
            sameDay: function () {
                return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
            },
            nextDay: function () {
                return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
            },
            nextWeek: function () {
                return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
            },
            lastDay: function () {
                return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
            },
            lastWeek: function () {
                return (
                    '[el] dddd [pasado a la' +
                    (this.hours() !== 1 ? 's' : '') +
                    '] LT'
                );
            },
            sameElse: 'L',
        },
        relativeTime: {
            future: 'en %s',
            past: 'hace %s',
            s: 'unos segundos',
            ss: '%d segundos',
            m: 'un minuto',
            mm: '%d minutos',
            h: 'una hora',
            hh: '%d horas',
            d: 'un día',
            dd: '%d días',
            w: 'una semana',
            ww: '%d semanas',
            M: 'un mes',
            MM: '%d meses',
            y: 'un año',
            yy: '%d años',
        },
        dayOfMonthOrdinalParse: /\d{1,2}º/,
        ordinal: '%dº',
        week: {
            dow: 0, // Sunday is the first day of the week.
            doy: 6, // The week that contains Jan 6th is the first week of the year.
        },
    });

    return esUs;

})));


/***/ }),

/***/ 55655:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Spanish [es]
//! author : Julio Napurí : https://github.com/julionc

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var monthsShortDot =
            'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
                '_'
            ),
        monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
        monthsParse = [
            /^ene/i,
            /^feb/i,
            /^mar/i,
            /^abr/i,
            /^may/i,
            /^jun/i,
            /^jul/i,
            /^ago/i,
            /^sep/i,
            /^oct/i,
            /^nov/i,
            /^dic/i,
        ],
        monthsRegex =
            /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;

    var es = moment.defineLocale('es', {
        months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
            '_'
        ),
        monthsShort: function (m, format) {
            if (!m) {
                return monthsShortDot;
            } else if (/-MMM-/.test(format)) {
                return monthsShort[m.month()];
            } else {
                return monthsShortDot[m.month()];
            }
        },
        monthsRegex: monthsRegex,
        monthsShortRegex: monthsRegex,
        monthsStrictRegex:
            /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
        monthsShortStrictRegex:
            /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
        monthsParse: monthsParse,
        longMonthsParse: monthsParse,
        shortMonthsParse: monthsParse,
        weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
        weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
        weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'H:mm',
            LTS: 'H:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D [de] MMMM [de] YYYY',
            LLL: 'D [de] MMMM [de] YYYY H:mm',
            LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',
        },
        calendar: {
            sameDay: function () {
                return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
            },
            nextDay: function () {
                return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
            },
            nextWeek: function () {
                return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
            },
            lastDay: function () {
                return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
            },
            lastWeek: function () {
                return (
                    '[el] dddd [pasado a la' +
                    (this.hours() !== 1 ? 's' : '') +
                    '] LT'
                );
            },
            sameElse: 'L',
        },
        relativeTime: {
            future: 'en %s',
            past: 'hace %s',
            s: 'unos segundos',
            ss: '%d segundos',
            m: 'un minuto',
            mm: '%d minutos',
            h: 'una hora',
            hh: '%d horas',
            d: 'un día',
            dd: '%d días',
            w: 'una semana',
            ww: '%d semanas',
            M: 'un mes',
            MM: '%d meses',
            y: 'un año',
            yy: '%d años',
        },
        dayOfMonthOrdinalParse: /\d{1,2}º/,
        ordinal: '%dº',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
        invalidDate: 'Fecha inválida',
    });

    return es;

})));


/***/ }),

/***/ 5603:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Estonian [et]
//! author : Henry Kehlmann : https://github.com/madhenry
//! improvements : Illimar Tambek : https://github.com/ragulka

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    function processRelativeTime(number, withoutSuffix, key, isFuture) {
        var format = {
            s: ['mõne sekundi', 'mõni sekund', 'paar sekundit'],
            ss: [number + 'sekundi', number + 'sekundit'],
            m: ['ühe minuti', 'üks minut'],
            mm: [number + ' minuti', number + ' minutit'],
            h: ['ühe tunni', 'tund aega', 'üks tund'],
            hh: [number + ' tunni', number + ' tundi'],
            d: ['ühe päeva', 'üks päev'],
            M: ['kuu aja', 'kuu aega', 'üks kuu'],
            MM: [number + ' kuu', number + ' kuud'],
            y: ['ühe aasta', 'aasta', 'üks aasta'],
            yy: [number + ' aasta', number + ' aastat'],
        };
        if (withoutSuffix) {
            return format[key][2] ? format[key][2] : format[key][1];
        }
        return isFuture ? format[key][0] : format[key][1];
    }

    var et = moment.defineLocale('et', {
        months: 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split(
            '_'
        ),
        monthsShort:
            'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split('_'),
        weekdays:
            'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split(
                '_'
            ),
        weekdaysShort: 'P_E_T_K_N_R_L'.split('_'),
        weekdaysMin: 'P_E_T_K_N_R_L'.split('_'),
        longDateFormat: {
            LT: 'H:mm',
            LTS: 'H:mm:ss',
            L: 'DD.MM.YYYY',
            LL: 'D. MMMM YYYY',
            LLL: 'D. MMMM YYYY H:mm',
            LLLL: 'dddd, D. MMMM YYYY H:mm',
        },
        calendar: {
            sameDay: '[Täna,] LT',
            nextDay: '[Homme,] LT',
            nextWeek: '[Järgmine] dddd LT',
            lastDay: '[Eile,] LT',
            lastWeek: '[Eelmine] dddd LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: '%s pärast',
            past: '%s tagasi',
            s: processRelativeTime,
            ss: processRelativeTime,
            m: processRelativeTime,
            mm: processRelativeTime,
            h: processRelativeTime,
            hh: processRelativeTime,
            d: processRelativeTime,
            dd: '%d päeva',
            M: processRelativeTime,
            MM: processRelativeTime,
            y: processRelativeTime,
            yy: processRelativeTime,
        },
        dayOfMonthOrdinalParse: /\d{1,2}\./,
        ordinal: '%d.',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return et;

})));


/***/ }),

/***/ 77763:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Basque [eu]
//! author : Eneko Illarramendi : https://github.com/eillarra

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var eu = moment.defineLocale('eu', {
        months: 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split(
            '_'
        ),
        monthsShort:
            'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split(
                '_'
            ),
        monthsParseExact: true,
        weekdays:
            'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split(
                '_'
            ),
        weekdaysShort: 'ig._al._ar._az._og._ol._lr.'.split('_'),
        weekdaysMin: 'ig_al_ar_az_og_ol_lr'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'YYYY-MM-DD',
            LL: 'YYYY[ko] MMMM[ren] D[a]',
            LLL: 'YYYY[ko] MMMM[ren] D[a] HH:mm',
            LLLL: 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm',
            l: 'YYYY-M-D',
            ll: 'YYYY[ko] MMM D[a]',
            lll: 'YYYY[ko] MMM D[a] HH:mm',
            llll: 'ddd, YYYY[ko] MMM D[a] HH:mm',
        },
        calendar: {
            sameDay: '[gaur] LT[etan]',
            nextDay: '[bihar] LT[etan]',
            nextWeek: 'dddd LT[etan]',
            lastDay: '[atzo] LT[etan]',
            lastWeek: '[aurreko] dddd LT[etan]',
            sameElse: 'L',
        },
        relativeTime: {
            future: '%s barru',
            past: 'duela %s',
            s: 'segundo batzuk',
            ss: '%d segundo',
            m: 'minutu bat',
            mm: '%d minutu',
            h: 'ordu bat',
            hh: '%d ordu',
            d: 'egun bat',
            dd: '%d egun',
            M: 'hilabete bat',
            MM: '%d hilabete',
            y: 'urte bat',
            yy: '%d urte',
        },
        dayOfMonthOrdinalParse: /\d{1,2}\./,
        ordinal: '%d.',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 7, // The week that contains Jan 7th is the first week of the year.
        },
    });

    return eu;

})));


/***/ }),

/***/ 76959:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Persian [fa]
//! author : Ebrahim Byagowi : https://github.com/ebraminio

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var symbolMap = {
            1: '۱',
            2: '۲',
            3: '۳',
            4: '۴',
            5: '۵',
            6: '۶',
            7: '۷',
            8: '۸',
            9: '۹',
            0: '۰',
        },
        numberMap = {
            '۱': '1',
            '۲': '2',
            '۳': '3',
            '۴': '4',
            '۵': '5',
            '۶': '6',
            '۷': '7',
            '۸': '8',
            '۹': '9',
            '۰': '0',
        };

    var fa = moment.defineLocale('fa', {
        months: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split(
            '_'
        ),
        monthsShort:
            'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split(
                '_'
            ),
        weekdays:
            'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split(
                '_'
            ),
        weekdaysShort:
            'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split(
                '_'
            ),
        weekdaysMin: 'ی_د_س_چ_پ_ج_ش'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd, D MMMM YYYY HH:mm',
        },
        meridiemParse: /قبل از ظهر|بعد از ظهر/,
        isPM: function (input) {
            return /بعد از ظهر/.test(input);
        },
        meridiem: function (hour, minute, isLower) {
            if (hour < 12) {
                return 'قبل از ظهر';
            } else {
                return 'بعد از ظهر';
            }
        },
        calendar: {
            sameDay: '[امروز ساعت] LT',
            nextDay: '[فردا ساعت] LT',
            nextWeek: 'dddd [ساعت] LT',
            lastDay: '[دیروز ساعت] LT',
            lastWeek: 'dddd [پیش] [ساعت] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'در %s',
            past: '%s پیش',
            s: 'چند ثانیه',
            ss: '%d ثانیه',
            m: 'یک دقیقه',
            mm: '%d دقیقه',
            h: 'یک ساعت',
            hh: '%d ساعت',
            d: 'یک روز',
            dd: '%d روز',
            M: 'یک ماه',
            MM: '%d ماه',
            y: 'یک سال',
            yy: '%d سال',
        },
        preparse: function (string) {
            return string
                .replace(/[۰-۹]/g, function (match) {
                    return numberMap[match];
                })
                .replace(/،/g, ',');
        },
        postformat: function (string) {
            return string
                .replace(/\d/g, function (match) {
                    return symbolMap[match];
                })
                .replace(/,/g, '،');
        },
        dayOfMonthOrdinalParse: /\d{1,2}م/,
        ordinal: '%dم',
        week: {
            dow: 6, // Saturday is the first day of the week.
            doy: 12, // The week that contains Jan 12th is the first week of the year.
        },
    });

    return fa;

})));


/***/ }),

/***/ 11897:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Finnish [fi]
//! author : Tarmo Aidantausta : https://github.com/bleadof

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var numbersPast =
            'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split(
                ' '
            ),
        numbersFuture = [
            'nolla',
            'yhden',
            'kahden',
            'kolmen',
            'neljän',
            'viiden',
            'kuuden',
            numbersPast[7],
            numbersPast[8],
            numbersPast[9],
        ];
    function translate(number, withoutSuffix, key, isFuture) {
        var result = '';
        switch (key) {
            case 's':
                return isFuture ? 'muutaman sekunnin' : 'muutama sekunti';
            case 'ss':
                result = isFuture ? 'sekunnin' : 'sekuntia';
                break;
            case 'm':
                return isFuture ? 'minuutin' : 'minuutti';
            case 'mm':
                result = isFuture ? 'minuutin' : 'minuuttia';
                break;
            case 'h':
                return isFuture ? 'tunnin' : 'tunti';
            case 'hh':
                result = isFuture ? 'tunnin' : 'tuntia';
                break;
            case 'd':
                return isFuture ? 'päivän' : 'päivä';
            case 'dd':
                result = isFuture ? 'päivän' : 'päivää';
                break;
            case 'M':
                return isFuture ? 'kuukauden' : 'kuukausi';
            case 'MM':
                result = isFuture ? 'kuukauden' : 'kuukautta';
                break;
            case 'y':
                return isFuture ? 'vuoden' : 'vuosi';
            case 'yy':
                result = isFuture ? 'vuoden' : 'vuotta';
                break;
        }
        result = verbalNumber(number, isFuture) + ' ' + result;
        return result;
    }
    function verbalNumber(number, isFuture) {
        return number < 10
            ? isFuture
                ? numbersFuture[number]
                : numbersPast[number]
            : number;
    }

    var fi = moment.defineLocale('fi', {
        months: 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split(
            '_'
        ),
        monthsShort:
            'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split(
                '_'
            ),
        weekdays:
            'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split(
                '_'
            ),
        weekdaysShort: 'su_ma_ti_ke_to_pe_la'.split('_'),
        weekdaysMin: 'su_ma_ti_ke_to_pe_la'.split('_'),
        longDateFormat: {
            LT: 'HH.mm',
            LTS: 'HH.mm.ss',
            L: 'DD.MM.YYYY',
            LL: 'Do MMMM[ta] YYYY',
            LLL: 'Do MMMM[ta] YYYY, [klo] HH.mm',
            LLLL: 'dddd, Do MMMM[ta] YYYY, [klo] HH.mm',
            l: 'D.M.YYYY',
            ll: 'Do MMM YYYY',
            lll: 'Do MMM YYYY, [klo] HH.mm',
            llll: 'ddd, Do MMM YYYY, [klo] HH.mm',
        },
        calendar: {
            sameDay: '[tänään] [klo] LT',
            nextDay: '[huomenna] [klo] LT',
            nextWeek: 'dddd [klo] LT',
            lastDay: '[eilen] [klo] LT',
            lastWeek: '[viime] dddd[na] [klo] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: '%s päästä',
            past: '%s sitten',
            s: translate,
            ss: translate,
            m: translate,
            mm: translate,
            h: translate,
            hh: translate,
            d: translate,
            dd: translate,
            M: translate,
            MM: translate,
            y: translate,
            yy: translate,
        },
        dayOfMonthOrdinalParse: /\d{1,2}\./,
        ordinal: '%d.',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return fi;

})));


/***/ }),

/***/ 42549:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Filipino [fil]
//! author : Dan Hagman : https://github.com/hagmandan
//! author : Matthew Co : https://github.com/matthewdeeco

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var fil = moment.defineLocale('fil', {
        months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split(
            '_'
        ),
        monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
        weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split(
            '_'
        ),
        weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
        weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'MM/D/YYYY',
            LL: 'MMMM D, YYYY',
            LLL: 'MMMM D, YYYY HH:mm',
            LLLL: 'dddd, MMMM DD, YYYY HH:mm',
        },
        calendar: {
            sameDay: 'LT [ngayong araw]',
            nextDay: '[Bukas ng] LT',
            nextWeek: 'LT [sa susunod na] dddd',
            lastDay: 'LT [kahapon]',
            lastWeek: 'LT [noong nakaraang] dddd',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'sa loob ng %s',
            past: '%s ang nakalipas',
            s: 'ilang segundo',
            ss: '%d segundo',
            m: 'isang minuto',
            mm: '%d minuto',
            h: 'isang oras',
            hh: '%d oras',
            d: 'isang araw',
            dd: '%d araw',
            M: 'isang buwan',
            MM: '%d buwan',
            y: 'isang taon',
            yy: '%d taon',
        },
        dayOfMonthOrdinalParse: /\d{1,2}/,
        ordinal: function (number) {
            return number;
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return fil;

})));


/***/ }),

/***/ 94694:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Faroese [fo]
//! author : Ragnar Johannesen : https://github.com/ragnar123
//! author : Kristian Sakarisson : https://github.com/sakarisson

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var fo = moment.defineLocale('fo', {
        months: 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split(
            '_'
        ),
        monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),
        weekdays:
            'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split(
                '_'
            ),
        weekdaysShort: 'sun_mán_týs_mik_hós_frí_ley'.split('_'),
        weekdaysMin: 'su_má_tý_mi_hó_fr_le'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd D. MMMM, YYYY HH:mm',
        },
        calendar: {
            sameDay: '[Í dag kl.] LT',
            nextDay: '[Í morgin kl.] LT',
            nextWeek: 'dddd [kl.] LT',
            lastDay: '[Í gjár kl.] LT',
            lastWeek: '[síðstu] dddd [kl] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'um %s',
            past: '%s síðani',
            s: 'fá sekund',
            ss: '%d sekundir',
            m: 'ein minuttur',
            mm: '%d minuttir',
            h: 'ein tími',
            hh: '%d tímar',
            d: 'ein dagur',
            dd: '%d dagar',
            M: 'ein mánaður',
            MM: '%d mánaðir',
            y: 'eitt ár',
            yy: '%d ár',
        },
        dayOfMonthOrdinalParse: /\d{1,2}\./,
        ordinal: '%d.',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return fo;

})));


/***/ }),

/***/ 63049:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : French (Canada) [fr-ca]
//! author : Jonathan Abourbih : https://github.com/jonbca

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var frCa = moment.defineLocale('fr-ca', {
        months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
            '_'
        ),
        monthsShort:
            'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(
                '_'
            ),
        monthsParseExact: true,
        weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
        weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
        weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'YYYY-MM-DD',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[Aujourd’hui à] LT',
            nextDay: '[Demain à] LT',
            nextWeek: 'dddd [à] LT',
            lastDay: '[Hier à] LT',
            lastWeek: 'dddd [dernier à] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'dans %s',
            past: 'il y a %s',
            s: 'quelques secondes',
            ss: '%d secondes',
            m: 'une minute',
            mm: '%d minutes',
            h: 'une heure',
            hh: '%d heures',
            d: 'un jour',
            dd: '%d jours',
            M: 'un mois',
            MM: '%d mois',
            y: 'un an',
            yy: '%d ans',
        },
        dayOfMonthOrdinalParse: /\d{1,2}(er|e)/,
        ordinal: function (number, period) {
            switch (period) {
                // Words with masculine grammatical gender: mois, trimestre, jour
                default:
                case 'M':
                case 'Q':
                case 'D':
                case 'DDD':
                case 'd':
                    return number + (number === 1 ? 'er' : 'e');

                // Words with feminine grammatical gender: semaine
                case 'w':
                case 'W':
                    return number + (number === 1 ? 're' : 'e');
            }
        },
    });

    return frCa;

})));


/***/ }),

/***/ 52330:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : French (Switzerland) [fr-ch]
//! author : Gaspard Bucher : https://github.com/gaspard

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var frCh = moment.defineLocale('fr-ch', {
        months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
            '_'
        ),
        monthsShort:
            'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(
                '_'
            ),
        monthsParseExact: true,
        weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
        weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
        weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD.MM.YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[Aujourd’hui à] LT',
            nextDay: '[Demain à] LT',
            nextWeek: 'dddd [à] LT',
            lastDay: '[Hier à] LT',
            lastWeek: 'dddd [dernier à] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'dans %s',
            past: 'il y a %s',
            s: 'quelques secondes',
            ss: '%d secondes',
            m: 'une minute',
            mm: '%d minutes',
            h: 'une heure',
            hh: '%d heures',
            d: 'un jour',
            dd: '%d jours',
            M: 'un mois',
            MM: '%d mois',
            y: 'un an',
            yy: '%d ans',
        },
        dayOfMonthOrdinalParse: /\d{1,2}(er|e)/,
        ordinal: function (number, period) {
            switch (period) {
                // Words with masculine grammatical gender: mois, trimestre, jour
                default:
                case 'M':
                case 'Q':
                case 'D':
                case 'DDD':
                case 'd':
                    return number + (number === 1 ? 'er' : 'e');

                // Words with feminine grammatical gender: semaine
                case 'w':
                case 'W':
                    return number + (number === 1 ? 're' : 'e');
            }
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return frCh;

})));


/***/ }),

/***/ 94470:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : French [fr]
//! author : John Fischer : https://github.com/jfroffice

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var monthsStrictRegex =
            /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,
        monthsShortStrictRegex =
            /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,
        monthsRegex =
            /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,
        monthsParse = [
            /^janv/i,
            /^févr/i,
            /^mars/i,
            /^avr/i,
            /^mai/i,
            /^juin/i,
            /^juil/i,
            /^août/i,
            /^sept/i,
            /^oct/i,
            /^nov/i,
            /^déc/i,
        ];

    var fr = moment.defineLocale('fr', {
        months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
            '_'
        ),
        monthsShort:
            'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(
                '_'
            ),
        monthsRegex: monthsRegex,
        monthsShortRegex: monthsRegex,
        monthsStrictRegex: monthsStrictRegex,
        monthsShortStrictRegex: monthsShortStrictRegex,
        monthsParse: monthsParse,
        longMonthsParse: monthsParse,
        shortMonthsParse: monthsParse,
        weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
        weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
        weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[Aujourd’hui à] LT',
            nextDay: '[Demain à] LT',
            nextWeek: 'dddd [à] LT',
            lastDay: '[Hier à] LT',
            lastWeek: 'dddd [dernier à] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'dans %s',
            past: 'il y a %s',
            s: 'quelques secondes',
            ss: '%d secondes',
            m: 'une minute',
            mm: '%d minutes',
            h: 'une heure',
            hh: '%d heures',
            d: 'un jour',
            dd: '%d jours',
            w: 'une semaine',
            ww: '%d semaines',
            M: 'un mois',
            MM: '%d mois',
            y: 'un an',
            yy: '%d ans',
        },
        dayOfMonthOrdinalParse: /\d{1,2}(er|)/,
        ordinal: function (number, period) {
            switch (period) {
                // TODO: Return 'e' when day of month > 1. Move this case inside
                // block for masculine words below.
                // See https://github.com/moment/moment/issues/3375
                case 'D':
                    return number + (number === 1 ? 'er' : '');

                // Words with masculine grammatical gender: mois, trimestre, jour
                default:
                case 'M':
                case 'Q':
                case 'DDD':
                case 'd':
                    return number + (number === 1 ? 'er' : 'e');

                // Words with feminine grammatical gender: semaine
                case 'w':
                case 'W':
                    return number + (number === 1 ? 're' : 'e');
            }
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return fr;

})));


/***/ }),

/***/ 5044:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Frisian [fy]
//! author : Robin van der Vliet : https://github.com/robin0van0der0v

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var monthsShortWithDots =
            'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split('_'),
        monthsShortWithoutDots =
            'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_');

    var fy = moment.defineLocale('fy', {
        months: 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split(
            '_'
        ),
        monthsShort: function (m, format) {
            if (!m) {
                return monthsShortWithDots;
            } else if (/-MMM-/.test(format)) {
                return monthsShortWithoutDots[m.month()];
            } else {
                return monthsShortWithDots[m.month()];
            }
        },
        monthsParseExact: true,
        weekdays: 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split(
            '_'
        ),
        weekdaysShort: 'si._mo._ti._wo._to._fr._so.'.split('_'),
        weekdaysMin: 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD-MM-YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[hjoed om] LT',
            nextDay: '[moarn om] LT',
            nextWeek: 'dddd [om] LT',
            lastDay: '[juster om] LT',
            lastWeek: '[ôfrûne] dddd [om] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'oer %s',
            past: '%s lyn',
            s: 'in pear sekonden',
            ss: '%d sekonden',
            m: 'ien minút',
            mm: '%d minuten',
            h: 'ien oere',
            hh: '%d oeren',
            d: 'ien dei',
            dd: '%d dagen',
            M: 'ien moanne',
            MM: '%d moannen',
            y: 'ien jier',
            yy: '%d jierren',
        },
        dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
        ordinal: function (number) {
            return (
                number +
                (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')
            );
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return fy;

})));


/***/ }),

/***/ 29295:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Irish or Irish Gaelic [ga]
//! author : André Silva : https://github.com/askpt

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var months = [
            'Eanáir',
            'Feabhra',
            'Márta',
            'Aibreán',
            'Bealtaine',
            'Meitheamh',
            'Iúil',
            'Lúnasa',
            'Meán Fómhair',
            'Deireadh Fómhair',
            'Samhain',
            'Nollaig',
        ],
        monthsShort = [
            'Ean',
            'Feabh',
            'Márt',
            'Aib',
            'Beal',
            'Meith',
            'Iúil',
            'Lún',
            'M.F.',
            'D.F.',
            'Samh',
            'Noll',
        ],
        weekdays = [
            'Dé Domhnaigh',
            'Dé Luain',
            'Dé Máirt',
            'Dé Céadaoin',
            'Déardaoin',
            'Dé hAoine',
            'Dé Sathairn',
        ],
        weekdaysShort = ['Domh', 'Luan', 'Máirt', 'Céad', 'Déar', 'Aoine', 'Sath'],
        weekdaysMin = ['Do', 'Lu', 'Má', 'Cé', 'Dé', 'A', 'Sa'];

    var ga = moment.defineLocale('ga', {
        months: months,
        monthsShort: monthsShort,
        monthsParseExact: true,
        weekdays: weekdays,
        weekdaysShort: weekdaysShort,
        weekdaysMin: weekdaysMin,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd, D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[Inniu ag] LT',
            nextDay: '[Amárach ag] LT',
            nextWeek: 'dddd [ag] LT',
            lastDay: '[Inné ag] LT',
            lastWeek: 'dddd [seo caite] [ag] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'i %s',
            past: '%s ó shin',
            s: 'cúpla soicind',
            ss: '%d soicind',
            m: 'nóiméad',
            mm: '%d nóiméad',
            h: 'uair an chloig',
            hh: '%d uair an chloig',
            d: 'lá',
            dd: '%d lá',
            M: 'mí',
            MM: '%d míonna',
            y: 'bliain',
            yy: '%d bliain',
        },
        dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/,
        ordinal: function (number) {
            var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
            return number + output;
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return ga;

})));


/***/ }),

/***/ 2101:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Scottish Gaelic [gd]
//! author : Jon Ashdown : https://github.com/jonashdown

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var months = [
            'Am Faoilleach',
            'An Gearran',
            'Am Màrt',
            'An Giblean',
            'An Cèitean',
            'An t-Ògmhios',
            'An t-Iuchar',
            'An Lùnastal',
            'An t-Sultain',
            'An Dàmhair',
            'An t-Samhain',
            'An Dùbhlachd',
        ],
        monthsShort = [
            'Faoi',
            'Gear',
            'Màrt',
            'Gibl',
            'Cèit',
            'Ògmh',
            'Iuch',
            'Lùn',
            'Sult',
            'Dàmh',
            'Samh',
            'Dùbh',
        ],
        weekdays = [
            'Didòmhnaich',
            'Diluain',
            'Dimàirt',
            'Diciadain',
            'Diardaoin',
            'Dihaoine',
            'Disathairne',
        ],
        weekdaysShort = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'],
        weekdaysMin = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa'];

    var gd = moment.defineLocale('gd', {
        months: months,
        monthsShort: monthsShort,
        monthsParseExact: true,
        weekdays: weekdays,
        weekdaysShort: weekdaysShort,
        weekdaysMin: weekdaysMin,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd, D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[An-diugh aig] LT',
            nextDay: '[A-màireach aig] LT',
            nextWeek: 'dddd [aig] LT',
            lastDay: '[An-dè aig] LT',
            lastWeek: 'dddd [seo chaidh] [aig] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'ann an %s',
            past: 'bho chionn %s',
            s: 'beagan diogan',
            ss: '%d diogan',
            m: 'mionaid',
            mm: '%d mionaidean',
            h: 'uair',
            hh: '%d uairean',
            d: 'latha',
            dd: '%d latha',
            M: 'mìos',
            MM: '%d mìosan',
            y: 'bliadhna',
            yy: '%d bliadhna',
        },
        dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/,
        ordinal: function (number) {
            var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
            return number + output;
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return gd;

})));


/***/ }),

/***/ 38794:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Galician [gl]
//! author : Juan G. Hurtado : https://github.com/juanghurtado

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var gl = moment.defineLocale('gl', {
        months: 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split(
            '_'
        ),
        monthsShort:
            'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split(
                '_'
            ),
        monthsParseExact: true,
        weekdays: 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'),
        weekdaysShort: 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'),
        weekdaysMin: 'do_lu_ma_mé_xo_ve_sá'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'H:mm',
            LTS: 'H:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D [de] MMMM [de] YYYY',
            LLL: 'D [de] MMMM [de] YYYY H:mm',
            LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',
        },
        calendar: {
            sameDay: function () {
                return '[hoxe ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT';
            },
            nextDay: function () {
                return '[mañá ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT';
            },
            nextWeek: function () {
                return 'dddd [' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT';
            },
            lastDay: function () {
                return '[onte ' + (this.hours() !== 1 ? 'á' : 'a') + '] LT';
            },
            lastWeek: function () {
                return (
                    '[o] dddd [pasado ' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT'
                );
            },
            sameElse: 'L',
        },
        relativeTime: {
            future: function (str) {
                if (str.indexOf('un') === 0) {
                    return 'n' + str;
                }
                return 'en ' + str;
            },
            past: 'hai %s',
            s: 'uns segundos',
            ss: '%d segundos',
            m: 'un minuto',
            mm: '%d minutos',
            h: 'unha hora',
            hh: '%d horas',
            d: 'un día',
            dd: '%d días',
            M: 'un mes',
            MM: '%d meses',
            y: 'un ano',
            yy: '%d anos',
        },
        dayOfMonthOrdinalParse: /\d{1,2}º/,
        ordinal: '%dº',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return gl;

})));


/***/ }),

/***/ 27884:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Konkani Devanagari script [gom-deva]
//! author : The Discoverer : https://github.com/WikiDiscoverer

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    function processRelativeTime(number, withoutSuffix, key, isFuture) {
        var format = {
            s: ['थोडया सॅकंडांनी', 'थोडे सॅकंड'],
            ss: [number + ' सॅकंडांनी', number + ' सॅकंड'],
            m: ['एका मिणटान', 'एक मिनूट'],
            mm: [number + ' मिणटांनी', number + ' मिणटां'],
            h: ['एका वरान', 'एक वर'],
            hh: [number + ' वरांनी', number + ' वरां'],
            d: ['एका दिसान', 'एक दीस'],
            dd: [number + ' दिसांनी', number + ' दीस'],
            M: ['एका म्हयन्यान', 'एक म्हयनो'],
            MM: [number + ' म्हयन्यानी', number + ' म्हयने'],
            y: ['एका वर्सान', 'एक वर्स'],
            yy: [number + ' वर्सांनी', number + ' वर्सां'],
        };
        return isFuture ? format[key][0] : format[key][1];
    }

    var gomDeva = moment.defineLocale('gom-deva', {
        months: {
            standalone:
                'जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split(
                    '_'
                ),
            format: 'जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या'.split(
                '_'
            ),
            isFormat: /MMMM(\s)+D[oD]?/,
        },
        monthsShort:
            'जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split(
                '_'
            ),
        monthsParseExact: true,
        weekdays: 'आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार'.split('_'),
        weekdaysShort: 'आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.'.split('_'),
        weekdaysMin: 'आ_सो_मं_बु_ब्रे_सु_शे'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'A h:mm [वाजतां]',
            LTS: 'A h:mm:ss [वाजतां]',
            L: 'DD-MM-YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY A h:mm [वाजतां]',
            LLLL: 'dddd, MMMM Do, YYYY, A h:mm [वाजतां]',
            llll: 'ddd, D MMM YYYY, A h:mm [वाजतां]',
        },
        calendar: {
            sameDay: '[आयज] LT',
            nextDay: '[फाल्यां] LT',
            nextWeek: '[फुडलो] dddd[,] LT',
            lastDay: '[काल] LT',
            lastWeek: '[फाटलो] dddd[,] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: '%s',
            past: '%s आदीं',
            s: processRelativeTime,
            ss: processRelativeTime,
            m: processRelativeTime,
            mm: processRelativeTime,
            h: processRelativeTime,
            hh: processRelativeTime,
            d: processRelativeTime,
            dd: processRelativeTime,
            M: processRelativeTime,
            MM: processRelativeTime,
            y: processRelativeTime,
            yy: processRelativeTime,
        },
        dayOfMonthOrdinalParse: /\d{1,2}(वेर)/,
        ordinal: function (number, period) {
            switch (period) {
                // the ordinal 'वेर' only applies to day of the month
                case 'D':
                    return number + 'वेर';
                default:
                case 'M':
                case 'Q':
                case 'DDD':
                case 'd':
                case 'w':
                case 'W':
                    return number;
            }
        },
        week: {
            dow: 0, // Sunday is the first day of the week
            doy: 3, // The week that contains Jan 4th is the first week of the year (7 + 0 - 4)
        },
        meridiemParse: /राती|सकाळीं|दनपारां|सांजे/,
        meridiemHour: function (hour, meridiem) {
            if (hour === 12) {
                hour = 0;
            }
            if (meridiem === 'राती') {
                return hour < 4 ? hour : hour + 12;
            } else if (meridiem === 'सकाळीं') {
                return hour;
            } else if (meridiem === 'दनपारां') {
                return hour > 12 ? hour : hour + 12;
            } else if (meridiem === 'सांजे') {
                return hour + 12;
            }
        },
        meridiem: function (hour, minute, isLower) {
            if (hour < 4) {
                return 'राती';
            } else if (hour < 12) {
                return 'सकाळीं';
            } else if (hour < 16) {
                return 'दनपारां';
            } else if (hour < 20) {
                return 'सांजे';
            } else {
                return 'राती';
            }
        },
    });

    return gomDeva;

})));


/***/ }),

/***/ 23168:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Konkani Latin script [gom-latn]
//! author : The Discoverer : https://github.com/WikiDiscoverer

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    function processRelativeTime(number, withoutSuffix, key, isFuture) {
        var format = {
            s: ['thoddea sekondamni', 'thodde sekond'],
            ss: [number + ' sekondamni', number + ' sekond'],
            m: ['eka mintan', 'ek minut'],
            mm: [number + ' mintamni', number + ' mintam'],
            h: ['eka voran', 'ek vor'],
            hh: [number + ' voramni', number + ' voram'],
            d: ['eka disan', 'ek dis'],
            dd: [number + ' disamni', number + ' dis'],
            M: ['eka mhoinean', 'ek mhoino'],
            MM: [number + ' mhoineamni', number + ' mhoine'],
            y: ['eka vorsan', 'ek voros'],
            yy: [number + ' vorsamni', number + ' vorsam'],
        };
        return isFuture ? format[key][0] : format[key][1];
    }

    var gomLatn = moment.defineLocale('gom-latn', {
        months: {
            standalone:
                'Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr'.split(
                    '_'
                ),
            format: 'Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea'.split(
                '_'
            ),
            isFormat: /MMMM(\s)+D[oD]?/,
        },
        monthsShort:
            'Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.'.split('_'),
        monthsParseExact: true,
        weekdays: "Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split('_'),
        weekdaysShort: 'Ait._Som._Mon._Bud._Bre._Suk._Son.'.split('_'),
        weekdaysMin: 'Ai_Sm_Mo_Bu_Br_Su_Sn'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'A h:mm [vazta]',
            LTS: 'A h:mm:ss [vazta]',
            L: 'DD-MM-YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY A h:mm [vazta]',
            LLLL: 'dddd, MMMM Do, YYYY, A h:mm [vazta]',
            llll: 'ddd, D MMM YYYY, A h:mm [vazta]',
        },
        calendar: {
            sameDay: '[Aiz] LT',
            nextDay: '[Faleam] LT',
            nextWeek: '[Fuddlo] dddd[,] LT',
            lastDay: '[Kal] LT',
            lastWeek: '[Fattlo] dddd[,] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: '%s',
            past: '%s adim',
            s: processRelativeTime,
            ss: processRelativeTime,
            m: processRelativeTime,
            mm: processRelativeTime,
            h: processRelativeTime,
            hh: processRelativeTime,
            d: processRelativeTime,
            dd: processRelativeTime,
            M: processRelativeTime,
            MM: processRelativeTime,
            y: processRelativeTime,
            yy: processRelativeTime,
        },
        dayOfMonthOrdinalParse: /\d{1,2}(er)/,
        ordinal: function (number, period) {
            switch (period) {
                // the ordinal 'er' only applies to day of the month
                case 'D':
                    return number + 'er';
                default:
                case 'M':
                case 'Q':
                case 'DDD':
                case 'd':
                case 'w':
                case 'W':
                    return number;
            }
        },
        week: {
            dow: 0, // Sunday is the first day of the week
            doy: 3, // The week that contains Jan 4th is the first week of the year (7 + 0 - 4)
        },
        meridiemParse: /rati|sokallim|donparam|sanje/,
        meridiemHour: function (hour, meridiem) {
            if (hour === 12) {
                hour = 0;
            }
            if (meridiem === 'rati') {
                return hour < 4 ? hour : hour + 12;
            } else if (meridiem === 'sokallim') {
                return hour;
            } else if (meridiem === 'donparam') {
                return hour > 12 ? hour : hour + 12;
            } else if (meridiem === 'sanje') {
                return hour + 12;
            }
        },
        meridiem: function (hour, minute, isLower) {
            if (hour < 4) {
                return 'rati';
            } else if (hour < 12) {
                return 'sokallim';
            } else if (hour < 16) {
                return 'donparam';
            } else if (hour < 20) {
                return 'sanje';
            } else {
                return 'rati';
            }
        },
    });

    return gomLatn;

})));


/***/ }),

/***/ 95349:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Gujarati [gu]
//! author : Kaushik Thanki : https://github.com/Kaushik1987

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var symbolMap = {
            1: '૧',
            2: '૨',
            3: '૩',
            4: '૪',
            5: '૫',
            6: '૬',
            7: '૭',
            8: '૮',
            9: '૯',
            0: '૦',
        },
        numberMap = {
            '૧': '1',
            '૨': '2',
            '૩': '3',
            '૪': '4',
            '૫': '5',
            '૬': '6',
            '૭': '7',
            '૮': '8',
            '૯': '9',
            '૦': '0',
        };

    var gu = moment.defineLocale('gu', {
        months: 'જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર'.split(
            '_'
        ),
        monthsShort:
            'જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.'.split(
                '_'
            ),
        monthsParseExact: true,
        weekdays: 'રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર'.split(
            '_'
        ),
        weekdaysShort: 'રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ'.split('_'),
        weekdaysMin: 'ર_સો_મં_બુ_ગુ_શુ_શ'.split('_'),
        longDateFormat: {
            LT: 'A h:mm વાગ્યે',
            LTS: 'A h:mm:ss વાગ્યે',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY, A h:mm વાગ્યે',
            LLLL: 'dddd, D MMMM YYYY, A h:mm વાગ્યે',
        },
        calendar: {
            sameDay: '[આજ] LT',
            nextDay: '[કાલે] LT',
            nextWeek: 'dddd, LT',
            lastDay: '[ગઇકાલે] LT',
            lastWeek: '[પાછલા] dddd, LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: '%s મા',
            past: '%s પહેલા',
            s: 'અમુક પળો',
            ss: '%d સેકંડ',
            m: 'એક મિનિટ',
            mm: '%d મિનિટ',
            h: 'એક કલાક',
            hh: '%d કલાક',
            d: 'એક દિવસ',
            dd: '%d દિવસ',
            M: 'એક મહિનો',
            MM: '%d મહિનો',
            y: 'એક વર્ષ',
            yy: '%d વર્ષ',
        },
        preparse: function (string) {
            return string.replace(/[૧૨૩૪૫૬૭૮૯૦]/g, function (match) {
                return numberMap[match];
            });
        },
        postformat: function (string) {
            return string.replace(/\d/g, function (match) {
                return symbolMap[match];
            });
        },
        // Gujarati notation for meridiems are quite fuzzy in practice. While there exists
        // a rigid notion of a 'Pahar' it is not used as rigidly in modern Gujarati.
        meridiemParse: /રાત|બપોર|સવાર|સાંજ/,
        meridiemHour: function (hour, meridiem) {
            if (hour === 12) {
                hour = 0;
            }
            if (meridiem === 'રાત') {
                return hour < 4 ? hour : hour + 12;
            } else if (meridiem === 'સવાર') {
                return hour;
            } else if (meridiem === 'બપોર') {
                return hour >= 10 ? hour : hour + 12;
            } else if (meridiem === 'સાંજ') {
                return hour + 12;
            }
        },
        meridiem: function (hour, minute, isLower) {
            if (hour < 4) {
                return 'રાત';
            } else if (hour < 10) {
                return 'સવાર';
            } else if (hour < 17) {
                return 'બપોર';
            } else if (hour < 20) {
                return 'સાંજ';
            } else {
                return 'રાત';
            }
        },
        week: {
            dow: 0, // Sunday is the first day of the week.
            doy: 6, // The week that contains Jan 6th is the first week of the year.
        },
    });

    return gu;

})));


/***/ }),

/***/ 24206:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Hebrew [he]
//! author : Tomer Cohen : https://github.com/tomer
//! author : Moshe Simantov : https://github.com/DevelopmentIL
//! author : Tal Ater : https://github.com/TalAter

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var he = moment.defineLocale('he', {
        months: 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split(
            '_'
        ),
        monthsShort:
            'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split('_'),
        weekdays: 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'),
        weekdaysShort: 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'),
        weekdaysMin: 'א_ב_ג_ד_ה_ו_ש'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D [ב]MMMM YYYY',
            LLL: 'D [ב]MMMM YYYY HH:mm',
            LLLL: 'dddd, D [ב]MMMM YYYY HH:mm',
            l: 'D/M/YYYY',
            ll: 'D MMM YYYY',
            lll: 'D MMM YYYY HH:mm',
            llll: 'ddd, D MMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[היום ב־]LT',
            nextDay: '[מחר ב־]LT',
            nextWeek: 'dddd [בשעה] LT',
            lastDay: '[אתמול ב־]LT',
            lastWeek: '[ביום] dddd [האחרון בשעה] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'בעוד %s',
            past: 'לפני %s',
            s: 'מספר שניות',
            ss: '%d שניות',
            m: 'דקה',
            mm: '%d דקות',
            h: 'שעה',
            hh: function (number) {
                if (number === 2) {
                    return 'שעתיים';
                }
                return number + ' שעות';
            },
            d: 'יום',
            dd: function (number) {
                if (number === 2) {
                    return 'יומיים';
                }
                return number + ' ימים';
            },
            M: 'חודש',
            MM: function (number) {
                if (number === 2) {
                    return 'חודשיים';
                }
                return number + ' חודשים';
            },
            y: 'שנה',
            yy: function (number) {
                if (number === 2) {
                    return 'שנתיים';
                } else if (number % 10 === 0 && number !== 10) {
                    return number + ' שנה';
                }
                return number + ' שנים';
            },
        },
        meridiemParse:
            /אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,
        isPM: function (input) {
            return /^(אחה"צ|אחרי הצהריים|בערב)$/.test(input);
        },
        meridiem: function (hour, minute, isLower) {
            if (hour < 5) {
                return 'לפנות בוקר';
            } else if (hour < 10) {
                return 'בבוקר';
            } else if (hour < 12) {
                return isLower ? 'לפנה"צ' : 'לפני הצהריים';
            } else if (hour < 18) {
                return isLower ? 'אחה"צ' : 'אחרי הצהריים';
            } else {
                return 'בערב';
            }
        },
    });

    return he;

})));


/***/ }),

/***/ 30094:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Hindi [hi]
//! author : Mayank Singhal : https://github.com/mayanksinghal

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var symbolMap = {
            1: '१',
            2: '२',
            3: '३',
            4: '४',
            5: '५',
            6: '६',
            7: '७',
            8: '८',
            9: '९',
            0: '०',
        },
        numberMap = {
            '१': '1',
            '२': '2',
            '३': '3',
            '४': '4',
            '५': '5',
            '६': '6',
            '७': '7',
            '८': '8',
            '९': '9',
            '०': '0',
        },
        monthsParse = [
            /^जन/i,
            /^फ़र|फर/i,
            /^मार्च/i,
            /^अप्रै/i,
            /^मई/i,
            /^जून/i,
            /^जुल/i,
            /^अग/i,
            /^सितं|सित/i,
            /^अक्टू/i,
            /^नव|नवं/i,
            /^दिसं|दिस/i,
        ],
        shortMonthsParse = [
            /^जन/i,
            /^फ़र/i,
            /^मार्च/i,
            /^अप्रै/i,
            /^मई/i,
            /^जून/i,
            /^जुल/i,
            /^अग/i,
            /^सित/i,
            /^अक्टू/i,
            /^नव/i,
            /^दिस/i,
        ];

    var hi = moment.defineLocale('hi', {
        months: {
            format: 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split(
                '_'
            ),
            standalone:
                'जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर'.split(
                    '_'
                ),
        },
        monthsShort:
            'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split('_'),
        weekdays: 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),
        weekdaysShort: 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split('_'),
        weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'),
        longDateFormat: {
            LT: 'A h:mm बजे',
            LTS: 'A h:mm:ss बजे',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY, A h:mm बजे',
            LLLL: 'dddd, D MMMM YYYY, A h:mm बजे',
        },

        monthsParse: monthsParse,
        longMonthsParse: monthsParse,
        shortMonthsParse: shortMonthsParse,

        monthsRegex:
            /^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,

        monthsShortRegex:
            /^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,

        monthsStrictRegex:
            /^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,

        monthsShortStrictRegex:
            /^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,

        calendar: {
            sameDay: '[आज] LT',
            nextDay: '[कल] LT',
            nextWeek: 'dddd, LT',
            lastDay: '[कल] LT',
            lastWeek: '[पिछले] dddd, LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: '%s में',
            past: '%s पहले',
            s: 'कुछ ही क्षण',
            ss: '%d सेकंड',
            m: 'एक मिनट',
            mm: '%d मिनट',
            h: 'एक घंटा',
            hh: '%d घंटे',
            d: 'एक दिन',
            dd: '%d दिन',
            M: 'एक महीने',
            MM: '%d महीने',
            y: 'एक वर्ष',
            yy: '%d वर्ष',
        },
        preparse: function (string) {
            return string.replace(/[१२३४५६७८९०]/g, function (match) {
                return numberMap[match];
            });
        },
        postformat: function (string) {
            return string.replace(/\d/g, function (match) {
                return symbolMap[match];
            });
        },
        // Hindi notation for meridiems are quite fuzzy in practice. While there exists
        // a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi.
        meridiemParse: /रात|सुबह|दोपहर|शाम/,
        meridiemHour: function (hour, meridiem) {
            if (hour === 12) {
                hour = 0;
            }
            if (meridiem === 'रात') {
                return hour < 4 ? hour : hour + 12;
            } else if (meridiem === 'सुबह') {
                return hour;
            } else if (meridiem === 'दोपहर') {
                return hour >= 10 ? hour : hour + 12;
            } else if (meridiem === 'शाम') {
                return hour + 12;
            }
        },
        meridiem: function (hour, minute, isLower) {
            if (hour < 4) {
                return 'रात';
            } else if (hour < 10) {
                return 'सुबह';
            } else if (hour < 17) {
                return 'दोपहर';
            } else if (hour < 20) {
                return 'शाम';
            } else {
                return 'रात';
            }
        },
        week: {
            dow: 0, // Sunday is the first day of the week.
            doy: 6, // The week that contains Jan 6th is the first week of the year.
        },
    });

    return hi;

})));


/***/ }),

/***/ 30316:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Croatian [hr]
//! author : Bojan Marković : https://github.com/bmarkovic

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    function translate(number, withoutSuffix, key) {
        var result = number + ' ';
        switch (key) {
            case 'ss':
                if (number === 1) {
                    result += 'sekunda';
                } else if (number === 2 || number === 3 || number === 4) {
                    result += 'sekunde';
                } else {
                    result += 'sekundi';
                }
                return result;
            case 'm':
                return withoutSuffix ? 'jedna minuta' : 'jedne minute';
            case 'mm':
                if (number === 1) {
                    result += 'minuta';
                } else if (number === 2 || number === 3 || number === 4) {
                    result += 'minute';
                } else {
                    result += 'minuta';
                }
                return result;
            case 'h':
                return withoutSuffix ? 'jedan sat' : 'jednog sata';
            case 'hh':
                if (number === 1) {
                    result += 'sat';
                } else if (number === 2 || number === 3 || number === 4) {
                    result += 'sata';
                } else {
                    result += 'sati';
                }
                return result;
            case 'dd':
                if (number === 1) {
                    result += 'dan';
                } else {
                    result += 'dana';
                }
                return result;
            case 'MM':
                if (number === 1) {
                    result += 'mjesec';
                } else if (number === 2 || number === 3 || number === 4) {
                    result += 'mjeseca';
                } else {
                    result += 'mjeseci';
                }
                return result;
            case 'yy':
                if (number === 1) {
                    result += 'godina';
                } else if (number === 2 || number === 3 || number === 4) {
                    result += 'godine';
                } else {
                    result += 'godina';
                }
                return result;
        }
    }

    var hr = moment.defineLocale('hr', {
        months: {
            format: 'siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca'.split(
                '_'
            ),
            standalone:
                'siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split(
                    '_'
                ),
        },
        monthsShort:
            'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split(
                '_'
            ),
        monthsParseExact: true,
        weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split(
            '_'
        ),
        weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
        weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'H:mm',
            LTS: 'H:mm:ss',
            L: 'DD.MM.YYYY',
            LL: 'Do MMMM YYYY',
            LLL: 'Do MMMM YYYY H:mm',
            LLLL: 'dddd, Do MMMM YYYY H:mm',
        },
        calendar: {
            sameDay: '[danas u] LT',
            nextDay: '[sutra u] LT',
            nextWeek: function () {
                switch (this.day()) {
                    case 0:
                        return '[u] [nedjelju] [u] LT';
                    case 3:
                        return '[u] [srijedu] [u] LT';
                    case 6:
                        return '[u] [subotu] [u] LT';
                    case 1:
                    case 2:
                    case 4:
                    case 5:
                        return '[u] dddd [u] LT';
                }
            },
            lastDay: '[jučer u] LT',
            lastWeek: function () {
                switch (this.day()) {
                    case 0:
                        return '[prošlu] [nedjelju] [u] LT';
                    case 3:
                        return '[prošlu] [srijedu] [u] LT';
                    case 6:
                        return '[prošle] [subote] [u] LT';
                    case 1:
                    case 2:
                    case 4:
                    case 5:
                        return '[prošli] dddd [u] LT';
                }
            },
            sameElse: 'L',
        },
        relativeTime: {
            future: 'za %s',
            past: 'prije %s',
            s: 'par sekundi',
            ss: translate,
            m: translate,
            mm: translate,
            h: translate,
            hh: translate,
            d: 'dan',
            dd: translate,
            M: 'mjesec',
            MM: translate,
            y: 'godinu',
            yy: translate,
        },
        dayOfMonthOrdinalParse: /\d{1,2}\./,
        ordinal: '%d.',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 7, // The week that contains Jan 7th is the first week of the year.
        },
    });

    return hr;

})));


/***/ }),

/***/ 22138:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Hungarian [hu]
//! author : Adam Brunner : https://github.com/adambrunner
//! author : Peter Viszt  : https://github.com/passatgt

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var weekEndings =
        'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split(' ');
    function translate(number, withoutSuffix, key, isFuture) {
        var num = number;
        switch (key) {
            case 's':
                return isFuture || withoutSuffix
                    ? 'néhány másodperc'
                    : 'néhány másodperce';
            case 'ss':
                return num + (isFuture || withoutSuffix)
                    ? ' másodperc'
                    : ' másodperce';
            case 'm':
                return 'egy' + (isFuture || withoutSuffix ? ' perc' : ' perce');
            case 'mm':
                return num + (isFuture || withoutSuffix ? ' perc' : ' perce');
            case 'h':
                return 'egy' + (isFuture || withoutSuffix ? ' óra' : ' órája');
            case 'hh':
                return num + (isFuture || withoutSuffix ? ' óra' : ' órája');
            case 'd':
                return 'egy' + (isFuture || withoutSuffix ? ' nap' : ' napja');
            case 'dd':
                return num + (isFuture || withoutSuffix ? ' nap' : ' napja');
            case 'M':
                return 'egy' + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');
            case 'MM':
                return num + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');
            case 'y':
                return 'egy' + (isFuture || withoutSuffix ? ' év' : ' éve');
            case 'yy':
                return num + (isFuture || withoutSuffix ? ' év' : ' éve');
        }
        return '';
    }
    function week(isFuture) {
        return (
            (isFuture ? '' : '[múlt] ') +
            '[' +
            weekEndings[this.day()] +
            '] LT[-kor]'
        );
    }

    var hu = moment.defineLocale('hu', {
        months: 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split(
            '_'
        ),
        monthsShort:
            'jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.'.split(
                '_'
            ),
        monthsParseExact: true,
        weekdays: 'vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat'.split('_'),
        weekdaysShort: 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'),
        weekdaysMin: 'v_h_k_sze_cs_p_szo'.split('_'),
        longDateFormat: {
            LT: 'H:mm',
            LTS: 'H:mm:ss',
            L: 'YYYY.MM.DD.',
            LL: 'YYYY. MMMM D.',
            LLL: 'YYYY. MMMM D. H:mm',
            LLLL: 'YYYY. MMMM D., dddd H:mm',
        },
        meridiemParse: /de|du/i,
        isPM: function (input) {
            return input.charAt(1).toLowerCase() === 'u';
        },
        meridiem: function (hours, minutes, isLower) {
            if (hours < 12) {
                return isLower === true ? 'de' : 'DE';
            } else {
                return isLower === true ? 'du' : 'DU';
            }
        },
        calendar: {
            sameDay: '[ma] LT[-kor]',
            nextDay: '[holnap] LT[-kor]',
            nextWeek: function () {
                return week.call(this, true);
            },
            lastDay: '[tegnap] LT[-kor]',
            lastWeek: function () {
                return week.call(this, false);
            },
            sameElse: 'L',
        },
        relativeTime: {
            future: '%s múlva',
            past: '%s',
            s: translate,
            ss: translate,
            m: translate,
            mm: translate,
            h: translate,
            hh: translate,
            d: translate,
            dd: translate,
            M: translate,
            MM: translate,
            y: translate,
            yy: translate,
        },
        dayOfMonthOrdinalParse: /\d{1,2}\./,
        ordinal: '%d.',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return hu;

})));


/***/ }),

/***/ 11423:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Armenian [hy-am]
//! author : Armendarabyan : https://github.com/armendarabyan

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var hyAm = moment.defineLocale('hy-am', {
        months: {
            format: 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split(
                '_'
            ),
            standalone:
                'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'.split(
                    '_'
                ),
        },
        monthsShort: 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_'),
        weekdays:
            'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split(
                '_'
            ),
        weekdaysShort: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),
        weekdaysMin: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD.MM.YYYY',
            LL: 'D MMMM YYYY թ.',
            LLL: 'D MMMM YYYY թ., HH:mm',
            LLLL: 'dddd, D MMMM YYYY թ., HH:mm',
        },
        calendar: {
            sameDay: '[այսօր] LT',
            nextDay: '[վաղը] LT',
            lastDay: '[երեկ] LT',
            nextWeek: function () {
                return 'dddd [օրը ժամը] LT';
            },
            lastWeek: function () {
                return '[անցած] dddd [օրը ժամը] LT';
            },
            sameElse: 'L',
        },
        relativeTime: {
            future: '%s հետո',
            past: '%s առաջ',
            s: 'մի քանի վայրկյան',
            ss: '%d վայրկյան',
            m: 'րոպե',
            mm: '%d րոպե',
            h: 'ժամ',
            hh: '%d ժամ',
            d: 'օր',
            dd: '%d օր',
            M: 'ամիս',
            MM: '%d ամիս',
            y: 'տարի',
            yy: '%d տարի',
        },
        meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,
        isPM: function (input) {
            return /^(ցերեկվա|երեկոյան)$/.test(input);
        },
        meridiem: function (hour) {
            if (hour < 4) {
                return 'գիշերվա';
            } else if (hour < 12) {
                return 'առավոտվա';
            } else if (hour < 17) {
                return 'ցերեկվա';
            } else {
                return 'երեկոյան';
            }
        },
        dayOfMonthOrdinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/,
        ordinal: function (number, period) {
            switch (period) {
                case 'DDD':
                case 'w':
                case 'W':
                case 'DDDo':
                    if (number === 1) {
                        return number + '-ին';
                    }
                    return number + '-րդ';
                default:
                    return number;
            }
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 7, // The week that contains Jan 7th is the first week of the year.
        },
    });

    return hyAm;

})));


/***/ }),

/***/ 29218:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Indonesian [id]
//! author : Mohammad Satrio Utomo : https://github.com/tyok
//! reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var id = moment.defineLocale('id', {
        months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split(
            '_'
        ),
        monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des'.split('_'),
        weekdays: 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'),
        weekdaysShort: 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'),
        weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'),
        longDateFormat: {
            LT: 'HH.mm',
            LTS: 'HH.mm.ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY [pukul] HH.mm',
            LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',
        },
        meridiemParse: /pagi|siang|sore|malam/,
        meridiemHour: function (hour, meridiem) {
            if (hour === 12) {
                hour = 0;
            }
            if (meridiem === 'pagi') {
                return hour;
            } else if (meridiem === 'siang') {
                return hour >= 11 ? hour : hour + 12;
            } else if (meridiem === 'sore' || meridiem === 'malam') {
                return hour + 12;
            }
        },
        meridiem: function (hours, minutes, isLower) {
            if (hours < 11) {
                return 'pagi';
            } else if (hours < 15) {
                return 'siang';
            } else if (hours < 19) {
                return 'sore';
            } else {
                return 'malam';
            }
        },
        calendar: {
            sameDay: '[Hari ini pukul] LT',
            nextDay: '[Besok pukul] LT',
            nextWeek: 'dddd [pukul] LT',
            lastDay: '[Kemarin pukul] LT',
            lastWeek: 'dddd [lalu pukul] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'dalam %s',
            past: '%s yang lalu',
            s: 'beberapa detik',
            ss: '%d detik',
            m: 'semenit',
            mm: '%d menit',
            h: 'sejam',
            hh: '%d jam',
            d: 'sehari',
            dd: '%d hari',
            M: 'sebulan',
            MM: '%d bulan',
            y: 'setahun',
            yy: '%d tahun',
        },
        week: {
            dow: 0, // Sunday is the first day of the week.
            doy: 6, // The week that contains Jan 6th is the first week of the year.
        },
    });

    return id;

})));


/***/ }),

/***/ 90135:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Icelandic [is]
//! author : Hinrik Örn Sigurðsson : https://github.com/hinrik

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    function plural(n) {
        if (n % 100 === 11) {
            return true;
        } else if (n % 10 === 1) {
            return false;
        }
        return true;
    }
    function translate(number, withoutSuffix, key, isFuture) {
        var result = number + ' ';
        switch (key) {
            case 's':
                return withoutSuffix || isFuture
                    ? 'nokkrar sekúndur'
                    : 'nokkrum sekúndum';
            case 'ss':
                if (plural(number)) {
                    return (
                        result +
                        (withoutSuffix || isFuture ? 'sekúndur' : 'sekúndum')
                    );
                }
                return result + 'sekúnda';
            case 'm':
                return withoutSuffix ? 'mínúta' : 'mínútu';
            case 'mm':
                if (plural(number)) {
                    return (
                        result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum')
                    );
                } else if (withoutSuffix) {
                    return result + 'mínúta';
                }
                return result + 'mínútu';
            case 'hh':
                if (plural(number)) {
                    return (
                        result +
                        (withoutSuffix || isFuture
                            ? 'klukkustundir'
                            : 'klukkustundum')
                    );
                }
                return result + 'klukkustund';
            case 'd':
                if (withoutSuffix) {
                    return 'dagur';
                }
                return isFuture ? 'dag' : 'degi';
            case 'dd':
                if (plural(number)) {
                    if (withoutSuffix) {
                        return result + 'dagar';
                    }
                    return result + (isFuture ? 'daga' : 'dögum');
                } else if (withoutSuffix) {
                    return result + 'dagur';
                }
                return result + (isFuture ? 'dag' : 'degi');
            case 'M':
                if (withoutSuffix) {
                    return 'mánuður';
                }
                return isFuture ? 'mánuð' : 'mánuði';
            case 'MM':
                if (plural(number)) {
                    if (withoutSuffix) {
                        return result + 'mánuðir';
                    }
                    return result + (isFuture ? 'mánuði' : 'mánuðum');
                } else if (withoutSuffix) {
                    return result + 'mánuður';
                }
                return result + (isFuture ? 'mánuð' : 'mánuði');
            case 'y':
                return withoutSuffix || isFuture ? 'ár' : 'ári';
            case 'yy':
                if (plural(number)) {
                    return result + (withoutSuffix || isFuture ? 'ár' : 'árum');
                }
                return result + (withoutSuffix || isFuture ? 'ár' : 'ári');
        }
    }

    var is = moment.defineLocale('is', {
        months: 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split(
            '_'
        ),
        monthsShort: 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'),
        weekdays:
            'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split(
                '_'
            ),
        weekdaysShort: 'sun_mán_þri_mið_fim_fös_lau'.split('_'),
        weekdaysMin: 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'),
        longDateFormat: {
            LT: 'H:mm',
            LTS: 'H:mm:ss',
            L: 'DD.MM.YYYY',
            LL: 'D. MMMM YYYY',
            LLL: 'D. MMMM YYYY [kl.] H:mm',
            LLLL: 'dddd, D. MMMM YYYY [kl.] H:mm',
        },
        calendar: {
            sameDay: '[í dag kl.] LT',
            nextDay: '[á morgun kl.] LT',
            nextWeek: 'dddd [kl.] LT',
            lastDay: '[í gær kl.] LT',
            lastWeek: '[síðasta] dddd [kl.] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'eftir %s',
            past: 'fyrir %s síðan',
            s: translate,
            ss: translate,
            m: translate,
            mm: translate,
            h: 'klukkustund',
            hh: translate,
            d: translate,
            dd: translate,
            M: translate,
            MM: translate,
            y: translate,
            yy: translate,
        },
        dayOfMonthOrdinalParse: /\d{1,2}\./,
        ordinal: '%d.',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return is;

})));


/***/ }),

/***/ 10150:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Italian (Switzerland) [it-ch]
//! author : xfh : https://github.com/xfh

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var itCh = moment.defineLocale('it-ch', {
        months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split(
            '_'
        ),
        monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
        weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split(
            '_'
        ),
        weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),
        weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD.MM.YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[Oggi alle] LT',
            nextDay: '[Domani alle] LT',
            nextWeek: 'dddd [alle] LT',
            lastDay: '[Ieri alle] LT',
            lastWeek: function () {
                switch (this.day()) {
                    case 0:
                        return '[la scorsa] dddd [alle] LT';
                    default:
                        return '[lo scorso] dddd [alle] LT';
                }
            },
            sameElse: 'L',
        },
        relativeTime: {
            future: function (s) {
                return (/^[0-9].+$/.test(s) ? 'tra' : 'in') + ' ' + s;
            },
            past: '%s fa',
            s: 'alcuni secondi',
            ss: '%d secondi',
            m: 'un minuto',
            mm: '%d minuti',
            h: "un'ora",
            hh: '%d ore',
            d: 'un giorno',
            dd: '%d giorni',
            M: 'un mese',
            MM: '%d mesi',
            y: 'un anno',
            yy: '%d anni',
        },
        dayOfMonthOrdinalParse: /\d{1,2}º/,
        ordinal: '%dº',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return itCh;

})));


/***/ }),

/***/ 90626:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Italian [it]
//! author : Lorenzo : https://github.com/aliem
//! author: Mattia Larentis: https://github.com/nostalgiaz
//! author: Marco : https://github.com/Manfre98

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var it = moment.defineLocale('it', {
        months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split(
            '_'
        ),
        monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
        weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split(
            '_'
        ),
        weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),
        weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: function () {
                return (
                    '[Oggi a' +
                    (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
                    ']LT'
                );
            },
            nextDay: function () {
                return (
                    '[Domani a' +
                    (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
                    ']LT'
                );
            },
            nextWeek: function () {
                return (
                    'dddd [a' +
                    (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
                    ']LT'
                );
            },
            lastDay: function () {
                return (
                    '[Ieri a' +
                    (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
                    ']LT'
                );
            },
            lastWeek: function () {
                switch (this.day()) {
                    case 0:
                        return (
                            '[La scorsa] dddd [a' +
                            (this.hours() > 1
                                ? 'lle '
                                : this.hours() === 0
                                ? ' '
                                : "ll'") +
                            ']LT'
                        );
                    default:
                        return (
                            '[Lo scorso] dddd [a' +
                            (this.hours() > 1
                                ? 'lle '
                                : this.hours() === 0
                                ? ' '
                                : "ll'") +
                            ']LT'
                        );
                }
            },
            sameElse: 'L',
        },
        relativeTime: {
            future: 'tra %s',
            past: '%s fa',
            s: 'alcuni secondi',
            ss: '%d secondi',
            m: 'un minuto',
            mm: '%d minuti',
            h: "un'ora",
            hh: '%d ore',
            d: 'un giorno',
            dd: '%d giorni',
            w: 'una settimana',
            ww: '%d settimane',
            M: 'un mese',
            MM: '%d mesi',
            y: 'un anno',
            yy: '%d anni',
        },
        dayOfMonthOrdinalParse: /\d{1,2}º/,
        ordinal: '%dº',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return it;

})));


/***/ }),

/***/ 39183:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Japanese [ja]
//! author : LI Long : https://github.com/baryon

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var ja = moment.defineLocale('ja', {
        eras: [
            {
                since: '2019-05-01',
                offset: 1,
                name: '令和',
                narrow: '㋿',
                abbr: 'R',
            },
            {
                since: '1989-01-08',
                until: '2019-04-30',
                offset: 1,
                name: '平成',
                narrow: '㍻',
                abbr: 'H',
            },
            {
                since: '1926-12-25',
                until: '1989-01-07',
                offset: 1,
                name: '昭和',
                narrow: '㍼',
                abbr: 'S',
            },
            {
                since: '1912-07-30',
                until: '1926-12-24',
                offset: 1,
                name: '大正',
                narrow: '㍽',
                abbr: 'T',
            },
            {
                since: '1873-01-01',
                until: '1912-07-29',
                offset: 6,
                name: '明治',
                narrow: '㍾',
                abbr: 'M',
            },
            {
                since: '0001-01-01',
                until: '1873-12-31',
                offset: 1,
                name: '西暦',
                narrow: 'AD',
                abbr: 'AD',
            },
            {
                since: '0000-12-31',
                until: -Infinity,
                offset: 1,
                name: '紀元前',
                narrow: 'BC',
                abbr: 'BC',
            },
        ],
        eraYearOrdinalRegex: /(元|\d+)年/,
        eraYearOrdinalParse: function (input, match) {
            return match[1] === '元' ? 1 : parseInt(match[1] || input, 10);
        },
        months: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
        monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
            '_'
        ),
        weekdays: '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'),
        weekdaysShort: '日_月_火_水_木_金_土'.split('_'),
        weekdaysMin: '日_月_火_水_木_金_土'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'YYYY/MM/DD',
            LL: 'YYYY年M月D日',
            LLL: 'YYYY年M月D日 HH:mm',
            LLLL: 'YYYY年M月D日 dddd HH:mm',
            l: 'YYYY/MM/DD',
            ll: 'YYYY年M月D日',
            lll: 'YYYY年M月D日 HH:mm',
            llll: 'YYYY年M月D日(ddd) HH:mm',
        },
        meridiemParse: /午前|午後/i,
        isPM: function (input) {
            return input === '午後';
        },
        meridiem: function (hour, minute, isLower) {
            if (hour < 12) {
                return '午前';
            } else {
                return '午後';
            }
        },
        calendar: {
            sameDay: '[今日] LT',
            nextDay: '[明日] LT',
            nextWeek: function (now) {
                if (now.week() !== this.week()) {
                    return '[来週]dddd LT';
                } else {
                    return 'dddd LT';
                }
            },
            lastDay: '[昨日] LT',
            lastWeek: function (now) {
                if (this.week() !== now.week()) {
                    return '[先週]dddd LT';
                } else {
                    return 'dddd LT';
                }
            },
            sameElse: 'L',
        },
        dayOfMonthOrdinalParse: /\d{1,2}日/,
        ordinal: function (number, period) {
            switch (period) {
                case 'y':
                    return number === 1 ? '元年' : number + '年';
                case 'd':
                case 'D':
                case 'DDD':
                    return number + '日';
                default:
                    return number;
            }
        },
        relativeTime: {
            future: '%s後',
            past: '%s前',
            s: '数秒',
            ss: '%d秒',
            m: '1分',
            mm: '%d分',
            h: '1時間',
            hh: '%d時間',
            d: '1日',
            dd: '%d日',
            M: '1ヶ月',
            MM: '%dヶ月',
            y: '1年',
            yy: '%d年',
        },
    });

    return ja;

})));


/***/ }),

/***/ 24286:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Javanese [jv]
//! author : Rony Lantip : https://github.com/lantip
//! reference: http://jv.wikipedia.org/wiki/Basa_Jawa

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var jv = moment.defineLocale('jv', {
        months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split(
            '_'
        ),
        monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split('_'),
        weekdays: 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'),
        weekdaysShort: 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'),
        weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.split('_'),
        longDateFormat: {
            LT: 'HH.mm',
            LTS: 'HH.mm.ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY [pukul] HH.mm',
            LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',
        },
        meridiemParse: /enjing|siyang|sonten|ndalu/,
        meridiemHour: function (hour, meridiem) {
            if (hour === 12) {
                hour = 0;
            }
            if (meridiem === 'enjing') {
                return hour;
            } else if (meridiem === 'siyang') {
                return hour >= 11 ? hour : hour + 12;
            } else if (meridiem === 'sonten' || meridiem === 'ndalu') {
                return hour + 12;
            }
        },
        meridiem: function (hours, minutes, isLower) {
            if (hours < 11) {
                return 'enjing';
            } else if (hours < 15) {
                return 'siyang';
            } else if (hours < 19) {
                return 'sonten';
            } else {
                return 'ndalu';
            }
        },
        calendar: {
            sameDay: '[Dinten puniko pukul] LT',
            nextDay: '[Mbenjang pukul] LT',
            nextWeek: 'dddd [pukul] LT',
            lastDay: '[Kala wingi pukul] LT',
            lastWeek: 'dddd [kepengker pukul] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'wonten ing %s',
            past: '%s ingkang kepengker',
            s: 'sawetawis detik',
            ss: '%d detik',
            m: 'setunggal menit',
            mm: '%d menit',
            h: 'setunggal jam',
            hh: '%d jam',
            d: 'sedinten',
            dd: '%d dinten',
            M: 'sewulan',
            MM: '%d wulan',
            y: 'setaun',
            yy: '%d taun',
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 7, // The week that contains Jan 7th is the first week of the year.
        },
    });

    return jv;

})));


/***/ }),

/***/ 12105:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Georgian [ka]
//! author : Irakli Janiashvili : https://github.com/IrakliJani

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var ka = moment.defineLocale('ka', {
        months: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split(
            '_'
        ),
        monthsShort: 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'),
        weekdays: {
            standalone:
                'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split(
                    '_'
                ),
            format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split(
                '_'
            ),
            isFormat: /(წინა|შემდეგ)/,
        },
        weekdaysShort: 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'),
        weekdaysMin: 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd, D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[დღეს] LT[-ზე]',
            nextDay: '[ხვალ] LT[-ზე]',
            lastDay: '[გუშინ] LT[-ზე]',
            nextWeek: '[შემდეგ] dddd LT[-ზე]',
            lastWeek: '[წინა] dddd LT-ზე',
            sameElse: 'L',
        },
        relativeTime: {
            future: function (s) {
                return s.replace(
                    /(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,
                    function ($0, $1, $2) {
                        return $2 === 'ი' ? $1 + 'ში' : $1 + $2 + 'ში';
                    }
                );
            },
            past: function (s) {
                if (/(წამი|წუთი|საათი|დღე|თვე)/.test(s)) {
                    return s.replace(/(ი|ე)$/, 'ის წინ');
                }
                if (/წელი/.test(s)) {
                    return s.replace(/წელი$/, 'წლის წინ');
                }
                return s;
            },
            s: 'რამდენიმე წამი',
            ss: '%d წამი',
            m: 'წუთი',
            mm: '%d წუთი',
            h: 'საათი',
            hh: '%d საათი',
            d: 'დღე',
            dd: '%d დღე',
            M: 'თვე',
            MM: '%d თვე',
            y: 'წელი',
            yy: '%d წელი',
        },
        dayOfMonthOrdinalParse: /0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,
        ordinal: function (number) {
            if (number === 0) {
                return number;
            }
            if (number === 1) {
                return number + '-ლი';
            }
            if (
                number < 20 ||
                (number <= 100 && number % 20 === 0) ||
                number % 100 === 0
            ) {
                return 'მე-' + number;
            }
            return number + '-ე';
        },
        week: {
            dow: 1,
            doy: 7,
        },
    });

    return ka;

})));


/***/ }),

/***/ 47772:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Kazakh [kk]
//! authors : Nurlan Rakhimzhanov : https://github.com/nurlan

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var suffixes = {
        0: '-ші',
        1: '-ші',
        2: '-ші',
        3: '-ші',
        4: '-ші',
        5: '-ші',
        6: '-шы',
        7: '-ші',
        8: '-ші',
        9: '-шы',
        10: '-шы',
        20: '-шы',
        30: '-шы',
        40: '-шы',
        50: '-ші',
        60: '-шы',
        70: '-ші',
        80: '-ші',
        90: '-шы',
        100: '-ші',
    };

    var kk = moment.defineLocale('kk', {
        months: 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split(
            '_'
        ),
        monthsShort: 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'),
        weekdays: 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split(
            '_'
        ),
        weekdaysShort: 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'),
        weekdaysMin: 'жк_дй_сй_ср_бй_жм_сн'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD.MM.YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd, D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[Бүгін сағат] LT',
            nextDay: '[Ертең сағат] LT',
            nextWeek: 'dddd [сағат] LT',
            lastDay: '[Кеше сағат] LT',
            lastWeek: '[Өткен аптаның] dddd [сағат] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: '%s ішінде',
            past: '%s бұрын',
            s: 'бірнеше секунд',
            ss: '%d секунд',
            m: 'бір минут',
            mm: '%d минут',
            h: 'бір сағат',
            hh: '%d сағат',
            d: 'бір күн',
            dd: '%d күн',
            M: 'бір ай',
            MM: '%d ай',
            y: 'бір жыл',
            yy: '%d жыл',
        },
        dayOfMonthOrdinalParse: /\d{1,2}-(ші|шы)/,
        ordinal: function (number) {
            var a = number % 10,
                b = number >= 100 ? 100 : null;
            return number + (suffixes[number] || suffixes[a] || suffixes[b]);
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 7, // The week that contains Jan 7th is the first week of the year.
        },
    });

    return kk;

})));


/***/ }),

/***/ 18758:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Cambodian [km]
//! author : Kruy Vanna : https://github.com/kruyvanna

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var symbolMap = {
            1: '១',
            2: '២',
            3: '៣',
            4: '៤',
            5: '៥',
            6: '៦',
            7: '៧',
            8: '៨',
            9: '៩',
            0: '០',
        },
        numberMap = {
            '១': '1',
            '២': '2',
            '៣': '3',
            '៤': '4',
            '៥': '5',
            '៦': '6',
            '៧': '7',
            '៨': '8',
            '៩': '9',
            '០': '0',
        };

    var km = moment.defineLocale('km', {
        months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split(
            '_'
        ),
        monthsShort:
            'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split(
                '_'
            ),
        weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),
        weekdaysShort: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'),
        weekdaysMin: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd, D MMMM YYYY HH:mm',
        },
        meridiemParse: /ព្រឹក|ល្ងាច/,
        isPM: function (input) {
            return input === 'ល្ងាច';
        },
        meridiem: function (hour, minute, isLower) {
            if (hour < 12) {
                return 'ព្រឹក';
            } else {
                return 'ល្ងាច';
            }
        },
        calendar: {
            sameDay: '[ថ្ងៃនេះ ម៉ោង] LT',
            nextDay: '[ស្អែក ម៉ោង] LT',
            nextWeek: 'dddd [ម៉ោង] LT',
            lastDay: '[ម្សិលមិញ ម៉ោង] LT',
            lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: '%sទៀត',
            past: '%sមុន',
            s: 'ប៉ុន្មានវិនាទី',
            ss: '%d វិនាទី',
            m: 'មួយនាទី',
            mm: '%d នាទី',
            h: 'មួយម៉ោង',
            hh: '%d ម៉ោង',
            d: 'មួយថ្ងៃ',
            dd: '%d ថ្ងៃ',
            M: 'មួយខែ',
            MM: '%d ខែ',
            y: 'មួយឆ្នាំ',
            yy: '%d ឆ្នាំ',
        },
        dayOfMonthOrdinalParse: /ទី\d{1,2}/,
        ordinal: 'ទី%d',
        preparse: function (string) {
            return string.replace(/[១២៣៤៥៦៧៨៩០]/g, function (match) {
                return numberMap[match];
            });
        },
        postformat: function (string) {
            return string.replace(/\d/g, function (match) {
                return symbolMap[match];
            });
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return km;

})));


/***/ }),

/***/ 79282:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Kannada [kn]
//! author : Rajeev Naik : https://github.com/rajeevnaikte

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var symbolMap = {
            1: '೧',
            2: '೨',
            3: '೩',
            4: '೪',
            5: '೫',
            6: '೬',
            7: '೭',
            8: '೮',
            9: '೯',
            0: '೦',
        },
        numberMap = {
            '೧': '1',
            '೨': '2',
            '೩': '3',
            '೪': '4',
            '೫': '5',
            '೬': '6',
            '೭': '7',
            '೮': '8',
            '೯': '9',
            '೦': '0',
        };

    var kn = moment.defineLocale('kn', {
        months: 'ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್'.split(
            '_'
        ),
        monthsShort:
            'ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ'.split(
                '_'
            ),
        monthsParseExact: true,
        weekdays: 'ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ'.split(
            '_'
        ),
        weekdaysShort: 'ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ'.split('_'),
        weekdaysMin: 'ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ'.split('_'),
        longDateFormat: {
            LT: 'A h:mm',
            LTS: 'A h:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY, A h:mm',
            LLLL: 'dddd, D MMMM YYYY, A h:mm',
        },
        calendar: {
            sameDay: '[ಇಂದು] LT',
            nextDay: '[ನಾಳೆ] LT',
            nextWeek: 'dddd, LT',
            lastDay: '[ನಿನ್ನೆ] LT',
            lastWeek: '[ಕೊನೆಯ] dddd, LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: '%s ನಂತರ',
            past: '%s ಹಿಂದೆ',
            s: 'ಕೆಲವು ಕ್ಷಣಗಳು',
            ss: '%d ಸೆಕೆಂಡುಗಳು',
            m: 'ಒಂದು ನಿಮಿಷ',
            mm: '%d ನಿಮಿಷ',
            h: 'ಒಂದು ಗಂಟೆ',
            hh: '%d ಗಂಟೆ',
            d: 'ಒಂದು ದಿನ',
            dd: '%d ದಿನ',
            M: 'ಒಂದು ತಿಂಗಳು',
            MM: '%d ತಿಂಗಳು',
            y: 'ಒಂದು ವರ್ಷ',
            yy: '%d ವರ್ಷ',
        },
        preparse: function (string) {
            return string.replace(/[೧೨೩೪೫೬೭೮೯೦]/g, function (match) {
                return numberMap[match];
            });
        },
        postformat: function (string) {
            return string.replace(/\d/g, function (match) {
                return symbolMap[match];
            });
        },
        meridiemParse: /ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,
        meridiemHour: function (hour, meridiem) {
            if (hour === 12) {
                hour = 0;
            }
            if (meridiem === 'ರಾತ್ರಿ') {
                return hour < 4 ? hour : hour + 12;
            } else if (meridiem === 'ಬೆಳಿಗ್ಗೆ') {
                return hour;
            } else if (meridiem === 'ಮಧ್ಯಾಹ್ನ') {
                return hour >= 10 ? hour : hour + 12;
            } else if (meridiem === 'ಸಂಜೆ') {
                return hour + 12;
            }
        },
        meridiem: function (hour, minute, isLower) {
            if (hour < 4) {
                return 'ರಾತ್ರಿ';
            } else if (hour < 10) {
                return 'ಬೆಳಿಗ್ಗೆ';
            } else if (hour < 17) {
                return 'ಮಧ್ಯಾಹ್ನ';
            } else if (hour < 20) {
                return 'ಸಂಜೆ';
            } else {
                return 'ರಾತ್ರಿ';
            }
        },
        dayOfMonthOrdinalParse: /\d{1,2}(ನೇ)/,
        ordinal: function (number) {
            return number + 'ನೇ';
        },
        week: {
            dow: 0, // Sunday is the first day of the week.
            doy: 6, // The week that contains Jan 6th is the first week of the year.
        },
    });

    return kn;

})));


/***/ }),

/***/ 33730:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Korean [ko]
//! author : Kyungwook, Park : https://github.com/kyungw00k
//! author : Jeeeyul Lee <jeeeyul@gmail.com>

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var ko = moment.defineLocale('ko', {
        months: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
        monthsShort: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split(
            '_'
        ),
        weekdays: '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'),
        weekdaysShort: '일_월_화_수_목_금_토'.split('_'),
        weekdaysMin: '일_월_화_수_목_금_토'.split('_'),
        longDateFormat: {
            LT: 'A h:mm',
            LTS: 'A h:mm:ss',
            L: 'YYYY.MM.DD.',
            LL: 'YYYY년 MMMM D일',
            LLL: 'YYYY년 MMMM D일 A h:mm',
            LLLL: 'YYYY년 MMMM D일 dddd A h:mm',
            l: 'YYYY.MM.DD.',
            ll: 'YYYY년 MMMM D일',
            lll: 'YYYY년 MMMM D일 A h:mm',
            llll: 'YYYY년 MMMM D일 dddd A h:mm',
        },
        calendar: {
            sameDay: '오늘 LT',
            nextDay: '내일 LT',
            nextWeek: 'dddd LT',
            lastDay: '어제 LT',
            lastWeek: '지난주 dddd LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: '%s 후',
            past: '%s 전',
            s: '몇 초',
            ss: '%d초',
            m: '1분',
            mm: '%d분',
            h: '한 시간',
            hh: '%d시간',
            d: '하루',
            dd: '%d일',
            M: '한 달',
            MM: '%d달',
            y: '일 년',
            yy: '%d년',
        },
        dayOfMonthOrdinalParse: /\d{1,2}(일|월|주)/,
        ordinal: function (number, period) {
            switch (period) {
                case 'd':
                case 'D':
                case 'DDD':
                    return number + '일';
                case 'M':
                    return number + '월';
                case 'w':
                case 'W':
                    return number + '주';
                default:
                    return number;
            }
        },
        meridiemParse: /오전|오후/,
        isPM: function (token) {
            return token === '오후';
        },
        meridiem: function (hour, minute, isUpper) {
            return hour < 12 ? '오전' : '오후';
        },
    });

    return ko;

})));


/***/ }),

/***/ 1408:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Kurdish [ku]
//! author : Shahram Mebashar : https://github.com/ShahramMebashar

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var symbolMap = {
            1: '١',
            2: '٢',
            3: '٣',
            4: '٤',
            5: '٥',
            6: '٦',
            7: '٧',
            8: '٨',
            9: '٩',
            0: '٠',
        },
        numberMap = {
            '١': '1',
            '٢': '2',
            '٣': '3',
            '٤': '4',
            '٥': '5',
            '٦': '6',
            '٧': '7',
            '٨': '8',
            '٩': '9',
            '٠': '0',
        },
        months = [
            'کانونی دووەم',
            'شوبات',
            'ئازار',
            'نیسان',
            'ئایار',
            'حوزەیران',
            'تەمموز',
            'ئاب',
            'ئەیلوول',
            'تشرینی یەكەم',
            'تشرینی دووەم',
            'كانونی یەکەم',
        ];

    var ku = moment.defineLocale('ku', {
        months: months,
        monthsShort: months,
        weekdays:
            'یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌'.split(
                '_'
            ),
        weekdaysShort:
            'یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌'.split('_'),
        weekdaysMin: 'ی_د_س_چ_پ_ه_ش'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd, D MMMM YYYY HH:mm',
        },
        meridiemParse: /ئێواره‌|به‌یانی/,
        isPM: function (input) {
            return /ئێواره‌/.test(input);
        },
        meridiem: function (hour, minute, isLower) {
            if (hour < 12) {
                return 'به‌یانی';
            } else {
                return 'ئێواره‌';
            }
        },
        calendar: {
            sameDay: '[ئه‌مرۆ كاتژمێر] LT',
            nextDay: '[به‌یانی كاتژمێر] LT',
            nextWeek: 'dddd [كاتژمێر] LT',
            lastDay: '[دوێنێ كاتژمێر] LT',
            lastWeek: 'dddd [كاتژمێر] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'له‌ %s',
            past: '%s',
            s: 'چه‌ند چركه‌یه‌ك',
            ss: 'چركه‌ %d',
            m: 'یه‌ك خوله‌ك',
            mm: '%d خوله‌ك',
            h: 'یه‌ك كاتژمێر',
            hh: '%d كاتژمێر',
            d: 'یه‌ك ڕۆژ',
            dd: '%d ڕۆژ',
            M: 'یه‌ك مانگ',
            MM: '%d مانگ',
            y: 'یه‌ك ساڵ',
            yy: '%d ساڵ',
        },
        preparse: function (string) {
            return string
                .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
                    return numberMap[match];
                })
                .replace(/،/g, ',');
        },
        postformat: function (string) {
            return string
                .replace(/\d/g, function (match) {
                    return symbolMap[match];
                })
                .replace(/,/g, '،');
        },
        week: {
            dow: 6, // Saturday is the first day of the week.
            doy: 12, // The week that contains Jan 12th is the first week of the year.
        },
    });

    return ku;

})));


/***/ }),

/***/ 33291:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Kyrgyz [ky]
//! author : Chyngyz Arystan uulu : https://github.com/chyngyz

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var suffixes = {
        0: '-чү',
        1: '-чи',
        2: '-чи',
        3: '-чү',
        4: '-чү',
        5: '-чи',
        6: '-чы',
        7: '-чи',
        8: '-чи',
        9: '-чу',
        10: '-чу',
        20: '-чы',
        30: '-чу',
        40: '-чы',
        50: '-чү',
        60: '-чы',
        70: '-чи',
        80: '-чи',
        90: '-чу',
        100: '-чү',
    };

    var ky = moment.defineLocale('ky', {
        months: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split(
            '_'
        ),
        monthsShort: 'янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек'.split(
            '_'
        ),
        weekdays: 'Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби'.split(
            '_'
        ),
        weekdaysShort: 'Жек_Дүй_Шей_Шар_Бей_Жум_Ише'.split('_'),
        weekdaysMin: 'Жк_Дй_Шй_Шр_Бй_Жм_Иш'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD.MM.YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd, D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[Бүгүн саат] LT',
            nextDay: '[Эртең саат] LT',
            nextWeek: 'dddd [саат] LT',
            lastDay: '[Кечээ саат] LT',
            lastWeek: '[Өткөн аптанын] dddd [күнү] [саат] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: '%s ичинде',
            past: '%s мурун',
            s: 'бирнече секунд',
            ss: '%d секунд',
            m: 'бир мүнөт',
            mm: '%d мүнөт',
            h: 'бир саат',
            hh: '%d саат',
            d: 'бир күн',
            dd: '%d күн',
            M: 'бир ай',
            MM: '%d ай',
            y: 'бир жыл',
            yy: '%d жыл',
        },
        dayOfMonthOrdinalParse: /\d{1,2}-(чи|чы|чү|чу)/,
        ordinal: function (number) {
            var a = number % 10,
                b = number >= 100 ? 100 : null;
            return number + (suffixes[number] || suffixes[a] || suffixes[b]);
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 7, // The week that contains Jan 7th is the first week of the year.
        },
    });

    return ky;

})));


/***/ }),

/***/ 36841:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Luxembourgish [lb]
//! author : mweimerskirch : https://github.com/mweimerskirch
//! author : David Raison : https://github.com/kwisatz

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    function processRelativeTime(number, withoutSuffix, key, isFuture) {
        var format = {
            m: ['eng Minutt', 'enger Minutt'],
            h: ['eng Stonn', 'enger Stonn'],
            d: ['een Dag', 'engem Dag'],
            M: ['ee Mount', 'engem Mount'],
            y: ['ee Joer', 'engem Joer'],
        };
        return withoutSuffix ? format[key][0] : format[key][1];
    }
    function processFutureTime(string) {
        var number = string.substr(0, string.indexOf(' '));
        if (eifelerRegelAppliesToNumber(number)) {
            return 'a ' + string;
        }
        return 'an ' + string;
    }
    function processPastTime(string) {
        var number = string.substr(0, string.indexOf(' '));
        if (eifelerRegelAppliesToNumber(number)) {
            return 'viru ' + string;
        }
        return 'virun ' + string;
    }
    /**
     * Returns true if the word before the given number loses the '-n' ending.
     * e.g. 'an 10 Deeg' but 'a 5 Deeg'
     *
     * @param number {integer}
     * @returns {boolean}
     */
    function eifelerRegelAppliesToNumber(number) {
        number = parseInt(number, 10);
        if (isNaN(number)) {
            return false;
        }
        if (number < 0) {
            // Negative Number --> always true
            return true;
        } else if (number < 10) {
            // Only 1 digit
            if (4 <= number && number <= 7) {
                return true;
            }
            return false;
        } else if (number < 100) {
            // 2 digits
            var lastDigit = number % 10,
                firstDigit = number / 10;
            if (lastDigit === 0) {
                return eifelerRegelAppliesToNumber(firstDigit);
            }
            return eifelerRegelAppliesToNumber(lastDigit);
        } else if (number < 10000) {
            // 3 or 4 digits --> recursively check first digit
            while (number >= 10) {
                number = number / 10;
            }
            return eifelerRegelAppliesToNumber(number);
        } else {
            // Anything larger than 4 digits: recursively check first n-3 digits
            number = number / 1000;
            return eifelerRegelAppliesToNumber(number);
        }
    }

    var lb = moment.defineLocale('lb', {
        months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split(
            '_'
        ),
        monthsShort:
            'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split(
                '_'
            ),
        monthsParseExact: true,
        weekdays:
            'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split(
                '_'
            ),
        weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'),
        weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'H:mm [Auer]',
            LTS: 'H:mm:ss [Auer]',
            L: 'DD.MM.YYYY',
            LL: 'D. MMMM YYYY',
            LLL: 'D. MMMM YYYY H:mm [Auer]',
            LLLL: 'dddd, D. MMMM YYYY H:mm [Auer]',
        },
        calendar: {
            sameDay: '[Haut um] LT',
            sameElse: 'L',
            nextDay: '[Muer um] LT',
            nextWeek: 'dddd [um] LT',
            lastDay: '[Gëschter um] LT',
            lastWeek: function () {
                // Different date string for 'Dënschdeg' (Tuesday) and 'Donneschdeg' (Thursday) due to phonological rule
                switch (this.day()) {
                    case 2:
                    case 4:
                        return '[Leschten] dddd [um] LT';
                    default:
                        return '[Leschte] dddd [um] LT';
                }
            },
        },
        relativeTime: {
            future: processFutureTime,
            past: processPastTime,
            s: 'e puer Sekonnen',
            ss: '%d Sekonnen',
            m: processRelativeTime,
            mm: '%d Minutten',
            h: processRelativeTime,
            hh: '%d Stonnen',
            d: processRelativeTime,
            dd: '%d Deeg',
            M: processRelativeTime,
            MM: '%d Méint',
            y: processRelativeTime,
            yy: '%d Joer',
        },
        dayOfMonthOrdinalParse: /\d{1,2}\./,
        ordinal: '%d.',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return lb;

})));


/***/ }),

/***/ 55466:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Lao [lo]
//! author : Ryan Hart : https://github.com/ryanhart2

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var lo = moment.defineLocale('lo', {
        months: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split(
            '_'
        ),
        monthsShort:
            'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split(
                '_'
            ),
        weekdays: 'ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),
        weekdaysShort: 'ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),
        weekdaysMin: 'ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'ວັນdddd D MMMM YYYY HH:mm',
        },
        meridiemParse: /ຕອນເຊົ້າ|ຕອນແລງ/,
        isPM: function (input) {
            return input === 'ຕອນແລງ';
        },
        meridiem: function (hour, minute, isLower) {
            if (hour < 12) {
                return 'ຕອນເຊົ້າ';
            } else {
                return 'ຕອນແລງ';
            }
        },
        calendar: {
            sameDay: '[ມື້ນີ້ເວລາ] LT',
            nextDay: '[ມື້ອື່ນເວລາ] LT',
            nextWeek: '[ວັນ]dddd[ໜ້າເວລາ] LT',
            lastDay: '[ມື້ວານນີ້ເວລາ] LT',
            lastWeek: '[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'ອີກ %s',
            past: '%sຜ່ານມາ',
            s: 'ບໍ່ເທົ່າໃດວິນາທີ',
            ss: '%d ວິນາທີ',
            m: '1 ນາທີ',
            mm: '%d ນາທີ',
            h: '1 ຊົ່ວໂມງ',
            hh: '%d ຊົ່ວໂມງ',
            d: '1 ມື້',
            dd: '%d ມື້',
            M: '1 ເດືອນ',
            MM: '%d ເດືອນ',
            y: '1 ປີ',
            yy: '%d ປີ',
        },
        dayOfMonthOrdinalParse: /(ທີ່)\d{1,2}/,
        ordinal: function (number) {
            return 'ທີ່' + number;
        },
    });

    return lo;

})));


/***/ }),

/***/ 57010:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Lithuanian [lt]
//! author : Mindaugas Mozūras : https://github.com/mmozuras

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var units = {
        ss: 'sekundė_sekundžių_sekundes',
        m: 'minutė_minutės_minutę',
        mm: 'minutės_minučių_minutes',
        h: 'valanda_valandos_valandą',
        hh: 'valandos_valandų_valandas',
        d: 'diena_dienos_dieną',
        dd: 'dienos_dienų_dienas',
        M: 'mėnuo_mėnesio_mėnesį',
        MM: 'mėnesiai_mėnesių_mėnesius',
        y: 'metai_metų_metus',
        yy: 'metai_metų_metus',
    };
    function translateSeconds(number, withoutSuffix, key, isFuture) {
        if (withoutSuffix) {
            return 'kelios sekundės';
        } else {
            return isFuture ? 'kelių sekundžių' : 'kelias sekundes';
        }
    }
    function translateSingular(number, withoutSuffix, key, isFuture) {
        return withoutSuffix
            ? forms(key)[0]
            : isFuture
            ? forms(key)[1]
            : forms(key)[2];
    }
    function special(number) {
        return number % 10 === 0 || (number > 10 && number < 20);
    }
    function forms(key) {
        return units[key].split('_');
    }
    function translate(number, withoutSuffix, key, isFuture) {
        var result = number + ' ';
        if (number === 1) {
            return (
                result + translateSingular(number, withoutSuffix, key[0], isFuture)
            );
        } else if (withoutSuffix) {
            return result + (special(number) ? forms(key)[1] : forms(key)[0]);
        } else {
            if (isFuture) {
                return result + forms(key)[1];
            } else {
                return result + (special(number) ? forms(key)[1] : forms(key)[2]);
            }
        }
    }
    var lt = moment.defineLocale('lt', {
        months: {
            format: 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split(
                '_'
            ),
            standalone:
                'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split(
                    '_'
                ),
            isFormat: /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/,
        },
        monthsShort: 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'),
        weekdays: {
            format: 'sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį'.split(
                '_'
            ),
            standalone:
                'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split(
                    '_'
                ),
            isFormat: /dddd HH:mm/,
        },
        weekdaysShort: 'Sek_Pir_Ant_Tre_Ket_Pen_Šeš'.split('_'),
        weekdaysMin: 'S_P_A_T_K_Pn_Š'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'YYYY-MM-DD',
            LL: 'YYYY [m.] MMMM D [d.]',
            LLL: 'YYYY [m.] MMMM D [d.], HH:mm [val.]',
            LLLL: 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]',
            l: 'YYYY-MM-DD',
            ll: 'YYYY [m.] MMMM D [d.]',
            lll: 'YYYY [m.] MMMM D [d.], HH:mm [val.]',
            llll: 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]',
        },
        calendar: {
            sameDay: '[Šiandien] LT',
            nextDay: '[Rytoj] LT',
            nextWeek: 'dddd LT',
            lastDay: '[Vakar] LT',
            lastWeek: '[Praėjusį] dddd LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'po %s',
            past: 'prieš %s',
            s: translateSeconds,
            ss: translate,
            m: translateSingular,
            mm: translate,
            h: translateSingular,
            hh: translate,
            d: translateSingular,
            dd: translate,
            M: translateSingular,
            MM: translate,
            y: translateSingular,
            yy: translate,
        },
        dayOfMonthOrdinalParse: /\d{1,2}-oji/,
        ordinal: function (number) {
            return number + '-oji';
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return lt;

})));


/***/ }),

/***/ 37595:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Latvian [lv]
//! author : Kristaps Karlsons : https://github.com/skakri
//! author : Jānis Elmeris : https://github.com/JanisE

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var units = {
        ss: 'sekundes_sekundēm_sekunde_sekundes'.split('_'),
        m: 'minūtes_minūtēm_minūte_minūtes'.split('_'),
        mm: 'minūtes_minūtēm_minūte_minūtes'.split('_'),
        h: 'stundas_stundām_stunda_stundas'.split('_'),
        hh: 'stundas_stundām_stunda_stundas'.split('_'),
        d: 'dienas_dienām_diena_dienas'.split('_'),
        dd: 'dienas_dienām_diena_dienas'.split('_'),
        M: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'),
        MM: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'),
        y: 'gada_gadiem_gads_gadi'.split('_'),
        yy: 'gada_gadiem_gads_gadi'.split('_'),
    };
    /**
     * @param withoutSuffix boolean true = a length of time; false = before/after a period of time.
     */
    function format(forms, number, withoutSuffix) {
        if (withoutSuffix) {
            // E.g. "21 minūte", "3 minūtes".
            return number % 10 === 1 && number % 100 !== 11 ? forms[2] : forms[3];
        } else {
            // E.g. "21 minūtes" as in "pēc 21 minūtes".
            // E.g. "3 minūtēm" as in "pēc 3 minūtēm".
            return number % 10 === 1 && number % 100 !== 11 ? forms[0] : forms[1];
        }
    }
    function relativeTimeWithPlural(number, withoutSuffix, key) {
        return number + ' ' + format(units[key], number, withoutSuffix);
    }
    function relativeTimeWithSingular(number, withoutSuffix, key) {
        return format(units[key], number, withoutSuffix);
    }
    function relativeSeconds(number, withoutSuffix) {
        return withoutSuffix ? 'dažas sekundes' : 'dažām sekundēm';
    }

    var lv = moment.defineLocale('lv', {
        months: 'janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris'.split(
            '_'
        ),
        monthsShort: 'jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec'.split('_'),
        weekdays:
            'svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena'.split(
                '_'
            ),
        weekdaysShort: 'Sv_P_O_T_C_Pk_S'.split('_'),
        weekdaysMin: 'Sv_P_O_T_C_Pk_S'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD.MM.YYYY.',
            LL: 'YYYY. [gada] D. MMMM',
            LLL: 'YYYY. [gada] D. MMMM, HH:mm',
            LLLL: 'YYYY. [gada] D. MMMM, dddd, HH:mm',
        },
        calendar: {
            sameDay: '[Šodien pulksten] LT',
            nextDay: '[Rīt pulksten] LT',
            nextWeek: 'dddd [pulksten] LT',
            lastDay: '[Vakar pulksten] LT',
            lastWeek: '[Pagājušā] dddd [pulksten] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'pēc %s',
            past: 'pirms %s',
            s: relativeSeconds,
            ss: relativeTimeWithPlural,
            m: relativeTimeWithSingular,
            mm: relativeTimeWithPlural,
            h: relativeTimeWithSingular,
            hh: relativeTimeWithPlural,
            d: relativeTimeWithSingular,
            dd: relativeTimeWithPlural,
            M: relativeTimeWithSingular,
            MM: relativeTimeWithPlural,
            y: relativeTimeWithSingular,
            yy: relativeTimeWithPlural,
        },
        dayOfMonthOrdinalParse: /\d{1,2}\./,
        ordinal: '%d.',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return lv;

})));


/***/ }),

/***/ 39861:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Montenegrin [me]
//! author : Miodrag Nikač <miodrag@restartit.me> : https://github.com/miodragnikac

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var translator = {
        words: {
            //Different grammatical cases
            ss: ['sekund', 'sekunda', 'sekundi'],
            m: ['jedan minut', 'jednog minuta'],
            mm: ['minut', 'minuta', 'minuta'],
            h: ['jedan sat', 'jednog sata'],
            hh: ['sat', 'sata', 'sati'],
            dd: ['dan', 'dana', 'dana'],
            MM: ['mjesec', 'mjeseca', 'mjeseci'],
            yy: ['godina', 'godine', 'godina'],
        },
        correctGrammaticalCase: function (number, wordKey) {
            return number === 1
                ? wordKey[0]
                : number >= 2 && number <= 4
                ? wordKey[1]
                : wordKey[2];
        },
        translate: function (number, withoutSuffix, key) {
            var wordKey = translator.words[key];
            if (key.length === 1) {
                return withoutSuffix ? wordKey[0] : wordKey[1];
            } else {
                return (
                    number +
                    ' ' +
                    translator.correctGrammaticalCase(number, wordKey)
                );
            }
        },
    };

    var me = moment.defineLocale('me', {
        months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split(
            '_'
        ),
        monthsShort:
            'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'),
        monthsParseExact: true,
        weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split(
            '_'
        ),
        weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
        weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'H:mm',
            LTS: 'H:mm:ss',
            L: 'DD.MM.YYYY',
            LL: 'D. MMMM YYYY',
            LLL: 'D. MMMM YYYY H:mm',
            LLLL: 'dddd, D. MMMM YYYY H:mm',
        },
        calendar: {
            sameDay: '[danas u] LT',
            nextDay: '[sjutra u] LT',

            nextWeek: function () {
                switch (this.day()) {
                    case 0:
                        return '[u] [nedjelju] [u] LT';
                    case 3:
                        return '[u] [srijedu] [u] LT';
                    case 6:
                        return '[u] [subotu] [u] LT';
                    case 1:
                    case 2:
                    case 4:
                    case 5:
                        return '[u] dddd [u] LT';
                }
            },
            lastDay: '[juče u] LT',
            lastWeek: function () {
                var lastWeekDays = [
                    '[prošle] [nedjelje] [u] LT',
                    '[prošlog] [ponedjeljka] [u] LT',
                    '[prošlog] [utorka] [u] LT',
                    '[prošle] [srijede] [u] LT',
                    '[prošlog] [četvrtka] [u] LT',
                    '[prošlog] [petka] [u] LT',
                    '[prošle] [subote] [u] LT',
                ];
                return lastWeekDays[this.day()];
            },
            sameElse: 'L',
        },
        relativeTime: {
            future: 'za %s',
            past: 'prije %s',
            s: 'nekoliko sekundi',
            ss: translator.translate,
            m: translator.translate,
            mm: translator.translate,
            h: translator.translate,
            hh: translator.translate,
            d: 'dan',
            dd: translator.translate,
            M: 'mjesec',
            MM: translator.translate,
            y: 'godinu',
            yy: translator.translate,
        },
        dayOfMonthOrdinalParse: /\d{1,2}\./,
        ordinal: '%d.',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 7, // The week that contains Jan 7th is the first week of the year.
        },
    });

    return me;

})));


/***/ }),

/***/ 35493:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Maori [mi]
//! author : John Corrigan <robbiecloset@gmail.com> : https://github.com/johnideal

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var mi = moment.defineLocale('mi', {
        months: 'Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea'.split(
            '_'
        ),
        monthsShort:
            'Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split(
                '_'
            ),
        monthsRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
        monthsStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
        monthsShortRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
        monthsShortStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,
        weekdays: 'Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei'.split('_'),
        weekdaysShort: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),
        weekdaysMin: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY [i] HH:mm',
            LLLL: 'dddd, D MMMM YYYY [i] HH:mm',
        },
        calendar: {
            sameDay: '[i teie mahana, i] LT',
            nextDay: '[apopo i] LT',
            nextWeek: 'dddd [i] LT',
            lastDay: '[inanahi i] LT',
            lastWeek: 'dddd [whakamutunga i] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'i roto i %s',
            past: '%s i mua',
            s: 'te hēkona ruarua',
            ss: '%d hēkona',
            m: 'he meneti',
            mm: '%d meneti',
            h: 'te haora',
            hh: '%d haora',
            d: 'he ra',
            dd: '%d ra',
            M: 'he marama',
            MM: '%d marama',
            y: 'he tau',
            yy: '%d tau',
        },
        dayOfMonthOrdinalParse: /\d{1,2}º/,
        ordinal: '%dº',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return mi;

})));


/***/ }),

/***/ 95966:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Macedonian [mk]
//! author : Borislav Mickov : https://github.com/B0k0
//! author : Sashko Todorov : https://github.com/bkyceh

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var mk = moment.defineLocale('mk', {
        months: 'јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември'.split(
            '_'
        ),
        monthsShort: 'јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек'.split('_'),
        weekdays: 'недела_понеделник_вторник_среда_четврток_петок_сабота'.split(
            '_'
        ),
        weekdaysShort: 'нед_пон_вто_сре_чет_пет_саб'.split('_'),
        weekdaysMin: 'нe_пo_вт_ср_че_пе_сa'.split('_'),
        longDateFormat: {
            LT: 'H:mm',
            LTS: 'H:mm:ss',
            L: 'D.MM.YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY H:mm',
            LLLL: 'dddd, D MMMM YYYY H:mm',
        },
        calendar: {
            sameDay: '[Денес во] LT',
            nextDay: '[Утре во] LT',
            nextWeek: '[Во] dddd [во] LT',
            lastDay: '[Вчера во] LT',
            lastWeek: function () {
                switch (this.day()) {
                    case 0:
                    case 3:
                    case 6:
                        return '[Изминатата] dddd [во] LT';
                    case 1:
                    case 2:
                    case 4:
                    case 5:
                        return '[Изминатиот] dddd [во] LT';
                }
            },
            sameElse: 'L',
        },
        relativeTime: {
            future: 'за %s',
            past: 'пред %s',
            s: 'неколку секунди',
            ss: '%d секунди',
            m: 'една минута',
            mm: '%d минути',
            h: 'еден час',
            hh: '%d часа',
            d: 'еден ден',
            dd: '%d дена',
            M: 'еден месец',
            MM: '%d месеци',
            y: 'една година',
            yy: '%d години',
        },
        dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
        ordinal: function (number) {
            var lastDigit = number % 10,
                last2Digits = number % 100;
            if (number === 0) {
                return number + '-ев';
            } else if (last2Digits === 0) {
                return number + '-ен';
            } else if (last2Digits > 10 && last2Digits < 20) {
                return number + '-ти';
            } else if (lastDigit === 1) {
                return number + '-ви';
            } else if (lastDigit === 2) {
                return number + '-ри';
            } else if (lastDigit === 7 || lastDigit === 8) {
                return number + '-ми';
            } else {
                return number + '-ти';
            }
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 7, // The week that contains Jan 7th is the first week of the year.
        },
    });

    return mk;

})));


/***/ }),

/***/ 87341:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Malayalam [ml]
//! author : Floyd Pink : https://github.com/floydpink

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var ml = moment.defineLocale('ml', {
        months: 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split(
            '_'
        ),
        monthsShort:
            'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split(
                '_'
            ),
        monthsParseExact: true,
        weekdays:
            'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split(
                '_'
            ),
        weekdaysShort: 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split('_'),
        weekdaysMin: 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split('_'),
        longDateFormat: {
            LT: 'A h:mm -നു',
            LTS: 'A h:mm:ss -നു',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY, A h:mm -നു',
            LLLL: 'dddd, D MMMM YYYY, A h:mm -നു',
        },
        calendar: {
            sameDay: '[ഇന്ന്] LT',
            nextDay: '[നാളെ] LT',
            nextWeek: 'dddd, LT',
            lastDay: '[ഇന്നലെ] LT',
            lastWeek: '[കഴിഞ്ഞ] dddd, LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: '%s കഴിഞ്ഞ്',
            past: '%s മുൻപ്',
            s: 'അൽപ നിമിഷങ്ങൾ',
            ss: '%d സെക്കൻഡ്',
            m: 'ഒരു മിനിറ്റ്',
            mm: '%d മിനിറ്റ്',
            h: 'ഒരു മണിക്കൂർ',
            hh: '%d മണിക്കൂർ',
            d: 'ഒരു ദിവസം',
            dd: '%d ദിവസം',
            M: 'ഒരു മാസം',
            MM: '%d മാസം',
            y: 'ഒരു വർഷം',
            yy: '%d വർഷം',
        },
        meridiemParse: /രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,
        meridiemHour: function (hour, meridiem) {
            if (hour === 12) {
                hour = 0;
            }
            if (
                (meridiem === 'രാത്രി' && hour >= 4) ||
                meridiem === 'ഉച്ച കഴിഞ്ഞ്' ||
                meridiem === 'വൈകുന്നേരം'
            ) {
                return hour + 12;
            } else {
                return hour;
            }
        },
        meridiem: function (hour, minute, isLower) {
            if (hour < 4) {
                return 'രാത്രി';
            } else if (hour < 12) {
                return 'രാവിലെ';
            } else if (hour < 17) {
                return 'ഉച്ച കഴിഞ്ഞ്';
            } else if (hour < 20) {
                return 'വൈകുന്നേരം';
            } else {
                return 'രാത്രി';
            }
        },
    });

    return ml;

})));


/***/ }),

/***/ 5115:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Mongolian [mn]
//! author : Javkhlantugs Nyamdorj : https://github.com/javkhaanj7

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    function translate(number, withoutSuffix, key, isFuture) {
        switch (key) {
            case 's':
                return withoutSuffix ? 'хэдхэн секунд' : 'хэдхэн секундын';
            case 'ss':
                return number + (withoutSuffix ? ' секунд' : ' секундын');
            case 'm':
            case 'mm':
                return number + (withoutSuffix ? ' минут' : ' минутын');
            case 'h':
            case 'hh':
                return number + (withoutSuffix ? ' цаг' : ' цагийн');
            case 'd':
            case 'dd':
                return number + (withoutSuffix ? ' өдөр' : ' өдрийн');
            case 'M':
            case 'MM':
                return number + (withoutSuffix ? ' сар' : ' сарын');
            case 'y':
            case 'yy':
                return number + (withoutSuffix ? ' жил' : ' жилийн');
            default:
                return number;
        }
    }

    var mn = moment.defineLocale('mn', {
        months: 'Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар'.split(
            '_'
        ),
        monthsShort:
            '1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар'.split(
                '_'
            ),
        monthsParseExact: true,
        weekdays: 'Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба'.split('_'),
        weekdaysShort: 'Ням_Дав_Мяг_Лха_Пүр_Баа_Бям'.split('_'),
        weekdaysMin: 'Ня_Да_Мя_Лх_Пү_Ба_Бя'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'YYYY-MM-DD',
            LL: 'YYYY оны MMMMын D',
            LLL: 'YYYY оны MMMMын D HH:mm',
            LLLL: 'dddd, YYYY оны MMMMын D HH:mm',
        },
        meridiemParse: /ҮӨ|ҮХ/i,
        isPM: function (input) {
            return input === 'ҮХ';
        },
        meridiem: function (hour, minute, isLower) {
            if (hour < 12) {
                return 'ҮӨ';
            } else {
                return 'ҮХ';
            }
        },
        calendar: {
            sameDay: '[Өнөөдөр] LT',
            nextDay: '[Маргааш] LT',
            nextWeek: '[Ирэх] dddd LT',
            lastDay: '[Өчигдөр] LT',
            lastWeek: '[Өнгөрсөн] dddd LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: '%s дараа',
            past: '%s өмнө',
            s: translate,
            ss: translate,
            m: translate,
            mm: translate,
            h: translate,
            hh: translate,
            d: translate,
            dd: translate,
            M: translate,
            MM: translate,
            y: translate,
            yy: translate,
        },
        dayOfMonthOrdinalParse: /\d{1,2} өдөр/,
        ordinal: function (number, period) {
            switch (period) {
                case 'd':
                case 'D':
                case 'DDD':
                    return number + ' өдөр';
                default:
                    return number;
            }
        },
    });

    return mn;

})));


/***/ }),

/***/ 10370:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Marathi [mr]
//! author : Harshad Kale : https://github.com/kalehv
//! author : Vivek Athalye : https://github.com/vnathalye

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var symbolMap = {
            1: '१',
            2: '२',
            3: '३',
            4: '४',
            5: '५',
            6: '६',
            7: '७',
            8: '८',
            9: '९',
            0: '०',
        },
        numberMap = {
            '१': '1',
            '२': '2',
            '३': '3',
            '४': '4',
            '५': '5',
            '६': '6',
            '७': '7',
            '८': '8',
            '९': '9',
            '०': '0',
        };

    function relativeTimeMr(number, withoutSuffix, string, isFuture) {
        var output = '';
        if (withoutSuffix) {
            switch (string) {
                case 's':
                    output = 'काही सेकंद';
                    break;
                case 'ss':
                    output = '%d सेकंद';
                    break;
                case 'm':
                    output = 'एक मिनिट';
                    break;
                case 'mm':
                    output = '%d मिनिटे';
                    break;
                case 'h':
                    output = 'एक तास';
                    break;
                case 'hh':
                    output = '%d तास';
                    break;
                case 'd':
                    output = 'एक दिवस';
                    break;
                case 'dd':
                    output = '%d दिवस';
                    break;
                case 'M':
                    output = 'एक महिना';
                    break;
                case 'MM':
                    output = '%d महिने';
                    break;
                case 'y':
                    output = 'एक वर्ष';
                    break;
                case 'yy':
                    output = '%d वर्षे';
                    break;
            }
        } else {
            switch (string) {
                case 's':
                    output = 'काही सेकंदां';
                    break;
                case 'ss':
                    output = '%d सेकंदां';
                    break;
                case 'm':
                    output = 'एका मिनिटा';
                    break;
                case 'mm':
                    output = '%d मिनिटां';
                    break;
                case 'h':
                    output = 'एका तासा';
                    break;
                case 'hh':
                    output = '%d तासां';
                    break;
                case 'd':
                    output = 'एका दिवसा';
                    break;
                case 'dd':
                    output = '%d दिवसां';
                    break;
                case 'M':
                    output = 'एका महिन्या';
                    break;
                case 'MM':
                    output = '%d महिन्यां';
                    break;
                case 'y':
                    output = 'एका वर्षा';
                    break;
                case 'yy':
                    output = '%d वर्षां';
                    break;
            }
        }
        return output.replace(/%d/i, number);
    }

    var mr = moment.defineLocale('mr', {
        months: 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split(
            '_'
        ),
        monthsShort:
            'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split(
                '_'
            ),
        monthsParseExact: true,
        weekdays: 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),
        weekdaysShort: 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split('_'),
        weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'),
        longDateFormat: {
            LT: 'A h:mm वाजता',
            LTS: 'A h:mm:ss वाजता',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY, A h:mm वाजता',
            LLLL: 'dddd, D MMMM YYYY, A h:mm वाजता',
        },
        calendar: {
            sameDay: '[आज] LT',
            nextDay: '[उद्या] LT',
            nextWeek: 'dddd, LT',
            lastDay: '[काल] LT',
            lastWeek: '[मागील] dddd, LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: '%sमध्ये',
            past: '%sपूर्वी',
            s: relativeTimeMr,
            ss: relativeTimeMr,
            m: relativeTimeMr,
            mm: relativeTimeMr,
            h: relativeTimeMr,
            hh: relativeTimeMr,
            d: relativeTimeMr,
            dd: relativeTimeMr,
            M: relativeTimeMr,
            MM: relativeTimeMr,
            y: relativeTimeMr,
            yy: relativeTimeMr,
        },
        preparse: function (string) {
            return string.replace(/[१२३४५६७८९०]/g, function (match) {
                return numberMap[match];
            });
        },
        postformat: function (string) {
            return string.replace(/\d/g, function (match) {
                return symbolMap[match];
            });
        },
        meridiemParse: /पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,
        meridiemHour: function (hour, meridiem) {
            if (hour === 12) {
                hour = 0;
            }
            if (meridiem === 'पहाटे' || meridiem === 'सकाळी') {
                return hour;
            } else if (
                meridiem === 'दुपारी' ||
                meridiem === 'सायंकाळी' ||
                meridiem === 'रात्री'
            ) {
                return hour >= 12 ? hour : hour + 12;
            }
        },
        meridiem: function (hour, minute, isLower) {
            if (hour >= 0 && hour < 6) {
                return 'पहाटे';
            } else if (hour < 12) {
                return 'सकाळी';
            } else if (hour < 17) {
                return 'दुपारी';
            } else if (hour < 20) {
                return 'सायंकाळी';
            } else {
                return 'रात्री';
            }
        },
        week: {
            dow: 0, // Sunday is the first day of the week.
            doy: 6, // The week that contains Jan 6th is the first week of the year.
        },
    });

    return mr;

})));


/***/ }),

/***/ 41237:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Malay [ms-my]
//! note : DEPRECATED, the correct one is [ms]
//! author : Weldan Jamili : https://github.com/weldan

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var msMy = moment.defineLocale('ms-my', {
        months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split(
            '_'
        ),
        monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
        weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
        weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
        weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),
        longDateFormat: {
            LT: 'HH.mm',
            LTS: 'HH.mm.ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY [pukul] HH.mm',
            LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',
        },
        meridiemParse: /pagi|tengahari|petang|malam/,
        meridiemHour: function (hour, meridiem) {
            if (hour === 12) {
                hour = 0;
            }
            if (meridiem === 'pagi') {
                return hour;
            } else if (meridiem === 'tengahari') {
                return hour >= 11 ? hour : hour + 12;
            } else if (meridiem === 'petang' || meridiem === 'malam') {
                return hour + 12;
            }
        },
        meridiem: function (hours, minutes, isLower) {
            if (hours < 11) {
                return 'pagi';
            } else if (hours < 15) {
                return 'tengahari';
            } else if (hours < 19) {
                return 'petang';
            } else {
                return 'malam';
            }
        },
        calendar: {
            sameDay: '[Hari ini pukul] LT',
            nextDay: '[Esok pukul] LT',
            nextWeek: 'dddd [pukul] LT',
            lastDay: '[Kelmarin pukul] LT',
            lastWeek: 'dddd [lepas pukul] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'dalam %s',
            past: '%s yang lepas',
            s: 'beberapa saat',
            ss: '%d saat',
            m: 'seminit',
            mm: '%d minit',
            h: 'sejam',
            hh: '%d jam',
            d: 'sehari',
            dd: '%d hari',
            M: 'sebulan',
            MM: '%d bulan',
            y: 'setahun',
            yy: '%d tahun',
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 7, // The week that contains Jan 7th is the first week of the year.
        },
    });

    return msMy;

})));


/***/ }),

/***/ 9847:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Malay [ms]
//! author : Weldan Jamili : https://github.com/weldan

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var ms = moment.defineLocale('ms', {
        months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split(
            '_'
        ),
        monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
        weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
        weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
        weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),
        longDateFormat: {
            LT: 'HH.mm',
            LTS: 'HH.mm.ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY [pukul] HH.mm',
            LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',
        },
        meridiemParse: /pagi|tengahari|petang|malam/,
        meridiemHour: function (hour, meridiem) {
            if (hour === 12) {
                hour = 0;
            }
            if (meridiem === 'pagi') {
                return hour;
            } else if (meridiem === 'tengahari') {
                return hour >= 11 ? hour : hour + 12;
            } else if (meridiem === 'petang' || meridiem === 'malam') {
                return hour + 12;
            }
        },
        meridiem: function (hours, minutes, isLower) {
            if (hours < 11) {
                return 'pagi';
            } else if (hours < 15) {
                return 'tengahari';
            } else if (hours < 19) {
                return 'petang';
            } else {
                return 'malam';
            }
        },
        calendar: {
            sameDay: '[Hari ini pukul] LT',
            nextDay: '[Esok pukul] LT',
            nextWeek: 'dddd [pukul] LT',
            lastDay: '[Kelmarin pukul] LT',
            lastWeek: 'dddd [lepas pukul] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'dalam %s',
            past: '%s yang lepas',
            s: 'beberapa saat',
            ss: '%d saat',
            m: 'seminit',
            mm: '%d minit',
            h: 'sejam',
            hh: '%d jam',
            d: 'sehari',
            dd: '%d hari',
            M: 'sebulan',
            MM: '%d bulan',
            y: 'setahun',
            yy: '%d tahun',
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 7, // The week that contains Jan 7th is the first week of the year.
        },
    });

    return ms;

})));


/***/ }),

/***/ 72126:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Maltese (Malta) [mt]
//! author : Alessandro Maruccia : https://github.com/alesma

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var mt = moment.defineLocale('mt', {
        months: 'Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru'.split(
            '_'
        ),
        monthsShort: 'Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ'.split('_'),
        weekdays:
            'Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt'.split(
                '_'
            ),
        weekdaysShort: 'Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib'.split('_'),
        weekdaysMin: 'Ħa_Tn_Tl_Er_Ħa_Ġi_Si'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd, D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[Illum fil-]LT',
            nextDay: '[Għada fil-]LT',
            nextWeek: 'dddd [fil-]LT',
            lastDay: '[Il-bieraħ fil-]LT',
            lastWeek: 'dddd [li għadda] [fil-]LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'f’ %s',
            past: '%s ilu',
            s: 'ftit sekondi',
            ss: '%d sekondi',
            m: 'minuta',
            mm: '%d minuti',
            h: 'siegħa',
            hh: '%d siegħat',
            d: 'ġurnata',
            dd: '%d ġranet',
            M: 'xahar',
            MM: '%d xhur',
            y: 'sena',
            yy: '%d sni',
        },
        dayOfMonthOrdinalParse: /\d{1,2}º/,
        ordinal: '%dº',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return mt;

})));


/***/ }),

/***/ 56165:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Burmese [my]
//! author : Squar team, mysquar.com
//! author : David Rossellat : https://github.com/gholadr
//! author : Tin Aung Lin : https://github.com/thanyawzinmin

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var symbolMap = {
            1: '၁',
            2: '၂',
            3: '၃',
            4: '၄',
            5: '၅',
            6: '၆',
            7: '၇',
            8: '၈',
            9: '၉',
            0: '၀',
        },
        numberMap = {
            '၁': '1',
            '၂': '2',
            '၃': '3',
            '၄': '4',
            '၅': '5',
            '၆': '6',
            '၇': '7',
            '၈': '8',
            '၉': '9',
            '၀': '0',
        };

    var my = moment.defineLocale('my', {
        months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split(
            '_'
        ),
        monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'),
        weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split(
            '_'
        ),
        weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
        weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),

        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[ယနေ.] LT [မှာ]',
            nextDay: '[မနက်ဖြန်] LT [မှာ]',
            nextWeek: 'dddd LT [မှာ]',
            lastDay: '[မနေ.က] LT [မှာ]',
            lastWeek: '[ပြီးခဲ့သော] dddd LT [မှာ]',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'လာမည့် %s မှာ',
            past: 'လွန်ခဲ့သော %s က',
            s: 'စက္ကန်.အနည်းငယ်',
            ss: '%d စက္ကန့်',
            m: 'တစ်မိနစ်',
            mm: '%d မိနစ်',
            h: 'တစ်နာရီ',
            hh: '%d နာရီ',
            d: 'တစ်ရက်',
            dd: '%d ရက်',
            M: 'တစ်လ',
            MM: '%d လ',
            y: 'တစ်နှစ်',
            yy: '%d နှစ်',
        },
        preparse: function (string) {
            return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) {
                return numberMap[match];
            });
        },
        postformat: function (string) {
            return string.replace(/\d/g, function (match) {
                return symbolMap[match];
            });
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return my;

})));


/***/ }),

/***/ 64924:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Norwegian Bokmål [nb]
//! authors : Espen Hovlandsdal : https://github.com/rexxars
//!           Sigurd Gartmann : https://github.com/sigurdga
//!           Stephen Ramthun : https://github.com/stephenramthun

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var nb = moment.defineLocale('nb', {
        months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split(
            '_'
        ),
        monthsShort:
            'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split('_'),
        monthsParseExact: true,
        weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
        weekdaysShort: 'sø._ma._ti._on._to._fr._lø.'.split('_'),
        weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD.MM.YYYY',
            LL: 'D. MMMM YYYY',
            LLL: 'D. MMMM YYYY [kl.] HH:mm',
            LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm',
        },
        calendar: {
            sameDay: '[i dag kl.] LT',
            nextDay: '[i morgen kl.] LT',
            nextWeek: 'dddd [kl.] LT',
            lastDay: '[i går kl.] LT',
            lastWeek: '[forrige] dddd [kl.] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'om %s',
            past: '%s siden',
            s: 'noen sekunder',
            ss: '%d sekunder',
            m: 'ett minutt',
            mm: '%d minutter',
            h: 'en time',
            hh: '%d timer',
            d: 'en dag',
            dd: '%d dager',
            w: 'en uke',
            ww: '%d uker',
            M: 'en måned',
            MM: '%d måneder',
            y: 'ett år',
            yy: '%d år',
        },
        dayOfMonthOrdinalParse: /\d{1,2}\./,
        ordinal: '%d.',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return nb;

})));


/***/ }),

/***/ 16744:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Nepalese [ne]
//! author : suvash : https://github.com/suvash

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var symbolMap = {
            1: '१',
            2: '२',
            3: '३',
            4: '४',
            5: '५',
            6: '६',
            7: '७',
            8: '८',
            9: '९',
            0: '०',
        },
        numberMap = {
            '१': '1',
            '२': '2',
            '३': '3',
            '४': '4',
            '५': '5',
            '६': '6',
            '७': '7',
            '८': '8',
            '९': '9',
            '०': '0',
        };

    var ne = moment.defineLocale('ne', {
        months: 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split(
            '_'
        ),
        monthsShort:
            'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split(
                '_'
            ),
        monthsParseExact: true,
        weekdays: 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split(
            '_'
        ),
        weekdaysShort: 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'),
        weekdaysMin: 'आ._सो._मं._बु._बि._शु._श.'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'Aको h:mm बजे',
            LTS: 'Aको h:mm:ss बजे',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY, Aको h:mm बजे',
            LLLL: 'dddd, D MMMM YYYY, Aको h:mm बजे',
        },
        preparse: function (string) {
            return string.replace(/[१२३४५६७८९०]/g, function (match) {
                return numberMap[match];
            });
        },
        postformat: function (string) {
            return string.replace(/\d/g, function (match) {
                return symbolMap[match];
            });
        },
        meridiemParse: /राति|बिहान|दिउँसो|साँझ/,
        meridiemHour: function (hour, meridiem) {
            if (hour === 12) {
                hour = 0;
            }
            if (meridiem === 'राति') {
                return hour < 4 ? hour : hour + 12;
            } else if (meridiem === 'बिहान') {
                return hour;
            } else if (meridiem === 'दिउँसो') {
                return hour >= 10 ? hour : hour + 12;
            } else if (meridiem === 'साँझ') {
                return hour + 12;
            }
        },
        meridiem: function (hour, minute, isLower) {
            if (hour < 3) {
                return 'राति';
            } else if (hour < 12) {
                return 'बिहान';
            } else if (hour < 16) {
                return 'दिउँसो';
            } else if (hour < 20) {
                return 'साँझ';
            } else {
                return 'राति';
            }
        },
        calendar: {
            sameDay: '[आज] LT',
            nextDay: '[भोलि] LT',
            nextWeek: '[आउँदो] dddd[,] LT',
            lastDay: '[हिजो] LT',
            lastWeek: '[गएको] dddd[,] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: '%sमा',
            past: '%s अगाडि',
            s: 'केही क्षण',
            ss: '%d सेकेण्ड',
            m: 'एक मिनेट',
            mm: '%d मिनेट',
            h: 'एक घण्टा',
            hh: '%d घण्टा',
            d: 'एक दिन',
            dd: '%d दिन',
            M: 'एक महिना',
            MM: '%d महिना',
            y: 'एक बर्ष',
            yy: '%d बर्ष',
        },
        week: {
            dow: 0, // Sunday is the first day of the week.
            doy: 6, // The week that contains Jan 6th is the first week of the year.
        },
    });

    return ne;

})));


/***/ }),

/***/ 59814:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Dutch (Belgium) [nl-be]
//! author : Joris Röling : https://github.com/jorisroling
//! author : Jacob Middag : https://github.com/middagj

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var monthsShortWithDots =
            'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),
        monthsShortWithoutDots =
            'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'),
        monthsParse = [
            /^jan/i,
            /^feb/i,
            /^maart|mrt.?$/i,
            /^apr/i,
            /^mei$/i,
            /^jun[i.]?$/i,
            /^jul[i.]?$/i,
            /^aug/i,
            /^sep/i,
            /^okt/i,
            /^nov/i,
            /^dec/i,
        ],
        monthsRegex =
            /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;

    var nlBe = moment.defineLocale('nl-be', {
        months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split(
            '_'
        ),
        monthsShort: function (m, format) {
            if (!m) {
                return monthsShortWithDots;
            } else if (/-MMM-/.test(format)) {
                return monthsShortWithoutDots[m.month()];
            } else {
                return monthsShortWithDots[m.month()];
            }
        },

        monthsRegex: monthsRegex,
        monthsShortRegex: monthsRegex,
        monthsStrictRegex:
            /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,
        monthsShortStrictRegex:
            /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,

        monthsParse: monthsParse,
        longMonthsParse: monthsParse,
        shortMonthsParse: monthsParse,

        weekdays:
            'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
        weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'),
        weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[vandaag om] LT',
            nextDay: '[morgen om] LT',
            nextWeek: 'dddd [om] LT',
            lastDay: '[gisteren om] LT',
            lastWeek: '[afgelopen] dddd [om] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'over %s',
            past: '%s geleden',
            s: 'een paar seconden',
            ss: '%d seconden',
            m: 'één minuut',
            mm: '%d minuten',
            h: 'één uur',
            hh: '%d uur',
            d: 'één dag',
            dd: '%d dagen',
            M: 'één maand',
            MM: '%d maanden',
            y: 'één jaar',
            yy: '%d jaar',
        },
        dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
        ordinal: function (number) {
            return (
                number +
                (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')
            );
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return nlBe;

})));


/***/ }),

/***/ 93901:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Dutch [nl]
//! author : Joris Röling : https://github.com/jorisroling
//! author : Jacob Middag : https://github.com/middagj

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var monthsShortWithDots =
            'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),
        monthsShortWithoutDots =
            'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'),
        monthsParse = [
            /^jan/i,
            /^feb/i,
            /^maart|mrt.?$/i,
            /^apr/i,
            /^mei$/i,
            /^jun[i.]?$/i,
            /^jul[i.]?$/i,
            /^aug/i,
            /^sep/i,
            /^okt/i,
            /^nov/i,
            /^dec/i,
        ],
        monthsRegex =
            /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;

    var nl = moment.defineLocale('nl', {
        months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split(
            '_'
        ),
        monthsShort: function (m, format) {
            if (!m) {
                return monthsShortWithDots;
            } else if (/-MMM-/.test(format)) {
                return monthsShortWithoutDots[m.month()];
            } else {
                return monthsShortWithDots[m.month()];
            }
        },

        monthsRegex: monthsRegex,
        monthsShortRegex: monthsRegex,
        monthsStrictRegex:
            /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,
        monthsShortStrictRegex:
            /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,

        monthsParse: monthsParse,
        longMonthsParse: monthsParse,
        shortMonthsParse: monthsParse,

        weekdays:
            'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
        weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'),
        weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD-MM-YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[vandaag om] LT',
            nextDay: '[morgen om] LT',
            nextWeek: 'dddd [om] LT',
            lastDay: '[gisteren om] LT',
            lastWeek: '[afgelopen] dddd [om] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'over %s',
            past: '%s geleden',
            s: 'een paar seconden',
            ss: '%d seconden',
            m: 'één minuut',
            mm: '%d minuten',
            h: 'één uur',
            hh: '%d uur',
            d: 'één dag',
            dd: '%d dagen',
            w: 'één week',
            ww: '%d weken',
            M: 'één maand',
            MM: '%d maanden',
            y: 'één jaar',
            yy: '%d jaar',
        },
        dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
        ordinal: function (number) {
            return (
                number +
                (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')
            );
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return nl;

})));


/***/ }),

/***/ 83877:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Nynorsk [nn]
//! authors : https://github.com/mechuwind
//!           Stephen Ramthun : https://github.com/stephenramthun

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var nn = moment.defineLocale('nn', {
        months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split(
            '_'
        ),
        monthsShort:
            'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split('_'),
        monthsParseExact: true,
        weekdays: 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'),
        weekdaysShort: 'su._må._ty._on._to._fr._lau.'.split('_'),
        weekdaysMin: 'su_må_ty_on_to_fr_la'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD.MM.YYYY',
            LL: 'D. MMMM YYYY',
            LLL: 'D. MMMM YYYY [kl.] H:mm',
            LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm',
        },
        calendar: {
            sameDay: '[I dag klokka] LT',
            nextDay: '[I morgon klokka] LT',
            nextWeek: 'dddd [klokka] LT',
            lastDay: '[I går klokka] LT',
            lastWeek: '[Føregåande] dddd [klokka] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'om %s',
            past: '%s sidan',
            s: 'nokre sekund',
            ss: '%d sekund',
            m: 'eit minutt',
            mm: '%d minutt',
            h: 'ein time',
            hh: '%d timar',
            d: 'ein dag',
            dd: '%d dagar',
            w: 'ei veke',
            ww: '%d veker',
            M: 'ein månad',
            MM: '%d månader',
            y: 'eit år',
            yy: '%d år',
        },
        dayOfMonthOrdinalParse: /\d{1,2}\./,
        ordinal: '%d.',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return nn;

})));


/***/ }),

/***/ 92135:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Occitan, lengadocian dialecte [oc-lnc]
//! author : Quentin PAGÈS : https://github.com/Quenty31

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var ocLnc = moment.defineLocale('oc-lnc', {
        months: {
            standalone:
                'genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre'.split(
                    '_'
                ),
            format: "de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split(
                '_'
            ),
            isFormat: /D[oD]?(\s)+MMMM/,
        },
        monthsShort:
            'gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.'.split(
                '_'
            ),
        monthsParseExact: true,
        weekdays: 'dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte'.split(
            '_'
        ),
        weekdaysShort: 'dg._dl._dm._dc._dj._dv._ds.'.split('_'),
        weekdaysMin: 'dg_dl_dm_dc_dj_dv_ds'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'H:mm',
            LTS: 'H:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM [de] YYYY',
            ll: 'D MMM YYYY',
            LLL: 'D MMMM [de] YYYY [a] H:mm',
            lll: 'D MMM YYYY, H:mm',
            LLLL: 'dddd D MMMM [de] YYYY [a] H:mm',
            llll: 'ddd D MMM YYYY, H:mm',
        },
        calendar: {
            sameDay: '[uèi a] LT',
            nextDay: '[deman a] LT',
            nextWeek: 'dddd [a] LT',
            lastDay: '[ièr a] LT',
            lastWeek: 'dddd [passat a] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: "d'aquí %s",
            past: 'fa %s',
            s: 'unas segondas',
            ss: '%d segondas',
            m: 'una minuta',
            mm: '%d minutas',
            h: 'una ora',
            hh: '%d oras',
            d: 'un jorn',
            dd: '%d jorns',
            M: 'un mes',
            MM: '%d meses',
            y: 'un an',
            yy: '%d ans',
        },
        dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/,
        ordinal: function (number, period) {
            var output =
                number === 1
                    ? 'r'
                    : number === 2
                    ? 'n'
                    : number === 3
                    ? 'r'
                    : number === 4
                    ? 't'
                    : 'è';
            if (period === 'w' || period === 'W') {
                output = 'a';
            }
            return number + output;
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4,
        },
    });

    return ocLnc;

})));


/***/ }),

/***/ 15858:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Punjabi (India) [pa-in]
//! author : Harpreet Singh : https://github.com/harpreetkhalsagtbit

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var symbolMap = {
            1: '੧',
            2: '੨',
            3: '੩',
            4: '੪',
            5: '੫',
            6: '੬',
            7: '੭',
            8: '੮',
            9: '੯',
            0: '੦',
        },
        numberMap = {
            '੧': '1',
            '੨': '2',
            '੩': '3',
            '੪': '4',
            '੫': '5',
            '੬': '6',
            '੭': '7',
            '੮': '8',
            '੯': '9',
            '੦': '0',
        };

    var paIn = moment.defineLocale('pa-in', {
        // There are months name as per Nanakshahi Calendar but they are not used as rigidly in modern Punjabi.
        months: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split(
            '_'
        ),
        monthsShort:
            'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split(
                '_'
            ),
        weekdays: 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ'.split(
            '_'
        ),
        weekdaysShort: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),
        weekdaysMin: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),
        longDateFormat: {
            LT: 'A h:mm ਵਜੇ',
            LTS: 'A h:mm:ss ਵਜੇ',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY, A h:mm ਵਜੇ',
            LLLL: 'dddd, D MMMM YYYY, A h:mm ਵਜੇ',
        },
        calendar: {
            sameDay: '[ਅਜ] LT',
            nextDay: '[ਕਲ] LT',
            nextWeek: '[ਅਗਲਾ] dddd, LT',
            lastDay: '[ਕਲ] LT',
            lastWeek: '[ਪਿਛਲੇ] dddd, LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: '%s ਵਿੱਚ',
            past: '%s ਪਿਛਲੇ',
            s: 'ਕੁਝ ਸਕਿੰਟ',
            ss: '%d ਸਕਿੰਟ',
            m: 'ਇਕ ਮਿੰਟ',
            mm: '%d ਮਿੰਟ',
            h: 'ਇੱਕ ਘੰਟਾ',
            hh: '%d ਘੰਟੇ',
            d: 'ਇੱਕ ਦਿਨ',
            dd: '%d ਦਿਨ',
            M: 'ਇੱਕ ਮਹੀਨਾ',
            MM: '%d ਮਹੀਨੇ',
            y: 'ਇੱਕ ਸਾਲ',
            yy: '%d ਸਾਲ',
        },
        preparse: function (string) {
            return string.replace(/[੧੨੩੪੫੬੭੮੯੦]/g, function (match) {
                return numberMap[match];
            });
        },
        postformat: function (string) {
            return string.replace(/\d/g, function (match) {
                return symbolMap[match];
            });
        },
        // Punjabi notation for meridiems are quite fuzzy in practice. While there exists
        // a rigid notion of a 'Pahar' it is not used as rigidly in modern Punjabi.
        meridiemParse: /ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,
        meridiemHour: function (hour, meridiem) {
            if (hour === 12) {
                hour = 0;
            }
            if (meridiem === 'ਰਾਤ') {
                return hour < 4 ? hour : hour + 12;
            } else if (meridiem === 'ਸਵੇਰ') {
                return hour;
            } else if (meridiem === 'ਦੁਪਹਿਰ') {
                return hour >= 10 ? hour : hour + 12;
            } else if (meridiem === 'ਸ਼ਾਮ') {
                return hour + 12;
            }
        },
        meridiem: function (hour, minute, isLower) {
            if (hour < 4) {
                return 'ਰਾਤ';
            } else if (hour < 10) {
                return 'ਸਵੇਰ';
            } else if (hour < 17) {
                return 'ਦੁਪਹਿਰ';
            } else if (hour < 20) {
                return 'ਸ਼ਾਮ';
            } else {
                return 'ਰਾਤ';
            }
        },
        week: {
            dow: 0, // Sunday is the first day of the week.
            doy: 6, // The week that contains Jan 6th is the first week of the year.
        },
    });

    return paIn;

})));


/***/ }),

/***/ 64495:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Polish [pl]
//! author : Rafal Hirsz : https://github.com/evoL

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var monthsNominative =
            'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split(
                '_'
            ),
        monthsSubjective =
            'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split(
                '_'
            ),
        monthsParse = [
            /^sty/i,
            /^lut/i,
            /^mar/i,
            /^kwi/i,
            /^maj/i,
            /^cze/i,
            /^lip/i,
            /^sie/i,
            /^wrz/i,
            /^paź/i,
            /^lis/i,
            /^gru/i,
        ];
    function plural(n) {
        return n % 10 < 5 && n % 10 > 1 && ~~(n / 10) % 10 !== 1;
    }
    function translate(number, withoutSuffix, key) {
        var result = number + ' ';
        switch (key) {
            case 'ss':
                return result + (plural(number) ? 'sekundy' : 'sekund');
            case 'm':
                return withoutSuffix ? 'minuta' : 'minutę';
            case 'mm':
                return result + (plural(number) ? 'minuty' : 'minut');
            case 'h':
                return withoutSuffix ? 'godzina' : 'godzinę';
            case 'hh':
                return result + (plural(number) ? 'godziny' : 'godzin');
            case 'ww':
                return result + (plural(number) ? 'tygodnie' : 'tygodni');
            case 'MM':
                return result + (plural(number) ? 'miesiące' : 'miesięcy');
            case 'yy':
                return result + (plural(number) ? 'lata' : 'lat');
        }
    }

    var pl = moment.defineLocale('pl', {
        months: function (momentToFormat, format) {
            if (!momentToFormat) {
                return monthsNominative;
            } else if (/D MMMM/.test(format)) {
                return monthsSubjective[momentToFormat.month()];
            } else {
                return monthsNominative[momentToFormat.month()];
            }
        },
        monthsShort: 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'),
        monthsParse: monthsParse,
        longMonthsParse: monthsParse,
        shortMonthsParse: monthsParse,
        weekdays:
            'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split('_'),
        weekdaysShort: 'ndz_pon_wt_śr_czw_pt_sob'.split('_'),
        weekdaysMin: 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD.MM.YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd, D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[Dziś o] LT',
            nextDay: '[Jutro o] LT',
            nextWeek: function () {
                switch (this.day()) {
                    case 0:
                        return '[W niedzielę o] LT';

                    case 2:
                        return '[We wtorek o] LT';

                    case 3:
                        return '[W środę o] LT';

                    case 6:
                        return '[W sobotę o] LT';

                    default:
                        return '[W] dddd [o] LT';
                }
            },
            lastDay: '[Wczoraj o] LT',
            lastWeek: function () {
                switch (this.day()) {
                    case 0:
                        return '[W zeszłą niedzielę o] LT';
                    case 3:
                        return '[W zeszłą środę o] LT';
                    case 6:
                        return '[W zeszłą sobotę o] LT';
                    default:
                        return '[W zeszły] dddd [o] LT';
                }
            },
            sameElse: 'L',
        },
        relativeTime: {
            future: 'za %s',
            past: '%s temu',
            s: 'kilka sekund',
            ss: translate,
            m: translate,
            mm: translate,
            h: translate,
            hh: translate,
            d: '1 dzień',
            dd: '%d dni',
            w: 'tydzień',
            ww: translate,
            M: 'miesiąc',
            MM: translate,
            y: 'rok',
            yy: translate,
        },
        dayOfMonthOrdinalParse: /\d{1,2}\./,
        ordinal: '%d.',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return pl;

})));


/***/ }),

/***/ 57971:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Portuguese (Brazil) [pt-br]
//! author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var ptBr = moment.defineLocale('pt-br', {
        months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split(
            '_'
        ),
        monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'),
        weekdays:
            'domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado'.split(
                '_'
            ),
        weekdaysShort: 'dom_seg_ter_qua_qui_sex_sáb'.split('_'),
        weekdaysMin: 'do_2ª_3ª_4ª_5ª_6ª_sá'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D [de] MMMM [de] YYYY',
            LLL: 'D [de] MMMM [de] YYYY [às] HH:mm',
            LLLL: 'dddd, D [de] MMMM [de] YYYY [às] HH:mm',
        },
        calendar: {
            sameDay: '[Hoje às] LT',
            nextDay: '[Amanhã às] LT',
            nextWeek: 'dddd [às] LT',
            lastDay: '[Ontem às] LT',
            lastWeek: function () {
                return this.day() === 0 || this.day() === 6
                    ? '[Último] dddd [às] LT' // Saturday + Sunday
                    : '[Última] dddd [às] LT'; // Monday - Friday
            },
            sameElse: 'L',
        },
        relativeTime: {
            future: 'em %s',
            past: 'há %s',
            s: 'poucos segundos',
            ss: '%d segundos',
            m: 'um minuto',
            mm: '%d minutos',
            h: 'uma hora',
            hh: '%d horas',
            d: 'um dia',
            dd: '%d dias',
            M: 'um mês',
            MM: '%d meses',
            y: 'um ano',
            yy: '%d anos',
        },
        dayOfMonthOrdinalParse: /\d{1,2}º/,
        ordinal: '%dº',
        invalidDate: 'Data inválida',
    });

    return ptBr;

})));


/***/ }),

/***/ 89520:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Portuguese [pt]
//! author : Jefferson : https://github.com/jalex79

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var pt = moment.defineLocale('pt', {
        months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split(
            '_'
        ),
        monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'),
        weekdays:
            'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split(
                '_'
            ),
        weekdaysShort: 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),
        weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D [de] MMMM [de] YYYY',
            LLL: 'D [de] MMMM [de] YYYY HH:mm',
            LLLL: 'dddd, D [de] MMMM [de] YYYY HH:mm',
        },
        calendar: {
            sameDay: '[Hoje às] LT',
            nextDay: '[Amanhã às] LT',
            nextWeek: 'dddd [às] LT',
            lastDay: '[Ontem às] LT',
            lastWeek: function () {
                return this.day() === 0 || this.day() === 6
                    ? '[Último] dddd [às] LT' // Saturday + Sunday
                    : '[Última] dddd [às] LT'; // Monday - Friday
            },
            sameElse: 'L',
        },
        relativeTime: {
            future: 'em %s',
            past: 'há %s',
            s: 'segundos',
            ss: '%d segundos',
            m: 'um minuto',
            mm: '%d minutos',
            h: 'uma hora',
            hh: '%d horas',
            d: 'um dia',
            dd: '%d dias',
            w: 'uma semana',
            ww: '%d semanas',
            M: 'um mês',
            MM: '%d meses',
            y: 'um ano',
            yy: '%d anos',
        },
        dayOfMonthOrdinalParse: /\d{1,2}º/,
        ordinal: '%dº',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return pt;

})));


/***/ }),

/***/ 96459:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Romanian [ro]
//! author : Vlad Gurdiga : https://github.com/gurdiga
//! author : Valentin Agachi : https://github.com/avaly
//! author : Emanuel Cepoi : https://github.com/cepem

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    function relativeTimeWithPlural(number, withoutSuffix, key) {
        var format = {
                ss: 'secunde',
                mm: 'minute',
                hh: 'ore',
                dd: 'zile',
                ww: 'săptămâni',
                MM: 'luni',
                yy: 'ani',
            },
            separator = ' ';
        if (number % 100 >= 20 || (number >= 100 && number % 100 === 0)) {
            separator = ' de ';
        }
        return number + separator + format[key];
    }

    var ro = moment.defineLocale('ro', {
        months: 'ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie'.split(
            '_'
        ),
        monthsShort:
            'ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.'.split(
                '_'
            ),
        monthsParseExact: true,
        weekdays: 'duminică_luni_marți_miercuri_joi_vineri_sâmbătă'.split('_'),
        weekdaysShort: 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'),
        weekdaysMin: 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'),
        longDateFormat: {
            LT: 'H:mm',
            LTS: 'H:mm:ss',
            L: 'DD.MM.YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY H:mm',
            LLLL: 'dddd, D MMMM YYYY H:mm',
        },
        calendar: {
            sameDay: '[azi la] LT',
            nextDay: '[mâine la] LT',
            nextWeek: 'dddd [la] LT',
            lastDay: '[ieri la] LT',
            lastWeek: '[fosta] dddd [la] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'peste %s',
            past: '%s în urmă',
            s: 'câteva secunde',
            ss: relativeTimeWithPlural,
            m: 'un minut',
            mm: relativeTimeWithPlural,
            h: 'o oră',
            hh: relativeTimeWithPlural,
            d: 'o zi',
            dd: relativeTimeWithPlural,
            w: 'o săptămână',
            ww: relativeTimeWithPlural,
            M: 'o lună',
            MM: relativeTimeWithPlural,
            y: 'un an',
            yy: relativeTimeWithPlural,
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 7, // The week that contains Jan 7th is the first week of the year.
        },
    });

    return ro;

})));


/***/ }),

/***/ 21793:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Russian [ru]
//! author : Viktorminator : https://github.com/Viktorminator
//! author : Menelion Elensúle : https://github.com/Oire
//! author : Коренберг Марк : https://github.com/socketpair

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    function plural(word, num) {
        var forms = word.split('_');
        return num % 10 === 1 && num % 100 !== 11
            ? forms[0]
            : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)
            ? forms[1]
            : forms[2];
    }
    function relativeTimeWithPlural(number, withoutSuffix, key) {
        var format = {
            ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд',
            mm: withoutSuffix ? 'минута_минуты_минут' : 'минуту_минуты_минут',
            hh: 'час_часа_часов',
            dd: 'день_дня_дней',
            ww: 'неделя_недели_недель',
            MM: 'месяц_месяца_месяцев',
            yy: 'год_года_лет',
        };
        if (key === 'm') {
            return withoutSuffix ? 'минута' : 'минуту';
        } else {
            return number + ' ' + plural(format[key], +number);
        }
    }
    var monthsParse = [
        /^янв/i,
        /^фев/i,
        /^мар/i,
        /^апр/i,
        /^ма[йя]/i,
        /^июн/i,
        /^июл/i,
        /^авг/i,
        /^сен/i,
        /^окт/i,
        /^ноя/i,
        /^дек/i,
    ];

    // http://new.gramota.ru/spravka/rules/139-prop : § 103
    // Сокращения месяцев: http://new.gramota.ru/spravka/buro/search-answer?s=242637
    // CLDR data:          http://www.unicode.org/cldr/charts/28/summary/ru.html#1753
    var ru = moment.defineLocale('ru', {
        months: {
            format: 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split(
                '_'
            ),
            standalone:
                'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split(
                    '_'
                ),
        },
        monthsShort: {
            // по CLDR именно "июл." и "июн.", но какой смысл менять букву на точку?
            format: 'янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.'.split(
                '_'
            ),
            standalone:
                'янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.'.split(
                    '_'
                ),
        },
        weekdays: {
            standalone:
                'воскресенье_понедельник_вторник_среда_четверг_пятница_суббота'.split(
                    '_'
                ),
            format: 'воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу'.split(
                '_'
            ),
            isFormat: /\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/,
        },
        weekdaysShort: 'вс_пн_вт_ср_чт_пт_сб'.split('_'),
        weekdaysMin: 'вс_пн_вт_ср_чт_пт_сб'.split('_'),
        monthsParse: monthsParse,
        longMonthsParse: monthsParse,
        shortMonthsParse: monthsParse,

        // полные названия с падежами, по три буквы, для некоторых, по 4 буквы, сокращения с точкой и без точки
        monthsRegex:
            /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,

        // копия предыдущего
        monthsShortRegex:
            /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,

        // полные названия с падежами
        monthsStrictRegex:
            /^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,

        // Выражение, которое соответствует только сокращённым формам
        monthsShortStrictRegex:
            /^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,
        longDateFormat: {
            LT: 'H:mm',
            LTS: 'H:mm:ss',
            L: 'DD.MM.YYYY',
            LL: 'D MMMM YYYY г.',
            LLL: 'D MMMM YYYY г., H:mm',
            LLLL: 'dddd, D MMMM YYYY г., H:mm',
        },
        calendar: {
            sameDay: '[Сегодня, в] LT',
            nextDay: '[Завтра, в] LT',
            lastDay: '[Вчера, в] LT',
            nextWeek: function (now) {
                if (now.week() !== this.week()) {
                    switch (this.day()) {
                        case 0:
                            return '[В следующее] dddd, [в] LT';
                        case 1:
                        case 2:
                        case 4:
                            return '[В следующий] dddd, [в] LT';
                        case 3:
                        case 5:
                        case 6:
                            return '[В следующую] dddd, [в] LT';
                    }
                } else {
                    if (this.day() === 2) {
                        return '[Во] dddd, [в] LT';
                    } else {
                        return '[В] dddd, [в] LT';
                    }
                }
            },
            lastWeek: function (now) {
                if (now.week() !== this.week()) {
                    switch (this.day()) {
                        case 0:
                            return '[В прошлое] dddd, [в] LT';
                        case 1:
                        case 2:
                        case 4:
                            return '[В прошлый] dddd, [в] LT';
                        case 3:
                        case 5:
                        case 6:
                            return '[В прошлую] dddd, [в] LT';
                    }
                } else {
                    if (this.day() === 2) {
                        return '[Во] dddd, [в] LT';
                    } else {
                        return '[В] dddd, [в] LT';
                    }
                }
            },
            sameElse: 'L',
        },
        relativeTime: {
            future: 'через %s',
            past: '%s назад',
            s: 'несколько секунд',
            ss: relativeTimeWithPlural,
            m: relativeTimeWithPlural,
            mm: relativeTimeWithPlural,
            h: 'час',
            hh: relativeTimeWithPlural,
            d: 'день',
            dd: relativeTimeWithPlural,
            w: 'неделя',
            ww: relativeTimeWithPlural,
            M: 'месяц',
            MM: relativeTimeWithPlural,
            y: 'год',
            yy: relativeTimeWithPlural,
        },
        meridiemParse: /ночи|утра|дня|вечера/i,
        isPM: function (input) {
            return /^(дня|вечера)$/.test(input);
        },
        meridiem: function (hour, minute, isLower) {
            if (hour < 4) {
                return 'ночи';
            } else if (hour < 12) {
                return 'утра';
            } else if (hour < 17) {
                return 'дня';
            } else {
                return 'вечера';
            }
        },
        dayOfMonthOrdinalParse: /\d{1,2}-(й|го|я)/,
        ordinal: function (number, period) {
            switch (period) {
                case 'M':
                case 'd':
                case 'DDD':
                    return number + '-й';
                case 'D':
                    return number + '-го';
                case 'w':
                case 'W':
                    return number + '-я';
                default:
                    return number;
            }
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return ru;

})));


/***/ }),

/***/ 40950:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Sindhi [sd]
//! author : Narain Sagar : https://github.com/narainsagar

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var months = [
            'جنوري',
            'فيبروري',
            'مارچ',
            'اپريل',
            'مئي',
            'جون',
            'جولاءِ',
            'آگسٽ',
            'سيپٽمبر',
            'آڪٽوبر',
            'نومبر',
            'ڊسمبر',
        ],
        days = ['آچر', 'سومر', 'اڱارو', 'اربع', 'خميس', 'جمع', 'ڇنڇر'];

    var sd = moment.defineLocale('sd', {
        months: months,
        monthsShort: months,
        weekdays: days,
        weekdaysShort: days,
        weekdaysMin: days,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd، D MMMM YYYY HH:mm',
        },
        meridiemParse: /صبح|شام/,
        isPM: function (input) {
            return 'شام' === input;
        },
        meridiem: function (hour, minute, isLower) {
            if (hour < 12) {
                return 'صبح';
            }
            return 'شام';
        },
        calendar: {
            sameDay: '[اڄ] LT',
            nextDay: '[سڀاڻي] LT',
            nextWeek: 'dddd [اڳين هفتي تي] LT',
            lastDay: '[ڪالهه] LT',
            lastWeek: '[گزريل هفتي] dddd [تي] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: '%s پوء',
            past: '%s اڳ',
            s: 'چند سيڪنڊ',
            ss: '%d سيڪنڊ',
            m: 'هڪ منٽ',
            mm: '%d منٽ',
            h: 'هڪ ڪلاڪ',
            hh: '%d ڪلاڪ',
            d: 'هڪ ڏينهن',
            dd: '%d ڏينهن',
            M: 'هڪ مهينو',
            MM: '%d مهينا',
            y: 'هڪ سال',
            yy: '%d سال',
        },
        preparse: function (string) {
            return string.replace(/،/g, ',');
        },
        postformat: function (string) {
            return string.replace(/,/g, '،');
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return sd;

})));


/***/ }),

/***/ 10490:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Northern Sami [se]
//! authors : Bård Rolstad Henriksen : https://github.com/karamell

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var se = moment.defineLocale('se', {
        months: 'ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split(
            '_'
        ),
        monthsShort:
            'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split('_'),
        weekdays:
            'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split(
                '_'
            ),
        weekdaysShort: 'sotn_vuos_maŋ_gask_duor_bear_láv'.split('_'),
        weekdaysMin: 's_v_m_g_d_b_L'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD.MM.YYYY',
            LL: 'MMMM D. [b.] YYYY',
            LLL: 'MMMM D. [b.] YYYY [ti.] HH:mm',
            LLLL: 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm',
        },
        calendar: {
            sameDay: '[otne ti] LT',
            nextDay: '[ihttin ti] LT',
            nextWeek: 'dddd [ti] LT',
            lastDay: '[ikte ti] LT',
            lastWeek: '[ovddit] dddd [ti] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: '%s geažes',
            past: 'maŋit %s',
            s: 'moadde sekunddat',
            ss: '%d sekunddat',
            m: 'okta minuhta',
            mm: '%d minuhtat',
            h: 'okta diimmu',
            hh: '%d diimmut',
            d: 'okta beaivi',
            dd: '%d beaivvit',
            M: 'okta mánnu',
            MM: '%d mánut',
            y: 'okta jahki',
            yy: '%d jagit',
        },
        dayOfMonthOrdinalParse: /\d{1,2}\./,
        ordinal: '%d.',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return se;

})));


/***/ }),

/***/ 90124:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Sinhalese [si]
//! author : Sampath Sitinamaluwa : https://github.com/sampathsris

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    /*jshint -W100*/
    var si = moment.defineLocale('si', {
        months: 'ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්'.split(
            '_'
        ),
        monthsShort: 'ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ'.split(
            '_'
        ),
        weekdays:
            'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා'.split(
                '_'
            ),
        weekdaysShort: 'ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන'.split('_'),
        weekdaysMin: 'ඉ_ස_අ_බ_බ්‍ර_සි_සෙ'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'a h:mm',
            LTS: 'a h:mm:ss',
            L: 'YYYY/MM/DD',
            LL: 'YYYY MMMM D',
            LLL: 'YYYY MMMM D, a h:mm',
            LLLL: 'YYYY MMMM D [වැනි] dddd, a h:mm:ss',
        },
        calendar: {
            sameDay: '[අද] LT[ට]',
            nextDay: '[හෙට] LT[ට]',
            nextWeek: 'dddd LT[ට]',
            lastDay: '[ඊයේ] LT[ට]',
            lastWeek: '[පසුගිය] dddd LT[ට]',
            sameElse: 'L',
        },
        relativeTime: {
            future: '%sකින්',
            past: '%sකට පෙර',
            s: 'තත්පර කිහිපය',
            ss: 'තත්පර %d',
            m: 'මිනිත්තුව',
            mm: 'මිනිත්තු %d',
            h: 'පැය',
            hh: 'පැය %d',
            d: 'දිනය',
            dd: 'දින %d',
            M: 'මාසය',
            MM: 'මාස %d',
            y: 'වසර',
            yy: 'වසර %d',
        },
        dayOfMonthOrdinalParse: /\d{1,2} වැනි/,
        ordinal: function (number) {
            return number + ' වැනි';
        },
        meridiemParse: /පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,
        isPM: function (input) {
            return input === 'ප.ව.' || input === 'පස් වරු';
        },
        meridiem: function (hours, minutes, isLower) {
            if (hours > 11) {
                return isLower ? 'ප.ව.' : 'පස් වරු';
            } else {
                return isLower ? 'පෙ.ව.' : 'පෙර වරු';
            }
        },
    });

    return si;

})));


/***/ }),

/***/ 64249:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Slovak [sk]
//! author : Martin Minka : https://github.com/k2s
//! based on work of petrbela : https://github.com/petrbela

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var months =
            'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split(
                '_'
            ),
        monthsShort = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_');
    function plural(n) {
        return n > 1 && n < 5;
    }
    function translate(number, withoutSuffix, key, isFuture) {
        var result = number + ' ';
        switch (key) {
            case 's': // a few seconds / in a few seconds / a few seconds ago
                return withoutSuffix || isFuture ? 'pár sekúnd' : 'pár sekundami';
            case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago
                if (withoutSuffix || isFuture) {
                    return result + (plural(number) ? 'sekundy' : 'sekúnd');
                } else {
                    return result + 'sekundami';
                }
            case 'm': // a minute / in a minute / a minute ago
                return withoutSuffix ? 'minúta' : isFuture ? 'minútu' : 'minútou';
            case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago
                if (withoutSuffix || isFuture) {
                    return result + (plural(number) ? 'minúty' : 'minút');
                } else {
                    return result + 'minútami';
                }
            case 'h': // an hour / in an hour / an hour ago
                return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou';
            case 'hh': // 9 hours / in 9 hours / 9 hours ago
                if (withoutSuffix || isFuture) {
                    return result + (plural(number) ? 'hodiny' : 'hodín');
                } else {
                    return result + 'hodinami';
                }
            case 'd': // a day / in a day / a day ago
                return withoutSuffix || isFuture ? 'deň' : 'dňom';
            case 'dd': // 9 days / in 9 days / 9 days ago
                if (withoutSuffix || isFuture) {
                    return result + (plural(number) ? 'dni' : 'dní');
                } else {
                    return result + 'dňami';
                }
            case 'M': // a month / in a month / a month ago
                return withoutSuffix || isFuture ? 'mesiac' : 'mesiacom';
            case 'MM': // 9 months / in 9 months / 9 months ago
                if (withoutSuffix || isFuture) {
                    return result + (plural(number) ? 'mesiace' : 'mesiacov');
                } else {
                    return result + 'mesiacmi';
                }
            case 'y': // a year / in a year / a year ago
                return withoutSuffix || isFuture ? 'rok' : 'rokom';
            case 'yy': // 9 years / in 9 years / 9 years ago
                if (withoutSuffix || isFuture) {
                    return result + (plural(number) ? 'roky' : 'rokov');
                } else {
                    return result + 'rokmi';
                }
        }
    }

    var sk = moment.defineLocale('sk', {
        months: months,
        monthsShort: monthsShort,
        weekdays: 'nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota'.split('_'),
        weekdaysShort: 'ne_po_ut_st_št_pi_so'.split('_'),
        weekdaysMin: 'ne_po_ut_st_št_pi_so'.split('_'),
        longDateFormat: {
            LT: 'H:mm',
            LTS: 'H:mm:ss',
            L: 'DD.MM.YYYY',
            LL: 'D. MMMM YYYY',
            LLL: 'D. MMMM YYYY H:mm',
            LLLL: 'dddd D. MMMM YYYY H:mm',
        },
        calendar: {
            sameDay: '[dnes o] LT',
            nextDay: '[zajtra o] LT',
            nextWeek: function () {
                switch (this.day()) {
                    case 0:
                        return '[v nedeľu o] LT';
                    case 1:
                    case 2:
                        return '[v] dddd [o] LT';
                    case 3:
                        return '[v stredu o] LT';
                    case 4:
                        return '[vo štvrtok o] LT';
                    case 5:
                        return '[v piatok o] LT';
                    case 6:
                        return '[v sobotu o] LT';
                }
            },
            lastDay: '[včera o] LT',
            lastWeek: function () {
                switch (this.day()) {
                    case 0:
                        return '[minulú nedeľu o] LT';
                    case 1:
                    case 2:
                        return '[minulý] dddd [o] LT';
                    case 3:
                        return '[minulú stredu o] LT';
                    case 4:
                    case 5:
                        return '[minulý] dddd [o] LT';
                    case 6:
                        return '[minulú sobotu o] LT';
                }
            },
            sameElse: 'L',
        },
        relativeTime: {
            future: 'za %s',
            past: 'pred %s',
            s: translate,
            ss: translate,
            m: translate,
            mm: translate,
            h: translate,
            hh: translate,
            d: translate,
            dd: translate,
            M: translate,
            MM: translate,
            y: translate,
            yy: translate,
        },
        dayOfMonthOrdinalParse: /\d{1,2}\./,
        ordinal: '%d.',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return sk;

})));


/***/ }),

/***/ 14985:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Slovenian [sl]
//! author : Robert Sedovšek : https://github.com/sedovsek

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    function processRelativeTime(number, withoutSuffix, key, isFuture) {
        var result = number + ' ';
        switch (key) {
            case 's':
                return withoutSuffix || isFuture
                    ? 'nekaj sekund'
                    : 'nekaj sekundami';
            case 'ss':
                if (number === 1) {
                    result += withoutSuffix ? 'sekundo' : 'sekundi';
                } else if (number === 2) {
                    result += withoutSuffix || isFuture ? 'sekundi' : 'sekundah';
                } else if (number < 5) {
                    result += withoutSuffix || isFuture ? 'sekunde' : 'sekundah';
                } else {
                    result += 'sekund';
                }
                return result;
            case 'm':
                return withoutSuffix ? 'ena minuta' : 'eno minuto';
            case 'mm':
                if (number === 1) {
                    result += withoutSuffix ? 'minuta' : 'minuto';
                } else if (number === 2) {
                    result += withoutSuffix || isFuture ? 'minuti' : 'minutama';
                } else if (number < 5) {
                    result += withoutSuffix || isFuture ? 'minute' : 'minutami';
                } else {
                    result += withoutSuffix || isFuture ? 'minut' : 'minutami';
                }
                return result;
            case 'h':
                return withoutSuffix ? 'ena ura' : 'eno uro';
            case 'hh':
                if (number === 1) {
                    result += withoutSuffix ? 'ura' : 'uro';
                } else if (number === 2) {
                    result += withoutSuffix || isFuture ? 'uri' : 'urama';
                } else if (number < 5) {
                    result += withoutSuffix || isFuture ? 'ure' : 'urami';
                } else {
                    result += withoutSuffix || isFuture ? 'ur' : 'urami';
                }
                return result;
            case 'd':
                return withoutSuffix || isFuture ? 'en dan' : 'enim dnem';
            case 'dd':
                if (number === 1) {
                    result += withoutSuffix || isFuture ? 'dan' : 'dnem';
                } else if (number === 2) {
                    result += withoutSuffix || isFuture ? 'dni' : 'dnevoma';
                } else {
                    result += withoutSuffix || isFuture ? 'dni' : 'dnevi';
                }
                return result;
            case 'M':
                return withoutSuffix || isFuture ? 'en mesec' : 'enim mesecem';
            case 'MM':
                if (number === 1) {
                    result += withoutSuffix || isFuture ? 'mesec' : 'mesecem';
                } else if (number === 2) {
                    result += withoutSuffix || isFuture ? 'meseca' : 'mesecema';
                } else if (number < 5) {
                    result += withoutSuffix || isFuture ? 'mesece' : 'meseci';
                } else {
                    result += withoutSuffix || isFuture ? 'mesecev' : 'meseci';
                }
                return result;
            case 'y':
                return withoutSuffix || isFuture ? 'eno leto' : 'enim letom';
            case 'yy':
                if (number === 1) {
                    result += withoutSuffix || isFuture ? 'leto' : 'letom';
                } else if (number === 2) {
                    result += withoutSuffix || isFuture ? 'leti' : 'letoma';
                } else if (number < 5) {
                    result += withoutSuffix || isFuture ? 'leta' : 'leti';
                } else {
                    result += withoutSuffix || isFuture ? 'let' : 'leti';
                }
                return result;
        }
    }

    var sl = moment.defineLocale('sl', {
        months: 'januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december'.split(
            '_'
        ),
        monthsShort:
            'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split(
                '_'
            ),
        monthsParseExact: true,
        weekdays: 'nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota'.split('_'),
        weekdaysShort: 'ned._pon._tor._sre._čet._pet._sob.'.split('_'),
        weekdaysMin: 'ne_po_to_sr_če_pe_so'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'H:mm',
            LTS: 'H:mm:ss',
            L: 'DD. MM. YYYY',
            LL: 'D. MMMM YYYY',
            LLL: 'D. MMMM YYYY H:mm',
            LLLL: 'dddd, D. MMMM YYYY H:mm',
        },
        calendar: {
            sameDay: '[danes ob] LT',
            nextDay: '[jutri ob] LT',

            nextWeek: function () {
                switch (this.day()) {
                    case 0:
                        return '[v] [nedeljo] [ob] LT';
                    case 3:
                        return '[v] [sredo] [ob] LT';
                    case 6:
                        return '[v] [soboto] [ob] LT';
                    case 1:
                    case 2:
                    case 4:
                    case 5:
                        return '[v] dddd [ob] LT';
                }
            },
            lastDay: '[včeraj ob] LT',
            lastWeek: function () {
                switch (this.day()) {
                    case 0:
                        return '[prejšnjo] [nedeljo] [ob] LT';
                    case 3:
                        return '[prejšnjo] [sredo] [ob] LT';
                    case 6:
                        return '[prejšnjo] [soboto] [ob] LT';
                    case 1:
                    case 2:
                    case 4:
                    case 5:
                        return '[prejšnji] dddd [ob] LT';
                }
            },
            sameElse: 'L',
        },
        relativeTime: {
            future: 'čez %s',
            past: 'pred %s',
            s: processRelativeTime,
            ss: processRelativeTime,
            m: processRelativeTime,
            mm: processRelativeTime,
            h: processRelativeTime,
            hh: processRelativeTime,
            d: processRelativeTime,
            dd: processRelativeTime,
            M: processRelativeTime,
            MM: processRelativeTime,
            y: processRelativeTime,
            yy: processRelativeTime,
        },
        dayOfMonthOrdinalParse: /\d{1,2}\./,
        ordinal: '%d.',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 7, // The week that contains Jan 7th is the first week of the year.
        },
    });

    return sl;

})));


/***/ }),

/***/ 51104:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Albanian [sq]
//! author : Flakërim Ismani : https://github.com/flakerimi
//! author : Menelion Elensúle : https://github.com/Oire
//! author : Oerd Cukalla : https://github.com/oerd

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var sq = moment.defineLocale('sq', {
        months: 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split(
            '_'
        ),
        monthsShort: 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'),
        weekdays: 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split(
            '_'
        ),
        weekdaysShort: 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'),
        weekdaysMin: 'D_H_Ma_Më_E_P_Sh'.split('_'),
        weekdaysParseExact: true,
        meridiemParse: /PD|MD/,
        isPM: function (input) {
            return input.charAt(0) === 'M';
        },
        meridiem: function (hours, minutes, isLower) {
            return hours < 12 ? 'PD' : 'MD';
        },
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd, D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[Sot në] LT',
            nextDay: '[Nesër në] LT',
            nextWeek: 'dddd [në] LT',
            lastDay: '[Dje në] LT',
            lastWeek: 'dddd [e kaluar në] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'në %s',
            past: '%s më parë',
            s: 'disa sekonda',
            ss: '%d sekonda',
            m: 'një minutë',
            mm: '%d minuta',
            h: 'një orë',
            hh: '%d orë',
            d: 'një ditë',
            dd: '%d ditë',
            M: 'një muaj',
            MM: '%d muaj',
            y: 'një vit',
            yy: '%d vite',
        },
        dayOfMonthOrdinalParse: /\d{1,2}\./,
        ordinal: '%d.',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return sq;

})));


/***/ }),

/***/ 79915:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Serbian Cyrillic [sr-cyrl]
//! author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j
//! author : Stefan Crnjaković <stefan@hotmail.rs> : https://github.com/crnjakovic

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var translator = {
        words: {
            //Different grammatical cases
            ss: ['секунда', 'секунде', 'секунди'],
            m: ['један минут', 'једног минута'],
            mm: ['минут', 'минута', 'минута'],
            h: ['један сат', 'једног сата'],
            hh: ['сат', 'сата', 'сати'],
            d: ['један дан', 'једног дана'],
            dd: ['дан', 'дана', 'дана'],
            M: ['један месец', 'једног месеца'],
            MM: ['месец', 'месеца', 'месеци'],
            y: ['једну годину', 'једне године'],
            yy: ['годину', 'године', 'година'],
        },
        correctGrammaticalCase: function (number, wordKey) {
            if (
                number % 10 >= 1 &&
                number % 10 <= 4 &&
                (number % 100 < 10 || number % 100 >= 20)
            ) {
                return number % 10 === 1 ? wordKey[0] : wordKey[1];
            }
            return wordKey[2];
        },
        translate: function (number, withoutSuffix, key, isFuture) {
            var wordKey = translator.words[key],
                word;

            if (key.length === 1) {
                // Nominativ
                if (key === 'y' && withoutSuffix) return 'једна година';
                return isFuture || withoutSuffix ? wordKey[0] : wordKey[1];
            }

            word = translator.correctGrammaticalCase(number, wordKey);
            // Nominativ
            if (key === 'yy' && withoutSuffix && word === 'годину') {
                return number + ' година';
            }

            return number + ' ' + word;
        },
    };

    var srCyrl = moment.defineLocale('sr-cyrl', {
        months: 'јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар'.split(
            '_'
        ),
        monthsShort:
            'јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.'.split('_'),
        monthsParseExact: true,
        weekdays: 'недеља_понедељак_уторак_среда_четвртак_петак_субота'.split('_'),
        weekdaysShort: 'нед._пон._уто._сре._чет._пет._суб.'.split('_'),
        weekdaysMin: 'не_по_ут_ср_че_пе_су'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'H:mm',
            LTS: 'H:mm:ss',
            L: 'D. M. YYYY.',
            LL: 'D. MMMM YYYY.',
            LLL: 'D. MMMM YYYY. H:mm',
            LLLL: 'dddd, D. MMMM YYYY. H:mm',
        },
        calendar: {
            sameDay: '[данас у] LT',
            nextDay: '[сутра у] LT',
            nextWeek: function () {
                switch (this.day()) {
                    case 0:
                        return '[у] [недељу] [у] LT';
                    case 3:
                        return '[у] [среду] [у] LT';
                    case 6:
                        return '[у] [суботу] [у] LT';
                    case 1:
                    case 2:
                    case 4:
                    case 5:
                        return '[у] dddd [у] LT';
                }
            },
            lastDay: '[јуче у] LT',
            lastWeek: function () {
                var lastWeekDays = [
                    '[прошле] [недеље] [у] LT',
                    '[прошлог] [понедељка] [у] LT',
                    '[прошлог] [уторка] [у] LT',
                    '[прошле] [среде] [у] LT',
                    '[прошлог] [четвртка] [у] LT',
                    '[прошлог] [петка] [у] LT',
                    '[прошле] [суботе] [у] LT',
                ];
                return lastWeekDays[this.day()];
            },
            sameElse: 'L',
        },
        relativeTime: {
            future: 'за %s',
            past: 'пре %s',
            s: 'неколико секунди',
            ss: translator.translate,
            m: translator.translate,
            mm: translator.translate,
            h: translator.translate,
            hh: translator.translate,
            d: translator.translate,
            dd: translator.translate,
            M: translator.translate,
            MM: translator.translate,
            y: translator.translate,
            yy: translator.translate,
        },
        dayOfMonthOrdinalParse: /\d{1,2}\./,
        ordinal: '%d.',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 7, // The week that contains Jan 1st is the first week of the year.
        },
    });

    return srCyrl;

})));


/***/ }),

/***/ 49131:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Serbian [sr]
//! author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j
//! author : Stefan Crnjaković <stefan@hotmail.rs> : https://github.com/crnjakovic

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var translator = {
        words: {
            //Different grammatical cases
            ss: ['sekunda', 'sekunde', 'sekundi'],
            m: ['jedan minut', 'jednog minuta'],
            mm: ['minut', 'minuta', 'minuta'],
            h: ['jedan sat', 'jednog sata'],
            hh: ['sat', 'sata', 'sati'],
            d: ['jedan dan', 'jednog dana'],
            dd: ['dan', 'dana', 'dana'],
            M: ['jedan mesec', 'jednog meseca'],
            MM: ['mesec', 'meseca', 'meseci'],
            y: ['jednu godinu', 'jedne godine'],
            yy: ['godinu', 'godine', 'godina'],
        },
        correctGrammaticalCase: function (number, wordKey) {
            if (
                number % 10 >= 1 &&
                number % 10 <= 4 &&
                (number % 100 < 10 || number % 100 >= 20)
            ) {
                return number % 10 === 1 ? wordKey[0] : wordKey[1];
            }
            return wordKey[2];
        },
        translate: function (number, withoutSuffix, key, isFuture) {
            var wordKey = translator.words[key],
                word;

            if (key.length === 1) {
                // Nominativ
                if (key === 'y' && withoutSuffix) return 'jedna godina';
                return isFuture || withoutSuffix ? wordKey[0] : wordKey[1];
            }

            word = translator.correctGrammaticalCase(number, wordKey);
            // Nominativ
            if (key === 'yy' && withoutSuffix && word === 'godinu') {
                return number + ' godina';
            }

            return number + ' ' + word;
        },
    };

    var sr = moment.defineLocale('sr', {
        months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split(
            '_'
        ),
        monthsShort:
            'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'),
        monthsParseExact: true,
        weekdays: 'nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota'.split(
            '_'
        ),
        weekdaysShort: 'ned._pon._uto._sre._čet._pet._sub.'.split('_'),
        weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'H:mm',
            LTS: 'H:mm:ss',
            L: 'D. M. YYYY.',
            LL: 'D. MMMM YYYY.',
            LLL: 'D. MMMM YYYY. H:mm',
            LLLL: 'dddd, D. MMMM YYYY. H:mm',
        },
        calendar: {
            sameDay: '[danas u] LT',
            nextDay: '[sutra u] LT',
            nextWeek: function () {
                switch (this.day()) {
                    case 0:
                        return '[u] [nedelju] [u] LT';
                    case 3:
                        return '[u] [sredu] [u] LT';
                    case 6:
                        return '[u] [subotu] [u] LT';
                    case 1:
                    case 2:
                    case 4:
                    case 5:
                        return '[u] dddd [u] LT';
                }
            },
            lastDay: '[juče u] LT',
            lastWeek: function () {
                var lastWeekDays = [
                    '[prošle] [nedelje] [u] LT',
                    '[prošlog] [ponedeljka] [u] LT',
                    '[prošlog] [utorka] [u] LT',
                    '[prošle] [srede] [u] LT',
                    '[prošlog] [četvrtka] [u] LT',
                    '[prošlog] [petka] [u] LT',
                    '[prošle] [subote] [u] LT',
                ];
                return lastWeekDays[this.day()];
            },
            sameElse: 'L',
        },
        relativeTime: {
            future: 'za %s',
            past: 'pre %s',
            s: 'nekoliko sekundi',
            ss: translator.translate,
            m: translator.translate,
            mm: translator.translate,
            h: translator.translate,
            hh: translator.translate,
            d: translator.translate,
            dd: translator.translate,
            M: translator.translate,
            MM: translator.translate,
            y: translator.translate,
            yy: translator.translate,
        },
        dayOfMonthOrdinalParse: /\d{1,2}\./,
        ordinal: '%d.',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 7, // The week that contains Jan 7th is the first week of the year.
        },
    });

    return sr;

})));


/***/ }),

/***/ 85893:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : siSwati [ss]
//! author : Nicolai Davies<mail@nicolai.io> : https://github.com/nicolaidavies

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var ss = moment.defineLocale('ss', {
        months: "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split(
            '_'
        ),
        monthsShort: 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'),
        weekdays:
            'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split(
                '_'
            ),
        weekdaysShort: 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'),
        weekdaysMin: 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'h:mm A',
            LTS: 'h:mm:ss A',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY h:mm A',
            LLLL: 'dddd, D MMMM YYYY h:mm A',
        },
        calendar: {
            sameDay: '[Namuhla nga] LT',
            nextDay: '[Kusasa nga] LT',
            nextWeek: 'dddd [nga] LT',
            lastDay: '[Itolo nga] LT',
            lastWeek: 'dddd [leliphelile] [nga] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'nga %s',
            past: 'wenteka nga %s',
            s: 'emizuzwana lomcane',
            ss: '%d mzuzwana',
            m: 'umzuzu',
            mm: '%d emizuzu',
            h: 'lihora',
            hh: '%d emahora',
            d: 'lilanga',
            dd: '%d emalanga',
            M: 'inyanga',
            MM: '%d tinyanga',
            y: 'umnyaka',
            yy: '%d iminyaka',
        },
        meridiemParse: /ekuseni|emini|entsambama|ebusuku/,
        meridiem: function (hours, minutes, isLower) {
            if (hours < 11) {
                return 'ekuseni';
            } else if (hours < 15) {
                return 'emini';
            } else if (hours < 19) {
                return 'entsambama';
            } else {
                return 'ebusuku';
            }
        },
        meridiemHour: function (hour, meridiem) {
            if (hour === 12) {
                hour = 0;
            }
            if (meridiem === 'ekuseni') {
                return hour;
            } else if (meridiem === 'emini') {
                return hour >= 11 ? hour : hour + 12;
            } else if (meridiem === 'entsambama' || meridiem === 'ebusuku') {
                if (hour === 0) {
                    return 0;
                }
                return hour + 12;
            }
        },
        dayOfMonthOrdinalParse: /\d{1,2}/,
        ordinal: '%d',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return ss;

})));


/***/ }),

/***/ 98760:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Swedish [sv]
//! author : Jens Alm : https://github.com/ulmus

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var sv = moment.defineLocale('sv', {
        months: 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split(
            '_'
        ),
        monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
        weekdays: 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'),
        weekdaysShort: 'sön_mån_tis_ons_tor_fre_lör'.split('_'),
        weekdaysMin: 'sö_må_ti_on_to_fr_lö'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'YYYY-MM-DD',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY [kl.] HH:mm',
            LLLL: 'dddd D MMMM YYYY [kl.] HH:mm',
            lll: 'D MMM YYYY HH:mm',
            llll: 'ddd D MMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[Idag] LT',
            nextDay: '[Imorgon] LT',
            lastDay: '[Igår] LT',
            nextWeek: '[På] dddd LT',
            lastWeek: '[I] dddd[s] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'om %s',
            past: 'för %s sedan',
            s: 'några sekunder',
            ss: '%d sekunder',
            m: 'en minut',
            mm: '%d minuter',
            h: 'en timme',
            hh: '%d timmar',
            d: 'en dag',
            dd: '%d dagar',
            M: 'en månad',
            MM: '%d månader',
            y: 'ett år',
            yy: '%d år',
        },
        dayOfMonthOrdinalParse: /\d{1,2}(\:e|\:a)/,
        ordinal: function (number) {
            var b = number % 10,
                output =
                    ~~((number % 100) / 10) === 1
                        ? ':e'
                        : b === 1
                        ? ':a'
                        : b === 2
                        ? ':a'
                        : b === 3
                        ? ':e'
                        : ':e';
            return number + output;
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return sv;

})));


/***/ }),

/***/ 91172:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Swahili [sw]
//! author : Fahad Kassim : https://github.com/fadsel

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var sw = moment.defineLocale('sw', {
        months: 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split(
            '_'
        ),
        monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'),
        weekdays:
            'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split(
                '_'
            ),
        weekdaysShort: 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'),
        weekdaysMin: 'J2_J3_J4_J5_Al_Ij_J1'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'hh:mm A',
            LTS: 'HH:mm:ss',
            L: 'DD.MM.YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd, D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[leo saa] LT',
            nextDay: '[kesho saa] LT',
            nextWeek: '[wiki ijayo] dddd [saat] LT',
            lastDay: '[jana] LT',
            lastWeek: '[wiki iliyopita] dddd [saat] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: '%s baadaye',
            past: 'tokea %s',
            s: 'hivi punde',
            ss: 'sekunde %d',
            m: 'dakika moja',
            mm: 'dakika %d',
            h: 'saa limoja',
            hh: 'masaa %d',
            d: 'siku moja',
            dd: 'siku %d',
            M: 'mwezi mmoja',
            MM: 'miezi %d',
            y: 'mwaka mmoja',
            yy: 'miaka %d',
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 7, // The week that contains Jan 7th is the first week of the year.
        },
    });

    return sw;

})));


/***/ }),

/***/ 27333:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Tamil [ta]
//! author : Arjunkumar Krishnamoorthy : https://github.com/tk120404

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var symbolMap = {
            1: '௧',
            2: '௨',
            3: '௩',
            4: '௪',
            5: '௫',
            6: '௬',
            7: '௭',
            8: '௮',
            9: '௯',
            0: '௦',
        },
        numberMap = {
            '௧': '1',
            '௨': '2',
            '௩': '3',
            '௪': '4',
            '௫': '5',
            '௬': '6',
            '௭': '7',
            '௮': '8',
            '௯': '9',
            '௦': '0',
        };

    var ta = moment.defineLocale('ta', {
        months: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split(
            '_'
        ),
        monthsShort:
            'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split(
                '_'
            ),
        weekdays:
            'ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை'.split(
                '_'
            ),
        weekdaysShort: 'ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி'.split(
            '_'
        ),
        weekdaysMin: 'ஞா_தி_செ_பு_வி_வெ_ச'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY, HH:mm',
            LLLL: 'dddd, D MMMM YYYY, HH:mm',
        },
        calendar: {
            sameDay: '[இன்று] LT',
            nextDay: '[நாளை] LT',
            nextWeek: 'dddd, LT',
            lastDay: '[நேற்று] LT',
            lastWeek: '[கடந்த வாரம்] dddd, LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: '%s இல்',
            past: '%s முன்',
            s: 'ஒரு சில விநாடிகள்',
            ss: '%d விநாடிகள்',
            m: 'ஒரு நிமிடம்',
            mm: '%d நிமிடங்கள்',
            h: 'ஒரு மணி நேரம்',
            hh: '%d மணி நேரம்',
            d: 'ஒரு நாள்',
            dd: '%d நாட்கள்',
            M: 'ஒரு மாதம்',
            MM: '%d மாதங்கள்',
            y: 'ஒரு வருடம்',
            yy: '%d ஆண்டுகள்',
        },
        dayOfMonthOrdinalParse: /\d{1,2}வது/,
        ordinal: function (number) {
            return number + 'வது';
        },
        preparse: function (string) {
            return string.replace(/[௧௨௩௪௫௬௭௮௯௦]/g, function (match) {
                return numberMap[match];
            });
        },
        postformat: function (string) {
            return string.replace(/\d/g, function (match) {
                return symbolMap[match];
            });
        },
        // refer http://ta.wikipedia.org/s/1er1
        meridiemParse: /யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,
        meridiem: function (hour, minute, isLower) {
            if (hour < 2) {
                return ' யாமம்';
            } else if (hour < 6) {
                return ' வைகறை'; // வைகறை
            } else if (hour < 10) {
                return ' காலை'; // காலை
            } else if (hour < 14) {
                return ' நண்பகல்'; // நண்பகல்
            } else if (hour < 18) {
                return ' எற்பாடு'; // எற்பாடு
            } else if (hour < 22) {
                return ' மாலை'; // மாலை
            } else {
                return ' யாமம்';
            }
        },
        meridiemHour: function (hour, meridiem) {
            if (hour === 12) {
                hour = 0;
            }
            if (meridiem === 'யாமம்') {
                return hour < 2 ? hour : hour + 12;
            } else if (meridiem === 'வைகறை' || meridiem === 'காலை') {
                return hour;
            } else if (meridiem === 'நண்பகல்') {
                return hour >= 10 ? hour : hour + 12;
            } else {
                return hour + 12;
            }
        },
        week: {
            dow: 0, // Sunday is the first day of the week.
            doy: 6, // The week that contains Jan 6th is the first week of the year.
        },
    });

    return ta;

})));


/***/ }),

/***/ 23110:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Telugu [te]
//! author : Krishna Chaitanya Thota : https://github.com/kcthota

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var te = moment.defineLocale('te', {
        months: 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split(
            '_'
        ),
        monthsShort:
            'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split(
                '_'
            ),
        monthsParseExact: true,
        weekdays:
            'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split(
                '_'
            ),
        weekdaysShort: 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'),
        weekdaysMin: 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'),
        longDateFormat: {
            LT: 'A h:mm',
            LTS: 'A h:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY, A h:mm',
            LLLL: 'dddd, D MMMM YYYY, A h:mm',
        },
        calendar: {
            sameDay: '[నేడు] LT',
            nextDay: '[రేపు] LT',
            nextWeek: 'dddd, LT',
            lastDay: '[నిన్న] LT',
            lastWeek: '[గత] dddd, LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: '%s లో',
            past: '%s క్రితం',
            s: 'కొన్ని క్షణాలు',
            ss: '%d సెకన్లు',
            m: 'ఒక నిమిషం',
            mm: '%d నిమిషాలు',
            h: 'ఒక గంట',
            hh: '%d గంటలు',
            d: 'ఒక రోజు',
            dd: '%d రోజులు',
            M: 'ఒక నెల',
            MM: '%d నెలలు',
            y: 'ఒక సంవత్సరం',
            yy: '%d సంవత్సరాలు',
        },
        dayOfMonthOrdinalParse: /\d{1,2}వ/,
        ordinal: '%dవ',
        meridiemParse: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,
        meridiemHour: function (hour, meridiem) {
            if (hour === 12) {
                hour = 0;
            }
            if (meridiem === 'రాత్రి') {
                return hour < 4 ? hour : hour + 12;
            } else if (meridiem === 'ఉదయం') {
                return hour;
            } else if (meridiem === 'మధ్యాహ్నం') {
                return hour >= 10 ? hour : hour + 12;
            } else if (meridiem === 'సాయంత్రం') {
                return hour + 12;
            }
        },
        meridiem: function (hour, minute, isLower) {
            if (hour < 4) {
                return 'రాత్రి';
            } else if (hour < 10) {
                return 'ఉదయం';
            } else if (hour < 17) {
                return 'మధ్యాహ్నం';
            } else if (hour < 20) {
                return 'సాయంత్రం';
            } else {
                return 'రాత్రి';
            }
        },
        week: {
            dow: 0, // Sunday is the first day of the week.
            doy: 6, // The week that contains Jan 6th is the first week of the year.
        },
    });

    return te;

})));


/***/ }),

/***/ 52095:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Tetun Dili (East Timor) [tet]
//! author : Joshua Brooks : https://github.com/joshbrooks
//! author : Onorio De J. Afonso : https://github.com/marobo
//! author : Sonia Simoes : https://github.com/soniasimoes

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var tet = moment.defineLocale('tet', {
        months: 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split(
            '_'
        ),
        monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),
        weekdays: 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu'.split('_'),
        weekdaysShort: 'Dom_Seg_Ters_Kua_Kint_Sest_Sab'.split('_'),
        weekdaysMin: 'Do_Seg_Te_Ku_Ki_Ses_Sa'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd, D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[Ohin iha] LT',
            nextDay: '[Aban iha] LT',
            nextWeek: 'dddd [iha] LT',
            lastDay: '[Horiseik iha] LT',
            lastWeek: 'dddd [semana kotuk] [iha] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'iha %s',
            past: '%s liuba',
            s: 'segundu balun',
            ss: 'segundu %d',
            m: 'minutu ida',
            mm: 'minutu %d',
            h: 'oras ida',
            hh: 'oras %d',
            d: 'loron ida',
            dd: 'loron %d',
            M: 'fulan ida',
            MM: 'fulan %d',
            y: 'tinan ida',
            yy: 'tinan %d',
        },
        dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
        ordinal: function (number) {
            var b = number % 10,
                output =
                    ~~((number % 100) / 10) === 1
                        ? 'th'
                        : b === 1
                        ? 'st'
                        : b === 2
                        ? 'nd'
                        : b === 3
                        ? 'rd'
                        : 'th';
            return number + output;
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return tet;

})));


/***/ }),

/***/ 27321:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Tajik [tg]
//! author : Orif N. Jr. : https://github.com/orif-jr

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var suffixes = {
        0: '-ум',
        1: '-ум',
        2: '-юм',
        3: '-юм',
        4: '-ум',
        5: '-ум',
        6: '-ум',
        7: '-ум',
        8: '-ум',
        9: '-ум',
        10: '-ум',
        12: '-ум',
        13: '-ум',
        20: '-ум',
        30: '-юм',
        40: '-ум',
        50: '-ум',
        60: '-ум',
        70: '-ум',
        80: '-ум',
        90: '-ум',
        100: '-ум',
    };

    var tg = moment.defineLocale('tg', {
        months: {
            format: 'январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри'.split(
                '_'
            ),
            standalone:
                'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split(
                    '_'
                ),
        },
        monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),
        weekdays: 'якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе'.split(
            '_'
        ),
        weekdaysShort: 'яшб_дшб_сшб_чшб_пшб_ҷум_шнб'.split('_'),
        weekdaysMin: 'яш_дш_сш_чш_пш_ҷм_шб'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD.MM.YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd, D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[Имрӯз соати] LT',
            nextDay: '[Фардо соати] LT',
            lastDay: '[Дирӯз соати] LT',
            nextWeek: 'dddd[и] [ҳафтаи оянда соати] LT',
            lastWeek: 'dddd[и] [ҳафтаи гузашта соати] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'баъди %s',
            past: '%s пеш',
            s: 'якчанд сония',
            m: 'як дақиқа',
            mm: '%d дақиқа',
            h: 'як соат',
            hh: '%d соат',
            d: 'як рӯз',
            dd: '%d рӯз',
            M: 'як моҳ',
            MM: '%d моҳ',
            y: 'як сол',
            yy: '%d сол',
        },
        meridiemParse: /шаб|субҳ|рӯз|бегоҳ/,
        meridiemHour: function (hour, meridiem) {
            if (hour === 12) {
                hour = 0;
            }
            if (meridiem === 'шаб') {
                return hour < 4 ? hour : hour + 12;
            } else if (meridiem === 'субҳ') {
                return hour;
            } else if (meridiem === 'рӯз') {
                return hour >= 11 ? hour : hour + 12;
            } else if (meridiem === 'бегоҳ') {
                return hour + 12;
            }
        },
        meridiem: function (hour, minute, isLower) {
            if (hour < 4) {
                return 'шаб';
            } else if (hour < 11) {
                return 'субҳ';
            } else if (hour < 16) {
                return 'рӯз';
            } else if (hour < 19) {
                return 'бегоҳ';
            } else {
                return 'шаб';
            }
        },
        dayOfMonthOrdinalParse: /\d{1,2}-(ум|юм)/,
        ordinal: function (number) {
            var a = number % 10,
                b = number >= 100 ? 100 : null;
            return number + (suffixes[number] || suffixes[a] || suffixes[b]);
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 7, // The week that contains Jan 1th is the first week of the year.
        },
    });

    return tg;

})));


/***/ }),

/***/ 9041:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Thai [th]
//! author : Kridsada Thanabulpong : https://github.com/sirn

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var th = moment.defineLocale('th', {
        months: 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split(
            '_'
        ),
        monthsShort:
            'ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.'.split(
                '_'
            ),
        monthsParseExact: true,
        weekdays: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'),
        weekdaysShort: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split('_'), // yes, three characters difference
        weekdaysMin: 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'H:mm',
            LTS: 'H:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY เวลา H:mm',
            LLLL: 'วันddddที่ D MMMM YYYY เวลา H:mm',
        },
        meridiemParse: /ก่อนเที่ยง|หลังเที่ยง/,
        isPM: function (input) {
            return input === 'หลังเที่ยง';
        },
        meridiem: function (hour, minute, isLower) {
            if (hour < 12) {
                return 'ก่อนเที่ยง';
            } else {
                return 'หลังเที่ยง';
            }
        },
        calendar: {
            sameDay: '[วันนี้ เวลา] LT',
            nextDay: '[พรุ่งนี้ เวลา] LT',
            nextWeek: 'dddd[หน้า เวลา] LT',
            lastDay: '[เมื่อวานนี้ เวลา] LT',
            lastWeek: '[วัน]dddd[ที่แล้ว เวลา] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'อีก %s',
            past: '%sที่แล้ว',
            s: 'ไม่กี่วินาที',
            ss: '%d วินาที',
            m: '1 นาที',
            mm: '%d นาที',
            h: '1 ชั่วโมง',
            hh: '%d ชั่วโมง',
            d: '1 วัน',
            dd: '%d วัน',
            w: '1 สัปดาห์',
            ww: '%d สัปดาห์',
            M: '1 เดือน',
            MM: '%d เดือน',
            y: '1 ปี',
            yy: '%d ปี',
        },
    });

    return th;

})));


/***/ }),

/***/ 19005:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Turkmen [tk]
//! author : Atamyrat Abdyrahmanov : https://github.com/atamyratabdy

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var suffixes = {
        1: "'inji",
        5: "'inji",
        8: "'inji",
        70: "'inji",
        80: "'inji",
        2: "'nji",
        7: "'nji",
        20: "'nji",
        50: "'nji",
        3: "'ünji",
        4: "'ünji",
        100: "'ünji",
        6: "'njy",
        9: "'unjy",
        10: "'unjy",
        30: "'unjy",
        60: "'ynjy",
        90: "'ynjy",
    };

    var tk = moment.defineLocale('tk', {
        months: 'Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr'.split(
            '_'
        ),
        monthsShort: 'Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek'.split('_'),
        weekdays: 'Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe'.split(
            '_'
        ),
        weekdaysShort: 'Ýek_Duş_Siş_Çar_Pen_Ann_Şen'.split('_'),
        weekdaysMin: 'Ýk_Dş_Sş_Çr_Pn_An_Şn'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD.MM.YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd, D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[bugün sagat] LT',
            nextDay: '[ertir sagat] LT',
            nextWeek: '[indiki] dddd [sagat] LT',
            lastDay: '[düýn] LT',
            lastWeek: '[geçen] dddd [sagat] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: '%s soň',
            past: '%s öň',
            s: 'birnäçe sekunt',
            m: 'bir minut',
            mm: '%d minut',
            h: 'bir sagat',
            hh: '%d sagat',
            d: 'bir gün',
            dd: '%d gün',
            M: 'bir aý',
            MM: '%d aý',
            y: 'bir ýyl',
            yy: '%d ýyl',
        },
        ordinal: function (number, period) {
            switch (period) {
                case 'd':
                case 'D':
                case 'Do':
                case 'DD':
                    return number;
                default:
                    if (number === 0) {
                        // special case for zero
                        return number + "'unjy";
                    }
                    var a = number % 10,
                        b = (number % 100) - a,
                        c = number >= 100 ? 100 : null;
                    return number + (suffixes[a] || suffixes[b] || suffixes[c]);
            }
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 7, // The week that contains Jan 7th is the first week of the year.
        },
    });

    return tk;

})));


/***/ }),

/***/ 75768:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Tagalog (Philippines) [tl-ph]
//! author : Dan Hagman : https://github.com/hagmandan

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var tlPh = moment.defineLocale('tl-ph', {
        months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split(
            '_'
        ),
        monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
        weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split(
            '_'
        ),
        weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
        weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'MM/D/YYYY',
            LL: 'MMMM D, YYYY',
            LLL: 'MMMM D, YYYY HH:mm',
            LLLL: 'dddd, MMMM DD, YYYY HH:mm',
        },
        calendar: {
            sameDay: 'LT [ngayong araw]',
            nextDay: '[Bukas ng] LT',
            nextWeek: 'LT [sa susunod na] dddd',
            lastDay: 'LT [kahapon]',
            lastWeek: 'LT [noong nakaraang] dddd',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'sa loob ng %s',
            past: '%s ang nakalipas',
            s: 'ilang segundo',
            ss: '%d segundo',
            m: 'isang minuto',
            mm: '%d minuto',
            h: 'isang oras',
            hh: '%d oras',
            d: 'isang araw',
            dd: '%d araw',
            M: 'isang buwan',
            MM: '%d buwan',
            y: 'isang taon',
            yy: '%d taon',
        },
        dayOfMonthOrdinalParse: /\d{1,2}/,
        ordinal: function (number) {
            return number;
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return tlPh;

})));


/***/ }),

/***/ 89444:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Klingon [tlh]
//! author : Dominika Kruk : https://github.com/amaranthrose

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var numbersNouns = 'pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut'.split('_');

    function translateFuture(output) {
        var time = output;
        time =
            output.indexOf('jaj') !== -1
                ? time.slice(0, -3) + 'leS'
                : output.indexOf('jar') !== -1
                ? time.slice(0, -3) + 'waQ'
                : output.indexOf('DIS') !== -1
                ? time.slice(0, -3) + 'nem'
                : time + ' pIq';
        return time;
    }

    function translatePast(output) {
        var time = output;
        time =
            output.indexOf('jaj') !== -1
                ? time.slice(0, -3) + 'Hu’'
                : output.indexOf('jar') !== -1
                ? time.slice(0, -3) + 'wen'
                : output.indexOf('DIS') !== -1
                ? time.slice(0, -3) + 'ben'
                : time + ' ret';
        return time;
    }

    function translate(number, withoutSuffix, string, isFuture) {
        var numberNoun = numberAsNoun(number);
        switch (string) {
            case 'ss':
                return numberNoun + ' lup';
            case 'mm':
                return numberNoun + ' tup';
            case 'hh':
                return numberNoun + ' rep';
            case 'dd':
                return numberNoun + ' jaj';
            case 'MM':
                return numberNoun + ' jar';
            case 'yy':
                return numberNoun + ' DIS';
        }
    }

    function numberAsNoun(number) {
        var hundred = Math.floor((number % 1000) / 100),
            ten = Math.floor((number % 100) / 10),
            one = number % 10,
            word = '';
        if (hundred > 0) {
            word += numbersNouns[hundred] + 'vatlh';
        }
        if (ten > 0) {
            word += (word !== '' ? ' ' : '') + numbersNouns[ten] + 'maH';
        }
        if (one > 0) {
            word += (word !== '' ? ' ' : '') + numbersNouns[one];
        }
        return word === '' ? 'pagh' : word;
    }

    var tlh = moment.defineLocale('tlh', {
        months: 'tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’'.split(
            '_'
        ),
        monthsShort:
            'jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’'.split(
                '_'
            ),
        monthsParseExact: true,
        weekdays: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split(
            '_'
        ),
        weekdaysShort:
            'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
        weekdaysMin:
            'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD.MM.YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd, D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[DaHjaj] LT',
            nextDay: '[wa’leS] LT',
            nextWeek: 'LLL',
            lastDay: '[wa’Hu’] LT',
            lastWeek: 'LLL',
            sameElse: 'L',
        },
        relativeTime: {
            future: translateFuture,
            past: translatePast,
            s: 'puS lup',
            ss: translate,
            m: 'wa’ tup',
            mm: translate,
            h: 'wa’ rep',
            hh: translate,
            d: 'wa’ jaj',
            dd: translate,
            M: 'wa’ jar',
            MM: translate,
            y: 'wa’ DIS',
            yy: translate,
        },
        dayOfMonthOrdinalParse: /\d{1,2}\./,
        ordinal: '%d.',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return tlh;

})));


/***/ }),

/***/ 72397:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Turkish [tr]
//! authors : Erhan Gundogan : https://github.com/erhangundogan,
//!           Burak Yiğit Kaya: https://github.com/BYK

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var suffixes = {
        1: "'inci",
        5: "'inci",
        8: "'inci",
        70: "'inci",
        80: "'inci",
        2: "'nci",
        7: "'nci",
        20: "'nci",
        50: "'nci",
        3: "'üncü",
        4: "'üncü",
        100: "'üncü",
        6: "'ncı",
        9: "'uncu",
        10: "'uncu",
        30: "'uncu",
        60: "'ıncı",
        90: "'ıncı",
    };

    var tr = moment.defineLocale('tr', {
        months: 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split(
            '_'
        ),
        monthsShort: 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'),
        weekdays: 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split(
            '_'
        ),
        weekdaysShort: 'Paz_Pzt_Sal_Çar_Per_Cum_Cmt'.split('_'),
        weekdaysMin: 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'),
        meridiem: function (hours, minutes, isLower) {
            if (hours < 12) {
                return isLower ? 'öö' : 'ÖÖ';
            } else {
                return isLower ? 'ös' : 'ÖS';
            }
        },
        meridiemParse: /öö|ÖÖ|ös|ÖS/,
        isPM: function (input) {
            return input === 'ös' || input === 'ÖS';
        },
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD.MM.YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd, D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[bugün saat] LT',
            nextDay: '[yarın saat] LT',
            nextWeek: '[gelecek] dddd [saat] LT',
            lastDay: '[dün] LT',
            lastWeek: '[geçen] dddd [saat] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: '%s sonra',
            past: '%s önce',
            s: 'birkaç saniye',
            ss: '%d saniye',
            m: 'bir dakika',
            mm: '%d dakika',
            h: 'bir saat',
            hh: '%d saat',
            d: 'bir gün',
            dd: '%d gün',
            w: 'bir hafta',
            ww: '%d hafta',
            M: 'bir ay',
            MM: '%d ay',
            y: 'bir yıl',
            yy: '%d yıl',
        },
        ordinal: function (number, period) {
            switch (period) {
                case 'd':
                case 'D':
                case 'Do':
                case 'DD':
                    return number;
                default:
                    if (number === 0) {
                        // special case for zero
                        return number + "'ıncı";
                    }
                    var a = number % 10,
                        b = (number % 100) - a,
                        c = number >= 100 ? 100 : null;
                    return number + (suffixes[a] || suffixes[b] || suffixes[c]);
            }
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 7, // The week that contains Jan 7th is the first week of the year.
        },
    });

    return tr;

})));


/***/ }),

/***/ 28254:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Talossan [tzl]
//! author : Robin van der Vliet : https://github.com/robin0van0der0v
//! author : Iustì Canun

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    // After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals.
    // This is currently too difficult (maybe even impossible) to add.
    var tzl = moment.defineLocale('tzl', {
        months: 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split(
            '_'
        ),
        monthsShort: 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'),
        weekdays: 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'),
        weekdaysShort: 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'),
        weekdaysMin: 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'),
        longDateFormat: {
            LT: 'HH.mm',
            LTS: 'HH.mm.ss',
            L: 'DD.MM.YYYY',
            LL: 'D. MMMM [dallas] YYYY',
            LLL: 'D. MMMM [dallas] YYYY HH.mm',
            LLLL: 'dddd, [li] D. MMMM [dallas] YYYY HH.mm',
        },
        meridiemParse: /d\'o|d\'a/i,
        isPM: function (input) {
            return "d'o" === input.toLowerCase();
        },
        meridiem: function (hours, minutes, isLower) {
            if (hours > 11) {
                return isLower ? "d'o" : "D'O";
            } else {
                return isLower ? "d'a" : "D'A";
            }
        },
        calendar: {
            sameDay: '[oxhi à] LT',
            nextDay: '[demà à] LT',
            nextWeek: 'dddd [à] LT',
            lastDay: '[ieiri à] LT',
            lastWeek: '[sür el] dddd [lasteu à] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'osprei %s',
            past: 'ja%s',
            s: processRelativeTime,
            ss: processRelativeTime,
            m: processRelativeTime,
            mm: processRelativeTime,
            h: processRelativeTime,
            hh: processRelativeTime,
            d: processRelativeTime,
            dd: processRelativeTime,
            M: processRelativeTime,
            MM: processRelativeTime,
            y: processRelativeTime,
            yy: processRelativeTime,
        },
        dayOfMonthOrdinalParse: /\d{1,2}\./,
        ordinal: '%d.',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    function processRelativeTime(number, withoutSuffix, key, isFuture) {
        var format = {
            s: ['viensas secunds', "'iensas secunds"],
            ss: [number + ' secunds', '' + number + ' secunds'],
            m: ["'n míut", "'iens míut"],
            mm: [number + ' míuts', '' + number + ' míuts'],
            h: ["'n þora", "'iensa þora"],
            hh: [number + ' þoras', '' + number + ' þoras'],
            d: ["'n ziua", "'iensa ziua"],
            dd: [number + ' ziuas', '' + number + ' ziuas'],
            M: ["'n mes", "'iens mes"],
            MM: [number + ' mesen', '' + number + ' mesen'],
            y: ["'n ar", "'iens ar"],
            yy: [number + ' ars', '' + number + ' ars'],
        };
        return isFuture
            ? format[key][0]
            : withoutSuffix
            ? format[key][0]
            : format[key][1];
    }

    return tzl;

})));


/***/ }),

/***/ 30699:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Central Atlas Tamazight Latin [tzm-latn]
//! author : Abdel Said : https://github.com/abdelsaid

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var tzmLatn = moment.defineLocale('tzm-latn', {
        months: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(
            '_'
        ),
        monthsShort:
            'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(
                '_'
            ),
        weekdays: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
        weekdaysShort: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
        weekdaysMin: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[asdkh g] LT',
            nextDay: '[aska g] LT',
            nextWeek: 'dddd [g] LT',
            lastDay: '[assant g] LT',
            lastWeek: 'dddd [g] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'dadkh s yan %s',
            past: 'yan %s',
            s: 'imik',
            ss: '%d imik',
            m: 'minuḍ',
            mm: '%d minuḍ',
            h: 'saɛa',
            hh: '%d tassaɛin',
            d: 'ass',
            dd: '%d ossan',
            M: 'ayowr',
            MM: '%d iyyirn',
            y: 'asgas',
            yy: '%d isgasn',
        },
        week: {
            dow: 6, // Saturday is the first day of the week.
            doy: 12, // The week that contains Jan 12th is the first week of the year.
        },
    });

    return tzmLatn;

})));


/***/ }),

/***/ 51106:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Central Atlas Tamazight [tzm]
//! author : Abdel Said : https://github.com/abdelsaid

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var tzm = moment.defineLocale('tzm', {
        months: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(
            '_'
        ),
        monthsShort:
            'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(
                '_'
            ),
        weekdays: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
        weekdaysShort: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
        weekdaysMin: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[ⴰⵙⴷⵅ ⴴ] LT',
            nextDay: '[ⴰⵙⴽⴰ ⴴ] LT',
            nextWeek: 'dddd [ⴴ] LT',
            lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT',
            lastWeek: 'dddd [ⴴ] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s',
            past: 'ⵢⴰⵏ %s',
            s: 'ⵉⵎⵉⴽ',
            ss: '%d ⵉⵎⵉⴽ',
            m: 'ⵎⵉⵏⵓⴺ',
            mm: '%d ⵎⵉⵏⵓⴺ',
            h: 'ⵙⴰⵄⴰ',
            hh: '%d ⵜⴰⵙⵙⴰⵄⵉⵏ',
            d: 'ⴰⵙⵙ',
            dd: '%d oⵙⵙⴰⵏ',
            M: 'ⴰⵢoⵓⵔ',
            MM: '%d ⵉⵢⵢⵉⵔⵏ',
            y: 'ⴰⵙⴳⴰⵙ',
            yy: '%d ⵉⵙⴳⴰⵙⵏ',
        },
        week: {
            dow: 6, // Saturday is the first day of the week.
            doy: 12, // The week that contains Jan 12th is the first week of the year.
        },
    });

    return tzm;

})));


/***/ }),

/***/ 9288:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Uyghur (China) [ug-cn]
//! author: boyaq : https://github.com/boyaq

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var ugCn = moment.defineLocale('ug-cn', {
        months: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split(
            '_'
        ),
        monthsShort:
            'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split(
                '_'
            ),
        weekdays: 'يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە'.split(
            '_'
        ),
        weekdaysShort: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'),
        weekdaysMin: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'YYYY-MM-DD',
            LL: 'YYYY-يىلىM-ئاينىڭD-كۈنى',
            LLL: 'YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm',
            LLLL: 'dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm',
        },
        meridiemParse: /يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,
        meridiemHour: function (hour, meridiem) {
            if (hour === 12) {
                hour = 0;
            }
            if (
                meridiem === 'يېرىم كېچە' ||
                meridiem === 'سەھەر' ||
                meridiem === 'چۈشتىن بۇرۇن'
            ) {
                return hour;
            } else if (meridiem === 'چۈشتىن كېيىن' || meridiem === 'كەچ') {
                return hour + 12;
            } else {
                return hour >= 11 ? hour : hour + 12;
            }
        },
        meridiem: function (hour, minute, isLower) {
            var hm = hour * 100 + minute;
            if (hm < 600) {
                return 'يېرىم كېچە';
            } else if (hm < 900) {
                return 'سەھەر';
            } else if (hm < 1130) {
                return 'چۈشتىن بۇرۇن';
            } else if (hm < 1230) {
                return 'چۈش';
            } else if (hm < 1800) {
                return 'چۈشتىن كېيىن';
            } else {
                return 'كەچ';
            }
        },
        calendar: {
            sameDay: '[بۈگۈن سائەت] LT',
            nextDay: '[ئەتە سائەت] LT',
            nextWeek: '[كېلەركى] dddd [سائەت] LT',
            lastDay: '[تۆنۈگۈن] LT',
            lastWeek: '[ئالدىنقى] dddd [سائەت] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: '%s كېيىن',
            past: '%s بۇرۇن',
            s: 'نەچچە سېكونت',
            ss: '%d سېكونت',
            m: 'بىر مىنۇت',
            mm: '%d مىنۇت',
            h: 'بىر سائەت',
            hh: '%d سائەت',
            d: 'بىر كۈن',
            dd: '%d كۈن',
            M: 'بىر ئاي',
            MM: '%d ئاي',
            y: 'بىر يىل',
            yy: '%d يىل',
        },

        dayOfMonthOrdinalParse: /\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,
        ordinal: function (number, period) {
            switch (period) {
                case 'd':
                case 'D':
                case 'DDD':
                    return number + '-كۈنى';
                case 'w':
                case 'W':
                    return number + '-ھەپتە';
                default:
                    return number;
            }
        },
        preparse: function (string) {
            return string.replace(/،/g, ',');
        },
        postformat: function (string) {
            return string.replace(/,/g, '،');
        },
        week: {
            // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
            dow: 1, // Monday is the first day of the week.
            doy: 7, // The week that contains Jan 1st is the first week of the year.
        },
    });

    return ugCn;

})));


/***/ }),

/***/ 67691:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Ukrainian [uk]
//! author : zemlanin : https://github.com/zemlanin
//! Author : Menelion Elensúle : https://github.com/Oire

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    function plural(word, num) {
        var forms = word.split('_');
        return num % 10 === 1 && num % 100 !== 11
            ? forms[0]
            : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)
            ? forms[1]
            : forms[2];
    }
    function relativeTimeWithPlural(number, withoutSuffix, key) {
        var format = {
            ss: withoutSuffix ? 'секунда_секунди_секунд' : 'секунду_секунди_секунд',
            mm: withoutSuffix ? 'хвилина_хвилини_хвилин' : 'хвилину_хвилини_хвилин',
            hh: withoutSuffix ? 'година_години_годин' : 'годину_години_годин',
            dd: 'день_дні_днів',
            MM: 'місяць_місяці_місяців',
            yy: 'рік_роки_років',
        };
        if (key === 'm') {
            return withoutSuffix ? 'хвилина' : 'хвилину';
        } else if (key === 'h') {
            return withoutSuffix ? 'година' : 'годину';
        } else {
            return number + ' ' + plural(format[key], +number);
        }
    }
    function weekdaysCaseReplace(m, format) {
        var weekdays = {
                nominative:
                    'неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота'.split(
                        '_'
                    ),
                accusative:
                    'неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу'.split(
                        '_'
                    ),
                genitive:
                    'неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи'.split(
                        '_'
                    ),
            },
            nounCase;

        if (m === true) {
            return weekdays['nominative']
                .slice(1, 7)
                .concat(weekdays['nominative'].slice(0, 1));
        }
        if (!m) {
            return weekdays['nominative'];
        }

        nounCase = /(\[[ВвУу]\]) ?dddd/.test(format)
            ? 'accusative'
            : /\[?(?:минулої|наступної)? ?\] ?dddd/.test(format)
            ? 'genitive'
            : 'nominative';
        return weekdays[nounCase][m.day()];
    }
    function processHoursFunction(str) {
        return function () {
            return str + 'о' + (this.hours() === 11 ? 'б' : '') + '] LT';
        };
    }

    var uk = moment.defineLocale('uk', {
        months: {
            format: 'січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня'.split(
                '_'
            ),
            standalone:
                'січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень'.split(
                    '_'
                ),
        },
        monthsShort: 'січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд'.split(
            '_'
        ),
        weekdays: weekdaysCaseReplace,
        weekdaysShort: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
        weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD.MM.YYYY',
            LL: 'D MMMM YYYY р.',
            LLL: 'D MMMM YYYY р., HH:mm',
            LLLL: 'dddd, D MMMM YYYY р., HH:mm',
        },
        calendar: {
            sameDay: processHoursFunction('[Сьогодні '),
            nextDay: processHoursFunction('[Завтра '),
            lastDay: processHoursFunction('[Вчора '),
            nextWeek: processHoursFunction('[У] dddd ['),
            lastWeek: function () {
                switch (this.day()) {
                    case 0:
                    case 3:
                    case 5:
                    case 6:
                        return processHoursFunction('[Минулої] dddd [').call(this);
                    case 1:
                    case 2:
                    case 4:
                        return processHoursFunction('[Минулого] dddd [').call(this);
                }
            },
            sameElse: 'L',
        },
        relativeTime: {
            future: 'за %s',
            past: '%s тому',
            s: 'декілька секунд',
            ss: relativeTimeWithPlural,
            m: relativeTimeWithPlural,
            mm: relativeTimeWithPlural,
            h: 'годину',
            hh: relativeTimeWithPlural,
            d: 'день',
            dd: relativeTimeWithPlural,
            M: 'місяць',
            MM: relativeTimeWithPlural,
            y: 'рік',
            yy: relativeTimeWithPlural,
        },
        // M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason
        meridiemParse: /ночі|ранку|дня|вечора/,
        isPM: function (input) {
            return /^(дня|вечора)$/.test(input);
        },
        meridiem: function (hour, minute, isLower) {
            if (hour < 4) {
                return 'ночі';
            } else if (hour < 12) {
                return 'ранку';
            } else if (hour < 17) {
                return 'дня';
            } else {
                return 'вечора';
            }
        },
        dayOfMonthOrdinalParse: /\d{1,2}-(й|го)/,
        ordinal: function (number, period) {
            switch (period) {
                case 'M':
                case 'd':
                case 'DDD':
                case 'w':
                case 'W':
                    return number + '-й';
                case 'D':
                    return number + '-го';
                default:
                    return number;
            }
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 7, // The week that contains Jan 7th is the first week of the year.
        },
    });

    return uk;

})));


/***/ }),

/***/ 13795:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Urdu [ur]
//! author : Sawood Alam : https://github.com/ibnesayeed
//! author : Zack : https://github.com/ZackVision

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var months = [
            'جنوری',
            'فروری',
            'مارچ',
            'اپریل',
            'مئی',
            'جون',
            'جولائی',
            'اگست',
            'ستمبر',
            'اکتوبر',
            'نومبر',
            'دسمبر',
        ],
        days = ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'];

    var ur = moment.defineLocale('ur', {
        months: months,
        monthsShort: months,
        weekdays: days,
        weekdaysShort: days,
        weekdaysMin: days,
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd، D MMMM YYYY HH:mm',
        },
        meridiemParse: /صبح|شام/,
        isPM: function (input) {
            return 'شام' === input;
        },
        meridiem: function (hour, minute, isLower) {
            if (hour < 12) {
                return 'صبح';
            }
            return 'شام';
        },
        calendar: {
            sameDay: '[آج بوقت] LT',
            nextDay: '[کل بوقت] LT',
            nextWeek: 'dddd [بوقت] LT',
            lastDay: '[گذشتہ روز بوقت] LT',
            lastWeek: '[گذشتہ] dddd [بوقت] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: '%s بعد',
            past: '%s قبل',
            s: 'چند سیکنڈ',
            ss: '%d سیکنڈ',
            m: 'ایک منٹ',
            mm: '%d منٹ',
            h: 'ایک گھنٹہ',
            hh: '%d گھنٹے',
            d: 'ایک دن',
            dd: '%d دن',
            M: 'ایک ماہ',
            MM: '%d ماہ',
            y: 'ایک سال',
            yy: '%d سال',
        },
        preparse: function (string) {
            return string.replace(/،/g, ',');
        },
        postformat: function (string) {
            return string.replace(/,/g, '،');
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return ur;

})));


/***/ }),

/***/ 60588:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Uzbek Latin [uz-latn]
//! author : Rasulbek Mirzayev : github.com/Rasulbeeek

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var uzLatn = moment.defineLocale('uz-latn', {
        months: 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split(
            '_'
        ),
        monthsShort: 'Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek'.split('_'),
        weekdays:
            'Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba'.split(
                '_'
            ),
        weekdaysShort: 'Yak_Dush_Sesh_Chor_Pay_Jum_Shan'.split('_'),
        weekdaysMin: 'Ya_Du_Se_Cho_Pa_Ju_Sha'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'D MMMM YYYY, dddd HH:mm',
        },
        calendar: {
            sameDay: '[Bugun soat] LT [da]',
            nextDay: '[Ertaga] LT [da]',
            nextWeek: 'dddd [kuni soat] LT [da]',
            lastDay: '[Kecha soat] LT [da]',
            lastWeek: "[O'tgan] dddd [kuni soat] LT [da]",
            sameElse: 'L',
        },
        relativeTime: {
            future: 'Yaqin %s ichida',
            past: 'Bir necha %s oldin',
            s: 'soniya',
            ss: '%d soniya',
            m: 'bir daqiqa',
            mm: '%d daqiqa',
            h: 'bir soat',
            hh: '%d soat',
            d: 'bir kun',
            dd: '%d kun',
            M: 'bir oy',
            MM: '%d oy',
            y: 'bir yil',
            yy: '%d yil',
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 7, // The week that contains Jan 7th is the first week of the year.
        },
    });

    return uzLatn;

})));


/***/ }),

/***/ 6791:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Uzbek [uz]
//! author : Sardor Muminov : https://github.com/muminoff

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var uz = moment.defineLocale('uz', {
        months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split(
            '_'
        ),
        monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),
        weekdays: 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split('_'),
        weekdaysShort: 'Якш_Душ_Сеш_Чор_Пай_Жум_Шан'.split('_'),
        weekdaysMin: 'Як_Ду_Се_Чо_Па_Жу_Ша'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'D MMMM YYYY, dddd HH:mm',
        },
        calendar: {
            sameDay: '[Бугун соат] LT [да]',
            nextDay: '[Эртага] LT [да]',
            nextWeek: 'dddd [куни соат] LT [да]',
            lastDay: '[Кеча соат] LT [да]',
            lastWeek: '[Утган] dddd [куни соат] LT [да]',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'Якин %s ичида',
            past: 'Бир неча %s олдин',
            s: 'фурсат',
            ss: '%d фурсат',
            m: 'бир дакика',
            mm: '%d дакика',
            h: 'бир соат',
            hh: '%d соат',
            d: 'бир кун',
            dd: '%d кун',
            M: 'бир ой',
            MM: '%d ой',
            y: 'бир йил',
            yy: '%d йил',
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 7, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return uz;

})));


/***/ }),

/***/ 65666:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Vietnamese [vi]
//! author : Bang Nguyen : https://github.com/bangnk
//! author : Chien Kira : https://github.com/chienkira

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var vi = moment.defineLocale('vi', {
        months: 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split(
            '_'
        ),
        monthsShort:
            'Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12'.split(
                '_'
            ),
        monthsParseExact: true,
        weekdays: 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split(
            '_'
        ),
        weekdaysShort: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
        weekdaysMin: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
        weekdaysParseExact: true,
        meridiemParse: /sa|ch/i,
        isPM: function (input) {
            return /^ch$/i.test(input);
        },
        meridiem: function (hours, minutes, isLower) {
            if (hours < 12) {
                return isLower ? 'sa' : 'SA';
            } else {
                return isLower ? 'ch' : 'CH';
            }
        },
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM [năm] YYYY',
            LLL: 'D MMMM [năm] YYYY HH:mm',
            LLLL: 'dddd, D MMMM [năm] YYYY HH:mm',
            l: 'DD/M/YYYY',
            ll: 'D MMM YYYY',
            lll: 'D MMM YYYY HH:mm',
            llll: 'ddd, D MMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[Hôm nay lúc] LT',
            nextDay: '[Ngày mai lúc] LT',
            nextWeek: 'dddd [tuần tới lúc] LT',
            lastDay: '[Hôm qua lúc] LT',
            lastWeek: 'dddd [tuần trước lúc] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: '%s tới',
            past: '%s trước',
            s: 'vài giây',
            ss: '%d giây',
            m: 'một phút',
            mm: '%d phút',
            h: 'một giờ',
            hh: '%d giờ',
            d: 'một ngày',
            dd: '%d ngày',
            w: 'một tuần',
            ww: '%d tuần',
            M: 'một tháng',
            MM: '%d tháng',
            y: 'một năm',
            yy: '%d năm',
        },
        dayOfMonthOrdinalParse: /\d{1,2}/,
        ordinal: function (number) {
            return number;
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return vi;

})));


/***/ }),

/***/ 14378:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Pseudo [x-pseudo]
//! author : Andrew Hood : https://github.com/andrewhood125

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var xPseudo = moment.defineLocale('x-pseudo', {
        months: 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split(
            '_'
        ),
        monthsShort:
            'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split(
                '_'
            ),
        monthsParseExact: true,
        weekdays:
            'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split(
                '_'
            ),
        weekdaysShort: 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'),
        weekdaysMin: 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'),
        weekdaysParseExact: true,
        longDateFormat: {
            LT: 'HH:mm',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY HH:mm',
            LLLL: 'dddd, D MMMM YYYY HH:mm',
        },
        calendar: {
            sameDay: '[T~ódá~ý át] LT',
            nextDay: '[T~ómó~rró~w át] LT',
            nextWeek: 'dddd [át] LT',
            lastDay: '[Ý~ést~érdá~ý át] LT',
            lastWeek: '[L~ást] dddd [át] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'í~ñ %s',
            past: '%s á~gó',
            s: 'á ~féw ~sécó~ñds',
            ss: '%d s~écóñ~ds',
            m: 'á ~míñ~úté',
            mm: '%d m~íñú~tés',
            h: 'á~ñ hó~úr',
            hh: '%d h~óúrs',
            d: 'á ~dáý',
            dd: '%d d~áýs',
            M: 'á ~móñ~th',
            MM: '%d m~óñt~hs',
            y: 'á ~ýéár',
            yy: '%d ý~éárs',
        },
        dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
        ordinal: function (number) {
            var b = number % 10,
                output =
                    ~~((number % 100) / 10) === 1
                        ? 'th'
                        : b === 1
                        ? 'st'
                        : b === 2
                        ? 'nd'
                        : b === 3
                        ? 'rd'
                        : 'th';
            return number + output;
        },
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return xPseudo;

})));


/***/ }),

/***/ 75805:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Yoruba Nigeria [yo]
//! author : Atolagbe Abisoye : https://github.com/andela-batolagbe

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var yo = moment.defineLocale('yo', {
        months: 'Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀'.split(
            '_'
        ),
        monthsShort: 'Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀'.split('_'),
        weekdays: 'Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta'.split('_'),
        weekdaysShort: 'Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá'.split('_'),
        weekdaysMin: 'Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb'.split('_'),
        longDateFormat: {
            LT: 'h:mm A',
            LTS: 'h:mm:ss A',
            L: 'DD/MM/YYYY',
            LL: 'D MMMM YYYY',
            LLL: 'D MMMM YYYY h:mm A',
            LLLL: 'dddd, D MMMM YYYY h:mm A',
        },
        calendar: {
            sameDay: '[Ònì ni] LT',
            nextDay: '[Ọ̀la ni] LT',
            nextWeek: "dddd [Ọsẹ̀ tón'bọ] [ni] LT",
            lastDay: '[Àna ni] LT',
            lastWeek: 'dddd [Ọsẹ̀ tólọ́] [ni] LT',
            sameElse: 'L',
        },
        relativeTime: {
            future: 'ní %s',
            past: '%s kọjá',
            s: 'ìsẹjú aayá die',
            ss: 'aayá %d',
            m: 'ìsẹjú kan',
            mm: 'ìsẹjú %d',
            h: 'wákati kan',
            hh: 'wákati %d',
            d: 'ọjọ́ kan',
            dd: 'ọjọ́ %d',
            M: 'osù kan',
            MM: 'osù %d',
            y: 'ọdún kan',
            yy: 'ọdún %d',
        },
        dayOfMonthOrdinalParse: /ọjọ́\s\d{1,2}/,
        ordinal: 'ọjọ́ %d',
        week: {
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return yo;

})));


/***/ }),

/***/ 83839:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Chinese (China) [zh-cn]
//! author : suupic : https://github.com/suupic
//! author : Zeno Zeng : https://github.com/zenozeng
//! author : uu109 : https://github.com/uu109

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var zhCn = moment.defineLocale('zh-cn', {
        months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(
            '_'
        ),
        monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
            '_'
        ),
        weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
        weekdaysShort: '周日_周一_周二_周三_周四_周五_周六'.split('_'),
        weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'YYYY/MM/DD',
            LL: 'YYYY年M月D日',
            LLL: 'YYYY年M月D日Ah点mm分',
            LLLL: 'YYYY年M月D日ddddAh点mm分',
            l: 'YYYY/M/D',
            ll: 'YYYY年M月D日',
            lll: 'YYYY年M月D日 HH:mm',
            llll: 'YYYY年M月D日dddd HH:mm',
        },
        meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
        meridiemHour: function (hour, meridiem) {
            if (hour === 12) {
                hour = 0;
            }
            if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
                return hour;
            } else if (meridiem === '下午' || meridiem === '晚上') {
                return hour + 12;
            } else {
                // '中午'
                return hour >= 11 ? hour : hour + 12;
            }
        },
        meridiem: function (hour, minute, isLower) {
            var hm = hour * 100 + minute;
            if (hm < 600) {
                return '凌晨';
            } else if (hm < 900) {
                return '早上';
            } else if (hm < 1130) {
                return '上午';
            } else if (hm < 1230) {
                return '中午';
            } else if (hm < 1800) {
                return '下午';
            } else {
                return '晚上';
            }
        },
        calendar: {
            sameDay: '[今天]LT',
            nextDay: '[明天]LT',
            nextWeek: function (now) {
                if (now.week() !== this.week()) {
                    return '[下]dddLT';
                } else {
                    return '[本]dddLT';
                }
            },
            lastDay: '[昨天]LT',
            lastWeek: function (now) {
                if (this.week() !== now.week()) {
                    return '[上]dddLT';
                } else {
                    return '[本]dddLT';
                }
            },
            sameElse: 'L',
        },
        dayOfMonthOrdinalParse: /\d{1,2}(日|月|周)/,
        ordinal: function (number, period) {
            switch (period) {
                case 'd':
                case 'D':
                case 'DDD':
                    return number + '日';
                case 'M':
                    return number + '月';
                case 'w':
                case 'W':
                    return number + '周';
                default:
                    return number;
            }
        },
        relativeTime: {
            future: '%s后',
            past: '%s前',
            s: '几秒',
            ss: '%d 秒',
            m: '1 分钟',
            mm: '%d 分钟',
            h: '1 小时',
            hh: '%d 小时',
            d: '1 天',
            dd: '%d 天',
            w: '1 周',
            ww: '%d 周',
            M: '1 个月',
            MM: '%d 个月',
            y: '1 年',
            yy: '%d 年',
        },
        week: {
            // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
            dow: 1, // Monday is the first day of the week.
            doy: 4, // The week that contains Jan 4th is the first week of the year.
        },
    });

    return zhCn;

})));


/***/ }),

/***/ 55726:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Chinese (Hong Kong) [zh-hk]
//! author : Ben : https://github.com/ben-lin
//! author : Chris Lam : https://github.com/hehachris
//! author : Konstantin : https://github.com/skfd
//! author : Anthony : https://github.com/anthonylau

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var zhHk = moment.defineLocale('zh-hk', {
        months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(
            '_'
        ),
        monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
            '_'
        ),
        weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
        weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),
        weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'YYYY/MM/DD',
            LL: 'YYYY年M月D日',
            LLL: 'YYYY年M月D日 HH:mm',
            LLLL: 'YYYY年M月D日dddd HH:mm',
            l: 'YYYY/M/D',
            ll: 'YYYY年M月D日',
            lll: 'YYYY年M月D日 HH:mm',
            llll: 'YYYY年M月D日dddd HH:mm',
        },
        meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
        meridiemHour: function (hour, meridiem) {
            if (hour === 12) {
                hour = 0;
            }
            if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
                return hour;
            } else if (meridiem === '中午') {
                return hour >= 11 ? hour : hour + 12;
            } else if (meridiem === '下午' || meridiem === '晚上') {
                return hour + 12;
            }
        },
        meridiem: function (hour, minute, isLower) {
            var hm = hour * 100 + minute;
            if (hm < 600) {
                return '凌晨';
            } else if (hm < 900) {
                return '早上';
            } else if (hm < 1200) {
                return '上午';
            } else if (hm === 1200) {
                return '中午';
            } else if (hm < 1800) {
                return '下午';
            } else {
                return '晚上';
            }
        },
        calendar: {
            sameDay: '[今天]LT',
            nextDay: '[明天]LT',
            nextWeek: '[下]ddddLT',
            lastDay: '[昨天]LT',
            lastWeek: '[上]ddddLT',
            sameElse: 'L',
        },
        dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/,
        ordinal: function (number, period) {
            switch (period) {
                case 'd':
                case 'D':
                case 'DDD':
                    return number + '日';
                case 'M':
                    return number + '月';
                case 'w':
                case 'W':
                    return number + '週';
                default:
                    return number;
            }
        },
        relativeTime: {
            future: '%s後',
            past: '%s前',
            s: '幾秒',
            ss: '%d 秒',
            m: '1 分鐘',
            mm: '%d 分鐘',
            h: '1 小時',
            hh: '%d 小時',
            d: '1 天',
            dd: '%d 天',
            M: '1 個月',
            MM: '%d 個月',
            y: '1 年',
            yy: '%d 年',
        },
    });

    return zhHk;

})));


/***/ }),

/***/ 99807:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Chinese (Macau) [zh-mo]
//! author : Ben : https://github.com/ben-lin
//! author : Chris Lam : https://github.com/hehachris
//! author : Tan Yuanhong : https://github.com/le0tan

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var zhMo = moment.defineLocale('zh-mo', {
        months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(
            '_'
        ),
        monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
            '_'
        ),
        weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
        weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),
        weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'DD/MM/YYYY',
            LL: 'YYYY年M月D日',
            LLL: 'YYYY年M月D日 HH:mm',
            LLLL: 'YYYY年M月D日dddd HH:mm',
            l: 'D/M/YYYY',
            ll: 'YYYY年M月D日',
            lll: 'YYYY年M月D日 HH:mm',
            llll: 'YYYY年M月D日dddd HH:mm',
        },
        meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
        meridiemHour: function (hour, meridiem) {
            if (hour === 12) {
                hour = 0;
            }
            if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
                return hour;
            } else if (meridiem === '中午') {
                return hour >= 11 ? hour : hour + 12;
            } else if (meridiem === '下午' || meridiem === '晚上') {
                return hour + 12;
            }
        },
        meridiem: function (hour, minute, isLower) {
            var hm = hour * 100 + minute;
            if (hm < 600) {
                return '凌晨';
            } else if (hm < 900) {
                return '早上';
            } else if (hm < 1130) {
                return '上午';
            } else if (hm < 1230) {
                return '中午';
            } else if (hm < 1800) {
                return '下午';
            } else {
                return '晚上';
            }
        },
        calendar: {
            sameDay: '[今天] LT',
            nextDay: '[明天] LT',
            nextWeek: '[下]dddd LT',
            lastDay: '[昨天] LT',
            lastWeek: '[上]dddd LT',
            sameElse: 'L',
        },
        dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/,
        ordinal: function (number, period) {
            switch (period) {
                case 'd':
                case 'D':
                case 'DDD':
                    return number + '日';
                case 'M':
                    return number + '月';
                case 'w':
                case 'W':
                    return number + '週';
                default:
                    return number;
            }
        },
        relativeTime: {
            future: '%s內',
            past: '%s前',
            s: '幾秒',
            ss: '%d 秒',
            m: '1 分鐘',
            mm: '%d 分鐘',
            h: '1 小時',
            hh: '%d 小時',
            d: '1 天',
            dd: '%d 天',
            M: '1 個月',
            MM: '%d 個月',
            y: '1 年',
            yy: '%d 年',
        },
    });

    return zhMo;

})));


/***/ }),

/***/ 74152:
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

//! moment.js locale configuration
//! locale : Chinese (Taiwan) [zh-tw]
//! author : Ben : https://github.com/ben-lin
//! author : Chris Lam : https://github.com/hehachris

;(function (global, factory) {
    true ? factory(__webpack_require__(30381)) :
   0
}(this, (function (moment) { 'use strict';

    //! moment.js locale configuration

    var zhTw = moment.defineLocale('zh-tw', {
        months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(
            '_'
        ),
        monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
            '_'
        ),
        weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
        weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),
        weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
        longDateFormat: {
            LT: 'HH:mm',
            LTS: 'HH:mm:ss',
            L: 'YYYY/MM/DD',
            LL: 'YYYY年M月D日',
            LLL: 'YYYY年M月D日 HH:mm',
            LLLL: 'YYYY年M月D日dddd HH:mm',
            l: 'YYYY/M/D',
            ll: 'YYYY年M月D日',
            lll: 'YYYY年M月D日 HH:mm',
            llll: 'YYYY年M月D日dddd HH:mm',
        },
        meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
        meridiemHour: function (hour, meridiem) {
            if (hour === 12) {
                hour = 0;
            }
            if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
                return hour;
            } else if (meridiem === '中午') {
                return hour >= 11 ? hour : hour + 12;
            } else if (meridiem === '下午' || meridiem === '晚上') {
                return hour + 12;
            }
        },
        meridiem: function (hour, minute, isLower) {
            var hm = hour * 100 + minute;
            if (hm < 600) {
                return '凌晨';
            } else if (hm < 900) {
                return '早上';
            } else if (hm < 1130) {
                return '上午';
            } else if (hm < 1230) {
                return '中午';
            } else if (hm < 1800) {
                return '下午';
            } else {
                return '晚上';
            }
        },
        calendar: {
            sameDay: '[今天] LT',
            nextDay: '[明天] LT',
            nextWeek: '[下]dddd LT',
            lastDay: '[昨天] LT',
            lastWeek: '[上]dddd LT',
            sameElse: 'L',
        },
        dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/,
        ordinal: function (number, period) {
            switch (period) {
                case 'd':
                case 'D':
                case 'DDD':
                    return number + '日';
                case 'M':
                    return number + '月';
                case 'w':
                case 'W':
                    return number + '週';
                default:
                    return number;
            }
        },
        relativeTime: {
            future: '%s後',
            past: '%s前',
            s: '幾秒',
            ss: '%d 秒',
            m: '1 分鐘',
            mm: '%d 分鐘',
            h: '1 小時',
            hh: '%d 小時',
            d: '1 天',
            dd: '%d 天',
            M: '1 個月',
            MM: '%d 個月',
            y: '1 年',
            yy: '%d 年',
        },
    });

    return zhTw;

})));


/***/ }),

/***/ 46700:
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {

var map = {
	"./af": 42786,
	"./af.js": 42786,
	"./ar": 30867,
	"./ar-dz": 14130,
	"./ar-dz.js": 14130,
	"./ar-kw": 96135,
	"./ar-kw.js": 96135,
	"./ar-ly": 56440,
	"./ar-ly.js": 56440,
	"./ar-ma": 47702,
	"./ar-ma.js": 47702,
	"./ar-sa": 16040,
	"./ar-sa.js": 16040,
	"./ar-tn": 37100,
	"./ar-tn.js": 37100,
	"./ar.js": 30867,
	"./az": 31083,
	"./az.js": 31083,
	"./be": 9808,
	"./be.js": 9808,
	"./bg": 68338,
	"./bg.js": 68338,
	"./bm": 67438,
	"./bm.js": 67438,
	"./bn": 8905,
	"./bn-bd": 76225,
	"./bn-bd.js": 76225,
	"./bn.js": 8905,
	"./bo": 11560,
	"./bo.js": 11560,
	"./br": 1278,
	"./br.js": 1278,
	"./bs": 80622,
	"./bs.js": 80622,
	"./ca": 2468,
	"./ca.js": 2468,
	"./cs": 5822,
	"./cs.js": 5822,
	"./cv": 50877,
	"./cv.js": 50877,
	"./cy": 47373,
	"./cy.js": 47373,
	"./da": 24780,
	"./da.js": 24780,
	"./de": 59740,
	"./de-at": 60217,
	"./de-at.js": 60217,
	"./de-ch": 60894,
	"./de-ch.js": 60894,
	"./de.js": 59740,
	"./dv": 5300,
	"./dv.js": 5300,
	"./el": 50837,
	"./el.js": 50837,
	"./en-au": 78348,
	"./en-au.js": 78348,
	"./en-ca": 77925,
	"./en-ca.js": 77925,
	"./en-gb": 22243,
	"./en-gb.js": 22243,
	"./en-ie": 46436,
	"./en-ie.js": 46436,
	"./en-il": 47207,
	"./en-il.js": 47207,
	"./en-in": 44175,
	"./en-in.js": 44175,
	"./en-nz": 76319,
	"./en-nz.js": 76319,
	"./en-sg": 31662,
	"./en-sg.js": 31662,
	"./eo": 92915,
	"./eo.js": 92915,
	"./es": 55655,
	"./es-do": 55251,
	"./es-do.js": 55251,
	"./es-mx": 96112,
	"./es-mx.js": 96112,
	"./es-us": 71146,
	"./es-us.js": 71146,
	"./es.js": 55655,
	"./et": 5603,
	"./et.js": 5603,
	"./eu": 77763,
	"./eu.js": 77763,
	"./fa": 76959,
	"./fa.js": 76959,
	"./fi": 11897,
	"./fi.js": 11897,
	"./fil": 42549,
	"./fil.js": 42549,
	"./fo": 94694,
	"./fo.js": 94694,
	"./fr": 94470,
	"./fr-ca": 63049,
	"./fr-ca.js": 63049,
	"./fr-ch": 52330,
	"./fr-ch.js": 52330,
	"./fr.js": 94470,
	"./fy": 5044,
	"./fy.js": 5044,
	"./ga": 29295,
	"./ga.js": 29295,
	"./gd": 2101,
	"./gd.js": 2101,
	"./gl": 38794,
	"./gl.js": 38794,
	"./gom-deva": 27884,
	"./gom-deva.js": 27884,
	"./gom-latn": 23168,
	"./gom-latn.js": 23168,
	"./gu": 95349,
	"./gu.js": 95349,
	"./he": 24206,
	"./he.js": 24206,
	"./hi": 30094,
	"./hi.js": 30094,
	"./hr": 30316,
	"./hr.js": 30316,
	"./hu": 22138,
	"./hu.js": 22138,
	"./hy-am": 11423,
	"./hy-am.js": 11423,
	"./id": 29218,
	"./id.js": 29218,
	"./is": 90135,
	"./is.js": 90135,
	"./it": 90626,
	"./it-ch": 10150,
	"./it-ch.js": 10150,
	"./it.js": 90626,
	"./ja": 39183,
	"./ja.js": 39183,
	"./jv": 24286,
	"./jv.js": 24286,
	"./ka": 12105,
	"./ka.js": 12105,
	"./kk": 47772,
	"./kk.js": 47772,
	"./km": 18758,
	"./km.js": 18758,
	"./kn": 79282,
	"./kn.js": 79282,
	"./ko": 33730,
	"./ko.js": 33730,
	"./ku": 1408,
	"./ku.js": 1408,
	"./ky": 33291,
	"./ky.js": 33291,
	"./lb": 36841,
	"./lb.js": 36841,
	"./lo": 55466,
	"./lo.js": 55466,
	"./lt": 57010,
	"./lt.js": 57010,
	"./lv": 37595,
	"./lv.js": 37595,
	"./me": 39861,
	"./me.js": 39861,
	"./mi": 35493,
	"./mi.js": 35493,
	"./mk": 95966,
	"./mk.js": 95966,
	"./ml": 87341,
	"./ml.js": 87341,
	"./mn": 5115,
	"./mn.js": 5115,
	"./mr": 10370,
	"./mr.js": 10370,
	"./ms": 9847,
	"./ms-my": 41237,
	"./ms-my.js": 41237,
	"./ms.js": 9847,
	"./mt": 72126,
	"./mt.js": 72126,
	"./my": 56165,
	"./my.js": 56165,
	"./nb": 64924,
	"./nb.js": 64924,
	"./ne": 16744,
	"./ne.js": 16744,
	"./nl": 93901,
	"./nl-be": 59814,
	"./nl-be.js": 59814,
	"./nl.js": 93901,
	"./nn": 83877,
	"./nn.js": 83877,
	"./oc-lnc": 92135,
	"./oc-lnc.js": 92135,
	"./pa-in": 15858,
	"./pa-in.js": 15858,
	"./pl": 64495,
	"./pl.js": 64495,
	"./pt": 89520,
	"./pt-br": 57971,
	"./pt-br.js": 57971,
	"./pt.js": 89520,
	"./ro": 96459,
	"./ro.js": 96459,
	"./ru": 21793,
	"./ru.js": 21793,
	"./sd": 40950,
	"./sd.js": 40950,
	"./se": 10490,
	"./se.js": 10490,
	"./si": 90124,
	"./si.js": 90124,
	"./sk": 64249,
	"./sk.js": 64249,
	"./sl": 14985,
	"./sl.js": 14985,
	"./sq": 51104,
	"./sq.js": 51104,
	"./sr": 49131,
	"./sr-cyrl": 79915,
	"./sr-cyrl.js": 79915,
	"./sr.js": 49131,
	"./ss": 85893,
	"./ss.js": 85893,
	"./sv": 98760,
	"./sv.js": 98760,
	"./sw": 91172,
	"./sw.js": 91172,
	"./ta": 27333,
	"./ta.js": 27333,
	"./te": 23110,
	"./te.js": 23110,
	"./tet": 52095,
	"./tet.js": 52095,
	"./tg": 27321,
	"./tg.js": 27321,
	"./th": 9041,
	"./th.js": 9041,
	"./tk": 19005,
	"./tk.js": 19005,
	"./tl-ph": 75768,
	"./tl-ph.js": 75768,
	"./tlh": 89444,
	"./tlh.js": 89444,
	"./tr": 72397,
	"./tr.js": 72397,
	"./tzl": 28254,
	"./tzl.js": 28254,
	"./tzm": 51106,
	"./tzm-latn": 30699,
	"./tzm-latn.js": 30699,
	"./tzm.js": 51106,
	"./ug-cn": 9288,
	"./ug-cn.js": 9288,
	"./uk": 67691,
	"./uk.js": 67691,
	"./ur": 13795,
	"./ur.js": 13795,
	"./uz": 6791,
	"./uz-latn": 60588,
	"./uz-latn.js": 60588,
	"./uz.js": 6791,
	"./vi": 65666,
	"./vi.js": 65666,
	"./x-pseudo": 14378,
	"./x-pseudo.js": 14378,
	"./yo": 75805,
	"./yo.js": 75805,
	"./zh-cn": 83839,
	"./zh-cn.js": 83839,
	"./zh-hk": 55726,
	"./zh-hk.js": 55726,
	"./zh-mo": 99807,
	"./zh-mo.js": 99807,
	"./zh-tw": 74152,
	"./zh-tw.js": 74152
};


function webpackContext(req) {
	var id = webpackContextResolve(req);
	return __webpack_require__(id);
}
function webpackContextResolve(req) {
	if(!__webpack_require__.o(map, req)) {
		var e = new Error("Cannot find module '" + req + "'");
		e.code = 'MODULE_NOT_FOUND';
		throw e;
	}
	return map[req];
}
webpackContext.keys = function webpackContextKeys() {
	return Object.keys(map);
};
webpackContext.resolve = webpackContextResolve;
module.exports = webpackContext;
webpackContext.id = 46700;

/***/ }),

/***/ 30381:
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

/* module decorator */ module = __webpack_require__.nmd(module);
//! moment.js
//! version : 2.29.4
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com

;(function (global, factory) {
     true ? module.exports = factory() :
    0
}(this, (function () { 'use strict';

    var hookCallback;

    function hooks() {
        return hookCallback.apply(null, arguments);
    }

    // This is done to register the method called with moment()
    // without creating circular dependencies.
    function setHookCallback(callback) {
        hookCallback = callback;
    }

    function isArray(input) {
        return (
            input instanceof Array ||
            Object.prototype.toString.call(input) === '[object Array]'
        );
    }

    function isObject(input) {
        // IE8 will treat undefined and null as object if it wasn't for
        // input != null
        return (
            input != null &&
            Object.prototype.toString.call(input) === '[object Object]'
        );
    }

    function hasOwnProp(a, b) {
        return Object.prototype.hasOwnProperty.call(a, b);
    }

    function isObjectEmpty(obj) {
        if (Object.getOwnPropertyNames) {
            return Object.getOwnPropertyNames(obj).length === 0;
        } else {
            var k;
            for (k in obj) {
                if (hasOwnProp(obj, k)) {
                    return false;
                }
            }
            return true;
        }
    }

    function isUndefined(input) {
        return input === void 0;
    }

    function isNumber(input) {
        return (
            typeof input === 'number' ||
            Object.prototype.toString.call(input) === '[object Number]'
        );
    }

    function isDate(input) {
        return (
            input instanceof Date ||
            Object.prototype.toString.call(input) === '[object Date]'
        );
    }

    function map(arr, fn) {
        var res = [],
            i,
            arrLen = arr.length;
        for (i = 0; i < arrLen; ++i) {
            res.push(fn(arr[i], i));
        }
        return res;
    }

    function extend(a, b) {
        for (var i in b) {
            if (hasOwnProp(b, i)) {
                a[i] = b[i];
            }
        }

        if (hasOwnProp(b, 'toString')) {
            a.toString = b.toString;
        }

        if (hasOwnProp(b, 'valueOf')) {
            a.valueOf = b.valueOf;
        }

        return a;
    }

    function createUTC(input, format, locale, strict) {
        return createLocalOrUTC(input, format, locale, strict, true).utc();
    }

    function defaultParsingFlags() {
        // We need to deep clone this object.
        return {
            empty: false,
            unusedTokens: [],
            unusedInput: [],
            overflow: -2,
            charsLeftOver: 0,
            nullInput: false,
            invalidEra: null,
            invalidMonth: null,
            invalidFormat: false,
            userInvalidated: false,
            iso: false,
            parsedDateParts: [],
            era: null,
            meridiem: null,
            rfc2822: false,
            weekdayMismatch: false,
        };
    }

    function getParsingFlags(m) {
        if (m._pf == null) {
            m._pf = defaultParsingFlags();
        }
        return m._pf;
    }

    var some;
    if (Array.prototype.some) {
        some = Array.prototype.some;
    } else {
        some = function (fun) {
            var t = Object(this),
                len = t.length >>> 0,
                i;

            for (i = 0; i < len; i++) {
                if (i in t && fun.call(this, t[i], i, t)) {
                    return true;
                }
            }

            return false;
        };
    }

    function isValid(m) {
        if (m._isValid == null) {
            var flags = getParsingFlags(m),
                parsedParts = some.call(flags.parsedDateParts, function (i) {
                    return i != null;
                }),
                isNowValid =
                    !isNaN(m._d.getTime()) &&
                    flags.overflow < 0 &&
                    !flags.empty &&
                    !flags.invalidEra &&
                    !flags.invalidMonth &&
                    !flags.invalidWeekday &&
                    !flags.weekdayMismatch &&
                    !flags.nullInput &&
                    !flags.invalidFormat &&
                    !flags.userInvalidated &&
                    (!flags.meridiem || (flags.meridiem && parsedParts));

            if (m._strict) {
                isNowValid =
                    isNowValid &&
                    flags.charsLeftOver === 0 &&
                    flags.unusedTokens.length === 0 &&
                    flags.bigHour === undefined;
            }

            if (Object.isFrozen == null || !Object.isFrozen(m)) {
                m._isValid = isNowValid;
            } else {
                return isNowValid;
            }
        }
        return m._isValid;
    }

    function createInvalid(flags) {
        var m = createUTC(NaN);
        if (flags != null) {
            extend(getParsingFlags(m), flags);
        } else {
            getParsingFlags(m).userInvalidated = true;
        }

        return m;
    }

    // Plugins that add properties should also add the key here (null value),
    // so we can properly clone ourselves.
    var momentProperties = (hooks.momentProperties = []),
        updateInProgress = false;

    function copyConfig(to, from) {
        var i,
            prop,
            val,
            momentPropertiesLen = momentProperties.length;

        if (!isUndefined(from._isAMomentObject)) {
            to._isAMomentObject = from._isAMomentObject;
        }
        if (!isUndefined(from._i)) {
            to._i = from._i;
        }
        if (!isUndefined(from._f)) {
            to._f = from._f;
        }
        if (!isUndefined(from._l)) {
            to._l = from._l;
        }
        if (!isUndefined(from._strict)) {
            to._strict = from._strict;
        }
        if (!isUndefined(from._tzm)) {
            to._tzm = from._tzm;
        }
        if (!isUndefined(from._isUTC)) {
            to._isUTC = from._isUTC;
        }
        if (!isUndefined(from._offset)) {
            to._offset = from._offset;
        }
        if (!isUndefined(from._pf)) {
            to._pf = getParsingFlags(from);
        }
        if (!isUndefined(from._locale)) {
            to._locale = from._locale;
        }

        if (momentPropertiesLen > 0) {
            for (i = 0; i < momentPropertiesLen; i++) {
                prop = momentProperties[i];
                val = from[prop];
                if (!isUndefined(val)) {
                    to[prop] = val;
                }
            }
        }

        return to;
    }

    // Moment prototype object
    function Moment(config) {
        copyConfig(this, config);
        this._d = new Date(config._d != null ? config._d.getTime() : NaN);
        if (!this.isValid()) {
            this._d = new Date(NaN);
        }
        // Prevent infinite loop in case updateOffset creates new moment
        // objects.
        if (updateInProgress === false) {
            updateInProgress = true;
            hooks.updateOffset(this);
            updateInProgress = false;
        }
    }

    function isMoment(obj) {
        return (
            obj instanceof Moment || (obj != null && obj._isAMomentObject != null)
        );
    }

    function warn(msg) {
        if (
            hooks.suppressDeprecationWarnings === false &&
            typeof console !== 'undefined' &&
            console.warn
        ) {
            console.warn('Deprecation warning: ' + msg);
        }
    }

    function deprecate(msg, fn) {
        var firstTime = true;

        return extend(function () {
            if (hooks.deprecationHandler != null) {
                hooks.deprecationHandler(null, msg);
            }
            if (firstTime) {
                var args = [],
                    arg,
                    i,
                    key,
                    argLen = arguments.length;
                for (i = 0; i < argLen; i++) {
                    arg = '';
                    if (typeof arguments[i] === 'object') {
                        arg += '\n[' + i + '] ';
                        for (key in arguments[0]) {
                            if (hasOwnProp(arguments[0], key)) {
                                arg += key + ': ' + arguments[0][key] + ', ';
                            }
                        }
                        arg = arg.slice(0, -2); // Remove trailing comma and space
                    } else {
                        arg = arguments[i];
                    }
                    args.push(arg);
                }
                warn(
                    msg +
                        '\nArguments: ' +
                        Array.prototype.slice.call(args).join('') +
                        '\n' +
                        new Error().stack
                );
                firstTime = false;
            }
            return fn.apply(this, arguments);
        }, fn);
    }

    var deprecations = {};

    function deprecateSimple(name, msg) {
        if (hooks.deprecationHandler != null) {
            hooks.deprecationHandler(name, msg);
        }
        if (!deprecations[name]) {
            warn(msg);
            deprecations[name] = true;
        }
    }

    hooks.suppressDeprecationWarnings = false;
    hooks.deprecationHandler = null;

    function isFunction(input) {
        return (
            (typeof Function !== 'undefined' && input instanceof Function) ||
            Object.prototype.toString.call(input) === '[object Function]'
        );
    }

    function set(config) {
        var prop, i;
        for (i in config) {
            if (hasOwnProp(config, i)) {
                prop = config[i];
                if (isFunction(prop)) {
                    this[i] = prop;
                } else {
                    this['_' + i] = prop;
                }
            }
        }
        this._config = config;
        // Lenient ordinal parsing accepts just a number in addition to
        // number + (possibly) stuff coming from _dayOfMonthOrdinalParse.
        // TODO: Remove "ordinalParse" fallback in next major release.
        this._dayOfMonthOrdinalParseLenient = new RegExp(
            (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) +
                '|' +
                /\d{1,2}/.source
        );
    }

    function mergeConfigs(parentConfig, childConfig) {
        var res = extend({}, parentConfig),
            prop;
        for (prop in childConfig) {
            if (hasOwnProp(childConfig, prop)) {
                if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) {
                    res[prop] = {};
                    extend(res[prop], parentConfig[prop]);
                    extend(res[prop], childConfig[prop]);
                } else if (childConfig[prop] != null) {
                    res[prop] = childConfig[prop];
                } else {
                    delete res[prop];
                }
            }
        }
        for (prop in parentConfig) {
            if (
                hasOwnProp(parentConfig, prop) &&
                !hasOwnProp(childConfig, prop) &&
                isObject(parentConfig[prop])
            ) {
                // make sure changes to properties don't modify parent config
                res[prop] = extend({}, res[prop]);
            }
        }
        return res;
    }

    function Locale(config) {
        if (config != null) {
            this.set(config);
        }
    }

    var keys;

    if (Object.keys) {
        keys = Object.keys;
    } else {
        keys = function (obj) {
            var i,
                res = [];
            for (i in obj) {
                if (hasOwnProp(obj, i)) {
                    res.push(i);
                }
            }
            return res;
        };
    }

    var defaultCalendar = {
        sameDay: '[Today at] LT',
        nextDay: '[Tomorrow at] LT',
        nextWeek: 'dddd [at] LT',
        lastDay: '[Yesterday at] LT',
        lastWeek: '[Last] dddd [at] LT',
        sameElse: 'L',
    };

    function calendar(key, mom, now) {
        var output = this._calendar[key] || this._calendar['sameElse'];
        return isFunction(output) ? output.call(mom, now) : output;
    }

    function zeroFill(number, targetLength, forceSign) {
        var absNumber = '' + Math.abs(number),
            zerosToFill = targetLength - absNumber.length,
            sign = number >= 0;
        return (
            (sign ? (forceSign ? '+' : '') : '-') +
            Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) +
            absNumber
        );
    }

    var formattingTokens =
            /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,
        localFormattingTokens = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,
        formatFunctions = {},
        formatTokenFunctions = {};

    // token:    'M'
    // padded:   ['MM', 2]
    // ordinal:  'Mo'
    // callback: function () { this.month() + 1 }
    function addFormatToken(token, padded, ordinal, callback) {
        var func = callback;
        if (typeof callback === 'string') {
            func = function () {
                return this[callback]();
            };
        }
        if (token) {
            formatTokenFunctions[token] = func;
        }
        if (padded) {
            formatTokenFunctions[padded[0]] = function () {
                return zeroFill(func.apply(this, arguments), padded[1], padded[2]);
            };
        }
        if (ordinal) {
            formatTokenFunctions[ordinal] = function () {
                return this.localeData().ordinal(
                    func.apply(this, arguments),
                    token
                );
            };
        }
    }

    function removeFormattingTokens(input) {
        if (input.match(/\[[\s\S]/)) {
            return input.replace(/^\[|\]$/g, '');
        }
        return input.replace(/\\/g, '');
    }

    function makeFormatFunction(format) {
        var array = format.match(formattingTokens),
            i,
            length;

        for (i = 0, length = array.length; i < length; i++) {
            if (formatTokenFunctions[array[i]]) {
                array[i] = formatTokenFunctions[array[i]];
            } else {
                array[i] = removeFormattingTokens(array[i]);
            }
        }

        return function (mom) {
            var output = '',
                i;
            for (i = 0; i < length; i++) {
                output += isFunction(array[i])
                    ? array[i].call(mom, format)
                    : array[i];
            }
            return output;
        };
    }

    // format date using native date object
    function formatMoment(m, format) {
        if (!m.isValid()) {
            return m.localeData().invalidDate();
        }

        format = expandFormat(format, m.localeData());
        formatFunctions[format] =
            formatFunctions[format] || makeFormatFunction(format);

        return formatFunctions[format](m);
    }

    function expandFormat(format, locale) {
        var i = 5;

        function replaceLongDateFormatTokens(input) {
            return locale.longDateFormat(input) || input;
        }

        localFormattingTokens.lastIndex = 0;
        while (i >= 0 && localFormattingTokens.test(format)) {
            format = format.replace(
                localFormattingTokens,
                replaceLongDateFormatTokens
            );
            localFormattingTokens.lastIndex = 0;
            i -= 1;
        }

        return format;
    }

    var defaultLongDateFormat = {
        LTS: 'h:mm:ss A',
        LT: 'h:mm A',
        L: 'MM/DD/YYYY',
        LL: 'MMMM D, YYYY',
        LLL: 'MMMM D, YYYY h:mm A',
        LLLL: 'dddd, MMMM D, YYYY h:mm A',
    };

    function longDateFormat(key) {
        var format = this._longDateFormat[key],
            formatUpper = this._longDateFormat[key.toUpperCase()];

        if (format || !formatUpper) {
            return format;
        }

        this._longDateFormat[key] = formatUpper
            .match(formattingTokens)
            .map(function (tok) {
                if (
                    tok === 'MMMM' ||
                    tok === 'MM' ||
                    tok === 'DD' ||
                    tok === 'dddd'
                ) {
                    return tok.slice(1);
                }
                return tok;
            })
            .join('');

        return this._longDateFormat[key];
    }

    var defaultInvalidDate = 'Invalid date';

    function invalidDate() {
        return this._invalidDate;
    }

    var defaultOrdinal = '%d',
        defaultDayOfMonthOrdinalParse = /\d{1,2}/;

    function ordinal(number) {
        return this._ordinal.replace('%d', number);
    }

    var defaultRelativeTime = {
        future: 'in %s',
        past: '%s ago',
        s: 'a few seconds',
        ss: '%d seconds',
        m: 'a minute',
        mm: '%d minutes',
        h: 'an hour',
        hh: '%d hours',
        d: 'a day',
        dd: '%d days',
        w: 'a week',
        ww: '%d weeks',
        M: 'a month',
        MM: '%d months',
        y: 'a year',
        yy: '%d years',
    };

    function relativeTime(number, withoutSuffix, string, isFuture) {
        var output = this._relativeTime[string];
        return isFunction(output)
            ? output(number, withoutSuffix, string, isFuture)
            : output.replace(/%d/i, number);
    }

    function pastFuture(diff, output) {
        var format = this._relativeTime[diff > 0 ? 'future' : 'past'];
        return isFunction(format) ? format(output) : format.replace(/%s/i, output);
    }

    var aliases = {};

    function addUnitAlias(unit, shorthand) {
        var lowerCase = unit.toLowerCase();
        aliases[lowerCase] = aliases[lowerCase + 's'] = aliases[shorthand] = unit;
    }

    function normalizeUnits(units) {
        return typeof units === 'string'
            ? aliases[units] || aliases[units.toLowerCase()]
            : undefined;
    }

    function normalizeObjectUnits(inputObject) {
        var normalizedInput = {},
            normalizedProp,
            prop;

        for (prop in inputObject) {
            if (hasOwnProp(inputObject, prop)) {
                normalizedProp = normalizeUnits(prop);
                if (normalizedProp) {
                    normalizedInput[normalizedProp] = inputObject[prop];
                }
            }
        }

        return normalizedInput;
    }

    var priorities = {};

    function addUnitPriority(unit, priority) {
        priorities[unit] = priority;
    }

    function getPrioritizedUnits(unitsObj) {
        var units = [],
            u;
        for (u in unitsObj) {
            if (hasOwnProp(unitsObj, u)) {
                units.push({ unit: u, priority: priorities[u] });
            }
        }
        units.sort(function (a, b) {
            return a.priority - b.priority;
        });
        return units;
    }

    function isLeapYear(year) {
        return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0;
    }

    function absFloor(number) {
        if (number < 0) {
            // -0 -> 0
            return Math.ceil(number) || 0;
        } else {
            return Math.floor(number);
        }
    }

    function toInt(argumentForCoercion) {
        var coercedNumber = +argumentForCoercion,
            value = 0;

        if (coercedNumber !== 0 && isFinite(coercedNumber)) {
            value = absFloor(coercedNumber);
        }

        return value;
    }

    function makeGetSet(unit, keepTime) {
        return function (value) {
            if (value != null) {
                set$1(this, unit, value);
                hooks.updateOffset(this, keepTime);
                return this;
            } else {
                return get(this, unit);
            }
        };
    }

    function get(mom, unit) {
        return mom.isValid()
            ? mom._d['get' + (mom._isUTC ? 'UTC' : '') + unit]()
            : NaN;
    }

    function set$1(mom, unit, value) {
        if (mom.isValid() && !isNaN(value)) {
            if (
                unit === 'FullYear' &&
                isLeapYear(mom.year()) &&
                mom.month() === 1 &&
                mom.date() === 29
            ) {
                value = toInt(value);
                mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](
                    value,
                    mom.month(),
                    daysInMonth(value, mom.month())
                );
            } else {
                mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value);
            }
        }
    }

    // MOMENTS

    function stringGet(units) {
        units = normalizeUnits(units);
        if (isFunction(this[units])) {
            return this[units]();
        }
        return this;
    }

    function stringSet(units, value) {
        if (typeof units === 'object') {
            units = normalizeObjectUnits(units);
            var prioritized = getPrioritizedUnits(units),
                i,
                prioritizedLen = prioritized.length;
            for (i = 0; i < prioritizedLen; i++) {
                this[prioritized[i].unit](units[prioritized[i].unit]);
            }
        } else {
            units = normalizeUnits(units);
            if (isFunction(this[units])) {
                return this[units](value);
            }
        }
        return this;
    }

    var match1 = /\d/, //       0 - 9
        match2 = /\d\d/, //      00 - 99
        match3 = /\d{3}/, //     000 - 999
        match4 = /\d{4}/, //    0000 - 9999
        match6 = /[+-]?\d{6}/, // -999999 - 999999
        match1to2 = /\d\d?/, //       0 - 99
        match3to4 = /\d\d\d\d?/, //     999 - 9999
        match5to6 = /\d\d\d\d\d\d?/, //   99999 - 999999
        match1to3 = /\d{1,3}/, //       0 - 999
        match1to4 = /\d{1,4}/, //       0 - 9999
        match1to6 = /[+-]?\d{1,6}/, // -999999 - 999999
        matchUnsigned = /\d+/, //       0 - inf
        matchSigned = /[+-]?\d+/, //    -inf - inf
        matchOffset = /Z|[+-]\d\d:?\d\d/gi, // +00:00 -00:00 +0000 -0000 or Z
        matchShortOffset = /Z|[+-]\d\d(?::?\d\d)?/gi, // +00 -00 +00:00 -00:00 +0000 -0000 or Z
        matchTimestamp = /[+-]?\d+(\.\d{1,3})?/, // 123456789 123456789.123
        // any word (or two) characters or numbers including two/three word month in arabic.
        // includes scottish gaelic two word and hyphenated months
        matchWord =
            /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,
        regexes;

    regexes = {};

    function addRegexToken(token, regex, strictRegex) {
        regexes[token] = isFunction(regex)
            ? regex
            : function (isStrict, localeData) {
                  return isStrict && strictRegex ? strictRegex : regex;
              };
    }

    function getParseRegexForToken(token, config) {
        if (!hasOwnProp(regexes, token)) {
            return new RegExp(unescapeFormat(token));
        }

        return regexes[token](config._strict, config._locale);
    }

    // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript
    function unescapeFormat(s) {
        return regexEscape(
            s
                .replace('\\', '')
                .replace(
                    /\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,
                    function (matched, p1, p2, p3, p4) {
                        return p1 || p2 || p3 || p4;
                    }
                )
        );
    }

    function regexEscape(s) {
        return s.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&');
    }

    var tokens = {};

    function addParseToken(token, callback) {
        var i,
            func = callback,
            tokenLen;
        if (typeof token === 'string') {
            token = [token];
        }
        if (isNumber(callback)) {
            func = function (input, array) {
                array[callback] = toInt(input);
            };
        }
        tokenLen = token.length;
        for (i = 0; i < tokenLen; i++) {
            tokens[token[i]] = func;
        }
    }

    function addWeekParseToken(token, callback) {
        addParseToken(token, function (input, array, config, token) {
            config._w = config._w || {};
            callback(input, config._w, config, token);
        });
    }

    function addTimeToArrayFromToken(token, input, config) {
        if (input != null && hasOwnProp(tokens, token)) {
            tokens[token](input, config._a, config, token);
        }
    }

    var YEAR = 0,
        MONTH = 1,
        DATE = 2,
        HOUR = 3,
        MINUTE = 4,
        SECOND = 5,
        MILLISECOND = 6,
        WEEK = 7,
        WEEKDAY = 8;

    function mod(n, x) {
        return ((n % x) + x) % x;
    }

    var indexOf;

    if (Array.prototype.indexOf) {
        indexOf = Array.prototype.indexOf;
    } else {
        indexOf = function (o) {
            // I know
            var i;
            for (i = 0; i < this.length; ++i) {
                if (this[i] === o) {
                    return i;
                }
            }
            return -1;
        };
    }

    function daysInMonth(year, month) {
        if (isNaN(year) || isNaN(month)) {
            return NaN;
        }
        var modMonth = mod(month, 12);
        year += (month - modMonth) / 12;
        return modMonth === 1
            ? isLeapYear(year)
                ? 29
                : 28
            : 31 - ((modMonth % 7) % 2);
    }

    // FORMATTING

    addFormatToken('M', ['MM', 2], 'Mo', function () {
        return this.month() + 1;
    });

    addFormatToken('MMM', 0, 0, function (format) {
        return this.localeData().monthsShort(this, format);
    });

    addFormatToken('MMMM', 0, 0, function (format) {
        return this.localeData().months(this, format);
    });

    // ALIASES

    addUnitAlias('month', 'M');

    // PRIORITY

    addUnitPriority('month', 8);

    // PARSING

    addRegexToken('M', match1to2);
    addRegexToken('MM', match1to2, match2);
    addRegexToken('MMM', function (isStrict, locale) {
        return locale.monthsShortRegex(isStrict);
    });
    addRegexToken('MMMM', function (isStrict, locale) {
        return locale.monthsRegex(isStrict);
    });

    addParseToken(['M', 'MM'], function (input, array) {
        array[MONTH] = toInt(input) - 1;
    });

    addParseToken(['MMM', 'MMMM'], function (input, array, config, token) {
        var month = config._locale.monthsParse(input, token, config._strict);
        // if we didn't find a month name, mark the date as invalid.
        if (month != null) {
            array[MONTH] = month;
        } else {
            getParsingFlags(config).invalidMonth = input;
        }
    });

    // LOCALES

    var defaultLocaleMonths =
            'January_February_March_April_May_June_July_August_September_October_November_December'.split(
                '_'
            ),
        defaultLocaleMonthsShort =
            'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
        MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,
        defaultMonthsShortRegex = matchWord,
        defaultMonthsRegex = matchWord;

    function localeMonths(m, format) {
        if (!m) {
            return isArray(this._months)
                ? this._months
                : this._months['standalone'];
        }
        return isArray(this._months)
            ? this._months[m.month()]
            : this._months[
                  (this._months.isFormat || MONTHS_IN_FORMAT).test(format)
                      ? 'format'
                      : 'standalone'
              ][m.month()];
    }

    function localeMonthsShort(m, format) {
        if (!m) {
            return isArray(this._monthsShort)
                ? this._monthsShort
                : this._monthsShort['standalone'];
        }
        return isArray(this._monthsShort)
            ? this._monthsShort[m.month()]
            : this._monthsShort[
                  MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone'
              ][m.month()];
    }

    function handleStrictParse(monthName, format, strict) {
        var i,
            ii,
            mom,
            llc = monthName.toLocaleLowerCase();
        if (!this._monthsParse) {
            // this is not used
            this._monthsParse = [];
            this._longMonthsParse = [];
            this._shortMonthsParse = [];
            for (i = 0; i < 12; ++i) {
                mom = createUTC([2000, i]);
                this._shortMonthsParse[i] = this.monthsShort(
                    mom,
                    ''
                ).toLocaleLowerCase();
                this._longMonthsParse[i] = this.months(mom, '').toLocaleLowerCase();
            }
        }

        if (strict) {
            if (format === 'MMM') {
                ii = indexOf.call(this._shortMonthsParse, llc);
                return ii !== -1 ? ii : null;
            } else {
                ii = indexOf.call(this._longMonthsParse, llc);
                return ii !== -1 ? ii : null;
            }
        } else {
            if (format === 'MMM') {
                ii = indexOf.call(this._shortMonthsParse, llc);
                if (ii !== -1) {
                    return ii;
                }
                ii = indexOf.call(this._longMonthsParse, llc);
                return ii !== -1 ? ii : null;
            } else {
                ii = indexOf.call(this._longMonthsParse, llc);
                if (ii !== -1) {
                    return ii;
                }
                ii = indexOf.call(this._shortMonthsParse, llc);
                return ii !== -1 ? ii : null;
            }
        }
    }

    function localeMonthsParse(monthName, format, strict) {
        var i, mom, regex;

        if (this._monthsParseExact) {
            return handleStrictParse.call(this, monthName, format, strict);
        }

        if (!this._monthsParse) {
            this._monthsParse = [];
            this._longMonthsParse = [];
            this._shortMonthsParse = [];
        }

        // TODO: add sorting
        // Sorting makes sure if one month (or abbr) is a prefix of another
        // see sorting in computeMonthsParse
        for (i = 0; i < 12; i++) {
            // make the regex if we don't have it already
            mom = createUTC([2000, i]);
            if (strict && !this._longMonthsParse[i]) {
                this._longMonthsParse[i] = new RegExp(
                    '^' + this.months(mom, '').replace('.', '') + '$',
                    'i'
                );
                this._shortMonthsParse[i] = new RegExp(
                    '^' + this.monthsShort(mom, '').replace('.', '') + '$',
                    'i'
                );
            }
            if (!strict && !this._monthsParse[i]) {
                regex =
                    '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, '');
                this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i');
            }
            // test the regex
            if (
                strict &&
                format === 'MMMM' &&
                this._longMonthsParse[i].test(monthName)
            ) {
                return i;
            } else if (
                strict &&
                format === 'MMM' &&
                this._shortMonthsParse[i].test(monthName)
            ) {
                return i;
            } else if (!strict && this._monthsParse[i].test(monthName)) {
                return i;
            }
        }
    }

    // MOMENTS

    function setMonth(mom, value) {
        var dayOfMonth;

        if (!mom.isValid()) {
            // No op
            return mom;
        }

        if (typeof value === 'string') {
            if (/^\d+$/.test(value)) {
                value = toInt(value);
            } else {
                value = mom.localeData().monthsParse(value);
                // TODO: Another silent failure?
                if (!isNumber(value)) {
                    return mom;
                }
            }
        }

        dayOfMonth = Math.min(mom.date(), daysInMonth(mom.year(), value));
        mom._d['set' + (mom._isUTC ? 'UTC' : '') + 'Month'](value, dayOfMonth);
        return mom;
    }

    function getSetMonth(value) {
        if (value != null) {
            setMonth(this, value);
            hooks.updateOffset(this, true);
            return this;
        } else {
            return get(this, 'Month');
        }
    }

    function getDaysInMonth() {
        return daysInMonth(this.year(), this.month());
    }

    function monthsShortRegex(isStrict) {
        if (this._monthsParseExact) {
            if (!hasOwnProp(this, '_monthsRegex')) {
                computeMonthsParse.call(this);
            }
            if (isStrict) {
                return this._monthsShortStrictRegex;
            } else {
                return this._monthsShortRegex;
            }
        } else {
            if (!hasOwnProp(this, '_monthsShortRegex')) {
                this._monthsShortRegex = defaultMonthsShortRegex;
            }
            return this._monthsShortStrictRegex && isStrict
                ? this._monthsShortStrictRegex
                : this._monthsShortRegex;
        }
    }

    function monthsRegex(isStrict) {
        if (this._monthsParseExact) {
            if (!hasOwnProp(this, '_monthsRegex')) {
                computeMonthsParse.call(this);
            }
            if (isStrict) {
                return this._monthsStrictRegex;
            } else {
                return this._monthsRegex;
            }
        } else {
            if (!hasOwnProp(this, '_monthsRegex')) {
                this._monthsRegex = defaultMonthsRegex;
            }
            return this._monthsStrictRegex && isStrict
                ? this._monthsStrictRegex
                : this._monthsRegex;
        }
    }

    function computeMonthsParse() {
        function cmpLenRev(a, b) {
            return b.length - a.length;
        }

        var shortPieces = [],
            longPieces = [],
            mixedPieces = [],
            i,
            mom;
        for (i = 0; i < 12; i++) {
            // make the regex if we don't have it already
            mom = createUTC([2000, i]);
            shortPieces.push(this.monthsShort(mom, ''));
            longPieces.push(this.months(mom, ''));
            mixedPieces.push(this.months(mom, ''));
            mixedPieces.push(this.monthsShort(mom, ''));
        }
        // Sorting makes sure if one month (or abbr) is a prefix of another it
        // will match the longer piece.
        shortPieces.sort(cmpLenRev);
        longPieces.sort(cmpLenRev);
        mixedPieces.sort(cmpLenRev);
        for (i = 0; i < 12; i++) {
            shortPieces[i] = regexEscape(shortPieces[i]);
            longPieces[i] = regexEscape(longPieces[i]);
        }
        for (i = 0; i < 24; i++) {
            mixedPieces[i] = regexEscape(mixedPieces[i]);
        }

        this._monthsRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');
        this._monthsShortRegex = this._monthsRegex;
        this._monthsStrictRegex = new RegExp(
            '^(' + longPieces.join('|') + ')',
            'i'
        );
        this._monthsShortStrictRegex = new RegExp(
            '^(' + shortPieces.join('|') + ')',
            'i'
        );
    }

    // FORMATTING

    addFormatToken('Y', 0, 0, function () {
        var y = this.year();
        return y <= 9999 ? zeroFill(y, 4) : '+' + y;
    });

    addFormatToken(0, ['YY', 2], 0, function () {
        return this.year() % 100;
    });

    addFormatToken(0, ['YYYY', 4], 0, 'year');
    addFormatToken(0, ['YYYYY', 5], 0, 'year');
    addFormatToken(0, ['YYYYYY', 6, true], 0, 'year');

    // ALIASES

    addUnitAlias('year', 'y');

    // PRIORITIES

    addUnitPriority('year', 1);

    // PARSING

    addRegexToken('Y', matchSigned);
    addRegexToken('YY', match1to2, match2);
    addRegexToken('YYYY', match1to4, match4);
    addRegexToken('YYYYY', match1to6, match6);
    addRegexToken('YYYYYY', match1to6, match6);

    addParseToken(['YYYYY', 'YYYYYY'], YEAR);
    addParseToken('YYYY', function (input, array) {
        array[YEAR] =
            input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input);
    });
    addParseToken('YY', function (input, array) {
        array[YEAR] = hooks.parseTwoDigitYear(input);
    });
    addParseToken('Y', function (input, array) {
        array[YEAR] = parseInt(input, 10);
    });

    // HELPERS

    function daysInYear(year) {
        return isLeapYear(year) ? 366 : 365;
    }

    // HOOKS

    hooks.parseTwoDigitYear = function (input) {
        return toInt(input) + (toInt(input) > 68 ? 1900 : 2000);
    };

    // MOMENTS

    var getSetYear = makeGetSet('FullYear', true);

    function getIsLeapYear() {
        return isLeapYear(this.year());
    }

    function createDate(y, m, d, h, M, s, ms) {
        // can't just apply() to create a date:
        // https://stackoverflow.com/q/181348
        var date;
        // the date constructor remaps years 0-99 to 1900-1999
        if (y < 100 && y >= 0) {
            // preserve leap years using a full 400 year cycle, then reset
            date = new Date(y + 400, m, d, h, M, s, ms);
            if (isFinite(date.getFullYear())) {
                date.setFullYear(y);
            }
        } else {
            date = new Date(y, m, d, h, M, s, ms);
        }

        return date;
    }

    function createUTCDate(y) {
        var date, args;
        // the Date.UTC function remaps years 0-99 to 1900-1999
        if (y < 100 && y >= 0) {
            args = Array.prototype.slice.call(arguments);
            // preserve leap years using a full 400 year cycle, then reset
            args[0] = y + 400;
            date = new Date(Date.UTC.apply(null, args));
            if (isFinite(date.getUTCFullYear())) {
                date.setUTCFullYear(y);
            }
        } else {
            date = new Date(Date.UTC.apply(null, arguments));
        }

        return date;
    }

    // start-of-first-week - start-of-year
    function firstWeekOffset(year, dow, doy) {
        var // first-week day -- which january is always in the first week (4 for iso, 1 for other)
            fwd = 7 + dow - doy,
            // first-week day local weekday -- which local weekday is fwd
            fwdlw = (7 + createUTCDate(year, 0, fwd).getUTCDay() - dow) % 7;

        return -fwdlw + fwd - 1;
    }

    // https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday
    function dayOfYearFromWeeks(year, week, weekday, dow, doy) {
        var localWeekday = (7 + weekday - dow) % 7,
            weekOffset = firstWeekOffset(year, dow, doy),
            dayOfYear = 1 + 7 * (week - 1) + localWeekday + weekOffset,
            resYear,
            resDayOfYear;

        if (dayOfYear <= 0) {
            resYear = year - 1;
            resDayOfYear = daysInYear(resYear) + dayOfYear;
        } else if (dayOfYear > daysInYear(year)) {
            resYear = year + 1;
            resDayOfYear = dayOfYear - daysInYear(year);
        } else {
            resYear = year;
            resDayOfYear = dayOfYear;
        }

        return {
            year: resYear,
            dayOfYear: resDayOfYear,
        };
    }

    function weekOfYear(mom, dow, doy) {
        var weekOffset = firstWeekOffset(mom.year(), dow, doy),
            week = Math.floor((mom.dayOfYear() - weekOffset - 1) / 7) + 1,
            resWeek,
            resYear;

        if (week < 1) {
            resYear = mom.year() - 1;
            resWeek = week + weeksInYear(resYear, dow, doy);
        } else if (week > weeksInYear(mom.year(), dow, doy)) {
            resWeek = week - weeksInYear(mom.year(), dow, doy);
            resYear = mom.year() + 1;
        } else {
            resYear = mom.year();
            resWeek = week;
        }

        return {
            week: resWeek,
            year: resYear,
        };
    }

    function weeksInYear(year, dow, doy) {
        var weekOffset = firstWeekOffset(year, dow, doy),
            weekOffsetNext = firstWeekOffset(year + 1, dow, doy);
        return (daysInYear(year) - weekOffset + weekOffsetNext) / 7;
    }

    // FORMATTING

    addFormatToken('w', ['ww', 2], 'wo', 'week');
    addFormatToken('W', ['WW', 2], 'Wo', 'isoWeek');

    // ALIASES

    addUnitAlias('week', 'w');
    addUnitAlias('isoWeek', 'W');

    // PRIORITIES

    addUnitPriority('week', 5);
    addUnitPriority('isoWeek', 5);

    // PARSING

    addRegexToken('w', match1to2);
    addRegexToken('ww', match1to2, match2);
    addRegexToken('W', match1to2);
    addRegexToken('WW', match1to2, match2);

    addWeekParseToken(
        ['w', 'ww', 'W', 'WW'],
        function (input, week, config, token) {
            week[token.substr(0, 1)] = toInt(input);
        }
    );

    // HELPERS

    // LOCALES

    function localeWeek(mom) {
        return weekOfYear(mom, this._week.dow, this._week.doy).week;
    }

    var defaultLocaleWeek = {
        dow: 0, // Sunday is the first day of the week.
        doy: 6, // The week that contains Jan 6th is the first week of the year.
    };

    function localeFirstDayOfWeek() {
        return this._week.dow;
    }

    function localeFirstDayOfYear() {
        return this._week.doy;
    }

    // MOMENTS

    function getSetWeek(input) {
        var week = this.localeData().week(this);
        return input == null ? week : this.add((input - week) * 7, 'd');
    }

    function getSetISOWeek(input) {
        var week = weekOfYear(this, 1, 4).week;
        return input == null ? week : this.add((input - week) * 7, 'd');
    }

    // FORMATTING

    addFormatToken('d', 0, 'do', 'day');

    addFormatToken('dd', 0, 0, function (format) {
        return this.localeData().weekdaysMin(this, format);
    });

    addFormatToken('ddd', 0, 0, function (format) {
        return this.localeData().weekdaysShort(this, format);
    });

    addFormatToken('dddd', 0, 0, function (format) {
        return this.localeData().weekdays(this, format);
    });

    addFormatToken('e', 0, 0, 'weekday');
    addFormatToken('E', 0, 0, 'isoWeekday');

    // ALIASES

    addUnitAlias('day', 'd');
    addUnitAlias('weekday', 'e');
    addUnitAlias('isoWeekday', 'E');

    // PRIORITY
    addUnitPriority('day', 11);
    addUnitPriority('weekday', 11);
    addUnitPriority('isoWeekday', 11);

    // PARSING

    addRegexToken('d', match1to2);
    addRegexToken('e', match1to2);
    addRegexToken('E', match1to2);
    addRegexToken('dd', function (isStrict, locale) {
        return locale.weekdaysMinRegex(isStrict);
    });
    addRegexToken('ddd', function (isStrict, locale) {
        return locale.weekdaysShortRegex(isStrict);
    });
    addRegexToken('dddd', function (isStrict, locale) {
        return locale.weekdaysRegex(isStrict);
    });

    addWeekParseToken(['dd', 'ddd', 'dddd'], function (input, week, config, token) {
        var weekday = config._locale.weekdaysParse(input, token, config._strict);
        // if we didn't get a weekday name, mark the date as invalid
        if (weekday != null) {
            week.d = weekday;
        } else {
            getParsingFlags(config).invalidWeekday = input;
        }
    });

    addWeekParseToken(['d', 'e', 'E'], function (input, week, config, token) {
        week[token] = toInt(input);
    });

    // HELPERS

    function parseWeekday(input, locale) {
        if (typeof input !== 'string') {
            return input;
        }

        if (!isNaN(input)) {
            return parseInt(input, 10);
        }

        input = locale.weekdaysParse(input);
        if (typeof input === 'number') {
            return input;
        }

        return null;
    }

    function parseIsoWeekday(input, locale) {
        if (typeof input === 'string') {
            return locale.weekdaysParse(input) % 7 || 7;
        }
        return isNaN(input) ? null : input;
    }

    // LOCALES
    function shiftWeekdays(ws, n) {
        return ws.slice(n, 7).concat(ws.slice(0, n));
    }

    var defaultLocaleWeekdays =
            'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
        defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
        defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
        defaultWeekdaysRegex = matchWord,
        defaultWeekdaysShortRegex = matchWord,
        defaultWeekdaysMinRegex = matchWord;

    function localeWeekdays(m, format) {
        var weekdays = isArray(this._weekdays)
            ? this._weekdays
            : this._weekdays[
                  m && m !== true && this._weekdays.isFormat.test(format)
                      ? 'format'
                      : 'standalone'
              ];
        return m === true
            ? shiftWeekdays(weekdays, this._week.dow)
            : m
            ? weekdays[m.day()]
            : weekdays;
    }

    function localeWeekdaysShort(m) {
        return m === true
            ? shiftWeekdays(this._weekdaysShort, this._week.dow)
            : m
            ? this._weekdaysShort[m.day()]
            : this._weekdaysShort;
    }

    function localeWeekdaysMin(m) {
        return m === true
            ? shiftWeekdays(this._weekdaysMin, this._week.dow)
            : m
            ? this._weekdaysMin[m.day()]
            : this._weekdaysMin;
    }

    function handleStrictParse$1(weekdayName, format, strict) {
        var i,
            ii,
            mom,
            llc = weekdayName.toLocaleLowerCase();
        if (!this._weekdaysParse) {
            this._weekdaysParse = [];
            this._shortWeekdaysParse = [];
            this._minWeekdaysParse = [];

            for (i = 0; i < 7; ++i) {
                mom = createUTC([2000, 1]).day(i);
                this._minWeekdaysParse[i] = this.weekdaysMin(
                    mom,
                    ''
                ).toLocaleLowerCase();
                this._shortWeekdaysParse[i] = this.weekdaysShort(
                    mom,
                    ''
                ).toLocaleLowerCase();
                this._weekdaysParse[i] = this.weekdays(mom, '').toLocaleLowerCase();
            }
        }

        if (strict) {
            if (format === 'dddd') {
                ii = indexOf.call(this._weekdaysParse, llc);
                return ii !== -1 ? ii : null;
            } else if (format === 'ddd') {
                ii = indexOf.call(this._shortWeekdaysParse, llc);
                return ii !== -1 ? ii : null;
            } else {
                ii = indexOf.call(this._minWeekdaysParse, llc);
                return ii !== -1 ? ii : null;
            }
        } else {
            if (format === 'dddd') {
                ii = indexOf.call(this._weekdaysParse, llc);
                if (ii !== -1) {
                    return ii;
                }
                ii = indexOf.call(this._shortWeekdaysParse, llc);
                if (ii !== -1) {
                    return ii;
                }
                ii = indexOf.call(this._minWeekdaysParse, llc);
                return ii !== -1 ? ii : null;
            } else if (format === 'ddd') {
                ii = indexOf.call(this._shortWeekdaysParse, llc);
                if (ii !== -1) {
                    return ii;
                }
                ii = indexOf.call(this._weekdaysParse, llc);
                if (ii !== -1) {
                    return ii;
                }
                ii = indexOf.call(this._minWeekdaysParse, llc);
                return ii !== -1 ? ii : null;
            } else {
                ii = indexOf.call(this._minWeekdaysParse, llc);
                if (ii !== -1) {
                    return ii;
                }
                ii = indexOf.call(this._weekdaysParse, llc);
                if (ii !== -1) {
                    return ii;
                }
                ii = indexOf.call(this._shortWeekdaysParse, llc);
                return ii !== -1 ? ii : null;
            }
        }
    }

    function localeWeekdaysParse(weekdayName, format, strict) {
        var i, mom, regex;

        if (this._weekdaysParseExact) {
            return handleStrictParse$1.call(this, weekdayName, format, strict);
        }

        if (!this._weekdaysParse) {
            this._weekdaysParse = [];
            this._minWeekdaysParse = [];
            this._shortWeekdaysParse = [];
            this._fullWeekdaysParse = [];
        }

        for (i = 0; i < 7; i++) {
            // make the regex if we don't have it already

            mom = createUTC([2000, 1]).day(i);
            if (strict && !this._fullWeekdaysParse[i]) {
                this._fullWeekdaysParse[i] = new RegExp(
                    '^' + this.weekdays(mom, '').replace('.', '\\.?') + '$',
                    'i'
                );
                this._shortWeekdaysParse[i] = new RegExp(
                    '^' + this.weekdaysShort(mom, '').replace('.', '\\.?') + '$',
                    'i'
                );
                this._minWeekdaysParse[i] = new RegExp(
                    '^' + this.weekdaysMin(mom, '').replace('.', '\\.?') + '$',
                    'i'
                );
            }
            if (!this._weekdaysParse[i]) {
                regex =
                    '^' +
                    this.weekdays(mom, '') +
                    '|^' +
                    this.weekdaysShort(mom, '') +
                    '|^' +
                    this.weekdaysMin(mom, '');
                this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i');
            }
            // test the regex
            if (
                strict &&
                format === 'dddd' &&
                this._fullWeekdaysParse[i].test(weekdayName)
            ) {
                return i;
            } else if (
                strict &&
                format === 'ddd' &&
                this._shortWeekdaysParse[i].test(weekdayName)
            ) {
                return i;
            } else if (
                strict &&
                format === 'dd' &&
                this._minWeekdaysParse[i].test(weekdayName)
            ) {
                return i;
            } else if (!strict && this._weekdaysParse[i].test(weekdayName)) {
                return i;
            }
        }
    }

    // MOMENTS

    function getSetDayOfWeek(input) {
        if (!this.isValid()) {
            return input != null ? this : NaN;
        }
        var day = this._isUTC ? this._d.getUTCDay() : this._d.getDay();
        if (input != null) {
            input = parseWeekday(input, this.localeData());
            return this.add(input - day, 'd');
        } else {
            return day;
        }
    }

    function getSetLocaleDayOfWeek(input) {
        if (!this.isValid()) {
            return input != null ? this : NaN;
        }
        var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7;
        return input == null ? weekday : this.add(input - weekday, 'd');
    }

    function getSetISODayOfWeek(input) {
        if (!this.isValid()) {
            return input != null ? this : NaN;
        }

        // behaves the same as moment#day except
        // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)
        // as a setter, sunday should belong to the previous week.

        if (input != null) {
            var weekday = parseIsoWeekday(input, this.localeData());
            return this.day(this.day() % 7 ? weekday : weekday - 7);
        } else {
            return this.day() || 7;
        }
    }

    function weekdaysRegex(isStrict) {
        if (this._weekdaysParseExact) {
            if (!hasOwnProp(this, '_weekdaysRegex')) {
                computeWeekdaysParse.call(this);
            }
            if (isStrict) {
                return this._weekdaysStrictRegex;
            } else {
                return this._weekdaysRegex;
            }
        } else {
            if (!hasOwnProp(this, '_weekdaysRegex')) {
                this._weekdaysRegex = defaultWeekdaysRegex;
            }
            return this._weekdaysStrictRegex && isStrict
                ? this._weekdaysStrictRegex
                : this._weekdaysRegex;
        }
    }

    function weekdaysShortRegex(isStrict) {
        if (this._weekdaysParseExact) {
            if (!hasOwnProp(this, '_weekdaysRegex')) {
                computeWeekdaysParse.call(this);
            }
            if (isStrict) {
                return this._weekdaysShortStrictRegex;
            } else {
                return this._weekdaysShortRegex;
            }
        } else {
            if (!hasOwnProp(this, '_weekdaysShortRegex')) {
                this._weekdaysShortRegex = defaultWeekdaysShortRegex;
            }
            return this._weekdaysShortStrictRegex && isStrict
                ? this._weekdaysShortStrictRegex
                : this._weekdaysShortRegex;
        }
    }

    function weekdaysMinRegex(isStrict) {
        if (this._weekdaysParseExact) {
            if (!hasOwnProp(this, '_weekdaysRegex')) {
                computeWeekdaysParse.call(this);
            }
            if (isStrict) {
                return this._weekdaysMinStrictRegex;
            } else {
                return this._weekdaysMinRegex;
            }
        } else {
            if (!hasOwnProp(this, '_weekdaysMinRegex')) {
                this._weekdaysMinRegex = defaultWeekdaysMinRegex;
            }
            return this._weekdaysMinStrictRegex && isStrict
                ? this._weekdaysMinStrictRegex
                : this._weekdaysMinRegex;
        }
    }

    function computeWeekdaysParse() {
        function cmpLenRev(a, b) {
            return b.length - a.length;
        }

        var minPieces = [],
            shortPieces = [],
            longPieces = [],
            mixedPieces = [],
            i,
            mom,
            minp,
            shortp,
            longp;
        for (i = 0; i < 7; i++) {
            // make the regex if we don't have it already
            mom = createUTC([2000, 1]).day(i);
            minp = regexEscape(this.weekdaysMin(mom, ''));
            shortp = regexEscape(this.weekdaysShort(mom, ''));
            longp = regexEscape(this.weekdays(mom, ''));
            minPieces.push(minp);
            shortPieces.push(shortp);
            longPieces.push(longp);
            mixedPieces.push(minp);
            mixedPieces.push(shortp);
            mixedPieces.push(longp);
        }
        // Sorting makes sure if one weekday (or abbr) is a prefix of another it
        // will match the longer piece.
        minPieces.sort(cmpLenRev);
        shortPieces.sort(cmpLenRev);
        longPieces.sort(cmpLenRev);
        mixedPieces.sort(cmpLenRev);

        this._weekdaysRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');
        this._weekdaysShortRegex = this._weekdaysRegex;
        this._weekdaysMinRegex = this._weekdaysRegex;

        this._weekdaysStrictRegex = new RegExp(
            '^(' + longPieces.join('|') + ')',
            'i'
        );
        this._weekdaysShortStrictRegex = new RegExp(
            '^(' + shortPieces.join('|') + ')',
            'i'
        );
        this._weekdaysMinStrictRegex = new RegExp(
            '^(' + minPieces.join('|') + ')',
            'i'
        );
    }

    // FORMATTING

    function hFormat() {
        return this.hours() % 12 || 12;
    }

    function kFormat() {
        return this.hours() || 24;
    }

    addFormatToken('H', ['HH', 2], 0, 'hour');
    addFormatToken('h', ['hh', 2], 0, hFormat);
    addFormatToken('k', ['kk', 2], 0, kFormat);

    addFormatToken('hmm', 0, 0, function () {
        return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2);
    });

    addFormatToken('hmmss', 0, 0, function () {
        return (
            '' +
            hFormat.apply(this) +
            zeroFill(this.minutes(), 2) +
            zeroFill(this.seconds(), 2)
        );
    });

    addFormatToken('Hmm', 0, 0, function () {
        return '' + this.hours() + zeroFill(this.minutes(), 2);
    });

    addFormatToken('Hmmss', 0, 0, function () {
        return (
            '' +
            this.hours() +
            zeroFill(this.minutes(), 2) +
            zeroFill(this.seconds(), 2)
        );
    });

    function meridiem(token, lowercase) {
        addFormatToken(token, 0, 0, function () {
            return this.localeData().meridiem(
                this.hours(),
                this.minutes(),
                lowercase
            );
        });
    }

    meridiem('a', true);
    meridiem('A', false);

    // ALIASES

    addUnitAlias('hour', 'h');

    // PRIORITY
    addUnitPriority('hour', 13);

    // PARSING

    function matchMeridiem(isStrict, locale) {
        return locale._meridiemParse;
    }

    addRegexToken('a', matchMeridiem);
    addRegexToken('A', matchMeridiem);
    addRegexToken('H', match1to2);
    addRegexToken('h', match1to2);
    addRegexToken('k', match1to2);
    addRegexToken('HH', match1to2, match2);
    addRegexToken('hh', match1to2, match2);
    addRegexToken('kk', match1to2, match2);

    addRegexToken('hmm', match3to4);
    addRegexToken('hmmss', match5to6);
    addRegexToken('Hmm', match3to4);
    addRegexToken('Hmmss', match5to6);

    addParseToken(['H', 'HH'], HOUR);
    addParseToken(['k', 'kk'], function (input, array, config) {
        var kInput = toInt(input);
        array[HOUR] = kInput === 24 ? 0 : kInput;
    });
    addParseToken(['a', 'A'], function (input, array, config) {
        config._isPm = config._locale.isPM(input);
        config._meridiem = input;
    });
    addParseToken(['h', 'hh'], function (input, array, config) {
        array[HOUR] = toInt(input);
        getParsingFlags(config).bigHour = true;
    });
    addParseToken('hmm', function (input, array, config) {
        var pos = input.length - 2;
        array[HOUR] = toInt(input.substr(0, pos));
        array[MINUTE] = toInt(input.substr(pos));
        getParsingFlags(config).bigHour = true;
    });
    addParseToken('hmmss', function (input, array, config) {
        var pos1 = input.length - 4,
            pos2 = input.length - 2;
        array[HOUR] = toInt(input.substr(0, pos1));
        array[MINUTE] = toInt(input.substr(pos1, 2));
        array[SECOND] = toInt(input.substr(pos2));
        getParsingFlags(config).bigHour = true;
    });
    addParseToken('Hmm', function (input, array, config) {
        var pos = input.length - 2;
        array[HOUR] = toInt(input.substr(0, pos));
        array[MINUTE] = toInt(input.substr(pos));
    });
    addParseToken('Hmmss', function (input, array, config) {
        var pos1 = input.length - 4,
            pos2 = input.length - 2;
        array[HOUR] = toInt(input.substr(0, pos1));
        array[MINUTE] = toInt(input.substr(pos1, 2));
        array[SECOND] = toInt(input.substr(pos2));
    });

    // LOCALES

    function localeIsPM(input) {
        // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays
        // Using charAt should be more compatible.
        return (input + '').toLowerCase().charAt(0) === 'p';
    }

    var defaultLocaleMeridiemParse = /[ap]\.?m?\.?/i,
        // Setting the hour should keep the time, because the user explicitly
        // specified which hour they want. So trying to maintain the same hour (in
        // a new timezone) makes sense. Adding/subtracting hours does not follow
        // this rule.
        getSetHour = makeGetSet('Hours', true);

    function localeMeridiem(hours, minutes, isLower) {
        if (hours > 11) {
            return isLower ? 'pm' : 'PM';
        } else {
            return isLower ? 'am' : 'AM';
        }
    }

    var baseConfig = {
        calendar: defaultCalendar,
        longDateFormat: defaultLongDateFormat,
        invalidDate: defaultInvalidDate,
        ordinal: defaultOrdinal,
        dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse,
        relativeTime: defaultRelativeTime,

        months: defaultLocaleMonths,
        monthsShort: defaultLocaleMonthsShort,

        week: defaultLocaleWeek,

        weekdays: defaultLocaleWeekdays,
        weekdaysMin: defaultLocaleWeekdaysMin,
        weekdaysShort: defaultLocaleWeekdaysShort,

        meridiemParse: defaultLocaleMeridiemParse,
    };

    // internal storage for locale config files
    var locales = {},
        localeFamilies = {},
        globalLocale;

    function commonPrefix(arr1, arr2) {
        var i,
            minl = Math.min(arr1.length, arr2.length);
        for (i = 0; i < minl; i += 1) {
            if (arr1[i] !== arr2[i]) {
                return i;
            }
        }
        return minl;
    }

    function normalizeLocale(key) {
        return key ? key.toLowerCase().replace('_', '-') : key;
    }

    // pick the locale from the array
    // try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each
    // substring from most specific to least, but move to the next array item if it's a more specific variant than the current root
    function chooseLocale(names) {
        var i = 0,
            j,
            next,
            locale,
            split;

        while (i < names.length) {
            split = normalizeLocale(names[i]).split('-');
            j = split.length;
            next = normalizeLocale(names[i + 1]);
            next = next ? next.split('-') : null;
            while (j > 0) {
                locale = loadLocale(split.slice(0, j).join('-'));
                if (locale) {
                    return locale;
                }
                if (
                    next &&
                    next.length >= j &&
                    commonPrefix(split, next) >= j - 1
                ) {
                    //the next array item is better than a shallower substring of this one
                    break;
                }
                j--;
            }
            i++;
        }
        return globalLocale;
    }

    function isLocaleNameSane(name) {
        // Prevent names that look like filesystem paths, i.e contain '/' or '\'
        return name.match('^[^/\\\\]*$') != null;
    }

    function loadLocale(name) {
        var oldLocale = null,
            aliasedRequire;
        // TODO: Find a better way to register and load all the locales in Node
        if (
            locales[name] === undefined &&
            "object" !== 'undefined' &&
            module &&
            module.exports &&
            isLocaleNameSane(name)
        ) {
            try {
                oldLocale = globalLocale._abbr;
                aliasedRequire = undefined;
                __webpack_require__(46700)("./" + name);
                getSetGlobalLocale(oldLocale);
            } catch (e) {
                // mark as not found to avoid repeating expensive file require call causing high CPU
                // when trying to find en-US, en_US, en-us for every format call
                locales[name] = null; // null means not found
            }
        }
        return locales[name];
    }

    // This function will load locale and then set the global locale.  If
    // no arguments are passed in, it will simply return the current global
    // locale key.
    function getSetGlobalLocale(key, values) {
        var data;
        if (key) {
            if (isUndefined(values)) {
                data = getLocale(key);
            } else {
                data = defineLocale(key, values);
            }

            if (data) {
                // moment.duration._locale = moment._locale = data;
                globalLocale = data;
            } else {
                if (typeof console !== 'undefined' && console.warn) {
                    //warn user if arguments are passed but the locale could not be set
                    console.warn(
                        'Locale ' + key + ' not found. Did you forget to load it?'
                    );
                }
            }
        }

        return globalLocale._abbr;
    }

    function defineLocale(name, config) {
        if (config !== null) {
            var locale,
                parentConfig = baseConfig;
            config.abbr = name;
            if (locales[name] != null) {
                deprecateSimple(
                    'defineLocaleOverride',
                    'use moment.updateLocale(localeName, config) to change ' +
                        'an existing locale. moment.defineLocale(localeName, ' +
                        'config) should only be used for creating a new locale ' +
                        'See http://momentjs.com/guides/#/warnings/define-locale/ for more info.'
                );
                parentConfig = locales[name]._config;
            } else if (config.parentLocale != null) {
                if (locales[config.parentLocale] != null) {
                    parentConfig = locales[config.parentLocale]._config;
                } else {
                    locale = loadLocale(config.parentLocale);
                    if (locale != null) {
                        parentConfig = locale._config;
                    } else {
                        if (!localeFamilies[config.parentLocale]) {
                            localeFamilies[config.parentLocale] = [];
                        }
                        localeFamilies[config.parentLocale].push({
                            name: name,
                            config: config,
                        });
                        return null;
                    }
                }
            }
            locales[name] = new Locale(mergeConfigs(parentConfig, config));

            if (localeFamilies[name]) {
                localeFamilies[name].forEach(function (x) {
                    defineLocale(x.name, x.config);
                });
            }

            // backwards compat for now: also set the locale
            // make sure we set the locale AFTER all child locales have been
            // created, so we won't end up with the child locale set.
            getSetGlobalLocale(name);

            return locales[name];
        } else {
            // useful for testing
            delete locales[name];
            return null;
        }
    }

    function updateLocale(name, config) {
        if (config != null) {
            var locale,
                tmpLocale,
                parentConfig = baseConfig;

            if (locales[name] != null && locales[name].parentLocale != null) {
                // Update existing child locale in-place to avoid memory-leaks
                locales[name].set(mergeConfigs(locales[name]._config, config));
            } else {
                // MERGE
                tmpLocale = loadLocale(name);
                if (tmpLocale != null) {
                    parentConfig = tmpLocale._config;
                }
                config = mergeConfigs(parentConfig, config);
                if (tmpLocale == null) {
                    // updateLocale is called for creating a new locale
                    // Set abbr so it will have a name (getters return
                    // undefined otherwise).
                    config.abbr = name;
                }
                locale = new Locale(config);
                locale.parentLocale = locales[name];
                locales[name] = locale;
            }

            // backwards compat for now: also set the locale
            getSetGlobalLocale(name);
        } else {
            // pass null for config to unupdate, useful for tests
            if (locales[name] != null) {
                if (locales[name].parentLocale != null) {
                    locales[name] = locales[name].parentLocale;
                    if (name === getSetGlobalLocale()) {
                        getSetGlobalLocale(name);
                    }
                } else if (locales[name] != null) {
                    delete locales[name];
                }
            }
        }
        return locales[name];
    }

    // returns locale data
    function getLocale(key) {
        var locale;

        if (key && key._locale && key._locale._abbr) {
            key = key._locale._abbr;
        }

        if (!key) {
            return globalLocale;
        }

        if (!isArray(key)) {
            //short-circuit everything else
            locale = loadLocale(key);
            if (locale) {
                return locale;
            }
            key = [key];
        }

        return chooseLocale(key);
    }

    function listLocales() {
        return keys(locales);
    }

    function checkOverflow(m) {
        var overflow,
            a = m._a;

        if (a && getParsingFlags(m).overflow === -2) {
            overflow =
                a[MONTH] < 0 || a[MONTH] > 11
                    ? MONTH
                    : a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH])
                    ? DATE
                    : a[HOUR] < 0 ||
                      a[HOUR] > 24 ||
                      (a[HOUR] === 24 &&
                          (a[MINUTE] !== 0 ||
                              a[SECOND] !== 0 ||
                              a[MILLISECOND] !== 0))
                    ? HOUR
                    : a[MINUTE] < 0 || a[MINUTE] > 59
                    ? MINUTE
                    : a[SECOND] < 0 || a[SECOND] > 59
                    ? SECOND
                    : a[MILLISECOND] < 0 || a[MILLISECOND] > 999
                    ? MILLISECOND
                    : -1;

            if (
                getParsingFlags(m)._overflowDayOfYear &&
                (overflow < YEAR || overflow > DATE)
            ) {
                overflow = DATE;
            }
            if (getParsingFlags(m)._overflowWeeks && overflow === -1) {
                overflow = WEEK;
            }
            if (getParsingFlags(m)._overflowWeekday && overflow === -1) {
                overflow = WEEKDAY;
            }

            getParsingFlags(m).overflow = overflow;
        }

        return m;
    }

    // iso 8601 regex
    // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)
    var extendedIsoRegex =
            /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
        basicIsoRegex =
            /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
        tzRegex = /Z|[+-]\d\d(?::?\d\d)?/,
        isoDates = [
            ['YYYYYY-MM-DD', /[+-]\d{6}-\d\d-\d\d/],
            ['YYYY-MM-DD', /\d{4}-\d\d-\d\d/],
            ['GGGG-[W]WW-E', /\d{4}-W\d\d-\d/],
            ['GGGG-[W]WW', /\d{4}-W\d\d/, false],
            ['YYYY-DDD', /\d{4}-\d{3}/],
            ['YYYY-MM', /\d{4}-\d\d/, false],
            ['YYYYYYMMDD', /[+-]\d{10}/],
            ['YYYYMMDD', /\d{8}/],
            ['GGGG[W]WWE', /\d{4}W\d{3}/],
            ['GGGG[W]WW', /\d{4}W\d{2}/, false],
            ['YYYYDDD', /\d{7}/],
            ['YYYYMM', /\d{6}/, false],
            ['YYYY', /\d{4}/, false],
        ],
        // iso time formats and regexes
        isoTimes = [
            ['HH:mm:ss.SSSS', /\d\d:\d\d:\d\d\.\d+/],
            ['HH:mm:ss,SSSS', /\d\d:\d\d:\d\d,\d+/],
            ['HH:mm:ss', /\d\d:\d\d:\d\d/],
            ['HH:mm', /\d\d:\d\d/],
            ['HHmmss.SSSS', /\d\d\d\d\d\d\.\d+/],
            ['HHmmss,SSSS', /\d\d\d\d\d\d,\d+/],
            ['HHmmss', /\d\d\d\d\d\d/],
            ['HHmm', /\d\d\d\d/],
            ['HH', /\d\d/],
        ],
        aspNetJsonRegex = /^\/?Date\((-?\d+)/i,
        // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3
        rfc2822 =
            /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,
        obsOffsets = {
            UT: 0,
            GMT: 0,
            EDT: -4 * 60,
            EST: -5 * 60,
            CDT: -5 * 60,
            CST: -6 * 60,
            MDT: -6 * 60,
            MST: -7 * 60,
            PDT: -7 * 60,
            PST: -8 * 60,
        };

    // date from iso format
    function configFromISO(config) {
        var i,
            l,
            string = config._i,
            match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string),
            allowTime,
            dateFormat,
            timeFormat,
            tzFormat,
            isoDatesLen = isoDates.length,
            isoTimesLen = isoTimes.length;

        if (match) {
            getParsingFlags(config).iso = true;
            for (i = 0, l = isoDatesLen; i < l; i++) {
                if (isoDates[i][1].exec(match[1])) {
                    dateFormat = isoDates[i][0];
                    allowTime = isoDates[i][2] !== false;
                    break;
                }
            }
            if (dateFormat == null) {
                config._isValid = false;
                return;
            }
            if (match[3]) {
                for (i = 0, l = isoTimesLen; i < l; i++) {
                    if (isoTimes[i][1].exec(match[3])) {
                        // match[2] should be 'T' or space
                        timeFormat = (match[2] || ' ') + isoTimes[i][0];
                        break;
                    }
                }
                if (timeFormat == null) {
                    config._isValid = false;
                    return;
                }
            }
            if (!allowTime && timeFormat != null) {
                config._isValid = false;
                return;
            }
            if (match[4]) {
                if (tzRegex.exec(match[4])) {
                    tzFormat = 'Z';
                } else {
                    config._isValid = false;
                    return;
                }
            }
            config._f = dateFormat + (timeFormat || '') + (tzFormat || '');
            configFromStringAndFormat(config);
        } else {
            config._isValid = false;
        }
    }

    function extractFromRFC2822Strings(
        yearStr,
        monthStr,
        dayStr,
        hourStr,
        minuteStr,
        secondStr
    ) {
        var result = [
            untruncateYear(yearStr),
            defaultLocaleMonthsShort.indexOf(monthStr),
            parseInt(dayStr, 10),
            parseInt(hourStr, 10),
            parseInt(minuteStr, 10),
        ];

        if (secondStr) {
            result.push(parseInt(secondStr, 10));
        }

        return result;
    }

    function untruncateYear(yearStr) {
        var year = parseInt(yearStr, 10);
        if (year <= 49) {
            return 2000 + year;
        } else if (year <= 999) {
            return 1900 + year;
        }
        return year;
    }

    function preprocessRFC2822(s) {
        // Remove comments and folding whitespace and replace multiple-spaces with a single space
        return s
            .replace(/\([^()]*\)|[\n\t]/g, ' ')
            .replace(/(\s\s+)/g, ' ')
            .replace(/^\s\s*/, '')
            .replace(/\s\s*$/, '');
    }

    function checkWeekday(weekdayStr, parsedInput, config) {
        if (weekdayStr) {
            // TODO: Replace the vanilla JS Date object with an independent day-of-week check.
            var weekdayProvided = defaultLocaleWeekdaysShort.indexOf(weekdayStr),
                weekdayActual = new Date(
                    parsedInput[0],
                    parsedInput[1],
                    parsedInput[2]
                ).getDay();
            if (weekdayProvided !== weekdayActual) {
                getParsingFlags(config).weekdayMismatch = true;
                config._isValid = false;
                return false;
            }
        }
        return true;
    }

    function calculateOffset(obsOffset, militaryOffset, numOffset) {
        if (obsOffset) {
            return obsOffsets[obsOffset];
        } else if (militaryOffset) {
            // the only allowed military tz is Z
            return 0;
        } else {
            var hm = parseInt(numOffset, 10),
                m = hm % 100,
                h = (hm - m) / 100;
            return h * 60 + m;
        }
    }

    // date and time from ref 2822 format
    function configFromRFC2822(config) {
        var match = rfc2822.exec(preprocessRFC2822(config._i)),
            parsedArray;
        if (match) {
            parsedArray = extractFromRFC2822Strings(
                match[4],
                match[3],
                match[2],
                match[5],
                match[6],
                match[7]
            );
            if (!checkWeekday(match[1], parsedArray, config)) {
                return;
            }

            config._a = parsedArray;
            config._tzm = calculateOffset(match[8], match[9], match[10]);

            config._d = createUTCDate.apply(null, config._a);
            config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);

            getParsingFlags(config).rfc2822 = true;
        } else {
            config._isValid = false;
        }
    }

    // date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict
    function configFromString(config) {
        var matched = aspNetJsonRegex.exec(config._i);
        if (matched !== null) {
            config._d = new Date(+matched[1]);
            return;
        }

        configFromISO(config);
        if (config._isValid === false) {
            delete config._isValid;
        } else {
            return;
        }

        configFromRFC2822(config);
        if (config._isValid === false) {
            delete config._isValid;
        } else {
            return;
        }

        if (config._strict) {
            config._isValid = false;
        } else {
            // Final attempt, use Input Fallback
            hooks.createFromInputFallback(config);
        }
    }

    hooks.createFromInputFallback = deprecate(
        'value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' +
            'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' +
            'discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.',
        function (config) {
            config._d = new Date(config._i + (config._useUTC ? ' UTC' : ''));
        }
    );

    // Pick the first defined of two or three arguments.
    function defaults(a, b, c) {
        if (a != null) {
            return a;
        }
        if (b != null) {
            return b;
        }
        return c;
    }

    function currentDateArray(config) {
        // hooks is actually the exported moment object
        var nowValue = new Date(hooks.now());
        if (config._useUTC) {
            return [
                nowValue.getUTCFullYear(),
                nowValue.getUTCMonth(),
                nowValue.getUTCDate(),
            ];
        }
        return [nowValue.getFullYear(), nowValue.getMonth(), nowValue.getDate()];
    }

    // convert an array to a date.
    // the array should mirror the parameters below
    // note: all values past the year are optional and will default to the lowest possible value.
    // [year, month, day , hour, minute, second, millisecond]
    function configFromArray(config) {
        var i,
            date,
            input = [],
            currentDate,
            expectedWeekday,
            yearToUse;

        if (config._d) {
            return;
        }

        currentDate = currentDateArray(config);

        //compute day of the year from weeks and weekdays
        if (config._w && config._a[DATE] == null && config._a[MONTH] == null) {
            dayOfYearFromWeekInfo(config);
        }

        //if the day of the year is set, figure out what it is
        if (config._dayOfYear != null) {
            yearToUse = defaults(config._a[YEAR], currentDate[YEAR]);

            if (
                config._dayOfYear > daysInYear(yearToUse) ||
                config._dayOfYear === 0
            ) {
                getParsingFlags(config)._overflowDayOfYear = true;
            }

            date = createUTCDate(yearToUse, 0, config._dayOfYear);
            config._a[MONTH] = date.getUTCMonth();
            config._a[DATE] = date.getUTCDate();
        }

        // Default to current date.
        // * if no year, month, day of month are given, default to today
        // * if day of month is given, default month and year
        // * if month is given, default only year
        // * if year is given, don't default anything
        for (i = 0; i < 3 && config._a[i] == null; ++i) {
            config._a[i] = input[i] = currentDate[i];
        }

        // Zero out whatever was not defaulted, including time
        for (; i < 7; i++) {
            config._a[i] = input[i] =
                config._a[i] == null ? (i === 2 ? 1 : 0) : config._a[i];
        }

        // Check for 24:00:00.000
        if (
            config._a[HOUR] === 24 &&
            config._a[MINUTE] === 0 &&
            config._a[SECOND] === 0 &&
            config._a[MILLISECOND] === 0
        ) {
            config._nextDay = true;
            config._a[HOUR] = 0;
        }

        config._d = (config._useUTC ? createUTCDate : createDate).apply(
            null,
            input
        );
        expectedWeekday = config._useUTC
            ? config._d.getUTCDay()
            : config._d.getDay();

        // Apply timezone offset from input. The actual utcOffset can be changed
        // with parseZone.
        if (config._tzm != null) {
            config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);
        }

        if (config._nextDay) {
            config._a[HOUR] = 24;
        }

        // check for mismatching day of week
        if (
            config._w &&
            typeof config._w.d !== 'undefined' &&
            config._w.d !== expectedWeekday
        ) {
            getParsingFlags(config).weekdayMismatch = true;
        }
    }

    function dayOfYearFromWeekInfo(config) {
        var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow, curWeek;

        w = config._w;
        if (w.GG != null || w.W != null || w.E != null) {
            dow = 1;
            doy = 4;

            // TODO: We need to take the current isoWeekYear, but that depends on
            // how we interpret now (local, utc, fixed offset). So create
            // a now version of current config (take local/utc/offset flags, and
            // create now).
            weekYear = defaults(
                w.GG,
                config._a[YEAR],
                weekOfYear(createLocal(), 1, 4).year
            );
            week = defaults(w.W, 1);
            weekday = defaults(w.E, 1);
            if (weekday < 1 || weekday > 7) {
                weekdayOverflow = true;
            }
        } else {
            dow = config._locale._week.dow;
            doy = config._locale._week.doy;

            curWeek = weekOfYear(createLocal(), dow, doy);

            weekYear = defaults(w.gg, config._a[YEAR], curWeek.year);

            // Default to current week.
            week = defaults(w.w, curWeek.week);

            if (w.d != null) {
                // weekday -- low day numbers are considered next week
                weekday = w.d;
                if (weekday < 0 || weekday > 6) {
                    weekdayOverflow = true;
                }
            } else if (w.e != null) {
                // local weekday -- counting starts from beginning of week
                weekday = w.e + dow;
                if (w.e < 0 || w.e > 6) {
                    weekdayOverflow = true;
                }
            } else {
                // default to beginning of week
                weekday = dow;
            }
        }
        if (week < 1 || week > weeksInYear(weekYear, dow, doy)) {
            getParsingFlags(config)._overflowWeeks = true;
        } else if (weekdayOverflow != null) {
            getParsingFlags(config)._overflowWeekday = true;
        } else {
            temp = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy);
            config._a[YEAR] = temp.year;
            config._dayOfYear = temp.dayOfYear;
        }
    }

    // constant that refers to the ISO standard
    hooks.ISO_8601 = function () {};

    // constant that refers to the RFC 2822 form
    hooks.RFC_2822 = function () {};

    // date from string and format string
    function configFromStringAndFormat(config) {
        // TODO: Move this to another part of the creation flow to prevent circular deps
        if (config._f === hooks.ISO_8601) {
            configFromISO(config);
            return;
        }
        if (config._f === hooks.RFC_2822) {
            configFromRFC2822(config);
            return;
        }
        config._a = [];
        getParsingFlags(config).empty = true;

        // This array is used to make a Date, either with `new Date` or `Date.UTC`
        var string = '' + config._i,
            i,
            parsedInput,
            tokens,
            token,
            skipped,
            stringLength = string.length,
            totalParsedInputLength = 0,
            era,
            tokenLen;

        tokens =
            expandFormat(config._f, config._locale).match(formattingTokens) || [];
        tokenLen = tokens.length;
        for (i = 0; i < tokenLen; i++) {
            token = tokens[i];
            parsedInput = (string.match(getParseRegexForToken(token, config)) ||
                [])[0];
            if (parsedInput) {
                skipped = string.substr(0, string.indexOf(parsedInput));
                if (skipped.length > 0) {
                    getParsingFlags(config).unusedInput.push(skipped);
                }
                string = string.slice(
                    string.indexOf(parsedInput) + parsedInput.length
                );
                totalParsedInputLength += parsedInput.length;
            }
            // don't parse if it's not a known token
            if (formatTokenFunctions[token]) {
                if (parsedInput) {
                    getParsingFlags(config).empty = false;
                } else {
                    getParsingFlags(config).unusedTokens.push(token);
                }
                addTimeToArrayFromToken(token, parsedInput, config);
            } else if (config._strict && !parsedInput) {
                getParsingFlags(config).unusedTokens.push(token);
            }
        }

        // add remaining unparsed input length to the string
        getParsingFlags(config).charsLeftOver =
            stringLength - totalParsedInputLength;
        if (string.length > 0) {
            getParsingFlags(config).unusedInput.push(string);
        }

        // clear _12h flag if hour is <= 12
        if (
            config._a[HOUR] <= 12 &&
            getParsingFlags(config).bigHour === true &&
            config._a[HOUR] > 0
        ) {
            getParsingFlags(config).bigHour = undefined;
        }

        getParsingFlags(config).parsedDateParts = config._a.slice(0);
        getParsingFlags(config).meridiem = config._meridiem;
        // handle meridiem
        config._a[HOUR] = meridiemFixWrap(
            config._locale,
            config._a[HOUR],
            config._meridiem
        );

        // handle era
        era = getParsingFlags(config).era;
        if (era !== null) {
            config._a[YEAR] = config._locale.erasConvertYear(era, config._a[YEAR]);
        }

        configFromArray(config);
        checkOverflow(config);
    }

    function meridiemFixWrap(locale, hour, meridiem) {
        var isPm;

        if (meridiem == null) {
            // nothing to do
            return hour;
        }
        if (locale.meridiemHour != null) {
            return locale.meridiemHour(hour, meridiem);
        } else if (locale.isPM != null) {
            // Fallback
            isPm = locale.isPM(meridiem);
            if (isPm && hour < 12) {
                hour += 12;
            }
            if (!isPm && hour === 12) {
                hour = 0;
            }
            return hour;
        } else {
            // this is not supposed to happen
            return hour;
        }
    }

    // date from string and array of format strings
    function configFromStringAndArray(config) {
        var tempConfig,
            bestMoment,
            scoreToBeat,
            i,
            currentScore,
            validFormatFound,
            bestFormatIsValid = false,
            configfLen = config._f.length;

        if (configfLen === 0) {
            getParsingFlags(config).invalidFormat = true;
            config._d = new Date(NaN);
            return;
        }

        for (i = 0; i < configfLen; i++) {
            currentScore = 0;
            validFormatFound = false;
            tempConfig = copyConfig({}, config);
            if (config._useUTC != null) {
                tempConfig._useUTC = config._useUTC;
            }
            tempConfig._f = config._f[i];
            configFromStringAndFormat(tempConfig);

            if (isValid(tempConfig)) {
                validFormatFound = true;
            }

            // if there is any input that was not parsed add a penalty for that format
            currentScore += getParsingFlags(tempConfig).charsLeftOver;

            //or tokens
            currentScore += getParsingFlags(tempConfig).unusedTokens.length * 10;

            getParsingFlags(tempConfig).score = currentScore;

            if (!bestFormatIsValid) {
                if (
                    scoreToBeat == null ||
                    currentScore < scoreToBeat ||
                    validFormatFound
                ) {
                    scoreToBeat = currentScore;
                    bestMoment = tempConfig;
                    if (validFormatFound) {
                        bestFormatIsValid = true;
                    }
                }
            } else {
                if (currentScore < scoreToBeat) {
                    scoreToBeat = currentScore;
                    bestMoment = tempConfig;
                }
            }
        }

        extend(config, bestMoment || tempConfig);
    }

    function configFromObject(config) {
        if (config._d) {
            return;
        }

        var i = normalizeObjectUnits(config._i),
            dayOrDate = i.day === undefined ? i.date : i.day;
        config._a = map(
            [i.year, i.month, dayOrDate, i.hour, i.minute, i.second, i.millisecond],
            function (obj) {
                return obj && parseInt(obj, 10);
            }
        );

        configFromArray(config);
    }

    function createFromConfig(config) {
        var res = new Moment(checkOverflow(prepareConfig(config)));
        if (res._nextDay) {
            // Adding is smart enough around DST
            res.add(1, 'd');
            res._nextDay = undefined;
        }

        return res;
    }

    function prepareConfig(config) {
        var input = config._i,
            format = config._f;

        config._locale = config._locale || getLocale(config._l);

        if (input === null || (format === undefined && input === '')) {
            return createInvalid({ nullInput: true });
        }

        if (typeof input === 'string') {
            config._i = input = config._locale.preparse(input);
        }

        if (isMoment(input)) {
            return new Moment(checkOverflow(input));
        } else if (isDate(input)) {
            config._d = input;
        } else if (isArray(format)) {
            configFromStringAndArray(config);
        } else if (format) {
            configFromStringAndFormat(config);
        } else {
            configFromInput(config);
        }

        if (!isValid(config)) {
            config._d = null;
        }

        return config;
    }

    function configFromInput(config) {
        var input = config._i;
        if (isUndefined(input)) {
            config._d = new Date(hooks.now());
        } else if (isDate(input)) {
            config._d = new Date(input.valueOf());
        } else if (typeof input === 'string') {
            configFromString(config);
        } else if (isArray(input)) {
            config._a = map(input.slice(0), function (obj) {
                return parseInt(obj, 10);
            });
            configFromArray(config);
        } else if (isObject(input)) {
            configFromObject(config);
        } else if (isNumber(input)) {
            // from milliseconds
            config._d = new Date(input);
        } else {
            hooks.createFromInputFallback(config);
        }
    }

    function createLocalOrUTC(input, format, locale, strict, isUTC) {
        var c = {};

        if (format === true || format === false) {
            strict = format;
            format = undefined;
        }

        if (locale === true || locale === false) {
            strict = locale;
            locale = undefined;
        }

        if (
            (isObject(input) && isObjectEmpty(input)) ||
            (isArray(input) && input.length === 0)
        ) {
            input = undefined;
        }
        // object construction must be done this way.
        // https://github.com/moment/moment/issues/1423
        c._isAMomentObject = true;
        c._useUTC = c._isUTC = isUTC;
        c._l = locale;
        c._i = input;
        c._f = format;
        c._strict = strict;

        return createFromConfig(c);
    }

    function createLocal(input, format, locale, strict) {
        return createLocalOrUTC(input, format, locale, strict, false);
    }

    var prototypeMin = deprecate(
            'moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/',
            function () {
                var other = createLocal.apply(null, arguments);
                if (this.isValid() && other.isValid()) {
                    return other < this ? this : other;
                } else {
                    return createInvalid();
                }
            }
        ),
        prototypeMax = deprecate(
            'moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/',
            function () {
                var other = createLocal.apply(null, arguments);
                if (this.isValid() && other.isValid()) {
                    return other > this ? this : other;
                } else {
                    return createInvalid();
                }
            }
        );

    // Pick a moment m from moments so that m[fn](other) is true for all
    // other. This relies on the function fn to be transitive.
    //
    // moments should either be an array of moment objects or an array, whose
    // first element is an array of moment objects.
    function pickBy(fn, moments) {
        var res, i;
        if (moments.length === 1 && isArray(moments[0])) {
            moments = moments[0];
        }
        if (!moments.length) {
            return createLocal();
        }
        res = moments[0];
        for (i = 1; i < moments.length; ++i) {
            if (!moments[i].isValid() || moments[i][fn](res)) {
                res = moments[i];
            }
        }
        return res;
    }

    // TODO: Use [].sort instead?
    function min() {
        var args = [].slice.call(arguments, 0);

        return pickBy('isBefore', args);
    }

    function max() {
        var args = [].slice.call(arguments, 0);

        return pickBy('isAfter', args);
    }

    var now = function () {
        return Date.now ? Date.now() : +new Date();
    };

    var ordering = [
        'year',
        'quarter',
        'month',
        'week',
        'day',
        'hour',
        'minute',
        'second',
        'millisecond',
    ];

    function isDurationValid(m) {
        var key,
            unitHasDecimal = false,
            i,
            orderLen = ordering.length;
        for (key in m) {
            if (
                hasOwnProp(m, key) &&
                !(
                    indexOf.call(ordering, key) !== -1 &&
                    (m[key] == null || !isNaN(m[key]))
                )
            ) {
                return false;
            }
        }

        for (i = 0; i < orderLen; ++i) {
            if (m[ordering[i]]) {
                if (unitHasDecimal) {
                    return false; // only allow non-integers for smallest unit
                }
                if (parseFloat(m[ordering[i]]) !== toInt(m[ordering[i]])) {
                    unitHasDecimal = true;
                }
            }
        }

        return true;
    }

    function isValid$1() {
        return this._isValid;
    }

    function createInvalid$1() {
        return createDuration(NaN);
    }

    function Duration(duration) {
        var normalizedInput = normalizeObjectUnits(duration),
            years = normalizedInput.year || 0,
            quarters = normalizedInput.quarter || 0,
            months = normalizedInput.month || 0,
            weeks = normalizedInput.week || normalizedInput.isoWeek || 0,
            days = normalizedInput.day || 0,
            hours = normalizedInput.hour || 0,
            minutes = normalizedInput.minute || 0,
            seconds = normalizedInput.second || 0,
            milliseconds = normalizedInput.millisecond || 0;

        this._isValid = isDurationValid(normalizedInput);

        // representation for dateAddRemove
        this._milliseconds =
            +milliseconds +
            seconds * 1e3 + // 1000
            minutes * 6e4 + // 1000 * 60
            hours * 1000 * 60 * 60; //using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978
        // Because of dateAddRemove treats 24 hours as different from a
        // day when working around DST, we need to store them separately
        this._days = +days + weeks * 7;
        // It is impossible to translate months into days without knowing
        // which months you are are talking about, so we have to store
        // it separately.
        this._months = +months + quarters * 3 + years * 12;

        this._data = {};

        this._locale = getLocale();

        this._bubble();
    }

    function isDuration(obj) {
        return obj instanceof Duration;
    }

    function absRound(number) {
        if (number < 0) {
            return Math.round(-1 * number) * -1;
        } else {
            return Math.round(number);
        }
    }

    // compare two arrays, return the number of differences
    function compareArrays(array1, array2, dontConvert) {
        var len = Math.min(array1.length, array2.length),
            lengthDiff = Math.abs(array1.length - array2.length),
            diffs = 0,
            i;
        for (i = 0; i < len; i++) {
            if (
                (dontConvert && array1[i] !== array2[i]) ||
                (!dontConvert && toInt(array1[i]) !== toInt(array2[i]))
            ) {
                diffs++;
            }
        }
        return diffs + lengthDiff;
    }

    // FORMATTING

    function offset(token, separator) {
        addFormatToken(token, 0, 0, function () {
            var offset = this.utcOffset(),
                sign = '+';
            if (offset < 0) {
                offset = -offset;
                sign = '-';
            }
            return (
                sign +
                zeroFill(~~(offset / 60), 2) +
                separator +
                zeroFill(~~offset % 60, 2)
            );
        });
    }

    offset('Z', ':');
    offset('ZZ', '');

    // PARSING

    addRegexToken('Z', matchShortOffset);
    addRegexToken('ZZ', matchShortOffset);
    addParseToken(['Z', 'ZZ'], function (input, array, config) {
        config._useUTC = true;
        config._tzm = offsetFromString(matchShortOffset, input);
    });

    // HELPERS

    // timezone chunker
    // '+10:00' > ['10',  '00']
    // '-1530'  > ['-15', '30']
    var chunkOffset = /([\+\-]|\d\d)/gi;

    function offsetFromString(matcher, string) {
        var matches = (string || '').match(matcher),
            chunk,
            parts,
            minutes;

        if (matches === null) {
            return null;
        }

        chunk = matches[matches.length - 1] || [];
        parts = (chunk + '').match(chunkOffset) || ['-', 0, 0];
        minutes = +(parts[1] * 60) + toInt(parts[2]);

        return minutes === 0 ? 0 : parts[0] === '+' ? minutes : -minutes;
    }

    // Return a moment from input, that is local/utc/zone equivalent to model.
    function cloneWithOffset(input, model) {
        var res, diff;
        if (model._isUTC) {
            res = model.clone();
            diff =
                (isMoment(input) || isDate(input)
                    ? input.valueOf()
                    : createLocal(input).valueOf()) - res.valueOf();
            // Use low-level api, because this fn is low-level api.
            res._d.setTime(res._d.valueOf() + diff);
            hooks.updateOffset(res, false);
            return res;
        } else {
            return createLocal(input).local();
        }
    }

    function getDateOffset(m) {
        // On Firefox.24 Date#getTimezoneOffset returns a floating point.
        // https://github.com/moment/moment/pull/1871
        return -Math.round(m._d.getTimezoneOffset());
    }

    // HOOKS

    // This function will be called whenever a moment is mutated.
    // It is intended to keep the offset in sync with the timezone.
    hooks.updateOffset = function () {};

    // MOMENTS

    // keepLocalTime = true means only change the timezone, without
    // affecting the local hour. So 5:31:26 +0300 --[utcOffset(2, true)]-->
    // 5:31:26 +0200 It is possible that 5:31:26 doesn't exist with offset
    // +0200, so we adjust the time as needed, to be valid.
    //
    // Keeping the time actually adds/subtracts (one hour)
    // from the actual represented time. That is why we call updateOffset
    // a second time. In case it wants us to change the offset again
    // _changeInProgress == true case, then we have to adjust, because
    // there is no such time in the given timezone.
    function getSetOffset(input, keepLocalTime, keepMinutes) {
        var offset = this._offset || 0,
            localAdjust;
        if (!this.isValid()) {
            return input != null ? this : NaN;
        }
        if (input != null) {
            if (typeof input === 'string') {
                input = offsetFromString(matchShortOffset, input);
                if (input === null) {
                    return this;
                }
            } else if (Math.abs(input) < 16 && !keepMinutes) {
                input = input * 60;
            }
            if (!this._isUTC && keepLocalTime) {
                localAdjust = getDateOffset(this);
            }
            this._offset = input;
            this._isUTC = true;
            if (localAdjust != null) {
                this.add(localAdjust, 'm');
            }
            if (offset !== input) {
                if (!keepLocalTime || this._changeInProgress) {
                    addSubtract(
                        this,
                        createDuration(input - offset, 'm'),
                        1,
                        false
                    );
                } else if (!this._changeInProgress) {
                    this._changeInProgress = true;
                    hooks.updateOffset(this, true);
                    this._changeInProgress = null;
                }
            }
            return this;
        } else {
            return this._isUTC ? offset : getDateOffset(this);
        }
    }

    function getSetZone(input, keepLocalTime) {
        if (input != null) {
            if (typeof input !== 'string') {
                input = -input;
            }

            this.utcOffset(input, keepLocalTime);

            return this;
        } else {
            return -this.utcOffset();
        }
    }

    function setOffsetToUTC(keepLocalTime) {
        return this.utcOffset(0, keepLocalTime);
    }

    function setOffsetToLocal(keepLocalTime) {
        if (this._isUTC) {
            this.utcOffset(0, keepLocalTime);
            this._isUTC = false;

            if (keepLocalTime) {
                this.subtract(getDateOffset(this), 'm');
            }
        }
        return this;
    }

    function setOffsetToParsedOffset() {
        if (this._tzm != null) {
            this.utcOffset(this._tzm, false, true);
        } else if (typeof this._i === 'string') {
            var tZone = offsetFromString(matchOffset, this._i);
            if (tZone != null) {
                this.utcOffset(tZone);
            } else {
                this.utcOffset(0, true);
            }
        }
        return this;
    }

    function hasAlignedHourOffset(input) {
        if (!this.isValid()) {
            return false;
        }
        input = input ? createLocal(input).utcOffset() : 0;

        return (this.utcOffset() - input) % 60 === 0;
    }

    function isDaylightSavingTime() {
        return (
            this.utcOffset() > this.clone().month(0).utcOffset() ||
            this.utcOffset() > this.clone().month(5).utcOffset()
        );
    }

    function isDaylightSavingTimeShifted() {
        if (!isUndefined(this._isDSTShifted)) {
            return this._isDSTShifted;
        }

        var c = {},
            other;

        copyConfig(c, this);
        c = prepareConfig(c);

        if (c._a) {
            other = c._isUTC ? createUTC(c._a) : createLocal(c._a);
            this._isDSTShifted =
                this.isValid() && compareArrays(c._a, other.toArray()) > 0;
        } else {
            this._isDSTShifted = false;
        }

        return this._isDSTShifted;
    }

    function isLocal() {
        return this.isValid() ? !this._isUTC : false;
    }

    function isUtcOffset() {
        return this.isValid() ? this._isUTC : false;
    }

    function isUtc() {
        return this.isValid() ? this._isUTC && this._offset === 0 : false;
    }

    // ASP.NET json date format regex
    var aspNetRegex = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,
        // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html
        // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere
        // and further modified to allow for strings containing both week and day
        isoRegex =
            /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;

    function createDuration(input, key) {
        var duration = input,
            // matching against regexp is expensive, do it on demand
            match = null,
            sign,
            ret,
            diffRes;

        if (isDuration(input)) {
            duration = {
                ms: input._milliseconds,
                d: input._days,
                M: input._months,
            };
        } else if (isNumber(input) || !isNaN(+input)) {
            duration = {};
            if (key) {
                duration[key] = +input;
            } else {
                duration.milliseconds = +input;
            }
        } else if ((match = aspNetRegex.exec(input))) {
            sign = match[1] === '-' ? -1 : 1;
            duration = {
                y: 0,
                d: toInt(match[DATE]) * sign,
                h: toInt(match[HOUR]) * sign,
                m: toInt(match[MINUTE]) * sign,
                s: toInt(match[SECOND]) * sign,
                ms: toInt(absRound(match[MILLISECOND] * 1000)) * sign, // the millisecond decimal point is included in the match
            };
        } else if ((match = isoRegex.exec(input))) {
            sign = match[1] === '-' ? -1 : 1;
            duration = {
                y: parseIso(match[2], sign),
                M: parseIso(match[3], sign),
                w: parseIso(match[4], sign),
                d: parseIso(match[5], sign),
                h: parseIso(match[6], sign),
                m: parseIso(match[7], sign),
                s: parseIso(match[8], sign),
            };
        } else if (duration == null) {
            // checks for null or undefined
            duration = {};
        } else if (
            typeof duration === 'object' &&
            ('from' in duration || 'to' in duration)
        ) {
            diffRes = momentsDifference(
                createLocal(duration.from),
                createLocal(duration.to)
            );

            duration = {};
            duration.ms = diffRes.milliseconds;
            duration.M = diffRes.months;
        }

        ret = new Duration(duration);

        if (isDuration(input) && hasOwnProp(input, '_locale')) {
            ret._locale = input._locale;
        }

        if (isDuration(input) && hasOwnProp(input, '_isValid')) {
            ret._isValid = input._isValid;
        }

        return ret;
    }

    createDuration.fn = Duration.prototype;
    createDuration.invalid = createInvalid$1;

    function parseIso(inp, sign) {
        // We'd normally use ~~inp for this, but unfortunately it also
        // converts floats to ints.
        // inp may be undefined, so careful calling replace on it.
        var res = inp && parseFloat(inp.replace(',', '.'));
        // apply sign while we're at it
        return (isNaN(res) ? 0 : res) * sign;
    }

    function positiveMomentsDifference(base, other) {
        var res = {};

        res.months =
            other.month() - base.month() + (other.year() - base.year()) * 12;
        if (base.clone().add(res.months, 'M').isAfter(other)) {
            --res.months;
        }

        res.milliseconds = +other - +base.clone().add(res.months, 'M');

        return res;
    }

    function momentsDifference(base, other) {
        var res;
        if (!(base.isValid() && other.isValid())) {
            return { milliseconds: 0, months: 0 };
        }

        other = cloneWithOffset(other, base);
        if (base.isBefore(other)) {
            res = positiveMomentsDifference(base, other);
        } else {
            res = positiveMomentsDifference(other, base);
            res.milliseconds = -res.milliseconds;
            res.months = -res.months;
        }

        return res;
    }

    // TODO: remove 'name' arg after deprecation is removed
    function createAdder(direction, name) {
        return function (val, period) {
            var dur, tmp;
            //invert the arguments, but complain about it
            if (period !== null && !isNaN(+period)) {
                deprecateSimple(
                    name,
                    'moment().' +
                        name +
                        '(period, number) is deprecated. Please use moment().' +
                        name +
                        '(number, period). ' +
                        'See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.'
                );
                tmp = val;
                val = period;
                period = tmp;
            }

            dur = createDuration(val, period);
            addSubtract(this, dur, direction);
            return this;
        };
    }

    function addSubtract(mom, duration, isAdding, updateOffset) {
        var milliseconds = duration._milliseconds,
            days = absRound(duration._days),
            months = absRound(duration._months);

        if (!mom.isValid()) {
            // No op
            return;
        }

        updateOffset = updateOffset == null ? true : updateOffset;

        if (months) {
            setMonth(mom, get(mom, 'Month') + months * isAdding);
        }
        if (days) {
            set$1(mom, 'Date', get(mom, 'Date') + days * isAdding);
        }
        if (milliseconds) {
            mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding);
        }
        if (updateOffset) {
            hooks.updateOffset(mom, days || months);
        }
    }

    var add = createAdder(1, 'add'),
        subtract = createAdder(-1, 'subtract');

    function isString(input) {
        return typeof input === 'string' || input instanceof String;
    }

    // type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined
    function isMomentInput(input) {
        return (
            isMoment(input) ||
            isDate(input) ||
            isString(input) ||
            isNumber(input) ||
            isNumberOrStringArray(input) ||
            isMomentInputObject(input) ||
            input === null ||
            input === undefined
        );
    }

    function isMomentInputObject(input) {
        var objectTest = isObject(input) && !isObjectEmpty(input),
            propertyTest = false,
            properties = [
                'years',
                'year',
                'y',
                'months',
                'month',
                'M',
                'days',
                'day',
                'd',
                'dates',
                'date',
                'D',
                'hours',
                'hour',
                'h',
                'minutes',
                'minute',
                'm',
                'seconds',
                'second',
                's',
                'milliseconds',
                'millisecond',
                'ms',
            ],
            i,
            property,
            propertyLen = properties.length;

        for (i = 0; i < propertyLen; i += 1) {
            property = properties[i];
            propertyTest = propertyTest || hasOwnProp(input, property);
        }

        return objectTest && propertyTest;
    }

    function isNumberOrStringArray(input) {
        var arrayTest = isArray(input),
            dataTypeTest = false;
        if (arrayTest) {
            dataTypeTest =
                input.filter(function (item) {
                    return !isNumber(item) && isString(input);
                }).length === 0;
        }
        return arrayTest && dataTypeTest;
    }

    function isCalendarSpec(input) {
        var objectTest = isObject(input) && !isObjectEmpty(input),
            propertyTest = false,
            properties = [
                'sameDay',
                'nextDay',
                'lastDay',
                'nextWeek',
                'lastWeek',
                'sameElse',
            ],
            i,
            property;

        for (i = 0; i < properties.length; i += 1) {
            property = properties[i];
            propertyTest = propertyTest || hasOwnProp(input, property);
        }

        return objectTest && propertyTest;
    }

    function getCalendarFormat(myMoment, now) {
        var diff = myMoment.diff(now, 'days', true);
        return diff < -6
            ? 'sameElse'
            : diff < -1
            ? 'lastWeek'
            : diff < 0
            ? 'lastDay'
            : diff < 1
            ? 'sameDay'
            : diff < 2
            ? 'nextDay'
            : diff < 7
            ? 'nextWeek'
            : 'sameElse';
    }

    function calendar$1(time, formats) {
        // Support for single parameter, formats only overload to the calendar function
        if (arguments.length === 1) {
            if (!arguments[0]) {
                time = undefined;
                formats = undefined;
            } else if (isMomentInput(arguments[0])) {
                time = arguments[0];
                formats = undefined;
            } else if (isCalendarSpec(arguments[0])) {
                formats = arguments[0];
                time = undefined;
            }
        }
        // We want to compare the start of today, vs this.
        // Getting start-of-today depends on whether we're local/utc/offset or not.
        var now = time || createLocal(),
            sod = cloneWithOffset(now, this).startOf('day'),
            format = hooks.calendarFormat(this, sod) || 'sameElse',
            output =
                formats &&
                (isFunction(formats[format])
                    ? formats[format].call(this, now)
                    : formats[format]);

        return this.format(
            output || this.localeData().calendar(format, this, createLocal(now))
        );
    }

    function clone() {
        return new Moment(this);
    }

    function isAfter(input, units) {
        var localInput = isMoment(input) ? input : createLocal(input);
        if (!(this.isValid() && localInput.isValid())) {
            return false;
        }
        units = normalizeUnits(units) || 'millisecond';
        if (units === 'millisecond') {
            return this.valueOf() > localInput.valueOf();
        } else {
            return localInput.valueOf() < this.clone().startOf(units).valueOf();
        }
    }

    function isBefore(input, units) {
        var localInput = isMoment(input) ? input : createLocal(input);
        if (!(this.isValid() && localInput.isValid())) {
            return false;
        }
        units = normalizeUnits(units) || 'millisecond';
        if (units === 'millisecond') {
            return this.valueOf() < localInput.valueOf();
        } else {
            return this.clone().endOf(units).valueOf() < localInput.valueOf();
        }
    }

    function isBetween(from, to, units, inclusivity) {
        var localFrom = isMoment(from) ? from : createLocal(from),
            localTo = isMoment(to) ? to : createLocal(to);
        if (!(this.isValid() && localFrom.isValid() && localTo.isValid())) {
            return false;
        }
        inclusivity = inclusivity || '()';
        return (
            (inclusivity[0] === '('
                ? this.isAfter(localFrom, units)
                : !this.isBefore(localFrom, units)) &&
            (inclusivity[1] === ')'
                ? this.isBefore(localTo, units)
                : !this.isAfter(localTo, units))
        );
    }

    function isSame(input, units) {
        var localInput = isMoment(input) ? input : createLocal(input),
            inputMs;
        if (!(this.isValid() && localInput.isValid())) {
            return false;
        }
        units = normalizeUnits(units) || 'millisecond';
        if (units === 'millisecond') {
            return this.valueOf() === localInput.valueOf();
        } else {
            inputMs = localInput.valueOf();
            return (
                this.clone().startOf(units).valueOf() <= inputMs &&
                inputMs <= this.clone().endOf(units).valueOf()
            );
        }
    }

    function isSameOrAfter(input, units) {
        return this.isSame(input, units) || this.isAfter(input, units);
    }

    function isSameOrBefore(input, units) {
        return this.isSame(input, units) || this.isBefore(input, units);
    }

    function diff(input, units, asFloat) {
        var that, zoneDelta, output;

        if (!this.isValid()) {
            return NaN;
        }

        that = cloneWithOffset(input, this);

        if (!that.isValid()) {
            return NaN;
        }

        zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4;

        units = normalizeUnits(units);

        switch (units) {
            case 'year':
                output = monthDiff(this, that) / 12;
                break;
            case 'month':
                output = monthDiff(this, that);
                break;
            case 'quarter':
                output = monthDiff(this, that) / 3;
                break;
            case 'second':
                output = (this - that) / 1e3;
                break; // 1000
            case 'minute':
                output = (this - that) / 6e4;
                break; // 1000 * 60
            case 'hour':
                output = (this - that) / 36e5;
                break; // 1000 * 60 * 60
            case 'day':
                output = (this - that - zoneDelta) / 864e5;
                break; // 1000 * 60 * 60 * 24, negate dst
            case 'week':
                output = (this - that - zoneDelta) / 6048e5;
                break; // 1000 * 60 * 60 * 24 * 7, negate dst
            default:
                output = this - that;
        }

        return asFloat ? output : absFloor(output);
    }

    function monthDiff(a, b) {
        if (a.date() < b.date()) {
            // end-of-month calculations work correct when the start month has more
            // days than the end month.
            return -monthDiff(b, a);
        }
        // difference in months
        var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month()),
            // b is in (anchor - 1 month, anchor + 1 month)
            anchor = a.clone().add(wholeMonthDiff, 'months'),
            anchor2,
            adjust;

        if (b - anchor < 0) {
            anchor2 = a.clone().add(wholeMonthDiff - 1, 'months');
            // linear across the month
            adjust = (b - anchor) / (anchor - anchor2);
        } else {
            anchor2 = a.clone().add(wholeMonthDiff + 1, 'months');
            // linear across the month
            adjust = (b - anchor) / (anchor2 - anchor);
        }

        //check for negative zero, return zero if negative zero
        return -(wholeMonthDiff + adjust) || 0;
    }

    hooks.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ';
    hooks.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]';

    function toString() {
        return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ');
    }

    function toISOString(keepOffset) {
        if (!this.isValid()) {
            return null;
        }
        var utc = keepOffset !== true,
            m = utc ? this.clone().utc() : this;
        if (m.year() < 0 || m.year() > 9999) {
            return formatMoment(
                m,
                utc
                    ? 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]'
                    : 'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ'
            );
        }
        if (isFunction(Date.prototype.toISOString)) {
            // native implementation is ~50x faster, use it when we can
            if (utc) {
                return this.toDate().toISOString();
            } else {
                return new Date(this.valueOf() + this.utcOffset() * 60 * 1000)
                    .toISOString()
                    .replace('Z', formatMoment(m, 'Z'));
            }
        }
        return formatMoment(
            m,
            utc ? 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYY-MM-DD[T]HH:mm:ss.SSSZ'
        );
    }

    /**
     * Return a human readable representation of a moment that can
     * also be evaluated to get a new moment which is the same
     *
     * @link https://nodejs.org/dist/latest/docs/api/util.html#util_custom_inspect_function_on_objects
     */
    function inspect() {
        if (!this.isValid()) {
            return 'moment.invalid(/* ' + this._i + ' */)';
        }
        var func = 'moment',
            zone = '',
            prefix,
            year,
            datetime,
            suffix;
        if (!this.isLocal()) {
            func = this.utcOffset() === 0 ? 'moment.utc' : 'moment.parseZone';
            zone = 'Z';
        }
        prefix = '[' + func + '("]';
        year = 0 <= this.year() && this.year() <= 9999 ? 'YYYY' : 'YYYYYY';
        datetime = '-MM-DD[T]HH:mm:ss.SSS';
        suffix = zone + '[")]';

        return this.format(prefix + year + datetime + suffix);
    }

    function format(inputString) {
        if (!inputString) {
            inputString = this.isUtc()
                ? hooks.defaultFormatUtc
                : hooks.defaultFormat;
        }
        var output = formatMoment(this, inputString);
        return this.localeData().postformat(output);
    }

    function from(time, withoutSuffix) {
        if (
            this.isValid() &&
            ((isMoment(time) && time.isValid()) || createLocal(time).isValid())
        ) {
            return createDuration({ to: this, from: time })
                .locale(this.locale())
                .humanize(!withoutSuffix);
        } else {
            return this.localeData().invalidDate();
        }
    }

    function fromNow(withoutSuffix) {
        return this.from(createLocal(), withoutSuffix);
    }

    function to(time, withoutSuffix) {
        if (
            this.isValid() &&
            ((isMoment(time) && time.isValid()) || createLocal(time).isValid())
        ) {
            return createDuration({ from: this, to: time })
                .locale(this.locale())
                .humanize(!withoutSuffix);
        } else {
            return this.localeData().invalidDate();
        }
    }

    function toNow(withoutSuffix) {
        return this.to(createLocal(), withoutSuffix);
    }

    // If passed a locale key, it will set the locale for this
    // instance.  Otherwise, it will return the locale configuration
    // variables for this instance.
    function locale(key) {
        var newLocaleData;

        if (key === undefined) {
            return this._locale._abbr;
        } else {
            newLocaleData = getLocale(key);
            if (newLocaleData != null) {
                this._locale = newLocaleData;
            }
            return this;
        }
    }

    var lang = deprecate(
        'moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.',
        function (key) {
            if (key === undefined) {
                return this.localeData();
            } else {
                return this.locale(key);
            }
        }
    );

    function localeData() {
        return this._locale;
    }

    var MS_PER_SECOND = 1000,
        MS_PER_MINUTE = 60 * MS_PER_SECOND,
        MS_PER_HOUR = 60 * MS_PER_MINUTE,
        MS_PER_400_YEARS = (365 * 400 + 97) * 24 * MS_PER_HOUR;

    // actual modulo - handles negative numbers (for dates before 1970):
    function mod$1(dividend, divisor) {
        return ((dividend % divisor) + divisor) % divisor;
    }

    function localStartOfDate(y, m, d) {
        // the date constructor remaps years 0-99 to 1900-1999
        if (y < 100 && y >= 0) {
            // preserve leap years using a full 400 year cycle, then reset
            return new Date(y + 400, m, d) - MS_PER_400_YEARS;
        } else {
            return new Date(y, m, d).valueOf();
        }
    }

    function utcStartOfDate(y, m, d) {
        // Date.UTC remaps years 0-99 to 1900-1999
        if (y < 100 && y >= 0) {
            // preserve leap years using a full 400 year cycle, then reset
            return Date.UTC(y + 400, m, d) - MS_PER_400_YEARS;
        } else {
            return Date.UTC(y, m, d);
        }
    }

    function startOf(units) {
        var time, startOfDate;
        units = normalizeUnits(units);
        if (units === undefined || units === 'millisecond' || !this.isValid()) {
            return this;
        }

        startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;

        switch (units) {
            case 'year':
                time = startOfDate(this.year(), 0, 1);
                break;
            case 'quarter':
                time = startOfDate(
                    this.year(),
                    this.month() - (this.month() % 3),
                    1
                );
                break;
            case 'month':
                time = startOfDate(this.year(), this.month(), 1);
                break;
            case 'week':
                time = startOfDate(
                    this.year(),
                    this.month(),
                    this.date() - this.weekday()
                );
                break;
            case 'isoWeek':
                time = startOfDate(
                    this.year(),
                    this.month(),
                    this.date() - (this.isoWeekday() - 1)
                );
                break;
            case 'day':
            case 'date':
                time = startOfDate(this.year(), this.month(), this.date());
                break;
            case 'hour':
                time = this._d.valueOf();
                time -= mod$1(
                    time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE),
                    MS_PER_HOUR
                );
                break;
            case 'minute':
                time = this._d.valueOf();
                time -= mod$1(time, MS_PER_MINUTE);
                break;
            case 'second':
                time = this._d.valueOf();
                time -= mod$1(time, MS_PER_SECOND);
                break;
        }

        this._d.setTime(time);
        hooks.updateOffset(this, true);
        return this;
    }

    function endOf(units) {
        var time, startOfDate;
        units = normalizeUnits(units);
        if (units === undefined || units === 'millisecond' || !this.isValid()) {
            return this;
        }

        startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;

        switch (units) {
            case 'year':
                time = startOfDate(this.year() + 1, 0, 1) - 1;
                break;
            case 'quarter':
                time =
                    startOfDate(
                        this.year(),
                        this.month() - (this.month() % 3) + 3,
                        1
                    ) - 1;
                break;
            case 'month':
                time = startOfDate(this.year(), this.month() + 1, 1) - 1;
                break;
            case 'week':
                time =
                    startOfDate(
                        this.year(),
                        this.month(),
                        this.date() - this.weekday() + 7
                    ) - 1;
                break;
            case 'isoWeek':
                time =
                    startOfDate(
                        this.year(),
                        this.month(),
                        this.date() - (this.isoWeekday() - 1) + 7
                    ) - 1;
                break;
            case 'day':
            case 'date':
                time = startOfDate(this.year(), this.month(), this.date() + 1) - 1;
                break;
            case 'hour':
                time = this._d.valueOf();
                time +=
                    MS_PER_HOUR -
                    mod$1(
                        time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE),
                        MS_PER_HOUR
                    ) -
                    1;
                break;
            case 'minute':
                time = this._d.valueOf();
                time += MS_PER_MINUTE - mod$1(time, MS_PER_MINUTE) - 1;
                break;
            case 'second':
                time = this._d.valueOf();
                time += MS_PER_SECOND - mod$1(time, MS_PER_SECOND) - 1;
                break;
        }

        this._d.setTime(time);
        hooks.updateOffset(this, true);
        return this;
    }

    function valueOf() {
        return this._d.valueOf() - (this._offset || 0) * 60000;
    }

    function unix() {
        return Math.floor(this.valueOf() / 1000);
    }

    function toDate() {
        return new Date(this.valueOf());
    }

    function toArray() {
        var m = this;
        return [
            m.year(),
            m.month(),
            m.date(),
            m.hour(),
            m.minute(),
            m.second(),
            m.millisecond(),
        ];
    }

    function toObject() {
        var m = this;
        return {
            years: m.year(),
            months: m.month(),
            date: m.date(),
            hours: m.hours(),
            minutes: m.minutes(),
            seconds: m.seconds(),
            milliseconds: m.milliseconds(),
        };
    }

    function toJSON() {
        // new Date(NaN).toJSON() === null
        return this.isValid() ? this.toISOString() : null;
    }

    function isValid$2() {
        return isValid(this);
    }

    function parsingFlags() {
        return extend({}, getParsingFlags(this));
    }

    function invalidAt() {
        return getParsingFlags(this).overflow;
    }

    function creationData() {
        return {
            input: this._i,
            format: this._f,
            locale: this._locale,
            isUTC: this._isUTC,
            strict: this._strict,
        };
    }

    addFormatToken('N', 0, 0, 'eraAbbr');
    addFormatToken('NN', 0, 0, 'eraAbbr');
    addFormatToken('NNN', 0, 0, 'eraAbbr');
    addFormatToken('NNNN', 0, 0, 'eraName');
    addFormatToken('NNNNN', 0, 0, 'eraNarrow');

    addFormatToken('y', ['y', 1], 'yo', 'eraYear');
    addFormatToken('y', ['yy', 2], 0, 'eraYear');
    addFormatToken('y', ['yyy', 3], 0, 'eraYear');
    addFormatToken('y', ['yyyy', 4], 0, 'eraYear');

    addRegexToken('N', matchEraAbbr);
    addRegexToken('NN', matchEraAbbr);
    addRegexToken('NNN', matchEraAbbr);
    addRegexToken('NNNN', matchEraName);
    addRegexToken('NNNNN', matchEraNarrow);

    addParseToken(
        ['N', 'NN', 'NNN', 'NNNN', 'NNNNN'],
        function (input, array, config, token) {
            var era = config._locale.erasParse(input, token, config._strict);
            if (era) {
                getParsingFlags(config).era = era;
            } else {
                getParsingFlags(config).invalidEra = input;
            }
        }
    );

    addRegexToken('y', matchUnsigned);
    addRegexToken('yy', matchUnsigned);
    addRegexToken('yyy', matchUnsigned);
    addRegexToken('yyyy', matchUnsigned);
    addRegexToken('yo', matchEraYearOrdinal);

    addParseToken(['y', 'yy', 'yyy', 'yyyy'], YEAR);
    addParseToken(['yo'], function (input, array, config, token) {
        var match;
        if (config._locale._eraYearOrdinalRegex) {
            match = input.match(config._locale._eraYearOrdinalRegex);
        }

        if (config._locale.eraYearOrdinalParse) {
            array[YEAR] = config._locale.eraYearOrdinalParse(input, match);
        } else {
            array[YEAR] = parseInt(input, 10);
        }
    });

    function localeEras(m, format) {
        var i,
            l,
            date,
            eras = this._eras || getLocale('en')._eras;
        for (i = 0, l = eras.length; i < l; ++i) {
            switch (typeof eras[i].since) {
                case 'string':
                    // truncate time
                    date = hooks(eras[i].since).startOf('day');
                    eras[i].since = date.valueOf();
                    break;
            }

            switch (typeof eras[i].until) {
                case 'undefined':
                    eras[i].until = +Infinity;
                    break;
                case 'string':
                    // truncate time
                    date = hooks(eras[i].until).startOf('day').valueOf();
                    eras[i].until = date.valueOf();
                    break;
            }
        }
        return eras;
    }

    function localeErasParse(eraName, format, strict) {
        var i,
            l,
            eras = this.eras(),
            name,
            abbr,
            narrow;
        eraName = eraName.toUpperCase();

        for (i = 0, l = eras.length; i < l; ++i) {
            name = eras[i].name.toUpperCase();
            abbr = eras[i].abbr.toUpperCase();
            narrow = eras[i].narrow.toUpperCase();

            if (strict) {
                switch (format) {
                    case 'N':
                    case 'NN':
                    case 'NNN':
                        if (abbr === eraName) {
                            return eras[i];
                        }
                        break;

                    case 'NNNN':
                        if (name === eraName) {
                            return eras[i];
                        }
                        break;

                    case 'NNNNN':
                        if (narrow === eraName) {
                            return eras[i];
                        }
                        break;
                }
            } else if ([name, abbr, narrow].indexOf(eraName) >= 0) {
                return eras[i];
            }
        }
    }

    function localeErasConvertYear(era, year) {
        var dir = era.since <= era.until ? +1 : -1;
        if (year === undefined) {
            return hooks(era.since).year();
        } else {
            return hooks(era.since).year() + (year - era.offset) * dir;
        }
    }

    function getEraName() {
        var i,
            l,
            val,
            eras = this.localeData().eras();
        for (i = 0, l = eras.length; i < l; ++i) {
            // truncate time
            val = this.clone().startOf('day').valueOf();

            if (eras[i].since <= val && val <= eras[i].until) {
                return eras[i].name;
            }
            if (eras[i].until <= val && val <= eras[i].since) {
                return eras[i].name;
            }
        }

        return '';
    }

    function getEraNarrow() {
        var i,
            l,
            val,
            eras = this.localeData().eras();
        for (i = 0, l = eras.length; i < l; ++i) {
            // truncate time
            val = this.clone().startOf('day').valueOf();

            if (eras[i].since <= val && val <= eras[i].until) {
                return eras[i].narrow;
            }
            if (eras[i].until <= val && val <= eras[i].since) {
                return eras[i].narrow;
            }
        }

        return '';
    }

    function getEraAbbr() {
        var i,
            l,
            val,
            eras = this.localeData().eras();
        for (i = 0, l = eras.length; i < l; ++i) {
            // truncate time
            val = this.clone().startOf('day').valueOf();

            if (eras[i].since <= val && val <= eras[i].until) {
                return eras[i].abbr;
            }
            if (eras[i].until <= val && val <= eras[i].since) {
                return eras[i].abbr;
            }
        }

        return '';
    }

    function getEraYear() {
        var i,
            l,
            dir,
            val,
            eras = this.localeData().eras();
        for (i = 0, l = eras.length; i < l; ++i) {
            dir = eras[i].since <= eras[i].until ? +1 : -1;

            // truncate time
            val = this.clone().startOf('day').valueOf();

            if (
                (eras[i].since <= val && val <= eras[i].until) ||
                (eras[i].until <= val && val <= eras[i].since)
            ) {
                return (
                    (this.year() - hooks(eras[i].since).year()) * dir +
                    eras[i].offset
                );
            }
        }

        return this.year();
    }

    function erasNameRegex(isStrict) {
        if (!hasOwnProp(this, '_erasNameRegex')) {
            computeErasParse.call(this);
        }
        return isStrict ? this._erasNameRegex : this._erasRegex;
    }

    function erasAbbrRegex(isStrict) {
        if (!hasOwnProp(this, '_erasAbbrRegex')) {
            computeErasParse.call(this);
        }
        return isStrict ? this._erasAbbrRegex : this._erasRegex;
    }

    function erasNarrowRegex(isStrict) {
        if (!hasOwnProp(this, '_erasNarrowRegex')) {
            computeErasParse.call(this);
        }
        return isStrict ? this._erasNarrowRegex : this._erasRegex;
    }

    function matchEraAbbr(isStrict, locale) {
        return locale.erasAbbrRegex(isStrict);
    }

    function matchEraName(isStrict, locale) {
        return locale.erasNameRegex(isStrict);
    }

    function matchEraNarrow(isStrict, locale) {
        return locale.erasNarrowRegex(isStrict);
    }

    function matchEraYearOrdinal(isStrict, locale) {
        return locale._eraYearOrdinalRegex || matchUnsigned;
    }

    function computeErasParse() {
        var abbrPieces = [],
            namePieces = [],
            narrowPieces = [],
            mixedPieces = [],
            i,
            l,
            eras = this.eras();

        for (i = 0, l = eras.length; i < l; ++i) {
            namePieces.push(regexEscape(eras[i].name));
            abbrPieces.push(regexEscape(eras[i].abbr));
            narrowPieces.push(regexEscape(eras[i].narrow));

            mixedPieces.push(regexEscape(eras[i].name));
            mixedPieces.push(regexEscape(eras[i].abbr));
            mixedPieces.push(regexEscape(eras[i].narrow));
        }

        this._erasRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');
        this._erasNameRegex = new RegExp('^(' + namePieces.join('|') + ')', 'i');
        this._erasAbbrRegex = new RegExp('^(' + abbrPieces.join('|') + ')', 'i');
        this._erasNarrowRegex = new RegExp(
            '^(' + narrowPieces.join('|') + ')',
            'i'
        );
    }

    // FORMATTING

    addFormatToken(0, ['gg', 2], 0, function () {
        return this.weekYear() % 100;
    });

    addFormatToken(0, ['GG', 2], 0, function () {
        return this.isoWeekYear() % 100;
    });

    function addWeekYearFormatToken(token, getter) {
        addFormatToken(0, [token, token.length], 0, getter);
    }

    addWeekYearFormatToken('gggg', 'weekYear');
    addWeekYearFormatToken('ggggg', 'weekYear');
    addWeekYearFormatToken('GGGG', 'isoWeekYear');
    addWeekYearFormatToken('GGGGG', 'isoWeekYear');

    // ALIASES

    addUnitAlias('weekYear', 'gg');
    addUnitAlias('isoWeekYear', 'GG');

    // PRIORITY

    addUnitPriority('weekYear', 1);
    addUnitPriority('isoWeekYear', 1);

    // PARSING

    addRegexToken('G', matchSigned);
    addRegexToken('g', matchSigned);
    addRegexToken('GG', match1to2, match2);
    addRegexToken('gg', match1to2, match2);
    addRegexToken('GGGG', match1to4, match4);
    addRegexToken('gggg', match1to4, match4);
    addRegexToken('GGGGG', match1to6, match6);
    addRegexToken('ggggg', match1to6, match6);

    addWeekParseToken(
        ['gggg', 'ggggg', 'GGGG', 'GGGGG'],
        function (input, week, config, token) {
            week[token.substr(0, 2)] = toInt(input);
        }
    );

    addWeekParseToken(['gg', 'GG'], function (input, week, config, token) {
        week[token] = hooks.parseTwoDigitYear(input);
    });

    // MOMENTS

    function getSetWeekYear(input) {
        return getSetWeekYearHelper.call(
            this,
            input,
            this.week(),
            this.weekday(),
            this.localeData()._week.dow,
            this.localeData()._week.doy
        );
    }

    function getSetISOWeekYear(input) {
        return getSetWeekYearHelper.call(
            this,
            input,
            this.isoWeek(),
            this.isoWeekday(),
            1,
            4
        );
    }

    function getISOWeeksInYear() {
        return weeksInYear(this.year(), 1, 4);
    }

    function getISOWeeksInISOWeekYear() {
        return weeksInYear(this.isoWeekYear(), 1, 4);
    }

    function getWeeksInYear() {
        var weekInfo = this.localeData()._week;
        return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy);
    }

    function getWeeksInWeekYear() {
        var weekInfo = this.localeData()._week;
        return weeksInYear(this.weekYear(), weekInfo.dow, weekInfo.doy);
    }

    function getSetWeekYearHelper(input, week, weekday, dow, doy) {
        var weeksTarget;
        if (input == null) {
            return weekOfYear(this, dow, doy).year;
        } else {
            weeksTarget = weeksInYear(input, dow, doy);
            if (week > weeksTarget) {
                week = weeksTarget;
            }
            return setWeekAll.call(this, input, week, weekday, dow, doy);
        }
    }

    function setWeekAll(weekYear, week, weekday, dow, doy) {
        var dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy),
            date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear);

        this.year(date.getUTCFullYear());
        this.month(date.getUTCMonth());
        this.date(date.getUTCDate());
        return this;
    }

    // FORMATTING

    addFormatToken('Q', 0, 'Qo', 'quarter');

    // ALIASES

    addUnitAlias('quarter', 'Q');

    // PRIORITY

    addUnitPriority('quarter', 7);

    // PARSING

    addRegexToken('Q', match1);
    addParseToken('Q', function (input, array) {
        array[MONTH] = (toInt(input) - 1) * 3;
    });

    // MOMENTS

    function getSetQuarter(input) {
        return input == null
            ? Math.ceil((this.month() + 1) / 3)
            : this.month((input - 1) * 3 + (this.month() % 3));
    }

    // FORMATTING

    addFormatToken('D', ['DD', 2], 'Do', 'date');

    // ALIASES

    addUnitAlias('date', 'D');

    // PRIORITY
    addUnitPriority('date', 9);

    // PARSING

    addRegexToken('D', match1to2);
    addRegexToken('DD', match1to2, match2);
    addRegexToken('Do', function (isStrict, locale) {
        // TODO: Remove "ordinalParse" fallback in next major release.
        return isStrict
            ? locale._dayOfMonthOrdinalParse || locale._ordinalParse
            : locale._dayOfMonthOrdinalParseLenient;
    });

    addParseToken(['D', 'DD'], DATE);
    addParseToken('Do', function (input, array) {
        array[DATE] = toInt(input.match(match1to2)[0]);
    });

    // MOMENTS

    var getSetDayOfMonth = makeGetSet('Date', true);

    // FORMATTING

    addFormatToken('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear');

    // ALIASES

    addUnitAlias('dayOfYear', 'DDD');

    // PRIORITY
    addUnitPriority('dayOfYear', 4);

    // PARSING

    addRegexToken('DDD', match1to3);
    addRegexToken('DDDD', match3);
    addParseToken(['DDD', 'DDDD'], function (input, array, config) {
        config._dayOfYear = toInt(input);
    });

    // HELPERS

    // MOMENTS

    function getSetDayOfYear(input) {
        var dayOfYear =
            Math.round(
                (this.clone().startOf('day') - this.clone().startOf('year')) / 864e5
            ) + 1;
        return input == null ? dayOfYear : this.add(input - dayOfYear, 'd');
    }

    // FORMATTING

    addFormatToken('m', ['mm', 2], 0, 'minute');

    // ALIASES

    addUnitAlias('minute', 'm');

    // PRIORITY

    addUnitPriority('minute', 14);

    // PARSING

    addRegexToken('m', match1to2);
    addRegexToken('mm', match1to2, match2);
    addParseToken(['m', 'mm'], MINUTE);

    // MOMENTS

    var getSetMinute = makeGetSet('Minutes', false);

    // FORMATTING

    addFormatToken('s', ['ss', 2], 0, 'second');

    // ALIASES

    addUnitAlias('second', 's');

    // PRIORITY

    addUnitPriority('second', 15);

    // PARSING

    addRegexToken('s', match1to2);
    addRegexToken('ss', match1to2, match2);
    addParseToken(['s', 'ss'], SECOND);

    // MOMENTS

    var getSetSecond = makeGetSet('Seconds', false);

    // FORMATTING

    addFormatToken('S', 0, 0, function () {
        return ~~(this.millisecond() / 100);
    });

    addFormatToken(0, ['SS', 2], 0, function () {
        return ~~(this.millisecond() / 10);
    });

    addFormatToken(0, ['SSS', 3], 0, 'millisecond');
    addFormatToken(0, ['SSSS', 4], 0, function () {
        return this.millisecond() * 10;
    });
    addFormatToken(0, ['SSSSS', 5], 0, function () {
        return this.millisecond() * 100;
    });
    addFormatToken(0, ['SSSSSS', 6], 0, function () {
        return this.millisecond() * 1000;
    });
    addFormatToken(0, ['SSSSSSS', 7], 0, function () {
        return this.millisecond() * 10000;
    });
    addFormatToken(0, ['SSSSSSSS', 8], 0, function () {
        return this.millisecond() * 100000;
    });
    addFormatToken(0, ['SSSSSSSSS', 9], 0, function () {
        return this.millisecond() * 1000000;
    });

    // ALIASES

    addUnitAlias('millisecond', 'ms');

    // PRIORITY

    addUnitPriority('millisecond', 16);

    // PARSING

    addRegexToken('S', match1to3, match1);
    addRegexToken('SS', match1to3, match2);
    addRegexToken('SSS', match1to3, match3);

    var token, getSetMillisecond;
    for (token = 'SSSS'; token.length <= 9; token += 'S') {
        addRegexToken(token, matchUnsigned);
    }

    function parseMs(input, array) {
        array[MILLISECOND] = toInt(('0.' + input) * 1000);
    }

    for (token = 'S'; token.length <= 9; token += 'S') {
        addParseToken(token, parseMs);
    }

    getSetMillisecond = makeGetSet('Milliseconds', false);

    // FORMATTING

    addFormatToken('z', 0, 0, 'zoneAbbr');
    addFormatToken('zz', 0, 0, 'zoneName');

    // MOMENTS

    function getZoneAbbr() {
        return this._isUTC ? 'UTC' : '';
    }

    function getZoneName() {
        return this._isUTC ? 'Coordinated Universal Time' : '';
    }

    var proto = Moment.prototype;

    proto.add = add;
    proto.calendar = calendar$1;
    proto.clone = clone;
    proto.diff = diff;
    proto.endOf = endOf;
    proto.format = format;
    proto.from = from;
    proto.fromNow = fromNow;
    proto.to = to;
    proto.toNow = toNow;
    proto.get = stringGet;
    proto.invalidAt = invalidAt;
    proto.isAfter = isAfter;
    proto.isBefore = isBefore;
    proto.isBetween = isBetween;
    proto.isSame = isSame;
    proto.isSameOrAfter = isSameOrAfter;
    proto.isSameOrBefore = isSameOrBefore;
    proto.isValid = isValid$2;
    proto.lang = lang;
    proto.locale = locale;
    proto.localeData = localeData;
    proto.max = prototypeMax;
    proto.min = prototypeMin;
    proto.parsingFlags = parsingFlags;
    proto.set = stringSet;
    proto.startOf = startOf;
    proto.subtract = subtract;
    proto.toArray = toArray;
    proto.toObject = toObject;
    proto.toDate = toDate;
    proto.toISOString = toISOString;
    proto.inspect = inspect;
    if (typeof Symbol !== 'undefined' && Symbol.for != null) {
        proto[Symbol.for('nodejs.util.inspect.custom')] = function () {
            return 'Moment<' + this.format() + '>';
        };
    }
    proto.toJSON = toJSON;
    proto.toString = toString;
    proto.unix = unix;
    proto.valueOf = valueOf;
    proto.creationData = creationData;
    proto.eraName = getEraName;
    proto.eraNarrow = getEraNarrow;
    proto.eraAbbr = getEraAbbr;
    proto.eraYear = getEraYear;
    proto.year = getSetYear;
    proto.isLeapYear = getIsLeapYear;
    proto.weekYear = getSetWeekYear;
    proto.isoWeekYear = getSetISOWeekYear;
    proto.quarter = proto.quarters = getSetQuarter;
    proto.month = getSetMonth;
    proto.daysInMonth = getDaysInMonth;
    proto.week = proto.weeks = getSetWeek;
    proto.isoWeek = proto.isoWeeks = getSetISOWeek;
    proto.weeksInYear = getWeeksInYear;
    proto.weeksInWeekYear = getWeeksInWeekYear;
    proto.isoWeeksInYear = getISOWeeksInYear;
    proto.isoWeeksInISOWeekYear = getISOWeeksInISOWeekYear;
    proto.date = getSetDayOfMonth;
    proto.day = proto.days = getSetDayOfWeek;
    proto.weekday = getSetLocaleDayOfWeek;
    proto.isoWeekday = getSetISODayOfWeek;
    proto.dayOfYear = getSetDayOfYear;
    proto.hour = proto.hours = getSetHour;
    proto.minute = proto.minutes = getSetMinute;
    proto.second = proto.seconds = getSetSecond;
    proto.millisecond = proto.milliseconds = getSetMillisecond;
    proto.utcOffset = getSetOffset;
    proto.utc = setOffsetToUTC;
    proto.local = setOffsetToLocal;
    proto.parseZone = setOffsetToParsedOffset;
    proto.hasAlignedHourOffset = hasAlignedHourOffset;
    proto.isDST = isDaylightSavingTime;
    proto.isLocal = isLocal;
    proto.isUtcOffset = isUtcOffset;
    proto.isUtc = isUtc;
    proto.isUTC = isUtc;
    proto.zoneAbbr = getZoneAbbr;
    proto.zoneName = getZoneName;
    proto.dates = deprecate(
        'dates accessor is deprecated. Use date instead.',
        getSetDayOfMonth
    );
    proto.months = deprecate(
        'months accessor is deprecated. Use month instead',
        getSetMonth
    );
    proto.years = deprecate(
        'years accessor is deprecated. Use year instead',
        getSetYear
    );
    proto.zone = deprecate(
        'moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/',
        getSetZone
    );
    proto.isDSTShifted = deprecate(
        'isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information',
        isDaylightSavingTimeShifted
    );

    function createUnix(input) {
        return createLocal(input * 1000);
    }

    function createInZone() {
        return createLocal.apply(null, arguments).parseZone();
    }

    function preParsePostFormat(string) {
        return string;
    }

    var proto$1 = Locale.prototype;

    proto$1.calendar = calendar;
    proto$1.longDateFormat = longDateFormat;
    proto$1.invalidDate = invalidDate;
    proto$1.ordinal = ordinal;
    proto$1.preparse = preParsePostFormat;
    proto$1.postformat = preParsePostFormat;
    proto$1.relativeTime = relativeTime;
    proto$1.pastFuture = pastFuture;
    proto$1.set = set;
    proto$1.eras = localeEras;
    proto$1.erasParse = localeErasParse;
    proto$1.erasConvertYear = localeErasConvertYear;
    proto$1.erasAbbrRegex = erasAbbrRegex;
    proto$1.erasNameRegex = erasNameRegex;
    proto$1.erasNarrowRegex = erasNarrowRegex;

    proto$1.months = localeMonths;
    proto$1.monthsShort = localeMonthsShort;
    proto$1.monthsParse = localeMonthsParse;
    proto$1.monthsRegex = monthsRegex;
    proto$1.monthsShortRegex = monthsShortRegex;
    proto$1.week = localeWeek;
    proto$1.firstDayOfYear = localeFirstDayOfYear;
    proto$1.firstDayOfWeek = localeFirstDayOfWeek;

    proto$1.weekdays = localeWeekdays;
    proto$1.weekdaysMin = localeWeekdaysMin;
    proto$1.weekdaysShort = localeWeekdaysShort;
    proto$1.weekdaysParse = localeWeekdaysParse;

    proto$1.weekdaysRegex = weekdaysRegex;
    proto$1.weekdaysShortRegex = weekdaysShortRegex;
    proto$1.weekdaysMinRegex = weekdaysMinRegex;

    proto$1.isPM = localeIsPM;
    proto$1.meridiem = localeMeridiem;

    function get$1(format, index, field, setter) {
        var locale = getLocale(),
            utc = createUTC().set(setter, index);
        return locale[field](utc, format);
    }

    function listMonthsImpl(format, index, field) {
        if (isNumber(format)) {
            index = format;
            format = undefined;
        }

        format = format || '';

        if (index != null) {
            return get$1(format, index, field, 'month');
        }

        var i,
            out = [];
        for (i = 0; i < 12; i++) {
            out[i] = get$1(format, i, field, 'month');
        }
        return out;
    }

    // ()
    // (5)
    // (fmt, 5)
    // (fmt)
    // (true)
    // (true, 5)
    // (true, fmt, 5)
    // (true, fmt)
    function listWeekdaysImpl(localeSorted, format, index, field) {
        if (typeof localeSorted === 'boolean') {
            if (isNumber(format)) {
                index = format;
                format = undefined;
            }

            format = format || '';
        } else {
            format = localeSorted;
            index = format;
            localeSorted = false;

            if (isNumber(format)) {
                index = format;
                format = undefined;
            }

            format = format || '';
        }

        var locale = getLocale(),
            shift = localeSorted ? locale._week.dow : 0,
            i,
            out = [];

        if (index != null) {
            return get$1(format, (index + shift) % 7, field, 'day');
        }

        for (i = 0; i < 7; i++) {
            out[i] = get$1(format, (i + shift) % 7, field, 'day');
        }
        return out;
    }

    function listMonths(format, index) {
        return listMonthsImpl(format, index, 'months');
    }

    function listMonthsShort(format, index) {
        return listMonthsImpl(format, index, 'monthsShort');
    }

    function listWeekdays(localeSorted, format, index) {
        return listWeekdaysImpl(localeSorted, format, index, 'weekdays');
    }

    function listWeekdaysShort(localeSorted, format, index) {
        return listWeekdaysImpl(localeSorted, format, index, 'weekdaysShort');
    }

    function listWeekdaysMin(localeSorted, format, index) {
        return listWeekdaysImpl(localeSorted, format, index, 'weekdaysMin');
    }

    getSetGlobalLocale('en', {
        eras: [
            {
                since: '0001-01-01',
                until: +Infinity,
                offset: 1,
                name: 'Anno Domini',
                narrow: 'AD',
                abbr: 'AD',
            },
            {
                since: '0000-12-31',
                until: -Infinity,
                offset: 1,
                name: 'Before Christ',
                narrow: 'BC',
                abbr: 'BC',
            },
        ],
        dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
        ordinal: function (number) {
            var b = number % 10,
                output =
                    toInt((number % 100) / 10) === 1
                        ? 'th'
                        : b === 1
                        ? 'st'
                        : b === 2
                        ? 'nd'
                        : b === 3
                        ? 'rd'
                        : 'th';
            return number + output;
        },
    });

    // Side effect imports

    hooks.lang = deprecate(
        'moment.lang is deprecated. Use moment.locale instead.',
        getSetGlobalLocale
    );
    hooks.langData = deprecate(
        'moment.langData is deprecated. Use moment.localeData instead.',
        getLocale
    );

    var mathAbs = Math.abs;

    function abs() {
        var data = this._data;

        this._milliseconds = mathAbs(this._milliseconds);
        this._days = mathAbs(this._days);
        this._months = mathAbs(this._months);

        data.milliseconds = mathAbs(data.milliseconds);
        data.seconds = mathAbs(data.seconds);
        data.minutes = mathAbs(data.minutes);
        data.hours = mathAbs(data.hours);
        data.months = mathAbs(data.months);
        data.years = mathAbs(data.years);

        return this;
    }

    function addSubtract$1(duration, input, value, direction) {
        var other = createDuration(input, value);

        duration._milliseconds += direction * other._milliseconds;
        duration._days += direction * other._days;
        duration._months += direction * other._months;

        return duration._bubble();
    }

    // supports only 2.0-style add(1, 's') or add(duration)
    function add$1(input, value) {
        return addSubtract$1(this, input, value, 1);
    }

    // supports only 2.0-style subtract(1, 's') or subtract(duration)
    function subtract$1(input, value) {
        return addSubtract$1(this, input, value, -1);
    }

    function absCeil(number) {
        if (number < 0) {
            return Math.floor(number);
        } else {
            return Math.ceil(number);
        }
    }

    function bubble() {
        var milliseconds = this._milliseconds,
            days = this._days,
            months = this._months,
            data = this._data,
            seconds,
            minutes,
            hours,
            years,
            monthsFromDays;

        // if we have a mix of positive and negative values, bubble down first
        // check: https://github.com/moment/moment/issues/2166
        if (
            !(
                (milliseconds >= 0 && days >= 0 && months >= 0) ||
                (milliseconds <= 0 && days <= 0 && months <= 0)
            )
        ) {
            milliseconds += absCeil(monthsToDays(months) + days) * 864e5;
            days = 0;
            months = 0;
        }

        // The following code bubbles up values, see the tests for
        // examples of what that means.
        data.milliseconds = milliseconds % 1000;

        seconds = absFloor(milliseconds / 1000);
        data.seconds = seconds % 60;

        minutes = absFloor(seconds / 60);
        data.minutes = minutes % 60;

        hours = absFloor(minutes / 60);
        data.hours = hours % 24;

        days += absFloor(hours / 24);

        // convert days to months
        monthsFromDays = absFloor(daysToMonths(days));
        months += monthsFromDays;
        days -= absCeil(monthsToDays(monthsFromDays));

        // 12 months -> 1 year
        years = absFloor(months / 12);
        months %= 12;

        data.days = days;
        data.months = months;
        data.years = years;

        return this;
    }

    function daysToMonths(days) {
        // 400 years have 146097 days (taking into account leap year rules)
        // 400 years have 12 months === 4800
        return (days * 4800) / 146097;
    }

    function monthsToDays(months) {
        // the reverse of daysToMonths
        return (months * 146097) / 4800;
    }

    function as(units) {
        if (!this.isValid()) {
            return NaN;
        }
        var days,
            months,
            milliseconds = this._milliseconds;

        units = normalizeUnits(units);

        if (units === 'month' || units === 'quarter' || units === 'year') {
            days = this._days + milliseconds / 864e5;
            months = this._months + daysToMonths(days);
            switch (units) {
                case 'month':
                    return months;
                case 'quarter':
                    return months / 3;
                case 'year':
                    return months / 12;
            }
        } else {
            // handle milliseconds separately because of floating point math errors (issue #1867)
            days = this._days + Math.round(monthsToDays(this._months));
            switch (units) {
                case 'week':
                    return days / 7 + milliseconds / 6048e5;
                case 'day':
                    return days + milliseconds / 864e5;
                case 'hour':
                    return days * 24 + milliseconds / 36e5;
                case 'minute':
                    return days * 1440 + milliseconds / 6e4;
                case 'second':
                    return days * 86400 + milliseconds / 1000;
                // Math.floor prevents floating point math errors here
                case 'millisecond':
                    return Math.floor(days * 864e5) + milliseconds;
                default:
                    throw new Error('Unknown unit ' + units);
            }
        }
    }

    // TODO: Use this.as('ms')?
    function valueOf$1() {
        if (!this.isValid()) {
            return NaN;
        }
        return (
            this._milliseconds +
            this._days * 864e5 +
            (this._months % 12) * 2592e6 +
            toInt(this._months / 12) * 31536e6
        );
    }

    function makeAs(alias) {
        return function () {
            return this.as(alias);
        };
    }

    var asMilliseconds = makeAs('ms'),
        asSeconds = makeAs('s'),
        asMinutes = makeAs('m'),
        asHours = makeAs('h'),
        asDays = makeAs('d'),
        asWeeks = makeAs('w'),
        asMonths = makeAs('M'),
        asQuarters = makeAs('Q'),
        asYears = makeAs('y');

    function clone$1() {
        return createDuration(this);
    }

    function get$2(units) {
        units = normalizeUnits(units);
        return this.isValid() ? this[units + 's']() : NaN;
    }

    function makeGetter(name) {
        return function () {
            return this.isValid() ? this._data[name] : NaN;
        };
    }

    var milliseconds = makeGetter('milliseconds'),
        seconds = makeGetter('seconds'),
        minutes = makeGetter('minutes'),
        hours = makeGetter('hours'),
        days = makeGetter('days'),
        months = makeGetter('months'),
        years = makeGetter('years');

    function weeks() {
        return absFloor(this.days() / 7);
    }

    var round = Math.round,
        thresholds = {
            ss: 44, // a few seconds to seconds
            s: 45, // seconds to minute
            m: 45, // minutes to hour
            h: 22, // hours to day
            d: 26, // days to month/week
            w: null, // weeks to month
            M: 11, // months to year
        };

    // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize
    function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) {
        return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture);
    }

    function relativeTime$1(posNegDuration, withoutSuffix, thresholds, locale) {
        var duration = createDuration(posNegDuration).abs(),
            seconds = round(duration.as('s')),
            minutes = round(duration.as('m')),
            hours = round(duration.as('h')),
            days = round(duration.as('d')),
            months = round(duration.as('M')),
            weeks = round(duration.as('w')),
            years = round(duration.as('y')),
            a =
                (seconds <= thresholds.ss && ['s', seconds]) ||
                (seconds < thresholds.s && ['ss', seconds]) ||
                (minutes <= 1 && ['m']) ||
                (minutes < thresholds.m && ['mm', minutes]) ||
                (hours <= 1 && ['h']) ||
                (hours < thresholds.h && ['hh', hours]) ||
                (days <= 1 && ['d']) ||
                (days < thresholds.d && ['dd', days]);

        if (thresholds.w != null) {
            a =
                a ||
                (weeks <= 1 && ['w']) ||
                (weeks < thresholds.w && ['ww', weeks]);
        }
        a = a ||
            (months <= 1 && ['M']) ||
            (months < thresholds.M && ['MM', months]) ||
            (years <= 1 && ['y']) || ['yy', years];

        a[2] = withoutSuffix;
        a[3] = +posNegDuration > 0;
        a[4] = locale;
        return substituteTimeAgo.apply(null, a);
    }

    // This function allows you to set the rounding function for relative time strings
    function getSetRelativeTimeRounding(roundingFunction) {
        if (roundingFunction === undefined) {
            return round;
        }
        if (typeof roundingFunction === 'function') {
            round = roundingFunction;
            return true;
        }
        return false;
    }

    // This function allows you to set a threshold for relative time strings
    function getSetRelativeTimeThreshold(threshold, limit) {
        if (thresholds[threshold] === undefined) {
            return false;
        }
        if (limit === undefined) {
            return thresholds[threshold];
        }
        thresholds[threshold] = limit;
        if (threshold === 's') {
            thresholds.ss = limit - 1;
        }
        return true;
    }

    function humanize(argWithSuffix, argThresholds) {
        if (!this.isValid()) {
            return this.localeData().invalidDate();
        }

        var withSuffix = false,
            th = thresholds,
            locale,
            output;

        if (typeof argWithSuffix === 'object') {
            argThresholds = argWithSuffix;
            argWithSuffix = false;
        }
        if (typeof argWithSuffix === 'boolean') {
            withSuffix = argWithSuffix;
        }
        if (typeof argThresholds === 'object') {
            th = Object.assign({}, thresholds, argThresholds);
            if (argThresholds.s != null && argThresholds.ss == null) {
                th.ss = argThresholds.s - 1;
            }
        }

        locale = this.localeData();
        output = relativeTime$1(this, !withSuffix, th, locale);

        if (withSuffix) {
            output = locale.pastFuture(+this, output);
        }

        return locale.postformat(output);
    }

    var abs$1 = Math.abs;

    function sign(x) {
        return (x > 0) - (x < 0) || +x;
    }

    function toISOString$1() {
        // for ISO strings we do not use the normal bubbling rules:
        //  * milliseconds bubble up until they become hours
        //  * days do not bubble at all
        //  * months bubble up until they become years
        // This is because there is no context-free conversion between hours and days
        // (think of clock changes)
        // and also not between days and months (28-31 days per month)
        if (!this.isValid()) {
            return this.localeData().invalidDate();
        }

        var seconds = abs$1(this._milliseconds) / 1000,
            days = abs$1(this._days),
            months = abs$1(this._months),
            minutes,
            hours,
            years,
            s,
            total = this.asSeconds(),
            totalSign,
            ymSign,
            daysSign,
            hmsSign;

        if (!total) {
            // this is the same as C#'s (Noda) and python (isodate)...
            // but not other JS (goog.date)
            return 'P0D';
        }

        // 3600 seconds -> 60 minutes -> 1 hour
        minutes = absFloor(seconds / 60);
        hours = absFloor(minutes / 60);
        seconds %= 60;
        minutes %= 60;

        // 12 months -> 1 year
        years = absFloor(months / 12);
        months %= 12;

        // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
        s = seconds ? seconds.toFixed(3).replace(/\.?0+$/, '') : '';

        totalSign = total < 0 ? '-' : '';
        ymSign = sign(this._months) !== sign(total) ? '-' : '';
        daysSign = sign(this._days) !== sign(total) ? '-' : '';
        hmsSign = sign(this._milliseconds) !== sign(total) ? '-' : '';

        return (
            totalSign +
            'P' +
            (years ? ymSign + years + 'Y' : '') +
            (months ? ymSign + months + 'M' : '') +
            (days ? daysSign + days + 'D' : '') +
            (hours || minutes || seconds ? 'T' : '') +
            (hours ? hmsSign + hours + 'H' : '') +
            (minutes ? hmsSign + minutes + 'M' : '') +
            (seconds ? hmsSign + s + 'S' : '')
        );
    }

    var proto$2 = Duration.prototype;

    proto$2.isValid = isValid$1;
    proto$2.abs = abs;
    proto$2.add = add$1;
    proto$2.subtract = subtract$1;
    proto$2.as = as;
    proto$2.asMilliseconds = asMilliseconds;
    proto$2.asSeconds = asSeconds;
    proto$2.asMinutes = asMinutes;
    proto$2.asHours = asHours;
    proto$2.asDays = asDays;
    proto$2.asWeeks = asWeeks;
    proto$2.asMonths = asMonths;
    proto$2.asQuarters = asQuarters;
    proto$2.asYears = asYears;
    proto$2.valueOf = valueOf$1;
    proto$2._bubble = bubble;
    proto$2.clone = clone$1;
    proto$2.get = get$2;
    proto$2.milliseconds = milliseconds;
    proto$2.seconds = seconds;
    proto$2.minutes = minutes;
    proto$2.hours = hours;
    proto$2.days = days;
    proto$2.weeks = weeks;
    proto$2.months = months;
    proto$2.years = years;
    proto$2.humanize = humanize;
    proto$2.toISOString = toISOString$1;
    proto$2.toString = toISOString$1;
    proto$2.toJSON = toISOString$1;
    proto$2.locale = locale;
    proto$2.localeData = localeData;

    proto$2.toIsoString = deprecate(
        'toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)',
        toISOString$1
    );
    proto$2.lang = lang;

    // FORMATTING

    addFormatToken('X', 0, 0, 'unix');
    addFormatToken('x', 0, 0, 'valueOf');

    // PARSING

    addRegexToken('x', matchSigned);
    addRegexToken('X', matchTimestamp);
    addParseToken('X', function (input, array, config) {
        config._d = new Date(parseFloat(input) * 1000);
    });
    addParseToken('x', function (input, array, config) {
        config._d = new Date(toInt(input));
    });

    //! moment.js

    hooks.version = '2.29.4';

    setHookCallback(createLocal);

    hooks.fn = proto;
    hooks.min = min;
    hooks.max = max;
    hooks.now = now;
    hooks.utc = createUTC;
    hooks.unix = createUnix;
    hooks.months = listMonths;
    hooks.isDate = isDate;
    hooks.locale = getSetGlobalLocale;
    hooks.invalid = createInvalid;
    hooks.duration = createDuration;
    hooks.isMoment = isMoment;
    hooks.weekdays = listWeekdays;
    hooks.parseZone = createInZone;
    hooks.localeData = getLocale;
    hooks.isDuration = isDuration;
    hooks.monthsShort = listMonthsShort;
    hooks.weekdaysMin = listWeekdaysMin;
    hooks.defineLocale = defineLocale;
    hooks.updateLocale = updateLocale;
    hooks.locales = listLocales;
    hooks.weekdaysShort = listWeekdaysShort;
    hooks.normalizeUnits = normalizeUnits;
    hooks.relativeTimeRounding = getSetRelativeTimeRounding;
    hooks.relativeTimeThreshold = getSetRelativeTimeThreshold;
    hooks.calendarFormat = getCalendarFormat;
    hooks.prototype = proto;

    // currently HTML5 input type only supports 24-hour formats
    hooks.HTML5_FMT = {
        DATETIME_LOCAL: 'YYYY-MM-DDTHH:mm', // <input type="datetime-local" />
        DATETIME_LOCAL_SECONDS: 'YYYY-MM-DDTHH:mm:ss', // <input type="datetime-local" step="1" />
        DATETIME_LOCAL_MS: 'YYYY-MM-DDTHH:mm:ss.SSS', // <input type="datetime-local" step="0.001" />
        DATE: 'YYYY-MM-DD', // <input type="date" />
        TIME: 'HH:mm', // <input type="time" />
        TIME_SECONDS: 'HH:mm:ss', // <input type="time" step="1" />
        TIME_MS: 'HH:mm:ss.SSS', // <input type="time" step="0.001" />
        WEEK: 'GGGG-[W]WW', // <input type="week" />
        MONTH: 'YYYY-MM', // <input type="month" />
    };

    return hooks;

})));


/***/ })

/******/ 	});
/************************************************************************/
/******/ 	// The module cache
/******/ 	var __webpack_module_cache__ = {};
/******/ 	
/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {
/******/ 		// Check if module is in cache
/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
/******/ 		if (cachedModule !== undefined) {
/******/ 			return cachedModule.exports;
/******/ 		}
/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = __webpack_module_cache__[moduleId] = {
/******/ 			id: moduleId,
/******/ 			loaded: false,
/******/ 			exports: {}
/******/ 		};
/******/ 	
/******/ 		// Execute the module function
/******/ 		__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/ 	
/******/ 		// Flag the module as loaded
/******/ 		module.loaded = true;
/******/ 	
/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}
/******/ 	
/************************************************************************/
/******/ 	/* webpack/runtime/compat get default export */
/******/ 	(() => {
/******/ 		// getDefaultExport function for compatibility with non-harmony modules
/******/ 		__webpack_require__.n = (module) => {
/******/ 			var getter = module && module.__esModule ?
/******/ 				() => (module['default']) :
/******/ 				() => (module);
/******/ 			__webpack_require__.d(getter, { a: getter });
/******/ 			return getter;
/******/ 		};
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/define property getters */
/******/ 	(() => {
/******/ 		// define getter functions for harmony exports
/******/ 		__webpack_require__.d = (exports, definition) => {
/******/ 			for(var key in definition) {
/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
/******/ 				}
/******/ 			}
/******/ 		};
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/global */
/******/ 	(() => {
/******/ 		__webpack_require__.g = (function() {
/******/ 			if (typeof globalThis === 'object') return globalThis;
/******/ 			try {
/******/ 				return this || new Function('return this')();
/******/ 			} catch (e) {
/******/ 				if (typeof window === 'object') return window;
/******/ 			}
/******/ 		})();
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
/******/ 	(() => {
/******/ 		__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/make namespace object */
/******/ 	(() => {
/******/ 		// define __esModule on exports
/******/ 		__webpack_require__.r = (exports) => {
/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ 			}
/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
/******/ 		};
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/node module decorator */
/******/ 	(() => {
/******/ 		__webpack_require__.nmd = (module) => {
/******/ 			module.paths = [];
/******/ 			if (!module.children) module.children = [];
/******/ 			return module;
/******/ 		};
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/publicPath */
/******/ 	(() => {
/******/ 		var scriptUrl;
/******/ 		if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + "";
/******/ 		var document = __webpack_require__.g.document;
/******/ 		if (!scriptUrl && document) {
/******/ 			if (document.currentScript)
/******/ 				scriptUrl = document.currentScript.src
/******/ 			if (!scriptUrl) {
/******/ 				var scripts = document.getElementsByTagName("script");
/******/ 				if(scripts.length) scriptUrl = scripts[scripts.length - 1].src
/******/ 			}
/******/ 		}
/******/ 		// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration
/******/ 		// or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.
/******/ 		if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");
/******/ 		scriptUrl = scriptUrl.replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/");
/******/ 		__webpack_require__.p = scriptUrl;
/******/ 	})();
/******/ 	
/************************************************************************/
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
(() => {
"use strict";

// UNUSED EXPORTS: default

// NAMESPACE OBJECT: ./node_modules/axios/lib/platform/common/utils.js
var common_utils_namespaceObject = {};
__webpack_require__.r(common_utils_namespaceObject);
__webpack_require__.d(common_utils_namespaceObject, {
  "hasBrowserEnv": () => (hasBrowserEnv),
  "hasStandardBrowserEnv": () => (hasStandardBrowserEnv),
  "hasStandardBrowserWebWorkerEnv": () => (hasStandardBrowserWebWorkerEnv)
});

// EXTERNAL MODULE: ./node_modules/lodash/lodash.js
var lodash = __webpack_require__(96486);
;// CONCATENATED MODULE: ./src/utils/cef-events.js
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
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 _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }

var registeredEvents = {};
var unregisterEvent = function unregisterEvent() {
  var eventName = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
  if ((0,lodash.isNil)(registeredEvents[eventName])) {
    return;
  }
  delete registeredEvents[eventName];
};
var registerEvent = function registerEvent() {
  var eventName = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
  var callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : lodash.noop;
  if ((0,lodash.isEmpty)(eventName)) {
    return lodash.noop;
  }
  registeredEvents[eventName] = callback;
  return function () {
    return unregisterEvent(eventName);
  };
};
var executeEvent = function executeEvent(eventName) {
  var argsDto = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '[]';
  if ((0,lodash.isNil)(registeredEvents[eventName])) {
    console.log("[debug] Unknown event \"".concat(eventName, "\""));
    return;
  }
  var validatedArgs = argsDto.replace(/[\\]/g, '\\\\').replace(/\//g, '/').replace(/[\b]/g, '\\b').replace(/[\f]/g, '\\f').replace(/[\n]/g, '\\n').replace(/[\r]/g, '\\r').replace(/[\t]/g, '\\t');
  var eventData = JSON.parse(validatedArgs);
  if (Array.isArray(eventData)) {
    registeredEvents[eventName].apply(registeredEvents, _toConsumableArray(eventData));
  } else {
    registeredEvents[eventName](eventData);
  }
};
;// CONCATENATED MODULE: ./src/utils/default-api.js

var registerApi = function registerApi() {
  window.executeEvent = executeEvent;
  window.cef = window.cef || {
    SendMessage: function SendMessage() {
      for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
        args[_key] = arguments[_key];
      }
      return console.log(args);
    },
    GetMyId: function GetMyId() {},
    GetVoiceState: function GetVoiceState() {},
    onMyId: function onMyId() {},
    LoadPassword: function LoadPassword() {},
    StorePassword: function StorePassword() {},
    onRegRead: function onRegRead() {},
    RegRead2: function RegRead2(path, name) {
      window.cef.onRegRead("".concat(path, ":").concat(name), !Math.round(Math.random()));
    },
    LayoutName: function LayoutName() {},
    LayoutCapital: function LayoutCapital() {},
    RegWrite2: function RegWrite2(path, name) {}
  };
};
;// CONCATENATED MODULE: ./node_modules/svelte/internal/index.mjs
function internal_noop() { }
const identity = x => x;
function internal_assign(tar, src) {
    // @ts-ignore
    for (const k in src)
        tar[k] = src[k];
    return tar;
}
function is_promise(value) {
    return value && typeof value === 'object' && typeof value.then === 'function';
}
function add_location(element, file, line, column, char) {
    element.__svelte_meta = {
        loc: { file, line, column, char }
    };
}
function run(fn) {
    return fn();
}
function blank_object() {
    return Object.create(null);
}
function internal_run_all(fns) {
    fns.forEach(run);
}
function internal_is_function(thing) {
    return typeof thing === 'function';
}
function safe_not_equal(a, b) {
    return a != a ? b == b : a !== b || ((a && typeof a === 'object') || typeof a === 'function');
}
let src_url_equal_anchor;
function src_url_equal(element_src, url) {
    if (!src_url_equal_anchor) {
        src_url_equal_anchor = document.createElement('a');
    }
    src_url_equal_anchor.href = url;
    return element_src === src_url_equal_anchor.href;
}
function not_equal(a, b) {
    return a != a ? b == b : a !== b;
}
function is_empty(obj) {
    return Object.keys(obj).length === 0;
}
function validate_store(store, name) {
    if (store != null && typeof store.subscribe !== 'function') {
        throw new Error(`'${name}' is not a store with a 'subscribe' method`);
    }
}
function internal_subscribe(store, ...callbacks) {
    if (store == null) {
        return internal_noop;
    }
    const unsub = store.subscribe(...callbacks);
    return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
}
function get_store_value(store) {
    let value;
    internal_subscribe(store, _ => value = _)();
    return value;
}
function component_subscribe(component, store, callback) {
    component.$$.on_destroy.push(internal_subscribe(store, callback));
}
function create_slot(definition, ctx, $$scope, fn) {
    if (definition) {
        const slot_ctx = get_slot_context(definition, ctx, $$scope, fn);
        return definition[0](slot_ctx);
    }
}
function get_slot_context(definition, ctx, $$scope, fn) {
    return definition[1] && fn
        ? internal_assign($$scope.ctx.slice(), definition[1](fn(ctx)))
        : $$scope.ctx;
}
function get_slot_changes(definition, $$scope, dirty, fn) {
    if (definition[2] && fn) {
        const lets = definition[2](fn(dirty));
        if ($$scope.dirty === undefined) {
            return lets;
        }
        if (typeof lets === 'object') {
            const merged = [];
            const len = Math.max($$scope.dirty.length, lets.length);
            for (let i = 0; i < len; i += 1) {
                merged[i] = $$scope.dirty[i] | lets[i];
            }
            return merged;
        }
        return $$scope.dirty | lets;
    }
    return $$scope.dirty;
}
function update_slot_base(slot, slot_definition, ctx, $$scope, slot_changes, get_slot_context_fn) {
    if (slot_changes) {
        const slot_context = get_slot_context(slot_definition, ctx, $$scope, get_slot_context_fn);
        slot.p(slot_context, slot_changes);
    }
}
function update_slot(slot, slot_definition, ctx, $$scope, dirty, get_slot_changes_fn, get_slot_context_fn) {
    const slot_changes = get_slot_changes(slot_definition, $$scope, dirty, get_slot_changes_fn);
    update_slot_base(slot, slot_definition, ctx, $$scope, slot_changes, get_slot_context_fn);
}
function get_all_dirty_from_scope($$scope) {
    if ($$scope.ctx.length > 32) {
        const dirty = [];
        const length = $$scope.ctx.length / 32;
        for (let i = 0; i < length; i++) {
            dirty[i] = -1;
        }
        return dirty;
    }
    return -1;
}
function exclude_internal_props(props) {
    const result = {};
    for (const k in props)
        if (k[0] !== '$')
            result[k] = props[k];
    return result;
}
function compute_rest_props(props, keys) {
    const rest = {};
    keys = new Set(keys);
    for (const k in props)
        if (!keys.has(k) && k[0] !== '$')
            rest[k] = props[k];
    return rest;
}
function compute_slots(slots) {
    const result = {};
    for (const key in slots) {
        result[key] = true;
    }
    return result;
}
function once(fn) {
    let ran = false;
    return function (...args) {
        if (ran)
            return;
        ran = true;
        fn.call(this, ...args);
    };
}
function null_to_empty(value) {
    return value == null ? '' : value;
}
function set_store_value(store, ret, value) {
    store.set(value);
    return ret;
}
const has_prop = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop);
function action_destroyer(action_result) {
    return action_result && internal_is_function(action_result.destroy) ? action_result.destroy : internal_noop;
}

const is_client = typeof window !== 'undefined';
let now = is_client
    ? () => window.performance.now()
    : () => Date.now();
let raf = is_client ? cb => requestAnimationFrame(cb) : internal_noop;
// used internally for testing
function set_now(fn) {
    now = fn;
}
function set_raf(fn) {
    raf = fn;
}

const tasks = new Set();
function run_tasks(now) {
    tasks.forEach(task => {
        if (!task.c(now)) {
            tasks.delete(task);
            task.f();
        }
    });
    if (tasks.size !== 0)
        raf(run_tasks);
}
/**
 * For testing purposes only!
 */
function clear_loops() {
    tasks.clear();
}
/**
 * Creates a new task that runs on each raf frame
 * until it returns a falsy value or is aborted
 */
function loop(callback) {
    let task;
    if (tasks.size === 0)
        raf(run_tasks);
    return {
        promise: new Promise(fulfill => {
            tasks.add(task = { c: callback, f: fulfill });
        }),
        abort() {
            tasks.delete(task);
        }
    };
}

// Track which nodes are claimed during hydration. Unclaimed nodes can then be removed from the DOM
// at the end of hydration without touching the remaining nodes.
let is_hydrating = false;
function start_hydrating() {
    is_hydrating = true;
}
function end_hydrating() {
    is_hydrating = false;
}
function upper_bound(low, high, key, value) {
    // Return first index of value larger than input value in the range [low, high)
    while (low < high) {
        const mid = low + ((high - low) >> 1);
        if (key(mid) <= value) {
            low = mid + 1;
        }
        else {
            high = mid;
        }
    }
    return low;
}
function init_hydrate(target) {
    if (target.hydrate_init)
        return;
    target.hydrate_init = true;
    // We know that all children have claim_order values since the unclaimed have been detached if target is not <head>
    let children = target.childNodes;
    // If target is <head>, there may be children without claim_order
    if (target.nodeName === 'HEAD') {
        const myChildren = [];
        for (let i = 0; i < children.length; i++) {
            const node = children[i];
            if (node.claim_order !== undefined) {
                myChildren.push(node);
            }
        }
        children = myChildren;
    }
    /*
    * Reorder claimed children optimally.
    * We can reorder claimed children optimally by finding the longest subsequence of
    * nodes that are already claimed in order and only moving the rest. The longest
    * subsequence subsequence of nodes that are claimed in order can be found by
    * computing the longest increasing subsequence of .claim_order values.
    *
    * This algorithm is optimal in generating the least amount of reorder operations
    * possible.
    *
    * Proof:
    * We know that, given a set of reordering operations, the nodes that do not move
    * always form an increasing subsequence, since they do not move among each other
    * meaning that they must be already ordered among each other. Thus, the maximal
    * set of nodes that do not move form a longest increasing subsequence.
    */
    // Compute longest increasing subsequence
    // m: subsequence length j => index k of smallest value that ends an increasing subsequence of length j
    const m = new Int32Array(children.length + 1);
    // Predecessor indices + 1
    const p = new Int32Array(children.length);
    m[0] = -1;
    let longest = 0;
    for (let i = 0; i < children.length; i++) {
        const current = children[i].claim_order;
        // Find the largest subsequence length such that it ends in a value less than our current value
        // upper_bound returns first greater value, so we subtract one
        // with fast path for when we are on the current longest subsequence
        const seqLen = ((longest > 0 && children[m[longest]].claim_order <= current) ? longest + 1 : upper_bound(1, longest, idx => children[m[idx]].claim_order, current)) - 1;
        p[i] = m[seqLen] + 1;
        const newLen = seqLen + 1;
        // We can guarantee that current is the smallest value. Otherwise, we would have generated a longer sequence.
        m[newLen] = i;
        longest = Math.max(newLen, longest);
    }
    // The longest increasing subsequence of nodes (initially reversed)
    const lis = [];
    // The rest of the nodes, nodes that will be moved
    const toMove = [];
    let last = children.length - 1;
    for (let cur = m[longest] + 1; cur != 0; cur = p[cur - 1]) {
        lis.push(children[cur - 1]);
        for (; last >= cur; last--) {
            toMove.push(children[last]);
        }
        last--;
    }
    for (; last >= 0; last--) {
        toMove.push(children[last]);
    }
    lis.reverse();
    // We sort the nodes being moved to guarantee that their insertion order matches the claim order
    toMove.sort((a, b) => a.claim_order - b.claim_order);
    // Finally, we move the nodes
    for (let i = 0, j = 0; i < toMove.length; i++) {
        while (j < lis.length && toMove[i].claim_order >= lis[j].claim_order) {
            j++;
        }
        const anchor = j < lis.length ? lis[j] : null;
        target.insertBefore(toMove[i], anchor);
    }
}
function append(target, node) {
    target.appendChild(node);
}
function append_styles(target, style_sheet_id, styles) {
    const append_styles_to = get_root_for_style(target);
    if (!append_styles_to.getElementById(style_sheet_id)) {
        const style = internal_element('style');
        style.id = style_sheet_id;
        style.textContent = styles;
        append_stylesheet(append_styles_to, style);
    }
}
function get_root_for_style(node) {
    if (!node)
        return document;
    const root = node.getRootNode ? node.getRootNode() : node.ownerDocument;
    if (root && root.host) {
        return root;
    }
    return node.ownerDocument;
}
function append_empty_stylesheet(node) {
    const style_element = internal_element('style');
    append_stylesheet(get_root_for_style(node), style_element);
    return style_element.sheet;
}
function append_stylesheet(node, style) {
    append(node.head || node, style);
}
function append_hydration(target, node) {
    if (is_hydrating) {
        init_hydrate(target);
        if ((target.actual_end_child === undefined) || ((target.actual_end_child !== null) && (target.actual_end_child.parentElement !== target))) {
            target.actual_end_child = target.firstChild;
        }
        // Skip nodes of undefined ordering
        while ((target.actual_end_child !== null) && (target.actual_end_child.claim_order === undefined)) {
            target.actual_end_child = target.actual_end_child.nextSibling;
        }
        if (node !== target.actual_end_child) {
            // We only insert if the ordering of this node should be modified or the parent node is not target
            if (node.claim_order !== undefined || node.parentNode !== target) {
                target.insertBefore(node, target.actual_end_child);
            }
        }
        else {
            target.actual_end_child = node.nextSibling;
        }
    }
    else if (node.parentNode !== target || node.nextSibling !== null) {
        target.appendChild(node);
    }
}
function insert(target, node, anchor) {
    target.insertBefore(node, anchor || null);
}
function insert_hydration(target, node, anchor) {
    if (is_hydrating && !anchor) {
        append_hydration(target, node);
    }
    else if (node.parentNode !== target || node.nextSibling != anchor) {
        target.insertBefore(node, anchor || null);
    }
}
function detach(node) {
    node.parentNode.removeChild(node);
}
function destroy_each(iterations, detaching) {
    for (let i = 0; i < iterations.length; i += 1) {
        if (iterations[i])
            iterations[i].d(detaching);
    }
}
function internal_element(name) {
    return document.createElement(name);
}
function element_is(name, is) {
    return document.createElement(name, { is });
}
function object_without_properties(obj, exclude) {
    const target = {};
    for (const k in obj) {
        if (has_prop(obj, k)
            // @ts-ignore
            && exclude.indexOf(k) === -1) {
            // @ts-ignore
            target[k] = obj[k];
        }
    }
    return target;
}
function svg_element(name) {
    return document.createElementNS('http://www.w3.org/2000/svg', name);
}
function internal_text(data) {
    return document.createTextNode(data);
}
function space() {
    return internal_text(' ');
}
function empty() {
    return internal_text('');
}
function listen(node, event, handler, options) {
    node.addEventListener(event, handler, options);
    return () => node.removeEventListener(event, handler, options);
}
function prevent_default(fn) {
    return function (event) {
        event.preventDefault();
        // @ts-ignore
        return fn.call(this, event);
    };
}
function stop_propagation(fn) {
    return function (event) {
        event.stopPropagation();
        // @ts-ignore
        return fn.call(this, event);
    };
}
function internal_self(fn) {
    return function (event) {
        // @ts-ignore
        if (event.target === this)
            fn.call(this, event);
    };
}
function trusted(fn) {
    return function (event) {
        // @ts-ignore
        if (event.isTrusted)
            fn.call(this, event);
    };
}
function attr(node, attribute, value) {
    if (value == null)
        node.removeAttribute(attribute);
    else if (node.getAttribute(attribute) !== value)
        node.setAttribute(attribute, value);
}
function set_attributes(node, attributes) {
    // @ts-ignore
    const descriptors = Object.getOwnPropertyDescriptors(node.__proto__);
    for (const key in attributes) {
        if (attributes[key] == null) {
            node.removeAttribute(key);
        }
        else if (key === 'style') {
            node.style.cssText = attributes[key];
        }
        else if (key === '__value') {
            node.value = node[key] = attributes[key];
        }
        else if (descriptors[key] && descriptors[key].set) {
            node[key] = attributes[key];
        }
        else {
            attr(node, key, attributes[key]);
        }
    }
}
function set_svg_attributes(node, attributes) {
    for (const key in attributes) {
        attr(node, key, attributes[key]);
    }
}
function set_custom_element_data(node, prop, value) {
    if (prop in node) {
        node[prop] = typeof node[prop] === 'boolean' && value === '' ? true : value;
    }
    else {
        attr(node, prop, value);
    }
}
function xlink_attr(node, attribute, value) {
    node.setAttributeNS('http://www.w3.org/1999/xlink', attribute, value);
}
function get_binding_group_value(group, __value, checked) {
    const value = new Set();
    for (let i = 0; i < group.length; i += 1) {
        if (group[i].checked)
            value.add(group[i].__value);
    }
    if (!checked) {
        value.delete(__value);
    }
    return Array.from(value);
}
function to_number(value) {
    return value === '' ? null : +value;
}
function time_ranges_to_array(ranges) {
    const array = [];
    for (let i = 0; i < ranges.length; i += 1) {
        array.push({ start: ranges.start(i), end: ranges.end(i) });
    }
    return array;
}
function children(element) {
    return Array.from(element.childNodes);
}
function init_claim_info(nodes) {
    if (nodes.claim_info === undefined) {
        nodes.claim_info = { last_index: 0, total_claimed: 0 };
    }
}
function claim_node(nodes, predicate, processNode, createNode, dontUpdateLastIndex = false) {
    // Try to find nodes in an order such that we lengthen the longest increasing subsequence
    init_claim_info(nodes);
    const resultNode = (() => {
        // We first try to find an element after the previous one
        for (let i = nodes.claim_info.last_index; i < nodes.length; i++) {
            const node = nodes[i];
            if (predicate(node)) {
                const replacement = processNode(node);
                if (replacement === undefined) {
                    nodes.splice(i, 1);
                }
                else {
                    nodes[i] = replacement;
                }
                if (!dontUpdateLastIndex) {
                    nodes.claim_info.last_index = i;
                }
                return node;
            }
        }
        // Otherwise, we try to find one before
        // We iterate in reverse so that we don't go too far back
        for (let i = nodes.claim_info.last_index - 1; i >= 0; i--) {
            const node = nodes[i];
            if (predicate(node)) {
                const replacement = processNode(node);
                if (replacement === undefined) {
                    nodes.splice(i, 1);
                }
                else {
                    nodes[i] = replacement;
                }
                if (!dontUpdateLastIndex) {
                    nodes.claim_info.last_index = i;
                }
                else if (replacement === undefined) {
                    // Since we spliced before the last_index, we decrease it
                    nodes.claim_info.last_index--;
                }
                return node;
            }
        }
        // If we can't find any matching node, we create a new one
        return createNode();
    })();
    resultNode.claim_order = nodes.claim_info.total_claimed;
    nodes.claim_info.total_claimed += 1;
    return resultNode;
}
function claim_element_base(nodes, name, attributes, create_element) {
    return claim_node(nodes, (node) => node.nodeName === name, (node) => {
        const remove = [];
        for (let j = 0; j < node.attributes.length; j++) {
            const attribute = node.attributes[j];
            if (!attributes[attribute.name]) {
                remove.push(attribute.name);
            }
        }
        remove.forEach(v => node.removeAttribute(v));
        return undefined;
    }, () => create_element(name));
}
function claim_element(nodes, name, attributes) {
    return claim_element_base(nodes, name, attributes, internal_element);
}
function claim_svg_element(nodes, name, attributes) {
    return claim_element_base(nodes, name, attributes, svg_element);
}
function claim_text(nodes, data) {
    return claim_node(nodes, (node) => node.nodeType === 3, (node) => {
        const dataStr = '' + data;
        if (node.data.startsWith(dataStr)) {
            if (node.data.length !== dataStr.length) {
                return node.splitText(dataStr.length);
            }
        }
        else {
            node.data = dataStr;
        }
    }, () => internal_text(data), true // Text nodes should not update last index since it is likely not worth it to eliminate an increasing subsequence of actual elements
    );
}
function claim_space(nodes) {
    return claim_text(nodes, ' ');
}
function find_comment(nodes, text, start) {
    for (let i = start; i < nodes.length; i += 1) {
        const node = nodes[i];
        if (node.nodeType === 8 /* comment node */ && node.textContent.trim() === text) {
            return i;
        }
    }
    return nodes.length;
}
function claim_html_tag(nodes, is_svg) {
    // find html opening tag
    const start_index = find_comment(nodes, 'HTML_TAG_START', 0);
    const end_index = find_comment(nodes, 'HTML_TAG_END', start_index);
    if (start_index === end_index) {
        return new HtmlTagHydration(undefined, is_svg);
    }
    init_claim_info(nodes);
    const html_tag_nodes = nodes.splice(start_index, end_index - start_index + 1);
    detach(html_tag_nodes[0]);
    detach(html_tag_nodes[html_tag_nodes.length - 1]);
    const claimed_nodes = html_tag_nodes.slice(1, html_tag_nodes.length - 1);
    for (const n of claimed_nodes) {
        n.claim_order = nodes.claim_info.total_claimed;
        nodes.claim_info.total_claimed += 1;
    }
    return new HtmlTagHydration(claimed_nodes, is_svg);
}
function set_data(text, data) {
    data = '' + data;
    if (text.wholeText !== data)
        text.data = data;
}
function set_input_value(input, value) {
    input.value = value == null ? '' : value;
}
function set_input_type(input, type) {
    try {
        input.type = type;
    }
    catch (e) {
        // do nothing
    }
}
function set_style(node, key, value, important) {
    if (value === null) {
        node.style.removeProperty(key);
    }
    else {
        node.style.setProperty(key, value, important ? 'important' : '');
    }
}
function select_option(select, value) {
    for (let i = 0; i < select.options.length; i += 1) {
        const option = select.options[i];
        if (option.__value === value) {
            option.selected = true;
            return;
        }
    }
    select.selectedIndex = -1; // no option should be selected
}
function select_options(select, value) {
    for (let i = 0; i < select.options.length; i += 1) {
        const option = select.options[i];
        option.selected = ~value.indexOf(option.__value);
    }
}
function select_value(select) {
    const selected_option = select.querySelector(':checked') || select.options[0];
    return selected_option && selected_option.__value;
}
function select_multiple_value(select) {
    return [].map.call(select.querySelectorAll(':checked'), option => option.__value);
}
// unfortunately this can't be a constant as that wouldn't be tree-shakeable
// so we cache the result instead
let crossorigin;
function is_crossorigin() {
    if (crossorigin === undefined) {
        crossorigin = false;
        try {
            if (typeof window !== 'undefined' && window.parent) {
                void window.parent.document;
            }
        }
        catch (error) {
            crossorigin = true;
        }
    }
    return crossorigin;
}
function add_resize_listener(node, fn) {
    const computed_style = getComputedStyle(node);
    if (computed_style.position === 'static') {
        node.style.position = 'relative';
    }
    const iframe = internal_element('iframe');
    iframe.setAttribute('style', 'display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; ' +
        'overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;');
    iframe.setAttribute('aria-hidden', 'true');
    iframe.tabIndex = -1;
    const crossorigin = is_crossorigin();
    let unsubscribe;
    if (crossorigin) {
        iframe.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}</script>";
        unsubscribe = listen(window, 'message', (event) => {
            if (event.source === iframe.contentWindow)
                fn();
        });
    }
    else {
        iframe.src = 'about:blank';
        iframe.onload = () => {
            unsubscribe = listen(iframe.contentWindow, 'resize', fn);
        };
    }
    append(node, iframe);
    return () => {
        if (crossorigin) {
            unsubscribe();
        }
        else if (unsubscribe && iframe.contentWindow) {
            unsubscribe();
        }
        detach(iframe);
    };
}
function toggle_class(element, name, toggle) {
    element.classList[toggle ? 'add' : 'remove'](name);
}
function custom_event(type, detail, { bubbles = false, cancelable = false } = {}) {
    const e = document.createEvent('CustomEvent');
    e.initCustomEvent(type, bubbles, cancelable, detail);
    return e;
}
function query_selector_all(selector, parent = document.body) {
    return Array.from(parent.querySelectorAll(selector));
}
class HtmlTag {
    constructor(is_svg = false) {
        this.is_svg = false;
        this.is_svg = is_svg;
        this.e = this.n = null;
    }
    c(html) {
        this.h(html);
    }
    m(html, target, anchor = null) {
        if (!this.e) {
            if (this.is_svg)
                this.e = svg_element(target.nodeName);
            else
                this.e = internal_element(target.nodeName);
            this.t = target;
            this.c(html);
        }
        this.i(anchor);
    }
    h(html) {
        this.e.innerHTML = html;
        this.n = Array.from(this.e.childNodes);
    }
    i(anchor) {
        for (let i = 0; i < this.n.length; i += 1) {
            insert(this.t, this.n[i], anchor);
        }
    }
    p(html) {
        this.d();
        this.h(html);
        this.i(this.a);
    }
    d() {
        this.n.forEach(detach);
    }
}
class HtmlTagHydration extends (/* unused pure expression or super */ null && (HtmlTag)) {
    constructor(claimed_nodes, is_svg = false) {
        super(is_svg);
        this.e = this.n = null;
        this.l = claimed_nodes;
    }
    c(html) {
        if (this.l) {
            this.n = this.l;
        }
        else {
            super.c(html);
        }
    }
    i(anchor) {
        for (let i = 0; i < this.n.length; i += 1) {
            insert_hydration(this.t, this.n[i], anchor);
        }
    }
}
function attribute_to_object(attributes) {
    const result = {};
    for (const attribute of attributes) {
        result[attribute.name] = attribute.value;
    }
    return result;
}
function get_custom_elements_slots(element) {
    const result = {};
    element.childNodes.forEach((node) => {
        result[node.slot || 'default'] = true;
    });
    return result;
}

// we need to store the information for multiple documents because a Svelte application could also contain iframes
// https://github.com/sveltejs/svelte/issues/3624
const managed_styles = new Map();
let active = 0;
// https://github.com/darkskyapp/string-hash/blob/master/index.js
function hash(str) {
    let hash = 5381;
    let i = str.length;
    while (i--)
        hash = ((hash << 5) - hash) ^ str.charCodeAt(i);
    return hash >>> 0;
}
function create_style_information(doc, node) {
    const info = { stylesheet: append_empty_stylesheet(node), rules: {} };
    managed_styles.set(doc, info);
    return info;
}
function create_rule(node, a, b, duration, delay, ease, fn, uid = 0) {
    const step = 16.666 / duration;
    let keyframes = '{\n';
    for (let p = 0; p <= 1; p += step) {
        const t = a + (b - a) * ease(p);
        keyframes += p * 100 + `%{${fn(t, 1 - t)}}\n`;
    }
    const rule = keyframes + `100% {${fn(b, 1 - b)}}\n}`;
    const name = `__svelte_${hash(rule)}_${uid}`;
    const doc = get_root_for_style(node);
    const { stylesheet, rules } = managed_styles.get(doc) || create_style_information(doc, node);
    if (!rules[name]) {
        rules[name] = true;
        stylesheet.insertRule(`@keyframes ${name} ${rule}`, stylesheet.cssRules.length);
    }
    const animation = node.style.animation || '';
    node.style.animation = `${animation ? `${animation}, ` : ''}${name} ${duration}ms linear ${delay}ms 1 both`;
    active += 1;
    return name;
}
function delete_rule(node, name) {
    const previous = (node.style.animation || '').split(', ');
    const next = previous.filter(name
        ? anim => anim.indexOf(name) < 0 // remove specific animation
        : anim => anim.indexOf('__svelte') === -1 // remove all Svelte animations
    );
    const deleted = previous.length - next.length;
    if (deleted) {
        node.style.animation = next.join(', ');
        active -= deleted;
        if (!active)
            clear_rules();
    }
}
function clear_rules() {
    raf(() => {
        if (active)
            return;
        managed_styles.forEach(info => {
            const { stylesheet } = info;
            let i = stylesheet.cssRules.length;
            while (i--)
                stylesheet.deleteRule(i);
            info.rules = {};
        });
        managed_styles.clear();
    });
}

function create_animation(node, from, fn, params) {
    if (!from)
        return internal_noop;
    const to = node.getBoundingClientRect();
    if (from.left === to.left && from.right === to.right && from.top === to.top && from.bottom === to.bottom)
        return internal_noop;
    const { delay = 0, duration = 300, easing = identity, 
    // @ts-ignore todo: should this be separated from destructuring? Or start/end added to public api and documentation?
    start: start_time = now() + delay, 
    // @ts-ignore todo:
    end = start_time + duration, tick = internal_noop, css } = fn(node, { from, to }, params);
    let running = true;
    let started = false;
    let name;
    function start() {
        if (css) {
            name = create_rule(node, 0, 1, duration, delay, easing, css);
        }
        if (!delay) {
            started = true;
        }
    }
    function stop() {
        if (css)
            delete_rule(node, name);
        running = false;
    }
    loop(now => {
        if (!started && now >= start_time) {
            started = true;
        }
        if (started && now >= end) {
            tick(1, 0);
            stop();
        }
        if (!running) {
            return false;
        }
        if (started) {
            const p = now - start_time;
            const t = 0 + 1 * easing(p / duration);
            tick(t, 1 - t);
        }
        return true;
    });
    start();
    tick(0, 1);
    return stop;
}
function fix_position(node) {
    const style = getComputedStyle(node);
    if (style.position !== 'absolute' && style.position !== 'fixed') {
        const { width, height } = style;
        const a = node.getBoundingClientRect();
        node.style.position = 'absolute';
        node.style.width = width;
        node.style.height = height;
        add_transform(node, a);
    }
}
function add_transform(node, a) {
    const b = node.getBoundingClientRect();
    if (a.left !== b.left || a.top !== b.top) {
        const style = getComputedStyle(node);
        const transform = style.transform === 'none' ? '' : style.transform;
        node.style.transform = `${transform} translate(${a.left - b.left}px, ${a.top - b.top}px)`;
    }
}

let current_component;
function set_current_component(component) {
    current_component = component;
}
function get_current_component() {
    if (!current_component)
        throw new Error('Function called outside component initialization');
    return current_component;
}
function beforeUpdate(fn) {
    get_current_component().$$.before_update.push(fn);
}
function onMount(fn) {
    get_current_component().$$.on_mount.push(fn);
}
function afterUpdate(fn) {
    get_current_component().$$.after_update.push(fn);
}
function onDestroy(fn) {
    get_current_component().$$.on_destroy.push(fn);
}
function createEventDispatcher() {
    const component = get_current_component();
    return (type, detail, { cancelable = false } = {}) => {
        const callbacks = component.$$.callbacks[type];
        if (callbacks) {
            // TODO are there situations where events could be dispatched
            // in a server (non-DOM) environment?
            const event = custom_event(type, detail, { cancelable });
            callbacks.slice().forEach(fn => {
                fn.call(component, event);
            });
            return !event.defaultPrevented;
        }
        return true;
    };
}
function setContext(key, context) {
    get_current_component().$$.context.set(key, context);
    return context;
}
function getContext(key) {
    return get_current_component().$$.context.get(key);
}
function getAllContexts() {
    return get_current_component().$$.context;
}
function hasContext(key) {
    return get_current_component().$$.context.has(key);
}
// TODO figure out if we still want to support
// shorthand events, or if we want to implement
// a real bubbling mechanism
function bubble(component, event) {
    const callbacks = component.$$.callbacks[event.type];
    if (callbacks) {
        // @ts-ignore
        callbacks.slice().forEach(fn => fn.call(this, event));
    }
}

const dirty_components = [];
const intros = { enabled: false };
const binding_callbacks = [];
const render_callbacks = [];
const flush_callbacks = [];
const resolved_promise = Promise.resolve();
let update_scheduled = false;
function schedule_update() {
    if (!update_scheduled) {
        update_scheduled = true;
        resolved_promise.then(flush);
    }
}
function tick() {
    schedule_update();
    return resolved_promise;
}
function add_render_callback(fn) {
    render_callbacks.push(fn);
}
function add_flush_callback(fn) {
    flush_callbacks.push(fn);
}
// flush() calls callbacks in this order:
// 1. All beforeUpdate callbacks, in order: parents before children
// 2. All bind:this callbacks, in reverse order: children before parents.
// 3. All afterUpdate callbacks, in order: parents before children. EXCEPT
//    for afterUpdates called during the initial onMount, which are called in
//    reverse order: children before parents.
// Since callbacks might update component values, which could trigger another
// call to flush(), the following steps guard against this:
// 1. During beforeUpdate, any updated components will be added to the
//    dirty_components array and will cause a reentrant call to flush(). Because
//    the flush index is kept outside the function, the reentrant call will pick
//    up where the earlier call left off and go through all dirty components. The
//    current_component value is saved and restored so that the reentrant call will
//    not interfere with the "parent" flush() call.
// 2. bind:this callbacks cannot trigger new flush() calls.
// 3. During afterUpdate, any updated components will NOT have their afterUpdate
//    callback called a second time; the seen_callbacks set, outside the flush()
//    function, guarantees this behavior.
const seen_callbacks = new Set();
let flushidx = 0; // Do *not* move this inside the flush() function
function flush() {
    const saved_component = current_component;
    do {
        // first, call beforeUpdate functions
        // and update components
        while (flushidx < dirty_components.length) {
            const component = dirty_components[flushidx];
            flushidx++;
            set_current_component(component);
            update(component.$$);
        }
        set_current_component(null);
        dirty_components.length = 0;
        flushidx = 0;
        while (binding_callbacks.length)
            binding_callbacks.pop()();
        // then, once components are updated, call
        // afterUpdate functions. This may cause
        // subsequent updates...
        for (let i = 0; i < render_callbacks.length; i += 1) {
            const callback = render_callbacks[i];
            if (!seen_callbacks.has(callback)) {
                // ...so guard against infinite loops
                seen_callbacks.add(callback);
                callback();
            }
        }
        render_callbacks.length = 0;
    } while (dirty_components.length);
    while (flush_callbacks.length) {
        flush_callbacks.pop()();
    }
    update_scheduled = false;
    seen_callbacks.clear();
    set_current_component(saved_component);
}
function update($$) {
    if ($$.fragment !== null) {
        $$.update();
        internal_run_all($$.before_update);
        const dirty = $$.dirty;
        $$.dirty = [-1];
        $$.fragment && $$.fragment.p($$.ctx, dirty);
        $$.after_update.forEach(add_render_callback);
    }
}

let promise;
function wait() {
    if (!promise) {
        promise = Promise.resolve();
        promise.then(() => {
            promise = null;
        });
    }
    return promise;
}
function dispatch(node, direction, kind) {
    node.dispatchEvent(custom_event(`${direction ? 'intro' : 'outro'}${kind}`));
}
const outroing = new Set();
let outros;
function group_outros() {
    outros = {
        r: 0,
        c: [],
        p: outros // parent group
    };
}
function check_outros() {
    if (!outros.r) {
        internal_run_all(outros.c);
    }
    outros = outros.p;
}
function transition_in(block, local) {
    if (block && block.i) {
        outroing.delete(block);
        block.i(local);
    }
}
function transition_out(block, local, detach, callback) {
    if (block && block.o) {
        if (outroing.has(block))
            return;
        outroing.add(block);
        outros.c.push(() => {
            outroing.delete(block);
            if (callback) {
                if (detach)
                    block.d(1);
                callback();
            }
        });
        block.o(local);
    }
    else if (callback) {
        callback();
    }
}
const null_transition = { duration: 0 };
function create_in_transition(node, fn, params) {
    let config = fn(node, params);
    let running = false;
    let animation_name;
    let task;
    let uid = 0;
    function cleanup() {
        if (animation_name)
            delete_rule(node, animation_name);
    }
    function go() {
        const { delay = 0, duration = 300, easing = identity, tick = internal_noop, css } = config || null_transition;
        if (css)
            animation_name = create_rule(node, 0, 1, duration, delay, easing, css, uid++);
        tick(0, 1);
        const start_time = now() + delay;
        const end_time = start_time + duration;
        if (task)
            task.abort();
        running = true;
        add_render_callback(() => dispatch(node, true, 'start'));
        task = loop(now => {
            if (running) {
                if (now >= end_time) {
                    tick(1, 0);
                    dispatch(node, true, 'end');
                    cleanup();
                    return running = false;
                }
                if (now >= start_time) {
                    const t = easing((now - start_time) / duration);
                    tick(t, 1 - t);
                }
            }
            return running;
        });
    }
    let started = false;
    return {
        start() {
            if (started)
                return;
            started = true;
            delete_rule(node);
            if (internal_is_function(config)) {
                config = config();
                wait().then(go);
            }
            else {
                go();
            }
        },
        invalidate() {
            started = false;
        },
        end() {
            if (running) {
                cleanup();
                running = false;
            }
        }
    };
}
function create_out_transition(node, fn, params) {
    let config = fn(node, params);
    let running = true;
    let animation_name;
    const group = outros;
    group.r += 1;
    function go() {
        const { delay = 0, duration = 300, easing = identity, tick = internal_noop, css } = config || null_transition;
        if (css)
            animation_name = create_rule(node, 1, 0, duration, delay, easing, css);
        const start_time = now() + delay;
        const end_time = start_time + duration;
        add_render_callback(() => dispatch(node, false, 'start'));
        loop(now => {
            if (running) {
                if (now >= end_time) {
                    tick(0, 1);
                    dispatch(node, false, 'end');
                    if (!--group.r) {
                        // this will result in `end()` being called,
                        // so we don't need to clean up here
                        internal_run_all(group.c);
                    }
                    return false;
                }
                if (now >= start_time) {
                    const t = easing((now - start_time) / duration);
                    tick(1 - t, t);
                }
            }
            return running;
        });
    }
    if (internal_is_function(config)) {
        wait().then(() => {
            // @ts-ignore
            config = config();
            go();
        });
    }
    else {
        go();
    }
    return {
        end(reset) {
            if (reset && config.tick) {
                config.tick(1, 0);
            }
            if (running) {
                if (animation_name)
                    delete_rule(node, animation_name);
                running = false;
            }
        }
    };
}
function create_bidirectional_transition(node, fn, params, intro) {
    let config = fn(node, params);
    let t = intro ? 0 : 1;
    let running_program = null;
    let pending_program = null;
    let animation_name = null;
    function clear_animation() {
        if (animation_name)
            delete_rule(node, animation_name);
    }
    function init(program, duration) {
        const d = (program.b - t);
        duration *= Math.abs(d);
        return {
            a: t,
            b: program.b,
            d,
            duration,
            start: program.start,
            end: program.start + duration,
            group: program.group
        };
    }
    function go(b) {
        const { delay = 0, duration = 300, easing = identity, tick = internal_noop, css } = config || null_transition;
        const program = {
            start: now() + delay,
            b
        };
        if (!b) {
            // @ts-ignore todo: improve typings
            program.group = outros;
            outros.r += 1;
        }
        if (running_program || pending_program) {
            pending_program = program;
        }
        else {
            // if this is an intro, and there's a delay, we need to do
            // an initial tick and/or apply CSS animation immediately
            if (css) {
                clear_animation();
                animation_name = create_rule(node, t, b, duration, delay, easing, css);
            }
            if (b)
                tick(0, 1);
            running_program = init(program, duration);
            add_render_callback(() => dispatch(node, b, 'start'));
            loop(now => {
                if (pending_program && now > pending_program.start) {
                    running_program = init(pending_program, duration);
                    pending_program = null;
                    dispatch(node, running_program.b, 'start');
                    if (css) {
                        clear_animation();
                        animation_name = create_rule(node, t, running_program.b, running_program.duration, 0, easing, config.css);
                    }
                }
                if (running_program) {
                    if (now >= running_program.end) {
                        tick(t = running_program.b, 1 - t);
                        dispatch(node, running_program.b, 'end');
                        if (!pending_program) {
                            // we're done
                            if (running_program.b) {
                                // intro — we can tidy up immediately
                                clear_animation();
                            }
                            else {
                                // outro — needs to be coordinated
                                if (!--running_program.group.r)
                                    internal_run_all(running_program.group.c);
                            }
                        }
                        running_program = null;
                    }
                    else if (now >= running_program.start) {
                        const p = now - running_program.start;
                        t = running_program.a + running_program.d * easing(p / running_program.duration);
                        tick(t, 1 - t);
                    }
                }
                return !!(running_program || pending_program);
            });
        }
    }
    return {
        run(b) {
            if (internal_is_function(config)) {
                wait().then(() => {
                    // @ts-ignore
                    config = config();
                    go(b);
                });
            }
            else {
                go(b);
            }
        },
        end() {
            clear_animation();
            running_program = pending_program = null;
        }
    };
}

function handle_promise(promise, info) {
    const token = info.token = {};
    function update(type, index, key, value) {
        if (info.token !== token)
            return;
        info.resolved = value;
        let child_ctx = info.ctx;
        if (key !== undefined) {
            child_ctx = child_ctx.slice();
            child_ctx[key] = value;
        }
        const block = type && (info.current = type)(child_ctx);
        let needs_flush = false;
        if (info.block) {
            if (info.blocks) {
                info.blocks.forEach((block, i) => {
                    if (i !== index && block) {
                        group_outros();
                        transition_out(block, 1, 1, () => {
                            if (info.blocks[i] === block) {
                                info.blocks[i] = null;
                            }
                        });
                        check_outros();
                    }
                });
            }
            else {
                info.block.d(1);
            }
            block.c();
            transition_in(block, 1);
            block.m(info.mount(), info.anchor);
            needs_flush = true;
        }
        info.block = block;
        if (info.blocks)
            info.blocks[index] = block;
        if (needs_flush) {
            flush();
        }
    }
    if (is_promise(promise)) {
        const current_component = get_current_component();
        promise.then(value => {
            set_current_component(current_component);
            update(info.then, 1, info.value, value);
            set_current_component(null);
        }, error => {
            set_current_component(current_component);
            update(info.catch, 2, info.error, error);
            set_current_component(null);
            if (!info.hasCatch) {
                throw error;
            }
        });
        // if we previously had a then/catch block, destroy it
        if (info.current !== info.pending) {
            update(info.pending, 0);
            return true;
        }
    }
    else {
        if (info.current !== info.then) {
            update(info.then, 1, info.value, promise);
            return true;
        }
        info.resolved = promise;
    }
}
function update_await_block_branch(info, ctx, dirty) {
    const child_ctx = ctx.slice();
    const { resolved } = info;
    if (info.current === info.then) {
        child_ctx[info.value] = resolved;
    }
    if (info.current === info.catch) {
        child_ctx[info.error] = resolved;
    }
    info.block.p(child_ctx, dirty);
}

const globals = (typeof window !== 'undefined'
    ? window
    : typeof globalThis !== 'undefined'
        ? globalThis
        : global);

function destroy_block(block, lookup) {
    block.d(1);
    lookup.delete(block.key);
}
function outro_and_destroy_block(block, lookup) {
    transition_out(block, 1, 1, () => {
        lookup.delete(block.key);
    });
}
function fix_and_destroy_block(block, lookup) {
    block.f();
    destroy_block(block, lookup);
}
function fix_and_outro_and_destroy_block(block, lookup) {
    block.f();
    outro_and_destroy_block(block, lookup);
}
function update_keyed_each(old_blocks, dirty, get_key, dynamic, ctx, list, lookup, node, destroy, create_each_block, next, get_context) {
    let o = old_blocks.length;
    let n = list.length;
    let i = o;
    const old_indexes = {};
    while (i--)
        old_indexes[old_blocks[i].key] = i;
    const new_blocks = [];
    const new_lookup = new Map();
    const deltas = new Map();
    i = n;
    while (i--) {
        const child_ctx = get_context(ctx, list, i);
        const key = get_key(child_ctx);
        let block = lookup.get(key);
        if (!block) {
            block = create_each_block(key, child_ctx);
            block.c();
        }
        else if (dynamic) {
            block.p(child_ctx, dirty);
        }
        new_lookup.set(key, new_blocks[i] = block);
        if (key in old_indexes)
            deltas.set(key, Math.abs(i - old_indexes[key]));
    }
    const will_move = new Set();
    const did_move = new Set();
    function insert(block) {
        transition_in(block, 1);
        block.m(node, next);
        lookup.set(block.key, block);
        next = block.first;
        n--;
    }
    while (o && n) {
        const new_block = new_blocks[n - 1];
        const old_block = old_blocks[o - 1];
        const new_key = new_block.key;
        const old_key = old_block.key;
        if (new_block === old_block) {
            // do nothing
            next = new_block.first;
            o--;
            n--;
        }
        else if (!new_lookup.has(old_key)) {
            // remove old block
            destroy(old_block, lookup);
            o--;
        }
        else if (!lookup.has(new_key) || will_move.has(new_key)) {
            insert(new_block);
        }
        else if (did_move.has(old_key)) {
            o--;
        }
        else if (deltas.get(new_key) > deltas.get(old_key)) {
            did_move.add(new_key);
            insert(new_block);
        }
        else {
            will_move.add(old_key);
            o--;
        }
    }
    while (o--) {
        const old_block = old_blocks[o];
        if (!new_lookup.has(old_block.key))
            destroy(old_block, lookup);
    }
    while (n)
        insert(new_blocks[n - 1]);
    return new_blocks;
}
function validate_each_keys(ctx, list, get_context, get_key) {
    const keys = new Set();
    for (let i = 0; i < list.length; i++) {
        const key = get_key(get_context(ctx, list, i));
        if (keys.has(key)) {
            throw new Error('Cannot have duplicate keys in a keyed each');
        }
        keys.add(key);
    }
}

function get_spread_update(levels, updates) {
    const update = {};
    const to_null_out = {};
    const accounted_for = { $$scope: 1 };
    let i = levels.length;
    while (i--) {
        const o = levels[i];
        const n = updates[i];
        if (n) {
            for (const key in o) {
                if (!(key in n))
                    to_null_out[key] = 1;
            }
            for (const key in n) {
                if (!accounted_for[key]) {
                    update[key] = n[key];
                    accounted_for[key] = 1;
                }
            }
            levels[i] = n;
        }
        else {
            for (const key in o) {
                accounted_for[key] = 1;
            }
        }
    }
    for (const key in to_null_out) {
        if (!(key in update))
            update[key] = undefined;
    }
    return update;
}
function get_spread_object(spread_props) {
    return typeof spread_props === 'object' && spread_props !== null ? spread_props : {};
}

// source: https://html.spec.whatwg.org/multipage/indices.html
const boolean_attributes = new Set([
    'allowfullscreen',
    'allowpaymentrequest',
    'async',
    'autofocus',
    'autoplay',
    'checked',
    'controls',
    'default',
    'defer',
    'disabled',
    'formnovalidate',
    'hidden',
    'ismap',
    'loop',
    'multiple',
    'muted',
    'nomodule',
    'novalidate',
    'open',
    'playsinline',
    'readonly',
    'required',
    'reversed',
    'selected'
]);

const void_element_names = /^(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)$/;
function is_void(name) {
    return void_element_names.test(name) || name.toLowerCase() === '!doctype';
}

const invalid_attribute_name_character = /[\s'">/=\u{FDD0}-\u{FDEF}\u{FFFE}\u{FFFF}\u{1FFFE}\u{1FFFF}\u{2FFFE}\u{2FFFF}\u{3FFFE}\u{3FFFF}\u{4FFFE}\u{4FFFF}\u{5FFFE}\u{5FFFF}\u{6FFFE}\u{6FFFF}\u{7FFFE}\u{7FFFF}\u{8FFFE}\u{8FFFF}\u{9FFFE}\u{9FFFF}\u{AFFFE}\u{AFFFF}\u{BFFFE}\u{BFFFF}\u{CFFFE}\u{CFFFF}\u{DFFFE}\u{DFFFF}\u{EFFFE}\u{EFFFF}\u{FFFFE}\u{FFFFF}\u{10FFFE}\u{10FFFF}]/u;
// https://html.spec.whatwg.org/multipage/syntax.html#attributes-2
// https://infra.spec.whatwg.org/#noncharacter
function spread(args, attrs_to_add) {
    const attributes = Object.assign({}, ...args);
    if (attrs_to_add) {
        const classes_to_add = attrs_to_add.classes;
        const styles_to_add = attrs_to_add.styles;
        if (classes_to_add) {
            if (attributes.class == null) {
                attributes.class = classes_to_add;
            }
            else {
                attributes.class += ' ' + classes_to_add;
            }
        }
        if (styles_to_add) {
            if (attributes.style == null) {
                attributes.style = style_object_to_string(styles_to_add);
            }
            else {
                attributes.style = style_object_to_string(merge_ssr_styles(attributes.style, styles_to_add));
            }
        }
    }
    let str = '';
    Object.keys(attributes).forEach(name => {
        if (invalid_attribute_name_character.test(name))
            return;
        const value = attributes[name];
        if (value === true)
            str += ' ' + name;
        else if (boolean_attributes.has(name.toLowerCase())) {
            if (value)
                str += ' ' + name;
        }
        else if (value != null) {
            str += ` ${name}="${value}"`;
        }
    });
    return str;
}
function merge_ssr_styles(style_attribute, style_directive) {
    const style_object = {};
    for (const individual_style of style_attribute.split(';')) {
        const colon_index = individual_style.indexOf(':');
        const name = individual_style.slice(0, colon_index).trim();
        const value = individual_style.slice(colon_index + 1).trim();
        if (!name)
            continue;
        style_object[name] = value;
    }
    for (const name in style_directive) {
        const value = style_directive[name];
        if (value) {
            style_object[name] = value;
        }
        else {
            delete style_object[name];
        }
    }
    return style_object;
}
const ATTR_REGEX = /[&"]/g;
const CONTENT_REGEX = /[&<]/g;
/**
 * Note: this method is performance sensitive and has been optimized
 * https://github.com/sveltejs/svelte/pull/5701
 */
function internal_escape(value, is_attr = false) {
    const str = String(value);
    const pattern = is_attr ? ATTR_REGEX : CONTENT_REGEX;
    pattern.lastIndex = 0;
    let escaped = '';
    let last = 0;
    while (pattern.test(str)) {
        const i = pattern.lastIndex - 1;
        const ch = str[i];
        escaped += str.substring(last, i) + (ch === '&' ? '&amp;' : (ch === '"' ? '&quot;' : '&lt;'));
        last = i + 1;
    }
    return escaped + str.substring(last);
}
function escape_attribute_value(value) {
    // keep booleans, null, and undefined for the sake of `spread`
    const should_escape = typeof value === 'string' || (value && typeof value === 'object');
    return should_escape ? internal_escape(value, true) : value;
}
function escape_object(obj) {
    const result = {};
    for (const key in obj) {
        result[key] = escape_attribute_value(obj[key]);
    }
    return result;
}
function each(items, fn) {
    let str = '';
    for (let i = 0; i < items.length; i += 1) {
        str += fn(items[i], i);
    }
    return str;
}
const missing_component = {
    $$render: () => ''
};
function validate_component(component, name) {
    if (!component || !component.$$render) {
        if (name === 'svelte:component')
            name += ' this={...}';
        throw new Error(`<${name}> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules`);
    }
    return component;
}
function debug(file, line, column, values) {
    console.log(`{@debug} ${file ? file + ' ' : ''}(${line}:${column})`); // eslint-disable-line no-console
    console.log(values); // eslint-disable-line no-console
    return '';
}
let on_destroy;
function create_ssr_component(fn) {
    function $$render(result, props, bindings, slots, context) {
        const parent_component = current_component;
        const $$ = {
            on_destroy,
            context: new Map(context || (parent_component ? parent_component.$$.context : [])),
            // these will be immediately discarded
            on_mount: [],
            before_update: [],
            after_update: [],
            callbacks: blank_object()
        };
        set_current_component({ $$ });
        const html = fn(result, props, bindings, slots);
        set_current_component(parent_component);
        return html;
    }
    return {
        render: (props = {}, { $$slots = {}, context = new Map() } = {}) => {
            on_destroy = [];
            const result = { title: '', head: '', css: new Set() };
            const html = $$render(result, props, {}, $$slots, context);
            internal_run_all(on_destroy);
            return {
                html,
                css: {
                    code: Array.from(result.css).map(css => css.code).join('\n'),
                    map: null // TODO
                },
                head: result.title + result.head
            };
        },
        $$render
    };
}
function add_attribute(name, value, boolean) {
    if (value == null || (boolean && !value))
        return '';
    const assignment = (boolean && value === true) ? '' : `="${internal_escape(value, true)}"`;
    return ` ${name}${assignment}`;
}
function add_classes(classes) {
    return classes ? ` class="${classes}"` : '';
}
function style_object_to_string(style_object) {
    return Object.keys(style_object)
        .filter(key => style_object[key])
        .map(key => `${key}: ${style_object[key]};`)
        .join(' ');
}
function add_styles(style_object) {
    const styles = style_object_to_string(style_object);
    return styles ? ` style="${styles}"` : '';
}

function bind(component, name, callback) {
    const index = component.$$.props[name];
    if (index !== undefined) {
        component.$$.bound[index] = callback;
        callback(component.$$.ctx[index]);
    }
}
function create_component(block) {
    block && block.c();
}
function claim_component(block, parent_nodes) {
    block && block.l(parent_nodes);
}
function mount_component(component, target, anchor, customElement) {
    const { fragment, on_mount, on_destroy, after_update } = component.$$;
    fragment && fragment.m(target, anchor);
    if (!customElement) {
        // onMount happens before the initial afterUpdate
        add_render_callback(() => {
            const new_on_destroy = on_mount.map(run).filter(internal_is_function);
            if (on_destroy) {
                on_destroy.push(...new_on_destroy);
            }
            else {
                // Edge case - component was destroyed immediately,
                // most likely as a result of a binding initialising
                internal_run_all(new_on_destroy);
            }
            component.$$.on_mount = [];
        });
    }
    after_update.forEach(add_render_callback);
}
function destroy_component(component, detaching) {
    const $$ = component.$$;
    if ($$.fragment !== null) {
        internal_run_all($$.on_destroy);
        $$.fragment && $$.fragment.d(detaching);
        // TODO null out other refs, including component.$$ (but need to
        // preserve final state?)
        $$.on_destroy = $$.fragment = null;
        $$.ctx = [];
    }
}
function make_dirty(component, i) {
    if (component.$$.dirty[0] === -1) {
        dirty_components.push(component);
        schedule_update();
        component.$$.dirty.fill(0);
    }
    component.$$.dirty[(i / 31) | 0] |= (1 << (i % 31));
}
function init(component, options, instance, create_fragment, not_equal, props, append_styles, dirty = [-1]) {
    const parent_component = current_component;
    set_current_component(component);
    const $$ = component.$$ = {
        fragment: null,
        ctx: null,
        // state
        props,
        update: internal_noop,
        not_equal,
        bound: blank_object(),
        // lifecycle
        on_mount: [],
        on_destroy: [],
        on_disconnect: [],
        before_update: [],
        after_update: [],
        context: new Map(options.context || (parent_component ? parent_component.$$.context : [])),
        // everything else
        callbacks: blank_object(),
        dirty,
        skip_bound: false,
        root: options.target || parent_component.$$.root
    };
    append_styles && append_styles($$.root);
    let ready = false;
    $$.ctx = instance
        ? instance(component, options.props || {}, (i, ret, ...rest) => {
            const value = rest.length ? rest[0] : ret;
            if ($$.ctx && not_equal($$.ctx[i], $$.ctx[i] = value)) {
                if (!$$.skip_bound && $$.bound[i])
                    $$.bound[i](value);
                if (ready)
                    make_dirty(component, i);
            }
            return ret;
        })
        : [];
    $$.update();
    ready = true;
    internal_run_all($$.before_update);
    // `false` as a special case of no DOM component
    $$.fragment = create_fragment ? create_fragment($$.ctx) : false;
    if (options.target) {
        if (options.hydrate) {
            start_hydrating();
            const nodes = children(options.target);
            // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
            $$.fragment && $$.fragment.l(nodes);
            nodes.forEach(detach);
        }
        else {
            // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
            $$.fragment && $$.fragment.c();
        }
        if (options.intro)
            transition_in(component.$$.fragment);
        mount_component(component, options.target, options.anchor, options.customElement);
        end_hydrating();
        flush();
    }
    set_current_component(parent_component);
}
let SvelteElement;
if (typeof HTMLElement === 'function') {
    SvelteElement = class extends HTMLElement {
        constructor() {
            super();
            this.attachShadow({ mode: 'open' });
        }
        connectedCallback() {
            const { on_mount } = this.$$;
            this.$$.on_disconnect = on_mount.map(run).filter(internal_is_function);
            // @ts-ignore todo: improve typings
            for (const key in this.$$.slotted) {
                // @ts-ignore todo: improve typings
                this.appendChild(this.$$.slotted[key]);
            }
        }
        attributeChangedCallback(attr, _oldValue, newValue) {
            this[attr] = newValue;
        }
        disconnectedCallback() {
            internal_run_all(this.$$.on_disconnect);
        }
        $destroy() {
            destroy_component(this, 1);
            this.$destroy = internal_noop;
        }
        $on(type, callback) {
            // TODO should this delegate to addEventListener?
            const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));
            callbacks.push(callback);
            return () => {
                const index = callbacks.indexOf(callback);
                if (index !== -1)
                    callbacks.splice(index, 1);
            };
        }
        $set($$props) {
            if (this.$$set && !is_empty($$props)) {
                this.$$.skip_bound = true;
                this.$$set($$props);
                this.$$.skip_bound = false;
            }
        }
    };
}
/**
 * Base class for Svelte components. Used when dev=false.
 */
class SvelteComponent {
    $destroy() {
        destroy_component(this, 1);
        this.$destroy = internal_noop;
    }
    $on(type, callback) {
        const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));
        callbacks.push(callback);
        return () => {
            const index = callbacks.indexOf(callback);
            if (index !== -1)
                callbacks.splice(index, 1);
        };
    }
    $set($$props) {
        if (this.$$set && !is_empty($$props)) {
            this.$$.skip_bound = true;
            this.$$set($$props);
            this.$$.skip_bound = false;
        }
    }
}

function dispatch_dev(type, detail) {
    document.dispatchEvent(custom_event(type, Object.assign({ version: '3.49.0' }, detail), { bubbles: true }));
}
function append_dev(target, node) {
    dispatch_dev('SvelteDOMInsert', { target, node });
    append(target, node);
}
function append_hydration_dev(target, node) {
    dispatch_dev('SvelteDOMInsert', { target, node });
    append_hydration(target, node);
}
function insert_dev(target, node, anchor) {
    dispatch_dev('SvelteDOMInsert', { target, node, anchor });
    insert(target, node, anchor);
}
function insert_hydration_dev(target, node, anchor) {
    dispatch_dev('SvelteDOMInsert', { target, node, anchor });
    insert_hydration(target, node, anchor);
}
function detach_dev(node) {
    dispatch_dev('SvelteDOMRemove', { node });
    detach(node);
}
function detach_between_dev(before, after) {
    while (before.nextSibling && before.nextSibling !== after) {
        detach_dev(before.nextSibling);
    }
}
function detach_before_dev(after) {
    while (after.previousSibling) {
        detach_dev(after.previousSibling);
    }
}
function detach_after_dev(before) {
    while (before.nextSibling) {
        detach_dev(before.nextSibling);
    }
}
function listen_dev(node, event, handler, options, has_prevent_default, has_stop_propagation) {
    const modifiers = options === true ? ['capture'] : options ? Array.from(Object.keys(options)) : [];
    if (has_prevent_default)
        modifiers.push('preventDefault');
    if (has_stop_propagation)
        modifiers.push('stopPropagation');
    dispatch_dev('SvelteDOMAddEventListener', { node, event, handler, modifiers });
    const dispose = listen(node, event, handler, options);
    return () => {
        dispatch_dev('SvelteDOMRemoveEventListener', { node, event, handler, modifiers });
        dispose();
    };
}
function attr_dev(node, attribute, value) {
    attr(node, attribute, value);
    if (value == null)
        dispatch_dev('SvelteDOMRemoveAttribute', { node, attribute });
    else
        dispatch_dev('SvelteDOMSetAttribute', { node, attribute, value });
}
function prop_dev(node, property, value) {
    node[property] = value;
    dispatch_dev('SvelteDOMSetProperty', { node, property, value });
}
function dataset_dev(node, property, value) {
    node.dataset[property] = value;
    dispatch_dev('SvelteDOMSetDataset', { node, property, value });
}
function set_data_dev(text, data) {
    data = '' + data;
    if (text.wholeText === data)
        return;
    dispatch_dev('SvelteDOMSetData', { node: text, data });
    text.data = data;
}
function validate_each_argument(arg) {
    if (typeof arg !== 'string' && !(arg && typeof arg === 'object' && 'length' in arg)) {
        let msg = '{#each} only iterates over array-like objects.';
        if (typeof Symbol === 'function' && arg && Symbol.iterator in arg) {
            msg += ' You can use a spread to convert this iterable into an array.';
        }
        throw new Error(msg);
    }
}
function validate_slots(name, slot, keys) {
    for (const slot_key of Object.keys(slot)) {
        if (!~keys.indexOf(slot_key)) {
            console.warn(`<${name}> received an unexpected slot "${slot_key}".`);
        }
    }
}
function validate_dynamic_element(tag) {
    const is_string = typeof tag === 'string';
    if (tag && !is_string) {
        throw new Error('<svelte:element> expects "this" attribute to be a string.');
    }
}
function validate_void_dynamic_element(tag) {
    if (tag && is_void(tag)) {
        throw new Error(`<svelte:element this="${tag}"> is self-closing and cannot have content.`);
    }
}
/**
 * Base class for Svelte components with some minor dev-enhancements. Used when dev=true.
 */
class SvelteComponentDev extends (/* unused pure expression or super */ null && (SvelteComponent)) {
    constructor(options) {
        if (!options || (!options.target && !options.$$inline)) {
            throw new Error("'target' is a required option");
        }
        super();
    }
    $destroy() {
        super.$destroy();
        this.$destroy = () => {
            console.warn('Component was already destroyed'); // eslint-disable-line no-console
        };
    }
    $capture_state() { }
    $inject_state() { }
}
/**
 * Base class to create strongly typed Svelte components.
 * This only exists for typing purposes and should be used in `.d.ts` files.
 *
 * ### Example:
 *
 * You have component library on npm called `component-library`, from which
 * you export a component called `MyComponent`. For Svelte+TypeScript users,
 * you want to provide typings. Therefore you create a `index.d.ts`:
 * ```ts
 * import { SvelteComponentTyped } from "svelte";
 * export class MyComponent extends SvelteComponentTyped<{foo: string}> {}
 * ```
 * Typing this makes it possible for IDEs like VS Code with the Svelte extension
 * to provide intellisense and to use the component like this in a Svelte file
 * with TypeScript:
 * ```svelte
 * <script lang="ts">
 * 	import { MyComponent } from "component-library";
 * </script>
 * <MyComponent foo={'bar'} />
 * ```
 *
 * #### Why not make this part of `SvelteComponent(Dev)`?
 * Because
 * ```ts
 * class ASubclassOfSvelteComponent extends SvelteComponent<{foo: string}> {}
 * const component: typeof SvelteComponent = ASubclassOfSvelteComponent;
 * ```
 * will throw a type error, so we need to separate the more strictly typed class.
 */
class SvelteComponentTyped extends (/* unused pure expression or super */ null && (SvelteComponentDev)) {
    constructor(options) {
        super(options);
    }
}
function loop_guard(timeout) {
    const start = Date.now();
    return () => {
        if (Date.now() - start > timeout) {
            throw new Error('Infinite loop detected');
        }
    };
}



;// CONCATENATED MODULE: ./node_modules/svelte/index.mjs


;// CONCATENATED MODULE: ./node_modules/svelte/store/index.mjs



const subscriber_queue = [];
/**
 * Creates a `Readable` store that allows reading by subscription.
 * @param value initial value
 * @param {StartStopNotifier}start start and stop notifications for subscriptions
 */
function readable(value, start) {
    return {
        subscribe: writable(value, start).subscribe
    };
}
/**
 * Create a `Writable` store that allows both updating and reading by subscription.
 * @param {*=}value initial value
 * @param {StartStopNotifier=}start start and stop notifications for subscriptions
 */
function writable(value, start = internal_noop) {
    let stop;
    const subscribers = new Set();
    function set(new_value) {
        if (safe_not_equal(value, new_value)) {
            value = new_value;
            if (stop) { // store is ready
                const run_queue = !subscriber_queue.length;
                for (const subscriber of subscribers) {
                    subscriber[1]();
                    subscriber_queue.push(subscriber, value);
                }
                if (run_queue) {
                    for (let i = 0; i < subscriber_queue.length; i += 2) {
                        subscriber_queue[i][0](subscriber_queue[i + 1]);
                    }
                    subscriber_queue.length = 0;
                }
            }
        }
    }
    function update(fn) {
        set(fn(value));
    }
    function subscribe(run, invalidate = internal_noop) {
        const subscriber = [run, invalidate];
        subscribers.add(subscriber);
        if (subscribers.size === 1) {
            stop = start(set) || internal_noop;
        }
        run(value);
        return () => {
            subscribers.delete(subscriber);
            if (subscribers.size === 0) {
                stop();
                stop = null;
            }
        };
    }
    return { set, update, subscribe };
}
function derived(stores, fn, initial_value) {
    const single = !Array.isArray(stores);
    const stores_array = single
        ? [stores]
        : stores;
    const auto = fn.length < 2;
    return readable(initial_value, (set) => {
        let inited = false;
        const values = [];
        let pending = 0;
        let cleanup = noop;
        const sync = () => {
            if (pending) {
                return;
            }
            cleanup();
            const result = fn(single ? values[0] : values, set);
            if (auto) {
                set(result);
            }
            else {
                cleanup = is_function(result) ? result : noop;
            }
        };
        const unsubscribers = stores_array.map((store, i) => subscribe(store, (value) => {
            values[i] = value;
            pending &= ~(1 << i);
            if (inited) {
                sync();
            }
        }, () => {
            pending |= (1 << i);
        }));
        inited = true;
        sync();
        return function stop() {
            run_all(unsubscribers);
            cleanup();
        };
    });
}



;// CONCATENATED MODULE: ./src/store/cef.js

var browserId = writable(0);
var videoBackgroundVisible = writable(false);
;// CONCATENATED MODULE: ./src/utils/cef.js


var sendClientMessage = function sendClientMessage(action) {
  for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
    args[_key - 1] = arguments[_key];
  }
  var message = "".concat(action).concat(args.length !== 0 ? '|' : '').concat(args.join('|'));
  window.cef.SendMessage(message, get_store_value(browserId));
};
;// CONCATENATED MODULE: ./src/router/index.js



var selectedView = writable(null);
var setActiveView = function setActiveView(view) {
  selectedView.set(view);
  sendClientMessage('onActiveViewChanged', view);
};
registerEvent('event.setActiveView', setActiveView);
;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/bind.js


function bind_bind(fn, thisArg) {
  return function wrap() {
    return fn.apply(thisArg, arguments);
  };
}

;// CONCATENATED MODULE: ./node_modules/axios/lib/utils.js




// utils is a library of generic helper functions non-specific to axios

const {toString: utils_toString} = Object.prototype;
const {getPrototypeOf} = Object;

const kindOf = (cache => thing => {
    const str = utils_toString.call(thing);
    return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());
})(Object.create(null));

const kindOfTest = (type) => {
  type = type.toLowerCase();
  return (thing) => kindOf(thing) === type
}

const typeOfTest = type => thing => typeof thing === type;

/**
 * Determine if a value is an Array
 *
 * @param {Object} val The value to test
 *
 * @returns {boolean} True if value is an Array, otherwise false
 */
const {isArray} = Array;

/**
 * Determine if a value is undefined
 *
 * @param {*} val The value to test
 *
 * @returns {boolean} True if the value is undefined, otherwise false
 */
const isUndefined = typeOfTest('undefined');

/**
 * Determine if a value is a Buffer
 *
 * @param {*} val The value to test
 *
 * @returns {boolean} True if value is a Buffer, otherwise false
 */
function isBuffer(val) {
  return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)
    && isFunction(val.constructor.isBuffer) && val.constructor.isBuffer(val);
}

/**
 * Determine if a value is an ArrayBuffer
 *
 * @param {*} val The value to test
 *
 * @returns {boolean} True if value is an ArrayBuffer, otherwise false
 */
const isArrayBuffer = kindOfTest('ArrayBuffer');


/**
 * Determine if a value is a view on an ArrayBuffer
 *
 * @param {*} val The value to test
 *
 * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false
 */
function isArrayBufferView(val) {
  let result;
  if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {
    result = ArrayBuffer.isView(val);
  } else {
    result = (val) && (val.buffer) && (isArrayBuffer(val.buffer));
  }
  return result;
}

/**
 * Determine if a value is a String
 *
 * @param {*} val The value to test
 *
 * @returns {boolean} True if value is a String, otherwise false
 */
const isString = typeOfTest('string');

/**
 * Determine if a value is a Function
 *
 * @param {*} val The value to test
 * @returns {boolean} True if value is a Function, otherwise false
 */
const isFunction = typeOfTest('function');

/**
 * Determine if a value is a Number
 *
 * @param {*} val The value to test
 *
 * @returns {boolean} True if value is a Number, otherwise false
 */
const isNumber = typeOfTest('number');

/**
 * Determine if a value is an Object
 *
 * @param {*} thing The value to test
 *
 * @returns {boolean} True if value is an Object, otherwise false
 */
const isObject = (thing) => thing !== null && typeof thing === 'object';

/**
 * Determine if a value is a Boolean
 *
 * @param {*} thing The value to test
 * @returns {boolean} True if value is a Boolean, otherwise false
 */
const isBoolean = thing => thing === true || thing === false;

/**
 * Determine if a value is a plain Object
 *
 * @param {*} val The value to test
 *
 * @returns {boolean} True if value is a plain Object, otherwise false
 */
const isPlainObject = (val) => {
  if (kindOf(val) !== 'object') {
    return false;
  }

  const prototype = getPrototypeOf(val);
  return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in val) && !(Symbol.iterator in val);
}

/**
 * Determine if a value is a Date
 *
 * @param {*} val The value to test
 *
 * @returns {boolean} True if value is a Date, otherwise false
 */
const isDate = kindOfTest('Date');

/**
 * Determine if a value is a File
 *
 * @param {*} val The value to test
 *
 * @returns {boolean} True if value is a File, otherwise false
 */
const isFile = kindOfTest('File');

/**
 * Determine if a value is a Blob
 *
 * @param {*} val The value to test
 *
 * @returns {boolean} True if value is a Blob, otherwise false
 */
const isBlob = kindOfTest('Blob');

/**
 * Determine if a value is a FileList
 *
 * @param {*} val The value to test
 *
 * @returns {boolean} True if value is a File, otherwise false
 */
const isFileList = kindOfTest('FileList');

/**
 * Determine if a value is a Stream
 *
 * @param {*} val The value to test
 *
 * @returns {boolean} True if value is a Stream, otherwise false
 */
const isStream = (val) => isObject(val) && isFunction(val.pipe);

/**
 * Determine if a value is a FormData
 *
 * @param {*} thing The value to test
 *
 * @returns {boolean} True if value is an FormData, otherwise false
 */
const isFormData = (thing) => {
  let kind;
  return thing && (
    (typeof FormData === 'function' && thing instanceof FormData) || (
      isFunction(thing.append) && (
        (kind = kindOf(thing)) === 'formdata' ||
        // detect form-data instance
        (kind === 'object' && isFunction(thing.toString) && thing.toString() === '[object FormData]')
      )
    )
  )
}

/**
 * Determine if a value is a URLSearchParams object
 *
 * @param {*} val The value to test
 *
 * @returns {boolean} True if value is a URLSearchParams object, otherwise false
 */
const isURLSearchParams = kindOfTest('URLSearchParams');

/**
 * Trim excess whitespace off the beginning and end of a string
 *
 * @param {String} str The String to trim
 *
 * @returns {String} The String freed of excess whitespace
 */
const trim = (str) => str.trim ?
  str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, '');

/**
 * Iterate over an Array or an Object invoking a function for each item.
 *
 * If `obj` is an Array callback will be called passing
 * the value, index, and complete array for each item.
 *
 * If 'obj' is an Object callback will be called passing
 * the value, key, and complete object for each property.
 *
 * @param {Object|Array} obj The object to iterate
 * @param {Function} fn The callback to invoke for each item
 *
 * @param {Boolean} [allOwnKeys = false]
 * @returns {any}
 */
function forEach(obj, fn, {allOwnKeys = false} = {}) {
  // Don't bother if no value provided
  if (obj === null || typeof obj === 'undefined') {
    return;
  }

  let i;
  let l;

  // Force an array if not already something iterable
  if (typeof obj !== 'object') {
    /*eslint no-param-reassign:0*/
    obj = [obj];
  }

  if (isArray(obj)) {
    // Iterate over array values
    for (i = 0, l = obj.length; i < l; i++) {
      fn.call(null, obj[i], i, obj);
    }
  } else {
    // Iterate over object keys
    const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);
    const len = keys.length;
    let key;

    for (i = 0; i < len; i++) {
      key = keys[i];
      fn.call(null, obj[key], key, obj);
    }
  }
}

function findKey(obj, key) {
  key = key.toLowerCase();
  const keys = Object.keys(obj);
  let i = keys.length;
  let _key;
  while (i-- > 0) {
    _key = keys[i];
    if (key === _key.toLowerCase()) {
      return _key;
    }
  }
  return null;
}

const _global = (() => {
  /*eslint no-undef:0*/
  if (typeof globalThis !== "undefined") return globalThis;
  return typeof self !== "undefined" ? self : (typeof window !== 'undefined' ? window : global)
})();

const isContextDefined = (context) => !isUndefined(context) && context !== _global;

/**
 * Accepts varargs expecting each argument to be an object, then
 * immutably merges the properties of each object and returns result.
 *
 * When multiple objects contain the same key the later object in
 * the arguments list will take precedence.
 *
 * Example:
 *
 * ```js
 * var result = merge({foo: 123}, {foo: 456});
 * console.log(result.foo); // outputs 456
 * ```
 *
 * @param {Object} obj1 Object to merge
 *
 * @returns {Object} Result of all merge properties
 */
function merge(/* obj1, obj2, obj3, ... */) {
  const {caseless} = isContextDefined(this) && this || {};
  const result = {};
  const assignValue = (val, key) => {
    const targetKey = caseless && findKey(result, key) || key;
    if (isPlainObject(result[targetKey]) && isPlainObject(val)) {
      result[targetKey] = merge(result[targetKey], val);
    } else if (isPlainObject(val)) {
      result[targetKey] = merge({}, val);
    } else if (isArray(val)) {
      result[targetKey] = val.slice();
    } else {
      result[targetKey] = val;
    }
  }

  for (let i = 0, l = arguments.length; i < l; i++) {
    arguments[i] && forEach(arguments[i], assignValue);
  }
  return result;
}

/**
 * Extends object a by mutably adding to it the properties of object b.
 *
 * @param {Object} a The object to be extended
 * @param {Object} b The object to copy properties from
 * @param {Object} thisArg The object to bind function to
 *
 * @param {Boolean} [allOwnKeys]
 * @returns {Object} The resulting value of object a
 */
const utils_extend = (a, b, thisArg, {allOwnKeys}= {}) => {
  forEach(b, (val, key) => {
    if (thisArg && isFunction(val)) {
      a[key] = bind_bind(val, thisArg);
    } else {
      a[key] = val;
    }
  }, {allOwnKeys});
  return a;
}

/**
 * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)
 *
 * @param {string} content with BOM
 *
 * @returns {string} content value without BOM
 */
const stripBOM = (content) => {
  if (content.charCodeAt(0) === 0xFEFF) {
    content = content.slice(1);
  }
  return content;
}

/**
 * Inherit the prototype methods from one constructor into another
 * @param {function} constructor
 * @param {function} superConstructor
 * @param {object} [props]
 * @param {object} [descriptors]
 *
 * @returns {void}
 */
const inherits = (constructor, superConstructor, props, descriptors) => {
  constructor.prototype = Object.create(superConstructor.prototype, descriptors);
  constructor.prototype.constructor = constructor;
  Object.defineProperty(constructor, 'super', {
    value: superConstructor.prototype
  });
  props && Object.assign(constructor.prototype, props);
}

/**
 * Resolve object with deep prototype chain to a flat object
 * @param {Object} sourceObj source object
 * @param {Object} [destObj]
 * @param {Function|Boolean} [filter]
 * @param {Function} [propFilter]
 *
 * @returns {Object}
 */
const toFlatObject = (sourceObj, destObj, filter, propFilter) => {
  let props;
  let i;
  let prop;
  const merged = {};

  destObj = destObj || {};
  // eslint-disable-next-line no-eq-null,eqeqeq
  if (sourceObj == null) return destObj;

  do {
    props = Object.getOwnPropertyNames(sourceObj);
    i = props.length;
    while (i-- > 0) {
      prop = props[i];
      if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) {
        destObj[prop] = sourceObj[prop];
        merged[prop] = true;
      }
    }
    sourceObj = filter !== false && getPrototypeOf(sourceObj);
  } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype);

  return destObj;
}

/**
 * Determines whether a string ends with the characters of a specified string
 *
 * @param {String} str
 * @param {String} searchString
 * @param {Number} [position= 0]
 *
 * @returns {boolean}
 */
const endsWith = (str, searchString, position) => {
  str = String(str);
  if (position === undefined || position > str.length) {
    position = str.length;
  }
  position -= searchString.length;
  const lastIndex = str.indexOf(searchString, position);
  return lastIndex !== -1 && lastIndex === position;
}


/**
 * Returns new array from array like object or null if failed
 *
 * @param {*} [thing]
 *
 * @returns {?Array}
 */
const toArray = (thing) => {
  if (!thing) return null;
  if (isArray(thing)) return thing;
  let i = thing.length;
  if (!isNumber(i)) return null;
  const arr = new Array(i);
  while (i-- > 0) {
    arr[i] = thing[i];
  }
  return arr;
}

/**
 * Checking if the Uint8Array exists and if it does, it returns a function that checks if the
 * thing passed in is an instance of Uint8Array
 *
 * @param {TypedArray}
 *
 * @returns {Array}
 */
// eslint-disable-next-line func-names
const isTypedArray = (TypedArray => {
  // eslint-disable-next-line func-names
  return thing => {
    return TypedArray && thing instanceof TypedArray;
  };
})(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array));

/**
 * For each entry in the object, call the function with the key and value.
 *
 * @param {Object<any, any>} obj - The object to iterate over.
 * @param {Function} fn - The function to call for each entry.
 *
 * @returns {void}
 */
const forEachEntry = (obj, fn) => {
  const generator = obj && obj[Symbol.iterator];

  const iterator = generator.call(obj);

  let result;

  while ((result = iterator.next()) && !result.done) {
    const pair = result.value;
    fn.call(obj, pair[0], pair[1]);
  }
}

/**
 * It takes a regular expression and a string, and returns an array of all the matches
 *
 * @param {string} regExp - The regular expression to match against.
 * @param {string} str - The string to search.
 *
 * @returns {Array<boolean>}
 */
const matchAll = (regExp, str) => {
  let matches;
  const arr = [];

  while ((matches = regExp.exec(str)) !== null) {
    arr.push(matches);
  }

  return arr;
}

/* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */
const isHTMLForm = kindOfTest('HTMLFormElement');

const toCamelCase = str => {
  return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,
    function replacer(m, p1, p2) {
      return p1.toUpperCase() + p2;
    }
  );
};

/* Creating a function that will check if an object has a property. */
const utils_hasOwnProperty = (({hasOwnProperty}) => (obj, prop) => hasOwnProperty.call(obj, prop))(Object.prototype);

/**
 * Determine if a value is a RegExp object
 *
 * @param {*} val The value to test
 *
 * @returns {boolean} True if value is a RegExp object, otherwise false
 */
const isRegExp = kindOfTest('RegExp');

const reduceDescriptors = (obj, reducer) => {
  const descriptors = Object.getOwnPropertyDescriptors(obj);
  const reducedDescriptors = {};

  forEach(descriptors, (descriptor, name) => {
    let ret;
    if ((ret = reducer(descriptor, name, obj)) !== false) {
      reducedDescriptors[name] = ret || descriptor;
    }
  });

  Object.defineProperties(obj, reducedDescriptors);
}

/**
 * Makes all methods read-only
 * @param {Object} obj
 */

const freezeMethods = (obj) => {
  reduceDescriptors(obj, (descriptor, name) => {
    // skip restricted props in strict mode
    if (isFunction(obj) && ['arguments', 'caller', 'callee'].indexOf(name) !== -1) {
      return false;
    }

    const value = obj[name];

    if (!isFunction(value)) return;

    descriptor.enumerable = false;

    if ('writable' in descriptor) {
      descriptor.writable = false;
      return;
    }

    if (!descriptor.set) {
      descriptor.set = () => {
        throw Error('Can not rewrite read-only method \'' + name + '\'');
      };
    }
  });
}

const toObjectSet = (arrayOrString, delimiter) => {
  const obj = {};

  const define = (arr) => {
    arr.forEach(value => {
      obj[value] = true;
    });
  }

  isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter));

  return obj;
}

const utils_noop = () => {}

const toFiniteNumber = (value, defaultValue) => {
  value = +value;
  return Number.isFinite(value) ? value : defaultValue;
}

const ALPHA = 'abcdefghijklmnopqrstuvwxyz'

const DIGIT = '0123456789';

const ALPHABET = {
  DIGIT,
  ALPHA,
  ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT
}

const generateString = (size = 16, alphabet = ALPHABET.ALPHA_DIGIT) => {
  let str = '';
  const {length} = alphabet;
  while (size--) {
    str += alphabet[Math.random() * length|0]
  }

  return str;
}

/**
 * If the thing is a FormData object, return true, otherwise return false.
 *
 * @param {unknown} thing - The thing to check.
 *
 * @returns {boolean}
 */
function isSpecCompliantForm(thing) {
  return !!(thing && isFunction(thing.append) && thing[Symbol.toStringTag] === 'FormData' && thing[Symbol.iterator]);
}

const toJSONObject = (obj) => {
  const stack = new Array(10);

  const visit = (source, i) => {

    if (isObject(source)) {
      if (stack.indexOf(source) >= 0) {
        return;
      }

      if(!('toJSON' in source)) {
        stack[i] = source;
        const target = isArray(source) ? [] : {};

        forEach(source, (value, key) => {
          const reducedValue = visit(value, i + 1);
          !isUndefined(reducedValue) && (target[key] = reducedValue);
        });

        stack[i] = undefined;

        return target;
      }
    }

    return source;
  }

  return visit(obj, 0);
}

const isAsyncFn = kindOfTest('AsyncFunction');

const isThenable = (thing) =>
  thing && (isObject(thing) || isFunction(thing)) && isFunction(thing.then) && isFunction(thing.catch);

/* harmony default export */ const utils = ({
  isArray,
  isArrayBuffer,
  isBuffer,
  isFormData,
  isArrayBufferView,
  isString,
  isNumber,
  isBoolean,
  isObject,
  isPlainObject,
  isUndefined,
  isDate,
  isFile,
  isBlob,
  isRegExp,
  isFunction,
  isStream,
  isURLSearchParams,
  isTypedArray,
  isFileList,
  forEach,
  merge,
  extend: utils_extend,
  trim,
  stripBOM,
  inherits,
  toFlatObject,
  kindOf,
  kindOfTest,
  endsWith,
  toArray,
  forEachEntry,
  matchAll,
  isHTMLForm,
  hasOwnProperty: utils_hasOwnProperty,
  hasOwnProp: utils_hasOwnProperty, // an alias to avoid ESLint no-prototype-builtins detection
  reduceDescriptors,
  freezeMethods,
  toObjectSet,
  toCamelCase,
  noop: utils_noop,
  toFiniteNumber,
  findKey,
  global: _global,
  isContextDefined,
  ALPHABET,
  generateString,
  isSpecCompliantForm,
  toJSONObject,
  isAsyncFn,
  isThenable
});

;// CONCATENATED MODULE: ./node_modules/axios/lib/core/AxiosError.js




/**
 * Create an Error with the specified message, config, error code, request and response.
 *
 * @param {string} message The error message.
 * @param {string} [code] The error code (for example, 'ECONNABORTED').
 * @param {Object} [config] The config.
 * @param {Object} [request] The request.
 * @param {Object} [response] The response.
 *
 * @returns {Error} The created error.
 */
function AxiosError(message, code, config, request, response) {
  Error.call(this);

  if (Error.captureStackTrace) {
    Error.captureStackTrace(this, this.constructor);
  } else {
    this.stack = (new Error()).stack;
  }

  this.message = message;
  this.name = 'AxiosError';
  code && (this.code = code);
  config && (this.config = config);
  request && (this.request = request);
  response && (this.response = response);
}

utils.inherits(AxiosError, Error, {
  toJSON: function toJSON() {
    return {
      // Standard
      message: this.message,
      name: this.name,
      // Microsoft
      description: this.description,
      number: this.number,
      // Mozilla
      fileName: this.fileName,
      lineNumber: this.lineNumber,
      columnNumber: this.columnNumber,
      stack: this.stack,
      // Axios
      config: utils.toJSONObject(this.config),
      code: this.code,
      status: this.response && this.response.status ? this.response.status : null
    };
  }
});

const AxiosError_prototype = AxiosError.prototype;
const descriptors = {};

[
  'ERR_BAD_OPTION_VALUE',
  'ERR_BAD_OPTION',
  'ECONNABORTED',
  'ETIMEDOUT',
  'ERR_NETWORK',
  'ERR_FR_TOO_MANY_REDIRECTS',
  'ERR_DEPRECATED',
  'ERR_BAD_RESPONSE',
  'ERR_BAD_REQUEST',
  'ERR_CANCELED',
  'ERR_NOT_SUPPORT',
  'ERR_INVALID_URL'
// eslint-disable-next-line func-names
].forEach(code => {
  descriptors[code] = {value: code};
});

Object.defineProperties(AxiosError, descriptors);
Object.defineProperty(AxiosError_prototype, 'isAxiosError', {value: true});

// eslint-disable-next-line func-names
AxiosError.from = (error, code, config, request, response, customProps) => {
  const axiosError = Object.create(AxiosError_prototype);

  utils.toFlatObject(error, axiosError, function filter(obj) {
    return obj !== Error.prototype;
  }, prop => {
    return prop !== 'isAxiosError';
  });

  AxiosError.call(axiosError, error.message, code, config, request, response);

  axiosError.cause = error;

  axiosError.name = error.name;

  customProps && Object.assign(axiosError, customProps);

  return axiosError;
};

/* harmony default export */ const core_AxiosError = (AxiosError);

;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/null.js
// eslint-disable-next-line strict
/* harmony default export */ const helpers_null = (null);

;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/toFormData.js




// temporary hotfix to avoid circular references until AxiosURLSearchParams is refactored


/**
 * Determines if the given thing is a array or js object.
 *
 * @param {string} thing - The object or array to be visited.
 *
 * @returns {boolean}
 */
function isVisitable(thing) {
  return utils.isPlainObject(thing) || utils.isArray(thing);
}

/**
 * It removes the brackets from the end of a string
 *
 * @param {string} key - The key of the parameter.
 *
 * @returns {string} the key without the brackets.
 */
function removeBrackets(key) {
  return utils.endsWith(key, '[]') ? key.slice(0, -2) : key;
}

/**
 * It takes a path, a key, and a boolean, and returns a string
 *
 * @param {string} path - The path to the current key.
 * @param {string} key - The key of the current object being iterated over.
 * @param {string} dots - If true, the key will be rendered with dots instead of brackets.
 *
 * @returns {string} The path to the current key.
 */
function renderKey(path, key, dots) {
  if (!path) return key;
  return path.concat(key).map(function each(token, i) {
    // eslint-disable-next-line no-param-reassign
    token = removeBrackets(token);
    return !dots && i ? '[' + token + ']' : token;
  }).join(dots ? '.' : '');
}

/**
 * If the array is an array and none of its elements are visitable, then it's a flat array.
 *
 * @param {Array<any>} arr - The array to check
 *
 * @returns {boolean}
 */
function isFlatArray(arr) {
  return utils.isArray(arr) && !arr.some(isVisitable);
}

const predicates = utils.toFlatObject(utils, {}, null, function filter(prop) {
  return /^is[A-Z]/.test(prop);
});

/**
 * Convert a data object to FormData
 *
 * @param {Object} obj
 * @param {?Object} [formData]
 * @param {?Object} [options]
 * @param {Function} [options.visitor]
 * @param {Boolean} [options.metaTokens = true]
 * @param {Boolean} [options.dots = false]
 * @param {?Boolean} [options.indexes = false]
 *
 * @returns {Object}
 **/

/**
 * It converts an object into a FormData object
 *
 * @param {Object<any, any>} obj - The object to convert to form data.
 * @param {string} formData - The FormData object to append to.
 * @param {Object<string, any>} options
 *
 * @returns
 */
function toFormData(obj, formData, options) {
  if (!utils.isObject(obj)) {
    throw new TypeError('target must be an object');
  }

  // eslint-disable-next-line no-param-reassign
  formData = formData || new (helpers_null || FormData)();

  // eslint-disable-next-line no-param-reassign
  options = utils.toFlatObject(options, {
    metaTokens: true,
    dots: false,
    indexes: false
  }, false, function defined(option, source) {
    // eslint-disable-next-line no-eq-null,eqeqeq
    return !utils.isUndefined(source[option]);
  });

  const metaTokens = options.metaTokens;
  // eslint-disable-next-line no-use-before-define
  const visitor = options.visitor || defaultVisitor;
  const dots = options.dots;
  const indexes = options.indexes;
  const _Blob = options.Blob || typeof Blob !== 'undefined' && Blob;
  const useBlob = _Blob && utils.isSpecCompliantForm(formData);

  if (!utils.isFunction(visitor)) {
    throw new TypeError('visitor must be a function');
  }

  function convertValue(value) {
    if (value === null) return '';

    if (utils.isDate(value)) {
      return value.toISOString();
    }

    if (!useBlob && utils.isBlob(value)) {
      throw new core_AxiosError('Blob is not supported. Use a Buffer instead.');
    }

    if (utils.isArrayBuffer(value) || utils.isTypedArray(value)) {
      return useBlob && typeof Blob === 'function' ? new Blob([value]) : Buffer.from(value);
    }

    return value;
  }

  /**
   * Default visitor.
   *
   * @param {*} value
   * @param {String|Number} key
   * @param {Array<String|Number>} path
   * @this {FormData}
   *
   * @returns {boolean} return true to visit the each prop of the value recursively
   */
  function defaultVisitor(value, key, path) {
    let arr = value;

    if (value && !path && typeof value === 'object') {
      if (utils.endsWith(key, '{}')) {
        // eslint-disable-next-line no-param-reassign
        key = metaTokens ? key : key.slice(0, -2);
        // eslint-disable-next-line no-param-reassign
        value = JSON.stringify(value);
      } else if (
        (utils.isArray(value) && isFlatArray(value)) ||
        ((utils.isFileList(value) || utils.endsWith(key, '[]')) && (arr = utils.toArray(value))
        )) {
        // eslint-disable-next-line no-param-reassign
        key = removeBrackets(key);

        arr.forEach(function each(el, index) {
          !(utils.isUndefined(el) || el === null) && formData.append(
            // eslint-disable-next-line no-nested-ternary
            indexes === true ? renderKey([key], index, dots) : (indexes === null ? key : key + '[]'),
            convertValue(el)
          );
        });
        return false;
      }
    }

    if (isVisitable(value)) {
      return true;
    }

    formData.append(renderKey(path, key, dots), convertValue(value));

    return false;
  }

  const stack = [];

  const exposedHelpers = Object.assign(predicates, {
    defaultVisitor,
    convertValue,
    isVisitable
  });

  function build(value, path) {
    if (utils.isUndefined(value)) return;

    if (stack.indexOf(value) !== -1) {
      throw Error('Circular reference detected in ' + path.join('.'));
    }

    stack.push(value);

    utils.forEach(value, function each(el, key) {
      const result = !(utils.isUndefined(el) || el === null) && visitor.call(
        formData, el, utils.isString(key) ? key.trim() : key, path, exposedHelpers
      );

      if (result === true) {
        build(el, path ? path.concat(key) : [key]);
      }
    });

    stack.pop();
  }

  if (!utils.isObject(obj)) {
    throw new TypeError('data must be an object');
  }

  build(obj);

  return formData;
}

/* harmony default export */ const helpers_toFormData = (toFormData);

;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/AxiosURLSearchParams.js




/**
 * It encodes a string by replacing all characters that are not in the unreserved set with
 * their percent-encoded equivalents
 *
 * @param {string} str - The string to encode.
 *
 * @returns {string} The encoded string.
 */
function encode(str) {
  const charMap = {
    '!': '%21',
    "'": '%27',
    '(': '%28',
    ')': '%29',
    '~': '%7E',
    '%20': '+',
    '%00': '\x00'
  };
  return encodeURIComponent(str).replace(/[!'()~]|%20|%00/g, function replacer(match) {
    return charMap[match];
  });
}

/**
 * It takes a params object and converts it to a FormData object
 *
 * @param {Object<string, any>} params - The parameters to be converted to a FormData object.
 * @param {Object<string, any>} options - The options object passed to the Axios constructor.
 *
 * @returns {void}
 */
function AxiosURLSearchParams(params, options) {
  this._pairs = [];

  params && helpers_toFormData(params, this, options);
}

const AxiosURLSearchParams_prototype = AxiosURLSearchParams.prototype;

AxiosURLSearchParams_prototype.append = function append(name, value) {
  this._pairs.push([name, value]);
};

AxiosURLSearchParams_prototype.toString = function toString(encoder) {
  const _encode = encoder ? function(value) {
    return encoder.call(this, value, encode);
  } : encode;

  return this._pairs.map(function each(pair) {
    return _encode(pair[0]) + '=' + _encode(pair[1]);
  }, '').join('&');
};

/* harmony default export */ const helpers_AxiosURLSearchParams = (AxiosURLSearchParams);

;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/buildURL.js





/**
 * It replaces all instances of the characters `:`, `$`, `,`, `+`, `[`, and `]` with their
 * URI encoded counterparts
 *
 * @param {string} val The value to be encoded.
 *
 * @returns {string} The encoded value.
 */
function buildURL_encode(val) {
  return encodeURIComponent(val).
    replace(/%3A/gi, ':').
    replace(/%24/g, '$').
    replace(/%2C/gi, ',').
    replace(/%20/g, '+').
    replace(/%5B/gi, '[').
    replace(/%5D/gi, ']');
}

/**
 * Build a URL by appending params to the end
 *
 * @param {string} url The base of the url (e.g., http://www.google.com)
 * @param {object} [params] The params to be appended
 * @param {?object} options
 *
 * @returns {string} The formatted url
 */
function buildURL(url, params, options) {
  /*eslint no-param-reassign:0*/
  if (!params) {
    return url;
  }
  
  const _encode = options && options.encode || buildURL_encode;

  const serializeFn = options && options.serialize;

  let serializedParams;

  if (serializeFn) {
    serializedParams = serializeFn(params, options);
  } else {
    serializedParams = utils.isURLSearchParams(params) ?
      params.toString() :
      new helpers_AxiosURLSearchParams(params, options).toString(_encode);
  }

  if (serializedParams) {
    const hashmarkIndex = url.indexOf("#");

    if (hashmarkIndex !== -1) {
      url = url.slice(0, hashmarkIndex);
    }
    url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;
  }

  return url;
}

;// CONCATENATED MODULE: ./node_modules/axios/lib/core/InterceptorManager.js




class InterceptorManager {
  constructor() {
    this.handlers = [];
  }

  /**
   * Add a new interceptor to the stack
   *
   * @param {Function} fulfilled The function to handle `then` for a `Promise`
   * @param {Function} rejected The function to handle `reject` for a `Promise`
   *
   * @return {Number} An ID used to remove interceptor later
   */
  use(fulfilled, rejected, options) {
    this.handlers.push({
      fulfilled,
      rejected,
      synchronous: options ? options.synchronous : false,
      runWhen: options ? options.runWhen : null
    });
    return this.handlers.length - 1;
  }

  /**
   * Remove an interceptor from the stack
   *
   * @param {Number} id The ID that was returned by `use`
   *
   * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise
   */
  eject(id) {
    if (this.handlers[id]) {
      this.handlers[id] = null;
    }
  }

  /**
   * Clear all interceptors from the stack
   *
   * @returns {void}
   */
  clear() {
    if (this.handlers) {
      this.handlers = [];
    }
  }

  /**
   * Iterate over all the registered interceptors
   *
   * This method is particularly useful for skipping over any
   * interceptors that may have become `null` calling `eject`.
   *
   * @param {Function} fn The function to call for each interceptor
   *
   * @returns {void}
   */
  forEach(fn) {
    utils.forEach(this.handlers, function forEachHandler(h) {
      if (h !== null) {
        fn(h);
      }
    });
  }
}

/* harmony default export */ const core_InterceptorManager = (InterceptorManager);

;// CONCATENATED MODULE: ./node_modules/axios/lib/defaults/transitional.js


/* harmony default export */ const defaults_transitional = ({
  silentJSONParsing: true,
  forcedJSONParsing: true,
  clarifyTimeoutError: false
});

;// CONCATENATED MODULE: ./node_modules/axios/lib/platform/browser/classes/URLSearchParams.js



/* harmony default export */ const classes_URLSearchParams = (typeof URLSearchParams !== 'undefined' ? URLSearchParams : helpers_AxiosURLSearchParams);

;// CONCATENATED MODULE: ./node_modules/axios/lib/platform/browser/classes/FormData.js


/* harmony default export */ const classes_FormData = (typeof FormData !== 'undefined' ? FormData : null);

;// CONCATENATED MODULE: ./node_modules/axios/lib/platform/browser/classes/Blob.js


/* harmony default export */ const classes_Blob = (typeof Blob !== 'undefined' ? Blob : null);

;// CONCATENATED MODULE: ./node_modules/axios/lib/platform/browser/index.js




/* harmony default export */ const browser = ({
  isBrowser: true,
  classes: {
    URLSearchParams: classes_URLSearchParams,
    FormData: classes_FormData,
    Blob: classes_Blob
  },
  protocols: ['http', 'https', 'file', 'blob', 'url', 'data']
});

;// CONCATENATED MODULE: ./node_modules/axios/lib/platform/common/utils.js
const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';

/**
 * Determine if we're running in a standard browser environment
 *
 * This allows axios to run in a web worker, and react-native.
 * Both environments support XMLHttpRequest, but not fully standard globals.
 *
 * web workers:
 *  typeof window -> undefined
 *  typeof document -> undefined
 *
 * react-native:
 *  navigator.product -> 'ReactNative'
 * nativescript
 *  navigator.product -> 'NativeScript' or 'NS'
 *
 * @returns {boolean}
 */
const hasStandardBrowserEnv = (
  (product) => {
    return hasBrowserEnv && ['ReactNative', 'NativeScript', 'NS'].indexOf(product) < 0
  })(typeof navigator !== 'undefined' && navigator.product);

/**
 * Determine if we're running in a standard browser webWorker environment
 *
 * Although the `isStandardBrowserEnv` method indicates that
 * `allows axios to run in a web worker`, the WebWorker will still be
 * filtered out due to its judgment standard
 * `typeof window !== 'undefined' && typeof document !== 'undefined'`.
 * This leads to a problem when axios post `FormData` in webWorker
 */
const hasStandardBrowserWebWorkerEnv = (() => {
  return (
    typeof WorkerGlobalScope !== 'undefined' &&
    // eslint-disable-next-line no-undef
    self instanceof WorkerGlobalScope &&
    typeof self.importScripts === 'function'
  );
})();



;// CONCATENATED MODULE: ./node_modules/axios/lib/platform/index.js



/* harmony default export */ const platform = ({
  ...common_utils_namespaceObject,
  ...browser
});

;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/toURLEncodedForm.js






function toURLEncodedForm(data, options) {
  return helpers_toFormData(data, new platform.classes.URLSearchParams(), Object.assign({
    visitor: function(value, key, path, helpers) {
      if (platform.isNode && utils.isBuffer(value)) {
        this.append(key, value.toString('base64'));
        return false;
      }

      return helpers.defaultVisitor.apply(this, arguments);
    }
  }, options));
}

;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/formDataToJSON.js




/**
 * It takes a string like `foo[x][y][z]` and returns an array like `['foo', 'x', 'y', 'z']
 *
 * @param {string} name - The name of the property to get.
 *
 * @returns An array of strings.
 */
function parsePropPath(name) {
  // foo[x][y][z]
  // foo.x.y.z
  // foo-x-y-z
  // foo x y z
  return utils.matchAll(/\w+|\[(\w*)]/g, name).map(match => {
    return match[0] === '[]' ? '' : match[1] || match[0];
  });
}

/**
 * Convert an array to an object.
 *
 * @param {Array<any>} arr - The array to convert to an object.
 *
 * @returns An object with the same keys and values as the array.
 */
function arrayToObject(arr) {
  const obj = {};
  const keys = Object.keys(arr);
  let i;
  const len = keys.length;
  let key;
  for (i = 0; i < len; i++) {
    key = keys[i];
    obj[key] = arr[key];
  }
  return obj;
}

/**
 * It takes a FormData object and returns a JavaScript object
 *
 * @param {string} formData The FormData object to convert to JSON.
 *
 * @returns {Object<string, any> | null} The converted object.
 */
function formDataToJSON(formData) {
  function buildPath(path, value, target, index) {
    let name = path[index++];
    const isNumericKey = Number.isFinite(+name);
    const isLast = index >= path.length;
    name = !name && utils.isArray(target) ? target.length : name;

    if (isLast) {
      if (utils.hasOwnProp(target, name)) {
        target[name] = [target[name], value];
      } else {
        target[name] = value;
      }

      return !isNumericKey;
    }

    if (!target[name] || !utils.isObject(target[name])) {
      target[name] = [];
    }

    const result = buildPath(path, value, target[name], index);

    if (result && utils.isArray(target[name])) {
      target[name] = arrayToObject(target[name]);
    }

    return !isNumericKey;
  }

  if (utils.isFormData(formData) && utils.isFunction(formData.entries)) {
    const obj = {};

    utils.forEachEntry(formData, (name, value) => {
      buildPath(parsePropPath(name), value, obj, 0);
    });

    return obj;
  }

  return null;
}

/* harmony default export */ const helpers_formDataToJSON = (formDataToJSON);

;// CONCATENATED MODULE: ./node_modules/axios/lib/defaults/index.js










/**
 * It takes a string, tries to parse it, and if it fails, it returns the stringified version
 * of the input
 *
 * @param {any} rawValue - The value to be stringified.
 * @param {Function} parser - A function that parses a string into a JavaScript object.
 * @param {Function} encoder - A function that takes a value and returns a string.
 *
 * @returns {string} A stringified version of the rawValue.
 */
function stringifySafely(rawValue, parser, encoder) {
  if (utils.isString(rawValue)) {
    try {
      (parser || JSON.parse)(rawValue);
      return utils.trim(rawValue);
    } catch (e) {
      if (e.name !== 'SyntaxError') {
        throw e;
      }
    }
  }

  return (encoder || JSON.stringify)(rawValue);
}

const defaults = {

  transitional: defaults_transitional,

  adapter: ['xhr', 'http'],

  transformRequest: [function transformRequest(data, headers) {
    const contentType = headers.getContentType() || '';
    const hasJSONContentType = contentType.indexOf('application/json') > -1;
    const isObjectPayload = utils.isObject(data);

    if (isObjectPayload && utils.isHTMLForm(data)) {
      data = new FormData(data);
    }

    const isFormData = utils.isFormData(data);

    if (isFormData) {
      if (!hasJSONContentType) {
        return data;
      }
      return hasJSONContentType ? JSON.stringify(helpers_formDataToJSON(data)) : data;
    }

    if (utils.isArrayBuffer(data) ||
      utils.isBuffer(data) ||
      utils.isStream(data) ||
      utils.isFile(data) ||
      utils.isBlob(data)
    ) {
      return data;
    }
    if (utils.isArrayBufferView(data)) {
      return data.buffer;
    }
    if (utils.isURLSearchParams(data)) {
      headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false);
      return data.toString();
    }

    let isFileList;

    if (isObjectPayload) {
      if (contentType.indexOf('application/x-www-form-urlencoded') > -1) {
        return toURLEncodedForm(data, this.formSerializer).toString();
      }

      if ((isFileList = utils.isFileList(data)) || contentType.indexOf('multipart/form-data') > -1) {
        const _FormData = this.env && this.env.FormData;

        return helpers_toFormData(
          isFileList ? {'files[]': data} : data,
          _FormData && new _FormData(),
          this.formSerializer
        );
      }
    }

    if (isObjectPayload || hasJSONContentType ) {
      headers.setContentType('application/json', false);
      return stringifySafely(data);
    }

    return data;
  }],

  transformResponse: [function transformResponse(data) {
    const transitional = this.transitional || defaults.transitional;
    const forcedJSONParsing = transitional && transitional.forcedJSONParsing;
    const JSONRequested = this.responseType === 'json';

    if (data && utils.isString(data) && ((forcedJSONParsing && !this.responseType) || JSONRequested)) {
      const silentJSONParsing = transitional && transitional.silentJSONParsing;
      const strictJSONParsing = !silentJSONParsing && JSONRequested;

      try {
        return JSON.parse(data);
      } catch (e) {
        if (strictJSONParsing) {
          if (e.name === 'SyntaxError') {
            throw core_AxiosError.from(e, core_AxiosError.ERR_BAD_RESPONSE, this, null, this.response);
          }
          throw e;
        }
      }
    }

    return data;
  }],

  /**
   * A timeout in milliseconds to abort a request. If set to 0 (default) a
   * timeout is not created.
   */
  timeout: 0,

  xsrfCookieName: 'XSRF-TOKEN',
  xsrfHeaderName: 'X-XSRF-TOKEN',

  maxContentLength: -1,
  maxBodyLength: -1,

  env: {
    FormData: platform.classes.FormData,
    Blob: platform.classes.Blob
  },

  validateStatus: function validateStatus(status) {
    return status >= 200 && status < 300;
  },

  headers: {
    common: {
      'Accept': 'application/json, text/plain, */*',
      'Content-Type': undefined
    }
  }
};

utils.forEach(['delete', 'get', 'head', 'post', 'put', 'patch'], (method) => {
  defaults.headers[method] = {};
});

/* harmony default export */ const lib_defaults = (defaults);

;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/parseHeaders.js




// RawAxiosHeaders whose duplicates are ignored by node
// c.f. https://nodejs.org/api/http.html#http_message_headers
const ignoreDuplicateOf = utils.toObjectSet([
  'age', 'authorization', 'content-length', 'content-type', 'etag',
  'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',
  'last-modified', 'location', 'max-forwards', 'proxy-authorization',
  'referer', 'retry-after', 'user-agent'
]);

/**
 * Parse headers into an object
 *
 * ```
 * Date: Wed, 27 Aug 2014 08:58:49 GMT
 * Content-Type: application/json
 * Connection: keep-alive
 * Transfer-Encoding: chunked
 * ```
 *
 * @param {String} rawHeaders Headers needing to be parsed
 *
 * @returns {Object} Headers parsed into an object
 */
/* harmony default export */ const parseHeaders = (rawHeaders => {
  const parsed = {};
  let key;
  let val;
  let i;

  rawHeaders && rawHeaders.split('\n').forEach(function parser(line) {
    i = line.indexOf(':');
    key = line.substring(0, i).trim().toLowerCase();
    val = line.substring(i + 1).trim();

    if (!key || (parsed[key] && ignoreDuplicateOf[key])) {
      return;
    }

    if (key === 'set-cookie') {
      if (parsed[key]) {
        parsed[key].push(val);
      } else {
        parsed[key] = [val];
      }
    } else {
      parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
    }
  });

  return parsed;
});

;// CONCATENATED MODULE: ./node_modules/axios/lib/core/AxiosHeaders.js





const $internals = Symbol('internals');

function normalizeHeader(header) {
  return header && String(header).trim().toLowerCase();
}

function normalizeValue(value) {
  if (value === false || value == null) {
    return value;
  }

  return utils.isArray(value) ? value.map(normalizeValue) : String(value);
}

function parseTokens(str) {
  const tokens = Object.create(null);
  const tokensRE = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
  let match;

  while ((match = tokensRE.exec(str))) {
    tokens[match[1]] = match[2];
  }

  return tokens;
}

const isValidHeaderName = (str) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim());

function matchHeaderValue(context, value, header, filter, isHeaderNameFilter) {
  if (utils.isFunction(filter)) {
    return filter.call(this, value, header);
  }

  if (isHeaderNameFilter) {
    value = header;
  }

  if (!utils.isString(value)) return;

  if (utils.isString(filter)) {
    return value.indexOf(filter) !== -1;
  }

  if (utils.isRegExp(filter)) {
    return filter.test(value);
  }
}

function formatHeader(header) {
  return header.trim()
    .toLowerCase().replace(/([a-z\d])(\w*)/g, (w, char, str) => {
      return char.toUpperCase() + str;
    });
}

function buildAccessors(obj, header) {
  const accessorName = utils.toCamelCase(' ' + header);

  ['get', 'set', 'has'].forEach(methodName => {
    Object.defineProperty(obj, methodName + accessorName, {
      value: function(arg1, arg2, arg3) {
        return this[methodName].call(this, header, arg1, arg2, arg3);
      },
      configurable: true
    });
  });
}

class AxiosHeaders {
  constructor(headers) {
    headers && this.set(headers);
  }

  set(header, valueOrRewrite, rewrite) {
    const self = this;

    function setHeader(_value, _header, _rewrite) {
      const lHeader = normalizeHeader(_header);

      if (!lHeader) {
        throw new Error('header name must be a non-empty string');
      }

      const key = utils.findKey(self, lHeader);

      if(!key || self[key] === undefined || _rewrite === true || (_rewrite === undefined && self[key] !== false)) {
        self[key || _header] = normalizeValue(_value);
      }
    }

    const setHeaders = (headers, _rewrite) =>
      utils.forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite));

    if (utils.isPlainObject(header) || header instanceof this.constructor) {
      setHeaders(header, valueOrRewrite)
    } else if(utils.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
      setHeaders(parseHeaders(header), valueOrRewrite);
    } else {
      header != null && setHeader(valueOrRewrite, header, rewrite);
    }

    return this;
  }

  get(header, parser) {
    header = normalizeHeader(header);

    if (header) {
      const key = utils.findKey(this, header);

      if (key) {
        const value = this[key];

        if (!parser) {
          return value;
        }

        if (parser === true) {
          return parseTokens(value);
        }

        if (utils.isFunction(parser)) {
          return parser.call(this, value, key);
        }

        if (utils.isRegExp(parser)) {
          return parser.exec(value);
        }

        throw new TypeError('parser must be boolean|regexp|function');
      }
    }
  }

  has(header, matcher) {
    header = normalizeHeader(header);

    if (header) {
      const key = utils.findKey(this, header);

      return !!(key && this[key] !== undefined && (!matcher || matchHeaderValue(this, this[key], key, matcher)));
    }

    return false;
  }

  delete(header, matcher) {
    const self = this;
    let deleted = false;

    function deleteHeader(_header) {
      _header = normalizeHeader(_header);

      if (_header) {
        const key = utils.findKey(self, _header);

        if (key && (!matcher || matchHeaderValue(self, self[key], key, matcher))) {
          delete self[key];

          deleted = true;
        }
      }
    }

    if (utils.isArray(header)) {
      header.forEach(deleteHeader);
    } else {
      deleteHeader(header);
    }

    return deleted;
  }

  clear(matcher) {
    const keys = Object.keys(this);
    let i = keys.length;
    let deleted = false;

    while (i--) {
      const key = keys[i];
      if(!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {
        delete this[key];
        deleted = true;
      }
    }

    return deleted;
  }

  normalize(format) {
    const self = this;
    const headers = {};

    utils.forEach(this, (value, header) => {
      const key = utils.findKey(headers, header);

      if (key) {
        self[key] = normalizeValue(value);
        delete self[header];
        return;
      }

      const normalized = format ? formatHeader(header) : String(header).trim();

      if (normalized !== header) {
        delete self[header];
      }

      self[normalized] = normalizeValue(value);

      headers[normalized] = true;
    });

    return this;
  }

  concat(...targets) {
    return this.constructor.concat(this, ...targets);
  }

  toJSON(asStrings) {
    const obj = Object.create(null);

    utils.forEach(this, (value, header) => {
      value != null && value !== false && (obj[header] = asStrings && utils.isArray(value) ? value.join(', ') : value);
    });

    return obj;
  }

  [Symbol.iterator]() {
    return Object.entries(this.toJSON())[Symbol.iterator]();
  }

  toString() {
    return Object.entries(this.toJSON()).map(([header, value]) => header + ': ' + value).join('\n');
  }

  get [Symbol.toStringTag]() {
    return 'AxiosHeaders';
  }

  static from(thing) {
    return thing instanceof this ? thing : new this(thing);
  }

  static concat(first, ...targets) {
    const computed = new this(first);

    targets.forEach((target) => computed.set(target));

    return computed;
  }

  static accessor(header) {
    const internals = this[$internals] = (this[$internals] = {
      accessors: {}
    });

    const accessors = internals.accessors;
    const prototype = this.prototype;

    function defineAccessor(_header) {
      const lHeader = normalizeHeader(_header);

      if (!accessors[lHeader]) {
        buildAccessors(prototype, _header);
        accessors[lHeader] = true;
      }
    }

    utils.isArray(header) ? header.forEach(defineAccessor) : defineAccessor(header);

    return this;
  }
}

AxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']);

// reserved names hotfix
utils.reduceDescriptors(AxiosHeaders.prototype, ({value}, key) => {
  let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set`
  return {
    get: () => value,
    set(headerValue) {
      this[mapped] = headerValue;
    }
  }
});

utils.freezeMethods(AxiosHeaders);

/* harmony default export */ const core_AxiosHeaders = (AxiosHeaders);

;// CONCATENATED MODULE: ./node_modules/axios/lib/core/transformData.js






/**
 * Transform the data for a request or a response
 *
 * @param {Array|Function} fns A single function or Array of functions
 * @param {?Object} response The response object
 *
 * @returns {*} The resulting transformed data
 */
function transformData(fns, response) {
  const config = this || lib_defaults;
  const context = response || config;
  const headers = core_AxiosHeaders.from(context.headers);
  let data = context.data;

  utils.forEach(fns, function transform(fn) {
    data = fn.call(config, data, headers.normalize(), response ? response.status : undefined);
  });

  headers.normalize();

  return data;
}

;// CONCATENATED MODULE: ./node_modules/axios/lib/cancel/isCancel.js


function isCancel(value) {
  return !!(value && value.__CANCEL__);
}

;// CONCATENATED MODULE: ./node_modules/axios/lib/cancel/CanceledError.js





/**
 * A `CanceledError` is an object that is thrown when an operation is canceled.
 *
 * @param {string=} message The message.
 * @param {Object=} config The config.
 * @param {Object=} request The request.
 *
 * @returns {CanceledError} The created error.
 */
function CanceledError(message, config, request) {
  // eslint-disable-next-line no-eq-null,eqeqeq
  core_AxiosError.call(this, message == null ? 'canceled' : message, core_AxiosError.ERR_CANCELED, config, request);
  this.name = 'CanceledError';
}

utils.inherits(CanceledError, core_AxiosError, {
  __CANCEL__: true
});

/* harmony default export */ const cancel_CanceledError = (CanceledError);

;// CONCATENATED MODULE: ./node_modules/axios/lib/core/settle.js




/**
 * Resolve or reject a Promise based on response status.
 *
 * @param {Function} resolve A function that resolves the promise.
 * @param {Function} reject A function that rejects the promise.
 * @param {object} response The response.
 *
 * @returns {object} The response.
 */
function settle(resolve, reject, response) {
  const validateStatus = response.config.validateStatus;
  if (!response.status || !validateStatus || validateStatus(response.status)) {
    resolve(response);
  } else {
    reject(new core_AxiosError(
      'Request failed with status code ' + response.status,
      [core_AxiosError.ERR_BAD_REQUEST, core_AxiosError.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],
      response.config,
      response.request,
      response
    ));
  }
}

;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/cookies.js



/* harmony default export */ const cookies = (platform.hasStandardBrowserEnv ?

  // Standard browser envs support document.cookie
  {
    write(name, value, expires, path, domain, secure) {
      const cookie = [name + '=' + encodeURIComponent(value)];

      utils.isNumber(expires) && cookie.push('expires=' + new Date(expires).toGMTString());

      utils.isString(path) && cookie.push('path=' + path);

      utils.isString(domain) && cookie.push('domain=' + domain);

      secure === true && cookie.push('secure');

      document.cookie = cookie.join('; ');
    },

    read(name) {
      const match = document.cookie.match(new RegExp('(^|;\\s*)(' + name + ')=([^;]*)'));
      return (match ? decodeURIComponent(match[3]) : null);
    },

    remove(name) {
      this.write(name, '', Date.now() - 86400000);
    }
  }

  :

  // Non-standard browser env (web workers, react-native) lack needed support.
  {
    write() {},
    read() {
      return null;
    },
    remove() {}
  });


;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/isAbsoluteURL.js


/**
 * Determines whether the specified URL is absolute
 *
 * @param {string} url The URL to test
 *
 * @returns {boolean} True if the specified URL is absolute, otherwise false
 */
function isAbsoluteURL(url) {
  // A URL is considered absolute if it begins with "<scheme>://" or "//" (protocol-relative URL).
  // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed
  // by any combination of letters, digits, plus, period, or hyphen.
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
}

;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/combineURLs.js


/**
 * Creates a new URL by combining the specified URLs
 *
 * @param {string} baseURL The base URL
 * @param {string} relativeURL The relative URL
 *
 * @returns {string} The combined URL
 */
function combineURLs(baseURL, relativeURL) {
  return relativeURL
    ? baseURL.replace(/\/+$/, '') + '/' + relativeURL.replace(/^\/+/, '')
    : baseURL;
}

;// CONCATENATED MODULE: ./node_modules/axios/lib/core/buildFullPath.js





/**
 * Creates a new URL by combining the baseURL with the requestedURL,
 * only when the requestedURL is not already an absolute URL.
 * If the requestURL is absolute, this function returns the requestedURL untouched.
 *
 * @param {string} baseURL The base URL
 * @param {string} requestedURL Absolute or relative URL to combine
 *
 * @returns {string} The combined full path
 */
function buildFullPath(baseURL, requestedURL) {
  if (baseURL && !isAbsoluteURL(requestedURL)) {
    return combineURLs(baseURL, requestedURL);
  }
  return requestedURL;
}

;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/isURLSameOrigin.js





/* harmony default export */ const isURLSameOrigin = (platform.hasStandardBrowserEnv ?

// Standard browser envs have full support of the APIs needed to test
// whether the request URL is of the same origin as current location.
  (function standardBrowserEnv() {
    const msie = /(msie|trident)/i.test(navigator.userAgent);
    const urlParsingNode = document.createElement('a');
    let originURL;

    /**
    * Parse a URL to discover its components
    *
    * @param {String} url The URL to be parsed
    * @returns {Object}
    */
    function resolveURL(url) {
      let href = url;

      if (msie) {
        // IE needs attribute set twice to normalize properties
        urlParsingNode.setAttribute('href', href);
        href = urlParsingNode.href;
      }

      urlParsingNode.setAttribute('href', href);

      // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils
      return {
        href: urlParsingNode.href,
        protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',
        host: urlParsingNode.host,
        search: urlParsingNode.search ? urlParsingNode.search.replace(/^\?/, '') : '',
        hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',
        hostname: urlParsingNode.hostname,
        port: urlParsingNode.port,
        pathname: (urlParsingNode.pathname.charAt(0) === '/') ?
          urlParsingNode.pathname :
          '/' + urlParsingNode.pathname
      };
    }

    originURL = resolveURL(window.location.href);

    /**
    * Determine if a URL shares the same origin as the current location
    *
    * @param {String} requestURL The URL to test
    * @returns {boolean} True if URL shares the same origin, otherwise false
    */
    return function isURLSameOrigin(requestURL) {
      const parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;
      return (parsed.protocol === originURL.protocol &&
          parsed.host === originURL.host);
    };
  })() :

  // Non standard browser envs (web workers, react-native) lack needed support.
  (function nonStandardBrowserEnv() {
    return function isURLSameOrigin() {
      return true;
    };
  })());

;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/parseProtocol.js


function parseProtocol(url) {
  const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
  return match && match[1] || '';
}

;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/speedometer.js


/**
 * Calculate data maxRate
 * @param {Number} [samplesCount= 10]
 * @param {Number} [min= 1000]
 * @returns {Function}
 */
function speedometer(samplesCount, min) {
  samplesCount = samplesCount || 10;
  const bytes = new Array(samplesCount);
  const timestamps = new Array(samplesCount);
  let head = 0;
  let tail = 0;
  let firstSampleTS;

  min = min !== undefined ? min : 1000;

  return function push(chunkLength) {
    const now = Date.now();

    const startedAt = timestamps[tail];

    if (!firstSampleTS) {
      firstSampleTS = now;
    }

    bytes[head] = chunkLength;
    timestamps[head] = now;

    let i = tail;
    let bytesCount = 0;

    while (i !== head) {
      bytesCount += bytes[i++];
      i = i % samplesCount;
    }

    head = (head + 1) % samplesCount;

    if (head === tail) {
      tail = (tail + 1) % samplesCount;
    }

    if (now - firstSampleTS < min) {
      return;
    }

    const passed = startedAt && now - startedAt;

    return passed ? Math.round(bytesCount * 1000 / passed) : undefined;
  };
}

/* harmony default export */ const helpers_speedometer = (speedometer);

;// CONCATENATED MODULE: ./node_modules/axios/lib/adapters/xhr.js
















function progressEventReducer(listener, isDownloadStream) {
  let bytesNotified = 0;
  const _speedometer = helpers_speedometer(50, 250);

  return e => {
    const loaded = e.loaded;
    const total = e.lengthComputable ? e.total : undefined;
    const progressBytes = loaded - bytesNotified;
    const rate = _speedometer(progressBytes);
    const inRange = loaded <= total;

    bytesNotified = loaded;

    const data = {
      loaded,
      total,
      progress: total ? (loaded / total) : undefined,
      bytes: progressBytes,
      rate: rate ? rate : undefined,
      estimated: rate && total && inRange ? (total - loaded) / rate : undefined,
      event: e
    };

    data[isDownloadStream ? 'download' : 'upload'] = true;

    listener(data);
  };
}

const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';

/* harmony default export */ const xhr = (isXHRAdapterSupported && function (config) {
  return new Promise(function dispatchXhrRequest(resolve, reject) {
    let requestData = config.data;
    const requestHeaders = core_AxiosHeaders.from(config.headers).normalize();
    let {responseType, withXSRFToken} = config;
    let onCanceled;
    function done() {
      if (config.cancelToken) {
        config.cancelToken.unsubscribe(onCanceled);
      }

      if (config.signal) {
        config.signal.removeEventListener('abort', onCanceled);
      }
    }

    let contentType;

    if (utils.isFormData(requestData)) {
      if (platform.hasStandardBrowserEnv || platform.hasStandardBrowserWebWorkerEnv) {
        requestHeaders.setContentType(false); // Let the browser set it
      } else if ((contentType = requestHeaders.getContentType()) !== false) {
        // fix semicolon duplication issue for ReactNative FormData implementation
        const [type, ...tokens] = contentType ? contentType.split(';').map(token => token.trim()).filter(Boolean) : [];
        requestHeaders.setContentType([type || 'multipart/form-data', ...tokens].join('; '));
      }
    }

    let request = new XMLHttpRequest();

    // HTTP basic authentication
    if (config.auth) {
      const username = config.auth.username || '';
      const password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';
      requestHeaders.set('Authorization', 'Basic ' + btoa(username + ':' + password));
    }

    const fullPath = buildFullPath(config.baseURL, config.url);

    request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);

    // Set the request timeout in MS
    request.timeout = config.timeout;

    function onloadend() {
      if (!request) {
        return;
      }
      // Prepare the response
      const responseHeaders = core_AxiosHeaders.from(
        'getAllResponseHeaders' in request && request.getAllResponseHeaders()
      );
      const responseData = !responseType || responseType === 'text' || responseType === 'json' ?
        request.responseText : request.response;
      const response = {
        data: responseData,
        status: request.status,
        statusText: request.statusText,
        headers: responseHeaders,
        config,
        request
      };

      settle(function _resolve(value) {
        resolve(value);
        done();
      }, function _reject(err) {
        reject(err);
        done();
      }, response);

      // Clean up request
      request = null;
    }

    if ('onloadend' in request) {
      // Use onloadend if available
      request.onloadend = onloadend;
    } else {
      // Listen for ready state to emulate onloadend
      request.onreadystatechange = function handleLoad() {
        if (!request || request.readyState !== 4) {
          return;
        }

        // The request errored out and we didn't get a response, this will be
        // handled by onerror instead
        // With one exception: request that using file: protocol, most browsers
        // will return status as 0 even though it's a successful request
        if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {
          return;
        }
        // readystate handler is calling before onerror or ontimeout handlers,
        // so we should call onloadend on the next 'tick'
        setTimeout(onloadend);
      };
    }

    // Handle browser request cancellation (as opposed to a manual cancellation)
    request.onabort = function handleAbort() {
      if (!request) {
        return;
      }

      reject(new core_AxiosError('Request aborted', core_AxiosError.ECONNABORTED, config, request));

      // Clean up request
      request = null;
    };

    // Handle low level network errors
    request.onerror = function handleError() {
      // Real errors are hidden from us by the browser
      // onerror should only fire if it's a network error
      reject(new core_AxiosError('Network Error', core_AxiosError.ERR_NETWORK, config, request));

      // Clean up request
      request = null;
    };

    // Handle timeout
    request.ontimeout = function handleTimeout() {
      let timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';
      const transitional = config.transitional || defaults_transitional;
      if (config.timeoutErrorMessage) {
        timeoutErrorMessage = config.timeoutErrorMessage;
      }
      reject(new core_AxiosError(
        timeoutErrorMessage,
        transitional.clarifyTimeoutError ? core_AxiosError.ETIMEDOUT : core_AxiosError.ECONNABORTED,
        config,
        request));

      // Clean up request
      request = null;
    };

    // Add xsrf header
    // This is only done if running in a standard browser environment.
    // Specifically not if we're in a web worker, or react-native.
    if(platform.hasStandardBrowserEnv) {
      withXSRFToken && utils.isFunction(withXSRFToken) && (withXSRFToken = withXSRFToken(config));

      if (withXSRFToken || (withXSRFToken !== false && isURLSameOrigin(fullPath))) {
        // Add xsrf header
        const xsrfValue = config.xsrfHeaderName && config.xsrfCookieName && cookies.read(config.xsrfCookieName);

        if (xsrfValue) {
          requestHeaders.set(config.xsrfHeaderName, xsrfValue);
        }
      }
    }

    // Remove Content-Type if data is undefined
    requestData === undefined && requestHeaders.setContentType(null);

    // Add headers to the request
    if ('setRequestHeader' in request) {
      utils.forEach(requestHeaders.toJSON(), function setRequestHeader(val, key) {
        request.setRequestHeader(key, val);
      });
    }

    // Add withCredentials to request if needed
    if (!utils.isUndefined(config.withCredentials)) {
      request.withCredentials = !!config.withCredentials;
    }

    // Add responseType to request if needed
    if (responseType && responseType !== 'json') {
      request.responseType = config.responseType;
    }

    // Handle progress if needed
    if (typeof config.onDownloadProgress === 'function') {
      request.addEventListener('progress', progressEventReducer(config.onDownloadProgress, true));
    }

    // Not all browsers support upload events
    if (typeof config.onUploadProgress === 'function' && request.upload) {
      request.upload.addEventListener('progress', progressEventReducer(config.onUploadProgress));
    }

    if (config.cancelToken || config.signal) {
      // Handle cancellation
      // eslint-disable-next-line func-names
      onCanceled = cancel => {
        if (!request) {
          return;
        }
        reject(!cancel || cancel.type ? new cancel_CanceledError(null, config, request) : cancel);
        request.abort();
        request = null;
      };

      config.cancelToken && config.cancelToken.subscribe(onCanceled);
      if (config.signal) {
        config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled);
      }
    }

    const protocol = parseProtocol(fullPath);

    if (protocol && platform.protocols.indexOf(protocol) === -1) {
      reject(new core_AxiosError('Unsupported protocol ' + protocol + ':', core_AxiosError.ERR_BAD_REQUEST, config));
      return;
    }


    // Send the request
    request.send(requestData || null);
  });
});

;// CONCATENATED MODULE: ./node_modules/axios/lib/adapters/adapters.js





const knownAdapters = {
  http: helpers_null,
  xhr: xhr
}

utils.forEach(knownAdapters, (fn, value) => {
  if (fn) {
    try {
      Object.defineProperty(fn, 'name', {value});
    } catch (e) {
      // eslint-disable-next-line no-empty
    }
    Object.defineProperty(fn, 'adapterName', {value});
  }
});

const renderReason = (reason) => `- ${reason}`;

const isResolvedHandle = (adapter) => utils.isFunction(adapter) || adapter === null || adapter === false;

/* harmony default export */ const adapters = ({
  getAdapter: (adapters) => {
    adapters = utils.isArray(adapters) ? adapters : [adapters];

    const {length} = adapters;
    let nameOrAdapter;
    let adapter;

    const rejectedReasons = {};

    for (let i = 0; i < length; i++) {
      nameOrAdapter = adapters[i];
      let id;

      adapter = nameOrAdapter;

      if (!isResolvedHandle(nameOrAdapter)) {
        adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];

        if (adapter === undefined) {
          throw new core_AxiosError(`Unknown adapter '${id}'`);
        }
      }

      if (adapter) {
        break;
      }

      rejectedReasons[id || '#' + i] = adapter;
    }

    if (!adapter) {

      const reasons = Object.entries(rejectedReasons)
        .map(([id, state]) => `adapter ${id} ` +
          (state === false ? 'is not supported by the environment' : 'is not available in the build')
        );

      let s = length ?
        (reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0])) :
        'as no adapter specified';

      throw new core_AxiosError(
        `There is no suitable adapter to dispatch the request ` + s,
        'ERR_NOT_SUPPORT'
      );
    }

    return adapter;
  },
  adapters: knownAdapters
});

;// CONCATENATED MODULE: ./node_modules/axios/lib/core/dispatchRequest.js









/**
 * Throws a `CanceledError` if cancellation has been requested.
 *
 * @param {Object} config The config that is to be used for the request
 *
 * @returns {void}
 */
function throwIfCancellationRequested(config) {
  if (config.cancelToken) {
    config.cancelToken.throwIfRequested();
  }

  if (config.signal && config.signal.aborted) {
    throw new cancel_CanceledError(null, config);
  }
}

/**
 * Dispatch a request to the server using the configured adapter.
 *
 * @param {object} config The config that is to be used for the request
 *
 * @returns {Promise} The Promise to be fulfilled
 */
function dispatchRequest(config) {
  throwIfCancellationRequested(config);

  config.headers = core_AxiosHeaders.from(config.headers);

  // Transform request data
  config.data = transformData.call(
    config,
    config.transformRequest
  );

  if (['post', 'put', 'patch'].indexOf(config.method) !== -1) {
    config.headers.setContentType('application/x-www-form-urlencoded', false);
  }

  const adapter = adapters.getAdapter(config.adapter || lib_defaults.adapter);

  return adapter(config).then(function onAdapterResolution(response) {
    throwIfCancellationRequested(config);

    // Transform response data
    response.data = transformData.call(
      config,
      config.transformResponse,
      response
    );

    response.headers = core_AxiosHeaders.from(response.headers);

    return response;
  }, function onAdapterRejection(reason) {
    if (!isCancel(reason)) {
      throwIfCancellationRequested(config);

      // Transform response data
      if (reason && reason.response) {
        reason.response.data = transformData.call(
          config,
          config.transformResponse,
          reason.response
        );
        reason.response.headers = core_AxiosHeaders.from(reason.response.headers);
      }
    }

    return Promise.reject(reason);
  });
}

;// CONCATENATED MODULE: ./node_modules/axios/lib/core/mergeConfig.js





const headersToObject = (thing) => thing instanceof core_AxiosHeaders ? thing.toJSON() : thing;

/**
 * Config-specific merge-function which creates a new config-object
 * by merging two configuration objects together.
 *
 * @param {Object} config1
 * @param {Object} config2
 *
 * @returns {Object} New object resulting from merging config2 to config1
 */
function mergeConfig(config1, config2) {
  // eslint-disable-next-line no-param-reassign
  config2 = config2 || {};
  const config = {};

  function getMergedValue(target, source, caseless) {
    if (utils.isPlainObject(target) && utils.isPlainObject(source)) {
      return utils.merge.call({caseless}, target, source);
    } else if (utils.isPlainObject(source)) {
      return utils.merge({}, source);
    } else if (utils.isArray(source)) {
      return source.slice();
    }
    return source;
  }

  // eslint-disable-next-line consistent-return
  function mergeDeepProperties(a, b, caseless) {
    if (!utils.isUndefined(b)) {
      return getMergedValue(a, b, caseless);
    } else if (!utils.isUndefined(a)) {
      return getMergedValue(undefined, a, caseless);
    }
  }

  // eslint-disable-next-line consistent-return
  function valueFromConfig2(a, b) {
    if (!utils.isUndefined(b)) {
      return getMergedValue(undefined, b);
    }
  }

  // eslint-disable-next-line consistent-return
  function defaultToConfig2(a, b) {
    if (!utils.isUndefined(b)) {
      return getMergedValue(undefined, b);
    } else if (!utils.isUndefined(a)) {
      return getMergedValue(undefined, a);
    }
  }

  // eslint-disable-next-line consistent-return
  function mergeDirectKeys(a, b, prop) {
    if (prop in config2) {
      return getMergedValue(a, b);
    } else if (prop in config1) {
      return getMergedValue(undefined, a);
    }
  }

  const mergeMap = {
    url: valueFromConfig2,
    method: valueFromConfig2,
    data: valueFromConfig2,
    baseURL: defaultToConfig2,
    transformRequest: defaultToConfig2,
    transformResponse: defaultToConfig2,
    paramsSerializer: defaultToConfig2,
    timeout: defaultToConfig2,
    timeoutMessage: defaultToConfig2,
    withCredentials: defaultToConfig2,
    withXSRFToken: defaultToConfig2,
    adapter: defaultToConfig2,
    responseType: defaultToConfig2,
    xsrfCookieName: defaultToConfig2,
    xsrfHeaderName: defaultToConfig2,
    onUploadProgress: defaultToConfig2,
    onDownloadProgress: defaultToConfig2,
    decompress: defaultToConfig2,
    maxContentLength: defaultToConfig2,
    maxBodyLength: defaultToConfig2,
    beforeRedirect: defaultToConfig2,
    transport: defaultToConfig2,
    httpAgent: defaultToConfig2,
    httpsAgent: defaultToConfig2,
    cancelToken: defaultToConfig2,
    socketPath: defaultToConfig2,
    responseEncoding: defaultToConfig2,
    validateStatus: mergeDirectKeys,
    headers: (a, b) => mergeDeepProperties(headersToObject(a), headersToObject(b), true)
  };

  utils.forEach(Object.keys(Object.assign({}, config1, config2)), function computeConfigValue(prop) {
    const merge = mergeMap[prop] || mergeDeepProperties;
    const configValue = merge(config1[prop], config2[prop], prop);
    (utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);
  });

  return config;
}

;// CONCATENATED MODULE: ./node_modules/axios/lib/env/data.js
const VERSION = "1.6.2";
;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/validator.js





const validators = {};

// eslint-disable-next-line func-names
['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach((type, i) => {
  validators[type] = function validator(thing) {
    return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;
  };
});

const deprecatedWarnings = {};

/**
 * Transitional option validator
 *
 * @param {function|boolean?} validator - set to false if the transitional option has been removed
 * @param {string?} version - deprecated version / removed since version
 * @param {string?} message - some message with additional info
 *
 * @returns {function}
 */
validators.transitional = function transitional(validator, version, message) {
  function formatMessage(opt, desc) {
    return '[Axios v' + VERSION + '] Transitional option \'' + opt + '\'' + desc + (message ? '. ' + message : '');
  }

  // eslint-disable-next-line func-names
  return (value, opt, opts) => {
    if (validator === false) {
      throw new core_AxiosError(
        formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')),
        core_AxiosError.ERR_DEPRECATED
      );
    }

    if (version && !deprecatedWarnings[opt]) {
      deprecatedWarnings[opt] = true;
      // eslint-disable-next-line no-console
      console.warn(
        formatMessage(
          opt,
          ' has been deprecated since v' + version + ' and will be removed in the near future'
        )
      );
    }

    return validator ? validator(value, opt, opts) : true;
  };
};

/**
 * Assert object's properties type
 *
 * @param {object} options
 * @param {object} schema
 * @param {boolean?} allowUnknown
 *
 * @returns {object}
 */

function assertOptions(options, schema, allowUnknown) {
  if (typeof options !== 'object') {
    throw new core_AxiosError('options must be an object', core_AxiosError.ERR_BAD_OPTION_VALUE);
  }
  const keys = Object.keys(options);
  let i = keys.length;
  while (i-- > 0) {
    const opt = keys[i];
    const validator = schema[opt];
    if (validator) {
      const value = options[opt];
      const result = value === undefined || validator(value, opt, options);
      if (result !== true) {
        throw new core_AxiosError('option ' + opt + ' must be ' + result, core_AxiosError.ERR_BAD_OPTION_VALUE);
      }
      continue;
    }
    if (allowUnknown !== true) {
      throw new core_AxiosError('Unknown option ' + opt, core_AxiosError.ERR_BAD_OPTION);
    }
  }
}

/* harmony default export */ const validator = ({
  assertOptions,
  validators
});

;// CONCATENATED MODULE: ./node_modules/axios/lib/core/Axios.js











const Axios_validators = validator.validators;

/**
 * Create a new instance of Axios
 *
 * @param {Object} instanceConfig The default config for the instance
 *
 * @return {Axios} A new instance of Axios
 */
class Axios {
  constructor(instanceConfig) {
    this.defaults = instanceConfig;
    this.interceptors = {
      request: new core_InterceptorManager(),
      response: new core_InterceptorManager()
    };
  }

  /**
   * Dispatch a request
   *
   * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)
   * @param {?Object} config
   *
   * @returns {Promise} The Promise to be fulfilled
   */
  request(configOrUrl, config) {
    /*eslint no-param-reassign:0*/
    // Allow for axios('example/url'[, config]) a la fetch API
    if (typeof configOrUrl === 'string') {
      config = config || {};
      config.url = configOrUrl;
    } else {
      config = configOrUrl || {};
    }

    config = mergeConfig(this.defaults, config);

    const {transitional, paramsSerializer, headers} = config;

    if (transitional !== undefined) {
      validator.assertOptions(transitional, {
        silentJSONParsing: Axios_validators.transitional(Axios_validators.boolean),
        forcedJSONParsing: Axios_validators.transitional(Axios_validators.boolean),
        clarifyTimeoutError: Axios_validators.transitional(Axios_validators.boolean)
      }, false);
    }

    if (paramsSerializer != null) {
      if (utils.isFunction(paramsSerializer)) {
        config.paramsSerializer = {
          serialize: paramsSerializer
        }
      } else {
        validator.assertOptions(paramsSerializer, {
          encode: Axios_validators.function,
          serialize: Axios_validators.function
        }, true);
      }
    }

    // Set config.method
    config.method = (config.method || this.defaults.method || 'get').toLowerCase();

    // Flatten headers
    let contextHeaders = headers && utils.merge(
      headers.common,
      headers[config.method]
    );

    headers && utils.forEach(
      ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],
      (method) => {
        delete headers[method];
      }
    );

    config.headers = core_AxiosHeaders.concat(contextHeaders, headers);

    // filter out skipped interceptors
    const requestInterceptorChain = [];
    let synchronousRequestInterceptors = true;
    this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {
      if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {
        return;
      }

      synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;

      requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
    });

    const responseInterceptorChain = [];
    this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {
      responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
    });

    let promise;
    let i = 0;
    let len;

    if (!synchronousRequestInterceptors) {
      const chain = [dispatchRequest.bind(this), undefined];
      chain.unshift.apply(chain, requestInterceptorChain);
      chain.push.apply(chain, responseInterceptorChain);
      len = chain.length;

      promise = Promise.resolve(config);

      while (i < len) {
        promise = promise.then(chain[i++], chain[i++]);
      }

      return promise;
    }

    len = requestInterceptorChain.length;

    let newConfig = config;

    i = 0;

    while (i < len) {
      const onFulfilled = requestInterceptorChain[i++];
      const onRejected = requestInterceptorChain[i++];
      try {
        newConfig = onFulfilled(newConfig);
      } catch (error) {
        onRejected.call(this, error);
        break;
      }
    }

    try {
      promise = dispatchRequest.call(this, newConfig);
    } catch (error) {
      return Promise.reject(error);
    }

    i = 0;
    len = responseInterceptorChain.length;

    while (i < len) {
      promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]);
    }

    return promise;
  }

  getUri(config) {
    config = mergeConfig(this.defaults, config);
    const fullPath = buildFullPath(config.baseURL, config.url);
    return buildURL(fullPath, config.params, config.paramsSerializer);
  }
}

// Provide aliases for supported request methods
utils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {
  /*eslint func-names:0*/
  Axios.prototype[method] = function(url, config) {
    return this.request(mergeConfig(config || {}, {
      method,
      url,
      data: (config || {}).data
    }));
  };
});

utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
  /*eslint func-names:0*/

  function generateHTTPMethod(isForm) {
    return function httpMethod(url, data, config) {
      return this.request(mergeConfig(config || {}, {
        method,
        headers: isForm ? {
          'Content-Type': 'multipart/form-data'
        } : {},
        url,
        data
      }));
    };
  }

  Axios.prototype[method] = generateHTTPMethod();

  Axios.prototype[method + 'Form'] = generateHTTPMethod(true);
});

/* harmony default export */ const core_Axios = (Axios);

;// CONCATENATED MODULE: ./node_modules/axios/lib/cancel/CancelToken.js




/**
 * A `CancelToken` is an object that can be used to request cancellation of an operation.
 *
 * @param {Function} executor The executor function.
 *
 * @returns {CancelToken}
 */
class CancelToken {
  constructor(executor) {
    if (typeof executor !== 'function') {
      throw new TypeError('executor must be a function.');
    }

    let resolvePromise;

    this.promise = new Promise(function promiseExecutor(resolve) {
      resolvePromise = resolve;
    });

    const token = this;

    // eslint-disable-next-line func-names
    this.promise.then(cancel => {
      if (!token._listeners) return;

      let i = token._listeners.length;

      while (i-- > 0) {
        token._listeners[i](cancel);
      }
      token._listeners = null;
    });

    // eslint-disable-next-line func-names
    this.promise.then = onfulfilled => {
      let _resolve;
      // eslint-disable-next-line func-names
      const promise = new Promise(resolve => {
        token.subscribe(resolve);
        _resolve = resolve;
      }).then(onfulfilled);

      promise.cancel = function reject() {
        token.unsubscribe(_resolve);
      };

      return promise;
    };

    executor(function cancel(message, config, request) {
      if (token.reason) {
        // Cancellation has already been requested
        return;
      }

      token.reason = new cancel_CanceledError(message, config, request);
      resolvePromise(token.reason);
    });
  }

  /**
   * Throws a `CanceledError` if cancellation has been requested.
   */
  throwIfRequested() {
    if (this.reason) {
      throw this.reason;
    }
  }

  /**
   * Subscribe to the cancel signal
   */

  subscribe(listener) {
    if (this.reason) {
      listener(this.reason);
      return;
    }

    if (this._listeners) {
      this._listeners.push(listener);
    } else {
      this._listeners = [listener];
    }
  }

  /**
   * Unsubscribe from the cancel signal
   */

  unsubscribe(listener) {
    if (!this._listeners) {
      return;
    }
    const index = this._listeners.indexOf(listener);
    if (index !== -1) {
      this._listeners.splice(index, 1);
    }
  }

  /**
   * Returns an object that contains a new `CancelToken` and a function that, when called,
   * cancels the `CancelToken`.
   */
  static source() {
    let cancel;
    const token = new CancelToken(function executor(c) {
      cancel = c;
    });
    return {
      token,
      cancel
    };
  }
}

/* harmony default export */ const cancel_CancelToken = (CancelToken);

;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/spread.js


/**
 * Syntactic sugar for invoking a function and expanding an array for arguments.
 *
 * Common use case would be to use `Function.prototype.apply`.
 *
 *  ```js
 *  function f(x, y, z) {}
 *  var args = [1, 2, 3];
 *  f.apply(null, args);
 *  ```
 *
 * With `spread` this example can be re-written.
 *
 *  ```js
 *  spread(function(x, y, z) {})([1, 2, 3]);
 *  ```
 *
 * @param {Function} callback
 *
 * @returns {Function}
 */
function spread_spread(callback) {
  return function wrap(arr) {
    return callback.apply(null, arr);
  };
}

;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/isAxiosError.js




/**
 * Determines whether the payload is an error thrown by Axios
 *
 * @param {*} payload The value to test
 *
 * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
 */
function isAxiosError(payload) {
  return utils.isObject(payload) && (payload.isAxiosError === true);
}

;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/HttpStatusCode.js
const HttpStatusCode = {
  Continue: 100,
  SwitchingProtocols: 101,
  Processing: 102,
  EarlyHints: 103,
  Ok: 200,
  Created: 201,
  Accepted: 202,
  NonAuthoritativeInformation: 203,
  NoContent: 204,
  ResetContent: 205,
  PartialContent: 206,
  MultiStatus: 207,
  AlreadyReported: 208,
  ImUsed: 226,
  MultipleChoices: 300,
  MovedPermanently: 301,
  Found: 302,
  SeeOther: 303,
  NotModified: 304,
  UseProxy: 305,
  Unused: 306,
  TemporaryRedirect: 307,
  PermanentRedirect: 308,
  BadRequest: 400,
  Unauthorized: 401,
  PaymentRequired: 402,
  Forbidden: 403,
  NotFound: 404,
  MethodNotAllowed: 405,
  NotAcceptable: 406,
  ProxyAuthenticationRequired: 407,
  RequestTimeout: 408,
  Conflict: 409,
  Gone: 410,
  LengthRequired: 411,
  PreconditionFailed: 412,
  PayloadTooLarge: 413,
  UriTooLong: 414,
  UnsupportedMediaType: 415,
  RangeNotSatisfiable: 416,
  ExpectationFailed: 417,
  ImATeapot: 418,
  MisdirectedRequest: 421,
  UnprocessableEntity: 422,
  Locked: 423,
  FailedDependency: 424,
  TooEarly: 425,
  UpgradeRequired: 426,
  PreconditionRequired: 428,
  TooManyRequests: 429,
  RequestHeaderFieldsTooLarge: 431,
  UnavailableForLegalReasons: 451,
  InternalServerError: 500,
  NotImplemented: 501,
  BadGateway: 502,
  ServiceUnavailable: 503,
  GatewayTimeout: 504,
  HttpVersionNotSupported: 505,
  VariantAlsoNegotiates: 506,
  InsufficientStorage: 507,
  LoopDetected: 508,
  NotExtended: 510,
  NetworkAuthenticationRequired: 511,
};

Object.entries(HttpStatusCode).forEach(([key, value]) => {
  HttpStatusCode[value] = key;
});

/* harmony default export */ const helpers_HttpStatusCode = (HttpStatusCode);

;// CONCATENATED MODULE: ./node_modules/axios/lib/axios.js




















/**
 * Create an instance of Axios
 *
 * @param {Object} defaultConfig The default config for the instance
 *
 * @returns {Axios} A new instance of Axios
 */
function createInstance(defaultConfig) {
  const context = new core_Axios(defaultConfig);
  const instance = bind_bind(core_Axios.prototype.request, context);

  // Copy axios.prototype to instance
  utils.extend(instance, core_Axios.prototype, context, {allOwnKeys: true});

  // Copy context to instance
  utils.extend(instance, context, null, {allOwnKeys: true});

  // Factory for creating new instances
  instance.create = function create(instanceConfig) {
    return createInstance(mergeConfig(defaultConfig, instanceConfig));
  };

  return instance;
}

// Create the default instance to be exported
const axios = createInstance(lib_defaults);

// Expose Axios class to allow class inheritance
axios.Axios = core_Axios;

// Expose Cancel & CancelToken
axios.CanceledError = cancel_CanceledError;
axios.CancelToken = cancel_CancelToken;
axios.isCancel = isCancel;
axios.VERSION = VERSION;
axios.toFormData = helpers_toFormData;

// Expose AxiosError class
axios.AxiosError = core_AxiosError;

// alias for CanceledError for backward compatibility
axios.Cancel = axios.CanceledError;

// Expose all/spread
axios.all = function all(promises) {
  return Promise.all(promises);
};

axios.spread = spread_spread;

// Expose isAxiosError
axios.isAxiosError = isAxiosError;

// Expose mergeConfig
axios.mergeConfig = mergeConfig;

axios.AxiosHeaders = core_AxiosHeaders;

axios.formToJSON = thing => helpers_formDataToJSON(utils.isHTMLForm(thing) ? new FormData(thing) : thing);

axios.getAdapter = adapters.getAdapter;

axios.HttpStatusCode = helpers_HttpStatusCode;

axios.default = axios;

// this module should only have a default export
/* harmony default export */ const lib_axios = (axios);

;// CONCATENATED MODULE: ./src/store/api.js


var SERVER_API_PROJECT = 'rodina';
var serverApiToken = writable('');
var serverApiServerId = writable(0);
var setToken = function setToken(tokenDto) {
  serverApiToken.set(tokenDto.token);
  serverApiServerId.set(tokenDto.server);
};
registerEvent('event.api.setToken', setToken);
;// CONCATENATED MODULE: ./src/store/cdn.js
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
var CDN_URL_PROJECT = '/projects/rodina-rp';
var CDN_CHANNEL_TYPES = {
  CDN_CHANNEL_RESOURCES: 0,
  CDN_CHANNEL_SOUNDS: 1,
  CDN_CHANNEL_SERVER_API: 2
};
var CDN_CONFIG = _defineProperty(_defineProperty(_defineProperty({}, CDN_CHANNEL_TYPES.CDN_CHANNEL_RESOURCES, {
  0: 'https://cdn.azresources.cloud',
  1: 'https://reserve-cdn.azresources.cloud'
}), CDN_CHANNEL_TYPES.CDN_CHANNEL_SOUNDS, {
  0: 'https://cdn.azsounds.cloud',
  1: 'https://reserve-cdn.azsounds.cloud'
}), CDN_CHANNEL_TYPES.CDN_CHANNEL_SERVER_API, {
  0: 'https://server-api.arizona.games',
  1: 'https://reserve-server-api.arizona.games'
});
var CDN_URLS = [CDN_CONFIG[CDN_CHANNEL_TYPES.CDN_CHANNEL_RESOURCES][0], CDN_CONFIG[CDN_CHANNEL_TYPES.CDN_CHANNEL_SOUNDS][0], CDN_CONFIG[CDN_CHANNEL_TYPES.CDN_CHANNEL_SERVER_API][0]];
var CDN_URL = CDN_URLS[CDN_CHANNEL_TYPES.CDN_CHANNEL_RESOURCES];
var cdn_CDN_URL_RODINA = "".concat(CDN_URL).concat(CDN_URL_PROJECT);
var CDN_FAMILY_URL = "".concat(cdn_CDN_URL_RODINA, "/systems/family");
var CDN_ITEMS_URL = "".concat(cdn_CDN_URL_RODINA, "/systems/battlepass/items");
var CDN_SOUNDS_URL = CDN_URLS[CDN_CHANNEL_TYPES.CDN_CHANNEL_SOUNDS];
var SERVER_API_URL = CDN_URLS[CDN_CHANNEL_TYPES.CDN_CHANNEL_SERVER_API];
var setCdnConfig = function setCdnConfig(config) {
  config.forEach(function (value, channelType) {
    var _CDN_CONFIG$channelTy;
    var url = (_CDN_CONFIG$channelTy = CDN_CONFIG[channelType]) === null || _CDN_CONFIG$channelTy === void 0 ? void 0 : _CDN_CONFIG$channelTy[value];
    if (!url) {
      return;
    }
    switch (channelType) {
      case CDN_CHANNEL_TYPES.CDN_CHANNEL_RESOURCES:
        CDN_URL = url;
        cdn_CDN_URL_RODINA = "".concat(CDN_URL).concat(CDN_URL_PROJECT);
        CDN_FAMILY_URL = "".concat(cdn_CDN_URL_RODINA, "/systems/family");
        CDN_ITEMS_URL = "".concat(cdn_CDN_URL_RODINA, "/systems/battlepass/items");
        break;
      case CDN_CHANNEL_TYPES.CDN_CHANNEL_SOUNDS:
        CDN_SOUNDS_URL = url;
        break;
      case CDN_CHANNEL_TYPES.CDN_CHANNEL_SERVER_API:
        SERVER_API_URL = url;
        break;
      default:
        break;
    }
    CDN_URLS[channelType] = url;
  });
};
var parseCdnFromCommandLine = function parseCdnFromCommandLine(line) {
  var match = line.match(/-cdn\s+([0-9,]+)/);
  var config = match ? match[1].split(',').map(Number) : [0, 0, 0];
  setCdnConfig(config);
};
var initLinksCDN = function initLinksCDN() {
  window.cef.onCommandLine = function (LINE) {
    parseCdnFromCommandLine(LINE);
  };
  window.cef.GetCommandLine();
};
;// CONCATENATED MODULE: ./src/store/inventory.js





var ITEMS = [];
var getInventoryData = function getInventoryData() {
  lib_axios.get("".concat(SERVER_API_URL, "/client/json/table/get?project=").concat(SERVER_API_PROJECT, "&server=").concat(get_store_value(serverApiServerId), "&key=inventory_items"), {
    headers: {
      Authorization: "Bearer ".concat(get_store_value(serverApiToken))
    }
  }).then(function (response) {
    ITEMS = response.data;
    sendClientMessage('inventoryItemsLoaded');
  })["catch"](function (error) {
    console.log('error from getInventoryData', JSON.stringify(error));
  });
};
;// CONCATENATED MODULE: ./src/components/action-button/constants.js
var ActionButtonSize = {
  Regular: 'regular',
  FillFree: 'fill-free'
};
;// CONCATENATED MODULE: ./src/components/action-button/index.svelte
/* src\components\action-button\index.svelte generated by Svelte v3.49.0 */





function add_css(target) {
	append_styles(target, "svelte-181mvcm", "@keyframes svelte-181mvcm-blinking{50%{opacity:0}}@keyframes svelte-181mvcm-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-181mvcm-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-181mvcm-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-181mvcm-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-181mvcm-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-181mvcm-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-181mvcm-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-181mvcm-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-181mvcm-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-181mvcm-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-181mvcm-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-181mvcm-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-181mvcm-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-181mvcm-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.action-button.svelte-181mvcm.svelte-181mvcm{display:flex;align-items:center}.action-button--regular.svelte-181mvcm .action-button__key.svelte-181mvcm{height:calc(0.0197916667 * 100vw + 0px);padding-left:calc(0.0067708333 * 100vw + 0px);padding-right:calc(0.0067708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.action-button--regular.svelte-181mvcm .action-button__key.svelte-181mvcm{height:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.action-button--regular.svelte-181mvcm .action-button__key.svelte-181mvcm{height:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.action-button--regular.svelte-181mvcm .action-button__key.svelte-181mvcm{height:calc(0.0152395833 * 100vw + 0px)}}@media(min-width: 3440px){.action-button--regular.svelte-181mvcm .action-button__key.svelte-181mvcm{height:calc(0.0217708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.action-button--regular.svelte-181mvcm .action-button__key.svelte-181mvcm{height:calc(0.0138541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.action-button--regular.svelte-181mvcm .action-button__key.svelte-181mvcm{height:calc(0.0178125 * 100vw + 0px)}}@media(min-width: 4096px){.action-button--regular.svelte-181mvcm .action-button__key.svelte-181mvcm{height:calc(0.0217708333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.action-button--regular.svelte-181mvcm .action-button__key.svelte-181mvcm{padding-left:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.action-button--regular.svelte-181mvcm .action-button__key.svelte-181mvcm{padding-left:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.action-button--regular.svelte-181mvcm .action-button__key.svelte-181mvcm{padding-left:calc(0.0052135417 * 100vw + 0px)}}@media(min-width: 3440px){.action-button--regular.svelte-181mvcm .action-button__key.svelte-181mvcm{padding-left:calc(0.0074479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.action-button--regular.svelte-181mvcm .action-button__key.svelte-181mvcm{padding-left:calc(0.0047395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.action-button--regular.svelte-181mvcm .action-button__key.svelte-181mvcm{padding-left:calc(0.00609375 * 100vw + 0px)}}@media(min-width: 4096px){.action-button--regular.svelte-181mvcm .action-button__key.svelte-181mvcm{padding-left:calc(0.0074479167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.action-button--regular.svelte-181mvcm .action-button__key.svelte-181mvcm{padding-right:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.action-button--regular.svelte-181mvcm .action-button__key.svelte-181mvcm{padding-right:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.action-button--regular.svelte-181mvcm .action-button__key.svelte-181mvcm{padding-right:calc(0.0052135417 * 100vw + 0px)}}@media(min-width: 3440px){.action-button--regular.svelte-181mvcm .action-button__key.svelte-181mvcm{padding-right:calc(0.0074479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.action-button--regular.svelte-181mvcm .action-button__key.svelte-181mvcm{padding-right:calc(0.0047395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.action-button--regular.svelte-181mvcm .action-button__key.svelte-181mvcm{padding-right:calc(0.00609375 * 100vw + 0px)}}@media(min-width: 4096px){.action-button--regular.svelte-181mvcm .action-button__key.svelte-181mvcm{padding-right:calc(0.0074479167 * 100vw + 0px)}}.action-button--fill-free.svelte-181mvcm.svelte-181mvcm{width:100%;height:100%}.action-button--fill-free.svelte-181mvcm .action-button__key.svelte-181mvcm{width:100%;height:100%}.action-button__key.svelte-181mvcm.svelte-181mvcm{display:flex;justify-content:center;align-items:center;background-color:#FFFFFF;cursor:pointer;font-family:\"GothamPro-Medium\";transition:color 0.2s linear, background-color 0.2s linear;font-size:calc(0.009375 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.action-button__key.svelte-181mvcm.svelte-181mvcm{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.action-button__key.svelte-181mvcm.svelte-181mvcm{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.action-button__key.svelte-181mvcm.svelte-181mvcm{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.action-button__key.svelte-181mvcm.svelte-181mvcm{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.action-button__key.svelte-181mvcm.svelte-181mvcm{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.action-button__key.svelte-181mvcm.svelte-181mvcm{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.action-button__key.svelte-181mvcm.svelte-181mvcm{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.action-button__key.svelte-181mvcm.svelte-181mvcm{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.action-button__key.svelte-181mvcm.svelte-181mvcm{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.action-button__key.svelte-181mvcm.svelte-181mvcm{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.action-button__key.svelte-181mvcm.svelte-181mvcm{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.action-button__key.svelte-181mvcm.svelte-181mvcm{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.action-button__key.svelte-181mvcm.svelte-181mvcm{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.action-button__key.svelte-181mvcm.svelte-181mvcm{border-radius:calc(0.0057291667 * 100vw + 0px)}}.action-button__key.svelte-181mvcm.svelte-181mvcm:hover{color:#FFFFFF;background-color:#FF3737}.action-button__key--pressed.svelte-181mvcm.svelte-181mvcm{color:#FFFFFF;background-color:#FF3737}.action-button__key-icon.svelte-181mvcm.svelte-181mvcm{font-size:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.action-button__key-icon.svelte-181mvcm.svelte-181mvcm{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.action-button__key-icon.svelte-181mvcm.svelte-181mvcm{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.action-button__key-icon.svelte-181mvcm.svelte-181mvcm{font-size:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.action-button__key-icon.svelte-181mvcm.svelte-181mvcm{font-size:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.action-button__key-icon.svelte-181mvcm.svelte-181mvcm{font-size:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.action-button__key-icon.svelte-181mvcm.svelte-181mvcm{font-size:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.action-button__key-icon.svelte-181mvcm.svelte-181mvcm{font-size:calc(0.0171875 * 100vw + 0px)}}.action-button__title.svelte-181mvcm.svelte-181mvcm{color:#FFFFFF;font-family:\"GothamPro-Light\";width:fit-content;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.action-button__title.svelte-181mvcm.svelte-181mvcm{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.action-button__title.svelte-181mvcm.svelte-181mvcm{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.action-button__title.svelte-181mvcm.svelte-181mvcm{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.action-button__title.svelte-181mvcm.svelte-181mvcm{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.action-button__title.svelte-181mvcm.svelte-181mvcm{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.action-button__title.svelte-181mvcm.svelte-181mvcm{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.action-button__title.svelte-181mvcm.svelte-181mvcm{font-size:calc(0.0091666667 * 100vw + 0px)}}.action-button__title--left.svelte-181mvcm.svelte-181mvcm{margin-right:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.action-button__title--left.svelte-181mvcm.svelte-181mvcm{margin-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.action-button__title--left.svelte-181mvcm.svelte-181mvcm{margin-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.action-button__title--left.svelte-181mvcm.svelte-181mvcm{margin-right:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.action-button__title--left.svelte-181mvcm.svelte-181mvcm{margin-right:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.action-button__title--left.svelte-181mvcm.svelte-181mvcm{margin-right:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.action-button__title--left.svelte-181mvcm.svelte-181mvcm{margin-right:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.action-button__title--left.svelte-181mvcm.svelte-181mvcm{margin-right:calc(0.0114583333 * 100vw + 0px)}}.action-button__title--right.svelte-181mvcm.svelte-181mvcm{margin-left:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.action-button__title--right.svelte-181mvcm.svelte-181mvcm{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.action-button__title--right.svelte-181mvcm.svelte-181mvcm{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.action-button__title--right.svelte-181mvcm.svelte-181mvcm{margin-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.action-button__title--right.svelte-181mvcm.svelte-181mvcm{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.action-button__title--right.svelte-181mvcm.svelte-181mvcm{margin-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.action-button__title--right.svelte-181mvcm.svelte-181mvcm{margin-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.action-button__title--right.svelte-181mvcm.svelte-181mvcm{margin-left:calc(0.0114583333 * 100vw + 0px)}}");
}

// (559:4) {#if !isEmpty(preActionTitle)}
function create_if_block_3(ctx) {
	let p;
	let t;

	return {
		c() {
			p = internal_element("p");
			t = internal_text(/*preActionTitle*/ ctx[3]);
			attr(p, "class", "action-button__title action-button__title--left svelte-181mvcm");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t);
		},
		p(ctx, dirty) {
			if (dirty & /*preActionTitle*/ 8) set_data(t, /*preActionTitle*/ ctx[3]);
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (568:8) {#if !isEmpty(keyIcon)}
function create_if_block_2(ctx) {
	let span;
	let span_class_value;

	return {
		c() {
			span = internal_element("span");
			attr(span, "class", span_class_value = "" + (null_to_empty(`action-button__key-icon ${/*keyIcon*/ ctx[2]}`) + " svelte-181mvcm"));
		},
		m(target, anchor) {
			insert(target, span, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*keyIcon*/ 4 && span_class_value !== (span_class_value = "" + (null_to_empty(`action-button__key-icon ${/*keyIcon*/ ctx[2]}`) + " svelte-181mvcm"))) {
				attr(span, "class", span_class_value);
			}
		},
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

// (571:8) {#if !isEmpty(keyTitle)}
function create_if_block_1(ctx) {
	let p;
	let t;

	return {
		c() {
			p = internal_element("p");
			t = internal_text(/*keyTitle*/ ctx[1]);
			attr(p, "class", "action-button__key-title");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t);
		},
		p(ctx, dirty) {
			if (dirty & /*keyTitle*/ 2) set_data(t, /*keyTitle*/ ctx[1]);
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (577:4) {#if !isEmpty(postActionTitle)}
function create_if_block(ctx) {
	let p;
	let t;

	return {
		c() {
			p = internal_element("p");
			t = internal_text(/*postActionTitle*/ ctx[4]);
			attr(p, "class", "action-button__title action-button__title--right svelte-181mvcm");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t);
		},
		p(ctx, dirty) {
			if (dirty & /*postActionTitle*/ 16) set_data(t, /*postActionTitle*/ ctx[4]);
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

function create_fragment(ctx) {
	let div1;
	let show_if_3 = !(0,lodash.isEmpty)(/*preActionTitle*/ ctx[3]);
	let t0;
	let div0;
	let show_if_2 = !(0,lodash.isEmpty)(/*keyIcon*/ ctx[2]);
	let t1;
	let show_if_1 = !(0,lodash.isEmpty)(/*keyTitle*/ ctx[1]);
	let t2;
	let show_if = !(0,lodash.isEmpty)(/*postActionTitle*/ ctx[4]);
	let div1_class_value;
	let mounted;
	let dispose;
	let if_block0 = show_if_3 && create_if_block_3(ctx);
	let if_block1 = show_if_2 && create_if_block_2(ctx);
	let if_block2 = show_if_1 && create_if_block_1(ctx);
	let if_block3 = show_if && create_if_block(ctx);

	return {
		c() {
			div1 = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			div0 = internal_element("div");
			if (if_block1) if_block1.c();
			t1 = space();
			if (if_block2) if_block2.c();
			t2 = space();
			if (if_block3) if_block3.c();
			attr(div0, "class", "action-button__key svelte-181mvcm");
			toggle_class(div0, "action-button__key--pressed", /*inPressState*/ ctx[6]);
			attr(div1, "class", div1_class_value = "" + (null_to_empty(`action-button action-button--${/*size*/ ctx[5]}`) + " svelte-181mvcm"));
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			if (if_block0) if_block0.m(div1, null);
			append(div1, t0);
			append(div1, div0);
			if (if_block1) if_block1.m(div0, null);
			append(div0, t1);
			if (if_block2) if_block2.m(div0, null);
			append(div1, t2);
			if (if_block3) if_block3.m(div1, null);

			if (!mounted) {
				dispose = [
					listen(window, "keydown", /*handleKeyDown*/ ctx[7]),
					listen(window, "keyup", /*handleKeyUp*/ ctx[8]),
					listen(div1, "click", function () {
						if (internal_is_function(/*onPress*/ ctx[0])) /*onPress*/ ctx[0].apply(this, arguments);
					})
				];

				mounted = true;
			}
		},
		p(new_ctx, [dirty]) {
			ctx = new_ctx;
			if (dirty & /*preActionTitle*/ 8) show_if_3 = !(0,lodash.isEmpty)(/*preActionTitle*/ ctx[3]);

			if (show_if_3) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = create_if_block_3(ctx);
					if_block0.c();
					if_block0.m(div1, t0);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty & /*keyIcon*/ 4) show_if_2 = !(0,lodash.isEmpty)(/*keyIcon*/ ctx[2]);

			if (show_if_2) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = create_if_block_2(ctx);
					if_block1.c();
					if_block1.m(div0, t1);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty & /*keyTitle*/ 2) show_if_1 = !(0,lodash.isEmpty)(/*keyTitle*/ ctx[1]);

			if (show_if_1) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = create_if_block_1(ctx);
					if_block2.c();
					if_block2.m(div0, null);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			if (dirty & /*inPressState*/ 64) {
				toggle_class(div0, "action-button__key--pressed", /*inPressState*/ ctx[6]);
			}

			if (dirty & /*postActionTitle*/ 16) show_if = !(0,lodash.isEmpty)(/*postActionTitle*/ ctx[4]);

			if (show_if) {
				if (if_block3) {
					if_block3.p(ctx, dirty);
				} else {
					if_block3 = create_if_block(ctx);
					if_block3.c();
					if_block3.m(div1, null);
				}
			} else if (if_block3) {
				if_block3.d(1);
				if_block3 = null;
			}

			if (dirty & /*size*/ 32 && div1_class_value !== (div1_class_value = "" + (null_to_empty(`action-button action-button--${/*size*/ ctx[5]}`) + " svelte-181mvcm"))) {
				attr(div1, "class", div1_class_value);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			if (if_block2) if_block2.d();
			if (if_block3) if_block3.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function instance($$self, $$props, $$invalidate) {
	let { onPress = () => {
		
	} } = $$props;

	let { keyCode = 0 } = $$props;
	let { keyTitle = '' } = $$props;
	let { keyIcon = '' } = $$props;
	let { preActionTitle = '' } = $$props;
	let { postActionTitle = '' } = $$props;
	let { size = ActionButtonSize.Regular } = $$props;
	let inPressState = false;

	const handleKeyDown = event => {
		if (event.keyCode !== keyCode) {
			return;
		}

		$$invalidate(6, inPressState = true);
		onPress();
	};

	const handleKeyUp = () => {
		$$invalidate(6, inPressState = false);
	};

	$$self.$$set = $$props => {
		if ('onPress' in $$props) $$invalidate(0, onPress = $$props.onPress);
		if ('keyCode' in $$props) $$invalidate(9, keyCode = $$props.keyCode);
		if ('keyTitle' in $$props) $$invalidate(1, keyTitle = $$props.keyTitle);
		if ('keyIcon' in $$props) $$invalidate(2, keyIcon = $$props.keyIcon);
		if ('preActionTitle' in $$props) $$invalidate(3, preActionTitle = $$props.preActionTitle);
		if ('postActionTitle' in $$props) $$invalidate(4, postActionTitle = $$props.postActionTitle);
		if ('size' in $$props) $$invalidate(5, size = $$props.size);
	};

	return [
		onPress,
		keyTitle,
		keyIcon,
		preActionTitle,
		postActionTitle,
		size,
		inPressState,
		handleKeyDown,
		handleKeyUp,
		keyCode
	];
}

class Action_button extends SvelteComponent {
	constructor(options) {
		super();

		init(
			this,
			options,
			instance,
			create_fragment,
			safe_not_equal,
			{
				onPress: 0,
				keyCode: 9,
				keyTitle: 1,
				keyIcon: 2,
				preActionTitle: 3,
				postActionTitle: 4,
				size: 5
			},
			add_css
		);
	}
}

/* harmony default export */ const index_svelte = (Action_button);
;// CONCATENATED MODULE: ./src/components/exit-button/constants.js
var ESCAPE_BUTTON_CODE = 27;
;// CONCATENATED MODULE: ./src/components/exit-button/index.svelte
/* src\components\exit-button\index.svelte generated by Svelte v3.49.0 */





function index_svelte_add_css(target) {
	append_styles(target, "svelte-1ckw4bu", "@keyframes svelte-1ckw4bu-blinking{50%{opacity:0}}@keyframes svelte-1ckw4bu-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1ckw4bu-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1ckw4bu-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1ckw4bu-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1ckw4bu-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1ckw4bu-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1ckw4bu-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1ckw4bu-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1ckw4bu-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1ckw4bu-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1ckw4bu-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1ckw4bu-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1ckw4bu-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1ckw4bu-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.exit-button.svelte-1ckw4bu{display:flex;align-items:center;cursor:pointer}.exit-button--fixed-position.svelte-1ckw4bu{position:fixed;right:calc(0.03125 * 100vw + 0px);top:calc(0.0416666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.exit-button--fixed-position.svelte-1ckw4bu{right:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.exit-button--fixed-position.svelte-1ckw4bu{right:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.exit-button--fixed-position.svelte-1ckw4bu{right:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.exit-button--fixed-position.svelte-1ckw4bu{right:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.exit-button--fixed-position.svelte-1ckw4bu{right:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.exit-button--fixed-position.svelte-1ckw4bu{right:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.exit-button--fixed-position.svelte-1ckw4bu{right:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.exit-button--fixed-position.svelte-1ckw4bu{top:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.exit-button--fixed-position.svelte-1ckw4bu{top:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.exit-button--fixed-position.svelte-1ckw4bu{top:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.exit-button--fixed-position.svelte-1ckw4bu{top:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.exit-button--fixed-position.svelte-1ckw4bu{top:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.exit-button--fixed-position.svelte-1ckw4bu{top:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.exit-button--fixed-position.svelte-1ckw4bu{top:calc(0.0458333333 * 100vw + 0px)}}");
}

function index_svelte_create_fragment(ctx) {
	let div;
	let actionbutton;
	let current;

	actionbutton = new index_svelte({
			props: {
				onPress: /*onClick*/ ctx[2],
				keyTitle: "Esc",
				postActionTitle: /*title*/ ctx[0],
				keyCode: ESCAPE_BUTTON_CODE
			}
		});

	return {
		c() {
			div = internal_element("div");
			create_component(actionbutton.$$.fragment);
			attr(div, "class", "exit-button svelte-1ckw4bu");
			toggle_class(div, "exit-button--fixed-position", /*fixedPosition*/ ctx[1]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(actionbutton, div, null);
			current = true;
		},
		p(ctx, [dirty]) {
			const actionbutton_changes = {};
			if (dirty & /*onClick*/ 4) actionbutton_changes.onPress = /*onClick*/ ctx[2];
			if (dirty & /*title*/ 1) actionbutton_changes.postActionTitle = /*title*/ ctx[0];
			actionbutton.$set(actionbutton_changes);

			if (dirty & /*fixedPosition*/ 2) {
				toggle_class(div, "exit-button--fixed-position", /*fixedPosition*/ ctx[1]);
			}
		},
		i(local) {
			if (current) return;
			transition_in(actionbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(actionbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(actionbutton);
		}
	};
}

function index_svelte_instance($$self, $$props, $$invalidate) {
	let { title = 'Закрыть' } = $$props;
	let { fixedPosition = false } = $$props;

	let { onClick = () => {
		
	} } = $$props;

	$$self.$$set = $$props => {
		if ('title' in $$props) $$invalidate(0, title = $$props.title);
		if ('fixedPosition' in $$props) $$invalidate(1, fixedPosition = $$props.fixedPosition);
		if ('onClick' in $$props) $$invalidate(2, onClick = $$props.onClick);
	};

	return [title, fixedPosition, onClick];
}

class Exit_button extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, index_svelte_instance, index_svelte_create_fragment, safe_not_equal, { title: 0, fixedPosition: 1, onClick: 2 }, index_svelte_add_css);
	}
}

/* harmony default export */ const exit_button_index_svelte = (Exit_button);
;// CONCATENATED MODULE: ./src/utils/common.js
var SPEED_COEFFICIENT = 179.28625;
var formatSpeed = function formatSpeed(speed) {
  return Math.round(SPEED_COEFFICIENT * speed);
};
var formatMoney = function formatMoney(value) {
  return new Intl.NumberFormat('ru-RU').format(value);
};
var calculateDistance = function calculateDistance(x1, y1, x2, y2) {
  return Math.sqrt(Math.pow(x1 - x2, 2) + Math.pow(y1 - y2, 2));
};
var formatPhoneNumber = function formatPhoneNumber(phoneNumber) {
  var onlyNumbers = phoneNumber.toString().match(/\d+/g).join('');
  return onlyNumbers.match(/.{1,3}/g).join('-');
};
var formatSecondsToMmSs = function formatSecondsToMmSs(seconds) {
  var timeMinutes = Math.floor(seconds / 60).toString().padStart(2, '0');
  var timeSeconds = (seconds % 60).toString().padStart(2, '0');
  return "".concat(timeMinutes, ":").concat(timeSeconds);
};
var formatSecondsToHoursMinutesAndSeconds = function formatSecondsToHoursMinutesAndSeconds(seconds) {
  if (seconds <= 0) {
    return '00:00:00';
  }
  var minutes = parseInt(seconds / 60, 10);
  var hours = parseInt(minutes / 60, 10);
  var formattedMinutes = parseInt(minutes - hours * 60, 10);
  var formattedSeconds = parseInt(seconds - (formattedMinutes + hours * 60) * 60, 10);
  return "".concat(hours < 10 ? "0".concat(hours) : hours, ":").concat(formattedMinutes < 10 ? "0".concat(formattedMinutes) : formattedMinutes, ":").concat(formattedSeconds < 10 ? "0".concat(formattedSeconds) : formattedSeconds);
};
var countPercents = function countPercents(part, full) {
  return part / full * 100;
};
var thousandsCut = function thousandsCut(n) {
  var targetValue = n;
  var k = '';
  while (targetValue >= 1000) {
    targetValue /= 1000;
    k += 'к';
  }
  return Math.floor(targetValue * 10) / 10 + k;
};
var _randomHelper = function randomHelper(min, max) {
  var excludedValues = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
  var randomValue = Math.floor(Math.random() * (max - 1 - min + 1) + min);
  if (Array.isArray(excludedValues) && excludedValues.includes(randomValue)) {
    return _randomHelper(min, max, excludedValues);
  }
  return randomValue;
};

var intToRGBA = function intToRGBA(num) {
  var cachedNum = num;
  cachedNum >>>= 0;
  var r = (cachedNum & 0xFF000000) >>> 24;
  var g = (cachedNum & 0xFF0000) >>> 16;
  var b = (cachedNum & 0xFF00) >>> 8;
  var a = cachedNum & 0xFF / 255;
  return "rgba(".concat(r, ", ").concat(g, ", ").concat(b, ", ").concat(a, ")");
};
var copyToClipboard = function copyToClipboard(text) {
  var dummy = document.createElement('textarea');
  document.body.appendChild(dummy);
  dummy.value = text;
  dummy.select();
  document.execCommand('copy');
  document.body.removeChild(dummy);
};
var unicodeFormatToEmoji = function unicodeFormatToEmoji(text) {
  return text.replace(/:u([0-9A-Fa-f]{4,5}):/g, function (match, code) {
    return String.fromCodePoint(parseInt(code, 16));
  });
};
;// CONCATENATED MODULE: ./src/views/drift-rating/img/car.svg
const car_namespaceObject = __webpack_require__.p + "assets/13fc54ac54065dea2694.svg";
;// CONCATENATED MODULE: ./src/views/drift-rating/components/star-icon/index.svelte
/* src\views\drift-rating\components\star-icon\index.svelte generated by Svelte v3.49.0 */


function star_icon_index_svelte_create_fragment(ctx) {
	let svg;
	let g;
	let circle;
	let path;
	let defs;
	let filter;
	let feFlood;
	let feBlend;
	let feGaussianBlur;

	return {
		c() {
			svg = svg_element("svg");
			g = svg_element("g");
			circle = svg_element("circle");
			path = svg_element("path");
			defs = svg_element("defs");
			filter = svg_element("filter");
			feFlood = svg_element("feFlood");
			feBlend = svg_element("feBlend");
			feGaussianBlur = svg_element("feGaussianBlur");
			attr(circle, "cx", "35");
			attr(circle, "cy", "35");
			attr(circle, "r", "15");
			attr(circle, "fill", /*color*/ ctx[0]);
			attr(circle, "fill-opacity", "0.5");
			attr(g, "filter", "url(#filter0_f_3036_208)");
			attr(path, "d", "M33.5734 16.0086C34.0224 14.6266 35.9776 14.6266 36.4266 16.0086L39.6883 26.0471C40.023 27.0772 40.9829 27.7746 42.0659 27.7746H52.621C54.0741 27.7746 54.6783 29.634 53.5027 30.4881L44.9635 36.6922C44.0872 37.3289 43.7206 38.4573 44.0553 39.4873L47.317 49.5258C47.766 50.9078 46.1843 52.057 45.0087 51.2029L36.4695 44.9987C35.5932 44.3621 34.4068 44.3621 33.5305 44.9987L24.9913 51.2029C23.8157 52.057 22.234 50.9078 22.683 49.5258L25.9447 39.4873C26.2794 38.4573 25.9128 37.3288 25.0365 36.6922L16.4973 30.4881C15.3217 29.634 15.9259 27.7746 17.379 27.7746H27.9341C29.0171 27.7746 29.977 27.0772 30.3117 26.0471L33.5734 16.0086Z");
			attr(path, "stroke", /*color*/ ctx[0]);
			attr(feFlood, "flood-opacity", "0");
			attr(feFlood, "result", "BackgroundImageFix");
			attr(feBlend, "mode", "normal");
			attr(feBlend, "in", "SourceGraphic");
			attr(feBlend, "in2", "BackgroundImageFix");
			attr(feBlend, "result", "shape");
			attr(feGaussianBlur, "stdDeviation", "10");
			attr(feGaussianBlur, "result", "effect1_foregroundBlur_3036_208");
			attr(filter, "id", "filter0_f_3036_208");
			attr(filter, "x", "0");
			attr(filter, "y", "0");
			attr(filter, "width", "70");
			attr(filter, "height", "70");
			attr(filter, "filterUnits", "userSpaceOnUse");
			attr(filter, "color-interpolation-filters", "sRGB");
			attr(svg, "width", "70");
			attr(svg, "height", "70");
			attr(svg, "viewBox", "0 0 70 70");
			attr(svg, "fill", "none");
			attr(svg, "xmlns", "http://www.w3.org/2000/svg");
		},
		m(target, anchor) {
			insert(target, svg, anchor);
			append(svg, g);
			append(g, circle);
			append(svg, path);
			append(svg, defs);
			append(defs, filter);
			append(filter, feFlood);
			append(filter, feBlend);
			append(filter, feGaussianBlur);
		},
		p(ctx, [dirty]) {
			if (dirty & /*color*/ 1) {
				attr(circle, "fill", /*color*/ ctx[0]);
			}

			if (dirty & /*color*/ 1) {
				attr(path, "stroke", /*color*/ ctx[0]);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(svg);
		}
	};
}

function star_icon_index_svelte_instance($$self, $$props, $$invalidate) {
	let { color = '#FFFFFF' } = $$props;

	$$self.$$set = $$props => {
		if ('color' in $$props) $$invalidate(0, color = $$props.color);
	};

	return [color];
}

class Star_icon extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, star_icon_index_svelte_instance, star_icon_index_svelte_create_fragment, safe_not_equal, { color: 0 });
	}
}

/* harmony default export */ const star_icon_index_svelte = (Star_icon);
;// CONCATENATED MODULE: ./src/views/drift-rating/constants.js
var MAP_POSITION_TO_COLOR = {
  1: '#F2C94C',
  2: '#FFFFFF',
  3: '#C89D75'
};
;// CONCATENATED MODULE: ./src/views/drift-rating/index.svelte
/* src\views\drift-rating\index.svelte generated by Svelte v3.49.0 */











function drift_rating_index_svelte_add_css(target) {
	append_styles(target, "svelte-80mvpo", "@keyframes svelte-80mvpo-blinking{50%{opacity:0}}@keyframes svelte-80mvpo-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-80mvpo-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-80mvpo-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-80mvpo-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-80mvpo-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-80mvpo-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-80mvpo-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-80mvpo-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-80mvpo-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-80mvpo-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-80mvpo-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-80mvpo-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-80mvpo-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-80mvpo-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.drift-rating.svelte-80mvpo{display:flex;align-items:center;justify-content:center;width:100vw;height:100vh;background:rgba(54, 61, 71, 0.75)}.drift-rating__title.svelte-80mvpo{display:flex;align-items:center;justify-content:center;position:absolute;font-family:\"GothamPro-BoldItalic\";color:#FFFFFF;text-align:center;font-size:calc(0.0125 * 100vw + 0px);top:calc(0.0520833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__title.svelte-80mvpo{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__title.svelte-80mvpo{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__title.svelte-80mvpo{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__title.svelte-80mvpo{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__title.svelte-80mvpo{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__title.svelte-80mvpo{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__title.svelte-80mvpo{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__title.svelte-80mvpo{top:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__title.svelte-80mvpo{top:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__title.svelte-80mvpo{top:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__title.svelte-80mvpo{top:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__title.svelte-80mvpo{top:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__title.svelte-80mvpo{top:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__title.svelte-80mvpo{top:calc(0.0572916667 * 100vw + 0px)}}.drift-rating__title.svelte-80mvpo::before{content:\"RDS\";position:absolute;color:transparent;-webkit-text-stroke:1px rgba(255, 255, 255, 0.35);font-size:calc(0.05 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__title.svelte-80mvpo::before{font-size:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__title.svelte-80mvpo::before{font-size:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__title.svelte-80mvpo::before{font-size:calc(0.0385 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__title.svelte-80mvpo::before{font-size:calc(0.055 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__title.svelte-80mvpo::before{font-size:calc(0.035 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__title.svelte-80mvpo::before{font-size:calc(0.045 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__title.svelte-80mvpo::before{font-size:calc(0.055 * 100vw + 0px)}}.drift-rating__decorative-image.svelte-80mvpo{position:absolute;left:calc(0.0208333333 * 100vw + 0px);width:calc(0.203125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__decorative-image.svelte-80mvpo{left:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__decorative-image.svelte-80mvpo{left:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__decorative-image.svelte-80mvpo{left:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__decorative-image.svelte-80mvpo{left:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__decorative-image.svelte-80mvpo{left:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__decorative-image.svelte-80mvpo{left:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__decorative-image.svelte-80mvpo{left:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__decorative-image.svelte-80mvpo{width:calc(0.203125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__decorative-image.svelte-80mvpo{width:calc(0.203125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__decorative-image.svelte-80mvpo{width:calc(0.15640625 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__decorative-image.svelte-80mvpo{width:calc(0.2234375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__decorative-image.svelte-80mvpo{width:calc(0.1421875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__decorative-image.svelte-80mvpo{width:calc(0.1828125 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__decorative-image.svelte-80mvpo{width:calc(0.2234375 * 100vw + 0px)}}.drift-rating__player-rank-wrapper.svelte-80mvpo{display:flex;flex-direction:column;position:absolute;left:calc(0.1041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__player-rank-wrapper.svelte-80mvpo{left:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__player-rank-wrapper.svelte-80mvpo{left:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__player-rank-wrapper.svelte-80mvpo{left:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__player-rank-wrapper.svelte-80mvpo{left:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__player-rank-wrapper.svelte-80mvpo{left:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__player-rank-wrapper.svelte-80mvpo{left:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__player-rank-wrapper.svelte-80mvpo{left:calc(0.1145833333 * 100vw + 0px)}}.drift-rating__player-rank-title.svelte-80mvpo{display:flex;justify-content:space-between;align-items:center}.drift-rating__player-rank-name.svelte-80mvpo{font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.021875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__player-rank-name.svelte-80mvpo{font-size:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__player-rank-name.svelte-80mvpo{font-size:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__player-rank-name.svelte-80mvpo{font-size:calc(0.01684375 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__player-rank-name.svelte-80mvpo{font-size:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__player-rank-name.svelte-80mvpo{font-size:calc(0.0153125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__player-rank-name.svelte-80mvpo{font-size:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__player-rank-name.svelte-80mvpo{font-size:calc(0.0240625 * 100vw + 0px)}}.drift-rating__player-score.svelte-80mvpo{display:flex;flex-direction:column;align-items:center;text-align:center}.drift-rating__player-score-num.svelte-80mvpo{border-radius:25px;font-family:\"GothamPro-Medium\";background-color:rgba(255, 255, 255, 0.1);color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px);padding-top:calc(0.0072916667 * 100vw + 0px);padding-bottom:calc(0.0072916667 * 100vw + 0px);width:calc(0.0494791667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__player-score-num.svelte-80mvpo{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__player-score-num.svelte-80mvpo{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__player-score-num.svelte-80mvpo{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__player-score-num.svelte-80mvpo{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__player-score-num.svelte-80mvpo{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__player-score-num.svelte-80mvpo{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__player-score-num.svelte-80mvpo{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__player-score-num.svelte-80mvpo{padding-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__player-score-num.svelte-80mvpo{padding-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__player-score-num.svelte-80mvpo{padding-top:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__player-score-num.svelte-80mvpo{padding-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__player-score-num.svelte-80mvpo{padding-top:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__player-score-num.svelte-80mvpo{padding-top:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__player-score-num.svelte-80mvpo{padding-top:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__player-score-num.svelte-80mvpo{padding-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__player-score-num.svelte-80mvpo{padding-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__player-score-num.svelte-80mvpo{padding-bottom:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__player-score-num.svelte-80mvpo{padding-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__player-score-num.svelte-80mvpo{padding-bottom:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__player-score-num.svelte-80mvpo{padding-bottom:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__player-score-num.svelte-80mvpo{padding-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__player-score-num.svelte-80mvpo{width:calc(0.0494791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__player-score-num.svelte-80mvpo{width:calc(0.0494791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__player-score-num.svelte-80mvpo{width:calc(0.0380989583 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__player-score-num.svelte-80mvpo{width:calc(0.0544270833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__player-score-num.svelte-80mvpo{width:calc(0.0346354167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__player-score-num.svelte-80mvpo{width:calc(0.04453125 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__player-score-num.svelte-80mvpo{width:calc(0.0544270833 * 100vw + 0px)}}.drift-rating__player-score-place.svelte-80mvpo{text-align:center;text-transform:uppercase;color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.0052083333 * 100vw + 0px);line-height:calc(0.0052083333 * 100vw + 0px);margin-top:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__player-score-place.svelte-80mvpo{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__player-score-place.svelte-80mvpo{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__player-score-place.svelte-80mvpo{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__player-score-place.svelte-80mvpo{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__player-score-place.svelte-80mvpo{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__player-score-place.svelte-80mvpo{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__player-score-place.svelte-80mvpo{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__player-score-place.svelte-80mvpo{line-height:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__player-score-place.svelte-80mvpo{line-height:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__player-score-place.svelte-80mvpo{line-height:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__player-score-place.svelte-80mvpo{line-height:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__player-score-place.svelte-80mvpo{line-height:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__player-score-place.svelte-80mvpo{line-height:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__player-score-place.svelte-80mvpo{line-height:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__player-score-place.svelte-80mvpo{margin-top:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__player-score-place.svelte-80mvpo{margin-top:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__player-score-place.svelte-80mvpo{margin-top:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__player-score-place.svelte-80mvpo{margin-top:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__player-score-place.svelte-80mvpo{margin-top:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__player-score-place.svelte-80mvpo{margin-top:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__player-score-place.svelte-80mvpo{margin-top:calc(0.006875 * 100vw + 0px)}}.drift-rating__player-rank-progress.svelte-80mvpo{display:flex;align-items:center;position:relative;background-color:rgba(255, 255, 255, 0.2);overflow:hidden;margin-top:calc(0.0114583333 * 100vw + 0px);margin-bottom:calc(0.0104166667 * 100vw + 0px);width:calc(0.2604166667 * 100vw + 0px);height:calc(0.0052083333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__player-rank-progress.svelte-80mvpo{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__player-rank-progress.svelte-80mvpo{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__player-rank-progress.svelte-80mvpo{margin-top:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__player-rank-progress.svelte-80mvpo{margin-top:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__player-rank-progress.svelte-80mvpo{margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__player-rank-progress.svelte-80mvpo{margin-top:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__player-rank-progress.svelte-80mvpo{margin-top:calc(0.0126041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__player-rank-progress.svelte-80mvpo{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__player-rank-progress.svelte-80mvpo{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__player-rank-progress.svelte-80mvpo{margin-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__player-rank-progress.svelte-80mvpo{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__player-rank-progress.svelte-80mvpo{margin-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__player-rank-progress.svelte-80mvpo{margin-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__player-rank-progress.svelte-80mvpo{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__player-rank-progress.svelte-80mvpo{width:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__player-rank-progress.svelte-80mvpo{width:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__player-rank-progress.svelte-80mvpo{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__player-rank-progress.svelte-80mvpo{width:calc(0.2864583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__player-rank-progress.svelte-80mvpo{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__player-rank-progress.svelte-80mvpo{width:calc(0.234375 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__player-rank-progress.svelte-80mvpo{width:calc(0.2864583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__player-rank-progress.svelte-80mvpo{height:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__player-rank-progress.svelte-80mvpo{height:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__player-rank-progress.svelte-80mvpo{height:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__player-rank-progress.svelte-80mvpo{height:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__player-rank-progress.svelte-80mvpo{height:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__player-rank-progress.svelte-80mvpo{height:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__player-rank-progress.svelte-80mvpo{height:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__player-rank-progress.svelte-80mvpo{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__player-rank-progress.svelte-80mvpo{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__player-rank-progress.svelte-80mvpo{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__player-rank-progress.svelte-80mvpo{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__player-rank-progress.svelte-80mvpo{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__player-rank-progress.svelte-80mvpo{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__player-rank-progress.svelte-80mvpo{border-radius:calc(0.0057291667 * 100vw + 0px)}}.drift-rating__player-rank-progress-value.svelte-80mvpo{background-color:#FFFFFF;position:absolute;left:0;height:100%;width:0}.drift-rating__player-exp-wrapper.svelte-80mvpo{text-align:center;font-family:\"GothamPro\";color:rgba(255, 255, 255, 0.5);font-size:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__player-exp-wrapper.svelte-80mvpo{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__player-exp-wrapper.svelte-80mvpo{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__player-exp-wrapper.svelte-80mvpo{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__player-exp-wrapper.svelte-80mvpo{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__player-exp-wrapper.svelte-80mvpo{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__player-exp-wrapper.svelte-80mvpo{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__player-exp-wrapper.svelte-80mvpo{font-size:calc(0.00859375 * 100vw + 0px)}}.drift-rating__player-exp-light.svelte-80mvpo{color:#FFFFFF}.drift-rating__player-exp-sup.svelte-80mvpo{vertical-align:super;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__player-exp-sup.svelte-80mvpo{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__player-exp-sup.svelte-80mvpo{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__player-exp-sup.svelte-80mvpo{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__player-exp-sup.svelte-80mvpo{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__player-exp-sup.svelte-80mvpo{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__player-exp-sup.svelte-80mvpo{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__player-exp-sup.svelte-80mvpo{font-size:calc(0.0057291667 * 100vw + 0px)}}.drift-rating__player-rank-info.svelte-80mvpo{font-family:\"GothamPro\";color:rgba(255, 255, 255, 0.5);font-size:calc(0.009375 * 100vw + 0px);line-height:calc(0.0125 * 100vw + 0px);margin-top:calc(0.0260416667 * 100vw + 0px);width:calc(0.2453125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__player-rank-info.svelte-80mvpo{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__player-rank-info.svelte-80mvpo{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__player-rank-info.svelte-80mvpo{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__player-rank-info.svelte-80mvpo{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__player-rank-info.svelte-80mvpo{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__player-rank-info.svelte-80mvpo{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__player-rank-info.svelte-80mvpo{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__player-rank-info.svelte-80mvpo{line-height:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__player-rank-info.svelte-80mvpo{line-height:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__player-rank-info.svelte-80mvpo{line-height:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__player-rank-info.svelte-80mvpo{line-height:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__player-rank-info.svelte-80mvpo{line-height:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__player-rank-info.svelte-80mvpo{line-height:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__player-rank-info.svelte-80mvpo{line-height:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__player-rank-info.svelte-80mvpo{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__player-rank-info.svelte-80mvpo{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__player-rank-info.svelte-80mvpo{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__player-rank-info.svelte-80mvpo{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__player-rank-info.svelte-80mvpo{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__player-rank-info.svelte-80mvpo{margin-top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__player-rank-info.svelte-80mvpo{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__player-rank-info.svelte-80mvpo{width:calc(0.2453125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__player-rank-info.svelte-80mvpo{width:calc(0.2453125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__player-rank-info.svelte-80mvpo{width:calc(0.188890625 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__player-rank-info.svelte-80mvpo{width:calc(0.26984375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__player-rank-info.svelte-80mvpo{width:calc(0.17171875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__player-rank-info.svelte-80mvpo{width:calc(0.22078125 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__player-rank-info.svelte-80mvpo{width:calc(0.26984375 * 100vw + 0px)}}.drift-rating__table-wrapper.svelte-80mvpo{display:flex;flex-direction:column;position:absolute;right:calc(0.03125 * 100vw + 0px);bottom:calc(0.03125 * 100vw + 0px);width:calc(0.46875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__table-wrapper.svelte-80mvpo{right:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__table-wrapper.svelte-80mvpo{right:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__table-wrapper.svelte-80mvpo{right:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__table-wrapper.svelte-80mvpo{right:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__table-wrapper.svelte-80mvpo{right:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__table-wrapper.svelte-80mvpo{right:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__table-wrapper.svelte-80mvpo{right:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__table-wrapper.svelte-80mvpo{bottom:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__table-wrapper.svelte-80mvpo{bottom:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__table-wrapper.svelte-80mvpo{bottom:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__table-wrapper.svelte-80mvpo{bottom:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__table-wrapper.svelte-80mvpo{bottom:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__table-wrapper.svelte-80mvpo{bottom:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__table-wrapper.svelte-80mvpo{bottom:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__table-wrapper.svelte-80mvpo{width:calc(0.46875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__table-wrapper.svelte-80mvpo{width:calc(0.46875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__table-wrapper.svelte-80mvpo{width:calc(0.3609375 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__table-wrapper.svelte-80mvpo{width:calc(0.515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__table-wrapper.svelte-80mvpo{width:calc(0.328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__table-wrapper.svelte-80mvpo{width:calc(0.421875 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__table-wrapper.svelte-80mvpo{width:calc(0.515625 * 100vw + 0px)}}.drift-rating__table-title.svelte-80mvpo{font-family:\"GothamPro-Bold\";color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__table-title.svelte-80mvpo{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__table-title.svelte-80mvpo{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__table-title.svelte-80mvpo{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__table-title.svelte-80mvpo{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__table-title.svelte-80mvpo{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__table-title.svelte-80mvpo{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__table-title.svelte-80mvpo{font-size:calc(0.0114583333 * 100vw + 0px)}}.drift-rating__table.svelte-80mvpo{margin-top:calc(0.0130208333 * 100vw + 0px);height:calc(0.3776041667 * 100vw + 0px);overflow:auto}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__table.svelte-80mvpo{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__table.svelte-80mvpo{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__table.svelte-80mvpo{margin-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__table.svelte-80mvpo{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__table.svelte-80mvpo{margin-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__table.svelte-80mvpo{margin-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__table.svelte-80mvpo{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__table.svelte-80mvpo{height:calc(0.3776041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__table.svelte-80mvpo{height:calc(0.3776041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__table.svelte-80mvpo{height:calc(0.2907552083 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__table.svelte-80mvpo{height:calc(0.4153645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__table.svelte-80mvpo{height:calc(0.2643229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__table.svelte-80mvpo{height:calc(0.33984375 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__table.svelte-80mvpo{height:calc(0.4153645833 * 100vw + 0px)}}.drift-rating__table.svelte-80mvpo::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__table.svelte-80mvpo::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__table.svelte-80mvpo::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__table.svelte-80mvpo::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__table.svelte-80mvpo::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__table.svelte-80mvpo::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__table.svelte-80mvpo::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__table.svelte-80mvpo::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__table.svelte-80mvpo::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__table.svelte-80mvpo::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__table.svelte-80mvpo::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__table.svelte-80mvpo::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__table.svelte-80mvpo::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__table.svelte-80mvpo::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__table.svelte-80mvpo::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.drift-rating__table.svelte-80mvpo::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__table.svelte-80mvpo::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__table.svelte-80mvpo::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__table.svelte-80mvpo::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__table.svelte-80mvpo::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__table.svelte-80mvpo::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__table.svelte-80mvpo::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__table.svelte-80mvpo::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.drift-rating__table.svelte-80mvpo::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__table.svelte-80mvpo::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__table.svelte-80mvpo::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__table.svelte-80mvpo::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__table.svelte-80mvpo::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__table.svelte-80mvpo::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__table.svelte-80mvpo::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__table.svelte-80mvpo::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}.drift-rating__table-player.svelte-80mvpo{display:flex;justify-content:flex-start;align-items:center;height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__table-player.svelte-80mvpo{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__table-player.svelte-80mvpo{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__table-player.svelte-80mvpo{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__table-player.svelte-80mvpo{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__table-player.svelte-80mvpo{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__table-player.svelte-80mvpo{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__table-player.svelte-80mvpo{height:calc(0.0286458333 * 100vw + 0px)}}.drift-rating__table-player.svelte-80mvpo:not(:first-child){margin-top:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__table-player.svelte-80mvpo:not(:first-child){margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__table-player.svelte-80mvpo:not(:first-child){margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__table-player.svelte-80mvpo:not(:first-child){margin-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__table-player.svelte-80mvpo:not(:first-child){margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__table-player.svelte-80mvpo:not(:first-child){margin-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__table-player.svelte-80mvpo:not(:first-child){margin-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__table-player.svelte-80mvpo:not(:first-child){margin-top:calc(0.0143229167 * 100vw + 0px)}}.drift-rating__player-position.svelte-80mvpo{display:flex;justify-content:center;align-items:center;position:relative;width:calc(0.0364583333 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__player-position.svelte-80mvpo{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__player-position.svelte-80mvpo{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__player-position.svelte-80mvpo{width:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__player-position.svelte-80mvpo{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__player-position.svelte-80mvpo{width:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__player-position.svelte-80mvpo{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__player-position.svelte-80mvpo{width:calc(0.0401041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__player-position.svelte-80mvpo{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__player-position.svelte-80mvpo{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__player-position.svelte-80mvpo{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__player-position.svelte-80mvpo{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__player-position.svelte-80mvpo{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__player-position.svelte-80mvpo{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__player-position.svelte-80mvpo{height:calc(0.0286458333 * 100vw + 0px)}}.drift-rating__position-wrapper.svelte-80mvpo{position:absolute;background-color:rgba(255, 255, 255, 0.1);border-radius:50%;width:calc(0.015625 * 100vw + 0px);height:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__position-wrapper.svelte-80mvpo{width:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__position-wrapper.svelte-80mvpo{width:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__position-wrapper.svelte-80mvpo{width:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__position-wrapper.svelte-80mvpo{width:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__position-wrapper.svelte-80mvpo{width:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__position-wrapper.svelte-80mvpo{width:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__position-wrapper.svelte-80mvpo{width:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__position-wrapper.svelte-80mvpo{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__position-wrapper.svelte-80mvpo{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__position-wrapper.svelte-80mvpo{height:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__position-wrapper.svelte-80mvpo{height:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__position-wrapper.svelte-80mvpo{height:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__position-wrapper.svelte-80mvpo{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__position-wrapper.svelte-80mvpo{height:calc(0.0171875 * 100vw + 0px)}}.drift-rating__position-star-wrapper.svelte-80mvpo{display:flex;align-items:center;justify-content:center;position:absolute;width:calc(0.0364583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__position-star-wrapper.svelte-80mvpo{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__position-star-wrapper.svelte-80mvpo{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__position-star-wrapper.svelte-80mvpo{width:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__position-star-wrapper.svelte-80mvpo{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__position-star-wrapper.svelte-80mvpo{width:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__position-star-wrapper.svelte-80mvpo{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__position-star-wrapper.svelte-80mvpo{width:calc(0.0401041667 * 100vw + 0px)}}.drift-rating__position-value.svelte-80mvpo{font-family:\"GothamPro-Bold\";color:#FFFFFF;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__position-value.svelte-80mvpo{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__position-value.svelte-80mvpo{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__position-value.svelte-80mvpo{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__position-value.svelte-80mvpo{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__position-value.svelte-80mvpo{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__position-value.svelte-80mvpo{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__position-value.svelte-80mvpo{font-size:calc(0.0091666667 * 100vw + 0px)}}.drift-rating__position-value--big.svelte-80mvpo{font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__position-value--big.svelte-80mvpo{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__position-value--big.svelte-80mvpo{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__position-value--big.svelte-80mvpo{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__position-value--big.svelte-80mvpo{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__position-value--big.svelte-80mvpo{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__position-value--big.svelte-80mvpo{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__position-value--big.svelte-80mvpo{font-size:calc(0.0114583333 * 100vw + 0px)}}.drift-rating__position-player-name.svelte-80mvpo{color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.0078125 * 100vw + 0px);margin-left:calc(0.0104166667 * 100vw + 0px);width:calc(0.09375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__position-player-name.svelte-80mvpo{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__position-player-name.svelte-80mvpo{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__position-player-name.svelte-80mvpo{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__position-player-name.svelte-80mvpo{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__position-player-name.svelte-80mvpo{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__position-player-name.svelte-80mvpo{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__position-player-name.svelte-80mvpo{font-size:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__position-player-name.svelte-80mvpo{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__position-player-name.svelte-80mvpo{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__position-player-name.svelte-80mvpo{margin-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__position-player-name.svelte-80mvpo{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__position-player-name.svelte-80mvpo{margin-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__position-player-name.svelte-80mvpo{margin-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__position-player-name.svelte-80mvpo{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__position-player-name.svelte-80mvpo{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__position-player-name.svelte-80mvpo{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__position-player-name.svelte-80mvpo{width:calc(0.0721875 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__position-player-name.svelte-80mvpo{width:calc(0.103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__position-player-name.svelte-80mvpo{width:calc(0.065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__position-player-name.svelte-80mvpo{width:calc(0.084375 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__position-player-name.svelte-80mvpo{width:calc(0.103125 * 100vw + 0px)}}.drift-rating__position-score.svelte-80mvpo{display:flex;flex-direction:column;font-family:\"GothamPro\";width:calc(0.0833333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__position-score.svelte-80mvpo{width:calc(0.0833333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__position-score.svelte-80mvpo{width:calc(0.0833333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__position-score.svelte-80mvpo{width:calc(0.0641666667 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__position-score.svelte-80mvpo{width:calc(0.0916666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__position-score.svelte-80mvpo{width:calc(0.0583333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__position-score.svelte-80mvpo{width:calc(0.075 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__position-score.svelte-80mvpo{width:calc(0.0916666667 * 100vw + 0px)}}.drift-rating__position-car.svelte-80mvpo{display:flex;flex-direction:column;font-family:\"GothamPro\";width:calc(0.0833333333 * 100vw + 0px);margin-left:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__position-car.svelte-80mvpo{width:calc(0.0833333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__position-car.svelte-80mvpo{width:calc(0.0833333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__position-car.svelte-80mvpo{width:calc(0.0641666667 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__position-car.svelte-80mvpo{width:calc(0.0916666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__position-car.svelte-80mvpo{width:calc(0.0583333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__position-car.svelte-80mvpo{width:calc(0.075 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__position-car.svelte-80mvpo{width:calc(0.0916666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__position-car.svelte-80mvpo{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__position-car.svelte-80mvpo{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__position-car.svelte-80mvpo{margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__position-car.svelte-80mvpo{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__position-car.svelte-80mvpo{margin-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__position-car.svelte-80mvpo{margin-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__position-car.svelte-80mvpo{margin-left:calc(0.0057291667 * 100vw + 0px)}}.drift-rating__position-rank.svelte-80mvpo{display:flex;flex-direction:column;font-family:\"GothamPro\";width:calc(0.0833333333 * 100vw + 0px);margin-left:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__position-rank.svelte-80mvpo{width:calc(0.0833333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__position-rank.svelte-80mvpo{width:calc(0.0833333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__position-rank.svelte-80mvpo{width:calc(0.0641666667 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__position-rank.svelte-80mvpo{width:calc(0.0916666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__position-rank.svelte-80mvpo{width:calc(0.0583333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__position-rank.svelte-80mvpo{width:calc(0.075 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__position-rank.svelte-80mvpo{width:calc(0.0916666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__position-rank.svelte-80mvpo{margin-left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__position-rank.svelte-80mvpo{margin-left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__position-rank.svelte-80mvpo{margin-left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__position-rank.svelte-80mvpo{margin-left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__position-rank.svelte-80mvpo{margin-left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__position-rank.svelte-80mvpo{margin-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__position-rank.svelte-80mvpo{margin-left:calc(0.0286458333 * 100vw + 0px)}}.drift-rating__position-score-title.svelte-80mvpo{color:#FFFFFF;font-size:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__position-score-title.svelte-80mvpo{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__position-score-title.svelte-80mvpo{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__position-score-title.svelte-80mvpo{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__position-score-title.svelte-80mvpo{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__position-score-title.svelte-80mvpo{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__position-score-title.svelte-80mvpo{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__position-score-title.svelte-80mvpo{font-size:calc(0.00859375 * 100vw + 0px)}}.drift-rating__position-score-descr.svelte-80mvpo{color:rgba(255, 255, 255, 0.5);margin-top:calc(0.0026041667 * 100vw + 0px);font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__position-score-descr.svelte-80mvpo{margin-top:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__position-score-descr.svelte-80mvpo{margin-top:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__position-score-descr.svelte-80mvpo{margin-top:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__position-score-descr.svelte-80mvpo{margin-top:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__position-score-descr.svelte-80mvpo{margin-top:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__position-score-descr.svelte-80mvpo{margin-top:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__position-score-descr.svelte-80mvpo{margin-top:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.drift-rating__position-score-descr.svelte-80mvpo{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.drift-rating__position-score-descr.svelte-80mvpo{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.drift-rating__position-score-descr.svelte-80mvpo{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.drift-rating__position-score-descr.svelte-80mvpo{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.drift-rating__position-score-descr.svelte-80mvpo{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.drift-rating__position-score-descr.svelte-80mvpo{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.drift-rating__position-score-descr.svelte-80mvpo{font-size:calc(0.0057291667 * 100vw + 0px)}}");
}

function get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[7] = list[i];
	return child_ctx;
}

// (2347:4) {#if !isEmpty(currentPlayerInformation)}
function index_svelte_create_if_block(ctx) {
	let div4;
	let div1;
	let h2;
	let t0_value = /*currentPlayerInformation*/ ctx[0].rank + "";
	let t0;
	let t1;
	let div0;
	let p0;
	let t2_value = /*currentPlayerInformation*/ ctx[0].position + "";
	let t2;
	let t3;
	let p1;
	let t5;
	let div3;
	let div2;
	let div2_style_value;
	let t6;
	let p2;
	let span;
	let t7_value = formatMoney(/*currentPlayerInformation*/ ctx[0].exp) + "";
	let t7;
	let t8;
	let t9_value = formatMoney(/*currentPlayerInformation*/ ctx[0].maxExp) + "";
	let t9;
	let t10;
	let sup;
	let t12;
	let p3;
	let t16;
	let div6;
	let p4;
	let t18;
	let div5;
	let current;
	let each_value = /*rating*/ ctx[1];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			div4 = internal_element("div");
			div1 = internal_element("div");
			h2 = internal_element("h2");
			t0 = internal_text(t0_value);
			t1 = space();
			div0 = internal_element("div");
			p0 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = space();
			p1 = internal_element("p");
			p1.textContent = "Место в рейтинге";
			t5 = space();
			div3 = internal_element("div");
			div2 = internal_element("div");
			t6 = space();
			p2 = internal_element("p");
			span = internal_element("span");
			t7 = internal_text(t7_value);
			t8 = internal_text("\r\n                / ");
			t9 = internal_text(t9_value);
			t10 = space();
			sup = internal_element("sup");
			sup.textContent = "exp";
			t12 = space();
			p3 = internal_element("p");

			p3.innerHTML = `Набирайте очки дрифта, чтобы повышать свое
                <br/>
                мастерство и завоюйте лидирующие строчки топа
                <br/>
                мастеров дрифта`;

			t16 = space();
			div6 = internal_element("div");
			p4 = internal_element("p");
			p4.textContent = "Мастера дрифта";
			t18 = space();
			div5 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(h2, "class", "drift-rating__player-rank-name svelte-80mvpo");
			attr(p0, "class", "drift-rating__player-score-num svelte-80mvpo");
			attr(p1, "class", "drift-rating__player-score-place svelte-80mvpo");
			attr(div0, "class", "drift-rating__player-score svelte-80mvpo");
			attr(div1, "class", "drift-rating__player-rank-title svelte-80mvpo");
			attr(div2, "class", "drift-rating__player-rank-progress-value svelte-80mvpo");
			attr(div2, "style", div2_style_value = `width: ${/*currentPlayerInformation*/ ctx[0].exp / (/*currentPlayerInformation*/ ctx[0].maxExp / 100)}%;`);
			attr(div3, "class", "drift-rating__player-rank-progress svelte-80mvpo");
			attr(span, "class", "drift-rating__player-exp-light svelte-80mvpo");
			attr(sup, "class", "drift-rating__player-exp-sup svelte-80mvpo");
			attr(p2, "class", "drift-rating__player-exp-wrapper svelte-80mvpo");
			attr(p3, "class", "drift-rating__player-rank-info svelte-80mvpo");
			attr(div4, "class", "drift-rating__player-rank-wrapper svelte-80mvpo");
			attr(p4, "class", "drift-rating__table-title svelte-80mvpo");
			attr(div5, "class", "drift-rating__table svelte-80mvpo");
			attr(div6, "class", "drift-rating__table-wrapper svelte-80mvpo");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div1);
			append(div1, h2);
			append(h2, t0);
			append(div1, t1);
			append(div1, div0);
			append(div0, p0);
			append(p0, t2);
			append(div0, t3);
			append(div0, p1);
			append(div4, t5);
			append(div4, div3);
			append(div3, div2);
			append(div4, t6);
			append(div4, p2);
			append(p2, span);
			append(span, t7);
			append(p2, t8);
			append(p2, t9);
			append(p2, t10);
			append(p2, sup);
			append(div4, t12);
			append(div4, p3);
			insert(target, t16, anchor);
			insert(target, div6, anchor);
			append(div6, p4);
			append(div6, t18);
			append(div6, div5);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div5, null);
			}

			current = true;
		},
		p(ctx, dirty) {
			if ((!current || dirty & /*currentPlayerInformation*/ 1) && t0_value !== (t0_value = /*currentPlayerInformation*/ ctx[0].rank + "")) set_data(t0, t0_value);
			if ((!current || dirty & /*currentPlayerInformation*/ 1) && t2_value !== (t2_value = /*currentPlayerInformation*/ ctx[0].position + "")) set_data(t2, t2_value);

			if (!current || dirty & /*currentPlayerInformation*/ 1 && div2_style_value !== (div2_style_value = `width: ${/*currentPlayerInformation*/ ctx[0].exp / (/*currentPlayerInformation*/ ctx[0].maxExp / 100)}%;`)) {
				attr(div2, "style", div2_style_value);
			}

			if ((!current || dirty & /*currentPlayerInformation*/ 1) && t7_value !== (t7_value = formatMoney(/*currentPlayerInformation*/ ctx[0].exp) + "")) set_data(t7, t7_value);
			if ((!current || dirty & /*currentPlayerInformation*/ 1) && t9_value !== (t9_value = formatMoney(/*currentPlayerInformation*/ ctx[0].maxExp) + "")) set_data(t9, t9_value);

			if (dirty & /*rating, formatMoney, MAP_POSITION_TO_COLOR*/ 2) {
				each_value = /*rating*/ ctx[1];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div5, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div4);
			if (detaching) detach(t16);
			if (detaching) detach(div6);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (2401:24) {:else}
function create_else_block(ctx) {
	let div1;
	let div0;
	let t0;
	let span;
	let t1_value = /*row*/ ctx[7].position + "";
	let t1;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			t0 = space();
			span = internal_element("span");
			t1 = internal_text(t1_value);
			attr(div0, "class", "drift-rating__position-wrapper svelte-80mvpo");
			attr(span, "class", "drift-rating__position-value svelte-80mvpo");
			attr(div1, "class", "drift-rating__player-position svelte-80mvpo");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div1, t0);
			append(div1, span);
			append(span, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*rating*/ 2 && t1_value !== (t1_value = /*row*/ ctx[7].position + "")) set_data(t1, t1_value);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (2392:24) {#if row.position <= 3}
function index_svelte_create_if_block_1(ctx) {
	let div1;
	let div0;
	let staricon;
	let t0;
	let span;
	let t1_value = /*row*/ ctx[7].position + "";
	let t1;
	let current;

	staricon = new star_icon_index_svelte({
			props: {
				color: MAP_POSITION_TO_COLOR[/*row*/ ctx[7].position]
			}
		});

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			create_component(staricon.$$.fragment);
			t0 = space();
			span = internal_element("span");
			t1 = internal_text(t1_value);
			attr(div0, "class", "drift-rating__position-star-wrapper svelte-80mvpo");
			attr(span, "class", "drift-rating__position-value drift-rating__position-value--big svelte-80mvpo");
			attr(div1, "class", "drift-rating__player-position svelte-80mvpo");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			mount_component(staricon, div0, null);
			append(div1, t0);
			append(div1, span);
			append(span, t1);
			current = true;
		},
		p(ctx, dirty) {
			const staricon_changes = {};
			if (dirty & /*rating*/ 2) staricon_changes.color = MAP_POSITION_TO_COLOR[/*row*/ ctx[7].position];
			staricon.$set(staricon_changes);
			if ((!current || dirty & /*rating*/ 2) && t1_value !== (t1_value = /*row*/ ctx[7].position + "")) set_data(t1, t1_value);
		},
		i(local) {
			if (current) return;
			transition_in(staricon.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(staricon.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			destroy_component(staricon);
		}
	};
}

// (2390:16) {#each rating as row}
function create_each_block(ctx) {
	let div3;
	let current_block_type_index;
	let if_block;
	let t0;
	let span;
	let t1_value = /*row*/ ctx[7].name + "";
	let t1;
	let t2;
	let div0;
	let p0;
	let t3_value = formatMoney(/*row*/ ctx[7].points) + "";
	let t3;
	let t4;
	let p1;
	let t6;
	let div1;
	let p2;
	let t7_value = /*row*/ ctx[7].vehicleTitle + "";
	let t7;
	let t8;
	let p3;
	let t10;
	let div2;
	let p4;
	let t11_value = /*row*/ ctx[7].rank + "";
	let t11;
	let t12;
	let p5;
	let p6;
	let t14;
	let current;
	const if_block_creators = [index_svelte_create_if_block_1, create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (/*row*/ ctx[7].position <= 3) return 0;
		return 1;
	}

	current_block_type_index = select_block_type(ctx, -1);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div3 = internal_element("div");
			if_block.c();
			t0 = space();
			span = internal_element("span");
			t1 = internal_text(t1_value);
			t2 = space();
			div0 = internal_element("div");
			p0 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = space();
			p1 = internal_element("p");
			p1.textContent = "Дрифт очков";
			t6 = space();
			div1 = internal_element("div");
			p2 = internal_element("p");
			t7 = internal_text(t7_value);
			t8 = space();
			p3 = internal_element("p");
			p3.textContent = "Автомобиль";
			t10 = space();
			div2 = internal_element("div");
			p4 = internal_element("p");
			t11 = internal_text(t11_value);
			t12 = space();
			p5 = internal_element("p");
			p6 = internal_element("p");
			p6.textContent = "Звание";
			t14 = space();
			attr(span, "class", "drift-rating__position-player-name svelte-80mvpo");
			attr(p0, "class", "drift-rating__position-score-title svelte-80mvpo");
			attr(p1, "class", "drift-rating__position-score-descr svelte-80mvpo");
			attr(div0, "class", "drift-rating__position-score svelte-80mvpo");
			attr(p2, "class", "drift-rating__position-score-title svelte-80mvpo");
			attr(p3, "class", "drift-rating__position-score-descr svelte-80mvpo");
			attr(div1, "class", "drift-rating__position-car svelte-80mvpo");
			attr(p4, "class", "drift-rating__position-score-title svelte-80mvpo");
			attr(p6, "class", "drift-rating__position-score-descr svelte-80mvpo");
			attr(div2, "class", "drift-rating__position-rank svelte-80mvpo");
			attr(div3, "class", "drift-rating__table-player svelte-80mvpo");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			if_blocks[current_block_type_index].m(div3, null);
			append(div3, t0);
			append(div3, span);
			append(span, t1);
			append(div3, t2);
			append(div3, div0);
			append(div0, p0);
			append(p0, t3);
			append(div0, t4);
			append(div0, p1);
			append(div3, t6);
			append(div3, div1);
			append(div1, p2);
			append(p2, t7);
			append(div1, t8);
			append(div1, p3);
			append(div3, t10);
			append(div3, div2);
			append(div2, p4);
			append(p4, t11);
			append(p4, t12);
			append(div2, p5);
			append(div2, p6);
			append(div3, t14);
			current = true;
		},
		p(ctx, dirty) {
			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(div3, t0);
			}

			if ((!current || dirty & /*rating*/ 2) && t1_value !== (t1_value = /*row*/ ctx[7].name + "")) set_data(t1, t1_value);
			if ((!current || dirty & /*rating*/ 2) && t3_value !== (t3_value = formatMoney(/*row*/ ctx[7].points) + "")) set_data(t3, t3_value);
			if ((!current || dirty & /*rating*/ 2) && t7_value !== (t7_value = /*row*/ ctx[7].vehicleTitle + "")) set_data(t7, t7_value);
			if ((!current || dirty & /*rating*/ 2) && t11_value !== (t11_value = /*row*/ ctx[7].rank + "")) set_data(t11, t11_value);
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div3);
			if_blocks[current_block_type_index].d();
		}
	};
}

function drift_rating_index_svelte_create_fragment(ctx) {
	let div;
	let p;
	let t2;
	let exitbutton;
	let t3;
	let img;
	let img_src_value;
	let t4;
	let show_if = !(0,lodash.isEmpty)(/*currentPlayerInformation*/ ctx[0]);
	let current;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[2],
				fixedPosition: true
			}
		});

	let if_block = show_if && index_svelte_create_if_block(ctx);

	return {
		c() {
			div = internal_element("div");
			p = internal_element("p");

			p.innerHTML = `Родная дрифт
        <br/>
        серия`;

			t2 = space();
			create_component(exitbutton.$$.fragment);
			t3 = space();
			img = internal_element("img");
			t4 = space();
			if (if_block) if_block.c();
			attr(p, "class", "drift-rating__title svelte-80mvpo");
			attr(img, "class", "drift-rating__decorative-image svelte-80mvpo");
			if (!src_url_equal(img.src, img_src_value = car_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "car");
			attr(div, "class", "drift-rating svelte-80mvpo");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p);
			append(div, t2);
			mount_component(exitbutton, div, null);
			append(div, t3);
			append(div, img);
			append(div, t4);
			if (if_block) if_block.m(div, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*currentPlayerInformation*/ 1) show_if = !(0,lodash.isEmpty)(/*currentPlayerInformation*/ ctx[0]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*currentPlayerInformation*/ 1) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(div, null);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(exitbutton);
			if (if_block) if_block.d();
		}
	};
}

function drift_rating_index_svelte_instance($$self, $$props, $$invalidate) {
	let currentPlayerInformation = {};
	let rating = [];

	const initializeRating = ratingDto => {
		$$invalidate(1, rating = ratingDto);
	};

	const initializePlayerInformation = currentPlayerInformationDto => {
		$$invalidate(0, currentPlayerInformation = currentPlayerInformationDto);
	};

	const handleClose = () => {
		
	}; // exec close event

	const unregisterPlayerInformationEvent = registerEvent('event.DriftRating.currentPlayerInformation', initializePlayerInformation);
	const unregisterRatingEvent = registerEvent('event.DriftRating.rating', initializeRating);

	onDestroy(() => {
		unregisterPlayerInformationEvent();
		unregisterRatingEvent();
	});

	return [currentPlayerInformation, rating, handleClose];
}

class Drift_rating extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, drift_rating_index_svelte_instance, drift_rating_index_svelte_create_fragment, safe_not_equal, {}, drift_rating_index_svelte_add_css);
	}
}

/* harmony default export */ const drift_rating_index_svelte = (Drift_rating);
;// CONCATENATED MODULE: ./src/components/microphone-widget/constants.js
var PlayerTalkingStatus = {
  Normal: 0,
  Talking: 1,
  Muted: 2
};
;// CONCATENATED MODULE: ./src/store/player.js



var talkingStatus = writable(PlayerTalkingStatus.Normal);
var playerHealth = writable(0);
var playerArmor = writable(0);
var playerWeaponId = writable(0);
var playersCount = writable(0);
var playerAmmo = writable(0);
var playerAmmoTotal = writable(0);
var playerAmmoClip = writable(0);
var playerMoney = writable(0);
var playerIsDriver = writable(0);
var playerIsTalking = writable(0);
var playerDonateMoney = writable(0);
var playerKeysHint = writable([]);
var playerCasinoChips = writable(0);
var setPlayerKeysHint = function setPlayerKeysHint(keys) {
  return playerKeysHint.set(keys);
};
registerEvent('cef.hud.setPlayerKeysHint', setPlayerKeysHint);
var updateChipsWallet = function updateChipsWallet(amount) {
  return playerCasinoChips.set(amount);
};
registerEvent('cef.player.updateChipsWallet', updateChipsWallet);
;// CONCATENATED MODULE: ./src/store/vehicle.js


var playerVehicleId = writable(0);
var vehicleLights = writable(0);
var vehicleDoor = writable(0);
var vehicleHP = writable(0);
var vehicleLaunchProgress = writable(0);
var vehicleLaunchActivated = writable(false);
var vehicleSpeed = writable(0);
var vehicleTurnLeft = writable(false);
var vehicleTurnRight = writable(false);
var vehicleGearLevel = writable(0);
var vehicleFuel = writable(0);
var vehicleOil = writable(0);
var vehicleWheel = writable(0);
var vehicleMileage = writable(0);
var vehicleState = writable(0);
registerEvent('vehicle.oilStatus.update', function (status) {
  vehicleOil.set(status);
});
registerEvent('vehicle.wheelStatus.update', function (status) {
  vehicleWheel.set(status);
});
registerEvent('vehicle.mileage.update', function (mileage) {
  vehicleMileage.set(mileage);
});
registerEvent('vehicle.fuel.update', function (fuel) {
  vehicleFuel.set(fuel);
});
registerEvent('vehicle.state.update', function (state) {
  vehicleState.set(state);
});
;// CONCATENATED MODULE: ./src/store/keyboard.js

var languageLayout = writable('');
var capsLockEnabled = writable(false);
;// CONCATENATED MODULE: ./src/utils/client-callback-method-manager/constants.js
var _MAP_CLIENT_METHOD_TO;
function constants_typeof(o) { "@babel/helpers - typeof"; return constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, constants_typeof(o); }
function constants_defineProperty(e, r, t) { return (r = constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function constants_toPropertyKey(t) { var i = constants_toPrimitive(t, "string"); return "symbol" == constants_typeof(i) ? i : i + ""; }
function constants_toPrimitive(t, r) { if ("object" != constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
var PED_ID = -1;
var ClientMethod = {
  GetPedVehicle: 'GetPedVehicle',
  GetLocalPedMoney: 'GetLocalPedMoney',
  GetVehLights: 'GetVehLights',
  GetVehClosed: 'GetVehClosed',
  GetVehEngine: 'GetVehEngine',
  GetVehHitpoints: 'GetVehHitpoints',
  GetVehSpeed: 'GetVehSpeed',
  GetPedArmor: 'GetPedArmor',
  GetPedHitpoints: 'GetPedHitpoints',
  GetPedWeaponId: 'GetPedWeaponId',
  GetPedWeaponAmmoTotal: 'GetPedWeaponAmmoTotal',
  GetPedWeaponAmmoClip: 'GetPedWeaponAmmoClip',
  GetPedWeaponState: 'GetPedWeaponState',
  GetPlayersCount: 'GetPlayersCount',
  GetTurnState: 'GetTurnState',
  GetVehGear: 'GetVehGear',
  GetVoiceState: 'GetVoiceState',
  GetLaunchInfo: 'GetLaunchInfo',
  GetPedDriver: 'GetPedDriver',
  RegRead2: 'RegRead2',
  LayoutName: 'LayoutName',
  LayoutCapital: 'LayoutCapital'
};
var MAP_CLIENT_METHOD_TO_CALLBACK_NAME = (_MAP_CLIENT_METHOD_TO = {}, constants_defineProperty(constants_defineProperty(constants_defineProperty(constants_defineProperty(constants_defineProperty(constants_defineProperty(constants_defineProperty(constants_defineProperty(constants_defineProperty(constants_defineProperty(_MAP_CLIENT_METHOD_TO, ClientMethod.GetPedVehicle, 'onPedVehicle'), ClientMethod.GetLocalPedMoney, 'onLocalPedMoney'), ClientMethod.GetVehLights, 'onVehLights'), ClientMethod.GetVehClosed, 'onVehClosed'), ClientMethod.GetVehEngine, 'onVehEngine'), ClientMethod.GetVehHitpoints, 'onVehHitpoints'), ClientMethod.GetVehSpeed, 'onVehSpeed'), ClientMethod.GetPedArmor, 'onPedArmor'), ClientMethod.GetPedHitpoints, 'onPedHitpoints'), ClientMethod.GetPedWeaponId, 'onPedWeaponId'), constants_defineProperty(constants_defineProperty(constants_defineProperty(constants_defineProperty(constants_defineProperty(constants_defineProperty(constants_defineProperty(constants_defineProperty(constants_defineProperty(constants_defineProperty(_MAP_CLIENT_METHOD_TO, ClientMethod.GetPedWeaponAmmoTotal, 'onPedWeaponAmmoTotal'), ClientMethod.GetPedWeaponAmmoClip, 'onPedWeaponAmmoClip'), ClientMethod.GetPedWeaponState, 'onPedWeaponState'), ClientMethod.GetPlayersCount, 'onGetPlayersCount'), ClientMethod.GetTurnState, 'onTurnState'), ClientMethod.GetVehGear, 'onVehGear'), ClientMethod.GetVoiceState, 'onVoiceState'), ClientMethod.GetLaunchInfo, 'onLaunchInfo'), ClientMethod.GetPedDriver, 'onPedDriver'), ClientMethod.RegRead2, 'onRegRead'), constants_defineProperty(constants_defineProperty(_MAP_CLIENT_METHOD_TO, ClientMethod.LayoutName, 'onLayoutName'), ClientMethod.LayoutCapital, 'onLayoutCapital'));
var PLAYER_METHODS = [ClientMethod.GetPedDriver, ClientMethod.GetPedArmor, ClientMethod.GetPlayersCount, ClientMethod.GetPedHitpoints, ClientMethod.GetPedWeaponId, ClientMethod.GetPedWeaponAmmoTotal, ClientMethod.GetPedWeaponAmmoClip, ClientMethod.GetPedWeaponState, ClientMethod.GetLocalPedMoney, ClientMethod.GetVoiceState];
var VEHICLE_METHODS = [ClientMethod.GetPedVehicle, ClientMethod.GetVehLights, ClientMethod.GetVehClosed, ClientMethod.GetVehEngine, ClientMethod.GetVehHitpoints, ClientMethod.GetVehSpeed, ClientMethod.GetLaunchInfo, ClientMethod.GetTurnState, ClientMethod.GetVehGear];
var REQUIRE_VEH_ID_METHODS = [ClientMethod.GetVehLights, ClientMethod.GetVehClosed, ClientMethod.GetVehEngine, ClientMethod.GetVehHitpoints, ClientMethod.GetVehSpeed, ClientMethod.GetVehGear];
var WITHOUT_ARGS_METHODS = [ClientMethod.GetLaunchInfo, ClientMethod.GetTurnState, ClientMethod.GetVoiceState, ClientMethod.GetLocalPedMoney, ClientMethod.LayoutName, ClientMethod.LayoutCapital];
var RegPaths = {
  Auth: 'auth'
};
var RegKeys = {
  Muted: 'muted',
  Paused: 'paused'
};
var AUTH_METHODS = [ClientMethod.LayoutName, ClientMethod.LayoutCapital];
;// CONCATENATED MODULE: ./src/utils/client-callback-method-manager/client-callback-method-manager.js
function client_callback_method_manager_typeof(o) { "@babel/helpers - typeof"; return client_callback_method_manager_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, client_callback_method_manager_typeof(o); }
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, client_callback_method_manager_toPropertyKey(o.key), o); } }
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
function client_callback_method_manager_defineProperty(e, r, t) { return (r = client_callback_method_manager_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function client_callback_method_manager_toPropertyKey(t) { var i = client_callback_method_manager_toPrimitive(t, "string"); return "symbol" == client_callback_method_manager_typeof(i) ? i : i + ""; }
function client_callback_method_manager_toPrimitive(t, r) { if ("object" != client_callback_method_manager_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != client_callback_method_manager_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






var _ClientCallbackMethodsManager = function () {
  function _ClientCallbackMethodsManager() {
    _classCallCheck(this, _ClientCallbackMethodsManager);
    client_callback_method_manager_defineProperty(this, "registerClientCallback", function (callbackName, callback) {
      if ((0,lodash.isNil)(window.cef)) {
        return;
      }
      window.cef[callbackName] = callback;
    });
    this.callbacksSubscribersCount = {};
    this.intervalId = null;
    this.registerClientCallback(MAP_CLIENT_METHOD_TO_CALLBACK_NAME[ClientMethod.GetPedArmor], function (pedId, value) {
      return playerArmor.set(value);
    });
    this.registerClientCallback(MAP_CLIENT_METHOD_TO_CALLBACK_NAME[ClientMethod.GetLocalPedMoney], function (money) {
      return playerMoney.set(money);
    });
    this.registerClientCallback(MAP_CLIENT_METHOD_TO_CALLBACK_NAME[ClientMethod.GetPedHitpoints], function (pedId, value) {
      return playerHealth.set(value);
    });
    this.registerClientCallback(MAP_CLIENT_METHOD_TO_CALLBACK_NAME[ClientMethod.GetPlayersCount], function (value) {
      return playersCount.set(value);
    });
    this.registerClientCallback(MAP_CLIENT_METHOD_TO_CALLBACK_NAME[ClientMethod.GetPedWeaponId], function (pedId, value) {
      return playerWeaponId.set(value);
    });
    this.registerClientCallback(MAP_CLIENT_METHOD_TO_CALLBACK_NAME[ClientMethod.GetPedDriver], function (pedId, value) {
      return playerIsDriver.set(value);
    });
    this.registerClientCallback(MAP_CLIENT_METHOD_TO_CALLBACK_NAME[ClientMethod.GetPedVehicle], function (vehId, value) {
      return playerVehicleId.set(value);
    });
    this.registerClientCallback(MAP_CLIENT_METHOD_TO_CALLBACK_NAME[ClientMethod.GetVehLights], function (vehId, value) {
      return vehicleLights.set(value);
    });
    this.registerClientCallback(MAP_CLIENT_METHOD_TO_CALLBACK_NAME[ClientMethod.GetVehClosed], function (vehId, value) {
      return vehicleDoor.set(value);
    });
    this.registerClientCallback(MAP_CLIENT_METHOD_TO_CALLBACK_NAME[ClientMethod.GetVehHitpoints], function (vehId, value) {
      return vehicleHP.set(value);
    });
    this.registerClientCallback(MAP_CLIENT_METHOD_TO_CALLBACK_NAME[ClientMethod.GetVehSpeed], function (vehId, value) {
      return vehicleSpeed.set(value);
    });
    this.registerClientCallback(MAP_CLIENT_METHOD_TO_CALLBACK_NAME[ClientMethod.GetVoiceState], function (value) {
      return playerIsTalking.set(value);
    });
    this.registerClientCallback(MAP_CLIENT_METHOD_TO_CALLBACK_NAME[ClientMethod.GetPedWeaponState], function () {
      playerAmmoTotal.set(get_store_value(playerAmmo) - get_store_value(playerAmmoClip));
    });
    this.registerClientCallback(MAP_CLIENT_METHOD_TO_CALLBACK_NAME[ClientMethod.GetPedWeaponAmmoClip], function (pedId, value) {
      playerAmmoClip.set(value);
    });
    this.registerClientCallback(MAP_CLIENT_METHOD_TO_CALLBACK_NAME[ClientMethod.GetPedWeaponAmmoTotal], function (pedId, ammo) {
      playerAmmo.set(ammo);
    });
    this.registerClientCallback(MAP_CLIENT_METHOD_TO_CALLBACK_NAME[ClientMethod.GetTurnState], function (valueStatusTurn, valueStatusTurnStatus) {
      switch (valueStatusTurn) {
        case 1:
          if (valueStatusTurnStatus) {
            vehicleTurnLeft.set(true);
            vehicleTurnRight.set(false);
          } else {
            vehicleTurnLeft.set(false);
            vehicleTurnRight.set(false);
          }
          break;
        case 2:
          if (valueStatusTurnStatus) {
            vehicleTurnLeft.set(false);
            vehicleTurnRight.set(true);
          } else {
            vehicleTurnLeft.set(false);
            vehicleTurnRight.set(false);
          }
          break;
        case 3:
          if (valueStatusTurnStatus) {
            vehicleTurnLeft.set(true);
            vehicleTurnRight.set(true);
          } else {
            vehicleTurnLeft.set(false);
            vehicleTurnRight.set(false);
          }
          break;
        default:
          vehicleTurnLeft.set(false);
          vehicleTurnRight.set(false);
          break;
      }
    });
    this.registerClientCallback(MAP_CLIENT_METHOD_TO_CALLBACK_NAME[ClientMethod.GetVehGear], function (vehId, currentGear) {
      vehicleGearLevel.set(currentGear);
    });
    this.registerClientCallback(MAP_CLIENT_METHOD_TO_CALLBACK_NAME[ClientMethod.GetLaunchInfo], function (time, speed, _progress) {
      var progress = (0,lodash.toNumber)(_progress) || 0;
      if (progress !== 0 && time === 0 && speed === 0) {
        vehicleLaunchActivated.set(true);
        vehicleLaunchProgress.set(progress);
      } else if (get_store_value(vehicleLaunchActivated) || get_store_value(vehicleLaunchProgress) !== 0) {
        vehicleLaunchActivated.set(false);
        vehicleLaunchProgress.set(0);
      }
    });
    this.registerClientCallback(MAP_CLIENT_METHOD_TO_CALLBACK_NAME[ClientMethod.LayoutName], function (value) {
      languageLayout.set(value);
    });
    this.registerClientCallback(MAP_CLIENT_METHOD_TO_CALLBACK_NAME[ClientMethod.LayoutCapital], function (value) {
      capsLockEnabled.set(value);
    });
  }
  return _createClass(_ClientCallbackMethodsManager, [{
    key: "subscribe",
    value: function subscribe() {
      var _this = this;
      var methods = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
      methods.forEach(function (method) {
        _this.callbacksSubscribersCount[method] = (_this.callbacksSubscribersCount[method] || 0) + 1;
      });
      if ((0,lodash.isNil)(this.intervalId)) {
        this.startFetchInterval();
      }
    }
  }, {
    key: "startFetchInterval",
    value: function startFetchInterval() {
      var _this2 = this;
      this.intervalId = setInterval(function () {
        var playerIsDriverState = get_store_value(playerIsDriver);
        var vehId = get_store_value(playerVehicleId);
        Object.keys(_this2.callbacksSubscribersCount).forEach(function (method) {
          var _window;
          if (playerIsDriverState === false && VEHICLE_METHODS.includes(method)) {
            return;
          }
          if (!((_window = window) !== null && _window !== void 0 && _window.cef[method])) {
            return;
          }
          if (REQUIRE_VEH_ID_METHODS.includes(method)) {
            window.cef[method](vehId);
          } else if (WITHOUT_ARGS_METHODS.includes(method)) {
            window.cef[method]();
          } else {
            window.cef[method](PED_ID);
          }
        });
      }, 250);
    }
  }, {
    key: "unsubscribe",
    value: function unsubscribe() {
      var _this3 = this;
      var methods = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
      methods.forEach(function (method) {
        if (_this3.callbacksSubscribersCount[method] > 0) {
          _this3.callbacksSubscribersCount[method] = (_this3.callbacksSubscribersCount[method] || 0) - 1;
        }
        if (_this3.callbacksSubscribersCount[method] <= 0) {
          delete _this3.callbacksSubscribersCount[method];
        }
      });
      if ((0,lodash.isEmpty)(this.callbacksSubscribersCount)) {
        clearInterval(this.intervalId);
        this.intervalId = null;
      }
    }
  }]);
}();
var subscribesManager = new _ClientCallbackMethodsManager();
;// CONCATENATED MODULE: ./src/components/microphone-widget/components/microphone-icon/constants.js
function microphone_icon_constants_typeof(o) { "@babel/helpers - typeof"; return microphone_icon_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, microphone_icon_constants_typeof(o); }
function microphone_icon_constants_defineProperty(e, r, t) { return (r = microphone_icon_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function microphone_icon_constants_toPropertyKey(t) { var i = microphone_icon_constants_toPrimitive(t, "string"); return "symbol" == microphone_icon_constants_typeof(i) ? i : i + ""; }
function microphone_icon_constants_toPrimitive(t, r) { if ("object" != microphone_icon_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != microphone_icon_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }

var MAP_MICROPHONE_STATUS_TO_CONFIG = microphone_icon_constants_defineProperty(microphone_icon_constants_defineProperty(microphone_icon_constants_defineProperty({}, PlayerTalkingStatus.Normal, {
  color: '#FFFFFF',
  opacity: 0.35
}), PlayerTalkingStatus.Talking, {
  color: '#76D355',
  opacity: 1
}), PlayerTalkingStatus.Muted, {
  color: '#FF3737',
  opacity: 1
});
;// CONCATENATED MODULE: ./src/components/microphone-widget/components/microphone-icon/index.svelte
/* src\components\microphone-widget\components\microphone-icon\index.svelte generated by Svelte v3.49.0 */





function microphone_icon_index_svelte_add_css(target) {
	append_styles(target, "svelte-r3n1a", "@keyframes svelte-r3n1a-blinking{50%{opacity:0}}@keyframes svelte-r3n1a-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-r3n1a-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-r3n1a-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-r3n1a-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-r3n1a-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-r3n1a-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-r3n1a-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-r3n1a-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-r3n1a-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-r3n1a-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-r3n1a-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-r3n1a-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-r3n1a-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-r3n1a-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.microphone-icon.svelte-r3n1a{height:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.microphone-icon.svelte-r3n1a{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.microphone-icon.svelte-r3n1a{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.microphone-icon.svelte-r3n1a{height:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.microphone-icon.svelte-r3n1a{height:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.microphone-icon.svelte-r3n1a{height:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.microphone-icon.svelte-r3n1a{height:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.microphone-icon.svelte-r3n1a{height:calc(0.0143229167 * 100vw + 0px)}}");
}

function microphone_icon_index_svelte_create_fragment(ctx) {
	let svg;
	let path0;
	let path0_fill_value;
	let path0_fill_opacity_value;
	let path1;
	let path1_fill_value;
	let path1_fill_opacity_value;

	return {
		c() {
			svg = svg_element("svg");
			path0 = svg_element("path");
			path1 = svg_element("path");
			attr(path0, "d", "M12.4998 16.0796C15.0092 16.0796 17.0436 14.0453 17.0436 11.5358V4.54378C17.0436 2.03431 15.0092 0 12.4998 0C9.99042 0 7.95605 2.03431 7.95605 4.54378V11.5359C7.95605 14.0453 9.99042 16.0796 12.4998 16.0796Z");
			attr(path0, "fill", path0_fill_value = /*iconConfig*/ ctx[0].color);
			attr(path0, "fill-opacity", path0_fill_opacity_value = /*iconConfig*/ ctx[0].opacity);
			attr(path1, "d", "M18.6395 7.24224V8.83798H19.4373V11.5362C19.4373 15.3614 16.3252 18.4736 12.4999 18.4736C8.67467 18.4736 5.56254 15.3615 5.56254 11.5362V8.83798H6.36041V7.24224H3.9668V11.5362C3.9668 15.9723 7.36967 19.628 11.7021 20.0317V23.4046H6.89121V25.0003H18.1087V23.4046H13.2978V20.0317C17.6302 19.628 21.0331 15.9722 21.0331 11.5361V7.24219H18.6395V7.24224Z");
			attr(path1, "fill", path1_fill_value = /*iconConfig*/ ctx[0].color);
			attr(path1, "fill-opacity", path1_fill_opacity_value = /*iconConfig*/ ctx[0].opacity);
			attr(svg, "class", "microphone-icon svelte-r3n1a");
			attr(svg, "width", "25");
			attr(svg, "height", "25");
			attr(svg, "viewBox", "0 0 25 25");
			attr(svg, "fill", "none");
			attr(svg, "xmlns", "http://www.w3.org/2000/svg");
		},
		m(target, anchor) {
			insert(target, svg, anchor);
			append(svg, path0);
			append(svg, path1);
		},
		p(ctx, [dirty]) {
			if (dirty & /*iconConfig*/ 1 && path0_fill_value !== (path0_fill_value = /*iconConfig*/ ctx[0].color)) {
				attr(path0, "fill", path0_fill_value);
			}

			if (dirty & /*iconConfig*/ 1 && path0_fill_opacity_value !== (path0_fill_opacity_value = /*iconConfig*/ ctx[0].opacity)) {
				attr(path0, "fill-opacity", path0_fill_opacity_value);
			}

			if (dirty & /*iconConfig*/ 1 && path1_fill_value !== (path1_fill_value = /*iconConfig*/ ctx[0].color)) {
				attr(path1, "fill", path1_fill_value);
			}

			if (dirty & /*iconConfig*/ 1 && path1_fill_opacity_value !== (path1_fill_opacity_value = /*iconConfig*/ ctx[0].opacity)) {
				attr(path1, "fill-opacity", path1_fill_opacity_value);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(svg);
		}
	};
}

function microphone_icon_index_svelte_instance($$self, $$props, $$invalidate) {
	let { status = PlayerTalkingStatus.Normal } = $$props;
	let iconConfig = MAP_MICROPHONE_STATUS_TO_CONFIG[status];

	$$self.$$set = $$props => {
		if ('status' in $$props) $$invalidate(1, status = $$props.status);
	};

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*status*/ 2) {
			$: $$invalidate(0, iconConfig = MAP_MICROPHONE_STATUS_TO_CONFIG[status] || {});
		}
	};

	return [iconConfig, status];
}

class Microphone_icon extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, microphone_icon_index_svelte_instance, microphone_icon_index_svelte_create_fragment, safe_not_equal, { status: 1 }, microphone_icon_index_svelte_add_css);
	}
}

/* harmony default export */ const microphone_icon_index_svelte = (Microphone_icon);
;// CONCATENATED MODULE: ./src/components/microphone-widget/index.svelte
/* src\components\microphone-widget\index.svelte generated by Svelte v3.49.0 */





function microphone_widget_index_svelte_add_css(target) {
	append_styles(target, "svelte-1qhmhvm", "@keyframes svelte-1qhmhvm-blinking{50%{opacity:0}}@keyframes svelte-1qhmhvm-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1qhmhvm-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1qhmhvm-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1qhmhvm-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1qhmhvm-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1qhmhvm-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1qhmhvm-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1qhmhvm-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1qhmhvm-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1qhmhvm-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1qhmhvm-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1qhmhvm-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1qhmhvm-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1qhmhvm-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.microphone-widget.svelte-1qhmhvm{display:flex;align-items:center}.microphone-widget__icon-wrapper.svelte-1qhmhvm{display:flex;align-items:center;justify-content:center;background-color:rgba(32, 39, 49, 0.75);width:calc(0.0208333333 * 100vw + 0px);height:calc(0.0208333333 * 100vw + 0px);border-radius:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.microphone-widget__icon-wrapper.svelte-1qhmhvm{width:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.microphone-widget__icon-wrapper.svelte-1qhmhvm{width:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.microphone-widget__icon-wrapper.svelte-1qhmhvm{width:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.microphone-widget__icon-wrapper.svelte-1qhmhvm{width:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.microphone-widget__icon-wrapper.svelte-1qhmhvm{width:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.microphone-widget__icon-wrapper.svelte-1qhmhvm{width:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.microphone-widget__icon-wrapper.svelte-1qhmhvm{width:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.microphone-widget__icon-wrapper.svelte-1qhmhvm{height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.microphone-widget__icon-wrapper.svelte-1qhmhvm{height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.microphone-widget__icon-wrapper.svelte-1qhmhvm{height:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.microphone-widget__icon-wrapper.svelte-1qhmhvm{height:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.microphone-widget__icon-wrapper.svelte-1qhmhvm{height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.microphone-widget__icon-wrapper.svelte-1qhmhvm{height:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.microphone-widget__icon-wrapper.svelte-1qhmhvm{height:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.microphone-widget__icon-wrapper.svelte-1qhmhvm{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.microphone-widget__icon-wrapper.svelte-1qhmhvm{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.microphone-widget__icon-wrapper.svelte-1qhmhvm{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.microphone-widget__icon-wrapper.svelte-1qhmhvm{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.microphone-widget__icon-wrapper.svelte-1qhmhvm{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.microphone-widget__icon-wrapper.svelte-1qhmhvm{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.microphone-widget__icon-wrapper.svelte-1qhmhvm{border-radius:calc(0.0045833333 * 100vw + 0px)}}");
}

function microphone_widget_index_svelte_create_fragment(ctx) {
	let div1;
	let div0;
	let microphoneicon;
	let current;

	microphoneicon = new microphone_icon_index_svelte({
			props: { status: /*$playerIsTalking*/ ctx[0] }
		});

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			create_component(microphoneicon.$$.fragment);
			attr(div0, "class", "microphone-widget__icon-wrapper svelte-1qhmhvm");
			attr(div1, "class", "microphone-widget svelte-1qhmhvm");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			mount_component(microphoneicon, div0, null);
			current = true;
		},
		p(ctx, [dirty]) {
			const microphoneicon_changes = {};
			if (dirty & /*$playerIsTalking*/ 1) microphoneicon_changes.status = /*$playerIsTalking*/ ctx[0];
			microphoneicon.$set(microphoneicon_changes);
		},
		i(local) {
			if (current) return;
			transition_in(microphoneicon.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(microphoneicon.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			destroy_component(microphoneicon);
		}
	};
}

function microphone_widget_index_svelte_instance($$self, $$props, $$invalidate) {
	let $playerIsTalking;
	component_subscribe($$self, playerIsTalking, $$value => $$invalidate(0, $playerIsTalking = $$value));
	return [$playerIsTalking];
}

class Microphone_widget extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, microphone_widget_index_svelte_instance, microphone_widget_index_svelte_create_fragment, safe_not_equal, {}, microphone_widget_index_svelte_add_css);
	}
}

/* harmony default export */ const microphone_widget_index_svelte = (Microphone_widget);
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-server/img/8.svg
const _8_namespaceObject = __webpack_require__.p + "assets/4252f844ec114fc60875.svg";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-server/img/7.svg
const _7_namespaceObject = __webpack_require__.p + "assets/3bab16d3443f2a4f7626.svg";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-server/img/6.svg
const _6_namespaceObject = __webpack_require__.p + "assets/8a60527739b451ffb251.svg";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-server/img/5.svg
const _5_namespaceObject = __webpack_require__.p + "assets/b2a9506a92dcc8e6cbbf.svg";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-server/img/4.svg
const _4_namespaceObject = __webpack_require__.p + "assets/e5cc470984c74871095a.svg";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-server/img/3.svg
const _3_namespaceObject = __webpack_require__.p + "assets/4754cd27c87045ade50d.svg";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-server/img/2.svg
const _2_namespaceObject = __webpack_require__.p + "assets/04b3925f3be6c2e20a95.svg";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-server/img/1.svg
const _1_namespaceObject = __webpack_require__.p + "assets/5d323d8d83cbe8d51fe1.svg";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-server/img/0.svg
const _0_namespaceObject = __webpack_require__.p + "assets/096f8e7500a31c93258c.svg";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-server/img/server-logo.svg
const server_logo_namespaceObject = __webpack_require__.p + "assets/f8ff4bb15e9a1a5b8535.svg";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-server/img/spring-logo.png
const spring_logo_namespaceObject = __webpack_require__.p + "assets/c2472043154d4dfe0de6.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-server/img/summer-logo.png
const summer_logo_namespaceObject = __webpack_require__.p + "assets/faefee7fc03d3b369a14.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-server/img/autumn-logo.png
const autumn_logo_namespaceObject = __webpack_require__.p + "assets/0f09da981603ae6101ff.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-server/img/winter-logo.png
const winter_logo_namespaceObject = __webpack_require__.p + "assets/1cb7078ca3a8e73b234f.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-server/img/halloween-logo.png
const halloween_logo_namespaceObject = __webpack_require__.p + "assets/d227eb021f231498978a.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-server/img/easter-logo.png
const easter_logo_namespaceObject = __webpack_require__.p + "assets/ba345a25786d64434195.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-server/constants.js
function hud_player_server_constants_typeof(o) { "@babel/helpers - typeof"; return hud_player_server_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, hud_player_server_constants_typeof(o); }
function hud_player_server_constants_defineProperty(e, r, t) { return (r = hud_player_server_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function hud_player_server_constants_toPropertyKey(t) { var i = hud_player_server_constants_toPrimitive(t, "string"); return "symbol" == hud_player_server_constants_typeof(i) ? i : i + ""; }
function hud_player_server_constants_toPrimitive(t, r) { if ("object" != hud_player_server_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != hud_player_server_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
















var ServerID = {
  Moscow: 101,
  Federal: 7,
  Primorsky: 6,
  West: 5,
  East: 4,
  North: 3,
  South: 2,
  Central: 1,
  Test: 0
};
var LogoType = {
  Regular: 'regular',
  Spring: 'spring',
  Summer: 'summer',
  Autumn: 'autumn',
  Winter: 'winter',
  Halloween: 'halloween',
  Easter: 'easter'
};
var MAP_LOGO_TYPE_TO_LOGO = hud_player_server_constants_defineProperty(hud_player_server_constants_defineProperty(hud_player_server_constants_defineProperty(hud_player_server_constants_defineProperty(hud_player_server_constants_defineProperty(hud_player_server_constants_defineProperty(hud_player_server_constants_defineProperty({}, LogoType.Regular, server_logo_namespaceObject), LogoType.Spring, spring_logo_namespaceObject), LogoType.Summer, summer_logo_namespaceObject), LogoType.Autumn, autumn_logo_namespaceObject), LogoType.Winter, winter_logo_namespaceObject), LogoType.Halloween, halloween_logo_namespaceObject), LogoType.Easter, easter_logo_namespaceObject);
var MAP_ID_TO_SERVER = hud_player_server_constants_defineProperty(hud_player_server_constants_defineProperty(hud_player_server_constants_defineProperty(hud_player_server_constants_defineProperty(hud_player_server_constants_defineProperty(hud_player_server_constants_defineProperty(hud_player_server_constants_defineProperty(hud_player_server_constants_defineProperty(hud_player_server_constants_defineProperty({}, ServerID.Moscow, {
  icon: _8_namespaceObject,
  title: 'Москва'
}), ServerID.Federal, {
  icon: _7_namespaceObject,
  title: 'Федеральный округ'
}), ServerID.Primorsky, {
  icon: _6_namespaceObject,
  title: 'Приморский округ'
}), ServerID.West, {
  icon: _5_namespaceObject,
  title: 'Западный округ'
}), ServerID.East, {
  icon: _4_namespaceObject,
  title: 'Восточный округ'
}), ServerID.North, {
  icon: _3_namespaceObject,
  title: 'Северный округ'
}), ServerID.South, {
  icon: _2_namespaceObject,
  title: 'Южный округ'
}), ServerID.Central, {
  icon: _1_namespaceObject,
  title: 'Центральный округ'
}), ServerID.Test, {
  icon: _0_namespaceObject,
  title: 'Тестовый округ'
});
;// CONCATENATED MODULE: ./src/views/hud/components/hud-speedometer/components/advanced/components/speedometer-body/index.svelte
/* src\views\hud\components\hud-speedometer\components\advanced\components\speedometer-body\index.svelte generated by Svelte v3.49.0 */




function speedometer_body_index_svelte_add_css(target) {
	append_styles(target, "svelte-1rpqaut", "@keyframes svelte-1rpqaut-blinking{50%{opacity:0}}@keyframes svelte-1rpqaut-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1rpqaut-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1rpqaut-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1rpqaut-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1rpqaut-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1rpqaut-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1rpqaut-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1rpqaut-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1rpqaut-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1rpqaut-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1rpqaut-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1rpqaut-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1rpqaut-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1rpqaut-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.bar.svelte-1rpqaut{transform:rotate(120.5deg);vertical-align:middle;height:100%;width:100%;overflow:hidden;--stroke-width:7px}.bar__line-fill.svelte-1rpqaut{fill:transparent;stroke-width:var(--stroke-width);transition:stroke-dashoffset 0.2s ease 0s, stroke-dasharray 0.2s ease 0s, stroke 0.2s}");
}

function speedometer_body_index_svelte_create_fragment(ctx) {
	let svg;
	let circle;
	let circle_style_value;
	let svg_style_value;
	let mounted;
	let dispose;

	return {
		c() {
			svg = svg_element("svg");
			circle = svg_element("circle");
			attr(circle, "class", "bar__line-fill svelte-1rpqaut");
			attr(circle, "cx", /*center*/ ctx[5]);
			attr(circle, "cy", /*center*/ ctx[5]);
			attr(circle, "r", /*radius*/ ctx[2]);
			attr(circle, "fill", "none");
			attr(circle, "stroke", /*color*/ ctx[0]);
			attr(circle, "stroke-linecap", "round");
			attr(circle, "style", circle_style_value = `stroke-dashoffset: ${Math.max(/*progressOffset*/ ctx[6], /*radius*/ ctx[2] + 7)}; stroke-dasharray: ${/*circumference*/ ctx[3]};`);
			attr(svg, "class", "bar svelte-1rpqaut");
			attr(svg, "style", svg_style_value = `--stroke-width: ${/*strokeWidth*/ ctx[1]}`);
		},
		m(target, anchor) {
			insert(target, svg, anchor);
			append(svg, circle);
			/*svg_binding*/ ctx[10](svg);

			if (!mounted) {
				dispose = listen(window, "resize", /*calculateCircleWidthAndStrokeWidth*/ ctx[7]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*center*/ 32) {
				attr(circle, "cx", /*center*/ ctx[5]);
			}

			if (dirty & /*center*/ 32) {
				attr(circle, "cy", /*center*/ ctx[5]);
			}

			if (dirty & /*radius*/ 4) {
				attr(circle, "r", /*radius*/ ctx[2]);
			}

			if (dirty & /*color*/ 1) {
				attr(circle, "stroke", /*color*/ ctx[0]);
			}

			if (dirty & /*progressOffset, radius, circumference*/ 76 && circle_style_value !== (circle_style_value = `stroke-dashoffset: ${Math.max(/*progressOffset*/ ctx[6], /*radius*/ ctx[2] + 7)}; stroke-dasharray: ${/*circumference*/ ctx[3]};`)) {
				attr(circle, "style", circle_style_value);
			}

			if (dirty & /*strokeWidth*/ 2 && svg_style_value !== (svg_style_value = `--stroke-width: ${/*strokeWidth*/ ctx[1]}`)) {
				attr(svg, "style", svg_style_value);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(svg);
			/*svg_binding*/ ctx[10](null);
			mounted = false;
			dispose();
		}
	};
}

function speedometer_body_index_svelte_instance($$self, $$props, $$invalidate) {
	let { color = '#FFFFFF' } = $$props;
	let { percents = 0 } = $$props;
	let { strokeWidth } = $$props;
	let svgContainerRef = null;
	let width = 0;
	let radius = 0;
	let center = 0;
	let circumference = 0;
	let progressOffset = 0;

	const calculateCircleWidthAndStrokeWidth = () => {
		$$invalidate(9, width = svgContainerRef.getBoundingClientRect().width);
	};

	onMount(() => calculateCircleWidthAndStrokeWidth());

	function svg_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			svgContainerRef = $$value;
			$$invalidate(4, svgContainerRef);
		});
	}

	$$self.$$set = $$props => {
		if ('color' in $$props) $$invalidate(0, color = $$props.color);
		if ('percents' in $$props) $$invalidate(8, percents = $$props.percents);
		if ('strokeWidth' in $$props) $$invalidate(1, strokeWidth = $$props.strokeWidth);
	};

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*width, strokeWidth, radius, percents, circumference*/ 782) {
			$: {
				$$invalidate(2, radius = Math.abs(width / 2.9 - Number(strokeWidth) / 10));
				$$invalidate(5, center = width / 2.75);
				$$invalidate(3, circumference = 2 * Math.PI * radius);
				$$invalidate(6, progressOffset = (100 - percents) / 100 * circumference);
			}
		}
	};

	return [
		color,
		strokeWidth,
		radius,
		circumference,
		svgContainerRef,
		center,
		progressOffset,
		calculateCircleWidthAndStrokeWidth,
		percents,
		width,
		svg_binding
	];
}

class Speedometer_body extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, speedometer_body_index_svelte_instance, speedometer_body_index_svelte_create_fragment, safe_not_equal, { color: 0, percents: 8, strokeWidth: 1 }, speedometer_body_index_svelte_add_css);
	}
}

/* harmony default export */ const speedometer_body_index_svelte = (Speedometer_body);
;// CONCATENATED MODULE: ./src/views/hud/components/hud-speedometer/components/advanced/components/speedometer-condition-progressbar/index.svelte
/* src\views\hud\components\hud-speedometer\components\advanced\components\speedometer-condition-progressbar\index.svelte generated by Svelte v3.49.0 */




function speedometer_condition_progressbar_index_svelte_add_css(target) {
	append_styles(target, "svelte-15ynxtv", "@keyframes svelte-15ynxtv-blinking{50%{opacity:0}}@keyframes svelte-15ynxtv-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-15ynxtv-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-15ynxtv-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-15ynxtv-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-15ynxtv-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-15ynxtv-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-15ynxtv-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-15ynxtv-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-15ynxtv-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-15ynxtv-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-15ynxtv-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-15ynxtv-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-15ynxtv-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-15ynxtv-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.bar.svelte-15ynxtv{vertical-align:middle;height:100%;width:100%;transform:rotate(198deg);overflow:initial}.bar__line.svelte-15ynxtv{fill:transparent;stroke:rgba(255, 255, 255, 0.45);stroke-width:4}.bar__line-fill.svelte-15ynxtv{fill:transparent;stroke-width:4;transition:stroke-dashoffset 0.2s ease 0s, stroke-dasharray 0.2s ease 0s, stroke 0.2s}");
}

function speedometer_condition_progressbar_index_svelte_create_fragment(ctx) {
	let svg;
	let circle0;
	let circle0_style_value;
	let circle1;
	let circle1_style_value;
	let mounted;
	let dispose;

	return {
		c() {
			svg = svg_element("svg");
			circle0 = svg_element("circle");
			circle1 = svg_element("circle");
			attr(circle0, "class", "bar__line svelte-15ynxtv");
			attr(circle0, "cx", /*center*/ ctx[3]);
			attr(circle0, "cy", /*center*/ ctx[3]);
			attr(circle0, "r", /*radius*/ ctx[0]);
			attr(circle0, "fill", "none");
			attr(circle0, "stroke-linecap", "round");
			attr(circle0, "style", circle0_style_value = `stroke-dashoffset: ${/*progressOffsets*/ ctx[5]}; stroke-dasharray: ${/*circumference*/ ctx[1]};`);
			attr(circle1, "class", "bar__line-fill svelte-15ynxtv");
			attr(circle1, "cx", /*center*/ ctx[3]);
			attr(circle1, "cy", /*center*/ ctx[3]);
			attr(circle1, "r", /*radius*/ ctx[0]);
			attr(circle1, "fill", "none");
			attr(circle1, "stroke", "#FFFFFF");
			attr(circle1, "stroke-linecap", "round");
			attr(circle1, "style", circle1_style_value = `stroke-dashoffset: ${/*progressOffset*/ ctx[4]}; stroke-dasharray: ${/*circumference*/ ctx[1]};`);
			attr(svg, "class", "bar svelte-15ynxtv");
		},
		m(target, anchor) {
			insert(target, svg, anchor);
			append(svg, circle0);
			append(svg, circle1);
			/*svg_binding*/ ctx[10](svg);

			if (!mounted) {
				dispose = listen(window, "resize", /*calculateCircleWidthAndStrokeWidth*/ ctx[6]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*center*/ 8) {
				attr(circle0, "cx", /*center*/ ctx[3]);
			}

			if (dirty & /*center*/ 8) {
				attr(circle0, "cy", /*center*/ ctx[3]);
			}

			if (dirty & /*radius*/ 1) {
				attr(circle0, "r", /*radius*/ ctx[0]);
			}

			if (dirty & /*progressOffsets, circumference*/ 34 && circle0_style_value !== (circle0_style_value = `stroke-dashoffset: ${/*progressOffsets*/ ctx[5]}; stroke-dasharray: ${/*circumference*/ ctx[1]};`)) {
				attr(circle0, "style", circle0_style_value);
			}

			if (dirty & /*center*/ 8) {
				attr(circle1, "cx", /*center*/ ctx[3]);
			}

			if (dirty & /*center*/ 8) {
				attr(circle1, "cy", /*center*/ ctx[3]);
			}

			if (dirty & /*radius*/ 1) {
				attr(circle1, "r", /*radius*/ ctx[0]);
			}

			if (dirty & /*progressOffset, circumference*/ 18 && circle1_style_value !== (circle1_style_value = `stroke-dashoffset: ${/*progressOffset*/ ctx[4]}; stroke-dasharray: ${/*circumference*/ ctx[1]};`)) {
				attr(circle1, "style", circle1_style_value);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(svg);
			/*svg_binding*/ ctx[10](null);
			mounted = false;
			dispose();
		}
	};
}

function speedometer_condition_progressbar_index_svelte_instance($$self, $$props, $$invalidate) {
	let { percents = 0 } = $$props;
	let { radiusValue } = $$props;
	let svgContainerRef = null;
	let width = 0;
	let radius = 0;
	let center = 0;
	let circumference = 0;
	let progressOffset = 0;
	let progressOffsets = 0;

	const calculateCircleWidthAndStrokeWidth = () => {
		$$invalidate(9, width = svgContainerRef.getBoundingClientRect().width);
	};

	onMount(() => calculateCircleWidthAndStrokeWidth());

	function svg_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			svgContainerRef = $$value;
			$$invalidate(2, svgContainerRef);
		});
	}

	$$self.$$set = $$props => {
		if ('percents' in $$props) $$invalidate(7, percents = $$props.percents);
		if ('radiusValue' in $$props) $$invalidate(8, radiusValue = $$props.radiusValue);
	};

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*width, radiusValue, radius, percents, circumference*/ 899) {
			$: {
				$$invalidate(0, radius = Math.abs(width / radiusValue - 4 / 6));
				$$invalidate(3, center = width / 2);
				$$invalidate(1, circumference = 2 * Math.PI * radius);
				$$invalidate(4, progressOffset = (100 - percents) / 100 * circumference);
				$$invalidate(5, progressOffsets = (100 - 20) / 100 * circumference);
			}
		}
	};

	return [
		radius,
		circumference,
		svgContainerRef,
		center,
		progressOffset,
		progressOffsets,
		calculateCircleWidthAndStrokeWidth,
		percents,
		radiusValue,
		width,
		svg_binding
	];
}

class Speedometer_condition_progressbar extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, speedometer_condition_progressbar_index_svelte_instance, speedometer_condition_progressbar_index_svelte_create_fragment, safe_not_equal, { percents: 7, radiusValue: 8 }, speedometer_condition_progressbar_index_svelte_add_css);
	}
}

/* harmony default export */ const speedometer_condition_progressbar_index_svelte = (Speedometer_condition_progressbar);
;// CONCATENATED MODULE: ./src/views/hud/components/hud-speedometer/components/advanced/img/speedometer-fuel-arrow.png
const speedometer_fuel_arrow_namespaceObject = __webpack_require__.p + "assets/9053284e0b696040b6d5.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-speedometer/components/advanced/components/speedometer-fuel/index.svelte
/* src\views\hud\components\hud-speedometer\components\advanced\components\speedometer-fuel\index.svelte generated by Svelte v3.49.0 */





function speedometer_fuel_index_svelte_add_css(target) {
	append_styles(target, "svelte-98uh6j", "@keyframes svelte-98uh6j-blinking{50%{opacity:0}}@keyframes svelte-98uh6j-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-98uh6j-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-98uh6j-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-98uh6j-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-98uh6j-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-98uh6j-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-98uh6j-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-98uh6j-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-98uh6j-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-98uh6j-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-98uh6j-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-98uh6j-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-98uh6j-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-98uh6j-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.bar.svelte-98uh6j{vertical-align:middle;transform:rotate(159deg) skew(10deg, 347deg);height:100%;width:100%;--stroke-width:7px;overflow:initial}.bar__line.svelte-98uh6j{stroke:rgba(255, 255, 255, 0.45);transform:rotate(342deg);fill:transparent;stroke-width:var(--stroke-width)}.bar__line-fill.svelte-98uh6j{fill:transparent;transform:rotate(342deg);stroke-width:var(--stroke-width);transition:stroke-dashoffset 0.2s ease 0s, stroke-dasharray 0.2s ease 0s, stroke 0.2s}.bar__fuel-arrow-wrapper.svelte-98uh6j{position:absolute;transition:transform 0.2s linear;right:calc(0.0494791667 * 100vw + 0px);top:calc(0.0520833333 * 100vw + 0px);width:calc(0.0145833333 * 100vw + 0px);height:calc(0.0145833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.bar__fuel-arrow-wrapper.svelte-98uh6j{right:calc(0.0494791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.bar__fuel-arrow-wrapper.svelte-98uh6j{right:calc(0.0494791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.bar__fuel-arrow-wrapper.svelte-98uh6j{right:calc(0.0380989583 * 100vw + 0px)}}@media(min-width: 3440px){.bar__fuel-arrow-wrapper.svelte-98uh6j{right:calc(0.0544270833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.bar__fuel-arrow-wrapper.svelte-98uh6j{right:calc(0.0346354167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.bar__fuel-arrow-wrapper.svelte-98uh6j{right:calc(0.04453125 * 100vw + 0px)}}@media(min-width: 4096px){.bar__fuel-arrow-wrapper.svelte-98uh6j{right:calc(0.0544270833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.bar__fuel-arrow-wrapper.svelte-98uh6j{top:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.bar__fuel-arrow-wrapper.svelte-98uh6j{top:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.bar__fuel-arrow-wrapper.svelte-98uh6j{top:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.bar__fuel-arrow-wrapper.svelte-98uh6j{top:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.bar__fuel-arrow-wrapper.svelte-98uh6j{top:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.bar__fuel-arrow-wrapper.svelte-98uh6j{top:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.bar__fuel-arrow-wrapper.svelte-98uh6j{top:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.bar__fuel-arrow-wrapper.svelte-98uh6j{width:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.bar__fuel-arrow-wrapper.svelte-98uh6j{width:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.bar__fuel-arrow-wrapper.svelte-98uh6j{width:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.bar__fuel-arrow-wrapper.svelte-98uh6j{width:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.bar__fuel-arrow-wrapper.svelte-98uh6j{width:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.bar__fuel-arrow-wrapper.svelte-98uh6j{width:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.bar__fuel-arrow-wrapper.svelte-98uh6j{width:calc(0.0160416667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.bar__fuel-arrow-wrapper.svelte-98uh6j{height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.bar__fuel-arrow-wrapper.svelte-98uh6j{height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.bar__fuel-arrow-wrapper.svelte-98uh6j{height:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.bar__fuel-arrow-wrapper.svelte-98uh6j{height:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.bar__fuel-arrow-wrapper.svelte-98uh6j{height:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.bar__fuel-arrow-wrapper.svelte-98uh6j{height:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.bar__fuel-arrow-wrapper.svelte-98uh6j{height:calc(0.0160416667 * 100vw + 0px)}}.bar__fuel-arrow.svelte-98uh6j{position:absolute;bottom:0;right:calc(-0.003125 * 100vw + 0px);width:calc(0.0520833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.bar__fuel-arrow.svelte-98uh6j{right:calc(-0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.bar__fuel-arrow.svelte-98uh6j{right:calc(-0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.bar__fuel-arrow.svelte-98uh6j{right:calc(-0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.bar__fuel-arrow.svelte-98uh6j{right:calc(-0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.bar__fuel-arrow.svelte-98uh6j{right:calc(-0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.bar__fuel-arrow.svelte-98uh6j{right:calc(-0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.bar__fuel-arrow.svelte-98uh6j{right:calc(-0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.bar__fuel-arrow.svelte-98uh6j{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.bar__fuel-arrow.svelte-98uh6j{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.bar__fuel-arrow.svelte-98uh6j{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.bar__fuel-arrow.svelte-98uh6j{width:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.bar__fuel-arrow.svelte-98uh6j{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.bar__fuel-arrow.svelte-98uh6j{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.bar__fuel-arrow.svelte-98uh6j{width:calc(0.0572916667 * 100vw + 0px)}}");
}

function speedometer_fuel_index_svelte_create_fragment(ctx) {
	let svg;
	let circle0;
	let circle0_style_value;
	let circle1;
	let circle1_style_value;
	let svg_style_value;
	let t;
	let div;
	let img;
	let img_src_value;
	let div_style_value;
	let mounted;
	let dispose;

	return {
		c() {
			svg = svg_element("svg");
			circle0 = svg_element("circle");
			circle1 = svg_element("circle");
			t = space();
			div = internal_element("div");
			img = internal_element("img");
			attr(circle0, "class", "bar__line svelte-98uh6j");
			attr(circle0, "cx", /*center*/ ctx[6]);
			attr(circle0, "cy", /*center*/ ctx[6]);
			attr(circle0, "r", /*radius*/ ctx[3]);
			attr(circle0, "fill", "none");
			attr(circle0, "style", circle0_style_value = `stroke-dashoffset: ${/*progressOffsets*/ ctx[8]}; stroke-dasharray: ${/*circumference*/ ctx[4]};`);
			attr(circle1, "class", "bar__line-fill svelte-98uh6j");
			attr(circle1, "cx", /*center*/ ctx[6]);
			attr(circle1, "cy", /*center*/ ctx[6]);
			attr(circle1, "r", /*radius*/ ctx[3]);
			attr(circle1, "fill", "none");
			attr(circle1, "stroke", /*color*/ ctx[0]);
			attr(circle1, "style", circle1_style_value = `stroke-dashoffset: ${/*progressOffset*/ ctx[7]}; stroke-dasharray: ${/*circumference*/ ctx[4]};`);
			attr(svg, "class", "bar svelte-98uh6j");
			attr(svg, "style", svg_style_value = `--stroke-width: ${/*strokeWidth*/ ctx[1]}`);
			attr(img, "class", "bar__fuel-arrow svelte-98uh6j");
			if (!src_url_equal(img.src, img_src_value = speedometer_fuel_arrow_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "arrow");
			attr(div, "class", "bar__fuel-arrow-wrapper svelte-98uh6j");
			attr(div, "style", div_style_value = `transform: rotate(${/*fuelValue*/ ctx[2] * 1.32 + 317}deg);`);
		},
		m(target, anchor) {
			insert(target, svg, anchor);
			append(svg, circle0);
			append(svg, circle1);
			/*svg_binding*/ ctx[12](svg);
			insert(target, t, anchor);
			insert(target, div, anchor);
			append(div, img);

			if (!mounted) {
				dispose = listen(window, "resize", /*calculateCircleWidthAndStrokeWidth*/ ctx[9]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*center*/ 64) {
				attr(circle0, "cx", /*center*/ ctx[6]);
			}

			if (dirty & /*center*/ 64) {
				attr(circle0, "cy", /*center*/ ctx[6]);
			}

			if (dirty & /*radius*/ 8) {
				attr(circle0, "r", /*radius*/ ctx[3]);
			}

			if (dirty & /*progressOffsets, circumference*/ 272 && circle0_style_value !== (circle0_style_value = `stroke-dashoffset: ${/*progressOffsets*/ ctx[8]}; stroke-dasharray: ${/*circumference*/ ctx[4]};`)) {
				attr(circle0, "style", circle0_style_value);
			}

			if (dirty & /*center*/ 64) {
				attr(circle1, "cx", /*center*/ ctx[6]);
			}

			if (dirty & /*center*/ 64) {
				attr(circle1, "cy", /*center*/ ctx[6]);
			}

			if (dirty & /*radius*/ 8) {
				attr(circle1, "r", /*radius*/ ctx[3]);
			}

			if (dirty & /*color*/ 1) {
				attr(circle1, "stroke", /*color*/ ctx[0]);
			}

			if (dirty & /*progressOffset, circumference*/ 144 && circle1_style_value !== (circle1_style_value = `stroke-dashoffset: ${/*progressOffset*/ ctx[7]}; stroke-dasharray: ${/*circumference*/ ctx[4]};`)) {
				attr(circle1, "style", circle1_style_value);
			}

			if (dirty & /*strokeWidth*/ 2 && svg_style_value !== (svg_style_value = `--stroke-width: ${/*strokeWidth*/ ctx[1]}`)) {
				attr(svg, "style", svg_style_value);
			}

			if (dirty & /*fuelValue*/ 4 && div_style_value !== (div_style_value = `transform: rotate(${/*fuelValue*/ ctx[2] * 1.32 + 317}deg);`)) {
				attr(div, "style", div_style_value);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(svg);
			/*svg_binding*/ ctx[12](null);
			if (detaching) detach(t);
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

function speedometer_fuel_index_svelte_instance($$self, $$props, $$invalidate) {
	let { color = '#FFFFFF' } = $$props;
	let { percents = 0 } = $$props;
	let { strokeWidth } = $$props;
	let { fuelValue } = $$props;
	let svgContainerRef = null;
	let width = 0;
	let radius = 0;
	let center = 0;
	let circumference = 0;
	let progressOffset = 0;
	let progressOffsets = 0;

	const calculateCircleWidthAndStrokeWidth = () => {
		$$invalidate(11, width = svgContainerRef.getBoundingClientRect().width);
	};

	onMount(() => calculateCircleWidthAndStrokeWidth());

	function svg_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			svgContainerRef = $$value;
			$$invalidate(5, svgContainerRef);
		});
	}

	$$self.$$set = $$props => {
		if ('color' in $$props) $$invalidate(0, color = $$props.color);
		if ('percents' in $$props) $$invalidate(10, percents = $$props.percents);
		if ('strokeWidth' in $$props) $$invalidate(1, strokeWidth = $$props.strokeWidth);
		if ('fuelValue' in $$props) $$invalidate(2, fuelValue = $$props.fuelValue);
	};

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*width, strokeWidth, radius, percents, circumference*/ 3098) {
			$: {
				$$invalidate(3, radius = Math.abs(width / 3.3 - Number(strokeWidth) / 2));
				$$invalidate(6, center = width / 2);
				$$invalidate(4, circumference = 2 * Math.PI * radius);
				$$invalidate(7, progressOffset = (100 - percents) / 100 * circumference);
				$$invalidate(8, progressOffsets = (100 - 39) / 100 * circumference);
			}
		}
	};

	return [
		color,
		strokeWidth,
		fuelValue,
		radius,
		circumference,
		svgContainerRef,
		center,
		progressOffset,
		progressOffsets,
		calculateCircleWidthAndStrokeWidth,
		percents,
		width,
		svg_binding
	];
}

class Speedometer_fuel extends SvelteComponent {
	constructor(options) {
		super();

		init(
			this,
			options,
			speedometer_fuel_index_svelte_instance,
			speedometer_fuel_index_svelte_create_fragment,
			safe_not_equal,
			{
				color: 0,
				percents: 10,
				strokeWidth: 1,
				fuelValue: 2
			},
			speedometer_fuel_index_svelte_add_css
		);
	}
}

/* harmony default export */ const speedometer_fuel_index_svelte = (Speedometer_fuel);
;// CONCATENATED MODULE: ./src/views/hud/components/hud-speedometer/components/advanced/img/speedometer-lines-bg.png
const speedometer_lines_bg_namespaceObject = __webpack_require__.p + "assets/e268fc42d63c488b0b32.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-speedometer/components/advanced/index.svelte
/* src\views\hud\components\hud-speedometer\components\advanced\index.svelte generated by Svelte v3.49.0 */










function advanced_index_svelte_add_css(target) {
	append_styles(target, "svelte-1a6hch6", "@keyframes svelte-1a6hch6-blinking{50%{opacity:0}}@keyframes svelte-1a6hch6-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1a6hch6-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1a6hch6-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1a6hch6-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1a6hch6-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1a6hch6-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1a6hch6-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1a6hch6-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1a6hch6-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1a6hch6-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1a6hch6-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1a6hch6-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1a6hch6-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1a6hch6-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.hud-speedometer.svelte-1a6hch6{display:flex;justify-content:center;align-items:center;position:absolute;right:calc(-0.0119791667 * 100vw + 0px);bottom:calc(0.0140625 * 100vw + 0px);width:calc(0.215625 * 100vw + 0px);height:calc(0.1588541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer.svelte-1a6hch6{right:calc(-0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer.svelte-1a6hch6{right:calc(-0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer.svelte-1a6hch6{right:calc(-0.0092239583 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer.svelte-1a6hch6{right:calc(-0.0131770833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer.svelte-1a6hch6{right:calc(-0.0083854167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer.svelte-1a6hch6{right:calc(-0.01078125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer.svelte-1a6hch6{right:calc(-0.0131770833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer.svelte-1a6hch6{bottom:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer.svelte-1a6hch6{bottom:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer.svelte-1a6hch6{bottom:calc(0.010828125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer.svelte-1a6hch6{bottom:calc(0.01546875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer.svelte-1a6hch6{bottom:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer.svelte-1a6hch6{bottom:calc(0.01265625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer.svelte-1a6hch6{bottom:calc(0.01546875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer.svelte-1a6hch6{width:calc(0.215625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer.svelte-1a6hch6{width:calc(0.215625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer.svelte-1a6hch6{width:calc(0.16603125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer.svelte-1a6hch6{width:calc(0.2371875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer.svelte-1a6hch6{width:calc(0.1509375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer.svelte-1a6hch6{width:calc(0.1940625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer.svelte-1a6hch6{width:calc(0.2371875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer.svelte-1a6hch6{height:calc(0.1588541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer.svelte-1a6hch6{height:calc(0.1588541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer.svelte-1a6hch6{height:calc(0.1223177083 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer.svelte-1a6hch6{height:calc(0.1747395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer.svelte-1a6hch6{height:calc(0.1111979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer.svelte-1a6hch6{height:calc(0.14296875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer.svelte-1a6hch6{height:calc(0.1747395833 * 100vw + 0px)}}.hud-speedometer__oil-icon.svelte-1a6hch6{position:absolute;color:#FFFFFF;top:calc(-0.0052083333 * 100vw + 0px);right:calc(-0.015625 * 100vw + 0px);font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__oil-icon.svelte-1a6hch6{top:calc(-0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__oil-icon.svelte-1a6hch6{top:calc(-0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__oil-icon.svelte-1a6hch6{top:calc(-0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__oil-icon.svelte-1a6hch6{top:calc(-0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__oil-icon.svelte-1a6hch6{top:calc(-0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__oil-icon.svelte-1a6hch6{top:calc(-0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__oil-icon.svelte-1a6hch6{top:calc(-0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__oil-icon.svelte-1a6hch6{right:calc(-0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__oil-icon.svelte-1a6hch6{right:calc(-0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__oil-icon.svelte-1a6hch6{right:calc(-0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__oil-icon.svelte-1a6hch6{right:calc(-0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__oil-icon.svelte-1a6hch6{right:calc(-0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__oil-icon.svelte-1a6hch6{right:calc(-0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__oil-icon.svelte-1a6hch6{right:calc(-0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__oil-icon.svelte-1a6hch6{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__oil-icon.svelte-1a6hch6{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__oil-icon.svelte-1a6hch6{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__oil-icon.svelte-1a6hch6{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__oil-icon.svelte-1a6hch6{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__oil-icon.svelte-1a6hch6{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__oil-icon.svelte-1a6hch6{font-size:calc(0.01375 * 100vw + 0px)}}.hud-speedometer__wheel-icon.svelte-1a6hch6{position:absolute;color:#FFFFFF;top:calc(0.0432291667 * 100vw + 0px);right:calc(-0.0041666667 * 100vw + 0px);font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__wheel-icon.svelte-1a6hch6{top:calc(0.0432291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__wheel-icon.svelte-1a6hch6{top:calc(0.0432291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__wheel-icon.svelte-1a6hch6{top:calc(0.0332864583 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__wheel-icon.svelte-1a6hch6{top:calc(0.0475520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__wheel-icon.svelte-1a6hch6{top:calc(0.0302604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__wheel-icon.svelte-1a6hch6{top:calc(0.03890625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__wheel-icon.svelte-1a6hch6{top:calc(0.0475520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__wheel-icon.svelte-1a6hch6{right:calc(-0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__wheel-icon.svelte-1a6hch6{right:calc(-0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__wheel-icon.svelte-1a6hch6{right:calc(-0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__wheel-icon.svelte-1a6hch6{right:calc(-0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__wheel-icon.svelte-1a6hch6{right:calc(-0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__wheel-icon.svelte-1a6hch6{right:calc(-0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__wheel-icon.svelte-1a6hch6{right:calc(-0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__wheel-icon.svelte-1a6hch6{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__wheel-icon.svelte-1a6hch6{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__wheel-icon.svelte-1a6hch6{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__wheel-icon.svelte-1a6hch6{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__wheel-icon.svelte-1a6hch6{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__wheel-icon.svelte-1a6hch6{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__wheel-icon.svelte-1a6hch6{font-size:calc(0.01375 * 100vw + 0px)}}.hud-speedometer__engine-icon.svelte-1a6hch6{position:absolute;color:#FFFFFF;top:calc(0.0817708333 * 100vw + 0px);right:calc(0.0427083333 * 100vw + 0px);font-size:calc(0.0098958333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__engine-icon.svelte-1a6hch6{top:calc(0.0817708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__engine-icon.svelte-1a6hch6{top:calc(0.0817708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__engine-icon.svelte-1a6hch6{top:calc(0.0629635417 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__engine-icon.svelte-1a6hch6{top:calc(0.0899479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__engine-icon.svelte-1a6hch6{top:calc(0.0572395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__engine-icon.svelte-1a6hch6{top:calc(0.07359375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__engine-icon.svelte-1a6hch6{top:calc(0.0899479167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__engine-icon.svelte-1a6hch6{right:calc(0.0427083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__engine-icon.svelte-1a6hch6{right:calc(0.0427083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__engine-icon.svelte-1a6hch6{right:calc(0.0328854167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__engine-icon.svelte-1a6hch6{right:calc(0.0469791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__engine-icon.svelte-1a6hch6{right:calc(0.0298958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__engine-icon.svelte-1a6hch6{right:calc(0.0384375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__engine-icon.svelte-1a6hch6{right:calc(0.0469791667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__engine-icon.svelte-1a6hch6{font-size:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__engine-icon.svelte-1a6hch6{font-size:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__engine-icon.svelte-1a6hch6{font-size:calc(0.0076197917 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__engine-icon.svelte-1a6hch6{font-size:calc(0.0108854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__engine-icon.svelte-1a6hch6{font-size:calc(0.0069270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__engine-icon.svelte-1a6hch6{font-size:calc(0.00890625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__engine-icon.svelte-1a6hch6{font-size:calc(0.0108854167 * 100vw + 0px)}}.hud-speedometer__light-icon.svelte-1a6hch6{position:absolute;color:rgba(255, 255, 255, 0.5);top:calc(0.146875 * 100vw + 0px);right:calc(0.1458333333 * 100vw + 0px);font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__light-icon.svelte-1a6hch6{top:calc(0.146875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__light-icon.svelte-1a6hch6{top:calc(0.146875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__light-icon.svelte-1a6hch6{top:calc(0.11309375 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__light-icon.svelte-1a6hch6{top:calc(0.1615625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__light-icon.svelte-1a6hch6{top:calc(0.1028125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__light-icon.svelte-1a6hch6{top:calc(0.1321875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__light-icon.svelte-1a6hch6{top:calc(0.1615625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__light-icon.svelte-1a6hch6{right:calc(0.1458333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__light-icon.svelte-1a6hch6{right:calc(0.1458333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__light-icon.svelte-1a6hch6{right:calc(0.1122916667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__light-icon.svelte-1a6hch6{right:calc(0.1604166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__light-icon.svelte-1a6hch6{right:calc(0.1020833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__light-icon.svelte-1a6hch6{right:calc(0.13125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__light-icon.svelte-1a6hch6{right:calc(0.1604166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__light-icon.svelte-1a6hch6{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__light-icon.svelte-1a6hch6{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__light-icon.svelte-1a6hch6{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__light-icon.svelte-1a6hch6{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__light-icon.svelte-1a6hch6{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__light-icon.svelte-1a6hch6{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__light-icon.svelte-1a6hch6{font-size:calc(0.0114583333 * 100vw + 0px)}}.hud-speedometer__light-icon--turn.svelte-1a6hch6{color:#FFFFFF}.hud-speedometer__arrow-right-icon.svelte-1a6hch6{position:absolute;color:rgba(255, 255, 255, 0.5);top:calc(0.1473958333 * 100vw + 0px);right:calc(0.1822916667 * 100vw + 0px);font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__arrow-right-icon.svelte-1a6hch6{top:calc(0.1473958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__arrow-right-icon.svelte-1a6hch6{top:calc(0.1473958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__arrow-right-icon.svelte-1a6hch6{top:calc(0.1134947917 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__arrow-right-icon.svelte-1a6hch6{top:calc(0.1621354167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__arrow-right-icon.svelte-1a6hch6{top:calc(0.1031770833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__arrow-right-icon.svelte-1a6hch6{top:calc(0.13265625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__arrow-right-icon.svelte-1a6hch6{top:calc(0.1621354167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__arrow-right-icon.svelte-1a6hch6{right:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__arrow-right-icon.svelte-1a6hch6{right:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__arrow-right-icon.svelte-1a6hch6{right:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__arrow-right-icon.svelte-1a6hch6{right:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__arrow-right-icon.svelte-1a6hch6{right:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__arrow-right-icon.svelte-1a6hch6{right:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__arrow-right-icon.svelte-1a6hch6{right:calc(0.2005208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__arrow-right-icon.svelte-1a6hch6{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__arrow-right-icon.svelte-1a6hch6{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__arrow-right-icon.svelte-1a6hch6{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__arrow-right-icon.svelte-1a6hch6{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__arrow-right-icon.svelte-1a6hch6{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__arrow-right-icon.svelte-1a6hch6{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__arrow-right-icon.svelte-1a6hch6{font-size:calc(0.0091666667 * 100vw + 0px)}}.hud-speedometer__arrow-right-icon--turn.svelte-1a6hch6{color:#6AFFA6}.hud-speedometer__arrow-left-icon.svelte-1a6hch6{position:absolute;color:rgba(255, 255, 255, 0.5);top:calc(0.1473958333 * 100vw + 0px);right:calc(0.1979166667 * 100vw + 0px);font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__arrow-left-icon.svelte-1a6hch6{top:calc(0.1473958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__arrow-left-icon.svelte-1a6hch6{top:calc(0.1473958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__arrow-left-icon.svelte-1a6hch6{top:calc(0.1134947917 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__arrow-left-icon.svelte-1a6hch6{top:calc(0.1621354167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__arrow-left-icon.svelte-1a6hch6{top:calc(0.1031770833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__arrow-left-icon.svelte-1a6hch6{top:calc(0.13265625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__arrow-left-icon.svelte-1a6hch6{top:calc(0.1621354167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__arrow-left-icon.svelte-1a6hch6{right:calc(0.1979166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__arrow-left-icon.svelte-1a6hch6{right:calc(0.1979166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__arrow-left-icon.svelte-1a6hch6{right:calc(0.1523958333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__arrow-left-icon.svelte-1a6hch6{right:calc(0.2177083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__arrow-left-icon.svelte-1a6hch6{right:calc(0.1385416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__arrow-left-icon.svelte-1a6hch6{right:calc(0.178125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__arrow-left-icon.svelte-1a6hch6{right:calc(0.2177083333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__arrow-left-icon.svelte-1a6hch6{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__arrow-left-icon.svelte-1a6hch6{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__arrow-left-icon.svelte-1a6hch6{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__arrow-left-icon.svelte-1a6hch6{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__arrow-left-icon.svelte-1a6hch6{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__arrow-left-icon.svelte-1a6hch6{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__arrow-left-icon.svelte-1a6hch6{font-size:calc(0.0091666667 * 100vw + 0px)}}.hud-speedometer__arrow-left-icon--turn.svelte-1a6hch6{color:#6AFFA6}.hud-speedometer__fuel-icon.svelte-1a6hch6{position:absolute;color:#FFFFFF;top:calc(0.0328125 * 100vw + 0px);right:calc(0.0484375 * 100vw + 0px);font-size:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__fuel-icon.svelte-1a6hch6{top:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__fuel-icon.svelte-1a6hch6{top:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__fuel-icon.svelte-1a6hch6{top:calc(0.025265625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__fuel-icon.svelte-1a6hch6{top:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__fuel-icon.svelte-1a6hch6{top:calc(0.02296875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__fuel-icon.svelte-1a6hch6{top:calc(0.02953125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__fuel-icon.svelte-1a6hch6{top:calc(0.03609375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__fuel-icon.svelte-1a6hch6{right:calc(0.0484375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__fuel-icon.svelte-1a6hch6{right:calc(0.0484375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__fuel-icon.svelte-1a6hch6{right:calc(0.037296875 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__fuel-icon.svelte-1a6hch6{right:calc(0.05328125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__fuel-icon.svelte-1a6hch6{right:calc(0.03390625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__fuel-icon.svelte-1a6hch6{right:calc(0.04359375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__fuel-icon.svelte-1a6hch6{right:calc(0.05328125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__fuel-icon.svelte-1a6hch6{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__fuel-icon.svelte-1a6hch6{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__fuel-icon.svelte-1a6hch6{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__fuel-icon.svelte-1a6hch6{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__fuel-icon.svelte-1a6hch6{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__fuel-icon.svelte-1a6hch6{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__fuel-icon.svelte-1a6hch6{font-size:calc(0.00859375 * 100vw + 0px)}}.hud-speedometer__body-wrapper.svelte-1a6hch6{display:flex;justify-content:center;align-items:center;width:calc(0.1296875 * 100vw + 0px);height:calc(0.1296875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-wrapper.svelte-1a6hch6{width:calc(0.1296875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-wrapper.svelte-1a6hch6{width:calc(0.1296875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-wrapper.svelte-1a6hch6{width:calc(0.099859375 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-wrapper.svelte-1a6hch6{width:calc(0.14265625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-wrapper.svelte-1a6hch6{width:calc(0.09078125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-wrapper.svelte-1a6hch6{width:calc(0.11671875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-wrapper.svelte-1a6hch6{width:calc(0.14265625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-wrapper.svelte-1a6hch6{height:calc(0.1296875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-wrapper.svelte-1a6hch6{height:calc(0.1296875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-wrapper.svelte-1a6hch6{height:calc(0.099859375 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-wrapper.svelte-1a6hch6{height:calc(0.14265625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-wrapper.svelte-1a6hch6{height:calc(0.09078125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-wrapper.svelte-1a6hch6{height:calc(0.11671875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-wrapper.svelte-1a6hch6{height:calc(0.14265625 * 100vw + 0px)}}.hud-speedometer__body-wrapper.svelte-1a6hch6::before{content:\"\";position:absolute;filter:blur(calc(0.03125 * 100vw + 0px));background-color:#111111;z-index:-1;width:calc(0.1197916667 * 100vw + 0px);height:calc(0.1197916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-wrapper.svelte-1a6hch6::before{width:calc(0.1197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-wrapper.svelte-1a6hch6::before{width:calc(0.1197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-wrapper.svelte-1a6hch6::before{width:calc(0.0922395833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-wrapper.svelte-1a6hch6::before{width:calc(0.1317708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-wrapper.svelte-1a6hch6::before{width:calc(0.0838541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-wrapper.svelte-1a6hch6::before{width:calc(0.1078125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-wrapper.svelte-1a6hch6::before{width:calc(0.1317708333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-wrapper.svelte-1a6hch6::before{height:calc(0.1197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-wrapper.svelte-1a6hch6::before{height:calc(0.1197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-wrapper.svelte-1a6hch6::before{height:calc(0.0922395833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-wrapper.svelte-1a6hch6::before{height:calc(0.1317708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-wrapper.svelte-1a6hch6::before{height:calc(0.0838541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-wrapper.svelte-1a6hch6::before{height:calc(0.1078125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-wrapper.svelte-1a6hch6::before{height:calc(0.1317708333 * 100vw + 0px)}}.hud-speedometer__body-lines-wrapper.svelte-1a6hch6{position:absolute}.hud-speedometer__body-lines-img.svelte-1a6hch6{width:calc(0.1296875 * 100vw + 0px);height:calc(0.1296875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-lines-img.svelte-1a6hch6{width:calc(0.1296875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-lines-img.svelte-1a6hch6{width:calc(0.1296875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-lines-img.svelte-1a6hch6{width:calc(0.099859375 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-lines-img.svelte-1a6hch6{width:calc(0.14265625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-lines-img.svelte-1a6hch6{width:calc(0.09078125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-lines-img.svelte-1a6hch6{width:calc(0.11671875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-lines-img.svelte-1a6hch6{width:calc(0.14265625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-lines-img.svelte-1a6hch6{height:calc(0.1296875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-lines-img.svelte-1a6hch6{height:calc(0.1296875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-lines-img.svelte-1a6hch6{height:calc(0.099859375 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-lines-img.svelte-1a6hch6{height:calc(0.14265625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-lines-img.svelte-1a6hch6{height:calc(0.09078125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-lines-img.svelte-1a6hch6{height:calc(0.11671875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-lines-img.svelte-1a6hch6{height:calc(0.14265625 * 100vw + 0px)}}.hud-speedometer__oil-wrapper.svelte-1a6hch6{position:absolute;top:calc(0.0322916667 * 100vw + 0px);right:calc(0.046875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__oil-wrapper.svelte-1a6hch6{top:calc(0.0322916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__oil-wrapper.svelte-1a6hch6{top:calc(0.0322916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__oil-wrapper.svelte-1a6hch6{top:calc(0.0248645833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__oil-wrapper.svelte-1a6hch6{top:calc(0.0355208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__oil-wrapper.svelte-1a6hch6{top:calc(0.0226041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__oil-wrapper.svelte-1a6hch6{top:calc(0.0290625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__oil-wrapper.svelte-1a6hch6{top:calc(0.0355208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__oil-wrapper.svelte-1a6hch6{right:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__oil-wrapper.svelte-1a6hch6{right:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__oil-wrapper.svelte-1a6hch6{right:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__oil-wrapper.svelte-1a6hch6{right:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__oil-wrapper.svelte-1a6hch6{right:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__oil-wrapper.svelte-1a6hch6{right:calc(0.0421875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__oil-wrapper.svelte-1a6hch6{right:calc(0.0515625 * 100vw + 0px)}}.hud-speedometer__oil.svelte-1a6hch6{transform:rotateY(180deg) rotate(353deg) skewX(338deg);width:calc(0.075 * 100vw + 0px);height:calc(0.075 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__oil.svelte-1a6hch6{width:calc(0.075 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__oil.svelte-1a6hch6{width:calc(0.075 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__oil.svelte-1a6hch6{width:calc(0.05775 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__oil.svelte-1a6hch6{width:calc(0.0825 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__oil.svelte-1a6hch6{width:calc(0.0525 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__oil.svelte-1a6hch6{width:calc(0.0675 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__oil.svelte-1a6hch6{width:calc(0.0825 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__oil.svelte-1a6hch6{height:calc(0.075 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__oil.svelte-1a6hch6{height:calc(0.075 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__oil.svelte-1a6hch6{height:calc(0.05775 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__oil.svelte-1a6hch6{height:calc(0.0825 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__oil.svelte-1a6hch6{height:calc(0.0525 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__oil.svelte-1a6hch6{height:calc(0.0675 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__oil.svelte-1a6hch6{height:calc(0.0825 * 100vw + 0px)}}.hud-speedometer__fuel-wrapper.svelte-1a6hch6{position:absolute;top:calc(0.0583333333 * 100vw + 0px);right:calc(0.1302083333 * 100vw + 0px);width:calc(0.075 * 100vw + 0px);height:calc(0.075 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__fuel-wrapper.svelte-1a6hch6{top:calc(0.0583333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__fuel-wrapper.svelte-1a6hch6{top:calc(0.0583333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__fuel-wrapper.svelte-1a6hch6{top:calc(0.0449166667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__fuel-wrapper.svelte-1a6hch6{top:calc(0.0641666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__fuel-wrapper.svelte-1a6hch6{top:calc(0.0408333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__fuel-wrapper.svelte-1a6hch6{top:calc(0.0525 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__fuel-wrapper.svelte-1a6hch6{top:calc(0.0641666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__fuel-wrapper.svelte-1a6hch6{right:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__fuel-wrapper.svelte-1a6hch6{right:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__fuel-wrapper.svelte-1a6hch6{right:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__fuel-wrapper.svelte-1a6hch6{right:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__fuel-wrapper.svelte-1a6hch6{right:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__fuel-wrapper.svelte-1a6hch6{right:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__fuel-wrapper.svelte-1a6hch6{right:calc(0.1432291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__fuel-wrapper.svelte-1a6hch6{width:calc(0.075 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__fuel-wrapper.svelte-1a6hch6{width:calc(0.075 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__fuel-wrapper.svelte-1a6hch6{width:calc(0.05775 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__fuel-wrapper.svelte-1a6hch6{width:calc(0.0825 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__fuel-wrapper.svelte-1a6hch6{width:calc(0.0525 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__fuel-wrapper.svelte-1a6hch6{width:calc(0.0675 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__fuel-wrapper.svelte-1a6hch6{width:calc(0.0825 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__fuel-wrapper.svelte-1a6hch6{height:calc(0.075 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__fuel-wrapper.svelte-1a6hch6{height:calc(0.075 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__fuel-wrapper.svelte-1a6hch6{height:calc(0.05775 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__fuel-wrapper.svelte-1a6hch6{height:calc(0.0825 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__fuel-wrapper.svelte-1a6hch6{height:calc(0.0525 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__fuel-wrapper.svelte-1a6hch6{height:calc(0.0675 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__fuel-wrapper.svelte-1a6hch6{height:calc(0.0825 * 100vw + 0px)}}.hud-speedometer__wheel-wrapper.svelte-1a6hch6{position:absolute;top:calc(0.0625 * 100vw + 0px);right:calc(0.0302083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__wheel-wrapper.svelte-1a6hch6{top:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__wheel-wrapper.svelte-1a6hch6{top:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__wheel-wrapper.svelte-1a6hch6{top:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__wheel-wrapper.svelte-1a6hch6{top:calc(0.06875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__wheel-wrapper.svelte-1a6hch6{top:calc(0.04375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__wheel-wrapper.svelte-1a6hch6{top:calc(0.05625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__wheel-wrapper.svelte-1a6hch6{top:calc(0.06875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__wheel-wrapper.svelte-1a6hch6{right:calc(0.0302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__wheel-wrapper.svelte-1a6hch6{right:calc(0.0302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__wheel-wrapper.svelte-1a6hch6{right:calc(0.0232604167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__wheel-wrapper.svelte-1a6hch6{right:calc(0.0332291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__wheel-wrapper.svelte-1a6hch6{right:calc(0.0211458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__wheel-wrapper.svelte-1a6hch6{right:calc(0.0271875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__wheel-wrapper.svelte-1a6hch6{right:calc(0.0332291667 * 100vw + 0px)}}.hud-speedometer__wheel.svelte-1a6hch6{transform:rotateY(180deg) rotate(290deg) skewX(330deg);width:calc(0.0833333333 * 100vw + 0px);height:calc(0.075 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__wheel.svelte-1a6hch6{width:calc(0.0833333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__wheel.svelte-1a6hch6{width:calc(0.0833333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__wheel.svelte-1a6hch6{width:calc(0.0641666667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__wheel.svelte-1a6hch6{width:calc(0.0916666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__wheel.svelte-1a6hch6{width:calc(0.0583333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__wheel.svelte-1a6hch6{width:calc(0.075 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__wheel.svelte-1a6hch6{width:calc(0.0916666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__wheel.svelte-1a6hch6{height:calc(0.075 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__wheel.svelte-1a6hch6{height:calc(0.075 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__wheel.svelte-1a6hch6{height:calc(0.05775 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__wheel.svelte-1a6hch6{height:calc(0.0825 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__wheel.svelte-1a6hch6{height:calc(0.0525 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__wheel.svelte-1a6hch6{height:calc(0.0675 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__wheel.svelte-1a6hch6{height:calc(0.0825 * 100vw + 0px)}}.hud-speedometer__engine-wrapper.svelte-1a6hch6{position:absolute;top:calc(0.0640625 * 100vw + 0px);right:calc(0.071875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__engine-wrapper.svelte-1a6hch6{top:calc(0.0640625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__engine-wrapper.svelte-1a6hch6{top:calc(0.0640625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__engine-wrapper.svelte-1a6hch6{top:calc(0.049328125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__engine-wrapper.svelte-1a6hch6{top:calc(0.07046875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__engine-wrapper.svelte-1a6hch6{top:calc(0.04484375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__engine-wrapper.svelte-1a6hch6{top:calc(0.05765625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__engine-wrapper.svelte-1a6hch6{top:calc(0.07046875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__engine-wrapper.svelte-1a6hch6{right:calc(0.071875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__engine-wrapper.svelte-1a6hch6{right:calc(0.071875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__engine-wrapper.svelte-1a6hch6{right:calc(0.05534375 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__engine-wrapper.svelte-1a6hch6{right:calc(0.0790625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__engine-wrapper.svelte-1a6hch6{right:calc(0.0503125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__engine-wrapper.svelte-1a6hch6{right:calc(0.0646875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__engine-wrapper.svelte-1a6hch6{right:calc(0.0790625 * 100vw + 0px)}}.hud-speedometer__engine.svelte-1a6hch6{transform:rotateY(150deg) rotate(224deg) skewX(329deg);width:calc(0.075 * 100vw + 0px);height:calc(0.0833333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__engine.svelte-1a6hch6{width:calc(0.075 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__engine.svelte-1a6hch6{width:calc(0.075 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__engine.svelte-1a6hch6{width:calc(0.05775 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__engine.svelte-1a6hch6{width:calc(0.0825 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__engine.svelte-1a6hch6{width:calc(0.0525 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__engine.svelte-1a6hch6{width:calc(0.0675 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__engine.svelte-1a6hch6{width:calc(0.0825 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__engine.svelte-1a6hch6{height:calc(0.0833333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__engine.svelte-1a6hch6{height:calc(0.0833333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__engine.svelte-1a6hch6{height:calc(0.0641666667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__engine.svelte-1a6hch6{height:calc(0.0916666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__engine.svelte-1a6hch6{height:calc(0.0583333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__engine.svelte-1a6hch6{height:calc(0.075 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__engine.svelte-1a6hch6{height:calc(0.0916666667 * 100vw + 0px)}}.hud-speedometer__body-mileage.svelte-1a6hch6{position:absolute;display:flex;align-items:flex-end;flex-direction:column;font-family:\"Furore\";letter-spacing:calc(0.0010416667 * 100vw + 0px);top:calc(0.046875 * 100vw + 0px);width:calc(0.0427083333 * 100vw + 0px);height:calc(0.009375 * 100vw + 0px);font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-mileage.svelte-1a6hch6{letter-spacing:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-mileage.svelte-1a6hch6{letter-spacing:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-mileage.svelte-1a6hch6{letter-spacing:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-mileage.svelte-1a6hch6{letter-spacing:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-mileage.svelte-1a6hch6{letter-spacing:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-mileage.svelte-1a6hch6{letter-spacing:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-mileage.svelte-1a6hch6{letter-spacing:calc(0.0011458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-mileage.svelte-1a6hch6{top:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-mileage.svelte-1a6hch6{top:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-mileage.svelte-1a6hch6{top:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-mileage.svelte-1a6hch6{top:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-mileage.svelte-1a6hch6{top:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-mileage.svelte-1a6hch6{top:calc(0.0421875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-mileage.svelte-1a6hch6{top:calc(0.0515625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-mileage.svelte-1a6hch6{width:calc(0.0427083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-mileage.svelte-1a6hch6{width:calc(0.0427083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-mileage.svelte-1a6hch6{width:calc(0.0328854167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-mileage.svelte-1a6hch6{width:calc(0.0469791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-mileage.svelte-1a6hch6{width:calc(0.0298958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-mileage.svelte-1a6hch6{width:calc(0.0384375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-mileage.svelte-1a6hch6{width:calc(0.0469791667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-mileage.svelte-1a6hch6{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-mileage.svelte-1a6hch6{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-mileage.svelte-1a6hch6{height:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-mileage.svelte-1a6hch6{height:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-mileage.svelte-1a6hch6{height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-mileage.svelte-1a6hch6{height:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-mileage.svelte-1a6hch6{height:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-mileage.svelte-1a6hch6{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-mileage.svelte-1a6hch6{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-mileage.svelte-1a6hch6{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-mileage.svelte-1a6hch6{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-mileage.svelte-1a6hch6{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-mileage.svelte-1a6hch6{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-mileage.svelte-1a6hch6{font-size:calc(0.0091666667 * 100vw + 0px)}}.hud-speedometer__body-mileage.svelte-1a6hch6::before{content:\"\";top:0;left:calc(0.0026041667 * 100vw + 0px);position:absolute;width:100%;height:100%;background:rgba(0, 0, 0, 0.8);z-index:-1;filter:blur(calc(0.0046875 * 100vw + 0px))}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-mileage.svelte-1a6hch6::before{left:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-mileage.svelte-1a6hch6::before{left:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-mileage.svelte-1a6hch6::before{left:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-mileage.svelte-1a6hch6::before{left:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-mileage.svelte-1a6hch6::before{left:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-mileage.svelte-1a6hch6::before{left:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-mileage.svelte-1a6hch6::before{left:calc(0.0028645833 * 100vw + 0px)}}.hud-speedometer__body-mileage-subvalue.svelte-1a6hch6{position:absolute;color:rgba(255, 255, 255, 0.1)}.hud-speedometer__body-mileage-value.svelte-1a6hch6{color:#FFFFFF}.hud-speedometer__body-count.svelte-1a6hch6{position:absolute;display:flex;align-items:flex-end;flex-direction:column;font-family:\"DINPro-CondensedBoldItalic\";font-style:italic;top:calc(0.05 * 100vw + 0px);width:calc(0.0572916667 * 100vw + 0px);height:calc(0.075 * 100vw + 0px);font-size:calc(0.05 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-count.svelte-1a6hch6{top:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-count.svelte-1a6hch6{top:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-count.svelte-1a6hch6{top:calc(0.0385 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-count.svelte-1a6hch6{top:calc(0.055 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-count.svelte-1a6hch6{top:calc(0.035 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-count.svelte-1a6hch6{top:calc(0.045 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-count.svelte-1a6hch6{top:calc(0.055 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-count.svelte-1a6hch6{width:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-count.svelte-1a6hch6{width:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-count.svelte-1a6hch6{width:calc(0.0441145833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-count.svelte-1a6hch6{width:calc(0.0630208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-count.svelte-1a6hch6{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-count.svelte-1a6hch6{width:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-count.svelte-1a6hch6{width:calc(0.0630208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-count.svelte-1a6hch6{height:calc(0.075 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-count.svelte-1a6hch6{height:calc(0.075 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-count.svelte-1a6hch6{height:calc(0.05775 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-count.svelte-1a6hch6{height:calc(0.0825 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-count.svelte-1a6hch6{height:calc(0.0525 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-count.svelte-1a6hch6{height:calc(0.0675 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-count.svelte-1a6hch6{height:calc(0.0825 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-count.svelte-1a6hch6{font-size:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-count.svelte-1a6hch6{font-size:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-count.svelte-1a6hch6{font-size:calc(0.0385 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-count.svelte-1a6hch6{font-size:calc(0.055 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-count.svelte-1a6hch6{font-size:calc(0.035 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-count.svelte-1a6hch6{font-size:calc(0.045 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-count.svelte-1a6hch6{font-size:calc(0.055 * 100vw + 0px)}}.hud-speedometer__body-count-subvalue.svelte-1a6hch6{position:absolute;color:rgba(255, 255, 255, 0.2)}.hud-speedometer__body-count-value.svelte-1a6hch6{color:#FFFFFF}.hud-speedometer__body-count-title.svelte-1a6hch6{position:absolute;color:rgba(255, 255, 255, 0.5);top:calc(0.0489583333 * 100vw + 0px);font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-count-title.svelte-1a6hch6{top:calc(0.0489583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-count-title.svelte-1a6hch6{top:calc(0.0489583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-count-title.svelte-1a6hch6{top:calc(0.0376979167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-count-title.svelte-1a6hch6{top:calc(0.0538541667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-count-title.svelte-1a6hch6{top:calc(0.0342708333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-count-title.svelte-1a6hch6{top:calc(0.0440625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-count-title.svelte-1a6hch6{top:calc(0.0538541667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-count-title.svelte-1a6hch6{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-count-title.svelte-1a6hch6{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-count-title.svelte-1a6hch6{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-count-title.svelte-1a6hch6{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-count-title.svelte-1a6hch6{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-count-title.svelte-1a6hch6{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-count-title.svelte-1a6hch6{font-size:calc(0.0114583333 * 100vw + 0px)}}");
}

function advanced_index_svelte_create_fragment(ctx) {
	let div11;
	let span0;
	let t0;
	let span1;
	let t1;
	let span2;
	let t2;
	let div0;
	let speedometerfuel;
	let t3;
	let span3;
	let t4;
	let div2;
	let div1;
	let speedometerconditionprogressbar0;
	let t5;
	let span4;
	let t6;
	let div4;
	let div3;
	let speedometerconditionprogressbar1;
	let t7;
	let span5;
	let t8;
	let div6;
	let div5;
	let speedometerconditionprogressbar2;
	let t9;
	let span6;
	let t10;
	let div10;
	let div7;
	let img;
	let img_src_value;
	let t11;
	let div8;
	let p0;
	let t13;
	let p1;
	let t14;
	let t15;
	let div9;
	let p2;
	let t17;
	let p3;
	let t18_value = formatSpeed(/*$vehicleSpeed*/ ctx[8]) + "";
	let t18;
	let t19;
	let p4;
	let t21;
	let speedometerbody;
	let current;

	speedometerfuel = new speedometer_fuel_index_svelte({
			props: {
				color: "#E7F97B",
				strokeWidth: 14,
				percents: /*$vehicleFuel*/ ctx[3] / (100 / 39),
				fuelValue: /*$vehicleFuel*/ ctx[3]
			}
		});

	speedometerconditionprogressbar0 = new speedometer_condition_progressbar_index_svelte({
			props: {
				radiusValue: 2.7,
				percents: /*$vehicleOil*/ ctx[4] / (100 / 20)
			}
		});

	speedometerconditionprogressbar1 = new speedometer_condition_progressbar_index_svelte({
			props: {
				radiusValue: 2.5,
				percents: /*$vehicleWheel*/ ctx[5] / (100 / 20)
			}
		});

	speedometerconditionprogressbar2 = new speedometer_condition_progressbar_index_svelte({
			props: {
				radiusValue: 2.8,
				percents: /*$vehicleState*/ ctx[6] / (100 / 20)
			}
		});

	speedometerbody = new speedometer_body_index_svelte({
			props: {
				color: "#EDFF7D",
				strokeWidth: 13,
				percents: formatSpeed(/*$vehicleSpeed*/ ctx[8]) / (240 / 83.5)
			}
		});

	return {
		c() {
			div11 = internal_element("div");
			span0 = internal_element("span");
			t0 = space();
			span1 = internal_element("span");
			t1 = space();
			span2 = internal_element("span");
			t2 = space();
			div0 = internal_element("div");
			create_component(speedometerfuel.$$.fragment);
			t3 = space();
			span3 = internal_element("span");
			t4 = space();
			div2 = internal_element("div");
			div1 = internal_element("div");
			create_component(speedometerconditionprogressbar0.$$.fragment);
			t5 = space();
			span4 = internal_element("span");
			t6 = space();
			div4 = internal_element("div");
			div3 = internal_element("div");
			create_component(speedometerconditionprogressbar1.$$.fragment);
			t7 = space();
			span5 = internal_element("span");
			t8 = space();
			div6 = internal_element("div");
			div5 = internal_element("div");
			create_component(speedometerconditionprogressbar2.$$.fragment);
			t9 = space();
			span6 = internal_element("span");
			t10 = space();
			div10 = internal_element("div");
			div7 = internal_element("div");
			img = internal_element("img");
			t11 = space();
			div8 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "000000";
			t13 = space();
			p1 = internal_element("p");
			t14 = internal_text(/*$vehicleMileage*/ ctx[7]);
			t15 = space();
			div9 = internal_element("div");
			p2 = internal_element("p");
			p2.textContent = "000";
			t17 = space();
			p3 = internal_element("p");
			t18 = internal_text(t18_value);
			t19 = space();
			p4 = internal_element("p");
			p4.textContent = "km/h";
			t21 = space();
			create_component(speedometerbody.$$.fragment);
			attr(span0, "class", "hud-speedometer__light-icon icon-light svelte-1a6hch6");
			toggle_class(span0, "hud-speedometer__light-icon--turn", /*$vehicleLights*/ ctx[0]);
			attr(span1, "class", "hud-speedometer__arrow-right-icon icon-arrow-right-bold svelte-1a6hch6");
			toggle_class(span1, "hud-speedometer__arrow-right-icon--turn", /*$vehicleTurnRight*/ ctx[1]);
			attr(span2, "class", "hud-speedometer__arrow-left-icon icon-arrow-left-bold svelte-1a6hch6");
			toggle_class(span2, "hud-speedometer__arrow-left-icon--turn", /*$vehicleTurnLeft*/ ctx[2]);
			attr(span3, "class", "hud-speedometer__fuel-icon icon-fuel svelte-1a6hch6");
			attr(div0, "class", "hud-speedometer__fuel-wrapper svelte-1a6hch6");
			attr(div1, "class", "hud-speedometer__oil svelte-1a6hch6");
			attr(span4, "class", "hud-speedometer__oil-icon icon-oil svelte-1a6hch6");
			attr(div2, "class", "hud-speedometer__oil-wrapper svelte-1a6hch6");
			attr(div3, "class", "hud-speedometer__wheel svelte-1a6hch6");
			attr(span5, "class", "hud-speedometer__wheel-icon icon-wheel svelte-1a6hch6");
			attr(div4, "class", "hud-speedometer__wheel-wrapper svelte-1a6hch6");
			attr(div5, "class", "hud-speedometer__engine svelte-1a6hch6");
			attr(span6, "class", "hud-speedometer__engine-icon icon-engine svelte-1a6hch6");
			attr(div6, "class", "hud-speedometer__engine-wrapper svelte-1a6hch6");
			attr(img, "class", "hud-speedometer__body-lines-img svelte-1a6hch6");
			if (!src_url_equal(img.src, img_src_value = speedometer_lines_bg_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "lines");
			attr(div7, "class", "hud-speedometer__body-lines-wrapper svelte-1a6hch6");
			attr(p0, "class", "hud-speedometer__body-mileage-subvalue svelte-1a6hch6");
			attr(p1, "class", "hud-speedometer__body-mileage-value svelte-1a6hch6");
			attr(div8, "class", "hud-speedometer__body-mileage svelte-1a6hch6");
			attr(p2, "class", "hud-speedometer__body-count-subvalue svelte-1a6hch6");
			attr(p3, "class", "hud-speedometer__body-count-value svelte-1a6hch6");
			attr(p4, "class", "hud-speedometer__body-count-title svelte-1a6hch6");
			attr(div9, "class", "hud-speedometer__body-count svelte-1a6hch6");
			attr(div10, "class", "hud-speedometer__body-wrapper svelte-1a6hch6");
			attr(div11, "class", "hud-speedometer svelte-1a6hch6");
		},
		m(target, anchor) {
			insert(target, div11, anchor);
			append(div11, span0);
			append(div11, t0);
			append(div11, span1);
			append(div11, t1);
			append(div11, span2);
			append(div11, t2);
			append(div11, div0);
			mount_component(speedometerfuel, div0, null);
			append(div0, t3);
			append(div0, span3);
			append(div11, t4);
			append(div11, div2);
			append(div2, div1);
			mount_component(speedometerconditionprogressbar0, div1, null);
			append(div2, t5);
			append(div2, span4);
			append(div11, t6);
			append(div11, div4);
			append(div4, div3);
			mount_component(speedometerconditionprogressbar1, div3, null);
			append(div4, t7);
			append(div4, span5);
			append(div11, t8);
			append(div11, div6);
			append(div6, div5);
			mount_component(speedometerconditionprogressbar2, div5, null);
			append(div6, t9);
			append(div6, span6);
			append(div11, t10);
			append(div11, div10);
			append(div10, div7);
			append(div7, img);
			append(div10, t11);
			append(div10, div8);
			append(div8, p0);
			append(div8, t13);
			append(div8, p1);
			append(p1, t14);
			append(div10, t15);
			append(div10, div9);
			append(div9, p2);
			append(div9, t17);
			append(div9, p3);
			append(p3, t18);
			append(div9, t19);
			append(div9, p4);
			append(div10, t21);
			mount_component(speedometerbody, div10, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*$vehicleLights*/ 1) {
				toggle_class(span0, "hud-speedometer__light-icon--turn", /*$vehicleLights*/ ctx[0]);
			}

			if (dirty & /*$vehicleTurnRight*/ 2) {
				toggle_class(span1, "hud-speedometer__arrow-right-icon--turn", /*$vehicleTurnRight*/ ctx[1]);
			}

			if (dirty & /*$vehicleTurnLeft*/ 4) {
				toggle_class(span2, "hud-speedometer__arrow-left-icon--turn", /*$vehicleTurnLeft*/ ctx[2]);
			}

			const speedometerfuel_changes = {};
			if (dirty & /*$vehicleFuel*/ 8) speedometerfuel_changes.percents = /*$vehicleFuel*/ ctx[3] / (100 / 39);
			if (dirty & /*$vehicleFuel*/ 8) speedometerfuel_changes.fuelValue = /*$vehicleFuel*/ ctx[3];
			speedometerfuel.$set(speedometerfuel_changes);
			const speedometerconditionprogressbar0_changes = {};
			if (dirty & /*$vehicleOil*/ 16) speedometerconditionprogressbar0_changes.percents = /*$vehicleOil*/ ctx[4] / (100 / 20);
			speedometerconditionprogressbar0.$set(speedometerconditionprogressbar0_changes);
			const speedometerconditionprogressbar1_changes = {};
			if (dirty & /*$vehicleWheel*/ 32) speedometerconditionprogressbar1_changes.percents = /*$vehicleWheel*/ ctx[5] / (100 / 20);
			speedometerconditionprogressbar1.$set(speedometerconditionprogressbar1_changes);
			const speedometerconditionprogressbar2_changes = {};
			if (dirty & /*$vehicleState*/ 64) speedometerconditionprogressbar2_changes.percents = /*$vehicleState*/ ctx[6] / (100 / 20);
			speedometerconditionprogressbar2.$set(speedometerconditionprogressbar2_changes);
			if (!current || dirty & /*$vehicleMileage*/ 128) set_data(t14, /*$vehicleMileage*/ ctx[7]);
			if ((!current || dirty & /*$vehicleSpeed*/ 256) && t18_value !== (t18_value = formatSpeed(/*$vehicleSpeed*/ ctx[8]) + "")) set_data(t18, t18_value);
			const speedometerbody_changes = {};
			if (dirty & /*$vehicleSpeed*/ 256) speedometerbody_changes.percents = formatSpeed(/*$vehicleSpeed*/ ctx[8]) / (240 / 83.5);
			speedometerbody.$set(speedometerbody_changes);
		},
		i(local) {
			if (current) return;
			transition_in(speedometerfuel.$$.fragment, local);
			transition_in(speedometerconditionprogressbar0.$$.fragment, local);
			transition_in(speedometerconditionprogressbar1.$$.fragment, local);
			transition_in(speedometerconditionprogressbar2.$$.fragment, local);
			transition_in(speedometerbody.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(speedometerfuel.$$.fragment, local);
			transition_out(speedometerconditionprogressbar0.$$.fragment, local);
			transition_out(speedometerconditionprogressbar1.$$.fragment, local);
			transition_out(speedometerconditionprogressbar2.$$.fragment, local);
			transition_out(speedometerbody.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div11);
			destroy_component(speedometerfuel);
			destroy_component(speedometerconditionprogressbar0);
			destroy_component(speedometerconditionprogressbar1);
			destroy_component(speedometerconditionprogressbar2);
			destroy_component(speedometerbody);
		}
	};
}

function advanced_index_svelte_instance($$self, $$props, $$invalidate) {
	let $vehicleLights;
	let $vehicleTurnRight;
	let $vehicleTurnLeft;
	let $vehicleFuel;
	let $vehicleOil;
	let $vehicleWheel;
	let $vehicleState;
	let $vehicleMileage;
	let $vehicleSpeed;
	component_subscribe($$self, vehicleLights, $$value => $$invalidate(0, $vehicleLights = $$value));
	component_subscribe($$self, vehicleTurnRight, $$value => $$invalidate(1, $vehicleTurnRight = $$value));
	component_subscribe($$self, vehicleTurnLeft, $$value => $$invalidate(2, $vehicleTurnLeft = $$value));
	component_subscribe($$self, vehicleFuel, $$value => $$invalidate(3, $vehicleFuel = $$value));
	component_subscribe($$self, vehicleOil, $$value => $$invalidate(4, $vehicleOil = $$value));
	component_subscribe($$self, vehicleWheel, $$value => $$invalidate(5, $vehicleWheel = $$value));
	component_subscribe($$self, vehicleState, $$value => $$invalidate(6, $vehicleState = $$value));
	component_subscribe($$self, vehicleMileage, $$value => $$invalidate(7, $vehicleMileage = $$value));
	component_subscribe($$self, vehicleSpeed, $$value => $$invalidate(8, $vehicleSpeed = $$value));

	return [
		$vehicleLights,
		$vehicleTurnRight,
		$vehicleTurnLeft,
		$vehicleFuel,
		$vehicleOil,
		$vehicleWheel,
		$vehicleState,
		$vehicleMileage,
		$vehicleSpeed
	];
}

class Advanced extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, advanced_index_svelte_instance, advanced_index_svelte_create_fragment, safe_not_equal, {}, advanced_index_svelte_add_css);
	}
}

/* harmony default export */ const advanced_index_svelte = (Advanced);
;// CONCATENATED MODULE: ./src/views/hud/components/hud-speedometer/components/simple/index.svelte
/* src\views\hud\components\hud-speedometer\components\simple\index.svelte generated by Svelte v3.49.0 */






function simple_index_svelte_add_css(target) {
	append_styles(target, "svelte-lyfgn", "@keyframes svelte-lyfgn-blinking{50%{opacity:0}}@keyframes svelte-lyfgn-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-lyfgn-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-lyfgn-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-lyfgn-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-lyfgn-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-lyfgn-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-lyfgn-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-lyfgn-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-lyfgn-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-lyfgn-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-lyfgn-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-lyfgn-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-lyfgn-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-lyfgn-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.hud-speedometer.svelte-lyfgn.svelte-lyfgn{display:flex;align-items:center;position:absolute;right:calc(0.0135416667 * 100vw + 0px);bottom:calc(0.0140625 * 100vw + 0px);width:calc(0.1880208333 * 100vw + 0px);height:calc(0.0692708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer.svelte-lyfgn.svelte-lyfgn{right:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer.svelte-lyfgn.svelte-lyfgn{right:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer.svelte-lyfgn.svelte-lyfgn{right:calc(0.0104270833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer.svelte-lyfgn.svelte-lyfgn{right:calc(0.0148958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer.svelte-lyfgn.svelte-lyfgn{right:calc(0.0094791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer.svelte-lyfgn.svelte-lyfgn{right:calc(0.0121875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer.svelte-lyfgn.svelte-lyfgn{right:calc(0.0148958333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer.svelte-lyfgn.svelte-lyfgn{bottom:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer.svelte-lyfgn.svelte-lyfgn{bottom:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer.svelte-lyfgn.svelte-lyfgn{bottom:calc(0.010828125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer.svelte-lyfgn.svelte-lyfgn{bottom:calc(0.01546875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer.svelte-lyfgn.svelte-lyfgn{bottom:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer.svelte-lyfgn.svelte-lyfgn{bottom:calc(0.01265625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer.svelte-lyfgn.svelte-lyfgn{bottom:calc(0.01546875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer.svelte-lyfgn.svelte-lyfgn{width:calc(0.1880208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer.svelte-lyfgn.svelte-lyfgn{width:calc(0.1880208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer.svelte-lyfgn.svelte-lyfgn{width:calc(0.1447760417 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer.svelte-lyfgn.svelte-lyfgn{width:calc(0.2068229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer.svelte-lyfgn.svelte-lyfgn{width:calc(0.1316145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer.svelte-lyfgn.svelte-lyfgn{width:calc(0.16921875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer.svelte-lyfgn.svelte-lyfgn{width:calc(0.2068229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer.svelte-lyfgn.svelte-lyfgn{height:calc(0.0692708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer.svelte-lyfgn.svelte-lyfgn{height:calc(0.0692708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer.svelte-lyfgn.svelte-lyfgn{height:calc(0.0533385417 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer.svelte-lyfgn.svelte-lyfgn{height:calc(0.0761979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer.svelte-lyfgn.svelte-lyfgn{height:calc(0.0484895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer.svelte-lyfgn.svelte-lyfgn{height:calc(0.06234375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer.svelte-lyfgn.svelte-lyfgn{height:calc(0.0761979167 * 100vw + 0px)}}.hud-speedometer.svelte-lyfgn.svelte-lyfgn::before{content:\"\";top:0;left:0;position:absolute;width:100%;height:100%;background:rgba(0, 0, 0, 0.4);z-index:-1;filter:blur(calc(0.0260416667 * 100vw + 0px))}.hud-speedometer__condition-wrapper.svelte-lyfgn.svelte-lyfgn{height:calc(0.0692708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__condition-wrapper.svelte-lyfgn.svelte-lyfgn{height:calc(0.0692708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__condition-wrapper.svelte-lyfgn.svelte-lyfgn{height:calc(0.0692708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__condition-wrapper.svelte-lyfgn.svelte-lyfgn{height:calc(0.0533385417 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__condition-wrapper.svelte-lyfgn.svelte-lyfgn{height:calc(0.0761979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__condition-wrapper.svelte-lyfgn.svelte-lyfgn{height:calc(0.0484895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__condition-wrapper.svelte-lyfgn.svelte-lyfgn{height:calc(0.06234375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__condition-wrapper.svelte-lyfgn.svelte-lyfgn{height:calc(0.0761979167 * 100vw + 0px)}}.hud-speedometer__condition.svelte-lyfgn.svelte-lyfgn{display:flex;align-items:center;color:rgba(255, 255, 255, 0.5);padding-left:calc(0.0171875 * 100vw + 0px);padding-top:calc(0.0052083333 * 100vw + 0px);margin-bottom:calc(0.0109375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__condition.svelte-lyfgn.svelte-lyfgn{padding-left:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__condition.svelte-lyfgn.svelte-lyfgn{padding-left:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__condition.svelte-lyfgn.svelte-lyfgn{padding-left:calc(0.013234375 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__condition.svelte-lyfgn.svelte-lyfgn{padding-left:calc(0.01890625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__condition.svelte-lyfgn.svelte-lyfgn{padding-left:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__condition.svelte-lyfgn.svelte-lyfgn{padding-left:calc(0.01546875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__condition.svelte-lyfgn.svelte-lyfgn{padding-left:calc(0.01890625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__condition.svelte-lyfgn.svelte-lyfgn{padding-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__condition.svelte-lyfgn.svelte-lyfgn{padding-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__condition.svelte-lyfgn.svelte-lyfgn{padding-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__condition.svelte-lyfgn.svelte-lyfgn{padding-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__condition.svelte-lyfgn.svelte-lyfgn{padding-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__condition.svelte-lyfgn.svelte-lyfgn{padding-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__condition.svelte-lyfgn.svelte-lyfgn{padding-top:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__condition.svelte-lyfgn.svelte-lyfgn{margin-bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__condition.svelte-lyfgn.svelte-lyfgn{margin-bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__condition.svelte-lyfgn.svelte-lyfgn{margin-bottom:calc(0.008421875 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__condition.svelte-lyfgn.svelte-lyfgn{margin-bottom:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__condition.svelte-lyfgn.svelte-lyfgn{margin-bottom:calc(0.00765625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__condition.svelte-lyfgn.svelte-lyfgn{margin-bottom:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__condition.svelte-lyfgn.svelte-lyfgn{margin-bottom:calc(0.01203125 * 100vw + 0px)}}.hud-speedometer__condition-fuel.svelte-lyfgn.svelte-lyfgn{display:flex;align-items:center;justify-content:center;width:calc(0.0177083333 * 100vw + 0px);height:calc(0.0177083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__condition-fuel.svelte-lyfgn.svelte-lyfgn{width:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__condition-fuel.svelte-lyfgn.svelte-lyfgn{width:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__condition-fuel.svelte-lyfgn.svelte-lyfgn{width:calc(0.0136354167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__condition-fuel.svelte-lyfgn.svelte-lyfgn{width:calc(0.0194791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__condition-fuel.svelte-lyfgn.svelte-lyfgn{width:calc(0.0123958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__condition-fuel.svelte-lyfgn.svelte-lyfgn{width:calc(0.0159375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__condition-fuel.svelte-lyfgn.svelte-lyfgn{width:calc(0.0194791667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__condition-fuel.svelte-lyfgn.svelte-lyfgn{height:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__condition-fuel.svelte-lyfgn.svelte-lyfgn{height:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__condition-fuel.svelte-lyfgn.svelte-lyfgn{height:calc(0.0136354167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__condition-fuel.svelte-lyfgn.svelte-lyfgn{height:calc(0.0194791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__condition-fuel.svelte-lyfgn.svelte-lyfgn{height:calc(0.0123958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__condition-fuel.svelte-lyfgn.svelte-lyfgn{height:calc(0.0159375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__condition-fuel.svelte-lyfgn.svelte-lyfgn{height:calc(0.0194791667 * 100vw + 0px)}}.hud-speedometer__condition-wheel.svelte-lyfgn.svelte-lyfgn{display:flex;align-items:center;justify-content:center;width:calc(0.0177083333 * 100vw + 0px);height:calc(0.0177083333 * 100vw + 0px);margin-right:calc(0.0072916667 * 100vw + 0px);margin-left:calc(0.0057291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__condition-wheel.svelte-lyfgn.svelte-lyfgn{width:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__condition-wheel.svelte-lyfgn.svelte-lyfgn{width:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__condition-wheel.svelte-lyfgn.svelte-lyfgn{width:calc(0.0136354167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__condition-wheel.svelte-lyfgn.svelte-lyfgn{width:calc(0.0194791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__condition-wheel.svelte-lyfgn.svelte-lyfgn{width:calc(0.0123958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__condition-wheel.svelte-lyfgn.svelte-lyfgn{width:calc(0.0159375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__condition-wheel.svelte-lyfgn.svelte-lyfgn{width:calc(0.0194791667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__condition-wheel.svelte-lyfgn.svelte-lyfgn{height:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__condition-wheel.svelte-lyfgn.svelte-lyfgn{height:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__condition-wheel.svelte-lyfgn.svelte-lyfgn{height:calc(0.0136354167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__condition-wheel.svelte-lyfgn.svelte-lyfgn{height:calc(0.0194791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__condition-wheel.svelte-lyfgn.svelte-lyfgn{height:calc(0.0123958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__condition-wheel.svelte-lyfgn.svelte-lyfgn{height:calc(0.0159375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__condition-wheel.svelte-lyfgn.svelte-lyfgn{height:calc(0.0194791667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__condition-wheel.svelte-lyfgn.svelte-lyfgn{margin-right:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__condition-wheel.svelte-lyfgn.svelte-lyfgn{margin-right:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__condition-wheel.svelte-lyfgn.svelte-lyfgn{margin-right:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__condition-wheel.svelte-lyfgn.svelte-lyfgn{margin-right:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__condition-wheel.svelte-lyfgn.svelte-lyfgn{margin-right:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__condition-wheel.svelte-lyfgn.svelte-lyfgn{margin-right:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__condition-wheel.svelte-lyfgn.svelte-lyfgn{margin-right:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__condition-wheel.svelte-lyfgn.svelte-lyfgn{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__condition-wheel.svelte-lyfgn.svelte-lyfgn{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__condition-wheel.svelte-lyfgn.svelte-lyfgn{margin-left:calc(0.0044114583 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__condition-wheel.svelte-lyfgn.svelte-lyfgn{margin-left:calc(0.0063020833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__condition-wheel.svelte-lyfgn.svelte-lyfgn{margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__condition-wheel.svelte-lyfgn.svelte-lyfgn{margin-left:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__condition-wheel.svelte-lyfgn.svelte-lyfgn{margin-left:calc(0.0063020833 * 100vw + 0px)}}.hud-speedometer__condition-value.svelte-lyfgn.svelte-lyfgn{position:absolute;font-family:\"DINPro-CondensedBlackItalic\";color:#FFFFFF;font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__condition-value.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__condition-value.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__condition-value.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__condition-value.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__condition-value.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__condition-value.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__condition-value.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0080208333 * 100vw + 0px)}}.hud-speedometer__condition-fuel-value.svelte-lyfgn.svelte-lyfgn{left:calc(0.03125 * 100vw + 0px);top:calc(0.0140625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__condition-fuel-value.svelte-lyfgn.svelte-lyfgn{left:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__condition-fuel-value.svelte-lyfgn.svelte-lyfgn{left:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__condition-fuel-value.svelte-lyfgn.svelte-lyfgn{left:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__condition-fuel-value.svelte-lyfgn.svelte-lyfgn{left:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__condition-fuel-value.svelte-lyfgn.svelte-lyfgn{left:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__condition-fuel-value.svelte-lyfgn.svelte-lyfgn{left:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__condition-fuel-value.svelte-lyfgn.svelte-lyfgn{left:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__condition-fuel-value.svelte-lyfgn.svelte-lyfgn{top:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__condition-fuel-value.svelte-lyfgn.svelte-lyfgn{top:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__condition-fuel-value.svelte-lyfgn.svelte-lyfgn{top:calc(0.010828125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__condition-fuel-value.svelte-lyfgn.svelte-lyfgn{top:calc(0.01546875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__condition-fuel-value.svelte-lyfgn.svelte-lyfgn{top:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__condition-fuel-value.svelte-lyfgn.svelte-lyfgn{top:calc(0.01265625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__condition-fuel-value.svelte-lyfgn.svelte-lyfgn{top:calc(0.01546875 * 100vw + 0px)}}.hud-speedometer__condition-wheel-value.svelte-lyfgn.svelte-lyfgn{left:calc(0.0536458333 * 100vw + 0px);top:calc(0.0140625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__condition-wheel-value.svelte-lyfgn.svelte-lyfgn{left:calc(0.0536458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__condition-wheel-value.svelte-lyfgn.svelte-lyfgn{left:calc(0.0536458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__condition-wheel-value.svelte-lyfgn.svelte-lyfgn{left:calc(0.0413072917 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__condition-wheel-value.svelte-lyfgn.svelte-lyfgn{left:calc(0.0590104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__condition-wheel-value.svelte-lyfgn.svelte-lyfgn{left:calc(0.0375520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__condition-wheel-value.svelte-lyfgn.svelte-lyfgn{left:calc(0.04828125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__condition-wheel-value.svelte-lyfgn.svelte-lyfgn{left:calc(0.0590104167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__condition-wheel-value.svelte-lyfgn.svelte-lyfgn{top:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__condition-wheel-value.svelte-lyfgn.svelte-lyfgn{top:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__condition-wheel-value.svelte-lyfgn.svelte-lyfgn{top:calc(0.010828125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__condition-wheel-value.svelte-lyfgn.svelte-lyfgn{top:calc(0.01546875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__condition-wheel-value.svelte-lyfgn.svelte-lyfgn{top:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__condition-wheel-value.svelte-lyfgn.svelte-lyfgn{top:calc(0.01265625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__condition-wheel-value.svelte-lyfgn.svelte-lyfgn{top:calc(0.01546875 * 100vw + 0px)}}.hud-speedometer__condition-oil-value.svelte-lyfgn.svelte-lyfgn{left:calc(0.0755208333 * 100vw + 0px);top:calc(0.0140625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__condition-oil-value.svelte-lyfgn.svelte-lyfgn{left:calc(0.0755208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__condition-oil-value.svelte-lyfgn.svelte-lyfgn{left:calc(0.0755208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__condition-oil-value.svelte-lyfgn.svelte-lyfgn{left:calc(0.0581510417 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__condition-oil-value.svelte-lyfgn.svelte-lyfgn{left:calc(0.0830729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__condition-oil-value.svelte-lyfgn.svelte-lyfgn{left:calc(0.0528645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__condition-oil-value.svelte-lyfgn.svelte-lyfgn{left:calc(0.06796875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__condition-oil-value.svelte-lyfgn.svelte-lyfgn{left:calc(0.0830729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__condition-oil-value.svelte-lyfgn.svelte-lyfgn{top:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__condition-oil-value.svelte-lyfgn.svelte-lyfgn{top:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__condition-oil-value.svelte-lyfgn.svelte-lyfgn{top:calc(0.010828125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__condition-oil-value.svelte-lyfgn.svelte-lyfgn{top:calc(0.01546875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__condition-oil-value.svelte-lyfgn.svelte-lyfgn{top:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__condition-oil-value.svelte-lyfgn.svelte-lyfgn{top:calc(0.01265625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__condition-oil-value.svelte-lyfgn.svelte-lyfgn{top:calc(0.01546875 * 100vw + 0px)}}.hud-speedometer__condition-oil.svelte-lyfgn.svelte-lyfgn{width:calc(0.0177083333 * 100vw + 0px);height:calc(0.0177083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__condition-oil.svelte-lyfgn.svelte-lyfgn{width:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__condition-oil.svelte-lyfgn.svelte-lyfgn{width:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__condition-oil.svelte-lyfgn.svelte-lyfgn{width:calc(0.0136354167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__condition-oil.svelte-lyfgn.svelte-lyfgn{width:calc(0.0194791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__condition-oil.svelte-lyfgn.svelte-lyfgn{width:calc(0.0123958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__condition-oil.svelte-lyfgn.svelte-lyfgn{width:calc(0.0159375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__condition-oil.svelte-lyfgn.svelte-lyfgn{width:calc(0.0194791667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__condition-oil.svelte-lyfgn.svelte-lyfgn{height:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__condition-oil.svelte-lyfgn.svelte-lyfgn{height:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__condition-oil.svelte-lyfgn.svelte-lyfgn{height:calc(0.0136354167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__condition-oil.svelte-lyfgn.svelte-lyfgn{height:calc(0.0194791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__condition-oil.svelte-lyfgn.svelte-lyfgn{height:calc(0.0123958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__condition-oil.svelte-lyfgn.svelte-lyfgn{height:calc(0.0159375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__condition-oil.svelte-lyfgn.svelte-lyfgn{height:calc(0.0194791667 * 100vw + 0px)}}.hud-speedometer__condition-fuel-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__condition-fuel-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__condition-fuel-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__condition-fuel-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__condition-fuel-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__condition-fuel-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__condition-fuel-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__condition-fuel-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0103125 * 100vw + 0px)}}.hud-speedometer__condition-wheel-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__condition-wheel-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__condition-wheel-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__condition-wheel-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__condition-wheel-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__condition-wheel-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__condition-wheel-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__condition-wheel-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.01375 * 100vw + 0px)}}.hud-speedometer__condition-oil-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__condition-oil-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__condition-oil-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__condition-oil-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__condition-oil-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__condition-oil-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__condition-oil-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__condition-oil-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.01375 * 100vw + 0px)}}.hud-speedometer__light-wrapper.svelte-lyfgn.svelte-lyfgn{display:flex;align-items:center;gap:calc(0.0145833333 * 100vw + 0px);margin-left:calc(0.0197916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__light-wrapper.svelte-lyfgn.svelte-lyfgn{gap:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__light-wrapper.svelte-lyfgn.svelte-lyfgn{gap:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__light-wrapper.svelte-lyfgn.svelte-lyfgn{gap:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__light-wrapper.svelte-lyfgn.svelte-lyfgn{gap:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__light-wrapper.svelte-lyfgn.svelte-lyfgn{gap:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__light-wrapper.svelte-lyfgn.svelte-lyfgn{gap:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__light-wrapper.svelte-lyfgn.svelte-lyfgn{gap:calc(0.0160416667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__light-wrapper.svelte-lyfgn.svelte-lyfgn{margin-left:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__light-wrapper.svelte-lyfgn.svelte-lyfgn{margin-left:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__light-wrapper.svelte-lyfgn.svelte-lyfgn{margin-left:calc(0.0152395833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__light-wrapper.svelte-lyfgn.svelte-lyfgn{margin-left:calc(0.0217708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__light-wrapper.svelte-lyfgn.svelte-lyfgn{margin-left:calc(0.0138541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__light-wrapper.svelte-lyfgn.svelte-lyfgn{margin-left:calc(0.0178125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__light-wrapper.svelte-lyfgn.svelte-lyfgn{margin-left:calc(0.0217708333 * 100vw + 0px)}}.hud-speedometer__light-wrapper--turn.svelte-lyfgn .hud-speedometer__light.svelte-lyfgn{background-color:rgba(255, 255, 255, 0.2)}.hud-speedometer__light-wrapper--turn.svelte-lyfgn .hud-speedometer__light-icon.svelte-lyfgn{color:#FFFFFF}.hud-speedometer__light.svelte-lyfgn.svelte-lyfgn{display:flex;align-items:center;justify-content:center;background-color:rgba(0, 0, 0, 0.4);border-radius:50%;width:calc(0.0177083333 * 100vw + 0px);height:calc(0.0177083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__light.svelte-lyfgn.svelte-lyfgn{width:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__light.svelte-lyfgn.svelte-lyfgn{width:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__light.svelte-lyfgn.svelte-lyfgn{width:calc(0.0136354167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__light.svelte-lyfgn.svelte-lyfgn{width:calc(0.0194791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__light.svelte-lyfgn.svelte-lyfgn{width:calc(0.0123958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__light.svelte-lyfgn.svelte-lyfgn{width:calc(0.0159375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__light.svelte-lyfgn.svelte-lyfgn{width:calc(0.0194791667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__light.svelte-lyfgn.svelte-lyfgn{height:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__light.svelte-lyfgn.svelte-lyfgn{height:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__light.svelte-lyfgn.svelte-lyfgn{height:calc(0.0136354167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__light.svelte-lyfgn.svelte-lyfgn{height:calc(0.0194791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__light.svelte-lyfgn.svelte-lyfgn{height:calc(0.0123958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__light.svelte-lyfgn.svelte-lyfgn{height:calc(0.0159375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__light.svelte-lyfgn.svelte-lyfgn{height:calc(0.0194791667 * 100vw + 0px)}}.hud-speedometer__light-icon.svelte-lyfgn.svelte-lyfgn{color:rgba(255, 255, 255, 0.2);font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__light-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__light-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__light-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__light-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__light-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__light-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__light-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.01375 * 100vw + 0px)}}.hud-speedometer__gear.svelte-lyfgn.svelte-lyfgn{display:flex;justify-content:center;border-radius:50%;border:2px solid rgba(255, 255, 255, 0.2);width:calc(0.025 * 100vw + 0px);height:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__gear.svelte-lyfgn.svelte-lyfgn{width:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__gear.svelte-lyfgn.svelte-lyfgn{width:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__gear.svelte-lyfgn.svelte-lyfgn{width:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__gear.svelte-lyfgn.svelte-lyfgn{width:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__gear.svelte-lyfgn.svelte-lyfgn{width:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__gear.svelte-lyfgn.svelte-lyfgn{width:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__gear.svelte-lyfgn.svelte-lyfgn{width:calc(0.0275 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__gear.svelte-lyfgn.svelte-lyfgn{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__gear.svelte-lyfgn.svelte-lyfgn{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__gear.svelte-lyfgn.svelte-lyfgn{height:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__gear.svelte-lyfgn.svelte-lyfgn{height:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__gear.svelte-lyfgn.svelte-lyfgn{height:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__gear.svelte-lyfgn.svelte-lyfgn{height:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__gear.svelte-lyfgn.svelte-lyfgn{height:calc(0.0275 * 100vw + 0px)}}.hud-speedometer__gear-value.svelte-lyfgn.svelte-lyfgn{font-family:\"DINPro-CondensedBoldItalic\";color:#FFFFFF;font-size:calc(0.0208333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__gear-value.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__gear-value.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__gear-value.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__gear-value.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__gear-value.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__gear-value.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__gear-value.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0229166667 * 100vw + 0px)}}.hud-speedometer__speed-wrapper.svelte-lyfgn.svelte-lyfgn{display:flex;align-items:baseline}.hud-speedometer__speed.svelte-lyfgn.svelte-lyfgn{display:flex;align-items:flex-end;flex-direction:column;font-family:\"DINPro-CondensedMediumItalic\";position:relative;font-size:calc(0.0729166667 * 100vw + 0px);margin-left:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__speed.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__speed.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__speed.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0561458333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__speed.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__speed.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0510416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__speed.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.065625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__speed.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0802083333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__speed.svelte-lyfgn.svelte-lyfgn{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__speed.svelte-lyfgn.svelte-lyfgn{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__speed.svelte-lyfgn.svelte-lyfgn{margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__speed.svelte-lyfgn.svelte-lyfgn{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__speed.svelte-lyfgn.svelte-lyfgn{margin-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__speed.svelte-lyfgn.svelte-lyfgn{margin-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__speed.svelte-lyfgn.svelte-lyfgn{margin-left:calc(0.0057291667 * 100vw + 0px)}}.hud-speedometer__speed-subvalue.svelte-lyfgn.svelte-lyfgn{color:rgba(255, 255, 255, 0.2)}.hud-speedometer__speed-value.svelte-lyfgn.svelte-lyfgn{position:absolute;color:#FFFFFF}.hud-speedometer__speed-title.svelte-lyfgn.svelte-lyfgn{font-family:\"DINPro-CondensedBlackItalic\";color:rgba(255, 255, 255, 0.5);font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__speed-title.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__speed-title.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__speed-title.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__speed-title.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__speed-title.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__speed-title.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__speed-title.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.01375 * 100vw + 0px)}}.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn{position:absolute;display:flex;align-items:flex-end;flex-direction:column;font-family:\"Furore\";top:0;letter-spacing:calc(0.0010416667 * 100vw + 0px);width:calc(0.0427083333 * 100vw + 0px);height:calc(0.009375 * 100vw + 0px);font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn{letter-spacing:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn{letter-spacing:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn{letter-spacing:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn{letter-spacing:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn{letter-spacing:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn{letter-spacing:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn{letter-spacing:calc(0.0011458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn{width:calc(0.0427083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn{width:calc(0.0427083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn{width:calc(0.0328854167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn{width:calc(0.0469791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn{width:calc(0.0298958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn{width:calc(0.0384375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn{width:calc(0.0469791667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn{height:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn{height:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn{height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn{height:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn{height:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0091666667 * 100vw + 0px)}}.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn::before{content:\"\";top:0;left:calc(0.0026041667 * 100vw + 0px);position:absolute;width:100%;height:100%;background:rgba(0, 0, 0, 0.8);z-index:-1;filter:blur(calc(0.0046875 * 100vw + 0px))}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn::before{left:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn::before{left:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn::before{left:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn::before{left:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn::before{left:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn::before{left:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-mileage.svelte-lyfgn.svelte-lyfgn::before{left:calc(0.0028645833 * 100vw + 0px)}}.hud-speedometer__body-mileage-subvalue.svelte-lyfgn.svelte-lyfgn{position:absolute;color:rgba(255, 255, 255, 0.1)}.hud-speedometer__body-mileage-value.svelte-lyfgn.svelte-lyfgn{color:#FFFFFF}.hud-speedometer__arrows.svelte-lyfgn.svelte-lyfgn{position:absolute;left:calc(0.1755208333 * 100vw + 0px);bottom:calc(0.0432291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__arrows.svelte-lyfgn.svelte-lyfgn{left:calc(0.1755208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__arrows.svelte-lyfgn.svelte-lyfgn{left:calc(0.1755208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__arrows.svelte-lyfgn.svelte-lyfgn{left:calc(0.1351510417 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__arrows.svelte-lyfgn.svelte-lyfgn{left:calc(0.1930729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__arrows.svelte-lyfgn.svelte-lyfgn{left:calc(0.1228645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__arrows.svelte-lyfgn.svelte-lyfgn{left:calc(0.15796875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__arrows.svelte-lyfgn.svelte-lyfgn{left:calc(0.1930729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__arrows.svelte-lyfgn.svelte-lyfgn{bottom:calc(0.0432291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__arrows.svelte-lyfgn.svelte-lyfgn{bottom:calc(0.0432291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__arrows.svelte-lyfgn.svelte-lyfgn{bottom:calc(0.0332864583 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__arrows.svelte-lyfgn.svelte-lyfgn{bottom:calc(0.0475520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__arrows.svelte-lyfgn.svelte-lyfgn{bottom:calc(0.0302604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__arrows.svelte-lyfgn.svelte-lyfgn{bottom:calc(0.03890625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__arrows.svelte-lyfgn.svelte-lyfgn{bottom:calc(0.0475520833 * 100vw + 0px)}}.hud-speedometer__arrows--turn-left.svelte-lyfgn .hud-speedometer__arrow-left-item.svelte-lyfgn{background-color:rgba(106, 255, 166, 0.2)}.hud-speedometer__arrows--turn-left.svelte-lyfgn .hud-speedometer__arrow-left-icon.svelte-lyfgn{color:#6AFFA6}.hud-speedometer__arrows--turn-right.svelte-lyfgn .hud-speedometer__arrow-right-item.svelte-lyfgn{background-color:rgba(106, 255, 166, 0.2)}.hud-speedometer__arrows--turn-right.svelte-lyfgn .hud-speedometer__arrow-right-icon.svelte-lyfgn{color:#6AFFA6}.hud-speedometer__arrow-left-item.svelte-lyfgn.svelte-lyfgn{display:flex;align-items:center;justify-content:center;background-color:rgba(0, 0, 0, 0.4);border-radius:50%;width:calc(0.0177083333 * 100vw + 0px);height:calc(0.0177083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__arrow-left-item.svelte-lyfgn.svelte-lyfgn{width:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__arrow-left-item.svelte-lyfgn.svelte-lyfgn{width:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__arrow-left-item.svelte-lyfgn.svelte-lyfgn{width:calc(0.0136354167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__arrow-left-item.svelte-lyfgn.svelte-lyfgn{width:calc(0.0194791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__arrow-left-item.svelte-lyfgn.svelte-lyfgn{width:calc(0.0123958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__arrow-left-item.svelte-lyfgn.svelte-lyfgn{width:calc(0.0159375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__arrow-left-item.svelte-lyfgn.svelte-lyfgn{width:calc(0.0194791667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__arrow-left-item.svelte-lyfgn.svelte-lyfgn{height:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__arrow-left-item.svelte-lyfgn.svelte-lyfgn{height:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__arrow-left-item.svelte-lyfgn.svelte-lyfgn{height:calc(0.0136354167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__arrow-left-item.svelte-lyfgn.svelte-lyfgn{height:calc(0.0194791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__arrow-left-item.svelte-lyfgn.svelte-lyfgn{height:calc(0.0123958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__arrow-left-item.svelte-lyfgn.svelte-lyfgn{height:calc(0.0159375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__arrow-left-item.svelte-lyfgn.svelte-lyfgn{height:calc(0.0194791667 * 100vw + 0px)}}.hud-speedometer__arrow-right-item.svelte-lyfgn.svelte-lyfgn{display:flex;align-items:center;justify-content:center;background-color:rgba(0, 0, 0, 0.4);border-radius:50%;width:calc(0.0177083333 * 100vw + 0px);height:calc(0.0177083333 * 100vw + 0px);margin-top:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__arrow-right-item.svelte-lyfgn.svelte-lyfgn{width:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__arrow-right-item.svelte-lyfgn.svelte-lyfgn{width:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__arrow-right-item.svelte-lyfgn.svelte-lyfgn{width:calc(0.0136354167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__arrow-right-item.svelte-lyfgn.svelte-lyfgn{width:calc(0.0194791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__arrow-right-item.svelte-lyfgn.svelte-lyfgn{width:calc(0.0123958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__arrow-right-item.svelte-lyfgn.svelte-lyfgn{width:calc(0.0159375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__arrow-right-item.svelte-lyfgn.svelte-lyfgn{width:calc(0.0194791667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__arrow-right-item.svelte-lyfgn.svelte-lyfgn{height:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__arrow-right-item.svelte-lyfgn.svelte-lyfgn{height:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__arrow-right-item.svelte-lyfgn.svelte-lyfgn{height:calc(0.0136354167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__arrow-right-item.svelte-lyfgn.svelte-lyfgn{height:calc(0.0194791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__arrow-right-item.svelte-lyfgn.svelte-lyfgn{height:calc(0.0123958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__arrow-right-item.svelte-lyfgn.svelte-lyfgn{height:calc(0.0159375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__arrow-right-item.svelte-lyfgn.svelte-lyfgn{height:calc(0.0194791667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__arrow-right-item.svelte-lyfgn.svelte-lyfgn{margin-top:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__arrow-right-item.svelte-lyfgn.svelte-lyfgn{margin-top:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__arrow-right-item.svelte-lyfgn.svelte-lyfgn{margin-top:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__arrow-right-item.svelte-lyfgn.svelte-lyfgn{margin-top:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__arrow-right-item.svelte-lyfgn.svelte-lyfgn{margin-top:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__arrow-right-item.svelte-lyfgn.svelte-lyfgn{margin-top:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__arrow-right-item.svelte-lyfgn.svelte-lyfgn{margin-top:calc(0.0028645833 * 100vw + 0px)}}.hud-speedometer__arrow-left-icon.svelte-lyfgn.svelte-lyfgn{color:rgba(255, 255, 255, 0.2);font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__arrow-left-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__arrow-left-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__arrow-left-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__arrow-left-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__arrow-left-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__arrow-left-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__arrow-left-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0091666667 * 100vw + 0px)}}.hud-speedometer__arrow-right-icon.svelte-lyfgn.svelte-lyfgn{color:rgba(255, 255, 255, 0.2);font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__arrow-right-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__arrow-right-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__arrow-right-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__arrow-right-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__arrow-right-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__arrow-right-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__arrow-right-icon.svelte-lyfgn.svelte-lyfgn{font-size:calc(0.0091666667 * 100vw + 0px)}}");
}

function simple_index_svelte_create_fragment(ctx) {
	let div14;
	let div7;
	let div3;
	let div0;
	let span0;
	let t0;
	let p0;
	let t1;
	let t2;
	let t3;
	let div1;
	let span1;
	let t4;
	let p1;
	let t5;
	let t6;
	let t7;
	let div2;
	let span2;
	let t8;
	let p2;
	let t9;
	let t10;
	let t11;
	let div6;
	let div4;
	let t12;
	let div5;
	let p3;
	let t13;
	let t14;
	let div10;
	let div9;
	let p4;
	let t16;
	let p5;
	let t17_value = formatSpeed(/*$vehicleSpeed*/ ctx[5]) + "";
	let t17;
	let t18;
	let div8;
	let p6;
	let t20;
	let p7;
	let t21;
	let t22;
	let p8;
	let t24;
	let div13;

	return {
		c() {
			div14 = internal_element("div");
			div7 = internal_element("div");
			div3 = internal_element("div");
			div0 = internal_element("div");
			span0 = internal_element("span");
			t0 = space();
			p0 = internal_element("p");
			t1 = internal_text(/*$vehicleFuel*/ ctx[0]);
			t2 = internal_text("%");
			t3 = space();
			div1 = internal_element("div");
			span1 = internal_element("span");
			t4 = space();
			p1 = internal_element("p");
			t5 = internal_text(/*$vehicleWheel*/ ctx[1]);
			t6 = internal_text("%");
			t7 = space();
			div2 = internal_element("div");
			span2 = internal_element("span");
			t8 = space();
			p2 = internal_element("p");
			t9 = internal_text(/*$vehicleOil*/ ctx[2]);
			t10 = internal_text("%");
			t11 = space();
			div6 = internal_element("div");
			div4 = internal_element("div");
			div4.innerHTML = `<span class="hud-speedometer__light-icon icon-light svelte-lyfgn"></span>`;
			t12 = space();
			div5 = internal_element("div");
			p3 = internal_element("p");
			t13 = internal_text(/*$vehicleGearLevel*/ ctx[4]);
			t14 = space();
			div10 = internal_element("div");
			div9 = internal_element("div");
			p4 = internal_element("p");
			p4.textContent = "000";
			t16 = space();
			p5 = internal_element("p");
			t17 = internal_text(t17_value);
			t18 = space();
			div8 = internal_element("div");
			p6 = internal_element("p");
			p6.textContent = "000000";
			t20 = space();
			p7 = internal_element("p");
			t21 = internal_text(/*$vehicleMileage*/ ctx[6]);
			t22 = space();
			p8 = internal_element("p");
			p8.textContent = "KM/H";
			t24 = space();
			div13 = internal_element("div");

			div13.innerHTML = `<div class="hud-speedometer__arrow-left-item svelte-lyfgn"><span class="hud-speedometer__arrow-left-icon icon-arrow-left-bold svelte-lyfgn"></span></div> 
        <div class="hud-speedometer__arrow-right-item svelte-lyfgn"><span class="hud-speedometer__arrow-right-icon icon-arrow-right-bold svelte-lyfgn"></span></div>`;

			attr(span0, "class", "hud-speedometer__condition-fuel-icon icon-fuel svelte-lyfgn");
			attr(p0, "class", "hud-speedometer__condition-fuel-value hud-speedometer__condition-value svelte-lyfgn");
			attr(div0, "class", "hud-speedometer__condition-fuel svelte-lyfgn");
			attr(span1, "class", "hud-speedometer__condition-wheel-icon icon-wheel svelte-lyfgn");
			attr(p1, "class", "hud-speedometer__condition-wheel-value hud-speedometer__condition-value svelte-lyfgn");
			attr(div1, "class", "hud-speedometer__condition-wheel svelte-lyfgn");
			attr(span2, "class", "hud-speedometer__condition-oil-icon icon-oil svelte-lyfgn");
			attr(p2, "class", "hud-speedometer__condition-oil-value hud-speedometer__condition-value svelte-lyfgn");
			attr(div2, "class", "hud-speedometer__condition-oil svelte-lyfgn");
			attr(div3, "class", "hud-speedometer__condition svelte-lyfgn");
			attr(div4, "class", "hud-speedometer__light svelte-lyfgn");
			attr(p3, "class", "hud-speedometer__gear-value svelte-lyfgn");
			attr(div5, "class", "hud-speedometer__gear svelte-lyfgn");
			attr(div6, "class", "hud-speedometer__light-wrapper svelte-lyfgn");
			toggle_class(div6, "hud-speedometer__light-wrapper--turn", /*$vehicleLights*/ ctx[3]);
			attr(div7, "class", "hud-speedometer__condition-wrapper svelte-lyfgn");
			attr(p4, "class", "hud-speedometer__speed-subvalue svelte-lyfgn");
			attr(p5, "class", "hud-speedometer__speed-value svelte-lyfgn");
			attr(p6, "class", "hud-speedometer__body-mileage-subvalue svelte-lyfgn");
			attr(p7, "class", "hud-speedometer__body-mileage-value svelte-lyfgn");
			attr(div8, "class", "hud-speedometer__body-mileage svelte-lyfgn");
			attr(div9, "class", "hud-speedometer__speed svelte-lyfgn");
			attr(p8, "class", "hud-speedometer__speed-title svelte-lyfgn");
			attr(div10, "class", "hud-speedometer__speed-wrapper svelte-lyfgn");
			attr(div13, "class", "hud-speedometer__arrows svelte-lyfgn");
			toggle_class(div13, "hud-speedometer__arrows--turn-left", /*$vehicleTurnLeft*/ ctx[7]);
			toggle_class(div13, "hud-speedometer__arrows--turn-right", /*$vehicleTurnRight*/ ctx[8]);
			attr(div14, "class", "hud-speedometer svelte-lyfgn");
		},
		m(target, anchor) {
			insert(target, div14, anchor);
			append(div14, div7);
			append(div7, div3);
			append(div3, div0);
			append(div0, span0);
			append(div0, t0);
			append(div0, p0);
			append(p0, t1);
			append(p0, t2);
			append(div3, t3);
			append(div3, div1);
			append(div1, span1);
			append(div1, t4);
			append(div1, p1);
			append(p1, t5);
			append(p1, t6);
			append(div3, t7);
			append(div3, div2);
			append(div2, span2);
			append(div2, t8);
			append(div2, p2);
			append(p2, t9);
			append(p2, t10);
			append(div7, t11);
			append(div7, div6);
			append(div6, div4);
			append(div6, t12);
			append(div6, div5);
			append(div5, p3);
			append(p3, t13);
			append(div14, t14);
			append(div14, div10);
			append(div10, div9);
			append(div9, p4);
			append(div9, t16);
			append(div9, p5);
			append(p5, t17);
			append(div9, t18);
			append(div9, div8);
			append(div8, p6);
			append(div8, t20);
			append(div8, p7);
			append(p7, t21);
			append(div10, t22);
			append(div10, p8);
			append(div14, t24);
			append(div14, div13);
		},
		p(ctx, [dirty]) {
			if (dirty & /*$vehicleFuel*/ 1) set_data(t1, /*$vehicleFuel*/ ctx[0]);
			if (dirty & /*$vehicleWheel*/ 2) set_data(t5, /*$vehicleWheel*/ ctx[1]);
			if (dirty & /*$vehicleOil*/ 4) set_data(t9, /*$vehicleOil*/ ctx[2]);
			if (dirty & /*$vehicleGearLevel*/ 16) set_data(t13, /*$vehicleGearLevel*/ ctx[4]);

			if (dirty & /*$vehicleLights*/ 8) {
				toggle_class(div6, "hud-speedometer__light-wrapper--turn", /*$vehicleLights*/ ctx[3]);
			}

			if (dirty & /*$vehicleSpeed*/ 32 && t17_value !== (t17_value = formatSpeed(/*$vehicleSpeed*/ ctx[5]) + "")) set_data(t17, t17_value);
			if (dirty & /*$vehicleMileage*/ 64) set_data(t21, /*$vehicleMileage*/ ctx[6]);

			if (dirty & /*$vehicleTurnLeft*/ 128) {
				toggle_class(div13, "hud-speedometer__arrows--turn-left", /*$vehicleTurnLeft*/ ctx[7]);
			}

			if (dirty & /*$vehicleTurnRight*/ 256) {
				toggle_class(div13, "hud-speedometer__arrows--turn-right", /*$vehicleTurnRight*/ ctx[8]);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div14);
		}
	};
}

function simple_index_svelte_instance($$self, $$props, $$invalidate) {
	let $vehicleFuel;
	let $vehicleWheel;
	let $vehicleOil;
	let $vehicleLights;
	let $vehicleGearLevel;
	let $vehicleSpeed;
	let $vehicleMileage;
	let $vehicleTurnLeft;
	let $vehicleTurnRight;
	component_subscribe($$self, vehicleFuel, $$value => $$invalidate(0, $vehicleFuel = $$value));
	component_subscribe($$self, vehicleWheel, $$value => $$invalidate(1, $vehicleWheel = $$value));
	component_subscribe($$self, vehicleOil, $$value => $$invalidate(2, $vehicleOil = $$value));
	component_subscribe($$self, vehicleLights, $$value => $$invalidate(3, $vehicleLights = $$value));
	component_subscribe($$self, vehicleGearLevel, $$value => $$invalidate(4, $vehicleGearLevel = $$value));
	component_subscribe($$self, vehicleSpeed, $$value => $$invalidate(5, $vehicleSpeed = $$value));
	component_subscribe($$self, vehicleMileage, $$value => $$invalidate(6, $vehicleMileage = $$value));
	component_subscribe($$self, vehicleTurnLeft, $$value => $$invalidate(7, $vehicleTurnLeft = $$value));
	component_subscribe($$self, vehicleTurnRight, $$value => $$invalidate(8, $vehicleTurnRight = $$value));

	return [
		$vehicleFuel,
		$vehicleWheel,
		$vehicleOil,
		$vehicleLights,
		$vehicleGearLevel,
		$vehicleSpeed,
		$vehicleMileage,
		$vehicleTurnLeft,
		$vehicleTurnRight
	];
}

class Simple extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, simple_index_svelte_instance, simple_index_svelte_create_fragment, safe_not_equal, {}, simple_index_svelte_add_css);
	}
}

/* harmony default export */ const simple_index_svelte = (Simple);
;// CONCATENATED MODULE: ./src/components/circle-progress/index.svelte
/* src\components\circle-progress\index.svelte generated by Svelte v3.49.0 */




function circle_progress_index_svelte_add_css(target) {
	append_styles(target, "svelte-1o20eab", "@keyframes svelte-1o20eab-blinking{50%{opacity:0}}@keyframes svelte-1o20eab-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1o20eab-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1o20eab-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1o20eab-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1o20eab-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1o20eab-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1o20eab-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1o20eab-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1o20eab-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1o20eab-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1o20eab-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1o20eab-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1o20eab-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1o20eab-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.bar-indicator.svelte-1o20eab{transform:rotate(270deg);vertical-align:middle;width:100%;height:100%;--stroke-width:7px}.bar-indicator__line.svelte-1o20eab{stroke:rgba(255, 255, 255, 0.25);fill:transparent;stroke-width:var(--stroke-width)}.bar-indicator__line-fill.svelte-1o20eab{fill:transparent;stroke-width:var(--stroke-width)}");
}

function circle_progress_index_svelte_create_fragment(ctx) {
	let svg;
	let circle0;
	let circle1;
	let circle1_style_value;
	let svg_style_value;
	let mounted;
	let dispose;

	return {
		c() {
			svg = svg_element("svg");
			circle0 = svg_element("circle");
			circle1 = svg_element("circle");
			attr(circle0, "class", "bar-indicator__line svelte-1o20eab");
			attr(circle0, "cx", /*center*/ ctx[5]);
			attr(circle0, "cy", /*center*/ ctx[5]);
			attr(circle0, "r", /*radius*/ ctx[2]);
			attr(circle1, "class", "bar-indicator__line-fill svelte-1o20eab");
			attr(circle1, "cx", /*center*/ ctx[5]);
			attr(circle1, "cy", /*center*/ ctx[5]);
			attr(circle1, "r", /*radius*/ ctx[2]);
			attr(circle1, "stroke", /*color*/ ctx[0]);
			attr(circle1, "style", circle1_style_value = `stroke-dashoffset: ${/*progressOffset*/ ctx[6]}; stroke-dasharray: ${/*circumference*/ ctx[3]};`);
			attr(svg, "class", "bar-indicator svelte-1o20eab");
			attr(svg, "style", svg_style_value = `--stroke-width: ${/*strokeWidth*/ ctx[1]}`);
		},
		m(target, anchor) {
			insert(target, svg, anchor);
			append(svg, circle0);
			append(svg, circle1);
			/*svg_binding*/ ctx[10](svg);

			if (!mounted) {
				dispose = listen(window, "resize", /*calculateCircleWidthAndStrokeWidth*/ ctx[7]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*center*/ 32) {
				attr(circle0, "cx", /*center*/ ctx[5]);
			}

			if (dirty & /*center*/ 32) {
				attr(circle0, "cy", /*center*/ ctx[5]);
			}

			if (dirty & /*radius*/ 4) {
				attr(circle0, "r", /*radius*/ ctx[2]);
			}

			if (dirty & /*center*/ 32) {
				attr(circle1, "cx", /*center*/ ctx[5]);
			}

			if (dirty & /*center*/ 32) {
				attr(circle1, "cy", /*center*/ ctx[5]);
			}

			if (dirty & /*radius*/ 4) {
				attr(circle1, "r", /*radius*/ ctx[2]);
			}

			if (dirty & /*color*/ 1) {
				attr(circle1, "stroke", /*color*/ ctx[0]);
			}

			if (dirty & /*progressOffset, circumference*/ 72 && circle1_style_value !== (circle1_style_value = `stroke-dashoffset: ${/*progressOffset*/ ctx[6]}; stroke-dasharray: ${/*circumference*/ ctx[3]};`)) {
				attr(circle1, "style", circle1_style_value);
			}

			if (dirty & /*strokeWidth*/ 2 && svg_style_value !== (svg_style_value = `--stroke-width: ${/*strokeWidth*/ ctx[1]}`)) {
				attr(svg, "style", svg_style_value);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(svg);
			/*svg_binding*/ ctx[10](null);
			mounted = false;
			dispose();
		}
	};
}

function circle_progress_index_svelte_instance($$self, $$props, $$invalidate) {
	let { color = '#FFFFFF' } = $$props;
	let { percents = 0 } = $$props;
	let { strokeWidth } = $$props;
	let svgContainerRef = null;
	let width = 0;
	let radius = 0;
	let center = 0;
	let circumference = 0;
	let progressOffset = 0;

	const calculateCircleWidthAndStrokeWidth = () => {
		$$invalidate(9, width = svgContainerRef.getBoundingClientRect().width);
	};

	onMount(() => calculateCircleWidthAndStrokeWidth());

	function svg_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			svgContainerRef = $$value;
			$$invalidate(4, svgContainerRef);
		});
	}

	$$self.$$set = $$props => {
		if ('color' in $$props) $$invalidate(0, color = $$props.color);
		if ('percents' in $$props) $$invalidate(8, percents = $$props.percents);
		if ('strokeWidth' in $$props) $$invalidate(1, strokeWidth = $$props.strokeWidth);
	};

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*width, strokeWidth, radius, percents, circumference*/ 782) {
			$: {
				$$invalidate(2, radius = Math.abs(width / 2 - Number(strokeWidth) / 2));
				$$invalidate(5, center = width / 2);
				$$invalidate(3, circumference = 2 * Math.PI * radius);
				$$invalidate(6, progressOffset = (100 - percents) / 100 * circumference);
			}
		}
	};

	return [
		color,
		strokeWidth,
		radius,
		circumference,
		svgContainerRef,
		center,
		progressOffset,
		calculateCircleWidthAndStrokeWidth,
		percents,
		width,
		svg_binding
	];
}

class Circle_progress extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, circle_progress_index_svelte_instance, circle_progress_index_svelte_create_fragment, safe_not_equal, { color: 0, percents: 8, strokeWidth: 1 }, circle_progress_index_svelte_add_css);
	}
}

/* harmony default export */ const circle_progress_index_svelte = (Circle_progress);
;// CONCATENATED MODULE: ./src/views/hud/components/hud-speedometer/components/old/img/speedometer-values-bg.png
const speedometer_values_bg_namespaceObject = __webpack_require__.p + "assets/0a94ad139cfbf88a2dd8.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-speedometer/components/old/img/speedometer-arrow.svg
const speedometer_arrow_namespaceObject = __webpack_require__.p + "assets/e89fe3b560578a3953f1.svg";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-speedometer/components/old/img/speedometer-oil.svg
const speedometer_oil_namespaceObject = __webpack_require__.p + "assets/0a430b43b60b431942db.svg";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-speedometer/components/old/img/speedometer-engine.svg
const speedometer_engine_namespaceObject = __webpack_require__.p + "assets/49238ee89c501b955326.svg";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-speedometer/components/old/img/speedometer-wheel.svg
const speedometer_wheel_namespaceObject = __webpack_require__.p + "assets/572af571e6aac184c300.svg";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-speedometer/components/old/components/speedometer-fuel/index.svelte
/* src\views\hud\components\hud-speedometer\components\old\components\speedometer-fuel\index.svelte generated by Svelte v3.49.0 */




function components_speedometer_fuel_index_svelte_add_css(target) {
	append_styles(target, "svelte-kjo0on", "@keyframes svelte-kjo0on-blinking{50%{opacity:0}}@keyframes svelte-kjo0on-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-kjo0on-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-kjo0on-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-kjo0on-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-kjo0on-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-kjo0on-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-kjo0on-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-kjo0on-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-kjo0on-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-kjo0on-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-kjo0on-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-kjo0on-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-kjo0on-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-kjo0on-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.bar.svelte-kjo0on{vertical-align:middle;height:100%;width:100%;transform:rotate(198deg);overflow:initial}.bar__line.svelte-kjo0on{fill:transparent;stroke:rgba(255, 255, 255, 0.45);stroke-width:7}.bar__line-fill.svelte-kjo0on{fill:transparent;stroke-width:7;transition:stroke-dashoffset 0.2s ease 0s, stroke-dasharray 0.2s ease 0s, stroke 0.2s}");
}

function components_speedometer_fuel_index_svelte_create_fragment(ctx) {
	let svg;
	let circle0;
	let circle0_style_value;
	let circle1;
	let circle1_style_value;
	let mounted;
	let dispose;

	return {
		c() {
			svg = svg_element("svg");
			circle0 = svg_element("circle");
			circle1 = svg_element("circle");
			attr(circle0, "class", "bar__line svelte-kjo0on");
			attr(circle0, "cx", /*center*/ ctx[4]);
			attr(circle0, "cy", /*center*/ ctx[4]);
			attr(circle0, "r", /*radius*/ ctx[1]);
			attr(circle0, "fill", "none");
			attr(circle0, "stroke-linecap", "round");
			attr(circle0, "style", circle0_style_value = `stroke-dashoffset: ${/*progressOffsets*/ ctx[6]}; stroke-dasharray: ${/*circumference*/ ctx[2]};`);
			attr(circle1, "class", "bar__line-fill svelte-kjo0on");
			attr(circle1, "cx", /*center*/ ctx[4]);
			attr(circle1, "cy", /*center*/ ctx[4]);
			attr(circle1, "r", /*radius*/ ctx[1]);
			attr(circle1, "fill", "none");
			attr(circle1, "stroke", /*color*/ ctx[0]);
			attr(circle1, "stroke-linecap", "round");
			attr(circle1, "style", circle1_style_value = `stroke-dashoffset: ${/*progressOffset*/ ctx[5]}; stroke-dasharray: ${/*circumference*/ ctx[2]};`);
			attr(svg, "class", "bar svelte-kjo0on");
		},
		m(target, anchor) {
			insert(target, svg, anchor);
			append(svg, circle0);
			append(svg, circle1);
			/*svg_binding*/ ctx[11](svg);

			if (!mounted) {
				dispose = listen(window, "resize", /*calculateCircleWidthAndStrokeWidth*/ ctx[7]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*center*/ 16) {
				attr(circle0, "cx", /*center*/ ctx[4]);
			}

			if (dirty & /*center*/ 16) {
				attr(circle0, "cy", /*center*/ ctx[4]);
			}

			if (dirty & /*radius*/ 2) {
				attr(circle0, "r", /*radius*/ ctx[1]);
			}

			if (dirty & /*progressOffsets, circumference*/ 68 && circle0_style_value !== (circle0_style_value = `stroke-dashoffset: ${/*progressOffsets*/ ctx[6]}; stroke-dasharray: ${/*circumference*/ ctx[2]};`)) {
				attr(circle0, "style", circle0_style_value);
			}

			if (dirty & /*center*/ 16) {
				attr(circle1, "cx", /*center*/ ctx[4]);
			}

			if (dirty & /*center*/ 16) {
				attr(circle1, "cy", /*center*/ ctx[4]);
			}

			if (dirty & /*radius*/ 2) {
				attr(circle1, "r", /*radius*/ ctx[1]);
			}

			if (dirty & /*color*/ 1) {
				attr(circle1, "stroke", /*color*/ ctx[0]);
			}

			if (dirty & /*progressOffset, circumference*/ 36 && circle1_style_value !== (circle1_style_value = `stroke-dashoffset: ${/*progressOffset*/ ctx[5]}; stroke-dasharray: ${/*circumference*/ ctx[2]};`)) {
				attr(circle1, "style", circle1_style_value);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(svg);
			/*svg_binding*/ ctx[11](null);
			mounted = false;
			dispose();
		}
	};
}

function components_speedometer_fuel_index_svelte_instance($$self, $$props, $$invalidate) {
	let { percents = 0 } = $$props;
	let { radiusValue } = $$props;
	let { color } = $$props;
	let svgContainerRef = null;
	let width = 0;
	let radius = 0;
	let center = 0;
	let circumference = 0;
	let progressOffset = 0;
	let progressOffsets = 0;

	const calculateCircleWidthAndStrokeWidth = () => {
		$$invalidate(10, width = svgContainerRef.getBoundingClientRect().width);
	};

	onMount(() => calculateCircleWidthAndStrokeWidth());

	function svg_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			svgContainerRef = $$value;
			$$invalidate(3, svgContainerRef);
		});
	}

	$$self.$$set = $$props => {
		if ('percents' in $$props) $$invalidate(8, percents = $$props.percents);
		if ('radiusValue' in $$props) $$invalidate(9, radiusValue = $$props.radiusValue);
		if ('color' in $$props) $$invalidate(0, color = $$props.color);
	};

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*width, radiusValue, radius, percents, circumference*/ 1798) {
			$: {
				$$invalidate(1, radius = Math.abs(width / radiusValue - 4 / 6));
				$$invalidate(4, center = width / 2);
				$$invalidate(2, circumference = 2 * Math.PI * radius);
				$$invalidate(5, progressOffset = (100 - percents) / 100 * circumference);
				$$invalidate(6, progressOffsets = (100 - 20) / 100 * circumference);
			}
		}
	};

	return [
		color,
		radius,
		circumference,
		svgContainerRef,
		center,
		progressOffset,
		progressOffsets,
		calculateCircleWidthAndStrokeWidth,
		percents,
		radiusValue,
		width,
		svg_binding
	];
}

class index_svelte_Speedometer_fuel extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, components_speedometer_fuel_index_svelte_instance, components_speedometer_fuel_index_svelte_create_fragment, safe_not_equal, { percents: 8, radiusValue: 9, color: 0 }, components_speedometer_fuel_index_svelte_add_css);
	}
}

/* harmony default export */ const components_speedometer_fuel_index_svelte = (index_svelte_Speedometer_fuel);
;// CONCATENATED MODULE: ./src/views/hud/components/hud-speedometer/components/old/img/speedometer-fuel.svg
const speedometer_fuel_namespaceObject = __webpack_require__.p + "assets/7e3e91cc2bd267b5a4a3.svg";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-speedometer/components/old/img/speedometer-battery.svg
const speedometer_battery_namespaceObject = __webpack_require__.p + "assets/91eeff6f1b83fdac5a50.svg";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-speedometer/components/old/constants.js
function old_constants_typeof(o) { "@babel/helpers - typeof"; return old_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, old_constants_typeof(o); }
function old_constants_defineProperty(e, r, t) { return (r = old_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function old_constants_toPropertyKey(t) { var i = old_constants_toPrimitive(t, "string"); return "symbol" == old_constants_typeof(i) ? i : i + ""; }
function old_constants_toPrimitive(t, r) { if ("object" != old_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != old_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }


var FuelType = {
  Petrol: 'petrol',
  Electro: 'electro'
};
var MAP_TYPE_TO_IMG = old_constants_defineProperty(old_constants_defineProperty({}, FuelType.Petrol, speedometer_fuel_namespaceObject), FuelType.Electro, speedometer_battery_namespaceObject);
var MAP_TYPE_TO_COLOR = old_constants_defineProperty(old_constants_defineProperty({}, FuelType.Petrol, '#5AE343'), FuelType.Electro, '#43AAE3');
;// CONCATENATED MODULE: ./src/views/hud/components/hud-speedometer/components/old/index.svelte
/* src\views\hud\components\hud-speedometer\components\old\index.svelte generated by Svelte v3.49.0 */















function old_index_svelte_add_css(target) {
	append_styles(target, "svelte-e2nlg9", "@keyframes svelte-e2nlg9-blinking{50%{opacity:0}}@keyframes svelte-e2nlg9-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-e2nlg9-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-e2nlg9-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-e2nlg9-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-e2nlg9-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-e2nlg9-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-e2nlg9-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-e2nlg9-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-e2nlg9-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-e2nlg9-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-e2nlg9-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-e2nlg9-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-e2nlg9-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-e2nlg9-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.hud-speedometer.svelte-e2nlg9{display:flex;align-items:center;position:absolute;right:calc(0 * 100vw + 0px);bottom:calc(0 * 100vw + 0px);width:calc(0.2520833333 * 100vw + 0px);height:calc(0.19375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer.svelte-e2nlg9{right:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer.svelte-e2nlg9{right:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer.svelte-e2nlg9{right:calc(0 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer.svelte-e2nlg9{right:calc(0 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer.svelte-e2nlg9{right:calc(0 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer.svelte-e2nlg9{right:calc(0 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer.svelte-e2nlg9{right:calc(0 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer.svelte-e2nlg9{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer.svelte-e2nlg9{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer.svelte-e2nlg9{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer.svelte-e2nlg9{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer.svelte-e2nlg9{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer.svelte-e2nlg9{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer.svelte-e2nlg9{bottom:calc(0 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer.svelte-e2nlg9{width:calc(0.2520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer.svelte-e2nlg9{width:calc(0.2520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer.svelte-e2nlg9{width:calc(0.1941041667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer.svelte-e2nlg9{width:calc(0.2772916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer.svelte-e2nlg9{width:calc(0.1764583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer.svelte-e2nlg9{width:calc(0.226875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer.svelte-e2nlg9{width:calc(0.2772916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer.svelte-e2nlg9{height:calc(0.19375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer.svelte-e2nlg9{height:calc(0.19375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer.svelte-e2nlg9{height:calc(0.1491875 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer.svelte-e2nlg9{height:calc(0.213125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer.svelte-e2nlg9{height:calc(0.135625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer.svelte-e2nlg9{height:calc(0.174375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer.svelte-e2nlg9{height:calc(0.213125 * 100vw + 0px)}}.hud-speedometer__body.svelte-e2nlg9{position:relative;display:flex;justify-content:center;border-radius:100%;background:linear-gradient(180deg, rgba(52, 49, 48, 0.44) 1.3%, rgba(142, 142, 142, 0.0792) 89.72%, rgba(255, 255, 255, 0) 100%);box-shadow:inset 0px calc(0.0067708333 * 100vw + 0px) calc(0.0130208333 * 100vw + 0px) rgba(255, 255, 255, 0.12);margin-left:calc(0.0598958333 * 100vw + 0px);width:calc(0.1604166667 * 100vw + 0px);height:calc(0.1604166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body.svelte-e2nlg9{margin-left:calc(0.0598958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body.svelte-e2nlg9{margin-left:calc(0.0598958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body.svelte-e2nlg9{margin-left:calc(0.0461197917 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body.svelte-e2nlg9{margin-left:calc(0.0658854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body.svelte-e2nlg9{margin-left:calc(0.0419270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body.svelte-e2nlg9{margin-left:calc(0.05390625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body.svelte-e2nlg9{margin-left:calc(0.0658854167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body.svelte-e2nlg9{width:calc(0.1604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body.svelte-e2nlg9{width:calc(0.1604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body.svelte-e2nlg9{width:calc(0.1235208333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body.svelte-e2nlg9{width:calc(0.1764583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body.svelte-e2nlg9{width:calc(0.1122916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body.svelte-e2nlg9{width:calc(0.144375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body.svelte-e2nlg9{width:calc(0.1764583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body.svelte-e2nlg9{height:calc(0.1604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body.svelte-e2nlg9{height:calc(0.1604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body.svelte-e2nlg9{height:calc(0.1235208333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body.svelte-e2nlg9{height:calc(0.1764583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body.svelte-e2nlg9{height:calc(0.1122916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body.svelte-e2nlg9{height:calc(0.144375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body.svelte-e2nlg9{height:calc(0.1764583333 * 100vw + 0px)}}.hud-speedometer__body-values.svelte-e2nlg9{margin-top:calc(0.0130208333 * 100vw + 0px);height:calc(0.11875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-values.svelte-e2nlg9{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-values.svelte-e2nlg9{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-values.svelte-e2nlg9{margin-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-values.svelte-e2nlg9{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-values.svelte-e2nlg9{margin-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-values.svelte-e2nlg9{margin-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-values.svelte-e2nlg9{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-values.svelte-e2nlg9{height:calc(0.11875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-values.svelte-e2nlg9{height:calc(0.11875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-values.svelte-e2nlg9{height:calc(0.0914375 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-values.svelte-e2nlg9{height:calc(0.130625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-values.svelte-e2nlg9{height:calc(0.083125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-values.svelte-e2nlg9{height:calc(0.106875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-values.svelte-e2nlg9{height:calc(0.130625 * 100vw + 0px)}}.hud-speedometer__condition.svelte-e2nlg9{position:absolute;display:flex;justify-content:center;align-items:center;width:calc(0.0166666667 * 100vw + 0px);height:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__condition.svelte-e2nlg9{width:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__condition.svelte-e2nlg9{width:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__condition.svelte-e2nlg9{width:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__condition.svelte-e2nlg9{width:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__condition.svelte-e2nlg9{width:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__condition.svelte-e2nlg9{width:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__condition.svelte-e2nlg9{width:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__condition.svelte-e2nlg9{height:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__condition.svelte-e2nlg9{height:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__condition.svelte-e2nlg9{height:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__condition.svelte-e2nlg9{height:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__condition.svelte-e2nlg9{height:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__condition.svelte-e2nlg9{height:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__condition.svelte-e2nlg9{height:calc(0.0183333333 * 100vw + 0px)}}.hud-speedometer__engine.svelte-e2nlg9{right:calc(0.0296875 * 100vw + 0px);bottom:calc(0.1505208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__engine.svelte-e2nlg9{right:calc(0.0296875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__engine.svelte-e2nlg9{right:calc(0.0296875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__engine.svelte-e2nlg9{right:calc(0.022859375 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__engine.svelte-e2nlg9{right:calc(0.03265625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__engine.svelte-e2nlg9{right:calc(0.02078125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__engine.svelte-e2nlg9{right:calc(0.02671875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__engine.svelte-e2nlg9{right:calc(0.03265625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__engine.svelte-e2nlg9{bottom:calc(0.1505208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__engine.svelte-e2nlg9{bottom:calc(0.1505208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__engine.svelte-e2nlg9{bottom:calc(0.1159010417 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__engine.svelte-e2nlg9{bottom:calc(0.1655729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__engine.svelte-e2nlg9{bottom:calc(0.1053645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__engine.svelte-e2nlg9{bottom:calc(0.13546875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__engine.svelte-e2nlg9{bottom:calc(0.1655729167 * 100vw + 0px)}}.hud-speedometer__engine-img.svelte-e2nlg9{position:absolute;height:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__engine-img.svelte-e2nlg9{height:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__engine-img.svelte-e2nlg9{height:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__engine-img.svelte-e2nlg9{height:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__engine-img.svelte-e2nlg9{height:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__engine-img.svelte-e2nlg9{height:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__engine-img.svelte-e2nlg9{height:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__engine-img.svelte-e2nlg9{height:calc(0.00859375 * 100vw + 0px)}}.hud-speedometer__oil.svelte-e2nlg9{right:calc(0.0161458333 * 100vw + 0px);bottom:calc(0.1302083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__oil.svelte-e2nlg9{right:calc(0.0161458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__oil.svelte-e2nlg9{right:calc(0.0161458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__oil.svelte-e2nlg9{right:calc(0.0124322917 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__oil.svelte-e2nlg9{right:calc(0.0177604167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__oil.svelte-e2nlg9{right:calc(0.0113020833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__oil.svelte-e2nlg9{right:calc(0.01453125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__oil.svelte-e2nlg9{right:calc(0.0177604167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__oil.svelte-e2nlg9{bottom:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__oil.svelte-e2nlg9{bottom:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__oil.svelte-e2nlg9{bottom:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__oil.svelte-e2nlg9{bottom:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__oil.svelte-e2nlg9{bottom:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__oil.svelte-e2nlg9{bottom:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__oil.svelte-e2nlg9{bottom:calc(0.1432291667 * 100vw + 0px)}}.hud-speedometer__oil-img.svelte-e2nlg9{position:absolute;height:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__oil-img.svelte-e2nlg9{height:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__oil-img.svelte-e2nlg9{height:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__oil-img.svelte-e2nlg9{height:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__oil-img.svelte-e2nlg9{height:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__oil-img.svelte-e2nlg9{height:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__oil-img.svelte-e2nlg9{height:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__oil-img.svelte-e2nlg9{height:calc(0.0091666667 * 100vw + 0px)}}.hud-speedometer__wheel.svelte-e2nlg9{right:calc(0.0083333333 * 100vw + 0px);bottom:calc(0.1088541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__wheel.svelte-e2nlg9{right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__wheel.svelte-e2nlg9{right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__wheel.svelte-e2nlg9{right:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__wheel.svelte-e2nlg9{right:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__wheel.svelte-e2nlg9{right:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__wheel.svelte-e2nlg9{right:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__wheel.svelte-e2nlg9{right:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__wheel.svelte-e2nlg9{bottom:calc(0.1088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__wheel.svelte-e2nlg9{bottom:calc(0.1088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__wheel.svelte-e2nlg9{bottom:calc(0.0838177083 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__wheel.svelte-e2nlg9{bottom:calc(0.1197395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__wheel.svelte-e2nlg9{bottom:calc(0.0761979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__wheel.svelte-e2nlg9{bottom:calc(0.09796875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__wheel.svelte-e2nlg9{bottom:calc(0.1197395833 * 100vw + 0px)}}.hud-speedometer__wheel-img.svelte-e2nlg9{position:absolute;height:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__wheel-img.svelte-e2nlg9{height:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__wheel-img.svelte-e2nlg9{height:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__wheel-img.svelte-e2nlg9{height:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__wheel-img.svelte-e2nlg9{height:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__wheel-img.svelte-e2nlg9{height:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__wheel-img.svelte-e2nlg9{height:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__wheel-img.svelte-e2nlg9{height:calc(0.00859375 * 100vw + 0px)}}.hud-speedometer__light-icon.svelte-e2nlg9{position:absolute;color:rgba(255, 255, 255, 0.2);font-size:calc(0.0114583333 * 100vw + 0px);right:calc(0.0098958333 * 100vw + 0px);bottom:calc(0.0880208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__light-icon.svelte-e2nlg9{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__light-icon.svelte-e2nlg9{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__light-icon.svelte-e2nlg9{font-size:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__light-icon.svelte-e2nlg9{font-size:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__light-icon.svelte-e2nlg9{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__light-icon.svelte-e2nlg9{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__light-icon.svelte-e2nlg9{font-size:calc(0.0126041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__light-icon.svelte-e2nlg9{right:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__light-icon.svelte-e2nlg9{right:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__light-icon.svelte-e2nlg9{right:calc(0.0076197917 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__light-icon.svelte-e2nlg9{right:calc(0.0108854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__light-icon.svelte-e2nlg9{right:calc(0.0069270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__light-icon.svelte-e2nlg9{right:calc(0.00890625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__light-icon.svelte-e2nlg9{right:calc(0.0108854167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__light-icon.svelte-e2nlg9{bottom:calc(0.0880208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__light-icon.svelte-e2nlg9{bottom:calc(0.0880208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__light-icon.svelte-e2nlg9{bottom:calc(0.0677760417 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__light-icon.svelte-e2nlg9{bottom:calc(0.0968229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__light-icon.svelte-e2nlg9{bottom:calc(0.0616145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__light-icon.svelte-e2nlg9{bottom:calc(0.07921875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__light-icon.svelte-e2nlg9{bottom:calc(0.0968229167 * 100vw + 0px)}}.hud-speedometer__light-icon--turn.svelte-e2nlg9{color:#FFFFFF}.hud-speedometer__car-engine-icon.svelte-e2nlg9{position:absolute;color:rgba(255, 255, 255, 0.2);font-size:calc(0.0114583333 * 100vw + 0px);right:calc(0.0135416667 * 100vw + 0px);bottom:calc(0.0666666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__car-engine-icon.svelte-e2nlg9{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__car-engine-icon.svelte-e2nlg9{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__car-engine-icon.svelte-e2nlg9{font-size:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__car-engine-icon.svelte-e2nlg9{font-size:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__car-engine-icon.svelte-e2nlg9{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__car-engine-icon.svelte-e2nlg9{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__car-engine-icon.svelte-e2nlg9{font-size:calc(0.0126041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__car-engine-icon.svelte-e2nlg9{right:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__car-engine-icon.svelte-e2nlg9{right:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__car-engine-icon.svelte-e2nlg9{right:calc(0.0104270833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__car-engine-icon.svelte-e2nlg9{right:calc(0.0148958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__car-engine-icon.svelte-e2nlg9{right:calc(0.0094791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__car-engine-icon.svelte-e2nlg9{right:calc(0.0121875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__car-engine-icon.svelte-e2nlg9{right:calc(0.0148958333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__car-engine-icon.svelte-e2nlg9{bottom:calc(0.0666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__car-engine-icon.svelte-e2nlg9{bottom:calc(0.0666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__car-engine-icon.svelte-e2nlg9{bottom:calc(0.0513333333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__car-engine-icon.svelte-e2nlg9{bottom:calc(0.0733333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__car-engine-icon.svelte-e2nlg9{bottom:calc(0.0466666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__car-engine-icon.svelte-e2nlg9{bottom:calc(0.06 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__car-engine-icon.svelte-e2nlg9{bottom:calc(0.0733333333 * 100vw + 0px)}}.hud-speedometer__car-engine-icon--turn.svelte-e2nlg9{color:#FFFFFF}.hud-speedometer__parking-icon.svelte-e2nlg9{position:absolute;color:rgba(255, 255, 255, 0.2);font-size:calc(0.0114583333 * 100vw + 0px);right:calc(0.0234375 * 100vw + 0px);bottom:calc(0.0458333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__parking-icon.svelte-e2nlg9{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__parking-icon.svelte-e2nlg9{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__parking-icon.svelte-e2nlg9{font-size:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__parking-icon.svelte-e2nlg9{font-size:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__parking-icon.svelte-e2nlg9{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__parking-icon.svelte-e2nlg9{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__parking-icon.svelte-e2nlg9{font-size:calc(0.0126041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__parking-icon.svelte-e2nlg9{right:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__parking-icon.svelte-e2nlg9{right:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__parking-icon.svelte-e2nlg9{right:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__parking-icon.svelte-e2nlg9{right:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__parking-icon.svelte-e2nlg9{right:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__parking-icon.svelte-e2nlg9{right:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__parking-icon.svelte-e2nlg9{right:calc(0.02578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__parking-icon.svelte-e2nlg9{bottom:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__parking-icon.svelte-e2nlg9{bottom:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__parking-icon.svelte-e2nlg9{bottom:calc(0.0352916667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__parking-icon.svelte-e2nlg9{bottom:calc(0.0504166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__parking-icon.svelte-e2nlg9{bottom:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__parking-icon.svelte-e2nlg9{bottom:calc(0.04125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__parking-icon.svelte-e2nlg9{bottom:calc(0.0504166667 * 100vw + 0px)}}.hud-speedometer__parking-icon--turn.svelte-e2nlg9{color:#FFFFFF}.hud-speedometer__door-icon.svelte-e2nlg9{position:absolute;color:rgba(255, 255, 255, 0.2);font-size:calc(0.0114583333 * 100vw + 0px);right:calc(0.0395833333 * 100vw + 0px);bottom:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__door-icon.svelte-e2nlg9{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__door-icon.svelte-e2nlg9{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__door-icon.svelte-e2nlg9{font-size:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__door-icon.svelte-e2nlg9{font-size:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__door-icon.svelte-e2nlg9{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__door-icon.svelte-e2nlg9{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__door-icon.svelte-e2nlg9{font-size:calc(0.0126041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__door-icon.svelte-e2nlg9{right:calc(0.0395833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__door-icon.svelte-e2nlg9{right:calc(0.0395833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__door-icon.svelte-e2nlg9{right:calc(0.0304791667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__door-icon.svelte-e2nlg9{right:calc(0.0435416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__door-icon.svelte-e2nlg9{right:calc(0.0277083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__door-icon.svelte-e2nlg9{right:calc(0.035625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__door-icon.svelte-e2nlg9{right:calc(0.0435416667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__door-icon.svelte-e2nlg9{bottom:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__door-icon.svelte-e2nlg9{bottom:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__door-icon.svelte-e2nlg9{bottom:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__door-icon.svelte-e2nlg9{bottom:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__door-icon.svelte-e2nlg9{bottom:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__door-icon.svelte-e2nlg9{bottom:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__door-icon.svelte-e2nlg9{bottom:calc(0.0275 * 100vw + 0px)}}.hud-speedometer__door-icon--turn.svelte-e2nlg9{color:#FFFFFF}.hud-speedometer__fuel.svelte-e2nlg9{position:absolute;right:calc(0.0260416667 * 100vw + 0px);bottom:calc(0.078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__fuel.svelte-e2nlg9{right:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__fuel.svelte-e2nlg9{right:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__fuel.svelte-e2nlg9{right:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__fuel.svelte-e2nlg9{right:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__fuel.svelte-e2nlg9{right:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__fuel.svelte-e2nlg9{right:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__fuel.svelte-e2nlg9{right:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__fuel.svelte-e2nlg9{bottom:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__fuel.svelte-e2nlg9{bottom:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__fuel.svelte-e2nlg9{bottom:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__fuel.svelte-e2nlg9{bottom:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__fuel.svelte-e2nlg9{bottom:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__fuel.svelte-e2nlg9{bottom:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__fuel.svelte-e2nlg9{bottom:calc(0.0859375 * 100vw + 0px)}}.hud-speedometer__fuel-status-wrapper.svelte-e2nlg9{transform:rotate(307deg) skewX(14deg);width:calc(0.0265625 * 100vw + 0px);height:calc(0.1041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__fuel-status-wrapper.svelte-e2nlg9{width:calc(0.0265625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__fuel-status-wrapper.svelte-e2nlg9{width:calc(0.0265625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__fuel-status-wrapper.svelte-e2nlg9{width:calc(0.020453125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__fuel-status-wrapper.svelte-e2nlg9{width:calc(0.02921875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__fuel-status-wrapper.svelte-e2nlg9{width:calc(0.01859375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__fuel-status-wrapper.svelte-e2nlg9{width:calc(0.02390625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__fuel-status-wrapper.svelte-e2nlg9{width:calc(0.02921875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__fuel-status-wrapper.svelte-e2nlg9{height:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__fuel-status-wrapper.svelte-e2nlg9{height:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__fuel-status-wrapper.svelte-e2nlg9{height:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__fuel-status-wrapper.svelte-e2nlg9{height:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__fuel-status-wrapper.svelte-e2nlg9{height:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__fuel-status-wrapper.svelte-e2nlg9{height:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__fuel-status-wrapper.svelte-e2nlg9{height:calc(0.1145833333 * 100vw + 0px)}}.hud-speedometer__fuel-img.svelte-e2nlg9{position:absolute;right:calc(0.1692708333 * 100vw + 0px);bottom:calc(0.0651041667 * 100vw + 0px);height:calc(0.0119791667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__fuel-img.svelte-e2nlg9{right:calc(0.1692708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__fuel-img.svelte-e2nlg9{right:calc(0.1692708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__fuel-img.svelte-e2nlg9{right:calc(0.1303385417 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__fuel-img.svelte-e2nlg9{right:calc(0.1861979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__fuel-img.svelte-e2nlg9{right:calc(0.1184895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__fuel-img.svelte-e2nlg9{right:calc(0.15234375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__fuel-img.svelte-e2nlg9{right:calc(0.1861979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__fuel-img.svelte-e2nlg9{bottom:calc(0.0651041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__fuel-img.svelte-e2nlg9{bottom:calc(0.0651041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__fuel-img.svelte-e2nlg9{bottom:calc(0.0501302083 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__fuel-img.svelte-e2nlg9{bottom:calc(0.0716145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__fuel-img.svelte-e2nlg9{bottom:calc(0.0455729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__fuel-img.svelte-e2nlg9{bottom:calc(0.05859375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__fuel-img.svelte-e2nlg9{bottom:calc(0.0716145833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__fuel-img.svelte-e2nlg9{height:calc(0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__fuel-img.svelte-e2nlg9{height:calc(0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__fuel-img.svelte-e2nlg9{height:calc(0.0092239583 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__fuel-img.svelte-e2nlg9{height:calc(0.0131770833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__fuel-img.svelte-e2nlg9{height:calc(0.0083854167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__fuel-img.svelte-e2nlg9{height:calc(0.01078125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__fuel-img.svelte-e2nlg9{height:calc(0.0131770833 * 100vw + 0px)}}.hud-speedometer__body-arrow-wrapper.svelte-e2nlg9{display:flex;flex-direction:column;justify-content:center;border-radius:100%;transform:rotate(0deg) rotateZ(0deg);transition:transform 0.2s linear;width:calc(0.046875 * 100vw + 0px);height:calc(0.046875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-arrow-wrapper.svelte-e2nlg9{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-arrow-wrapper.svelte-e2nlg9{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-arrow-wrapper.svelte-e2nlg9{width:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-arrow-wrapper.svelte-e2nlg9{width:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-arrow-wrapper.svelte-e2nlg9{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-arrow-wrapper.svelte-e2nlg9{width:calc(0.0421875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-arrow-wrapper.svelte-e2nlg9{width:calc(0.0515625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-arrow-wrapper.svelte-e2nlg9{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-arrow-wrapper.svelte-e2nlg9{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-arrow-wrapper.svelte-e2nlg9{height:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-arrow-wrapper.svelte-e2nlg9{height:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-arrow-wrapper.svelte-e2nlg9{height:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-arrow-wrapper.svelte-e2nlg9{height:calc(0.0421875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-arrow-wrapper.svelte-e2nlg9{height:calc(0.0515625 * 100vw + 0px)}}.hud-speedometer__body-arrow.svelte-e2nlg9{position:absolute;left:calc(0.0213541667 * 100vw + 0px);top:calc(-0.06875 * 100vw + 0px);width:calc(0.0041666667 * 100vw + 0px);height:calc(0.0885416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-arrow.svelte-e2nlg9{left:calc(0.0213541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-arrow.svelte-e2nlg9{left:calc(0.0213541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-arrow.svelte-e2nlg9{left:calc(0.0164427083 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-arrow.svelte-e2nlg9{left:calc(0.0234895833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-arrow.svelte-e2nlg9{left:calc(0.0149479167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-arrow.svelte-e2nlg9{left:calc(0.01921875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-arrow.svelte-e2nlg9{left:calc(0.0234895833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-arrow.svelte-e2nlg9{top:calc(-0.06875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-arrow.svelte-e2nlg9{top:calc(-0.06875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-arrow.svelte-e2nlg9{top:calc(-0.0529375 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-arrow.svelte-e2nlg9{top:calc(-0.075625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-arrow.svelte-e2nlg9{top:calc(-0.048125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-arrow.svelte-e2nlg9{top:calc(-0.061875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-arrow.svelte-e2nlg9{top:calc(-0.075625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-arrow.svelte-e2nlg9{width:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-arrow.svelte-e2nlg9{width:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-arrow.svelte-e2nlg9{width:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-arrow.svelte-e2nlg9{width:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-arrow.svelte-e2nlg9{width:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-arrow.svelte-e2nlg9{width:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-arrow.svelte-e2nlg9{width:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-arrow.svelte-e2nlg9{height:calc(0.0885416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-arrow.svelte-e2nlg9{height:calc(0.0885416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-arrow.svelte-e2nlg9{height:calc(0.0681770833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-arrow.svelte-e2nlg9{height:calc(0.0973958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-arrow.svelte-e2nlg9{height:calc(0.0619791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-arrow.svelte-e2nlg9{height:calc(0.0796875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-arrow.svelte-e2nlg9{height:calc(0.0973958333 * 100vw + 0px)}}.hud-speedometer__body-center.svelte-e2nlg9{position:absolute;display:flex;align-items:center;justify-content:center;width:100%;height:100%}.hud-speedometer__body-launch.svelte-e2nlg9{z-index:1;display:flex;align-items:center;justify-content:center;width:100%;height:100%;border-radius:100%;background:radial-gradient(49.35% 49.35% at 50% 50.65%, #FF0000 0%, rgba(255, 0, 0, 0) 100%);animation:svelte-e2nlg9-blick infinite;animation-duration:1s}.hud-speedometer__body-launch-title-wrapper.svelte-e2nlg9{z-index:2;position:absolute;display:flex;flex-direction:column;align-items:center;text-align:center;color:#FFFFFF}.hud-speedometer__body-launch-title.svelte-e2nlg9{font-family:\"GothamPro-Bold\";font-style:italic;font-size:calc(0.0166666667 * 100vw + 0px);letter-spacing:calc(-0.0015625 * 100vw + 0px);margin-bottom:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-launch-title.svelte-e2nlg9{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-launch-title.svelte-e2nlg9{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-launch-title.svelte-e2nlg9{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-launch-title.svelte-e2nlg9{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-launch-title.svelte-e2nlg9{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-launch-title.svelte-e2nlg9{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-launch-title.svelte-e2nlg9{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-launch-title.svelte-e2nlg9{letter-spacing:calc(-0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-launch-title.svelte-e2nlg9{letter-spacing:calc(-0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-launch-title.svelte-e2nlg9{letter-spacing:calc(-0.001203125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-launch-title.svelte-e2nlg9{letter-spacing:calc(-0.00171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-launch-title.svelte-e2nlg9{letter-spacing:calc(-0.00109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-launch-title.svelte-e2nlg9{letter-spacing:calc(-0.00140625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-launch-title.svelte-e2nlg9{letter-spacing:calc(-0.00171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-launch-title.svelte-e2nlg9{margin-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-launch-title.svelte-e2nlg9{margin-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-launch-title.svelte-e2nlg9{margin-bottom:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-launch-title.svelte-e2nlg9{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-launch-title.svelte-e2nlg9{margin-bottom:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-launch-title.svelte-e2nlg9{margin-bottom:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-launch-title.svelte-e2nlg9{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}.hud-speedometer__body-launch-description.svelte-e2nlg9{font-family:\"GothamPro\";font-size:calc(0.0104166667 * 100vw + 0px);width:calc(0.1041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-launch-description.svelte-e2nlg9{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-launch-description.svelte-e2nlg9{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-launch-description.svelte-e2nlg9{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-launch-description.svelte-e2nlg9{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-launch-description.svelte-e2nlg9{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-launch-description.svelte-e2nlg9{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-launch-description.svelte-e2nlg9{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-launch-description.svelte-e2nlg9{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-launch-description.svelte-e2nlg9{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-launch-description.svelte-e2nlg9{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-launch-description.svelte-e2nlg9{width:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-launch-description.svelte-e2nlg9{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-launch-description.svelte-e2nlg9{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-launch-description.svelte-e2nlg9{width:calc(0.1145833333 * 100vw + 0px)}}.hud-speedometer__body-center-speed.svelte-e2nlg9{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border-radius:100%;border:5px solid rgba(255, 255, 255, 0.1);width:calc(0.046875 * 100vw + 0px);height:calc(0.046875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-center-speed.svelte-e2nlg9{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-center-speed.svelte-e2nlg9{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-center-speed.svelte-e2nlg9{width:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-center-speed.svelte-e2nlg9{width:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-center-speed.svelte-e2nlg9{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-center-speed.svelte-e2nlg9{width:calc(0.0421875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-center-speed.svelte-e2nlg9{width:calc(0.0515625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-center-speed.svelte-e2nlg9{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-center-speed.svelte-e2nlg9{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-center-speed.svelte-e2nlg9{height:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-center-speed.svelte-e2nlg9{height:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-center-speed.svelte-e2nlg9{height:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-center-speed.svelte-e2nlg9{height:calc(0.0421875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-center-speed.svelte-e2nlg9{height:calc(0.0515625 * 100vw + 0px)}}.hud-speedometer__body-center-speed-title.svelte-e2nlg9{color:#FFFFFF;font-family:\"GothamPro-Medium\";font-size:calc(0.0171875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-center-speed-title.svelte-e2nlg9{font-size:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-center-speed-title.svelte-e2nlg9{font-size:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-center-speed-title.svelte-e2nlg9{font-size:calc(0.013234375 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-center-speed-title.svelte-e2nlg9{font-size:calc(0.01890625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-center-speed-title.svelte-e2nlg9{font-size:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-center-speed-title.svelte-e2nlg9{font-size:calc(0.01546875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-center-speed-title.svelte-e2nlg9{font-size:calc(0.01890625 * 100vw + 0px)}}.hud-speedometer__body-center-speed-title-thin.svelte-e2nlg9{color:rgba(255, 255, 255, 0.75);font-family:\"GothamPro-Light\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-center-speed-title-thin.svelte-e2nlg9{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-center-speed-title-thin.svelte-e2nlg9{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-center-speed-title-thin.svelte-e2nlg9{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-center-speed-title-thin.svelte-e2nlg9{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-center-speed-title-thin.svelte-e2nlg9{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-center-speed-title-thin.svelte-e2nlg9{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-center-speed-title-thin.svelte-e2nlg9{font-size:calc(0.006875 * 100vw + 0px)}}.hud-speedometer__body-mileage.svelte-e2nlg9{position:absolute;display:flex;align-items:flex-end;flex-direction:column;font-family:\"Furore\";letter-spacing:calc(0.0010416667 * 100vw + 0px);top:calc(0.0505208333 * 100vw + 0px);width:calc(0.0427083333 * 100vw + 0px);height:calc(0.009375 * 100vw + 0px);font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-mileage.svelte-e2nlg9{letter-spacing:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-mileage.svelte-e2nlg9{letter-spacing:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-mileage.svelte-e2nlg9{letter-spacing:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-mileage.svelte-e2nlg9{letter-spacing:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-mileage.svelte-e2nlg9{letter-spacing:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-mileage.svelte-e2nlg9{letter-spacing:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-mileage.svelte-e2nlg9{letter-spacing:calc(0.0011458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-mileage.svelte-e2nlg9{top:calc(0.0505208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-mileage.svelte-e2nlg9{top:calc(0.0505208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-mileage.svelte-e2nlg9{top:calc(0.0389010417 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-mileage.svelte-e2nlg9{top:calc(0.0555729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-mileage.svelte-e2nlg9{top:calc(0.0353645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-mileage.svelte-e2nlg9{top:calc(0.04546875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-mileage.svelte-e2nlg9{top:calc(0.0555729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-mileage.svelte-e2nlg9{width:calc(0.0427083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-mileage.svelte-e2nlg9{width:calc(0.0427083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-mileage.svelte-e2nlg9{width:calc(0.0328854167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-mileage.svelte-e2nlg9{width:calc(0.0469791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-mileage.svelte-e2nlg9{width:calc(0.0298958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-mileage.svelte-e2nlg9{width:calc(0.0384375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-mileage.svelte-e2nlg9{width:calc(0.0469791667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-mileage.svelte-e2nlg9{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-mileage.svelte-e2nlg9{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-mileage.svelte-e2nlg9{height:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-mileage.svelte-e2nlg9{height:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-mileage.svelte-e2nlg9{height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-mileage.svelte-e2nlg9{height:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-mileage.svelte-e2nlg9{height:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-mileage.svelte-e2nlg9{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-mileage.svelte-e2nlg9{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-mileage.svelte-e2nlg9{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-mileage.svelte-e2nlg9{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-mileage.svelte-e2nlg9{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-mileage.svelte-e2nlg9{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-mileage.svelte-e2nlg9{font-size:calc(0.0091666667 * 100vw + 0px)}}.hud-speedometer__body-mileage.svelte-e2nlg9::before{content:\"\";top:0;left:calc(0.0026041667 * 100vw + 0px);position:absolute;width:100%;height:100%;background:rgba(0, 0, 0, 0.4);z-index:-1;filter:blur(calc(0.0046875 * 100vw + 0px))}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__body-mileage.svelte-e2nlg9::before{left:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__body-mileage.svelte-e2nlg9::before{left:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__body-mileage.svelte-e2nlg9::before{left:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__body-mileage.svelte-e2nlg9::before{left:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__body-mileage.svelte-e2nlg9::before{left:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__body-mileage.svelte-e2nlg9::before{left:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__body-mileage.svelte-e2nlg9::before{left:calc(0.0028645833 * 100vw + 0px)}}.hud-speedometer__body-mileage-subvalue.svelte-e2nlg9{position:absolute;color:rgba(255, 255, 255, 0.1)}.hud-speedometer__body-mileage-value.svelte-e2nlg9{color:#FFFFFF}.hud-speedometer__turn-arrow.svelte-e2nlg9{position:absolute;color:rgba(255, 255, 255, 0.2);font-size:calc(0.0083333333 * 100vw + 0px);right:calc(0.0848958333 * 100vw + 0px);bottom:calc(0.0276041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__turn-arrow.svelte-e2nlg9{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__turn-arrow.svelte-e2nlg9{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__turn-arrow.svelte-e2nlg9{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__turn-arrow.svelte-e2nlg9{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__turn-arrow.svelte-e2nlg9{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__turn-arrow.svelte-e2nlg9{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__turn-arrow.svelte-e2nlg9{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__turn-arrow.svelte-e2nlg9{right:calc(0.0848958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__turn-arrow.svelte-e2nlg9{right:calc(0.0848958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__turn-arrow.svelte-e2nlg9{right:calc(0.0653697917 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__turn-arrow.svelte-e2nlg9{right:calc(0.0933854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__turn-arrow.svelte-e2nlg9{right:calc(0.0594270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__turn-arrow.svelte-e2nlg9{right:calc(0.07640625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__turn-arrow.svelte-e2nlg9{right:calc(0.0933854167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__turn-arrow.svelte-e2nlg9{bottom:calc(0.0276041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__turn-arrow.svelte-e2nlg9{bottom:calc(0.0276041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__turn-arrow.svelte-e2nlg9{bottom:calc(0.0212552083 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__turn-arrow.svelte-e2nlg9{bottom:calc(0.0303645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__turn-arrow.svelte-e2nlg9{bottom:calc(0.0193229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__turn-arrow.svelte-e2nlg9{bottom:calc(0.02484375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__turn-arrow.svelte-e2nlg9{bottom:calc(0.0303645833 * 100vw + 0px)}}.hud-speedometer__turn-arrow--right.svelte-e2nlg9{right:calc(0.0677083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-speedometer__turn-arrow--right.svelte-e2nlg9{right:calc(0.0677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-speedometer__turn-arrow--right.svelte-e2nlg9{right:calc(0.0677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-speedometer__turn-arrow--right.svelte-e2nlg9{right:calc(0.0521354167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-speedometer__turn-arrow--right.svelte-e2nlg9{right:calc(0.0744791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-speedometer__turn-arrow--right.svelte-e2nlg9{right:calc(0.0473958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-speedometer__turn-arrow--right.svelte-e2nlg9{right:calc(0.0609375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-speedometer__turn-arrow--right.svelte-e2nlg9{right:calc(0.0744791667 * 100vw + 0px)}}.hud-speedometer__turn-arrow--active.svelte-e2nlg9{color:#FFFFFF}@keyframes svelte-e2nlg9-blick{0%{background-color:rgba(100, 12, 12, 0.5)}100%{background-color:rgba(81, 0, 0, 0.5)}}");
}

// (2753:12) {:else}
function index_svelte_create_else_block(ctx) {
	let div1;
	let div0;
	let p0;

	let t0_value = (/*$vehicleLaunchProgress*/ ctx[7] === 100
	? 'GO GO GO'
	: 'LAUNCH START') + "";

	let t0;
	let t1;
	let p1;

	let t2_value = (/*$vehicleLaunchProgress*/ ctx[7] === 100
	? 'Можно стартовать'
	: 'Наберите обороты и жмите на газ') + "";

	let t2;
	let div1_style_value;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(t2_value);
			attr(p0, "class", "hud-speedometer__body-launch-title svelte-e2nlg9");
			attr(p1, "class", "hud-speedometer__body-launch-description svelte-e2nlg9");
			attr(div0, "class", "hud-speedometer__body-launch-title-wrapper svelte-e2nlg9");
			attr(div1, "class", "hud-speedometer__body-launch svelte-e2nlg9");

			attr(div1, "style", div1_style_value = /*$vehicleLaunchProgress*/ ctx[7] === 100
			? 'animation-duration: 1s'
			: '');
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, p0);
			append(p0, t0);
			append(div0, t1);
			append(div0, p1);
			append(p1, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*$vehicleLaunchProgress*/ 128 && t0_value !== (t0_value = (/*$vehicleLaunchProgress*/ ctx[7] === 100
			? 'GO GO GO'
			: 'LAUNCH START') + "")) set_data(t0, t0_value);

			if (dirty & /*$vehicleLaunchProgress*/ 128 && t2_value !== (t2_value = (/*$vehicleLaunchProgress*/ ctx[7] === 100
			? 'Можно стартовать'
			: 'Наберите обороты и жмите на газ') + "")) set_data(t2, t2_value);

			if (dirty & /*$vehicleLaunchProgress*/ 128 && div1_style_value !== (div1_style_value = /*$vehicleLaunchProgress*/ ctx[7] === 100
			? 'animation-duration: 1s'
			: '')) {
				attr(div1, "style", div1_style_value);
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (2742:12) {#if $vehicleLaunchProgress === 0}
function old_index_svelte_create_if_block(ctx) {
	let div;
	let img;
	let img_src_value;
	let div_style_value;

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			attr(img, "class", "hud-speedometer__body-arrow svelte-e2nlg9");
			if (!src_url_equal(img.src, img_src_value = speedometer_arrow_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "speed-values-img");
			attr(div, "class", "hud-speedometer__body-arrow-wrapper svelte-e2nlg9");
			attr(div, "style", div_style_value = `transform: rotate(${formatSpeed(/*$vehicleSpeed*/ ctx[8] * 1.15) - 240 * 1.15 / 2}deg) rotateZ(0deg)`);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
		},
		p(ctx, dirty) {
			if (dirty & /*$vehicleSpeed*/ 256 && div_style_value !== (div_style_value = `transform: rotate(${formatSpeed(/*$vehicleSpeed*/ ctx[8] * 1.15) - 240 * 1.15 / 2}deg) rotateZ(0deg)`)) {
				attr(div, "style", div_style_value);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function old_index_svelte_create_fragment(ctx) {
	let div9;
	let div0;
	let circleprogress0;
	let t0;
	let img0;
	let img0_src_value;
	let t1;
	let div1;
	let circleprogress1;
	let t2;
	let img1;
	let img1_src_value;
	let t3;
	let div2;
	let circleprogress2;
	let t4;
	let img2;
	let img2_src_value;
	let t5;
	let div4;
	let div3;
	let speedometerfuelstatus;
	let t6;
	let img3;
	let img3_src_value;
	let t7;
	let span0;
	let t8;
	let span1;
	let t9;
	let span2;
	let t10;
	let span3;
	let t11;
	let div8;
	let img4;
	let img4_src_value;
	let t12;
	let div7;
	let t13;
	let div6;
	let p0;
	let t14_value = formatSpeed(/*$vehicleSpeed*/ ctx[8]) + "";
	let t14;
	let t15;
	let p1;
	let t17;
	let div5;
	let p2;
	let t19;
	let p3;
	let t20;
	let t21;
	let span4;
	let t22;
	let span5;
	let current;

	circleprogress0 = new circle_progress_index_svelte({
			props: {
				strokeWidth: 3,
				percents: /*$vehicleState*/ ctx[0]
			}
		});

	circleprogress1 = new circle_progress_index_svelte({
			props: {
				strokeWidth: 3,
				percents: /*$vehicleOil*/ ctx[1]
			}
		});

	circleprogress2 = new circle_progress_index_svelte({
			props: {
				strokeWidth: 3,
				percents: /*$vehicleWheel*/ ctx[2]
			}
		});

	speedometerfuelstatus = new components_speedometer_fuel_index_svelte({
			props: {
				radiusValue: 0.8,
				percents: /*$vehicleFuel*/ ctx[3] / (100 / 20),
				color: MAP_TYPE_TO_COLOR[FuelType.Electro]
			}
		});

	function select_block_type(ctx, dirty) {
		if (/*$vehicleLaunchProgress*/ ctx[7] === 0) return old_index_svelte_create_if_block;
		return index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block = current_block_type(ctx);

	return {
		c() {
			div9 = internal_element("div");
			div0 = internal_element("div");
			create_component(circleprogress0.$$.fragment);
			t0 = space();
			img0 = internal_element("img");
			t1 = space();
			div1 = internal_element("div");
			create_component(circleprogress1.$$.fragment);
			t2 = space();
			img1 = internal_element("img");
			t3 = space();
			div2 = internal_element("div");
			create_component(circleprogress2.$$.fragment);
			t4 = space();
			img2 = internal_element("img");
			t5 = space();
			div4 = internal_element("div");
			div3 = internal_element("div");
			create_component(speedometerfuelstatus.$$.fragment);
			t6 = space();
			img3 = internal_element("img");
			t7 = space();
			span0 = internal_element("span");
			t8 = space();
			span1 = internal_element("span");
			t9 = space();
			span2 = internal_element("span");
			t10 = space();
			span3 = internal_element("span");
			t11 = space();
			div8 = internal_element("div");
			img4 = internal_element("img");
			t12 = space();
			div7 = internal_element("div");
			if_block.c();
			t13 = space();
			div6 = internal_element("div");
			p0 = internal_element("p");
			t14 = internal_text(t14_value);
			t15 = space();
			p1 = internal_element("p");
			p1.textContent = "км/ч";
			t17 = space();
			div5 = internal_element("div");
			p2 = internal_element("p");
			p2.textContent = "000000";
			t19 = space();
			p3 = internal_element("p");
			t20 = internal_text(/*$vehicleMileage*/ ctx[9]);
			t21 = space();
			span4 = internal_element("span");
			t22 = space();
			span5 = internal_element("span");
			attr(img0, "class", "hud-speedometer__engine-img svelte-e2nlg9");
			if (!src_url_equal(img0.src, img0_src_value = speedometer_engine_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "engine-img");
			attr(div0, "class", "hud-speedometer__engine hud-speedometer__condition svelte-e2nlg9");
			attr(img1, "class", "hud-speedometer__oil-img svelte-e2nlg9");
			if (!src_url_equal(img1.src, img1_src_value = speedometer_oil_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "oil-img");
			attr(div1, "class", "hud-speedometer__oil hud-speedometer__condition svelte-e2nlg9");
			attr(img2, "class", "hud-speedometer__wheel-img svelte-e2nlg9");
			if (!src_url_equal(img2.src, img2_src_value = speedometer_wheel_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "wheel-img");
			attr(div2, "class", "hud-speedometer__wheel hud-speedometer__condition svelte-e2nlg9");
			attr(div3, "class", "hud-speedometer__fuel-status-wrapper svelte-e2nlg9");
			attr(img3, "class", "hud-speedometer__fuel-img svelte-e2nlg9");
			if (!src_url_equal(img3.src, img3_src_value = MAP_TYPE_TO_IMG[FuelType.Petrol])) attr(img3, "src", img3_src_value);
			attr(img3, "alt", "fuel-img");
			attr(div4, "class", "hud-speedometer__fuel svelte-e2nlg9");
			attr(span0, "class", "hud-speedometer__light-icon icon-speedometer-light svelte-e2nlg9");
			toggle_class(span0, "hud-speedometer__light-icon--turn", /*$vehicleLights*/ ctx[4]);
			attr(span1, "class", "hud-speedometer__car-engine-icon icon-speedometer-car-engine svelte-e2nlg9");
			toggle_class(span1, "hud-speedometer__car-engine-icon--turn", /*$vehicleLaunchActivated*/ ctx[5]);
			attr(span2, "class", "hud-speedometer__parking-icon icon-speedometer-parking svelte-e2nlg9");
			toggle_class(span2, "hud-speedometer__parking-icon--turn", !/*$vehicleLaunchActivated*/ ctx[5]);
			attr(span3, "class", "hud-speedometer__door-icon icon-speedometer-door svelte-e2nlg9");
			toggle_class(span3, "hud-speedometer__door-icon--turn", /*$vehicleDoor*/ ctx[6]);
			attr(img4, "class", "hud-speedometer__body-values svelte-e2nlg9");
			if (!src_url_equal(img4.src, img4_src_value = speedometer_values_bg_namespaceObject)) attr(img4, "src", img4_src_value);
			attr(img4, "alt", "speed-values-img");
			attr(p0, "class", "hud-speedometer__body-center-speed-title svelte-e2nlg9");
			attr(p1, "class", "hud-speedometer__body-center-speed-title-thin svelte-e2nlg9");
			attr(p2, "class", "hud-speedometer__body-mileage-subvalue svelte-e2nlg9");
			attr(p3, "class", "hud-speedometer__body-mileage-value svelte-e2nlg9");
			attr(div5, "class", "hud-speedometer__body-mileage svelte-e2nlg9");
			attr(div6, "class", "hud-speedometer__body-center-speed svelte-e2nlg9");
			attr(span4, "class", "hud-speedometer__turn-arrow icon-speedometer-left-arrow svelte-e2nlg9");
			toggle_class(span4, "hud-speedometer__turn-arrow--active", /*$vehicleTurnLeft*/ ctx[10]);
			attr(span5, "class", "hud-speedometer__turn-arrow hud-speedometer__turn-arrow--right icon-speedometer-right-arrow svelte-e2nlg9");
			toggle_class(span5, "hud-speedometer__turn-arrow--active", /*$vehicleTurnRight*/ ctx[11]);
			attr(div7, "class", "hud-speedometer__body-center svelte-e2nlg9");
			attr(div8, "class", "hud-speedometer__body svelte-e2nlg9");
			attr(div9, "class", "hud-speedometer svelte-e2nlg9");
		},
		m(target, anchor) {
			insert(target, div9, anchor);
			append(div9, div0);
			mount_component(circleprogress0, div0, null);
			append(div0, t0);
			append(div0, img0);
			append(div9, t1);
			append(div9, div1);
			mount_component(circleprogress1, div1, null);
			append(div1, t2);
			append(div1, img1);
			append(div9, t3);
			append(div9, div2);
			mount_component(circleprogress2, div2, null);
			append(div2, t4);
			append(div2, img2);
			append(div9, t5);
			append(div9, div4);
			append(div4, div3);
			mount_component(speedometerfuelstatus, div3, null);
			append(div4, t6);
			append(div4, img3);
			append(div9, t7);
			append(div9, span0);
			append(div9, t8);
			append(div9, span1);
			append(div9, t9);
			append(div9, span2);
			append(div9, t10);
			append(div9, span3);
			append(div9, t11);
			append(div9, div8);
			append(div8, img4);
			append(div8, t12);
			append(div8, div7);
			if_block.m(div7, null);
			append(div7, t13);
			append(div7, div6);
			append(div6, p0);
			append(p0, t14);
			append(div6, t15);
			append(div6, p1);
			append(div6, t17);
			append(div6, div5);
			append(div5, p2);
			append(div5, t19);
			append(div5, p3);
			append(p3, t20);
			append(div7, t21);
			append(div7, span4);
			append(div7, t22);
			append(div7, span5);
			current = true;
		},
		p(ctx, [dirty]) {
			const circleprogress0_changes = {};
			if (dirty & /*$vehicleState*/ 1) circleprogress0_changes.percents = /*$vehicleState*/ ctx[0];
			circleprogress0.$set(circleprogress0_changes);
			const circleprogress1_changes = {};
			if (dirty & /*$vehicleOil*/ 2) circleprogress1_changes.percents = /*$vehicleOil*/ ctx[1];
			circleprogress1.$set(circleprogress1_changes);
			const circleprogress2_changes = {};
			if (dirty & /*$vehicleWheel*/ 4) circleprogress2_changes.percents = /*$vehicleWheel*/ ctx[2];
			circleprogress2.$set(circleprogress2_changes);
			const speedometerfuelstatus_changes = {};
			if (dirty & /*$vehicleFuel*/ 8) speedometerfuelstatus_changes.percents = /*$vehicleFuel*/ ctx[3] / (100 / 20);
			speedometerfuelstatus.$set(speedometerfuelstatus_changes);

			if (dirty & /*$vehicleLights*/ 16) {
				toggle_class(span0, "hud-speedometer__light-icon--turn", /*$vehicleLights*/ ctx[4]);
			}

			if (dirty & /*$vehicleLaunchActivated*/ 32) {
				toggle_class(span1, "hud-speedometer__car-engine-icon--turn", /*$vehicleLaunchActivated*/ ctx[5]);
			}

			if (dirty & /*$vehicleLaunchActivated*/ 32) {
				toggle_class(span2, "hud-speedometer__parking-icon--turn", !/*$vehicleLaunchActivated*/ ctx[5]);
			}

			if (dirty & /*$vehicleDoor*/ 64) {
				toggle_class(span3, "hud-speedometer__door-icon--turn", /*$vehicleDoor*/ ctx[6]);
			}

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div7, t13);
				}
			}

			if ((!current || dirty & /*$vehicleSpeed*/ 256) && t14_value !== (t14_value = formatSpeed(/*$vehicleSpeed*/ ctx[8]) + "")) set_data(t14, t14_value);
			if (!current || dirty & /*$vehicleMileage*/ 512) set_data(t20, /*$vehicleMileage*/ ctx[9]);

			if (dirty & /*$vehicleTurnLeft*/ 1024) {
				toggle_class(span4, "hud-speedometer__turn-arrow--active", /*$vehicleTurnLeft*/ ctx[10]);
			}

			if (dirty & /*$vehicleTurnRight*/ 2048) {
				toggle_class(span5, "hud-speedometer__turn-arrow--active", /*$vehicleTurnRight*/ ctx[11]);
			}
		},
		i(local) {
			if (current) return;
			transition_in(circleprogress0.$$.fragment, local);
			transition_in(circleprogress1.$$.fragment, local);
			transition_in(circleprogress2.$$.fragment, local);
			transition_in(speedometerfuelstatus.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(circleprogress0.$$.fragment, local);
			transition_out(circleprogress1.$$.fragment, local);
			transition_out(circleprogress2.$$.fragment, local);
			transition_out(speedometerfuelstatus.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div9);
			destroy_component(circleprogress0);
			destroy_component(circleprogress1);
			destroy_component(circleprogress2);
			destroy_component(speedometerfuelstatus);
			if_block.d();
		}
	};
}

function old_index_svelte_instance($$self, $$props, $$invalidate) {
	let $vehicleState;
	let $vehicleOil;
	let $vehicleWheel;
	let $vehicleFuel;
	let $vehicleLights;
	let $vehicleLaunchActivated;
	let $vehicleDoor;
	let $vehicleLaunchProgress;
	let $vehicleSpeed;
	let $vehicleMileage;
	let $vehicleTurnLeft;
	let $vehicleTurnRight;
	component_subscribe($$self, vehicleState, $$value => $$invalidate(0, $vehicleState = $$value));
	component_subscribe($$self, vehicleOil, $$value => $$invalidate(1, $vehicleOil = $$value));
	component_subscribe($$self, vehicleWheel, $$value => $$invalidate(2, $vehicleWheel = $$value));
	component_subscribe($$self, vehicleFuel, $$value => $$invalidate(3, $vehicleFuel = $$value));
	component_subscribe($$self, vehicleLights, $$value => $$invalidate(4, $vehicleLights = $$value));
	component_subscribe($$self, vehicleLaunchActivated, $$value => $$invalidate(5, $vehicleLaunchActivated = $$value));
	component_subscribe($$self, vehicleDoor, $$value => $$invalidate(6, $vehicleDoor = $$value));
	component_subscribe($$self, vehicleLaunchProgress, $$value => $$invalidate(7, $vehicleLaunchProgress = $$value));
	component_subscribe($$self, vehicleSpeed, $$value => $$invalidate(8, $vehicleSpeed = $$value));
	component_subscribe($$self, vehicleMileage, $$value => $$invalidate(9, $vehicleMileage = $$value));
	component_subscribe($$self, vehicleTurnLeft, $$value => $$invalidate(10, $vehicleTurnLeft = $$value));
	component_subscribe($$self, vehicleTurnRight, $$value => $$invalidate(11, $vehicleTurnRight = $$value));

	return [
		$vehicleState,
		$vehicleOil,
		$vehicleWheel,
		$vehicleFuel,
		$vehicleLights,
		$vehicleLaunchActivated,
		$vehicleDoor,
		$vehicleLaunchProgress,
		$vehicleSpeed,
		$vehicleMileage,
		$vehicleTurnLeft,
		$vehicleTurnRight
	];
}

class Old extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, old_index_svelte_instance, old_index_svelte_create_fragment, safe_not_equal, {}, old_index_svelte_add_css);
	}
}

/* harmony default export */ const old_index_svelte = (Old);
;// CONCATENATED MODULE: ./src/views/hud/components/hud-speedometer/constants.js
function hud_speedometer_constants_typeof(o) { "@babel/helpers - typeof"; return hud_speedometer_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, hud_speedometer_constants_typeof(o); }
function hud_speedometer_constants_defineProperty(e, r, t) { return (r = hud_speedometer_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function hud_speedometer_constants_toPropertyKey(t) { var i = hud_speedometer_constants_toPrimitive(t, "string"); return "symbol" == hud_speedometer_constants_typeof(i) ? i : i + ""; }
function hud_speedometer_constants_toPrimitive(t, r) { if ("object" != hud_speedometer_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != hud_speedometer_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }



var SpeedometerId = {
  Advanced: 'advanced',
  Simple: 'simple',
  Old: 'old'
};
var MAP_ID_TO_SPEEDOMETER = hud_speedometer_constants_defineProperty(hud_speedometer_constants_defineProperty(hud_speedometer_constants_defineProperty({}, SpeedometerId.Advanced, advanced_index_svelte), SpeedometerId.Simple, simple_index_svelte), SpeedometerId.Old, old_index_svelte);
;// CONCATENATED MODULE: ./src/views/hud/store.js
function store_typeof(o) { "@babel/helpers - typeof"; return store_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, store_typeof(o); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { store_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function store_defineProperty(e, r, t) { return (r = store_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function store_toPropertyKey(t) { var i = store_toPrimitive(t, "string"); return "symbol" == store_typeof(i) ? i : i + ""; }
function store_toPrimitive(t, r) { if ("object" != store_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != store_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }




var serverInformation = writable({
  title: '',
  maxPlayersCount: 1000,
  playerId: 0,
  multiplier: 1,
  logoType: LogoType.Regular
});
var currentIdServer = writable(0);
var playerFood = writable(0);
var playerWanted = writable(0);
var visibleComponents = writable({});
var questsInformation = writable([]);
var radioVisible = writable(false);
var levelInformation = writable({});
var timer = writable({});
var speedometerType = writable(SpeedometerId);
var playerVipDuration = writable(0);
var totalQuestStats = writable(0);
var hearthQuestStats = writable(0);
var gangWarStats = writable({});
var promoTaskStats = writable({});
var questsAppData = writable({});
var krakenHp = writable({});
var updateVisibleComponents = function updateVisibleComponents() {
  var componentsDto = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
  visibleComponents.set(componentsDto.reduce(function (acc, component) {
    acc[component] = component;
    return acc;
  }, {}));
};
var updateQuestsInfo = function updateQuestsInfo(questsInfoDto) {
  questsInformation.set(questsInfoDto);
};
var initializeQuestsApp = function initializeQuestsApp(dto) {
  var temp = dto;
  temp.quests = dto.quests.map(function (item) {
    return _objectSpread(_objectSpread({}, item), {}, {
      complete: item.current === item.total
    });
  });
  questsAppData.set(temp);
};
var updateServerInformation = function updateServerInformation(value) {
  return serverInformation.set(value);
};
var updatePlayerFood = function updatePlayerFood(value) {
  return playerFood.set(value);
};
var updatePlayerWanted = function updatePlayerWanted(value) {
  return playerWanted.set(value);
};
var updateCurrentServerId = function updateCurrentServerId(value) {
  return currentIdServer.set(value);
};
var updateRadioVisible = function updateRadioVisible(value) {
  return radioVisible.set(value);
};
var updateLevelInformation = function updateLevelInformation(value) {
  return levelInformation.set(value);
};
var updateTimer = function updateTimer(value) {
  return timer.set(value);
};
var updateSpeedometerType = function updateSpeedometerType(value) {
  return speedometerType.set(value);
};
var updatePlayerVipDuration = function updatePlayerVipDuration(value) {
  return playerVipDuration.set(value);
};
var updateTotalQuestStats = function updateTotalQuestStats(value) {
  return totalQuestStats.set(value);
};
var updateHeartQuestStats = function updateHeartQuestStats(value) {
  return hearthQuestStats.set(value);
};
var updateGangWarStats = function updateGangWarStats(value) {
  return gangWarStats.set(value);
};
var updatePromoTaskStats = function updatePromoTaskStats(value) {
  return promoTaskStats.set(value);
};
var updateKrakenHp = function updateKrakenHp(value) {
  return krakenHp.set(value);
};
registerEvent('cef.hud.updateVisibleComponents', updateVisibleComponents);
registerEvent('cef.hud.updatePlayerFood', updatePlayerFood);
registerEvent('cef.hud.updatePlayerWanted', updatePlayerWanted);
registerEvent('cef.hud.updateCurrentServerId', updateCurrentServerId);
registerEvent('cef.hud.updateServerInformation', updateServerInformation);
registerEvent('cef.hud.updateQuestsInfo', updateQuestsInfo);
registerEvent('cef.hud.updateRadioVisible', updateRadioVisible);
registerEvent('cef.hud.updateLevelInformation', updateLevelInformation);
registerEvent('cef.hud.updateTimer', updateTimer);
registerEvent('cef.hud.updateSpeedometerType', updateSpeedometerType);
registerEvent('cef.hud.updatePlayerVipDuration', updatePlayerVipDuration);
registerEvent('cef.hud.updateTotalQuestStats', updateTotalQuestStats);
registerEvent('cef.hud.updateHeartQuestStats', updateHeartQuestStats);
registerEvent('cef.hud.updateGangWarStats', updateGangWarStats);
registerEvent('cef.hud.updatePromoTaskStats', updatePromoTaskStats);
registerEvent('cef.hud.initializeQuestsApp', initializeQuestsApp);
registerEvent('cef.hud.updateKrakenHp', updateKrakenHp);
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-server/img/players-decoration.svg
const players_decoration_namespaceObject = __webpack_require__.p + "assets/3743f8b232ae0dbc4ea0.svg";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-server/img/vip-logo.svg
const vip_logo_namespaceObject = __webpack_require__.p + "assets/8b4f5d4b7c1c683964b2.svg";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-server/index.svelte
/* src\views\hud\components\hud-player-server\index.svelte generated by Svelte v3.49.0 */










function hud_player_server_index_svelte_add_css(target) {
	append_styles(target, "svelte-1htt1fv", "@keyframes svelte-1htt1fv-blinking{50%{opacity:0}}@keyframes svelte-1htt1fv-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1htt1fv-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1htt1fv-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1htt1fv-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1htt1fv-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1htt1fv-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1htt1fv-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1htt1fv-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1htt1fv-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1htt1fv-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1htt1fv-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1htt1fv-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1htt1fv-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1htt1fv-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.hud-player-server.svelte-1htt1fv{display:flex;align-items:center}.hud-player-server__vip.svelte-1htt1fv{margin-right:calc(0.0114583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-player-server__vip.svelte-1htt1fv{margin-right:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-server__vip.svelte-1htt1fv{margin-right:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-server__vip.svelte-1htt1fv{margin-right:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-server__vip.svelte-1htt1fv{margin-right:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-server__vip.svelte-1htt1fv{margin-right:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-server__vip.svelte-1htt1fv{margin-right:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-server__vip.svelte-1htt1fv{margin-right:calc(0.0126041667 * 100vw + 0px)}}.hud-player-server__vip-logo.svelte-1htt1fv{width:calc(0.0463541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-player-server__vip-logo.svelte-1htt1fv{width:calc(0.0463541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-server__vip-logo.svelte-1htt1fv{width:calc(0.0463541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-server__vip-logo.svelte-1htt1fv{width:calc(0.0356927083 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-server__vip-logo.svelte-1htt1fv{width:calc(0.0509895833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-server__vip-logo.svelte-1htt1fv{width:calc(0.0324479167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-server__vip-logo.svelte-1htt1fv{width:calc(0.04171875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-server__vip-logo.svelte-1htt1fv{width:calc(0.0509895833 * 100vw + 0px)}}.hud-player-server__vip-status.svelte-1htt1fv{display:flex;justify-content:center;align-items:center;background:linear-gradient(90deg, #F0BC1F 0%, #FFDF7C 100%);width:fit-content;border-radius:calc(0.0130208333 * 100vw + 0px);padding:calc(0 * 100vw + 0px) calc(0.0052083333 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0052083333 * 100vw + 0px);margin-top:calc(0.0020833333 * 100vw + 0px);height:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-player-server__vip-status.svelte-1htt1fv{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-server__vip-status.svelte-1htt1fv{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-server__vip-status.svelte-1htt1fv{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-server__vip-status.svelte-1htt1fv{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-server__vip-status.svelte-1htt1fv{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-server__vip-status.svelte-1htt1fv{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-server__vip-status.svelte-1htt1fv{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-player-server__vip-status.svelte-1htt1fv{padding:calc(0 * 100vw + 0px) calc(0.0052083333 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-server__vip-status.svelte-1htt1fv{padding:calc(0 * 100vw + 0px) calc(0.0052083333 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-server__vip-status.svelte-1htt1fv{padding:calc(0 * 100vw + 0px) calc(0.0040104167 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-server__vip-status.svelte-1htt1fv{padding:calc(0 * 100vw + 0px) calc(0.0057291667 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-server__vip-status.svelte-1htt1fv{padding:calc(0 * 100vw + 0px) calc(0.0036458333 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-server__vip-status.svelte-1htt1fv{padding:calc(0 * 100vw + 0px) calc(0.0046875 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-server__vip-status.svelte-1htt1fv{padding:calc(0 * 100vw + 0px) calc(0.0057291667 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-player-server__vip-status.svelte-1htt1fv{margin-top:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-server__vip-status.svelte-1htt1fv{margin-top:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-server__vip-status.svelte-1htt1fv{margin-top:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-server__vip-status.svelte-1htt1fv{margin-top:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-server__vip-status.svelte-1htt1fv{margin-top:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-server__vip-status.svelte-1htt1fv{margin-top:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-server__vip-status.svelte-1htt1fv{margin-top:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-player-server__vip-status.svelte-1htt1fv{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-server__vip-status.svelte-1htt1fv{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-server__vip-status.svelte-1htt1fv{height:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-server__vip-status.svelte-1htt1fv{height:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-server__vip-status.svelte-1htt1fv{height:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-server__vip-status.svelte-1htt1fv{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-server__vip-status.svelte-1htt1fv{height:calc(0.0171875 * 100vw + 0px)}}.hud-player-server__vip-status-duration.svelte-1htt1fv{font-family:\"GothamPro-Bold\";color:#473C1B;font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-player-server__vip-status-duration.svelte-1htt1fv{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-server__vip-status-duration.svelte-1htt1fv{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-server__vip-status-duration.svelte-1htt1fv{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-server__vip-status-duration.svelte-1htt1fv{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-server__vip-status-duration.svelte-1htt1fv{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-server__vip-status-duration.svelte-1htt1fv{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-server__vip-status-duration.svelte-1htt1fv{font-size:calc(0.0080208333 * 100vw + 0px)}}.hud-player-server__image.svelte-1htt1fv{height:calc(0.0104166667 * 100vw + 0px);margin-right:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-player-server__image.svelte-1htt1fv{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-server__image.svelte-1htt1fv{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-server__image.svelte-1htt1fv{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-server__image.svelte-1htt1fv{height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-server__image.svelte-1htt1fv{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-server__image.svelte-1htt1fv{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-server__image.svelte-1htt1fv{height:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-player-server__image.svelte-1htt1fv{margin-right:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-server__image.svelte-1htt1fv{margin-right:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-server__image.svelte-1htt1fv{margin-right:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-server__image.svelte-1htt1fv{margin-right:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-server__image.svelte-1htt1fv{margin-right:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-server__image.svelte-1htt1fv{margin-right:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-server__image.svelte-1htt1fv{margin-right:calc(0.0045833333 * 100vw + 0px)}}.hud-player-server__players.svelte-1htt1fv{font-family:\"GothamPro-Medium\";font-size:calc(0.0104166667 * 100vw + 0px);margin-right:calc(0.0104166667 * 100vw + 0px);letter-spacing:calc(0.0005208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-player-server__players.svelte-1htt1fv{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-server__players.svelte-1htt1fv{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-server__players.svelte-1htt1fv{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-server__players.svelte-1htt1fv{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-server__players.svelte-1htt1fv{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-server__players.svelte-1htt1fv{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-server__players.svelte-1htt1fv{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-player-server__players.svelte-1htt1fv{margin-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-server__players.svelte-1htt1fv{margin-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-server__players.svelte-1htt1fv{margin-right:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-server__players.svelte-1htt1fv{margin-right:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-server__players.svelte-1htt1fv{margin-right:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-server__players.svelte-1htt1fv{margin-right:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-server__players.svelte-1htt1fv{margin-right:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-player-server__players.svelte-1htt1fv{letter-spacing:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-server__players.svelte-1htt1fv{letter-spacing:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-server__players.svelte-1htt1fv{letter-spacing:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-server__players.svelte-1htt1fv{letter-spacing:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-server__players.svelte-1htt1fv{letter-spacing:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-server__players.svelte-1htt1fv{letter-spacing:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-server__players.svelte-1htt1fv{letter-spacing:calc(0.0005729167 * 100vw + 0px)}}.hud-player-server__players-sup.svelte-1htt1fv{vertical-align:super;font-family:\"GothamPro\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-player-server__players-sup.svelte-1htt1fv{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-server__players-sup.svelte-1htt1fv{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-server__players-sup.svelte-1htt1fv{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-server__players-sup.svelte-1htt1fv{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-server__players-sup.svelte-1htt1fv{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-server__players-sup.svelte-1htt1fv{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-server__players-sup.svelte-1htt1fv{font-size:calc(0.006875 * 100vw + 0px)}}.hud-player-server__id.svelte-1htt1fv{font-family:\"GothamPro-Medium\";font-size:calc(0.0104166667 * 100vw + 0px);margin-right:calc(0.0270833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-player-server__id.svelte-1htt1fv{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-server__id.svelte-1htt1fv{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-server__id.svelte-1htt1fv{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-server__id.svelte-1htt1fv{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-server__id.svelte-1htt1fv{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-server__id.svelte-1htt1fv{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-server__id.svelte-1htt1fv{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-player-server__id.svelte-1htt1fv{margin-right:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-server__id.svelte-1htt1fv{margin-right:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-server__id.svelte-1htt1fv{margin-right:calc(0.0208541667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-server__id.svelte-1htt1fv{margin-right:calc(0.0297916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-server__id.svelte-1htt1fv{margin-right:calc(0.0189583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-server__id.svelte-1htt1fv{margin-right:calc(0.024375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-server__id.svelte-1htt1fv{margin-right:calc(0.0297916667 * 100vw + 0px)}}.hud-player-server__logo-wrapper.svelte-1htt1fv{position:relative;width:fit-content;height:fit-content;margin-right:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-player-server__logo-wrapper.svelte-1htt1fv{margin-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-server__logo-wrapper.svelte-1htt1fv{margin-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-server__logo-wrapper.svelte-1htt1fv{margin-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-server__logo-wrapper.svelte-1htt1fv{margin-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-server__logo-wrapper.svelte-1htt1fv{margin-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-server__logo-wrapper.svelte-1htt1fv{margin-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-server__logo-wrapper.svelte-1htt1fv{margin-right:calc(0.0143229167 * 100vw + 0px)}}.hud-player-server__logo.svelte-1htt1fv{height:calc(0.0390625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-player-server__logo.svelte-1htt1fv{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-server__logo.svelte-1htt1fv{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-server__logo.svelte-1htt1fv{height:calc(0.030078125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-server__logo.svelte-1htt1fv{height:calc(0.04296875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-server__logo.svelte-1htt1fv{height:calc(0.02734375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-server__logo.svelte-1htt1fv{height:calc(0.03515625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-server__logo.svelte-1htt1fv{height:calc(0.04296875 * 100vw + 0px)}}.hud-player-server__logo-multiplier.svelte-1htt1fv{position:absolute;display:flex;justify-content:center;align-items:center;border-radius:50%;background:linear-gradient(180deg, #F2C94C 0%, #F2884C 100%);font-family:\"GothamPro-Bold\";font-size:calc(0.0083333333 * 100vw + 0px);width:calc(0.015625 * 100vw + 0px);height:calc(0.015625 * 100vw + 0px);left:calc(-0.00625 * 100vw + 0px);top:calc(0.0088541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-player-server__logo-multiplier.svelte-1htt1fv{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-server__logo-multiplier.svelte-1htt1fv{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-server__logo-multiplier.svelte-1htt1fv{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-server__logo-multiplier.svelte-1htt1fv{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-server__logo-multiplier.svelte-1htt1fv{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-server__logo-multiplier.svelte-1htt1fv{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-server__logo-multiplier.svelte-1htt1fv{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-player-server__logo-multiplier.svelte-1htt1fv{width:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-server__logo-multiplier.svelte-1htt1fv{width:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-server__logo-multiplier.svelte-1htt1fv{width:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-server__logo-multiplier.svelte-1htt1fv{width:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-server__logo-multiplier.svelte-1htt1fv{width:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-server__logo-multiplier.svelte-1htt1fv{width:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-server__logo-multiplier.svelte-1htt1fv{width:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-player-server__logo-multiplier.svelte-1htt1fv{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-server__logo-multiplier.svelte-1htt1fv{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-server__logo-multiplier.svelte-1htt1fv{height:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-server__logo-multiplier.svelte-1htt1fv{height:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-server__logo-multiplier.svelte-1htt1fv{height:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-server__logo-multiplier.svelte-1htt1fv{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-server__logo-multiplier.svelte-1htt1fv{height:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-player-server__logo-multiplier.svelte-1htt1fv{left:calc(-0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-server__logo-multiplier.svelte-1htt1fv{left:calc(-0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-server__logo-multiplier.svelte-1htt1fv{left:calc(-0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-server__logo-multiplier.svelte-1htt1fv{left:calc(-0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-server__logo-multiplier.svelte-1htt1fv{left:calc(-0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-server__logo-multiplier.svelte-1htt1fv{left:calc(-0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-server__logo-multiplier.svelte-1htt1fv{left:calc(-0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-player-server__logo-multiplier.svelte-1htt1fv{top:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-server__logo-multiplier.svelte-1htt1fv{top:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-server__logo-multiplier.svelte-1htt1fv{top:calc(0.0068177083 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-server__logo-multiplier.svelte-1htt1fv{top:calc(0.0097395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-server__logo-multiplier.svelte-1htt1fv{top:calc(0.0061979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-server__logo-multiplier.svelte-1htt1fv{top:calc(0.00796875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-server__logo-multiplier.svelte-1htt1fv{top:calc(0.0097395833 * 100vw + 0px)}}.hud-player-server__title-wrapper.svelte-1htt1fv{display:flex;flex-direction:column;align-items:center}.hud-player-server__title.svelte-1htt1fv{font-family:\"GothamPro-Bold\";font-size:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-player-server__title.svelte-1htt1fv{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-server__title.svelte-1htt1fv{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-server__title.svelte-1htt1fv{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-server__title.svelte-1htt1fv{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-server__title.svelte-1htt1fv{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-server__title.svelte-1htt1fv{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-server__title.svelte-1htt1fv{font-size:calc(0.0183333333 * 100vw + 0px)}}.hud-player-server__region.svelte-1htt1fv{display:flex;align-items:center}.hud-player-server__region-logo.svelte-1htt1fv{height:calc(0.0104166667 * 100vw + 0px);margin-right:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-player-server__region-logo.svelte-1htt1fv{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-server__region-logo.svelte-1htt1fv{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-server__region-logo.svelte-1htt1fv{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-server__region-logo.svelte-1htt1fv{height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-server__region-logo.svelte-1htt1fv{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-server__region-logo.svelte-1htt1fv{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-server__region-logo.svelte-1htt1fv{height:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-player-server__region-logo.svelte-1htt1fv{margin-right:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-server__region-logo.svelte-1htt1fv{margin-right:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-server__region-logo.svelte-1htt1fv{margin-right:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-server__region-logo.svelte-1htt1fv{margin-right:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-server__region-logo.svelte-1htt1fv{margin-right:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-server__region-logo.svelte-1htt1fv{margin-right:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-server__region-logo.svelte-1htt1fv{margin-right:calc(0.0028645833 * 100vw + 0px)}}.hud-player-server__region-title.svelte-1htt1fv{font-family:\"GothamPro-Medium\";font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-player-server__region-title.svelte-1htt1fv{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-server__region-title.svelte-1htt1fv{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-server__region-title.svelte-1htt1fv{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-server__region-title.svelte-1htt1fv{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-server__region-title.svelte-1htt1fv{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-server__region-title.svelte-1htt1fv{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-server__region-title.svelte-1htt1fv{font-size:calc(0.0080208333 * 100vw + 0px)}}");
}

// (1170:4) {#if $playerVipDuration !== 0}
function hud_player_server_index_svelte_create_if_block_1(ctx) {
	let div1;
	let img;
	let img_src_value;
	let t;
	let div0;

	function select_block_type(ctx, dirty) {
		if (/*$playerVipDuration*/ ctx[0] === -1) return index_svelte_create_if_block_2;
		return hud_player_server_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block = current_block_type(ctx);

	return {
		c() {
			div1 = internal_element("div");
			img = internal_element("img");
			t = space();
			div0 = internal_element("div");
			if_block.c();
			attr(img, "class", "hud-player-server__vip-logo svelte-1htt1fv");
			if (!src_url_equal(img.src, img_src_value = vip_logo_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "vip-logo");
			attr(div0, "class", "hud-player-server__vip-status svelte-1htt1fv");
			attr(div1, "class", "hud-player-server__vip svelte-1htt1fv");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, img);
			append(div1, t);
			append(div1, div0);
			if_block.m(div0, null);
		},
		p(ctx, dirty) {
			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div0, null);
				}
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			if_block.d();
		}
	};
}

// (1182:16) {:else}
function hud_player_server_index_svelte_create_else_block(ctx) {
	let p;
	let t0;
	let t1;

	return {
		c() {
			p = internal_element("p");
			t0 = internal_text(/*$playerVipDuration*/ ctx[0]);
			t1 = internal_text(" д.");
			attr(p, "class", "hud-player-server__vip-status-duration svelte-1htt1fv");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t0);
			append(p, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*$playerVipDuration*/ 1) set_data(t0, /*$playerVipDuration*/ ctx[0]);
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (1178:16) {#if $playerVipDuration === -1}
function index_svelte_create_if_block_2(ctx) {
	let p;

	return {
		c() {
			p = internal_element("p");
			p.textContent = "Навсегда";
			attr(p, "class", "hud-player-server__vip-status-duration svelte-1htt1fv");
		},
		m(target, anchor) {
			insert(target, p, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (1202:8) {#if $serverInformation.multiplier > 1}
function hud_player_server_index_svelte_create_if_block(ctx) {
	let p;
	let t0;
	let t1_value = /*$serverInformation*/ ctx[2].multiplier + "";
	let t1;

	return {
		c() {
			p = internal_element("p");
			t0 = internal_text("X");
			t1 = internal_text(t1_value);
			attr(p, "class", "hud-player-server__logo-multiplier svelte-1htt1fv");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t0);
			append(p, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*$serverInformation*/ 4 && t1_value !== (t1_value = /*$serverInformation*/ ctx[2].multiplier + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

function hud_player_server_index_svelte_create_fragment(ctx) {
	let div3;
	let t0;
	let img0;
	let img0_src_value;
	let t1;
	let p0;
	let t2;
	let t3;
	let sup;
	let t4;
	let t5_value = /*$serverInformation*/ ctx[2].maxPlayersCount + "";
	let t5;
	let t6;
	let p1;
	let t7;
	let t8_value = /*$serverInformation*/ ctx[2].playerId + "";
	let t8;
	let t9;
	let div0;
	let img1;
	let img1_src_value;
	let t10;
	let t11;
	let div2;
	let p2;
	let t13;
	let div1;
	let img2;
	let img2_src_value;
	let t14;
	let p3;
	let t15_value = /*$serverInformation*/ ctx[2].title + "";
	let t15;
	let if_block0 = /*$playerVipDuration*/ ctx[0] !== 0 && hud_player_server_index_svelte_create_if_block_1(ctx);
	let if_block1 = /*$serverInformation*/ ctx[2].multiplier > 1 && hud_player_server_index_svelte_create_if_block(ctx);

	return {
		c() {
			div3 = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			img0 = internal_element("img");
			t1 = space();
			p0 = internal_element("p");
			t2 = internal_text(/*$playersCount*/ ctx[1]);
			t3 = space();
			sup = internal_element("sup");
			t4 = internal_text("/ ");
			t5 = internal_text(t5_value);
			t6 = space();
			p1 = internal_element("p");
			t7 = internal_text("ID: ");
			t8 = internal_text(t8_value);
			t9 = space();
			div0 = internal_element("div");
			img1 = internal_element("img");
			t10 = space();
			if (if_block1) if_block1.c();
			t11 = space();
			div2 = internal_element("div");
			p2 = internal_element("p");
			p2.textContent = "РОДИНА";
			t13 = space();
			div1 = internal_element("div");
			img2 = internal_element("img");
			t14 = space();
			p3 = internal_element("p");
			t15 = internal_text(t15_value);
			attr(img0, "class", "hud-player-server__image svelte-1htt1fv");
			if (!src_url_equal(img0.src, img0_src_value = players_decoration_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "playersIcon");
			attr(sup, "class", "hud-player-server__players-sup svelte-1htt1fv");
			attr(p0, "class", "hud-player-server__players svelte-1htt1fv");
			attr(p1, "class", "hud-player-server__id svelte-1htt1fv");
			attr(img1, "class", "hud-player-server__logo svelte-1htt1fv");
			if (!src_url_equal(img1.src, img1_src_value = MAP_LOGO_TYPE_TO_LOGO[/*$serverInformation*/ ctx[2].logoType])) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "serverLogo");
			attr(div0, "class", "hud-player-server__logo-wrapper svelte-1htt1fv");
			attr(p2, "class", "hud-player-server__title svelte-1htt1fv");
			attr(img2, "class", "hud-player-server__region-logo svelte-1htt1fv");
			if (!src_url_equal(img2.src, img2_src_value = MAP_ID_TO_SERVER[/*$currentIdServer*/ ctx[3]].icon)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "regionLogo");
			attr(p3, "class", "hud-player-server__region-title svelte-1htt1fv");
			attr(div1, "class", "hud-player-server__region svelte-1htt1fv");
			attr(div2, "class", "hud-player-server__title-wrapper svelte-1htt1fv");
			attr(div3, "class", "hud-player-server svelte-1htt1fv");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			if (if_block0) if_block0.m(div3, null);
			append(div3, t0);
			append(div3, img0);
			append(div3, t1);
			append(div3, p0);
			append(p0, t2);
			append(p0, t3);
			append(p0, sup);
			append(sup, t4);
			append(sup, t5);
			append(div3, t6);
			append(div3, p1);
			append(p1, t7);
			append(p1, t8);
			append(div3, t9);
			append(div3, div0);
			append(div0, img1);
			append(div0, t10);
			if (if_block1) if_block1.m(div0, null);
			append(div3, t11);
			append(div3, div2);
			append(div2, p2);
			append(div2, t13);
			append(div2, div1);
			append(div1, img2);
			append(div1, t14);
			append(div1, p3);
			append(p3, t15);
		},
		p(ctx, [dirty]) {
			if (/*$playerVipDuration*/ ctx[0] !== 0) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = hud_player_server_index_svelte_create_if_block_1(ctx);
					if_block0.c();
					if_block0.m(div3, t0);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty & /*$playersCount*/ 2) set_data(t2, /*$playersCount*/ ctx[1]);
			if (dirty & /*$serverInformation*/ 4 && t5_value !== (t5_value = /*$serverInformation*/ ctx[2].maxPlayersCount + "")) set_data(t5, t5_value);
			if (dirty & /*$serverInformation*/ 4 && t8_value !== (t8_value = /*$serverInformation*/ ctx[2].playerId + "")) set_data(t8, t8_value);

			if (dirty & /*$serverInformation*/ 4 && !src_url_equal(img1.src, img1_src_value = MAP_LOGO_TYPE_TO_LOGO[/*$serverInformation*/ ctx[2].logoType])) {
				attr(img1, "src", img1_src_value);
			}

			if (/*$serverInformation*/ ctx[2].multiplier > 1) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = hud_player_server_index_svelte_create_if_block(ctx);
					if_block1.c();
					if_block1.m(div0, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty & /*$currentIdServer*/ 8 && !src_url_equal(img2.src, img2_src_value = MAP_ID_TO_SERVER[/*$currentIdServer*/ ctx[3]].icon)) {
				attr(img2, "src", img2_src_value);
			}

			if (dirty & /*$serverInformation*/ 4 && t15_value !== (t15_value = /*$serverInformation*/ ctx[2].title + "")) set_data(t15, t15_value);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div3);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
		}
	};
}

function hud_player_server_index_svelte_instance($$self, $$props, $$invalidate) {
	let $playerVipDuration;
	let $playersCount;
	let $serverInformation;
	let $currentIdServer;
	component_subscribe($$self, playerVipDuration, $$value => $$invalidate(0, $playerVipDuration = $$value));
	component_subscribe($$self, playersCount, $$value => $$invalidate(1, $playersCount = $$value));
	component_subscribe($$self, serverInformation, $$value => $$invalidate(2, $serverInformation = $$value));
	component_subscribe($$self, currentIdServer, $$value => $$invalidate(3, $currentIdServer = $$value));
	return [$playerVipDuration, $playersCount, $serverInformation, $currentIdServer];
}

class Hud_player_server extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, hud_player_server_index_svelte_instance, hud_player_server_index_svelte_create_fragment, safe_not_equal, {}, hud_player_server_index_svelte_add_css);
	}
}

/* harmony default export */ const hud_player_server_index_svelte = (Hud_player_server);
;// CONCATENATED MODULE: ./src/views/hud/components/hud-simple-logo/index.svelte
/* src\views\hud\components\hud-simple-logo\index.svelte generated by Svelte v3.49.0 */





function hud_simple_logo_index_svelte_add_css(target) {
	append_styles(target, "svelte-1t3588w", "@keyframes svelte-1t3588w-blinking{50%{opacity:0}}@keyframes svelte-1t3588w-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1t3588w-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1t3588w-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1t3588w-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1t3588w-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1t3588w-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1t3588w-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1t3588w-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1t3588w-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1t3588w-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1t3588w-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1t3588w-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1t3588w-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1t3588w-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.hud-simple-logo.svelte-1t3588w{display:flex;align-items:center;position:relative;width:fit-content;height:fit-content;gap:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-simple-logo.svelte-1t3588w{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-simple-logo.svelte-1t3588w{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-simple-logo.svelte-1t3588w{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-simple-logo.svelte-1t3588w{gap:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-simple-logo.svelte-1t3588w{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-simple-logo.svelte-1t3588w{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-simple-logo.svelte-1t3588w{gap:calc(0.0114583333 * 100vw + 0px)}}.hud-simple-logo__logo.svelte-1t3588w{height:calc(0.0390625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-simple-logo__logo.svelte-1t3588w{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-simple-logo__logo.svelte-1t3588w{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-simple-logo__logo.svelte-1t3588w{height:calc(0.030078125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-simple-logo__logo.svelte-1t3588w{height:calc(0.04296875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-simple-logo__logo.svelte-1t3588w{height:calc(0.02734375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-simple-logo__logo.svelte-1t3588w{height:calc(0.03515625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-simple-logo__logo.svelte-1t3588w{height:calc(0.04296875 * 100vw + 0px)}}.hud-simple-logo__title.svelte-1t3588w{font-family:\"GothamPro-Bold\";font-size:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-simple-logo__title.svelte-1t3588w{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-simple-logo__title.svelte-1t3588w{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-simple-logo__title.svelte-1t3588w{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-simple-logo__title.svelte-1t3588w{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-simple-logo__title.svelte-1t3588w{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-simple-logo__title.svelte-1t3588w{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.hud-simple-logo__title.svelte-1t3588w{font-size:calc(0.0183333333 * 100vw + 0px)}}");
}

function hud_simple_logo_index_svelte_create_fragment(ctx) {
	let div;
	let img;
	let img_src_value;
	let t0;
	let p;

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			p.textContent = "РОДИНА";
			attr(img, "class", "hud-simple-logo__logo svelte-1t3588w");
			if (!src_url_equal(img.src, img_src_value = MAP_LOGO_TYPE_TO_LOGO[/*$serverInformation*/ ctx[0].logoType])) attr(img, "src", img_src_value);
			attr(img, "alt", "serverLogo");
			attr(p, "class", "hud-simple-logo__title svelte-1t3588w");
			attr(div, "class", "hud-simple-logo svelte-1t3588w");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
			append(div, t0);
			append(div, p);
		},
		p(ctx, [dirty]) {
			if (dirty & /*$serverInformation*/ 1 && !src_url_equal(img.src, img_src_value = MAP_LOGO_TYPE_TO_LOGO[/*$serverInformation*/ ctx[0].logoType])) {
				attr(img, "src", img_src_value);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function hud_simple_logo_index_svelte_instance($$self, $$props, $$invalidate) {
	let $serverInformation;
	component_subscribe($$self, serverInformation, $$value => $$invalidate(0, $serverInformation = $$value));
	return [$serverInformation];
}

class Hud_simple_logo extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, hud_simple_logo_index_svelte_instance, hud_simple_logo_index_svelte_create_fragment, safe_not_equal, {}, hud_simple_logo_index_svelte_add_css);
	}
}

/* harmony default export */ const hud_simple_logo_index_svelte = (Hud_simple_logo);
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/fist.png
const fist_namespaceObject = __webpack_require__.p + "assets/cb631acc499b0b242834.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/brassknuckle.png
const brassknuckle_namespaceObject = __webpack_require__.p + "assets/611cc43024310b50a279.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/golf.png
const golf_namespaceObject = __webpack_require__.p + "assets/8f160efb7166f4b423b9.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/nitestick.png
const nitestick_namespaceObject = __webpack_require__.p + "assets/44531ff6fc1c490bd830.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/knife.png
const knife_namespaceObject = __webpack_require__.p + "assets/2efaa5f9622b6a1c1b72.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/bat.png
const bat_namespaceObject = __webpack_require__.p + "assets/2f912024675162600458.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/showel.png
const showel_namespaceObject = __webpack_require__.p + "assets/b856f9f275a13986626b.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/poolstick.png
const poolstick_namespaceObject = __webpack_require__.p + "assets/ee9a36ef952fcf040421.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/katana.png
const katana_namespaceObject = __webpack_require__.p + "assets/399652072e5fefacfc1d.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/chainsaw.png
const chainsaw_namespaceObject = __webpack_require__.p + "assets/f638e97db06d29e967e3.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/dildo.png
const dildo_namespaceObject = __webpack_require__.p + "assets/8802eb3098f163845b39.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/dildo-two.png
const dildo_two_namespaceObject = __webpack_require__.p + "assets/3d593ca2613a9f4f635f.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/vibrator.png
const vibrator_namespaceObject = __webpack_require__.p + "assets/dd23db4b39f32f1fc99c.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/vibrator-two.png
const vibrator_two_namespaceObject = __webpack_require__.p + "assets/9f4f4bde72dbe612ae14.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/flower.png
const flower_namespaceObject = __webpack_require__.p + "assets/f4b0216aa22d0a98fb54.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/cane.png
const cane_namespaceObject = __webpack_require__.p + "assets/e190166f64ea28bdc69e.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/grenade.png
const grenade_namespaceObject = __webpack_require__.p + "assets/4b6deb3eac9b339ede75.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/teargas.png
const teargas_namespaceObject = __webpack_require__.p + "assets/f02d26da841cddd873db.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/molotov.png
const molotov_namespaceObject = __webpack_require__.p + "assets/83dffb9be18c7cdef6ba.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/colt.png
const colt_namespaceObject = __webpack_require__.p + "assets/9841e72f6c3cc608e891.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/silenced.png
const silenced_namespaceObject = __webpack_require__.p + "assets/f930737de0c2e7969ebf.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/deagle.png
const deagle_namespaceObject = __webpack_require__.p + "assets/a41e572c27717f533900.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/shotgun.png
const shotgun_namespaceObject = __webpack_require__.p + "assets/de4f2f0e3b6d74cffef3.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/sawedoff.png
const sawedoff_namespaceObject = __webpack_require__.p + "assets/762929c275d4a3237fc0.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/shotgspa.png
const shotgspa_namespaceObject = __webpack_require__.p + "assets/c6b1cc97ad578ab1f7e5.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/uzi.png
const uzi_namespaceObject = __webpack_require__.p + "assets/fd6594ebfd457ffa0d5d.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/mp5.png
const mp5_namespaceObject = __webpack_require__.p + "assets/56eb384ce2e9be7b9ffd.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/ak47.png
const ak47_namespaceObject = __webpack_require__.p + "assets/b8bbd1cef3893e162d76.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/m4.png
const m4_namespaceObject = __webpack_require__.p + "assets/b5fea1dd78b19f0777d6.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/tec9.png
const tec9_namespaceObject = __webpack_require__.p + "assets/63298563df40e3b37a9c.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/rifle.png
const rifle_namespaceObject = __webpack_require__.p + "assets/643c4e1d918d5f8eb1ba.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/sniper.png
const sniper_namespaceObject = __webpack_require__.p + "assets/32f5acf289cca3269d56.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/rocket-launcher.png
const rocket_launcher_namespaceObject = __webpack_require__.p + "assets/e7d71273ee1b9ea33698.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/heat-seeker.png
const heat_seeker_namespaceObject = __webpack_require__.p + "assets/b7d849c2d32864a9943e.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/flame-thrower.png
const flame_thrower_namespaceObject = __webpack_require__.p + "assets/0a4878bb940d5173d26d.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/minigun.png
const minigun_namespaceObject = __webpack_require__.p + "assets/71028066b964d0cb029e.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/satchel.png
const satchel_namespaceObject = __webpack_require__.p + "assets/3c1a750f3fe50d21c3b5.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/bomb.png
const bomb_namespaceObject = __webpack_require__.p + "assets/23f8dfec645a915716a7.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/spraycan.png
const spraycan_namespaceObject = __webpack_require__.p + "assets/b769f539c88a2c1bc346.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/fire-extinguisher.png
const fire_extinguisher_namespaceObject = __webpack_require__.p + "assets/a94b75f19a88fa74844c.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/camera.png
const camera_namespaceObject = __webpack_require__.p + "assets/d27bce8410914b4c53cd.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/night-vision-goggles.png
const night_vision_goggles_namespaceObject = __webpack_require__.p + "assets/f7255fde4efb7426a175.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/thermal-goggles.png
const thermal_goggles_namespaceObject = __webpack_require__.p + "assets/f7255fde4efb7426a175.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/parachute.png
const parachute_namespaceObject = __webpack_require__.p + "assets/dc310df83c84bb25469c.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/dildobit_cel.png
const dildobit_cel_namespaceObject = __webpack_require__.p + "assets/2f912024675162600458.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/golden_m4.png
const golden_m4_namespaceObject = __webpack_require__.p + "assets/33625d85a8d2f3ad43ee.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/uzi_graffiti.png
const uzi_graffiti_namespaceObject = __webpack_require__.p + "assets/27dbb0280a00f7af19cc.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/bandit_shotgun.png
const bandit_shotgun_namespaceObject = __webpack_require__.p + "assets/a351582b27e594c8698f.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/bat_compton.png
const bat_compton_namespaceObject = __webpack_require__.p + "assets/4568f06e04df920e59ea.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/gold_crowbar.png
const gold_crowbar_namespaceObject = __webpack_require__.p + "assets/8b7a86e47bdded66bcca.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/glock_standart.png
const glock_standart_namespaceObject = __webpack_require__.p + "assets/dad52d63371bc718290d.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/glock_gradient.png
const glock_gradient_namespaceObject = __webpack_require__.p + "assets/dad52d63371bc718290d.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/glock_pink.png
const glock_pink_namespaceObject = __webpack_require__.p + "assets/dad52d63371bc718290d.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/deagle_red.png
const deagle_red_namespaceObject = __webpack_require__.p + "assets/25165ffe1e8ca2716373.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/deagle_black.png
const deagle_black_namespaceObject = __webpack_require__.p + "assets/25165ffe1e8ca2716373.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/deagle_flame.png
const deagle_flame_namespaceObject = __webpack_require__.p + "assets/25165ffe1e8ca2716373.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/deagle_classic.png
const deagle_classic_namespaceObject = __webpack_require__.p + "assets/25165ffe1e8ca2716373.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/ak47_standart.png
const ak47_standart_namespaceObject = __webpack_require__.p + "assets/554ca06d01408834d375.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/ak47_roses.png
const ak47_roses_namespaceObject = __webpack_require__.p + "assets/554ca06d01408834d375.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/ak47_gold.png
const ak47_gold_namespaceObject = __webpack_require__.p + "assets/554ca06d01408834d375.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/python_eagle.png
const python_eagle_namespaceObject = __webpack_require__.p + "assets/954f01a1027765ef2247.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/python_standart.png
const python_standart_namespaceObject = __webpack_require__.p + "assets/954f01a1027765ef2247.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/python_royal.png
const python_royal_namespaceObject = __webpack_require__.p + "assets/954f01a1027765ef2247.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/python_silver.png
const python_silver_namespaceObject = __webpack_require__.p + "assets/954f01a1027765ef2247.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/aks74_black.png
const aks74_black_namespaceObject = __webpack_require__.p + "assets/bfbe4f45368913638323.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/aks74_standart.png
const aks74_standart_namespaceObject = __webpack_require__.p + "assets/bfbe4f45368913638323.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/aks74_gloss.png
const aks74_gloss_namespaceObject = __webpack_require__.p + "assets/bfbe4f45368913638323.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/makarov_black.png
const makarov_black_namespaceObject = __webpack_require__.p + "assets/f45762893dce8ccc7a81.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/makarov_standart.png
const makarov_standart_namespaceObject = __webpack_require__.p + "assets/f45762893dce8ccc7a81.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/makarov_romanov.png
const makarov_romanov_namespaceObject = __webpack_require__.p + "assets/f45762893dce8ccc7a81.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/makarov_gold.png
const makarov_gold_namespaceObject = __webpack_require__.p + "assets/f45762893dce8ccc7a81.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/tt_standart.png
const tt_standart_namespaceObject = __webpack_require__.p + "assets/bce75c5b940f5dd8b8bd.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/tt_brown.png
const tt_brown_namespaceObject = __webpack_require__.p + "assets/bce75c5b940f5dd8b8bd.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/tt_sssr1.png
const tt_sssr1_namespaceObject = __webpack_require__.p + "assets/bce75c5b940f5dd8b8bd.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/tt_sssr2.png
const tt_sssr2_namespaceObject = __webpack_require__.p + "assets/bce75c5b940f5dd8b8bd.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/skorp_black.png
const skorp_black_namespaceObject = __webpack_require__.p + "assets/702d1e4e608c8b652fd4.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/skorp_gold.png
const skorp_gold_namespaceObject = __webpack_require__.p + "assets/702d1e4e608c8b652fd4.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/skorp_standart.png
const skorp_standart_namespaceObject = __webpack_require__.p + "assets/702d1e4e608c8b652fd4.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/m249_deserted.png
const m249_deserted_namespaceObject = __webpack_require__.p + "assets/2873c02b4c78d3aeb100.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/m249_vietnam.png
const m249_vietnam_namespaceObject = __webpack_require__.p + "assets/2873c02b4c78d3aeb100.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/m249_standart.png
const m249_standart_namespaceObject = __webpack_require__.p + "assets/2873c02b4c78d3aeb100.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/m249_graffiti.png
const m249_graffiti_namespaceObject = __webpack_require__.p + "assets/2873c02b4c78d3aeb100.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/kostetcel01.png
const kostetcel01_namespaceObject = __webpack_require__.p + "assets/611cc43024310b50a279.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/kostetcel02.png
const kostetcel02_namespaceObject = __webpack_require__.p + "assets/611cc43024310b50a279.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/kostetcel03.png
const kostetcel03_namespaceObject = __webpack_require__.p + "assets/611cc43024310b50a279.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/ppsh_standart.png
const ppsh_standart_namespaceObject = __webpack_require__.p + "assets/96da3f6f2cc0f00d00e6.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/saiga_gold.png
const saiga_gold_namespaceObject = __webpack_require__.p + "assets/d050e81949a97c8a9310.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/saiga_black.png
const saiga_black_namespaceObject = __webpack_require__.p + "assets/d050e81949a97c8a9310.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/saiga_light.png
const saiga_light_namespaceObject = __webpack_require__.p + "assets/d050e81949a97c8a9310.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/mosinka_standart.png
const mosinka_standart_namespaceObject = __webpack_require__.p + "assets/02cbb96d150493282ea2.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/remington_royal.png
const remington_royal_namespaceObject = __webpack_require__.p + "assets/02cbb96d150493282ea2.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/ak47_camouflage1.png
const ak47_camouflage1_namespaceObject = __webpack_require__.p + "assets/554ca06d01408834d375.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/ak47_camouflage2.png
const ak47_camouflage2_namespaceObject = __webpack_require__.p + "assets/554ca06d01408834d375.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/aks74_camouflage1.png
const aks74_camouflage1_namespaceObject = __webpack_require__.p + "assets/bfbe4f45368913638323.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/aks74_camouflage2.png
const aks74_camouflage2_namespaceObject = __webpack_require__.p + "assets/bfbe4f45368913638323.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/deagle_camouflage1.png
const deagle_camouflage1_namespaceObject = __webpack_require__.p + "assets/25165ffe1e8ca2716373.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/deagle_camouflage2.png
const deagle_camouflage2_namespaceObject = __webpack_require__.p + "assets/25165ffe1e8ca2716373.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/glock_camouflage1.png
const glock_camouflage1_namespaceObject = __webpack_require__.p + "assets/dad52d63371bc718290d.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/glock_camouflage2.png
const glock_camouflage2_namespaceObject = __webpack_require__.p + "assets/dad52d63371bc718290d.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/saiga_camouflage1.png
const saiga_camouflage1_namespaceObject = __webpack_require__.p + "assets/d050e81949a97c8a9310.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/img/saiga_camouflage2.png
const saiga_camouflage2_namespaceObject = __webpack_require__.p + "assets/d050e81949a97c8a9310.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/constants.js
var _MAP_WEAPON_TO_ICON, _MAP_WEAPON_TO_AMMO_D;
function hud_player_weapon_constants_typeof(o) { "@babel/helpers - typeof"; return hud_player_weapon_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, hud_player_weapon_constants_typeof(o); }
function hud_player_weapon_constants_defineProperty(e, r, t) { return (r = hud_player_weapon_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function hud_player_weapon_constants_toPropertyKey(t) { var i = hud_player_weapon_constants_toPrimitive(t, "string"); return "symbol" == hud_player_weapon_constants_typeof(i) ? i : i + ""; }
function hud_player_weapon_constants_toPrimitive(t, r) { if ("object" != hud_player_weapon_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != hud_player_weapon_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }





































































































var WEAPONS = {
  fist: 0,
  brassknuckle: 1,
  golf: 2,
  nitestick: 3,
  knife: 4,
  bat: 5,
  showel: 6,
  poolstick: 7,
  katana: 8,
  chainsaw: 9,
  dildo: 10,
  dildoTwo: 11,
  vibrator: 12,
  vibratorTwo: 13,
  flower: 14,
  cane: 15,
  grenade: 16,
  teargas: 17,
  molotov: 18,
  colt: 22,
  silenced: 23,
  deagle: 24,
  shotgun: 25,
  sawedoff: 26,
  shotgspa: 27,
  uzi: 28,
  mp5: 29,
  ak47: 30,
  m4: 31,
  tec9: 32,
  rifle: 33,
  sniper: 34,
  rocketLauncher: 35,
  heatSeeker: 36,
  flameThrower: 37,
  minigun: 38,
  satchel: 39,
  bomb: 40,
  spraycan: 41,
  fireExtinguisher: 42,
  camera: 43,
  nightVisionGoggles: 44,
  thermalGoggles: 45,
  parachute: 46,
  dildobit_cel: 71,
  golden_m4: 72,
  bandit_shotgun: 73,
  uzi_graffiti: 74,
  gold_crowbar: 75,
  bat_compton: 76,
  glock_standart: 77,
  glock_gradient: 78,
  glock_pink: 79,
  deagle_red: 80,
  deagle_black: 81,
  deagle_flame: 82,
  deagle_classic: 83,
  ak47_standart: 84,
  ak47_roses: 85,
  ak47_gold: 86,
  python_eagle: 87,
  python_standart: 88,
  python_royal: 89,
  python_silver: 90,
  aks74_black: 91,
  aks74_standart: 92,
  aks74_gloss: 93,
  makarov_black: 94,
  makarov_standart: 95,
  makarov_romanov: 96,
  makarov_gold: 97,
  tt_standart: 98,
  tt_brown: 99,
  tt_sssr1: 100,
  tt_sssr2: 101,
  skorp_black: 102,
  skorp_gold: 103,
  skorp_standart: 104,
  m249_deserted: 105,
  m249_vietnam: 106,
  m249_standart: 107,
  m249_graffiti: 108,
  kostetcel01: 109,
  kostetcel02: 110,
  kostetcel03: 111,
  ppsh_standart: 112,
  saiga_gold: 113,
  saiga_black: 114,
  saiga_light: 115,
  mosinka_standart: 116,
  remington_royal: 117,
  ak47_camouflage1: 118,
  ak47_camouflage2: 119,
  aks74_camouflage1: 120,
  aks74_camouflage2: 121,
  deagle_camouflage1: 122,
  deagle_camouflage2: 123,
  glock_camouflage1: 124,
  glock_camouflage2: 125,
  saiga_camouflage1: 126,
  saiga_camouflage2: 127
};
var MAP_WEAPON_TO_ICON = (_MAP_WEAPON_TO_ICON = {}, hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(_MAP_WEAPON_TO_ICON, WEAPONS.fist, fist_namespaceObject), WEAPONS.brassknuckle, brassknuckle_namespaceObject), WEAPONS.golf, golf_namespaceObject), WEAPONS.nitestick, nitestick_namespaceObject), WEAPONS.knife, knife_namespaceObject), WEAPONS.bat, bat_namespaceObject), WEAPONS.showel, showel_namespaceObject), WEAPONS.poolstick, poolstick_namespaceObject), WEAPONS.katana, katana_namespaceObject), WEAPONS.chainsaw, chainsaw_namespaceObject), hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(_MAP_WEAPON_TO_ICON, WEAPONS.dildo, dildo_namespaceObject), WEAPONS.dildoTwo, dildo_two_namespaceObject), WEAPONS.vibrator, vibrator_namespaceObject), WEAPONS.vibratorTwo, vibrator_two_namespaceObject), WEAPONS.flower, flower_namespaceObject), WEAPONS.cane, cane_namespaceObject), WEAPONS.grenade, grenade_namespaceObject), WEAPONS.teargas, teargas_namespaceObject), WEAPONS.molotov, molotov_namespaceObject), WEAPONS.colt, colt_namespaceObject), hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(_MAP_WEAPON_TO_ICON, WEAPONS.silenced, silenced_namespaceObject), WEAPONS.deagle, deagle_namespaceObject), WEAPONS.shotgun, shotgun_namespaceObject), WEAPONS.sawedoff, sawedoff_namespaceObject), WEAPONS.shotgspa, shotgspa_namespaceObject), WEAPONS.uzi, uzi_namespaceObject), WEAPONS.mp5, mp5_namespaceObject), WEAPONS.ak47, ak47_namespaceObject), WEAPONS.m4, m4_namespaceObject), WEAPONS.tec9, tec9_namespaceObject), hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(_MAP_WEAPON_TO_ICON, WEAPONS.rifle, rifle_namespaceObject), WEAPONS.sniper, sniper_namespaceObject), WEAPONS.rocketLauncher, rocket_launcher_namespaceObject), WEAPONS.heatSeeker, heat_seeker_namespaceObject), WEAPONS.flameThrower, flame_thrower_namespaceObject), WEAPONS.minigun, minigun_namespaceObject), WEAPONS.satchel, satchel_namespaceObject), WEAPONS.bomb, bomb_namespaceObject), WEAPONS.spraycan, spraycan_namespaceObject), WEAPONS.fireExtinguisher, fire_extinguisher_namespaceObject), hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(_MAP_WEAPON_TO_ICON, WEAPONS.camera, camera_namespaceObject), WEAPONS.nightVisionGoggles, night_vision_goggles_namespaceObject), WEAPONS.thermalGoggles, thermal_goggles_namespaceObject), WEAPONS.parachute, parachute_namespaceObject), WEAPONS.dildobit_cel, dildobit_cel_namespaceObject), WEAPONS.golden_m4, golden_m4_namespaceObject), WEAPONS.bandit_shotgun, bandit_shotgun_namespaceObject), WEAPONS.uzi_graffiti, uzi_graffiti_namespaceObject), WEAPONS.gold_crowbar, gold_crowbar_namespaceObject), WEAPONS.bat_compton, bat_compton_namespaceObject), hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(_MAP_WEAPON_TO_ICON, WEAPONS.glock_standart, glock_standart_namespaceObject), WEAPONS.glock_gradient, glock_gradient_namespaceObject), WEAPONS.glock_pink, glock_pink_namespaceObject), WEAPONS.deagle_red, deagle_red_namespaceObject), WEAPONS.deagle_black, deagle_black_namespaceObject), WEAPONS.deagle_flame, deagle_flame_namespaceObject), WEAPONS.deagle_classic, deagle_classic_namespaceObject), WEAPONS.ak47_standart, ak47_standart_namespaceObject), WEAPONS.ak47_roses, ak47_roses_namespaceObject), WEAPONS.ak47_gold, ak47_gold_namespaceObject), hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(_MAP_WEAPON_TO_ICON, WEAPONS.python_eagle, python_eagle_namespaceObject), WEAPONS.python_standart, python_standart_namespaceObject), WEAPONS.python_royal, python_royal_namespaceObject), WEAPONS.python_silver, python_silver_namespaceObject), WEAPONS.aks74_black, aks74_black_namespaceObject), WEAPONS.aks74_standart, aks74_standart_namespaceObject), WEAPONS.aks74_gloss, aks74_gloss_namespaceObject), WEAPONS.makarov_black, makarov_black_namespaceObject), WEAPONS.makarov_standart, makarov_standart_namespaceObject), WEAPONS.makarov_romanov, makarov_romanov_namespaceObject), hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(_MAP_WEAPON_TO_ICON, WEAPONS.makarov_gold, makarov_gold_namespaceObject), WEAPONS.tt_standart, tt_standart_namespaceObject), WEAPONS.tt_brown, tt_brown_namespaceObject), WEAPONS.tt_sssr1, tt_sssr1_namespaceObject), WEAPONS.tt_sssr2, tt_sssr2_namespaceObject), WEAPONS.skorp_black, skorp_black_namespaceObject), WEAPONS.skorp_gold, skorp_gold_namespaceObject), WEAPONS.skorp_standart, skorp_standart_namespaceObject), WEAPONS.m249_deserted, m249_deserted_namespaceObject), WEAPONS.m249_vietnam, m249_vietnam_namespaceObject), hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(_MAP_WEAPON_TO_ICON, WEAPONS.m249_standart, m249_standart_namespaceObject), WEAPONS.m249_graffiti, m249_graffiti_namespaceObject), WEAPONS.kostetcel01, kostetcel01_namespaceObject), WEAPONS.kostetcel02, kostetcel02_namespaceObject), WEAPONS.kostetcel03, kostetcel03_namespaceObject), WEAPONS.ppsh_standart, ppsh_standart_namespaceObject), WEAPONS.saiga_gold, saiga_gold_namespaceObject), WEAPONS.saiga_black, saiga_black_namespaceObject), WEAPONS.saiga_light, saiga_light_namespaceObject), WEAPONS.mosinka_standart, mosinka_standart_namespaceObject), hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(_MAP_WEAPON_TO_ICON, WEAPONS.remington_royal, remington_royal_namespaceObject), WEAPONS.ak47_camouflage1, ak47_camouflage1_namespaceObject), WEAPONS.ak47_camouflage2, ak47_camouflage2_namespaceObject), WEAPONS.aks74_camouflage1, aks74_camouflage1_namespaceObject), WEAPONS.aks74_camouflage2, aks74_camouflage2_namespaceObject), WEAPONS.deagle_camouflage1, deagle_camouflage1_namespaceObject), WEAPONS.deagle_camouflage2, deagle_camouflage2_namespaceObject), WEAPONS.glock_camouflage1, glock_camouflage1_namespaceObject), WEAPONS.glock_camouflage2, glock_camouflage2_namespaceObject), WEAPONS.saiga_camouflage1, saiga_camouflage1_namespaceObject), hud_player_weapon_constants_defineProperty(_MAP_WEAPON_TO_ICON, WEAPONS.saiga_camouflage2, saiga_camouflage2_namespaceObject));
var MAP_WEAPON_TO_AMMO_DISPLAY = (_MAP_WEAPON_TO_AMMO_D = {}, hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(_MAP_WEAPON_TO_AMMO_D, WEAPONS.fist, false), WEAPONS.brassknuckle, false), WEAPONS.golf, false), WEAPONS.nitestick, false), WEAPONS.knife, false), WEAPONS.bat, false), WEAPONS.showel, false), WEAPONS.poolstick, false), WEAPONS.katana, false), WEAPONS.chainsaw, false), hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(_MAP_WEAPON_TO_AMMO_D, WEAPONS.dildo, false), WEAPONS.dildoTwo, false), WEAPONS.vibrator, false), WEAPONS.vibratorTwo, false), WEAPONS.flower, false), WEAPONS.cane, false), WEAPONS.grenade, true), WEAPONS.teargas, true), WEAPONS.molotov, true), WEAPONS.colt, true), hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(_MAP_WEAPON_TO_AMMO_D, WEAPONS.silenced, true), WEAPONS.deagle, true), WEAPONS.shotgun, true), WEAPONS.sawedoff, true), WEAPONS.shotgspa, true), WEAPONS.uzi, true), WEAPONS.mp5, true), WEAPONS.ak47, true), WEAPONS.m4, true), WEAPONS.tec9, true), hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(_MAP_WEAPON_TO_AMMO_D, WEAPONS.rifle, true), WEAPONS.sniper, true), WEAPONS.rocketLauncher, true), WEAPONS.heatSeeker, true), WEAPONS.flameThrower, true), WEAPONS.minigun, true), WEAPONS.satchel, true), WEAPONS.bomb, false), WEAPONS.spraycan, true), WEAPONS.fireExtinguisher, true), hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(_MAP_WEAPON_TO_AMMO_D, WEAPONS.camera, true), WEAPONS.nightVisionGoggles, false), WEAPONS.thermalGoggles, false), WEAPONS.parachute, false), WEAPONS.golden_m4, true), WEAPONS.bandit_shotgun, true), WEAPONS.uzi_graffiti, true), WEAPONS.gold_crowbar, false), WEAPONS.bat_compton, false), WEAPONS.glock_standart, true), hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(_MAP_WEAPON_TO_AMMO_D, WEAPONS.glock_gradient, true), WEAPONS.glock_pink, true), WEAPONS.deagle_red, true), WEAPONS.deagle_black, true), WEAPONS.deagle_flame, true), WEAPONS.deagle_classic, true), WEAPONS.ak47_standart, true), WEAPONS.ak47_roses, true), WEAPONS.ak47_gold, true), WEAPONS.python_eagle, true), hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(_MAP_WEAPON_TO_AMMO_D, WEAPONS.python_standart, true), WEAPONS.python_royal, true), WEAPONS.python_silver, true), WEAPONS.aks74_black, true), WEAPONS.aks74_standart, true), WEAPONS.aks74_gloss, true), WEAPONS.makarov_black, true), WEAPONS.makarov_standart, true), WEAPONS.makarov_romanov, true), WEAPONS.makarov_gold, true), hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(_MAP_WEAPON_TO_AMMO_D, WEAPONS.tt_standart, true), WEAPONS.tt_brown, true), WEAPONS.tt_sssr1, true), WEAPONS.tt_sssr2, true), WEAPONS.skorp_black, true), WEAPONS.skorp_gold, true), WEAPONS.skorp_standart, true), WEAPONS.m249_deserted, true), WEAPONS.m249_vietnam, true), WEAPONS.m249_standart, true), hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(_MAP_WEAPON_TO_AMMO_D, WEAPONS.m249_graffiti, true), WEAPONS.kostetcel01, false), WEAPONS.kostetcel02, false), WEAPONS.kostetcel03, false), WEAPONS.ppsh_standart, true), WEAPONS.saiga_gold, true), WEAPONS.saiga_black, true), WEAPONS.saiga_light, true), WEAPONS.mosinka_standart, true), WEAPONS.remington_royal, true), hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(hud_player_weapon_constants_defineProperty(_MAP_WEAPON_TO_AMMO_D, WEAPONS.ak47_camouflage1, true), WEAPONS.ak47_camouflage2, true), WEAPONS.aks74_camouflage1, true), WEAPONS.aks74_camouflage2, true), WEAPONS.deagle_camouflage1, true), WEAPONS.deagle_camouflage2, true), WEAPONS.glock_camouflage1, true), WEAPONS.glock_camouflage2, true), WEAPONS.saiga_camouflage1, true), WEAPONS.saiga_camouflage2, true));
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-weapon/index.svelte
/* src\views\hud\components\hud-player-weapon\index.svelte generated by Svelte v3.49.0 */






function hud_player_weapon_index_svelte_add_css(target) {
	append_styles(target, "svelte-6exgrf", "@keyframes svelte-6exgrf-blinking{50%{opacity:0}}@keyframes svelte-6exgrf-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-6exgrf-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-6exgrf-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-6exgrf-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-6exgrf-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-6exgrf-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-6exgrf-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-6exgrf-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-6exgrf-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-6exgrf-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-6exgrf-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-6exgrf-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-6exgrf-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-6exgrf-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.hud-player-stats.svelte-6exgrf{display:flex}.hud-player-stats__weapon.svelte-6exgrf{display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:rgba(32, 39, 49, 0.35);border-radius:calc(0.0052083333 * 100vw + 0px);margin-right:calc(0.00625 * 100vw + 0px);height:calc(0.0416666667 * 100vw + 0px);width:calc(0.0416666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-player-stats__weapon.svelte-6exgrf{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-stats__weapon.svelte-6exgrf{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-stats__weapon.svelte-6exgrf{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-stats__weapon.svelte-6exgrf{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-stats__weapon.svelte-6exgrf{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-stats__weapon.svelte-6exgrf{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-stats__weapon.svelte-6exgrf{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-player-stats__weapon.svelte-6exgrf{margin-right:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-stats__weapon.svelte-6exgrf{margin-right:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-stats__weapon.svelte-6exgrf{margin-right:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-stats__weapon.svelte-6exgrf{margin-right:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-stats__weapon.svelte-6exgrf{margin-right:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-stats__weapon.svelte-6exgrf{margin-right:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-stats__weapon.svelte-6exgrf{margin-right:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-player-stats__weapon.svelte-6exgrf{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-stats__weapon.svelte-6exgrf{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-stats__weapon.svelte-6exgrf{height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-stats__weapon.svelte-6exgrf{height:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-stats__weapon.svelte-6exgrf{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-stats__weapon.svelte-6exgrf{height:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-stats__weapon.svelte-6exgrf{height:calc(0.0458333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-player-stats__weapon.svelte-6exgrf{width:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-stats__weapon.svelte-6exgrf{width:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-stats__weapon.svelte-6exgrf{width:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-stats__weapon.svelte-6exgrf{width:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-stats__weapon.svelte-6exgrf{width:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-stats__weapon.svelte-6exgrf{width:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-stats__weapon.svelte-6exgrf{width:calc(0.0458333333 * 100vw + 0px)}}.hud-player-stats__weapon-image.svelte-6exgrf{height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-player-stats__weapon-image.svelte-6exgrf{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-stats__weapon-image.svelte-6exgrf{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-stats__weapon-image.svelte-6exgrf{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-stats__weapon-image.svelte-6exgrf{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-stats__weapon-image.svelte-6exgrf{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-stats__weapon-image.svelte-6exgrf{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-stats__weapon-image.svelte-6exgrf{height:calc(0.0286458333 * 100vw + 0px)}}.hud-player-stats__weapon-ammo.svelte-6exgrf{font-family:\"GothamPro-Medium\";font-size:calc(0.0078125 * 100vw + 0px);letter-spacing:calc(0.0002604167 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-player-stats__weapon-ammo.svelte-6exgrf{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-stats__weapon-ammo.svelte-6exgrf{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-stats__weapon-ammo.svelte-6exgrf{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-stats__weapon-ammo.svelte-6exgrf{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-stats__weapon-ammo.svelte-6exgrf{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-stats__weapon-ammo.svelte-6exgrf{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-stats__weapon-ammo.svelte-6exgrf{font-size:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-player-stats__weapon-ammo.svelte-6exgrf{letter-spacing:calc(0.0002604167 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-stats__weapon-ammo.svelte-6exgrf{letter-spacing:calc(0.0002604167 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-stats__weapon-ammo.svelte-6exgrf{letter-spacing:calc(0.0002005208 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-stats__weapon-ammo.svelte-6exgrf{letter-spacing:calc(0.0002864583 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-stats__weapon-ammo.svelte-6exgrf{letter-spacing:calc(0.0001822917 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-stats__weapon-ammo.svelte-6exgrf{letter-spacing:calc(0.000234375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-stats__weapon-ammo.svelte-6exgrf{letter-spacing:calc(0.0002864583 * 100vw + 0px)}}.hud-player-stats__weapon-ammo-sup.svelte-6exgrf{vertical-align:super;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-player-stats__weapon-ammo-sup.svelte-6exgrf{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-stats__weapon-ammo-sup.svelte-6exgrf{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-stats__weapon-ammo-sup.svelte-6exgrf{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-stats__weapon-ammo-sup.svelte-6exgrf{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-stats__weapon-ammo-sup.svelte-6exgrf{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-stats__weapon-ammo-sup.svelte-6exgrf{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-stats__weapon-ammo-sup.svelte-6exgrf{font-size:calc(0.0057291667 * 100vw + 0px)}}.hud-player-stats__ammo-hidden.svelte-6exgrf{display:none}.hud-player-stats__ammo-wrapper-hidden.svelte-6exgrf{flex-direction:row}");
}

function hud_player_weapon_index_svelte_create_fragment(ctx) {
	let div1;
	let div0;
	let img;
	let img_src_value;
	let t0;
	let p;
	let t1_value = formatMoney(/*$playerAmmoClip*/ ctx[1]) + "";
	let t1;
	let t2;
	let sup;
	let t3;
	let t4_value = formatMoney(/*$playerAmmoTotal*/ ctx[2]) + "";
	let t4;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			sup = internal_element("sup");
			t3 = internal_text("/");
			t4 = internal_text(t4_value);
			attr(img, "class", "hud-player-stats__weapon-image svelte-6exgrf");
			if (!src_url_equal(img.src, img_src_value = MAP_WEAPON_TO_ICON[/*$playerWeaponId*/ ctx[0]])) attr(img, "src", img_src_value);
			attr(img, "alt", "weaponIcon");
			attr(sup, "class", "hud-player-stats__weapon-ammo-sup svelte-6exgrf");
			attr(p, "class", "hud-player-stats__weapon-ammo svelte-6exgrf");
			toggle_class(p, "hud-player-stats__ammo-hidden", !MAP_WEAPON_TO_AMMO_DISPLAY[/*$playerWeaponId*/ ctx[0]]);
			attr(div0, "class", "hud-player-stats__weapon svelte-6exgrf");
			toggle_class(div0, "hud-player-stats__ammo-wrapper-hidden", !MAP_WEAPON_TO_AMMO_DISPLAY[/*$playerWeaponId*/ ctx[0]]);
			attr(div1, "class", "hud-player-stats svelte-6exgrf");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, img);
			append(div0, t0);
			append(div0, p);
			append(p, t1);
			append(p, t2);
			append(p, sup);
			append(sup, t3);
			append(sup, t4);
		},
		p(ctx, [dirty]) {
			if (dirty & /*$playerWeaponId*/ 1 && !src_url_equal(img.src, img_src_value = MAP_WEAPON_TO_ICON[/*$playerWeaponId*/ ctx[0]])) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*$playerAmmoClip*/ 2 && t1_value !== (t1_value = formatMoney(/*$playerAmmoClip*/ ctx[1]) + "")) set_data(t1, t1_value);
			if (dirty & /*$playerAmmoTotal*/ 4 && t4_value !== (t4_value = formatMoney(/*$playerAmmoTotal*/ ctx[2]) + "")) set_data(t4, t4_value);

			if (dirty & /*MAP_WEAPON_TO_AMMO_DISPLAY, $playerWeaponId*/ 1) {
				toggle_class(p, "hud-player-stats__ammo-hidden", !MAP_WEAPON_TO_AMMO_DISPLAY[/*$playerWeaponId*/ ctx[0]]);
			}

			if (dirty & /*MAP_WEAPON_TO_AMMO_DISPLAY, $playerWeaponId*/ 1) {
				toggle_class(div0, "hud-player-stats__ammo-wrapper-hidden", !MAP_WEAPON_TO_AMMO_DISPLAY[/*$playerWeaponId*/ ctx[0]]);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

function hud_player_weapon_index_svelte_instance($$self, $$props, $$invalidate) {
	let $playerWeaponId;
	let $playerAmmoClip;
	let $playerAmmoTotal;
	component_subscribe($$self, playerWeaponId, $$value => $$invalidate(0, $playerWeaponId = $$value));
	component_subscribe($$self, playerAmmoClip, $$value => $$invalidate(1, $playerAmmoClip = $$value));
	component_subscribe($$self, playerAmmoTotal, $$value => $$invalidate(2, $playerAmmoTotal = $$value));
	return [$playerWeaponId, $playerAmmoClip, $playerAmmoTotal];
}

class Hud_player_weapon extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, hud_player_weapon_index_svelte_instance, hud_player_weapon_index_svelte_create_fragment, safe_not_equal, {}, hud_player_weapon_index_svelte_add_css);
	}
}

/* harmony default export */ const hud_player_weapon_index_svelte = (Hud_player_weapon);
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-needs/components/hud-player-needs-progressbar/index.svelte
/* src\views\hud\components\hud-player-needs\components\hud-player-needs-progressbar\index.svelte generated by Svelte v3.49.0 */


function hud_player_needs_progressbar_index_svelte_add_css(target) {
	append_styles(target, "svelte-1lnhdcy", "@keyframes svelte-1lnhdcy-blinking{50%{opacity:0}}@keyframes svelte-1lnhdcy-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1lnhdcy-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1lnhdcy-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1lnhdcy-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1lnhdcy-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1lnhdcy-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1lnhdcy-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1lnhdcy-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1lnhdcy-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1lnhdcy-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1lnhdcy-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1lnhdcy-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1lnhdcy-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1lnhdcy-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.hud-player-needs__item-value-wrapper.svelte-1lnhdcy{display:flex;align-items:center;position:relative;background-color:rgba(32, 39, 49, 0.35);overflow:hidden;width:calc(0.1432291667 * 100vw + 0px);height:calc(0.0041666667 * 100vw + 0px);border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-player-needs__item-value-wrapper.svelte-1lnhdcy{width:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-needs__item-value-wrapper.svelte-1lnhdcy{width:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-needs__item-value-wrapper.svelte-1lnhdcy{width:calc(0.1102864583 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-needs__item-value-wrapper.svelte-1lnhdcy{width:calc(0.1575520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-needs__item-value-wrapper.svelte-1lnhdcy{width:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-needs__item-value-wrapper.svelte-1lnhdcy{width:calc(0.12890625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-needs__item-value-wrapper.svelte-1lnhdcy{width:calc(0.1575520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-player-needs__item-value-wrapper.svelte-1lnhdcy{height:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-needs__item-value-wrapper.svelte-1lnhdcy{height:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-needs__item-value-wrapper.svelte-1lnhdcy{height:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-needs__item-value-wrapper.svelte-1lnhdcy{height:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-needs__item-value-wrapper.svelte-1lnhdcy{height:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-needs__item-value-wrapper.svelte-1lnhdcy{height:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-needs__item-value-wrapper.svelte-1lnhdcy{height:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-player-needs__item-value-wrapper.svelte-1lnhdcy{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-needs__item-value-wrapper.svelte-1lnhdcy{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-needs__item-value-wrapper.svelte-1lnhdcy{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-needs__item-value-wrapper.svelte-1lnhdcy{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-needs__item-value-wrapper.svelte-1lnhdcy{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-needs__item-value-wrapper.svelte-1lnhdcy{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-needs__item-value-wrapper.svelte-1lnhdcy{border-radius:calc(0.0028645833 * 100vw + 0px)}}.hud-player-needs__item-value.svelte-1lnhdcy{position:absolute;left:0;height:100%;width:0;border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-player-needs__item-value.svelte-1lnhdcy{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-needs__item-value.svelte-1lnhdcy{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-needs__item-value.svelte-1lnhdcy{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-needs__item-value.svelte-1lnhdcy{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-needs__item-value.svelte-1lnhdcy{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-needs__item-value.svelte-1lnhdcy{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-needs__item-value.svelte-1lnhdcy{border-radius:calc(0.0028645833 * 100vw + 0px)}}");
}

function hud_player_needs_progressbar_index_svelte_create_fragment(ctx) {
	let div1;
	let div0;
	let div0_style_value;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			attr(div0, "class", "hud-player-needs__item-value svelte-1lnhdcy");
			attr(div0, "style", div0_style_value = `width: ${/*percents*/ ctx[1]}%; background-color: ${/*valueColor*/ ctx[0]};`);
			attr(div1, "class", "hud-player-needs__item-value-wrapper svelte-1lnhdcy");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
		},
		p(ctx, [dirty]) {
			if (dirty & /*percents, valueColor*/ 3 && div0_style_value !== (div0_style_value = `width: ${/*percents*/ ctx[1]}%; background-color: ${/*valueColor*/ ctx[0]};`)) {
				attr(div0, "style", div0_style_value);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

function hud_player_needs_progressbar_index_svelte_instance($$self, $$props, $$invalidate) {
	let { valueColor = '#FF3737' } = $$props;
	let { percents = 0 } = $$props;

	$$self.$$set = $$props => {
		if ('valueColor' in $$props) $$invalidate(0, valueColor = $$props.valueColor);
		if ('percents' in $$props) $$invalidate(1, percents = $$props.percents);
	};

	return [valueColor, percents];
}

class Hud_player_needs_progressbar extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, hud_player_needs_progressbar_index_svelte_instance, hud_player_needs_progressbar_index_svelte_create_fragment, safe_not_equal, { valueColor: 0, percents: 1 }, hud_player_needs_progressbar_index_svelte_add_css);
	}
}

/* harmony default export */ const hud_player_needs_progressbar_index_svelte = (Hud_player_needs_progressbar);
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-needs/img/hp-img.svg
const hp_img_namespaceObject = __webpack_require__.p + "assets/685fa3cfedff58d82ea6.svg";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-needs/img/food-img.svg
const food_img_namespaceObject = __webpack_require__.p + "assets/29fa0651943e442a2fcf.svg";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-needs/img/armor-img.svg
const armor_img_namespaceObject = __webpack_require__.p + "assets/cc70f1f1603ff1ef636f.svg";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-needs/index.svelte
/* src\views\hud\components\hud-player-needs\index.svelte generated by Svelte v3.49.0 */









function hud_player_needs_index_svelte_add_css(target) {
	append_styles(target, "svelte-zi173v", "@keyframes svelte-zi173v-blinking{50%{opacity:0}}@keyframes svelte-zi173v-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-zi173v-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-zi173v-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-zi173v-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-zi173v-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-zi173v-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-zi173v-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-zi173v-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-zi173v-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-zi173v-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-zi173v-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-zi173v-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-zi173v-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-zi173v-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.hud-player-needs.svelte-zi173v.svelte-zi173v{width:calc(0.15625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-player-needs.svelte-zi173v.svelte-zi173v{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-needs.svelte-zi173v.svelte-zi173v{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-needs.svelte-zi173v.svelte-zi173v{width:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-needs.svelte-zi173v.svelte-zi173v{width:calc(0.171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-needs.svelte-zi173v.svelte-zi173v{width:calc(0.109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-needs.svelte-zi173v.svelte-zi173v{width:calc(0.140625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-needs.svelte-zi173v.svelte-zi173v{width:calc(0.171875 * 100vw + 0px)}}.hud-player-needs__item.svelte-zi173v.svelte-zi173v{display:flex;align-items:center;margin-bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-player-needs__item.svelte-zi173v.svelte-zi173v{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-needs__item.svelte-zi173v.svelte-zi173v{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-needs__item.svelte-zi173v.svelte-zi173v{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-needs__item.svelte-zi173v.svelte-zi173v{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-needs__item.svelte-zi173v.svelte-zi173v{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-needs__item.svelte-zi173v.svelte-zi173v{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-needs__item.svelte-zi173v.svelte-zi173v{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.hud-player-needs__item-logo.svelte-zi173v.svelte-zi173v{height:calc(0.0104166667 * 100vw + 0px);margin-right:calc(0.0036458333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-player-needs__item-logo.svelte-zi173v.svelte-zi173v{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-needs__item-logo.svelte-zi173v.svelte-zi173v{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-needs__item-logo.svelte-zi173v.svelte-zi173v{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-needs__item-logo.svelte-zi173v.svelte-zi173v{height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-needs__item-logo.svelte-zi173v.svelte-zi173v{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-needs__item-logo.svelte-zi173v.svelte-zi173v{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-needs__item-logo.svelte-zi173v.svelte-zi173v{height:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-player-needs__item-logo.svelte-zi173v.svelte-zi173v{margin-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-needs__item-logo.svelte-zi173v.svelte-zi173v{margin-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-needs__item-logo.svelte-zi173v.svelte-zi173v{margin-right:calc(0.0028072917 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-needs__item-logo.svelte-zi173v.svelte-zi173v{margin-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-needs__item-logo.svelte-zi173v.svelte-zi173v{margin-right:calc(0.0025520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-needs__item-logo.svelte-zi173v.svelte-zi173v{margin-right:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-needs__item-logo.svelte-zi173v.svelte-zi173v{margin-right:calc(0.0040104167 * 100vw + 0px)}}.hud-player-needs__food.svelte-zi173v.svelte-zi173v,.hud-player-needs__breath.svelte-zi173v.svelte-zi173v{flex-grow:1;min-width:calc(0.0716145833 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-player-needs__food.svelte-zi173v.svelte-zi173v,.hud-player-needs__breath.svelte-zi173v.svelte-zi173v{min-width:calc(0.0716145833 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-needs__food.svelte-zi173v.svelte-zi173v,.hud-player-needs__breath.svelte-zi173v.svelte-zi173v{min-width:calc(0.0716145833 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-needs__food.svelte-zi173v.svelte-zi173v,.hud-player-needs__breath.svelte-zi173v.svelte-zi173v{min-width:calc(0.0551432292 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-needs__food.svelte-zi173v.svelte-zi173v,.hud-player-needs__breath.svelte-zi173v.svelte-zi173v{min-width:calc(0.0787760417 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-needs__food.svelte-zi173v.svelte-zi173v,.hud-player-needs__breath.svelte-zi173v.svelte-zi173v{min-width:calc(0.0501302083 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-needs__food.svelte-zi173v.svelte-zi173v,.hud-player-needs__breath.svelte-zi173v.svelte-zi173v{min-width:calc(0.064453125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-needs__food.svelte-zi173v.svelte-zi173v,.hud-player-needs__breath.svelte-zi173v.svelte-zi173v{min-width:calc(0.0787760417 * 100vw + 0px)}}.hud-player-needs__breath.svelte-zi173v.svelte-zi173v{display:none;margin-left:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-player-needs__breath.svelte-zi173v.svelte-zi173v{margin-left:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-needs__breath.svelte-zi173v.svelte-zi173v{margin-left:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-needs__breath.svelte-zi173v.svelte-zi173v{margin-left:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-needs__breath.svelte-zi173v.svelte-zi173v{margin-left:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-needs__breath.svelte-zi173v.svelte-zi173v{margin-left:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-needs__breath.svelte-zi173v.svelte-zi173v{margin-left:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-needs__breath.svelte-zi173v.svelte-zi173v{margin-left:calc(0.0028645833 * 100vw + 0px)}}.hud-player-needs__breath-wrapper.svelte-zi173v.svelte-zi173v{display:flex}.hud-player-needs__breath-wrapper.svelte-zi173v .hud-player-needs__item.svelte-zi173v{margin-bottom:0}.hud-player-needs__breath-wrapper.svelte-zi173v.svelte-zi173v:not(:last-child){margin-bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-player-needs__breath-wrapper.svelte-zi173v.svelte-zi173v:not(:last-child){margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-needs__breath-wrapper.svelte-zi173v.svelte-zi173v:not(:last-child){margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-needs__breath-wrapper.svelte-zi173v.svelte-zi173v:not(:last-child){margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-needs__breath-wrapper.svelte-zi173v.svelte-zi173v:not(:last-child){margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-needs__breath-wrapper.svelte-zi173v.svelte-zi173v:not(:last-child){margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-needs__breath-wrapper.svelte-zi173v.svelte-zi173v:not(:last-child){margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-needs__breath-wrapper.svelte-zi173v.svelte-zi173v:not(:last-child){margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.hud-player-needs__armor.svelte-zi173v.svelte-zi173v{margin-bottom:0}");
}

// (464:4) {#if $playerArmor}
function hud_player_needs_index_svelte_create_if_block(ctx) {
	let div;
	let img;
	let img_src_value;
	let t;
	let hudplayerneedsprogressbar;
	let current;

	hudplayerneedsprogressbar = new hud_player_needs_progressbar_index_svelte({
			props: {
				valueColor: "#5F99D7",
				percents: /*$playerArmor*/ ctx[2]
			}
		});

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			t = space();
			create_component(hudplayerneedsprogressbar.$$.fragment);
			attr(img, "class", "hud-player-needs__item-logo svelte-zi173v");
			if (!src_url_equal(img.src, img_src_value = armor_img_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "armorImage");
			attr(div, "class", "hud-player-needs__item hud-player-needs__armor svelte-zi173v");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
			append(div, t);
			mount_component(hudplayerneedsprogressbar, div, null);
			current = true;
		},
		p(ctx, dirty) {
			const hudplayerneedsprogressbar_changes = {};
			if (dirty & /*$playerArmor*/ 4) hudplayerneedsprogressbar_changes.percents = /*$playerArmor*/ ctx[2];
			hudplayerneedsprogressbar.$set(hudplayerneedsprogressbar_changes);
		},
		i(local) {
			if (current) return;
			transition_in(hudplayerneedsprogressbar.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(hudplayerneedsprogressbar.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(hudplayerneedsprogressbar);
		}
	};
}

function hud_player_needs_index_svelte_create_fragment(ctx) {
	let div4;
	let div0;
	let img0;
	let img0_src_value;
	let t0;
	let hudplayerneedsprogressbar0;
	let t1;
	let div3;
	let div1;
	let img1;
	let img1_src_value;
	let t2;
	let hudplayerneedsprogressbar1;
	let t3;
	let div2;
	let hudplayerneedsprogressbar2;
	let t4;
	let current;

	hudplayerneedsprogressbar0 = new hud_player_needs_progressbar_index_svelte({
			props: { percents: /*$playerHealth*/ ctx[0] }
		});

	hudplayerneedsprogressbar1 = new hud_player_needs_progressbar_index_svelte({
			props: {
				valueColor: "#F2C94C",
				percents: /*$playerFood*/ ctx[1]
			}
		});

	hudplayerneedsprogressbar2 = new hud_player_needs_progressbar_index_svelte({
			props: {
				valueColor: "#BABDBF",
				percents: /*$playerFood*/ ctx[1]
			}
		});

	let if_block = /*$playerArmor*/ ctx[2] && hud_player_needs_index_svelte_create_if_block(ctx);

	return {
		c() {
			div4 = internal_element("div");
			div0 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			create_component(hudplayerneedsprogressbar0.$$.fragment);
			t1 = space();
			div3 = internal_element("div");
			div1 = internal_element("div");
			img1 = internal_element("img");
			t2 = space();
			create_component(hudplayerneedsprogressbar1.$$.fragment);
			t3 = space();
			div2 = internal_element("div");
			create_component(hudplayerneedsprogressbar2.$$.fragment);
			t4 = space();
			if (if_block) if_block.c();
			attr(img0, "class", "hud-player-needs__item-logo svelte-zi173v");
			if (!src_url_equal(img0.src, img0_src_value = hp_img_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "hpImage");
			attr(div0, "class", "hud-player-needs__item svelte-zi173v");
			attr(img1, "class", "hud-player-needs__item-logo svelte-zi173v");
			if (!src_url_equal(img1.src, img1_src_value = food_img_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "foodImage");
			attr(div1, "class", "hud-player-needs__item hud-player-needs__food svelte-zi173v");
			attr(div2, "class", "hud-player-needs__item hud-player-needs__breath svelte-zi173v");
			attr(div3, "class", "hud-player-needs__breath-wrapper svelte-zi173v");
			attr(div4, "class", "hud-player-needs svelte-zi173v");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div0);
			append(div0, img0);
			append(div0, t0);
			mount_component(hudplayerneedsprogressbar0, div0, null);
			append(div4, t1);
			append(div4, div3);
			append(div3, div1);
			append(div1, img1);
			append(div1, t2);
			mount_component(hudplayerneedsprogressbar1, div1, null);
			append(div3, t3);
			append(div3, div2);
			mount_component(hudplayerneedsprogressbar2, div2, null);
			append(div4, t4);
			if (if_block) if_block.m(div4, null);
			current = true;
		},
		p(ctx, [dirty]) {
			const hudplayerneedsprogressbar0_changes = {};
			if (dirty & /*$playerHealth*/ 1) hudplayerneedsprogressbar0_changes.percents = /*$playerHealth*/ ctx[0];
			hudplayerneedsprogressbar0.$set(hudplayerneedsprogressbar0_changes);
			const hudplayerneedsprogressbar1_changes = {};
			if (dirty & /*$playerFood*/ 2) hudplayerneedsprogressbar1_changes.percents = /*$playerFood*/ ctx[1];
			hudplayerneedsprogressbar1.$set(hudplayerneedsprogressbar1_changes);
			const hudplayerneedsprogressbar2_changes = {};
			if (dirty & /*$playerFood*/ 2) hudplayerneedsprogressbar2_changes.percents = /*$playerFood*/ ctx[1];
			hudplayerneedsprogressbar2.$set(hudplayerneedsprogressbar2_changes);

			if (/*$playerArmor*/ ctx[2]) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*$playerArmor*/ 4) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = hud_player_needs_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(div4, null);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(hudplayerneedsprogressbar0.$$.fragment, local);
			transition_in(hudplayerneedsprogressbar1.$$.fragment, local);
			transition_in(hudplayerneedsprogressbar2.$$.fragment, local);
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(hudplayerneedsprogressbar0.$$.fragment, local);
			transition_out(hudplayerneedsprogressbar1.$$.fragment, local);
			transition_out(hudplayerneedsprogressbar2.$$.fragment, local);
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div4);
			destroy_component(hudplayerneedsprogressbar0);
			destroy_component(hudplayerneedsprogressbar1);
			destroy_component(hudplayerneedsprogressbar2);
			if (if_block) if_block.d();
		}
	};
}

function hud_player_needs_index_svelte_instance($$self, $$props, $$invalidate) {
	let $playerHealth;
	let $playerFood;
	let $playerArmor;
	component_subscribe($$self, playerHealth, $$value => $$invalidate(0, $playerHealth = $$value));
	component_subscribe($$self, playerFood, $$value => $$invalidate(1, $playerFood = $$value));
	component_subscribe($$self, playerArmor, $$value => $$invalidate(2, $playerArmor = $$value));
	return [$playerHealth, $playerFood, $playerArmor];
}

class Hud_player_needs extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, hud_player_needs_index_svelte_instance, hud_player_needs_index_svelte_create_fragment, safe_not_equal, {}, hud_player_needs_index_svelte_add_css);
	}
}

/* harmony default export */ const hud_player_needs_index_svelte = (Hud_player_needs);
;// CONCATENATED MODULE: ./node_modules/svelte/easing/index.mjs


/*
Adapted from https://github.com/mattdesl
Distributed under MIT License https://github.com/mattdesl/eases/blob/master/LICENSE.md
*/
function backInOut(t) {
    const s = 1.70158 * 1.525;
    if ((t *= 2) < 1)
        return 0.5 * (t * t * ((s + 1) * t - s));
    return 0.5 * ((t -= 2) * t * ((s + 1) * t + s) + 2);
}
function backIn(t) {
    const s = 1.70158;
    return t * t * ((s + 1) * t - s);
}
function backOut(t) {
    const s = 1.70158;
    return --t * t * ((s + 1) * t + s) + 1;
}
function bounceOut(t) {
    const a = 4.0 / 11.0;
    const b = 8.0 / 11.0;
    const c = 9.0 / 10.0;
    const ca = 4356.0 / 361.0;
    const cb = 35442.0 / 1805.0;
    const cc = 16061.0 / 1805.0;
    const t2 = t * t;
    return t < a
        ? 7.5625 * t2
        : t < b
            ? 9.075 * t2 - 9.9 * t + 3.4
            : t < c
                ? ca * t2 - cb * t + cc
                : 10.8 * t * t - 20.52 * t + 10.72;
}
function bounceInOut(t) {
    return t < 0.5
        ? 0.5 * (1.0 - bounceOut(1.0 - t * 2.0))
        : 0.5 * bounceOut(t * 2.0 - 1.0) + 0.5;
}
function bounceIn(t) {
    return 1.0 - bounceOut(1.0 - t);
}
function circInOut(t) {
    if ((t *= 2) < 1)
        return -0.5 * (Math.sqrt(1 - t * t) - 1);
    return 0.5 * (Math.sqrt(1 - (t -= 2) * t) + 1);
}
function circIn(t) {
    return 1.0 - Math.sqrt(1.0 - t * t);
}
function circOut(t) {
    return Math.sqrt(1 - --t * t);
}
function easing_cubicInOut(t) {
    return t < 0.5 ? 4.0 * t * t * t : 0.5 * Math.pow(2.0 * t - 2.0, 3.0) + 1.0;
}
function cubicIn(t) {
    return t * t * t;
}
function easing_cubicOut(t) {
    const f = t - 1.0;
    return f * f * f + 1.0;
}
function elasticInOut(t) {
    return t < 0.5
        ? 0.5 *
            Math.sin(((+13.0 * Math.PI) / 2) * 2.0 * t) *
            Math.pow(2.0, 10.0 * (2.0 * t - 1.0))
        : 0.5 *
            Math.sin(((-13.0 * Math.PI) / 2) * (2.0 * t - 1.0 + 1.0)) *
            Math.pow(2.0, -10.0 * (2.0 * t - 1.0)) +
            1.0;
}
function elasticIn(t) {
    return Math.sin((13.0 * t * Math.PI) / 2) * Math.pow(2.0, 10.0 * (t - 1.0));
}
function elasticOut(t) {
    return (Math.sin((-13.0 * (t + 1.0) * Math.PI) / 2) * Math.pow(2.0, -10.0 * t) + 1.0);
}
function expoInOut(t) {
    return t === 0.0 || t === 1.0
        ? t
        : t < 0.5
            ? +0.5 * Math.pow(2.0, 20.0 * t - 10.0)
            : -0.5 * Math.pow(2.0, 10.0 - t * 20.0) + 1.0;
}
function expoIn(t) {
    return t === 0.0 ? t : Math.pow(2.0, 10.0 * (t - 1.0));
}
function expoOut(t) {
    return t === 1.0 ? t : 1.0 - Math.pow(2.0, -10.0 * t);
}
function quadInOut(t) {
    t /= 0.5;
    if (t < 1)
        return 0.5 * t * t;
    t--;
    return -0.5 * (t * (t - 2) - 1);
}
function quadIn(t) {
    return t * t;
}
function quadOut(t) {
    return -t * (t - 2.0);
}
function quartInOut(t) {
    return t < 0.5
        ? +8.0 * Math.pow(t, 4.0)
        : -8.0 * Math.pow(t - 1.0, 4.0) + 1.0;
}
function quartIn(t) {
    return Math.pow(t, 4.0);
}
function quartOut(t) {
    return Math.pow(t - 1.0, 3.0) * (1.0 - t) + 1.0;
}
function quintInOut(t) {
    if ((t *= 2) < 1)
        return 0.5 * t * t * t * t * t;
    return 0.5 * ((t -= 2) * t * t * t * t + 2);
}
function quintIn(t) {
    return t * t * t * t * t;
}
function quintOut(t) {
    return --t * t * t * t * t + 1;
}
function sineInOut(t) {
    return -0.5 * (Math.cos(Math.PI * t) - 1);
}
function sineIn(t) {
    const v = Math.cos(t * Math.PI * 0.5);
    if (Math.abs(v) < 1e-14)
        return 1;
    else
        return 1 - v;
}
function sineOut(t) {
    return Math.sin((t * Math.PI) / 2);
}



;// CONCATENATED MODULE: ./node_modules/svelte/transition/index.mjs



/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */

function __rest(s, e) {
    var t = {};
    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
        t[p] = s[p];
    if (s != null && typeof Object.getOwnPropertySymbols === "function")
        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
            if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
                t[p[i]] = s[p[i]];
        }
    return t;
}

function transition_blur(node, { delay = 0, duration = 400, easing = easing_cubicInOut, amount = 5, opacity = 0 } = {}) {
    const style = getComputedStyle(node);
    const target_opacity = +style.opacity;
    const f = style.filter === 'none' ? '' : style.filter;
    const od = target_opacity * (1 - opacity);
    return {
        delay,
        duration,
        easing,
        css: (_t, u) => `opacity: ${target_opacity - (od * u)}; filter: ${f} blur(${u * amount}px);`
    };
}
function fade(node, { delay = 0, duration = 400, easing = identity } = {}) {
    const o = +getComputedStyle(node).opacity;
    return {
        delay,
        duration,
        easing,
        css: t => `opacity: ${t * o}`
    };
}
function fly(node, { delay = 0, duration = 400, easing = easing_cubicOut, x = 0, y = 0, opacity = 0 } = {}) {
    const style = getComputedStyle(node);
    const target_opacity = +style.opacity;
    const transform = style.transform === 'none' ? '' : style.transform;
    const od = target_opacity * (1 - opacity);
    return {
        delay,
        duration,
        easing,
        css: (t, u) => `
			transform: ${transform} translate(${(1 - t) * x}px, ${(1 - t) * y}px);
			opacity: ${target_opacity - (od * u)}`
    };
}
function slide(node, { delay = 0, duration = 400, easing = easing_cubicOut } = {}) {
    const style = getComputedStyle(node);
    const opacity = +style.opacity;
    const height = parseFloat(style.height);
    const padding_top = parseFloat(style.paddingTop);
    const padding_bottom = parseFloat(style.paddingBottom);
    const margin_top = parseFloat(style.marginTop);
    const margin_bottom = parseFloat(style.marginBottom);
    const border_top_width = parseFloat(style.borderTopWidth);
    const border_bottom_width = parseFloat(style.borderBottomWidth);
    return {
        delay,
        duration,
        easing,
        css: t => 'overflow: hidden;' +
            `opacity: ${Math.min(t * 20, 1) * opacity};` +
            `height: ${t * height}px;` +
            `padding-top: ${t * padding_top}px;` +
            `padding-bottom: ${t * padding_bottom}px;` +
            `margin-top: ${t * margin_top}px;` +
            `margin-bottom: ${t * margin_bottom}px;` +
            `border-top-width: ${t * border_top_width}px;` +
            `border-bottom-width: ${t * border_bottom_width}px;`
    };
}
function scale(node, { delay = 0, duration = 400, easing = easing_cubicOut, start = 0, opacity = 0 } = {}) {
    const style = getComputedStyle(node);
    const target_opacity = +style.opacity;
    const transform = style.transform === 'none' ? '' : style.transform;
    const sd = 1 - start;
    const od = target_opacity * (1 - opacity);
    return {
        delay,
        duration,
        easing,
        css: (_t, u) => `
			transform: ${transform} scale(${1 - (sd * u)});
			opacity: ${target_opacity - (od * u)}
		`
    };
}
function draw(node, { delay = 0, speed, duration, easing = cubicInOut } = {}) {
    let len = node.getTotalLength();
    const style = getComputedStyle(node);
    if (style.strokeLinecap !== 'butt') {
        len += parseInt(style.strokeWidth);
    }
    if (duration === undefined) {
        if (speed === undefined) {
            duration = 800;
        }
        else {
            duration = len / speed;
        }
    }
    else if (typeof duration === 'function') {
        duration = duration(len);
    }
    return {
        delay,
        duration,
        easing,
        css: (t, u) => `stroke-dasharray: ${t * len} ${u * len}`
    };
}
function crossfade(_a) {
    var { fallback } = _a, defaults = __rest(_a, ["fallback"]);
    const to_receive = new Map();
    const to_send = new Map();
    function crossfade(from, node, params) {
        const { delay = 0, duration = d => Math.sqrt(d) * 30, easing = cubicOut } = assign(assign({}, defaults), params);
        const to = node.getBoundingClientRect();
        const dx = from.left - to.left;
        const dy = from.top - to.top;
        const dw = from.width / to.width;
        const dh = from.height / to.height;
        const d = Math.sqrt(dx * dx + dy * dy);
        const style = getComputedStyle(node);
        const transform = style.transform === 'none' ? '' : style.transform;
        const opacity = +style.opacity;
        return {
            delay,
            duration: is_function(duration) ? duration(d) : duration,
            easing,
            css: (t, u) => `
				opacity: ${t * opacity};
				transform-origin: top left;
				transform: ${transform} translate(${u * dx}px,${u * dy}px) scale(${t + (1 - t) * dw}, ${t + (1 - t) * dh});
			`
        };
    }
    function transition(items, counterparts, intro) {
        return (node, params) => {
            items.set(params.key, {
                rect: node.getBoundingClientRect()
            });
            return () => {
                if (counterparts.has(params.key)) {
                    const { rect } = counterparts.get(params.key);
                    counterparts.delete(params.key);
                    return crossfade(rect, node, params);
                }
                // if the node is disappearing altogether
                // (i.e. wasn't claimed by the other list)
                // then we need to supply an outro
                items.delete(params.key);
                return fallback && fallback(node, params, intro);
            };
        };
    }
    return [
        transition(to_send, to_receive, false),
        transition(to_receive, to_send, true)
    ];
}



;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-money/index.svelte
/* src\views\hud\components\hud-player-money\index.svelte generated by Svelte v3.49.0 */








function hud_player_money_index_svelte_add_css(target) {
	append_styles(target, "svelte-1g0x6fi", "@keyframes svelte-1g0x6fi-blinking{50%{opacity:0}}@keyframes svelte-1g0x6fi-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1g0x6fi-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1g0x6fi-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1g0x6fi-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1g0x6fi-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1g0x6fi-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1g0x6fi-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1g0x6fi-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1g0x6fi-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1g0x6fi-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1g0x6fi-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1g0x6fi-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1g0x6fi-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1g0x6fi-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.hud-player-money.svelte-1g0x6fi{display:flex;align-items:center}.hud-player-money__cash.svelte-1g0x6fi{font-family:\"GothamPro-Medium\";font-size:calc(0.0088541667 * 100vw + 0px);margin-right:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-player-money__cash.svelte-1g0x6fi{font-size:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-money__cash.svelte-1g0x6fi{font-size:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-money__cash.svelte-1g0x6fi{font-size:calc(0.0068177083 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-money__cash.svelte-1g0x6fi{font-size:calc(0.0097395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-money__cash.svelte-1g0x6fi{font-size:calc(0.0061979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-money__cash.svelte-1g0x6fi{font-size:calc(0.00796875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-money__cash.svelte-1g0x6fi{font-size:calc(0.0097395833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-player-money__cash.svelte-1g0x6fi{margin-right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-money__cash.svelte-1g0x6fi{margin-right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-money__cash.svelte-1g0x6fi{margin-right:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-money__cash.svelte-1g0x6fi{margin-right:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-money__cash.svelte-1g0x6fi{margin-right:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-money__cash.svelte-1g0x6fi{margin-right:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-money__cash.svelte-1g0x6fi{margin-right:calc(0.00859375 * 100vw + 0px)}}.hud-player-money__cash--funding.svelte-1g0x6fi{color:#BDFF2F}.hud-player-money__cash--withdrawl.svelte-1g0x6fi{color:#E00000}.hud-player-money__cash-decorative.svelte-1g0x6fi{font-family:\"Gill Sans\", \"Gill Sans MT\", Calibri, \"Trebuchet MS\", sans-serif;font-size:calc(0.0098958333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-player-money__cash-decorative.svelte-1g0x6fi{font-size:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-money__cash-decorative.svelte-1g0x6fi{font-size:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-money__cash-decorative.svelte-1g0x6fi{font-size:calc(0.0076197917 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-money__cash-decorative.svelte-1g0x6fi{font-size:calc(0.0108854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-money__cash-decorative.svelte-1g0x6fi{font-size:calc(0.0069270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-money__cash-decorative.svelte-1g0x6fi{font-size:calc(0.00890625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-money__cash-decorative.svelte-1g0x6fi{font-size:calc(0.0108854167 * 100vw + 0px)}}.hud-player-money__title.svelte-1g0x6fi{font-family:\"GothamPro-Bold\";font-size:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-player-money__title.svelte-1g0x6fi{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-money__title.svelte-1g0x6fi{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-money__title.svelte-1g0x6fi{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-money__title.svelte-1g0x6fi{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-money__title.svelte-1g0x6fi{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-money__title.svelte-1g0x6fi{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-money__title.svelte-1g0x6fi{font-size:calc(0.0183333333 * 100vw + 0px)}}.hud-player-money__title-decorative.svelte-1g0x6fi{font-family:\"Gill Sans\", \"Gill Sans MT\", Calibri, \"Trebuchet MS\", sans-serif;font-weight:700;color:#BABDBF;font-size:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-player-money__title-decorative.svelte-1g0x6fi{font-size:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-money__title-decorative.svelte-1g0x6fi{font-size:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-money__title-decorative.svelte-1g0x6fi{font-size:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-money__title-decorative.svelte-1g0x6fi{font-size:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-money__title-decorative.svelte-1g0x6fi{font-size:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-money__title-decorative.svelte-1g0x6fi{font-size:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-money__title-decorative.svelte-1g0x6fi{font-size:calc(0.0200520833 * 100vw + 0px)}}");
}

// (401:4) {#if moneyChange !== 0}
function hud_player_money_index_svelte_create_if_block(ctx) {
	let p;
	let t0_value = (/*moneyChange*/ ctx[1] > 0 ? '+' : '-') + "";
	let t0;
	let t1;
	let t2_value = formatMoney(Math.abs(/*moneyChange*/ ctx[1])) + "";
	let t2;
	let t3;
	let span;
	let p_transition;
	let current;

	return {
		c() {
			p = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			t2 = internal_text(t2_value);
			t3 = space();
			span = internal_element("span");
			span.textContent = "₽";
			attr(span, "class", "hud-player-money__cash-decorative svelte-1g0x6fi");
			attr(p, "class", "hud-player-money__cash svelte-1g0x6fi");
			toggle_class(p, "hud-player-money__cash--funding", /*moneyChange*/ ctx[1] > 0);
			toggle_class(p, "hud-player-money__cash--withdrawl", /*moneyChange*/ ctx[1] < 0);
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t0);
			append(p, t1);
			append(p, t2);
			append(p, t3);
			append(p, span);
			current = true;
		},
		p(ctx, dirty) {
			if ((!current || dirty & /*moneyChange*/ 2) && t0_value !== (t0_value = (/*moneyChange*/ ctx[1] > 0 ? '+' : '-') + "")) set_data(t0, t0_value);
			if ((!current || dirty & /*moneyChange*/ 2) && t2_value !== (t2_value = formatMoney(Math.abs(/*moneyChange*/ ctx[1])) + "")) set_data(t2, t2_value);

			if (dirty & /*moneyChange*/ 2) {
				toggle_class(p, "hud-player-money__cash--funding", /*moneyChange*/ ctx[1] > 0);
			}

			if (dirty & /*moneyChange*/ 2) {
				toggle_class(p, "hud-player-money__cash--withdrawl", /*moneyChange*/ ctx[1] < 0);
			}
		},
		i(local) {
			if (current) return;

			add_render_callback(() => {
				if (!p_transition) p_transition = create_bidirectional_transition(p, fade, { duration: 200 }, true);
				p_transition.run(1);
			});

			current = true;
		},
		o(local) {
			if (!p_transition) p_transition = create_bidirectional_transition(p, fade, { duration: 200 }, false);
			p_transition.run(0);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(p);
			if (detaching && p_transition) p_transition.end();
		}
	};
}

function hud_player_money_index_svelte_create_fragment(ctx) {
	let div;
	let t0;
	let p;
	let t1_value = formatMoney(/*$playerMoney*/ ctx[0]) + "";
	let t1;
	let t2;
	let span;
	let current;
	let if_block = /*moneyChange*/ ctx[1] !== 0 && hud_player_money_index_svelte_create_if_block(ctx);

	return {
		c() {
			div = internal_element("div");
			if (if_block) if_block.c();
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			span = internal_element("span");
			span.textContent = "₽";
			attr(span, "class", "hud-player-money__title-decorative svelte-1g0x6fi");
			attr(p, "class", "hud-player-money__title svelte-1g0x6fi");
			attr(div, "class", "hud-player-money svelte-1g0x6fi");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block) if_block.m(div, null);
			append(div, t0);
			append(div, p);
			append(p, t1);
			append(p, t2);
			append(p, span);
			current = true;
		},
		p(ctx, [dirty]) {
			if (/*moneyChange*/ ctx[1] !== 0) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*moneyChange*/ 2) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = hud_player_money_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(div, t0);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}

			if ((!current || dirty & /*$playerMoney*/ 1) && t1_value !== (t1_value = formatMoney(/*$playerMoney*/ ctx[0]) + "")) set_data(t1, t1_value);
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (if_block) if_block.d();
		}
	};
}

function hud_player_money_index_svelte_instance($$self, $$props, $$invalidate) {
	let $playerMoney;
	component_subscribe($$self, playerMoney, $$value => $$invalidate(0, $playerMoney = $$value));
	let cachedMoney = 0;
	let moneyChange = 0;
	let moneyChangeTimer;

	onDestroy(() => {
		if (!(0,lodash.isNil)(moneyChangeTimer)) {
			clearTimeout(moneyChangeTimer);
		}
	});

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*cachedMoney, $playerMoney, moneyChangeTimer*/ 13) {
			$: {
				if (cachedMoney !== $playerMoney) {
					if (!(0,lodash.isNil)(moneyChangeTimer)) {
						clearTimeout(moneyChangeTimer);
						$$invalidate(3, moneyChangeTimer = null);
					}

					$$invalidate(1, moneyChange = $playerMoney - cachedMoney);
					$$invalidate(2, cachedMoney = $playerMoney);

					$$invalidate(3, moneyChangeTimer = setTimeout(
						() => {
							$$invalidate(3, moneyChangeTimer = null);
							$$invalidate(1, moneyChange = 0);
						},
						5000
					));
				}
			}
		}
	};

	return [$playerMoney, moneyChange, cachedMoney, moneyChangeTimer];
}

class Hud_player_money extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, hud_player_money_index_svelte_instance, hud_player_money_index_svelte_create_fragment, safe_not_equal, {}, hud_player_money_index_svelte_add_css);
	}
}

/* harmony default export */ const hud_player_money_index_svelte = (Hud_player_money);
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-wanted/img/wanted-star.svg
const wanted_star_namespaceObject = __webpack_require__.p + "assets/e251102ab07a6bf09144.svg";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-player-wanted/index.svelte
/* src\views\hud\components\hud-player-wanted\index.svelte generated by Svelte v3.49.0 */





function hud_player_wanted_index_svelte_add_css(target) {
	append_styles(target, "svelte-vemogc", "@keyframes svelte-vemogc-blinking{50%{opacity:0}}@keyframes svelte-vemogc-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-vemogc-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-vemogc-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-vemogc-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-vemogc-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-vemogc-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-vemogc-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-vemogc-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-vemogc-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-vemogc-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-vemogc-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-vemogc-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-vemogc-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-vemogc-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.hud-player-wanted.svelte-vemogc{display:flex;align-items:center;margin-top:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-player-wanted.svelte-vemogc{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-wanted.svelte-vemogc{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-wanted.svelte-vemogc{margin-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-wanted.svelte-vemogc{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-wanted.svelte-vemogc{margin-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-wanted.svelte-vemogc{margin-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-wanted.svelte-vemogc{margin-top:calc(0.0143229167 * 100vw + 0px)}}.hud-player-wanted__star-wrapper.svelte-vemogc{display:flex;justify-content:center;align-items:center}.hud-player-wanted__star-logo.svelte-vemogc{position:absolute;width:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-player-wanted__star-logo.svelte-vemogc{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-wanted__star-logo.svelte-vemogc{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-wanted__star-logo.svelte-vemogc{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-wanted__star-logo.svelte-vemogc{width:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-wanted__star-logo.svelte-vemogc{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-wanted__star-logo.svelte-vemogc{width:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-wanted__star-logo.svelte-vemogc{width:calc(0.0286458333 * 100vw + 0px)}}.hud-player-wanted__star-amount.svelte-vemogc{position:absolute;font-family:\"GothamPro-Bold\";font-size:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-player-wanted__star-amount.svelte-vemogc{font-size:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-wanted__star-amount.svelte-vemogc{font-size:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-wanted__star-amount.svelte-vemogc{font-size:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-wanted__star-amount.svelte-vemogc{font-size:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-wanted__star-amount.svelte-vemogc{font-size:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-wanted__star-amount.svelte-vemogc{font-size:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-wanted__star-amount.svelte-vemogc{font-size:calc(0.0200520833 * 100vw + 0px)}}.hud-player-wanted__title.svelte-vemogc{font-family:\"GothamPro-Medium\";background-color:rgba(32, 39, 49, 0.35);font-size:calc(0.0078125 * 100vw + 0px);padding:calc(0.0041666667 * 100vw + 0px);padding-left:calc(0.0140625 * 100vw + 0px);margin-left:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-player-wanted__title.svelte-vemogc{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-wanted__title.svelte-vemogc{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-wanted__title.svelte-vemogc{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-wanted__title.svelte-vemogc{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-wanted__title.svelte-vemogc{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-wanted__title.svelte-vemogc{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-wanted__title.svelte-vemogc{font-size:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-player-wanted__title.svelte-vemogc{padding:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-wanted__title.svelte-vemogc{padding:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-wanted__title.svelte-vemogc{padding:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-wanted__title.svelte-vemogc{padding:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-wanted__title.svelte-vemogc{padding:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-wanted__title.svelte-vemogc{padding:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-wanted__title.svelte-vemogc{padding:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-player-wanted__title.svelte-vemogc{padding-left:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-wanted__title.svelte-vemogc{padding-left:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-wanted__title.svelte-vemogc{padding-left:calc(0.010828125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-wanted__title.svelte-vemogc{padding-left:calc(0.01546875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-wanted__title.svelte-vemogc{padding-left:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-wanted__title.svelte-vemogc{padding-left:calc(0.01265625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-wanted__title.svelte-vemogc{padding-left:calc(0.01546875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-player-wanted__title.svelte-vemogc{margin-left:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-player-wanted__title.svelte-vemogc{margin-left:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-player-wanted__title.svelte-vemogc{margin-left:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-player-wanted__title.svelte-vemogc{margin-left:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-player-wanted__title.svelte-vemogc{margin-left:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-player-wanted__title.svelte-vemogc{margin-left:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-player-wanted__title.svelte-vemogc{margin-left:calc(0.0022916667 * 100vw + 0px)}}");
}

// (438:0) {#if $playerWanted > 0}
function hud_player_wanted_index_svelte_create_if_block(ctx) {
	let div1;
	let div0;
	let img;
	let img_src_value;
	let t0;
	let span;
	let t1;
	let t2;
	let p;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			span = internal_element("span");
			t1 = internal_text(/*$playerWanted*/ ctx[0]);
			t2 = space();
			p = internal_element("p");
			p.textContent = "ВЫ В РОЗЫСКЕ!";
			attr(img, "class", "hud-player-wanted__star-logo svelte-vemogc");
			if (!src_url_equal(img.src, img_src_value = wanted_star_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "starIcon");
			attr(span, "class", "hud-player-wanted__star-amount svelte-vemogc");
			attr(div0, "class", "hud-player-wanted__star-wrapper svelte-vemogc");
			attr(p, "class", "hud-player-wanted__title svelte-vemogc");
			attr(div1, "class", "hud-player-wanted svelte-vemogc");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, img);
			append(div0, t0);
			append(div0, span);
			append(span, t1);
			append(div1, t2);
			append(div1, p);
		},
		p(ctx, dirty) {
			if (dirty & /*$playerWanted*/ 1) set_data(t1, /*$playerWanted*/ ctx[0]);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

function hud_player_wanted_index_svelte_create_fragment(ctx) {
	let if_block_anchor;
	let if_block = /*$playerWanted*/ ctx[0] > 0 && hud_player_wanted_index_svelte_create_if_block(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
		},
		p(ctx, [dirty]) {
			if (/*$playerWanted*/ ctx[0] > 0) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = hud_player_wanted_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

function hud_player_wanted_index_svelte_instance($$self, $$props, $$invalidate) {
	let $playerWanted;
	component_subscribe($$self, playerWanted, $$value => $$invalidate(0, $playerWanted = $$value));
	return [$playerWanted];
}

class Hud_player_wanted extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, hud_player_wanted_index_svelte_instance, hud_player_wanted_index_svelte_create_fragment, safe_not_equal, {}, hud_player_wanted_index_svelte_add_css);
	}
}

/* harmony default export */ const hud_player_wanted_index_svelte = (Hud_player_wanted);
;// CONCATENATED MODULE: ./src/views/hud/components/hud-hint/index.svelte
/* src\views\hud\components\hud-hint\index.svelte generated by Svelte v3.49.0 */




function hud_hint_index_svelte_add_css(target) {
	append_styles(target, "svelte-2sm9e6", "@keyframes svelte-2sm9e6-blinking{50%{opacity:0}}@keyframes svelte-2sm9e6-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-2sm9e6-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-2sm9e6-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-2sm9e6-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-2sm9e6-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-2sm9e6-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-2sm9e6-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-2sm9e6-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-2sm9e6-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-2sm9e6-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-2sm9e6-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-2sm9e6-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-2sm9e6-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-2sm9e6-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.hud-hint.svelte-2sm9e6{display:flex;flex-direction:column;position:absolute;color:#FFFFFF;top:calc(0.2604166667 * 100vw + 0px);right:calc(0.015625 * 100vw + 0px);width:calc(0.15625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-hint.svelte-2sm9e6{top:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-hint.svelte-2sm9e6{top:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-hint.svelte-2sm9e6{top:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-hint.svelte-2sm9e6{top:calc(0.2864583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-hint.svelte-2sm9e6{top:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-hint.svelte-2sm9e6{top:calc(0.234375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-hint.svelte-2sm9e6{top:calc(0.2864583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-hint.svelte-2sm9e6{right:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-hint.svelte-2sm9e6{right:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-hint.svelte-2sm9e6{right:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-hint.svelte-2sm9e6{right:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-hint.svelte-2sm9e6{right:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-hint.svelte-2sm9e6{right:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-hint.svelte-2sm9e6{right:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-hint.svelte-2sm9e6{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-hint.svelte-2sm9e6{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-hint.svelte-2sm9e6{width:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-hint.svelte-2sm9e6{width:calc(0.171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-hint.svelte-2sm9e6{width:calc(0.109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-hint.svelte-2sm9e6{width:calc(0.140625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-hint.svelte-2sm9e6{width:calc(0.171875 * 100vw + 0px)}}.hud-hint__item.svelte-2sm9e6{display:flex;align-items:center}.hud-hint__item.svelte-2sm9e6:not(:first-child){margin-top:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-hint__item.svelte-2sm9e6:not(:first-child){margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-hint__item.svelte-2sm9e6:not(:first-child){margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-hint__item.svelte-2sm9e6:not(:first-child){margin-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-hint__item.svelte-2sm9e6:not(:first-child){margin-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-hint__item.svelte-2sm9e6:not(:first-child){margin-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-hint__item.svelte-2sm9e6:not(:first-child){margin-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-hint__item.svelte-2sm9e6:not(:first-child){margin-top:calc(0.0057291667 * 100vw + 0px)}}.hud-hint__item-button-wrapper.svelte-2sm9e6{display:flex}.hud-hint__item-button.svelte-2sm9e6{display:flex;align-items:center;justify-content:center;background-color:rgba(32, 39, 49, 0.35);font-family:\"GothamPro-Medium\";font-size:calc(0.00625 * 100vw + 0px);width:calc(0.0130208333 * 100vw + 0px);height:calc(0.0130208333 * 100vw + 0px);border-radius:calc(0.0026041667 * 100vw + 0px);margin-right:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-hint__item-button.svelte-2sm9e6{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-hint__item-button.svelte-2sm9e6{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-hint__item-button.svelte-2sm9e6{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-hint__item-button.svelte-2sm9e6{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-hint__item-button.svelte-2sm9e6{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-hint__item-button.svelte-2sm9e6{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-hint__item-button.svelte-2sm9e6{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-hint__item-button.svelte-2sm9e6{width:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-hint__item-button.svelte-2sm9e6{width:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-hint__item-button.svelte-2sm9e6{width:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.hud-hint__item-button.svelte-2sm9e6{width:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-hint__item-button.svelte-2sm9e6{width:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-hint__item-button.svelte-2sm9e6{width:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-hint__item-button.svelte-2sm9e6{width:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-hint__item-button.svelte-2sm9e6{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-hint__item-button.svelte-2sm9e6{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-hint__item-button.svelte-2sm9e6{height:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.hud-hint__item-button.svelte-2sm9e6{height:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-hint__item-button.svelte-2sm9e6{height:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-hint__item-button.svelte-2sm9e6{height:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-hint__item-button.svelte-2sm9e6{height:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-hint__item-button.svelte-2sm9e6{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-hint__item-button.svelte-2sm9e6{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-hint__item-button.svelte-2sm9e6{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.hud-hint__item-button.svelte-2sm9e6{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-hint__item-button.svelte-2sm9e6{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-hint__item-button.svelte-2sm9e6{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-hint__item-button.svelte-2sm9e6{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-hint__item-button.svelte-2sm9e6{margin-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-hint__item-button.svelte-2sm9e6{margin-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-hint__item-button.svelte-2sm9e6{margin-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-hint__item-button.svelte-2sm9e6{margin-right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-hint__item-button.svelte-2sm9e6{margin-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-hint__item-button.svelte-2sm9e6{margin-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-hint__item-button.svelte-2sm9e6{margin-right:calc(0.0057291667 * 100vw + 0px)}}.hud-hint__item-button.svelte-2sm9e6:not(:first-child){margin-right:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-hint__item-button.svelte-2sm9e6:not(:first-child){margin-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-hint__item-button.svelte-2sm9e6:not(:first-child){margin-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-hint__item-button.svelte-2sm9e6:not(:first-child){margin-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-hint__item-button.svelte-2sm9e6:not(:first-child){margin-right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-hint__item-button.svelte-2sm9e6:not(:first-child){margin-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-hint__item-button.svelte-2sm9e6:not(:first-child){margin-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-hint__item-button.svelte-2sm9e6:not(:first-child){margin-right:calc(0.0057291667 * 100vw + 0px)}}.hud-hint__item-button.svelte-2sm9e6:not(:last-child){margin-right:calc(0.0036458333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-hint__item-button.svelte-2sm9e6:not(:last-child){margin-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-hint__item-button.svelte-2sm9e6:not(:last-child){margin-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-hint__item-button.svelte-2sm9e6:not(:last-child){margin-right:calc(0.0028072917 * 100vw + 0px)}}@media(min-width: 3440px){.hud-hint__item-button.svelte-2sm9e6:not(:last-child){margin-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-hint__item-button.svelte-2sm9e6:not(:last-child){margin-right:calc(0.0025520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-hint__item-button.svelte-2sm9e6:not(:last-child){margin-right:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-hint__item-button.svelte-2sm9e6:not(:last-child){margin-right:calc(0.0040104167 * 100vw + 0px)}}.hud-hint__item-button--flexible-width.svelte-2sm9e6{width:fit-content;padding-left:calc(0.0036458333 * 100vw + 0px);padding-right:calc(0.0036458333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-hint__item-button--flexible-width.svelte-2sm9e6{padding-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-hint__item-button--flexible-width.svelte-2sm9e6{padding-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-hint__item-button--flexible-width.svelte-2sm9e6{padding-left:calc(0.0028072917 * 100vw + 0px)}}@media(min-width: 3440px){.hud-hint__item-button--flexible-width.svelte-2sm9e6{padding-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-hint__item-button--flexible-width.svelte-2sm9e6{padding-left:calc(0.0025520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-hint__item-button--flexible-width.svelte-2sm9e6{padding-left:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-hint__item-button--flexible-width.svelte-2sm9e6{padding-left:calc(0.0040104167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-hint__item-button--flexible-width.svelte-2sm9e6{padding-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-hint__item-button--flexible-width.svelte-2sm9e6{padding-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-hint__item-button--flexible-width.svelte-2sm9e6{padding-right:calc(0.0028072917 * 100vw + 0px)}}@media(min-width: 3440px){.hud-hint__item-button--flexible-width.svelte-2sm9e6{padding-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-hint__item-button--flexible-width.svelte-2sm9e6{padding-right:calc(0.0025520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-hint__item-button--flexible-width.svelte-2sm9e6{padding-right:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-hint__item-button--flexible-width.svelte-2sm9e6{padding-right:calc(0.0040104167 * 100vw + 0px)}}.hud-hint__item-title.svelte-2sm9e6{font-family:\"GothamPro-Light\";text-shadow:calc(0 * 100vw + 0px) calc(0.0010416667 * 100vw + 0px) calc(0.0015625 * 100vw + 0px) #111111;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-hint__item-title.svelte-2sm9e6{text-shadow:calc(0 * 100vw + 0px) calc(0.0010416667 * 100vw + 0px) calc(0.0015625 * 100vw + 0px) #111111}}@media(min-width: 2560px) and (max-height: 1440px){.hud-hint__item-title.svelte-2sm9e6{text-shadow:calc(0 * 100vw + 0px) calc(0.0010416667 * 100vw + 0px) calc(0.0015625 * 100vw + 0px) #111111}}@media(min-width: 2560px) and (max-height: 1080px){.hud-hint__item-title.svelte-2sm9e6{text-shadow:calc(0 * 100vw + 0px) calc(0.0008020833 * 100vw + 0px) calc(0.001203125 * 100vw + 0px) #111111}}@media(min-width: 3440px){.hud-hint__item-title.svelte-2sm9e6{text-shadow:calc(0 * 100vw + 0px) calc(0.0011458333 * 100vw + 0px) calc(0.00171875 * 100vw + 0px) #111111}}@media(min-width: 3440px) and (max-height: 1440px){.hud-hint__item-title.svelte-2sm9e6{text-shadow:calc(0 * 100vw + 0px) calc(0.0007291667 * 100vw + 0px) calc(0.00109375 * 100vw + 0px) #111111}}@media(min-width: 3840px) and (max-height: 2160px){.hud-hint__item-title.svelte-2sm9e6{text-shadow:calc(0 * 100vw + 0px) calc(0.0009375 * 100vw + 0px) calc(0.00140625 * 100vw + 0px) #111111}}@media(min-width: 4096px){.hud-hint__item-title.svelte-2sm9e6{text-shadow:calc(0 * 100vw + 0px) calc(0.0011458333 * 100vw + 0px) calc(0.00171875 * 100vw + 0px) #111111}}@media(max-width: 1920px) and (max-height: 768px){.hud-hint__item-title.svelte-2sm9e6{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-hint__item-title.svelte-2sm9e6{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-hint__item-title.svelte-2sm9e6{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-hint__item-title.svelte-2sm9e6{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-hint__item-title.svelte-2sm9e6{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-hint__item-title.svelte-2sm9e6{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.hud-hint__item-title.svelte-2sm9e6{font-size:calc(0.0091666667 * 100vw + 0px)}}");
}

function index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[1] = list[i];
	return child_ctx;
}

function get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[4] = list[i];
	return child_ctx;
}

// (753:16) {#each hint.key.includes(',') ? hint.key.split(',') : [hint.key] as key}
function create_each_block_1(ctx) {
	let p;
	let t0_value = /*key*/ ctx[4] + "";
	let t0;
	let t1;

	return {
		c() {
			p = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			attr(p, "class", "hud-hint__item-button svelte-2sm9e6");
			set_style(p, "color", /*hint*/ ctx[1].keyColor ? '#000000' : '#FFFFFF');

			set_style(p, "background-color", /*hint*/ ctx[1].keyColor && /*hint*/ ctx[1].keyColor.toUpperCase() !== 'FFFFFF'
			? darkenColor(/*hint*/ ctx[1].keyColor)
			: DEFAULT_BG);

			toggle_class(p, "hud-hint__item-button--flexible-width", /*key*/ ctx[4].length > 1);
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t0);
			append(p, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*$playerKeysHint*/ 1 && t0_value !== (t0_value = /*key*/ ctx[4] + "")) set_data(t0, t0_value);

			if (dirty & /*$playerKeysHint*/ 1) {
				set_style(p, "color", /*hint*/ ctx[1].keyColor ? '#000000' : '#FFFFFF');
			}

			if (dirty & /*$playerKeysHint*/ 1) {
				set_style(p, "background-color", /*hint*/ ctx[1].keyColor && /*hint*/ ctx[1].keyColor.toUpperCase() !== 'FFFFFF'
				? darkenColor(/*hint*/ ctx[1].keyColor)
				: DEFAULT_BG);
			}

			if (dirty & /*$playerKeysHint*/ 1) {
				toggle_class(p, "hud-hint__item-button--flexible-width", /*key*/ ctx[4].length > 1);
			}
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (750:4) {#each $playerKeysHint as hint}
function index_svelte_create_each_block(ctx) {
	let div1;
	let div0;
	let t0;
	let p;
	let t1_value = /*hint*/ ctx[1].text + "";
	let t1;
	let t2;

	let each_value_1 = /*hint*/ ctx[1].key.includes(',')
	? /*hint*/ ctx[1].key.split(',')
	: [/*hint*/ ctx[1].key];

	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = create_each_block_1(get_each_context_1(ctx, each_value_1, i));
	}

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(div0, "class", "hud-hint__item-button-wrapper svelte-2sm9e6");
			attr(p, "class", "hud-hint__item-title svelte-2sm9e6");
			attr(div1, "class", "hud-hint__item svelte-2sm9e6");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			append(div1, t0);
			append(div1, p);
			append(p, t1);
			append(div1, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*$playerKeysHint, darkenColor, DEFAULT_BG*/ 1) {
				each_value_1 = /*hint*/ ctx[1].key.includes(',')
				? /*hint*/ ctx[1].key.split(',')
				: [/*hint*/ ctx[1].key];

				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div0, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}

			if (dirty & /*$playerKeysHint*/ 1 && t1_value !== (t1_value = /*hint*/ ctx[1].text + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
			destroy_each(each_blocks, detaching);
		}
	};
}

function hud_hint_index_svelte_create_fragment(ctx) {
	let div;
	let each_value = /*$playerKeysHint*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = index_svelte_create_each_block(index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "hud-hint svelte-2sm9e6");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*$playerKeysHint, darkenColor, DEFAULT_BG*/ 1) {
				each_value = /*$playerKeysHint*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

const DEFAULT_BG = 'rgba(32, 39, 49, 0.35)';

function darkenColor(hex) {
	if (hex.toUpperCase() === 'FFFFFF') {
		return DEFAULT_BG;
	}

	const r = Math.floor(parseInt(hex.substring(0, 2), 16));
	const g = Math.floor(parseInt(hex.substring(2, 4), 16));
	const b = Math.floor(parseInt(hex.substring(4, 6), 16));
	return `rgba(${r}, ${g}, ${b}, 1)`;
}

function hud_hint_index_svelte_instance($$self, $$props, $$invalidate) {
	let $playerKeysHint;
	component_subscribe($$self, playerKeysHint, $$value => $$invalidate(0, $playerKeysHint = $$value));
	return [$playerKeysHint];
}

class Hud_hint extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, hud_hint_index_svelte_instance, hud_hint_index_svelte_create_fragment, safe_not_equal, {}, hud_hint_index_svelte_add_css);
	}
}

/* harmony default export */ const hud_hint_index_svelte = (Hud_hint);
;// CONCATENATED MODULE: ./src/views/hud/components/hud-quests/img/completed-img.svg
const completed_img_namespaceObject = __webpack_require__.p + "assets/2a32c159db99c0768bed.svg";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-quests/index.svelte
/* src\views\hud\components\hud-quests\index.svelte generated by Svelte v3.49.0 */





function hud_quests_index_svelte_add_css(target) {
	append_styles(target, "svelte-dr4djb", "@keyframes svelte-dr4djb-blinking{50%{opacity:0}}@keyframes svelte-dr4djb-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-dr4djb-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-dr4djb-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-dr4djb-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-dr4djb-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-dr4djb-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-dr4djb-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-dr4djb-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-dr4djb-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-dr4djb-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-dr4djb-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-dr4djb-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-dr4djb-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-dr4djb-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.hud-quests.svelte-dr4djb{display:flex;flex-direction:column;align-items:center;width:calc(0.1822916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-quests.svelte-dr4djb{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-quests.svelte-dr4djb{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-quests.svelte-dr4djb{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-quests.svelte-dr4djb{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-quests.svelte-dr4djb{width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-quests.svelte-dr4djb{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-quests.svelte-dr4djb{width:calc(0.2005208333 * 100vw + 0px)}}.hud-quests__item.svelte-dr4djb{margin-bottom:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-quests__item.svelte-dr4djb{margin-bottom:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-quests__item.svelte-dr4djb{margin-bottom:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-quests__item.svelte-dr4djb{margin-bottom:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-quests__item.svelte-dr4djb{margin-bottom:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-quests__item.svelte-dr4djb{margin-bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-quests__item.svelte-dr4djb{margin-bottom:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-quests__item.svelte-dr4djb{margin-bottom:calc(0.0171875 * 100vw + 0px)}}.hud-quests__title.svelte-dr4djb{color:#FFFFFF;font-family:\"GothamPro-Medium\";font-size:calc(0.0083333333 * 100vw + 0px);margin-bottom:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-quests__title.svelte-dr4djb{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-quests__title.svelte-dr4djb{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-quests__title.svelte-dr4djb{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-quests__title.svelte-dr4djb{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-quests__title.svelte-dr4djb{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-quests__title.svelte-dr4djb{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.hud-quests__title.svelte-dr4djb{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-quests__title.svelte-dr4djb{margin-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-quests__title.svelte-dr4djb{margin-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-quests__title.svelte-dr4djb{margin-bottom:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-quests__title.svelte-dr4djb{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-quests__title.svelte-dr4djb{margin-bottom:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-quests__title.svelte-dr4djb{margin-bottom:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-quests__title.svelte-dr4djb{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}.hud-quests__progress.svelte-dr4djb{display:flex;align-items:center;justify-content:space-between;background-color:rgba(0, 0, 0, 0.35);overflow:hidden;box-sizing:border-box;position:relative;width:calc(0.1822916667 * 100vw + 0px);height:calc(0.015625 * 100vw + 0px);border-radius:calc(0.0078125 * 100vw + 0px);margin-bottom:calc(0.0052083333 * 100vw + 0px);padding-left:calc(0.0078125 * 100vw + 0px);padding-right:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-quests__progress.svelte-dr4djb{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-quests__progress.svelte-dr4djb{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-quests__progress.svelte-dr4djb{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-quests__progress.svelte-dr4djb{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-quests__progress.svelte-dr4djb{width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-quests__progress.svelte-dr4djb{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-quests__progress.svelte-dr4djb{width:calc(0.2005208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-quests__progress.svelte-dr4djb{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-quests__progress.svelte-dr4djb{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-quests__progress.svelte-dr4djb{height:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-quests__progress.svelte-dr4djb{height:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-quests__progress.svelte-dr4djb{height:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-quests__progress.svelte-dr4djb{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-quests__progress.svelte-dr4djb{height:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-quests__progress.svelte-dr4djb{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-quests__progress.svelte-dr4djb{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-quests__progress.svelte-dr4djb{border-radius:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-quests__progress.svelte-dr4djb{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-quests__progress.svelte-dr4djb{border-radius:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-quests__progress.svelte-dr4djb{border-radius:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-quests__progress.svelte-dr4djb{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-quests__progress.svelte-dr4djb{margin-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-quests__progress.svelte-dr4djb{margin-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-quests__progress.svelte-dr4djb{margin-bottom:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-quests__progress.svelte-dr4djb{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-quests__progress.svelte-dr4djb{margin-bottom:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-quests__progress.svelte-dr4djb{margin-bottom:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-quests__progress.svelte-dr4djb{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-quests__progress.svelte-dr4djb{padding-left:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-quests__progress.svelte-dr4djb{padding-left:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-quests__progress.svelte-dr4djb{padding-left:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-quests__progress.svelte-dr4djb{padding-left:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-quests__progress.svelte-dr4djb{padding-left:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-quests__progress.svelte-dr4djb{padding-left:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-quests__progress.svelte-dr4djb{padding-left:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-quests__progress.svelte-dr4djb{padding-right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-quests__progress.svelte-dr4djb{padding-right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-quests__progress.svelte-dr4djb{padding-right:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-quests__progress.svelte-dr4djb{padding-right:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-quests__progress.svelte-dr4djb{padding-right:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-quests__progress.svelte-dr4djb{padding-right:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-quests__progress.svelte-dr4djb{padding-right:calc(0.00859375 * 100vw + 0px)}}.hud-quests__progress-value.svelte-dr4djb{position:absolute;background-color:rgba(118, 211, 85, 0.5);height:100%;left:0;width:0}.hud-quests__progress-title.svelte-dr4djb{z-index:1;font-family:\"GothamPro-Light\";color:#FFFFFF;font-size:calc(0.0067708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-quests__progress-title.svelte-dr4djb{font-size:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-quests__progress-title.svelte-dr4djb{font-size:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-quests__progress-title.svelte-dr4djb{font-size:calc(0.0052135417 * 100vw + 0px)}}@media(min-width: 3440px){.hud-quests__progress-title.svelte-dr4djb{font-size:calc(0.0074479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-quests__progress-title.svelte-dr4djb{font-size:calc(0.0047395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-quests__progress-title.svelte-dr4djb{font-size:calc(0.00609375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-quests__progress-title.svelte-dr4djb{font-size:calc(0.0074479167 * 100vw + 0px)}}.hud-quests__progress-count.svelte-dr4djb{z-index:1;color:#FFFFFF;font-family:\"GothamPro-Medium\";font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-quests__progress-count.svelte-dr4djb{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-quests__progress-count.svelte-dr4djb{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-quests__progress-count.svelte-dr4djb{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-quests__progress-count.svelte-dr4djb{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-quests__progress-count.svelte-dr4djb{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-quests__progress-count.svelte-dr4djb{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.hud-quests__progress-count.svelte-dr4djb{font-size:calc(0.0091666667 * 100vw + 0px)}}.hud-quests__progress-img.svelte-dr4djb{z-index:1;width:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-quests__progress-img.svelte-dr4djb{width:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-quests__progress-img.svelte-dr4djb{width:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-quests__progress-img.svelte-dr4djb{width:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-quests__progress-img.svelte-dr4djb{width:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-quests__progress-img.svelte-dr4djb{width:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-quests__progress-img.svelte-dr4djb{width:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-quests__progress-img.svelte-dr4djb{width:calc(0.00859375 * 100vw + 0px)}}");
}

function hud_quests_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[1] = list[i];
	return child_ctx;
}

function index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[4] = list[i];
	return child_ctx;
}

// (687:20) {:else}
function hud_quests_index_svelte_create_else_block(ctx) {
	let p;
	let t_value = /*subQuests*/ ctx[4].currentProgress + "";
	let t;

	return {
		c() {
			p = internal_element("p");
			t = internal_text(t_value);
			attr(p, "class", "hud-quests__progress-count svelte-dr4djb");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t);
		},
		p(ctx, dirty) {
			if (dirty & /*$questsInformation*/ 1 && t_value !== (t_value = /*subQuests*/ ctx[4].currentProgress + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (685:20) {#if subQuests.currentProgress === subQuests.maxProgress}
function hud_quests_index_svelte_create_if_block(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "hud-quests__progress-img svelte-dr4djb");
			if (!src_url_equal(img.src, img_src_value = completed_img_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "completed");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (680:12) {#each quest.quests as subQuests}
function index_svelte_create_each_block_1(ctx) {
	let div1;
	let p;
	let t0_value = /*subQuests*/ ctx[4].title + "";
	let t0;
	let t1;
	let t2;
	let div0;
	let div0_style_value;

	function select_block_type(ctx, dirty) {
		if (/*subQuests*/ ctx[4].currentProgress === /*subQuests*/ ctx[4].maxProgress) return hud_quests_index_svelte_create_if_block;
		return hud_quests_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block = current_block_type(ctx);

	return {
		c() {
			div1 = internal_element("div");
			p = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			if_block.c();
			t2 = space();
			div0 = internal_element("div");
			attr(p, "class", "hud-quests__progress-title svelte-dr4djb");
			attr(div0, "class", "hud-quests__progress-value svelte-dr4djb");
			attr(div0, "style", div0_style_value = `width: ${/*subQuests*/ ctx[4].currentProgress / (/*subQuests*/ ctx[4].maxProgress / 100)}%;`);
			attr(div1, "class", "hud-quests__progress svelte-dr4djb");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, p);
			append(p, t0);
			append(div1, t1);
			if_block.m(div1, null);
			append(div1, t2);
			append(div1, div0);
		},
		p(ctx, dirty) {
			if (dirty & /*$questsInformation*/ 1 && t0_value !== (t0_value = /*subQuests*/ ctx[4].title + "")) set_data(t0, t0_value);

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div1, t2);
				}
			}

			if (dirty & /*$questsInformation*/ 1 && div0_style_value !== (div0_style_value = `width: ${/*subQuests*/ ctx[4].currentProgress / (/*subQuests*/ ctx[4].maxProgress / 100)}%;`)) {
				attr(div0, "style", div0_style_value);
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			if_block.d();
		}
	};
}

// (675:4) {#each $questsInformation as quest}
function hud_quests_index_svelte_create_each_block(ctx) {
	let div;
	let p;
	let t0_value = /*quest*/ ctx[1].title + "";
	let t0;
	let t1;
	let t2;
	let each_value_1 = /*quest*/ ctx[1].quests;
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = index_svelte_create_each_block_1(index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	return {
		c() {
			div = internal_element("div");
			p = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t2 = space();
			attr(p, "class", "hud-quests__title svelte-dr4djb");
			attr(div, "class", "hud-quests__item svelte-dr4djb");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p);
			append(p, t0);
			append(div, t1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}

			append(div, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*$questsInformation*/ 1 && t0_value !== (t0_value = /*quest*/ ctx[1].title + "")) set_data(t0, t0_value);

			if (dirty & /*$questsInformation, CompletedImg*/ 1) {
				each_value_1 = /*quest*/ ctx[1].quests;
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div, t2);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

function hud_quests_index_svelte_create_fragment(ctx) {
	let div;
	let each_value = /*$questsInformation*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = hud_quests_index_svelte_create_each_block(hud_quests_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "hud-quests svelte-dr4djb");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*$questsInformation, CompletedImg*/ 1) {
				each_value = /*$questsInformation*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = hud_quests_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = hud_quests_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

function hud_quests_index_svelte_instance($$self, $$props, $$invalidate) {
	let $questsInformation;
	component_subscribe($$self, questsInformation, $$value => $$invalidate(0, $questsInformation = $$value));
	return [$questsInformation];
}

class Hud_quests extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, hud_quests_index_svelte_instance, hud_quests_index_svelte_create_fragment, safe_not_equal, {}, hud_quests_index_svelte_add_css);
	}
}

/* harmony default export */ const hud_quests_index_svelte = (Hud_quests);
;// CONCATENATED MODULE: ./src/views/hud/components/hud-radio/img/radio-img.png
const radio_img_namespaceObject = __webpack_require__.p + "assets/4e9c1f40af36e9517fb2.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-radio/index.svelte
/* src\views\hud\components\hud-radio\index.svelte generated by Svelte v3.49.0 */






function hud_radio_index_svelte_add_css(target) {
	append_styles(target, "svelte-1v4lfua", "@keyframes svelte-1v4lfua-blinking{50%{opacity:0}}@keyframes svelte-1v4lfua-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1v4lfua-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1v4lfua-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1v4lfua-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1v4lfua-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1v4lfua-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1v4lfua-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1v4lfua-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1v4lfua-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1v4lfua-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1v4lfua-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1v4lfua-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1v4lfua-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1v4lfua-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.hud-radio.svelte-1v4lfua{display:flex;justify-content:center;align-items:center;pointer-events:none}.hud-radio__background.svelte-1v4lfua{position:relative;border:2px solid #78FF38;border-radius:50%;box-shadow:0px 0px 38px 7px #78FF38 inset;background:linear-gradient(0deg, rgba(40, 97, 14, 0), rgba(40, 97, 14, 0)), linear-gradient(0deg, rgba(120, 255, 56, 0.3), rgba(120, 255, 56, 0.3));animation:svelte-1v4lfua-changeBackground 3s infinite;width:calc(0.078125 * 100vw + 0px);height:calc(0.078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-radio__background.svelte-1v4lfua{width:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-radio__background.svelte-1v4lfua{width:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-radio__background.svelte-1v4lfua{width:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-radio__background.svelte-1v4lfua{width:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-radio__background.svelte-1v4lfua{width:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-radio__background.svelte-1v4lfua{width:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-radio__background.svelte-1v4lfua{width:calc(0.0859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-radio__background.svelte-1v4lfua{height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-radio__background.svelte-1v4lfua{height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-radio__background.svelte-1v4lfua{height:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-radio__background.svelte-1v4lfua{height:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-radio__background.svelte-1v4lfua{height:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-radio__background.svelte-1v4lfua{height:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-radio__background.svelte-1v4lfua{height:calc(0.0859375 * 100vw + 0px)}}.hud-radio__img.svelte-1v4lfua{position:absolute;height:calc(0.1296875 * 100vw + 0px);margin-bottom:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-radio__img.svelte-1v4lfua{height:calc(0.1296875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-radio__img.svelte-1v4lfua{height:calc(0.1296875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-radio__img.svelte-1v4lfua{height:calc(0.099859375 * 100vw + 0px)}}@media(min-width: 3440px){.hud-radio__img.svelte-1v4lfua{height:calc(0.14265625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-radio__img.svelte-1v4lfua{height:calc(0.09078125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-radio__img.svelte-1v4lfua{height:calc(0.11671875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-radio__img.svelte-1v4lfua{height:calc(0.14265625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-radio__img.svelte-1v4lfua{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-radio__img.svelte-1v4lfua{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-radio__img.svelte-1v4lfua{margin-bottom:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.hud-radio__img.svelte-1v4lfua{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-radio__img.svelte-1v4lfua{margin-bottom:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-radio__img.svelte-1v4lfua{margin-bottom:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-radio__img.svelte-1v4lfua{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}@keyframes svelte-1v4lfua-changeBackground{0%{opacity:1}25%{opacity:0.5}100%{opacity:1}}");
}

// (340:0) {#if $radioVisible}
function hud_radio_index_svelte_create_if_block(ctx) {
	let div1;
	let div0;
	let t;
	let img;
	let img_src_value;
	let div1_intro;
	let div1_outro;
	let current;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			t = space();
			img = internal_element("img");
			attr(div0, "class", "hud-radio__background svelte-1v4lfua");
			attr(img, "class", "hud-radio__img svelte-1v4lfua");
			if (!src_url_equal(img.src, img_src_value = radio_img_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "radio");
			attr(div1, "class", "hud-radio svelte-1v4lfua");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div1, t);
			append(div1, img);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;

			if (local) {
				add_render_callback(() => {
					if (div1_outro) div1_outro.end(1);
					div1_intro = create_in_transition(div1, fly, { x: 200, duration: 1000 });
					div1_intro.start();
				});
			}

			current = true;
		},
		o(local) {
			if (div1_intro) div1_intro.invalidate();

			if (local) {
				div1_outro = create_out_transition(div1, fly, { x: 400, duration: 1000 });
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			if (detaching && div1_outro) div1_outro.end();
		}
	};
}

function hud_radio_index_svelte_create_fragment(ctx) {
	let if_block_anchor;
	let if_block = /*$radioVisible*/ ctx[0] && hud_radio_index_svelte_create_if_block(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
		},
		p(ctx, [dirty]) {
			if (/*$radioVisible*/ ctx[0]) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*$radioVisible*/ 1) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = hud_radio_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			transition_in(if_block);
		},
		o(local) {
			transition_out(if_block);
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

function hud_radio_index_svelte_instance($$self, $$props, $$invalidate) {
	let $radioVisible;
	component_subscribe($$self, radioVisible, $$value => $$invalidate(0, $radioVisible = $$value));
	return [$radioVisible];
}

class Hud_radio extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, hud_radio_index_svelte_instance, hud_radio_index_svelte_create_fragment, safe_not_equal, {}, hud_radio_index_svelte_add_css);
	}
}

/* harmony default export */ const hud_radio_index_svelte = (Hud_radio);
;// CONCATENATED MODULE: ./src/views/hud/components/hud-level-information/index.svelte
/* src\views\hud\components\hud-level-information\index.svelte generated by Svelte v3.49.0 */






function hud_level_information_index_svelte_add_css(target) {
	append_styles(target, "svelte-19l1jl2", "@keyframes svelte-19l1jl2-blinking{50%{opacity:0}}@keyframes svelte-19l1jl2-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-19l1jl2-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-19l1jl2-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-19l1jl2-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-19l1jl2-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-19l1jl2-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-19l1jl2-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-19l1jl2-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-19l1jl2-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-19l1jl2-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-19l1jl2-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-19l1jl2-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-19l1jl2-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-19l1jl2-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.hud-level-information.svelte-19l1jl2.svelte-19l1jl2{text-align:center}.hud-level-information.svelte-19l1jl2.svelte-19l1jl2::before{content:\"\";position:absolute;background:#363D47;z-index:-1;filter:blur(calc(0.0208333333 * 100vw + 0px));top:calc(0.0130208333 * 100vw + 0px);right:calc(0.0286458333 * 100vw + 0px);width:calc(0.125 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-level-information.svelte-19l1jl2.svelte-19l1jl2::before{top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-level-information.svelte-19l1jl2.svelte-19l1jl2::before{top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-level-information.svelte-19l1jl2.svelte-19l1jl2::before{top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.hud-level-information.svelte-19l1jl2.svelte-19l1jl2::before{top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-level-information.svelte-19l1jl2.svelte-19l1jl2::before{top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-level-information.svelte-19l1jl2.svelte-19l1jl2::before{top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-level-information.svelte-19l1jl2.svelte-19l1jl2::before{top:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-level-information.svelte-19l1jl2.svelte-19l1jl2::before{right:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-level-information.svelte-19l1jl2.svelte-19l1jl2::before{right:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-level-information.svelte-19l1jl2.svelte-19l1jl2::before{right:calc(0.0220572917 * 100vw + 0px)}}@media(min-width: 3440px){.hud-level-information.svelte-19l1jl2.svelte-19l1jl2::before{right:calc(0.0315104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-level-information.svelte-19l1jl2.svelte-19l1jl2::before{right:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-level-information.svelte-19l1jl2.svelte-19l1jl2::before{right:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-level-information.svelte-19l1jl2.svelte-19l1jl2::before{right:calc(0.0315104167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-level-information.svelte-19l1jl2.svelte-19l1jl2::before{width:calc(0.125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-level-information.svelte-19l1jl2.svelte-19l1jl2::before{width:calc(0.125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-level-information.svelte-19l1jl2.svelte-19l1jl2::before{width:calc(0.09625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-level-information.svelte-19l1jl2.svelte-19l1jl2::before{width:calc(0.1375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-level-information.svelte-19l1jl2.svelte-19l1jl2::before{width:calc(0.0875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-level-information.svelte-19l1jl2.svelte-19l1jl2::before{width:calc(0.1125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-level-information.svelte-19l1jl2.svelte-19l1jl2::before{width:calc(0.1375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-level-information.svelte-19l1jl2.svelte-19l1jl2::before{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-level-information.svelte-19l1jl2.svelte-19l1jl2::before{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-level-information.svelte-19l1jl2.svelte-19l1jl2::before{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-level-information.svelte-19l1jl2.svelte-19l1jl2::before{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-level-information.svelte-19l1jl2.svelte-19l1jl2::before{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-level-information.svelte-19l1jl2.svelte-19l1jl2::before{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-level-information.svelte-19l1jl2.svelte-19l1jl2::before{height:calc(0.0286458333 * 100vw + 0px)}}.hud-level-information__title.svelte-19l1jl2.svelte-19l1jl2{color:#FFFFFF;font-family:\"GothamPro-Medium\";font-size:calc(0.0083333333 * 100vw + 0px);margin-bottom:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-level-information__title.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-level-information__title.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-level-information__title.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-level-information__title.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-level-information__title.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-level-information__title.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.hud-level-information__title.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-level-information__title.svelte-19l1jl2.svelte-19l1jl2{margin-bottom:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-level-information__title.svelte-19l1jl2.svelte-19l1jl2{margin-bottom:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-level-information__title.svelte-19l1jl2.svelte-19l1jl2{margin-bottom:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-level-information__title.svelte-19l1jl2.svelte-19l1jl2{margin-bottom:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-level-information__title.svelte-19l1jl2.svelte-19l1jl2{margin-bottom:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-level-information__title.svelte-19l1jl2.svelte-19l1jl2{margin-bottom:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-level-information__title.svelte-19l1jl2.svelte-19l1jl2{margin-bottom:calc(0.0045833333 * 100vw + 0px)}}.hud-level-information__description.svelte-19l1jl2.svelte-19l1jl2{color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.00625 * 100vw + 0px);margin-bottom:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-level-information__description.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-level-information__description.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-level-information__description.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-level-information__description.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-level-information__description.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-level-information__description.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-level-information__description.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-level-information__description.svelte-19l1jl2.svelte-19l1jl2{margin-bottom:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-level-information__description.svelte-19l1jl2.svelte-19l1jl2{margin-bottom:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-level-information__description.svelte-19l1jl2.svelte-19l1jl2{margin-bottom:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-level-information__description.svelte-19l1jl2.svelte-19l1jl2{margin-bottom:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-level-information__description.svelte-19l1jl2.svelte-19l1jl2{margin-bottom:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-level-information__description.svelte-19l1jl2.svelte-19l1jl2{margin-bottom:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-level-information__description.svelte-19l1jl2.svelte-19l1jl2{margin-bottom:calc(0.0045833333 * 100vw + 0px)}}.hud-level-information__progressbar-wrapper.svelte-19l1jl2.svelte-19l1jl2{display:flex;flex-direction:column;align-items:center}.hud-level-information__progressbar-levels-wrapper.svelte-19l1jl2.svelte-19l1jl2{display:flex;align-items:center}.hud-level-information__progressbar-level.svelte-19l1jl2.svelte-19l1jl2{display:flex;align-items:center;justify-content:center;border:1px solid #F2C94C;border-radius:50%;background-color:rgba(242, 201, 76, 0.25);border-width:calc(0.0010416667 * 100vw + 0px);width:calc(0.0260416667 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-level-information__progressbar-level.svelte-19l1jl2.svelte-19l1jl2{border-width:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-level-information__progressbar-level.svelte-19l1jl2.svelte-19l1jl2{border-width:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-level-information__progressbar-level.svelte-19l1jl2.svelte-19l1jl2{border-width:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-level-information__progressbar-level.svelte-19l1jl2.svelte-19l1jl2{border-width:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-level-information__progressbar-level.svelte-19l1jl2.svelte-19l1jl2{border-width:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-level-information__progressbar-level.svelte-19l1jl2.svelte-19l1jl2{border-width:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-level-information__progressbar-level.svelte-19l1jl2.svelte-19l1jl2{border-width:calc(0.0011458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-level-information__progressbar-level.svelte-19l1jl2.svelte-19l1jl2{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-level-information__progressbar-level.svelte-19l1jl2.svelte-19l1jl2{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-level-information__progressbar-level.svelte-19l1jl2.svelte-19l1jl2{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-level-information__progressbar-level.svelte-19l1jl2.svelte-19l1jl2{width:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-level-information__progressbar-level.svelte-19l1jl2.svelte-19l1jl2{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-level-information__progressbar-level.svelte-19l1jl2.svelte-19l1jl2{width:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-level-information__progressbar-level.svelte-19l1jl2.svelte-19l1jl2{width:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-level-information__progressbar-level.svelte-19l1jl2.svelte-19l1jl2{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-level-information__progressbar-level.svelte-19l1jl2.svelte-19l1jl2{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-level-information__progressbar-level.svelte-19l1jl2.svelte-19l1jl2{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-level-information__progressbar-level.svelte-19l1jl2.svelte-19l1jl2{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-level-information__progressbar-level.svelte-19l1jl2.svelte-19l1jl2{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-level-information__progressbar-level.svelte-19l1jl2.svelte-19l1jl2{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-level-information__progressbar-level.svelte-19l1jl2.svelte-19l1jl2{height:calc(0.0286458333 * 100vw + 0px)}}.hud-level-information__progressbar-level-value.svelte-19l1jl2.svelte-19l1jl2{font-family:\"GothamPro-Medium\";color:#F2C94C;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-level-information__progressbar-level-value.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-level-information__progressbar-level-value.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-level-information__progressbar-level-value.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-level-information__progressbar-level-value.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-level-information__progressbar-level-value.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-level-information__progressbar-level-value.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.hud-level-information__progressbar-level-value.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0091666667 * 100vw + 0px)}}.hud-level-information__progressbar-body.svelte-19l1jl2.svelte-19l1jl2{display:flex;background-color:rgba(255, 255, 255, 0.25);width:calc(0.13125 * 100vw + 0px);height:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-level-information__progressbar-body.svelte-19l1jl2.svelte-19l1jl2{width:calc(0.13125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-level-information__progressbar-body.svelte-19l1jl2.svelte-19l1jl2{width:calc(0.13125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-level-information__progressbar-body.svelte-19l1jl2.svelte-19l1jl2{width:calc(0.1010625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-level-information__progressbar-body.svelte-19l1jl2.svelte-19l1jl2{width:calc(0.144375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-level-information__progressbar-body.svelte-19l1jl2.svelte-19l1jl2{width:calc(0.091875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-level-information__progressbar-body.svelte-19l1jl2.svelte-19l1jl2{width:calc(0.118125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-level-information__progressbar-body.svelte-19l1jl2.svelte-19l1jl2{width:calc(0.144375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-level-information__progressbar-body.svelte-19l1jl2.svelte-19l1jl2{height:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-level-information__progressbar-body.svelte-19l1jl2.svelte-19l1jl2{height:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-level-information__progressbar-body.svelte-19l1jl2.svelte-19l1jl2{height:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.hud-level-information__progressbar-body.svelte-19l1jl2.svelte-19l1jl2{height:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-level-information__progressbar-body.svelte-19l1jl2.svelte-19l1jl2{height:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-level-information__progressbar-body.svelte-19l1jl2.svelte-19l1jl2{height:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-level-information__progressbar-body.svelte-19l1jl2.svelte-19l1jl2{height:calc(0.0028645833 * 100vw + 0px)}}.hud-level-information__progressbar.svelte-19l1jl2.svelte-19l1jl2{width:var(--end-point);background-color:#F2C94C;animation:svelte-19l1jl2-fill-progressbar var(--duration-anim) linear 1}.hud-level-information__progressbar-nextlevel.svelte-19l1jl2.svelte-19l1jl2{display:flex;align-items:center;justify-content:center;border:1px solid #B1B1B1;border-radius:50%;background-color:rgba(255, 255, 255, 0.1);border-width:calc(0.0010416667 * 100vw + 0px);width:calc(0.0260416667 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-level-information__progressbar-nextlevel.svelte-19l1jl2.svelte-19l1jl2{border-width:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-level-information__progressbar-nextlevel.svelte-19l1jl2.svelte-19l1jl2{border-width:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-level-information__progressbar-nextlevel.svelte-19l1jl2.svelte-19l1jl2{border-width:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-level-information__progressbar-nextlevel.svelte-19l1jl2.svelte-19l1jl2{border-width:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-level-information__progressbar-nextlevel.svelte-19l1jl2.svelte-19l1jl2{border-width:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-level-information__progressbar-nextlevel.svelte-19l1jl2.svelte-19l1jl2{border-width:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-level-information__progressbar-nextlevel.svelte-19l1jl2.svelte-19l1jl2{border-width:calc(0.0011458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-level-information__progressbar-nextlevel.svelte-19l1jl2.svelte-19l1jl2{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-level-information__progressbar-nextlevel.svelte-19l1jl2.svelte-19l1jl2{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-level-information__progressbar-nextlevel.svelte-19l1jl2.svelte-19l1jl2{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-level-information__progressbar-nextlevel.svelte-19l1jl2.svelte-19l1jl2{width:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-level-information__progressbar-nextlevel.svelte-19l1jl2.svelte-19l1jl2{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-level-information__progressbar-nextlevel.svelte-19l1jl2.svelte-19l1jl2{width:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-level-information__progressbar-nextlevel.svelte-19l1jl2.svelte-19l1jl2{width:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-level-information__progressbar-nextlevel.svelte-19l1jl2.svelte-19l1jl2{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-level-information__progressbar-nextlevel.svelte-19l1jl2.svelte-19l1jl2{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-level-information__progressbar-nextlevel.svelte-19l1jl2.svelte-19l1jl2{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-level-information__progressbar-nextlevel.svelte-19l1jl2.svelte-19l1jl2{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-level-information__progressbar-nextlevel.svelte-19l1jl2.svelte-19l1jl2{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-level-information__progressbar-nextlevel.svelte-19l1jl2.svelte-19l1jl2{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-level-information__progressbar-nextlevel.svelte-19l1jl2.svelte-19l1jl2{height:calc(0.0286458333 * 100vw + 0px)}}.hud-level-information__progressbar-nextlevel--max.svelte-19l1jl2.svelte-19l1jl2{border-color:#F2C94C;background-color:rgba(242, 201, 76, 0.25)}.hud-level-information__progressbar-nextlevel--max.svelte-19l1jl2 .hud-level-information__progressbar-nextlevel-value.svelte-19l1jl2{color:#F2C94C}.hud-level-information__progressbar-nextlevel-value.svelte-19l1jl2.svelte-19l1jl2{font-family:\"GothamPro-Medium\";color:#B1B1B1;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-level-information__progressbar-nextlevel-value.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-level-information__progressbar-nextlevel-value.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-level-information__progressbar-nextlevel-value.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-level-information__progressbar-nextlevel-value.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-level-information__progressbar-nextlevel-value.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-level-information__progressbar-nextlevel-value.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.hud-level-information__progressbar-nextlevel-value.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0091666667 * 100vw + 0px)}}.hud-level-information__progressbar-exp-wrapper.svelte-19l1jl2.svelte-19l1jl2{position:relative;display:flex;align-items:center;top:calc(-0.0067708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-level-information__progressbar-exp-wrapper.svelte-19l1jl2.svelte-19l1jl2{top:calc(-0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-level-information__progressbar-exp-wrapper.svelte-19l1jl2.svelte-19l1jl2{top:calc(-0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-level-information__progressbar-exp-wrapper.svelte-19l1jl2.svelte-19l1jl2{top:calc(-0.0052135417 * 100vw + 0px)}}@media(min-width: 3440px){.hud-level-information__progressbar-exp-wrapper.svelte-19l1jl2.svelte-19l1jl2{top:calc(-0.0074479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-level-information__progressbar-exp-wrapper.svelte-19l1jl2.svelte-19l1jl2{top:calc(-0.0047395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-level-information__progressbar-exp-wrapper.svelte-19l1jl2.svelte-19l1jl2{top:calc(-0.00609375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-level-information__progressbar-exp-wrapper.svelte-19l1jl2.svelte-19l1jl2{top:calc(-0.0074479167 * 100vw + 0px)}}.hud-level-information__progressbar-exp-value.svelte-19l1jl2.svelte-19l1jl2{font-family:\"GothamPro-Medium\";color:#F2C94C;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-level-information__progressbar-exp-value.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-level-information__progressbar-exp-value.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-level-information__progressbar-exp-value.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-level-information__progressbar-exp-value.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-level-information__progressbar-exp-value.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-level-information__progressbar-exp-value.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-level-information__progressbar-exp-value.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0057291667 * 100vw + 0px)}}.hud-level-information__progressbar-exp-value--light.svelte-19l1jl2.svelte-19l1jl2{color:#FFFFFF}.hud-level-information__progressbar-exp-title-wrapper.svelte-19l1jl2.svelte-19l1jl2{display:flex;justify-content:center;align-items:center;background-color:#F2C94C;margin-left:calc(0.0010416667 * 100vw + 0px);border-radius:calc(0.0130208333 * 100vw + 0px);width:calc(0.0151041667 * 100vw + 0px);height:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-level-information__progressbar-exp-title-wrapper.svelte-19l1jl2.svelte-19l1jl2{margin-left:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-level-information__progressbar-exp-title-wrapper.svelte-19l1jl2.svelte-19l1jl2{margin-left:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-level-information__progressbar-exp-title-wrapper.svelte-19l1jl2.svelte-19l1jl2{margin-left:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-level-information__progressbar-exp-title-wrapper.svelte-19l1jl2.svelte-19l1jl2{margin-left:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-level-information__progressbar-exp-title-wrapper.svelte-19l1jl2.svelte-19l1jl2{margin-left:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-level-information__progressbar-exp-title-wrapper.svelte-19l1jl2.svelte-19l1jl2{margin-left:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-level-information__progressbar-exp-title-wrapper.svelte-19l1jl2.svelte-19l1jl2{margin-left:calc(0.0011458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-level-information__progressbar-exp-title-wrapper.svelte-19l1jl2.svelte-19l1jl2{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-level-information__progressbar-exp-title-wrapper.svelte-19l1jl2.svelte-19l1jl2{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-level-information__progressbar-exp-title-wrapper.svelte-19l1jl2.svelte-19l1jl2{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.hud-level-information__progressbar-exp-title-wrapper.svelte-19l1jl2.svelte-19l1jl2{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-level-information__progressbar-exp-title-wrapper.svelte-19l1jl2.svelte-19l1jl2{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-level-information__progressbar-exp-title-wrapper.svelte-19l1jl2.svelte-19l1jl2{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-level-information__progressbar-exp-title-wrapper.svelte-19l1jl2.svelte-19l1jl2{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-level-information__progressbar-exp-title-wrapper.svelte-19l1jl2.svelte-19l1jl2{width:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-level-information__progressbar-exp-title-wrapper.svelte-19l1jl2.svelte-19l1jl2{width:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-level-information__progressbar-exp-title-wrapper.svelte-19l1jl2.svelte-19l1jl2{width:calc(0.0116302083 * 100vw + 0px)}}@media(min-width: 3440px){.hud-level-information__progressbar-exp-title-wrapper.svelte-19l1jl2.svelte-19l1jl2{width:calc(0.0166145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-level-information__progressbar-exp-title-wrapper.svelte-19l1jl2.svelte-19l1jl2{width:calc(0.0105729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-level-information__progressbar-exp-title-wrapper.svelte-19l1jl2.svelte-19l1jl2{width:calc(0.01359375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-level-information__progressbar-exp-title-wrapper.svelte-19l1jl2.svelte-19l1jl2{width:calc(0.0166145833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-level-information__progressbar-exp-title-wrapper.svelte-19l1jl2.svelte-19l1jl2{height:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-level-information__progressbar-exp-title-wrapper.svelte-19l1jl2.svelte-19l1jl2{height:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-level-information__progressbar-exp-title-wrapper.svelte-19l1jl2.svelte-19l1jl2{height:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-level-information__progressbar-exp-title-wrapper.svelte-19l1jl2.svelte-19l1jl2{height:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-level-information__progressbar-exp-title-wrapper.svelte-19l1jl2.svelte-19l1jl2{height:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-level-information__progressbar-exp-title-wrapper.svelte-19l1jl2.svelte-19l1jl2{height:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-level-information__progressbar-exp-title-wrapper.svelte-19l1jl2.svelte-19l1jl2{height:calc(0.00859375 * 100vw + 0px)}}.hud-level-information__progressbar-exp-title.svelte-19l1jl2.svelte-19l1jl2{font-family:\"GothamPro-Bold\";font-style:italic;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-level-information__progressbar-exp-title.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-level-information__progressbar-exp-title.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-level-information__progressbar-exp-title.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-level-information__progressbar-exp-title.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-level-information__progressbar-exp-title.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-level-information__progressbar-exp-title.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-level-information__progressbar-exp-title.svelte-19l1jl2.svelte-19l1jl2{font-size:calc(0.0057291667 * 100vw + 0px)}}@keyframes svelte-19l1jl2-fill-progressbar{0%{width:var(--start-point)}100%{width:var(--end-point)}}");
}

// (1165:0) {#if !isEmpty($levelInformation)}
function hud_level_information_index_svelte_create_if_block(ctx) {
	let div8;
	let p0;
	let t0_value = /*$levelInformation*/ ctx[0].title + "";
	let t0;
	let t1;
	let p1;
	let t2_value = /*$levelInformation*/ ctx[0].description + "";
	let t2;
	let t3;
	let div7;
	let div4;
	let div0;
	let p2;
	let t4_value = /*$levelInformation*/ ctx[0].currentLevel + "";
	let t4;
	let t5;
	let div2;
	let div1;
	let div1_style_value;
	let t6;
	let div3;
	let p3;
	let t7_value = /*$levelInformation*/ ctx[0].nextLevel + "";
	let t7;
	let t8;
	let div6;
	let p4;
	let t9_value = /*$levelInformation*/ ctx[0].currentExp + "";
	let t9;
	let t10;
	let span;
	let t11_value = /*$levelInformation*/ ctx[0].maxExp + "";
	let t11;
	let t12;
	let div5;
	let div8_intro;
	let div8_outro;
	let current;

	return {
		c() {
			div8 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = space();
			div7 = internal_element("div");
			div4 = internal_element("div");
			div0 = internal_element("div");
			p2 = internal_element("p");
			t4 = internal_text(t4_value);
			t5 = space();
			div2 = internal_element("div");
			div1 = internal_element("div");
			t6 = space();
			div3 = internal_element("div");
			p3 = internal_element("p");
			t7 = internal_text(t7_value);
			t8 = space();
			div6 = internal_element("div");
			p4 = internal_element("p");
			t9 = internal_text(t9_value);
			t10 = internal_text("\r\n                    /\r\n                    ");
			span = internal_element("span");
			t11 = internal_text(t11_value);
			t12 = space();
			div5 = internal_element("div");
			div5.innerHTML = `<p class="hud-level-information__progressbar-exp-title svelte-19l1jl2">exp</p>`;
			attr(p0, "class", "hud-level-information__title svelte-19l1jl2");
			attr(p1, "class", "hud-level-information__description svelte-19l1jl2");
			attr(p2, "class", "hud-level-information__progressbar-level-value svelte-19l1jl2");
			attr(div0, "class", "hud-level-information__progressbar-level svelte-19l1jl2");
			attr(div1, "class", "hud-level-information__progressbar svelte-19l1jl2");

			attr(div1, "style", div1_style_value = `
                            --start-point: ${/*$levelInformation*/ ctx[0].currentExp / (/*$levelInformation*/ ctx[0].maxExp / 100)}%;
                            --end-point: ${/*$levelInformation*/ ctx[0].nextExp / (/*$levelInformation*/ ctx[0].maxExp / 100)}%;
                            --duration-anim: ${/*$levelInformation*/ ctx[0].duration - 1000}ms
                        `);

			attr(div2, "class", "hud-level-information__progressbar-body svelte-19l1jl2");
			attr(p3, "class", "hud-level-information__progressbar-nextlevel-value svelte-19l1jl2");
			attr(div3, "class", "hud-level-information__progressbar-nextlevel svelte-19l1jl2");
			toggle_class(div3, "hud-level-information__progressbar-nextlevel--max", /*$levelInformation*/ ctx[0].nextExp >= /*$levelInformation*/ ctx[0].maxExp);
			attr(div4, "class", "hud-level-information__progressbar-levels-wrapper svelte-19l1jl2");
			attr(span, "class", "hud-level-information__progressbar-exp-value--light svelte-19l1jl2");
			attr(p4, "class", "hud-level-information__progressbar-exp-value svelte-19l1jl2");
			attr(div5, "class", "hud-level-information__progressbar-exp-title-wrapper svelte-19l1jl2");
			attr(div6, "class", "hud-level-information__progressbar-exp-wrapper svelte-19l1jl2");
			attr(div7, "class", "hud-level-information__progressbar-wrapper svelte-19l1jl2");
			attr(div8, "class", "hud-level-information svelte-19l1jl2");
		},
		m(target, anchor) {
			insert(target, div8, anchor);
			append(div8, p0);
			append(p0, t0);
			append(div8, t1);
			append(div8, p1);
			append(p1, t2);
			append(div8, t3);
			append(div8, div7);
			append(div7, div4);
			append(div4, div0);
			append(div0, p2);
			append(p2, t4);
			append(div4, t5);
			append(div4, div2);
			append(div2, div1);
			append(div4, t6);
			append(div4, div3);
			append(div3, p3);
			append(p3, t7);
			append(div7, t8);
			append(div7, div6);
			append(div6, p4);
			append(p4, t9);
			append(p4, t10);
			append(p4, span);
			append(span, t11);
			append(div6, t12);
			append(div6, div5);
			current = true;
		},
		p(ctx, dirty) {
			if ((!current || dirty & /*$levelInformation*/ 1) && t0_value !== (t0_value = /*$levelInformation*/ ctx[0].title + "")) set_data(t0, t0_value);
			if ((!current || dirty & /*$levelInformation*/ 1) && t2_value !== (t2_value = /*$levelInformation*/ ctx[0].description + "")) set_data(t2, t2_value);
			if ((!current || dirty & /*$levelInformation*/ 1) && t4_value !== (t4_value = /*$levelInformation*/ ctx[0].currentLevel + "")) set_data(t4, t4_value);

			if (!current || dirty & /*$levelInformation*/ 1 && div1_style_value !== (div1_style_value = `
                            --start-point: ${/*$levelInformation*/ ctx[0].currentExp / (/*$levelInformation*/ ctx[0].maxExp / 100)}%;
                            --end-point: ${/*$levelInformation*/ ctx[0].nextExp / (/*$levelInformation*/ ctx[0].maxExp / 100)}%;
                            --duration-anim: ${/*$levelInformation*/ ctx[0].duration - 1000}ms
                        `)) {
				attr(div1, "style", div1_style_value);
			}

			if ((!current || dirty & /*$levelInformation*/ 1) && t7_value !== (t7_value = /*$levelInformation*/ ctx[0].nextLevel + "")) set_data(t7, t7_value);

			if (dirty & /*$levelInformation*/ 1) {
				toggle_class(div3, "hud-level-information__progressbar-nextlevel--max", /*$levelInformation*/ ctx[0].nextExp >= /*$levelInformation*/ ctx[0].maxExp);
			}

			if ((!current || dirty & /*$levelInformation*/ 1) && t9_value !== (t9_value = /*$levelInformation*/ ctx[0].currentExp + "")) set_data(t9, t9_value);
			if ((!current || dirty & /*$levelInformation*/ 1) && t11_value !== (t11_value = /*$levelInformation*/ ctx[0].maxExp + "")) set_data(t11, t11_value);
		},
		i(local) {
			if (current) return;

			if (local) {
				add_render_callback(() => {
					if (div8_outro) div8_outro.end(1);
					div8_intro = create_in_transition(div8, fly, { y: -200, duration: 1000 });
					div8_intro.start();
				});
			}

			current = true;
		},
		o(local) {
			if (div8_intro) div8_intro.invalidate();

			if (local) {
				div8_outro = create_out_transition(div8, fly, { y: -200, duration: 1000 });
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div8);
			if (detaching && div8_outro) div8_outro.end();
		}
	};
}

function hud_level_information_index_svelte_create_fragment(ctx) {
	let show_if = !(0,lodash.isEmpty)(/*$levelInformation*/ ctx[0]);
	let if_block_anchor;
	let if_block = show_if && hud_level_information_index_svelte_create_if_block(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
		},
		p(ctx, [dirty]) {
			if (dirty & /*$levelInformation*/ 1) show_if = !(0,lodash.isEmpty)(/*$levelInformation*/ ctx[0]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*$levelInformation*/ 1) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = hud_level_information_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			transition_in(if_block);
		},
		o(local) {
			transition_out(if_block);
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

function hud_level_information_index_svelte_instance($$self, $$props, $$invalidate) {
	let $levelInformation;
	component_subscribe($$self, levelInformation, $$value => $$invalidate(0, $levelInformation = $$value));
	return [$levelInformation];
}

class Hud_level_information extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, hud_level_information_index_svelte_instance, hud_level_information_index_svelte_create_fragment, safe_not_equal, {}, hud_level_information_index_svelte_add_css);
	}
}

/* harmony default export */ const hud_level_information_index_svelte = (Hud_level_information);
;// CONCATENATED MODULE: ./src/views/hud/components/hud-timer/index.svelte
/* src\views\hud\components\hud-timer\index.svelte generated by Svelte v3.49.0 */




function hud_timer_index_svelte_add_css(target) {
	append_styles(target, "svelte-ro2hrv", "@keyframes svelte-ro2hrv-blinking{50%{opacity:0}}@keyframes svelte-ro2hrv-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-ro2hrv-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-ro2hrv-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-ro2hrv-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-ro2hrv-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-ro2hrv-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-ro2hrv-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-ro2hrv-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-ro2hrv-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-ro2hrv-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-ro2hrv-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-ro2hrv-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-ro2hrv-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-ro2hrv-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.hud-timer.svelte-ro2hrv.svelte-ro2hrv{display:flex;align-items:center;flex-direction:column}.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{display:flex;align-items:center;justify-content:center;border:1px solid rgba(255, 255, 255, 0.2);background-color:rgba(67, 67, 67, 0.3);border-radius:calc(0.0166666667 * 100vw + 0px);gap:calc(0.003125 * 100vw + 0px);padding-left:calc(0.009375 * 100vw + 0px);padding-right:calc(0.009375 * 100vw + 0px);margin-bottom:calc(0.0078125 * 100vw + 0px);height:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{border-radius:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{border-radius:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{border-radius:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{border-radius:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{border-radius:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{border-radius:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{border-radius:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{gap:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{gap:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{gap:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{gap:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{gap:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{gap:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{gap:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{padding-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{padding-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{padding-left:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{padding-left:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{padding-left:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{padding-left:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{padding-left:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{padding-right:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{padding-right:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{padding-right:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{padding-right:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{padding-right:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{padding-right:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{padding-right:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{margin-bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{margin-bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{margin-bottom:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{margin-bottom:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{margin-bottom:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{margin-bottom:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{margin-bottom:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{height:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{height:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{height:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{height:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.hud-timer__time.svelte-ro2hrv.svelte-ro2hrv{height:calc(0.0275 * 100vw + 0px)}}.hud-timer__time--warning.svelte-ro2hrv.svelte-ro2hrv{background-color:rgba(255, 199, 0, 0.3);border:none}.hud-timer__time--warning.svelte-ro2hrv .hud-timer__time-value.svelte-ro2hrv{color:#FFC700}.hud-timer__time--warning.svelte-ro2hrv .hud-timer__icon.svelte-ro2hrv{color:#FFC700}.hud-timer__time--danger.svelte-ro2hrv.svelte-ro2hrv{background-color:rgba(255, 88, 88, 0.3);border:none}.hud-timer__time--danger.svelte-ro2hrv .hud-timer__time-value.svelte-ro2hrv{color:#FF5B5B}.hud-timer__time--danger.svelte-ro2hrv .hud-timer__icon.svelte-ro2hrv{color:#FF5B5B}.hud-timer__icon.svelte-ro2hrv.svelte-ro2hrv{color:#C4C4C4;font-size:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-timer__icon.svelte-ro2hrv.svelte-ro2hrv{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-timer__icon.svelte-ro2hrv.svelte-ro2hrv{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-timer__icon.svelte-ro2hrv.svelte-ro2hrv{font-size:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-timer__icon.svelte-ro2hrv.svelte-ro2hrv{font-size:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-timer__icon.svelte-ro2hrv.svelte-ro2hrv{font-size:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-timer__icon.svelte-ro2hrv.svelte-ro2hrv{font-size:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-timer__icon.svelte-ro2hrv.svelte-ro2hrv{font-size:calc(0.0171875 * 100vw + 0px)}}.hud-timer__time-value.svelte-ro2hrv.svelte-ro2hrv{font-family:\"GothamPro-Medium\";color:#C4C4C4;text-align:center;font-size:calc(0.0145833333 * 100vw + 0px);line-height:calc(0.015625 * 100vw + 0px);margin-left:calc(0.0026041667 * 100vw + 0px);width:calc(0.0416666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-timer__time-value.svelte-ro2hrv.svelte-ro2hrv{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-timer__time-value.svelte-ro2hrv.svelte-ro2hrv{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-timer__time-value.svelte-ro2hrv.svelte-ro2hrv{font-size:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-timer__time-value.svelte-ro2hrv.svelte-ro2hrv{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-timer__time-value.svelte-ro2hrv.svelte-ro2hrv{font-size:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-timer__time-value.svelte-ro2hrv.svelte-ro2hrv{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-timer__time-value.svelte-ro2hrv.svelte-ro2hrv{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-timer__time-value.svelte-ro2hrv.svelte-ro2hrv{line-height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-timer__time-value.svelte-ro2hrv.svelte-ro2hrv{line-height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-timer__time-value.svelte-ro2hrv.svelte-ro2hrv{line-height:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-timer__time-value.svelte-ro2hrv.svelte-ro2hrv{line-height:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-timer__time-value.svelte-ro2hrv.svelte-ro2hrv{line-height:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-timer__time-value.svelte-ro2hrv.svelte-ro2hrv{line-height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-timer__time-value.svelte-ro2hrv.svelte-ro2hrv{line-height:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-timer__time-value.svelte-ro2hrv.svelte-ro2hrv{margin-left:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-timer__time-value.svelte-ro2hrv.svelte-ro2hrv{margin-left:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-timer__time-value.svelte-ro2hrv.svelte-ro2hrv{margin-left:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.hud-timer__time-value.svelte-ro2hrv.svelte-ro2hrv{margin-left:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-timer__time-value.svelte-ro2hrv.svelte-ro2hrv{margin-left:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-timer__time-value.svelte-ro2hrv.svelte-ro2hrv{margin-left:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-timer__time-value.svelte-ro2hrv.svelte-ro2hrv{margin-left:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-timer__time-value.svelte-ro2hrv.svelte-ro2hrv{width:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-timer__time-value.svelte-ro2hrv.svelte-ro2hrv{width:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-timer__time-value.svelte-ro2hrv.svelte-ro2hrv{width:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-timer__time-value.svelte-ro2hrv.svelte-ro2hrv{width:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-timer__time-value.svelte-ro2hrv.svelte-ro2hrv{width:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-timer__time-value.svelte-ro2hrv.svelte-ro2hrv{width:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-timer__time-value.svelte-ro2hrv.svelte-ro2hrv{width:calc(0.0458333333 * 100vw + 0px)}}.hud-timer__title.svelte-ro2hrv.svelte-ro2hrv{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-timer__title.svelte-ro2hrv.svelte-ro2hrv{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-timer__title.svelte-ro2hrv.svelte-ro2hrv{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-timer__title.svelte-ro2hrv.svelte-ro2hrv{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-timer__title.svelte-ro2hrv.svelte-ro2hrv{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-timer__title.svelte-ro2hrv.svelte-ro2hrv{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-timer__title.svelte-ro2hrv.svelte-ro2hrv{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-timer__title.svelte-ro2hrv.svelte-ro2hrv{font-size:calc(0.0114583333 * 100vw + 0px)}}");
}

// (655:4) {#if $timer.title}
function hud_timer_index_svelte_create_if_block(ctx) {
	let p;
	let t_value = /*$timer*/ ctx[0].title + "";
	let t;

	return {
		c() {
			p = internal_element("p");
			t = internal_text(t_value);
			attr(p, "class", "hud-timer__title svelte-ro2hrv");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t);
		},
		p(ctx, dirty) {
			if (dirty & /*$timer*/ 1 && t_value !== (t_value = /*$timer*/ ctx[0].title + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

function hud_timer_index_svelte_create_fragment(ctx) {
	let div1;
	let div0;
	let span;
	let span_class_value;
	let t0;
	let p;
	let t1_value = `${/*minutes*/ ctx[1]}:${/*seconds*/ ctx[2]}` + "";
	let t1;
	let div0_class_value;
	let t2;
	let if_block = /*$timer*/ ctx[0].title && hud_timer_index_svelte_create_if_block(ctx);

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			span = internal_element("span");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			if (if_block) if_block.c();

			attr(span, "class", span_class_value = "hud-timer__icon " + (/*$timer*/ ctx[0].icon
			? /*$timer*/ ctx[0].icon
			: 'icon-timer') + " svelte-ro2hrv");

			attr(p, "class", "hud-timer__time-value svelte-ro2hrv");
			attr(div0, "class", div0_class_value = "hud-timer__time hud-timer__time--" + /*$timer*/ ctx[0].type + " svelte-ro2hrv");
			attr(div1, "class", "hud-timer svelte-ro2hrv");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, span);
			append(div0, t0);
			append(div0, p);
			append(p, t1);
			append(div1, t2);
			if (if_block) if_block.m(div1, null);
		},
		p(ctx, [dirty]) {
			if (dirty & /*$timer*/ 1 && span_class_value !== (span_class_value = "hud-timer__icon " + (/*$timer*/ ctx[0].icon
			? /*$timer*/ ctx[0].icon
			: 'icon-timer') + " svelte-ro2hrv")) {
				attr(span, "class", span_class_value);
			}

			if (dirty & /*minutes, seconds*/ 6 && t1_value !== (t1_value = `${/*minutes*/ ctx[1]}:${/*seconds*/ ctx[2]}` + "")) set_data(t1, t1_value);

			if (dirty & /*$timer*/ 1 && div0_class_value !== (div0_class_value = "hud-timer__time hud-timer__time--" + /*$timer*/ ctx[0].type + " svelte-ro2hrv")) {
				attr(div0, "class", div0_class_value);
			}

			if (/*$timer*/ ctx[0].title) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = hud_timer_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div1, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
			if (if_block) if_block.d();
		}
	};
}

function hud_timer_index_svelte_instance($$self, $$props, $$invalidate) {
	let $timer;
	component_subscribe($$self, timer, $$value => $$invalidate(0, $timer = $$value));
	let minutes = 0;
	let seconds = 0;

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*$timer*/ 1) {
			$: {
				$$invalidate(1, minutes = Math.floor($timer.time / 60));
				$$invalidate(2, seconds = ($timer.time % 60).toString().padStart(2, '0'));
			}
		}
	};

	return [$timer, minutes, seconds];
}

class Hud_timer extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, hud_timer_index_svelte_instance, hud_timer_index_svelte_create_fragment, safe_not_equal, {}, hud_timer_index_svelte_add_css);
	}
}

/* harmony default export */ const hud_timer_index_svelte = (Hud_timer);
;// CONCATENATED MODULE: ./src/views/hud/components/hud-speedometer/index.svelte
/* src\views\hud\components\hud-speedometer\index.svelte generated by Svelte v3.49.0 */










function hud_speedometer_index_svelte_create_fragment(ctx) {
	let switch_instance;
	let switch_instance_anchor;
	let current;
	var switch_value = MAP_ID_TO_SPEEDOMETER[/*$speedometerType*/ ctx[0]];

	function switch_props(ctx) {
		return {};
	}

	if (switch_value) {
		switch_instance = new switch_value(switch_props(ctx));
	}

	return {
		c() {
			if (switch_instance) create_component(switch_instance.$$.fragment);
			switch_instance_anchor = empty();
		},
		m(target, anchor) {
			if (switch_instance) {
				mount_component(switch_instance, target, anchor);
			}

			insert(target, switch_instance_anchor, anchor);
			current = true;
		},
		p(ctx, [dirty]) {
			if (switch_value !== (switch_value = MAP_ID_TO_SPEEDOMETER[/*$speedometerType*/ ctx[0]])) {
				if (switch_instance) {
					group_outros();
					const old_component = switch_instance;

					transition_out(old_component.$$.fragment, 1, 0, () => {
						destroy_component(old_component, 1);
					});

					check_outros();
				}

				if (switch_value) {
					switch_instance = new switch_value(switch_props(ctx));
					create_component(switch_instance.$$.fragment);
					transition_in(switch_instance.$$.fragment, 1);
					mount_component(switch_instance, switch_instance_anchor.parentNode, switch_instance_anchor);
				} else {
					switch_instance = null;
				}
			} else if (switch_value) {
				
			}
		},
		i(local) {
			if (current) return;
			if (switch_instance) transition_in(switch_instance.$$.fragment, local);
			current = true;
		},
		o(local) {
			if (switch_instance) transition_out(switch_instance.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(switch_instance_anchor);
			if (switch_instance) destroy_component(switch_instance, detaching);
		}
	};
}

function hud_speedometer_index_svelte_instance($$self, $$props, $$invalidate) {
	let $speedometerType;
	component_subscribe($$self, speedometerType, $$value => $$invalidate(0, $speedometerType = $$value));

	onMount(() => {
		subscribesManager.subscribe(VEHICLE_METHODS);
	});

	onDestroy(() => {
		subscribesManager.unsubscribe(VEHICLE_METHODS);
	});

	return [$speedometerType];
}

class Hud_speedometer extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, hud_speedometer_index_svelte_instance, hud_speedometer_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const hud_speedometer_index_svelte = (Hud_speedometer);
;// CONCATENATED MODULE: ./src/views/hud/components/hud-banner/index.svelte
/* src\views\hud\components\hud-banner\index.svelte generated by Svelte v3.49.0 */












function hud_banner_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[5] = list[i];
	child_ctx[7] = i;
	return child_ctx;
}

// (48:0) {#if !isEmpty(bannerInfo)}
function hud_banner_index_svelte_create_if_block(ctx) {
	let div5;
	let div3;
	let img;
	let img_src_value;
	let t0;
	let div0;
	let t1_value = /*bannerInfo*/ ctx[0].title + "";
	let t1;
	let t2;
	let div2;
	let div1;
	let t3_value = /*bannerInfo*/ ctx[0].actionTitle + "";
	let t3;
	let t4;
	let show_if;
	let t5;
	let div4;
	let div5_intro;

	function select_block_type(ctx, dirty) {
		if (dirty & /*bannerInfo*/ 1) show_if = null;
		if (show_if == null) show_if = !!!(0,lodash.isEmpty)(/*bannerInfo*/ ctx[0].actionText);
		if (show_if) return hud_banner_index_svelte_create_if_block_2;
		if (/*bannerInfo*/ ctx[0].timer >= 0) return index_svelte_create_if_block_3;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block = current_block_type && current_block_type(ctx);
	let each_value = /*bannerInfo*/ ctx[0].description;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = hud_banner_index_svelte_create_each_block(hud_banner_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div5 = internal_element("div");
			div3 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			div2 = internal_element("div");
			div1 = internal_element("div");
			t3 = internal_text(t3_value);
			t4 = space();
			if (if_block) if_block.c();
			t5 = space();
			div4 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/tpevent/images/${/*bannerInfo*/ ctx[0].image}`)) attr(img, "src", img_src_value);
			attr(img, "alt", "banner");
			attr(img, "class", "az-banner__image");
			attr(div0, "class", "az-banner__title");
			attr(div1, "class", "az-banner__action-caption");
			attr(div2, "class", "az-banner__action-wrapper");
			attr(div3, "class", "az-banner__main");
			attr(div4, "class", "az-banner__footer");
			attr(div5, "class", "az-banner");
			set_style(div5, "--mainColor", /*bannerInfo*/ ctx[0].mainColor);
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			append(div5, div3);
			append(div3, img);
			append(div3, t0);
			append(div3, div0);
			append(div0, t1);
			append(div3, t2);
			append(div3, div2);
			append(div2, div1);
			append(div1, t3);
			append(div2, t4);
			if (if_block) if_block.m(div2, null);
			append(div5, t5);
			append(div5, div4);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div4, null);
			}
		},
		p(ctx, dirty) {
			if (dirty & /*bannerInfo*/ 1 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/tpevent/images/${/*bannerInfo*/ ctx[0].image}`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*bannerInfo*/ 1 && t1_value !== (t1_value = /*bannerInfo*/ ctx[0].title + "")) set_data(t1, t1_value);
			if (dirty & /*bannerInfo*/ 1 && t3_value !== (t3_value = /*bannerInfo*/ ctx[0].actionTitle + "")) set_data(t3, t3_value);

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if (if_block) if_block.d(1);
				if_block = current_block_type && current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div2, null);
				}
			}

			if (dirty & /*bannerInfo*/ 1) {
				each_value = /*bannerInfo*/ ctx[0].description;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = hud_banner_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = hud_banner_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div4, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if (dirty & /*bannerInfo*/ 1) {
				set_style(div5, "--mainColor", /*bannerInfo*/ ctx[0].mainColor);
			}
		},
		i(local) {
			if (!div5_intro) {
				add_render_callback(() => {
					div5_intro = create_in_transition(div5, fade, {});
					div5_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div5);

			if (if_block) {
				if_block.d();
			}

			destroy_each(each_blocks, detaching);
		}
	};
}

// (60:36) 
function index_svelte_create_if_block_3(ctx) {
	let div1;
	let i;
	let t0;
	let div0;
	let t1;

	return {
		c() {
			div1 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(/*time*/ ctx[1]);
			attr(i, "class", "az-banner__action-icon icon-timer");
			attr(div0, "class", "az-banner__action-text");
			attr(div1, "class", "az-banner__action-frame");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, i);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*time*/ 2) set_data(t1, /*time*/ ctx[1]);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (56:4) {#if !isEmpty(bannerInfo.actionText)}
function hud_banner_index_svelte_create_if_block_2(ctx) {
	let div1;
	let div0;
	let t_value = /*bannerInfo*/ ctx[0].actionText + "";
	let t;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			t = internal_text(t_value);
			attr(div0, "class", "az-banner__action-text");
			attr(div1, "class", "az-banner__action-frame");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, t);
		},
		p(ctx, dirty) {
			if (dirty & /*bannerInfo*/ 1 && t_value !== (t_value = /*bannerInfo*/ ctx[0].actionText + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (70:4) {#if index > 0}
function hud_banner_index_svelte_create_if_block_1(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "az-banner__footer-separator ui-right-chevron");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (69:3) {#each bannerInfo.description as part, index}
function hud_banner_index_svelte_create_each_block(ctx) {
	let t;
	let div;
	let raw_value = /*part*/ ctx[5] + "";
	let if_block = /*index*/ ctx[7] > 0 && hud_banner_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			t = space();
			div = internal_element("div");
			attr(div, "class", "az-banner__footer-text");
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, t, anchor);
			insert(target, div, anchor);
			div.innerHTML = raw_value;
		},
		p(ctx, dirty) {
			if (dirty & /*bannerInfo*/ 1 && raw_value !== (raw_value = /*part*/ ctx[5] + "")) div.innerHTML = raw_value;;
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(t);
			if (detaching) detach(div);
		}
	};
}

function hud_banner_index_svelte_create_fragment(ctx) {
	let show_if = !(0,lodash.isEmpty)(/*bannerInfo*/ ctx[0]);
	let if_block_anchor;
	let if_block = show_if && hud_banner_index_svelte_create_if_block(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
		},
		p(ctx, [dirty]) {
			if (dirty & /*bannerInfo*/ 1) show_if = !(0,lodash.isEmpty)(/*bannerInfo*/ ctx[0]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*bannerInfo*/ 1) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = hud_banner_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		i(local) {
			transition_in(if_block);
		},
		o: internal_noop,
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

function hud_banner_index_svelte_instance($$self, $$props, $$invalidate) {
	let bannerInfo = {};
	let timerInterval = null;
	let time = '';

	const initializeBannerInfo = bannerDto => {
		if (!(0,lodash.isNil)(timerInterval)) {
			clearInterval(timerInterval);
			timerInterval = null;
		}

		$$invalidate(0, bannerInfo = bannerDto);

		const timeFormatter = bannerInfo.timer > 3600
		? formatSecondsToHoursMinutesAndSeconds
		: formatSecondsToMmSs;

		$$invalidate(1, time = timeFormatter(bannerInfo.timer));

		if (bannerDto.timer > 0) {
			timerInterval = setInterval(
				() => {
					$$invalidate(0, bannerInfo.timer -= 1, bannerInfo);
					$$invalidate(1, time = timeFormatter(bannerInfo.timer));

					if (bannerInfo.timer === 0) {
						clearInterval(timerInterval);
						timerInterval = null;
					}
				},
				1000
			);
		}
	};

	const unregisterInitializeBannerInfo = registerEvent('event.banner.initializeBannerInfo', initializeBannerInfo);

	onDestroy(() => {
		unregisterInitializeBannerInfo();

		if (!(0,lodash.isNil)(timerInterval)) {
			clearInterval(timerInterval);
			timerInterval = null;
		}
	});

	return [bannerInfo, time];
}

class Hud_banner extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, hud_banner_index_svelte_instance, hud_banner_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const hud_banner_index_svelte = (Hud_banner);
;// CONCATENATED MODULE: ./src/views/hud/components/hud-battle-pass-notification/index.svelte
/* src\views\hud\components\hud-battle-pass-notification\index.svelte generated by Svelte v3.49.0 */









function hud_battle_pass_notification_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[8] = list[i];
	return child_ctx;
}

// (34:0) {#if visible}
function hud_battle_pass_notification_index_svelte_create_if_block(ctx) {
	let div;
	let t0;
	let t1;
	let t2;
	let show_if = !(0,lodash.isEmpty)(/*rewards*/ ctx[4]);
	let t3;
	let div_intro;
	let div_outro;
	let current;
	let if_block0 = /*withImage*/ ctx[3] && create_if_block_5(ctx);
	let if_block1 = /*title*/ ctx[1] && create_if_block_4(ctx);
	let if_block2 = /*description*/ ctx[2] && hud_battle_pass_notification_index_svelte_create_if_block_3(ctx);
	let if_block3 = show_if && hud_battle_pass_notification_index_svelte_create_if_block_2(ctx);
	let if_block4 = /*imageType*/ ctx[5] < 3 && hud_battle_pass_notification_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			div = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			if (if_block1) if_block1.c();
			t1 = space();
			if (if_block2) if_block2.c();
			t2 = space();
			if (if_block3) if_block3.c();
			t3 = space();
			if (if_block4) if_block4.c();
			attr(div, "class", "arizona-pass-hud-notification");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block0) if_block0.m(div, null);
			append(div, t0);
			if (if_block1) if_block1.m(div, null);
			append(div, t1);
			if (if_block2) if_block2.m(div, null);
			append(div, t2);
			if (if_block3) if_block3.m(div, null);
			append(div, t3);
			if (if_block4) if_block4.m(div, null);
			current = true;
		},
		p(ctx, dirty) {
			if (/*withImage*/ ctx[3]) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = create_if_block_5(ctx);
					if_block0.c();
					if_block0.m(div, t0);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (/*title*/ ctx[1]) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = create_if_block_4(ctx);
					if_block1.c();
					if_block1.m(div, t1);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (/*description*/ ctx[2]) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = hud_battle_pass_notification_index_svelte_create_if_block_3(ctx);
					if_block2.c();
					if_block2.m(div, t2);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			if (dirty & /*rewards*/ 16) show_if = !(0,lodash.isEmpty)(/*rewards*/ ctx[4]);

			if (show_if) {
				if (if_block3) {
					if_block3.p(ctx, dirty);
				} else {
					if_block3 = hud_battle_pass_notification_index_svelte_create_if_block_2(ctx);
					if_block3.c();
					if_block3.m(div, t3);
				}
			} else if (if_block3) {
				if_block3.d(1);
				if_block3 = null;
			}

			if (/*imageType*/ ctx[5] < 3) {
				if (if_block4) {
					
				} else {
					if_block4 = hud_battle_pass_notification_index_svelte_create_if_block_1(ctx);
					if_block4.c();
					if_block4.m(div, null);
				}
			} else if (if_block4) {
				if_block4.d(1);
				if_block4 = null;
			}
		},
		i(local) {
			if (current) return;

			if (local) {
				add_render_callback(() => {
					if (div_outro) div_outro.end(1);
					div_intro = create_in_transition(div, fly, { x: 200, duration: 1000 });
					div_intro.start();
				});
			}

			current = true;
		},
		o(local) {
			if (div_intro) div_intro.invalidate();

			if (local) {
				div_outro = create_out_transition(div, fly, { x: 400, duration: 1000 });
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			if (if_block2) if_block2.d();
			if (if_block3) if_block3.d();
			if (if_block4) if_block4.d();
			if (detaching && div_outro) div_outro.end();
		}
	};
}

// (40:2) {#if withImage}
function create_if_block_5(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/notify/${/*imageType*/ ctx[5] + 1}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "logo");
			attr(img, "class", "arizona-pass-hud-notification__logo");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*imageType*/ 32 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/notify/${/*imageType*/ ctx[5] + 1}.webp`)) {
				attr(img, "src", img_src_value);
			}
		},
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (43:2) {#if title}
function create_if_block_4(ctx) {
	let p;
	let t;

	return {
		c() {
			p = internal_element("p");
			t = internal_text(/*title*/ ctx[1]);
			attr(p, "class", "arizona-pass-hud-notification__title");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t);
		},
		p(ctx, dirty) {
			if (dirty & /*title*/ 2) set_data(t, /*title*/ ctx[1]);
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (48:2) {#if description}
function hud_battle_pass_notification_index_svelte_create_if_block_3(ctx) {
	let p;
	let t;

	return {
		c() {
			p = internal_element("p");
			t = internal_text(/*description*/ ctx[2]);
			attr(p, "class", "arizona-pass-hud-notification__description");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t);
		},
		p(ctx, dirty) {
			if (dirty & /*description*/ 4) set_data(t, /*description*/ ctx[2]);
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (53:2) {#if !isEmpty(rewards)}
function hud_battle_pass_notification_index_svelte_create_if_block_2(ctx) {
	let div;
	let each_value = /*rewards*/ ctx[4];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = hud_battle_pass_notification_index_svelte_create_each_block(hud_battle_pass_notification_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "arizona-pass-hud-notification__rewards");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}
		},
		p(ctx, dirty) {
			if (dirty & /*rewards, CDN_URL_RODINA*/ 16) {
				each_value = /*rewards*/ ctx[4];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = hud_battle_pass_notification_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = hud_battle_pass_notification_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (55:4) {#each rewards as reward}
function hud_battle_pass_notification_index_svelte_create_each_block(ctx) {
	let div1;
	let div0;
	let img;
	let img_src_value;
	let t0;
	let p;
	let t1_value = /*reward*/ ctx[8].title + "";
	let t1;
	let t2;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(img, "class", "arizona-pass-hud-notification__reward-image");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/training/image/${/*reward*/ ctx[8].sysName}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "item");
			attr(div0, "class", "arizona-pass-hud-notification__reward-image-wrapper");
			attr(p, "class", "arizona-pass-hud-notification__reward-title");
			attr(div1, "class", "arizona-pass-hud-notification__reward");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, img);
			append(div1, t0);
			append(div1, p);
			append(p, t1);
			append(div1, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*rewards*/ 16 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/training/image/${/*reward*/ ctx[8].sysName}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*rewards*/ 16 && t1_value !== (t1_value = /*reward*/ ctx[8].title + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (67:2) {#if imageType < 3}
function hud_battle_pass_notification_index_svelte_create_if_block_1(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");

			div.innerHTML = `<p class="arizona-pass-hud-notification__button-key">B</p> 
				<span class="arizona-pass-hud-notification__button-text">Узнать подробнее</span>`;

			attr(div, "class", "arizona-pass-hud-notification__button");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function hud_battle_pass_notification_index_svelte_create_fragment(ctx) {
	let if_block_anchor;
	let if_block = /*visible*/ ctx[0] && hud_battle_pass_notification_index_svelte_create_if_block(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
		},
		p(ctx, [dirty]) {
			if (/*visible*/ ctx[0]) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*visible*/ 1) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = hud_battle_pass_notification_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			transition_in(if_block);
		},
		o(local) {
			transition_out(if_block);
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

function hud_battle_pass_notification_index_svelte_instance($$self, $$props, $$invalidate) {
	let visible = false;
	let title = '';
	let description = '';
	let withImage = false;
	let rewards = []; // { title: 'Item', sysName: 'sysName' }
	let imageType = 0;

	const initialize = (_visible, _title, _description, _withImage, type, _rewards = []) => {
		$$invalidate(0, visible = _visible);
		$$invalidate(1, title = _title);
		$$invalidate(2, description = _description);
		$$invalidate(3, withImage = _withImage);
		$$invalidate(4, rewards = _rewards);
		$$invalidate(5, imageType = type);
	};

	const unregisterArizonaNotifyBattlePass = registerEvent('event.battlepass.MenuPressKeyBattlePass', initialize);

	onDestroy(() => {
		unregisterArizonaNotifyBattlePass();
	});

	return [visible, title, description, withImage, rewards, imageType];
}

class Hud_battle_pass_notification extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, hud_battle_pass_notification_index_svelte_instance, hud_battle_pass_notification_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const hud_battle_pass_notification_index_svelte = (Hud_battle_pass_notification);
;// CONCATENATED MODULE: ./src/views/hud/components/hud-taximeter/img/taxi-logo.png
const taxi_logo_namespaceObject = __webpack_require__.p + "assets/717d3127f71162a6461c.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-taximeter/img/bus-logo.png
const bus_logo_namespaceObject = __webpack_require__.p + "assets/3fe92bdb546cf87ccad0.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-taximeter/img/truck-logo.png
const truck_logo_namespaceObject = __webpack_require__.p + "assets/36ed55a500bafc02da12.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-taximeter/index.svelte
/* src\views\hud\components\hud-taximeter\index.svelte generated by Svelte v3.49.0 */












function hud_taximeter_index_svelte_create_fragment(ctx) {
	let div5;
	let div1;
	let img;
	let img_src_value;
	let t0;
	let div0;
	let t1_value = formatSecondsToMmSs(/*time*/ ctx[0]) + "";
	let t1;
	let t2;
	let div4;
	let div2;
	let t4;
	let div3;
	let t5_value = `${/*price*/ ctx[1]}` + "";
	let t5;
	let t6;
	let div5_intro;

	return {
		c() {
			div5 = internal_element("div");
			div1 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			div4 = internal_element("div");
			div2 = internal_element("div");
			div2.textContent = "Сумма за поездку";
			t4 = space();
			div3 = internal_element("div");
			t5 = internal_text(t5_value);
			t6 = internal_text(" руб.");
			attr(img, "class", "taximeter__main-logo");
			if (!src_url_equal(img.src, img_src_value = /*logoImage*/ ctx[3])) attr(img, "src", img_src_value);
			attr(img, "alt", "logo");
			attr(div0, "class", "taximeter__main-timer");
			toggle_class(div0, "taximeter__main-timer--bus", /*busMode*/ ctx[2] === 'bus');
			attr(div1, "class", "taximeter__main");
			toggle_class(div1, "taximeter__main--truck", /*busMode*/ ctx[2] === 'truck');
			toggle_class(div1, "taximeter__main--bus", /*busMode*/ ctx[2] === 'bus');
			attr(div2, "class", "taximeter__price-caption");
			attr(div3, "class", "taximeter__price-value");
			attr(div4, "class", "taximeter__price");
			toggle_class(div4, "taximeter__price--truck", /*busMode*/ ctx[2] === 'truck');
			toggle_class(div4, "taximeter__price--bus", /*busMode*/ ctx[2] === 'bus');
			attr(div5, "class", "taximeter");
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			append(div5, div1);
			append(div1, img);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
			append(div5, t2);
			append(div5, div4);
			append(div4, div2);
			append(div4, t4);
			append(div4, div3);
			append(div3, t5);
			append(div3, t6);
		},
		p(ctx, [dirty]) {
			if (dirty & /*logoImage*/ 8 && !src_url_equal(img.src, img_src_value = /*logoImage*/ ctx[3])) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*time*/ 1 && t1_value !== (t1_value = formatSecondsToMmSs(/*time*/ ctx[0]) + "")) set_data(t1, t1_value);

			if (dirty & /*busMode*/ 4) {
				toggle_class(div0, "taximeter__main-timer--bus", /*busMode*/ ctx[2] === 'bus');
			}

			if (dirty & /*busMode*/ 4) {
				toggle_class(div1, "taximeter__main--truck", /*busMode*/ ctx[2] === 'truck');
			}

			if (dirty & /*busMode*/ 4) {
				toggle_class(div1, "taximeter__main--bus", /*busMode*/ ctx[2] === 'bus');
			}

			if (dirty & /*price*/ 2 && t5_value !== (t5_value = `${/*price*/ ctx[1]}` + "")) set_data(t5, t5_value);

			if (dirty & /*busMode*/ 4) {
				toggle_class(div4, "taximeter__price--truck", /*busMode*/ ctx[2] === 'truck');
			}

			if (dirty & /*busMode*/ 4) {
				toggle_class(div4, "taximeter__price--bus", /*busMode*/ ctx[2] === 'bus');
			}
		},
		i(local) {
			if (!div5_intro) {
				add_render_callback(() => {
					div5_intro = create_in_transition(div5, fade, {});
					div5_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div5);
		}
	};
}

function hud_taximeter_index_svelte_instance($$self, $$props, $$invalidate) {
	let timerIntervalId = null;
	let time = 0;
	let price = 0;
	let busMode = null;
	let logoImage = taxi_logo_namespaceObject;
	let isCountdown = 0;

	const initializeCountdown = value => {
		isCountdown = value;
	};

	const initializeType = type => {
		$$invalidate(2, busMode = type);
		isCountdown = 0;

		if (type === 'taxi') {
			$$invalidate(3, logoImage = taxi_logo_namespaceObject);
		} else if (type === 'bus') {
			$$invalidate(3, logoImage = bus_logo_namespaceObject);
		} else if (type === 'truck') {
			$$invalidate(3, logoImage = truck_logo_namespaceObject);
		}
	};

	const initializePrice = priceValue => {
		$$invalidate(1, price = priceValue);
	};

	const initializeTimer = seconds => {
		$$invalidate(0, time = seconds);

		if ((0,lodash.isNil)(timerIntervalId)) {
			timerIntervalId = setInterval(
				() => {
					if (isCountdown) {
						$$invalidate(0, time -= 1);
					} else {
						$$invalidate(0, time += 1);
					}
				},
				1000
			);
		}
	};

	const unregisterInitializePrice = registerEvent('event.taximeter.initializePrice', initializePrice);
	const unregisterInitializeTimer = registerEvent('event.taximeter.initializeTimer', initializeTimer);
	const unregisterInitializeType = registerEvent('event.taximeter.initializeType', initializeType);
	const unregisterinitializeCountdown = registerEvent('event.taximeter.initializeCountdown', initializeCountdown);

	onDestroy(() => {
		if (!(0,lodash.isNil)(timerIntervalId)) {
			clearInterval(timerIntervalId);
			timerIntervalId = null;
		}

		unregisterInitializePrice();
		unregisterInitializeTimer();
		unregisterInitializeType();
		unregisterinitializeCountdown();
	});

	return [time, price, busMode, logoImage];
}

class Hud_taximeter extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, hud_taximeter_index_svelte_instance, hud_taximeter_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const hud_taximeter_index_svelte = (Hud_taximeter);
;// CONCATENATED MODULE: ./src/views/hud/components/hud-interaction-button/index.svelte
/* src\views\hud\components\hud-interaction-button\index.svelte generated by Svelte v3.49.0 */





function hud_interaction_button_index_svelte_add_css(target) {
	append_styles(target, "svelte-sy459u", "@keyframes svelte-sy459u-blinking{50%{opacity:0}}@keyframes svelte-sy459u-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-sy459u-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-sy459u-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-sy459u-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-sy459u-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-sy459u-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-sy459u-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-sy459u-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-sy459u-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-sy459u-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-sy459u-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-sy459u-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-sy459u-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-sy459u-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.hud-interaction-button.svelte-sy459u{display:flex;justify-content:center;align-items:center;gap:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-interaction-button.svelte-sy459u{gap:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-interaction-button.svelte-sy459u{gap:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-interaction-button.svelte-sy459u{gap:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-interaction-button.svelte-sy459u{gap:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-interaction-button.svelte-sy459u{gap:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-interaction-button.svelte-sy459u{gap:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-interaction-button.svelte-sy459u{gap:calc(0.0045833333 * 100vw + 0px)}}.hud-interaction-button.svelte-sy459u::before{content:\"\";position:absolute;background:#202731;z-index:-1;filter:blur(calc(0.015625 * 100vw + 0px));width:100%;padding:calc(0 * 100vw + 0px) calc(0.015625 * 100vw + 0px);height:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-interaction-button.svelte-sy459u::before{padding:calc(0 * 100vw + 0px) calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-interaction-button.svelte-sy459u::before{padding:calc(0 * 100vw + 0px) calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-interaction-button.svelte-sy459u::before{padding:calc(0 * 100vw + 0px) calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-interaction-button.svelte-sy459u::before{padding:calc(0 * 100vw + 0px) calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-interaction-button.svelte-sy459u::before{padding:calc(0 * 100vw + 0px) calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-interaction-button.svelte-sy459u::before{padding:calc(0 * 100vw + 0px) calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-interaction-button.svelte-sy459u::before{padding:calc(0 * 100vw + 0px) calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-interaction-button.svelte-sy459u::before{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-interaction-button.svelte-sy459u::before{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-interaction-button.svelte-sy459u::before{height:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.hud-interaction-button.svelte-sy459u::before{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-interaction-button.svelte-sy459u::before{height:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-interaction-button.svelte-sy459u::before{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-interaction-button.svelte-sy459u::before{height:calc(0.0200520833 * 100vw + 0px)}}.hud-interaction-button__key-title-wrapper.svelte-sy459u{display:flex;align-items:center;justify-content:center;border:5px solid rgba(255, 255, 255, 0.2);background-color:rgba(255, 255, 255, 0.3);border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.0260416667 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-interaction-button__key-title-wrapper.svelte-sy459u{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-interaction-button__key-title-wrapper.svelte-sy459u{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-interaction-button__key-title-wrapper.svelte-sy459u{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-interaction-button__key-title-wrapper.svelte-sy459u{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-interaction-button__key-title-wrapper.svelte-sy459u{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-interaction-button__key-title-wrapper.svelte-sy459u{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-interaction-button__key-title-wrapper.svelte-sy459u{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-interaction-button__key-title-wrapper.svelte-sy459u{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-interaction-button__key-title-wrapper.svelte-sy459u{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-interaction-button__key-title-wrapper.svelte-sy459u{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-interaction-button__key-title-wrapper.svelte-sy459u{width:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-interaction-button__key-title-wrapper.svelte-sy459u{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-interaction-button__key-title-wrapper.svelte-sy459u{width:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-interaction-button__key-title-wrapper.svelte-sy459u{width:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-interaction-button__key-title-wrapper.svelte-sy459u{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-interaction-button__key-title-wrapper.svelte-sy459u{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-interaction-button__key-title-wrapper.svelte-sy459u{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-interaction-button__key-title-wrapper.svelte-sy459u{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-interaction-button__key-title-wrapper.svelte-sy459u{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-interaction-button__key-title-wrapper.svelte-sy459u{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-interaction-button__key-title-wrapper.svelte-sy459u{height:calc(0.0286458333 * 100vw + 0px)}}.hud-interaction-button__key-title.svelte-sy459u{font-family:PFDinDisplayProRegular;font-weight:700;color:#FFFFFF;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-interaction-button__key-title.svelte-sy459u{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-interaction-button__key-title.svelte-sy459u{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-interaction-button__key-title.svelte-sy459u{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-interaction-button__key-title.svelte-sy459u{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-interaction-button__key-title.svelte-sy459u{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-interaction-button__key-title.svelte-sy459u{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-interaction-button__key-title.svelte-sy459u{font-size:calc(0.01375 * 100vw + 0px)}}.hud-interaction-button__title.svelte-sy459u{font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-interaction-button__title.svelte-sy459u{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-interaction-button__title.svelte-sy459u{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-interaction-button__title.svelte-sy459u{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-interaction-button__title.svelte-sy459u{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-interaction-button__title.svelte-sy459u{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-interaction-button__title.svelte-sy459u{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-interaction-button__title.svelte-sy459u{font-size:calc(0.01375 * 100vw + 0px)}}");
}

function hud_interaction_button_index_svelte_create_fragment(ctx) {
	let div1;
	let div0;
	let p0;
	let t0;
	let t1;
	let p1;
	let t2;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(/*keyTitle*/ ctx[0]);
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(/*actionTitle*/ ctx[1]);
			attr(p0, "class", "hud-interaction-button__key-title svelte-sy459u");
			attr(div0, "class", "hud-interaction-button__key-title-wrapper svelte-sy459u");
			attr(p1, "class", "hud-interaction-button__title svelte-sy459u");
			attr(div1, "class", "hud-interaction-button svelte-sy459u");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, p0);
			append(p0, t0);
			append(div1, t1);
			append(div1, p1);
			append(p1, t2);
		},
		p(ctx, [dirty]) {
			if (dirty & /*keyTitle*/ 1) set_data(t0, /*keyTitle*/ ctx[0]);
			if (dirty & /*actionTitle*/ 2) set_data(t2, /*actionTitle*/ ctx[1]);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

function hud_interaction_button_index_svelte_instance($$self, $$props, $$invalidate) {
	let keyTitle = '';
	let actionTitle = '';

	const initializeTitle = (key, action) => {
		$$invalidate(0, keyTitle = key);
		$$invalidate(1, actionTitle = action);
	};

	const unregisterInitializeTitleEvent = registerEvent('hud.interactionButton.initializeTitle', initializeTitle);

	onDestroy(() => {
		unregisterInitializeTitleEvent();
	});

	return [keyTitle, actionTitle];
}

class Hud_interaction_button extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, hud_interaction_button_index_svelte_instance, hud_interaction_button_index_svelte_create_fragment, safe_not_equal, {}, hud_interaction_button_index_svelte_add_css);
	}
}

/* harmony default export */ const hud_interaction_button_index_svelte = (Hud_interaction_button);
;// CONCATENATED MODULE: ./src/views/hud/components/hud-info-job/img/hearth.png
const hearth_namespaceObject = __webpack_require__.p + "assets/b6869566ed41aab23083.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-info-job/index.svelte
/* src\views\hud\components\hud-info-job\index.svelte generated by Svelte v3.49.0 */





function hud_info_job_index_svelte_add_css(target) {
	append_styles(target, "svelte-10i0mv3", "@keyframes svelte-10i0mv3-blinking{50%{opacity:0}}@keyframes svelte-10i0mv3-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-10i0mv3-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-10i0mv3-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-10i0mv3-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-10i0mv3-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-10i0mv3-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-10i0mv3-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-10i0mv3-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-10i0mv3-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-10i0mv3-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-10i0mv3-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-10i0mv3-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-10i0mv3-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-10i0mv3-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.hud-info-job.svelte-10i0mv3{display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(0deg, rgba(15, 15, 15, 0.9), rgba(15, 15, 15, 0.9)), linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(45, 45, 45, 0.179866) 10.07%, rgba(45, 45, 45, 0.033557) 83.22%, rgba(13, 13, 13, 0) 100%);backdrop-filter:blur(18px);box-shadow:0px 18.49px 77.06px 0px rgba(0, 0, 0, 0.5019607843), 0px -4.82px 0px 0px rgba(255, 255, 255, 0.04) inset, 0px 6.16px 11.51px 0px rgba(255, 255, 255, 0.02) inset;border-radius:calc(0.00625 * 100vw + 0px);gap:calc(0.0052083333 * 100vw + 0px);width:calc(0.1541666667 * 100vw + 0px);height:calc(0.0713541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-info-job.svelte-10i0mv3{border-radius:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-info-job.svelte-10i0mv3{border-radius:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-info-job.svelte-10i0mv3{border-radius:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-info-job.svelte-10i0mv3{border-radius:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-info-job.svelte-10i0mv3{border-radius:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-info-job.svelte-10i0mv3{border-radius:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-info-job.svelte-10i0mv3{border-radius:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-info-job.svelte-10i0mv3{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-info-job.svelte-10i0mv3{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-info-job.svelte-10i0mv3{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-info-job.svelte-10i0mv3{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-info-job.svelte-10i0mv3{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-info-job.svelte-10i0mv3{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-info-job.svelte-10i0mv3{gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-info-job.svelte-10i0mv3{width:calc(0.1541666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-info-job.svelte-10i0mv3{width:calc(0.1541666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-info-job.svelte-10i0mv3{width:calc(0.1187083333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-info-job.svelte-10i0mv3{width:calc(0.1695833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-info-job.svelte-10i0mv3{width:calc(0.1079166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-info-job.svelte-10i0mv3{width:calc(0.13875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-info-job.svelte-10i0mv3{width:calc(0.1695833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-info-job.svelte-10i0mv3{height:calc(0.0713541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-info-job.svelte-10i0mv3{height:calc(0.0713541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-info-job.svelte-10i0mv3{height:calc(0.0549427083 * 100vw + 0px)}}@media(min-width: 3440px){.hud-info-job.svelte-10i0mv3{height:calc(0.0784895833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-info-job.svelte-10i0mv3{height:calc(0.0499479167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-info-job.svelte-10i0mv3{height:calc(0.06421875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-info-job.svelte-10i0mv3{height:calc(0.0784895833 * 100vw + 0px)}}.hud-info-job__hearth-progress-wrapper.svelte-10i0mv3{display:flex;align-items:center;position:relative;background-color:#483024;width:calc(0.140625 * 100vw + 0px);height:calc(0.0270833333 * 100vw + 0px);border-radius:calc(0.0046875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-info-job__hearth-progress-wrapper.svelte-10i0mv3{width:calc(0.140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-info-job__hearth-progress-wrapper.svelte-10i0mv3{width:calc(0.140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-info-job__hearth-progress-wrapper.svelte-10i0mv3{width:calc(0.10828125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-info-job__hearth-progress-wrapper.svelte-10i0mv3{width:calc(0.1546875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-info-job__hearth-progress-wrapper.svelte-10i0mv3{width:calc(0.0984375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-info-job__hearth-progress-wrapper.svelte-10i0mv3{width:calc(0.1265625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-info-job__hearth-progress-wrapper.svelte-10i0mv3{width:calc(0.1546875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-info-job__hearth-progress-wrapper.svelte-10i0mv3{height:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-info-job__hearth-progress-wrapper.svelte-10i0mv3{height:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-info-job__hearth-progress-wrapper.svelte-10i0mv3{height:calc(0.0208541667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-info-job__hearth-progress-wrapper.svelte-10i0mv3{height:calc(0.0297916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-info-job__hearth-progress-wrapper.svelte-10i0mv3{height:calc(0.0189583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-info-job__hearth-progress-wrapper.svelte-10i0mv3{height:calc(0.024375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-info-job__hearth-progress-wrapper.svelte-10i0mv3{height:calc(0.0297916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-info-job__hearth-progress-wrapper.svelte-10i0mv3{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-info-job__hearth-progress-wrapper.svelte-10i0mv3{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-info-job__hearth-progress-wrapper.svelte-10i0mv3{border-radius:calc(0.003609375 * 100vw + 0px)}}@media(min-width: 3440px){.hud-info-job__hearth-progress-wrapper.svelte-10i0mv3{border-radius:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-info-job__hearth-progress-wrapper.svelte-10i0mv3{border-radius:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-info-job__hearth-progress-wrapper.svelte-10i0mv3{border-radius:calc(0.00421875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-info-job__hearth-progress-wrapper.svelte-10i0mv3{border-radius:calc(0.00515625 * 100vw + 0px)}}.hud-info-job__hearth-progress.svelte-10i0mv3{display:flex;align-items:center;border:2px solid #312119;overflow:hidden;width:100%;height:100%;border-radius:calc(0.0046875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-info-job__hearth-progress.svelte-10i0mv3{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-info-job__hearth-progress.svelte-10i0mv3{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-info-job__hearth-progress.svelte-10i0mv3{border-radius:calc(0.003609375 * 100vw + 0px)}}@media(min-width: 3440px){.hud-info-job__hearth-progress.svelte-10i0mv3{border-radius:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-info-job__hearth-progress.svelte-10i0mv3{border-radius:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-info-job__hearth-progress.svelte-10i0mv3{border-radius:calc(0.00421875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-info-job__hearth-progress.svelte-10i0mv3{border-radius:calc(0.00515625 * 100vw + 0px)}}.hud-info-job__hearth-progress-value.svelte-10i0mv3{position:absolute;overflow:hidden;left:0;top:0;width:0;border-radius:calc(0.0046875 * 100vw + 0px);height:calc(0.0270833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-info-job__hearth-progress-value.svelte-10i0mv3{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-info-job__hearth-progress-value.svelte-10i0mv3{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-info-job__hearth-progress-value.svelte-10i0mv3{border-radius:calc(0.003609375 * 100vw + 0px)}}@media(min-width: 3440px){.hud-info-job__hearth-progress-value.svelte-10i0mv3{border-radius:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-info-job__hearth-progress-value.svelte-10i0mv3{border-radius:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-info-job__hearth-progress-value.svelte-10i0mv3{border-radius:calc(0.00421875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-info-job__hearth-progress-value.svelte-10i0mv3{border-radius:calc(0.00515625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-info-job__hearth-progress-value.svelte-10i0mv3{height:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-info-job__hearth-progress-value.svelte-10i0mv3{height:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-info-job__hearth-progress-value.svelte-10i0mv3{height:calc(0.0208541667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-info-job__hearth-progress-value.svelte-10i0mv3{height:calc(0.0297916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-info-job__hearth-progress-value.svelte-10i0mv3{height:calc(0.0189583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-info-job__hearth-progress-value.svelte-10i0mv3{height:calc(0.024375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-info-job__hearth-progress-value.svelte-10i0mv3{height:calc(0.0297916667 * 100vw + 0px)}}.hud-info-job__hearth-progress-value-img.svelte-10i0mv3{position:absolute;height:100%;right:0;width:calc(0.1526041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-info-job__hearth-progress-value-img.svelte-10i0mv3{width:calc(0.1526041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-info-job__hearth-progress-value-img.svelte-10i0mv3{width:calc(0.1526041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-info-job__hearth-progress-value-img.svelte-10i0mv3{width:calc(0.1175052083 * 100vw + 0px)}}@media(min-width: 3440px){.hud-info-job__hearth-progress-value-img.svelte-10i0mv3{width:calc(0.1678645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-info-job__hearth-progress-value-img.svelte-10i0mv3{width:calc(0.1068229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-info-job__hearth-progress-value-img.svelte-10i0mv3{width:calc(0.13734375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-info-job__hearth-progress-value-img.svelte-10i0mv3{width:calc(0.1678645833 * 100vw + 0px)}}.hud-info-job__progress-value-title.svelte-10i0mv3{position:absolute;font-family:\"GothamPro-Bold\";color:#FFFFFF;font-size:calc(0.0078125 * 100vw + 0px);letter-spacing:calc(0.0005208333 * 100vw + 0px);width:calc(0.1302083333 * 100vw + 0px);margin-left:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-info-job__progress-value-title.svelte-10i0mv3{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-info-job__progress-value-title.svelte-10i0mv3{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-info-job__progress-value-title.svelte-10i0mv3{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-info-job__progress-value-title.svelte-10i0mv3{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-info-job__progress-value-title.svelte-10i0mv3{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-info-job__progress-value-title.svelte-10i0mv3{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-info-job__progress-value-title.svelte-10i0mv3{font-size:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-info-job__progress-value-title.svelte-10i0mv3{letter-spacing:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-info-job__progress-value-title.svelte-10i0mv3{letter-spacing:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-info-job__progress-value-title.svelte-10i0mv3{letter-spacing:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.hud-info-job__progress-value-title.svelte-10i0mv3{letter-spacing:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-info-job__progress-value-title.svelte-10i0mv3{letter-spacing:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-info-job__progress-value-title.svelte-10i0mv3{letter-spacing:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-info-job__progress-value-title.svelte-10i0mv3{letter-spacing:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-info-job__progress-value-title.svelte-10i0mv3{width:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-info-job__progress-value-title.svelte-10i0mv3{width:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-info-job__progress-value-title.svelte-10i0mv3{width:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-info-job__progress-value-title.svelte-10i0mv3{width:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-info-job__progress-value-title.svelte-10i0mv3{width:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-info-job__progress-value-title.svelte-10i0mv3{width:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-info-job__progress-value-title.svelte-10i0mv3{width:calc(0.1432291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-info-job__progress-value-title.svelte-10i0mv3{margin-left:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-info-job__progress-value-title.svelte-10i0mv3{margin-left:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-info-job__progress-value-title.svelte-10i0mv3{margin-left:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-info-job__progress-value-title.svelte-10i0mv3{margin-left:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-info-job__progress-value-title.svelte-10i0mv3{margin-left:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-info-job__progress-value-title.svelte-10i0mv3{margin-left:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-info-job__progress-value-title.svelte-10i0mv3{margin-left:calc(0.006875 * 100vw + 0px)}}.hud-info-job__total-progress-wrapper.svelte-10i0mv3{position:relative;display:flex;align-items:center;background-color:#1A2F3F;width:calc(0.140625 * 100vw + 0px);height:calc(0.0270833333 * 100vw + 0px);border-radius:calc(0.0046875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-info-job__total-progress-wrapper.svelte-10i0mv3{width:calc(0.140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-info-job__total-progress-wrapper.svelte-10i0mv3{width:calc(0.140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-info-job__total-progress-wrapper.svelte-10i0mv3{width:calc(0.10828125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-info-job__total-progress-wrapper.svelte-10i0mv3{width:calc(0.1546875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-info-job__total-progress-wrapper.svelte-10i0mv3{width:calc(0.0984375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-info-job__total-progress-wrapper.svelte-10i0mv3{width:calc(0.1265625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-info-job__total-progress-wrapper.svelte-10i0mv3{width:calc(0.1546875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-info-job__total-progress-wrapper.svelte-10i0mv3{height:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-info-job__total-progress-wrapper.svelte-10i0mv3{height:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-info-job__total-progress-wrapper.svelte-10i0mv3{height:calc(0.0208541667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-info-job__total-progress-wrapper.svelte-10i0mv3{height:calc(0.0297916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-info-job__total-progress-wrapper.svelte-10i0mv3{height:calc(0.0189583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-info-job__total-progress-wrapper.svelte-10i0mv3{height:calc(0.024375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-info-job__total-progress-wrapper.svelte-10i0mv3{height:calc(0.0297916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-info-job__total-progress-wrapper.svelte-10i0mv3{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-info-job__total-progress-wrapper.svelte-10i0mv3{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-info-job__total-progress-wrapper.svelte-10i0mv3{border-radius:calc(0.003609375 * 100vw + 0px)}}@media(min-width: 3440px){.hud-info-job__total-progress-wrapper.svelte-10i0mv3{border-radius:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-info-job__total-progress-wrapper.svelte-10i0mv3{border-radius:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-info-job__total-progress-wrapper.svelte-10i0mv3{border-radius:calc(0.00421875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-info-job__total-progress-wrapper.svelte-10i0mv3{border-radius:calc(0.00515625 * 100vw + 0px)}}.hud-info-job__total-progress.svelte-10i0mv3{display:flex;align-items:center;border:2px solid #6B94E3;overflow:hidden;width:100%;height:100%;border-radius:calc(0.0046875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-info-job__total-progress.svelte-10i0mv3{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-info-job__total-progress.svelte-10i0mv3{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-info-job__total-progress.svelte-10i0mv3{border-radius:calc(0.003609375 * 100vw + 0px)}}@media(min-width: 3440px){.hud-info-job__total-progress.svelte-10i0mv3{border-radius:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-info-job__total-progress.svelte-10i0mv3{border-radius:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-info-job__total-progress.svelte-10i0mv3{border-radius:calc(0.00421875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-info-job__total-progress.svelte-10i0mv3{border-radius:calc(0.00515625 * 100vw + 0px)}}.hud-info-job__total-progress-value.svelte-10i0mv3{position:absolute;background:linear-gradient(180deg, #1E71ED 0%, #005695 100%);border:2px solid rgba(0, 0, 0, 0.55);left:0;top:0;width:0;border-radius:calc(0.0046875 * 100vw + 0px);height:calc(0.0270833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-info-job__total-progress-value.svelte-10i0mv3{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-info-job__total-progress-value.svelte-10i0mv3{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-info-job__total-progress-value.svelte-10i0mv3{border-radius:calc(0.003609375 * 100vw + 0px)}}@media(min-width: 3440px){.hud-info-job__total-progress-value.svelte-10i0mv3{border-radius:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-info-job__total-progress-value.svelte-10i0mv3{border-radius:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-info-job__total-progress-value.svelte-10i0mv3{border-radius:calc(0.00421875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-info-job__total-progress-value.svelte-10i0mv3{border-radius:calc(0.00515625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-info-job__total-progress-value.svelte-10i0mv3{height:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-info-job__total-progress-value.svelte-10i0mv3{height:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-info-job__total-progress-value.svelte-10i0mv3{height:calc(0.0208541667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-info-job__total-progress-value.svelte-10i0mv3{height:calc(0.0297916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-info-job__total-progress-value.svelte-10i0mv3{height:calc(0.0189583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-info-job__total-progress-value.svelte-10i0mv3{height:calc(0.024375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-info-job__total-progress-value.svelte-10i0mv3{height:calc(0.0297916667 * 100vw + 0px)}}.hud-info-job__total-progress-value--zero.svelte-10i0mv3{border:none}");
}

function hud_info_job_index_svelte_create_fragment(ctx) {
	let div6;
	let div2;
	let div1;
	let div0;
	let img;
	let img_src_value;
	let div0_style_value;
	let t0;
	let p0;
	let t1;
	let t2_value = /*$hearthQuestStats*/ ctx[0] / (100 / 100) + "";
	let t2;
	let t3;
	let t4;
	let div5;
	let div4;
	let div3;
	let div3_style_value;
	let t5;
	let p1;
	let t6;
	let t7_value = /*$totalQuestStats*/ ctx[1] / (100 / 100) + "";
	let t7;
	let t8;

	return {
		c() {
			div6 = internal_element("div");
			div2 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p0 = internal_element("p");
			t1 = internal_text("ОЧАГ: ");
			t2 = internal_text(t2_value);
			t3 = internal_text("%");
			t4 = space();
			div5 = internal_element("div");
			div4 = internal_element("div");
			div3 = internal_element("div");
			t5 = space();
			p1 = internal_element("p");
			t6 = internal_text("ОБЩИЙ ПРОГРЕСС: ");
			t7 = internal_text(t7_value);
			t8 = internal_text("%");
			attr(img, "class", "hud-info-job__hearth-progress-value-img svelte-10i0mv3");
			if (!src_url_equal(img.src, img_src_value = hearth_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "hearth-img");
			attr(div0, "class", "hud-info-job__hearth-progress-value svelte-10i0mv3");
			attr(div0, "style", div0_style_value = `width: ${/*$hearthQuestStats*/ ctx[0] / (100 / 100)}%;`);
			attr(p0, "class", "hud-info-job__progress-value-title svelte-10i0mv3");
			attr(div1, "class", "hud-info-job__hearth-progress svelte-10i0mv3");
			attr(div2, "class", "hud-info-job__hearth-progress-wrapper svelte-10i0mv3");
			attr(div3, "class", "hud-info-job__total-progress-value svelte-10i0mv3");
			attr(div3, "style", div3_style_value = `width: ${/*$totalQuestStats*/ ctx[1] / (100 / 100)}%;`);
			toggle_class(div3, "hud-info-job__total-progress-value--zero", /*$totalQuestStats*/ ctx[1] === 0);
			attr(p1, "class", "hud-info-job__progress-value-title svelte-10i0mv3");
			attr(div4, "class", "hud-info-job__total-progress svelte-10i0mv3");
			attr(div5, "class", "hud-info-job__total-progress-wrapper svelte-10i0mv3");
			attr(div6, "class", "hud-info-job svelte-10i0mv3");
		},
		m(target, anchor) {
			insert(target, div6, anchor);
			append(div6, div2);
			append(div2, div1);
			append(div1, div0);
			append(div0, img);
			append(div1, t0);
			append(div1, p0);
			append(p0, t1);
			append(p0, t2);
			append(p0, t3);
			append(div6, t4);
			append(div6, div5);
			append(div5, div4);
			append(div4, div3);
			append(div4, t5);
			append(div4, p1);
			append(p1, t6);
			append(p1, t7);
			append(p1, t8);
		},
		p(ctx, [dirty]) {
			if (dirty & /*$hearthQuestStats*/ 1 && div0_style_value !== (div0_style_value = `width: ${/*$hearthQuestStats*/ ctx[0] / (100 / 100)}%;`)) {
				attr(div0, "style", div0_style_value);
			}

			if (dirty & /*$hearthQuestStats*/ 1 && t2_value !== (t2_value = /*$hearthQuestStats*/ ctx[0] / (100 / 100) + "")) set_data(t2, t2_value);

			if (dirty & /*$totalQuestStats*/ 2 && div3_style_value !== (div3_style_value = `width: ${/*$totalQuestStats*/ ctx[1] / (100 / 100)}%;`)) {
				attr(div3, "style", div3_style_value);
			}

			if (dirty & /*$totalQuestStats*/ 2) {
				toggle_class(div3, "hud-info-job__total-progress-value--zero", /*$totalQuestStats*/ ctx[1] === 0);
			}

			if (dirty & /*$totalQuestStats*/ 2 && t7_value !== (t7_value = /*$totalQuestStats*/ ctx[1] / (100 / 100) + "")) set_data(t7, t7_value);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div6);
		}
	};
}

function hud_info_job_index_svelte_instance($$self, $$props, $$invalidate) {
	let $hearthQuestStats;
	let $totalQuestStats;
	component_subscribe($$self, hearthQuestStats, $$value => $$invalidate(0, $hearthQuestStats = $$value));
	component_subscribe($$self, totalQuestStats, $$value => $$invalidate(1, $totalQuestStats = $$value));
	return [$hearthQuestStats, $totalQuestStats];
}

class Hud_info_job extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, hud_info_job_index_svelte_instance, hud_info_job_index_svelte_create_fragment, safe_not_equal, {}, hud_info_job_index_svelte_add_css);
	}
}

/* harmony default export */ const hud_info_job_index_svelte = (Hud_info_job);
;// CONCATENATED MODULE: ./src/views/hud/components/hud-gang-war-stats/img/skull.svg
const skull_namespaceObject = __webpack_require__.p + "assets/1704343e2e36ae870006.svg";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-gang-war-stats/index.svelte
/* src\views\hud\components\hud-gang-war-stats\index.svelte generated by Svelte v3.49.0 */







function hud_gang_war_stats_index_svelte_add_css(target) {
	append_styles(target, "svelte-12a4ss5", "@keyframes svelte-12a4ss5-blinking{50%{opacity:0}}@keyframes svelte-12a4ss5-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-12a4ss5-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-12a4ss5-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-12a4ss5-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-12a4ss5-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-12a4ss5-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-12a4ss5-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-12a4ss5-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-12a4ss5-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-12a4ss5-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-12a4ss5-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-12a4ss5-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-12a4ss5-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-12a4ss5-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.hud-gang-war-stats.svelte-12a4ss5.svelte-12a4ss5{display:flex;justify-content:space-between;color:#FFFFFF;width:calc(0.4057291667 * 100vw + 0px);height:calc(0.0708333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-gang-war-stats.svelte-12a4ss5.svelte-12a4ss5{width:calc(0.4057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-gang-war-stats.svelte-12a4ss5.svelte-12a4ss5{width:calc(0.4057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-gang-war-stats.svelte-12a4ss5.svelte-12a4ss5{width:calc(0.3124114583 * 100vw + 0px)}}@media(min-width: 3440px){.hud-gang-war-stats.svelte-12a4ss5.svelte-12a4ss5{width:calc(0.4463020833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-gang-war-stats.svelte-12a4ss5.svelte-12a4ss5{width:calc(0.2840104167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-gang-war-stats.svelte-12a4ss5.svelte-12a4ss5{width:calc(0.36515625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-gang-war-stats.svelte-12a4ss5.svelte-12a4ss5{width:calc(0.4463020833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-gang-war-stats.svelte-12a4ss5.svelte-12a4ss5{height:calc(0.0708333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-gang-war-stats.svelte-12a4ss5.svelte-12a4ss5{height:calc(0.0708333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-gang-war-stats.svelte-12a4ss5.svelte-12a4ss5{height:calc(0.0545416667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-gang-war-stats.svelte-12a4ss5.svelte-12a4ss5{height:calc(0.0779166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-gang-war-stats.svelte-12a4ss5.svelte-12a4ss5{height:calc(0.0495833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-gang-war-stats.svelte-12a4ss5.svelte-12a4ss5{height:calc(0.06375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-gang-war-stats.svelte-12a4ss5.svelte-12a4ss5{height:calc(0.0779166667 * 100vw + 0px)}}.hud-gang-war-stats__gang.svelte-12a4ss5.svelte-12a4ss5{display:flex;flex-direction:column;align-items:flex-start}.hud-gang-war-stats__gang--right.svelte-12a4ss5.svelte-12a4ss5{align-items:flex-end}.hud-gang-war-stats__gang--right.svelte-12a4ss5 .hud-gang-war-stats__gang-title.svelte-12a4ss5{text-align:right}.hud-gang-war-stats__gang--right.svelte-12a4ss5 .hud-gang-war-stats__gang-value-wrapper.svelte-12a4ss5{background-color:#76D355}.hud-gang-war-stats__gang-title.svelte-12a4ss5.svelte-12a4ss5{font-family:\"GothamPro-Medium\";font-size:calc(0.0166666667 * 100vw + 0px);margin-bottom:calc(0.0083333333 * 100vw + 0px);width:calc(0.1151041667 * 100vw + 0px);height:calc(0.0364583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-gang-war-stats__gang-title.svelte-12a4ss5.svelte-12a4ss5{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-gang-war-stats__gang-title.svelte-12a4ss5.svelte-12a4ss5{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-gang-war-stats__gang-title.svelte-12a4ss5.svelte-12a4ss5{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-gang-war-stats__gang-title.svelte-12a4ss5.svelte-12a4ss5{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-gang-war-stats__gang-title.svelte-12a4ss5.svelte-12a4ss5{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-gang-war-stats__gang-title.svelte-12a4ss5.svelte-12a4ss5{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.hud-gang-war-stats__gang-title.svelte-12a4ss5.svelte-12a4ss5{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-gang-war-stats__gang-title.svelte-12a4ss5.svelte-12a4ss5{margin-bottom:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-gang-war-stats__gang-title.svelte-12a4ss5.svelte-12a4ss5{margin-bottom:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-gang-war-stats__gang-title.svelte-12a4ss5.svelte-12a4ss5{margin-bottom:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-gang-war-stats__gang-title.svelte-12a4ss5.svelte-12a4ss5{margin-bottom:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-gang-war-stats__gang-title.svelte-12a4ss5.svelte-12a4ss5{margin-bottom:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-gang-war-stats__gang-title.svelte-12a4ss5.svelte-12a4ss5{margin-bottom:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.hud-gang-war-stats__gang-title.svelte-12a4ss5.svelte-12a4ss5{margin-bottom:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-gang-war-stats__gang-title.svelte-12a4ss5.svelte-12a4ss5{width:calc(0.1151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-gang-war-stats__gang-title.svelte-12a4ss5.svelte-12a4ss5{width:calc(0.1151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-gang-war-stats__gang-title.svelte-12a4ss5.svelte-12a4ss5{width:calc(0.0886302083 * 100vw + 0px)}}@media(min-width: 3440px){.hud-gang-war-stats__gang-title.svelte-12a4ss5.svelte-12a4ss5{width:calc(0.1266145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-gang-war-stats__gang-title.svelte-12a4ss5.svelte-12a4ss5{width:calc(0.0805729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-gang-war-stats__gang-title.svelte-12a4ss5.svelte-12a4ss5{width:calc(0.10359375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-gang-war-stats__gang-title.svelte-12a4ss5.svelte-12a4ss5{width:calc(0.1266145833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-gang-war-stats__gang-title.svelte-12a4ss5.svelte-12a4ss5{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-gang-war-stats__gang-title.svelte-12a4ss5.svelte-12a4ss5{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-gang-war-stats__gang-title.svelte-12a4ss5.svelte-12a4ss5{height:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-gang-war-stats__gang-title.svelte-12a4ss5.svelte-12a4ss5{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-gang-war-stats__gang-title.svelte-12a4ss5.svelte-12a4ss5{height:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-gang-war-stats__gang-title.svelte-12a4ss5.svelte-12a4ss5{height:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-gang-war-stats__gang-title.svelte-12a4ss5.svelte-12a4ss5{height:calc(0.0401041667 * 100vw + 0px)}}.hud-gang-war-stats__gang-value-wrapper.svelte-12a4ss5.svelte-12a4ss5{display:flex;align-items:center;justify-content:center;background-color:#6943D6;border-radius:calc(0.0052083333 * 100vw + 0px);gap:calc(0.0020833333 * 100vw + 0px);width:calc(0.0651041667 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-gang-war-stats__gang-value-wrapper.svelte-12a4ss5.svelte-12a4ss5{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-gang-war-stats__gang-value-wrapper.svelte-12a4ss5.svelte-12a4ss5{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-gang-war-stats__gang-value-wrapper.svelte-12a4ss5.svelte-12a4ss5{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-gang-war-stats__gang-value-wrapper.svelte-12a4ss5.svelte-12a4ss5{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-gang-war-stats__gang-value-wrapper.svelte-12a4ss5.svelte-12a4ss5{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-gang-war-stats__gang-value-wrapper.svelte-12a4ss5.svelte-12a4ss5{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-gang-war-stats__gang-value-wrapper.svelte-12a4ss5.svelte-12a4ss5{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-gang-war-stats__gang-value-wrapper.svelte-12a4ss5.svelte-12a4ss5{gap:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-gang-war-stats__gang-value-wrapper.svelte-12a4ss5.svelte-12a4ss5{gap:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-gang-war-stats__gang-value-wrapper.svelte-12a4ss5.svelte-12a4ss5{gap:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-gang-war-stats__gang-value-wrapper.svelte-12a4ss5.svelte-12a4ss5{gap:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-gang-war-stats__gang-value-wrapper.svelte-12a4ss5.svelte-12a4ss5{gap:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-gang-war-stats__gang-value-wrapper.svelte-12a4ss5.svelte-12a4ss5{gap:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-gang-war-stats__gang-value-wrapper.svelte-12a4ss5.svelte-12a4ss5{gap:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-gang-war-stats__gang-value-wrapper.svelte-12a4ss5.svelte-12a4ss5{width:calc(0.0651041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-gang-war-stats__gang-value-wrapper.svelte-12a4ss5.svelte-12a4ss5{width:calc(0.0651041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-gang-war-stats__gang-value-wrapper.svelte-12a4ss5.svelte-12a4ss5{width:calc(0.0501302083 * 100vw + 0px)}}@media(min-width: 3440px){.hud-gang-war-stats__gang-value-wrapper.svelte-12a4ss5.svelte-12a4ss5{width:calc(0.0716145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-gang-war-stats__gang-value-wrapper.svelte-12a4ss5.svelte-12a4ss5{width:calc(0.0455729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-gang-war-stats__gang-value-wrapper.svelte-12a4ss5.svelte-12a4ss5{width:calc(0.05859375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-gang-war-stats__gang-value-wrapper.svelte-12a4ss5.svelte-12a4ss5{width:calc(0.0716145833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-gang-war-stats__gang-value-wrapper.svelte-12a4ss5.svelte-12a4ss5{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-gang-war-stats__gang-value-wrapper.svelte-12a4ss5.svelte-12a4ss5{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-gang-war-stats__gang-value-wrapper.svelte-12a4ss5.svelte-12a4ss5{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-gang-war-stats__gang-value-wrapper.svelte-12a4ss5.svelte-12a4ss5{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-gang-war-stats__gang-value-wrapper.svelte-12a4ss5.svelte-12a4ss5{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-gang-war-stats__gang-value-wrapper.svelte-12a4ss5.svelte-12a4ss5{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-gang-war-stats__gang-value-wrapper.svelte-12a4ss5.svelte-12a4ss5{height:calc(0.0286458333 * 100vw + 0px)}}.hud-gang-war-stats__gang-value-img.svelte-12a4ss5.svelte-12a4ss5{height:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-gang-war-stats__gang-value-img.svelte-12a4ss5.svelte-12a4ss5{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-gang-war-stats__gang-value-img.svelte-12a4ss5.svelte-12a4ss5{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-gang-war-stats__gang-value-img.svelte-12a4ss5.svelte-12a4ss5{height:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.hud-gang-war-stats__gang-value-img.svelte-12a4ss5.svelte-12a4ss5{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-gang-war-stats__gang-value-img.svelte-12a4ss5.svelte-12a4ss5{height:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-gang-war-stats__gang-value-img.svelte-12a4ss5.svelte-12a4ss5{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-gang-war-stats__gang-value-img.svelte-12a4ss5.svelte-12a4ss5{height:calc(0.0200520833 * 100vw + 0px)}}.hud-gang-war-stats__gang-value.svelte-12a4ss5.svelte-12a4ss5{font-family:\"GothamPro\";font-size:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-gang-war-stats__gang-value.svelte-12a4ss5.svelte-12a4ss5{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-gang-war-stats__gang-value.svelte-12a4ss5.svelte-12a4ss5{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-gang-war-stats__gang-value.svelte-12a4ss5.svelte-12a4ss5{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-gang-war-stats__gang-value.svelte-12a4ss5.svelte-12a4ss5{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-gang-war-stats__gang-value.svelte-12a4ss5.svelte-12a4ss5{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-gang-war-stats__gang-value.svelte-12a4ss5.svelte-12a4ss5{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.hud-gang-war-stats__gang-value.svelte-12a4ss5.svelte-12a4ss5{font-size:calc(0.0183333333 * 100vw + 0px)}}.hud-gang-war-stats__timer.svelte-12a4ss5.svelte-12a4ss5{position:absolute;display:flex;flex-direction:column;align-items:center;left:calc(0.1770833333 * 100vw + 0px);bottom:calc(-0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-gang-war-stats__timer.svelte-12a4ss5.svelte-12a4ss5{left:calc(0.1770833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-gang-war-stats__timer.svelte-12a4ss5.svelte-12a4ss5{left:calc(0.1770833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-gang-war-stats__timer.svelte-12a4ss5.svelte-12a4ss5{left:calc(0.1363541667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-gang-war-stats__timer.svelte-12a4ss5.svelte-12a4ss5{left:calc(0.1947916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-gang-war-stats__timer.svelte-12a4ss5.svelte-12a4ss5{left:calc(0.1239583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-gang-war-stats__timer.svelte-12a4ss5.svelte-12a4ss5{left:calc(0.159375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-gang-war-stats__timer.svelte-12a4ss5.svelte-12a4ss5{left:calc(0.1947916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-gang-war-stats__timer.svelte-12a4ss5.svelte-12a4ss5{bottom:calc(-0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-gang-war-stats__timer.svelte-12a4ss5.svelte-12a4ss5{bottom:calc(-0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-gang-war-stats__timer.svelte-12a4ss5.svelte-12a4ss5{bottom:calc(-0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-gang-war-stats__timer.svelte-12a4ss5.svelte-12a4ss5{bottom:calc(-0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-gang-war-stats__timer.svelte-12a4ss5.svelte-12a4ss5{bottom:calc(-0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-gang-war-stats__timer.svelte-12a4ss5.svelte-12a4ss5{bottom:calc(-0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-gang-war-stats__timer.svelte-12a4ss5.svelte-12a4ss5{bottom:calc(-0.0045833333 * 100vw + 0px)}}.hud-gang-war-stats__timer-title.svelte-12a4ss5.svelte-12a4ss5{font-family:\"GothamPro\";font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-gang-war-stats__timer-title.svelte-12a4ss5.svelte-12a4ss5{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-gang-war-stats__timer-title.svelte-12a4ss5.svelte-12a4ss5{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-gang-war-stats__timer-title.svelte-12a4ss5.svelte-12a4ss5{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-gang-war-stats__timer-title.svelte-12a4ss5.svelte-12a4ss5{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-gang-war-stats__timer-title.svelte-12a4ss5.svelte-12a4ss5{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-gang-war-stats__timer-title.svelte-12a4ss5.svelte-12a4ss5{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-gang-war-stats__timer-title.svelte-12a4ss5.svelte-12a4ss5{font-size:calc(0.0114583333 * 100vw + 0px)}}.hud-gang-war-stats__timer-value.svelte-12a4ss5.svelte-12a4ss5{font-family:\"GothamPro-Bold\";font-size:calc(0.01875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-gang-war-stats__timer-value.svelte-12a4ss5.svelte-12a4ss5{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-gang-war-stats__timer-value.svelte-12a4ss5.svelte-12a4ss5{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-gang-war-stats__timer-value.svelte-12a4ss5.svelte-12a4ss5{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.hud-gang-war-stats__timer-value.svelte-12a4ss5.svelte-12a4ss5{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-gang-war-stats__timer-value.svelte-12a4ss5.svelte-12a4ss5{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-gang-war-stats__timer-value.svelte-12a4ss5.svelte-12a4ss5{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-gang-war-stats__timer-value.svelte-12a4ss5.svelte-12a4ss5{font-size:calc(0.020625 * 100vw + 0px)}}");
}

function hud_gang_war_stats_index_svelte_create_fragment(ctx) {
	let div5;
	let div1;
	let p0;
	let t0_value = /*$gangWarStats*/ ctx[0].firstGangTitle + "";
	let t0;
	let t1;
	let div0;
	let img0;
	let img0_src_value;
	let t2;
	let p1;
	let t3_value = /*$gangWarStats*/ ctx[0].firstGangScore + "";
	let t3;
	let t4;
	let div2;
	let p2;
	let t6;
	let p3;
	let t7_value = formatSecondsToMmSs(/*$gangWarStats*/ ctx[0].time) + "";
	let t7;
	let t8;
	let div4;
	let p4;
	let t9_value = /*$gangWarStats*/ ctx[0].secondGangTitle + "";
	let t9;
	let t10;
	let div3;
	let img1;
	let img1_src_value;
	let t11;
	let p5;
	let t12_value = /*$gangWarStats*/ ctx[0].secondGangScore + "";
	let t12;

	return {
		c() {
			div5 = internal_element("div");
			div1 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			div0 = internal_element("div");
			img0 = internal_element("img");
			t2 = space();
			p1 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = space();
			div2 = internal_element("div");
			p2 = internal_element("p");
			p2.textContent = "Осталось";
			t6 = space();
			p3 = internal_element("p");
			t7 = internal_text(t7_value);
			t8 = space();
			div4 = internal_element("div");
			p4 = internal_element("p");
			t9 = internal_text(t9_value);
			t10 = space();
			div3 = internal_element("div");
			img1 = internal_element("img");
			t11 = space();
			p5 = internal_element("p");
			t12 = internal_text(t12_value);
			attr(p0, "class", "hud-gang-war-stats__gang-title svelte-12a4ss5");
			attr(img0, "class", "hud-gang-war-stats__gang-value-img svelte-12a4ss5");
			if (!src_url_equal(img0.src, img0_src_value = skull_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "value-img");
			attr(p1, "class", "hud-gang-war-stats__gang-value svelte-12a4ss5");
			attr(div0, "class", "hud-gang-war-stats__gang-value-wrapper svelte-12a4ss5");
			set_style(div0, "background-color", /*$gangWarStats*/ ctx[0].firstGangColor);
			attr(div1, "class", "hud-gang-war-stats__gang svelte-12a4ss5");
			attr(p2, "class", "hud-gang-war-stats__timer-title svelte-12a4ss5");
			attr(p3, "class", "hud-gang-war-stats__timer-value svelte-12a4ss5");
			attr(div2, "class", "hud-gang-war-stats__timer svelte-12a4ss5");
			attr(p4, "class", "hud-gang-war-stats__gang-title svelte-12a4ss5");
			attr(img1, "class", "hud-gang-war-stats__gang-value-img svelte-12a4ss5");
			if (!src_url_equal(img1.src, img1_src_value = skull_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "value-img");
			attr(p5, "class", "hud-gang-war-stats__gang-value svelte-12a4ss5");
			attr(div3, "class", "hud-gang-war-stats__gang-value-wrapper svelte-12a4ss5");
			set_style(div3, "background-color", /*$gangWarStats*/ ctx[0].secondGangColor);
			attr(div4, "class", "hud-gang-war-stats__gang hud-gang-war-stats__gang--right svelte-12a4ss5");
			attr(div5, "class", "hud-gang-war-stats svelte-12a4ss5");
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			append(div5, div1);
			append(div1, p0);
			append(p0, t0);
			append(div1, t1);
			append(div1, div0);
			append(div0, img0);
			append(div0, t2);
			append(div0, p1);
			append(p1, t3);
			append(div5, t4);
			append(div5, div2);
			append(div2, p2);
			append(div2, t6);
			append(div2, p3);
			append(p3, t7);
			append(div5, t8);
			append(div5, div4);
			append(div4, p4);
			append(p4, t9);
			append(div4, t10);
			append(div4, div3);
			append(div3, img1);
			append(div3, t11);
			append(div3, p5);
			append(p5, t12);
		},
		p(ctx, [dirty]) {
			if (dirty & /*$gangWarStats*/ 1 && t0_value !== (t0_value = /*$gangWarStats*/ ctx[0].firstGangTitle + "")) set_data(t0, t0_value);
			if (dirty & /*$gangWarStats*/ 1 && t3_value !== (t3_value = /*$gangWarStats*/ ctx[0].firstGangScore + "")) set_data(t3, t3_value);

			if (dirty & /*$gangWarStats*/ 1) {
				set_style(div0, "background-color", /*$gangWarStats*/ ctx[0].firstGangColor);
			}

			if (dirty & /*$gangWarStats*/ 1 && t7_value !== (t7_value = formatSecondsToMmSs(/*$gangWarStats*/ ctx[0].time) + "")) set_data(t7, t7_value);
			if (dirty & /*$gangWarStats*/ 1 && t9_value !== (t9_value = /*$gangWarStats*/ ctx[0].secondGangTitle + "")) set_data(t9, t9_value);
			if (dirty & /*$gangWarStats*/ 1 && t12_value !== (t12_value = /*$gangWarStats*/ ctx[0].secondGangScore + "")) set_data(t12, t12_value);

			if (dirty & /*$gangWarStats*/ 1) {
				set_style(div3, "background-color", /*$gangWarStats*/ ctx[0].secondGangColor);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div5);
		}
	};
}

function hud_gang_war_stats_index_svelte_instance($$self, $$props, $$invalidate) {
	let $gangWarStats;
	component_subscribe($$self, gangWarStats, $$value => $$invalidate(0, $gangWarStats = $$value));
	let timer;

	onMount(() => {
		timer = setInterval(
			() => {
				gangWarStats.update(stats => ({
					...stats,
					time: stats.time > 0 ? stats.time - 1 : 0
				}));
			},
			1000
		);
	});

	onDestroy(() => {
		clearInterval(timer);
	});

	return [$gangWarStats];
}

class Hud_gang_war_stats extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, hud_gang_war_stats_index_svelte_instance, hud_gang_war_stats_index_svelte_create_fragment, safe_not_equal, {}, hud_gang_war_stats_index_svelte_add_css);
	}
}

/* harmony default export */ const hud_gang_war_stats_index_svelte = (Hud_gang_war_stats);
;// CONCATENATED MODULE: ./src/views/hud/components/hud-customized-counter/img/taximeter-logo.png
const taximeter_logo_namespaceObject = __webpack_require__.p + "assets/f5e8815352ca311452ed.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-customized-counter/img/bus-logo.png
const hud_customized_counter_img_bus_logo_namespaceObject = __webpack_require__.p + "assets/22b377de22cea39aca41.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-customized-counter/img/delivery.png
const delivery_namespaceObject = __webpack_require__.p + "assets/41201ca4af3e64865dcb.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-customized-counter/img/taxograph-logo.png
const taxograph_logo_namespaceObject = __webpack_require__.p + "assets/1bb7bea56b3f636ec05b.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-customized-counter/img/drift-logo.png
const drift_logo_namespaceObject = __webpack_require__.p + "assets/363571c7f2a1cf49d2bb.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-customized-counter/img/halloween-logo.png
const hud_customized_counter_img_halloween_logo_namespaceObject = __webpack_require__.p + "assets/694fd32f6927db66e405.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-customized-counter/img/demorgan-logo.png
const demorgan_logo_namespaceObject = __webpack_require__.p + "assets/f519d0ab62b18e33bcfb.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-customized-counter/img/army-logo.png
const army_logo_namespaceObject = __webpack_require__.p + "assets/b05355448ea3328fd505.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-customized-counter/img/chicken-logo.png
const chicken_logo_namespaceObject = __webpack_require__.p + "assets/929da96e97d02faeae67.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-customized-counter/img/easter-relay-logo.png
const easter_relay_logo_namespaceObject = __webpack_require__.p + "assets/cc1a91fbc28c267e8693.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-customized-counter/img/easter-relay-bg.png
const easter_relay_bg_namespaceObject = __webpack_require__.p + "assets/6961ef78ba6634ff9263.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-customized-counter/img/easter-relay-decorative.png
const easter_relay_decorative_namespaceObject = __webpack_require__.p + "assets/f3f51c1abc5d551b7ef8.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-customized-counter/img/farmer-hp-logo.png
const farmer_hp_logo_namespaceObject = __webpack_require__.p + "assets/8cdb8e8b893dbf5bd650.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-customized-counter/img/farmer-hp-bg.png
const farmer_hp_bg_namespaceObject = __webpack_require__.p + "assets/3beb90b2ff08974ab4a9.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-customized-counter/img/farmer-hp-heart.png
const farmer_hp_heart_namespaceObject = __webpack_require__.p + "assets/9ae82eda891b1356a799.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-customized-counter/img/soccer-health-logo.png
const soccer_health_logo_namespaceObject = __webpack_require__.p + "assets/03a04d04823dbff9e114.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-customized-counter/img/soccer-health-timer-logo.png
const soccer_health_timer_logo_namespaceObject = __webpack_require__.p + "assets/bc3142eb58b695f0c6c1.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-customized-counter/img/soccer-health-bg.png
const soccer_health_bg_namespaceObject = __webpack_require__.p + "assets/5627c0db2e64035494d5.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-customized-counter/constants.js
var _MAP_TYPE_TO_INFORMAT;
function hud_customized_counter_constants_typeof(o) { "@babel/helpers - typeof"; return hud_customized_counter_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, hud_customized_counter_constants_typeof(o); }
function hud_customized_counter_constants_defineProperty(e, r, t) { return (r = hud_customized_counter_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function hud_customized_counter_constants_toPropertyKey(t) { var i = hud_customized_counter_constants_toPrimitive(t, "string"); return "symbol" == hud_customized_counter_constants_typeof(i) ? i : i + ""; }
function hud_customized_counter_constants_toPrimitive(t, r) { if ("object" != hud_customized_counter_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != hud_customized_counter_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }



















var Type = {
  Taxi: 'taxi',
  Bus: 'bus',
  Truck: 'truck',
  Delivery: 'delivery',
  Drift: 'drift',
  Halloween: 'halloween',
  DemorganTimer: 'demorganTimer',
  Army: 'army',
  DeliveryChickens: 'deliveryChickens',
  EasterRelay: 'easterRelay',
  FarmerHealth: 'farmerHealth',
  SoccerHealth: 'soccerHealth'
};
var MAP_TYPE_TO_INFORMATION = (_MAP_TYPE_TO_INFORMAT = {}, hud_customized_counter_constants_defineProperty(hud_customized_counter_constants_defineProperty(hud_customized_counter_constants_defineProperty(hud_customized_counter_constants_defineProperty(hud_customized_counter_constants_defineProperty(hud_customized_counter_constants_defineProperty(hud_customized_counter_constants_defineProperty(hud_customized_counter_constants_defineProperty(hud_customized_counter_constants_defineProperty(hud_customized_counter_constants_defineProperty(_MAP_TYPE_TO_INFORMAT, Type.Taxi, {
  logo: taximeter_logo_namespaceObject,
  counterTitle: 'Сумма за поездку'
}), Type.Bus, {
  logo: hud_customized_counter_img_bus_logo_namespaceObject,
  counterTitle: 'Сумма за поездку'
}), Type.Truck, {
  logo: taxograph_logo_namespaceObject,
  counterTitle: 'Сумма за поездку'
}), Type.Delivery, {
  logo: delivery_namespaceObject,
  counterTitle: 'Сумма за доставку'
}), Type.Drift, {
  logo: drift_logo_namespaceObject,
  counterTitle: 'Кол-во очков'
}), Type.Halloween, {
  logo: hud_customized_counter_img_halloween_logo_namespaceObject,
  counterTitle: 'Собрано тыкв'
}), Type.DemorganTimer, {
  logo: demorgan_logo_namespaceObject,
  size: 'small',
  timerFormatter: formatSecondsToHoursMinutesAndSeconds
}), Type.Army, {
  logo: army_logo_namespaceObject,
  size: 'small',
  timerFormatter: formatSecondsToHoursMinutesAndSeconds
}), Type.DeliveryChickens, {
  logo: chicken_logo_namespaceObject,
  counterTitle: 'Состояние прицепа'
}), Type.EasterRelay, {
  logo: easter_relay_logo_namespaceObject,
  background: easter_relay_bg_namespaceObject,
  decorative: easter_relay_decorative_namespaceObject,
  size: 'small'
}), hud_customized_counter_constants_defineProperty(hud_customized_counter_constants_defineProperty(_MAP_TYPE_TO_INFORMAT, Type.FarmerHealth, {
  logo: farmer_hp_logo_namespaceObject,
  background: farmer_hp_bg_namespaceObject,
  counterTitle: 'Здоровье',
  counterDecorative: farmer_hp_heart_namespaceObject
}), Type.SoccerHealth, {
  logo: soccer_health_logo_namespaceObject,
  background: soccer_health_bg_namespaceObject,
  counterTitle: 'забито голов',
  counterDecorative: soccer_health_timer_logo_namespaceObject
}));
;// CONCATENATED MODULE: ./src/views/hud/components/hud-customized-counter/index.svelte
/* src\views\hud\components\hud-customized-counter\index.svelte generated by Svelte v3.49.0 */










function hud_customized_counter_index_svelte_create_if_block(ctx) {
	let div2;
	let div1;
	let t0;
	let t1;
	let img;
	let img_src_value;
	let t2;
	let div0;

	let t3_value = (MAP_TYPE_TO_INFORMATION[/*selectedType*/ ctx[2]].timerFormatter
	? MAP_TYPE_TO_INFORMATION[/*selectedType*/ ctx[2]].timerFormatter(/*time*/ ctx[0])
	: formatSecondsToMmSs(/*time*/ ctx[0])) + "";

	let t3;
	let div0_class_value;
	let div1_class_value;
	let t4;
	let div2_class_value;
	let div2_intro;
	let if_block0 = MAP_TYPE_TO_INFORMATION[/*selectedType*/ ctx[2]].background && index_svelte_create_if_block_5(ctx);
	let if_block1 = MAP_TYPE_TO_INFORMATION[/*selectedType*/ ctx[2]].decorative && index_svelte_create_if_block_4(ctx);
	let if_block2 = MAP_TYPE_TO_INFORMATION[/*selectedType*/ ctx[2]].size !== 'small' && hud_customized_counter_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			div2 = internal_element("div");
			div1 = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			if (if_block1) if_block1.c();
			t1 = space();
			img = internal_element("img");
			t2 = space();
			div0 = internal_element("div");
			t3 = internal_text(t3_value);
			t4 = space();
			if (if_block2) if_block2.c();
			attr(img, "class", "taximeter__main-logo");
			if (!src_url_equal(img.src, img_src_value = MAP_TYPE_TO_INFORMATION[/*selectedType*/ ctx[2]].logo)) attr(img, "src", img_src_value);
			attr(img, "alt", "logo");
			attr(div0, "class", div0_class_value = "taximeter__main-timer taximeter__main-timer--" + /*selectedType*/ ctx[2]);
			attr(div1, "class", div1_class_value = "taximeter__main taximeter__main--" + /*selectedType*/ ctx[2]);
			attr(div2, "class", div2_class_value = "taximeter taximeter--" + /*selectedType*/ ctx[2]);
			toggle_class(div2, "taximeter--small", MAP_TYPE_TO_INFORMATION[/*selectedType*/ ctx[2]].size === 'small');
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div1);
			if (if_block0) if_block0.m(div1, null);
			append(div1, t0);
			if (if_block1) if_block1.m(div1, null);
			append(div1, t1);
			append(div1, img);
			append(div1, t2);
			append(div1, div0);
			append(div0, t3);
			append(div2, t4);
			if (if_block2) if_block2.m(div2, null);
		},
		p(ctx, dirty) {
			if (MAP_TYPE_TO_INFORMATION[/*selectedType*/ ctx[2]].background) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = index_svelte_create_if_block_5(ctx);
					if_block0.c();
					if_block0.m(div1, t0);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (MAP_TYPE_TO_INFORMATION[/*selectedType*/ ctx[2]].decorative) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = index_svelte_create_if_block_4(ctx);
					if_block1.c();
					if_block1.m(div1, t1);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty & /*selectedType*/ 4 && !src_url_equal(img.src, img_src_value = MAP_TYPE_TO_INFORMATION[/*selectedType*/ ctx[2]].logo)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*selectedType, time*/ 5 && t3_value !== (t3_value = (MAP_TYPE_TO_INFORMATION[/*selectedType*/ ctx[2]].timerFormatter
			? MAP_TYPE_TO_INFORMATION[/*selectedType*/ ctx[2]].timerFormatter(/*time*/ ctx[0])
			: formatSecondsToMmSs(/*time*/ ctx[0])) + "")) set_data(t3, t3_value);

			if (dirty & /*selectedType*/ 4 && div0_class_value !== (div0_class_value = "taximeter__main-timer taximeter__main-timer--" + /*selectedType*/ ctx[2])) {
				attr(div0, "class", div0_class_value);
			}

			if (dirty & /*selectedType*/ 4 && div1_class_value !== (div1_class_value = "taximeter__main taximeter__main--" + /*selectedType*/ ctx[2])) {
				attr(div1, "class", div1_class_value);
			}

			if (MAP_TYPE_TO_INFORMATION[/*selectedType*/ ctx[2]].size !== 'small') {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = hud_customized_counter_index_svelte_create_if_block_1(ctx);
					if_block2.c();
					if_block2.m(div2, null);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			if (dirty & /*selectedType*/ 4 && div2_class_value !== (div2_class_value = "taximeter taximeter--" + /*selectedType*/ ctx[2])) {
				attr(div2, "class", div2_class_value);
			}

			if (dirty & /*selectedType, MAP_TYPE_TO_INFORMATION, selectedType*/ 4) {
				toggle_class(div2, "taximeter--small", MAP_TYPE_TO_INFORMATION[/*selectedType*/ ctx[2]].size === 'small');
			}
		},
		i(local) {
			if (!div2_intro) {
				add_render_callback(() => {
					div2_intro = create_in_transition(div2, fade, {});
					div2_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div2);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			if (if_block2) if_block2.d();
		}
	};
}

// (78:3) {#if MAP_TYPE_TO_INFORMATION[selectedType].background}
function index_svelte_create_if_block_5(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "taximeter__main-background");
			if (!src_url_equal(img.src, img_src_value = MAP_TYPE_TO_INFORMATION[/*selectedType*/ ctx[2]].background)) attr(img, "src", img_src_value);
			attr(img, "alt", "background");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*selectedType*/ 4 && !src_url_equal(img.src, img_src_value = MAP_TYPE_TO_INFORMATION[/*selectedType*/ ctx[2]].background)) {
				attr(img, "src", img_src_value);
			}
		},
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (85:3) {#if MAP_TYPE_TO_INFORMATION[selectedType].decorative}
function index_svelte_create_if_block_4(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "taximeter__main-decorative");
			if (!src_url_equal(img.src, img_src_value = MAP_TYPE_TO_INFORMATION[/*selectedType*/ ctx[2]].decorative)) attr(img, "src", img_src_value);
			attr(img, "alt", "decorative");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*selectedType*/ 4 && !src_url_equal(img.src, img_src_value = MAP_TYPE_TO_INFORMATION[/*selectedType*/ ctx[2]].decorative)) {
				attr(img, "src", img_src_value);
			}
		},
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (101:2) {#if MAP_TYPE_TO_INFORMATION[selectedType].size !== 'small'}
function hud_customized_counter_index_svelte_create_if_block_1(ctx) {
	let div2;
	let t0;
	let div1;
	let div0;
	let t1_value = `${MAP_TYPE_TO_INFORMATION[/*selectedType*/ ctx[2]].counterTitle}:` + "";
	let t1;
	let t2;
	let div2_class_value;
	let if_block0 = MAP_TYPE_TO_INFORMATION[/*selectedType*/ ctx[2]].counterDecorative && hud_customized_counter_index_svelte_create_if_block_3(ctx);

	function select_block_type(ctx, dirty) {
		if (/*selectedType*/ ctx[2] === 'deliveryChickens') return hud_customized_counter_index_svelte_create_if_block_2;
		return hud_customized_counter_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block1 = current_block_type(ctx);

	return {
		c() {
			div2 = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			div1 = internal_element("div");
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			if_block1.c();
			attr(div0, "class", "taximeter__price-caption");
			attr(div1, "class", "taximeter__price-caption-wrapper");
			attr(div2, "class", div2_class_value = "taximeter__price taximeter__price--" + /*selectedType*/ ctx[2]);
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			if (if_block0) if_block0.m(div2, null);
			append(div2, t0);
			append(div2, div1);
			append(div1, div0);
			append(div0, t1);
			append(div1, t2);
			if_block1.m(div1, null);
		},
		p(ctx, dirty) {
			if (MAP_TYPE_TO_INFORMATION[/*selectedType*/ ctx[2]].counterDecorative) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = hud_customized_counter_index_svelte_create_if_block_3(ctx);
					if_block0.c();
					if_block0.m(div2, t0);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty & /*selectedType*/ 4 && t1_value !== (t1_value = `${MAP_TYPE_TO_INFORMATION[/*selectedType*/ ctx[2]].counterTitle}:` + "")) set_data(t1, t1_value);

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block1) {
				if_block1.p(ctx, dirty);
			} else {
				if_block1.d(1);
				if_block1 = current_block_type(ctx);

				if (if_block1) {
					if_block1.c();
					if_block1.m(div1, null);
				}
			}

			if (dirty & /*selectedType*/ 4 && div2_class_value !== (div2_class_value = "taximeter__price taximeter__price--" + /*selectedType*/ ctx[2])) {
				attr(div2, "class", div2_class_value);
			}
		},
		d(detaching) {
			if (detaching) detach(div2);
			if (if_block0) if_block0.d();
			if_block1.d();
		}
	};
}

// (103:4) {#if MAP_TYPE_TO_INFORMATION[selectedType].counterDecorative}
function hud_customized_counter_index_svelte_create_if_block_3(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "taximeter__price-counter-logo");
			if (!src_url_equal(img.src, img_src_value = MAP_TYPE_TO_INFORMATION[/*selectedType*/ ctx[2]].counterDecorative)) attr(img, "src", img_src_value);
			attr(img, "alt", "counter-logo");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*selectedType*/ 4 && !src_url_equal(img.src, img_src_value = MAP_TYPE_TO_INFORMATION[/*selectedType*/ ctx[2]].counterDecorative)) {
				attr(img, "src", img_src_value);
			}
		},
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (118:5) {:else}
function hud_customized_counter_index_svelte_create_else_block(ctx) {
	let div;
	let t_value = `${/*counter*/ ctx[1]}` + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "taximeter__price-value");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*counter*/ 2 && t_value !== (t_value = `${/*counter*/ ctx[1]}` + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (114:5) {#if selectedType === 'deliveryChickens'}
function hud_customized_counter_index_svelte_create_if_block_2(ctx) {
	let div;
	let t0_value = `${/*counter*/ ctx[1]}` + "";
	let t0;
	let t1;

	return {
		c() {
			div = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = internal_text("%");
			attr(div, "class", "taximeter__price-value");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t0);
			append(div, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*counter*/ 2 && t0_value !== (t0_value = `${/*counter*/ ctx[1]}` + "")) set_data(t0, t0_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function hud_customized_counter_index_svelte_create_fragment(ctx) {
	let if_block_anchor;
	let if_block = MAP_TYPE_TO_INFORMATION[/*selectedType*/ ctx[2]] && hud_customized_counter_index_svelte_create_if_block(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
		},
		p(ctx, [dirty]) {
			if (MAP_TYPE_TO_INFORMATION[/*selectedType*/ ctx[2]]) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*selectedType*/ 4) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = hud_customized_counter_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		i(local) {
			transition_in(if_block);
		},
		o: internal_noop,
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

function hud_customized_counter_index_svelte_instance($$self, $$props, $$invalidate) {
	let timerIntervalId = null;
	let time = 0;
	let counter = 0;
	let selectedType = null;

	const initializeType = type => {
		$$invalidate(2, selectedType = type);
	};

	const initializeCounter = counterValue => {
		$$invalidate(1, counter = counterValue);
	};

	const clearTimer = () => {
		if (!(0,lodash.isNil)(timerIntervalId)) {
			clearInterval(timerIntervalId);
			timerIntervalId = null;
		}
	};

	const initializeTimer = (seconds, withoutLocalTimer = false) => {
		$$invalidate(0, time = seconds);
		clearTimer();

		if (!withoutLocalTimer && (0,lodash.isNil)(timerIntervalId)) {
			timerIntervalId = setInterval(
				() => {
					$$invalidate(0, time += 1);
				},
				1000
			);
		}
	};

	const initializeTimerRevert = (seconds, withoutLocalTimer) => {
		$$invalidate(0, time = seconds);
		clearTimer();

		if (!withoutLocalTimer && (0,lodash.isNil)(timerIntervalId)) {
			timerIntervalId = setInterval(
				() => {
					$$invalidate(0, time -= 1);
				},
				1000
			);
		}
	};

	const unregisterInitializePrice = registerEvent('event.customizedCounter.initializeCounter', initializeCounter);
	const unregisterInitializeTimer = registerEvent('event.customizedCounter.initializeTimer', initializeTimer);
	const unregisterInitializeTimerRevert = registerEvent('event.customizedCounter.initializeTimerRevert', initializeTimerRevert);
	const unregisterInitializeType = registerEvent('event.customizedCounter.initializeType', initializeType);

	onDestroy(() => {
		clearTimer();
		unregisterInitializePrice();
		unregisterInitializeTimer();
		unregisterInitializeType();
		unregisterInitializeTimerRevert();
	});

	return [time, counter, selectedType];
}

class Hud_customized_counter extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, hud_customized_counter_index_svelte_instance, hud_customized_counter_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const hud_customized_counter_index_svelte = (Hud_customized_counter);
;// CONCATENATED MODULE: ./src/views/hud/components/hud-promo-task/index.svelte
/* src\views\hud\components\hud-promo-task\index.svelte generated by Svelte v3.49.0 */





function hud_promo_task_index_svelte_add_css(target) {
	append_styles(target, "svelte-3lbwpa", "@keyframes svelte-3lbwpa-blinking{50%{opacity:0}}@keyframes svelte-3lbwpa-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-3lbwpa-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-3lbwpa-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-3lbwpa-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-3lbwpa-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-3lbwpa-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-3lbwpa-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-3lbwpa-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-3lbwpa-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-3lbwpa-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-3lbwpa-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-3lbwpa-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-3lbwpa-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-3lbwpa-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.hud-promo-task.svelte-3lbwpa.svelte-3lbwpa{display:flex;align-items:center;background:linear-gradient(0deg, rgba(19, 21, 22, 0.96), rgba(19, 21, 22, 0.96)), linear-gradient(180deg, rgba(41, 41, 41, 0) 0%, #292929 100%);border:1px solid rgba(255, 255, 255, 0.2);overflow:hidden;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.1463541667 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-promo-task.svelte-3lbwpa.svelte-3lbwpa{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-promo-task.svelte-3lbwpa.svelte-3lbwpa{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-promo-task.svelte-3lbwpa.svelte-3lbwpa{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-promo-task.svelte-3lbwpa.svelte-3lbwpa{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-promo-task.svelte-3lbwpa.svelte-3lbwpa{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-promo-task.svelte-3lbwpa.svelte-3lbwpa{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-promo-task.svelte-3lbwpa.svelte-3lbwpa{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-promo-task.svelte-3lbwpa.svelte-3lbwpa{width:calc(0.1463541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-promo-task.svelte-3lbwpa.svelte-3lbwpa{width:calc(0.1463541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-promo-task.svelte-3lbwpa.svelte-3lbwpa{width:calc(0.1126927083 * 100vw + 0px)}}@media(min-width: 3440px){.hud-promo-task.svelte-3lbwpa.svelte-3lbwpa{width:calc(0.1609895833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-promo-task.svelte-3lbwpa.svelte-3lbwpa{width:calc(0.1024479167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-promo-task.svelte-3lbwpa.svelte-3lbwpa{width:calc(0.13171875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-promo-task.svelte-3lbwpa.svelte-3lbwpa{width:calc(0.1609895833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-promo-task.svelte-3lbwpa.svelte-3lbwpa{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-promo-task.svelte-3lbwpa.svelte-3lbwpa{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-promo-task.svelte-3lbwpa.svelte-3lbwpa{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-promo-task.svelte-3lbwpa.svelte-3lbwpa{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-promo-task.svelte-3lbwpa.svelte-3lbwpa{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-promo-task.svelte-3lbwpa.svelte-3lbwpa{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-promo-task.svelte-3lbwpa.svelte-3lbwpa{height:calc(0.0286458333 * 100vw + 0px)}}.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa{position:relative;display:flex;align-items:center;justify-content:center;background:rgba(255, 191, 0, 0.1);border-radius:100%;width:calc(0.0125 * 100vw + 0px);height:calc(0.0125 * 100vw + 0px);margin-left:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa{width:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa{width:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa{width:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa{width:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa{width:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa{width:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa{width:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa{height:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa{height:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa{height:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa{height:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa{height:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa{height:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa{height:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa{margin-left:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa{margin-left:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa{margin-left:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa{margin-left:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa{margin-left:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa{margin-left:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa{margin-left:calc(0.006875 * 100vw + 0px)}}.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa::after{content:\"\";position:absolute;background-color:rgb(255, 191, 0);border-radius:100%;width:calc(0.00625 * 100vw + 0px);height:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa::after{width:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa::after{width:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa::after{width:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa::after{width:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa::after{width:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa::after{width:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa::after{width:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa::after{height:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa::after{height:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa::after{height:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa::after{height:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa::after{height:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa::after{height:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa::after{height:calc(0.006875 * 100vw + 0px)}}.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa::before{content:\"\";position:absolute;background-color:rgb(255, 191, 0);border-radius:100%;filter:blur(calc(0.0078125 * 100vw + 0px));width:calc(0.0125 * 100vw + 0px);height:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa::before{width:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa::before{width:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa::before{width:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa::before{width:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa::before{width:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa::before{width:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa::before{width:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa::before{height:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa::before{height:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa::before{height:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa::before{height:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa::before{height:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa::before{height:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-promo-task__light.svelte-3lbwpa.svelte-3lbwpa::before{height:calc(0.01375 * 100vw + 0px)}}.hud-promo-task__content.svelte-3lbwpa.svelte-3lbwpa{display:flex;align-items:center}.hud-promo-task__content-title-wrapper.svelte-3lbwpa.svelte-3lbwpa{display:flex;flex-direction:column;margin-left:calc(0.0046875 * 100vw + 0px);width:calc(0.0989583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-promo-task__content-title-wrapper.svelte-3lbwpa.svelte-3lbwpa{margin-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-promo-task__content-title-wrapper.svelte-3lbwpa.svelte-3lbwpa{margin-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-promo-task__content-title-wrapper.svelte-3lbwpa.svelte-3lbwpa{margin-left:calc(0.003609375 * 100vw + 0px)}}@media(min-width: 3440px){.hud-promo-task__content-title-wrapper.svelte-3lbwpa.svelte-3lbwpa{margin-left:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-promo-task__content-title-wrapper.svelte-3lbwpa.svelte-3lbwpa{margin-left:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-promo-task__content-title-wrapper.svelte-3lbwpa.svelte-3lbwpa{margin-left:calc(0.00421875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-promo-task__content-title-wrapper.svelte-3lbwpa.svelte-3lbwpa{margin-left:calc(0.00515625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-promo-task__content-title-wrapper.svelte-3lbwpa.svelte-3lbwpa{width:calc(0.0989583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-promo-task__content-title-wrapper.svelte-3lbwpa.svelte-3lbwpa{width:calc(0.0989583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-promo-task__content-title-wrapper.svelte-3lbwpa.svelte-3lbwpa{width:calc(0.0761979167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-promo-task__content-title-wrapper.svelte-3lbwpa.svelte-3lbwpa{width:calc(0.1088541667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-promo-task__content-title-wrapper.svelte-3lbwpa.svelte-3lbwpa{width:calc(0.0692708333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-promo-task__content-title-wrapper.svelte-3lbwpa.svelte-3lbwpa{width:calc(0.0890625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-promo-task__content-title-wrapper.svelte-3lbwpa.svelte-3lbwpa{width:calc(0.1088541667 * 100vw + 0px)}}.hud-promo-task__content-title.svelte-3lbwpa.svelte-3lbwpa{font-family:\"HeadingNowRegular\";text-transform:uppercase;color:rgba(255, 255, 255, 0.5);font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-promo-task__content-title.svelte-3lbwpa.svelte-3lbwpa{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-promo-task__content-title.svelte-3lbwpa.svelte-3lbwpa{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-promo-task__content-title.svelte-3lbwpa.svelte-3lbwpa{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-promo-task__content-title.svelte-3lbwpa.svelte-3lbwpa{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-promo-task__content-title.svelte-3lbwpa.svelte-3lbwpa{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-promo-task__content-title.svelte-3lbwpa.svelte-3lbwpa{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-promo-task__content-title.svelte-3lbwpa.svelte-3lbwpa{font-size:calc(0.0057291667 * 100vw + 0px)}}.hud-promo-task__content-description.svelte-3lbwpa.svelte-3lbwpa{font-family:\"HeadingNowBold\";text-transform:uppercase;color:#FFFFFF;font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-promo-task__content-description.svelte-3lbwpa.svelte-3lbwpa{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-promo-task__content-description.svelte-3lbwpa.svelte-3lbwpa{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-promo-task__content-description.svelte-3lbwpa.svelte-3lbwpa{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-promo-task__content-description.svelte-3lbwpa.svelte-3lbwpa{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-promo-task__content-description.svelte-3lbwpa.svelte-3lbwpa{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-promo-task__content-description.svelte-3lbwpa.svelte-3lbwpa{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-promo-task__content-description.svelte-3lbwpa.svelte-3lbwpa{font-size:calc(0.006875 * 100vw + 0px)}}.hud-promo-task__content-status.svelte-3lbwpa.svelte-3lbwpa{display:flex;align-items:center;justify-content:center;background-color:rgba(255, 255, 255, 0.1);border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.0182291667 * 100vw + 0px);height:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-promo-task__content-status.svelte-3lbwpa.svelte-3lbwpa{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-promo-task__content-status.svelte-3lbwpa.svelte-3lbwpa{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-promo-task__content-status.svelte-3lbwpa.svelte-3lbwpa{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-promo-task__content-status.svelte-3lbwpa.svelte-3lbwpa{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-promo-task__content-status.svelte-3lbwpa.svelte-3lbwpa{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-promo-task__content-status.svelte-3lbwpa.svelte-3lbwpa{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-promo-task__content-status.svelte-3lbwpa.svelte-3lbwpa{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-promo-task__content-status.svelte-3lbwpa.svelte-3lbwpa{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-promo-task__content-status.svelte-3lbwpa.svelte-3lbwpa{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-promo-task__content-status.svelte-3lbwpa.svelte-3lbwpa{width:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.hud-promo-task__content-status.svelte-3lbwpa.svelte-3lbwpa{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-promo-task__content-status.svelte-3lbwpa.svelte-3lbwpa{width:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-promo-task__content-status.svelte-3lbwpa.svelte-3lbwpa{width:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-promo-task__content-status.svelte-3lbwpa.svelte-3lbwpa{width:calc(0.0200520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-promo-task__content-status.svelte-3lbwpa.svelte-3lbwpa{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-promo-task__content-status.svelte-3lbwpa.svelte-3lbwpa{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-promo-task__content-status.svelte-3lbwpa.svelte-3lbwpa{height:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.hud-promo-task__content-status.svelte-3lbwpa.svelte-3lbwpa{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-promo-task__content-status.svelte-3lbwpa.svelte-3lbwpa{height:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-promo-task__content-status.svelte-3lbwpa.svelte-3lbwpa{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-promo-task__content-status.svelte-3lbwpa.svelte-3lbwpa{height:calc(0.0200520833 * 100vw + 0px)}}.hud-promo-task__content-status--action.svelte-3lbwpa.svelte-3lbwpa{background-color:none;background:linear-gradient(0deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)), linear-gradient(91.81deg, #FCD80F 1.53%, #FF9112 59.82%)}.hud-promo-task__content-status--action.svelte-3lbwpa .hud-promo-task__content-status-value.svelte-3lbwpa{color:rgba(0, 0, 0, 0.9)}.hud-promo-task__content-status-value.svelte-3lbwpa.svelte-3lbwpa{font-family:\"HeadingNowBold\";text-transform:uppercase;color:#FFFFFF;font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-promo-task__content-status-value.svelte-3lbwpa.svelte-3lbwpa{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-promo-task__content-status-value.svelte-3lbwpa.svelte-3lbwpa{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-promo-task__content-status-value.svelte-3lbwpa.svelte-3lbwpa{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-promo-task__content-status-value.svelte-3lbwpa.svelte-3lbwpa{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-promo-task__content-status-value.svelte-3lbwpa.svelte-3lbwpa{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-promo-task__content-status-value.svelte-3lbwpa.svelte-3lbwpa{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-promo-task__content-status-value.svelte-3lbwpa.svelte-3lbwpa{font-size:calc(0.006875 * 100vw + 0px)}}");
}

// (895:8) {:else}
function hud_promo_task_index_svelte_create_else_block(ctx) {
	let div;
	let p;
	let t_value = /*$promoTaskStats*/ ctx[0].actionButton + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			p = internal_element("p");
			t = internal_text(t_value);
			attr(p, "class", "hud-promo-task__content-status-value svelte-3lbwpa");
			attr(div, "class", "hud-promo-task__content-status hud-promo-task__content-status--action svelte-3lbwpa");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p);
			append(p, t);
		},
		p(ctx, dirty) {
			if (dirty & /*$promoTaskStats*/ 1 && t_value !== (t_value = /*$promoTaskStats*/ ctx[0].actionButton + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (889:8) {#if !isNil($promoTaskStats.currentProgress)}
function hud_promo_task_index_svelte_create_if_block(ctx) {
	let div;
	let p;
	let t0_value = /*$promoTaskStats*/ ctx[0].currentProgress + "";
	let t0;
	let t1;
	let t2_value = /*$promoTaskStats*/ ctx[0].maxProgress + "";
	let t2;

	return {
		c() {
			div = internal_element("div");
			p = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = internal_text("/");
			t2 = internal_text(t2_value);
			attr(p, "class", "hud-promo-task__content-status-value svelte-3lbwpa");
			attr(div, "class", "hud-promo-task__content-status svelte-3lbwpa");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p);
			append(p, t0);
			append(p, t1);
			append(p, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*$promoTaskStats*/ 1 && t0_value !== (t0_value = /*$promoTaskStats*/ ctx[0].currentProgress + "")) set_data(t0, t0_value);
			if (dirty & /*$promoTaskStats*/ 1 && t2_value !== (t2_value = /*$promoTaskStats*/ ctx[0].maxProgress + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function hud_promo_task_index_svelte_create_fragment(ctx) {
	let div3;
	let div0;
	let t0;
	let div2;
	let div1;
	let p0;
	let t1_value = /*$promoTaskStats*/ ctx[0].title + "";
	let t1;
	let t2;
	let p1;
	let t3_value = /*$promoTaskStats*/ ctx[0].text + "";
	let t3;
	let t4;
	let show_if;

	function select_block_type(ctx, dirty) {
		if (dirty & /*$promoTaskStats*/ 1) show_if = null;
		if (show_if == null) show_if = !!!(0,lodash.isNil)(/*$promoTaskStats*/ ctx[0].currentProgress);
		if (show_if) return hud_promo_task_index_svelte_create_if_block;
		return hud_promo_task_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block = current_block_type(ctx);

	return {
		c() {
			div3 = internal_element("div");
			div0 = internal_element("div");
			t0 = space();
			div2 = internal_element("div");
			div1 = internal_element("div");
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			p1 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = space();
			if_block.c();
			attr(div0, "class", "hud-promo-task__light svelte-3lbwpa");
			attr(p0, "class", "hud-promo-task__content-title svelte-3lbwpa");
			attr(p1, "class", "hud-promo-task__content-description svelte-3lbwpa");
			attr(div1, "class", "hud-promo-task__content-title-wrapper svelte-3lbwpa");
			attr(div2, "class", "hud-promo-task__content svelte-3lbwpa");
			attr(div3, "class", "hud-promo-task svelte-3lbwpa");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div0);
			append(div3, t0);
			append(div3, div2);
			append(div2, div1);
			append(div1, p0);
			append(p0, t1);
			append(div1, t2);
			append(div1, p1);
			append(p1, t3);
			append(div2, t4);
			if_block.m(div2, null);
		},
		p(ctx, [dirty]) {
			if (dirty & /*$promoTaskStats*/ 1 && t1_value !== (t1_value = /*$promoTaskStats*/ ctx[0].title + "")) set_data(t1, t1_value);
			if (dirty & /*$promoTaskStats*/ 1 && t3_value !== (t3_value = /*$promoTaskStats*/ ctx[0].text + "")) set_data(t3, t3_value);

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div2, null);
				}
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div3);
			if_block.d();
		}
	};
}

function hud_promo_task_index_svelte_instance($$self, $$props, $$invalidate) {
	let $promoTaskStats;
	component_subscribe($$self, promoTaskStats, $$value => $$invalidate(0, $promoTaskStats = $$value));
	return [$promoTaskStats];
}

class Hud_promo_task extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, hud_promo_task_index_svelte_instance, hud_promo_task_index_svelte_create_fragment, safe_not_equal, {}, hud_promo_task_index_svelte_add_css);
	}
}

/* harmony default export */ const hud_promo_task_index_svelte = (Hud_promo_task);
;// CONCATENATED MODULE: ./src/views/hud/components/hud-quests-app/img/avatar.png
const avatar_namespaceObject = __webpack_require__.p + "assets/f88a598b6857f944b026.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-quests-app/img/bg.svg
const bg_namespaceObject = __webpack_require__.p + "assets/9296541e6de9bb55ebb0.svg";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-quests-app/index.svelte
/* src\views\hud\components\hud-quests-app\index.svelte generated by Svelte v3.49.0 */






function hud_quests_app_index_svelte_add_css(target) {
	append_styles(target, "svelte-hnzbtk", "@keyframes svelte-hnzbtk-blinking{50%{opacity:0}}@keyframes svelte-hnzbtk-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-hnzbtk-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-hnzbtk-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-hnzbtk-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-hnzbtk-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-hnzbtk-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-hnzbtk-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-hnzbtk-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-hnzbtk-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-hnzbtk-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-hnzbtk-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-hnzbtk-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-hnzbtk-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-hnzbtk-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.hud-quests-app.svelte-hnzbtk{position:relative;display:flex;gap:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-quests-app.svelte-hnzbtk{gap:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-quests-app.svelte-hnzbtk{gap:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-quests-app.svelte-hnzbtk{gap:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.hud-quests-app.svelte-hnzbtk{gap:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-quests-app.svelte-hnzbtk{gap:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-quests-app.svelte-hnzbtk{gap:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-quests-app.svelte-hnzbtk{gap:calc(0.0143229167 * 100vw + 0px)}}.hud-quests-app__avatar.svelte-hnzbtk{position:relative;border-style:solid;border-color:rgba(255, 255, 255, 0.5);background:linear-gradient(45deg, #C10EFD 0%, #4D00AA 100%);width:calc(0.03125 * 100vw + 0px);height:calc(0.03125 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);border-width:calc(0.0010416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-quests-app__avatar.svelte-hnzbtk{width:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-quests-app__avatar.svelte-hnzbtk{width:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-quests-app__avatar.svelte-hnzbtk{width:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-quests-app__avatar.svelte-hnzbtk{width:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-quests-app__avatar.svelte-hnzbtk{width:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-quests-app__avatar.svelte-hnzbtk{width:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-quests-app__avatar.svelte-hnzbtk{width:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-quests-app__avatar.svelte-hnzbtk{height:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-quests-app__avatar.svelte-hnzbtk{height:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-quests-app__avatar.svelte-hnzbtk{height:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-quests-app__avatar.svelte-hnzbtk{height:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-quests-app__avatar.svelte-hnzbtk{height:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-quests-app__avatar.svelte-hnzbtk{height:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-quests-app__avatar.svelte-hnzbtk{height:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-quests-app__avatar.svelte-hnzbtk{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-quests-app__avatar.svelte-hnzbtk{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-quests-app__avatar.svelte-hnzbtk{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-quests-app__avatar.svelte-hnzbtk{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-quests-app__avatar.svelte-hnzbtk{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-quests-app__avatar.svelte-hnzbtk{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-quests-app__avatar.svelte-hnzbtk{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-quests-app__avatar.svelte-hnzbtk{border-width:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-quests-app__avatar.svelte-hnzbtk{border-width:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-quests-app__avatar.svelte-hnzbtk{border-width:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-quests-app__avatar.svelte-hnzbtk{border-width:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-quests-app__avatar.svelte-hnzbtk{border-width:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-quests-app__avatar.svelte-hnzbtk{border-width:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-quests-app__avatar.svelte-hnzbtk{border-width:calc(0.0011458333 * 100vw + 0px)}}.hud-quests-app__avatar-image.svelte-hnzbtk{width:100%}.hud-quests-app__key.svelte-hnzbtk{position:absolute;right:0;bottom:0;display:flex;align-items:center;justify-content:center;background:#FFFFFF;color:#111111;font-family:\"HeadingNowBold\";transform:translateX(40%) translateY(40%);font-size:calc(0.0083333333 * 100vw + 0px);width:calc(0.0182291667 * 100vw + 0px);height:calc(0.0182291667 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-quests-app__key.svelte-hnzbtk{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-quests-app__key.svelte-hnzbtk{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-quests-app__key.svelte-hnzbtk{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-quests-app__key.svelte-hnzbtk{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-quests-app__key.svelte-hnzbtk{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-quests-app__key.svelte-hnzbtk{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.hud-quests-app__key.svelte-hnzbtk{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-quests-app__key.svelte-hnzbtk{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-quests-app__key.svelte-hnzbtk{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-quests-app__key.svelte-hnzbtk{width:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.hud-quests-app__key.svelte-hnzbtk{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-quests-app__key.svelte-hnzbtk{width:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-quests-app__key.svelte-hnzbtk{width:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-quests-app__key.svelte-hnzbtk{width:calc(0.0200520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-quests-app__key.svelte-hnzbtk{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-quests-app__key.svelte-hnzbtk{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-quests-app__key.svelte-hnzbtk{height:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.hud-quests-app__key.svelte-hnzbtk{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-quests-app__key.svelte-hnzbtk{height:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-quests-app__key.svelte-hnzbtk{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-quests-app__key.svelte-hnzbtk{height:calc(0.0200520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-quests-app__key.svelte-hnzbtk{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-quests-app__key.svelte-hnzbtk{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-quests-app__key.svelte-hnzbtk{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-quests-app__key.svelte-hnzbtk{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-quests-app__key.svelte-hnzbtk{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-quests-app__key.svelte-hnzbtk{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-quests-app__key.svelte-hnzbtk{border-radius:calc(0.0057291667 * 100vw + 0px)}}.hud-quests-app__list-wrapper.svelte-hnzbtk{background-size:cover;background-repeat:no-repeat;background-color:rgba(19, 21, 22, 0.6);border-style:solid;border-color:rgba(255, 255, 255, 0.2);background-blend-mode:overlay;border-width:calc(0.0005208333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);padding:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-quests-app__list-wrapper.svelte-hnzbtk{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-quests-app__list-wrapper.svelte-hnzbtk{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-quests-app__list-wrapper.svelte-hnzbtk{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.hud-quests-app__list-wrapper.svelte-hnzbtk{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-quests-app__list-wrapper.svelte-hnzbtk{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-quests-app__list-wrapper.svelte-hnzbtk{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-quests-app__list-wrapper.svelte-hnzbtk{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-quests-app__list-wrapper.svelte-hnzbtk{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-quests-app__list-wrapper.svelte-hnzbtk{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-quests-app__list-wrapper.svelte-hnzbtk{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-quests-app__list-wrapper.svelte-hnzbtk{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-quests-app__list-wrapper.svelte-hnzbtk{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-quests-app__list-wrapper.svelte-hnzbtk{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-quests-app__list-wrapper.svelte-hnzbtk{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-quests-app__list-wrapper.svelte-hnzbtk{padding:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-quests-app__list-wrapper.svelte-hnzbtk{padding:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-quests-app__list-wrapper.svelte-hnzbtk{padding:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-quests-app__list-wrapper.svelte-hnzbtk{padding:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-quests-app__list-wrapper.svelte-hnzbtk{padding:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-quests-app__list-wrapper.svelte-hnzbtk{padding:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-quests-app__list-wrapper.svelte-hnzbtk{padding:calc(0.006875 * 100vw + 0px)}}.hud-quests-app__list-caption.svelte-hnzbtk{color:#FFFFFF;font-family:\"HeadingNowBold\";text-transform:uppercase;font-size:calc(0.0083333333 * 100vw + 0px);margin-bottom:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-quests-app__list-caption.svelte-hnzbtk{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-quests-app__list-caption.svelte-hnzbtk{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-quests-app__list-caption.svelte-hnzbtk{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-quests-app__list-caption.svelte-hnzbtk{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-quests-app__list-caption.svelte-hnzbtk{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-quests-app__list-caption.svelte-hnzbtk{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.hud-quests-app__list-caption.svelte-hnzbtk{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-quests-app__list-caption.svelte-hnzbtk{margin-bottom:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-quests-app__list-caption.svelte-hnzbtk{margin-bottom:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-quests-app__list-caption.svelte-hnzbtk{margin-bottom:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-quests-app__list-caption.svelte-hnzbtk{margin-bottom:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-quests-app__list-caption.svelte-hnzbtk{margin-bottom:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-quests-app__list-caption.svelte-hnzbtk{margin-bottom:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-quests-app__list-caption.svelte-hnzbtk{margin-bottom:calc(0.006875 * 100vw + 0px)}}.hud-quests-app__list.svelte-hnzbtk{display:flex;flex-direction:column;gap:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-quests-app__list.svelte-hnzbtk{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-quests-app__list.svelte-hnzbtk{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-quests-app__list.svelte-hnzbtk{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-quests-app__list.svelte-hnzbtk{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-quests-app__list.svelte-hnzbtk{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-quests-app__list.svelte-hnzbtk{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-quests-app__list.svelte-hnzbtk{gap:calc(0.0057291667 * 100vw + 0px)}}.hud-quests-app__quest.svelte-hnzbtk{display:flex;align-items:center;justify-content:space-between;gap:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-quests-app__quest.svelte-hnzbtk{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-quests-app__quest.svelte-hnzbtk{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-quests-app__quest.svelte-hnzbtk{gap:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-quests-app__quest.svelte-hnzbtk{gap:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-quests-app__quest.svelte-hnzbtk{gap:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-quests-app__quest.svelte-hnzbtk{gap:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-quests-app__quest.svelte-hnzbtk{gap:calc(0.00859375 * 100vw + 0px)}}.hud-quests-app__quest-inner.svelte-hnzbtk{display:flex;align-items:center;gap:calc(0.0026041667 * 100vw + 0px);width:calc(0.1041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-quests-app__quest-inner.svelte-hnzbtk{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-quests-app__quest-inner.svelte-hnzbtk{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-quests-app__quest-inner.svelte-hnzbtk{gap:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.hud-quests-app__quest-inner.svelte-hnzbtk{gap:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-quests-app__quest-inner.svelte-hnzbtk{gap:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-quests-app__quest-inner.svelte-hnzbtk{gap:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-quests-app__quest-inner.svelte-hnzbtk{gap:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-quests-app__quest-inner.svelte-hnzbtk{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-quests-app__quest-inner.svelte-hnzbtk{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-quests-app__quest-inner.svelte-hnzbtk{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-quests-app__quest-inner.svelte-hnzbtk{width:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-quests-app__quest-inner.svelte-hnzbtk{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-quests-app__quest-inner.svelte-hnzbtk{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-quests-app__quest-inner.svelte-hnzbtk{width:calc(0.1145833333 * 100vw + 0px)}}.hud-quests-app__quest-point.svelte-hnzbtk{border-radius:50%;background-color:#FFC42C;width:calc(0.0026041667 * 100vw + 0px);height:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-quests-app__quest-point.svelte-hnzbtk{width:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-quests-app__quest-point.svelte-hnzbtk{width:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-quests-app__quest-point.svelte-hnzbtk{width:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.hud-quests-app__quest-point.svelte-hnzbtk{width:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-quests-app__quest-point.svelte-hnzbtk{width:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-quests-app__quest-point.svelte-hnzbtk{width:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-quests-app__quest-point.svelte-hnzbtk{width:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-quests-app__quest-point.svelte-hnzbtk{height:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-quests-app__quest-point.svelte-hnzbtk{height:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-quests-app__quest-point.svelte-hnzbtk{height:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.hud-quests-app__quest-point.svelte-hnzbtk{height:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-quests-app__quest-point.svelte-hnzbtk{height:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-quests-app__quest-point.svelte-hnzbtk{height:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-quests-app__quest-point.svelte-hnzbtk{height:calc(0.0028645833 * 100vw + 0px)}}.hud-quests-app__quest-point--complete.svelte-hnzbtk{background-color:#95FF00}.hud-quests-app__quest-text.svelte-hnzbtk{color:#FFFFFF;font-family:\"HeadingNowRegular\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-quests-app__quest-text.svelte-hnzbtk{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-quests-app__quest-text.svelte-hnzbtk{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-quests-app__quest-text.svelte-hnzbtk{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-quests-app__quest-text.svelte-hnzbtk{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-quests-app__quest-text.svelte-hnzbtk{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-quests-app__quest-text.svelte-hnzbtk{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-quests-app__quest-text.svelte-hnzbtk{font-size:calc(0.006875 * 100vw + 0px)}}.hud-quests-app__quest-counter.svelte-hnzbtk{color:#FFC42C;font-family:\"HeadingNowRegular\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-quests-app__quest-counter.svelte-hnzbtk{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-quests-app__quest-counter.svelte-hnzbtk{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-quests-app__quest-counter.svelte-hnzbtk{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.hud-quests-app__quest-counter.svelte-hnzbtk{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-quests-app__quest-counter.svelte-hnzbtk{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-quests-app__quest-counter.svelte-hnzbtk{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-quests-app__quest-counter.svelte-hnzbtk{font-size:calc(0.006875 * 100vw + 0px)}}.hud-quests-app__quest-counter--complete.svelte-hnzbtk{color:#95FF00}");
}

function hud_quests_app_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[1] = list[i];
	return child_ctx;
}

// (1036:3) {#each $questsAppData.quests || [] as quest}
function hud_quests_app_index_svelte_create_each_block(ctx) {
	let div4;
	let div2;
	let div0;
	let t0;
	let div1;
	let t1_value = /*quest*/ ctx[1].title + "";
	let t1;
	let t2;
	let div3;
	let t3;
	let t4_value = /*quest*/ ctx[1].current + "";
	let t4;
	let t5;
	let t6_value = /*quest*/ ctx[1].total + "";
	let t6;
	let t7;
	let t8;

	return {
		c() {
			div4 = internal_element("div");
			div2 = internal_element("div");
			div0 = internal_element("div");
			t0 = space();
			div1 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			div3 = internal_element("div");
			t3 = internal_text("(");
			t4 = internal_text(t4_value);
			t5 = internal_text("/");
			t6 = internal_text(t6_value);
			t7 = internal_text(")");
			t8 = space();
			attr(div0, "class", "hud-quests-app__quest-point svelte-hnzbtk");
			toggle_class(div0, "hud-quests-app__quest-point--complete", /*quest*/ ctx[1].complete);
			attr(div1, "class", "hud-quests-app__quest-text svelte-hnzbtk");
			attr(div2, "class", "hud-quests-app__quest-inner svelte-hnzbtk");
			attr(div3, "class", "hud-quests-app__quest-counter svelte-hnzbtk");
			toggle_class(div3, "hud-quests-app__quest-counter--complete", /*quest*/ ctx[1].complete);
			attr(div4, "class", "hud-quests-app__quest svelte-hnzbtk");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div2);
			append(div2, div0);
			append(div2, t0);
			append(div2, div1);
			append(div1, t1);
			append(div4, t2);
			append(div4, div3);
			append(div3, t3);
			append(div3, t4);
			append(div3, t5);
			append(div3, t6);
			append(div3, t7);
			append(div4, t8);
		},
		p(ctx, dirty) {
			if (dirty & /*$questsAppData*/ 1) {
				toggle_class(div0, "hud-quests-app__quest-point--complete", /*quest*/ ctx[1].complete);
			}

			if (dirty & /*$questsAppData*/ 1 && t1_value !== (t1_value = /*quest*/ ctx[1].title + "")) set_data(t1, t1_value);
			if (dirty & /*$questsAppData*/ 1 && t4_value !== (t4_value = /*quest*/ ctx[1].current + "")) set_data(t4, t4_value);
			if (dirty & /*$questsAppData*/ 1 && t6_value !== (t6_value = /*quest*/ ctx[1].total + "")) set_data(t6, t6_value);

			if (dirty & /*$questsAppData*/ 1) {
				toggle_class(div3, "hud-quests-app__quest-counter--complete", /*quest*/ ctx[1].complete);
			}
		},
		d(detaching) {
			if (detaching) detach(div4);
		}
	};
}

function hud_quests_app_index_svelte_create_fragment(ctx) {
	let div5;
	let div1;
	let img;
	let img_src_value;
	let t0;
	let div0;
	let t1_value = (/*$questsAppData*/ ctx[0].key || '') + "";
	let t1;
	let t2;
	let div4;
	let div2;
	let t4;
	let div3;
	let each_value = /*$questsAppData*/ ctx[0].quests || [];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = hud_quests_app_index_svelte_create_each_block(hud_quests_app_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div5 = internal_element("div");
			div1 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			div4 = internal_element("div");
			div2 = internal_element("div");
			div2.textContent = "ЗАДАНИЯ";
			t4 = space();
			div3 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			if (!src_url_equal(img.src, img_src_value = avatar_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "avatar");
			attr(img, "class", "hud-quests-app__avatar-image svelte-hnzbtk");
			attr(div0, "class", "hud-quests-app__key svelte-hnzbtk");
			attr(div1, "class", "hud-quests-app__avatar svelte-hnzbtk");
			attr(div2, "class", "hud-quests-app__list-caption svelte-hnzbtk");
			attr(div3, "class", "hud-quests-app__list svelte-hnzbtk");
			attr(div4, "class", "hud-quests-app__list-wrapper svelte-hnzbtk");
			set_style(div4, "background-image", "url('" + bg_namespaceObject + "')");
			attr(div5, "class", "hud-quests-app svelte-hnzbtk");
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			append(div5, div1);
			append(div1, img);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
			append(div5, t2);
			append(div5, div4);
			append(div4, div2);
			append(div4, t4);
			append(div4, div3);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div3, null);
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*$questsAppData*/ 1 && t1_value !== (t1_value = (/*$questsAppData*/ ctx[0].key || '') + "")) set_data(t1, t1_value);

			if (dirty & /*$questsAppData*/ 1) {
				each_value = /*$questsAppData*/ ctx[0].quests || [];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = hud_quests_app_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = hud_quests_app_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div3, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div5);
			destroy_each(each_blocks, detaching);
		}
	};
}

function hud_quests_app_index_svelte_instance($$self, $$props, $$invalidate) {
	let $questsAppData;
	component_subscribe($$self, questsAppData, $$value => $$invalidate(0, $questsAppData = $$value));
	return [$questsAppData];
}

class Hud_quests_app extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, hud_quests_app_index_svelte_instance, hud_quests_app_index_svelte_create_fragment, safe_not_equal, {}, hud_quests_app_index_svelte_add_css);
	}
}

/* harmony default export */ const hud_quests_app_index_svelte = (Hud_quests_app);
;// CONCATENATED MODULE: ./src/views/hud/components/hud-kraken/img/logo.png
const logo_namespaceObject = __webpack_require__.p + "assets/4685f91ec18217c685ce.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-kraken/img/bg.png
const hud_kraken_img_bg_namespaceObject = __webpack_require__.p + "assets/866a638805dea8804df9.webp";
;// CONCATENATED MODULE: ./src/views/hud/components/hud-kraken/index.svelte
/* src\views\hud\components\hud-kraken\index.svelte generated by Svelte v3.49.0 */






function hud_kraken_index_svelte_add_css(target) {
	append_styles(target, "svelte-1xjkks3", "@keyframes svelte-1xjkks3-blinking{50%{opacity:0}}@keyframes svelte-1xjkks3-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1xjkks3-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1xjkks3-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1xjkks3-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1xjkks3-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1xjkks3-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1xjkks3-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1xjkks3-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1xjkks3-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1xjkks3-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1xjkks3-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1xjkks3-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1xjkks3-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1xjkks3-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.hud-kraken.svelte-1xjkks3{position:relative;display:flex;align-items:center;background-color:#1C0B24;border:2px solid rgba(255, 255, 255, 0.2);border-top-left-radius:calc(0.0083333333 * 100vw + 0px);border-top-right-radius:calc(0.0270833333 * 100vw + 0px);border-bottom-right-radius:calc(0.0083333333 * 100vw + 0px);border-bottom-left-radius:calc(0.0270833333 * 100vw + 0px);width:calc(0.2875 * 100vw + 0px);height:calc(0.0572916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-kraken.svelte-1xjkks3{border-top-left-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-kraken.svelte-1xjkks3{border-top-left-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-kraken.svelte-1xjkks3{border-top-left-radius:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-kraken.svelte-1xjkks3{border-top-left-radius:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-kraken.svelte-1xjkks3{border-top-left-radius:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-kraken.svelte-1xjkks3{border-top-left-radius:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.hud-kraken.svelte-1xjkks3{border-top-left-radius:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-kraken.svelte-1xjkks3{border-top-right-radius:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-kraken.svelte-1xjkks3{border-top-right-radius:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-kraken.svelte-1xjkks3{border-top-right-radius:calc(0.0208541667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-kraken.svelte-1xjkks3{border-top-right-radius:calc(0.0297916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-kraken.svelte-1xjkks3{border-top-right-radius:calc(0.0189583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-kraken.svelte-1xjkks3{border-top-right-radius:calc(0.024375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-kraken.svelte-1xjkks3{border-top-right-radius:calc(0.0297916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-kraken.svelte-1xjkks3{border-bottom-right-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-kraken.svelte-1xjkks3{border-bottom-right-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-kraken.svelte-1xjkks3{border-bottom-right-radius:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-kraken.svelte-1xjkks3{border-bottom-right-radius:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-kraken.svelte-1xjkks3{border-bottom-right-radius:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-kraken.svelte-1xjkks3{border-bottom-right-radius:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.hud-kraken.svelte-1xjkks3{border-bottom-right-radius:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-kraken.svelte-1xjkks3{border-bottom-left-radius:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-kraken.svelte-1xjkks3{border-bottom-left-radius:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-kraken.svelte-1xjkks3{border-bottom-left-radius:calc(0.0208541667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-kraken.svelte-1xjkks3{border-bottom-left-radius:calc(0.0297916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-kraken.svelte-1xjkks3{border-bottom-left-radius:calc(0.0189583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-kraken.svelte-1xjkks3{border-bottom-left-radius:calc(0.024375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-kraken.svelte-1xjkks3{border-bottom-left-radius:calc(0.0297916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-kraken.svelte-1xjkks3{width:calc(0.2875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-kraken.svelte-1xjkks3{width:calc(0.2875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-kraken.svelte-1xjkks3{width:calc(0.221375 * 100vw + 0px)}}@media(min-width: 3440px){.hud-kraken.svelte-1xjkks3{width:calc(0.31625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-kraken.svelte-1xjkks3{width:calc(0.20125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-kraken.svelte-1xjkks3{width:calc(0.25875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-kraken.svelte-1xjkks3{width:calc(0.31625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-kraken.svelte-1xjkks3{height:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-kraken.svelte-1xjkks3{height:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-kraken.svelte-1xjkks3{height:calc(0.0441145833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-kraken.svelte-1xjkks3{height:calc(0.0630208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-kraken.svelte-1xjkks3{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-kraken.svelte-1xjkks3{height:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 4096px){.hud-kraken.svelte-1xjkks3{height:calc(0.0630208333 * 100vw + 0px)}}.hud-kraken__logo.svelte-1xjkks3{z-index:2;position:absolute;left:0;bottom:0;height:calc(0.0864583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-kraken__logo.svelte-1xjkks3{height:calc(0.0864583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-kraken__logo.svelte-1xjkks3{height:calc(0.0864583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-kraken__logo.svelte-1xjkks3{height:calc(0.0665729167 * 100vw + 0px)}}@media(min-width: 3440px){.hud-kraken__logo.svelte-1xjkks3{height:calc(0.0951041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-kraken__logo.svelte-1xjkks3{height:calc(0.0605208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-kraken__logo.svelte-1xjkks3{height:calc(0.0778125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-kraken__logo.svelte-1xjkks3{height:calc(0.0951041667 * 100vw + 0px)}}.hud-kraken__background.svelte-1xjkks3{position:absolute;left:0;opacity:68%;width:100%;height:100%}.hud-kraken__info.svelte-1xjkks3{z-index:2;position:absolute;right:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-kraken__info.svelte-1xjkks3{right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-kraken__info.svelte-1xjkks3{right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-kraken__info.svelte-1xjkks3{right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.hud-kraken__info.svelte-1xjkks3{right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-kraken__info.svelte-1xjkks3{right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-kraken__info.svelte-1xjkks3{right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-kraken__info.svelte-1xjkks3{right:calc(0.0143229167 * 100vw + 0px)}}.hud-kraken__info-title.svelte-1xjkks3{font-family:\"HeadingNowMedium\";color:#FFFFFF;text-transform:uppercase;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-kraken__info-title.svelte-1xjkks3{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-kraken__info-title.svelte-1xjkks3{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-kraken__info-title.svelte-1xjkks3{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.hud-kraken__info-title.svelte-1xjkks3{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-kraken__info-title.svelte-1xjkks3{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-kraken__info-title.svelte-1xjkks3{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.hud-kraken__info-title.svelte-1xjkks3{font-size:calc(0.01375 * 100vw + 0px)}}.hud-kraken__info-progress.svelte-1xjkks3{display:flex;align-items:center;position:relative;background-color:rgba(178, 30, 45, 0.3);overflow:hidden;margin-top:calc(0.0010416667 * 100vw + 0px);margin-bottom:calc(0.0020833333 * 100vw + 0px);width:calc(0.175 * 100vw + 0px);height:calc(0.0104166667 * 100vw + 0px);border-radius:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-kraken__info-progress.svelte-1xjkks3{margin-top:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-kraken__info-progress.svelte-1xjkks3{margin-top:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-kraken__info-progress.svelte-1xjkks3{margin-top:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.hud-kraken__info-progress.svelte-1xjkks3{margin-top:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-kraken__info-progress.svelte-1xjkks3{margin-top:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-kraken__info-progress.svelte-1xjkks3{margin-top:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-kraken__info-progress.svelte-1xjkks3{margin-top:calc(0.0011458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-kraken__info-progress.svelte-1xjkks3{margin-bottom:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-kraken__info-progress.svelte-1xjkks3{margin-bottom:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-kraken__info-progress.svelte-1xjkks3{margin-bottom:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-kraken__info-progress.svelte-1xjkks3{margin-bottom:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-kraken__info-progress.svelte-1xjkks3{margin-bottom:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-kraken__info-progress.svelte-1xjkks3{margin-bottom:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-kraken__info-progress.svelte-1xjkks3{margin-bottom:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-kraken__info-progress.svelte-1xjkks3{width:calc(0.175 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-kraken__info-progress.svelte-1xjkks3{width:calc(0.175 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-kraken__info-progress.svelte-1xjkks3{width:calc(0.13475 * 100vw + 0px)}}@media(min-width: 3440px){.hud-kraken__info-progress.svelte-1xjkks3{width:calc(0.1925 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-kraken__info-progress.svelte-1xjkks3{width:calc(0.1225 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-kraken__info-progress.svelte-1xjkks3{width:calc(0.1575 * 100vw + 0px)}}@media(min-width: 4096px){.hud-kraken__info-progress.svelte-1xjkks3{width:calc(0.1925 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-kraken__info-progress.svelte-1xjkks3{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-kraken__info-progress.svelte-1xjkks3{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-kraken__info-progress.svelte-1xjkks3{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hud-kraken__info-progress.svelte-1xjkks3{height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-kraken__info-progress.svelte-1xjkks3{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-kraken__info-progress.svelte-1xjkks3{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hud-kraken__info-progress.svelte-1xjkks3{height:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud-kraken__info-progress.svelte-1xjkks3{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-kraken__info-progress.svelte-1xjkks3{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-kraken__info-progress.svelte-1xjkks3{border-radius:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-kraken__info-progress.svelte-1xjkks3{border-radius:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-kraken__info-progress.svelte-1xjkks3{border-radius:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-kraken__info-progress.svelte-1xjkks3{border-radius:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-kraken__info-progress.svelte-1xjkks3{border-radius:calc(0.0022916667 * 100vw + 0px)}}.hud-kraken__info-progress-value.svelte-1xjkks3{background:linear-gradient(90deg, #B21E2D 0%, #E84C59 100%);position:absolute;left:0;height:100%;width:0;border-radius:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-kraken__info-progress-value.svelte-1xjkks3{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-kraken__info-progress-value.svelte-1xjkks3{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-kraken__info-progress-value.svelte-1xjkks3{border-radius:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-kraken__info-progress-value.svelte-1xjkks3{border-radius:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-kraken__info-progress-value.svelte-1xjkks3{border-radius:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-kraken__info-progress-value.svelte-1xjkks3{border-radius:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.hud-kraken__info-progress-value.svelte-1xjkks3{border-radius:calc(0.0022916667 * 100vw + 0px)}}.hud-kraken__info-value.svelte-1xjkks3{font-family:\"HeadingNowRegular\";color:#FFFFFF;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud-kraken__info-value.svelte-1xjkks3{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud-kraken__info-value.svelte-1xjkks3{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud-kraken__info-value.svelte-1xjkks3{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.hud-kraken__info-value.svelte-1xjkks3{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud-kraken__info-value.svelte-1xjkks3{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud-kraken__info-value.svelte-1xjkks3{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.hud-kraken__info-value.svelte-1xjkks3{font-size:calc(0.0091666667 * 100vw + 0px)}}");
}

function hud_kraken_index_svelte_create_fragment(ctx) {
	let div3;
	let img0;
	let img0_src_value;
	let t0;
	let img1;
	let img1_src_value;
	let t1;
	let div2;
	let p0;
	let t3;
	let div1;
	let div0;
	let div0_style_value;
	let t4;
	let p1;
	let t5_value = /*$krakenHp*/ ctx[0].currentHp + "";
	let t5;
	let t6;
	let t7_value = /*$krakenHp*/ ctx[0].maxHp + "";
	let t7;

	return {
		c() {
			div3 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			img1 = internal_element("img");
			t1 = space();
			div2 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Космический корабль";
			t3 = space();
			div1 = internal_element("div");
			div0 = internal_element("div");
			t4 = space();
			p1 = internal_element("p");
			t5 = internal_text(t5_value);
			t6 = internal_text(" / ");
			t7 = internal_text(t7_value);
			attr(img0, "class", "hud-kraken__logo svelte-1xjkks3");
			if (!src_url_equal(img0.src, img0_src_value = logo_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "kraken");
			attr(img1, "class", "hud-kraken__background svelte-1xjkks3");
			if (!src_url_equal(img1.src, img1_src_value = hud_kraken_img_bg_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "background");
			attr(p0, "class", "hud-kraken__info-title svelte-1xjkks3");
			attr(div0, "class", "hud-kraken__info-progress-value svelte-1xjkks3");
			attr(div0, "style", div0_style_value = `width: ${/*$krakenHp*/ ctx[0].currentHp / (/*$krakenHp*/ ctx[0].maxHp / 100)}%;`);
			attr(div1, "class", "hud-kraken__info-progress svelte-1xjkks3");
			attr(p1, "class", "hud-kraken__info-value svelte-1xjkks3");
			attr(div2, "class", "hud-kraken__info svelte-1xjkks3");
			attr(div3, "class", "hud-kraken svelte-1xjkks3");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, img0);
			append(div3, t0);
			append(div3, img1);
			append(div3, t1);
			append(div3, div2);
			append(div2, p0);
			append(div2, t3);
			append(div2, div1);
			append(div1, div0);
			append(div2, t4);
			append(div2, p1);
			append(p1, t5);
			append(p1, t6);
			append(p1, t7);
		},
		p(ctx, [dirty]) {
			if (dirty & /*$krakenHp*/ 1 && div0_style_value !== (div0_style_value = `width: ${/*$krakenHp*/ ctx[0].currentHp / (/*$krakenHp*/ ctx[0].maxHp / 100)}%;`)) {
				attr(div0, "style", div0_style_value);
			}

			if (dirty & /*$krakenHp*/ 1 && t5_value !== (t5_value = /*$krakenHp*/ ctx[0].currentHp + "")) set_data(t5, t5_value);
			if (dirty & /*$krakenHp*/ 1 && t7_value !== (t7_value = /*$krakenHp*/ ctx[0].maxHp + "")) set_data(t7, t7_value);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div3);
		}
	};
}

function hud_kraken_index_svelte_instance($$self, $$props, $$invalidate) {
	let $krakenHp;
	component_subscribe($$self, krakenHp, $$value => $$invalidate(0, $krakenHp = $$value));
	return [$krakenHp];
}

class Hud_kraken extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, hud_kraken_index_svelte_instance, hud_kraken_index_svelte_create_fragment, safe_not_equal, {}, hud_kraken_index_svelte_add_css);
	}
}

/* harmony default export */ const hud_kraken_index_svelte = (Hud_kraken);
;// CONCATENATED MODULE: ./src/views/hud/constants.js
var HudElementType = {
  VoiceChatSpeakers: 'voiceChatSpeakers',
  ServerInformation: 'serverInformation',
  SimpleLogo: 'simpleLogo',
  WalletMoney: 'walletMoney',
  Wanted: 'wanted',
  WeaponInformation: 'weaponInformation',
  NeedsInformation: 'needsInformation',
  HotkeysInformation: 'hotkeysInformation',
  QuestsInformation: 'questsInformation',
  Radio: 'radio',
  LevelInformation: 'levelInformation',
  Timer: 'timer',
  Speedometer: 'speedometer',
  Banner: 'banner',
  BattlePassNotification: 'battlePassNotification',
  Taximeter: 'taximeter',
  InteractionButton: 'interactionButton',
  InfoJob: 'infoJob',
  GangWarStats: 'gangWarStats',
  CustomizedCounter: 'customizedCounter',
  PromoTask: 'promoTask',
  QuestsApp: 'questsApp',
  KrakenHp: 'krakenHp'
};
;// CONCATENATED MODULE: ./src/views/hud/index.svelte
/* src\views\hud\index.svelte generated by Svelte v3.49.0 */


































function hud_index_svelte_add_css(target) {
	append_styles(target, "svelte-1c956ma", "@keyframes svelte-1c956ma-blinking{50%{opacity:0}}@keyframes svelte-1c956ma-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1c956ma-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1c956ma-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1c956ma-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1c956ma-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1c956ma-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1c956ma-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1c956ma-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1c956ma-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1c956ma-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1c956ma-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1c956ma-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1c956ma-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1c956ma-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.hud.svelte-1c956ma{width:100vw;height:100vh;position:absolute;right:0;top:0}.hud--hidden.svelte-1c956ma{display:none}.hud__hidden-element.svelte-1c956ma{display:none}.hud__banner.svelte-1c956ma{position:fixed;left:calc(0.0286458333 * 100vw + 0px);bottom:calc(0.1927083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud__banner.svelte-1c956ma{left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud__banner.svelte-1c956ma{left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud__banner.svelte-1c956ma{left:calc(0.0220572917 * 100vw + 0px)}}@media(min-width: 3440px){.hud__banner.svelte-1c956ma{left:calc(0.0315104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud__banner.svelte-1c956ma{left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud__banner.svelte-1c956ma{left:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 4096px){.hud__banner.svelte-1c956ma{left:calc(0.0315104167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud__banner.svelte-1c956ma{bottom:calc(0.1927083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud__banner.svelte-1c956ma{bottom:calc(0.1927083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud__banner.svelte-1c956ma{bottom:calc(0.1483854167 * 100vw + 0px)}}@media(min-width: 3440px){.hud__banner.svelte-1c956ma{bottom:calc(0.2119791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud__banner.svelte-1c956ma{bottom:calc(0.1348958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud__banner.svelte-1c956ma{bottom:calc(0.1734375 * 100vw + 0px)}}@media(min-width: 4096px){.hud__banner.svelte-1c956ma{bottom:calc(0.2119791667 * 100vw + 0px)}}.hud__microphone-widget-wrapper.svelte-1c956ma{position:absolute;left:17.5%;bottom:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud__microphone-widget-wrapper.svelte-1c956ma{bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud__microphone-widget-wrapper.svelte-1c956ma{bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud__microphone-widget-wrapper.svelte-1c956ma{bottom:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.hud__microphone-widget-wrapper.svelte-1c956ma{bottom:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud__microphone-widget-wrapper.svelte-1c956ma{bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud__microphone-widget-wrapper.svelte-1c956ma{bottom:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.hud__microphone-widget-wrapper.svelte-1c956ma{bottom:calc(0.0286458333 * 100vw + 0px)}}.hud__main-stats-wrapper.svelte-1c956ma{position:absolute;right:calc(0.0151041667 * 100vw + 0px);color:#FFFFFF}@media(max-width: 1920px) and (max-height: 768px){.hud__main-stats-wrapper.svelte-1c956ma{right:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud__main-stats-wrapper.svelte-1c956ma{right:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud__main-stats-wrapper.svelte-1c956ma{right:calc(0.0116302083 * 100vw + 0px)}}@media(min-width: 3440px){.hud__main-stats-wrapper.svelte-1c956ma{right:calc(0.0166145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud__main-stats-wrapper.svelte-1c956ma{right:calc(0.0105729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud__main-stats-wrapper.svelte-1c956ma{right:calc(0.01359375 * 100vw + 0px)}}@media(min-width: 4096px){.hud__main-stats-wrapper.svelte-1c956ma{right:calc(0.0166145833 * 100vw + 0px)}}.hud__main-stats.svelte-1c956ma{display:flex;flex-direction:column;align-items:flex-end}.hud__server-information.svelte-1c956ma,.hud__logo.svelte-1c956ma{position:relative}.hud__main-stats-player-wrapper.svelte-1c956ma{display:flex;align-items:center}.hud__main-stats-player-money-wrapper.svelte-1c956ma{margin-top:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud__main-stats-player-money-wrapper.svelte-1c956ma{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud__main-stats-player-money-wrapper.svelte-1c956ma{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud__main-stats-player-money-wrapper.svelte-1c956ma{margin-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.hud__main-stats-player-money-wrapper.svelte-1c956ma{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud__main-stats-player-money-wrapper.svelte-1c956ma{margin-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud__main-stats-player-money-wrapper.svelte-1c956ma{margin-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.hud__main-stats-player-money-wrapper.svelte-1c956ma{margin-top:calc(0.0143229167 * 100vw + 0px)}}.hud__quests-wrapper.svelte-1c956ma{position:absolute;top:calc(0.1708333333 * 100vw + 0px);left:calc(0.0192708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud__quests-wrapper.svelte-1c956ma{top:calc(0.1708333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud__quests-wrapper.svelte-1c956ma{top:calc(0.1708333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud__quests-wrapper.svelte-1c956ma{top:calc(0.1315416667 * 100vw + 0px)}}@media(min-width: 3440px){.hud__quests-wrapper.svelte-1c956ma{top:calc(0.1879166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud__quests-wrapper.svelte-1c956ma{top:calc(0.1195833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud__quests-wrapper.svelte-1c956ma{top:calc(0.15375 * 100vw + 0px)}}@media(min-width: 4096px){.hud__quests-wrapper.svelte-1c956ma{top:calc(0.1879166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud__quests-wrapper.svelte-1c956ma{left:calc(0.0192708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud__quests-wrapper.svelte-1c956ma{left:calc(0.0192708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud__quests-wrapper.svelte-1c956ma{left:calc(0.0148385417 * 100vw + 0px)}}@media(min-width: 3440px){.hud__quests-wrapper.svelte-1c956ma{left:calc(0.0211979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud__quests-wrapper.svelte-1c956ma{left:calc(0.0134895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud__quests-wrapper.svelte-1c956ma{left:calc(0.01734375 * 100vw + 0px)}}@media(min-width: 4096px){.hud__quests-wrapper.svelte-1c956ma{left:calc(0.0211979167 * 100vw + 0px)}}.hud__radio-wrapper.svelte-1c956ma{position:absolute;top:calc(0.2369791667 * 100vw + 0px);right:calc(0.0239583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud__radio-wrapper.svelte-1c956ma{top:calc(0.2369791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud__radio-wrapper.svelte-1c956ma{top:calc(0.2369791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud__radio-wrapper.svelte-1c956ma{top:calc(0.1824739583 * 100vw + 0px)}}@media(min-width: 3440px){.hud__radio-wrapper.svelte-1c956ma{top:calc(0.2606770833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud__radio-wrapper.svelte-1c956ma{top:calc(0.1658854167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud__radio-wrapper.svelte-1c956ma{top:calc(0.21328125 * 100vw + 0px)}}@media(min-width: 4096px){.hud__radio-wrapper.svelte-1c956ma{top:calc(0.2606770833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud__radio-wrapper.svelte-1c956ma{right:calc(0.0239583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud__radio-wrapper.svelte-1c956ma{right:calc(0.0239583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud__radio-wrapper.svelte-1c956ma{right:calc(0.0184479167 * 100vw + 0px)}}@media(min-width: 3440px){.hud__radio-wrapper.svelte-1c956ma{right:calc(0.0263541667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud__radio-wrapper.svelte-1c956ma{right:calc(0.0167708333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud__radio-wrapper.svelte-1c956ma{right:calc(0.0215625 * 100vw + 0px)}}@media(min-width: 4096px){.hud__radio-wrapper.svelte-1c956ma{right:calc(0.0263541667 * 100vw + 0px)}}.hud__job-level-wrapper.svelte-1c956ma{position:absolute;left:50%;transform:translateX(-50%);top:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud__job-level-wrapper.svelte-1c956ma{top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud__job-level-wrapper.svelte-1c956ma{top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud__job-level-wrapper.svelte-1c956ma{top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.hud__job-level-wrapper.svelte-1c956ma{top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud__job-level-wrapper.svelte-1c956ma{top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud__job-level-wrapper.svelte-1c956ma{top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.hud__job-level-wrapper.svelte-1c956ma{top:calc(0.0143229167 * 100vw + 0px)}}.hud__timer-wrapper.svelte-1c956ma{position:absolute;left:50%;transform:translateX(-50%);top:calc(0.1119791667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud__timer-wrapper.svelte-1c956ma{top:calc(0.1119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud__timer-wrapper.svelte-1c956ma{top:calc(0.1119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud__timer-wrapper.svelte-1c956ma{top:calc(0.0862239583 * 100vw + 0px)}}@media(min-width: 3440px){.hud__timer-wrapper.svelte-1c956ma{top:calc(0.1231770833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud__timer-wrapper.svelte-1c956ma{top:calc(0.0783854167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud__timer-wrapper.svelte-1c956ma{top:calc(0.10078125 * 100vw + 0px)}}@media(min-width: 4096px){.hud__timer-wrapper.svelte-1c956ma{top:calc(0.1231770833 * 100vw + 0px)}}.hud__battle-pass-notification-wrapper.svelte-1c956ma{position:absolute;top:50%;transform:translateY(-50%);right:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud__battle-pass-notification-wrapper.svelte-1c956ma{right:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud__battle-pass-notification-wrapper.svelte-1c956ma{right:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud__battle-pass-notification-wrapper.svelte-1c956ma{right:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.hud__battle-pass-notification-wrapper.svelte-1c956ma{right:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud__battle-pass-notification-wrapper.svelte-1c956ma{right:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud__battle-pass-notification-wrapper.svelte-1c956ma{right:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.hud__battle-pass-notification-wrapper.svelte-1c956ma{right:calc(0.0171875 * 100vw + 0px)}}.hud__taximeter-wrapper.svelte-1c956ma{position:fixed;left:calc(0.0208333333 * 100vw + 0px);bottom:calc(0.1927083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud__taximeter-wrapper.svelte-1c956ma{left:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud__taximeter-wrapper.svelte-1c956ma{left:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud__taximeter-wrapper.svelte-1c956ma{left:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.hud__taximeter-wrapper.svelte-1c956ma{left:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud__taximeter-wrapper.svelte-1c956ma{left:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud__taximeter-wrapper.svelte-1c956ma{left:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.hud__taximeter-wrapper.svelte-1c956ma{left:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud__taximeter-wrapper.svelte-1c956ma{bottom:calc(0.1927083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud__taximeter-wrapper.svelte-1c956ma{bottom:calc(0.1927083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud__taximeter-wrapper.svelte-1c956ma{bottom:calc(0.1483854167 * 100vw + 0px)}}@media(min-width: 3440px){.hud__taximeter-wrapper.svelte-1c956ma{bottom:calc(0.2119791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud__taximeter-wrapper.svelte-1c956ma{bottom:calc(0.1348958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud__taximeter-wrapper.svelte-1c956ma{bottom:calc(0.1734375 * 100vw + 0px)}}@media(min-width: 4096px){.hud__taximeter-wrapper.svelte-1c956ma{bottom:calc(0.2119791667 * 100vw + 0px)}}.hud__interaction-button-wrapper.svelte-1c956ma{position:absolute;right:calc(0.2208333333 * 100vw + 0px);bottom:calc(0.2239583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud__interaction-button-wrapper.svelte-1c956ma{right:calc(0.2208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud__interaction-button-wrapper.svelte-1c956ma{right:calc(0.2208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud__interaction-button-wrapper.svelte-1c956ma{right:calc(0.1700416667 * 100vw + 0px)}}@media(min-width: 3440px){.hud__interaction-button-wrapper.svelte-1c956ma{right:calc(0.2429166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud__interaction-button-wrapper.svelte-1c956ma{right:calc(0.1545833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud__interaction-button-wrapper.svelte-1c956ma{right:calc(0.19875 * 100vw + 0px)}}@media(min-width: 4096px){.hud__interaction-button-wrapper.svelte-1c956ma{right:calc(0.2429166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud__interaction-button-wrapper.svelte-1c956ma{bottom:calc(0.2239583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud__interaction-button-wrapper.svelte-1c956ma{bottom:calc(0.2239583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud__interaction-button-wrapper.svelte-1c956ma{bottom:calc(0.1724479167 * 100vw + 0px)}}@media(min-width: 3440px){.hud__interaction-button-wrapper.svelte-1c956ma{bottom:calc(0.2463541667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud__interaction-button-wrapper.svelte-1c956ma{bottom:calc(0.1567708333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud__interaction-button-wrapper.svelte-1c956ma{bottom:calc(0.2015625 * 100vw + 0px)}}@media(min-width: 4096px){.hud__interaction-button-wrapper.svelte-1c956ma{bottom:calc(0.2463541667 * 100vw + 0px)}}.hud__info-job-wrapper.svelte-1c956ma{position:absolute;left:calc(0.0234375 * 100vw + 0px);bottom:calc(0.1921875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud__info-job-wrapper.svelte-1c956ma{left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud__info-job-wrapper.svelte-1c956ma{left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud__info-job-wrapper.svelte-1c956ma{left:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.hud__info-job-wrapper.svelte-1c956ma{left:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud__info-job-wrapper.svelte-1c956ma{left:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud__info-job-wrapper.svelte-1c956ma{left:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.hud__info-job-wrapper.svelte-1c956ma{left:calc(0.02578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud__info-job-wrapper.svelte-1c956ma{bottom:calc(0.1921875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud__info-job-wrapper.svelte-1c956ma{bottom:calc(0.1921875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud__info-job-wrapper.svelte-1c956ma{bottom:calc(0.147984375 * 100vw + 0px)}}@media(min-width: 3440px){.hud__info-job-wrapper.svelte-1c956ma{bottom:calc(0.21140625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud__info-job-wrapper.svelte-1c956ma{bottom:calc(0.13453125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud__info-job-wrapper.svelte-1c956ma{bottom:calc(0.17296875 * 100vw + 0px)}}@media(min-width: 4096px){.hud__info-job-wrapper.svelte-1c956ma{bottom:calc(0.21140625 * 100vw + 0px)}}.hud__gang-war-stats-wrapper.svelte-1c956ma{position:absolute;left:calc(0.296875 * 100vw + 0px);bottom:calc(0.0151041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud__gang-war-stats-wrapper.svelte-1c956ma{left:calc(0.296875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud__gang-war-stats-wrapper.svelte-1c956ma{left:calc(0.296875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud__gang-war-stats-wrapper.svelte-1c956ma{left:calc(0.22859375 * 100vw + 0px)}}@media(min-width: 3440px){.hud__gang-war-stats-wrapper.svelte-1c956ma{left:calc(0.3265625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud__gang-war-stats-wrapper.svelte-1c956ma{left:calc(0.2078125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud__gang-war-stats-wrapper.svelte-1c956ma{left:calc(0.2671875 * 100vw + 0px)}}@media(min-width: 4096px){.hud__gang-war-stats-wrapper.svelte-1c956ma{left:calc(0.3265625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud__gang-war-stats-wrapper.svelte-1c956ma{bottom:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud__gang-war-stats-wrapper.svelte-1c956ma{bottom:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud__gang-war-stats-wrapper.svelte-1c956ma{bottom:calc(0.0116302083 * 100vw + 0px)}}@media(min-width: 3440px){.hud__gang-war-stats-wrapper.svelte-1c956ma{bottom:calc(0.0166145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud__gang-war-stats-wrapper.svelte-1c956ma{bottom:calc(0.0105729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud__gang-war-stats-wrapper.svelte-1c956ma{bottom:calc(0.01359375 * 100vw + 0px)}}@media(min-width: 4096px){.hud__gang-war-stats-wrapper.svelte-1c956ma{bottom:calc(0.0166145833 * 100vw + 0px)}}.hud__customized-counter-wrapper.svelte-1c956ma{position:fixed;left:calc(0.0208333333 * 100vw + 0px);bottom:calc(0.1927083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud__customized-counter-wrapper.svelte-1c956ma{left:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud__customized-counter-wrapper.svelte-1c956ma{left:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud__customized-counter-wrapper.svelte-1c956ma{left:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.hud__customized-counter-wrapper.svelte-1c956ma{left:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud__customized-counter-wrapper.svelte-1c956ma{left:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud__customized-counter-wrapper.svelte-1c956ma{left:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.hud__customized-counter-wrapper.svelte-1c956ma{left:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud__customized-counter-wrapper.svelte-1c956ma{bottom:calc(0.1927083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud__customized-counter-wrapper.svelte-1c956ma{bottom:calc(0.1927083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud__customized-counter-wrapper.svelte-1c956ma{bottom:calc(0.1483854167 * 100vw + 0px)}}@media(min-width: 3440px){.hud__customized-counter-wrapper.svelte-1c956ma{bottom:calc(0.2119791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud__customized-counter-wrapper.svelte-1c956ma{bottom:calc(0.1348958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud__customized-counter-wrapper.svelte-1c956ma{bottom:calc(0.1734375 * 100vw + 0px)}}@media(min-width: 4096px){.hud__customized-counter-wrapper.svelte-1c956ma{bottom:calc(0.2119791667 * 100vw + 0px)}}.hud__promo-task-wrapper.svelte-1c956ma{position:absolute;left:calc(0.0260416667 * 100vw + 0px);top:calc(0.1953125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud__promo-task-wrapper.svelte-1c956ma{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud__promo-task-wrapper.svelte-1c956ma{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud__promo-task-wrapper.svelte-1c956ma{left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.hud__promo-task-wrapper.svelte-1c956ma{left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud__promo-task-wrapper.svelte-1c956ma{left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud__promo-task-wrapper.svelte-1c956ma{left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.hud__promo-task-wrapper.svelte-1c956ma{left:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud__promo-task-wrapper.svelte-1c956ma{top:calc(0.1953125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud__promo-task-wrapper.svelte-1c956ma{top:calc(0.1953125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud__promo-task-wrapper.svelte-1c956ma{top:calc(0.150390625 * 100vw + 0px)}}@media(min-width: 3440px){.hud__promo-task-wrapper.svelte-1c956ma{top:calc(0.21484375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud__promo-task-wrapper.svelte-1c956ma{top:calc(0.13671875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud__promo-task-wrapper.svelte-1c956ma{top:calc(0.17578125 * 100vw + 0px)}}@media(min-width: 4096px){.hud__promo-task-wrapper.svelte-1c956ma{top:calc(0.21484375 * 100vw + 0px)}}.hud__quests-app-wrapper.svelte-1c956ma{position:fixed;left:calc(0.0208333333 * 100vw + 0px);top:calc(0.2083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud__quests-app-wrapper.svelte-1c956ma{left:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud__quests-app-wrapper.svelte-1c956ma{left:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud__quests-app-wrapper.svelte-1c956ma{left:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.hud__quests-app-wrapper.svelte-1c956ma{left:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud__quests-app-wrapper.svelte-1c956ma{left:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud__quests-app-wrapper.svelte-1c956ma{left:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.hud__quests-app-wrapper.svelte-1c956ma{left:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud__quests-app-wrapper.svelte-1c956ma{top:calc(0.2083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud__quests-app-wrapper.svelte-1c956ma{top:calc(0.2083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud__quests-app-wrapper.svelte-1c956ma{top:calc(0.1604166667 * 100vw + 0px)}}@media(min-width: 3440px){.hud__quests-app-wrapper.svelte-1c956ma{top:calc(0.2291666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud__quests-app-wrapper.svelte-1c956ma{top:calc(0.1458333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud__quests-app-wrapper.svelte-1c956ma{top:calc(0.1875 * 100vw + 0px)}}@media(min-width: 4096px){.hud__quests-app-wrapper.svelte-1c956ma{top:calc(0.2291666667 * 100vw + 0px)}}.hud__kraken-hp-wrapper.svelte-1c956ma{position:fixed;left:calc(0.35625 * 100vw + 0px);bottom:calc(0.0291666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hud__kraken-hp-wrapper.svelte-1c956ma{left:calc(0.35625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud__kraken-hp-wrapper.svelte-1c956ma{left:calc(0.35625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud__kraken-hp-wrapper.svelte-1c956ma{left:calc(0.2743125 * 100vw + 0px)}}@media(min-width: 3440px){.hud__kraken-hp-wrapper.svelte-1c956ma{left:calc(0.391875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud__kraken-hp-wrapper.svelte-1c956ma{left:calc(0.249375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud__kraken-hp-wrapper.svelte-1c956ma{left:calc(0.320625 * 100vw + 0px)}}@media(min-width: 4096px){.hud__kraken-hp-wrapper.svelte-1c956ma{left:calc(0.391875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hud__kraken-hp-wrapper.svelte-1c956ma{bottom:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hud__kraken-hp-wrapper.svelte-1c956ma{bottom:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hud__kraken-hp-wrapper.svelte-1c956ma{bottom:calc(0.0224583333 * 100vw + 0px)}}@media(min-width: 3440px){.hud__kraken-hp-wrapper.svelte-1c956ma{bottom:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hud__kraken-hp-wrapper.svelte-1c956ma{bottom:calc(0.0204166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hud__kraken-hp-wrapper.svelte-1c956ma{bottom:calc(0.02625 * 100vw + 0px)}}@media(min-width: 4096px){.hud__kraken-hp-wrapper.svelte-1c956ma{bottom:calc(0.0320833333 * 100vw + 0px)}}");
}

function hud_index_svelte_create_fragment(ctx) {
	let div26;
	let div0;
	let hudbanner;
	let t0;
	let div1;
	let microphonewidget;
	let t1;
	let div10;
	let div2;
	let hudplayerserver;
	let t2;
	let div3;
	let hudsimplelogo;
	let t3;
	let div9;
	let div6;
	let div4;
	let hudplayerweapon;
	let t4;
	let div5;
	let hudplayerneeds;
	let t5;
	let div7;
	let hudplayermoney;
	let t6;
	let div8;
	let hudplayerwanted;
	let t7;
	let div11;
	let hudhint;
	let t8;
	let div12;
	let hudquests;
	let t9;
	let div13;
	let hudradio;
	let t10;
	let div14;
	let hudlevelinformation;
	let t11;
	let div15;
	let hudtimer;
	let t12;
	let div16;
	let hudbattlepassnotification;
	let t13;
	let div17;
	let hudtaximeter;
	let t14;
	let div18;
	let hudspeedometer;
	let t15;
	let div19;
	let hudinteractionbutton;
	let t16;
	let div20;
	let hudinfojob;
	let t17;
	let div21;
	let hudgangwarstats;
	let t18;
	let div22;
	let hudcustomizedcounter;
	let t19;
	let div23;
	let hudpromotask;
	let t20;
	let div24;
	let questsapp;
	let t21;
	let div25;
	let krakenhp;
	let current;
	hudbanner = new hud_banner_index_svelte({});
	microphonewidget = new microphone_widget_index_svelte({});
	hudplayerserver = new hud_player_server_index_svelte({});
	hudsimplelogo = new hud_simple_logo_index_svelte({});
	hudplayerweapon = new hud_player_weapon_index_svelte({});
	hudplayerneeds = new hud_player_needs_index_svelte({});
	hudplayermoney = new hud_player_money_index_svelte({});
	hudplayerwanted = new hud_player_wanted_index_svelte({});
	hudhint = new hud_hint_index_svelte({});
	hudquests = new hud_quests_index_svelte({});
	hudradio = new hud_radio_index_svelte({});
	hudlevelinformation = new hud_level_information_index_svelte({});
	hudtimer = new hud_timer_index_svelte({});
	hudbattlepassnotification = new hud_battle_pass_notification_index_svelte({});
	hudtaximeter = new hud_taximeter_index_svelte({});
	hudspeedometer = new hud_speedometer_index_svelte({});
	hudinteractionbutton = new hud_interaction_button_index_svelte({});
	hudinfojob = new hud_info_job_index_svelte({});
	hudgangwarstats = new hud_gang_war_stats_index_svelte({});
	hudcustomizedcounter = new hud_customized_counter_index_svelte({});
	hudpromotask = new hud_promo_task_index_svelte({});
	questsapp = new hud_quests_app_index_svelte({});
	krakenhp = new hud_kraken_index_svelte({});

	return {
		c() {
			div26 = internal_element("div");
			div0 = internal_element("div");
			create_component(hudbanner.$$.fragment);
			t0 = space();
			div1 = internal_element("div");
			create_component(microphonewidget.$$.fragment);
			t1 = space();
			div10 = internal_element("div");
			div2 = internal_element("div");
			create_component(hudplayerserver.$$.fragment);
			t2 = space();
			div3 = internal_element("div");
			create_component(hudsimplelogo.$$.fragment);
			t3 = space();
			div9 = internal_element("div");
			div6 = internal_element("div");
			div4 = internal_element("div");
			create_component(hudplayerweapon.$$.fragment);
			t4 = space();
			div5 = internal_element("div");
			create_component(hudplayerneeds.$$.fragment);
			t5 = space();
			div7 = internal_element("div");
			create_component(hudplayermoney.$$.fragment);
			t6 = space();
			div8 = internal_element("div");
			create_component(hudplayerwanted.$$.fragment);
			t7 = space();
			div11 = internal_element("div");
			create_component(hudhint.$$.fragment);
			t8 = space();
			div12 = internal_element("div");
			create_component(hudquests.$$.fragment);
			t9 = space();
			div13 = internal_element("div");
			create_component(hudradio.$$.fragment);
			t10 = space();
			div14 = internal_element("div");
			create_component(hudlevelinformation.$$.fragment);
			t11 = space();
			div15 = internal_element("div");
			create_component(hudtimer.$$.fragment);
			t12 = space();
			div16 = internal_element("div");
			create_component(hudbattlepassnotification.$$.fragment);
			t13 = space();
			div17 = internal_element("div");
			create_component(hudtaximeter.$$.fragment);
			t14 = space();
			div18 = internal_element("div");
			create_component(hudspeedometer.$$.fragment);
			t15 = space();
			div19 = internal_element("div");
			create_component(hudinteractionbutton.$$.fragment);
			t16 = space();
			div20 = internal_element("div");
			create_component(hudinfojob.$$.fragment);
			t17 = space();
			div21 = internal_element("div");
			create_component(hudgangwarstats.$$.fragment);
			t18 = space();
			div22 = internal_element("div");
			create_component(hudcustomizedcounter.$$.fragment);
			t19 = space();
			div23 = internal_element("div");
			create_component(hudpromotask.$$.fragment);
			t20 = space();
			div24 = internal_element("div");
			create_component(questsapp.$$.fragment);
			t21 = space();
			div25 = internal_element("div");
			create_component(krakenhp.$$.fragment);
			attr(div0, "class", "hud__banner svelte-1c956ma");
			toggle_class(div0, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.Banner]);
			attr(div1, "class", "hud__microphone-widget-wrapper svelte-1c956ma");
			toggle_class(div1, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.VoiceChatSpeakers]);
			attr(div2, "class", "hud__server-information svelte-1c956ma");
			toggle_class(div2, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.ServerInformation]);
			attr(div3, "class", "hud__logo svelte-1c956ma");
			toggle_class(div3, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.SimpleLogo]);
			attr(div4, "class", "hud__main-stats-player-weapon-wrapper svelte-1c956ma");
			toggle_class(div4, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.WeaponInformation]);
			attr(div5, "class", "hud__main-stats-player-needs-wrapper svelte-1c956ma");
			toggle_class(div5, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.NeedsInformation]);
			attr(div6, "class", "hud__main-stats-player-wrapper svelte-1c956ma");
			toggle_class(div6, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.NeedsInformation] && !/*$visibleComponents*/ ctx[0][HudElementType.WeaponInformation]);
			attr(div7, "class", "hud__main-stats-player-money-wrapper svelte-1c956ma");
			toggle_class(div7, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.WalletMoney]);
			attr(div8, "class", "hud__main-stats-player-wanted-wrapper svelte-1c956ma");
			toggle_class(div8, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.Wanted]);
			attr(div9, "class", "hud__main-stats svelte-1c956ma");
			attr(div10, "class", "hud__main-stats-wrapper svelte-1c956ma");
			attr(div11, "class", "hud__hint-wrapper svelte-1c956ma");
			toggle_class(div11, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.HotkeysInformation]);
			attr(div12, "class", "hud__quests-wrapper svelte-1c956ma");
			toggle_class(div12, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.QuestsInformation]);
			attr(div13, "class", "hud__radio-wrapper svelte-1c956ma");
			toggle_class(div13, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.Radio]);
			attr(div14, "class", "hud__job-level-wrapper svelte-1c956ma");
			toggle_class(div14, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.LevelInformation]);
			attr(div15, "class", "hud__timer-wrapper svelte-1c956ma");
			toggle_class(div15, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.Timer]);
			attr(div16, "class", "hud__battle-pass-notification-wrapper svelte-1c956ma");
			toggle_class(div16, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.BattlePassNotification]);
			attr(div17, "class", "hud__taximeter-wrapper svelte-1c956ma");
			toggle_class(div17, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.Taximeter]);
			attr(div18, "class", "hud__speedometer-wrapper svelte-1c956ma");
			toggle_class(div18, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.Speedometer]);
			attr(div19, "class", "hud__interaction-button-wrapper svelte-1c956ma");
			toggle_class(div19, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.InteractionButton]);
			attr(div20, "class", "hud__info-job-wrapper svelte-1c956ma");
			toggle_class(div20, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.InfoJob]);
			attr(div21, "class", "hud__gang-war-stats-wrapper svelte-1c956ma");
			toggle_class(div21, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.GangWarStats]);
			attr(div22, "class", "hud__customized-counter-wrapper svelte-1c956ma");
			toggle_class(div22, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.CustomizedCounter]);
			attr(div23, "class", "hud__promo-task-wrapper svelte-1c956ma");
			toggle_class(div23, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.PromoTask]);
			attr(div24, "class", "hud__quests-app-wrapper svelte-1c956ma");
			toggle_class(div24, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.QuestsApp]);
			attr(div25, "class", "hud__kraken-hp-wrapper svelte-1c956ma");
			toggle_class(div25, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.KrakenHp]);
			attr(div26, "class", "hud svelte-1c956ma");
			toggle_class(div26, "hud--hidden", (0,lodash.isEmpty)(/*$visibleComponents*/ ctx[0]));
		},
		m(target, anchor) {
			insert(target, div26, anchor);
			append(div26, div0);
			mount_component(hudbanner, div0, null);
			append(div26, t0);
			append(div26, div1);
			mount_component(microphonewidget, div1, null);
			append(div26, t1);
			append(div26, div10);
			append(div10, div2);
			mount_component(hudplayerserver, div2, null);
			append(div10, t2);
			append(div10, div3);
			mount_component(hudsimplelogo, div3, null);
			append(div10, t3);
			append(div10, div9);
			append(div9, div6);
			append(div6, div4);
			mount_component(hudplayerweapon, div4, null);
			append(div6, t4);
			append(div6, div5);
			mount_component(hudplayerneeds, div5, null);
			append(div9, t5);
			append(div9, div7);
			mount_component(hudplayermoney, div7, null);
			append(div9, t6);
			append(div9, div8);
			mount_component(hudplayerwanted, div8, null);
			append(div26, t7);
			append(div26, div11);
			mount_component(hudhint, div11, null);
			append(div26, t8);
			append(div26, div12);
			mount_component(hudquests, div12, null);
			append(div26, t9);
			append(div26, div13);
			mount_component(hudradio, div13, null);
			append(div26, t10);
			append(div26, div14);
			mount_component(hudlevelinformation, div14, null);
			append(div26, t11);
			append(div26, div15);
			mount_component(hudtimer, div15, null);
			append(div26, t12);
			append(div26, div16);
			mount_component(hudbattlepassnotification, div16, null);
			append(div26, t13);
			append(div26, div17);
			mount_component(hudtaximeter, div17, null);
			append(div26, t14);
			append(div26, div18);
			mount_component(hudspeedometer, div18, null);
			append(div26, t15);
			append(div26, div19);
			mount_component(hudinteractionbutton, div19, null);
			append(div26, t16);
			append(div26, div20);
			mount_component(hudinfojob, div20, null);
			append(div26, t17);
			append(div26, div21);
			mount_component(hudgangwarstats, div21, null);
			append(div26, t18);
			append(div26, div22);
			mount_component(hudcustomizedcounter, div22, null);
			append(div26, t19);
			append(div26, div23);
			mount_component(hudpromotask, div23, null);
			append(div26, t20);
			append(div26, div24);
			mount_component(questsapp, div24, null);
			append(div26, t21);
			append(div26, div25);
			mount_component(krakenhp, div25, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*$visibleComponents, HudElementType*/ 1) {
				toggle_class(div0, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.Banner]);
			}

			if (dirty & /*$visibleComponents, HudElementType*/ 1) {
				toggle_class(div1, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.VoiceChatSpeakers]);
			}

			if (dirty & /*$visibleComponents, HudElementType*/ 1) {
				toggle_class(div2, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.ServerInformation]);
			}

			if (dirty & /*$visibleComponents, HudElementType*/ 1) {
				toggle_class(div3, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.SimpleLogo]);
			}

			if (dirty & /*$visibleComponents, HudElementType*/ 1) {
				toggle_class(div4, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.WeaponInformation]);
			}

			if (dirty & /*$visibleComponents, HudElementType*/ 1) {
				toggle_class(div5, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.NeedsInformation]);
			}

			if (dirty & /*$visibleComponents, HudElementType*/ 1) {
				toggle_class(div6, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.NeedsInformation] && !/*$visibleComponents*/ ctx[0][HudElementType.WeaponInformation]);
			}

			if (dirty & /*$visibleComponents, HudElementType*/ 1) {
				toggle_class(div7, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.WalletMoney]);
			}

			if (dirty & /*$visibleComponents, HudElementType*/ 1) {
				toggle_class(div8, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.Wanted]);
			}

			if (dirty & /*$visibleComponents, HudElementType*/ 1) {
				toggle_class(div11, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.HotkeysInformation]);
			}

			if (dirty & /*$visibleComponents, HudElementType*/ 1) {
				toggle_class(div12, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.QuestsInformation]);
			}

			if (dirty & /*$visibleComponents, HudElementType*/ 1) {
				toggle_class(div13, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.Radio]);
			}

			if (dirty & /*$visibleComponents, HudElementType*/ 1) {
				toggle_class(div14, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.LevelInformation]);
			}

			if (dirty & /*$visibleComponents, HudElementType*/ 1) {
				toggle_class(div15, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.Timer]);
			}

			if (dirty & /*$visibleComponents, HudElementType*/ 1) {
				toggle_class(div16, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.BattlePassNotification]);
			}

			if (dirty & /*$visibleComponents, HudElementType*/ 1) {
				toggle_class(div17, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.Taximeter]);
			}

			if (dirty & /*$visibleComponents, HudElementType*/ 1) {
				toggle_class(div18, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.Speedometer]);
			}

			if (dirty & /*$visibleComponents, HudElementType*/ 1) {
				toggle_class(div19, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.InteractionButton]);
			}

			if (dirty & /*$visibleComponents, HudElementType*/ 1) {
				toggle_class(div20, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.InfoJob]);
			}

			if (dirty & /*$visibleComponents, HudElementType*/ 1) {
				toggle_class(div21, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.GangWarStats]);
			}

			if (dirty & /*$visibleComponents, HudElementType*/ 1) {
				toggle_class(div22, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.CustomizedCounter]);
			}

			if (dirty & /*$visibleComponents, HudElementType*/ 1) {
				toggle_class(div23, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.PromoTask]);
			}

			if (dirty & /*$visibleComponents, HudElementType*/ 1) {
				toggle_class(div24, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.QuestsApp]);
			}

			if (dirty & /*$visibleComponents, HudElementType*/ 1) {
				toggle_class(div25, "hud__hidden-element", !/*$visibleComponents*/ ctx[0][HudElementType.KrakenHp]);
			}

			if (dirty & /*isEmpty, $visibleComponents*/ 1) {
				toggle_class(div26, "hud--hidden", (0,lodash.isEmpty)(/*$visibleComponents*/ ctx[0]));
			}
		},
		i(local) {
			if (current) return;
			transition_in(hudbanner.$$.fragment, local);
			transition_in(microphonewidget.$$.fragment, local);
			transition_in(hudplayerserver.$$.fragment, local);
			transition_in(hudsimplelogo.$$.fragment, local);
			transition_in(hudplayerweapon.$$.fragment, local);
			transition_in(hudplayerneeds.$$.fragment, local);
			transition_in(hudplayermoney.$$.fragment, local);
			transition_in(hudplayerwanted.$$.fragment, local);
			transition_in(hudhint.$$.fragment, local);
			transition_in(hudquests.$$.fragment, local);
			transition_in(hudradio.$$.fragment, local);
			transition_in(hudlevelinformation.$$.fragment, local);
			transition_in(hudtimer.$$.fragment, local);
			transition_in(hudbattlepassnotification.$$.fragment, local);
			transition_in(hudtaximeter.$$.fragment, local);
			transition_in(hudspeedometer.$$.fragment, local);
			transition_in(hudinteractionbutton.$$.fragment, local);
			transition_in(hudinfojob.$$.fragment, local);
			transition_in(hudgangwarstats.$$.fragment, local);
			transition_in(hudcustomizedcounter.$$.fragment, local);
			transition_in(hudpromotask.$$.fragment, local);
			transition_in(questsapp.$$.fragment, local);
			transition_in(krakenhp.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(hudbanner.$$.fragment, local);
			transition_out(microphonewidget.$$.fragment, local);
			transition_out(hudplayerserver.$$.fragment, local);
			transition_out(hudsimplelogo.$$.fragment, local);
			transition_out(hudplayerweapon.$$.fragment, local);
			transition_out(hudplayerneeds.$$.fragment, local);
			transition_out(hudplayermoney.$$.fragment, local);
			transition_out(hudplayerwanted.$$.fragment, local);
			transition_out(hudhint.$$.fragment, local);
			transition_out(hudquests.$$.fragment, local);
			transition_out(hudradio.$$.fragment, local);
			transition_out(hudlevelinformation.$$.fragment, local);
			transition_out(hudtimer.$$.fragment, local);
			transition_out(hudbattlepassnotification.$$.fragment, local);
			transition_out(hudtaximeter.$$.fragment, local);
			transition_out(hudspeedometer.$$.fragment, local);
			transition_out(hudinteractionbutton.$$.fragment, local);
			transition_out(hudinfojob.$$.fragment, local);
			transition_out(hudgangwarstats.$$.fragment, local);
			transition_out(hudcustomizedcounter.$$.fragment, local);
			transition_out(hudpromotask.$$.fragment, local);
			transition_out(questsapp.$$.fragment, local);
			transition_out(krakenhp.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div26);
			destroy_component(hudbanner);
			destroy_component(microphonewidget);
			destroy_component(hudplayerserver);
			destroy_component(hudsimplelogo);
			destroy_component(hudplayerweapon);
			destroy_component(hudplayerneeds);
			destroy_component(hudplayermoney);
			destroy_component(hudplayerwanted);
			destroy_component(hudhint);
			destroy_component(hudquests);
			destroy_component(hudradio);
			destroy_component(hudlevelinformation);
			destroy_component(hudtimer);
			destroy_component(hudbattlepassnotification);
			destroy_component(hudtaximeter);
			destroy_component(hudspeedometer);
			destroy_component(hudinteractionbutton);
			destroy_component(hudinfojob);
			destroy_component(hudgangwarstats);
			destroy_component(hudcustomizedcounter);
			destroy_component(hudpromotask);
			destroy_component(questsapp);
			destroy_component(krakenhp);
		}
	};
}

function hud_index_svelte_instance($$self, $$props, $$invalidate) {
	let $visibleComponents;
	component_subscribe($$self, visibleComponents, $$value => $$invalidate(0, $visibleComponents = $$value));

	onMount(() => {
		subscribesManager.subscribe(PLAYER_METHODS);
	});

	onDestroy(() => {
		subscribesManager.unsubscribe(PLAYER_METHODS);
	});

	return [$visibleComponents];
}

class Hud extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, hud_index_svelte_instance, hud_index_svelte_create_fragment, safe_not_equal, {}, hud_index_svelte_add_css);
	}
}

/* harmony default export */ const hud_index_svelte = (Hud);
;// CONCATENATED MODULE: ./src/views/promotions/birthday/img/birthday-background.png
const birthday_background_namespaceObject = __webpack_require__.p + "assets/1ba5a028e9a912f23981.webp";
;// CONCATENATED MODULE: ./src/views/promotions/birthday/img/birthday-decorative.png
const birthday_decorative_namespaceObject = __webpack_require__.p + "assets/41b43558360ed0134678.webp";
;// CONCATENATED MODULE: ./src/views/promotions/birthday/img/flag-left-top.png
const flag_left_top_namespaceObject = __webpack_require__.p + "assets/eb31dd8e4bcd8aeb3de7.webp";
;// CONCATENATED MODULE: ./src/views/promotions/birthday/img/flag-left-bottom.png
const flag_left_bottom_namespaceObject = __webpack_require__.p + "assets/47304842de2fa4c48c2a.webp";
;// CONCATENATED MODULE: ./src/views/promotions/birthday/img/flag-right-top.png
const flag_right_top_namespaceObject = __webpack_require__.p + "assets/9636ca7ed67135ce4a82.webp";
;// CONCATENATED MODULE: ./src/views/promotions/birthday/img/flag-right-bottom.png
const flag_right_bottom_namespaceObject = __webpack_require__.p + "assets/0bd23ea6d6402a82f4c8.webp";
;// CONCATENATED MODULE: ./src/views/promotions/birthday/index.svelte
/* src\views\promotions\birthday\index.svelte generated by Svelte v3.49.0 */









function birthday_index_svelte_add_css(target) {
	append_styles(target, "svelte-uxlzyt", "@keyframes svelte-uxlzyt-blinking{50%{opacity:0}}@keyframes svelte-uxlzyt-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-uxlzyt-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-uxlzyt-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-uxlzyt-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-uxlzyt-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-uxlzyt-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-uxlzyt-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-uxlzyt-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-uxlzyt-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-uxlzyt-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-uxlzyt-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-uxlzyt-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-uxlzyt-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-uxlzyt-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.birthday.svelte-uxlzyt{display:flex;align-items:center;flex-direction:column;width:100vw;height:100vh;background:rgba(54, 61, 71, 0.75)}.birthday__background.svelte-uxlzyt{height:100%;position:absolute}.birthday__left-top-flags.svelte-uxlzyt{position:absolute;width:calc(0.528125 * 100vw + 0px);left:calc(0 * 100vw + 0px);top:calc(-0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday__left-top-flags.svelte-uxlzyt{width:calc(0.528125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday__left-top-flags.svelte-uxlzyt{width:calc(0.528125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday__left-top-flags.svelte-uxlzyt{width:calc(0.40665625 * 100vw + 0px)}}@media(min-width: 3440px){.birthday__left-top-flags.svelte-uxlzyt{width:calc(0.5809375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday__left-top-flags.svelte-uxlzyt{width:calc(0.3696875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday__left-top-flags.svelte-uxlzyt{width:calc(0.4753125 * 100vw + 0px)}}@media(min-width: 4096px){.birthday__left-top-flags.svelte-uxlzyt{width:calc(0.5809375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday__left-top-flags.svelte-uxlzyt{left:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday__left-top-flags.svelte-uxlzyt{left:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday__left-top-flags.svelte-uxlzyt{left:calc(0 * 100vw + 0px)}}@media(min-width: 3440px){.birthday__left-top-flags.svelte-uxlzyt{left:calc(0 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday__left-top-flags.svelte-uxlzyt{left:calc(0 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday__left-top-flags.svelte-uxlzyt{left:calc(0 * 100vw + 0px)}}@media(min-width: 4096px){.birthday__left-top-flags.svelte-uxlzyt{left:calc(0 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday__left-top-flags.svelte-uxlzyt{top:calc(-0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday__left-top-flags.svelte-uxlzyt{top:calc(-0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday__left-top-flags.svelte-uxlzyt{top:calc(-0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.birthday__left-top-flags.svelte-uxlzyt{top:calc(-0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday__left-top-flags.svelte-uxlzyt{top:calc(-0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday__left-top-flags.svelte-uxlzyt{top:calc(-0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.birthday__left-top-flags.svelte-uxlzyt{top:calc(-0.00859375 * 100vw + 0px)}}.birthday__left-bottom-flags.svelte-uxlzyt{position:absolute;width:calc(0.5869791667 * 100vw + 0px);left:calc(0 * 100vw + 0px);bottom:calc(0 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday__left-bottom-flags.svelte-uxlzyt{width:calc(0.5869791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday__left-bottom-flags.svelte-uxlzyt{width:calc(0.5869791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday__left-bottom-flags.svelte-uxlzyt{width:calc(0.4519739583 * 100vw + 0px)}}@media(min-width: 3440px){.birthday__left-bottom-flags.svelte-uxlzyt{width:calc(0.6456770833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday__left-bottom-flags.svelte-uxlzyt{width:calc(0.4108854167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday__left-bottom-flags.svelte-uxlzyt{width:calc(0.52828125 * 100vw + 0px)}}@media(min-width: 4096px){.birthday__left-bottom-flags.svelte-uxlzyt{width:calc(0.6456770833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday__left-bottom-flags.svelte-uxlzyt{left:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday__left-bottom-flags.svelte-uxlzyt{left:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday__left-bottom-flags.svelte-uxlzyt{left:calc(0 * 100vw + 0px)}}@media(min-width: 3440px){.birthday__left-bottom-flags.svelte-uxlzyt{left:calc(0 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday__left-bottom-flags.svelte-uxlzyt{left:calc(0 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday__left-bottom-flags.svelte-uxlzyt{left:calc(0 * 100vw + 0px)}}@media(min-width: 4096px){.birthday__left-bottom-flags.svelte-uxlzyt{left:calc(0 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday__left-bottom-flags.svelte-uxlzyt{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday__left-bottom-flags.svelte-uxlzyt{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday__left-bottom-flags.svelte-uxlzyt{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 3440px){.birthday__left-bottom-flags.svelte-uxlzyt{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday__left-bottom-flags.svelte-uxlzyt{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday__left-bottom-flags.svelte-uxlzyt{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 4096px){.birthday__left-bottom-flags.svelte-uxlzyt{bottom:calc(0 * 100vw + 0px)}}.birthday__right-top-flags.svelte-uxlzyt{position:absolute;width:calc(0.4291666667 * 100vw + 0px);right:calc(0 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday__right-top-flags.svelte-uxlzyt{width:calc(0.4291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday__right-top-flags.svelte-uxlzyt{width:calc(0.4291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday__right-top-flags.svelte-uxlzyt{width:calc(0.3304583333 * 100vw + 0px)}}@media(min-width: 3440px){.birthday__right-top-flags.svelte-uxlzyt{width:calc(0.4720833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday__right-top-flags.svelte-uxlzyt{width:calc(0.3004166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday__right-top-flags.svelte-uxlzyt{width:calc(0.38625 * 100vw + 0px)}}@media(min-width: 4096px){.birthday__right-top-flags.svelte-uxlzyt{width:calc(0.4720833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday__right-top-flags.svelte-uxlzyt{right:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday__right-top-flags.svelte-uxlzyt{right:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday__right-top-flags.svelte-uxlzyt{right:calc(0 * 100vw + 0px)}}@media(min-width: 3440px){.birthday__right-top-flags.svelte-uxlzyt{right:calc(0 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday__right-top-flags.svelte-uxlzyt{right:calc(0 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday__right-top-flags.svelte-uxlzyt{right:calc(0 * 100vw + 0px)}}@media(min-width: 4096px){.birthday__right-top-flags.svelte-uxlzyt{right:calc(0 * 100vw + 0px)}}.birthday__right-bottom-flags.svelte-uxlzyt{position:absolute;width:calc(0.50625 * 100vw + 0px);right:calc(0 * 100vw + 0px);bottom:calc(0 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday__right-bottom-flags.svelte-uxlzyt{width:calc(0.50625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday__right-bottom-flags.svelte-uxlzyt{width:calc(0.50625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday__right-bottom-flags.svelte-uxlzyt{width:calc(0.3898125 * 100vw + 0px)}}@media(min-width: 3440px){.birthday__right-bottom-flags.svelte-uxlzyt{width:calc(0.556875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday__right-bottom-flags.svelte-uxlzyt{width:calc(0.354375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday__right-bottom-flags.svelte-uxlzyt{width:calc(0.455625 * 100vw + 0px)}}@media(min-width: 4096px){.birthday__right-bottom-flags.svelte-uxlzyt{width:calc(0.556875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday__right-bottom-flags.svelte-uxlzyt{right:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday__right-bottom-flags.svelte-uxlzyt{right:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday__right-bottom-flags.svelte-uxlzyt{right:calc(0 * 100vw + 0px)}}@media(min-width: 3440px){.birthday__right-bottom-flags.svelte-uxlzyt{right:calc(0 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday__right-bottom-flags.svelte-uxlzyt{right:calc(0 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday__right-bottom-flags.svelte-uxlzyt{right:calc(0 * 100vw + 0px)}}@media(min-width: 4096px){.birthday__right-bottom-flags.svelte-uxlzyt{right:calc(0 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday__right-bottom-flags.svelte-uxlzyt{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday__right-bottom-flags.svelte-uxlzyt{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday__right-bottom-flags.svelte-uxlzyt{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 3440px){.birthday__right-bottom-flags.svelte-uxlzyt{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday__right-bottom-flags.svelte-uxlzyt{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday__right-bottom-flags.svelte-uxlzyt{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 4096px){.birthday__right-bottom-flags.svelte-uxlzyt{bottom:calc(0 * 100vw + 0px)}}.birthday__information.svelte-uxlzyt{display:flex;flex-direction:column;align-items:center;position:absolute;color:#FFFFFF;bottom:calc(0.0697916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday__information.svelte-uxlzyt{bottom:calc(0.0697916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday__information.svelte-uxlzyt{bottom:calc(0.0697916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday__information.svelte-uxlzyt{bottom:calc(0.0537395833 * 100vw + 0px)}}@media(min-width: 3440px){.birthday__information.svelte-uxlzyt{bottom:calc(0.0767708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday__information.svelte-uxlzyt{bottom:calc(0.0488541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday__information.svelte-uxlzyt{bottom:calc(0.0628125 * 100vw + 0px)}}@media(min-width: 4096px){.birthday__information.svelte-uxlzyt{bottom:calc(0.0767708333 * 100vw + 0px)}}.birthday__position-icon.svelte-uxlzyt{width:calc(0.021875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday__position-icon.svelte-uxlzyt{width:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday__position-icon.svelte-uxlzyt{width:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday__position-icon.svelte-uxlzyt{width:calc(0.01684375 * 100vw + 0px)}}@media(min-width: 3440px){.birthday__position-icon.svelte-uxlzyt{width:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday__position-icon.svelte-uxlzyt{width:calc(0.0153125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday__position-icon.svelte-uxlzyt{width:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday__position-icon.svelte-uxlzyt{width:calc(0.0240625 * 100vw + 0px)}}.birthday__place.svelte-uxlzyt{font-family:\"GothamPro-Light\";margin-top:calc(0.0130208333 * 100vw + 0px);font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday__place.svelte-uxlzyt{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday__place.svelte-uxlzyt{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday__place.svelte-uxlzyt{margin-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.birthday__place.svelte-uxlzyt{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday__place.svelte-uxlzyt{margin-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday__place.svelte-uxlzyt{margin-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday__place.svelte-uxlzyt{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday__place.svelte-uxlzyt{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday__place.svelte-uxlzyt{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday__place.svelte-uxlzyt{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.birthday__place.svelte-uxlzyt{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday__place.svelte-uxlzyt{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday__place.svelte-uxlzyt{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday__place.svelte-uxlzyt{font-size:calc(0.0114583333 * 100vw + 0px)}}.birthday__description.svelte-uxlzyt{font-family:\"GothamPro-Light\";margin-top:calc(0.0088541667 * 100vw + 0px);font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday__description.svelte-uxlzyt{margin-top:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday__description.svelte-uxlzyt{margin-top:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday__description.svelte-uxlzyt{margin-top:calc(0.0068177083 * 100vw + 0px)}}@media(min-width: 3440px){.birthday__description.svelte-uxlzyt{margin-top:calc(0.0097395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday__description.svelte-uxlzyt{margin-top:calc(0.0061979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday__description.svelte-uxlzyt{margin-top:calc(0.00796875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday__description.svelte-uxlzyt{margin-top:calc(0.0097395833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday__description.svelte-uxlzyt{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday__description.svelte-uxlzyt{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday__description.svelte-uxlzyt{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.birthday__description.svelte-uxlzyt{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday__description.svelte-uxlzyt{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday__description.svelte-uxlzyt{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.birthday__description.svelte-uxlzyt{font-size:calc(0.0080208333 * 100vw + 0px)}}.birthday__prompt.svelte-uxlzyt{font-family:\"GothamPro-Bold\";margin-top:calc(0.003125 * 100vw + 0px);font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday__prompt.svelte-uxlzyt{margin-top:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday__prompt.svelte-uxlzyt{margin-top:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday__prompt.svelte-uxlzyt{margin-top:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.birthday__prompt.svelte-uxlzyt{margin-top:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday__prompt.svelte-uxlzyt{margin-top:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday__prompt.svelte-uxlzyt{margin-top:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.birthday__prompt.svelte-uxlzyt{margin-top:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday__prompt.svelte-uxlzyt{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday__prompt.svelte-uxlzyt{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday__prompt.svelte-uxlzyt{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.birthday__prompt.svelte-uxlzyt{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday__prompt.svelte-uxlzyt{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday__prompt.svelte-uxlzyt{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.birthday__prompt.svelte-uxlzyt{font-size:calc(0.01375 * 100vw + 0px)}}.birthday__promotion.svelte-uxlzyt{font-family:\"GothamPro\";margin-top:calc(0.0270833333 * 100vw + 0px);font-size:calc(0.01875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday__promotion.svelte-uxlzyt{margin-top:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday__promotion.svelte-uxlzyt{margin-top:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday__promotion.svelte-uxlzyt{margin-top:calc(0.0208541667 * 100vw + 0px)}}@media(min-width: 3440px){.birthday__promotion.svelte-uxlzyt{margin-top:calc(0.0297916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday__promotion.svelte-uxlzyt{margin-top:calc(0.0189583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday__promotion.svelte-uxlzyt{margin-top:calc(0.024375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday__promotion.svelte-uxlzyt{margin-top:calc(0.0297916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday__promotion.svelte-uxlzyt{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday__promotion.svelte-uxlzyt{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday__promotion.svelte-uxlzyt{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.birthday__promotion.svelte-uxlzyt{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday__promotion.svelte-uxlzyt{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday__promotion.svelte-uxlzyt{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday__promotion.svelte-uxlzyt{font-size:calc(0.020625 * 100vw + 0px)}}.birthday__information-bonus.svelte-uxlzyt{display:flex;margin-top:calc(0.0208333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday__information-bonus.svelte-uxlzyt{margin-top:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday__information-bonus.svelte-uxlzyt{margin-top:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday__information-bonus.svelte-uxlzyt{margin-top:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.birthday__information-bonus.svelte-uxlzyt{margin-top:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday__information-bonus.svelte-uxlzyt{margin-top:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday__information-bonus.svelte-uxlzyt{margin-top:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday__information-bonus.svelte-uxlzyt{margin-top:calc(0.0229166667 * 100vw + 0px)}}.birthday__information-bonus-item.svelte-uxlzyt{display:flex;flex-direction:column;align-items:center}.birthday__information-bonus-item.svelte-uxlzyt:not(:first-child){margin-left:calc(0.046875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday__information-bonus-item.svelte-uxlzyt:not(:first-child){margin-left:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday__information-bonus-item.svelte-uxlzyt:not(:first-child){margin-left:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday__information-bonus-item.svelte-uxlzyt:not(:first-child){margin-left:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px){.birthday__information-bonus-item.svelte-uxlzyt:not(:first-child){margin-left:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday__information-bonus-item.svelte-uxlzyt:not(:first-child){margin-left:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday__information-bonus-item.svelte-uxlzyt:not(:first-child){margin-left:calc(0.0421875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday__information-bonus-item.svelte-uxlzyt:not(:first-child){margin-left:calc(0.0515625 * 100vw + 0px)}}.birthday__bonus-title.svelte-uxlzyt{font-family:\"GothamPro-Bold\";font-size:calc(0.05 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday__bonus-title.svelte-uxlzyt{font-size:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday__bonus-title.svelte-uxlzyt{font-size:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday__bonus-title.svelte-uxlzyt{font-size:calc(0.0385 * 100vw + 0px)}}@media(min-width: 3440px){.birthday__bonus-title.svelte-uxlzyt{font-size:calc(0.055 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday__bonus-title.svelte-uxlzyt{font-size:calc(0.035 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday__bonus-title.svelte-uxlzyt{font-size:calc(0.045 * 100vw + 0px)}}@media(min-width: 4096px){.birthday__bonus-title.svelte-uxlzyt{font-size:calc(0.055 * 100vw + 0px)}}.birthday__bonus-description.svelte-uxlzyt{font-family:\"GothamPro-Light\";font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday__bonus-description.svelte-uxlzyt{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday__bonus-description.svelte-uxlzyt{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday__bonus-description.svelte-uxlzyt{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.birthday__bonus-description.svelte-uxlzyt{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday__bonus-description.svelte-uxlzyt{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday__bonus-description.svelte-uxlzyt{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday__bonus-description.svelte-uxlzyt{font-size:calc(0.0103125 * 100vw + 0px)}}");
}

function birthday_index_svelte_create_fragment(ctx) {
	let div4;
	let img0;
	let img0_src_value;
	let t0;
	let img1;
	let img1_src_value;
	let t1;
	let img2;
	let img2_src_value;
	let t2;
	let img3;
	let img3_src_value;
	let t3;
	let img4;
	let img4_src_value;
	let t4;
	let div3;
	let img5;
	let img5_src_value;
	let t5;
	let p0;
	let t7;
	let p1;
	let t9;
	let p2;
	let t11;
	let p3;
	let t13;
	let div2;

	return {
		c() {
			div4 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			img1 = internal_element("img");
			t1 = space();
			img2 = internal_element("img");
			t2 = space();
			img3 = internal_element("img");
			t3 = space();
			img4 = internal_element("img");
			t4 = space();
			div3 = internal_element("div");
			img5 = internal_element("img");
			t5 = space();
			p0 = internal_element("p");
			p0.textContent = "Празднование пройдёт на центральной площади города";
			t7 = space();
			p1 = internal_element("p");
			p1.textContent = "Подробнее";
			t9 = space();
			p2 = internal_element("p");
			p2.textContent = "GPS > 1 > 10";
			t11 = space();
			p3 = internal_element("p");
			p3.textContent = "Действует акция";
			t13 = space();
			div2 = internal_element("div");

			div2.innerHTML = `<div class="birthday__information-bonus-item svelte-uxlzyt"><p class="birthday__bonus-title svelte-uxlzyt">X2</p> 
                <p class="birthday__bonus-description svelte-uxlzyt">Каждый PayDay</p></div> 
            <div class="birthday__information-bonus-item svelte-uxlzyt"><p class="birthday__bonus-title svelte-uxlzyt">X3</p> 
                <p class="birthday__bonus-description svelte-uxlzyt">Пополнение счёта</p></div>`;

			attr(img0, "class", "birthday__background svelte-uxlzyt");
			if (!src_url_equal(img0.src, img0_src_value = birthday_background_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "birthday-background");
			attr(img1, "class", "birthday__left-top-flags svelte-uxlzyt");
			if (!src_url_equal(img1.src, img1_src_value = flag_left_top_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "left-top-flags");
			attr(img2, "class", "birthday__left-bottom-flags svelte-uxlzyt");
			if (!src_url_equal(img2.src, img2_src_value = flag_left_bottom_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "left-bottom-flags");
			attr(img3, "class", "birthday__right-top-flags svelte-uxlzyt");
			if (!src_url_equal(img3.src, img3_src_value = flag_right_top_namespaceObject)) attr(img3, "src", img3_src_value);
			attr(img3, "alt", "right-top-flags");
			attr(img4, "class", "birthday__right-bottom-flags svelte-uxlzyt");
			if (!src_url_equal(img4.src, img4_src_value = flag_right_bottom_namespaceObject)) attr(img4, "src", img4_src_value);
			attr(img4, "alt", "right-bottom-flags");
			attr(img5, "class", "birthday__position-icon svelte-uxlzyt");
			if (!src_url_equal(img5.src, img5_src_value = birthday_decorative_namespaceObject)) attr(img5, "src", img5_src_value);
			attr(img5, "alt", "position-icon");
			attr(p0, "class", "birthday__place svelte-uxlzyt");
			attr(p1, "class", "birthday__description svelte-uxlzyt");
			attr(p2, "class", "birthday__prompt svelte-uxlzyt");
			attr(p3, "class", "birthday__promotion svelte-uxlzyt");
			attr(div2, "class", "birthday__information-bonus svelte-uxlzyt");
			attr(div3, "class", "birthday__information svelte-uxlzyt");
			attr(div4, "class", "birthday svelte-uxlzyt");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, img0);
			append(div4, t0);
			append(div4, img1);
			append(div4, t1);
			append(div4, img2);
			append(div4, t2);
			append(div4, img3);
			append(div4, t3);
			append(div4, img4);
			append(div4, t4);
			append(div4, div3);
			append(div3, img5);
			append(div3, t5);
			append(div3, p0);
			append(div3, t7);
			append(div3, p1);
			append(div3, t9);
			append(div3, p2);
			append(div3, t11);
			append(div3, p3);
			append(div3, t13);
			append(div3, div2);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div4);
		}
	};
}

class Birthday extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, birthday_index_svelte_create_fragment, safe_not_equal, {}, birthday_index_svelte_add_css);
	}
}

/* harmony default export */ const birthday_index_svelte = (Birthday);
;// CONCATENATED MODULE: ./src/views/promotions/screamer/img/pumpkin.png
const pumpkin_namespaceObject = __webpack_require__.p + "assets/1e91ec9b70441da377fb.webp";
;// CONCATENATED MODULE: ./src/views/promotions/screamer/img/bat.png
const screamer_img_bat_namespaceObject = __webpack_require__.p + "assets/4cf52b25bcbabe6313fc.webp";
;// CONCATENATED MODULE: ./src/views/promotions/screamer/img/slender.png
const slender_namespaceObject = __webpack_require__.p + "assets/f7ad5536af7d96201b39.webp";
;// CONCATENATED MODULE: ./src/views/promotions/screamer/constants.js
function screamer_constants_typeof(o) { "@babel/helpers - typeof"; return screamer_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, screamer_constants_typeof(o); }
function screamer_constants_defineProperty(e, r, t) { return (r = screamer_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function screamer_constants_toPropertyKey(t) { var i = screamer_constants_toPrimitive(t, "string"); return "symbol" == screamer_constants_typeof(i) ? i : i + ""; }
function screamer_constants_toPrimitive(t, r) { if ("object" != screamer_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != screamer_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }



var ScreamerId = {
  None: null,
  Pumpkin: 'pumpkin',
  Bat: 'bat',
  Slender: 'slender'
};
var MAP_TYPE_TO_IMAGE = screamer_constants_defineProperty(screamer_constants_defineProperty(screamer_constants_defineProperty({}, ScreamerId.Pumpkin, pumpkin_namespaceObject), ScreamerId.Bat, screamer_img_bat_namespaceObject), ScreamerId.Slender, slender_namespaceObject);
;// CONCATENATED MODULE: ./src/views/promotions/screamer/index.svelte
/* src\views\promotions\screamer\index.svelte generated by Svelte v3.49.0 */







function screamer_index_svelte_add_css(target) {
	append_styles(target, "svelte-1hvjjk7", "@keyframes svelte-1hvjjk7-blinking{50%{opacity:0}}@keyframes svelte-1hvjjk7-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1hvjjk7-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1hvjjk7-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1hvjjk7-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1hvjjk7-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1hvjjk7-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1hvjjk7-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1hvjjk7-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1hvjjk7-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1hvjjk7-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1hvjjk7-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1hvjjk7-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1hvjjk7-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1hvjjk7-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.screamer.svelte-1hvjjk7{display:flex;align-items:center;width:100vw;height:100vh;background-color:#111111;animation:svelte-1hvjjk7-blind 0.2s linear infinite}.screamer__img.svelte-1hvjjk7{width:100vw;min-height:100vh;opacity:1;animation:svelte-1hvjjk7-visibility 0.5s linear infinite}@keyframes svelte-1hvjjk7-visibility{0%{opacity:0;transform:scale(1)}100%{opacity:1;transform:scale(1.1)}}@keyframes svelte-1hvjjk7-blind{0%{background-color:#FFFFFF}100%{background-color:#111111}}");
}

// (214:0) {#if !isNil(MAP_TYPE_TO_IMAGE[selectedScreamerId])}
function screamer_index_svelte_create_if_block(ctx) {
	let div;
	let img;
	let img_src_value;

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			attr(img, "class", "screamer__img svelte-1hvjjk7");
			if (!src_url_equal(img.src, img_src_value = MAP_TYPE_TO_IMAGE[/*selectedScreamerId*/ ctx[0]])) attr(img, "src", img_src_value);
			attr(img, "alt", "screamer");
			attr(div, "class", "screamer svelte-1hvjjk7");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
		},
		p(ctx, dirty) {
			if (dirty & /*selectedScreamerId*/ 1 && !src_url_equal(img.src, img_src_value = MAP_TYPE_TO_IMAGE[/*selectedScreamerId*/ ctx[0]])) {
				attr(img, "src", img_src_value);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function screamer_index_svelte_create_fragment(ctx) {
	let show_if = !(0,lodash.isNil)(MAP_TYPE_TO_IMAGE[/*selectedScreamerId*/ ctx[0]]);
	let if_block_anchor;
	let if_block = show_if && screamer_index_svelte_create_if_block(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
		},
		p(ctx, [dirty]) {
			if (dirty & /*selectedScreamerId*/ 1) show_if = !(0,lodash.isNil)(MAP_TYPE_TO_IMAGE[/*selectedScreamerId*/ ctx[0]]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = screamer_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

function screamer_index_svelte_instance($$self, $$props, $$invalidate) {
	let selectedScreamerId = ScreamerId.None;

	const setScreamerId = id => {
		$$invalidate(0, selectedScreamerId = id);
	};

	const unregisterSetScreamerIdEvent = registerEvent('event.promotions.setScreamerId', setScreamerId);

	onDestroy(() => {
		unregisterSetScreamerIdEvent();
	});

	return [selectedScreamerId];
}

class Screamer extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, screamer_index_svelte_instance, screamer_index_svelte_create_fragment, safe_not_equal, {}, screamer_index_svelte_add_css);
	}
}

/* harmony default export */ const screamer_index_svelte = (Screamer);
;// CONCATENATED MODULE: ./src/views/detector-radar/constants.js
function detector_radar_constants_typeof(o) { "@babel/helpers - typeof"; return detector_radar_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, detector_radar_constants_typeof(o); }
function detector_radar_constants_defineProperty(e, r, t) { return (r = detector_radar_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function detector_radar_constants_toPropertyKey(t) { var i = detector_radar_constants_toPrimitive(t, "string"); return "symbol" == detector_radar_constants_typeof(i) ? i : i + ""; }
function detector_radar_constants_toPrimitive(t, r) { if ("object" != detector_radar_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != detector_radar_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
var RadarLevel = {
  First: 1,
  Second: 2,
  Third: 3
};
var MAP_RADAR_LEVEL_TO_COLOR = detector_radar_constants_defineProperty(detector_radar_constants_defineProperty(detector_radar_constants_defineProperty({}, RadarLevel.First, {
  color: 'rgba(89, 232, 39, 1)',
  secondColor: 'rgba(89, 232, 39, 0.45)'
}), RadarLevel.Second, {
  color: 'rgba(255, 204, 51, 1)',
  secondColor: 'rgba(255, 204, 51, 0.45)'
}), RadarLevel.Third, {
  color: 'rgba(255, 33, 33, 1)',
  secondColor: 'rgba(255, 33, 33, 0.45)'
});
;// CONCATENATED MODULE: ./src/views/detector-radar/img/radar.png
const radar_namespaceObject = __webpack_require__.p + "assets/97fc39ba9dabe89fe685.webp";
;// CONCATENATED MODULE: ./src/views/detector-radar/img/decorative-description.svg
const decorative_description_namespaceObject = __webpack_require__.p + "assets/1363cd14679687fe1cb7.svg";
;// CONCATENATED MODULE: ./src/views/detector-radar/index.svelte
/* src\views\detector-radar\index.svelte generated by Svelte v3.49.0 */









function detector_radar_index_svelte_add_css(target) {
	append_styles(target, "svelte-5p4ys6", "@keyframes svelte-5p4ys6-blinking{50%{opacity:0}}@keyframes svelte-5p4ys6-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-5p4ys6-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-5p4ys6-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-5p4ys6-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-5p4ys6-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-5p4ys6-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-5p4ys6-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-5p4ys6-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-5p4ys6-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-5p4ys6-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-5p4ys6-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-5p4ys6-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-5p4ys6-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-5p4ys6-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.detector-radar.svelte-5p4ys6{display:flex;align-items:center;justify-content:center;width:100vw;height:100vh}.detector-radar__wrapper.svelte-5p4ys6{position:absolute;text-align:center;right:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.detector-radar__wrapper.svelte-5p4ys6{right:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.detector-radar__wrapper.svelte-5p4ys6{right:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.detector-radar__wrapper.svelte-5p4ys6{right:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.detector-radar__wrapper.svelte-5p4ys6{right:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.detector-radar__wrapper.svelte-5p4ys6{right:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.detector-radar__wrapper.svelte-5p4ys6{right:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.detector-radar__wrapper.svelte-5p4ys6{right:calc(0.0183333333 * 100vw + 0px)}}.detector-radar__wrapper.svelte-5p4ys6::before{content:\"\";top:0;right:0;position:absolute;height:100%;background:#202731;z-index:-1;filter:blur(calc(0.0520833333 * 100vw + 0px));width:calc(0.2604166667 * 100vw + 0px);right:calc(-0.0677083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.detector-radar__wrapper.svelte-5p4ys6::before{width:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.detector-radar__wrapper.svelte-5p4ys6::before{width:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.detector-radar__wrapper.svelte-5p4ys6::before{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px){.detector-radar__wrapper.svelte-5p4ys6::before{width:calc(0.2864583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.detector-radar__wrapper.svelte-5p4ys6::before{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.detector-radar__wrapper.svelte-5p4ys6::before{width:calc(0.234375 * 100vw + 0px)}}@media(min-width: 4096px){.detector-radar__wrapper.svelte-5p4ys6::before{width:calc(0.2864583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.detector-radar__wrapper.svelte-5p4ys6::before{right:calc(-0.0677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.detector-radar__wrapper.svelte-5p4ys6::before{right:calc(-0.0677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.detector-radar__wrapper.svelte-5p4ys6::before{right:calc(-0.0521354167 * 100vw + 0px)}}@media(min-width: 3440px){.detector-radar__wrapper.svelte-5p4ys6::before{right:calc(-0.0744791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.detector-radar__wrapper.svelte-5p4ys6::before{right:calc(-0.0473958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.detector-radar__wrapper.svelte-5p4ys6::before{right:calc(-0.0609375 * 100vw + 0px)}}@media(min-width: 4096px){.detector-radar__wrapper.svelte-5p4ys6::before{right:calc(-0.0744791667 * 100vw + 0px)}}.detector-radar__title.svelte-5p4ys6{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0166666667 * 100vw + 0px);margin-bottom:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.detector-radar__title.svelte-5p4ys6{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.detector-radar__title.svelte-5p4ys6{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.detector-radar__title.svelte-5p4ys6{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.detector-radar__title.svelte-5p4ys6{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.detector-radar__title.svelte-5p4ys6{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.detector-radar__title.svelte-5p4ys6{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.detector-radar__title.svelte-5p4ys6{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.detector-radar__title.svelte-5p4ys6{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.detector-radar__title.svelte-5p4ys6{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.detector-radar__title.svelte-5p4ys6{margin-bottom:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.detector-radar__title.svelte-5p4ys6{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.detector-radar__title.svelte-5p4ys6{margin-bottom:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.detector-radar__title.svelte-5p4ys6{margin-bottom:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.detector-radar__title.svelte-5p4ys6{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}.detector-radar__radar-img.svelte-5p4ys6{width:calc(0.15625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.detector-radar__radar-img.svelte-5p4ys6{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.detector-radar__radar-img.svelte-5p4ys6{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.detector-radar__radar-img.svelte-5p4ys6{width:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px){.detector-radar__radar-img.svelte-5p4ys6{width:calc(0.171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.detector-radar__radar-img.svelte-5p4ys6{width:calc(0.109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.detector-radar__radar-img.svelte-5p4ys6{width:calc(0.140625 * 100vw + 0px)}}@media(min-width: 4096px){.detector-radar__radar-img.svelte-5p4ys6{width:calc(0.171875 * 100vw + 0px)}}.detector-radar__radar-waves.svelte-5p4ys6{position:absolute;width:calc(0.1510416667 * 100vw + 0px);height:calc(0.1510416667 * 100vw + 0px);right:calc(0.0135416667 * 100vw + 0px);top:calc(0.0395833333 * 100vw + 0px);background:radial-gradient(50% 50% at 50% 50%, rgba(89, 232, 39, 0) 0%, var(--color) 81.77%, var(--second-color) 100%);border-radius:50%;animation:svelte-5p4ys6-waves var(--blinkingTime) infinite}@media(max-width: 1920px) and (max-height: 768px){.detector-radar__radar-waves.svelte-5p4ys6{width:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.detector-radar__radar-waves.svelte-5p4ys6{width:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.detector-radar__radar-waves.svelte-5p4ys6{width:calc(0.1163020833 * 100vw + 0px)}}@media(min-width: 3440px){.detector-radar__radar-waves.svelte-5p4ys6{width:calc(0.1661458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.detector-radar__radar-waves.svelte-5p4ys6{width:calc(0.1057291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.detector-radar__radar-waves.svelte-5p4ys6{width:calc(0.1359375 * 100vw + 0px)}}@media(min-width: 4096px){.detector-radar__radar-waves.svelte-5p4ys6{width:calc(0.1661458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.detector-radar__radar-waves.svelte-5p4ys6{height:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.detector-radar__radar-waves.svelte-5p4ys6{height:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.detector-radar__radar-waves.svelte-5p4ys6{height:calc(0.1163020833 * 100vw + 0px)}}@media(min-width: 3440px){.detector-radar__radar-waves.svelte-5p4ys6{height:calc(0.1661458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.detector-radar__radar-waves.svelte-5p4ys6{height:calc(0.1057291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.detector-radar__radar-waves.svelte-5p4ys6{height:calc(0.1359375 * 100vw + 0px)}}@media(min-width: 4096px){.detector-radar__radar-waves.svelte-5p4ys6{height:calc(0.1661458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.detector-radar__radar-waves.svelte-5p4ys6{right:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.detector-radar__radar-waves.svelte-5p4ys6{right:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.detector-radar__radar-waves.svelte-5p4ys6{right:calc(0.0104270833 * 100vw + 0px)}}@media(min-width: 3440px){.detector-radar__radar-waves.svelte-5p4ys6{right:calc(0.0148958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.detector-radar__radar-waves.svelte-5p4ys6{right:calc(0.0094791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.detector-radar__radar-waves.svelte-5p4ys6{right:calc(0.0121875 * 100vw + 0px)}}@media(min-width: 4096px){.detector-radar__radar-waves.svelte-5p4ys6{right:calc(0.0148958333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.detector-radar__radar-waves.svelte-5p4ys6{top:calc(0.0395833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.detector-radar__radar-waves.svelte-5p4ys6{top:calc(0.0395833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.detector-radar__radar-waves.svelte-5p4ys6{top:calc(0.0304791667 * 100vw + 0px)}}@media(min-width: 3440px){.detector-radar__radar-waves.svelte-5p4ys6{top:calc(0.0435416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.detector-radar__radar-waves.svelte-5p4ys6{top:calc(0.0277083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.detector-radar__radar-waves.svelte-5p4ys6{top:calc(0.035625 * 100vw + 0px)}}@media(min-width: 4096px){.detector-radar__radar-waves.svelte-5p4ys6{top:calc(0.0435416667 * 100vw + 0px)}}.detector-radar__information.svelte-5p4ys6{position:relative;display:flex;flex-direction:column;align-items:center;top:calc(-0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.detector-radar__information.svelte-5p4ys6{top:calc(-0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.detector-radar__information.svelte-5p4ys6{top:calc(-0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.detector-radar__information.svelte-5p4ys6{top:calc(-0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.detector-radar__information.svelte-5p4ys6{top:calc(-0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.detector-radar__information.svelte-5p4ys6{top:calc(-0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.detector-radar__information.svelte-5p4ys6{top:calc(-0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.detector-radar__information.svelte-5p4ys6{top:calc(-0.0057291667 * 100vw + 0px)}}.detector-radar__description.svelte-5p4ys6{position:relative;font-family:\"GothamPro-Light\";color:#FFFFFF;bottom:calc(0.0364583333 * 100vw + 0px);font-size:calc(0.0067708333 * 100vw + 0px);width:calc(0.1786458333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.detector-radar__description.svelte-5p4ys6{bottom:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.detector-radar__description.svelte-5p4ys6{bottom:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.detector-radar__description.svelte-5p4ys6{bottom:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.detector-radar__description.svelte-5p4ys6{bottom:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.detector-radar__description.svelte-5p4ys6{bottom:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.detector-radar__description.svelte-5p4ys6{bottom:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.detector-radar__description.svelte-5p4ys6{bottom:calc(0.0401041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.detector-radar__description.svelte-5p4ys6{font-size:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.detector-radar__description.svelte-5p4ys6{font-size:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.detector-radar__description.svelte-5p4ys6{font-size:calc(0.0052135417 * 100vw + 0px)}}@media(min-width: 3440px){.detector-radar__description.svelte-5p4ys6{font-size:calc(0.0074479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.detector-radar__description.svelte-5p4ys6{font-size:calc(0.0047395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.detector-radar__description.svelte-5p4ys6{font-size:calc(0.00609375 * 100vw + 0px)}}@media(min-width: 4096px){.detector-radar__description.svelte-5p4ys6{font-size:calc(0.0074479167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.detector-radar__description.svelte-5p4ys6{width:calc(0.1786458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.detector-radar__description.svelte-5p4ys6{width:calc(0.1786458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.detector-radar__description.svelte-5p4ys6{width:calc(0.1375572917 * 100vw + 0px)}}@media(min-width: 3440px){.detector-radar__description.svelte-5p4ys6{width:calc(0.1965104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.detector-radar__description.svelte-5p4ys6{width:calc(0.1250520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.detector-radar__description.svelte-5p4ys6{width:calc(0.16078125 * 100vw + 0px)}}@media(min-width: 4096px){.detector-radar__description.svelte-5p4ys6{width:calc(0.1965104167 * 100vw + 0px)}}.detector-radar__description-green.svelte-5p4ys6{font-family:\"GothamPro-Medium\";color:#58FF2F}.detector-radar__button-dig.svelte-5p4ys6{text-align:right;width:fit-content;height:calc(0.0197916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.detector-radar__button-dig.svelte-5p4ys6{height:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.detector-radar__button-dig.svelte-5p4ys6{height:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.detector-radar__button-dig.svelte-5p4ys6{height:calc(0.0152395833 * 100vw + 0px)}}@media(min-width: 3440px){.detector-radar__button-dig.svelte-5p4ys6{height:calc(0.0217708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.detector-radar__button-dig.svelte-5p4ys6{height:calc(0.0138541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.detector-radar__button-dig.svelte-5p4ys6{height:calc(0.0178125 * 100vw + 0px)}}@media(min-width: 4096px){.detector-radar__button-dig.svelte-5p4ys6{height:calc(0.0217708333 * 100vw + 0px)}}.detector-radar__button-left.svelte-5p4ys6{text-align:right;width:fit-content;margin-top:calc(0.0078125 * 100vw + 0px);height:calc(0.0197916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.detector-radar__button-left.svelte-5p4ys6{margin-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.detector-radar__button-left.svelte-5p4ys6{margin-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.detector-radar__button-left.svelte-5p4ys6{margin-top:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.detector-radar__button-left.svelte-5p4ys6{margin-top:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.detector-radar__button-left.svelte-5p4ys6{margin-top:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.detector-radar__button-left.svelte-5p4ys6{margin-top:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.detector-radar__button-left.svelte-5p4ys6{margin-top:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.detector-radar__button-left.svelte-5p4ys6{height:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.detector-radar__button-left.svelte-5p4ys6{height:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.detector-radar__button-left.svelte-5p4ys6{height:calc(0.0152395833 * 100vw + 0px)}}@media(min-width: 3440px){.detector-radar__button-left.svelte-5p4ys6{height:calc(0.0217708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.detector-radar__button-left.svelte-5p4ys6{height:calc(0.0138541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.detector-radar__button-left.svelte-5p4ys6{height:calc(0.0178125 * 100vw + 0px)}}@media(min-width: 4096px){.detector-radar__button-left.svelte-5p4ys6{height:calc(0.0217708333 * 100vw + 0px)}}.detector-radar__description-img.svelte-5p4ys6{width:calc(0.0213541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.detector-radar__description-img.svelte-5p4ys6{width:calc(0.0213541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.detector-radar__description-img.svelte-5p4ys6{width:calc(0.0213541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.detector-radar__description-img.svelte-5p4ys6{width:calc(0.0164427083 * 100vw + 0px)}}@media(min-width: 3440px){.detector-radar__description-img.svelte-5p4ys6{width:calc(0.0234895833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.detector-radar__description-img.svelte-5p4ys6{width:calc(0.0149479167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.detector-radar__description-img.svelte-5p4ys6{width:calc(0.01921875 * 100vw + 0px)}}@media(min-width: 4096px){.detector-radar__description-img.svelte-5p4ys6{width:calc(0.0234895833 * 100vw + 0px)}}.detector-radar__buttons.svelte-5p4ys6{display:flex;position:absolute;flex-direction:column;right:calc(0.0223958333 * 100vw + 0px);bottom:calc(0.0244791667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.detector-radar__buttons.svelte-5p4ys6{right:calc(0.0223958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.detector-radar__buttons.svelte-5p4ys6{right:calc(0.0223958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.detector-radar__buttons.svelte-5p4ys6{right:calc(0.0172447917 * 100vw + 0px)}}@media(min-width: 3440px){.detector-radar__buttons.svelte-5p4ys6{right:calc(0.0246354167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.detector-radar__buttons.svelte-5p4ys6{right:calc(0.0156770833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.detector-radar__buttons.svelte-5p4ys6{right:calc(0.02015625 * 100vw + 0px)}}@media(min-width: 4096px){.detector-radar__buttons.svelte-5p4ys6{right:calc(0.0246354167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.detector-radar__buttons.svelte-5p4ys6{bottom:calc(0.0244791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.detector-radar__buttons.svelte-5p4ys6{bottom:calc(0.0244791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.detector-radar__buttons.svelte-5p4ys6{bottom:calc(0.0188489583 * 100vw + 0px)}}@media(min-width: 3440px){.detector-radar__buttons.svelte-5p4ys6{bottom:calc(0.0269270833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.detector-radar__buttons.svelte-5p4ys6{bottom:calc(0.0171354167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.detector-radar__buttons.svelte-5p4ys6{bottom:calc(0.02203125 * 100vw + 0px)}}@media(min-width: 4096px){.detector-radar__buttons.svelte-5p4ys6{bottom:calc(0.0269270833 * 100vw + 0px)}}@keyframes svelte-5p4ys6-waves{0%{transform:scale(0.1, 0.1);opacity:1}90%{opacity:1}100%{transform:scale(1, 1);opacity:0}}");
}

function detector_radar_index_svelte_create_fragment(ctx) {
	let div7;
	let div3;
	let p0;
	let t1;
	let div1;
	let img0;
	let img0_src_value;
	let t2;
	let div0;
	let div0_style_value;
	let t3;
	let div2;
	let img1;
	let img1_src_value;
	let t4;
	let p1;
	let t9;
	let div6;
	let div4;
	let actionbutton0;
	let t10;
	let div5;
	let actionbutton1;
	let current;

	actionbutton0 = new index_svelte({
			props: {
				onPress: /*digUpItem*/ ctx[2],
				keyTitle: "F",
				keyCode: 70,
				preActionTitle: "Выкопать предмет"
			}
		});

	actionbutton1 = new index_svelte({
			props: {
				onPress: /*removeMetalDetector*/ ctx[3],
				keyTitle: "B",
				keyCode: 66,
				preActionTitle: "Убрать металлоискатель"
			}
		});

	return {
		c() {
			div7 = internal_element("div");
			div3 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Металлоискатель";
			t1 = space();
			div1 = internal_element("div");
			img0 = internal_element("img");
			t2 = space();
			div0 = internal_element("div");
			t3 = space();
			div2 = internal_element("div");
			img1 = internal_element("img");
			t4 = space();
			p1 = internal_element("p");

			p1.innerHTML = `Частота появления
                <span class="detector-radar__description-green svelte-5p4ys6">зеленого индикатора</span>
                обознает
                <br/>
                близость металлических предметов в земле`;

			t9 = space();
			div6 = internal_element("div");
			div4 = internal_element("div");
			create_component(actionbutton0.$$.fragment);
			t10 = space();
			div5 = internal_element("div");
			create_component(actionbutton1.$$.fragment);
			attr(p0, "class", "detector-radar__title svelte-5p4ys6");
			attr(img0, "class", "detector-radar__radar-img svelte-5p4ys6");
			if (!src_url_equal(img0.src, img0_src_value = radar_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "radar");
			attr(div0, "class", "detector-radar__radar-waves svelte-5p4ys6");
			attr(div0, "style", div0_style_value = `--color: ${MAP_RADAR_LEVEL_TO_COLOR[/*level*/ ctx[1]].color}; --second-color: ${MAP_RADAR_LEVEL_TO_COLOR[/*level*/ ctx[1]].secondColor}; --blinkingTime: ${/*blinkingTime*/ ctx[0]}s`);
			attr(div1, "class", "detector-radar__radar-body");
			attr(img1, "class", "detector-radar__description-img svelte-5p4ys6");
			if (!src_url_equal(img1.src, img1_src_value = decorative_description_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "description-img");
			attr(p1, "class", "detector-radar__description svelte-5p4ys6");
			attr(div2, "class", "detector-radar__information svelte-5p4ys6");
			attr(div3, "class", "detector-radar__wrapper svelte-5p4ys6");
			attr(div4, "class", "detector-radar__button-dig svelte-5p4ys6");
			attr(div5, "class", "detector-radar__button-left svelte-5p4ys6");
			attr(div6, "class", "detector-radar__buttons svelte-5p4ys6");
			attr(div7, "class", "detector-radar svelte-5p4ys6");
		},
		m(target, anchor) {
			insert(target, div7, anchor);
			append(div7, div3);
			append(div3, p0);
			append(div3, t1);
			append(div3, div1);
			append(div1, img0);
			append(div1, t2);
			append(div1, div0);
			append(div3, t3);
			append(div3, div2);
			append(div2, img1);
			append(div2, t4);
			append(div2, p1);
			append(div7, t9);
			append(div7, div6);
			append(div6, div4);
			mount_component(actionbutton0, div4, null);
			append(div6, t10);
			append(div6, div5);
			mount_component(actionbutton1, div5, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if (!current || dirty & /*level, blinkingTime*/ 3 && div0_style_value !== (div0_style_value = `--color: ${MAP_RADAR_LEVEL_TO_COLOR[/*level*/ ctx[1]].color}; --second-color: ${MAP_RADAR_LEVEL_TO_COLOR[/*level*/ ctx[1]].secondColor}; --blinkingTime: ${/*blinkingTime*/ ctx[0]}s`)) {
				attr(div0, "style", div0_style_value);
			}
		},
		i(local) {
			if (current) return;
			transition_in(actionbutton0.$$.fragment, local);
			transition_in(actionbutton1.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(actionbutton0.$$.fragment, local);
			transition_out(actionbutton1.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div7);
			destroy_component(actionbutton0);
			destroy_component(actionbutton1);
		}
	};
}

function detector_radar_index_svelte_instance($$self, $$props, $$invalidate) {
	let blinkingTime = 0;
	let level = RadarLevel.First;

	const setBlinkingTime = blinkingTimes => {
		$$invalidate(0, blinkingTime = blinkingTimes);
	};

	const setRadarLevel = _level => {
		$$invalidate(1, level = _level);
	};

	const digUpItem = () => {
		
	}; // exec event

	const removeMetalDetector = () => {
		
	}; // exec event

	const unregisterSetBlinkingTimeEvent = registerEvent('event.detector-radar.setBlinkingTime', setBlinkingTime);
	const unregisterDigUpItemEvent = registerEvent('event.detector-radar.digUpItem', digUpItem);
	const unregisterSetRadarLevelEvent = registerEvent('event.detector-radar.setRadarLevel', setRadarLevel);

	onDestroy(() => {
		unregisterSetBlinkingTimeEvent();
		unregisterDigUpItemEvent();
		unregisterSetRadarLevelEvent();
	});

	return [blinkingTime, level, digUpItem, removeMetalDetector];
}

class Detector_radar extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, detector_radar_index_svelte_instance, detector_radar_index_svelte_create_fragment, safe_not_equal, {}, detector_radar_index_svelte_add_css);
	}
}

/* harmony default export */ const detector_radar_index_svelte = (Detector_radar);
;// CONCATENATED MODULE: ./src/views/job-contracts/img/huntlogo.svg
const huntlogo_namespaceObject = __webpack_require__.p + "assets/18c47cfec77ff8bf0f70.svg";
;// CONCATENATED MODULE: ./src/views/job-contracts/img/fishlogo.svg
const fishlogo_namespaceObject = __webpack_require__.p + "assets/c15691f1a00cd2b99c20.svg";
;// CONCATENATED MODULE: ./src/views/job-contracts/img/banditlogo.svg
const banditlogo_namespaceObject = __webpack_require__.p + "assets/7e5644f31bafdec20f45.svg";
;// CONCATENATED MODULE: ./src/views/job-contracts/img/mafialogo.svg
const mafialogo_namespaceObject = __webpack_require__.p + "assets/b32a89bb9c50beaf1c7e.svg";
;// CONCATENATED MODULE: ./src/views/job-contracts/img/doctorlogo.svg
const doctorlogo_namespaceObject = __webpack_require__.p + "assets/fe40e42395e5a36ba04e.svg";
;// CONCATENATED MODULE: ./src/views/job-contracts/img/journalistlogo.svg
const journalistlogo_namespaceObject = __webpack_require__.p + "assets/87d1ec9da8f3a50dbad6.svg";
;// CONCATENATED MODULE: ./src/views/job-contracts/img/agentlogo.svg
const agentlogo_namespaceObject = __webpack_require__.p + "assets/0e93150eb3931b75381a.svg";
;// CONCATENATED MODULE: ./src/views/job-contracts/img/soldierlogo.svg
const soldierlogo_namespaceObject = __webpack_require__.p + "assets/ece4847f7d72a11b9259.svg";
;// CONCATENATED MODULE: ./src/views/job-contracts/img/instructorlogo.svg
const instructorlogo_namespaceObject = __webpack_require__.p + "assets/0d164ece753affdac467.svg";
;// CONCATENATED MODULE: ./src/views/job-contracts/img/workerlogo.svg
const workerlogo_namespaceObject = __webpack_require__.p + "assets/a0be129e79ced742f38a.svg";
;// CONCATENATED MODULE: ./src/views/job-contracts/img/postmanlogo.svg
const postmanlogo_namespaceObject = __webpack_require__.p + "assets/26b279dd7da29f29bb81.svg";
;// CONCATENATED MODULE: ./src/views/job-contracts/constants.js
var _MAP_TYPE_TO_COLOR, _MAP_TYPE_TO_BACKGROU, _MAP_TYPE_TO_LOGO_INF;
function job_contracts_constants_typeof(o) { "@babel/helpers - typeof"; return job_contracts_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, job_contracts_constants_typeof(o); }
function job_contracts_constants_defineProperty(e, r, t) { return (r = job_contracts_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function job_contracts_constants_toPropertyKey(t) { var i = job_contracts_constants_toPrimitive(t, "string"); return "symbol" == job_contracts_constants_typeof(i) ? i : i + ""; }
function job_contracts_constants_toPrimitive(t, r) { if ("object" != job_contracts_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != job_contracts_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }











var JobContractType = {
  Fishing: 'fishing',
  Hunting: 'hunting',
  Bandit: 'bandit',
  Mafia: 'mafia',
  Doctor: 'doctor',
  Journalist: 'journalist',
  Agent: 'agent',
  Soldier: 'soldier',
  Instructor: 'instructor',
  Worker: 'worker',
  Collector: 'collector',
  Postman: 'postman'
};
var constants_MAP_POSITION_TO_COLOR = {
  1: '#F2C94C',
  2: '#FFFFFF',
  3: '#C89D75'
};
var constants_MAP_TYPE_TO_COLOR = (_MAP_TYPE_TO_COLOR = {}, job_contracts_constants_defineProperty(job_contracts_constants_defineProperty(job_contracts_constants_defineProperty(job_contracts_constants_defineProperty(job_contracts_constants_defineProperty(job_contracts_constants_defineProperty(job_contracts_constants_defineProperty(job_contracts_constants_defineProperty(job_contracts_constants_defineProperty(job_contracts_constants_defineProperty(_MAP_TYPE_TO_COLOR, JobContractType.Hunting, '#F2C94C'), JobContractType.Fishing, '#7CD2E4'), JobContractType.Bandit, '#FFFFFF80'), JobContractType.Mafia, '#FFFFFF80'), JobContractType.Doctor, '#FFFFFF80'), JobContractType.Journalist, '#FFFFFF80'), JobContractType.Agent, '#FFFFFF80'), JobContractType.Soldier, '#FFFFFF80'), JobContractType.Instructor, '#FFFFFF80'), JobContractType.Worker, '#FFFFFF80'), job_contracts_constants_defineProperty(job_contracts_constants_defineProperty(_MAP_TYPE_TO_COLOR, JobContractType.Collector, '#FFFFFF'), JobContractType.Postman, '#FFFFFF'));
var MAP_TYPE_TO_BACKGROUND_BUTTON = (_MAP_TYPE_TO_BACKGROU = {}, job_contracts_constants_defineProperty(job_contracts_constants_defineProperty(job_contracts_constants_defineProperty(job_contracts_constants_defineProperty(job_contracts_constants_defineProperty(job_contracts_constants_defineProperty(job_contracts_constants_defineProperty(job_contracts_constants_defineProperty(job_contracts_constants_defineProperty(job_contracts_constants_defineProperty(_MAP_TYPE_TO_BACKGROU, JobContractType.Hunting, '#F2C94C'), JobContractType.Fishing, '#F2C94C'), JobContractType.Bandit, '#FFFFFF'), JobContractType.Mafia, '#FFFFFF'), JobContractType.Doctor, '#FFFFFF'), JobContractType.Journalist, '#FFFFFF'), JobContractType.Agent, '#FFFFFF'), JobContractType.Soldier, '#FFFFFF'), JobContractType.Instructor, '#FFFFFF'), JobContractType.Worker, '#FFFFFF'), job_contracts_constants_defineProperty(_MAP_TYPE_TO_BACKGROU, JobContractType.Collector, '#F2C94C'));
var MAP_TYPE_TO_LOGO_INFORMATION = (_MAP_TYPE_TO_LOGO_INF = {}, job_contracts_constants_defineProperty(job_contracts_constants_defineProperty(job_contracts_constants_defineProperty(job_contracts_constants_defineProperty(job_contracts_constants_defineProperty(job_contracts_constants_defineProperty(job_contracts_constants_defineProperty(job_contracts_constants_defineProperty(job_contracts_constants_defineProperty(job_contracts_constants_defineProperty(_MAP_TYPE_TO_LOGO_INF, JobContractType.Hunting, {
  icon: huntlogo_namespaceObject,
  title: 'Охотничая лавка'
}), JobContractType.Fishing, {
  icon: fishlogo_namespaceObject,
  title: 'Рыболовная лавка'
}), JobContractType.Bandit, {
  icon: banditlogo_namespaceObject,
  title: 'Бандитское убежище'
}), JobContractType.Mafia, {
  icon: mafialogo_namespaceObject,
  title: 'Дом мафии'
}), JobContractType.Doctor, {
  icon: doctorlogo_namespaceObject,
  title: 'Госпиталь'
}), JobContractType.Journalist, {
  icon: journalistlogo_namespaceObject,
  title: 'Новостное агенство'
}), JobContractType.Agent, {
  icon: agentlogo_namespaceObject,
  title: 'ФСБ'
}), JobContractType.Soldier, {
  icon: soldierlogo_namespaceObject,
  title: 'Военное министерство'
}), JobContractType.Instructor, {
  icon: instructorlogo_namespaceObject,
  title: 'Автошкола'
}), JobContractType.Worker, {
  icon: workerlogo_namespaceObject,
  title: 'Рабочие задания'
}), job_contracts_constants_defineProperty(job_contracts_constants_defineProperty(_MAP_TYPE_TO_LOGO_INF, JobContractType.Collector, {
  title: 'Инкассаторское бюро'
}), JobContractType.Postman, {
  icon: postmanlogo_namespaceObject
}));
var MAP_TYPE_TO_BACKGROUND = job_contracts_constants_defineProperty(job_contracts_constants_defineProperty(job_contracts_constants_defineProperty({}, JobContractType.Fishing, '#363D47BF'), JobContractType.Hunting, '#363D47BF'), JobContractType.Postman, '#202731F2');
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/base-layout/img/HuntingContracts.png
const HuntingContracts_namespaceObject = __webpack_require__.p + "assets/7c5920ac8a9d441329b3.webp";
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/base-layout/components/hunting-contracts/index.svelte
/* src\views\job-contracts\menu\base-layout\components\hunting-contracts\index.svelte generated by Svelte v3.49.0 */




function hunting_contracts_index_svelte_add_css(target) {
	append_styles(target, "svelte-25m5ad", "@keyframes svelte-25m5ad-blinking{50%{opacity:0}}@keyframes svelte-25m5ad-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-25m5ad-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-25m5ad-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-25m5ad-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-25m5ad-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-25m5ad-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-25m5ad-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-25m5ad-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-25m5ad-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-25m5ad-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-25m5ad-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-25m5ad-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-25m5ad-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-25m5ad-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.job-contracts-decorative-hunting-contracts.svelte-25m5ad{position:absolute;right:0;top:calc(0.0890625 * 100vw + 0px);height:calc(0.4322916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-decorative-hunting-contracts.svelte-25m5ad{top:calc(0.0890625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-decorative-hunting-contracts.svelte-25m5ad{top:calc(0.0890625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-decorative-hunting-contracts.svelte-25m5ad{top:calc(0.068578125 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-decorative-hunting-contracts.svelte-25m5ad{top:calc(0.09796875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-decorative-hunting-contracts.svelte-25m5ad{top:calc(0.06234375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-decorative-hunting-contracts.svelte-25m5ad{top:calc(0.08015625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-decorative-hunting-contracts.svelte-25m5ad{top:calc(0.09796875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-decorative-hunting-contracts.svelte-25m5ad{height:calc(0.4322916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-decorative-hunting-contracts.svelte-25m5ad{height:calc(0.4322916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-decorative-hunting-contracts.svelte-25m5ad{height:calc(0.3328645833 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-decorative-hunting-contracts.svelte-25m5ad{height:calc(0.4755208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-decorative-hunting-contracts.svelte-25m5ad{height:calc(0.3026041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-decorative-hunting-contracts.svelte-25m5ad{height:calc(0.3890625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-decorative-hunting-contracts.svelte-25m5ad{height:calc(0.4755208333 * 100vw + 0px)}}");
}

function hunting_contracts_index_svelte_create_fragment(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "job-contracts-decorative-hunting-contracts svelte-25m5ad");
			if (!src_url_equal(img.src, img_src_value = HuntingContracts_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "HuntingContracts");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

class Hunting_contracts extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, hunting_contracts_index_svelte_create_fragment, safe_not_equal, {}, hunting_contracts_index_svelte_add_css);
	}
}

/* harmony default export */ const hunting_contracts_index_svelte = (Hunting_contracts);
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/base-layout/img/FishingContracts.png
const FishingContracts_namespaceObject = __webpack_require__.p + "assets/4057197025ac7a61c7f9.webp";
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/base-layout/components/fishing-contracts/index.svelte
/* src\views\job-contracts\menu\base-layout\components\fishing-contracts\index.svelte generated by Svelte v3.49.0 */




function fishing_contracts_index_svelte_add_css(target) {
	append_styles(target, "svelte-1u79qg0", "@keyframes svelte-1u79qg0-blinking{50%{opacity:0}}@keyframes svelte-1u79qg0-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1u79qg0-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1u79qg0-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1u79qg0-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1u79qg0-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1u79qg0-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1u79qg0-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1u79qg0-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1u79qg0-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1u79qg0-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1u79qg0-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1u79qg0-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1u79qg0-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1u79qg0-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.job-contracts-decorative-fishing-contracts.svelte-1u79qg0{position:absolute;right:0;top:calc(0.0890625 * 100vw + 0px);height:calc(0.4322916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-decorative-fishing-contracts.svelte-1u79qg0{top:calc(0.0890625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-decorative-fishing-contracts.svelte-1u79qg0{top:calc(0.0890625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-decorative-fishing-contracts.svelte-1u79qg0{top:calc(0.068578125 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-decorative-fishing-contracts.svelte-1u79qg0{top:calc(0.09796875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-decorative-fishing-contracts.svelte-1u79qg0{top:calc(0.06234375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-decorative-fishing-contracts.svelte-1u79qg0{top:calc(0.08015625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-decorative-fishing-contracts.svelte-1u79qg0{top:calc(0.09796875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-decorative-fishing-contracts.svelte-1u79qg0{height:calc(0.4322916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-decorative-fishing-contracts.svelte-1u79qg0{height:calc(0.4322916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-decorative-fishing-contracts.svelte-1u79qg0{height:calc(0.3328645833 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-decorative-fishing-contracts.svelte-1u79qg0{height:calc(0.4755208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-decorative-fishing-contracts.svelte-1u79qg0{height:calc(0.3026041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-decorative-fishing-contracts.svelte-1u79qg0{height:calc(0.3890625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-decorative-fishing-contracts.svelte-1u79qg0{height:calc(0.4755208333 * 100vw + 0px)}}");
}

function fishing_contracts_index_svelte_create_fragment(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "job-contracts-decorative-fishing-contracts svelte-1u79qg0");
			if (!src_url_equal(img.src, img_src_value = FishingContracts_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "FishingContracts");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

class Fishing_contracts extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, fishing_contracts_index_svelte_create_fragment, safe_not_equal, {}, fishing_contracts_index_svelte_add_css);
	}
}

/* harmony default export */ const fishing_contracts_index_svelte = (Fishing_contracts);
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/base-layout/img/Hunter.png
const Hunter_namespaceObject = __webpack_require__.p + "assets/7ae023ce329a8c27da16.webp";
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/base-layout/components/hunter/index.svelte
/* src\views\job-contracts\menu\base-layout\components\hunter\index.svelte generated by Svelte v3.49.0 */




function hunter_index_svelte_add_css(target) {
	append_styles(target, "svelte-1rjp7ou", "@keyframes svelte-1rjp7ou-blinking{50%{opacity:0}}@keyframes svelte-1rjp7ou-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1rjp7ou-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1rjp7ou-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1rjp7ou-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1rjp7ou-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1rjp7ou-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1rjp7ou-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1rjp7ou-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1rjp7ou-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1rjp7ou-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1rjp7ou-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1rjp7ou-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1rjp7ou-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1rjp7ou-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.job-contracts-decorative-hunter-stats.svelte-1rjp7ou{position:absolute;left:0;bottom:0;width:calc(0.4348958333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-decorative-hunter-stats.svelte-1rjp7ou{width:calc(0.4348958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-decorative-hunter-stats.svelte-1rjp7ou{width:calc(0.4348958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-decorative-hunter-stats.svelte-1rjp7ou{width:calc(0.3348697917 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-decorative-hunter-stats.svelte-1rjp7ou{width:calc(0.4783854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-decorative-hunter-stats.svelte-1rjp7ou{width:calc(0.3044270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-decorative-hunter-stats.svelte-1rjp7ou{width:calc(0.39140625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-decorative-hunter-stats.svelte-1rjp7ou{width:calc(0.4783854167 * 100vw + 0px)}}");
}

function hunter_index_svelte_create_fragment(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "job-contracts-decorative-hunter-stats svelte-1rjp7ou");
			if (!src_url_equal(img.src, img_src_value = Hunter_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "Hunter");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

class Hunter_1 extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, hunter_index_svelte_create_fragment, safe_not_equal, {}, hunter_index_svelte_add_css);
	}
}

/* harmony default export */ const hunter_index_svelte = (Hunter_1);
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/base-layout/img/Fishers.png
const Fishers_namespaceObject = __webpack_require__.p + "assets/115d51ac95985ed3c1e9.webp";
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/base-layout/components/fishers/index.svelte
/* src\views\job-contracts\menu\base-layout\components\fishers\index.svelte generated by Svelte v3.49.0 */




function fishers_index_svelte_add_css(target) {
	append_styles(target, "svelte-cefoo0", "@keyframes svelte-cefoo0-blinking{50%{opacity:0}}@keyframes svelte-cefoo0-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-cefoo0-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-cefoo0-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-cefoo0-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-cefoo0-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-cefoo0-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-cefoo0-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-cefoo0-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-cefoo0-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-cefoo0-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-cefoo0-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-cefoo0-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-cefoo0-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-cefoo0-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.job-contracts-decorative-fishing-stats.svelte-cefoo0{position:absolute;left:0;bottom:0;height:calc(0.4734375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-decorative-fishing-stats.svelte-cefoo0{height:calc(0.4734375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-decorative-fishing-stats.svelte-cefoo0{height:calc(0.4734375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-decorative-fishing-stats.svelte-cefoo0{height:calc(0.364546875 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-decorative-fishing-stats.svelte-cefoo0{height:calc(0.52078125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-decorative-fishing-stats.svelte-cefoo0{height:calc(0.33140625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-decorative-fishing-stats.svelte-cefoo0{height:calc(0.42609375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-decorative-fishing-stats.svelte-cefoo0{height:calc(0.52078125 * 100vw + 0px)}}");
}

function fishers_index_svelte_create_fragment(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "job-contracts-decorative-fishing-stats svelte-cefoo0");
			if (!src_url_equal(img.src, img_src_value = Fishers_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "Fishers");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

class Fishers_1 extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, fishers_index_svelte_create_fragment, safe_not_equal, {}, fishers_index_svelte_add_css);
	}
}

/* harmony default export */ const fishers_index_svelte = (Fishers_1);
;// CONCATENATED MODULE: ./src/views/job-contracts/img/fishlvl.svg
const fishlvl_namespaceObject = __webpack_require__.p + "assets/c234d6be15777d95e359.svg";
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/base-layout/img/rod.svg
const rod_namespaceObject = __webpack_require__.p + "assets/4b04ac711542ca014604.svg";
;// CONCATENATED MODULE: ./src/views/job-contracts/img/paw.svg
const paw_namespaceObject = __webpack_require__.p + "assets/fc5f3e0caf6d5c68537a.svg";
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/base-layout/img/hunticon.svg
const hunticon_namespaceObject = __webpack_require__.p + "assets/20a768123495c236fd88.svg";
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/base-layout/img/Bandit.png
const Bandit_namespaceObject = __webpack_require__.p + "assets/56453e4b864392fe8157.webp";
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/base-layout/components/bandit/index.svelte
/* src\views\job-contracts\menu\base-layout\components\bandit\index.svelte generated by Svelte v3.49.0 */




function bandit_index_svelte_add_css(target) {
	append_styles(target, "svelte-ux7egk", "@keyframes svelte-ux7egk-blinking{50%{opacity:0}}@keyframes svelte-ux7egk-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-ux7egk-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-ux7egk-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-ux7egk-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-ux7egk-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-ux7egk-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-ux7egk-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-ux7egk-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-ux7egk-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-ux7egk-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-ux7egk-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-ux7egk-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-ux7egk-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-ux7egk-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.job-contracts-decorative-bandit-stats.svelte-ux7egk{position:absolute;left:0;bottom:0;height:calc(0.4734375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-decorative-bandit-stats.svelte-ux7egk{height:calc(0.4734375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-decorative-bandit-stats.svelte-ux7egk{height:calc(0.4734375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-decorative-bandit-stats.svelte-ux7egk{height:calc(0.364546875 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-decorative-bandit-stats.svelte-ux7egk{height:calc(0.52078125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-decorative-bandit-stats.svelte-ux7egk{height:calc(0.33140625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-decorative-bandit-stats.svelte-ux7egk{height:calc(0.42609375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-decorative-bandit-stats.svelte-ux7egk{height:calc(0.52078125 * 100vw + 0px)}}");
}

function bandit_index_svelte_create_fragment(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "job-contracts-decorative-bandit-stats svelte-ux7egk");
			if (!src_url_equal(img.src, img_src_value = Bandit_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "Bandit");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

class Bandit_1 extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, bandit_index_svelte_create_fragment, safe_not_equal, {}, bandit_index_svelte_add_css);
	}
}

/* harmony default export */ const bandit_index_svelte = (Bandit_1);
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/base-layout/img/Mafia.png
const Mafia_namespaceObject = __webpack_require__.p + "assets/e927a71b4a5efdc07ed8.webp";
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/base-layout/components/mafia/index.svelte
/* src\views\job-contracts\menu\base-layout\components\mafia\index.svelte generated by Svelte v3.49.0 */




function mafia_index_svelte_add_css(target) {
	append_styles(target, "svelte-121srrs", "@keyframes svelte-121srrs-blinking{50%{opacity:0}}@keyframes svelte-121srrs-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-121srrs-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-121srrs-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-121srrs-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-121srrs-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-121srrs-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-121srrs-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-121srrs-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-121srrs-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-121srrs-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-121srrs-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-121srrs-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-121srrs-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-121srrs-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.job-contracts-decorative-mafia-stats.svelte-121srrs{position:absolute;left:0;bottom:0;height:calc(0.4734375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-decorative-mafia-stats.svelte-121srrs{height:calc(0.4734375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-decorative-mafia-stats.svelte-121srrs{height:calc(0.4734375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-decorative-mafia-stats.svelte-121srrs{height:calc(0.364546875 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-decorative-mafia-stats.svelte-121srrs{height:calc(0.52078125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-decorative-mafia-stats.svelte-121srrs{height:calc(0.33140625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-decorative-mafia-stats.svelte-121srrs{height:calc(0.42609375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-decorative-mafia-stats.svelte-121srrs{height:calc(0.52078125 * 100vw + 0px)}}");
}

function mafia_index_svelte_create_fragment(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "job-contracts-decorative-mafia-stats svelte-121srrs");
			if (!src_url_equal(img.src, img_src_value = Mafia_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "Maafia");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

class Mafia_1 extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, mafia_index_svelte_create_fragment, safe_not_equal, {}, mafia_index_svelte_add_css);
	}
}

/* harmony default export */ const mafia_index_svelte = (Mafia_1);
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/base-layout/img/Doctor.png
const Doctor_namespaceObject = __webpack_require__.p + "assets/1e29044f21e79f10bcd8.webp";
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/base-layout/components/doctor/index.svelte
/* src\views\job-contracts\menu\base-layout\components\doctor\index.svelte generated by Svelte v3.49.0 */




function doctor_index_svelte_add_css(target) {
	append_styles(target, "svelte-l5khe8", "@keyframes svelte-l5khe8-blinking{50%{opacity:0}}@keyframes svelte-l5khe8-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-l5khe8-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-l5khe8-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-l5khe8-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-l5khe8-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-l5khe8-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-l5khe8-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-l5khe8-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-l5khe8-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-l5khe8-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-l5khe8-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-l5khe8-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-l5khe8-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-l5khe8-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.job-contracts-decorative-doctor-stats.svelte-l5khe8{position:absolute;left:0;bottom:0;height:calc(0.4734375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-decorative-doctor-stats.svelte-l5khe8{height:calc(0.4734375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-decorative-doctor-stats.svelte-l5khe8{height:calc(0.4734375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-decorative-doctor-stats.svelte-l5khe8{height:calc(0.364546875 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-decorative-doctor-stats.svelte-l5khe8{height:calc(0.52078125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-decorative-doctor-stats.svelte-l5khe8{height:calc(0.33140625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-decorative-doctor-stats.svelte-l5khe8{height:calc(0.42609375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-decorative-doctor-stats.svelte-l5khe8{height:calc(0.52078125 * 100vw + 0px)}}");
}

function doctor_index_svelte_create_fragment(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "job-contracts-decorative-doctor-stats svelte-l5khe8");
			if (!src_url_equal(img.src, img_src_value = Doctor_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "Doctor");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

class Doctor_1 extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, doctor_index_svelte_create_fragment, safe_not_equal, {}, doctor_index_svelte_add_css);
	}
}

/* harmony default export */ const doctor_index_svelte = (Doctor_1);
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/base-layout/img/Journalist.png
const Journalist_namespaceObject = __webpack_require__.p + "assets/16dffcde098b8307a9a8.webp";
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/base-layout/components/journalist/index.svelte
/* src\views\job-contracts\menu\base-layout\components\journalist\index.svelte generated by Svelte v3.49.0 */




function journalist_index_svelte_add_css(target) {
	append_styles(target, "svelte-o3d7lc", "@keyframes svelte-o3d7lc-blinking{50%{opacity:0}}@keyframes svelte-o3d7lc-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-o3d7lc-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-o3d7lc-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-o3d7lc-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-o3d7lc-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-o3d7lc-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-o3d7lc-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-o3d7lc-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-o3d7lc-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-o3d7lc-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-o3d7lc-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-o3d7lc-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-o3d7lc-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-o3d7lc-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.job-contracts-decorative-journalist-stats.svelte-o3d7lc{position:absolute;left:0;bottom:0;height:calc(0.4734375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-decorative-journalist-stats.svelte-o3d7lc{height:calc(0.4734375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-decorative-journalist-stats.svelte-o3d7lc{height:calc(0.4734375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-decorative-journalist-stats.svelte-o3d7lc{height:calc(0.364546875 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-decorative-journalist-stats.svelte-o3d7lc{height:calc(0.52078125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-decorative-journalist-stats.svelte-o3d7lc{height:calc(0.33140625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-decorative-journalist-stats.svelte-o3d7lc{height:calc(0.42609375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-decorative-journalist-stats.svelte-o3d7lc{height:calc(0.52078125 * 100vw + 0px)}}");
}

function journalist_index_svelte_create_fragment(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "job-contracts-decorative-journalist-stats svelte-o3d7lc");
			if (!src_url_equal(img.src, img_src_value = Journalist_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "Journalist");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

class Journalist_1 extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, journalist_index_svelte_create_fragment, safe_not_equal, {}, journalist_index_svelte_add_css);
	}
}

/* harmony default export */ const journalist_index_svelte = (Journalist_1);
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/base-layout/img/Agent.png
const Agent_namespaceObject = __webpack_require__.p + "assets/fb3eab44cf0a6965b8d8.webp";
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/base-layout/components/agent/index.svelte
/* src\views\job-contracts\menu\base-layout\components\agent\index.svelte generated by Svelte v3.49.0 */




function agent_index_svelte_add_css(target) {
	append_styles(target, "svelte-1olnwv0", "@keyframes svelte-1olnwv0-blinking{50%{opacity:0}}@keyframes svelte-1olnwv0-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1olnwv0-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1olnwv0-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1olnwv0-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1olnwv0-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1olnwv0-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1olnwv0-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1olnwv0-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1olnwv0-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1olnwv0-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1olnwv0-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1olnwv0-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1olnwv0-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1olnwv0-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.job-contracts-decorative-agent-stats.svelte-1olnwv0{position:absolute;left:0;bottom:0;height:calc(0.4734375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-decorative-agent-stats.svelte-1olnwv0{height:calc(0.4734375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-decorative-agent-stats.svelte-1olnwv0{height:calc(0.4734375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-decorative-agent-stats.svelte-1olnwv0{height:calc(0.364546875 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-decorative-agent-stats.svelte-1olnwv0{height:calc(0.52078125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-decorative-agent-stats.svelte-1olnwv0{height:calc(0.33140625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-decorative-agent-stats.svelte-1olnwv0{height:calc(0.42609375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-decorative-agent-stats.svelte-1olnwv0{height:calc(0.52078125 * 100vw + 0px)}}");
}

function agent_index_svelte_create_fragment(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "job-contracts-decorative-agent-stats svelte-1olnwv0");
			if (!src_url_equal(img.src, img_src_value = Agent_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "Agent");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

class Agent_1 extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, agent_index_svelte_create_fragment, safe_not_equal, {}, agent_index_svelte_add_css);
	}
}

/* harmony default export */ const agent_index_svelte = (Agent_1);
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/base-layout/img/Soldier.png
const Soldier_namespaceObject = __webpack_require__.p + "assets/6361f29f3f6f1fadece4.webp";
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/base-layout/components/soldier/index.svelte
/* src\views\job-contracts\menu\base-layout\components\soldier\index.svelte generated by Svelte v3.49.0 */




function soldier_index_svelte_add_css(target) {
	append_styles(target, "svelte-3ph7c", "@keyframes svelte-3ph7c-blinking{50%{opacity:0}}@keyframes svelte-3ph7c-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-3ph7c-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-3ph7c-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-3ph7c-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-3ph7c-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-3ph7c-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-3ph7c-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-3ph7c-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-3ph7c-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-3ph7c-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-3ph7c-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-3ph7c-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-3ph7c-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-3ph7c-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.job-contracts-decorative-soldier-stats.svelte-3ph7c{position:absolute;left:0;bottom:0;height:calc(0.4734375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-decorative-soldier-stats.svelte-3ph7c{height:calc(0.4734375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-decorative-soldier-stats.svelte-3ph7c{height:calc(0.4734375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-decorative-soldier-stats.svelte-3ph7c{height:calc(0.364546875 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-decorative-soldier-stats.svelte-3ph7c{height:calc(0.52078125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-decorative-soldier-stats.svelte-3ph7c{height:calc(0.33140625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-decorative-soldier-stats.svelte-3ph7c{height:calc(0.42609375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-decorative-soldier-stats.svelte-3ph7c{height:calc(0.52078125 * 100vw + 0px)}}");
}

function soldier_index_svelte_create_fragment(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "job-contracts-decorative-soldier-stats svelte-3ph7c");
			if (!src_url_equal(img.src, img_src_value = Soldier_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "Soldier");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

class Soldier_1 extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, soldier_index_svelte_create_fragment, safe_not_equal, {}, soldier_index_svelte_add_css);
	}
}

/* harmony default export */ const soldier_index_svelte = (Soldier_1);
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/base-layout/img/Instructor.png
const Instructor_namespaceObject = __webpack_require__.p + "assets/16758837f2a5469a8d21.webp";
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/base-layout/components/instructor/index.svelte
/* src\views\job-contracts\menu\base-layout\components\instructor\index.svelte generated by Svelte v3.49.0 */




function instructor_index_svelte_add_css(target) {
	append_styles(target, "svelte-ya8mag", "@keyframes svelte-ya8mag-blinking{50%{opacity:0}}@keyframes svelte-ya8mag-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-ya8mag-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-ya8mag-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-ya8mag-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-ya8mag-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-ya8mag-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-ya8mag-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-ya8mag-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-ya8mag-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-ya8mag-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-ya8mag-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-ya8mag-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-ya8mag-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-ya8mag-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.job-contracts-decorative-instructor-stats.svelte-ya8mag{position:absolute;left:0;bottom:0;height:calc(0.4734375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-decorative-instructor-stats.svelte-ya8mag{height:calc(0.4734375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-decorative-instructor-stats.svelte-ya8mag{height:calc(0.4734375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-decorative-instructor-stats.svelte-ya8mag{height:calc(0.364546875 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-decorative-instructor-stats.svelte-ya8mag{height:calc(0.52078125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-decorative-instructor-stats.svelte-ya8mag{height:calc(0.33140625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-decorative-instructor-stats.svelte-ya8mag{height:calc(0.42609375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-decorative-instructor-stats.svelte-ya8mag{height:calc(0.52078125 * 100vw + 0px)}}");
}

function instructor_index_svelte_create_fragment(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "job-contracts-decorative-instructor-stats svelte-ya8mag");
			if (!src_url_equal(img.src, img_src_value = Instructor_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "Instructor");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

class Instructor_1 extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, instructor_index_svelte_create_fragment, safe_not_equal, {}, instructor_index_svelte_add_css);
	}
}

/* harmony default export */ const instructor_index_svelte = (Instructor_1);
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/base-layout/img/Worker.png
const Worker_namespaceObject = __webpack_require__.p + "assets/193fcd49a7270d4527ca.webp";
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/base-layout/components/worker/index.svelte
/* src\views\job-contracts\menu\base-layout\components\worker\index.svelte generated by Svelte v3.49.0 */




function worker_index_svelte_add_css(target) {
	append_styles(target, "svelte-1bdcgfs", "@keyframes svelte-1bdcgfs-blinking{50%{opacity:0}}@keyframes svelte-1bdcgfs-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1bdcgfs-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1bdcgfs-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1bdcgfs-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1bdcgfs-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1bdcgfs-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1bdcgfs-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1bdcgfs-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1bdcgfs-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1bdcgfs-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1bdcgfs-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1bdcgfs-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1bdcgfs-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1bdcgfs-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.job-contracts-decorative-worker-stats.svelte-1bdcgfs{position:absolute;left:0;bottom:0;height:calc(0.4734375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-decorative-worker-stats.svelte-1bdcgfs{height:calc(0.4734375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-decorative-worker-stats.svelte-1bdcgfs{height:calc(0.4734375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-decorative-worker-stats.svelte-1bdcgfs{height:calc(0.364546875 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-decorative-worker-stats.svelte-1bdcgfs{height:calc(0.52078125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-decorative-worker-stats.svelte-1bdcgfs{height:calc(0.33140625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-decorative-worker-stats.svelte-1bdcgfs{height:calc(0.42609375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-decorative-worker-stats.svelte-1bdcgfs{height:calc(0.52078125 * 100vw + 0px)}}");
}

function worker_index_svelte_create_fragment(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "job-contracts-decorative-worker-stats svelte-1bdcgfs");
			if (!src_url_equal(img.src, img_src_value = Worker_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "Worker");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

class Worker_1 extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, worker_index_svelte_create_fragment, safe_not_equal, {}, worker_index_svelte_add_css);
	}
}

/* harmony default export */ const worker_index_svelte = (Worker_1);
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/base-layout/img/Contracts.png
const Contracts_namespaceObject = __webpack_require__.p + "assets/aa6be8bab135323981f8.webp";
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/base-layout/components/contracts/index.svelte
/* src\views\job-contracts\menu\base-layout\components\contracts\index.svelte generated by Svelte v3.49.0 */




function contracts_index_svelte_add_css(target) {
	append_styles(target, "svelte-1jlr9vb", "@keyframes svelte-1jlr9vb-blinking{50%{opacity:0}}@keyframes svelte-1jlr9vb-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1jlr9vb-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1jlr9vb-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1jlr9vb-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1jlr9vb-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1jlr9vb-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1jlr9vb-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1jlr9vb-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1jlr9vb-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1jlr9vb-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1jlr9vb-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1jlr9vb-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1jlr9vb-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1jlr9vb-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.job-contracts-decorative-contracts.svelte-1jlr9vb{position:absolute;right:0;top:calc(0.0890625 * 100vw + 0px);height:calc(0.4322916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-decorative-contracts.svelte-1jlr9vb{top:calc(0.0890625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-decorative-contracts.svelte-1jlr9vb{top:calc(0.0890625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-decorative-contracts.svelte-1jlr9vb{top:calc(0.068578125 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-decorative-contracts.svelte-1jlr9vb{top:calc(0.09796875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-decorative-contracts.svelte-1jlr9vb{top:calc(0.06234375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-decorative-contracts.svelte-1jlr9vb{top:calc(0.08015625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-decorative-contracts.svelte-1jlr9vb{top:calc(0.09796875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-decorative-contracts.svelte-1jlr9vb{height:calc(0.4322916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-decorative-contracts.svelte-1jlr9vb{height:calc(0.4322916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-decorative-contracts.svelte-1jlr9vb{height:calc(0.3328645833 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-decorative-contracts.svelte-1jlr9vb{height:calc(0.4755208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-decorative-contracts.svelte-1jlr9vb{height:calc(0.3026041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-decorative-contracts.svelte-1jlr9vb{height:calc(0.3890625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-decorative-contracts.svelte-1jlr9vb{height:calc(0.4755208333 * 100vw + 0px)}}");
}

function contracts_index_svelte_create_fragment(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "job-contracts-decorative-contracts svelte-1jlr9vb");
			if (!src_url_equal(img.src, img_src_value = Contracts_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "Contracts");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

class Contracts_1 extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, contracts_index_svelte_create_fragment, safe_not_equal, {}, contracts_index_svelte_add_css);
	}
}

/* harmony default export */ const contracts_index_svelte = (Contracts_1);
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/base-layout/img/Collector.png
const Collector_namespaceObject = __webpack_require__.p + "assets/52263f851fc2cb833a93.webp";
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/base-layout/components/collector/index.svelte
/* src\views\job-contracts\menu\base-layout\components\collector\index.svelte generated by Svelte v3.49.0 */




function collector_index_svelte_add_css(target) {
	append_styles(target, "svelte-d1fjnc", "@keyframes svelte-d1fjnc-blinking{50%{opacity:0}}@keyframes svelte-d1fjnc-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-d1fjnc-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-d1fjnc-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-d1fjnc-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-d1fjnc-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-d1fjnc-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-d1fjnc-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-d1fjnc-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-d1fjnc-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-d1fjnc-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-d1fjnc-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-d1fjnc-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-d1fjnc-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-d1fjnc-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.job-contracts-decorative-collector-stats.svelte-d1fjnc{position:absolute;left:0;bottom:0;height:calc(0.4734375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-decorative-collector-stats.svelte-d1fjnc{height:calc(0.4734375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-decorative-collector-stats.svelte-d1fjnc{height:calc(0.4734375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-decorative-collector-stats.svelte-d1fjnc{height:calc(0.364546875 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-decorative-collector-stats.svelte-d1fjnc{height:calc(0.52078125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-decorative-collector-stats.svelte-d1fjnc{height:calc(0.33140625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-decorative-collector-stats.svelte-d1fjnc{height:calc(0.42609375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-decorative-collector-stats.svelte-d1fjnc{height:calc(0.52078125 * 100vw + 0px)}}");
}

function collector_index_svelte_create_fragment(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "job-contracts-decorative-collector-stats svelte-d1fjnc");
			if (!src_url_equal(img.src, img_src_value = Collector_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "Collector");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

class Collector_1 extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, collector_index_svelte_create_fragment, safe_not_equal, {}, collector_index_svelte_add_css);
	}
}

/* harmony default export */ const collector_index_svelte = (Collector_1);
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/base-layout/constants.js
var _STATS_LEVEL_ICON, _MAP_TITLE_TO_MENU, _MAP_TYPE_TO_RATING_B, _MAP_TYPE_TO_IMAGE, _MAP_TYPE_TO_QUEST_TI;
function base_layout_constants_typeof(o) { "@babel/helpers - typeof"; return base_layout_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, base_layout_constants_typeof(o); }
function base_layout_constants_defineProperty(e, r, t) { return (r = base_layout_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function base_layout_constants_toPropertyKey(t) { var i = base_layout_constants_toPrimitive(t, "string"); return "symbol" == base_layout_constants_typeof(i) ? i : i + ""; }
function base_layout_constants_toPrimitive(t, r) { if ("object" != base_layout_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != base_layout_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }



















var STATS_LEVEL_ICON = (_STATS_LEVEL_ICON = {}, base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(_STATS_LEVEL_ICON, JobContractType.Hunting, {
  icon: paw_namespaceObject,
  title: 'Уровень охотноводства',
  nameLogo: hunticon_namespaceObject
}), JobContractType.Fishing, {
  icon: fishlvl_namespaceObject,
  title: 'Уровень рыболовства',
  nameLogo: rod_namespaceObject
}), JobContractType.Bandit, {
  title: 'Уровень бандита'
}), JobContractType.Mafia, {
  title: 'Уровень бандита'
}), JobContractType.Doctor, {
  title: 'Уровень бандита'
}), JobContractType.Journalist, {
  title: 'Уровень бандита'
}), JobContractType.Agent, {
  title: 'Уровень бандита'
}), JobContractType.Soldier, {
  title: 'Уровень бандита'
}), JobContractType.Instructor, {
  title: 'Уровень бандита'
}), JobContractType.Worker, {
  title: 'Уровень бандита'
}), base_layout_constants_defineProperty(_STATS_LEVEL_ICON, JobContractType.Collector, {
  title: 'Уровень инкассатора'
}));
var MAP_TITLE_TO_MENU = (_MAP_TITLE_TO_MENU = {}, base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(_MAP_TITLE_TO_MENU, JobContractType.Hunting, 'Меню охотника'), JobContractType.Fishing, 'Меню рыболова'), JobContractType.Bandit, 'Меню бандита'), JobContractType.Mafia, 'Меню мафиози'), JobContractType.Doctor, 'Меню врача'), JobContractType.Journalist, 'Меню журналиста'), JobContractType.Agent, 'Меню агента'), JobContractType.Soldier, 'Меню солдата'), JobContractType.Instructor, 'Меню сотрудника'), JobContractType.Worker, 'Меню рабочего'), base_layout_constants_defineProperty(_MAP_TITLE_TO_MENU, JobContractType.Collector, 'Меню инкассатора'));
var MAP_TYPE_TO_RATING_BUTTON_TITLE = (_MAP_TYPE_TO_RATING_B = {}, base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(_MAP_TYPE_TO_RATING_B, JobContractType.Hunting, {
  title: 'Рейтинг охотников'
}), JobContractType.Fishing, {
  title: 'Рейтинг рыболовов'
}), JobContractType.Bandit, {
  title: 'Рейтинг'
}), JobContractType.Mafia, {
  title: 'Рейтинг'
}), JobContractType.Doctor, {
  title: 'Рейтинг'
}), JobContractType.Journalist, {
  title: 'Рейтинг'
}), JobContractType.Agent, {
  title: 'Рейтинг'
}), JobContractType.Soldier, {
  title: 'Рейтинг'
}), JobContractType.Instructor, {
  title: 'Рейтинг'
}), JobContractType.Worker, {
  title: 'Рейтинг'
}), base_layout_constants_defineProperty(_MAP_TYPE_TO_RATING_B, JobContractType.Collector, {
  title: 'Повысить уровень до макс.',
  subTitle: 'за 2000 az-coin'
}));
var constants_MAP_TYPE_TO_IMAGE = (_MAP_TYPE_TO_IMAGE = {}, base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(_MAP_TYPE_TO_IMAGE, JobContractType.Hunting, {
  statsIcon: hunter_index_svelte,
  contractsIcon: hunting_contracts_index_svelte
}), JobContractType.Fishing, {
  statsIcon: fishers_index_svelte,
  contractsIcon: fishing_contracts_index_svelte
}), JobContractType.Bandit, {
  statsIcon: bandit_index_svelte,
  contractsIcon: contracts_index_svelte
}), JobContractType.Mafia, {
  statsIcon: mafia_index_svelte,
  contractsIcon: contracts_index_svelte
}), JobContractType.Doctor, {
  statsIcon: doctor_index_svelte,
  contractsIcon: contracts_index_svelte
}), JobContractType.Journalist, {
  statsIcon: journalist_index_svelte,
  contractsIcon: contracts_index_svelte
}), JobContractType.Agent, {
  statsIcon: agent_index_svelte,
  contractsIcon: contracts_index_svelte
}), JobContractType.Soldier, {
  statsIcon: soldier_index_svelte,
  contractsIcon: contracts_index_svelte
}), JobContractType.Instructor, {
  statsIcon: instructor_index_svelte,
  contractsIcon: contracts_index_svelte
}), JobContractType.Worker, {
  statsIcon: worker_index_svelte,
  contractsIcon: contracts_index_svelte
}), base_layout_constants_defineProperty(_MAP_TYPE_TO_IMAGE, JobContractType.Collector, {
  statsIcon: collector_index_svelte,
  contractsIcon: contracts_index_svelte
}));
var MAP_TYPE_TO_QUEST_TITLE = (_MAP_TYPE_TO_QUEST_TI = {}, base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(base_layout_constants_defineProperty(_MAP_TYPE_TO_QUEST_TI, JobContractType.Hunting, 'Взять<br /><span>контракт</span>'), JobContractType.Fishing, 'Взять<br /><span>контракт</span>'), JobContractType.Bandit, 'Взять<br /><span>задание</span>'), JobContractType.Mafia, 'Взять<br /><span>задание</span>'), JobContractType.Doctor, 'Взять<br /><span>задание</span>'), JobContractType.Journalist, 'Взять<br /><span>задание</span>'), JobContractType.Agent, 'Взять<br /><span>задание</span>'), JobContractType.Soldier, 'Взять<br /><span>задание</span>'), JobContractType.Instructor, 'Взять<br /><span>задание</span>'), JobContractType.Worker, 'Взять<br /><span>задание</span>'), base_layout_constants_defineProperty(_MAP_TYPE_TO_QUEST_TI, JobContractType.Collector, 'Начать<br /><span>работу</span>'));
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/base-layout/index.svelte
/* src\views\job-contracts\menu\base-layout\index.svelte generated by Svelte v3.49.0 */















function base_layout_index_svelte_add_css(target) {
	append_styles(target, "svelte-1nj9kqt", "@keyframes svelte-1nj9kqt-blinking{50%{opacity:0}}@keyframes svelte-1nj9kqt-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1nj9kqt-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1nj9kqt-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1nj9kqt-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1nj9kqt-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1nj9kqt-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1nj9kqt-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1nj9kqt-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1nj9kqt-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1nj9kqt-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1nj9kqt-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1nj9kqt-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1nj9kqt-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1nj9kqt-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.job-contracts-menu.svelte-1nj9kqt{display:flex;align-items:center;flex-direction:column;width:100vw;height:100vh;background:rgba(54, 61, 71, 0.75)}.job-contracts-menu__title.svelte-1nj9kqt{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.01875 * 100vw + 0px);margin-top:calc(0.0447916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__title.svelte-1nj9kqt{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__title.svelte-1nj9kqt{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__title.svelte-1nj9kqt{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__title.svelte-1nj9kqt{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__title.svelte-1nj9kqt{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__title.svelte-1nj9kqt{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__title.svelte-1nj9kqt{font-size:calc(0.020625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__title.svelte-1nj9kqt{margin-top:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__title.svelte-1nj9kqt{margin-top:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__title.svelte-1nj9kqt{margin-top:calc(0.0344895833 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__title.svelte-1nj9kqt{margin-top:calc(0.0492708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__title.svelte-1nj9kqt{margin-top:calc(0.0313541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__title.svelte-1nj9kqt{margin-top:calc(0.0403125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__title.svelte-1nj9kqt{margin-top:calc(0.0492708333 * 100vw + 0px)}}.job-contracts-menu__logo.svelte-1nj9kqt{position:absolute;display:flex;align-items:center;top:calc(0.0416666667 * 100vw + 0px);left:calc(0.03125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__logo.svelte-1nj9kqt{top:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__logo.svelte-1nj9kqt{top:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__logo.svelte-1nj9kqt{top:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__logo.svelte-1nj9kqt{top:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__logo.svelte-1nj9kqt{top:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__logo.svelte-1nj9kqt{top:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__logo.svelte-1nj9kqt{top:calc(0.0458333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__logo.svelte-1nj9kqt{left:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__logo.svelte-1nj9kqt{left:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__logo.svelte-1nj9kqt{left:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__logo.svelte-1nj9kqt{left:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__logo.svelte-1nj9kqt{left:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__logo.svelte-1nj9kqt{left:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__logo.svelte-1nj9kqt{left:calc(0.034375 * 100vw + 0px)}}.job-contracts-menu__logo-icon.svelte-1nj9kqt{height:calc(0.0390625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__logo-icon.svelte-1nj9kqt{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__logo-icon.svelte-1nj9kqt{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__logo-icon.svelte-1nj9kqt{height:calc(0.030078125 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__logo-icon.svelte-1nj9kqt{height:calc(0.04296875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__logo-icon.svelte-1nj9kqt{height:calc(0.02734375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__logo-icon.svelte-1nj9kqt{height:calc(0.03515625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__logo-icon.svelte-1nj9kqt{height:calc(0.04296875 * 100vw + 0px)}}.job-contracts-menu__logo-title.svelte-1nj9kqt{color:#FFFFFF;font-family:\"GothamPro-Bold\";padding-left:calc(0.0130208333 * 100vw + 0px);width:calc(0.1041666667 * 100vw + 0px);line-height:calc(0.0098958333 * 100vw + 0px);font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__logo-title.svelte-1nj9kqt{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__logo-title.svelte-1nj9kqt{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__logo-title.svelte-1nj9kqt{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__logo-title.svelte-1nj9kqt{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__logo-title.svelte-1nj9kqt{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__logo-title.svelte-1nj9kqt{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__logo-title.svelte-1nj9kqt{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__logo-title.svelte-1nj9kqt{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__logo-title.svelte-1nj9kqt{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__logo-title.svelte-1nj9kqt{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__logo-title.svelte-1nj9kqt{width:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__logo-title.svelte-1nj9kqt{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__logo-title.svelte-1nj9kqt{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__logo-title.svelte-1nj9kqt{width:calc(0.1145833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__logo-title.svelte-1nj9kqt{line-height:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__logo-title.svelte-1nj9kqt{line-height:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__logo-title.svelte-1nj9kqt{line-height:calc(0.0076197917 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__logo-title.svelte-1nj9kqt{line-height:calc(0.0108854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__logo-title.svelte-1nj9kqt{line-height:calc(0.0069270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__logo-title.svelte-1nj9kqt{line-height:calc(0.00890625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__logo-title.svelte-1nj9kqt{line-height:calc(0.0108854167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__logo-title.svelte-1nj9kqt{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__logo-title.svelte-1nj9kqt{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__logo-title.svelte-1nj9kqt{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__logo-title.svelte-1nj9kqt{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__logo-title.svelte-1nj9kqt{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__logo-title.svelte-1nj9kqt{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__logo-title.svelte-1nj9kqt{font-size:calc(0.0114583333 * 100vw + 0px)}}.job-contracts-menu__take-contract.svelte-1nj9kqt{position:absolute;display:flex;flex-direction:column;right:calc(0.0885416667 * 100vw + 0px);top:calc(0.2723958333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__take-contract.svelte-1nj9kqt{right:calc(0.0885416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__take-contract.svelte-1nj9kqt{right:calc(0.0885416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__take-contract.svelte-1nj9kqt{right:calc(0.0681770833 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__take-contract.svelte-1nj9kqt{right:calc(0.0973958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__take-contract.svelte-1nj9kqt{right:calc(0.0619791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__take-contract.svelte-1nj9kqt{right:calc(0.0796875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__take-contract.svelte-1nj9kqt{right:calc(0.0973958333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__take-contract.svelte-1nj9kqt{top:calc(0.2723958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__take-contract.svelte-1nj9kqt{top:calc(0.2723958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__take-contract.svelte-1nj9kqt{top:calc(0.2097447917 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__take-contract.svelte-1nj9kqt{top:calc(0.2996354167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__take-contract.svelte-1nj9kqt{top:calc(0.1906770833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__take-contract.svelte-1nj9kqt{top:calc(0.24515625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__take-contract.svelte-1nj9kqt{top:calc(0.2996354167 * 100vw + 0px)}}.job-contracts-menu__take-contract-title.svelte-1nj9kqt{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0333333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__take-contract-title.svelte-1nj9kqt{font-size:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__take-contract-title.svelte-1nj9kqt{font-size:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__take-contract-title.svelte-1nj9kqt{font-size:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__take-contract-title.svelte-1nj9kqt{font-size:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__take-contract-title.svelte-1nj9kqt{font-size:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__take-contract-title.svelte-1nj9kqt{font-size:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__take-contract-title.svelte-1nj9kqt{font-size:calc(0.0366666667 * 100vw + 0px)}}.job-contracts-menu__take-contract-title.svelte-1nj9kqt span{font-family:\"GothamPro-Bold\"}.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{display:flex;justify-content:center;align-items:center;cursor:pointer;font-size:calc(0.009375 * 100vw + 0px);width:calc(0.0520833333 * 100vw + 0px);height:calc(0.0234375 * 100vw + 0px);margin-top:calc(0.0083333333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{width:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{width:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{height:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{height:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{height:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{height:calc(0.02578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{margin-top:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{margin-top:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{margin-top:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{margin-top:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{margin-top:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{margin-top:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{margin-top:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__take-contract-btn.svelte-1nj9kqt{border-radius:calc(0.0057291667 * 100vw + 0px)}}.job-contracts-menu__player-name.svelte-1nj9kqt{display:flex;align-items:center;color:#FFFFFF;font-family:\"GothamPro-Medium\";font-size:calc(0.0104166667 * 100vw + 0px);margin-top:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__player-name.svelte-1nj9kqt{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__player-name.svelte-1nj9kqt{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__player-name.svelte-1nj9kqt{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__player-name.svelte-1nj9kqt{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__player-name.svelte-1nj9kqt{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__player-name.svelte-1nj9kqt{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__player-name.svelte-1nj9kqt{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__player-name.svelte-1nj9kqt{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__player-name.svelte-1nj9kqt{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__player-name.svelte-1nj9kqt{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__player-name.svelte-1nj9kqt{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__player-name.svelte-1nj9kqt{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__player-name.svelte-1nj9kqt{margin-top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__player-name.svelte-1nj9kqt{margin-top:calc(0.0286458333 * 100vw + 0px)}}.job-contracts-menu__player-stats.svelte-1nj9kqt{z-index:1;margin-top:calc(0.0625 * 100vw + 0px);margin-left:calc(0.0364583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__player-stats.svelte-1nj9kqt{margin-top:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__player-stats.svelte-1nj9kqt{margin-top:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__player-stats.svelte-1nj9kqt{margin-top:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__player-stats.svelte-1nj9kqt{margin-top:calc(0.06875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__player-stats.svelte-1nj9kqt{margin-top:calc(0.04375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__player-stats.svelte-1nj9kqt{margin-top:calc(0.05625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__player-stats.svelte-1nj9kqt{margin-top:calc(0.06875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__player-stats.svelte-1nj9kqt{margin-left:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__player-stats.svelte-1nj9kqt{margin-left:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__player-stats.svelte-1nj9kqt{margin-left:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__player-stats.svelte-1nj9kqt{margin-left:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__player-stats.svelte-1nj9kqt{margin-left:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__player-stats.svelte-1nj9kqt{margin-left:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__player-stats.svelte-1nj9kqt{margin-left:calc(0.0401041667 * 100vw + 0px)}}.job-contracts-menu__player-icon.svelte-1nj9kqt{width:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__player-icon.svelte-1nj9kqt{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__player-icon.svelte-1nj9kqt{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__player-icon.svelte-1nj9kqt{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__player-icon.svelte-1nj9kqt{width:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__player-icon.svelte-1nj9kqt{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__player-icon.svelte-1nj9kqt{width:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__player-icon.svelte-1nj9kqt{width:calc(0.0286458333 * 100vw + 0px)}}.job-contracts-menu__player-icon-wrapper.svelte-1nj9kqt{width:calc(0.0338541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__player-icon-wrapper.svelte-1nj9kqt{width:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__player-icon-wrapper.svelte-1nj9kqt{width:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__player-icon-wrapper.svelte-1nj9kqt{width:calc(0.0260677083 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__player-icon-wrapper.svelte-1nj9kqt{width:calc(0.0372395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__player-icon-wrapper.svelte-1nj9kqt{width:calc(0.0236979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__player-icon-wrapper.svelte-1nj9kqt{width:calc(0.03046875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__player-icon-wrapper.svelte-1nj9kqt{width:calc(0.0372395833 * 100vw + 0px)}}.job-contracts-menu__player-stats-title.svelte-1nj9kqt{font-family:\"GothamPro-Bold\";color:#FFFFFF;font-size:calc(0.01875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__player-stats-title.svelte-1nj9kqt{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__player-stats-title.svelte-1nj9kqt{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__player-stats-title.svelte-1nj9kqt{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__player-stats-title.svelte-1nj9kqt{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__player-stats-title.svelte-1nj9kqt{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__player-stats-title.svelte-1nj9kqt{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__player-stats-title.svelte-1nj9kqt{font-size:calc(0.020625 * 100vw + 0px)}}.job-contracts-menu__player-rank.svelte-1nj9kqt{display:flex;align-items:center;margin-top:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__player-rank.svelte-1nj9kqt{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__player-rank.svelte-1nj9kqt{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__player-rank.svelte-1nj9kqt{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__player-rank.svelte-1nj9kqt{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__player-rank.svelte-1nj9kqt{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__player-rank.svelte-1nj9kqt{margin-top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__player-rank.svelte-1nj9kqt{margin-top:calc(0.0286458333 * 100vw + 0px)}}.job-contracts-menu__player-rank-exp.svelte-1nj9kqt{display:flex;flex-direction:column;align-items:center}.job-contracts-menu__player-rank-bar.svelte-1nj9kqt{position:relative;display:flex;align-items:center;justify-content:center;width:calc(0.03125 * 100vw + 0px);height:calc(0.03125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__player-rank-bar.svelte-1nj9kqt{width:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__player-rank-bar.svelte-1nj9kqt{width:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__player-rank-bar.svelte-1nj9kqt{width:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__player-rank-bar.svelte-1nj9kqt{width:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__player-rank-bar.svelte-1nj9kqt{width:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__player-rank-bar.svelte-1nj9kqt{width:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__player-rank-bar.svelte-1nj9kqt{width:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__player-rank-bar.svelte-1nj9kqt{height:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__player-rank-bar.svelte-1nj9kqt{height:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__player-rank-bar.svelte-1nj9kqt{height:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__player-rank-bar.svelte-1nj9kqt{height:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__player-rank-bar.svelte-1nj9kqt{height:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__player-rank-bar.svelte-1nj9kqt{height:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__player-rank-bar.svelte-1nj9kqt{height:calc(0.034375 * 100vw + 0px)}}.job-contracts-menu__player-rank-title.svelte-1nj9kqt{margin-left:calc(0.0088541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__player-rank-title.svelte-1nj9kqt{margin-left:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__player-rank-title.svelte-1nj9kqt{margin-left:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__player-rank-title.svelte-1nj9kqt{margin-left:calc(0.0068177083 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__player-rank-title.svelte-1nj9kqt{margin-left:calc(0.0097395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__player-rank-title.svelte-1nj9kqt{margin-left:calc(0.0061979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__player-rank-title.svelte-1nj9kqt{margin-left:calc(0.00796875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__player-rank-title.svelte-1nj9kqt{margin-left:calc(0.0097395833 * 100vw + 0px)}}.job-contracts-menu__player-rank-name.svelte-1nj9kqt{color:#FFFFFF;font-family:\"GothamPro-Bold\";font-size:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__player-rank-name.svelte-1nj9kqt{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__player-rank-name.svelte-1nj9kqt{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__player-rank-name.svelte-1nj9kqt{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__player-rank-name.svelte-1nj9kqt{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__player-rank-name.svelte-1nj9kqt{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__player-rank-name.svelte-1nj9kqt{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__player-rank-name.svelte-1nj9kqt{font-size:calc(0.0183333333 * 100vw + 0px)}}.job-contracts-menu__player-lvl-info.svelte-1nj9kqt{display:flex;align-items:center;margin-top:calc(0.0015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__player-lvl-info.svelte-1nj9kqt{margin-top:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__player-lvl-info.svelte-1nj9kqt{margin-top:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__player-lvl-info.svelte-1nj9kqt{margin-top:calc(0.001203125 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__player-lvl-info.svelte-1nj9kqt{margin-top:calc(0.00171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__player-lvl-info.svelte-1nj9kqt{margin-top:calc(0.00109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__player-lvl-info.svelte-1nj9kqt{margin-top:calc(0.00140625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__player-lvl-info.svelte-1nj9kqt{margin-top:calc(0.00171875 * 100vw + 0px)}}.job-contracts-menu__player-rank-logo.svelte-1nj9kqt{height:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__player-rank-logo.svelte-1nj9kqt{height:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__player-rank-logo.svelte-1nj9kqt{height:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__player-rank-logo.svelte-1nj9kqt{height:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__player-rank-logo.svelte-1nj9kqt{height:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__player-rank-logo.svelte-1nj9kqt{height:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__player-rank-logo.svelte-1nj9kqt{height:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__player-rank-logo.svelte-1nj9kqt{height:calc(0.00859375 * 100vw + 0px)}}.job-contracts-menu__player-rank-descr.svelte-1nj9kqt{font-family:\"GothamPro\";font-size:calc(0.00625 * 100vw + 0px);margin-left:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__player-rank-descr.svelte-1nj9kqt{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__player-rank-descr.svelte-1nj9kqt{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__player-rank-descr.svelte-1nj9kqt{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__player-rank-descr.svelte-1nj9kqt{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__player-rank-descr.svelte-1nj9kqt{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__player-rank-descr.svelte-1nj9kqt{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__player-rank-descr.svelte-1nj9kqt{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__player-rank-descr.svelte-1nj9kqt{margin-left:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__player-rank-descr.svelte-1nj9kqt{margin-left:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__player-rank-descr.svelte-1nj9kqt{margin-left:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__player-rank-descr.svelte-1nj9kqt{margin-left:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__player-rank-descr.svelte-1nj9kqt{margin-left:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__player-rank-descr.svelte-1nj9kqt{margin-left:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__player-rank-descr.svelte-1nj9kqt{margin-left:calc(0.0028645833 * 100vw + 0px)}}.job-contracts-menu__players-rating-btn-wrapper.svelte-1nj9kqt{display:flex;align-items:center;margin-top:calc(0.0427083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__players-rating-btn-wrapper.svelte-1nj9kqt{margin-top:calc(0.0427083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__players-rating-btn-wrapper.svelte-1nj9kqt{margin-top:calc(0.0427083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__players-rating-btn-wrapper.svelte-1nj9kqt{margin-top:calc(0.0328854167 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__players-rating-btn-wrapper.svelte-1nj9kqt{margin-top:calc(0.0469791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__players-rating-btn-wrapper.svelte-1nj9kqt{margin-top:calc(0.0298958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__players-rating-btn-wrapper.svelte-1nj9kqt{margin-top:calc(0.0384375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__players-rating-btn-wrapper.svelte-1nj9kqt{margin-top:calc(0.0469791667 * 100vw + 0px)}}.job-contracts-menu__players-rating-btn.svelte-1nj9kqt{display:flex;align-items:center;justify-content:center;font-family:\"GothamPro-Medium\";color:#3B4447;cursor:pointer;opacity:1;transition:opacity 0.2s linear;width:calc(0.1041666667 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__players-rating-btn.svelte-1nj9kqt{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__players-rating-btn.svelte-1nj9kqt{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__players-rating-btn.svelte-1nj9kqt{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__players-rating-btn.svelte-1nj9kqt{width:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__players-rating-btn.svelte-1nj9kqt{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__players-rating-btn.svelte-1nj9kqt{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__players-rating-btn.svelte-1nj9kqt{width:calc(0.1145833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__players-rating-btn.svelte-1nj9kqt{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__players-rating-btn.svelte-1nj9kqt{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__players-rating-btn.svelte-1nj9kqt{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__players-rating-btn.svelte-1nj9kqt{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__players-rating-btn.svelte-1nj9kqt{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__players-rating-btn.svelte-1nj9kqt{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__players-rating-btn.svelte-1nj9kqt{height:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__players-rating-btn.svelte-1nj9kqt{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__players-rating-btn.svelte-1nj9kqt{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__players-rating-btn.svelte-1nj9kqt{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__players-rating-btn.svelte-1nj9kqt{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__players-rating-btn.svelte-1nj9kqt{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__players-rating-btn.svelte-1nj9kqt{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__players-rating-btn.svelte-1nj9kqt{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__players-rating-btn.svelte-1nj9kqt{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__players-rating-btn.svelte-1nj9kqt{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__players-rating-btn.svelte-1nj9kqt{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__players-rating-btn.svelte-1nj9kqt{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__players-rating-btn.svelte-1nj9kqt{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__players-rating-btn.svelte-1nj9kqt{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__players-rating-btn.svelte-1nj9kqt{font-size:calc(0.006875 * 100vw + 0px)}}.job-contracts-menu__players-rating-btn.svelte-1nj9kqt:hover{opacity:0.7}.job-contracts-menu__players-rating-btn-subtitle.svelte-1nj9kqt{font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.0078125 * 100vw + 0px);margin-left:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__players-rating-btn-subtitle.svelte-1nj9kqt{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__players-rating-btn-subtitle.svelte-1nj9kqt{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__players-rating-btn-subtitle.svelte-1nj9kqt{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__players-rating-btn-subtitle.svelte-1nj9kqt{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__players-rating-btn-subtitle.svelte-1nj9kqt{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__players-rating-btn-subtitle.svelte-1nj9kqt{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__players-rating-btn-subtitle.svelte-1nj9kqt{font-size:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__players-rating-btn-subtitle.svelte-1nj9kqt{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__players-rating-btn-subtitle.svelte-1nj9kqt{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__players-rating-btn-subtitle.svelte-1nj9kqt{margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__players-rating-btn-subtitle.svelte-1nj9kqt{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__players-rating-btn-subtitle.svelte-1nj9kqt{margin-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__players-rating-btn-subtitle.svelte-1nj9kqt{margin-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__players-rating-btn-subtitle.svelte-1nj9kqt{margin-left:calc(0.0057291667 * 100vw + 0px)}}.job-contracts-menu__player-bar-lvl.svelte-1nj9kqt{position:absolute;font-family:\"GothamPro-Medium\";font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__player-bar-lvl.svelte-1nj9kqt{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__player-bar-lvl.svelte-1nj9kqt{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__player-bar-lvl.svelte-1nj9kqt{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__player-bar-lvl.svelte-1nj9kqt{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__player-bar-lvl.svelte-1nj9kqt{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__player-bar-lvl.svelte-1nj9kqt{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__player-bar-lvl.svelte-1nj9kqt{font-size:calc(0.01375 * 100vw + 0px)}}.job-contracts-menu__player-item.svelte-1nj9kqt{margin-top:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__player-item.svelte-1nj9kqt{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__player-item.svelte-1nj9kqt{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__player-item.svelte-1nj9kqt{margin-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__player-item.svelte-1nj9kqt{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__player-item.svelte-1nj9kqt{margin-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__player-item.svelte-1nj9kqt{margin-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__player-item.svelte-1nj9kqt{margin-top:calc(0.0143229167 * 100vw + 0px)}}.job-contracts-menu__player-item-count.svelte-1nj9kqt{color:#FFFFFF;font-family:\"GothamPro-Medium\";font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__player-item-count.svelte-1nj9kqt{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__player-item-count.svelte-1nj9kqt{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__player-item-count.svelte-1nj9kqt{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__player-item-count.svelte-1nj9kqt{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__player-item-count.svelte-1nj9kqt{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__player-item-count.svelte-1nj9kqt{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__player-item-count.svelte-1nj9kqt{font-size:calc(0.01375 * 100vw + 0px)}}.job-contracts-menu__player-item-descr.svelte-1nj9kqt{font-family:\"GothamPro\";color:rgba(255, 255, 255, 0.5);font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-menu__player-item-descr.svelte-1nj9kqt{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-menu__player-item-descr.svelte-1nj9kqt{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-menu__player-item-descr.svelte-1nj9kqt{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-menu__player-item-descr.svelte-1nj9kqt{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-menu__player-item-descr.svelte-1nj9kqt{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-menu__player-item-descr.svelte-1nj9kqt{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-menu__player-item-descr.svelte-1nj9kqt{font-size:calc(0.006875 * 100vw + 0px)}}");
}

function base_layout_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[10] = list[i].key;
	child_ctx[11] = list[i].title;
	return child_ctx;
}

// (1925:8) {#if !isEmpty(MAP_TYPE_TO_LOGO_INFORMATION[type].icon)}
function base_layout_index_svelte_create_if_block_5(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "job-contracts-menu__logo-icon svelte-1nj9kqt");
			if (!src_url_equal(img.src, img_src_value = MAP_TYPE_TO_LOGO_INFORMATION[/*type*/ ctx[1]].icon)) attr(img, "src", img_src_value);
			attr(img, "alt", "logo");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*type*/ 2 && !src_url_equal(img.src, img_src_value = MAP_TYPE_TO_LOGO_INFORMATION[/*type*/ ctx[1]].icon)) {
				attr(img, "src", img_src_value);
			}
		},
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (1947:4) {#if !isEmpty(stats)}
function base_layout_index_svelte_create_if_block(ctx) {
	let div7;
	let p0;
	let t1;
	let div0;
	let show_if_2 = !(0,lodash.isEmpty)(STATS_LEVEL_ICON[/*type*/ ctx[1]].nameLogo);
	let t2;
	let p1;
	let t3_value = /*stats*/ ctx[4].name + "";
	let t3;
	let t4;
	let div5;
	let div2;
	let div1;
	let circleprogress;
	let t5;
	let p2;
	let t6_value = /*stats*/ ctx[4].level + "";
	let t6;
	let p2_style_value;
	let t7;
	let div4;
	let p3;
	let t8_value = /*stats*/ ctx[4].rankName + "";
	let t8;
	let t9;
	let div3;
	let show_if_1 = !(0,lodash.isEmpty)(STATS_LEVEL_ICON[/*type*/ ctx[1]].icon);
	let t10;
	let p4;
	let t11_value = STATS_LEVEL_ICON[/*type*/ ctx[1]].title + "";
	let t11;
	let p4_style_value;
	let t12;
	let t13;
	let div6;
	let p5;
	let t14_value = MAP_TYPE_TO_RATING_BUTTON_TITLE[/*type*/ ctx[1]].title + "";
	let t14;
	let p5_style_value;
	let t15;
	let show_if = !(0,lodash.isEmpty)(MAP_TYPE_TO_RATING_BUTTON_TITLE[/*type*/ ctx[1]].subTitle);
	let current;
	let mounted;
	let dispose;
	let if_block0 = show_if_2 && base_layout_index_svelte_create_if_block_4(ctx);

	circleprogress = new circle_progress_index_svelte({
			props: {
				color: constants_MAP_TYPE_TO_COLOR[/*type*/ ctx[1]],
				strokeWidth: "7",
				percents: /*stats*/ ctx[4].exp / (/*stats*/ ctx[4].maxExp / 100)
			}
		});

	let if_block1 = show_if_1 && base_layout_index_svelte_create_if_block_3(ctx);
	let each_value = /*statsFields*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = base_layout_index_svelte_create_each_block(base_layout_index_svelte_get_each_context(ctx, each_value, i));
	}

	let if_block2 = show_if && base_layout_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			div7 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Послужной список";
			t1 = space();
			div0 = internal_element("div");
			if (if_block0) if_block0.c();
			t2 = space();
			p1 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = space();
			div5 = internal_element("div");
			div2 = internal_element("div");
			div1 = internal_element("div");
			create_component(circleprogress.$$.fragment);
			t5 = space();
			p2 = internal_element("p");
			t6 = internal_text(t6_value);
			t7 = space();
			div4 = internal_element("div");
			p3 = internal_element("p");
			t8 = internal_text(t8_value);
			t9 = space();
			div3 = internal_element("div");
			if (if_block1) if_block1.c();
			t10 = space();
			p4 = internal_element("p");
			t11 = internal_text(t11_value);
			t12 = space();

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t13 = space();
			div6 = internal_element("div");
			p5 = internal_element("p");
			t14 = internal_text(t14_value);
			t15 = space();
			if (if_block2) if_block2.c();
			attr(p0, "class", "job-contracts-menu__player-stats-title svelte-1nj9kqt");
			attr(p1, "class", "job-contracts-menu__player");
			attr(div0, "class", "job-contracts-menu__player-name svelte-1nj9kqt");
			attr(p2, "class", "job-contracts-menu__player-bar-lvl svelte-1nj9kqt");
			attr(p2, "style", p2_style_value = `color: ${constants_MAP_TYPE_TO_COLOR[/*type*/ ctx[1]]}`);
			attr(div1, "class", "job-contracts-menu__player-rank-bar svelte-1nj9kqt");
			attr(div2, "class", "job-contracts-menu__player-rank-exp svelte-1nj9kqt");
			attr(p3, "class", "job-contracts-menu__player-rank-name svelte-1nj9kqt");
			attr(p4, "class", "job-contracts-menu__player-rank-descr svelte-1nj9kqt");
			attr(p4, "style", p4_style_value = `color: ${constants_MAP_TYPE_TO_COLOR[/*type*/ ctx[1]]}`);
			attr(div3, "class", "job-contracts-menu__player-lvl-info svelte-1nj9kqt");
			attr(div4, "class", "job-contracts-menu__player-rank-title svelte-1nj9kqt");
			attr(div5, "class", "job-contracts-menu__player-rank svelte-1nj9kqt");
			attr(p5, "class", "job-contracts-menu__players-rating-btn svelte-1nj9kqt");
			attr(p5, "style", p5_style_value = `background-color: ${MAP_TYPE_TO_BACKGROUND_BUTTON[/*type*/ ctx[1]]}`);
			attr(div6, "class", "job-contracts-menu__players-rating-btn-wrapper svelte-1nj9kqt");
			attr(div7, "class", "job-contracts-menu__player-stats svelte-1nj9kqt");
		},
		m(target, anchor) {
			insert(target, div7, anchor);
			append(div7, p0);
			append(div7, t1);
			append(div7, div0);
			if (if_block0) if_block0.m(div0, null);
			append(div0, t2);
			append(div0, p1);
			append(p1, t3);
			append(div7, t4);
			append(div7, div5);
			append(div5, div2);
			append(div2, div1);
			mount_component(circleprogress, div1, null);
			append(div1, t5);
			append(div1, p2);
			append(p2, t6);
			append(div5, t7);
			append(div5, div4);
			append(div4, p3);
			append(p3, t8);
			append(div4, t9);
			append(div4, div3);
			if (if_block1) if_block1.m(div3, null);
			append(div3, t10);
			append(div3, p4);
			append(p4, t11);
			append(div7, t12);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div7, null);
			}

			append(div7, t13);
			append(div7, div6);
			append(div6, p5);
			append(p5, t14);
			append(div6, t15);
			if (if_block2) if_block2.m(div6, null);
			current = true;

			if (!mounted) {
				dispose = listen(p5, "click", function () {
					if (internal_is_function(/*onAdditionalButtonClick*/ ctx[3])) /*onAdditionalButtonClick*/ ctx[3].apply(this, arguments);
				});

				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if (dirty & /*type*/ 2) show_if_2 = !(0,lodash.isEmpty)(STATS_LEVEL_ICON[/*type*/ ctx[1]].nameLogo);

			if (show_if_2) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = base_layout_index_svelte_create_if_block_4(ctx);
					if_block0.c();
					if_block0.m(div0, t2);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if ((!current || dirty & /*stats*/ 16) && t3_value !== (t3_value = /*stats*/ ctx[4].name + "")) set_data(t3, t3_value);
			const circleprogress_changes = {};
			if (dirty & /*type*/ 2) circleprogress_changes.color = constants_MAP_TYPE_TO_COLOR[/*type*/ ctx[1]];
			if (dirty & /*stats*/ 16) circleprogress_changes.percents = /*stats*/ ctx[4].exp / (/*stats*/ ctx[4].maxExp / 100);
			circleprogress.$set(circleprogress_changes);
			if ((!current || dirty & /*stats*/ 16) && t6_value !== (t6_value = /*stats*/ ctx[4].level + "")) set_data(t6, t6_value);

			if (!current || dirty & /*type*/ 2 && p2_style_value !== (p2_style_value = `color: ${constants_MAP_TYPE_TO_COLOR[/*type*/ ctx[1]]}`)) {
				attr(p2, "style", p2_style_value);
			}

			if ((!current || dirty & /*stats*/ 16) && t8_value !== (t8_value = /*stats*/ ctx[4].rankName + "")) set_data(t8, t8_value);
			if (dirty & /*type*/ 2) show_if_1 = !(0,lodash.isEmpty)(STATS_LEVEL_ICON[/*type*/ ctx[1]].icon);

			if (show_if_1) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = base_layout_index_svelte_create_if_block_3(ctx);
					if_block1.c();
					if_block1.m(div3, t10);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if ((!current || dirty & /*type*/ 2) && t11_value !== (t11_value = STATS_LEVEL_ICON[/*type*/ ctx[1]].title + "")) set_data(t11, t11_value);

			if (!current || dirty & /*type*/ 2 && p4_style_value !== (p4_style_value = `color: ${constants_MAP_TYPE_TO_COLOR[/*type*/ ctx[1]]}`)) {
				attr(p4, "style", p4_style_value);
			}

			if (dirty & /*statsFields, formatMoney, stats*/ 17) {
				each_value = /*statsFields*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = base_layout_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = base_layout_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div7, t13);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if ((!current || dirty & /*type*/ 2) && t14_value !== (t14_value = MAP_TYPE_TO_RATING_BUTTON_TITLE[/*type*/ ctx[1]].title + "")) set_data(t14, t14_value);

			if (!current || dirty & /*type*/ 2 && p5_style_value !== (p5_style_value = `background-color: ${MAP_TYPE_TO_BACKGROUND_BUTTON[/*type*/ ctx[1]]}`)) {
				attr(p5, "style", p5_style_value);
			}

			if (dirty & /*type*/ 2) show_if = !(0,lodash.isEmpty)(MAP_TYPE_TO_RATING_BUTTON_TITLE[/*type*/ ctx[1]].subTitle);

			if (show_if) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = base_layout_index_svelte_create_if_block_1(ctx);
					if_block2.c();
					if_block2.m(div6, null);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}
		},
		i(local) {
			if (current) return;
			transition_in(circleprogress.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(circleprogress.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div7);
			if (if_block0) if_block0.d();
			destroy_component(circleprogress);
			if (if_block1) if_block1.d();
			destroy_each(each_blocks, detaching);
			if (if_block2) if_block2.d();
			mounted = false;
			dispose();
		}
	};
}

// (1953:20) {#if !isEmpty(STATS_LEVEL_ICON[type].nameLogo)}
function base_layout_index_svelte_create_if_block_4(ctx) {
	let div;
	let img;
	let img_src_value;

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			attr(img, "class", "job-contracts-menu__player-icon svelte-1nj9kqt");
			if (!src_url_equal(img.src, img_src_value = STATS_LEVEL_ICON[/*type*/ ctx[1]].nameLogo)) attr(img, "src", img_src_value);
			attr(img, "alt", "playerLogo");
			attr(div, "class", "job-contracts-menu__player-icon-wrapper svelte-1nj9kqt");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
		},
		p(ctx, dirty) {
			if (dirty & /*type*/ 2 && !src_url_equal(img.src, img_src_value = STATS_LEVEL_ICON[/*type*/ ctx[1]].nameLogo)) {
				attr(img, "src", img_src_value);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1976:28) {#if !isEmpty(STATS_LEVEL_ICON[type].icon)}
function base_layout_index_svelte_create_if_block_3(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "job-contracts-menu__player-rank-logo svelte-1nj9kqt");
			if (!src_url_equal(img.src, img_src_value = STATS_LEVEL_ICON[/*type*/ ctx[1]].icon)) attr(img, "src", img_src_value);
			attr(img, "alt", "lvlLogo");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*type*/ 2 && !src_url_equal(img.src, img_src_value = STATS_LEVEL_ICON[/*type*/ ctx[1]].icon)) {
				attr(img, "src", img_src_value);
			}
		},
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (1990:24) {:else}
function base_layout_index_svelte_create_else_block(ctx) {
	let t_value = /*stats*/ ctx[4][/*key*/ ctx[10]] + "";
	let t;

	return {
		c() {
			t = internal_text(t_value);
		},
		m(target, anchor) {
			insert(target, t, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*stats, statsFields*/ 17 && t_value !== (t_value = /*stats*/ ctx[4][/*key*/ ctx[10]] + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(t);
		}
	};
}

// (1988:24) {#if typeof stats[key] === 'number'}
function base_layout_index_svelte_create_if_block_2(ctx) {
	let t_value = formatMoney(/*stats*/ ctx[4][/*key*/ ctx[10]]) + "";
	let t;

	return {
		c() {
			t = internal_text(t_value);
		},
		m(target, anchor) {
			insert(target, t, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*stats, statsFields*/ 17 && t_value !== (t_value = formatMoney(/*stats*/ ctx[4][/*key*/ ctx[10]]) + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(t);
		}
	};
}

// (1985:12) {#each statsFields as {key, title}
function base_layout_index_svelte_create_each_block(ctx) {
	let div;
	let p0;
	let t0;
	let p1;
	let t1_value = /*title*/ ctx[11] + "";
	let t1;

	function select_block_type(ctx, dirty) {
		if (typeof /*stats*/ ctx[4][/*key*/ ctx[10]] === 'number') return base_layout_index_svelte_create_if_block_2;
		return base_layout_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block = current_block_type(ctx);

	return {
		c() {
			div = internal_element("div");
			p0 = internal_element("p");
			if_block.c();
			t0 = space();
			p1 = internal_element("p");
			t1 = internal_text(t1_value);
			attr(p0, "class", "job-contracts-menu__player-item-count svelte-1nj9kqt");
			attr(p1, "class", "job-contracts-menu__player-item-descr svelte-1nj9kqt");
			attr(div, "class", "job-contracts-menu__player-item svelte-1nj9kqt");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p0);
			if_block.m(p0, null);
			append(div, t0);
			append(div, p1);
			append(p1, t1);
		},
		p(ctx, dirty) {
			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(p0, null);
				}
			}

			if (dirty & /*statsFields*/ 1 && t1_value !== (t1_value = /*title*/ ctx[11] + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div);
			if_block.d();
		}
	};
}

// (2003:16) {#if !isEmpty(MAP_TYPE_TO_RATING_BUTTON_TITLE[type].subTitle)}
function base_layout_index_svelte_create_if_block_1(ctx) {
	let p;
	let t_value = MAP_TYPE_TO_RATING_BUTTON_TITLE[/*type*/ ctx[1]].subTitle + "";
	let t;

	return {
		c() {
			p = internal_element("p");
			t = internal_text(t_value);
			attr(p, "class", "job-contracts-menu__players-rating-btn-subtitle svelte-1nj9kqt");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t);
		},
		p(ctx, dirty) {
			if (dirty & /*type*/ 2 && t_value !== (t_value = MAP_TYPE_TO_RATING_BUTTON_TITLE[/*type*/ ctx[1]].subTitle + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

function base_layout_index_svelte_create_fragment(ctx) {
	let div3;
	let p0;
	let t0_value = MAP_TITLE_TO_MENU[/*type*/ ctx[1]] + "";
	let t0;
	let t1;
	let exitbutton;
	let t2;
	let div0;
	let show_if_1 = !(0,lodash.isEmpty)(MAP_TYPE_TO_LOGO_INFORMATION[/*type*/ ctx[1]].icon);
	let t3;
	let p1;
	let t4_value = MAP_TYPE_TO_LOGO_INFORMATION[/*type*/ ctx[1]].title + "";
	let t4;
	let t5;
	let switch_instance0;
	let t6;
	let switch_instance1;
	let t7;
	let div2;
	let p2;
	let raw_value = MAP_TYPE_TO_QUEST_TITLE[/*type*/ ctx[1]] + "";
	let t8;
	let div1;
	let actionbutton;
	let t9;
	let show_if = !(0,lodash.isEmpty)(/*stats*/ ctx[4]);
	let current;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[5],
				fixedPosition: true
			}
		});

	let if_block0 = show_if_1 && base_layout_index_svelte_create_if_block_5(ctx);
	var switch_value = constants_MAP_TYPE_TO_IMAGE[/*type*/ ctx[1]].statsIcon;

	function switch_props(ctx) {
		return {};
	}

	if (switch_value) {
		switch_instance0 = new switch_value(switch_props(ctx));
	}

	var switch_value_1 = constants_MAP_TYPE_TO_IMAGE[/*type*/ ctx[1]].contractsIcon;

	function switch_props_1(ctx) {
		return {};
	}

	if (switch_value_1) {
		switch_instance1 = new switch_value_1(switch_props_1(ctx));
	}

	actionbutton = new index_svelte({
			props: {
				onPress: /*onTakeContract*/ ctx[2],
				keyTitle: "Enter",
				keyCode: 13,
				size: ActionButtonSize.FillFree
			}
		});

	let if_block1 = show_if && base_layout_index_svelte_create_if_block(ctx);

	return {
		c() {
			div3 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			create_component(exitbutton.$$.fragment);
			t2 = space();
			div0 = internal_element("div");
			if (if_block0) if_block0.c();
			t3 = space();
			p1 = internal_element("p");
			t4 = internal_text(t4_value);
			t5 = space();
			if (switch_instance0) create_component(switch_instance0.$$.fragment);
			t6 = space();
			if (switch_instance1) create_component(switch_instance1.$$.fragment);
			t7 = space();
			div2 = internal_element("div");
			p2 = internal_element("p");
			t8 = space();
			div1 = internal_element("div");
			create_component(actionbutton.$$.fragment);
			t9 = space();
			if (if_block1) if_block1.c();
			attr(p0, "class", "job-contracts-menu__title svelte-1nj9kqt");
			attr(p1, "class", "job-contracts-menu__logo-title svelte-1nj9kqt");
			attr(div0, "class", "job-contracts-menu__logo svelte-1nj9kqt");
			attr(p2, "class", "job-contracts-menu__take-contract-title svelte-1nj9kqt");
			attr(div1, "class", "job-contracts-menu__take-contract-btn svelte-1nj9kqt");
			attr(div2, "class", "job-contracts-menu__take-contract svelte-1nj9kqt");
			attr(div3, "class", "job-contracts-menu svelte-1nj9kqt");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, p0);
			append(p0, t0);
			append(div3, t1);
			mount_component(exitbutton, div3, null);
			append(div3, t2);
			append(div3, div0);
			if (if_block0) if_block0.m(div0, null);
			append(div0, t3);
			append(div0, p1);
			append(p1, t4);
			append(div3, t5);

			if (switch_instance0) {
				mount_component(switch_instance0, div3, null);
			}

			append(div3, t6);

			if (switch_instance1) {
				mount_component(switch_instance1, div3, null);
			}

			append(div3, t7);
			append(div3, div2);
			append(div2, p2);
			p2.innerHTML = raw_value;
			append(div2, t8);
			append(div2, div1);
			mount_component(actionbutton, div1, null);
			append(div3, t9);
			if (if_block1) if_block1.m(div3, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if ((!current || dirty & /*type*/ 2) && t0_value !== (t0_value = MAP_TITLE_TO_MENU[/*type*/ ctx[1]] + "")) set_data(t0, t0_value);
			if (dirty & /*type*/ 2) show_if_1 = !(0,lodash.isEmpty)(MAP_TYPE_TO_LOGO_INFORMATION[/*type*/ ctx[1]].icon);

			if (show_if_1) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = base_layout_index_svelte_create_if_block_5(ctx);
					if_block0.c();
					if_block0.m(div0, t3);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if ((!current || dirty & /*type*/ 2) && t4_value !== (t4_value = MAP_TYPE_TO_LOGO_INFORMATION[/*type*/ ctx[1]].title + "")) set_data(t4, t4_value);

			if (switch_value !== (switch_value = constants_MAP_TYPE_TO_IMAGE[/*type*/ ctx[1]].statsIcon)) {
				if (switch_instance0) {
					group_outros();
					const old_component = switch_instance0;

					transition_out(old_component.$$.fragment, 1, 0, () => {
						destroy_component(old_component, 1);
					});

					check_outros();
				}

				if (switch_value) {
					switch_instance0 = new switch_value(switch_props(ctx));
					create_component(switch_instance0.$$.fragment);
					transition_in(switch_instance0.$$.fragment, 1);
					mount_component(switch_instance0, div3, t6);
				} else {
					switch_instance0 = null;
				}
			} else if (switch_value) {
				
			}

			if (switch_value_1 !== (switch_value_1 = constants_MAP_TYPE_TO_IMAGE[/*type*/ ctx[1]].contractsIcon)) {
				if (switch_instance1) {
					group_outros();
					const old_component = switch_instance1;

					transition_out(old_component.$$.fragment, 1, 0, () => {
						destroy_component(old_component, 1);
					});

					check_outros();
				}

				if (switch_value_1) {
					switch_instance1 = new switch_value_1(switch_props_1(ctx));
					create_component(switch_instance1.$$.fragment);
					transition_in(switch_instance1.$$.fragment, 1);
					mount_component(switch_instance1, div3, t7);
				} else {
					switch_instance1 = null;
				}
			} else if (switch_value_1) {
				
			}

			if ((!current || dirty & /*type*/ 2) && raw_value !== (raw_value = MAP_TYPE_TO_QUEST_TITLE[/*type*/ ctx[1]] + "")) p2.innerHTML = raw_value;;
			const actionbutton_changes = {};
			if (dirty & /*onTakeContract*/ 4) actionbutton_changes.onPress = /*onTakeContract*/ ctx[2];
			actionbutton.$set(actionbutton_changes);
			if (dirty & /*stats*/ 16) show_if = !(0,lodash.isEmpty)(/*stats*/ ctx[4]);

			if (show_if) {
				if (if_block1) {
					if_block1.p(ctx, dirty);

					if (dirty & /*stats*/ 16) {
						transition_in(if_block1, 1);
					}
				} else {
					if_block1 = base_layout_index_svelte_create_if_block(ctx);
					if_block1.c();
					transition_in(if_block1, 1);
					if_block1.m(div3, null);
				}
			} else if (if_block1) {
				group_outros();

				transition_out(if_block1, 1, 1, () => {
					if_block1 = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			if (switch_instance0) transition_in(switch_instance0.$$.fragment, local);
			if (switch_instance1) transition_in(switch_instance1.$$.fragment, local);
			transition_in(actionbutton.$$.fragment, local);
			transition_in(if_block1);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			if (switch_instance0) transition_out(switch_instance0.$$.fragment, local);
			if (switch_instance1) transition_out(switch_instance1.$$.fragment, local);
			transition_out(actionbutton.$$.fragment, local);
			transition_out(if_block1);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div3);
			destroy_component(exitbutton);
			if (if_block0) if_block0.d();
			if (switch_instance0) destroy_component(switch_instance0);
			if (switch_instance1) destroy_component(switch_instance1);
			destroy_component(actionbutton);
			if (if_block1) if_block1.d();
		}
	};
}

function base_layout_index_svelte_instance($$self, $$props, $$invalidate) {
	let { statsFields = [] } = $$props;
	let { type } = $$props;

	let { onTakeContract = () => {
		
	} } = $$props;

	let { onAdditionalButtonClick = () => {
		
	} } = $$props;

	let stats = {};

	const initStats = statsDto => {
		$$invalidate(4, stats = statsDto);
	};

	const initStatsFields = statsFieldsDto => {
		$$invalidate(0, statsFields = statsFieldsDto);
	};

	const handleClose = () => {
		
	}; // exec close event

	const unregisterInitStatsEvent = registerEvent('event.contracts.initStats', initStats);
	const unregisterInitStatsFieldsEvent = registerEvent('event.contracts.initStatsFields', initStatsFields);

	onDestroy(() => {
		unregisterInitStatsEvent();
		unregisterInitStatsFieldsEvent();
	});

	$$self.$$set = $$props => {
		if ('statsFields' in $$props) $$invalidate(0, statsFields = $$props.statsFields);
		if ('type' in $$props) $$invalidate(1, type = $$props.type);
		if ('onTakeContract' in $$props) $$invalidate(2, onTakeContract = $$props.onTakeContract);
		if ('onAdditionalButtonClick' in $$props) $$invalidate(3, onAdditionalButtonClick = $$props.onAdditionalButtonClick);
	};

	return [statsFields, type, onTakeContract, onAdditionalButtonClick, stats, handleClose];
}

class Base_layout extends SvelteComponent {
	constructor(options) {
		super();

		init(
			this,
			options,
			base_layout_index_svelte_instance,
			base_layout_index_svelte_create_fragment,
			safe_not_equal,
			{
				statsFields: 0,
				type: 1,
				onTakeContract: 2,
				onAdditionalButtonClick: 3
			},
			base_layout_index_svelte_add_css
		);
	}
}

/* harmony default export */ const base_layout_index_svelte = (Base_layout);
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/hunting/constants.js
var STATS_FIELDS = [{
  title: 'Добыто животных',
  key: 'catch'
}, {
  title: 'Продано животных',
  key: 'sales'
}, {
  title: 'Заработано',
  key: 'earn'
}, {
  title: 'Выполнено контрактов',
  key: 'doneContracts'
}, {
  title: 'Любимое животное',
  key: 'favorite'
}, {
  title: 'Место в рейтинге',
  key: 'placeRating'
}];
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/hunting/index.svelte
/* src\views\job-contracts\menu\hunting\index.svelte generated by Svelte v3.49.0 */







function hunting_index_svelte_create_fragment(ctx) {
	let jobcontractbaselayout;
	let current;

	jobcontractbaselayout = new base_layout_index_svelte({
			props: {
				type: JobContractType.Hunting,
				statsFields: STATS_FIELDS,
				onTakeContract: /*onTakeContract*/ ctx[0],
				onAdditionalButtonClick: /*openRating*/ ctx[1]
			}
		});

	return {
		c() {
			create_component(jobcontractbaselayout.$$.fragment);
		},
		m(target, anchor) {
			mount_component(jobcontractbaselayout, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(jobcontractbaselayout.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(jobcontractbaselayout.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(jobcontractbaselayout, detaching);
		}
	};
}

function hunting_index_svelte_instance($$self) {
	const onTakeContract = () => {
		sendClientMessage('onTakeContract');
	};

	const openRating = () => {
		sendClientMessage('openRating');
	};

	return [onTakeContract, openRating];
}

class Hunting extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, hunting_index_svelte_instance, hunting_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const hunting_index_svelte = (Hunting);
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/fishing/constants.js
var constants_STATS_FIELDS = [{
  title: 'Поймано рыб',
  key: 'catch'
}, {
  title: 'Продано рыбы',
  key: 'sales'
}, {
  title: 'Заработано',
  key: 'earn'
}, {
  title: 'Выполнено контрактов',
  key: 'doneContracts'
}, {
  title: 'Любимая рыба',
  key: 'favorite'
}, {
  title: 'Место в рейтинге',
  key: 'placeRating'
}];
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/fishing/index.svelte
/* src\views\job-contracts\menu\fishing\index.svelte generated by Svelte v3.49.0 */







function fishing_index_svelte_create_fragment(ctx) {
	let jobcontractbaselayout;
	let current;

	jobcontractbaselayout = new base_layout_index_svelte({
			props: {
				type: JobContractType.Fishing,
				statsFields: constants_STATS_FIELDS,
				onTakeContract: /*onTakeContract*/ ctx[0],
				onAdditionalButtonClick: /*openRating*/ ctx[1]
			}
		});

	return {
		c() {
			create_component(jobcontractbaselayout.$$.fragment);
		},
		m(target, anchor) {
			mount_component(jobcontractbaselayout, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(jobcontractbaselayout.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(jobcontractbaselayout.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(jobcontractbaselayout, detaching);
		}
	};
}

function fishing_index_svelte_instance($$self) {
	const onTakeContract = () => {
		sendClientMessage('onTakeContract');
	};

	const openRating = () => {
		sendClientMessage('openRating');
	};

	return [onTakeContract, openRating];
}

class Fishing extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, fishing_index_svelte_instance, fishing_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const fishing_index_svelte = (Fishing);
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/bandit/constants.js
var bandit_constants_STATS_FIELDS = [{
  title: 'Поймано рыб',
  key: 'catch'
}, {
  title: 'Продано рыбы',
  key: 'sales'
}, {
  title: 'Заработано',
  key: 'earn'
}, {
  title: 'Выполнено контрактов',
  key: 'doneContracts'
}, {
  title: 'Любимая рыба',
  key: 'favorite'
}, {
  title: 'Место в рейтинге',
  key: 'placeRating'
}];
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/bandit/index.svelte
/* src\views\job-contracts\menu\bandit\index.svelte generated by Svelte v3.49.0 */







function menu_bandit_index_svelte_create_fragment(ctx) {
	let jobcontractbaselayout;
	let current;

	jobcontractbaselayout = new base_layout_index_svelte({
			props: {
				type: JobContractType.Bandit,
				statsFields: bandit_constants_STATS_FIELDS,
				onTakeContract: /*onTakeContract*/ ctx[0],
				onAdditionalButtonClick: /*openRating*/ ctx[1]
			}
		});

	return {
		c() {
			create_component(jobcontractbaselayout.$$.fragment);
		},
		m(target, anchor) {
			mount_component(jobcontractbaselayout, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(jobcontractbaselayout.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(jobcontractbaselayout.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(jobcontractbaselayout, detaching);
		}
	};
}

function bandit_index_svelte_instance($$self) {
	const onTakeContract = () => {
		sendClientMessage('onTakeContract');
	};

	const openRating = () => {
		sendClientMessage('openRating');
	};

	return [onTakeContract, openRating];
}

class Bandit extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, bandit_index_svelte_instance, menu_bandit_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const menu_bandit_index_svelte = (Bandit);
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/mafia/constants.js
var mafia_constants_STATS_FIELDS = [{
  title: 'Поймано рыб',
  key: 'catch'
}, {
  title: 'Продано рыбы',
  key: 'sales'
}, {
  title: 'Заработано',
  key: 'earn'
}, {
  title: 'Выполнено контрактов',
  key: 'doneContracts'
}, {
  title: 'Любимая рыба',
  key: 'favorite'
}, {
  title: 'Место в рейтинге',
  key: 'placeRating'
}];
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/mafia/index.svelte
/* src\views\job-contracts\menu\mafia\index.svelte generated by Svelte v3.49.0 */







function menu_mafia_index_svelte_create_fragment(ctx) {
	let jobcontractbaselayout;
	let current;

	jobcontractbaselayout = new base_layout_index_svelte({
			props: {
				type: JobContractType.Mafia,
				statsFields: mafia_constants_STATS_FIELDS,
				onTakeContract: /*onTakeContract*/ ctx[0],
				onAdditionalButtonClick: /*openRating*/ ctx[1]
			}
		});

	return {
		c() {
			create_component(jobcontractbaselayout.$$.fragment);
		},
		m(target, anchor) {
			mount_component(jobcontractbaselayout, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(jobcontractbaselayout.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(jobcontractbaselayout.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(jobcontractbaselayout, detaching);
		}
	};
}

function mafia_index_svelte_instance($$self) {
	const onTakeContract = () => {
		sendClientMessage('onTakeContract');
	};

	const openRating = () => {
		sendClientMessage('openRating');
	};

	return [onTakeContract, openRating];
}

class Mafia extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, mafia_index_svelte_instance, menu_mafia_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const menu_mafia_index_svelte = (Mafia);
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/doctor/constants.js
var doctor_constants_STATS_FIELDS = [{
  title: 'Поймано рыб',
  key: 'catch'
}, {
  title: 'Продано рыбы',
  key: 'sales'
}, {
  title: 'Заработано',
  key: 'earn'
}, {
  title: 'Выполнено контрактов',
  key: 'doneContracts'
}, {
  title: 'Любимая рыба',
  key: 'favorite'
}, {
  title: 'Место в рейтинге',
  key: 'placeRating'
}];
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/doctor/index.svelte
/* src\views\job-contracts\menu\doctor\index.svelte generated by Svelte v3.49.0 */







function menu_doctor_index_svelte_create_fragment(ctx) {
	let jobcontractbaselayout;
	let current;

	jobcontractbaselayout = new base_layout_index_svelte({
			props: {
				type: JobContractType.Doctor,
				statsFields: doctor_constants_STATS_FIELDS,
				onTakeContract: /*onTakeContract*/ ctx[0],
				onAdditionalButtonClick: /*openRating*/ ctx[1]
			}
		});

	return {
		c() {
			create_component(jobcontractbaselayout.$$.fragment);
		},
		m(target, anchor) {
			mount_component(jobcontractbaselayout, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(jobcontractbaselayout.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(jobcontractbaselayout.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(jobcontractbaselayout, detaching);
		}
	};
}

function doctor_index_svelte_instance($$self) {
	const onTakeContract = () => {
		sendClientMessage('onTakeContract');
	};

	const openRating = () => {
		sendClientMessage('openRating');
	};

	return [onTakeContract, openRating];
}

class Doctor extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, doctor_index_svelte_instance, menu_doctor_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const menu_doctor_index_svelte = (Doctor);
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/journalist/constants.js
var journalist_constants_STATS_FIELDS = [{
  title: 'Поймано рыб',
  key: 'catch'
}, {
  title: 'Продано рыбы',
  key: 'sales'
}, {
  title: 'Заработано',
  key: 'earn'
}, {
  title: 'Выполнено контрактов',
  key: 'doneContracts'
}, {
  title: 'Любимая рыба',
  key: 'favorite'
}, {
  title: 'Место в рейтинге',
  key: 'placeRating'
}];
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/journalist/index.svelte
/* src\views\job-contracts\menu\journalist\index.svelte generated by Svelte v3.49.0 */







function menu_journalist_index_svelte_create_fragment(ctx) {
	let jobcontractbaselayout;
	let current;

	jobcontractbaselayout = new base_layout_index_svelte({
			props: {
				type: JobContractType.Journalist,
				statsFields: journalist_constants_STATS_FIELDS,
				onTakeContract: /*onTakeContract*/ ctx[0],
				onAdditionalButtonClick: /*openRating*/ ctx[1]
			}
		});

	return {
		c() {
			create_component(jobcontractbaselayout.$$.fragment);
		},
		m(target, anchor) {
			mount_component(jobcontractbaselayout, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(jobcontractbaselayout.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(jobcontractbaselayout.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(jobcontractbaselayout, detaching);
		}
	};
}

function journalist_index_svelte_instance($$self) {
	const onTakeContract = () => {
		sendClientMessage('onTakeContract');
	};

	const openRating = () => {
		sendClientMessage('openRating');
	};

	return [onTakeContract, openRating];
}

class Journalist extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, journalist_index_svelte_instance, menu_journalist_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const menu_journalist_index_svelte = (Journalist);
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/agent/constants.js
var agent_constants_STATS_FIELDS = [{
  title: 'Поймано рыб',
  key: 'catch'
}, {
  title: 'Продано рыбы',
  key: 'sales'
}, {
  title: 'Заработано',
  key: 'earn'
}, {
  title: 'Выполнено контрактов',
  key: 'doneContracts'
}, {
  title: 'Любимая рыба',
  key: 'favorite'
}, {
  title: 'Место в рейтинге',
  key: 'placeRating'
}];
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/agent/index.svelte
/* src\views\job-contracts\menu\agent\index.svelte generated by Svelte v3.49.0 */







function menu_agent_index_svelte_create_fragment(ctx) {
	let jobcontractbaselayout;
	let current;

	jobcontractbaselayout = new base_layout_index_svelte({
			props: {
				type: JobContractType.Agent,
				statsFields: agent_constants_STATS_FIELDS,
				onTakeContract: /*onTakeContract*/ ctx[0],
				onAdditionalButtonClick: /*openRating*/ ctx[1]
			}
		});

	return {
		c() {
			create_component(jobcontractbaselayout.$$.fragment);
		},
		m(target, anchor) {
			mount_component(jobcontractbaselayout, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(jobcontractbaselayout.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(jobcontractbaselayout.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(jobcontractbaselayout, detaching);
		}
	};
}

function agent_index_svelte_instance($$self) {
	const onTakeContract = () => {
		sendClientMessage('onTakeContract');
	};

	const openRating = () => {
		sendClientMessage('openRating');
	};

	return [onTakeContract, openRating];
}

class Agent extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, agent_index_svelte_instance, menu_agent_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const menu_agent_index_svelte = (Agent);
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/soldier/constants.js
var soldier_constants_STATS_FIELDS = [{
  title: 'Поймано рыб',
  key: 'catch'
}, {
  title: 'Продано рыбы',
  key: 'sales'
}, {
  title: 'Заработано',
  key: 'earn'
}, {
  title: 'Выполнено контрактов',
  key: 'doneContracts'
}, {
  title: 'Любимая рыба',
  key: 'favorite'
}, {
  title: 'Место в рейтинге',
  key: 'placeRating'
}];
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/soldier/index.svelte
/* src\views\job-contracts\menu\soldier\index.svelte generated by Svelte v3.49.0 */







function menu_soldier_index_svelte_create_fragment(ctx) {
	let jobcontractbaselayout;
	let current;

	jobcontractbaselayout = new base_layout_index_svelte({
			props: {
				type: JobContractType.Soldier,
				statsFields: soldier_constants_STATS_FIELDS,
				onTakeContract: /*onTakeContract*/ ctx[0],
				onAdditionalButtonClick: /*openRating*/ ctx[1]
			}
		});

	return {
		c() {
			create_component(jobcontractbaselayout.$$.fragment);
		},
		m(target, anchor) {
			mount_component(jobcontractbaselayout, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(jobcontractbaselayout.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(jobcontractbaselayout.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(jobcontractbaselayout, detaching);
		}
	};
}

function soldier_index_svelte_instance($$self) {
	const onTakeContract = () => {
		sendClientMessage('onTakeContract');
	};

	const openRating = () => {
		sendClientMessage('openRating');
	};

	return [onTakeContract, openRating];
}

class Soldier extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, soldier_index_svelte_instance, menu_soldier_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const menu_soldier_index_svelte = (Soldier);
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/instructor/constants.js
var instructor_constants_STATS_FIELDS = [{
  title: 'Поймано рыб',
  key: 'catch'
}, {
  title: 'Продано рыбы',
  key: 'sales'
}, {
  title: 'Заработано',
  key: 'earn'
}, {
  title: 'Выполнено контрактов',
  key: 'doneContracts'
}, {
  title: 'Любимая рыба',
  key: 'favorite'
}, {
  title: 'Место в рейтинге',
  key: 'placeRating'
}];
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/instructor/index.svelte
/* src\views\job-contracts\menu\instructor\index.svelte generated by Svelte v3.49.0 */







function menu_instructor_index_svelte_create_fragment(ctx) {
	let jobcontractbaselayout;
	let current;

	jobcontractbaselayout = new base_layout_index_svelte({
			props: {
				type: JobContractType.Instructor,
				statsFields: instructor_constants_STATS_FIELDS,
				onTakeContract: /*onTakeContract*/ ctx[0],
				onAdditionalButtonClick: /*openRating*/ ctx[1]
			}
		});

	return {
		c() {
			create_component(jobcontractbaselayout.$$.fragment);
		},
		m(target, anchor) {
			mount_component(jobcontractbaselayout, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(jobcontractbaselayout.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(jobcontractbaselayout.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(jobcontractbaselayout, detaching);
		}
	};
}

function instructor_index_svelte_instance($$self) {
	const onTakeContract = () => {
		sendClientMessage('onTakeContract');
	};

	const openRating = () => {
		sendClientMessage('openRating');
	};

	return [onTakeContract, openRating];
}

class Instructor extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, instructor_index_svelte_instance, menu_instructor_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const menu_instructor_index_svelte = (Instructor);
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/worker/constants.js
var worker_constants_STATS_FIELDS = [{
  title: 'Поймано рыб',
  key: 'catch'
}, {
  title: 'Продано рыбы',
  key: 'sales'
}, {
  title: 'Заработано',
  key: 'earn'
}, {
  title: 'Выполнено контрактов',
  key: 'doneContracts'
}, {
  title: 'Любимая рыба',
  key: 'favorite'
}, {
  title: 'Место в рейтинге',
  key: 'placeRating'
}];
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/worker/index.svelte
/* src\views\job-contracts\menu\worker\index.svelte generated by Svelte v3.49.0 */







function menu_worker_index_svelte_create_fragment(ctx) {
	let jobcontractbaselayout;
	let current;

	jobcontractbaselayout = new base_layout_index_svelte({
			props: {
				type: JobContractType.Worker,
				statsFields: worker_constants_STATS_FIELDS,
				onTakeContract: /*onTakeContract*/ ctx[0],
				onAdditionalButtonClick: /*openRating*/ ctx[1]
			}
		});

	return {
		c() {
			create_component(jobcontractbaselayout.$$.fragment);
		},
		m(target, anchor) {
			mount_component(jobcontractbaselayout, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(jobcontractbaselayout.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(jobcontractbaselayout.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(jobcontractbaselayout, detaching);
		}
	};
}

function worker_index_svelte_instance($$self) {
	const onTakeContract = () => {
		sendClientMessage('onTakeContract');
	};

	const openRating = () => {
		sendClientMessage('openRating');
	};

	return [onTakeContract, openRating];
}

class Worker extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, worker_index_svelte_instance, menu_worker_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const menu_worker_index_svelte = (Worker);
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/collector/constants.js
var collector_constants_STATS_FIELDS = [{
  title: 'Заданий выполнено',
  key: 'completedQuests'
}, {
  title: 'Рейсов за сегодня',
  key: 'tripToday'
}, {
  title: 'Изделий создано',
  key: 'create'
}, {
  title: 'Заработано всего',
  key: 'earnTotal'
}, {
  title: 'Заработано сегодня',
  key: 'earnToday'
}, {
  title: 'Заработано в среднем',
  key: 'earnMedium'
}];
;// CONCATENATED MODULE: ./src/views/job-contracts/menu/collector/index.svelte
/* src\views\job-contracts\menu\collector\index.svelte generated by Svelte v3.49.0 */







function menu_collector_index_svelte_create_fragment(ctx) {
	let jobcontractbaselayout;
	let current;

	jobcontractbaselayout = new base_layout_index_svelte({
			props: {
				type: JobContractType.Collector,
				statsFields: collector_constants_STATS_FIELDS,
				onTakeContract: /*onTakeContract*/ ctx[0],
				onAdditionalButtonClick: /*increaseJobLevel*/ ctx[1]
			}
		});

	return {
		c() {
			create_component(jobcontractbaselayout.$$.fragment);
		},
		m(target, anchor) {
			mount_component(jobcontractbaselayout, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(jobcontractbaselayout.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(jobcontractbaselayout.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(jobcontractbaselayout, detaching);
		}
	};
}

function collector_index_svelte_instance($$self) {
	const onTakeContract = () => {
		sendClientMessage('onTakeContract');
	};

	const increaseJobLevel = () => {
		sendClientMessage('increaseJobLevel');
	};

	return [onTakeContract, increaseJobLevel];
}

class Collector extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, collector_index_svelte_instance, menu_collector_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const menu_collector_index_svelte = (Collector);
;// CONCATENATED MODULE: ./src/views/job-contracts/rating/base-layout/components/paw-rating-icon/index.svelte
/* src\views\job-contracts\rating\base-layout\components\paw-rating-icon\index.svelte generated by Svelte v3.49.0 */


function paw_rating_icon_index_svelte_create_fragment(ctx) {
	let svg;
	let g;
	let circle;
	let path;
	let defs;
	let filter;
	let feFlood;
	let feBlend;
	let feGaussianBlur;

	return {
		c() {
			svg = svg_element("svg");
			g = svg_element("g");
			circle = svg_element("circle");
			path = svg_element("path");
			defs = svg_element("defs");
			filter = svg_element("filter");
			feFlood = svg_element("feFlood");
			feBlend = svg_element("feBlend");
			feGaussianBlur = svg_element("feGaussianBlur");
			attr(circle, "cx", "35");
			attr(circle, "cy", "35.6211");
			attr(circle, "r", "15");
			attr(circle, "fill", /*color*/ ctx[0]);
			attr(circle, "fill-opacity", "0.5");
			attr(g, "filter", "url(#filter0_f_3420_2)");
			attr(path, "d", "M35.5077 49.4414C35.4966 48.9415 35.4966 48.9415 35.4965 48.9415L35.4963 48.9415L35.4956 48.9415L35.4931 48.9416L35.4835 48.9418L35.4469 48.9427C35.4149 48.9435 35.368 48.9448 35.3077 48.9467C35.1872 48.9504 35.0131 48.9563 34.798 48.9651C34.3679 48.9827 33.7728 49.0121 33.1123 49.0592C31.8048 49.1525 30.1949 49.3178 29.1144 49.6119L29.1136 49.6121C28.2046 49.8613 26.6548 49.7795 25.4632 49.141C24.8785 48.8277 24.4037 48.3933 24.121 47.823C23.8403 47.2569 23.7256 46.5108 23.9388 45.5282C24.3333 43.7103 25.3244 42.7821 26.5025 41.6787C26.6028 41.5849 26.7044 41.4897 26.8071 41.3927C28.1286 40.1435 29.5216 38.6531 30.1136 35.6095L30.1137 35.6092C30.6451 32.8673 32.0148 31.6443 33.2026 31.0813C33.8086 30.7942 34.3845 30.6712 34.8089 30.6204C35.0205 30.595 35.1925 30.5879 35.3089 30.5869C35.3671 30.5864 35.4112 30.5875 35.4392 30.5885C35.4454 30.5888 35.4508 30.589 35.4554 30.5892C35.4612 30.5895 35.4656 30.5897 35.4688 30.5899L35.4726 30.5901L35.4732 30.5902L35.4736 30.5902L35.474 30.5902L35.4742 30.5902L35.5117 30.5932L35.5493 30.5902L35.5494 30.5902L35.5498 30.5902L35.5503 30.5902L35.5508 30.5901L35.5546 30.5899C35.5602 30.5896 35.5702 30.589 35.5841 30.5885C35.612 30.5875 35.6559 30.5864 35.7139 30.5869C35.83 30.5879 36.0014 30.595 36.2125 30.6203C36.6357 30.6711 37.21 30.7941 37.8145 31.0812C38.9993 31.6439 40.3665 32.8668 40.8981 35.6092C41.4859 38.6524 42.8748 40.1429 44.1935 41.3923C44.2965 41.4899 44.3985 41.5855 44.499 41.6799C45.6739 42.7826 46.663 43.7108 47.0573 45.5282L47.0574 45.5286C47.2716 46.5114 47.1576 47.2573 46.8778 47.8229C46.5959 48.3926 46.1221 48.8266 45.5382 49.1396C44.3482 49.7775 42.7991 49.8595 41.8895 49.6119C40.8091 49.3178 39.2022 49.1524 37.8975 49.0592C37.2384 49.0121 36.6447 48.9827 36.2157 48.9651C36.0012 48.9563 35.8275 48.9504 35.7073 48.9467C35.6472 48.9448 35.6004 48.9435 35.5685 48.9427L35.5319 48.9418L35.5224 48.9416L35.5199 48.9415L35.5192 48.9415L35.519 48.9415C35.5189 48.9415 35.5189 48.9415 35.5077 49.4414ZM35.5077 49.4414L35.4966 48.9415L35.5077 48.9412L35.5189 48.9415L35.5077 49.4414ZM25.4076 25.1176C24.5313 22.0817 25.814 19.2607 27.9776 18.6349L27.9776 18.6349C30.1402 18.0094 32.7282 19.7151 33.6048 22.7517C34.4812 25.7879 33.202 28.6085 31.035 29.2343C28.8685 29.8599 26.2843 28.1542 25.4076 25.1176ZM25.4076 25.1176L24.9272 25.2562L25.4076 25.1176ZM45.5885 25.1136L45.5885 25.1138C44.7118 28.1544 42.1275 29.8598 39.9611 29.2343C37.7942 28.6085 36.5149 25.788 37.3914 22.7517L37.3914 22.7516C38.2682 19.7109 40.8524 18.0054 43.0188 18.6311L43.1575 18.1509L43.0188 18.6311C45.1857 19.2568 46.465 22.0774 45.5885 25.1136ZM50.1206 29.0154L50.3096 28.5525L50.1206 29.0154C52.2074 29.8674 53.1792 32.804 51.9845 35.7334C50.7902 38.6618 48.0377 40.0785 45.9501 39.2295L45.7618 39.6926L45.9501 39.2295C43.8645 38.3813 42.8919 35.4417 44.0869 32.5116C45.2815 29.5825 48.034 28.1633 50.1206 29.0154ZM25.0492 39.2297L25.2382 39.6926L25.0492 39.2297C22.9625 40.0817 20.2101 38.6625 19.0155 35.7334L19.0155 35.7332C17.8209 32.8079 18.7927 29.8673 20.8794 29.0154L20.8794 29.0154C22.9657 28.1635 25.7184 29.586 26.9132 32.5118C28.1078 35.4372 27.136 38.3777 25.0492 39.2297Z");
			attr(path, "stroke", /*color*/ ctx[0]);
			attr(feFlood, "flood-opacity", "0");
			attr(feFlood, "result", "BackgroundImageFix");
			attr(feBlend, "mode", "normal");
			attr(feBlend, "in", "SourceGraphic");
			attr(feBlend, "in2", "BackgroundImageFix");
			attr(feBlend, "result", "shape");
			attr(feGaussianBlur, "stdDeviation", "10");
			attr(feGaussianBlur, "result", "effect1_foregroundBlur_3420_2");
			attr(filter, "id", "filter0_f_3420_2");
			attr(filter, "x", "0");
			attr(filter, "y", "0.621094");
			attr(filter, "width", "70");
			attr(filter, "height", "70");
			attr(filter, "filterUnits", "userSpaceOnUse");
			attr(filter, "color-interpolation-filters", "sRGB");
			attr(svg, "width", "70");
			attr(svg, "height", "71");
			attr(svg, "viewBox", "0 0 70 71");
			attr(svg, "fill", "none");
			attr(svg, "xmlns", "http://www.w3.org/2000/svg");
		},
		m(target, anchor) {
			insert(target, svg, anchor);
			append(svg, g);
			append(g, circle);
			append(svg, path);
			append(svg, defs);
			append(defs, filter);
			append(filter, feFlood);
			append(filter, feBlend);
			append(filter, feGaussianBlur);
		},
		p(ctx, [dirty]) {
			if (dirty & /*color*/ 1) {
				attr(circle, "fill", /*color*/ ctx[0]);
			}

			if (dirty & /*color*/ 1) {
				attr(path, "stroke", /*color*/ ctx[0]);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(svg);
		}
	};
}

function paw_rating_icon_index_svelte_instance($$self, $$props, $$invalidate) {
	let { color = '#FFFFFF' } = $$props;

	$$self.$$set = $$props => {
		if ('color' in $$props) $$invalidate(0, color = $$props.color);
	};

	return [color];
}

class Paw_rating_icon extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, paw_rating_icon_index_svelte_instance, paw_rating_icon_index_svelte_create_fragment, safe_not_equal, { color: 0 });
	}
}

/* harmony default export */ const paw_rating_icon_index_svelte = (Paw_rating_icon);
;// CONCATENATED MODULE: ./src/views/job-contracts/rating/base-layout/img/RangeIcon.png
const RangeIcon_namespaceObject = __webpack_require__.p + "assets/81cc7790fd4c0b08e55e.webp";
;// CONCATENATED MODULE: ./src/views/job-contracts/rating/base-layout/components/player-info-logo/index.svelte
/* src\views\job-contracts\rating\base-layout\components\player-info-logo\index.svelte generated by Svelte v3.49.0 */




function player_info_logo_index_svelte_add_css(target) {
	append_styles(target, "svelte-1esbkmu", "@keyframes svelte-1esbkmu-blinking{50%{opacity:0}}@keyframes svelte-1esbkmu-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1esbkmu-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1esbkmu-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1esbkmu-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1esbkmu-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1esbkmu-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1esbkmu-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1esbkmu-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1esbkmu-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1esbkmu-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1esbkmu-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1esbkmu-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1esbkmu-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1esbkmu-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.job-contracts-decorative-stats-hunting.svelte-1esbkmu{margin-bottom:calc(0.03125 * 100vw + 0px);margin-right:calc(0.0390625 * 100vw + 0px);width:calc(0.0671875 * 100vw + 0px);height:calc(0.0625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-decorative-stats-hunting.svelte-1esbkmu{margin-bottom:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-decorative-stats-hunting.svelte-1esbkmu{margin-bottom:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-decorative-stats-hunting.svelte-1esbkmu{margin-bottom:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-decorative-stats-hunting.svelte-1esbkmu{margin-bottom:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-decorative-stats-hunting.svelte-1esbkmu{margin-bottom:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-decorative-stats-hunting.svelte-1esbkmu{margin-bottom:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-decorative-stats-hunting.svelte-1esbkmu{margin-bottom:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-decorative-stats-hunting.svelte-1esbkmu{margin-right:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-decorative-stats-hunting.svelte-1esbkmu{margin-right:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-decorative-stats-hunting.svelte-1esbkmu{margin-right:calc(0.030078125 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-decorative-stats-hunting.svelte-1esbkmu{margin-right:calc(0.04296875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-decorative-stats-hunting.svelte-1esbkmu{margin-right:calc(0.02734375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-decorative-stats-hunting.svelte-1esbkmu{margin-right:calc(0.03515625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-decorative-stats-hunting.svelte-1esbkmu{margin-right:calc(0.04296875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-decorative-stats-hunting.svelte-1esbkmu{width:calc(0.0671875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-decorative-stats-hunting.svelte-1esbkmu{width:calc(0.0671875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-decorative-stats-hunting.svelte-1esbkmu{width:calc(0.051734375 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-decorative-stats-hunting.svelte-1esbkmu{width:calc(0.07390625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-decorative-stats-hunting.svelte-1esbkmu{width:calc(0.04703125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-decorative-stats-hunting.svelte-1esbkmu{width:calc(0.06046875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-decorative-stats-hunting.svelte-1esbkmu{width:calc(0.07390625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-decorative-stats-hunting.svelte-1esbkmu{height:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-decorative-stats-hunting.svelte-1esbkmu{height:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-decorative-stats-hunting.svelte-1esbkmu{height:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-decorative-stats-hunting.svelte-1esbkmu{height:calc(0.06875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-decorative-stats-hunting.svelte-1esbkmu{height:calc(0.04375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-decorative-stats-hunting.svelte-1esbkmu{height:calc(0.05625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-decorative-stats-hunting.svelte-1esbkmu{height:calc(0.06875 * 100vw + 0px)}}");
}

function player_info_logo_index_svelte_create_fragment(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "job-contracts-decorative-stats-hunting svelte-1esbkmu");
			if (!src_url_equal(img.src, img_src_value = RangeIcon_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "RangeIcon");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

class Player_info_logo extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, player_info_logo_index_svelte_create_fragment, safe_not_equal, {}, player_info_logo_index_svelte_add_css);
	}
}

/* harmony default export */ const player_info_logo_index_svelte = (Player_info_logo);
;// CONCATENATED MODULE: ./src/views/job-contracts/rating/base-layout/img/PostmanIcon.png
const PostmanIcon_namespaceObject = __webpack_require__.p + "assets/17eba4b1368a216bb765.webp";
;// CONCATENATED MODULE: ./src/views/job-contracts/rating/base-layout/components/postman-info-logo/index.svelte
/* src\views\job-contracts\rating\base-layout\components\postman-info-logo\index.svelte generated by Svelte v3.49.0 */




function postman_info_logo_index_svelte_add_css(target) {
	append_styles(target, "svelte-qjy3ad", "@keyframes svelte-qjy3ad-blinking{50%{opacity:0}}@keyframes svelte-qjy3ad-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-qjy3ad-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-qjy3ad-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-qjy3ad-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-qjy3ad-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-qjy3ad-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-qjy3ad-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-qjy3ad-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-qjy3ad-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-qjy3ad-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-qjy3ad-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-qjy3ad-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-qjy3ad-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-qjy3ad-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.job-contracts-decorative-stats-postman.svelte-qjy3ad{margin-bottom:calc(0.03125 * 100vw + 0px);margin-right:calc(0.0151041667 * 100vw + 0px);width:calc(0.0520833333 * 100vw + 0px);height:calc(0.0520833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-decorative-stats-postman.svelte-qjy3ad{margin-bottom:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-decorative-stats-postman.svelte-qjy3ad{margin-bottom:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-decorative-stats-postman.svelte-qjy3ad{margin-bottom:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-decorative-stats-postman.svelte-qjy3ad{margin-bottom:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-decorative-stats-postman.svelte-qjy3ad{margin-bottom:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-decorative-stats-postman.svelte-qjy3ad{margin-bottom:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-decorative-stats-postman.svelte-qjy3ad{margin-bottom:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-decorative-stats-postman.svelte-qjy3ad{margin-right:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-decorative-stats-postman.svelte-qjy3ad{margin-right:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-decorative-stats-postman.svelte-qjy3ad{margin-right:calc(0.0116302083 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-decorative-stats-postman.svelte-qjy3ad{margin-right:calc(0.0166145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-decorative-stats-postman.svelte-qjy3ad{margin-right:calc(0.0105729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-decorative-stats-postman.svelte-qjy3ad{margin-right:calc(0.01359375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-decorative-stats-postman.svelte-qjy3ad{margin-right:calc(0.0166145833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-decorative-stats-postman.svelte-qjy3ad{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-decorative-stats-postman.svelte-qjy3ad{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-decorative-stats-postman.svelte-qjy3ad{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-decorative-stats-postman.svelte-qjy3ad{width:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-decorative-stats-postman.svelte-qjy3ad{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-decorative-stats-postman.svelte-qjy3ad{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-decorative-stats-postman.svelte-qjy3ad{width:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-decorative-stats-postman.svelte-qjy3ad{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-decorative-stats-postman.svelte-qjy3ad{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-decorative-stats-postman.svelte-qjy3ad{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-decorative-stats-postman.svelte-qjy3ad{height:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-decorative-stats-postman.svelte-qjy3ad{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-decorative-stats-postman.svelte-qjy3ad{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-decorative-stats-postman.svelte-qjy3ad{height:calc(0.0572916667 * 100vw + 0px)}}");
}

function postman_info_logo_index_svelte_create_fragment(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "job-contracts-decorative-stats-postman svelte-qjy3ad");
			if (!src_url_equal(img.src, img_src_value = PostmanIcon_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "Postman");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

class Postman_info_logo extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, postman_info_logo_index_svelte_create_fragment, safe_not_equal, {}, postman_info_logo_index_svelte_add_css);
	}
}

/* harmony default export */ const postman_info_logo_index_svelte = (Postman_info_logo);
;// CONCATENATED MODULE: ./src/views/job-contracts/rating/base-layout/img/RatingBackgroundHunt.png
const RatingBackgroundHunt_namespaceObject = __webpack_require__.p + "assets/60eceb348f25090a6c00.webp";
;// CONCATENATED MODULE: ./src/views/job-contracts/rating/base-layout/components/rating-background-hunt/index.svelte
/* src\views\job-contracts\rating\base-layout\components\rating-background-hunt\index.svelte generated by Svelte v3.49.0 */




function rating_background_hunt_index_svelte_add_css(target) {
	append_styles(target, "svelte-1v6acxj", "@keyframes svelte-1v6acxj-blinking{50%{opacity:0}}@keyframes svelte-1v6acxj-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1v6acxj-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1v6acxj-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1v6acxj-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1v6acxj-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1v6acxj-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1v6acxj-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1v6acxj-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1v6acxj-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1v6acxj-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1v6acxj-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1v6acxj-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1v6acxj-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1v6acxj-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.job-contracts-decorative-hunting-rating.svelte-1v6acxj{position:absolute;right:0;bottom:0;height:calc(0.4348958333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-decorative-hunting-rating.svelte-1v6acxj{height:calc(0.4348958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-decorative-hunting-rating.svelte-1v6acxj{height:calc(0.4348958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-decorative-hunting-rating.svelte-1v6acxj{height:calc(0.3348697917 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-decorative-hunting-rating.svelte-1v6acxj{height:calc(0.4783854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-decorative-hunting-rating.svelte-1v6acxj{height:calc(0.3044270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-decorative-hunting-rating.svelte-1v6acxj{height:calc(0.39140625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-decorative-hunting-rating.svelte-1v6acxj{height:calc(0.4783854167 * 100vw + 0px)}}");
}

function rating_background_hunt_index_svelte_create_fragment(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "job-contracts-decorative-hunting-rating svelte-1v6acxj");
			if (!src_url_equal(img.src, img_src_value = RatingBackgroundHunt_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "RatingBackgroundHunt");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

class Rating_background_hunt extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, rating_background_hunt_index_svelte_create_fragment, safe_not_equal, {}, rating_background_hunt_index_svelte_add_css);
	}
}

/* harmony default export */ const rating_background_hunt_index_svelte = (Rating_background_hunt);
;// CONCATENATED MODULE: ./src/views/job-contracts/rating/base-layout/img/RatingBackgroundFish.png
const RatingBackgroundFish_namespaceObject = __webpack_require__.p + "assets/c76e54a5384570812282.webp";
;// CONCATENATED MODULE: ./src/views/job-contracts/rating/base-layout/components/rating-background-fish/index.svelte
/* src\views\job-contracts\rating\base-layout\components\rating-background-fish\index.svelte generated by Svelte v3.49.0 */




function rating_background_fish_index_svelte_add_css(target) {
	append_styles(target, "svelte-km8ziu", "@keyframes svelte-km8ziu-blinking{50%{opacity:0}}@keyframes svelte-km8ziu-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-km8ziu-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-km8ziu-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-km8ziu-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-km8ziu-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-km8ziu-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-km8ziu-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-km8ziu-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-km8ziu-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-km8ziu-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-km8ziu-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-km8ziu-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-km8ziu-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-km8ziu-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.job-contracts-decorative-fishing-rating.svelte-km8ziu{position:absolute;right:0;bottom:0;height:calc(0.5151041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-decorative-fishing-rating.svelte-km8ziu{height:calc(0.5151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-decorative-fishing-rating.svelte-km8ziu{height:calc(0.5151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-decorative-fishing-rating.svelte-km8ziu{height:calc(0.3966302083 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-decorative-fishing-rating.svelte-km8ziu{height:calc(0.5666145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-decorative-fishing-rating.svelte-km8ziu{height:calc(0.3605729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-decorative-fishing-rating.svelte-km8ziu{height:calc(0.46359375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-decorative-fishing-rating.svelte-km8ziu{height:calc(0.5666145833 * 100vw + 0px)}}");
}

function rating_background_fish_index_svelte_create_fragment(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "job-contracts-decorative-fishing-rating svelte-km8ziu");
			if (!src_url_equal(img.src, img_src_value = RatingBackgroundFish_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "RatingBackgroundFish");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

class Rating_background_fish extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, rating_background_fish_index_svelte_create_fragment, safe_not_equal, {}, rating_background_fish_index_svelte_add_css);
	}
}

/* harmony default export */ const rating_background_fish_index_svelte = (Rating_background_fish);
;// CONCATENATED MODULE: ./src/views/job-contracts/rating/base-layout/img/RatingBackgroundPostman.png
const RatingBackgroundPostman_namespaceObject = __webpack_require__.p + "assets/e3c3ede161ff8df321c4.webp";
;// CONCATENATED MODULE: ./src/views/job-contracts/rating/base-layout/components/rating-background-postman/index.svelte
/* src\views\job-contracts\rating\base-layout\components\rating-background-postman\index.svelte generated by Svelte v3.49.0 */




function rating_background_postman_index_svelte_add_css(target) {
	append_styles(target, "svelte-yjy2ba", "@keyframes svelte-yjy2ba-blinking{50%{opacity:0}}@keyframes svelte-yjy2ba-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-yjy2ba-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-yjy2ba-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-yjy2ba-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-yjy2ba-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-yjy2ba-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-yjy2ba-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-yjy2ba-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-yjy2ba-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-yjy2ba-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-yjy2ba-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-yjy2ba-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-yjy2ba-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-yjy2ba-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.job-contracts-decorative-postman-rating.svelte-yjy2ba{position:absolute;width:100%;height:100%}");
}

function rating_background_postman_index_svelte_create_fragment(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "job-contracts-decorative-postman-rating svelte-yjy2ba");
			if (!src_url_equal(img.src, img_src_value = RatingBackgroundPostman_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "RatingBackgroundPostman");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

class Rating_background_postman extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, rating_background_postman_index_svelte_create_fragment, safe_not_equal, {}, rating_background_postman_index_svelte_add_css);
	}
}

/* harmony default export */ const rating_background_postman_index_svelte = (Rating_background_postman);
;// CONCATENATED MODULE: ./src/views/job-contracts/rating/base-layout/constants.js
function rating_base_layout_constants_typeof(o) { "@babel/helpers - typeof"; return rating_base_layout_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, rating_base_layout_constants_typeof(o); }
function rating_base_layout_constants_defineProperty(e, r, t) { return (r = rating_base_layout_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function rating_base_layout_constants_toPropertyKey(t) { var i = rating_base_layout_constants_toPrimitive(t, "string"); return "symbol" == rating_base_layout_constants_typeof(i) ? i : i + ""; }
function rating_base_layout_constants_toPrimitive(t, r) { if ("object" != rating_base_layout_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != rating_base_layout_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }








var RATING_PLAYER_MISC = rating_base_layout_constants_defineProperty(rating_base_layout_constants_defineProperty(rating_base_layout_constants_defineProperty({}, JobContractType.Hunting, {
  logo: player_info_logo_index_svelte,
  titleScore: 'Набирайте очки охотника, чтобы повышать свое',
  titleRating: 'рейтинга охотничего дела'
}), JobContractType.Fishing, {
  logo: player_info_logo_index_svelte,
  titleScore: 'Набирайте очки рыболова, чтобы повышать свое',
  titleRating: 'рейтинга рыболовного дела'
}), JobContractType.Postman, {
  logo: postman_info_logo_index_svelte,
  titleScore: 'Набирайте очки почтальона, чтобы повышать свое',
  titleRating: 'рейтинга почтальонов'
});
var RATING_STATS_IMG = rating_base_layout_constants_defineProperty(rating_base_layout_constants_defineProperty(rating_base_layout_constants_defineProperty({}, JobContractType.Hunting, {
  icon: paw_namespaceObject,
  title: 'Охотничее дело',
  background: rating_background_hunt_index_svelte
}), JobContractType.Fishing, {
  icon: fishlvl_namespaceObject,
  title: 'Рыболовное дело',
  background: rating_background_fish_index_svelte
}), JobContractType.Postman, {
  title: 'Лучшие почтальоны',
  background: rating_background_postman_index_svelte
});
var MAP_TYPE_TO_RATING_TITLE = rating_base_layout_constants_defineProperty(rating_base_layout_constants_defineProperty(rating_base_layout_constants_defineProperty({}, JobContractType.Hunting, {
  title: 'Рейтинг'
}), JobContractType.Fishing, {
  title: 'Рейтинг'
}), JobContractType.Postman, {
  title: 'Рейтинг почтальонов'
});
;// CONCATENATED MODULE: ./src/views/job-contracts/rating/base-layout/index.svelte
/* src\views\job-contracts\rating\base-layout\index.svelte generated by Svelte v3.49.0 */













function rating_base_layout_index_svelte_add_css(target) {
	append_styles(target, "svelte-845ewb", "@charset \"UTF-8\";@keyframes svelte-845ewb-blinking{50%{opacity:0}}@keyframes svelte-845ewb-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-845ewb-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-845ewb-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-845ewb-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-845ewb-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-845ewb-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-845ewb-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-845ewb-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-845ewb-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-845ewb-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-845ewb-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-845ewb-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-845ewb-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-845ewb-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.job-contracts-rating.svelte-845ewb{display:flex;align-items:center;flex-direction:column;width:100vw;height:100vh}.job-contracts-rating__title.svelte-845ewb{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.01875 * 100vw + 0px);margin-top:calc(0.0447916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__title.svelte-845ewb{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__title.svelte-845ewb{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__title.svelte-845ewb{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__title.svelte-845ewb{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__title.svelte-845ewb{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__title.svelte-845ewb{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__title.svelte-845ewb{font-size:calc(0.020625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__title.svelte-845ewb{margin-top:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__title.svelte-845ewb{margin-top:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__title.svelte-845ewb{margin-top:calc(0.0344895833 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__title.svelte-845ewb{margin-top:calc(0.0492708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__title.svelte-845ewb{margin-top:calc(0.0313541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__title.svelte-845ewb{margin-top:calc(0.0403125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__title.svelte-845ewb{margin-top:calc(0.0492708333 * 100vw + 0px)}}.job-contracts-rating__logo.svelte-845ewb{position:absolute;display:flex;align-items:center;top:calc(0.0416666667 * 100vw + 0px);left:calc(0.03125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__logo.svelte-845ewb{top:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__logo.svelte-845ewb{top:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__logo.svelte-845ewb{top:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__logo.svelte-845ewb{top:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__logo.svelte-845ewb{top:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__logo.svelte-845ewb{top:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__logo.svelte-845ewb{top:calc(0.0458333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__logo.svelte-845ewb{left:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__logo.svelte-845ewb{left:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__logo.svelte-845ewb{left:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__logo.svelte-845ewb{left:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__logo.svelte-845ewb{left:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__logo.svelte-845ewb{left:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__logo.svelte-845ewb{left:calc(0.034375 * 100vw + 0px)}}.job-contracts-rating__logo-icon.svelte-845ewb{height:calc(0.0390625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__logo-icon.svelte-845ewb{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__logo-icon.svelte-845ewb{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__logo-icon.svelte-845ewb{height:calc(0.030078125 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__logo-icon.svelte-845ewb{height:calc(0.04296875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__logo-icon.svelte-845ewb{height:calc(0.02734375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__logo-icon.svelte-845ewb{height:calc(0.03515625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__logo-icon.svelte-845ewb{height:calc(0.04296875 * 100vw + 0px)}}.job-contracts-rating__logo-title.svelte-845ewb{color:#FFFFFF;font-family:\"GothamPro-Bold\";padding-left:calc(0.0130208333 * 100vw + 0px);width:calc(0.0729166667 * 100vw + 0px);line-height:calc(0.0098958333 * 100vw + 0px);font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__logo-title.svelte-845ewb{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__logo-title.svelte-845ewb{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__logo-title.svelte-845ewb{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__logo-title.svelte-845ewb{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__logo-title.svelte-845ewb{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__logo-title.svelte-845ewb{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__logo-title.svelte-845ewb{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__logo-title.svelte-845ewb{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__logo-title.svelte-845ewb{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__logo-title.svelte-845ewb{width:calc(0.0561458333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__logo-title.svelte-845ewb{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__logo-title.svelte-845ewb{width:calc(0.0510416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__logo-title.svelte-845ewb{width:calc(0.065625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__logo-title.svelte-845ewb{width:calc(0.0802083333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__logo-title.svelte-845ewb{line-height:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__logo-title.svelte-845ewb{line-height:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__logo-title.svelte-845ewb{line-height:calc(0.0076197917 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__logo-title.svelte-845ewb{line-height:calc(0.0108854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__logo-title.svelte-845ewb{line-height:calc(0.0069270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__logo-title.svelte-845ewb{line-height:calc(0.00890625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__logo-title.svelte-845ewb{line-height:calc(0.0108854167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__logo-title.svelte-845ewb{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__logo-title.svelte-845ewb{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__logo-title.svelte-845ewb{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__logo-title.svelte-845ewb{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__logo-title.svelte-845ewb{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__logo-title.svelte-845ewb{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__logo-title.svelte-845ewb{font-size:calc(0.0114583333 * 100vw + 0px)}}.job-contracts-rating__player-rank-wrapper.svelte-845ewb{display:flex;flex-direction:row;align-items:center;position:absolute;left:calc(0.0604166667 * 100vw + 0px);top:calc(0.2213541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__player-rank-wrapper.svelte-845ewb{left:calc(0.0604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__player-rank-wrapper.svelte-845ewb{left:calc(0.0604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__player-rank-wrapper.svelte-845ewb{left:calc(0.0465208333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__player-rank-wrapper.svelte-845ewb{left:calc(0.0664583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__player-rank-wrapper.svelte-845ewb{left:calc(0.0422916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__player-rank-wrapper.svelte-845ewb{left:calc(0.054375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__player-rank-wrapper.svelte-845ewb{left:calc(0.0664583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__player-rank-wrapper.svelte-845ewb{top:calc(0.2213541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__player-rank-wrapper.svelte-845ewb{top:calc(0.2213541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__player-rank-wrapper.svelte-845ewb{top:calc(0.1704427083 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__player-rank-wrapper.svelte-845ewb{top:calc(0.2434895833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__player-rank-wrapper.svelte-845ewb{top:calc(0.1549479167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__player-rank-wrapper.svelte-845ewb{top:calc(0.19921875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__player-rank-wrapper.svelte-845ewb{top:calc(0.2434895833 * 100vw + 0px)}}.job-contracts-rating__player-rank-title.svelte-845ewb{display:flex;justify-content:space-between;align-items:center}.job-contracts-rating__player-rank-name.svelte-845ewb{font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.021875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__player-rank-name.svelte-845ewb{font-size:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__player-rank-name.svelte-845ewb{font-size:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__player-rank-name.svelte-845ewb{font-size:calc(0.01684375 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__player-rank-name.svelte-845ewb{font-size:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__player-rank-name.svelte-845ewb{font-size:calc(0.0153125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__player-rank-name.svelte-845ewb{font-size:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__player-rank-name.svelte-845ewb{font-size:calc(0.0240625 * 100vw + 0px)}}.job-contracts-rating__player-score.svelte-845ewb{display:flex;flex-direction:column;align-items:center;text-align:center}.job-contracts-rating__player-score-num.svelte-845ewb{font-family:\"GothamPro-Medium\";background-color:rgba(255, 255, 255, 0.1);color:#FFFFFF;border-radius:calc(0.0130208333 * 100vw + 0px);font-size:calc(0.0104166667 * 100vw + 0px);padding-top:calc(0.0072916667 * 100vw + 0px);padding-bottom:calc(0.0072916667 * 100vw + 0px);width:calc(0.0494791667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__player-score-num.svelte-845ewb{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__player-score-num.svelte-845ewb{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__player-score-num.svelte-845ewb{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__player-score-num.svelte-845ewb{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__player-score-num.svelte-845ewb{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__player-score-num.svelte-845ewb{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__player-score-num.svelte-845ewb{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__player-score-num.svelte-845ewb{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__player-score-num.svelte-845ewb{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__player-score-num.svelte-845ewb{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__player-score-num.svelte-845ewb{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__player-score-num.svelte-845ewb{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__player-score-num.svelte-845ewb{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__player-score-num.svelte-845ewb{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__player-score-num.svelte-845ewb{padding-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__player-score-num.svelte-845ewb{padding-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__player-score-num.svelte-845ewb{padding-top:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__player-score-num.svelte-845ewb{padding-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__player-score-num.svelte-845ewb{padding-top:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__player-score-num.svelte-845ewb{padding-top:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__player-score-num.svelte-845ewb{padding-top:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__player-score-num.svelte-845ewb{padding-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__player-score-num.svelte-845ewb{padding-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__player-score-num.svelte-845ewb{padding-bottom:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__player-score-num.svelte-845ewb{padding-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__player-score-num.svelte-845ewb{padding-bottom:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__player-score-num.svelte-845ewb{padding-bottom:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__player-score-num.svelte-845ewb{padding-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__player-score-num.svelte-845ewb{width:calc(0.0494791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__player-score-num.svelte-845ewb{width:calc(0.0494791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__player-score-num.svelte-845ewb{width:calc(0.0380989583 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__player-score-num.svelte-845ewb{width:calc(0.0544270833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__player-score-num.svelte-845ewb{width:calc(0.0346354167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__player-score-num.svelte-845ewb{width:calc(0.04453125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__player-score-num.svelte-845ewb{width:calc(0.0544270833 * 100vw + 0px)}}.job-contracts-rating__player-score-place.svelte-845ewb{text-align:center;text-transform:uppercase;color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.0052083333 * 100vw + 0px);line-height:calc(0.0052083333 * 100vw + 0px);margin-top:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__player-score-place.svelte-845ewb{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__player-score-place.svelte-845ewb{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__player-score-place.svelte-845ewb{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__player-score-place.svelte-845ewb{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__player-score-place.svelte-845ewb{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__player-score-place.svelte-845ewb{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__player-score-place.svelte-845ewb{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__player-score-place.svelte-845ewb{line-height:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__player-score-place.svelte-845ewb{line-height:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__player-score-place.svelte-845ewb{line-height:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__player-score-place.svelte-845ewb{line-height:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__player-score-place.svelte-845ewb{line-height:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__player-score-place.svelte-845ewb{line-height:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__player-score-place.svelte-845ewb{line-height:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__player-score-place.svelte-845ewb{margin-top:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__player-score-place.svelte-845ewb{margin-top:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__player-score-place.svelte-845ewb{margin-top:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__player-score-place.svelte-845ewb{margin-top:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__player-score-place.svelte-845ewb{margin-top:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__player-score-place.svelte-845ewb{margin-top:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__player-score-place.svelte-845ewb{margin-top:calc(0.006875 * 100vw + 0px)}}.job-contracts-rating__player-rank-progress.svelte-845ewb{display:flex;align-items:center;position:relative;background-color:rgba(255, 255, 255, 0.2);overflow:hidden;margin-top:calc(0.0114583333 * 100vw + 0px);margin-bottom:calc(0.0104166667 * 100vw + 0px);width:calc(0.2604166667 * 100vw + 0px);height:calc(0.0052083333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__player-rank-progress.svelte-845ewb{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__player-rank-progress.svelte-845ewb{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__player-rank-progress.svelte-845ewb{margin-top:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__player-rank-progress.svelte-845ewb{margin-top:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__player-rank-progress.svelte-845ewb{margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__player-rank-progress.svelte-845ewb{margin-top:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__player-rank-progress.svelte-845ewb{margin-top:calc(0.0126041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__player-rank-progress.svelte-845ewb{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__player-rank-progress.svelte-845ewb{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__player-rank-progress.svelte-845ewb{margin-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__player-rank-progress.svelte-845ewb{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__player-rank-progress.svelte-845ewb{margin-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__player-rank-progress.svelte-845ewb{margin-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__player-rank-progress.svelte-845ewb{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__player-rank-progress.svelte-845ewb{width:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__player-rank-progress.svelte-845ewb{width:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__player-rank-progress.svelte-845ewb{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__player-rank-progress.svelte-845ewb{width:calc(0.2864583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__player-rank-progress.svelte-845ewb{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__player-rank-progress.svelte-845ewb{width:calc(0.234375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__player-rank-progress.svelte-845ewb{width:calc(0.2864583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__player-rank-progress.svelte-845ewb{height:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__player-rank-progress.svelte-845ewb{height:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__player-rank-progress.svelte-845ewb{height:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__player-rank-progress.svelte-845ewb{height:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__player-rank-progress.svelte-845ewb{height:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__player-rank-progress.svelte-845ewb{height:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__player-rank-progress.svelte-845ewb{height:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__player-rank-progress.svelte-845ewb{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__player-rank-progress.svelte-845ewb{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__player-rank-progress.svelte-845ewb{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__player-rank-progress.svelte-845ewb{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__player-rank-progress.svelte-845ewb{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__player-rank-progress.svelte-845ewb{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__player-rank-progress.svelte-845ewb{border-radius:calc(0.0057291667 * 100vw + 0px)}}.job-contracts-rating__player-rank-progress-value.svelte-845ewb{background-color:#FFFFFF;position:absolute;left:0;height:100%;width:0}.job-contracts-rating__player-rank-info.svelte-845ewb{font-family:\"GothamPro\";color:rgba(255, 255, 255, 0.5);font-size:calc(0.009375 * 100vw + 0px);line-height:calc(0.0125 * 100vw + 0px);margin-top:calc(0.0260416667 * 100vw + 0px);width:calc(0.246875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__player-rank-info.svelte-845ewb{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__player-rank-info.svelte-845ewb{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__player-rank-info.svelte-845ewb{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__player-rank-info.svelte-845ewb{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__player-rank-info.svelte-845ewb{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__player-rank-info.svelte-845ewb{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__player-rank-info.svelte-845ewb{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__player-rank-info.svelte-845ewb{line-height:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__player-rank-info.svelte-845ewb{line-height:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__player-rank-info.svelte-845ewb{line-height:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__player-rank-info.svelte-845ewb{line-height:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__player-rank-info.svelte-845ewb{line-height:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__player-rank-info.svelte-845ewb{line-height:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__player-rank-info.svelte-845ewb{line-height:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__player-rank-info.svelte-845ewb{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__player-rank-info.svelte-845ewb{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__player-rank-info.svelte-845ewb{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__player-rank-info.svelte-845ewb{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__player-rank-info.svelte-845ewb{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__player-rank-info.svelte-845ewb{margin-top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__player-rank-info.svelte-845ewb{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__player-rank-info.svelte-845ewb{width:calc(0.246875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__player-rank-info.svelte-845ewb{width:calc(0.246875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__player-rank-info.svelte-845ewb{width:calc(0.19009375 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__player-rank-info.svelte-845ewb{width:calc(0.2715625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__player-rank-info.svelte-845ewb{width:calc(0.1728125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__player-rank-info.svelte-845ewb{width:calc(0.2221875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__player-rank-info.svelte-845ewb{width:calc(0.2715625 * 100vw + 0px)}}.job-contracts-rating__table-wrapper.svelte-845ewb{display:flex;flex-direction:column;position:absolute;right:calc(0.03125 * 100vw + 0px);top:calc(0.1302083333 * 100vw + 0px);width:calc(0.434375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__table-wrapper.svelte-845ewb{right:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__table-wrapper.svelte-845ewb{right:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__table-wrapper.svelte-845ewb{right:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__table-wrapper.svelte-845ewb{right:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__table-wrapper.svelte-845ewb{right:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__table-wrapper.svelte-845ewb{right:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__table-wrapper.svelte-845ewb{right:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__table-wrapper.svelte-845ewb{top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__table-wrapper.svelte-845ewb{top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__table-wrapper.svelte-845ewb{top:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__table-wrapper.svelte-845ewb{top:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__table-wrapper.svelte-845ewb{top:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__table-wrapper.svelte-845ewb{top:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__table-wrapper.svelte-845ewb{top:calc(0.1432291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__table-wrapper.svelte-845ewb{width:calc(0.434375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__table-wrapper.svelte-845ewb{width:calc(0.434375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__table-wrapper.svelte-845ewb{width:calc(0.33446875 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__table-wrapper.svelte-845ewb{width:calc(0.4778125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__table-wrapper.svelte-845ewb{width:calc(0.3040625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__table-wrapper.svelte-845ewb{width:calc(0.3909375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__table-wrapper.svelte-845ewb{width:calc(0.4778125 * 100vw + 0px)}}.job-contracts-rating__table-title.svelte-845ewb{font-family:\"GothamPro-Bold\";color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px);margin-left:calc(0.003125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__table-title.svelte-845ewb{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__table-title.svelte-845ewb{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__table-title.svelte-845ewb{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__table-title.svelte-845ewb{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__table-title.svelte-845ewb{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__table-title.svelte-845ewb{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__table-title.svelte-845ewb{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__table-title.svelte-845ewb{margin-left:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__table-title.svelte-845ewb{margin-left:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__table-title.svelte-845ewb{margin-left:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__table-title.svelte-845ewb{margin-left:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__table-title.svelte-845ewb{margin-left:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__table-title.svelte-845ewb{margin-left:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__table-title.svelte-845ewb{margin-left:calc(0.0034375 * 100vw + 0px)}}.job-contracts-rating__table.svelte-845ewb{margin-top:calc(0.0130208333 * 100vw + 0px);height:calc(0.3046875 * 100vw + 0px);overflow:auto}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__table.svelte-845ewb{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__table.svelte-845ewb{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__table.svelte-845ewb{margin-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__table.svelte-845ewb{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__table.svelte-845ewb{margin-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__table.svelte-845ewb{margin-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__table.svelte-845ewb{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__table.svelte-845ewb{height:calc(0.3046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__table.svelte-845ewb{height:calc(0.3046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__table.svelte-845ewb{height:calc(0.234609375 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__table.svelte-845ewb{height:calc(0.33515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__table.svelte-845ewb{height:calc(0.21328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__table.svelte-845ewb{height:calc(0.27421875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__table.svelte-845ewb{height:calc(0.33515625 * 100vw + 0px)}}.job-contracts-rating__table.svelte-845ewb::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__table.svelte-845ewb::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__table.svelte-845ewb::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__table.svelte-845ewb::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__table.svelte-845ewb::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__table.svelte-845ewb::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__table.svelte-845ewb::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__table.svelte-845ewb::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__table.svelte-845ewb::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__table.svelte-845ewb::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__table.svelte-845ewb::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__table.svelte-845ewb::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__table.svelte-845ewb::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__table.svelte-845ewb::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__table.svelte-845ewb::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.job-contracts-rating__table.svelte-845ewb::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__table.svelte-845ewb::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__table.svelte-845ewb::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__table.svelte-845ewb::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__table.svelte-845ewb::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__table.svelte-845ewb::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__table.svelte-845ewb::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__table.svelte-845ewb::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.job-contracts-rating__table.svelte-845ewb::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__table.svelte-845ewb::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__table.svelte-845ewb::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__table.svelte-845ewb::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__table.svelte-845ewb::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__table.svelte-845ewb::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__table.svelte-845ewb::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__table.svelte-845ewb::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}.job-contracts-rating__table-rating-logo.svelte-845ewb{display:flex;align-items:center;margin-left:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__table-rating-logo.svelte-845ewb{margin-left:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__table-rating-logo.svelte-845ewb{margin-left:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__table-rating-logo.svelte-845ewb{margin-left:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__table-rating-logo.svelte-845ewb{margin-left:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__table-rating-logo.svelte-845ewb{margin-left:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__table-rating-logo.svelte-845ewb{margin-left:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__table-rating-logo.svelte-845ewb{margin-left:calc(0.0091666667 * 100vw + 0px)}}.job-contracts-rating__table-player.svelte-845ewb{display:flex;justify-content:flex-start;align-items:center;height:calc(0.0177083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__table-player.svelte-845ewb{height:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__table-player.svelte-845ewb{height:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__table-player.svelte-845ewb{height:calc(0.0136354167 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__table-player.svelte-845ewb{height:calc(0.0194791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__table-player.svelte-845ewb{height:calc(0.0123958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__table-player.svelte-845ewb{height:calc(0.0159375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__table-player.svelte-845ewb{height:calc(0.0194791667 * 100vw + 0px)}}.job-contracts-rating__table-player.svelte-845ewb:first-child{margin-top:calc(0.0015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__table-player.svelte-845ewb:first-child{margin-top:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__table-player.svelte-845ewb:first-child{margin-top:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__table-player.svelte-845ewb:first-child{margin-top:calc(0.001203125 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__table-player.svelte-845ewb:first-child{margin-top:calc(0.00171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__table-player.svelte-845ewb:first-child{margin-top:calc(0.00109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__table-player.svelte-845ewb:first-child{margin-top:calc(0.00140625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__table-player.svelte-845ewb:first-child{margin-top:calc(0.00171875 * 100vw + 0px)}}.job-contracts-rating__table-player.svelte-845ewb:not(:first-child){margin-top:calc(0.0135416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__table-player.svelte-845ewb:not(:first-child){margin-top:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__table-player.svelte-845ewb:not(:first-child){margin-top:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__table-player.svelte-845ewb:not(:first-child){margin-top:calc(0.0104270833 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__table-player.svelte-845ewb:not(:first-child){margin-top:calc(0.0148958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__table-player.svelte-845ewb:not(:first-child){margin-top:calc(0.0094791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__table-player.svelte-845ewb:not(:first-child){margin-top:calc(0.0121875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__table-player.svelte-845ewb:not(:first-child){margin-top:calc(0.0148958333 * 100vw + 0px)}}.job-contracts-rating__player-position.svelte-845ewb{display:flex;justify-content:center;align-items:center;position:relative;width:calc(0.0364583333 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__player-position.svelte-845ewb{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__player-position.svelte-845ewb{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__player-position.svelte-845ewb{width:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__player-position.svelte-845ewb{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__player-position.svelte-845ewb{width:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__player-position.svelte-845ewb{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__player-position.svelte-845ewb{width:calc(0.0401041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__player-position.svelte-845ewb{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__player-position.svelte-845ewb{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__player-position.svelte-845ewb{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__player-position.svelte-845ewb{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__player-position.svelte-845ewb{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__player-position.svelte-845ewb{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__player-position.svelte-845ewb{height:calc(0.0286458333 * 100vw + 0px)}}.job-contracts-rating__position-wrapper.svelte-845ewb{position:absolute;background-color:rgba(255, 255, 255, 0.1);border-radius:50%;width:calc(0.015625 * 100vw + 0px);height:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__position-wrapper.svelte-845ewb{width:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__position-wrapper.svelte-845ewb{width:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__position-wrapper.svelte-845ewb{width:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__position-wrapper.svelte-845ewb{width:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__position-wrapper.svelte-845ewb{width:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__position-wrapper.svelte-845ewb{width:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__position-wrapper.svelte-845ewb{width:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__position-wrapper.svelte-845ewb{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__position-wrapper.svelte-845ewb{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__position-wrapper.svelte-845ewb{height:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__position-wrapper.svelte-845ewb{height:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__position-wrapper.svelte-845ewb{height:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__position-wrapper.svelte-845ewb{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__position-wrapper.svelte-845ewb{height:calc(0.0171875 * 100vw + 0px)}}.job-contracts-rating__position-star-wrapper.svelte-845ewb{display:flex;align-items:center;justify-content:center;position:absolute;width:calc(0.0364583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__position-star-wrapper.svelte-845ewb{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__position-star-wrapper.svelte-845ewb{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__position-star-wrapper.svelte-845ewb{width:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__position-star-wrapper.svelte-845ewb{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__position-star-wrapper.svelte-845ewb{width:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__position-star-wrapper.svelte-845ewb{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__position-star-wrapper.svelte-845ewb{width:calc(0.0401041667 * 100vw + 0px)}}.job-contracts-rating__position-value.svelte-845ewb{font-family:\"GothamPro-Bold\";color:#FFFFFF;z-index:1;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__position-value.svelte-845ewb{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__position-value.svelte-845ewb{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__position-value.svelte-845ewb{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__position-value.svelte-845ewb{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__position-value.svelte-845ewb{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__position-value.svelte-845ewb{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__position-value.svelte-845ewb{font-size:calc(0.0091666667 * 100vw + 0px)}}.job-contracts-rating__position-value--big.svelte-845ewb{font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__position-value--big.svelte-845ewb{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__position-value--big.svelte-845ewb{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__position-value--big.svelte-845ewb{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__position-value--big.svelte-845ewb{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__position-value--big.svelte-845ewb{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__position-value--big.svelte-845ewb{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__position-value--big.svelte-845ewb{font-size:calc(0.0114583333 * 100vw + 0px)}}.job-contracts-rating__position-player-name.svelte-845ewb{color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.0078125 * 100vw + 0px);margin-left:calc(0.0104166667 * 100vw + 0px);width:calc(0.1041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__position-player-name.svelte-845ewb{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__position-player-name.svelte-845ewb{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__position-player-name.svelte-845ewb{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__position-player-name.svelte-845ewb{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__position-player-name.svelte-845ewb{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__position-player-name.svelte-845ewb{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__position-player-name.svelte-845ewb{font-size:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__position-player-name.svelte-845ewb{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__position-player-name.svelte-845ewb{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__position-player-name.svelte-845ewb{margin-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__position-player-name.svelte-845ewb{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__position-player-name.svelte-845ewb{margin-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__position-player-name.svelte-845ewb{margin-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__position-player-name.svelte-845ewb{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__position-player-name.svelte-845ewb{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__position-player-name.svelte-845ewb{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__position-player-name.svelte-845ewb{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__position-player-name.svelte-845ewb{width:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__position-player-name.svelte-845ewb{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__position-player-name.svelte-845ewb{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__position-player-name.svelte-845ewb{width:calc(0.1145833333 * 100vw + 0px)}}.job-contracts-rating__position-score.svelte-845ewb{display:flex;flex-direction:column;font-family:\"GothamPro\";width:calc(0.09375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__position-score.svelte-845ewb{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__position-score.svelte-845ewb{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__position-score.svelte-845ewb{width:calc(0.0721875 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__position-score.svelte-845ewb{width:calc(0.103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__position-score.svelte-845ewb{width:calc(0.065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__position-score.svelte-845ewb{width:calc(0.084375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__position-score.svelte-845ewb{width:calc(0.103125 * 100vw + 0px)}}.job-contracts-rating__position-rank.svelte-845ewb{display:flex;flex-direction:column;font-family:\"GothamPro\";width:calc(0.0833333333 * 100vw + 0px);margin-left:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__position-rank.svelte-845ewb{width:calc(0.0833333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__position-rank.svelte-845ewb{width:calc(0.0833333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__position-rank.svelte-845ewb{width:calc(0.0641666667 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__position-rank.svelte-845ewb{width:calc(0.0916666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__position-rank.svelte-845ewb{width:calc(0.0583333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__position-rank.svelte-845ewb{width:calc(0.075 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__position-rank.svelte-845ewb{width:calc(0.0916666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__position-rank.svelte-845ewb{margin-left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__position-rank.svelte-845ewb{margin-left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__position-rank.svelte-845ewb{margin-left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__position-rank.svelte-845ewb{margin-left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__position-rank.svelte-845ewb{margin-left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__position-rank.svelte-845ewb{margin-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__position-rank.svelte-845ewb{margin-left:calc(0.0286458333 * 100vw + 0px)}}.job-contracts-rating__position-score-title.svelte-845ewb{color:#FFFFFF;font-size:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__position-score-title.svelte-845ewb{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__position-score-title.svelte-845ewb{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__position-score-title.svelte-845ewb{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__position-score-title.svelte-845ewb{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__position-score-title.svelte-845ewb{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__position-score-title.svelte-845ewb{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__position-score-title.svelte-845ewb{font-size:calc(0.00859375 * 100vw + 0px)}}.job-contracts-rating__position-score-descr.svelte-845ewb{color:rgba(255, 255, 255, 0.5);margin-top:calc(0.0026041667 * 100vw + 0px);font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__position-score-descr.svelte-845ewb{margin-top:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__position-score-descr.svelte-845ewb{margin-top:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__position-score-descr.svelte-845ewb{margin-top:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__position-score-descr.svelte-845ewb{margin-top:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__position-score-descr.svelte-845ewb{margin-top:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__position-score-descr.svelte-845ewb{margin-top:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__position-score-descr.svelte-845ewb{margin-top:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__position-score-descr.svelte-845ewb{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__position-score-descr.svelte-845ewb{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__position-score-descr.svelte-845ewb{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__position-score-descr.svelte-845ewb{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__position-score-descr.svelte-845ewb{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__position-score-descr.svelte-845ewb{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__position-score-descr.svelte-845ewb{font-size:calc(0.0057291667 * 100vw + 0px)}}.job-contracts-rating__table-player-stats.svelte-845ewb{position:relative;display:flex;align-items:center;background-color:rgba(255, 255, 255, 0.1);border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.4166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__table-player-stats.svelte-845ewb{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__table-player-stats.svelte-845ewb{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__table-player-stats.svelte-845ewb{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__table-player-stats.svelte-845ewb{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__table-player-stats.svelte-845ewb{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__table-player-stats.svelte-845ewb{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__table-player-stats.svelte-845ewb{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__table-player-stats.svelte-845ewb{width:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__table-player-stats.svelte-845ewb{width:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__table-player-stats.svelte-845ewb{width:calc(0.3208333333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__table-player-stats.svelte-845ewb{width:calc(0.4583333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__table-player-stats.svelte-845ewb{width:calc(0.2916666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__table-player-stats.svelte-845ewb{width:calc(0.375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__table-player-stats.svelte-845ewb{width:calc(0.4583333333 * 100vw + 0px)}}.job-contracts-rating__table-player-stats.svelte-845ewb::after{content:\"вы\";position:absolute;font-family:\"GothamPro-Medium\";display:flex;align-items:center;justify-content:center;color:#FFFFFF;background-color:#FF3737;border-radius:calc(0.0260416667 * 100vw + 0px);font-size:calc(0.0052083333 * 100vw + 0px);line-height:calc(0.003125 * 100vw + 0px);width:calc(0.0104166667 * 100vw + 0px);height:calc(0.0104166667 * 100vw + 0px);left:calc(-0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{border-radius:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{border-radius:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{border-radius:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{border-radius:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{border-radius:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{border-radius:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{border-radius:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{line-height:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{line-height:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{line-height:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{line-height:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{line-height:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{line-height:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{line-height:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{width:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{width:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{width:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{width:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{width:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{width:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{width:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{height:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{left:calc(-0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{left:calc(-0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{left:calc(-0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{left:calc(-0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{left:calc(-0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{left:calc(-0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__table-player-stats.svelte-845ewb::after{left:calc(-0.0057291667 * 100vw + 0px)}}.job-contracts-rating__decorative-rating-image.svelte-845ewb{width:calc(0.0104166667 * 100vw + 0px);height:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__decorative-rating-image.svelte-845ewb{width:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__decorative-rating-image.svelte-845ewb{width:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__decorative-rating-image.svelte-845ewb{width:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__decorative-rating-image.svelte-845ewb{width:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__decorative-rating-image.svelte-845ewb{width:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__decorative-rating-image.svelte-845ewb{width:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__decorative-rating-image.svelte-845ewb{width:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-rating__decorative-rating-image.svelte-845ewb{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-rating__decorative-rating-image.svelte-845ewb{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-rating__decorative-rating-image.svelte-845ewb{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-rating__decorative-rating-image.svelte-845ewb{height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-rating__decorative-rating-image.svelte-845ewb{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-rating__decorative-rating-image.svelte-845ewb{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-rating__decorative-rating-image.svelte-845ewb{height:calc(0.0114583333 * 100vw + 0px)}}");
}

function rating_base_layout_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[8] = list[i];
	return child_ctx;
}

// (2908:8) {#if !isEmpty(MAP_TYPE_TO_LOGO_INFORMATION[type].title)}
function rating_base_layout_index_svelte_create_if_block_2(ctx) {
	let p;
	let t_value = MAP_TYPE_TO_LOGO_INFORMATION[/*type*/ ctx[0]].title + "";
	let t;

	return {
		c() {
			p = internal_element("p");
			t = internal_text(t_value);
			attr(p, "class", "job-contracts-rating__logo-title svelte-845ewb");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t);
		},
		p(ctx, dirty) {
			if (dirty & /*type*/ 1 && t_value !== (t_value = MAP_TYPE_TO_LOGO_INFORMATION[/*type*/ ctx[0]].title + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (2947:12) {#if !isEmpty(RATING_STATS_IMG[type].icon)}
function rating_base_layout_index_svelte_create_if_block_1(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "job-contracts-rating__decorative-rating-image svelte-845ewb");
			if (!src_url_equal(img.src, img_src_value = RATING_STATS_IMG[/*type*/ ctx[0]].icon)) attr(img, "src", img_src_value);
			attr(img, "alt", "ratingLogoIcon");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*type*/ 1 && !src_url_equal(img.src, img_src_value = RATING_STATS_IMG[/*type*/ ctx[0]].icon)) {
				attr(img, "src", img_src_value);
			}
		},
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (2973:24) {:else}
function rating_base_layout_index_svelte_create_else_block(ctx) {
	let div1;
	let div0;
	let t0;
	let span;
	let t1_value = /*row*/ ctx[8].position + "";
	let t1;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			t0 = space();
			span = internal_element("span");
			t1 = internal_text(t1_value);
			attr(div0, "class", "job-contracts-rating__position-wrapper svelte-845ewb");
			attr(span, "class", "job-contracts-rating__position-value svelte-845ewb");
			attr(div1, "class", "job-contracts-rating__player-position svelte-845ewb");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div1, t0);
			append(div1, span);
			append(span, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*ratingList*/ 4 && t1_value !== (t1_value = /*row*/ ctx[8].position + "")) set_data(t1, t1_value);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (2964:24) {#if row.position <= 3}
function rating_base_layout_index_svelte_create_if_block(ctx) {
	let div1;
	let div0;
	let pawratingicon;
	let t0;
	let span;
	let t1_value = /*row*/ ctx[8].position + "";
	let t1;
	let current;

	pawratingicon = new paw_rating_icon_index_svelte({
			props: {
				color: constants_MAP_POSITION_TO_COLOR[/*row*/ ctx[8].position]
			}
		});

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			create_component(pawratingicon.$$.fragment);
			t0 = space();
			span = internal_element("span");
			t1 = internal_text(t1_value);
			attr(div0, "class", "job-contracts-rating__position-star-wrapper svelte-845ewb");
			attr(span, "class", "job-contracts-rating__position-value job-contracts-rating__position-value--big svelte-845ewb");
			attr(div1, "class", "job-contracts-rating__player-position svelte-845ewb");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			mount_component(pawratingicon, div0, null);
			append(div1, t0);
			append(div1, span);
			append(span, t1);
			current = true;
		},
		p(ctx, dirty) {
			const pawratingicon_changes = {};
			if (dirty & /*ratingList*/ 4) pawratingicon_changes.color = constants_MAP_POSITION_TO_COLOR[/*row*/ ctx[8].position];
			pawratingicon.$set(pawratingicon_changes);
			if ((!current || dirty & /*ratingList*/ 4) && t1_value !== (t1_value = /*row*/ ctx[8].position + "")) set_data(t1, t1_value);
		},
		i(local) {
			if (current) return;
			transition_in(pawratingicon.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(pawratingicon.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			destroy_component(pawratingicon);
		}
	};
}

// (2962:16) {#each ratingList as row }
function rating_base_layout_index_svelte_create_each_block(ctx) {
	let div2;
	let current_block_type_index;
	let if_block;
	let t0;
	let span;
	let t1_value = /*row*/ ctx[8].name + "";
	let t1;
	let t2;
	let div0;
	let p0;
	let t3_value = formatMoney(/*row*/ ctx[8].points) + "";
	let t3;
	let t4;
	let p1;
	let t6;
	let div1;
	let p2;
	let t7_value = /*row*/ ctx[8].rank + "";
	let t7;
	let t8;
	let p3;
	let p4;
	let t10;
	let current;
	const if_block_creators = [rating_base_layout_index_svelte_create_if_block, rating_base_layout_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (/*row*/ ctx[8].position <= 3) return 0;
		return 1;
	}

	current_block_type_index = select_block_type(ctx, -1);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div2 = internal_element("div");
			if_block.c();
			t0 = space();
			span = internal_element("span");
			t1 = internal_text(t1_value);
			t2 = space();
			div0 = internal_element("div");
			p0 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = space();
			p1 = internal_element("p");
			p1.textContent = "очков";
			t6 = space();
			div1 = internal_element("div");
			p2 = internal_element("p");
			t7 = internal_text(t7_value);
			t8 = space();
			p3 = internal_element("p");
			p4 = internal_element("p");
			p4.textContent = "Звание";
			t10 = space();
			attr(span, "class", "job-contracts-rating__position-player-name svelte-845ewb");
			attr(p0, "class", "job-contracts-rating__position-score-title svelte-845ewb");
			attr(p1, "class", "job-contracts-rating__position-score-descr svelte-845ewb");
			attr(div0, "class", "job-contracts-rating__position-score svelte-845ewb");
			attr(p2, "class", "job-contracts-rating__position-score-title svelte-845ewb");
			attr(p4, "class", "job-contracts-rating__position-score-descr svelte-845ewb");
			attr(div1, "class", "job-contracts-rating__position-rank svelte-845ewb");
			attr(div2, "class", "job-contracts-rating__table-player svelte-845ewb");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			if_blocks[current_block_type_index].m(div2, null);
			append(div2, t0);
			append(div2, span);
			append(span, t1);
			append(div2, t2);
			append(div2, div0);
			append(div0, p0);
			append(p0, t3);
			append(div0, t4);
			append(div0, p1);
			append(div2, t6);
			append(div2, div1);
			append(div1, p2);
			append(p2, t7);
			append(p2, t8);
			append(div1, p3);
			append(div1, p4);
			append(div2, t10);
			current = true;
		},
		p(ctx, dirty) {
			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(div2, t0);
			}

			if ((!current || dirty & /*ratingList*/ 4) && t1_value !== (t1_value = /*row*/ ctx[8].name + "")) set_data(t1, t1_value);
			if ((!current || dirty & /*ratingList*/ 4) && t3_value !== (t3_value = formatMoney(/*row*/ ctx[8].points) + "")) set_data(t3, t3_value);
			if ((!current || dirty & /*ratingList*/ 4) && t7_value !== (t7_value = /*row*/ ctx[8].rank + "")) set_data(t7, t7_value);
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div2);
			if_blocks[current_block_type_index].d();
		}
	};
}

function rating_base_layout_index_svelte_create_fragment(ctx) {
	let div15;
	let p0;
	let t0_value = MAP_TYPE_TO_RATING_TITLE[/*type*/ ctx[0]].title + "";
	let t0;
	let t1;
	let exitbutton;
	let t2;
	let switch_instance0;
	let t3;
	let div0;
	let img;
	let img_src_value;
	let t4;
	let show_if_1 = !(0,lodash.isEmpty)(MAP_TYPE_TO_LOGO_INFORMATION[/*type*/ ctx[0]].title);
	let t5;
	let div6;
	let switch_instance1;
	let t6;
	let div5;
	let div2;
	let h2;
	let t7_value = /*playerInformation*/ ctx[1].rank + "";
	let t7;
	let t8;
	let div1;
	let p1;
	let t9_value = /*playerInformation*/ ctx[1].position + "";
	let t9;
	let t10;
	let p2;
	let t12;
	let div4;
	let div3;
	let div3_style_value;
	let t13;
	let p3;
	let t14_value = RATING_PLAYER_MISC[/*type*/ ctx[0]].titleScore + "";
	let t14;
	let t15;
	let br0;
	let t16;
	let br1;
	let t17;
	let t18_value = RATING_PLAYER_MISC[/*type*/ ctx[0]].titleRating + "";
	let t18;
	let t19;
	let div14;
	let div7;
	let show_if = !(0,lodash.isEmpty)(RATING_STATS_IMG[/*type*/ ctx[0]].icon);
	let t20;
	let p4;
	let t21_value = RATING_STATS_IMG[/*type*/ ctx[0]].title + "";
	let t21;
	let p4_style_value;
	let t22;
	let div8;
	let t23;
	let div13;
	let div10;
	let div9;
	let t24;
	let span0;
	let t25_value = /*playerInformation*/ ctx[1].position + "";
	let t25;
	let t26;
	let span1;
	let t27_value = /*playerInformation*/ ctx[1].name + "";
	let t27;
	let t28;
	let div11;
	let p5;
	let t29_value = formatMoney(/*playerInformation*/ ctx[1].points) + "";
	let t29;
	let t30;
	let p6;
	let t32;
	let div12;
	let p7;
	let t33_value = /*playerInformation*/ ctx[1].rank + "";
	let t33;
	let t34;
	let p8;
	let p9;
	let div15_style_value;
	let current;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[3],
				fixedPosition: true
			}
		});

	var switch_value = RATING_STATS_IMG[/*type*/ ctx[0]].background;

	function switch_props(ctx) {
		return {};
	}

	if (switch_value) {
		switch_instance0 = new switch_value(switch_props(ctx));
	}

	let if_block0 = show_if_1 && rating_base_layout_index_svelte_create_if_block_2(ctx);
	var switch_value_1 = RATING_PLAYER_MISC[/*type*/ ctx[0]].logo;

	function switch_props_1(ctx) {
		return {};
	}

	if (switch_value_1) {
		switch_instance1 = new switch_value_1(switch_props_1(ctx));
	}

	let if_block1 = show_if && rating_base_layout_index_svelte_create_if_block_1(ctx);
	let each_value = /*ratingList*/ ctx[2];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = rating_base_layout_index_svelte_create_each_block(rating_base_layout_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			div15 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			create_component(exitbutton.$$.fragment);
			t2 = space();
			if (switch_instance0) create_component(switch_instance0.$$.fragment);
			t3 = space();
			div0 = internal_element("div");
			img = internal_element("img");
			t4 = space();
			if (if_block0) if_block0.c();
			t5 = space();
			div6 = internal_element("div");
			if (switch_instance1) create_component(switch_instance1.$$.fragment);
			t6 = space();
			div5 = internal_element("div");
			div2 = internal_element("div");
			h2 = internal_element("h2");
			t7 = internal_text(t7_value);
			t8 = space();
			div1 = internal_element("div");
			p1 = internal_element("p");
			t9 = internal_text(t9_value);
			t10 = space();
			p2 = internal_element("p");
			p2.textContent = "Место в рейтинге";
			t12 = space();
			div4 = internal_element("div");
			div3 = internal_element("div");
			t13 = space();
			p3 = internal_element("p");
			t14 = internal_text(t14_value);
			t15 = space();
			br0 = internal_element("br");
			t16 = internal_text("\r\n                мастерство и завоюйте лидирующие строчки топа\r\n                ");
			br1 = internal_element("br");
			t17 = space();
			t18 = internal_text(t18_value);
			t19 = space();
			div14 = internal_element("div");
			div7 = internal_element("div");
			if (if_block1) if_block1.c();
			t20 = space();
			p4 = internal_element("p");
			t21 = internal_text(t21_value);
			t22 = space();
			div8 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t23 = space();
			div13 = internal_element("div");
			div10 = internal_element("div");
			div9 = internal_element("div");
			t24 = space();
			span0 = internal_element("span");
			t25 = internal_text(t25_value);
			t26 = space();
			span1 = internal_element("span");
			t27 = internal_text(t27_value);
			t28 = space();
			div11 = internal_element("div");
			p5 = internal_element("p");
			t29 = internal_text(t29_value);
			t30 = space();
			p6 = internal_element("p");
			p6.textContent = "очков";
			t32 = space();
			div12 = internal_element("div");
			p7 = internal_element("p");
			t33 = internal_text(t33_value);
			t34 = space();
			p8 = internal_element("p");
			p9 = internal_element("p");
			p9.textContent = "Звание";
			attr(p0, "class", "job-contracts-rating__title svelte-845ewb");
			attr(img, "class", "job-contracts-rating__logo-icon svelte-845ewb");
			if (!src_url_equal(img.src, img_src_value = MAP_TYPE_TO_LOGO_INFORMATION[/*type*/ ctx[0]].icon)) attr(img, "src", img_src_value);
			attr(img, "alt", "logo");
			attr(div0, "class", "job-contracts-rating__logo svelte-845ewb");
			attr(h2, "class", "job-contracts-rating__player-rank-name svelte-845ewb");
			attr(p1, "class", "job-contracts-rating__player-score-num svelte-845ewb");
			attr(p2, "class", "job-contracts-rating__player-score-place svelte-845ewb");
			attr(div1, "class", "job-contracts-rating__player-score svelte-845ewb");
			attr(div2, "class", "job-contracts-rating__player-rank-title svelte-845ewb");
			attr(div3, "class", "job-contracts-rating__player-rank-progress-value svelte-845ewb");
			attr(div3, "style", div3_style_value = `width: ${/*playerInformation*/ ctx[1].exp / (/*playerInformation*/ ctx[1].maxExp / 100)}%;`);
			attr(div4, "class", "job-contracts-rating__player-rank-progress svelte-845ewb");
			attr(p3, "class", "job-contracts-rating__player-rank-info svelte-845ewb");
			attr(div5, "class", "job-contracts-rating__player-rank-body");
			attr(div6, "class", "job-contracts-rating__player-rank-wrapper svelte-845ewb");
			attr(p4, "class", "job-contracts-rating__table-title svelte-845ewb");
			attr(p4, "style", p4_style_value = `color: ${constants_MAP_TYPE_TO_COLOR[/*type*/ ctx[0]]}`);
			attr(div7, "class", "job-contracts-rating__table-rating-logo svelte-845ewb");
			attr(div8, "class", "job-contracts-rating__table svelte-845ewb");
			attr(div9, "class", "job-contracts-rating__position-wrapper svelte-845ewb");
			attr(span0, "class", "job-contracts-rating__position-value svelte-845ewb");
			attr(div10, "class", "job-contracts-rating__player-position svelte-845ewb");
			attr(span1, "class", "job-contracts-rating__position-player-name svelte-845ewb");
			attr(p5, "class", "job-contracts-rating__position-score-title svelte-845ewb");
			attr(p6, "class", "job-contracts-rating__position-score-descr svelte-845ewb");
			attr(div11, "class", "job-contracts-rating__position-score svelte-845ewb");
			attr(p7, "class", "job-contracts-rating__position-score-title svelte-845ewb");
			attr(p9, "class", "job-contracts-rating__position-score-descr svelte-845ewb");
			attr(div12, "class", "job-contracts-rating__position-rank svelte-845ewb");
			attr(div13, "class", "job-contracts-rating__table-player-stats svelte-845ewb");
			attr(div14, "class", "job-contracts-rating__table-wrapper svelte-845ewb");
			attr(div15, "class", "job-contracts-rating svelte-845ewb");
			attr(div15, "style", div15_style_value = `background: ${MAP_TYPE_TO_BACKGROUND[/*type*/ ctx[0]]}`);
		},
		m(target, anchor) {
			insert(target, div15, anchor);
			append(div15, p0);
			append(p0, t0);
			append(div15, t1);
			mount_component(exitbutton, div15, null);
			append(div15, t2);

			if (switch_instance0) {
				mount_component(switch_instance0, div15, null);
			}

			append(div15, t3);
			append(div15, div0);
			append(div0, img);
			append(div0, t4);
			if (if_block0) if_block0.m(div0, null);
			append(div15, t5);
			append(div15, div6);

			if (switch_instance1) {
				mount_component(switch_instance1, div6, null);
			}

			append(div6, t6);
			append(div6, div5);
			append(div5, div2);
			append(div2, h2);
			append(h2, t7);
			append(div2, t8);
			append(div2, div1);
			append(div1, p1);
			append(p1, t9);
			append(div1, t10);
			append(div1, p2);
			append(div5, t12);
			append(div5, div4);
			append(div4, div3);
			append(div5, t13);
			append(div5, p3);
			append(p3, t14);
			append(p3, t15);
			append(p3, br0);
			append(p3, t16);
			append(p3, br1);
			append(p3, t17);
			append(p3, t18);
			append(div15, t19);
			append(div15, div14);
			append(div14, div7);
			if (if_block1) if_block1.m(div7, null);
			append(div7, t20);
			append(div7, p4);
			append(p4, t21);
			append(div14, t22);
			append(div14, div8);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div8, null);
			}

			append(div14, t23);
			append(div14, div13);
			append(div13, div10);
			append(div10, div9);
			append(div10, t24);
			append(div10, span0);
			append(span0, t25);
			append(div13, t26);
			append(div13, span1);
			append(span1, t27);
			append(div13, t28);
			append(div13, div11);
			append(div11, p5);
			append(p5, t29);
			append(div11, t30);
			append(div11, p6);
			append(div13, t32);
			append(div13, div12);
			append(div12, p7);
			append(p7, t33);
			append(p7, t34);
			append(div12, p8);
			append(div12, p9);
			current = true;
		},
		p(ctx, [dirty]) {
			if ((!current || dirty & /*type*/ 1) && t0_value !== (t0_value = MAP_TYPE_TO_RATING_TITLE[/*type*/ ctx[0]].title + "")) set_data(t0, t0_value);

			if (switch_value !== (switch_value = RATING_STATS_IMG[/*type*/ ctx[0]].background)) {
				if (switch_instance0) {
					group_outros();
					const old_component = switch_instance0;

					transition_out(old_component.$$.fragment, 1, 0, () => {
						destroy_component(old_component, 1);
					});

					check_outros();
				}

				if (switch_value) {
					switch_instance0 = new switch_value(switch_props(ctx));
					create_component(switch_instance0.$$.fragment);
					transition_in(switch_instance0.$$.fragment, 1);
					mount_component(switch_instance0, div15, t3);
				} else {
					switch_instance0 = null;
				}
			} else if (switch_value) {
				
			}

			if (!current || dirty & /*type*/ 1 && !src_url_equal(img.src, img_src_value = MAP_TYPE_TO_LOGO_INFORMATION[/*type*/ ctx[0]].icon)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*type*/ 1) show_if_1 = !(0,lodash.isEmpty)(MAP_TYPE_TO_LOGO_INFORMATION[/*type*/ ctx[0]].title);

			if (show_if_1) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = rating_base_layout_index_svelte_create_if_block_2(ctx);
					if_block0.c();
					if_block0.m(div0, null);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (switch_value_1 !== (switch_value_1 = RATING_PLAYER_MISC[/*type*/ ctx[0]].logo)) {
				if (switch_instance1) {
					group_outros();
					const old_component = switch_instance1;

					transition_out(old_component.$$.fragment, 1, 0, () => {
						destroy_component(old_component, 1);
					});

					check_outros();
				}

				if (switch_value_1) {
					switch_instance1 = new switch_value_1(switch_props_1(ctx));
					create_component(switch_instance1.$$.fragment);
					transition_in(switch_instance1.$$.fragment, 1);
					mount_component(switch_instance1, div6, t6);
				} else {
					switch_instance1 = null;
				}
			} else if (switch_value_1) {
				
			}

			if ((!current || dirty & /*playerInformation*/ 2) && t7_value !== (t7_value = /*playerInformation*/ ctx[1].rank + "")) set_data(t7, t7_value);
			if ((!current || dirty & /*playerInformation*/ 2) && t9_value !== (t9_value = /*playerInformation*/ ctx[1].position + "")) set_data(t9, t9_value);

			if (!current || dirty & /*playerInformation*/ 2 && div3_style_value !== (div3_style_value = `width: ${/*playerInformation*/ ctx[1].exp / (/*playerInformation*/ ctx[1].maxExp / 100)}%;`)) {
				attr(div3, "style", div3_style_value);
			}

			if ((!current || dirty & /*type*/ 1) && t14_value !== (t14_value = RATING_PLAYER_MISC[/*type*/ ctx[0]].titleScore + "")) set_data(t14, t14_value);
			if ((!current || dirty & /*type*/ 1) && t18_value !== (t18_value = RATING_PLAYER_MISC[/*type*/ ctx[0]].titleRating + "")) set_data(t18, t18_value);
			if (dirty & /*type*/ 1) show_if = !(0,lodash.isEmpty)(RATING_STATS_IMG[/*type*/ ctx[0]].icon);

			if (show_if) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = rating_base_layout_index_svelte_create_if_block_1(ctx);
					if_block1.c();
					if_block1.m(div7, t20);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if ((!current || dirty & /*type*/ 1) && t21_value !== (t21_value = RATING_STATS_IMG[/*type*/ ctx[0]].title + "")) set_data(t21, t21_value);

			if (!current || dirty & /*type*/ 1 && p4_style_value !== (p4_style_value = `color: ${constants_MAP_TYPE_TO_COLOR[/*type*/ ctx[0]]}`)) {
				attr(p4, "style", p4_style_value);
			}

			if (dirty & /*ratingList, formatMoney, MAP_POSITION_TO_COLOR*/ 4) {
				each_value = /*ratingList*/ ctx[2];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = rating_base_layout_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = rating_base_layout_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div8, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}

			if ((!current || dirty & /*playerInformation*/ 2) && t25_value !== (t25_value = /*playerInformation*/ ctx[1].position + "")) set_data(t25, t25_value);
			if ((!current || dirty & /*playerInformation*/ 2) && t27_value !== (t27_value = /*playerInformation*/ ctx[1].name + "")) set_data(t27, t27_value);
			if ((!current || dirty & /*playerInformation*/ 2) && t29_value !== (t29_value = formatMoney(/*playerInformation*/ ctx[1].points) + "")) set_data(t29, t29_value);
			if ((!current || dirty & /*playerInformation*/ 2) && t33_value !== (t33_value = /*playerInformation*/ ctx[1].rank + "")) set_data(t33, t33_value);

			if (!current || dirty & /*type*/ 1 && div15_style_value !== (div15_style_value = `background: ${MAP_TYPE_TO_BACKGROUND[/*type*/ ctx[0]]}`)) {
				attr(div15, "style", div15_style_value);
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			if (switch_instance0) transition_in(switch_instance0.$$.fragment, local);
			if (switch_instance1) transition_in(switch_instance1.$$.fragment, local);

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			if (switch_instance0) transition_out(switch_instance0.$$.fragment, local);
			if (switch_instance1) transition_out(switch_instance1.$$.fragment, local);
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div15);
			destroy_component(exitbutton);
			if (switch_instance0) destroy_component(switch_instance0);
			if (if_block0) if_block0.d();
			if (switch_instance1) destroy_component(switch_instance1);
			if (if_block1) if_block1.d();
			destroy_each(each_blocks, detaching);
		}
	};
}

function rating_base_layout_index_svelte_instance($$self, $$props, $$invalidate) {
	let { type } = $$props;
	let playerInformation = {};
	let ratingList = [];

	const initializePlayerInformation = playerInformationDto => {
		$$invalidate(1, playerInformation = playerInformationDto);
	};

	const initializeRatingList = ratingListDto => {
		$$invalidate(2, ratingList = ratingListDto);
	};

	const handleClose = () => {
		
	}; // exec close event

	const unregisterInitializePlayerInfoEvent = registerEvent('event.contracts.playerInformation', initializePlayerInformation);
	const unregisterInitializeRatingListEvent = registerEvent('event.contracts.ratingList', initializeRatingList);

	onDestroy(() => {
		unregisterInitializePlayerInfoEvent();
		unregisterInitializeRatingListEvent();
	});

	$$self.$$set = $$props => {
		if ('type' in $$props) $$invalidate(0, type = $$props.type);
	};

	return [type, playerInformation, ratingList, handleClose];
}

class index_svelte_Base_layout extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, rating_base_layout_index_svelte_instance, rating_base_layout_index_svelte_create_fragment, safe_not_equal, { type: 0 }, rating_base_layout_index_svelte_add_css);
	}
}

/* harmony default export */ const rating_base_layout_index_svelte = (index_svelte_Base_layout);
;// CONCATENATED MODULE: ./src/views/job-contracts/rating/hunting/index.svelte
/* src\views\job-contracts\rating\hunting\index.svelte generated by Svelte v3.49.0 */





function rating_hunting_index_svelte_create_fragment(ctx) {
	let jobcontractbaselayout;
	let current;
	jobcontractbaselayout = new rating_base_layout_index_svelte({ props: { type: JobContractType.Hunting } });

	return {
		c() {
			create_component(jobcontractbaselayout.$$.fragment);
		},
		m(target, anchor) {
			mount_component(jobcontractbaselayout, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(jobcontractbaselayout.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(jobcontractbaselayout.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(jobcontractbaselayout, detaching);
		}
	};
}

class index_svelte_Hunting extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, rating_hunting_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const rating_hunting_index_svelte = (index_svelte_Hunting);
;// CONCATENATED MODULE: ./src/views/job-contracts/rating/fishing/index.svelte
/* src\views\job-contracts\rating\fishing\index.svelte generated by Svelte v3.49.0 */





function rating_fishing_index_svelte_create_fragment(ctx) {
	let jobcontractbaselayout;
	let current;
	jobcontractbaselayout = new rating_base_layout_index_svelte({ props: { type: JobContractType.Fishing } });

	return {
		c() {
			create_component(jobcontractbaselayout.$$.fragment);
		},
		m(target, anchor) {
			mount_component(jobcontractbaselayout, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(jobcontractbaselayout.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(jobcontractbaselayout.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(jobcontractbaselayout, detaching);
		}
	};
}

class index_svelte_Fishing extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, rating_fishing_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const rating_fishing_index_svelte = (index_svelte_Fishing);
;// CONCATENATED MODULE: ./src/views/job-contracts/rating/postman/index.svelte
/* src\views\job-contracts\rating\postman\index.svelte generated by Svelte v3.49.0 */





function postman_index_svelte_create_fragment(ctx) {
	let jobcontractbaselayout;
	let current;
	jobcontractbaselayout = new rating_base_layout_index_svelte({ props: { type: JobContractType.Postman } });

	return {
		c() {
			create_component(jobcontractbaselayout.$$.fragment);
		},
		m(target, anchor) {
			mount_component(jobcontractbaselayout, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(jobcontractbaselayout.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(jobcontractbaselayout.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(jobcontractbaselayout, detaching);
		}
	};
}

class Postman extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, postman_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const postman_index_svelte = (Postman);
;// CONCATENATED MODULE: ./src/views/job-contracts/contracts/base-layout/img/BoarBackground.png
const BoarBackground_namespaceObject = __webpack_require__.p + "assets/5d8e337d348038d68a8e.webp";
;// CONCATENATED MODULE: ./src/views/job-contracts/contracts/base-layout/components/boar-background/index.svelte
/* src\views\job-contracts\contracts\base-layout\components\boar-background\index.svelte generated by Svelte v3.49.0 */




function boar_background_index_svelte_add_css(target) {
	append_styles(target, "svelte-1uft8mm", "@keyframes svelte-1uft8mm-blinking{50%{opacity:0}}@keyframes svelte-1uft8mm-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1uft8mm-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1uft8mm-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1uft8mm-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1uft8mm-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1uft8mm-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1uft8mm-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1uft8mm-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1uft8mm-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1uft8mm-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1uft8mm-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1uft8mm-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1uft8mm-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1uft8mm-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.job-contracts-background-boar.svelte-1uft8mm{position:absolute;left:0;bottom:0;pointer-events:none;width:calc(0.4010416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-background-boar.svelte-1uft8mm{width:calc(0.4010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-background-boar.svelte-1uft8mm{width:calc(0.4010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-background-boar.svelte-1uft8mm{width:calc(0.3088020833 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-background-boar.svelte-1uft8mm{width:calc(0.4411458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-background-boar.svelte-1uft8mm{width:calc(0.2807291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-background-boar.svelte-1uft8mm{width:calc(0.3609375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-background-boar.svelte-1uft8mm{width:calc(0.4411458333 * 100vw + 0px)}}");
}

function boar_background_index_svelte_create_fragment(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "job-contracts-background-boar svelte-1uft8mm");
			if (!src_url_equal(img.src, img_src_value = BoarBackground_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "Boar");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

class Boar_background extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, boar_background_index_svelte_create_fragment, safe_not_equal, {}, boar_background_index_svelte_add_css);
	}
}

/* harmony default export */ const boar_background_index_svelte = (Boar_background);
;// CONCATENATED MODULE: ./src/views/job-contracts/contracts/base-layout/img/FishBackground.png
const FishBackground_namespaceObject = __webpack_require__.p + "assets/1244d48fe6c2cbb13246.webp";
;// CONCATENATED MODULE: ./src/views/job-contracts/contracts/base-layout/components/fish-background/index.svelte
/* src\views\job-contracts\contracts\base-layout\components\fish-background\index.svelte generated by Svelte v3.49.0 */




function fish_background_index_svelte_add_css(target) {
	append_styles(target, "svelte-1yrqc2d", "@keyframes svelte-1yrqc2d-blinking{50%{opacity:0}}@keyframes svelte-1yrqc2d-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1yrqc2d-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1yrqc2d-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1yrqc2d-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1yrqc2d-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1yrqc2d-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1yrqc2d-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1yrqc2d-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1yrqc2d-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1yrqc2d-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1yrqc2d-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1yrqc2d-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1yrqc2d-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1yrqc2d-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.job-contracts-background-fish.svelte-1yrqc2d{position:absolute;left:0;bottom:0;pointer-events:none;height:calc(0.4546875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-background-fish.svelte-1yrqc2d{height:calc(0.4546875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-background-fish.svelte-1yrqc2d{height:calc(0.4546875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-background-fish.svelte-1yrqc2d{height:calc(0.350109375 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-background-fish.svelte-1yrqc2d{height:calc(0.50015625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-background-fish.svelte-1yrqc2d{height:calc(0.31828125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-background-fish.svelte-1yrqc2d{height:calc(0.40921875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-background-fish.svelte-1yrqc2d{height:calc(0.50015625 * 100vw + 0px)}}");
}

function fish_background_index_svelte_create_fragment(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "job-contracts-background-fish svelte-1yrqc2d");
			if (!src_url_equal(img.src, img_src_value = FishBackground_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "Fish");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

class Fish_background extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, fish_background_index_svelte_create_fragment, safe_not_equal, {}, fish_background_index_svelte_add_css);
	}
}

/* harmony default export */ const fish_background_index_svelte = (Fish_background);
;// CONCATENATED MODULE: ./src/views/job-contracts/contracts/base-layout/img/FishersBackground.png
const FishersBackground_namespaceObject = __webpack_require__.p + "assets/1c029401cb417094ead7.webp";
;// CONCATENATED MODULE: ./src/views/job-contracts/contracts/base-layout/components/fishers-background/index.svelte
/* src\views\job-contracts\contracts\base-layout\components\fishers-background\index.svelte generated by Svelte v3.49.0 */




function fishers_background_index_svelte_add_css(target) {
	append_styles(target, "svelte-19damgn", "@keyframes svelte-19damgn-blinking{50%{opacity:0}}@keyframes svelte-19damgn-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-19damgn-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-19damgn-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-19damgn-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-19damgn-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-19damgn-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-19damgn-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-19damgn-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-19damgn-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-19damgn-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-19damgn-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-19damgn-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-19damgn-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-19damgn-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.job-contracts-background-fishers.svelte-19damgn{position:absolute;right:0;bottom:0;pointer-events:none;width:calc(0.5989583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-background-fishers.svelte-19damgn{width:calc(0.5989583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-background-fishers.svelte-19damgn{width:calc(0.5989583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-background-fishers.svelte-19damgn{width:calc(0.4611979167 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-background-fishers.svelte-19damgn{width:calc(0.6588541667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-background-fishers.svelte-19damgn{width:calc(0.4192708333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-background-fishers.svelte-19damgn{width:calc(0.5390625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-background-fishers.svelte-19damgn{width:calc(0.6588541667 * 100vw + 0px)}}");
}

function fishers_background_index_svelte_create_fragment(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "job-contracts-background-fishers svelte-19damgn");
			if (!src_url_equal(img.src, img_src_value = FishersBackground_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "Fishers");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

class Fishers_background extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, fishers_background_index_svelte_create_fragment, safe_not_equal, {}, fishers_background_index_svelte_add_css);
	}
}

/* harmony default export */ const fishers_background_index_svelte = (Fishers_background);
;// CONCATENATED MODULE: ./src/views/job-contracts/contracts/base-layout/img/HunterBackground.png
const HunterBackground_namespaceObject = __webpack_require__.p + "assets/7d9e60a93b1b35f5bf7b.webp";
;// CONCATENATED MODULE: ./src/views/job-contracts/contracts/base-layout/components/hunter-background/index.svelte
/* src\views\job-contracts\contracts\base-layout\components\hunter-background\index.svelte generated by Svelte v3.49.0 */




function hunter_background_index_svelte_add_css(target) {
	append_styles(target, "svelte-1uq4o6c", "@keyframes svelte-1uq4o6c-blinking{50%{opacity:0}}@keyframes svelte-1uq4o6c-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1uq4o6c-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1uq4o6c-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1uq4o6c-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1uq4o6c-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1uq4o6c-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1uq4o6c-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1uq4o6c-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1uq4o6c-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1uq4o6c-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1uq4o6c-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1uq4o6c-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1uq4o6c-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1uq4o6c-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.job-contracts-background-hunter.svelte-1uq4o6c{position:absolute;right:0;bottom:0;pointer-events:none;width:calc(0.4921875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-background-hunter.svelte-1uq4o6c{width:calc(0.4921875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-background-hunter.svelte-1uq4o6c{width:calc(0.4921875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-background-hunter.svelte-1uq4o6c{width:calc(0.378984375 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-background-hunter.svelte-1uq4o6c{width:calc(0.54140625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-background-hunter.svelte-1uq4o6c{width:calc(0.34453125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-background-hunter.svelte-1uq4o6c{width:calc(0.44296875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-background-hunter.svelte-1uq4o6c{width:calc(0.54140625 * 100vw + 0px)}}");
}

function hunter_background_index_svelte_create_fragment(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "job-contracts-background-hunter svelte-1uq4o6c");
			if (!src_url_equal(img.src, img_src_value = HunterBackground_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "Hunter");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

class Hunter_background extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, hunter_background_index_svelte_create_fragment, safe_not_equal, {}, hunter_background_index_svelte_add_css);
	}
}

/* harmony default export */ const hunter_background_index_svelte = (Hunter_background);
;// CONCATENATED MODULE: ./src/views/job-contracts/contracts/base-layout/constants.js
function contracts_base_layout_constants_typeof(o) { "@babel/helpers - typeof"; return contracts_base_layout_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, contracts_base_layout_constants_typeof(o); }
function contracts_base_layout_constants_defineProperty(e, r, t) { return (r = contracts_base_layout_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function contracts_base_layout_constants_toPropertyKey(t) { var i = contracts_base_layout_constants_toPrimitive(t, "string"); return "symbol" == contracts_base_layout_constants_typeof(i) ? i : i + ""; }
function contracts_base_layout_constants_toPrimitive(t, r) { if ("object" != contracts_base_layout_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != contracts_base_layout_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }





var MAP_BACKGROUND_TO_CONTRACTS = contracts_base_layout_constants_defineProperty(contracts_base_layout_constants_defineProperty({}, JobContractType.Hunting, {
  leftBg: boar_background_index_svelte,
  rightBg: hunter_background_index_svelte
}), JobContractType.Fishing, {
  leftBg: fish_background_index_svelte,
  rightBg: fishers_background_index_svelte
});
;// CONCATENATED MODULE: ./src/views/job-contracts/contracts/base-layout/img/Complete.svg
const Complete_namespaceObject = __webpack_require__.p + "assets/585032db479cb83901fe.svg";
;// CONCATENATED MODULE: ./src/views/job-contracts/contracts/base-layout/index.svelte
/* src\views\job-contracts\contracts\base-layout\index.svelte generated by Svelte v3.49.0 */












function contracts_base_layout_index_svelte_add_css(target) {
	append_styles(target, "svelte-1nrmyry", "@keyframes svelte-1nrmyry-blinking{50%{opacity:0}}@keyframes svelte-1nrmyry-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1nrmyry-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1nrmyry-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1nrmyry-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1nrmyry-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1nrmyry-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1nrmyry-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1nrmyry-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1nrmyry-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1nrmyry-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1nrmyry-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1nrmyry-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1nrmyry-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1nrmyry-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.job-contracts-contracts.svelte-1nrmyry{display:flex;align-items:center;flex-direction:column;width:100vw;height:100vh;background:rgba(54, 61, 71, 0.75)}.job-contracts-contracts__title.svelte-1nrmyry{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.01875 * 100vw + 0px);margin-top:calc(0.0447916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__title.svelte-1nrmyry{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__title.svelte-1nrmyry{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__title.svelte-1nrmyry{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__title.svelte-1nrmyry{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__title.svelte-1nrmyry{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__title.svelte-1nrmyry{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__title.svelte-1nrmyry{font-size:calc(0.020625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__title.svelte-1nrmyry{margin-top:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__title.svelte-1nrmyry{margin-top:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__title.svelte-1nrmyry{margin-top:calc(0.0344895833 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__title.svelte-1nrmyry{margin-top:calc(0.0492708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__title.svelte-1nrmyry{margin-top:calc(0.0313541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__title.svelte-1nrmyry{margin-top:calc(0.0403125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__title.svelte-1nrmyry{margin-top:calc(0.0492708333 * 100vw + 0px)}}.job-contracts-contracts__logo.svelte-1nrmyry{position:absolute;display:flex;align-items:center;top:calc(0.0416666667 * 100vw + 0px);left:calc(0.03125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__logo.svelte-1nrmyry{top:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__logo.svelte-1nrmyry{top:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__logo.svelte-1nrmyry{top:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__logo.svelte-1nrmyry{top:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__logo.svelte-1nrmyry{top:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__logo.svelte-1nrmyry{top:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__logo.svelte-1nrmyry{top:calc(0.0458333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__logo.svelte-1nrmyry{left:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__logo.svelte-1nrmyry{left:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__logo.svelte-1nrmyry{left:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__logo.svelte-1nrmyry{left:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__logo.svelte-1nrmyry{left:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__logo.svelte-1nrmyry{left:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__logo.svelte-1nrmyry{left:calc(0.034375 * 100vw + 0px)}}.job-contracts-contracts__logo-icon.svelte-1nrmyry{height:calc(0.0390625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__logo-icon.svelte-1nrmyry{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__logo-icon.svelte-1nrmyry{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__logo-icon.svelte-1nrmyry{height:calc(0.030078125 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__logo-icon.svelte-1nrmyry{height:calc(0.04296875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__logo-icon.svelte-1nrmyry{height:calc(0.02734375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__logo-icon.svelte-1nrmyry{height:calc(0.03515625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__logo-icon.svelte-1nrmyry{height:calc(0.04296875 * 100vw + 0px)}}.job-contracts-contracts__logo-title.svelte-1nrmyry{color:#FFFFFF;font-family:\"GothamPro-Bold\";padding-left:calc(0.0130208333 * 100vw + 0px);width:calc(0.0729166667 * 100vw + 0px);line-height:calc(0.0098958333 * 100vw + 0px);font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__logo-title.svelte-1nrmyry{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__logo-title.svelte-1nrmyry{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__logo-title.svelte-1nrmyry{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__logo-title.svelte-1nrmyry{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__logo-title.svelte-1nrmyry{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__logo-title.svelte-1nrmyry{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__logo-title.svelte-1nrmyry{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__logo-title.svelte-1nrmyry{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__logo-title.svelte-1nrmyry{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__logo-title.svelte-1nrmyry{width:calc(0.0561458333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__logo-title.svelte-1nrmyry{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__logo-title.svelte-1nrmyry{width:calc(0.0510416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__logo-title.svelte-1nrmyry{width:calc(0.065625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__logo-title.svelte-1nrmyry{width:calc(0.0802083333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__logo-title.svelte-1nrmyry{line-height:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__logo-title.svelte-1nrmyry{line-height:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__logo-title.svelte-1nrmyry{line-height:calc(0.0076197917 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__logo-title.svelte-1nrmyry{line-height:calc(0.0108854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__logo-title.svelte-1nrmyry{line-height:calc(0.0069270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__logo-title.svelte-1nrmyry{line-height:calc(0.00890625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__logo-title.svelte-1nrmyry{line-height:calc(0.0108854167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__logo-title.svelte-1nrmyry{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__logo-title.svelte-1nrmyry{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__logo-title.svelte-1nrmyry{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__logo-title.svelte-1nrmyry{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__logo-title.svelte-1nrmyry{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__logo-title.svelte-1nrmyry{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__logo-title.svelte-1nrmyry{font-size:calc(0.0114583333 * 100vw + 0px)}}.job-contracts-contracts__category.svelte-1nrmyry{position:absolute;top:calc(0.1302083333 * 100vw + 0px);left:calc(0.1484375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__category.svelte-1nrmyry{top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__category.svelte-1nrmyry{top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__category.svelte-1nrmyry{top:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__category.svelte-1nrmyry{top:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__category.svelte-1nrmyry{top:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__category.svelte-1nrmyry{top:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__category.svelte-1nrmyry{top:calc(0.1432291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__category.svelte-1nrmyry{left:calc(0.1484375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__category.svelte-1nrmyry{left:calc(0.1484375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__category.svelte-1nrmyry{left:calc(0.114296875 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__category.svelte-1nrmyry{left:calc(0.16328125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__category.svelte-1nrmyry{left:calc(0.10390625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__category.svelte-1nrmyry{left:calc(0.13359375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__category.svelte-1nrmyry{left:calc(0.16328125 * 100vw + 0px)}}.job-contracts-contracts__category-title.svelte-1nrmyry{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__category-title.svelte-1nrmyry{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__category-title.svelte-1nrmyry{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__category-title.svelte-1nrmyry{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__category-title.svelte-1nrmyry{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__category-title.svelte-1nrmyry{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__category-title.svelte-1nrmyry{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__category-title.svelte-1nrmyry{font-size:calc(0.0114583333 * 100vw + 0px)}}.job-contracts-contracts__categories-wrapper.svelte-1nrmyry{width:fit-content;overflow:auto;height:calc(0.378125 * 100vw + 0px);padding-right:calc(0.0130208333 * 100vw + 0px)}.job-contracts-contracts__categories-wrapper.svelte-1nrmyry::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.job-contracts-contracts__categories-wrapper.svelte-1nrmyry::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.job-contracts-contracts__categories-wrapper.svelte-1nrmyry::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry{height:calc(0.378125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry{height:calc(0.378125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry{height:calc(0.29115625 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry{height:calc(0.4159375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry{height:calc(0.2646875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry{height:calc(0.3403125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry{height:calc(0.4159375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry{padding-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry{padding-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry{padding-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__categories-wrapper.svelte-1nrmyry{padding-right:calc(0.0143229167 * 100vw + 0px)}}.job-contracts-contracts__category-quest.svelte-1nrmyry{display:flex;align-items:center;justify-content:space-between;cursor:pointer;border:1px solid rgba(255, 255, 255, 0.2);transition:background-color 0.2s linear;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.3125 * 100vw + 0px);height:calc(0.0520833333 * 100vw + 0px);margin-top:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__category-quest.svelte-1nrmyry{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__category-quest.svelte-1nrmyry{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__category-quest.svelte-1nrmyry{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__category-quest.svelte-1nrmyry{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__category-quest.svelte-1nrmyry{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__category-quest.svelte-1nrmyry{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__category-quest.svelte-1nrmyry{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__category-quest.svelte-1nrmyry{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__category-quest.svelte-1nrmyry{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__category-quest.svelte-1nrmyry{width:calc(0.240625 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__category-quest.svelte-1nrmyry{width:calc(0.34375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__category-quest.svelte-1nrmyry{width:calc(0.21875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__category-quest.svelte-1nrmyry{width:calc(0.28125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__category-quest.svelte-1nrmyry{width:calc(0.34375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__category-quest.svelte-1nrmyry{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__category-quest.svelte-1nrmyry{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__category-quest.svelte-1nrmyry{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__category-quest.svelte-1nrmyry{height:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__category-quest.svelte-1nrmyry{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__category-quest.svelte-1nrmyry{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__category-quest.svelte-1nrmyry{height:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__category-quest.svelte-1nrmyry{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__category-quest.svelte-1nrmyry{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__category-quest.svelte-1nrmyry{margin-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__category-quest.svelte-1nrmyry{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__category-quest.svelte-1nrmyry{margin-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__category-quest.svelte-1nrmyry{margin-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__category-quest.svelte-1nrmyry{margin-top:calc(0.0143229167 * 100vw + 0px)}}.job-contracts-contracts__category-quest.svelte-1nrmyry:hover,.job-contracts-contracts__category-quest--selected.svelte-1nrmyry{display:flex;align-items:center;justify-content:space-between;background-color:rgba(255, 255, 255, 0.2);width:calc(0.3125 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);margin-top:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__category-quest.svelte-1nrmyry:hover,.job-contracts-contracts__category-quest--selected.svelte-1nrmyry{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__category-quest.svelte-1nrmyry:hover,.job-contracts-contracts__category-quest--selected.svelte-1nrmyry{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__category-quest.svelte-1nrmyry:hover,.job-contracts-contracts__category-quest--selected.svelte-1nrmyry{width:calc(0.240625 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__category-quest.svelte-1nrmyry:hover,.job-contracts-contracts__category-quest--selected.svelte-1nrmyry{width:calc(0.34375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__category-quest.svelte-1nrmyry:hover,.job-contracts-contracts__category-quest--selected.svelte-1nrmyry{width:calc(0.21875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__category-quest.svelte-1nrmyry:hover,.job-contracts-contracts__category-quest--selected.svelte-1nrmyry{width:calc(0.28125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__category-quest.svelte-1nrmyry:hover,.job-contracts-contracts__category-quest--selected.svelte-1nrmyry{width:calc(0.34375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__category-quest.svelte-1nrmyry:hover,.job-contracts-contracts__category-quest--selected.svelte-1nrmyry{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__category-quest.svelte-1nrmyry:hover,.job-contracts-contracts__category-quest--selected.svelte-1nrmyry{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__category-quest.svelte-1nrmyry:hover,.job-contracts-contracts__category-quest--selected.svelte-1nrmyry{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__category-quest.svelte-1nrmyry:hover,.job-contracts-contracts__category-quest--selected.svelte-1nrmyry{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__category-quest.svelte-1nrmyry:hover,.job-contracts-contracts__category-quest--selected.svelte-1nrmyry{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__category-quest.svelte-1nrmyry:hover,.job-contracts-contracts__category-quest--selected.svelte-1nrmyry{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__category-quest.svelte-1nrmyry:hover,.job-contracts-contracts__category-quest--selected.svelte-1nrmyry{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__category-quest.svelte-1nrmyry:hover,.job-contracts-contracts__category-quest--selected.svelte-1nrmyry{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__category-quest.svelte-1nrmyry:hover,.job-contracts-contracts__category-quest--selected.svelte-1nrmyry{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__category-quest.svelte-1nrmyry:hover,.job-contracts-contracts__category-quest--selected.svelte-1nrmyry{margin-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__category-quest.svelte-1nrmyry:hover,.job-contracts-contracts__category-quest--selected.svelte-1nrmyry{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__category-quest.svelte-1nrmyry:hover,.job-contracts-contracts__category-quest--selected.svelte-1nrmyry{margin-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__category-quest.svelte-1nrmyry:hover,.job-contracts-contracts__category-quest--selected.svelte-1nrmyry{margin-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__category-quest.svelte-1nrmyry:hover,.job-contracts-contracts__category-quest--selected.svelte-1nrmyry{margin-top:calc(0.0143229167 * 100vw + 0px)}}.job-contracts-contracts__category-quest--completed.svelte-1nrmyry{border:1px solid #76D355}.job-contracts-contracts__category-quest-body.svelte-1nrmyry{padding-left:calc(0.0182291667 * 100vw + 0px);padding-top:calc(0.0140625 * 100vw + 0px);padding-bottom:calc(0.0151041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__category-quest-body.svelte-1nrmyry{padding-left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__category-quest-body.svelte-1nrmyry{padding-left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__category-quest-body.svelte-1nrmyry{padding-left:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__category-quest-body.svelte-1nrmyry{padding-left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__category-quest-body.svelte-1nrmyry{padding-left:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__category-quest-body.svelte-1nrmyry{padding-left:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__category-quest-body.svelte-1nrmyry{padding-left:calc(0.0200520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__category-quest-body.svelte-1nrmyry{padding-top:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__category-quest-body.svelte-1nrmyry{padding-top:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__category-quest-body.svelte-1nrmyry{padding-top:calc(0.010828125 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__category-quest-body.svelte-1nrmyry{padding-top:calc(0.01546875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__category-quest-body.svelte-1nrmyry{padding-top:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__category-quest-body.svelte-1nrmyry{padding-top:calc(0.01265625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__category-quest-body.svelte-1nrmyry{padding-top:calc(0.01546875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__category-quest-body.svelte-1nrmyry{padding-bottom:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__category-quest-body.svelte-1nrmyry{padding-bottom:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__category-quest-body.svelte-1nrmyry{padding-bottom:calc(0.0116302083 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__category-quest-body.svelte-1nrmyry{padding-bottom:calc(0.0166145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__category-quest-body.svelte-1nrmyry{padding-bottom:calc(0.0105729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__category-quest-body.svelte-1nrmyry{padding-bottom:calc(0.01359375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__category-quest-body.svelte-1nrmyry{padding-bottom:calc(0.0166145833 * 100vw + 0px)}}.job-contracts-contracts__category-quest-title.svelte-1nrmyry{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0125 * 100vw + 0px);margin-bottom:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__category-quest-title.svelte-1nrmyry{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__category-quest-title.svelte-1nrmyry{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__category-quest-title.svelte-1nrmyry{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__category-quest-title.svelte-1nrmyry{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__category-quest-title.svelte-1nrmyry{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__category-quest-title.svelte-1nrmyry{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__category-quest-title.svelte-1nrmyry{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__category-quest-title.svelte-1nrmyry{margin-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__category-quest-title.svelte-1nrmyry{margin-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__category-quest-title.svelte-1nrmyry{margin-bottom:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__category-quest-title.svelte-1nrmyry{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__category-quest-title.svelte-1nrmyry{margin-bottom:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__category-quest-title.svelte-1nrmyry{margin-bottom:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__category-quest-title.svelte-1nrmyry{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}.job-contracts-contracts__category-quest-descr.svelte-1nrmyry{font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__category-quest-descr.svelte-1nrmyry{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__category-quest-descr.svelte-1nrmyry{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__category-quest-descr.svelte-1nrmyry{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__category-quest-descr.svelte-1nrmyry{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__category-quest-descr.svelte-1nrmyry{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__category-quest-descr.svelte-1nrmyry{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__category-quest-descr.svelte-1nrmyry{font-size:calc(0.006875 * 100vw + 0px)}}.job-contracts-contracts__category-quest-progress.svelte-1nrmyry{display:flex;flex-direction:column;width:calc(0.0572916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__category-quest-progress.svelte-1nrmyry{width:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__category-quest-progress.svelte-1nrmyry{width:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__category-quest-progress.svelte-1nrmyry{width:calc(0.0441145833 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__category-quest-progress.svelte-1nrmyry{width:calc(0.0630208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__category-quest-progress.svelte-1nrmyry{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__category-quest-progress.svelte-1nrmyry{width:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__category-quest-progress.svelte-1nrmyry{width:calc(0.0630208333 * 100vw + 0px)}}.job-contracts-contracts__category-quest-progress--completed.svelte-1nrmyry{display:flex;justify-content:center;align-items:center;background-color:rgba(118, 211, 85, 0.25);border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.0651041667 * 100vw + 0px);height:calc(0.0182291667 * 100vw + 0px);margin-right:calc(0.0203125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__category-quest-progress--completed.svelte-1nrmyry{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__category-quest-progress--completed.svelte-1nrmyry{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__category-quest-progress--completed.svelte-1nrmyry{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__category-quest-progress--completed.svelte-1nrmyry{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__category-quest-progress--completed.svelte-1nrmyry{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__category-quest-progress--completed.svelte-1nrmyry{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__category-quest-progress--completed.svelte-1nrmyry{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__category-quest-progress--completed.svelte-1nrmyry{width:calc(0.0651041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__category-quest-progress--completed.svelte-1nrmyry{width:calc(0.0651041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__category-quest-progress--completed.svelte-1nrmyry{width:calc(0.0501302083 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__category-quest-progress--completed.svelte-1nrmyry{width:calc(0.0716145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__category-quest-progress--completed.svelte-1nrmyry{width:calc(0.0455729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__category-quest-progress--completed.svelte-1nrmyry{width:calc(0.05859375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__category-quest-progress--completed.svelte-1nrmyry{width:calc(0.0716145833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__category-quest-progress--completed.svelte-1nrmyry{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__category-quest-progress--completed.svelte-1nrmyry{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__category-quest-progress--completed.svelte-1nrmyry{height:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__category-quest-progress--completed.svelte-1nrmyry{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__category-quest-progress--completed.svelte-1nrmyry{height:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__category-quest-progress--completed.svelte-1nrmyry{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__category-quest-progress--completed.svelte-1nrmyry{height:calc(0.0200520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__category-quest-progress--completed.svelte-1nrmyry{margin-right:calc(0.0203125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__category-quest-progress--completed.svelte-1nrmyry{margin-right:calc(0.0203125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__category-quest-progress--completed.svelte-1nrmyry{margin-right:calc(0.015640625 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__category-quest-progress--completed.svelte-1nrmyry{margin-right:calc(0.02234375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__category-quest-progress--completed.svelte-1nrmyry{margin-right:calc(0.01421875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__category-quest-progress--completed.svelte-1nrmyry{margin-right:calc(0.01828125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__category-quest-progress--completed.svelte-1nrmyry{margin-right:calc(0.02234375 * 100vw + 0px)}}.job-contracts-contracts__category-exp.svelte-1nrmyry{font-family:\"GothamPro-Medium\";color:rgba(255, 255, 255, 0.5);font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__category-exp.svelte-1nrmyry{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__category-exp.svelte-1nrmyry{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__category-exp.svelte-1nrmyry{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__category-exp.svelte-1nrmyry{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__category-exp.svelte-1nrmyry{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__category-exp.svelte-1nrmyry{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__category-exp.svelte-1nrmyry{font-size:calc(0.0114583333 * 100vw + 0px)}}.job-contracts-contracts__category-exp--completed.svelte-1nrmyry{font-family:\"GothamPro-Medium\";color:#76D355;font-size:calc(0.00625 * 100vw + 0px);padding-left:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__category-exp--completed.svelte-1nrmyry{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__category-exp--completed.svelte-1nrmyry{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__category-exp--completed.svelte-1nrmyry{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__category-exp--completed.svelte-1nrmyry{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__category-exp--completed.svelte-1nrmyry{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__category-exp--completed.svelte-1nrmyry{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__category-exp--completed.svelte-1nrmyry{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__category-exp--completed.svelte-1nrmyry{padding-left:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__category-exp--completed.svelte-1nrmyry{padding-left:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__category-exp--completed.svelte-1nrmyry{padding-left:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__category-exp--completed.svelte-1nrmyry{padding-left:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__category-exp--completed.svelte-1nrmyry{padding-left:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__category-exp--completed.svelte-1nrmyry{padding-left:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__category-exp--completed.svelte-1nrmyry{padding-left:calc(0.0028645833 * 100vw + 0px)}}.job-contracts-contracts__category-exp-light.svelte-1nrmyry{color:#FFFFFF}.job-contracts-contracts__category-exp-descr.svelte-1nrmyry{font-family:\"GothamPro\";color:rgba(255, 255, 255, 0.5);font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__category-exp-descr.svelte-1nrmyry{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__category-exp-descr.svelte-1nrmyry{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__category-exp-descr.svelte-1nrmyry{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__category-exp-descr.svelte-1nrmyry{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__category-exp-descr.svelte-1nrmyry{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__category-exp-descr.svelte-1nrmyry{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__category-exp-descr.svelte-1nrmyry{font-size:calc(0.006875 * 100vw + 0px)}}.job-contracts-contracts__items.svelte-1nrmyry{position:absolute;top:calc(0.1302083333 * 100vw + 0px);right:calc(0.1328125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items.svelte-1nrmyry{top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items.svelte-1nrmyry{top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items.svelte-1nrmyry{top:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items.svelte-1nrmyry{top:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items.svelte-1nrmyry{top:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items.svelte-1nrmyry{top:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items.svelte-1nrmyry{top:calc(0.1432291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items.svelte-1nrmyry{right:calc(0.1328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items.svelte-1nrmyry{right:calc(0.1328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items.svelte-1nrmyry{right:calc(0.102265625 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items.svelte-1nrmyry{right:calc(0.14609375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items.svelte-1nrmyry{right:calc(0.09296875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items.svelte-1nrmyry{right:calc(0.11953125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items.svelte-1nrmyry{right:calc(0.14609375 * 100vw + 0px)}}.job-contracts-contracts__items-title.svelte-1nrmyry{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px);margin-bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-title.svelte-1nrmyry{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-title.svelte-1nrmyry{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-title.svelte-1nrmyry{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-title.svelte-1nrmyry{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-title.svelte-1nrmyry{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-title.svelte-1nrmyry{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-title.svelte-1nrmyry{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-title.svelte-1nrmyry{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-title.svelte-1nrmyry{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-title.svelte-1nrmyry{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-title.svelte-1nrmyry{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-title.svelte-1nrmyry{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-title.svelte-1nrmyry{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-title.svelte-1nrmyry{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.job-contracts-contracts__items-wrapper.svelte-1nrmyry{overflow:auto;height:calc(0.378125 * 100vw + 0px);padding-right:calc(0.0130208333 * 100vw + 0px)}.job-contracts-contracts__items-wrapper.svelte-1nrmyry::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.job-contracts-contracts__items-wrapper.svelte-1nrmyry::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.job-contracts-contracts__items-wrapper.svelte-1nrmyry::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry{height:calc(0.378125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry{height:calc(0.378125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry{height:calc(0.29115625 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry{height:calc(0.4159375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry{height:calc(0.2646875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry{height:calc(0.3403125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry{height:calc(0.4159375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry{padding-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry{padding-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry{padding-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-wrapper.svelte-1nrmyry{padding-right:calc(0.0143229167 * 100vw + 0px)}}.job-contracts-contracts__items-block.svelte-1nrmyry{border:1px solid rgba(255, 255, 255, 0.2);border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.3125 * 100vw + 0px);height:calc(0.1171875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-block.svelte-1nrmyry{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-block.svelte-1nrmyry{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-block.svelte-1nrmyry{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-block.svelte-1nrmyry{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-block.svelte-1nrmyry{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-block.svelte-1nrmyry{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-block.svelte-1nrmyry{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-block.svelte-1nrmyry{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-block.svelte-1nrmyry{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-block.svelte-1nrmyry{width:calc(0.240625 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-block.svelte-1nrmyry{width:calc(0.34375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-block.svelte-1nrmyry{width:calc(0.21875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-block.svelte-1nrmyry{width:calc(0.28125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-block.svelte-1nrmyry{width:calc(0.34375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-block.svelte-1nrmyry{height:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-block.svelte-1nrmyry{height:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-block.svelte-1nrmyry{height:calc(0.090234375 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-block.svelte-1nrmyry{height:calc(0.12890625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-block.svelte-1nrmyry{height:calc(0.08203125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-block.svelte-1nrmyry{height:calc(0.10546875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-block.svelte-1nrmyry{height:calc(0.12890625 * 100vw + 0px)}}.job-contracts-contracts__items-block.svelte-1nrmyry:not(:first-child){margin-top:calc(0.0109375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-block.svelte-1nrmyry:not(:first-child){margin-top:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-block.svelte-1nrmyry:not(:first-child){margin-top:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-block.svelte-1nrmyry:not(:first-child){margin-top:calc(0.008421875 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-block.svelte-1nrmyry:not(:first-child){margin-top:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-block.svelte-1nrmyry:not(:first-child){margin-top:calc(0.00765625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-block.svelte-1nrmyry:not(:first-child){margin-top:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-block.svelte-1nrmyry:not(:first-child){margin-top:calc(0.01203125 * 100vw + 0px)}}.job-contracts-contracts__items-block-upper.svelte-1nrmyry{display:flex;align-items:center;justify-content:space-between;padding-top:calc(0.0140625 * 100vw + 0px);padding-bottom:calc(0.0119791667 * 100vw + 0px);padding-left:calc(0.0125 * 100vw + 0px);padding-right:calc(0.0140625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-block-upper.svelte-1nrmyry{padding-top:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-block-upper.svelte-1nrmyry{padding-top:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-block-upper.svelte-1nrmyry{padding-top:calc(0.010828125 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-block-upper.svelte-1nrmyry{padding-top:calc(0.01546875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-block-upper.svelte-1nrmyry{padding-top:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-block-upper.svelte-1nrmyry{padding-top:calc(0.01265625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-block-upper.svelte-1nrmyry{padding-top:calc(0.01546875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-block-upper.svelte-1nrmyry{padding-bottom:calc(0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-block-upper.svelte-1nrmyry{padding-bottom:calc(0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-block-upper.svelte-1nrmyry{padding-bottom:calc(0.0092239583 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-block-upper.svelte-1nrmyry{padding-bottom:calc(0.0131770833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-block-upper.svelte-1nrmyry{padding-bottom:calc(0.0083854167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-block-upper.svelte-1nrmyry{padding-bottom:calc(0.01078125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-block-upper.svelte-1nrmyry{padding-bottom:calc(0.0131770833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-block-upper.svelte-1nrmyry{padding-left:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-block-upper.svelte-1nrmyry{padding-left:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-block-upper.svelte-1nrmyry{padding-left:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-block-upper.svelte-1nrmyry{padding-left:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-block-upper.svelte-1nrmyry{padding-left:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-block-upper.svelte-1nrmyry{padding-left:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-block-upper.svelte-1nrmyry{padding-left:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-block-upper.svelte-1nrmyry{padding-right:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-block-upper.svelte-1nrmyry{padding-right:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-block-upper.svelte-1nrmyry{padding-right:calc(0.010828125 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-block-upper.svelte-1nrmyry{padding-right:calc(0.01546875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-block-upper.svelte-1nrmyry{padding-right:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-block-upper.svelte-1nrmyry{padding-right:calc(0.01265625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-block-upper.svelte-1nrmyry{padding-right:calc(0.01546875 * 100vw + 0px)}}.job-contracts-contracts__items-block-title.svelte-1nrmyry{color:#FFFFFF;font-family:\"GothamPro-Medium\";font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-block-title.svelte-1nrmyry{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-block-title.svelte-1nrmyry{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-block-title.svelte-1nrmyry{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-block-title.svelte-1nrmyry{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-block-title.svelte-1nrmyry{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-block-title.svelte-1nrmyry{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-block-title.svelte-1nrmyry{font-size:calc(0.01375 * 100vw + 0px)}}.job-contracts-contracts__items-block-descr.svelte-1nrmyry{color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.00625 * 100vw + 0px);margin-top:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-block-descr.svelte-1nrmyry{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-block-descr.svelte-1nrmyry{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-block-descr.svelte-1nrmyry{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-block-descr.svelte-1nrmyry{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-block-descr.svelte-1nrmyry{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-block-descr.svelte-1nrmyry{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-block-descr.svelte-1nrmyry{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-block-descr.svelte-1nrmyry{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-block-descr.svelte-1nrmyry{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-block-descr.svelte-1nrmyry{margin-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-block-descr.svelte-1nrmyry{margin-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-block-descr.svelte-1nrmyry{margin-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-block-descr.svelte-1nrmyry{margin-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-block-descr.svelte-1nrmyry{margin-top:calc(0.0057291667 * 100vw + 0px)}}.job-contracts-contracts__items-block-reward.svelte-1nrmyry{display:flex;flex-direction:column;align-items:center}.job-contracts-contracts__items-block-reward-title.svelte-1nrmyry{color:rgba(255, 255, 255, 0.5);font-family:\"GothamPro-Medium\";font-size:calc(0.0072916667 * 100vw + 0px);margin-bottom:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-block-reward-title.svelte-1nrmyry{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-block-reward-title.svelte-1nrmyry{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-block-reward-title.svelte-1nrmyry{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-block-reward-title.svelte-1nrmyry{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-block-reward-title.svelte-1nrmyry{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-block-reward-title.svelte-1nrmyry{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-block-reward-title.svelte-1nrmyry{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-block-reward-title.svelte-1nrmyry{margin-bottom:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-block-reward-title.svelte-1nrmyry{margin-bottom:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-block-reward-title.svelte-1nrmyry{margin-bottom:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-block-reward-title.svelte-1nrmyry{margin-bottom:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-block-reward-title.svelte-1nrmyry{margin-bottom:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-block-reward-title.svelte-1nrmyry{margin-bottom:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-block-reward-title.svelte-1nrmyry{margin-bottom:calc(0.006875 * 100vw + 0px)}}.job-contracts-contracts__items-btn.svelte-1nrmyry{display:flex;align-items:center;justify-content:center;cursor:pointer;background-color:rgba(255, 255, 255, 0.25);transition:background-color 0.2s linear;width:calc(0.0520833333 * 100vw + 0px);height:calc(0.0182291667 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-btn.svelte-1nrmyry{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-btn.svelte-1nrmyry{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-btn.svelte-1nrmyry{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-btn.svelte-1nrmyry{width:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-btn.svelte-1nrmyry{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-btn.svelte-1nrmyry{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-btn.svelte-1nrmyry{width:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-btn.svelte-1nrmyry{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-btn.svelte-1nrmyry{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-btn.svelte-1nrmyry{height:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-btn.svelte-1nrmyry{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-btn.svelte-1nrmyry{height:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-btn.svelte-1nrmyry{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-btn.svelte-1nrmyry{height:calc(0.0200520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-btn.svelte-1nrmyry{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-btn.svelte-1nrmyry{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-btn.svelte-1nrmyry{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-btn.svelte-1nrmyry{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-btn.svelte-1nrmyry{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-btn.svelte-1nrmyry{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-btn.svelte-1nrmyry{border-radius:calc(0.0057291667 * 100vw + 0px)}}.job-contracts-contracts__items-btn.svelte-1nrmyry:hover{background-color:rgba(255, 255, 255, 0.1)}.job-contracts-contracts__items-btn--incomplete.svelte-1nrmyry{display:flex;flex-direction:column;align-items:center}.job-contracts-contracts__items-btn-key-body.svelte-1nrmyry{display:flex;flex-direction:row;font-family:\"GothamPro-Medium\";font-size:calc(0.0104166667 * 100vw + 0px);margin-bottom:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-btn-key-body.svelte-1nrmyry{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-btn-key-body.svelte-1nrmyry{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-btn-key-body.svelte-1nrmyry{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-btn-key-body.svelte-1nrmyry{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-btn-key-body.svelte-1nrmyry{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-btn-key-body.svelte-1nrmyry{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-btn-key-body.svelte-1nrmyry{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-btn-key-body.svelte-1nrmyry{margin-bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-btn-key-body.svelte-1nrmyry{margin-bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-btn-key-body.svelte-1nrmyry{margin-bottom:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-btn-key-body.svelte-1nrmyry{margin-bottom:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-btn-key-body.svelte-1nrmyry{margin-bottom:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-btn-key-body.svelte-1nrmyry{margin-bottom:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-btn-key-body.svelte-1nrmyry{margin-bottom:calc(0.0028645833 * 100vw + 0px)}}.job-contracts-contracts__items-btn-key.svelte-1nrmyry{color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-btn-key.svelte-1nrmyry{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-btn-key.svelte-1nrmyry{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-btn-key.svelte-1nrmyry{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-btn-key.svelte-1nrmyry{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-btn-key.svelte-1nrmyry{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-btn-key.svelte-1nrmyry{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-btn-key.svelte-1nrmyry{font-size:calc(0.006875 * 100vw + 0px)}}.job-contracts-contracts__items-btn-key-progress.svelte-1nrmyry{color:#FFFFFF}.job-contracts-contracts__items-btn-key-maxprogress.svelte-1nrmyry{color:rgba(255, 255, 255, 0.5)}.job-contracts-contracts__items-btn-bar.svelte-1nrmyry{position:relative;background-color:rgba(255, 255, 255, 0.25);width:calc(0.046875 * 100vw + 0px);height:calc(0.0015625 * 100vw + 0px);border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-btn-bar.svelte-1nrmyry{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-btn-bar.svelte-1nrmyry{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-btn-bar.svelte-1nrmyry{width:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-btn-bar.svelte-1nrmyry{width:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-btn-bar.svelte-1nrmyry{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-btn-bar.svelte-1nrmyry{width:calc(0.0421875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-btn-bar.svelte-1nrmyry{width:calc(0.0515625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-btn-bar.svelte-1nrmyry{height:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-btn-bar.svelte-1nrmyry{height:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-btn-bar.svelte-1nrmyry{height:calc(0.001203125 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-btn-bar.svelte-1nrmyry{height:calc(0.00171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-btn-bar.svelte-1nrmyry{height:calc(0.00109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-btn-bar.svelte-1nrmyry{height:calc(0.00140625 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-btn-bar.svelte-1nrmyry{height:calc(0.00171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-btn-bar.svelte-1nrmyry{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-btn-bar.svelte-1nrmyry{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-btn-bar.svelte-1nrmyry{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-btn-bar.svelte-1nrmyry{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-btn-bar.svelte-1nrmyry{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-btn-bar.svelte-1nrmyry{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-btn-bar.svelte-1nrmyry{border-radius:calc(0.0028645833 * 100vw + 0px)}}.job-contracts-contracts__items-btn-progress.svelte-1nrmyry{position:absolute;background-color:#FFFFFF;height:100%;left:0;border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-btn-progress.svelte-1nrmyry{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-btn-progress.svelte-1nrmyry{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-btn-progress.svelte-1nrmyry{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-btn-progress.svelte-1nrmyry{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-btn-progress.svelte-1nrmyry{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-btn-progress.svelte-1nrmyry{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-btn-progress.svelte-1nrmyry{border-radius:calc(0.0028645833 * 100vw + 0px)}}.job-contracts-contracts__items-block-reward-items-title.svelte-1nrmyry{font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-block-reward-items-title.svelte-1nrmyry{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-block-reward-items-title.svelte-1nrmyry{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-block-reward-items-title.svelte-1nrmyry{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-block-reward-items-title.svelte-1nrmyry{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-block-reward-items-title.svelte-1nrmyry{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-block-reward-items-title.svelte-1nrmyry{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-block-reward-items-title.svelte-1nrmyry{font-size:calc(0.0057291667 * 100vw + 0px)}}.job-contracts-contracts__items-block-reward-body.svelte-1nrmyry{display:flex;text-align:center}.job-contracts-contracts__items-block-reward-items.svelte-1nrmyry{display:flex;flex-direction:column;align-items:center;width:calc(0.046875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-block-reward-items.svelte-1nrmyry{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-block-reward-items.svelte-1nrmyry{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-block-reward-items.svelte-1nrmyry{width:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-block-reward-items.svelte-1nrmyry{width:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-block-reward-items.svelte-1nrmyry{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-block-reward-items.svelte-1nrmyry{width:calc(0.0421875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-block-reward-items.svelte-1nrmyry{width:calc(0.0515625 * 100vw + 0px)}}.job-contracts-contracts__items-block-reward-items.svelte-1nrmyry:not(:first-child){margin-left:calc(0.0234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-block-reward-items.svelte-1nrmyry:not(:first-child){margin-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-block-reward-items.svelte-1nrmyry:not(:first-child){margin-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-block-reward-items.svelte-1nrmyry:not(:first-child){margin-left:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-block-reward-items.svelte-1nrmyry:not(:first-child){margin-left:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-block-reward-items.svelte-1nrmyry:not(:first-child){margin-left:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-block-reward-items.svelte-1nrmyry:not(:first-child){margin-left:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-block-reward-items.svelte-1nrmyry:not(:first-child){margin-left:calc(0.02578125 * 100vw + 0px)}}.job-contracts-contracts__items-block-reward-items-img.svelte-1nrmyry{width:calc(0.0260416667 * 100vw + 0px);padding-bottom:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-block-reward-items-img.svelte-1nrmyry{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-block-reward-items-img.svelte-1nrmyry{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-block-reward-items-img.svelte-1nrmyry{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-block-reward-items-img.svelte-1nrmyry{width:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-block-reward-items-img.svelte-1nrmyry{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-block-reward-items-img.svelte-1nrmyry{width:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-block-reward-items-img.svelte-1nrmyry{width:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__items-block-reward-items-img.svelte-1nrmyry{padding-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__items-block-reward-items-img.svelte-1nrmyry{padding-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__items-block-reward-items-img.svelte-1nrmyry{padding-bottom:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__items-block-reward-items-img.svelte-1nrmyry{padding-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__items-block-reward-items-img.svelte-1nrmyry{padding-bottom:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__items-block-reward-items-img.svelte-1nrmyry{padding-bottom:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__items-block-reward-items-img.svelte-1nrmyry{padding-bottom:calc(0.0057291667 * 100vw + 0px)}}.job-contracts-contracts__decorative-complete-img.svelte-1nrmyry{width:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.job-contracts-contracts__decorative-complete-img.svelte-1nrmyry{width:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.job-contracts-contracts__decorative-complete-img.svelte-1nrmyry{width:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.job-contracts-contracts__decorative-complete-img.svelte-1nrmyry{width:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.job-contracts-contracts__decorative-complete-img.svelte-1nrmyry{width:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.job-contracts-contracts__decorative-complete-img.svelte-1nrmyry{width:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.job-contracts-contracts__decorative-complete-img.svelte-1nrmyry{width:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.job-contracts-contracts__decorative-complete-img.svelte-1nrmyry{width:calc(0.0114583333 * 100vw + 0px)}}");
}

function contracts_base_layout_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[16] = list[i];
	return child_ctx;
}

function base_layout_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[19] = list[i];
	return child_ctx;
}

function get_each_context_2(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[22] = list[i];
	return child_ctx;
}

// (3267:4) {#if !isEmpty(MAP_BACKGROUND_TO_CONTRACTS[type])}
function contracts_base_layout_index_svelte_create_if_block_3(ctx) {
	let switch_instance0;
	let t;
	let switch_instance1;
	let switch_instance1_anchor;
	let current;
	var switch_value = MAP_BACKGROUND_TO_CONTRACTS[/*type*/ ctx[0]].leftBg;

	function switch_props(ctx) {
		return {};
	}

	if (switch_value) {
		switch_instance0 = new switch_value(switch_props(ctx));
	}

	var switch_value_1 = MAP_BACKGROUND_TO_CONTRACTS[/*type*/ ctx[0]].rightBg;

	function switch_props_1(ctx) {
		return {};
	}

	if (switch_value_1) {
		switch_instance1 = new switch_value_1(switch_props_1(ctx));
	}

	return {
		c() {
			if (switch_instance0) create_component(switch_instance0.$$.fragment);
			t = space();
			if (switch_instance1) create_component(switch_instance1.$$.fragment);
			switch_instance1_anchor = empty();
		},
		m(target, anchor) {
			if (switch_instance0) {
				mount_component(switch_instance0, target, anchor);
			}

			insert(target, t, anchor);

			if (switch_instance1) {
				mount_component(switch_instance1, target, anchor);
			}

			insert(target, switch_instance1_anchor, anchor);
			current = true;
		},
		p(ctx, dirty) {
			if (switch_value !== (switch_value = MAP_BACKGROUND_TO_CONTRACTS[/*type*/ ctx[0]].leftBg)) {
				if (switch_instance0) {
					group_outros();
					const old_component = switch_instance0;

					transition_out(old_component.$$.fragment, 1, 0, () => {
						destroy_component(old_component, 1);
					});

					check_outros();
				}

				if (switch_value) {
					switch_instance0 = new switch_value(switch_props(ctx));
					create_component(switch_instance0.$$.fragment);
					transition_in(switch_instance0.$$.fragment, 1);
					mount_component(switch_instance0, t.parentNode, t);
				} else {
					switch_instance0 = null;
				}
			} else if (switch_value) {
				
			}

			if (switch_value_1 !== (switch_value_1 = MAP_BACKGROUND_TO_CONTRACTS[/*type*/ ctx[0]].rightBg)) {
				if (switch_instance1) {
					group_outros();
					const old_component = switch_instance1;

					transition_out(old_component.$$.fragment, 1, 0, () => {
						destroy_component(old_component, 1);
					});

					check_outros();
				}

				if (switch_value_1) {
					switch_instance1 = new switch_value_1(switch_props_1(ctx));
					create_component(switch_instance1.$$.fragment);
					transition_in(switch_instance1.$$.fragment, 1);
					mount_component(switch_instance1, switch_instance1_anchor.parentNode, switch_instance1_anchor);
				} else {
					switch_instance1 = null;
				}
			} else if (switch_value_1) {
				
			}
		},
		i(local) {
			if (current) return;
			if (switch_instance0) transition_in(switch_instance0.$$.fragment, local);
			if (switch_instance1) transition_in(switch_instance1.$$.fragment, local);
			current = true;
		},
		o(local) {
			if (switch_instance0) transition_out(switch_instance0.$$.fragment, local);
			if (switch_instance1) transition_out(switch_instance1.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (switch_instance0) destroy_component(switch_instance0, detaching);
			if (detaching) detach(t);
			if (detaching) detach(switch_instance1_anchor);
			if (switch_instance1) destroy_component(switch_instance1, detaching);
		}
	};
}

// (3309:20) {:else}
function create_else_block_1(ctx) {
	let div;
	let img;
	let img_src_value;
	let t0;
	let p;

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			p.textContent = "Выполнено";
			attr(img, "class", "job-contracts-contracts__decorative-complete-img svelte-1nrmyry");
			if (!src_url_equal(img.src, img_src_value = Complete_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "CompleteImg");
			attr(p, "class", "job-contracts-contracts__category-exp--completed svelte-1nrmyry");
			attr(div, "class", "job-contracts-contracts__category-quest-progress--completed svelte-1nrmyry");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
			append(div, t0);
			append(div, p);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (3296:20) {#if category.progress !== category.maxProgress}
function contracts_base_layout_index_svelte_create_if_block_2(ctx) {
	let div;
	let p0;
	let span;
	let t0_value = /*category*/ ctx[22].progress + "";
	let t0;
	let t1;
	let t2;
	let t3_value = /*category*/ ctx[22].maxProgress + "";
	let t3;
	let t4;
	let p1;

	return {
		c() {
			div = internal_element("div");
			p0 = internal_element("p");
			span = internal_element("span");
			t0 = internal_text(t0_value);
			t1 = internal_text("\r\n                                    /");
			t2 = space();
			t3 = internal_text(t3_value);
			t4 = space();
			p1 = internal_element("p");
			p1.textContent = "Прогресс";
			attr(span, "class", "job-contracts-contracts__category-exp-light svelte-1nrmyry");
			attr(p0, "class", "job-contracts-contracts__category-exp svelte-1nrmyry");
			attr(p1, "class", "job-contracts-contracts__category-exp-descr svelte-1nrmyry");
			attr(div, "class", "job-contracts-contracts__category-quest-progress svelte-1nrmyry");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p0);
			append(p0, span);
			append(span, t0);
			append(span, t1);
			append(p0, t2);
			append(p0, t3);
			append(div, t4);
			append(div, p1);
		},
		p(ctx, dirty) {
			if (dirty & /*categoriesTabs*/ 4 && t0_value !== (t0_value = /*category*/ ctx[22].progress + "")) set_data(t0, t0_value);
			if (dirty & /*categoriesTabs*/ 4 && t3_value !== (t3_value = /*category*/ ctx[22].maxProgress + "")) set_data(t3, t3_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (3282:12) {#each categoriesTabs as category}
function create_each_block_2(ctx) {
	let div1;
	let div0;
	let p0;
	let t0_value = /*category*/ ctx[22].title + "";
	let t0;
	let t1;
	let p1;
	let t2_value = /*category*/ ctx[22].description + "";
	let t2;
	let t3;
	let t4;
	let mounted;
	let dispose;

	function select_block_type(ctx, dirty) {
		if (/*category*/ ctx[22].progress !== /*category*/ ctx[22].maxProgress) return contracts_base_layout_index_svelte_create_if_block_2;
		return create_else_block_1;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block = current_block_type(ctx);

	function click_handler() {
		return /*click_handler*/ ctx[7](/*category*/ ctx[22]);
	}

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = space();
			if_block.c();
			t4 = space();
			attr(p0, "class", "job-contracts-contracts__category-quest-title svelte-1nrmyry");
			attr(p1, "class", "job-contracts-contracts__category-quest-descr svelte-1nrmyry");
			attr(div0, "class", "job-contracts-contracts__category-quest-body svelte-1nrmyry");
			attr(div1, "class", "job-contracts-contracts__category-quest svelte-1nrmyry");
			toggle_class(div1, "job-contracts-contracts__category-quest--selected", /*category*/ ctx[22].id === /*selectedTabId*/ ctx[3]);
			toggle_class(div1, "job-contracts-contracts__category-quest--completed", /*category*/ ctx[22].progress === /*category*/ ctx[22].maxProgress);
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, p0);
			append(p0, t0);
			append(div0, t1);
			append(div0, p1);
			append(p1, t2);
			append(div1, t3);
			if_block.m(div1, null);
			append(div1, t4);

			if (!mounted) {
				dispose = listen(div1, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if (dirty & /*categoriesTabs*/ 4 && t0_value !== (t0_value = /*category*/ ctx[22].title + "")) set_data(t0, t0_value);
			if (dirty & /*categoriesTabs*/ 4 && t2_value !== (t2_value = /*category*/ ctx[22].description + "")) set_data(t2, t2_value);

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div1, t4);
				}
			}

			if (dirty & /*categoriesTabs, selectedTabId*/ 12) {
				toggle_class(div1, "job-contracts-contracts__category-quest--selected", /*category*/ ctx[22].id === /*selectedTabId*/ ctx[3]);
			}

			if (dirty & /*categoriesTabs*/ 4) {
				toggle_class(div1, "job-contracts-contracts__category-quest--completed", /*category*/ ctx[22].progress === /*category*/ ctx[22].maxProgress);
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			if_block.d();
			mounted = false;
			dispose();
		}
	};
}

// (3322:8) {#if !isEmpty(categoriesQuests[selectedTabId])}
function contracts_base_layout_index_svelte_create_if_block(ctx) {
	let p;
	let t1;
	let div;
	let each_value = /*categoriesQuests*/ ctx[1][/*selectedTabId*/ ctx[3]];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = contracts_base_layout_index_svelte_create_each_block(contracts_base_layout_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			p = internal_element("p");
			p.textContent = "Задания";
			t1 = space();
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(p, "class", "job-contracts-contracts__items-title svelte-1nrmyry");
			attr(div, "class", "job-contracts-contracts__items-wrapper svelte-1nrmyry");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			insert(target, t1, anchor);
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}
		},
		p(ctx, dirty) {
			if (dirty & /*categoriesQuests, selectedTabId, CDN_URL_RODINA, startQuest*/ 74) {
				each_value = /*categoriesQuests*/ ctx[1][/*selectedTabId*/ ctx[3]];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = contracts_base_layout_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = contracts_base_layout_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		d(detaching) {
			if (detaching) detach(p);
			if (detaching) detach(t1);
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (3347:28) {:else}
function contracts_base_layout_index_svelte_create_else_block(ctx) {
	let div3;
	let div0;
	let p0;
	let t0_value = /*quest*/ ctx[16].progress + "";
	let t0;
	let t1;
	let p1;
	let t2;
	let t3_value = /*quest*/ ctx[16].maxProgress + "";
	let t3;
	let t4;
	let div2;
	let div1;
	let div1_style_value;

	return {
		c() {
			div3 = internal_element("div");
			div0 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text("/\r\n                                            ");
			t3 = internal_text(t3_value);
			t4 = space();
			div2 = internal_element("div");
			div1 = internal_element("div");
			attr(p0, "class", "job-contracts-contracts__items-btn-key-progress svelte-1nrmyry");
			attr(p1, "class", "job-contracts-contracts__items-btn-key-maxprogress svelte-1nrmyry");
			attr(div0, "class", "job-contracts-contracts__items-btn-key-body svelte-1nrmyry");
			attr(div1, "class", "job-contracts-contracts__items-btn-progress svelte-1nrmyry");
			attr(div1, "style", div1_style_value = `width: ${/*quest*/ ctx[16].progress / (/*quest*/ ctx[16].maxProgress / 100)}%;`);
			attr(div2, "class", "job-contracts-contracts__items-btn-bar svelte-1nrmyry");
			attr(div3, "class", "job-contracts-contracts__items-btn--incomplete svelte-1nrmyry");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div0);
			append(div0, p0);
			append(p0, t0);
			append(div0, t1);
			append(div0, p1);
			append(p1, t2);
			append(p1, t3);
			append(div3, t4);
			append(div3, div2);
			append(div2, div1);
		},
		p(ctx, dirty) {
			if (dirty & /*categoriesQuests, selectedTabId*/ 10 && t0_value !== (t0_value = /*quest*/ ctx[16].progress + "")) set_data(t0, t0_value);
			if (dirty & /*categoriesQuests, selectedTabId*/ 10 && t3_value !== (t3_value = /*quest*/ ctx[16].maxProgress + "")) set_data(t3, t3_value);

			if (dirty & /*categoriesQuests, selectedTabId*/ 10 && div1_style_value !== (div1_style_value = `width: ${/*quest*/ ctx[16].progress / (/*quest*/ ctx[16].maxProgress / 100)}%;`)) {
				attr(div1, "style", div1_style_value);
			}
		},
		d(detaching) {
			if (detaching) detach(div3);
		}
	};
}

// (3338:28) {#if !quest.inProgress}
function contracts_base_layout_index_svelte_create_if_block_1(ctx) {
	let div;
	let mounted;
	let dispose;

	function click_handler_1() {
		return /*click_handler_1*/ ctx[8](/*quest*/ ctx[16]);
	}

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="job-contracts-contracts__items-btn-key svelte-1nrmyry">Выполнить</p>`;
			attr(div, "class", "job-contracts-contracts__items-btn svelte-1nrmyry");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = listen(div, "click", click_handler_1);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (3371:32) {#each quest.rewards as reward }
function base_layout_index_svelte_create_each_block_1(ctx) {
	let div;
	let img;
	let img_src_value;
	let t0;
	let p;
	let t1_value = /*reward*/ ctx[19].title + "";
	let t1;
	let t2;

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(img, "class", "job-contracts-contracts__items-block-reward-items-img svelte-1nrmyry");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*reward*/ ctx[19].icon}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "Reward");
			attr(p, "class", "job-contracts-contracts__items-block-reward-items-title svelte-1nrmyry");
			attr(div, "class", "job-contracts-contracts__items-block-reward-items svelte-1nrmyry");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
			append(div, t0);
			append(div, p);
			append(p, t1);
			append(div, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*categoriesQuests, selectedTabId*/ 10 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*reward*/ ctx[19].icon}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*categoriesQuests, selectedTabId*/ 10 && t1_value !== (t1_value = /*reward*/ ctx[19].title + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (3327:16) {#each categoriesQuests[selectedTabId] as quest}
function contracts_base_layout_index_svelte_create_each_block(ctx) {
	let div4;
	let div1;
	let div0;
	let p0;
	let t0_value = /*quest*/ ctx[16].title + "";
	let t0;
	let t1;
	let p1;
	let t2_value = /*quest*/ ctx[16].description + "";
	let t2;
	let t3;
	let t4;
	let div3;
	let p2;
	let t6;
	let div2;
	let t7;

	function select_block_type_1(ctx, dirty) {
		if (!/*quest*/ ctx[16].inProgress) return contracts_base_layout_index_svelte_create_if_block_1;
		return contracts_base_layout_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type_1(ctx, -1);
	let if_block = current_block_type(ctx);
	let each_value_1 = /*quest*/ ctx[16].rewards;
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = base_layout_index_svelte_create_each_block_1(base_layout_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	return {
		c() {
			div4 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = space();
			if_block.c();
			t4 = space();
			div3 = internal_element("div");
			p2 = internal_element("p");
			p2.textContent = "Награда";
			t6 = space();
			div2 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t7 = space();
			attr(p0, "class", "job-contracts-contracts__items-block-title svelte-1nrmyry");
			attr(p1, "class", "job-contracts-contracts__items-block-descr svelte-1nrmyry");
			attr(div0, "class", "job-contracts-contracts__items-block-text");
			attr(div1, "class", "job-contracts-contracts__items-block-upper svelte-1nrmyry");
			attr(p2, "class", "job-contracts-contracts__items-block-reward-title svelte-1nrmyry");
			attr(div2, "class", "job-contracts-contracts__items-block-reward-body svelte-1nrmyry");
			attr(div3, "class", "job-contracts-contracts__items-block-reward svelte-1nrmyry");
			attr(div4, "class", "job-contracts-contracts__items-block svelte-1nrmyry");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div1);
			append(div1, div0);
			append(div0, p0);
			append(p0, t0);
			append(div0, t1);
			append(div0, p1);
			append(p1, t2);
			append(div1, t3);
			if_block.m(div1, null);
			append(div4, t4);
			append(div4, div3);
			append(div3, p2);
			append(div3, t6);
			append(div3, div2);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div2, null);
			}

			append(div4, t7);
		},
		p(ctx, dirty) {
			if (dirty & /*categoriesQuests, selectedTabId*/ 10 && t0_value !== (t0_value = /*quest*/ ctx[16].title + "")) set_data(t0, t0_value);
			if (dirty & /*categoriesQuests, selectedTabId*/ 10 && t2_value !== (t2_value = /*quest*/ ctx[16].description + "")) set_data(t2, t2_value);

			if (current_block_type === (current_block_type = select_block_type_1(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div1, null);
				}
			}

			if (dirty & /*categoriesQuests, selectedTabId, CDN_URL_RODINA*/ 10) {
				each_value_1 = /*quest*/ ctx[16].rewards;
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = base_layout_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = base_layout_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div2, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}
		},
		d(detaching) {
			if (detaching) detach(div4);
			if_block.d();
			destroy_each(each_blocks, detaching);
		}
	};
}

function contracts_base_layout_index_svelte_create_fragment(ctx) {
	let div4;
	let p0;
	let t1;
	let exitbutton;
	let t2;
	let show_if_1 = !(0,lodash.isEmpty)(MAP_BACKGROUND_TO_CONTRACTS[/*type*/ ctx[0]]);
	let t3;
	let div0;
	let img;
	let img_src_value;
	let t4;
	let p1;
	let t5_value = MAP_TYPE_TO_LOGO_INFORMATION[/*type*/ ctx[0]].title + "";
	let t5;
	let t6;
	let div2;
	let p2;
	let t8;
	let div1;
	let t9;
	let div3;
	let show_if = !(0,lodash.isEmpty)(/*categoriesQuests*/ ctx[1][/*selectedTabId*/ ctx[3]]);
	let current;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[5],
				fixedPosition: true
			}
		});

	let if_block0 = show_if_1 && contracts_base_layout_index_svelte_create_if_block_3(ctx);
	let each_value_2 = /*categoriesTabs*/ ctx[2];
	let each_blocks = [];

	for (let i = 0; i < each_value_2.length; i += 1) {
		each_blocks[i] = create_each_block_2(get_each_context_2(ctx, each_value_2, i));
	}

	let if_block1 = show_if && contracts_base_layout_index_svelte_create_if_block(ctx);

	return {
		c() {
			div4 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Контракты";
			t1 = space();
			create_component(exitbutton.$$.fragment);
			t2 = space();
			if (if_block0) if_block0.c();
			t3 = space();
			div0 = internal_element("div");
			img = internal_element("img");
			t4 = space();
			p1 = internal_element("p");
			t5 = internal_text(t5_value);
			t6 = space();
			div2 = internal_element("div");
			p2 = internal_element("p");
			p2.textContent = "Квесты";
			t8 = space();
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t9 = space();
			div3 = internal_element("div");
			if (if_block1) if_block1.c();
			attr(p0, "class", "job-contracts-contracts__title svelte-1nrmyry");
			attr(img, "class", "job-contracts-contracts__logo-icon svelte-1nrmyry");
			if (!src_url_equal(img.src, img_src_value = MAP_TYPE_TO_LOGO_INFORMATION[/*type*/ ctx[0]].icon)) attr(img, "src", img_src_value);
			attr(img, "alt", "logo");
			attr(p1, "class", "job-contracts-contracts__logo-title svelte-1nrmyry");
			attr(div0, "class", "job-contracts-contracts__logo svelte-1nrmyry");
			attr(p2, "class", "job-contracts-contracts__category-title svelte-1nrmyry");
			attr(div1, "class", "job-contracts-contracts__categories-wrapper svelte-1nrmyry");
			attr(div2, "class", "job-contracts-contracts__category svelte-1nrmyry");
			attr(div3, "class", "job-contracts-contracts__items svelte-1nrmyry");
			attr(div4, "class", "job-contracts-contracts svelte-1nrmyry");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, p0);
			append(div4, t1);
			mount_component(exitbutton, div4, null);
			append(div4, t2);
			if (if_block0) if_block0.m(div4, null);
			append(div4, t3);
			append(div4, div0);
			append(div0, img);
			append(div0, t4);
			append(div0, p1);
			append(p1, t5);
			append(div4, t6);
			append(div4, div2);
			append(div2, p2);
			append(div2, t8);
			append(div2, div1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}

			append(div4, t9);
			append(div4, div3);
			if (if_block1) if_block1.m(div3, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*type*/ 1) show_if_1 = !(0,lodash.isEmpty)(MAP_BACKGROUND_TO_CONTRACTS[/*type*/ ctx[0]]);

			if (show_if_1) {
				if (if_block0) {
					if_block0.p(ctx, dirty);

					if (dirty & /*type*/ 1) {
						transition_in(if_block0, 1);
					}
				} else {
					if_block0 = contracts_base_layout_index_svelte_create_if_block_3(ctx);
					if_block0.c();
					transition_in(if_block0, 1);
					if_block0.m(div4, t3);
				}
			} else if (if_block0) {
				group_outros();

				transition_out(if_block0, 1, 1, () => {
					if_block0 = null;
				});

				check_outros();
			}

			if (!current || dirty & /*type*/ 1 && !src_url_equal(img.src, img_src_value = MAP_TYPE_TO_LOGO_INFORMATION[/*type*/ ctx[0]].icon)) {
				attr(img, "src", img_src_value);
			}

			if ((!current || dirty & /*type*/ 1) && t5_value !== (t5_value = MAP_TYPE_TO_LOGO_INFORMATION[/*type*/ ctx[0]].title + "")) set_data(t5, t5_value);

			if (dirty & /*categoriesTabs, selectedTabId, selectCategory, Complete*/ 28) {
				each_value_2 = /*categoriesTabs*/ ctx[2];
				let i;

				for (i = 0; i < each_value_2.length; i += 1) {
					const child_ctx = get_each_context_2(ctx, each_value_2, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = create_each_block_2(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div1, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_2.length;
			}

			if (dirty & /*categoriesQuests, selectedTabId*/ 10) show_if = !(0,lodash.isEmpty)(/*categoriesQuests*/ ctx[1][/*selectedTabId*/ ctx[3]]);

			if (show_if) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = contracts_base_layout_index_svelte_create_if_block(ctx);
					if_block1.c();
					if_block1.m(div3, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			transition_in(if_block0);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			transition_out(if_block0);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div4);
			destroy_component(exitbutton);
			if (if_block0) if_block0.d();
			destroy_each(each_blocks, detaching);
			if (if_block1) if_block1.d();
		}
	};
}

function contracts_base_layout_index_svelte_instance($$self, $$props, $$invalidate) {
	let { type } = $$props;
	let categoriesQuests = {};
	let categoriesTabs = [];
	let selectedTabId = null;

	const setCategoryQuests = (categoryId, quests) => {
		$$invalidate(1, categoriesQuests[categoryId] = quests, categoriesQuests);
	};

	const selectCategory = tabId => {
		$$invalidate(3, selectedTabId = tabId);
		sendClientMessage('selectCategory', tabId);
	};

	const handleClose = () => {
		
	}; // exec close event

	const startQuest = questId => {
		// selectedTabId - category.id
		// console.log(questId);
		sendClientMessage('startQuest', questId, selectedTabId);
	};

	const initQuests = categoriesQuestsDto => {
		$$invalidate(1, categoriesQuests = categoriesQuestsDto);
	};

	const initTabs = categoriesTabsDto => {
		$$invalidate(2, categoriesTabs = categoriesTabsDto);
	};

	const unregisterInitQuestsEvent = registerEvent('event.contracts.initQuests', initQuests);
	const unregisterInitTabsEvent = registerEvent('event.contracts.initTabs', initTabs);
	const unregisterSetCategoryQuestEvent = registerEvent('event.contracts.setCategoryQuests', setCategoryQuests);
	const unregisterSelectCategoryQuestEvent = registerEvent('event.contracts.selectCategory', selectCategory);

	onDestroy(() => {
		unregisterInitQuestsEvent();
		unregisterInitTabsEvent();
		unregisterSetCategoryQuestEvent();
		unregisterSelectCategoryQuestEvent();
	});

	const click_handler = category => selectCategory(category.id);
	const click_handler_1 = quest => startQuest(quest.id);

	$$self.$$set = $$props => {
		if ('type' in $$props) $$invalidate(0, type = $$props.type);
	};

	return [
		type,
		categoriesQuests,
		categoriesTabs,
		selectedTabId,
		selectCategory,
		handleClose,
		startQuest,
		click_handler,
		click_handler_1
	];
}

class base_layout_index_svelte_Base_layout extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, contracts_base_layout_index_svelte_instance, contracts_base_layout_index_svelte_create_fragment, safe_not_equal, { type: 0 }, contracts_base_layout_index_svelte_add_css);
	}
}

/* harmony default export */ const contracts_base_layout_index_svelte = (base_layout_index_svelte_Base_layout);
;// CONCATENATED MODULE: ./src/views/job-contracts/contracts/hunting/index.svelte
/* src\views\job-contracts\contracts\hunting\index.svelte generated by Svelte v3.49.0 */





function contracts_hunting_index_svelte_create_fragment(ctx) {
	let jobcontractbaselayout;
	let current;
	jobcontractbaselayout = new contracts_base_layout_index_svelte({ props: { type: JobContractType.Hunting } });

	return {
		c() {
			create_component(jobcontractbaselayout.$$.fragment);
		},
		m(target, anchor) {
			mount_component(jobcontractbaselayout, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(jobcontractbaselayout.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(jobcontractbaselayout.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(jobcontractbaselayout, detaching);
		}
	};
}

class hunting_index_svelte_Hunting extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, contracts_hunting_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const contracts_hunting_index_svelte = (hunting_index_svelte_Hunting);
;// CONCATENATED MODULE: ./src/views/job-contracts/contracts/fishing/index.svelte
/* src\views\job-contracts\contracts\fishing\index.svelte generated by Svelte v3.49.0 */





function contracts_fishing_index_svelte_create_fragment(ctx) {
	let jobcontractbaselayout;
	let current;
	jobcontractbaselayout = new contracts_base_layout_index_svelte({ props: { type: JobContractType.Fishing } });

	return {
		c() {
			create_component(jobcontractbaselayout.$$.fragment);
		},
		m(target, anchor) {
			mount_component(jobcontractbaselayout, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(jobcontractbaselayout.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(jobcontractbaselayout.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(jobcontractbaselayout, detaching);
		}
	};
}

class fishing_index_svelte_Fishing extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, contracts_fishing_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const contracts_fishing_index_svelte = (fishing_index_svelte_Fishing);
;// CONCATENATED MODULE: ./src/views/job-contracts/contracts/bandit/index.svelte
/* src\views\job-contracts\contracts\bandit\index.svelte generated by Svelte v3.49.0 */





function contracts_bandit_index_svelte_create_fragment(ctx) {
	let jobcontractbaselayout;
	let current;
	jobcontractbaselayout = new contracts_base_layout_index_svelte({ props: { type: JobContractType.Bandit } });

	return {
		c() {
			create_component(jobcontractbaselayout.$$.fragment);
		},
		m(target, anchor) {
			mount_component(jobcontractbaselayout, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(jobcontractbaselayout.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(jobcontractbaselayout.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(jobcontractbaselayout, detaching);
		}
	};
}

class index_svelte_Bandit extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, contracts_bandit_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const contracts_bandit_index_svelte = (index_svelte_Bandit);
;// CONCATENATED MODULE: ./src/views/job-contracts/contracts/mafia/index.svelte
/* src\views\job-contracts\contracts\mafia\index.svelte generated by Svelte v3.49.0 */





function contracts_mafia_index_svelte_create_fragment(ctx) {
	let jobcontractbaselayout;
	let current;
	jobcontractbaselayout = new contracts_base_layout_index_svelte({ props: { type: JobContractType.Mafia } });

	return {
		c() {
			create_component(jobcontractbaselayout.$$.fragment);
		},
		m(target, anchor) {
			mount_component(jobcontractbaselayout, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(jobcontractbaselayout.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(jobcontractbaselayout.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(jobcontractbaselayout, detaching);
		}
	};
}

class index_svelte_Mafia extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, contracts_mafia_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const contracts_mafia_index_svelte = (index_svelte_Mafia);
;// CONCATENATED MODULE: ./src/views/job-contracts/contracts/doctor/index.svelte
/* src\views\job-contracts\contracts\doctor\index.svelte generated by Svelte v3.49.0 */





function contracts_doctor_index_svelte_create_fragment(ctx) {
	let jobcontractbaselayout;
	let current;
	jobcontractbaselayout = new contracts_base_layout_index_svelte({ props: { type: JobContractType.Doctor } });

	return {
		c() {
			create_component(jobcontractbaselayout.$$.fragment);
		},
		m(target, anchor) {
			mount_component(jobcontractbaselayout, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(jobcontractbaselayout.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(jobcontractbaselayout.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(jobcontractbaselayout, detaching);
		}
	};
}

class index_svelte_Doctor extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, contracts_doctor_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const contracts_doctor_index_svelte = (index_svelte_Doctor);
;// CONCATENATED MODULE: ./src/views/job-contracts/contracts/journalist/index.svelte
/* src\views\job-contracts\contracts\journalist\index.svelte generated by Svelte v3.49.0 */





function contracts_journalist_index_svelte_create_fragment(ctx) {
	let jobcontractbaselayout;
	let current;

	jobcontractbaselayout = new contracts_base_layout_index_svelte({
			props: { type: JobContractType.Journalist }
		});

	return {
		c() {
			create_component(jobcontractbaselayout.$$.fragment);
		},
		m(target, anchor) {
			mount_component(jobcontractbaselayout, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(jobcontractbaselayout.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(jobcontractbaselayout.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(jobcontractbaselayout, detaching);
		}
	};
}

class index_svelte_Journalist extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, contracts_journalist_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const contracts_journalist_index_svelte = (index_svelte_Journalist);
;// CONCATENATED MODULE: ./src/views/job-contracts/contracts/agent/index.svelte
/* src\views\job-contracts\contracts\agent\index.svelte generated by Svelte v3.49.0 */





function contracts_agent_index_svelte_create_fragment(ctx) {
	let jobcontractbaselayout;
	let current;
	jobcontractbaselayout = new contracts_base_layout_index_svelte({ props: { type: JobContractType.Agent } });

	return {
		c() {
			create_component(jobcontractbaselayout.$$.fragment);
		},
		m(target, anchor) {
			mount_component(jobcontractbaselayout, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(jobcontractbaselayout.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(jobcontractbaselayout.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(jobcontractbaselayout, detaching);
		}
	};
}

class index_svelte_Agent extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, contracts_agent_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const contracts_agent_index_svelte = (index_svelte_Agent);
;// CONCATENATED MODULE: ./src/views/job-contracts/contracts/soldier/index.svelte
/* src\views\job-contracts\contracts\soldier\index.svelte generated by Svelte v3.49.0 */





function contracts_soldier_index_svelte_create_fragment(ctx) {
	let jobcontractbaselayout;
	let current;
	jobcontractbaselayout = new contracts_base_layout_index_svelte({ props: { type: JobContractType.Soldier } });

	return {
		c() {
			create_component(jobcontractbaselayout.$$.fragment);
		},
		m(target, anchor) {
			mount_component(jobcontractbaselayout, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(jobcontractbaselayout.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(jobcontractbaselayout.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(jobcontractbaselayout, detaching);
		}
	};
}

class index_svelte_Soldier extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, contracts_soldier_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const contracts_soldier_index_svelte = (index_svelte_Soldier);
;// CONCATENATED MODULE: ./src/views/job-contracts/contracts/instructor/index.svelte
/* src\views\job-contracts\contracts\instructor\index.svelte generated by Svelte v3.49.0 */





function contracts_instructor_index_svelte_create_fragment(ctx) {
	let jobcontractbaselayout;
	let current;

	jobcontractbaselayout = new contracts_base_layout_index_svelte({
			props: { type: JobContractType.Instructor }
		});

	return {
		c() {
			create_component(jobcontractbaselayout.$$.fragment);
		},
		m(target, anchor) {
			mount_component(jobcontractbaselayout, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(jobcontractbaselayout.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(jobcontractbaselayout.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(jobcontractbaselayout, detaching);
		}
	};
}

class index_svelte_Instructor extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, contracts_instructor_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const contracts_instructor_index_svelte = (index_svelte_Instructor);
;// CONCATENATED MODULE: ./src/views/job-contracts/contracts/worker/index.svelte
/* src\views\job-contracts\contracts\worker\index.svelte generated by Svelte v3.49.0 */





function contracts_worker_index_svelte_create_fragment(ctx) {
	let jobcontractbaselayout;
	let current;
	jobcontractbaselayout = new contracts_base_layout_index_svelte({ props: { type: JobContractType.Worker } });

	return {
		c() {
			create_component(jobcontractbaselayout.$$.fragment);
		},
		m(target, anchor) {
			mount_component(jobcontractbaselayout, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(jobcontractbaselayout.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(jobcontractbaselayout.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(jobcontractbaselayout, detaching);
		}
	};
}

class index_svelte_Worker extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, contracts_worker_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const contracts_worker_index_svelte = (index_svelte_Worker);
;// CONCATENATED MODULE: ./src/views/lockpick/img/lockpick.png
const lockpick_namespaceObject = __webpack_require__.p + "assets/6d46211b1c8f1a9cab2b.webp";
;// CONCATENATED MODULE: ./src/views/lockpick/img/decorative-description.svg
const lockpick_img_decorative_description_namespaceObject = __webpack_require__.p + "assets/a5987f10da8df507343c.svg";
;// CONCATENATED MODULE: ./src/views/lockpick/img/mouse-icon.svg
const mouse_icon_namespaceObject = __webpack_require__.p + "assets/88a42bed4039f6d15474.svg";
;// CONCATENATED MODULE: ./src/views/lockpick/index.svelte
/* src\views\lockpick\index.svelte generated by Svelte v3.49.0 */










function lockpick_index_svelte_add_css(target) {
	append_styles(target, "svelte-186bg56", "@keyframes svelte-186bg56-blinking{50%{opacity:0}}@keyframes svelte-186bg56-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-186bg56-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-186bg56-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-186bg56-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-186bg56-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-186bg56-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-186bg56-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-186bg56-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-186bg56-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-186bg56-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-186bg56-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-186bg56-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-186bg56-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-186bg56-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.lockpick.svelte-186bg56{display:flex;align-items:center;justify-content:center;width:100vw;height:100vh;background:rgba(54, 61, 71, 0.75)}.lockpick__background.svelte-186bg56{display:flex;align-items:center;justify-content:center;flex-direction:column;width:calc(0.6666666667 * 100vw + 0px);height:100%;background:rgba(255, 255, 255, 0.1)}@media(max-width: 1920px) and (max-height: 768px){.lockpick__background.svelte-186bg56{width:calc(0.6666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__background.svelte-186bg56{width:calc(0.6666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__background.svelte-186bg56{width:calc(0.5133333333 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__background.svelte-186bg56{width:calc(0.7333333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__background.svelte-186bg56{width:calc(0.4666666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__background.svelte-186bg56{width:calc(0.6 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__background.svelte-186bg56{width:calc(0.7333333333 * 100vw + 0px)}}.lockpick__title.svelte-186bg56{position:absolute;font-family:\"GothamPro-Medium\";color:#FFFFFF;top:calc(0.0416666667 * 100vw + 0px);font-size:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.lockpick__title.svelte-186bg56{top:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__title.svelte-186bg56{top:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__title.svelte-186bg56{top:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__title.svelte-186bg56{top:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__title.svelte-186bg56{top:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__title.svelte-186bg56{top:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__title.svelte-186bg56{top:calc(0.0458333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.lockpick__title.svelte-186bg56{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__title.svelte-186bg56{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__title.svelte-186bg56{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__title.svelte-186bg56{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__title.svelte-186bg56{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__title.svelte-186bg56{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__title.svelte-186bg56{font-size:calc(0.0183333333 * 100vw + 0px)}}.lockpick__title-progress.svelte-186bg56{font-family:\"GothamPro-Medium\";color:#FF3737;top:calc(0.0416666667 * 100vw + 0px);font-size:calc(0.01875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.lockpick__title-progress.svelte-186bg56{top:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__title-progress.svelte-186bg56{top:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__title-progress.svelte-186bg56{top:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__title-progress.svelte-186bg56{top:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__title-progress.svelte-186bg56{top:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__title-progress.svelte-186bg56{top:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__title-progress.svelte-186bg56{top:calc(0.0458333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.lockpick__title-progress.svelte-186bg56{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__title-progress.svelte-186bg56{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__title-progress.svelte-186bg56{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__title-progress.svelte-186bg56{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__title-progress.svelte-186bg56{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__title-progress.svelte-186bg56{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__title-progress.svelte-186bg56{font-size:calc(0.020625 * 100vw + 0px)}}.lockpick__description.svelte-186bg56{position:relative;display:flex;flex-direction:column;align-items:center;bottom:calc(-0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.lockpick__description.svelte-186bg56{bottom:calc(-0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__description.svelte-186bg56{bottom:calc(-0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__description.svelte-186bg56{bottom:calc(-0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__description.svelte-186bg56{bottom:calc(-0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__description.svelte-186bg56{bottom:calc(-0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__description.svelte-186bg56{bottom:calc(-0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__description.svelte-186bg56{bottom:calc(-0.0171875 * 100vw + 0px)}}.lockpick__description-decorative.svelte-186bg56{height:calc(0.0130208333 * 100vw + 0px);margin-bottom:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.lockpick__description-decorative.svelte-186bg56{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__description-decorative.svelte-186bg56{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__description-decorative.svelte-186bg56{height:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__description-decorative.svelte-186bg56{height:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__description-decorative.svelte-186bg56{height:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__description-decorative.svelte-186bg56{height:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__description-decorative.svelte-186bg56{height:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.lockpick__description-decorative.svelte-186bg56{margin-bottom:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__description-decorative.svelte-186bg56{margin-bottom:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__description-decorative.svelte-186bg56{margin-bottom:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__description-decorative.svelte-186bg56{margin-bottom:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__description-decorative.svelte-186bg56{margin-bottom:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__description-decorative.svelte-186bg56{margin-bottom:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__description-decorative.svelte-186bg56{margin-bottom:calc(0.006875 * 100vw + 0px)}}.lockpick__description-title.svelte-186bg56{color:#FFFFFF;font-family:\"GothamPro-Light\";font-size:calc(0.0067708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.lockpick__description-title.svelte-186bg56{font-size:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__description-title.svelte-186bg56{font-size:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__description-title.svelte-186bg56{font-size:calc(0.0052135417 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__description-title.svelte-186bg56{font-size:calc(0.0074479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__description-title.svelte-186bg56{font-size:calc(0.0047395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__description-title.svelte-186bg56{font-size:calc(0.00609375 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__description-title.svelte-186bg56{font-size:calc(0.0074479167 * 100vw + 0px)}}.lockpick__description-title-bold.svelte-186bg56{font-family:\"GothamPro-Medium\"}.lockpick__button.svelte-186bg56{position:relative;display:flex;align-items:center;bottom:calc(-0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.lockpick__button.svelte-186bg56{bottom:calc(-0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__button.svelte-186bg56{bottom:calc(-0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__button.svelte-186bg56{bottom:calc(-0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__button.svelte-186bg56{bottom:calc(-0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__button.svelte-186bg56{bottom:calc(-0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__button.svelte-186bg56{bottom:calc(-0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__button.svelte-186bg56{bottom:calc(-0.0286458333 * 100vw + 0px)}}.lockpick__button-decorative.svelte-186bg56{height:calc(0.0140625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.lockpick__button-decorative.svelte-186bg56{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__button-decorative.svelte-186bg56{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__button-decorative.svelte-186bg56{height:calc(0.010828125 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__button-decorative.svelte-186bg56{height:calc(0.01546875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__button-decorative.svelte-186bg56{height:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__button-decorative.svelte-186bg56{height:calc(0.01265625 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__button-decorative.svelte-186bg56{height:calc(0.01546875 * 100vw + 0px)}}.lockpick__button-title.svelte-186bg56{color:#FFFFFF;font-family:\"GothamPro-Medium\";font-size:calc(0.0083333333 * 100vw + 0px);margin-left:calc(0.0088541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.lockpick__button-title.svelte-186bg56{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__button-title.svelte-186bg56{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__button-title.svelte-186bg56{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__button-title.svelte-186bg56{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__button-title.svelte-186bg56{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__button-title.svelte-186bg56{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__button-title.svelte-186bg56{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.lockpick__button-title.svelte-186bg56{margin-left:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__button-title.svelte-186bg56{margin-left:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__button-title.svelte-186bg56{margin-left:calc(0.0068177083 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__button-title.svelte-186bg56{margin-left:calc(0.0097395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__button-title.svelte-186bg56{margin-left:calc(0.0061979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__button-title.svelte-186bg56{margin-left:calc(0.00796875 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__button-title.svelte-186bg56{margin-left:calc(0.0097395833 * 100vw + 0px)}}.lockpick__body.svelte-186bg56{border-radius:3%;background:linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);width:calc(0.3125 * 100vw + 0px);height:calc(0.3125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.lockpick__body.svelte-186bg56{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__body.svelte-186bg56{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__body.svelte-186bg56{width:calc(0.240625 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__body.svelte-186bg56{width:calc(0.34375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__body.svelte-186bg56{width:calc(0.21875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__body.svelte-186bg56{width:calc(0.28125 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__body.svelte-186bg56{width:calc(0.34375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.lockpick__body.svelte-186bg56{height:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__body.svelte-186bg56{height:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__body.svelte-186bg56{height:calc(0.240625 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__body.svelte-186bg56{height:calc(0.34375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__body.svelte-186bg56{height:calc(0.21875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__body.svelte-186bg56{height:calc(0.28125 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__body.svelte-186bg56{height:calc(0.34375 * 100vw + 0px)}}.lockpick__body-outline.svelte-186bg56{display:flex;justify-content:center;flex-direction:column;align-items:center;border-radius:3%;border:1px solid rgba(255, 255, 255, 0.1);margin:calc(0.0130208333 * 100vw + 0px);height:calc(0.2864583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.lockpick__body-outline.svelte-186bg56{margin:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__body-outline.svelte-186bg56{margin:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__body-outline.svelte-186bg56{margin:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__body-outline.svelte-186bg56{margin:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__body-outline.svelte-186bg56{margin:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__body-outline.svelte-186bg56{margin:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__body-outline.svelte-186bg56{margin:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.lockpick__body-outline.svelte-186bg56{height:calc(0.2864583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__body-outline.svelte-186bg56{height:calc(0.2864583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__body-outline.svelte-186bg56{height:calc(0.2205729167 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__body-outline.svelte-186bg56{height:calc(0.3151041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__body-outline.svelte-186bg56{height:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__body-outline.svelte-186bg56{height:calc(0.2578125 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__body-outline.svelte-186bg56{height:calc(0.3151041667 * 100vw + 0px)}}.lockpick__lock-wrapper.svelte-186bg56{position:relative;background:linear-gradient(180deg, rgba(26, 14, 14, 0.1) 0%, rgba(255, 255, 255, 0) 41.15%), linear-gradient(180deg, rgba(0, 0, 0, 0) 43.23%, rgba(0, 0, 0, 0.39) 100%);-webkit-background-clip:text}.lockpick__lock-wrapper.svelte-186bg56::after{content:\"\";position:absolute;z-index:-1;inset:0;border:10px solid transparent;border-radius:50%;background:inherit;background-origin:border-box;background-clip:border-box;-webkit-mask:linear-gradient(#FFFFFF 0 0) padding-box, linear-gradient(#FFFFFF 0 0);-webkit-mask-composite:xor;margin:calc(-0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.lockpick__lock-wrapper.svelte-186bg56::after{margin:calc(-0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__lock-wrapper.svelte-186bg56::after{margin:calc(-0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__lock-wrapper.svelte-186bg56::after{margin:calc(-0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__lock-wrapper.svelte-186bg56::after{margin:calc(-0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__lock-wrapper.svelte-186bg56::after{margin:calc(-0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__lock-wrapper.svelte-186bg56::after{margin:calc(-0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__lock-wrapper.svelte-186bg56::after{margin:calc(-0.0057291667 * 100vw + 0px)}}.lockpick__lock-outline.svelte-186bg56{border:1px solid rgba(255, 255, 255, 0.5);border-radius:50%;background:linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);width:calc(0.15625 * 100vw + 0px);height:calc(0.15625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.lockpick__lock-outline.svelte-186bg56{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__lock-outline.svelte-186bg56{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__lock-outline.svelte-186bg56{width:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__lock-outline.svelte-186bg56{width:calc(0.171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__lock-outline.svelte-186bg56{width:calc(0.109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__lock-outline.svelte-186bg56{width:calc(0.140625 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__lock-outline.svelte-186bg56{width:calc(0.171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.lockpick__lock-outline.svelte-186bg56{height:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__lock-outline.svelte-186bg56{height:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__lock-outline.svelte-186bg56{height:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__lock-outline.svelte-186bg56{height:calc(0.171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__lock-outline.svelte-186bg56{height:calc(0.109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__lock-outline.svelte-186bg56{height:calc(0.140625 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__lock-outline.svelte-186bg56{height:calc(0.171875 * 100vw + 0px)}}.lockpick__lock.svelte-186bg56{position:relative;background:linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);border-radius:50%;width:calc(0.1041666667 * 100vw + 0px);height:calc(0.1041666667 * 100vw + 0px);top:calc(0.0260416667 * 100vw + 0px);left:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.lockpick__lock.svelte-186bg56{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__lock.svelte-186bg56{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__lock.svelte-186bg56{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__lock.svelte-186bg56{width:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__lock.svelte-186bg56{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__lock.svelte-186bg56{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__lock.svelte-186bg56{width:calc(0.1145833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.lockpick__lock.svelte-186bg56{height:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__lock.svelte-186bg56{height:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__lock.svelte-186bg56{height:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__lock.svelte-186bg56{height:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__lock.svelte-186bg56{height:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__lock.svelte-186bg56{height:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__lock.svelte-186bg56{height:calc(0.1145833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.lockpick__lock.svelte-186bg56{top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__lock.svelte-186bg56{top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__lock.svelte-186bg56{top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__lock.svelte-186bg56{top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__lock.svelte-186bg56{top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__lock.svelte-186bg56{top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__lock.svelte-186bg56{top:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.lockpick__lock.svelte-186bg56{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__lock.svelte-186bg56{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__lock.svelte-186bg56{left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__lock.svelte-186bg56{left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__lock.svelte-186bg56{left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__lock.svelte-186bg56{left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__lock.svelte-186bg56{left:calc(0.0286458333 * 100vw + 0px)}}.lockpick__lock-keyhole.svelte-186bg56{position:relative;background-color:rgba(0, 0, 0, 0.25);width:calc(0.015625 * 100vw + 0px);height:calc(0.0442708333 * 100vw + 0px);top:calc(0.0296875 * 100vw + 0px);left:calc(0.0432291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.lockpick__lock-keyhole.svelte-186bg56{width:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__lock-keyhole.svelte-186bg56{width:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__lock-keyhole.svelte-186bg56{width:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__lock-keyhole.svelte-186bg56{width:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__lock-keyhole.svelte-186bg56{width:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__lock-keyhole.svelte-186bg56{width:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__lock-keyhole.svelte-186bg56{width:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.lockpick__lock-keyhole.svelte-186bg56{height:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__lock-keyhole.svelte-186bg56{height:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__lock-keyhole.svelte-186bg56{height:calc(0.0340885417 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__lock-keyhole.svelte-186bg56{height:calc(0.0486979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__lock-keyhole.svelte-186bg56{height:calc(0.0309895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__lock-keyhole.svelte-186bg56{height:calc(0.03984375 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__lock-keyhole.svelte-186bg56{height:calc(0.0486979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.lockpick__lock-keyhole.svelte-186bg56{top:calc(0.0296875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__lock-keyhole.svelte-186bg56{top:calc(0.0296875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__lock-keyhole.svelte-186bg56{top:calc(0.022859375 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__lock-keyhole.svelte-186bg56{top:calc(0.03265625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__lock-keyhole.svelte-186bg56{top:calc(0.02078125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__lock-keyhole.svelte-186bg56{top:calc(0.02671875 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__lock-keyhole.svelte-186bg56{top:calc(0.03265625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.lockpick__lock-keyhole.svelte-186bg56{left:calc(0.0432291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__lock-keyhole.svelte-186bg56{left:calc(0.0432291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__lock-keyhole.svelte-186bg56{left:calc(0.0332864583 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__lock-keyhole.svelte-186bg56{left:calc(0.0475520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__lock-keyhole.svelte-186bg56{left:calc(0.0302604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__lock-keyhole.svelte-186bg56{left:calc(0.03890625 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__lock-keyhole.svelte-186bg56{left:calc(0.0475520833 * 100vw + 0px)}}.lockpick__lock-lockpick.svelte-186bg56{height:calc(0.0442708333 * 100vw + 0px);animation:svelte-186bg56-lockpick-rotate var(--rotation-duration) linear infinite}@media(max-width: 1920px) and (max-height: 768px){.lockpick__lock-lockpick.svelte-186bg56{height:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__lock-lockpick.svelte-186bg56{height:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__lock-lockpick.svelte-186bg56{height:calc(0.0340885417 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__lock-lockpick.svelte-186bg56{height:calc(0.0486979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__lock-lockpick.svelte-186bg56{height:calc(0.0309895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__lock-lockpick.svelte-186bg56{height:calc(0.03984375 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__lock-lockpick.svelte-186bg56{height:calc(0.0486979167 * 100vw + 0px)}}.lockpick__lock-lockpick-img.svelte-186bg56{position:absolute;pointer-events:none;height:calc(0.078125 * 100vw + 0px);left:calc(0.003125 * 100vw + 0px);bottom:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.lockpick__lock-lockpick-img.svelte-186bg56{height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__lock-lockpick-img.svelte-186bg56{height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__lock-lockpick-img.svelte-186bg56{height:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__lock-lockpick-img.svelte-186bg56{height:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__lock-lockpick-img.svelte-186bg56{height:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__lock-lockpick-img.svelte-186bg56{height:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__lock-lockpick-img.svelte-186bg56{height:calc(0.0859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.lockpick__lock-lockpick-img.svelte-186bg56{left:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__lock-lockpick-img.svelte-186bg56{left:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__lock-lockpick-img.svelte-186bg56{left:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__lock-lockpick-img.svelte-186bg56{left:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__lock-lockpick-img.svelte-186bg56{left:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__lock-lockpick-img.svelte-186bg56{left:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__lock-lockpick-img.svelte-186bg56{left:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.lockpick__lock-lockpick-img.svelte-186bg56{bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__lock-lockpick-img.svelte-186bg56{bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__lock-lockpick-img.svelte-186bg56{bottom:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__lock-lockpick-img.svelte-186bg56{bottom:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__lock-lockpick-img.svelte-186bg56{bottom:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__lock-lockpick-img.svelte-186bg56{bottom:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__lock-lockpick-img.svelte-186bg56{bottom:calc(0.0200520833 * 100vw + 0px)}}.lockpick__lock-lockpick-trigger.svelte-186bg56{position:absolute;border-radius:50%;background-color:#FFFFFF;cursor:pointer;width:calc(0.0182291667 * 100vw + 0px);height:calc(0.0182291667 * 100vw + 0px);left:calc(-0.0010416667 * 100vw + 0px);bottom:calc(0.0911458333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.lockpick__lock-lockpick-trigger.svelte-186bg56{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__lock-lockpick-trigger.svelte-186bg56{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__lock-lockpick-trigger.svelte-186bg56{width:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__lock-lockpick-trigger.svelte-186bg56{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__lock-lockpick-trigger.svelte-186bg56{width:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__lock-lockpick-trigger.svelte-186bg56{width:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__lock-lockpick-trigger.svelte-186bg56{width:calc(0.0200520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.lockpick__lock-lockpick-trigger.svelte-186bg56{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__lock-lockpick-trigger.svelte-186bg56{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__lock-lockpick-trigger.svelte-186bg56{height:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__lock-lockpick-trigger.svelte-186bg56{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__lock-lockpick-trigger.svelte-186bg56{height:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__lock-lockpick-trigger.svelte-186bg56{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__lock-lockpick-trigger.svelte-186bg56{height:calc(0.0200520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.lockpick__lock-lockpick-trigger.svelte-186bg56{left:calc(-0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__lock-lockpick-trigger.svelte-186bg56{left:calc(-0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__lock-lockpick-trigger.svelte-186bg56{left:calc(-0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__lock-lockpick-trigger.svelte-186bg56{left:calc(-0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__lock-lockpick-trigger.svelte-186bg56{left:calc(-0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__lock-lockpick-trigger.svelte-186bg56{left:calc(-0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__lock-lockpick-trigger.svelte-186bg56{left:calc(-0.0011458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.lockpick__lock-lockpick-trigger.svelte-186bg56{bottom:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__lock-lockpick-trigger.svelte-186bg56{bottom:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__lock-lockpick-trigger.svelte-186bg56{bottom:calc(0.0701822917 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__lock-lockpick-trigger.svelte-186bg56{bottom:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__lock-lockpick-trigger.svelte-186bg56{bottom:calc(0.0638020833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__lock-lockpick-trigger.svelte-186bg56{bottom:calc(0.08203125 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__lock-lockpick-trigger.svelte-186bg56{bottom:calc(0.1002604167 * 100vw + 0px)}}.lockpick__lock-lockpick-trigger.svelte-186bg56::before{content:\"\";border-radius:50%;position:absolute;box-shadow:0px 0px 32px 20px rgba(255, 255, 255, 0.8);right:calc(0.009375 * 100vw + 0px);top:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.lockpick__lock-lockpick-trigger.svelte-186bg56::before{right:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__lock-lockpick-trigger.svelte-186bg56::before{right:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__lock-lockpick-trigger.svelte-186bg56::before{right:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__lock-lockpick-trigger.svelte-186bg56::before{right:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__lock-lockpick-trigger.svelte-186bg56::before{right:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__lock-lockpick-trigger.svelte-186bg56::before{right:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__lock-lockpick-trigger.svelte-186bg56::before{right:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.lockpick__lock-lockpick-trigger.svelte-186bg56::before{top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__lock-lockpick-trigger.svelte-186bg56::before{top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__lock-lockpick-trigger.svelte-186bg56::before{top:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__lock-lockpick-trigger.svelte-186bg56::before{top:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__lock-lockpick-trigger.svelte-186bg56::before{top:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__lock-lockpick-trigger.svelte-186bg56::before{top:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__lock-lockpick-trigger.svelte-186bg56::before{top:calc(0.00859375 * 100vw + 0px)}}.lockpick__body-phases.svelte-186bg56{position:relative;display:flex;align-items:center;flex-direction:column;bottom:calc(-0.0364583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.lockpick__body-phases.svelte-186bg56{bottom:calc(-0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__body-phases.svelte-186bg56{bottom:calc(-0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__body-phases.svelte-186bg56{bottom:calc(-0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__body-phases.svelte-186bg56{bottom:calc(-0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__body-phases.svelte-186bg56{bottom:calc(-0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__body-phases.svelte-186bg56{bottom:calc(-0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__body-phases.svelte-186bg56{bottom:calc(-0.0401041667 * 100vw + 0px)}}.lockpick__body-phases-title.svelte-186bg56{color:#FFFFFF;font-family:\"GothamPro-Light\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.lockpick__body-phases-title.svelte-186bg56{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__body-phases-title.svelte-186bg56{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__body-phases-title.svelte-186bg56{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__body-phases-title.svelte-186bg56{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__body-phases-title.svelte-186bg56{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__body-phases-title.svelte-186bg56{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__body-phases-title.svelte-186bg56{font-size:calc(0.006875 * 100vw + 0px)}}.lockpick__body-phases-item.svelte-186bg56{display:flex}.lockpick__body-phases-count.svelte-186bg56{background-color:rgba(0, 0, 0, 0.25);width:calc(0.0260416667 * 100vw + 0px);height:calc(0.0026041667 * 100vw + 0px);margin-right:calc(0.0015625 * 100vw + 0px);margin-top:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.lockpick__body-phases-count.svelte-186bg56{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__body-phases-count.svelte-186bg56{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__body-phases-count.svelte-186bg56{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__body-phases-count.svelte-186bg56{width:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__body-phases-count.svelte-186bg56{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__body-phases-count.svelte-186bg56{width:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__body-phases-count.svelte-186bg56{width:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.lockpick__body-phases-count.svelte-186bg56{height:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__body-phases-count.svelte-186bg56{height:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__body-phases-count.svelte-186bg56{height:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__body-phases-count.svelte-186bg56{height:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__body-phases-count.svelte-186bg56{height:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__body-phases-count.svelte-186bg56{height:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__body-phases-count.svelte-186bg56{height:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.lockpick__body-phases-count.svelte-186bg56{margin-right:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__body-phases-count.svelte-186bg56{margin-right:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__body-phases-count.svelte-186bg56{margin-right:calc(0.001203125 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__body-phases-count.svelte-186bg56{margin-right:calc(0.00171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__body-phases-count.svelte-186bg56{margin-right:calc(0.00109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__body-phases-count.svelte-186bg56{margin-right:calc(0.00140625 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__body-phases-count.svelte-186bg56{margin-right:calc(0.00171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.lockpick__body-phases-count.svelte-186bg56{margin-top:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.lockpick__body-phases-count.svelte-186bg56{margin-top:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.lockpick__body-phases-count.svelte-186bg56{margin-top:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.lockpick__body-phases-count.svelte-186bg56{margin-top:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.lockpick__body-phases-count.svelte-186bg56{margin-top:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.lockpick__body-phases-count.svelte-186bg56{margin-top:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.lockpick__body-phases-count.svelte-186bg56{margin-top:calc(0.006875 * 100vw + 0px)}}.lockpick__body-phases-count--checked.svelte-186bg56{background-color:#76D355}@keyframes svelte-186bg56-lockpick-rotate{0%{transform:rotate(var(--rotate))}100%{transform:rotate(calc(var(--rotate) + 360deg))}}");
}

function lockpick_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[14] = list[i];
	child_ctx[16] = i;
	return child_ctx;
}

// (1985:24) {#each new Array(phasesCount).fill(null) as _, phaseIndex}
function lockpick_index_svelte_create_each_block(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			attr(div, "class", "lockpick__body-phases-count svelte-186bg56");
			toggle_class(div, "lockpick__body-phases-count--checked", /*currentPhase*/ ctx[2] > /*phaseIndex*/ ctx[16]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*currentPhase*/ 4) {
				toggle_class(div, "lockpick__body-phases-count--checked", /*currentPhase*/ ctx[2] > /*phaseIndex*/ ctx[16]);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function lockpick_index_svelte_create_fragment(ctx) {
	let div13;
	let exitbutton;
	let t0;
	let div12;
	let p0;
	let t1;
	let span0;
	let t2;
	let t3;
	let t4;
	let div9;
	let div8;
	let div5;
	let div4;
	let div3;
	let div2;
	let div1;
	let img0;
	let img0_src_value;
	let t5;
	let div0;
	let div1_style_value;
	let t6;
	let div7;
	let p1;
	let t8;
	let div6;
	let t9;
	let div10;
	let img1;
	let img1_src_value;
	let t10;
	let p2;
	let t14;
	let div11;
	let img2;
	let img2_src_value;
	let t15;
	let p3;
	let current;
	let mounted;
	let dispose;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[5],
				fixedPosition: true
			}
		});

	let each_value = new Array(/*phasesCount*/ ctx[1]).fill(null);
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = lockpick_index_svelte_create_each_block(lockpick_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div13 = internal_element("div");
			create_component(exitbutton.$$.fragment);
			t0 = space();
			div12 = internal_element("div");
			p0 = internal_element("p");
			t1 = internal_text("Взлом замка\r\n            ");
			span0 = internal_element("span");
			t2 = internal_text(/*progress*/ ctx[4]);
			t3 = internal_text("%");
			t4 = space();
			div9 = internal_element("div");
			div8 = internal_element("div");
			div5 = internal_element("div");
			div4 = internal_element("div");
			div3 = internal_element("div");
			div2 = internal_element("div");
			div1 = internal_element("div");
			img0 = internal_element("img");
			t5 = space();
			div0 = internal_element("div");
			t6 = space();
			div7 = internal_element("div");
			p1 = internal_element("p");
			p1.textContent = "Фазы взлома";
			t8 = space();
			div6 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t9 = space();
			div10 = internal_element("div");
			img1 = internal_element("img");
			t10 = space();
			p2 = internal_element("p");

			p2.innerHTML = `Для взлома замка необходимо пройти несколько фаз
                <br/> 
                <span class="lockpick__description-title-bold svelte-186bg56">с помощью ловли кругового ползунка вокруг замка</span>`;

			t14 = space();
			div11 = internal_element("div");
			img2 = internal_element("img");
			t15 = space();
			p3 = internal_element("p");
			p3.textContent = "Поймать ползунок";
			attr(span0, "class", "lockpick__title-progress svelte-186bg56");
			attr(p0, "class", "lockpick__title svelte-186bg56");
			attr(img0, "class", "lockpick__lock-lockpick-img svelte-186bg56");
			if (!src_url_equal(img0.src, img0_src_value = lockpick_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "lockpick");
			attr(div0, "class", "lockpick__lock-lockpick-trigger svelte-186bg56");
			attr(div1, "class", "lockpick__lock-lockpick svelte-186bg56");
			attr(div1, "style", div1_style_value = `--rotation-duration: ${/*complexity*/ ctx[0] * 2}s; --rotate: ${/*rotate*/ ctx[3]}deg`);
			attr(div2, "class", "lockpick__lock-keyhole svelte-186bg56");
			attr(div3, "class", "lockpick__lock svelte-186bg56");
			attr(div4, "class", "lockpick__lock-outline svelte-186bg56");
			attr(div5, "class", "lockpick__lock-wrapper svelte-186bg56");
			attr(p1, "class", "lockpick__body-phases-title svelte-186bg56");
			attr(div6, "class", "lockpick__body-phases-item svelte-186bg56");
			attr(div7, "class", "lockpick__body-phases svelte-186bg56");
			attr(div8, "class", "lockpick__body-outline svelte-186bg56");
			attr(div9, "class", "lockpick__body svelte-186bg56");
			attr(img1, "class", "lockpick__description-decorative svelte-186bg56");
			if (!src_url_equal(img1.src, img1_src_value = lockpick_img_decorative_description_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "description-icon");
			attr(p2, "class", "lockpick__description-title svelte-186bg56");
			attr(div10, "class", "lockpick__description svelte-186bg56");
			attr(img2, "class", "lockpick__button-decorative svelte-186bg56");
			if (!src_url_equal(img2.src, img2_src_value = mouse_icon_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "mouseicon");
			attr(p3, "class", "lockpick__button-title svelte-186bg56");
			attr(div11, "class", "lockpick__button svelte-186bg56");
			attr(div12, "class", "lockpick__background svelte-186bg56");
			attr(div13, "class", "lockpick svelte-186bg56");
		},
		m(target, anchor) {
			insert(target, div13, anchor);
			mount_component(exitbutton, div13, null);
			append(div13, t0);
			append(div13, div12);
			append(div12, p0);
			append(p0, t1);
			append(p0, span0);
			append(span0, t2);
			append(span0, t3);
			append(div12, t4);
			append(div12, div9);
			append(div9, div8);
			append(div8, div5);
			append(div5, div4);
			append(div4, div3);
			append(div3, div2);
			append(div2, div1);
			append(div1, img0);
			append(div1, t5);
			append(div1, div0);
			append(div8, t6);
			append(div8, div7);
			append(div7, p1);
			append(div7, t8);
			append(div7, div6);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div6, null);
			}

			append(div12, t9);
			append(div12, div10);
			append(div10, img1);
			append(div10, t10);
			append(div10, p2);
			append(div12, t14);
			append(div12, div11);
			append(div11, img2);
			append(div11, t15);
			append(div11, p3);
			current = true;

			if (!mounted) {
				dispose = listen(div0, "click", /*handleTriggerClick*/ ctx[6]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (!current || dirty & /*progress*/ 16) set_data(t2, /*progress*/ ctx[4]);

			if (!current || dirty & /*complexity, rotate*/ 9 && div1_style_value !== (div1_style_value = `--rotation-duration: ${/*complexity*/ ctx[0] * 2}s; --rotate: ${/*rotate*/ ctx[3]}deg`)) {
				attr(div1, "style", div1_style_value);
			}

			if (dirty & /*currentPhase, phasesCount*/ 6) {
				each_value = new Array(/*phasesCount*/ ctx[1]).fill(null);
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = lockpick_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = lockpick_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div6, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div13);
			destroy_component(exitbutton);
			destroy_each(each_blocks, detaching);
			mounted = false;
			dispose();
		}
	};
}

function lockpick_index_svelte_instance($$self, $$props, $$invalidate) {
	let complexity = 2; // 0...infinity. (complexity * 2s)
	let phasesCount = 5;
	let currentPhase = 0;
	let rotate = 0;
	let progress = 0;

	const lockpickInit = (phasesCountDto, complexityDto = 1) => {
		$$invalidate(1, phasesCount = phasesCountDto);
		$$invalidate(0, complexity = complexityDto);
	};

	const getRandomStartAngle = () => Math.round(Math.random() * (360 - 1)) + 1;

	const handleClose = () => {
		
	}; // exec close event

	const handleTriggerClick = () => {
		sendClientMessage('handleTriggerClick');
	};

	const setCurrentPhase = phase => {
		$$invalidate(2, currentPhase = phase);
	};

	const setProgress = progressDto => {
		$$invalidate(4, progress = progressDto);
	};

	// const clickOnTrigger = () => {
	//     if (currentPhase < phasesCount) {
	//         currentPhase += 1;
	//         rotate = getRandomStartAngle();
	//
	//         if (currentPhase === phasesCount) {
	//             // exec succ game end event
	//         }
	//     }
	// };
	const unregisterLockpickInitEvent = registerEvent('event.lockpick.init', lockpickInit);

	const unregisterSetCurrentPhaseEvent = registerEvent('event.lockpick.SetCurrentPhase', setCurrentPhase);
	const unregisterSetProgressEvent = registerEvent('event.lockpick.SetProgress', setProgress);

	onMount(() => {
		$$invalidate(3, rotate = getRandomStartAngle());
	});

	onDestroy(() => {
		unregisterLockpickInitEvent();
		unregisterSetCurrentPhaseEvent();
		unregisterSetProgressEvent();
	});

	return [
		complexity,
		phasesCount,
		currentPhase,
		rotate,
		progress,
		handleClose,
		handleTriggerClick
	];
}

class Lockpick extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, lockpick_index_svelte_instance, lockpick_index_svelte_create_fragment, safe_not_equal, {}, lockpick_index_svelte_add_css);
	}
}

/* harmony default export */ const lockpick_index_svelte = (Lockpick);
;// CONCATENATED MODULE: ./src/views/promotions/halloween/img/halloween-background.png
const halloween_background_namespaceObject = __webpack_require__.p + "assets/c1dcb0e70dffd332940e.webp";
;// CONCATENATED MODULE: ./src/views/promotions/halloween/img/position-icon.svg
const position_icon_namespaceObject = __webpack_require__.p + "assets/8a40279d0c05d7a8f090.svg";
;// CONCATENATED MODULE: ./src/views/promotions/halloween/index.svelte
/* src\views\promotions\halloween\index.svelte generated by Svelte v3.49.0 */





function halloween_index_svelte_add_css(target) {
	append_styles(target, "svelte-efu851", "@keyframes svelte-efu851-blinking{50%{opacity:0}}@keyframes svelte-efu851-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-efu851-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-efu851-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-efu851-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-efu851-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-efu851-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-efu851-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-efu851-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-efu851-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-efu851-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-efu851-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-efu851-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-efu851-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-efu851-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.halloween.svelte-efu851{display:flex;align-items:center;flex-direction:column;width:100vw;height:100vh;background:rgba(54, 61, 71, 0.75)}.halloween__background.svelte-efu851{height:100%;position:absolute}.halloween__information.svelte-efu851{display:flex;flex-direction:column;align-items:center;position:absolute;bottom:calc(0.0484375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween__information.svelte-efu851{bottom:calc(0.0484375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__information.svelte-efu851{bottom:calc(0.0484375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__information.svelte-efu851{bottom:calc(0.037296875 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__information.svelte-efu851{bottom:calc(0.05328125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__information.svelte-efu851{bottom:calc(0.03390625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__information.svelte-efu851{bottom:calc(0.04359375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__information.svelte-efu851{bottom:calc(0.05328125 * 100vw + 0px)}}.halloween__information-promotions.svelte-efu851{color:#FEB000;font-family:\"GothamPro-Medium\";font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween__information-promotions.svelte-efu851{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__information-promotions.svelte-efu851{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__information-promotions.svelte-efu851{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__information-promotions.svelte-efu851{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__information-promotions.svelte-efu851{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__information-promotions.svelte-efu851{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__information-promotions.svelte-efu851{font-size:calc(0.0114583333 * 100vw + 0px)}}.halloween__information-bonus.svelte-efu851{display:flex}.halloween__information-bonus-item.svelte-efu851{display:flex;flex-direction:column;align-items:center;color:#FFFFFF}.halloween__information-bonus-item.svelte-efu851:not(:first-child){margin-left:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween__information-bonus-item.svelte-efu851:not(:first-child){margin-left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__information-bonus-item.svelte-efu851:not(:first-child){margin-left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__information-bonus-item.svelte-efu851:not(:first-child){margin-left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__information-bonus-item.svelte-efu851:not(:first-child){margin-left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__information-bonus-item.svelte-efu851:not(:first-child){margin-left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__information-bonus-item.svelte-efu851:not(:first-child){margin-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__information-bonus-item.svelte-efu851:not(:first-child){margin-left:calc(0.0286458333 * 100vw + 0px)}}.halloween__information-bonus-title.svelte-efu851{font-family:\"GothamPro-Bold\";font-size:calc(0.05 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween__information-bonus-title.svelte-efu851{font-size:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__information-bonus-title.svelte-efu851{font-size:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__information-bonus-title.svelte-efu851{font-size:calc(0.0385 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__information-bonus-title.svelte-efu851{font-size:calc(0.055 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__information-bonus-title.svelte-efu851{font-size:calc(0.035 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__information-bonus-title.svelte-efu851{font-size:calc(0.045 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__information-bonus-title.svelte-efu851{font-size:calc(0.055 * 100vw + 0px)}}.halloween__information-bonus-description.svelte-efu851{font-family:\"GothamPro-Light\";font-size:calc(0.009375 * 100vw + 0px);margin-top:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween__information-bonus-description.svelte-efu851{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__information-bonus-description.svelte-efu851{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__information-bonus-description.svelte-efu851{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__information-bonus-description.svelte-efu851{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__information-bonus-description.svelte-efu851{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__information-bonus-description.svelte-efu851{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__information-bonus-description.svelte-efu851{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween__information-bonus-description.svelte-efu851{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__information-bonus-description.svelte-efu851{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__information-bonus-description.svelte-efu851{margin-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__information-bonus-description.svelte-efu851{margin-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__information-bonus-description.svelte-efu851{margin-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__information-bonus-description.svelte-efu851{margin-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__information-bonus-description.svelte-efu851{margin-top:calc(0.0057291667 * 100vw + 0px)}}.halloween__information-position-icon.svelte-efu851{width:calc(0.021875 * 100vw + 0px);margin-top:calc(0.0161458333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween__information-position-icon.svelte-efu851{width:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__information-position-icon.svelte-efu851{width:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__information-position-icon.svelte-efu851{width:calc(0.01684375 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__information-position-icon.svelte-efu851{width:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__information-position-icon.svelte-efu851{width:calc(0.0153125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__information-position-icon.svelte-efu851{width:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__information-position-icon.svelte-efu851{width:calc(0.0240625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween__information-position-icon.svelte-efu851{margin-top:calc(0.0161458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__information-position-icon.svelte-efu851{margin-top:calc(0.0161458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__information-position-icon.svelte-efu851{margin-top:calc(0.0124322917 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__information-position-icon.svelte-efu851{margin-top:calc(0.0177604167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__information-position-icon.svelte-efu851{margin-top:calc(0.0113020833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__information-position-icon.svelte-efu851{margin-top:calc(0.01453125 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__information-position-icon.svelte-efu851{margin-top:calc(0.0177604167 * 100vw + 0px)}}.halloween__information-details.svelte-efu851{color:#FFFFFF;font-family:\"GothamPro-Light\";margin-top:calc(0.00625 * 100vw + 0px);font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween__information-details.svelte-efu851{margin-top:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__information-details.svelte-efu851{margin-top:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__information-details.svelte-efu851{margin-top:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__information-details.svelte-efu851{margin-top:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__information-details.svelte-efu851{margin-top:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__information-details.svelte-efu851{margin-top:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__information-details.svelte-efu851{margin-top:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween__information-details.svelte-efu851{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__information-details.svelte-efu851{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__information-details.svelte-efu851{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__information-details.svelte-efu851{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__information-details.svelte-efu851{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__information-details.svelte-efu851{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__information-details.svelte-efu851{font-size:calc(0.0080208333 * 100vw + 0px)}}.halloween__information-prompt.svelte-efu851{color:#FEB000;font-family:\"GothamPro-Bold\";font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween__information-prompt.svelte-efu851{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__information-prompt.svelte-efu851{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__information-prompt.svelte-efu851{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__information-prompt.svelte-efu851{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__information-prompt.svelte-efu851{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__information-prompt.svelte-efu851{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__information-prompt.svelte-efu851{font-size:calc(0.01375 * 100vw + 0px)}}");
}

function halloween_index_svelte_create_fragment(ctx) {
	let div4;
	let img0;
	let img0_src_value;
	let t0;
	let div3;
	let p0;
	let t2;
	let div2;
	let t10;
	let img1;
	let img1_src_value;
	let t11;
	let p5;
	let t13;
	let p6;

	return {
		c() {
			div4 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			div3 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "ДЕЙСТВУЕТ АКЦИЯ";
			t2 = space();
			div2 = internal_element("div");

			div2.innerHTML = `<div class="halloween__information-bonus-item svelte-efu851"><p class="halloween__information-bonus-title svelte-efu851">X2</p> 
                <p class="halloween__information-bonus-description svelte-efu851">Каждый PayDay</p></div> 
            <div class="halloween__information-bonus-item svelte-efu851"><p class="halloween__information-bonus-title svelte-efu851">X3</p> 
                <p class="halloween__information-bonus-description svelte-efu851">Пополнение счёта</p></div>`;

			t10 = space();
			img1 = internal_element("img");
			t11 = space();
			p5 = internal_element("p");
			p5.textContent = "Подробнее";
			t13 = space();
			p6 = internal_element("p");
			p6.textContent = "GPS > Хэллоуин > Замок";
			attr(img0, "class", "halloween__background svelte-efu851");
			if (!src_url_equal(img0.src, img0_src_value = halloween_background_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "halloween-background");
			attr(p0, "class", "halloween__information-promotions svelte-efu851");
			attr(div2, "class", "halloween__information-bonus svelte-efu851");
			attr(img1, "class", "halloween__information-position-icon svelte-efu851");
			if (!src_url_equal(img1.src, img1_src_value = position_icon_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "#");
			attr(p5, "class", "halloween__information-details svelte-efu851");
			attr(p6, "class", "halloween__information-prompt svelte-efu851");
			attr(div3, "class", "halloween__information svelte-efu851");
			attr(div4, "class", "halloween svelte-efu851");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, img0);
			append(div4, t0);
			append(div4, div3);
			append(div3, p0);
			append(div3, t2);
			append(div3, div2);
			append(div3, t10);
			append(div3, img1);
			append(div3, t11);
			append(div3, p5);
			append(div3, t13);
			append(div3, p6);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div4);
		}
	};
}

class Halloween extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, halloween_index_svelte_create_fragment, safe_not_equal, {}, halloween_index_svelte_add_css);
	}
}

/* harmony default export */ const halloween_index_svelte = (Halloween);
;// CONCATENATED MODULE: ./src/views/interaction-menu/img/back-button.png
const back_button_namespaceObject = __webpack_require__.p + "assets/1d389ec585fc0cdbf776.webp";
;// CONCATENATED MODULE: ./src/views/interaction-menu/img/next-button.png
const next_button_namespaceObject = __webpack_require__.p + "assets/9194de97408116b7af61.webp";
;// CONCATENATED MODULE: ./src/views/interaction-menu/constants.js
var MAP_COUNT_ITEMS_TO_MODIFIERS = {
  1: 'one',
  2: 'two',
  3: 'three',
  4: 'four',
  5: 'five',
  6: 'six',
  7: 'seven',
  8: 'eight'
};
var MAX_ACTIONS_COUNT = 8;
;// CONCATENATED MODULE: ./src/views/interaction-menu/index.svelte
/* src\views\interaction-menu\index.svelte generated by Svelte v3.49.0 */












function interaction_menu_index_svelte_add_css(target) {
	append_styles(target, "svelte-z7wony", "@keyframes svelte-z7wony-blinking{50%{opacity:0}}@keyframes svelte-z7wony-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-z7wony-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-z7wony-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-z7wony-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-z7wony-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-z7wony-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-z7wony-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-z7wony-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-z7wony-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-z7wony-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-z7wony-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-z7wony-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-z7wony-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-z7wony-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.radial-menu.svelte-z7wony.svelte-z7wony{display:flex;align-items:center;justify-content:center;width:100vw;height:100vh;box-sizing:border-box;position:absolute;left:0;top:0}.radial-menu__items.svelte-z7wony.svelte-z7wony{display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative;width:calc(0.4166666667 * 100vw + 0px);height:calc(0.4166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__items.svelte-z7wony.svelte-z7wony{width:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__items.svelte-z7wony.svelte-z7wony{width:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__items.svelte-z7wony.svelte-z7wony{width:calc(0.3208333333 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__items.svelte-z7wony.svelte-z7wony{width:calc(0.4583333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__items.svelte-z7wony.svelte-z7wony{width:calc(0.2916666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__items.svelte-z7wony.svelte-z7wony{width:calc(0.375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__items.svelte-z7wony.svelte-z7wony{width:calc(0.4583333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__items.svelte-z7wony.svelte-z7wony{height:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__items.svelte-z7wony.svelte-z7wony{height:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__items.svelte-z7wony.svelte-z7wony{height:calc(0.3208333333 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__items.svelte-z7wony.svelte-z7wony{height:calc(0.4583333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__items.svelte-z7wony.svelte-z7wony{height:calc(0.2916666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__items.svelte-z7wony.svelte-z7wony{height:calc(0.375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__items.svelte-z7wony.svelte-z7wony{height:calc(0.4583333333 * 100vw + 0px)}}.radial-menu__item.svelte-z7wony.svelte-z7wony{display:flex;align-items:center;position:absolute;background-color:rgba(32, 39, 49, 0.9);transition:background-color 0.2s linear;cursor:pointer;gap:calc(0.0036458333 * 100vw + 0px);border-radius:calc(0.015625 * 100vw + 0px);padding-right:calc(0.0104166667 * 100vw + 0px);padding-left:calc(0.0104166667 * 100vw + 0px);height:calc(0.0286458333 * 100vw + 0px);min-width:calc(0.1223958333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item.svelte-z7wony.svelte-z7wony{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item.svelte-z7wony.svelte-z7wony{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item.svelte-z7wony.svelte-z7wony{gap:calc(0.0028072917 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item.svelte-z7wony.svelte-z7wony{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item.svelte-z7wony.svelte-z7wony{gap:calc(0.0025520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item.svelte-z7wony.svelte-z7wony{gap:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item.svelte-z7wony.svelte-z7wony{gap:calc(0.0040104167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item.svelte-z7wony.svelte-z7wony{border-radius:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item.svelte-z7wony.svelte-z7wony{border-radius:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item.svelte-z7wony.svelte-z7wony{border-radius:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item.svelte-z7wony.svelte-z7wony{border-radius:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item.svelte-z7wony.svelte-z7wony{border-radius:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item.svelte-z7wony.svelte-z7wony{border-radius:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item.svelte-z7wony.svelte-z7wony{border-radius:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item.svelte-z7wony.svelte-z7wony{padding-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item.svelte-z7wony.svelte-z7wony{padding-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item.svelte-z7wony.svelte-z7wony{padding-right:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item.svelte-z7wony.svelte-z7wony{padding-right:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item.svelte-z7wony.svelte-z7wony{padding-right:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item.svelte-z7wony.svelte-z7wony{padding-right:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item.svelte-z7wony.svelte-z7wony{padding-right:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item.svelte-z7wony.svelte-z7wony{padding-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item.svelte-z7wony.svelte-z7wony{padding-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item.svelte-z7wony.svelte-z7wony{padding-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item.svelte-z7wony.svelte-z7wony{padding-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item.svelte-z7wony.svelte-z7wony{padding-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item.svelte-z7wony.svelte-z7wony{padding-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item.svelte-z7wony.svelte-z7wony{padding-left:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item.svelte-z7wony.svelte-z7wony{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item.svelte-z7wony.svelte-z7wony{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item.svelte-z7wony.svelte-z7wony{height:calc(0.0220572917 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item.svelte-z7wony.svelte-z7wony{height:calc(0.0315104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item.svelte-z7wony.svelte-z7wony{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item.svelte-z7wony.svelte-z7wony{height:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item.svelte-z7wony.svelte-z7wony{height:calc(0.0315104167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item.svelte-z7wony.svelte-z7wony{min-width:calc(0.1223958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item.svelte-z7wony.svelte-z7wony{min-width:calc(0.1223958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item.svelte-z7wony.svelte-z7wony{min-width:calc(0.0942447917 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item.svelte-z7wony.svelte-z7wony{min-width:calc(0.1346354167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item.svelte-z7wony.svelte-z7wony{min-width:calc(0.0856770833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item.svelte-z7wony.svelte-z7wony{min-width:calc(0.11015625 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item.svelte-z7wony.svelte-z7wony{min-width:calc(0.1346354167 * 100vw + 0px)}}.radial-menu__item.svelte-z7wony.svelte-z7wony:hover{background-color:rgba(255, 255, 255, 0.9)}.radial-menu__item.svelte-z7wony:hover .radial-menu__item-title.svelte-z7wony{color:#202731}.radial-menu__item--one.svelte-z7wony.svelte-z7wony:nth-child(1){transform:translateX(-100%);left:calc(0.1354166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--one.svelte-z7wony.svelte-z7wony:nth-child(1){left:calc(0.1354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--one.svelte-z7wony.svelte-z7wony:nth-child(1){left:calc(0.1354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--one.svelte-z7wony.svelte-z7wony:nth-child(1){left:calc(0.1042708333 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--one.svelte-z7wony.svelte-z7wony:nth-child(1){left:calc(0.1489583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--one.svelte-z7wony.svelte-z7wony:nth-child(1){left:calc(0.0947916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--one.svelte-z7wony.svelte-z7wony:nth-child(1){left:calc(0.121875 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--one.svelte-z7wony.svelte-z7wony:nth-child(1){left:calc(0.1489583333 * 100vw + 0px)}}.radial-menu__item--two.svelte-z7wony.svelte-z7wony:nth-child(1){transform:translateX(-100%);left:calc(0.1354166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--two.svelte-z7wony.svelte-z7wony:nth-child(1){left:calc(0.1354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--two.svelte-z7wony.svelte-z7wony:nth-child(1){left:calc(0.1354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--two.svelte-z7wony.svelte-z7wony:nth-child(1){left:calc(0.1042708333 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--two.svelte-z7wony.svelte-z7wony:nth-child(1){left:calc(0.1489583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--two.svelte-z7wony.svelte-z7wony:nth-child(1){left:calc(0.0947916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--two.svelte-z7wony.svelte-z7wony:nth-child(1){left:calc(0.121875 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--two.svelte-z7wony.svelte-z7wony:nth-child(1){left:calc(0.1489583333 * 100vw + 0px)}}.radial-menu__item--two.svelte-z7wony.svelte-z7wony:nth-child(2){transform:translateX(100%);right:calc(0.1354166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--two.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.1354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--two.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.1354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--two.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.1042708333 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--two.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.1489583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--two.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.0947916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--two.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.121875 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--two.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.1489583333 * 100vw + 0px)}}.radial-menu__item--three.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.109375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--three.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--three.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--three.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.08421875 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--three.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--three.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.0765625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--three.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.0984375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--three.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.1203125 * 100vw + 0px)}}.radial-menu__item--three.svelte-z7wony.svelte-z7wony:nth-child(2){transform:translateX(100%);right:calc(0.1354166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--three.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.1354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--three.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.1354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--three.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.1042708333 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--three.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.1489583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--three.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.0947916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--three.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.121875 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--three.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.1489583333 * 100vw + 0px)}}.radial-menu__item--three.svelte-z7wony.svelte-z7wony:nth-child(3){transform:translateX(-100%);left:calc(0.1354166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--three.svelte-z7wony.svelte-z7wony:nth-child(3){left:calc(0.1354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--three.svelte-z7wony.svelte-z7wony:nth-child(3){left:calc(0.1354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--three.svelte-z7wony.svelte-z7wony:nth-child(3){left:calc(0.1042708333 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--three.svelte-z7wony.svelte-z7wony:nth-child(3){left:calc(0.1489583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--three.svelte-z7wony.svelte-z7wony:nth-child(3){left:calc(0.0947916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--three.svelte-z7wony.svelte-z7wony:nth-child(3){left:calc(0.121875 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--three.svelte-z7wony.svelte-z7wony:nth-child(3){left:calc(0.1489583333 * 100vw + 0px)}}.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(1){transform:translateX(-100%);left:calc(0.1354166667 * 100vw + 0px);top:calc(0.1640625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(1){left:calc(0.1354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(1){left:calc(0.1354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(1){left:calc(0.1042708333 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(1){left:calc(0.1489583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(1){left:calc(0.0947916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(1){left:calc(0.121875 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(1){left:calc(0.1489583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.126328125 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.18046875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.11484375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.14765625 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.18046875 * 100vw + 0px)}}.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(2){transform:translateX(100%);right:calc(0.1354166667 * 100vw + 0px);top:calc(0.1640625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.1354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.1354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.1042708333 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.1489583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.0947916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.121875 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.1489583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(2){top:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(2){top:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(2){top:calc(0.126328125 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(2){top:calc(0.18046875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(2){top:calc(0.11484375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(2){top:calc(0.14765625 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(2){top:calc(0.18046875 * 100vw + 0px)}}.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(3){transform:translateX(100%);right:calc(0.1354166667 * 100vw + 0px);bottom:calc(0.1640625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(3){right:calc(0.1354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(3){right:calc(0.1354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(3){right:calc(0.1042708333 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(3){right:calc(0.1489583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(3){right:calc(0.0947916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(3){right:calc(0.121875 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(3){right:calc(0.1489583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(3){bottom:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(3){bottom:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(3){bottom:calc(0.126328125 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(3){bottom:calc(0.18046875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(3){bottom:calc(0.11484375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(3){bottom:calc(0.14765625 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(3){bottom:calc(0.18046875 * 100vw + 0px)}}.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(4){transform:translateX(-100%);left:calc(0.1354166667 * 100vw + 0px);bottom:calc(0.1640625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(4){left:calc(0.1354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(4){left:calc(0.1354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(4){left:calc(0.1042708333 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(4){left:calc(0.1489583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(4){left:calc(0.0947916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(4){left:calc(0.121875 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(4){left:calc(0.1489583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(4){bottom:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(4){bottom:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(4){bottom:calc(0.126328125 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(4){bottom:calc(0.18046875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(4){bottom:calc(0.11484375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(4){bottom:calc(0.14765625 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--four.svelte-z7wony.svelte-z7wony:nth-child(4){bottom:calc(0.18046875 * 100vw + 0px)}}.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.109375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.08421875 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.0765625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.0984375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.1203125 * 100vw + 0px)}}.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(2){transform:translateX(100%);right:calc(0.1354166667 * 100vw + 0px);bottom:calc(0.1640625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.1354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.1354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.1042708333 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.1489583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.0947916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.121875 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.1489583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(2){bottom:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(2){bottom:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(2){bottom:calc(0.126328125 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(2){bottom:calc(0.18046875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(2){bottom:calc(0.11484375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(2){bottom:calc(0.14765625 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(2){bottom:calc(0.18046875 * 100vw + 0px)}}.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(3){transform:translateX(100%);right:calc(0.1354166667 * 100vw + 0px);top:calc(0.1640625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(3){right:calc(0.1354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(3){right:calc(0.1354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(3){right:calc(0.1042708333 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(3){right:calc(0.1489583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(3){right:calc(0.0947916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(3){right:calc(0.121875 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(3){right:calc(0.1489583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(3){top:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(3){top:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(3){top:calc(0.126328125 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(3){top:calc(0.18046875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(3){top:calc(0.11484375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(3){top:calc(0.14765625 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(3){top:calc(0.18046875 * 100vw + 0px)}}.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(4){transform:translateX(-100%);left:calc(0.1354166667 * 100vw + 0px);bottom:calc(0.1640625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(4){left:calc(0.1354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(4){left:calc(0.1354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(4){left:calc(0.1042708333 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(4){left:calc(0.1489583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(4){left:calc(0.0947916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(4){left:calc(0.121875 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(4){left:calc(0.1489583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(4){bottom:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(4){bottom:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(4){bottom:calc(0.126328125 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(4){bottom:calc(0.18046875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(4){bottom:calc(0.11484375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(4){bottom:calc(0.14765625 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(4){bottom:calc(0.18046875 * 100vw + 0px)}}.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(5){transform:translateX(-100%);left:calc(0.1354166667 * 100vw + 0px);top:calc(0.1640625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(5){left:calc(0.1354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(5){left:calc(0.1354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(5){left:calc(0.1042708333 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(5){left:calc(0.1489583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(5){left:calc(0.0947916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(5){left:calc(0.121875 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(5){left:calc(0.1489583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(5){top:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(5){top:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(5){top:calc(0.126328125 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(5){top:calc(0.18046875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(5){top:calc(0.11484375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(5){top:calc(0.14765625 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--five.svelte-z7wony.svelte-z7wony:nth-child(5){top:calc(0.18046875 * 100vw + 0px)}}.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(1){transform:translateX(-100%);left:calc(0.1510416667 * 100vw + 0px);top:calc(0.1510416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(1){left:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(1){left:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(1){left:calc(0.1163020833 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(1){left:calc(0.1661458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(1){left:calc(0.1057291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(1){left:calc(0.1359375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(1){left:calc(0.1661458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.1163020833 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.1661458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.1057291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.1359375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.1661458333 * 100vw + 0px)}}.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(2){transform:translateX(100%);right:calc(0.140625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.10828125 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.1546875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.0984375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.1265625 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.1546875 * 100vw + 0px)}}.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(3){transform:translateX(100%);right:calc(0.1510416667 * 100vw + 0px);top:calc(0.1510416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(3){right:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(3){right:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(3){right:calc(0.1163020833 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(3){right:calc(0.1661458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(3){right:calc(0.1057291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(3){right:calc(0.1359375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(3){right:calc(0.1661458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(3){top:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(3){top:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(3){top:calc(0.1163020833 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(3){top:calc(0.1661458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(3){top:calc(0.1057291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(3){top:calc(0.1359375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(3){top:calc(0.1661458333 * 100vw + 0px)}}.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(4){transform:translateX(100%);right:calc(0.1510416667 * 100vw + 0px);bottom:calc(0.1510416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(4){right:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(4){right:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(4){right:calc(0.1163020833 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(4){right:calc(0.1661458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(4){right:calc(0.1057291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(4){right:calc(0.1359375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(4){right:calc(0.1661458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(4){bottom:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(4){bottom:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(4){bottom:calc(0.1163020833 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(4){bottom:calc(0.1661458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(4){bottom:calc(0.1057291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(4){bottom:calc(0.1359375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(4){bottom:calc(0.1661458333 * 100vw + 0px)}}.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(5){transform:translateX(-100%);left:calc(0.1510416667 * 100vw + 0px);bottom:calc(0.1510416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(5){left:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(5){left:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(5){left:calc(0.1163020833 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(5){left:calc(0.1661458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(5){left:calc(0.1057291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(5){left:calc(0.1359375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(5){left:calc(0.1661458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(5){bottom:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(5){bottom:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(5){bottom:calc(0.1163020833 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(5){bottom:calc(0.1661458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(5){bottom:calc(0.1057291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(5){bottom:calc(0.1359375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(5){bottom:calc(0.1661458333 * 100vw + 0px)}}.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(6){transform:translateX(-100%);left:calc(0.140625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(6){left:calc(0.140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(6){left:calc(0.140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(6){left:calc(0.10828125 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(6){left:calc(0.1546875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(6){left:calc(0.0984375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(6){left:calc(0.1265625 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--six.svelte-z7wony.svelte-z7wony:nth-child(6){left:calc(0.1546875 * 100vw + 0px)}}.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.109375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.08421875 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.0765625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.0984375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.1203125 * 100vw + 0px)}}.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(2){transform:translateX(100%);right:calc(0.140625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.10828125 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.1546875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.0984375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.1265625 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.1546875 * 100vw + 0px)}}.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(3){transform:translateX(100%);right:calc(0.1510416667 * 100vw + 0px);top:calc(0.1510416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(3){right:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(3){right:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(3){right:calc(0.1163020833 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(3){right:calc(0.1661458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(3){right:calc(0.1057291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(3){right:calc(0.1359375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(3){right:calc(0.1661458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(3){top:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(3){top:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(3){top:calc(0.1163020833 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(3){top:calc(0.1661458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(3){top:calc(0.1057291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(3){top:calc(0.1359375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(3){top:calc(0.1661458333 * 100vw + 0px)}}.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(4){transform:translateX(100%);right:calc(0.1510416667 * 100vw + 0px);bottom:calc(0.1510416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(4){right:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(4){right:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(4){right:calc(0.1163020833 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(4){right:calc(0.1661458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(4){right:calc(0.1057291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(4){right:calc(0.1359375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(4){right:calc(0.1661458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(4){bottom:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(4){bottom:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(4){bottom:calc(0.1163020833 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(4){bottom:calc(0.1661458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(4){bottom:calc(0.1057291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(4){bottom:calc(0.1359375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(4){bottom:calc(0.1661458333 * 100vw + 0px)}}.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(5){transform:translateX(-100%);left:calc(0.1510416667 * 100vw + 0px);bottom:calc(0.1510416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(5){left:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(5){left:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(5){left:calc(0.1163020833 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(5){left:calc(0.1661458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(5){left:calc(0.1057291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(5){left:calc(0.1359375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(5){left:calc(0.1661458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(5){bottom:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(5){bottom:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(5){bottom:calc(0.1163020833 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(5){bottom:calc(0.1661458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(5){bottom:calc(0.1057291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(5){bottom:calc(0.1359375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(5){bottom:calc(0.1661458333 * 100vw + 0px)}}.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(6){transform:translateX(-100%);left:calc(0.140625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(6){left:calc(0.140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(6){left:calc(0.140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(6){left:calc(0.10828125 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(6){left:calc(0.1546875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(6){left:calc(0.0984375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(6){left:calc(0.1265625 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(6){left:calc(0.1546875 * 100vw + 0px)}}.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(7){transform:translateX(-100%);left:calc(0.1510416667 * 100vw + 0px);top:calc(0.1510416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(7){left:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(7){left:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(7){left:calc(0.1163020833 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(7){left:calc(0.1661458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(7){left:calc(0.1057291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(7){left:calc(0.1359375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(7){left:calc(0.1661458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(7){top:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(7){top:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(7){top:calc(0.1163020833 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(7){top:calc(0.1661458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(7){top:calc(0.1057291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(7){top:calc(0.1359375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--seven.svelte-z7wony.svelte-z7wony:nth-child(7){top:calc(0.1661458333 * 100vw + 0px)}}.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.109375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.08421875 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.0765625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.0984375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(1){top:calc(0.1203125 * 100vw + 0px)}}.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(2){transform:translateX(100%);right:calc(0.140625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.10828125 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.1546875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.0984375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.1265625 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(2){right:calc(0.1546875 * 100vw + 0px)}}.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(3){transform:translateX(100%);right:calc(0.1510416667 * 100vw + 0px);top:calc(0.1510416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(3){right:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(3){right:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(3){right:calc(0.1163020833 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(3){right:calc(0.1661458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(3){right:calc(0.1057291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(3){right:calc(0.1359375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(3){right:calc(0.1661458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(3){top:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(3){top:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(3){top:calc(0.1163020833 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(3){top:calc(0.1661458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(3){top:calc(0.1057291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(3){top:calc(0.1359375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(3){top:calc(0.1661458333 * 100vw + 0px)}}.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(4){transform:translateX(100%);right:calc(0.1510416667 * 100vw + 0px);bottom:calc(0.1510416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(4){right:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(4){right:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(4){right:calc(0.1163020833 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(4){right:calc(0.1661458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(4){right:calc(0.1057291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(4){right:calc(0.1359375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(4){right:calc(0.1661458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(4){bottom:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(4){bottom:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(4){bottom:calc(0.1163020833 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(4){bottom:calc(0.1661458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(4){bottom:calc(0.1057291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(4){bottom:calc(0.1359375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(4){bottom:calc(0.1661458333 * 100vw + 0px)}}.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(5){transform:translateX(-100%);left:calc(0.1510416667 * 100vw + 0px);bottom:calc(0.1510416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(5){left:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(5){left:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(5){left:calc(0.1163020833 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(5){left:calc(0.1661458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(5){left:calc(0.1057291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(5){left:calc(0.1359375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(5){left:calc(0.1661458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(5){bottom:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(5){bottom:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(5){bottom:calc(0.1163020833 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(5){bottom:calc(0.1661458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(5){bottom:calc(0.1057291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(5){bottom:calc(0.1359375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(5){bottom:calc(0.1661458333 * 100vw + 0px)}}.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(6){transform:translateX(-100%);left:calc(0.140625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(6){left:calc(0.140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(6){left:calc(0.140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(6){left:calc(0.10828125 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(6){left:calc(0.1546875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(6){left:calc(0.0984375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(6){left:calc(0.1265625 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(6){left:calc(0.1546875 * 100vw + 0px)}}.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(7){transform:translateX(-100%);left:calc(0.1510416667 * 100vw + 0px);top:calc(0.1510416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(7){left:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(7){left:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(7){left:calc(0.1163020833 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(7){left:calc(0.1661458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(7){left:calc(0.1057291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(7){left:calc(0.1359375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(7){left:calc(0.1661458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(7){top:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(7){top:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(7){top:calc(0.1163020833 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(7){top:calc(0.1661458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(7){top:calc(0.1057291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(7){top:calc(0.1359375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(7){top:calc(0.1661458333 * 100vw + 0px)}}.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(8){bottom:calc(0.109375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(8){bottom:calc(0.109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(8){bottom:calc(0.109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(8){bottom:calc(0.08421875 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(8){bottom:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(8){bottom:calc(0.0765625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(8){bottom:calc(0.0984375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item--eight.svelte-z7wony.svelte-z7wony:nth-child(8){bottom:calc(0.1203125 * 100vw + 0px)}}.radial-menu__item-img.svelte-z7wony.svelte-z7wony{height:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item-img.svelte-z7wony.svelte-z7wony{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item-img.svelte-z7wony.svelte-z7wony{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item-img.svelte-z7wony.svelte-z7wony{height:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item-img.svelte-z7wony.svelte-z7wony{height:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item-img.svelte-z7wony.svelte-z7wony{height:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item-img.svelte-z7wony.svelte-z7wony{height:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item-img.svelte-z7wony.svelte-z7wony{height:calc(0.0143229167 * 100vw + 0px)}}.radial-menu__item-title.svelte-z7wony.svelte-z7wony{font-family:\"DINPro-Medium\";color:#FFFFFF;transition:color 0.2s linear;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__item-title.svelte-z7wony.svelte-z7wony{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__item-title.svelte-z7wony.svelte-z7wony{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__item-title.svelte-z7wony.svelte-z7wony{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__item-title.svelte-z7wony.svelte-z7wony{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__item-title.svelte-z7wony.svelte-z7wony{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__item-title.svelte-z7wony.svelte-z7wony{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__item-title.svelte-z7wony.svelte-z7wony{font-size:calc(0.0103125 * 100vw + 0px)}}.radial-menu__items-info.svelte-z7wony.svelte-z7wony{display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:rgba(32, 39, 49, 0.9);border-radius:100%;transition:background-color 0.2s linear;cursor:pointer;width:calc(0.08125 * 100vw + 0px);height:calc(0.08125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__items-info.svelte-z7wony.svelte-z7wony{width:calc(0.08125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__items-info.svelte-z7wony.svelte-z7wony{width:calc(0.08125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__items-info.svelte-z7wony.svelte-z7wony{width:calc(0.0625625 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__items-info.svelte-z7wony.svelte-z7wony{width:calc(0.089375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__items-info.svelte-z7wony.svelte-z7wony{width:calc(0.056875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__items-info.svelte-z7wony.svelte-z7wony{width:calc(0.073125 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__items-info.svelte-z7wony.svelte-z7wony{width:calc(0.089375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__items-info.svelte-z7wony.svelte-z7wony{height:calc(0.08125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__items-info.svelte-z7wony.svelte-z7wony{height:calc(0.08125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__items-info.svelte-z7wony.svelte-z7wony{height:calc(0.0625625 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__items-info.svelte-z7wony.svelte-z7wony{height:calc(0.089375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__items-info.svelte-z7wony.svelte-z7wony{height:calc(0.056875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__items-info.svelte-z7wony.svelte-z7wony{height:calc(0.073125 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__items-info.svelte-z7wony.svelte-z7wony{height:calc(0.089375 * 100vw + 0px)}}.radial-menu__items-info.svelte-z7wony.svelte-z7wony:hover{background-color:#FFFFFF}.radial-menu__items-info.svelte-z7wony:hover .radial-menu__items-info-icon.svelte-z7wony,.radial-menu__items-info.svelte-z7wony:hover .radial-menu__items-info-title.svelte-z7wony{color:#202731}.radial-menu__items-info-img.svelte-z7wony.svelte-z7wony{margin-bottom:calc(0.0026041667 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__items-info-img.svelte-z7wony.svelte-z7wony{margin-bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__items-info-img.svelte-z7wony.svelte-z7wony{margin-bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__items-info-img.svelte-z7wony.svelte-z7wony{margin-bottom:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__items-info-img.svelte-z7wony.svelte-z7wony{margin-bottom:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__items-info-img.svelte-z7wony.svelte-z7wony{margin-bottom:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__items-info-img.svelte-z7wony.svelte-z7wony{margin-bottom:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__items-info-img.svelte-z7wony.svelte-z7wony{margin-bottom:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__items-info-img.svelte-z7wony.svelte-z7wony{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__items-info-img.svelte-z7wony.svelte-z7wony{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__items-info-img.svelte-z7wony.svelte-z7wony{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__items-info-img.svelte-z7wony.svelte-z7wony{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__items-info-img.svelte-z7wony.svelte-z7wony{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__items-info-img.svelte-z7wony.svelte-z7wony{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__items-info-img.svelte-z7wony.svelte-z7wony{height:calc(0.0286458333 * 100vw + 0px)}}.radial-menu__items-info-icon.svelte-z7wony.svelte-z7wony{color:#FFFFFF;font-size:calc(0.0208333333 * 100vw + 0px);margin-bottom:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__items-info-icon.svelte-z7wony.svelte-z7wony{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__items-info-icon.svelte-z7wony.svelte-z7wony{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__items-info-icon.svelte-z7wony.svelte-z7wony{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__items-info-icon.svelte-z7wony.svelte-z7wony{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__items-info-icon.svelte-z7wony.svelte-z7wony{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__items-info-icon.svelte-z7wony.svelte-z7wony{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__items-info-icon.svelte-z7wony.svelte-z7wony{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__items-info-icon.svelte-z7wony.svelte-z7wony{margin-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__items-info-icon.svelte-z7wony.svelte-z7wony{margin-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__items-info-icon.svelte-z7wony.svelte-z7wony{margin-bottom:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__items-info-icon.svelte-z7wony.svelte-z7wony{margin-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__items-info-icon.svelte-z7wony.svelte-z7wony{margin-bottom:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__items-info-icon.svelte-z7wony.svelte-z7wony{margin-bottom:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__items-info-icon.svelte-z7wony.svelte-z7wony{margin-bottom:calc(0.0080208333 * 100vw + 0px)}}.radial-menu__items-info-title.svelte-z7wony.svelte-z7wony{font-family:\"DINPro-Medium\";color:#FFFFFF;text-align:center;transition:color 0.2s linear;width:95%;line-height:calc(0.009375 * 100vw + 0px);font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__items-info-title.svelte-z7wony.svelte-z7wony{line-height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__items-info-title.svelte-z7wony.svelte-z7wony{line-height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__items-info-title.svelte-z7wony.svelte-z7wony{line-height:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__items-info-title.svelte-z7wony.svelte-z7wony{line-height:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__items-info-title.svelte-z7wony.svelte-z7wony{line-height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__items-info-title.svelte-z7wony.svelte-z7wony{line-height:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__items-info-title.svelte-z7wony.svelte-z7wony{line-height:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__items-info-title.svelte-z7wony.svelte-z7wony{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__items-info-title.svelte-z7wony.svelte-z7wony{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__items-info-title.svelte-z7wony.svelte-z7wony{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__items-info-title.svelte-z7wony.svelte-z7wony{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__items-info-title.svelte-z7wony.svelte-z7wony{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__items-info-title.svelte-z7wony.svelte-z7wony{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__items-info-title.svelte-z7wony.svelte-z7wony{font-size:calc(0.0103125 * 100vw + 0px)}}.radial-menu__items-buttons.svelte-z7wony.svelte-z7wony{display:flex;position:absolute;gap:calc(0.0010416667 * 100vw + 0px);bottom:calc(0.109375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__items-buttons.svelte-z7wony.svelte-z7wony{gap:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__items-buttons.svelte-z7wony.svelte-z7wony{gap:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__items-buttons.svelte-z7wony.svelte-z7wony{gap:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__items-buttons.svelte-z7wony.svelte-z7wony{gap:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__items-buttons.svelte-z7wony.svelte-z7wony{gap:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__items-buttons.svelte-z7wony.svelte-z7wony{gap:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__items-buttons.svelte-z7wony.svelte-z7wony{gap:calc(0.0011458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__items-buttons.svelte-z7wony.svelte-z7wony{bottom:calc(0.109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__items-buttons.svelte-z7wony.svelte-z7wony{bottom:calc(0.109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__items-buttons.svelte-z7wony.svelte-z7wony{bottom:calc(0.08421875 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__items-buttons.svelte-z7wony.svelte-z7wony{bottom:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__items-buttons.svelte-z7wony.svelte-z7wony{bottom:calc(0.0765625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__items-buttons.svelte-z7wony.svelte-z7wony{bottom:calc(0.0984375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__items-buttons.svelte-z7wony.svelte-z7wony{bottom:calc(0.1203125 * 100vw + 0px)}}.radial-menu__items-button.svelte-z7wony.svelte-z7wony{display:flex;align-items:center;justify-content:center;background-color:rgba(255, 255, 255, 0.9);transition:background-color 0.2s linear;cursor:pointer;gap:calc(0.0036458333 * 100vw + 0px);border-radius:calc(0.015625 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.015625 * 100vw + 0px);width:calc(0.0651041667 * 100vw + 0px);height:calc(0.0286458333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__items-button.svelte-z7wony.svelte-z7wony{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__items-button.svelte-z7wony.svelte-z7wony{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__items-button.svelte-z7wony.svelte-z7wony{gap:calc(0.0028072917 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__items-button.svelte-z7wony.svelte-z7wony{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__items-button.svelte-z7wony.svelte-z7wony{gap:calc(0.0025520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__items-button.svelte-z7wony.svelte-z7wony{gap:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__items-button.svelte-z7wony.svelte-z7wony{gap:calc(0.0040104167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__items-button.svelte-z7wony.svelte-z7wony{border-radius:calc(0.015625 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__items-button.svelte-z7wony.svelte-z7wony{border-radius:calc(0.015625 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__items-button.svelte-z7wony.svelte-z7wony{border-radius:calc(0.01203125 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__items-button.svelte-z7wony.svelte-z7wony{border-radius:calc(0.0171875 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__items-button.svelte-z7wony.svelte-z7wony{border-radius:calc(0.0109375 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__items-button.svelte-z7wony.svelte-z7wony{border-radius:calc(0.0140625 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__items-button.svelte-z7wony.svelte-z7wony{border-radius:calc(0.0171875 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__items-button.svelte-z7wony.svelte-z7wony{width:calc(0.0651041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__items-button.svelte-z7wony.svelte-z7wony{width:calc(0.0651041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__items-button.svelte-z7wony.svelte-z7wony{width:calc(0.0501302083 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__items-button.svelte-z7wony.svelte-z7wony{width:calc(0.0716145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__items-button.svelte-z7wony.svelte-z7wony{width:calc(0.0455729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__items-button.svelte-z7wony.svelte-z7wony{width:calc(0.05859375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__items-button.svelte-z7wony.svelte-z7wony{width:calc(0.0716145833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__items-button.svelte-z7wony.svelte-z7wony{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__items-button.svelte-z7wony.svelte-z7wony{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__items-button.svelte-z7wony.svelte-z7wony{height:calc(0.0220572917 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__items-button.svelte-z7wony.svelte-z7wony{height:calc(0.0315104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__items-button.svelte-z7wony.svelte-z7wony{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__items-button.svelte-z7wony.svelte-z7wony{height:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__items-button.svelte-z7wony.svelte-z7wony{height:calc(0.0315104167 * 100vw + 0px)}}.radial-menu__items-button--disabled.svelte-z7wony.svelte-z7wony{pointer-events:none;background-color:rgba(32, 39, 49, 0.9);opacity:0.8}.radial-menu__items-button--disabled.svelte-z7wony .radial-menu__items-button-title.svelte-z7wony{color:#FFFFFF}.radial-menu__items-button.svelte-z7wony.svelte-z7wony:hover{background-color:rgba(32, 39, 49, 0.9)}.radial-menu__items-button.svelte-z7wony:hover .radial-menu__items-button-title.svelte-z7wony{color:#FFFFFF}.radial-menu__items-button.svelte-z7wony.svelte-z7wony:nth-child(2){border-radius:calc(0 * 100vw + 0px) calc(0.015625 * 100vw + 0px) calc(0.015625 * 100vw + 0px) calc(0 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__items-button.svelte-z7wony.svelte-z7wony:nth-child(2){border-radius:calc(0 * 100vw + 0px) calc(0.015625 * 100vw + 0px) calc(0.015625 * 100vw + 0px) calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__items-button.svelte-z7wony.svelte-z7wony:nth-child(2){border-radius:calc(0 * 100vw + 0px) calc(0.015625 * 100vw + 0px) calc(0.015625 * 100vw + 0px) calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__items-button.svelte-z7wony.svelte-z7wony:nth-child(2){border-radius:calc(0 * 100vw + 0px) calc(0.01203125 * 100vw + 0px) calc(0.01203125 * 100vw + 0px) calc(0 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__items-button.svelte-z7wony.svelte-z7wony:nth-child(2){border-radius:calc(0 * 100vw + 0px) calc(0.0171875 * 100vw + 0px) calc(0.0171875 * 100vw + 0px) calc(0 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__items-button.svelte-z7wony.svelte-z7wony:nth-child(2){border-radius:calc(0 * 100vw + 0px) calc(0.0109375 * 100vw + 0px) calc(0.0109375 * 100vw + 0px) calc(0 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__items-button.svelte-z7wony.svelte-z7wony:nth-child(2){border-radius:calc(0 * 100vw + 0px) calc(0.0140625 * 100vw + 0px) calc(0.0140625 * 100vw + 0px) calc(0 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__items-button.svelte-z7wony.svelte-z7wony:nth-child(2){border-radius:calc(0 * 100vw + 0px) calc(0.0171875 * 100vw + 0px) calc(0.0171875 * 100vw + 0px) calc(0 * 100vw + 0px)}}.radial-menu__items-button-img.svelte-z7wony.svelte-z7wony{height:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__items-button-img.svelte-z7wony.svelte-z7wony{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__items-button-img.svelte-z7wony.svelte-z7wony{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__items-button-img.svelte-z7wony.svelte-z7wony{height:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__items-button-img.svelte-z7wony.svelte-z7wony{height:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__items-button-img.svelte-z7wony.svelte-z7wony{height:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__items-button-img.svelte-z7wony.svelte-z7wony{height:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__items-button-img.svelte-z7wony.svelte-z7wony{height:calc(0.0143229167 * 100vw + 0px)}}.radial-menu__items-button-title.svelte-z7wony.svelte-z7wony{font-family:\"DINPro-Medium\";color:#202731;transition:color 0.2s linear;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.radial-menu__items-button-title.svelte-z7wony.svelte-z7wony{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.radial-menu__items-button-title.svelte-z7wony.svelte-z7wony{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.radial-menu__items-button-title.svelte-z7wony.svelte-z7wony{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.radial-menu__items-button-title.svelte-z7wony.svelte-z7wony{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.radial-menu__items-button-title.svelte-z7wony.svelte-z7wony{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.radial-menu__items-button-title.svelte-z7wony.svelte-z7wony{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.radial-menu__items-button-title.svelte-z7wony.svelte-z7wony{font-size:calc(0.0103125 * 100vw + 0px)}}");
}

function interaction_menu_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[19] = list[i];
	return child_ctx;
}

// (3439:8) {#each visibleActions as action}
function interaction_menu_index_svelte_create_each_block(ctx) {
	let div;
	let img;
	let img_src_value;
	let t0;
	let p;
	let t1_value = /*action*/ ctx[19].title + "";
	let t1;
	let div_class_value;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[10](/*action*/ ctx[19]);
	}

	function mouseenter_handler() {
		return /*mouseenter_handler*/ ctx[11](/*action*/ ctx[19]);
	}

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			attr(img, "class", "radial-menu__item-img svelte-z7wony");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/radial_menu/${/*action*/ ctx[19].icon}.svg`)) attr(img, "src", img_src_value);
			attr(img, "alt", "item-img");
			attr(p, "class", "radial-menu__item-title svelte-z7wony");
			attr(div, "class", div_class_value = "radial-menu__item radial-menu__item--" + MAP_COUNT_ITEMS_TO_MODIFIERS[/*visibleActions*/ ctx[4].length] + " svelte-z7wony");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
			append(div, t0);
			append(div, p);
			append(p, t1);

			if (!mounted) {
				dispose = [
					listen(div, "click", click_handler),
					listen(div, "mouseenter", mouseenter_handler),
					listen(div, "mouseleave", /*mouseleave_handler*/ ctx[12])
				];

				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*visibleActions*/ 16 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/radial_menu/${/*action*/ ctx[19].icon}.svg`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*visibleActions*/ 16 && t1_value !== (t1_value = /*action*/ ctx[19].title + "")) set_data(t1, t1_value);

			if (dirty & /*visibleActions*/ 16 && div_class_value !== (div_class_value = "radial-menu__item radial-menu__item--" + MAP_COUNT_ITEMS_TO_MODIFIERS[/*visibleActions*/ ctx[4].length] + " svelte-z7wony")) {
				attr(div, "class", div_class_value);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (3470:12) {:else}
function interaction_menu_index_svelte_create_else_block(ctx) {
	let i;
	let i_intro;
	let t0;
	let p;
	let p_intro;

	return {
		c() {
			i = internal_element("i");
			t0 = space();
			p = internal_element("p");
			p.textContent = "Закрыть";
			attr(i, "class", "radial-menu__items-info-icon icon-cancel svelte-z7wony");
			attr(p, "class", "radial-menu__items-info-title svelte-z7wony");
		},
		m(target, anchor) {
			insert(target, i, anchor);
			insert(target, t0, anchor);
			insert(target, p, anchor);
		},
		p: internal_noop,
		i(local) {
			if (!i_intro) {
				add_render_callback(() => {
					i_intro = create_in_transition(i, fade, {});
					i_intro.start();
				});
			}

			if (!p_intro) {
				add_render_callback(() => {
					p_intro = create_in_transition(p, fade, {});
					p_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(i);
			if (detaching) detach(t0);
			if (detaching) detach(p);
		}
	};
}

// (3460:12) {#if !isEmpty(hoveredAction)}
function interaction_menu_index_svelte_create_if_block_1(ctx) {
	let img;
	let img_src_value;
	let img_intro;
	let t0;
	let p;
	let t1_value = /*hoveredAction*/ ctx[5].title + "";
	let t1;
	let p_intro;

	return {
		c() {
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			attr(img, "class", "radial-menu__items-info-img svelte-z7wony");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/radial_menu/${/*hoveredAction*/ ctx[5].icon}.svg`)) attr(img, "src", img_src_value);
			attr(img, "alt", "info-img");
			attr(p, "class", "radial-menu__items-info-title svelte-z7wony");
		},
		m(target, anchor) {
			insert(target, img, anchor);
			insert(target, t0, anchor);
			insert(target, p, anchor);
			append(p, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*hoveredAction*/ 32 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/radial_menu/${/*hoveredAction*/ ctx[5].icon}.svg`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*hoveredAction*/ 32 && t1_value !== (t1_value = /*hoveredAction*/ ctx[5].title + "")) set_data(t1, t1_value);
		},
		i(local) {
			if (!img_intro) {
				add_render_callback(() => {
					img_intro = create_in_transition(img, fade, {});
					img_intro.start();
				});
			}

			if (!p_intro) {
				add_render_callback(() => {
					p_intro = create_in_transition(p, fade, {});
					p_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
			if (detaching) detach(t0);
			if (detaching) detach(p);
		}
	};
}

// (3477:8) {#if history.length || actionsPerPage !== MAX_ACTIONS_COUNT}
function interaction_menu_index_svelte_create_if_block(ctx) {
	let div2;
	let div0;
	let img0;
	let img0_src_value;
	let t0;
	let p0;
	let t2;
	let div1;
	let img1;
	let img1_src_value;
	let t3;
	let p1;
	let mounted;
	let dispose;

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			p0 = internal_element("p");
			p0.textContent = "Назад";
			t2 = space();
			div1 = internal_element("div");
			img1 = internal_element("img");
			t3 = space();
			p1 = internal_element("p");
			p1.textContent = "Вперед";
			attr(img0, "class", "radial-menu__items-button-img svelte-z7wony");
			if (!src_url_equal(img0.src, img0_src_value = back_button_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "button-img");
			attr(p0, "class", "radial-menu__items-button-title svelte-z7wony");
			attr(div0, "class", "radial-menu__items-button svelte-z7wony");
			toggle_class(div0, "radial-menu__items-button--disabled", /*currentPage*/ ctx[2] === 0 && !/*history*/ ctx[1].length);
			attr(img1, "class", "radial-menu__items-button-img svelte-z7wony");
			if (!src_url_equal(img1.src, img1_src_value = next_button_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "button-img");
			attr(p1, "class", "radial-menu__items-button-title svelte-z7wony");
			attr(div1, "class", "radial-menu__items-button svelte-z7wony");
			toggle_class(div1, "radial-menu__items-button--disabled", /*actionsPerPage*/ ctx[3] * /*currentPage*/ ctx[2] + /*actionsPerPage*/ ctx[3] >= /*actions*/ ctx[0].length);
			attr(div2, "class", "radial-menu__items-buttons svelte-z7wony");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div0, img0);
			append(div0, t0);
			append(div0, p0);
			append(div2, t2);
			append(div2, div1);
			append(div1, img1);
			append(div1, t3);
			append(div1, p1);

			if (!mounted) {
				dispose = [
					listen(div0, "click", /*click_handler_1*/ ctx[13]),
					listen(div1, "click", /*click_handler_2*/ ctx[14])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*currentPage, history*/ 6) {
				toggle_class(div0, "radial-menu__items-button--disabled", /*currentPage*/ ctx[2] === 0 && !/*history*/ ctx[1].length);
			}

			if (dirty & /*actionsPerPage, currentPage, actions*/ 13) {
				toggle_class(div1, "radial-menu__items-button--disabled", /*actionsPerPage*/ ctx[3] * /*currentPage*/ ctx[2] + /*actionsPerPage*/ ctx[3] >= /*actions*/ ctx[0].length);
			}
		},
		d(detaching) {
			if (detaching) detach(div2);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function interaction_menu_index_svelte_create_fragment(ctx) {
	let div2;
	let div1;
	let t0;
	let div0;
	let show_if;
	let t1;
	let mounted;
	let dispose;
	let each_value = /*visibleActions*/ ctx[4];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = interaction_menu_index_svelte_create_each_block(interaction_menu_index_svelte_get_each_context(ctx, each_value, i));
	}

	function select_block_type(ctx, dirty) {
		if (dirty & /*hoveredAction*/ 32) show_if = null;
		if (show_if == null) show_if = !!!(0,lodash.isEmpty)(/*hoveredAction*/ ctx[5]);
		if (show_if) return interaction_menu_index_svelte_create_if_block_1;
		return interaction_menu_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block0 = current_block_type(ctx);
	let if_block1 = (/*history*/ ctx[1].length || /*actionsPerPage*/ ctx[3] !== MAX_ACTIONS_COUNT) && interaction_menu_index_svelte_create_if_block(ctx);

	return {
		c() {
			div2 = internal_element("div");
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t0 = space();
			div0 = internal_element("div");
			if_block0.c();
			t1 = space();
			if (if_block1) if_block1.c();
			attr(div0, "class", "radial-menu__items-info svelte-z7wony");
			attr(div1, "class", "radial-menu__items svelte-z7wony");
			attr(div2, "class", "radial-menu svelte-z7wony");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}

			append(div1, t0);
			append(div1, div0);
			if_block0.m(div0, null);
			append(div1, t1);
			if (if_block1) if_block1.m(div1, null);

			if (!mounted) {
				dispose = listen(div0, "click", /*closeMenu*/ ctx[9]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*MAP_COUNT_ITEMS_TO_MODIFIERS, visibleActions, handleAction, handleActionHover, CDN_URL_RODINA*/ 208) {
				each_value = /*visibleActions*/ ctx[4];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = interaction_menu_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = interaction_menu_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div1, t0);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block0) {
				if_block0.p(ctx, dirty);
			} else {
				if_block0.d(1);
				if_block0 = current_block_type(ctx);

				if (if_block0) {
					if_block0.c();
					transition_in(if_block0, 1);
					if_block0.m(div0, null);
				}
			}

			if (/*history*/ ctx[1].length || /*actionsPerPage*/ ctx[3] !== MAX_ACTIONS_COUNT) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = interaction_menu_index_svelte_create_if_block(ctx);
					if_block1.c();
					if_block1.m(div1, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}
		},
		i(local) {
			transition_in(if_block0);
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div2);
			destroy_each(each_blocks, detaching);
			if_block0.d();
			if (if_block1) if_block1.d();
			mounted = false;
			dispose();
		}
	};
}

function interaction_menu_index_svelte_instance($$self, $$props, $$invalidate) {
	let actions = [];
	let visibleActions = [];
	let history = [];
	let currentPage = 0;
	let hoveredAction = null;
	let actionsPerPage = MAX_ACTIONS_COUNT;

	const initializeItems = itemsDto => {
		$$invalidate(0, actions = itemsDto);
		$$invalidate(2, currentPage = 0);
		$$invalidate(1, history = []);
	};

	const pushItems = itemsDto => {
		$$invalidate(0, actions = [...actions, ...itemsDto]);
	};

	const handleActionHover = action => {
		$$invalidate(5, hoveredAction = action);
	};

	const handleAction = action => {
		if (!action.actions) {
			sendClientMessage('radialMenu.useAction', action.id);
			return;
		}

		history.push({ page: currentPage, actions });
		$$invalidate(0, actions = action.actions);
		$$invalidate(2, currentPage = 0);
		$$invalidate(5, hoveredAction = null);
	};

	const changePage = direction => {
		const updatedPage = currentPage + direction;

		if (updatedPage >= 0 && updatedPage < actions.length / actionsPerPage) {
			$$invalidate(2, currentPage = updatedPage);
		} else if (updatedPage < 0 && history.length) {
			const previousActionsData = history.pop();
			$$invalidate(2, currentPage = previousActionsData.page);
			$$invalidate(0, actions = previousActionsData.actions);
		}
	};

	const closeMenu = () => {
		sendClientMessage('radialMenu.closeMenu');
	};

	const unregisterItemsEvent = registerEvent('event.radialMenu.items', initializeItems);
	const unregisterPushItemsEvent = registerEvent('event.radialMenu.items.push', pushItems);

	onDestroy(() => {
		unregisterItemsEvent();
		unregisterPushItemsEvent();
	});

	const click_handler = action => handleAction(action);
	const mouseenter_handler = action => handleActionHover(action);
	const mouseleave_handler = () => handleActionHover(null);
	const click_handler_1 = () => changePage(-1);
	const click_handler_2 = () => changePage(1);

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*actions, history*/ 3) {
			$: $$invalidate(3, actionsPerPage = actions.length > MAX_ACTIONS_COUNT || history.length
			? MAX_ACTIONS_COUNT - 1
			: MAX_ACTIONS_COUNT);
		}

		if ($$self.$$.dirty & /*actionsPerPage, currentPage, actions*/ 13) {
			$: {
				const offset = actionsPerPage * currentPage;
				$$invalidate(4, visibleActions = actions.slice(offset, offset + actionsPerPage));
			}
		}
	};

	return [
		actions,
		history,
		currentPage,
		actionsPerPage,
		visibleActions,
		hoveredAction,
		handleActionHover,
		handleAction,
		changePage,
		closeMenu,
		click_handler,
		mouseenter_handler,
		mouseleave_handler,
		click_handler_1,
		click_handler_2
	];
}

class Interaction_menu extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, interaction_menu_index_svelte_instance, interaction_menu_index_svelte_create_fragment, safe_not_equal, {}, interaction_menu_index_svelte_add_css);
	}
}

/* harmony default export */ const interaction_menu_index_svelte = (Interaction_menu);
;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/native.js
const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);
/* harmony default export */ const esm_browser_native = ({
  randomUUID
});
;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/rng.js
// Unique ID creation requires a high quality random # generator. In the browser we therefore
// require the crypto API and do not support built-in fallback to lower quality random number
// generators (like Math.random()).
let getRandomValues;
const rnds8 = new Uint8Array(16);
function rng() {
  // lazy load so that environments that need to polyfill have a chance to do so
  if (!getRandomValues) {
    // getRandomValues needs to be invoked in a context where "this" is a Crypto implementation.
    getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);

    if (!getRandomValues) {
      throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
    }
  }

  return getRandomValues(rnds8);
}
;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/stringify.js

/**
 * Convert array of 16 byte values to UUID string format of the form:
 * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
 */

const byteToHex = [];

for (let i = 0; i < 256; ++i) {
  byteToHex.push((i + 0x100).toString(16).slice(1));
}

function unsafeStringify(arr, offset = 0) {
  // Note: Be careful editing this code!  It's been tuned for performance
  // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
  return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
}

function stringify(arr, offset = 0) {
  const uuid = unsafeStringify(arr, offset); // Consistency check for valid UUID.  If this throws, it's likely due to one
  // of the following:
  // - One or more input array values don't map to a hex octet (leading to
  // "undefined" in the uuid)
  // - Invalid input values for the RFC `version` or `variant` fields

  if (!validate(uuid)) {
    throw TypeError('Stringified UUID is invalid');
  }

  return uuid;
}

/* harmony default export */ const esm_browser_stringify = ((/* unused pure expression or super */ null && (stringify)));
;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/v4.js




function v4(options, buf, offset) {
  if (esm_browser_native.randomUUID && !buf && !options) {
    return esm_browser_native.randomUUID();
  }

  options = options || {};
  const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`

  rnds[6] = rnds[6] & 0x0f | 0x40;
  rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided

  if (buf) {
    offset = offset || 0;

    for (let i = 0; i < 16; ++i) {
      buf[offset + i] = rnds[i];
    }

    return buf;
  }

  return unsafeStringify(rnds);
}

/* harmony default export */ const esm_browser_v4 = (v4);
;// CONCATENATED MODULE: ./src/components/notifications/img/succeeded.svg
const succeeded_namespaceObject = __webpack_require__.p + "assets/c27bb7f6317f58504672.svg";
;// CONCATENATED MODULE: ./src/components/notifications/img/information.svg
const information_namespaceObject = __webpack_require__.p + "assets/73c377e52e6c298cd982.svg";
;// CONCATENATED MODULE: ./src/components/notifications/img/error.svg
const error_namespaceObject = __webpack_require__.p + "assets/4889e4f510e06128494c.svg";
;// CONCATENATED MODULE: ./src/components/notifications/constants.js
function notifications_constants_typeof(o) { "@babel/helpers - typeof"; return notifications_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, notifications_constants_typeof(o); }
function notifications_constants_defineProperty(e, r, t) { return (r = notifications_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function notifications_constants_toPropertyKey(t) { var i = notifications_constants_toPrimitive(t, "string"); return "symbol" == notifications_constants_typeof(i) ? i : i + ""; }
function notifications_constants_toPrimitive(t, r) { if ("object" != notifications_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != notifications_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }



var NotificationType = {
  Succeeded: 'succeeded',
  Information: 'information',
  Error: 'error'
};
var NotificationTypeImage = notifications_constants_defineProperty(notifications_constants_defineProperty(notifications_constants_defineProperty({}, NotificationType.Succeeded, {
  icon: succeeded_namespaceObject
}), NotificationType.Information, {
  icon: information_namespaceObject
}), NotificationType.Error, {
  icon: error_namespaceObject
});
;// CONCATENATED MODULE: ./src/components/notifications/index.svelte
/* src\components\notifications\index.svelte generated by Svelte v3.49.0 */









function notifications_index_svelte_add_css(target) {
	append_styles(target, "svelte-259zav", "@keyframes svelte-259zav-blinking{50%{opacity:0}}@keyframes svelte-259zav-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-259zav-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-259zav-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-259zav-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-259zav-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-259zav-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-259zav-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-259zav-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-259zav-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-259zav-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-259zav-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-259zav-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-259zav-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-259zav-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.notifications-wrapper.svelte-259zav{position:fixed;left:50%;transform:translateX(-50%);width:fit-content;height:fit-content;z-index:100;bottom:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.notifications-wrapper.svelte-259zav{bottom:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.notifications-wrapper.svelte-259zav{bottom:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.notifications-wrapper.svelte-259zav{bottom:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.notifications-wrapper.svelte-259zav{bottom:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.notifications-wrapper.svelte-259zav{bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.notifications-wrapper.svelte-259zav{bottom:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.notifications-wrapper.svelte-259zav{bottom:calc(0.0171875 * 100vw + 0px)}}.notification-item.svelte-259zav{display:flex;flex-direction:column;background-color:#202731;box-sizing:border-box;padding:calc(0.0088541667 * 100vw + 0px);border-radius:calc(0.0078125 * 100vw + 0px);margin-bottom:calc(0.003125 * 100vw + 0px);width:calc(0.1302083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.notification-item.svelte-259zav{padding:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.notification-item.svelte-259zav{padding:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.notification-item.svelte-259zav{padding:calc(0.0068177083 * 100vw + 0px)}}@media(min-width: 3440px){.notification-item.svelte-259zav{padding:calc(0.0097395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.notification-item.svelte-259zav{padding:calc(0.0061979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.notification-item.svelte-259zav{padding:calc(0.00796875 * 100vw + 0px)}}@media(min-width: 4096px){.notification-item.svelte-259zav{padding:calc(0.0097395833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.notification-item.svelte-259zav{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.notification-item.svelte-259zav{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.notification-item.svelte-259zav{border-radius:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.notification-item.svelte-259zav{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.notification-item.svelte-259zav{border-radius:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.notification-item.svelte-259zav{border-radius:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.notification-item.svelte-259zav{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.notification-item.svelte-259zav{margin-bottom:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.notification-item.svelte-259zav{margin-bottom:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.notification-item.svelte-259zav{margin-bottom:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.notification-item.svelte-259zav{margin-bottom:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.notification-item.svelte-259zav{margin-bottom:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.notification-item.svelte-259zav{margin-bottom:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.notification-item.svelte-259zav{margin-bottom:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.notification-item.svelte-259zav{width:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.notification-item.svelte-259zav{width:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.notification-item.svelte-259zav{width:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px){.notification-item.svelte-259zav{width:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.notification-item.svelte-259zav{width:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.notification-item.svelte-259zav{width:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 4096px){.notification-item.svelte-259zav{width:calc(0.1432291667 * 100vw + 0px)}}.notification-item.svelte-259zav:last-child{margin-bottom:0}.notification-item__header.svelte-259zav{display:flex;align-items:center}.notification-item__header-img.svelte-259zav{width:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.notification-item__header-img.svelte-259zav{width:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.notification-item__header-img.svelte-259zav{width:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.notification-item__header-img.svelte-259zav{width:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.notification-item__header-img.svelte-259zav{width:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.notification-item__header-img.svelte-259zav{width:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.notification-item__header-img.svelte-259zav{width:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.notification-item__header-img.svelte-259zav{width:calc(0.0143229167 * 100vw + 0px)}}.notification-item__header-title.svelte-259zav{color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.009375 * 100vw + 0px);margin-left:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.notification-item__header-title.svelte-259zav{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.notification-item__header-title.svelte-259zav{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.notification-item__header-title.svelte-259zav{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.notification-item__header-title.svelte-259zav{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.notification-item__header-title.svelte-259zav{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.notification-item__header-title.svelte-259zav{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.notification-item__header-title.svelte-259zav{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.notification-item__header-title.svelte-259zav{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.notification-item__header-title.svelte-259zav{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.notification-item__header-title.svelte-259zav{margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.notification-item__header-title.svelte-259zav{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.notification-item__header-title.svelte-259zav{margin-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.notification-item__header-title.svelte-259zav{margin-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.notification-item__header-title.svelte-259zav{margin-left:calc(0.0057291667 * 100vw + 0px)}}.notification-item__description.svelte-259zav{color:#B4B4B4;font-family:\"GothamPro\";font-size:calc(0.0072916667 * 100vw + 0px);margin-top:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.notification-item__description.svelte-259zav{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.notification-item__description.svelte-259zav{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.notification-item__description.svelte-259zav{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.notification-item__description.svelte-259zav{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.notification-item__description.svelte-259zav{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.notification-item__description.svelte-259zav{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.notification-item__description.svelte-259zav{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.notification-item__description.svelte-259zav{margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.notification-item__description.svelte-259zav{margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.notification-item__description.svelte-259zav{margin-top:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.notification-item__description.svelte-259zav{margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.notification-item__description.svelte-259zav{margin-top:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.notification-item__description.svelte-259zav{margin-top:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.notification-item__description.svelte-259zav{margin-top:calc(0.0080208333 * 100vw + 0px)}}");
}

function notifications_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[8] = list[i];
	return child_ctx;
}

// (621:16) {#if !isEmpty(notification.description)}
function notifications_index_svelte_create_if_block(ctx) {
	let p;
	let t_value = /*notification*/ ctx[8].description + "";
	let t;

	return {
		c() {
			p = internal_element("p");
			t = internal_text(t_value);
			attr(p, "class", "notification-item__description svelte-259zav");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t);
		},
		p(ctx, dirty) {
			if (dirty & /*notifications*/ 1 && t_value !== (t_value = /*notification*/ ctx[8].description + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (613:4) {#each notifications as notification(notification.id)}
function notifications_index_svelte_create_each_block(key_1, ctx) {
	let div1;
	let div0;
	let img;
	let img_src_value;
	let t0;
	let p;
	let t1_value = /*notification*/ ctx[8].title + "";
	let t1;
	let t2;
	let show_if = !(0,lodash.isEmpty)(/*notification*/ ctx[8].description);
	let t3;
	let div1_intro;
	let div1_outro;
	let current;
	let if_block = show_if && notifications_index_svelte_create_if_block(ctx);

	return {
		key: key_1,
		first: null,
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			if (if_block) if_block.c();
			t3 = space();
			attr(img, "class", "notification-item__header-img svelte-259zav");
			if (!src_url_equal(img.src, img_src_value = NotificationTypeImage[/*notification*/ ctx[8].type].icon)) attr(img, "src", img_src_value);
			attr(img, "alt", "statusImage");
			attr(p, "class", "notification-item__header-title svelte-259zav");
			attr(div0, "class", "notification-item__header svelte-259zav");
			attr(div1, "class", "notification-item svelte-259zav");
			this.first = div1;
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, img);
			append(div0, t0);
			append(div0, p);
			append(p, t1);
			append(div1, t2);
			if (if_block) if_block.m(div1, null);
			append(div1, t3);
			current = true;
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (!current || dirty & /*notifications*/ 1 && !src_url_equal(img.src, img_src_value = NotificationTypeImage[/*notification*/ ctx[8].type].icon)) {
				attr(img, "src", img_src_value);
			}

			if ((!current || dirty & /*notifications*/ 1) && t1_value !== (t1_value = /*notification*/ ctx[8].title + "")) set_data(t1, t1_value);
			if (dirty & /*notifications*/ 1) show_if = !(0,lodash.isEmpty)(/*notification*/ ctx[8].description);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = notifications_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div1, t3);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		i(local) {
			if (current) return;

			if (local) {
				add_render_callback(() => {
					if (div1_outro) div1_outro.end(1);
					div1_intro = create_in_transition(div1, fly, { y: 200, duration: 1000 });
					div1_intro.start();
				});
			}

			current = true;
		},
		o(local) {
			if (div1_intro) div1_intro.invalidate();

			if (local) {
				div1_outro = create_out_transition(div1, fade, {});
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			if (if_block) if_block.d();
			if (detaching && div1_outro) div1_outro.end();
		}
	};
}

function notifications_index_svelte_create_fragment(ctx) {
	let div;
	let each_blocks = [];
	let each_1_lookup = new Map();
	let current;
	let each_value = /*notifications*/ ctx[0];
	const get_key = ctx => /*notification*/ ctx[8].id;

	for (let i = 0; i < each_value.length; i += 1) {
		let child_ctx = notifications_index_svelte_get_each_context(ctx, each_value, i);
		let key = get_key(child_ctx);
		each_1_lookup.set(key, each_blocks[i] = notifications_index_svelte_create_each_block(key, child_ctx));
	}

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "notifications-wrapper svelte-259zav");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}

			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*notifications, isEmpty, NotificationTypeImage*/ 1) {
				each_value = /*notifications*/ ctx[0];
				group_outros();
				each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, div, outro_and_destroy_block, notifications_index_svelte_create_each_block, null, notifications_index_svelte_get_each_context);
				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].d();
			}
		}
	};
}

function notifications_index_svelte_instance($$self, $$props, $$invalidate) {
	let notifications = [];
	const notificationsIntervalsIds = {};

	const addNotification = notificationsItemDto => {
		const notificationAlreadyExists = notifications.find(({ title, description }) => title === notificationsItemDto.title && description === notificationsItemDto.description);

		if (notificationAlreadyExists) {
			return;
		}

		const notificationsItem = {
			...notificationsItemDto,
			id: notificationsItemDto.id || esm_browser_v4()
		};

		$$invalidate(0, notifications = [...notifications, notificationsItem]);

		notificationsIntervalsIds[notificationsItem.id] = setTimeout(
			() => {
				$$invalidate(0, notifications = notifications.filter(({ id }) => id !== notificationsItem.id));
				delete notificationsIntervalsIds[notificationsItem.id];
			},
			notificationsItem.duration
		);
	};

	const removeNotification = id => {
		if ((0,lodash.isNil)(notificationsIntervalsIds[id])) {
			return;
		}

		clearTimeout(notificationsIntervalsIds[id]);
		delete notificationsIntervalsIds[id];
		$$invalidate(0, notifications = notifications.filter(notification => notification.id !== id));
	};

	const clearNotifications = () => {
		Object.keys(notificationsIntervalsIds).forEach(id => {
			clearTimeout(notificationsIntervalsIds[id]);
			delete notificationsIntervalsIds[id];
			$$invalidate(0, notifications = []);
		});
	};

	const unregisterAddNotification = registerEvent('cef.addNotification', addNotification);
	const unregisterRemoveNotification = registerEvent('cef.removeNotification', removeNotification);
	const unregisterClearNotifications = registerEvent('cef.clearNotifications', clearNotifications);

	onDestroy(() => {
		unregisterAddNotification();
		unregisterRemoveNotification();
		unregisterClearNotifications();
	});

	return [notifications];
}

class Notifications extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, notifications_index_svelte_instance, notifications_index_svelte_create_fragment, safe_not_equal, {}, notifications_index_svelte_add_css);
	}
}

/* harmony default export */ const notifications_index_svelte = (Notifications);
;// CONCATENATED MODULE: ./src/views/barbie-event/img/barbie-event-logo.svg
const barbie_event_logo_namespaceObject = __webpack_require__.p + "assets/42dd15378f0b1360b1e6.svg";
;// CONCATENATED MODULE: ./src/views/barbie-event/menu/img/barbie-event-playerLogo.svg
const barbie_event_playerLogo_namespaceObject = __webpack_require__.p + "assets/c293264cce0ad28d40b3.svg";
;// CONCATENATED MODULE: ./src/views/barbie-event/menu/img/barbie-event-barbie.png
const barbie_event_barbie_namespaceObject = __webpack_require__.p + "assets/26abfdf719319e31f55b.webp";
;// CONCATENATED MODULE: ./src/views/barbie-event/menu/img/barbie-event-quests.png
const barbie_event_quests_namespaceObject = __webpack_require__.p + "assets/8e5803b2b550b81c3da5.webp";
;// CONCATENATED MODULE: ./src/views/barbie-event/img/barbie-event-background.png
const barbie_event_background_namespaceObject = __webpack_require__.p + "assets/1c44c6d7d165b8e35e13.webp";
;// CONCATENATED MODULE: ./src/views/barbie-event/components/background/index.svelte
/* src\views\barbie-event\components\background\index.svelte generated by Svelte v3.49.0 */




function background_index_svelte_add_css(target) {
	append_styles(target, "svelte-1w6q2s0", "@keyframes svelte-1w6q2s0-blinking{50%{opacity:0}}@keyframes svelte-1w6q2s0-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1w6q2s0-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1w6q2s0-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1w6q2s0-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1w6q2s0-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1w6q2s0-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1w6q2s0-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1w6q2s0-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1w6q2s0-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1w6q2s0-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1w6q2s0-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1w6q2s0-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1w6q2s0-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1w6q2s0-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.space-event-background-meteor.svelte-1w6q2s0{width:100vw;height:100vh}");
}

function background_index_svelte_create_fragment(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "space-event-background-meteor svelte-1w6q2s0");
			if (!src_url_equal(img.src, img_src_value = barbie_event_background_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "BackgroundMeteor");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

class Background extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, background_index_svelte_create_fragment, safe_not_equal, {}, background_index_svelte_add_css);
	}
}

/* harmony default export */ const background_index_svelte = (Background);
;// CONCATENATED MODULE: ./src/views/barbie-event/menu/index.svelte
/* src\views\barbie-event\menu\index.svelte generated by Svelte v3.49.0 */









// import { PLAYER_STATS } from './mocks';







function menu_index_svelte_add_css(target) {
	append_styles(target, "svelte-1t92mj0", "@keyframes svelte-1t92mj0-blinking{50%{opacity:0}}@keyframes svelte-1t92mj0-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1t92mj0-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1t92mj0-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1t92mj0-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1t92mj0-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1t92mj0-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1t92mj0-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1t92mj0-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1t92mj0-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1t92mj0-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1t92mj0-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1t92mj0-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1t92mj0-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1t92mj0-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.space-event-menu.svelte-1t92mj0{display:flex;align-items:center;flex-direction:column;width:100vw;height:100vh}.space-event-menu__soldier-img.svelte-1t92mj0{position:absolute;z-index:1;left:0;bottom:0;height:calc(0.5598958333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__soldier-img.svelte-1t92mj0{height:calc(0.5598958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__soldier-img.svelte-1t92mj0{height:calc(0.5598958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__soldier-img.svelte-1t92mj0{height:calc(0.4311197917 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__soldier-img.svelte-1t92mj0{height:calc(0.6158854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__soldier-img.svelte-1t92mj0{height:calc(0.3919270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__soldier-img.svelte-1t92mj0{height:calc(0.50390625 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__soldier-img.svelte-1t92mj0{height:calc(0.6158854167 * 100vw + 0px)}}.space-event-menu__background-quests.svelte-1t92mj0{position:absolute;right:0;pointer-events:none;top:calc(0.0854166667 * 100vw + 0px);height:calc(0.4322916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__background-quests.svelte-1t92mj0{top:calc(0.0854166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__background-quests.svelte-1t92mj0{top:calc(0.0854166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__background-quests.svelte-1t92mj0{top:calc(0.0657708333 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__background-quests.svelte-1t92mj0{top:calc(0.0939583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__background-quests.svelte-1t92mj0{top:calc(0.0597916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__background-quests.svelte-1t92mj0{top:calc(0.076875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__background-quests.svelte-1t92mj0{top:calc(0.0939583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__background-quests.svelte-1t92mj0{height:calc(0.4322916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__background-quests.svelte-1t92mj0{height:calc(0.4322916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__background-quests.svelte-1t92mj0{height:calc(0.3328645833 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__background-quests.svelte-1t92mj0{height:calc(0.4755208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__background-quests.svelte-1t92mj0{height:calc(0.3026041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__background-quests.svelte-1t92mj0{height:calc(0.3890625 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__background-quests.svelte-1t92mj0{height:calc(0.4755208333 * 100vw + 0px)}}.space-event-menu__logo.svelte-1t92mj0{position:absolute;display:flex;align-items:center;top:calc(0.0151041667 * 100vw + 0px);left:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__logo.svelte-1t92mj0{top:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__logo.svelte-1t92mj0{top:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__logo.svelte-1t92mj0{top:calc(0.0116302083 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__logo.svelte-1t92mj0{top:calc(0.0166145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__logo.svelte-1t92mj0{top:calc(0.0105729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__logo.svelte-1t92mj0{top:calc(0.01359375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__logo.svelte-1t92mj0{top:calc(0.0166145833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__logo.svelte-1t92mj0{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__logo.svelte-1t92mj0{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__logo.svelte-1t92mj0{left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__logo.svelte-1t92mj0{left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__logo.svelte-1t92mj0{left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__logo.svelte-1t92mj0{left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__logo.svelte-1t92mj0{left:calc(0.0286458333 * 100vw + 0px)}}.space-event-menu__logo-icon.svelte-1t92mj0{height:calc(0.0677083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__logo-icon.svelte-1t92mj0{height:calc(0.0677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__logo-icon.svelte-1t92mj0{height:calc(0.0677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__logo-icon.svelte-1t92mj0{height:calc(0.0521354167 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__logo-icon.svelte-1t92mj0{height:calc(0.0744791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__logo-icon.svelte-1t92mj0{height:calc(0.0473958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__logo-icon.svelte-1t92mj0{height:calc(0.0609375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__logo-icon.svelte-1t92mj0{height:calc(0.0744791667 * 100vw + 0px)}}.space-event-menu__take-contract.svelte-1t92mj0{position:absolute;display:flex;flex-direction:column;right:calc(0.1244791667 * 100vw + 0px);top:calc(0.2442708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__take-contract.svelte-1t92mj0{right:calc(0.1244791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__take-contract.svelte-1t92mj0{right:calc(0.1244791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__take-contract.svelte-1t92mj0{right:calc(0.0958489583 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__take-contract.svelte-1t92mj0{right:calc(0.1369270833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__take-contract.svelte-1t92mj0{right:calc(0.0871354167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__take-contract.svelte-1t92mj0{right:calc(0.11203125 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__take-contract.svelte-1t92mj0{right:calc(0.1369270833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__take-contract.svelte-1t92mj0{top:calc(0.2442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__take-contract.svelte-1t92mj0{top:calc(0.2442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__take-contract.svelte-1t92mj0{top:calc(0.1880885417 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__take-contract.svelte-1t92mj0{top:calc(0.2686979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__take-contract.svelte-1t92mj0{top:calc(0.1709895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__take-contract.svelte-1t92mj0{top:calc(0.21984375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__take-contract.svelte-1t92mj0{top:calc(0.2686979167 * 100vw + 0px)}}.space-event-menu__take-contract-title.svelte-1t92mj0{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0333333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__take-contract-title.svelte-1t92mj0{font-size:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__take-contract-title.svelte-1t92mj0{font-size:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__take-contract-title.svelte-1t92mj0{font-size:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__take-contract-title.svelte-1t92mj0{font-size:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__take-contract-title.svelte-1t92mj0{font-size:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__take-contract-title.svelte-1t92mj0{font-size:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__take-contract-title.svelte-1t92mj0{font-size:calc(0.0366666667 * 100vw + 0px)}}.space-event-menu__take-contract-title--bold.svelte-1t92mj0{font-family:\"GothamPro-Bold\"}.space-event-menu__take-contract-btn.svelte-1t92mj0{display:flex;justify-content:center;align-items:center;cursor:pointer;font-size:calc(0.009375 * 100vw + 0px);width:calc(0.0520833333 * 100vw + 0px);height:calc(0.0234375 * 100vw + 0px);margin-top:calc(0.0083333333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__take-contract-btn.svelte-1t92mj0{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__take-contract-btn.svelte-1t92mj0{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__take-contract-btn.svelte-1t92mj0{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__take-contract-btn.svelte-1t92mj0{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__take-contract-btn.svelte-1t92mj0{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__take-contract-btn.svelte-1t92mj0{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__take-contract-btn.svelte-1t92mj0{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__take-contract-btn.svelte-1t92mj0{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__take-contract-btn.svelte-1t92mj0{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__take-contract-btn.svelte-1t92mj0{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__take-contract-btn.svelte-1t92mj0{width:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__take-contract-btn.svelte-1t92mj0{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__take-contract-btn.svelte-1t92mj0{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__take-contract-btn.svelte-1t92mj0{width:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__take-contract-btn.svelte-1t92mj0{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__take-contract-btn.svelte-1t92mj0{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__take-contract-btn.svelte-1t92mj0{height:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__take-contract-btn.svelte-1t92mj0{height:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__take-contract-btn.svelte-1t92mj0{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__take-contract-btn.svelte-1t92mj0{height:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__take-contract-btn.svelte-1t92mj0{height:calc(0.02578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__take-contract-btn.svelte-1t92mj0{margin-top:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__take-contract-btn.svelte-1t92mj0{margin-top:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__take-contract-btn.svelte-1t92mj0{margin-top:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__take-contract-btn.svelte-1t92mj0{margin-top:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__take-contract-btn.svelte-1t92mj0{margin-top:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__take-contract-btn.svelte-1t92mj0{margin-top:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__take-contract-btn.svelte-1t92mj0{margin-top:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__take-contract-btn.svelte-1t92mj0{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__take-contract-btn.svelte-1t92mj0{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__take-contract-btn.svelte-1t92mj0{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__take-contract-btn.svelte-1t92mj0{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__take-contract-btn.svelte-1t92mj0{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__take-contract-btn.svelte-1t92mj0{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__take-contract-btn.svelte-1t92mj0{border-radius:calc(0.0057291667 * 100vw + 0px)}}.space-event-menu__player-title-wrapper.svelte-1t92mj0{z-index:1;position:absolute;bottom:calc(0.1104166667 * 100vw + 0px);left:calc(0.4234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__player-title-wrapper.svelte-1t92mj0{bottom:calc(0.1104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__player-title-wrapper.svelte-1t92mj0{bottom:calc(0.1104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__player-title-wrapper.svelte-1t92mj0{bottom:calc(0.0850208333 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__player-title-wrapper.svelte-1t92mj0{bottom:calc(0.1214583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__player-title-wrapper.svelte-1t92mj0{bottom:calc(0.0772916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__player-title-wrapper.svelte-1t92mj0{bottom:calc(0.099375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__player-title-wrapper.svelte-1t92mj0{bottom:calc(0.1214583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__player-title-wrapper.svelte-1t92mj0{left:calc(0.4234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__player-title-wrapper.svelte-1t92mj0{left:calc(0.4234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__player-title-wrapper.svelte-1t92mj0{left:calc(0.326046875 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__player-title-wrapper.svelte-1t92mj0{left:calc(0.46578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__player-title-wrapper.svelte-1t92mj0{left:calc(0.29640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__player-title-wrapper.svelte-1t92mj0{left:calc(0.38109375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__player-title-wrapper.svelte-1t92mj0{left:calc(0.46578125 * 100vw + 0px)}}.space-event-menu__player-title.svelte-1t92mj0{font-family:\"GothamPro-Bold\";color:#FFFFFF;font-size:calc(0.0208333333 * 100vw + 0px);width:calc(0.1822916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__player-title.svelte-1t92mj0{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__player-title.svelte-1t92mj0{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__player-title.svelte-1t92mj0{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__player-title.svelte-1t92mj0{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__player-title.svelte-1t92mj0{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__player-title.svelte-1t92mj0{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__player-title.svelte-1t92mj0{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__player-title.svelte-1t92mj0{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__player-title.svelte-1t92mj0{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__player-title.svelte-1t92mj0{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__player-title.svelte-1t92mj0{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__player-title.svelte-1t92mj0{width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__player-title.svelte-1t92mj0{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__player-title.svelte-1t92mj0{width:calc(0.2005208333 * 100vw + 0px)}}.space-event-menu__player-name.svelte-1t92mj0{display:flex;align-items:center;color:#505050;background:#FFFFFF;font-family:\"GothamPro-Bold\";width:calc(0.1822916667 * 100vw + 0px);height:calc(0.0520833333 * 100vw + 0px);border-radius:calc(0.0078125 * 100vw + 0px);font-size:calc(0.0166666667 * 100vw + 0px);margin-top:calc(0.0182291667 * 100vw + 0px);margin-bottom:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__player-name.svelte-1t92mj0{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__player-name.svelte-1t92mj0{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__player-name.svelte-1t92mj0{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__player-name.svelte-1t92mj0{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__player-name.svelte-1t92mj0{width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__player-name.svelte-1t92mj0{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__player-name.svelte-1t92mj0{width:calc(0.2005208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__player-name.svelte-1t92mj0{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__player-name.svelte-1t92mj0{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__player-name.svelte-1t92mj0{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__player-name.svelte-1t92mj0{height:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__player-name.svelte-1t92mj0{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__player-name.svelte-1t92mj0{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__player-name.svelte-1t92mj0{height:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__player-name.svelte-1t92mj0{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__player-name.svelte-1t92mj0{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__player-name.svelte-1t92mj0{border-radius:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__player-name.svelte-1t92mj0{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__player-name.svelte-1t92mj0{border-radius:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__player-name.svelte-1t92mj0{border-radius:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__player-name.svelte-1t92mj0{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__player-name.svelte-1t92mj0{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__player-name.svelte-1t92mj0{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__player-name.svelte-1t92mj0{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__player-name.svelte-1t92mj0{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__player-name.svelte-1t92mj0{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__player-name.svelte-1t92mj0{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__player-name.svelte-1t92mj0{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__player-name.svelte-1t92mj0{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__player-name.svelte-1t92mj0{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__player-name.svelte-1t92mj0{margin-top:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__player-name.svelte-1t92mj0{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__player-name.svelte-1t92mj0{margin-top:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__player-name.svelte-1t92mj0{margin-top:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__player-name.svelte-1t92mj0{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__player-name.svelte-1t92mj0{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__player-name.svelte-1t92mj0{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__player-name.svelte-1t92mj0{margin-bottom:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__player-name.svelte-1t92mj0{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__player-name.svelte-1t92mj0{margin-bottom:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__player-name.svelte-1t92mj0{margin-bottom:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__player-name.svelte-1t92mj0{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}.space-event-menu__player-icon-wrapper.svelte-1t92mj0{height:calc(0.0208333333 * 100vw + 0px);margin-right:calc(0.0104166667 * 100vw + 0px);margin-left:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__player-icon-wrapper.svelte-1t92mj0{height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__player-icon-wrapper.svelte-1t92mj0{height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__player-icon-wrapper.svelte-1t92mj0{height:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__player-icon-wrapper.svelte-1t92mj0{height:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__player-icon-wrapper.svelte-1t92mj0{height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__player-icon-wrapper.svelte-1t92mj0{height:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__player-icon-wrapper.svelte-1t92mj0{height:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__player-icon-wrapper.svelte-1t92mj0{margin-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__player-icon-wrapper.svelte-1t92mj0{margin-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__player-icon-wrapper.svelte-1t92mj0{margin-right:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__player-icon-wrapper.svelte-1t92mj0{margin-right:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__player-icon-wrapper.svelte-1t92mj0{margin-right:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__player-icon-wrapper.svelte-1t92mj0{margin-right:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__player-icon-wrapper.svelte-1t92mj0{margin-right:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__player-icon-wrapper.svelte-1t92mj0{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__player-icon-wrapper.svelte-1t92mj0{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__player-icon-wrapper.svelte-1t92mj0{margin-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__player-icon-wrapper.svelte-1t92mj0{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__player-icon-wrapper.svelte-1t92mj0{margin-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__player-icon-wrapper.svelte-1t92mj0{margin-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__player-icon-wrapper.svelte-1t92mj0{margin-left:calc(0.0114583333 * 100vw + 0px)}}.space-event-menu__player-icon.svelte-1t92mj0{width:calc(0.0208333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__player-icon.svelte-1t92mj0{width:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__player-icon.svelte-1t92mj0{width:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__player-icon.svelte-1t92mj0{width:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__player-icon.svelte-1t92mj0{width:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__player-icon.svelte-1t92mj0{width:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__player-icon.svelte-1t92mj0{width:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__player-icon.svelte-1t92mj0{width:calc(0.0229166667 * 100vw + 0px)}}.space-event-menu__player-stats.svelte-1t92mj0{display:flex;justify-content:space-between;border-radius:15px;background:#FFFFFF;width:calc(0.1822916667 * 100vw + 0px);padding-bottom:calc(0.0119791667 * 100vw + 0px);padding-left:calc(0.0234375 * 100vw + 0px);padding-right:calc(0.0234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__player-stats.svelte-1t92mj0{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__player-stats.svelte-1t92mj0{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__player-stats.svelte-1t92mj0{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__player-stats.svelte-1t92mj0{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__player-stats.svelte-1t92mj0{width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__player-stats.svelte-1t92mj0{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__player-stats.svelte-1t92mj0{width:calc(0.2005208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__player-stats.svelte-1t92mj0{padding-bottom:calc(0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__player-stats.svelte-1t92mj0{padding-bottom:calc(0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__player-stats.svelte-1t92mj0{padding-bottom:calc(0.0092239583 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__player-stats.svelte-1t92mj0{padding-bottom:calc(0.0131770833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__player-stats.svelte-1t92mj0{padding-bottom:calc(0.0083854167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__player-stats.svelte-1t92mj0{padding-bottom:calc(0.01078125 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__player-stats.svelte-1t92mj0{padding-bottom:calc(0.0131770833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__player-stats.svelte-1t92mj0{padding-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__player-stats.svelte-1t92mj0{padding-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__player-stats.svelte-1t92mj0{padding-left:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__player-stats.svelte-1t92mj0{padding-left:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__player-stats.svelte-1t92mj0{padding-left:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__player-stats.svelte-1t92mj0{padding-left:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__player-stats.svelte-1t92mj0{padding-left:calc(0.02578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__player-stats.svelte-1t92mj0{padding-right:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__player-stats.svelte-1t92mj0{padding-right:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__player-stats.svelte-1t92mj0{padding-right:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__player-stats.svelte-1t92mj0{padding-right:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__player-stats.svelte-1t92mj0{padding-right:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__player-stats.svelte-1t92mj0{padding-right:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__player-stats.svelte-1t92mj0{padding-right:calc(0.02578125 * 100vw + 0px)}}.space-event-menu__player-quest-count.svelte-1t92mj0{font-family:\"GothamPro-Bold\";color:#505050;font-size:calc(0.0125 * 100vw + 0px);padding-top:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__player-quest-count.svelte-1t92mj0{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__player-quest-count.svelte-1t92mj0{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__player-quest-count.svelte-1t92mj0{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__player-quest-count.svelte-1t92mj0{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__player-quest-count.svelte-1t92mj0{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__player-quest-count.svelte-1t92mj0{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__player-quest-count.svelte-1t92mj0{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__player-quest-count.svelte-1t92mj0{padding-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__player-quest-count.svelte-1t92mj0{padding-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__player-quest-count.svelte-1t92mj0{padding-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__player-quest-count.svelte-1t92mj0{padding-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__player-quest-count.svelte-1t92mj0{padding-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__player-quest-count.svelte-1t92mj0{padding-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__player-quest-count.svelte-1t92mj0{padding-top:calc(0.0143229167 * 100vw + 0px)}}.space-event-menu__player-quest-title.svelte-1t92mj0{font-family:\"GothamPro\";color:#8E8E8E;width:fit-content;padding-top:calc(0.0052083333 * 100vw + 0px);font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__player-quest-title.svelte-1t92mj0{padding-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__player-quest-title.svelte-1t92mj0{padding-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__player-quest-title.svelte-1t92mj0{padding-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__player-quest-title.svelte-1t92mj0{padding-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__player-quest-title.svelte-1t92mj0{padding-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__player-quest-title.svelte-1t92mj0{padding-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__player-quest-title.svelte-1t92mj0{padding-top:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__player-quest-title.svelte-1t92mj0{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__player-quest-title.svelte-1t92mj0{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__player-quest-title.svelte-1t92mj0{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__player-quest-title.svelte-1t92mj0{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__player-quest-title.svelte-1t92mj0{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__player-quest-title.svelte-1t92mj0{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__player-quest-title.svelte-1t92mj0{font-size:calc(0.006875 * 100vw + 0px)}}.space-event-menu__player-stats-left.svelte-1t92mj0{width:calc(0.0479166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__player-stats-left.svelte-1t92mj0{width:calc(0.0479166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__player-stats-left.svelte-1t92mj0{width:calc(0.0479166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__player-stats-left.svelte-1t92mj0{width:calc(0.0368958333 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__player-stats-left.svelte-1t92mj0{width:calc(0.0527083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__player-stats-left.svelte-1t92mj0{width:calc(0.0335416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__player-stats-left.svelte-1t92mj0{width:calc(0.043125 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__player-stats-left.svelte-1t92mj0{width:calc(0.0527083333 * 100vw + 0px)}}.space-event-menu__player-stats-right.svelte-1t92mj0{width:calc(0.0578125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-menu__player-stats-right.svelte-1t92mj0{width:calc(0.0578125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-menu__player-stats-right.svelte-1t92mj0{width:calc(0.0578125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-menu__player-stats-right.svelte-1t92mj0{width:calc(0.044515625 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-menu__player-stats-right.svelte-1t92mj0{width:calc(0.06359375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-menu__player-stats-right.svelte-1t92mj0{width:calc(0.04046875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-menu__player-stats-right.svelte-1t92mj0{width:calc(0.05203125 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-menu__player-stats-right.svelte-1t92mj0{width:calc(0.06359375 * 100vw + 0px)}}");
}

function menu_index_svelte_create_fragment(ctx) {
	let div11;
	let exitbutton;
	let t0;
	let img0;
	let img0_src_value;
	let t1;
	let barbieeventbackground;
	let t2;
	let img1;
	let img1_src_value;
	let t3;
	let div0;
	let img2;
	let img2_src_value;
	let t4;
	let div2;
	let p0;
	let t8;
	let div1;
	let actionbutton;
	let t9;
	let div10;
	let p1;
	let t11;
	let div4;
	let div3;
	let img3;
	let img3_src_value;
	let t12;
	let p2;
	let t13_value = /*stats*/ ctx[0].name + "";
	let t13;
	let t14;
	let div9;
	let div6;
	let div5;
	let p3;
	let t15_value = /*stats*/ ctx[0].completedQuests + "";
	let t15;
	let t16;
	let p4;
	let t18;
	let div8;
	let div7;
	let p5;
	let t19_value = /*stats*/ ctx[0].earnedAzCoins + "";
	let t19;
	let t20;
	let p6;
	let current;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[1],
				fixedPosition: true
			}
		});

	barbieeventbackground = new background_index_svelte({});

	actionbutton = new index_svelte({
			props: {
				onPress: /*onTakeQuest*/ ctx[2],
				keyTitle: "Enter",
				keyCode: 13,
				size: ActionButtonSize.FillFree
			}
		});

	return {
		c() {
			div11 = internal_element("div");
			create_component(exitbutton.$$.fragment);
			t0 = space();
			img0 = internal_element("img");
			t1 = space();
			create_component(barbieeventbackground.$$.fragment);
			t2 = space();
			img1 = internal_element("img");
			t3 = space();
			div0 = internal_element("div");
			img2 = internal_element("img");
			t4 = space();
			div2 = internal_element("div");
			p0 = internal_element("p");

			p0.innerHTML = `Взять
            <br/> 
            <span class="space-event-menu__take-contract-title--bold svelte-1t92mj0">задание</span>`;

			t8 = space();
			div1 = internal_element("div");
			create_component(actionbutton.$$.fragment);
			t9 = space();
			div10 = internal_element("div");
			p1 = internal_element("p");
			p1.textContent = "Активность на мероприятии";
			t11 = space();
			div4 = internal_element("div");
			div3 = internal_element("div");
			img3 = internal_element("img");
			t12 = space();
			p2 = internal_element("p");
			t13 = internal_text(t13_value);
			t14 = space();
			div9 = internal_element("div");
			div6 = internal_element("div");
			div5 = internal_element("div");
			p3 = internal_element("p");
			t15 = internal_text(t15_value);
			t16 = space();
			p4 = internal_element("p");
			p4.textContent = "Выполнено заданий";
			t18 = space();
			div8 = internal_element("div");
			div7 = internal_element("div");
			p5 = internal_element("p");
			t19 = internal_text(t19_value);
			t20 = space();
			p6 = internal_element("p");
			p6.textContent = "Заработано AZ-Coins";
			attr(img0, "class", "space-event-menu__soldier-img svelte-1t92mj0");
			if (!src_url_equal(img0.src, img0_src_value = barbie_event_barbie_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "barbie");
			attr(img1, "class", "space-event-menu__background-quests svelte-1t92mj0");
			if (!src_url_equal(img1.src, img1_src_value = barbie_event_quests_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "questBackground");
			attr(img2, "class", "space-event-menu__logo-icon svelte-1t92mj0");
			if (!src_url_equal(img2.src, img2_src_value = barbie_event_logo_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "logo");
			attr(div0, "class", "space-event-menu__logo svelte-1t92mj0");
			attr(p0, "class", "space-event-menu__take-contract-title svelte-1t92mj0");
			attr(div1, "class", "space-event-menu__take-contract-btn svelte-1t92mj0");
			attr(div2, "class", "space-event-menu__take-contract svelte-1t92mj0");
			attr(p1, "class", "space-event-menu__player-title svelte-1t92mj0");
			attr(img3, "class", "space-event-menu__player-icon svelte-1t92mj0");
			if (!src_url_equal(img3.src, img3_src_value = barbie_event_playerLogo_namespaceObject)) attr(img3, "src", img3_src_value);
			attr(img3, "alt", "playerLogo");
			attr(div3, "class", "space-event-menu__player-icon-wrapper svelte-1t92mj0");
			attr(p2, "class", "space-event-menu__player");
			attr(div4, "class", "space-event-menu__player-name svelte-1t92mj0");
			attr(p3, "class", "space-event-menu__player-quest-count svelte-1t92mj0");
			attr(p4, "class", "space-event-menu__player-quest-title svelte-1t92mj0");
			attr(div5, "class", "space-event-menu__player-completed-quests");
			attr(div6, "class", "space-event-menu__player-stats-left svelte-1t92mj0");
			attr(p5, "class", "space-event-menu__player-quest-count svelte-1t92mj0");
			attr(p6, "class", "space-event-menu__player-quest-title svelte-1t92mj0");
			attr(div7, "class", "space-event-menu__player-az-coins");
			attr(div8, "class", "space-event-menu__player-stats-right svelte-1t92mj0");
			attr(div9, "class", "space-event-menu__player-stats svelte-1t92mj0");
			attr(div10, "class", "space-event-menu__player-title-wrapper svelte-1t92mj0");
			attr(div11, "class", "space-event-menu svelte-1t92mj0");
		},
		m(target, anchor) {
			insert(target, div11, anchor);
			mount_component(exitbutton, div11, null);
			append(div11, t0);
			append(div11, img0);
			append(div11, t1);
			mount_component(barbieeventbackground, div11, null);
			append(div11, t2);
			append(div11, img1);
			append(div11, t3);
			append(div11, div0);
			append(div0, img2);
			append(div11, t4);
			append(div11, div2);
			append(div2, p0);
			append(div2, t8);
			append(div2, div1);
			mount_component(actionbutton, div1, null);
			append(div11, t9);
			append(div11, div10);
			append(div10, p1);
			append(div10, t11);
			append(div10, div4);
			append(div4, div3);
			append(div3, img3);
			append(div4, t12);
			append(div4, p2);
			append(p2, t13);
			append(div10, t14);
			append(div10, div9);
			append(div9, div6);
			append(div6, div5);
			append(div5, p3);
			append(p3, t15);
			append(div5, t16);
			append(div5, p4);
			append(div9, t18);
			append(div9, div8);
			append(div8, div7);
			append(div7, p5);
			append(p5, t19);
			append(div7, t20);
			append(div7, p6);
			current = true;
		},
		p(ctx, [dirty]) {
			if ((!current || dirty & /*stats*/ 1) && t13_value !== (t13_value = /*stats*/ ctx[0].name + "")) set_data(t13, t13_value);
			if ((!current || dirty & /*stats*/ 1) && t15_value !== (t15_value = /*stats*/ ctx[0].completedQuests + "")) set_data(t15, t15_value);
			if ((!current || dirty & /*stats*/ 1) && t19_value !== (t19_value = /*stats*/ ctx[0].earnedAzCoins + "")) set_data(t19, t19_value);
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			transition_in(barbieeventbackground.$$.fragment, local);
			transition_in(actionbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			transition_out(barbieeventbackground.$$.fragment, local);
			transition_out(actionbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div11);
			destroy_component(exitbutton);
			destroy_component(barbieeventbackground);
			destroy_component(actionbutton);
		}
	};
}

function menu_index_svelte_instance($$self, $$props, $$invalidate) {
	let stats = {};

	const initStats = statsDto => {
		$$invalidate(0, stats = statsDto);
	};

	const handleClose = () => {
		
	}; // exec close event

	const onTakeQuest = () => {
		sendClientMessage('spaceEvent.stats.openQuests');
	};

	const unregisterInitStatsEvent = registerEvent('spaceEvent.stats.initialize', initStats);

	onDestroy(() => {
		unregisterInitStatsEvent();
	});

	return [stats, handleClose, onTakeQuest];
}

class Menu extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, menu_index_svelte_instance, menu_index_svelte_create_fragment, safe_not_equal, {}, menu_index_svelte_add_css);
	}
}

/* harmony default export */ const menu_index_svelte = (Menu);
;// CONCATENATED MODULE: ./src/views/barbie-event/quests/img/barbie-event-quests.png
const quests_img_barbie_event_quests_namespaceObject = __webpack_require__.p + "assets/638aaadbf3be359fc5a8.webp";
;// CONCATENATED MODULE: ./src/views/barbie-event/quests/components/accordion/img/arrow.svg
const arrow_namespaceObject = __webpack_require__.p + "assets/60aa0149fcc38157134b.svg";
;// CONCATENATED MODULE: ./src/views/barbie-event/quests/components/accordion/index.svelte
/* src\views\barbie-event\quests\components\accordion\index.svelte generated by Svelte v3.49.0 */







function accordion_index_svelte_add_css(target) {
	append_styles(target, "svelte-1gpoekb", "@keyframes svelte-1gpoekb-blinking{50%{opacity:0}}@keyframes svelte-1gpoekb-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1gpoekb-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1gpoekb-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1gpoekb-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1gpoekb-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1gpoekb-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1gpoekb-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1gpoekb-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1gpoekb-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1gpoekb-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1gpoekb-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1gpoekb-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1gpoekb-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1gpoekb-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.space-event-quests__items-block.svelte-1gpoekb{background:#FFFFFF;overflow:hidden;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.3125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-block.svelte-1gpoekb{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-block.svelte-1gpoekb{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-block.svelte-1gpoekb{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-block.svelte-1gpoekb{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-block.svelte-1gpoekb{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-block.svelte-1gpoekb{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-block.svelte-1gpoekb{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-block.svelte-1gpoekb{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-block.svelte-1gpoekb{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-block.svelte-1gpoekb{width:calc(0.240625 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-block.svelte-1gpoekb{width:calc(0.34375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-block.svelte-1gpoekb{width:calc(0.21875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-block.svelte-1gpoekb{width:calc(0.28125 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-block.svelte-1gpoekb{width:calc(0.34375 * 100vw + 0px)}}.space-event-quests__items-block.svelte-1gpoekb:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-block.svelte-1gpoekb:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-block.svelte-1gpoekb:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-block.svelte-1gpoekb:not(:first-child){margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-block.svelte-1gpoekb:not(:first-child){margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-block.svelte-1gpoekb:not(:first-child){margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-block.svelte-1gpoekb:not(:first-child){margin-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-block.svelte-1gpoekb:not(:first-child){margin-top:calc(0.0114583333 * 100vw + 0px)}}.space-event-quests__items-block-upper.svelte-1gpoekb{display:flex;align-items:center;justify-content:space-between;position:relative}.space-event-quests__items-block-upper.svelte-1gpoekb::after{content:\"\";display:block;position:absolute;left:0;top:0;background-color:#F95D93;opacity:0;transition:opacity 0.2s linear;pointer-events:none;width:100%;height:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-block-upper.svelte-1gpoekb::after{height:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-block-upper.svelte-1gpoekb::after{height:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-block-upper.svelte-1gpoekb::after{height:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-block-upper.svelte-1gpoekb::after{height:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-block-upper.svelte-1gpoekb::after{height:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-block-upper.svelte-1gpoekb::after{height:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-block-upper.svelte-1gpoekb::after{height:calc(0.0028645833 * 100vw + 0px)}}.space-event-quests__items-block-upper.svelte-1gpoekb:hover::after,.space-event-quests__items-block-upper--opened.svelte-1gpoekb::after{opacity:1}.space-event-quests__items-block-text.svelte-1gpoekb{padding-top:calc(0.0152604167 * 100vw + 0px);padding-bottom:calc(0.0151041667 * 100vw + 0px);padding-left:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-block-text.svelte-1gpoekb{padding-top:calc(0.0152604167 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-block-text.svelte-1gpoekb{padding-top:calc(0.0152604167 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-block-text.svelte-1gpoekb{padding-top:calc(0.0117505208 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-block-text.svelte-1gpoekb{padding-top:calc(0.0167864583 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-block-text.svelte-1gpoekb{padding-top:calc(0.0106822917 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-block-text.svelte-1gpoekb{padding-top:calc(0.013734375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-block-text.svelte-1gpoekb{padding-top:calc(0.0167864583 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-block-text.svelte-1gpoekb{padding-bottom:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-block-text.svelte-1gpoekb{padding-bottom:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-block-text.svelte-1gpoekb{padding-bottom:calc(0.0116302083 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-block-text.svelte-1gpoekb{padding-bottom:calc(0.0166145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-block-text.svelte-1gpoekb{padding-bottom:calc(0.0105729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-block-text.svelte-1gpoekb{padding-bottom:calc(0.01359375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-block-text.svelte-1gpoekb{padding-bottom:calc(0.0166145833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-block-text.svelte-1gpoekb{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-block-text.svelte-1gpoekb{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-block-text.svelte-1gpoekb{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-block-text.svelte-1gpoekb{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-block-text.svelte-1gpoekb{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-block-text.svelte-1gpoekb{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-block-text.svelte-1gpoekb{padding-left:calc(0.0143229167 * 100vw + 0px)}}.space-event-quests__items-block-title-wrapper.svelte-1gpoekb{display:flex;align-items:center}.space-event-quests__items-block-arrow--opened.svelte-1gpoekb{transform:rotate(180deg)}.space-event-quests__items-block-title.svelte-1gpoekb{color:#505050;font-family:\"GothamPro-Medium\";margin-left:calc(0.003125 * 100vw + 0px);font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-block-title.svelte-1gpoekb{margin-left:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-block-title.svelte-1gpoekb{margin-left:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-block-title.svelte-1gpoekb{margin-left:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-block-title.svelte-1gpoekb{margin-left:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-block-title.svelte-1gpoekb{margin-left:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-block-title.svelte-1gpoekb{margin-left:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-block-title.svelte-1gpoekb{margin-left:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-block-title.svelte-1gpoekb{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-block-title.svelte-1gpoekb{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-block-title.svelte-1gpoekb{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-block-title.svelte-1gpoekb{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-block-title.svelte-1gpoekb{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-block-title.svelte-1gpoekb{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-block-title.svelte-1gpoekb{font-size:calc(0.0103125 * 100vw + 0px)}}.space-event-quests__items-block-descr.svelte-1gpoekb{color:#505050;font-family:\"GothamPro\";font-size:calc(0.00625 * 100vw + 0px);margin-top:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-block-descr.svelte-1gpoekb{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-block-descr.svelte-1gpoekb{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-block-descr.svelte-1gpoekb{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-block-descr.svelte-1gpoekb{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-block-descr.svelte-1gpoekb{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-block-descr.svelte-1gpoekb{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-block-descr.svelte-1gpoekb{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-block-descr.svelte-1gpoekb{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-block-descr.svelte-1gpoekb{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-block-descr.svelte-1gpoekb{margin-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-block-descr.svelte-1gpoekb{margin-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-block-descr.svelte-1gpoekb{margin-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-block-descr.svelte-1gpoekb{margin-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-block-descr.svelte-1gpoekb{margin-top:calc(0.0057291667 * 100vw + 0px)}}.space-event-quests__items-progress-body.svelte-1gpoekb{display:flex;flex-direction:row;font-family:\"GothamPro-Medium\";font-size:calc(0.009375 * 100vw + 0px);padding-right:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-progress-body.svelte-1gpoekb{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-progress-body.svelte-1gpoekb{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-progress-body.svelte-1gpoekb{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-progress-body.svelte-1gpoekb{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-progress-body.svelte-1gpoekb{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-progress-body.svelte-1gpoekb{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-progress-body.svelte-1gpoekb{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-progress-body.svelte-1gpoekb{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-progress-body.svelte-1gpoekb{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-progress-body.svelte-1gpoekb{padding-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-progress-body.svelte-1gpoekb{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-progress-body.svelte-1gpoekb{padding-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-progress-body.svelte-1gpoekb{padding-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-progress-body.svelte-1gpoekb{padding-right:calc(0.0143229167 * 100vw + 0px)}}.space-event-quests__items-progress-body--maxProgress.svelte-1gpoekb{display:flex;justify-content:center;align-items:center;background:#83BD6F;border-radius:calc(0.0130208333 * 100vw + 0px);width:calc(0.0442708333 * 100vw + 0px);height:calc(0.0130208333 * 100vw + 0px);margin-right:calc(0.0083333333 * 100vw + 0px);padding-right:0}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-progress-body--maxProgress.svelte-1gpoekb{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-progress-body--maxProgress.svelte-1gpoekb{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-progress-body--maxProgress.svelte-1gpoekb{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-progress-body--maxProgress.svelte-1gpoekb{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-progress-body--maxProgress.svelte-1gpoekb{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-progress-body--maxProgress.svelte-1gpoekb{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-progress-body--maxProgress.svelte-1gpoekb{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-progress-body--maxProgress.svelte-1gpoekb{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-progress-body--maxProgress.svelte-1gpoekb{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-progress-body--maxProgress.svelte-1gpoekb{width:calc(0.0340885417 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-progress-body--maxProgress.svelte-1gpoekb{width:calc(0.0486979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-progress-body--maxProgress.svelte-1gpoekb{width:calc(0.0309895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-progress-body--maxProgress.svelte-1gpoekb{width:calc(0.03984375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-progress-body--maxProgress.svelte-1gpoekb{width:calc(0.0486979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-progress-body--maxProgress.svelte-1gpoekb{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-progress-body--maxProgress.svelte-1gpoekb{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-progress-body--maxProgress.svelte-1gpoekb{height:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-progress-body--maxProgress.svelte-1gpoekb{height:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-progress-body--maxProgress.svelte-1gpoekb{height:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-progress-body--maxProgress.svelte-1gpoekb{height:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-progress-body--maxProgress.svelte-1gpoekb{height:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-progress-body--maxProgress.svelte-1gpoekb{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-progress-body--maxProgress.svelte-1gpoekb{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-progress-body--maxProgress.svelte-1gpoekb{margin-right:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-progress-body--maxProgress.svelte-1gpoekb{margin-right:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-progress-body--maxProgress.svelte-1gpoekb{margin-right:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-progress-body--maxProgress.svelte-1gpoekb{margin-right:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-progress-body--maxProgress.svelte-1gpoekb{margin-right:calc(0.0091666667 * 100vw + 0px)}}.space-event-quests__items-progress-body--rewardReceived.svelte-1gpoekb{text-align:center;display:flex;justify-content:center;align-items:center;background:#F2C94C;border-radius:calc(0.0130208333 * 100vw + 0px);width:calc(0.0442708333 * 100vw + 0px);height:calc(0.0130208333 * 100vw + 0px);margin-right:calc(0.0083333333 * 100vw + 0px);padding-right:0}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-progress-body--rewardReceived.svelte-1gpoekb{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-progress-body--rewardReceived.svelte-1gpoekb{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-progress-body--rewardReceived.svelte-1gpoekb{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-progress-body--rewardReceived.svelte-1gpoekb{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-progress-body--rewardReceived.svelte-1gpoekb{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-progress-body--rewardReceived.svelte-1gpoekb{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-progress-body--rewardReceived.svelte-1gpoekb{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-progress-body--rewardReceived.svelte-1gpoekb{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-progress-body--rewardReceived.svelte-1gpoekb{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-progress-body--rewardReceived.svelte-1gpoekb{width:calc(0.0340885417 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-progress-body--rewardReceived.svelte-1gpoekb{width:calc(0.0486979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-progress-body--rewardReceived.svelte-1gpoekb{width:calc(0.0309895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-progress-body--rewardReceived.svelte-1gpoekb{width:calc(0.03984375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-progress-body--rewardReceived.svelte-1gpoekb{width:calc(0.0486979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-progress-body--rewardReceived.svelte-1gpoekb{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-progress-body--rewardReceived.svelte-1gpoekb{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-progress-body--rewardReceived.svelte-1gpoekb{height:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-progress-body--rewardReceived.svelte-1gpoekb{height:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-progress-body--rewardReceived.svelte-1gpoekb{height:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-progress-body--rewardReceived.svelte-1gpoekb{height:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-progress-body--rewardReceived.svelte-1gpoekb{height:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-progress-body--rewardReceived.svelte-1gpoekb{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-progress-body--rewardReceived.svelte-1gpoekb{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-progress-body--rewardReceived.svelte-1gpoekb{margin-right:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-progress-body--rewardReceived.svelte-1gpoekb{margin-right:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-progress-body--rewardReceived.svelte-1gpoekb{margin-right:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-progress-body--rewardReceived.svelte-1gpoekb{margin-right:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-progress-body--rewardReceived.svelte-1gpoekb{margin-right:calc(0.0091666667 * 100vw + 0px)}}.space-event-quests__items-progress.svelte-1gpoekb{color:#505050}.space-event-quests__items-progress--completed.svelte-1gpoekb{font-family:\"GothamPro-Light\";color:#FFFFFF;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-progress--completed.svelte-1gpoekb{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-progress--completed.svelte-1gpoekb{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-progress--completed.svelte-1gpoekb{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-progress--completed.svelte-1gpoekb{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-progress--completed.svelte-1gpoekb{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-progress--completed.svelte-1gpoekb{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-progress--completed.svelte-1gpoekb{font-size:calc(0.0057291667 * 100vw + 0px)}}.space-event-quests__items-progress--rewardReceived.svelte-1gpoekb{font-family:\"GothamPro-Light\";color:#FFFFFF;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-progress--rewardReceived.svelte-1gpoekb{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-progress--rewardReceived.svelte-1gpoekb{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-progress--rewardReceived.svelte-1gpoekb{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-progress--rewardReceived.svelte-1gpoekb{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-progress--rewardReceived.svelte-1gpoekb{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-progress--rewardReceived.svelte-1gpoekb{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-progress--rewardReceived.svelte-1gpoekb{font-size:calc(0.0057291667 * 100vw + 0px)}}.space-event-quests__items-progress-descr.svelte-1gpoekb{font-family:\"GothamPro-Light\";color:#505050;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-progress-descr.svelte-1gpoekb{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-progress-descr.svelte-1gpoekb{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-progress-descr.svelte-1gpoekb{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-progress-descr.svelte-1gpoekb{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-progress-descr.svelte-1gpoekb{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-progress-descr.svelte-1gpoekb{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-progress-descr.svelte-1gpoekb{font-size:calc(0.0057291667 * 100vw + 0px)}}.space-event-quests__items-block-reward.svelte-1gpoekb{display:flex;flex-direction:column;align-items:center}.space-event-quests__items-block-reward-title.svelte-1gpoekb{color:#505050;font-family:\"GothamPro-Medium\";font-size:calc(0.0072916667 * 100vw + 0px);margin-bottom:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-block-reward-title.svelte-1gpoekb{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-block-reward-title.svelte-1gpoekb{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-block-reward-title.svelte-1gpoekb{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-block-reward-title.svelte-1gpoekb{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-block-reward-title.svelte-1gpoekb{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-block-reward-title.svelte-1gpoekb{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-block-reward-title.svelte-1gpoekb{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-block-reward-title.svelte-1gpoekb{margin-bottom:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-block-reward-title.svelte-1gpoekb{margin-bottom:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-block-reward-title.svelte-1gpoekb{margin-bottom:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-block-reward-title.svelte-1gpoekb{margin-bottom:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-block-reward-title.svelte-1gpoekb{margin-bottom:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-block-reward-title.svelte-1gpoekb{margin-bottom:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-block-reward-title.svelte-1gpoekb{margin-bottom:calc(0.006875 * 100vw + 0px)}}.space-event-quests__items-block-reward-items-title.svelte-1gpoekb{font-family:\"GothamPro\";color:#505050;font-size:calc(0.0052083333 * 100vw + 0px);height:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-block-reward-items-title.svelte-1gpoekb{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-block-reward-items-title.svelte-1gpoekb{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-block-reward-items-title.svelte-1gpoekb{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-block-reward-items-title.svelte-1gpoekb{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-block-reward-items-title.svelte-1gpoekb{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-block-reward-items-title.svelte-1gpoekb{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-block-reward-items-title.svelte-1gpoekb{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-block-reward-items-title.svelte-1gpoekb{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-block-reward-items-title.svelte-1gpoekb{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-block-reward-items-title.svelte-1gpoekb{height:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-block-reward-items-title.svelte-1gpoekb{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-block-reward-items-title.svelte-1gpoekb{height:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-block-reward-items-title.svelte-1gpoekb{height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-block-reward-items-title.svelte-1gpoekb{height:calc(0.0080208333 * 100vw + 0px)}}.space-event-quests__items-block-reward-body.svelte-1gpoekb{display:flex;text-align:center;margin-bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-block-reward-body.svelte-1gpoekb{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-block-reward-body.svelte-1gpoekb{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-block-reward-body.svelte-1gpoekb{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-block-reward-body.svelte-1gpoekb{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-block-reward-body.svelte-1gpoekb{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-block-reward-body.svelte-1gpoekb{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-block-reward-body.svelte-1gpoekb{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.space-event-quests__items-block-reward-items.svelte-1gpoekb{display:flex;flex-direction:column;align-items:center;width:calc(0.046875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-block-reward-items.svelte-1gpoekb{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-block-reward-items.svelte-1gpoekb{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-block-reward-items.svelte-1gpoekb{width:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-block-reward-items.svelte-1gpoekb{width:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-block-reward-items.svelte-1gpoekb{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-block-reward-items.svelte-1gpoekb{width:calc(0.0421875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-block-reward-items.svelte-1gpoekb{width:calc(0.0515625 * 100vw + 0px)}}.space-event-quests__items-block-reward-items.svelte-1gpoekb:not(:first-child){margin-left:calc(0.0234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-block-reward-items.svelte-1gpoekb:not(:first-child){margin-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-block-reward-items.svelte-1gpoekb:not(:first-child){margin-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-block-reward-items.svelte-1gpoekb:not(:first-child){margin-left:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-block-reward-items.svelte-1gpoekb:not(:first-child){margin-left:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-block-reward-items.svelte-1gpoekb:not(:first-child){margin-left:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-block-reward-items.svelte-1gpoekb:not(:first-child){margin-left:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-block-reward-items.svelte-1gpoekb:not(:first-child){margin-left:calc(0.02578125 * 100vw + 0px)}}.space-event-quests__items-block-reward-items-img.svelte-1gpoekb{width:calc(0.0260416667 * 100vw + 0px);padding-bottom:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-block-reward-items-img.svelte-1gpoekb{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-block-reward-items-img.svelte-1gpoekb{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-block-reward-items-img.svelte-1gpoekb{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-block-reward-items-img.svelte-1gpoekb{width:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-block-reward-items-img.svelte-1gpoekb{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-block-reward-items-img.svelte-1gpoekb{width:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-block-reward-items-img.svelte-1gpoekb{width:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-block-reward-items-img.svelte-1gpoekb{padding-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-block-reward-items-img.svelte-1gpoekb{padding-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-block-reward-items-img.svelte-1gpoekb{padding-bottom:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-block-reward-items-img.svelte-1gpoekb{padding-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-block-reward-items-img.svelte-1gpoekb{padding-bottom:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-block-reward-items-img.svelte-1gpoekb{padding-bottom:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-block-reward-items-img.svelte-1gpoekb{padding-bottom:calc(0.0057291667 * 100vw + 0px)}}.space-event-quests__items-block-reward-btn.svelte-1gpoekb{display:flex;align-items:center;justify-content:center;cursor:pointer;background-color:#505050;width:calc(0.1041666667 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);margin-bottom:calc(0.0109375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-block-reward-btn.svelte-1gpoekb{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-block-reward-btn.svelte-1gpoekb{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-block-reward-btn.svelte-1gpoekb{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-block-reward-btn.svelte-1gpoekb{width:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-block-reward-btn.svelte-1gpoekb{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-block-reward-btn.svelte-1gpoekb{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-block-reward-btn.svelte-1gpoekb{width:calc(0.1145833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-block-reward-btn.svelte-1gpoekb{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-block-reward-btn.svelte-1gpoekb{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-block-reward-btn.svelte-1gpoekb{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-block-reward-btn.svelte-1gpoekb{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-block-reward-btn.svelte-1gpoekb{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-block-reward-btn.svelte-1gpoekb{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-block-reward-btn.svelte-1gpoekb{height:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-block-reward-btn.svelte-1gpoekb{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-block-reward-btn.svelte-1gpoekb{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-block-reward-btn.svelte-1gpoekb{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-block-reward-btn.svelte-1gpoekb{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-block-reward-btn.svelte-1gpoekb{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-block-reward-btn.svelte-1gpoekb{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-block-reward-btn.svelte-1gpoekb{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-block-reward-btn.svelte-1gpoekb{margin-bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-block-reward-btn.svelte-1gpoekb{margin-bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-block-reward-btn.svelte-1gpoekb{margin-bottom:calc(0.008421875 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-block-reward-btn.svelte-1gpoekb{margin-bottom:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-block-reward-btn.svelte-1gpoekb{margin-bottom:calc(0.00765625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-block-reward-btn.svelte-1gpoekb{margin-bottom:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-block-reward-btn.svelte-1gpoekb{margin-bottom:calc(0.01203125 * 100vw + 0px)}}.space-event-quests__items-block-reward-btn.svelte-1gpoekb:hover{background-color:#8E8E8E}.space-event-quests__items-block-reward-btn--completed.svelte-1gpoekb{background-color:rgba(118, 211, 85, 0.25);cursor:default}.space-event-quests__items-block-reward-btn--completed.svelte-1gpoekb:hover{background-color:rgba(118, 211, 85, 0.25)}.space-event-quests__items-block-reward-btn--rewardReceived.svelte-1gpoekb{background-color:#F2C94C}.space-event-quests__items-block-reward-btn--rewardReceived.svelte-1gpoekb:hover{background-color:#FEB000}.space-event-quests__items-block-reward-btn-key.svelte-1gpoekb{color:#FFFFFF;font-family:\"GothamPro-Medium\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-block-reward-btn-key.svelte-1gpoekb{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-block-reward-btn-key.svelte-1gpoekb{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-block-reward-btn-key.svelte-1gpoekb{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-block-reward-btn-key.svelte-1gpoekb{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-block-reward-btn-key.svelte-1gpoekb{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-block-reward-btn-key.svelte-1gpoekb{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-block-reward-btn-key.svelte-1gpoekb{font-size:calc(0.006875 * 100vw + 0px)}}.space-event-quests__items-block-reward-btn-key--completed.svelte-1gpoekb{color:#76D355}.space-event-quests__items-block-reward-btn-key--rewardReceived.svelte-1gpoekb{color:#3B4447}");
}

function accordion_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[6] = list[i];
	return child_ctx;
}

// (1710:12) {#if accordionOpened}
function accordion_index_svelte_create_if_block_5(ctx) {
	let p;
	let t_value = /*quest*/ ctx[0].description + "";
	let t;
	let p_transition;
	let current;

	return {
		c() {
			p = internal_element("p");
			t = internal_text(t_value);
			attr(p, "class", "space-event-quests__items-block-descr svelte-1gpoekb");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t);
			current = true;
		},
		p(ctx, dirty) {
			if ((!current || dirty & /*quest*/ 1) && t_value !== (t_value = /*quest*/ ctx[0].description + "")) set_data(t, t_value);
		},
		i(local) {
			if (current) return;

			if (local) {
				add_render_callback(() => {
					if (!p_transition) p_transition = create_bidirectional_transition(p, slide, {}, true);
					p_transition.run(1);
				});
			}

			current = true;
		},
		o(local) {
			if (local) {
				if (!p_transition) p_transition = create_bidirectional_transition(p, slide, {}, false);
				p_transition.run(0);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(p);
			if (detaching && p_transition) p_transition.end();
		}
	};
}

// (1738:8) {:else}
function index_svelte_create_else_block_1(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="space-event-quests__items-progress space-event-quests__items-progress--rewardReceived svelte-1gpoekb">Получите награду</p>`;
			attr(div, "class", "space-event-quests__items-progress-body space-event-quests__items-progress-body--rewardReceived svelte-1gpoekb");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1732:81) 
function accordion_index_svelte_create_if_block_4(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="space-event-quests__items-progress space-event-quests__items-progress--completed svelte-1gpoekb">Завершено</p>`;
			attr(div, "class", "space-event-quests__items-progress-body space-event-quests__items-progress-body--maxProgress svelte-1gpoekb");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1719:8) {#if (quest.progress !== quest.maxProgress) && !quest.rewardReceived}
function accordion_index_svelte_create_if_block_3(ctx) {
	let div1;
	let div0;
	let p0;
	let t0_value = /*quest*/ ctx[0].progress + "";
	let t0;
	let t1;
	let t2_value = /*quest*/ ctx[0].maxProgress + "";
	let t2;
	let t3;
	let p1;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = internal_text("\r\n                        /\r\n                        ");
			t2 = internal_text(t2_value);
			t3 = space();
			p1 = internal_element("p");
			p1.textContent = "Прогресс";
			attr(p0, "class", "space-event-quests__items-progress svelte-1gpoekb");
			attr(div0, "class", "space-event-quests__items-progress-body svelte-1gpoekb");
			attr(p1, "class", "space-event-quests__items-progress-descr svelte-1gpoekb");
			attr(div1, "class", "space-event-quests__items-progress-wrapper--incomplete");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, p0);
			append(p0, t0);
			append(p0, t1);
			append(p0, t2);
			append(div1, t3);
			append(div1, p1);
		},
		p(ctx, dirty) {
			if (dirty & /*quest*/ 1 && t0_value !== (t0_value = /*quest*/ ctx[0].progress + "")) set_data(t0, t0_value);
			if (dirty & /*quest*/ 1 && t2_value !== (t2_value = /*quest*/ ctx[0].maxProgress + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (1746:4) {#if accordionOpened}
function accordion_index_svelte_create_if_block(ctx) {
	let div1;
	let p;
	let t1;
	let div0;
	let t2;
	let current_block_type_index;
	let if_block;
	let div1_transition;
	let current;
	let each_value = /*quest*/ ctx[0].rewards;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = accordion_index_svelte_create_each_block(accordion_index_svelte_get_each_context(ctx, each_value, i));
	}

	const if_block_creators = [accordion_index_svelte_create_if_block_1, accordion_index_svelte_create_if_block_2, accordion_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type_1(ctx, dirty) {
		if (/*quest*/ ctx[0].progress !== /*quest*/ ctx[0].maxProgress && !/*quest*/ ctx[0].rewardReceived) return 0;
		if (/*quest*/ ctx[0].progress === /*quest*/ ctx[0].maxProgress && /*quest*/ ctx[0].rewardReceived) return 1;
		return 2;
	}

	current_block_type_index = select_block_type_1(ctx, -1);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div1 = internal_element("div");
			p = internal_element("p");
			p.textContent = "Награда";
			t1 = space();
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t2 = space();
			if_block.c();
			attr(p, "class", "space-event-quests__items-block-reward-title svelte-1gpoekb");
			attr(div0, "class", "space-event-quests__items-block-reward-body svelte-1gpoekb");
			attr(div1, "class", "space-event-quests__items-block-reward svelte-1gpoekb");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, p);
			append(div1, t1);
			append(div1, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			append(div1, t2);
			if_blocks[current_block_type_index].m(div1, null);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty & /*quest, CDN_URL_RODINA*/ 1) {
				each_value = /*quest*/ ctx[0].rewards;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = accordion_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = accordion_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div0, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type_1(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(div1, null);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);

			if (local) {
				add_render_callback(() => {
					if (!div1_transition) div1_transition = create_bidirectional_transition(div1, slide, {}, true);
					div1_transition.run(1);
				});
			}

			current = true;
		},
		o(local) {
			transition_out(if_block);

			if (local) {
				if (!div1_transition) div1_transition = create_bidirectional_transition(div1, slide, {}, false);
				div1_transition.run(0);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			destroy_each(each_blocks, detaching);
			if_blocks[current_block_type_index].d();
			if (detaching && div1_transition) div1_transition.end();
		}
	};
}

// (1755:16) {#each quest.rewards as reward }
function accordion_index_svelte_create_each_block(ctx) {
	let div;
	let img;
	let img_src_value;
	let t0;
	let p;
	let t1_value = /*reward*/ ctx[6].title + "";
	let t1;
	let t2;

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(img, "class", "space-event-quests__items-block-reward-items-img svelte-1gpoekb");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/${/*reward*/ ctx[6].icon}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "Reward");
			attr(p, "class", "space-event-quests__items-block-reward-items-title svelte-1gpoekb");
			attr(div, "class", "space-event-quests__items-block-reward-items svelte-1gpoekb");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
			append(div, t0);
			append(div, p);
			append(p, t1);
			append(div, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*quest*/ 1 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/${/*reward*/ ctx[6].icon}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*quest*/ 1 && t1_value !== (t1_value = /*reward*/ ctx[6].title + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1782:12) {:else}
function accordion_index_svelte_create_else_block(ctx) {
	let div;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="space-event-quests__items-block-reward-btn-key space-event-quests__items-block-reward-btn-key--rewardReceived svelte-1gpoekb">Получить награду</p>`;
			attr(div, "class", "space-event-quests__items-block-reward-btn space-event-quests__items-block-reward-btn--rewardReceived svelte-1gpoekb");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = listen(div, "click", /*receiveReward*/ ctx[4]);
				mounted = true;
			}
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (1776:85) 
function accordion_index_svelte_create_if_block_2(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="space-event-quests__items-block-reward-btn-key space-event-quests__items-block-reward-btn-key--completed svelte-1gpoekb">Получено</p>`;
			attr(div, "class", "space-event-quests__items-block-reward-btn space-event-quests__items-block-reward-btn--completed svelte-1gpoekb");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1767:12) {#if (quest.progress !== quest.maxProgress) && !quest.rewardReceived}
function accordion_index_svelte_create_if_block_1(ctx) {
	let div;
	let p;
	let div_style_value;
	let div_transition;
	let current;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			p = internal_element("p");
			p.textContent = "Отследить по GPS";
			attr(p, "class", "space-event-quests__items-block-reward-btn-key svelte-1gpoekb");
			attr(div, "class", "space-event-quests__items-block-reward-btn svelte-1gpoekb");
			attr(div, "style", div_style_value = `display: ${/*quest*/ ctx[0].hasLocation ? 'none' : ''}`);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p);
			current = true;

			if (!mounted) {
				dispose = listen(div, "click", /*drawLocation*/ ctx[3]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (!current || dirty & /*quest*/ 1 && div_style_value !== (div_style_value = `display: ${/*quest*/ ctx[0].hasLocation ? 'none' : ''}`)) {
				attr(div, "style", div_style_value);
			}
		},
		i(local) {
			if (current) return;

			if (local) {
				add_render_callback(() => {
					if (!div_transition) div_transition = create_bidirectional_transition(div, slide, {}, true);
					div_transition.run(1);
				});
			}

			current = true;
		},
		o(local) {
			if (local) {
				if (!div_transition) div_transition = create_bidirectional_transition(div, slide, {}, false);
				div_transition.run(0);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (detaching && div_transition) div_transition.end();
			mounted = false;
			dispose();
		}
	};
}

function accordion_index_svelte_create_fragment(ctx) {
	let div3;
	let div2;
	let div1;
	let div0;
	let img;
	let img_src_value;
	let t0;
	let p;
	let t1_value = /*quest*/ ctx[0].title + "";
	let t1;
	let t2;
	let t3;
	let t4;
	let mounted;
	let dispose;
	let if_block0 = /*accordionOpened*/ ctx[1] && accordion_index_svelte_create_if_block_5(ctx);

	function select_block_type(ctx, dirty) {
		if (/*quest*/ ctx[0].progress !== /*quest*/ ctx[0].maxProgress && !/*quest*/ ctx[0].rewardReceived) return accordion_index_svelte_create_if_block_3;
		if (/*quest*/ ctx[0].progress === /*quest*/ ctx[0].maxProgress && /*quest*/ ctx[0].rewardReceived) return accordion_index_svelte_create_if_block_4;
		return index_svelte_create_else_block_1;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block1 = current_block_type(ctx);
	let if_block2 = /*accordionOpened*/ ctx[1] && accordion_index_svelte_create_if_block(ctx);

	return {
		c() {
			div3 = internal_element("div");
			div2 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			if (if_block0) if_block0.c();
			t3 = space();
			if_block1.c();
			t4 = space();
			if (if_block2) if_block2.c();
			attr(img, "class", "space-event-quests__items-block-arrow svelte-1gpoekb");
			if (!src_url_equal(img.src, img_src_value = arrow_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "arrow");
			toggle_class(img, "space-event-quests__items-block-arrow--opened", /*accordionOpened*/ ctx[1]);
			attr(p, "class", "space-event-quests__items-block-title svelte-1gpoekb");
			attr(div0, "class", "space-event-quests__items-block-title-wrapper svelte-1gpoekb");
			attr(div1, "class", "space-event-quests__items-block-text svelte-1gpoekb");
			attr(div2, "class", "space-event-quests__items-block-upper svelte-1gpoekb");
			toggle_class(div2, "space-event-quests__items-block-upper--opened", /*accordionOpened*/ ctx[1]);
			attr(div3, "class", "space-event-quests__items-block svelte-1gpoekb");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div2);
			append(div2, div1);
			append(div1, div0);
			append(div0, img);
			append(div0, t0);
			append(div0, p);
			append(p, t1);
			append(div1, t2);
			if (if_block0) if_block0.m(div1, null);
			append(div2, t3);
			if_block1.m(div2, null);
			append(div3, t4);
			if (if_block2) if_block2.m(div3, null);

			if (!mounted) {
				dispose = listen(div2, "click", /*handleClick*/ ctx[2]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*accordionOpened*/ 2) {
				toggle_class(img, "space-event-quests__items-block-arrow--opened", /*accordionOpened*/ ctx[1]);
			}

			if (dirty & /*quest*/ 1 && t1_value !== (t1_value = /*quest*/ ctx[0].title + "")) set_data(t1, t1_value);

			if (/*accordionOpened*/ ctx[1]) {
				if (if_block0) {
					if_block0.p(ctx, dirty);

					if (dirty & /*accordionOpened*/ 2) {
						transition_in(if_block0, 1);
					}
				} else {
					if_block0 = accordion_index_svelte_create_if_block_5(ctx);
					if_block0.c();
					transition_in(if_block0, 1);
					if_block0.m(div1, null);
				}
			} else if (if_block0) {
				group_outros();

				transition_out(if_block0, 1, 1, () => {
					if_block0 = null;
				});

				check_outros();
			}

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block1) {
				if_block1.p(ctx, dirty);
			} else {
				if_block1.d(1);
				if_block1 = current_block_type(ctx);

				if (if_block1) {
					if_block1.c();
					if_block1.m(div2, null);
				}
			}

			if (dirty & /*accordionOpened*/ 2) {
				toggle_class(div2, "space-event-quests__items-block-upper--opened", /*accordionOpened*/ ctx[1]);
			}

			if (/*accordionOpened*/ ctx[1]) {
				if (if_block2) {
					if_block2.p(ctx, dirty);

					if (dirty & /*accordionOpened*/ 2) {
						transition_in(if_block2, 1);
					}
				} else {
					if_block2 = accordion_index_svelte_create_if_block(ctx);
					if_block2.c();
					transition_in(if_block2, 1);
					if_block2.m(div3, null);
				}
			} else if (if_block2) {
				group_outros();

				transition_out(if_block2, 1, 1, () => {
					if_block2 = null;
				});

				check_outros();
			}
		},
		i(local) {
			transition_in(if_block0);
			transition_in(if_block2);
		},
		o(local) {
			transition_out(if_block0);
			transition_out(if_block2);
		},
		d(detaching) {
			if (detaching) detach(div3);
			if (if_block0) if_block0.d();
			if_block1.d();
			if (if_block2) if_block2.d();
			mounted = false;
			dispose();
		}
	};
}

function accordion_index_svelte_instance($$self, $$props, $$invalidate) {
	let { quest } = $$props;
	let { categoryId } = $$props;
	let accordionOpened = false;

	const handleClick = () => {
		$$invalidate(1, accordionOpened = !accordionOpened);
	};

	const drawLocation = () => {
		sendClientMessage('spaceEvent.quest.drawLocation', quest.id, categoryId);
	};

	const receiveReward = () => {
		sendClientMessage('spaceEvent.quest.receiveReward', quest.id, categoryId);
	};

	$$self.$$set = $$props => {
		if ('quest' in $$props) $$invalidate(0, quest = $$props.quest);
		if ('categoryId' in $$props) $$invalidate(5, categoryId = $$props.categoryId);
	};

	return [quest, accordionOpened, handleClick, drawLocation, receiveReward, categoryId];
}

class Accordion extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, accordion_index_svelte_instance, accordion_index_svelte_create_fragment, safe_not_equal, { quest: 0, categoryId: 5 }, accordion_index_svelte_add_css);
	}
}

/* harmony default export */ const accordion_index_svelte = (Accordion);
;// CONCATENATED MODULE: ./src/views/barbie-event/quests/index.svelte
/* src\views\barbie-event\quests\index.svelte generated by Svelte v3.49.0 */











function quests_index_svelte_add_css(target) {
	append_styles(target, "svelte-1km5s0f", "@keyframes svelte-1km5s0f-blinking{50%{opacity:0}}@keyframes svelte-1km5s0f-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1km5s0f-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1km5s0f-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1km5s0f-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1km5s0f-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1km5s0f-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1km5s0f-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1km5s0f-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1km5s0f-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1km5s0f-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1km5s0f-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1km5s0f-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1km5s0f-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1km5s0f-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.space-event-quests.svelte-1km5s0f{display:flex;align-items:center;flex-direction:column;width:100vw;height:100vh}.space-event-quests__title.svelte-1km5s0f{position:absolute;z-index:1;font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.01875 * 100vw + 0px);top:calc(0.0447916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__title.svelte-1km5s0f{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__title.svelte-1km5s0f{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__title.svelte-1km5s0f{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__title.svelte-1km5s0f{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__title.svelte-1km5s0f{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__title.svelte-1km5s0f{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__title.svelte-1km5s0f{font-size:calc(0.020625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__title.svelte-1km5s0f{top:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__title.svelte-1km5s0f{top:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__title.svelte-1km5s0f{top:calc(0.0344895833 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__title.svelte-1km5s0f{top:calc(0.0492708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__title.svelte-1km5s0f{top:calc(0.0313541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__title.svelte-1km5s0f{top:calc(0.0403125 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__title.svelte-1km5s0f{top:calc(0.0492708333 * 100vw + 0px)}}.space-event-quests__quests-img.svelte-1km5s0f{position:absolute;left:0;bottom:0;height:calc(0.3484375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__quests-img.svelte-1km5s0f{height:calc(0.3484375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__quests-img.svelte-1km5s0f{height:calc(0.3484375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__quests-img.svelte-1km5s0f{height:calc(0.268296875 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__quests-img.svelte-1km5s0f{height:calc(0.38328125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__quests-img.svelte-1km5s0f{height:calc(0.24390625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__quests-img.svelte-1km5s0f{height:calc(0.31359375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__quests-img.svelte-1km5s0f{height:calc(0.38328125 * 100vw + 0px)}}.space-event-quests__logo.svelte-1km5s0f{position:absolute;display:flex;align-items:center;top:calc(0.0151041667 * 100vw + 0px);left:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__logo.svelte-1km5s0f{top:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__logo.svelte-1km5s0f{top:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__logo.svelte-1km5s0f{top:calc(0.0116302083 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__logo.svelte-1km5s0f{top:calc(0.0166145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__logo.svelte-1km5s0f{top:calc(0.0105729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__logo.svelte-1km5s0f{top:calc(0.01359375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__logo.svelte-1km5s0f{top:calc(0.0166145833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__logo.svelte-1km5s0f{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__logo.svelte-1km5s0f{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__logo.svelte-1km5s0f{left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__logo.svelte-1km5s0f{left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__logo.svelte-1km5s0f{left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__logo.svelte-1km5s0f{left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__logo.svelte-1km5s0f{left:calc(0.0286458333 * 100vw + 0px)}}.space-event-quests__logo-icon.svelte-1km5s0f{height:calc(0.0677083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__logo-icon.svelte-1km5s0f{height:calc(0.0677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__logo-icon.svelte-1km5s0f{height:calc(0.0677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__logo-icon.svelte-1km5s0f{height:calc(0.0521354167 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__logo-icon.svelte-1km5s0f{height:calc(0.0744791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__logo-icon.svelte-1km5s0f{height:calc(0.0473958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__logo-icon.svelte-1km5s0f{height:calc(0.0609375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__logo-icon.svelte-1km5s0f{height:calc(0.0744791667 * 100vw + 0px)}}.space-event-quests__category.svelte-1km5s0f{position:absolute;top:calc(0.1302083333 * 100vw + 0px);left:calc(0.1484375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__category.svelte-1km5s0f{top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__category.svelte-1km5s0f{top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__category.svelte-1km5s0f{top:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__category.svelte-1km5s0f{top:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__category.svelte-1km5s0f{top:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__category.svelte-1km5s0f{top:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__category.svelte-1km5s0f{top:calc(0.1432291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__category.svelte-1km5s0f{left:calc(0.1484375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__category.svelte-1km5s0f{left:calc(0.1484375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__category.svelte-1km5s0f{left:calc(0.114296875 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__category.svelte-1km5s0f{left:calc(0.16328125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__category.svelte-1km5s0f{left:calc(0.10390625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__category.svelte-1km5s0f{left:calc(0.13359375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__category.svelte-1km5s0f{left:calc(0.16328125 * 100vw + 0px)}}.space-event-quests__category-title.svelte-1km5s0f{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px);margin-bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__category-title.svelte-1km5s0f{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__category-title.svelte-1km5s0f{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__category-title.svelte-1km5s0f{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__category-title.svelte-1km5s0f{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__category-title.svelte-1km5s0f{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__category-title.svelte-1km5s0f{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__category-title.svelte-1km5s0f{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__category-title.svelte-1km5s0f{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__category-title.svelte-1km5s0f{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__category-title.svelte-1km5s0f{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__category-title.svelte-1km5s0f{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__category-title.svelte-1km5s0f{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__category-title.svelte-1km5s0f{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__category-title.svelte-1km5s0f{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.space-event-quests__categories-wrapper.svelte-1km5s0f{width:fit-content;overflow:auto;height:calc(0.378125 * 100vw + 0px);padding-right:calc(0.0130208333 * 100vw + 0px)}.space-event-quests__categories-wrapper.svelte-1km5s0f::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__categories-wrapper.svelte-1km5s0f::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__categories-wrapper.svelte-1km5s0f::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__categories-wrapper.svelte-1km5s0f::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__categories-wrapper.svelte-1km5s0f::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__categories-wrapper.svelte-1km5s0f::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__categories-wrapper.svelte-1km5s0f::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__categories-wrapper.svelte-1km5s0f::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__categories-wrapper.svelte-1km5s0f::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__categories-wrapper.svelte-1km5s0f::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__categories-wrapper.svelte-1km5s0f::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__categories-wrapper.svelte-1km5s0f::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__categories-wrapper.svelte-1km5s0f::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__categories-wrapper.svelte-1km5s0f::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__categories-wrapper.svelte-1km5s0f::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.space-event-quests__categories-wrapper.svelte-1km5s0f::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__categories-wrapper.svelte-1km5s0f::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__categories-wrapper.svelte-1km5s0f::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__categories-wrapper.svelte-1km5s0f::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__categories-wrapper.svelte-1km5s0f::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__categories-wrapper.svelte-1km5s0f::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__categories-wrapper.svelte-1km5s0f::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__categories-wrapper.svelte-1km5s0f::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.space-event-quests__categories-wrapper.svelte-1km5s0f::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__categories-wrapper.svelte-1km5s0f::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__categories-wrapper.svelte-1km5s0f::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__categories-wrapper.svelte-1km5s0f::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__categories-wrapper.svelte-1km5s0f::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__categories-wrapper.svelte-1km5s0f::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__categories-wrapper.svelte-1km5s0f::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__categories-wrapper.svelte-1km5s0f::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__categories-wrapper.svelte-1km5s0f{height:calc(0.378125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__categories-wrapper.svelte-1km5s0f{height:calc(0.378125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__categories-wrapper.svelte-1km5s0f{height:calc(0.29115625 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__categories-wrapper.svelte-1km5s0f{height:calc(0.4159375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__categories-wrapper.svelte-1km5s0f{height:calc(0.2646875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__categories-wrapper.svelte-1km5s0f{height:calc(0.3403125 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__categories-wrapper.svelte-1km5s0f{height:calc(0.4159375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__categories-wrapper.svelte-1km5s0f{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__categories-wrapper.svelte-1km5s0f{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__categories-wrapper.svelte-1km5s0f{padding-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__categories-wrapper.svelte-1km5s0f{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__categories-wrapper.svelte-1km5s0f{padding-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__categories-wrapper.svelte-1km5s0f{padding-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__categories-wrapper.svelte-1km5s0f{padding-right:calc(0.0143229167 * 100vw + 0px)}}.space-event-quests__categories-wrapper.svelte-1km5s0f::-webkit-scrollbar{width:0px}.space-event-quests__category-quest.svelte-1km5s0f{display:flex;align-items:center;justify-content:space-between;cursor:pointer;background:#FFFFFF;transition:background-color 0.2s linear;position:relative;overflow:hidden;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.3125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__category-quest.svelte-1km5s0f{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__category-quest.svelte-1km5s0f{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__category-quest.svelte-1km5s0f{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__category-quest.svelte-1km5s0f{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__category-quest.svelte-1km5s0f{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__category-quest.svelte-1km5s0f{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__category-quest.svelte-1km5s0f{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__category-quest.svelte-1km5s0f{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__category-quest.svelte-1km5s0f{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__category-quest.svelte-1km5s0f{width:calc(0.240625 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__category-quest.svelte-1km5s0f{width:calc(0.34375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__category-quest.svelte-1km5s0f{width:calc(0.21875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__category-quest.svelte-1km5s0f{width:calc(0.28125 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__category-quest.svelte-1km5s0f{width:calc(0.34375 * 100vw + 0px)}}.space-event-quests__category-quest.svelte-1km5s0f:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__category-quest.svelte-1km5s0f:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__category-quest.svelte-1km5s0f:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__category-quest.svelte-1km5s0f:not(:first-child){margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__category-quest.svelte-1km5s0f:not(:first-child){margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__category-quest.svelte-1km5s0f:not(:first-child){margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__category-quest.svelte-1km5s0f:not(:first-child){margin-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__category-quest.svelte-1km5s0f:not(:first-child){margin-top:calc(0.0114583333 * 100vw + 0px)}}.space-event-quests__category-quest.svelte-1km5s0f::after{content:\"\";display:block;position:absolute;bottom:0;right:0;background-color:#F95D93;opacity:0;transition:opacity 0.2s linear;height:100%;pointer-events:none;width:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__category-quest.svelte-1km5s0f::after{width:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__category-quest.svelte-1km5s0f::after{width:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__category-quest.svelte-1km5s0f::after{width:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__category-quest.svelte-1km5s0f::after{width:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__category-quest.svelte-1km5s0f::after{width:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__category-quest.svelte-1km5s0f::after{width:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__category-quest.svelte-1km5s0f::after{width:calc(0.0028645833 * 100vw + 0px)}}.space-event-quests__category-quest.svelte-1km5s0f:hover::after,.space-event-quests__category-quest--selected.svelte-1km5s0f::after{opacity:1}.space-event-quests__category-quest-body.svelte-1km5s0f{padding-left:calc(0.0130208333 * 100vw + 0px);padding-top:calc(0.0114583333 * 100vw + 0px);padding-bottom:calc(0.0109375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__category-quest-body.svelte-1km5s0f{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__category-quest-body.svelte-1km5s0f{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__category-quest-body.svelte-1km5s0f{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__category-quest-body.svelte-1km5s0f{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__category-quest-body.svelte-1km5s0f{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__category-quest-body.svelte-1km5s0f{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__category-quest-body.svelte-1km5s0f{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__category-quest-body.svelte-1km5s0f{padding-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__category-quest-body.svelte-1km5s0f{padding-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__category-quest-body.svelte-1km5s0f{padding-top:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__category-quest-body.svelte-1km5s0f{padding-top:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__category-quest-body.svelte-1km5s0f{padding-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__category-quest-body.svelte-1km5s0f{padding-top:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__category-quest-body.svelte-1km5s0f{padding-top:calc(0.0126041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__category-quest-body.svelte-1km5s0f{padding-bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__category-quest-body.svelte-1km5s0f{padding-bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__category-quest-body.svelte-1km5s0f{padding-bottom:calc(0.008421875 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__category-quest-body.svelte-1km5s0f{padding-bottom:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__category-quest-body.svelte-1km5s0f{padding-bottom:calc(0.00765625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__category-quest-body.svelte-1km5s0f{padding-bottom:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__category-quest-body.svelte-1km5s0f{padding-bottom:calc(0.01203125 * 100vw + 0px)}}.space-event-quests__category-quest-title.svelte-1km5s0f{font-family:\"GothamPro-Medium\";color:#505050;font-size:calc(0.009375 * 100vw + 0px);margin-bottom:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__category-quest-title.svelte-1km5s0f{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__category-quest-title.svelte-1km5s0f{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__category-quest-title.svelte-1km5s0f{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__category-quest-title.svelte-1km5s0f{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__category-quest-title.svelte-1km5s0f{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__category-quest-title.svelte-1km5s0f{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__category-quest-title.svelte-1km5s0f{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__category-quest-title.svelte-1km5s0f{margin-bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__category-quest-title.svelte-1km5s0f{margin-bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__category-quest-title.svelte-1km5s0f{margin-bottom:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__category-quest-title.svelte-1km5s0f{margin-bottom:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__category-quest-title.svelte-1km5s0f{margin-bottom:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__category-quest-title.svelte-1km5s0f{margin-bottom:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__category-quest-title.svelte-1km5s0f{margin-bottom:calc(0.0028645833 * 100vw + 0px)}}.space-event-quests__category-quest-descr.svelte-1km5s0f{font-family:\"GothamPro\";color:#505050;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__category-quest-descr.svelte-1km5s0f{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__category-quest-descr.svelte-1km5s0f{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__category-quest-descr.svelte-1km5s0f{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__category-quest-descr.svelte-1km5s0f{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__category-quest-descr.svelte-1km5s0f{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__category-quest-descr.svelte-1km5s0f{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__category-quest-descr.svelte-1km5s0f{font-size:calc(0.0057291667 * 100vw + 0px)}}.space-event-quests__category-quest-progress.svelte-1km5s0f{display:flex;flex-direction:column;width:calc(0.046875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__category-quest-progress.svelte-1km5s0f{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__category-quest-progress.svelte-1km5s0f{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__category-quest-progress.svelte-1km5s0f{width:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__category-quest-progress.svelte-1km5s0f{width:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__category-quest-progress.svelte-1km5s0f{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__category-quest-progress.svelte-1km5s0f{width:calc(0.0421875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__category-quest-progress.svelte-1km5s0f{width:calc(0.0515625 * 100vw + 0px)}}.space-event-quests__category-quest-progress--completed.svelte-1km5s0f{display:flex;justify-content:center;align-items:center;background:#83BD6F;border-radius:calc(0.0130208333 * 100vw + 0px);width:calc(0.0442708333 * 100vw + 0px);height:calc(0.0130208333 * 100vw + 0px);margin-right:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__category-quest-progress--completed.svelte-1km5s0f{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__category-quest-progress--completed.svelte-1km5s0f{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__category-quest-progress--completed.svelte-1km5s0f{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__category-quest-progress--completed.svelte-1km5s0f{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__category-quest-progress--completed.svelte-1km5s0f{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__category-quest-progress--completed.svelte-1km5s0f{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__category-quest-progress--completed.svelte-1km5s0f{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__category-quest-progress--completed.svelte-1km5s0f{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__category-quest-progress--completed.svelte-1km5s0f{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__category-quest-progress--completed.svelte-1km5s0f{width:calc(0.0340885417 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__category-quest-progress--completed.svelte-1km5s0f{width:calc(0.0486979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__category-quest-progress--completed.svelte-1km5s0f{width:calc(0.0309895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__category-quest-progress--completed.svelte-1km5s0f{width:calc(0.03984375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__category-quest-progress--completed.svelte-1km5s0f{width:calc(0.0486979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__category-quest-progress--completed.svelte-1km5s0f{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__category-quest-progress--completed.svelte-1km5s0f{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__category-quest-progress--completed.svelte-1km5s0f{height:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__category-quest-progress--completed.svelte-1km5s0f{height:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__category-quest-progress--completed.svelte-1km5s0f{height:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__category-quest-progress--completed.svelte-1km5s0f{height:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__category-quest-progress--completed.svelte-1km5s0f{height:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__category-quest-progress--completed.svelte-1km5s0f{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__category-quest-progress--completed.svelte-1km5s0f{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__category-quest-progress--completed.svelte-1km5s0f{margin-right:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__category-quest-progress--completed.svelte-1km5s0f{margin-right:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__category-quest-progress--completed.svelte-1km5s0f{margin-right:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__category-quest-progress--completed.svelte-1km5s0f{margin-right:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__category-quest-progress--completed.svelte-1km5s0f{margin-right:calc(0.0091666667 * 100vw + 0px)}}.space-event-quests__category-exp.svelte-1km5s0f{font-family:\"GothamPro-Medium\";color:#505050;font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__category-exp.svelte-1km5s0f{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__category-exp.svelte-1km5s0f{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__category-exp.svelte-1km5s0f{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__category-exp.svelte-1km5s0f{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__category-exp.svelte-1km5s0f{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__category-exp.svelte-1km5s0f{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__category-exp.svelte-1km5s0f{font-size:calc(0.0114583333 * 100vw + 0px)}}.space-event-quests__category-exp--completed.svelte-1km5s0f{font-family:\"GothamPro-Light\";color:#FFFFFF;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__category-exp--completed.svelte-1km5s0f{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__category-exp--completed.svelte-1km5s0f{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__category-exp--completed.svelte-1km5s0f{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__category-exp--completed.svelte-1km5s0f{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__category-exp--completed.svelte-1km5s0f{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__category-exp--completed.svelte-1km5s0f{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__category-exp--completed.svelte-1km5s0f{font-size:calc(0.0057291667 * 100vw + 0px)}}.space-event-quests__category-exp-descr.svelte-1km5s0f{font-family:\"GothamPro\";color:#505050;font-size:calc(0.00625 * 100vw + 0px);margin-top:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__category-exp-descr.svelte-1km5s0f{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__category-exp-descr.svelte-1km5s0f{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__category-exp-descr.svelte-1km5s0f{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__category-exp-descr.svelte-1km5s0f{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__category-exp-descr.svelte-1km5s0f{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__category-exp-descr.svelte-1km5s0f{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__category-exp-descr.svelte-1km5s0f{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__category-exp-descr.svelte-1km5s0f{margin-top:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__category-exp-descr.svelte-1km5s0f{margin-top:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__category-exp-descr.svelte-1km5s0f{margin-top:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__category-exp-descr.svelte-1km5s0f{margin-top:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__category-exp-descr.svelte-1km5s0f{margin-top:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__category-exp-descr.svelte-1km5s0f{margin-top:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__category-exp-descr.svelte-1km5s0f{margin-top:calc(0.0028645833 * 100vw + 0px)}}.space-event-quests__items.svelte-1km5s0f{position:absolute;top:calc(0.1302083333 * 100vw + 0px);right:calc(0.1328125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items.svelte-1km5s0f{top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items.svelte-1km5s0f{top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items.svelte-1km5s0f{top:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items.svelte-1km5s0f{top:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items.svelte-1km5s0f{top:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items.svelte-1km5s0f{top:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items.svelte-1km5s0f{top:calc(0.1432291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items.svelte-1km5s0f{right:calc(0.1328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items.svelte-1km5s0f{right:calc(0.1328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items.svelte-1km5s0f{right:calc(0.102265625 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items.svelte-1km5s0f{right:calc(0.14609375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items.svelte-1km5s0f{right:calc(0.09296875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items.svelte-1km5s0f{right:calc(0.11953125 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items.svelte-1km5s0f{right:calc(0.14609375 * 100vw + 0px)}}.space-event-quests__items-title.svelte-1km5s0f{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px);margin-bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-title.svelte-1km5s0f{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-title.svelte-1km5s0f{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-title.svelte-1km5s0f{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-title.svelte-1km5s0f{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-title.svelte-1km5s0f{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-title.svelte-1km5s0f{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-title.svelte-1km5s0f{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-title.svelte-1km5s0f{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-title.svelte-1km5s0f{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-title.svelte-1km5s0f{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-title.svelte-1km5s0f{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-title.svelte-1km5s0f{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-title.svelte-1km5s0f{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-title.svelte-1km5s0f{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.space-event-quests__items-wrapper.svelte-1km5s0f{overflow:auto;height:calc(0.378125 * 100vw + 0px);padding-right:calc(0.0130208333 * 100vw + 0px)}.space-event-quests__items-wrapper.svelte-1km5s0f::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-wrapper.svelte-1km5s0f::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-wrapper.svelte-1km5s0f::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-wrapper.svelte-1km5s0f::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-wrapper.svelte-1km5s0f::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-wrapper.svelte-1km5s0f::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-wrapper.svelte-1km5s0f::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-wrapper.svelte-1km5s0f::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-wrapper.svelte-1km5s0f::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-wrapper.svelte-1km5s0f::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-wrapper.svelte-1km5s0f::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-wrapper.svelte-1km5s0f::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-wrapper.svelte-1km5s0f::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-wrapper.svelte-1km5s0f::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-wrapper.svelte-1km5s0f::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.space-event-quests__items-wrapper.svelte-1km5s0f::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-wrapper.svelte-1km5s0f::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-wrapper.svelte-1km5s0f::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-wrapper.svelte-1km5s0f::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-wrapper.svelte-1km5s0f::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-wrapper.svelte-1km5s0f::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-wrapper.svelte-1km5s0f::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-wrapper.svelte-1km5s0f::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.space-event-quests__items-wrapper.svelte-1km5s0f::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-wrapper.svelte-1km5s0f::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-wrapper.svelte-1km5s0f::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-wrapper.svelte-1km5s0f::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-wrapper.svelte-1km5s0f::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-wrapper.svelte-1km5s0f::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-wrapper.svelte-1km5s0f::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-wrapper.svelte-1km5s0f::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-wrapper.svelte-1km5s0f{height:calc(0.378125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-wrapper.svelte-1km5s0f{height:calc(0.378125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-wrapper.svelte-1km5s0f{height:calc(0.29115625 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-wrapper.svelte-1km5s0f{height:calc(0.4159375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-wrapper.svelte-1km5s0f{height:calc(0.2646875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-wrapper.svelte-1km5s0f{height:calc(0.3403125 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-wrapper.svelte-1km5s0f{height:calc(0.4159375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.space-event-quests__items-wrapper.svelte-1km5s0f{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.space-event-quests__items-wrapper.svelte-1km5s0f{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.space-event-quests__items-wrapper.svelte-1km5s0f{padding-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.space-event-quests__items-wrapper.svelte-1km5s0f{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.space-event-quests__items-wrapper.svelte-1km5s0f{padding-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.space-event-quests__items-wrapper.svelte-1km5s0f{padding-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.space-event-quests__items-wrapper.svelte-1km5s0f{padding-right:calc(0.0143229167 * 100vw + 0px)}}.space-event-quests__items-wrapper.svelte-1km5s0f::-webkit-scrollbar{width:0px}");
}

function quests_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[15] = list[i];
	return child_ctx;
}

function quests_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[18] = list[i];
	return child_ctx;
}

// (2003:20) {:else}
function quests_index_svelte_create_else_block(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="space-event-quests__category-exp--completed svelte-1km5s0f">Выполнено</p>`;
			attr(div, "class", "space-event-quests__category-quest-progress--completed svelte-1km5s0f");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1992:20) {#if category.progress !== category.maxProgress}
function quests_index_svelte_create_if_block_1(ctx) {
	let div;
	let p0;
	let t0_value = /*category*/ ctx[18].progress + "";
	let t0;
	let t1;
	let t2_value = /*category*/ ctx[18].maxProgress + "";
	let t2;
	let t3;
	let p1;

	return {
		c() {
			div = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = internal_text("\r\n                                /\r\n                                ");
			t2 = internal_text(t2_value);
			t3 = space();
			p1 = internal_element("p");
			p1.textContent = "Прогресс";
			attr(p0, "class", "space-event-quests__category-exp svelte-1km5s0f");
			attr(p1, "class", "space-event-quests__category-exp-descr svelte-1km5s0f");
			attr(div, "class", "space-event-quests__category-quest-progress svelte-1km5s0f");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p0);
			append(p0, t0);
			append(p0, t1);
			append(p0, t2);
			append(div, t3);
			append(div, p1);
		},
		p(ctx, dirty) {
			if (dirty & /*categoriesTabs*/ 2 && t0_value !== (t0_value = /*category*/ ctx[18].progress + "")) set_data(t0, t0_value);
			if (dirty & /*categoriesTabs*/ 2 && t2_value !== (t2_value = /*category*/ ctx[18].maxProgress + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1979:12) {#each categoriesTabs as category}
function quests_index_svelte_create_each_block_1(ctx) {
	let div1;
	let div0;
	let p0;
	let t0_value = /*category*/ ctx[18].title + "";
	let t0;
	let t1;
	let p1;
	let t2_value = /*category*/ ctx[18].description + "";
	let t2;
	let t3;
	let t4;
	let mounted;
	let dispose;

	function select_block_type(ctx, dirty) {
		if (/*category*/ ctx[18].progress !== /*category*/ ctx[18].maxProgress) return quests_index_svelte_create_if_block_1;
		return quests_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block = current_block_type(ctx);

	function click_handler() {
		return /*click_handler*/ ctx[5](/*category*/ ctx[18]);
	}

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = space();
			if_block.c();
			t4 = space();
			attr(p0, "class", "space-event-quests__category-quest-title svelte-1km5s0f");
			attr(p1, "class", "space-event-quests__category-quest-descr svelte-1km5s0f");
			attr(div0, "class", "space-event-quests__category-quest-body svelte-1km5s0f");
			attr(div1, "class", "space-event-quests__category-quest svelte-1km5s0f");
			toggle_class(div1, "space-event-quests__category-quest--selected", /*category*/ ctx[18].id === /*selectedTabId*/ ctx[2]);
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, p0);
			append(p0, t0);
			append(div0, t1);
			append(div0, p1);
			append(p1, t2);
			append(div1, t3);
			if_block.m(div1, null);
			append(div1, t4);

			if (!mounted) {
				dispose = listen(div1, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if (dirty & /*categoriesTabs*/ 2 && t0_value !== (t0_value = /*category*/ ctx[18].title + "")) set_data(t0, t0_value);
			if (dirty & /*categoriesTabs*/ 2 && t2_value !== (t2_value = /*category*/ ctx[18].description + "")) set_data(t2, t2_value);

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div1, t4);
				}
			}

			if (dirty & /*categoriesTabs, selectedTabId*/ 6) {
				toggle_class(div1, "space-event-quests__category-quest--selected", /*category*/ ctx[18].id === /*selectedTabId*/ ctx[2]);
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			if_block.d();
			mounted = false;
			dispose();
		}
	};
}

// (2015:8) {#if !isEmpty(categoriesQuests[selectedTabId])}
function quests_index_svelte_create_if_block(ctx) {
	let p;
	let t1;
	let div;
	let previous_key = /*selectedTabId*/ ctx[2];
	let current;
	let key_block = create_key_block(ctx);

	return {
		c() {
			p = internal_element("p");
			p.textContent = "Задания";
			t1 = space();
			div = internal_element("div");
			key_block.c();
			attr(p, "class", "space-event-quests__items-title svelte-1km5s0f");
			attr(div, "class", "space-event-quests__items-wrapper svelte-1km5s0f");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			insert(target, t1, anchor);
			insert(target, div, anchor);
			key_block.m(div, null);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty & /*selectedTabId*/ 4 && safe_not_equal(previous_key, previous_key = /*selectedTabId*/ ctx[2])) {
				group_outros();
				transition_out(key_block, 1, 1, internal_noop);
				check_outros();
				key_block = create_key_block(ctx);
				key_block.c();
				transition_in(key_block, 1);
				key_block.m(div, null);
			} else {
				key_block.p(ctx, dirty);
			}
		},
		i(local) {
			if (current) return;
			transition_in(key_block);
			current = true;
		},
		o(local) {
			transition_out(key_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(p);
			if (detaching) detach(t1);
			if (detaching) detach(div);
			key_block.d(detaching);
		}
	};
}

// (2021:20) {#each categoriesQuests[selectedTabId] as quest}
function quests_index_svelte_create_each_block(ctx) {
	let accordion;
	let current;

	accordion = new accordion_index_svelte({
			props: {
				quest: /*quest*/ ctx[15],
				categoryId: /*selectedTabId*/ ctx[2]
			}
		});

	return {
		c() {
			create_component(accordion.$$.fragment);
		},
		m(target, anchor) {
			mount_component(accordion, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const accordion_changes = {};
			if (dirty & /*categoriesQuests, selectedTabId*/ 5) accordion_changes.quest = /*quest*/ ctx[15];
			if (dirty & /*selectedTabId*/ 4) accordion_changes.categoryId = /*selectedTabId*/ ctx[2];
			accordion.$set(accordion_changes);
		},
		i(local) {
			if (current) return;
			transition_in(accordion.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(accordion.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(accordion, detaching);
		}
	};
}

// (2020:16) {#key selectedTabId}
function create_key_block(ctx) {
	let each_1_anchor;
	let current;
	let each_value = /*categoriesQuests*/ ctx[0][/*selectedTabId*/ ctx[2]];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = quests_index_svelte_create_each_block(quests_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty & /*categoriesQuests, selectedTabId*/ 5) {
				each_value = /*categoriesQuests*/ ctx[0][/*selectedTabId*/ ctx[2]];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = quests_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = quests_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			destroy_each(each_blocks, detaching);
			if (detaching) detach(each_1_anchor);
		}
	};
}

function quests_index_svelte_create_fragment(ctx) {
	let div4;
	let p0;
	let t1;
	let img0;
	let img0_src_value;
	let t2;
	let barbieeventbackground;
	let t3;
	let exitbutton;
	let t4;
	let div0;
	let img1;
	let img1_src_value;
	let t5;
	let div2;
	let p1;
	let t7;
	let div1;
	let t8;
	let div3;
	let show_if = !(0,lodash.isEmpty)(/*categoriesQuests*/ ctx[0][/*selectedTabId*/ ctx[2]]);
	let current;
	barbieeventbackground = new background_index_svelte({});

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[4],
				title: "Вернутся назад",
				fixedPosition: true
			}
		});

	let each_value_1 = /*categoriesTabs*/ ctx[1];
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = quests_index_svelte_create_each_block_1(quests_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	let if_block = show_if && quests_index_svelte_create_if_block(ctx);

	return {
		c() {
			div4 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Список заданий";
			t1 = space();
			img0 = internal_element("img");
			t2 = space();
			create_component(barbieeventbackground.$$.fragment);
			t3 = space();
			create_component(exitbutton.$$.fragment);
			t4 = space();
			div0 = internal_element("div");
			img1 = internal_element("img");
			t5 = space();
			div2 = internal_element("div");
			p1 = internal_element("p");
			p1.textContent = "Этапы";
			t7 = space();
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t8 = space();
			div3 = internal_element("div");
			if (if_block) if_block.c();
			attr(p0, "class", "space-event-quests__title svelte-1km5s0f");
			attr(img0, "class", "space-event-quests__quests-img svelte-1km5s0f");
			if (!src_url_equal(img0.src, img0_src_value = quests_img_barbie_event_quests_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "background");
			attr(img1, "class", "space-event-quests__logo-icon svelte-1km5s0f");
			if (!src_url_equal(img1.src, img1_src_value = barbie_event_logo_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "logo");
			attr(div0, "class", "space-event-quests__logo svelte-1km5s0f");
			attr(p1, "class", "space-event-quests__category-title svelte-1km5s0f");
			attr(div1, "class", "space-event-quests__categories-wrapper svelte-1km5s0f");
			attr(div2, "class", "space-event-quests__category svelte-1km5s0f");
			attr(div3, "class", "space-event-quests__items svelte-1km5s0f");
			attr(div4, "class", "space-event-quests svelte-1km5s0f");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, p0);
			append(div4, t1);
			append(div4, img0);
			append(div4, t2);
			mount_component(barbieeventbackground, div4, null);
			append(div4, t3);
			mount_component(exitbutton, div4, null);
			append(div4, t4);
			append(div4, div0);
			append(div0, img1);
			append(div4, t5);
			append(div4, div2);
			append(div2, p1);
			append(div2, t7);
			append(div2, div1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}

			append(div4, t8);
			append(div4, div3);
			if (if_block) if_block.m(div3, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*categoriesTabs, selectedTabId, selectCategory*/ 14) {
				each_value_1 = /*categoriesTabs*/ ctx[1];
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = quests_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = quests_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div1, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}

			if (dirty & /*categoriesQuests, selectedTabId*/ 5) show_if = !(0,lodash.isEmpty)(/*categoriesQuests*/ ctx[0][/*selectedTabId*/ ctx[2]]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*categoriesQuests, selectedTabId*/ 5) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = quests_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(div3, null);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(barbieeventbackground.$$.fragment, local);
			transition_in(exitbutton.$$.fragment, local);
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(barbieeventbackground.$$.fragment, local);
			transition_out(exitbutton.$$.fragment, local);
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div4);
			destroy_component(barbieeventbackground);
			destroy_component(exitbutton);
			destroy_each(each_blocks, detaching);
			if (if_block) if_block.d();
		}
	};
}

function quests_index_svelte_instance($$self, $$props, $$invalidate) {
	let categoriesQuests = {};
	let categoriesTabs = [];
	let selectedTabId = null;

	const setCategoryQuests = (categoryId, quests) => {
		$$invalidate(0, categoriesQuests[categoryId] = quests, categoriesQuests);
	};

	const pushCategoryQuests = (categoryId, quests) => {
		$$invalidate(0, categoriesQuests[categoryId] = [...categoriesQuests[categoryId] || [], ...quests], categoriesQuests);
	};

	const selectCategory = tabId => {
		$$invalidate(2, selectedTabId = tabId);
	};

	const handleClose = () => {
		
	}; // exec close event

	const initQuests = categoriesQuestsDto => {
		$$invalidate(0, categoriesQuests = categoriesQuestsDto);
	};

	const initTabs = categoriesTabsDto => {
		$$invalidate(1, categoriesTabs = categoriesTabsDto);
	};

	const unregisterInitQuestsEvent = registerEvent('spaceEvent.quests.initialize', initQuests);
	const unregisterInitTabsEvent = registerEvent('spaceEvent.categories.initialize', initTabs);
	const unregisterSetCategoryQuestEvent = registerEvent('spaceEvent.quests.update', setCategoryQuests);
	const unregisterSelectCategoryQuestEvent = registerEvent('spaceEvent.categories.select', selectCategory);
	const unregisterPushQuestsEvent = registerEvent('spaceEvent.quests.push', pushCategoryQuests);

	onDestroy(() => {
		unregisterInitQuestsEvent();
		unregisterInitTabsEvent();
		unregisterSetCategoryQuestEvent();
		unregisterSelectCategoryQuestEvent();
		unregisterPushQuestsEvent();
	});

	const click_handler = category => selectCategory(category.id);

	return [
		categoriesQuests,
		categoriesTabs,
		selectedTabId,
		selectCategory,
		handleClose,
		click_handler
	];
}

class Quests extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, quests_index_svelte_instance, quests_index_svelte_create_fragment, safe_not_equal, {}, quests_index_svelte_add_css);
	}
}

/* harmony default export */ const quests_index_svelte = (Quests);
;// CONCATENATED MODULE: ./node_modules/svelte/motion/index.mjs




function is_date(obj) {
    return Object.prototype.toString.call(obj) === '[object Date]';
}

function tick_spring(ctx, last_value, current_value, target_value) {
    if (typeof current_value === 'number' || is_date(current_value)) {
        // @ts-ignore
        const delta = target_value - current_value;
        // @ts-ignore
        const velocity = (current_value - last_value) / (ctx.dt || 1 / 60); // guard div by 0
        const spring = ctx.opts.stiffness * delta;
        const damper = ctx.opts.damping * velocity;
        const acceleration = (spring - damper) * ctx.inv_mass;
        const d = (velocity + acceleration) * ctx.dt;
        if (Math.abs(d) < ctx.opts.precision && Math.abs(delta) < ctx.opts.precision) {
            return target_value; // settled
        }
        else {
            ctx.settled = false; // signal loop to keep ticking
            // @ts-ignore
            return is_date(current_value) ?
                new Date(current_value.getTime() + d) : current_value + d;
        }
    }
    else if (Array.isArray(current_value)) {
        // @ts-ignore
        return current_value.map((_, i) => tick_spring(ctx, last_value[i], current_value[i], target_value[i]));
    }
    else if (typeof current_value === 'object') {
        const next_value = {};
        for (const k in current_value) {
            // @ts-ignore
            next_value[k] = tick_spring(ctx, last_value[k], current_value[k], target_value[k]);
        }
        // @ts-ignore
        return next_value;
    }
    else {
        throw new Error(`Cannot spring ${typeof current_value} values`);
    }
}
function spring(value, opts = {}) {
    const store = writable(value);
    const { stiffness = 0.15, damping = 0.8, precision = 0.01 } = opts;
    let last_time;
    let task;
    let current_token;
    let last_value = value;
    let target_value = value;
    let inv_mass = 1;
    let inv_mass_recovery_rate = 0;
    let cancel_task = false;
    function set(new_value, opts = {}) {
        target_value = new_value;
        const token = current_token = {};
        if (value == null || opts.hard || (spring.stiffness >= 1 && spring.damping >= 1)) {
            cancel_task = true; // cancel any running animation
            last_time = now();
            last_value = new_value;
            store.set(value = target_value);
            return Promise.resolve();
        }
        else if (opts.soft) {
            const rate = opts.soft === true ? .5 : +opts.soft;
            inv_mass_recovery_rate = 1 / (rate * 60);
            inv_mass = 0; // infinite mass, unaffected by spring forces
        }
        if (!task) {
            last_time = now();
            cancel_task = false;
            task = loop(now => {
                if (cancel_task) {
                    cancel_task = false;
                    task = null;
                    return false;
                }
                inv_mass = Math.min(inv_mass + inv_mass_recovery_rate, 1);
                const ctx = {
                    inv_mass,
                    opts: spring,
                    settled: true,
                    dt: (now - last_time) * 60 / 1000
                };
                const next_value = tick_spring(ctx, last_value, value, target_value);
                last_time = now;
                last_value = value;
                store.set(value = next_value);
                if (ctx.settled) {
                    task = null;
                }
                return !ctx.settled;
            });
        }
        return new Promise(fulfil => {
            task.promise.then(() => {
                if (token === current_token)
                    fulfil();
            });
        });
    }
    const spring = {
        set,
        update: (fn, opts) => set(fn(target_value, value), opts),
        subscribe: store.subscribe,
        stiffness,
        damping,
        precision
    };
    return spring;
}

function get_interpolator(a, b) {
    if (a === b || a !== a)
        return () => a;
    const type = typeof a;
    if (type !== typeof b || Array.isArray(a) !== Array.isArray(b)) {
        throw new Error('Cannot interpolate values of different type');
    }
    if (Array.isArray(a)) {
        const arr = b.map((bi, i) => {
            return get_interpolator(a[i], bi);
        });
        return t => arr.map(fn => fn(t));
    }
    if (type === 'object') {
        if (!a || !b)
            throw new Error('Object cannot be null');
        if (is_date(a) && is_date(b)) {
            a = a.getTime();
            b = b.getTime();
            const delta = b - a;
            return t => new Date(a + t * delta);
        }
        const keys = Object.keys(b);
        const interpolators = {};
        keys.forEach(key => {
            interpolators[key] = get_interpolator(a[key], b[key]);
        });
        return t => {
            const result = {};
            keys.forEach(key => {
                result[key] = interpolators[key](t);
            });
            return result;
        };
    }
    if (type === 'number') {
        const delta = b - a;
        return t => a + t * delta;
    }
    throw new Error(`Cannot interpolate ${type} values`);
}
function tweened(value, defaults = {}) {
    const store = writable(value);
    let task;
    let target_value = value;
    function set(new_value, opts) {
        if (value == null) {
            store.set(value = new_value);
            return Promise.resolve();
        }
        target_value = new_value;
        let previous_task = task;
        let started = false;
        let { delay = 0, duration = 400, easing = identity, interpolate = get_interpolator } = internal_assign(internal_assign({}, defaults), opts);
        if (duration === 0) {
            if (previous_task) {
                previous_task.abort();
                previous_task = null;
            }
            store.set(value = target_value);
            return Promise.resolve();
        }
        const start = now() + delay;
        let fn;
        task = loop(now => {
            if (now < start)
                return true;
            if (!started) {
                fn = interpolate(value, new_value);
                if (typeof duration === 'function')
                    duration = duration(value, new_value);
                started = true;
            }
            if (previous_task) {
                previous_task.abort();
                previous_task = null;
            }
            const elapsed = now - start;
            if (elapsed > duration) {
                store.set(value = new_value);
                return false;
            }
            // @ts-ignore
            store.set(value = fn(easing(elapsed / duration)));
            return true;
        });
        return task.promise;
    }
    return {
        set,
        update: (fn, opts) => set(fn(target_value, value), opts),
        subscribe: store.subscribe
    };
}



;// CONCATENATED MODULE: ./src/forked-libs/pips-range-slider/RangePips.svelte
/* src\forked-libs\pips-range-slider\RangePips.svelte generated by Svelte v3.49.0 */


function RangePips_svelte_add_css(target) {
	append_styles(target, "svelte-19a3n3k", ".rangeSlider{--pip:var(--range-pip, lightslategray);--pip-text:var(--range-pip-text, var(--pip));--pip-active:var(--range-pip-active, darkslategrey);--pip-active-text:var(--range-pip-active-text, var(--pip-active));--pip-hover:var(--range-pip-hover, darkslategrey);--pip-hover-text:var(--range-pip-hover-text, var(--pip-hover));--pip-in-range:var(--range-pip-in-range, var(--pip-active));--pip-in-range-text:var(--range-pip-in-range-text, var(--pip-active-text))}.rangePips{position:absolute;height:1em;left:0;right:0;bottom:-1em}.rangePips.vertical{height:auto;width:1em;left:100%;right:auto;top:0;bottom:0}.rangePips .pip{height:0.4em;position:absolute;top:0.25em;width:1px;white-space:nowrap}.rangePips.vertical .pip{height:1px;width:0.4em;left:0.25em;top:auto;bottom:auto}.rangePips .pipVal{position:absolute;top:0.4em;transform:translate(-50%, 25%)}.rangePips.vertical .pipVal{position:absolute;top:0;left:0.4em;transform:translate(25%, -50%)}.rangePips .pip{transition:all 0.15s ease}.rangePips .pipVal{transition:all 0.15s ease, font-weight 0s linear}.rangePips .pip{color:lightslategray;color:var(--pip-text);background-color:lightslategray;background-color:var(--pip)}.rangePips .pip.selected{color:darkslategrey;color:var(--pip-active-text);background-color:darkslategrey;background-color:var(--pip-active)}.rangePips.hoverable:not(.disabled) .pip:hover{color:darkslategrey;color:var(--pip-hover-text);background-color:darkslategrey;background-color:var(--pip-hover)}.rangePips .pip.in-range{color:darkslategrey;color:var(--pip-in-range-text);background-color:darkslategrey;background-color:var(--pip-in-range)}.rangePips .pip.selected{height:0.75em}.rangePips.vertical .pip.selected{height:1px;width:0.75em}.rangePips .pip.selected .pipVal{font-weight:bold;top:0.75em}.rangePips.vertical .pip.selected .pipVal{top:0;left:0.75em}.rangePips.hoverable:not(.disabled) .pip:not(.selected):hover{transition:none}.rangePips.hoverable:not(.disabled) .pip:not(.selected):hover .pipVal{transition:none;font-weight:bold}");
}

function RangePips_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[28] = list[i];
	child_ctx[30] = i;
	return child_ctx;
}

// (179:2) {#if (all && first !== false) || first }
function create_if_block_9(ctx) {
	let span;
	let span_style_value;
	let mounted;
	let dispose;
	let if_block = (/*all*/ ctx[6] === 'label' || /*first*/ ctx[7] === 'label') && create_if_block_10(ctx);

	return {
		c() {
			span = internal_element("span");
			if (if_block) if_block.c();
			attr(span, "class", "pip first");
			attr(span, "style", span_style_value = "" + (/*orientationStart*/ ctx[14] + ": 0%;"));
			toggle_class(span, "selected", /*isSelected*/ ctx[18](/*min*/ ctx[0]));
			toggle_class(span, "in-range", /*inRange*/ ctx[17](/*min*/ ctx[0]));
		},
		m(target, anchor) {
			insert(target, span, anchor);
			if (if_block) if_block.m(span, null);

			if (!mounted) {
				dispose = [
					listen(span, "click", function () {
						if (internal_is_function(/*labelClick*/ ctx[21](/*min*/ ctx[0]))) /*labelClick*/ ctx[21](/*min*/ ctx[0]).apply(this, arguments);
					}),
					listen(span, "touchend", prevent_default(function () {
						if (internal_is_function(/*labelClick*/ ctx[21](/*min*/ ctx[0]))) /*labelClick*/ ctx[21](/*min*/ ctx[0]).apply(this, arguments);
					}))
				];

				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (/*all*/ ctx[6] === 'label' || /*first*/ ctx[7] === 'label') {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = create_if_block_10(ctx);
					if_block.c();
					if_block.m(span, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (dirty & /*orientationStart*/ 16384 && span_style_value !== (span_style_value = "" + (/*orientationStart*/ ctx[14] + ": 0%;"))) {
				attr(span, "style", span_style_value);
			}

			if (dirty & /*isSelected, min*/ 262145) {
				toggle_class(span, "selected", /*isSelected*/ ctx[18](/*min*/ ctx[0]));
			}

			if (dirty & /*inRange, min*/ 131073) {
				toggle_class(span, "in-range", /*inRange*/ ctx[17](/*min*/ ctx[0]));
			}
		},
		d(detaching) {
			if (detaching) detach(span);
			if (if_block) if_block.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (188:6) {#if all === 'label' || first === 'label'}
function create_if_block_10(ctx) {
	let span;
	let t_value = /*formatter*/ ctx[12](/*fixFloat*/ ctx[16](/*min*/ ctx[0]), 0, 0) + "";
	let t;
	let if_block0 = /*prefix*/ ctx[10] && create_if_block_12(ctx);
	let if_block1 = /*suffix*/ ctx[11] && create_if_block_11(ctx);

	return {
		c() {
			span = internal_element("span");
			if (if_block0) if_block0.c();
			t = internal_text(t_value);
			if (if_block1) if_block1.c();
			attr(span, "class", "pipVal");
		},
		m(target, anchor) {
			insert(target, span, anchor);
			if (if_block0) if_block0.m(span, null);
			append(span, t);
			if (if_block1) if_block1.m(span, null);
		},
		p(ctx, dirty) {
			if (/*prefix*/ ctx[10]) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = create_if_block_12(ctx);
					if_block0.c();
					if_block0.m(span, t);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty & /*formatter, fixFloat, min*/ 69633 && t_value !== (t_value = /*formatter*/ ctx[12](/*fixFloat*/ ctx[16](/*min*/ ctx[0]), 0, 0) + "")) set_data(t, t_value);

			if (/*suffix*/ ctx[11]) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = create_if_block_11(ctx);
					if_block1.c();
					if_block1.m(span, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}
		},
		d(detaching) {
			if (detaching) detach(span);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
		}
	};
}

// (190:10) {#if prefix}
function create_if_block_12(ctx) {
	let span;
	let t;

	return {
		c() {
			span = internal_element("span");
			t = internal_text(/*prefix*/ ctx[10]);
			attr(span, "class", "pipVal-prefix");
		},
		m(target, anchor) {
			insert(target, span, anchor);
			append(span, t);
		},
		p(ctx, dirty) {
			if (dirty & /*prefix*/ 1024) set_data(t, /*prefix*/ ctx[10]);
		},
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

// (190:102) {#if suffix}
function create_if_block_11(ctx) {
	let span;
	let t;

	return {
		c() {
			span = internal_element("span");
			t = internal_text(/*suffix*/ ctx[11]);
			attr(span, "class", "pipVal-suffix");
		},
		m(target, anchor) {
			insert(target, span, anchor);
			append(span, t);
		},
		p(ctx, dirty) {
			if (dirty & /*suffix*/ 2048) set_data(t, /*suffix*/ ctx[11]);
		},
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

// (196:2) {#if (all && rest !== false) || rest}
function RangePips_svelte_create_if_block_4(ctx) {
	let each_1_anchor;
	let each_value = Array(/*pipCount*/ ctx[20] + 1);
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = RangePips_svelte_create_each_block(RangePips_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*orientationStart, percentOf, pipVal, isSelected, inRange, labelClick, suffix, formatter, prefix, all, rest, min, max, pipCount*/ 4120131) {
				each_value = Array(/*pipCount*/ ctx[20] + 1);
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = RangePips_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = RangePips_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		d(detaching) {
			destroy_each(each_blocks, detaching);
			if (detaching) detach(each_1_anchor);
		}
	};
}

// (198:6) {#if pipVal(i) !== min && pipVal(i) !== max}
function RangePips_svelte_create_if_block_5(ctx) {
	let span;
	let t;
	let span_style_value;
	let mounted;
	let dispose;
	let if_block = (/*all*/ ctx[6] === 'label' || /*rest*/ ctx[9] === 'label') && create_if_block_6(ctx);

	return {
		c() {
			span = internal_element("span");
			if (if_block) if_block.c();
			t = space();
			attr(span, "class", "pip");
			attr(span, "style", span_style_value = "" + (/*orientationStart*/ ctx[14] + ": " + /*percentOf*/ ctx[15](/*pipVal*/ ctx[19](/*i*/ ctx[30])) + "%;"));
			toggle_class(span, "selected", /*isSelected*/ ctx[18](/*pipVal*/ ctx[19](/*i*/ ctx[30])));
			toggle_class(span, "in-range", /*inRange*/ ctx[17](/*pipVal*/ ctx[19](/*i*/ ctx[30])));
		},
		m(target, anchor) {
			insert(target, span, anchor);
			if (if_block) if_block.m(span, null);
			append(span, t);

			if (!mounted) {
				dispose = [
					listen(span, "click", function () {
						if (internal_is_function(/*labelClick*/ ctx[21](/*pipVal*/ ctx[19](/*i*/ ctx[30])))) /*labelClick*/ ctx[21](/*pipVal*/ ctx[19](/*i*/ ctx[30])).apply(this, arguments);
					}),
					listen(span, "touchend", prevent_default(function () {
						if (internal_is_function(/*labelClick*/ ctx[21](/*pipVal*/ ctx[19](/*i*/ ctx[30])))) /*labelClick*/ ctx[21](/*pipVal*/ ctx[19](/*i*/ ctx[30])).apply(this, arguments);
					}))
				];

				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (/*all*/ ctx[6] === 'label' || /*rest*/ ctx[9] === 'label') {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = create_if_block_6(ctx);
					if_block.c();
					if_block.m(span, t);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (dirty & /*orientationStart, percentOf, pipVal*/ 573440 && span_style_value !== (span_style_value = "" + (/*orientationStart*/ ctx[14] + ": " + /*percentOf*/ ctx[15](/*pipVal*/ ctx[19](/*i*/ ctx[30])) + "%;"))) {
				attr(span, "style", span_style_value);
			}

			if (dirty & /*isSelected, pipVal*/ 786432) {
				toggle_class(span, "selected", /*isSelected*/ ctx[18](/*pipVal*/ ctx[19](/*i*/ ctx[30])));
			}

			if (dirty & /*inRange, pipVal*/ 655360) {
				toggle_class(span, "in-range", /*inRange*/ ctx[17](/*pipVal*/ ctx[19](/*i*/ ctx[30])));
			}
		},
		d(detaching) {
			if (detaching) detach(span);
			if (if_block) if_block.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (207:10) {#if all === 'label' || rest === 'label'}
function create_if_block_6(ctx) {
	let span;
	let t_value = /*formatter*/ ctx[12](/*pipVal*/ ctx[19](/*i*/ ctx[30]), /*i*/ ctx[30], /*percentOf*/ ctx[15](/*pipVal*/ ctx[19](/*i*/ ctx[30]))) + "";
	let t;
	let if_block0 = /*prefix*/ ctx[10] && create_if_block_8(ctx);
	let if_block1 = /*suffix*/ ctx[11] && create_if_block_7(ctx);

	return {
		c() {
			span = internal_element("span");
			if (if_block0) if_block0.c();
			t = internal_text(t_value);
			if (if_block1) if_block1.c();
			attr(span, "class", "pipVal");
		},
		m(target, anchor) {
			insert(target, span, anchor);
			if (if_block0) if_block0.m(span, null);
			append(span, t);
			if (if_block1) if_block1.m(span, null);
		},
		p(ctx, dirty) {
			if (/*prefix*/ ctx[10]) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = create_if_block_8(ctx);
					if_block0.c();
					if_block0.m(span, t);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty & /*formatter, pipVal, percentOf*/ 561152 && t_value !== (t_value = /*formatter*/ ctx[12](/*pipVal*/ ctx[19](/*i*/ ctx[30]), /*i*/ ctx[30], /*percentOf*/ ctx[15](/*pipVal*/ ctx[19](/*i*/ ctx[30]))) + "")) set_data(t, t_value);

			if (/*suffix*/ ctx[11]) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = create_if_block_7(ctx);
					if_block1.c();
					if_block1.m(span, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}
		},
		d(detaching) {
			if (detaching) detach(span);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
		}
	};
}

// (209:14) {#if prefix}
function create_if_block_8(ctx) {
	let span;
	let t;

	return {
		c() {
			span = internal_element("span");
			t = internal_text(/*prefix*/ ctx[10]);
			attr(span, "class", "pipVal-prefix");
		},
		m(target, anchor) {
			insert(target, span, anchor);
			append(span, t);
		},
		p(ctx, dirty) {
			if (dirty & /*prefix*/ 1024) set_data(t, /*prefix*/ ctx[10]);
		},
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

// (209:121) {#if suffix}
function create_if_block_7(ctx) {
	let span;
	let t;

	return {
		c() {
			span = internal_element("span");
			t = internal_text(/*suffix*/ ctx[11]);
			attr(span, "class", "pipVal-suffix");
		},
		m(target, anchor) {
			insert(target, span, anchor);
			append(span, t);
		},
		p(ctx, dirty) {
			if (dirty & /*suffix*/ 2048) set_data(t, /*suffix*/ ctx[11]);
		},
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

// (197:4) {#each Array(pipCount + 1) as _, i}
function RangePips_svelte_create_each_block(ctx) {
	let show_if = /*pipVal*/ ctx[19](/*i*/ ctx[30]) !== /*min*/ ctx[0] && /*pipVal*/ ctx[19](/*i*/ ctx[30]) !== /*max*/ ctx[1];
	let if_block_anchor;
	let if_block = show_if && RangePips_svelte_create_if_block_5(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*pipVal, min, max*/ 524291) show_if = /*pipVal*/ ctx[19](/*i*/ ctx[30]) !== /*min*/ ctx[0] && /*pipVal*/ ctx[19](/*i*/ ctx[30]) !== /*max*/ ctx[1];

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = RangePips_svelte_create_if_block_5(ctx);
					if_block.c();
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

// (217:2) {#if (all && last !== false) || last}
function RangePips_svelte_create_if_block(ctx) {
	let span;
	let span_style_value;
	let mounted;
	let dispose;
	let if_block = (/*all*/ ctx[6] === 'label' || /*last*/ ctx[8] === 'label') && RangePips_svelte_create_if_block_1(ctx);

	return {
		c() {
			span = internal_element("span");
			if (if_block) if_block.c();
			attr(span, "class", "pip last");
			attr(span, "style", span_style_value = "" + (/*orientationStart*/ ctx[14] + ": 100%;"));
			toggle_class(span, "selected", /*isSelected*/ ctx[18](/*max*/ ctx[1]));
			toggle_class(span, "in-range", /*inRange*/ ctx[17](/*max*/ ctx[1]));
		},
		m(target, anchor) {
			insert(target, span, anchor);
			if (if_block) if_block.m(span, null);

			if (!mounted) {
				dispose = [
					listen(span, "click", function () {
						if (internal_is_function(/*labelClick*/ ctx[21](/*max*/ ctx[1]))) /*labelClick*/ ctx[21](/*max*/ ctx[1]).apply(this, arguments);
					}),
					listen(span, "touchend", prevent_default(function () {
						if (internal_is_function(/*labelClick*/ ctx[21](/*max*/ ctx[1]))) /*labelClick*/ ctx[21](/*max*/ ctx[1]).apply(this, arguments);
					}))
				];

				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (/*all*/ ctx[6] === 'label' || /*last*/ ctx[8] === 'label') {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = RangePips_svelte_create_if_block_1(ctx);
					if_block.c();
					if_block.m(span, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (dirty & /*orientationStart*/ 16384 && span_style_value !== (span_style_value = "" + (/*orientationStart*/ ctx[14] + ": 100%;"))) {
				attr(span, "style", span_style_value);
			}

			if (dirty & /*isSelected, max*/ 262146) {
				toggle_class(span, "selected", /*isSelected*/ ctx[18](/*max*/ ctx[1]));
			}

			if (dirty & /*inRange, max*/ 131074) {
				toggle_class(span, "in-range", /*inRange*/ ctx[17](/*max*/ ctx[1]));
			}
		},
		d(detaching) {
			if (detaching) detach(span);
			if (if_block) if_block.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (226:6) {#if all === 'label' || last === 'label'}
function RangePips_svelte_create_if_block_1(ctx) {
	let span;
	let t_value = /*formatter*/ ctx[12](/*fixFloat*/ ctx[16](/*max*/ ctx[1]), /*pipCount*/ ctx[20], 100) + "";
	let t;
	let if_block0 = /*prefix*/ ctx[10] && RangePips_svelte_create_if_block_3(ctx);
	let if_block1 = /*suffix*/ ctx[11] && RangePips_svelte_create_if_block_2(ctx);

	return {
		c() {
			span = internal_element("span");
			if (if_block0) if_block0.c();
			t = internal_text(t_value);
			if (if_block1) if_block1.c();
			attr(span, "class", "pipVal");
		},
		m(target, anchor) {
			insert(target, span, anchor);
			if (if_block0) if_block0.m(span, null);
			append(span, t);
			if (if_block1) if_block1.m(span, null);
		},
		p(ctx, dirty) {
			if (/*prefix*/ ctx[10]) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = RangePips_svelte_create_if_block_3(ctx);
					if_block0.c();
					if_block0.m(span, t);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty & /*formatter, fixFloat, max, pipCount*/ 1118210 && t_value !== (t_value = /*formatter*/ ctx[12](/*fixFloat*/ ctx[16](/*max*/ ctx[1]), /*pipCount*/ ctx[20], 100) + "")) set_data(t, t_value);

			if (/*suffix*/ ctx[11]) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = RangePips_svelte_create_if_block_2(ctx);
					if_block1.c();
					if_block1.m(span, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}
		},
		d(detaching) {
			if (detaching) detach(span);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
		}
	};
}

// (228:10) {#if prefix}
function RangePips_svelte_create_if_block_3(ctx) {
	let span;
	let t;

	return {
		c() {
			span = internal_element("span");
			t = internal_text(/*prefix*/ ctx[10]);
			attr(span, "class", "pipVal-prefix");
		},
		m(target, anchor) {
			insert(target, span, anchor);
			append(span, t);
		},
		p(ctx, dirty) {
			if (dirty & /*prefix*/ 1024) set_data(t, /*prefix*/ ctx[10]);
		},
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

// (228:111) {#if suffix}
function RangePips_svelte_create_if_block_2(ctx) {
	let span;
	let t;

	return {
		c() {
			span = internal_element("span");
			t = internal_text(/*suffix*/ ctx[11]);
			attr(span, "class", "pipVal-suffix");
		},
		m(target, anchor) {
			insert(target, span, anchor);
			append(span, t);
		},
		p(ctx, dirty) {
			if (dirty & /*suffix*/ 2048) set_data(t, /*suffix*/ ctx[11]);
		},
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

function RangePips_svelte_create_fragment(ctx) {
	let div;
	let t0;
	let t1;
	let if_block0 = (/*all*/ ctx[6] && /*first*/ ctx[7] !== false || /*first*/ ctx[7]) && create_if_block_9(ctx);
	let if_block1 = (/*all*/ ctx[6] && /*rest*/ ctx[9] !== false || /*rest*/ ctx[9]) && RangePips_svelte_create_if_block_4(ctx);
	let if_block2 = (/*all*/ ctx[6] && /*last*/ ctx[8] !== false || /*last*/ ctx[8]) && RangePips_svelte_create_if_block(ctx);

	return {
		c() {
			div = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			if (if_block1) if_block1.c();
			t1 = space();
			if (if_block2) if_block2.c();
			attr(div, "class", "rangePips");
			toggle_class(div, "disabled", /*disabled*/ ctx[5]);
			toggle_class(div, "hoverable", /*hoverable*/ ctx[4]);
			toggle_class(div, "vertical", /*vertical*/ ctx[2]);
			toggle_class(div, "reversed", /*reversed*/ ctx[3]);
			toggle_class(div, "focus", /*focus*/ ctx[13]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block0) if_block0.m(div, null);
			append(div, t0);
			if (if_block1) if_block1.m(div, null);
			append(div, t1);
			if (if_block2) if_block2.m(div, null);
		},
		p(ctx, [dirty]) {
			if (/*all*/ ctx[6] && /*first*/ ctx[7] !== false || /*first*/ ctx[7]) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = create_if_block_9(ctx);
					if_block0.c();
					if_block0.m(div, t0);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (/*all*/ ctx[6] && /*rest*/ ctx[9] !== false || /*rest*/ ctx[9]) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = RangePips_svelte_create_if_block_4(ctx);
					if_block1.c();
					if_block1.m(div, t1);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (/*all*/ ctx[6] && /*last*/ ctx[8] !== false || /*last*/ ctx[8]) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = RangePips_svelte_create_if_block(ctx);
					if_block2.c();
					if_block2.m(div, null);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			if (dirty & /*disabled*/ 32) {
				toggle_class(div, "disabled", /*disabled*/ ctx[5]);
			}

			if (dirty & /*hoverable*/ 16) {
				toggle_class(div, "hoverable", /*hoverable*/ ctx[4]);
			}

			if (dirty & /*vertical*/ 4) {
				toggle_class(div, "vertical", /*vertical*/ ctx[2]);
			}

			if (dirty & /*reversed*/ 8) {
				toggle_class(div, "reversed", /*reversed*/ ctx[3]);
			}

			if (dirty & /*focus*/ 8192) {
				toggle_class(div, "focus", /*focus*/ ctx[13]);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			if (if_block2) if_block2.d();
		}
	};
}

function RangePips_svelte_instance($$self, $$props, $$invalidate) {
	let pipStep;
	let pipCount;
	let pipVal;
	let isSelected;
	let inRange;
	let { range = false } = $$props;
	let { min = 0 } = $$props;
	let { max = 100 } = $$props;
	let { step = 1 } = $$props;
	let { values = [(max + min) / 2] } = $$props;
	let { vertical = false } = $$props;
	let { reversed = false } = $$props;
	let { hoverable = true } = $$props;
	let { disabled = false } = $$props;
	let { pipstep = undefined } = $$props;
	let { all = true } = $$props;
	let { first = undefined } = $$props;
	let { last = undefined } = $$props;
	let { rest = undefined } = $$props;
	let { prefix = "" } = $$props;
	let { suffix = "" } = $$props;
	let { formatter = (v, i) => v } = $$props;
	let { focus = undefined } = $$props;
	let { orientationStart = undefined } = $$props;
	let { percentOf = undefined } = $$props;
	let { moveHandle = undefined } = $$props;
	let { fixFloat = undefined } = $$props;

	function labelClick(val) {
		if (!disabled) {
			moveHandle(undefined, val);
		}
	}

	$$self.$$set = $$props => {
		if ('range' in $$props) $$invalidate(22, range = $$props.range);
		if ('min' in $$props) $$invalidate(0, min = $$props.min);
		if ('max' in $$props) $$invalidate(1, max = $$props.max);
		if ('step' in $$props) $$invalidate(23, step = $$props.step);
		if ('values' in $$props) $$invalidate(24, values = $$props.values);
		if ('vertical' in $$props) $$invalidate(2, vertical = $$props.vertical);
		if ('reversed' in $$props) $$invalidate(3, reversed = $$props.reversed);
		if ('hoverable' in $$props) $$invalidate(4, hoverable = $$props.hoverable);
		if ('disabled' in $$props) $$invalidate(5, disabled = $$props.disabled);
		if ('pipstep' in $$props) $$invalidate(25, pipstep = $$props.pipstep);
		if ('all' in $$props) $$invalidate(6, all = $$props.all);
		if ('first' in $$props) $$invalidate(7, first = $$props.first);
		if ('last' in $$props) $$invalidate(8, last = $$props.last);
		if ('rest' in $$props) $$invalidate(9, rest = $$props.rest);
		if ('prefix' in $$props) $$invalidate(10, prefix = $$props.prefix);
		if ('suffix' in $$props) $$invalidate(11, suffix = $$props.suffix);
		if ('formatter' in $$props) $$invalidate(12, formatter = $$props.formatter);
		if ('focus' in $$props) $$invalidate(13, focus = $$props.focus);
		if ('orientationStart' in $$props) $$invalidate(14, orientationStart = $$props.orientationStart);
		if ('percentOf' in $$props) $$invalidate(15, percentOf = $$props.percentOf);
		if ('moveHandle' in $$props) $$invalidate(26, moveHandle = $$props.moveHandle);
		if ('fixFloat' in $$props) $$invalidate(16, fixFloat = $$props.fixFloat);
	};

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*pipstep, max, min, step, vertical*/ 41943047) {
			$: $$invalidate(27, pipStep = pipstep || ((max - min) / step >= (vertical ? 50 : 100)
			? (max - min) / (vertical ? 10 : 20)
			: 1));
		}

		if ($$self.$$.dirty & /*max, min, step, pipStep*/ 142606339) {
			$: $$invalidate(20, pipCount = parseInt((max - min) / (step * pipStep), 10));
		}

		if ($$self.$$.dirty & /*fixFloat, min, step, pipStep*/ 142671873) {
			$: $$invalidate(19, pipVal = function (val) {
				return fixFloat(min + val * step * pipStep);
			});
		}

		if ($$self.$$.dirty & /*values, fixFloat*/ 16842752) {
			$: $$invalidate(18, isSelected = function (val) {
				return values.some(v => fixFloat(v) === fixFloat(val));
			});
		}

		if ($$self.$$.dirty & /*range, values*/ 20971520) {
			$: $$invalidate(17, inRange = function (val) {
				if (range === "min") {
					return values[0] > val;
				} else if (range === "max") {
					return values[0] < val;
				} else if (range) {
					return values[0] < val && values[1] > val;
				}
			});
		}
	};

	return [
		min,
		max,
		vertical,
		reversed,
		hoverable,
		disabled,
		all,
		first,
		last,
		rest,
		prefix,
		suffix,
		formatter,
		focus,
		orientationStart,
		percentOf,
		fixFloat,
		inRange,
		isSelected,
		pipVal,
		pipCount,
		labelClick,
		range,
		step,
		values,
		pipstep,
		moveHandle,
		pipStep
	];
}

class RangePips extends SvelteComponent {
	constructor(options) {
		super();

		init(
			this,
			options,
			RangePips_svelte_instance,
			RangePips_svelte_create_fragment,
			safe_not_equal,
			{
				range: 22,
				min: 0,
				max: 1,
				step: 23,
				values: 24,
				vertical: 2,
				reversed: 3,
				hoverable: 4,
				disabled: 5,
				pipstep: 25,
				all: 6,
				first: 7,
				last: 8,
				rest: 9,
				prefix: 10,
				suffix: 11,
				formatter: 12,
				focus: 13,
				orientationStart: 14,
				percentOf: 15,
				moveHandle: 26,
				fixFloat: 16
			},
			RangePips_svelte_add_css
		);
	}
}

/* harmony default export */ const RangePips_svelte = (RangePips);
;// CONCATENATED MODULE: ./src/forked-libs/pips-range-slider/RangeSlider.svelte
/* src\forked-libs\pips-range-slider\RangeSlider.svelte generated by Svelte v3.49.0 */






function RangeSlider_svelte_add_css(target) {
	append_styles(target, "svelte-ryi37q", ".rangeSlider{--slider:var(--range-slider, #d7dada);--handle-inactive:var(--range-handle-inactive, #99a2a2);--handle:var(--range-handle, #838de7);--handle-focus:var(--range-handle-focus, #4a40d4);--handle-border:var(--range-handle-border, var(--handle));--range-inactive:var(--range-range-inactive, var(--handle-inactive));--range:var(--range-range, var(--handle-focus));--float-inactive:var(--range-float-inactive, var(--handle-inactive));--float:var(--range-float, var(--handle-focus));--float-text:var(--range-float-text, white)}.rangeSlider{position:relative;border-radius:100px;height:0.5em;margin:1em;transition:opacity 0.2s ease;user-select:none}.rangeSlider *{user-select:none}.rangeSlider.pips{margin-bottom:1.8em}.rangeSlider.pip-labels{margin-bottom:2.8em}.rangeSlider.vertical{display:inline-block;border-radius:100px;width:0.5em;min-height:200px}.rangeSlider.vertical.pips{margin-right:1.8em;margin-bottom:1em}.rangeSlider.vertical.pip-labels{margin-right:2.8em;margin-bottom:1em}.rangeSlider .rangeHandle{position:absolute;display:block;height:1.4em;width:1.4em;top:0.25em;bottom:auto;transform:translateY(-50%) translateX(-50%);z-index:2}.rangeSlider.reversed .rangeHandle{transform:translateY(-50%) translateX(50%)}.rangeSlider.vertical .rangeHandle{left:0.25em;top:auto;transform:translateY(50%) translateX(-50%)}.rangeSlider.vertical.reversed .rangeHandle{transform:translateY(-50%) translateX(-50%)}.rangeSlider .rangeNub,.rangeSlider .rangeHandle:before{position:absolute;left:0;top:0;display:block;border-radius:10em;height:100%;width:100%;transition:box-shadow 0.2s ease}.rangeSlider .rangeHandle:before{content:\"\";left:1px;top:1px;bottom:1px;right:1px;height:auto;width:auto;box-shadow:0 0 0 0px var(--handle-border);opacity:0}.rangeSlider.hoverable:not(.disabled) .rangeHandle:hover:before{box-shadow:0 0 0 8px var(--handle-border);opacity:0.2}.rangeSlider.hoverable:not(.disabled) .rangeHandle.press:before,.rangeSlider.hoverable:not(.disabled) .rangeHandle.press:hover:before{box-shadow:0 0 0 12px var(--handle-border);opacity:0.4}.rangeSlider.range:not(.min):not(.max) .rangeNub{border-radius:10em 10em 10em 1.6em}.rangeSlider.range .rangeHandle:nth-of-type(1) .rangeNub{transform:rotate(-135deg)}.rangeSlider.range .rangeHandle:nth-of-type(2) .rangeNub{transform:rotate(45deg)}.rangeSlider.range.reversed .rangeHandle:nth-of-type(1) .rangeNub{transform:rotate(45deg)}.rangeSlider.range.reversed .rangeHandle:nth-of-type(2) .rangeNub{transform:rotate(-135deg)}.rangeSlider.range.vertical .rangeHandle:nth-of-type(1) .rangeNub{transform:rotate(135deg)}.rangeSlider.range.vertical .rangeHandle:nth-of-type(2) .rangeNub{transform:rotate(-45deg)}.rangeSlider.range.vertical.reversed .rangeHandle:nth-of-type(1) .rangeNub{transform:rotate(-45deg)}.rangeSlider.range.vertical.reversed .rangeHandle:nth-of-type(2) .rangeNub{transform:rotate(135deg)}.rangeSlider .rangeFloat{display:block;position:absolute;left:50%;top:-0.5em;transform:translate(-50%, -100%);font-size:1em;text-align:center;opacity:0;pointer-events:none;white-space:nowrap;transition:all 0.2s ease;font-size:0.9em;padding:0.2em 0.4em;border-radius:0.2em}.rangeSlider .rangeHandle.active .rangeFloat,.rangeSlider.hoverable .rangeHandle:hover .rangeFloat{opacity:1;top:-0.2em;transform:translate(-50%, -100%)}.rangeSlider .rangeBar{position:absolute;display:block;transition:background 0.2s ease;border-radius:1em;height:0.5em;top:0;user-select:none;z-index:1}.rangeSlider.vertical .rangeBar{width:0.5em;height:auto}.rangeSlider{background-color:#d7dada;background-color:var(--slider)}.rangeSlider .rangeBar{background-color:#99a2a2;background-color:var(--range-inactive)}.rangeSlider.focus .rangeBar{background-color:#838de7;background-color:var(--range)}.rangeSlider .rangeNub{background-color:#99a2a2;background-color:var(--handle-inactive)}.rangeSlider.focus .rangeNub{background-color:#838de7;background-color:var(--handle)}.rangeSlider .rangeHandle.active .rangeNub{background-color:#4a40d4;background-color:var(--handle-focus)}.rangeSlider .rangeFloat{color:white;color:var(--float-text);background-color:#99a2a2;background-color:var(--float-inactive)}.rangeSlider.focus .rangeFloat{background-color:#4a40d4;background-color:var(--float)}.rangeSlider.disabled{opacity:0.5}.rangeSlider.disabled .rangeNub{background-color:#d7dada;background-color:var(--slider)}");
}

function RangeSlider_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[64] = list[i];
	child_ctx[66] = i;
	return child_ctx;
}

// (822:6) {#if float}
function RangeSlider_svelte_create_if_block_2(ctx) {
	let span;
	let t_value = /*handleFormatter*/ ctx[21](/*value*/ ctx[64], /*index*/ ctx[66], /*percentOf*/ ctx[23](/*value*/ ctx[64])) + "";
	let t;
	let if_block0 = /*prefix*/ ctx[18] && RangeSlider_svelte_create_if_block_4(ctx);
	let if_block1 = /*suffix*/ ctx[19] && RangeSlider_svelte_create_if_block_3(ctx);

	return {
		c() {
			span = internal_element("span");
			if (if_block0) if_block0.c();
			t = internal_text(t_value);
			if (if_block1) if_block1.c();
			attr(span, "class", "rangeFloat");
		},
		m(target, anchor) {
			insert(target, span, anchor);
			if (if_block0) if_block0.m(span, null);
			append(span, t);
			if (if_block1) if_block1.m(span, null);
		},
		p(ctx, dirty) {
			if (/*prefix*/ ctx[18]) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = RangeSlider_svelte_create_if_block_4(ctx);
					if_block0.c();
					if_block0.m(span, t);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty[0] & /*handleFormatter, values, percentOf*/ 10485761 && t_value !== (t_value = /*handleFormatter*/ ctx[21](/*value*/ ctx[64], /*index*/ ctx[66], /*percentOf*/ ctx[23](/*value*/ ctx[64])) + "")) set_data(t, t_value);

			if (/*suffix*/ ctx[19]) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = RangeSlider_svelte_create_if_block_3(ctx);
					if_block1.c();
					if_block1.m(span, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}
		},
		d(detaching) {
			if (detaching) detach(span);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
		}
	};
}

// (824:10) {#if prefix}
function RangeSlider_svelte_create_if_block_4(ctx) {
	let span;
	let t;

	return {
		c() {
			span = internal_element("span");
			t = internal_text(/*prefix*/ ctx[18]);
			attr(span, "class", "rangeFloat-prefix");
		},
		m(target, anchor) {
			insert(target, span, anchor);
			append(span, t);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*prefix*/ 262144) set_data(t, /*prefix*/ ctx[18]);
		},
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

// (824:123) {#if suffix}
function RangeSlider_svelte_create_if_block_3(ctx) {
	let span;
	let t;

	return {
		c() {
			span = internal_element("span");
			t = internal_text(/*suffix*/ ctx[19]);
			attr(span, "class", "rangeFloat-suffix");
		},
		m(target, anchor) {
			insert(target, span, anchor);
			append(span, t);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*suffix*/ 524288) set_data(t, /*suffix*/ ctx[19]);
		},
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

// (801:2) {#each values as value, index}
function RangeSlider_svelte_create_each_block(ctx) {
	let span1;
	let span0;
	let t;
	let span1_data_handle_value;
	let span1_style_value;
	let span1_aria_valuemin_value;
	let span1_aria_valuemax_value;
	let span1_aria_valuenow_value;
	let span1_aria_valuetext_value;
	let span1_aria_orientation_value;
	let span1_tabindex_value;
	let mounted;
	let dispose;
	let if_block = /*float*/ ctx[7] && RangeSlider_svelte_create_if_block_2(ctx);

	return {
		c() {
			span1 = internal_element("span");
			span0 = internal_element("span");
			t = space();
			if (if_block) if_block.c();
			attr(span0, "class", "rangeNub");
			attr(span1, "role", "slider");
			attr(span1, "class", "rangeHandle");
			attr(span1, "data-handle", span1_data_handle_value = /*index*/ ctx[66]);
			attr(span1, "style", span1_style_value = "" + (/*orientationStart*/ ctx[28] + ": " + /*$springPositions*/ ctx[29][/*index*/ ctx[66]] + "%; z-index: " + (/*activeHandle*/ ctx[26] === /*index*/ ctx[66] ? 3 : 2) + ";"));

			attr(span1, "aria-valuemin", span1_aria_valuemin_value = /*range*/ ctx[2] === true && /*index*/ ctx[66] === 1
			? /*values*/ ctx[0][0]
			: /*min*/ ctx[3]);

			attr(span1, "aria-valuemax", span1_aria_valuemax_value = /*range*/ ctx[2] === true && /*index*/ ctx[66] === 0
			? /*values*/ ctx[0][1]
			: /*max*/ ctx[4]);

			attr(span1, "aria-valuenow", span1_aria_valuenow_value = /*value*/ ctx[64]);
			attr(span1, "aria-valuetext", span1_aria_valuetext_value = "" + (/*prefix*/ ctx[18] + /*handleFormatter*/ ctx[21](/*value*/ ctx[64], /*index*/ ctx[66], /*percentOf*/ ctx[23](/*value*/ ctx[64])) + /*suffix*/ ctx[19]));
			attr(span1, "aria-orientation", span1_aria_orientation_value = /*vertical*/ ctx[6] ? 'vertical' : 'horizontal');
			attr(span1, "aria-disabled", /*disabled*/ ctx[10]);
			attr(span1, "disabled", /*disabled*/ ctx[10]);
			attr(span1, "tabindex", span1_tabindex_value = /*disabled*/ ctx[10] ? -1 : 0);
			toggle_class(span1, "active", /*focus*/ ctx[24] && /*activeHandle*/ ctx[26] === /*index*/ ctx[66]);
			toggle_class(span1, "press", /*handlePressed*/ ctx[25] && /*activeHandle*/ ctx[26] === /*index*/ ctx[66]);
		},
		m(target, anchor) {
			insert(target, span1, anchor);
			append(span1, span0);
			append(span1, t);
			if (if_block) if_block.m(span1, null);

			if (!mounted) {
				dispose = [
					listen(span1, "blur", /*sliderBlurHandle*/ ctx[34]),
					listen(span1, "focus", /*sliderFocusHandle*/ ctx[35]),
					listen(span1, "keydown", /*sliderKeydown*/ ctx[36])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (/*float*/ ctx[7]) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = RangeSlider_svelte_create_if_block_2(ctx);
					if_block.c();
					if_block.m(span1, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (dirty[0] & /*orientationStart, $springPositions, activeHandle*/ 872415232 && span1_style_value !== (span1_style_value = "" + (/*orientationStart*/ ctx[28] + ": " + /*$springPositions*/ ctx[29][/*index*/ ctx[66]] + "%; z-index: " + (/*activeHandle*/ ctx[26] === /*index*/ ctx[66] ? 3 : 2) + ";"))) {
				attr(span1, "style", span1_style_value);
			}

			if (dirty[0] & /*range, values, min*/ 13 && span1_aria_valuemin_value !== (span1_aria_valuemin_value = /*range*/ ctx[2] === true && /*index*/ ctx[66] === 1
			? /*values*/ ctx[0][0]
			: /*min*/ ctx[3])) {
				attr(span1, "aria-valuemin", span1_aria_valuemin_value);
			}

			if (dirty[0] & /*range, values, max*/ 21 && span1_aria_valuemax_value !== (span1_aria_valuemax_value = /*range*/ ctx[2] === true && /*index*/ ctx[66] === 0
			? /*values*/ ctx[0][1]
			: /*max*/ ctx[4])) {
				attr(span1, "aria-valuemax", span1_aria_valuemax_value);
			}

			if (dirty[0] & /*values*/ 1 && span1_aria_valuenow_value !== (span1_aria_valuenow_value = /*value*/ ctx[64])) {
				attr(span1, "aria-valuenow", span1_aria_valuenow_value);
			}

			if (dirty[0] & /*prefix, handleFormatter, values, percentOf, suffix*/ 11272193 && span1_aria_valuetext_value !== (span1_aria_valuetext_value = "" + (/*prefix*/ ctx[18] + /*handleFormatter*/ ctx[21](/*value*/ ctx[64], /*index*/ ctx[66], /*percentOf*/ ctx[23](/*value*/ ctx[64])) + /*suffix*/ ctx[19]))) {
				attr(span1, "aria-valuetext", span1_aria_valuetext_value);
			}

			if (dirty[0] & /*vertical*/ 64 && span1_aria_orientation_value !== (span1_aria_orientation_value = /*vertical*/ ctx[6] ? 'vertical' : 'horizontal')) {
				attr(span1, "aria-orientation", span1_aria_orientation_value);
			}

			if (dirty[0] & /*disabled*/ 1024) {
				attr(span1, "aria-disabled", /*disabled*/ ctx[10]);
			}

			if (dirty[0] & /*disabled*/ 1024) {
				attr(span1, "disabled", /*disabled*/ ctx[10]);
			}

			if (dirty[0] & /*disabled*/ 1024 && span1_tabindex_value !== (span1_tabindex_value = /*disabled*/ ctx[10] ? -1 : 0)) {
				attr(span1, "tabindex", span1_tabindex_value);
			}

			if (dirty[0] & /*focus, activeHandle*/ 83886080) {
				toggle_class(span1, "active", /*focus*/ ctx[24] && /*activeHandle*/ ctx[26] === /*index*/ ctx[66]);
			}

			if (dirty[0] & /*handlePressed, activeHandle*/ 100663296) {
				toggle_class(span1, "press", /*handlePressed*/ ctx[25] && /*activeHandle*/ ctx[26] === /*index*/ ctx[66]);
			}
		},
		d(detaching) {
			if (detaching) detach(span1);
			if (if_block) if_block.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (829:2) {#if range}
function RangeSlider_svelte_create_if_block_1(ctx) {
	let span;
	let span_style_value;

	return {
		c() {
			span = internal_element("span");
			attr(span, "class", "rangeBar");
			attr(span, "style", span_style_value = "" + (/*orientationStart*/ ctx[28] + ": " + /*rangeStart*/ ctx[32](/*$springPositions*/ ctx[29]) + "%; " + /*orientationEnd*/ ctx[27] + ": " + /*rangeEnd*/ ctx[33](/*$springPositions*/ ctx[29]) + "%;"));
		},
		m(target, anchor) {
			insert(target, span, anchor);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*orientationStart, $springPositions, orientationEnd*/ 939524096 && span_style_value !== (span_style_value = "" + (/*orientationStart*/ ctx[28] + ": " + /*rangeStart*/ ctx[32](/*$springPositions*/ ctx[29]) + "%; " + /*orientationEnd*/ ctx[27] + ": " + /*rangeEnd*/ ctx[33](/*$springPositions*/ ctx[29]) + "%;"))) {
				attr(span, "style", span_style_value);
			}
		},
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

// (835:2) {#if pips}
function RangeSlider_svelte_create_if_block(ctx) {
	let rangepips;
	let current;

	rangepips = new RangePips_svelte({
			props: {
				values: /*values*/ ctx[0],
				min: /*min*/ ctx[3],
				max: /*max*/ ctx[4],
				step: /*step*/ ctx[5],
				range: /*range*/ ctx[2],
				vertical: /*vertical*/ ctx[6],
				reversed: /*reversed*/ ctx[8],
				orientationStart: /*orientationStart*/ ctx[28],
				hoverable: /*hoverable*/ ctx[9],
				disabled: /*disabled*/ ctx[10],
				all: /*all*/ ctx[13],
				first: /*first*/ ctx[14],
				last: /*last*/ ctx[15],
				rest: /*rest*/ ctx[16],
				pipstep: /*pipstep*/ ctx[12],
				prefix: /*prefix*/ ctx[18],
				suffix: /*suffix*/ ctx[19],
				formatter: /*formatter*/ ctx[20],
				focus: /*focus*/ ctx[24],
				percentOf: /*percentOf*/ ctx[23],
				moveHandle: /*moveHandle*/ ctx[31],
				fixFloat: /*fixFloat*/ ctx[30]
			}
		});

	return {
		c() {
			create_component(rangepips.$$.fragment);
		},
		m(target, anchor) {
			mount_component(rangepips, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const rangepips_changes = {};
			if (dirty[0] & /*values*/ 1) rangepips_changes.values = /*values*/ ctx[0];
			if (dirty[0] & /*min*/ 8) rangepips_changes.min = /*min*/ ctx[3];
			if (dirty[0] & /*max*/ 16) rangepips_changes.max = /*max*/ ctx[4];
			if (dirty[0] & /*step*/ 32) rangepips_changes.step = /*step*/ ctx[5];
			if (dirty[0] & /*range*/ 4) rangepips_changes.range = /*range*/ ctx[2];
			if (dirty[0] & /*vertical*/ 64) rangepips_changes.vertical = /*vertical*/ ctx[6];
			if (dirty[0] & /*reversed*/ 256) rangepips_changes.reversed = /*reversed*/ ctx[8];
			if (dirty[0] & /*orientationStart*/ 268435456) rangepips_changes.orientationStart = /*orientationStart*/ ctx[28];
			if (dirty[0] & /*hoverable*/ 512) rangepips_changes.hoverable = /*hoverable*/ ctx[9];
			if (dirty[0] & /*disabled*/ 1024) rangepips_changes.disabled = /*disabled*/ ctx[10];
			if (dirty[0] & /*all*/ 8192) rangepips_changes.all = /*all*/ ctx[13];
			if (dirty[0] & /*first*/ 16384) rangepips_changes.first = /*first*/ ctx[14];
			if (dirty[0] & /*last*/ 32768) rangepips_changes.last = /*last*/ ctx[15];
			if (dirty[0] & /*rest*/ 65536) rangepips_changes.rest = /*rest*/ ctx[16];
			if (dirty[0] & /*pipstep*/ 4096) rangepips_changes.pipstep = /*pipstep*/ ctx[12];
			if (dirty[0] & /*prefix*/ 262144) rangepips_changes.prefix = /*prefix*/ ctx[18];
			if (dirty[0] & /*suffix*/ 524288) rangepips_changes.suffix = /*suffix*/ ctx[19];
			if (dirty[0] & /*formatter*/ 1048576) rangepips_changes.formatter = /*formatter*/ ctx[20];
			if (dirty[0] & /*focus*/ 16777216) rangepips_changes.focus = /*focus*/ ctx[24];
			if (dirty[0] & /*percentOf*/ 8388608) rangepips_changes.percentOf = /*percentOf*/ ctx[23];
			rangepips.$set(rangepips_changes);
		},
		i(local) {
			if (current) return;
			transition_in(rangepips.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(rangepips.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(rangepips, detaching);
		}
	};
}

function RangeSlider_svelte_create_fragment(ctx) {
	let div;
	let t0;
	let t1;
	let current;
	let mounted;
	let dispose;
	let each_value = /*values*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = RangeSlider_svelte_create_each_block(RangeSlider_svelte_get_each_context(ctx, each_value, i));
	}

	let if_block0 = /*range*/ ctx[2] && RangeSlider_svelte_create_if_block_1(ctx);
	let if_block1 = /*pips*/ ctx[11] && RangeSlider_svelte_create_if_block(ctx);

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t0 = space();
			if (if_block0) if_block0.c();
			t1 = space();
			if (if_block1) if_block1.c();
			attr(div, "id", /*id*/ ctx[17]);
			attr(div, "class", "rangeSlider");
			toggle_class(div, "range", /*range*/ ctx[2]);
			toggle_class(div, "disabled", /*disabled*/ ctx[10]);
			toggle_class(div, "hoverable", /*hoverable*/ ctx[9]);
			toggle_class(div, "vertical", /*vertical*/ ctx[6]);
			toggle_class(div, "reversed", /*reversed*/ ctx[8]);
			toggle_class(div, "focus", /*focus*/ ctx[24]);
			toggle_class(div, "min", /*range*/ ctx[2] === 'min');
			toggle_class(div, "max", /*range*/ ctx[2] === 'max');
			toggle_class(div, "pips", /*pips*/ ctx[11]);
			toggle_class(div, "pip-labels", /*all*/ ctx[13] === 'label' || /*first*/ ctx[14] === 'label' || /*last*/ ctx[15] === 'label' || /*rest*/ ctx[16] === 'label');
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}

			append(div, t0);
			if (if_block0) if_block0.m(div, null);
			append(div, t1);
			if (if_block1) if_block1.m(div, null);
			/*div_binding*/ ctx[50](div);
			current = true;

			if (!mounted) {
				dispose = [
					listen(window, "mousedown", /*bodyInteractStart*/ ctx[39]),
					listen(window, "touchstart", /*bodyInteractStart*/ ctx[39]),
					listen(window, "mousemove", /*bodyInteract*/ ctx[40]),
					listen(window, "touchmove", /*bodyInteract*/ ctx[40]),
					listen(window, "mouseup", /*bodyMouseUp*/ ctx[41]),
					listen(window, "touchend", /*bodyTouchEnd*/ ctx[42]),
					listen(window, "keydown", /*bodyKeyDown*/ ctx[43]),
					listen(div, "mousedown", /*sliderInteractStart*/ ctx[37]),
					listen(div, "mouseup", /*sliderInteractEnd*/ ctx[38]),
					listen(div, "touchstart", prevent_default(/*sliderInteractStart*/ ctx[37])),
					listen(div, "touchend", prevent_default(/*sliderInteractEnd*/ ctx[38]))
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty[0] & /*orientationStart, $springPositions, activeHandle, range, values, min, max, prefix, handleFormatter, percentOf, suffix, vertical, disabled, focus, handlePressed, float*/ 934020317 | dirty[1] & /*sliderBlurHandle, sliderFocusHandle, sliderKeydown*/ 56) {
				each_value = /*values*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = RangeSlider_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = RangeSlider_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div, t0);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if (/*range*/ ctx[2]) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = RangeSlider_svelte_create_if_block_1(ctx);
					if_block0.c();
					if_block0.m(div, t1);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (/*pips*/ ctx[11]) {
				if (if_block1) {
					if_block1.p(ctx, dirty);

					if (dirty[0] & /*pips*/ 2048) {
						transition_in(if_block1, 1);
					}
				} else {
					if_block1 = RangeSlider_svelte_create_if_block(ctx);
					if_block1.c();
					transition_in(if_block1, 1);
					if_block1.m(div, null);
				}
			} else if (if_block1) {
				group_outros();

				transition_out(if_block1, 1, 1, () => {
					if_block1 = null;
				});

				check_outros();
			}

			if (!current || dirty[0] & /*id*/ 131072) {
				attr(div, "id", /*id*/ ctx[17]);
			}

			if (dirty[0] & /*range*/ 4) {
				toggle_class(div, "range", /*range*/ ctx[2]);
			}

			if (dirty[0] & /*disabled*/ 1024) {
				toggle_class(div, "disabled", /*disabled*/ ctx[10]);
			}

			if (dirty[0] & /*hoverable*/ 512) {
				toggle_class(div, "hoverable", /*hoverable*/ ctx[9]);
			}

			if (dirty[0] & /*vertical*/ 64) {
				toggle_class(div, "vertical", /*vertical*/ ctx[6]);
			}

			if (dirty[0] & /*reversed*/ 256) {
				toggle_class(div, "reversed", /*reversed*/ ctx[8]);
			}

			if (dirty[0] & /*focus*/ 16777216) {
				toggle_class(div, "focus", /*focus*/ ctx[24]);
			}

			if (dirty[0] & /*range*/ 4) {
				toggle_class(div, "min", /*range*/ ctx[2] === 'min');
			}

			if (dirty[0] & /*range*/ 4) {
				toggle_class(div, "max", /*range*/ ctx[2] === 'max');
			}

			if (dirty[0] & /*pips*/ 2048) {
				toggle_class(div, "pips", /*pips*/ ctx[11]);
			}

			if (dirty[0] & /*all, first, last, rest*/ 122880) {
				toggle_class(div, "pip-labels", /*all*/ ctx[13] === 'label' || /*first*/ ctx[14] === 'label' || /*last*/ ctx[15] === 'label' || /*rest*/ ctx[16] === 'label');
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block1);
			current = true;
		},
		o(local) {
			transition_out(if_block1);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			/*div_binding*/ ctx[50](null);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function index(el) {
	if (!el) return -1;
	var i = 0;

	while (el = el.previousElementSibling) {
		i++;
	}

	return i;
}

/**
 * normalise a mouse or touch event to return the
 * client (x/y) object for that event
 * @param {event} e a mouse/touch event to normalise
 * @returns {object} normalised event client object (x,y)
 **/
function normalisedClient(e) {
	if (e.type.includes("touch")) {
		return e.touches[0];
	} else {
		return e;
	}
}

function RangeSlider_svelte_instance($$self, $$props, $$invalidate) {
	let percentOf;
	let clampValue;
	let alignValueToStep;
	let orientationStart;
	let orientationEnd;

	let $springPositions,
		$$unsubscribe_springPositions = internal_noop,
		$$subscribe_springPositions = () => ($$unsubscribe_springPositions(), $$unsubscribe_springPositions = internal_subscribe(springPositions, $$value => $$invalidate(29, $springPositions = $$value)), springPositions);

	$$self.$$.on_destroy.push(() => $$unsubscribe_springPositions());
	let { slider = undefined } = $$props;
	let { range = false } = $$props;
	let { pushy = false } = $$props;
	let { min = 0 } = $$props;
	let { max = 100 } = $$props;
	let { step = 1 } = $$props;
	let { values = [(max + min) / 2] } = $$props;
	let { vertical = false } = $$props;
	let { float = false } = $$props;
	let { reversed = false } = $$props;
	let { hoverable = true } = $$props;
	let { disabled = false } = $$props;
	let { pips = false } = $$props;
	let { pipstep = undefined } = $$props;
	let { all = undefined } = $$props;
	let { first = undefined } = $$props;
	let { last = undefined } = $$props;
	let { rest = undefined } = $$props;
	let { id = undefined } = $$props;
	let { prefix = "" } = $$props;
	let { suffix = "" } = $$props;
	let { formatter = (v, i, p) => v } = $$props;
	let { handleFormatter = formatter } = $$props;
	let { precision = 2 } = $$props;
	let { springValues = { stiffness: 0.15, damping: 0.4 } } = $$props;

	// prepare dispatched events
	const dispatch = createEventDispatcher();

	// state management
	let valueLength = 0;

	let focus = false;
	let handleActivated = false;
	let handlePressed = false;
	let keyboardActive = false;
	let activeHandle = values.length - 1;
	let startValue;
	let previousValue;

	// copy the initial values in to a spring function which
	// will update every time the values array is modified
	let springPositions;

	const fixFloat = v => parseFloat(v.toFixed(precision));
	;

	/**
 * check if an element is a handle on the slider
 * @param {object} el dom object reference we want to check
 * @returns {boolean}
 **/
	function targetIsHandle(el) {
		const handles = slider.querySelectorAll(".handle");
		const isHandle = Array.prototype.includes.call(handles, el);
		const isChild = Array.prototype.some.call(handles, e => e.contains(el));
		return isHandle || isChild;
	}

	/**
 * trim the values array based on whether the property
 * for 'range' is 'min', 'max', or truthy. This is because we
 * do not want more than one handle for a min/max range, and we do
 * not want more than two handles for a true range.
 * @param {array} values the input values for the rangeSlider
 * @return {array} the range array for creating a rangeSlider
 **/
	function trimRange(values) {
		if (range === "min" || range === "max") {
			return values.slice(0, 1);
		} else if (range) {
			return values.slice(0, 2);
		} else {
			return values;
		}
	}

	/**
 * helper to return the slider dimensions for finding
 * the closest handle to user interaction
 * @return {object} the range slider DOM client rect
 **/
	function getSliderDimensions() {
		return slider.getBoundingClientRect();
	}

	/**
 * helper to return closest handle to user interaction
 * @param {object} clientPos the client{x,y} positions to check against
 * @return {number} the index of the closest handle to clientPos
 **/
	function getClosestHandle(clientPos) {
		// first make sure we have the latest dimensions
		// of the slider, as it may have changed size
		const dims = getSliderDimensions();

		// calculate the interaction position, percent and value
		let handlePos = 0;

		let handlePercent = 0;
		let handleVal = 0;

		if (vertical) {
			handlePos = clientPos.clientY - dims.top;
			handlePercent = handlePos / dims.height * 100;
			handlePercent = reversed ? handlePercent : 100 - handlePercent;
		} else {
			handlePos = clientPos.clientX - dims.left;
			handlePercent = handlePos / dims.width * 100;
			handlePercent = reversed ? 100 - handlePercent : handlePercent;
		}

		handleVal = (max - min) / 100 * handlePercent + min;
		let closest;

		// if we have a range, and the handles are at the same
		// position, we want a simple check if the interaction
		// value is greater than return the second handle
		if (range === true && values[0] === values[1]) {
			if (handleVal > values[1]) {
				return 1;
			} else {
				return 0;
			}
		} else // we sort the handles values, and return the first one closest
		// to the interaction value
		{
			closest = values.indexOf([...values].sort((a, b) => Math.abs(handleVal - a) - Math.abs(handleVal - b))[0]); // if there are multiple handles, and not a range, then
		}

		return closest;
	}

	/**
 * take the interaction position on the slider, convert
 * it to a value on the range, and then send that value
 * through to the moveHandle() method to set the active
 * handle's position
 * @param {object} clientPos the client{x,y} of the interaction
 **/
	function handleInteract(clientPos) {
		// first make sure we have the latest dimensions
		// of the slider, as it may have changed size
		const dims = getSliderDimensions();

		// calculate the interaction position, percent and value
		let handlePos = 0;

		let handlePercent = 0;
		let handleVal = 0;

		if (vertical) {
			handlePos = clientPos.clientY - dims.top;
			handlePercent = handlePos / dims.height * 100;
			handlePercent = reversed ? handlePercent : 100 - handlePercent;
		} else {
			handlePos = clientPos.clientX - dims.left;
			handlePercent = handlePos / dims.width * 100;
			handlePercent = reversed ? 100 - handlePercent : handlePercent;
		}

		handleVal = (max - min) / 100 * handlePercent + min;

		// move handle to the value
		moveHandle(activeHandle, handleVal);
	}

	/**
 * move a handle to a specific value, respecting the clamp/align rules
 * @param {number} index the index of the handle we want to move
 * @param {number} value the value to move the handle to
 * @return {number} the value that was moved to (after alignment/clamping)
 **/
	function moveHandle(index, value) {
		// align & clamp the value so we're not doing extra
		// calculation on an out-of-range value down below
		value = alignValueToStep(value);

		// use the active handle if handle index is not provided
		if (typeof index === 'undefined') {
			index = activeHandle;
		}

		// if this is a range slider perform special checks
		if (range) {
			// restrict the handles of a range-slider from
			// going past one-another unless "pushy" is true
			if (index === 0 && value > values[1]) {
				if (pushy) {
					$$invalidate(0, values[1] = value, values);
				} else {
					value = values[1];
				}
			} else if (index === 1 && value < values[0]) {
				if (pushy) {
					$$invalidate(0, values[0] = value, values);
				} else {
					value = values[0];
				}
			}
		}

		// if the value has changed, update it
		if (values[index] !== value) {
			$$invalidate(0, values[index] = value, values);
		}

		// fire the change event when the handle moves,
		// and store the previous value for the next time
		if (previousValue !== value) {
			eChange();
			previousValue = value;
		}

		return value;
	}

	/**
 * helper to find the beginning range value for use with css style
 * @param {array} values the input values for the rangeSlider
 * @return {number} the beginning of the range
 **/
	function rangeStart(values) {
		if (range === "min") {
			return 0;
		} else {
			return values[0];
		}
	}

	/**
 * helper to find the ending range value for use with css style
 * @param {array} values the input values for the rangeSlider
 * @return {number} the end of the range
 **/
	function rangeEnd(values) {
		if (range === "max") {
			return 0;
		} else if (range === "min") {
			return 100 - values[0];
		} else {
			return 100 - values[1];
		}
	}

	/**
 * when the user has unfocussed (blurred) from the
 * slider, deactivate all handles
 * @param {event} e the event from browser
 **/
	function sliderBlurHandle(e) {
		if (keyboardActive) {
			$$invalidate(24, focus = false);
			handleActivated = false;
			$$invalidate(25, handlePressed = false);
		}
	}

	/**
 * when the user focusses the handle of a slider
 * set it to be active
 * @param {event} e the event from browser
 **/
	function sliderFocusHandle(e) {
		if (!disabled) {
			$$invalidate(26, activeHandle = index(e.target));
			$$invalidate(24, focus = true);
		}
	}

	/**
 * handle the keyboard accessible features by checking the
 * input type, and modfier key then moving handle by appropriate amount
 * @param {event} e the event from browser
 **/
	function sliderKeydown(e) {
		if (!disabled) {
			const handle = index(e.target);
			let jump = e.ctrlKey || e.metaKey || e.shiftKey ? step * 10 : step;
			let prevent = false;

			switch (e.key) {
				case "PageDown":
					jump *= 10;
				case "ArrowRight":
				case "ArrowUp":
					moveHandle(handle, values[handle] + jump);
					prevent = true;
					break;
				case "PageUp":
					jump *= 10;
				case "ArrowLeft":
				case "ArrowDown":
					moveHandle(handle, values[handle] - jump);
					prevent = true;
					break;
				case "Home":
					moveHandle(handle, min);
					prevent = true;
					break;
				case "End":
					moveHandle(handle, max);
					prevent = true;
					break;
			}

			if (prevent) {
				e.preventDefault();
				e.stopPropagation();
			}
		}
	}

	/**
 * function to run when the user touches
 * down on the slider element anywhere
 * @param {event} e the event from browser
 **/
	function sliderInteractStart(e) {
		if (!disabled) {
			const el = e.target;
			const clientPos = normalisedClient(e);

			// set the closest handle as active
			$$invalidate(24, focus = true);

			handleActivated = true;
			$$invalidate(25, handlePressed = true);
			$$invalidate(26, activeHandle = getClosestHandle(clientPos));

			// fire the start event
			startValue = previousValue = alignValueToStep(values[activeHandle]);

			eStart();

			// for touch devices we want the handle to instantly
			// move to the position touched for more responsive feeling
			if (e.type === "touchstart" && !el.matches(".pipVal")) {
				handleInteract(clientPos);
			}
		}
	}

	/**
 * function to run when the user stops touching
 * down on the slider element anywhere
 * @param {event} e the event from browser
 **/
	function sliderInteractEnd(e) {
		// fire the stop event for touch devices
		if (e.type === "touchend") {
			eStop();
		}

		$$invalidate(25, handlePressed = false);
	}

	/**
 * unfocus the slider if the user clicked off of
 * it, somewhere else on the screen
 * @param {event} e the event from browser
 **/
	function bodyInteractStart(e) {
		keyboardActive = false;

		if (focus && e.target !== slider && !slider.contains(e.target)) {
			$$invalidate(24, focus = false);
		}
	}

	/**
 * send the clientX through to handle the interaction
 * whenever the user moves acros screen while active
 * @param {event} e the event from browser
 **/
	function bodyInteract(e) {
		if (!disabled) {
			if (handleActivated) {
				handleInteract(normalisedClient(e));
			}
		}
	}

	/**
 * if user triggers mouseup on the body while
 * a handle is active (without moving) then we
 * trigger an interact event there
 * @param {event} e the event from browser
 **/
	function bodyMouseUp(e) {
		if (!disabled) {
			const el = e.target;

			// this only works if a handle is active, which can
			// only happen if there was sliderInteractStart triggered
			// on the slider, already
			if (handleActivated) {
				if (el === slider || slider.contains(el)) {
					$$invalidate(24, focus = true);

					// don't trigger interact if the target is a handle (no need) or
					// if the target is a label (we want to move to that value from rangePips)
					if (!targetIsHandle(el) && !el.matches(".pipVal")) {
						handleInteract(normalisedClient(e));
					}
				}

				// fire the stop event for mouse device
				// when the body is triggered with an active handle
				eStop();
			}
		}

		handleActivated = false;
		$$invalidate(25, handlePressed = false);
	}

	/**
 * if user triggers touchend on the body then we
 * defocus the slider completely
 * @param {event} e the event from browser
 **/
	function bodyTouchEnd(e) {
		handleActivated = false;
		$$invalidate(25, handlePressed = false);
	}

	function bodyKeyDown(e) {
		if (!disabled) {
			if (e.target === slider || slider.contains(e.target)) {
				keyboardActive = true;
			}
		}
	}

	function eStart() {
		!disabled && dispatch("start", {
			activeHandle,
			value: startValue,
			values: values.map(v => alignValueToStep(v))
		});
	}

	function eStop() {
		!disabled && dispatch("stop", {
			activeHandle,
			startValue,
			value: values[activeHandle],
			values: values.map(v => alignValueToStep(v))
		});
	}

	function eChange() {
		!disabled && dispatch("change", {
			activeHandle,
			startValue,
			previousValue: typeof previousValue === "undefined"
			? startValue
			: previousValue,
			value: values[activeHandle],
			values: values.map(v => alignValueToStep(v))
		});
	}

	function div_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			slider = $$value;
			$$invalidate(1, slider);
		});
	}

	$$self.$$set = $$props => {
		if ('slider' in $$props) $$invalidate(1, slider = $$props.slider);
		if ('range' in $$props) $$invalidate(2, range = $$props.range);
		if ('pushy' in $$props) $$invalidate(44, pushy = $$props.pushy);
		if ('min' in $$props) $$invalidate(3, min = $$props.min);
		if ('max' in $$props) $$invalidate(4, max = $$props.max);
		if ('step' in $$props) $$invalidate(5, step = $$props.step);
		if ('values' in $$props) $$invalidate(0, values = $$props.values);
		if ('vertical' in $$props) $$invalidate(6, vertical = $$props.vertical);
		if ('float' in $$props) $$invalidate(7, float = $$props.float);
		if ('reversed' in $$props) $$invalidate(8, reversed = $$props.reversed);
		if ('hoverable' in $$props) $$invalidate(9, hoverable = $$props.hoverable);
		if ('disabled' in $$props) $$invalidate(10, disabled = $$props.disabled);
		if ('pips' in $$props) $$invalidate(11, pips = $$props.pips);
		if ('pipstep' in $$props) $$invalidate(12, pipstep = $$props.pipstep);
		if ('all' in $$props) $$invalidate(13, all = $$props.all);
		if ('first' in $$props) $$invalidate(14, first = $$props.first);
		if ('last' in $$props) $$invalidate(15, last = $$props.last);
		if ('rest' in $$props) $$invalidate(16, rest = $$props.rest);
		if ('id' in $$props) $$invalidate(17, id = $$props.id);
		if ('prefix' in $$props) $$invalidate(18, prefix = $$props.prefix);
		if ('suffix' in $$props) $$invalidate(19, suffix = $$props.suffix);
		if ('formatter' in $$props) $$invalidate(20, formatter = $$props.formatter);
		if ('handleFormatter' in $$props) $$invalidate(21, handleFormatter = $$props.handleFormatter);
		if ('precision' in $$props) $$invalidate(45, precision = $$props.precision);
		if ('springValues' in $$props) $$invalidate(46, springValues = $$props.springValues);
	};

	$$self.$$.update = () => {
		if ($$self.$$.dirty[0] & /*min, max*/ 24) {
			/**
 * clamp a value from the range so that it always
 * falls within the min/max values
 * @param {number} val the value to clamp
 * @return {number} the value after it's been clamped
 **/
			$: $$invalidate(49, clampValue = function (val) {
				// return the min/max if outside of that range
				return val <= min ? min : val >= max ? max : val;
			});
		}

		if ($$self.$$.dirty[0] & /*min, max, step*/ 56 | $$self.$$.dirty[1] & /*clampValue*/ 262144) {
			/**
 * align the value with the steps so that it
 * always sits on the closest (above/below) step
 * @param {number} val the value to align
 * @return {number} the value after it's been aligned
 **/
			$: $$invalidate(48, alignValueToStep = function (val) {
				// sanity check for performance
				if (val <= min) {
					return fixFloat(min);
				} else if (val >= max) {
					return fixFloat(max);
				}

				// find the middle-point between steps
				// and see if the value is closer to the
				// next step, or previous step
				let remainder = (val - min) % step;

				let aligned = val - remainder;

				if (Math.abs(remainder) * 2 >= step) {
					aligned += remainder > 0 ? step : -step;
				}

				// make sure the value is within acceptable limits
				aligned = clampValue(aligned);

				// make sure the returned value is set to the precision desired
				// this is also because javascript often returns weird floats
				// when dealing with odd numbers and percentages
				return fixFloat(aligned);
			});
		}

		if ($$self.$$.dirty[0] & /*min, max*/ 24) {
			/**
 * take in a value, and then calculate that value's percentage
 * of the overall range (min-max);
 * @param {number} val the value we're getting percent for
 * @return {number} the percentage value
 **/
			$: $$invalidate(23, percentOf = function (val) {
				let perc = (val - min) / (max - min) * 100;

				if (isNaN(perc) || perc <= 0) {
					return 0;
				} else if (perc >= 100) {
					return 100;
				} else {
					return fixFloat(perc);
				}
			});
		}

		if ($$self.$$.dirty[0] & /*values, max, min, percentOf, springPositions*/ 12582937 | $$self.$$.dirty[1] & /*alignValueToStep, valueLength, springValues*/ 229376) {
			$: {
				// check that "values" is an array, or set it as array
				// to prevent any errors in springs, or range trimming
				if (!Array.isArray(values)) {
					$$invalidate(0, values = [(max + min) / 2]);
					console.error("'values' prop should be an Array (https://github.com/simeydotme/svelte-range-slider-pips#slider-props)");
				}

				// trim the range so it remains as a min/max (only 2 handles)
				// and also align the handles to the steps
				$$invalidate(0, values = trimRange(values.map(v => alignValueToStep(v))));

				// check if the valueLength (length of values[]) has changed,
				// because if so we need to re-seed the spring function with the
				// new values array.
				if (valueLength !== values.length) {
					// set the initial spring values when the slider initialises,
					// or when values array length has changed
					$$subscribe_springPositions($$invalidate(22, springPositions = spring(values.map(v => percentOf(v)), springValues)));
				} else {
					// update the value of the spring function for animated handles
					// whenever the values has updated
					springPositions.set(values.map(v => percentOf(v)));
				}

				// set the valueLength for the next check
				$$invalidate(47, valueLength = values.length);
			}
		}

		if ($$self.$$.dirty[0] & /*vertical, reversed*/ 320) {
			/**
 * the orientation of the handles/pips based on the
 * input values of vertical and reversed
 **/
			$: $$invalidate(28, orientationStart = vertical
			? reversed ? 'top' : 'bottom'
			: reversed ? 'right' : 'left');
		}

		if ($$self.$$.dirty[0] & /*vertical, reversed*/ 320) {
			$: $$invalidate(27, orientationEnd = vertical
			? reversed ? 'bottom' : 'top'
			: reversed ? 'left' : 'right');
		}
	};

	return [
		values,
		slider,
		range,
		min,
		max,
		step,
		vertical,
		float,
		reversed,
		hoverable,
		disabled,
		pips,
		pipstep,
		all,
		first,
		last,
		rest,
		id,
		prefix,
		suffix,
		formatter,
		handleFormatter,
		springPositions,
		percentOf,
		focus,
		handlePressed,
		activeHandle,
		orientationEnd,
		orientationStart,
		$springPositions,
		fixFloat,
		moveHandle,
		rangeStart,
		rangeEnd,
		sliderBlurHandle,
		sliderFocusHandle,
		sliderKeydown,
		sliderInteractStart,
		sliderInteractEnd,
		bodyInteractStart,
		bodyInteract,
		bodyMouseUp,
		bodyTouchEnd,
		bodyKeyDown,
		pushy,
		precision,
		springValues,
		valueLength,
		alignValueToStep,
		clampValue,
		div_binding
	];
}

class RangeSlider extends SvelteComponent {
	constructor(options) {
		super();

		init(
			this,
			options,
			RangeSlider_svelte_instance,
			RangeSlider_svelte_create_fragment,
			safe_not_equal,
			{
				slider: 1,
				range: 2,
				pushy: 44,
				min: 3,
				max: 4,
				step: 5,
				values: 0,
				vertical: 6,
				float: 7,
				reversed: 8,
				hoverable: 9,
				disabled: 10,
				pips: 11,
				pipstep: 12,
				all: 13,
				first: 14,
				last: 15,
				rest: 16,
				id: 17,
				prefix: 18,
				suffix: 19,
				formatter: 20,
				handleFormatter: 21,
				precision: 45,
				springValues: 46
			},
			RangeSlider_svelte_add_css,
			[-1, -1, -1]
		);
	}
}

/* harmony default export */ const RangeSlider_svelte = (RangeSlider);
;// CONCATENATED MODULE: ./src/views/gas-station/constants.js
function gas_station_constants_typeof(o) { "@babel/helpers - typeof"; return gas_station_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, gas_station_constants_typeof(o); }
function gas_station_constants_defineProperty(e, r, t) { return (r = gas_station_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function gas_station_constants_toPropertyKey(t) { var i = gas_station_constants_toPrimitive(t, "string"); return "symbol" == gas_station_constants_typeof(i) ? i : i + ""; }
function gas_station_constants_toPrimitive(t, r) { if ("object" != gas_station_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != gas_station_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
var FuelTypes = {
  Ninetysecond: 1,
  Ninetyfifth: 2,
  Hundredth: 3,
  Diesel: 0
};
var gas_station_constants_MAP_TYPE_TO_COLOR = gas_station_constants_defineProperty(gas_station_constants_defineProperty(gas_station_constants_defineProperty(gas_station_constants_defineProperty({}, FuelTypes.Ninetysecond, 'yellow'), FuelTypes.Ninetyfifth, 'green'), FuelTypes.Hundredth, 'blue'), FuelTypes.Diesel, 'red');
;// CONCATENATED MODULE: ./src/views/gas-station/index.svelte
/* src\views\gas-station\index.svelte generated by Svelte v3.49.0 */











// import { FUEL_TYPES_MOCK, PRODUCTS_MOCK } from './mock';




function gas_station_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[26] = list[i];
	return child_ctx;
}

function gas_station_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[29] = list[i];
	return child_ctx;
}

// (107:2) {#each fuelTypes as fuel}
function gas_station_index_svelte_create_each_block_1(ctx) {
	let div4;
	let div0;
	let span;
	let t0_value = /*fuel*/ ctx[29].title + "";
	let t0;
	let div0_class_value;
	let t1;
	let div3;
	let div1;
	let t2_value = `${/*fuel*/ ctx[29].price} ₽` + "";
	let t2;
	let t3;
	let div2;
	let t5;
	let div4_class_value;
	let mounted;
	let dispose;

	return {
		c() {
			div4 = internal_element("div");
			div0 = internal_element("div");
			span = internal_element("span");
			t0 = internal_text(t0_value);
			t1 = space();
			div3 = internal_element("div");
			div1 = internal_element("div");
			t2 = internal_text(t2_value);
			t3 = space();
			div2 = internal_element("div");
			div2.textContent = "/1л.";
			t5 = space();
			attr(span, "class", "gas-station__fuel-octane");
			attr(div0, "class", div0_class_value = "gas-station__fuel-button gas-station__fuel-button--" + gas_station_constants_MAP_TYPE_TO_COLOR[/*fuel*/ ctx[29].id]);
			attr(div1, "class", "gas-station__fuel-price-value");
			attr(div2, "class", "gas-station__units");
			attr(div3, "class", "gas-station__fuel-price");
			attr(div4, "class", div4_class_value = "gas-station__fuel-type gas-station__fuel-type--" + gas_station_constants_MAP_TYPE_TO_COLOR[/*fuel*/ ctx[29].id]);
			toggle_class(div4, "gas-station__fuel-type--disabled", !/*fuel*/ ctx[29].available);
			toggle_class(div4, "gas-station__fuel-type--active", /*fuel*/ ctx[29].id === /*selectedFuel*/ ctx[4].id);
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div0);
			append(div0, span);
			append(span, t0);
			append(div4, t1);
			append(div4, div3);
			append(div3, div1);
			append(div1, t2);
			append(div3, t3);
			append(div3, div2);
			append(div4, t5);

			if (!mounted) {
				dispose = listen(div4, "click", function () {
					if (internal_is_function(/*selectFuel*/ ctx[9](/*fuel*/ ctx[29]))) /*selectFuel*/ ctx[9](/*fuel*/ ctx[29]).apply(this, arguments);
				});

				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if (dirty[0] & /*fuelTypes*/ 32 && t0_value !== (t0_value = /*fuel*/ ctx[29].title + "")) set_data(t0, t0_value);

			if (dirty[0] & /*fuelTypes*/ 32 && div0_class_value !== (div0_class_value = "gas-station__fuel-button gas-station__fuel-button--" + gas_station_constants_MAP_TYPE_TO_COLOR[/*fuel*/ ctx[29].id])) {
				attr(div0, "class", div0_class_value);
			}

			if (dirty[0] & /*fuelTypes*/ 32 && t2_value !== (t2_value = `${/*fuel*/ ctx[29].price} ₽` + "")) set_data(t2, t2_value);

			if (dirty[0] & /*fuelTypes*/ 32 && div4_class_value !== (div4_class_value = "gas-station__fuel-type gas-station__fuel-type--" + gas_station_constants_MAP_TYPE_TO_COLOR[/*fuel*/ ctx[29].id])) {
				attr(div4, "class", div4_class_value);
			}

			if (dirty[0] & /*fuelTypes, fuelTypes*/ 32) {
				toggle_class(div4, "gas-station__fuel-type--disabled", !/*fuel*/ ctx[29].available);
			}

			if (dirty[0] & /*fuelTypes, fuelTypes, selectedFuel*/ 48) {
				toggle_class(div4, "gas-station__fuel-type--active", /*fuel*/ ctx[29].id === /*selectedFuel*/ ctx[4].id);
			}
		},
		d(detaching) {
			if (detaching) detach(div4);
			mounted = false;
			dispose();
		}
	};
}

// (138:3) {#if currentLiters < maxLiters}
function gas_station_index_svelte_create_if_block(ctx) {
	let div0;
	let t;
	let div1;
	let rangeslider;
	let updating_values;
	let current;

	function rangeslider_values_binding(value) {
		/*rangeslider_values_binding*/ ctx[14](value);
	}

	let rangeslider_props = {
		id: "gas-station-input",
		range: "min",
		min: 0,
		max: /*maxLiters*/ ctx[3] - /*currentLiters*/ ctx[1],
		step: 1,
		pipstep: 1,
		hoverable: false,
		springValues: { stiffness: 1, damping: 1 }
	};

	if (/*sliderValue*/ ctx[0] !== void 0) {
		rangeslider_props.values = /*sliderValue*/ ctx[0];
	}

	rangeslider = new RangeSlider_svelte({ props: rangeslider_props });
	binding_callbacks.push(() => bind(rangeslider, 'values', rangeslider_values_binding));

	return {
		c() {
			div0 = internal_element("div");
			t = space();
			div1 = internal_element("div");
			create_component(rangeslider.$$.fragment);
			attr(div0, "class", "gas-station__input-white-space");
			set_style(div1, "--range-slider", "rgba(255, 255, 255, .1)");
			set_style(div1, "--range-handle-inactive", "#FFFFFF");
			set_style(div1, "--range-handle-focus", "#FFFFFF");
			set_style(div1, "width", `${100 - /*offset*/ ctx[7]}%`);
		},
		m(target, anchor) {
			insert(target, div0, anchor);
			insert(target, t, anchor);
			insert(target, div1, anchor);
			mount_component(rangeslider, div1, null);
			current = true;
		},
		p(ctx, dirty) {
			const rangeslider_changes = {};
			if (dirty[0] & /*maxLiters, currentLiters*/ 10) rangeslider_changes.max = /*maxLiters*/ ctx[3] - /*currentLiters*/ ctx[1];

			if (!updating_values && dirty[0] & /*sliderValue*/ 1) {
				updating_values = true;
				rangeslider_changes.values = /*sliderValue*/ ctx[0];
				add_flush_callback(() => updating_values = false);
			}

			rangeslider.$set(rangeslider_changes);

			if (!current || dirty[0] & /*offset*/ 128) {
				set_style(div1, "width", `${100 - /*offset*/ ctx[7]}%`);
			}
		},
		i(local) {
			if (current) return;
			transition_in(rangeslider.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(rangeslider.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div0);
			if (detaching) detach(t);
			if (detaching) detach(div1);
			destroy_component(rangeslider);
		}
	};
}

// (178:2) {#each products as product}
function gas_station_index_svelte_create_each_block(ctx) {
	let div5;
	let div2;
	let img;
	let img_src_value;
	let t0;
	let div1;
	let t2;
	let div3;
	let t3_value = /*product*/ ctx[26].title + "";
	let t3;
	let t4;
	let div4;
	let span0;
	let t5_value = `${/*product*/ ctx[26].price} ₽` + "";
	let t5;
	let t6;
	let span1;
	let t8;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[15](/*product*/ ctx[26]);
	}

	return {
		c() {
			div5 = internal_element("div");
			div2 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div1 = internal_element("div");
			div1.innerHTML = `<div class="gas-station__product-button">Купить</div>`;
			t2 = space();
			div3 = internal_element("div");
			t3 = internal_text(t3_value);
			t4 = space();
			div4 = internal_element("div");
			span0 = internal_element("span");
			t5 = internal_text(t5_value);
			t6 = space();
			span1 = internal_element("span");
			span1.textContent = "/1шт";
			t8 = space();
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/assets/images/items/${/*product*/ ctx[26].image}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "canister");
			attr(img, "class", "gas-station__product-image");
			attr(div1, "class", "gas-station__product-overlay");
			attr(div2, "class", "gas-station__product-image-wrapper");
			attr(div3, "class", "gas-station__product-name");
			attr(span0, "class", "gas-station__product-price-value");
			attr(span1, "class", "gas-station__per-item");
			attr(div4, "class", "gas-station__product-price");
			attr(div5, "class", "gas-station__product");
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			append(div5, div2);
			append(div2, img);
			append(div2, t0);
			append(div2, div1);
			append(div5, t2);
			append(div5, div3);
			append(div3, t3);
			append(div5, t4);
			append(div5, div4);
			append(div4, span0);
			append(span0, t5);
			append(div4, t6);
			append(div4, span1);
			append(div5, t8);

			if (!mounted) {
				dispose = listen(div5, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty[0] & /*products*/ 64 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/assets/images/items/${/*product*/ ctx[26].image}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty[0] & /*products*/ 64 && t3_value !== (t3_value = /*product*/ ctx[26].title + "")) set_data(t3, t3_value);
			if (dirty[0] & /*products*/ 64 && t5_value !== (t5_value = `${/*product*/ ctx[26].price} ₽` + "")) set_data(t5, t5_value);
		},
		d(detaching) {
			if (detaching) detach(div5);
			mounted = false;
			dispose();
		}
	};
}

function gas_station_index_svelte_create_fragment(ctx) {
	let div22;
	let div1;
	let span1;
	let t1;
	let div0;
	let t4;
	let actionbutton;
	let t5;
	let div2;
	let t7;
	let div3;
	let t8;
	let div6;
	let div4;
	let t10;
	let div5;
	let span2;
	let t12;
	let span3;
	let t13_value = `${/*currentLiters*/ ctx[1]}л.` + "";
	let t13;
	let t14;
	let span4;
	let t16;
	let div7;
	let t17_value = `+${/*selectedLiters*/ ctx[2]}л.` + "";
	let t17;
	let t18;
	let div13;
	let div8;
	let t20;
	let div11;
	let div9;
	let t21;
	let div10;
	let t22;
	let t23;
	let div12;
	let t24_value = `${/*maxLiters*/ ctx[3]}л.` + "";
	let t24;
	let t25;
	let div18;
	let div14;
	let t27;
	let div17;
	let div15;
	let span5;
	let t29;
	let span6;
	let t30_value = formatMoney(/*total*/ ctx[8]) + "";
	let t30;
	let t31;
	let div16;
	let t33;
	let div20;
	let t35;
	let div21;
	let current;
	let mounted;
	let dispose;

	actionbutton = new index_svelte({
			props: {
				onPress: /*close*/ ctx[13],
				keyTitle: "Esc",
				postActionTitle: "Закрыть",
				keyCode: ESCAPE_BUTTON_CODE
			}
		});

	let each_value_1 = /*fuelTypes*/ ctx[5];
	let each_blocks_1 = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks_1[i] = gas_station_index_svelte_create_each_block_1(gas_station_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	let if_block = /*currentLiters*/ ctx[1] < /*maxLiters*/ ctx[3] && gas_station_index_svelte_create_if_block(ctx);
	let each_value = /*products*/ ctx[6];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = gas_station_index_svelte_create_each_block(gas_station_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div22 = internal_element("div");
			div1 = internal_element("div");
			span1 = internal_element("span");
			span1.innerHTML = `<span class="gas-station__brand--red">ЛУКОЙЛ</span>`;
			t1 = space();
			div0 = internal_element("div");
			div0.innerHTML = `Автомобильная<br/>заправочная станция`;
			t4 = space();
			create_component(actionbutton.$$.fragment);
			t5 = space();
			div2 = internal_element("div");
			div2.textContent = "Выберите тип топлива";
			t7 = space();
			div3 = internal_element("div");

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].c();
			}

			t8 = space();
			div6 = internal_element("div");
			div4 = internal_element("div");
			div4.textContent = "Выберите количество топлива";
			t10 = space();
			div5 = internal_element("div");
			span2 = internal_element("span");
			span2.textContent = "В баке:";
			t12 = space();
			span3 = internal_element("span");
			t13 = internal_text(t13_value);
			t14 = space();
			span4 = internal_element("span");
			span4.textContent = "Полный бак";
			t16 = space();
			div7 = internal_element("div");
			t17 = internal_text(t17_value);
			t18 = space();
			div13 = internal_element("div");
			div8 = internal_element("div");
			div8.textContent = "0л.";
			t20 = space();
			div11 = internal_element("div");
			div9 = internal_element("div");
			t21 = space();
			div10 = internal_element("div");
			t22 = space();
			if (if_block) if_block.c();
			t23 = space();
			div12 = internal_element("div");
			t24 = internal_text(t24_value);
			t25 = space();
			div18 = internal_element("div");
			div14 = internal_element("div");
			div14.textContent = "Итого к оплате";
			t27 = space();
			div17 = internal_element("div");
			div15 = internal_element("div");
			span5 = internal_element("span");
			span5.textContent = "₽";
			t29 = space();
			span6 = internal_element("span");
			t30 = internal_text(t30_value);
			t31 = space();
			div16 = internal_element("div");
			div16.innerHTML = `<span class="gas-station__cashout-text">Оплатить</span>`;
			t33 = space();
			div20 = internal_element("div");
			div20.innerHTML = `<div class="gas-station__purchase-caption">Купить с собой</div>`;
			t35 = space();
			div21 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(span1, "class", "gas-station__brand");
			attr(div0, "class", "gas-station__caption");
			attr(div1, "class", "gas-station__header");
			attr(div2, "class", "gas-station__type-caption");
			attr(div3, "class", "gas-station__fuel-types");
			attr(div4, "class", "gas-station__select-volume");
			attr(span2, "class", "gas-station__volume-caption");
			attr(span3, "class", "gas-station__volume-value");
			attr(span4, "class", "gas-station__fill-all-button");
			attr(div5, "class", "gas-station__current-volume");
			attr(div6, "class", "gas-station__fuel-volume");
			attr(div7, "class", "gas-station__selected-volume");
			attr(div8, "class", "gas-station__input-min-caption");
			attr(div9, "class", "gas-station__input-holder");
			attr(div10, "class", "gas-station__input-separator");
			attr(div11, "class", "gas-station__input-range");
			set_style(div11, "--holder-offset", /*offset*/ ctx[7] + "%");
			attr(div12, "class", "gas-station__input-max-caption");
			attr(div13, "class", "gas-station__input-wrapper");
			attr(div14, "class", "gas-station__total-caption");
			attr(span5, "class", "gas-station__dollar-sign");
			attr(span6, "class", "gas-station__total-value");
			attr(div15, "class", "gas-station__total-numbers");
			attr(div16, "class", "gas-station__cashout-button");
			attr(div17, "class", "gas-station__total-row");
			attr(div18, "class", "gas-station__total");
			attr(div20, "class", "gas-station__purchase");
			attr(div21, "class", "gas-station__products");
			attr(div22, "class", "gas-station");
		},
		m(target, anchor) {
			insert(target, div22, anchor);
			append(div22, div1);
			append(div1, span1);
			append(div1, t1);
			append(div1, div0);
			append(div1, t4);
			mount_component(actionbutton, div1, null);
			append(div22, t5);
			append(div22, div2);
			append(div22, t7);
			append(div22, div3);

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].m(div3, null);
			}

			append(div22, t8);
			append(div22, div6);
			append(div6, div4);
			append(div6, t10);
			append(div6, div5);
			append(div5, span2);
			append(div5, t12);
			append(div5, span3);
			append(span3, t13);
			append(div5, t14);
			append(div5, span4);
			append(div22, t16);
			append(div22, div7);
			append(div7, t17);
			append(div22, t18);
			append(div22, div13);
			append(div13, div8);
			append(div13, t20);
			append(div13, div11);
			append(div11, div9);
			append(div11, t21);
			append(div11, div10);
			append(div11, t22);
			if (if_block) if_block.m(div11, null);
			append(div13, t23);
			append(div13, div12);
			append(div12, t24);
			append(div22, t25);
			append(div22, div18);
			append(div18, div14);
			append(div18, t27);
			append(div18, div17);
			append(div17, div15);
			append(div15, span5);
			append(div15, t29);
			append(div15, span6);
			append(span6, t30);
			append(div17, t31);
			append(div17, div16);
			append(div22, t33);
			append(div22, div20);
			append(div22, t35);
			append(div22, div21);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div21, null);
			}

			current = true;

			if (!mounted) {
				dispose = [
					listen(span4, "click", /*selectMaxLiters*/ ctx[12]),
					listen(div16, "click", /*purchaseFuel*/ ctx[10])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty[0] & /*fuelTypes, selectedFuel, selectFuel*/ 560) {
				each_value_1 = /*fuelTypes*/ ctx[5];
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = gas_station_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks_1[i]) {
						each_blocks_1[i].p(child_ctx, dirty);
					} else {
						each_blocks_1[i] = gas_station_index_svelte_create_each_block_1(child_ctx);
						each_blocks_1[i].c();
						each_blocks_1[i].m(div3, null);
					}
				}

				for (; i < each_blocks_1.length; i += 1) {
					each_blocks_1[i].d(1);
				}

				each_blocks_1.length = each_value_1.length;
			}

			if ((!current || dirty[0] & /*currentLiters*/ 2) && t13_value !== (t13_value = `${/*currentLiters*/ ctx[1]}л.` + "")) set_data(t13, t13_value);
			if ((!current || dirty[0] & /*selectedLiters*/ 4) && t17_value !== (t17_value = `+${/*selectedLiters*/ ctx[2]}л.` + "")) set_data(t17, t17_value);

			if (/*currentLiters*/ ctx[1] < /*maxLiters*/ ctx[3]) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty[0] & /*currentLiters, maxLiters*/ 10) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = gas_station_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(div11, null);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}

			if (!current || dirty[0] & /*offset*/ 128) {
				set_style(div11, "--holder-offset", /*offset*/ ctx[7] + "%");
			}

			if ((!current || dirty[0] & /*maxLiters*/ 8) && t24_value !== (t24_value = `${/*maxLiters*/ ctx[3]}л.` + "")) set_data(t24, t24_value);
			if ((!current || dirty[0] & /*total*/ 256) && t30_value !== (t30_value = formatMoney(/*total*/ ctx[8]) + "")) set_data(t30, t30_value);

			if (dirty[0] & /*purchaseProduct, products*/ 2112) {
				each_value = /*products*/ ctx[6];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = gas_station_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = gas_station_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div21, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i(local) {
			if (current) return;
			transition_in(actionbutton.$$.fragment, local);
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(actionbutton.$$.fragment, local);
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div22);
			destroy_component(actionbutton);
			destroy_each(each_blocks_1, detaching);
			if (if_block) if_block.d();
			destroy_each(each_blocks, detaching);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function gas_station_index_svelte_instance($$self, $$props, $$invalidate) {
	let currentLiters = 0;
	let selectedLiters = 0;
	let maxLiters = 100;
	let selectedFuel = {};
	let fuelTypes = [];
	let products = [];
	let offset = 0;
	let total = 0;
	let sliderValue = [currentLiters];

	const calculateTotalPrice = () => {
		$$invalidate(8, total = selectedFuel.price * selectedLiters);
	};

	const calculateRangeInputOffset = () => {
		$$invalidate(7, offset = currentLiters * 100 / maxLiters);
	};

	const selectFuel = fuel => {
		$$invalidate(4, selectedFuel = fuel);
		calculateTotalPrice();
	};

	const initializeMaxLiters = max => {
		$$invalidate(3, maxLiters = max);
	};

	const unregisterInitializeMaxLiters = registerEvent('event.gasstation.initializeMaxLiters', initializeMaxLiters);

	const initializeCurrentLiters = liters => {
		$$invalidate(1, currentLiters = liters);
		calculateRangeInputOffset();
	};

	const unregisterInitializeCurrentLiters = registerEvent('event.gasstation.initializeCurrentLiters', initializeCurrentLiters);

	const initializeFuelTypes = types => {
		$$invalidate(5, fuelTypes = types);
		selectFuel(fuelTypes.find(({ available }) => available));
	};

	const unregisterInitializeFuelTypes = registerEvent('event.gasstation.initializeFuelTypes', initializeFuelTypes);

	const initializeProducts = _products => {
		$$invalidate(6, products = _products);
	};

	const unregisterInitializeProducts = registerEvent('event.gasstation.initializeProducts', initializeProducts);
	const purchaseFuel = () => sendClientMessage('purchaseFuel', selectedFuel.id, selectedLiters);
	const purchaseProduct = productId => sendClientMessage('purchaseProduct', productId);

	const selectMaxLiters = () => {
		$$invalidate(2, selectedLiters = maxLiters - currentLiters);
		$$invalidate(0, sliderValue = [selectedLiters]);
	};

	const close = () => {
		sendClientMessage('closeGasStation');
	};

	// initializeFuelTypes(FUEL_TYPES_MOCK);
	// initializeProducts(PRODUCTS_MOCK);
	// initializeMaxLiters(50);
	// initializeCurrentLiters(20);
	onDestroy(() => {
		unregisterInitializeMaxLiters();
		unregisterInitializeCurrentLiters();
		unregisterInitializeFuelTypes();
		unregisterInitializeProducts();
	});

	function rangeslider_values_binding(value) {
		sliderValue = value;
		$$invalidate(0, sliderValue);
	}

	const click_handler = product => purchaseProduct(product.id);

	$$self.$$.update = () => {
		if ($$self.$$.dirty[0] & /*sliderValue*/ 1) {
			$: {
				// eslint-disable-next-line prefer-destructuring
				$$invalidate(2, selectedLiters = sliderValue[0]);

				calculateTotalPrice();
			}
		}
	};

	return [
		sliderValue,
		currentLiters,
		selectedLiters,
		maxLiters,
		selectedFuel,
		fuelTypes,
		products,
		offset,
		total,
		selectFuel,
		purchaseFuel,
		purchaseProduct,
		selectMaxLiters,
		close,
		rangeslider_values_binding,
		click_handler
	];
}

class Gas_station extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, gas_station_index_svelte_instance, gas_station_index_svelte_create_fragment, safe_not_equal, {}, null, [-1, -1]);
	}
}

/* harmony default export */ const gas_station_index_svelte = (Gas_station);
;// CONCATENATED MODULE: ./src/store/auth-playback.js

var videoPaused = writable(false);
var videoMuted = writable(false);
;// CONCATENATED MODULE: ./src/views/video-background/video-control/index.svelte
/* src\views\video-background\video-control\index.svelte generated by Svelte v3.49.0 */




function video_control_index_svelte_create_fragment(ctx) {
	let div;
	let i;
	let i_class_value;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			i = internal_element("i");
			attr(i, "class", i_class_value = "auth-video-control__icon ui-" + /*icon*/ ctx[0]);
			attr(div, "class", "auth-video-control");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, i);

			if (!mounted) {
				dispose = listen(div, "click", function () {
					if (internal_is_function(/*onPressed*/ ctx[1])) /*onPressed*/ ctx[1].apply(this, arguments);
				});

				mounted = true;
			}
		},
		p(new_ctx, [dirty]) {
			ctx = new_ctx;

			if (dirty & /*icon*/ 1 && i_class_value !== (i_class_value = "auth-video-control__icon ui-" + /*icon*/ ctx[0])) {
				attr(i, "class", i_class_value);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

function video_control_index_svelte_instance($$self, $$props, $$invalidate) {
	let { icon = '' } = $$props;

	let { onPressed = () => {
		
	} } = $$props;

	$$self.$$set = $$props => {
		if ('icon' in $$props) $$invalidate(0, icon = $$props.icon);
		if ('onPressed' in $$props) $$invalidate(1, onPressed = $$props.onPressed);
	};

	return [icon, onPressed];
}

class Video_control extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, video_control_index_svelte_instance, video_control_index_svelte_create_fragment, safe_not_equal, { icon: 0, onPressed: 1 });
	}
}

/* harmony default export */ const video_control_index_svelte = (Video_control);
;// CONCATENATED MODULE: ./src/views/video-background/video-src/auth_video.webm
const auth_video_namespaceObject = __webpack_require__.p + "assets/7529e2266ac4c4eb88a2.webm";
;// CONCATENATED MODULE: ./src/views/video-background/video-src/registration_video.webm
const registration_video_namespaceObject = __webpack_require__.p + "assets/2e0197f9db785e3c0001.webm";
;// CONCATENATED MODULE: ./src/views/video-background/video-src/buyproperty.webm
const buyproperty_namespaceObject = __webpack_require__.p + "assets/4af7d3f68a4fdf28f68c.webm";
;// CONCATENATED MODULE: ./src/views/video-background/video-src/space_quest4_car.webm
const space_quest4_car_namespaceObject = __webpack_require__.p + "assets/7735960c9052a1b7a2c2.webm";
;// CONCATENATED MODULE: ./src/views/video-background/video-src/space_quest8_explosion.webm
const space_quest8_explosion_namespaceObject = __webpack_require__.p + "assets/7a9722bb9a9081105a19.webm";
;// CONCATENATED MODULE: ./src/views/video-background/constants.js
function video_background_constants_typeof(o) { "@babel/helpers - typeof"; return video_background_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, video_background_constants_typeof(o); }
function video_background_constants_defineProperty(e, r, t) { return (r = video_background_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function video_background_constants_toPropertyKey(t) { var i = video_background_constants_toPrimitive(t, "string"); return "symbol" == video_background_constants_typeof(i) ? i : i + ""; }
function video_background_constants_toPrimitive(t, r) { if ("object" != video_background_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != video_background_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }





var PlayerStates = {
  Pause: 'pause',
  Play: 'play',
  Mute: 'mute',
  Unmute: 'unmute'
};
var MAP_PLAYERSTATE_TO_ICON = video_background_constants_defineProperty(video_background_constants_defineProperty(video_background_constants_defineProperty(video_background_constants_defineProperty({}, PlayerStates.Pause, 'auth-play'), PlayerStates.Play, 'auth-pause'), PlayerStates.Mute, 'auth-volume-high'), PlayerStates.Unmute, 'auth-volume-mute');
var Names = {
  Signin: 'signin',
  Signup: 'signup',
  BuypropertyVideo: 'buyproperty',
  Seq4CarVideo: 'space_quest4_car',
  Seq8ExplosionVideo: 'space_quest8_explosion'
};
var MAP_NAME_TO_VIEDO_SRC = video_background_constants_defineProperty(video_background_constants_defineProperty(video_background_constants_defineProperty(video_background_constants_defineProperty(video_background_constants_defineProperty({}, Names.Signin, auth_video_namespaceObject), Names.Signup, registration_video_namespaceObject), Names.BuypropertyVideo, buyproperty_namespaceObject), Names.Seq4CarVideo, space_quest4_car_namespaceObject), Names.Seq8ExplosionVideo, space_quest8_explosion_namespaceObject);
var MAP_NAME_TO_CLASS = video_background_constants_defineProperty(video_background_constants_defineProperty(video_background_constants_defineProperty(video_background_constants_defineProperty(video_background_constants_defineProperty({}, Names.Signin, ''), Names.Signup, ''), Names.BuypropertyVideo, ''), Names.Seq4CarVideo, ''), Names.Seq8ExplosionVideo, '');
;// CONCATENATED MODULE: ./src/views/video-background/store.js



var setVideoName = writable(function () {});
var backgroundVideoName = writable('');
var backgroundVideoNeedNotifyOnEnd = writable(false);
registerEvent('event.updateBackgroundVideoData', function (visible) {
  var videoName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
  var notifyOnEnd = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
  if (visible && videoName) {
    backgroundVideoName.set(videoName);
    get_store_value(setVideoName)(videoName);
  }
  backgroundVideoNeedNotifyOnEnd.set(notifyOnEnd);
  videoBackgroundVisible.set(visible);
});
;// CONCATENATED MODULE: ./src/views/video-background/index.svelte
/* src\views\video-background\index.svelte generated by Svelte v3.49.0 */















function video_background_index_svelte_create_fragment(ctx) {
	let div2;
	let video;
	let source;
	let source_src_value;
	let video_loop_value;
	let t0;
	let div0;
	let videocontrol0;
	let div0_class_value;
	let t1;
	let div1;
	let videocontrol1;
	let div1_class_value;
	let current;
	let mounted;
	let dispose;

	videocontrol0 = new video_control_index_svelte({
			props: {
				icon: MAP_PLAYERSTATE_TO_ICON[/*playbackStateIcon*/ ctx[3]],
				onPressed: /*pauseVideo*/ ctx[6]
			}
		});

	videocontrol1 = new video_control_index_svelte({
			props: {
				icon: MAP_PLAYERSTATE_TO_ICON[/*volumeStateIcon*/ ctx[4]],
				onPressed: /*mute*/ ctx[7]
			}
		});

	return {
		c() {
			div2 = internal_element("div");
			video = internal_element("video");
			source = internal_element("source");
			t0 = space();
			div0 = internal_element("div");
			create_component(videocontrol0.$$.fragment);
			t1 = space();
			div1 = internal_element("div");
			create_component(videocontrol1.$$.fragment);
			if (!src_url_equal(source.src, source_src_value = /*videoFile*/ ctx[2])) attr(source, "src", source_src_value);
			attr(source, "type", "video/mp4");
			video.playsInline = true;
			video.autoplay = true;
			attr(video, "class", "video-background__player");
			video.loop = video_loop_value = !/*$backgroundVideoNeedNotifyOnEnd*/ ctx[5];
			attr(div0, "class", div0_class_value = "video-background__video-control video-background__video-control--pause " + MAP_NAME_TO_CLASS[/*videoName*/ ctx[0]]);
			attr(div1, "class", div1_class_value = "video-background__video-control video-background__video-control--mute " + MAP_NAME_TO_CLASS[/*videoName*/ ctx[0]]);
			attr(div2, "class", "video-background");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, video);
			append(video, source);
			/*video_binding*/ ctx[9](video);
			append(div2, t0);
			append(div2, div0);
			mount_component(videocontrol0, div0, null);
			append(div2, t1);
			append(div2, div1);
			mount_component(videocontrol1, div1, null);
			current = true;

			if (!mounted) {
				dispose = listen(video, "ended", /*handleVideoEnd*/ ctx[8]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (!current || dirty & /*videoFile*/ 4 && !src_url_equal(source.src, source_src_value = /*videoFile*/ ctx[2])) {
				attr(source, "src", source_src_value);
			}

			if (!current || dirty & /*$backgroundVideoNeedNotifyOnEnd*/ 32 && video_loop_value !== (video_loop_value = !/*$backgroundVideoNeedNotifyOnEnd*/ ctx[5])) {
				video.loop = video_loop_value;
			}

			const videocontrol0_changes = {};
			if (dirty & /*playbackStateIcon*/ 8) videocontrol0_changes.icon = MAP_PLAYERSTATE_TO_ICON[/*playbackStateIcon*/ ctx[3]];
			videocontrol0.$set(videocontrol0_changes);

			if (!current || dirty & /*videoName*/ 1 && div0_class_value !== (div0_class_value = "video-background__video-control video-background__video-control--pause " + MAP_NAME_TO_CLASS[/*videoName*/ ctx[0]])) {
				attr(div0, "class", div0_class_value);
			}

			const videocontrol1_changes = {};
			if (dirty & /*volumeStateIcon*/ 16) videocontrol1_changes.icon = MAP_PLAYERSTATE_TO_ICON[/*volumeStateIcon*/ ctx[4]];
			videocontrol1.$set(videocontrol1_changes);

			if (!current || dirty & /*videoName*/ 1 && div1_class_value !== (div1_class_value = "video-background__video-control video-background__video-control--mute " + MAP_NAME_TO_CLASS[/*videoName*/ ctx[0]])) {
				attr(div1, "class", div1_class_value);
			}
		},
		i(local) {
			if (current) return;
			transition_in(videocontrol0.$$.fragment, local);
			transition_in(videocontrol1.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(videocontrol0.$$.fragment, local);
			transition_out(videocontrol1.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div2);
			/*video_binding*/ ctx[9](null);
			destroy_component(videocontrol0);
			destroy_component(videocontrol1);
			mounted = false;
			dispose();
		}
	};
}

function video_background_index_svelte_instance($$self, $$props, $$invalidate) {
	let $setVideoName;
	let $videoMuted;
	let $backgroundVideoName;
	let $backgroundVideoNeedNotifyOnEnd;
	let $videoPaused;
	component_subscribe($$self, setVideoName, $$value => $$invalidate(10, $setVideoName = $$value));
	component_subscribe($$self, videoMuted, $$value => $$invalidate(11, $videoMuted = $$value));
	component_subscribe($$self, backgroundVideoName, $$value => $$invalidate(12, $backgroundVideoName = $$value));
	component_subscribe($$self, backgroundVideoNeedNotifyOnEnd, $$value => $$invalidate(5, $backgroundVideoNeedNotifyOnEnd = $$value));
	component_subscribe($$self, videoPaused, $$value => $$invalidate(13, $videoPaused = $$value));
	let videoName = '';
	let videoBack = null;
	let videoFile = MAP_NAME_TO_VIEDO_SRC[videoName];
	let playbackStateIcon = PlayerStates.Play;
	let volumeStateIcon = PlayerStates.Mute;

	const setPauseStatus = paused => {
		if ($videoPaused === paused) {
			return;
		}

		if (paused) {
			$$invalidate(3, playbackStateIcon = PlayerStates.Pause);
			videoBack.pause();
		} else {
			$$invalidate(3, playbackStateIcon = PlayerStates.Play);
			videoBack.play();
		}

		set_store_value(videoPaused, $videoPaused = paused, $videoPaused);
	};

	const pauseVideo = () => {
		setPauseStatus(!$videoPaused);
		window.cef.RegWrite2(RegPaths.Auth, RegKeys.Paused, $videoPaused, true);
	};

	const setMuteStatus = muted => {
		if ($videoMuted === muted) {
			return;
		}

		$$invalidate(4, volumeStateIcon = !muted ? PlayerStates.Mute : PlayerStates.Unmute);
		$$invalidate(1, videoBack.muted = muted, videoBack);
		set_store_value(videoMuted, $videoMuted = muted, $videoMuted);
	};

	const mute = () => {
		setMuteStatus(!$videoMuted);
		window.cef.RegWrite2(RegPaths.Auth, RegKeys.Muted, $videoMuted, true);
	};

	const handleVideoEnd = () => {
		if (!$backgroundVideoNeedNotifyOnEnd) {
			return;
		}

		sendClientMessage('backgroundVideoEnd', videoName);
	};

	const unregisterUpdateVideoNameEvent = registerEvent('event.videoBackground.updateVideoName', $setVideoName);

	onMount(() => {
		window.cef.onRegRead = (path = '', data = '') => {
			switch (path) {
				case `${RegPaths.Auth}:${RegKeys.Muted}`:
					setMuteStatus(data === '1');
					break;
				case `${RegPaths.Auth}:${RegKeys.Paused}`:
					setPauseStatus(data === '1');
					break;
				default:
					break;
			}
		};

		window.cef.RegRead2(RegPaths.Auth, RegKeys.Paused);
		window.cef.RegRead2(RegPaths.Auth, RegKeys.Muted);
		const defaultVideoName = $backgroundVideoName || '';

		set_store_value(
			setVideoName,
			$setVideoName = name => {
				if (videoName === name) {
					return;
				}

				$$invalidate(0, videoName = name);
				$$invalidate(2, videoFile = MAP_NAME_TO_VIEDO_SRC[videoName]);
				videoBack.load();
				setPauseStatus(false);
				setMuteStatus($videoMuted);
			},
			$setVideoName
		);

		$setVideoName(defaultVideoName || Names.Signin);
	});

	onDestroy(() => {
		unregisterUpdateVideoNameEvent();
	});

	function video_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			videoBack = $$value;
			$$invalidate(1, videoBack);
		});
	}

	return [
		videoName,
		videoBack,
		videoFile,
		playbackStateIcon,
		volumeStateIcon,
		$backgroundVideoNeedNotifyOnEnd,
		pauseVideo,
		mute,
		handleVideoEnd,
		video_binding
	];
}

class Video_background extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, video_background_index_svelte_instance, video_background_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const video_background_index_svelte = (Video_background);
;// CONCATENATED MODULE: ./src/views/auth/img/logo-rodina.svg
const logo_rodina_namespaceObject = __webpack_require__.p + "assets/0cd9cafc3f51e2da7e83.svg";
;// CONCATENATED MODULE: ./src/components/loader/index.svelte
/* src\components\loader\index.svelte generated by Svelte v3.49.0 */




function loader_index_svelte_create_fragment(ctx) {
	let div;
	let div_class_value;

	return {
		c() {
			div = internal_element("div");
			attr(div, "class", div_class_value = "loader loader--" + /*style*/ ctx[1]);
			toggle_class(div, "loader--dark", /*dark*/ ctx[0]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p(ctx, [dirty]) {
			if (dirty & /*style*/ 2 && div_class_value !== (div_class_value = "loader loader--" + /*style*/ ctx[1])) {
				attr(div, "class", div_class_value);
			}

			if (dirty & /*style, dark*/ 3) {
				toggle_class(div, "loader--dark", /*dark*/ ctx[0]);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function loader_index_svelte_instance($$self, $$props, $$invalidate) {
	let { dark = false } = $$props;
	let { style = '' } = $$props;

	$$self.$$set = $$props => {
		if ('dark' in $$props) $$invalidate(0, dark = $$props.dark);
		if ('style' in $$props) $$invalidate(1, style = $$props.style);
	};

	return [dark, style];
}

class Loader extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, loader_index_svelte_instance, loader_index_svelte_create_fragment, safe_not_equal, { dark: 0, style: 1 });
	}
}

/* harmony default export */ const loader_index_svelte = (Loader);
;// CONCATENATED MODULE: ./src/views/auth/components/field/index.svelte
/* src\views\auth\components\field\index.svelte generated by Svelte v3.49.0 */






function field_index_svelte_create_else_block(ctx) {
	let input;
	let mounted;
	let dispose;

	return {
		c() {
			input = internal_element("input");
			attr(input, "type", "text");
			attr(input, "class", "auth-field__input");
		},
		m(target, anchor) {
			insert(target, input, anchor);
			set_input_value(input, /*fieldValue*/ ctx[0]);

			if (!mounted) {
				dispose = [
					listen(input, "keyup", /*checkValidation*/ ctx[10]),
					listen(input, "focus", /*minify*/ ctx[11]),
					listen(input, "blur", /*focuseOut*/ ctx[12]),
					listen(input, "input", /*input_input_handler_1*/ ctx[19])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*fieldValue*/ 1 && input.value !== /*fieldValue*/ ctx[0]) {
				set_input_value(input, /*fieldValue*/ ctx[0]);
			}
		},
		d(detaching) {
			if (detaching) detach(input);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (70:2) {#if type === 'password'}
function field_index_svelte_create_if_block_5(ctx) {
	let input;
	let mounted;
	let dispose;

	return {
		c() {
			input = internal_element("input");
			attr(input, "type", "password");
			attr(input, "class", "auth-field__input");
		},
		m(target, anchor) {
			insert(target, input, anchor);
			set_input_value(input, /*fieldValue*/ ctx[0]);

			if (!mounted) {
				dispose = [
					listen(input, "keyup", /*checkValidation*/ ctx[10]),
					listen(input, "focus", /*minify*/ ctx[11]),
					listen(input, "blur", /*focuseOut*/ ctx[12]),
					listen(input, "input", /*input_input_handler*/ ctx[18])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*fieldValue*/ 1 && input.value !== /*fieldValue*/ ctx[0]) {
				set_input_value(input, /*fieldValue*/ ctx[0]);
			}
		},
		d(detaching) {
			if (detaching) detach(input);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (91:3) {#if type === 'password'}
function field_index_svelte_create_if_block_3(ctx) {
	let t0;
	let span;
	let t1;
	let if_block = /*$capsLockEnabled*/ ctx[8] && field_index_svelte_create_if_block_4(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			t0 = space();
			span = internal_element("span");
			t1 = internal_text(/*$languageLayout*/ ctx[9]);
			attr(span, "class", "auth-field__keyboard-language");
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, t0, anchor);
			insert(target, span, anchor);
			append(span, t1);
		},
		p(ctx, dirty) {
			if (/*$capsLockEnabled*/ ctx[8]) {
				if (if_block) {
					
				} else {
					if_block = field_index_svelte_create_if_block_4(ctx);
					if_block.c();
					if_block.m(t0.parentNode, t0);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (dirty & /*$languageLayout*/ 512) set_data(t1, /*$languageLayout*/ ctx[9]);
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(t0);
			if (detaching) detach(span);
		}
	};
}

// (92:4) {#if $capsLockEnabled}
function field_index_svelte_create_if_block_4(ctx) {
	let span;

	return {
		c() {
			span = internal_element("span");
			span.textContent = "caps";
			attr(span, "class", "auth-field__caps");
		},
		m(target, anchor) {
			insert(target, span, anchor);
		},
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

// (99:33) 
function field_index_svelte_create_if_block_2(ctx) {
	let div;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "!";
			attr(div, "class", "auth-field__status-error");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = [
					listen(div, "mouseenter", /*showTooltip*/ ctx[13]),
					listen(div, "mouseleave", /*hideTooltip*/ ctx[14])
				];

				mounted = true;
			}
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (97:3) {#if validated === true}
function field_index_svelte_create_if_block_1(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "auth-field__status-accept ui-accepte");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (107:2) {#if tooltipVisible && !isEmpty(tooltipText)}
function field_index_svelte_create_if_block(ctx) {
	let span1;
	let span0;
	let t;

	return {
		c() {
			span1 = internal_element("span");
			span0 = internal_element("span");
			t = internal_text(/*tooltipText*/ ctx[5]);
			attr(span0, "class", "auth-field__tooltip-text");
			attr(span1, "class", "auth-field__tooltip");
		},
		m(target, anchor) {
			insert(target, span1, anchor);
			append(span1, span0);
			append(span0, t);
		},
		p(ctx, dirty) {
			if (dirty & /*tooltipText*/ 32) set_data(t, /*tooltipText*/ ctx[5]);
		},
		d(detaching) {
			if (detaching) detach(span1);
		}
	};
}

function field_index_svelte_create_fragment(ctx) {
	let div2;
	let p;
	let t0;
	let t1;
	let div0;
	let i;
	let i_class_value;
	let t2;
	let t3;
	let div1;
	let t4;
	let t5;
	let show_if = /*tooltipVisible*/ ctx[7] && !(0,lodash.isEmpty)(/*tooltipText*/ ctx[5]);

	function select_block_type(ctx, dirty) {
		if (/*type*/ ctx[4] === 'password') return field_index_svelte_create_if_block_5;
		return field_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block0 = current_block_type(ctx);
	let if_block1 = /*type*/ ctx[4] === 'password' && field_index_svelte_create_if_block_3(ctx);

	function select_block_type_1(ctx, dirty) {
		if (/*validated*/ ctx[1] === true) return field_index_svelte_create_if_block_1;
		if (/*validated*/ ctx[1] === false) return field_index_svelte_create_if_block_2;
	}

	let current_block_type_1 = select_block_type_1(ctx, -1);
	let if_block2 = current_block_type_1 && current_block_type_1(ctx);
	let if_block3 = show_if && field_index_svelte_create_if_block(ctx);

	return {
		c() {
			div2 = internal_element("div");
			p = internal_element("p");
			t0 = internal_text(/*label*/ ctx[3]);
			t1 = space();
			div0 = internal_element("div");
			i = internal_element("i");
			t2 = space();
			if_block0.c();
			t3 = space();
			div1 = internal_element("div");
			if (if_block1) if_block1.c();
			t4 = space();
			if (if_block2) if_block2.c();
			t5 = space();
			if (if_block3) if_block3.c();
			attr(p, "class", "auth-field__label");
			toggle_class(p, "auth-field__label--minified", /*minified*/ ctx[6]);
			attr(i, "class", i_class_value = "auth-field__input-icon ui-" + /*icon*/ ctx[2]);
			attr(div0, "class", "auth-field__input-row");
			toggle_class(div0, "auth-field__input-row--pulled", /*minified*/ ctx[6]);
			attr(div1, "class", "auth-field__indicators");
			attr(div2, "class", "auth-field");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, p);
			append(p, t0);
			append(div2, t1);
			append(div2, div0);
			append(div0, i);
			append(div0, t2);
			if_block0.m(div0, null);
			append(div2, t3);
			append(div2, div1);
			if (if_block1) if_block1.m(div1, null);
			append(div1, t4);
			if (if_block2) if_block2.m(div1, null);
			append(div2, t5);
			if (if_block3) if_block3.m(div2, null);
		},
		p(ctx, [dirty]) {
			if (dirty & /*label*/ 8) set_data(t0, /*label*/ ctx[3]);

			if (dirty & /*minified*/ 64) {
				toggle_class(p, "auth-field__label--minified", /*minified*/ ctx[6]);
			}

			if (dirty & /*icon*/ 4 && i_class_value !== (i_class_value = "auth-field__input-icon ui-" + /*icon*/ ctx[2])) {
				attr(i, "class", i_class_value);
			}

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block0) {
				if_block0.p(ctx, dirty);
			} else {
				if_block0.d(1);
				if_block0 = current_block_type(ctx);

				if (if_block0) {
					if_block0.c();
					if_block0.m(div0, null);
				}
			}

			if (dirty & /*minified*/ 64) {
				toggle_class(div0, "auth-field__input-row--pulled", /*minified*/ ctx[6]);
			}

			if (/*type*/ ctx[4] === 'password') {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = field_index_svelte_create_if_block_3(ctx);
					if_block1.c();
					if_block1.m(div1, t4);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (current_block_type_1 === (current_block_type_1 = select_block_type_1(ctx, dirty)) && if_block2) {
				if_block2.p(ctx, dirty);
			} else {
				if (if_block2) if_block2.d(1);
				if_block2 = current_block_type_1 && current_block_type_1(ctx);

				if (if_block2) {
					if_block2.c();
					if_block2.m(div1, null);
				}
			}

			if (dirty & /*tooltipVisible, tooltipText*/ 160) show_if = /*tooltipVisible*/ ctx[7] && !(0,lodash.isEmpty)(/*tooltipText*/ ctx[5]);

			if (show_if) {
				if (if_block3) {
					if_block3.p(ctx, dirty);
				} else {
					if_block3 = field_index_svelte_create_if_block(ctx);
					if_block3.c();
					if_block3.m(div2, null);
				}
			} else if (if_block3) {
				if_block3.d(1);
				if_block3 = null;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div2);
			if_block0.d();
			if (if_block1) if_block1.d();

			if (if_block2) {
				if_block2.d();
			}

			if (if_block3) if_block3.d();
		}
	};
}

function field_index_svelte_instance($$self, $$props, $$invalidate) {
	let $capsLockEnabled;
	let $languageLayout;
	component_subscribe($$self, capsLockEnabled, $$value => $$invalidate(8, $capsLockEnabled = $$value));
	component_subscribe($$self, languageLayout, $$value => $$invalidate(9, $languageLayout = $$value));
	let { icon = '' } = $$props;
	let { label = '' } = $$props;
	let { type = '' } = $$props;
	let { fieldValue = '' } = $$props;
	let { validated = null } = $$props;
	let { regex = null } = $$props;
	let { required = false } = $$props;
	let { tooltipText = '' } = $$props;
	let minified = false;
	let focused = false;
	let tooltipVisible = false;

	const checkValidation = () => {
		if (!required && (0,lodash.isNil)(regex)) {
			return;
		}

		if (required && (0,lodash.isNil)(regex) && !(0,lodash.isEmpty)(fieldValue)) {
			$$invalidate(1, validated = true);
		}

		if ((0,lodash.isNil)(regex) && required && (0,lodash.isEmpty)(fieldValue)) {
			$$invalidate(1, validated = false);
		}

		if (required && !(0,lodash.isNil)(regex)) {
			$$invalidate(1, validated = regex.test(fieldValue));
		}
	};

	const minify = () => {
		$$invalidate(17, focused = true);

		if ((0,lodash.isEmpty)(fieldValue)) {
			$$invalidate(6, minified = true);
		}
	};

	const focuseOut = () => {
		$$invalidate(17, focused = false);
		checkValidation();
	};

	const showTooltip = () => {
		$$invalidate(7, tooltipVisible = true);
	};

	const hideTooltip = () => {
		$$invalidate(7, tooltipVisible = true);
	};

	function input_input_handler() {
		fieldValue = this.value;
		$$invalidate(0, fieldValue);
	}

	function input_input_handler_1() {
		fieldValue = this.value;
		$$invalidate(0, fieldValue);
	}

	$$self.$$set = $$props => {
		if ('icon' in $$props) $$invalidate(2, icon = $$props.icon);
		if ('label' in $$props) $$invalidate(3, label = $$props.label);
		if ('type' in $$props) $$invalidate(4, type = $$props.type);
		if ('fieldValue' in $$props) $$invalidate(0, fieldValue = $$props.fieldValue);
		if ('validated' in $$props) $$invalidate(1, validated = $$props.validated);
		if ('regex' in $$props) $$invalidate(15, regex = $$props.regex);
		if ('required' in $$props) $$invalidate(16, required = $$props.required);
		if ('tooltipText' in $$props) $$invalidate(5, tooltipText = $$props.tooltipText);
	};

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*focused, fieldValue*/ 131073) {
			$: {
				if (!focused) {
					$$invalidate(6, minified = !(0,lodash.isEmpty)(fieldValue));
				}
			}
		}
	};

	return [
		fieldValue,
		validated,
		icon,
		label,
		type,
		tooltipText,
		minified,
		tooltipVisible,
		$capsLockEnabled,
		$languageLayout,
		checkValidation,
		minify,
		focuseOut,
		showTooltip,
		hideTooltip,
		regex,
		required,
		focused,
		input_input_handler,
		input_input_handler_1
	];
}

class Field extends SvelteComponent {
	constructor(options) {
		super();

		init(this, options, field_index_svelte_instance, field_index_svelte_create_fragment, safe_not_equal, {
			icon: 2,
			label: 3,
			type: 4,
			fieldValue: 0,
			validated: 1,
			regex: 15,
			required: 16,
			tooltipText: 5
		});
	}
}

/* harmony default export */ const field_index_svelte = (Field);
;// CONCATENATED MODULE: ./src/views/auth/components/red-button/index.svelte
/* src\views\auth\components\red-button\index.svelte generated by Svelte v3.49.0 */




function red_button_index_svelte_create_fragment(ctx) {
	let div;
	let span;
	let t;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			span = internal_element("span");
			t = internal_text(/*text*/ ctx[1]);
			attr(span, "class", "auth-red-button__text");
			attr(div, "class", "auth-red-button");
			toggle_class(div, "auth-red-button--disabled", /*disabled*/ ctx[2]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, span);
			append(span, t);

			if (!mounted) {
				dispose = listen(div, "click", function () {
					if (internal_is_function(/*onPressed*/ ctx[0])) /*onPressed*/ ctx[0].apply(this, arguments);
				});

				mounted = true;
			}
		},
		p(new_ctx, [dirty]) {
			ctx = new_ctx;
			if (dirty & /*text*/ 2) set_data(t, /*text*/ ctx[1]);

			if (dirty & /*disabled*/ 4) {
				toggle_class(div, "auth-red-button--disabled", /*disabled*/ ctx[2]);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

function red_button_index_svelte_instance($$self, $$props, $$invalidate) {
	let { onPressed = () => {
		
	} } = $$props;

	let { text = '' } = $$props;
	let { disabled = false } = $$props;

	$$self.$$set = $$props => {
		if ('onPressed' in $$props) $$invalidate(0, onPressed = $$props.onPressed);
		if ('text' in $$props) $$invalidate(1, text = $$props.text);
		if ('disabled' in $$props) $$invalidate(2, disabled = $$props.disabled);
	};

	return [onPressed, text, disabled];
}

class Red_button extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, red_button_index_svelte_instance, red_button_index_svelte_create_fragment, safe_not_equal, { onPressed: 0, text: 1, disabled: 2 });
	}
}

/* harmony default export */ const red_button_index_svelte = (Red_button);
;// CONCATENATED MODULE: ./src/views/auth/store.js

var currentView = writable('');
var serverInfo = writable({});
var spawnPoints = writable([]);
var newsList = writable([]);
var login = writable('');
var loginValidated = writable(true);
var spawnListShortStyle = writable(false);
;// CONCATENATED MODULE: ./src/views/auth/components/server-info/index.svelte
/* src\views\auth\components\server-info\index.svelte generated by Svelte v3.49.0 */






function server_info_index_svelte_create_if_block_1(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = /*$serverInfo*/ ctx[0].flag)) attr(img, "src", img_src_value);
			attr(img, "alt", "flag");
			attr(img, "class", "auth-server-info__server-flag");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*$serverInfo*/ 1 && !src_url_equal(img.src, img_src_value = /*$serverInfo*/ ctx[0].flag)) {
				attr(img, "src", img_src_value);
			}
		},
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (20:2) {#if $serverInfo.online !== -1}
function server_info_index_svelte_create_if_block(ctx) {
	let t_value = /*$serverInfo*/ ctx[0].online + "";
	let t;

	return {
		c() {
			t = internal_text(t_value);
		},
		m(target, anchor) {
			insert(target, t, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*$serverInfo*/ 1 && t_value !== (t_value = /*$serverInfo*/ ctx[0].online + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(t);
		}
	};
}

function server_info_index_svelte_create_fragment(ctx) {
	let div4;
	let div3;
	let div0;
	let t1;
	let div2;
	let show_if = !(0,lodash.isEmpty)(/*$serverInfo*/ ctx[0].flag);
	let t2;
	let div1;
	let t3_value = /*$serverInfo*/ ctx[0].title + "";
	let t3;
	let t4;
	let span1;
	let t5;
	let span0;
	let if_block0 = show_if && server_info_index_svelte_create_if_block_1(ctx);
	let if_block1 = /*$serverInfo*/ ctx[0].online !== -1 && server_info_index_svelte_create_if_block(ctx);

	return {
		c() {
			div4 = internal_element("div");
			div3 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "Сервер";
			t1 = space();
			div2 = internal_element("div");
			if (if_block0) if_block0.c();
			t2 = space();
			div1 = internal_element("div");
			t3 = internal_text(t3_value);
			t4 = space();
			span1 = internal_element("span");
			if (if_block1) if_block1.c();
			t5 = space();
			span0 = internal_element("span");
			attr(div0, "class", "auth-server-info__server-caption");
			attr(div1, "class", "auth-server-info__server-title");
			attr(div2, "class", "auth-server-info__server-row");
			attr(div3, "class", "auth-server-info__server");
			attr(span0, "class", "auth-server-info__status-badge auth-server-info__status-badge--green");
			attr(span1, "class", "auth-server-info__server-online");
			attr(div4, "class", "auth-server-info");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div3);
			append(div3, div0);
			append(div3, t1);
			append(div3, div2);
			if (if_block0) if_block0.m(div2, null);
			append(div2, t2);
			append(div2, div1);
			append(div1, t3);
			append(div4, t4);
			append(div4, span1);
			if (if_block1) if_block1.m(span1, null);
			append(span1, t5);
			append(span1, span0);
		},
		p(ctx, [dirty]) {
			if (dirty & /*$serverInfo*/ 1) show_if = !(0,lodash.isEmpty)(/*$serverInfo*/ ctx[0].flag);

			if (show_if) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = server_info_index_svelte_create_if_block_1(ctx);
					if_block0.c();
					if_block0.m(div2, t2);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty & /*$serverInfo*/ 1 && t3_value !== (t3_value = /*$serverInfo*/ ctx[0].title + "")) set_data(t3, t3_value);

			if (/*$serverInfo*/ ctx[0].online !== -1) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = server_info_index_svelte_create_if_block(ctx);
					if_block1.c();
					if_block1.m(span1, t5);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div4);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
		}
	};
}

function server_info_index_svelte_instance($$self, $$props, $$invalidate) {
	let $serverInfo;
	component_subscribe($$self, serverInfo, $$value => $$invalidate(0, $serverInfo = $$value));
	return [$serverInfo];
}

class Server_info extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, server_info_index_svelte_instance, server_info_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const server_info_index_svelte = (Server_info);
;// CONCATENATED MODULE: ./src/views/auth/components/sign-in-form/index.svelte
/* src\views\auth\components\sign-in-form\index.svelte generated by Svelte v3.49.0 */


const { window: window_1 } = globals;












// eslint-disable-next-line import/no-cycle





function sign_in_form_index_svelte_create_if_block_1(ctx) {
	let div;
	let t;
	let div_intro;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(/*errorMessage*/ ctx[4]);
			attr(div, "class", "sign-in-form__error-message");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*errorMessage*/ 16) set_data(t, /*errorMessage*/ ctx[4]);
		},
		i(local) {
			if (!div_intro) {
				add_render_callback(() => {
					div_intro = create_in_transition(div, fade, {});
					div_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (183:2) {:else}
function sign_in_form_index_svelte_create_else_block(ctx) {
	let authredbutton;
	let current;

	authredbutton = new red_button_index_svelte({
			props: {
				text: "Войти в аккаунт",
				onPressed: /*authorization*/ ctx[10],
				disabled: /*disabled*/ ctx[6]
			}
		});

	return {
		c() {
			create_component(authredbutton.$$.fragment);
		},
		m(target, anchor) {
			mount_component(authredbutton, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const authredbutton_changes = {};
			if (dirty & /*disabled*/ 64) authredbutton_changes.disabled = /*disabled*/ ctx[6];
			authredbutton.$set(authredbutton_changes);
		},
		i(local) {
			if (current) return;
			transition_in(authredbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(authredbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(authredbutton, detaching);
		}
	};
}

// (179:2) {#if showLoader}
function sign_in_form_index_svelte_create_if_block(ctx) {
	let div;
	let loader;
	let current;
	loader = new loader_index_svelte({});

	return {
		c() {
			div = internal_element("div");
			create_component(loader.$$.fragment);
			attr(div, "class", "sign-in-form__loader");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(loader, div, null);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(loader.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(loader.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(loader);
		}
	};
}

function sign_in_form_index_svelte_create_fragment(ctx) {
	let div6;
	let authserverinfo;
	let t0;
	let div0;
	let authfield0;
	let updating_fieldValue;
	let updating_validated;
	let updating_tooltipText;
	let t1;
	let div1;
	let authfield1;
	let updating_fieldValue_1;
	let updating_validated_1;
	let updating_tooltipText_1;
	let t2;
	let t3;
	let div3;
	let div2;
	let input;
	let t4;
	let label;
	let t6;
	let span0;
	let t8;
	let div4;
	let current_block_type_index;
	let if_block1;
	let t9;
	let div5;
	let t10;
	let span1;
	let current;
	let mounted;
	let dispose;
	authserverinfo = new server_info_index_svelte({});

	function authfield0_fieldValue_binding(value) {
		/*authfield0_fieldValue_binding*/ ctx[14](value);
	}

	function authfield0_validated_binding(value) {
		/*authfield0_validated_binding*/ ctx[15](value);
	}

	function authfield0_tooltipText_binding(value) {
		/*authfield0_tooltipText_binding*/ ctx[16](value);
	}

	let authfield0_props = {
		label: "Никнейм",
		type: "text",
		icon: "person",
		required: true,
		regex: USER_NAME_VALIDATION_PATTERN
	};

	if (/*$login*/ ctx[2] !== void 0) {
		authfield0_props.fieldValue = /*$login*/ ctx[2];
	}

	if (/*$loginValidated*/ ctx[3] !== void 0) {
		authfield0_props.validated = /*$loginValidated*/ ctx[3];
	}

	if (/*loginErrorMessage*/ ctx[8] !== void 0) {
		authfield0_props.tooltipText = /*loginErrorMessage*/ ctx[8];
	}

	authfield0 = new field_index_svelte({ props: authfield0_props });
	binding_callbacks.push(() => bind(authfield0, 'fieldValue', authfield0_fieldValue_binding));
	binding_callbacks.push(() => bind(authfield0, 'validated', authfield0_validated_binding));
	binding_callbacks.push(() => bind(authfield0, 'tooltipText', authfield0_tooltipText_binding));

	function authfield1_fieldValue_binding(value) {
		/*authfield1_fieldValue_binding*/ ctx[17](value);
	}

	function authfield1_validated_binding(value) {
		/*authfield1_validated_binding*/ ctx[18](value);
	}

	function authfield1_tooltipText_binding(value) {
		/*authfield1_tooltipText_binding*/ ctx[19](value);
	}

	let authfield1_props = {
		label: "Пароль",
		type: "password",
		icon: "lock-keyhole",
		required: true,
		regex: USER_SIGNIN_PASSWORD_VALIDATION_PATTERN
	};

	if (/*password*/ ctx[0] !== void 0) {
		authfield1_props.fieldValue = /*password*/ ctx[0];
	}

	if (/*passwordValidated*/ ctx[1] !== void 0) {
		authfield1_props.validated = /*passwordValidated*/ ctx[1];
	}

	if (/*passwordErrorMessage*/ ctx[9] !== void 0) {
		authfield1_props.tooltipText = /*passwordErrorMessage*/ ctx[9];
	}

	authfield1 = new field_index_svelte({ props: authfield1_props });
	binding_callbacks.push(() => bind(authfield1, 'fieldValue', authfield1_fieldValue_binding));
	binding_callbacks.push(() => bind(authfield1, 'validated', authfield1_validated_binding));
	binding_callbacks.push(() => bind(authfield1, 'tooltipText', authfield1_tooltipText_binding));
	let if_block0 = /*errorMessage*/ ctx[4] && sign_in_form_index_svelte_create_if_block_1(ctx);
	const if_block_creators = [sign_in_form_index_svelte_create_if_block, sign_in_form_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (/*showLoader*/ ctx[7]) return 0;
		return 1;
	}

	current_block_type_index = select_block_type(ctx, -1);
	if_block1 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div6 = internal_element("div");
			create_component(authserverinfo.$$.fragment);
			t0 = space();
			div0 = internal_element("div");
			create_component(authfield0.$$.fragment);
			t1 = space();
			div1 = internal_element("div");
			create_component(authfield1.$$.fragment);
			t2 = space();
			if (if_block0) if_block0.c();
			t3 = space();
			div3 = internal_element("div");
			div2 = internal_element("div");
			input = internal_element("input");
			t4 = space();
			label = internal_element("label");
			label.textContent = "Запомнить меня";
			t6 = space();
			span0 = internal_element("span");
			span0.textContent = "Забыли пароль?";
			t8 = space();
			div4 = internal_element("div");
			if_block1.c();
			t9 = space();
			div5 = internal_element("div");
			t10 = internal_text("У вас нет аккаунта?\r\n\t\t");
			span1 = internal_element("span");
			span1.textContent = "Регистрация";
			attr(div0, "class", "sign-in-form__form-field");
			attr(div1, "class", "sign-in-form__form-field");
			attr(input, "class", "sign-in-form__checkbox");
			attr(input, "type", "checkbox");
			attr(input, "id", "remember-me");
			attr(label, "for", "remember-me");
			attr(label, "class", "sign-in-form__checkbox-label");
			attr(div2, "class", "sign-in-form__remember-me");
			attr(span0, "class", "sign-in-form__forget-password");
			attr(div3, "class", "sign-in-form__options");
			attr(div4, "class", "sign-in-form__authorization-button");
			attr(span1, "class", "sign-in-form__create-account-caption--accent");
			attr(div5, "class", "sign-in-form__create-account-caption");
			attr(div6, "class", "sign-in-form");
		},
		m(target, anchor) {
			insert(target, div6, anchor);
			mount_component(authserverinfo, div6, null);
			append(div6, t0);
			append(div6, div0);
			mount_component(authfield0, div0, null);
			append(div6, t1);
			append(div6, div1);
			mount_component(authfield1, div1, null);
			append(div6, t2);
			if (if_block0) if_block0.m(div6, null);
			append(div6, t3);
			append(div6, div3);
			append(div3, div2);
			append(div2, input);
			input.checked = /*rememberMe*/ ctx[5];
			append(div2, t4);
			append(div2, label);
			append(div3, t6);
			append(div3, span0);
			append(div6, t8);
			append(div6, div4);
			if_blocks[current_block_type_index].m(div4, null);
			append(div6, t9);
			append(div6, div5);
			append(div5, t10);
			append(div5, span1);
			current = true;

			if (!mounted) {
				dispose = [
					listen(window_1, "keydown", /*handleEnter*/ ctx[13]),
					listen(input, "change", /*input_change_handler*/ ctx[20]),
					listen(span0, "click", /*openRecovery*/ ctx[11]),
					listen(span1, "click", /*routeToSignUp*/ ctx[12])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			const authfield0_changes = {};

			if (!updating_fieldValue && dirty & /*$login*/ 4) {
				updating_fieldValue = true;
				authfield0_changes.fieldValue = /*$login*/ ctx[2];
				add_flush_callback(() => updating_fieldValue = false);
			}

			if (!updating_validated && dirty & /*$loginValidated*/ 8) {
				updating_validated = true;
				authfield0_changes.validated = /*$loginValidated*/ ctx[3];
				add_flush_callback(() => updating_validated = false);
			}

			if (!updating_tooltipText && dirty & /*loginErrorMessage*/ 256) {
				updating_tooltipText = true;
				authfield0_changes.tooltipText = /*loginErrorMessage*/ ctx[8];
				add_flush_callback(() => updating_tooltipText = false);
			}

			authfield0.$set(authfield0_changes);
			const authfield1_changes = {};

			if (!updating_fieldValue_1 && dirty & /*password*/ 1) {
				updating_fieldValue_1 = true;
				authfield1_changes.fieldValue = /*password*/ ctx[0];
				add_flush_callback(() => updating_fieldValue_1 = false);
			}

			if (!updating_validated_1 && dirty & /*passwordValidated*/ 2) {
				updating_validated_1 = true;
				authfield1_changes.validated = /*passwordValidated*/ ctx[1];
				add_flush_callback(() => updating_validated_1 = false);
			}

			if (!updating_tooltipText_1 && dirty & /*passwordErrorMessage*/ 512) {
				updating_tooltipText_1 = true;
				authfield1_changes.tooltipText = /*passwordErrorMessage*/ ctx[9];
				add_flush_callback(() => updating_tooltipText_1 = false);
			}

			authfield1.$set(authfield1_changes);

			if (/*errorMessage*/ ctx[4]) {
				if (if_block0) {
					if_block0.p(ctx, dirty);

					if (dirty & /*errorMessage*/ 16) {
						transition_in(if_block0, 1);
					}
				} else {
					if_block0 = sign_in_form_index_svelte_create_if_block_1(ctx);
					if_block0.c();
					transition_in(if_block0, 1);
					if_block0.m(div6, t3);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty & /*rememberMe*/ 32) {
				input.checked = /*rememberMe*/ ctx[5];
			}

			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block1 = if_blocks[current_block_type_index];

				if (!if_block1) {
					if_block1 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block1.c();
				} else {
					if_block1.p(ctx, dirty);
				}

				transition_in(if_block1, 1);
				if_block1.m(div4, null);
			}
		},
		i(local) {
			if (current) return;
			transition_in(authserverinfo.$$.fragment, local);
			transition_in(authfield0.$$.fragment, local);
			transition_in(authfield1.$$.fragment, local);
			transition_in(if_block0);
			transition_in(if_block1);
			current = true;
		},
		o(local) {
			transition_out(authserverinfo.$$.fragment, local);
			transition_out(authfield0.$$.fragment, local);
			transition_out(authfield1.$$.fragment, local);
			transition_out(if_block1);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div6);
			destroy_component(authserverinfo);
			destroy_component(authfield0);
			destroy_component(authfield1);
			if (if_block0) if_block0.d();
			if_blocks[current_block_type_index].d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function sign_in_form_index_svelte_instance($$self, $$props, $$invalidate) {
	let $serverInfo;
	let $login;
	let $setVideoName;
	let $currentView;
	let $loginValidated;
	component_subscribe($$self, serverInfo, $$value => $$invalidate(22, $serverInfo = $$value));
	component_subscribe($$self, login, $$value => $$invalidate(2, $login = $$value));
	component_subscribe($$self, setVideoName, $$value => $$invalidate(23, $setVideoName = $$value));
	component_subscribe($$self, currentView, $$value => $$invalidate(24, $currentView = $$value));
	component_subscribe($$self, loginValidated, $$value => $$invalidate(3, $loginValidated = $$value));
	let errorMessage = '';
	let password = '';
	let rememberMe = false;
	let disabled = false;
	let passwordValidated = null;
	let showLoader = false;
	let previouslyLoadedLogin = '';
	let loginErrorMessage = '';
	let passwordErrorMessage = '';

	const sendLoginError = message => {
		set_store_value(loginValidated, $loginValidated = false, $loginValidated);
		$$invalidate(8, loginErrorMessage = message);
		$$invalidate(7, showLoader = false);
	};

	const unregisterSendLoginError = registerEvent('event.auth.sendLoginError', sendLoginError);

	const sendPasswordError = message => {
		$$invalidate(1, passwordValidated = false);
		$$invalidate(0, password = '');
		$$invalidate(9, passwordErrorMessage = message);
		$$invalidate(7, showLoader = false);
	};

	const unregisterSendPasswordError = registerEvent('event.auth.sendPasswordError', sendPasswordError);

	const authorization = () => {
		if (disabled) {
			return;
		}

		$$invalidate(7, showLoader = true);
		sendClientMessage('authorization', $login, password, Number(rememberMe));
		$$invalidate(6, disabled = true);
	};

	const openRecovery = () => {
		if ((0,lodash.isEmpty)($login)) {
			$$invalidate(4, errorMessage = 'Чтобы сбросить пароль, введите никнейм');
			set_store_value(loginValidated, $loginValidated = false, $loginValidated);
			return;
		}

		set_store_value(currentView, $currentView = Views.Recovery, $currentView);
	};

	const handleSuccessfulAuthorization = () => {
		const key = `${$serverInfo.id}`;

		if (rememberMe) {
			window.cef.StorePasswordByKey(JSON.stringify({ login: $login, password }), key);
		} else if (!previouslyLoadedLogin) {
			window.cef.StorePasswordByKey(JSON.stringify({ login: $login }), key);
		}
	};

	const unregisterOnSuccessfulAuthorization = registerEvent('event.auth.onSuccessfulAuthorization', handleSuccessfulAuthorization);

	const routeToSignUp = () => {
		set_store_value(currentView, $currentView = Views.Signup, $currentView);
	};

	const handleEnter = event => {
		if (event.keyCode === 13) {
			authorization();
		}
	};

	onMount(() => {
		$setVideoName(Names.Signin);

		window.cef.onLoadPasswordByKey = rawData => {
			let data = null;

			try {
				data = JSON.parse(rawData);
			} catch(e) {
				
			} // nothing to do

			if (!data) {
				return;
			}

			const { login: savedLogin, password: savedPassword } = data;
			const savedPasswordPassed = !!savedPassword;
			$$invalidate(0, password = savedPassword || '');
			set_store_value(login, $login = savedLogin, $login);
			previouslyLoadedLogin = savedLogin;
			$$invalidate(1, passwordValidated = savedPasswordPassed);
			$$invalidate(5, rememberMe = savedPasswordPassed);
		};

		window.cef.LoadPasswordByKey(`${$serverInfo.id}`);
	});

	onDestroy(() => {
		unregisterSendLoginError();
		unregisterSendPasswordError();
		unregisterOnSuccessfulAuthorization();
	});

	function authfield0_fieldValue_binding(value) {
		$login = value;
		login.set($login);
	}

	function authfield0_validated_binding(value) {
		$loginValidated = value;
		loginValidated.set($loginValidated);
	}

	function authfield0_tooltipText_binding(value) {
		loginErrorMessage = value;
		$$invalidate(8, loginErrorMessage);
	}

	function authfield1_fieldValue_binding(value) {
		password = value;
		$$invalidate(0, password);
	}

	function authfield1_validated_binding(value) {
		passwordValidated = value;
		$$invalidate(1, passwordValidated);
	}

	function authfield1_tooltipText_binding(value) {
		passwordErrorMessage = value;
		$$invalidate(9, passwordErrorMessage);
	}

	function input_change_handler() {
		rememberMe = this.checked;
		$$invalidate(5, rememberMe);
	}

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*$login, password, $loginValidated, passwordValidated*/ 15) {
			$: {
				$$invalidate(6, disabled = (0,lodash.isEmpty)($login) || (0,lodash.isEmpty)(password));

				if (!(0,lodash.isNil)($loginValidated) && !(0,lodash.isNil)(passwordValidated)) {
					$$invalidate(6, disabled = !$loginValidated || !passwordValidated);
				}
			}
		}
	};

	return [
		password,
		passwordValidated,
		$login,
		$loginValidated,
		errorMessage,
		rememberMe,
		disabled,
		showLoader,
		loginErrorMessage,
		passwordErrorMessage,
		authorization,
		openRecovery,
		routeToSignUp,
		handleEnter,
		authfield0_fieldValue_binding,
		authfield0_validated_binding,
		authfield0_tooltipText_binding,
		authfield1_fieldValue_binding,
		authfield1_validated_binding,
		authfield1_tooltipText_binding,
		input_change_handler
	];
}

class Sign_in_form extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, sign_in_form_index_svelte_instance, sign_in_form_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const sign_in_form_index_svelte = (Sign_in_form);
;// CONCATENATED MODULE: ./src/views/auth/components/sign-up-form/index.svelte
/* src\views\auth\components\sign-up-form\index.svelte generated by Svelte v3.49.0 */


const { window: index_svelte_window_1 } = globals;











// eslint-disable-next-line import/no-cycle





function sign_up_form_index_svelte_create_else_block(ctx) {
	let authredbutton;
	let current;

	authredbutton = new red_button_index_svelte({
			props: {
				text: "Зарегистрироваться",
				onPressed: /*signup*/ ctx[17],
				disabled: /*disabled*/ ctx[10]
			}
		});

	return {
		c() {
			create_component(authredbutton.$$.fragment);
		},
		m(target, anchor) {
			mount_component(authredbutton, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const authredbutton_changes = {};
			if (dirty[0] & /*disabled*/ 1024) authredbutton_changes.disabled = /*disabled*/ ctx[10];
			authredbutton.$set(authredbutton_changes);
		},
		i(local) {
			if (current) return;
			transition_in(authredbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(authredbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(authredbutton, detaching);
		}
	};
}

// (239:2) {#if showLoader}
function sign_up_form_index_svelte_create_if_block(ctx) {
	let div;
	let loader;
	let current;
	loader = new loader_index_svelte({});

	return {
		c() {
			div = internal_element("div");
			create_component(loader.$$.fragment);
			attr(div, "class", "auth-sign-up-form__loader");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(loader, div, null);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(loader.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(loader.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(loader);
		}
	};
}

function sign_up_form_index_svelte_create_fragment(ctx) {
	let div7;
	let authserverinfo;
	let t0;
	let div0;
	let authfield0;
	let updating_validated;
	let updating_fieldValue;
	let updating_tooltipText;
	let t1;
	let div1;
	let authfield1;
	let updating_validated_1;
	let updating_fieldValue_1;
	let updating_tooltipText_1;
	let t2;
	let div2;
	let authfield2;
	let updating_validated_2;
	let updating_fieldValue_2;
	let updating_tooltipText_2;
	let t3;
	let div3;
	let authfield3;
	let updating_fieldValue_3;
	let updating_validated_3;
	let updating_tooltipText_3;
	let t4;
	let div4;
	let authfield4;
	let updating_fieldValue_4;
	let updating_validated_4;
	let updating_tooltipText_4;
	let t5;
	let div5;
	let current_block_type_index;
	let if_block;
	let t6;
	let div6;
	let t7;
	let span;
	let current;
	let mounted;
	let dispose;
	authserverinfo = new server_info_index_svelte({});

	function authfield0_validated_binding(value) {
		/*authfield0_validated_binding*/ ctx[20](value);
	}

	function authfield0_fieldValue_binding(value) {
		/*authfield0_fieldValue_binding*/ ctx[21](value);
	}

	function authfield0_tooltipText_binding(value) {
		/*authfield0_tooltipText_binding*/ ctx[22](value);
	}

	let authfield0_props = {
		label: "Никнейм",
		icon: "person",
		required: true,
		regex: USER_NAME_VALIDATION_PATTERN
	};

	if (/*nicknameValidated*/ ctx[0] !== void 0) {
		authfield0_props.validated = /*nicknameValidated*/ ctx[0];
	}

	if (/*regLogin*/ ctx[2] !== void 0) {
		authfield0_props.fieldValue = /*regLogin*/ ctx[2];
	}

	if (/*nicknameErrorMessage*/ ctx[12] !== void 0) {
		authfield0_props.tooltipText = /*nicknameErrorMessage*/ ctx[12];
	}

	authfield0 = new field_index_svelte({ props: authfield0_props });
	binding_callbacks.push(() => bind(authfield0, 'validated', authfield0_validated_binding));
	binding_callbacks.push(() => bind(authfield0, 'fieldValue', authfield0_fieldValue_binding));
	binding_callbacks.push(() => bind(authfield0, 'tooltipText', authfield0_tooltipText_binding));

	function authfield1_validated_binding(value) {
		/*authfield1_validated_binding*/ ctx[23](value);
	}

	function authfield1_fieldValue_binding(value) {
		/*authfield1_fieldValue_binding*/ ctx[24](value);
	}

	function authfield1_tooltipText_binding(value) {
		/*authfield1_tooltipText_binding*/ ctx[25](value);
	}

	let authfield1_props = {
		label: "Пароль",
		type: "password",
		icon: "lock-keyhole",
		required: true,
		regex: USER_SIGNUP_PASSWORD_VALIDATION_PATTERN
	};

	if (/*passwordValidated*/ ctx[1] !== void 0) {
		authfield1_props.validated = /*passwordValidated*/ ctx[1];
	}

	if (/*password*/ ctx[3] !== void 0) {
		authfield1_props.fieldValue = /*password*/ ctx[3];
	}

	if (/*passwordErrorMessage*/ ctx[13] !== void 0) {
		authfield1_props.tooltipText = /*passwordErrorMessage*/ ctx[13];
	}

	authfield1 = new field_index_svelte({ props: authfield1_props });
	binding_callbacks.push(() => bind(authfield1, 'validated', authfield1_validated_binding));
	binding_callbacks.push(() => bind(authfield1, 'fieldValue', authfield1_fieldValue_binding));
	binding_callbacks.push(() => bind(authfield1, 'tooltipText', authfield1_tooltipText_binding));

	function authfield2_validated_binding(value) {
		/*authfield2_validated_binding*/ ctx[26](value);
	}

	function authfield2_fieldValue_binding(value) {
		/*authfield2_fieldValue_binding*/ ctx[27](value);
	}

	function authfield2_tooltipText_binding(value) {
		/*authfield2_tooltipText_binding*/ ctx[28](value);
	}

	let authfield2_props = {
		label: "Почта (необязательно)",
		icon: "mail"
	};

	if (/*mailValidated*/ ctx[9] !== void 0) {
		authfield2_props.validated = /*mailValidated*/ ctx[9];
	}

	if (/*mail*/ ctx[4] !== void 0) {
		authfield2_props.fieldValue = /*mail*/ ctx[4];
	}

	if (/*mailErrorMessage*/ ctx[14] !== void 0) {
		authfield2_props.tooltipText = /*mailErrorMessage*/ ctx[14];
	}

	authfield2 = new field_index_svelte({ props: authfield2_props });
	binding_callbacks.push(() => bind(authfield2, 'validated', authfield2_validated_binding));
	binding_callbacks.push(() => bind(authfield2, 'fieldValue', authfield2_fieldValue_binding));
	binding_callbacks.push(() => bind(authfield2, 'tooltipText', authfield2_tooltipText_binding));

	function authfield3_fieldValue_binding(value) {
		/*authfield3_fieldValue_binding*/ ctx[29](value);
	}

	function authfield3_validated_binding(value) {
		/*authfield3_validated_binding*/ ctx[30](value);
	}

	function authfield3_tooltipText_binding(value) {
		/*authfield3_tooltipText_binding*/ ctx[31](value);
	}

	let authfield3_props = {
		label: "Никнейм друга (необязательно)",
		icon: "rating-star-filled",
		regex: USER_NAME_VALIDATION_PATTERN
	};

	if (/*referralAnswer*/ ctx[5] !== void 0) {
		authfield3_props.fieldValue = /*referralAnswer*/ ctx[5];
	}

	if (/*referralValidated*/ ctx[7] !== void 0) {
		authfield3_props.validated = /*referralValidated*/ ctx[7];
	}

	if (/*referralErrorMessage*/ ctx[15] !== void 0) {
		authfield3_props.tooltipText = /*referralErrorMessage*/ ctx[15];
	}

	authfield3 = new field_index_svelte({ props: authfield3_props });
	binding_callbacks.push(() => bind(authfield3, 'fieldValue', authfield3_fieldValue_binding));
	binding_callbacks.push(() => bind(authfield3, 'validated', authfield3_validated_binding));
	binding_callbacks.push(() => bind(authfield3, 'tooltipText', authfield3_tooltipText_binding));

	function authfield4_fieldValue_binding(value) {
		/*authfield4_fieldValue_binding*/ ctx[32](value);
	}

	function authfield4_validated_binding(value) {
		/*authfield4_validated_binding*/ ctx[33](value);
	}

	function authfield4_tooltipText_binding(value) {
		/*authfield4_tooltipText_binding*/ ctx[34](value);
	}

	let authfield4_props = {
		label: "Есть промокод? (необязательно)",
		icon: "rating-star-filled"
	};

	if (/*promoAnswer*/ ctx[6] !== void 0) {
		authfield4_props.fieldValue = /*promoAnswer*/ ctx[6];
	}

	if (/*promoValidated*/ ctx[8] !== void 0) {
		authfield4_props.validated = /*promoValidated*/ ctx[8];
	}

	if (/*promoErrorMessage*/ ctx[16] !== void 0) {
		authfield4_props.tooltipText = /*promoErrorMessage*/ ctx[16];
	}

	authfield4 = new field_index_svelte({ props: authfield4_props });
	binding_callbacks.push(() => bind(authfield4, 'fieldValue', authfield4_fieldValue_binding));
	binding_callbacks.push(() => bind(authfield4, 'validated', authfield4_validated_binding));
	binding_callbacks.push(() => bind(authfield4, 'tooltipText', authfield4_tooltipText_binding));
	const if_block_creators = [sign_up_form_index_svelte_create_if_block, sign_up_form_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (/*showLoader*/ ctx[11]) return 0;
		return 1;
	}

	current_block_type_index = select_block_type(ctx, [-1, -1]);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div7 = internal_element("div");
			create_component(authserverinfo.$$.fragment);
			t0 = space();
			div0 = internal_element("div");
			create_component(authfield0.$$.fragment);
			t1 = space();
			div1 = internal_element("div");
			create_component(authfield1.$$.fragment);
			t2 = space();
			div2 = internal_element("div");
			create_component(authfield2.$$.fragment);
			t3 = space();
			div3 = internal_element("div");
			create_component(authfield3.$$.fragment);
			t4 = space();
			div4 = internal_element("div");
			create_component(authfield4.$$.fragment);
			t5 = space();
			div5 = internal_element("div");
			if_block.c();
			t6 = space();
			div6 = internal_element("div");
			t7 = internal_text("Уже зарегистрированы?\r\n\t\t");
			span = internal_element("span");
			span.textContent = "Войти в аккаунт";
			attr(div0, "class", "auth-sign-up-form__field");
			attr(div1, "class", "auth-sign-up-form__field");
			attr(div2, "class", "auth-sign-up-form__field");
			attr(div3, "class", "auth-sign-up-form__field");
			attr(div4, "class", "auth-sign-up-form__field");
			attr(div5, "class", "auth-sign-up-form__sign-up");
			attr(span, "class", "sign-in-form__create-account-caption--accent");
			attr(div6, "class", "auth-sign-up-form__create-account-caption");
			attr(div7, "class", "auth-sign-up-form");
		},
		m(target, anchor) {
			insert(target, div7, anchor);
			mount_component(authserverinfo, div7, null);
			append(div7, t0);
			append(div7, div0);
			mount_component(authfield0, div0, null);
			append(div7, t1);
			append(div7, div1);
			mount_component(authfield1, div1, null);
			append(div7, t2);
			append(div7, div2);
			mount_component(authfield2, div2, null);
			append(div7, t3);
			append(div7, div3);
			mount_component(authfield3, div3, null);
			append(div7, t4);
			append(div7, div4);
			mount_component(authfield4, div4, null);
			append(div7, t5);
			append(div7, div5);
			if_blocks[current_block_type_index].m(div5, null);
			append(div7, t6);
			append(div7, div6);
			append(div6, t7);
			append(div6, span);
			current = true;

			if (!mounted) {
				dispose = [
					listen(index_svelte_window_1, "keydown", /*handleEnter*/ ctx[19]),
					listen(span, "click", /*routeToSignIn*/ ctx[18])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			const authfield0_changes = {};

			if (!updating_validated && dirty[0] & /*nicknameValidated*/ 1) {
				updating_validated = true;
				authfield0_changes.validated = /*nicknameValidated*/ ctx[0];
				add_flush_callback(() => updating_validated = false);
			}

			if (!updating_fieldValue && dirty[0] & /*regLogin*/ 4) {
				updating_fieldValue = true;
				authfield0_changes.fieldValue = /*regLogin*/ ctx[2];
				add_flush_callback(() => updating_fieldValue = false);
			}

			if (!updating_tooltipText && dirty[0] & /*nicknameErrorMessage*/ 4096) {
				updating_tooltipText = true;
				authfield0_changes.tooltipText = /*nicknameErrorMessage*/ ctx[12];
				add_flush_callback(() => updating_tooltipText = false);
			}

			authfield0.$set(authfield0_changes);
			const authfield1_changes = {};

			if (!updating_validated_1 && dirty[0] & /*passwordValidated*/ 2) {
				updating_validated_1 = true;
				authfield1_changes.validated = /*passwordValidated*/ ctx[1];
				add_flush_callback(() => updating_validated_1 = false);
			}

			if (!updating_fieldValue_1 && dirty[0] & /*password*/ 8) {
				updating_fieldValue_1 = true;
				authfield1_changes.fieldValue = /*password*/ ctx[3];
				add_flush_callback(() => updating_fieldValue_1 = false);
			}

			if (!updating_tooltipText_1 && dirty[0] & /*passwordErrorMessage*/ 8192) {
				updating_tooltipText_1 = true;
				authfield1_changes.tooltipText = /*passwordErrorMessage*/ ctx[13];
				add_flush_callback(() => updating_tooltipText_1 = false);
			}

			authfield1.$set(authfield1_changes);
			const authfield2_changes = {};

			if (!updating_validated_2 && dirty[0] & /*mailValidated*/ 512) {
				updating_validated_2 = true;
				authfield2_changes.validated = /*mailValidated*/ ctx[9];
				add_flush_callback(() => updating_validated_2 = false);
			}

			if (!updating_fieldValue_2 && dirty[0] & /*mail*/ 16) {
				updating_fieldValue_2 = true;
				authfield2_changes.fieldValue = /*mail*/ ctx[4];
				add_flush_callback(() => updating_fieldValue_2 = false);
			}

			if (!updating_tooltipText_2 && dirty[0] & /*mailErrorMessage*/ 16384) {
				updating_tooltipText_2 = true;
				authfield2_changes.tooltipText = /*mailErrorMessage*/ ctx[14];
				add_flush_callback(() => updating_tooltipText_2 = false);
			}

			authfield2.$set(authfield2_changes);
			const authfield3_changes = {};

			if (!updating_fieldValue_3 && dirty[0] & /*referralAnswer*/ 32) {
				updating_fieldValue_3 = true;
				authfield3_changes.fieldValue = /*referralAnswer*/ ctx[5];
				add_flush_callback(() => updating_fieldValue_3 = false);
			}

			if (!updating_validated_3 && dirty[0] & /*referralValidated*/ 128) {
				updating_validated_3 = true;
				authfield3_changes.validated = /*referralValidated*/ ctx[7];
				add_flush_callback(() => updating_validated_3 = false);
			}

			if (!updating_tooltipText_3 && dirty[0] & /*referralErrorMessage*/ 32768) {
				updating_tooltipText_3 = true;
				authfield3_changes.tooltipText = /*referralErrorMessage*/ ctx[15];
				add_flush_callback(() => updating_tooltipText_3 = false);
			}

			authfield3.$set(authfield3_changes);
			const authfield4_changes = {};

			if (!updating_fieldValue_4 && dirty[0] & /*promoAnswer*/ 64) {
				updating_fieldValue_4 = true;
				authfield4_changes.fieldValue = /*promoAnswer*/ ctx[6];
				add_flush_callback(() => updating_fieldValue_4 = false);
			}

			if (!updating_validated_4 && dirty[0] & /*promoValidated*/ 256) {
				updating_validated_4 = true;
				authfield4_changes.validated = /*promoValidated*/ ctx[8];
				add_flush_callback(() => updating_validated_4 = false);
			}

			if (!updating_tooltipText_4 && dirty[0] & /*promoErrorMessage*/ 65536) {
				updating_tooltipText_4 = true;
				authfield4_changes.tooltipText = /*promoErrorMessage*/ ctx[16];
				add_flush_callback(() => updating_tooltipText_4 = false);
			}

			authfield4.$set(authfield4_changes);
			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(div5, null);
			}
		},
		i(local) {
			if (current) return;
			transition_in(authserverinfo.$$.fragment, local);
			transition_in(authfield0.$$.fragment, local);
			transition_in(authfield1.$$.fragment, local);
			transition_in(authfield2.$$.fragment, local);
			transition_in(authfield3.$$.fragment, local);
			transition_in(authfield4.$$.fragment, local);
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(authserverinfo.$$.fragment, local);
			transition_out(authfield0.$$.fragment, local);
			transition_out(authfield1.$$.fragment, local);
			transition_out(authfield2.$$.fragment, local);
			transition_out(authfield3.$$.fragment, local);
			transition_out(authfield4.$$.fragment, local);
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div7);
			destroy_component(authserverinfo);
			destroy_component(authfield0);
			destroy_component(authfield1);
			destroy_component(authfield2);
			destroy_component(authfield3);
			destroy_component(authfield4);
			if_blocks[current_block_type_index].d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function sign_up_form_index_svelte_instance($$self, $$props, $$invalidate) {
	let $setVideoName;
	let $currentView;
	let $serverInfo;
	let $loginValidated;
	let $login;
	component_subscribe($$self, setVideoName, $$value => $$invalidate(35, $setVideoName = $$value));
	component_subscribe($$self, currentView, $$value => $$invalidate(36, $currentView = $$value));
	component_subscribe($$self, serverInfo, $$value => $$invalidate(37, $serverInfo = $$value));
	component_subscribe($$self, loginValidated, $$value => $$invalidate(38, $loginValidated = $$value));
	component_subscribe($$self, login, $$value => $$invalidate(39, $login = $$value));
	let regLogin = $login;
	let password = '';
	let mail = '';
	let referralAnswer = '';
	let promoAnswer = '';
	let nicknameValidated = $loginValidated;
	let passwordValidated = null;
	let referralValidated = null;
	let promoValidated = null;
	let mailValidated = null;
	let disabled = true;

	// let errorMessage = '';
	let showLoader = false;

	let nicknameErrorMessage = '';
	let passwordErrorMessage = '';
	let mailErrorMessage = '';
	let referralErrorMessage = '';
	let promoErrorMessage = '';

	const signup = () => {
		if (disabled) {
			return;
		}

		$$invalidate(11, showLoader = true);
		$$invalidate(10, disabled = true);
		const tempMail = (0,lodash.isEmpty)(mail) ? 'null' : mail;
		const tempReferralAnswer = (0,lodash.isEmpty)(referralAnswer) ? 'null' : referralAnswer;
		const tempPromoAnswer = (0,lodash.isEmpty)(promoAnswer) ? 'null' : promoAnswer;
		sendClientMessage('registration', regLogin, password, tempMail, tempReferralAnswer, tempPromoAnswer);
	}; // sendClientMessage('registration', regLogin, password, mail, selectedFindOut, referralAnswer);

	const updateNicknameValidated = status => {
		$$invalidate(0, nicknameValidated = status);
		$$invalidate(11, showLoader = false);
		$$invalidate(10, disabled = false);
	};

	const unregisterUpdateNicknameValidated = registerEvent('event.auth.updateNicknameValidated', updateNicknameValidated);

	const updatePasswordValidated = status => {
		$$invalidate(1, passwordValidated = status);
		$$invalidate(11, showLoader = false);
		$$invalidate(10, disabled = false);
	};

	const unregisterUpdatePasswordValidated = registerEvent('event.auth.updatePasswordValidated', updatePasswordValidated);

	const updateReferralValidated = status => {
		$$invalidate(7, referralValidated = status);
		$$invalidate(11, showLoader = false);
		$$invalidate(10, disabled = false);
	};

	const unregisterUpdateReferralValidated = registerEvent('event.auth.updateReferralValidated', updateReferralValidated);

	const updatePromoValidated = status => {
		$$invalidate(8, promoValidated = status);
		$$invalidate(11, showLoader = false);
		$$invalidate(10, disabled = false);
	};

	const unregisterUpdatePromoValidated = registerEvent('event.auth.updatePromoValidated', updatePromoValidated);

	const updateMailValidated = status => {
		$$invalidate(9, mailValidated = status);
		$$invalidate(11, showLoader = false);
		$$invalidate(10, disabled = false);
	};

	const unregisterUpdateMailValidated = registerEvent('event.auth.updateMailValidated', updateMailValidated);

	const updateNicknameErrorMessage = message => {
		$$invalidate(12, nicknameErrorMessage = message);
		$$invalidate(0, nicknameValidated = false);
		$$invalidate(11, showLoader = false);
		$$invalidate(10, disabled = false);
	};

	const unregisterUpdateNicknameErrorMessage = registerEvent('event.auth.updateNicknameErrorMessage', updateNicknameErrorMessage);

	const updatePasswordErrorMessage = message => {
		$$invalidate(13, passwordErrorMessage = message);
		$$invalidate(1, passwordValidated = false);
		$$invalidate(11, showLoader = false);
		$$invalidate(10, disabled = false);
	};

	const unregisterUpdatePasswordErrorMessage = registerEvent('event.auth.updatePasswordErrorMessage', updatePasswordErrorMessage);

	const updateReferralErrorMessage = message => {
		$$invalidate(15, referralErrorMessage = message);
		$$invalidate(7, referralValidated = false);
		$$invalidate(11, showLoader = false);
		$$invalidate(10, disabled = false);
	};

	const updatePromoErrorMessage = message => {
		$$invalidate(16, promoErrorMessage = message);
		$$invalidate(8, promoValidated = false);
		$$invalidate(11, showLoader = false);
		$$invalidate(10, disabled = false);
	};

	// const sendSignUpError = (message) => {
	//     passwordValidated = null;
	//     password = '';
	//     errorMessage = message;
	//     showLoader = false;
	// };
	const unregisterUpdateReferralErrorMessage = registerEvent('event.auth.updateReferralErrorMessage', updateReferralErrorMessage);

	const unregisterUpdatePromoErrorMessage = registerEvent('event.auth.updatePromoErrorMessage', updatePromoErrorMessage);

	const updateMailErrorMessage = message => {
		$$invalidate(14, mailErrorMessage = message);
		$$invalidate(9, mailValidated = false);
		$$invalidate(11, showLoader = false);
		$$invalidate(10, disabled = false);
	};

	const handleSuccessfulRegistration = () => {
		window.cef.StorePasswordByKey(JSON.stringify({ login: regLogin, password }), `${$serverInfo.id}`);
	};

	const unregisterUpdateMailErrorMessage = registerEvent('event.auth.updateMailErrorMessage', updateMailErrorMessage);
	const unregisterSuccessfulRegistration = registerEvent('event.auth.successfulRegistration', handleSuccessfulRegistration);

	const routeToSignIn = () => {
		set_store_value(currentView, $currentView = Views.Signin, $currentView);
	};

	const handleEnter = event => {
		if (event.keyCode === 13) {
			signup();
		}
	};

	onMount(() => {
		$setVideoName(Names.Signup);
	});

	onDestroy(() => {
		unregisterUpdateNicknameValidated();
		unregisterUpdatePasswordValidated();
		unregisterUpdateReferralValidated();
		unregisterUpdatePromoValidated();
		unregisterUpdateMailValidated();
		unregisterUpdateNicknameErrorMessage();
		unregisterUpdatePasswordErrorMessage();
		unregisterUpdateReferralErrorMessage();
		unregisterUpdatePromoErrorMessage();
		unregisterUpdateMailErrorMessage();
		unregisterSuccessfulRegistration();
	});

	function authfield0_validated_binding(value) {
		nicknameValidated = value;
		$$invalidate(0, nicknameValidated);
	}

	function authfield0_fieldValue_binding(value) {
		regLogin = value;
		$$invalidate(2, regLogin);
	}

	function authfield0_tooltipText_binding(value) {
		nicknameErrorMessage = value;
		$$invalidate(12, nicknameErrorMessage);
	}

	function authfield1_validated_binding(value) {
		passwordValidated = value;
		$$invalidate(1, passwordValidated);
	}

	function authfield1_fieldValue_binding(value) {
		password = value;
		$$invalidate(3, password);
	}

	function authfield1_tooltipText_binding(value) {
		passwordErrorMessage = value;
		$$invalidate(13, passwordErrorMessage);
	}

	function authfield2_validated_binding(value) {
		mailValidated = value;
		$$invalidate(9, mailValidated);
	}

	function authfield2_fieldValue_binding(value) {
		mail = value;
		$$invalidate(4, mail);
	}

	function authfield2_tooltipText_binding(value) {
		mailErrorMessage = value;
		$$invalidate(14, mailErrorMessage);
	}

	function authfield3_fieldValue_binding(value) {
		referralAnswer = value;
		$$invalidate(5, referralAnswer);
	}

	function authfield3_validated_binding(value) {
		referralValidated = value;
		$$invalidate(7, referralValidated);
	}

	function authfield3_tooltipText_binding(value) {
		referralErrorMessage = value;
		$$invalidate(15, referralErrorMessage);
	}

	function authfield4_fieldValue_binding(value) {
		promoAnswer = value;
		$$invalidate(6, promoAnswer);
	}

	function authfield4_validated_binding(value) {
		promoValidated = value;
		$$invalidate(8, promoValidated);
	}

	function authfield4_tooltipText_binding(value) {
		promoErrorMessage = value;
		$$invalidate(16, promoErrorMessage);
	}

	$$self.$$.update = () => {
		if ($$self.$$.dirty[0] & /*nicknameValidated, passwordValidated*/ 3) {
			$: {
				if (!(0,lodash.isNil)(nicknameValidated) && !(0,lodash.isNil)(passwordValidated)) {
					$$invalidate(10, disabled = !nicknameValidated || !passwordValidated);
				}
			}
		}
	};

	return [
		nicknameValidated,
		passwordValidated,
		regLogin,
		password,
		mail,
		referralAnswer,
		promoAnswer,
		referralValidated,
		promoValidated,
		mailValidated,
		disabled,
		showLoader,
		nicknameErrorMessage,
		passwordErrorMessage,
		mailErrorMessage,
		referralErrorMessage,
		promoErrorMessage,
		signup,
		routeToSignIn,
		handleEnter,
		authfield0_validated_binding,
		authfield0_fieldValue_binding,
		authfield0_tooltipText_binding,
		authfield1_validated_binding,
		authfield1_fieldValue_binding,
		authfield1_tooltipText_binding,
		authfield2_validated_binding,
		authfield2_fieldValue_binding,
		authfield2_tooltipText_binding,
		authfield3_fieldValue_binding,
		authfield3_validated_binding,
		authfield3_tooltipText_binding,
		authfield4_fieldValue_binding,
		authfield4_validated_binding,
		authfield4_tooltipText_binding
	];
}

class Sign_up_form extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, sign_up_form_index_svelte_instance, sign_up_form_index_svelte_create_fragment, safe_not_equal, {}, null, [-1, -1]);
	}
}

/* harmony default export */ const sign_up_form_index_svelte = (Sign_up_form);
;// CONCATENATED MODULE: ./src/views/auth/components/spawn-point/index.svelte
/* src\views\auth\components\spawn-point\index.svelte generated by Svelte v3.49.0 */




function spawn_point_index_svelte_create_fragment(ctx) {
	let div;
	let i0;
	let t0;
	let span;
	let t1;
	let t2;
	let i1;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			i0 = internal_element("i");
			t0 = space();
			span = internal_element("span");
			t1 = internal_text(/*spawn*/ ctx[1]);
			t2 = space();
			i1 = internal_element("i");
			attr(i0, "class", "spawn-point__item-geo-icon ui-geo-position");
			toggle_class(i0, "spawn-point__item-geo-icon--active", /*active*/ ctx[0]);
			attr(span, "class", "spawn-point__item-title");
			attr(i1, "class", "spawn-point__item-next-icon ui-right-chevron");
			attr(div, "class", "spawn-point");
			toggle_class(div, "spawn-point--active", /*active*/ ctx[0]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, i0);
			append(div, t0);
			append(div, span);
			append(span, t1);
			append(div, t2);
			append(div, i1);

			if (!mounted) {
				dispose = listen(div, "click", function () {
					if (internal_is_function(/*onSelect*/ ctx[2])) /*onSelect*/ ctx[2].apply(this, arguments);
				});

				mounted = true;
			}
		},
		p(new_ctx, [dirty]) {
			ctx = new_ctx;

			if (dirty & /*active*/ 1) {
				toggle_class(i0, "spawn-point__item-geo-icon--active", /*active*/ ctx[0]);
			}

			if (dirty & /*spawn*/ 2) set_data(t1, /*spawn*/ ctx[1]);

			if (dirty & /*active*/ 1) {
				toggle_class(div, "spawn-point--active", /*active*/ ctx[0]);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

function spawn_point_index_svelte_instance($$self, $$props, $$invalidate) {
	let { active = false } = $$props;
	let { spawn = '' } = $$props;

	let { onSelect = () => {
		
	} } = $$props;

	$$self.$$set = $$props => {
		if ('active' in $$props) $$invalidate(0, active = $$props.active);
		if ('spawn' in $$props) $$invalidate(1, spawn = $$props.spawn);
		if ('onSelect' in $$props) $$invalidate(2, onSelect = $$props.onSelect);
	};

	return [active, spawn, onSelect];
}

class Spawn_point extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, spawn_point_index_svelte_instance, spawn_point_index_svelte_create_fragment, safe_not_equal, { active: 0, spawn: 1, onSelect: 2 });
	}
}

/* harmony default export */ const spawn_point_index_svelte = (Spawn_point);
;// CONCATENATED MODULE: ./src/views/auth/components/spawn-list/index.svelte
/* src\views\auth\components\spawn-list\index.svelte generated by Svelte v3.49.0 */









function spawn_list_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[6] = list[i];
	return child_ctx;
}

// (24:3) {#each $spawnPoints as point}
function spawn_list_index_svelte_create_each_block(ctx) {
	let div;
	let spawnpoint;
	let t;
	let current;

	function func() {
		return /*func*/ ctx[5](/*point*/ ctx[6]);
	}

	spawnpoint = new spawn_point_index_svelte({
			props: {
				spawn: /*point*/ ctx[6].spawn,
				onSelect: func,
				active: /*selectedPointId*/ ctx[0] === /*point*/ ctx[6].id
			}
		});

	return {
		c() {
			div = internal_element("div");
			create_component(spawnpoint.$$.fragment);
			t = space();
			attr(div, "class", "spawn-list__item");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(spawnpoint, div, null);
			append(div, t);
			current = true;
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			const spawnpoint_changes = {};
			if (dirty & /*$spawnPoints*/ 4) spawnpoint_changes.spawn = /*point*/ ctx[6].spawn;
			if (dirty & /*$spawnPoints*/ 4) spawnpoint_changes.onSelect = func;
			if (dirty & /*selectedPointId, $spawnPoints*/ 5) spawnpoint_changes.active = /*selectedPointId*/ ctx[0] === /*point*/ ctx[6].id;
			spawnpoint.$set(spawnpoint_changes);
		},
		i(local) {
			if (current) return;
			transition_in(spawnpoint.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(spawnpoint.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(spawnpoint);
		}
	};
}

// (34:2) {#if !$spawnListShortStyle}
function spawn_list_index_svelte_create_if_block(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			attr(div, "class", "spawn-list__fade-out");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function spawn_list_index_svelte_create_fragment(ctx) {
	let div4;
	let div0;
	let authserverinfo;
	let t0;
	let div2;
	let div1;
	let t1;
	let t2;
	let div3;
	let authredbutton;
	let current;
	authserverinfo = new server_info_index_svelte({});
	let each_value = /*$spawnPoints*/ ctx[2];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = spawn_list_index_svelte_create_each_block(spawn_list_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	let if_block = !/*$spawnListShortStyle*/ ctx[1] && spawn_list_index_svelte_create_if_block(ctx);

	authredbutton = new red_button_index_svelte({
			props: {
				text: "Начать игру",
				onPressed: /*spawnMe*/ ctx[3]
			}
		});

	return {
		c() {
			div4 = internal_element("div");
			div0 = internal_element("div");
			create_component(authserverinfo.$$.fragment);
			t0 = space();
			div2 = internal_element("div");
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t1 = space();
			if (if_block) if_block.c();
			t2 = space();
			div3 = internal_element("div");
			create_component(authredbutton.$$.fragment);
			attr(div0, "class", "spawn-list__server-wrapper");
			attr(div1, "class", "spawn-list__list");
			toggle_class(div1, "spawn-list__list--short", /*$spawnListShortStyle*/ ctx[1]);
			attr(div2, "class", "spawn-list__list-wrapper");
			attr(div3, "class", "spawn-list__spawn-button");
			toggle_class(div3, "spawn-list__spawn-button--pushed", !/*$spawnListShortStyle*/ ctx[1]);
			attr(div4, "class", "spawn-list");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div0);
			mount_component(authserverinfo, div0, null);
			append(div4, t0);
			append(div4, div2);
			append(div2, div1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}

			append(div2, t1);
			if (if_block) if_block.m(div2, null);
			append(div4, t2);
			append(div4, div3);
			mount_component(authredbutton, div3, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*$spawnPoints, selectPointId, selectedPointId*/ 21) {
				each_value = /*$spawnPoints*/ ctx[2];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = spawn_list_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = spawn_list_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div1, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}

			if (dirty & /*$spawnListShortStyle*/ 2) {
				toggle_class(div1, "spawn-list__list--short", /*$spawnListShortStyle*/ ctx[1]);
			}

			if (!/*$spawnListShortStyle*/ ctx[1]) {
				if (if_block) {
					
				} else {
					if_block = spawn_list_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div2, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (dirty & /*$spawnListShortStyle*/ 2) {
				toggle_class(div3, "spawn-list__spawn-button--pushed", !/*$spawnListShortStyle*/ ctx[1]);
			}
		},
		i(local) {
			if (current) return;
			transition_in(authserverinfo.$$.fragment, local);

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			transition_in(authredbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(authserverinfo.$$.fragment, local);
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			transition_out(authredbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div4);
			destroy_component(authserverinfo);
			destroy_each(each_blocks, detaching);
			if (if_block) if_block.d();
			destroy_component(authredbutton);
		}
	};
}

function spawn_list_index_svelte_instance($$self, $$props, $$invalidate) {
	let $spawnListShortStyle;
	let $spawnPoints;
	component_subscribe($$self, spawnListShortStyle, $$value => $$invalidate(1, $spawnListShortStyle = $$value));
	component_subscribe($$self, spawnPoints, $$value => $$invalidate(2, $spawnPoints = $$value));
	let selectedPointId = null;
	const spawnMe = () => sendClientMessage('authSpawn', selectedPointId);

	const selectPointId = pointId => {
		$$invalidate(0, selectedPointId = pointId);
	};

	const func = point => selectPointId(point.id);

	return [
		selectedPointId,
		$spawnListShortStyle,
		$spawnPoints,
		spawnMe,
		selectPointId,
		func
	];
}

class Spawn_list extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, spawn_list_index_svelte_instance, spawn_list_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const spawn_list_index_svelte = (Spawn_list);
;// CONCATENATED MODULE: ./src/views/auth/components/recovery/index.svelte
/* src\views\auth\components\recovery\index.svelte generated by Svelte v3.49.0 */










// eslint-disable-next-line import/no-cycle





function recovery_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[31] = list[i];
	return child_ctx;
}

// (135:4) {:else}
function create_else_block_2(ctx) {
	let i;
	let i_class_value;
	let t0;
	let span;
	let t1_value = MAP_RECOVERY_TYPE_TO_NAME[/*selectedRecoveryType*/ ctx[4]] + "";
	let t1;

	return {
		c() {
			i = internal_element("i");
			t0 = space();
			span = internal_element("span");
			t1 = internal_text(t1_value);
			attr(i, "class", i_class_value = "auth-recovery__item-selected ui-" + MAP_RECOVERY_TYPE_TO_ICON[/*selectedRecoveryType*/ ctx[4]]);
			attr(span, "class", "auth-recovery__selected-title auth-recovery__selected-title--active");
		},
		m(target, anchor) {
			insert(target, i, anchor);
			insert(target, t0, anchor);
			insert(target, span, anchor);
			append(span, t1);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*selectedRecoveryType*/ 16 && i_class_value !== (i_class_value = "auth-recovery__item-selected ui-" + MAP_RECOVERY_TYPE_TO_ICON[/*selectedRecoveryType*/ ctx[4]])) {
				attr(i, "class", i_class_value);
			}

			if (dirty[0] & /*selectedRecoveryType*/ 16 && t1_value !== (t1_value = MAP_RECOVERY_TYPE_TO_NAME[/*selectedRecoveryType*/ ctx[4]] + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(i);
			if (detaching) detach(t0);
			if (detaching) detach(span);
		}
	};
}

// (132:4) {#if isEmpty(selectedRecoveryType)}
function index_svelte_create_if_block_6(ctx) {
	let i;
	let t0;
	let span;

	return {
		c() {
			i = internal_element("i");
			t0 = space();
			span = internal_element("span");
			span.textContent = "Способ восстановления";
			attr(i, "class", "auth-recovery__item-selected ui-lifeline");
			attr(span, "class", "auth-recovery__selected-title");
		},
		m(target, anchor) {
			insert(target, i, anchor);
			insert(target, t0, anchor);
			insert(target, span, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(i);
			if (detaching) detach(t0);
			if (detaching) detach(span);
		}
	};
}

// (142:3) {:else}
function recovery_index_svelte_create_else_block_1(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "auth-recovery__selected-next-icon ui-down-chevron");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (140:3) {#if !recoveryListVisible}
function recovery_index_svelte_create_if_block_5(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "auth-recovery__selected-next-icon ui-right-chevron");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (146:2) {#if recoveryListVisible}
function recovery_index_svelte_create_if_block_4(ctx) {
	let div;
	let div_transition;
	let current;
	let each_value = Object.values(RecoveryTypes);
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = recovery_index_svelte_create_each_block(recovery_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "auth-recovery__list");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}

			current = true;
		},
		p(ctx, dirty) {
			if (dirty[0] & /*selectRecoveryType*/ 2048) {
				each_value = Object.values(RecoveryTypes);
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = recovery_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = recovery_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i(local) {
			if (current) return;

			add_render_callback(() => {
				if (!div_transition) div_transition = create_bidirectional_transition(div, slide, {}, true);
				div_transition.run(1);
			});

			current = true;
		},
		o(local) {
			if (!div_transition) div_transition = create_bidirectional_transition(div, slide, {}, false);
			div_transition.run(0);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
			if (detaching && div_transition) div_transition.end();
		}
	};
}

// (148:4) {#each Object.values(RecoveryTypes) as type}
function recovery_index_svelte_create_each_block(ctx) {
	let div0;
	let t0;
	let div2;
	let div1;
	let i;
	let i_class_value;
	let t1;
	let span;
	let t2_value = MAP_RECOVERY_TYPE_TO_NAME[/*type*/ ctx[31]] + "";
	let t2;
	let t3;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[16](/*type*/ ctx[31]);
	}

	return {
		c() {
			div0 = internal_element("div");
			t0 = space();
			div2 = internal_element("div");
			div1 = internal_element("div");
			i = internal_element("i");
			t1 = space();
			span = internal_element("span");
			t2 = internal_text(t2_value);
			t3 = space();
			attr(div0, "class", "auth-recovery__separator");
			attr(i, "class", i_class_value = "auth-recovery__list-item-icon ui-" + MAP_RECOVERY_TYPE_TO_ICON[/*type*/ ctx[31]]);
			attr(span, "class", "auth-recovery__list-item-title");
			attr(div1, "class", "auth-recovery__list-item-name");
			attr(div2, "class", "auth-recovery__list-item");
		},
		m(target, anchor) {
			insert(target, div0, anchor);
			insert(target, t0, anchor);
			insert(target, div2, anchor);
			append(div2, div1);
			append(div1, i);
			append(div1, t1);
			append(div1, span);
			append(span, t2);
			append(div2, t3);

			if (!mounted) {
				dispose = listen(div2, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
		},
		d(detaching) {
			if (detaching) detach(div0);
			if (detaching) detach(t0);
			if (detaching) detach(div2);
			mounted = false;
			dispose();
		}
	};
}

// (161:1) {#if !isEmpty(selectedRecoveryType) && !successStatus}
function recovery_index_svelte_create_if_block_3(ctx) {
	let div;
	let authfield;
	let updating_fieldValue;
	let updating_validated;
	let current;

	function authfield_fieldValue_binding(value) {
		/*authfield_fieldValue_binding*/ ctx[17](value);
	}

	function authfield_validated_binding(value) {
		/*authfield_validated_binding*/ ctx[18](value);
	}

	let authfield_props = {
		label: MAP_RECOVERY_TYPE_TO_NAME[/*selectedRecoveryType*/ ctx[4]],
		icon: MAP_RECOVERY_TYPE_TO_ICON[/*selectedRecoveryType*/ ctx[4]],
		regex: MAP_RECOVERY_TYPE_TO_VALIDATION[/*selectedRecoveryType*/ ctx[4]],
		required: true
	};

	if (/*recoveryValue*/ ctx[5] !== void 0) {
		authfield_props.fieldValue = /*recoveryValue*/ ctx[5];
	}

	if (/*recoveryValueValidated*/ ctx[0] !== void 0) {
		authfield_props.validated = /*recoveryValueValidated*/ ctx[0];
	}

	authfield = new field_index_svelte({ props: authfield_props });
	binding_callbacks.push(() => bind(authfield, 'fieldValue', authfield_fieldValue_binding));
	binding_callbacks.push(() => bind(authfield, 'validated', authfield_validated_binding));

	return {
		c() {
			div = internal_element("div");
			create_component(authfield.$$.fragment);
			attr(div, "class", "auth-recovery__field");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(authfield, div, null);
			current = true;
		},
		p(ctx, dirty) {
			const authfield_changes = {};
			if (dirty[0] & /*selectedRecoveryType*/ 16) authfield_changes.label = MAP_RECOVERY_TYPE_TO_NAME[/*selectedRecoveryType*/ ctx[4]];
			if (dirty[0] & /*selectedRecoveryType*/ 16) authfield_changes.icon = MAP_RECOVERY_TYPE_TO_ICON[/*selectedRecoveryType*/ ctx[4]];
			if (dirty[0] & /*selectedRecoveryType*/ 16) authfield_changes.regex = MAP_RECOVERY_TYPE_TO_VALIDATION[/*selectedRecoveryType*/ ctx[4]];

			if (!updating_fieldValue && dirty[0] & /*recoveryValue*/ 32) {
				updating_fieldValue = true;
				authfield_changes.fieldValue = /*recoveryValue*/ ctx[5];
				add_flush_callback(() => updating_fieldValue = false);
			}

			if (!updating_validated && dirty[0] & /*recoveryValueValidated*/ 1) {
				updating_validated = true;
				authfield_changes.validated = /*recoveryValueValidated*/ ctx[0];
				add_flush_callback(() => updating_validated = false);
			}

			authfield.$set(authfield_changes);
		},
		i(local) {
			if (current) return;
			transition_in(authfield.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(authfield.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(authfield);
		}
	};
}

// (174:1) {#if recoveryCodeVisible}
function recovery_index_svelte_create_if_block_2(ctx) {
	let div;
	let authfield;
	let updating_fieldValue;
	let updating_validated;
	let current;

	function authfield_fieldValue_binding_1(value) {
		/*authfield_fieldValue_binding_1*/ ctx[19](value);
	}

	function authfield_validated_binding_1(value) {
		/*authfield_validated_binding_1*/ ctx[20](value);
	}

	let authfield_props = {
		label: "Код восстановления",
		icon: "invasion",
		required: true
	};

	if (/*recoveryCode*/ ctx[6] !== void 0) {
		authfield_props.fieldValue = /*recoveryCode*/ ctx[6];
	}

	if (/*recoveryCodeValidated*/ ctx[1] !== void 0) {
		authfield_props.validated = /*recoveryCodeValidated*/ ctx[1];
	}

	authfield = new field_index_svelte({ props: authfield_props });
	binding_callbacks.push(() => bind(authfield, 'fieldValue', authfield_fieldValue_binding_1));
	binding_callbacks.push(() => bind(authfield, 'validated', authfield_validated_binding_1));

	return {
		c() {
			div = internal_element("div");
			create_component(authfield.$$.fragment);
			attr(div, "class", "auth-recovery__field");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(authfield, div, null);
			current = true;
		},
		p(ctx, dirty) {
			const authfield_changes = {};

			if (!updating_fieldValue && dirty[0] & /*recoveryCode*/ 64) {
				updating_fieldValue = true;
				authfield_changes.fieldValue = /*recoveryCode*/ ctx[6];
				add_flush_callback(() => updating_fieldValue = false);
			}

			if (!updating_validated && dirty[0] & /*recoveryCodeValidated*/ 2) {
				updating_validated = true;
				authfield_changes.validated = /*recoveryCodeValidated*/ ctx[1];
				add_flush_callback(() => updating_validated = false);
			}

			authfield.$set(authfield_changes);
		},
		i(local) {
			if (current) return;
			transition_in(authfield.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(authfield.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(authfield);
		}
	};
}

// (186:1) {#if !isEmpty(errorMessage)}
function recovery_index_svelte_create_if_block_1(ctx) {
	let div;
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(/*errorMessage*/ ctx[8]);
			attr(div, "class", "auth-recovery__error-message");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*errorMessage*/ 256) set_data(t, /*errorMessage*/ ctx[8]);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (193:2) {:else}
function recovery_index_svelte_create_else_block(ctx) {
	let authredbutton;
	let current;

	authredbutton = new red_button_index_svelte({
			props: {
				text: "Сбросить пароль",
				onPressed: /*sendRecoveryCode*/ ctx[13],
				disabled: /*disabled*/ ctx[10]
			}
		});

	return {
		c() {
			create_component(authredbutton.$$.fragment);
		},
		m(target, anchor) {
			mount_component(authredbutton, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const authredbutton_changes = {};
			if (dirty[0] & /*disabled*/ 1024) authredbutton_changes.disabled = /*disabled*/ ctx[10];
			authredbutton.$set(authredbutton_changes);
		},
		i(local) {
			if (current) return;
			transition_in(authredbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(authredbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(authredbutton, detaching);
		}
	};
}

// (191:2) {#if !recoveryCodeVisible}
function recovery_index_svelte_create_if_block(ctx) {
	let authredbutton;
	let current;

	authredbutton = new red_button_index_svelte({
			props: {
				text: "Отправить код",
				onPressed: /*recovery*/ ctx[12],
				disabled: /*disabled*/ ctx[10]
			}
		});

	return {
		c() {
			create_component(authredbutton.$$.fragment);
		},
		m(target, anchor) {
			mount_component(authredbutton, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const authredbutton_changes = {};
			if (dirty[0] & /*disabled*/ 1024) authredbutton_changes.disabled = /*disabled*/ ctx[10];
			authredbutton.$set(authredbutton_changes);
		},
		i(local) {
			if (current) return;
			transition_in(authredbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(authredbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(authredbutton, detaching);
		}
	};
}

function recovery_index_svelte_create_fragment(ctx) {
	let div6;
	let div0;
	let t0;
	let t1;
	let div3;
	let div2;
	let div1;
	let show_if_2;
	let t2;
	let t3;
	let t4;
	let show_if_1 = !(0,lodash.isEmpty)(/*selectedRecoveryType*/ ctx[4]) && !/*successStatus*/ ctx[9];
	let t5;
	let t6;
	let show_if = !(0,lodash.isEmpty)(/*errorMessage*/ ctx[8]);
	let t7;
	let div4;
	let current_block_type_index;
	let if_block6;
	let t8;
	let div5;
	let t9;
	let span;
	let current;
	let mounted;
	let dispose;

	function select_block_type(ctx, dirty) {
		if (dirty[0] & /*selectedRecoveryType*/ 16) show_if_2 = null;
		if (show_if_2 == null) show_if_2 = !!(0,lodash.isEmpty)(/*selectedRecoveryType*/ ctx[4]);
		if (show_if_2) return index_svelte_create_if_block_6;
		return create_else_block_2;
	}

	let current_block_type = select_block_type(ctx, [-1, -1]);
	let if_block0 = current_block_type(ctx);

	function select_block_type_1(ctx, dirty) {
		if (!/*recoveryListVisible*/ ctx[3]) return recovery_index_svelte_create_if_block_5;
		return recovery_index_svelte_create_else_block_1;
	}

	let current_block_type_1 = select_block_type_1(ctx, [-1, -1]);
	let if_block1 = current_block_type_1(ctx);
	let if_block2 = /*recoveryListVisible*/ ctx[3] && recovery_index_svelte_create_if_block_4(ctx);
	let if_block3 = show_if_1 && recovery_index_svelte_create_if_block_3(ctx);
	let if_block4 = /*recoveryCodeVisible*/ ctx[7] && recovery_index_svelte_create_if_block_2(ctx);
	let if_block5 = show_if && recovery_index_svelte_create_if_block_1(ctx);
	const if_block_creators = [recovery_index_svelte_create_if_block, recovery_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type_2(ctx, dirty) {
		if (!/*recoveryCodeVisible*/ ctx[7]) return 0;
		return 1;
	}

	current_block_type_index = select_block_type_2(ctx, [-1, -1]);
	if_block6 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div6 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(/*titleMessage*/ ctx[2]);
			t1 = space();
			div3 = internal_element("div");
			div2 = internal_element("div");
			div1 = internal_element("div");
			if_block0.c();
			t2 = space();
			if_block1.c();
			t3 = space();
			if (if_block2) if_block2.c();
			t4 = space();
			if (if_block3) if_block3.c();
			t5 = space();
			if (if_block4) if_block4.c();
			t6 = space();
			if (if_block5) if_block5.c();
			t7 = space();
			div4 = internal_element("div");
			if_block6.c();
			t8 = space();
			div5 = internal_element("div");
			t9 = internal_text("Вернуться к авторизации\r\n\t\t");
			span = internal_element("span");
			span.textContent = "Войти в аккаунт";
			attr(div0, "class", "auth-recovery__notice");
			attr(div1, "class", "auth-recovery__selected-name");
			attr(div2, "class", "auth-recovery__selected");
			toggle_class(div2, "auth-recovery__selected--opened", /*recoveryListVisible*/ ctx[3]);
			attr(div3, "class", "auth-recovery__drop-down");
			attr(div4, "class", "auth-recovery__proceed");
			attr(span, "class", "auth-recovery__create-account-caption--accent");
			attr(div5, "class", "auth-recovery__create-account-caption");
			attr(div6, "class", "auth-recovery");
		},
		m(target, anchor) {
			insert(target, div6, anchor);
			append(div6, div0);
			append(div0, t0);
			append(div6, t1);
			append(div6, div3);
			append(div3, div2);
			append(div2, div1);
			if_block0.m(div1, null);
			append(div2, t2);
			if_block1.m(div2, null);
			append(div3, t3);
			if (if_block2) if_block2.m(div3, null);
			append(div6, t4);
			if (if_block3) if_block3.m(div6, null);
			append(div6, t5);
			if (if_block4) if_block4.m(div6, null);
			append(div6, t6);
			if (if_block5) if_block5.m(div6, null);
			append(div6, t7);
			append(div6, div4);
			if_blocks[current_block_type_index].m(div4, null);
			append(div6, t8);
			append(div6, div5);
			append(div5, t9);
			append(div5, span);
			current = true;

			if (!mounted) {
				dispose = [
					listen(div2, "click", /*toggleRecoveryListVisibility*/ ctx[15]),
					listen(span, "click", /*routeToSignIn*/ ctx[14])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (!current || dirty[0] & /*titleMessage*/ 4) set_data(t0, /*titleMessage*/ ctx[2]);

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block0) {
				if_block0.p(ctx, dirty);
			} else {
				if_block0.d(1);
				if_block0 = current_block_type(ctx);

				if (if_block0) {
					if_block0.c();
					if_block0.m(div1, null);
				}
			}

			if (current_block_type_1 !== (current_block_type_1 = select_block_type_1(ctx, dirty))) {
				if_block1.d(1);
				if_block1 = current_block_type_1(ctx);

				if (if_block1) {
					if_block1.c();
					if_block1.m(div2, null);
				}
			}

			if (dirty[0] & /*recoveryListVisible*/ 8) {
				toggle_class(div2, "auth-recovery__selected--opened", /*recoveryListVisible*/ ctx[3]);
			}

			if (/*recoveryListVisible*/ ctx[3]) {
				if (if_block2) {
					if_block2.p(ctx, dirty);

					if (dirty[0] & /*recoveryListVisible*/ 8) {
						transition_in(if_block2, 1);
					}
				} else {
					if_block2 = recovery_index_svelte_create_if_block_4(ctx);
					if_block2.c();
					transition_in(if_block2, 1);
					if_block2.m(div3, null);
				}
			} else if (if_block2) {
				group_outros();

				transition_out(if_block2, 1, 1, () => {
					if_block2 = null;
				});

				check_outros();
			}

			if (dirty[0] & /*selectedRecoveryType, successStatus*/ 528) show_if_1 = !(0,lodash.isEmpty)(/*selectedRecoveryType*/ ctx[4]) && !/*successStatus*/ ctx[9];

			if (show_if_1) {
				if (if_block3) {
					if_block3.p(ctx, dirty);

					if (dirty[0] & /*selectedRecoveryType, successStatus*/ 528) {
						transition_in(if_block3, 1);
					}
				} else {
					if_block3 = recovery_index_svelte_create_if_block_3(ctx);
					if_block3.c();
					transition_in(if_block3, 1);
					if_block3.m(div6, t5);
				}
			} else if (if_block3) {
				group_outros();

				transition_out(if_block3, 1, 1, () => {
					if_block3 = null;
				});

				check_outros();
			}

			if (/*recoveryCodeVisible*/ ctx[7]) {
				if (if_block4) {
					if_block4.p(ctx, dirty);

					if (dirty[0] & /*recoveryCodeVisible*/ 128) {
						transition_in(if_block4, 1);
					}
				} else {
					if_block4 = recovery_index_svelte_create_if_block_2(ctx);
					if_block4.c();
					transition_in(if_block4, 1);
					if_block4.m(div6, t6);
				}
			} else if (if_block4) {
				group_outros();

				transition_out(if_block4, 1, 1, () => {
					if_block4 = null;
				});

				check_outros();
			}

			if (dirty[0] & /*errorMessage*/ 256) show_if = !(0,lodash.isEmpty)(/*errorMessage*/ ctx[8]);

			if (show_if) {
				if (if_block5) {
					if_block5.p(ctx, dirty);
				} else {
					if_block5 = recovery_index_svelte_create_if_block_1(ctx);
					if_block5.c();
					if_block5.m(div6, t7);
				}
			} else if (if_block5) {
				if_block5.d(1);
				if_block5 = null;
			}

			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type_2(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block6 = if_blocks[current_block_type_index];

				if (!if_block6) {
					if_block6 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block6.c();
				} else {
					if_block6.p(ctx, dirty);
				}

				transition_in(if_block6, 1);
				if_block6.m(div4, null);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block2);
			transition_in(if_block3);
			transition_in(if_block4);
			transition_in(if_block6);
			current = true;
		},
		o(local) {
			transition_out(if_block2);
			transition_out(if_block3);
			transition_out(if_block4);
			transition_out(if_block6);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div6);
			if_block0.d();
			if_block1.d();
			if (if_block2) if_block2.d();
			if (if_block3) if_block3.d();
			if (if_block4) if_block4.d();
			if (if_block5) if_block5.d();
			if_blocks[current_block_type_index].d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function recovery_index_svelte_instance($$self, $$props, $$invalidate) {
	let $currentView;
	let $login;
	component_subscribe($$self, currentView, $$value => $$invalidate(21, $currentView = $$value));
	component_subscribe($$self, login, $$value => $$invalidate(22, $login = $$value));
	let titleMessage = '';
	let recoveryListVisible = false;
	let selectedRecoveryType = '';
	let recoveryValue = '';
	let recoveryValueValidated = null;
	let recoveryCode = '';
	let recoveryCodeVisible = false;
	let recoveryCodeValidated = null;
	let errorMessage = '';
	let successStatus = false;
	let disabled = true;

	const updateSuccessTitleMessage = message => {
		$$invalidate(2, titleMessage = message);
		$$invalidate(10, disabled = true);
	};

	const unregisterUpdateSuccessTitleMessage = registerEvent('event.auth.updateSuccessTitleMessage', updateSuccessTitleMessage);

	const updateErrorMessage = message => {
		$$invalidate(8, errorMessage = message);
	};

	const unregisterUpdateErrorMessage = registerEvent('event.auth.updateErrorMessage', updateErrorMessage);

	const updateSuccessStatus = status => {
		$$invalidate(9, successStatus = status);
	};

	const unregisterUpdateSuccessStatus = registerEvent('event.auth.updateSuccessStatus', updateSuccessStatus);

	const updateRecoveryCodeVisible = status => {
		$$invalidate(7, recoveryCodeVisible = status);
	};

	const unregisterUpdateRecoveryCodeVisible = registerEvent('event.auth.updateRecoveryCodeVisible', updateRecoveryCodeVisible);

	const selectRecoveryType = type => {
		$$invalidate(5, recoveryValue = '');
		$$invalidate(0, recoveryValueValidated = null);
		$$invalidate(1, recoveryCodeValidated = null);
		$$invalidate(7, recoveryCodeVisible = false);
		$$invalidate(10, disabled = true);
		$$invalidate(4, selectedRecoveryType = type);
		$$invalidate(3, recoveryListVisible = false);
	};

	const recovery = () => {
		if ((0,lodash.isEmpty)(selectedRecoveryType)) {
			return;
		}

		if (disabled) {
			return;
		}

		$$invalidate(8, errorMessage = '');
		sendClientMessage('authRecovery', selectedRecoveryType, recoveryValue, $login);
	};

	const sendRecoveryCode = () => {
		if (disabled) {
			return;
		}

		$$invalidate(8, errorMessage = '');
		sendClientMessage('authRecoveryCodeByMail', selectedRecoveryType, recoveryCode);
		$$invalidate(10, disabled = false);
		$$invalidate(1, recoveryCodeValidated = null);
	};

	const routeToSignIn = () => {
		set_store_value(currentView, $currentView = Views.Signin, $currentView);
	};

	const toggleRecoveryListVisibility = () => {
		$$invalidate(3, recoveryListVisible = !recoveryListVisible);
	};

	onMount(() => {
		$$invalidate(2, titleMessage = 'Выберите способ получения нового пароля для вашего аккаунта');
		$$invalidate(10, disabled = false);
	});

	onDestroy(() => {
		unregisterUpdateErrorMessage();
		unregisterUpdateSuccessStatus();
		unregisterUpdateRecoveryCodeVisible();
		unregisterUpdateSuccessTitleMessage();
	});

	const click_handler = type => selectRecoveryType(type);

	function authfield_fieldValue_binding(value) {
		recoveryValue = value;
		$$invalidate(5, recoveryValue);
	}

	function authfield_validated_binding(value) {
		recoveryValueValidated = value;
		$$invalidate(0, recoveryValueValidated);
	}

	function authfield_fieldValue_binding_1(value) {
		recoveryCode = value;
		$$invalidate(6, recoveryCode);
	}

	function authfield_validated_binding_1(value) {
		recoveryCodeValidated = value;
		$$invalidate(1, recoveryCodeValidated);
	}

	$$self.$$.update = () => {
		if ($$self.$$.dirty[0] & /*recoveryValueValidated, recoveryCodeValidated*/ 3) {
			$: {
				if (!(0,lodash.isNil)(recoveryValueValidated)) {
					$$invalidate(10, disabled = !recoveryValueValidated);

					if (!(0,lodash.isNil)(recoveryCodeValidated)) {
						$$invalidate(10, disabled = !recoveryValueValidated || !recoveryCodeValidated);
					}
				}
			}
		}
	};

	return [
		recoveryValueValidated,
		recoveryCodeValidated,
		titleMessage,
		recoveryListVisible,
		selectedRecoveryType,
		recoveryValue,
		recoveryCode,
		recoveryCodeVisible,
		errorMessage,
		successStatus,
		disabled,
		selectRecoveryType,
		recovery,
		sendRecoveryCode,
		routeToSignIn,
		toggleRecoveryListVisibility,
		click_handler,
		authfield_fieldValue_binding,
		authfield_validated_binding,
		authfield_fieldValue_binding_1,
		authfield_validated_binding_1
	];
}

class Recovery extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, recovery_index_svelte_instance, recovery_index_svelte_create_fragment, safe_not_equal, {}, null, [-1, -1]);
	}
}

/* harmony default export */ const recovery_index_svelte = (Recovery);
;// CONCATENATED MODULE: ./src/views/auth/components/character-editor/index.svelte
/* src\views\auth\components\character-editor\index.svelte generated by Svelte v3.49.0 */






// eslint-disable-next-line import/no-cycle




function character_editor_index_svelte_create_fragment(ctx) {
	let div13;
	let authserverinfo;
	let t0;
	let div0;
	let t2;
	let div11;
	let div8;
	let div5;
	let div1;
	let t4;
	let div4;
	let div2;
	let t6;
	let div3;
	let t8;
	let div6;
	let t10;
	let div7;
	let i0;
	let t11;
	let span;
	let t12_value = /*selectedPreview*/ ctx[2].name + "";
	let t12;
	let t13;
	let i1;
	let t14;
	let div10;
	let img;
	let img_src_value;
	let t15;
	let div9;
	let t16;
	let div12;
	let authredbutton;
	let current;
	let mounted;
	let dispose;
	authserverinfo = new server_info_index_svelte({});

	authredbutton = new red_button_index_svelte({
			props: {
				text: "Начать играть",
				onPressed: /*createCharacter*/ ctx[7],
				disabled: /*disabled*/ ctx[3]
			}
		});

	return {
		c() {
			div13 = internal_element("div");
			create_component(authserverinfo.$$.fragment);
			t0 = space();
			div0 = internal_element("div");
			div0.textContent = "Вы почти в игре! Выберите внешность, которую хотите и настройте персонажа";
			t2 = space();
			div11 = internal_element("div");
			div8 = internal_element("div");
			div5 = internal_element("div");
			div1 = internal_element("div");
			div1.textContent = "Пол персонажа";
			t4 = space();
			div4 = internal_element("div");
			div2 = internal_element("div");
			div2.textContent = "Мужской";
			t6 = space();
			div3 = internal_element("div");
			div3.textContent = "Женский";
			t8 = space();
			div6 = internal_element("div");
			div6.textContent = "Внешность";
			t10 = space();
			div7 = internal_element("div");
			i0 = internal_element("i");
			t11 = space();
			span = internal_element("span");
			t12 = internal_text(t12_value);
			t13 = space();
			i1 = internal_element("i");
			t14 = space();
			div10 = internal_element("div");
			img = internal_element("img");
			t15 = space();
			div9 = internal_element("div");
			t16 = space();
			div12 = internal_element("div");
			create_component(authredbutton.$$.fragment);
			attr(div0, "class", "auth-character-editor__notice");
			attr(div1, "class", "auth-character-editor__label");
			attr(div2, "class", "auth-character-editor__gender");
			toggle_class(div2, "auth-character-editor__gender--active", /*selectedGender*/ ctx[0] === Genders.Male);
			attr(div3, "class", "auth-character-editor__gender");
			toggle_class(div3, "auth-character-editor__gender--active", /*selectedGender*/ ctx[0] === Genders.Female);
			attr(div4, "class", "auth-character-editor__variants");
			attr(div5, "class", "auth-character-editor__selector");
			attr(div6, "class", "auth-character-editor__label");
			attr(i0, "class", "auth-character-editor__appearance-control ui-left-chevron");
			toggle_class(i0, "auth-character-editor__appearance-control--disabled", /*selectedImage*/ ctx[1] <= 0);
			attr(span, "class", "auth-character-editor__appearance-name");
			attr(i1, "class", "auth-character-editor__appearance-control ui-right-chevron");
			toggle_class(i1, "auth-character-editor__appearance-control--disabled", /*selectedImage*/ ctx[1] + 1 >= CharacterImages[/*selectedGender*/ ctx[0]].length);
			attr(div7, "class", "auth-character-editor__appearance");
			attr(div8, "class", "auth-character-editor__selectors");
			if (!src_url_equal(img.src, img_src_value = /*selectedPreview*/ ctx[2].image)) attr(img, "src", img_src_value);
			attr(img, "alt", "character-preview");
			attr(img, "class", "auth-character-editor__preview-image");
			attr(div9, "class", "auth-character-editor__back-light");
			attr(div10, "class", "auth-character-editor__preview");
			attr(div11, "class", "auth-character-editor__editor");
			attr(div12, "class", "auth-character-editor__start-button");
			attr(div13, "class", "auth-character-editor");
		},
		m(target, anchor) {
			insert(target, div13, anchor);
			mount_component(authserverinfo, div13, null);
			append(div13, t0);
			append(div13, div0);
			append(div13, t2);
			append(div13, div11);
			append(div11, div8);
			append(div8, div5);
			append(div5, div1);
			append(div5, t4);
			append(div5, div4);
			append(div4, div2);
			append(div4, t6);
			append(div4, div3);
			append(div8, t8);
			append(div8, div6);
			append(div8, t10);
			append(div8, div7);
			append(div7, i0);
			append(div7, t11);
			append(div7, span);
			append(span, t12);
			append(div7, t13);
			append(div7, i1);
			append(div11, t14);
			append(div11, div10);
			append(div10, img);
			append(div10, t15);
			append(div10, div9);
			append(div13, t16);
			append(div13, div12);
			mount_component(authredbutton, div12, null);
			current = true;

			if (!mounted) {
				dispose = [
					listen(div2, "click", /*click_handler*/ ctx[8]),
					listen(div3, "click", /*click_handler_1*/ ctx[9]),
					listen(i0, "click", /*prevAppearance*/ ctx[6]),
					listen(i1, "click", /*nextAppearance*/ ctx[5])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*selectedGender, Genders*/ 1) {
				toggle_class(div2, "auth-character-editor__gender--active", /*selectedGender*/ ctx[0] === Genders.Male);
			}

			if (dirty & /*selectedGender, Genders*/ 1) {
				toggle_class(div3, "auth-character-editor__gender--active", /*selectedGender*/ ctx[0] === Genders.Female);
			}

			if (dirty & /*selectedImage*/ 2) {
				toggle_class(i0, "auth-character-editor__appearance-control--disabled", /*selectedImage*/ ctx[1] <= 0);
			}

			if ((!current || dirty & /*selectedPreview*/ 4) && t12_value !== (t12_value = /*selectedPreview*/ ctx[2].name + "")) set_data(t12, t12_value);

			if (dirty & /*selectedImage, CharacterImages, selectedGender*/ 3) {
				toggle_class(i1, "auth-character-editor__appearance-control--disabled", /*selectedImage*/ ctx[1] + 1 >= CharacterImages[/*selectedGender*/ ctx[0]].length);
			}

			if (!current || dirty & /*selectedPreview*/ 4 && !src_url_equal(img.src, img_src_value = /*selectedPreview*/ ctx[2].image)) {
				attr(img, "src", img_src_value);
			}

			const authredbutton_changes = {};
			if (dirty & /*disabled*/ 8) authredbutton_changes.disabled = /*disabled*/ ctx[3];
			authredbutton.$set(authredbutton_changes);
		},
		i(local) {
			if (current) return;
			transition_in(authserverinfo.$$.fragment, local);
			transition_in(authredbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(authserverinfo.$$.fragment, local);
			transition_out(authredbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div13);
			destroy_component(authserverinfo);
			destroy_component(authredbutton);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function character_editor_index_svelte_instance($$self, $$props, $$invalidate) {
	let selectedGender = Genders.Male;
	let selectedImage = 0;
	let selectedPreview = CharacterImages[selectedGender][selectedImage];
	let disabled = false;

	const selectGender = gender => {
		$$invalidate(0, selectedGender = gender);
		$$invalidate(1, selectedImage = 0);
		$$invalidate(2, selectedPreview = CharacterImages[selectedGender][selectedImage]);
	};

	const nextAppearance = () => {
		if (selectedImage + 1 >= CharacterImages[selectedGender].length) {
			return;
		}

		$$invalidate(1, selectedImage += 1);
		$$invalidate(2, selectedPreview = CharacterImages[selectedGender][selectedImage]);
	};

	const prevAppearance = () => {
		if (selectedImage - 1 < 0) {
			return;
		}

		$$invalidate(1, selectedImage -= 1);
		$$invalidate(2, selectedPreview = CharacterImages[selectedGender][selectedImage]);
	};

	const createCharacter = () => {
		sendClientMessage('createCharacter', selectedGender, selectedImage);
		$$invalidate(3, disabled = true);
	};

	const click_handler = () => selectGender(Genders.Male);
	const click_handler_1 = () => selectGender(Genders.Female);

	return [
		selectedGender,
		selectedImage,
		selectedPreview,
		disabled,
		selectGender,
		nextAppearance,
		prevAppearance,
		createCharacter,
		click_handler,
		click_handler_1
	];
}

class Character_editor extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, character_editor_index_svelte_instance, character_editor_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const character_editor_index_svelte = (Character_editor);
;// CONCATENATED MODULE: ./src/views/auth/img/waves-bg.png
const waves_bg_namespaceObject = __webpack_require__.p + "assets/cd43b5a9afd8febc1d65.webp";
;// CONCATENATED MODULE: ./src/views/auth/img/waves-bg-greyscale.png
const waves_bg_greyscale_namespaceObject = __webpack_require__.p + "assets/8e31fb3acd185886e48f.webp";
;// CONCATENATED MODULE: ./src/views/auth/img/sign-up-bottom.png
const sign_up_bottom_namespaceObject = __webpack_require__.p + "assets/0e105cf956279648f2c5.webp";
;// CONCATENATED MODULE: ./src/views/auth/img/sign-up-bottom-greyscale.png
const sign_up_bottom_greyscale_namespaceObject = __webpack_require__.p + "assets/f6056fd083c252b74a2a.webp";
;// CONCATENATED MODULE: ./src/views/auth/img/characters/white/female/494.png
const _494_namespaceObject = __webpack_require__.p + "assets/4382f3ee67c6701a32ef.webp";
;// CONCATENATED MODULE: ./src/views/auth/img/characters/white/female/495.png
const _495_namespaceObject = __webpack_require__.p + "assets/96ee5ffb6778631d9564.webp";
;// CONCATENATED MODULE: ./src/views/auth/img/characters/white/female/496.png
const _496_namespaceObject = __webpack_require__.p + "assets/aa7bc906d86f9ab5cd9d.webp";
;// CONCATENATED MODULE: ./src/views/auth/img/characters/white/male/497.png
const _497_namespaceObject = __webpack_require__.p + "assets/cb54e018f6683c543f71.webp";
;// CONCATENATED MODULE: ./src/views/auth/img/characters/white/male/498.png
const _498_namespaceObject = __webpack_require__.p + "assets/f4063a38f58685b45a5b.webp";
;// CONCATENATED MODULE: ./src/views/auth/img/characters/white/male/499.png
const _499_namespaceObject = __webpack_require__.p + "assets/d55e7dea37790cbcf5c8.webp";
;// CONCATENATED MODULE: ./src/views/auth/constants.js
function auth_constants_typeof(o) { "@babel/helpers - typeof"; return auth_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, auth_constants_typeof(o); }
function auth_constants_defineProperty(e, r, t) { return (r = auth_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function auth_constants_toPropertyKey(t) { var i = auth_constants_toPrimitive(t, "string"); return "symbol" == auth_constants_typeof(i) ? i : i + ""; }
function auth_constants_toPrimitive(t, r) { if ("object" != auth_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != auth_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }















var USER_NAME_VALIDATION_PATTERN = /^[a-z0-9_]{3,20}$/i;
var USER_SIGNIN_PASSWORD_VALIDATION_PATTERN = /^.{1,50}$/i;
var USER_SIGNUP_PASSWORD_VALIDATION_PATTERN = /^.{6,50}$/i;
var USER_MAIL_VALIDATION_PATTERN = /^[a-zA-Z0-9_.]+@[a-zA-Z_]+?\.[a-zA-Z]{2,3}$/;
var Views = {
  Signin: 'signin',
  Signup: 'signup',
  CharacterEditor: 'character-editor',
  Spawn: 'spawn',
  Recovery: 'recovery'
};
var MAP_VIEW_TO_COMPONENT = auth_constants_defineProperty(auth_constants_defineProperty(auth_constants_defineProperty(auth_constants_defineProperty(auth_constants_defineProperty({}, Views.Signin, sign_in_form_index_svelte), Views.Signup, sign_up_form_index_svelte), Views.CharacterEditor, character_editor_index_svelte), Views.Spawn, spawn_list_index_svelte), Views.Recovery, recovery_index_svelte);
var MAP_VIEW_TO_TITLE = auth_constants_defineProperty(auth_constants_defineProperty(auth_constants_defineProperty(auth_constants_defineProperty(auth_constants_defineProperty({}, Views.Signin, 'Войти в аккаунт'), Views.Signup, 'Регистрация'), Views.CharacterEditor, 'Регистрация'), Views.Spawn, 'Выберите место спавна'), Views.Recovery, 'Сброс пароля');
var MAP_VIEW_TO_BACKGROUND = auth_constants_defineProperty(auth_constants_defineProperty(auth_constants_defineProperty(auth_constants_defineProperty(auth_constants_defineProperty({}, Views.Signin, waves_bg_namespaceObject), Views.Signup, sign_up_bottom_namespaceObject), Views.CharacterEditor, sign_up_bottom_greyscale_namespaceObject), Views.Spawn, waves_bg_greyscale_namespaceObject), Views.Recovery, waves_bg_namespaceObject);
var RecoveryTypes = {
  Mail: 'mail',
  Vk: 'vk',
  Telegram: 'telegram'
};
var MAP_RECOVERY_TYPE_TO_ICON = auth_constants_defineProperty(auth_constants_defineProperty(auth_constants_defineProperty({}, RecoveryTypes.Mail, 'mail'), RecoveryTypes.Vk, 'vk'), RecoveryTypes.Telegram, 'telegram');
var MAP_RECOVERY_TYPE_TO_NAME = auth_constants_defineProperty(auth_constants_defineProperty(auth_constants_defineProperty({}, RecoveryTypes.Mail, 'Почта'), RecoveryTypes.Vk, 'ВКонтакте'), RecoveryTypes.Telegram, 'Телеграм');
var MAP_RECOVERY_TYPE_TO_VALIDATION = auth_constants_defineProperty({}, RecoveryTypes.Mail, USER_MAIL_VALIDATION_PATTERN);
var Genders = {
  Male: 'man',
  Female: 'girl'
};
var CharacterImages = auth_constants_defineProperty(auth_constants_defineProperty({}, Genders.Male, [{
  name: 'Мужской #1',
  image: _497_namespaceObject
}, {
  name: 'Мужской #2',
  image: _498_namespaceObject
}, {
  name: 'Мужской #3',
  image: _499_namespaceObject
}]), Genders.Female, [{
  name: 'Женский #1',
  image: _494_namespaceObject
}, {
  name: 'Женский #2',
  image: _495_namespaceObject
}, {
  name: 'Женский #3',
  image: _496_namespaceObject
}]);
var monthes = ['Января', 'Февраля', 'Марта', 'Апреля', 'Мая', 'Июня', 'Июля', 'Августа', 'Сентября', 'Октября', 'Ноября', 'Декабря'];
;// CONCATENATED MODULE: ./src/views/auth/components/news-item/index.svelte
/* src\views\auth\components\news-item\index.svelte generated by Svelte v3.49.0 */





function news_item_index_svelte_create_fragment(ctx) {
	let div;
	let img;
	let img_src_value;
	let t0;
	let p0;
	let t2;
	let p1;
	let t3_value = /*news*/ ctx[0].title + "";
	let t3;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p0 = internal_element("p");
			p0.textContent = `${/*calculateDate*/ ctx[2]()}`;
			t2 = space();
			p1 = internal_element("p");
			t3 = internal_text(t3_value);
			if (!src_url_equal(img.src, img_src_value = /*news*/ ctx[0].imageUrl)) attr(img, "src", img_src_value);
			attr(img, "alt", "news cover");
			attr(img, "class", "news-feed-item__cover");
			attr(p0, "class", "news-feed-item__date");
			attr(p1, "class", "news-feed-item__title");
			attr(div, "class", "news-feed-item");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
			append(div, t0);
			append(div, p0);
			append(div, t2);
			append(div, p1);
			append(p1, t3);

			if (!mounted) {
				dispose = listen(div, "click", function () {
					if (internal_is_function(/*openLink*/ ctx[1])) /*openLink*/ ctx[1].apply(this, arguments);
				});

				mounted = true;
			}
		},
		p(new_ctx, [dirty]) {
			ctx = new_ctx;

			if (dirty & /*news*/ 1 && !src_url_equal(img.src, img_src_value = /*news*/ ctx[0].imageUrl)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*news*/ 1 && t3_value !== (t3_value = /*news*/ ctx[0].title + "")) set_data(t3, t3_value);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

function news_item_index_svelte_instance($$self, $$props, $$invalidate) {
	let { news = {} } = $$props;

	let { openLink = () => {
		
	} } = $$props;

	let postedAt = '';
	const dateNow = new Date();

	const calculateDate = () => {
		const postedDate = new Date(news.createDate * 1000);

		if (dateNow.getMonth === postedDate.getMonth()) {
			switch (dateNow.getDate() - postedDate.getDate()) {
				case 1:
					postedAt = `Сегодня ${postedDate.getHours()}:${postedDate.getMinutes().toString().padStart(2, '0')}`;
					break;
				case 2:
					postedAt = `Вчера ${postedDate.getHours()}:${postedDate.getMinutes().toString().padStart(2, '0')}`;
					break;
				default:
					break;
			}
		} else {
			// eslint-disable-next-line max-len
			postedAt = `${postedDate.getDate()} ${monthes[postedDate.getMonth()]} - ${postedDate.getHours()}:${postedDate.getMinutes().toString().padStart(2, '0')}`;
		}

		return postedAt;
	};

	$$self.$$set = $$props => {
		if ('news' in $$props) $$invalidate(0, news = $$props.news);
		if ('openLink' in $$props) $$invalidate(1, openLink = $$props.openLink);
	};

	return [news, openLink, calculateDate];
}

class News_item extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, news_item_index_svelte_instance, news_item_index_svelte_create_fragment, safe_not_equal, { news: 0, openLink: 1 });
	}
}

/* harmony default export */ const news_item_index_svelte = (News_item);
;// CONCATENATED MODULE: ./src/views/auth/components/news-feed/index.svelte
/* src\views\auth\components\news-feed\index.svelte generated by Svelte v3.49.0 */








function news_feed_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[7] = list[i];
	return child_ctx;
}

// (41:2) {#each $newsList as news}
function news_feed_index_svelte_create_each_block(ctx) {
	let newsitem;
	let current;

	function func() {
		return /*func*/ ctx[5](/*news*/ ctx[7]);
	}

	newsitem = new news_item_index_svelte({
			props: { news: /*news*/ ctx[7], openLink: func }
		});

	return {
		c() {
			create_component(newsitem.$$.fragment);
		},
		m(target, anchor) {
			mount_component(newsitem, target, anchor);
			current = true;
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			const newsitem_changes = {};
			if (dirty & /*$newsList*/ 4) newsitem_changes.news = /*news*/ ctx[7];
			if (dirty & /*$newsList*/ 4) newsitem_changes.openLink = func;
			newsitem.$set(newsitem_changes);
		},
		i(local) {
			if (current) return;
			transition_in(newsitem.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(newsitem.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(newsitem, detaching);
		}
	};
}

function news_feed_index_svelte_create_fragment(ctx) {
	let div3;
	let div0;
	let t1;
	let div1;
	let t2;
	let div2;
	let div3_transition;
	let current;
	let mounted;
	let dispose;
	let each_value = /*$newsList*/ ctx[2];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = news_feed_index_svelte_create_each_block(news_feed_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			div3 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "Последние новости";
			t1 = space();
			div1 = internal_element("div");
			div1.innerHTML = `<i class="news-feed__button-icon icon-paper"></i>`;
			t2 = space();
			div2 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div0, "class", "news-feed__caption");
			attr(div1, "class", "news-feed__button");
			attr(div2, "class", "news-feed__list");
			attr(div3, "class", "news-feed");
			toggle_class(div3, "news-feed--bouncing", /*bouncing*/ ctx[1]);
			toggle_class(div3, "news-feed--opened", /*newsOpened*/ ctx[0]);
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div0);
			append(div3, t1);
			append(div3, div1);
			append(div3, t2);
			append(div3, div2);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div2, null);
			}

			current = true;

			if (!mounted) {
				dispose = listen(div1, "click", /*toggleNewsOpened*/ ctx[4]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*$newsList, openLink*/ 12) {
				each_value = /*$newsList*/ ctx[2];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = news_feed_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = news_feed_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div2, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}

			if (dirty & /*bouncing*/ 2) {
				toggle_class(div3, "news-feed--bouncing", /*bouncing*/ ctx[1]);
			}

			if (dirty & /*newsOpened*/ 1) {
				toggle_class(div3, "news-feed--opened", /*newsOpened*/ ctx[0]);
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			add_render_callback(() => {
				if (!div3_transition) div3_transition = create_bidirectional_transition(div3, fly, {}, true);
				div3_transition.run(1);
			});

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			if (!div3_transition) div3_transition = create_bidirectional_transition(div3, fly, {}, false);
			div3_transition.run(0);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div3);
			destroy_each(each_blocks, detaching);
			if (detaching && div3_transition) div3_transition.end();
			mounted = false;
			dispose();
		}
	};
}

function news_feed_index_svelte_instance($$self, $$props, $$invalidate) {
	let $newsList;
	component_subscribe($$self, newsList, $$value => $$invalidate(2, $newsList = $$value));
	let newsOpened = 0;
	let bouncing = false;
	let bounceInterval = null;

	const openLink = url => {
		window.cef.Open(url, 1);
	};

	const toggleNewsOpened = () => {
		$$invalidate(0, newsOpened = !newsOpened);
	};

	onMount(() => {
		bounceInterval = setInterval(
			() => {
				$$invalidate(1, bouncing = !bouncing);
			},
			7500
		);
	});

	onDestroy(() => {
		clearInterval(bounceInterval);
		bounceInterval = null;
	});

	const func = news => openLink(news.url);
	return [newsOpened, bouncing, $newsList, openLink, toggleNewsOpened, func];
}

class News_feed extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, news_feed_index_svelte_instance, news_feed_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const news_feed_index_svelte = (News_feed);
;// CONCATENATED MODULE: ./src/views/auth/mock.js
var SPAWN_POINTS_MOCK = [{
  id: 1,
  spawn: 'Последнее место выхода'
}, {
  id: 2,
  spawn: 'Сохраненная точка'
}, {
  id: 3,
  spawn: 'Стандартный спавн'
}, {
  id: 4,
  spawn: 'Дом #1'
}, {
  id: 5,
  spawn: 'Дом #2'
}, {
  id: 6,
  spawn: 'Дом #3'
}, {
  id: 7,
  spawn: 'Дом #4'
}, {
  id: 8,
  spawn: 'Дом #5'
}, {
  id: 9,
  spawn: 'Дом #6'
}, {
  id: 10,
  spawn: 'Дом #7'
}, {
  id: 11,
  spawn: 'Дом #8'
}];
var SERVER_INFO_MOCK = {
  id: -1,
  title: ' ',
  flag: '',
  online: -1,
  status: 'good',
  username: 'user',
  password: '',
  remember: true
};
var NEWS_MOCK = [{
  title: 'Новогоднее обновление 2023',
  imageUrl: 'https://api-samp.arizona-five.ru/uploads/1673173066802.jpg',
  url: 'https://arizona-rp.com/posts/194-ny-23',
  createDate: 1673173066802
}, {
  title: 'Ведьмы, Зомби и Страх на Arizona Roleplay',
  imageUrl: 'https://api-samp.arizona-five.ru/uploads/1667197612133.jpg',
  url: 'https://arizona-rp.com/posts/193-halloween22',
  createDate: 1667197612133
}, {
  title: 'Нам 8 лет!',
  imageUrl: 'https://api-samp.arizona-five.ru/uploads/1661597016528.jpg',
  url: 'https://arizona-rp.com/posts/192-nam-8-let',
  createDate: 1661597016528
}, {
  title: 'Летнее обновление 2022',
  imageUrl: 'https://api-samp.arizona-five.ru/uploads/1656423368334.jpg',
  url: 'https://arizona-rp.com/posts/191-letnee-obnovleniye-22',
  createDate: 1656423368334
}];
;// CONCATENATED MODULE: ./src/views/auth/index.svelte
/* src\views\auth\index.svelte generated by Svelte v3.49.0 */




















function auth_index_svelte_create_if_block(ctx) {
	let div;
	let authnewsfeed;
	let current;
	authnewsfeed = new news_feed_index_svelte({});

	return {
		c() {
			div = internal_element("div");
			create_component(authnewsfeed.$$.fragment);
			attr(div, "class", "auth__feed");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(authnewsfeed, div, null);
			current = true;
		},
		i(local) {
			if (current) return;
			transition_in(authnewsfeed.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(authnewsfeed.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(authnewsfeed);
		}
	};
}

function auth_index_svelte_create_fragment(ctx) {
	let div3;
	let div2;
	let div0;
	let img;
	let img_src_value;
	let t0;
	let div1;
	let t1_value = MAP_VIEW_TO_TITLE[/*$currentView*/ ctx[0]] + "";
	let t1;
	let t2;
	let switch_instance;
	let div2_style_value;
	let t3;
	let current;
	var switch_value = MAP_VIEW_TO_COMPONENT[/*$currentView*/ ctx[0]];

	function switch_props(ctx) {
		return {};
	}

	if (switch_value) {
		switch_instance = new switch_value(switch_props(ctx));
	}

	let if_block = /*$currentView*/ ctx[0] !== Views.Signup && auth_index_svelte_create_if_block(ctx);

	return {
		c() {
			div3 = internal_element("div");
			div2 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div1 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			if (switch_instance) create_component(switch_instance.$$.fragment);
			t3 = space();
			if (if_block) if_block.c();
			if (!src_url_equal(img.src, img_src_value = logo_rodina_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "logo");
			attr(img, "class", "auth__logo-image");
			attr(div0, "class", "auth__logo");
			attr(div1, "class", "auth__form-caption");
			attr(div2, "class", "auth__form");
			attr(div2, "style", div2_style_value = `background-image: url(${MAP_VIEW_TO_BACKGROUND[/*$currentView*/ ctx[0]]});`);
			attr(div3, "class", "auth");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div2);
			append(div2, div0);
			append(div0, img);
			append(div2, t0);
			append(div2, div1);
			append(div1, t1);
			append(div2, t2);

			if (switch_instance) {
				mount_component(switch_instance, div2, null);
			}

			append(div3, t3);
			if (if_block) if_block.m(div3, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if ((!current || dirty & /*$currentView*/ 1) && t1_value !== (t1_value = MAP_VIEW_TO_TITLE[/*$currentView*/ ctx[0]] + "")) set_data(t1, t1_value);

			if (switch_value !== (switch_value = MAP_VIEW_TO_COMPONENT[/*$currentView*/ ctx[0]])) {
				if (switch_instance) {
					group_outros();
					const old_component = switch_instance;

					transition_out(old_component.$$.fragment, 1, 0, () => {
						destroy_component(old_component, 1);
					});

					check_outros();
				}

				if (switch_value) {
					switch_instance = new switch_value(switch_props(ctx));
					create_component(switch_instance.$$.fragment);
					transition_in(switch_instance.$$.fragment, 1);
					mount_component(switch_instance, div2, null);
				} else {
					switch_instance = null;
				}
			} else if (switch_value) {
				
			}

			if (!current || dirty & /*$currentView*/ 1 && div2_style_value !== (div2_style_value = `background-image: url(${MAP_VIEW_TO_BACKGROUND[/*$currentView*/ ctx[0]]});`)) {
				attr(div2, "style", div2_style_value);
			}

			if (/*$currentView*/ ctx[0] !== Views.Signup) {
				if (if_block) {
					if (dirty & /*$currentView*/ 1) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = auth_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(div3, null);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			if (switch_instance) transition_in(switch_instance.$$.fragment, local);
			transition_in(if_block);
			current = true;
		},
		o(local) {
			if (switch_instance) transition_out(switch_instance.$$.fragment, local);
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div3);
			if (switch_instance) destroy_component(switch_instance);
			if (if_block) if_block.d();
		}
	};
}

function auth_index_svelte_instance($$self, $$props, $$invalidate) {
	let $currentView;
	let $newsList;
	let $spawnPoints;
	let $spawnListShortStyle;
	let $videoBackgroundVisible;
	let $serverInfo;
	component_subscribe($$self, currentView, $$value => $$invalidate(0, $currentView = $$value));
	component_subscribe($$self, newsList, $$value => $$invalidate(1, $newsList = $$value));
	component_subscribe($$self, spawnPoints, $$value => $$invalidate(2, $spawnPoints = $$value));
	component_subscribe($$self, spawnListShortStyle, $$value => $$invalidate(3, $spawnListShortStyle = $$value));
	component_subscribe($$self, videoBackgroundVisible, $$value => $$invalidate(4, $videoBackgroundVisible = $$value));
	component_subscribe($$self, serverInfo, $$value => $$invalidate(5, $serverInfo = $$value));

	const initializeServerInformation = info => {
		const flag = `${cdn_CDN_URL_RODINA}/assets/images/project_icons/${info.flag}`;
		set_store_value(serverInfo, $serverInfo = { ...info, flag }, $serverInfo);

		if (serverInfo.id !== -1) {
			window.cef.LoadPasswordByKey(`${$serverInfo.id}`);
		}
	};

	const unregisterInitializeServerInformation = registerEvent('event.auth.initializeServerInformation', initializeServerInformation);

	const updateServerOnline = online => {
		set_store_value(serverInfo, $serverInfo.online = online, $serverInfo);
	};

	const unregisterUpdateServerOnline = registerEvent('event.auth.updateServerOnline', updateServerOnline);

	const initializeCharacterEditor = () => {
		set_store_value(currentView, $currentView = Views.CharacterEditor, $currentView);
	};

	const unregisterInitializeCharacterEditor = registerEvent('event.auth.initializeCharacterEditor', initializeCharacterEditor);

	const updateVideoBackgroundVisible = visible => {
		set_store_value(videoBackgroundVisible, $videoBackgroundVisible = visible, $videoBackgroundVisible);
	};

	const unregisterVideoBackgroundVisible = registerEvent('event.auth.updateVideoBackgroundVisible', updateVideoBackgroundVisible);

	const initializeSpawnPoints = points => {
		set_store_value(spawnPoints, $spawnPoints = points, $spawnPoints);
		set_store_value(spawnListShortStyle, $spawnListShortStyle = $spawnPoints.length < 4, $spawnListShortStyle);
		set_store_value(currentView, $currentView = Views.Spawn, $currentView);
	};

	const unregisterInitializeSpawnPoints = registerEvent('event.auth.initializeSpawnPoints', initializeSpawnPoints);

	const initializeNews = async () => {
		fetch('https://api-samp.arizona-five.com/launcher/projects-data').then(response => response.json()).then(data => {
			set_store_value(newsList, $newsList = data.find(item => item.gameId === 'rodina').news, $newsList);
		});
	};

	initializeNews();
	initializeServerInformation(SERVER_INFO_MOCK);

	// initializeSpawnPoints(SPAWN_POINTS_MOCK);
	// initializeNews(NEWS_MOCK);
	onMount(() => {
		window.cef.onLoadPasswordByKey = rawData => {
			if (!rawData) {
				set_store_value(currentView, $currentView = Views.Signup, $currentView);
			} else {
				set_store_value(currentView, $currentView = Views.Signin, $currentView);
			}
		};

		subscribesManager.subscribe(AUTH_METHODS);
	});

	onDestroy(() => {
		subscribesManager.unsubscribe(AUTH_METHODS);
		unregisterInitializeSpawnPoints();
		unregisterInitializeServerInformation();
		unregisterUpdateServerOnline();
		unregisterInitializeCharacterEditor();
		unregisterVideoBackgroundVisible();
	});

	return [$currentView];
}

class Auth extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, auth_index_svelte_instance, auth_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const auth_index_svelte = (Auth);
// EXTERNAL MODULE: ./node_modules/moment/moment.js
var moment = __webpack_require__(30381);
var moment_default = /*#__PURE__*/__webpack_require__.n(moment);
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/call.png
const call_namespaceObject = __webpack_require__.p + "assets/32734b1c043875232bed.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/settings.png
const settings_namespaceObject = __webpack_require__.p + "assets/269142ccc91d9ffcca72.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/nav.png
const nav_namespaceObject = __webpack_require__.p + "assets/7492475152d32ed71e4b.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/sms.png
const sms_namespaceObject = __webpack_require__.p + "assets/b597a428a666b4e5e00e.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/camera.png
const icons_camera_namespaceObject = __webpack_require__.p + "assets/217eaab240c2981654de.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/job.png
const job_namespaceObject = __webpack_require__.p + "assets/89a7778028552d62bc4f.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/taxi.png
const taxi_namespaceObject = __webpack_require__.p + "assets/11d7f29ac076b9665cd8.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/daily.png
const daily_namespaceObject = __webpack_require__.p + "assets/8077d426340d38791705.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/punishments.png
const punishments_namespaceObject = __webpack_require__.p + "assets/1bfcbe2506f9b9eb8c61.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/fight.png
const fight_namespaceObject = __webpack_require__.p + "assets/9ee322690a757540134c.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/sim.png
const sim_namespaceObject = __webpack_require__.p + "assets/b02656d7876a9ce2fa95.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/lobby.png
const lobby_namespaceObject = __webpack_require__.p + "assets/d5576f39e6efd5136f3e.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/referrals.png
const referrals_namespaceObject = __webpack_require__.p + "assets/241374eb9e1c6015a505.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/family.png
const family_namespaceObject = __webpack_require__.p + "assets/d8184b1ebcb2d08a82e6.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/garage.png
const garage_namespaceObject = __webpack_require__.p + "assets/b5bf3561e42059a432fd.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/donate.png
const donate_namespaceObject = __webpack_require__.p + "assets/89f9c3a19dedd9301a0b.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/question.png
const question_namespaceObject = __webpack_require__.p + "assets/ecd2d08014d7209b9897.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/report.png
const report_namespaceObject = __webpack_require__.p + "assets/285b80b1509f7b52d8b1.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/business.png
const business_namespaceObject = __webpack_require__.p + "assets/a7f8fdfe4f976c4b38fc.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/pumping.png
const pumping_namespaceObject = __webpack_require__.p + "assets/3ca13887f7289c95d466.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/promo.png
const promo_namespaceObject = __webpack_require__.p + "assets/758dd6dc9bdf6eb5da49.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/music.png
const music_namespaceObject = __webpack_require__.p + "assets/3eb430a5b9408c3aa804.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/blacklist.png
const blacklist_namespaceObject = __webpack_require__.p + "assets/23d5820e50f73e9ad70d.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/workers.png
const workers_namespaceObject = __webpack_require__.p + "assets/e9124250c8de7916912b.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/capture-rating.png
const capture_rating_namespaceObject = __webpack_require__.p + "assets/31a0c82915d838630a9d.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/fraction-rating.png
const fraction_rating_namespaceObject = __webpack_require__.p + "assets/1b61896ce5df6b9c1dc7.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/auction.png
const auction_namespaceObject = __webpack_require__.p + "assets/5befee79ed0cf6731469.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/crime-protection.png
const crime_protection_namespaceObject = __webpack_require__.p + "assets/c345b43f26cddcfc09b1.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/ducktap.png
const ducktap_namespaceObject = __webpack_require__.p + "assets/432ff31c897f3443c37d.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/rjobs.png
const rjobs_namespaceObject = __webpack_require__.p + "assets/af5bce76313b3576d6d9.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/contracts.png
const contracts_namespaceObject = __webpack_require__.p + "assets/221b8e5ca61110b94865.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/videocamera.png
const videocamera_namespaceObject = __webpack_require__.p + "assets/295a2b135d1bcc9d0071.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/house.png
const house_namespaceObject = __webpack_require__.p + "assets/cef003cf23db8a35875a.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/mortgage.png
const mortgage_namespaceObject = __webpack_require__.p + "assets/a93bbc5d07e51e8260a3.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/car_delivery.png
const car_delivery_namespaceObject = __webpack_require__.p + "assets/8702f461b86406550dbc.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/startup.png
const startup_namespaceObject = __webpack_require__.p + "assets/afb1698984be8b43a8c5.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/icons/neighbors.png
const neighbors_namespaceObject = __webpack_require__.p + "assets/919d74cb4f8aa207e3a2.webp";
;// CONCATENATED MODULE: ./src/views/phone/apps/call-app/store.js

var myPhoneNumber = writable('');
var selectedContact = writable({});
var selectedScreen = writable('');
var contactsCollection = writable([]);
var callInfo = writable({});
;// CONCATENATED MODULE: ./src/views/phone/apps/call-app/constants.js
var Screens = {
  Ringing: 'ringing',
  Contacts: 'contacts',
  Contact: 'contact',
  NumberPanel: 'number-panel',
  AddContact: 'add-contact',
  ContactDetails: 'contact-details',
  Search: 'search',
  History: 'history',
  Main: ''
};
var LOADER_TIMEOUT = 10000;
;// CONCATENATED MODULE: ./src/views/phone/apps/call-app/components/input-field/index.svelte
/* src\views\phone\apps\call-app\components\input-field\index.svelte generated by Svelte v3.49.0 */





function input_field_index_svelte_create_fragment(ctx) {
	let div;
	let i;
	let i_class_value;
	let t0;
	let input;
	let t1;
	let span;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			i = internal_element("i");
			t0 = space();
			input = internal_element("input");
			t1 = space();
			span = internal_element("span");
			span.textContent = "X";
			attr(i, "class", i_class_value = "call-app-input-field__icon icon-" + /*icon*/ ctx[1]);
			attr(input, "type", "text");
			attr(input, "class", "call-app-input-field__input");
			attr(input, "placeholder", /*placeholder*/ ctx[2]);
			attr(span, "class", "call-app-input-field__clear");
			attr(div, "class", "call-app-input-field");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, i);
			append(div, t0);
			append(div, input);
			set_input_value(input, /*value*/ ctx[0]);
			append(div, t1);
			append(div, span);

			if (!mounted) {
				dispose = [
					listen(input, "input", /*input_input_handler*/ ctx[7]),
					listen(input, "input", function () {
						if (internal_is_function(/*onInput*/ ctx[3])) /*onInput*/ ctx[3].apply(this, arguments);
					}),
					listen(input, "focus", /*onFocus*/ ctx[5]),
					listen(input, "blur", /*onBlur*/ ctx[6]),
					listen(span, "click", /*clear*/ ctx[4])
				];

				mounted = true;
			}
		},
		p(new_ctx, [dirty]) {
			ctx = new_ctx;

			if (dirty & /*icon*/ 2 && i_class_value !== (i_class_value = "call-app-input-field__icon icon-" + /*icon*/ ctx[1])) {
				attr(i, "class", i_class_value);
			}

			if (dirty & /*placeholder*/ 4) {
				attr(input, "placeholder", /*placeholder*/ ctx[2]);
			}

			if (dirty & /*value*/ 1 && input.value !== /*value*/ ctx[0]) {
				set_input_value(input, /*value*/ ctx[0]);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function input_field_index_svelte_instance($$self, $$props, $$invalidate) {
	let { value = '' } = $$props;
	let { icon = '' } = $$props;
	let { placeholder = '' } = $$props;

	let { onInput = () => {
		
	} } = $$props;

	const clear = () => {
		$$invalidate(0, value = '');
		onInput();
	};

	const onFocus = () => {
		sendClientMessage('input.disableInputKey');
	};

	const onBlur = () => {
		sendClientMessage('input.enableInputKey');
	};

	function input_input_handler() {
		value = this.value;
		$$invalidate(0, value);
	}

	$$self.$$set = $$props => {
		if ('value' in $$props) $$invalidate(0, value = $$props.value);
		if ('icon' in $$props) $$invalidate(1, icon = $$props.icon);
		if ('placeholder' in $$props) $$invalidate(2, placeholder = $$props.placeholder);
		if ('onInput' in $$props) $$invalidate(3, onInput = $$props.onInput);
	};

	return [value, icon, placeholder, onInput, clear, onFocus, onBlur, input_input_handler];
}

class Input_field extends SvelteComponent {
	constructor(options) {
		super();

		init(this, options, input_field_index_svelte_instance, input_field_index_svelte_create_fragment, safe_not_equal, {
			value: 0,
			icon: 1,
			placeholder: 2,
			onInput: 3
		});
	}
}

/* harmony default export */ const input_field_index_svelte = (Input_field);
;// CONCATENATED MODULE: ./src/views/phone/apps/call-app/components/number-panel/index.svelte
/* src\views\phone\apps\call-app\components\number-panel\index.svelte generated by Svelte v3.49.0 */








function number_panel_index_svelte_create_if_block(ctx) {
	let p;

	return {
		c() {
			p = internal_element("p");
			p.textContent = "Номер не может быть пустым";
			attr(p, "class", "call-app-number-panel__validation-caption");
		},
		m(target, anchor) {
			insert(target, p, anchor);
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

function number_panel_index_svelte_create_fragment(ctx) {
	let div14;
	let div0;
	let callappinput;
	let updating_value;
	let t0;
	let t1;
	let div13;
	let div1;
	let t3;
	let div2;
	let t5;
	let div3;
	let t7;
	let div4;
	let t9;
	let div5;
	let t11;
	let div6;
	let t13;
	let div7;
	let t15;
	let div8;
	let t17;
	let div9;
	let t19;
	let div10;
	let t21;
	let div11;
	let t23;
	let div12;
	let current;
	let mounted;
	let dispose;

	function callappinput_value_binding(value) {
		/*callappinput_value_binding*/ ctx[5](value);
	}

	let callappinput_props = {
		placeholder: "Введите номер",
		onInput: /*inputHandler*/ ctx[4]
	};

	if (/*phoneNumber*/ ctx[0] !== void 0) {
		callappinput_props.value = /*phoneNumber*/ ctx[0];
	}

	callappinput = new input_field_index_svelte({ props: callappinput_props });
	binding_callbacks.push(() => bind(callappinput, 'value', callappinput_value_binding));
	let if_block = !/*phoneNumberValidated*/ ctx[1] && number_panel_index_svelte_create_if_block(ctx);

	return {
		c() {
			div14 = internal_element("div");
			div0 = internal_element("div");
			create_component(callappinput.$$.fragment);
			t0 = space();
			if (if_block) if_block.c();
			t1 = space();
			div13 = internal_element("div");
			div1 = internal_element("div");
			div1.textContent = "1";
			t3 = space();
			div2 = internal_element("div");
			div2.textContent = "2";
			t5 = space();
			div3 = internal_element("div");
			div3.textContent = "3";
			t7 = space();
			div4 = internal_element("div");
			div4.textContent = "4";
			t9 = space();
			div5 = internal_element("div");
			div5.textContent = "5";
			t11 = space();
			div6 = internal_element("div");
			div6.textContent = "6";
			t13 = space();
			div7 = internal_element("div");
			div7.textContent = "7";
			t15 = space();
			div8 = internal_element("div");
			div8.textContent = "8";
			t17 = space();
			div9 = internal_element("div");
			div9.textContent = "9";
			t19 = space();
			div10 = internal_element("div");
			div10.textContent = "#";
			t21 = space();
			div11 = internal_element("div");
			div11.textContent = "0";
			t23 = space();
			div12 = internal_element("div");
			div12.innerHTML = `<i class="call-app-number-panel__call-icon icon-call-accept"></i>`;
			attr(div0, "class", "call-app-number-panel__phone-number");
			attr(div1, "class", "call-app-number-panel__number-button");
			attr(div2, "class", "call-app-number-panel__number-button");
			attr(div3, "class", "call-app-number-panel__number-button");
			attr(div4, "class", "call-app-number-panel__number-button");
			attr(div5, "class", "call-app-number-panel__number-button");
			attr(div6, "class", "call-app-number-panel__number-button");
			attr(div7, "class", "call-app-number-panel__number-button");
			attr(div8, "class", "call-app-number-panel__number-button");
			attr(div9, "class", "call-app-number-panel__number-button");
			attr(div10, "class", "call-app-number-panel__number-button");
			attr(div11, "class", "call-app-number-panel__number-button");
			attr(div12, "class", "call-app-number-panel__number-button call-app-number-panel__number-button--call");
			attr(div13, "class", "call-app-number-panel__numbers-grid");
			attr(div14, "class", "call-app-number-panel");
		},
		m(target, anchor) {
			insert(target, div14, anchor);
			append(div14, div0);
			mount_component(callappinput, div0, null);
			append(div0, t0);
			if (if_block) if_block.m(div0, null);
			append(div14, t1);
			append(div14, div13);
			append(div13, div1);
			append(div13, t3);
			append(div13, div2);
			append(div13, t5);
			append(div13, div3);
			append(div13, t7);
			append(div13, div4);
			append(div13, t9);
			append(div13, div5);
			append(div13, t11);
			append(div13, div6);
			append(div13, t13);
			append(div13, div7);
			append(div13, t15);
			append(div13, div8);
			append(div13, t17);
			append(div13, div9);
			append(div13, t19);
			append(div13, div10);
			append(div13, t21);
			append(div13, div11);
			append(div13, t23);
			append(div13, div12);
			current = true;

			if (!mounted) {
				dispose = [
					listen(div1, "click", /*click_handler*/ ctx[6]),
					listen(div2, "click", /*click_handler_1*/ ctx[7]),
					listen(div3, "click", /*click_handler_2*/ ctx[8]),
					listen(div4, "click", /*click_handler_3*/ ctx[9]),
					listen(div5, "click", /*click_handler_4*/ ctx[10]),
					listen(div6, "click", /*click_handler_5*/ ctx[11]),
					listen(div7, "click", /*click_handler_6*/ ctx[12]),
					listen(div8, "click", /*click_handler_7*/ ctx[13]),
					listen(div9, "click", /*click_handler_8*/ ctx[14]),
					listen(div10, "click", /*click_handler_9*/ ctx[15]),
					listen(div11, "click", /*click_handler_10*/ ctx[16]),
					listen(div12, "click", /*call*/ ctx[3])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			const callappinput_changes = {};

			if (!updating_value && dirty & /*phoneNumber*/ 1) {
				updating_value = true;
				callappinput_changes.value = /*phoneNumber*/ ctx[0];
				add_flush_callback(() => updating_value = false);
			}

			callappinput.$set(callappinput_changes);

			if (!/*phoneNumberValidated*/ ctx[1]) {
				if (if_block) {
					
				} else {
					if_block = number_panel_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div0, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		i(local) {
			if (current) return;
			transition_in(callappinput.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(callappinput.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div14);
			destroy_component(callappinput);
			if (if_block) if_block.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function number_panel_index_svelte_instance($$self, $$props, $$invalidate) {
	let phoneNumber = '';
	let phoneNumberValidated = true;

	const changePhoneNumber = newPhoneNumber => {
		$$invalidate(0, phoneNumber += newPhoneNumber.toString());
		$$invalidate(0, phoneNumber = formatPhoneNumber(phoneNumber));
	};

	const call = () => {
		if (phoneNumber.length === 0) {
			$$invalidate(1, phoneNumberValidated = false);
			return;
		}

		$$invalidate(0, phoneNumber = formatPhoneNumber(phoneNumber));
		sendClientMessage('callApp.call', phoneNumber.toString().replace(/[^\d]/g, ''));
	};

	const inputHandler = () => {
		$$invalidate(0, phoneNumber = phoneNumber.toString().replace(/[^\d\\-]/g, ''));
		$$invalidate(0, phoneNumber = formatPhoneNumber(phoneNumber));
	};

	function callappinput_value_binding(value) {
		phoneNumber = value;
		$$invalidate(0, phoneNumber);
	}

	const click_handler = () => changePhoneNumber(1);
	const click_handler_1 = () => changePhoneNumber(2);
	const click_handler_2 = () => changePhoneNumber(3);
	const click_handler_3 = () => changePhoneNumber(4);
	const click_handler_4 = () => changePhoneNumber(5);
	const click_handler_5 = () => changePhoneNumber(6);
	const click_handler_6 = () => changePhoneNumber(7);
	const click_handler_7 = () => changePhoneNumber(8);
	const click_handler_8 = () => changePhoneNumber(9);
	const click_handler_9 = () => changePhoneNumber('#');
	const click_handler_10 = () => changePhoneNumber(0);

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*phoneNumber*/ 1) {
			$: {
				if (!(0,lodash.isEmpty)(phoneNumber)) {
					$$invalidate(1, phoneNumberValidated = true);
				}
			}
		}
	};

	return [
		phoneNumber,
		phoneNumberValidated,
		changePhoneNumber,
		call,
		inputHandler,
		callappinput_value_binding,
		click_handler,
		click_handler_1,
		click_handler_2,
		click_handler_3,
		click_handler_4,
		click_handler_5,
		click_handler_6,
		click_handler_7,
		click_handler_8,
		click_handler_9,
		click_handler_10
	];
}

class Number_panel extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, number_panel_index_svelte_instance, number_panel_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const number_panel_index_svelte = (Number_panel);
;// CONCATENATED MODULE: ./src/views/phone/apps/call-app/components/contact-item/index.svelte
/* src\views\phone\apps\call-app\components\contact-item\index.svelte generated by Svelte v3.49.0 */








function contact_item_index_svelte_create_fragment(ctx) {
	let div2;
	let div0;
	let t0_value = /*contact*/ ctx[0].name + "";
	let t0;
	let t1;
	let div1;
	let t2_value = formatPhoneNumber(/*contact*/ ctx[0].phone) + "";
	let t2;
	let mounted;
	let dispose;

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			div1 = internal_element("div");
			t2 = internal_text(t2_value);
			attr(div0, "class", "call-app-contact-item__name");
			attr(div1, "class", "call-app-contact-item__phone");
			attr(div2, "class", "call-app-contact-item");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div0, t0);
			append(div2, t1);
			append(div2, div1);
			append(div1, t2);

			if (!mounted) {
				dispose = listen(div2, "click", /*onClick*/ ctx[1]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*contact*/ 1 && t0_value !== (t0_value = /*contact*/ ctx[0].name + "")) set_data(t0, t0_value);
			if (dirty & /*contact*/ 1 && t2_value !== (t2_value = formatPhoneNumber(/*contact*/ ctx[0].phone) + "")) set_data(t2, t2_value);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div2);
			mounted = false;
			dispose();
		}
	};
}

function contact_item_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedContact;
	component_subscribe($$self, selectedContact, $$value => $$invalidate(2, $selectedContact = $$value));
	let { contact } = $$props;
	const changeScreen = getContext('changeScreen');

	const onClick = () => {
		set_store_value(selectedContact, $selectedContact = contact, $selectedContact);
		changeScreen(Screens.ContactDetails);
	};

	$$self.$$set = $$props => {
		if ('contact' in $$props) $$invalidate(0, contact = $$props.contact);
	};

	return [contact, onClick];
}

class Contact_item extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, contact_item_index_svelte_instance, contact_item_index_svelte_create_fragment, safe_not_equal, { contact: 0 });
	}
}

/* harmony default export */ const contact_item_index_svelte = (Contact_item);
;// CONCATENATED MODULE: ./src/views/phone/apps/call-app/components/search/index.svelte
/* src\views\phone\apps\call-app\components\search\index.svelte generated by Svelte v3.49.0 */








// import { CONTACTS_MOCK } from '../../mock.js';


function search_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[6] = list[i];
	return child_ctx;
}

// (42:8) {#each searchResult as contact}
function search_index_svelte_create_each_block(ctx) {
	let contactitem;
	let current;
	contactitem = new contact_item_index_svelte({ props: { contact: /*contact*/ ctx[6] } });

	return {
		c() {
			create_component(contactitem.$$.fragment);
		},
		m(target, anchor) {
			mount_component(contactitem, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const contactitem_changes = {};
			if (dirty & /*searchResult*/ 2) contactitem_changes.contact = /*contact*/ ctx[6];
			contactitem.$set(contactitem_changes);
		},
		i(local) {
			if (current) return;
			transition_in(contactitem.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(contactitem.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(contactitem, detaching);
		}
	};
}

function search_index_svelte_create_fragment(ctx) {
	let div3;
	let div0;
	let callappinput;
	let updating_value;
	let t0;
	let div1;
	let t2;
	let div2;
	let current;

	function callappinput_value_binding(value) {
		/*callappinput_value_binding*/ ctx[3](value);
	}

	let callappinput_props = {
		icon: "person",
		placeholder: "Введите никнейм",
		onInput: /*search*/ ctx[2]
	};

	if (/*query*/ ctx[0] !== void 0) {
		callappinput_props.value = /*query*/ ctx[0];
	}

	callappinput = new input_field_index_svelte({ props: callappinput_props });
	binding_callbacks.push(() => bind(callappinput, 'value', callappinput_value_binding));
	let each_value = /*searchResult*/ ctx[1];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = search_index_svelte_create_each_block(search_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			div3 = internal_element("div");
			div0 = internal_element("div");
			create_component(callappinput.$$.fragment);
			t0 = space();
			div1 = internal_element("div");
			div1.textContent = "Результаты поиска";
			t2 = space();
			div2 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div0, "class", "call-app-search__input");
			attr(div1, "class", "call-app-search__search-caption");
			attr(div2, "class", "call-app-search__results-list");
			attr(div3, "class", "call-app-search");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div0);
			mount_component(callappinput, div0, null);
			append(div3, t0);
			append(div3, div1);
			append(div3, t2);
			append(div3, div2);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div2, null);
			}

			current = true;
		},
		p(ctx, [dirty]) {
			const callappinput_changes = {};

			if (!updating_value && dirty & /*query*/ 1) {
				updating_value = true;
				callappinput_changes.value = /*query*/ ctx[0];
				add_flush_callback(() => updating_value = false);
			}

			callappinput.$set(callappinput_changes);

			if (dirty & /*searchResult*/ 2) {
				each_value = /*searchResult*/ ctx[1];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = search_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = search_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div2, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(callappinput.$$.fragment, local);

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			transition_out(callappinput.$$.fragment, local);
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div3);
			destroy_component(callappinput);
			destroy_each(each_blocks, detaching);
		}
	};
}

function search_index_svelte_instance($$self, $$props, $$invalidate) {
	let query = '';
	let searchResult = [];

	const search = () => {
		if (query.length === 0) {
			$$invalidate(1, searchResult = []);
			return;
		}

		if (query.length > 2) {
			sendClientMessage('callApp.Search', query);
		} // searchResult = CONTACTS_MOCK;
	};

	const updateResults = results => {
		$$invalidate(1, searchResult = [...searchResult, ...results]);
	};

	const unregisterUpdateResults = registerEvent('event.callApp.updateSearchResults', updateResults);

	onDestroy(() => {
		unregisterUpdateResults();
	});

	function callappinput_value_binding(value) {
		query = value;
		$$invalidate(0, query);
	}

	return [query, searchResult, search, callappinput_value_binding];
}

class Search extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, search_index_svelte_instance, search_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const search_index_svelte = (Search);
;// CONCATENATED MODULE: ./src/views/phone/apps/call-app/components/contacts/index.svelte
/* src\views\phone\apps\call-app\components\contacts\index.svelte generated by Svelte v3.49.0 */











// import { CONTACTS_MOCK } from '../../mock';




function contacts_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[11] = list[i];
	return child_ctx;
}

// (70:4) {:else}
function contacts_index_svelte_create_else_block(ctx) {
	let div;
	let current;
	let each_value = /*contactsList*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = contacts_index_svelte_create_each_block(contacts_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "call-app-contacts__results-list");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}

			current = true;
		},
		p(ctx, dirty) {
			if (dirty & /*contactsList*/ 1) {
				each_value = /*contactsList*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = contacts_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = contacts_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (66:40) 
function contacts_index_svelte_create_if_block_1(ctx) {
	let div1;

	return {
		c() {
			div1 = internal_element("div");
			div1.innerHTML = `<div class="call-app-contacts__empty">Список пуст</div>`;
			attr(div1, "class", "call-app-contacts__holder");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (62:4) {#if loaderVisible}
function contacts_index_svelte_create_if_block(ctx) {
	let div;
	let loader;
	let current;
	loader = new loader_index_svelte({});

	return {
		c() {
			div = internal_element("div");
			create_component(loader.$$.fragment);
			attr(div, "class", "call-app-contacts__holder");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(loader, div, null);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(loader.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(loader.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(loader);
		}
	};
}

// (72:12) {#each contactsList as contact}
function contacts_index_svelte_create_each_block(ctx) {
	let contactitem;
	let current;
	contactitem = new contact_item_index_svelte({ props: { contact: /*contact*/ ctx[11] } });

	return {
		c() {
			create_component(contactitem.$$.fragment);
		},
		m(target, anchor) {
			mount_component(contactitem, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const contactitem_changes = {};
			if (dirty & /*contactsList*/ 1) contactitem_changes.contact = /*contact*/ ctx[11];
			contactitem.$set(contactitem_changes);
		},
		i(local) {
			if (current) return;
			transition_in(contactitem.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(contactitem.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(contactitem, detaching);
		}
	};
}

function contacts_index_svelte_create_fragment(ctx) {
	let div2;
	let div1;
	let callappinput;
	let updating_value;
	let t0;
	let div0;
	let t2;
	let current_block_type_index;
	let if_block;
	let current;
	let mounted;
	let dispose;

	function callappinput_value_binding(value) {
		/*callappinput_value_binding*/ ctx[5](value);
	}

	let callappinput_props = {
		icon: "person",
		placeholder: "Поиск",
		onInput: /*search*/ ctx[4]
	};

	if (/*query*/ ctx[1] !== void 0) {
		callappinput_props.value = /*query*/ ctx[1];
	}

	callappinput = new input_field_index_svelte({ props: callappinput_props });
	binding_callbacks.push(() => bind(callappinput, 'value', callappinput_value_binding));
	const if_block_creators = [contacts_index_svelte_create_if_block, contacts_index_svelte_create_if_block_1, contacts_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (/*loaderVisible*/ ctx[2]) return 0;
		if (/*contactsList*/ ctx[0].length === 0) return 1;
		return 2;
	}

	current_block_type_index = select_block_type(ctx, -1);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div2 = internal_element("div");
			div1 = internal_element("div");
			create_component(callappinput.$$.fragment);
			t0 = space();
			div0 = internal_element("div");
			div0.textContent = "Добавить контакт";
			t2 = space();
			if_block.c();
			attr(div0, "class", "call-app-contacts__add-contact");
			attr(div1, "class", "call-app-contacts__control-bar");
			attr(div2, "class", "call-app-contacts");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div1);
			mount_component(callappinput, div1, null);
			append(div1, t0);
			append(div1, div0);
			append(div2, t2);
			if_blocks[current_block_type_index].m(div2, null);
			current = true;

			if (!mounted) {
				dispose = listen(div0, "click", /*click_handler*/ ctx[6]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			const callappinput_changes = {};

			if (!updating_value && dirty & /*query*/ 2) {
				updating_value = true;
				callappinput_changes.value = /*query*/ ctx[1];
				add_flush_callback(() => updating_value = false);
			}

			callappinput.$set(callappinput_changes);
			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(div2, null);
			}
		},
		i(local) {
			if (current) return;
			transition_in(callappinput.$$.fragment, local);
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(callappinput.$$.fragment, local);
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div2);
			destroy_component(callappinput);
			if_blocks[current_block_type_index].d();
			mounted = false;
			dispose();
		}
	};
}

function contacts_index_svelte_instance($$self, $$props, $$invalidate) {
	let $contactsCollection;
	component_subscribe($$self, contactsCollection, $$value => $$invalidate(8, $contactsCollection = $$value));
	let contactsList = [];
	let query = '';
	let loaderVisible = false;
	let timeout;
	const changeScreen = getContext('changeScreen');

	const search = () => {
		if ((0,lodash.isEmpty)(query)) {
			$$invalidate(0, contactsList = $contactsCollection);
			return;
		}

		$$invalidate(0, contactsList = $contactsCollection.filter(item => item.user.toLowerCase().includes(query.toLowerCase()) || item.number.toLowerCase().includes(query.toLowerCase())));
	};

	const initializeContacts = contactsData => {
		set_store_value(contactsCollection, $contactsCollection = [...$contactsCollection, ...contactsData], $contactsCollection);
		$$invalidate(0, contactsList = $contactsCollection);
		$$invalidate(2, loaderVisible = false);
	};

	const unregisterInitializeContacts = registerEvent('event.callApp.initializeContacts', initializeContacts);

	onMount(() => {
		set_store_value(contactsCollection, $contactsCollection = [], $contactsCollection);
		sendClientMessage('callApp.loadContacts');
		$$invalidate(2, loaderVisible = true);

		timeout = setTimeout(
			() => {
				if (loaderVisible) {
					changeScreen(Screens.Main);
				}
			},
			LOADER_TIMEOUT
		);
	}); // initializeContacts(CONTACTS_MOCK);

	onDestroy(() => {
		set_store_value(contactsCollection, $contactsCollection = [], $contactsCollection);
		clearTimeout(timeout);
		timeout = null;
		unregisterInitializeContacts();
	});

	function callappinput_value_binding(value) {
		query = value;
		$$invalidate(1, query);
	}

	const click_handler = () => changeScreen(Screens.AddContact);

	return [
		contactsList,
		query,
		loaderVisible,
		changeScreen,
		search,
		callappinput_value_binding,
		click_handler
	];
}

class Contacts extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, contacts_index_svelte_instance, contacts_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const contacts_index_svelte = (Contacts);
;// CONCATENATED MODULE: ./src/views/phone/apps/call-app/components/add-contact/index.svelte
/* src\views\phone\apps\call-app\components\add-contact\index.svelte generated by Svelte v3.49.0 */












function add_contact_index_svelte_create_if_block_1(ctx) {
	let p;

	return {
		c() {
			p = internal_element("p");
			p.textContent = "Имя не может быть пустым полем";
			attr(p, "class", "call-app-add-contact__validation-caption");
		},
		m(target, anchor) {
			insert(target, p, anchor);
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (77:8) {#if !phoneNumberValidated}
function add_contact_index_svelte_create_if_block(ctx) {
	let p;

	return {
		c() {
			p = internal_element("p");
			p.textContent = "Телефон не может быть пустым полем";
			attr(p, "class", "call-app-add-contact__validation-caption");
		},
		m(target, anchor) {
			insert(target, p, anchor);
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

function add_contact_index_svelte_create_fragment(ctx) {
	let div3;
	let i;
	let t0;
	let div0;
	let callappinput0;
	let updating_value;
	let t1;
	let t2;
	let div1;
	let callappinput1;
	let updating_value_1;
	let t3;
	let t4;
	let div2;
	let current;
	let mounted;
	let dispose;

	function callappinput0_value_binding(value) {
		/*callappinput0_value_binding*/ ctx[6](value);
	}

	let callappinput0_props = { icon: "call-accept", placeholder: "Имя" };

	if (/*nickname*/ ctx[0] !== void 0) {
		callappinput0_props.value = /*nickname*/ ctx[0];
	}

	callappinput0 = new input_field_index_svelte({ props: callappinput0_props });
	binding_callbacks.push(() => bind(callappinput0, 'value', callappinput0_value_binding));
	let if_block0 = !/*nameValidated*/ ctx[2] && add_contact_index_svelte_create_if_block_1(ctx);

	function callappinput1_value_binding(value) {
		/*callappinput1_value_binding*/ ctx[7](value);
	}

	let callappinput1_props = {
		icon: "person",
		placeholder: "Номер телефона",
		onInput: /*inputHandler*/ ctx[5]
	};

	if (/*phoneNumber*/ ctx[1] !== void 0) {
		callappinput1_props.value = /*phoneNumber*/ ctx[1];
	}

	callappinput1 = new input_field_index_svelte({ props: callappinput1_props });
	binding_callbacks.push(() => bind(callappinput1, 'value', callappinput1_value_binding));
	let if_block1 = !/*phoneNumberValidated*/ ctx[3] && add_contact_index_svelte_create_if_block(ctx);

	return {
		c() {
			div3 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div0 = internal_element("div");
			create_component(callappinput0.$$.fragment);
			t1 = space();
			if (if_block0) if_block0.c();
			t2 = space();
			div1 = internal_element("div");
			create_component(callappinput1.$$.fragment);
			t3 = space();
			if (if_block1) if_block1.c();
			t4 = space();
			div2 = internal_element("div");
			div2.textContent = "Добавить в контакты";
			attr(i, "class", "call-app-add-contact__icon icon-person");
			attr(div0, "class", "call-app-add-contact__input");
			attr(div1, "class", "call-app-add-contact__input");
			attr(div2, "class", "call-app-add-contact__add-contact");
			attr(div3, "class", "call-app-add-contact");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, i);
			append(div3, t0);
			append(div3, div0);
			mount_component(callappinput0, div0, null);
			append(div0, t1);
			if (if_block0) if_block0.m(div0, null);
			append(div3, t2);
			append(div3, div1);
			mount_component(callappinput1, div1, null);
			append(div1, t3);
			if (if_block1) if_block1.m(div1, null);
			append(div3, t4);
			append(div3, div2);
			current = true;

			if (!mounted) {
				dispose = listen(div2, "click", /*addContact*/ ctx[4]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			const callappinput0_changes = {};

			if (!updating_value && dirty & /*nickname*/ 1) {
				updating_value = true;
				callappinput0_changes.value = /*nickname*/ ctx[0];
				add_flush_callback(() => updating_value = false);
			}

			callappinput0.$set(callappinput0_changes);

			if (!/*nameValidated*/ ctx[2]) {
				if (if_block0) {
					
				} else {
					if_block0 = add_contact_index_svelte_create_if_block_1(ctx);
					if_block0.c();
					if_block0.m(div0, null);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			const callappinput1_changes = {};

			if (!updating_value_1 && dirty & /*phoneNumber*/ 2) {
				updating_value_1 = true;
				callappinput1_changes.value = /*phoneNumber*/ ctx[1];
				add_flush_callback(() => updating_value_1 = false);
			}

			callappinput1.$set(callappinput1_changes);

			if (!/*phoneNumberValidated*/ ctx[3]) {
				if (if_block1) {
					
				} else {
					if_block1 = add_contact_index_svelte_create_if_block(ctx);
					if_block1.c();
					if_block1.m(div1, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}
		},
		i(local) {
			if (current) return;
			transition_in(callappinput0.$$.fragment, local);
			transition_in(callappinput1.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(callappinput0.$$.fragment, local);
			transition_out(callappinput1.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div3);
			destroy_component(callappinput0);
			if (if_block0) if_block0.d();
			destroy_component(callappinput1);
			if (if_block1) if_block1.d();
			mounted = false;
			dispose();
		}
	};
}

function add_contact_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedContact;
	component_subscribe($$self, selectedContact, $$value => $$invalidate(8, $selectedContact = $$value));
	let nickname = '';
	let phoneNumber = '';
	let nameValidated = true;
	let phoneNumberValidated = true;
	const changeScreen = getContext('changeScreen');

	const updateContactsCollection = () => {
		changeScreen(Screens.Contacts);
	};

	const addContact = () => {
		if ((0,lodash.isEmpty)(nickname)) {
			$$invalidate(2, nameValidated = false);
			return;
		}

		if ((0,lodash.isEmpty)(phoneNumber)) {
			$$invalidate(3, phoneNumberValidated = false);
			return;
		}

		sendClientMessage('callApp.addContact', nickname, phoneNumber.toString().replace(/[^\d]/g, ''));
	};

	const unregisterUpdateContactsCollection = registerEvent('event.callApp.updateContactsCollection', updateContactsCollection);

	const inputHandler = () => {
		$$invalidate(1, phoneNumber = phoneNumber.toString().replace(/[^\d\\-]/g, ''));
		$$invalidate(1, phoneNumber = formatPhoneNumber(phoneNumber));
	};

	onMount(() => {
		if (!(0,lodash.isEmpty)($selectedContact)) {
			$$invalidate(1, phoneNumber = formatPhoneNumber($selectedContact.phone));
		}
	});

	onDestroy(() => {
		set_store_value(selectedContact, $selectedContact = {}, $selectedContact);
		unregisterUpdateContactsCollection();
	});

	function callappinput0_value_binding(value) {
		nickname = value;
		$$invalidate(0, nickname);
	}

	function callappinput1_value_binding(value) {
		phoneNumber = value;
		$$invalidate(1, phoneNumber);
	}

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*nickname, phoneNumber*/ 3) {
			$: {
				if (!(0,lodash.isEmpty)(nickname)) {
					$$invalidate(2, nameValidated = true);
				}

				if (!(0,lodash.isEmpty)(phoneNumber)) {
					$$invalidate(3, phoneNumberValidated = true);
				}
			}
		}
	};

	return [
		nickname,
		phoneNumber,
		nameValidated,
		phoneNumberValidated,
		addContact,
		inputHandler,
		callappinput0_value_binding,
		callappinput1_value_binding
	];
}

class Add_contact extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, add_contact_index_svelte_instance, add_contact_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const add_contact_index_svelte = (Add_contact);
;// CONCATENATED MODULE: ./src/views/phone/apps/call-app/components/history/index.svelte
/* src\views\phone\apps\call-app\components\history\index.svelte generated by Svelte v3.49.0 */













// import { HISTORY_MOCK } from '../../mock';


function history_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[14] = list[i];
	return child_ctx;
}

// (75:4) {:else}
function history_index_svelte_create_else_block(ctx) {
	let div0;
	let callappinput;
	let updating_value;
	let t;
	let div1;
	let current;

	function callappinput_value_binding_1(value) {
		/*callappinput_value_binding_1*/ ctx[6](value);
	}

	let callappinput_props = {
		placeholder: "Поиск",
		icon: "person",
		onInput: /*search*/ ctx[4]
	};

	if (/*query*/ ctx[1] !== void 0) {
		callappinput_props.value = /*query*/ ctx[1];
	}

	callappinput = new input_field_index_svelte({ props: callappinput_props });
	binding_callbacks.push(() => bind(callappinput, 'value', callappinput_value_binding_1));
	let each_value = /*historyList*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = history_index_svelte_create_each_block(history_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div0 = internal_element("div");
			create_component(callappinput.$$.fragment);
			t = space();
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div0, "class", "call-app-history__input");
			attr(div1, "class", "call-app-history__history-list");
		},
		m(target, anchor) {
			insert(target, div0, anchor);
			mount_component(callappinput, div0, null);
			insert(target, t, anchor);
			insert(target, div1, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}

			current = true;
		},
		p(ctx, dirty) {
			const callappinput_changes = {};

			if (!updating_value && dirty & /*query*/ 2) {
				updating_value = true;
				callappinput_changes.value = /*query*/ ctx[1];
				add_flush_callback(() => updating_value = false);
			}

			callappinput.$set(callappinput_changes);

			if (dirty & /*openDetails, historyList, moment, formatPhoneNumber*/ 9) {
				each_value = /*historyList*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = history_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = history_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div1, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i(local) {
			if (current) return;
			transition_in(callappinput.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(callappinput.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div0);
			destroy_component(callappinput);
			if (detaching) detach(t);
			if (detaching) detach(div1);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (68:39) 
function history_index_svelte_create_if_block_1(ctx) {
	let div0;
	let callappinput;
	let updating_value;
	let t0;
	let div2;
	let current;

	function callappinput_value_binding(value) {
		/*callappinput_value_binding*/ ctx[5](value);
	}

	let callappinput_props = {
		placeholder: "Поиск",
		icon: "person",
		onInput: /*search*/ ctx[4]
	};

	if (/*query*/ ctx[1] !== void 0) {
		callappinput_props.value = /*query*/ ctx[1];
	}

	callappinput = new input_field_index_svelte({ props: callappinput_props });
	binding_callbacks.push(() => bind(callappinput, 'value', callappinput_value_binding));

	return {
		c() {
			div0 = internal_element("div");
			create_component(callappinput.$$.fragment);
			t0 = space();
			div2 = internal_element("div");
			div2.innerHTML = `<div class="call-app-history__empty">Звонков не было</div>`;
			attr(div0, "class", "call-app-history__input");
			attr(div2, "class", "call-app-history__holder");
		},
		m(target, anchor) {
			insert(target, div0, anchor);
			mount_component(callappinput, div0, null);
			insert(target, t0, anchor);
			insert(target, div2, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const callappinput_changes = {};

			if (!updating_value && dirty & /*query*/ 2) {
				updating_value = true;
				callappinput_changes.value = /*query*/ ctx[1];
				add_flush_callback(() => updating_value = false);
			}

			callappinput.$set(callappinput_changes);
		},
		i(local) {
			if (current) return;
			transition_in(callappinput.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(callappinput.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div0);
			destroy_component(callappinput);
			if (detaching) detach(t0);
			if (detaching) detach(div2);
		}
	};
}

// (64:4) {#if loaderVisible}
function history_index_svelte_create_if_block(ctx) {
	let div;
	let loader;
	let current;
	loader = new loader_index_svelte({});

	return {
		c() {
			div = internal_element("div");
			create_component(loader.$$.fragment);
			attr(div, "class", "call-app-history__holder");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(loader, div, null);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(loader.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(loader.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(loader);
		}
	};
}

// (80:12) {#each historyList as historyItem}
function history_index_svelte_create_each_block(ctx) {
	let div5;
	let div1;
	let div0;
	let t0_value = /*historyItem*/ ctx[14].name + "";
	let t0;
	let t1;
	let i;
	let i_class_value;
	let t2;
	let span;
	let t3_value = formatPhoneNumber(/*historyItem*/ ctx[14].phone) + "";
	let t3;
	let t4;
	let div4;
	let div2;
	let t5_value = moment_default().unix(/*historyItem*/ ctx[14].time).format('HH:mm') + "";
	let t5;
	let t6;
	let div3;
	let t7_value = moment_default().unix(/*historyItem*/ ctx[14].time).format('MM/DD/YYYY') + "";
	let t7;
	let t8;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[7](/*historyItem*/ ctx[14]);
	}

	return {
		c() {
			div5 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			i = internal_element("i");
			t2 = space();
			span = internal_element("span");
			t3 = internal_text(t3_value);
			t4 = space();
			div4 = internal_element("div");
			div2 = internal_element("div");
			t5 = internal_text(t5_value);
			t6 = space();
			div3 = internal_element("div");
			t7 = internal_text(t7_value);
			t8 = space();
			attr(div0, "class", "call-app-history__name");
			attr(i, "class", i_class_value = "call-app-history__icon icon-" + /*historyItem*/ ctx[14].type);
			attr(span, "class", "call-app-history__number");
			attr(div1, "class", "call-app-history__info");
			attr(div2, "class", "call-app-history__time");
			attr(div3, "class", "call-app-history__date");
			attr(div4, "class", "call-app-history__time-wrapper");
			attr(div5, "class", "call-app-history__history-item");
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			append(div5, div1);
			append(div1, div0);
			append(div0, t0);
			append(div1, t1);
			append(div1, i);
			append(div1, t2);
			append(div1, span);
			append(span, t3);
			append(div5, t4);
			append(div5, div4);
			append(div4, div2);
			append(div2, t5);
			append(div4, t6);
			append(div4, div3);
			append(div3, t7);
			append(div5, t8);

			if (!mounted) {
				dispose = listen(div5, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if (dirty & /*historyList*/ 1 && t0_value !== (t0_value = /*historyItem*/ ctx[14].name + "")) set_data(t0, t0_value);

			if (dirty & /*historyList*/ 1 && i_class_value !== (i_class_value = "call-app-history__icon icon-" + /*historyItem*/ ctx[14].type)) {
				attr(i, "class", i_class_value);
			}

			if (dirty & /*historyList*/ 1 && t3_value !== (t3_value = formatPhoneNumber(/*historyItem*/ ctx[14].phone) + "")) set_data(t3, t3_value);
			if (dirty & /*historyList*/ 1 && t5_value !== (t5_value = moment_default().unix(/*historyItem*/ ctx[14].time).format('HH:mm') + "")) set_data(t5, t5_value);
			if (dirty & /*historyList*/ 1 && t7_value !== (t7_value = moment_default().unix(/*historyItem*/ ctx[14].time).format('MM/DD/YYYY') + "")) set_data(t7, t7_value);
		},
		d(detaching) {
			if (detaching) detach(div5);
			mounted = false;
			dispose();
		}
	};
}

function history_index_svelte_create_fragment(ctx) {
	let div;
	let current_block_type_index;
	let if_block;
	let current;
	const if_block_creators = [history_index_svelte_create_if_block, history_index_svelte_create_if_block_1, history_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (/*loaderVisible*/ ctx[2]) return 0;
		if (/*historyList*/ ctx[0].length === 0) return 1;
		return 2;
	}

	current_block_type_index = select_block_type(ctx, -1);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div = internal_element("div");
			if_block.c();
			attr(div, "class", "call-app-history");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if_blocks[current_block_type_index].m(div, null);
			current = true;
		},
		p(ctx, [dirty]) {
			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(div, null);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if_blocks[current_block_type_index].d();
		}
	};
}

function history_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedContact;
	component_subscribe($$self, selectedContact, $$value => $$invalidate(10, $selectedContact = $$value));
	let historyCollection = [];
	let historyList = [];
	let query = '';
	let loaderVisible = true;
	let timeout;
	const changeScreen = getContext('changeScreen');

	const initializeHistory = historyData => {
		historyCollection = [...historyCollection, ...historyData];
		$$invalidate(0, historyList = historyCollection);
		historyList.sort((a, b) => b.time - a.time);
		$$invalidate(2, loaderVisible = false);
	};

	const openDetails = historyItem => {
		set_store_value(selectedContact, $selectedContact = historyItem, $selectedContact);
		changeScreen(Screens.ContactDetails);
	};

	const search = () => {
		if ((0,lodash.isEmpty)(query)) {
			$$invalidate(0, historyList = historyCollection);
			return;
		}

		$$invalidate(0, historyList = historyCollection.filter(item => item.name.toLowerCase().includes(query.toLowerCase()) || item.phone.toString().toLowerCase().includes(query.toLowerCase())));
	};

	const unregisterInitializeHistory = registerEvent('event.callApp.initializeHistory', initializeHistory);

	onMount(() => {
		sendClientMessage('callApp.loadHistory');
		$$invalidate(2, loaderVisible = true);

		timeout = setTimeout(
			() => {
				if (loaderVisible) {
					changeScreen(Screens.Main);
				}
			},
			LOADER_TIMEOUT
		);
	}); // initializeHistory(HISTORY_MOCK);

	onDestroy(() => {
		clearTimeout(timeout);
		timeout = null;
		unregisterInitializeHistory();
	});

	function callappinput_value_binding(value) {
		query = value;
		$$invalidate(1, query);
	}

	function callappinput_value_binding_1(value) {
		query = value;
		$$invalidate(1, query);
	}

	const click_handler = historyItem => {
		openDetails(historyItem);
	};

	return [
		historyList,
		query,
		loaderVisible,
		openDetails,
		search,
		callappinput_value_binding,
		callappinput_value_binding_1,
		click_handler
	];
}

class History extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, history_index_svelte_instance, history_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const history_index_svelte = (History);
;// CONCATENATED MODULE: ./src/views/phone/apps/call-app/components/ringing/index.svelte
/* src\views\phone\apps\call-app\components\ringing\index.svelte generated by Svelte v3.49.0 */











function ringing_index_svelte_create_else_block_1(ctx) {
	let p;

	return {
		c() {
			p = internal_element("p");
			p.textContent = "Исходящий звонок";
			attr(p, "class", "call-app-ringing__incoming-caption");
		},
		m(target, anchor) {
			insert(target, p, anchor);
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (52:4) {#if $callInfo.type === 0}
function ringing_index_svelte_create_if_block_2(ctx) {
	let p;

	return {
		c() {
			p = internal_element("p");
			p.textContent = "Входящий звонок";
			attr(p, "class", "call-app-ringing__incoming-caption");
		},
		m(target, anchor) {
			insert(target, p, anchor);
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (66:4) {:else}
function ringing_index_svelte_create_else_block(ctx) {
	let div;
	let t_value = /*formatSecondsToMmSs*/ ctx[0](/*callDuration*/ ctx[1]) + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "call-app-ringing__timer");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*callDuration*/ 2 && t_value !== (t_value = /*formatSecondsToMmSs*/ ctx[0](/*callDuration*/ ctx[1]) + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (64:4) {#if callDuration === 0}
function ringing_index_svelte_create_if_block_1(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "соединение";
			attr(div, "class", "call-app-ringing__timer");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (71:8) {#if $callInfo.type === 0}
function ringing_index_svelte_create_if_block(ctx) {
	let div;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<i class="call-app-ringing__button-icon icon-call-accept"></i>`;
			attr(div, "class", "call-app-ringing__button call-app-ringing__button--accept");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = listen(div, "click", /*startCall*/ ctx[4]);
				mounted = true;
			}
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

function ringing_index_svelte_create_fragment(ctx) {
	let div4;
	let t0;
	let i0;
	let t1;
	let p;
	let t2_value = /*$callInfo*/ ctx[2].nickname + "";
	let t2;
	let t3;
	let div0;
	let i1;
	let t4;
	let span;
	let t5_value = /*$callInfo*/ ctx[2].phoneNumber + "";
	let t5;
	let t6;
	let t7;
	let div2;
	let t8;
	let div1;
	let t9;
	let div3;
	let microphonewidget;
	let current;
	let mounted;
	let dispose;

	function select_block_type(ctx, dirty) {
		if (/*$callInfo*/ ctx[2].type === 0) return ringing_index_svelte_create_if_block_2;
		return ringing_index_svelte_create_else_block_1;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block0 = current_block_type(ctx);

	function select_block_type_1(ctx, dirty) {
		if (/*callDuration*/ ctx[1] === 0) return ringing_index_svelte_create_if_block_1;
		return ringing_index_svelte_create_else_block;
	}

	let current_block_type_1 = select_block_type_1(ctx, -1);
	let if_block1 = current_block_type_1(ctx);
	let if_block2 = /*$callInfo*/ ctx[2].type === 0 && ringing_index_svelte_create_if_block(ctx);

	microphonewidget = new microphone_widget_index_svelte({
			props: { keyText: "X", actionText: "говорить" }
		});

	return {
		c() {
			div4 = internal_element("div");
			if_block0.c();
			t0 = space();
			i0 = internal_element("i");
			t1 = space();
			p = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = space();
			div0 = internal_element("div");
			i1 = internal_element("i");
			t4 = space();
			span = internal_element("span");
			t5 = internal_text(t5_value);
			t6 = space();
			if_block1.c();
			t7 = space();
			div2 = internal_element("div");
			if (if_block2) if_block2.c();
			t8 = space();
			div1 = internal_element("div");
			div1.innerHTML = `<i class="call-app-ringing__button-icon icon-call-decline"></i>`;
			t9 = space();
			div3 = internal_element("div");
			create_component(microphonewidget.$$.fragment);
			attr(i0, "class", "call-app-ringing__person-icon icon-person");
			attr(p, "class", "call-app-ringing__name");
			attr(i1, "class", "call-app-ringing__call-icon icon-call-accept");
			attr(span, "class", "call-app-ringing__number");
			attr(div0, "class", "call-app-ringing__number-row");
			attr(div1, "class", "call-app-ringing__button call-app-ringing__button--decline");
			attr(div2, "class", "call-app-ringing__respond");
			attr(div3, "class", "call-app-ringing__mic-widget");
			attr(div4, "class", "call-app-ringing");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			if_block0.m(div4, null);
			append(div4, t0);
			append(div4, i0);
			append(div4, t1);
			append(div4, p);
			append(p, t2);
			append(div4, t3);
			append(div4, div0);
			append(div0, i1);
			append(div0, t4);
			append(div0, span);
			append(span, t5);
			append(div4, t6);
			if_block1.m(div4, null);
			append(div4, t7);
			append(div4, div2);
			if (if_block2) if_block2.m(div2, null);
			append(div2, t8);
			append(div2, div1);
			append(div4, t9);
			append(div4, div3);
			mount_component(microphonewidget, div3, null);
			current = true;

			if (!mounted) {
				dispose = listen(div1, "click", /*endCall*/ ctx[3]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (current_block_type !== (current_block_type = select_block_type(ctx, dirty))) {
				if_block0.d(1);
				if_block0 = current_block_type(ctx);

				if (if_block0) {
					if_block0.c();
					if_block0.m(div4, t0);
				}
			}

			if ((!current || dirty & /*$callInfo*/ 4) && t2_value !== (t2_value = /*$callInfo*/ ctx[2].nickname + "")) set_data(t2, t2_value);
			if ((!current || dirty & /*$callInfo*/ 4) && t5_value !== (t5_value = /*$callInfo*/ ctx[2].phoneNumber + "")) set_data(t5, t5_value);

			if (current_block_type_1 === (current_block_type_1 = select_block_type_1(ctx, dirty)) && if_block1) {
				if_block1.p(ctx, dirty);
			} else {
				if_block1.d(1);
				if_block1 = current_block_type_1(ctx);

				if (if_block1) {
					if_block1.c();
					if_block1.m(div4, t7);
				}
			}

			if (/*$callInfo*/ ctx[2].type === 0) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = ringing_index_svelte_create_if_block(ctx);
					if_block2.c();
					if_block2.m(div2, t8);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}
		},
		i(local) {
			if (current) return;
			transition_in(microphonewidget.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(microphonewidget.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div4);
			if_block0.d();
			if_block1.d();
			if (if_block2) if_block2.d();
			destroy_component(microphonewidget);
			mounted = false;
			dispose();
		}
	};
}

function ringing_index_svelte_instance($$self, $$props, $$invalidate) {
	let $callInfo;
	component_subscribe($$self, callInfo, $$value => $$invalidate(2, $callInfo = $$value));
	let callTimer = null;
	let callDuration = 0;

	const formatSecondsToMmSs = seconds => {
		const timeMinutes = Math.floor(seconds / 60).toString().padStart(2, '0');
		const timeSeconds = (seconds % 60).toString().padStart(2, '0');
		return `${timeMinutes}:${timeSeconds}`;
	};

	const updateCallStatus = call => {
		set_store_value(callInfo, $callInfo = call, $callInfo);
		set_store_value(callInfo, $callInfo.phoneNumber = formatPhoneNumber($callInfo.phoneNumber), $callInfo);

		if (call.type === 2) {
			if ((0,lodash.isNil)(callTimer)) {
				callTimer = setInterval(
					() => {
						$$invalidate(1, callDuration += 1);
					},
					1000
				);
			}
		}
	};

	const endCall = () => {
		sendClientMessage('callApp.callFinished');
	};

	const startCall = () => {
		sendClientMessage('callApp.callStarted');
	};

	const unregisterUpdateCallStatus = registerEvent('event.callApp.updateCallStatus', updateCallStatus);

	onDestroy(() => {
		clearInterval(callTimer);
		callTimer = null;
		unregisterUpdateCallStatus();
	});

	return [formatSecondsToMmSs, callDuration, $callInfo, endCall, startCall];
}

class Ringing extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, ringing_index_svelte_instance, ringing_index_svelte_create_fragment, safe_not_equal, { formatSecondsToMmSs: 0 });
	}

	get formatSecondsToMmSs() {
		return this.$$.ctx[0];
	}
}

/* harmony default export */ const ringing_index_svelte = (Ringing);
;// CONCATENATED MODULE: ./src/views/phone/apps/call-app/components/contact-details/index.svelte
/* src\views\phone\apps\call-app\components\contact-details\index.svelte generated by Svelte v3.49.0 */











function contact_details_index_svelte_create_else_block(ctx) {
	let div;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<i class="call-app-contact-details__button-icon icon-add"></i>`;
			attr(div, "class", "call-app-contact-details__button call-app-contact-details__button--delete");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = listen(div, "click", /*click_handler_3*/ ctx[9]);
				mounted = true;
			}
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (65:8) {#if isNil($selectedContact.type)}
function contact_details_index_svelte_create_if_block_1(ctx) {
	let div;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<i class="call-app-contact-details__button-icon icon-trash"></i>`;
			attr(div, "class", "call-app-contact-details__button call-app-contact-details__button--delete");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = listen(div, "click", /*click_handler_2*/ ctx[8]);
				mounted = true;
			}
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (76:8) {#if showErrorMessage}
function contact_details_index_svelte_create_if_block(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "Удалить запись не удалось";
			attr(div, "class", "call-app-contact-details__error-message-text");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function contact_details_index_svelte_create_fragment(ctx) {
	let div5;
	let i0;
	let t0;
	let p;
	let t1_value = /*$selectedContact*/ ctx[1].name + "";
	let t1;
	let t2;
	let div0;
	let i1;
	let t3;
	let span;
	let t4_value = formatPhoneNumber(/*$selectedContact*/ ctx[1].phone) + "";
	let t4;
	let t5;
	let div3;
	let div1;
	let t6;
	let div2;
	let t7;
	let show_if;
	let t8;
	let div4;
	let mounted;
	let dispose;

	function select_block_type(ctx, dirty) {
		if (dirty & /*$selectedContact*/ 2) show_if = null;
		if (show_if == null) show_if = !!(0,lodash.isNil)(/*$selectedContact*/ ctx[1].type);
		if (show_if) return contact_details_index_svelte_create_if_block_1;
		return contact_details_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block0 = current_block_type(ctx);
	let if_block1 = /*showErrorMessage*/ ctx[0] && contact_details_index_svelte_create_if_block(ctx);

	return {
		c() {
			div5 = internal_element("div");
			i0 = internal_element("i");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			div0 = internal_element("div");
			i1 = internal_element("i");
			t3 = space();
			span = internal_element("span");
			t4 = internal_text(t4_value);
			t5 = space();
			div3 = internal_element("div");
			div1 = internal_element("div");
			div1.innerHTML = `<i class="call-app-contact-details__button-icon icon-chat"></i>`;
			t6 = space();
			div2 = internal_element("div");
			div2.innerHTML = `<i class="call-app-contact-details__button-icon icon-call-accept"></i>`;
			t7 = space();
			if_block0.c();
			t8 = space();
			div4 = internal_element("div");
			if (if_block1) if_block1.c();
			attr(i0, "class", "call-app-contact-details__person-icon icon-person");
			attr(p, "class", "call-app-contact-details__name");
			attr(i1, "class", "call-app-contact-details__call-icon icon-call-accept");
			attr(span, "class", "call-app-contact-details__number");
			attr(div0, "class", "call-app-contact-details__number-row");
			attr(div1, "class", "call-app-contact-details__button call-app-contact-details__button--accept");
			attr(div2, "class", "call-app-contact-details__button call-app-contact-details__button--accept");
			attr(div3, "class", "call-app-contact-details__controls");
			attr(div4, "class", "call-app-contact-details__error-message");
			attr(div5, "class", "call-app-contact-details");
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			append(div5, i0);
			append(div5, t0);
			append(div5, p);
			append(p, t1);
			append(div5, t2);
			append(div5, div0);
			append(div0, i1);
			append(div0, t3);
			append(div0, span);
			append(span, t4);
			append(div5, t5);
			append(div5, div3);
			append(div3, div1);
			append(div3, t6);
			append(div3, div2);
			append(div3, t7);
			if_block0.m(div3, null);
			append(div5, t8);
			append(div5, div4);
			if (if_block1) if_block1.m(div4, null);

			if (!mounted) {
				dispose = [
					listen(div1, "click", /*click_handler*/ ctx[6]),
					listen(div2, "click", /*click_handler_1*/ ctx[7])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*$selectedContact*/ 2 && t1_value !== (t1_value = /*$selectedContact*/ ctx[1].name + "")) set_data(t1, t1_value);
			if (dirty & /*$selectedContact*/ 2 && t4_value !== (t4_value = formatPhoneNumber(/*$selectedContact*/ ctx[1].phone) + "")) set_data(t4, t4_value);

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block0) {
				if_block0.p(ctx, dirty);
			} else {
				if_block0.d(1);
				if_block0 = current_block_type(ctx);

				if (if_block0) {
					if_block0.c();
					if_block0.m(div3, null);
				}
			}

			if (/*showErrorMessage*/ ctx[0]) {
				if (if_block1) {
					
				} else {
					if_block1 = contact_details_index_svelte_create_if_block(ctx);
					if_block1.c();
					if_block1.m(div4, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div5);
			if_block0.d();
			if (if_block1) if_block1.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function contact_details_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedContact;
	component_subscribe($$self, selectedContact, $$value => $$invalidate(1, $selectedContact = $$value));
	const changeScreen = getContext('changeScreen');
	let showErrorMessage = false;

	const callContact = () => {
		sendClientMessage('callApp.call', $selectedContact.phone);
	};

	const removeFromContactsCollection = successfullyRemoved => {
		if (successfullyRemoved) {
			changeScreen(Screens.Contacts);
		} else {
			$$invalidate(0, showErrorMessage = true);

			setTimeout(
				() => {
					$$invalidate(0, showErrorMessage = false);
				},
				3000
			);
		}
	};

	const chatContact = () => {
		sendClientMessage('callApp.openChatWith', $selectedContact.phone, $selectedContact.name);
	};

	const addContact = () => {
		changeScreen(Screens.AddContact);
	};

	const removeContact = () => {
		sendClientMessage('callApp.removeContact', $selectedContact.phone);
	}; // removeFromContactsCollection(false);

	const unregisterRemoveFromContactsCollection = registerEvent('event.callApp.removeFromContactsCollection', removeFromContactsCollection);

	onDestroy(() => {
		unregisterRemoveFromContactsCollection();
	});

	const click_handler = () => chatContact();
	const click_handler_1 = () => callContact();
	const click_handler_2 = () => removeContact();
	const click_handler_3 = () => addContact();

	return [
		showErrorMessage,
		$selectedContact,
		callContact,
		chatContact,
		addContact,
		removeContact,
		click_handler,
		click_handler_1,
		click_handler_2,
		click_handler_3
	];
}

class Contact_details extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, contact_details_index_svelte_instance, contact_details_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const contact_details_index_svelte = (Contact_details);
;// CONCATENATED MODULE: ./src/views/phone/apps/call-app/maps.js
function maps_typeof(o) { "@babel/helpers - typeof"; return maps_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, maps_typeof(o); }
function maps_defineProperty(e, r, t) { return (r = maps_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function maps_toPropertyKey(t) { var i = maps_toPrimitive(t, "string"); return "symbol" == maps_typeof(i) ? i : i + ""; }
function maps_toPrimitive(t, r) { if ("object" != maps_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != maps_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }








var MAP_SCREEN_TO_TITLE = maps_defineProperty(maps_defineProperty(maps_defineProperty(maps_defineProperty(maps_defineProperty(maps_defineProperty(maps_defineProperty(maps_defineProperty({}, Screens.Contacts, 'Мои контакты'), Screens.ContactDetails, 'Контакт'), Screens.AddContact, 'Добавить контакт'), Screens.Search, 'Набор по никнейму'), Screens.History, 'История звонков'), Screens.Ringing, 'Вызов'), Screens.NumberPanel, 'Вызов'), Screens.Main, 'Звонки');
var MAP_SCREEN_TO_COMPONENT = maps_defineProperty(maps_defineProperty(maps_defineProperty(maps_defineProperty(maps_defineProperty(maps_defineProperty(maps_defineProperty({}, Screens.Search, search_index_svelte), Screens.Contacts, contacts_index_svelte), Screens.AddContact, add_contact_index_svelte), Screens.History, history_index_svelte), Screens.Ringing, ringing_index_svelte), Screens.ContactDetails, contact_details_index_svelte), Screens.NumberPanel, number_panel_index_svelte);
;// CONCATENATED MODULE: ./src/views/phone/apps/call-app/index.svelte
/* src\views\phone\apps\call-app\index.svelte generated by Svelte v3.49.0 */












function call_app_index_svelte_create_if_block_2(ctx) {
	let div;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<i class="call-app__arrow-back icon-chevron-left"></i>`;
			attr(div, "class", "call-app__back-to-menu");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = listen(div, "click", /*back*/ ctx[3]);
				mounted = true;
			}
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (74:4) {#if $selectedScreen === Screens.NumberPanel || $selectedScreen === Screens.Search || $selectedScreen === Screens.Contacts}
function call_app_index_svelte_create_if_block_1(ctx) {
	let div2;
	let div0;
	let t1;
	let div1;
	let mounted;
	let dispose;

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "По номеру";
			t1 = space();
			div1 = internal_element("div");
			div1.textContent = "Мои контакты";
			attr(div0, "class", "call-app__search-type");
			toggle_class(div0, "call-app__search-type--active", /*$selectedScreen*/ ctx[1] === Screens.NumberPanel);
			attr(div1, "class", "call-app__search-type");
			toggle_class(div1, "call-app__search-type--active", /*$selectedScreen*/ ctx[1] === Screens.Contacts);
			attr(div2, "class", "call-app__search-types");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div2, t1);
			append(div2, div1);

			if (!mounted) {
				dispose = [
					listen(div0, "click", /*click_handler*/ ctx[6]),
					listen(div1, "click", /*click_handler_1*/ ctx[7])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*$selectedScreen, Screens*/ 2) {
				toggle_class(div0, "call-app__search-type--active", /*$selectedScreen*/ ctx[1] === Screens.NumberPanel);
			}

			if (dirty & /*$selectedScreen, Screens*/ 2) {
				toggle_class(div1, "call-app__search-type--active", /*$selectedScreen*/ ctx[1] === Screens.Contacts);
			}
		},
		d(detaching) {
			if (detaching) detach(div2);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (114:4) {:else}
function call_app_index_svelte_create_else_block(ctx) {
	let div;
	let switch_instance;
	let current;
	var switch_value = MAP_SCREEN_TO_COMPONENT[/*$selectedScreen*/ ctx[1]];

	function switch_props(ctx) {
		return { props: { back: /*back*/ ctx[3] } };
	}

	if (switch_value) {
		switch_instance = new switch_value(switch_props(ctx));
	}

	return {
		c() {
			div = internal_element("div");
			if (switch_instance) create_component(switch_instance.$$.fragment);
			attr(div, "class", "call-app__content");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (switch_instance) {
				mount_component(switch_instance, div, null);
			}

			current = true;
		},
		p(ctx, dirty) {
			if (switch_value !== (switch_value = MAP_SCREEN_TO_COMPONENT[/*$selectedScreen*/ ctx[1]])) {
				if (switch_instance) {
					group_outros();
					const old_component = switch_instance;

					transition_out(old_component.$$.fragment, 1, 0, () => {
						destroy_component(old_component, 1);
					});

					check_outros();
				}

				if (switch_value) {
					switch_instance = new switch_value(switch_props(ctx));
					create_component(switch_instance.$$.fragment);
					transition_in(switch_instance.$$.fragment, 1);
					mount_component(switch_instance, div, null);
				} else {
					switch_instance = null;
				}
			} else if (switch_value) {
				
			}
		},
		i(local) {
			if (current) return;
			if (switch_instance) transition_in(switch_instance.$$.fragment, local);
			current = true;
		},
		o(local) {
			if (switch_instance) transition_out(switch_instance.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (switch_instance) destroy_component(switch_instance);
		}
	};
}

// (94:4) {#if isEmpty($selectedScreen)}
function call_app_index_svelte_create_if_block(ctx) {
	let div9;
	let div1;
	let div0;
	let t0;
	let t1;
	let span0;
	let t3;
	let div6;
	let div2;
	let t5;
	let div3;
	let t7;
	let div4;
	let t9;
	let div5;
	let t11;
	let div8;
	let span1;
	let t12;
	let t13;
	let span2;
	let t15;
	let div7;
	let mounted;
	let dispose;

	return {
		c() {
			div9 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(/*$myPhoneNumber*/ ctx[2]);
			t1 = space();
			span0 = internal_element("span");
			span0.textContent = "Мой номер";
			t3 = space();
			div6 = internal_element("div");
			div2 = internal_element("div");
			div2.textContent = "Вызов";
			t5 = space();
			div3 = internal_element("div");
			div3.textContent = "Экстренные службы";
			t7 = space();
			div4 = internal_element("div");
			div4.textContent = "Мои контакты";
			t9 = space();
			div5 = internal_element("div");
			div5.textContent = "История звонков";
			t11 = space();
			div8 = internal_element("div");
			span1 = internal_element("span");
			t12 = internal_text(/*balance*/ ctx[0]);
			t13 = space();
			span2 = internal_element("span");
			span2.textContent = "₽";
			t15 = space();
			div7 = internal_element("div");
			div7.textContent = "Баланс";
			attr(div0, "class", "call-app__my-number");
			attr(span0, "class", "call-app__my-number-caption");
			attr(div1, "class", "call-app__my-number-wrapper");
			attr(div2, "class", "call-app__menu-item");
			attr(div3, "class", "call-app__menu-item");
			attr(div4, "class", "call-app__menu-item");
			attr(div5, "class", "call-app__menu-item");
			attr(div6, "class", "call-app__menu");
			attr(span1, "class", "call-app__balance");
			attr(span2, "class", "call-app__currency");
			attr(div7, "class", "call-app__balance-caption");
			attr(div8, "class", "call-app__balance-wrapper");
			attr(div9, "class", "call-app__main");
		},
		m(target, anchor) {
			insert(target, div9, anchor);
			append(div9, div1);
			append(div1, div0);
			append(div0, t0);
			append(div1, t1);
			append(div1, span0);
			append(div9, t3);
			append(div9, div6);
			append(div6, div2);
			append(div6, t5);
			append(div6, div3);
			append(div6, t7);
			append(div6, div4);
			append(div6, t9);
			append(div6, div5);
			append(div9, t11);
			append(div9, div8);
			append(div8, span1);
			append(span1, t12);
			append(div8, t13);
			append(div8, span2);
			append(div8, t15);
			append(div8, div7);

			if (!mounted) {
				dispose = [
					listen(div2, "click", /*click_handler_2*/ ctx[8]),
					listen(div3, "click", /*click_handler_3*/ ctx[9]),
					listen(div4, "click", /*click_handler_4*/ ctx[10]),
					listen(div5, "click", /*click_handler_5*/ ctx[11])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*$myPhoneNumber*/ 4) set_data(t0, /*$myPhoneNumber*/ ctx[2]);
			if (dirty & /*balance*/ 1) set_data(t12, /*balance*/ ctx[0]);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div9);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function call_app_index_svelte_create_fragment(ctx) {
	let div2;
	let div1;
	let t0;
	let div0;
	let t1_value = MAP_SCREEN_TO_TITLE[/*$selectedScreen*/ ctx[1]] + "";
	let t1;
	let t2;
	let t3;
	let show_if;
	let current_block_type_index;
	let if_block2;
	let current;
	let if_block0 = /*$selectedScreen*/ ctx[1] !== Screens.Ringing && call_app_index_svelte_create_if_block_2(ctx);
	let if_block1 = (/*$selectedScreen*/ ctx[1] === Screens.NumberPanel || /*$selectedScreen*/ ctx[1] === Screens.Search || /*$selectedScreen*/ ctx[1] === Screens.Contacts) && call_app_index_svelte_create_if_block_1(ctx);
	const if_block_creators = [call_app_index_svelte_create_if_block, call_app_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (dirty & /*$selectedScreen*/ 2) show_if = null;
		if (show_if == null) show_if = !!(0,lodash.isEmpty)(/*$selectedScreen*/ ctx[1]);
		if (show_if) return 0;
		return 1;
	}

	current_block_type_index = select_block_type(ctx, -1);
	if_block2 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div2 = internal_element("div");
			div1 = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			if (if_block1) if_block1.c();
			t3 = space();
			if_block2.c();
			attr(div0, "class", "call-app__title");
			attr(div1, "class", "call-app__top-bar");
			attr(div2, "class", "call-app");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div1);
			if (if_block0) if_block0.m(div1, null);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
			append(div2, t2);
			if (if_block1) if_block1.m(div2, null);
			append(div2, t3);
			if_blocks[current_block_type_index].m(div2, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if (/*$selectedScreen*/ ctx[1] !== Screens.Ringing) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = call_app_index_svelte_create_if_block_2(ctx);
					if_block0.c();
					if_block0.m(div1, t0);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if ((!current || dirty & /*$selectedScreen*/ 2) && t1_value !== (t1_value = MAP_SCREEN_TO_TITLE[/*$selectedScreen*/ ctx[1]] + "")) set_data(t1, t1_value);

			if (/*$selectedScreen*/ ctx[1] === Screens.NumberPanel || /*$selectedScreen*/ ctx[1] === Screens.Search || /*$selectedScreen*/ ctx[1] === Screens.Contacts) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = call_app_index_svelte_create_if_block_1(ctx);
					if_block1.c();
					if_block1.m(div2, t3);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block2 = if_blocks[current_block_type_index];

				if (!if_block2) {
					if_block2 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block2.c();
				} else {
					if_block2.p(ctx, dirty);
				}

				transition_in(if_block2, 1);
				if_block2.m(div2, null);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block2);
			current = true;
		},
		o(local) {
			transition_out(if_block2);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div2);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			if_blocks[current_block_type_index].d();
		}
	};
}

function call_app_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedContact;
	let $selectedScreen;
	let $myPhoneNumber;
	component_subscribe($$self, selectedContact, $$value => $$invalidate(12, $selectedContact = $$value));
	component_subscribe($$self, selectedScreen, $$value => $$invalidate(1, $selectedScreen = $$value));
	component_subscribe($$self, myPhoneNumber, $$value => $$invalidate(2, $myPhoneNumber = $$value));

	let { backToMainMenu = () => {
		
	} } = $$props;

	let balance = 0;

	const back = () => {
		if (!(0,lodash.isEmpty)($selectedScreen)) {
			set_store_value(selectedScreen, $selectedScreen = Screens.Main, $selectedScreen);
		} else {
			backToMainMenu();
		}
	};

	const changeScreen = screendId => {
		if ($selectedScreen === screendId) {
			return;
		}

		set_store_value(selectedScreen, $selectedScreen = screendId, $selectedScreen);
	};

	const initializeMyPhoneNumber = phoneNumber => {
		if (parseInt(phoneNumber, 10) > 1) {
			set_store_value(myPhoneNumber, $myPhoneNumber = formatPhoneNumber(phoneNumber), $myPhoneNumber);
		}
	};

	const initializeBalance = balanceData => {
		$$invalidate(0, balance = balanceData);
	};

	const unregisterInitializeMyPhonenumber = registerEvent('event.callApp.initializeMyPhoneNumber', initializeMyPhoneNumber);
	const unregisterInitializeBalance = registerEvent('event.callApp.initializeBalance', initializeBalance);
	const unregisterChangeScreen = registerEvent('event.callApp.changeScreen', changeScreen);
	setContext('changeScreen', changeScreen);

	onMount(() => {
		set_store_value(myPhoneNumber, $myPhoneNumber = 'Нет сим-карты', $myPhoneNumber);

		if ($selectedScreen !== Screens.Main && $selectedScreen !== Screens.Ringing) {
			set_store_value(selectedScreen, $selectedScreen = Screens.Main, $selectedScreen);
		}

		set_store_value(selectedContact, $selectedContact = {}, $selectedContact);
		sendClientMessage('callApp.loadBalance');
	});

	onDestroy(() => {
		unregisterInitializeMyPhonenumber();
		unregisterChangeScreen();
		unregisterInitializeBalance();
	});

	const click_handler = () => {
		changeScreen(Screens.NumberPanel);
	};

	const click_handler_1 = () => {
		changeScreen(Screens.Contacts);
	};

	const click_handler_2 = () => {
		changeScreen(Screens.NumberPanel);
	};

	const click_handler_3 = () => {
		sendClientMessage('callApp.callExtraServices');
	};

	const click_handler_4 = () => {
		changeScreen(Screens.Contacts);
	};

	const click_handler_5 = () => {
		changeScreen(Screens.History);
	};

	$$self.$$set = $$props => {
		if ('backToMainMenu' in $$props) $$invalidate(5, backToMainMenu = $$props.backToMainMenu);
	};

	return [
		balance,
		$selectedScreen,
		$myPhoneNumber,
		back,
		changeScreen,
		backToMainMenu,
		click_handler,
		click_handler_1,
		click_handler_2,
		click_handler_3,
		click_handler_4,
		click_handler_5
	];
}

class Call_app extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, call_app_index_svelte_instance, call_app_index_svelte_create_fragment, safe_not_equal, { backToMainMenu: 5 });
	}
}

/* harmony default export */ const call_app_index_svelte = (Call_app);
;// CONCATENATED MODULE: ./src/views/phone/img/app/messenger/smiles/smile.png
const smile_namespaceObject = __webpack_require__.p + "assets/16ff2cc2797696d67e35.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/messenger/smiles/smile2.png
const smile2_namespaceObject = __webpack_require__.p + "assets/a1c7edcf676b066983cd.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/messenger/smiles/smile3.png
const smile3_namespaceObject = __webpack_require__.p + "assets/41cd8cf9613986de2b4e.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/messenger/smiles/laugh.png
const laugh_namespaceObject = __webpack_require__.p + "assets/f88717243bc49e1f8b0e.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/messenger/smiles/laugh_sweat.png
const laugh_sweat_namespaceObject = __webpack_require__.p + "assets/eb3943ac6dcc9c3f48db.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/messenger/smiles/beaming_smile.png
const beaming_smile_namespaceObject = __webpack_require__.p + "assets/30e60a144fa61bf648a5.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/messenger/smiles/rofl.png
const rofl_namespaceObject = __webpack_require__.p + "assets/b6f122e3daff0b7b150d.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/messenger/smiles/tears_of_joy.png
const tears_of_joy_namespaceObject = __webpack_require__.p + "assets/288914c90f5c403ce7aa.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/messenger/smiles/slightly_smile.png
const slightly_smile_namespaceObject = __webpack_require__.p + "assets/113e7b790d1ff4416ebe.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/messenger/smiles/upside_down_smile.png
const upside_down_smile_namespaceObject = __webpack_require__.p + "assets/783f7d225b5b778065d1.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/messenger/smiles/winking.png
const winking_namespaceObject = __webpack_require__.p + "assets/ae0cbb75105ca8ad528a.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/messenger/smiles/winking_with_tongue.png
const winking_with_tongue_namespaceObject = __webpack_require__.p + "assets/06f160dfec9222aee4d2.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/messenger/smiles/blush_smile.png
const blush_smile_namespaceObject = __webpack_require__.p + "assets/fefc6bdcce8608d6cef7.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/messenger/smiles/angel.png
const angel_namespaceObject = __webpack_require__.p + "assets/98be2d96202de6dfd407.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/messenger/smiles/blush_love.png
const blush_love_namespaceObject = __webpack_require__.p + "assets/9ed74f166ca6b8275891.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/messenger/smiles/crazy_love.png
const crazy_love_namespaceObject = __webpack_require__.p + "assets/5fe24eecacdd63941726.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/messenger/smiles/devil.png
const devil_namespaceObject = __webpack_require__.p + "assets/7ad2d9685d999ea30ab6.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/messenger/smiles/blush_happy.png
const blush_happy_namespaceObject = __webpack_require__.p + "assets/46265832b88cac80f61a.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/messenger/smiles/cool.png
const cool_namespaceObject = __webpack_require__.p + "assets/6ae4abea47c821da8e71.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/messenger/smiles/smile_with_tear.png
const smile_with_tear_namespaceObject = __webpack_require__.p + "assets/56fb534f59ec92705eb0.webp";
;// CONCATENATED MODULE: ./src/views/phone/apps/messenger-app/constants.js
var _MAP_SMILE_TO_CODE, _MAP_SMILE_TO_IMAGE;
function messenger_app_constants_typeof(o) { "@babel/helpers - typeof"; return messenger_app_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, messenger_app_constants_typeof(o); }
function messenger_app_constants_defineProperty(e, r, t) { return (r = messenger_app_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function messenger_app_constants_toPropertyKey(t) { var i = messenger_app_constants_toPrimitive(t, "string"); return "symbol" == messenger_app_constants_typeof(i) ? i : i + ""; }
function messenger_app_constants_toPrimitive(t, r) { if ("object" != messenger_app_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != messenger_app_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }




















var Smiles = {
  Smile: 'smile',
  Smile2: 'smile2',
  Smile3: 'smile3',
  Laugh: 'laugh',
  LaughSweat: 'laughSweat',
  BeamingSmile: 'beamingSmile',
  Rofl: 'rofl',
  TearsOfJoy: 'tearsOfJoy',
  SlightlySmile: 'slightlySmile',
  UpsideDownSmile: 'upsideDownSmile',
  Winking: 'winking',
  WinkingWithTongue: 'winkingWithTongue',
  BlushSmile: 'blushSmile',
  Angel: 'angel',
  BlushLove: 'blushLove',
  CrazyLove: 'crazyLove',
  Devil: 'devil',
  BlushHappy: 'blushHappy',
  Cool: 'cool',
  SmileWithTear: 'smileWithTear'
};
var MAP_SMILE_TO_CODE = (_MAP_SMILE_TO_CODE = {}, messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(_MAP_SMILE_TO_CODE, Smiles.Smile, '::smile::'), Smiles.Smile2, '::smile2::'), Smiles.Smile3, '::smile3::'), Smiles.Laugh, '::laugh::'), Smiles.LaughSweat, '::laughSweat::'), Smiles.BeamingSmile, '::beamingSmile::'), Smiles.Rofl, '::rofl::'), Smiles.TearsOfJoy, '::tearsOfJoy::'), Smiles.SlightlySmile, '::slightlySmile::'), Smiles.UpsideDownSmile, '::upsideDownSmile::'), messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(_MAP_SMILE_TO_CODE, Smiles.Winking, '::winking::'), Smiles.WinkingWithTongue, '::winkingWithTongue::'), Smiles.BlushSmile, '::blushSmile::'), Smiles.Angel, '::angel::'), Smiles.BlushLove, '::blushLove::'), Smiles.CrazyLove, '::crazyLove::'), Smiles.Devil, '::devil::'), Smiles.BlushHappy, '::blushHappy::'), Smiles.Cool, '::cool::'), Smiles.SmileWithTear, '::smileWithTear::'));
var MAP_SMILE_TO_IMAGE = (_MAP_SMILE_TO_IMAGE = {}, messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(_MAP_SMILE_TO_IMAGE, Smiles.Smile, smile_namespaceObject), Smiles.Smile2, smile2_namespaceObject), Smiles.Smile3, smile3_namespaceObject), Smiles.Laugh, laugh_namespaceObject), Smiles.LaughSweat, laugh_sweat_namespaceObject), Smiles.BeamingSmile, beaming_smile_namespaceObject), Smiles.Rofl, rofl_namespaceObject), Smiles.TearsOfJoy, tears_of_joy_namespaceObject), Smiles.SlightlySmile, slightly_smile_namespaceObject), Smiles.UpsideDownSmile, upside_down_smile_namespaceObject), messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(messenger_app_constants_defineProperty(_MAP_SMILE_TO_IMAGE, Smiles.Winking, winking_namespaceObject), Smiles.WinkingWithTongue, winking_with_tongue_namespaceObject), Smiles.BlushSmile, blush_smile_namespaceObject), Smiles.Angel, angel_namespaceObject), Smiles.BlushLove, blush_love_namespaceObject), Smiles.CrazyLove, crazy_love_namespaceObject), Smiles.Devil, devil_namespaceObject), Smiles.BlushHappy, blush_happy_namespaceObject), Smiles.Cool, cool_namespaceObject), Smiles.SmileWithTear, smile_with_tear_namespaceObject));
;// CONCATENATED MODULE: ./src/views/phone/apps/messenger-app/components/chat/index.svelte
/* src\views\phone\apps\messenger-app\components\chat\index.svelte generated by Svelte v3.49.0 */








// import InfiniteScroll from 'svelte-infinite-scroll';






// import { MESSAGES_MOCK, MESSAGES_MOCK_0 } from '../../mock';


function chat_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[33] = list[i];
	return child_ctx;
}

function chat_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[36] = list[i];
	return child_ctx;
}

// (184:4) {#if loaderVisible}
function chat_index_svelte_create_if_block_2(ctx) {
	let div1;
	let div0;
	let loader;
	let current;
	loader = new loader_index_svelte({});

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			create_component(loader.$$.fragment);
			attr(div0, "class", "messenger-chat__loader");
			attr(div1, "class", "messenger-chat__loader-wrapper");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			mount_component(loader, div0, null);
			current = true;
		},
		i(local) {
			if (current) return;
			transition_in(loader.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(loader.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			destroy_component(loader);
		}
	};
}

// (202:24) {#if message.type === 'to'}
function chat_index_svelte_create_if_block_1(ctx) {
	let span;

	return {
		c() {
			span = internal_element("span");
			span.textContent = "ВЫ:";
			attr(span, "class", "messenger-chat__you");
		},
		m(target, anchor) {
			insert(target, span, anchor);
		},
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

// (199:12) {#each messages as message}
function chat_index_svelte_create_each_block_1(ctx) {
	let div2;
	let div0;
	let t0;
	let t1_value = moment_default().unix(/*message*/ ctx[36].time).format('DD.MM.YYYY') + "";
	let t1;
	let t2;
	let t3_value = moment_default().unix(/*message*/ ctx[36].time).format('HH:mm') + "";
	let t3;
	let t4;
	let div1;
	let raw_value = /*converCodeToSmile*/ ctx[12](/*message*/ ctx[36].text) + "";
	let t5;
	let if_block = /*message*/ ctx[36].type === 'to' && chat_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			if (if_block) if_block.c();
			t0 = space();
			t1 = internal_text(t1_value);
			t2 = internal_text(" в ");
			t3 = internal_text(t3_value);
			t4 = space();
			div1 = internal_element("div");
			t5 = space();
			attr(div0, "class", "messenger-chat__message-time");
			attr(div1, "class", "messenger-chat__message-content");
			attr(div2, "class", "messenger-chat__message");
			toggle_class(div2, "messenger-chat__message--outgoing", /*message*/ ctx[36].type === 'to');
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			if (if_block) if_block.m(div0, null);
			append(div0, t0);
			append(div0, t1);
			append(div0, t2);
			append(div0, t3);
			append(div2, t4);
			append(div2, div1);
			div1.innerHTML = raw_value;
			append(div2, t5);
		},
		p(ctx, dirty) {
			if (/*message*/ ctx[36].type === 'to') {
				if (if_block) {
					
				} else {
					if_block = chat_index_svelte_create_if_block_1(ctx);
					if_block.c();
					if_block.m(div0, t0);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (dirty[0] & /*messages*/ 4 && t1_value !== (t1_value = moment_default().unix(/*message*/ ctx[36].time).format('DD.MM.YYYY') + "")) set_data(t1, t1_value);
			if (dirty[0] & /*messages*/ 4 && t3_value !== (t3_value = moment_default().unix(/*message*/ ctx[36].time).format('HH:mm') + "")) set_data(t3, t3_value);
			if (dirty[0] & /*messages*/ 4 && raw_value !== (raw_value = /*converCodeToSmile*/ ctx[12](/*message*/ ctx[36].text) + "")) div1.innerHTML = raw_value;;

			if (dirty[0] & /*messages*/ 4) {
				toggle_class(div2, "messenger-chat__message--outgoing", /*message*/ ctx[36].type === 'to');
			}
		},
		d(detaching) {
			if (detaching) detach(div2);
			if (if_block) if_block.d();
		}
	};
}

// (234:8) {#if smilesBarVisibility}
function chat_index_svelte_create_if_block(ctx) {
	let div;
	let div_intro;
	let mounted;
	let dispose;
	let each_value = Object.values(Smiles);
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = chat_index_svelte_create_each_block(chat_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "messenger-chat__smiles-bar");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}

			if (!mounted) {
				dispose = listen(div, "click", /*activateInput*/ ctx[10]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty[0] & /*typeSmile*/ 2048) {
				each_value = Object.values(Smiles);
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = chat_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = chat_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i(local) {
			if (!div_intro) {
				add_render_callback(() => {
					div_intro = create_in_transition(div, fly, {});
					div_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
			mounted = false;
			dispose();
		}
	};
}

// (236:16) {#each Object.values(Smiles) as smile}
function chat_index_svelte_create_each_block(ctx) {
	let img;
	let img_src_value;
	let img_alt_value;
	let mounted;
	let dispose;

	function click_handler_2() {
		return /*click_handler_2*/ ctx[22](/*smile*/ ctx[33]);
	}

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "messenger-chat__smile");
			if (!src_url_equal(img.src, img_src_value = MAP_SMILE_TO_IMAGE[/*smile*/ ctx[33]])) attr(img, "src", img_src_value);
			attr(img, "alt", img_alt_value = MAP_SMILE_TO_CODE[/*smile*/ ctx[33]]);
			attr(img, "draggable", "false");
		},
		m(target, anchor) {
			insert(target, img, anchor);

			if (!mounted) {
				dispose = listen(img, "click", stop_propagation(click_handler_2));
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
		},
		d(detaching) {
			if (detaching) detach(img);
			mounted = false;
			dispose();
		}
	};
}

function chat_index_svelte_create_fragment(ctx) {
	let div5;
	let t0;
	let div1;
	let div0;
	let div0_intro;
	let t1;
	let div4;
	let div3;
	let div2;
	let raw_value = /*converCodeToSmile*/ ctx[12](/*messageText*/ ctx[1]) + "";
	let t2;
	let i0;
	let t3;
	let i1;
	let t4;
	let current;
	let mounted;
	let dispose;
	let if_block0 = /*loaderVisible*/ ctx[6] && chat_index_svelte_create_if_block_2(ctx);
	let each_value_1 = /*messages*/ ctx[2];
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = chat_index_svelte_create_each_block_1(chat_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	let if_block1 = /*smilesBarVisibility*/ ctx[0] && chat_index_svelte_create_if_block(ctx);

	return {
		c() {
			div5 = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			div1 = internal_element("div");
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t1 = space();
			div4 = internal_element("div");
			div3 = internal_element("div");
			div2 = internal_element("div");
			t2 = space();
			i0 = internal_element("i");
			t3 = space();
			i1 = internal_element("i");
			t4 = space();
			if (if_block1) if_block1.c();
			attr(div0, "class", "messenger-chat__conversation");
			toggle_class(div0, "messenger-chat__conversation--opened-smiles-bar", /*smilesBarVisibility*/ ctx[0]);
			attr(div1, "class", "messenger-chat__wrapper");
			attr(div2, "tabindex", "1");
			attr(div2, "class", "messenger-chat__custom-input");
			attr(i0, "class", "messenger-chat__smiles-button icon-smile");
			attr(i1, "class", "messenger-chat__send icon-send");
			attr(div3, "class", "messenger-chat__input-wrapper");
			toggle_class(div3, "messenger-chat__input-wrapper--active", /*inputActive*/ ctx[5]);
			attr(div4, "class", "messenger-chat__bottom-bar");
			attr(div5, "class", "messenger-chat");
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			if (if_block0) if_block0.m(div5, null);
			append(div5, t0);
			append(div5, div1);
			append(div1, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			/*div0_binding*/ ctx[16](div0);
			append(div5, t1);
			append(div5, div4);
			append(div4, div3);
			append(div3, div2);
			div2.innerHTML = raw_value;
			/*div2_binding*/ ctx[18](div2);
			append(div3, t2);
			append(div3, i0);
			append(div3, t3);
			append(div3, i1);
			append(div4, t4);
			if (if_block1) if_block1.m(div4, null);
			current = true;

			if (!mounted) {
				dispose = [
					listen(div0, "click", /*click_handler*/ ctx[17]),
					listen(div2, "keydown", /*keydown_handler*/ ctx[19]),
					listen(div2, "paste", /*paste_handler*/ ctx[20]),
					listen(div2, "blur", /*blurInput*/ ctx[9]),
					listen(i0, "click", /*click_handler_1*/ ctx[21]),
					listen(i1, "click", /*sendMessage*/ ctx[8]),
					listen(div3, "click", stop_propagation(/*activateInput*/ ctx[10]))
				];

				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (/*loaderVisible*/ ctx[6]) {
				if (if_block0) {
					if (dirty[0] & /*loaderVisible*/ 64) {
						transition_in(if_block0, 1);
					}
				} else {
					if_block0 = chat_index_svelte_create_if_block_2(ctx);
					if_block0.c();
					transition_in(if_block0, 1);
					if_block0.m(div5, t0);
				}
			} else if (if_block0) {
				group_outros();

				transition_out(if_block0, 1, 1, () => {
					if_block0 = null;
				});

				check_outros();
			}

			if (dirty[0] & /*messages, converCodeToSmile*/ 4100) {
				each_value_1 = /*messages*/ ctx[2];
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = chat_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = chat_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div0, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}

			if (dirty[0] & /*smilesBarVisibility*/ 1) {
				toggle_class(div0, "messenger-chat__conversation--opened-smiles-bar", /*smilesBarVisibility*/ ctx[0]);
			}

			if ((!current || dirty[0] & /*messageText*/ 2) && raw_value !== (raw_value = /*converCodeToSmile*/ ctx[12](/*messageText*/ ctx[1]) + "")) div2.innerHTML = raw_value;;

			if (dirty[0] & /*inputActive*/ 32) {
				toggle_class(div3, "messenger-chat__input-wrapper--active", /*inputActive*/ ctx[5]);
			}

			if (/*smilesBarVisibility*/ ctx[0]) {
				if (if_block1) {
					if_block1.p(ctx, dirty);

					if (dirty[0] & /*smilesBarVisibility*/ 1) {
						transition_in(if_block1, 1);
					}
				} else {
					if_block1 = chat_index_svelte_create_if_block(ctx);
					if_block1.c();
					transition_in(if_block1, 1);
					if_block1.m(div4, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block0);

			if (!div0_intro) {
				add_render_callback(() => {
					div0_intro = create_in_transition(div0, fly, /*slideOptions*/ ctx[7]);
					div0_intro.start();
				});
			}

			transition_in(if_block1);
			current = true;
		},
		o(local) {
			transition_out(if_block0);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div5);
			if (if_block0) if_block0.d();
			destroy_each(each_blocks, detaching);
			/*div0_binding*/ ctx[16](null);
			/*div2_binding*/ ctx[18](null);
			if (if_block1) if_block1.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function chat_index_svelte_instance($$self, $$props, $$invalidate) {
	let { selectedChat = null } = $$props;
	let smilesBarVisibility = false;
	let messageText = '';
	let messages = [];
	let scrollable = null;
	let customInput = null;
	let inputActive = false;
	let currentPosition = 0;
	let currentNode = 0;
	let loaderVisible = true;
	const selection = window.getSelection();

	const slideOptions = {
		delay: 0,
		duration: 200,
		x: 200,
		y: 0,
		opacity: 0.2,
		easing: quintOut
	};

	const autoScroll = () => {
		setTimeout(
			() => {
				$$invalidate(3, scrollable.scrollTop = scrollable.scrollHeight, scrollable);
			},
			0
		);
	};

	const addMessage = newMessage => {
		$$invalidate(2, messages = [newMessage, ...messages]);
		autoScroll();
	};

	const clearText = () => {
		$$invalidate(1, messageText = messageText.replaceAll('<br>', ''));
		$$invalidate(1, messageText = messageText.replaceAll('<', '&lt;').replaceAll('>', '&gt;').replaceAll('"', '&quot;').replaceAll('\'', '&#039;'));
		$$invalidate(1, messageText = messageText.replace(/&lt;img.*?alt=&quot;(.*?)&quot;.*?&gt;/g, '$1'));
	};

	const sendMessage = () => {
		if (loaderVisible) {
			return;
		}

		$$invalidate(1, messageText = customInput.innerHTML);
		clearText();
		sendClientMessage('messengerApp.sendMessage', selectedChat.phone, messageText);
		$$invalidate(1, messageText = '');
		$$invalidate(4, customInput.innerHTML = '', customInput);
		autoScroll();
	};

	const updateMessages = messagesData => {
		$$invalidate(2, messages = [...messages, ...messagesData]);
		messages.sort((a, b) => b.time - a.time);
		$$invalidate(6, loaderVisible = false);
	};

	const blurInput = () => {
		sendClientMessage('input.enableInputKey');
		$$invalidate(5, inputActive = false);
		$$invalidate(4, customInput.contentEditable = false, customInput);
		currentNode = window.getSelection().anchorNode;
		currentPosition = window.getSelection().anchorOffset;
	};

	const setCursorAfterNode = node => {
		const range = new Range();

		if (customInput.childNodes.length === 1) {
			range.setStart(customInput, 0);
		} else {
			range.setStart(currentNode, currentPosition);
		}

		range.setStart(currentNode, currentPosition);
		range.insertNode(node);
		range.setStartAfter(node);
		range.setEndAfter(node);
		selection.removeAllRanges();
		selection.addRange(range);
	};

	const activateInput = () => {
		sendClientMessage('input.disableInputKey');

		if (!inputActive) {
			$$invalidate(5, inputActive = true);
			$$invalidate(4, customInput.contentEditable = true, customInput);
			customInput.focus();
			const range = new Range();
			selection.removeAllRanges();
			range.selectNodeContents(customInput);
			range.setStart(customInput, window.getSelection().anchorOffset);
			selection.addRange(range);
		}

		currentNode = window.getSelection().anchorNode;
		currentPosition = window.getSelection().anchorOffset;
	};

	const typeSmile = smile => {
		activateInput();
		const imgNode = document.createElement('IMG');
		currentNode = window.getSelection().anchorNode;
		currentPosition = window.getSelection().anchorOffset;
		imgNode.src = MAP_SMILE_TO_IMAGE[smile];
		imgNode.alt = MAP_SMILE_TO_CODE[smile];
		imgNode.className = 'messenger-chat__content-smile';
		setCursorAfterNode(imgNode);
	};

	const converCodeToSmile = textCode => {
		let textSmile = textCode;

		Object.values(Smiles).forEach(smile => {
			textSmile = textSmile.replaceAll(MAP_SMILE_TO_CODE[smile], `<img src=${MAP_SMILE_TO_IMAGE[smile]} class="messenger-chat__content-smile" alt=${smile} draggable="false">`);
		});

		return textSmile;
	};

	const textInsert = event => {
		event.preventDefault();
		const text = event.clipboardData.getData('text/plain');
		const textNode = document.createTextNode(text);
		setCursorAfterNode(textNode);
		clearText();
	};

	const keyDownHandler = event => {
		clearText();
		currentNode = window.getSelection().anchorNode;
		currentPosition = window.getSelection().anchorOffset;

		if (event.keyCode === 13) {
			event.preventDefault();

			if (!(0,lodash.isEmpty)(customInput.innerHTML)) {
				sendMessage();
			}
		}

		autoScroll();
	};

	const unregisterUpdateMessages = registerEvent('event.messengerApp.updateMessages', updateMessages);
	const unregisterIncomingMessage = registerEvent('event.messengerApp.incomingMessage', addMessage);

	onMount(() => {
		sendClientMessage('messengerApp.loadChatMessages', selectedChat.phone);

		// updateMessages(MESSAGES_MOCK);
		// updateMessages(MESSAGES_MOCK_0);
		autoScroll();
	});

	onDestroy(() => {
		unregisterUpdateMessages();
		unregisterIncomingMessage();
	});

	function div0_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			scrollable = $$value;
			$$invalidate(3, scrollable);
		});
	}

	const click_handler = () => {
		$$invalidate(5, inputActive = false);
	};

	function div2_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			customInput = $$value;
			$$invalidate(4, customInput);
		});
	}

	const keydown_handler = event => keyDownHandler(event);
	const paste_handler = event => textInsert(event);

	const click_handler_1 = () => {
		$$invalidate(0, smilesBarVisibility = !smilesBarVisibility);
	};

	const click_handler_2 = smile => typeSmile(smile);

	$$self.$$set = $$props => {
		if ('selectedChat' in $$props) $$invalidate(15, selectedChat = $$props.selectedChat);
	};

	return [
		smilesBarVisibility,
		messageText,
		messages,
		scrollable,
		customInput,
		inputActive,
		loaderVisible,
		slideOptions,
		sendMessage,
		blurInput,
		activateInput,
		typeSmile,
		converCodeToSmile,
		textInsert,
		keyDownHandler,
		selectedChat,
		div0_binding,
		click_handler,
		div2_binding,
		keydown_handler,
		paste_handler,
		click_handler_1,
		click_handler_2
	];
}

class Chat extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, chat_index_svelte_instance, chat_index_svelte_create_fragment, safe_not_equal, { selectedChat: 15 }, null, [-1, -1]);
	}
}

/* harmony default export */ const chat_index_svelte = (Chat);
;// CONCATENATED MODULE: ./src/views/phone/apps/messenger-app/index.svelte
/* src\views\phone\apps\messenger-app\index.svelte generated by Svelte v3.49.0 */










// import { CHAT_LIST_MOCK } from './mock';


function messenger_app_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[24] = list[i];
	return child_ctx;
}

// (131:8) {:else}
function index_svelte_create_else_block_2(ctx) {
	let div1;
	let div0;
	let t_value = /*selectedChat*/ ctx[2].name + "";
	let t;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			t = internal_text(t_value);
			attr(div0, "class", "messenger__title");
			attr(div1, "class", "messenger__user-info");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, t);
		},
		p(ctx, dirty) {
			if (dirty & /*selectedChat*/ 4 && t_value !== (t_value = /*selectedChat*/ ctx[2].name + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (129:8) {#if isEmpty(selectedChat.name)}
function messenger_app_index_svelte_create_if_block_4(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "Месседжер";
			attr(div, "class", "messenger__title");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (140:8) {:else}
function messenger_app_index_svelte_create_else_block(ctx) {
	let div1;
	let input;
	let t0;
	let div0;
	let t2;
	let current_block_type_index;
	let if_block;
	let if_block_anchor;
	let current;
	let mounted;
	let dispose;
	const if_block_creators = [messenger_app_index_svelte_create_if_block_1, messenger_app_index_svelte_create_if_block_2, messenger_app_index_svelte_create_else_block_1];
	const if_blocks = [];

	function select_block_type_2(ctx, dirty) {
		if (/*loaderVisible*/ ctx[4]) return 0;
		if (/*emptyResultMessageVisible*/ ctx[6]) return 1;
		return 2;
	}

	current_block_type_index = select_block_type_2(ctx, -1);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div1 = internal_element("div");
			input = internal_element("input");
			t0 = space();
			div0 = internal_element("div");
			div0.textContent = "найти";
			t2 = space();
			if_block.c();
			if_block_anchor = empty();
			attr(input, "type", "text");
			attr(input, "class", "messenger__search-input");
			attr(input, "placeholder", "Поиск по никнейму или номеру");
			attr(div0, "class", "messenger__search-button");
			toggle_class(div0, "messenger__search-button--disabled", /*searchButtonDisabled*/ ctx[5]);
			attr(div1, "class", "messenger__search");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, input);
			set_input_value(input, /*query*/ ctx[3]);
			append(div1, t0);
			append(div1, div0);
			insert(target, t2, anchor);
			if_blocks[current_block_type_index].m(target, anchor);
			insert(target, if_block_anchor, anchor);
			current = true;

			if (!mounted) {
				dispose = [
					listen(input, "input", /*input_input_handler*/ ctx[14]),
					listen(input, "input", /*inputHandler*/ ctx[9]),
					listen(input, "focus", /*onFocus*/ ctx[11]),
					listen(input, "blur", /*onBlur*/ ctx[12]),
					listen(div0, "click", /*search*/ ctx[10])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*query*/ 8 && input.value !== /*query*/ ctx[3]) {
				set_input_value(input, /*query*/ ctx[3]);
			}

			if (dirty & /*searchButtonDisabled*/ 32) {
				toggle_class(div0, "messenger__search-button--disabled", /*searchButtonDisabled*/ ctx[5]);
			}

			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type_2(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(if_block_anchor.parentNode, if_block_anchor);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			if (detaching) detach(t2);
			if_blocks[current_block_type_index].d(detaching);
			if (detaching) detach(if_block_anchor);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (138:8) {#if chatVisibility}
function messenger_app_index_svelte_create_if_block(ctx) {
	let chat;
	let current;

	chat = new chat_index_svelte({
			props: {
				selectedChat: /*selectedChat*/ ctx[2],
				chatList: /*chatList*/ ctx[1]
			}
		});

	return {
		c() {
			create_component(chat.$$.fragment);
		},
		m(target, anchor) {
			mount_component(chat, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const chat_changes = {};
			if (dirty & /*selectedChat*/ 4) chat_changes.selectedChat = /*selectedChat*/ ctx[2];
			if (dirty & /*chatList*/ 2) chat_changes.chatList = /*chatList*/ ctx[1];
			chat.$set(chat_changes);
		},
		i(local) {
			if (current) return;
			transition_in(chat.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(chat.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(chat, detaching);
		}
	};
}

// (161:12) {:else}
function messenger_app_index_svelte_create_else_block_1(ctx) {
	let div;
	let each_value = /*chatList*/ ctx[1];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = messenger_app_index_svelte_create_each_block(messenger_app_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "messenger__conversations");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}
		},
		p(ctx, dirty) {
			if (dirty & /*openChat, chatList, moment, isNil*/ 258) {
				each_value = /*chatList*/ ctx[1];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = messenger_app_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = messenger_app_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (157:48) 
function messenger_app_index_svelte_create_if_block_2(ctx) {
	let div1;

	return {
		c() {
			div1 = internal_element("div");
			div1.innerHTML = `<div class="messenger__empty-result">Ничего не найдено</div>`;
			attr(div1, "class", "messenger__loader messenger__loader--empty");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (153:12) {#if loaderVisible}
function messenger_app_index_svelte_create_if_block_1(ctx) {
	let div;
	let loader;
	let current;
	loader = new loader_index_svelte({});

	return {
		c() {
			div = internal_element("div");
			create_component(loader.$$.fragment);
			attr(div, "class", "messenger__loader");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(loader, div, null);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(loader.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(loader.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(loader);
		}
	};
}

// (172:28) {#if !isNil(chat.time)}
function messenger_app_index_svelte_create_if_block_3(ctx) {
	let div;
	let t_value = moment_default().unix(/*chat*/ ctx[24].time).format('HH:mm') + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "messenger__time");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*chatList*/ 2 && t_value !== (t_value = moment_default().unix(/*chat*/ ctx[24].time).format('HH:mm') + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (163:20) {#each chatList as chat}
function messenger_app_index_svelte_create_each_block(ctx) {
	let div4;
	let div3;
	let i;
	let t0;
	let div2;
	let div0;
	let t1_value = /*chat*/ ctx[24].name + "";
	let t1;
	let t2;
	let div1;
	let t3_value = /*chat*/ ctx[24].text + "";
	let t3;
	let t4;
	let show_if = !(0,lodash.isNil)(/*chat*/ ctx[24].time);
	let t5;
	let mounted;
	let dispose;
	let if_block = show_if && messenger_app_index_svelte_create_if_block_3(ctx);

	function click_handler() {
		return /*click_handler*/ ctx[15](/*chat*/ ctx[24]);
	}

	return {
		c() {
			div4 = internal_element("div");
			div3 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div2 = internal_element("div");
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			div1 = internal_element("div");
			t3 = internal_text(t3_value);
			t4 = space();
			if (if_block) if_block.c();
			t5 = space();
			attr(i, "class", "messenger__icon-person icon-person");
			attr(div0, "class", "messenger__name");
			attr(div1, "class", "messenger__text");
			attr(div2, "class", "messenger__preview");
			attr(div3, "class", "messenger__info");
			attr(div4, "class", "messenger__conversation");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div3);
			append(div3, i);
			append(div3, t0);
			append(div3, div2);
			append(div2, div0);
			append(div0, t1);
			append(div2, t2);
			append(div2, div1);
			append(div1, t3);
			append(div4, t4);
			if (if_block) if_block.m(div4, null);
			append(div4, t5);

			if (!mounted) {
				dispose = listen(div4, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if (dirty & /*chatList*/ 2 && t1_value !== (t1_value = /*chat*/ ctx[24].name + "")) set_data(t1, t1_value);
			if (dirty & /*chatList*/ 2 && t3_value !== (t3_value = /*chat*/ ctx[24].text + "")) set_data(t3, t3_value);
			if (dirty & /*chatList*/ 2) show_if = !(0,lodash.isNil)(/*chat*/ ctx[24].time);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = messenger_app_index_svelte_create_if_block_3(ctx);
					if_block.c();
					if_block.m(div4, t5);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		d(detaching) {
			if (detaching) detach(div4);
			if (if_block) if_block.d();
			mounted = false;
			dispose();
		}
	};
}

function messenger_app_index_svelte_create_fragment(ctx) {
	let div3;
	let div1;
	let div0;
	let t0;
	let show_if;
	let t1;
	let div2;
	let current_block_type_index;
	let if_block1;
	let current;
	let mounted;
	let dispose;

	function select_block_type(ctx, dirty) {
		if (dirty & /*selectedChat*/ 4) show_if = null;
		if (show_if == null) show_if = !!(0,lodash.isEmpty)(/*selectedChat*/ ctx[2].name);
		if (show_if) return messenger_app_index_svelte_create_if_block_4;
		return index_svelte_create_else_block_2;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block0 = current_block_type(ctx);
	const if_block_creators = [messenger_app_index_svelte_create_if_block, messenger_app_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type_1(ctx, dirty) {
		if (/*chatVisibility*/ ctx[0]) return 0;
		return 1;
	}

	current_block_type_index = select_block_type_1(ctx, -1);
	if_block1 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div3 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");
			div0.innerHTML = `<i class="messenger__back-icon icon-chevron-left"></i>`;
			t0 = space();
			if_block0.c();
			t1 = space();
			div2 = internal_element("div");
			if_block1.c();
			attr(div0, "class", "messenger__back-to-menu");
			attr(div1, "class", "messenger__top-bar");
			toggle_class(div1, "messenger__top-bar--bordered", /*chatVisibility*/ ctx[0]);
			attr(div2, "class", "messenger__main");
			attr(div3, "class", "messenger");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div1);
			append(div1, div0);
			append(div1, t0);
			if_block0.m(div1, null);
			append(div3, t1);
			append(div3, div2);
			if_blocks[current_block_type_index].m(div2, null);
			current = true;

			if (!mounted) {
				dispose = listen(div0, "click", /*back*/ ctx[7]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block0) {
				if_block0.p(ctx, dirty);
			} else {
				if_block0.d(1);
				if_block0 = current_block_type(ctx);

				if (if_block0) {
					if_block0.c();
					if_block0.m(div1, null);
				}
			}

			if (dirty & /*chatVisibility*/ 1) {
				toggle_class(div1, "messenger__top-bar--bordered", /*chatVisibility*/ ctx[0]);
			}

			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type_1(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block1 = if_blocks[current_block_type_index];

				if (!if_block1) {
					if_block1 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block1.c();
				} else {
					if_block1.p(ctx, dirty);
				}

				transition_in(if_block1, 1);
				if_block1.m(div2, null);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block1);
			current = true;
		},
		o(local) {
			transition_out(if_block1);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div3);
			if_block0.d();
			if_blocks[current_block_type_index].d();
			mounted = false;
			dispose();
		}
	};
}

function messenger_app_index_svelte_instance($$self, $$props, $$invalidate) {
	let { backToMainMenu = () => {
		
	} } = $$props;

	let chatVisibility = false;
	let chatListCollection = [];
	let chatList = [];
	let selectedChat = {};
	let query = '';
	let loaderVisible = true;
	let searchButtonDisabled = true;
	let emptyResultMessageVisible = false;

	const initializeChatList = chatListData => {
		chatListCollection = [...chatListCollection, ...chatListData];
		$$invalidate(1, chatList = chatListCollection);
		$$invalidate(4, loaderVisible = false);
	};

	const updateChatList = chatData => {
		let found = false;

		chatList.forEach((chat, i) => {
			if (chat.phone === chatData.phone) {
				found = true;

				$$invalidate(1, chatList = [
					...chatList.splice(0, i),
					chatData,
					...chatList.splice(i, chatList.length - 1)
				]);
			}
		});

		if (!found) {
			$$invalidate(1, chatList = [...chatList, chatData]);
		}
	};

	const back = () => {
		if (chatVisibility) {
			$$invalidate(0, chatVisibility = false);
			$$invalidate(2, selectedChat = {});
			chatListCollection = [];
			$$invalidate(1, chatList = []);
			sendClientMessage('messengerApp.loadChatsList');
		} else {
			backToMainMenu();
		}
	};

	const openChat = chat => {
		$$invalidate(2, selectedChat = chat);
		chatListCollection = [];
		$$invalidate(1, chatList = []);
		$$invalidate(0, chatVisibility = true);
	};

	const inputHandler = () => {
		if (query.length <= 3) {
			$$invalidate(5, searchButtonDisabled = true);
		}

		if ((0,lodash.isEmpty)(query)) {
			chatListCollection = [];
			$$invalidate(1, chatList = []);
			sendClientMessage('messengerApp.loadChatsList');
		} else if (query.length >= 3) {
			$$invalidate(5, searchButtonDisabled = false);
		}
	};

	const search = () => {
		chatListCollection = [];
		$$invalidate(1, chatList = []);

		if (searchButtonDisabled) {
			return;
		}

		$$invalidate(5, searchButtonDisabled = true);
		$$invalidate(4, loaderVisible = true);
		sendClientMessage('messengerApp.search', query);
	};

	const initializeSearchResults = results => {
		initializeChatList(results);
		$$invalidate(5, searchButtonDisabled = false);

		if ((0,lodash.isEmpty)(results)) {
			$$invalidate(6, emptyResultMessageVisible = true);
		}
	};

	const onFocus = () => {
		sendClientMessage('input.disableInputKey');
	};

	const onBlur = () => {
		sendClientMessage('input.enableInputKey');
	};

	const unregisterInitializeChatList = registerEvent('event.messengerApp.initializeChatList', initializeChatList);
	const unregisterInitializeSearchResults = registerEvent('event.messengerApp.initializeSearchResults', initializeSearchResults);
	const unregisterInitializeChatWith = registerEvent('event.messengerApp.initializeChatWith', openChat);
	const unregisterUpdateChatList = registerEvent('event.messengerApp.updateChatList', updateChatList);

	onMount(() => {
		sendClientMessage('messengerApp.loadChatsList');
	}); // initializeChatList(CHAT_LIST_MOCK);

	onDestroy(() => {
		unregisterInitializeChatList();
		unregisterInitializeSearchResults();
		unregisterInitializeChatWith();
		unregisterUpdateChatList();
	});

	function input_input_handler() {
		query = this.value;
		$$invalidate(3, query);
	}

	const click_handler = chat => openChat(chat);

	$$self.$$set = $$props => {
		if ('backToMainMenu' in $$props) $$invalidate(13, backToMainMenu = $$props.backToMainMenu);
	};

	return [
		chatVisibility,
		chatList,
		selectedChat,
		query,
		loaderVisible,
		searchButtonDisabled,
		emptyResultMessageVisible,
		back,
		openChat,
		inputHandler,
		search,
		onFocus,
		onBlur,
		backToMainMenu,
		input_input_handler,
		click_handler
	];
}

class Messenger_app extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, messenger_app_index_svelte_instance, messenger_app_index_svelte_create_fragment, safe_not_equal, { backToMainMenu: 13 });
	}
}

/* harmony default export */ const messenger_app_index_svelte = (Messenger_app);
;// CONCATENATED MODULE: ./src/views/phone/img/app/rodina-maps/categories/help.png
const help_namespaceObject = __webpack_require__.p + "assets/b2b34243c432bce8191c.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/rodina-maps/categories/cities.png
const cities_namespaceObject = __webpack_require__.p + "assets/61b2ac1fa23d578b791a.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/rodina-maps/categories/fractions.png
const fractions_namespaceObject = __webpack_require__.p + "assets/d5a6cb11f5f04e0ef69c.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/rodina-maps/categories/hotels.png
const hotels_namespaceObject = __webpack_require__.p + "assets/24fcd0d7fca7953baea5.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/rodina-maps/categories/attractions.png
const attractions_namespaceObject = __webpack_require__.p + "assets/64c925c3ec64dfbb1ab9.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/rodina-maps/categories/transport.png
const transport_namespaceObject = __webpack_require__.p + "assets/29facdbc3b9f102519d6.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/rodina-maps/categories/trade.png
const trade_namespaceObject = __webpack_require__.p + "assets/d2ae354fffe29e8216a6.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/rodina-maps/categories/mining.png
const mining_namespaceObject = __webpack_require__.p + "assets/3697338a722510b92404.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/rodina-maps/categories/job.png
const categories_job_namespaceObject = __webpack_require__.p + "assets/ca06eacb14d2113b4159.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/rodina-maps/categories/fun.png
const fun_namespaceObject = __webpack_require__.p + "assets/deb04584970beadf6e7c.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/rodina-maps/categories/near.png
const near_namespaceObject = __webpack_require__.p + "assets/72d342576083840def73.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/rodina-maps/categories/startup.png
const categories_startup_namespaceObject = __webpack_require__.p + "assets/9bab3e7b3cd9503d7796.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/rodina-maps/categories/holiday.png
const holiday_namespaceObject = __webpack_require__.p + "assets/cc7da7cf4e901becb1c4.webp";
;// CONCATENATED MODULE: ./src/views/phone/apps/rodina-maps/constants.js













var constants_Screens = {
  List: 'list',
  Finish: 'finish'
};
var CATEGORY_IMAGES = [holiday_namespaceObject, help_namespaceObject, categories_job_namespaceObject, fractions_namespaceObject, hotels_namespaceObject, mining_namespaceObject, near_namespaceObject, trade_namespaceObject, transport_namespaceObject, attractions_namespaceObject, fun_namespaceObject, cities_namespaceObject, categories_startup_namespaceObject];
;// CONCATENATED MODULE: ./src/views/phone/apps/rodina-maps/components/place-type/index.svelte
/* src\views\phone\apps\rodina-maps\components\place-type\index.svelte generated by Svelte v3.49.0 */





function place_type_index_svelte_create_fragment(ctx) {
	let div2;
	let div0;
	let img;
	let img_src_value;
	let img_alt_value;
	let t0;
	let div1;
	let t1_value = /*type*/ ctx[0].name + "";
	let t1;

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div1 = internal_element("div");
			t1 = internal_text(t1_value);
			if (!src_url_equal(img.src, img_src_value = CATEGORY_IMAGES[/*type*/ ctx[0].id - 1])) attr(img, "src", img_src_value);
			attr(img, "alt", img_alt_value = /*type*/ ctx[0].name);
			attr(img, "class", "rodina-maps-place-type__image");
			attr(img, "draggable", "false");
			attr(div0, "class", "rodina-maps-place-type__icon-wrapper");
			attr(div1, "class", "rodina-maps-place-type__title");
			attr(div2, "class", "rodina-maps-place-type");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div0, img);
			append(div2, t0);
			append(div2, div1);
			append(div1, t1);
		},
		p(ctx, [dirty]) {
			if (dirty & /*type*/ 1 && !src_url_equal(img.src, img_src_value = CATEGORY_IMAGES[/*type*/ ctx[0].id - 1])) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*type*/ 1 && img_alt_value !== (img_alt_value = /*type*/ ctx[0].name)) {
				attr(img, "alt", img_alt_value);
			}

			if (dirty & /*type*/ 1 && t1_value !== (t1_value = /*type*/ ctx[0].name + "")) set_data(t1, t1_value);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

function place_type_index_svelte_instance($$self, $$props, $$invalidate) {
	let { type } = $$props;

	$$self.$$set = $$props => {
		if ('type' in $$props) $$invalidate(0, type = $$props.type);
	};

	return [type];
}

class Place_type extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, place_type_index_svelte_instance, place_type_index_svelte_create_fragment, safe_not_equal, { type: 0 });
	}
}

/* harmony default export */ const place_type_index_svelte = (Place_type);
;// CONCATENATED MODULE: ./src/views/phone/img/app/rodina-maps/icon.png
const icon_namespaceObject = __webpack_require__.p + "assets/0439d875950da482edb1.webp";
;// CONCATENATED MODULE: ./src/views/phone/apps/rodina-maps/store.js

var places = writable({});
var selectedType = writable('');
var store_selectedScreen = writable('');
var selectedPlace = writable(null);
var playerXY = writable([0, 0]);
;// CONCATENATED MODULE: ./src/views/phone/apps/rodina-maps/components/place-item/index.svelte
/* src\views\phone\apps\rodina-maps\components\place-item\index.svelte generated by Svelte v3.49.0 */






function place_item_index_svelte_create_fragment(ctx) {
	let div5;
	let div4;
	let div0;
	let t0_value = /*place*/ ctx[0].name + "";
	let t0;
	let t1;
	let div1;
	let t2_value = /*place*/ ctx[0].description + "";
	let t2;
	let t3;
	let div3;
	let i0;
	let t4;
	let div2;
	let t5_value = Math.ceil(calculateDistance(/*$playerXY*/ ctx[1][0], /*$playerXY*/ ctx[1][1], /*place*/ ctx[0].position[0], /*place*/ ctx[0].position[1])).toLocaleString('de-DE') + "";
	let t5;
	let t6;
	let t7;
	let i1;

	return {
		c() {
			div5 = internal_element("div");
			div4 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			div1 = internal_element("div");
			t2 = internal_text(t2_value);
			t3 = space();
			div3 = internal_element("div");
			i0 = internal_element("i");
			t4 = space();
			div2 = internal_element("div");
			t5 = internal_text(t5_value);
			t6 = internal_text(" м");
			t7 = space();
			i1 = internal_element("i");
			attr(div0, "class", "rodina-maps-place-item__title");
			attr(div1, "class", "rodina-maps-place-item__description");
			attr(i0, "class", "rodina-maps-place-item__distance-icon icon-geo-loc");
			attr(div2, "class", "rodina-maps-place-item__meters");
			attr(div3, "class", "rodina-maps-place-item__distance");
			attr(div4, "class", "rodina-maps-place-item__info");
			attr(i1, "class", "rodina-maps-place-item__arrow icon-arrow-right");
			attr(div5, "class", "rodina-maps-place-item");
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			append(div5, div4);
			append(div4, div0);
			append(div0, t0);
			append(div4, t1);
			append(div4, div1);
			append(div1, t2);
			append(div4, t3);
			append(div4, div3);
			append(div3, i0);
			append(div3, t4);
			append(div3, div2);
			append(div2, t5);
			append(div2, t6);
			append(div5, t7);
			append(div5, i1);
		},
		p(ctx, [dirty]) {
			if (dirty & /*place*/ 1 && t0_value !== (t0_value = /*place*/ ctx[0].name + "")) set_data(t0, t0_value);
			if (dirty & /*place*/ 1 && t2_value !== (t2_value = /*place*/ ctx[0].description + "")) set_data(t2, t2_value);
			if (dirty & /*$playerXY, place*/ 3 && t5_value !== (t5_value = Math.ceil(calculateDistance(/*$playerXY*/ ctx[1][0], /*$playerXY*/ ctx[1][1], /*place*/ ctx[0].position[0], /*place*/ ctx[0].position[1])).toLocaleString('de-DE') + "")) set_data(t5, t5_value);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div5);
		}
	};
}

function place_item_index_svelte_instance($$self, $$props, $$invalidate) {
	let $playerXY;
	component_subscribe($$self, playerXY, $$value => $$invalidate(1, $playerXY = $$value));
	let { place } = $$props;

	$$self.$$set = $$props => {
		if ('place' in $$props) $$invalidate(0, place = $$props.place);
	};

	return [place, $playerXY];
}

class Place_item extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, place_item_index_svelte_instance, place_item_index_svelte_create_fragment, safe_not_equal, { place: 0 });
	}
}

/* harmony default export */ const place_item_index_svelte = (Place_item);
;// CONCATENATED MODULE: ./src/views/phone/apps/rodina-maps/components/places-list/index.svelte
/* src\views\phone\apps\rodina-maps\components\places-list\index.svelte generated by Svelte v3.49.0 */









function places_list_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[7] = list[i];
	return child_ctx;
}

// (31:12) {#each $places[$selectedType.id] || [] as place}
function places_list_index_svelte_create_each_block(ctx) {
	let div;
	let placeitem;
	let t;
	let current;
	let mounted;
	let dispose;
	placeitem = new place_item_index_svelte({ props: { place: /*place*/ ctx[7] } });

	function click_handler() {
		return /*click_handler*/ ctx[4](/*place*/ ctx[7]);
	}

	return {
		c() {
			div = internal_element("div");
			create_component(placeitem.$$.fragment);
			t = space();
			attr(div, "class", "rodina-maps-places-list__place");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(placeitem, div, null);
			append(div, t);
			current = true;

			if (!mounted) {
				dispose = listen(div, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			const placeitem_changes = {};
			if (dirty & /*$places, $selectedType*/ 6) placeitem_changes.place = /*place*/ ctx[7];
			placeitem.$set(placeitem_changes);
		},
		i(local) {
			if (current) return;
			transition_in(placeitem.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(placeitem.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(placeitem);
			mounted = false;
			dispose();
		}
	};
}

function places_list_index_svelte_create_fragment(ctx) {
	let div3;
	let i;
	let t0;
	let div0;
	let placetype;
	let t1;
	let div2;
	let div1;
	let current;
	let mounted;
	let dispose;

	placetype = new place_type_index_svelte({
			props: { type: /*$selectedType*/ ctx[1] }
		});

	let each_value = /*$places*/ ctx[2][/*$selectedType*/ ctx[1].id] || [];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = places_list_index_svelte_create_each_block(places_list_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			div3 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div0 = internal_element("div");
			create_component(placetype.$$.fragment);
			t1 = space();
			div2 = internal_element("div");
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(i, "class", "rodina-maps-places-list__back icon-chevron-left");
			attr(div0, "class", "rodina-maps-places-list__type");
			attr(div1, "class", "rodina-maps-places-list__places");
			attr(div2, "class", "rodina-maps-places-list__wrapper");
			attr(div3, "class", "rodina-maps-places-list");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, i);
			append(div3, t0);
			append(div3, div0);
			mount_component(placetype, div0, null);
			append(div3, t1);
			append(div3, div2);
			append(div2, div1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}

			current = true;

			if (!mounted) {
				dispose = listen(i, "click", function () {
					if (internal_is_function(/*back*/ ctx[0])) /*back*/ ctx[0].apply(this, arguments);
				});

				mounted = true;
			}
		},
		p(new_ctx, [dirty]) {
			ctx = new_ctx;
			const placetype_changes = {};
			if (dirty & /*$selectedType*/ 2) placetype_changes.type = /*$selectedType*/ ctx[1];
			placetype.$set(placetype_changes);

			if (dirty & /*selectPlace, $places, $selectedType*/ 14) {
				each_value = /*$places*/ ctx[2][/*$selectedType*/ ctx[1].id] || [];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = places_list_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = places_list_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div1, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(placetype.$$.fragment, local);

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			transition_out(placetype.$$.fragment, local);
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div3);
			destroy_component(placetype);
			destroy_each(each_blocks, detaching);
			mounted = false;
			dispose();
		}
	};
}

function places_list_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedScreen;
	let $selectedPlace;
	let $selectedType;
	let $places;
	component_subscribe($$self, store_selectedScreen, $$value => $$invalidate(5, $selectedScreen = $$value));
	component_subscribe($$self, selectedPlace, $$value => $$invalidate(6, $selectedPlace = $$value));
	component_subscribe($$self, selectedType, $$value => $$invalidate(1, $selectedType = $$value));
	component_subscribe($$self, places, $$value => $$invalidate(2, $places = $$value));

	let { back = () => {
		
	} } = $$props;

	const selectPlace = place => {
		sendClientMessage('rodinaMapsApp.selectedPlace', place.id);
		set_store_value(selectedPlace, $selectedPlace = place, $selectedPlace);
		set_store_value(store_selectedScreen, $selectedScreen = constants_Screens.Finish, $selectedScreen);
	};

	const click_handler = place => selectPlace(place);

	$$self.$$set = $$props => {
		if ('back' in $$props) $$invalidate(0, back = $$props.back);
	};

	return [back, $selectedType, $places, selectPlace, click_handler];
}

class Places_list extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, places_list_index_svelte_instance, places_list_index_svelte_create_fragment, safe_not_equal, { back: 0 });
	}
}

/* harmony default export */ const places_list_index_svelte = (Places_list);
;// CONCATENATED MODULE: ./src/views/phone/apps/rodina-maps/components/finish/index.svelte
/* src\views\phone\apps\rodina-maps\components\finish\index.svelte generated by Svelte v3.49.0 */










function finish_index_svelte_create_fragment(ctx) {
	let div4;
	let i;
	let t0;
	let div0;
	let t2;
	let div1;
	let t3_value = /*$selectedPlace*/ ctx[1].name + "";
	let t3;
	let t4;
	let div2;
	let t5_value = Math.floor(/*$distance*/ ctx[2]) + "";
	let t5;
	let t6;
	let t7;
	let div3;
	let mounted;
	let dispose;

	return {
		c() {
			div4 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div0 = internal_element("div");
			div0.textContent = "Маршрут построен";
			t2 = space();
			div1 = internal_element("div");
			t3 = internal_text(t3_value);
			t4 = space();
			div2 = internal_element("div");
			t5 = internal_text(t5_value);
			t6 = internal_text(" m");
			t7 = space();
			div3 = internal_element("div");
			div3.textContent = "Отправиться";
			attr(i, "class", "rodina-maps-finish__back icon-chevron-left");
			attr(div0, "class", "rodina-maps-finish__caption");
			attr(div1, "class", "rodina-maps-finish__title");
			attr(div2, "class", "rodina-maps-finish__distance");
			attr(div3, "class", "rodina-maps-finish__button");
			attr(div4, "class", "rodina-maps-finish");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, i);
			append(div4, t0);
			append(div4, div0);
			append(div4, t2);
			append(div4, div1);
			append(div1, t3);
			append(div4, t4);
			append(div4, div2);
			append(div2, t5);
			append(div2, t6);
			append(div4, t7);
			append(div4, div3);

			if (!mounted) {
				dispose = [
					listen(i, "click", function () {
						if (internal_is_function(/*back*/ ctx[0])) /*back*/ ctx[0].apply(this, arguments);
					}),
					listen(div3, "click", /*click_handler*/ ctx[5])
				];

				mounted = true;
			}
		},
		p(new_ctx, [dirty]) {
			ctx = new_ctx;
			if (dirty & /*$selectedPlace*/ 2 && t3_value !== (t3_value = /*$selectedPlace*/ ctx[1].name + "")) set_data(t3, t3_value);
			if (dirty & /*$distance*/ 4 && t5_value !== (t5_value = Math.floor(/*$distance*/ ctx[2]) + "")) set_data(t5, t5_value);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div4);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function finish_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedPlace;
	let $playerXY;
	let $selectedScreen;
	let $distance;
	component_subscribe($$self, selectedPlace, $$value => $$invalidate(1, $selectedPlace = $$value));
	component_subscribe($$self, playerXY, $$value => $$invalidate(6, $playerXY = $$value));
	component_subscribe($$self, store_selectedScreen, $$value => $$invalidate(7, $selectedScreen = $$value));

	let { back = () => {
		
	} } = $$props;

	const distance = tweened(0, { duration: 800 });
	component_subscribe($$self, distance, value => $$invalidate(2, $distance = value));

	const letsGo = () => {
		sendClientMessage('rodinaMapsApp.start', $selectedPlace.id, $selectedPlace.position.join('|'));
		set_store_value(store_selectedScreen, $selectedScreen = constants_Screens.Main, $selectedScreen);
	};

	onMount(() => {
		distance.set(Math.ceil(calculateDistance($playerXY[0], $playerXY[1], $selectedPlace.position[0], $selectedPlace.position[1])));
	});

	const click_handler = () => letsGo();

	$$self.$$set = $$props => {
		if ('back' in $$props) $$invalidate(0, back = $$props.back);
	};

	return [back, $selectedPlace, $distance, distance, letsGo, click_handler];
}

class Finish extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, finish_index_svelte_instance, finish_index_svelte_create_fragment, safe_not_equal, { back: 0 });
	}
}

/* harmony default export */ const finish_index_svelte = (Finish);
;// CONCATENATED MODULE: ./src/views/phone/apps/rodina-maps/maps.js
function rodina_maps_maps_typeof(o) { "@babel/helpers - typeof"; return rodina_maps_maps_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, rodina_maps_maps_typeof(o); }
function rodina_maps_maps_defineProperty(e, r, t) { return (r = rodina_maps_maps_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function rodina_maps_maps_toPropertyKey(t) { var i = rodina_maps_maps_toPrimitive(t, "string"); return "symbol" == rodina_maps_maps_typeof(i) ? i : i + ""; }
function rodina_maps_maps_toPrimitive(t, r) { if ("object" != rodina_maps_maps_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != rodina_maps_maps_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }



var maps_MAP_SCREEN_TO_COMPONENT = rodina_maps_maps_defineProperty(rodina_maps_maps_defineProperty({}, constants_Screens.List, places_list_index_svelte), constants_Screens.Finish, finish_index_svelte);
;// CONCATENATED MODULE: ./src/views/phone/apps/rodina-maps/index.svelte
/* src\views\phone\apps\rodina-maps\index.svelte generated by Svelte v3.49.0 */















// import { CATEGORIES_MOCK } from './mock';


function rodina_maps_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[20] = list[i];
	return child_ctx;
}

// (117:4) {:else}
function rodina_maps_index_svelte_create_else_block(ctx) {
	let switch_instance;
	let switch_instance_anchor;
	let current;
	var switch_value = maps_MAP_SCREEN_TO_COMPONENT[/*$selectedScreen*/ ctx[3]];

	function switch_props(ctx) {
		return { props: { back: /*back*/ ctx[4] } };
	}

	if (switch_value) {
		switch_instance = new switch_value(switch_props(ctx));
	}

	return {
		c() {
			if (switch_instance) create_component(switch_instance.$$.fragment);
			switch_instance_anchor = empty();
		},
		m(target, anchor) {
			if (switch_instance) {
				mount_component(switch_instance, target, anchor);
			}

			insert(target, switch_instance_anchor, anchor);
			current = true;
		},
		p(ctx, dirty) {
			if (switch_value !== (switch_value = maps_MAP_SCREEN_TO_COMPONENT[/*$selectedScreen*/ ctx[3]])) {
				if (switch_instance) {
					group_outros();
					const old_component = switch_instance;

					transition_out(old_component.$$.fragment, 1, 0, () => {
						destroy_component(old_component, 1);
					});

					check_outros();
				}

				if (switch_value) {
					switch_instance = new switch_value(switch_props(ctx));
					create_component(switch_instance.$$.fragment);
					transition_in(switch_instance.$$.fragment, 1);
					mount_component(switch_instance, switch_instance_anchor.parentNode, switch_instance_anchor);
				} else {
					switch_instance = null;
				}
			} else if (switch_value) {
				
			}
		},
		i(local) {
			if (current) return;
			if (switch_instance) transition_in(switch_instance.$$.fragment, local);
			current = true;
		},
		o(local) {
			if (switch_instance) transition_out(switch_instance.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(switch_instance_anchor);
			if (switch_instance) destroy_component(switch_instance, detaching);
		}
	};
}

// (101:4) {#if isEmpty($selectedScreen)}
function rodina_maps_index_svelte_create_if_block(ctx) {
	let i;
	let t0;
	let img;
	let img_src_value;
	let t1;
	let div0;
	let t3;
	let div1;
	let t6;
	let if_block_anchor;
	let current;
	let mounted;
	let dispose;
	let if_block = /*catergoriesVisible*/ ctx[2] && rodina_maps_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			i = internal_element("i");
			t0 = space();
			img = internal_element("img");
			t1 = space();
			div0 = internal_element("div");
			div0.textContent = "Добро пожаловать в";
			t3 = space();
			div1 = internal_element("div");
			div1.innerHTML = `Родные<b>.Карты</b>`;
			t6 = space();
			if (if_block) if_block.c();
			if_block_anchor = empty();
			attr(i, "class", "rodina-maps__back icon-chevron-left");
			if (!src_url_equal(img.src, img_src_value = icon_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "maps");
			attr(img, "class", "rodina-maps__icon");
			attr(div0, "class", "rodina-maps__welcome-caption");
			attr(div1, "class", "rodina-maps__title");
		},
		m(target, anchor) {
			insert(target, i, anchor);
			insert(target, t0, anchor);
			insert(target, img, anchor);
			insert(target, t1, anchor);
			insert(target, div0, anchor);
			insert(target, t3, anchor);
			insert(target, div1, anchor);
			insert(target, t6, anchor);
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
			current = true;

			if (!mounted) {
				dispose = listen(i, "click", function () {
					if (internal_is_function(/*backToMainMenu*/ ctx[0])) /*backToMainMenu*/ ctx[0].apply(this, arguments);
				});

				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (/*catergoriesVisible*/ ctx[2]) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*catergoriesVisible*/ 4) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = rodina_maps_index_svelte_create_if_block_1(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(i);
			if (detaching) detach(t0);
			if (detaching) detach(img);
			if (detaching) detach(t1);
			if (detaching) detach(div0);
			if (detaching) detach(t3);
			if (detaching) detach(div1);
			if (detaching) detach(t6);
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
			mounted = false;
			dispose();
		}
	};
}

// (106:8) {#if catergoriesVisible}
function rodina_maps_index_svelte_create_if_block_1(ctx) {
	let div1;
	let div0;
	let current;
	let each_value = /*placesTypes*/ ctx[1];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = rodina_maps_index_svelte_create_each_block(rodina_maps_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div0, "class", "rodina-maps__types");
			attr(div1, "class", "rodina-maps__types-list");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			current = true;
		},
		p(ctx, dirty) {
			if (dirty & /*selectType, placesTypes*/ 34) {
				each_value = /*placesTypes*/ ctx[1];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = rodina_maps_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = rodina_maps_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div0, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (109:20) {#each placesTypes as type}
function rodina_maps_index_svelte_create_each_block(ctx) {
	let div;
	let placetype;
	let t;
	let current;
	let mounted;
	let dispose;
	placetype = new place_type_index_svelte({ props: { type: /*type*/ ctx[20] } });

	function click_handler() {
		return /*click_handler*/ ctx[6](/*type*/ ctx[20]);
	}

	return {
		c() {
			div = internal_element("div");
			create_component(placetype.$$.fragment);
			t = space();
			attr(div, "class", "rodina-maps__type");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(placetype, div, null);
			append(div, t);
			current = true;

			if (!mounted) {
				dispose = listen(div, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			const placetype_changes = {};
			if (dirty & /*placesTypes*/ 2) placetype_changes.type = /*type*/ ctx[20];
			placetype.$set(placetype_changes);
		},
		i(local) {
			if (current) return;
			transition_in(placetype.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(placetype.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(placetype);
			mounted = false;
			dispose();
		}
	};
}

function rodina_maps_index_svelte_create_fragment(ctx) {
	let div;
	let show_if;
	let current_block_type_index;
	let if_block;
	let current;
	const if_block_creators = [rodina_maps_index_svelte_create_if_block, rodina_maps_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (dirty & /*$selectedScreen*/ 8) show_if = null;
		if (show_if == null) show_if = !!(0,lodash.isEmpty)(/*$selectedScreen*/ ctx[3]);
		if (show_if) return 0;
		return 1;
	}

	current_block_type_index = select_block_type(ctx, -1);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div = internal_element("div");
			if_block.c();
			attr(div, "class", "rodina-maps");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if_blocks[current_block_type_index].m(div, null);
			current = true;
		},
		p(ctx, [dirty]) {
			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(div, null);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if_blocks[current_block_type_index].d();
		}
	};
}

function rodina_maps_index_svelte_instance($$self, $$props, $$invalidate) {
	let $places;
	let $selectedScreen;
	let $playerXY;
	let $serverApiToken;
	let $serverApiServerId;
	let $selectedType;
	component_subscribe($$self, places, $$value => $$invalidate(7, $places = $$value));
	component_subscribe($$self, store_selectedScreen, $$value => $$invalidate(3, $selectedScreen = $$value));
	component_subscribe($$self, playerXY, $$value => $$invalidate(8, $playerXY = $$value));
	component_subscribe($$self, serverApiToken, $$value => $$invalidate(9, $serverApiToken = $$value));
	component_subscribe($$self, serverApiServerId, $$value => $$invalidate(10, $serverApiServerId = $$value));
	component_subscribe($$self, selectedType, $$value => $$invalidate(11, $selectedType = $$value));

	let { backToMainMenu = () => {
		
	} } = $$props;

	let placesTypes = [];
	const dynamicCategoriesIds = [];
	let catergoriesVisible = false;

	const back = () => {
		set_store_value(store_selectedScreen, $selectedScreen = '', $selectedScreen);

		if (!(0,lodash.isEmpty)(dynamicCategoriesIds)) {
			dynamicCategoriesIds.forEach(id => {
				set_store_value(places, $places[id] = null, $places);
			});
		}
	};

	const selectType = type => {
		set_store_value(selectedType, $selectedType = type, $selectedType);
		sendClientMessage('rodinaMapsApp.selectType', $selectedType.id);
		set_store_value(store_selectedScreen, $selectedScreen = constants_Screens.List, $selectedScreen);
	};

	const initializeCategories = categories => {
		$$invalidate(1, placesTypes = categories);
		$$invalidate(2, catergoriesVisible = true);
	};

	const getPlaces = () => {
		lib_axios.get(`${SERVER_API_URL}/client/json/table/get?project=${SERVER_API_PROJECT}&server=${$serverApiServerId}&key=gps`, {
			headers: {
				Authorization: `Bearer ${$serverApiToken}`
			}
		}).then(response => {
			response.data.forEach(item => {
				if ((0,lodash.isNil)($places[item.categoryId])) {
					set_store_value(places, $places[item.categoryId] = [], $places);
				}

				set_store_value(places, $places[item.categoryId] = [...$places[item.categoryId], item], $places);
			});
		}).catch(error => {
			// eslint-disable-next-line no-console
			console.log('error from getPlaces', JSON.stringify(error));
		});
	};

	const initializePlayerCoords = coords => {
		set_store_value(playerXY, $playerXY = coords, $playerXY);
	};

	const initializePlaces = placesData => {
		placesData.forEach(item => {
			dynamicCategoriesIds.push(item.categoryId);

			if ((0,lodash.isNil)($places[item.categoryId])) {
				set_store_value(places, $places[item.categoryId] = [], $places);
			}

			set_store_value(places, $places[item.categoryId] = [...$places[item.categoryId], item], $places);
		});
	};

	const unregisterInitializePlaces = registerEvent('event.rodinaMapsApp.initializePlaces', initializePlaces);
	const unregisterInitializeCategories = registerEvent('event.rodinaMapsApp.initializeCategories', initializeCategories);
	const unregisterInitializePlayerCoords = registerEvent('event.rodinaMapsApp.initializePlayerCoords', initializePlayerCoords);

	if ((0,lodash.isEmpty)($places)) {
		getPlaces();
	}

	onDestroy(() => {
		set_store_value(store_selectedScreen, $selectedScreen = '', $selectedScreen);
		unregisterInitializeCategories();
		unregisterInitializePlayerCoords();
		unregisterInitializePlaces();

		if (!(0,lodash.isEmpty)(dynamicCategoriesIds)) {
			dynamicCategoriesIds.forEach(id => {
				set_store_value(places, $places[id] = null, $places);
			});
		}
	});

	const click_handler = type => {
		selectType(type);
	};

	$$self.$$set = $$props => {
		if ('backToMainMenu' in $$props) $$invalidate(0, backToMainMenu = $$props.backToMainMenu);
	};

	return [
		backToMainMenu,
		placesTypes,
		catergoriesVisible,
		$selectedScreen,
		back,
		selectType,
		click_handler
	];
}

class Rodina_maps extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, rodina_maps_index_svelte_instance, rodina_maps_index_svelte_create_fragment, safe_not_equal, { backToMainMenu: 0 });
	}
}

/* harmony default export */ const rodina_maps_index_svelte = (Rodina_maps);
;// CONCATENATED MODULE: ./src/views/phone/img/app/taxi-rodnoe/taxi-grey.png
const taxi_grey_namespaceObject = __webpack_require__.p + "assets/ef4c778d84c4fa6d9007.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/taxi-rodnoe/taxi-yellow.png
const taxi_yellow_namespaceObject = __webpack_require__.p + "assets/7c190254b06485352d89.webp";
;// CONCATENATED MODULE: ./src/views/phone/apps/taxi-rodnoe/constants.js
function taxi_rodnoe_constants_typeof(o) { "@babel/helpers - typeof"; return taxi_rodnoe_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, taxi_rodnoe_constants_typeof(o); }
function taxi_rodnoe_constants_defineProperty(e, r, t) { return (r = taxi_rodnoe_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function taxi_rodnoe_constants_toPropertyKey(t) { var i = taxi_rodnoe_constants_toPrimitive(t, "string"); return "symbol" == taxi_rodnoe_constants_typeof(i) ? i : i + ""; }
function taxi_rodnoe_constants_toPrimitive(t, r) { if ("object" != taxi_rodnoe_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != taxi_rodnoe_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }


var taxi_rodnoe_constants_Screens = {
  Main: '',
  Passenger: 'passenger',
  Stats: 'stats',
  Driver: 'driver'
};
var UserTypes = {
  Passenger: 'passenger',
  Driver: 'driver'
};
var PaymentTypes = {
  Card: 'card',
  Cash: 'cash'
};
var Tariffs = {
  Econom: 'econom',
  Comfort: 'comfort'
};
var OrderStatuses = {
  SelectTariff: 'select-tariff',
  SelectGeo: 'select-geo',
  SelectPayment: 'payment',
  Check: 'check',
  Finding: 'finding',
  Waiting: 'waiting',
  Driving: 'driving',
  Finish: 'finish'
};
var Actions = {
  Create: 'create',
  Close: 'close',
  Decline: 'decline',
  Accept: 'accept'
};
var IN_PROGRESS_STATUSES = [OrderStatuses.Finding, OrderStatuses.Waiting, OrderStatuses.Driving, OrderStatuses.Finish];
var MAP_SCREEN_TO_HEADER_TEXT = taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty({}, UserTypes.Passenger, taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty({}, taxi_rodnoe_constants_Screens.Passenger, 'Инфо о заказе'), taxi_rodnoe_constants_Screens.Stats, 'Мой профиль')), UserTypes.Driver, taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty({}, taxi_rodnoe_constants_Screens.Passenger, 'Инфо о заказе'), taxi_rodnoe_constants_Screens.Stats, 'Мой профиль'), taxi_rodnoe_constants_Screens.Driver, 'Доступные заказы'));
var MAP_STATUS_TO_HEADER_TEXT = taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty({}, UserTypes.Passenger, taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty({}, OrderStatuses.SelectTariff, ''), OrderStatuses.SelectGeo, ''), OrderStatuses.SelectPayment, 'Найти водителя'), OrderStatuses.Finding, 'Ваш заказ создан'), OrderStatuses.Waiting, ''), OrderStatuses.Driving, 'Удачной поездки!'), OrderStatuses.Finish, 'Вы приехали!')), UserTypes.Driver, taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty({}, OrderStatuses.SelectTariff, ''), OrderStatuses.SelectGeo, ''), OrderStatuses.SelectPayment, 'Найти водителя'), OrderStatuses.Check, 'Информация о заказе:'), OrderStatuses.Finding, 'Информация о заказе:'), OrderStatuses.Waiting, 'Информация о заказе:'), OrderStatuses.Driving, 'Вы успешно подали такси'), OrderStatuses.Finish, 'Заказ завершен'));
var MAP_STATUS_TO_HEADER_SUB_TEXT = taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty({}, UserTypes.Passenger, taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty({}, OrderStatuses.SelectTariff, ''), OrderStatuses.SelectGeo, ''), OrderStatuses.SelectPayment, 'Найти водителя'), OrderStatuses.Finding, 'Ожидайте, пока водитель на него откликнется'), OrderStatuses.Waiting, 'Уже едет к Вам!'), OrderStatuses.Driving, ''), OrderStatuses.Finish, '')), UserTypes.Driver, taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty({}, OrderStatuses.SelectTariff, ''), OrderStatuses.SelectGeo, ''), OrderStatuses.SelectPayment, 'Найти водителя'), OrderStatuses.Finding, 'Отменить заказ'), OrderStatuses.Check, ''), OrderStatuses.Waiting, ''), OrderStatuses.Driving, 'Отправляйтесь в пункт назначения, не забудьте пристегнуться'), OrderStatuses.Finish, 'Оплата за заказ спишется автоматически'));
var MAP_STATUS_TO_BUTTON_TEXT = taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty({}, UserTypes.Passenger, taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty({}, OrderStatuses.SelectPayment, 'Найти водителя'), OrderStatuses.Finding, 'Отменить заказ'), OrderStatuses.Waiting, 'Отменить заказ'), OrderStatuses.Driving, 'Отменить заказ'), OrderStatuses.Finish, 'Закрыть')), UserTypes.Driver, taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty({}, OrderStatuses.Check, 'Принять заказ'), OrderStatuses.Waiting, 'Отменить заказ'), OrderStatuses.Driving, 'Отменить заказ'), OrderStatuses.Finish, 'Закрыть'));
var MAP_STATUS_TO_ACTION = taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty({}, UserTypes.Passenger, taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty({}, OrderStatuses.SelectPayment, Actions.Create), OrderStatuses.Finding, Actions.Decline), OrderStatuses.Waiting, Actions.Decline), OrderStatuses.Driving, Actions.Decline), OrderStatuses.Finish, Actions.Close)), UserTypes.Driver, taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty({}, OrderStatuses.Check, Actions.Accept), OrderStatuses.Finding, Actions.Decline), OrderStatuses.Waiting, Actions.Decline), OrderStatuses.Driving, Actions.Decline), OrderStatuses.Finish, Actions.Close));
var MAP_TARIFF_TO_IMAGE = taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty({}, Tariffs.Econom, taxi_grey_namespaceObject), Tariffs.Comfort, taxi_yellow_namespaceObject);
var MAP_TARIFF_TO_TITLE = taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty({}, Tariffs.Econom, 'Эконом'), Tariffs.Comfort, 'Комфорт');
var MAP_TARIFF_TO_PRICE = taxi_rodnoe_constants_defineProperty(taxi_rodnoe_constants_defineProperty({}, Tariffs.Econom, 0), Tariffs.Comfort, 0);
;// CONCATENATED MODULE: ./src/views/phone/img/app/taxi-rodnoe/logo-star.png
const logo_star_namespaceObject = __webpack_require__.p + "assets/87adb54da8b4e9ba58bd.webp";
;// CONCATENATED MODULE: ./src/views/phone/apps/taxi-rodnoe/store.js

var taxi_rodnoe_store_selectedScreen = writable('');
var orderStatus = writable('');
var selectedOrder = writable({});
var currentRole = writable(null);
var selectedRating = writable(0);
var timeLeft = writable(0);
;// CONCATENATED MODULE: ./src/views/phone/apps/taxi-rodnoe/components/main/index.svelte
/* src\views\phone\apps\taxi-rodnoe\components\main\index.svelte generated by Svelte v3.49.0 */










function main_index_svelte_create_if_block_1(ctx) {
	let div2;
	let mounted;
	let dispose;

	return {
		c() {
			div2 = internal_element("div");

			div2.innerHTML = `<div class="taxi-rodnoe-main__item-icon-wrapper"><i class="taxi-rodnoe-main__item-icon icon-magnifier"></i></div> 
                    <div class="taxi-rodnoe-main__item-text">Вызвать такси</div>`;

			attr(div2, "class", "taxi-rodnoe-main__list-item");
		},
		m(target, anchor) {
			insert(target, div2, anchor);

			if (!mounted) {
				dispose = listen(div2, "click", /*click_handler*/ ctx[3]);
				mounted = true;
			}
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div2);
			mounted = false;
			dispose();
		}
	};
}

// (111:12) {:else}
function main_index_svelte_create_else_block(ctx) {
	let div2;
	let mounted;
	let dispose;

	return {
		c() {
			div2 = internal_element("div");

			div2.innerHTML = `<div class="taxi-rodnoe-main__item-icon-wrapper"><i class="taxi-rodnoe-main__item-icon icon-taxi-driver"></i></div> 
                    <div class="taxi-rodnoe-main__item-text">Я водитель</div>`;

			attr(div2, "class", "taxi-rodnoe-main__list-item");
		},
		m(target, anchor) {
			insert(target, div2, anchor);

			if (!mounted) {
				dispose = listen(div2, "click", /*click_handler_3*/ ctx[6]);
				mounted = true;
			}
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div2);
			mounted = false;
			dispose();
		}
	};
}

// (98:12) {#if isDriver}
function main_index_svelte_create_if_block(ctx) {
	let div2;
	let t2;
	let div5;
	let mounted;
	let dispose;

	return {
		c() {
			div2 = internal_element("div");

			div2.innerHTML = `<div class="taxi-rodnoe-main__item-icon-wrapper"><i class="taxi-rodnoe-main__item-icon icon-taxi-driver"></i></div> 
                    <div class="taxi-rodnoe-main__item-text">Список заказов</div>`;

			t2 = space();
			div5 = internal_element("div");

			div5.innerHTML = `<div class="taxi-rodnoe-main__item-icon-wrapper"><i class="taxi-rodnoe-main__item-icon icon-taxi-driver-stop"></i></div> 
                    <div class="taxi-rodnoe-main__item-text">Закончить работу</div>`;

			attr(div2, "class", "taxi-rodnoe-main__list-item");
			attr(div5, "class", "taxi-rodnoe-main__list-item");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			insert(target, t2, anchor);
			insert(target, div5, anchor);

			if (!mounted) {
				dispose = [
					listen(div2, "click", /*click_handler_2*/ ctx[5]),
					listen(div5, "click", /*driverCancel*/ ctx[2])
				];

				mounted = true;
			}
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div2);
			if (detaching) detach(t2);
			if (detaching) detach(div5);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function main_index_svelte_create_fragment(ctx) {
	let div7;
	let div6;
	let div0;
	let span0;
	let t1;
	let img;
	let img_src_value;
	let t2;
	let span1;
	let t4;
	let div1;
	let t6;
	let div5;
	let t7;
	let div4;
	let t10;
	let mounted;
	let dispose;
	let if_block0 = !/*isDriver*/ ctx[0] && main_index_svelte_create_if_block_1(ctx);

	function select_block_type(ctx, dirty) {
		if (/*isDriver*/ ctx[0]) return main_index_svelte_create_if_block;
		return main_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block1 = current_block_type(ctx);

	return {
		c() {
			div7 = internal_element("div");
			div6 = internal_element("div");
			div0 = internal_element("div");
			span0 = internal_element("span");
			span0.textContent = "Такси.Р";
			t1 = space();
			img = internal_element("img");
			t2 = space();
			span1 = internal_element("span");
			span1.textContent = "дное";
			t4 = space();
			div1 = internal_element("div");
			div1.textContent = "Всегда рядом.";
			t6 = space();
			div5 = internal_element("div");
			if (if_block0) if_block0.c();
			t7 = space();
			div4 = internal_element("div");

			div4.innerHTML = `<div class="taxi-rodnoe-main__item-icon-wrapper"><i class="taxi-rodnoe-main__item-icon icon-man"></i></div> 
                <div class="taxi-rodnoe-main__item-text">Мой профиль</div>`;

			t10 = space();
			if_block1.c();
			attr(span0, "class", "taxi-rodnoe-main__title-text");
			attr(img, "class", "taxi-rodnoe-main__title-icon");
			if (!src_url_equal(img.src, img_src_value = logo_star_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "star");
			attr(img, "draggable", "false");
			attr(span1, "class", "taxi-rodnoe-main__title-text");
			attr(div0, "class", "taxi-rodnoe-main__title");
			attr(div1, "class", "taxi-rodnoe-main__caption");
			attr(div4, "class", "taxi-rodnoe-main__list-item");
			attr(div5, "class", "taxi-rodnoe-main__list");
			attr(div6, "class", "taxi-rodnoe-main__wrapper");
			attr(div7, "class", "taxi-rodnoe-main");
		},
		m(target, anchor) {
			insert(target, div7, anchor);
			append(div7, div6);
			append(div6, div0);
			append(div0, span0);
			append(div0, t1);
			append(div0, img);
			append(div0, t2);
			append(div0, span1);
			append(div6, t4);
			append(div6, div1);
			append(div6, t6);
			append(div6, div5);
			if (if_block0) if_block0.m(div5, null);
			append(div5, t7);
			append(div5, div4);
			append(div5, t10);
			if_block1.m(div5, null);

			if (!mounted) {
				dispose = listen(div4, "click", /*click_handler_1*/ ctx[4]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (!/*isDriver*/ ctx[0]) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = main_index_svelte_create_if_block_1(ctx);
					if_block0.c();
					if_block0.m(div5, t7);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block1) {
				if_block1.p(ctx, dirty);
			} else {
				if_block1.d(1);
				if_block1 = current_block_type(ctx);

				if (if_block1) {
					if_block1.c();
					if_block1.m(div5, null);
				}
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div7);
			if (if_block0) if_block0.d();
			if_block1.d();
			mounted = false;
			dispose();
		}
	};
}

function main_index_svelte_instance($$self, $$props, $$invalidate) {
	let $currentRole;
	let $selectedScreen;
	let $orderStatus;
	component_subscribe($$self, currentRole, $$value => $$invalidate(7, $currentRole = $$value));
	component_subscribe($$self, taxi_rodnoe_store_selectedScreen, $$value => $$invalidate(8, $selectedScreen = $$value));
	component_subscribe($$self, orderStatus, $$value => $$invalidate(9, $orderStatus = $$value));
	let isDriver = false;

	const selectScreen = (screen, role) => {
		if (screen === taxi_rodnoe_constants_Screens.Driver) {
			sendClientMessage('rodnoe-taxi.driverConfirming');
			return;
		}

		if (screen === taxi_rodnoe_constants_Screens.Passenger) {
			sendClientMessage('rodnoe-taxi.passengerConfirming');
			return;
		}

		set_store_value(currentRole, $currentRole = role, $currentRole);
		set_store_value(taxi_rodnoe_store_selectedScreen, $selectedScreen = screen, $selectedScreen);
	};

	const driverCancel = () => {
		sendClientMessage('rodnoe-taxi.driverCancel');
	};

	const initializeDriverConfirmed = confirmed => {
		if (confirmed) {
			set_store_value(currentRole, $currentRole = UserTypes.Driver, $currentRole);
			set_store_value(taxi_rodnoe_store_selectedScreen, $selectedScreen = taxi_rodnoe_constants_Screens.Driver, $selectedScreen);
		}
	};

	const initializePassengerConfirmed = confirmed => {
		if (confirmed) {
			set_store_value(currentRole, $currentRole = UserTypes.Passenger, $currentRole);
			set_store_value(taxi_rodnoe_store_selectedScreen, $selectedScreen = taxi_rodnoe_constants_Screens.Passenger, $selectedScreen);
		}
	};

	const openGeoSelector = () => {
		set_store_value(currentRole, $currentRole = UserTypes.Passenger, $currentRole);
		set_store_value(orderStatus, $orderStatus = OrderStatuses.SelectGeo, $orderStatus);
		set_store_value(taxi_rodnoe_store_selectedScreen, $selectedScreen = taxi_rodnoe_constants_Screens.Passenger, $selectedScreen);
	};

	const initializeDriver = driver => {
		$$invalidate(0, isDriver = driver);
	};

	const unregisterInitializeDriverConfirmed = registerEvent('event.rodnoeTaxiApp.initializeDriverConfirmed', initializeDriverConfirmed);
	const unregisterOpenGeoSelector = registerEvent('event.rodnoeTaxiApp.openGeoSelector', openGeoSelector);
	const unregisterInitializePassengerConfirmed = registerEvent('event.rodnoeTaxiApp.initializePassengerConfirmed', initializePassengerConfirmed);
	const unregisterInitializeDriver = registerEvent('event.rodnoeTaxiApp.initializeDriver', initializeDriver);

	onMount(() => {
		set_store_value(currentRole, $currentRole = '', $currentRole);
		sendClientMessage('rodnoe-taxi.nowMainMenu');
	});

	onDestroy(() => {
		unregisterInitializeDriverConfirmed();
		unregisterOpenGeoSelector();
		unregisterInitializePassengerConfirmed();
		unregisterInitializeDriver();
	});

	const click_handler = () => selectScreen(taxi_rodnoe_constants_Screens.Passenger, UserTypes.Passenger);
	const click_handler_1 = () => selectScreen(taxi_rodnoe_constants_Screens.Stats);
	const click_handler_2 = () => selectScreen(taxi_rodnoe_constants_Screens.Driver, UserTypes.Driver);
	const click_handler_3 = () => selectScreen(taxi_rodnoe_constants_Screens.Driver, UserTypes.Driver);

	return [
		isDriver,
		selectScreen,
		driverCancel,
		click_handler,
		click_handler_1,
		click_handler_2,
		click_handler_3
	];
}

class Main extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, main_index_svelte_instance, main_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const main_index_svelte = (Main);
;// CONCATENATED MODULE: ./src/views/phone/apps/taxi-rodnoe/components/tariff-selector/index.svelte
/* src\views\phone\apps\taxi-rodnoe\components\tariff-selector\index.svelte generated by Svelte v3.49.0 */












function tariff_selector_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[10] = list[i];
	return child_ctx;
}

// (59:16) {:else}
function tariff_selector_index_svelte_create_else_block(ctx) {
	let div;
	let t0;
	let t1_value = formatMoney(/*MAP_TARIFF_TO_PRICE*/ ctx[0][/*tariff*/ ctx[10]]) + "";
	let t1;
	let t2;

	return {
		c() {
			div = internal_element("div");
			t0 = internal_text("от ");
			t1 = internal_text(t1_value);
			t2 = internal_text(" руб.");
			attr(div, "class", "rodnoe-taxi-tariff-selector__price");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t0);
			append(div, t1);
			append(div, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*MAP_TARIFF_TO_PRICE*/ 1 && t1_value !== (t1_value = formatMoney(/*MAP_TARIFF_TO_PRICE*/ ctx[0][/*tariff*/ ctx[10]]) + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (57:16) {#if MAP_TARIFF_TO_PRICE[tariff] === 0}
function tariff_selector_index_svelte_create_if_block(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "Бесплатно";
			attr(div, "class", "rodnoe-taxi-tariff-selector__price");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (54:8) {#each Object.values(Tariffs) as tariff}
function tariff_selector_index_svelte_create_each_block(ctx) {
	let div1;
	let div0;
	let t0_value = MAP_TARIFF_TO_TITLE[/*tariff*/ ctx[10]] + "";
	let t0;
	let t1;
	let t2;
	let img;
	let img_src_value;
	let t3;
	let mounted;
	let dispose;

	function select_block_type(ctx, dirty) {
		if (/*MAP_TARIFF_TO_PRICE*/ ctx[0][/*tariff*/ ctx[10]] === 0) return tariff_selector_index_svelte_create_if_block;
		return tariff_selector_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block = current_block_type(ctx);

	function click_handler() {
		return /*click_handler*/ ctx[3](/*tariff*/ ctx[10]);
	}

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			if_block.c();
			t2 = space();
			img = internal_element("img");
			t3 = space();
			attr(div0, "class", "rodnoe-taxi-tariff-selector__name");
			if (!src_url_equal(img.src, img_src_value = MAP_TARIFF_TO_IMAGE[/*tariff*/ ctx[10]])) attr(img, "src", img_src_value);
			attr(img, "alt", "taxi");
			attr(img, "class", "rodnoe-taxi-tariff-selector__image");
			attr(img, "draggable", "false");
			attr(div1, "class", "rodnoe-taxi-tariff-selector__item");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, t0);
			append(div1, t1);
			if_block.m(div1, null);
			append(div1, t2);
			append(div1, img);
			append(div1, t3);

			if (!mounted) {
				dispose = listen(div1, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div1, t2);
				}
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			if_block.d();
			mounted = false;
			dispose();
		}
	};
}

function tariff_selector_index_svelte_create_fragment(ctx) {
	let div6;
	let div0;
	let t1;
	let div4;
	let div1;
	let t2;
	let div2;
	let t3;
	let t4;
	let div3;
	let t6;
	let div5;
	let each_value = Object.values(Tariffs);
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = tariff_selector_index_svelte_create_each_block(tariff_selector_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div6 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "Выберите тариф";
			t1 = space();
			div4 = internal_element("div");
			div1 = internal_element("div");
			t2 = space();
			div2 = internal_element("div");
			t3 = internal_text(/*onlineCount*/ ctx[1]);
			t4 = space();
			div3 = internal_element("div");
			div3.textContent = "водителей онлайн";
			t6 = space();
			div5 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div0, "class", "rodnoe-taxi-tariff-selector__caption");
			attr(div1, "class", "rodnoe-taxi-tariff-selector__green-light");
			attr(div2, "class", "rodnoe-taxi-tariff-selector__online-value");
			attr(div3, "class", "rodnoe-taxi-tariff-selector__online-caption");
			attr(div4, "class", "rodnoe-taxi-tariff-selector__online-row");
			attr(div5, "class", "rodnoe-taxi-tariff-selector__selector");
			attr(div6, "class", "rodnoe-taxi-tariff-selector");
		},
		m(target, anchor) {
			insert(target, div6, anchor);
			append(div6, div0);
			append(div6, t1);
			append(div6, div4);
			append(div4, div1);
			append(div4, t2);
			append(div4, div2);
			append(div2, t3);
			append(div4, t4);
			append(div4, div3);
			append(div6, t6);
			append(div6, div5);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div5, null);
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*onlineCount*/ 2) set_data(t3, /*onlineCount*/ ctx[1]);

			if (dirty & /*selectTariff, Object, Tariffs, MAP_TARIFF_TO_IMAGE, MAP_TARIFF_TO_PRICE, formatMoney, MAP_TARIFF_TO_TITLE*/ 5) {
				each_value = Object.values(Tariffs);
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = tariff_selector_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = tariff_selector_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div5, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div6);
			destroy_each(each_blocks, detaching);
		}
	};
}

function tariff_selector_index_svelte_instance($$self, $$props, $$invalidate) {
	let $orderStatus;
	let $selectedOrder;
	component_subscribe($$self, orderStatus, $$value => $$invalidate(4, $orderStatus = $$value));
	component_subscribe($$self, selectedOrder, $$value => $$invalidate(5, $selectedOrder = $$value));
	let onlineCount = 0;

	const selectTariff = tariff => {
		set_store_value(selectedOrder, $selectedOrder.tariff = tariff, $selectedOrder);
		sendClientMessage('rodnoe-taxi.selectedTariff', $selectedOrder.tariff);
		set_store_value(orderStatus, $orderStatus = OrderStatuses.SelectGeo, $orderStatus);
	};

	const initializeTariffPrice = (tariffName, price) => {
		$$invalidate(0, MAP_TARIFF_TO_PRICE[tariffName] = price, MAP_TARIFF_TO_PRICE);
	};

	const initializeOnlineStats = count => {
		$$invalidate(1, onlineCount = count);
	};

	const unregisterInitializeTariffPrice = registerEvent('event.rodnoeTaxiApp.initializeTariffPrice', initializeTariffPrice);
	const unregisterInitializeOnlineStats = registerEvent('event.rodnoeTaxiApp.initializeOnlineStats', initializeOnlineStats);

	onMount(() => {
		sendClientMessage('rodnoe-taxi.loadTariffsPrice');
		sendClientMessage('rodnoe-taxi.loadOnlineStats');
	});

	onDestroy(() => {
		unregisterInitializeTariffPrice();
		unregisterInitializeOnlineStats();
	});

	const click_handler = tariff => selectTariff(tariff);
	return [MAP_TARIFF_TO_PRICE, onlineCount, selectTariff, click_handler];
}

class Tariff_selector extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, tariff_selector_index_svelte_instance, tariff_selector_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const tariff_selector_index_svelte = (Tariff_selector);
;// CONCATENATED MODULE: ./src/views/phone/img/app/taxi-rodnoe/navigate.png
const navigate_namespaceObject = __webpack_require__.p + "assets/7b7270c4939e22686e46.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/taxi-rodnoe/marker.png
const marker_namespaceObject = __webpack_require__.p + "assets/e4d958fd7971001240c3.webp";
;// CONCATENATED MODULE: ./src/views/phone/apps/taxi-rodnoe/components/destination-selector/index.svelte
/* src\views\phone\apps\taxi-rodnoe\components\destination-selector\index.svelte generated by Svelte v3.49.0 */










function destination_selector_index_svelte_create_fragment(ctx) {
	let div6;
	let div0;
	let t1;
	let div5;
	let div2;
	let div1;
	let t3;
	let img0;
	let img0_src_value;
	let t4;
	let div4;
	let div3;
	let t6;
	let img1;
	let img1_src_value;
	let mounted;
	let dispose;

	return {
		c() {
			div6 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "Выберите маршрут";
			t1 = space();
			div5 = internal_element("div");
			div2 = internal_element("div");
			div1 = internal_element("div");
			div1.textContent = "Метка на карте";
			t3 = space();
			img0 = internal_element("img");
			t4 = space();
			div4 = internal_element("div");
			div3 = internal_element("div");
			div3.textContent = "Найти в GPS";
			t6 = space();
			img1 = internal_element("img");
			attr(div0, "class", "rodnoe-taxi-destination-selector__caption");
			attr(div1, "class", "rodnoe-taxi-destination-selector__name");
			if (!src_url_equal(img0.src, img0_src_value = navigate_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "taxi");
			attr(img0, "class", "rodnoe-taxi-destination-selector__image");
			attr(img0, "draggable", "false");
			attr(div2, "class", "rodnoe-taxi-destination-selector__item rodnoe-taxi-destination-selector__item--green");
			attr(div3, "class", "rodnoe-taxi-destination-selector__name");
			if (!src_url_equal(img1.src, img1_src_value = marker_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "taxi");
			attr(img1, "class", "rodnoe-taxi-destination-selector__image");
			attr(img1, "draggable", "false");
			attr(div4, "class", "rodnoe-taxi-destination-selector__item rodnoe-taxi-destination-selector__item--blue");
			attr(div5, "class", "rodnoe-taxi-destination-selector__selector");
			attr(div6, "class", "rodnoe-taxi-destination-selector");
		},
		m(target, anchor) {
			insert(target, div6, anchor);
			append(div6, div0);
			append(div6, t1);
			append(div6, div5);
			append(div5, div2);
			append(div2, div1);
			append(div2, t3);
			append(div2, img0);
			append(div5, t4);
			append(div5, div4);
			append(div4, div3);
			append(div4, t6);
			append(div4, img1);

			if (!mounted) {
				dispose = [
					listen(div2, "click", /*click_handler*/ ctx[1]),
					listen(div4, "click", /*click_handler_1*/ ctx[2])
				];

				mounted = true;
			}
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div6);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function destination_selector_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedOrder;
	component_subscribe($$self, selectedOrder, $$value => $$invalidate(3, $selectedOrder = $$value));

	const initializeDestination = destination => {
		set_store_value(selectedOrder, $selectedOrder.destination = destination, $selectedOrder);
	};

	const unregisterInitializeDestination = registerEvent('event.rodnoeTaxiApp.initializeDestination', initializeDestination);

	const initializeTime = time => {
		set_store_value(selectedOrder, $selectedOrder.time = time, $selectedOrder);
	};

	const unregisterInitializeTime = registerEvent('event.rodnoeTaxiApp.initializeTime', initializeTime);

	const initializePrice = price => {
		set_store_value(selectedOrder, $selectedOrder.price = price, $selectedOrder);
	};

	const unregisterInitializePrice = registerEvent('event.rodnoeTaxiApp.initializePrice', initializePrice);

	const initializeTariff = tariff => {
		set_store_value(selectedOrder, $selectedOrder.tariff = tariff, $selectedOrder);
	};

	const unregisterInitializeTariff = registerEvent('event.rodnoeTaxiApp.initializeTariff', initializeTariff);

	const selectDestination = type => {
		sendClientMessage('rodnoe-taxi.destinationType', type);
	}; // initializeDestination('Больница');
	// initializePrice(1200);
	// initializeTime(107);

	onDestroy(() => {
		unregisterInitializeDestination();
		unregisterInitializeTime();
		unregisterInitializePrice();
		unregisterInitializeTariff();
	});

	const click_handler = () => selectDestination('map');
	const click_handler_1 = () => selectDestination('gps');
	return [selectDestination, click_handler, click_handler_1];
}

class Destination_selector extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, destination_selector_index_svelte_instance, destination_selector_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const destination_selector_index_svelte = (Destination_selector);
;// CONCATENATED MODULE: ./src/views/phone/img/app/taxi-rodnoe/money.png
const money_namespaceObject = __webpack_require__.p + "assets/7f4ffb3a8ec2402b4c59.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/taxi-rodnoe/money-wallet.png
const money_wallet_namespaceObject = __webpack_require__.p + "assets/fcae9737ed15619fc45f.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/taxi-rodnoe/credit-card.png
const credit_card_namespaceObject = __webpack_require__.p + "assets/0003e403910b7c86d1d0.webp";
;// CONCATENATED MODULE: ./src/views/phone/apps/taxi-rodnoe/components/order-info/index.svelte
/* src\views\phone\apps\taxi-rodnoe\components\order-info\index.svelte generated by Svelte v3.49.0 */











function order_info_index_svelte_create_else_block(ctx) {
	let div;
	let t0_value = /*$selectedOrder*/ ctx[0].price + "";
	let t0;
	let t1;

	return {
		c() {
			div = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = internal_text("₽");
			attr(div, "class", "taxi-rodnoe-order-info__item-name");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t0);
			append(div, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*$selectedOrder*/ 1 && t0_value !== (t0_value = /*$selectedOrder*/ ctx[0].price + "")) set_data(t0, t0_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (41:16) {#if MAP_TARIFF_TO_PRICE[$selectedOrder.tariff] === 0}
function order_info_index_svelte_create_if_block_1(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "Бесплатно";
			attr(div, "class", "taxi-rodnoe-order-info__item-name");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (50:4) {#if !$selectedOrder.forFree}
function order_info_index_svelte_create_if_block(ctx) {
	let div0;
	let t1;
	let div7;
	let div3;
	let div2;
	let t3;
	let img0;
	let img0_src_value;
	let t4;
	let div6;
	let div5;
	let t6;
	let img1;
	let img1_src_value;
	let mounted;
	let dispose;

	return {
		c() {
			div0 = internal_element("div");
			div0.textContent = "Способы оплаты:";
			t1 = space();
			div7 = internal_element("div");
			div3 = internal_element("div");
			div2 = internal_element("div");
			div2.innerHTML = `<div class="taxi-rodnoe-order-info__item-name">Картой</div>`;
			t3 = space();
			img0 = internal_element("img");
			t4 = space();
			div6 = internal_element("div");
			div5 = internal_element("div");
			div5.innerHTML = `<div class="taxi-rodnoe-order-info__item-name">Наличные</div>`;
			t6 = space();
			img1 = internal_element("img");
			attr(div0, "class", "taxi-rodnoe-order-info__payment-caption");
			attr(div2, "class", "taxi-rodnoe-order-info__item-text");
			if (!src_url_equal(img0.src, img0_src_value = credit_card_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "credit-card");
			attr(img0, "class", "taxi-rodnoe-order-info__item-image");
			attr(img0, "draggable", "false");
			attr(div3, "class", "taxi-rodnoe-order-info__item");
			toggle_class(div3, "taxi-rodnoe-order-info__item--active", /*$selectedOrder*/ ctx[0].paymentType === 'card');
			attr(div5, "class", "taxi-rodnoe-order-info__item-text");
			if (!src_url_equal(img1.src, img1_src_value = money_wallet_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "money");
			attr(img1, "class", "taxi-rodnoe-order-info__item-image");
			attr(img1, "draggable", "false");
			attr(div6, "class", "taxi-rodnoe-order-info__item");
			toggle_class(div6, "taxi-rodnoe-order-info__item--active", /*$selectedOrder*/ ctx[0].paymentType === 'cash');
			attr(div7, "class", "taxi-rodnoe-order-info__payment-selector");
		},
		m(target, anchor) {
			insert(target, div0, anchor);
			insert(target, t1, anchor);
			insert(target, div7, anchor);
			append(div7, div3);
			append(div3, div2);
			append(div3, t3);
			append(div3, img0);
			append(div7, t4);
			append(div7, div6);
			append(div6, div5);
			append(div6, t6);
			append(div6, img1);

			if (!mounted) {
				dispose = [
					listen(div3, "click", /*click_handler*/ ctx[2]),
					listen(div6, "click", /*click_handler_1*/ ctx[3])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*$selectedOrder*/ 1) {
				toggle_class(div3, "taxi-rodnoe-order-info__item--active", /*$selectedOrder*/ ctx[0].paymentType === 'card');
			}

			if (dirty & /*$selectedOrder*/ 1) {
				toggle_class(div6, "taxi-rodnoe-order-info__item--active", /*$selectedOrder*/ ctx[0].paymentType === 'cash');
			}
		},
		d(detaching) {
			if (detaching) detach(div0);
			if (detaching) detach(t1);
			if (detaching) detach(div7);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function order_info_index_svelte_create_fragment(ctx) {
	let div14;
	let div0;
	let t1;
	let div4;
	let i;
	let t2;
	let div3;
	let div1;
	let t4;
	let div2;
	let t5_value = /*$selectedOrder*/ ctx[0].destination + "";
	let t5;
	let t6;
	let div12;
	let div8;
	let div7;
	let div5;
	let t8;
	let div6;
	let t9_value = MAP_TARIFF_TO_TITLE[/*$selectedOrder*/ ctx[0].tariff] + "";
	let t9;
	let t10;
	let img0;
	let img0_src_value;
	let t11;
	let div11;
	let div10;
	let div9;
	let t13;
	let t14;
	let img1;
	let img1_src_value;
	let t15;
	let t16;
	let div13;

	function select_block_type(ctx, dirty) {
		if (MAP_TARIFF_TO_PRICE[/*$selectedOrder*/ ctx[0].tariff] === 0) return order_info_index_svelte_create_if_block_1;
		return order_info_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block0 = current_block_type(ctx);
	let if_block1 = !/*$selectedOrder*/ ctx[0].forFree && order_info_index_svelte_create_if_block(ctx);

	return {
		c() {
			div14 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "Информация о заказе:";
			t1 = space();
			div4 = internal_element("div");
			i = internal_element("i");
			t2 = space();
			div3 = internal_element("div");
			div1 = internal_element("div");
			div1.textContent = "Пункт назначения";
			t4 = space();
			div2 = internal_element("div");
			t5 = internal_text(t5_value);
			t6 = space();
			div12 = internal_element("div");
			div8 = internal_element("div");
			div7 = internal_element("div");
			div5 = internal_element("div");
			div5.textContent = "Тариф";
			t8 = space();
			div6 = internal_element("div");
			t9 = internal_text(t9_value);
			t10 = space();
			img0 = internal_element("img");
			t11 = space();
			div11 = internal_element("div");
			div10 = internal_element("div");
			div9 = internal_element("div");
			div9.textContent = "Стоимость";
			t13 = space();
			if_block0.c();
			t14 = space();
			img1 = internal_element("img");
			t15 = space();
			if (if_block1) if_block1.c();
			t16 = space();
			div13 = internal_element("div");
			div13.innerHTML = `Игроки до 3 уровня перевозятся - <b>бесплатно!</b>`;
			attr(div0, "class", "taxi-rodnoe-order-info__caption");
			attr(i, "class", "taxi-rodnoe-order-info__destination-icon icon-geo-loc");
			attr(div1, "class", "taxi-rodnoe-order-info__destination-caption");
			attr(div2, "class", "taxi-rodnoe-order-info__destination-value");
			attr(div3, "class", "taxi-rodnoe-order-info__text");
			attr(div4, "class", "taxi-rodnoe-order-info__destination");
			attr(div5, "class", "taxi-rodnoe-order-info__item-caption");
			attr(div6, "class", "taxi-rodnoe-order-info__item-name");
			attr(div7, "class", "taxi-rodnoe-order-info__item-text");
			if (!src_url_equal(img0.src, img0_src_value = MAP_TARIFF_TO_IMAGE[/*$selectedOrder*/ ctx[0].tariff])) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "money");
			attr(img0, "class", "taxi-rodnoe-order-info__item-image");
			attr(img0, "draggable", "false");
			attr(div8, "class", "taxi-rodnoe-order-info__item taxi-rodnoe-order-info__item--tariff");
			attr(div9, "class", "taxi-rodnoe-order-info__item-caption");
			attr(div10, "class", "taxi-rodnoe-order-info__item-text");
			if (!src_url_equal(img1.src, img1_src_value = money_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "money");
			attr(img1, "class", "taxi-rodnoe-order-info__item-image");
			attr(img1, "draggable", "false");
			attr(div11, "class", "taxi-rodnoe-order-info__item taxi-rodnoe-order-info__item--money");
			attr(div12, "class", "taxi-rodnoe-order-info__selectors");
			attr(div13, "class", "taxi-rodnoe-order-info__low-level");
			attr(div14, "class", "taxi-rodnoe-order-info");
		},
		m(target, anchor) {
			insert(target, div14, anchor);
			append(div14, div0);
			append(div14, t1);
			append(div14, div4);
			append(div4, i);
			append(div4, t2);
			append(div4, div3);
			append(div3, div1);
			append(div3, t4);
			append(div3, div2);
			append(div2, t5);
			append(div14, t6);
			append(div14, div12);
			append(div12, div8);
			append(div8, div7);
			append(div7, div5);
			append(div7, t8);
			append(div7, div6);
			append(div6, t9);
			append(div8, t10);
			append(div8, img0);
			append(div12, t11);
			append(div12, div11);
			append(div11, div10);
			append(div10, div9);
			append(div10, t13);
			if_block0.m(div10, null);
			append(div11, t14);
			append(div11, img1);
			append(div14, t15);
			if (if_block1) if_block1.m(div14, null);
			append(div14, t16);
			append(div14, div13);
		},
		p(ctx, [dirty]) {
			if (dirty & /*$selectedOrder*/ 1 && t5_value !== (t5_value = /*$selectedOrder*/ ctx[0].destination + "")) set_data(t5, t5_value);
			if (dirty & /*$selectedOrder*/ 1 && t9_value !== (t9_value = MAP_TARIFF_TO_TITLE[/*$selectedOrder*/ ctx[0].tariff] + "")) set_data(t9, t9_value);

			if (dirty & /*$selectedOrder*/ 1 && !src_url_equal(img0.src, img0_src_value = MAP_TARIFF_TO_IMAGE[/*$selectedOrder*/ ctx[0].tariff])) {
				attr(img0, "src", img0_src_value);
			}

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block0) {
				if_block0.p(ctx, dirty);
			} else {
				if_block0.d(1);
				if_block0 = current_block_type(ctx);

				if (if_block0) {
					if_block0.c();
					if_block0.m(div10, null);
				}
			}

			if (!/*$selectedOrder*/ ctx[0].forFree) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = order_info_index_svelte_create_if_block(ctx);
					if_block1.c();
					if_block1.m(div14, t16);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div14);
			if_block0.d();
			if (if_block1) if_block1.d();
		}
	};
}

function order_info_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedOrder;
	component_subscribe($$self, selectedOrder, $$value => $$invalidate(0, $selectedOrder = $$value));

	const selectPaymentType = type => {
		set_store_value(selectedOrder, $selectedOrder.paymentType = type, $selectedOrder);
	};

	const click_handler = () => selectPaymentType(PaymentTypes.Card);
	const click_handler_1 = () => selectPaymentType(PaymentTypes.Cash);
	return [$selectedOrder, selectPaymentType, click_handler, click_handler_1];
}

class Order_info extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, order_info_index_svelte_instance, order_info_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const order_info_index_svelte = (Order_info);
;// CONCATENATED MODULE: ./src/views/phone/img/app/taxi-rodnoe/taxi-orange.png
const taxi_orange_namespaceObject = __webpack_require__.p + "assets/50c999be584f2c7f4dbc.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/taxi-rodnoe/avatar-passenger.png
const avatar_passenger_namespaceObject = __webpack_require__.p + "assets/e6241295d270ba521390.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/taxi-rodnoe/avatar-driver.png
const avatar_driver_namespaceObject = __webpack_require__.p + "assets/7d50a1468d37fb7fea7e.webp";
;// CONCATENATED MODULE: ./src/views/phone/apps/taxi-rodnoe/stats-map.js
function stats_map_typeof(o) { "@babel/helpers - typeof"; return stats_map_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, stats_map_typeof(o); }
function stats_map_defineProperty(e, r, t) { return (r = stats_map_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function stats_map_toPropertyKey(t) { var i = stats_map_toPrimitive(t, "string"); return "symbol" == stats_map_typeof(i) ? i : i + ""; }
function stats_map_toPrimitive(t, r) { if ("object" != stats_map_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != stats_map_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }



var MAP_USER_TYPE_TO_TITLE = stats_map_defineProperty(stats_map_defineProperty({}, UserTypes.Passenger, 'Клиент'), UserTypes.Driver, 'Водитель');
var MAP_USER_TYPE_TO_ORDER_CAPTION = stats_map_defineProperty(stats_map_defineProperty({}, UserTypes.Passenger, 'Создано'), UserTypes.Driver, 'Выполнено');
var MAP_USER_TYPE_TO_SPENT_CAPTION = stats_map_defineProperty(stats_map_defineProperty({}, UserTypes.Passenger, 'всего потрачено'), UserTypes.Driver, 'Заработано');
var MAP_USER_TYPE_TO_AVATAR = stats_map_defineProperty(stats_map_defineProperty({}, UserTypes.Passenger, avatar_passenger_namespaceObject), UserTypes.Driver, avatar_driver_namespaceObject);
;// CONCATENATED MODULE: ./src/views/phone/apps/taxi-rodnoe/components/order-proceed/index.svelte
/* src\views\phone\apps\taxi-rodnoe\components\order-proceed\index.svelte generated by Svelte v3.49.0 */
















// import { DRIVER_INFO_MOCK } from '../../mock';


function order_proceed_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[17] = list[i];
	child_ctx[19] = i;
	return child_ctx;
}

// (88:8) {#if $orderStatus === OrderStatuses.Finding || ($orderStatus === OrderStatuses.Finish && $currentRole === UserTypes.Driver)}
function index_svelte_create_if_block_11(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "taxi-rodnoe-order-proceed__status-icon icon-check");
			toggle_class(i, "taxi-rodnoe-order-proceed__status-icon--green", /*$currentRole*/ ctx[3] === UserTypes.Driver);
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*$currentRole, UserTypes*/ 8) {
				toggle_class(i, "taxi-rodnoe-order-proceed__status-icon--green", /*$currentRole*/ ctx[3] === UserTypes.Driver);
			}
		},
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (93:90) 
function index_svelte_create_if_block_10(ctx) {
	let div;
	let t_value = /*$selectedOrder*/ ctx[2].user + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "taxi-rodnoe-order-proceed__status-value");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*$selectedOrder*/ 4 && t_value !== (t_value = /*$selectedOrder*/ ctx[2].user + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (91:8) {#if !isEmpty(MAP_STATUS_TO_HEADER_TEXT[$currentRole][$orderStatus])}
function index_svelte_create_if_block_9(ctx) {
	let div;
	let t_value = MAP_STATUS_TO_HEADER_TEXT[/*$currentRole*/ ctx[3]][/*$orderStatus*/ ctx[6]] + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "taxi-rodnoe-order-proceed__status-value");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*$currentRole, $orderStatus*/ 72 && t_value !== (t_value = MAP_STATUS_TO_HEADER_TEXT[/*$currentRole*/ ctx[3]][/*$orderStatus*/ ctx[6]] + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (96:8) {#if !isEmpty(MAP_STATUS_TO_HEADER_SUB_TEXT[$currentRole][$orderStatus])}
function index_svelte_create_if_block_8(ctx) {
	let div;
	let t_value = MAP_STATUS_TO_HEADER_SUB_TEXT[/*$currentRole*/ ctx[3]][/*$orderStatus*/ ctx[6]] + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "taxi-rodnoe-order-proceed__status-caption");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*$currentRole, $orderStatus*/ 72 && t_value !== (t_value = MAP_STATUS_TO_HEADER_SUB_TEXT[/*$currentRole*/ ctx[3]][/*$orderStatus*/ ctx[6]] + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (100:4) {#if $orderStatus !== OrderStatuses.Finish && $timeLeft > 0}
function order_proceed_index_svelte_create_if_block_6(ctx) {
	let div1;
	let div0;
	let t0_value = /*formatSecondsToMmSs*/ ctx[0](/*$timeLeft*/ ctx[4]) + "";
	let t0;
	let t1;

	function select_block_type_1(ctx, dirty) {
		if (/*$timeLeft*/ ctx[4] === 0) return index_svelte_create_if_block_7;
		return order_proceed_index_svelte_create_else_block_1;
	}

	let current_block_type = select_block_type_1(ctx, -1);
	let if_block = current_block_type(ctx);

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			if_block.c();
			attr(div0, "class", "taxi-rodnoe-order-proceed__timer");
			attr(div1, "class", "taxi-rodnoe-order-proceed__countdown");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, t0);
			append(div1, t1);
			if_block.m(div1, null);
		},
		p(ctx, dirty) {
			if (dirty & /*$timeLeft*/ 16 && t0_value !== (t0_value = /*formatSecondsToMmSs*/ ctx[0](/*$timeLeft*/ ctx[4]) + "")) set_data(t0, t0_value);

			if (current_block_type !== (current_block_type = select_block_type_1(ctx, dirty))) {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div1, null);
				}
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			if_block.d();
		}
	};
}

// (105:12) {:else}
function order_proceed_index_svelte_create_else_block_1(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "Время до возможности отмены заказа";
			attr(div, "class", "taxi-rodnoe-order-proceed__timer-caption");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (103:12) {#if $timeLeft === 0}
function index_svelte_create_if_block_7(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `Заказ <br/> можно отменить`;
			attr(div, "class", "taxi-rodnoe-order-proceed__timer-caption");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (110:4) {#if $orderStatus === OrderStatuses.Driving || $orderStatus === OrderStatuses.Finish}
function order_proceed_index_svelte_create_if_block_5(ctx) {
	let div4;
	let div2;
	let div0;
	let t0_value = /*$selectedOrder*/ ctx[2].title + "";
	let t0;
	let t1;
	let div1;
	let t2_value = /*$selectedOrder*/ ctx[2].user + "";
	let t2;
	let t3;
	let div3;
	let i;
	let t4_value = /*$selectedOrder*/ ctx[2].rating + "";
	let t4;
	let t5;
	let img;
	let img_src_value;
	let img_alt_value;

	return {
		c() {
			div4 = internal_element("div");
			div2 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			div1 = internal_element("div");
			t2 = internal_text(t2_value);
			t3 = space();
			div3 = internal_element("div");
			i = internal_element("i");
			t4 = internal_text(t4_value);
			t5 = space();
			img = internal_element("img");
			attr(div0, "class", "taxi-rodnoe-order-proceed__driver-caption");
			attr(div1, "class", "taxi-rodnoe-order-proceed__driver-model");
			attr(div2, "class", "taxi-rodnoe-order-proceed__text");
			attr(i, "class", "taxi-rodnoe-order-proceed__rating-icon icon-star");
			attr(div3, "class", "taxi-rodnoe-order-proceed__driver-rating");
			if (!src_url_equal(img.src, img_src_value = /*$selectedOrder*/ ctx[2].avatar)) attr(img, "src", img_src_value);
			attr(img, "alt", img_alt_value = /*$selectedOrder*/ ctx[2].title);
			attr(img, "class", "taxi-rodnoe-order-proceed__driver-image");
			attr(img, "draggable", "false");
			attr(div4, "class", "taxi-rodnoe-order-proceed__driver");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div2);
			append(div2, div0);
			append(div0, t0);
			append(div2, t1);
			append(div2, div1);
			append(div1, t2);
			append(div4, t3);
			append(div4, div3);
			append(div3, i);
			append(div3, t4);
			append(div4, t5);
			append(div4, img);
		},
		p(ctx, dirty) {
			if (dirty & /*$selectedOrder*/ 4 && t0_value !== (t0_value = /*$selectedOrder*/ ctx[2].title + "")) set_data(t0, t0_value);
			if (dirty & /*$selectedOrder*/ 4 && t2_value !== (t2_value = /*$selectedOrder*/ ctx[2].user + "")) set_data(t2, t2_value);
			if (dirty & /*$selectedOrder*/ 4 && t4_value !== (t4_value = /*$selectedOrder*/ ctx[2].rating + "")) set_data(t4, t4_value);

			if (dirty & /*$selectedOrder*/ 4 && !src_url_equal(img.src, img_src_value = /*$selectedOrder*/ ctx[2].avatar)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*$selectedOrder*/ 4 && img_alt_value !== (img_alt_value = /*$selectedOrder*/ ctx[2].title)) {
				attr(img, "alt", img_alt_value);
			}
		},
		d(detaching) {
			if (detaching) detach(div4);
		}
	};
}

// (120:4) {#if $orderStatus !== OrderStatuses.Finding && $currentRole === UserTypes.Passenger}
function order_proceed_index_svelte_create_if_block_4(ctx) {
	let div4;
	let div2;
	let div0;
	let t1;
	let div1;
	let t2_value = /*$selectedOrder*/ ctx[2].carModel + "";
	let t2;
	let t3;
	let div3;
	let t4_value = /*$selectedOrder*/ ctx[2].carNumber + "";
	let t4;
	let t5;
	let img;
	let img_src_value;

	return {
		c() {
			div4 = internal_element("div");
			div2 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "Автомобиль";
			t1 = space();
			div1 = internal_element("div");
			t2 = internal_text(t2_value);
			t3 = space();
			div3 = internal_element("div");
			t4 = internal_text(t4_value);
			t5 = space();
			img = internal_element("img");
			attr(div0, "class", "taxi-rodnoe-order-proceed__car-caption");
			attr(div1, "class", "taxi-rodnoe-order-proceed__car-model");
			attr(div2, "class", "taxi-rodnoe-order-proceed__text");
			attr(div3, "class", "taxi-rodnoe-order-proceed__car-number");
			if (!src_url_equal(img.src, img_src_value = taxi_orange_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "car");
			attr(img, "class", "taxi-rodnoe-order-proceed__car-image");
			attr(img, "draggable", "false");
			attr(div4, "class", "taxi-rodnoe-order-proceed__car");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div2);
			append(div2, div0);
			append(div2, t1);
			append(div2, div1);
			append(div1, t2);
			append(div4, t3);
			append(div4, div3);
			append(div3, t4);
			append(div4, t5);
			append(div4, img);
		},
		p(ctx, dirty) {
			if (dirty & /*$selectedOrder*/ 4 && t2_value !== (t2_value = /*$selectedOrder*/ ctx[2].carModel + "")) set_data(t2, t2_value);
			if (dirty & /*$selectedOrder*/ 4 && t4_value !== (t4_value = /*$selectedOrder*/ ctx[2].carNumber + "")) set_data(t4, t4_value);
		},
		d(detaching) {
			if (detaching) detach(div4);
		}
	};
}

// (130:4) {#if $orderStatus !== OrderStatuses.Driving && $currentRole === UserTypes.Driver}
function order_proceed_index_svelte_create_if_block_3(ctx) {
	let div3;
	let i;
	let t0;
	let div2;
	let div0;
	let t2;
	let div1;
	let t3_value = /*$selectedOrder*/ ctx[2].start + "";
	let t3;

	return {
		c() {
			div3 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div2 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "Пункт подачи";
			t2 = space();
			div1 = internal_element("div");
			t3 = internal_text(t3_value);
			attr(i, "class", "taxi-rodnoe-order-proceed__start-icon icon-geo-loc");
			attr(div0, "class", "taxi-rodnoe-order-proceed__start-caption");
			attr(div1, "class", "taxi-rodnoe-order-proceed__start-value");
			attr(div2, "class", "taxi-rodnoe-order-proceed__text");
			attr(div3, "class", "taxi-rodnoe-order-proceed__start");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, i);
			append(div3, t0);
			append(div3, div2);
			append(div2, div0);
			append(div2, t2);
			append(div2, div1);
			append(div1, t3);
		},
		p(ctx, dirty) {
			if (dirty & /*$selectedOrder*/ 4 && t3_value !== (t3_value = /*$selectedOrder*/ ctx[2].start + "")) set_data(t3, t3_value);
		},
		d(detaching) {
			if (detaching) detach(div3);
		}
	};
}

// (159:16) {:else}
function order_proceed_index_svelte_create_else_block(ctx) {
	let div;
	let t0_value = /*$selectedOrder*/ ctx[2].price + "";
	let t0;
	let t1;

	return {
		c() {
			div = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = internal_text("₽");
			attr(div, "class", "taxi-rodnoe-order-proceed__item-name");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t0);
			append(div, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*$selectedOrder*/ 4 && t0_value !== (t0_value = /*$selectedOrder*/ ctx[2].price + "")) set_data(t0, t0_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (157:16) {#if MAP_TARIFF_TO_PRICE[$selectedOrder.tariff] === 0 && $currentRole === UserTypes.Passenger}
function order_proceed_index_svelte_create_if_block_2(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "Бесплатно";
			attr(div, "class", "taxi-rodnoe-order-proceed__item-name");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (166:4) {#if $orderStatus === OrderStatuses.Finish}
function order_proceed_index_svelte_create_if_block(ctx) {
	let t0;
	let div2;
	let div0;
	let t2;
	let div1;
	let if_block = /*$currentRole*/ ctx[3] === UserTypes.Passenger && order_proceed_index_svelte_create_if_block_1(ctx);
	let each_value = Array(5);
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = order_proceed_index_svelte_create_each_block(order_proceed_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			if (if_block) if_block.c();
			t0 = space();
			div2 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "Ваша оценка:";
			t2 = space();
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div0, "class", "taxi-rodnoe-order-proceed__rate-caption");
			attr(div1, "class", "taxi-rodnoe-order-proceed__rate-selector");
			attr(div2, "class", "taxi-rodnoe-order-proceed__rate");
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, t0, anchor);
			insert(target, div2, anchor);
			append(div2, div0);
			append(div2, t2);
			append(div2, div1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}
		},
		p(ctx, dirty) {
			if (/*$currentRole*/ ctx[3] === UserTypes.Passenger) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = order_proceed_index_svelte_create_if_block_1(ctx);
					if_block.c();
					if_block.m(t0.parentNode, t0);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (dirty & /*$selectedRating, selectRating*/ 288) {
				each_value = Array(5);
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = order_proceed_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = order_proceed_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div1, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(t0);
			if (detaching) detach(div2);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (167:8) {#if $currentRole === UserTypes.Passenger}
function order_proceed_index_svelte_create_if_block_1(ctx) {
	let div;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "Оставить чаевые";
			attr(div, "class", "taxi-rodnoe-order-proceed__tips");
			toggle_class(div, "taxi-rodnoe-order-proceed__tips--disabled", /*tipsDisabled*/ ctx[1]);
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = listen(div, "click", /*sendTips*/ ctx[7]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*tipsDisabled*/ 2) {
				toggle_class(div, "taxi-rodnoe-order-proceed__tips--disabled", /*tipsDisabled*/ ctx[1]);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (173:16) {#each Array(5) as star, i}
function order_proceed_index_svelte_create_each_block(ctx) {
	let i_1;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[9](/*i*/ ctx[19]);
	}

	return {
		c() {
			i_1 = internal_element("i");
			attr(i_1, "class", "taxi-rodnoe-order-proceed__rate-icon icon-star");
			toggle_class(i_1, "taxi-rodnoe-order-proceed__rate-icon--active", /*$selectedRating*/ ctx[5] > /*i*/ ctx[19]);
		},
		m(target, anchor) {
			insert(target, i_1, anchor);

			if (!mounted) {
				dispose = listen(i_1, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*$selectedRating*/ 32) {
				toggle_class(i_1, "taxi-rodnoe-order-proceed__rate-icon--active", /*$selectedRating*/ ctx[5] > /*i*/ ctx[19]);
			}
		},
		d(detaching) {
			if (detaching) detach(i_1);
			mounted = false;
			dispose();
		}
	};
}

function order_proceed_index_svelte_create_fragment(ctx) {
	let div13;
	let div0;
	let t0;
	let show_if_1;
	let show_if_2;
	let t1;
	let show_if = !(0,lodash.isEmpty)(MAP_STATUS_TO_HEADER_SUB_TEXT[/*$currentRole*/ ctx[3]][/*$orderStatus*/ ctx[6]]);
	let t2;
	let t3;
	let t4;
	let t5;
	let t6;
	let div4;
	let i;
	let t7;
	let div3;
	let div1;
	let t9;
	let div2;
	let t10_value = /*$selectedOrder*/ ctx[2].destination + "";
	let t10;
	let t11;
	let div12;
	let div8;
	let div7;
	let div5;
	let t13;
	let div6;
	let t14_value = MAP_TARIFF_TO_TITLE[/*$selectedOrder*/ ctx[2].tariff] + "";
	let t14;
	let t15;
	let img0;
	let img0_src_value;
	let img0_alt_value;
	let t16;
	let div11;
	let div10;
	let div9;
	let t18;
	let t19;
	let img1;
	let img1_src_value;
	let t20;
	let if_block0 = (/*$orderStatus*/ ctx[6] === OrderStatuses.Finding || /*$orderStatus*/ ctx[6] === OrderStatuses.Finish && /*$currentRole*/ ctx[3] === UserTypes.Driver) && index_svelte_create_if_block_11(ctx);

	function select_block_type(ctx, dirty) {
		if (dirty & /*$currentRole, $orderStatus*/ 72) show_if_1 = null;
		if (dirty & /*$selectedOrder, $orderStatus*/ 68) show_if_2 = null;
		if (show_if_1 == null) show_if_1 = !!!(0,lodash.isEmpty)(MAP_STATUS_TO_HEADER_TEXT[/*$currentRole*/ ctx[3]][/*$orderStatus*/ ctx[6]]);
		if (show_if_1) return index_svelte_create_if_block_9;
		if (show_if_2 == null) show_if_2 = !!(!(0,lodash.isEmpty)(/*$selectedOrder*/ ctx[2].user) && /*$orderStatus*/ ctx[6] === OrderStatuses.Waiting);
		if (show_if_2) return index_svelte_create_if_block_10;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block1 = current_block_type && current_block_type(ctx);
	let if_block2 = show_if && index_svelte_create_if_block_8(ctx);
	let if_block3 = /*$orderStatus*/ ctx[6] !== OrderStatuses.Finish && /*$timeLeft*/ ctx[4] > 0 && order_proceed_index_svelte_create_if_block_6(ctx);
	let if_block4 = (/*$orderStatus*/ ctx[6] === OrderStatuses.Driving || /*$orderStatus*/ ctx[6] === OrderStatuses.Finish) && order_proceed_index_svelte_create_if_block_5(ctx);
	let if_block5 = /*$orderStatus*/ ctx[6] !== OrderStatuses.Finding && /*$currentRole*/ ctx[3] === UserTypes.Passenger && order_proceed_index_svelte_create_if_block_4(ctx);
	let if_block6 = /*$orderStatus*/ ctx[6] !== OrderStatuses.Driving && /*$currentRole*/ ctx[3] === UserTypes.Driver && order_proceed_index_svelte_create_if_block_3(ctx);

	function select_block_type_2(ctx, dirty) {
		if (MAP_TARIFF_TO_PRICE[/*$selectedOrder*/ ctx[2].tariff] === 0 && /*$currentRole*/ ctx[3] === UserTypes.Passenger) return order_proceed_index_svelte_create_if_block_2;
		return order_proceed_index_svelte_create_else_block;
	}

	let current_block_type_1 = select_block_type_2(ctx, -1);
	let if_block7 = current_block_type_1(ctx);
	let if_block8 = /*$orderStatus*/ ctx[6] === OrderStatuses.Finish && order_proceed_index_svelte_create_if_block(ctx);

	return {
		c() {
			div13 = internal_element("div");
			div0 = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			if (if_block1) if_block1.c();
			t1 = space();
			if (if_block2) if_block2.c();
			t2 = space();
			if (if_block3) if_block3.c();
			t3 = space();
			if (if_block4) if_block4.c();
			t4 = space();
			if (if_block5) if_block5.c();
			t5 = space();
			if (if_block6) if_block6.c();
			t6 = space();
			div4 = internal_element("div");
			i = internal_element("i");
			t7 = space();
			div3 = internal_element("div");
			div1 = internal_element("div");
			div1.textContent = "Пункт назначения";
			t9 = space();
			div2 = internal_element("div");
			t10 = internal_text(t10_value);
			t11 = space();
			div12 = internal_element("div");
			div8 = internal_element("div");
			div7 = internal_element("div");
			div5 = internal_element("div");
			div5.textContent = "Тариф";
			t13 = space();
			div6 = internal_element("div");
			t14 = internal_text(t14_value);
			t15 = space();
			img0 = internal_element("img");
			t16 = space();
			div11 = internal_element("div");
			div10 = internal_element("div");
			div9 = internal_element("div");
			div9.textContent = "Стоимость";
			t18 = space();
			if_block7.c();
			t19 = space();
			img1 = internal_element("img");
			t20 = space();
			if (if_block8) if_block8.c();
			attr(div0, "class", "taxi-rodnoe-order-proceed__status");
			attr(i, "class", "taxi-rodnoe-order-proceed__destination-icon icon-geo-loc");
			attr(div1, "class", "taxi-rodnoe-order-proceed__destination-caption");
			attr(div2, "class", "taxi-rodnoe-order-proceed__destination-value");
			attr(div3, "class", "taxi-rodnoe-order-proceed__text");
			attr(div4, "class", "taxi-rodnoe-order-proceed__destination");
			attr(div5, "class", "taxi-rodnoe-order-proceed__item-caption");
			attr(div6, "class", "taxi-rodnoe-order-proceed__item-name");
			attr(div7, "class", "taxi-rodnoe-order-proceed__item-text");
			if (!src_url_equal(img0.src, img0_src_value = MAP_TARIFF_TO_IMAGE[/*$selectedOrder*/ ctx[2].tariff])) attr(img0, "src", img0_src_value);
			attr(img0, "alt", img0_alt_value = /*$selectedOrder*/ ctx[2].tariff);
			attr(img0, "class", "taxi-rodnoe-order-proceed__item-image");
			attr(img0, "draggable", "false");
			attr(div8, "class", "taxi-rodnoe-order-proceed__item taxi-rodnoe-order-proceed__item--tariff");
			attr(div9, "class", "taxi-rodnoe-order-proceed__item-caption");
			attr(div10, "class", "taxi-rodnoe-order-proceed__item-text");
			if (!src_url_equal(img1.src, img1_src_value = money_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "money");
			attr(img1, "class", "taxi-rodnoe-order-proceed__item-image");
			attr(img1, "draggable", "false");
			attr(div11, "class", "taxi-rodnoe-order-proceed__item taxi-rodnoe-order-proceed__item--money");
			attr(div12, "class", "taxi-rodnoe-order-proceed__selectors");
			attr(div13, "class", "taxi-rodnoe-order-proceed");
		},
		m(target, anchor) {
			insert(target, div13, anchor);
			append(div13, div0);
			if (if_block0) if_block0.m(div0, null);
			append(div0, t0);
			if (if_block1) if_block1.m(div0, null);
			append(div0, t1);
			if (if_block2) if_block2.m(div0, null);
			append(div13, t2);
			if (if_block3) if_block3.m(div13, null);
			append(div13, t3);
			if (if_block4) if_block4.m(div13, null);
			append(div13, t4);
			if (if_block5) if_block5.m(div13, null);
			append(div13, t5);
			if (if_block6) if_block6.m(div13, null);
			append(div13, t6);
			append(div13, div4);
			append(div4, i);
			append(div4, t7);
			append(div4, div3);
			append(div3, div1);
			append(div3, t9);
			append(div3, div2);
			append(div2, t10);
			append(div13, t11);
			append(div13, div12);
			append(div12, div8);
			append(div8, div7);
			append(div7, div5);
			append(div7, t13);
			append(div7, div6);
			append(div6, t14);
			append(div8, t15);
			append(div8, img0);
			append(div12, t16);
			append(div12, div11);
			append(div11, div10);
			append(div10, div9);
			append(div10, t18);
			if_block7.m(div10, null);
			append(div11, t19);
			append(div11, img1);
			append(div13, t20);
			if (if_block8) if_block8.m(div13, null);
		},
		p(ctx, [dirty]) {
			if (/*$orderStatus*/ ctx[6] === OrderStatuses.Finding || /*$orderStatus*/ ctx[6] === OrderStatuses.Finish && /*$currentRole*/ ctx[3] === UserTypes.Driver) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = index_svelte_create_if_block_11(ctx);
					if_block0.c();
					if_block0.m(div0, t0);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block1) {
				if_block1.p(ctx, dirty);
			} else {
				if (if_block1) if_block1.d(1);
				if_block1 = current_block_type && current_block_type(ctx);

				if (if_block1) {
					if_block1.c();
					if_block1.m(div0, t1);
				}
			}

			if (dirty & /*$currentRole, $orderStatus*/ 72) show_if = !(0,lodash.isEmpty)(MAP_STATUS_TO_HEADER_SUB_TEXT[/*$currentRole*/ ctx[3]][/*$orderStatus*/ ctx[6]]);

			if (show_if) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = index_svelte_create_if_block_8(ctx);
					if_block2.c();
					if_block2.m(div0, null);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			if (/*$orderStatus*/ ctx[6] !== OrderStatuses.Finish && /*$timeLeft*/ ctx[4] > 0) {
				if (if_block3) {
					if_block3.p(ctx, dirty);
				} else {
					if_block3 = order_proceed_index_svelte_create_if_block_6(ctx);
					if_block3.c();
					if_block3.m(div13, t3);
				}
			} else if (if_block3) {
				if_block3.d(1);
				if_block3 = null;
			}

			if (/*$orderStatus*/ ctx[6] === OrderStatuses.Driving || /*$orderStatus*/ ctx[6] === OrderStatuses.Finish) {
				if (if_block4) {
					if_block4.p(ctx, dirty);
				} else {
					if_block4 = order_proceed_index_svelte_create_if_block_5(ctx);
					if_block4.c();
					if_block4.m(div13, t4);
				}
			} else if (if_block4) {
				if_block4.d(1);
				if_block4 = null;
			}

			if (/*$orderStatus*/ ctx[6] !== OrderStatuses.Finding && /*$currentRole*/ ctx[3] === UserTypes.Passenger) {
				if (if_block5) {
					if_block5.p(ctx, dirty);
				} else {
					if_block5 = order_proceed_index_svelte_create_if_block_4(ctx);
					if_block5.c();
					if_block5.m(div13, t5);
				}
			} else if (if_block5) {
				if_block5.d(1);
				if_block5 = null;
			}

			if (/*$orderStatus*/ ctx[6] !== OrderStatuses.Driving && /*$currentRole*/ ctx[3] === UserTypes.Driver) {
				if (if_block6) {
					if_block6.p(ctx, dirty);
				} else {
					if_block6 = order_proceed_index_svelte_create_if_block_3(ctx);
					if_block6.c();
					if_block6.m(div13, t6);
				}
			} else if (if_block6) {
				if_block6.d(1);
				if_block6 = null;
			}

			if (dirty & /*$selectedOrder*/ 4 && t10_value !== (t10_value = /*$selectedOrder*/ ctx[2].destination + "")) set_data(t10, t10_value);
			if (dirty & /*$selectedOrder*/ 4 && t14_value !== (t14_value = MAP_TARIFF_TO_TITLE[/*$selectedOrder*/ ctx[2].tariff] + "")) set_data(t14, t14_value);

			if (dirty & /*$selectedOrder*/ 4 && !src_url_equal(img0.src, img0_src_value = MAP_TARIFF_TO_IMAGE[/*$selectedOrder*/ ctx[2].tariff])) {
				attr(img0, "src", img0_src_value);
			}

			if (dirty & /*$selectedOrder*/ 4 && img0_alt_value !== (img0_alt_value = /*$selectedOrder*/ ctx[2].tariff)) {
				attr(img0, "alt", img0_alt_value);
			}

			if (current_block_type_1 === (current_block_type_1 = select_block_type_2(ctx, dirty)) && if_block7) {
				if_block7.p(ctx, dirty);
			} else {
				if_block7.d(1);
				if_block7 = current_block_type_1(ctx);

				if (if_block7) {
					if_block7.c();
					if_block7.m(div10, null);
				}
			}

			if (/*$orderStatus*/ ctx[6] === OrderStatuses.Finish) {
				if (if_block8) {
					if_block8.p(ctx, dirty);
				} else {
					if_block8 = order_proceed_index_svelte_create_if_block(ctx);
					if_block8.c();
					if_block8.m(div13, null);
				}
			} else if (if_block8) {
				if_block8.d(1);
				if_block8 = null;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div13);
			if (if_block0) if_block0.d();

			if (if_block1) {
				if_block1.d();
			}

			if (if_block2) if_block2.d();
			if (if_block3) if_block3.d();
			if (if_block4) if_block4.d();
			if (if_block5) if_block5.d();
			if (if_block6) if_block6.d();
			if_block7.d();
			if (if_block8) if_block8.d();
		}
	};
}

function order_proceed_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedOrder;
	let $currentRole;
	let $timeLeft;
	let $selectedRating;
	let $orderStatus;
	component_subscribe($$self, selectedOrder, $$value => $$invalidate(2, $selectedOrder = $$value));
	component_subscribe($$self, currentRole, $$value => $$invalidate(3, $currentRole = $$value));
	component_subscribe($$self, timeLeft, $$value => $$invalidate(4, $timeLeft = $$value));
	component_subscribe($$self, selectedRating, $$value => $$invalidate(5, $selectedRating = $$value));
	component_subscribe($$self, orderStatus, $$value => $$invalidate(6, $orderStatus = $$value));
	let tipsDisabled = false;
	let timerInterval = null;

	const sendTips = () => {
		sendClientMessage('rodnoe-taxi.sendTips');
		$$invalidate(1, tipsDisabled = true);
	};

	const selectRating = value => {
		set_store_value(selectedRating, $selectedRating = $selectedRating === value ? 0 : value, $selectedRating);
	};

	const formatSecondsToMmSs = seconds => {
		const timeMinutes = Math.floor(seconds / 60).toString().padStart(2, '0');
		const timeSeconds = (seconds % 60).toString().padStart(2, '0');
		return `${timeMinutes}:${timeSeconds}`;
	};

	const initializeDriver = driverData => {
		Object.assign($selectedOrder, driverData);
	};

	const unregisterInitializeDriver = registerEvent('event.rodnoeTaxiApp.initializeDriver', initializeDriver);

	const enableTipsButton = () => {
		$$invalidate(1, tipsDisabled = false);
	};

	const unregisterEnableTipsButton = registerEvent('event.rodnoeTaxiApp.enableTipsButton', enableTipsButton);

	const startTimerInterval = () => {
		set_store_value(timeLeft, $timeLeft = $selectedOrder.time - moment_default()().unix(), $timeLeft);

		if ((0,lodash.isNil)(timerInterval)) {
			timerInterval = setInterval(
				() => {
					if ($timeLeft < 1) {
						clearInterval(timerInterval);
						timerInterval = null;
						return;
					}

					set_store_value(timeLeft, $timeLeft -= 1, $timeLeft);
				},
				1000
			);
		}
	};

	const unregisterStartTimerInterval = registerEvent('event.rodnoeTaxiApp.startTimerInterval', startTimerInterval);

	onMount(() => {
		if ($currentRole === UserTypes.Passenger) {
			set_store_value(selectedOrder, $selectedOrder.avatar = MAP_USER_TYPE_TO_AVATAR[UserTypes.Driver], $selectedOrder);
			set_store_value(selectedOrder, $selectedOrder.title = MAP_USER_TYPE_TO_TITLE[UserTypes.Driver], $selectedOrder);
		} else {
			set_store_value(selectedOrder, $selectedOrder.title = MAP_USER_TYPE_TO_TITLE[UserTypes.Passenger], $selectedOrder); // initializeDriver(DRIVER_INFO_MOCK);
			set_store_value(selectedOrder, $selectedOrder.avatar = MAP_USER_TYPE_TO_AVATAR[UserTypes.Passenger], $selectedOrder);
		}
	});

	onDestroy(() => {
		unregisterInitializeDriver();
		unregisterEnableTipsButton();
		unregisterStartTimerInterval();
	});

	const click_handler = i => selectRating(i + 1);

	return [
		formatSecondsToMmSs,
		tipsDisabled,
		$selectedOrder,
		$currentRole,
		$timeLeft,
		$selectedRating,
		$orderStatus,
		sendTips,
		selectRating,
		click_handler
	];
}

class Order_proceed extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, order_proceed_index_svelte_instance, order_proceed_index_svelte_create_fragment, safe_not_equal, { formatSecondsToMmSs: 0 });
	}

	get formatSecondsToMmSs() {
		return this.$$.ctx[0];
	}
}

/* harmony default export */ const order_proceed_index_svelte = (Order_proceed);
;// CONCATENATED MODULE: ./src/views/phone/apps/taxi-rodnoe/order-map.js
function order_map_typeof(o) { "@babel/helpers - typeof"; return order_map_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, order_map_typeof(o); }
function order_map_defineProperty(e, r, t) { return (r = order_map_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function order_map_toPropertyKey(t) { var i = order_map_toPrimitive(t, "string"); return "symbol" == order_map_typeof(i) ? i : i + ""; }
function order_map_toPrimitive(t, r) { if ("object" != order_map_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != order_map_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }





var MAP_STATUS_TO_COMPONENT = order_map_defineProperty(order_map_defineProperty(order_map_defineProperty(order_map_defineProperty(order_map_defineProperty(order_map_defineProperty(order_map_defineProperty(order_map_defineProperty({}, OrderStatuses.SelectTariff, tariff_selector_index_svelte), OrderStatuses.SelectGeo, destination_selector_index_svelte), OrderStatuses.SelectPayment, order_info_index_svelte), OrderStatuses.Check, order_proceed_index_svelte), OrderStatuses.Finding, order_proceed_index_svelte), OrderStatuses.Waiting, order_proceed_index_svelte), OrderStatuses.Driving, order_proceed_index_svelte), OrderStatuses.Finish, order_proceed_index_svelte);
;// CONCATENATED MODULE: ./src/views/phone/apps/taxi-rodnoe/components/passenger/index.svelte
/* src\views\phone\apps\taxi-rodnoe\components\passenger\index.svelte generated by Svelte v3.49.0 */















function passenger_index_svelte_create_if_block_1(ctx) {
	let div;
	let div_intro;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "Выберите способ оплаты";
			attr(div, "class", "rodnoe-taxi-passenger__payment-message");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		i(local) {
			if (!div_intro) {
				add_render_callback(() => {
					div_intro = create_in_transition(div, fade, {});
					div_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (142:4) {#if ($orderStatus !== OrderStatuses.SelectTariff && $orderStatus !== OrderStatuses.SelectGeo && $timeLeft < 1)          || $orderStatus === OrderStatuses.Finish || $orderStatus === OrderStatuses.Check}
function passenger_index_svelte_create_if_block(ctx) {
	let div;
	let t_value = MAP_STATUS_TO_BUTTON_TEXT[/*$currentRole*/ ctx[4]][/*$orderStatus*/ ctx[3]] + "";
	let t;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "rodnoe-taxi-passenger__bottom");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);

			if (!mounted) {
				dispose = listen(div, "click", /*click_handler*/ ctx[8]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*$currentRole, $orderStatus*/ 24 && t_value !== (t_value = MAP_STATUS_TO_BUTTON_TEXT[/*$currentRole*/ ctx[4]][/*$orderStatus*/ ctx[3]] + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

function passenger_index_svelte_create_fragment(ctx) {
	let div3;
	let div1;
	let i;
	let t0;
	let div0;
	let t1_value = MAP_SCREEN_TO_HEADER_TEXT[/*$currentRole*/ ctx[4]][/*$selectedScreen*/ ctx[1]] + "";
	let t1;
	let t2;
	let div2;
	let switch_instance;
	let t3;
	let t4;
	let current;
	let mounted;
	let dispose;
	var switch_value = MAP_STATUS_TO_COMPONENT[/*$orderStatus*/ ctx[3]];

	function switch_props(ctx) {
		return {};
	}

	if (switch_value) {
		switch_instance = new switch_value(switch_props(ctx));
	}

	let if_block0 = /*paymentMessageVisible*/ ctx[0] && passenger_index_svelte_create_if_block_1(ctx);
	let if_block1 = (/*$orderStatus*/ ctx[3] !== OrderStatuses.SelectTariff && /*$orderStatus*/ ctx[3] !== OrderStatuses.SelectGeo && /*$timeLeft*/ ctx[2] < 1 || /*$orderStatus*/ ctx[3] === OrderStatuses.Finish || /*$orderStatus*/ ctx[3] === OrderStatuses.Check) && passenger_index_svelte_create_if_block(ctx);

	return {
		c() {
			div3 = internal_element("div");
			div1 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			div2 = internal_element("div");
			if (switch_instance) create_component(switch_instance.$$.fragment);
			t3 = space();
			if (if_block0) if_block0.c();
			t4 = space();
			if (if_block1) if_block1.c();
			attr(i, "class", "rodnoe-taxi-passenger__back icon-chevron-left");
			attr(div0, "class", "rodnoe-taxi-passenger__title");
			attr(div1, "class", "rodnoe-taxi-passenger__header");
			attr(div2, "class", "rodnoe-taxi-passenger__content");
			attr(div3, "class", "rodnoe-taxi-passenger");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div1);
			append(div1, i);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
			append(div3, t2);
			append(div3, div2);

			if (switch_instance) {
				mount_component(switch_instance, div2, null);
			}

			append(div3, t3);
			if (if_block0) if_block0.m(div3, null);
			append(div3, t4);
			if (if_block1) if_block1.m(div3, null);
			current = true;

			if (!mounted) {
				dispose = listen(i, "click", /*back*/ ctx[5]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if ((!current || dirty & /*$currentRole, $selectedScreen*/ 18) && t1_value !== (t1_value = MAP_SCREEN_TO_HEADER_TEXT[/*$currentRole*/ ctx[4]][/*$selectedScreen*/ ctx[1]] + "")) set_data(t1, t1_value);

			if (switch_value !== (switch_value = MAP_STATUS_TO_COMPONENT[/*$orderStatus*/ ctx[3]])) {
				if (switch_instance) {
					group_outros();
					const old_component = switch_instance;

					transition_out(old_component.$$.fragment, 1, 0, () => {
						destroy_component(old_component, 1);
					});

					check_outros();
				}

				if (switch_value) {
					switch_instance = new switch_value(switch_props(ctx));
					create_component(switch_instance.$$.fragment);
					transition_in(switch_instance.$$.fragment, 1);
					mount_component(switch_instance, div2, null);
				} else {
					switch_instance = null;
				}
			} else if (switch_value) {
				
			}

			if (/*paymentMessageVisible*/ ctx[0]) {
				if (if_block0) {
					if (dirty & /*paymentMessageVisible*/ 1) {
						transition_in(if_block0, 1);
					}
				} else {
					if_block0 = passenger_index_svelte_create_if_block_1(ctx);
					if_block0.c();
					transition_in(if_block0, 1);
					if_block0.m(div3, t4);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (/*$orderStatus*/ ctx[3] !== OrderStatuses.SelectTariff && /*$orderStatus*/ ctx[3] !== OrderStatuses.SelectGeo && /*$timeLeft*/ ctx[2] < 1 || /*$orderStatus*/ ctx[3] === OrderStatuses.Finish || /*$orderStatus*/ ctx[3] === OrderStatuses.Check) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = passenger_index_svelte_create_if_block(ctx);
					if_block1.c();
					if_block1.m(div3, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}
		},
		i(local) {
			if (current) return;
			if (switch_instance) transition_in(switch_instance.$$.fragment, local);
			transition_in(if_block0);
			current = true;
		},
		o(local) {
			if (switch_instance) transition_out(switch_instance.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div3);
			if (switch_instance) destroy_component(switch_instance);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			mounted = false;
			dispose();
		}
	};
}

function passenger_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedScreen;
	let $timeLeft;
	let $orderStatus;
	let $currentRole;
	let $selectedRating;
	let $selectedOrder;
	component_subscribe($$self, taxi_rodnoe_store_selectedScreen, $$value => $$invalidate(1, $selectedScreen = $$value));
	component_subscribe($$self, timeLeft, $$value => $$invalidate(2, $timeLeft = $$value));
	component_subscribe($$self, orderStatus, $$value => $$invalidate(3, $orderStatus = $$value));
	component_subscribe($$self, currentRole, $$value => $$invalidate(4, $currentRole = $$value));
	component_subscribe($$self, selectedRating, $$value => $$invalidate(10, $selectedRating = $$value));
	component_subscribe($$self, selectedOrder, $$value => $$invalidate(11, $selectedOrder = $$value));
	let paymentMessageVisible = false;
	let buttonDisabled = false;

	let { backToMainMenu = () => {
		
	} } = $$props;

	if ($currentRole === UserTypes.Passenger && (0,lodash.isEmpty)($orderStatus)) {
		set_store_value(orderStatus, $orderStatus = OrderStatuses.SelectTariff, $orderStatus);
	}

	const clearData = () => {
		set_store_value(orderStatus, $orderStatus = '', $orderStatus);
		set_store_value(selectedOrder, $selectedOrder = {}, $selectedOrder);
		set_store_value(taxi_rodnoe_store_selectedScreen, $selectedScreen = taxi_rodnoe_constants_Screens.Main, $selectedScreen);
	};

	const back = () => {
		if (IN_PROGRESS_STATUSES.includes($orderStatus)) {
			backToMainMenu();
		} else if ($orderStatus === OrderStatuses.Check) {
			set_store_value(taxi_rodnoe_store_selectedScreen, $selectedScreen = taxi_rodnoe_constants_Screens.Driver, $selectedScreen);
		} else {
			clearData();
		}
	};

	const createOrder = () => {
		if ((0,lodash.isEmpty)($selectedOrder.paymentType) && !$selectedOrder.forFree) {
			$$invalidate(0, paymentMessageVisible = true);
			buttonDisabled = false;
			return;
		}

		sendClientMessage('rodnoe-taxi.createOrder', $selectedOrder.paymentType);
		buttonDisabled = true;
	}; // $orderStatus = OrderStatuses.Finding;

	const declineOrder = () => {
		sendClientMessage('rodnoe-taxi.declineOrder');
		clearData();
	};

	const acceptOrder = () => {
		sendClientMessage('rodnoe-taxi.acceptOrder', $selectedOrder.id);
	};

	const completeOrder = () => {
		sendClientMessage('rodnoe-taxi.completeOrder', $selectedRating);
		set_store_value(orderStatus, $orderStatus = '', $orderStatus);

		if ($currentRole === UserTypes.Passenger) {
			set_store_value(taxi_rodnoe_store_selectedScreen, $selectedScreen = taxi_rodnoe_constants_Screens.Main, $selectedScreen);
		} else {
			set_store_value(taxi_rodnoe_store_selectedScreen, $selectedScreen = taxi_rodnoe_constants_Screens.Driver, $selectedScreen);
		}
	};

	const handleButton = action => {
		if (buttonDisabled) {
			return;
		}

		buttonDisabled = true;

		switch (action) {
			case Actions.Create:
				createOrder();
				break;
			case Actions.Decline:
				declineOrder();
				break;
			case Actions.Accept:
				acceptOrder();
				break;
			case Actions.Close:
				completeOrder();
				break;
			default:
				set_store_value(taxi_rodnoe_store_selectedScreen, $selectedScreen = taxi_rodnoe_constants_Screens.Main, $selectedScreen);
				break;
		}
	};

	const updateOrderStatus = newStatus => {
		set_store_value(orderStatus, $orderStatus = newStatus, $orderStatus);
		buttonDisabled = false;

		if (newStatus === OrderStatuses.Finish) {
			set_store_value(timeLeft, $timeLeft = 0, $timeLeft);
		}
	};

	const unregisterUpdateOrderStatus = registerEvent('event.rodnoeTaxiApp.updateOrderStatus', updateOrderStatus);

	const initializeOrderUnavailable = () => {
		set_store_value(taxi_rodnoe_store_selectedScreen, $selectedScreen = taxi_rodnoe_constants_Screens.Driver, $selectedScreen);
	};

	const unregisterInitializeOrderUnavailable = registerEvent('event.rodnoeTaxiApp.initializeOrderUnavailable', initializeOrderUnavailable);

	const updateTipsState = () => {
		buttonDisabled = false;
	};

	const unregisterUpdateTipsState = registerEvent('event.rodnoeTaxiApp.updateTipsState', updateTipsState);

	onDestroy(() => {
		unregisterUpdateOrderStatus();
		unregisterInitializeOrderUnavailable();
		unregisterUpdateTipsState();
	});

	const click_handler = () => handleButton(MAP_STATUS_TO_ACTION[$currentRole][$orderStatus]);

	$$self.$$set = $$props => {
		if ('backToMainMenu' in $$props) $$invalidate(7, backToMainMenu = $$props.backToMainMenu);
	};

	return [
		paymentMessageVisible,
		$selectedScreen,
		$timeLeft,
		$orderStatus,
		$currentRole,
		back,
		handleButton,
		backToMainMenu,
		click_handler
	];
}

class Passenger extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, passenger_index_svelte_instance, passenger_index_svelte_create_fragment, safe_not_equal, { backToMainMenu: 7 });
	}
}

/* harmony default export */ const passenger_index_svelte = (Passenger);
;// CONCATENATED MODULE: ./src/views/phone/apps/taxi-rodnoe/components/my-stats/index.svelte
/* src\views\phone\apps\taxi-rodnoe\components\my-stats\index.svelte generated by Svelte v3.49.0 */











// import { STATS_MOCK } from '../../mock';




function my_stats_index_svelte_create_else_block(ctx) {
	let div4;
	let div1;
	let img;
	let img_src_value;
	let t0;
	let div0;
	let t1_value = /*stats*/ ctx[1].name + "";
	let t1;
	let t2;
	let div3;
	let i;
	let t3;
	let div2;
	let t4_value = /*stats*/ ctx[1].rating + "";
	let t4;
	let t5;
	let t6;
	let div5;
	let t8;
	let div15;
	let div8;
	let div6;
	let t9_value = formatMoney(/*stats*/ ctx[1].orders) + "";
	let t9;
	let t10;
	let div7;
	let t11;
	let br0;
	let t12;
	let t13_value = MAP_USER_TYPE_TO_ORDER_CAPTION[/*selectedUserType*/ ctx[0]] + "";
	let t13;
	let t14;
	let div11;
	let div9;
	let t15_value = formatMoney(/*stats*/ ctx[1].distance) + "";
	let t15;
	let t16;
	let div10;
	let t19;
	let div14;
	let div12;
	let t20_value = formatMoney(/*stats*/ ctx[1].money) + "";
	let t20;
	let t21;
	let div13;
	let t22_value = MAP_USER_TYPE_TO_SPENT_CAPTION[/*selectedUserType*/ ctx[0]] + "";
	let t22;

	return {
		c() {
			div4 = internal_element("div");
			div1 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			div3 = internal_element("div");
			i = internal_element("i");
			t3 = space();
			div2 = internal_element("div");
			t4 = internal_text(t4_value);
			t5 = internal_text("/5");
			t6 = space();
			div5 = internal_element("div");
			div5.textContent = "Статистика";
			t8 = space();
			div15 = internal_element("div");
			div8 = internal_element("div");
			div6 = internal_element("div");
			t9 = internal_text(t9_value);
			t10 = space();
			div7 = internal_element("div");
			t11 = internal_text("Заказов ");
			br0 = internal_element("br");
			t12 = space();
			t13 = internal_text(t13_value);
			t14 = space();
			div11 = internal_element("div");
			div9 = internal_element("div");
			t15 = internal_text(t15_value);
			t16 = space();
			div10 = internal_element("div");
			div10.innerHTML = `Километров <br/> пройдено`;
			t19 = space();
			div14 = internal_element("div");
			div12 = internal_element("div");
			t20 = internal_text(t20_value);
			t21 = space();
			div13 = internal_element("div");
			t22 = internal_text(t22_value);
			if (!src_url_equal(img.src, img_src_value = MAP_USER_TYPE_TO_AVATAR[/*selectedUserType*/ ctx[0]])) attr(img, "src", img_src_value);
			attr(img, "alt", "avatar");
			attr(img, "class", "rodnoe-taxi-my-stats__avatar");
			attr(img, "draggable", "false");
			attr(div0, "class", "rodnoe-taxi-my-stats__user-name");
			attr(div1, "class", "rodnoe-taxi-my-stats__user-wrapper");
			attr(i, "class", "rodnoe-taxi-my-stats__rating-icon icon-star");
			attr(div2, "class", "rodnoe-taxi-my-stats__rating-value");
			attr(div3, "class", "rodnoe-taxi-my-stats__rating");
			attr(div4, "class", "rodnoe-taxi-my-stats__user-row");
			attr(div5, "class", "rodnoe-taxi-my-stats__stats-caption");
			attr(div6, "class", "rodnoe-taxi-my-stats__count");
			attr(div7, "class", "rodnoe-taxi-my-stats__stats-name");
			attr(div8, "class", "rodnoe-taxi-my-stats__orders");
			attr(div9, "class", "rodnoe-taxi-my-stats__count");
			attr(div10, "class", "rodnoe-taxi-my-stats__stats-name");
			attr(div11, "class", "rodnoe-taxi-my-stats__orders");
			attr(div12, "class", "rodnoe-taxi-my-stats__count");
			attr(div13, "class", "rodnoe-taxi-my-stats__stats-name");
			attr(div14, "class", "rodnoe-taxi-my-stats__orders");
			attr(div15, "class", "rodnoe-taxi-my-stats__stats");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div1);
			append(div1, img);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
			append(div4, t2);
			append(div4, div3);
			append(div3, i);
			append(div3, t3);
			append(div3, div2);
			append(div2, t4);
			append(div2, t5);
			insert(target, t6, anchor);
			insert(target, div5, anchor);
			insert(target, t8, anchor);
			insert(target, div15, anchor);
			append(div15, div8);
			append(div8, div6);
			append(div6, t9);
			append(div8, t10);
			append(div8, div7);
			append(div7, t11);
			append(div7, br0);
			append(div7, t12);
			append(div7, t13);
			append(div15, t14);
			append(div15, div11);
			append(div11, div9);
			append(div9, t15);
			append(div11, t16);
			append(div11, div10);
			append(div15, t19);
			append(div15, div14);
			append(div14, div12);
			append(div12, t20);
			append(div14, t21);
			append(div14, div13);
			append(div13, t22);
		},
		p(ctx, dirty) {
			if (dirty & /*selectedUserType*/ 1 && !src_url_equal(img.src, img_src_value = MAP_USER_TYPE_TO_AVATAR[/*selectedUserType*/ ctx[0]])) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*stats*/ 2 && t1_value !== (t1_value = /*stats*/ ctx[1].name + "")) set_data(t1, t1_value);
			if (dirty & /*stats*/ 2 && t4_value !== (t4_value = /*stats*/ ctx[1].rating + "")) set_data(t4, t4_value);
			if (dirty & /*stats*/ 2 && t9_value !== (t9_value = formatMoney(/*stats*/ ctx[1].orders) + "")) set_data(t9, t9_value);
			if (dirty & /*selectedUserType*/ 1 && t13_value !== (t13_value = MAP_USER_TYPE_TO_ORDER_CAPTION[/*selectedUserType*/ ctx[0]] + "")) set_data(t13, t13_value);
			if (dirty & /*stats*/ 2 && t15_value !== (t15_value = formatMoney(/*stats*/ ctx[1].distance) + "")) set_data(t15, t15_value);
			if (dirty & /*stats*/ 2 && t20_value !== (t20_value = formatMoney(/*stats*/ ctx[1].money) + "")) set_data(t20, t20_value);
			if (dirty & /*selectedUserType*/ 1 && t22_value !== (t22_value = MAP_USER_TYPE_TO_SPENT_CAPTION[/*selectedUserType*/ ctx[0]] + "")) set_data(t22, t22_value);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div4);
			if (detaching) detach(t6);
			if (detaching) detach(div5);
			if (detaching) detach(t8);
			if (detaching) detach(div15);
		}
	};
}

// (70:12) {#if loaderVisible}
function my_stats_index_svelte_create_if_block(ctx) {
	let div;
	let loader;
	let current;
	loader = new loader_index_svelte({ props: { dark: true } });

	return {
		c() {
			div = internal_element("div");
			create_component(loader.$$.fragment);
			attr(div, "class", "rodnoe-taxi-my-stats__loader");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(loader, div, null);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(loader.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(loader.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(loader);
		}
	};
}

function my_stats_index_svelte_create_fragment(ctx) {
	let div6;
	let div1;
	let i;
	let t0;
	let div0;
	let t2;
	let div5;
	let div4;
	let div2;
	let t4;
	let div3;
	let t6;
	let current_block_type_index;
	let if_block;
	let current;
	let mounted;
	let dispose;
	const if_block_creators = [my_stats_index_svelte_create_if_block, my_stats_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (/*loaderVisible*/ ctx[2]) return 0;
		return 1;
	}

	current_block_type_index = select_block_type(ctx, -1);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div6 = internal_element("div");
			div1 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div0 = internal_element("div");
			div0.textContent = "Мой профиль";
			t2 = space();
			div5 = internal_element("div");
			div4 = internal_element("div");
			div2 = internal_element("div");
			div2.textContent = "Пассажир";
			t4 = space();
			div3 = internal_element("div");
			div3.textContent = "Водитель";
			t6 = space();
			if_block.c();
			attr(i, "class", "rodnoe-taxi-my-stats__back icon-chevron-left");
			attr(div0, "class", "rodnoe-taxi-my-stats__title");
			attr(div1, "class", "rodnoe-taxi-my-stats__header");
			attr(div2, "class", "rodnoe-taxi-my-stats__switch");
			toggle_class(div2, "rodnoe-taxi-my-stats__switch--active", /*selectedUserType*/ ctx[0] === UserTypes.Passenger);
			attr(div3, "class", "rodnoe-taxi-my-stats__switch");
			toggle_class(div3, "rodnoe-taxi-my-stats__switch--active", /*selectedUserType*/ ctx[0] === UserTypes.Driver);
			attr(div4, "class", "rodnoe-taxi-my-stats__switcher");
			attr(div5, "class", "rodnoe-taxi-my-stats__content");
			attr(div6, "class", "rodnoe-taxi-my-stats");
		},
		m(target, anchor) {
			insert(target, div6, anchor);
			append(div6, div1);
			append(div1, i);
			append(div1, t0);
			append(div1, div0);
			append(div6, t2);
			append(div6, div5);
			append(div5, div4);
			append(div4, div2);
			append(div4, t4);
			append(div4, div3);
			append(div5, t6);
			if_blocks[current_block_type_index].m(div5, null);
			current = true;

			if (!mounted) {
				dispose = [
					listen(i, "click", /*back*/ ctx[3]),
					listen(div2, "click", /*click_handler*/ ctx[5]),
					listen(div3, "click", /*click_handler_1*/ ctx[6])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*selectedUserType, UserTypes*/ 1) {
				toggle_class(div2, "rodnoe-taxi-my-stats__switch--active", /*selectedUserType*/ ctx[0] === UserTypes.Passenger);
			}

			if (dirty & /*selectedUserType, UserTypes*/ 1) {
				toggle_class(div3, "rodnoe-taxi-my-stats__switch--active", /*selectedUserType*/ ctx[0] === UserTypes.Driver);
			}

			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(div5, null);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div6);
			if_blocks[current_block_type_index].d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function my_stats_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedScreen;
	component_subscribe($$self, taxi_rodnoe_store_selectedScreen, $$value => $$invalidate(7, $selectedScreen = $$value));
	let selectedUserType = UserTypes.Passenger;
	let stats;
	let loaderVisible = true;

	const back = () => {
		set_store_value(taxi_rodnoe_store_selectedScreen, $selectedScreen = taxi_rodnoe_constants_Screens.Main, $selectedScreen);
	};

	const selectUserType = role => {
		$$invalidate(2, loaderVisible = true);
		$$invalidate(0, selectedUserType = role);
		sendClientMessage('rodnoe-taxi.loadStats', selectedUserType);
	};

	const initializeStats = statsData => {
		$$invalidate(1, stats = statsData);
		$$invalidate(2, loaderVisible = false);
	};

	const unregisterInitializeStats = registerEvent('event.rodnoeTaxiApp.initializeStats', initializeStats);

	onMount(() => {
		sendClientMessage('rodnoe-taxi.loadStats', selectedUserType);
	}); // initializeStats(STATS_MOCK);

	onDestroy(() => {
		unregisterInitializeStats();
	});

	const click_handler = () => selectUserType(UserTypes.Passenger);
	const click_handler_1 = () => selectUserType(UserTypes.Driver);

	return [
		selectedUserType,
		stats,
		loaderVisible,
		back,
		selectUserType,
		click_handler,
		click_handler_1
	];
}

class My_stats extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, my_stats_index_svelte_instance, my_stats_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const my_stats_index_svelte = (My_stats);
;// CONCATENATED MODULE: ./src/views/phone/apps/taxi-rodnoe/components/order-item/index.svelte
/* src\views\phone\apps\taxi-rodnoe\components\order-item\index.svelte generated by Svelte v3.49.0 */






// import { ORDER_MOCK } from '../../mock';


function order_item_index_svelte_create_fragment(ctx) {
	let div15;
	let div11;
	let div6;
	let div3;
	let i0;
	let t0;
	let div2;
	let div0;
	let t2;
	let div1;
	let t3_value = /*order*/ ctx[0].user + "";
	let t3;
	let t4;
	let div5;
	let i1;
	let t5;
	let div4;
	let t6_value = /*order*/ ctx[0].rating + "";
	let t6;
	let t7;
	let t8;
	let div10;
	let i2;
	let t9;
	let div9;
	let div7;
	let t11;
	let div8;
	let b;
	let t12;
	let t13_value = /*order*/ ctx[0].distance + "";
	let t13;
	let t14;
	let t15;
	let t16_value = /*order*/ ctx[0].destination + "";
	let t16;
	let t17;
	let div14;
	let div12;
	let t19;
	let div13;
	let t20_value = /*order*/ ctx[0].price + "";
	let t20;
	let t21;
	let mounted;
	let dispose;

	return {
		c() {
			div15 = internal_element("div");
			div11 = internal_element("div");
			div6 = internal_element("div");
			div3 = internal_element("div");
			i0 = internal_element("i");
			t0 = space();
			div2 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "Нужно отвезти";
			t2 = space();
			div1 = internal_element("div");
			t3 = internal_text(t3_value);
			t4 = space();
			div5 = internal_element("div");
			i1 = internal_element("i");
			t5 = space();
			div4 = internal_element("div");
			t6 = internal_text(t6_value);
			t7 = internal_text("/5");
			t8 = space();
			div10 = internal_element("div");
			i2 = internal_element("i");
			t9 = space();
			div9 = internal_element("div");
			div7 = internal_element("div");
			div7.textContent = "Пункт назначения";
			t11 = space();
			div8 = internal_element("div");
			b = internal_element("b");
			t12 = internal_text("(");
			t13 = internal_text(t13_value);
			t14 = internal_text("м)");
			t15 = space();
			t16 = internal_text(t16_value);
			t17 = space();
			div14 = internal_element("div");
			div12 = internal_element("div");
			div12.textContent = "Стоимость";
			t19 = space();
			div13 = internal_element("div");
			t20 = internal_text(t20_value);
			t21 = internal_text("₽");
			attr(i0, "class", "rodnoe-taxi-order-item__user-icon icon-client-person");
			attr(div0, "class", "rodnoe-taxi-order-item__user-caption");
			attr(div1, "class", "rodnoe-taxi-order-item__user-name");
			attr(div2, "class", "rodnoe-taxi-order-item__user-name-wrapper");
			attr(div3, "class", "rodnoe-taxi-order-item__user");
			attr(i1, "class", "rodnoe-taxi-order-item__rating-icon icon-star");
			attr(div4, "class", "rodnoe-taxi-order-item__rating-value");
			attr(div5, "class", "rodnoe-taxi-order-item__rating");
			attr(div6, "class", "rodnoe-taxi-order-item__user-info");
			attr(i2, "class", "rodnoe-taxi-order-item__destination-icon icon-geo-loc");
			attr(div7, "class", "rodnoe-taxi-order-item__destination-caption");
			attr(div8, "class", "rodnoe-taxi-order-item__destination-name");
			attr(div9, "class", "rodnoe-taxi-order-item__destination-name-wrapper");
			attr(div10, "class", "rodnoe-taxi-order-item__destination-info");
			attr(div11, "class", "rodnoe-taxi-order-item__main-info");
			attr(div12, "class", "rodnoe-taxi-order-item__price-caption");
			attr(div13, "class", "rodnoe-taxi-order-item__price-value");
			attr(div14, "class", "rodnoe-taxi-order-item__price");
			attr(div15, "class", "rodnoe-taxi-order-item");
			toggle_class(div15, "rodnoe-taxi-order-item--orange", !/*order*/ ctx[0].isServer);
		},
		m(target, anchor) {
			insert(target, div15, anchor);
			append(div15, div11);
			append(div11, div6);
			append(div6, div3);
			append(div3, i0);
			append(div3, t0);
			append(div3, div2);
			append(div2, div0);
			append(div2, t2);
			append(div2, div1);
			append(div1, t3);
			append(div6, t4);
			append(div6, div5);
			append(div5, i1);
			append(div5, t5);
			append(div5, div4);
			append(div4, t6);
			append(div4, t7);
			append(div11, t8);
			append(div11, div10);
			append(div10, i2);
			append(div10, t9);
			append(div10, div9);
			append(div9, div7);
			append(div9, t11);
			append(div9, div8);
			append(div8, b);
			append(b, t12);
			append(b, t13);
			append(b, t14);
			append(div8, t15);
			append(div8, t16);
			append(div15, t17);
			append(div15, div14);
			append(div14, div12);
			append(div14, t19);
			append(div14, div13);
			append(div13, t20);
			append(div13, t21);

			if (!mounted) {
				dispose = listen(div15, "click", /*selectOrder*/ ctx[1]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*order*/ 1 && t3_value !== (t3_value = /*order*/ ctx[0].user + "")) set_data(t3, t3_value);
			if (dirty & /*order*/ 1 && t6_value !== (t6_value = /*order*/ ctx[0].rating + "")) set_data(t6, t6_value);
			if (dirty & /*order*/ 1 && t13_value !== (t13_value = /*order*/ ctx[0].distance + "")) set_data(t13, t13_value);
			if (dirty & /*order*/ 1 && t16_value !== (t16_value = /*order*/ ctx[0].destination + "")) set_data(t16, t16_value);
			if (dirty & /*order*/ 1 && t20_value !== (t20_value = /*order*/ ctx[0].price + "")) set_data(t20, t20_value);

			if (dirty & /*order*/ 1) {
				toggle_class(div15, "rodnoe-taxi-order-item--orange", !/*order*/ ctx[0].isServer);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div15);
			mounted = false;
			dispose();
		}
	};
}

function order_item_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedScreen;
	let $orderStatus;
	let $selectedOrder;
	component_subscribe($$self, taxi_rodnoe_store_selectedScreen, $$value => $$invalidate(2, $selectedScreen = $$value));
	component_subscribe($$self, orderStatus, $$value => $$invalidate(3, $orderStatus = $$value));
	component_subscribe($$self, selectedOrder, $$value => $$invalidate(4, $selectedOrder = $$value));
	let { order } = $$props;

	const selectOrder = () => {
		sendClientMessage('rodnoe-taxi.selectedOrder', order.id);
		set_store_value(selectedOrder, $selectedOrder = order, $selectedOrder);

		// $selectedOrder = ORDER_MOCK;
		set_store_value(orderStatus, $orderStatus = OrderStatuses.Check, $orderStatus);

		set_store_value(taxi_rodnoe_store_selectedScreen, $selectedScreen = taxi_rodnoe_constants_Screens.Passenger, $selectedScreen);
	};

	$$self.$$set = $$props => {
		if ('order' in $$props) $$invalidate(0, order = $$props.order);
	};

	return [order, selectOrder];
}

class Order_item extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, order_item_index_svelte_instance, order_item_index_svelte_create_fragment, safe_not_equal, { order: 0 });
	}
}

/* harmony default export */ const order_item_index_svelte = (Order_item);
;// CONCATENATED MODULE: ./src/views/phone/apps/taxi-rodnoe/components/orders-list/index.svelte
/* src\views\phone\apps\taxi-rodnoe\components\orders-list\index.svelte generated by Svelte v3.49.0 */












// import { ORDERS_MOCK } from '../../mock';


function orders_list_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[13] = list[i];
	return child_ctx;
}

// (70:8) {:else}
function orders_list_index_svelte_create_else_block(ctx) {
	let div;
	let current;
	let each_value = /*orders*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = orders_list_index_svelte_create_each_block(orders_list_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "rodnoe-taxi-orders-list__list");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}

			current = true;
		},
		p(ctx, dirty) {
			if (dirty & /*orders*/ 1) {
				each_value = /*orders*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = orders_list_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = orders_list_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (68:56) 
function orders_list_index_svelte_create_if_block_1(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "Нет доступных заказов";
			attr(div, "class", "rodnoe-taxi-orders-list__empty");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (64:8) {#if loaderVisible}
function orders_list_index_svelte_create_if_block(ctx) {
	let div;
	let loader;
	let current;
	loader = new loader_index_svelte({ props: { dark: true } });

	return {
		c() {
			div = internal_element("div");
			create_component(loader.$$.fragment);
			attr(div, "class", "rodnoe-taxi-orders-list__loader");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(loader, div, null);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(loader.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(loader.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(loader);
		}
	};
}

// (72:16) {#each orders as order}
function orders_list_index_svelte_create_each_block(ctx) {
	let div;
	let orderitem;
	let t;
	let current;
	orderitem = new order_item_index_svelte({ props: { order: /*order*/ ctx[13] } });

	return {
		c() {
			div = internal_element("div");
			create_component(orderitem.$$.fragment);
			t = space();
			attr(div, "class", "rodnoe-taxi-orders-list__item");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(orderitem, div, null);
			append(div, t);
			current = true;
		},
		p(ctx, dirty) {
			const orderitem_changes = {};
			if (dirty & /*orders*/ 1) orderitem_changes.order = /*order*/ ctx[13];
			orderitem.$set(orderitem_changes);
		},
		i(local) {
			if (current) return;
			transition_in(orderitem.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(orderitem.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(orderitem);
		}
	};
}

function orders_list_index_svelte_create_fragment(ctx) {
	let div3;
	let div1;
	let i;
	let t0;
	let div0;
	let t2;
	let div2;
	let current_block_type_index;
	let if_block;
	let current;
	let mounted;
	let dispose;
	const if_block_creators = [orders_list_index_svelte_create_if_block, orders_list_index_svelte_create_if_block_1, orders_list_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (/*loaderVisible*/ ctx[1]) return 0;
		if (/*orders*/ ctx[0].length === 0 && !/*loaderVisible*/ ctx[1]) return 1;
		return 2;
	}

	current_block_type_index = select_block_type(ctx, -1);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div3 = internal_element("div");
			div1 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div0 = internal_element("div");
			div0.textContent = "Доступные заказы";
			t2 = space();
			div2 = internal_element("div");
			if_block.c();
			attr(i, "class", "rodnoe-taxi-orders-list__back icon-chevron-left");
			attr(div0, "class", "rodnoe-taxi-orders-list__title");
			attr(div1, "class", "rodnoe-taxi-orders-list__header");
			attr(div2, "class", "rodnoe-taxi-orders-list__content");
			attr(div3, "class", "rodnoe-taxi-orders-list");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div1);
			append(div1, i);
			append(div1, t0);
			append(div1, div0);
			append(div3, t2);
			append(div3, div2);
			if_blocks[current_block_type_index].m(div2, null);
			current = true;

			if (!mounted) {
				dispose = listen(i, "click", /*back*/ ctx[2]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(div2, null);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div3);
			if_blocks[current_block_type_index].d();
			mounted = false;
			dispose();
		}
	};
}

function orders_list_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedScreen;
	let $orderStatus;
	let $currentRole;
	let $selectedOrder;
	component_subscribe($$self, taxi_rodnoe_store_selectedScreen, $$value => $$invalidate(3, $selectedScreen = $$value));
	component_subscribe($$self, orderStatus, $$value => $$invalidate(4, $orderStatus = $$value));
	component_subscribe($$self, currentRole, $$value => $$invalidate(5, $currentRole = $$value));
	component_subscribe($$self, selectedOrder, $$value => $$invalidate(6, $selectedOrder = $$value));
	let orders = [];
	let loaderVisible = true;

	const back = () => {
		set_store_value(taxi_rodnoe_store_selectedScreen, $selectedScreen = taxi_rodnoe_constants_Screens.Main, $selectedScreen);
	};

	const initializeOrders = ordersData => {
		$$invalidate(0, orders = [...orders, ...ordersData]);
		orders.sort((a, b) => a.isServer - b.isServer);
		$$invalidate(1, loaderVisible = false);
	};

	const initializeOrderFromCar = order => {
		set_store_value(selectedOrder, $selectedOrder = order, $selectedOrder);
		set_store_value(currentRole, $currentRole = UserTypes.Driver, $currentRole);
		set_store_value(orderStatus, $orderStatus = OrderStatuses.Check, $orderStatus);
		set_store_value(taxi_rodnoe_store_selectedScreen, $selectedScreen = taxi_rodnoe_constants_Screens.Passenger, $selectedScreen);
	};

	const deleteOrder = orderId => {
		$$invalidate(0, orders = orders.filter(order => order.id !== orderId));
		$$invalidate(1, loaderVisible = false);
	};

	const unregisterInitializeOrders = registerEvent('event.rodnoeTaxiApp.initializeOrders', initializeOrders);
	const unregisterInitializeOrderFromCar = registerEvent('event.rodnoeTaxiApp.initializeOrderFromCar', initializeOrderFromCar);
	const unregisterDeleteOrder = registerEvent('event.rodnoeTaxiApp.deleteOrder', deleteOrder);

	onMount(() => {
		sendClientMessage('rodnoe-taxi.loadOrders');
	}); // initializeOrders(ORDERS_MOCK);

	onDestroy(() => {
		unregisterInitializeOrders();
		unregisterInitializeOrderFromCar();
		unregisterDeleteOrder();
	});

	return [orders, loaderVisible, back];
}

class Orders_list extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, orders_list_index_svelte_instance, orders_list_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const orders_list_index_svelte = (Orders_list);
;// CONCATENATED MODULE: ./src/views/phone/apps/taxi-rodnoe/components-map.js
function components_map_typeof(o) { "@babel/helpers - typeof"; return components_map_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, components_map_typeof(o); }
function components_map_defineProperty(e, r, t) { return (r = components_map_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function components_map_toPropertyKey(t) { var i = components_map_toPrimitive(t, "string"); return "symbol" == components_map_typeof(i) ? i : i + ""; }
function components_map_toPrimitive(t, r) { if ("object" != components_map_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != components_map_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }





var components_map_MAP_SCREEN_TO_COMPONENT = components_map_defineProperty(components_map_defineProperty(components_map_defineProperty(components_map_defineProperty({}, taxi_rodnoe_constants_Screens.Main, main_index_svelte), taxi_rodnoe_constants_Screens.Passenger, passenger_index_svelte), taxi_rodnoe_constants_Screens.Stats, my_stats_index_svelte), taxi_rodnoe_constants_Screens.Driver, orders_list_index_svelte);
;// CONCATENATED MODULE: ./src/views/phone/apps/taxi-rodnoe/index.svelte
/* src\views\phone\apps\taxi-rodnoe\index.svelte generated by Svelte v3.49.0 */










function taxi_rodnoe_index_svelte_create_if_block(ctx) {
	let div;
	let i;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			i = internal_element("i");
			attr(i, "class", "taxi-rodnoe__icon icon-arrow-left");
			attr(div, "class", "taxi-rodnoe__back");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, i);

			if (!mounted) {
				dispose = listen(i, "click", function () {
					if (internal_is_function(/*backToMainMenu*/ ctx[0])) /*backToMainMenu*/ ctx[0].apply(this, arguments);
				});

				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

function taxi_rodnoe_index_svelte_create_fragment(ctx) {
	let div;
	let switch_instance;
	let t;
	let div_intro;
	let current;
	var switch_value = components_map_MAP_SCREEN_TO_COMPONENT[/*$selectedScreen*/ ctx[1]];

	function switch_props(ctx) {
		return {
			props: {
				backToMainMenu: /*backToMainMenu*/ ctx[0]
			}
		};
	}

	if (switch_value) {
		switch_instance = new switch_value(switch_props(ctx));
	}

	let if_block = /*$selectedScreen*/ ctx[1] === taxi_rodnoe_constants_Screens.Main && taxi_rodnoe_index_svelte_create_if_block(ctx);

	return {
		c() {
			div = internal_element("div");
			if (switch_instance) create_component(switch_instance.$$.fragment);
			t = space();
			if (if_block) if_block.c();
			attr(div, "class", "taxi-rodnoe");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (switch_instance) {
				mount_component(switch_instance, div, null);
			}

			append(div, t);
			if (if_block) if_block.m(div, null);
			current = true;
		},
		p(ctx, [dirty]) {
			const switch_instance_changes = {};
			if (dirty & /*backToMainMenu*/ 1) switch_instance_changes.backToMainMenu = /*backToMainMenu*/ ctx[0];

			if (switch_value !== (switch_value = components_map_MAP_SCREEN_TO_COMPONENT[/*$selectedScreen*/ ctx[1]])) {
				if (switch_instance) {
					group_outros();
					const old_component = switch_instance;

					transition_out(old_component.$$.fragment, 1, 0, () => {
						destroy_component(old_component, 1);
					});

					check_outros();
				}

				if (switch_value) {
					switch_instance = new switch_value(switch_props(ctx));
					create_component(switch_instance.$$.fragment);
					transition_in(switch_instance.$$.fragment, 1);
					mount_component(switch_instance, div, t);
				} else {
					switch_instance = null;
				}
			} else if (switch_value) {
				switch_instance.$set(switch_instance_changes);
			}

			if (/*$selectedScreen*/ ctx[1] === taxi_rodnoe_constants_Screens.Main) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = taxi_rodnoe_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		i(local) {
			if (current) return;
			if (switch_instance) transition_in(switch_instance.$$.fragment, local);

			if (!div_intro) {
				add_render_callback(() => {
					div_intro = create_in_transition(div, fade, {});
					div_intro.start();
				});
			}

			current = true;
		},
		o(local) {
			if (switch_instance) transition_out(switch_instance.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (switch_instance) destroy_component(switch_instance);
			if (if_block) if_block.d();
		}
	};
}

function taxi_rodnoe_index_svelte_instance($$self, $$props, $$invalidate) {
	let $orderStatus;
	let $timeLeft;
	let $selectedOrder;
	let $selectedScreen;
	component_subscribe($$self, orderStatus, $$value => $$invalidate(2, $orderStatus = $$value));
	component_subscribe($$self, timeLeft, $$value => $$invalidate(3, $timeLeft = $$value));
	component_subscribe($$self, selectedOrder, $$value => $$invalidate(4, $selectedOrder = $$value));
	component_subscribe($$self, taxi_rodnoe_store_selectedScreen, $$value => $$invalidate(1, $selectedScreen = $$value));

	let { backToMainMenu = () => {
		
	} } = $$props;

	const showMainMenu = () => {
		set_store_value(taxi_rodnoe_store_selectedScreen, $selectedScreen = taxi_rodnoe_constants_Screens.Main, $selectedScreen);
		set_store_value(selectedOrder, $selectedOrder = {}, $selectedOrder);
		set_store_value(timeLeft, $timeLeft = 0, $timeLeft);
		set_store_value(orderStatus, $orderStatus = '', $orderStatus);
	};

	const unregisterShowMainMenu = registerEvent('event.rodnoeTaxiApp.showMainMenu', showMainMenu);

	onDestroy(() => {
		unregisterShowMainMenu();
	});

	$$self.$$set = $$props => {
		if ('backToMainMenu' in $$props) $$invalidate(0, backToMainMenu = $$props.backToMainMenu);
	};

	return [backToMainMenu, $selectedScreen];
}

class Taxi_rodnoe extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, taxi_rodnoe_index_svelte_instance, taxi_rodnoe_index_svelte_create_fragment, safe_not_equal, { backToMainMenu: 0 });
	}
}

/* harmony default export */ const taxi_rodnoe_index_svelte = (Taxi_rodnoe);
;// CONCATENATED MODULE: ./src/views/phone/apps/family/store.js
function store_toConsumableArray(r) { return store_arrayWithoutHoles(r) || store_iterableToArray(r) || store_unsupportedIterableToArray(r) || store_nonIterableSpread(); }
function store_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 store_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return store_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? store_arrayLikeToArray(r, a) : void 0; } }
function store_iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
function store_arrayWithoutHoles(r) { if (Array.isArray(r)) return store_arrayLikeToArray(r); }
function store_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }



var family_store_selectedScreen = writable('');
var selectedCoinId = writable('');
var family = writable({});
var familyStats = writable({});
var seniors = writable([]);
var ranks = writable([]);
var memberStats = writable({});
var members = writable([]);
var requests = writable([]);
var activity = writable([]);
var shop = writable([]);
var familiesRating = writable([]);
var membersRating = writable([]);
var familyList = writable([]);
var territoryMapStats = writable([]);
var territoryNotification = writable([]);
var polygonStylesCache = writable({});
var colors = writable([]);
var logos = writable([]);
var possessions = writable([]);
var transport = writable([]);
var allies = writable([]);
var enemies = writable([]);
var improves = writable([]);
var rewardResultTime = writable(0);
var ratingReward = writable({});
var bannerInfo = writable([]);
var initializeFamily = function initializeFamily(familyData) {
  return family.set(familyData);
};
registerEvent('event.family.initializeFamily', initializeFamily);
var selectFamilyScreen = function selectFamilyScreen(name) {
  return family_store_selectedScreen.set(name);
};
registerEvent('event.family.selectScreen', selectFamilyScreen);
var selectCoinId = function selectCoinId() {
  var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
  return selectedCoinId.set((0,lodash.isEmpty)(value) ? '' : value);
};
registerEvent('event.family.selectCoinId', selectCoinId);
var initializeStats = function initializeStats(statsData) {
  return familyStats.set(statsData);
};
registerEvent('event.family.initializeStats', initializeStats);
var initializeSeniors = function initializeSeniors(seniorsData) {
  return seniors.set(seniorsData);
};
registerEvent('event.family.initializeSeniors', initializeSeniors);
var initializeRanks = function initializeRanks(ranksData) {
  return ranks.set(ranksData);
};
registerEvent('event.family.initializeRanks', initializeRanks);
var initializeMemberStats = function initializeMemberStats(memberStatsData) {
  return memberStats.set(memberStatsData);
};
registerEvent('event.family.initializeMemberStats', initializeMemberStats);
var initializeMembers = function initializeMembers(membersData) {
  return members.set(membersData);
};
registerEvent('event.family.initializeMembers', initializeMembers);
var addMembers = function addMembers(currentMembersData) {
  return members.update(function (currentMembers) {
    return [].concat(store_toConsumableArray(currentMembers), store_toConsumableArray(currentMembersData));
  });
};
registerEvent('event.family.addMembers', addMembers);
var initializeRequests = function initializeRequests(requestsData) {
  return requests.set(requestsData);
};
registerEvent('event.family.initializeRequests', initializeRequests);
var removeRequest = function removeRequest(id) {
  requests.update(function (current) {
    return current.filter(function (request) {
      return request.id !== id;
    });
  });
};
registerEvent('event.family.removeRequest', removeRequest);
var initializeActivity = function initializeActivity(activityData) {
  return activity.set(activityData);
};
registerEvent('event.family.initializeActivity', initializeActivity);
var initializeShop = function initializeShop(shopData) {
  return shop.set(shopData);
};
registerEvent('event.family.initializeShop', initializeShop);
var pushShop = function pushShop(shopData) {
  return shop.update(function (currentShop) {
    return [].concat(store_toConsumableArray(currentShop), store_toConsumableArray(shopData));
  });
};
registerEvent('event.family.pushShop', pushShop);
var initializeFamiliesRating = function initializeFamiliesRating(familiesRatingData) {
  return familiesRating.set(familiesRatingData);
};
registerEvent('event.family.initializeFamiliesRating', initializeFamiliesRating);
var initializeMembersRating = function initializeMembersRating(membersRatingData) {
  return membersRating.set(membersRatingData);
};
registerEvent('event.family.initializeMembersRating', initializeMembersRating);
var initializeFamilyList = function initializeFamilyList(familyListData) {
  return familyList.set(familyListData);
};
registerEvent('event.family.initializeFamilyList', initializeFamilyList);
var pushFamilyList = function pushFamilyList(familyListData) {
  return familyList.update(function (currentFamilyList) {
    return [].concat(store_toConsumableArray(currentFamilyList), store_toConsumableArray(familyListData));
  });
};
registerEvent('event.family.pushFamilyList', pushFamilyList);
var initializeTerritoryMapStats = function initializeTerritoryMapStats(territoryMapStatsData) {
  return territoryMapStats.set(territoryMapStatsData);
};
registerEvent('event.family.initializeTerritoryMapStats', initializeTerritoryMapStats);
var initializeWarNotification = function initializeWarNotification(territoryWarNotificationData) {
  return territoryNotification.set(territoryWarNotificationData);
};
registerEvent('event.family.initializeWarNotification', initializeWarNotification);
var initializeColors = function initializeColors(colorsData) {
  return colors.set(colorsData);
};
registerEvent('event.family.initializeColors', initializeColors);
var initializeLogos = function initializeLogos(logosData) {
  return logos.set(logosData);
};
registerEvent('event.family.initializeLogos', initializeLogos);
var initializePossessions = function initializePossessions(possessionsData) {
  return possessions.set(possessionsData);
};
registerEvent('event.family.initializePossessions', initializePossessions);
var initializeTransport = function initializeTransport(transportData) {
  return transport.set(transportData);
};
registerEvent('event.family.initializeTransport', initializeTransport);
var initializeAllies = function initializeAllies(alliesData) {
  return allies.set(alliesData);
};
registerEvent('event.family.initializeAllies', initializeAllies);
var initializeEnemies = function initializeEnemies(enemiesData) {
  return enemies.set(enemiesData);
};
registerEvent('event.family.initializeEnemies', initializeEnemies);
var initializeImproves = function initializeImproves(improvesData) {
  return improves.set(improvesData);
};
registerEvent('event.family.initializeImproves', initializeImproves);
var initializeRewardResultTime = function initializeRewardResultTime(rewardResultTimeData) {
  return rewardResultTime.set(rewardResultTimeData);
};
registerEvent('event.family.initializeRewardResultTime', initializeRewardResultTime);
var initializeRatingReward = function initializeRatingReward(ratingRewardData) {
  return ratingReward.set(ratingRewardData);
};
registerEvent('event.family.initializeRatingRewards', initializeRatingReward);
var initializeBannerData = function initializeBannerData(bannerData) {
  return bannerInfo.set(bannerData);
};
registerEvent('event.family.initializeBannerData', initializeBannerData);
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/house.png
const family_house_namespaceObject = __webpack_require__.p + "assets/40e89306342c5deeacb8.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/apartments.png
const apartments_namespaceObject = __webpack_require__.p + "assets/d15aac1bf86aa2b2b714.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/yacht.png
const yacht_namespaceObject = __webpack_require__.p + "assets/1baea777fe60dc163da5.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/mansion.png
const mansion_namespaceObject = __webpack_require__.p + "assets/4d21b5a167e3162774d7.webp";
;// CONCATENATED MODULE: ./src/views/phone/apps/family/constants.js
var _MAP_SCREEN_TO_TITLE;
function family_constants_typeof(o) { "@babel/helpers - typeof"; return family_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, family_constants_typeof(o); }
function family_constants_defineProperty(e, r, t) { return (r = family_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function family_constants_toPropertyKey(t) { var i = family_constants_toPrimitive(t, "string"); return "symbol" == family_constants_typeof(i) ? i : i + ""; }
function family_constants_toPrimitive(t, r) { if ("object" != family_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != family_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }




var family_constants_Screens = {
  MainMenu: '',
  Information: 'information',
  Members: 'members',
  Ownership: 'ownership',
  Diplomacy: 'diplomacy',
  Improves: 'improves',
  Activity: 'activity',
  Shop: 'shop',
  RatingList: 'ratingList',
  RatingReward: 'ratingReward',
  FamilyMatters: 'familyMatters',
  CreateFamily: 'createFamily',
  FamilyList: 'familyList',
  TerritoryWar: 'territoryWar',
  CoinsShop: 'coinsShop'
};
var constants_MAP_SCREEN_TO_TITLE = (_MAP_SCREEN_TO_TITLE = {}, family_constants_defineProperty(family_constants_defineProperty(family_constants_defineProperty(family_constants_defineProperty(family_constants_defineProperty(family_constants_defineProperty(family_constants_defineProperty(family_constants_defineProperty(family_constants_defineProperty(family_constants_defineProperty(_MAP_SCREEN_TO_TITLE, family_constants_Screens.Information, 'Информация'), family_constants_Screens.Members, 'Состав организации'), family_constants_Screens.Ownership, 'Имущество'), family_constants_Screens.Diplomacy, 'Дипломатия'), family_constants_Screens.Improves, 'Улучшения'), family_constants_Screens.Activity, 'Криминальные активности'), family_constants_Screens.Shop, 'Семейный магазин'), family_constants_Screens.Rating, 'Семейный рейтинг'), family_constants_Screens.RatingReward, 'Награды за рейтинг'), family_constants_Screens.CreateFamily, 'Создание клана'), family_constants_defineProperty(family_constants_defineProperty(_MAP_SCREEN_TO_TITLE, family_constants_Screens.FamilyList, 'Вступление в клан'), family_constants_Screens.TerritoryWar, 'Семейные войны'));
var OwnershipTypes = {
  House: 'house',
  Apartments: 'apartments',
  Yacht: 'yacht',
  Mansion: 'mansion'
};
var TransportTypes = {
  Car: 'car',
  AirPlane: 'airplane',
  Helicopter: 'helicopter',
  Bike: 'bike'
};
var MAP_OWNERSHIP_TYPE_TO_IMAGE = family_constants_defineProperty(family_constants_defineProperty(family_constants_defineProperty(family_constants_defineProperty({}, OwnershipTypes.House, family_house_namespaceObject), OwnershipTypes.Apartments, apartments_namespaceObject), OwnershipTypes.Yacht, yacht_namespaceObject), OwnershipTypes.Mansion, mansion_namespaceObject);
var MAP_OWNERSHIP_TYPE_TO_CAPTION = family_constants_defineProperty(family_constants_defineProperty(family_constants_defineProperty(family_constants_defineProperty({}, OwnershipTypes.House, 'Семейный дом'), OwnershipTypes.Apartments, 'Семейная квартира'), OwnershipTypes.Yacht, 'Семейная яхта'), OwnershipTypes.Mansion, 'Семейный особняк');
var MAP_TRANSPORT_TYPE_TO_ICON = family_constants_defineProperty(family_constants_defineProperty(family_constants_defineProperty(family_constants_defineProperty({}, TransportTypes.Car, 'icon-family-car'), TransportTypes.AirPlane, 'icon-family-airplane'), TransportTypes.Helicopter, 'icon-family-helicopter'), TransportTypes.Bike, 'icon-family-bike');
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/bullet-coin.svg
const bullet_coin_namespaceObject = __webpack_require__.p + "assets/212cfa6d2bd46d39de5b.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/rep-coin.svg
const rep_coin_namespaceObject = __webpack_require__.p + "assets/4af4318908c76fc14488.svg";
;// CONCATENATED MODULE: ./src/views/phone/apps/family/components/coins-shop/constants.js
function coins_shop_constants_typeof(o) { "@babel/helpers - typeof"; return coins_shop_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, coins_shop_constants_typeof(o); }
function coins_shop_constants_defineProperty(e, r, t) { return (r = coins_shop_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function coins_shop_constants_toPropertyKey(t) { var i = coins_shop_constants_toPrimitive(t, "string"); return "symbol" == coins_shop_constants_typeof(i) ? i : i + ""; }
function coins_shop_constants_toPrimitive(t, r) { if ("object" != coins_shop_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != coins_shop_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }


var CoinsId = {
  None: '',
  BulletCoin: 'bulletCoin',
  ReputationCoin: 'reputationCoin'
};
var INCREASE_LIST = [{
  id: 1,
  value: 10
}, {
  id: 2,
  value: 100
}, {
  id: 3,
  value: 1000
}];
var COINS_TABS = [{
  id: 'bulletCoin',
  title: 'Семейные талоны'
}, {
  id: 'reputationCoin',
  title: 'Очки репутации'
}];
var MAP_ID_TO_COINS_STATS = coins_shop_constants_defineProperty(coins_shop_constants_defineProperty({}, CoinsId.BulletCoin, {
  image: bullet_coin_namespaceObject,
  needAzCoins: 5,
  getCoins: 1
}), CoinsId.ReputationCoin, {
  image: rep_coin_namespaceObject,
  needAzCoins: 10,
  getCoins: 1
});
;// CONCATENATED MODULE: ./src/views/phone/apps/family/components/main-menu/index.svelte
/* src\views\phone\apps\family\components\main-menu\index.svelte generated by Svelte v3.49.0 */








function main_menu_index_svelte_create_fragment(ctx) {
	let div59;
	let div4;
	let div2;
	let img;
	let img_src_value;
	let t0;
	let div1;
	let span;
	let t1_value = /*$family*/ ctx[0].type + "";
	let t1;
	let t2;
	let div0;
	let t3_value = /*$family*/ ctx[0].name + "";
	let t3;
	let t4;
	let div3;
	let t5_value = `“${/*$family*/ ctx[0].credo}”` + "";
	let t5;
	let t6;
	let div58;
	let div57;
	let div8;
	let t12;
	let div12;
	let t17;
	let div16;
	let t23;
	let div20;
	let t29;
	let div24;
	let t35;
	let div28;
	let t40;
	let div32;
	let t45;
	let div36;
	let t51;
	let div40;
	let t56;
	let div44;
	let t61;
	let div48;
	let t67;
	let div52;
	let t72;
	let div56;
	let mounted;
	let dispose;

	return {
		c() {
			div59 = internal_element("div");
			div4 = internal_element("div");
			div2 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div1 = internal_element("div");
			span = internal_element("span");
			t1 = internal_text(t1_value);
			t2 = space();
			div0 = internal_element("div");
			t3 = internal_text(t3_value);
			t4 = space();
			div3 = internal_element("div");
			t5 = internal_text(t5_value);
			t6 = space();
			div58 = internal_element("div");
			div57 = internal_element("div");
			div8 = internal_element("div");

			div8.innerHTML = `<div class="family-main-menu__item-content"><div class="family-main-menu__item-name">Информация</div> 
                    <div class="family-main-menu__item-description">Информация о вашей <br/> организации</div> 
                    <i class="family-main-menu__item-icon icon-family-info"></i></div>`;

			t12 = space();
			div12 = internal_element("div");

			div12.innerHTML = `<div class="family-main-menu__item-content"><div class="family-main-menu__item-name">Состав</div> 
                    <div class="family-main-menu__item-description">Члены вашей организации</div> 
                    <i class="family-main-menu__item-icon icon-family-members"></i></div>`;

			t17 = space();
			div16 = internal_element("div");

			div16.innerHTML = `<div class="family-main-menu__item-content"><div class="family-main-menu__item-name">Имущество</div> 
                    <div class="family-main-menu__item-description">Активы, принадлежащие <br/> организации</div> 
                    <i class="family-main-menu__item-icon icon-family-house"></i></div>`;

			t23 = space();
			div20 = internal_element("div");

			div20.innerHTML = `<div class="family-main-menu__item-content"><div class="family-main-menu__item-name">Активности</div> 
                    <div class="family-main-menu__item-description">Участвуйте в криминальных <br/> активностях</div> 
                    <i class="family-main-menu__item-icon icon-family-activity"></i></div>`;

			t29 = space();
			div24 = internal_element("div");

			div24.innerHTML = `<div class="family-main-menu__item-content"><div class="family-main-menu__item-name">Семейные задания</div> 
                    <div class="family-main-menu__item-description">Выполняйте задания и <br/> зарабатывайте очки репутации</div> 
                    <i class="family-main-menu__item-icon icon-family-tasks"></i></div>`;

			t35 = space();
			div28 = internal_element("div");

			div28.innerHTML = `<div class="family-main-menu__item-content "><div class="family-main-menu__item-name">Семейный магазин</div> 
                    <div class="family-main-menu__item-description">Покупайте за очки репутации клана</div> 
                    <i class="family-main-menu__item-icon icon-family-cart"></i></div>`;

			t40 = space();
			div32 = internal_element("div");

			div32.innerHTML = `<div class="family-main-menu__item-content"><div class="family-main-menu__item-name">Рейтинг семей</div> 
                    <div class="family-main-menu__item-description">Лучшие из лучших за 7 дней</div> 
                    <i class="family-main-menu__item-icon icon-family-star"></i></div>`;

			t45 = space();
			div36 = internal_element("div");

			div36.innerHTML = `<div class="family-main-menu__item-content"><div class="family-main-menu__item-name">Помощь</div> 
                    <div class="family-main-menu__item-description">О управлении вашей <br/> организацией</div> 
                    <i class="family-main-menu__item-icon icon-family-help"></i></div>`;

			t51 = space();
			div40 = internal_element("div");

			div40.innerHTML = `<div class="family-main-menu__item-content"><div class="family-main-menu__item-name">Улучшения</div> 
                    <div class="family-main-menu__item-description">Активые вашей организации</div> 
                    <i class="family-main-menu__item-icon icon-family-upgrade"></i></div>`;

			t56 = space();
			div44 = internal_element("div");

			div44.innerHTML = `<div class="family-main-menu__item-content"><div class="family-main-menu__item-name">Дипломатия</div> 
                    <div class="family-main-menu__item-description">Настройка вашей организации</div> 
                    <i class="family-main-menu__item-icon icon-family-diplomacy"></i></div>`;

			t61 = space();
			div48 = internal_element("div");

			div48.innerHTML = `<div class="family-main-menu__item-content"><div class="family-main-menu__item-name">Битва за <br/> территории</div> 
                    <div class="family-main-menu__item-description">Расширение сферы влияния</div> 
                    <i class="family-main-menu__item-icon icon-family-territory"></i></div>`;

			t67 = space();
			div52 = internal_element("div");

			div52.innerHTML = `<div class="family-main-menu__item-content"><div class="family-main-menu__item-name">Общак</div> 
                    <div class="family-main-menu__item-description">Склад вашей семьи</div> 
                    <i class="family-main-menu__item-icon icon-family-stash"></i></div>`;

			t72 = space();
			div56 = internal_element("div");

			div56.innerHTML = `<div class="family-main-menu__item-content"><div class="family-main-menu__item-name">Покинуть</div> 
                    <div class="family-main-menu__item-description">Покинуть состав организации</div> 
                    <i class="family-main-menu__item-icon icon-family-out"></i></div>`;

			attr(img, "class", "family-main-menu__icon");
			if (!src_url_equal(img.src, img_src_value = `${CDN_FAMILY_URL}/icons/${/*$family*/ ctx[0].logo}`)) attr(img, "src", img_src_value);
			attr(img, "alt", "family-icon");
			attr(span, "class", "family-main-menu__type-caption");
			attr(div0, "class", "family-main-menu__name");
			attr(div1, "class", "family-main-menu__name-wrapper");
			attr(div2, "class", "family-main-menu__main-info");
			attr(div3, "class", "family-main-menu__credo");
			attr(div4, "class", "family-main-menu__info");
			set_style(div4, "--familyColor", /*$family*/ ctx[0].color);
			set_style(div4, "--familyColor33", `${/*$family*/ ctx[0].color}33`);
			set_style(div4, "--familyColor66", `${/*$family*/ ctx[0].color}66`);
			attr(div8, "class", "family-main-menu__item");
			attr(div12, "class", "family-main-menu__item");
			attr(div16, "class", "family-main-menu__item");
			attr(div20, "class", "family-main-menu__item");
			attr(div24, "class", "family-main-menu__item");
			attr(div28, "class", "family-main-menu__item family-main-menu__item--shop");
			attr(div32, "class", "family-main-menu__item");
			attr(div36, "class", "family-main-menu__item");
			attr(div40, "class", "family-main-menu__item");
			attr(div44, "class", "family-main-menu__item");
			attr(div48, "class", "family-main-menu__item");
			attr(div52, "class", "family-main-menu__item");
			attr(div56, "class", "family-main-menu__item family-main-menu__item--out");
			attr(div57, "class", "family-main-menu__grid");
			attr(div58, "class", "family-main-menu__grid-wrapper");
			attr(div59, "class", "family-main-menu");
		},
		m(target, anchor) {
			insert(target, div59, anchor);
			append(div59, div4);
			append(div4, div2);
			append(div2, img);
			append(div2, t0);
			append(div2, div1);
			append(div1, span);
			append(span, t1);
			append(div1, t2);
			append(div1, div0);
			append(div0, t3);
			append(div4, t4);
			append(div4, div3);
			append(div3, t5);
			append(div59, t6);
			append(div59, div58);
			append(div58, div57);
			append(div57, div8);
			append(div57, t12);
			append(div57, div12);
			append(div57, t17);
			append(div57, div16);
			append(div57, t23);
			append(div57, div20);
			append(div57, t29);
			append(div57, div24);
			append(div57, t35);
			append(div57, div28);
			append(div57, t40);
			append(div57, div32);
			append(div57, t45);
			append(div57, div36);
			append(div57, t51);
			append(div57, div40);
			append(div57, t56);
			append(div57, div44);
			append(div57, t61);
			append(div57, div48);
			append(div57, t67);
			append(div57, div52);
			append(div57, t72);
			append(div57, div56);

			if (!mounted) {
				dispose = [
					listen(div8, "click", /*click_handler*/ ctx[2]),
					listen(div12, "click", /*click_handler_1*/ ctx[3]),
					listen(div16, "click", /*click_handler_2*/ ctx[4]),
					listen(div20, "click", /*click_handler_3*/ ctx[5]),
					listen(div24, "click", /*click_handler_4*/ ctx[6]),
					listen(div28, "click", /*click_handler_5*/ ctx[7]),
					listen(div32, "click", /*click_handler_6*/ ctx[8]),
					listen(div36, "click", /*click_handler_7*/ ctx[9]),
					listen(div40, "click", /*click_handler_8*/ ctx[10]),
					listen(div44, "click", /*click_handler_9*/ ctx[11]),
					listen(div48, "click", /*click_handler_10*/ ctx[12]),
					listen(div52, "click", /*click_handler_11*/ ctx[13]),
					listen(div56, "click", /*click_handler_12*/ ctx[14])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*$family*/ 1 && !src_url_equal(img.src, img_src_value = `${CDN_FAMILY_URL}/icons/${/*$family*/ ctx[0].logo}`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*$family*/ 1 && t1_value !== (t1_value = /*$family*/ ctx[0].type + "")) set_data(t1, t1_value);
			if (dirty & /*$family*/ 1 && t3_value !== (t3_value = /*$family*/ ctx[0].name + "")) set_data(t3, t3_value);
			if (dirty & /*$family*/ 1 && t5_value !== (t5_value = `“${/*$family*/ ctx[0].credo}”` + "")) set_data(t5, t5_value);

			if (dirty & /*$family*/ 1) {
				set_style(div4, "--familyColor", /*$family*/ ctx[0].color);
			}

			if (dirty & /*$family*/ 1) {
				set_style(div4, "--familyColor33", `${/*$family*/ ctx[0].color}33`);
			}

			if (dirty & /*$family*/ 1) {
				set_style(div4, "--familyColor66", `${/*$family*/ ctx[0].color}66`);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div59);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function main_menu_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedScreen;
	let $family;
	component_subscribe($$self, family_store_selectedScreen, $$value => $$invalidate(15, $selectedScreen = $$value));
	component_subscribe($$self, family, $$value => $$invalidate(0, $family = $$value));

	const selectScreen = screenId => {
		set_store_value(family_store_selectedScreen, $selectedScreen = screenId, $selectedScreen);
	};

	const click_handler = () => selectScreen(family_constants_Screens.Information);
	const click_handler_1 = () => selectScreen(family_constants_Screens.Members);
	const click_handler_2 = () => selectScreen(family_constants_Screens.Ownership);
	const click_handler_3 = () => selectScreen(family_constants_Screens.Activity);
	const click_handler_4 = () => sendClientMessage('family.quests');
	const click_handler_5 = () => selectScreen(family_constants_Screens.Shop);
	const click_handler_6 = () => selectScreen(family_constants_Screens.RatingList);
	const click_handler_7 = () => sendClientMessage('family.help');
	const click_handler_8 = () => selectScreen(family_constants_Screens.Improves);
	const click_handler_9 = () => selectScreen(family_constants_Screens.Diplomacy);
	const click_handler_10 = () => selectScreen(family_constants_Screens.TerritoryWar);
	const click_handler_11 = () => sendClientMessage('family.stash');
	const click_handler_12 = () => sendClientMessage('family.leave');

	return [
		$family,
		selectScreen,
		click_handler,
		click_handler_1,
		click_handler_2,
		click_handler_3,
		click_handler_4,
		click_handler_5,
		click_handler_6,
		click_handler_7,
		click_handler_8,
		click_handler_9,
		click_handler_10,
		click_handler_11,
		click_handler_12
	];
}

class Main_menu extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, main_menu_index_svelte_instance, main_menu_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const main_menu_index_svelte = (Main_menu);
;// CONCATENATED MODULE: ./src/views/phone/apps/family/components/information/index.svelte
/* src\views\phone\apps\family\components\information\index.svelte generated by Svelte v3.49.0 */











function information_index_svelte_create_fragment(ctx) {
	let div48;
	let div2;
	let img;
	let img_src_value;
	let t0;
	let div1;
	let span0;
	let t1_value = /*$family*/ ctx[0].type + "";
	let t1;
	let t2;
	let div0;
	let t3_value = /*$family*/ ctx[0].name + "";
	let t3;
	let t4;
	let div17;
	let div13;
	let div6;
	let div4;
	let div3;
	let t5_value = /*$family*/ ctx[0].level + "";
	let t5;
	let t6;
	let p0;
	let t8;
	let div5;
	let t10;
	let div11;
	let div7;
	let t11_value = /*$family*/ ctx[0].currentExp + "";
	let t11;
	let t12;
	let div9;
	let div8;
	let t13;
	let div10;
	let t14_value = /*$family*/ ctx[0].totalExp + "";
	let t14;
	let t15;
	let div12;
	let t17;
	let div16;
	let i0;
	let t18;
	let div14;
	let t20;
	let div15;
	let t21_value = `“${/*$family*/ ctx[0].credo}”` + "";
	let t21;
	let t22;
	let div33;
	let div20;
	let div18;
	let t23_value = formatMoney(/*$familyStats*/ ctx[1].reputation) + "";
	let t23;
	let t24;
	let div19;
	let t26;
	let div23;
	let div21;
	let t27_value = `₽ ${formatMoney(/*$familyStats*/ ctx[1].budget)}` + "";
	let t27;
	let t28;
	let div22;
	let t30;
	let div26;
	let div24;
	let t31_value = `${formatMoney(/*$familyStats*/ ctx[1].tax)}%` + "";
	let t31;
	let t32;
	let div25;
	let t34;
	let div29;
	let div27;
	let t35_value = formatMoney(/*$familyStats*/ ctx[1].totalMembers) + "";
	let t35;
	let t36;
	let div28;
	let t38;
	let div32;
	let div30;

	let t39_value = ((0,lodash.isEmpty)(/*$familyStats*/ ctx[1].discord)
	? '-'
	: /*$familyStats*/ ctx[1].discord) + "";

	let t39;
	let t40;
	let div31;
	let t42;
	let div47;
	let div35;
	let i1;
	let t43;
	let div34;
	let t45;
	let span1;
	let t46_value = /*$family*/ ctx[0].type + "";
	let t46;
	let t47;
	let div38;
	let i2;
	let t48;
	let div36;
	let t50;
	let div37;
	let t51;
	let div41;
	let t56;
	let div46;
	let i4;
	let t57;
	let div42;
	let t59;
	let div45;
	let div48_intro;
	let mounted;
	let dispose;

	return {
		c() {
			div48 = internal_element("div");
			div2 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div1 = internal_element("div");
			span0 = internal_element("span");
			t1 = internal_text(t1_value);
			t2 = space();
			div0 = internal_element("div");
			t3 = internal_text(t3_value);
			t4 = space();
			div17 = internal_element("div");
			div13 = internal_element("div");
			div6 = internal_element("div");
			div4 = internal_element("div");
			div3 = internal_element("div");
			t5 = internal_text(t5_value);
			t6 = space();
			p0 = internal_element("p");
			p0.textContent = "Уровень";
			t8 = space();
			div5 = internal_element("div");
			div5.textContent = "Выполняйте задания, криминальную активность, набирайте людей, получайте репутацию и повышайте уровень семьи.";
			t10 = space();
			div11 = internal_element("div");
			div7 = internal_element("div");
			t11 = internal_text(t11_value);
			t12 = space();
			div9 = internal_element("div");
			div8 = internal_element("div");
			t13 = space();
			div10 = internal_element("div");
			t14 = internal_text(t14_value);
			t15 = space();
			div12 = internal_element("div");
			div12.textContent = "Очков опыта";
			t17 = space();
			div16 = internal_element("div");
			i0 = internal_element("i");
			t18 = space();
			div14 = internal_element("div");
			div14.textContent = "Слоган";
			t20 = space();
			div15 = internal_element("div");
			t21 = internal_text(t21_value);
			t22 = space();
			div33 = internal_element("div");
			div20 = internal_element("div");
			div18 = internal_element("div");
			t23 = internal_text(t23_value);
			t24 = space();
			div19 = internal_element("div");
			div19.textContent = "Репутация";
			t26 = space();
			div23 = internal_element("div");
			div21 = internal_element("div");
			t27 = internal_text(t27_value);
			t28 = space();
			div22 = internal_element("div");
			div22.textContent = "Бюджет";
			t30 = space();
			div26 = internal_element("div");
			div24 = internal_element("div");
			t31 = internal_text(t31_value);
			t32 = space();
			div25 = internal_element("div");
			div25.textContent = "Идет в казну";
			t34 = space();
			div29 = internal_element("div");
			div27 = internal_element("div");
			t35 = internal_text(t35_value);
			t36 = space();
			div28 = internal_element("div");
			div28.textContent = "Состав семьи";
			t38 = space();
			div32 = internal_element("div");
			div30 = internal_element("div");
			t39 = internal_text(t39_value);
			t40 = space();
			div31 = internal_element("div");
			div31.textContent = "Discord";
			t42 = space();
			div47 = internal_element("div");
			div35 = internal_element("div");
			i1 = internal_element("i");
			t43 = space();
			div34 = internal_element("div");
			div34.textContent = "Изменить тип";
			t45 = space();
			span1 = internal_element("span");
			t46 = internal_text(t46_value);
			t47 = space();
			div38 = internal_element("div");
			i2 = internal_element("i");
			t48 = space();
			div36 = internal_element("div");
			div36.textContent = "Выбрать цвет";
			t50 = space();
			div37 = internal_element("div");
			t51 = space();
			div41 = internal_element("div");

			div41.innerHTML = `<i class="family-main-information__properties-item-icon icon-family-settings"></i> 
            <div class="family-main-information__properties-item-name">Объявление</div> 
            <div class="family-main-information__properties-item-advertisement">Выпустить объявление для всего состава организации</div>`;

			t56 = space();
			div46 = internal_element("div");
			i4 = internal_element("i");
			t57 = space();
			div42 = internal_element("div");
			div42.textContent = "Тип семьи";
			t59 = space();
			div45 = internal_element("div");

			div45.innerHTML = `<div class="family-main-information__properties-item-toggle"><p class="family-main-information__properties-item-toggle-title">Открытая</p></div> 
                <div class="family-main-information__properties-item-toggle"><p class="family-main-information__properties-item-toggle-title">Закрытая</p></div>`;

			attr(img, "class", "family-main-information__info-icon");
			if (!src_url_equal(img.src, img_src_value = `${CDN_FAMILY_URL}/icons/${/*$family*/ ctx[0].logo}`)) attr(img, "src", img_src_value);
			attr(img, "alt", "family-icon");
			attr(span0, "class", "family-main-information__type-caption");
			set_style(span0, "--familyColor", /*$family*/ ctx[0].color);
			attr(div0, "class", "family-main-information__name");
			attr(div1, "class", "family-main-information__name-wrapper");
			attr(div2, "class", "family-main-information__info");
			attr(div3, "class", "family-main-information__level");
			attr(p0, "class", "family-main-information__level-title");
			attr(div4, "class", "family-main-information__level-title-wrapper");
			attr(div5, "class", "family-main-information__level-text");
			attr(div6, "class", "family-main-information__level-wrapper");
			attr(div7, "class", "family-main-information__expirience");
			attr(div8, "class", "family-main-information__progress-bar family-main-information__progress-bar--current");
			attr(div9, "class", "family-main-information__progress-bar");
			set_style(div9, "--progress", `${Math.floor(countPercents(/*$family*/ ctx[0].currentExp, /*$family*/ ctx[0].totalExp))}%`);
			attr(div10, "class", "family-main-information__expirience family-main-information__expirience--total");
			attr(div11, "class", "family-main-information__level-progress-wrapper");
			attr(div12, "class", "family-main-information__level-caption");
			attr(div13, "class", "family-main-information__main-info");
			attr(i0, "class", "family-main-information__credo-edit icon-family-edit");
			attr(div14, "class", "family-main-information__credo-caption");
			attr(div15, "class", "family-main-information__credo");
			attr(div16, "class", "family-main-information__credo-wrapper");
			attr(div17, "class", "family-main-information__info-detailed");
			attr(div18, "class", "family-main-information__stats-item-value");
			attr(div19, "class", "family-main-information__stats-item-caption");
			attr(div20, "class", "family-main-information__stats-item");
			attr(div21, "class", "family-main-information__stats-item-value");
			attr(div22, "class", "family-main-information__stats-item-caption");
			attr(div23, "class", "family-main-information__stats-item family-main-information__stats-item--clickable");
			attr(div24, "class", "family-main-information__stats-item-value");
			attr(div25, "class", "family-main-information__stats-item-caption");
			attr(div26, "class", "family-main-information__stats-item family-main-information__stats-item--clickable");
			attr(div27, "class", "family-main-information__stats-item-value");
			attr(div28, "class", "family-main-information__stats-item-caption");
			attr(div29, "class", "family-main-information__stats-item");
			attr(div30, "class", "family-main-information__stats-item-value");
			attr(div31, "class", "family-main-information__stats-item-caption");
			attr(div32, "class", "family-main-information__stats-item family-main-information__stats-item--clickable");
			attr(div33, "class", "family-main-information__stats-row");
			attr(i1, "class", "family-main-information__properties-item-icon icon-family-house");
			attr(div34, "class", "family-main-information__properties-item-name");
			attr(span1, "class", "family-main-information__properties-item-caption");
			attr(div35, "class", "family-main-information__properties-item");
			attr(i2, "class", "family-main-information__properties-item-icon icon-family-color");
			attr(div36, "class", "family-main-information__properties-item-name");
			attr(div37, "class", "family-main-information__properties-item-color");
			set_style(div37, "--familyColor", /*$family*/ ctx[0].color);
			attr(div38, "class", "family-main-information__properties-item");
			attr(div41, "class", "family-main-information__properties-item");
			attr(i4, "class", "family-main-information__properties-item-icon icon-family-settings");
			attr(div42, "class", "family-main-information__properties-item-name");
			attr(div45, "class", "family-main-information__properties-item-toggles");
			toggle_class(div45, "family-main-information__properties-item-toggles--closed", !/*$family*/ ctx[0].opened);
			attr(div46, "class", "family-main-information__properties-item");
			attr(div47, "class", "family-main-information__properties-row");
			attr(div48, "class", "family-main-information");
		},
		m(target, anchor) {
			insert(target, div48, anchor);
			append(div48, div2);
			append(div2, img);
			append(div2, t0);
			append(div2, div1);
			append(div1, span0);
			append(span0, t1);
			append(div1, t2);
			append(div1, div0);
			append(div0, t3);
			append(div48, t4);
			append(div48, div17);
			append(div17, div13);
			append(div13, div6);
			append(div6, div4);
			append(div4, div3);
			append(div3, t5);
			append(div4, t6);
			append(div4, p0);
			append(div6, t8);
			append(div6, div5);
			append(div13, t10);
			append(div13, div11);
			append(div11, div7);
			append(div7, t11);
			append(div11, t12);
			append(div11, div9);
			append(div9, div8);
			append(div11, t13);
			append(div11, div10);
			append(div10, t14);
			append(div13, t15);
			append(div13, div12);
			append(div17, t17);
			append(div17, div16);
			append(div16, i0);
			append(div16, t18);
			append(div16, div14);
			append(div16, t20);
			append(div16, div15);
			append(div15, t21);
			append(div48, t22);
			append(div48, div33);
			append(div33, div20);
			append(div20, div18);
			append(div18, t23);
			append(div20, t24);
			append(div20, div19);
			append(div33, t26);
			append(div33, div23);
			append(div23, div21);
			append(div21, t27);
			append(div23, t28);
			append(div23, div22);
			append(div33, t30);
			append(div33, div26);
			append(div26, div24);
			append(div24, t31);
			append(div26, t32);
			append(div26, div25);
			append(div33, t34);
			append(div33, div29);
			append(div29, div27);
			append(div27, t35);
			append(div29, t36);
			append(div29, div28);
			append(div33, t38);
			append(div33, div32);
			append(div32, div30);
			append(div30, t39);
			append(div32, t40);
			append(div32, div31);
			append(div48, t42);
			append(div48, div47);
			append(div47, div35);
			append(div35, i1);
			append(div35, t43);
			append(div35, div34);
			append(div35, t45);
			append(div35, span1);
			append(span1, t46);
			append(div47, t47);
			append(div47, div38);
			append(div38, i2);
			append(div38, t48);
			append(div38, div36);
			append(div38, t50);
			append(div38, div37);
			append(div47, t51);
			append(div47, div41);
			append(div47, t56);
			append(div47, div46);
			append(div46, i4);
			append(div46, t57);
			append(div46, div42);
			append(div46, t59);
			append(div46, div45);

			if (!mounted) {
				dispose = [
					listen(div0, "click", /*click_handler*/ ctx[4]),
					listen(i0, "click", /*click_handler_1*/ ctx[5]),
					listen(div23, "click", /*click_handler_2*/ ctx[6]),
					listen(div26, "click", /*click_handler_3*/ ctx[7]),
					listen(div32, "click", /*click_handler_4*/ ctx[8]),
					listen(div35, "click", /*click_handler_5*/ ctx[9]),
					listen(div38, "click", /*click_handler_6*/ ctx[10]),
					listen(div41, "click", /*click_handler_7*/ ctx[11]),
					listen(div45, "click", /*click_handler_8*/ ctx[12])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*$family*/ 1 && !src_url_equal(img.src, img_src_value = `${CDN_FAMILY_URL}/icons/${/*$family*/ ctx[0].logo}`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*$family*/ 1 && t1_value !== (t1_value = /*$family*/ ctx[0].type + "")) set_data(t1, t1_value);

			if (dirty & /*$family*/ 1) {
				set_style(span0, "--familyColor", /*$family*/ ctx[0].color);
			}

			if (dirty & /*$family*/ 1 && t3_value !== (t3_value = /*$family*/ ctx[0].name + "")) set_data(t3, t3_value);
			if (dirty & /*$family*/ 1 && t5_value !== (t5_value = /*$family*/ ctx[0].level + "")) set_data(t5, t5_value);
			if (dirty & /*$family*/ 1 && t11_value !== (t11_value = /*$family*/ ctx[0].currentExp + "")) set_data(t11, t11_value);

			if (dirty & /*$family*/ 1) {
				set_style(div9, "--progress", `${Math.floor(countPercents(/*$family*/ ctx[0].currentExp, /*$family*/ ctx[0].totalExp))}%`);
			}

			if (dirty & /*$family*/ 1 && t14_value !== (t14_value = /*$family*/ ctx[0].totalExp + "")) set_data(t14, t14_value);
			if (dirty & /*$family*/ 1 && t21_value !== (t21_value = `“${/*$family*/ ctx[0].credo}”` + "")) set_data(t21, t21_value);
			if (dirty & /*$familyStats*/ 2 && t23_value !== (t23_value = formatMoney(/*$familyStats*/ ctx[1].reputation) + "")) set_data(t23, t23_value);
			if (dirty & /*$familyStats*/ 2 && t27_value !== (t27_value = `₽ ${formatMoney(/*$familyStats*/ ctx[1].budget)}` + "")) set_data(t27, t27_value);
			if (dirty & /*$familyStats*/ 2 && t31_value !== (t31_value = `${formatMoney(/*$familyStats*/ ctx[1].tax)}%` + "")) set_data(t31, t31_value);
			if (dirty & /*$familyStats*/ 2 && t35_value !== (t35_value = formatMoney(/*$familyStats*/ ctx[1].totalMembers) + "")) set_data(t35, t35_value);

			if (dirty & /*$familyStats*/ 2 && t39_value !== (t39_value = ((0,lodash.isEmpty)(/*$familyStats*/ ctx[1].discord)
			? '-'
			: /*$familyStats*/ ctx[1].discord) + "")) set_data(t39, t39_value);

			if (dirty & /*$family*/ 1 && t46_value !== (t46_value = /*$family*/ ctx[0].type + "")) set_data(t46, t46_value);

			if (dirty & /*$family*/ 1) {
				set_style(div37, "--familyColor", /*$family*/ ctx[0].color);
			}

			if (dirty & /*$family*/ 1) {
				toggle_class(div45, "family-main-information__properties-item-toggles--closed", !/*$family*/ ctx[0].opened);
			}
		},
		i(local) {
			if (!div48_intro) {
				add_render_callback(() => {
					div48_intro = create_in_transition(div48, fade, {});
					div48_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div48);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function information_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedScreen;
	let $family;
	let $familyStats;
	component_subscribe($$self, family_store_selectedScreen, $$value => $$invalidate(13, $selectedScreen = $$value));
	component_subscribe($$self, family, $$value => $$invalidate(0, $family = $$value));
	component_subscribe($$self, familyStats, $$value => $$invalidate(1, $familyStats = $$value));
	const editSome = property => sendClientMessage(`family.edit${property}`);

	const changeStatus = () => {
		set_store_value(family, $family.opened = !$family.opened, $family);
		sendClientMessage('family.changeStatus', $family.opened);
	};

	onMount(() => {
		sendClientMessage('family.selectedScreen', $selectedScreen);
	});

	const click_handler = () => editSome('Name');
	const click_handler_1 = () => editSome('Credo');
	const click_handler_2 = () => editSome('Budget');
	const click_handler_3 = () => editSome('Tax');
	const click_handler_4 = () => editSome('Discord');
	const click_handler_5 = () => editSome('Type');
	const click_handler_6 = () => editSome('Color');
	const click_handler_7 = () => editSome('Advertisement');
	const click_handler_8 = () => changeStatus($family.opened);

	return [
		$family,
		$familyStats,
		editSome,
		changeStatus,
		click_handler,
		click_handler_1,
		click_handler_2,
		click_handler_3,
		click_handler_4,
		click_handler_5,
		click_handler_6,
		click_handler_7,
		click_handler_8
	];
}

class Information extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, information_index_svelte_instance, information_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const information_index_svelte = (Information);
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/stats-total-bg.png
const stats_total_bg_namespaceObject = __webpack_require__.p + "assets/1234d93f0bdfe5f78d2e.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/total-icon.svg
const total_icon_namespaceObject = __webpack_require__.p + "assets/30c34637faf090e38124.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/stats-online-bg.png
const stats_online_bg_namespaceObject = __webpack_require__.p + "assets/4da97aa7ac3c72c75ce0.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/online-icon.svg
const online_icon_namespaceObject = __webpack_require__.p + "assets/91338f92f9afef05d9e5.svg";
;// CONCATENATED MODULE: ./src/views/phone/apps/family/components/members/components/settings/index.svelte
/* src\views\phone\apps\family\components\members\components\settings\index.svelte generated by Svelte v3.49.0 */







function settings_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[13] = list[i];
	return child_ctx;
}

function settings_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[16] = list[i];
	return child_ctx;
}

// (41:16) {#each $ranks as rank}
function settings_index_svelte_create_each_block_1(ctx) {
	let div1;
	let i0;
	let t0;
	let p0;
	let t1_value = /*rank*/ ctx[16].id + "";
	let t1;
	let t2;
	let div0;
	let t4;
	let p1;
	let t5_value = /*rank*/ ctx[16].name + "";
	let t5;
	let t6;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[8](/*rank*/ ctx[16]);
	}

	return {
		c() {
			div1 = internal_element("div");
			i0 = internal_element("i");
			t0 = space();
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			div0 = internal_element("div");

			div0.innerHTML = `<i class="family-members-content__edit-ranks-item-icon icon-family-wings-left"></i> 
                            <i class="family-members-content__edit-ranks-item-icon icon-family-wings-right"></i>`;

			t4 = space();
			p1 = internal_element("p");
			t5 = internal_text(t5_value);
			t6 = space();
			attr(i0, "class", "family-members-content__edit-ranks-item-edit-icon icon-family-pen");
			attr(p0, "class", "family-members-content__edit-ranks-item-id");
			attr(div0, "class", "family-members-content__edit-ranks-item-icon-wrapper");
			attr(p1, "class", "family-members-content__edit-ranks-item-name");
			attr(div1, "class", "family-members-content__edit-ranks-item");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, i0);
			append(div1, t0);
			append(div1, p0);
			append(p0, t1);
			append(div1, t2);
			append(div1, div0);
			append(div1, t4);
			append(div1, p1);
			append(p1, t5);
			append(div1, t6);

			if (!mounted) {
				dispose = listen(i0, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if (dirty & /*$ranks*/ 4 && t1_value !== (t1_value = /*rank*/ ctx[16].id + "")) set_data(t1, t1_value);
			if (dirty & /*$ranks*/ 4 && t5_value !== (t5_value = /*rank*/ ctx[16].name + "")) set_data(t5, t5_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
			mounted = false;
			dispose();
		}
	};
}

// (63:8) {#each $seniors as senior}
function settings_index_svelte_create_each_block(ctx) {
	let div1;
	let p0;

	let t0_value = (/*senior*/ ctx[13].id === 0
	? ' '
	: /*senior*/ ctx[13].id) + "";

	let t0;
	let t1;
	let div0;
	let t3;
	let p1;
	let t4_value = /*senior*/ ctx[13].post + "";
	let t4;
	let t5;
	let p2;
	let t6_value = /*senior*/ ctx[13].nickName + "";
	let t6;
	let t7;
	let mounted;
	let dispose;

	function click_handler_1() {
		return /*click_handler_1*/ ctx[10](/*senior*/ ctx[13]);
	}

	return {
		c() {
			div1 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			div0 = internal_element("div");

			div0.innerHTML = `<i class="family-members-content__high-ranks-item-icon icon-family-wings-left"></i> 
                    <i class="family-members-content__high-ranks-item-icon icon-family-wings-right"></i>`;

			t3 = space();
			p1 = internal_element("p");
			t4 = internal_text(t4_value);
			t5 = space();
			p2 = internal_element("p");
			t6 = internal_text(t6_value);
			t7 = space();
			attr(p0, "class", "family-members-content__high-ranks-item-id");
			attr(div0, "class", "family-members-content__high-ranks-item-icon-wrapper");
			attr(p1, "class", "family-members-content__high-ranks-item-name");
			attr(p2, "class", "family-members-content__high-ranks-item-nickName");
			attr(div1, "class", "family-members-content__high-ranks-item");
			toggle_class(div1, "family-members-content__high-ranks-item--disabled", /*senior*/ ctx[13].id <= 0);
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, p0);
			append(p0, t0);
			append(div1, t1);
			append(div1, div0);
			append(div1, t3);
			append(div1, p1);
			append(p1, t4);
			append(div1, t5);
			append(div1, p2);
			append(p2, t6);
			append(div1, t7);

			if (!mounted) {
				dispose = listen(div1, "click", click_handler_1);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*$seniors*/ 8 && t0_value !== (t0_value = (/*senior*/ ctx[13].id === 0
			? ' '
			: /*senior*/ ctx[13].id) + "")) set_data(t0, t0_value);

			if (dirty & /*$seniors*/ 8 && t4_value !== (t4_value = /*senior*/ ctx[13].post + "")) set_data(t4, t4_value);
			if (dirty & /*$seniors*/ 8 && t6_value !== (t6_value = /*senior*/ ctx[13].nickName + "")) set_data(t6, t6_value);

			if (dirty & /*$seniors*/ 8) {
				toggle_class(div1, "family-members-content__high-ranks-item--disabled", /*senior*/ ctx[13].id <= 0);
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			mounted = false;
			dispose();
		}
	};
}

function settings_index_svelte_create_fragment(ctx) {
	let div5;
	let div2;
	let p;
	let t1;
	let div1;
	let div0;
	let t2;
	let div4;
	let div3;
	let mounted;
	let dispose;
	let each_value_1 = /*$ranks*/ ctx[2];
	let each_blocks_1 = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks_1[i] = settings_index_svelte_create_each_block_1(settings_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	let each_value = /*$seniors*/ ctx[3];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = settings_index_svelte_create_each_block(settings_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div5 = internal_element("div");
			div2 = internal_element("div");
			p = internal_element("p");
			p.textContent = "Изменение названия рангов";
			t1 = space();
			div1 = internal_element("div");
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].c();
			}

			t2 = space();
			div4 = internal_element("div");
			div3 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(p, "class", "family-members-content__edit-ranks-title");
			attr(div0, "class", "family-members-content__edit-ranks-list");
			attr(div1, "class", "family-members-content__edit-ranks-list-wrapper");
			attr(div2, "class", "family-members-content__edit-ranks");
			attr(div3, "class", "family-members-content__high-ranks");
			attr(div4, "class", "family-members-content__high-ranks-wrapper");
			attr(div5, "class", "family-members-content");
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			append(div5, div2);
			append(div2, p);
			append(div2, t1);
			append(div2, div1);
			append(div1, div0);

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].m(div0, null);
			}

			/*div1_binding*/ ctx[9](div1);
			append(div5, t2);
			append(div5, div4);
			append(div4, div3);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div3, null);
			}

			/*div4_binding*/ ctx[11](div4);

			if (!mounted) {
				dispose = [
					listen(div1, "wheel", /*handleRanksWheel*/ ctx[5]),
					listen(div4, "wheel", /*handleSeniorsWheel*/ ctx[6])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*$ranks, editRank*/ 20) {
				each_value_1 = /*$ranks*/ ctx[2];
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = settings_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks_1[i]) {
						each_blocks_1[i].p(child_ctx, dirty);
					} else {
						each_blocks_1[i] = settings_index_svelte_create_each_block_1(child_ctx);
						each_blocks_1[i].c();
						each_blocks_1[i].m(div0, null);
					}
				}

				for (; i < each_blocks_1.length; i += 1) {
					each_blocks_1[i].d(1);
				}

				each_blocks_1.length = each_value_1.length;
			}

			if (dirty & /*$seniors, selectSenior*/ 136) {
				each_value = /*$seniors*/ ctx[3];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = settings_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = settings_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div3, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div5);
			destroy_each(each_blocks_1, detaching);
			/*div1_binding*/ ctx[9](null);
			destroy_each(each_blocks, detaching);
			/*div4_binding*/ ctx[11](null);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function settings_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedScreen;
	let $ranks;
	let $seniors;
	component_subscribe($$self, family_store_selectedScreen, $$value => $$invalidate(12, $selectedScreen = $$value));
	component_subscribe($$self, ranks, $$value => $$invalidate(2, $ranks = $$value));
	component_subscribe($$self, seniors, $$value => $$invalidate(3, $seniors = $$value));
	let scrollRanks;
	let scrollSeniors;
	const editRank = rank => sendClientMessage('family.editRank', rank);

	const handleRanksWheel = event => {
		$$invalidate(0, scrollRanks.scrollLeft += event.deltaY, scrollRanks);
	};

	const handleSeniorsWheel = event => {
		$$invalidate(1, scrollSeniors.scrollLeft += event.deltaY, scrollSeniors);
	};

	const selectSenior = id => {
		if (id <= 0) {
			return;
		}

		sendClientMessage('family.selectSenior', id);
	};

	onMount(() => {
		sendClientMessage('family.selectedScreen', $selectedScreen);
	});

	const click_handler = rank => editRank(rank.id);

	function div1_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			scrollRanks = $$value;
			$$invalidate(0, scrollRanks);
		});
	}

	const click_handler_1 = senior => selectSenior(senior.id);

	function div4_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			scrollSeniors = $$value;
			$$invalidate(1, scrollSeniors);
		});
	}

	return [
		scrollRanks,
		scrollSeniors,
		$ranks,
		$seniors,
		editRank,
		handleRanksWheel,
		handleSeniorsWheel,
		selectSenior,
		click_handler,
		div1_binding,
		click_handler_1,
		div4_binding
	];
}

class Settings extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, settings_index_svelte_instance, settings_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const settings_index_svelte = (Settings);
;// CONCATENATED MODULE: ./src/views/phone/apps/family/components/members/components/switch-icon/index.svelte
/* src\views\phone\apps\family\components\members\components\switch-icon\index.svelte generated by Svelte v3.49.0 */


function switch_icon_index_svelte_create_fragment(ctx) {
	let svg;
	let rect;
	let circle;

	return {
		c() {
			svg = svg_element("svg");
			rect = svg_element("rect");
			circle = svg_element("circle");
			attr(rect, "x", "0.5");
			attr(rect, "y", "0.5");
			attr(rect, "width", "25");
			attr(rect, "height", "25");
			attr(rect, "rx", "12.5");
			attr(rect, "fill", /*color*/ ctx[0]);
			attr(rect, "fill-opacity", "0.2");
			attr(circle, "cx", "13");
			attr(circle, "cy", "13");
			attr(circle, "r", "6.25");
			attr(circle, "fill", /*color*/ ctx[0]);
			attr(svg, "width", "26");
			attr(svg, "height", "26");
			attr(svg, "viewBox", "0 0 26 26");
			attr(svg, "fill", "none");
			attr(svg, "xmlns", "http://www.w3.org/2000/svg");
		},
		m(target, anchor) {
			insert(target, svg, anchor);
			append(svg, rect);
			append(svg, circle);
		},
		p(ctx, [dirty]) {
			if (dirty & /*color*/ 1) {
				attr(rect, "fill", /*color*/ ctx[0]);
			}

			if (dirty & /*color*/ 1) {
				attr(circle, "fill", /*color*/ ctx[0]);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(svg);
		}
	};
}

function switch_icon_index_svelte_instance($$self, $$props, $$invalidate) {
	let { color = '#FFFFFF' } = $$props;

	$$self.$$set = $$props => {
		if ('color' in $$props) $$invalidate(0, color = $$props.color);
	};

	return [color];
}

class Switch_icon extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, switch_icon_index_svelte_instance, switch_icon_index_svelte_create_fragment, safe_not_equal, { color: 0 });
	}
}

/* harmony default export */ const switch_icon_index_svelte = (Switch_icon);
;// CONCATENATED MODULE: ./src/views/phone/apps/family/components/members/components/request-list/constants.js
var MAP_STATUS_TO_COLOR = {
  "false": '#EC3F4C',
  "true": '#9BDC62'
};
;// CONCATENATED MODULE: ./src/views/phone/apps/family/components/members/components/request-list/index.svelte
/* src\views\phone\apps\family\components\members\components\request-list\index.svelte generated by Svelte v3.49.0 */









function request_list_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[4] = list[i];
	return child_ctx;
}

// (36:12) {#each $requests as request}
function request_list_index_svelte_create_each_block(ctx) {
	let div4;
	let div0;
	let switchicon;
	let t0;
	let div1;
	let p0;
	let t1_value = /*request*/ ctx[4].nickName + "";
	let t1;
	let t2;
	let div2;
	let p1;
	let t3_value = /*request*/ ctx[4].level + "";
	let t3;
	let t4;
	let div3;
	let t6;
	let current;
	let mounted;
	let dispose;

	switchicon = new switch_icon_index_svelte({
			props: {
				color: MAP_STATUS_TO_COLOR[/*request*/ ctx[4].status]
			}
		});

	function click_handler() {
		return /*click_handler*/ ctx[2](/*request*/ ctx[4]);
	}

	return {
		c() {
			div4 = internal_element("div");
			div0 = internal_element("div");
			create_component(switchicon.$$.fragment);
			t0 = space();
			div1 = internal_element("div");
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			div2 = internal_element("div");
			p1 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = space();
			div3 = internal_element("div");
			div3.innerHTML = `<i class="family-members-content__item-action">•••</i>`;
			t6 = space();
			attr(div0, "class", "family-members-content__item-value-wrapper");
			attr(p0, "class", "family-members-content__item-value");
			attr(div1, "class", "family-members-content__item-value-wrapper");
			attr(p1, "class", "family-members-content__item-value");
			attr(div2, "class", "family-members-content__item-value-wrapper");
			attr(div3, "class", "family-members-content__item-value-wrapper");
			attr(div4, "class", "family-members-content__item");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div0);
			mount_component(switchicon, div0, null);
			append(div4, t0);
			append(div4, div1);
			append(div1, p0);
			append(p0, t1);
			append(div4, t2);
			append(div4, div2);
			append(div2, p1);
			append(p1, t3);
			append(div4, t4);
			append(div4, div3);
			append(div4, t6);
			current = true;

			if (!mounted) {
				dispose = listen(div3, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			const switchicon_changes = {};
			if (dirty & /*$requests*/ 1) switchicon_changes.color = MAP_STATUS_TO_COLOR[/*request*/ ctx[4].status];
			switchicon.$set(switchicon_changes);
			if ((!current || dirty & /*$requests*/ 1) && t1_value !== (t1_value = /*request*/ ctx[4].nickName + "")) set_data(t1, t1_value);
			if ((!current || dirty & /*$requests*/ 1) && t3_value !== (t3_value = /*request*/ ctx[4].level + "")) set_data(t3, t3_value);
		},
		i(local) {
			if (current) return;
			transition_in(switchicon.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(switchicon.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div4);
			destroy_component(switchicon);
			mounted = false;
			dispose();
		}
	};
}

function request_list_index_svelte_create_fragment(ctx) {
	let div2;
	let div0;
	let t7;
	let div1;
	let current;
	let each_value = /*$requests*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = request_list_index_svelte_create_each_block(request_list_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");

			div0.innerHTML = `<p class="family-members-content__header-title">Статус</p> 
            <p class="family-members-content__header-title">Имя</p> 
            <p class="family-members-content__header-title">Уровень</p> 
            <p class="family-members-content__header-title">Действия</p>`;

			t7 = space();
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div0, "class", "family-members-content__header");
			attr(div1, "class", "family-members-content__list");
			attr(div2, "class", "family-members-content");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div2, t7);
			append(div2, div1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}

			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*action, $requests, MAP_STATUS_TO_COLOR*/ 3) {
				each_value = /*$requests*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = request_list_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = request_list_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div1, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div2);
			destroy_each(each_blocks, detaching);
		}
	};
}

function request_list_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedScreen;
	let $requests;
	component_subscribe($$self, family_store_selectedScreen, $$value => $$invalidate(3, $selectedScreen = $$value));
	component_subscribe($$self, requests, $$value => $$invalidate(0, $requests = $$value));

	const action = id => {
		sendClientMessage('family.requestAction', id);
	};

	onMount(() => {
		sendClientMessage('family.selectedScreen', $selectedScreen);
	});

	const click_handler = request => action(request.id);
	return [$requests, action, click_handler];
}

class Request_list extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, request_list_index_svelte_instance, request_list_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const request_list_index_svelte = (Request_list);
;// CONCATENATED MODULE: ./node_modules/svelte-infinite-scroll/dist/index.mjs



/* src/lib/InfiniteScroll.svelte generated by Svelte v3.42.1 */

function dist_create_if_block(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			attr(div, "id", "svelte-infinite-scroll");
			set_style(div, "width", "0");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			/*div_binding*/ ctx[11](div);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			/*div_binding*/ ctx[11](null);
		}
	};
}

function dist_create_fragment(ctx) {
	let if_block_anchor;
	let if_block = !/*window*/ ctx[1] && !/*elementScroll*/ ctx[0] && dist_create_if_block(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
		},
		p(ctx, [dirty]) {
			if (!/*window*/ ctx[1] && !/*elementScroll*/ ctx[0]) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = dist_create_if_block(ctx);
					if_block.c();
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

function dist_instance($$self, $$props, $$invalidate) {
	let { threshold = 0 } = $$props;
	let { horizontal = false } = $$props;
	let { elementScroll = null } = $$props;
	let { hasMore = true } = $$props;
	let { reverse = false } = $$props;
	let { window = false } = $$props;
	const dispatch = createEventDispatcher();
	let isLoadMore = false;
	let component;
	let beforeScrollHeight;
	let beforeScrollTop;
	let element;

	const onScroll = e => {
		if (!hasMore) return;
		const target = e.target;
		const offset = calcOffset(target, reverse, horizontal);

		if (offset <= threshold) {
			if (!isLoadMore && hasMore) {
				dispatch("loadMore");
				$$invalidate(8, beforeScrollHeight = target.scrollHeight);
				$$invalidate(9, beforeScrollTop = target.scrollTop);
			}

			$$invalidate(7, isLoadMore = true);
		} else {
			$$invalidate(7, isLoadMore = false);
		}
	};

	const calcOffset = (target, reverse, horizontal) => {
		const element = target.documentElement ? target.documentElement : target;

		if (reverse) {
			return horizontal ? element.scrollLeft : element.scrollTop;
		}

		return horizontal
		? element.scrollWidth - element.clientWidth - element.scrollLeft
		: element.scrollHeight - element.clientHeight - element.scrollTop;
	};

	onMount(() => {
		if (window) {
			$$invalidate(10, element = document);
		} else if (elementScroll) {
			$$invalidate(10, element = elementScroll);
		} else {
			$$invalidate(10, element = component.parentNode);
		}
	});

	onDestroy(() => {
		if (element) {
			element.removeEventListener("scroll", onScroll);
			element.removeEventListener("resize", onScroll);
		}
	});

	function div_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			component = $$value;
			$$invalidate(2, component);
		});
	}

	$$self.$$set = $$props => {
		if ('threshold' in $$props) $$invalidate(3, threshold = $$props.threshold);
		if ('horizontal' in $$props) $$invalidate(4, horizontal = $$props.horizontal);
		if ('elementScroll' in $$props) $$invalidate(0, elementScroll = $$props.elementScroll);
		if ('hasMore' in $$props) $$invalidate(5, hasMore = $$props.hasMore);
		if ('reverse' in $$props) $$invalidate(6, reverse = $$props.reverse);
		if ('window' in $$props) $$invalidate(1, window = $$props.window);
	};

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*element, reverse*/ 1088) {
			if (element) {
				if (reverse) {
					$$invalidate(10, element.scrollTop = element.scrollHeight, element);
				}

				element.addEventListener("scroll", onScroll);
				element.addEventListener("resize", onScroll);
			}
		}

		if ($$self.$$.dirty & /*isLoadMore, reverse, element, beforeScrollHeight, beforeScrollTop*/ 1984) {
			if (isLoadMore && reverse) {
				$$invalidate(10, element.scrollTop = element.scrollHeight - beforeScrollHeight + beforeScrollTop, element);
			}
		}
	};

	return [
		elementScroll,
		window,
		component,
		threshold,
		horizontal,
		hasMore,
		reverse,
		isLoadMore,
		beforeScrollHeight,
		beforeScrollTop,
		element,
		div_binding
	];
}

class InfiniteScroll extends SvelteComponent {
	constructor(options) {
		super();

		init(this, options, dist_instance, dist_create_fragment, safe_not_equal, {
			threshold: 3,
			horizontal: 4,
			elementScroll: 0,
			hasMore: 5,
			reverse: 6,
			window: 1
		});
	}
}



;// CONCATENATED MODULE: ./src/views/phone/apps/family/components/members/components/members/constants.js
var constants_MAP_STATUS_TO_COLOR = {
  0: '#EC3F4C',
  1: '#9BDC62'
};
;// CONCATENATED MODULE: ./src/views/phone/apps/family/components/members/components/members/index.svelte
/* src\views\phone\apps\family\components\members\components\members\index.svelte generated by Svelte v3.49.0 */










function members_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[5] = list[i];
	return child_ctx;
}

// (48:12) {#each $members as member}
function members_index_svelte_create_each_block(ctx) {
	let div6;
	let div0;
	let switchicon;
	let t0;
	let div1;
	let p0;
	let t1_value = /*member*/ ctx[5].nickName + "";
	let t1;
	let t2;
	let p1;
	let t3_value = /*member*/ ctx[5].post + "";
	let t3;
	let t4;
	let div2;
	let p2;
	let t5_value = /*member*/ ctx[5].rank + "";
	let t5;
	let t6;
	let div3;
	let p3;
	let t7_value = /*member*/ ctx[5].totalQuests + "";
	let t7;
	let t8;
	let div4;
	let p4;
	let t9_value = /*member*/ ctx[5].reprimand + "";
	let t9;
	let t10;
	let div5;
	let t12;
	let current;
	let mounted;
	let dispose;

	switchicon = new switch_icon_index_svelte({
			props: {
				color: constants_MAP_STATUS_TO_COLOR[Number(/*member*/ ctx[5].status !== 1001)]
			}
		});

	function click_handler() {
		return /*click_handler*/ ctx[3](/*member*/ ctx[5]);
	}

	return {
		c() {
			div6 = internal_element("div");
			div0 = internal_element("div");
			create_component(switchicon.$$.fragment);
			t0 = space();
			div1 = internal_element("div");
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			p1 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = space();
			div2 = internal_element("div");
			p2 = internal_element("p");
			t5 = internal_text(t5_value);
			t6 = space();
			div3 = internal_element("div");
			p3 = internal_element("p");
			t7 = internal_text(t7_value);
			t8 = space();
			div4 = internal_element("div");
			p4 = internal_element("p");
			t9 = internal_text(t9_value);
			t10 = space();
			div5 = internal_element("div");
			div5.innerHTML = `<i class="family-content__content-item-action">•••</i>`;
			t12 = space();
			attr(div0, "class", "family-content__content-item-value-wrapper");
			attr(p0, "class", "family-content__content-item-value");
			attr(p1, "class", "family-content__content-item-post");
			attr(div1, "class", "family-content__content-item-value-wrapper");
			attr(p2, "class", "family-content__content-item-value");
			attr(div2, "class", "family-content__content-item-value-wrapper");
			attr(p3, "class", "family-content__content-item-value");
			attr(div3, "class", "family-content__content-item-value-wrapper");
			attr(p4, "class", "family-content__content-item-value");
			attr(div4, "class", "family-content__content-item-value-wrapper");
			attr(div5, "class", "family-content__content-item-value-wrapper");
			attr(div6, "class", "family-content__content-item");
		},
		m(target, anchor) {
			insert(target, div6, anchor);
			append(div6, div0);
			mount_component(switchicon, div0, null);
			append(div6, t0);
			append(div6, div1);
			append(div1, p0);
			append(p0, t1);
			append(div1, t2);
			append(div1, p1);
			append(p1, t3);
			append(div6, t4);
			append(div6, div2);
			append(div2, p2);
			append(p2, t5);
			append(div6, t6);
			append(div6, div3);
			append(div3, p3);
			append(p3, t7);
			append(div6, t8);
			append(div6, div4);
			append(div4, p4);
			append(p4, t9);
			append(div6, t10);
			append(div6, div5);
			append(div6, t12);
			current = true;

			if (!mounted) {
				dispose = listen(div5, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			const switchicon_changes = {};
			if (dirty & /*$members*/ 1) switchicon_changes.color = constants_MAP_STATUS_TO_COLOR[Number(/*member*/ ctx[5].status !== 1001)];
			switchicon.$set(switchicon_changes);
			if ((!current || dirty & /*$members*/ 1) && t1_value !== (t1_value = /*member*/ ctx[5].nickName + "")) set_data(t1, t1_value);
			if ((!current || dirty & /*$members*/ 1) && t3_value !== (t3_value = /*member*/ ctx[5].post + "")) set_data(t3, t3_value);
			if ((!current || dirty & /*$members*/ 1) && t5_value !== (t5_value = /*member*/ ctx[5].rank + "")) set_data(t5, t5_value);
			if ((!current || dirty & /*$members*/ 1) && t7_value !== (t7_value = /*member*/ ctx[5].totalQuests + "")) set_data(t7, t7_value);
			if ((!current || dirty & /*$members*/ 1) && t9_value !== (t9_value = /*member*/ ctx[5].reprimand + "")) set_data(t9, t9_value);
		},
		i(local) {
			if (current) return;
			transition_in(switchicon.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(switchicon.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div6);
			destroy_component(switchicon);
			mounted = false;
			dispose();
		}
	};
}

function members_index_svelte_create_fragment(ctx) {
	let div2;
	let div0;
	let t11;
	let div1;
	let infinitescroll;
	let t12;
	let current;
	infinitescroll = new InfiniteScroll({});
	infinitescroll.$on("loadMore", /*requestMembers*/ ctx[2]);
	let each_value = /*$members*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = members_index_svelte_create_each_block(members_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");

			div0.innerHTML = `<p class="family-content__content-header-title">Статус</p> 
            <p class="family-content__content-header-title">Имя</p> 
            <p class="family-content__content-header-title">Ранг</p> 
            <p class="family-content__content-header-title">Квесты</p> 
            <p class="family-content__content-header-title">Выговоры</p> 
            <p class="family-content__content-header-title">Действия</p>`;

			t11 = space();
			div1 = internal_element("div");
			create_component(infinitescroll.$$.fragment);
			t12 = space();

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div0, "class", "family-content__content-header");
			attr(div1, "class", "family-content__content-list");
			attr(div2, "class", "family-content");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div2, t11);
			append(div2, div1);
			mount_component(infinitescroll, div1, null);
			append(div1, t12);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}

			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*action, $members, MAP_STATUS_TO_COLOR, Number*/ 3) {
				each_value = /*$members*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = members_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = members_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div1, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(infinitescroll.$$.fragment, local);

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			transition_out(infinitescroll.$$.fragment, local);
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div2);
			destroy_component(infinitescroll);
			destroy_each(each_blocks, detaching);
		}
	};
}

function members_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedScreen;
	let $members;
	component_subscribe($$self, family_store_selectedScreen, $$value => $$invalidate(4, $selectedScreen = $$value));
	component_subscribe($$self, members, $$value => $$invalidate(0, $members = $$value));

	const action = (name, playerid, accountId) => {
		sendClientMessage('family.membersAction', name, playerid, accountId);
	};

	const requestMembers = () => {
		sendClientMessage('family.requestMembers', $members.length);
	};

	onMount(() => {
		sendClientMessage('family.selectedScreen', $selectedScreen);
	});

	const click_handler = member => action(member.nickName, member.status, member.id);
	return [$members, action, requestMembers, click_handler];
}

class Members extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, members_index_svelte_instance, members_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const members_index_svelte = (Members);
;// CONCATENATED MODULE: ./src/views/phone/apps/family/components/members/constants.js
function members_constants_typeof(o) { "@babel/helpers - typeof"; return members_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, members_constants_typeof(o); }
function members_constants_defineProperty(e, r, t) { return (r = members_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function members_constants_toPropertyKey(t) { var i = members_constants_toPrimitive(t, "string"); return "symbol" == members_constants_typeof(i) ? i : i + ""; }
function members_constants_toPrimitive(t, r) { if ("object" != members_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != members_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }



var members_constants_MAP_STATUS_TO_COLOR = {
  "false": '#EC3F4C',
  "true": '#9BDC62'
};
var tabsId = {
  Requests: 'requests',
  Settings: 'settings',
  Members: 'members'
};
var SETTINGS_TABS = [{
  id: 'requests',
  title: 'Заявки'
}, {
  id: 'settings',
  title: 'Настройка'
}];
var MAP_ID_TO_BODY = members_constants_defineProperty(members_constants_defineProperty(members_constants_defineProperty({}, tabsId.Requests, request_list_index_svelte), tabsId.Settings, settings_index_svelte), tabsId.Members, members_index_svelte);
;// CONCATENATED MODULE: ./src/views/phone/apps/family/components/members/index.svelte
/* src\views\phone\apps\family\components\members\index.svelte generated by Svelte v3.49.0 */













function components_members_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[7] = list[i];
	return child_ctx;
}

// (86:12) {#each SETTINGS_TABS as tab}
function components_members_index_svelte_create_each_block(ctx) {
	let div;
	let i;
	let t0;
	let p;
	let t1_value = /*tab*/ ctx[7].title + "";
	let t1;
	let t2;
	let mounted;
	let dispose;

	function click_handler_1() {
		return /*click_handler_1*/ ctx[5](/*tab*/ ctx[7]);
	}

	return {
		c() {
			div = internal_element("div");
			i = internal_element("i");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(i, "class", "family-members__left-panel-item-icon icon-family-income");
			attr(p, "class", "family-members__left-panel-item-title");
			attr(div, "class", "family-members__left-panel-item");
			toggle_class(div, "family-members__left-panel-item--selected", /*selectedNavId*/ ctx[0] === /*tab*/ ctx[7].id);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, i);
			append(div, t0);
			append(div, p);
			append(p, t1);
			append(div, t2);

			if (!mounted) {
				dispose = listen(div, "click", click_handler_1);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*selectedNavId, SETTINGS_TABS*/ 1) {
				toggle_class(div, "family-members__left-panel-item--selected", /*selectedNavId*/ ctx[0] === /*tab*/ ctx[7].id);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

function components_members_index_svelte_create_fragment(ctx) {
	let div8;
	let div6;
	let div1;
	let img0;
	let img0_src_value;
	let t0;
	let p0;
	let t2;
	let div0;
	let img1;
	let img1_src_value;
	let t3;
	let p1;
	let t4_value = /*$family*/ ctx[1].totalMembers + "";
	let t4;
	let t5;
	let div3;
	let img2;
	let img2_src_value;
	let t6;
	let p2;
	let t8;
	let div2;
	let img3;
	let img3_src_value;
	let t9;
	let p3;
	let t10_value = /*$family*/ ctx[1].onlineMembers + "";
	let t10;
	let t11;
	let div5;
	let div4;
	let t14;
	let t15;
	let div7;
	let switch_instance;
	let div8_intro;
	let current;
	let mounted;
	let dispose;
	let each_value = SETTINGS_TABS;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = components_members_index_svelte_create_each_block(components_members_index_svelte_get_each_context(ctx, each_value, i));
	}

	var switch_value = MAP_ID_TO_BODY[/*selectedNavId*/ ctx[0]];

	function switch_props(ctx) {
		return {};
	}

	if (switch_value) {
		switch_instance = new switch_value(switch_props(ctx));
	}

	return {
		c() {
			div8 = internal_element("div");
			div6 = internal_element("div");
			div1 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			p0 = internal_element("p");
			p0.textContent = "Состав семьи";
			t2 = space();
			div0 = internal_element("div");
			img1 = internal_element("img");
			t3 = space();
			p1 = internal_element("p");
			t4 = internal_text(t4_value);
			t5 = space();
			div3 = internal_element("div");
			img2 = internal_element("img");
			t6 = space();
			p2 = internal_element("p");
			p2.textContent = "Онлайн";
			t8 = space();
			div2 = internal_element("div");
			img3 = internal_element("img");
			t9 = space();
			p3 = internal_element("p");
			t10 = internal_text(t10_value);
			t11 = space();
			div5 = internal_element("div");
			div4 = internal_element("div");

			div4.innerHTML = `<i class="family-members__left-panel-item-icon icon-family-invite"></i> 
                <p class="family-members__left-panel-item-title">Пригласить</p>`;

			t14 = space();

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t15 = space();
			div7 = internal_element("div");
			if (switch_instance) create_component(switch_instance.$$.fragment);
			attr(img0, "class", "family-members__left-stats-background");
			if (!src_url_equal(img0.src, img0_src_value = stats_total_bg_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "total-members-img");
			attr(p0, "class", "family-members__left-stats-title");
			attr(img1, "class", "family-members__left-stats-value-img");
			if (!src_url_equal(img1.src, img1_src_value = total_icon_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "value-img");
			attr(p1, "class", "family-members__left-stats-value");
			attr(div0, "class", "family-members__left-stats-value-wrapper");
			attr(div1, "class", "family-members__left-stats");
			attr(img2, "class", "family-members__left-stats-background");
			if (!src_url_equal(img2.src, img2_src_value = stats_online_bg_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "total-members-img");
			attr(p2, "class", "family-members__left-stats-title");
			attr(img3, "class", "family-members__left-stats-value-img");
			if (!src_url_equal(img3.src, img3_src_value = online_icon_namespaceObject)) attr(img3, "src", img3_src_value);
			attr(img3, "alt", "value-img");
			attr(p3, "class", "family-members__left-stats-value");
			attr(div2, "class", "family-members__left-stats-value-wrapper");
			attr(div3, "class", "family-members__left-stats");
			attr(div4, "class", "family-members__left-panel-item");
			attr(div5, "class", "family-members__left-panel");
			attr(div6, "class", "family-members__left");
			attr(div7, "class", "family-members__content-wrapper");
			attr(div8, "class", "family-members");
		},
		m(target, anchor) {
			insert(target, div8, anchor);
			append(div8, div6);
			append(div6, div1);
			append(div1, img0);
			append(div1, t0);
			append(div1, p0);
			append(div1, t2);
			append(div1, div0);
			append(div0, img1);
			append(div0, t3);
			append(div0, p1);
			append(p1, t4);
			append(div6, t5);
			append(div6, div3);
			append(div3, img2);
			append(div3, t6);
			append(div3, p2);
			append(div3, t8);
			append(div3, div2);
			append(div2, img3);
			append(div2, t9);
			append(div2, p3);
			append(p3, t10);
			append(div6, t11);
			append(div6, div5);
			append(div5, div4);
			append(div5, t14);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div5, null);
			}

			append(div8, t15);
			append(div8, div7);

			if (switch_instance) {
				mount_component(switch_instance, div7, null);
			}

			current = true;

			if (!mounted) {
				dispose = [
					listen(div1, "click", /*click_handler*/ ctx[4]),
					listen(div4, "click", /*invite*/ ctx[3])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if ((!current || dirty & /*$family*/ 2) && t4_value !== (t4_value = /*$family*/ ctx[1].totalMembers + "")) set_data(t4, t4_value);
			if ((!current || dirty & /*$family*/ 2) && t10_value !== (t10_value = /*$family*/ ctx[1].onlineMembers + "")) set_data(t10, t10_value);

			if (dirty & /*selectedNavId, SETTINGS_TABS, selectNav*/ 5) {
				each_value = SETTINGS_TABS;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = components_members_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = components_members_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div5, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if (switch_value !== (switch_value = MAP_ID_TO_BODY[/*selectedNavId*/ ctx[0]])) {
				if (switch_instance) {
					group_outros();
					const old_component = switch_instance;

					transition_out(old_component.$$.fragment, 1, 0, () => {
						destroy_component(old_component, 1);
					});

					check_outros();
				}

				if (switch_value) {
					switch_instance = new switch_value(switch_props(ctx));
					create_component(switch_instance.$$.fragment);
					transition_in(switch_instance.$$.fragment, 1);
					mount_component(switch_instance, div7, null);
				} else {
					switch_instance = null;
				}
			} else if (switch_value) {
				
			}
		},
		i(local) {
			if (current) return;
			if (switch_instance) transition_in(switch_instance.$$.fragment, local);

			if (!div8_intro) {
				add_render_callback(() => {
					div8_intro = create_in_transition(div8, fade, {});
					div8_intro.start();
				});
			}

			current = true;
		},
		o(local) {
			if (switch_instance) transition_out(switch_instance.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div8);
			destroy_each(each_blocks, detaching);
			if (switch_instance) destroy_component(switch_instance);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function components_members_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedScreen;
	let $family;
	component_subscribe($$self, family_store_selectedScreen, $$value => $$invalidate(6, $selectedScreen = $$value));
	component_subscribe($$self, family, $$value => $$invalidate(1, $family = $$value));
	let selectedNavId = 'members';

	const selectNav = id => {
		$$invalidate(0, selectedNavId = id);
	};

	const invite = () => {
		sendClientMessage('family.invite');
	};

	onMount(() => {
		sendClientMessage('family.selectedScreen', $selectedScreen);
	});

	const click_handler = () => selectNav('members');
	const click_handler_1 = tab => selectNav(tab.id);
	return [selectedNavId, $family, selectNav, invite, click_handler, click_handler_1];
}

class index_svelte_Members extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, components_members_index_svelte_instance, components_members_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const components_members_index_svelte = (index_svelte_Members);
;// CONCATENATED MODULE: ./src/views/phone/apps/family/components/ownership/index.svelte
/* src\views\phone\apps\family\components\ownership\index.svelte generated by Svelte v3.49.0 */












function ownership_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[13] = list[i];
	return child_ctx;
}

function ownership_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[16] = list[i];
	return child_ctx;
}

// (56:8) {#each $possessions as possession}
function ownership_index_svelte_create_each_block_1(ctx) {
	let div2;
	let img;
	let img_src_value;
	let img_alt_value;
	let t0;
	let div0;
	let t1_value = MAP_OWNERSHIP_TYPE_TO_CAPTION[/*possession*/ ctx[16].type] + "";
	let t1;
	let t2;
	let div1;

	let t3_value = ((0,lodash.isEmpty)(/*possession*/ ctx[16].name)
	? 'Отсутствует'
	: /*possession*/ ctx[16].name) + "";

	let t3;
	let t4;
	let mounted;
	let dispose;

	return {
		c() {
			div2 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			div1 = internal_element("div");
			t3 = internal_text(t3_value);
			t4 = space();
			if (!src_url_equal(img.src, img_src_value = MAP_OWNERSHIP_TYPE_TO_IMAGE[/*possession*/ ctx[16].type])) attr(img, "src", img_src_value);
			attr(img, "alt", img_alt_value = /*possession*/ ctx[16].name);
			attr(img, "class", "family-ownership__image");
			attr(div0, "class", "family-ownership__content-caption");
			attr(div1, "class", "family-ownership__content-name");
			attr(div2, "class", "family-ownership__possession-item");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, img);
			append(div2, t0);
			append(div2, div0);
			append(div0, t1);
			append(div2, t2);
			append(div2, div1);
			append(div1, t3);
			append(div2, t4);

			if (!mounted) {
				dispose = listen(div2, "click", function () {
					if (internal_is_function(sendClientMessage(`family.${/*possession*/ ctx[16].type}Clicked`))) sendClientMessage(`family.${/*possession*/ ctx[16].type}Clicked`).apply(this, arguments);
				});

				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*$possessions*/ 1 && !src_url_equal(img.src, img_src_value = MAP_OWNERSHIP_TYPE_TO_IMAGE[/*possession*/ ctx[16].type])) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*$possessions*/ 1 && img_alt_value !== (img_alt_value = /*possession*/ ctx[16].name)) {
				attr(img, "alt", img_alt_value);
			}

			if (dirty & /*$possessions*/ 1 && t1_value !== (t1_value = MAP_OWNERSHIP_TYPE_TO_CAPTION[/*possession*/ ctx[16].type] + "")) set_data(t1, t1_value);

			if (dirty & /*$possessions*/ 1 && t3_value !== (t3_value = ((0,lodash.isEmpty)(/*possession*/ ctx[16].name)
			? 'Отсутствует'
			: /*possession*/ ctx[16].name) + "")) set_data(t3, t3_value);
		},
		d(detaching) {
			if (detaching) detach(div2);
			mounted = false;
			dispose();
		}
	};
}

// (77:12) {#each $transport as transportItem}
function ownership_index_svelte_create_each_block(ctx) {
	let div8;
	let div0;
	let i;
	let i_class_value;
	let t0;
	let div7;
	let p;
	let t1_value = /*transportItem*/ ctx[13].name + "";
	let t1;
	let t2;
	let div6;
	let t3;
	let div5;
	let div1;
	let t5;
	let div2;
	let t7;
	let div3;
	let t9;
	let div4;
	let t11;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[6](/*transportItem*/ ctx[13]);
	}

	function click_handler_1() {
		return /*click_handler_1*/ ctx[7](/*transportItem*/ ctx[13]);
	}

	function click_handler_2() {
		return /*click_handler_2*/ ctx[8](/*transportItem*/ ctx[13]);
	}

	function click_handler_3() {
		return /*click_handler_3*/ ctx[9](/*transportItem*/ ctx[13]);
	}

	return {
		c() {
			div8 = internal_element("div");
			div0 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div7 = internal_element("div");
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			div6 = internal_element("div");
			t3 = internal_text("•••\r\n                            ");
			div5 = internal_element("div");
			div1 = internal_element("div");
			div1.textContent = "Заспавнить";
			t5 = space();
			div2 = internal_element("div");
			div2.textContent = "Отремонтировать";
			t7 = space();
			div3 = internal_element("div");
			div3.textContent = "Продать";
			t9 = space();
			div4 = internal_element("div");
			div4.textContent = "Изменить доступ";
			t11 = space();
			attr(i, "class", i_class_value = "family-ownership__transport-item-icon " + MAP_TRANSPORT_TYPE_TO_ICON[/*transportItem*/ ctx[13].type]);
			attr(div0, "class", "family-ownership__transport-item-icon-wrapper");
			attr(p, "class", "family-ownership__transport-item-name");
			attr(div1, "class", "family-ownership__transport-item-tooltip-button");
			attr(div2, "class", "family-ownership__transport-item-tooltip-button");
			attr(div3, "class", "family-ownership__transport-item-tooltip-button");
			attr(div4, "class", "family-ownership__transport-item-tooltip-button");
			attr(div5, "class", "family-ownership__transport-item-tooltip");
			toggle_class(div5, "family-ownership__transport-item-tooltip--last", /*$transport*/ ctx[1].length === /*transportItem*/ ctx[13].id + 1 && /*$transport*/ ctx[1].length >= 8);
			toggle_class(div5, "family-ownership__transport-item-tooltip--preLast", /*$transport*/ ctx[1].length - 1 === /*transportItem*/ ctx[13].id + 1 && /*$transport*/ ctx[1].length >= 8);
			attr(div6, "class", "family-ownership__transport-item-action");
			attr(div7, "class", "family-ownership__transport-item-name-wrapper");
			attr(div8, "class", "family-ownership__transport-item");
		},
		m(target, anchor) {
			insert(target, div8, anchor);
			append(div8, div0);
			append(div0, i);
			append(div8, t0);
			append(div8, div7);
			append(div7, p);
			append(p, t1);
			append(div7, t2);
			append(div7, div6);
			append(div6, t3);
			append(div6, div5);
			append(div5, div1);
			append(div5, t5);
			append(div5, div2);
			append(div5, t7);
			append(div5, div3);
			append(div5, t9);
			append(div5, div4);
			append(div8, t11);

			if (!mounted) {
				dispose = [
					listen(div1, "click", click_handler),
					listen(div2, "click", click_handler_1),
					listen(div3, "click", click_handler_2),
					listen(div4, "click", click_handler_3)
				];

				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*$transport*/ 2 && i_class_value !== (i_class_value = "family-ownership__transport-item-icon " + MAP_TRANSPORT_TYPE_TO_ICON[/*transportItem*/ ctx[13].type])) {
				attr(i, "class", i_class_value);
			}

			if (dirty & /*$transport*/ 2 && t1_value !== (t1_value = /*transportItem*/ ctx[13].name + "")) set_data(t1, t1_value);

			if (dirty & /*$transport*/ 2) {
				toggle_class(div5, "family-ownership__transport-item-tooltip--last", /*$transport*/ ctx[1].length === /*transportItem*/ ctx[13].id + 1 && /*$transport*/ ctx[1].length >= 8);
			}

			if (dirty & /*$transport*/ 2) {
				toggle_class(div5, "family-ownership__transport-item-tooltip--preLast", /*$transport*/ ctx[1].length - 1 === /*transportItem*/ ctx[13].id + 1 && /*$transport*/ ctx[1].length >= 8);
			}
		},
		d(detaching) {
			if (detaching) detach(div8);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function ownership_index_svelte_create_fragment(ctx) {
	let div3;
	let div0;
	let t;
	let div2;
	let div1;
	let div3_intro;
	let each_value_1 = /*$possessions*/ ctx[0];
	let each_blocks_1 = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks_1[i] = ownership_index_svelte_create_each_block_1(ownership_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	let each_value = /*$transport*/ ctx[1];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = ownership_index_svelte_create_each_block(ownership_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div3 = internal_element("div");
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].c();
			}

			t = space();
			div2 = internal_element("div");
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div0, "class", "family-ownership__possessions");
			attr(div1, "class", "family-ownership__transport-list");
			attr(div2, "class", "family-ownership__transport");
			attr(div3, "class", "family-ownership");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div0);

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].m(div0, null);
			}

			append(div3, t);
			append(div3, div2);
			append(div2, div1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*sendClientMessage, $possessions, isEmpty, MAP_OWNERSHIP_TYPE_TO_CAPTION, MAP_OWNERSHIP_TYPE_TO_IMAGE*/ 1) {
				each_value_1 = /*$possessions*/ ctx[0];
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = ownership_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks_1[i]) {
						each_blocks_1[i].p(child_ctx, dirty);
					} else {
						each_blocks_1[i] = ownership_index_svelte_create_each_block_1(child_ctx);
						each_blocks_1[i].c();
						each_blocks_1[i].m(div0, null);
					}
				}

				for (; i < each_blocks_1.length; i += 1) {
					each_blocks_1[i].d(1);
				}

				each_blocks_1.length = each_value_1.length;
			}

			if (dirty & /*$transport, changeAccess, sell, repair, spawn, MAP_TRANSPORT_TYPE_TO_ICON*/ 62) {
				each_value = /*$transport*/ ctx[1];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = ownership_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = ownership_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div1, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i(local) {
			if (!div3_intro) {
				add_render_callback(() => {
					div3_intro = create_in_transition(div3, fade, {});
					div3_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div3);
			destroy_each(each_blocks_1, detaching);
			destroy_each(each_blocks, detaching);
		}
	};
}

function ownership_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedScreen;
	let $possessions;
	let $transport;
	component_subscribe($$self, family_store_selectedScreen, $$value => $$invalidate(11, $selectedScreen = $$value));
	component_subscribe($$self, possessions, $$value => $$invalidate(0, $possessions = $$value));
	component_subscribe($$self, transport, $$value => $$invalidate(1, $transport = $$value));
	let disabledButtons = false;

	const buttonTimeout = () => {
		disabledButtons = true;

		setTimeout(
			() => {
				disabledButtons = false;
			},
			1000
		);
	};

	const sell = id => {
		if (disabledButtons) {
			return;
		}

		sendClientMessage('family.sellVehicle', id);
		buttonTimeout();
	};

	const repair = id => {
		if (disabledButtons) {
			return;
		}

		sendClientMessage('family.repairVehicle', id);
		buttonTimeout();
	};

	const spawn = id => {
		if (disabledButtons) {
			return;
		}

		sendClientMessage('family.spawnVehicle', id);
		buttonTimeout();
	};

	const changeAccess = id => {
		if (disabledButtons) {
			return;
		}

		sendClientMessage('family.changeVehicleAccess', id);
		buttonTimeout();
	};

	onMount(() => {
		sendClientMessage('family.selectedScreen', $selectedScreen);
	});

	const click_handler = transportItem => spawn(transportItem.id);
	const click_handler_1 = transportItem => repair(transportItem.id);
	const click_handler_2 = transportItem => sell(transportItem.id);
	const click_handler_3 = transportItem => changeAccess(transportItem.id);

	return [
		$possessions,
		$transport,
		sell,
		repair,
		spawn,
		changeAccess,
		click_handler,
		click_handler_1,
		click_handler_2,
		click_handler_3
	];
}

class Ownership extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, ownership_index_svelte_instance, ownership_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const ownership_index_svelte = (Ownership);
;// CONCATENATED MODULE: ./src/views/phone/apps/family/components/diplomacy/index.svelte
/* src\views\phone\apps\family\components\diplomacy\index.svelte generated by Svelte v3.49.0 */








function diplomacy_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[7] = list[i];
	child_ctx[9] = i;
	return child_ctx;
}

function diplomacy_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[10] = list[i];
	child_ctx[9] = i;
	return child_ctx;
}

// (38:16) {#each $allies as ally, index}
function diplomacy_index_svelte_create_each_block_1(ctx) {
	let div2;
	let div0;
	let t0_value = /*index*/ ctx[9] + 1 + "";
	let t0;
	let t1;
	let div1;
	let t2_value = /*ally*/ ctx[10] + "";
	let t2;
	let t3;

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			div1 = internal_element("div");
			t2 = internal_text(t2_value);
			t3 = space();
			attr(div0, "class", "family-diplomacy__number");
			attr(div1, "class", "family-diplomacy__list-item-name");
			attr(div2, "class", "family-diplomacy__list-item");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div0, t0);
			append(div2, t1);
			append(div2, div1);
			append(div1, t2);
			append(div2, t3);
		},
		p(ctx, dirty) {
			if (dirty & /*$allies*/ 1 && t2_value !== (t2_value = /*ally*/ ctx[10] + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

// (49:16) {#each $enemies as enemy, index}
function diplomacy_index_svelte_create_each_block(ctx) {
	let div2;
	let div0;
	let t0_value = /*index*/ ctx[9] + 1 + "";
	let t0;
	let t1;
	let div1;
	let t2_value = /*enemy*/ ctx[7] + "";
	let t2;
	let t3;

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			div1 = internal_element("div");
			t2 = internal_text(t2_value);
			t3 = space();
			attr(div0, "class", "family-diplomacy__number");
			attr(div1, "class", "family-diplomacy__list-item-name");
			attr(div2, "class", "family-diplomacy__list-item");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div0, t0);
			append(div2, t1);
			append(div2, div1);
			append(div1, t2);
			append(div2, t3);
		},
		p(ctx, dirty) {
			if (dirty & /*$enemies*/ 2 && t2_value !== (t2_value = /*enemy*/ ctx[7] + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

function diplomacy_index_svelte_create_fragment(ctx) {
	let div17;
	let div9;
	let div2;
	let t5;
	let div5;
	let t11;
	let div8;
	let t17;
	let div16;
	let div12;
	let div10;
	let t19;
	let div11;
	let t20;
	let div15;
	let div13;
	let t22;
	let div14;
	let div17_intro;
	let mounted;
	let dispose;
	let each_value_1 = /*$allies*/ ctx[0];
	let each_blocks_1 = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks_1[i] = diplomacy_index_svelte_create_each_block_1(diplomacy_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	let each_value = /*$enemies*/ ctx[1];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = diplomacy_index_svelte_create_each_block(diplomacy_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div17 = internal_element("div");
			div9 = internal_element("div");
			div2 = internal_element("div");

			div2.innerHTML = `<i class="family-diplomacy__actions-item-icon icon-family-war"></i> 
            <div class="family-diplomacy__actions-item-name">Объявить войну</div> 
            <div class="family-diplomacy__actions-item-description">Объявление врагами другие <br/> организации</div>`;

			t5 = space();
			div5 = internal_element("div");

			div5.innerHTML = `<i class="family-diplomacy__actions-item-icon icon-family-peace"></i> 
            <div class="family-diplomacy__actions-item-name">Новые союзники</div> 
            <div class="family-diplomacy__actions-item-description">Обозначить новых союзников <br/> из других организаций</div>`;

			t11 = space();
			div8 = internal_element("div");

			div8.innerHTML = `<i class="family-diplomacy__actions-item-icon icon-family-neutrality"></i> 
            <div class="family-diplomacy__actions-item-name">Нейтралитет</div> 
            <div class="family-diplomacy__actions-item-description">Удалить из своих связей и <br/> объявить нейтральный статус</div>`;

			t17 = space();
			div16 = internal_element("div");
			div12 = internal_element("div");
			div10 = internal_element("div");
			div10.textContent = "Союзники";
			t19 = space();
			div11 = internal_element("div");

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].c();
			}

			t20 = space();
			div15 = internal_element("div");
			div13 = internal_element("div");
			div13.textContent = "Враги";
			t22 = space();
			div14 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div2, "class", "family-diplomacy__actions-item");
			attr(div5, "class", "family-diplomacy__actions-item");
			attr(div8, "class", "family-diplomacy__actions-item");
			attr(div9, "class", "family-diplomacy__actions-row");
			attr(div10, "class", "family-diplomacy__list-caption");
			attr(div11, "class", "family-diplomacy__list");
			attr(div12, "class", "family-diplomacy__list-wrapper");
			attr(div13, "class", "family-diplomacy__list-caption");
			attr(div14, "class", "family-diplomacy__list");
			attr(div15, "class", "family-diplomacy__list-wrapper");
			attr(div16, "class", "family-diplomacy__lists");
			attr(div17, "class", "family-diplomacy");
		},
		m(target, anchor) {
			insert(target, div17, anchor);
			append(div17, div9);
			append(div9, div2);
			append(div9, t5);
			append(div9, div5);
			append(div9, t11);
			append(div9, div8);
			append(div17, t17);
			append(div17, div16);
			append(div16, div12);
			append(div12, div10);
			append(div12, t19);
			append(div12, div11);

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].m(div11, null);
			}

			append(div16, t20);
			append(div16, div15);
			append(div15, div13);
			append(div15, t22);
			append(div15, div14);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div14, null);
			}

			if (!mounted) {
				dispose = [
					listen(div2, "click", /*click_handler*/ ctx[3]),
					listen(div5, "click", /*click_handler_1*/ ctx[4]),
					listen(div8, "click", /*click_handler_2*/ ctx[5])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*$allies*/ 1) {
				each_value_1 = /*$allies*/ ctx[0];
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = diplomacy_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks_1[i]) {
						each_blocks_1[i].p(child_ctx, dirty);
					} else {
						each_blocks_1[i] = diplomacy_index_svelte_create_each_block_1(child_ctx);
						each_blocks_1[i].c();
						each_blocks_1[i].m(div11, null);
					}
				}

				for (; i < each_blocks_1.length; i += 1) {
					each_blocks_1[i].d(1);
				}

				each_blocks_1.length = each_value_1.length;
			}

			if (dirty & /*$enemies*/ 2) {
				each_value = /*$enemies*/ ctx[1];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = diplomacy_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = diplomacy_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div14, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i(local) {
			if (!div17_intro) {
				add_render_callback(() => {
					div17_intro = create_in_transition(div17, fade, {});
					div17_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div17);
			destroy_each(each_blocks_1, detaching);
			destroy_each(each_blocks, detaching);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function diplomacy_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedScreen;
	let $allies;
	let $enemies;
	component_subscribe($$self, family_store_selectedScreen, $$value => $$invalidate(6, $selectedScreen = $$value));
	component_subscribe($$self, allies, $$value => $$invalidate(0, $allies = $$value));
	component_subscribe($$self, enemies, $$value => $$invalidate(1, $enemies = $$value));
	const declare = property => sendClientMessage(`family.declare${property}`);

	onMount(() => {
		sendClientMessage('family.selectedScreen', $selectedScreen);
	});

	const click_handler = () => declare('War');
	const click_handler_1 = () => declare('Peace');
	const click_handler_2 = () => declare('Neutrality');
	return [$allies, $enemies, declare, click_handler, click_handler_1, click_handler_2];
}

class Diplomacy extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, diplomacy_index_svelte_instance, diplomacy_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const diplomacy_index_svelte = (Diplomacy);
;// CONCATENATED MODULE: ./src/views/phone/apps/family/components/improves/index.svelte
/* src\views\phone\apps\family\components\improves\index.svelte generated by Svelte v3.49.0 */









function improves_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[4] = list[i];
	return child_ctx;
}

// (28:20) {:else}
function improves_index_svelte_create_else_block(ctx) {
	let div0;
	let t0_value = formatMoney(/*improve*/ ctx[4].price) + "";
	let t0;
	let t1;
	let div1;
	let t2_value = /*improve*/ ctx[4].currency + "";
	let t2;

	return {
		c() {
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			div1 = internal_element("div");
			t2 = internal_text(t2_value);
			attr(div0, "class", "family-improves__improve-price");
			attr(div1, "class", "family-improves__improve-price-currency");
		},
		m(target, anchor) {
			insert(target, div0, anchor);
			append(div0, t0);
			insert(target, t1, anchor);
			insert(target, div1, anchor);
			append(div1, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*$improves*/ 1 && t0_value !== (t0_value = formatMoney(/*improve*/ ctx[4].price) + "")) set_data(t0, t0_value);
			if (dirty & /*$improves*/ 1 && t2_value !== (t2_value = /*improve*/ ctx[4].currency + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div0);
			if (detaching) detach(t1);
			if (detaching) detach(div1);
		}
	};
}

// (26:20) {#if improve.purchased && improve.price === 0}
function improves_index_svelte_create_if_block(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "Приобретено";
			attr(div, "class", "family-improves__improve-purchased");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (19:4) {#each $improves as improve}
function improves_index_svelte_create_each_block(ctx) {
	let div4;
	let i;
	let i_class_value;
	let t0;
	let div0;
	let t1_value = /*improve*/ ctx[4].name + "";
	let t1;
	let t2;
	let div1;
	let t3_value = /*improve*/ ctx[4].description + "";
	let t3;
	let t4;
	let div3;
	let div2;
	let t5;
	let mounted;
	let dispose;

	function select_block_type(ctx, dirty) {
		if (/*improve*/ ctx[4].purchased && /*improve*/ ctx[4].price === 0) return improves_index_svelte_create_if_block;
		return improves_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block = current_block_type(ctx);

	function click_handler() {
		return /*click_handler*/ ctx[2](/*improve*/ ctx[4]);
	}

	return {
		c() {
			div4 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			div1 = internal_element("div");
			t3 = internal_text(t3_value);
			t4 = space();
			div3 = internal_element("div");
			div2 = internal_element("div");
			if_block.c();
			t5 = space();
			attr(i, "class", i_class_value = "family-improves__improve-icon icon-family-" + /*improve*/ ctx[4].icon);
			attr(div0, "class", "family-improves__improve-name");
			attr(div1, "class", "family-improves__improve-description");
			attr(div2, "class", "family-improves__improve-price-item");
			attr(div3, "class", "family-improves__improve-price-wrapper");
			attr(div4, "class", "family-improves__improve");
			toggle_class(div4, "family-improves__improve--purchased", /*improve*/ ctx[4].purchased);
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, i);
			append(div4, t0);
			append(div4, div0);
			append(div0, t1);
			append(div4, t2);
			append(div4, div1);
			append(div1, t3);
			append(div4, t4);
			append(div4, div3);
			append(div3, div2);
			if_block.m(div2, null);
			append(div4, t5);

			if (!mounted) {
				dispose = listen(div4, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*$improves*/ 1 && i_class_value !== (i_class_value = "family-improves__improve-icon icon-family-" + /*improve*/ ctx[4].icon)) {
				attr(i, "class", i_class_value);
			}

			if (dirty & /*$improves*/ 1 && t1_value !== (t1_value = /*improve*/ ctx[4].name + "")) set_data(t1, t1_value);
			if (dirty & /*$improves*/ 1 && t3_value !== (t3_value = /*improve*/ ctx[4].description + "")) set_data(t3, t3_value);

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div2, null);
				}
			}

			if (dirty & /*$improves*/ 1) {
				toggle_class(div4, "family-improves__improve--purchased", /*improve*/ ctx[4].purchased);
			}
		},
		d(detaching) {
			if (detaching) detach(div4);
			if_block.d();
			mounted = false;
			dispose();
		}
	};
}

function improves_index_svelte_create_fragment(ctx) {
	let div;
	let div_intro;
	let each_value = /*$improves*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = improves_index_svelte_create_each_block(improves_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "family-improves");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*$improves, purchaseImprove, formatMoney*/ 3) {
				each_value = /*$improves*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = improves_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = improves_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i(local) {
			if (!div_intro) {
				add_render_callback(() => {
					div_intro = create_in_transition(div, fade, {});
					div_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

function improves_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedScreen;
	let $improves;
	component_subscribe($$self, family_store_selectedScreen, $$value => $$invalidate(3, $selectedScreen = $$value));
	component_subscribe($$self, improves, $$value => $$invalidate(0, $improves = $$value));

	const purchaseImprove = improve => {
		sendClientMessage('family.purchaseImprove', improve.id);
	};

	onMount(() => {
		sendClientMessage('family.selectedScreen', $selectedScreen);
	});

	const click_handler = improve => purchaseImprove(improve);
	return [$improves, purchaseImprove, click_handler];
}

class Improves extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, improves_index_svelte_instance, improves_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const improves_index_svelte = (Improves);
;// CONCATENATED MODULE: ./src/views/phone/apps/family/components/activity/index.svelte
/* src\views\phone\apps\family\components\activity\index.svelte generated by Svelte v3.49.0 */









function activity_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[7] = list[i];
	return child_ctx;
}

// (39:16) {#if activity.active}
function activity_index_svelte_create_if_block(ctx) {
	let p;

	return {
		c() {
			p = internal_element("p");
			p.textContent = "Активно";
			attr(p, "class", "family-activity__item-status");
		},
		m(target, anchor) {
			insert(target, p, anchor);
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (29:8) {#each $activity as activity}
function activity_index_svelte_create_each_block(ctx) {
	let div;
	let img;
	let img_src_value;
	let t0;
	let t1;
	let p0;
	let t2_value = /*activity*/ ctx[7].name + "";
	let t2;
	let t3;
	let p1;
	let t4_value = /*activity*/ ctx[7].description + "";
	let t4;
	let t5;
	let mounted;
	let dispose;
	let if_block = /*activity*/ ctx[7].active && activity_index_svelte_create_if_block(ctx);

	function click_handler() {
		return /*click_handler*/ ctx[4](/*activity*/ ctx[7]);
	}

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			t0 = space();
			if (if_block) if_block.c();
			t1 = space();
			p0 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = space();
			p1 = internal_element("p");
			t4 = internal_text(t4_value);
			t5 = space();
			attr(img, "class", "family-activity__item-background");
			if (!src_url_equal(img.src, img_src_value = `${CDN_FAMILY_URL}/activity/${/*activity*/ ctx[7].image}`)) attr(img, "src", img_src_value);
			attr(img, "alt", "activity-img");
			attr(p0, "class", "family-activity__item-title");
			attr(p1, "class", "family-activity__item-description");
			attr(div, "class", "family-activity__item");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
			append(div, t0);
			if (if_block) if_block.m(div, null);
			append(div, t1);
			append(div, p0);
			append(p0, t2);
			append(div, t3);
			append(div, p1);
			append(p1, t4);
			append(div, t5);

			if (!mounted) {
				dispose = listen(div, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*$activity*/ 2 && !src_url_equal(img.src, img_src_value = `${CDN_FAMILY_URL}/activity/${/*activity*/ ctx[7].image}`)) {
				attr(img, "src", img_src_value);
			}

			if (/*activity*/ ctx[7].active) {
				if (if_block) {
					
				} else {
					if_block = activity_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div, t1);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (dirty & /*$activity*/ 2 && t2_value !== (t2_value = /*activity*/ ctx[7].name + "")) set_data(t2, t2_value);
			if (dirty & /*$activity*/ 2 && t4_value !== (t4_value = /*activity*/ ctx[7].description + "")) set_data(t4, t4_value);
		},
		d(detaching) {
			if (detaching) detach(div);
			if (if_block) if_block.d();
			mounted = false;
			dispose();
		}
	};
}

function activity_index_svelte_create_fragment(ctx) {
	let div1;
	let div0;
	let div1_intro;
	let mounted;
	let dispose;
	let each_value = /*$activity*/ ctx[1];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = activity_index_svelte_create_each_block(activity_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div0, "class", "family-activity__list");
			attr(div1, "class", "family-activity");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			/*div1_binding*/ ctx[5](div1);

			if (!mounted) {
				dispose = listen(div1, "wheel", /*handleActivitiesWheel*/ ctx[2]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*selectActivity, $activity, CDN_FAMILY_URL*/ 10) {
				each_value = /*$activity*/ ctx[1];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = activity_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = activity_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div0, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i(local) {
			if (!div1_intro) {
				add_render_callback(() => {
					div1_intro = create_in_transition(div1, fade, {});
					div1_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
			destroy_each(each_blocks, detaching);
			/*div1_binding*/ ctx[5](null);
			mounted = false;
			dispose();
		}
	};
}

function activity_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedScreen;
	let $activity;
	component_subscribe($$self, family_store_selectedScreen, $$value => $$invalidate(6, $selectedScreen = $$value));
	component_subscribe($$self, activity, $$value => $$invalidate(1, $activity = $$value));
	let scrollActivities;

	const handleActivitiesWheel = event => {
		$$invalidate(0, scrollActivities.scrollLeft += event.deltaY, scrollActivities);
	};

	const selectActivity = activityId => {
		sendClientMessage('family.selectActivity', activityId);
	};

	onMount(() => {
		sendClientMessage('family.selectedScreen', $selectedScreen);
	});

	const click_handler = activity => selectActivity(activity.id);

	function div1_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			scrollActivities = $$value;
			$$invalidate(0, scrollActivities);
		});
	}

	return [
		scrollActivities,
		$activity,
		handleActivitiesWheel,
		selectActivity,
		click_handler,
		div1_binding
	];
}

class Activity extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, activity_index_svelte_instance, activity_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const activity_index_svelte = (Activity);
;// CONCATENATED MODULE: ./src/views/phone/apps/family/components/shop/index.svelte
/* src\views\phone\apps\family\components\shop\index.svelte generated by Svelte v3.49.0 */











function shop_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[8] = list[i];
	child_ctx[10] = i;
	return child_ctx;
}

// (28:8) {#each $shop as shop, index}
function shop_index_svelte_create_each_block(ctx) {
	let div1;
	let img0;
	let img0_src_value;
	let t0;
	let p0;
	let t1_value = /*shop*/ ctx[8].title + "";
	let t1;
	let t2;
	let div0;
	let p1;
	let t3_value = formatMoney(/*shop*/ ctx[8].price) + "";
	let t3;
	let t4;
	let img1;
	let img1_src_value;
	let t5;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[5](/*index*/ ctx[10]);
	}

	return {
		c() {
			div1 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			div0 = internal_element("div");
			p1 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = space();
			img1 = internal_element("img");
			t5 = space();
			attr(img0, "class", "family-shop__item-img");
			if (!src_url_equal(img0.src, img0_src_value = `${CDN_ITEMS_URL}/${/*shop*/ ctx[8].image}`)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "shop-img");
			attr(p0, "class", "family-shop__item-title");
			attr(p1, "class", "family-shop__item-value");
			attr(img1, "class", "family-shop__item-value-icon");
			if (!src_url_equal(img1.src, img1_src_value = bullet_coin_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "bullet-coin");
			attr(div0, "class", "family-shop__item-value-wrapper");
			attr(div1, "class", "family-shop__item");
			toggle_class(div1, "family-shop__item--selected", /*shop*/ ctx[8].id === /*selectedItemIndex*/ ctx[0]);
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, img0);
			append(div1, t0);
			append(div1, p0);
			append(p0, t1);
			append(div1, t2);
			append(div1, div0);
			append(div0, p1);
			append(p1, t3);
			append(div0, t4);
			append(div0, img1);
			append(div1, t5);

			if (!mounted) {
				dispose = listen(div1, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*$shop*/ 2 && !src_url_equal(img0.src, img0_src_value = `${CDN_ITEMS_URL}/${/*shop*/ ctx[8].image}`)) {
				attr(img0, "src", img0_src_value);
			}

			if (dirty & /*$shop*/ 2 && t1_value !== (t1_value = /*shop*/ ctx[8].title + "")) set_data(t1, t1_value);
			if (dirty & /*$shop*/ 2 && t3_value !== (t3_value = formatMoney(/*shop*/ ctx[8].price) + "")) set_data(t3, t3_value);

			if (dirty & /*$shop, selectedItemIndex*/ 3) {
				toggle_class(div1, "family-shop__item--selected", /*shop*/ ctx[8].id === /*selectedItemIndex*/ ctx[0]);
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			mounted = false;
			dispose();
		}
	};
}

// (55:4) {#if $shop[selectedItemIndex]}
function shop_index_svelte_create_if_block(ctx) {
	let div4;
	let div0;
	let img0;
	let img0_src_value;
	let t0;
	let p0;
	let t1_value = /*$shop*/ ctx[1][/*selectedItemIndex*/ ctx[0]].title + "";
	let t1;
	let t2;
	let p1;
	let t3_value = /*$shop*/ ctx[1][/*selectedItemIndex*/ ctx[0]].description + "";
	let t3;
	let t4;
	let div2;
	let p2;
	let t6;
	let div1;
	let p3;
	let t7_value = formatMoney(/*$shop*/ ctx[1][/*selectedItemIndex*/ ctx[0]].price) + "";
	let t7;
	let t8;
	let img1;
	let img1_src_value;
	let t9;
	let div3;
	let mounted;
	let dispose;

	return {
		c() {
			div4 = internal_element("div");
			div0 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			p1 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = space();
			div2 = internal_element("div");
			p2 = internal_element("p");
			p2.textContent = "Стоимость";
			t6 = space();
			div1 = internal_element("div");
			p3 = internal_element("p");
			t7 = internal_text(t7_value);
			t8 = space();
			img1 = internal_element("img");
			t9 = space();
			div3 = internal_element("div");
			div3.innerHTML = `<p class="family-shop__info-button-title">Купить</p>`;
			attr(img0, "class", "family-shop__info-item-img");
			if (!src_url_equal(img0.src, img0_src_value = `${CDN_ITEMS_URL}/${/*$shop*/ ctx[1][/*selectedItemIndex*/ ctx[0]].image}`)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "info-img");
			attr(div0, "class", "family-shop__info-item");
			attr(p0, "class", "family-shop__info-title");
			attr(p1, "class", "family-shop__info-description");
			attr(p2, "class", "family-shop__info-price-title");
			attr(p3, "class", "family-shop__info-price-value");
			attr(img1, "class", "family-shop__info-price-value-img");
			if (!src_url_equal(img1.src, img1_src_value = bullet_coin_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "bullet-icon");
			attr(div1, "class", "family-shop__info-price-value-wrapper");
			attr(div2, "class", "family-shop__info-price");
			attr(div3, "class", "family-shop__info-button");
			toggle_class(div3, "family-shop__info-button--disabled", /*$family*/ ctx[2].bulletCoin < /*$shop*/ ctx[1][/*selectedItemIndex*/ ctx[0]].price);
			attr(div4, "class", "family-shop__info");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div0);
			append(div0, img0);
			append(div4, t0);
			append(div4, p0);
			append(p0, t1);
			append(div4, t2);
			append(div4, p1);
			append(p1, t3);
			append(div4, t4);
			append(div4, div2);
			append(div2, p2);
			append(div2, t6);
			append(div2, div1);
			append(div1, p3);
			append(p3, t7);
			append(div1, t8);
			append(div1, img1);
			append(div4, t9);
			append(div4, div3);

			if (!mounted) {
				dispose = listen(div3, "click", /*click_handler_1*/ ctx[6]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*$shop, selectedItemIndex*/ 3 && !src_url_equal(img0.src, img0_src_value = `${CDN_ITEMS_URL}/${/*$shop*/ ctx[1][/*selectedItemIndex*/ ctx[0]].image}`)) {
				attr(img0, "src", img0_src_value);
			}

			if (dirty & /*$shop, selectedItemIndex*/ 3 && t1_value !== (t1_value = /*$shop*/ ctx[1][/*selectedItemIndex*/ ctx[0]].title + "")) set_data(t1, t1_value);
			if (dirty & /*$shop, selectedItemIndex*/ 3 && t3_value !== (t3_value = /*$shop*/ ctx[1][/*selectedItemIndex*/ ctx[0]].description + "")) set_data(t3, t3_value);
			if (dirty & /*$shop, selectedItemIndex*/ 3 && t7_value !== (t7_value = formatMoney(/*$shop*/ ctx[1][/*selectedItemIndex*/ ctx[0]].price) + "")) set_data(t7, t7_value);

			if (dirty & /*$family, $shop, selectedItemIndex*/ 7) {
				toggle_class(div3, "family-shop__info-button--disabled", /*$family*/ ctx[2].bulletCoin < /*$shop*/ ctx[1][/*selectedItemIndex*/ ctx[0]].price);
			}
		},
		d(detaching) {
			if (detaching) detach(div4);
			mounted = false;
			dispose();
		}
	};
}

function shop_index_svelte_create_fragment(ctx) {
	let div1;
	let div0;
	let t;
	let div1_intro;
	let each_value = /*$shop*/ ctx[1];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = shop_index_svelte_create_each_block(shop_index_svelte_get_each_context(ctx, each_value, i));
	}

	let if_block = /*$shop*/ ctx[1][/*selectedItemIndex*/ ctx[0]] && shop_index_svelte_create_if_block(ctx);

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t = space();
			if (if_block) if_block.c();
			attr(div0, "class", "family-shop__list");
			attr(div1, "class", "family-shop");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			append(div1, t);
			if (if_block) if_block.m(div1, null);
		},
		p(ctx, [dirty]) {
			if (dirty & /*$shop, selectedItemIndex, selectItem, BulletCoin, formatMoney, CDN_ITEMS_URL*/ 11) {
				each_value = /*$shop*/ ctx[1];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = shop_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = shop_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div0, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if (/*$shop*/ ctx[1][/*selectedItemIndex*/ ctx[0]]) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = shop_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div1, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		i(local) {
			if (!div1_intro) {
				add_render_callback(() => {
					div1_intro = create_in_transition(div1, fade, {});
					div1_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
			destroy_each(each_blocks, detaching);
			if (if_block) if_block.d();
		}
	};
}

function shop_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedScreen;
	let $shop;
	let $family;
	component_subscribe($$self, family_store_selectedScreen, $$value => $$invalidate(7, $selectedScreen = $$value));
	component_subscribe($$self, shop, $$value => $$invalidate(1, $shop = $$value));
	component_subscribe($$self, family, $$value => $$invalidate(2, $family = $$value));
	let selectedItemIndex = 0;

	const selectItem = index => {
		$$invalidate(0, selectedItemIndex = index);
	};

	const takeOrder = id => {
		sendClientMessage('family.takeShopOrder', id);
	};

	onMount(() => {
		sendClientMessage('family.selectedScreen', $selectedScreen);
	});

	const click_handler = index => selectItem(index);
	const click_handler_1 = () => takeOrder($shop[selectedItemIndex].id);

	return [
		selectedItemIndex,
		$shop,
		$family,
		selectItem,
		takeOrder,
		click_handler,
		click_handler_1
	];
}

class Shop extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, shop_index_svelte_instance, shop_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const shop_index_svelte = (Shop);
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/rating-bg.png
const rating_bg_namespaceObject = __webpack_require__.p + "assets/a605576bad814448d2fc.webp";
;// CONCATENATED MODULE: ./src/views/phone/apps/family/components/rating-list/components/shield-icon/index.svelte
/* src\views\phone\apps\family\components\rating-list\components\shield-icon\index.svelte generated by Svelte v3.49.0 */


function shield_icon_index_svelte_create_fragment(ctx) {
	let svg;
	let path0;
	let path1;
	let path2;

	return {
		c() {
			svg = svg_element("svg");
			path0 = svg_element("path");
			path1 = svg_element("path");
			path2 = svg_element("path");
			attr(path0, "opacity", "0.5");
			attr(path0, "d", "M6 11.3333V15L14.3333 21L22.5 15V11.3333L14.3333 17L6 11.3333Z");
			attr(path0, "fill", /*color*/ ctx[0]);
			attr(path1, "opacity", "0.5");
			attr(path1, "d", "M8.66675 1.99996L14.3334 6.33329L20.0001 1.99996V6.66663L14.3334 10.6666L8.66675 6.66663V1.99996Z");
			attr(path1, "fill", /*color*/ ctx[0]);
			attr(path2, "fill-rule", "evenodd");
			attr(path2, "clip-rule", "evenodd");
			attr(path2, "d", "M14.3333 26L25.6667 18V4.33333L14.3333 12.3333L3 4.33333V18L14.3333 26ZM14.3333 22.6667L5 16V9L14.3333 15.3333L23.6667 9V16L14.3333 22.6667Z");
			attr(path2, "fill", /*color*/ ctx[0]);
			attr(svg, "width", "35");
			attr(svg, "height", "35");
			attr(svg, "viewBox", "0 0 28 28");
			attr(svg, "fill", "none");
			attr(svg, "xmlns", "http://www.w3.org/2000/svg");
		},
		m(target, anchor) {
			insert(target, svg, anchor);
			append(svg, path0);
			append(svg, path1);
			append(svg, path2);
		},
		p(ctx, [dirty]) {
			if (dirty & /*color*/ 1) {
				attr(path0, "fill", /*color*/ ctx[0]);
			}

			if (dirty & /*color*/ 1) {
				attr(path1, "fill", /*color*/ ctx[0]);
			}

			if (dirty & /*color*/ 1) {
				attr(path2, "fill", /*color*/ ctx[0]);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(svg);
		}
	};
}

function shield_icon_index_svelte_instance($$self, $$props, $$invalidate) {
	let { color = '#FFFFFF' } = $$props;

	$$self.$$set = $$props => {
		if ('color' in $$props) $$invalidate(0, color = $$props.color);
	};

	return [color];
}

class Shield_icon extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, shield_icon_index_svelte_instance, shield_icon_index_svelte_create_fragment, safe_not_equal, { color: 0 });
	}
}

/* harmony default export */ const shield_icon_index_svelte = (Shield_icon);
;// CONCATENATED MODULE: ./src/views/phone/apps/family/components/rating-list/constants.js
var _MAP_HEADER_TO_NAME, _MAP_HEADER_TO_TYPE;
function rating_list_constants_typeof(o) { "@babel/helpers - typeof"; return rating_list_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, rating_list_constants_typeof(o); }
function rating_list_constants_defineProperty(e, r, t) { return (r = rating_list_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function rating_list_constants_toPropertyKey(t) { var i = rating_list_constants_toPrimitive(t, "string"); return "symbol" == rating_list_constants_typeof(i) ? i : i + ""; }
function rating_list_constants_toPrimitive(t, r) { if ("object" != rating_list_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != rating_list_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
var TableMode = {
  Families: 'families',
  Members: 'members'
};
var FamiliesTypes = {
  ReputationPoints: 'familiesReputationPoints',
  TotalMembers: 'familiesTotalMembers',
  TotalGraffity: 'familiesTotalGraffity',
  TotalCapturedTerritories: 'familiesTotalCapturedTerritories',
  totalCapturedBusinesses: 'familiesTotalCapturedBusinesses',
  totalPoacherKills: 'familiesTotalPoacherKills'
};
var MembersTypes = {
  ReputationPointss: 'membersReputationPointss',
  TotalGraffity: 'membersTotalGraffity',
  TotalCapturedTerritories: 'membersTotalCapturedTerritories',
  totalCapturedBusinesses: 'membersTotalCapturedBusinesses',
  totalPoacherKills: 'membersTotalPoacherKills'
};
var rating_list_constants_MAP_POSITION_TO_COLOR = {
  1: '#F2C94C',
  2: '#FFFFFF',
  3: '#C89D75'
};
var MAP_TABLE_MODE_TO_HEADERS = rating_list_constants_defineProperty(rating_list_constants_defineProperty({}, TableMode.Families, FamiliesTypes), TableMode.Members, MembersTypes);
var MAP_TABLE_MODE_TO_RATING_NAME = rating_list_constants_defineProperty(rating_list_constants_defineProperty({}, TableMode.Families, 'Название клана'), TableMode.Members, 'Имя члена семьи');
var MAP_HEADER_TO_NAME = (_MAP_HEADER_TO_NAME = {}, rating_list_constants_defineProperty(rating_list_constants_defineProperty(rating_list_constants_defineProperty(rating_list_constants_defineProperty(rating_list_constants_defineProperty(rating_list_constants_defineProperty(rating_list_constants_defineProperty(rating_list_constants_defineProperty(rating_list_constants_defineProperty(rating_list_constants_defineProperty(_MAP_HEADER_TO_NAME, FamiliesTypes.ReputationPoints, 'Топ влиятельных семей'), FamiliesTypes.TotalMembers, 'Топ большая семья'), FamiliesTypes.TotalGraffity, 'Топ граффити'), FamiliesTypes.TotalCapturedTerritories, 'Топ захваченных территорий'), FamiliesTypes.totalCapturedBusinesses, 'Топ захваченных бизнесов'), FamiliesTypes.totalPoacherKills, 'Топ убийц браконьеров'), MembersTypes.ReputationPointss, 'Топ добытой репутации'), MembersTypes.TotalGraffity, 'Топ граффити'), MembersTypes.TotalCapturedTerritories, 'Топ захваченных территорий'), MembersTypes.totalCapturedBusinesses, 'Топ захваченных бизнесов'), rating_list_constants_defineProperty(_MAP_HEADER_TO_NAME, MembersTypes.totalPoacherKills, 'Топ убийц браконьеров'));
var MAP_HEADER_TO_TYPE = (_MAP_HEADER_TO_TYPE = {}, rating_list_constants_defineProperty(rating_list_constants_defineProperty(rating_list_constants_defineProperty(rating_list_constants_defineProperty(rating_list_constants_defineProperty(rating_list_constants_defineProperty(rating_list_constants_defineProperty(rating_list_constants_defineProperty(rating_list_constants_defineProperty(rating_list_constants_defineProperty(_MAP_HEADER_TO_TYPE, FamiliesTypes.ReputationPoints, 'Очков репутации'), FamiliesTypes.TotalMembers, 'Участников'), FamiliesTypes.TotalGraffity, 'Граффити'), FamiliesTypes.TotalCapturedTerritories, 'Захвачено Территорий'), FamiliesTypes.totalCapturedBusinesses, 'Захвачено Бизнесов'), FamiliesTypes.totalPoacherKills, 'Убито браконьеров'), MembersTypes.ReputationPointss, 'Очков репутации'), MembersTypes.TotalGraffity, 'Граффити'), MembersTypes.TotalCapturedTerritories, 'Захвачено Территорий'), MembersTypes.totalCapturedBusinesses, 'Захвачено Бизнесов'), rating_list_constants_defineProperty(_MAP_HEADER_TO_TYPE, MembersTypes.totalPoacherKills, 'Убито браконьеров'));
;// CONCATENATED MODULE: ./src/views/phone/apps/family/components/rating-list/index.svelte
/* src\views\phone\apps\family\components\rating-list\index.svelte generated by Svelte v3.49.0 */
















function rating_list_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[18] = list[i];
	child_ctx[20] = i;
	return child_ctx;
}

function rating_list_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[21] = list[i];
	return child_ctx;
}

function index_svelte_get_each_context_2(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[24] = list[i];
	return child_ctx;
}

// (125:16) {#each headers as field}
function index_svelte_create_each_block_2(ctx) {
	let div;
	let p;
	let t0_value = MAP_HEADER_TO_NAME[/*field*/ ctx[24]] + "";
	let t0;
	let t1;
	let i;
	let mounted;
	let dispose;

	function click_handler_4() {
		return /*click_handler_4*/ ctx[14](/*field*/ ctx[24]);
	}

	return {
		c() {
			div = internal_element("div");
			p = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			i = internal_element("i");
			attr(p, "class", "family-rating__panel-nav-filter-title");
			attr(i, "class", "family-rating__panel-nav-filter-triangle icon-family-triangle");
			attr(div, "class", "family-rating__panel-nav-filter");
			toggle_class(div, "family-rating__panel-nav-filter--selected", /*selectedFilterId*/ ctx[3] === /*field*/ ctx[24]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p);
			append(p, t0);
			append(div, t1);
			append(div, i);

			if (!mounted) {
				dispose = [
					listen(div, "click", /*click_handler_3*/ ctx[13]),
					listen(div, "click", click_handler_4)
				];

				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if (dirty & /*headers*/ 2 && t0_value !== (t0_value = MAP_HEADER_TO_NAME[/*field*/ ctx[24]] + "")) set_data(t0, t0_value);

			if (dirty & /*selectedFilterId, headers*/ 10) {
				toggle_class(div, "family-rating__panel-nav-filter--selected", /*selectedFilterId*/ ctx[3] === /*field*/ ctx[24]);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (138:16) {#if headers.length < 6}
function rating_list_index_svelte_create_if_block_2(ctx) {
	let each_1_anchor;
	let each_value_1 = new Array(6 - /*headers*/ ctx[1].length);
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = rating_list_index_svelte_create_each_block_1(rating_list_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*headers*/ 2) {
				each_value_1 = new Array(6 - /*headers*/ ctx[1].length);
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = rating_list_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = rating_list_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}
		},
		d(detaching) {
			destroy_each(each_blocks, detaching);
			if (detaching) detach(each_1_anchor);
		}
	};
}

// (139:20) {#each new Array(6 - headers.length) as el}
function rating_list_index_svelte_create_each_block_1(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			attr(div, "class", "family-rating__panel-nav-filter family-rating__panel-nav-filter--disabled");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (164:24) {:else}
function rating_list_index_svelte_create_else_block(ctx) {
	let shieldrating;
	let t0;
	let p;
	let t1_value = /*index*/ ctx[20] + 1 + "";
	let t1;
	let current;
	shieldrating = new shield_icon_index_svelte({ props: { color: "#FFFFFF1A" } });

	return {
		c() {
			create_component(shieldrating.$$.fragment);
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			attr(p, "class", "family-rating__item-value family-rating__item-value--place");
		},
		m(target, anchor) {
			mount_component(shieldrating, target, anchor);
			insert(target, t0, anchor);
			insert(target, p, anchor);
			append(p, t1);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(shieldrating.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(shieldrating.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(shieldrating, detaching);
			if (detaching) detach(t0);
			if (detaching) detach(p);
		}
	};
}

// (162:24) {#if index + 1 <= 3}
function rating_list_index_svelte_create_if_block_1(ctx) {
	let shieldrating;
	let current;

	shieldrating = new shield_icon_index_svelte({
			props: {
				color: rating_list_constants_MAP_POSITION_TO_COLOR[/*index*/ ctx[20] + 1]
			}
		});

	return {
		c() {
			create_component(shieldrating.$$.fragment);
		},
		m(target, anchor) {
			mount_component(shieldrating, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(shieldrating.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(shieldrating.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(shieldrating, detaching);
		}
	};
}

// (172:24) {#if rating.logo}
function rating_list_index_svelte_create_if_block(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "family-rating__item-name-icon");
			if (!src_url_equal(img.src, img_src_value = `${CDN_FAMILY_URL}/icons/${/*rating*/ ctx[18].logo}`)) attr(img, "src", img_src_value);
			attr(img, "alt", "family-logo");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*actualList*/ 1 && !src_url_equal(img.src, img_src_value = `${CDN_FAMILY_URL}/icons/${/*rating*/ ctx[18].logo}`)) {
				attr(img, "src", img_src_value);
			}
		},
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (159:12) {#each actualList as rating, index}
function rating_list_index_svelte_create_each_block(ctx) {
	let div3;
	let div0;
	let current_block_type_index;
	let if_block0;
	let t0;
	let div1;
	let t1;
	let p0;
	let t2_value = /*rating*/ ctx[18].name + "";
	let t2;
	let t3;
	let div2;
	let p1;
	let t4_value = /*rating*/ ctx[18].value + "";
	let t4;
	let t5;
	let current;
	const if_block_creators = [rating_list_index_svelte_create_if_block_1, rating_list_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (/*index*/ ctx[20] + 1 <= 3) return 0;
		return 1;
	}

	current_block_type_index = select_block_type(ctx, -1);
	if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
	let if_block1 = /*rating*/ ctx[18].logo && rating_list_index_svelte_create_if_block(ctx);

	return {
		c() {
			div3 = internal_element("div");
			div0 = internal_element("div");
			if_block0.c();
			t0 = space();
			div1 = internal_element("div");
			if (if_block1) if_block1.c();
			t1 = space();
			p0 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = space();
			div2 = internal_element("div");
			p1 = internal_element("p");
			t4 = internal_text(t4_value);
			t5 = space();
			attr(div0, "class", "family-rating__item-value-wrapper");
			attr(p0, "class", "family-rating__item-value");
			attr(div1, "class", "family-rating__item-value-wrapper");
			attr(p1, "class", "family-rating__item-value family-rating__item-value--light");
			attr(div2, "class", "family-rating__item-value-wrapper");
			attr(div3, "class", "family-rating__item");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div0);
			if_blocks[current_block_type_index].m(div0, null);
			append(div3, t0);
			append(div3, div1);
			if (if_block1) if_block1.m(div1, null);
			append(div1, t1);
			append(div1, p0);
			append(p0, t2);
			append(div3, t3);
			append(div3, div2);
			append(div2, p1);
			append(p1, t4);
			append(div3, t5);
			current = true;
		},
		p(ctx, dirty) {
			if_block0.p(ctx, dirty);

			if (/*rating*/ ctx[18].logo) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = rating_list_index_svelte_create_if_block(ctx);
					if_block1.c();
					if_block1.m(div1, t1);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if ((!current || dirty & /*actualList*/ 1) && t2_value !== (t2_value = /*rating*/ ctx[18].name + "")) set_data(t2, t2_value);
			if ((!current || dirty & /*actualList*/ 1) && t4_value !== (t4_value = /*rating*/ ctx[18].value + "")) set_data(t4, t4_value);
		},
		i(local) {
			if (current) return;
			transition_in(if_block0);
			current = true;
		},
		o(local) {
			transition_out(if_block0);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div3);
			if_blocks[current_block_type_index].d();
			if (if_block1) if_block1.d();
		}
	};
}

function rating_list_index_svelte_create_fragment(ctx) {
	let div13;
	let img0;
	let img0_src_value;
	let t0;
	let div1;
	let div0;
	let t3;
	let p1;
	let t5;
	let p2;
	let t6;
	let t7;
	let div9;
	let div3;
	let img1;
	let img1_src_value;
	let t8;
	let div2;
	let p3;
	let t9_value = /*$family*/ ctx[5].type + "";
	let t9;
	let t10;
	let p4;
	let t11_value = /*$family*/ ctx[5].name + "";
	let t11;
	let t12;
	let div8;
	let div6;
	let div4;
	let t14;
	let div5;
	let t16;
	let div7;
	let t17;
	let t18;
	let div12;
	let div10;
	let p5;
	let t20;
	let p6;
	let t21_value = MAP_TABLE_MODE_TO_RATING_NAME[/*mode*/ ctx[2]] + "";
	let t21;
	let t22;
	let p7;

	let t23_value = (!/*selectedFilterId*/ ctx[3]
	? ''
	: MAP_HEADER_TO_TYPE[/*selectedFilterId*/ ctx[3]]) + "";

	let t23;
	let t24;
	let div11;
	let div13_intro;
	let current;
	let mounted;
	let dispose;
	let each_value_2 = /*headers*/ ctx[1];
	let each_blocks_1 = [];

	for (let i = 0; i < each_value_2.length; i += 1) {
		each_blocks_1[i] = index_svelte_create_each_block_2(index_svelte_get_each_context_2(ctx, each_value_2, i));
	}

	let if_block = /*headers*/ ctx[1].length < 6 && rating_list_index_svelte_create_if_block_2(ctx);
	let each_value = /*actualList*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = rating_list_index_svelte_create_each_block(rating_list_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			div13 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			div1 = internal_element("div");
			div0 = internal_element("div");

			div0.innerHTML = `<i class="family-rating__reward-button-icon icon-family-trophy"></i> 
            <p class="family-rating__reward-button-title">Список наград</p>`;

			t3 = space();
			p1 = internal_element("p");
			p1.textContent = "До подведения итогов";
			t5 = space();
			p2 = internal_element("p");
			t6 = internal_text(/*$rewardResultTime*/ ctx[4]);
			t7 = space();
			div9 = internal_element("div");
			div3 = internal_element("div");
			img1 = internal_element("img");
			t8 = space();
			div2 = internal_element("div");
			p3 = internal_element("p");
			t9 = internal_text(t9_value);
			t10 = space();
			p4 = internal_element("p");
			t11 = internal_text(t11_value);
			t12 = space();
			div8 = internal_element("div");
			div6 = internal_element("div");
			div4 = internal_element("div");
			div4.textContent = "Между кланами";
			t14 = space();
			div5 = internal_element("div");
			div5.textContent = "Внутри клана";
			t16 = space();
			div7 = internal_element("div");

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].c();
			}

			t17 = space();
			if (if_block) if_block.c();
			t18 = space();
			div12 = internal_element("div");
			div10 = internal_element("div");
			p5 = internal_element("p");
			p5.textContent = "Топ";
			t20 = space();
			p6 = internal_element("p");
			t21 = internal_text(t21_value);
			t22 = space();
			p7 = internal_element("p");
			t23 = internal_text(t23_value);
			t24 = space();
			div11 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(img0, "class", "family-rating__background");
			if (!src_url_equal(img0.src, img0_src_value = rating_bg_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "rating-background-img");
			attr(div0, "class", "family-rating__reward-button");
			attr(p1, "class", "family-rating__reward-title");
			attr(p2, "class", "family-rating__reward-value");
			attr(div1, "class", "family-rating__reward");
			attr(img1, "class", "family-rating__panel-stats-logo");
			if (!src_url_equal(img1.src, img1_src_value = `${CDN_FAMILY_URL}/icons/${/*$family*/ ctx[5].logo}`)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "family-logo");
			attr(p3, "class", "family-rating__panel-stats-type");
			attr(p4, "class", "family-rating__panel-stats-name");
			attr(div2, "class", "family-rating__panel-stats-name-wrapper");
			attr(div3, "class", "family-rating__panel-stats");
			attr(div4, "class", "family-rating__panel-nav-header-item");
			toggle_class(div4, "family-rating__panel-nav-header-item--selected", /*mode*/ ctx[2] === TableMode.Families);
			attr(div5, "class", "family-rating__panel-nav-header-item");
			toggle_class(div5, "family-rating__panel-nav-header-item--selected", /*mode*/ ctx[2] === TableMode.Members);
			attr(div6, "class", "family-rating__panel-nav-header");
			attr(div7, "class", "family-rating__panel-nav-filters");
			attr(div8, "class", "family-rating__panel-nav");
			attr(div9, "class", "family-rating__panel");
			attr(p5, "class", "family-rating__list-header-title");
			attr(p6, "class", "family-rating__list-header-title");
			attr(p7, "class", "family-rating__list-header-title");
			attr(div10, "class", "family-rating__list-header");
			attr(div11, "class", "family-rating__item-wrapper");
			attr(div12, "class", "family-rating__list");
			attr(div13, "class", "family-rating");
		},
		m(target, anchor) {
			insert(target, div13, anchor);
			append(div13, img0);
			append(div13, t0);
			append(div13, div1);
			append(div1, div0);
			append(div1, t3);
			append(div1, p1);
			append(div1, t5);
			append(div1, p2);
			append(p2, t6);
			append(div13, t7);
			append(div13, div9);
			append(div9, div3);
			append(div3, img1);
			append(div3, t8);
			append(div3, div2);
			append(div2, p3);
			append(p3, t9);
			append(div2, t10);
			append(div2, p4);
			append(p4, t11);
			append(div9, t12);
			append(div9, div8);
			append(div8, div6);
			append(div6, div4);
			append(div6, t14);
			append(div6, div5);
			append(div8, t16);
			append(div8, div7);

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].m(div7, null);
			}

			append(div7, t17);
			if (if_block) if_block.m(div7, null);
			append(div13, t18);
			append(div13, div12);
			append(div12, div10);
			append(div10, p5);
			append(div10, t20);
			append(div10, p6);
			append(p6, t21);
			append(div10, t22);
			append(div10, p7);
			append(p7, t23);
			append(div12, t24);
			append(div12, div11);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div11, null);
			}

			current = true;

			if (!mounted) {
				dispose = [
					listen(div0, "click", /*click_handler*/ ctx[10]),
					listen(div4, "click", /*click_handler_1*/ ctx[11]),
					listen(div5, "click", /*click_handler_2*/ ctx[12])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (!current || dirty & /*$rewardResultTime*/ 16) set_data(t6, /*$rewardResultTime*/ ctx[4]);

			if (!current || dirty & /*$family*/ 32 && !src_url_equal(img1.src, img1_src_value = `${CDN_FAMILY_URL}/icons/${/*$family*/ ctx[5].logo}`)) {
				attr(img1, "src", img1_src_value);
			}

			if ((!current || dirty & /*$family*/ 32) && t9_value !== (t9_value = /*$family*/ ctx[5].type + "")) set_data(t9, t9_value);
			if ((!current || dirty & /*$family*/ 32) && t11_value !== (t11_value = /*$family*/ ctx[5].name + "")) set_data(t11, t11_value);

			if (dirty & /*mode, TableMode*/ 4) {
				toggle_class(div4, "family-rating__panel-nav-header-item--selected", /*mode*/ ctx[2] === TableMode.Families);
			}

			if (dirty & /*mode, TableMode*/ 4) {
				toggle_class(div5, "family-rating__panel-nav-header-item--selected", /*mode*/ ctx[2] === TableMode.Members);
			}

			if (dirty & /*selectedFilterId, headers, sort, selectedFilter, MAP_HEADER_TO_NAME*/ 394) {
				each_value_2 = /*headers*/ ctx[1];
				let i;

				for (i = 0; i < each_value_2.length; i += 1) {
					const child_ctx = index_svelte_get_each_context_2(ctx, each_value_2, i);

					if (each_blocks_1[i]) {
						each_blocks_1[i].p(child_ctx, dirty);
					} else {
						each_blocks_1[i] = index_svelte_create_each_block_2(child_ctx);
						each_blocks_1[i].c();
						each_blocks_1[i].m(div7, t17);
					}
				}

				for (; i < each_blocks_1.length; i += 1) {
					each_blocks_1[i].d(1);
				}

				each_blocks_1.length = each_value_2.length;
			}

			if (/*headers*/ ctx[1].length < 6) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = rating_list_index_svelte_create_if_block_2(ctx);
					if_block.c();
					if_block.m(div7, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if ((!current || dirty & /*mode*/ 4) && t21_value !== (t21_value = MAP_TABLE_MODE_TO_RATING_NAME[/*mode*/ ctx[2]] + "")) set_data(t21, t21_value);

			if ((!current || dirty & /*selectedFilterId*/ 8) && t23_value !== (t23_value = (!/*selectedFilterId*/ ctx[3]
			? ''
			: MAP_HEADER_TO_TYPE[/*selectedFilterId*/ ctx[3]]) + "")) set_data(t23, t23_value);

			if (dirty & /*actualList, CDN_FAMILY_URL, MAP_POSITION_TO_COLOR*/ 1) {
				each_value = /*actualList*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = rating_list_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = rating_list_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div11, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			if (!div13_intro) {
				add_render_callback(() => {
					div13_intro = create_in_transition(div13, fade, {});
					div13_intro.start();
				});
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div13);
			destroy_each(each_blocks_1, detaching);
			if (if_block) if_block.d();
			destroy_each(each_blocks, detaching);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function rating_list_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedScreen;
	let $rewardResultTime;
	let $family;
	component_subscribe($$self, family_store_selectedScreen, $$value => $$invalidate(15, $selectedScreen = $$value));
	component_subscribe($$self, rewardResultTime, $$value => $$invalidate(4, $rewardResultTime = $$value));
	component_subscribe($$self, family, $$value => $$invalidate(5, $family = $$value));
	let actualList = [];
	let headers = [];
	let mode = TableMode.Families;
	let selectedFilterId;

	const initializeActualList = actualListDto => {
		$$invalidate(0, actualList = actualListDto);
	};

	const selectScreen = screenId => {
		set_store_value(family_store_selectedScreen, $selectedScreen = screenId, $selectedScreen);
	};

	const selectedFilter = id => {
		$$invalidate(3, selectedFilterId = id);
		sendClientMessage('familyMenu.rating.selectId', id);
	};

	const sort = () => {
		$$invalidate(0, actualList = actualList.sort((a, b) => b.value - a.value));
	};

	const changeTable = type => {
		$$invalidate(2, mode = type);
		$$invalidate(1, headers = Object.values(MAP_TABLE_MODE_TO_HEADERS[type]));
		$$invalidate(3, selectedFilterId = 0);
		sendClientMessage(`familyMenu.rating.selectType.${type}`);
	};

	const unregisterInitializeActualList = registerEvent('family.rating.initializeActualList', initializeActualList);

	onMount(() => {
		changeTable(TableMode.Families);
		sendClientMessage('family.selectedScreen', $selectedScreen);
	});

	onDestroy(() => {
		unregisterInitializeActualList();
	});

	const click_handler = () => selectScreen(family_constants_Screens.RatingReward);

	const click_handler_1 = () => changeTable(mode === TableMode.Families
	? TableMode.Members
	: TableMode.Families);

	const click_handler_2 = () => changeTable(mode === TableMode.Families
	? TableMode.Members
	: TableMode.Families);

	const click_handler_3 = () => sort();
	const click_handler_4 = field => selectedFilter(field);

	return [
		actualList,
		headers,
		mode,
		selectedFilterId,
		$rewardResultTime,
		$family,
		selectScreen,
		selectedFilter,
		sort,
		changeTable,
		click_handler,
		click_handler_1,
		click_handler_2,
		click_handler_3,
		click_handler_4
	];
}

class Rating_list extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, rating_list_index_svelte_instance, rating_list_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const rating_list_index_svelte = (Rating_list);
;// CONCATENATED MODULE: ./src/views/phone/apps/family/components/rating-reward/constants.js
var rating_reward_constants_MAP_POSITION_TO_COLOR = {
  1: '#F2C94C',
  2: '#FFFFFF',
  3: '#C89D75'
};
;// CONCATENATED MODULE: ./src/views/phone/apps/family/components/rating-reward/components/shield-icon/index.svelte
/* src\views\phone\apps\family\components\rating-reward\components\shield-icon\index.svelte generated by Svelte v3.49.0 */


function shield_icon_index_svelte_add_css(target) {
	append_styles(target, "svelte-d6h0uj", "@keyframes svelte-d6h0uj-blinking{50%{opacity:0}}@keyframes svelte-d6h0uj-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-d6h0uj-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-d6h0uj-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-d6h0uj-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-d6h0uj-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-d6h0uj-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-d6h0uj-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-d6h0uj-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-d6h0uj-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-d6h0uj-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-d6h0uj-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-d6h0uj-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-d6h0uj-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-d6h0uj-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.shield-icon.svelte-d6h0uj{width:100%;height:100%}");
}

function components_shield_icon_index_svelte_create_fragment(ctx) {
	let svg;
	let path0;
	let path1;
	let path2;

	return {
		c() {
			svg = svg_element("svg");
			path0 = svg_element("path");
			path1 = svg_element("path");
			path2 = svg_element("path");
			attr(path0, "opacity", "0.5");
			attr(path0, "d", "M69.4854 108.495V135.314L130.437 179.2L190.171 135.314V108.495L130.437 149.943L69.4854 108.495Z");
			attr(path0, "fill", /*color*/ ctx[0]);
			attr(path1, "opacity", "0.5");
			attr(path1, "d", "M88.9956 40.2286L130.443 71.9238L171.891 40.2286V74.3619L130.443 103.619L88.9956 74.3619V40.2286Z");
			attr(path1, "fill", /*color*/ ctx[0]);
			attr(path2, "fill-rule", "evenodd");
			attr(path2, "clip-rule", "evenodd");
			attr(path2, "d", "M130.441 215.771L213.336 157.257V57.2952L130.441 115.81L47.5454 57.2952V157.257L130.441 215.771ZM130.441 191.39L62.174 142.629V91.4285L130.441 137.752L198.707 91.4285V142.629L130.441 191.39Z");
			attr(path2, "fill", /*color*/ ctx[0]);
			attr(svg, "class", "shield-icon svelte-d6h0uj");
			attr(svg, "width", "256");
			attr(svg, "height", "256");
			attr(svg, "viewBox", "0 0 256 256");
			attr(svg, "fill", "none");
			attr(svg, "xmlns", "http://www.w3.org/2000/svg");
		},
		m(target, anchor) {
			insert(target, svg, anchor);
			append(svg, path0);
			append(svg, path1);
			append(svg, path2);
		},
		p(ctx, [dirty]) {
			if (dirty & /*color*/ 1) {
				attr(path0, "fill", /*color*/ ctx[0]);
			}

			if (dirty & /*color*/ 1) {
				attr(path1, "fill", /*color*/ ctx[0]);
			}

			if (dirty & /*color*/ 1) {
				attr(path2, "fill", /*color*/ ctx[0]);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(svg);
		}
	};
}

function components_shield_icon_index_svelte_instance($$self, $$props, $$invalidate) {
	let { color = '#FFFFFF' } = $$props;

	$$self.$$set = $$props => {
		if ('color' in $$props) $$invalidate(0, color = $$props.color);
	};

	return [color];
}

class index_svelte_Shield_icon extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, components_shield_icon_index_svelte_instance, components_shield_icon_index_svelte_create_fragment, safe_not_equal, { color: 0 }, shield_icon_index_svelte_add_css);
	}
}

/* harmony default export */ const components_shield_icon_index_svelte = (index_svelte_Shield_icon);
;// CONCATENATED MODULE: ./src/views/phone/apps/family/components/rating-reward/index.svelte
/* src\views\phone\apps\family\components\rating-reward\index.svelte generated by Svelte v3.49.0 */











function rating_reward_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[2] = list[i];
	return child_ctx;
}

function rating_reward_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[5] = list[i];
	return child_ctx;
}

// (29:20) {#each item.params as param}
function rating_reward_index_svelte_create_each_block_1(ctx) {
	let p;
	let t0;
	let html_tag;
	let raw_value = /*param*/ ctx[5].text + "";
	let t1;

	return {
		c() {
			p = internal_element("p");
			t0 = internal_text("• ");
			html_tag = new HtmlTag(false);
			t1 = space();
			html_tag.a = t1;
			attr(p, "class", "family-rating-reward__item-additional");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t0);
			html_tag.m(raw_value, p);
			append(p, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*$ratingReward*/ 1 && raw_value !== (raw_value = /*param*/ ctx[5].text + "")) html_tag.p(raw_value);
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (18:8) {#each $ratingReward.top as item}
function rating_reward_index_svelte_create_each_block(ctx) {
	let div6;
	let div1;
	let div0;
	let shieldrating;
	let t0;
	let p0;
	let t1_value = /*item*/ ctx[2].id + "";
	let t1;
	let t2;
	let t3;
	let div2;
	let t4;
	let div5;
	let div3;
	let img;
	let img_src_value;
	let t5;
	let div4;
	let p1;
	let t6_value = /*item*/ ctx[2].title + "";
	let t6;
	let t7;
	let current;

	shieldrating = new components_shield_icon_index_svelte({
			props: {
				color: rating_reward_constants_MAP_POSITION_TO_COLOR[/*item*/ ctx[2].id]
			}
		});

	let each_value_1 = /*item*/ ctx[2].params;
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = rating_reward_index_svelte_create_each_block_1(rating_reward_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	return {
		c() {
			div6 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");
			create_component(shieldrating.$$.fragment);
			t0 = space();
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = internal_text(" место");
			t3 = space();
			div2 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t4 = space();
			div5 = internal_element("div");
			div3 = internal_element("div");
			img = internal_element("img");
			t5 = space();
			div4 = internal_element("div");
			p1 = internal_element("p");
			t6 = internal_text(t6_value);
			t7 = space();
			attr(div0, "class", "family-rating-reward__item-icon-wrapper");
			attr(p0, "class", "family-rating-reward__item-place");
			attr(div1, "class", "family-rating-reward__item-place-wrapper");
			attr(div2, "class", "family-rating-reward__item-additionals");
			attr(img, "class", "family-rating-reward__item-reward-icon");
			if (!src_url_equal(img.src, img_src_value = `${CDN_ITEMS_URL}/${/*item*/ ctx[2].icon}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "reward-icon");
			attr(div3, "class", "family-rating-reward__item-reward-icon-wrapper");
			attr(p1, "class", "family-rating-reward__item-reward-info-title");
			attr(div4, "class", "family-rating-reward__item-reward-info");
			attr(div5, "class", "family-rating-reward__item-reward");
			attr(div6, "class", "family-rating-reward__item");
		},
		m(target, anchor) {
			insert(target, div6, anchor);
			append(div6, div1);
			append(div1, div0);
			mount_component(shieldrating, div0, null);
			append(div1, t0);
			append(div1, p0);
			append(p0, t1);
			append(p0, t2);
			append(div6, t3);
			append(div6, div2);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div2, null);
			}

			append(div6, t4);
			append(div6, div5);
			append(div5, div3);
			append(div3, img);
			append(div5, t5);
			append(div5, div4);
			append(div4, p1);
			append(p1, t6);
			append(div6, t7);
			current = true;
		},
		p(ctx, dirty) {
			const shieldrating_changes = {};
			if (dirty & /*$ratingReward*/ 1) shieldrating_changes.color = rating_reward_constants_MAP_POSITION_TO_COLOR[/*item*/ ctx[2].id];
			shieldrating.$set(shieldrating_changes);
			if ((!current || dirty & /*$ratingReward*/ 1) && t1_value !== (t1_value = /*item*/ ctx[2].id + "")) set_data(t1, t1_value);

			if (dirty & /*$ratingReward*/ 1) {
				each_value_1 = /*item*/ ctx[2].params;
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = rating_reward_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = rating_reward_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div2, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}

			if (!current || dirty & /*$ratingReward*/ 1 && !src_url_equal(img.src, img_src_value = `${CDN_ITEMS_URL}/${/*item*/ ctx[2].icon}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if ((!current || dirty & /*$ratingReward*/ 1) && t6_value !== (t6_value = /*item*/ ctx[2].title + "")) set_data(t6, t6_value);
		},
		i(local) {
			if (current) return;
			transition_in(shieldrating.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(shieldrating.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div6);
			destroy_component(shieldrating);
			destroy_each(each_blocks, detaching);
		}
	};
}

function rating_reward_index_svelte_create_fragment(ctx) {
	let div1;
	let div0;
	let div1_intro;
	let current;
	let each_value = /*$ratingReward*/ ctx[0].top;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = rating_reward_index_svelte_create_each_block(rating_reward_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div0, "class", "family-rating-reward__list");
			attr(div1, "class", "family-rating-reward");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*$ratingReward, CDN_ITEMS_URL, MAP_POSITION_TO_COLOR*/ 1) {
				each_value = /*$ratingReward*/ ctx[0].top;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = rating_reward_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = rating_reward_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div0, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			if (!div1_intro) {
				add_render_callback(() => {
					div1_intro = create_in_transition(div1, fade, {});
					div1_intro.start();
				});
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			destroy_each(each_blocks, detaching);
		}
	};
}

function rating_reward_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedScreen;
	let $ratingReward;
	component_subscribe($$self, family_store_selectedScreen, $$value => $$invalidate(1, $selectedScreen = $$value));
	component_subscribe($$self, ratingReward, $$value => $$invalidate(0, $ratingReward = $$value));

	onMount(() => {
		sendClientMessage('family.selectedScreen', $selectedScreen);
	});

	return [$ratingReward];
}

class Rating_reward extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, rating_reward_index_svelte_instance, rating_reward_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const rating_reward_index_svelte = (Rating_reward);
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/family-matters-left-bg.png
const family_matters_left_bg_namespaceObject = __webpack_require__.p + "assets/d02aceda4526c798147a.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/family-matters-right-bg.png
const family_matters_right_bg_namespaceObject = __webpack_require__.p + "assets/ad069aa18e734b52d29e.webp";
;// CONCATENATED MODULE: ./src/views/phone/apps/family/components/family-matters/index.svelte
/* src\views\phone\apps\family\components\family-matters\index.svelte generated by Svelte v3.49.0 */











function family_matters_index_svelte_create_fragment(ctx) {
	let div7;
	let p0;
	let t1;
	let p1;
	let t3;
	let div6;
	let div2;
	let img0;
	let img0_src_value;
	let t4;
	let p2;
	let t6;
	let p3;
	let t8;
	let div1;
	let p4;
	let t10;
	let div0;
	let t12;
	let div5;
	let img1;
	let img1_src_value;
	let t13;
	let p6;
	let t15;
	let p7;
	let t17;
	let div4;
	let div7_intro;
	let mounted;
	let dispose;

	return {
		c() {
			div7 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Семейные дела";
			t1 = space();
			p1 = internal_element("p");
			p1.textContent = "Добро пожаловать в семейные войны, что вы хотите сделать?";
			t3 = space();
			div6 = internal_element("div");
			div2 = internal_element("div");
			img0 = internal_element("img");
			t4 = space();
			p2 = internal_element("p");
			p2.textContent = "Создать клан";
			t6 = space();
			p3 = internal_element("p");
			p3.textContent = "Создай свой клан и возглавь верхушку преступного мира";
			t8 = space();
			div1 = internal_element("div");
			p4 = internal_element("p");
			p4.textContent = "Доступно с 10 уровня персонажа";
			t10 = space();
			div0 = internal_element("div");
			div0.innerHTML = `<p class="family-matters__item-button-title">Перейти к созданию</p>`;
			t12 = space();
			div5 = internal_element("div");
			img1 = internal_element("img");
			t13 = space();
			p6 = internal_element("p");
			p6.textContent = "Вступить в клан";
			t15 = space();
			p7 = internal_element("p");
			p7.textContent = "Вступи в уже существующий клан и участвуй в его развитии";
			t17 = space();
			div4 = internal_element("div");
			div4.innerHTML = `<div class="family-matters__item-button family-matters__item-button--clans"><p class="family-matters__item-button-title">Перейти к кланам</p></div>`;
			attr(p0, "class", "family-matters__title");
			attr(p1, "class", "family-matters__description");
			attr(img0, "class", "family-matters__item-background");
			if (!src_url_equal(img0.src, img0_src_value = family_matters_left_bg_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "item-img");
			attr(p2, "class", "family-matters__item-title");
			attr(p3, "class", "family-matters__item-description");
			attr(p4, "class", "family-matters__item-warning");
			attr(div0, "class", "family-matters__item-button");
			attr(div1, "class", "family-matters__item-warning-wrapper");
			attr(div2, "class", "family-matters__item");
			attr(img1, "class", "family-matters__item-background");
			if (!src_url_equal(img1.src, img1_src_value = family_matters_right_bg_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "item-img");
			attr(p6, "class", "family-matters__item-title");
			attr(p7, "class", "family-matters__item-description");
			attr(div4, "class", "family-matters__item-button-wrapper");
			attr(div5, "class", "family-matters__item");
			attr(div6, "class", "family-matters__list");
			attr(div7, "class", "family-matters");
		},
		m(target, anchor) {
			insert(target, div7, anchor);
			append(div7, p0);
			append(div7, t1);
			append(div7, p1);
			append(div7, t3);
			append(div7, div6);
			append(div6, div2);
			append(div2, img0);
			append(div2, t4);
			append(div2, p2);
			append(div2, t6);
			append(div2, p3);
			append(div2, t8);
			append(div2, div1);
			append(div1, p4);
			append(div1, t10);
			append(div1, div0);
			append(div6, t12);
			append(div6, div5);
			append(div5, img1);
			append(div5, t13);
			append(div5, p6);
			append(div5, t15);
			append(div5, p7);
			append(div5, t17);
			append(div5, div4);

			if (!mounted) {
				dispose = [
					listen(div0, "click", /*click_handler*/ ctx[1]),
					listen(div4, "click", /*click_handler_1*/ ctx[2])
				];

				mounted = true;
			}
		},
		p: internal_noop,
		i(local) {
			if (!div7_intro) {
				add_render_callback(() => {
					div7_intro = create_in_transition(div7, fade, {});
					div7_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div7);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function family_matters_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedScreen;
	component_subscribe($$self, family_store_selectedScreen, $$value => $$invalidate(3, $selectedScreen = $$value));

	const selectScreen = screenId => {
		set_store_value(family_store_selectedScreen, $selectedScreen = screenId, $selectedScreen);
	};

	onMount(() => {
		sendClientMessage('family.selectedScreen', $selectedScreen);
	});

	const click_handler = () => selectScreen(family_constants_Screens.CreateFamily);
	const click_handler_1 = () => selectScreen(family_constants_Screens.FamilyList);
	return [selectScreen, click_handler, click_handler_1];
}

class Family_matters extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, family_matters_index_svelte_instance, family_matters_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const family_matters_index_svelte = (Family_matters);
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/family-create-bg.png
const family_create_bg_namespaceObject = __webpack_require__.p + "assets/13975078b0c9967250be.webp";
;// CONCATENATED MODULE: ./src/views/phone/apps/family/components/create-family/index.svelte
/* src\views\phone\apps\family\components\create-family\index.svelte generated by Svelte v3.49.0 */














function create_family_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[27] = list[i];
	child_ctx[28] = list;
	child_ctx[29] = i;
	return child_ctx;
}

// (115:24) {#if $logos[selectedLogoId]}
function create_family_index_svelte_create_if_block(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "family-create__panel-left-logo-icon");
			if (!src_url_equal(img.src, img_src_value = `${CDN_FAMILY_URL}/icons/${/*$logos*/ ctx[11][/*selectedLogoId*/ ctx[6]].logo}`)) attr(img, "src", img_src_value);
			attr(img, "alt", "family-logo");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*$logos, selectedLogoId*/ 2112 && !src_url_equal(img.src, img_src_value = `${CDN_FAMILY_URL}/icons/${/*$logos*/ ctx[11][/*selectedLogoId*/ ctx[6]].logo}`)) {
				attr(img, "src", img_src_value);
			}
		},
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (143:28) {#each $colors as color, index}
function create_family_index_svelte_create_each_block(ctx) {
	let div;
	let i;
	let t;
	let div_style_value;
	let index = /*index*/ ctx[29];
	let mounted;
	let dispose;

	function click_handler_2() {
		return /*click_handler_2*/ ctx[18](/*index*/ ctx[29]);
	}

	const assign_div = () => /*div_binding*/ ctx[19](div, index);
	const unassign_div = () => /*div_binding*/ ctx[19](null, index);

	return {
		c() {
			div = internal_element("div");
			i = internal_element("i");
			t = space();
			attr(i, "class", "family-create__panel-left-color-item-active icon-family-verifyied");
			attr(div, "class", "family-create__panel-left-color-item");
			attr(div, "style", div_style_value = `background-color: ${/*color*/ ctx[27].colorCode}; border-color: ${/*color*/ ctx[27].borderColor}`);
			toggle_class(div, "family-create__panel-left-color-item--selected", /*selectedColorIndex*/ ctx[4] === /*index*/ ctx[29]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, i);
			append(div, t);
			assign_div();

			if (!mounted) {
				dispose = listen(div, "click", click_handler_2);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*$colors*/ 1024 && div_style_value !== (div_style_value = `background-color: ${/*color*/ ctx[27].colorCode}; border-color: ${/*color*/ ctx[27].borderColor}`)) {
				attr(div, "style", div_style_value);
			}

			if (index !== /*index*/ ctx[29]) {
				unassign_div();
				index = /*index*/ ctx[29];
				assign_div();
			}

			if (dirty & /*selectedColorIndex*/ 16) {
				toggle_class(div, "family-create__panel-left-color-item--selected", /*selectedColorIndex*/ ctx[4] === /*index*/ ctx[29]);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			unassign_div();
			mounted = false;
			dispose();
		}
	};
}

function create_family_index_svelte_create_fragment(ctx) {
	let div22;
	let div21;
	let div0;
	let img0;
	let img0_src_value;
	let t0;
	let div20;
	let div6;
	let p0;
	let t2;
	let p1;
	let t4;
	let div2;
	let div1;
	let t5;
	let i0;
	let t6;
	let i1;
	let t7;
	let div5;
	let p2;
	let t9;
	let div4;
	let div3;
	let t10;
	let i2;
	let t11;
	let i3;
	let t12;
	let div19;
	let p3;
	let t14;
	let div9;
	let div7;
	let t17;
	let div8;
	let input0;
	let t18;
	let p5;
	let span0;
	let t19;
	let t20;
	let t21;
	let t22;
	let div12;
	let div10;
	let t25;
	let div11;
	let input1;
	let t26;
	let p7;
	let span1;
	let t27;
	let t28;
	let t29;
	let t30;
	let div15;
	let div13;
	let img1;
	let img1_src_value;
	let t31;
	let p8;
	let t33;
	let div14;
	let img2;
	let img2_src_value;
	let t34;
	let p9;
	let t36;
	let div17;
	let p10;
	let t38;
	let div16;
	let p11;
	let t40;
	let i6;
	let t41;
	let div18;
	let div22_intro;
	let mounted;
	let dispose;
	let if_block = /*$logos*/ ctx[11][/*selectedLogoId*/ ctx[6]] && create_family_index_svelte_create_if_block(ctx);
	let each_value = /*$colors*/ ctx[10];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = create_family_index_svelte_create_each_block(create_family_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div22 = internal_element("div");
			div21 = internal_element("div");
			div0 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			div20 = internal_element("div");
			div6 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Оформление";
			t2 = space();
			p1 = internal_element("p");
			p1.textContent = "Выберите иконку вашего клана";
			t4 = space();
			div2 = internal_element("div");
			div1 = internal_element("div");
			if (if_block) if_block.c();
			t5 = space();
			i0 = internal_element("i");
			t6 = space();
			i1 = internal_element("i");
			t7 = space();
			div5 = internal_element("div");
			p2 = internal_element("p");
			p2.textContent = "Выберите цвет";
			t9 = space();
			div4 = internal_element("div");
			div3 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t10 = space();
			i2 = internal_element("i");
			t11 = space();
			i3 = internal_element("i");
			t12 = space();
			div19 = internal_element("div");
			p3 = internal_element("p");
			p3.textContent = "Информация";
			t14 = space();
			div9 = internal_element("div");
			div7 = internal_element("div");

			div7.innerHTML = `<i class="family-create__panel-right-input-title-icon icon-family-message"></i> 
                        <p class="family-create__panel-right-input-title">Название семьи</p>`;

			t17 = space();
			div8 = internal_element("div");
			input0 = internal_element("input");
			t18 = space();
			p5 = internal_element("p");
			span0 = internal_element("span");
			t19 = internal_text(/*familyNameLength*/ ctx[2]);
			t20 = internal_text("\r\n                            /");
			t21 = internal_text(maxNameLength);
			t22 = space();
			div12 = internal_element("div");
			div10 = internal_element("div");

			div10.innerHTML = `<i class="family-create__panel-right-input-title-icon icon-family-megaphone"></i> 
                        <p class="family-create__panel-right-input-title">Ваш слоган</p>`;

			t25 = space();
			div11 = internal_element("div");
			input1 = internal_element("input");
			t26 = space();
			p7 = internal_element("p");
			span1 = internal_element("span");
			t27 = internal_text(/*familyCredoLength*/ ctx[3]);
			t28 = internal_text("\r\n                            /");
			t29 = internal_text(maxCredoLength);
			t30 = space();
			div15 = internal_element("div");
			div13 = internal_element("div");
			img1 = internal_element("img");
			t31 = space();
			p8 = internal_element("p");
			p8.textContent = "Открытый";
			t33 = space();
			div14 = internal_element("div");
			img2 = internal_element("img");
			t34 = space();
			p9 = internal_element("p");
			p9.textContent = "Закрытый";
			t36 = space();
			div17 = internal_element("div");
			p10 = internal_element("p");
			p10.textContent = "Стоимость";
			t38 = space();
			div16 = internal_element("div");
			p11 = internal_element("p");
			p11.textContent = `${formatMoney(price)}`;
			t40 = space();
			i6 = internal_element("i");
			t41 = space();
			div18 = internal_element("div");
			div18.innerHTML = `<p class="family-create__panel-right-button-title">Создать клан</p>`;
			attr(img0, "class", "family-create__background");
			if (!src_url_equal(img0.src, img0_src_value = family_create_bg_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "background");
			attr(div0, "class", "family-create__background-wrapper");
			attr(p0, "class", "family-create__panel-left-title");
			attr(p1, "class", "family-create__panel-left-hint");
			attr(div1, "class", "family-create__panel-left-logo-background");
			attr(i0, "class", "family-create__panel-left-logo-left-slider icon-family-left-arrow");
			toggle_class(i0, "family-create__panel-left-logo-left-slider--disabled", /*selectedLogoId*/ ctx[6] <= 0);
			attr(i1, "class", "family-create__panel-left-logo-right-slider icon-family-right-arrow");
			toggle_class(i1, "family-create__panel-left-logo-right-slider--disabled", /*selectedLogoId*/ ctx[6] === /*$logos*/ ctx[11].length - 1);
			attr(div2, "class", "family-create__panel-left-logo");
			attr(p2, "class", "family-create__panel-left-color-title");
			attr(div3, "class", "family-create__panel-left-color-item-wrapper");
			attr(div4, "class", "family-create__panel-left-color-list");
			attr(i2, "class", "family-create__panel-left-color-left-slider icon-family-left-arrow");
			attr(i3, "class", "family-create__panel-left-color-right-slider icon-family-right-arrow");
			attr(div5, "class", "family-create__panel-left-color");
			attr(div6, "class", "family-create__panel-left");
			attr(p3, "class", "family-create__panel-right-title");
			attr(div7, "class", "family-create__panel-right-input-title-wrapper");
			attr(input0, "class", "family-create__panel-right-input-field");
			attr(input0, "type", "text");
			attr(input0, "maxlength", maxNameLength);
			toggle_class(input0, "family-create__panel-right-input-field--error", /*familyNameLength*/ ctx[2] < minNameLength);
			toggle_class(span0, "family-create__panel-right-input-field-value-count--error", /*familyNameLength*/ ctx[2] < minNameLength);
			attr(p5, "class", "family-create__panel-right-input-field-value-count");
			attr(div8, "class", "family-create__panel-right-input-field-wrapper");
			attr(div9, "class", "family-create__panel-right-input");
			attr(div10, "class", "family-create__panel-right-input-title-wrapper");
			attr(input1, "class", "family-create__panel-right-input-field");
			attr(input1, "type", "text");
			attr(input1, "maxlength", maxCredoLength);
			toggle_class(input1, "family-create__panel-right-input-field--error", /*familyCredoLength*/ ctx[3] < minCredoLength);
			toggle_class(span1, "family-create__panel-right-input-field-value-count--error", /*familyCredoLength*/ ctx[3] < minCredoLength);
			attr(p7, "class", "family-create__panel-right-input-field-value-count");
			attr(div11, "class", "family-create__panel-right-input-field-wrapper");
			attr(div12, "class", "family-create__panel-right-input");
			attr(img1, "class", "family-create__panel-right-switch-item-background");
			if (!src_url_equal(img1.src, img1_src_value = stats_online_bg_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "switch-background");
			attr(p8, "class", "family-create__panel-right-switch-item-title");
			attr(div13, "class", "family-create__panel-right-switch-item");
			attr(img2, "class", "family-create__panel-right-switch-item-background");
			if (!src_url_equal(img2.src, img2_src_value = stats_total_bg_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "switch-background");
			attr(p9, "class", "family-create__panel-right-switch-item-title");
			attr(div14, "class", "family-create__panel-right-switch-item");
			attr(div15, "class", "family-create__panel-right-switch");
			toggle_class(div15, "family-create__panel-right-switch--closed", !/*familyOpened*/ ctx[8]);
			attr(p10, "class", "family-create__panel-right-price-title");
			attr(p11, "class", "family-create__panel-right-price-value");
			attr(i6, "class", "family-create__panel-right-price-value-icon icon-family-ruble");
			attr(div16, "class", "family-create__panel-right-price-value-wrapper");
			attr(div17, "class", "family-create__panel-right-price");
			attr(div18, "class", "family-create__panel-right-button");
			toggle_class(div18, "family-create__panel-right-button--disabled", !/*isValidLength*/ ctx[7]);
			attr(div19, "class", "family-create__panel-right");
			attr(div20, "class", "family-create__panel");
			attr(div21, "class", "family-create__panel-wrapper");
			attr(div22, "class", "family-create");
		},
		m(target, anchor) {
			insert(target, div22, anchor);
			append(div22, div21);
			append(div21, div0);
			append(div0, img0);
			append(div21, t0);
			append(div21, div20);
			append(div20, div6);
			append(div6, p0);
			append(div6, t2);
			append(div6, p1);
			append(div6, t4);
			append(div6, div2);
			append(div2, div1);
			if (if_block) if_block.m(div1, null);
			append(div2, t5);
			append(div2, i0);
			append(div2, t6);
			append(div2, i1);
			append(div6, t7);
			append(div6, div5);
			append(div5, p2);
			append(div5, t9);
			append(div5, div4);
			append(div4, div3);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div3, null);
			}

			/*div4_binding*/ ctx[20](div4);
			append(div5, t10);
			append(div5, i2);
			append(div5, t11);
			append(div5, i3);
			append(div20, t12);
			append(div20, div19);
			append(div19, p3);
			append(div19, t14);
			append(div19, div9);
			append(div9, div7);
			append(div9, t17);
			append(div9, div8);
			append(div8, input0);
			set_input_value(input0, /*familyName*/ ctx[0]);
			append(div8, t18);
			append(div8, p5);
			append(p5, span0);
			append(span0, t19);
			append(p5, t20);
			append(p5, t21);
			append(div19, t22);
			append(div19, div12);
			append(div12, div10);
			append(div12, t25);
			append(div12, div11);
			append(div11, input1);
			set_input_value(input1, /*familyCredo*/ ctx[1]);
			append(div11, t26);
			append(div11, p7);
			append(p7, span1);
			append(span1, t27);
			append(p7, t28);
			append(p7, t29);
			append(div19, t30);
			append(div19, div15);
			append(div15, div13);
			append(div13, img1);
			append(div13, t31);
			append(div13, p8);
			append(div15, t33);
			append(div15, div14);
			append(div14, img2);
			append(div14, t34);
			append(div14, p9);
			append(div19, t36);
			append(div19, div17);
			append(div17, p10);
			append(div17, t38);
			append(div17, div16);
			append(div16, p11);
			append(div16, t40);
			append(div16, i6);
			append(div19, t41);
			append(div19, div18);

			if (!mounted) {
				dispose = [
					listen(i0, "click", /*click_handler*/ ctx[16]),
					listen(i1, "click", /*click_handler_1*/ ctx[17]),
					listen(i2, "click", /*click_handler_3*/ ctx[21]),
					listen(i3, "click", /*click_handler_4*/ ctx[22]),
					listen(input0, "input", /*input0_input_handler*/ ctx[23]),
					listen(input1, "input", /*input1_input_handler*/ ctx[24]),
					listen(div15, "click", /*click_handler_5*/ ctx[25]),
					listen(div18, "click", /*createFamily*/ ctx[15])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (/*$logos*/ ctx[11][/*selectedLogoId*/ ctx[6]]) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = create_family_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div1, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (dirty & /*selectedLogoId*/ 64) {
				toggle_class(i0, "family-create__panel-left-logo-left-slider--disabled", /*selectedLogoId*/ ctx[6] <= 0);
			}

			if (dirty & /*selectedLogoId, $logos*/ 2112) {
				toggle_class(i1, "family-create__panel-left-logo-right-slider--disabled", /*selectedLogoId*/ ctx[6] === /*$logos*/ ctx[11].length - 1);
			}

			if (dirty & /*$colors, colorsRefs, selectedColorIndex, selectColor*/ 9744) {
				each_value = /*$colors*/ ctx[10];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = create_family_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = create_family_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div3, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if (dirty & /*familyName*/ 1 && input0.value !== /*familyName*/ ctx[0]) {
				set_input_value(input0, /*familyName*/ ctx[0]);
			}

			if (dirty & /*familyNameLength, minNameLength*/ 4) {
				toggle_class(input0, "family-create__panel-right-input-field--error", /*familyNameLength*/ ctx[2] < minNameLength);
			}

			if (dirty & /*familyNameLength*/ 4) set_data(t19, /*familyNameLength*/ ctx[2]);

			if (dirty & /*familyNameLength, minNameLength*/ 4) {
				toggle_class(span0, "family-create__panel-right-input-field-value-count--error", /*familyNameLength*/ ctx[2] < minNameLength);
			}

			if (dirty & /*familyCredo*/ 2 && input1.value !== /*familyCredo*/ ctx[1]) {
				set_input_value(input1, /*familyCredo*/ ctx[1]);
			}

			if (dirty & /*familyCredoLength, minCredoLength*/ 8) {
				toggle_class(input1, "family-create__panel-right-input-field--error", /*familyCredoLength*/ ctx[3] < minCredoLength);
			}

			if (dirty & /*familyCredoLength*/ 8) set_data(t27, /*familyCredoLength*/ ctx[3]);

			if (dirty & /*familyCredoLength, minCredoLength*/ 8) {
				toggle_class(span1, "family-create__panel-right-input-field-value-count--error", /*familyCredoLength*/ ctx[3] < minCredoLength);
			}

			if (dirty & /*familyOpened*/ 256) {
				toggle_class(div15, "family-create__panel-right-switch--closed", !/*familyOpened*/ ctx[8]);
			}

			if (dirty & /*isValidLength*/ 128) {
				toggle_class(div18, "family-create__panel-right-button--disabled", !/*isValidLength*/ ctx[7]);
			}
		},
		i(local) {
			if (!div22_intro) {
				add_render_callback(() => {
					div22_intro = create_in_transition(div22, fade, {});
					div22_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div22);
			if (if_block) if_block.d();
			destroy_each(each_blocks, detaching);
			/*div4_binding*/ ctx[20](null);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

const price = 3000000;
const minNameLength = 3;
const maxNameLength = 20;
const minCredoLength = 15;
const maxCredoLength = 40;

function create_family_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedScreen;
	let $colors;
	let $logos;
	component_subscribe($$self, family_store_selectedScreen, $$value => $$invalidate(26, $selectedScreen = $$value));
	component_subscribe($$self, colors, $$value => $$invalidate(10, $colors = $$value));
	component_subscribe($$self, logos, $$value => $$invalidate(11, $logos = $$value));
	let selectedColorIndex = 0;
	let containerRef;
	let selectedLogoId = 0;
	let familyName = '';
	let familyCredo = '';
	let familyNameLength = 0;
	let familyCredoLength = 0;
	let isValidLength = false;
	let familyOpened = true;
	const colorsRefs = [];

	const switchLogo = side => {
		if (side === 'right' && selectedLogoId < $logos.length - 1) {
			$$invalidate(6, selectedLogoId += 1);
		} else if (side === 'left' && selectedLogoId > 0) {
			$$invalidate(6, selectedLogoId -= 1);
		}
	};

	const selectColor = index => {
		if ((0,lodash.isEmpty)($colors)) {
			return;
		}

		let correctIndex = index;

		if ($colors.length - 1 < index) {
			correctIndex = 0;
		} else if (index < 0) {
			correctIndex = $colors.length - 1;
		}

		$$invalidate(4, selectedColorIndex = correctIndex);
		const containerWidth = containerRef.getBoundingClientRect().width;
		const itemRect = colorsRefs[correctIndex].getBoundingClientRect();
		const currentLeft = containerWidth + containerRef.scrollLeft;
		const siblingItemRect = (colorsRefs[correctIndex + 1] || colorsRefs[correctIndex - 1]).getBoundingClientRect();
		const gapWidth = Math.min(Math.abs(siblingItemRect.right - itemRect.left), Math.abs(siblingItemRect.left - itemRect.right));
		const itemWidth = itemRect.width + gapWidth;
		const itemInViewRightPosition = itemWidth * (correctIndex + 1);
		const itemInViewLeftPosition = itemInViewRightPosition - itemWidth;

		if (currentLeft < itemInViewRightPosition) {
			containerRef.scroll({
				left: itemInViewRightPosition,
				behavior: 'smooth'
			});
		}

		if (containerRef.scrollLeft > itemInViewLeftPosition) {
			containerRef.scroll({
				left: itemInViewLeftPosition,
				behavior: 'smooth'
			});
		}
	};

	const changeStatus = () => {
		$$invalidate(8, familyOpened = !familyOpened);
	};

	const createFamily = () => {
		sendClientMessage('family.createFamily', selectedColorIndex, selectedLogoId, familyName, familyCredo, familyOpened);
	};

	onMount(() => {
		sendClientMessage('family.selectedScreen', $selectedScreen);
	});

	const click_handler = () => switchLogo('left');
	const click_handler_1 = () => switchLogo('right');
	const click_handler_2 = index => selectColor(index);

	function div_binding($$value, index) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			colorsRefs[index] = $$value;
			$$invalidate(9, colorsRefs);
		});
	}

	function div4_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			containerRef = $$value;
			$$invalidate(5, containerRef);
		});
	}

	const click_handler_3 = () => selectColor(selectedColorIndex - 1);
	const click_handler_4 = () => selectColor(selectedColorIndex + 1);

	function input0_input_handler() {
		familyName = this.value;
		$$invalidate(0, familyName);
	}

	function input1_input_handler() {
		familyCredo = this.value;
		$$invalidate(1, familyCredo);
	}

	const click_handler_5 = () => changeStatus(familyOpened);

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*familyName, familyCredo, familyNameLength, familyCredoLength*/ 15) {
			$: {
				$$invalidate(2, familyNameLength = familyName.length);
				$$invalidate(3, familyCredoLength = familyCredo.length);
				$$invalidate(7, isValidLength = familyNameLength >= minNameLength && familyNameLength <= maxNameLength && familyCredoLength >= minCredoLength && familyCredoLength <= maxCredoLength);
			}
		}
	};

	return [
		familyName,
		familyCredo,
		familyNameLength,
		familyCredoLength,
		selectedColorIndex,
		containerRef,
		selectedLogoId,
		isValidLength,
		familyOpened,
		colorsRefs,
		$colors,
		$logos,
		switchLogo,
		selectColor,
		changeStatus,
		createFamily,
		click_handler,
		click_handler_1,
		click_handler_2,
		div_binding,
		div4_binding,
		click_handler_3,
		click_handler_4,
		input0_input_handler,
		input1_input_handler,
		click_handler_5
	];
}

class Create_family extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, create_family_index_svelte_instance, create_family_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const create_family_index_svelte = (Create_family);
;// CONCATENATED MODULE: ./src/views/phone/apps/family/components/family-list/components/shield-icon/index.svelte
/* src\views\phone\apps\family\components\family-list\components\shield-icon\index.svelte generated by Svelte v3.49.0 */


function family_list_components_shield_icon_index_svelte_create_fragment(ctx) {
	let svg;
	let path0;
	let path1;
	let path2;

	return {
		c() {
			svg = svg_element("svg");
			path0 = svg_element("path");
			path1 = svg_element("path");
			path2 = svg_element("path");
			attr(path0, "opacity", "0.5");
			attr(path0, "d", "M6 11.3333V15L14.3333 21L22.5 15V11.3333L14.3333 17L6 11.3333Z");
			attr(path0, "fill", /*color*/ ctx[0]);
			attr(path1, "opacity", "0.5");
			attr(path1, "d", "M8.66675 1.99996L14.3334 6.33329L20.0001 1.99996V6.66663L14.3334 10.6666L8.66675 6.66663V1.99996Z");
			attr(path1, "fill", /*color*/ ctx[0]);
			attr(path2, "fill-rule", "evenodd");
			attr(path2, "clip-rule", "evenodd");
			attr(path2, "d", "M14.3333 26L25.6667 18V4.33333L14.3333 12.3333L3 4.33333V18L14.3333 26ZM14.3333 22.6667L5 16V9L14.3333 15.3333L23.6667 9V16L14.3333 22.6667Z");
			attr(path2, "fill", /*color*/ ctx[0]);
			attr(svg, "width", "36");
			attr(svg, "height", "36");
			attr(svg, "viewBox", "0 0 28 28");
			attr(svg, "fill", "none");
			attr(svg, "xmlns", "http://www.w3.org/2000/svg");
		},
		m(target, anchor) {
			insert(target, svg, anchor);
			append(svg, path0);
			append(svg, path1);
			append(svg, path2);
		},
		p(ctx, [dirty]) {
			if (dirty & /*color*/ 1) {
				attr(path0, "fill", /*color*/ ctx[0]);
			}

			if (dirty & /*color*/ 1) {
				attr(path1, "fill", /*color*/ ctx[0]);
			}

			if (dirty & /*color*/ 1) {
				attr(path2, "fill", /*color*/ ctx[0]);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(svg);
		}
	};
}

function family_list_components_shield_icon_index_svelte_instance($$self, $$props, $$invalidate) {
	let { color = '#FFFFFF' } = $$props;

	$$self.$$set = $$props => {
		if ('color' in $$props) $$invalidate(0, color = $$props.color);
	};

	return [color];
}

class shield_icon_index_svelte_Shield_icon extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, family_list_components_shield_icon_index_svelte_instance, family_list_components_shield_icon_index_svelte_create_fragment, safe_not_equal, { color: 0 });
	}
}

/* harmony default export */ const family_list_components_shield_icon_index_svelte = (shield_icon_index_svelte_Shield_icon);
;// CONCATENATED MODULE: ./src/views/phone/apps/family/components/family-list/constants.js
function family_list_constants_typeof(o) { "@babel/helpers - typeof"; return family_list_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, family_list_constants_typeof(o); }
function family_list_constants_defineProperty(e, r, t) { return (r = family_list_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function family_list_constants_toPropertyKey(t) { var i = family_list_constants_toPrimitive(t, "string"); return "symbol" == family_list_constants_typeof(i) ? i : i + ""; }
function family_list_constants_toPrimitive(t, r) { if ("object" != family_list_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != family_list_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
var family_list_constants_MAP_POSITION_TO_COLOR = {
  1: '#F2C94C',
  2: '#FFFFFF',
  3: '#C89D75'
};
var MembersHeaders = {
  Full: 'full',
  Opened: 'opened'
};
var MAP_FIELD_TO_NAME = family_list_constants_defineProperty(family_list_constants_defineProperty({}, MembersHeaders.Full, 'Заполненный клан'), MembersHeaders.Opened, 'Открытый клан');
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/family-list-icon.png
const family_list_icon_namespaceObject = __webpack_require__.p + "assets/81fbeebd312821f5fd84.webp";
;// CONCATENATED MODULE: ./src/views/phone/apps/family/components/family-list/index.svelte
/* src\views\phone\apps\family\components\family-list\index.svelte generated by Svelte v3.49.0 */


const { Boolean: Boolean_1 } = globals;











function family_list_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[15] = list[i];
	child_ctx[17] = i;
	return child_ctx;
}

// (83:28) {:else}
function family_list_index_svelte_create_else_block(ctx) {
	let shieldrating;
	let t0;
	let p;
	let t1_value = /*item*/ ctx[15].id + "";
	let t1;
	let current;
	shieldrating = new family_list_components_shield_icon_index_svelte({ props: { color: "#FFFFFF1A" } });

	return {
		c() {
			create_component(shieldrating.$$.fragment);
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			attr(p, "class", "family-list__left-item-value family-list__left-item-value--place");
		},
		m(target, anchor) {
			mount_component(shieldrating, target, anchor);
			insert(target, t0, anchor);
			insert(target, p, anchor);
			append(p, t1);
			current = true;
		},
		p(ctx, dirty) {
			if ((!current || dirty & /*actualList*/ 8) && t1_value !== (t1_value = /*item*/ ctx[15].id + "")) set_data(t1, t1_value);
		},
		i(local) {
			if (current) return;
			transition_in(shieldrating.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(shieldrating.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(shieldrating, detaching);
			if (detaching) detach(t0);
			if (detaching) detach(p);
		}
	};
}

// (81:28) {#if item.id <= 3}
function family_list_index_svelte_create_if_block_1(ctx) {
	let shieldrating;
	let current;

	shieldrating = new family_list_components_shield_icon_index_svelte({
			props: {
				color: family_list_constants_MAP_POSITION_TO_COLOR[/*item*/ ctx[15].id]
			}
		});

	return {
		c() {
			create_component(shieldrating.$$.fragment);
		},
		m(target, anchor) {
			mount_component(shieldrating, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const shieldrating_changes = {};
			if (dirty & /*actualList*/ 8) shieldrating_changes.color = family_list_constants_MAP_POSITION_TO_COLOR[/*item*/ ctx[15].id];
			shieldrating.$set(shieldrating_changes);
		},
		i(local) {
			if (current) return;
			transition_in(shieldrating.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(shieldrating.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(shieldrating, detaching);
		}
	};
}

// (78:16) {#each actualList as item, index}
function family_list_index_svelte_create_each_block(ctx) {
	let div4;
	let div0;
	let current_block_type_index;
	let if_block;
	let t0;
	let div1;
	let img;
	let img_src_value;
	let t1;
	let p0;
	let t2_value = /*item*/ ctx[15].name + "";
	let t2;
	let t3;
	let div2;
	let i0;
	let i0_class_value;
	let t4;
	let div3;
	let i1;
	let t5;
	let p1;
	let t6_value = /*item*/ ctx[15].members + "";
	let t6;
	let t7;
	let i2;
	let t8;
	let current;
	let mounted;
	let dispose;
	const if_block_creators = [family_list_index_svelte_create_if_block_1, family_list_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (/*item*/ ctx[15].id <= 3) return 0;
		return 1;
	}

	current_block_type_index = select_block_type(ctx, -1);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	function click_handler_2() {
		return /*click_handler_2*/ ctx[12](/*index*/ ctx[17]);
	}

	return {
		c() {
			div4 = internal_element("div");
			div0 = internal_element("div");
			if_block.c();
			t0 = space();
			div1 = internal_element("div");
			img = internal_element("img");
			t1 = space();
			p0 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = space();
			div2 = internal_element("div");
			i0 = internal_element("i");
			t4 = space();
			div3 = internal_element("div");
			i1 = internal_element("i");
			t5 = space();
			p1 = internal_element("p");
			t6 = internal_text(t6_value);
			t7 = space();
			i2 = internal_element("i");
			t8 = space();
			attr(div0, "class", "family-list__left-item-value-wrapper");
			attr(img, "class", "family-list__left-item-name-icon");
			if (!src_url_equal(img.src, img_src_value = `${CDN_FAMILY_URL}/icons/${/*item*/ ctx[15].image}`)) attr(img, "src", img_src_value);
			attr(img, "alt", "family-logo");
			attr(p0, "class", "family-list__left-item-value");
			attr(div1, "class", "family-list__left-item-value-wrapper");

			attr(i0, "class", i0_class_value = "family-list__left-item-value-icon family-list__left-item-value-icon--small " + (/*item*/ ctx[15].opened
			? 'icon-family-unlock'
			: 'icon-family-lock'));

			attr(div2, "class", "family-list__left-item-value-wrapper");
			attr(i1, "class", "family-list__left-item-value-icon icon-family-people");
			attr(p1, "class", "family-list__left-item-value family-list__left-item-value--light");
			attr(div3, "class", "family-list__left-item-value-wrapper");
			attr(i2, "class", "family-list__left-item-icon icon-family-triangle");
			attr(div4, "class", "family-list__left-item");
			toggle_class(div4, "family-list__left-item--selected", /*selectedIndexId*/ ctx[0] === /*index*/ ctx[17]);
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div0);
			if_blocks[current_block_type_index].m(div0, null);
			append(div4, t0);
			append(div4, div1);
			append(div1, img);
			append(div1, t1);
			append(div1, p0);
			append(p0, t2);
			append(div4, t3);
			append(div4, div2);
			append(div2, i0);
			append(div4, t4);
			append(div4, div3);
			append(div3, i1);
			append(div3, t5);
			append(div3, p1);
			append(p1, t6);
			append(div4, t7);
			append(div4, i2);
			append(div4, t8);
			current = true;

			if (!mounted) {
				dispose = listen(div4, "click", click_handler_2);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(div0, null);
			}

			if (!current || dirty & /*actualList*/ 8 && !src_url_equal(img.src, img_src_value = `${CDN_FAMILY_URL}/icons/${/*item*/ ctx[15].image}`)) {
				attr(img, "src", img_src_value);
			}

			if ((!current || dirty & /*actualList*/ 8) && t2_value !== (t2_value = /*item*/ ctx[15].name + "")) set_data(t2, t2_value);

			if (!current || dirty & /*actualList*/ 8 && i0_class_value !== (i0_class_value = "family-list__left-item-value-icon family-list__left-item-value-icon--small " + (/*item*/ ctx[15].opened
			? 'icon-family-unlock'
			: 'icon-family-lock'))) {
				attr(i0, "class", i0_class_value);
			}

			if ((!current || dirty & /*actualList*/ 8) && t6_value !== (t6_value = /*item*/ ctx[15].members + "")) set_data(t6, t6_value);

			if (dirty & /*selectedIndexId*/ 1) {
				toggle_class(div4, "family-list__left-item--selected", /*selectedIndexId*/ ctx[0] === /*index*/ ctx[17]);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div4);
			if_blocks[current_block_type_index].d();
			mounted = false;
			dispose();
		}
	};
}

// (104:4) {#if actualList[selectedIndexId]}
function family_list_index_svelte_create_if_block(ctx) {
	let div3;
	let div2;
	let img;
	let img_src_value;
	let t0;
	let p0;
	let t1_value = /*actualList*/ ctx[3][/*selectedIndexId*/ ctx[0]].name + "";
	let t1;
	let t2;
	let div0;
	let i;
	let i_class_value;
	let t3;
	let p1;

	let t4_value = (/*actualList*/ ctx[3][/*selectedIndexId*/ ctx[0]].opened
	? 'Открытый клан'
	: 'Закрытый клан') + "";

	let t4;
	let t5;
	let div1;
	let p2;

	let t6_value = (/*selectedSortMode*/ ctx[1]
	? 'Вступить'
	: 'Подать заявку') + "";

	let t6;
	let mounted;
	let dispose;

	return {
		c() {
			div3 = internal_element("div");
			div2 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			div0 = internal_element("div");
			i = internal_element("i");
			t3 = space();
			p1 = internal_element("p");
			t4 = internal_text(t4_value);
			t5 = space();
			div1 = internal_element("div");
			p2 = internal_element("p");
			t6 = internal_text(t6_value);
			attr(img, "class", "family-list__right-info-img");
			if (!src_url_equal(img.src, img_src_value = family_list_icon_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "info-img");
			attr(p0, "class", "family-list__right-info-title");

			attr(i, "class", i_class_value = "family-list__right-info-status-icon " + (/*actualList*/ ctx[3][/*selectedIndexId*/ ctx[0]].opened
			? 'icon-family-unlock'
			: 'icon-family-lock'));

			attr(p1, "class", "family-list__right-info-status-title");
			attr(div0, "class", "family-list__right-info-status");
			attr(p2, "class", "family-list__right-info-button-title");
			attr(div1, "class", "family-list__right-info-button");
			attr(div2, "class", "family-list__right-info");
			attr(div3, "class", "family-list__right");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div2);
			append(div2, img);
			append(div2, t0);
			append(div2, p0);
			append(p0, t1);
			append(div2, t2);
			append(div2, div0);
			append(div0, i);
			append(div0, t3);
			append(div0, p1);
			append(p1, t4);
			append(div2, t5);
			append(div2, div1);
			append(div1, p2);
			append(p2, t6);

			if (!mounted) {
				dispose = listen(div1, "click", /*click_handler_3*/ ctx[13]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*actualList, selectedIndexId*/ 9 && t1_value !== (t1_value = /*actualList*/ ctx[3][/*selectedIndexId*/ ctx[0]].name + "")) set_data(t1, t1_value);

			if (dirty & /*actualList, selectedIndexId*/ 9 && i_class_value !== (i_class_value = "family-list__right-info-status-icon " + (/*actualList*/ ctx[3][/*selectedIndexId*/ ctx[0]].opened
			? 'icon-family-unlock'
			: 'icon-family-lock'))) {
				attr(i, "class", i_class_value);
			}

			if (dirty & /*actualList, selectedIndexId*/ 9 && t4_value !== (t4_value = (/*actualList*/ ctx[3][/*selectedIndexId*/ ctx[0]].opened
			? 'Открытый клан'
			: 'Закрытый клан') + "")) set_data(t4, t4_value);

			if (dirty & /*selectedSortMode*/ 2 && t6_value !== (t6_value = (/*selectedSortMode*/ ctx[1]
			? 'Вступить'
			: 'Подать заявку') + "")) set_data(t6, t6_value);
		},
		d(detaching) {
			if (detaching) detach(div3);
			mounted = false;
			dispose();
		}
	};
}

function family_list_index_svelte_create_fragment(ctx) {
	let div7;
	let div6;
	let div3;
	let div0;
	let input;
	let t0;
	let i;
	let t1;
	let div1;
	let t3;
	let div2;
	let t5;
	let div4;
	let t13;
	let div5;
	let t14;
	let div7_intro;
	let current;
	let mounted;
	let dispose;
	let each_value = /*actualList*/ ctx[3];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = family_list_index_svelte_create_each_block(family_list_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	let if_block = /*actualList*/ ctx[3][/*selectedIndexId*/ ctx[0]] && family_list_index_svelte_create_if_block(ctx);

	return {
		c() {
			div7 = internal_element("div");
			div6 = internal_element("div");
			div3 = internal_element("div");
			div0 = internal_element("div");
			input = internal_element("input");
			t0 = space();
			i = internal_element("i");
			t1 = space();
			div1 = internal_element("div");
			div1.innerHTML = `<p class="family-list__left-filter-item-title">Закрытый клан</p>`;
			t3 = space();
			div2 = internal_element("div");
			div2.innerHTML = `<p class="family-list__left-filter-item-title">Открытый клан</p>`;
			t5 = space();
			div4 = internal_element("div");

			div4.innerHTML = `<p class="family-list__left-header-title">Топ</p> 
            <p class="family-list__left-header-title">Название клана</p> 
            <p class="family-list__left-header-title">Тип</p> 
            <p class="family-list__left-header-title">Кол-во участников</p>`;

			t13 = space();
			div5 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t14 = space();
			if (if_block) if_block.c();
			attr(input, "class", "family-list__left-filter-search");
			attr(input, "type", "text");
			attr(input, "placeholder", "Поиск по названию");
			attr(i, "class", "family-list__left-filter-search-icon icon-family-loupe");
			attr(div0, "class", "family-list__left-filter-search-wrapper");
			attr(div1, "class", "family-list__left-filter-item");
			toggle_class(div1, "family-list__left-filter-item--selected", /*selectedSortMode*/ ctx[1] === false);
			attr(div2, "class", "family-list__left-filter-item");
			toggle_class(div2, "family-list__left-filter-item--selected", /*selectedSortMode*/ ctx[1]);
			attr(div3, "class", "family-list__left-filter");
			attr(div4, "class", "family-list__left-header");
			attr(div5, "class", "family-list__left-list");
			attr(div6, "class", "family-list__left");
			attr(div7, "class", "family-list");
		},
		m(target, anchor) {
			insert(target, div7, anchor);
			append(div7, div6);
			append(div6, div3);
			append(div3, div0);
			append(div0, input);
			set_input_value(input, /*searchText*/ ctx[2]);
			append(div0, t0);
			append(div0, i);
			append(div3, t1);
			append(div3, div1);
			append(div3, t3);
			append(div3, div2);
			append(div6, t5);
			append(div6, div4);
			append(div6, t13);
			append(div6, div5);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div5, null);
			}

			append(div7, t14);
			if (if_block) if_block.m(div7, null);
			current = true;

			if (!mounted) {
				dispose = [
					listen(input, "input", /*input_input_handler*/ ctx[9]),
					listen(i, "click", /*search*/ ctx[6]),
					listen(div1, "click", /*click_handler*/ ctx[10]),
					listen(div2, "click", /*click_handler_1*/ ctx[11])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*searchText*/ 4 && input.value !== /*searchText*/ ctx[2]) {
				set_input_value(input, /*searchText*/ ctx[2]);
			}

			if (dirty & /*selectedSortMode*/ 2) {
				toggle_class(div1, "family-list__left-filter-item--selected", /*selectedSortMode*/ ctx[1] === false);
			}

			if (dirty & /*selectedSortMode*/ 2) {
				toggle_class(div2, "family-list__left-filter-item--selected", /*selectedSortMode*/ ctx[1]);
			}

			if (dirty & /*selectedIndexId, selectItem, actualList, CDN_FAMILY_URL, MAP_POSITION_TO_COLOR*/ 25) {
				each_value = /*actualList*/ ctx[3];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = family_list_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = family_list_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div5, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}

			if (/*actualList*/ ctx[3][/*selectedIndexId*/ ctx[0]]) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = family_list_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div7, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			if (!div7_intro) {
				add_render_callback(() => {
					div7_intro = create_in_transition(div7, fade, {});
					div7_intro.start();
				});
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean_1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div7);
			destroy_each(each_blocks, detaching);
			if (if_block) if_block.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function family_list_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedScreen;
	let $familyList;
	component_subscribe($$self, family_store_selectedScreen, $$value => $$invalidate(14, $selectedScreen = $$value));
	component_subscribe($$self, familyList, $$value => $$invalidate(8, $familyList = $$value));
	let selectedIndexId = 0;
	let selectedSortMode;
	let searchText = '';
	let actualList = [];

	const selectItem = index => {
		$$invalidate(0, selectedIndexId = index);
	};

	const request = id => {
		sendClientMessage('family.request', id);
	};

	const search = () => {
		sendClientMessage('family.searchByName', searchText);
	};

	const sort = sortMode => {
		if ((0,lodash.isNil)(actualList)) {
			return;
		}

		$$invalidate(0, selectedIndexId = 0);
		$$invalidate(1, selectedSortMode = sortMode !== 'closed');
		$$invalidate(3, actualList = $familyList.filter(item => Boolean(item.opened) === selectedSortMode));
	};

	onMount(() => {
		sendClientMessage('family.selectedScreen', $selectedScreen);
	});

	function input_input_handler() {
		searchText = this.value;
		$$invalidate(2, searchText);
	}

	const click_handler = () => sort('closed');
	const click_handler_1 = () => sort('opened');
	const click_handler_2 = index => selectItem(index);
	const click_handler_3 = () => request(actualList[selectedIndexId].familyId);

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*$familyList*/ 256) {
			$: {
				$$invalidate(3, actualList = $familyList);
			}
		}
	};

	return [
		selectedIndexId,
		selectedSortMode,
		searchText,
		actualList,
		selectItem,
		request,
		search,
		sort,
		$familyList,
		input_input_handler,
		click_handler,
		click_handler_1,
		click_handler_2,
		click_handler_3
	];
}

class Family_list extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, family_list_index_svelte_instance, family_list_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const family_list_index_svelte = (Family_list);
;// CONCATENATED MODULE: ./node_modules/ol/ObjectEventType.js
/**
 * @module ol/ObjectEventType
 */

/**
 * @enum {string}
 */
/* harmony default export */ const ObjectEventType = ({
  /**
   * Triggered when a property is changed.
   * @event module:ol/Object.ObjectEvent#propertychange
   * @api
   */
  PROPERTYCHANGE: 'propertychange',
});

/**
 * @typedef {'propertychange'} Types
 */

;// CONCATENATED MODULE: ./node_modules/ol/events/EventType.js
/**
 * @module ol/events/EventType
 */

/**
 * @enum {string}
 * @const
 */
/* harmony default export */ const events_EventType = ({
  /**
   * Generic change event. Triggered when the revision counter is increased.
   * @event module:ol/events/Event~BaseEvent#change
   * @api
   */
  CHANGE: 'change',

  /**
   * Generic error event. Triggered when an error occurs.
   * @event module:ol/events/Event~BaseEvent#error
   * @api
   */
  ERROR: 'error',

  BLUR: 'blur',
  CLEAR: 'clear',
  CONTEXTMENU: 'contextmenu',
  CLICK: 'click',
  DBLCLICK: 'dblclick',
  DRAGENTER: 'dragenter',
  DRAGOVER: 'dragover',
  DROP: 'drop',
  FOCUS: 'focus',
  KEYDOWN: 'keydown',
  KEYPRESS: 'keypress',
  LOAD: 'load',
  RESIZE: 'resize',
  TOUCHMOVE: 'touchmove',
  WHEEL: 'wheel',
});

;// CONCATENATED MODULE: ./node_modules/ol/Disposable.js
/**
 * @module ol/Disposable
 */

/**
 * @classdesc
 * Objects that need to clean up after themselves.
 */
class Disposable {
  constructor() {
    /**
     * The object has already been disposed.
     * @type {boolean}
     * @protected
     */
    this.disposed = false;
  }

  /**
   * Clean up.
   */
  dispose() {
    if (!this.disposed) {
      this.disposed = true;
      this.disposeInternal();
    }
  }

  /**
   * Extension point for disposable objects.
   * @protected
   */
  disposeInternal() {}
}

/* harmony default export */ const ol_Disposable = (Disposable);

;// CONCATENATED MODULE: ./node_modules/ol/array.js
/**
 * @module ol/array
 */

/**
 * Performs a binary search on the provided sorted list and returns the index of the item if found. If it can't be found it'll return -1.
 * https://github.com/darkskyapp/binary-search
 *
 * @param {Array<*>} haystack Items to search through.
 * @param {*} needle The item to look for.
 * @param {Function} [comparator] Comparator function.
 * @return {number} The index of the item if found, -1 if not.
 */
function binarySearch(haystack, needle, comparator) {
  let mid, cmp;
  comparator = comparator || ascending;
  let low = 0;
  let high = haystack.length;
  let found = false;

  while (low < high) {
    /* Note that "(low + high) >>> 1" may overflow, and results in a typecast
     * to double (which gives the wrong results). */
    mid = low + ((high - low) >> 1);
    cmp = +comparator(haystack[mid], needle);

    if (cmp < 0.0) {
      /* Too low. */
      low = mid + 1;
    } else {
      /* Key found or too high */
      high = mid;
      found = !cmp;
    }
  }

  /* Key not found. */
  return found ? low : ~low;
}

/**
 * Compare function sorting arrays in ascending order.  Safe to use for numeric values.
 * @param {*} a The first object to be compared.
 * @param {*} b The second object to be compared.
 * @return {number} A negative number, zero, or a positive number as the first
 *     argument is less than, equal to, or greater than the second.
 */
function ascending(a, b) {
  return a > b ? 1 : a < b ? -1 : 0;
}

/**
 * Compare function sorting arrays in descending order.  Safe to use for numeric values.
 * @param {*} a The first object to be compared.
 * @param {*} b The second object to be compared.
 * @return {number} A negative number, zero, or a positive number as the first
 *     argument is greater than, equal to, or less than the second.
 */
function descending(a, b) {
  return a < b ? 1 : a > b ? -1 : 0;
}

/**
 * {@link module:ol/tilegrid/TileGrid~TileGrid#getZForResolution} can use a function
 * of this type to determine which nearest resolution to use.
 *
 * This function takes a `{number}` representing a value between two array entries,
 * a `{number}` representing the value of the nearest higher entry and
 * a `{number}` representing the value of the nearest lower entry
 * as arguments and returns a `{number}`. If a negative number or zero is returned
 * the lower value will be used, if a positive number is returned the higher value
 * will be used.
 * @typedef {function(number, number, number): number} NearestDirectionFunction
 * @api
 */

/**
 * @param {Array<number>} arr Array in descending order.
 * @param {number} target Target.
 * @param {number|NearestDirectionFunction} direction
 *    0 means return the nearest,
 *    > 0 means return the largest nearest,
 *    < 0 means return the smallest nearest.
 * @return {number} Index.
 */
function linearFindNearest(arr, target, direction) {
  if (arr[0] <= target) {
    return 0;
  }

  const n = arr.length;
  if (target <= arr[n - 1]) {
    return n - 1;
  }

  if (typeof direction === 'function') {
    for (let i = 1; i < n; ++i) {
      const candidate = arr[i];
      if (candidate === target) {
        return i;
      }
      if (candidate < target) {
        if (direction(target, arr[i - 1], candidate) > 0) {
          return i - 1;
        }
        return i;
      }
    }
    return n - 1;
  }

  if (direction > 0) {
    for (let i = 1; i < n; ++i) {
      if (arr[i] < target) {
        return i - 1;
      }
    }
    return n - 1;
  }

  if (direction < 0) {
    for (let i = 1; i < n; ++i) {
      if (arr[i] <= target) {
        return i;
      }
    }
    return n - 1;
  }

  for (let i = 1; i < n; ++i) {
    if (arr[i] == target) {
      return i;
    }
    if (arr[i] < target) {
      if (arr[i - 1] - target < target - arr[i]) {
        return i - 1;
      }
      return i;
    }
  }
  return n - 1;
}

/**
 * @param {Array<*>} arr Array.
 * @param {number} begin Begin index.
 * @param {number} end End index.
 */
function reverseSubArray(arr, begin, end) {
  while (begin < end) {
    const tmp = arr[begin];
    arr[begin] = arr[end];
    arr[end] = tmp;
    ++begin;
    --end;
  }
}

/**
 * @param {Array<VALUE>} arr The array to modify.
 * @param {!Array<VALUE>|VALUE} data The elements or arrays of elements to add to arr.
 * @template VALUE
 */
function array_extend(arr, data) {
  const extension = Array.isArray(data) ? data : [data];
  const length = extension.length;
  for (let i = 0; i < length; i++) {
    arr[arr.length] = extension[i];
  }
}

/**
 * @param {Array<VALUE>} arr The array to modify.
 * @param {VALUE} obj The element to remove.
 * @template VALUE
 * @return {boolean} If the element was removed.
 */
function remove(arr, obj) {
  const i = arr.indexOf(obj);
  const found = i > -1;
  if (found) {
    arr.splice(i, 1);
  }
  return found;
}

/**
 * @param {Array<any>|Uint8ClampedArray} arr1 The first array to compare.
 * @param {Array<any>|Uint8ClampedArray} arr2 The second array to compare.
 * @return {boolean} Whether the two arrays are equal.
 */
function equals(arr1, arr2) {
  const len1 = arr1.length;
  if (len1 !== arr2.length) {
    return false;
  }
  for (let i = 0; i < len1; i++) {
    if (arr1[i] !== arr2[i]) {
      return false;
    }
  }
  return true;
}

/**
 * Sort the passed array such that the relative order of equal elements is preserved.
 * See https://en.wikipedia.org/wiki/Sorting_algorithm#Stability for details.
 * @param {Array<*>} arr The array to sort (modifies original).
 * @param {!function(*, *): number} compareFnc Comparison function.
 * @api
 */
function stableSort(arr, compareFnc) {
  const length = arr.length;
  const tmp = Array(arr.length);
  let i;
  for (i = 0; i < length; i++) {
    tmp[i] = {index: i, value: arr[i]};
  }
  tmp.sort(function (a, b) {
    return compareFnc(a.value, b.value) || a.index - b.index;
  });
  for (i = 0; i < arr.length; i++) {
    arr[i] = tmp[i].value;
  }
}

/**
 * @param {Array<*>} arr The array to test.
 * @param {Function} [func] Comparison function.
 * @param {boolean} [strict] Strictly sorted (default false).
 * @return {boolean} Return index.
 */
function isSorted(arr, func, strict) {
  const compare = func || ascending;
  return arr.every(function (currentVal, index) {
    if (index === 0) {
      return true;
    }
    const res = compare(arr[index - 1], currentVal);
    return !(res > 0 || (strict && res === 0));
  });
}

;// CONCATENATED MODULE: ./node_modules/ol/functions.js
/**
 * @module ol/functions
 */



/**
 * Always returns true.
 * @return {boolean} true.
 */
function TRUE() {
  return true;
}

/**
 * Always returns false.
 * @return {boolean} false.
 */
function functions_FALSE() {
  return false;
}

/**
 * A reusable function, used e.g. as a default for callbacks.
 *
 * @return {void} Nothing.
 */
function VOID() {}

/**
 * Wrap a function in another function that remembers the last return.  If the
 * returned function is called twice in a row with the same arguments and the same
 * this object, it will return the value from the first call in the second call.
 *
 * @param {function(...any): ReturnType} fn The function to memoize.
 * @return {function(...any): ReturnType} The memoized function.
 * @template ReturnType
 */
function memoizeOne(fn) {
  /** @type {ReturnType} */
  let lastResult;

  /** @type {Array<any>|undefined} */
  let lastArgs;

  let lastThis;

  /**
   * @this {*} Only need to know if `this` changed, don't care what type
   * @return {ReturnType} Memoized value
   */
  return function () {
    const nextArgs = Array.prototype.slice.call(arguments);
    if (!lastArgs || this !== lastThis || !equals(nextArgs, lastArgs)) {
      lastThis = this;
      lastArgs = nextArgs;
      lastResult = fn.apply(this, arguments);
    }
    return lastResult;
  };
}

/**
 * @template T
 * @param {function(): (T | Promise<T>)} getter A function that returns a value or a promise for a value.
 * @return {Promise<T>} A promise for the value.
 */
function functions_toPromise(getter) {
  function promiseGetter() {
    let value;
    try {
      value = getter();
    } catch (err) {
      return Promise.reject(err);
    }
    if (value instanceof Promise) {
      return value;
    }
    return Promise.resolve(value);
  }
  return promiseGetter();
}

;// CONCATENATED MODULE: ./node_modules/ol/obj.js
/**
 * @module ol/obj
 */

/**
 * Removes all properties from an object.
 * @param {Object<string, unknown>} object The object to clear.
 */
function clear(object) {
  for (const property in object) {
    delete object[property];
  }
}

/**
 * Determine if an object has any properties.
 * @param {Object} object The object to check.
 * @return {boolean} The object is empty.
 */
function obj_isEmpty(object) {
  let property;
  for (property in object) {
    return false;
  }
  return !property;
}

;// CONCATENATED MODULE: ./node_modules/ol/events/Event.js
/**
 * @module ol/events/Event
 */

/**
 * @classdesc
 * Stripped down implementation of the W3C DOM Level 2 Event interface.
 * See https://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-interface.
 *
 * This implementation only provides `type` and `target` properties, and
 * `stopPropagation` and `preventDefault` methods. It is meant as base class
 * for higher level events defined in the library, and works with
 * {@link module:ol/events/Target~Target}.
 */
class BaseEvent {
  /**
   * @param {string} type Type.
   */
  constructor(type) {
    /**
     * @type {boolean}
     */
    this.propagationStopped;

    /**
     * @type {boolean}
     */
    this.defaultPrevented;

    /**
     * The event type.
     * @type {string}
     * @api
     */
    this.type = type;

    /**
     * The event target.
     * @type {Object}
     * @api
     */
    this.target = null;
  }

  /**
   * Prevent default. This means that no emulated `click`, `singleclick` or `doubleclick` events
   * will be fired.
   * @api
   */
  preventDefault() {
    this.defaultPrevented = true;
  }

  /**
   * Stop event propagation.
   * @api
   */
  stopPropagation() {
    this.propagationStopped = true;
  }
}

/**
 * @param {Event|import("./Event.js").default} evt Event
 */
function stopPropagation(evt) {
  evt.stopPropagation();
}

/**
 * @param {Event|import("./Event.js").default} evt Event
 */
function preventDefault(evt) {
  evt.preventDefault();
}

/* harmony default export */ const Event = (BaseEvent);

;// CONCATENATED MODULE: ./node_modules/ol/events/Target.js
/**
 * @module ol/events/Target
 */





/**
 * @typedef {EventTarget|Target} EventTargetLike
 */

/**
 * @classdesc
 * A simplified implementation of the W3C DOM Level 2 EventTarget interface.
 * See https://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113/events.html#Events-EventTarget.
 *
 * There are two important simplifications compared to the specification:
 *
 * 1. The handling of `useCapture` in `addEventListener` and
 *    `removeEventListener`. There is no real capture model.
 * 2. The handling of `stopPropagation` and `preventDefault` on `dispatchEvent`.
 *    There is no event target hierarchy. When a listener calls
 *    `stopPropagation` or `preventDefault` on an event object, it means that no
 *    more listeners after this one will be called. Same as when the listener
 *    returns false.
 */
class Target extends ol_Disposable {
  /**
   * @param {*} [target] Default event target for dispatched events.
   */
  constructor(target) {
    super();

    /**
     * @private
     * @type {*}
     */
    this.eventTarget_ = target;

    /**
     * @private
     * @type {Object<string, number>|null}
     */
    this.pendingRemovals_ = null;

    /**
     * @private
     * @type {Object<string, number>|null}
     */
    this.dispatching_ = null;

    /**
     * @private
     * @type {Object<string, Array<import("../events.js").Listener>>|null}
     */
    this.listeners_ = null;
  }

  /**
   * @param {string} type Type.
   * @param {import("../events.js").Listener} listener Listener.
   */
  addEventListener(type, listener) {
    if (!type || !listener) {
      return;
    }
    const listeners = this.listeners_ || (this.listeners_ = {});
    const listenersForType = listeners[type] || (listeners[type] = []);
    if (!listenersForType.includes(listener)) {
      listenersForType.push(listener);
    }
  }

  /**
   * Dispatches an event and calls all listeners listening for events
   * of this type. The event parameter can either be a string or an
   * Object with a `type` property.
   *
   * @param {import("./Event.js").default|string} event Event object.
   * @return {boolean|undefined} `false` if anyone called preventDefault on the
   *     event object or if any of the listeners returned false.
   * @api
   */
  dispatchEvent(event) {
    const isString = typeof event === 'string';
    const type = isString ? event : event.type;
    const listeners = this.listeners_ && this.listeners_[type];
    if (!listeners) {
      return;
    }

    const evt = isString ? new Event(event) : /** @type {Event} */ (event);
    if (!evt.target) {
      evt.target = this.eventTarget_ || this;
    }
    const dispatching = this.dispatching_ || (this.dispatching_ = {});
    const pendingRemovals =
      this.pendingRemovals_ || (this.pendingRemovals_ = {});
    if (!(type in dispatching)) {
      dispatching[type] = 0;
      pendingRemovals[type] = 0;
    }
    ++dispatching[type];
    let propagate;
    for (let i = 0, ii = listeners.length; i < ii; ++i) {
      if ('handleEvent' in listeners[i]) {
        propagate = /** @type {import("../events.js").ListenerObject} */ (
          listeners[i]
        ).handleEvent(evt);
      } else {
        propagate = /** @type {import("../events.js").ListenerFunction} */ (
          listeners[i]
        ).call(this, evt);
      }
      if (propagate === false || evt.propagationStopped) {
        propagate = false;
        break;
      }
    }
    if (--dispatching[type] === 0) {
      let pr = pendingRemovals[type];
      delete pendingRemovals[type];
      while (pr--) {
        this.removeEventListener(type, VOID);
      }
      delete dispatching[type];
    }
    return propagate;
  }

  /**
   * Clean up.
   * @override
   */
  disposeInternal() {
    this.listeners_ && clear(this.listeners_);
  }

  /**
   * Get the listeners for a specified event type. Listeners are returned in the
   * order that they will be called in.
   *
   * @param {string} type Type.
   * @return {Array<import("../events.js").Listener>|undefined} Listeners.
   */
  getListeners(type) {
    return (this.listeners_ && this.listeners_[type]) || undefined;
  }

  /**
   * @param {string} [type] Type. If not provided,
   *     `true` will be returned if this event target has any listeners.
   * @return {boolean} Has listeners.
   */
  hasListener(type) {
    if (!this.listeners_) {
      return false;
    }
    return type
      ? type in this.listeners_
      : Object.keys(this.listeners_).length > 0;
  }

  /**
   * @param {string} type Type.
   * @param {import("../events.js").Listener} listener Listener.
   */
  removeEventListener(type, listener) {
    if (!this.listeners_) {
      return;
    }
    const listeners = this.listeners_[type];
    if (!listeners) {
      return;
    }
    const index = listeners.indexOf(listener);
    if (index !== -1) {
      if (this.pendingRemovals_ && type in this.pendingRemovals_) {
        // make listener a no-op, and remove later in #dispatchEvent()
        listeners[index] = VOID;
        ++this.pendingRemovals_[type];
      } else {
        listeners.splice(index, 1);
        if (listeners.length === 0) {
          delete this.listeners_[type];
        }
      }
    }
  }
}

/* harmony default export */ const events_Target = (Target);

;// CONCATENATED MODULE: ./node_modules/ol/events.js
/**
 * @module ol/events
 */


/**
 * Key to use with {@link module:ol/Observable.unByKey}.
 * @typedef {Object} EventsKey
 * @property {ListenerFunction} listener Listener.
 * @property {import("./events/Target.js").EventTargetLike} target Target.
 * @property {string} type Type.
 * @api
 */

/**
 * Listener function. This function is called with an event object as argument.
 * When the function returns `false`, event propagation will stop.
 *
 * @typedef {function((Event|import("./events/Event.js").default)): (void|boolean)} ListenerFunction
 * @api
 */

/**
 * @typedef {Object} ListenerObject
 * @property {ListenerFunction} handleEvent HandleEvent listener function.
 */

/**
 * @typedef {ListenerFunction|ListenerObject} Listener
 */

/**
 * Registers an event listener on an event target. Inspired by
 * https://google.github.io/closure-library/api/source/closure/goog/events/events.js.src.html
 *
 * This function efficiently binds a `listener` to a `this` object, and returns
 * a key for use with {@link module:ol/events.unlistenByKey}.
 *
 * @param {import("./events/Target.js").EventTargetLike} target Event target.
 * @param {string} type Event type.
 * @param {ListenerFunction} listener Listener.
 * @param {Object} [thisArg] Object referenced by the `this` keyword in the
 *     listener. Default is the `target`.
 * @param {boolean} [once] If true, add the listener as one-off listener.
 * @return {EventsKey} Unique key for the listener.
 */
function events_listen(target, type, listener, thisArg, once) {
  if (once) {
    const originalListener = listener;
    /**
     * @param {Event|import('./events/Event.js').default} event The event
     * @return {void|boolean} When the function returns `false`, event propagation will stop.
     * @this {typeof target}
     */
    listener = function (event) {
      target.removeEventListener(type, listener);
      return originalListener.call(thisArg ?? this, event);
    };
  } else if (thisArg && thisArg !== target) {
    listener = listener.bind(thisArg);
  }
  const eventsKey = {
    target: target,
    type: type,
    listener: listener,
  };
  target.addEventListener(type, listener);
  return eventsKey;
}

/**
 * Registers a one-off event listener on an event target. Inspired by
 * https://google.github.io/closure-library/api/source/closure/goog/events/events.js.src.html
 *
 * This function efficiently binds a `listener` as self-unregistering listener
 * to a `this` object, and returns a key for use with
 * {@link module:ol/events.unlistenByKey} in case the listener needs to be
 * unregistered before it is called.
 *
 * When {@link module:ol/events.listen} is called with the same arguments after this
 * function, the self-unregistering listener will be turned into a permanent
 * listener.
 *
 * @param {import("./events/Target.js").EventTargetLike} target Event target.
 * @param {string} type Event type.
 * @param {ListenerFunction} listener Listener.
 * @param {Object} [thisArg] Object referenced by the `this` keyword in the
 *     listener. Default is the `target`.
 * @return {EventsKey} Key for unlistenByKey.
 */
function listenOnce(target, type, listener, thisArg) {
  return events_listen(target, type, listener, thisArg, true);
}

/**
 * Unregisters event listeners on an event target. Inspired by
 * https://google.github.io/closure-library/api/source/closure/goog/events/events.js.src.html
 *
 * The argument passed to this function is the key returned from
 * {@link module:ol/events.listen} or {@link module:ol/events.listenOnce}.
 *
 * @param {EventsKey} key The key.
 */
function unlistenByKey(key) {
  if (key && key.target) {
    key.target.removeEventListener(key.type, key.listener);
    clear(key);
  }
}

;// CONCATENATED MODULE: ./node_modules/ol/Observable.js
/**
 * @module ol/Observable
 */




/***
 * @template {string} Type
 * @template {Event|import("./events/Event.js").default} EventClass
 * @template Return
 * @typedef {(type: Type, listener: (event: EventClass) => ?) => Return} OnSignature
 */

/***
 * @template {string} Type
 * @template Return
 * @typedef {(type: Type[], listener: (event: Event|import("./events/Event").default) => ?) => Return extends void ? void : Return[]} CombinedOnSignature
 */

/**
 * @typedef {'change'|'error'} EventTypes
 */

/***
 * @template Return
 * @typedef {OnSignature<EventTypes, import("./events/Event.js").default, Return> & CombinedOnSignature<EventTypes, Return>} ObservableOnSignature
 */

/**
 * @classdesc
 * Abstract base class; normally only used for creating subclasses and not
 * instantiated in apps.
 * An event target providing convenient methods for listener registration
 * and unregistration. A generic `change` event is always available through
 * {@link module:ol/Observable~Observable#changed}.
 *
 * @fires import("./events/Event.js").default
 * @api
 */
class Observable extends events_Target {
  constructor() {
    super();

    this.on =
      /** @type {ObservableOnSignature<import("./events").EventsKey>} */ (
        this.onInternal
      );

    this.once =
      /** @type {ObservableOnSignature<import("./events").EventsKey>} */ (
        this.onceInternal
      );

    this.un = /** @type {ObservableOnSignature<void>} */ (this.unInternal);

    /**
     * @private
     * @type {number}
     */
    this.revision_ = 0;
  }

  /**
   * Increases the revision counter and dispatches a 'change' event.
   * @api
   */
  changed() {
    ++this.revision_;
    this.dispatchEvent(events_EventType.CHANGE);
  }

  /**
   * Get the version number for this object.  Each time the object is modified,
   * its version number will be incremented.
   * @return {number} Revision.
   * @api
   */
  getRevision() {
    return this.revision_;
  }

  /**
   * @param {string|Array<string>} type Type.
   * @param {function((Event|import("./events/Event").default)): ?} listener Listener.
   * @return {import("./events.js").EventsKey|Array<import("./events.js").EventsKey>} Event key.
   * @protected
   */
  onInternal(type, listener) {
    if (Array.isArray(type)) {
      const len = type.length;
      const keys = new Array(len);
      for (let i = 0; i < len; ++i) {
        keys[i] = events_listen(this, type[i], listener);
      }
      return keys;
    }
    return events_listen(this, /** @type {string} */ (type), listener);
  }

  /**
   * @param {string|Array<string>} type Type.
   * @param {function((Event|import("./events/Event").default)): ?} listener Listener.
   * @return {import("./events.js").EventsKey|Array<import("./events.js").EventsKey>} Event key.
   * @protected
   */
  onceInternal(type, listener) {
    let key;
    if (Array.isArray(type)) {
      const len = type.length;
      key = new Array(len);
      for (let i = 0; i < len; ++i) {
        key[i] = listenOnce(this, type[i], listener);
      }
    } else {
      key = listenOnce(this, /** @type {string} */ (type), listener);
    }
    /** @type {Object} */ (listener).ol_key = key;
    return key;
  }

  /**
   * Unlisten for a certain type of event.
   * @param {string|Array<string>} type Type.
   * @param {function((Event|import("./events/Event").default)): ?} listener Listener.
   * @protected
   */
  unInternal(type, listener) {
    const key = /** @type {Object} */ (listener).ol_key;
    if (key) {
      unByKey(key);
    } else if (Array.isArray(type)) {
      for (let i = 0, ii = type.length; i < ii; ++i) {
        this.removeEventListener(type[i], listener);
      }
    } else {
      this.removeEventListener(type, listener);
    }
  }
}

/**
 * Listen for a certain type of event.
 * @function
 * @param {string|Array<string>} type The event type or array of event types.
 * @param {function((Event|import("./events/Event").default)): ?} listener The listener function.
 * @return {import("./events.js").EventsKey|Array<import("./events.js").EventsKey>} Unique key for the listener. If
 *     called with an array of event types as the first argument, the return
 *     will be an array of keys.
 * @api
 */
Observable.prototype.on;

/**
 * Listen once for a certain type of event.
 * @function
 * @param {string|Array<string>} type The event type or array of event types.
 * @param {function((Event|import("./events/Event").default)): ?} listener The listener function.
 * @return {import("./events.js").EventsKey|Array<import("./events.js").EventsKey>} Unique key for the listener. If
 *     called with an array of event types as the first argument, the return
 *     will be an array of keys.
 * @api
 */
Observable.prototype.once;

/**
 * Unlisten for a certain type of event.
 * @function
 * @param {string|Array<string>} type The event type or array of event types.
 * @param {function((Event|import("./events/Event").default)): ?} listener The listener function.
 * @api
 */
Observable.prototype.un;

/**
 * Removes an event listener using the key returned by `on()` or `once()`.
 * @param {import("./events.js").EventsKey|Array<import("./events.js").EventsKey>} key The key returned by `on()`
 *     or `once()` (or an array of keys).
 * @api
 */
function unByKey(key) {
  if (Array.isArray(key)) {
    for (let i = 0, ii = key.length; i < ii; ++i) {
      unlistenByKey(key[i]);
    }
  } else {
    unlistenByKey(/** @type {import("./events.js").EventsKey} */ (key));
  }
}

/* harmony default export */ const ol_Observable = (Observable);

;// CONCATENATED MODULE: ./node_modules/ol/util.js
/**
 * @module ol/util
 */

/**
 * @return {never} Any return.
 */
function util_abstract() {
  throw new Error('Unimplemented abstract method.');
}

/**
 * Counter for getUid.
 * @type {number}
 * @private
 */
let uidCounter_ = 0;

/**
 * Gets a unique ID for an object. This mutates the object so that further calls
 * with the same object as a parameter returns the same value. Unique IDs are generated
 * as a strictly increasing sequence. Adapted from goog.getUid.
 *
 * @param {Object} obj The object to get the unique ID for.
 * @return {string} The unique ID for the object.
 * @api
 */
function getUid(obj) {
  return obj.ol_uid || (obj.ol_uid = String(++uidCounter_));
}

/**
 * OpenLayers version.
 * @type {string}
 */
const util_VERSION = '10.5.0';

;// CONCATENATED MODULE: ./node_modules/ol/Object.js
/**
 * @module ol/Object
 */






/**
 * @classdesc
 * Events emitted by {@link module:ol/Object~BaseObject} instances are instances of this type.
 */
class ObjectEvent extends Event {
  /**
   * @param {string} type The event type.
   * @param {string} key The property name.
   * @param {*} oldValue The old value for `key`.
   */
  constructor(type, key, oldValue) {
    super(type);

    /**
     * The name of the property whose value is changing.
     * @type {string}
     * @api
     */
    this.key = key;

    /**
     * The old value. To get the new value use `e.target.get(e.key)` where
     * `e` is the event object.
     * @type {*}
     * @api
     */
    this.oldValue = oldValue;
  }
}

/***
 * @template Return
 * @typedef {import("./Observable").OnSignature<import("./Observable").EventTypes, import("./events/Event.js").default, Return> &
 *    import("./Observable").OnSignature<import("./ObjectEventType").Types, ObjectEvent, Return> &
 *    import("./Observable").CombinedOnSignature<import("./Observable").EventTypes|import("./ObjectEventType").Types, Return>} ObjectOnSignature
 */

/**
 * @classdesc
 * Abstract base class; normally only used for creating subclasses and not
 * instantiated in apps.
 * Most non-trivial classes inherit from this.
 *
 * This extends {@link module:ol/Observable~Observable} with observable
 * properties, where each property is observable as well as the object as a
 * whole.
 *
 * Classes that inherit from this have pre-defined properties, to which you can
 * add your owns. The pre-defined properties are listed in this documentation as
 * 'Observable Properties', and have their own accessors; for example,
 * {@link module:ol/Map~Map} has a `target` property, accessed with
 * `getTarget()` and changed with `setTarget()`. Not all properties are however
 * settable. There are also general-purpose accessors `get()` and `set()`. For
 * example, `get('target')` is equivalent to `getTarget()`.
 *
 * The `set` accessors trigger a change event, and you can monitor this by
 * registering a listener. For example, {@link module:ol/View~View} has a
 * `center` property, so `view.on('change:center', function(evt) {...});` would
 * call the function whenever the value of the center property changes. Within
 * the function, `evt.target` would be the view, so `evt.target.getCenter()`
 * would return the new center.
 *
 * You can add your own observable properties with
 * `object.set('prop', 'value')`, and retrieve that with `object.get('prop')`.
 * You can listen for changes on that property value with
 * `object.on('change:prop', listener)`. You can get a list of all
 * properties with {@link module:ol/Object~BaseObject#getProperties}.
 *
 * Note that the observable properties are separate from standard JS properties.
 * You can, for example, give your map object a title with
 * `map.title='New title'` and with `map.set('title', 'Another title')`. The
 * first will be a `hasOwnProperty`; the second will appear in
 * `getProperties()`. Only the second is observable.
 *
 * Properties can be deleted by using the unset method. E.g.
 * object.unset('foo').
 *
 * @fires ObjectEvent
 * @api
 */
class BaseObject extends ol_Observable {
  /**
   * @param {Object<string, *>} [values] An object with key-value pairs.
   */
  constructor(values) {
    super();

    /***
     * @type {ObjectOnSignature<import("./events").EventsKey>}
     */
    this.on;

    /***
     * @type {ObjectOnSignature<import("./events").EventsKey>}
     */
    this.once;

    /***
     * @type {ObjectOnSignature<void>}
     */
    this.un;

    // Call {@link module:ol/util.getUid} to ensure that the order of objects' ids is
    // the same as the order in which they were created.  This also helps to
    // ensure that object properties are always added in the same order, which
    // helps many JavaScript engines generate faster code.
    getUid(this);

    /**
     * @private
     * @type {Object<string, *>|null}
     */
    this.values_ = null;

    if (values !== undefined) {
      this.setProperties(values);
    }
  }

  /**
   * Gets a value.
   * @param {string} key Key name.
   * @return {*} Value.
   * @api
   */
  get(key) {
    let value;
    if (this.values_ && this.values_.hasOwnProperty(key)) {
      value = this.values_[key];
    }
    return value;
  }

  /**
   * Get a list of object property names.
   * @return {Array<string>} List of property names.
   * @api
   */
  getKeys() {
    return (this.values_ && Object.keys(this.values_)) || [];
  }

  /**
   * Get an object of all property names and values.
   * @return {Object<string, *>} Object.
   * @api
   */
  getProperties() {
    return (this.values_ && Object.assign({}, this.values_)) || {};
  }

  /**
   * Get an object of all property names and values.
   * @return {Object<string, *>?} Object.
   */
  getPropertiesInternal() {
    return this.values_;
  }

  /**
   * @return {boolean} The object has properties.
   */
  hasProperties() {
    return !!this.values_;
  }

  /**
   * @param {string} key Key name.
   * @param {*} oldValue Old value.
   */
  notify(key, oldValue) {
    let eventType;
    eventType = `change:${key}`;
    if (this.hasListener(eventType)) {
      this.dispatchEvent(new ObjectEvent(eventType, key, oldValue));
    }
    eventType = ObjectEventType.PROPERTYCHANGE;
    if (this.hasListener(eventType)) {
      this.dispatchEvent(new ObjectEvent(eventType, key, oldValue));
    }
  }

  /**
   * @param {string} key Key name.
   * @param {import("./events.js").Listener} listener Listener.
   */
  addChangeListener(key, listener) {
    this.addEventListener(`change:${key}`, listener);
  }

  /**
   * @param {string} key Key name.
   * @param {import("./events.js").Listener} listener Listener.
   */
  removeChangeListener(key, listener) {
    this.removeEventListener(`change:${key}`, listener);
  }

  /**
   * Sets a value.
   * @param {string} key Key name.
   * @param {*} value Value.
   * @param {boolean} [silent] Update without triggering an event.
   * @api
   */
  set(key, value, silent) {
    const values = this.values_ || (this.values_ = {});
    if (silent) {
      values[key] = value;
    } else {
      const oldValue = values[key];
      values[key] = value;
      if (oldValue !== value) {
        this.notify(key, oldValue);
      }
    }
  }

  /**
   * Sets a collection of key-value pairs.  Note that this changes any existing
   * properties and adds new ones (it does not remove any existing properties).
   * @param {Object<string, *>} values Values.
   * @param {boolean} [silent] Update without triggering an event.
   * @api
   */
  setProperties(values, silent) {
    for (const key in values) {
      this.set(key, values[key], silent);
    }
  }

  /**
   * Apply any properties from another object without triggering events.
   * @param {BaseObject} source The source object.
   * @protected
   */
  applyProperties(source) {
    if (!source.values_) {
      return;
    }
    Object.assign(this.values_ || (this.values_ = {}), source.values_);
  }

  /**
   * Unsets a property.
   * @param {string} key Key name.
   * @param {boolean} [silent] Unset without triggering an event.
   * @api
   */
  unset(key, silent) {
    if (this.values_ && key in this.values_) {
      const oldValue = this.values_[key];
      delete this.values_[key];
      if (obj_isEmpty(this.values_)) {
        this.values_ = null;
      }
      if (!silent) {
        this.notify(key, oldValue);
      }
    }
  }
}

/* harmony default export */ const ol_Object = (BaseObject);

;// CONCATENATED MODULE: ./node_modules/ol/ViewHint.js
/**
 * @module ol/ViewHint
 */

/**
 * @enum {number}
 */
/* harmony default export */ const ViewHint = ({
  ANIMATING: 0,
  INTERACTING: 1,
});

;// CONCATENATED MODULE: ./node_modules/ol/ViewProperty.js
/**
 * @module ol/ViewProperty
 */

/**
 * @enum {string}
 */
/* harmony default export */ const ViewProperty = ({
  CENTER: 'center',
  RESOLUTION: 'resolution',
  ROTATION: 'rotation',
});

;// CONCATENATED MODULE: ./node_modules/ol/asserts.js
/**
 * @module ol/asserts
 */

/**
 * @param {*} assertion Assertion we expected to be truthy.
 * @param {string} errorMessage Error message.
 */
function assert(assertion, errorMessage) {
  if (!assertion) {
    throw new Error(errorMessage);
  }
}

;// CONCATENATED MODULE: ./node_modules/ol/math.js
/**
 * @module ol/math
 */

/**
 * Takes a number and clamps it to within the provided bounds.
 * @param {number} value The input number.
 * @param {number} min The minimum value to return.
 * @param {number} max The maximum value to return.
 * @return {number} The input number if it is within bounds, or the nearest
 *     number within the bounds.
 */
function math_clamp(value, min, max) {
  return Math.min(Math.max(value, min), max);
}

/**
 * Returns the square of the closest distance between the point (x, y) and the
 * line segment (x1, y1) to (x2, y2).
 * @param {number} x X.
 * @param {number} y Y.
 * @param {number} x1 X1.
 * @param {number} y1 Y1.
 * @param {number} x2 X2.
 * @param {number} y2 Y2.
 * @return {number} Squared distance.
 */
function squaredSegmentDistance(x, y, x1, y1, x2, y2) {
  const dx = x2 - x1;
  const dy = y2 - y1;
  if (dx !== 0 || dy !== 0) {
    const t = ((x - x1) * dx + (y - y1) * dy) / (dx * dx + dy * dy);
    if (t > 1) {
      x1 = x2;
      y1 = y2;
    } else if (t > 0) {
      x1 += dx * t;
      y1 += dy * t;
    }
  }
  return math_squaredDistance(x, y, x1, y1);
}

/**
 * Returns the square of the distance between the points (x1, y1) and (x2, y2).
 * @param {number} x1 X1.
 * @param {number} y1 Y1.
 * @param {number} x2 X2.
 * @param {number} y2 Y2.
 * @return {number} Squared distance.
 */
function math_squaredDistance(x1, y1, x2, y2) {
  const dx = x2 - x1;
  const dy = y2 - y1;
  return dx * dx + dy * dy;
}

/**
 * Solves system of linear equations using Gaussian elimination method.
 *
 * @param {Array<Array<number>>} mat Augmented matrix (n x n + 1 column)
 *                                     in row-major order.
 * @return {Array<number>|null} The resulting vector.
 */
function solveLinearSystem(mat) {
  const n = mat.length;

  for (let i = 0; i < n; i++) {
    // Find max in the i-th column (ignoring i - 1 first rows)
    let maxRow = i;
    let maxEl = Math.abs(mat[i][i]);
    for (let r = i + 1; r < n; r++) {
      const absValue = Math.abs(mat[r][i]);
      if (absValue > maxEl) {
        maxEl = absValue;
        maxRow = r;
      }
    }

    if (maxEl === 0) {
      return null; // matrix is singular
    }

    // Swap max row with i-th (current) row
    const tmp = mat[maxRow];
    mat[maxRow] = mat[i];
    mat[i] = tmp;

    // Subtract the i-th row to make all the remaining rows 0 in the i-th column
    for (let j = i + 1; j < n; j++) {
      const coef = -mat[j][i] / mat[i][i];
      for (let k = i; k < n + 1; k++) {
        if (i == k) {
          mat[j][k] = 0;
        } else {
          mat[j][k] += coef * mat[i][k];
        }
      }
    }
  }

  // Solve Ax=b for upper triangular matrix A (mat)
  const x = new Array(n);
  for (let l = n - 1; l >= 0; l--) {
    x[l] = mat[l][n] / mat[l][l];
    for (let m = l - 1; m >= 0; m--) {
      mat[m][n] -= mat[m][l] * x[l];
    }
  }
  return x;
}

/**
 * Converts radians to to degrees.
 *
 * @param {number} angleInRadians Angle in radians.
 * @return {number} Angle in degrees.
 */
function math_toDegrees(angleInRadians) {
  return (angleInRadians * 180) / Math.PI;
}

/**
 * Converts degrees to radians.
 *
 * @param {number} angleInDegrees Angle in degrees.
 * @return {number} Angle in radians.
 */
function math_toRadians(angleInDegrees) {
  return (angleInDegrees * Math.PI) / 180;
}

/**
 * Returns the modulo of a / b, depending on the sign of b.
 *
 * @param {number} a Dividend.
 * @param {number} b Divisor.
 * @return {number} Modulo.
 */
function math_modulo(a, b) {
  const r = a % b;
  return r * b < 0 ? r + b : r;
}

/**
 * Calculates the linearly interpolated value of x between a and b.
 *
 * @param {number} a Number
 * @param {number} b Number
 * @param {number} x Value to be interpolated.
 * @return {number} Interpolated value.
 */
function math_lerp(a, b, x) {
  return a + x * (b - a);
}

/**
 * Returns a number with a limited number of decimal digits.
 * @param {number} n The input number.
 * @param {number} decimals The maximum number of decimal digits.
 * @return {number} The input number with a limited number of decimal digits.
 */
function math_toFixed(n, decimals) {
  const factor = Math.pow(10, decimals);
  return Math.round(n * factor) / factor;
}

/**
 * Rounds a number to the nearest integer value considering only the given number
 * of decimal digits (with rounding on the final digit).
 * @param {number} n The input number.
 * @param {number} decimals The maximum number of decimal digits.
 * @return {number} The nearest integer.
 */
function round(n, decimals) {
  return Math.round(math_toFixed(n, decimals));
}

/**
 * Rounds a number to the next smaller integer considering only the given number
 * of decimal digits (with rounding on the final digit).
 * @param {number} n The input number.
 * @param {number} decimals The maximum number of decimal digits.
 * @return {number} The next smaller integer.
 */
function floor(n, decimals) {
  return Math.floor(math_toFixed(n, decimals));
}

/**
 * Rounds a number to the next bigger integer considering only the given number
 * of decimal digits (with rounding on the final digit).
 * @param {number} n The input number.
 * @param {number} decimals The maximum number of decimal digits.
 * @return {number} The next bigger integer.
 */
function ceil(n, decimals) {
  return Math.ceil(math_toFixed(n, decimals));
}

/**
 * Wraps a number between some minimum and maximum values.
 * @param {number} n The number to wrap.
 * @param {number} min The minimum of the range (inclusive).
 * @param {number} max The maximum of the range (exclusive).
 * @return {number} The wrapped number.
 */
function wrap(n, min, max) {
  if (n >= min && n < max) {
    return n;
  }
  const range = max - min;
  return ((((n - min) % range) + range) % range) + min;
}

;// CONCATENATED MODULE: ./node_modules/ol/centerconstraint.js
/**
 * @module ol/centerconstraint
 */


/**
 * @typedef {function((import("./coordinate.js").Coordinate|undefined), number, import("./size.js").Size, boolean=, Array<number>=): (import("./coordinate.js").Coordinate|undefined)} Type
 */

/**
 * @param {import("./extent.js").Extent} extent Extent.
 * @param {boolean} onlyCenter If true, the constraint will only apply to the view center.
 * @param {boolean} smooth If true, the view will be able to go slightly out of the given extent
 * (only during interaction and animation).
 * @return {Type} The constraint.
 */
function createExtent(extent, onlyCenter, smooth) {
  return (
    /**
     * @param {import("./coordinate.js").Coordinate|undefined} center Center.
     * @param {number|undefined} resolution Resolution.
     * @param {import("./size.js").Size} size Viewport size; unused if `onlyCenter` was specified.
     * @param {boolean} [isMoving] True if an interaction or animation is in progress.
     * @param {Array<number>} [centerShift] Shift between map center and viewport center.
     * @return {import("./coordinate.js").Coordinate|undefined} Center.
     */
    function (center, resolution, size, isMoving, centerShift) {
      if (!center) {
        return undefined;
      }
      if (!resolution && !onlyCenter) {
        return center;
      }
      const viewWidth = onlyCenter ? 0 : size[0] * resolution;
      const viewHeight = onlyCenter ? 0 : size[1] * resolution;
      const shiftX = centerShift ? centerShift[0] : 0;
      const shiftY = centerShift ? centerShift[1] : 0;
      let minX = extent[0] + viewWidth / 2 + shiftX;
      let maxX = extent[2] - viewWidth / 2 + shiftX;
      let minY = extent[1] + viewHeight / 2 + shiftY;
      let maxY = extent[3] - viewHeight / 2 + shiftY;

      // note: when zooming out of bounds, min and max values for x and y may
      // end up inverted (min > max); this has to be accounted for
      if (minX > maxX) {
        minX = (maxX + minX) / 2;
        maxX = minX;
      }
      if (minY > maxY) {
        minY = (maxY + minY) / 2;
        maxY = minY;
      }

      let x = math_clamp(center[0], minX, maxX);
      let y = math_clamp(center[1], minY, maxY);

      // during an interaction, allow some overscroll
      if (isMoving && smooth && resolution) {
        const ratio = 30 * resolution;
        x +=
          -ratio * Math.log(1 + Math.max(0, minX - center[0]) / ratio) +
          ratio * Math.log(1 + Math.max(0, center[0] - maxX) / ratio);
        y +=
          -ratio * Math.log(1 + Math.max(0, minY - center[1]) / ratio) +
          ratio * Math.log(1 + Math.max(0, center[1] - maxY) / ratio);
      }

      return [x, y];
    }
  );
}

/**
 * @param {import("./coordinate.js").Coordinate} [center] Center.
 * @return {import("./coordinate.js").Coordinate|undefined} Center.
 */
function none(center) {
  return center;
}

;// CONCATENATED MODULE: ./node_modules/ol/extent/Relationship.js
/**
 * @module ol/extent/Relationship
 */

/**
 * Relationship to an extent.
 * @enum {number}
 */
/* harmony default export */ const Relationship = ({
  UNKNOWN: 0,
  INTERSECTING: 1,
  ABOVE: 2,
  RIGHT: 4,
  BELOW: 8,
  LEFT: 16,
});

;// CONCATENATED MODULE: ./node_modules/ol/extent.js
/**
 * @module ol/extent
 */


/**
 * An array of numbers representing an extent: `[minx, miny, maxx, maxy]`.
 * @typedef {Array<number>} Extent
 * @api
 */

/**
 * Extent corner.
 * @typedef {'bottom-left' | 'bottom-right' | 'top-left' | 'top-right'} Corner
 */

/**
 * Build an extent that includes all given coordinates.
 *
 * @param {Array<import("./coordinate.js").Coordinate>} coordinates Coordinates.
 * @return {Extent} Bounding extent.
 * @api
 */
function boundingExtent(coordinates) {
  const extent = createEmpty();
  for (let i = 0, ii = coordinates.length; i < ii; ++i) {
    extendCoordinate(extent, coordinates[i]);
  }
  return extent;
}

/**
 * @param {Array<number>} xs Xs.
 * @param {Array<number>} ys Ys.
 * @param {Extent} [dest] Destination extent.
 * @private
 * @return {Extent} Extent.
 */
function _boundingExtentXYs(xs, ys, dest) {
  const minX = Math.min.apply(null, xs);
  const minY = Math.min.apply(null, ys);
  const maxX = Math.max.apply(null, xs);
  const maxY = Math.max.apply(null, ys);
  return createOrUpdate(minX, minY, maxX, maxY, dest);
}

/**
 * Return extent increased by the provided value.
 * @param {Extent} extent Extent.
 * @param {number} value The amount by which the extent should be buffered.
 * @param {Extent} [dest] Extent.
 * @return {Extent} Extent.
 * @api
 */
function buffer(extent, value, dest) {
  if (dest) {
    dest[0] = extent[0] - value;
    dest[1] = extent[1] - value;
    dest[2] = extent[2] + value;
    dest[3] = extent[3] + value;
    return dest;
  }
  return [
    extent[0] - value,
    extent[1] - value,
    extent[2] + value,
    extent[3] + value,
  ];
}

/**
 * Creates a clone of an extent.
 *
 * @param {Extent} extent Extent to clone.
 * @param {Extent} [dest] Extent.
 * @return {Extent} The clone.
 */
function clone(extent, dest) {
  if (dest) {
    dest[0] = extent[0];
    dest[1] = extent[1];
    dest[2] = extent[2];
    dest[3] = extent[3];
    return dest;
  }
  return extent.slice();
}

/**
 * @param {Extent} extent Extent.
 * @param {number} x X.
 * @param {number} y Y.
 * @return {number} Closest squared distance.
 */
function closestSquaredDistanceXY(extent, x, y) {
  let dx, dy;
  if (x < extent[0]) {
    dx = extent[0] - x;
  } else if (extent[2] < x) {
    dx = x - extent[2];
  } else {
    dx = 0;
  }
  if (y < extent[1]) {
    dy = extent[1] - y;
  } else if (extent[3] < y) {
    dy = y - extent[3];
  } else {
    dy = 0;
  }
  return dx * dx + dy * dy;
}

/**
 * Check if the passed coordinate is contained or on the edge of the extent.
 *
 * @param {Extent} extent Extent.
 * @param {import("./coordinate.js").Coordinate} coordinate Coordinate.
 * @return {boolean} The coordinate is contained in the extent.
 * @api
 */
function containsCoordinate(extent, coordinate) {
  return containsXY(extent, coordinate[0], coordinate[1]);
}

/**
 * Check if one extent contains another.
 *
 * An extent is deemed contained if it lies completely within the other extent,
 * including if they share one or more edges.
 *
 * @param {Extent} extent1 Extent 1.
 * @param {Extent} extent2 Extent 2.
 * @return {boolean} The second extent is contained by or on the edge of the
 *     first.
 * @api
 */
function containsExtent(extent1, extent2) {
  return (
    extent1[0] <= extent2[0] &&
    extent2[2] <= extent1[2] &&
    extent1[1] <= extent2[1] &&
    extent2[3] <= extent1[3]
  );
}

/**
 * Check if the passed coordinate is contained or on the edge of the extent.
 *
 * @param {Extent} extent Extent.
 * @param {number} x X coordinate.
 * @param {number} y Y coordinate.
 * @return {boolean} The x, y values are contained in the extent.
 * @api
 */
function containsXY(extent, x, y) {
  return extent[0] <= x && x <= extent[2] && extent[1] <= y && y <= extent[3];
}

/**
 * Get the relationship between a coordinate and extent.
 * @param {Extent} extent The extent.
 * @param {import("./coordinate.js").Coordinate} coordinate The coordinate.
 * @return {import("./extent/Relationship.js").default} The relationship (bitwise compare with
 *     import("./extent/Relationship.js").Relationship).
 */
function coordinateRelationship(extent, coordinate) {
  const minX = extent[0];
  const minY = extent[1];
  const maxX = extent[2];
  const maxY = extent[3];
  const x = coordinate[0];
  const y = coordinate[1];
  let relationship = Relationship.UNKNOWN;
  if (x < minX) {
    relationship = relationship | Relationship.LEFT;
  } else if (x > maxX) {
    relationship = relationship | Relationship.RIGHT;
  }
  if (y < minY) {
    relationship = relationship | Relationship.BELOW;
  } else if (y > maxY) {
    relationship = relationship | Relationship.ABOVE;
  }
  if (relationship === Relationship.UNKNOWN) {
    relationship = Relationship.INTERSECTING;
  }
  return relationship;
}

/**
 * Create an empty extent.
 * @return {Extent} Empty extent.
 * @api
 */
function createEmpty() {
  return [Infinity, Infinity, -Infinity, -Infinity];
}

/**
 * Create a new extent or update the provided extent.
 * @param {number} minX Minimum X.
 * @param {number} minY Minimum Y.
 * @param {number} maxX Maximum X.
 * @param {number} maxY Maximum Y.
 * @param {Extent} [dest] Destination extent.
 * @return {Extent} Extent.
 */
function createOrUpdate(minX, minY, maxX, maxY, dest) {
  if (dest) {
    dest[0] = minX;
    dest[1] = minY;
    dest[2] = maxX;
    dest[3] = maxY;
    return dest;
  }
  return [minX, minY, maxX, maxY];
}

/**
 * Create a new empty extent or make the provided one empty.
 * @param {Extent} [dest] Extent.
 * @return {Extent} Extent.
 */
function createOrUpdateEmpty(dest) {
  return createOrUpdate(Infinity, Infinity, -Infinity, -Infinity, dest);
}

/**
 * @param {import("./coordinate.js").Coordinate} coordinate Coordinate.
 * @param {Extent} [dest] Extent.
 * @return {Extent} Extent.
 */
function createOrUpdateFromCoordinate(coordinate, dest) {
  const x = coordinate[0];
  const y = coordinate[1];
  return createOrUpdate(x, y, x, y, dest);
}

/**
 * @param {Array<import("./coordinate.js").Coordinate>} coordinates Coordinates.
 * @param {Extent} [dest] Extent.
 * @return {Extent} Extent.
 */
function createOrUpdateFromCoordinates(coordinates, dest) {
  const extent = createOrUpdateEmpty(dest);
  return extendCoordinates(extent, coordinates);
}

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @param {Extent} [dest] Extent.
 * @return {Extent} Extent.
 */
function createOrUpdateFromFlatCoordinates(
  flatCoordinates,
  offset,
  end,
  stride,
  dest,
) {
  const extent = createOrUpdateEmpty(dest);
  return extendFlatCoordinates(extent, flatCoordinates, offset, end, stride);
}

/**
 * @param {Array<Array<import("./coordinate.js").Coordinate>>} rings Rings.
 * @param {Extent} [dest] Extent.
 * @return {Extent} Extent.
 */
function createOrUpdateFromRings(rings, dest) {
  const extent = createOrUpdateEmpty(dest);
  return extendRings(extent, rings);
}

/**
 * Determine if two extents are equivalent.
 * @param {Extent} extent1 Extent 1.
 * @param {Extent} extent2 Extent 2.
 * @return {boolean} The two extents are equivalent.
 * @api
 */
function extent_equals(extent1, extent2) {
  return (
    extent1[0] == extent2[0] &&
    extent1[2] == extent2[2] &&
    extent1[1] == extent2[1] &&
    extent1[3] == extent2[3]
  );
}

/**
 * Determine if two extents are approximately equivalent.
 * @param {Extent} extent1 Extent 1.
 * @param {Extent} extent2 Extent 2.
 * @param {number} tolerance Tolerance in extent coordinate units.
 * @return {boolean} The two extents differ by less than the tolerance.
 */
function approximatelyEquals(extent1, extent2, tolerance) {
  return (
    Math.abs(extent1[0] - extent2[0]) < tolerance &&
    Math.abs(extent1[2] - extent2[2]) < tolerance &&
    Math.abs(extent1[1] - extent2[1]) < tolerance &&
    Math.abs(extent1[3] - extent2[3]) < tolerance
  );
}

/**
 * Modify an extent to include another extent.
 * @param {Extent} extent1 The extent to be modified.
 * @param {Extent} extent2 The extent that will be included in the first.
 * @return {Extent} A reference to the first (extended) extent.
 * @api
 */
function extent_extend(extent1, extent2) {
  if (extent2[0] < extent1[0]) {
    extent1[0] = extent2[0];
  }
  if (extent2[2] > extent1[2]) {
    extent1[2] = extent2[2];
  }
  if (extent2[1] < extent1[1]) {
    extent1[1] = extent2[1];
  }
  if (extent2[3] > extent1[3]) {
    extent1[3] = extent2[3];
  }
  return extent1;
}

/**
 * @param {Extent} extent Extent.
 * @param {import("./coordinate.js").Coordinate} coordinate Coordinate.
 */
function extendCoordinate(extent, coordinate) {
  if (coordinate[0] < extent[0]) {
    extent[0] = coordinate[0];
  }
  if (coordinate[0] > extent[2]) {
    extent[2] = coordinate[0];
  }
  if (coordinate[1] < extent[1]) {
    extent[1] = coordinate[1];
  }
  if (coordinate[1] > extent[3]) {
    extent[3] = coordinate[1];
  }
}

/**
 * @param {Extent} extent Extent.
 * @param {Array<import("./coordinate.js").Coordinate>} coordinates Coordinates.
 * @return {Extent} Extent.
 */
function extendCoordinates(extent, coordinates) {
  for (let i = 0, ii = coordinates.length; i < ii; ++i) {
    extendCoordinate(extent, coordinates[i]);
  }
  return extent;
}

/**
 * @param {Extent} extent Extent.
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @return {Extent} Extent.
 */
function extendFlatCoordinates(
  extent,
  flatCoordinates,
  offset,
  end,
  stride,
) {
  for (; offset < end; offset += stride) {
    extendXY(extent, flatCoordinates[offset], flatCoordinates[offset + 1]);
  }
  return extent;
}

/**
 * @param {Extent} extent Extent.
 * @param {Array<Array<import("./coordinate.js").Coordinate>>} rings Rings.
 * @return {Extent} Extent.
 */
function extendRings(extent, rings) {
  for (let i = 0, ii = rings.length; i < ii; ++i) {
    extendCoordinates(extent, rings[i]);
  }
  return extent;
}

/**
 * @param {Extent} extent Extent.
 * @param {number} x X.
 * @param {number} y Y.
 */
function extendXY(extent, x, y) {
  extent[0] = Math.min(extent[0], x);
  extent[1] = Math.min(extent[1], y);
  extent[2] = Math.max(extent[2], x);
  extent[3] = Math.max(extent[3], y);
}

/**
 * This function calls `callback` for each corner of the extent. If the
 * callback returns a truthy value the function returns that value
 * immediately. Otherwise the function returns `false`.
 * @param {Extent} extent Extent.
 * @param {function(import("./coordinate.js").Coordinate): S} callback Callback.
 * @return {S|boolean} Value.
 * @template S
 */
function forEachCorner(extent, callback) {
  let val;
  val = callback(getBottomLeft(extent));
  if (val) {
    return val;
  }
  val = callback(getBottomRight(extent));
  if (val) {
    return val;
  }
  val = callback(getTopRight(extent));
  if (val) {
    return val;
  }
  val = callback(getTopLeft(extent));
  if (val) {
    return val;
  }
  return false;
}

/**
 * Get the size of an extent.
 * @param {Extent} extent Extent.
 * @return {number} Area.
 * @api
 */
function getArea(extent) {
  let area = 0;
  if (!extent_isEmpty(extent)) {
    area = extent_getWidth(extent) * getHeight(extent);
  }
  return area;
}

/**
 * Get the bottom left coordinate of an extent.
 * @param {Extent} extent Extent.
 * @return {import("./coordinate.js").Coordinate} Bottom left coordinate.
 * @api
 */
function getBottomLeft(extent) {
  return [extent[0], extent[1]];
}

/**
 * Get the bottom right coordinate of an extent.
 * @param {Extent} extent Extent.
 * @return {import("./coordinate.js").Coordinate} Bottom right coordinate.
 * @api
 */
function getBottomRight(extent) {
  return [extent[2], extent[1]];
}

/**
 * Get the center coordinate of an extent.
 * @param {Extent} extent Extent.
 * @return {import("./coordinate.js").Coordinate} Center.
 * @api
 */
function getCenter(extent) {
  return [(extent[0] + extent[2]) / 2, (extent[1] + extent[3]) / 2];
}

/**
 * Get a corner coordinate of an extent.
 * @param {Extent} extent Extent.
 * @param {Corner} corner Corner.
 * @return {import("./coordinate.js").Coordinate} Corner coordinate.
 */
function getCorner(extent, corner) {
  let coordinate;
  if (corner === 'bottom-left') {
    coordinate = getBottomLeft(extent);
  } else if (corner === 'bottom-right') {
    coordinate = getBottomRight(extent);
  } else if (corner === 'top-left') {
    coordinate = getTopLeft(extent);
  } else if (corner === 'top-right') {
    coordinate = getTopRight(extent);
  } else {
    throw new Error('Invalid corner');
  }
  return coordinate;
}

/**
 * @param {Extent} extent1 Extent 1.
 * @param {Extent} extent2 Extent 2.
 * @return {number} Enlarged area.
 */
function getEnlargedArea(extent1, extent2) {
  const minX = Math.min(extent1[0], extent2[0]);
  const minY = Math.min(extent1[1], extent2[1]);
  const maxX = Math.max(extent1[2], extent2[2]);
  const maxY = Math.max(extent1[3], extent2[3]);
  return (maxX - minX) * (maxY - minY);
}

/**
 * @param {import("./coordinate.js").Coordinate} center Center.
 * @param {number} resolution Resolution.
 * @param {number} rotation Rotation.
 * @param {import("./size.js").Size} size Size.
 * @param {Extent} [dest] Destination extent.
 * @return {Extent} Extent.
 */
function getForViewAndSize(center, resolution, rotation, size, dest) {
  const [x0, y0, x1, y1, x2, y2, x3, y3] = getRotatedViewport(
    center,
    resolution,
    rotation,
    size,
  );
  return createOrUpdate(
    Math.min(x0, x1, x2, x3),
    Math.min(y0, y1, y2, y3),
    Math.max(x0, x1, x2, x3),
    Math.max(y0, y1, y2, y3),
    dest,
  );
}

/**
 * @param {import("./coordinate.js").Coordinate} center Center.
 * @param {number} resolution Resolution.
 * @param {number} rotation Rotation.
 * @param {import("./size.js").Size} size Size.
 * @return {Array<number>} Linear ring representing the viewport.
 */
function getRotatedViewport(center, resolution, rotation, size) {
  const dx = (resolution * size[0]) / 2;
  const dy = (resolution * size[1]) / 2;
  const cosRotation = Math.cos(rotation);
  const sinRotation = Math.sin(rotation);
  const xCos = dx * cosRotation;
  const xSin = dx * sinRotation;
  const yCos = dy * cosRotation;
  const ySin = dy * sinRotation;
  const x = center[0];
  const y = center[1];
  return [
    x - xCos + ySin,
    y - xSin - yCos,
    x - xCos - ySin,
    y - xSin + yCos,
    x + xCos - ySin,
    y + xSin + yCos,
    x + xCos + ySin,
    y + xSin - yCos,
    x - xCos + ySin,
    y - xSin - yCos,
  ];
}

/**
 * Get the height of an extent.
 * @param {Extent} extent Extent.
 * @return {number} Height.
 * @api
 */
function getHeight(extent) {
  return extent[3] - extent[1];
}

/**
 * @param {Extent} extent1 Extent 1.
 * @param {Extent} extent2 Extent 2.
 * @return {number} Intersection area.
 */
function getIntersectionArea(extent1, extent2) {
  const intersection = getIntersection(extent1, extent2);
  return getArea(intersection);
}

/**
 * Get the intersection of two extents.
 * @param {Extent} extent1 Extent 1.
 * @param {Extent} extent2 Extent 2.
 * @param {Extent} [dest] Optional extent to populate with intersection.
 * @return {Extent} Intersecting extent.
 * @api
 */
function getIntersection(extent1, extent2, dest) {
  const intersection = dest ? dest : createEmpty();
  if (intersects(extent1, extent2)) {
    if (extent1[0] > extent2[0]) {
      intersection[0] = extent1[0];
    } else {
      intersection[0] = extent2[0];
    }
    if (extent1[1] > extent2[1]) {
      intersection[1] = extent1[1];
    } else {
      intersection[1] = extent2[1];
    }
    if (extent1[2] < extent2[2]) {
      intersection[2] = extent1[2];
    } else {
      intersection[2] = extent2[2];
    }
    if (extent1[3] < extent2[3]) {
      intersection[3] = extent1[3];
    } else {
      intersection[3] = extent2[3];
    }
  } else {
    createOrUpdateEmpty(intersection);
  }
  return intersection;
}

/**
 * @param {Extent} extent Extent.
 * @return {number} Margin.
 */
function getMargin(extent) {
  return extent_getWidth(extent) + getHeight(extent);
}

/**
 * Get the size (width, height) of an extent.
 * @param {Extent} extent The extent.
 * @return {import("./size.js").Size} The extent size.
 * @api
 */
function getSize(extent) {
  return [extent[2] - extent[0], extent[3] - extent[1]];
}

/**
 * Get the top left coordinate of an extent.
 * @param {Extent} extent Extent.
 * @return {import("./coordinate.js").Coordinate} Top left coordinate.
 * @api
 */
function getTopLeft(extent) {
  return [extent[0], extent[3]];
}

/**
 * Get the top right coordinate of an extent.
 * @param {Extent} extent Extent.
 * @return {import("./coordinate.js").Coordinate} Top right coordinate.
 * @api
 */
function getTopRight(extent) {
  return [extent[2], extent[3]];
}

/**
 * Get the width of an extent.
 * @param {Extent} extent Extent.
 * @return {number} Width.
 * @api
 */
function extent_getWidth(extent) {
  return extent[2] - extent[0];
}

/**
 * Determine if one extent intersects another.
 * @param {Extent} extent1 Extent 1.
 * @param {Extent} extent2 Extent.
 * @return {boolean} The two extents intersect.
 * @api
 */
function intersects(extent1, extent2) {
  return (
    extent1[0] <= extent2[2] &&
    extent1[2] >= extent2[0] &&
    extent1[1] <= extent2[3] &&
    extent1[3] >= extent2[1]
  );
}

/**
 * Determine if an extent is empty.
 * @param {Extent} extent Extent.
 * @return {boolean} Is empty.
 * @api
 */
function extent_isEmpty(extent) {
  return extent[2] < extent[0] || extent[3] < extent[1];
}

/**
 * @param {Extent} extent Extent.
 * @param {Extent} [dest] Extent.
 * @return {Extent} Extent.
 */
function returnOrUpdate(extent, dest) {
  if (dest) {
    dest[0] = extent[0];
    dest[1] = extent[1];
    dest[2] = extent[2];
    dest[3] = extent[3];
    return dest;
  }
  return extent;
}

/**
 * @param {Extent} extent Extent.
 * @param {number} value Value.
 */
function scaleFromCenter(extent, value) {
  const deltaX = ((extent[2] - extent[0]) / 2) * (value - 1);
  const deltaY = ((extent[3] - extent[1]) / 2) * (value - 1);
  extent[0] -= deltaX;
  extent[2] += deltaX;
  extent[1] -= deltaY;
  extent[3] += deltaY;
}

/**
 * Determine if the segment between two coordinates intersects (crosses,
 * touches, or is contained by) the provided extent.
 * @param {Extent} extent The extent.
 * @param {import("./coordinate.js").Coordinate} start Segment start coordinate.
 * @param {import("./coordinate.js").Coordinate} end Segment end coordinate.
 * @return {boolean} The segment intersects the extent.
 */
function intersectsSegment(extent, start, end) {
  let intersects = false;
  const startRel = coordinateRelationship(extent, start);
  const endRel = coordinateRelationship(extent, end);
  if (
    startRel === Relationship.INTERSECTING ||
    endRel === Relationship.INTERSECTING
  ) {
    intersects = true;
  } else {
    const minX = extent[0];
    const minY = extent[1];
    const maxX = extent[2];
    const maxY = extent[3];
    const startX = start[0];
    const startY = start[1];
    const endX = end[0];
    const endY = end[1];
    const slope = (endY - startY) / (endX - startX);
    let x, y;
    if (!!(endRel & Relationship.ABOVE) && !(startRel & Relationship.ABOVE)) {
      // potentially intersects top
      x = endX - (endY - maxY) / slope;
      intersects = x >= minX && x <= maxX;
    }
    if (
      !intersects &&
      !!(endRel & Relationship.RIGHT) &&
      !(startRel & Relationship.RIGHT)
    ) {
      // potentially intersects right
      y = endY - (endX - maxX) * slope;
      intersects = y >= minY && y <= maxY;
    }
    if (
      !intersects &&
      !!(endRel & Relationship.BELOW) &&
      !(startRel & Relationship.BELOW)
    ) {
      // potentially intersects bottom
      x = endX - (endY - minY) / slope;
      intersects = x >= minX && x <= maxX;
    }
    if (
      !intersects &&
      !!(endRel & Relationship.LEFT) &&
      !(startRel & Relationship.LEFT)
    ) {
      // potentially intersects left
      y = endY - (endX - minX) * slope;
      intersects = y >= minY && y <= maxY;
    }
  }
  return intersects;
}

/**
 * Apply a transform function to the extent.
 * @param {Extent} extent Extent.
 * @param {import("./proj.js").TransformFunction} transformFn Transform function.
 * Called with `[minX, minY, maxX, maxY]` extent coordinates.
 * @param {Extent} [dest] Destination extent.
 * @param {number} [stops] Number of stops per side used for the transform.
 * By default only the corners are used.
 * @return {Extent} Extent.
 * @api
 */
function applyTransform(extent, transformFn, dest, stops) {
  if (extent_isEmpty(extent)) {
    return createOrUpdateEmpty(dest);
  }
  let coordinates = [];
  if (stops > 1) {
    const width = extent[2] - extent[0];
    const height = extent[3] - extent[1];
    for (let i = 0; i < stops; ++i) {
      coordinates.push(
        extent[0] + (width * i) / stops,
        extent[1],
        extent[2],
        extent[1] + (height * i) / stops,
        extent[2] - (width * i) / stops,
        extent[3],
        extent[0],
        extent[3] - (height * i) / stops,
      );
    }
  } else {
    coordinates = [
      extent[0],
      extent[1],
      extent[2],
      extent[1],
      extent[2],
      extent[3],
      extent[0],
      extent[3],
    ];
  }
  transformFn(coordinates, coordinates, 2);
  const xs = [];
  const ys = [];
  for (let i = 0, l = coordinates.length; i < l; i += 2) {
    xs.push(coordinates[i]);
    ys.push(coordinates[i + 1]);
  }
  return _boundingExtentXYs(xs, ys, dest);
}

/**
 * Modifies the provided extent in-place to be within the real world
 * extent.
 *
 * @param {Extent} extent Extent.
 * @param {import("./proj/Projection.js").default} projection Projection
 * @return {Extent} The extent within the real world extent.
 */
function wrapX(extent, projection) {
  const projectionExtent = projection.getExtent();
  const center = getCenter(extent);
  if (
    projection.canWrapX() &&
    (center[0] < projectionExtent[0] || center[0] >= projectionExtent[2])
  ) {
    const worldWidth = extent_getWidth(projectionExtent);
    const worldsAway = Math.floor(
      (center[0] - projectionExtent[0]) / worldWidth,
    );
    const offset = worldsAway * worldWidth;
    extent[0] -= offset;
    extent[2] -= offset;
  }
  return extent;
}

/**
 * Fits the extent to the real world
 *
 * If the extent does not cross the anti meridian, this will return the extent in an array
 * If the extent crosses the anti meridian, the extent will be sliced, so each part fits within the
 * real world
 *
 *
 * @param {Extent} extent Extent.
 * @param {import("./proj/Projection.js").default} projection Projection
 * @param {boolean} [multiWorld] Return all worlds
 * @return {Array<Extent>} The extent within the real world extent.
 */
function wrapAndSliceX(extent, projection, multiWorld) {
  if (projection.canWrapX()) {
    const projectionExtent = projection.getExtent();

    if (!isFinite(extent[0]) || !isFinite(extent[2])) {
      return [[projectionExtent[0], extent[1], projectionExtent[2], extent[3]]];
    }

    wrapX(extent, projection);
    const worldWidth = extent_getWidth(projectionExtent);

    if (extent_getWidth(extent) > worldWidth && !multiWorld) {
      // the extent wraps around on itself
      return [[projectionExtent[0], extent[1], projectionExtent[2], extent[3]]];
    }
    if (extent[0] < projectionExtent[0]) {
      // the extent crosses the anti meridian, so it needs to be sliced
      return [
        [extent[0] + worldWidth, extent[1], projectionExtent[2], extent[3]],
        [projectionExtent[0], extent[1], extent[2], extent[3]],
      ];
    }
    if (extent[2] > projectionExtent[2]) {
      // the extent crosses the anti meridian, so it needs to be sliced
      return [
        [extent[0], extent[1], projectionExtent[2], extent[3]],
        [projectionExtent[0], extent[1], extent[2] - worldWidth, extent[3]],
      ];
    }
  }

  return [extent];
}

;// CONCATENATED MODULE: ./node_modules/ol/coordinate.js
/**
 * @module ol/coordinate
 */




/**
 * An array of numbers representing an `xy`, `xyz` or `xyzm` coordinate.
 * Example: `[16, 48]`.
 * @typedef {Array<number>} Coordinate
 * @api
 */

/**
 * A function that takes a {@link module:ol/coordinate~Coordinate} and
 * transforms it into a `{string}`.
 *
 * @typedef {function((Coordinate|undefined)): string} CoordinateFormat
 * @api
 */

/**
 * Add `delta` to `coordinate`. `coordinate` is modified in place and returned
 * by the function.
 *
 * Example:
 *
 *     import {add} from 'ol/coordinate.js';
 *
 *     const coord = [7.85, 47.983333];
 *     add(coord, [-2, 4]);
 *     // coord is now [5.85, 51.983333]
 *
 * @param {Coordinate} coordinate Coordinate.
 * @param {Coordinate} delta Delta.
 * @return {Coordinate} The input coordinate adjusted by
 * the given delta.
 * @api
 */
function add(coordinate, delta) {
  coordinate[0] += +delta[0];
  coordinate[1] += +delta[1];
  return coordinate;
}

/**
 * Calculates the point closest to the passed coordinate on the passed circle.
 *
 * @param {Coordinate} coordinate The coordinate.
 * @param {import("./geom/Circle.js").default} circle The circle.
 * @return {Coordinate} Closest point on the circumference.
 */
function closestOnCircle(coordinate, circle) {
  const r = circle.getRadius();
  const center = circle.getCenter();
  const x0 = center[0];
  const y0 = center[1];
  const x1 = coordinate[0];
  const y1 = coordinate[1];

  let dx = x1 - x0;
  const dy = y1 - y0;
  if (dx === 0 && dy === 0) {
    dx = 1;
  }
  const d = Math.sqrt(dx * dx + dy * dy);

  const x = x0 + (r * dx) / d;
  const y = y0 + (r * dy) / d;

  return [x, y];
}

/**
 * Calculates the point closest to the passed coordinate on the passed segment.
 * This is the foot of the perpendicular of the coordinate to the segment when
 * the foot is on the segment, or the closest segment coordinate when the foot
 * is outside the segment.
 *
 * @param {Coordinate} coordinate The coordinate.
 * @param {Array<Coordinate>} segment The two coordinates
 * of the segment.
 * @return {Coordinate} The foot of the perpendicular of
 * the coordinate to the segment.
 */
function closestOnSegment(coordinate, segment) {
  const x0 = coordinate[0];
  const y0 = coordinate[1];
  const start = segment[0];
  const end = segment[1];
  const x1 = start[0];
  const y1 = start[1];
  const x2 = end[0];
  const y2 = end[1];
  const dx = x2 - x1;
  const dy = y2 - y1;
  const along =
    dx === 0 && dy === 0
      ? 0
      : (dx * (x0 - x1) + dy * (y0 - y1)) / (dx * dx + dy * dy || 0);
  let x, y;
  if (along <= 0) {
    x = x1;
    y = y1;
  } else if (along >= 1) {
    x = x2;
    y = y2;
  } else {
    x = x1 + along * dx;
    y = y1 + along * dy;
  }
  return [x, y];
}

/**
 * Returns a {@link module:ol/coordinate~CoordinateFormat} function that can be
 * used to format
 * a {Coordinate} to a string.
 *
 * Example without specifying the fractional digits:
 *
 *     import {createStringXY} from 'ol/coordinate.js';
 *
 *     const coord = [7.85, 47.983333];
 *     const stringifyFunc = createStringXY();
 *     const out = stringifyFunc(coord);
 *     // out is now '8, 48'
 *
 * Example with explicitly specifying 2 fractional digits:
 *
 *     import {createStringXY} from 'ol/coordinate.js';
 *
 *     const coord = [7.85, 47.983333];
 *     const stringifyFunc = createStringXY(2);
 *     const out = stringifyFunc(coord);
 *     // out is now '7.85, 47.98'
 *
 * @param {number} [fractionDigits] The number of digits to include
 *    after the decimal point. Default is `0`.
 * @return {CoordinateFormat} Coordinate format.
 * @api
 */
function createStringXY(fractionDigits) {
  return (
    /**
     * @param {Coordinate} coordinate Coordinate.
     * @return {string} String XY.
     */
    function (coordinate) {
      return toStringXY(coordinate, fractionDigits);
    }
  );
}

/**
 * @param {string} hemispheres Hemispheres.
 * @param {number} degrees Degrees.
 * @param {number} [fractionDigits] The number of digits to include
 *    after the decimal point. Default is `0`.
 * @return {string} String.
 */
function degreesToStringHDMS(hemispheres, degrees, fractionDigits) {
  const normalizedDegrees = modulo(degrees + 180, 360) - 180;
  const x = Math.abs(3600 * normalizedDegrees);
  const decimals = fractionDigits || 0;

  let deg = Math.floor(x / 3600);
  let min = Math.floor((x - deg * 3600) / 60);
  let sec = toFixed(x - deg * 3600 - min * 60, decimals);

  if (sec >= 60) {
    sec = 0;
    min += 1;
  }

  if (min >= 60) {
    min = 0;
    deg += 1;
  }

  let hdms = deg + '\u00b0';
  if (min !== 0 || sec !== 0) {
    hdms += ' ' + padNumber(min, 2) + '\u2032';
  }
  if (sec !== 0) {
    hdms += ' ' + padNumber(sec, 2, decimals) + '\u2033';
  }
  if (normalizedDegrees !== 0) {
    hdms += ' ' + hemispheres.charAt(normalizedDegrees < 0 ? 1 : 0);
  }

  return hdms;
}

/**
 * Transforms the given {@link module:ol/coordinate~Coordinate} to a string
 * using the given string template. The strings `{x}` and `{y}` in the template
 * will be replaced with the first and second coordinate values respectively.
 *
 * Example without specifying the fractional digits:
 *
 *     import {format} from 'ol/coordinate.js';
 *
 *     const coord = [7.85, 47.983333];
 *     const template = 'Coordinate is ({x}|{y}).';
 *     const out = format(coord, template);
 *     // out is now 'Coordinate is (8|48).'
 *
 * Example explicitly specifying the fractional digits:
 *
 *     import {format} from 'ol/coordinate.js';
 *
 *     const coord = [7.85, 47.983333];
 *     const template = 'Coordinate is ({x}|{y}).';
 *     const out = format(coord, template, 2);
 *     // out is now 'Coordinate is (7.85|47.98).'
 *
 * @param {Coordinate} coordinate Coordinate.
 * @param {string} template A template string with `{x}` and `{y}` placeholders
 *     that will be replaced by first and second coordinate values.
 * @param {number} [fractionDigits] The number of digits to include
 *    after the decimal point. Default is `0`.
 * @return {string} Formatted coordinate.
 * @api
 */
function format(coordinate, template, fractionDigits) {
  if (coordinate) {
    return template
      .replace('{x}', coordinate[0].toFixed(fractionDigits))
      .replace('{y}', coordinate[1].toFixed(fractionDigits));
  }
  return '';
}

/**
 * @param {Coordinate} coordinate1 First coordinate.
 * @param {Coordinate} coordinate2 Second coordinate.
 * @return {boolean} The two coordinates are equal.
 */
function coordinate_equals(coordinate1, coordinate2) {
  let equals = true;
  for (let i = coordinate1.length - 1; i >= 0; --i) {
    if (coordinate1[i] != coordinate2[i]) {
      equals = false;
      break;
    }
  }
  return equals;
}

/**
 * Rotate `coordinate` by `angle`. `coordinate` is modified in place and
 * returned by the function.
 *
 * Example:
 *
 *     import {rotate} from 'ol/coordinate.js';
 *
 *     const coord = [7.85, 47.983333];
 *     const rotateRadians = Math.PI / 2; // 90 degrees
 *     rotate(coord, rotateRadians);
 *     // coord is now [-47.983333, 7.85]
 *
 * @param {Coordinate} coordinate Coordinate.
 * @param {number} angle Angle in radian.
 * @return {Coordinate} Coordinate.
 * @api
 */
function rotate(coordinate, angle) {
  const cosAngle = Math.cos(angle);
  const sinAngle = Math.sin(angle);
  const x = coordinate[0] * cosAngle - coordinate[1] * sinAngle;
  const y = coordinate[1] * cosAngle + coordinate[0] * sinAngle;
  coordinate[0] = x;
  coordinate[1] = y;
  return coordinate;
}

/**
 * Scale `coordinate` by `scale`. `coordinate` is modified in place and returned
 * by the function.
 *
 * Example:
 *
 *     import {scale as scaleCoordinate} from 'ol/coordinate.js';
 *
 *     const coord = [7.85, 47.983333];
 *     const scale = 1.2;
 *     scaleCoordinate(coord, scale);
 *     // coord is now [9.42, 57.5799996]
 *
 * @param {Coordinate} coordinate Coordinate.
 * @param {number} scale Scale factor.
 * @return {Coordinate} Coordinate.
 */
function coordinate_scale(coordinate, scale) {
  coordinate[0] *= scale;
  coordinate[1] *= scale;
  return coordinate;
}

/**
 * @param {Coordinate} coord1 First coordinate.
 * @param {Coordinate} coord2 Second coordinate.
 * @return {number} Squared distance between coord1 and coord2.
 */
function coordinate_squaredDistance(coord1, coord2) {
  const dx = coord1[0] - coord2[0];
  const dy = coord1[1] - coord2[1];
  return dx * dx + dy * dy;
}

/**
 * @param {Coordinate} coord1 First coordinate.
 * @param {Coordinate} coord2 Second coordinate.
 * @return {number} Distance between coord1 and coord2.
 */
function distance(coord1, coord2) {
  return Math.sqrt(coordinate_squaredDistance(coord1, coord2));
}

/**
 * Calculate the squared distance from a coordinate to a line segment.
 *
 * @param {Coordinate} coordinate Coordinate of the point.
 * @param {Array<Coordinate>} segment Line segment (2
 * coordinates).
 * @return {number} Squared distance from the point to the line segment.
 */
function squaredDistanceToSegment(coordinate, segment) {
  return coordinate_squaredDistance(coordinate, closestOnSegment(coordinate, segment));
}

/**
 * Format a geographic coordinate with the hemisphere, degrees, minutes, and
 * seconds.
 *
 * Example without specifying fractional digits:
 *
 *     import {toStringHDMS} from 'ol/coordinate.js';
 *
 *     const coord = [7.85, 47.983333];
 *     const out = toStringHDMS(coord);
 *     // out is now '47° 58′ 60″ N 7° 50′ 60″ E'
 *
 * Example explicitly specifying 1 fractional digit:
 *
 *     import {toStringHDMS} from 'ol/coordinate.js';
 *
 *     const coord = [7.85, 47.983333];
 *     const out = toStringHDMS(coord, 1);
 *     // out is now '47° 58′ 60.0″ N 7° 50′ 60.0″ E'
 *
 * @param {Coordinate} coordinate Coordinate.
 * @param {number} [fractionDigits] The number of digits to include
 *    after the decimal point. Default is `0`.
 * @return {string} Hemisphere, degrees, minutes and seconds.
 * @api
 */
function toStringHDMS(coordinate, fractionDigits) {
  if (coordinate) {
    return (
      degreesToStringHDMS('NS', coordinate[1], fractionDigits) +
      ' ' +
      degreesToStringHDMS('EW', coordinate[0], fractionDigits)
    );
  }
  return '';
}

/**
 * Format a coordinate as a comma delimited string.
 *
 * Example without specifying fractional digits:
 *
 *     import {toStringXY} from 'ol/coordinate.js';
 *
 *     const coord = [7.85, 47.983333];
 *     const out = toStringXY(coord);
 *     // out is now '8, 48'
 *
 * Example explicitly specifying 1 fractional digit:
 *
 *     import {toStringXY} from 'ol/coordinate.js';
 *
 *     const coord = [7.85, 47.983333];
 *     const out = toStringXY(coord, 1);
 *     // out is now '7.8, 48.0'
 *
 * @param {Coordinate} coordinate Coordinate.
 * @param {number} [fractionDigits] The number of digits to include
 *    after the decimal point. Default is `0`.
 * @return {string} XY.
 * @api
 */
function toStringXY(coordinate, fractionDigits) {
  return format(coordinate, '{x}, {y}', fractionDigits);
}

/**
 * Modifies the provided coordinate in-place to be within the real world
 * extent. The lower projection extent boundary is inclusive, the upper one
 * exclusive.
 *
 * @param {Coordinate} coordinate Coordinate.
 * @param {import("./proj/Projection.js").default} projection Projection.
 * @return {Coordinate} The coordinate within the real world extent.
 */
function coordinate_wrapX(coordinate, projection) {
  if (projection.canWrapX()) {
    const worldWidth = extent_getWidth(projection.getExtent());
    const worldsAway = coordinate_getWorldsAway(coordinate, projection, worldWidth);
    if (worldsAway) {
      coordinate[0] -= worldsAway * worldWidth;
    }
  }
  return coordinate;
}
/**
 * @param {Coordinate} coordinate Coordinate.
 * @param {import("./proj/Projection.js").default} projection Projection.
 * @param {number} [sourceExtentWidth] Width of the source extent.
 * @return {number} Offset in world widths.
 */
function coordinate_getWorldsAway(coordinate, projection, sourceExtentWidth) {
  const projectionExtent = projection.getExtent();
  let worldsAway = 0;
  if (
    projection.canWrapX() &&
    (coordinate[0] < projectionExtent[0] || coordinate[0] > projectionExtent[2])
  ) {
    sourceExtentWidth = sourceExtentWidth || extent_getWidth(projectionExtent);
    worldsAway = Math.floor(
      (coordinate[0] - projectionExtent[0]) / sourceExtentWidth,
    );
  }
  return worldsAway;
}

;// CONCATENATED MODULE: ./node_modules/ol/easing.js
/**
 * @module ol/easing
 */

/**
 * Start slow and speed up.
 * @param {number} t Input between 0 and 1.
 * @return {number} Output between 0 and 1.
 * @api
 */
function easeIn(t) {
  return Math.pow(t, 3);
}

/**
 * Start fast and slow down.
 * @param {number} t Input between 0 and 1.
 * @return {number} Output between 0 and 1.
 * @api
 */
function easeOut(t) {
  return 1 - easeIn(1 - t);
}

/**
 * Start slow, speed up, and then slow down again.
 * @param {number} t Input between 0 and 1.
 * @return {number} Output between 0 and 1.
 * @api
 */
function inAndOut(t) {
  return 3 * t * t - 2 * t * t * t;
}

/**
 * Maintain a constant speed over time.
 * @param {number} t Input between 0 and 1.
 * @return {number} Output between 0 and 1.
 * @api
 */
function linear(t) {
  return t;
}

/**
 * Start slow, speed up, and at the very end slow down again.  This has the
 * same general behavior as {@link module:ol/easing.inAndOut}, but the final
 * slowdown is delayed.
 * @param {number} t Input between 0 and 1.
 * @return {number} Output between 0 and 1.
 * @api
 */
function upAndDown(t) {
  if (t < 0.5) {
    return inAndOut(2 * t);
  }
  return 1 - inAndOut(2 * (t - 0.5));
}

;// CONCATENATED MODULE: ./node_modules/ol/console.js
/**
 * @module ol/console
 */

/**
 * @typedef {'info'|'warn'|'error'|'none'} Level
 */

/**
 * @type {Object<Level, number>}
 */
const levels = {
  info: 1,
  warn: 2,
  error: 3,
  none: 4,
};

/**
 * @type {number}
 */
let level = levels.info;

/**
 * Set the logging level.  By default, the level is set to 'info' and all
 * messages will be logged.  Set to 'warn' to only display warnings and errors.
 * Set to 'error' to only display errors.  Set to 'none' to silence all messages.
 *
 * @param {Level} l The new level.
 */
function setLevel(l) {
  level = levels[l];
}

/**
 * @param  {...any} args Arguments to log
 */
function log(...args) {
  if (level > levels.info) {
    return;
  }
  console.log(...args); // eslint-disable-line no-console
}

/**
 * @param  {...any} args Arguments to log
 */
function warn(...args) {
  if (level > levels.warn) {
    return;
  }
  console.warn(...args); // eslint-disable-line no-console
}

/**
 * @param  {...any} args Arguments to log
 */
function error(...args) {
  if (level > levels.error) {
    return;
  }
  console.error(...args); // eslint-disable-line no-console
}

;// CONCATENATED MODULE: ./node_modules/ol/proj/Units.js
/**
 * @module ol/proj/Units
 */

/**
 * @typedef {'radians' | 'degrees' | 'ft' | 'm' | 'pixels' | 'tile-pixels' | 'us-ft'} Units
 * Projection units.
 */

/**
 * See http://duff.ess.washington.edu/data/raster/drg/docs/geotiff.txt
 * @type {Object<number, Units>}
 */
const unitByCode = {
  '9001': 'm',
  '9002': 'ft',
  '9003': 'us-ft',
  '9101': 'radians',
  '9102': 'degrees',
};

/**
 * @param {number} code Unit code.
 * @return {Units} Units.
 */
function fromCode(code) {
  return unitByCode[code];
}

/**
 * @typedef {Object} MetersPerUnitLookup
 * @property {number} radians Radians
 * @property {number} degrees Degrees
 * @property {number} ft  Feet
 * @property {number} m Meters
 * @property {number} us-ft US feet
 */

/**
 * Meters per unit lookup table.
 * @const
 * @type {MetersPerUnitLookup}
 * @api
 */
const METERS_PER_UNIT = {
  // use the radius of the Normal sphere
  'radians': 6370997 / (2 * Math.PI),
  'degrees': (2 * Math.PI * 6370997) / 360,
  'ft': 0.3048,
  'm': 1,
  'us-ft': 1200 / 3937,
};

;// CONCATENATED MODULE: ./node_modules/ol/proj/Projection.js
/**
 * @module ol/proj/Projection
 */


/**
 * The function is called with a `number` view resolution and a
 * {@link module:ol/coordinate~Coordinate} as arguments, and returns the `number` resolution
 * in projection units at the passed coordinate.
 * @typedef {function(number, import("../coordinate.js").Coordinate):number} GetPointResolution
 * @api
 */

/**
 * @typedef {Object} Options
 * @property {string} code The SRS identifier code, e.g. `EPSG:4326`.
 * @property {import("./Units.js").Units} [units] Units. Required unless a
 * proj4 projection is defined for `code`.
 * @property {import("../extent.js").Extent} [extent] The validity extent for the SRS.
 * @property {string} [axisOrientation='enu'] The axis orientation as specified in Proj4.
 * @property {boolean} [global=false] Whether the projection is valid for the whole globe.
 * @property {number} [metersPerUnit] The meters per unit for the SRS.
 * If not provided, the `units` are used to get the meters per unit from the {@link METERS_PER_UNIT}
 * lookup table.
 * @property {import("../extent.js").Extent} [worldExtent] The world extent for the SRS.
 * @property {GetPointResolution} [getPointResolution]
 * Function to determine resolution at a point. The function is called with a
 * `number` view resolution and a {@link module:ol/coordinate~Coordinate} as arguments, and returns
 * the `number` resolution in projection units at the passed coordinate. If this is `undefined`,
 * the default {@link module:ol/proj.getPointResolution} function will be used.
 */

/**
 * @classdesc
 * In most cases, you should not need to create instances of this class.
 * Instead, where projection information is required, you can use a string
 * projection code or identifier (e.g. `EPSG:4326`) instead of a projection
 * instance.
 *
 * The library includes support for transforming coordinates between the following
 * projections:
 *
 *  WGS 84 / Geographic - Using codes `EPSG:4326`, `CRS:84`, `urn:ogc:def:crs:EPSG:6.6:4326`,
 *    `urn:ogc:def:crs:OGC:1.3:CRS84`, `urn:ogc:def:crs:OGC:2:84`, `http://www.opengis.net/gml/srs/epsg.xml#4326`,
 *    or `urn:x-ogc:def:crs:EPSG:4326`
 *  WGS 84 / Spherical Mercator - Using codes `EPSG:3857`, `EPSG:102100`, `EPSG:102113`, `EPSG:900913`,
 *    `urn:ogc:def:crs:EPSG:6.18:3:3857`, or `http://www.opengis.net/gml/srs/epsg.xml#3857`
 *  WGS 84 / UTM zones - Using codes `EPSG:32601` through `EPSG:32660` for northern zones
 *    and `EPSG:32701` through `EPSG:32760` for southern zones. Note that the built-in UTM transforms
 *    are lower accuracy (with errors on the order of 0.1 m) than those that you might get in a
 *    library like [proj4js](https://github.com/proj4js/proj4js).
 *
 * For additional projection support, or to use higher accuracy transforms than the built-in ones, you can use
 * the [proj4js](https://github.com/proj4js/proj4js) library. With `proj4js`, after adding any new projection
 * definitions, call the {@link module:ol/proj/proj4.register} function.
 *
 * You can use the {@link module:ol/proj.get} function to retrieve a projection instance
 * for one of the registered projections.
 *
 * @api
 */
class Projection {
  /**
   * @param {Options} options Projection options.
   */
  constructor(options) {
    /**
     * @private
     * @type {string}
     */
    this.code_ = options.code;

    /**
     * Units of projected coordinates. When set to `TILE_PIXELS`, a
     * `this.extent_` and `this.worldExtent_` must be configured properly for each
     * tile.
     * @private
     * @type {import("./Units.js").Units}
     */
    this.units_ = /** @type {import("./Units.js").Units} */ (options.units);

    /**
     * Validity extent of the projection in projected coordinates. For projections
     * with `TILE_PIXELS` units, this is the extent of the tile in
     * tile pixel space.
     * @private
     * @type {import("../extent.js").Extent}
     */
    this.extent_ = options.extent !== undefined ? options.extent : null;

    /**
     * Extent of the world in EPSG:4326. For projections with
     * `TILE_PIXELS` units, this is the extent of the tile in
     * projected coordinate space.
     * @private
     * @type {import("../extent.js").Extent}
     */
    this.worldExtent_ =
      options.worldExtent !== undefined ? options.worldExtent : null;

    /**
     * @private
     * @type {string}
     */
    this.axisOrientation_ =
      options.axisOrientation !== undefined ? options.axisOrientation : 'enu';

    /**
     * @private
     * @type {boolean}
     */
    this.global_ = options.global !== undefined ? options.global : false;

    /**
     * @private
     * @type {boolean}
     */
    this.canWrapX_ = !!(this.global_ && this.extent_);

    /**
     * @private
     * @type {GetPointResolution|undefined}
     */
    this.getPointResolutionFunc_ = options.getPointResolution;

    /**
     * @private
     * @type {import("../tilegrid/TileGrid.js").default}
     */
    this.defaultTileGrid_ = null;

    /**
     * @private
     * @type {number|undefined}
     */
    this.metersPerUnit_ = options.metersPerUnit;
  }

  /**
   * @return {boolean} The projection is suitable for wrapping the x-axis
   */
  canWrapX() {
    return this.canWrapX_;
  }

  /**
   * Get the code for this projection, e.g. 'EPSG:4326'.
   * @return {string} Code.
   * @api
   */
  getCode() {
    return this.code_;
  }

  /**
   * Get the validity extent for this projection.
   * @return {import("../extent.js").Extent} Extent.
   * @api
   */
  getExtent() {
    return this.extent_;
  }

  /**
   * Get the units of this projection.
   * @return {import("./Units.js").Units} Units.
   * @api
   */
  getUnits() {
    return this.units_;
  }

  /**
   * Get the amount of meters per unit of this projection.  If the projection is
   * not configured with `metersPerUnit` or a units identifier, the return is
   * `undefined`.
   * @return {number|undefined} Meters.
   * @api
   */
  getMetersPerUnit() {
    return this.metersPerUnit_ || METERS_PER_UNIT[this.units_];
  }

  /**
   * Get the world extent for this projection.
   * @return {import("../extent.js").Extent} Extent.
   * @api
   */
  getWorldExtent() {
    return this.worldExtent_;
  }

  /**
   * Get the axis orientation of this projection.
   * Example values are:
   * enu - the default easting, northing, elevation.
   * neu - northing, easting, up - useful for "lat/long" geographic coordinates,
   *     or south orientated transverse mercator.
   * wnu - westing, northing, up - some planetary coordinate systems have
   *     "west positive" coordinate systems
   * @return {string} Axis orientation.
   * @api
   */
  getAxisOrientation() {
    return this.axisOrientation_;
  }

  /**
   * Is this projection a global projection which spans the whole world?
   * @return {boolean} Whether the projection is global.
   * @api
   */
  isGlobal() {
    return this.global_;
  }

  /**
   * Set if the projection is a global projection which spans the whole world
   * @param {boolean} global Whether the projection is global.
   * @api
   */
  setGlobal(global) {
    this.global_ = global;
    this.canWrapX_ = !!(global && this.extent_);
  }

  /**
   * @return {import("../tilegrid/TileGrid.js").default} The default tile grid.
   */
  getDefaultTileGrid() {
    return this.defaultTileGrid_;
  }

  /**
   * @param {import("../tilegrid/TileGrid.js").default} tileGrid The default tile grid.
   */
  setDefaultTileGrid(tileGrid) {
    this.defaultTileGrid_ = tileGrid;
  }

  /**
   * Set the validity extent for this projection.
   * @param {import("../extent.js").Extent} extent Extent.
   * @api
   */
  setExtent(extent) {
    this.extent_ = extent;
    this.canWrapX_ = !!(this.global_ && extent);
  }

  /**
   * Set the world extent for this projection.
   * @param {import("../extent.js").Extent} worldExtent World extent
   *     [minlon, minlat, maxlon, maxlat].
   * @api
   */
  setWorldExtent(worldExtent) {
    this.worldExtent_ = worldExtent;
  }

  /**
   * Set the getPointResolution function (see {@link module:ol/proj.getPointResolution}
   * for this projection.
   * @param {function(number, import("../coordinate.js").Coordinate):number} func Function
   * @api
   */
  setGetPointResolution(func) {
    this.getPointResolutionFunc_ = func;
  }

  /**
   * Get the custom point resolution function for this projection (if set).
   * @return {GetPointResolution|undefined} The custom point
   * resolution function (if set).
   */
  getPointResolutionFunc() {
    return this.getPointResolutionFunc_;
  }
}

/* harmony default export */ const proj_Projection = (Projection);

;// CONCATENATED MODULE: ./node_modules/ol/proj/epsg3857.js
/**
 * @module ol/proj/epsg3857
 */


/**
 * Radius of WGS84 sphere
 *
 * @const
 * @type {number}
 */
const RADIUS = 6378137;

/**
 * @const
 * @type {number}
 */
const HALF_SIZE = Math.PI * RADIUS;

/**
 * @const
 * @type {import("../extent.js").Extent}
 */
const EXTENT = [-HALF_SIZE, -HALF_SIZE, HALF_SIZE, HALF_SIZE];

/**
 * @const
 * @type {import("../extent.js").Extent}
 */
const WORLD_EXTENT = [-180, -85, 180, 85];

/**
 * Maximum safe value in y direction
 * @const
 * @type {number}
 */
const MAX_SAFE_Y = RADIUS * Math.log(Math.tan(Math.PI / 2));

/**
 * @classdesc
 * Projection object for web/spherical Mercator (EPSG:3857).
 */
class EPSG3857Projection extends proj_Projection {
  /**
   * @param {string} code Code.
   */
  constructor(code) {
    super({
      code: code,
      units: 'm',
      extent: EXTENT,
      global: true,
      worldExtent: WORLD_EXTENT,
      getPointResolution: function (resolution, point) {
        return resolution / Math.cosh(point[1] / RADIUS);
      },
    });
  }
}

/**
 * Projections equal to EPSG:3857.
 *
 * @const
 * @type {Array<import("./Projection.js").default>}
 */
const PROJECTIONS = [
  new EPSG3857Projection('EPSG:3857'),
  new EPSG3857Projection('EPSG:102100'),
  new EPSG3857Projection('EPSG:102113'),
  new EPSG3857Projection('EPSG:900913'),
  new EPSG3857Projection('http://www.opengis.net/def/crs/EPSG/0/3857'),
  new EPSG3857Projection('http://www.opengis.net/gml/srs/epsg.xml#3857'),
];

/**
 * Transformation from EPSG:4326 to EPSG:3857.
 *
 * @param {Array<number>} input Input array of coordinate values.
 * @param {Array<number>} [output] Output array of coordinate values.
 * @param {number} [dimension] Dimension (default is `2`).
 * @param {number} [stride] Stride (default is `dimension`).
 * @return {Array<number>} Output array of coordinate values.
 */
function fromEPSG4326(input, output, dimension, stride) {
  const length = input.length;
  dimension = dimension > 1 ? dimension : 2;
  stride = stride ?? dimension;
  if (output === undefined) {
    if (dimension > 2) {
      // preserve values beyond second dimension
      output = input.slice();
    } else {
      output = new Array(length);
    }
  }
  for (let i = 0; i < length; i += stride) {
    output[i] = (HALF_SIZE * input[i]) / 180;
    let y = RADIUS * Math.log(Math.tan((Math.PI * (+input[i + 1] + 90)) / 360));
    if (y > MAX_SAFE_Y) {
      y = MAX_SAFE_Y;
    } else if (y < -MAX_SAFE_Y) {
      y = -MAX_SAFE_Y;
    }
    output[i + 1] = y;
  }
  return output;
}

/**
 * Transformation from EPSG:3857 to EPSG:4326.
 *
 * @param {Array<number>} input Input array of coordinate values.
 * @param {Array<number>} [output] Output array of coordinate values.
 * @param {number} [dimension] Dimension (default is `2`).
 * @param {number} [stride] Stride (default is `dimension`).
 * @return {Array<number>} Output array of coordinate values.
 */
function toEPSG4326(input, output, dimension, stride) {
  const length = input.length;
  dimension = dimension > 1 ? dimension : 2;
  stride = stride ?? dimension;
  if (output === undefined) {
    if (dimension > 2) {
      // preserve values beyond second dimension
      output = input.slice();
    } else {
      output = new Array(length);
    }
  }
  for (let i = 0; i < length; i += stride) {
    output[i] = (180 * input[i]) / HALF_SIZE;
    output[i + 1] =
      (360 * Math.atan(Math.exp(input[i + 1] / RADIUS))) / Math.PI - 90;
  }
  return output;
}

;// CONCATENATED MODULE: ./node_modules/ol/proj/epsg4326.js
/**
 * @module ol/proj/epsg4326
 */


/**
 * Semi-major radius of the WGS84 ellipsoid.
 *
 * @const
 * @type {number}
 */
const epsg4326_RADIUS = 6378137;

/**
 * Extent of the EPSG:4326 projection which is the whole world.
 *
 * @const
 * @type {import("../extent.js").Extent}
 */
const epsg4326_EXTENT = [-180, -90, 180, 90];

/**
 * @const
 * @type {number}
 */
const epsg4326_METERS_PER_UNIT = (Math.PI * epsg4326_RADIUS) / 180;

/**
 * @classdesc
 * Projection object for WGS84 geographic coordinates (EPSG:4326).
 *
 * Note that OpenLayers does not strictly comply with the EPSG definition.
 * The EPSG registry defines 4326 as a CRS for Latitude,Longitude (y,x).
 * OpenLayers treats EPSG:4326 as a pseudo-projection, with x,y coordinates.
 */
class EPSG4326Projection extends proj_Projection {
  /**
   * @param {string} code Code.
   * @param {string} [axisOrientation] Axis orientation.
   */
  constructor(code, axisOrientation) {
    super({
      code: code,
      units: 'degrees',
      extent: epsg4326_EXTENT,
      axisOrientation: axisOrientation,
      global: true,
      metersPerUnit: epsg4326_METERS_PER_UNIT,
      worldExtent: epsg4326_EXTENT,
    });
  }
}

/**
 * Projections equal to EPSG:4326.
 *
 * @const
 * @type {Array<import("./Projection.js").default>}
 */
const epsg4326_PROJECTIONS = [
  new EPSG4326Projection('CRS:84'),
  new EPSG4326Projection('EPSG:4326', 'neu'),
  new EPSG4326Projection('urn:ogc:def:crs:OGC:1.3:CRS84'),
  new EPSG4326Projection('urn:ogc:def:crs:OGC:2:84'),
  new EPSG4326Projection('http://www.opengis.net/def/crs/OGC/1.3/CRS84'),
  new EPSG4326Projection('http://www.opengis.net/gml/srs/epsg.xml#4326', 'neu'),
  new EPSG4326Projection('http://www.opengis.net/def/crs/EPSG/0/4326', 'neu'),
];

;// CONCATENATED MODULE: ./node_modules/ol/proj/projections.js
/**
 * @module ol/proj/projections
 */

/**
 * @type {Object<string, import("./Projection.js").default>}
 */
let cache = {};

/**
 * Clear the projections cache.
 */
function projections_clear() {
  cache = {};
}

/**
 * Get a cached projection by code.
 * @param {string} code The code for the projection.
 * @return {import("./Projection.js").default|null} The projection (if cached).
 */
function get(code) {
  return (
    cache[code] ||
    cache[code.replace(/urn:(x-)?ogc:def:crs:EPSG:(.*:)?(\w+)$/, 'EPSG:$3')] ||
    null
  );
}

/**
 * Add a projection to the cache.
 * @param {string} code The projection code.
 * @param {import("./Projection.js").default} projection The projection to cache.
 */
function projections_add(code, projection) {
  cache[code] = projection;
}

;// CONCATENATED MODULE: ./node_modules/ol/proj/transforms.js
/**
 * @module ol/proj/transforms
 */


/**
 * @private
 * @type {!Object<string, Object<string, import("../proj.js").TransformFunction>>}
 */
let transforms = {};

/**
 * Clear the transform cache.
 */
function transforms_clear() {
  transforms = {};
}

/**
 * Registers a conversion function to convert coordinates from the source
 * projection to the destination projection.
 *
 * @param {import("./Projection.js").default} source Source.
 * @param {import("./Projection.js").default} destination Destination.
 * @param {import("../proj.js").TransformFunction} transformFn Transform.
 */
function transforms_add(source, destination, transformFn) {
  const sourceCode = source.getCode();
  const destinationCode = destination.getCode();
  if (!(sourceCode in transforms)) {
    transforms[sourceCode] = {};
  }
  transforms[sourceCode][destinationCode] = transformFn;
}

/**
 * Unregisters the conversion function to convert coordinates from the source
 * projection to the destination projection.  This method is used to clean up
 * cached transforms during testing.
 *
 * @param {import("./Projection.js").default} source Source projection.
 * @param {import("./Projection.js").default} destination Destination projection.
 * @return {import("../proj.js").TransformFunction} transformFn The unregistered transform.
 */
function transforms_remove(source, destination) {
  const sourceCode = source.getCode();
  const destinationCode = destination.getCode();
  const transform = transforms[sourceCode][destinationCode];
  delete transforms[sourceCode][destinationCode];
  if (isEmpty(transforms[sourceCode])) {
    delete transforms[sourceCode];
  }
  return transform;
}

/**
 * Get a transform given a source code and a destination code.
 * @param {string} sourceCode The code for the source projection.
 * @param {string} destinationCode The code for the destination projection.
 * @return {import("../proj.js").TransformFunction|null} The transform function (if found).
 */
function transforms_get(sourceCode, destinationCode) {
  if (sourceCode in transforms && destinationCode in transforms[sourceCode]) {
    return transforms[sourceCode][destinationCode];
  }
  return null;
}

;// CONCATENATED MODULE: ./node_modules/ol/proj/utm.js
/**
 * @module ol/proj/utm
 */

/**
 * Adapted from https://github.com/Turbo87/utm
 * Copyright (c) 2012-2017 Tobias Bieniek
 *
 * The functions here provide approximate transforms to and from UTM.
 * They are not appropriate for use beyond the validity extend of a UTM
 * zone, and the accuracy of the transform decreases toward the zone
 * edges.
 */




/**
 * @typedef {Object} UTMZone
 * @property {number} number The zone number (1 - 60).
 * @property {boolean} north The northern hemisphere.
 */

const K0 = 0.9996;

const E = 0.00669438;
const E2 = E * E;
const E3 = E2 * E;
const E_P2 = E / (1 - E);

const SQRT_E = Math.sqrt(1 - E);
const _E = (1 - SQRT_E) / (1 + SQRT_E);
const _E2 = _E * _E;
const _E3 = _E2 * _E;
const _E4 = _E3 * _E;
const _E5 = _E4 * _E;

const M1 = 1 - E / 4 - (3 * E2) / 64 - (5 * E3) / 256;
const M2 = (3 * E) / 8 + (3 * E2) / 32 + (45 * E3) / 1024;
const M3 = (15 * E2) / 256 + (45 * E3) / 1024;
const M4 = (35 * E3) / 3072;

const P2 = (3 / 2) * _E - (27 / 32) * _E3 + (269 / 512) * _E5;
const P3 = (21 / 16) * _E2 - (55 / 32) * _E4;
const P4 = (151 / 96) * _E3 - (417 / 128) * _E5;
const P5 = (1097 / 512) * _E4;

const R = 6378137;

/**
 * @param {number} easting Easting value of coordinate.
 * @param {number} northing Northing value of coordinate.
 * @param {UTMZone} zone The UTM zone.
 * @return {import("../coordinate.js").Coordinate} The transformed coordinate.
 */
function toLonLat(easting, northing, zone) {
  const x = easting - 500000;
  const y = zone.north ? northing : northing - 10000000;

  const m = y / K0;
  const mu = m / (R * M1);

  const pRad =
    mu +
    P2 * Math.sin(2 * mu) +
    P3 * Math.sin(4 * mu) +
    P4 * Math.sin(6 * mu) +
    P5 * Math.sin(8 * mu);

  const pSin = Math.sin(pRad);
  const pSin2 = pSin * pSin;

  const pCos = Math.cos(pRad);

  const pTan = pSin / pCos;
  const pTan2 = pTan * pTan;
  const pTan4 = pTan2 * pTan2;

  const epSin = 1 - E * pSin2;
  const epSinSqrt = Math.sqrt(1 - E * pSin2);

  const n = R / epSinSqrt;
  const r = (1 - E) / epSin;

  const c = E_P2 * pCos ** 2;
  const c2 = c * c;

  const d = x / (n * K0);
  const d2 = d * d;
  const d3 = d2 * d;
  const d4 = d3 * d;
  const d5 = d4 * d;
  const d6 = d5 * d;

  const latitude =
    pRad -
    (pTan / r) *
      (d2 / 2 - (d4 / 24) * (5 + 3 * pTan2 + 10 * c - 4 * c2 - 9 * E_P2)) +
    (d6 / 720) * (61 + 90 * pTan2 + 298 * c + 45 * pTan4 - 252 * E_P2 - 3 * c2);

  let longitude =
    (d -
      (d3 / 6) * (1 + 2 * pTan2 + c) +
      (d5 / 120) * (5 - 2 * c + 28 * pTan2 - 3 * c2 + 8 * E_P2 + 24 * pTan4)) /
    pCos;

  longitude = wrap(
    longitude + math_toRadians(zoneToCentralLongitude(zone.number)),
    -Math.PI,
    Math.PI,
  );

  return [math_toDegrees(longitude), math_toDegrees(latitude)];
}

const MIN_LATITUDE = -80;
const MAX_LATITUDE = 84;
const MIN_LONGITUDE = -180;
const MAX_LONGITUDE = 180;

/**
 * @param {number} longitude The longitude.
 * @param {number} latitude The latitude.
 * @param {UTMZone} zone The UTM zone.
 * @return {import('../coordinate.js').Coordinate} The UTM coordinate.
 */
function fromLonLat(longitude, latitude, zone) {
  longitude = wrap(longitude, MIN_LONGITUDE, MAX_LONGITUDE);

  if (latitude < MIN_LATITUDE) {
    latitude = MIN_LATITUDE;
  } else if (latitude > MAX_LATITUDE) {
    latitude = MAX_LATITUDE;
  }

  const latRad = math_toRadians(latitude);
  const latSin = Math.sin(latRad);
  const latCos = Math.cos(latRad);

  const latTan = latSin / latCos;
  const latTan2 = latTan * latTan;
  const latTan4 = latTan2 * latTan2;

  const lonRad = math_toRadians(longitude);
  const centralLon = zoneToCentralLongitude(zone.number);
  const centralLonRad = math_toRadians(centralLon);

  const n = R / Math.sqrt(1 - E * latSin ** 2);
  const c = E_P2 * latCos ** 2;

  const a = latCos * wrap(lonRad - centralLonRad, -Math.PI, Math.PI);
  const a2 = a * a;
  const a3 = a2 * a;
  const a4 = a3 * a;
  const a5 = a4 * a;
  const a6 = a5 * a;

  const m =
    R *
    (M1 * latRad -
      M2 * Math.sin(2 * latRad) +
      M3 * Math.sin(4 * latRad) -
      M4 * Math.sin(6 * latRad));

  const easting =
    K0 *
      n *
      (a +
        (a3 / 6) * (1 - latTan2 + c) +
        (a5 / 120) * (5 - 18 * latTan2 + latTan4 + 72 * c - 58 * E_P2)) +
    500000;

  let northing =
    K0 *
    (m +
      n *
        latTan *
        (a2 / 2 +
          (a4 / 24) * (5 - latTan2 + 9 * c + 4 * c ** 2) +
          (a6 / 720) * (61 - 58 * latTan2 + latTan4 + 600 * c - 330 * E_P2)));

  if (!zone.north) {
    northing += 10000000;
  }

  return [easting, northing];
}

/**
 * @param {number} zone The zone number.
 * @return {number} The central longitude in degrees.
 */
function zoneToCentralLongitude(zone) {
  return (zone - 1) * 6 - 180 + 3;
}

/**
 * @type {Array<RegExp>}
 */
const epsgRegExes = [
  /^EPSG:(\d+)$/,
  /^urn:ogc:def:crs:EPSG::(\d+)$/,
  /^http:\/\/www\.opengis\.net\/def\/crs\/EPSG\/0\/(\d+)$/,
];

/**
 * @param {string} code The projection code.
 * @return {UTMZone|null} The UTM zone info (or null if not UTM).
 */
function zoneFromCode(code) {
  let epsgId = 0;
  for (const re of epsgRegExes) {
    const match = code.match(re);
    if (match) {
      epsgId = parseInt(match[1]);
      break;
    }
  }
  if (!epsgId) {
    return null;
  }

  let number = 0;
  let north = false;
  if (epsgId > 32700 && epsgId < 32761) {
    number = epsgId - 32700;
  } else if (epsgId > 32600 && epsgId < 32661) {
    north = true;
    number = epsgId - 32600;
  }
  if (!number) {
    return null;
  }

  return {number, north};
}

/**
 * @param {function(number, number, UTMZone): import('../coordinate.js').Coordinate} transformer The transformer.
 * @param {UTMZone} zone The UTM zone.
 * @return {import('../proj.js').TransformFunction} The transform function.
 */
function makeTransformFunction(transformer, zone) {
  return function (input, output, dimension, stride) {
    const length = input.length;
    dimension = dimension > 1 ? dimension : 2;
    stride = stride ?? dimension;
    if (!output) {
      if (dimension > 2) {
        output = input.slice();
      } else {
        output = new Array(length);
      }
    }
    for (let i = 0; i < length; i += stride) {
      const x = input[i];
      const y = input[i + 1];
      const coord = transformer(x, y, zone);
      output[i] = coord[0];
      output[i + 1] = coord[1];
    }
    return output;
  };
}

/**
 * @param {string} code The projection code.
 * @return {import('./Projection.js').default|null} A projection or null if unable to create one.
 */
function makeProjection(code) {
  const zone = zoneFromCode(code);
  if (!zone) {
    return null;
  }
  return new proj_Projection({code, units: 'm'});
}

/**
 * @param {import('./Projection.js').default} projection The projection.
 * @return {import('../proj.js').Transforms|null} The transforms lookup or null if unable to handle projection.
 */
function makeTransforms(projection) {
  const zone = zoneFromCode(projection.getCode());
  if (!zone) {
    return null;
  }

  return {
    forward: makeTransformFunction(fromLonLat, zone),
    inverse: makeTransformFunction(toLonLat, zone),
  };
}

;// CONCATENATED MODULE: ./node_modules/ol/sphere.js
/**
 * @module ol/sphere
 */


/**
 * Object literal with options for the {@link getLength} or {@link getArea}
 * functions.
 * @typedef {Object} SphereMetricOptions
 * @property {import("./proj.js").ProjectionLike} [projection='EPSG:3857']
 * Projection of the  geometry.  By default, the geometry is assumed to be in
 * Web Mercator.
 * @property {number} [radius=6371008.8] Sphere radius.  By default, the
 * [mean Earth radius](https://en.wikipedia.org/wiki/Earth_radius#Mean_radius)
 * for the WGS84 ellipsoid is used.
 */

/**
 * The mean Earth radius (1/3 * (2a + b)) for the WGS84 ellipsoid.
 * https://en.wikipedia.org/wiki/Earth_radius#Mean_radius
 * @type {number}
 */
const DEFAULT_RADIUS = 6371008.8;

/**
 * Get the great circle distance (in meters) between two geographic coordinates.
 * @param {Array} c1 Starting coordinate.
 * @param {Array} c2 Ending coordinate.
 * @param {number} [radius] The sphere radius to use.  Defaults to the Earth's
 *     mean radius using the WGS84 ellipsoid.
 * @return {number} The great circle distance between the points (in meters).
 * @api
 */
function getDistance(c1, c2, radius) {
  radius = radius || DEFAULT_RADIUS;
  const lat1 = math_toRadians(c1[1]);
  const lat2 = math_toRadians(c2[1]);
  const deltaLatBy2 = (lat2 - lat1) / 2;
  const deltaLonBy2 = math_toRadians(c2[0] - c1[0]) / 2;
  const a =
    Math.sin(deltaLatBy2) * Math.sin(deltaLatBy2) +
    Math.sin(deltaLonBy2) *
      Math.sin(deltaLonBy2) *
      Math.cos(lat1) *
      Math.cos(lat2);
  return 2 * radius * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a));
}

/**
 * Get the cumulative great circle length of linestring coordinates (geographic).
 * @param {Array} coordinates Linestring coordinates.
 * @param {number} radius The sphere radius to use.
 * @return {number} The length (in meters).
 */
function getLengthInternal(coordinates, radius) {
  let length = 0;
  for (let i = 0, ii = coordinates.length; i < ii - 1; ++i) {
    length += getDistance(coordinates[i], coordinates[i + 1], radius);
  }
  return length;
}

/**
 * Get the spherical length of a geometry.  This length is the sum of the
 * great circle distances between coordinates.  For polygons, the length is
 * the sum of all rings.  For points, the length is zero.  For multi-part
 * geometries, the length is the sum of the length of each part.
 * @param {import("./geom/Geometry.js").default} geometry A geometry.
 * @param {SphereMetricOptions} [options] Options for the
 * length calculation.  By default, geometries are assumed to be in 'EPSG:3857'.
 * You can change this by providing a `projection` option.
 * @return {number} The spherical length (in meters).
 * @api
 */
function getLength(geometry, options) {
  options = options || {};
  const radius = options.radius || DEFAULT_RADIUS;
  const projection = options.projection || 'EPSG:3857';
  const type = geometry.getType();
  if (type !== 'GeometryCollection') {
    geometry = geometry.clone().transform(projection, 'EPSG:4326');
  }
  let length = 0;
  let coordinates, coords, i, ii, j, jj;
  switch (type) {
    case 'Point':
    case 'MultiPoint': {
      break;
    }
    case 'LineString':
    case 'LinearRing': {
      coordinates = /** @type {import("./geom/SimpleGeometry.js").default} */ (
        geometry
      ).getCoordinates();
      length = getLengthInternal(coordinates, radius);
      break;
    }
    case 'MultiLineString':
    case 'Polygon': {
      coordinates = /** @type {import("./geom/SimpleGeometry.js").default} */ (
        geometry
      ).getCoordinates();
      for (i = 0, ii = coordinates.length; i < ii; ++i) {
        length += getLengthInternal(coordinates[i], radius);
      }
      break;
    }
    case 'MultiPolygon': {
      coordinates = /** @type {import("./geom/SimpleGeometry.js").default} */ (
        geometry
      ).getCoordinates();
      for (i = 0, ii = coordinates.length; i < ii; ++i) {
        coords = coordinates[i];
        for (j = 0, jj = coords.length; j < jj; ++j) {
          length += getLengthInternal(coords[j], radius);
        }
      }
      break;
    }
    case 'GeometryCollection': {
      const geometries =
        /** @type {import("./geom/GeometryCollection.js").default} */ (
          geometry
        ).getGeometries();
      for (i = 0, ii = geometries.length; i < ii; ++i) {
        length += getLength(geometries[i], options);
      }
      break;
    }
    default: {
      throw new Error('Unsupported geometry type: ' + type);
    }
  }
  return length;
}

/**
 * Returns the spherical area for a list of coordinates.
 *
 * [Reference](https://trs.jpl.nasa.gov/handle/2014/40409)
 * Robert. G. Chamberlain and William H. Duquette, "Some Algorithms for
 * Polygons on a Sphere", JPL Publication 07-03, Jet Propulsion
 * Laboratory, Pasadena, CA, June 2007
 *
 * @param {Array<import("./coordinate.js").Coordinate>} coordinates List of coordinates of a linear
 * ring. If the ring is oriented clockwise, the area will be positive,
 * otherwise it will be negative.
 * @param {number} radius The sphere radius.
 * @return {number} Area (in square meters).
 */
function getAreaInternal(coordinates, radius) {
  let area = 0;
  const len = coordinates.length;
  let x1 = coordinates[len - 1][0];
  let y1 = coordinates[len - 1][1];
  for (let i = 0; i < len; i++) {
    const x2 = coordinates[i][0];
    const y2 = coordinates[i][1];
    area +=
      toRadians(x2 - x1) *
      (2 + Math.sin(toRadians(y1)) + Math.sin(toRadians(y2)));
    x1 = x2;
    y1 = y2;
  }
  return (area * radius * radius) / 2.0;
}

/**
 * Get the spherical area of a geometry.  This is the area (in meters) assuming
 * that polygon edges are segments of great circles on a sphere.
 * @param {import("./geom/Geometry.js").default} geometry A geometry.
 * @param {SphereMetricOptions} [options] Options for the area
 *     calculation.  By default, geometries are assumed to be in 'EPSG:3857'.
 *     You can change this by providing a `projection` option.
 * @return {number} The spherical area (in square meters).
 * @api
 */
function sphere_getArea(geometry, options) {
  options = options || {};
  const radius = options.radius || DEFAULT_RADIUS;
  const projection = options.projection || 'EPSG:3857';
  const type = geometry.getType();
  if (type !== 'GeometryCollection') {
    geometry = geometry.clone().transform(projection, 'EPSG:4326');
  }
  let area = 0;
  let coordinates, coords, i, ii, j, jj;
  switch (type) {
    case 'Point':
    case 'MultiPoint':
    case 'LineString':
    case 'MultiLineString':
    case 'LinearRing': {
      break;
    }
    case 'Polygon': {
      coordinates = /** @type {import("./geom/Polygon.js").default} */ (
        geometry
      ).getCoordinates();
      area = Math.abs(getAreaInternal(coordinates[0], radius));
      for (i = 1, ii = coordinates.length; i < ii; ++i) {
        area -= Math.abs(getAreaInternal(coordinates[i], radius));
      }
      break;
    }
    case 'MultiPolygon': {
      coordinates = /** @type {import("./geom/SimpleGeometry.js").default} */ (
        geometry
      ).getCoordinates();
      for (i = 0, ii = coordinates.length; i < ii; ++i) {
        coords = coordinates[i];
        area += Math.abs(getAreaInternal(coords[0], radius));
        for (j = 1, jj = coords.length; j < jj; ++j) {
          area -= Math.abs(getAreaInternal(coords[j], radius));
        }
      }
      break;
    }
    case 'GeometryCollection': {
      const geometries =
        /** @type {import("./geom/GeometryCollection.js").default} */ (
          geometry
        ).getGeometries();
      for (i = 0, ii = geometries.length; i < ii; ++i) {
        area += sphere_getArea(geometries[i], options);
      }
      break;
    }
    default: {
      throw new Error('Unsupported geometry type: ' + type);
    }
  }
  return area;
}

/**
 * Returns the coordinate at the given distance and bearing from `c1`.
 *
 * @param {import("./coordinate.js").Coordinate} c1 The origin point (`[lon, lat]` in degrees).
 * @param {number} distance The great-circle distance between the origin
 *     point and the target point.
 * @param {number} bearing The bearing (in radians).
 * @param {number} [radius] The sphere radius to use.  Defaults to the Earth's
 *     mean radius using the WGS84 ellipsoid.
 * @return {import("./coordinate.js").Coordinate} The target point.
 */
function offset(c1, distance, bearing, radius) {
  radius = radius || DEFAULT_RADIUS;
  const lat1 = toRadians(c1[1]);
  const lon1 = toRadians(c1[0]);
  const dByR = distance / radius;
  const lat = Math.asin(
    Math.sin(lat1) * Math.cos(dByR) +
      Math.cos(lat1) * Math.sin(dByR) * Math.cos(bearing),
  );
  const lon =
    lon1 +
    Math.atan2(
      Math.sin(bearing) * Math.sin(dByR) * Math.cos(lat1),
      Math.cos(dByR) - Math.sin(lat1) * Math.sin(lat),
    );
  return [toDegrees(lon), toDegrees(lat)];
}

;// CONCATENATED MODULE: ./node_modules/ol/proj.js
/**
 * @module ol/proj
 */

/**
 * The ol/proj module stores:
 * a list of {@link module:ol/proj/Projection~Projection}
 * objects, one for each projection supported by the application
 * a list of transform functions needed to convert coordinates in one projection
 * into another.
 *
 * The static functions are the methods used to maintain these.
 * Each transform function can handle not only simple coordinate pairs, but also
 * large arrays of coordinates such as vector geometries.
 *
 * When loaded, the library adds projection objects for EPSG:4326 (WGS84
 * geographic coordinates) and EPSG:3857 (Web or Spherical Mercator, as used
 * for example by Bing Maps or OpenStreetMap), together with the relevant
 * transform functions.
 *
 * Additional transforms may be added by using the http://proj4js.org/
 * library (version 2.2 or later). You can use the full build supplied by
 * Proj4js, or create a custom build to support those projections you need; see
 * the Proj4js website for how to do this. You also need the Proj4js definitions
 * for the required projections. These definitions can be obtained from
 * https://epsg.io/, and are a JS function, so can be loaded in a script
 * tag (as in the examples) or pasted into your application.
 *
 * After all required projection definitions are added to proj4's registry (by
 * using `proj4.defs()`), simply call `register(proj4)` from the `ol/proj/proj4`
 * package. Existing transforms are not changed by this function. See
 * examples/wms-image-custom-proj for an example of this.
 *
 * Additional projection definitions can be registered with `proj4.defs()` any
 * time. Just make sure to call `register(proj4)` again; for example, with user-supplied data where you don't
 * know in advance what projections are needed, you can initially load minimal
 * support and then load whichever are requested.
 *
 * Note that Proj4js does not support projection extents. If you want to add
 * one for creating default tile grids, you can add it after the Projection
 * object has been created with `setExtent`, for example,
 * `get('EPSG:1234').setExtent(extent)`.
 *
 * In addition to Proj4js support, any transform functions can be added with
 * {@link module:ol/proj.addCoordinateTransforms}. To use this, you must first create
 * a {@link module:ol/proj/Projection~Projection} object for the new projection and add it with
 * {@link module:ol/proj.addProjection}. You can then add the forward and inverse
 * functions with {@link module:ol/proj.addCoordinateTransforms}. See
 * examples/wms-custom-proj for an example of this.
 *
 * Note that if no transforms are needed and you only need to define the
 * projection, just add a {@link module:ol/proj/Projection~Projection} with
 * {@link module:ol/proj.addProjection}. See examples/wms-no-proj for an example of
 * this.
 */













/**
 * A projection as {@link module:ol/proj/Projection~Projection}, SRS identifier
 * string or undefined.
 * @typedef {Projection|string|undefined} ProjectionLike
 * @api
 */

/**
 * @typedef {Object} Transforms
 * @property {TransformFunction} forward The forward transform (from geographic).
 * @property {TransformFunction} inverse The inverse transform (to geographic).
 */

/**
 * @type {Array<function(Projection): Transforms|null>}
 */
const transformFactories = [makeTransforms];

/**
 * @type {Array<function(string): Projection|null>}
 */
const projectionFactories = [makeProjection];

/**
 * A transform function accepts an array of input coordinate values, an optional
 * output array, and an optional dimension (default should be 2).  The function
 * transforms the input coordinate values, populates the output array, and
 * returns the output array.
 *
 * @callback TransformFunction
 * @param {Array<number>} input
 * @param {Array<number>} [output]
 * @param {number} [dimension]
 * @param {number} [stride]
 * @return {Array<number>}
 *
 * @api
 */





let showCoordinateWarning = true;

/**
 * @param {boolean} [disable] Disable console info about `useGeographic()`
 */
function disableCoordinateWarning(disable) {
  const hide = disable === undefined ? true : disable;
  showCoordinateWarning = !hide;
}

/**
 * @param {Array<number>} input Input coordinate array.
 * @param {Array<number>} [output] Output array of coordinate values.
 * @return {Array<number>} Output coordinate array (new array, same coordinate
 *     values).
 */
function cloneTransform(input, output) {
  if (output !== undefined) {
    for (let i = 0, ii = input.length; i < ii; ++i) {
      output[i] = input[i];
    }
    output = output;
  } else {
    output = input.slice();
  }
  return output;
}

/**
 * @param {Array<number>} input Input coordinate array.
 * @param {Array<number>} [output] Output array of coordinate values.
 * @return {Array<number>} Input coordinate array (same array as input).
 */
function identityTransform(input, output) {
  if (output !== undefined && input !== output) {
    for (let i = 0, ii = input.length; i < ii; ++i) {
      output[i] = input[i];
    }
    input = output;
  }
  return input;
}

/**
 * Add a Projection object to the list of supported projections that can be
 * looked up by their code.
 *
 * @param {Projection} projection Projection instance.
 * @api
 */
function addProjection(projection) {
  projections_add(projection.getCode(), projection);
  transforms_add(projection, projection, cloneTransform);
}

/**
 * @param {Array<Projection>} projections Projections.
 */
function addProjections(projections) {
  projections.forEach(addProjection);
}

/**
 * Fetches a Projection object for the code specified.
 *
 * @param {ProjectionLike} projectionLike Either a code string which is
 *     a combination of authority and identifier such as "EPSG:4326", or an
 *     existing projection object, or undefined.
 * @return {Projection|null} Projection object, or null if not in list.
 * @api
 */
function proj_get(projectionLike) {
  if (!(typeof projectionLike === 'string')) {
    return projectionLike;
  }
  const projection = get(projectionLike);
  if (projection) {
    return projection;
  }
  for (const makeProjection of projectionFactories) {
    const projection = makeProjection(projectionLike);
    if (projection) {
      return projection;
    }
  }
  return null;
}

/**
 * Get the resolution of the point in degrees or distance units.
 * For projections with degrees as the unit this will simply return the
 * provided resolution. For other projections the point resolution is
 * by default estimated by transforming the `point` pixel to EPSG:4326,
 * measuring its width and height on the normal sphere,
 * and taking the average of the width and height.
 * A custom function can be provided for a specific projection, either
 * by setting the `getPointResolution` option in the
 * {@link module:ol/proj/Projection~Projection} constructor or by using
 * {@link module:ol/proj/Projection~Projection#setGetPointResolution} to change an existing
 * projection object.
 * @param {ProjectionLike} projection The projection.
 * @param {number} resolution Nominal resolution in projection units.
 * @param {import("./coordinate.js").Coordinate} point Point to find adjusted resolution at.
 * @param {import("./proj/Units.js").Units} [units] Units to get the point resolution in.
 * Default is the projection's units.
 * @return {number} Point resolution.
 * @api
 */
function getPointResolution(projection, resolution, point, units) {
  projection = proj_get(projection);
  let pointResolution;
  const getter = projection.getPointResolutionFunc();
  if (getter) {
    pointResolution = getter(resolution, point);
    if (units && units !== projection.getUnits()) {
      const metersPerUnit = projection.getMetersPerUnit();
      if (metersPerUnit) {
        pointResolution =
          (pointResolution * metersPerUnit) / METERS_PER_UNIT[units];
      }
    }
  } else {
    const projUnits = projection.getUnits();
    if ((projUnits == 'degrees' && !units) || units == 'degrees') {
      pointResolution = resolution;
    } else {
      // Estimate point resolution by transforming the center pixel to EPSG:4326,
      // measuring its width and height on the normal sphere, and taking the
      // average of the width and height.
      const toEPSG4326 = getTransformFromProjections(
        projection,
        proj_get('EPSG:4326'),
      );
      if (!toEPSG4326 && projUnits !== 'degrees') {
        // no transform is available
        pointResolution = resolution * projection.getMetersPerUnit();
      } else {
        let vertices = [
          point[0] - resolution / 2,
          point[1],
          point[0] + resolution / 2,
          point[1],
          point[0],
          point[1] - resolution / 2,
          point[0],
          point[1] + resolution / 2,
        ];
        vertices = toEPSG4326(vertices, vertices, 2);
        const width = getDistance(vertices.slice(0, 2), vertices.slice(2, 4));
        const height = getDistance(vertices.slice(4, 6), vertices.slice(6, 8));
        pointResolution = (width + height) / 2;
      }
      const metersPerUnit = units
        ? METERS_PER_UNIT[units]
        : projection.getMetersPerUnit();
      if (metersPerUnit !== undefined) {
        pointResolution /= metersPerUnit;
      }
    }
  }
  return pointResolution;
}

/**
 * Registers transformation functions that don't alter coordinates. Those allow
 * to transform between projections with equal meaning.
 *
 * @param {Array<Projection>} projections Projections.
 * @api
 */
function addEquivalentProjections(projections) {
  addProjections(projections);
  projections.forEach(function (source) {
    projections.forEach(function (destination) {
      if (source !== destination) {
        transforms_add(source, destination, cloneTransform);
      }
    });
  });
}

/**
 * Registers transformation functions to convert coordinates in any projection
 * in projection1 to any projection in projection2.
 *
 * @param {Array<Projection>} projections1 Projections with equal
 *     meaning.
 * @param {Array<Projection>} projections2 Projections with equal
 *     meaning.
 * @param {TransformFunction} forwardTransform Transformation from any
 *   projection in projection1 to any projection in projection2.
 * @param {TransformFunction} inverseTransform Transform from any projection
 *   in projection2 to any projection in projection1..
 */
function addEquivalentTransforms(
  projections1,
  projections2,
  forwardTransform,
  inverseTransform,
) {
  projections1.forEach(function (projection1) {
    projections2.forEach(function (projection2) {
      transforms_add(projection1, projection2, forwardTransform);
      transforms_add(projection2, projection1, inverseTransform);
    });
  });
}

/**
 * Clear all cached projections and transforms.
 */
function clearAllProjections() {
  clearProj();
  clearTransformFuncs();
}

/**
 * @param {Projection|string|undefined} projection Projection.
 * @param {string} defaultCode Default code.
 * @return {Projection} Projection.
 */
function createProjection(projection, defaultCode) {
  if (!projection) {
    return proj_get(defaultCode);
  }
  if (typeof projection === 'string') {
    return proj_get(projection);
  }
  return /** @type {Projection} */ (projection);
}

/**
 * Creates a {@link module:ol/proj~TransformFunction} from a simple 2D coordinate transform
 * function.
 * @param {function(import("./coordinate.js").Coordinate): import("./coordinate.js").Coordinate} coordTransform Coordinate
 *     transform.
 * @return {TransformFunction} Transform function.
 */
function createTransformFromCoordinateTransform(coordTransform) {
  return (
    /**
     * @param {Array<number>} input Input.
     * @param {Array<number>} [output] Output.
     * @param {number} [dimension] Dimensions that should be transformed.
     * @param {number} [stride] Stride.
     * @return {Array<number>} Output.
     */
    function (input, output, dimension, stride) {
      const length = input.length;
      dimension = dimension !== undefined ? dimension : 2;
      stride = stride ?? dimension;
      output = output !== undefined ? output : new Array(length);
      for (let i = 0; i < length; i += stride) {
        const point = coordTransform(input.slice(i, i + dimension));
        const pointLength = point.length;
        for (let j = 0, jj = stride; j < jj; ++j) {
          output[i + j] = j >= pointLength ? input[i + j] : point[j];
        }
      }
      return output;
    }
  );
}

/**
 * Registers coordinate transform functions to convert coordinates between the
 * source projection and the destination projection.
 * The forward and inverse functions convert coordinate pairs; this function
 * converts these into the functions used internally which also handle
 * extents and coordinate arrays.
 *
 * @param {ProjectionLike} source Source projection.
 * @param {ProjectionLike} destination Destination projection.
 * @param {function(import("./coordinate.js").Coordinate): import("./coordinate.js").Coordinate} forward The forward transform
 *     function (that is, from the source projection to the destination
 *     projection) that takes a {@link module:ol/coordinate~Coordinate} as argument and returns
 *     the transformed {@link module:ol/coordinate~Coordinate}.
 * @param {function(import("./coordinate.js").Coordinate): import("./coordinate.js").Coordinate} inverse The inverse transform
 *     function (that is, from the destination projection to the source
 *     projection) that takes a {@link module:ol/coordinate~Coordinate} as argument and returns
 *     the transformed {@link module:ol/coordinate~Coordinate}. If the transform function can only
 *     transform less dimensions than the input coordinate, it is supposeed to return a coordinate
 *     with only the length it can transform. The other dimensions will be taken unchanged from the
 *     source.
 * @api
 */
function addCoordinateTransforms(source, destination, forward, inverse) {
  const sourceProj = proj_get(source);
  const destProj = proj_get(destination);
  addTransformFunc(
    sourceProj,
    destProj,
    createTransformFromCoordinateTransform(forward),
  );
  addTransformFunc(
    destProj,
    sourceProj,
    createTransformFromCoordinateTransform(inverse),
  );
}

/**
 * Transforms a coordinate from longitude/latitude to a different projection.
 * @param {import("./coordinate.js").Coordinate} coordinate Coordinate as longitude and latitude, i.e.
 *     an array with longitude as 1st and latitude as 2nd element.
 * @param {ProjectionLike} [projection] Target projection. The
 *     default is Web Mercator, i.e. 'EPSG:3857'.
 * @return {import("./coordinate.js").Coordinate} Coordinate projected to the target projection.
 * @api
 */
function proj_fromLonLat(coordinate, projection) {
  disableCoordinateWarning();
  return transform(
    coordinate,
    'EPSG:4326',
    projection !== undefined ? projection : 'EPSG:3857',
  );
}

/**
 * Transforms a coordinate to longitude/latitude.
 * @param {import("./coordinate.js").Coordinate} coordinate Projected coordinate.
 * @param {ProjectionLike} [projection] Projection of the coordinate.
 *     The default is Web Mercator, i.e. 'EPSG:3857'.
 * @return {import("./coordinate.js").Coordinate} Coordinate as longitude and latitude, i.e. an array
 *     with longitude as 1st and latitude as 2nd element.
 * @api
 */
function proj_toLonLat(coordinate, projection) {
  const lonLat = transform(
    coordinate,
    projection !== undefined ? projection : 'EPSG:3857',
    'EPSG:4326',
  );
  const lon = lonLat[0];
  if (lon < -180 || lon > 180) {
    lonLat[0] = modulo(lon + 180, 360) - 180;
  }
  return lonLat;
}

/**
 * Checks if two projections are the same, that is every coordinate in one
 * projection does represent the same geographic point as the same coordinate in
 * the other projection.
 *
 * @param {Projection} projection1 Projection 1.
 * @param {Projection} projection2 Projection 2.
 * @return {boolean} Equivalent.
 * @api
 */
function equivalent(projection1, projection2) {
  if (projection1 === projection2) {
    return true;
  }
  const equalUnits = projection1.getUnits() === projection2.getUnits();
  if (projection1.getCode() === projection2.getCode()) {
    return equalUnits;
  }
  const transformFunc = getTransformFromProjections(projection1, projection2);
  return transformFunc === cloneTransform && equalUnits;
}

/**
 * Searches in the list of transform functions for the function for converting
 * coordinates from the source projection to the destination projection.
 *
 * @param {Projection} source Source Projection object.
 * @param {Projection} destination Destination Projection
 *     object.
 * @return {TransformFunction|null} Transform function.
 */
function getTransformFromProjections(source, destination) {
  const sourceCode = source.getCode();
  const destinationCode = destination.getCode();
  let transformFunc = transforms_get(sourceCode, destinationCode);
  if (transformFunc) {
    return transformFunc;
  }

  /**
   * @type {Transforms|null}
   */
  let sourceTransforms = null;

  /**
   * @type {Transforms|null}
   */
  let destinationTransforms = null;

  // lazily add projections if we have supported transforms
  for (const makeTransforms of transformFactories) {
    if (!sourceTransforms) {
      sourceTransforms = makeTransforms(source);
    }
    if (!destinationTransforms) {
      destinationTransforms = makeTransforms(destination);
    }
  }

  if (!sourceTransforms && !destinationTransforms) {
    return null;
  }

  const intermediateCode = 'EPSG:4326';
  if (!destinationTransforms) {
    const toDestination = transforms_get(intermediateCode, destinationCode);
    if (toDestination) {
      transformFunc = composeTransformFuncs(
        sourceTransforms.inverse,
        toDestination,
      );
    }
  } else if (!sourceTransforms) {
    const fromSource = transforms_get(sourceCode, intermediateCode);
    if (fromSource) {
      transformFunc = composeTransformFuncs(
        fromSource,
        destinationTransforms.forward,
      );
    }
  } else {
    transformFunc = composeTransformFuncs(
      sourceTransforms.inverse,
      destinationTransforms.forward,
    );
  }

  if (transformFunc) {
    addProjection(source);
    addProjection(destination);
    transforms_add(source, destination, transformFunc);
  }

  return transformFunc;
}

/**
 * @param {TransformFunction} t1 The first transform function.
 * @param {TransformFunction} t2 The second transform function.
 * @return {TransformFunction} The composed transform function.
 */
function composeTransformFuncs(t1, t2) {
  return function (input, output, dimensions, stride) {
    output = t1(input, output, dimensions, stride);
    return t2(output, output, dimensions, stride);
  };
}

/**
 * Given the projection-like objects, searches for a transformation
 * function to convert a coordinates array from the source projection to the
 * destination projection.
 *
 * @param {ProjectionLike} source Source.
 * @param {ProjectionLike} destination Destination.
 * @return {TransformFunction} Transform function.
 * @api
 */
function getTransform(source, destination) {
  const sourceProjection = proj_get(source);
  const destinationProjection = proj_get(destination);
  return getTransformFromProjections(sourceProjection, destinationProjection);
}

/**
 * Transforms a coordinate from source projection to destination projection.
 * This returns a new coordinate (and does not modify the original). If there
 * is no available transform between the two projection, the function will throw
 * an error.
 *
 * See {@link module:ol/proj.transformExtent} for extent transformation.
 * See the transform method of {@link module:ol/geom/Geometry~Geometry} and its
 * subclasses for geometry transforms.
 *
 * @param {import("./coordinate.js").Coordinate} coordinate Coordinate.
 * @param {ProjectionLike} source Source projection-like.
 * @param {ProjectionLike} destination Destination projection-like.
 * @return {import("./coordinate.js").Coordinate} Coordinate.
 * @api
 */
function transform(coordinate, source, destination) {
  const transformFunc = getTransform(source, destination);
  if (!transformFunc) {
    const sourceCode = proj_get(source).getCode();
    const destinationCode = proj_get(destination).getCode();
    throw new Error(
      `No transform available between ${sourceCode} and ${destinationCode}`,
    );
  }
  return transformFunc(coordinate, undefined, coordinate.length);
}

/**
 * Transforms an extent from source projection to destination projection.  This
 * returns a new extent (and does not modify the original).
 *
 * @param {import("./extent.js").Extent} extent The extent to transform.
 * @param {ProjectionLike} source Source projection-like.
 * @param {ProjectionLike} destination Destination projection-like.
 * @param {number} [stops] Number of stops per side used for the transform.
 * By default only the corners are used.
 * @return {import("./extent.js").Extent} The transformed extent.
 * @api
 */
function transformExtent(extent, source, destination, stops) {
  const transformFunc = getTransform(source, destination);
  return applyTransform(extent, transformFunc, undefined, stops);
}

/**
 * Transforms the given point to the destination projection.
 *
 * @param {import("./coordinate.js").Coordinate} point Point.
 * @param {Projection} sourceProjection Source projection.
 * @param {Projection} destinationProjection Destination projection.
 * @return {import("./coordinate.js").Coordinate} Point.
 */
function transformWithProjections(
  point,
  sourceProjection,
  destinationProjection,
) {
  const transformFunc = getTransformFromProjections(
    sourceProjection,
    destinationProjection,
  );
  return transformFunc(point);
}

/**
 * @type {Projection|null}
 */
let userProjection = null;

/**
 * Set the projection for coordinates supplied from and returned by API methods.
 * This includes all API methods except for those interacting with tile grids,
 * plus {@link import("./Map.js").FrameState} and {@link import("./View.js").State}.
 * @param {ProjectionLike} projection The user projection.
 * @api
 */
function setUserProjection(projection) {
  userProjection = proj_get(projection);
}

/**
 * Clear the user projection if set.
 * @api
 */
function clearUserProjection() {
  userProjection = null;
}

/**
 * Get the projection for coordinates supplied from and returned by API methods.
 * @return {Projection|null} The user projection (or null if not set).
 * @api
 */
function getUserProjection() {
  return userProjection;
}

/**
 * Use geographic coordinates (WGS-84 datum) in API methods.
 * This includes all API methods except for those interacting with tile grids,
 * plus {@link import("./Map.js").FrameState} and {@link import("./View.js").State}.
 * @api
 */
function useGeographic() {
  setUserProjection('EPSG:4326');
}

/**
 * Return a coordinate transformed into the user projection.  If no user projection
 * is set, the original coordinate is returned.
 * @param {Array<number>} coordinate Input coordinate.
 * @param {ProjectionLike} sourceProjection The input coordinate projection.
 * @return {Array<number>} The input coordinate in the user projection.
 */
function toUserCoordinate(coordinate, sourceProjection) {
  if (!userProjection) {
    return coordinate;
  }
  return transform(coordinate, sourceProjection, userProjection);
}

/**
 * Return a coordinate transformed from the user projection.  If no user projection
 * is set, the original coordinate is returned.
 * @param {Array<number>} coordinate Input coordinate.
 * @param {ProjectionLike} destProjection The destination projection.
 * @return {Array<number>} The input coordinate transformed.
 */
function fromUserCoordinate(coordinate, destProjection) {
  if (!userProjection) {
    if (
      showCoordinateWarning &&
      !coordinate_equals(coordinate, [0, 0]) &&
      coordinate[0] >= -180 &&
      coordinate[0] <= 180 &&
      coordinate[1] >= -90 &&
      coordinate[1] <= 90
    ) {
      showCoordinateWarning = false;
      warn(
        'Call useGeographic() from ol/proj once to work with [longitude, latitude] coordinates.',
      );
    }
    return coordinate;
  }
  return transform(coordinate, userProjection, destProjection);
}

/**
 * Return an extent transformed into the user projection.  If no user projection
 * is set, the original extent is returned.
 * @param {import("./extent.js").Extent} extent Input extent.
 * @param {ProjectionLike} sourceProjection The input extent projection.
 * @return {import("./extent.js").Extent} The input extent in the user projection.
 */
function proj_toUserExtent(extent, sourceProjection) {
  if (!userProjection) {
    return extent;
  }
  return transformExtent(extent, sourceProjection, userProjection);
}

/**
 * Return an extent transformed from the user projection.  If no user projection
 * is set, the original extent is returned.
 * @param {import("./extent.js").Extent} extent Input extent.
 * @param {ProjectionLike} destProjection The destination projection.
 * @return {import("./extent.js").Extent} The input extent transformed.
 */
function proj_fromUserExtent(extent, destProjection) {
  if (!userProjection) {
    return extent;
  }
  return transformExtent(extent, userProjection, destProjection);
}

/**
 * Return the resolution in user projection units per pixel. If no user projection
 * is set, or source or user projection are missing units, the original resolution
 * is returned.
 * @param {number} resolution Resolution in input projection units per pixel.
 * @param {ProjectionLike} sourceProjection The input projection.
 * @return {number} Resolution in user projection units per pixel.
 */
function toUserResolution(resolution, sourceProjection) {
  if (!userProjection) {
    return resolution;
  }
  const sourceMetersPerUnit = proj_get(sourceProjection).getMetersPerUnit();
  const userMetersPerUnit = userProjection.getMetersPerUnit();
  return sourceMetersPerUnit && userMetersPerUnit
    ? (resolution * sourceMetersPerUnit) / userMetersPerUnit
    : resolution;
}

/**
 * Return the resolution in user projection units per pixel. If no user projection
 * is set, or source or user projection are missing units, the original resolution
 * is returned.
 * @param {number} resolution Resolution in user projection units per pixel.
 * @param {ProjectionLike} destProjection The destination projection.
 * @return {number} Resolution in destination projection units per pixel.
 */
function proj_fromUserResolution(resolution, destProjection) {
  if (!userProjection) {
    return resolution;
  }
  const destMetersPerUnit = proj_get(destProjection).getMetersPerUnit();
  const userMetersPerUnit = userProjection.getMetersPerUnit();
  return destMetersPerUnit && userMetersPerUnit
    ? (resolution * userMetersPerUnit) / destMetersPerUnit
    : resolution;
}

/**
 * Creates a safe coordinate transform function from a coordinate transform function.
 * "Safe" means that it can handle wrapping of x-coordinates for global projections,
 * and that coordinates exceeding the source projection validity extent's range will be
 * clamped to the validity range.
 * @param {Projection} sourceProj Source projection.
 * @param {Projection} destProj Destination projection.
 * @param {function(import("./coordinate.js").Coordinate): import("./coordinate.js").Coordinate} transform Transform function (source to destination).
 * @return {function(import("./coordinate.js").Coordinate): import("./coordinate.js").Coordinate} Safe transform function (source to destination).
 */
function createSafeCoordinateTransform(sourceProj, destProj, transform) {
  return function (coord) {
    let transformed, worldsAway;
    if (sourceProj.canWrapX()) {
      const sourceExtent = sourceProj.getExtent();
      const sourceExtentWidth = getWidth(sourceExtent);
      coord = coord.slice(0);
      worldsAway = getWorldsAway(coord, sourceProj, sourceExtentWidth);
      if (worldsAway) {
        // Move x to the real world
        coord[0] = coord[0] - worldsAway * sourceExtentWidth;
      }
      coord[0] = clamp(coord[0], sourceExtent[0], sourceExtent[2]);
      coord[1] = clamp(coord[1], sourceExtent[1], sourceExtent[3]);
      transformed = transform(coord);
    } else {
      transformed = transform(coord);
    }
    if (worldsAway && destProj.canWrapX()) {
      // Move transformed coordinate back to the offset world
      transformed[0] += worldsAway * getWidth(destProj.getExtent());
    }
    return transformed;
  };
}

/**
 * Add transforms to and from EPSG:4326 and EPSG:3857.  This function is called
 * by when this module is executed and should only need to be called again after
 * `clearAllProjections()` is called (e.g. in tests).
 */
function addCommon() {
  // Add transformations that don't alter coordinates to convert within set of
  // projections with equal meaning.
  addEquivalentProjections(PROJECTIONS);
  addEquivalentProjections(epsg4326_PROJECTIONS);
  // Add transformations to convert EPSG:4326 like coordinates to EPSG:3857 like
  // coordinates and back.
  addEquivalentTransforms(
    epsg4326_PROJECTIONS,
    PROJECTIONS,
    fromEPSG4326,
    toEPSG4326,
  );
}

addCommon();

;// CONCATENATED MODULE: ./node_modules/ol/transform.js
/**
 * @module ol/transform
 */


/**
 * An array representing an affine 2d transformation for use with
 * {@link module:ol/transform} functions. The array has 6 elements.
 * @typedef {!Array<number>} Transform
 * @api
 */

/**
 * Collection of affine 2d transformation functions. The functions work on an
 * array of 6 elements. The element order is compatible with the [SVGMatrix
 * interface](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix) and is
 * a subset (elements a to f) of a 3×3 matrix:
 * ```
 * [ a c e ]
 * [ b d f ]
 * [ 0 0 1 ]
 * ```
 */

/**
 * @private
 * @type {Transform}
 */
const tmp_ = new Array(6);

/**
 * Create an identity transform.
 * @return {!Transform} Identity transform.
 */
function create() {
  return [1, 0, 0, 1, 0, 0];
}

/**
 * Resets the given transform to an identity transform.
 * @param {!Transform} transform Transform.
 * @return {!Transform} Transform.
 */
function transform_reset(transform) {
  return set(transform, 1, 0, 0, 1, 0, 0);
}

/**
 * Multiply the underlying matrices of two transforms and return the result in
 * the first transform.
 * @param {!Transform} transform1 Transform parameters of matrix 1.
 * @param {!Transform} transform2 Transform parameters of matrix 2.
 * @return {!Transform} transform1 multiplied with transform2.
 */
function multiply(transform1, transform2) {
  const a1 = transform1[0];
  const b1 = transform1[1];
  const c1 = transform1[2];
  const d1 = transform1[3];
  const e1 = transform1[4];
  const f1 = transform1[5];
  const a2 = transform2[0];
  const b2 = transform2[1];
  const c2 = transform2[2];
  const d2 = transform2[3];
  const e2 = transform2[4];
  const f2 = transform2[5];

  transform1[0] = a1 * a2 + c1 * b2;
  transform1[1] = b1 * a2 + d1 * b2;
  transform1[2] = a1 * c2 + c1 * d2;
  transform1[3] = b1 * c2 + d1 * d2;
  transform1[4] = a1 * e2 + c1 * f2 + e1;
  transform1[5] = b1 * e2 + d1 * f2 + f1;

  return transform1;
}

/**
 * Set the transform components a-f on a given transform.
 * @param {!Transform} transform Transform.
 * @param {number} a The a component of the transform.
 * @param {number} b The b component of the transform.
 * @param {number} c The c component of the transform.
 * @param {number} d The d component of the transform.
 * @param {number} e The e component of the transform.
 * @param {number} f The f component of the transform.
 * @return {!Transform} Matrix with transform applied.
 */
function set(transform, a, b, c, d, e, f) {
  transform[0] = a;
  transform[1] = b;
  transform[2] = c;
  transform[3] = d;
  transform[4] = e;
  transform[5] = f;
  return transform;
}

/**
 * Set transform on one matrix from another matrix.
 * @param {!Transform} transform1 Matrix to set transform to.
 * @param {!Transform} transform2 Matrix to set transform from.
 * @return {!Transform} transform1 with transform from transform2 applied.
 */
function setFromArray(transform1, transform2) {
  transform1[0] = transform2[0];
  transform1[1] = transform2[1];
  transform1[2] = transform2[2];
  transform1[3] = transform2[3];
  transform1[4] = transform2[4];
  transform1[5] = transform2[5];
  return transform1;
}

/**
 * Transforms the given coordinate with the given transform returning the
 * resulting, transformed coordinate. The coordinate will be modified in-place.
 *
 * @param {Transform} transform The transformation.
 * @param {import("./coordinate.js").Coordinate|import("./pixel.js").Pixel} coordinate The coordinate to transform.
 * @return {import("./coordinate.js").Coordinate|import("./pixel.js").Pixel} return coordinate so that operations can be
 *     chained together.
 */
function apply(transform, coordinate) {
  const x = coordinate[0];
  const y = coordinate[1];
  coordinate[0] = transform[0] * x + transform[2] * y + transform[4];
  coordinate[1] = transform[1] * x + transform[3] * y + transform[5];
  return coordinate;
}

/**
 * Applies rotation to the given transform.
 * @param {!Transform} transform Transform.
 * @param {number} angle Angle in radians.
 * @return {!Transform} The rotated transform.
 */
function transform_rotate(transform, angle) {
  const cos = Math.cos(angle);
  const sin = Math.sin(angle);
  return multiply(transform, set(tmp_, cos, sin, -sin, cos, 0, 0));
}

/**
 * Applies scale to a given transform.
 * @param {!Transform} transform Transform.
 * @param {number} x Scale factor x.
 * @param {number} y Scale factor y.
 * @return {!Transform} The scaled transform.
 */
function transform_scale(transform, x, y) {
  return multiply(transform, set(tmp_, x, 0, 0, y, 0, 0));
}

/**
 * Creates a scale transform.
 * @param {!Transform} target Transform to overwrite.
 * @param {number} x Scale factor x.
 * @param {number} y Scale factor y.
 * @return {!Transform} The scale transform.
 */
function makeScale(target, x, y) {
  return set(target, x, 0, 0, y, 0, 0);
}

/**
 * Applies translation to the given transform.
 * @param {!Transform} transform Transform.
 * @param {number} dx Translation x.
 * @param {number} dy Translation y.
 * @return {!Transform} The translated transform.
 */
function translate(transform, dx, dy) {
  return multiply(transform, set(tmp_, 1, 0, 0, 1, dx, dy));
}

/**
 * Creates a composite transform given an initial translation, scale, rotation, and
 * final translation (in that order only, not commutative).
 * @param {!Transform} transform The transform (will be modified in place).
 * @param {number} dx1 Initial translation x.
 * @param {number} dy1 Initial translation y.
 * @param {number} sx Scale factor x.
 * @param {number} sy Scale factor y.
 * @param {number} angle Rotation (in counter-clockwise radians).
 * @param {number} dx2 Final translation x.
 * @param {number} dy2 Final translation y.
 * @return {!Transform} The composite transform.
 */
function compose(transform, dx1, dy1, sx, sy, angle, dx2, dy2) {
  const sin = Math.sin(angle);
  const cos = Math.cos(angle);
  transform[0] = sx * cos;
  transform[1] = sy * sin;
  transform[2] = -sx * sin;
  transform[3] = sy * cos;
  transform[4] = dx2 * sx * cos - dy2 * sx * sin + dx1;
  transform[5] = dx2 * sy * sin + dy2 * sy * cos + dy1;
  return transform;
}

/**
 * Creates a composite transform given an initial translation, scale, rotation, and
 * final translation (in that order only, not commutative). The resulting transform
 * string can be applied as `transform` property of an HTMLElement's style.
 * @param {number} dx1 Initial translation x.
 * @param {number} dy1 Initial translation y.
 * @param {number} sx Scale factor x.
 * @param {number} sy Scale factor y.
 * @param {number} angle Rotation (in counter-clockwise radians).
 * @param {number} dx2 Final translation x.
 * @param {number} dy2 Final translation y.
 * @return {string} The composite css transform.
 * @api
 */
function composeCssTransform(dx1, dy1, sx, sy, angle, dx2, dy2) {
  return transform_toString(compose(create(), dx1, dy1, sx, sy, angle, dx2, dy2));
}

/**
 * Invert the given transform.
 * @param {!Transform} source The source transform to invert.
 * @return {!Transform} The inverted (source) transform.
 */
function invert(source) {
  return makeInverse(source, source);
}

/**
 * Invert the given transform.
 * @param {!Transform} target Transform to be set as the inverse of
 *     the source transform.
 * @param {!Transform} source The source transform to invert.
 * @return {!Transform} The inverted (target) transform.
 */
function makeInverse(target, source) {
  const det = determinant(source);
  assert(det !== 0, 'Transformation matrix cannot be inverted');

  const a = source[0];
  const b = source[1];
  const c = source[2];
  const d = source[3];
  const e = source[4];
  const f = source[5];

  target[0] = d / det;
  target[1] = -b / det;
  target[2] = -c / det;
  target[3] = a / det;
  target[4] = (c * f - d * e) / det;
  target[5] = -(a * f - b * e) / det;

  return target;
}

/**
 * Returns the determinant of the given matrix.
 * @param {!Transform} mat Matrix.
 * @return {number} Determinant.
 */
function determinant(mat) {
  return mat[0] * mat[3] - mat[1] * mat[2];
}

/**
 * @type {Array}
 */
const matrixPrecision = [1e5, 1e5, 1e5, 1e5, 2, 2];

/**
 * A matrix string version of the transform.  This can be used
 * for CSS transforms.
 * @param {!Transform} mat Matrix.
 * @return {string} The transform as a string.
 */
function transform_toString(mat) {
  const transformString = 'matrix(' + mat.join(', ') + ')';
  return transformString;
}

/**
 * Create a transform from a CSS transform matrix string.
 * @param {string} cssTransform The CSS string to parse.
 * @return {!Transform} The transform.
 */
function fromString(cssTransform) {
  const values = cssTransform.substring(7, cssTransform.length - 1).split(',');
  return values.map(parseFloat);
}

/**
 * Compare two matrices for equality.
 * @param {!string} cssTransform1 A CSS transform matrix string.
 * @param {!string} cssTransform2 A CSS transform matrix string.
 * @return {boolean} The two matrices are equal.
 */
function transform_equivalent(cssTransform1, cssTransform2) {
  const mat1 = fromString(cssTransform1);
  const mat2 = fromString(cssTransform2);
  for (let i = 0; i < 6; ++i) {
    if (Math.round((mat1[i] - mat2[i]) * matrixPrecision[i]) !== 0) {
      return false;
    }
  }
  return true;
}

;// CONCATENATED MODULE: ./node_modules/ol/geom/flat/transform.js
/**
 * @module ol/geom/flat/transform
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @param {import("../../transform.js").Transform} transform Transform.
 * @param {Array<number>} [dest] Destination.
 * @param {number} [destinationStride] Stride of destination coordinates; if unspecified, assumed to be 2.
 * @return {Array<number>} Transformed coordinates.
 */
function transform2D(
  flatCoordinates,
  offset,
  end,
  stride,
  transform,
  dest,
  destinationStride,
) {
  dest = dest ? dest : [];
  destinationStride = destinationStride ? destinationStride : 2;
  let i = 0;
  for (let j = offset; j < end; j += stride) {
    const x = flatCoordinates[j];
    const y = flatCoordinates[j + 1];
    dest[i++] = transform[0] * x + transform[2] * y + transform[4];
    dest[i++] = transform[1] * x + transform[3] * y + transform[5];

    for (let k = 2; k < destinationStride; k++) {
      dest[i++] = flatCoordinates[j + k];
    }
  }

  if (dest && dest.length != i) {
    dest.length = i;
  }
  return dest;
}

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @param {number} angle Angle.
 * @param {Array<number>} anchor Rotation anchor point.
 * @param {Array<number>} [dest] Destination.
 * @return {Array<number>} Transformed coordinates.
 */
function flat_transform_rotate(
  flatCoordinates,
  offset,
  end,
  stride,
  angle,
  anchor,
  dest,
) {
  dest = dest ? dest : [];
  const cos = Math.cos(angle);
  const sin = Math.sin(angle);
  const anchorX = anchor[0];
  const anchorY = anchor[1];
  let i = 0;
  for (let j = offset; j < end; j += stride) {
    const deltaX = flatCoordinates[j] - anchorX;
    const deltaY = flatCoordinates[j + 1] - anchorY;
    dest[i++] = anchorX + deltaX * cos - deltaY * sin;
    dest[i++] = anchorY + deltaX * sin + deltaY * cos;
    for (let k = j + 2; k < j + stride; ++k) {
      dest[i++] = flatCoordinates[k];
    }
  }
  if (dest && dest.length != i) {
    dest.length = i;
  }
  return dest;
}

/**
 * Scale the coordinates.
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @param {number} sx Scale factor in the x-direction.
 * @param {number} sy Scale factor in the y-direction.
 * @param {Array<number>} anchor Scale anchor point.
 * @param {Array<number>} [dest] Destination.
 * @return {Array<number>} Transformed coordinates.
 */
function flat_transform_scale(
  flatCoordinates,
  offset,
  end,
  stride,
  sx,
  sy,
  anchor,
  dest,
) {
  dest = dest ? dest : [];
  const anchorX = anchor[0];
  const anchorY = anchor[1];
  let i = 0;
  for (let j = offset; j < end; j += stride) {
    const deltaX = flatCoordinates[j] - anchorX;
    const deltaY = flatCoordinates[j + 1] - anchorY;
    dest[i++] = anchorX + sx * deltaX;
    dest[i++] = anchorY + sy * deltaY;
    for (let k = j + 2; k < j + stride; ++k) {
      dest[i++] = flatCoordinates[k];
    }
  }
  if (dest && dest.length != i) {
    dest.length = i;
  }
  return dest;
}

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @param {number} deltaX Delta X.
 * @param {number} deltaY Delta Y.
 * @param {Array<number>} [dest] Destination.
 * @return {Array<number>} Transformed coordinates.
 */
function transform_translate(
  flatCoordinates,
  offset,
  end,
  stride,
  deltaX,
  deltaY,
  dest,
) {
  dest = dest ? dest : [];
  let i = 0;
  for (let j = offset; j < end; j += stride) {
    dest[i++] = flatCoordinates[j] + deltaX;
    dest[i++] = flatCoordinates[j + 1] + deltaY;
    for (let k = j + 2; k < j + stride; ++k) {
      dest[i++] = flatCoordinates[k];
    }
  }
  if (dest && dest.length != i) {
    dest.length = i;
  }
  return dest;
}

;// CONCATENATED MODULE: ./node_modules/ol/geom/Geometry.js
/**
 * @module ol/geom/Geometry
 */








/**
 * @typedef {'XY' | 'XYZ' | 'XYM' | 'XYZM'} GeometryLayout
 * The coordinate layout for geometries, indicating whether a 3rd or 4th z ('Z')
 * or measure ('M') coordinate is available.
 */

/**
 * @typedef {'Point' | 'LineString' | 'LinearRing' | 'Polygon' | 'MultiPoint' | 'MultiLineString' | 'MultiPolygon' | 'GeometryCollection' | 'Circle'} Type
 * The geometry type.  One of `'Point'`, `'LineString'`, `'LinearRing'`,
 * `'Polygon'`, `'MultiPoint'`, `'MultiLineString'`, `'MultiPolygon'`,
 * `'GeometryCollection'`, or `'Circle'`.
 */

/**
 * @type {import("../transform.js").Transform}
 */
const tmpTransform = create();

/** @type {import('../coordinate.js').Coordinate} */
const tmpPoint = [NaN, NaN];

/**
 * @classdesc
 * Abstract base class; normally only used for creating subclasses and not
 * instantiated in apps.
 * Base class for vector geometries.
 *
 * To get notified of changes to the geometry, register a listener for the
 * generic `change` event on your geometry instance.
 *
 * @abstract
 * @api
 */
class Geometry extends ol_Object {
  constructor() {
    super();

    /**
     * @private
     * @type {import("../extent.js").Extent}
     */
    this.extent_ = createEmpty();

    /**
     * @private
     * @type {number}
     */
    this.extentRevision_ = -1;

    /**
     * @protected
     * @type {number}
     */
    this.simplifiedGeometryMaxMinSquaredTolerance = 0;

    /**
     * @protected
     * @type {number}
     */
    this.simplifiedGeometryRevision = 0;

    /**
     * Get a transformed and simplified version of the geometry.
     * @abstract
     * @param {number} revision The geometry revision.
     * @param {number} squaredTolerance Squared tolerance.
     * @param {import("../proj.js").TransformFunction} [transform] Optional transform function.
     * @return {Geometry} Simplified geometry.
     */
    this.simplifyTransformedInternal = memoizeOne(
      (revision, squaredTolerance, transform) => {
        if (!transform) {
          return this.getSimplifiedGeometry(squaredTolerance);
        }
        const clone = this.clone();
        clone.applyTransform(transform);
        return clone.getSimplifiedGeometry(squaredTolerance);
      },
    );
  }

  /**
   * Get a transformed and simplified version of the geometry.
   * @abstract
   * @param {number} squaredTolerance Squared tolerance.
   * @param {import("../proj.js").TransformFunction} [transform] Optional transform function.
   * @return {Geometry} Simplified geometry.
   */
  simplifyTransformed(squaredTolerance, transform) {
    return this.simplifyTransformedInternal(
      this.getRevision(),
      squaredTolerance,
      transform,
    );
  }

  /**
   * Make a complete copy of the geometry.
   * @abstract
   * @return {!Geometry} Clone.
   */
  clone() {
    return util_abstract();
  }

  /**
   * @abstract
   * @param {number} x X.
   * @param {number} y Y.
   * @param {import("../coordinate.js").Coordinate} closestPoint Closest point.
   * @param {number} minSquaredDistance Minimum squared distance.
   * @return {number} Minimum squared distance.
   */
  closestPointXY(x, y, closestPoint, minSquaredDistance) {
    return util_abstract();
  }

  /**
   * @param {number} x X.
   * @param {number} y Y.
   * @return {boolean} Contains (x, y).
   */
  containsXY(x, y) {
    return this.closestPointXY(x, y, tmpPoint, Number.MIN_VALUE) === 0;
  }

  /**
   * Return the closest point of the geometry to the passed point as
   * {@link module:ol/coordinate~Coordinate coordinate}.
   * @param {import("../coordinate.js").Coordinate} point Point.
   * @param {import("../coordinate.js").Coordinate} [closestPoint] Closest point.
   * @return {import("../coordinate.js").Coordinate} Closest point.
   * @api
   */
  getClosestPoint(point, closestPoint) {
    closestPoint = closestPoint ? closestPoint : [NaN, NaN];
    this.closestPointXY(point[0], point[1], closestPoint, Infinity);
    return closestPoint;
  }

  /**
   * Returns true if this geometry includes the specified coordinate. If the
   * coordinate is on the boundary of the geometry, returns false.
   * @param {import("../coordinate.js").Coordinate} coordinate Coordinate.
   * @return {boolean} Contains coordinate.
   * @api
   */
  intersectsCoordinate(coordinate) {
    return this.containsXY(coordinate[0], coordinate[1]);
  }

  /**
   * @abstract
   * @param {import("../extent.js").Extent} extent Extent.
   * @protected
   * @return {import("../extent.js").Extent} extent Extent.
   */
  computeExtent(extent) {
    return util_abstract();
  }

  /**
   * Get the extent of the geometry.
   * @param {import("../extent.js").Extent} [extent] Extent.
   * @return {import("../extent.js").Extent} extent Extent.
   * @api
   */
  getExtent(extent) {
    if (this.extentRevision_ != this.getRevision()) {
      const extent = this.computeExtent(this.extent_);
      if (isNaN(extent[0]) || isNaN(extent[1])) {
        createOrUpdateEmpty(extent);
      }
      this.extentRevision_ = this.getRevision();
    }
    return returnOrUpdate(this.extent_, extent);
  }

  /**
   * Rotate the geometry around a given coordinate. This modifies the geometry
   * coordinates in place.
   * @abstract
   * @param {number} angle Rotation angle in radians.
   * @param {import("../coordinate.js").Coordinate} anchor The rotation center.
   * @api
   */
  rotate(angle, anchor) {
    util_abstract();
  }

  /**
   * Scale the geometry (with an optional origin).  This modifies the geometry
   * coordinates in place.
   * @abstract
   * @param {number} sx The scaling factor in the x-direction.
   * @param {number} [sy] The scaling factor in the y-direction (defaults to sx).
   * @param {import("../coordinate.js").Coordinate} [anchor] The scale origin (defaults to the center
   *     of the geometry extent).
   * @api
   */
  scale(sx, sy, anchor) {
    util_abstract();
  }

  /**
   * Create a simplified version of this geometry.  For linestrings, this uses
   * the [Douglas Peucker](https://en.wikipedia.org/wiki/Ramer-Douglas-Peucker_algorithm)
   * algorithm.  For polygons, a quantization-based
   * simplification is used to preserve topology.
   * @param {number} tolerance The tolerance distance for simplification.
   * @return {Geometry} A new, simplified version of the original geometry.
   * @api
   */
  simplify(tolerance) {
    return this.getSimplifiedGeometry(tolerance * tolerance);
  }

  /**
   * Create a simplified version of this geometry using the Douglas Peucker
   * algorithm.
   * See https://en.wikipedia.org/wiki/Ramer-Douglas-Peucker_algorithm.
   * @abstract
   * @param {number} squaredTolerance Squared tolerance.
   * @return {Geometry} Simplified geometry.
   */
  getSimplifiedGeometry(squaredTolerance) {
    return util_abstract();
  }

  /**
   * Get the type of this geometry.
   * @abstract
   * @return {Type} Geometry type.
   */
  getType() {
    return util_abstract();
  }

  /**
   * Apply a transform function to the coordinates of the geometry.
   * The geometry is modified in place.
   * If you do not want the geometry modified in place, first `clone()` it and
   * then use this function on the clone.
   * @abstract
   * @param {import("../proj.js").TransformFunction} transformFn Transform function.
   * Called with a flat array of geometry coordinates.
   */
  applyTransform(transformFn) {
    util_abstract();
  }

  /**
   * Test if the geometry and the passed extent intersect.
   * @abstract
   * @param {import("../extent.js").Extent} extent Extent.
   * @return {boolean} `true` if the geometry and the extent intersect.
   */
  intersectsExtent(extent) {
    return util_abstract();
  }

  /**
   * Translate the geometry.  This modifies the geometry coordinates in place.  If
   * instead you want a new geometry, first `clone()` this geometry.
   * @abstract
   * @param {number} deltaX Delta X.
   * @param {number} deltaY Delta Y.
   * @api
   */
  translate(deltaX, deltaY) {
    util_abstract();
  }

  /**
   * Transform each coordinate of the geometry from one coordinate reference
   * system to another. The geometry is modified in place.
   * For example, a line will be transformed to a line and a circle to a circle.
   * If you do not want the geometry modified in place, first `clone()` it and
   * then use this function on the clone.
   *
   * @param {import("../proj.js").ProjectionLike} source The current projection.  Can be a
   *     string identifier or a {@link module:ol/proj/Projection~Projection} object.
   * @param {import("../proj.js").ProjectionLike} destination The desired projection.  Can be a
   *     string identifier or a {@link module:ol/proj/Projection~Projection} object.
   * @return {this} This geometry.  Note that original geometry is
   *     modified in place.
   * @api
   */
  transform(source, destination) {
    /** @type {import("../proj/Projection.js").default} */
    const sourceProj = proj_get(source);
    const transformFn =
      sourceProj.getUnits() == 'tile-pixels'
        ? function (inCoordinates, outCoordinates, stride) {
            const pixelExtent = sourceProj.getExtent();
            const projectedExtent = sourceProj.getWorldExtent();
            const scale = getHeight(projectedExtent) / getHeight(pixelExtent);
            compose(
              tmpTransform,
              projectedExtent[0],
              projectedExtent[3],
              scale,
              -scale,
              0,
              0,
              0,
            );
            const transformed = transform2D(
              inCoordinates,
              0,
              inCoordinates.length,
              stride,
              tmpTransform,
              outCoordinates,
            );
            const projTransform = getTransform(sourceProj, destination);
            if (projTransform) {
              return projTransform(transformed, transformed, stride);
            }
            return transformed;
          }
        : getTransform(sourceProj, destination);
    this.applyTransform(transformFn);
    return this;
  }
}

/* harmony default export */ const geom_Geometry = (Geometry);

;// CONCATENATED MODULE: ./node_modules/ol/geom/SimpleGeometry.js
/**
 * @module ol/geom/SimpleGeometry
 */





/**
 * @classdesc
 * Abstract base class; only used for creating subclasses; do not instantiate
 * in apps, as cannot be rendered.
 *
 * @abstract
 * @api
 */
class SimpleGeometry extends geom_Geometry {
  constructor() {
    super();

    /**
     * @protected
     * @type {import("./Geometry.js").GeometryLayout}
     */
    this.layout = 'XY';

    /**
     * @protected
     * @type {number}
     */
    this.stride = 2;

    /**
     * @protected
     * @type {Array<number>}
     */
    this.flatCoordinates;
  }

  /**
   * @param {import("../extent.js").Extent} extent Extent.
   * @protected
   * @return {import("../extent.js").Extent} extent Extent.
   * @override
   */
  computeExtent(extent) {
    return createOrUpdateFromFlatCoordinates(
      this.flatCoordinates,
      0,
      this.flatCoordinates.length,
      this.stride,
      extent,
    );
  }

  /**
   * @abstract
   * @return {Array<*> | null} Coordinates.
   */
  getCoordinates() {
    return util_abstract();
  }

  /**
   * Return the first coordinate of the geometry.
   * @return {import("../coordinate.js").Coordinate} First coordinate.
   * @api
   */
  getFirstCoordinate() {
    return this.flatCoordinates.slice(0, this.stride);
  }

  /**
   * @return {Array<number>} Flat coordinates.
   */
  getFlatCoordinates() {
    return this.flatCoordinates;
  }

  /**
   * Return the last coordinate of the geometry.
   * @return {import("../coordinate.js").Coordinate} Last point.
   * @api
   */
  getLastCoordinate() {
    return this.flatCoordinates.slice(
      this.flatCoordinates.length - this.stride,
    );
  }

  /**
   * Return the {@link import("./Geometry.js").GeometryLayout layout} of the geometry.
   * @return {import("./Geometry.js").GeometryLayout} Layout.
   * @api
   */
  getLayout() {
    return this.layout;
  }

  /**
   * Create a simplified version of this geometry using the Douglas Peucker algorithm.
   * @param {number} squaredTolerance Squared tolerance.
   * @return {SimpleGeometry} Simplified geometry.
   * @override
   */
  getSimplifiedGeometry(squaredTolerance) {
    if (this.simplifiedGeometryRevision !== this.getRevision()) {
      this.simplifiedGeometryMaxMinSquaredTolerance = 0;
      this.simplifiedGeometryRevision = this.getRevision();
    }
    // If squaredTolerance is negative or if we know that simplification will not
    // have any effect then just return this.
    if (
      squaredTolerance < 0 ||
      (this.simplifiedGeometryMaxMinSquaredTolerance !== 0 &&
        squaredTolerance <= this.simplifiedGeometryMaxMinSquaredTolerance)
    ) {
      return this;
    }

    const simplifiedGeometry =
      this.getSimplifiedGeometryInternal(squaredTolerance);
    const simplifiedFlatCoordinates = simplifiedGeometry.getFlatCoordinates();
    if (simplifiedFlatCoordinates.length < this.flatCoordinates.length) {
      return simplifiedGeometry;
    }
    // Simplification did not actually remove any coordinates.  We now know
    // that any calls to getSimplifiedGeometry with a squaredTolerance less
    // than or equal to the current squaredTolerance will also not have any
    // effect.  This allows us to short circuit simplification (saving CPU
    // cycles) and prevents the cache of simplified geometries from filling
    // up with useless identical copies of this geometry (saving memory).
    this.simplifiedGeometryMaxMinSquaredTolerance = squaredTolerance;
    return this;
  }

  /**
   * @param {number} squaredTolerance Squared tolerance.
   * @return {SimpleGeometry} Simplified geometry.
   * @protected
   */
  getSimplifiedGeometryInternal(squaredTolerance) {
    return this;
  }

  /**
   * @return {number} Stride.
   */
  getStride() {
    return this.stride;
  }

  /**
   * @param {import("./Geometry.js").GeometryLayout} layout Layout.
   * @param {Array<number>} flatCoordinates Flat coordinates.
   */
  setFlatCoordinates(layout, flatCoordinates) {
    this.stride = getStrideForLayout(layout);
    this.layout = layout;
    this.flatCoordinates = flatCoordinates;
  }

  /**
   * @abstract
   * @param {!Array<*>} coordinates Coordinates.
   * @param {import("./Geometry.js").GeometryLayout} [layout] Layout.
   */
  setCoordinates(coordinates, layout) {
    util_abstract();
  }

  /**
   * @param {import("./Geometry.js").GeometryLayout|undefined} layout Layout.
   * @param {Array<*>} coordinates Coordinates.
   * @param {number} nesting Nesting.
   * @protected
   */
  setLayout(layout, coordinates, nesting) {
    let stride;
    if (layout) {
      stride = getStrideForLayout(layout);
    } else {
      for (let i = 0; i < nesting; ++i) {
        if (coordinates.length === 0) {
          this.layout = 'XY';
          this.stride = 2;
          return;
        }
        coordinates = /** @type {Array<unknown>} */ (coordinates[0]);
      }
      stride = coordinates.length;
      layout = getLayoutForStride(stride);
    }
    this.layout = layout;
    this.stride = stride;
  }

  /**
   * Apply a transform function to the coordinates of the geometry.
   * The geometry is modified in place.
   * If you do not want the geometry modified in place, first `clone()` it and
   * then use this function on the clone.
   * @param {import("../proj.js").TransformFunction} transformFn Transform function.
   * Called with a flat array of geometry coordinates.
   * @api
   * @override
   */
  applyTransform(transformFn) {
    if (this.flatCoordinates) {
      transformFn(
        this.flatCoordinates,
        this.flatCoordinates,
        this.layout.startsWith('XYZ') ? 3 : 2,
        this.stride,
      );
      this.changed();
    }
  }

  /**
   * Rotate the geometry around a given coordinate. This modifies the geometry
   * coordinates in place.
   * @param {number} angle Rotation angle in counter-clockwise radians.
   * @param {import("../coordinate.js").Coordinate} anchor The rotation center.
   * @api
   * @override
   */
  rotate(angle, anchor) {
    const flatCoordinates = this.getFlatCoordinates();
    if (flatCoordinates) {
      const stride = this.getStride();
      flat_transform_rotate(
        flatCoordinates,
        0,
        flatCoordinates.length,
        stride,
        angle,
        anchor,
        flatCoordinates,
      );
      this.changed();
    }
  }

  /**
   * Scale the geometry (with an optional origin).  This modifies the geometry
   * coordinates in place.
   * @param {number} sx The scaling factor in the x-direction.
   * @param {number} [sy] The scaling factor in the y-direction (defaults to sx).
   * @param {import("../coordinate.js").Coordinate} [anchor] The scale origin (defaults to the center
   *     of the geometry extent).
   * @api
   * @override
   */
  scale(sx, sy, anchor) {
    if (sy === undefined) {
      sy = sx;
    }
    if (!anchor) {
      anchor = getCenter(this.getExtent());
    }
    const flatCoordinates = this.getFlatCoordinates();
    if (flatCoordinates) {
      const stride = this.getStride();
      flat_transform_scale(
        flatCoordinates,
        0,
        flatCoordinates.length,
        stride,
        sx,
        sy,
        anchor,
        flatCoordinates,
      );
      this.changed();
    }
  }

  /**
   * Translate the geometry.  This modifies the geometry coordinates in place.  If
   * instead you want a new geometry, first `clone()` this geometry.
   * @param {number} deltaX Delta X.
   * @param {number} deltaY Delta Y.
   * @api
   * @override
   */
  translate(deltaX, deltaY) {
    const flatCoordinates = this.getFlatCoordinates();
    if (flatCoordinates) {
      const stride = this.getStride();
      transform_translate(
        flatCoordinates,
        0,
        flatCoordinates.length,
        stride,
        deltaX,
        deltaY,
        flatCoordinates,
      );
      this.changed();
    }
  }
}

/**
 * @param {number} stride Stride.
 * @return {import("./Geometry.js").GeometryLayout} layout Layout.
 */
function getLayoutForStride(stride) {
  let layout;
  if (stride == 2) {
    layout = 'XY';
  } else if (stride == 3) {
    layout = 'XYZ';
  } else if (stride == 4) {
    layout = 'XYZM';
  }
  return /** @type {import("./Geometry.js").GeometryLayout} */ (layout);
}

/**
 * @param {import("./Geometry.js").GeometryLayout} layout Layout.
 * @return {number} Stride.
 */
function getStrideForLayout(layout) {
  let stride;
  if (layout == 'XY') {
    stride = 2;
  } else if (layout == 'XYZ' || layout == 'XYM') {
    stride = 3;
  } else if (layout == 'XYZM') {
    stride = 4;
  }
  return /** @type {number} */ (stride);
}

/**
 * @param {SimpleGeometry} simpleGeometry Simple geometry.
 * @param {import("../transform.js").Transform} transform Transform.
 * @param {Array<number>} [dest] Destination.
 * @return {Array<number>} Transformed flat coordinates.
 */
function transformGeom2D(simpleGeometry, transform, dest) {
  const flatCoordinates = simpleGeometry.getFlatCoordinates();
  if (!flatCoordinates) {
    return null;
  }
  const stride = simpleGeometry.getStride();
  return transform2D(
    flatCoordinates,
    0,
    flatCoordinates.length,
    stride,
    transform,
    dest,
  );
}

/* harmony default export */ const geom_SimpleGeometry = (SimpleGeometry);

;// CONCATENATED MODULE: ./node_modules/ol/geom/flat/area.js
/**
 * @module ol/geom/flat/area
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @return {number} Area.
 */
function linearRing(flatCoordinates, offset, end, stride) {
  let twiceArea = 0;
  const x0 = flatCoordinates[end - stride];
  const y0 = flatCoordinates[end - stride + 1];
  let dx1 = 0;
  let dy1 = 0;
  for (; offset < end; offset += stride) {
    const dx2 = flatCoordinates[offset] - x0;
    const dy2 = flatCoordinates[offset + 1] - y0;
    twiceArea += dy1 * dx2 - dx1 * dy2;
    dx1 = dx2;
    dy1 = dy2;
  }
  return twiceArea / 2;
}

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<number>} ends Ends.
 * @param {number} stride Stride.
 * @return {number} Area.
 */
function linearRings(flatCoordinates, offset, ends, stride) {
  let area = 0;
  for (let i = 0, ii = ends.length; i < ii; ++i) {
    const end = ends[i];
    area += linearRing(flatCoordinates, offset, end, stride);
    offset = end;
  }
  return area;
}

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<Array<number>>} endss Endss.
 * @param {number} stride Stride.
 * @return {number} Area.
 */
function linearRingss(flatCoordinates, offset, endss, stride) {
  let area = 0;
  for (let i = 0, ii = endss.length; i < ii; ++i) {
    const ends = endss[i];
    area += linearRings(flatCoordinates, offset, ends, stride);
    offset = ends[ends.length - 1];
  }
  return area;
}

;// CONCATENATED MODULE: ./node_modules/ol/geom/flat/closest.js
/**
 * @module ol/geom/flat/closest
 */


/**
 * Returns the point on the 2D line segment flatCoordinates[offset1] to
 * flatCoordinates[offset2] that is closest to the point (x, y).  Extra
 * dimensions are linearly interpolated.
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset1 Offset 1.
 * @param {number} offset2 Offset 2.
 * @param {number} stride Stride.
 * @param {number} x X.
 * @param {number} y Y.
 * @param {Array<number>} closestPoint Closest point.
 */
function assignClosest(
  flatCoordinates,
  offset1,
  offset2,
  stride,
  x,
  y,
  closestPoint,
) {
  const x1 = flatCoordinates[offset1];
  const y1 = flatCoordinates[offset1 + 1];
  const dx = flatCoordinates[offset2] - x1;
  const dy = flatCoordinates[offset2 + 1] - y1;
  let offset;
  if (dx === 0 && dy === 0) {
    offset = offset1;
  } else {
    const t = ((x - x1) * dx + (y - y1) * dy) / (dx * dx + dy * dy);
    if (t > 1) {
      offset = offset2;
    } else if (t > 0) {
      for (let i = 0; i < stride; ++i) {
        closestPoint[i] = math_lerp(
          flatCoordinates[offset1 + i],
          flatCoordinates[offset2 + i],
          t,
        );
      }
      closestPoint.length = stride;
      return;
    } else {
      offset = offset1;
    }
  }
  for (let i = 0; i < stride; ++i) {
    closestPoint[i] = flatCoordinates[offset + i];
  }
  closestPoint.length = stride;
}

/**
 * Return the squared of the largest distance between any pair of consecutive
 * coordinates.
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @param {number} max Max squared delta.
 * @return {number} Max squared delta.
 */
function maxSquaredDelta(flatCoordinates, offset, end, stride, max) {
  let x1 = flatCoordinates[offset];
  let y1 = flatCoordinates[offset + 1];
  for (offset += stride; offset < end; offset += stride) {
    const x2 = flatCoordinates[offset];
    const y2 = flatCoordinates[offset + 1];
    const squaredDelta = math_squaredDistance(x1, y1, x2, y2);
    if (squaredDelta > max) {
      max = squaredDelta;
    }
    x1 = x2;
    y1 = y2;
  }
  return max;
}

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<number>} ends Ends.
 * @param {number} stride Stride.
 * @param {number} max Max squared delta.
 * @return {number} Max squared delta.
 */
function arrayMaxSquaredDelta(
  flatCoordinates,
  offset,
  ends,
  stride,
  max,
) {
  for (let i = 0, ii = ends.length; i < ii; ++i) {
    const end = ends[i];
    max = maxSquaredDelta(flatCoordinates, offset, end, stride, max);
    offset = end;
  }
  return max;
}

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<Array<number>>} endss Endss.
 * @param {number} stride Stride.
 * @param {number} max Max squared delta.
 * @return {number} Max squared delta.
 */
function multiArrayMaxSquaredDelta(
  flatCoordinates,
  offset,
  endss,
  stride,
  max,
) {
  for (let i = 0, ii = endss.length; i < ii; ++i) {
    const ends = endss[i];
    max = arrayMaxSquaredDelta(flatCoordinates, offset, ends, stride, max);
    offset = ends[ends.length - 1];
  }
  return max;
}

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @param {number} maxDelta Max delta.
 * @param {boolean} isRing Is ring.
 * @param {number} x X.
 * @param {number} y Y.
 * @param {Array<number>} closestPoint Closest point.
 * @param {number} minSquaredDistance Minimum squared distance.
 * @param {Array<number>} [tmpPoint] Temporary point object.
 * @return {number} Minimum squared distance.
 */
function assignClosestPoint(
  flatCoordinates,
  offset,
  end,
  stride,
  maxDelta,
  isRing,
  x,
  y,
  closestPoint,
  minSquaredDistance,
  tmpPoint,
) {
  if (offset == end) {
    return minSquaredDistance;
  }
  let i, squaredDistance;
  if (maxDelta === 0) {
    // All points are identical, so just test the first point.
    squaredDistance = math_squaredDistance(
      x,
      y,
      flatCoordinates[offset],
      flatCoordinates[offset + 1],
    );
    if (squaredDistance < minSquaredDistance) {
      for (i = 0; i < stride; ++i) {
        closestPoint[i] = flatCoordinates[offset + i];
      }
      closestPoint.length = stride;
      return squaredDistance;
    }
    return minSquaredDistance;
  }
  tmpPoint = tmpPoint ? tmpPoint : [NaN, NaN];
  let index = offset + stride;
  while (index < end) {
    assignClosest(
      flatCoordinates,
      index - stride,
      index,
      stride,
      x,
      y,
      tmpPoint,
    );
    squaredDistance = math_squaredDistance(x, y, tmpPoint[0], tmpPoint[1]);
    if (squaredDistance < minSquaredDistance) {
      minSquaredDistance = squaredDistance;
      for (i = 0; i < stride; ++i) {
        closestPoint[i] = tmpPoint[i];
      }
      closestPoint.length = stride;
      index += stride;
    } else {
      // Skip ahead multiple points, because we know that all the skipped
      // points cannot be any closer than the closest point we have found so
      // far.  We know this because we know how close the current point is, how
      // close the closest point we have found so far is, and the maximum
      // distance between consecutive points.  For example, if we're currently
      // at distance 10, the best we've found so far is 3, and that the maximum
      // distance between consecutive points is 2, then we'll need to skip at
      // least (10 - 3) / 2 == 3 (rounded down) points to have any chance of
      // finding a closer point.  We use Math.max(..., 1) to ensure that we
      // always advance at least one point, to avoid an infinite loop.
      index +=
        stride *
        Math.max(
          ((Math.sqrt(squaredDistance) - Math.sqrt(minSquaredDistance)) /
            maxDelta) |
            0,
          1,
        );
    }
  }
  if (isRing) {
    // Check the closing segment.
    assignClosest(
      flatCoordinates,
      end - stride,
      offset,
      stride,
      x,
      y,
      tmpPoint,
    );
    squaredDistance = math_squaredDistance(x, y, tmpPoint[0], tmpPoint[1]);
    if (squaredDistance < minSquaredDistance) {
      minSquaredDistance = squaredDistance;
      for (i = 0; i < stride; ++i) {
        closestPoint[i] = tmpPoint[i];
      }
      closestPoint.length = stride;
    }
  }
  return minSquaredDistance;
}

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<number>} ends Ends.
 * @param {number} stride Stride.
 * @param {number} maxDelta Max delta.
 * @param {boolean} isRing Is ring.
 * @param {number} x X.
 * @param {number} y Y.
 * @param {Array<number>} closestPoint Closest point.
 * @param {number} minSquaredDistance Minimum squared distance.
 * @param {Array<number>} [tmpPoint] Temporary point object.
 * @return {number} Minimum squared distance.
 */
function assignClosestArrayPoint(
  flatCoordinates,
  offset,
  ends,
  stride,
  maxDelta,
  isRing,
  x,
  y,
  closestPoint,
  minSquaredDistance,
  tmpPoint,
) {
  tmpPoint = tmpPoint ? tmpPoint : [NaN, NaN];
  for (let i = 0, ii = ends.length; i < ii; ++i) {
    const end = ends[i];
    minSquaredDistance = assignClosestPoint(
      flatCoordinates,
      offset,
      end,
      stride,
      maxDelta,
      isRing,
      x,
      y,
      closestPoint,
      minSquaredDistance,
      tmpPoint,
    );
    offset = end;
  }
  return minSquaredDistance;
}

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<Array<number>>} endss Endss.
 * @param {number} stride Stride.
 * @param {number} maxDelta Max delta.
 * @param {boolean} isRing Is ring.
 * @param {number} x X.
 * @param {number} y Y.
 * @param {Array<number>} closestPoint Closest point.
 * @param {number} minSquaredDistance Minimum squared distance.
 * @param {Array<number>} [tmpPoint] Temporary point object.
 * @return {number} Minimum squared distance.
 */
function assignClosestMultiArrayPoint(
  flatCoordinates,
  offset,
  endss,
  stride,
  maxDelta,
  isRing,
  x,
  y,
  closestPoint,
  minSquaredDistance,
  tmpPoint,
) {
  tmpPoint = tmpPoint ? tmpPoint : [NaN, NaN];
  for (let i = 0, ii = endss.length; i < ii; ++i) {
    const ends = endss[i];
    minSquaredDistance = assignClosestArrayPoint(
      flatCoordinates,
      offset,
      ends,
      stride,
      maxDelta,
      isRing,
      x,
      y,
      closestPoint,
      minSquaredDistance,
      tmpPoint,
    );
    offset = ends[ends.length - 1];
  }
  return minSquaredDistance;
}

;// CONCATENATED MODULE: ./node_modules/ol/geom/flat/deflate.js
/**
 * @module ol/geom/flat/deflate
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {import("../../coordinate.js").Coordinate} coordinate Coordinate.
 * @param {number} stride Stride.
 * @return {number} offset Offset.
 */
function deflateCoordinate(flatCoordinates, offset, coordinate, stride) {
  for (let i = 0, ii = coordinate.length; i < ii; ++i) {
    flatCoordinates[offset++] = coordinate[i];
  }
  return offset;
}

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<import("../../coordinate.js").Coordinate>} coordinates Coordinates.
 * @param {number} stride Stride.
 * @return {number} offset Offset.
 */
function deflateCoordinates(
  flatCoordinates,
  offset,
  coordinates,
  stride,
) {
  for (let i = 0, ii = coordinates.length; i < ii; ++i) {
    const coordinate = coordinates[i];
    for (let j = 0; j < stride; ++j) {
      flatCoordinates[offset++] = coordinate[j];
    }
  }
  return offset;
}

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<Array<import("../../coordinate.js").Coordinate>>} coordinatess Coordinatess.
 * @param {number} stride Stride.
 * @param {Array<number>} [ends] Ends.
 * @return {Array<number>} Ends.
 */
function deflateCoordinatesArray(
  flatCoordinates,
  offset,
  coordinatess,
  stride,
  ends,
) {
  ends = ends ? ends : [];
  let i = 0;
  for (let j = 0, jj = coordinatess.length; j < jj; ++j) {
    const end = deflateCoordinates(
      flatCoordinates,
      offset,
      coordinatess[j],
      stride,
    );
    ends[i++] = end;
    offset = end;
  }
  ends.length = i;
  return ends;
}

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<Array<Array<import("../../coordinate.js").Coordinate>>>} coordinatesss Coordinatesss.
 * @param {number} stride Stride.
 * @param {Array<Array<number>>} [endss] Endss.
 * @return {Array<Array<number>>} Endss.
 */
function deflateMultiCoordinatesArray(
  flatCoordinates,
  offset,
  coordinatesss,
  stride,
  endss,
) {
  endss = endss ? endss : [];
  let i = 0;
  for (let j = 0, jj = coordinatesss.length; j < jj; ++j) {
    const ends = deflateCoordinatesArray(
      flatCoordinates,
      offset,
      coordinatesss[j],
      stride,
      endss[i],
    );
    if (ends.length === 0) {
      ends[0] = offset;
    }
    endss[i++] = ends;
    offset = ends[ends.length - 1];
  }
  endss.length = i;
  return endss;
}

;// CONCATENATED MODULE: ./node_modules/ol/geom/flat/inflate.js
/**
 * @module ol/geom/flat/inflate
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @param {Array<import("../../coordinate.js").Coordinate>} [coordinates] Coordinates.
 * @return {Array<import("../../coordinate.js").Coordinate>} Coordinates.
 */
function inflateCoordinates(
  flatCoordinates,
  offset,
  end,
  stride,
  coordinates,
) {
  coordinates = coordinates !== undefined ? coordinates : [];
  let i = 0;
  for (let j = offset; j < end; j += stride) {
    coordinates[i++] = flatCoordinates.slice(j, j + stride);
  }
  coordinates.length = i;
  return coordinates;
}

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<number>} ends Ends.
 * @param {number} stride Stride.
 * @param {Array<Array<import("../../coordinate.js").Coordinate>>} [coordinatess] Coordinatess.
 * @return {Array<Array<import("../../coordinate.js").Coordinate>>} Coordinatess.
 */
function inflateCoordinatesArray(
  flatCoordinates,
  offset,
  ends,
  stride,
  coordinatess,
) {
  coordinatess = coordinatess !== undefined ? coordinatess : [];
  let i = 0;
  for (let j = 0, jj = ends.length; j < jj; ++j) {
    const end = ends[j];
    coordinatess[i++] = inflateCoordinates(
      flatCoordinates,
      offset,
      end,
      stride,
      coordinatess[i],
    );
    offset = end;
  }
  coordinatess.length = i;
  return coordinatess;
}

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<Array<number>>} endss Endss.
 * @param {number} stride Stride.
 * @param {Array<Array<Array<import("../../coordinate.js").Coordinate>>>} [coordinatesss]
 *     Coordinatesss.
 * @return {Array<Array<Array<import("../../coordinate.js").Coordinate>>>} Coordinatesss.
 */
function inflateMultiCoordinatesArray(
  flatCoordinates,
  offset,
  endss,
  stride,
  coordinatesss,
) {
  coordinatesss = coordinatesss !== undefined ? coordinatesss : [];
  let i = 0;
  for (let j = 0, jj = endss.length; j < jj; ++j) {
    const ends = endss[j];
    coordinatesss[i++] =
      ends.length === 1 && ends[0] === offset
        ? []
        : inflateCoordinatesArray(
            flatCoordinates,
            offset,
            ends,
            stride,
            coordinatesss[i],
          );
    offset = ends[ends.length - 1];
  }
  coordinatesss.length = i;
  return coordinatesss;
}

;// CONCATENATED MODULE: ./node_modules/ol/geom/flat/simplify.js
/**
 * @module ol/geom/flat/simplify
 */
// Based on simplify-js https://github.com/mourner/simplify-js
// Copyright (c) 2012, Vladimir Agafonkin
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
//    1. Redistributions of source code must retain the above copyright notice,
//       this list of conditions and the following disclaimer.
//
//    2. Redistributions in binary form must reproduce the above copyright
//       notice, this list of conditions and the following disclaimer in the
//       documentation and/or other materials provided with the distribution.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.



/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @param {number} squaredTolerance Squared tolerance.
 * @param {boolean} highQuality Highest quality.
 * @param {Array<number>} [simplifiedFlatCoordinates] Simplified flat
 *     coordinates.
 * @return {Array<number>} Simplified line string.
 */
function simplifyLineString(
  flatCoordinates,
  offset,
  end,
  stride,
  squaredTolerance,
  highQuality,
  simplifiedFlatCoordinates,
) {
  simplifiedFlatCoordinates =
    simplifiedFlatCoordinates !== undefined ? simplifiedFlatCoordinates : [];
  if (!highQuality) {
    end = radialDistance(
      flatCoordinates,
      offset,
      end,
      stride,
      squaredTolerance,
      simplifiedFlatCoordinates,
      0,
    );
    flatCoordinates = simplifiedFlatCoordinates;
    offset = 0;
    stride = 2;
  }
  simplifiedFlatCoordinates.length = douglasPeucker(
    flatCoordinates,
    offset,
    end,
    stride,
    squaredTolerance,
    simplifiedFlatCoordinates,
    0,
  );
  return simplifiedFlatCoordinates;
}

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @param {number} squaredTolerance Squared tolerance.
 * @param {Array<number>} simplifiedFlatCoordinates Simplified flat
 *     coordinates.
 * @param {number} simplifiedOffset Simplified offset.
 * @return {number} Simplified offset.
 */
function douglasPeucker(
  flatCoordinates,
  offset,
  end,
  stride,
  squaredTolerance,
  simplifiedFlatCoordinates,
  simplifiedOffset,
) {
  const n = (end - offset) / stride;
  if (n < 3) {
    for (; offset < end; offset += stride) {
      simplifiedFlatCoordinates[simplifiedOffset++] = flatCoordinates[offset];
      simplifiedFlatCoordinates[simplifiedOffset++] =
        flatCoordinates[offset + 1];
    }
    return simplifiedOffset;
  }
  /** @type {Array<number>} */
  const markers = new Array(n);
  markers[0] = 1;
  markers[n - 1] = 1;
  /** @type {Array<number>} */
  const stack = [offset, end - stride];
  let index = 0;
  while (stack.length > 0) {
    const last = stack.pop();
    const first = stack.pop();
    let maxSquaredDistance = 0;
    const x1 = flatCoordinates[first];
    const y1 = flatCoordinates[first + 1];
    const x2 = flatCoordinates[last];
    const y2 = flatCoordinates[last + 1];
    for (let i = first + stride; i < last; i += stride) {
      const x = flatCoordinates[i];
      const y = flatCoordinates[i + 1];
      const squaredDistance = squaredSegmentDistance(x, y, x1, y1, x2, y2);
      if (squaredDistance > maxSquaredDistance) {
        index = i;
        maxSquaredDistance = squaredDistance;
      }
    }
    if (maxSquaredDistance > squaredTolerance) {
      markers[(index - offset) / stride] = 1;
      if (first + stride < index) {
        stack.push(first, index);
      }
      if (index + stride < last) {
        stack.push(index, last);
      }
    }
  }
  for (let i = 0; i < n; ++i) {
    if (markers[i]) {
      simplifiedFlatCoordinates[simplifiedOffset++] =
        flatCoordinates[offset + i * stride];
      simplifiedFlatCoordinates[simplifiedOffset++] =
        flatCoordinates[offset + i * stride + 1];
    }
  }
  return simplifiedOffset;
}

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<number>} ends Ends.
 * @param {number} stride Stride.
 * @param {number} squaredTolerance Squared tolerance.
 * @param {Array<number>} simplifiedFlatCoordinates Simplified flat
 *     coordinates.
 * @param {number} simplifiedOffset Simplified offset.
 * @param {Array<number>} simplifiedEnds Simplified ends.
 * @return {number} Simplified offset.
 */
function douglasPeuckerArray(
  flatCoordinates,
  offset,
  ends,
  stride,
  squaredTolerance,
  simplifiedFlatCoordinates,
  simplifiedOffset,
  simplifiedEnds,
) {
  for (let i = 0, ii = ends.length; i < ii; ++i) {
    const end = ends[i];
    simplifiedOffset = douglasPeucker(
      flatCoordinates,
      offset,
      end,
      stride,
      squaredTolerance,
      simplifiedFlatCoordinates,
      simplifiedOffset,
    );
    simplifiedEnds.push(simplifiedOffset);
    offset = end;
  }
  return simplifiedOffset;
}

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<Array<number>>} endss Endss.
 * @param {number} stride Stride.
 * @param {number} squaredTolerance Squared tolerance.
 * @param {Array<number>} simplifiedFlatCoordinates Simplified flat
 *     coordinates.
 * @param {number} simplifiedOffset Simplified offset.
 * @param {Array<Array<number>>} simplifiedEndss Simplified endss.
 * @return {number} Simplified offset.
 */
function douglasPeuckerMultiArray(
  flatCoordinates,
  offset,
  endss,
  stride,
  squaredTolerance,
  simplifiedFlatCoordinates,
  simplifiedOffset,
  simplifiedEndss,
) {
  for (let i = 0, ii = endss.length; i < ii; ++i) {
    const ends = endss[i];
    /** @type {Array<number>} */
    const simplifiedEnds = [];
    simplifiedOffset = douglasPeuckerArray(
      flatCoordinates,
      offset,
      ends,
      stride,
      squaredTolerance,
      simplifiedFlatCoordinates,
      simplifiedOffset,
      simplifiedEnds,
    );
    simplifiedEndss.push(simplifiedEnds);
    offset = ends[ends.length - 1];
  }
  return simplifiedOffset;
}

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @param {number} squaredTolerance Squared tolerance.
 * @param {Array<number>} simplifiedFlatCoordinates Simplified flat
 *     coordinates.
 * @param {number} simplifiedOffset Simplified offset.
 * @return {number} Simplified offset.
 */
function radialDistance(
  flatCoordinates,
  offset,
  end,
  stride,
  squaredTolerance,
  simplifiedFlatCoordinates,
  simplifiedOffset,
) {
  if (end <= offset + stride) {
    // zero or one point, no simplification possible, so copy and return
    for (; offset < end; offset += stride) {
      simplifiedFlatCoordinates[simplifiedOffset++] = flatCoordinates[offset];
      simplifiedFlatCoordinates[simplifiedOffset++] =
        flatCoordinates[offset + 1];
    }
    return simplifiedOffset;
  }
  let x1 = flatCoordinates[offset];
  let y1 = flatCoordinates[offset + 1];
  // copy first point
  simplifiedFlatCoordinates[simplifiedOffset++] = x1;
  simplifiedFlatCoordinates[simplifiedOffset++] = y1;
  let x2 = x1;
  let y2 = y1;
  for (offset += stride; offset < end; offset += stride) {
    x2 = flatCoordinates[offset];
    y2 = flatCoordinates[offset + 1];
    if (squaredDistance(x1, y1, x2, y2) > squaredTolerance) {
      // copy point at offset
      simplifiedFlatCoordinates[simplifiedOffset++] = x2;
      simplifiedFlatCoordinates[simplifiedOffset++] = y2;
      x1 = x2;
      y1 = y2;
    }
  }
  if (x2 != x1 || y2 != y1) {
    // copy last point
    simplifiedFlatCoordinates[simplifiedOffset++] = x2;
    simplifiedFlatCoordinates[simplifiedOffset++] = y2;
  }
  return simplifiedOffset;
}

/**
 * @param {number} value Value.
 * @param {number} tolerance Tolerance.
 * @return {number} Rounded value.
 */
function snap(value, tolerance) {
  return tolerance * Math.round(value / tolerance);
}

/**
 * Simplifies a line string using an algorithm designed by Tim Schaub.
 * Coordinates are snapped to the nearest value in a virtual grid and
 * consecutive duplicate coordinates are discarded.  This effectively preserves
 * topology as the simplification of any subsection of a line string is
 * independent of the rest of the line string.  This means that, for examples,
 * the common edge between two polygons will be simplified to the same line
 * string independently in both polygons.  This implementation uses a single
 * pass over the coordinates and eliminates intermediate collinear points.
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @param {number} tolerance Tolerance.
 * @param {Array<number>} simplifiedFlatCoordinates Simplified flat
 *     coordinates.
 * @param {number} simplifiedOffset Simplified offset.
 * @return {number} Simplified offset.
 */
function quantize(
  flatCoordinates,
  offset,
  end,
  stride,
  tolerance,
  simplifiedFlatCoordinates,
  simplifiedOffset,
) {
  // do nothing if the line is empty
  if (offset == end) {
    return simplifiedOffset;
  }
  // snap the first coordinate (P1)
  let x1 = snap(flatCoordinates[offset], tolerance);
  let y1 = snap(flatCoordinates[offset + 1], tolerance);
  offset += stride;
  // add the first coordinate to the output
  simplifiedFlatCoordinates[simplifiedOffset++] = x1;
  simplifiedFlatCoordinates[simplifiedOffset++] = y1;
  // find the next coordinate that does not snap to the same value as the first
  // coordinate (P2)
  let x2, y2;
  do {
    x2 = snap(flatCoordinates[offset], tolerance);
    y2 = snap(flatCoordinates[offset + 1], tolerance);
    offset += stride;
    if (offset == end) {
      // all coordinates snap to the same value, the line collapses to a point
      // push the last snapped value anyway to ensure that the output contains
      // at least two points
      // FIXME should we really return at least two points anyway?
      simplifiedFlatCoordinates[simplifiedOffset++] = x2;
      simplifiedFlatCoordinates[simplifiedOffset++] = y2;
      return simplifiedOffset;
    }
  } while (x2 == x1 && y2 == y1);
  while (offset < end) {
    // snap the next coordinate (P3)
    const x3 = snap(flatCoordinates[offset], tolerance);
    const y3 = snap(flatCoordinates[offset + 1], tolerance);
    offset += stride;
    // skip P3 if it is equal to P2
    if (x3 == x2 && y3 == y2) {
      continue;
    }
    // calculate the delta between P1 and P2
    const dx1 = x2 - x1;
    const dy1 = y2 - y1;
    // calculate the delta between P3 and P1
    const dx2 = x3 - x1;
    const dy2 = y3 - y1;
    // if P1, P2, and P3 are colinear and P3 is further from P1 than P2 is from
    // P1 in the same direction then P2 is on the straight line between P1 and
    // P3
    if (
      dx1 * dy2 == dy1 * dx2 &&
      ((dx1 < 0 && dx2 < dx1) || dx1 == dx2 || (dx1 > 0 && dx2 > dx1)) &&
      ((dy1 < 0 && dy2 < dy1) || dy1 == dy2 || (dy1 > 0 && dy2 > dy1))
    ) {
      // discard P2 and set P2 = P3
      x2 = x3;
      y2 = y3;
      continue;
    }
    // either P1, P2, and P3 are not colinear, or they are colinear but P3 is
    // between P3 and P1 or on the opposite half of the line to P2.  add P2,
    // and continue with P1 = P2 and P2 = P3
    simplifiedFlatCoordinates[simplifiedOffset++] = x2;
    simplifiedFlatCoordinates[simplifiedOffset++] = y2;
    x1 = x2;
    y1 = y2;
    x2 = x3;
    y2 = y3;
  }
  // add the last point (P2)
  simplifiedFlatCoordinates[simplifiedOffset++] = x2;
  simplifiedFlatCoordinates[simplifiedOffset++] = y2;
  return simplifiedOffset;
}

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<number>} ends Ends.
 * @param {number} stride Stride.
 * @param {number} tolerance Tolerance.
 * @param {Array<number>} simplifiedFlatCoordinates Simplified flat
 *     coordinates.
 * @param {number} simplifiedOffset Simplified offset.
 * @param {Array<number>} simplifiedEnds Simplified ends.
 * @return {number} Simplified offset.
 */
function quantizeArray(
  flatCoordinates,
  offset,
  ends,
  stride,
  tolerance,
  simplifiedFlatCoordinates,
  simplifiedOffset,
  simplifiedEnds,
) {
  for (let i = 0, ii = ends.length; i < ii; ++i) {
    const end = ends[i];
    simplifiedOffset = quantize(
      flatCoordinates,
      offset,
      end,
      stride,
      tolerance,
      simplifiedFlatCoordinates,
      simplifiedOffset,
    );
    simplifiedEnds.push(simplifiedOffset);
    offset = end;
  }
  return simplifiedOffset;
}

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<Array<number>>} endss Endss.
 * @param {number} stride Stride.
 * @param {number} tolerance Tolerance.
 * @param {Array<number>} simplifiedFlatCoordinates Simplified flat
 *     coordinates.
 * @param {number} simplifiedOffset Simplified offset.
 * @param {Array<Array<number>>} simplifiedEndss Simplified endss.
 * @return {number} Simplified offset.
 */
function quantizeMultiArray(
  flatCoordinates,
  offset,
  endss,
  stride,
  tolerance,
  simplifiedFlatCoordinates,
  simplifiedOffset,
  simplifiedEndss,
) {
  for (let i = 0, ii = endss.length; i < ii; ++i) {
    const ends = endss[i];
    /** @type {Array<number>} */
    const simplifiedEnds = [];
    simplifiedOffset = quantizeArray(
      flatCoordinates,
      offset,
      ends,
      stride,
      tolerance,
      simplifiedFlatCoordinates,
      simplifiedOffset,
      simplifiedEnds,
    );
    simplifiedEndss.push(simplifiedEnds);
    offset = ends[ends.length - 1];
  }
  return simplifiedOffset;
}

;// CONCATENATED MODULE: ./node_modules/ol/geom/LinearRing.js
/**
 * @module ol/geom/LinearRing
 */








/**
 * @classdesc
 * Linear ring geometry. Only used as part of polygon; cannot be rendered
 * on its own.
 *
 * @api
 */
class LinearRing extends geom_SimpleGeometry {
  /**
   * @param {Array<import("../coordinate.js").Coordinate>|Array<number>} coordinates Coordinates.
   *     For internal use, flat coordinates in combination with `layout` are also accepted.
   * @param {import("./Geometry.js").GeometryLayout} [layout] Layout.
   */
  constructor(coordinates, layout) {
    super();

    /**
     * @private
     * @type {number}
     */
    this.maxDelta_ = -1;

    /**
     * @private
     * @type {number}
     */
    this.maxDeltaRevision_ = -1;

    if (layout !== undefined && !Array.isArray(coordinates[0])) {
      this.setFlatCoordinates(
        layout,
        /** @type {Array<number>} */ (coordinates),
      );
    } else {
      this.setCoordinates(
        /** @type {Array<import("../coordinate.js").Coordinate>} */ (
          coordinates
        ),
        layout,
      );
    }
  }

  /**
   * Make a complete copy of the geometry.
   * @return {!LinearRing} Clone.
   * @api
   * @override
   */
  clone() {
    return new LinearRing(this.flatCoordinates.slice(), this.layout);
  }

  /**
   * @param {number} x X.
   * @param {number} y Y.
   * @param {import("../coordinate.js").Coordinate} closestPoint Closest point.
   * @param {number} minSquaredDistance Minimum squared distance.
   * @return {number} Minimum squared distance.
   * @override
   */
  closestPointXY(x, y, closestPoint, minSquaredDistance) {
    if (minSquaredDistance < closestSquaredDistanceXY(this.getExtent(), x, y)) {
      return minSquaredDistance;
    }
    if (this.maxDeltaRevision_ != this.getRevision()) {
      this.maxDelta_ = Math.sqrt(
        maxSquaredDelta(
          this.flatCoordinates,
          0,
          this.flatCoordinates.length,
          this.stride,
          0,
        ),
      );
      this.maxDeltaRevision_ = this.getRevision();
    }
    return assignClosestPoint(
      this.flatCoordinates,
      0,
      this.flatCoordinates.length,
      this.stride,
      this.maxDelta_,
      true,
      x,
      y,
      closestPoint,
      minSquaredDistance,
    );
  }

  /**
   * Return the area of the linear ring on projected plane.
   * @return {number} Area (on projected plane).
   * @api
   */
  getArea() {
    return linearRing(
      this.flatCoordinates,
      0,
      this.flatCoordinates.length,
      this.stride,
    );
  }

  /**
   * Return the coordinates of the linear ring.
   * @return {Array<import("../coordinate.js").Coordinate>} Coordinates.
   * @api
   * @override
   */
  getCoordinates() {
    return inflateCoordinates(
      this.flatCoordinates,
      0,
      this.flatCoordinates.length,
      this.stride,
    );
  }

  /**
   * @param {number} squaredTolerance Squared tolerance.
   * @return {LinearRing} Simplified LinearRing.
   * @protected
   * @override
   */
  getSimplifiedGeometryInternal(squaredTolerance) {
    /** @type {Array<number>} */
    const simplifiedFlatCoordinates = [];
    simplifiedFlatCoordinates.length = douglasPeucker(
      this.flatCoordinates,
      0,
      this.flatCoordinates.length,
      this.stride,
      squaredTolerance,
      simplifiedFlatCoordinates,
      0,
    );
    return new LinearRing(simplifiedFlatCoordinates, 'XY');
  }

  /**
   * Get the type of this geometry.
   * @return {import("./Geometry.js").Type} Geometry type.
   * @api
   * @override
   */
  getType() {
    return 'LinearRing';
  }

  /**
   * Test if the geometry and the passed extent intersect.
   * @param {import("../extent.js").Extent} extent Extent.
   * @return {boolean} `true` if the geometry and the extent intersect.
   * @api
   * @override
   */
  intersectsExtent(extent) {
    return false;
  }

  /**
   * Set the coordinates of the linear ring.
   * @param {!Array<import("../coordinate.js").Coordinate>} coordinates Coordinates.
   * @param {import("./Geometry.js").GeometryLayout} [layout] Layout.
   * @api
   * @override
   */
  setCoordinates(coordinates, layout) {
    this.setLayout(layout, coordinates, 1);
    if (!this.flatCoordinates) {
      this.flatCoordinates = [];
    }
    this.flatCoordinates.length = deflateCoordinates(
      this.flatCoordinates,
      0,
      coordinates,
      this.stride,
    );
    this.changed();
  }
}

/* harmony default export */ const geom_LinearRing = (LinearRing);

;// CONCATENATED MODULE: ./node_modules/ol/geom/Point.js
/**
 * @module ol/geom/Point
 */





/**
 * @classdesc
 * Point geometry.
 *
 * @api
 */
class Point_Point extends geom_SimpleGeometry {
  /**
   * @param {import("../coordinate.js").Coordinate} coordinates Coordinates.
   * @param {import("./Geometry.js").GeometryLayout} [layout] Layout.
   */
  constructor(coordinates, layout) {
    super();
    this.setCoordinates(coordinates, layout);
  }

  /**
   * Make a complete copy of the geometry.
   * @return {!Point} Clone.
   * @api
   * @override
   */
  clone() {
    const point = new Point_Point(this.flatCoordinates.slice(), this.layout);
    point.applyProperties(this);
    return point;
  }

  /**
   * @param {number} x X.
   * @param {number} y Y.
   * @param {import("../coordinate.js").Coordinate} closestPoint Closest point.
   * @param {number} minSquaredDistance Minimum squared distance.
   * @return {number} Minimum squared distance.
   * @override
   */
  closestPointXY(x, y, closestPoint, minSquaredDistance) {
    const flatCoordinates = this.flatCoordinates;
    const squaredDistance = math_squaredDistance(
      x,
      y,
      flatCoordinates[0],
      flatCoordinates[1],
    );
    if (squaredDistance < minSquaredDistance) {
      const stride = this.stride;
      for (let i = 0; i < stride; ++i) {
        closestPoint[i] = flatCoordinates[i];
      }
      closestPoint.length = stride;
      return squaredDistance;
    }
    return minSquaredDistance;
  }

  /**
   * Return the coordinate of the point.
   * @return {import("../coordinate.js").Coordinate} Coordinates.
   * @api
   * @override
   */
  getCoordinates() {
    return this.flatCoordinates.slice();
  }

  /**
   * @param {import("../extent.js").Extent} extent Extent.
   * @protected
   * @return {import("../extent.js").Extent} extent Extent.
   * @override
   */
  computeExtent(extent) {
    return createOrUpdateFromCoordinate(this.flatCoordinates, extent);
  }

  /**
   * Get the type of this geometry.
   * @return {import("./Geometry.js").Type} Geometry type.
   * @api
   * @override
   */
  getType() {
    return 'Point';
  }

  /**
   * Test if the geometry and the passed extent intersect.
   * @param {import("../extent.js").Extent} extent Extent.
   * @return {boolean} `true` if the geometry and the extent intersect.
   * @api
   * @override
   */
  intersectsExtent(extent) {
    return containsXY(extent, this.flatCoordinates[0], this.flatCoordinates[1]);
  }

  /**
   * @param {!Array<*>} coordinates Coordinates.
   * @param {import("./Geometry.js").GeometryLayout} [layout] Layout.
   * @api
   * @override
   */
  setCoordinates(coordinates, layout) {
    this.setLayout(layout, coordinates, 0);
    if (!this.flatCoordinates) {
      this.flatCoordinates = [];
    }
    this.flatCoordinates.length = deflateCoordinate(
      this.flatCoordinates,
      0,
      coordinates,
      this.stride,
    );
    this.changed();
  }
}

/* harmony default export */ const geom_Point = (Point_Point);

;// CONCATENATED MODULE: ./node_modules/ol/geom/flat/contains.js
/**
 * @module ol/geom/flat/contains
 */


/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @param {import("../../extent.js").Extent} extent Extent.
 * @return {boolean} Contains extent.
 */
function linearRingContainsExtent(
  flatCoordinates,
  offset,
  end,
  stride,
  extent,
) {
  const outside = forEachCorner(
    extent,
    /**
     * @param {import("../../coordinate.js").Coordinate} coordinate Coordinate.
     * @return {boolean} Contains (x, y).
     */
    function (coordinate) {
      return !linearRingContainsXY(
        flatCoordinates,
        offset,
        end,
        stride,
        coordinate[0],
        coordinate[1],
      );
    },
  );
  return !outside;
}

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @param {number} x X.
 * @param {number} y Y.
 * @return {boolean} Contains (x, y).
 */
function linearRingContainsXY(
  flatCoordinates,
  offset,
  end,
  stride,
  x,
  y,
) {
  // https://geomalgorithms.com/a03-_inclusion.html
  // Copyright 2000 softSurfer, 2012 Dan Sunday
  // This code may be freely used and modified for any purpose
  // providing that this copyright notice is included with it.
  // SoftSurfer makes no warranty for this code, and cannot be held
  // liable for any real or imagined damage resulting from its use.
  // Users of this code must verify correctness for their application.
  let wn = 0;
  let x1 = flatCoordinates[end - stride];
  let y1 = flatCoordinates[end - stride + 1];
  for (; offset < end; offset += stride) {
    const x2 = flatCoordinates[offset];
    const y2 = flatCoordinates[offset + 1];
    if (y1 <= y) {
      if (y2 > y && (x2 - x1) * (y - y1) - (x - x1) * (y2 - y1) > 0) {
        wn++;
      }
    } else if (y2 <= y && (x2 - x1) * (y - y1) - (x - x1) * (y2 - y1) < 0) {
      wn--;
    }
    x1 = x2;
    y1 = y2;
  }
  return wn !== 0;
}

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<number>} ends Ends.
 * @param {number} stride Stride.
 * @param {number} x X.
 * @param {number} y Y.
 * @return {boolean} Contains (x, y).
 */
function linearRingsContainsXY(
  flatCoordinates,
  offset,
  ends,
  stride,
  x,
  y,
) {
  if (ends.length === 0) {
    return false;
  }
  if (!linearRingContainsXY(flatCoordinates, offset, ends[0], stride, x, y)) {
    return false;
  }
  for (let i = 1, ii = ends.length; i < ii; ++i) {
    if (
      linearRingContainsXY(flatCoordinates, ends[i - 1], ends[i], stride, x, y)
    ) {
      return false;
    }
  }
  return true;
}

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<Array<number>>} endss Endss.
 * @param {number} stride Stride.
 * @param {number} x X.
 * @param {number} y Y.
 * @return {boolean} Contains (x, y).
 */
function linearRingssContainsXY(
  flatCoordinates,
  offset,
  endss,
  stride,
  x,
  y,
) {
  if (endss.length === 0) {
    return false;
  }
  for (let i = 0, ii = endss.length; i < ii; ++i) {
    const ends = endss[i];
    if (linearRingsContainsXY(flatCoordinates, offset, ends, stride, x, y)) {
      return true;
    }
    offset = ends[ends.length - 1];
  }
  return false;
}

;// CONCATENATED MODULE: ./node_modules/ol/geom/flat/interiorpoint.js
/**
 * @module ol/geom/flat/interiorpoint
 */



/**
 * Calculates a point that is likely to lie in the interior of the linear rings.
 * Inspired by JTS's com.vividsolutions.jts.geom.Geometry#getInteriorPoint.
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<number>} ends Ends.
 * @param {number} stride Stride.
 * @param {Array<number>} flatCenters Flat centers.
 * @param {number} flatCentersOffset Flat center offset.
 * @param {Array<number>} [dest] Destination.
 * @return {Array<number>} Destination point as XYM coordinate, where M is the
 * length of the horizontal intersection that the point belongs to.
 */
function getInteriorPointOfArray(
  flatCoordinates,
  offset,
  ends,
  stride,
  flatCenters,
  flatCentersOffset,
  dest,
) {
  let i, ii, x, x1, x2, y1, y2;
  const y = flatCenters[flatCentersOffset + 1];
  /** @type {Array<number>} */
  const intersections = [];
  // Calculate intersections with the horizontal line
  for (let r = 0, rr = ends.length; r < rr; ++r) {
    const end = ends[r];
    x1 = flatCoordinates[end - stride];
    y1 = flatCoordinates[end - stride + 1];
    for (i = offset; i < end; i += stride) {
      x2 = flatCoordinates[i];
      y2 = flatCoordinates[i + 1];
      if ((y <= y1 && y2 <= y) || (y1 <= y && y <= y2)) {
        x = ((y - y1) / (y2 - y1)) * (x2 - x1) + x1;
        intersections.push(x);
      }
      x1 = x2;
      y1 = y2;
    }
  }
  // Find the longest segment of the horizontal line that has its center point
  // inside the linear ring.
  let pointX = NaN;
  let maxSegmentLength = -Infinity;
  intersections.sort(ascending);
  x1 = intersections[0];
  for (i = 1, ii = intersections.length; i < ii; ++i) {
    x2 = intersections[i];
    const segmentLength = Math.abs(x2 - x1);
    if (segmentLength > maxSegmentLength) {
      x = (x1 + x2) / 2;
      if (linearRingsContainsXY(flatCoordinates, offset, ends, stride, x, y)) {
        pointX = x;
        maxSegmentLength = segmentLength;
      }
    }
    x1 = x2;
  }
  if (isNaN(pointX)) {
    // There is no horizontal line that has its center point inside the linear
    // ring.  Use the center of the the linear ring's extent.
    pointX = flatCenters[flatCentersOffset];
  }
  if (dest) {
    dest.push(pointX, y, maxSegmentLength);
    return dest;
  }
  return [pointX, y, maxSegmentLength];
}

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<Array<number>>} endss Endss.
 * @param {number} stride Stride.
 * @param {Array<number>} flatCenters Flat centers.
 * @return {Array<number>} Interior points as XYM coordinates, where M is the
 * length of the horizontal intersection that the point belongs to.
 */
function getInteriorPointsOfMultiArray(
  flatCoordinates,
  offset,
  endss,
  stride,
  flatCenters,
) {
  /** @type {Array<number>} */
  let interiorPoints = [];
  for (let i = 0, ii = endss.length; i < ii; ++i) {
    const ends = endss[i];
    interiorPoints = getInteriorPointOfArray(
      flatCoordinates,
      offset,
      ends,
      stride,
      flatCenters,
      2 * i,
      interiorPoints,
    );
    offset = ends[ends.length - 1];
  }
  return interiorPoints;
}

;// CONCATENATED MODULE: ./node_modules/ol/geom/flat/segments.js
/**
 * @module ol/geom/flat/segments
 */

/**
 * This function calls `callback` for each segment of the flat coordinates
 * array. If the callback returns a truthy value the function returns that
 * value immediately. Otherwise the function returns `false`.
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @param {function(import("../../coordinate.js").Coordinate, import("../../coordinate.js").Coordinate): T} callback Function
 *     called for each segment.
 * @return {T|boolean} Value.
 * @template T
 */
function segments_forEach(flatCoordinates, offset, end, stride, callback) {
  let ret;
  offset += stride;
  for (; offset < end; offset += stride) {
    ret = callback(
      flatCoordinates.slice(offset - stride, offset),
      flatCoordinates.slice(offset, offset + stride),
    );
    if (ret) {
      return ret;
    }
  }
  return false;
}

/**
 * Calculate the intersection point of two line segments.
 * Reference: https://stackoverflow.com/a/72474223/2389327
 * @param {Array<import("../../coordinate.js").Coordinate>} segment1 The first line segment as an array of two points.
 * @param {Array<import("../../coordinate.js").Coordinate>} segment2 The second line segment as an array of two points.
 * @return {import("../../coordinate.js").Coordinate|undefined} The intersection point or `undefined` if no intersection.
 */
function getIntersectionPoint(segment1, segment2) {
  const [a, b] = segment1;
  const [c, d] = segment2;
  const t =
    ((a[0] - c[0]) * (c[1] - d[1]) - (a[1] - c[1]) * (c[0] - d[0])) /
    ((a[0] - b[0]) * (c[1] - d[1]) - (a[1] - b[1]) * (c[0] - d[0]));
  const u =
    ((a[0] - c[0]) * (a[1] - b[1]) - (a[1] - c[1]) * (a[0] - b[0])) /
    ((a[0] - b[0]) * (c[1] - d[1]) - (a[1] - b[1]) * (c[0] - d[0]));

  // Check if lines actually intersect
  if (0 <= t && t <= 1 && 0 <= u && u <= 1) {
    return [a[0] + t * (b[0] - a[0]), a[1] + t * (b[1] - a[1])];
  }
  return undefined;
}

;// CONCATENATED MODULE: ./node_modules/ol/geom/flat/intersectsextent.js
/**
 * @module ol/geom/flat/intersectsextent
 */




/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @param {import("../../extent.js").Extent} extent Extent.
 * @param {import('../../extent.js').Extent} [coordinatesExtent] Coordinates extent
 * @return {boolean} True if the geometry and the extent intersect.
 */
function intersectsLineString(
  flatCoordinates,
  offset,
  end,
  stride,
  extent,
  coordinatesExtent,
) {
  coordinatesExtent =
    coordinatesExtent ??
    extendFlatCoordinates(createEmpty(), flatCoordinates, offset, end, stride);
  if (!intersects(extent, coordinatesExtent)) {
    return false;
  }
  if (
    (coordinatesExtent[0] >= extent[0] && coordinatesExtent[2] <= extent[2]) ||
    (coordinatesExtent[1] >= extent[1] && coordinatesExtent[3] <= extent[3])
  ) {
    return true;
  }
  return segments_forEach(
    flatCoordinates,
    offset,
    end,
    stride,
    /**
     * @param {import("../../coordinate.js").Coordinate} point1 Start point.
     * @param {import("../../coordinate.js").Coordinate} point2 End point.
     * @return {boolean} `true` if the segment and the extent intersect,
     *     `false` otherwise.
     */
    function (point1, point2) {
      return intersectsSegment(extent, point1, point2);
    },
  );
}

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<number>} ends Ends.
 * @param {number} stride Stride.
 * @param {import("../../extent.js").Extent} extent Extent.
 * @return {boolean} True if the geometry and the extent intersect.
 */
function intersectsLineStringArray(
  flatCoordinates,
  offset,
  ends,
  stride,
  extent,
) {
  for (let i = 0, ii = ends.length; i < ii; ++i) {
    if (
      intersectsLineString(flatCoordinates, offset, ends[i], stride, extent)
    ) {
      return true;
    }
    offset = ends[i];
  }
  return false;
}

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @param {import("../../extent.js").Extent} extent Extent.
 * @return {boolean} True if the geometry and the extent intersect.
 */
function intersectsLinearRing(
  flatCoordinates,
  offset,
  end,
  stride,
  extent,
) {
  if (intersectsLineString(flatCoordinates, offset, end, stride, extent)) {
    return true;
  }
  if (
    linearRingContainsXY(
      flatCoordinates,
      offset,
      end,
      stride,
      extent[0],
      extent[1],
    )
  ) {
    return true;
  }
  if (
    linearRingContainsXY(
      flatCoordinates,
      offset,
      end,
      stride,
      extent[0],
      extent[3],
    )
  ) {
    return true;
  }
  if (
    linearRingContainsXY(
      flatCoordinates,
      offset,
      end,
      stride,
      extent[2],
      extent[1],
    )
  ) {
    return true;
  }
  if (
    linearRingContainsXY(
      flatCoordinates,
      offset,
      end,
      stride,
      extent[2],
      extent[3],
    )
  ) {
    return true;
  }
  return false;
}

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<number>} ends Ends.
 * @param {number} stride Stride.
 * @param {import("../../extent.js").Extent} extent Extent.
 * @return {boolean} True if the geometry and the extent intersect.
 */
function intersectsLinearRingArray(
  flatCoordinates,
  offset,
  ends,
  stride,
  extent,
) {
  if (!intersectsLinearRing(flatCoordinates, offset, ends[0], stride, extent)) {
    return false;
  }
  if (ends.length === 1) {
    return true;
  }
  for (let i = 1, ii = ends.length; i < ii; ++i) {
    if (
      linearRingContainsExtent(
        flatCoordinates,
        ends[i - 1],
        ends[i],
        stride,
        extent,
      )
    ) {
      if (
        !intersectsLineString(
          flatCoordinates,
          ends[i - 1],
          ends[i],
          stride,
          extent,
        )
      ) {
        return false;
      }
    }
  }
  return true;
}

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<Array<number>>} endss Endss.
 * @param {number} stride Stride.
 * @param {import("../../extent.js").Extent} extent Extent.
 * @return {boolean} True if the geometry and the extent intersect.
 */
function intersectsLinearRingMultiArray(
  flatCoordinates,
  offset,
  endss,
  stride,
  extent,
) {
  for (let i = 0, ii = endss.length; i < ii; ++i) {
    const ends = endss[i];
    if (
      intersectsLinearRingArray(flatCoordinates, offset, ends, stride, extent)
    ) {
      return true;
    }
    offset = ends[ends.length - 1];
  }
  return false;
}

;// CONCATENATED MODULE: ./node_modules/ol/geom/flat/reverse.js
/**
 * @module ol/geom/flat/reverse
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 */
function coordinates(flatCoordinates, offset, end, stride) {
  while (offset < end - stride) {
    for (let i = 0; i < stride; ++i) {
      const tmp = flatCoordinates[offset + i];
      flatCoordinates[offset + i] = flatCoordinates[end - stride + i];
      flatCoordinates[end - stride + i] = tmp;
    }
    offset += stride;
    end -= stride;
  }
}

;// CONCATENATED MODULE: ./node_modules/ol/geom/flat/orient.js
/**
 * @module ol/geom/flat/orient
 */


/**
 * Is the linear ring oriented clockwise in a coordinate system with a bottom-left
 * coordinate origin? For a coordinate system with a top-left coordinate origin,
 * the ring's orientation is clockwise when this function returns false.
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @return {boolean|undefined} Is clockwise.
 */
function linearRingIsClockwise(flatCoordinates, offset, end, stride) {
  // https://stackoverflow.com/q/1165647/clockwise-method#1165943
  // https://github.com/OSGeo/gdal/blob/master/gdal/ogr/ogrlinearring.cpp
  let edge = 0;
  let x1 = flatCoordinates[end - stride];
  let y1 = flatCoordinates[end - stride + 1];
  for (; offset < end; offset += stride) {
    const x2 = flatCoordinates[offset];
    const y2 = flatCoordinates[offset + 1];
    edge += (x2 - x1) * (y2 + y1);
    x1 = x2;
    y1 = y2;
  }
  return edge === 0 ? undefined : edge > 0;
}

/**
 * Determines if linear rings are oriented.  By default, left-hand orientation
 * is tested (first ring must be clockwise, remaining rings counter-clockwise).
 * To test for right-hand orientation, use the `right` argument.
 *
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<number>} ends Array of end indexes.
 * @param {number} stride Stride.
 * @param {boolean} [right] Test for right-hand orientation
 *     (counter-clockwise exterior ring and clockwise interior rings).
 * @return {boolean} Rings are correctly oriented.
 */
function linearRingsAreOriented(
  flatCoordinates,
  offset,
  ends,
  stride,
  right,
) {
  right = right !== undefined ? right : false;
  for (let i = 0, ii = ends.length; i < ii; ++i) {
    const end = ends[i];
    const isClockwise = linearRingIsClockwise(
      flatCoordinates,
      offset,
      end,
      stride,
    );
    if (i === 0) {
      if ((right && isClockwise) || (!right && !isClockwise)) {
        return false;
      }
    } else {
      if ((right && !isClockwise) || (!right && isClockwise)) {
        return false;
      }
    }
    offset = end;
  }
  return true;
}

/**
 * Determines if linear rings are oriented.  By default, left-hand orientation
 * is tested (first ring must be clockwise, remaining rings counter-clockwise).
 * To test for right-hand orientation, use the `right` argument.
 *
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<Array<number>>} endss Array of array of end indexes.
 * @param {number} stride Stride.
 * @param {boolean} [right] Test for right-hand orientation
 *     (counter-clockwise exterior ring and clockwise interior rings).
 * @return {boolean} Rings are correctly oriented.
 */
function linearRingssAreOriented(
  flatCoordinates,
  offset,
  endss,
  stride,
  right,
) {
  for (let i = 0, ii = endss.length; i < ii; ++i) {
    const ends = endss[i];
    if (!linearRingsAreOriented(flatCoordinates, offset, ends, stride, right)) {
      return false;
    }
    if (ends.length) {
      offset = ends[ends.length - 1];
    }
  }
  return true;
}

/**
 * Orient coordinates in a flat array of linear rings.  By default, rings
 * are oriented following the left-hand rule (clockwise for exterior and
 * counter-clockwise for interior rings).  To orient according to the
 * right-hand rule, use the `right` argument.
 *
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<number>} ends Ends.
 * @param {number} stride Stride.
 * @param {boolean} [right] Follow the right-hand rule for orientation.
 * @return {number} End.
 */
function orientLinearRings(
  flatCoordinates,
  offset,
  ends,
  stride,
  right,
) {
  right = right !== undefined ? right : false;
  for (let i = 0, ii = ends.length; i < ii; ++i) {
    const end = ends[i];
    const isClockwise = linearRingIsClockwise(
      flatCoordinates,
      offset,
      end,
      stride,
    );
    const reverse =
      i === 0
        ? (right && isClockwise) || (!right && !isClockwise)
        : (right && !isClockwise) || (!right && isClockwise);
    if (reverse) {
      coordinates(flatCoordinates, offset, end, stride);
    }
    offset = end;
  }
  return offset;
}

/**
 * Orient coordinates in a flat array of linear rings.  By default, rings
 * are oriented following the left-hand rule (clockwise for exterior and
 * counter-clockwise for interior rings).  To orient according to the
 * right-hand rule, use the `right` argument.
 *
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<Array<number>>} endss Array of array of end indexes.
 * @param {number} stride Stride.
 * @param {boolean} [right] Follow the right-hand rule for orientation.
 * @return {number} End.
 */
function orientLinearRingsArray(
  flatCoordinates,
  offset,
  endss,
  stride,
  right,
) {
  for (let i = 0, ii = endss.length; i < ii; ++i) {
    offset = orientLinearRings(
      flatCoordinates,
      offset,
      endss[i],
      stride,
      right,
    );
  }
  return offset;
}

/**
 * Return a two-dimensional endss
 * @param {Array<number>} flatCoordinates Flat coordinates
 * @param {Array<number>} ends Linear ring end indexes
 * @return {Array<Array<number>>} Two dimensional endss array that can
 * be used to construct a MultiPolygon
 */
function orient_inflateEnds(flatCoordinates, ends) {
  const endss = [];
  let offset = 0;
  let prevEndIndex = 0;
  let startOrientation;
  for (let i = 0, ii = ends.length; i < ii; ++i) {
    const end = ends[i];
    // classifies an array of rings into polygons with outer rings and holes
    const orientation = linearRingIsClockwise(flatCoordinates, offset, end, 2);
    if (startOrientation === undefined) {
      startOrientation = orientation;
    }
    if (orientation === startOrientation) {
      endss.push(ends.slice(prevEndIndex, i + 1));
    } else {
      if (endss.length === 0) {
        continue;
      }
      endss[endss.length - 1].push(ends[prevEndIndex]);
    }
    prevEndIndex = i + 1;
    offset = end;
  }
  return endss;
}

;// CONCATENATED MODULE: ./node_modules/ol/geom/Polygon.js
/**
 * @module ol/geom/Polygon
 */

















/**
 * @classdesc
 * Polygon geometry.
 *
 * @api
 */
class Polygon_Polygon extends geom_SimpleGeometry {
  /**
   * @param {!Array<Array<import("../coordinate.js").Coordinate>>|!Array<number>} coordinates
   *     Array of linear rings that define the polygon. The first linear ring of the
   *     array defines the outer-boundary or surface of the polygon. Each subsequent
   *     linear ring defines a hole in the surface of the polygon. A linear ring is
   *     an array of vertices' coordinates where the first coordinate and the last are
   *     equivalent. (For internal use, flat coordinates in combination with
   *     `layout` and `ends` are also accepted.)
   * @param {import("./Geometry.js").GeometryLayout} [layout] Layout.
   * @param {Array<number>} [ends] Ends (for internal use with flat coordinates).
   */
  constructor(coordinates, layout, ends) {
    super();

    /**
     * @type {Array<number>}
     * @private
     */
    this.ends_ = [];

    /**
     * @private
     * @type {number}
     */
    this.flatInteriorPointRevision_ = -1;

    /**
     * @private
     * @type {import("../coordinate.js").Coordinate|null}
     */
    this.flatInteriorPoint_ = null;

    /**
     * @private
     * @type {number}
     */
    this.maxDelta_ = -1;

    /**
     * @private
     * @type {number}
     */
    this.maxDeltaRevision_ = -1;

    /**
     * @private
     * @type {number}
     */
    this.orientedRevision_ = -1;

    /**
     * @private
     * @type {Array<number>|null}
     */
    this.orientedFlatCoordinates_ = null;

    if (layout !== undefined && ends) {
      this.setFlatCoordinates(
        layout,
        /** @type {Array<number>} */ (coordinates),
      );
      this.ends_ = ends;
    } else {
      this.setCoordinates(
        /** @type {Array<Array<import("../coordinate.js").Coordinate>>} */ (
          coordinates
        ),
        layout,
      );
    }
  }

  /**
   * Append the passed linear ring to this polygon.
   * @param {LinearRing} linearRing Linear ring.
   * @api
   */
  appendLinearRing(linearRing) {
    if (!this.flatCoordinates) {
      this.flatCoordinates = linearRing.getFlatCoordinates().slice();
    } else {
      array_extend(this.flatCoordinates, linearRing.getFlatCoordinates());
    }
    this.ends_.push(this.flatCoordinates.length);
    this.changed();
  }

  /**
   * Make a complete copy of the geometry.
   * @return {!Polygon} Clone.
   * @api
   * @override
   */
  clone() {
    const polygon = new Polygon_Polygon(
      this.flatCoordinates.slice(),
      this.layout,
      this.ends_.slice(),
    );
    polygon.applyProperties(this);
    return polygon;
  }

  /**
   * @param {number} x X.
   * @param {number} y Y.
   * @param {import("../coordinate.js").Coordinate} closestPoint Closest point.
   * @param {number} minSquaredDistance Minimum squared distance.
   * @return {number} Minimum squared distance.
   * @override
   */
  closestPointXY(x, y, closestPoint, minSquaredDistance) {
    if (minSquaredDistance < closestSquaredDistanceXY(this.getExtent(), x, y)) {
      return minSquaredDistance;
    }
    if (this.maxDeltaRevision_ != this.getRevision()) {
      this.maxDelta_ = Math.sqrt(
        arrayMaxSquaredDelta(
          this.flatCoordinates,
          0,
          this.ends_,
          this.stride,
          0,
        ),
      );
      this.maxDeltaRevision_ = this.getRevision();
    }
    return assignClosestArrayPoint(
      this.flatCoordinates,
      0,
      this.ends_,
      this.stride,
      this.maxDelta_,
      true,
      x,
      y,
      closestPoint,
      minSquaredDistance,
    );
  }

  /**
   * @param {number} x X.
   * @param {number} y Y.
   * @return {boolean} Contains (x, y).
   * @override
   */
  containsXY(x, y) {
    return linearRingsContainsXY(
      this.getOrientedFlatCoordinates(),
      0,
      this.ends_,
      this.stride,
      x,
      y,
    );
  }

  /**
   * Return the area of the polygon on projected plane.
   * @return {number} Area (on projected plane).
   * @api
   */
  getArea() {
    return linearRings(
      this.getOrientedFlatCoordinates(),
      0,
      this.ends_,
      this.stride,
    );
  }

  /**
   * Get the coordinate array for this geometry.  This array has the structure
   * of a GeoJSON coordinate array for polygons.
   *
   * @param {boolean} [right] Orient coordinates according to the right-hand
   *     rule (counter-clockwise for exterior and clockwise for interior rings).
   *     If `false`, coordinates will be oriented according to the left-hand rule
   *     (clockwise for exterior and counter-clockwise for interior rings).
   *     By default, coordinate orientation will depend on how the geometry was
   *     constructed.
   * @return {Array<Array<import("../coordinate.js").Coordinate>>} Coordinates.
   * @api
   * @override
   */
  getCoordinates(right) {
    let flatCoordinates;
    if (right !== undefined) {
      flatCoordinates = this.getOrientedFlatCoordinates().slice();
      orientLinearRings(flatCoordinates, 0, this.ends_, this.stride, right);
    } else {
      flatCoordinates = this.flatCoordinates;
    }

    return inflateCoordinatesArray(flatCoordinates, 0, this.ends_, this.stride);
  }

  /**
   * @return {Array<number>} Ends.
   */
  getEnds() {
    return this.ends_;
  }

  /**
   * @return {Array<number>} Interior point.
   */
  getFlatInteriorPoint() {
    if (this.flatInteriorPointRevision_ != this.getRevision()) {
      const flatCenter = getCenter(this.getExtent());
      this.flatInteriorPoint_ = getInteriorPointOfArray(
        this.getOrientedFlatCoordinates(),
        0,
        this.ends_,
        this.stride,
        flatCenter,
        0,
      );
      this.flatInteriorPointRevision_ = this.getRevision();
    }
    return /** @type {import("../coordinate.js").Coordinate} */ (
      this.flatInteriorPoint_
    );
  }

  /**
   * Return an interior point of the polygon.
   * @return {Point} Interior point as XYM coordinate, where M is the
   * length of the horizontal intersection that the point belongs to.
   * @api
   */
  getInteriorPoint() {
    return new geom_Point(this.getFlatInteriorPoint(), 'XYM');
  }

  /**
   * Return the number of rings of the polygon,  this includes the exterior
   * ring and any interior rings.
   *
   * @return {number} Number of rings.
   * @api
   */
  getLinearRingCount() {
    return this.ends_.length;
  }

  /**
   * Return the Nth linear ring of the polygon geometry. Return `null` if the
   * given index is out of range.
   * The exterior linear ring is available at index `0` and the interior rings
   * at index `1` and beyond.
   *
   * @param {number} index Index.
   * @return {LinearRing|null} Linear ring.
   * @api
   */
  getLinearRing(index) {
    if (index < 0 || this.ends_.length <= index) {
      return null;
    }
    return new geom_LinearRing(
      this.flatCoordinates.slice(
        index === 0 ? 0 : this.ends_[index - 1],
        this.ends_[index],
      ),
      this.layout,
    );
  }

  /**
   * Return the linear rings of the polygon.
   * @return {Array<LinearRing>} Linear rings.
   * @api
   */
  getLinearRings() {
    const layout = this.layout;
    const flatCoordinates = this.flatCoordinates;
    const ends = this.ends_;
    const linearRings = [];
    let offset = 0;
    for (let i = 0, ii = ends.length; i < ii; ++i) {
      const end = ends[i];
      const linearRing = new geom_LinearRing(
        flatCoordinates.slice(offset, end),
        layout,
      );
      linearRings.push(linearRing);
      offset = end;
    }
    return linearRings;
  }

  /**
   * @return {Array<number>} Oriented flat coordinates.
   */
  getOrientedFlatCoordinates() {
    if (this.orientedRevision_ != this.getRevision()) {
      const flatCoordinates = this.flatCoordinates;
      if (linearRingsAreOriented(flatCoordinates, 0, this.ends_, this.stride)) {
        this.orientedFlatCoordinates_ = flatCoordinates;
      } else {
        this.orientedFlatCoordinates_ = flatCoordinates.slice();
        this.orientedFlatCoordinates_.length = orientLinearRings(
          this.orientedFlatCoordinates_,
          0,
          this.ends_,
          this.stride,
        );
      }
      this.orientedRevision_ = this.getRevision();
    }
    return /** @type {Array<number>} */ (this.orientedFlatCoordinates_);
  }

  /**
   * @param {number} squaredTolerance Squared tolerance.
   * @return {Polygon} Simplified Polygon.
   * @protected
   * @override
   */
  getSimplifiedGeometryInternal(squaredTolerance) {
    /** @type {Array<number>} */
    const simplifiedFlatCoordinates = [];
    /** @type {Array<number>} */
    const simplifiedEnds = [];
    simplifiedFlatCoordinates.length = quantizeArray(
      this.flatCoordinates,
      0,
      this.ends_,
      this.stride,
      Math.sqrt(squaredTolerance),
      simplifiedFlatCoordinates,
      0,
      simplifiedEnds,
    );
    return new Polygon_Polygon(simplifiedFlatCoordinates, 'XY', simplifiedEnds);
  }

  /**
   * Get the type of this geometry.
   * @return {import("./Geometry.js").Type} Geometry type.
   * @api
   * @override
   */
  getType() {
    return 'Polygon';
  }

  /**
   * Test if the geometry and the passed extent intersect.
   * @param {import("../extent.js").Extent} extent Extent.
   * @return {boolean} `true` if the geometry and the extent intersect.
   * @api
   * @override
   */
  intersectsExtent(extent) {
    return intersectsLinearRingArray(
      this.getOrientedFlatCoordinates(),
      0,
      this.ends_,
      this.stride,
      extent,
    );
  }

  /**
   * Set the coordinates of the polygon.
   * @param {!Array<Array<import("../coordinate.js").Coordinate>>} coordinates Coordinates.
   * @param {import("./Geometry.js").GeometryLayout} [layout] Layout.
   * @api
   * @override
   */
  setCoordinates(coordinates, layout) {
    this.setLayout(layout, coordinates, 2);
    if (!this.flatCoordinates) {
      this.flatCoordinates = [];
    }
    const ends = deflateCoordinatesArray(
      this.flatCoordinates,
      0,
      coordinates,
      this.stride,
      this.ends_,
    );
    this.flatCoordinates.length = ends.length === 0 ? 0 : ends[ends.length - 1];
    this.changed();
  }
}

/* harmony default export */ const geom_Polygon = (Polygon_Polygon);

/**
 * Create an approximation of a circle on the surface of a sphere.
 * @param {import("../coordinate.js").Coordinate} center Center (`[lon, lat]` in degrees).
 * @param {number} radius The great-circle distance from the center to
 *     the polygon vertices in meters.
 * @param {number} [n] Optional number of vertices for the resulting
 *     polygon. Default is `32`.
 * @param {number} [sphereRadius] Optional radius for the sphere (defaults to
 *     the Earth's mean radius using the WGS84 ellipsoid).
 * @return {Polygon} The "circular" polygon.
 * @api
 */
function circular(center, radius, n, sphereRadius) {
  n = n ? n : 32;
  /** @type {Array<number>} */
  const flatCoordinates = [];
  for (let i = 0; i < n; ++i) {
    extend(
      flatCoordinates,
      sphereOffset(center, radius, (2 * Math.PI * i) / n, sphereRadius),
    );
  }
  flatCoordinates.push(flatCoordinates[0], flatCoordinates[1]);
  return new Polygon_Polygon(flatCoordinates, 'XY', [flatCoordinates.length]);
}

/**
 * Create a polygon from an extent. The layout used is `XY`.
 * @param {import("../extent.js").Extent} extent The extent.
 * @return {Polygon} The polygon.
 * @api
 */
function fromExtent(extent) {
  if (extent_isEmpty(extent)) {
    throw new Error('Cannot create polygon from empty extent');
  }
  const minX = extent[0];
  const minY = extent[1];
  const maxX = extent[2];
  const maxY = extent[3];
  const flatCoordinates = [
    minX,
    minY,
    minX,
    maxY,
    maxX,
    maxY,
    maxX,
    minY,
    minX,
    minY,
  ];
  return new Polygon_Polygon(flatCoordinates, 'XY', [flatCoordinates.length]);
}

/**
 * Create a regular polygon from a circle.
 * @param {import("./Circle.js").default} circle Circle geometry.
 * @param {number} [sides] Number of sides of the polygon. Default is 32.
 * @param {number} [angle] Start angle for the first vertex of the polygon in
 *     counter-clockwise radians. 0 means East. Default is 0.
 * @return {Polygon} Polygon geometry.
 * @api
 */
function fromCircle(circle, sides, angle) {
  sides = sides ? sides : 32;
  const stride = circle.getStride();
  const layout = circle.getLayout();
  const center = circle.getCenter();
  const arrayLength = stride * (sides + 1);
  const flatCoordinates = new Array(arrayLength);
  for (let i = 0; i < arrayLength; i += stride) {
    flatCoordinates[i] = 0;
    flatCoordinates[i + 1] = 0;
    for (let j = 2; j < stride; j++) {
      flatCoordinates[i + j] = center[j];
    }
  }
  const ends = [flatCoordinates.length];
  const polygon = new Polygon_Polygon(flatCoordinates, layout, ends);
  makeRegular(polygon, center, circle.getRadius(), angle);
  return polygon;
}

/**
 * Modify the coordinates of a polygon to make it a regular polygon.
 * @param {Polygon} polygon Polygon geometry.
 * @param {import("../coordinate.js").Coordinate} center Center of the regular polygon.
 * @param {number} radius Radius of the regular polygon.
 * @param {number} [angle] Start angle for the first vertex of the polygon in
 *     counter-clockwise radians. 0 means East. Default is 0.
 */
function makeRegular(polygon, center, radius, angle) {
  const flatCoordinates = polygon.getFlatCoordinates();
  const stride = polygon.getStride();
  const sides = flatCoordinates.length / stride - 1;
  const startAngle = angle ? angle : 0;
  for (let i = 0; i <= sides; ++i) {
    const offset = i * stride;
    const angle = startAngle + (modulo(i, sides) * 2 * Math.PI) / sides;
    flatCoordinates[offset] = center[0] + radius * Math.cos(angle);
    flatCoordinates[offset + 1] = center[1] + radius * Math.sin(angle);
  }
  polygon.changed();
}

;// CONCATENATED MODULE: ./node_modules/ol/resolutionconstraint.js
/**
 * @module ol/resolutionconstraint
 */




/**
 * @typedef {function((number|undefined), number, import("./size.js").Size, boolean=): (number|undefined)} Type
 */

/**
 * Returns a modified resolution taking into account the viewport size and maximum
 * allowed extent.
 * @param {number} resolution Resolution
 * @param {import("./extent.js").Extent} maxExtent Maximum allowed extent.
 * @param {import("./size.js").Size} viewportSize Viewport size.
 * @param {boolean} showFullExtent Whether to show the full extent.
 * @return {number} Capped resolution.
 */
function getViewportClampedResolution(
  resolution,
  maxExtent,
  viewportSize,
  showFullExtent,
) {
  const xResolution = extent_getWidth(maxExtent) / viewportSize[0];
  const yResolution = getHeight(maxExtent) / viewportSize[1];

  if (showFullExtent) {
    return Math.min(resolution, Math.max(xResolution, yResolution));
  }
  return Math.min(resolution, Math.min(xResolution, yResolution));
}

/**
 * Returns a modified resolution to be between maxResolution and minResolution while
 * still allowing the value to be slightly out of bounds.
 * Note: the computation is based on the logarithm function (ln):
 *  - at 1, ln(x) is 0
 *  - above 1, ln(x) keeps increasing but at a much slower pace than x
 * The final result is clamped to prevent getting too far away from bounds.
 * @param {number} resolution Resolution.
 * @param {number} maxResolution Max resolution.
 * @param {number} minResolution Min resolution.
 * @return {number} Smoothed resolution.
 */
function getSmoothClampedResolution(resolution, maxResolution, minResolution) {
  let result = Math.min(resolution, maxResolution);
  const ratio = 50;

  result *=
    Math.log(1 + ratio * Math.max(0, resolution / maxResolution - 1)) / ratio +
    1;
  if (minResolution) {
    result = Math.max(result, minResolution);
    result /=
      Math.log(1 + ratio * Math.max(0, minResolution / resolution - 1)) /
        ratio +
      1;
  }
  return math_clamp(result, minResolution / 2, maxResolution * 2);
}

/**
 * @param {Array<number>} resolutions Resolutions.
 * @param {boolean} [smooth] If true, the view will be able to slightly exceed resolution limits. Default: true.
 * @param {import("./extent.js").Extent} [maxExtent] Maximum allowed extent.
 * @param {boolean} [showFullExtent] If true, allows us to show the full extent. Default: false.
 * @return {Type} Zoom function.
 */
function createSnapToResolutions(
  resolutions,
  smooth,
  maxExtent,
  showFullExtent,
) {
  smooth = smooth !== undefined ? smooth : true;
  return (
    /**
     * @param {number|undefined} resolution Resolution.
     * @param {number} direction Direction.
     * @param {import("./size.js").Size} size Viewport size.
     * @param {boolean} [isMoving] True if an interaction or animation is in progress.
     * @return {number|undefined} Resolution.
     */
    function (resolution, direction, size, isMoving) {
      if (resolution !== undefined) {
        const maxResolution = resolutions[0];
        const minResolution = resolutions[resolutions.length - 1];
        const cappedMaxRes = maxExtent
          ? getViewportClampedResolution(
              maxResolution,
              maxExtent,
              size,
              showFullExtent,
            )
          : maxResolution;

        // during interacting or animating, allow intermediary values
        if (isMoving) {
          if (!smooth) {
            return math_clamp(resolution, minResolution, cappedMaxRes);
          }
          return getSmoothClampedResolution(
            resolution,
            cappedMaxRes,
            minResolution,
          );
        }

        const capped = Math.min(cappedMaxRes, resolution);
        const z = Math.floor(linearFindNearest(resolutions, capped, direction));
        if (resolutions[z] > cappedMaxRes && z < resolutions.length - 1) {
          return resolutions[z + 1];
        }
        return resolutions[z];
      }
      return undefined;
    }
  );
}

/**
 * @param {number} power Power.
 * @param {number} maxResolution Maximum resolution.
 * @param {number} [minResolution] Minimum resolution.
 * @param {boolean} [smooth] If true, the view will be able to slightly exceed resolution limits. Default: true.
 * @param {import("./extent.js").Extent} [maxExtent] Maximum allowed extent.
 * @param {boolean} [showFullExtent] If true, allows us to show the full extent. Default: false.
 * @return {Type} Zoom function.
 */
function createSnapToPower(
  power,
  maxResolution,
  minResolution,
  smooth,
  maxExtent,
  showFullExtent,
) {
  smooth = smooth !== undefined ? smooth : true;
  minResolution = minResolution !== undefined ? minResolution : 0;

  return (
    /**
     * @param {number|undefined} resolution Resolution.
     * @param {number} direction Direction.
     * @param {import("./size.js").Size} size Viewport size.
     * @param {boolean} [isMoving] True if an interaction or animation is in progress.
     * @return {number|undefined} Resolution.
     */
    function (resolution, direction, size, isMoving) {
      if (resolution !== undefined) {
        const cappedMaxRes = maxExtent
          ? getViewportClampedResolution(
              maxResolution,
              maxExtent,
              size,
              showFullExtent,
            )
          : maxResolution;

        // during interacting or animating, allow intermediary values
        if (isMoving) {
          if (!smooth) {
            return math_clamp(resolution, minResolution, cappedMaxRes);
          }
          return getSmoothClampedResolution(
            resolution,
            cappedMaxRes,
            minResolution,
          );
        }

        const tolerance = 1e-9;
        const minZoomLevel = Math.ceil(
          Math.log(maxResolution / cappedMaxRes) / Math.log(power) - tolerance,
        );
        const offset = -direction * (0.5 - tolerance) + 0.5;
        const capped = Math.min(cappedMaxRes, resolution);
        const cappedZoomLevel = Math.floor(
          Math.log(maxResolution / capped) / Math.log(power) + offset,
        );
        const zoomLevel = Math.max(minZoomLevel, cappedZoomLevel);
        const newResolution = maxResolution / Math.pow(power, zoomLevel);
        return math_clamp(newResolution, minResolution, cappedMaxRes);
      }
      return undefined;
    }
  );
}

/**
 * @param {number} maxResolution Max resolution.
 * @param {number} minResolution Min resolution.
 * @param {boolean} [smooth] If true, the view will be able to slightly exceed resolution limits. Default: true.
 * @param {import("./extent.js").Extent} [maxExtent] Maximum allowed extent.
 * @param {boolean} [showFullExtent] If true, allows us to show the full extent. Default: false.
 * @return {Type} Zoom function.
 */
function createMinMaxResolution(
  maxResolution,
  minResolution,
  smooth,
  maxExtent,
  showFullExtent,
) {
  smooth = smooth !== undefined ? smooth : true;

  return (
    /**
     * @param {number|undefined} resolution Resolution.
     * @param {number} direction Direction.
     * @param {import("./size.js").Size} size Viewport size.
     * @param {boolean} [isMoving] True if an interaction or animation is in progress.
     * @return {number|undefined} Resolution.
     */
    function (resolution, direction, size, isMoving) {
      if (resolution !== undefined) {
        const cappedMaxRes = maxExtent
          ? getViewportClampedResolution(
              maxResolution,
              maxExtent,
              size,
              showFullExtent,
            )
          : maxResolution;

        if (!smooth || !isMoving) {
          return math_clamp(resolution, minResolution, cappedMaxRes);
        }
        return getSmoothClampedResolution(
          resolution,
          cappedMaxRes,
          minResolution,
        );
      }
      return undefined;
    }
  );
}

;// CONCATENATED MODULE: ./node_modules/ol/rotationconstraint.js
/**
 * @module ol/rotationconstraint
 */


/**
 * @typedef {function((number|undefined), boolean=): (number|undefined)} Type
 */

/**
 * @param {number|undefined} rotation Rotation.
 * @return {number|undefined} Rotation.
 */
function disable(rotation) {
  if (rotation !== undefined) {
    return 0;
  }
  return undefined;
}

/**
 * @param {number|undefined} rotation Rotation.
 * @return {number|undefined} Rotation.
 */
function rotationconstraint_none(rotation) {
  if (rotation !== undefined) {
    return rotation;
  }
  return undefined;
}

/**
 * @param {number} n N.
 * @return {Type} Rotation constraint.
 */
function createSnapToN(n) {
  const theta = (2 * Math.PI) / n;
  return (
    /**
     * @param {number|undefined} rotation Rotation.
     * @param {boolean} [isMoving] True if an interaction or animation is in progress.
     * @return {number|undefined} Rotation.
     */
    function (rotation, isMoving) {
      if (isMoving) {
        return rotation;
      }

      if (rotation !== undefined) {
        rotation = Math.floor(rotation / theta + 0.5) * theta;
        return rotation;
      }
      return undefined;
    }
  );
}

/**
 * @param {number} [tolerance] Tolerance.
 * @return {Type} Rotation constraint.
 */
function createSnapToZero(tolerance) {
  const t = tolerance === undefined ? math_toRadians(5) : tolerance;
  return (
    /**
     * @param {number|undefined} rotation Rotation.
     * @param {boolean} [isMoving] True if an interaction or animation is in progress.
     * @return {number|undefined} Rotation.
     */
    function (rotation, isMoving) {
      if (isMoving || rotation === undefined) {
        return rotation;
      }

      if (Math.abs(rotation) <= t) {
        return 0;
      }
      return rotation;
    }
  );
}

;// CONCATENATED MODULE: ./node_modules/ol/tilegrid/common.js
/**
 * @module ol/tilegrid/common
 */

/**
 * Default maximum zoom for default tile grids.
 * @type {number}
 */
const DEFAULT_MAX_ZOOM = 42;

/**
 * Default tile size.
 * @type {number}
 */
const DEFAULT_TILE_SIZE = 256;

;// CONCATENATED MODULE: ./node_modules/ol/View.js
/**
 * @module ol/View
 */

















/**
 * An animation configuration
 *
 * @typedef {Object} Animation
 * @property {import("./coordinate.js").Coordinate} [sourceCenter] Source center.
 * @property {import("./coordinate.js").Coordinate} [targetCenter] Target center.
 * @property {number} [sourceResolution] Source resolution.
 * @property {number} [targetResolution] Target resolution.
 * @property {number} [sourceRotation] Source rotation.
 * @property {number} [targetRotation] Target rotation.
 * @property {import("./coordinate.js").Coordinate} [anchor] Anchor.
 * @property {number} start Start.
 * @property {number} duration Duration.
 * @property {boolean} complete Complete.
 * @property {function(number):number} easing Easing.
 * @property {function(boolean):void} callback Callback.
 */

/**
 * @typedef {Object} Constraints
 * @property {import("./centerconstraint.js").Type} center Center.
 * @property {import("./resolutionconstraint.js").Type} resolution Resolution.
 * @property {import("./rotationconstraint.js").Type} rotation Rotation.
 */

/**
 * @typedef {Object} FitOptions
 * @property {import("./size.js").Size} [size] The size in pixels of the box to
 * fit the extent into. Defaults to the size of the map the view is associated with.
 * If no map or multiple maps are connected to the view, provide the desired box size
 * (e.g. `map.getSize()`).
 * @property {!Array<number>} [padding=[0, 0, 0, 0]] Padding (in pixels) to be
 * cleared inside the view. Values in the array are top, right, bottom and left
 * padding.
 * @property {boolean} [nearest=false] If the view `constrainResolution` option is `true`,
 * get the nearest extent instead of the closest that actually fits the view.
 * @property {number} [minResolution=0] Minimum resolution that we zoom to.
 * @property {number} [maxZoom] Maximum zoom level that we zoom to. If
 * `minResolution` is given, this property is ignored.
 * @property {number} [duration] The duration of the animation in milliseconds.
 * By default, there is no animation to the target extent.
 * @property {function(number):number} [easing] The easing function used during
 * the animation (defaults to {@link module:ol/easing.inAndOut}).
 * The function will be called for each frame with a number representing a
 * fraction of the animation's duration.  The function should return a number
 * between 0 and 1 representing the progress toward the destination state.
 * @property {function(boolean):void} [callback] Function called when the view is in
 * its final position. The callback will be called with `true` if the animation
 * series completed on its own or `false` if it was cancelled.
 */

/**
 * @typedef {Object} ViewOptions
 * @property {import("./coordinate.js").Coordinate} [center] The initial center for
 * the view. If a user projection is not set, the coordinate system for the center is
 * specified with the `projection` option. Layer sources will not be fetched if this
 * is not set, but the center can be set later with {@link #setCenter}.
 * @property {boolean|number} [constrainRotation=true] Rotation constraint.
 * `false` means no constraint. `true` means no constraint, but snap to zero
 * near zero. A number constrains the rotation to that number of values. For
 * example, `4` will constrain the rotation to 0, 90, 180, and 270 degrees.
 * @property {boolean} [enableRotation=true] Enable rotation.
 * If `false`, a rotation constraint that always sets the rotation to zero is
 * used. The `constrainRotation` option has no effect if `enableRotation` is
 * `false`.
 * @property {import("./extent.js").Extent} [extent] The extent that constrains the
 * view, in other words, nothing outside of this extent can be visible on the map.
 * @property {boolean} [constrainOnlyCenter=false] If true, the extent
 * constraint will only apply to the view center and not the whole extent.
 * @property {boolean} [smoothExtentConstraint=true] If true, the extent
 * constraint will be applied smoothly, i.e. allow the view to go slightly outside
 * of the given `extent`.
 * @property {number} [maxResolution] The maximum resolution used to determine
 * the resolution constraint. It is used together with `minResolution` (or
 * `maxZoom`) and `zoomFactor`. If unspecified it is calculated in such a way
 * that the projection's validity extent fits in a 256x256 px tile. If the
 * projection is Spherical Mercator (the default) then `maxResolution` defaults
 * to `40075016.68557849 / 256 = 156543.03392804097`.
 * @property {number} [minResolution] The minimum resolution used to determine
 * the resolution constraint.  It is used together with `maxResolution` (or
 * `minZoom`) and `zoomFactor`.  If unspecified it is calculated assuming 29
 * zoom levels (with a factor of 2). If the projection is Spherical Mercator
 * (the default) then `minResolution` defaults to
 * `40075016.68557849 / 256 / Math.pow(2, 28) = 0.0005831682455839253`.
 * @property {number} [maxZoom=28] The maximum zoom level used to determine the
 * resolution constraint. It is used together with `minZoom` (or
 * `maxResolution`) and `zoomFactor`.  Note that if `minResolution` is also
 * provided, it is given precedence over `maxZoom`.
 * @property {number} [minZoom=0] The minimum zoom level used to determine the
 * resolution constraint. It is used together with `maxZoom` (or
 * `minResolution`) and `zoomFactor`.  Note that if `maxResolution` is also
 * provided, it is given precedence over `minZoom`.
 * @property {boolean} [multiWorld=false] If `false` the view is constrained so
 * only one world is visible, and you cannot pan off the edge.  If `true` the map
 * may show multiple worlds at low zoom levels.  Only used if the `projection` is
 * global.  Note that if `extent` is also provided it is given precedence.
 * @property {boolean} [constrainResolution=false] If true, the view will always
 * animate to the closest zoom level after an interaction; false means
 * intermediary zoom levels are allowed.
 * @property {boolean} [smoothResolutionConstraint=true] If true, the resolution
 * min/max values will be applied smoothly, i. e. allow the view to exceed slightly
 * the given resolution or zoom bounds.
 * @property {boolean} [showFullExtent=false] Allow the view to be zoomed out to
 * show the full configured extent. By default, when a view is configured with an
 * extent, users will not be able to zoom out so the viewport exceeds the extent in
 * either dimension. This means the full extent may not be visible if the viewport
 * is taller or wider than the aspect ratio of the configured extent. If
 * showFullExtent is true, the user will be able to zoom out so that the viewport
 * exceeds the height or width of the configured extent, but not both, allowing the
 * full extent to be shown.
 * @property {import("./proj.js").ProjectionLike} [projection='EPSG:3857'] The
 * projection. The default is Spherical Mercator.
 * @property {number} [resolution] The initial resolution for the view. The
 * units are `projection` units per pixel (e.g. meters per pixel). An
 * alternative to setting this is to set `zoom`. Layer sources will not be
 * fetched if neither this nor `zoom` are defined, but they can be set later
 * with {@link #setZoom} or {@link #setResolution}.
 * @property {Array<number>} [resolutions] Resolutions that determine the
 * zoom levels if specified. The index in the array corresponds to the zoom level,
 * therefore the resolution values have to be in descending order. It also constrains
 * the resolution by the minimum and maximum value. If set the `maxResolution`,
 * `minResolution`, `minZoom`, `maxZoom`, and `zoomFactor` options are ignored.
 * @property {number} [rotation=0] The initial rotation for the view in radians
 * (positive rotation clockwise, 0 means North).
 * @property {number} [zoom] Only used if `resolution` is not defined. Zoom
 * level used to calculate the initial resolution for the view.
 * @property {number} [zoomFactor=2] The zoom factor used to compute the
 * corresponding resolution.
 * @property {!Array<number>} [padding=[0, 0, 0, 0]] Padding (in css pixels).
 * If the map viewport is partially covered with other content (overlays) along
 * its edges, this setting allows to shift the center of the viewport away from
 * that content. The order of the values is top, right, bottom, left.
 */

/**
 * @typedef {Object} AnimationOptions
 * @property {import("./coordinate.js").Coordinate} [center] The center of the view at the end of
 * the animation.
 * @property {number} [zoom] The zoom level of the view at the end of the
 * animation. This takes precedence over `resolution`.
 * @property {number} [resolution] The resolution of the view at the end
 * of the animation.  If `zoom` is also provided, this option will be ignored.
 * @property {number} [rotation] The rotation of the view at the end of
 * the animation.
 * @property {import("./coordinate.js").Coordinate} [anchor] Optional anchor to remain fixed
 * during a rotation or resolution animation.
 * @property {number} [duration=1000] The duration of the animation in milliseconds.
 * @property {function(number):number} [easing] The easing function used
 * during the animation (defaults to {@link module:ol/easing.inAndOut}).
 * The function will be called for each frame with a number representing a
 * fraction of the animation's duration.  The function should return a number
 * between 0 and 1 representing the progress toward the destination state.
 */

/**
 * @typedef {Object} State
 * @property {import("./coordinate.js").Coordinate} center Center (in view projection coordinates).
 * @property {import("./proj/Projection.js").default} projection Projection.
 * @property {number} resolution Resolution.
 * @property {import("./coordinate.js").Coordinate} [nextCenter] The next center during an animation series.
 * @property {number} [nextResolution] The next resolution during an animation series.
 * @property {number} [nextRotation] The next rotation during an animation series.
 * @property {number} rotation Rotation.
 * @property {number} zoom Zoom.
 */

/**
 * Like {@link import("./Map.js").FrameState}, but just `viewState` and `extent`.
 * @typedef {Object} ViewStateLayerStateExtent
 * @property {State} viewState View state.
 * @property {import("./extent.js").Extent} extent Extent (in user projection coordinates).
 * @property {Array<import("./layer/Layer.js").State>} [layerStatesArray] Layer states.
 */

/**
 * Default min zoom level for the map view.
 * @type {number}
 */
const DEFAULT_MIN_ZOOM = 0;

/**
 * @typedef {import("./ObjectEventType").Types|'change:center'|'change:resolution'|'change:rotation'} ViewObjectEventTypes
 */

/***
 * @template Return
 * @typedef {import("./Observable").OnSignature<import("./Observable").EventTypes, import("./events/Event.js").default, Return> &
 *   import("./Observable").OnSignature<ViewObjectEventTypes, import("./Object").ObjectEvent, Return> &
 *   import("./Observable").CombinedOnSignature<import("./Observable").EventTypes|ViewObjectEventTypes, Return>} ViewOnSignature
 */

/**
 * @classdesc
 * A View object represents a simple 2D view of the map.
 *
 * This is the object to act upon to change the center, resolution,
 * and rotation of the map.
 *
 * A View has a `projection`. The projection determines the
 * coordinate system of the center, and its units determine the units of the
 * resolution (projection units per pixel). The default projection is
 * Web Mercator (EPSG:3857).
 *
 * ### The view states
 *
 * A View is determined by three states: `center`, `resolution`,
 * and `rotation`. Each state has a corresponding getter and setter, e.g.
 * `getCenter` and `setCenter` for the `center` state.
 *
 * The `zoom` state is actually not saved on the view: all computations
 * internally use the `resolution` state. Still, the `setZoom` and `getZoom`
 * methods are available, as well as `getResolutionForZoom` and
 * `getZoomForResolution` to switch from one system to the other.
 *
 * ### The constraints
 *
 * `setCenter`, `setResolution` and `setRotation` can be used to change the
 * states of the view, but any constraint defined in the constructor will
 * be applied along the way.
 *
 * A View object can have a *resolution constraint*, a *rotation constraint*
 * and a *center constraint*.
 *
 * The *resolution constraint* typically restricts min/max values and
 * snaps to specific resolutions. It is determined by the following
 * options: `resolutions`, `maxResolution`, `maxZoom` and `zoomFactor`.
 * If `resolutions` is set, the other three options are ignored. See
 * documentation for each option for more information. By default, the view
 * only has a min/max restriction and allow intermediary zoom levels when
 * pinch-zooming for example.
 *
 * The *rotation constraint* snaps to specific angles. It is determined
 * by the following options: `enableRotation` and `constrainRotation`.
 * By default rotation is allowed and its value is snapped to zero when approaching the
 * horizontal.
 *
 * The *center constraint* is determined by the `extent` option. By
 * default the view center is not constrained at all.
 *
 * ### Changing the view state
 *
 * It is important to note that `setZoom`, `setResolution`, `setCenter` and
 * `setRotation` are subject to the above mentioned constraints. As such, it
 * may sometimes not be possible to know in advance the resulting state of the
 * View. For example, calling `setResolution(10)` does not guarantee that
 * `getResolution()` will return `10`.
 *
 * A consequence of this is that, when applying a delta on the view state, one
 * should use `adjustCenter`, `adjustRotation`, `adjustZoom` and `adjustResolution`
 * rather than the corresponding setters. This will let view do its internal
 * computations. Besides, the `adjust*` methods also take an `anchor`
 * argument which allows specifying an origin for the transformation.
 *
 * ### Interacting with the view
 *
 * View constraints are usually only applied when the view is *at rest*, meaning that
 * no interaction or animation is ongoing. As such, if the user puts the view in a
 * state that is not equivalent to a constrained one (e.g. rotating the view when
 * the snap angle is 0), an animation will be triggered at the interaction end to
 * put back the view to a stable state;
 *
 * @api
 */
class View extends ol_Object {
  /**
   * @param {ViewOptions} [options] View options.
   */
  constructor(options) {
    super();

    /***
     * @type {ViewOnSignature<import("./events").EventsKey>}
     */
    this.on;

    /***
     * @type {ViewOnSignature<import("./events").EventsKey>}
     */
    this.once;

    /***
     * @type {ViewOnSignature<void>}
     */
    this.un;

    options = Object.assign({}, options);

    /**
     * @private
     * @type {Array<number>}
     */
    this.hints_ = [0, 0];

    /**
     * @private
     * @type {Array<Array<Animation>>}
     */
    this.animations_ = [];

    /**
     * @private
     * @type {number|undefined}
     */
    this.updateAnimationKey_;

    /**
     * @private
     * @const
     * @type {import("./proj/Projection.js").default}
     */
    this.projection_ = createProjection(options.projection, 'EPSG:3857');

    /**
     * @private
     * @type {import("./size.js").Size}
     */
    this.viewportSize_ = [100, 100];

    /**
     * @private
     * @type {import("./coordinate.js").Coordinate|undefined}
     */
    this.targetCenter_ = null;

    /**
     * @private
     * @type {number|undefined}
     */
    this.targetResolution_;

    /**
     * @private
     * @type {number|undefined}
     */
    this.targetRotation_;

    /**
     * @private
     * @type {import("./coordinate.js").Coordinate}
     */
    this.nextCenter_ = null;

    /**
     * @private
     * @type {number}
     */
    this.nextResolution_;

    /**
     * @private
     * @type {number}
     */
    this.nextRotation_;

    /**
     * @private
     * @type {import("./coordinate.js").Coordinate|undefined}
     */
    this.cancelAnchor_ = undefined;

    if (options.projection) {
      disableCoordinateWarning();
    }
    if (options.center) {
      options.center = fromUserCoordinate(options.center, this.projection_);
    }
    if (options.extent) {
      options.extent = proj_fromUserExtent(options.extent, this.projection_);
    }

    this.applyOptions_(options);
  }

  /**
   * Set up the view with the given options.
   * @param {ViewOptions} options View options.
   */
  applyOptions_(options) {
    const properties = Object.assign({}, options);
    for (const key in ViewProperty) {
      delete properties[key];
    }
    this.setProperties(properties, true);

    const resolutionConstraintInfo = createResolutionConstraint(options);

    /**
     * @private
     * @type {number}
     */
    this.maxResolution_ = resolutionConstraintInfo.maxResolution;

    /**
     * @private
     * @type {number}
     */
    this.minResolution_ = resolutionConstraintInfo.minResolution;

    /**
     * @private
     * @type {number}
     */
    this.zoomFactor_ = resolutionConstraintInfo.zoomFactor;

    /**
     * @private
     * @type {Array<number>|undefined}
     */
    this.resolutions_ = options.resolutions;

    /**
     * @type {Array<number>|undefined}
     * @private
     */
    this.padding_ = options.padding;

    /**
     * @private
     * @type {number}
     */
    this.minZoom_ = resolutionConstraintInfo.minZoom;

    const centerConstraint = createCenterConstraint(options);
    const resolutionConstraint = resolutionConstraintInfo.constraint;
    const rotationConstraint = createRotationConstraint(options);

    /**
     * @private
     * @type {Constraints}
     */
    this.constraints_ = {
      center: centerConstraint,
      resolution: resolutionConstraint,
      rotation: rotationConstraint,
    };

    this.setRotation(options.rotation !== undefined ? options.rotation : 0);
    this.setCenterInternal(
      options.center !== undefined ? options.center : null,
    );
    if (options.resolution !== undefined) {
      this.setResolution(options.resolution);
    } else if (options.zoom !== undefined) {
      this.setZoom(options.zoom);
    }
  }

  /**
   * Padding (in css pixels).
   * If the map viewport is partially covered with other content (overlays) along
   * its edges, this setting allows to shift the center of the viewport away from that
   * content. The order of the values in the array is top, right, bottom, left.
   * The default is no padding, which is equivalent to `[0, 0, 0, 0]`.
   * @type {Array<number>|undefined}
   * @api
   */
  get padding() {
    return this.padding_;
  }
  set padding(padding) {
    let oldPadding = this.padding_;
    this.padding_ = padding;
    const center = this.getCenterInternal();
    if (center) {
      const newPadding = padding || [0, 0, 0, 0];
      oldPadding = oldPadding || [0, 0, 0, 0];
      const resolution = this.getResolution();
      const offsetX =
        (resolution / 2) *
        (newPadding[3] - oldPadding[3] + oldPadding[1] - newPadding[1]);
      const offsetY =
        (resolution / 2) *
        (newPadding[0] - oldPadding[0] + oldPadding[2] - newPadding[2]);
      this.setCenterInternal([center[0] + offsetX, center[1] - offsetY]);
    }
  }

  /**
   * Get an updated version of the view options used to construct the view.  The
   * current resolution (or zoom), center, and rotation are applied to any stored
   * options.  The provided options can be used to apply new min/max zoom or
   * resolution limits.
   * @param {ViewOptions} newOptions New options to be applied.
   * @return {ViewOptions} New options updated with the current view state.
   */
  getUpdatedOptions_(newOptions) {
    const options = this.getProperties();

    // preserve resolution (or zoom)
    if (options.resolution !== undefined) {
      options.resolution = this.getResolution();
    } else {
      options.zoom = this.getZoom();
    }

    // preserve center
    options.center = this.getCenterInternal();

    // preserve rotation
    options.rotation = this.getRotation();

    return Object.assign({}, options, newOptions);
  }

  /**
   * Animate the view.  The view's center, zoom (or resolution), and rotation
   * can be animated for smooth transitions between view states.  For example,
   * to animate the view to a new zoom level:
   *
   *     view.animate({zoom: view.getZoom() + 1});
   *
   * By default, the animation lasts one second and uses in-and-out easing.  You
   * can customize this behavior by including `duration` (in milliseconds) and
   * `easing` options (see {@link module:ol/easing}).
   *
   * To chain together multiple animations, call the method with multiple
   * animation objects.  For example, to first zoom and then pan:
   *
   *     view.animate({zoom: 10}, {center: [0, 0]});
   *
   * If you provide a function as the last argument to the animate method, it
   * will get called at the end of an animation series.  The callback will be
   * called with `true` if the animation series completed on its own or `false`
   * if it was cancelled.
   *
   * Animations are cancelled by user interactions (e.g. dragging the map) or by
   * calling `view.setCenter()`, `view.setResolution()`, or `view.setRotation()`
   * (or another method that calls one of these).
   *
   * @param {...(AnimationOptions|function(boolean): void)} var_args Animation
   *     options.  Multiple animations can be run in series by passing multiple
   *     options objects.  To run multiple animations in parallel, call the method
   *     multiple times.  An optional callback can be provided as a final
   *     argument.  The callback will be called with a boolean indicating whether
   *     the animation completed without being cancelled.
   * @api
   */
  animate(var_args) {
    if (this.isDef() && !this.getAnimating()) {
      this.resolveConstraints(0);
    }
    const args = new Array(arguments.length);
    for (let i = 0; i < args.length; ++i) {
      let options = arguments[i];
      if (options.center) {
        options = Object.assign({}, options);
        options.center = fromUserCoordinate(
          options.center,
          this.getProjection(),
        );
      }
      if (options.anchor) {
        options = Object.assign({}, options);
        options.anchor = fromUserCoordinate(
          options.anchor,
          this.getProjection(),
        );
      }
      args[i] = options;
    }
    this.animateInternal.apply(this, args);
  }

  /**
   * @param {...(AnimationOptions|function(boolean): void)} var_args Animation options.
   */
  animateInternal(var_args) {
    let animationCount = arguments.length;
    let callback;
    if (
      animationCount > 1 &&
      typeof arguments[animationCount - 1] === 'function'
    ) {
      callback = arguments[animationCount - 1];
      --animationCount;
    }

    let i = 0;
    for (; i < animationCount && !this.isDef(); ++i) {
      // if view properties are not yet set, shortcut to the final state
      const state = arguments[i];
      if (state.center) {
        this.setCenterInternal(state.center);
      }
      if (state.zoom !== undefined) {
        this.setZoom(state.zoom);
      } else if (state.resolution) {
        this.setResolution(state.resolution);
      }
      if (state.rotation !== undefined) {
        this.setRotation(state.rotation);
      }
    }
    if (i === animationCount) {
      if (callback) {
        animationCallback(callback, true);
      }
      return;
    }

    let start = Date.now();
    let center = this.targetCenter_.slice();
    let resolution = this.targetResolution_;
    let rotation = this.targetRotation_;
    const series = [];
    for (; i < animationCount; ++i) {
      const options = /** @type {AnimationOptions} */ (arguments[i]);

      const animation = {
        start: start,
        complete: false,
        anchor: options.anchor,
        duration: options.duration !== undefined ? options.duration : 1000,
        easing: options.easing || inAndOut,
        callback: callback,
      };

      if (options.center) {
        animation.sourceCenter = center;
        animation.targetCenter = options.center.slice();
        center = animation.targetCenter;
      }

      if (options.zoom !== undefined) {
        animation.sourceResolution = resolution;
        animation.targetResolution = this.getResolutionForZoom(options.zoom);
        resolution = animation.targetResolution;
      } else if (options.resolution) {
        animation.sourceResolution = resolution;
        animation.targetResolution = options.resolution;
        resolution = animation.targetResolution;
      }

      if (options.rotation !== undefined) {
        animation.sourceRotation = rotation;
        const delta =
          math_modulo(options.rotation - rotation + Math.PI, 2 * Math.PI) - Math.PI;
        animation.targetRotation = rotation + delta;
        rotation = animation.targetRotation;
      }

      // check if animation is a no-op
      if (isNoopAnimation(animation)) {
        animation.complete = true;
        // we still push it onto the series for callback handling
      } else {
        start += animation.duration;
      }
      series.push(animation);
    }
    this.animations_.push(series);
    this.setHint(ViewHint.ANIMATING, 1);
    this.updateAnimations_();
  }

  /**
   * Determine if the view is being animated.
   * @return {boolean} The view is being animated.
   * @api
   */
  getAnimating() {
    return this.hints_[ViewHint.ANIMATING] > 0;
  }

  /**
   * Determine if the user is interacting with the view, such as panning or zooming.
   * @return {boolean} The view is being interacted with.
   * @api
   */
  getInteracting() {
    return this.hints_[ViewHint.INTERACTING] > 0;
  }

  /**
   * Cancel any ongoing animations.
   * @api
   */
  cancelAnimations() {
    this.setHint(ViewHint.ANIMATING, -this.hints_[ViewHint.ANIMATING]);
    let anchor;
    for (let i = 0, ii = this.animations_.length; i < ii; ++i) {
      const series = this.animations_[i];
      if (series[0].callback) {
        animationCallback(series[0].callback, false);
      }
      if (!anchor) {
        for (let j = 0, jj = series.length; j < jj; ++j) {
          const animation = series[j];
          if (!animation.complete) {
            anchor = animation.anchor;
            break;
          }
        }
      }
    }
    this.animations_.length = 0;
    this.cancelAnchor_ = anchor;
    this.nextCenter_ = null;
    this.nextResolution_ = NaN;
    this.nextRotation_ = NaN;
  }

  /**
   * Update all animations.
   */
  updateAnimations_() {
    if (this.updateAnimationKey_ !== undefined) {
      cancelAnimationFrame(this.updateAnimationKey_);
      this.updateAnimationKey_ = undefined;
    }
    if (!this.getAnimating()) {
      return;
    }
    const now = Date.now();
    let more = false;
    for (let i = this.animations_.length - 1; i >= 0; --i) {
      const series = this.animations_[i];
      let seriesComplete = true;
      for (let j = 0, jj = series.length; j < jj; ++j) {
        const animation = series[j];
        if (animation.complete) {
          continue;
        }
        const elapsed = now - animation.start;
        let fraction =
          animation.duration > 0 ? elapsed / animation.duration : 1;
        if (fraction >= 1) {
          animation.complete = true;
          fraction = 1;
        } else {
          seriesComplete = false;
        }
        const progress = animation.easing(fraction);
        if (animation.sourceCenter) {
          const x0 = animation.sourceCenter[0];
          const y0 = animation.sourceCenter[1];
          const x1 = animation.targetCenter[0];
          const y1 = animation.targetCenter[1];
          this.nextCenter_ = animation.targetCenter;
          const x = x0 + progress * (x1 - x0);
          const y = y0 + progress * (y1 - y0);
          this.targetCenter_ = [x, y];
        }
        if (animation.sourceResolution && animation.targetResolution) {
          const resolution =
            progress === 1
              ? animation.targetResolution
              : animation.sourceResolution +
                progress *
                  (animation.targetResolution - animation.sourceResolution);
          if (animation.anchor) {
            const size = this.getViewportSize_(this.getRotation());
            const constrainedResolution = this.constraints_.resolution(
              resolution,
              0,
              size,
              true,
            );
            this.targetCenter_ = this.calculateCenterZoom(
              constrainedResolution,
              animation.anchor,
            );
          }
          this.nextResolution_ = animation.targetResolution;
          this.targetResolution_ = resolution;
          this.applyTargetState_(true);
        }
        if (
          animation.sourceRotation !== undefined &&
          animation.targetRotation !== undefined
        ) {
          const rotation =
            progress === 1
              ? math_modulo(animation.targetRotation + Math.PI, 2 * Math.PI) -
                Math.PI
              : animation.sourceRotation +
                progress *
                  (animation.targetRotation - animation.sourceRotation);
          if (animation.anchor) {
            const constrainedRotation = this.constraints_.rotation(
              rotation,
              true,
            );
            this.targetCenter_ = this.calculateCenterRotate(
              constrainedRotation,
              animation.anchor,
            );
          }
          this.nextRotation_ = animation.targetRotation;
          this.targetRotation_ = rotation;
        }
        this.applyTargetState_(true);
        more = true;
        if (!animation.complete) {
          break;
        }
      }
      if (seriesComplete) {
        this.animations_[i] = null;
        this.setHint(ViewHint.ANIMATING, -1);
        this.nextCenter_ = null;
        this.nextResolution_ = NaN;
        this.nextRotation_ = NaN;
        const callback = series[0].callback;
        if (callback) {
          animationCallback(callback, true);
        }
      }
    }
    // prune completed series
    this.animations_ = this.animations_.filter(Boolean);
    if (more && this.updateAnimationKey_ === undefined) {
      this.updateAnimationKey_ = requestAnimationFrame(
        this.updateAnimations_.bind(this),
      );
    }
  }

  /**
   * @param {number} rotation Target rotation.
   * @param {import("./coordinate.js").Coordinate} anchor Rotation anchor.
   * @return {import("./coordinate.js").Coordinate|undefined} Center for rotation and anchor.
   */
  calculateCenterRotate(rotation, anchor) {
    let center;
    const currentCenter = this.getCenterInternal();
    if (currentCenter !== undefined) {
      center = [currentCenter[0] - anchor[0], currentCenter[1] - anchor[1]];
      rotate(center, rotation - this.getRotation());
      add(center, anchor);
    }
    return center;
  }

  /**
   * @param {number} resolution Target resolution.
   * @param {import("./coordinate.js").Coordinate} anchor Zoom anchor.
   * @return {import("./coordinate.js").Coordinate|undefined} Center for resolution and anchor.
   */
  calculateCenterZoom(resolution, anchor) {
    let center;
    const currentCenter = this.getCenterInternal();
    const currentResolution = this.getResolution();
    if (currentCenter !== undefined && currentResolution !== undefined) {
      const x =
        anchor[0] -
        (resolution * (anchor[0] - currentCenter[0])) / currentResolution;
      const y =
        anchor[1] -
        (resolution * (anchor[1] - currentCenter[1])) / currentResolution;
      center = [x, y];
    }
    return center;
  }

  /**
   * Returns the current viewport size.
   * @private
   * @param {number} [rotation] Take into account the rotation of the viewport when giving the size
   * @return {import("./size.js").Size} Viewport size or `[100, 100]` when no viewport is found.
   */
  getViewportSize_(rotation) {
    const size = this.viewportSize_;
    if (rotation) {
      const w = size[0];
      const h = size[1];
      return [
        Math.abs(w * Math.cos(rotation)) + Math.abs(h * Math.sin(rotation)),
        Math.abs(w * Math.sin(rotation)) + Math.abs(h * Math.cos(rotation)),
      ];
    }
    return size;
  }

  /**
   * Stores the viewport size on the view. The viewport size is not read every time from the DOM
   * to avoid performance hit and layout reflow.
   * This should be done on map size change.
   * Note: the constraints are not resolved during an animation to avoid stopping it
   * @param {import("./size.js").Size} [size] Viewport size; if undefined, [100, 100] is assumed
   */
  setViewportSize(size) {
    this.viewportSize_ = Array.isArray(size) ? size.slice() : [100, 100];
    if (!this.getAnimating()) {
      this.resolveConstraints(0);
    }
  }

  /**
   * Get the view center.
   * @return {import("./coordinate.js").Coordinate|undefined} The center of the view.
   * @observable
   * @api
   */
  getCenter() {
    const center = this.getCenterInternal();
    if (!center) {
      return center;
    }
    return toUserCoordinate(center, this.getProjection());
  }

  /**
   * Get the view center without transforming to user projection.
   * @return {import("./coordinate.js").Coordinate|undefined} The center of the view.
   */
  getCenterInternal() {
    return /** @type {import("./coordinate.js").Coordinate|undefined} */ (
      this.get(ViewProperty.CENTER)
    );
  }

  /**
   * @return {Constraints} Constraints.
   */
  getConstraints() {
    return this.constraints_;
  }

  /**
   * @return {boolean} Resolution constraint is set
   */
  getConstrainResolution() {
    return this.get('constrainResolution');
  }

  /**
   * @param {Array<number>} [hints] Destination array.
   * @return {Array<number>} Hint.
   */
  getHints(hints) {
    if (hints !== undefined) {
      hints[0] = this.hints_[0];
      hints[1] = this.hints_[1];
      return hints;
    }
    return this.hints_.slice();
  }

  /**
   * Calculate the extent for the current view state and the passed box size.
   * @param {import("./size.js").Size} [size] The pixel dimensions of the box
   * into which the calculated extent should fit. Defaults to the size of the
   * map the view is associated with.
   * If no map or multiple maps are connected to the view, provide the desired
   * box size (e.g. `map.getSize()`).
   * @return {import("./extent.js").Extent} Extent.
   * @api
   */
  calculateExtent(size) {
    const extent = this.calculateExtentInternal(size);
    return proj_toUserExtent(extent, this.getProjection());
  }

  /**
   * @param {import("./size.js").Size} [size] Box pixel size. If not provided,
   * the map's last known viewport size will be used.
   * @return {import("./extent.js").Extent} Extent.
   */
  calculateExtentInternal(size) {
    size = size || this.getViewportSizeMinusPadding_();
    const center = /** @type {!import("./coordinate.js").Coordinate} */ (
      this.getCenterInternal()
    );
    assert(center, 'The view center is not defined');
    const resolution = /** @type {!number} */ (this.getResolution());
    assert(resolution !== undefined, 'The view resolution is not defined');
    const rotation = /** @type {!number} */ (this.getRotation());
    assert(rotation !== undefined, 'The view rotation is not defined');

    return getForViewAndSize(center, resolution, rotation, size);
  }

  /**
   * Get the maximum resolution of the view.
   * @return {number} The maximum resolution of the view.
   * @api
   */
  getMaxResolution() {
    return this.maxResolution_;
  }

  /**
   * Get the minimum resolution of the view.
   * @return {number} The minimum resolution of the view.
   * @api
   */
  getMinResolution() {
    return this.minResolution_;
  }

  /**
   * Get the maximum zoom level for the view.
   * @return {number} The maximum zoom level.
   * @api
   */
  getMaxZoom() {
    return /** @type {number} */ (
      this.getZoomForResolution(this.minResolution_)
    );
  }

  /**
   * Set a new maximum zoom level for the view.
   * @param {number} zoom The maximum zoom level.
   * @api
   */
  setMaxZoom(zoom) {
    this.applyOptions_(this.getUpdatedOptions_({maxZoom: zoom}));
  }

  /**
   * Get the minimum zoom level for the view.
   * @return {number} The minimum zoom level.
   * @api
   */
  getMinZoom() {
    return /** @type {number} */ (
      this.getZoomForResolution(this.maxResolution_)
    );
  }

  /**
   * Set a new minimum zoom level for the view.
   * @param {number} zoom The minimum zoom level.
   * @api
   */
  setMinZoom(zoom) {
    this.applyOptions_(this.getUpdatedOptions_({minZoom: zoom}));
  }

  /**
   * Set whether the view should allow intermediary zoom levels.
   * @param {boolean} enabled Whether the resolution is constrained.
   * @api
   */
  setConstrainResolution(enabled) {
    this.applyOptions_(this.getUpdatedOptions_({constrainResolution: enabled}));
  }

  /**
   * Get the view projection.
   * @return {import("./proj/Projection.js").default} The projection of the view.
   * @api
   */
  getProjection() {
    return this.projection_;
  }

  /**
   * Get the view resolution.
   * @return {number|undefined} The resolution of the view.
   * @observable
   * @api
   */
  getResolution() {
    return /** @type {number|undefined} */ (this.get(ViewProperty.RESOLUTION));
  }

  /**
   * Get the resolutions for the view. This returns the array of resolutions
   * passed to the constructor of the View, or undefined if none were given.
   * @return {Array<number>|undefined} The resolutions of the view.
   * @api
   */
  getResolutions() {
    return this.resolutions_;
  }

  /**
   * Get the resolution for a provided extent (in map units) and size (in pixels).
   * @param {import("./extent.js").Extent} extent Extent.
   * @param {import("./size.js").Size} [size] Box pixel size.
   * @return {number} The resolution at which the provided extent will render at
   *     the given size.
   * @api
   */
  getResolutionForExtent(extent, size) {
    return this.getResolutionForExtentInternal(
      proj_fromUserExtent(extent, this.getProjection()),
      size,
    );
  }

  /**
   * Get the resolution for a provided extent (in map units) and size (in pixels).
   * @param {import("./extent.js").Extent} extent Extent.
   * @param {import("./size.js").Size} [size] Box pixel size.
   * @return {number} The resolution at which the provided extent will render at
   *     the given size.
   */
  getResolutionForExtentInternal(extent, size) {
    size = size || this.getViewportSizeMinusPadding_();
    const xResolution = extent_getWidth(extent) / size[0];
    const yResolution = getHeight(extent) / size[1];
    return Math.max(xResolution, yResolution);
  }

  /**
   * Return a function that returns a value between 0 and 1 for a
   * resolution. Exponential scaling is assumed.
   * @param {number} [power] Power.
   * @return {function(number): number} Resolution for value function.
   */
  getResolutionForValueFunction(power) {
    power = power || 2;
    const maxResolution = this.getConstrainedResolution(this.maxResolution_);
    const minResolution = this.minResolution_;
    const max = Math.log(maxResolution / minResolution) / Math.log(power);
    return (
      /**
       * @param {number} value Value.
       * @return {number} Resolution.
       */
      function (value) {
        const resolution = maxResolution / Math.pow(power, value * max);
        return resolution;
      }
    );
  }

  /**
   * Get the view rotation.
   * @return {number} The rotation of the view in radians.
   * @observable
   * @api
   */
  getRotation() {
    return /** @type {number} */ (this.get(ViewProperty.ROTATION));
  }

  /**
   * Return a function that returns a resolution for a value between
   * 0 and 1. Exponential scaling is assumed.
   * @param {number} [power] Power.
   * @return {function(number): number} Value for resolution function.
   */
  getValueForResolutionFunction(power) {
    const logPower = Math.log(power || 2);
    const maxResolution = this.getConstrainedResolution(this.maxResolution_);
    const minResolution = this.minResolution_;
    const max = Math.log(maxResolution / minResolution) / logPower;
    return (
      /**
       * @param {number} resolution Resolution.
       * @return {number} Value.
       */
      function (resolution) {
        const value = Math.log(maxResolution / resolution) / logPower / max;
        return value;
      }
    );
  }

  /**
   * Returns the size of the viewport minus padding.
   * @private
   * @param {number} [rotation] Take into account the rotation of the viewport when giving the size
   * @return {import("./size.js").Size} Viewport size reduced by the padding.
   */
  getViewportSizeMinusPadding_(rotation) {
    let size = this.getViewportSize_(rotation);
    const padding = this.padding_;
    if (padding) {
      size = [
        size[0] - padding[1] - padding[3],
        size[1] - padding[0] - padding[2],
      ];
    }
    return size;
  }

  /**
   * @return {State} View state.
   */
  getState() {
    const projection = this.getProjection();
    const resolution = this.getResolution();
    const rotation = this.getRotation();
    let center = /** @type {import("./coordinate.js").Coordinate} */ (
      this.getCenterInternal()
    );
    const padding = this.padding_;
    if (padding) {
      const reducedSize = this.getViewportSizeMinusPadding_();
      center = calculateCenterOn(
        center,
        this.getViewportSize_(),
        [reducedSize[0] / 2 + padding[3], reducedSize[1] / 2 + padding[0]],
        resolution,
        rotation,
      );
    }
    return {
      center: center.slice(0),
      projection: projection !== undefined ? projection : null,
      resolution: resolution,
      nextCenter: this.nextCenter_,
      nextResolution: this.nextResolution_,
      nextRotation: this.nextRotation_,
      rotation: rotation,
      zoom: this.getZoom(),
    };
  }

  /**
   * @return {ViewStateLayerStateExtent} Like `FrameState`, but just `viewState` and `extent`.
   */
  getViewStateAndExtent() {
    return {
      viewState: this.getState(),
      extent: this.calculateExtent(),
    };
  }

  /**
   * Get the current zoom level. This method may return non-integer zoom levels
   * if the view does not constrain the resolution, or if an interaction or
   * animation is underway.
   * @return {number|undefined} Zoom.
   * @api
   */
  getZoom() {
    let zoom;
    const resolution = this.getResolution();
    if (resolution !== undefined) {
      zoom = this.getZoomForResolution(resolution);
    }
    return zoom;
  }

  /**
   * Get the zoom level for a resolution.
   * @param {number} resolution The resolution.
   * @return {number|undefined} The zoom level for the provided resolution.
   * @api
   */
  getZoomForResolution(resolution) {
    let offset = this.minZoom_ || 0;
    let max, zoomFactor;
    if (this.resolutions_) {
      const nearest = linearFindNearest(this.resolutions_, resolution, 1);
      offset = nearest;
      max = this.resolutions_[nearest];
      if (nearest == this.resolutions_.length - 1) {
        zoomFactor = 2;
      } else {
        zoomFactor = max / this.resolutions_[nearest + 1];
      }
    } else {
      max = this.maxResolution_;
      zoomFactor = this.zoomFactor_;
    }
    return offset + Math.log(max / resolution) / Math.log(zoomFactor);
  }

  /**
   * Get the resolution for a zoom level.
   * @param {number} zoom Zoom level.
   * @return {number} The view resolution for the provided zoom level.
   * @api
   */
  getResolutionForZoom(zoom) {
    if (this.resolutions_?.length) {
      if (this.resolutions_.length === 1) {
        return this.resolutions_[0];
      }
      const baseLevel = math_clamp(
        Math.floor(zoom),
        0,
        this.resolutions_.length - 2,
      );
      const zoomFactor =
        this.resolutions_[baseLevel] / this.resolutions_[baseLevel + 1];
      return (
        this.resolutions_[baseLevel] /
        Math.pow(zoomFactor, math_clamp(zoom - baseLevel, 0, 1))
      );
    }
    return (
      this.maxResolution_ / Math.pow(this.zoomFactor_, zoom - this.minZoom_)
    );
  }

  /**
   * Fit the given geometry or extent based on the given map size and border.
   * The size is pixel dimensions of the box to fit the extent into.
   * In most cases you will want to use the map size, that is `map.getSize()`.
   * Takes care of the map angle.
   * @param {import("./geom/SimpleGeometry.js").default|import("./extent.js").Extent} geometryOrExtent The geometry or
   *     extent to fit the view to.
   * @param {FitOptions} [options] Options.
   * @api
   */
  fit(geometryOrExtent, options) {
    /** @type {import("./geom/SimpleGeometry.js").default} */
    let geometry;
    assert(
      Array.isArray(geometryOrExtent) ||
        typeof (/** @type {?} */ (geometryOrExtent).getSimplifiedGeometry) ===
          'function',
      'Invalid extent or geometry provided as `geometry`',
    );
    if (Array.isArray(geometryOrExtent)) {
      assert(
        !extent_isEmpty(geometryOrExtent),
        'Cannot fit empty extent provided as `geometry`',
      );
      const extent = proj_fromUserExtent(geometryOrExtent, this.getProjection());
      geometry = fromExtent(extent);
    } else if (geometryOrExtent.getType() === 'Circle') {
      const extent = proj_fromUserExtent(
        geometryOrExtent.getExtent(),
        this.getProjection(),
      );
      geometry = fromExtent(extent);
      geometry.rotate(this.getRotation(), getCenter(extent));
    } else {
      const userProjection = getUserProjection();
      if (userProjection) {
        geometry = /** @type {import("./geom/SimpleGeometry.js").default} */ (
          geometryOrExtent
            .clone()
            .transform(userProjection, this.getProjection())
        );
      } else {
        geometry = geometryOrExtent;
      }
    }

    this.fitInternal(geometry, options);
  }

  /**
   * Calculate rotated extent
   * @param {import("./geom/SimpleGeometry.js").default} geometry The geometry.
   * @return {import("./extent").Extent} The rotated extent for the geometry.
   */
  rotatedExtentForGeometry(geometry) {
    const rotation = this.getRotation();
    const cosAngle = Math.cos(rotation);
    const sinAngle = Math.sin(-rotation);
    const coords = geometry.getFlatCoordinates();
    const stride = geometry.getStride();
    let minRotX = +Infinity;
    let minRotY = +Infinity;
    let maxRotX = -Infinity;
    let maxRotY = -Infinity;
    for (let i = 0, ii = coords.length; i < ii; i += stride) {
      const rotX = coords[i] * cosAngle - coords[i + 1] * sinAngle;
      const rotY = coords[i] * sinAngle + coords[i + 1] * cosAngle;
      minRotX = Math.min(minRotX, rotX);
      minRotY = Math.min(minRotY, rotY);
      maxRotX = Math.max(maxRotX, rotX);
      maxRotY = Math.max(maxRotY, rotY);
    }
    return [minRotX, minRotY, maxRotX, maxRotY];
  }

  /**
   * @param {import("./geom/SimpleGeometry.js").default} geometry The geometry.
   * @param {FitOptions} [options] Options.
   */
  fitInternal(geometry, options) {
    options = options || {};
    let size = options.size;
    if (!size) {
      size = this.getViewportSizeMinusPadding_();
    }
    const padding =
      options.padding !== undefined ? options.padding : [0, 0, 0, 0];
    const nearest = options.nearest !== undefined ? options.nearest : false;
    let minResolution;
    if (options.minResolution !== undefined) {
      minResolution = options.minResolution;
    } else if (options.maxZoom !== undefined) {
      minResolution = this.getResolutionForZoom(options.maxZoom);
    } else {
      minResolution = 0;
    }

    const rotatedExtent = this.rotatedExtentForGeometry(geometry);

    // calculate resolution
    let resolution = this.getResolutionForExtentInternal(rotatedExtent, [
      size[0] - padding[1] - padding[3],
      size[1] - padding[0] - padding[2],
    ]);
    resolution = isNaN(resolution)
      ? minResolution
      : Math.max(resolution, minResolution);
    resolution = this.getConstrainedResolution(resolution, nearest ? 0 : 1);

    // calculate center
    const rotation = this.getRotation();
    const sinAngle = Math.sin(rotation);
    const cosAngle = Math.cos(rotation);
    const centerRot = getCenter(rotatedExtent);
    centerRot[0] += ((padding[1] - padding[3]) / 2) * resolution;
    centerRot[1] += ((padding[0] - padding[2]) / 2) * resolution;
    const centerX = centerRot[0] * cosAngle - centerRot[1] * sinAngle;
    const centerY = centerRot[1] * cosAngle + centerRot[0] * sinAngle;
    const center = this.getConstrainedCenter([centerX, centerY], resolution);
    const callback = options.callback ? options.callback : VOID;

    if (options.duration !== undefined) {
      this.animateInternal(
        {
          resolution: resolution,
          center: center,
          duration: options.duration,
          easing: options.easing,
        },
        callback,
      );
    } else {
      this.targetResolution_ = resolution;
      this.targetCenter_ = center;
      this.applyTargetState_(false, true);
      animationCallback(callback, true);
    }
  }

  /**
   * Center on coordinate and view position.
   * @param {import("./coordinate.js").Coordinate} coordinate Coordinate.
   * @param {import("./size.js").Size} size Box pixel size.
   * @param {import("./pixel.js").Pixel} position Position on the view to center on.
   * @api
   */
  centerOn(coordinate, size, position) {
    this.centerOnInternal(
      fromUserCoordinate(coordinate, this.getProjection()),
      size,
      position,
    );
  }

  /**
   * @param {import("./coordinate.js").Coordinate} coordinate Coordinate.
   * @param {import("./size.js").Size} size Box pixel size.
   * @param {import("./pixel.js").Pixel} position Position on the view to center on.
   */
  centerOnInternal(coordinate, size, position) {
    this.setCenterInternal(
      calculateCenterOn(
        coordinate,
        size,
        position,
        this.getResolution(),
        this.getRotation(),
      ),
    );
  }

  /**
   * Calculates the shift between map and viewport center.
   * @param {import("./coordinate.js").Coordinate} center Center.
   * @param {number} resolution Resolution.
   * @param {number} rotation Rotation.
   * @param {import("./size.js").Size} size Size.
   * @return {Array<number>|undefined} Center shift.
   */
  calculateCenterShift(center, resolution, rotation, size) {
    let centerShift;
    const padding = this.padding_;
    if (padding && center) {
      const reducedSize = this.getViewportSizeMinusPadding_(-rotation);
      const shiftedCenter = calculateCenterOn(
        center,
        size,
        [reducedSize[0] / 2 + padding[3], reducedSize[1] / 2 + padding[0]],
        resolution,
        rotation,
      );
      centerShift = [
        center[0] - shiftedCenter[0],
        center[1] - shiftedCenter[1],
      ];
    }
    return centerShift;
  }

  /**
   * @return {boolean} Is defined.
   */
  isDef() {
    return !!this.getCenterInternal() && this.getResolution() !== undefined;
  }

  /**
   * Adds relative coordinates to the center of the view. Any extent constraint will apply.
   * @param {import("./coordinate.js").Coordinate} deltaCoordinates Relative value to add.
   * @api
   */
  adjustCenter(deltaCoordinates) {
    const center = toUserCoordinate(this.targetCenter_, this.getProjection());
    this.setCenter([
      center[0] + deltaCoordinates[0],
      center[1] + deltaCoordinates[1],
    ]);
  }

  /**
   * Adds relative coordinates to the center of the view. Any extent constraint will apply.
   * @param {import("./coordinate.js").Coordinate} deltaCoordinates Relative value to add.
   */
  adjustCenterInternal(deltaCoordinates) {
    const center = this.targetCenter_;
    this.setCenterInternal([
      center[0] + deltaCoordinates[0],
      center[1] + deltaCoordinates[1],
    ]);
  }

  /**
   * Multiply the view resolution by a ratio, optionally using an anchor. Any resolution
   * constraint will apply.
   * @param {number} ratio The ratio to apply on the view resolution.
   * @param {import("./coordinate.js").Coordinate} [anchor] The origin of the transformation.
   * @api
   */
  adjustResolution(ratio, anchor) {
    anchor = anchor && fromUserCoordinate(anchor, this.getProjection());
    this.adjustResolutionInternal(ratio, anchor);
  }

  /**
   * Multiply the view resolution by a ratio, optionally using an anchor. Any resolution
   * constraint will apply.
   * @param {number} ratio The ratio to apply on the view resolution.
   * @param {import("./coordinate.js").Coordinate} [anchor] The origin of the transformation.
   */
  adjustResolutionInternal(ratio, anchor) {
    const isMoving = this.getAnimating() || this.getInteracting();
    const size = this.getViewportSize_(this.getRotation());
    const newResolution = this.constraints_.resolution(
      this.targetResolution_ * ratio,
      0,
      size,
      isMoving,
    );

    if (anchor) {
      this.targetCenter_ = this.calculateCenterZoom(newResolution, anchor);
    }

    this.targetResolution_ *= ratio;
    this.applyTargetState_();
  }

  /**
   * Adds a value to the view zoom level, optionally using an anchor. Any resolution
   * constraint will apply.
   * @param {number} delta Relative value to add to the zoom level.
   * @param {import("./coordinate.js").Coordinate} [anchor] The origin of the transformation.
   * @api
   */
  adjustZoom(delta, anchor) {
    this.adjustResolution(Math.pow(this.zoomFactor_, -delta), anchor);
  }

  /**
   * Adds a value to the view rotation, optionally using an anchor. Any rotation
   * constraint will apply.
   * @param {number} delta Relative value to add to the zoom rotation, in radians.
   * @param {import("./coordinate.js").Coordinate} [anchor] The rotation center.
   * @api
   */
  adjustRotation(delta, anchor) {
    if (anchor) {
      anchor = fromUserCoordinate(anchor, this.getProjection());
    }
    this.adjustRotationInternal(delta, anchor);
  }

  /**
   * @param {number} delta Relative value to add to the zoom rotation, in radians.
   * @param {import("./coordinate.js").Coordinate} [anchor] The rotation center.
   */
  adjustRotationInternal(delta, anchor) {
    const isMoving = this.getAnimating() || this.getInteracting();
    const newRotation = this.constraints_.rotation(
      this.targetRotation_ + delta,
      isMoving,
    );
    if (anchor) {
      this.targetCenter_ = this.calculateCenterRotate(newRotation, anchor);
    }
    this.targetRotation_ += delta;
    this.applyTargetState_();
  }

  /**
   * Set the center of the current view. Any extent constraint will apply.
   * @param {import("./coordinate.js").Coordinate|undefined} center The center of the view.
   * @observable
   * @api
   */
  setCenter(center) {
    this.setCenterInternal(
      center ? fromUserCoordinate(center, this.getProjection()) : center,
    );
  }

  /**
   * Set the center using the view projection (not the user projection).
   * @param {import("./coordinate.js").Coordinate|undefined} center The center of the view.
   */
  setCenterInternal(center) {
    this.targetCenter_ = center;
    this.applyTargetState_();
  }

  /**
   * @param {import("./ViewHint.js").default} hint Hint.
   * @param {number} delta Delta.
   * @return {number} New value.
   */
  setHint(hint, delta) {
    this.hints_[hint] += delta;
    this.changed();
    return this.hints_[hint];
  }

  /**
   * Set the resolution for this view. Any resolution constraint will apply.
   * @param {number|undefined} resolution The resolution of the view.
   * @observable
   * @api
   */
  setResolution(resolution) {
    this.targetResolution_ = resolution;
    this.applyTargetState_();
  }

  /**
   * Set the rotation for this view. Any rotation constraint will apply.
   * @param {number} rotation The rotation of the view in radians.
   * @observable
   * @api
   */
  setRotation(rotation) {
    this.targetRotation_ = rotation;
    this.applyTargetState_();
  }

  /**
   * Zoom to a specific zoom level. Any resolution constrain will apply.
   * @param {number} zoom Zoom level.
   * @api
   */
  setZoom(zoom) {
    this.setResolution(this.getResolutionForZoom(zoom));
  }

  /**
   * Recompute rotation/resolution/center based on target values.
   * Note: we have to compute rotation first, then resolution and center considering that
   * parameters can influence one another in case a view extent constraint is present.
   * @param {boolean} [doNotCancelAnims] Do not cancel animations.
   * @param {boolean} [forceMoving] Apply constraints as if the view is moving.
   * @private
   */
  applyTargetState_(doNotCancelAnims, forceMoving) {
    const isMoving =
      this.getAnimating() || this.getInteracting() || forceMoving;

    // compute rotation
    const newRotation = this.constraints_.rotation(
      this.targetRotation_,
      isMoving,
    );
    const size = this.getViewportSize_(newRotation);
    const newResolution = this.constraints_.resolution(
      this.targetResolution_,
      0,
      size,
      isMoving,
    );
    const newCenter = this.constraints_.center(
      this.targetCenter_,
      newResolution,
      size,
      isMoving,
      this.calculateCenterShift(
        this.targetCenter_,
        newResolution,
        newRotation,
        size,
      ),
    );

    if (this.get(ViewProperty.ROTATION) !== newRotation) {
      this.set(ViewProperty.ROTATION, newRotation);
    }
    if (this.get(ViewProperty.RESOLUTION) !== newResolution) {
      this.set(ViewProperty.RESOLUTION, newResolution);
      this.set('zoom', this.getZoom(), true);
    }
    if (
      !newCenter ||
      !this.get(ViewProperty.CENTER) ||
      !coordinate_equals(this.get(ViewProperty.CENTER), newCenter)
    ) {
      this.set(ViewProperty.CENTER, newCenter);
    }

    if (this.getAnimating() && !doNotCancelAnims) {
      this.cancelAnimations();
    }
    this.cancelAnchor_ = undefined;
  }

  /**
   * If any constraints need to be applied, an animation will be triggered.
   * This is typically done on interaction end.
   * Note: calling this with a duration of 0 will apply the constrained values straight away,
   * without animation.
   * @param {number} [duration] The animation duration in ms.
   * @param {number} [resolutionDirection] Which direction to zoom.
   * @param {import("./coordinate.js").Coordinate} [anchor] The origin of the transformation.
   */
  resolveConstraints(duration, resolutionDirection, anchor) {
    duration = duration !== undefined ? duration : 200;
    const direction = resolutionDirection || 0;

    const newRotation = this.constraints_.rotation(this.targetRotation_);
    const size = this.getViewportSize_(newRotation);
    const newResolution = this.constraints_.resolution(
      this.targetResolution_,
      direction,
      size,
    );
    const newCenter = this.constraints_.center(
      this.targetCenter_,
      newResolution,
      size,
      false,
      this.calculateCenterShift(
        this.targetCenter_,
        newResolution,
        newRotation,
        size,
      ),
    );

    if (duration === 0 && !this.cancelAnchor_) {
      this.targetResolution_ = newResolution;
      this.targetRotation_ = newRotation;
      this.targetCenter_ = newCenter;
      this.applyTargetState_();
      return;
    }

    anchor = anchor || (duration === 0 ? this.cancelAnchor_ : undefined);
    this.cancelAnchor_ = undefined;

    if (
      this.getResolution() !== newResolution ||
      this.getRotation() !== newRotation ||
      !this.getCenterInternal() ||
      !coordinate_equals(this.getCenterInternal(), newCenter)
    ) {
      if (this.getAnimating()) {
        this.cancelAnimations();
      }

      this.animateInternal({
        rotation: newRotation,
        center: newCenter,
        resolution: newResolution,
        duration: duration,
        easing: easeOut,
        anchor: anchor,
      });
    }
  }

  /**
   * Notify the View that an interaction has started.
   * The view state will be resolved to a stable one if needed
   * (depending on its constraints).
   * @api
   */
  beginInteraction() {
    this.resolveConstraints(0);

    this.setHint(ViewHint.INTERACTING, 1);
  }

  /**
   * Notify the View that an interaction has ended. The view state will be resolved
   * to a stable one if needed (depending on its constraints).
   * @param {number} [duration] Animation duration in ms.
   * @param {number} [resolutionDirection] Which direction to zoom.
   * @param {import("./coordinate.js").Coordinate} [anchor] The origin of the transformation.
   * @api
   */
  endInteraction(duration, resolutionDirection, anchor) {
    anchor = anchor && fromUserCoordinate(anchor, this.getProjection());
    this.endInteractionInternal(duration, resolutionDirection, anchor);
  }

  /**
   * Notify the View that an interaction has ended. The view state will be resolved
   * to a stable one if needed (depending on its constraints).
   * @param {number} [duration] Animation duration in ms.
   * @param {number} [resolutionDirection] Which direction to zoom.
   * @param {import("./coordinate.js").Coordinate} [anchor] The origin of the transformation.
   */
  endInteractionInternal(duration, resolutionDirection, anchor) {
    if (!this.getInteracting()) {
      return;
    }
    this.setHint(ViewHint.INTERACTING, -1);
    this.resolveConstraints(duration, resolutionDirection, anchor);
  }

  /**
   * Get a valid position for the view center according to the current constraints.
   * @param {import("./coordinate.js").Coordinate|undefined} targetCenter Target center position.
   * @param {number} [targetResolution] Target resolution. If not supplied, the current one will be used.
   * This is useful to guess a valid center position at a different zoom level.
   * @return {import("./coordinate.js").Coordinate|undefined} Valid center position.
   */
  getConstrainedCenter(targetCenter, targetResolution) {
    const size = this.getViewportSize_(this.getRotation());
    return this.constraints_.center(
      targetCenter,
      targetResolution || this.getResolution(),
      size,
    );
  }

  /**
   * Get a valid zoom level according to the current view constraints.
   * @param {number|undefined} targetZoom Target zoom.
   * @param {number} [direction] Indicate which resolution should be used
   * by a renderer if the view resolution does not match any resolution of the tile source.
   * If 0, the nearest resolution will be used. If 1, the nearest lower resolution
   * will be used. If -1, the nearest higher resolution will be used.
   * @return {number|undefined} Valid zoom level.
   */
  getConstrainedZoom(targetZoom, direction) {
    const targetRes = this.getResolutionForZoom(targetZoom);
    return this.getZoomForResolution(
      this.getConstrainedResolution(targetRes, direction),
    );
  }

  /**
   * Get a valid resolution according to the current view constraints.
   * @param {number|undefined} targetResolution Target resolution.
   * @param {number} [direction] Indicate which resolution should be used
   * by a renderer if the view resolution does not match any resolution of the tile source.
   * If 0, the nearest resolution will be used. If 1, the nearest lower resolution
   * will be used. If -1, the nearest higher resolution will be used.
   * @return {number|undefined} Valid resolution.
   */
  getConstrainedResolution(targetResolution, direction) {
    direction = direction || 0;
    const size = this.getViewportSize_(this.getRotation());

    return this.constraints_.resolution(targetResolution, direction, size);
  }
}

/**
 * @param {Function} callback Callback.
 * @param {*} returnValue Return value.
 */
function animationCallback(callback, returnValue) {
  setTimeout(function () {
    callback(returnValue);
  }, 0);
}

/**
 * @param {ViewOptions} options View options.
 * @return {import("./centerconstraint.js").Type} The constraint.
 */
function createCenterConstraint(options) {
  if (options.extent !== undefined) {
    const smooth =
      options.smoothExtentConstraint !== undefined
        ? options.smoothExtentConstraint
        : true;
    return createExtent(options.extent, options.constrainOnlyCenter, smooth);
  }

  const projection = createProjection(options.projection, 'EPSG:3857');
  if (options.multiWorld !== true && projection.isGlobal()) {
    const extent = projection.getExtent().slice();
    extent[0] = -Infinity;
    extent[2] = Infinity;
    return createExtent(extent, false, false);
  }

  return none;
}

/**
 * @param {ViewOptions} options View options.
 * @return {{constraint: import("./resolutionconstraint.js").Type, maxResolution: number,
 *     minResolution: number, minZoom: number, zoomFactor: number}} The constraint.
 */
function createResolutionConstraint(options) {
  let resolutionConstraint;
  let maxResolution;
  let minResolution;

  // TODO: move these to be ol constants
  // see https://github.com/openlayers/openlayers/issues/2076
  const defaultMaxZoom = 28;
  const defaultZoomFactor = 2;

  let minZoom =
    options.minZoom !== undefined ? options.minZoom : DEFAULT_MIN_ZOOM;

  let maxZoom =
    options.maxZoom !== undefined ? options.maxZoom : defaultMaxZoom;

  const zoomFactor =
    options.zoomFactor !== undefined ? options.zoomFactor : defaultZoomFactor;

  const multiWorld =
    options.multiWorld !== undefined ? options.multiWorld : false;

  const smooth =
    options.smoothResolutionConstraint !== undefined
      ? options.smoothResolutionConstraint
      : true;

  const showFullExtent =
    options.showFullExtent !== undefined ? options.showFullExtent : false;

  const projection = createProjection(options.projection, 'EPSG:3857');
  const projExtent = projection.getExtent();
  let constrainOnlyCenter = options.constrainOnlyCenter;
  let extent = options.extent;
  if (!multiWorld && !extent && projection.isGlobal()) {
    constrainOnlyCenter = false;
    extent = projExtent;
  }

  if (options.resolutions !== undefined) {
    const resolutions = options.resolutions;
    maxResolution = resolutions[minZoom];
    minResolution =
      resolutions[maxZoom] !== undefined
        ? resolutions[maxZoom]
        : resolutions[resolutions.length - 1];

    if (options.constrainResolution) {
      resolutionConstraint = createSnapToResolutions(
        resolutions,
        smooth,
        !constrainOnlyCenter && extent,
        showFullExtent,
      );
    } else {
      resolutionConstraint = createMinMaxResolution(
        maxResolution,
        minResolution,
        smooth,
        !constrainOnlyCenter && extent,
        showFullExtent,
      );
    }
  } else {
    // calculate the default min and max resolution
    const size = !projExtent
      ? // use an extent that can fit the whole world if need be
        (360 * METERS_PER_UNIT.degrees) / projection.getMetersPerUnit()
      : Math.max(extent_getWidth(projExtent), getHeight(projExtent));

    const defaultMaxResolution =
      size / DEFAULT_TILE_SIZE / Math.pow(defaultZoomFactor, DEFAULT_MIN_ZOOM);

    const defaultMinResolution =
      defaultMaxResolution /
      Math.pow(defaultZoomFactor, defaultMaxZoom - DEFAULT_MIN_ZOOM);

    // user provided maxResolution takes precedence
    maxResolution = options.maxResolution;
    if (maxResolution !== undefined) {
      minZoom = 0;
    } else {
      maxResolution = defaultMaxResolution / Math.pow(zoomFactor, minZoom);
    }

    // user provided minResolution takes precedence
    minResolution = options.minResolution;
    if (minResolution === undefined) {
      if (options.maxZoom !== undefined) {
        if (options.maxResolution !== undefined) {
          minResolution = maxResolution / Math.pow(zoomFactor, maxZoom);
        } else {
          minResolution = defaultMaxResolution / Math.pow(zoomFactor, maxZoom);
        }
      } else {
        minResolution = defaultMinResolution;
      }
    }

    // given discrete zoom levels, minResolution may be different than provided
    maxZoom =
      minZoom +
      Math.floor(
        Math.log(maxResolution / minResolution) / Math.log(zoomFactor),
      );
    minResolution = maxResolution / Math.pow(zoomFactor, maxZoom - minZoom);

    if (options.constrainResolution) {
      resolutionConstraint = createSnapToPower(
        zoomFactor,
        maxResolution,
        minResolution,
        smooth,
        !constrainOnlyCenter && extent,
        showFullExtent,
      );
    } else {
      resolutionConstraint = createMinMaxResolution(
        maxResolution,
        minResolution,
        smooth,
        !constrainOnlyCenter && extent,
        showFullExtent,
      );
    }
  }
  return {
    constraint: resolutionConstraint,
    maxResolution: maxResolution,
    minResolution: minResolution,
    minZoom: minZoom,
    zoomFactor: zoomFactor,
  };
}

/**
 * @param {ViewOptions} options View options.
 * @return {import("./rotationconstraint.js").Type} Rotation constraint.
 */
function createRotationConstraint(options) {
  const enableRotation =
    options.enableRotation !== undefined ? options.enableRotation : true;
  if (enableRotation) {
    const constrainRotation = options.constrainRotation;
    if (constrainRotation === undefined || constrainRotation === true) {
      return createSnapToZero();
    }
    if (constrainRotation === false) {
      return rotationconstraint_none;
    }
    if (typeof constrainRotation === 'number') {
      return createSnapToN(constrainRotation);
    }
    return rotationconstraint_none;
  }
  return disable;
}

/**
 * Determine if an animation involves no view change.
 * @param {Animation} animation The animation.
 * @return {boolean} The animation involves no view change.
 */
function isNoopAnimation(animation) {
  if (animation.sourceCenter && animation.targetCenter) {
    if (!coordinate_equals(animation.sourceCenter, animation.targetCenter)) {
      return false;
    }
  }
  if (animation.sourceResolution !== animation.targetResolution) {
    return false;
  }
  if (animation.sourceRotation !== animation.targetRotation) {
    return false;
  }
  return true;
}

/**
 * @param {import("./coordinate.js").Coordinate} coordinate Coordinate.
 * @param {import("./size.js").Size} size Box pixel size.
 * @param {import("./pixel.js").Pixel} position Position on the view to center on.
 * @param {number} resolution Resolution.
 * @param {number} rotation Rotation.
 * @return {import("./coordinate.js").Coordinate} Shifted center.
 */
function calculateCenterOn(coordinate, size, position, resolution, rotation) {
  // calculate rotated position
  const cosAngle = Math.cos(-rotation);
  let sinAngle = Math.sin(-rotation);
  let rotX = coordinate[0] * cosAngle - coordinate[1] * sinAngle;
  let rotY = coordinate[1] * cosAngle + coordinate[0] * sinAngle;
  rotX += (size[0] / 2 - position[0]) * resolution;
  rotY += (position[1] - size[1] / 2) * resolution;

  // go back to original angle
  sinAngle = -sinAngle; // go back to original rotation
  const centerX = rotX * cosAngle - rotY * sinAngle;
  const centerY = rotY * cosAngle + rotX * sinAngle;

  return [centerX, centerY];
}

/* harmony default export */ const ol_View = (View);

;// CONCATENATED MODULE: ./node_modules/ol/Feature.js
/**
 * @module ol/Feature
 */





/**
 * @typedef {typeof Feature|typeof import("./render/Feature.js").default} FeatureClass
 */

/**
 * @typedef {Feature|import("./render/Feature.js").default} FeatureLike
 */

/***
 * @template Return
 * @typedef {import("./Observable").OnSignature<import("./Observable").EventTypes, import("./events/Event.js").default, Return> &
 *   import("./Observable").OnSignature<import("./ObjectEventType").Types|'change:geometry', import("./Object").ObjectEvent, Return> &
 *   import("./Observable").CombinedOnSignature<import("./Observable").EventTypes|import("./ObjectEventType").Types
 *     |'change:geometry', Return>} FeatureOnSignature
 */

/***
 * @template {import("./geom/Geometry.js").default} [Geometry=import("./geom/Geometry.js").default]
 * @typedef {Object<string, *> & { geometry?: Geometry }} ObjectWithGeometry
 */

/**
 * @classdesc
 * A vector object for geographic features with a geometry and other
 * attribute properties, similar to the features in vector file formats like
 * GeoJSON.
 *
 * Features can be styled individually with `setStyle`; otherwise they use the
 * style of their vector layer.
 *
 * Note that attribute properties are set as {@link module:ol/Object~BaseObject} properties on
 * the feature object, so they are observable, and have get/set accessors.
 *
 * Typically, a feature has a single geometry property. You can set the
 * geometry using the `setGeometry` method and get it with `getGeometry`.
 * It is possible to store more than one geometry on a feature using attribute
 * properties. By default, the geometry used for rendering is identified by
 * the property name `geometry`. If you want to use another geometry property
 * for rendering, use the `setGeometryName` method to change the attribute
 * property associated with the geometry for the feature.  For example:
 *
 * ```js
 *
 * import Feature from 'ol/Feature.js';
 * import Polygon from 'ol/geom/Polygon.js';
 * import Point from 'ol/geom/Point.js';
 *
 * const feature = new Feature({
 *   geometry: new Polygon(polyCoords),
 *   labelPoint: new Point(labelCoords),
 *   name: 'My Polygon',
 * });
 *
 * // get the polygon geometry
 * const poly = feature.getGeometry();
 *
 * // Render the feature as a point using the coordinates from labelPoint
 * feature.setGeometryName('labelPoint');
 *
 * // get the point geometry
 * const point = feature.getGeometry();
 * ```
 *
 * @api
 * @template {import("./geom/Geometry.js").default} [Geometry=import("./geom/Geometry.js").default]
 */
class Feature_Feature extends ol_Object {
  /**
   * @param {Geometry|ObjectWithGeometry<Geometry>} [geometryOrProperties]
   *     You may pass a Geometry object directly, or an object literal containing
   *     properties. If you pass an object literal, you may include a Geometry
   *     associated with a `geometry` key.
   */
  constructor(geometryOrProperties) {
    super();

    /***
     * @type {FeatureOnSignature<import("./events").EventsKey>}
     */
    this.on;

    /***
     * @type {FeatureOnSignature<import("./events").EventsKey>}
     */
    this.once;

    /***
     * @type {FeatureOnSignature<void>}
     */
    this.un;

    /**
     * @private
     * @type {number|string|undefined}
     */
    this.id_ = undefined;

    /**
     * @type {string}
     * @private
     */
    this.geometryName_ = 'geometry';

    /**
     * User provided style.
     * @private
     * @type {import("./style/Style.js").StyleLike}
     */
    this.style_ = null;

    /**
     * @private
     * @type {import("./style/Style.js").StyleFunction|undefined}
     */
    this.styleFunction_ = undefined;

    /**
     * @private
     * @type {?import("./events.js").EventsKey}
     */
    this.geometryChangeKey_ = null;

    this.addChangeListener(this.geometryName_, this.handleGeometryChanged_);

    if (geometryOrProperties) {
      if (
        typeof (
          /** @type {?} */ (geometryOrProperties).getSimplifiedGeometry
        ) === 'function'
      ) {
        const geometry = /** @type {Geometry} */ (geometryOrProperties);
        this.setGeometry(geometry);
      } else {
        /** @type {Object<string, *>} */
        const properties = geometryOrProperties;
        this.setProperties(properties);
      }
    }
  }

  /**
   * Clone this feature. If the original feature has a geometry it
   * is also cloned. The feature id is not set in the clone.
   * @return {Feature<Geometry>} The clone.
   * @api
   */
  clone() {
    const clone = /** @type {Feature<Geometry>} */ (
      new Feature_Feature(this.hasProperties() ? this.getProperties() : null)
    );
    clone.setGeometryName(this.getGeometryName());
    const geometry = this.getGeometry();
    if (geometry) {
      clone.setGeometry(/** @type {Geometry} */ (geometry.clone()));
    }
    const style = this.getStyle();
    if (style) {
      clone.setStyle(style);
    }
    return clone;
  }

  /**
   * Get the feature's default geometry.  A feature may have any number of named
   * geometries.  The "default" geometry (the one that is rendered by default) is
   * set when calling {@link module:ol/Feature~Feature#setGeometry}.
   * @return {Geometry|undefined} The default geometry for the feature.
   * @api
   * @observable
   */
  getGeometry() {
    return /** @type {Geometry|undefined} */ (this.get(this.geometryName_));
  }

  /**
   * Get the feature identifier.  This is a stable identifier for the feature and
   * is either set when reading data from a remote source or set explicitly by
   * calling {@link module:ol/Feature~Feature#setId}.
   * @return {number|string|undefined} Id.
   * @api
   */
  getId() {
    return this.id_;
  }

  /**
   * Get the name of the feature's default geometry.  By default, the default
   * geometry is named `geometry`.
   * @return {string} Get the property name associated with the default geometry
   *     for this feature.
   * @api
   */
  getGeometryName() {
    return this.geometryName_;
  }

  /**
   * Get the feature's style. Will return what was provided to the
   * {@link module:ol/Feature~Feature#setStyle} method.
   * @return {import("./style/Style.js").StyleLike|undefined} The feature style.
   * @api
   */
  getStyle() {
    return this.style_;
  }

  /**
   * Get the feature's style function.
   * @return {import("./style/Style.js").StyleFunction|undefined} Return a function
   * representing the current style of this feature.
   * @api
   */
  getStyleFunction() {
    return this.styleFunction_;
  }

  /**
   * @private
   */
  handleGeometryChange_() {
    this.changed();
  }

  /**
   * @private
   */
  handleGeometryChanged_() {
    if (this.geometryChangeKey_) {
      unlistenByKey(this.geometryChangeKey_);
      this.geometryChangeKey_ = null;
    }
    const geometry = this.getGeometry();
    if (geometry) {
      this.geometryChangeKey_ = events_listen(
        geometry,
        events_EventType.CHANGE,
        this.handleGeometryChange_,
        this,
      );
    }
    this.changed();
  }

  /**
   * Set the default geometry for the feature.  This will update the property
   * with the name returned by {@link module:ol/Feature~Feature#getGeometryName}.
   * @param {Geometry|undefined} geometry The new geometry.
   * @api
   * @observable
   */
  setGeometry(geometry) {
    this.set(this.geometryName_, geometry);
  }

  /**
   * Set the style for the feature to override the layer style.  This can be a
   * single style object, an array of styles, or a function that takes a
   * resolution and returns an array of styles. To unset the feature style, call
   * `setStyle()` without arguments or a falsey value.
   * @param {import("./style/Style.js").StyleLike} [style] Style for this feature.
   * @api
   * @fires module:ol/events/Event~BaseEvent#event:change
   */
  setStyle(style) {
    this.style_ = style;
    this.styleFunction_ = !style ? undefined : createStyleFunction(style);
    this.changed();
  }

  /**
   * Set the feature id.  The feature id is considered stable and may be used when
   * requesting features or comparing identifiers returned from a remote source.
   * The feature id can be used with the
   * {@link module:ol/source/Vector~VectorSource#getFeatureById} method.
   * @param {number|string|undefined} id The feature id.
   * @api
   * @fires module:ol/events/Event~BaseEvent#event:change
   */
  setId(id) {
    this.id_ = id;
    this.changed();
  }

  /**
   * Set the property name to be used when getting the feature's default geometry.
   * When calling {@link module:ol/Feature~Feature#getGeometry}, the value of the property with
   * this name will be returned.
   * @param {string} name The property name of the default geometry.
   * @api
   */
  setGeometryName(name) {
    this.removeChangeListener(this.geometryName_, this.handleGeometryChanged_);
    this.geometryName_ = name;
    this.addChangeListener(this.geometryName_, this.handleGeometryChanged_);
    this.handleGeometryChanged_();
  }
}

/**
 * Convert the provided object into a feature style function.  Functions passed
 * through unchanged.  Arrays of Style or single style objects wrapped
 * in a new feature style function.
 * @param {!import("./style/Style.js").StyleFunction|!Array<import("./style/Style.js").default>|!import("./style/Style.js").default} obj
 *     A feature style function, a single style, or an array of styles.
 * @return {import("./style/Style.js").StyleFunction} A style function.
 */
function createStyleFunction(obj) {
  if (typeof obj === 'function') {
    return obj;
  }
  /**
   * @type {Array<import("./style/Style.js").default>}
   */
  let styles;
  if (Array.isArray(obj)) {
    styles = obj;
  } else {
    assert(
      typeof (/** @type {?} */ (obj).getZIndex) === 'function',
      'Expected an `ol/style/Style` or an array of `ol/style/Style.js`',
    );
    const style = /** @type {import("./style/Style.js").default} */ (obj);
    styles = [style];
  }
  return function () {
    return styles;
  };
}
/* harmony default export */ const ol_Feature = (Feature_Feature);

;// CONCATENATED MODULE: ./node_modules/ol/CollectionEventType.js
/**
 * @module ol/CollectionEventType
 */

/**
 * @enum {string}
 */
/* harmony default export */ const CollectionEventType = ({
  /**
   * Triggered when an item is added to the collection.
   * @event module:ol/Collection.CollectionEvent#add
   * @api
   */
  ADD: 'add',
  /**
   * Triggered when an item is removed from the collection.
   * @event module:ol/Collection.CollectionEvent#remove
   * @api
   */
  REMOVE: 'remove',
});

;// CONCATENATED MODULE: ./node_modules/ol/Collection.js
/**
 * @module ol/Collection
 */




/**
 * @enum {string}
 * @private
 */
const Property = {
  LENGTH: 'length',
};

/**
 * @classdesc
 * Events emitted by {@link module:ol/Collection~Collection} instances are instances of this
 * type.
 * @template T
 */
class CollectionEvent extends Event {
  /**
   * @param {import("./CollectionEventType.js").default} type Type.
   * @param {T} element Element.
   * @param {number} index The index of the added or removed element.
   */
  constructor(type, element, index) {
    super(type);

    /**
     * The element that is added to or removed from the collection.
     * @type {T}
     * @api
     */
    this.element = element;

    /**
     * The index of the added or removed element.
     * @type {number}
     * @api
     */
    this.index = index;
  }
}

/***
 * @template T
 * @template Return
 * @typedef {import("./Observable").OnSignature<import("./Observable").EventTypes, import("./events/Event.js").default, Return> &
 *   import("./Observable").OnSignature<import("./ObjectEventType").Types|'change:length', import("./Object").ObjectEvent, Return> &
 *   import("./Observable").OnSignature<'add'|'remove', CollectionEvent<T>, Return> &
 *   import("./Observable").CombinedOnSignature<import("./Observable").EventTypes|import("./ObjectEventType").Types|
 *     'change:length'|'add'|'remove',Return>} CollectionOnSignature
 */

/**
 * @typedef {Object} Options
 * @property {boolean} [unique=false] Disallow the same item from being added to
 * the collection twice.
 */

/**
 * @classdesc
 * An expanded version of standard JS Array, adding convenience methods for
 * manipulation. Add and remove changes to the Collection trigger a Collection
 * event. Note that this does not cover changes to the objects _within_ the
 * Collection; they trigger events on the appropriate object, not on the
 * Collection as a whole.
 *
 * @fires CollectionEvent
 *
 * @template T
 * @api
 */
class Collection extends ol_Object {
  /**
   * @param {Array<T>} [array] Array.
   * @param {Options} [options] Collection options.
   */
  constructor(array, options) {
    super();

    /***
     * @type {CollectionOnSignature<T, import("./events").EventsKey>}
     */
    this.on;

    /***
     * @type {CollectionOnSignature<T, import("./events").EventsKey>}
     */
    this.once;

    /***
     * @type {CollectionOnSignature<T, void>}
     */
    this.un;

    options = options || {};

    /**
     * @private
     * @type {boolean}
     */
    this.unique_ = !!options.unique;

    /**
     * @private
     * @type {!Array<T>}
     */
    this.array_ = array ? array : [];

    if (this.unique_) {
      for (let i = 0, ii = this.array_.length; i < ii; ++i) {
        this.assertUnique_(this.array_[i], i);
      }
    }

    this.updateLength_();
  }

  /**
   * Remove all elements from the collection.
   * @api
   */
  clear() {
    while (this.getLength() > 0) {
      this.pop();
    }
  }

  /**
   * Add elements to the collection.  This pushes each item in the provided array
   * to the end of the collection.
   * @param {!Array<T>} arr Array.
   * @return {Collection<T>} This collection.
   * @api
   */
  extend(arr) {
    for (let i = 0, ii = arr.length; i < ii; ++i) {
      this.push(arr[i]);
    }
    return this;
  }

  /**
   * Iterate over each element, calling the provided callback.
   * @param {function(T, number, Array<T>): *} f The function to call
   *     for every element. This function takes 3 arguments (the element, the
   *     index and the array). The return value is ignored.
   * @api
   */
  forEach(f) {
    const array = this.array_;
    for (let i = 0, ii = array.length; i < ii; ++i) {
      f(array[i], i, array);
    }
  }

  /**
   * Get a reference to the underlying Array object. Warning: if the array
   * is mutated, no events will be dispatched by the collection, and the
   * collection's "length" property won't be in sync with the actual length
   * of the array.
   * @return {!Array<T>} Array.
   * @api
   */
  getArray() {
    return this.array_;
  }

  /**
   * Get the element at the provided index.
   * @param {number} index Index.
   * @return {T} Element.
   * @api
   */
  item(index) {
    return this.array_[index];
  }

  /**
   * Get the length of this collection.
   * @return {number} The length of the array.
   * @observable
   * @api
   */
  getLength() {
    return this.get(Property.LENGTH);
  }

  /**
   * Insert an element at the provided index.
   * @param {number} index Index.
   * @param {T} elem Element.
   * @api
   */
  insertAt(index, elem) {
    if (index < 0 || index > this.getLength()) {
      throw new Error('Index out of bounds: ' + index);
    }
    if (this.unique_) {
      this.assertUnique_(elem);
    }
    this.array_.splice(index, 0, elem);
    this.updateLength_();
    this.dispatchEvent(
      new CollectionEvent(CollectionEventType.ADD, elem, index),
    );
  }

  /**
   * Remove the last element of the collection and return it.
   * Return `undefined` if the collection is empty.
   * @return {T|undefined} Element.
   * @api
   */
  pop() {
    return this.removeAt(this.getLength() - 1);
  }

  /**
   * Insert the provided element at the end of the collection.
   * @param {T} elem Element.
   * @return {number} New length of the collection.
   * @api
   */
  push(elem) {
    if (this.unique_) {
      this.assertUnique_(elem);
    }
    const n = this.getLength();
    this.insertAt(n, elem);
    return this.getLength();
  }

  /**
   * Remove the first occurrence of an element from the collection.
   * @param {T} elem Element.
   * @return {T|undefined} The removed element or undefined if none found.
   * @api
   */
  remove(elem) {
    const arr = this.array_;
    for (let i = 0, ii = arr.length; i < ii; ++i) {
      if (arr[i] === elem) {
        return this.removeAt(i);
      }
    }
    return undefined;
  }

  /**
   * Remove the element at the provided index and return it.
   * Return `undefined` if the collection does not contain this index.
   * @param {number} index Index.
   * @return {T|undefined} Value.
   * @api
   */
  removeAt(index) {
    if (index < 0 || index >= this.getLength()) {
      return undefined;
    }
    const prev = this.array_[index];
    this.array_.splice(index, 1);
    this.updateLength_();
    this.dispatchEvent(
      /** @type {CollectionEvent<T>} */ (
        new CollectionEvent(CollectionEventType.REMOVE, prev, index)
      ),
    );
    return prev;
  }

  /**
   * Set the element at the provided index.
   * @param {number} index Index.
   * @param {T} elem Element.
   * @api
   */
  setAt(index, elem) {
    const n = this.getLength();
    if (index >= n) {
      this.insertAt(index, elem);
      return;
    }
    if (index < 0) {
      throw new Error('Index out of bounds: ' + index);
    }
    if (this.unique_) {
      this.assertUnique_(elem, index);
    }
    const prev = this.array_[index];
    this.array_[index] = elem;
    this.dispatchEvent(
      /** @type {CollectionEvent<T>} */ (
        new CollectionEvent(CollectionEventType.REMOVE, prev, index)
      ),
    );
    this.dispatchEvent(
      /** @type {CollectionEvent<T>} */ (
        new CollectionEvent(CollectionEventType.ADD, elem, index)
      ),
    );
  }

  /**
   * @private
   */
  updateLength_() {
    this.set(Property.LENGTH, this.array_.length);
  }

  /**
   * @private
   * @param {T} elem Element.
   * @param {number} [except] Optional index to ignore.
   */
  assertUnique_(elem, except) {
    for (let i = 0, ii = this.array_.length; i < ii; ++i) {
      if (this.array_[i] === elem && i !== except) {
        throw new Error('Duplicate item added to a unique collection');
      }
    }
  }
}

/* harmony default export */ const ol_Collection = (Collection);

;// CONCATENATED MODULE: ./node_modules/ol/MapEvent.js
/**
 * @module ol/MapEvent
 */


/**
 * @classdesc
 * Events emitted as map events are instances of this type.
 * See {@link module:ol/Map~Map} for which events trigger a map event.
 */
class MapEvent extends Event {
  /**
   * @param {string} type Event type.
   * @param {import("./Map.js").default} map Map.
   * @param {?import("./Map.js").FrameState} [frameState] Frame state.
   */
  constructor(type, map, frameState) {
    super(type);

    /**
     * The map where the event occurred.
     * @type {import("./Map.js").default}
     * @api
     */
    this.map = map;

    /**
     * The frame state at the time of the event.
     * @type {?import("./Map.js").FrameState}
     * @api
     */
    this.frameState = frameState !== undefined ? frameState : null;
  }
}

/* harmony default export */ const ol_MapEvent = (MapEvent);

;// CONCATENATED MODULE: ./node_modules/ol/MapBrowserEvent.js
/**
 * @module ol/MapBrowserEvent
 */


/**
 * @classdesc
 * Events emitted as map browser events are instances of this type.
 * See {@link module:ol/Map~Map} for which events trigger a map browser event.
 * @template {PointerEvent|KeyboardEvent|WheelEvent} [EVENT=PointerEvent|KeyboardEvent|WheelEvent]
 */
class MapBrowserEvent extends ol_MapEvent {
  /**
   * @param {string} type Event type.
   * @param {import("./Map.js").default} map Map.
   * @param {EVENT} originalEvent Original event.
   * @param {boolean} [dragging] Is the map currently being dragged?
   * @param {import("./Map.js").FrameState} [frameState] Frame state.
   * @param {Array<PointerEvent>} [activePointers] Active pointers.
   */
  constructor(type, map, originalEvent, dragging, frameState, activePointers) {
    super(type, map, frameState);

    /**
     * The original browser event.
     * @const
     * @type {EVENT}
     * @api
     */
    this.originalEvent = originalEvent;

    /**
     * The map pixel relative to the viewport corresponding to the original browser event.
     * @type {?import("./pixel.js").Pixel}
     * @private
     */
    this.pixel_ = null;

    /**
     * The coordinate in the user projection corresponding to the original browser event.
     * @type {?import("./coordinate.js").Coordinate}
     * @private
     */
    this.coordinate_ = null;

    /**
     * Indicates if the map is currently being dragged. Only set for
     * `POINTERDRAG` and `POINTERMOVE` events. Default is `false`.
     *
     * @type {boolean}
     * @api
     */
    this.dragging = dragging !== undefined ? dragging : false;

    /**
     * @type {Array<PointerEvent>|undefined}
     */
    this.activePointers = activePointers;
  }

  /**
   * The map pixel relative to the viewport corresponding to the original event.
   * @type {import("./pixel.js").Pixel}
   * @api
   */
  get pixel() {
    if (!this.pixel_) {
      this.pixel_ = this.map.getEventPixel(this.originalEvent);
    }
    return this.pixel_;
  }
  set pixel(pixel) {
    this.pixel_ = pixel;
  }

  /**
   * The coordinate corresponding to the original browser event.  This will be in the user
   * projection if one is set.  Otherwise it will be in the view projection.
   * @type {import("./coordinate.js").Coordinate}
   * @api
   */
  get coordinate() {
    if (!this.coordinate_) {
      this.coordinate_ = this.map.getCoordinateFromPixel(this.pixel);
    }
    return this.coordinate_;
  }
  set coordinate(coordinate) {
    this.coordinate_ = coordinate;
  }

  /**
   * Prevents the default browser action.
   * See https://developer.mozilla.org/en-US/docs/Web/API/event.preventDefault.
   * @api
   * @override
   */
  preventDefault() {
    super.preventDefault();
    if ('preventDefault' in this.originalEvent) {
      /** @type {UIEvent} */ (this.originalEvent).preventDefault();
    }
  }

  /**
   * Prevents further propagation of the current event.
   * See https://developer.mozilla.org/en-US/docs/Web/API/event.stopPropagation.
   * @api
   * @override
   */
  stopPropagation() {
    super.stopPropagation();
    if ('stopPropagation' in this.originalEvent) {
      /** @type {UIEvent} */ (this.originalEvent).stopPropagation();
    }
  }
}

/* harmony default export */ const ol_MapBrowserEvent = (MapBrowserEvent);

;// CONCATENATED MODULE: ./node_modules/ol/MapBrowserEventType.js
/**
 * @module ol/MapBrowserEventType
 */


/**
 * Constants for event names.
 * @enum {string}
 */
/* harmony default export */ const ol_MapBrowserEventType = ({
  /**
   * A true single click with no dragging and no double click. Note that this
   * event is delayed by 250 ms to ensure that it is not a double click.
   * @event module:ol/MapBrowserEvent~MapBrowserEvent#singleclick
   * @api
   */
  SINGLECLICK: 'singleclick',

  /**
   * A click with no dragging. A double click will fire two of this.
   * @event module:ol/MapBrowserEvent~MapBrowserEvent#click
   * @api
   */
  CLICK: events_EventType.CLICK,

  /**
   * A true double click, with no dragging.
   * @event module:ol/MapBrowserEvent~MapBrowserEvent#dblclick
   * @api
   */
  DBLCLICK: events_EventType.DBLCLICK,

  /**
   * Triggered when a pointer is dragged.
   * @event module:ol/MapBrowserEvent~MapBrowserEvent#pointerdrag
   * @api
   */
  POINTERDRAG: 'pointerdrag',

  /**
   * Triggered when a pointer is moved. Note that on touch devices this is
   * triggered when the map is panned, so is not the same as mousemove.
   * @event module:ol/MapBrowserEvent~MapBrowserEvent#pointermove
   * @api
   */
  POINTERMOVE: 'pointermove',

  POINTERDOWN: 'pointerdown',
  POINTERUP: 'pointerup',
  POINTEROVER: 'pointerover',
  POINTEROUT: 'pointerout',
  POINTERENTER: 'pointerenter',
  POINTERLEAVE: 'pointerleave',
  POINTERCANCEL: 'pointercancel',
});

/***
 * @typedef {'singleclick'|'click'|'dblclick'|'pointerdrag'|'pointermove'} Types
 */

;// CONCATENATED MODULE: ./node_modules/ol/has.js
/**
 * @module ol/has
 */

const ua =
  typeof navigator !== 'undefined' && typeof navigator.userAgent !== 'undefined'
    ? navigator.userAgent.toLowerCase()
    : '';

/**
 * User agent string says we are dealing with Safari as browser.
 * @type {boolean}
 */
const SAFARI = ua.includes('safari') && !ua.includes('chrom');

/**
 * https://bugs.webkit.org/show_bug.cgi?id=237906
 * @type {boolean}
 */
const SAFARI_BUG_237906 =
  SAFARI &&
  (ua.includes('version/15.4') ||
    /cpu (os|iphone os) 15_4 like mac os x/.test(ua));

/**
 * User agent string says we are dealing with a WebKit engine.
 * @type {boolean}
 */
const WEBKIT = ua.includes('webkit') && !ua.includes('edge');

/**
 * User agent string says we are dealing with a Mac as platform.
 * @type {boolean}
 */
const has_MAC = ua.includes('macintosh');

/**
 * The ratio between physical pixels and device-independent pixels
 * (dips) on the device (`window.devicePixelRatio`).
 * @const
 * @type {number}
 * @api
 */
const DEVICE_PIXEL_RATIO =
  typeof devicePixelRatio !== 'undefined' ? devicePixelRatio : 1;

/**
 * The execution context is a worker with OffscreenCanvas available.
 * @const
 * @type {boolean}
 */
const WORKER_OFFSCREEN_CANVAS =
  typeof WorkerGlobalScope !== 'undefined' &&
  typeof OffscreenCanvas !== 'undefined' &&
  self instanceof WorkerGlobalScope; //eslint-disable-line

/**
 * Image.prototype.decode() is supported.
 * @type {boolean}
 */
const has_IMAGE_DECODE =
  typeof Image !== 'undefined' && Image.prototype.decode;

/**
 * createImageBitmap() is supported.
 * @type {boolean}
 */
const has_CREATE_IMAGE_BITMAP = typeof createImageBitmap === 'function';

/**
 * @type {boolean}
 */
const PASSIVE_EVENT_LISTENERS = (function () {
  let passive = false;
  try {
    const options = Object.defineProperty({}, 'passive', {
      get: function () {
        passive = true;
      },
    });

    // @ts-ignore Ignore invalid event type '_'
    window.addEventListener('_', null, options);
    // @ts-ignore Ignore invalid event type '_'
    window.removeEventListener('_', null, options);
  } catch {
    // passive not supported
  }
  return passive;
})();

;// CONCATENATED MODULE: ./node_modules/ol/pointer/EventType.js
/**
 * @module ol/pointer/EventType
 */

/**
 * Constants for event names.
 * @enum {string}
 */
/* harmony default export */ const pointer_EventType = ({
  POINTERMOVE: 'pointermove',
  POINTERDOWN: 'pointerdown',
  POINTERUP: 'pointerup',
  POINTEROVER: 'pointerover',
  POINTEROUT: 'pointerout',
  POINTERENTER: 'pointerenter',
  POINTERLEAVE: 'pointerleave',
  POINTERCANCEL: 'pointercancel',
});

;// CONCATENATED MODULE: ./node_modules/ol/MapBrowserEventHandler.js
/**
 * @module ol/MapBrowserEventHandler
 */









class MapBrowserEventHandler extends events_Target {
  /**
   * @param {import("./Map.js").default} map The map with the viewport to listen to events on.
   * @param {number} [moveTolerance] The minimal distance the pointer must travel to trigger a move.
   */
  constructor(map, moveTolerance) {
    super(map);

    /**
     * This is the element that we will listen to the real events on.
     * @type {import("./Map.js").default}
     * @private
     */
    this.map_ = map;

    /**
     * @type {ReturnType<typeof setTimeout>}
     * @private
     */
    this.clickTimeoutId_;

    /**
     * Emulate dblclick and singleclick. Will be true when only one pointer is active.
     * @type {boolean}
     */
    this.emulateClicks_ = false;

    /**
     * @type {boolean}
     * @private
     */
    this.dragging_ = false;

    /**
     * @type {!Array<import("./events.js").EventsKey>}
     * @private
     */
    this.dragListenerKeys_ = [];

    /**
     * @type {number}
     * @private
     */
    this.moveTolerance_ = moveTolerance === undefined ? 1 : moveTolerance;

    /**
     * The most recent "down" type event (or null if none have occurred).
     * Set on pointerdown.
     * @type {PointerEvent|null}
     * @private
     */
    this.down_ = null;

    const element = this.map_.getViewport();

    /**
     * @type {Array<PointerEvent>}
     * @private
     */
    this.activePointers_ = [];

    /**
     * @type {!Object<number, Event>}
     * @private
     */
    this.trackedTouches_ = {};

    /**
     * @private
     */
    this.element_ = element;

    /**
     * @type {?import("./events.js").EventsKey}
     * @private
     */
    this.pointerdownListenerKey_ = events_listen(
      element,
      pointer_EventType.POINTERDOWN,
      this.handlePointerDown_,
      this,
    );

    /**
     * @type {PointerEvent}
     * @private
     */
    this.originalPointerMoveEvent_;

    /**
     * @type {?import("./events.js").EventsKey}
     * @private
     */
    this.relayedListenerKey_ = events_listen(
      element,
      pointer_EventType.POINTERMOVE,
      this.relayMoveEvent_,
      this,
    );

    /**
     * @private
     */
    this.boundHandleTouchMove_ = this.handleTouchMove_.bind(this);

    this.element_.addEventListener(
      events_EventType.TOUCHMOVE,
      this.boundHandleTouchMove_,
      PASSIVE_EVENT_LISTENERS ? {passive: false} : false,
    );
  }

  /**
   * @param {PointerEvent} pointerEvent Pointer
   * event.
   * @private
   */
  emulateClick_(pointerEvent) {
    let newEvent = new ol_MapBrowserEvent(
      ol_MapBrowserEventType.CLICK,
      this.map_,
      pointerEvent,
    );
    this.dispatchEvent(newEvent);
    if (this.clickTimeoutId_ !== undefined) {
      // double-click
      clearTimeout(this.clickTimeoutId_);
      this.clickTimeoutId_ = undefined;
      newEvent = new ol_MapBrowserEvent(
        ol_MapBrowserEventType.DBLCLICK,
        this.map_,
        pointerEvent,
      );
      this.dispatchEvent(newEvent);
    } else {
      // click
      this.clickTimeoutId_ = setTimeout(() => {
        this.clickTimeoutId_ = undefined;
        const newEvent = new ol_MapBrowserEvent(
          ol_MapBrowserEventType.SINGLECLICK,
          this.map_,
          pointerEvent,
        );
        this.dispatchEvent(newEvent);
      }, 250);
    }
  }

  /**
   * Keeps track on how many pointers are currently active.
   *
   * @param {PointerEvent} pointerEvent Pointer
   * event.
   * @private
   */
  updateActivePointers_(pointerEvent) {
    const event = pointerEvent;
    const id = event.pointerId;

    if (
      event.type == ol_MapBrowserEventType.POINTERUP ||
      event.type == ol_MapBrowserEventType.POINTERCANCEL
    ) {
      delete this.trackedTouches_[id];
      for (const pointerId in this.trackedTouches_) {
        if (this.trackedTouches_[pointerId].target !== event.target) {
          // Some platforms assign a new pointerId when the target changes.
          // If this happens, delete one tracked pointer. If there is more
          // than one tracked pointer for the old target, it will be cleared
          // by subsequent POINTERUP events from other pointers.
          delete this.trackedTouches_[pointerId];
          break;
        }
      }
    } else if (
      event.type == ol_MapBrowserEventType.POINTERDOWN ||
      event.type == ol_MapBrowserEventType.POINTERMOVE
    ) {
      this.trackedTouches_[id] = event;
    }
    this.activePointers_ = Object.values(this.trackedTouches_);
  }

  /**
   * @param {PointerEvent} pointerEvent Pointer
   * event.
   * @private
   */
  handlePointerUp_(pointerEvent) {
    this.updateActivePointers_(pointerEvent);
    const newEvent = new ol_MapBrowserEvent(
      ol_MapBrowserEventType.POINTERUP,
      this.map_,
      pointerEvent,
      undefined,
      undefined,
      this.activePointers_,
    );
    this.dispatchEvent(newEvent);

    // We emulate click events on left mouse button click, touch contact, and pen
    // contact. isMouseActionButton returns true in these cases (evt.button is set
    // to 0).
    // See http://www.w3.org/TR/pointerevents/#button-states
    // We only fire click, singleclick, and doubleclick if nobody has called
    // event.preventDefault().
    if (
      this.emulateClicks_ &&
      !newEvent.defaultPrevented &&
      !this.dragging_ &&
      this.isMouseActionButton_(pointerEvent)
    ) {
      this.emulateClick_(this.down_);
    }

    if (this.activePointers_.length === 0) {
      this.dragListenerKeys_.forEach(unlistenByKey);
      this.dragListenerKeys_.length = 0;
      this.dragging_ = false;
      this.down_ = null;
    }
  }

  /**
   * @param {PointerEvent} pointerEvent Pointer
   * event.
   * @return {boolean} If the left mouse button was pressed.
   * @private
   */
  isMouseActionButton_(pointerEvent) {
    return pointerEvent.button === 0;
  }

  /**
   * @param {PointerEvent} pointerEvent Pointer
   * event.
   * @private
   */
  handlePointerDown_(pointerEvent) {
    this.emulateClicks_ = this.activePointers_.length === 0;
    this.updateActivePointers_(pointerEvent);
    const newEvent = new ol_MapBrowserEvent(
      ol_MapBrowserEventType.POINTERDOWN,
      this.map_,
      pointerEvent,
      undefined,
      undefined,
      this.activePointers_,
    );
    this.dispatchEvent(newEvent);

    this.down_ = new PointerEvent(pointerEvent.type, pointerEvent);
    Object.defineProperty(this.down_, 'target', {
      writable: false,
      value: pointerEvent.target,
    });

    if (this.dragListenerKeys_.length === 0) {
      const doc = this.map_.getOwnerDocument();
      this.dragListenerKeys_.push(
        events_listen(
          doc,
          ol_MapBrowserEventType.POINTERMOVE,
          this.handlePointerMove_,
          this,
        ),
        events_listen(doc, ol_MapBrowserEventType.POINTERUP, this.handlePointerUp_, this),
        /* Note that the listener for `pointercancel is set up on
         * `pointerEventHandler_` and not `documentPointerEventHandler_` like
         * the `pointerup` and `pointermove` listeners.
         *
         * The reason for this is the following: `TouchSource.vacuumTouches_()`
         * issues `pointercancel` events, when there was no `touchend` for a
         * `touchstart`. Now, let's say a first `touchstart` is registered on
         * `pointerEventHandler_`. The `documentPointerEventHandler_` is set up.
         * But `documentPointerEventHandler_` doesn't know about the first
         * `touchstart`. If there is no `touchend` for the `touchstart`, we can
         * only receive a `touchcancel` from `pointerEventHandler_`, because it is
         * only registered there.
         */
        events_listen(
          this.element_,
          ol_MapBrowserEventType.POINTERCANCEL,
          this.handlePointerUp_,
          this,
        ),
      );
      if (this.element_.getRootNode && this.element_.getRootNode() !== doc) {
        this.dragListenerKeys_.push(
          events_listen(
            this.element_.getRootNode(),
            ol_MapBrowserEventType.POINTERUP,
            this.handlePointerUp_,
            this,
          ),
        );
      }
    }
  }

  /**
   * @param {PointerEvent} pointerEvent Pointer
   * event.
   * @private
   */
  handlePointerMove_(pointerEvent) {
    // Between pointerdown and pointerup, pointermove events are triggered.
    // To avoid a 'false' touchmove event to be dispatched, we test if the pointer
    // moved a significant distance.
    if (this.isMoving_(pointerEvent)) {
      this.updateActivePointers_(pointerEvent);
      this.dragging_ = true;
      const newEvent = new ol_MapBrowserEvent(
        ol_MapBrowserEventType.POINTERDRAG,
        this.map_,
        pointerEvent,
        this.dragging_,
        undefined,
        this.activePointers_,
      );
      this.dispatchEvent(newEvent);
    }
  }

  /**
   * Wrap and relay a pointermove event.
   * @param {PointerEvent} pointerEvent Pointer
   * event.
   * @private
   */
  relayMoveEvent_(pointerEvent) {
    this.originalPointerMoveEvent_ = pointerEvent;
    const dragging = !!(this.down_ && this.isMoving_(pointerEvent));
    this.dispatchEvent(
      new ol_MapBrowserEvent(
        ol_MapBrowserEventType.POINTERMOVE,
        this.map_,
        pointerEvent,
        dragging,
      ),
    );
  }

  /**
   * Flexible handling of a `touch-action: none` css equivalent: because calling
   * `preventDefault()` on a `pointermove` event does not stop native page scrolling
   * and zooming, we also listen for `touchmove` and call `preventDefault()` on it
   * when an interaction (currently `DragPan` handles the event.
   * @param {TouchEvent} event Event.
   * @private
   */
  handleTouchMove_(event) {
    // Due to https://github.com/mpizenberg/elm-pep/issues/2, `this.originalPointerMoveEvent_`
    // may not be initialized yet when we get here on a platform without native pointer events,
    // when elm-pep is used as pointer events polyfill.
    const originalEvent = this.originalPointerMoveEvent_;
    if (
      (!originalEvent || originalEvent.defaultPrevented) &&
      (typeof event.cancelable !== 'boolean' || event.cancelable === true)
    ) {
      event.preventDefault();
    }
  }

  /**
   * @param {PointerEvent} pointerEvent Pointer
   * event.
   * @return {boolean} Is moving.
   * @private
   */
  isMoving_(pointerEvent) {
    return (
      this.dragging_ ||
      Math.abs(pointerEvent.clientX - this.down_.clientX) >
        this.moveTolerance_ ||
      Math.abs(pointerEvent.clientY - this.down_.clientY) > this.moveTolerance_
    );
  }

  /**
   * Clean up.
   * @override
   */
  disposeInternal() {
    if (this.relayedListenerKey_) {
      unlistenByKey(this.relayedListenerKey_);
      this.relayedListenerKey_ = null;
    }
    this.element_.removeEventListener(
      events_EventType.TOUCHMOVE,
      this.boundHandleTouchMove_,
    );

    if (this.pointerdownListenerKey_) {
      unlistenByKey(this.pointerdownListenerKey_);
      this.pointerdownListenerKey_ = null;
    }

    this.dragListenerKeys_.forEach(unlistenByKey);
    this.dragListenerKeys_.length = 0;

    this.element_ = null;
    super.disposeInternal();
  }
}

/* harmony default export */ const ol_MapBrowserEventHandler = (MapBrowserEventHandler);

;// CONCATENATED MODULE: ./node_modules/ol/MapEventType.js
/**
 * @module ol/MapEventType
 */

/**
 * @enum {string}
 */
/* harmony default export */ const MapEventType = ({
  /**
   * Triggered after a map frame is rendered.
   * @event module:ol/MapEvent~MapEvent#postrender
   * @api
   */
  POSTRENDER: 'postrender',

  /**
   * Triggered when the map starts moving.
   * @event module:ol/MapEvent~MapEvent#movestart
   * @api
   */
  MOVESTART: 'movestart',

  /**
   * Triggered after the map is moved.
   * @event module:ol/MapEvent~MapEvent#moveend
   * @api
   */
  MOVEEND: 'moveend',

  /**
   * Triggered when loading of additional map data (tiles, images, features) starts.
   * @event module:ol/MapEvent~MapEvent#loadstart
   * @api
   */
  LOADSTART: 'loadstart',

  /**
   * Triggered when loading of additional map data has completed.
   * @event module:ol/MapEvent~MapEvent#loadend
   * @api
   */
  LOADEND: 'loadend',
});

/***
 * @typedef {'postrender'|'movestart'|'moveend'|'loadstart'|'loadend'} Types
 */

;// CONCATENATED MODULE: ./node_modules/ol/MapProperty.js
/**
 * @module ol/MapProperty
 */

/**
 * @enum {string}
 */
/* harmony default export */ const MapProperty = ({
  LAYERGROUP: 'layergroup',
  SIZE: 'size',
  TARGET: 'target',
  VIEW: 'view',
});

;// CONCATENATED MODULE: ./node_modules/ol/TileState.js
/**
 * @module ol/TileState
 */

/**
 * @enum {number}
 */
/* harmony default export */ const TileState = ({
  IDLE: 0,
  LOADING: 1,
  LOADED: 2,
  /**
   * Indicates that tile loading failed
   * @type {number}
   */
  ERROR: 3,
  EMPTY: 4,
});

;// CONCATENATED MODULE: ./node_modules/ol/structs/PriorityQueue.js
/**
 * @module ol/structs/PriorityQueue
 */



/**
 * @type {number}
 */
const DROP = Infinity;

/**
 * @classdesc
 * Priority queue.
 *
 * The implementation is inspired from the Closure Library's Heap class and
 * Python's heapq module.
 *
 * See https://github.com/google/closure-library/blob/master/closure/goog/structs/heap.js
 * and https://hg.python.org/cpython/file/2.7/Lib/heapq.py.
 *
 * @template T
 */
class PriorityQueue {
  /**
   * @param {function(T): number} priorityFunction Priority function.
   * @param {function(T): string} keyFunction Key function.
   */
  constructor(priorityFunction, keyFunction) {
    /**
     * @type {function(T): number}
     * @private
     */
    this.priorityFunction_ = priorityFunction;

    /**
     * @type {function(T): string}
     * @private
     */
    this.keyFunction_ = keyFunction;

    /**
     * @type {Array<T>}
     * @private
     */
    this.elements_ = [];

    /**
     * @type {Array<number>}
     * @private
     */
    this.priorities_ = [];

    /**
     * @type {!Object<string, boolean>}
     * @private
     */
    this.queuedElements_ = {};
  }

  /**
   * FIXME empty description for jsdoc
   */
  clear() {
    this.elements_.length = 0;
    this.priorities_.length = 0;
    clear(this.queuedElements_);
  }

  /**
   * Remove and return the highest-priority element. O(log N).
   * @return {T} Element.
   */
  dequeue() {
    const elements = this.elements_;
    const priorities = this.priorities_;
    const element = elements[0];
    if (elements.length == 1) {
      elements.length = 0;
      priorities.length = 0;
    } else {
      elements[0] = /** @type {T} */ (elements.pop());
      priorities[0] = /** @type {number} */ (priorities.pop());
      this.siftUp_(0);
    }
    const elementKey = this.keyFunction_(element);
    delete this.queuedElements_[elementKey];
    return element;
  }

  /**
   * Enqueue an element. O(log N).
   * @param {T} element Element.
   * @return {boolean} The element was added to the queue.
   */
  enqueue(element) {
    assert(
      !(this.keyFunction_(element) in this.queuedElements_),
      'Tried to enqueue an `element` that was already added to the queue',
    );
    const priority = this.priorityFunction_(element);
    if (priority != DROP) {
      this.elements_.push(element);
      this.priorities_.push(priority);
      this.queuedElements_[this.keyFunction_(element)] = true;
      this.siftDown_(0, this.elements_.length - 1);
      return true;
    }
    return false;
  }

  /**
   * @return {number} Count.
   */
  getCount() {
    return this.elements_.length;
  }

  /**
   * Gets the index of the left child of the node at the given index.
   * @param {number} index The index of the node to get the left child for.
   * @return {number} The index of the left child.
   * @private
   */
  getLeftChildIndex_(index) {
    return index * 2 + 1;
  }

  /**
   * Gets the index of the right child of the node at the given index.
   * @param {number} index The index of the node to get the right child for.
   * @return {number} The index of the right child.
   * @private
   */
  getRightChildIndex_(index) {
    return index * 2 + 2;
  }

  /**
   * Gets the index of the parent of the node at the given index.
   * @param {number} index The index of the node to get the parent for.
   * @return {number} The index of the parent.
   * @private
   */
  getParentIndex_(index) {
    return (index - 1) >> 1;
  }

  /**
   * Make this a heap. O(N).
   * @private
   */
  heapify_() {
    let i;
    for (i = (this.elements_.length >> 1) - 1; i >= 0; i--) {
      this.siftUp_(i);
    }
  }

  /**
   * @return {boolean} Is empty.
   */
  isEmpty() {
    return this.elements_.length === 0;
  }

  /**
   * @param {string} key Key.
   * @return {boolean} Is key queued.
   */
  isKeyQueued(key) {
    return key in this.queuedElements_;
  }

  /**
   * @param {T} element Element.
   * @return {boolean} Is queued.
   */
  isQueued(element) {
    return this.isKeyQueued(this.keyFunction_(element));
  }

  /**
   * @param {number} index The index of the node to move down.
   * @private
   */
  siftUp_(index) {
    const elements = this.elements_;
    const priorities = this.priorities_;
    const count = elements.length;
    const element = elements[index];
    const priority = priorities[index];
    const startIndex = index;

    while (index < count >> 1) {
      const lIndex = this.getLeftChildIndex_(index);
      const rIndex = this.getRightChildIndex_(index);

      const smallerChildIndex =
        rIndex < count && priorities[rIndex] < priorities[lIndex]
          ? rIndex
          : lIndex;

      elements[index] = elements[smallerChildIndex];
      priorities[index] = priorities[smallerChildIndex];
      index = smallerChildIndex;
    }

    elements[index] = element;
    priorities[index] = priority;
    this.siftDown_(startIndex, index);
  }

  /**
   * @param {number} startIndex The index of the root.
   * @param {number} index The index of the node to move up.
   * @private
   */
  siftDown_(startIndex, index) {
    const elements = this.elements_;
    const priorities = this.priorities_;
    const element = elements[index];
    const priority = priorities[index];

    while (index > startIndex) {
      const parentIndex = this.getParentIndex_(index);
      if (priorities[parentIndex] > priority) {
        elements[index] = elements[parentIndex];
        priorities[index] = priorities[parentIndex];
        index = parentIndex;
      } else {
        break;
      }
    }
    elements[index] = element;
    priorities[index] = priority;
  }

  /**
   * FIXME empty description for jsdoc
   */
  reprioritize() {
    const priorityFunction = this.priorityFunction_;
    const elements = this.elements_;
    const priorities = this.priorities_;
    let index = 0;
    const n = elements.length;
    let element, i, priority;
    for (i = 0; i < n; ++i) {
      element = elements[i];
      priority = priorityFunction(element);
      if (priority == DROP) {
        delete this.queuedElements_[this.keyFunction_(element)];
      } else {
        priorities[index] = priority;
        elements[index++] = element;
      }
    }
    elements.length = index;
    priorities.length = index;
    this.heapify_();
  }
}

/* harmony default export */ const structs_PriorityQueue = (PriorityQueue);

;// CONCATENATED MODULE: ./node_modules/ol/TileQueue.js
/**
 * @module ol/TileQueue
 */




/**
 * @typedef {function(import("./Tile.js").default, string, import('./tilecoord.js').TileCoord, number): number} PriorityFunction
 */

/**
 * @typedef {[import('./Tile.js').default, string, import('./tilecoord.js').TileCoord, number]} TileQueueElement
 */

/**
 * @extends PriorityQueue<TileQueueElement>}
 */
class TileQueue extends structs_PriorityQueue {
  /**
   * @param {PriorityFunction} tilePriorityFunction Tile priority function.
   * @param {function(): ?} tileChangeCallback Function called on each tile change event.
   */
  constructor(tilePriorityFunction, tileChangeCallback) {
    super(
      (element) => tilePriorityFunction.apply(null, element),
      (element) => element[0].getKey(),
    );

    /** @private */
    this.boundHandleTileChange_ = this.handleTileChange.bind(this);

    /**
     * @private
     * @type {function(): ?}
     */
    this.tileChangeCallback_ = tileChangeCallback;

    /**
     * @private
     * @type {number}
     */
    this.tilesLoading_ = 0;

    /**
     * @private
     * @type {!Object<string,boolean>}
     */
    this.tilesLoadingKeys_ = {};
  }

  /**
   * @param {TileQueueElement} element Element.
   * @return {boolean} The element was added to the queue.
   * @override
   */
  enqueue(element) {
    const added = super.enqueue(element);
    if (added) {
      const tile = element[0];
      tile.addEventListener(events_EventType.CHANGE, this.boundHandleTileChange_);
    }
    return added;
  }

  /**
   * @return {number} Number of tiles loading.
   */
  getTilesLoading() {
    return this.tilesLoading_;
  }

  /**
   * @param {import("./events/Event.js").default} event Event.
   * @protected
   */
  handleTileChange(event) {
    const tile = /** @type {import("./Tile.js").default} */ (event.target);
    const state = tile.getState();
    if (
      state === TileState.LOADED ||
      state === TileState.ERROR ||
      state === TileState.EMPTY
    ) {
      if (state !== TileState.ERROR) {
        tile.removeEventListener(events_EventType.CHANGE, this.boundHandleTileChange_);
      }
      const tileKey = tile.getKey();
      if (tileKey in this.tilesLoadingKeys_) {
        delete this.tilesLoadingKeys_[tileKey];
        --this.tilesLoading_;
      }
      this.tileChangeCallback_();
    }
  }

  /**
   * @param {number} maxTotalLoading Maximum number tiles to load simultaneously.
   * @param {number} maxNewLoads Maximum number of new tiles to load.
   */
  loadMoreTiles(maxTotalLoading, maxNewLoads) {
    let newLoads = 0;
    while (
      this.tilesLoading_ < maxTotalLoading &&
      newLoads < maxNewLoads &&
      this.getCount() > 0
    ) {
      const tile = this.dequeue()[0];
      const tileKey = tile.getKey();
      const state = tile.getState();
      if (state === TileState.IDLE && !(tileKey in this.tilesLoadingKeys_)) {
        this.tilesLoadingKeys_[tileKey] = true;
        ++this.tilesLoading_;
        ++newLoads;
        tile.load();
      }
    }
  }
}

/* harmony default export */ const ol_TileQueue = (TileQueue);

/**
 * @param {import('./Map.js').FrameState} frameState Frame state.
 * @param {import("./Tile.js").default} tile Tile.
 * @param {string} tileSourceKey Tile source key.
 * @param {import("./coordinate.js").Coordinate} tileCenter Tile center.
 * @param {number} tileResolution Tile resolution.
 * @return {number} Tile priority.
 */
function getTilePriority(
  frameState,
  tile,
  tileSourceKey,
  tileCenter,
  tileResolution,
) {
  // Filter out tiles at higher zoom levels than the current zoom level, or that
  // are outside the visible extent.
  if (!frameState || !(tileSourceKey in frameState.wantedTiles)) {
    return DROP;
  }
  if (!frameState.wantedTiles[tileSourceKey][tile.getKey()]) {
    return DROP;
  }
  // Prioritize the highest zoom level tiles closest to the focus.
  // Tiles at higher zoom levels are prioritized using Math.log(tileResolution).
  // Within a zoom level, tiles are prioritized by the distance in pixels between
  // the center of the tile and the center of the viewport.  The factor of 65536
  // means that the prioritization should behave as desired for tiles up to
  // 65536 * Math.log(2) = 45426 pixels from the focus.
  const center = frameState.viewState.center;
  const deltaX = tileCenter[0] - center[0];
  const deltaY = tileCenter[1] - center[1];
  return (
    65536 * Math.log(tileResolution) +
    Math.sqrt(deltaX * deltaX + deltaY * deltaY) / tileResolution
  );
}

;// CONCATENATED MODULE: ./node_modules/ol/css.js
/**
 * @module ol/css
 */

/**
 * @typedef {Object} FontParameters
 * @property {string} style Style.
 * @property {string} variant Variant.
 * @property {string} weight Weight.
 * @property {string} size Size.
 * @property {string} lineHeight LineHeight.
 * @property {string} family Family.
 * @property {Array<string>} families Families.
 */

/**
 * The CSS class for hidden feature.
 *
 * @const
 * @type {string}
 */
const CLASS_HIDDEN = 'ol-hidden';

/**
 * The CSS class that we'll give the DOM elements to have them selectable.
 *
 * @const
 * @type {string}
 */
const CLASS_SELECTABLE = 'ol-selectable';

/**
 * The CSS class that we'll give the DOM elements to have them unselectable.
 *
 * @const
 * @type {string}
 */
const CLASS_UNSELECTABLE = 'ol-unselectable';

/**
 * The CSS class for unsupported feature.
 *
 * @const
 * @type {string}
 */
const CLASS_UNSUPPORTED = 'ol-unsupported';

/**
 * The CSS class for controls.
 *
 * @const
 * @type {string}
 */
const CLASS_CONTROL = 'ol-control';

/**
 * The CSS class that we'll give the DOM elements that are collapsed, i.e.
 * to those elements which usually can be expanded.
 *
 * @const
 * @type {string}
 */
const CLASS_COLLAPSED = 'ol-collapsed';

/**
 * From https://stackoverflow.com/questions/10135697/regex-to-parse-any-css-font
 * @type {RegExp}
 */
const fontRegEx = new RegExp(
  [
    '^\\s*(?=(?:(?:[-a-z]+\\s*){0,2}(italic|oblique))?)',
    '(?=(?:(?:[-a-z]+\\s*){0,2}(small-caps))?)',
    '(?=(?:(?:[-a-z]+\\s*){0,2}(bold(?:er)?|lighter|[1-9]00 ))?)',
    '(?:(?:normal|\\1|\\2|\\3)\\s*){0,3}((?:xx?-)?',
    '(?:small|large)|medium|smaller|larger|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx]))',
    '(?:\\s*\\/\\s*(normal|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx])?))',
    '?\\s*([-,\\"\\\'\\sa-z0-9]+?)\\s*$',
  ].join(''),
  'i',
);
/** @type {Array<'style'|'variant'|'weight'|'size'|'lineHeight'|'family'>} */
const fontRegExMatchIndex = [
  'style',
  'variant',
  'weight',
  'size',
  'lineHeight',
  'family',
];

/**
 * Get the list of font families from a font spec.  Note that this doesn't work
 * for font families that have commas in them.
 * @param {string} fontSpec The CSS font property.
 * @return {FontParameters|null} The font parameters (or null if the input spec is invalid).
 */
const getFontParameters = function (fontSpec) {
  const match = fontSpec.match(fontRegEx);
  if (!match) {
    return null;
  }
  const style = /** @type {FontParameters} */ ({
    lineHeight: 'normal',
    size: '1.2em',
    style: 'normal',
    weight: 'normal',
    variant: 'normal',
  });
  for (let i = 0, ii = fontRegExMatchIndex.length; i < ii; ++i) {
    const value = match[i + 1];
    if (value !== undefined) {
      style[fontRegExMatchIndex[i]] = value;
    }
  }
  style.families = style.family.split(/,\s?/);
  return style;
};

;// CONCATENATED MODULE: ./node_modules/ol/dom.js


/**
 * @module ol/dom
 */

//FIXME Move this function to the canvas module
/**
 * Create an html canvas element and returns its 2d context.
 * @param {number} [width] Canvas width.
 * @param {number} [height] Canvas height.
 * @param {Array<HTMLCanvasElement>} [canvasPool] Canvas pool to take existing canvas from.
 * @param {CanvasRenderingContext2DSettings} [settings] CanvasRenderingContext2DSettings
 * @return {CanvasRenderingContext2D} The context.
 */
function dom_createCanvasContext2D(width, height, canvasPool, settings) {
  /** @type {HTMLCanvasElement|OffscreenCanvas} */
  let canvas;
  if (canvasPool && canvasPool.length) {
    canvas = /** @type {HTMLCanvasElement} */ (canvasPool.shift());
  } else if (WORKER_OFFSCREEN_CANVAS) {
    canvas = new OffscreenCanvas(width || 300, height || 300);
  } else {
    canvas = document.createElement('canvas');
  }
  if (width) {
    canvas.width = width;
  }
  if (height) {
    canvas.height = height;
  }
  //FIXME Allow OffscreenCanvasRenderingContext2D as return type
  return /** @type {CanvasRenderingContext2D} */ (
    canvas.getContext('2d', settings)
  );
}

/** @type {CanvasRenderingContext2D} */
let sharedCanvasContext;

/**
 * @return {CanvasRenderingContext2D} Shared canvas context.
 */
function getSharedCanvasContext2D() {
  if (!sharedCanvasContext) {
    sharedCanvasContext = dom_createCanvasContext2D(1, 1);
  }
  return sharedCanvasContext;
}

/**
 * Releases canvas memory to avoid exceeding memory limits in Safari.
 * See https://pqina.nl/blog/total-canvas-memory-use-exceeds-the-maximum-limit/
 * @param {CanvasRenderingContext2D} context Context.
 */
function releaseCanvas(context) {
  const canvas = context.canvas;
  canvas.width = 1;
  canvas.height = 1;
  context.clearRect(0, 0, 1, 1);
}

/**
 * Get the current computed width for the given element including margin,
 * padding and border.
 * Equivalent to jQuery's `$(el).outerWidth(true)`.
 * @param {!HTMLElement} element Element.
 * @return {number} The width.
 */
function dom_outerWidth(element) {
  let width = element.offsetWidth;
  const style = getComputedStyle(element);
  width += parseInt(style.marginLeft, 10) + parseInt(style.marginRight, 10);

  return width;
}

/**
 * Get the current computed height for the given element including margin,
 * padding and border.
 * Equivalent to jQuery's `$(el).outerHeight(true)`.
 * @param {!HTMLElement} element Element.
 * @return {number} The height.
 */
function dom_outerHeight(element) {
  let height = element.offsetHeight;
  const style = getComputedStyle(element);
  height += parseInt(style.marginTop, 10) + parseInt(style.marginBottom, 10);

  return height;
}

/**
 * @param {Node} newNode Node to replace old node
 * @param {Node} oldNode The node to be replaced
 */
function replaceNode(newNode, oldNode) {
  const parent = oldNode.parentNode;
  if (parent) {
    parent.replaceChild(newNode, oldNode);
  }
}

/**
 * @param {Node} node The node to remove the children from.
 */
function removeChildren(node) {
  while (node.lastChild) {
    node.lastChild.remove();
  }
}

/**
 * Transform the children of a parent node so they match the
 * provided list of children.  This function aims to efficiently
 * remove, add, and reorder child nodes while maintaining a simple
 * implementation (it is not guaranteed to minimize DOM operations).
 * @param {Node} node The parent node whose children need reworking.
 * @param {Array<Node>} children The desired children.
 */
function replaceChildren(node, children) {
  const oldChildren = node.childNodes;

  for (let i = 0; true; ++i) {
    const oldChild = oldChildren[i];
    const newChild = children[i];

    // check if our work is done
    if (!oldChild && !newChild) {
      break;
    }

    // check if children match
    if (oldChild === newChild) {
      continue;
    }

    // check if a new child needs to be added
    if (!oldChild) {
      node.appendChild(newChild);
      continue;
    }

    // check if an old child needs to be removed
    if (!newChild) {
      node.removeChild(oldChild);
      --i;
      continue;
    }

    // reorder
    node.insertBefore(newChild, oldChild);
  }
}

;// CONCATENATED MODULE: ./node_modules/ol/control/Control.js
/**
 * @module ol/control/Control
 */





/**
 * @typedef {Object} Options
 * @property {HTMLElement} [element] The element is the control's
 * container element. This only needs to be specified if you're developing
 * a custom control.
 * @property {function(import("../MapEvent.js").default):void} [render] Function called when
 * the control should be re-rendered. This is called in a `requestAnimationFrame`
 * callback.
 * @property {HTMLElement|string} [target] Specify a target if you want
 * the control to be rendered outside of the map's viewport.
 */

/**
 * @classdesc
 * A control is a visible widget with a DOM element in a fixed position on the
 * screen. They can involve user input (buttons), or be informational only;
 * the position is determined using CSS. By default these are placed in the
 * container with CSS class name `ol-overlaycontainer-stopevent`, but can use
 * any outside DOM element.
 *
 * This is the base class for controls. You can use it for simple custom
 * controls by creating the element with listeners, creating an instance:
 * ```js
 * const myControl = new Control({element: myElement});
 * ```
 * and then adding this to the map.
 *
 * The main advantage of having this as a control rather than a simple separate
 * DOM element is that preventing propagation is handled for you. Controls
 * will also be objects in a {@link module:ol/Collection~Collection}, so you can use their methods.
 *
 * You can also extend this base for your own control class. See
 * examples/custom-controls for an example of how to do this.
 *
 * @api
 */
class Control extends ol_Object {
  /**
   * @param {Options} options Control options.
   */
  constructor(options) {
    super();

    const element = options.element;
    if (element && !options.target && !element.style.pointerEvents) {
      element.style.pointerEvents = 'auto';
    }

    /**
     * @protected
     * @type {HTMLElement}
     */
    this.element = element ? element : null;

    /**
     * @private
     * @type {HTMLElement}
     */
    this.target_ = null;

    /**
     * @private
     * @type {import("../Map.js").default|null}
     */
    this.map_ = null;

    /**
     * @protected
     * @type {!Array<import("../events.js").EventsKey>}
     */
    this.listenerKeys = [];

    if (options.render) {
      this.render = options.render;
    }

    if (options.target) {
      this.setTarget(options.target);
    }
  }

  /**
   * Clean up.
   * @override
   */
  disposeInternal() {
    this.element?.remove();
    super.disposeInternal();
  }

  /**
   * Get the map associated with this control.
   * @return {import("../Map.js").default|null} Map.
   * @api
   */
  getMap() {
    return this.map_;
  }

  /**
   * Remove the control from its current map and attach it to the new map.
   * Pass `null` to just remove the control from the current map.
   * Subclasses may set up event handlers to get notified about changes to
   * the map here.
   * @param {import("../Map.js").default|null} map Map.
   * @api
   */
  setMap(map) {
    if (this.map_) {
      this.element?.remove();
    }
    for (let i = 0, ii = this.listenerKeys.length; i < ii; ++i) {
      unlistenByKey(this.listenerKeys[i]);
    }
    this.listenerKeys.length = 0;
    this.map_ = map;
    if (map) {
      const target = this.target_ ?? map.getOverlayContainerStopEvent();
      if (this.element) {
        target.appendChild(this.element);
      }
      if (this.render !== VOID) {
        this.listenerKeys.push(
          events_listen(map, MapEventType.POSTRENDER, this.render, this),
        );
      }
      map.render();
    }
  }

  /**
   * Renders the control.
   * @param {import("../MapEvent.js").default} mapEvent Map event.
   * @api
   */
  render(mapEvent) {}

  /**
   * This function is used to set a target element for the control. It has no
   * effect if it is called after the control has been added to the map (i.e.
   * after `setMap` is called on the control). If no `target` is set in the
   * options passed to the control constructor and if `setTarget` is not called
   * then the control is added to the map's overlay container.
   * @param {HTMLElement|string} target Target.
   * @api
   */
  setTarget(target) {
    this.target_ =
      typeof target === 'string' ? document.getElementById(target) : target;
  }
}

/* harmony default export */ const control_Control = (Control);

;// CONCATENATED MODULE: ./node_modules/ol/control/Attribution.js
/**
 * @module ol/control/Attribution
 */







/**
 * @typedef {Object} Options
 * @property {string} [className='ol-attribution'] CSS class name.
 * @property {HTMLElement|string} [target] Specify a target if you
 * want the control to be rendered outside of the map's
 * viewport.
 * @property {boolean} [collapsible] Specify if attributions can
 * be collapsed. If not specified, sources control this behavior with their
 * `attributionsCollapsible` setting.
 * @property {boolean} [collapsed=true] Specify if attributions should
 * be collapsed at startup.
 * @property {string} [tipLabel='Attributions'] Text label to use for the button tip.
 * @property {string|HTMLElement} [label='i'] Text label to use for the
 * collapsed attributions button.
 * Instead of text, also an element (e.g. a `span` element) can be used.
 * @property {string} [expandClassName=className + '-expand'] CSS class name for the
 * collapsed attributions button.
 * @property {string|HTMLElement} [collapseLabel='›'] Text label to use
 * for the expanded attributions button.
 * Instead of text, also an element (e.g. a `span` element) can be used.
 * @property {string} [collapseClassName=className + '-collapse'] CSS class name for the
 * expanded attributions button.
 * @property {function(import("../MapEvent.js").default):void} [render] Function called when
 * the control should be re-rendered. This is called in a `requestAnimationFrame`
 * callback.
 * @property {string|Array<string>|undefined} [attributions] Optional attribution(s) that will always be
 * displayed regardless of the layers rendered
 */

/**
 * @classdesc
 * Control to show all the attributions associated with the layer sources
 * in the map. This control is one of the default controls included in maps.
 * By default it will show in the bottom right portion of the map, but this can
 * be changed by using a css selector for `.ol-attribution`.
 *
 * @api
 */
class Attribution extends control_Control {
  /**
   * @param {Options} [options] Attribution options.
   */
  constructor(options) {
    options = options ? options : {};

    super({
      element: document.createElement('div'),
      render: options.render,
      target: options.target,
    });

    /**
     * @private
     * @type {HTMLElement}
     */
    this.ulElement_ = document.createElement('ul');

    /**
     * @private
     * @type {boolean}
     */
    this.collapsed_ =
      options.collapsed !== undefined ? options.collapsed : true;

    /**
     * @private
     * @type {boolean}
     */
    this.userCollapsed_ = this.collapsed_;

    /**
     * @private
     * @type {boolean}
     */
    this.overrideCollapsible_ = options.collapsible !== undefined;

    /**
     * @private
     * @type {boolean}
     */
    this.collapsible_ =
      options.collapsible !== undefined ? options.collapsible : true;

    if (!this.collapsible_) {
      this.collapsed_ = false;
    }

    /**
     * @private
     * @type {string | Array<string> | undefined}
     */
    this.attributions_ = options.attributions;

    const className =
      options.className !== undefined ? options.className : 'ol-attribution';

    const tipLabel =
      options.tipLabel !== undefined ? options.tipLabel : 'Attributions';

    const expandClassName =
      options.expandClassName !== undefined
        ? options.expandClassName
        : className + '-expand';

    const collapseLabel =
      options.collapseLabel !== undefined ? options.collapseLabel : '\u203A';

    const collapseClassName =
      options.collapseClassName !== undefined
        ? options.collapseClassName
        : className + '-collapse';

    if (typeof collapseLabel === 'string') {
      /**
       * @private
       * @type {HTMLElement}
       */
      this.collapseLabel_ = document.createElement('span');
      this.collapseLabel_.textContent = collapseLabel;
      this.collapseLabel_.className = collapseClassName;
    } else {
      this.collapseLabel_ = collapseLabel;
    }

    const label = options.label !== undefined ? options.label : 'i';

    if (typeof label === 'string') {
      /**
       * @private
       * @type {HTMLElement}
       */
      this.label_ = document.createElement('span');
      this.label_.textContent = label;
      this.label_.className = expandClassName;
    } else {
      this.label_ = label;
    }

    const activeLabel =
      this.collapsible_ && !this.collapsed_ ? this.collapseLabel_ : this.label_;

    /**
     * @private
     * @type {HTMLElement}
     */
    this.toggleButton_ = document.createElement('button');
    this.toggleButton_.setAttribute('type', 'button');
    this.toggleButton_.setAttribute('aria-expanded', String(!this.collapsed_));
    this.toggleButton_.title = tipLabel;
    this.toggleButton_.appendChild(activeLabel);

    this.toggleButton_.addEventListener(
      events_EventType.CLICK,
      this.handleClick_.bind(this),
      false,
    );

    const cssClasses =
      className +
      ' ' +
      CLASS_UNSELECTABLE +
      ' ' +
      CLASS_CONTROL +
      (this.collapsed_ && this.collapsible_ ? ' ' + CLASS_COLLAPSED : '') +
      (this.collapsible_ ? '' : ' ol-uncollapsible');
    const element = this.element;
    element.className = cssClasses;
    element.appendChild(this.toggleButton_);
    element.appendChild(this.ulElement_);

    /**
     * A list of currently rendered resolutions.
     * @type {Array<string>}
     * @private
     */
    this.renderedAttributions_ = [];

    /**
     * @private
     * @type {boolean}
     */
    this.renderedVisible_ = true;
  }

  /**
   * Collect a list of visible attributions and set the collapsible state.
   * @param {import("../Map.js").FrameState} frameState Frame state.
   * @return {Array<string>} Attributions.
   * @private
   */
  collectSourceAttributions_(frameState) {
    const layers = this.getMap().getAllLayers();
    const visibleAttributions = new Set(
      layers.flatMap((layer) => layer.getAttributions(frameState)),
    );
    if (this.attributions_ !== undefined) {
      Array.isArray(this.attributions_)
        ? this.attributions_.forEach((item) => visibleAttributions.add(item))
        : visibleAttributions.add(this.attributions_);
    }

    if (!this.overrideCollapsible_) {
      const collapsible = !layers.some(
        (layer) => layer.getSource()?.getAttributionsCollapsible() === false,
      );
      this.setCollapsible(collapsible);
    }
    return Array.from(visibleAttributions);
  }

  /**
   * @private
   * @param {?import("../Map.js").FrameState} frameState Frame state.
   */
  async updateElement_(frameState) {
    if (!frameState) {
      if (this.renderedVisible_) {
        this.element.style.display = 'none';
        this.renderedVisible_ = false;
      }
      return;
    }

    const attributions = await Promise.all(
      this.collectSourceAttributions_(frameState).map((attribution) =>
        functions_toPromise(() => attribution),
      ),
    );

    const visible = attributions.length > 0;
    if (this.renderedVisible_ != visible) {
      this.element.style.display = visible ? '' : 'none';
      this.renderedVisible_ = visible;
    }

    if (equals(attributions, this.renderedAttributions_)) {
      return;
    }

    removeChildren(this.ulElement_);

    // append the attributions
    for (let i = 0, ii = attributions.length; i < ii; ++i) {
      const element = document.createElement('li');
      element.innerHTML = attributions[i];
      this.ulElement_.appendChild(element);
    }

    this.renderedAttributions_ = attributions;
  }

  /**
   * @param {MouseEvent} event The event to handle
   * @private
   */
  handleClick_(event) {
    event.preventDefault();
    this.handleToggle_();
    this.userCollapsed_ = this.collapsed_;
  }

  /**
   * @private
   */
  handleToggle_() {
    this.element.classList.toggle(CLASS_COLLAPSED);
    if (this.collapsed_) {
      replaceNode(this.collapseLabel_, this.label_);
    } else {
      replaceNode(this.label_, this.collapseLabel_);
    }
    this.collapsed_ = !this.collapsed_;
    this.toggleButton_.setAttribute('aria-expanded', String(!this.collapsed_));
  }

  /**
   * Return `true` if the attribution is collapsible, `false` otherwise.
   * @return {boolean} True if the widget is collapsible.
   * @api
   */
  getCollapsible() {
    return this.collapsible_;
  }

  /**
   * Set whether the attribution should be collapsible.
   * @param {boolean} collapsible True if the widget is collapsible.
   * @api
   */
  setCollapsible(collapsible) {
    if (this.collapsible_ === collapsible) {
      return;
    }
    this.collapsible_ = collapsible;
    this.element.classList.toggle('ol-uncollapsible');
    if (this.userCollapsed_) {
      this.handleToggle_();
    }
  }

  /**
   * Collapse or expand the attribution according to the passed parameter. Will
   * not do anything if the attribution isn't collapsible or if the current
   * collapsed state is already the one requested.
   * @param {boolean} collapsed True if the widget is collapsed.
   * @api
   */
  setCollapsed(collapsed) {
    this.userCollapsed_ = collapsed;
    if (!this.collapsible_ || this.collapsed_ === collapsed) {
      return;
    }
    this.handleToggle_();
  }

  /**
   * Return `true` when the attribution is currently collapsed or `false`
   * otherwise.
   * @return {boolean} True if the widget is collapsed.
   * @api
   */
  getCollapsed() {
    return this.collapsed_;
  }

  /**
   * Update the attribution element.
   * @param {import("../MapEvent.js").default} mapEvent Map event.
   * @override
   */
  render(mapEvent) {
    this.updateElement_(mapEvent.frameState);
  }
}

/* harmony default export */ const control_Attribution = (Attribution);

;// CONCATENATED MODULE: ./node_modules/ol/control/Rotate.js
/**
 * @module ol/control/Rotate
 */





/**
 * @typedef {Object} Options
 * @property {string} [className='ol-rotate'] CSS class name.
 * @property {string|HTMLElement} [label='⇧'] Text label to use for the rotate button.
 * Instead of text, also an element (e.g. a `span` element) can be used.
 * @property {string} [tipLabel='Reset rotation'] Text label to use for the rotate tip.
 * @property {string} [compassClassName='ol-compass'] CSS class name for the compass.
 * @property {number} [duration=250] Animation duration in milliseconds.
 * @property {boolean} [autoHide=true] Hide the control when rotation is 0.
 * @property {function(import("../MapEvent.js").default):void} [render] Function called when the control should
 * be re-rendered. This is called in a `requestAnimationFrame` callback.
 * @property {function():void} [resetNorth] Function called when the control is clicked.
 * This will override the default `resetNorth`.
 * @property {HTMLElement|string} [target] Specify a target if you want the control to be
 * rendered outside of the map's viewport.
 */

/**
 * @classdesc
 * A button control to reset rotation to 0.
 * To style this control use css selector `.ol-rotate`. A `.ol-hidden` css
 * selector is added to the button when the rotation is 0.
 *
 * @api
 */
class Rotate extends control_Control {
  /**
   * @param {Options} [options] Rotate options.
   */
  constructor(options) {
    options = options ? options : {};

    super({
      element: document.createElement('div'),
      render: options.render,
      target: options.target,
    });

    const className =
      options.className !== undefined ? options.className : 'ol-rotate';

    const label = options.label !== undefined ? options.label : '\u21E7';

    const compassClassName =
      options.compassClassName !== undefined
        ? options.compassClassName
        : 'ol-compass';

    /**
     * @type {HTMLElement}
     * @private
     */
    this.label_ = null;

    if (typeof label === 'string') {
      this.label_ = document.createElement('span');
      this.label_.className = compassClassName;
      this.label_.textContent = label;
    } else {
      this.label_ = label;
      this.label_.classList.add(compassClassName);
    }

    const tipLabel = options.tipLabel ? options.tipLabel : 'Reset rotation';

    const button = document.createElement('button');
    button.className = className + '-reset';
    button.setAttribute('type', 'button');
    button.title = tipLabel;
    button.appendChild(this.label_);

    button.addEventListener(
      events_EventType.CLICK,
      this.handleClick_.bind(this),
      false,
    );

    const cssClasses =
      className + ' ' + CLASS_UNSELECTABLE + ' ' + CLASS_CONTROL;
    const element = this.element;
    element.className = cssClasses;
    element.appendChild(button);

    /**
     * @private
     */
    this.callResetNorth_ = options.resetNorth ? options.resetNorth : undefined;

    /**
     * @type {number}
     * @private
     */
    this.duration_ = options.duration !== undefined ? options.duration : 250;

    /**
     * @type {boolean}
     * @private
     */
    this.autoHide_ = options.autoHide !== undefined ? options.autoHide : true;

    /**
     * @private
     * @type {number|undefined}
     */
    this.rotation_ = undefined;

    if (this.autoHide_) {
      this.element.classList.add(CLASS_HIDDEN);
    }
  }

  /**
   * @param {MouseEvent} event The event to handle
   * @private
   */
  handleClick_(event) {
    event.preventDefault();
    if (this.callResetNorth_ !== undefined) {
      this.callResetNorth_();
    } else {
      this.resetNorth_();
    }
  }

  /**
   * @private
   */
  resetNorth_() {
    const map = this.getMap();
    const view = map.getView();
    if (!view) {
      // the map does not have a view, so we can't act
      // upon it
      return;
    }
    const rotation = view.getRotation();
    if (rotation !== undefined) {
      if (this.duration_ > 0 && rotation % (2 * Math.PI) !== 0) {
        view.animate({
          rotation: 0,
          duration: this.duration_,
          easing: easeOut,
        });
      } else {
        view.setRotation(0);
      }
    }
  }

  /**
   * Update the rotate control element.
   * @param {import("../MapEvent.js").default} mapEvent Map event.
   * @override
   */
  render(mapEvent) {
    const frameState = mapEvent.frameState;
    if (!frameState) {
      return;
    }
    const rotation = frameState.viewState.rotation;
    if (rotation != this.rotation_) {
      const transform = 'rotate(' + rotation + 'rad)';
      if (this.autoHide_) {
        const contains = this.element.classList.contains(CLASS_HIDDEN);
        if (!contains && rotation === 0) {
          this.element.classList.add(CLASS_HIDDEN);
        } else if (contains && rotation !== 0) {
          this.element.classList.remove(CLASS_HIDDEN);
        }
      }
      this.label_.style.transform = transform;
    }
    this.rotation_ = rotation;
  }
}

/* harmony default export */ const control_Rotate = (Rotate);

;// CONCATENATED MODULE: ./node_modules/ol/control/Zoom.js
/**
 * @module ol/control/Zoom
 */





/**
 * @typedef {Object} Options
 * @property {number} [duration=250] Animation duration in milliseconds.
 * @property {string} [className='ol-zoom'] CSS class name.
 * @property {string} [zoomInClassName=className + '-in'] CSS class name for the zoom-in button.
 * @property {string} [zoomOutClassName=className + '-out'] CSS class name for the zoom-out button.
 * @property {string|HTMLElement} [zoomInLabel='+'] Text label to use for the zoom-in
 * button. Instead of text, also an element (e.g. a `span` element) can be used.
 * @property {string|HTMLElement} [zoomOutLabel='–'] Text label to use for the zoom-out button.
 * Instead of text, also an element (e.g. a `span` element) can be used.
 * @property {string} [zoomInTipLabel='Zoom in'] Text label to use for the button tip.
 * @property {string} [zoomOutTipLabel='Zoom out'] Text label to use for the button tip.
 * @property {number} [delta=1] The zoom delta applied on each click.
 * @property {HTMLElement|string} [target] Specify a target if you want the control to be
 * rendered outside of the map's viewport.
 */

/**
 * @classdesc
 * A control with 2 buttons, one for zoom in and one for zoom out.
 * This control is one of the default controls of a map. To style this control
 * use css selectors `.ol-zoom-in` and `.ol-zoom-out`.
 *
 * @api
 */
class Zoom extends control_Control {
  /**
   * @param {Options} [options] Zoom options.
   */
  constructor(options) {
    options = options ? options : {};

    super({
      element: document.createElement('div'),
      target: options.target,
    });

    const className =
      options.className !== undefined ? options.className : 'ol-zoom';

    const delta = options.delta !== undefined ? options.delta : 1;

    const zoomInClassName =
      options.zoomInClassName !== undefined
        ? options.zoomInClassName
        : className + '-in';

    const zoomOutClassName =
      options.zoomOutClassName !== undefined
        ? options.zoomOutClassName
        : className + '-out';

    const zoomInLabel =
      options.zoomInLabel !== undefined ? options.zoomInLabel : '+';
    const zoomOutLabel =
      options.zoomOutLabel !== undefined ? options.zoomOutLabel : '\u2013';

    const zoomInTipLabel =
      options.zoomInTipLabel !== undefined ? options.zoomInTipLabel : 'Zoom in';
    const zoomOutTipLabel =
      options.zoomOutTipLabel !== undefined
        ? options.zoomOutTipLabel
        : 'Zoom out';

    const inElement = document.createElement('button');
    inElement.className = zoomInClassName;
    inElement.setAttribute('type', 'button');
    inElement.title = zoomInTipLabel;
    inElement.appendChild(
      typeof zoomInLabel === 'string'
        ? document.createTextNode(zoomInLabel)
        : zoomInLabel,
    );

    inElement.addEventListener(
      events_EventType.CLICK,
      this.handleClick_.bind(this, delta),
      false,
    );

    const outElement = document.createElement('button');
    outElement.className = zoomOutClassName;
    outElement.setAttribute('type', 'button');
    outElement.title = zoomOutTipLabel;
    outElement.appendChild(
      typeof zoomOutLabel === 'string'
        ? document.createTextNode(zoomOutLabel)
        : zoomOutLabel,
    );

    outElement.addEventListener(
      events_EventType.CLICK,
      this.handleClick_.bind(this, -delta),
      false,
    );

    const cssClasses =
      className + ' ' + CLASS_UNSELECTABLE + ' ' + CLASS_CONTROL;
    const element = this.element;
    element.className = cssClasses;
    element.appendChild(inElement);
    element.appendChild(outElement);

    /**
     * @type {number}
     * @private
     */
    this.duration_ = options.duration !== undefined ? options.duration : 250;
  }

  /**
   * @param {number} delta Zoom delta.
   * @param {MouseEvent} event The event to handle
   * @private
   */
  handleClick_(delta, event) {
    event.preventDefault();
    this.zoomByDelta_(delta);
  }

  /**
   * @param {number} delta Zoom delta.
   * @private
   */
  zoomByDelta_(delta) {
    const map = this.getMap();
    const view = map.getView();
    if (!view) {
      // the map does not have a view, so we can't act
      // upon it
      return;
    }
    const currentZoom = view.getZoom();
    if (currentZoom !== undefined) {
      const newZoom = view.getConstrainedZoom(currentZoom + delta);
      if (this.duration_ > 0) {
        if (view.getAnimating()) {
          view.cancelAnimations();
        }
        view.animate({
          zoom: newZoom,
          duration: this.duration_,
          easing: easeOut,
        });
      } else {
        view.setZoom(newZoom);
      }
    }
  }
}

/* harmony default export */ const control_Zoom = (Zoom);

;// CONCATENATED MODULE: ./node_modules/ol/control/defaults.js
/**
 * @module ol/control/defaults
 */





/**
 * @typedef {Object} DefaultsOptions
 * @property {boolean} [attribution=true] Include
 * {@link module:ol/control/Attribution~Attribution}.
 * @property {import("./Attribution.js").Options} [attributionOptions]
 * Options for {@link module:ol/control/Attribution~Attribution}.
 * @property {boolean} [rotate=true] Include
 * {@link module:ol/control/Rotate~Rotate}.
 * @property {import("./Rotate.js").Options} [rotateOptions] Options
 * for {@link module:ol/control/Rotate~Rotate}.
 * @property {boolean} [zoom] Include {@link module:ol/control/Zoom~Zoom}.
 * @property {import("./Zoom.js").Options} [zoomOptions] Options for
 * {@link module:ol/control/Zoom~Zoom}.
 */

/**
 * Set of controls included in maps by default. Unless configured otherwise,
 * this returns a collection containing an instance of each of the following
 * controls:
 * {@link module:ol/control/Zoom~Zoom}
 * {@link module:ol/control/Rotate~Rotate}
 * {@link module:ol/control/Attribution~Attribution}
 *
 * @param {DefaultsOptions} [options] Options for the default controls.
 * @return {Collection<import("./Control.js").default>} A collection of controls
 * to be used with the {@link module:ol/Map~Map} constructor's `controls` option.
 * @api
 */
function defaults_defaults(options) {
  options = options ? options : {};

  /** @type {Collection<import("./Control.js").default>} */
  const controls = new ol_Collection();

  const zoomControl = options.zoom !== undefined ? options.zoom : true;
  if (zoomControl) {
    controls.push(new control_Zoom(options.zoomOptions));
  }

  const rotateControl = options.rotate !== undefined ? options.rotate : true;
  if (rotateControl) {
    controls.push(new control_Rotate(options.rotateOptions));
  }

  const attributionControl =
    options.attribution !== undefined ? options.attribution : true;
  if (attributionControl) {
    controls.push(new control_Attribution(options.attributionOptions));
  }

  return controls;
}

;// CONCATENATED MODULE: ./node_modules/ol/Kinetic.js
/**
 * @module ol/Kinetic
 */

/**
 * @classdesc
 * Implementation of inertial deceleration for map movement.
 *
 * @api
 */
class Kinetic {
  /**
   * @param {number} decay Rate of decay (must be negative).
   * @param {number} minVelocity Minimum velocity (pixels/millisecond).
   * @param {number} delay Delay to consider to calculate the kinetic
   *     initial values (milliseconds).
   */
  constructor(decay, minVelocity, delay) {
    /**
     * @private
     * @type {number}
     */
    this.decay_ = decay;

    /**
     * @private
     * @type {number}
     */
    this.minVelocity_ = minVelocity;

    /**
     * @private
     * @type {number}
     */
    this.delay_ = delay;

    /**
     * @private
     * @type {Array<number>}
     */
    this.points_ = [];

    /**
     * @private
     * @type {number}
     */
    this.angle_ = 0;

    /**
     * @private
     * @type {number}
     */
    this.initialVelocity_ = 0;
  }

  /**
   * FIXME empty description for jsdoc
   */
  begin() {
    this.points_.length = 0;
    this.angle_ = 0;
    this.initialVelocity_ = 0;
  }

  /**
   * @param {number} x X.
   * @param {number} y Y.
   */
  update(x, y) {
    this.points_.push(x, y, Date.now());
  }

  /**
   * @return {boolean} Whether we should do kinetic animation.
   */
  end() {
    if (this.points_.length < 6) {
      // at least 2 points are required (i.e. there must be at least 6 elements
      // in the array)
      return false;
    }
    const delay = Date.now() - this.delay_;
    const lastIndex = this.points_.length - 3;
    if (this.points_[lastIndex + 2] < delay) {
      // the last tracked point is too old, which means that the user stopped
      // panning before releasing the map
      return false;
    }

    // get the first point which still falls into the delay time
    let firstIndex = lastIndex - 3;
    while (firstIndex > 0 && this.points_[firstIndex + 2] > delay) {
      firstIndex -= 3;
    }

    const duration = this.points_[lastIndex + 2] - this.points_[firstIndex + 2];
    // we don't want a duration of 0 (divide by zero)
    // we also make sure the user panned for a duration of at least one frame
    // (1/60s) to compute sane displacement values
    if (duration < 1000 / 60) {
      return false;
    }

    const dx = this.points_[lastIndex] - this.points_[firstIndex];
    const dy = this.points_[lastIndex + 1] - this.points_[firstIndex + 1];
    this.angle_ = Math.atan2(dy, dx);
    this.initialVelocity_ = Math.sqrt(dx * dx + dy * dy) / duration;
    return this.initialVelocity_ > this.minVelocity_;
  }

  /**
   * @return {number} Total distance travelled (pixels).
   */
  getDistance() {
    return (this.minVelocity_ - this.initialVelocity_) / this.decay_;
  }

  /**
   * @return {number} Angle of the kinetic panning animation (radians).
   */
  getAngle() {
    return this.angle_;
  }
}

/* harmony default export */ const ol_Kinetic = (Kinetic);

;// CONCATENATED MODULE: ./node_modules/ol/interaction/Property.js
/**
 * @module ol/interaction/Property
 */

/**
 * @enum {string}
 */
/* harmony default export */ const interaction_Property = ({
  ACTIVE: 'active',
});

;// CONCATENATED MODULE: ./node_modules/ol/interaction/Interaction.js
/**
 * @module ol/interaction/Interaction
 */




/***
 * @template Return
 * @typedef {import("../Observable").OnSignature<import("../Observable").EventTypes, import("../events/Event.js").default, Return> &
 *   import("../Observable").OnSignature<import("../ObjectEventType").Types|
 *     'change:active', import("../Object").ObjectEvent, Return> &
 *   import("../Observable").CombinedOnSignature<import("../Observable").EventTypes|import("../ObjectEventType").Types|
 *     'change:active', Return>} InteractionOnSignature
 */

/**
 * Object literal with config options for interactions.
 * @typedef {Object} InteractionOptions
 * @property {function(import("../MapBrowserEvent.js").default):boolean} [handleEvent]
 * Method called by the map to notify the interaction that a browser event was
 * dispatched to the map. If the function returns a falsy value, propagation of
 * the event to other interactions in the map's interactions chain will be
 * prevented (this includes functions with no explicit return). The interactions
 * are traversed in reverse order of the interactions collection of the map.
 */

/**
 * @classdesc
 * Abstract base class; normally only used for creating subclasses and not
 * instantiated in apps.
 * User actions that change the state of the map. Some are similar to controls,
 * but are not associated with a DOM element.
 * For example, {@link module:ol/interaction/KeyboardZoom~KeyboardZoom} is
 * functionally the same as {@link module:ol/control/Zoom~Zoom}, but triggered
 * by a keyboard event not a button element event.
 * Although interactions do not have a DOM element, some of them do render
 * vectors and so are visible on the screen.
 * @api
 */
class Interaction extends ol_Object {
  /**
   * @param {InteractionOptions} [options] Options.
   */
  constructor(options) {
    super();

    /***
     * @type {InteractionOnSignature<import("../events").EventsKey>}
     */
    this.on;

    /***
     * @type {InteractionOnSignature<import("../events").EventsKey>}
     */
    this.once;

    /***
     * @type {InteractionOnSignature<void>}
     */
    this.un;

    if (options && options.handleEvent) {
      this.handleEvent = options.handleEvent;
    }

    /**
     * @private
     * @type {import("../Map.js").default|null}
     */
    this.map_ = null;

    this.setActive(true);
  }

  /**
   * Return whether the interaction is currently active.
   * @return {boolean} `true` if the interaction is active, `false` otherwise.
   * @observable
   * @api
   */
  getActive() {
    return /** @type {boolean} */ (this.get(interaction_Property.ACTIVE));
  }

  /**
   * Get the map associated with this interaction.
   * @return {import("../Map.js").default|null} Map.
   * @api
   */
  getMap() {
    return this.map_;
  }

  /**
   * Handles the {@link module:ol/MapBrowserEvent~MapBrowserEvent map browser event}.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
   * @return {boolean} `false` to stop event propagation.
   * @api
   */
  handleEvent(mapBrowserEvent) {
    return true;
  }

  /**
   * Activate or deactivate the interaction.
   * @param {boolean} active Active.
   * @observable
   * @api
   */
  setActive(active) {
    this.set(interaction_Property.ACTIVE, active);
  }

  /**
   * Remove the interaction from its current map and attach it to the new map.
   * Subclasses may set up event handlers to get notified about changes to
   * the map here.
   * @param {import("../Map.js").default|null} map Map.
   */
  setMap(map) {
    this.map_ = map;
  }
}

/**
 * @param {import("../View.js").default} view View.
 * @param {import("../coordinate.js").Coordinate} delta Delta.
 * @param {number} [duration] Duration.
 */
function pan(view, delta, duration) {
  const currentCenter = view.getCenterInternal();
  if (currentCenter) {
    const center = [currentCenter[0] + delta[0], currentCenter[1] + delta[1]];
    view.animateInternal({
      duration: duration !== undefined ? duration : 250,
      easing: linear,
      center: view.getConstrainedCenter(center),
    });
  }
}

/**
 * @param {import("../View.js").default} view View.
 * @param {number} delta Delta from previous zoom level.
 * @param {import("../coordinate.js").Coordinate} [anchor] Anchor coordinate in the user projection.
 * @param {number} [duration] Duration.
 */
function zoomByDelta(view, delta, anchor, duration) {
  const currentZoom = view.getZoom();

  if (currentZoom === undefined) {
    return;
  }

  const newZoom = view.getConstrainedZoom(currentZoom + delta);
  const newResolution = view.getResolutionForZoom(newZoom);

  if (view.getAnimating()) {
    view.cancelAnimations();
  }
  view.animate({
    resolution: newResolution,
    anchor: anchor,
    duration: duration !== undefined ? duration : 250,
    easing: easeOut,
  });
}

/* harmony default export */ const interaction_Interaction = (Interaction);

;// CONCATENATED MODULE: ./node_modules/ol/interaction/DoubleClickZoom.js
/**
 * @module ol/interaction/DoubleClickZoom
 */



/**
 * @typedef {Object} Options
 * @property {number} [duration=250] Animation duration in milliseconds.
 * @property {number} [delta=1] The zoom delta applied on each double click.
 */

/**
 * @classdesc
 * Allows the user to zoom by double-clicking on the map.
 * @api
 */
class DoubleClickZoom extends interaction_Interaction {
  /**
   * @param {Options} [options] Options.
   */
  constructor(options) {
    super();

    options = options ? options : {};

    /**
     * @private
     * @type {number}
     */
    this.delta_ = options.delta ? options.delta : 1;

    /**
     * @private
     * @type {number}
     */
    this.duration_ = options.duration !== undefined ? options.duration : 250;
  }

  /**
   * Handles the {@link module:ol/MapBrowserEvent~MapBrowserEvent map browser event} (if it was a
   * doubleclick) and eventually zooms the map.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
   * @return {boolean} `false` to stop event propagation.
   * @override
   */
  handleEvent(mapBrowserEvent) {
    let stopEvent = false;
    if (mapBrowserEvent.type == ol_MapBrowserEventType.DBLCLICK) {
      const browserEvent = /** @type {MouseEvent} */ (
        mapBrowserEvent.originalEvent
      );
      const map = mapBrowserEvent.map;
      const anchor = mapBrowserEvent.coordinate;
      const delta = browserEvent.shiftKey ? -this.delta_ : this.delta_;
      const view = map.getView();
      zoomByDelta(view, delta, anchor, this.duration_);
      browserEvent.preventDefault();
      stopEvent = true;
    }
    return !stopEvent;
  }
}

/* harmony default export */ const interaction_DoubleClickZoom = (DoubleClickZoom);

;// CONCATENATED MODULE: ./node_modules/ol/events/condition.js
/**
 * @module ol/events/condition
 */




/**
 * A function that takes a {@link module:ol/MapBrowserEvent~MapBrowserEvent} and returns a
 * `{boolean}`. If the condition is met, true should be returned.
 *
 * @typedef {function(this: ?, import("../MapBrowserEvent.js").default): boolean} Condition
 */

/**
 * Creates a condition function that passes when all provided conditions pass.
 * @param {...Condition} var_args Conditions to check.
 * @return {Condition} Condition function.
 */
function condition_all(var_args) {
  const conditions = arguments;
  /**
   * @param {import("../MapBrowserEvent.js").default} event Event.
   * @return {boolean} All conditions passed.
   */
  return function (event) {
    let pass = true;
    for (let i = 0, ii = conditions.length; i < ii; ++i) {
      pass = pass && conditions[i](event);
      if (!pass) {
        break;
      }
    }
    return pass;
  };
}

/**
 * Return `true` if only the alt-key is pressed, `false` otherwise (e.g. when
 * additionally the shift-key is pressed).
 *
 * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
 * @return {boolean} True if only the alt key is pressed.
 * @api
 */
const altKeyOnly = function (mapBrowserEvent) {
  const originalEvent = mapBrowserEvent.originalEvent;
  return (
    originalEvent.altKey &&
    !(originalEvent.metaKey || originalEvent.ctrlKey) &&
    !originalEvent.shiftKey
  );
};

/**
 * Return `true` if only the alt-key and shift-key is pressed, `false` otherwise
 * (e.g. when additionally the platform-modifier-key is pressed).
 *
 * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
 * @return {boolean} True if only the alt and shift keys are pressed.
 * @api
 */
const altShiftKeysOnly = function (mapBrowserEvent) {
  const originalEvent = mapBrowserEvent.originalEvent;
  return (
    originalEvent.altKey &&
    !(originalEvent.metaKey || originalEvent.ctrlKey) &&
    originalEvent.shiftKey
  );
};

/**
 * Return `true` if the map has the focus. This condition requires a map target
 * element with a `tabindex` attribute, e.g. `<div id="map" tabindex="1">`.
 *
 * @param {import("../MapBrowserEvent.js").default} event Map browser event.
 * @return {boolean} The map has the focus.
 * @api
 */
const condition_focus = function (event) {
  const targetElement = event.map.getTargetElement();
  const rootNode = targetElement.getRootNode();
  const activeElement = event.map.getOwnerDocument().activeElement;

  return rootNode instanceof ShadowRoot
    ? rootNode.host.contains(activeElement)
    : targetElement.contains(activeElement);
};

/**
 * Return `true` if the map has the focus or no 'tabindex' attribute set.
 *
 * @param {import("../MapBrowserEvent.js").default} event Map browser event.
 * @return {boolean} The map container has the focus or no 'tabindex' attribute.
 */
const focusWithTabindex = function (event) {
  const targetElement = event.map.getTargetElement();
  const rootNode = targetElement.getRootNode();
  const tabIndexCandidate =
    rootNode instanceof ShadowRoot ? rootNode.host : targetElement;

  return tabIndexCandidate.hasAttribute('tabindex') ? condition_focus(event) : true;
};

/**
 * Return always true.
 *
 * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
 * @return {boolean} True.
 * @api
 */
const always = TRUE;

/**
 * Return `true` if the event is a `click` event, `false` otherwise.
 *
 * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
 * @return {boolean} True if the event is a map `click` event.
 * @api
 */
const click = function (mapBrowserEvent) {
  return mapBrowserEvent.type == MapBrowserEventType.CLICK;
};

/**
 * Return `true` if the event has an "action"-producing mouse button.
 *
 * By definition, this includes left-click on windows/linux, and left-click
 * without the ctrl key on Macs.
 *
 * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
 * @return {boolean} The result.
 */
const mouseActionButton = function (mapBrowserEvent) {
  const originalEvent = mapBrowserEvent.originalEvent;
  return (
    originalEvent instanceof PointerEvent &&
    originalEvent.button == 0 &&
    !(WEBKIT && has_MAC && originalEvent.ctrlKey)
  );
};

/**
 * Return always false.
 *
 * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
 * @return {boolean} False.
 * @api
 */
const never = (/* unused pure expression or super */ null && (FALSE));

/**
 * Return `true` if the browser event is a `pointermove` event, `false`
 * otherwise.
 *
 * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
 * @return {boolean} True if the browser event is a `pointermove` event.
 * @api
 */
const pointerMove = function (mapBrowserEvent) {
  return mapBrowserEvent.type == 'pointermove';
};

/**
 * Return `true` if the event is a map `singleclick` event, `false` otherwise.
 *
 * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
 * @return {boolean} True if the event is a map `singleclick` event.
 * @api
 */
const singleClick = function (mapBrowserEvent) {
  return mapBrowserEvent.type == MapBrowserEventType.SINGLECLICK;
};

/**
 * Return `true` if the event is a map `dblclick` event, `false` otherwise.
 *
 * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
 * @return {boolean} True if the event is a map `dblclick` event.
 * @api
 */
const doubleClick = function (mapBrowserEvent) {
  return mapBrowserEvent.type == MapBrowserEventType.DBLCLICK;
};

/**
 * Return `true` if no modifier key (alt-, shift- or platform-modifier-key) is
 * pressed.
 *
 * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
 * @return {boolean} True only if there no modifier keys are pressed.
 * @api
 */
const noModifierKeys = function (mapBrowserEvent) {
  const originalEvent = /** @type {KeyboardEvent|MouseEvent|TouchEvent} */ (
    mapBrowserEvent.originalEvent
  );
  return (
    !originalEvent.altKey &&
    !(originalEvent.metaKey || originalEvent.ctrlKey) &&
    !originalEvent.shiftKey
  );
};

/**
 * Return `true` if only the platform-modifier-key (the meta-key on Mac,
 * ctrl-key otherwise) is pressed, `false` otherwise (e.g. when additionally
 * the shift-key is pressed).
 *
 * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
 * @return {boolean} True if only the platform modifier key is pressed.
 * @api
 */
const platformModifierKeyOnly = function (mapBrowserEvent) {
  const originalEvent = mapBrowserEvent.originalEvent;
  return (
    !originalEvent.altKey &&
    (MAC ? originalEvent.metaKey : originalEvent.ctrlKey) &&
    !originalEvent.shiftKey
  );
};

/**
 * Return `true` if the platform-modifier-key (the meta-key on Mac,
 * ctrl-key otherwise) is pressed.
 *
 * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
 * @return {boolean} True if the platform modifier key is pressed.
 * @api
 */
const platformModifierKey = function (mapBrowserEvent) {
  const originalEvent = mapBrowserEvent.originalEvent;
  return has_MAC ? originalEvent.metaKey : originalEvent.ctrlKey;
};

/**
 * Return `true` if only the shift-key is pressed, `false` otherwise (e.g. when
 * additionally the alt-key is pressed).
 *
 * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
 * @return {boolean} True if only the shift key is pressed.
 * @api
 */
const shiftKeyOnly = function (mapBrowserEvent) {
  const originalEvent = mapBrowserEvent.originalEvent;
  return (
    !originalEvent.altKey &&
    !(originalEvent.metaKey || originalEvent.ctrlKey) &&
    originalEvent.shiftKey
  );
};

/**
 * Return `true` if the target element is not editable, i.e. not an `input`,
 * `select`, or `textarea` element and no `contenteditable` attribute is
 * set or inherited, `false` otherwise.
 *
 * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
 * @return {boolean} True only if the target element is not editable.
 * @api
 */
const targetNotEditable = function (mapBrowserEvent) {
  const originalEvent = mapBrowserEvent.originalEvent;
  const tagName = /** @type {Element} */ (originalEvent.target).tagName;
  return (
    tagName !== 'INPUT' &&
    tagName !== 'SELECT' &&
    tagName !== 'TEXTAREA' &&
    // `isContentEditable` is only available on `HTMLElement`, but it may also be a
    // different type like `SVGElement`.
    // @ts-ignore
    !originalEvent.target.isContentEditable
  );
};

/**
 * Return `true` if the event originates from a mouse device.
 *
 * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
 * @return {boolean} True if the event originates from a mouse device.
 * @api
 */
const mouseOnly = function (mapBrowserEvent) {
  const pointerEvent = mapBrowserEvent.originalEvent;
  // see https://www.w3.org/TR/pointerevents/#widl-PointerEvent-pointerType
  return (
    pointerEvent instanceof PointerEvent && pointerEvent.pointerType == 'mouse'
  );
};

/**
 * Return `true` if the event originates from a touchable device.
 *
 * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
 * @return {boolean} True if the event originates from a touchable device.
 * @api
 */
const touchOnly = function (mapBrowserEvent) {
  const pointerEvt = mapBrowserEvent.originalEvent;
  // see https://www.w3.org/TR/pointerevents/#widl-PointerEvent-pointerType
  return (
    pointerEvt instanceof PointerEvent && pointerEvt.pointerType === 'touch'
  );
};

/**
 * Return `true` if the event originates from a digital pen.
 *
 * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
 * @return {boolean} True if the event originates from a digital pen.
 * @api
 */
const penOnly = function (mapBrowserEvent) {
  const pointerEvt = mapBrowserEvent.originalEvent;
  // see https://www.w3.org/TR/pointerevents/#widl-PointerEvent-pointerType
  return pointerEvt instanceof PointerEvent && pointerEvt.pointerType === 'pen';
};

/**
 * Return `true` if the event originates from a primary pointer in
 * contact with the surface or if the left mouse button is pressed.
 * See https://www.w3.org/TR/pointerevents/#button-states.
 *
 * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
 * @return {boolean} True if the event originates from a primary pointer.
 * @api
 */
const primaryAction = function (mapBrowserEvent) {
  const pointerEvent = mapBrowserEvent.originalEvent;
  return (
    pointerEvent instanceof PointerEvent &&
    pointerEvent.isPrimary &&
    pointerEvent.button === 0
  );
};

;// CONCATENATED MODULE: ./node_modules/ol/interaction/Pointer.js
/**
 * @module ol/interaction/Pointer
 */



/**
 * @typedef {Object} Options
 * @property {function(import("../MapBrowserEvent.js").default):boolean} [handleDownEvent]
 * Function handling "down" events. If the function returns `true` then a drag
 * sequence is started.
 * @property {function(import("../MapBrowserEvent.js").default):void} [handleDragEvent]
 * Function handling "drag" events. This function is called on "move" events
 * during a drag sequence.
 * @property {function(import("../MapBrowserEvent.js").default):boolean} [handleEvent]
 * Method called by the map to notify the interaction that a browser event was
 * dispatched to the map. The function may return `false` to prevent the
 * propagation of the event to other interactions in the map's interactions
 * chain.
 * @property {function(import("../MapBrowserEvent.js").default):void} [handleMoveEvent]
 * Function handling "move" events. This function is called on "move" events.
 * This functions is also called during a drag sequence, so during a drag
 * sequence both the `handleDragEvent` function and this function are called.
 * If `handleDownEvent` is defined and it returns true this function will not
 * be called during a drag sequence.
 * @property {function(import("../MapBrowserEvent.js").default):boolean} [handleUpEvent]
 *  Function handling "up" events. If the function returns `false` then the
 * current drag sequence is stopped.
 * @property {function(boolean):boolean} [stopDown]
 * Should the down event be propagated to other interactions, or should be
 * stopped?
 */

/**
 * @classdesc
 * Base class that calls user-defined functions on `down`, `move` and `up`
 * events. This class also manages "drag sequences".
 *
 * When the `handleDownEvent` user function returns `true` a drag sequence is
 * started. During a drag sequence the `handleDragEvent` user function is
 * called on `move` events. The drag sequence ends when the `handleUpEvent`
 * user function is called and returns `false`.
 * @api
 */
class PointerInteraction extends interaction_Interaction {
  /**
   * @param {Options} [options] Options.
   */
  constructor(options) {
    options = options ? options : {};

    super(
      /** @type {import("./Interaction.js").InteractionOptions} */ (options),
    );

    if (options.handleDownEvent) {
      this.handleDownEvent = options.handleDownEvent;
    }

    if (options.handleDragEvent) {
      this.handleDragEvent = options.handleDragEvent;
    }

    if (options.handleMoveEvent) {
      this.handleMoveEvent = options.handleMoveEvent;
    }

    if (options.handleUpEvent) {
      this.handleUpEvent = options.handleUpEvent;
    }

    if (options.stopDown) {
      this.stopDown = options.stopDown;
    }

    /**
     * @type {boolean}
     * @protected
     */
    this.handlingDownUpSequence = false;

    /**
     * @type {Array<PointerEvent>}
     * @protected
     */
    this.targetPointers = [];
  }

  /**
   * Returns the current number of pointers involved in the interaction,
   * e.g. `2` when two fingers are used.
   * @return {number} The number of pointers.
   * @api
   */
  getPointerCount() {
    return this.targetPointers.length;
  }

  /**
   * Handle pointer down events.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Event.
   * @return {boolean} If the event was consumed.
   * @protected
   */
  handleDownEvent(mapBrowserEvent) {
    return false;
  }

  /**
   * Handle pointer drag events.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Event.
   * @protected
   */
  handleDragEvent(mapBrowserEvent) {}

  /**
   * Handles the {@link module:ol/MapBrowserEvent~MapBrowserEvent map browser event} and may call into
   * other functions, if event sequences like e.g. 'drag' or 'down-up' etc. are
   * detected.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
   * @return {boolean} `false` to stop event propagation.
   * @api
   * @override
   */
  handleEvent(mapBrowserEvent) {
    if (!mapBrowserEvent.originalEvent) {
      return true;
    }

    let stopEvent = false;
    this.updateTrackedPointers_(mapBrowserEvent);
    if (this.handlingDownUpSequence) {
      if (mapBrowserEvent.type == ol_MapBrowserEventType.POINTERDRAG) {
        this.handleDragEvent(mapBrowserEvent);
        // prevent page scrolling during dragging
        mapBrowserEvent.originalEvent.preventDefault();
      } else if (mapBrowserEvent.type == ol_MapBrowserEventType.POINTERUP) {
        const handledUp = this.handleUpEvent(mapBrowserEvent);
        this.handlingDownUpSequence =
          handledUp && this.targetPointers.length > 0;
      }
    } else {
      if (mapBrowserEvent.type == ol_MapBrowserEventType.POINTERDOWN) {
        const handled = this.handleDownEvent(mapBrowserEvent);
        this.handlingDownUpSequence = handled;
        stopEvent = this.stopDown(handled);
      } else if (mapBrowserEvent.type == ol_MapBrowserEventType.POINTERMOVE) {
        this.handleMoveEvent(mapBrowserEvent);
      }
    }
    return !stopEvent;
  }

  /**
   * Handle pointer move events.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Event.
   * @protected
   */
  handleMoveEvent(mapBrowserEvent) {}

  /**
   * Handle pointer up events.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Event.
   * @return {boolean} If the event was consumed.
   * @protected
   */
  handleUpEvent(mapBrowserEvent) {
    return false;
  }

  /**
   * This function is used to determine if "down" events should be propagated
   * to other interactions or should be stopped.
   * @param {boolean} handled Was the event handled by the interaction?
   * @return {boolean} Should the `down` event be stopped?
   */
  stopDown(handled) {
    return handled;
  }

  /**
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Event.
   * @private
   */
  updateTrackedPointers_(mapBrowserEvent) {
    if (mapBrowserEvent.activePointers) {
      this.targetPointers = mapBrowserEvent.activePointers;
    }
  }
}

/**
 * @param {Array<PointerEvent>} pointerEvents List of events.
 * @return {{clientX: number, clientY: number}} Centroid pixel.
 */
function Pointer_centroid(pointerEvents) {
  const length = pointerEvents.length;
  let clientX = 0;
  let clientY = 0;
  for (let i = 0; i < length; i++) {
    clientX += pointerEvents[i].clientX;
    clientY += pointerEvents[i].clientY;
  }
  return {clientX: clientX / length, clientY: clientY / length};
}

/* harmony default export */ const Pointer = (PointerInteraction);

;// CONCATENATED MODULE: ./node_modules/ol/interaction/DragPan.js
/**
 * @module ol/interaction/DragPan
 */






/**
 * @typedef {Object} Options
 * @property {import("../events/condition.js").Condition} [condition] A function that takes a {@link module:ol/MapBrowserEvent~MapBrowserEvent} and returns a boolean
 * to indicate whether that event should be handled.
 * Default is {@link module:ol/events/condition.noModifierKeys} and {@link module:ol/events/condition.primaryAction}.
 * @property {boolean} [onFocusOnly=false] When the map's target has a `tabindex` attribute set,
 * the interaction will only handle events when the map has the focus.
 * @property {import("../Kinetic.js").default} [kinetic] Kinetic inertia to apply to the pan.
 */

/**
 * @classdesc
 * Allows the user to pan the map by dragging the map.
 * @api
 */
class DragPan extends Pointer {
  /**
   * @param {Options} [options] Options.
   */
  constructor(options) {
    super({
      stopDown: functions_FALSE,
    });

    options = options ? options : {};

    /**
     * @private
     * @type {import("../Kinetic.js").default|undefined}
     */
    this.kinetic_ = options.kinetic;

    /**
     * @type {import("../pixel.js").Pixel}
     */
    this.lastCentroid = null;

    /**
     * @type {number}
     * @private
     */
    this.lastPointersCount_;

    /**
     * @type {boolean}
     * @private
     */
    this.panning_ = false;

    const condition = options.condition
      ? options.condition
      : condition_all(noModifierKeys, primaryAction);

    /**
     * @private
     * @type {import("../events/condition.js").Condition}
     */
    this.condition_ = options.onFocusOnly
      ? condition_all(focusWithTabindex, condition)
      : condition;

    /**
     * @private
     * @type {boolean}
     */
    this.noKinetic_ = false;
  }

  /**
   * Handle pointer drag events.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Event.
   * @override
   */
  handleDragEvent(mapBrowserEvent) {
    const map = mapBrowserEvent.map;
    if (!this.panning_) {
      this.panning_ = true;
      map.getView().beginInteraction();
    }
    const targetPointers = this.targetPointers;
    const centroid = map.getEventPixel(Pointer_centroid(targetPointers));
    if (targetPointers.length == this.lastPointersCount_) {
      if (this.kinetic_) {
        this.kinetic_.update(centroid[0], centroid[1]);
      }
      if (this.lastCentroid) {
        const delta = [
          this.lastCentroid[0] - centroid[0],
          centroid[1] - this.lastCentroid[1],
        ];
        const map = mapBrowserEvent.map;
        const view = map.getView();
        coordinate_scale(delta, view.getResolution());
        rotate(delta, view.getRotation());
        view.adjustCenterInternal(delta);
      }
    } else if (this.kinetic_) {
      // reset so we don't overestimate the kinetic energy after
      // after one finger down, tiny drag, second finger down
      this.kinetic_.begin();
    }
    this.lastCentroid = centroid;
    this.lastPointersCount_ = targetPointers.length;
    mapBrowserEvent.originalEvent.preventDefault();
  }

  /**
   * Handle pointer up events.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Event.
   * @return {boolean} If the event was consumed.
   * @override
   */
  handleUpEvent(mapBrowserEvent) {
    const map = mapBrowserEvent.map;
    const view = map.getView();
    if (this.targetPointers.length === 0) {
      if (!this.noKinetic_ && this.kinetic_ && this.kinetic_.end()) {
        const distance = this.kinetic_.getDistance();
        const angle = this.kinetic_.getAngle();
        const center = view.getCenterInternal();
        const centerpx = map.getPixelFromCoordinateInternal(center);
        const dest = map.getCoordinateFromPixelInternal([
          centerpx[0] - distance * Math.cos(angle),
          centerpx[1] - distance * Math.sin(angle),
        ]);
        view.animateInternal({
          center: view.getConstrainedCenter(dest),
          duration: 500,
          easing: easeOut,
        });
      }
      if (this.panning_) {
        this.panning_ = false;
        view.endInteraction();
      }
      return false;
    }
    if (this.kinetic_) {
      // reset so we don't overestimate the kinetic energy after
      // after one finger up, tiny drag, second finger up
      this.kinetic_.begin();
    }
    this.lastCentroid = null;
    return true;
  }

  /**
   * Handle pointer down events.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Event.
   * @return {boolean} If the event was consumed.
   * @override
   */
  handleDownEvent(mapBrowserEvent) {
    if (this.targetPointers.length > 0 && this.condition_(mapBrowserEvent)) {
      const map = mapBrowserEvent.map;
      const view = map.getView();
      this.lastCentroid = null;
      // stop any current animation
      if (view.getAnimating()) {
        view.cancelAnimations();
      }
      if (this.kinetic_) {
        this.kinetic_.begin();
      }
      // No kinetic as soon as more than one pointer on the screen is
      // detected. This is to prevent nasty pans after pinch.
      this.noKinetic_ = this.targetPointers.length > 1;
      return true;
    }
    return false;
  }
}

/* harmony default export */ const interaction_DragPan = (DragPan);

;// CONCATENATED MODULE: ./node_modules/ol/interaction/DragRotate.js
/**
 * @module ol/interaction/DragRotate
 */





/**
 * @typedef {Object} Options
 * @property {import("../events/condition.js").Condition} [condition] A function that takes a
 * {@link module:ol/MapBrowserEvent~MapBrowserEvent} and returns a boolean
 * to indicate whether that event should be handled.
 * Default is {@link module:ol/events/condition.altShiftKeysOnly}.
 * @property {number} [duration=250] Animation duration in milliseconds.
 */

/**
 * @classdesc
 * Allows the user to rotate the map by clicking and dragging on the map,
 * normally combined with a {@link module:ol/events/condition} that limits
 * it to when the alt and shift keys are held down.
 *
 * This interaction is only supported for mouse devices.
 * @api
 */
class DragRotate extends Pointer {
  /**
   * @param {Options} [options] Options.
   */
  constructor(options) {
    options = options ? options : {};

    super({
      stopDown: functions_FALSE,
    });

    /**
     * @private
     * @type {import("../events/condition.js").Condition}
     */
    this.condition_ = options.condition ? options.condition : altShiftKeysOnly;

    /**
     * @private
     * @type {number|undefined}
     */
    this.lastAngle_ = undefined;

    /**
     * @private
     * @type {number}
     */
    this.duration_ = options.duration !== undefined ? options.duration : 250;
  }

  /**
   * Handle pointer drag events.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Event.
   * @override
   */
  handleDragEvent(mapBrowserEvent) {
    if (!mouseOnly(mapBrowserEvent)) {
      return;
    }

    const map = mapBrowserEvent.map;
    const view = map.getView();
    if (view.getConstraints().rotation === disable) {
      return;
    }
    const size = map.getSize();
    const offset = mapBrowserEvent.pixel;
    const theta = Math.atan2(size[1] / 2 - offset[1], offset[0] - size[0] / 2);
    if (this.lastAngle_ !== undefined) {
      const delta = theta - this.lastAngle_;
      view.adjustRotationInternal(-delta);
    }
    this.lastAngle_ = theta;
  }

  /**
   * Handle pointer up events.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Event.
   * @return {boolean} If the event was consumed.
   * @override
   */
  handleUpEvent(mapBrowserEvent) {
    if (!mouseOnly(mapBrowserEvent)) {
      return true;
    }

    const map = mapBrowserEvent.map;
    const view = map.getView();
    view.endInteraction(this.duration_);
    return false;
  }

  /**
   * Handle pointer down events.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Event.
   * @return {boolean} If the event was consumed.
   * @override
   */
  handleDownEvent(mapBrowserEvent) {
    if (!mouseOnly(mapBrowserEvent)) {
      return false;
    }

    if (
      mouseActionButton(mapBrowserEvent) &&
      this.condition_(mapBrowserEvent)
    ) {
      const map = mapBrowserEvent.map;
      map.getView().beginInteraction();
      this.lastAngle_ = undefined;
      return true;
    }
    return false;
  }
}

/* harmony default export */ const interaction_DragRotate = (DragRotate);

;// CONCATENATED MODULE: ./node_modules/ol/render/Box.js
/**
 * @module ol/render/Box
 */




class RenderBox extends ol_Disposable {
  /**
   * @param {string} className CSS class name.
   */
  constructor(className) {
    super();

    /**
     * @type {import("../geom/Polygon.js").default}
     * @private
     */
    this.geometry_ = null;

    /**
     * @type {HTMLDivElement}
     * @private
     */
    this.element_ = document.createElement('div');
    this.element_.style.position = 'absolute';
    this.element_.style.pointerEvents = 'auto';
    this.element_.className = 'ol-box ' + className;

    /**
     * @private
     * @type {import("../Map.js").default|null}
     */
    this.map_ = null;

    /**
     * @private
     * @type {import("../pixel.js").Pixel}
     */
    this.startPixel_ = null;

    /**
     * @private
     * @type {import("../pixel.js").Pixel}
     */
    this.endPixel_ = null;
  }

  /**
   * Clean up.
   * @override
   */
  disposeInternal() {
    this.setMap(null);
  }

  /**
   * @private
   */
  render_() {
    const startPixel = this.startPixel_;
    const endPixel = this.endPixel_;
    const px = 'px';
    const style = this.element_.style;
    style.left = Math.min(startPixel[0], endPixel[0]) + px;
    style.top = Math.min(startPixel[1], endPixel[1]) + px;
    style.width = Math.abs(endPixel[0] - startPixel[0]) + px;
    style.height = Math.abs(endPixel[1] - startPixel[1]) + px;
  }

  /**
   * @param {import("../Map.js").default|null} map Map.
   */
  setMap(map) {
    if (this.map_) {
      this.map_.getOverlayContainer().removeChild(this.element_);
      const style = this.element_.style;
      style.left = 'inherit';
      style.top = 'inherit';
      style.width = 'inherit';
      style.height = 'inherit';
    }
    this.map_ = map;
    if (this.map_) {
      this.map_.getOverlayContainer().appendChild(this.element_);
    }
  }

  /**
   * @param {import("../pixel.js").Pixel} startPixel Start pixel.
   * @param {import("../pixel.js").Pixel} endPixel End pixel.
   */
  setPixels(startPixel, endPixel) {
    this.startPixel_ = startPixel;
    this.endPixel_ = endPixel;
    this.createOrUpdateGeometry();
    this.render_();
  }

  /**
   * Creates or updates the cached geometry.
   */
  createOrUpdateGeometry() {
    if (!this.map_) {
      return;
    }

    const startPixel = this.startPixel_;
    const endPixel = this.endPixel_;
    const pixels = [
      startPixel,
      [startPixel[0], endPixel[1]],
      endPixel,
      [endPixel[0], startPixel[1]],
    ];
    const coordinates = pixels.map(
      this.map_.getCoordinateFromPixelInternal,
      this.map_,
    );
    // close the polygon
    coordinates[4] = coordinates[0].slice();
    if (!this.geometry_) {
      this.geometry_ = new geom_Polygon([coordinates]);
    } else {
      this.geometry_.setCoordinates([coordinates]);
    }
  }

  /**
   * @return {import("../geom/Polygon.js").default} Geometry.
   */
  getGeometry() {
    return this.geometry_;
  }
}

/* harmony default export */ const Box = (RenderBox);

;// CONCATENATED MODULE: ./node_modules/ol/interaction/DragBox.js
/**
 * @module ol/interaction/DragBox
 */
// FIXME draw drag box





/**
 * A function that takes a {@link module:ol/MapBrowserEvent~MapBrowserEvent} and two
 * {@link module:ol/pixel~Pixel}s and returns a `{boolean}`. If the condition is met,
 * true should be returned.
 * @typedef {function(this: ?, import("../MapBrowserEvent.js").default, import("../pixel.js").Pixel, import("../pixel.js").Pixel):boolean} EndCondition
 */

/**
 * @typedef {Object} Options
 * @property {string} [className='ol-dragbox'] CSS class name for styling the box.
 * @property {import("../events/condition.js").Condition} [condition] A function that takes a {@link module:ol/MapBrowserEvent~MapBrowserEvent} and returns a boolean
 * to indicate whether that event should be handled.
 * Default is {@link ol/events/condition~mouseActionButton}.
 * @property {number} [minArea=64] The minimum area of the box in pixel, this value is used by the default
 * `boxEndCondition` function.
 * @property {EndCondition} [boxEndCondition] A function that takes a {@link module:ol/MapBrowserEvent~MapBrowserEvent} and two
 * {@link module:ol/pixel~Pixel}s to indicate whether a `boxend` event should be fired.
 * Default is `true` if the area of the box is bigger than the `minArea` option.
 * @property {function(this:DragBox, import("../MapBrowserEvent.js").default):void} [onBoxEnd] Code to execute just
 * before `boxend` is fired.
 */

/**
 * @enum {string}
 */
const DragBoxEventType = {
  /**
   * Triggered upon drag box start.
   * @event DragBoxEvent#boxstart
   * @api
   */
  BOXSTART: 'boxstart',

  /**
   * Triggered on drag when box is active.
   * @event DragBoxEvent#boxdrag
   * @api
   */
  BOXDRAG: 'boxdrag',

  /**
   * Triggered upon drag box end.
   * @event DragBoxEvent#boxend
   * @api
   */
  BOXEND: 'boxend',

  /**
   * Triggered upon drag box canceled.
   * @event DragBoxEvent#boxcancel
   * @api
   */
  BOXCANCEL: 'boxcancel',
};

/**
 * @classdesc
 * Events emitted by {@link module:ol/interaction/DragBox~DragBox} instances are instances of
 * this type.
 */
class DragBoxEvent extends Event {
  /**
   * @param {string} type The event type.
   * @param {import("../coordinate.js").Coordinate} coordinate The event coordinate.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Originating event.
   */
  constructor(type, coordinate, mapBrowserEvent) {
    super(type);

    /**
     * The coordinate of the drag event.
     * @const
     * @type {import("../coordinate.js").Coordinate}
     * @api
     */
    this.coordinate = coordinate;

    /**
     * @const
     * @type {import("../MapBrowserEvent.js").default}
     * @api
     */
    this.mapBrowserEvent = mapBrowserEvent;
  }
}

/***
 * @template Return
 * @typedef {import("../Observable").OnSignature<import("../Observable").EventTypes, import("../events/Event.js").default, Return> &
 *   import("../Observable").OnSignature<import("../ObjectEventType").Types|
 *     'change:active', import("../Object").ObjectEvent, Return> &
 *   import("../Observable").OnSignature<'boxcancel'|'boxdrag'|'boxend'|'boxstart', DragBoxEvent, Return> &
 *   import("../Observable").CombinedOnSignature<import("../Observable").EventTypes|import("../ObjectEventType").Types|
 *     'change:active'|'boxcancel'|'boxdrag'|'boxend', Return>} DragBoxOnSignature
 */

/**
 * @classdesc
 * Allows the user to draw a vector box by clicking and dragging on the map,
 * normally combined with a {@link module:ol/events/condition} that limits
 * it to when the shift or other key is held down. This is used, for example,
 * for zooming to a specific area of the map
 * (see {@link module:ol/interaction/DragZoom~DragZoom} and
 * {@link module:ol/interaction/DragRotateAndZoom~DragRotateAndZoom}).
 *
 * @fires DragBoxEvent
 * @api
 */
class DragBox extends Pointer {
  /**
   * @param {Options} [options] Options.
   */
  constructor(options) {
    super();

    /***
     * @type {DragBoxOnSignature<import("../events").EventsKey>}
     */
    this.on;

    /***
     * @type {DragBoxOnSignature<import("../events").EventsKey>}
     */
    this.once;

    /***
     * @type {DragBoxOnSignature<void>}
     */
    this.un;

    options = options ?? {};

    /**
     * @type {import("../render/Box.js").default}
     * @private
     */
    this.box_ = new Box(options.className || 'ol-dragbox');

    /**
     * @type {number}
     * @private
     */
    this.minArea_ = options.minArea ?? 64;

    if (options.onBoxEnd) {
      this.onBoxEnd = options.onBoxEnd;
    }

    /**
     * @type {import("../pixel.js").Pixel}
     * @private
     */
    this.startPixel_ = null;

    /**
     * @private
     * @type {import("../events/condition.js").Condition}
     */
    this.condition_ = options.condition ?? mouseActionButton;

    /**
     * @private
     * @type {EndCondition}
     */
    this.boxEndCondition_ =
      options.boxEndCondition ?? this.defaultBoxEndCondition;
  }

  /**
   * The default condition for determining whether the boxend event
   * should fire.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent The originating MapBrowserEvent
   *     leading to the box end.
   * @param {import("../pixel.js").Pixel} startPixel The starting pixel of the box.
   * @param {import("../pixel.js").Pixel} endPixel The end pixel of the box.
   * @return {boolean} Whether or not the boxend condition should be fired.
   */
  defaultBoxEndCondition(mapBrowserEvent, startPixel, endPixel) {
    const width = endPixel[0] - startPixel[0];
    const height = endPixel[1] - startPixel[1];
    return width * width + height * height >= this.minArea_;
  }

  /**
   * Returns geometry of last drawn box.
   * @return {import("../geom/Polygon.js").default} Geometry.
   * @api
   */
  getGeometry() {
    return this.box_.getGeometry();
  }

  /**
   * Handle pointer drag events.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Event.
   * @override
   */
  handleDragEvent(mapBrowserEvent) {
    if (!this.startPixel_) {
      return;
    }

    this.box_.setPixels(this.startPixel_, mapBrowserEvent.pixel);

    this.dispatchEvent(
      new DragBoxEvent(
        DragBoxEventType.BOXDRAG,
        mapBrowserEvent.coordinate,
        mapBrowserEvent,
      ),
    );
  }

  /**
   * Handle pointer up events.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Event.
   * @return {boolean} If the event was consumed.
   * @override
   */
  handleUpEvent(mapBrowserEvent) {
    if (!this.startPixel_) {
      return false;
    }

    const completeBox = this.boxEndCondition_(
      mapBrowserEvent,
      this.startPixel_,
      mapBrowserEvent.pixel,
    );
    if (completeBox) {
      this.onBoxEnd(mapBrowserEvent);
    }
    this.dispatchEvent(
      new DragBoxEvent(
        completeBox ? DragBoxEventType.BOXEND : DragBoxEventType.BOXCANCEL,
        mapBrowserEvent.coordinate,
        mapBrowserEvent,
      ),
    );

    this.box_.setMap(null);
    this.startPixel_ = null;

    return false;
  }

  /**
   * Handle pointer down events.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Event.
   * @return {boolean} If the event was consumed.
   * @override
   */
  handleDownEvent(mapBrowserEvent) {
    if (this.condition_(mapBrowserEvent)) {
      this.startPixel_ = mapBrowserEvent.pixel;
      this.box_.setMap(mapBrowserEvent.map);
      this.box_.setPixels(this.startPixel_, this.startPixel_);
      this.dispatchEvent(
        new DragBoxEvent(
          DragBoxEventType.BOXSTART,
          mapBrowserEvent.coordinate,
          mapBrowserEvent,
        ),
      );
      return true;
    }
    return false;
  }

  /**
   * Function to execute just before `onboxend` is fired
   * @param {import("../MapBrowserEvent.js").default} event Event.
   */
  onBoxEnd(event) {}

  /**
   * Activate or deactivate the interaction.
   * @param {boolean} active Active.
   * @observable
   * @api
   * @override
   */
  setActive(active) {
    if (!active) {
      this.box_.setMap(null);
      if (this.startPixel_) {
        this.dispatchEvent(
          new DragBoxEvent(DragBoxEventType.BOXCANCEL, this.startPixel_, null),
        );
        this.startPixel_ = null;
      }
    }

    super.setActive(active);
  }

  /**
   * @param {import("../Map.js").default|null} map Map.
   * @override
   */
  setMap(map) {
    const oldMap = this.getMap();

    if (oldMap) {
      this.box_.setMap(null);

      if (this.startPixel_) {
        this.dispatchEvent(
          new DragBoxEvent(DragBoxEventType.BOXCANCEL, this.startPixel_, null),
        );
        this.startPixel_ = null;
      }
    }

    super.setMap(map);
  }
}

/* harmony default export */ const interaction_DragBox = (DragBox);

;// CONCATENATED MODULE: ./node_modules/ol/interaction/DragZoom.js
/**
 * @module ol/interaction/DragZoom
 */




/**
 * @typedef {Object} Options
 * @property {string} [className='ol-dragzoom'] CSS class name for styling the
 * box.
 * @property {import("../events/condition.js").Condition} [condition] A function that
 * takes a {@link module:ol/MapBrowserEvent~MapBrowserEvent} and returns a
 * boolean to indicate whether that event should be handled.
 * Default is {@link module:ol/events/condition.shiftKeyOnly}.
 * @property {number} [duration=200] Animation duration in milliseconds.
 * @property {boolean} [out=false] Use interaction for zooming out.
 * @property {number} [minArea=64] The minimum area of the box in pixel, this value is used by the parent default
 * `boxEndCondition` function.
 */

/**
 * @classdesc
 * Allows the user to zoom the map by clicking and dragging on the map,
 * normally combined with a {@link module:ol/events/condition} that limits
 * it to when a key, shift by default, is held down.
 *
 * To change the style of the box, use CSS and the `.ol-dragzoom` selector, or
 * your custom one configured with `className`.
 * @api
 */
class DragZoom extends interaction_DragBox {
  /**
   * @param {Options} [options] Options.
   */
  constructor(options) {
    options = options ? options : {};

    const condition = options.condition ? options.condition : shiftKeyOnly;

    super({
      condition: condition,
      className: options.className || 'ol-dragzoom',
      minArea: options.minArea,
    });

    /**
     * @private
     * @type {number}
     */
    this.duration_ = options.duration !== undefined ? options.duration : 200;

    /**
     * @private
     * @type {boolean}
     */
    this.out_ = options.out !== undefined ? options.out : false;
  }

  /**
   * Function to execute just before `onboxend` is fired
   * @param {import("../MapBrowserEvent.js").default} event Event.
   * @override
   */
  onBoxEnd(event) {
    const map = this.getMap();
    const view = /** @type {!import("../View.js").default} */ (map.getView());
    let geometry = this.getGeometry();

    if (this.out_) {
      const rotatedExtent = view.rotatedExtentForGeometry(geometry);
      const resolution = view.getResolutionForExtentInternal(rotatedExtent);
      const factor = view.getResolution() / resolution;
      geometry = geometry.clone();
      geometry.scale(factor * factor);
    }

    view.fitInternal(geometry, {
      duration: this.duration_,
      easing: easeOut,
    });
  }
}

/* harmony default export */ const interaction_DragZoom = (DragZoom);

;// CONCATENATED MODULE: ./node_modules/ol/events/Key.js
/**
 * @module ol/events/Key
 */

/**
 * @enum {string}
 * @const
 */
/* harmony default export */ const Key = ({
  LEFT: 'ArrowLeft',
  UP: 'ArrowUp',
  RIGHT: 'ArrowRight',
  DOWN: 'ArrowDown',
});

;// CONCATENATED MODULE: ./node_modules/ol/interaction/KeyboardPan.js
/**
 * @module ol/interaction/KeyboardPan
 */






/**
 * @typedef {Object} Options
 * @property {import("../events/condition.js").Condition} [condition] A function that
 * takes a {@link module:ol/MapBrowserEvent~MapBrowserEvent} and returns a
 * boolean to indicate whether that event should be handled. Default is
 * {@link module:ol/events/condition.noModifierKeys} and
 * {@link module:ol/events/condition.targetNotEditable}.
 * @property {number} [duration=100] Animation duration in milliseconds.
 * @property {number} [pixelDelta=128] The amount of pixels to pan on each key
 * press.
 */

/**
 * @classdesc
 * Allows the user to pan the map using keyboard arrows.
 * Note that, although this interaction is by default included in maps,
 * the keys can only be used when browser focus is on the element to which
 * the keyboard events are attached. By default, this is the map div,
 * though you can change this with the `keyboardEventTarget` in
 * {@link module:ol/Map~Map}. `document` never loses focus but, for any other
 * element, focus will have to be on, and returned to, this element if the keys
 * are to function.
 * See also {@link module:ol/interaction/KeyboardZoom~KeyboardZoom}.
 * @api
 */
class KeyboardPan extends interaction_Interaction {
  /**
   * @param {Options} [options] Options.
   */
  constructor(options) {
    super();

    options = options || {};

    /**
     * @private
     * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Browser event.
     * @return {boolean} Combined condition result.
     */
    this.defaultCondition_ = function (mapBrowserEvent) {
      return (
        noModifierKeys(mapBrowserEvent) && targetNotEditable(mapBrowserEvent)
      );
    };

    /**
     * @private
     * @type {import("../events/condition.js").Condition}
     */
    this.condition_ =
      options.condition !== undefined
        ? options.condition
        : this.defaultCondition_;

    /**
     * @private
     * @type {number}
     */
    this.duration_ = options.duration !== undefined ? options.duration : 100;

    /**
     * @private
     * @type {number}
     */
    this.pixelDelta_ =
      options.pixelDelta !== undefined ? options.pixelDelta : 128;
  }

  /**
   * Handles the {@link module:ol/MapBrowserEvent~MapBrowserEvent map browser event} if it was a
   * `KeyEvent`, and decides the direction to pan to (if an arrow key was
   * pressed).
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
   * @return {boolean} `false` to stop event propagation.
   * @override
   */
  handleEvent(mapBrowserEvent) {
    let stopEvent = false;
    if (mapBrowserEvent.type == events_EventType.KEYDOWN) {
      const keyEvent = /** @type {KeyboardEvent} */ (
        mapBrowserEvent.originalEvent
      );
      const key = keyEvent.key;
      if (
        this.condition_(mapBrowserEvent) &&
        (key == Key.DOWN ||
          key == Key.LEFT ||
          key == Key.RIGHT ||
          key == Key.UP)
      ) {
        const map = mapBrowserEvent.map;
        const view = map.getView();
        const mapUnitsDelta = view.getResolution() * this.pixelDelta_;
        let deltaX = 0,
          deltaY = 0;
        if (key == Key.DOWN) {
          deltaY = -mapUnitsDelta;
        } else if (key == Key.LEFT) {
          deltaX = -mapUnitsDelta;
        } else if (key == Key.RIGHT) {
          deltaX = mapUnitsDelta;
        } else {
          deltaY = mapUnitsDelta;
        }
        const delta = [deltaX, deltaY];
        rotate(delta, view.getRotation());
        pan(view, delta, this.duration_);
        keyEvent.preventDefault();
        stopEvent = true;
      }
    }
    return !stopEvent;
  }
}

/* harmony default export */ const interaction_KeyboardPan = (KeyboardPan);

;// CONCATENATED MODULE: ./node_modules/ol/interaction/KeyboardZoom.js
/**
 * @module ol/interaction/KeyboardZoom
 */




/**
 * @typedef {Object} Options
 * @property {number} [duration=100] Animation duration in milliseconds.
 * @property {import("../events/condition.js").Condition} [condition] A function that
 * takes a {@link module:ol/MapBrowserEvent~MapBrowserEvent} and returns a
 * boolean to indicate whether that event should be handled. The default condition is
 * that {@link module:ol/events/condition.targetNotEditable} is fulfilled and that
 * the platform modifier key isn't pressed
 * (!{@link module:ol/events/condition.platformModifierKey}).
 * @property {number} [delta=1] The zoom level delta on each key press.
 */

/**
 * @classdesc
 * Allows the user to zoom the map using keyboard + and -.
 * Note that, although this interaction is by default included in maps,
 * the keys can only be used when browser focus is on the element to which
 * the keyboard events are attached. By default, this is the map div,
 * though you can change this with the `keyboardEventTarget` in
 * {@link module:ol/Map~Map}. `document` never loses focus but, for any other
 * element, focus will have to be on, and returned to, this element if the keys
 * are to function.
 * See also {@link module:ol/interaction/KeyboardPan~KeyboardPan}.
 * @api
 */
class KeyboardZoom extends interaction_Interaction {
  /**
   * @param {Options} [options] Options.
   */
  constructor(options) {
    super();

    options = options ? options : {};

    /**
     * @private
     * @type {import("../events/condition.js").Condition}
     */
    this.condition_ = options.condition
      ? options.condition
      : function (mapBrowserEvent) {
          return (
            !platformModifierKey(mapBrowserEvent) &&
            targetNotEditable(mapBrowserEvent)
          );
        };

    /**
     * @private
     * @type {number}
     */
    this.delta_ = options.delta ? options.delta : 1;

    /**
     * @private
     * @type {number}
     */
    this.duration_ = options.duration !== undefined ? options.duration : 100;
  }

  /**
   * Handles the {@link module:ol/MapBrowserEvent~MapBrowserEvent map browser event} if it was a
   * `KeyEvent`, and decides whether to zoom in or out (depending on whether the
   * key pressed was '+' or '-').
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
   * @return {boolean} `false` to stop event propagation.
   * @override
   */
  handleEvent(mapBrowserEvent) {
    let stopEvent = false;
    if (
      mapBrowserEvent.type == events_EventType.KEYDOWN ||
      mapBrowserEvent.type == events_EventType.KEYPRESS
    ) {
      const keyEvent = /** @type {KeyboardEvent} */ (
        mapBrowserEvent.originalEvent
      );
      const key = keyEvent.key;
      if (this.condition_(mapBrowserEvent) && (key === '+' || key === '-')) {
        const map = mapBrowserEvent.map;
        const delta = key === '+' ? this.delta_ : -this.delta_;
        const view = map.getView();
        zoomByDelta(view, delta, undefined, this.duration_);
        keyEvent.preventDefault();
        stopEvent = true;
      }
    }
    return !stopEvent;
  }
}

/* harmony default export */ const interaction_KeyboardZoom = (KeyboardZoom);

;// CONCATENATED MODULE: ./node_modules/ol/interaction/MouseWheelZoom.js
/**
 * @module ol/interaction/MouseWheelZoom
 */





/**
 * @typedef {'trackpad' | 'wheel'} Mode
 */

/**
 * @typedef {Object} Options
 * @property {import("../events/condition.js").Condition} [condition] A function that
 * takes a {@link module:ol/MapBrowserEvent~MapBrowserEvent} and returns a
 * boolean to indicate whether that event should be handled. Default is
 * {@link module:ol/events/condition.always}.
 * @property {boolean} [onFocusOnly=false] When the map's target has a `tabindex` attribute set,
 * the interaction will only handle events when the map has the focus.
 * @property {number} [maxDelta=1] Maximum mouse wheel delta.
 * @property {number} [duration=250] Animation duration in milliseconds.
 * @property {number} [timeout=80] Mouse wheel timeout duration in milliseconds.
 * @property {boolean} [useAnchor=true] Enable zooming using the mouse's
 * location as the anchor. When set to `false`, zooming in and out will zoom to
 * the center of the screen instead of zooming on the mouse's location.
 * @property {boolean} [constrainResolution=false] If true, the mouse wheel zoom
 * event will always animate to the closest zoom level after an interaction;
 * false means intermediary zoom levels are allowed.
 */

/**
 * @classdesc
 * Allows the user to zoom the map by scrolling the mouse wheel.
 * @api
 */
class MouseWheelZoom extends interaction_Interaction {
  /**
   * @param {Options} [options] Options.
   */
  constructor(options) {
    options = options ? options : {};

    super(
      /** @type {import("./Interaction.js").InteractionOptions} */ (options),
    );

    /**
     * @private
     * @type {number}
     */
    this.totalDelta_ = 0;

    /**
     * @private
     * @type {number}
     */
    this.lastDelta_ = 0;

    /**
     * @private
     * @type {number}
     */
    this.maxDelta_ = options.maxDelta !== undefined ? options.maxDelta : 1;

    /**
     * @private
     * @type {number}
     */
    this.duration_ = options.duration !== undefined ? options.duration : 250;

    /**
     * @private
     * @type {number}
     */
    this.timeout_ = options.timeout !== undefined ? options.timeout : 80;

    /**
     * @private
     * @type {boolean}
     */
    this.useAnchor_ =
      options.useAnchor !== undefined ? options.useAnchor : true;

    /**
     * @private
     * @type {boolean}
     */
    this.constrainResolution_ =
      options.constrainResolution !== undefined
        ? options.constrainResolution
        : false;

    const condition = options.condition ? options.condition : always;

    /**
     * @private
     * @type {import("../events/condition.js").Condition}
     */
    this.condition_ = options.onFocusOnly
      ? condition_all(focusWithTabindex, condition)
      : condition;

    /**
     * @private
     * @type {?import("../pixel.js").Pixel}
     */
    this.lastAnchor_ = null;

    /**
     * @private
     * @type {number|undefined}
     */
    this.startTime_ = undefined;

    /**
     * @private
     * @type {ReturnType<typeof setTimeout>}
     */
    this.timeoutId_;

    /**
     * @private
     * @type {Mode|undefined}
     */
    this.mode_ = undefined;

    /**
     * Trackpad events separated by this delay will be considered separate
     * interactions.
     * @private
     * @type {number}
     */
    this.trackpadEventGap_ = 400;

    /**
     * @private
     * @type {ReturnType<typeof setTimeout>}
     */
    this.trackpadTimeoutId_;

    /**
     * The number of delta values per zoom level
     * @private
     * @type {number}
     */
    this.deltaPerZoom_ = 300;
  }

  /**
   * @private
   */
  endInteraction_() {
    this.trackpadTimeoutId_ = undefined;
    const map = this.getMap();
    if (!map) {
      return;
    }
    const view = map.getView();
    view.endInteraction(
      undefined,
      this.lastDelta_ ? (this.lastDelta_ > 0 ? 1 : -1) : 0,
      this.lastAnchor_ ? map.getCoordinateFromPixel(this.lastAnchor_) : null,
    );
  }

  /**
   * Handles the {@link module:ol/MapBrowserEvent~MapBrowserEvent map browser event} (if it was a mousewheel-event) and eventually
   * zooms the map.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
   * @return {boolean} `false` to stop event propagation.
   * @override
   */
  handleEvent(mapBrowserEvent) {
    if (!this.condition_(mapBrowserEvent)) {
      return true;
    }
    const type = mapBrowserEvent.type;
    if (type !== events_EventType.WHEEL) {
      return true;
    }

    const map = mapBrowserEvent.map;
    const wheelEvent = /** @type {WheelEvent} */ (
      mapBrowserEvent.originalEvent
    );
    wheelEvent.preventDefault();

    if (this.useAnchor_) {
      this.lastAnchor_ = mapBrowserEvent.pixel;
    }

    // Delta normalisation inspired by
    // https://github.com/mapbox/mapbox-gl-js/blob/001c7b9/js/ui/handler/scroll_zoom.js
    let delta;
    if (mapBrowserEvent.type == events_EventType.WHEEL) {
      delta = wheelEvent.deltaY;
      if (wheelEvent.deltaMode === WheelEvent.DOM_DELTA_LINE) {
        delta *= 40;
      }
    }

    if (delta === 0) {
      return false;
    }
    this.lastDelta_ = delta;

    const now = Date.now();

    if (this.startTime_ === undefined) {
      this.startTime_ = now;
    }

    if (!this.mode_ || now - this.startTime_ > this.trackpadEventGap_) {
      this.mode_ = Math.abs(delta) < 4 ? 'trackpad' : 'wheel';
    }

    const view = map.getView();
    if (
      this.mode_ === 'trackpad' &&
      !(view.getConstrainResolution() || this.constrainResolution_)
    ) {
      if (this.trackpadTimeoutId_) {
        clearTimeout(this.trackpadTimeoutId_);
      } else {
        if (view.getAnimating()) {
          view.cancelAnimations();
        }
        view.beginInteraction();
      }
      this.trackpadTimeoutId_ = setTimeout(
        this.endInteraction_.bind(this),
        this.timeout_,
      );
      view.adjustZoom(
        -delta / this.deltaPerZoom_,
        this.lastAnchor_ ? map.getCoordinateFromPixel(this.lastAnchor_) : null,
      );
      this.startTime_ = now;
      return false;
    }

    this.totalDelta_ += delta;

    const timeLeft = Math.max(this.timeout_ - (now - this.startTime_), 0);

    clearTimeout(this.timeoutId_);
    this.timeoutId_ = setTimeout(
      this.handleWheelZoom_.bind(this, map),
      timeLeft,
    );

    return false;
  }

  /**
   * @private
   * @param {import("../Map.js").default} map Map.
   */
  handleWheelZoom_(map) {
    const view = map.getView();
    if (view.getAnimating()) {
      view.cancelAnimations();
    }
    let delta =
      -math_clamp(
        this.totalDelta_,
        -this.maxDelta_ * this.deltaPerZoom_,
        this.maxDelta_ * this.deltaPerZoom_,
      ) / this.deltaPerZoom_;
    if (view.getConstrainResolution() || this.constrainResolution_) {
      // view has a zoom constraint, zoom by 1
      delta = delta ? (delta > 0 ? 1 : -1) : 0;
    }
    zoomByDelta(
      view,
      delta,
      this.lastAnchor_ ? map.getCoordinateFromPixel(this.lastAnchor_) : null,
      this.duration_,
    );

    this.mode_ = undefined;
    this.totalDelta_ = 0;
    this.lastAnchor_ = null;
    this.startTime_ = undefined;
    this.timeoutId_ = undefined;
  }

  /**
   * Enable or disable using the mouse's location as an anchor when zooming
   * @param {boolean} useAnchor true to zoom to the mouse's location, false
   * to zoom to the center of the map
   * @api
   */
  setMouseAnchor(useAnchor) {
    this.useAnchor_ = useAnchor;
    if (!useAnchor) {
      this.lastAnchor_ = null;
    }
  }
}

/* harmony default export */ const interaction_MouseWheelZoom = (MouseWheelZoom);

;// CONCATENATED MODULE: ./node_modules/ol/interaction/PinchRotate.js
/**
 * @module ol/interaction/PinchRotate
 */




/**
 * @typedef {Object} Options
 * @property {number} [duration=250] The duration of the animation in
 * milliseconds.
 * @property {number} [threshold=0.3] Minimal angle in radians to start a rotation.
 */

/**
 * @classdesc
 * Allows the user to rotate the map by twisting with two fingers
 * on a touch screen.
 * @api
 */
class PinchRotate extends Pointer {
  /**
   * @param {Options} [options] Options.
   */
  constructor(options) {
    options = options ? options : {};

    const pointerOptions = /** @type {import("./Pointer.js").Options} */ (
      options
    );

    if (!pointerOptions.stopDown) {
      pointerOptions.stopDown = functions_FALSE;
    }

    super(pointerOptions);

    /**
     * @private
     * @type {import("../coordinate.js").Coordinate}
     */
    this.anchor_ = null;

    /**
     * @private
     * @type {number|undefined}
     */
    this.lastAngle_ = undefined;

    /**
     * @private
     * @type {boolean}
     */
    this.rotating_ = false;

    /**
     * @private
     * @type {number}
     */
    this.rotationDelta_ = 0.0;

    /**
     * @private
     * @type {number}
     */
    this.threshold_ = options.threshold !== undefined ? options.threshold : 0.3;

    /**
     * @private
     * @type {number}
     */
    this.duration_ = options.duration !== undefined ? options.duration : 250;
  }

  /**
   * Handle pointer drag events.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Event.
   * @override
   */
  handleDragEvent(mapBrowserEvent) {
    let rotationDelta = 0.0;

    const touch0 = this.targetPointers[0];
    const touch1 = this.targetPointers[1];

    // angle between touches
    const angle = Math.atan2(
      touch1.clientY - touch0.clientY,
      touch1.clientX - touch0.clientX,
    );

    if (this.lastAngle_ !== undefined) {
      const delta = angle - this.lastAngle_;
      this.rotationDelta_ += delta;
      if (!this.rotating_ && Math.abs(this.rotationDelta_) > this.threshold_) {
        this.rotating_ = true;
      }
      rotationDelta = delta;
    }
    this.lastAngle_ = angle;

    const map = mapBrowserEvent.map;
    const view = map.getView();
    if (view.getConstraints().rotation === disable) {
      return;
    }

    // rotate anchor point.
    // FIXME: should be the intersection point between the lines:
    //     touch0,touch1 and previousTouch0,previousTouch1
    this.anchor_ = map.getCoordinateFromPixelInternal(
      map.getEventPixel(Pointer_centroid(this.targetPointers)),
    );

    // rotate
    if (this.rotating_) {
      map.render();
      view.adjustRotationInternal(rotationDelta, this.anchor_);
    }
  }

  /**
   * Handle pointer up events.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Event.
   * @return {boolean} If the event was consumed.
   * @override
   */
  handleUpEvent(mapBrowserEvent) {
    if (this.targetPointers.length < 2) {
      const map = mapBrowserEvent.map;
      const view = map.getView();
      view.endInteraction(this.duration_);
      return false;
    }
    return true;
  }

  /**
   * Handle pointer down events.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Event.
   * @return {boolean} If the event was consumed.
   * @override
   */
  handleDownEvent(mapBrowserEvent) {
    if (this.targetPointers.length >= 2) {
      const map = mapBrowserEvent.map;
      this.anchor_ = null;
      this.lastAngle_ = undefined;
      this.rotating_ = false;
      this.rotationDelta_ = 0.0;
      if (!this.handlingDownUpSequence) {
        map.getView().beginInteraction();
      }
      return true;
    }
    return false;
  }
}

/* harmony default export */ const interaction_PinchRotate = (PinchRotate);

;// CONCATENATED MODULE: ./node_modules/ol/interaction/PinchZoom.js
/**
 * @module ol/interaction/PinchZoom
 */



/**
 * @typedef {Object} Options
 * @property {number} [duration=400] Animation duration in milliseconds.
 */

/**
 * @classdesc
 * Allows the user to zoom the map by pinching with two fingers
 * on a touch screen.
 * @api
 */
class PinchZoom extends Pointer {
  /**
   * @param {Options} [options] Options.
   */
  constructor(options) {
    options = options ? options : {};

    const pointerOptions = /** @type {import("./Pointer.js").Options} */ (
      options
    );

    if (!pointerOptions.stopDown) {
      pointerOptions.stopDown = functions_FALSE;
    }

    super(pointerOptions);

    /**
     * @private
     * @type {import("../coordinate.js").Coordinate}
     */
    this.anchor_ = null;

    /**
     * @private
     * @type {number}
     */
    this.duration_ = options.duration !== undefined ? options.duration : 400;

    /**
     * @private
     * @type {number|undefined}
     */
    this.lastDistance_ = undefined;

    /**
     * @private
     * @type {number}
     */
    this.lastScaleDelta_ = 1;
  }

  /**
   * Handle pointer drag events.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Event.
   * @override
   */
  handleDragEvent(mapBrowserEvent) {
    let scaleDelta = 1.0;

    const touch0 = this.targetPointers[0];
    const touch1 = this.targetPointers[1];
    const dx = touch0.clientX - touch1.clientX;
    const dy = touch0.clientY - touch1.clientY;

    // distance between touches
    const distance = Math.sqrt(dx * dx + dy * dy);

    if (this.lastDistance_ !== undefined) {
      scaleDelta = this.lastDistance_ / distance;
    }
    this.lastDistance_ = distance;

    const map = mapBrowserEvent.map;
    const view = map.getView();

    if (scaleDelta != 1.0) {
      this.lastScaleDelta_ = scaleDelta;
    }

    // scale anchor point.
    this.anchor_ = map.getCoordinateFromPixelInternal(
      map.getEventPixel(Pointer_centroid(this.targetPointers)),
    );

    // scale, bypass the resolution constraint
    map.render();
    view.adjustResolutionInternal(scaleDelta, this.anchor_);
  }

  /**
   * Handle pointer up events.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Event.
   * @return {boolean} If the event was consumed.
   * @override
   */
  handleUpEvent(mapBrowserEvent) {
    if (this.targetPointers.length < 2) {
      const map = mapBrowserEvent.map;
      const view = map.getView();
      const direction = this.lastScaleDelta_ > 1 ? 1 : -1;
      view.endInteraction(this.duration_, direction);
      return false;
    }
    return true;
  }

  /**
   * Handle pointer down events.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Event.
   * @return {boolean} If the event was consumed.
   * @override
   */
  handleDownEvent(mapBrowserEvent) {
    if (this.targetPointers.length >= 2) {
      const map = mapBrowserEvent.map;
      this.anchor_ = null;
      this.lastDistance_ = undefined;
      this.lastScaleDelta_ = 1;
      if (!this.handlingDownUpSequence) {
        map.getView().beginInteraction();
      }
      return true;
    }
    return false;
  }
}

/* harmony default export */ const interaction_PinchZoom = (PinchZoom);

;// CONCATENATED MODULE: ./node_modules/ol/interaction/defaults.js
/**
 * @module ol/interaction/defaults
 */












/**
 * @typedef {Object} DefaultsOptions
 * @property {boolean} [altShiftDragRotate=true] Whether Alt-Shift-drag rotate is
 * desired.
 * @property {boolean} [onFocusOnly=false] Interact only when the map has the
 * focus. This affects the `MouseWheelZoom` and `DragPan` interactions and is
 * useful when page scroll is desired for maps that do not have the browser's
 * focus.
 * @property {boolean} [doubleClickZoom=true] Whether double click zoom is
 * desired.
 * @property {boolean} [keyboard=true] Whether keyboard interaction is desired.
 * @property {boolean} [mouseWheelZoom=true] Whether mousewheel zoom is desired.
 * @property {boolean} [shiftDragZoom=true] Whether Shift-drag zoom is desired.
 * @property {boolean} [dragPan=true] Whether drag pan is desired.
 * @property {boolean} [pinchRotate=true] Whether pinch rotate is desired.
 * @property {boolean} [pinchZoom=true] Whether pinch zoom is desired.
 * @property {number} [zoomDelta] Zoom level delta when using keyboard or double click zoom.
 * @property {number} [zoomDuration] Duration of the zoom animation in
 * milliseconds.
 */

/**
 * Set of interactions included in maps by default. Specific interactions can be
 * excluded by setting the appropriate option to false in the constructor
 * options, but the order of the interactions is fixed.  If you want to specify
 * a different order for interactions, you will need to create your own
 * {@link module:ol/interaction/Interaction~Interaction} instances and insert
 * them into a {@link module:ol/Collection~Collection} in the order you want
 * before creating your {@link module:ol/Map~Map} instance. Changing the order can
 * be of interest if the event propagation needs to be stopped at a point.
 * The default set of interactions, in sequence, is:
 * {@link module:ol/interaction/DragRotate~DragRotate}
 * {@link module:ol/interaction/DoubleClickZoom~DoubleClickZoom}
 * {@link module:ol/interaction/DragPan~DragPan}
 * {@link module:ol/interaction/PinchRotate~PinchRotate}
 * {@link module:ol/interaction/PinchZoom~PinchZoom}
 * {@link module:ol/interaction/KeyboardPan~KeyboardPan}
 * {@link module:ol/interaction/KeyboardZoom~KeyboardZoom}
 * {@link module:ol/interaction/MouseWheelZoom~MouseWheelZoom}
 * {@link module:ol/interaction/DragZoom~DragZoom}
 *
 * @param {DefaultsOptions} [options] Defaults options.
 * @return {Collection<import("./Interaction.js").default>}
 * A collection of interactions to be used with the {@link module:ol/Map~Map}
 * constructor's `interactions` option.
 * @api
 */
function interaction_defaults_defaults(options) {
  options = options ? options : {};

  /** @type {Collection<import("./Interaction.js").default>} */
  const interactions = new ol_Collection();

  const kinetic = new ol_Kinetic(-0.005, 0.05, 100);

  const altShiftDragRotate =
    options.altShiftDragRotate !== undefined
      ? options.altShiftDragRotate
      : true;
  if (altShiftDragRotate) {
    interactions.push(new interaction_DragRotate());
  }

  const doubleClickZoom =
    options.doubleClickZoom !== undefined ? options.doubleClickZoom : true;
  if (doubleClickZoom) {
    interactions.push(
      new interaction_DoubleClickZoom({
        delta: options.zoomDelta,
        duration: options.zoomDuration,
      }),
    );
  }

  const dragPan = options.dragPan !== undefined ? options.dragPan : true;
  if (dragPan) {
    interactions.push(
      new interaction_DragPan({
        onFocusOnly: options.onFocusOnly,
        kinetic: kinetic,
      }),
    );
  }

  const pinchRotate =
    options.pinchRotate !== undefined ? options.pinchRotate : true;
  if (pinchRotate) {
    interactions.push(new interaction_PinchRotate());
  }

  const pinchZoom = options.pinchZoom !== undefined ? options.pinchZoom : true;
  if (pinchZoom) {
    interactions.push(
      new interaction_PinchZoom({
        duration: options.zoomDuration,
      }),
    );
  }

  const keyboard = options.keyboard !== undefined ? options.keyboard : true;
  if (keyboard) {
    interactions.push(new interaction_KeyboardPan());
    interactions.push(
      new interaction_KeyboardZoom({
        delta: options.zoomDelta,
        duration: options.zoomDuration,
      }),
    );
  }

  const mouseWheelZoom =
    options.mouseWheelZoom !== undefined ? options.mouseWheelZoom : true;
  if (mouseWheelZoom) {
    interactions.push(
      new interaction_MouseWheelZoom({
        onFocusOnly: options.onFocusOnly,
        duration: options.zoomDuration,
      }),
    );
  }

  const shiftDragZoom =
    options.shiftDragZoom !== undefined ? options.shiftDragZoom : true;
  if (shiftDragZoom) {
    interactions.push(
      new interaction_DragZoom({
        duration: options.zoomDuration,
      }),
    );
  }

  return interactions;
}

;// CONCATENATED MODULE: ./node_modules/ol/layer/Property.js
/**
 * @module ol/layer/Property
 */

/**
 * @enum {string}
 */
/* harmony default export */ const layer_Property = ({
  OPACITY: 'opacity',
  VISIBLE: 'visible',
  EXTENT: 'extent',
  Z_INDEX: 'zIndex',
  MAX_RESOLUTION: 'maxResolution',
  MIN_RESOLUTION: 'minResolution',
  MAX_ZOOM: 'maxZoom',
  MIN_ZOOM: 'minZoom',
  SOURCE: 'source',
  MAP: 'map',
});

;// CONCATENATED MODULE: ./node_modules/ol/layer/Base.js
/**
 * @module ol/layer/Base
 */






/**
 * A css color, or a function called with a view resolution returning a css color.
 *
 * @typedef {string|function(number):string} BackgroundColor
 * @api
 */

/**
 * @typedef {import("../ObjectEventType").Types|'change:extent'|'change:maxResolution'|'change:maxZoom'|
 *    'change:minResolution'|'change:minZoom'|'change:opacity'|'change:visible'|'change:zIndex'} BaseLayerObjectEventTypes
 */

/***
 * @template Return
 * @typedef {import("../Observable").OnSignature<import("../Observable").EventTypes, import("../events/Event.js").default, Return> &
 *   import("../Observable").OnSignature<BaseLayerObjectEventTypes, import("../Object").ObjectEvent, Return> &
 *   import("../Observable").CombinedOnSignature<import("../Observable").EventTypes|BaseLayerObjectEventTypes, Return>} BaseLayerOnSignature
 */

/**
 * @typedef {Object} Options
 * @property {string} [className='ol-layer'] A CSS class name to set to the layer element.
 * @property {number} [opacity=1] Opacity (0, 1).
 * @property {boolean} [visible=true] Visibility.
 * @property {import("../extent.js").Extent} [extent] The bounding extent for layer rendering.  The layer will not be
 * rendered outside of this extent.
 * @property {number | undefined} [zIndex] The z-index for layer rendering.  At rendering time, the layers
 * will be ordered, first by Z-index and then by position. When `undefined`, a `zIndex` of 0 is assumed
 * for layers that are added to the map's `layers` collection, or `Infinity` when the layer's `setMap()`
 * method was used.
 * @property {number} [minResolution] The minimum resolution (inclusive) at which this layer will be
 * visible.
 * @property {number} [maxResolution] The maximum resolution (exclusive) below which this layer will
 * be visible.
 * @property {number} [minZoom] The minimum view zoom level (exclusive) above which this layer will be
 * visible.
 * @property {number} [maxZoom] The maximum view zoom level (inclusive) at which this layer will
 * be visible.
 * @property {BackgroundColor} [background] Background color for the layer. If not specified, no background
 * will be rendered.
 * @property {Object<string, *>} [properties] Arbitrary observable properties. Can be accessed with `#get()` and `#set()`.
 */

/**
 * @classdesc
 * Abstract base class; normally only used for creating subclasses and not
 * instantiated in apps.
 * Note that with {@link module:ol/layer/Base~BaseLayer} and all its subclasses, any property set in
 * the options is set as a {@link module:ol/Object~BaseObject} property on the layer object, so
 * is observable, and has get/set accessors.
 *
 * @api
 */
class BaseLayer extends ol_Object {
  /**
   * @param {Options} options Layer options.
   */
  constructor(options) {
    super();

    /***
     * @type {BaseLayerOnSignature<import("../events").EventsKey>}
     */
    this.on;

    /***
     * @type {BaseLayerOnSignature<import("../events").EventsKey>}
     */
    this.once;

    /***
     * @type {BaseLayerOnSignature<void>}
     */
    this.un;

    /**
     * @type {BackgroundColor|false}
     * @private
     */
    this.background_ = options.background;

    /**
     * @type {Object<string, *>}
     */
    const properties = Object.assign({}, options);
    if (typeof options.properties === 'object') {
      delete properties.properties;
      Object.assign(properties, options.properties);
    }

    properties[layer_Property.OPACITY] =
      options.opacity !== undefined ? options.opacity : 1;
    assert(
      typeof properties[layer_Property.OPACITY] === 'number',
      'Layer opacity must be a number',
    );

    properties[layer_Property.VISIBLE] =
      options.visible !== undefined ? options.visible : true;
    properties[layer_Property.Z_INDEX] = options.zIndex;
    properties[layer_Property.MAX_RESOLUTION] =
      options.maxResolution !== undefined ? options.maxResolution : Infinity;
    properties[layer_Property.MIN_RESOLUTION] =
      options.minResolution !== undefined ? options.minResolution : 0;
    properties[layer_Property.MIN_ZOOM] =
      options.minZoom !== undefined ? options.minZoom : -Infinity;
    properties[layer_Property.MAX_ZOOM] =
      options.maxZoom !== undefined ? options.maxZoom : Infinity;

    /**
     * @type {string}
     * @private
     */
    this.className_ =
      properties.className !== undefined ? properties.className : 'ol-layer';
    delete properties.className;

    this.setProperties(properties);

    /**
     * @type {import("./Layer.js").State}
     * @private
     */
    this.state_ = null;
  }

  /**
   * Get the background for this layer.
   * @return {BackgroundColor|false} Layer background.
   */
  getBackground() {
    return this.background_;
  }

  /**
   * @return {string} CSS class name.
   */
  getClassName() {
    return this.className_;
  }

  /**
   * This method is not meant to be called by layers or layer renderers because the state
   * is incorrect if the layer is included in a layer group.
   *
   * @param {boolean} [managed] Layer is managed.
   * @return {import("./Layer.js").State} Layer state.
   */
  getLayerState(managed) {
    /** @type {import("./Layer.js").State} */
    const state =
      this.state_ ||
      /** @type {?} */ ({
        layer: this,
        managed: managed === undefined ? true : managed,
      });
    const zIndex = this.getZIndex();
    state.opacity = math_clamp(Math.round(this.getOpacity() * 100) / 100, 0, 1);
    state.visible = this.getVisible();
    state.extent = this.getExtent();
    state.zIndex = zIndex === undefined && !state.managed ? Infinity : zIndex;
    state.maxResolution = this.getMaxResolution();
    state.minResolution = Math.max(this.getMinResolution(), 0);
    state.minZoom = this.getMinZoom();
    state.maxZoom = this.getMaxZoom();
    this.state_ = state;

    return state;
  }

  /**
   * @abstract
   * @param {Array<import("./Layer.js").default>} [array] Array of layers (to be
   *     modified in place).
   * @return {Array<import("./Layer.js").default>} Array of layers.
   */
  getLayersArray(array) {
    return util_abstract();
  }

  /**
   * @abstract
   * @param {Array<import("./Layer.js").State>} [states] Optional list of layer
   *     states (to be modified in place).
   * @return {Array<import("./Layer.js").State>} List of layer states.
   */
  getLayerStatesArray(states) {
    return util_abstract();
  }

  /**
   * Return the {@link module:ol/extent~Extent extent} of the layer or `undefined` if it
   * will be visible regardless of extent.
   * @return {import("../extent.js").Extent|undefined} The layer extent.
   * @observable
   * @api
   */
  getExtent() {
    return /** @type {import("../extent.js").Extent|undefined} */ (
      this.get(layer_Property.EXTENT)
    );
  }

  /**
   * Return the maximum resolution of the layer. Returns Infinity if
   * the layer has no maximum resolution set.
   * @return {number} The maximum resolution of the layer.
   * @observable
   * @api
   */
  getMaxResolution() {
    return /** @type {number} */ (this.get(layer_Property.MAX_RESOLUTION));
  }

  /**
   * Return the minimum resolution of the layer. Returns 0 if
   * the layer has no minimum resolution set.
   * @return {number} The minimum resolution of the layer.
   * @observable
   * @api
   */
  getMinResolution() {
    return /** @type {number} */ (this.get(layer_Property.MIN_RESOLUTION));
  }

  /**
   * Return the minimum zoom level of the layer. Returns -Infinity if
   * the layer has no minimum zoom set.
   * @return {number} The minimum zoom level of the layer.
   * @observable
   * @api
   */
  getMinZoom() {
    return /** @type {number} */ (this.get(layer_Property.MIN_ZOOM));
  }

  /**
   * Return the maximum zoom level of the layer. Returns Infinity if
   * the layer has no maximum zoom set.
   * @return {number} The maximum zoom level of the layer.
   * @observable
   * @api
   */
  getMaxZoom() {
    return /** @type {number} */ (this.get(layer_Property.MAX_ZOOM));
  }

  /**
   * Return the opacity of the layer (between 0 and 1).
   * @return {number} The opacity of the layer.
   * @observable
   * @api
   */
  getOpacity() {
    return /** @type {number} */ (this.get(layer_Property.OPACITY));
  }

  /**
   * @abstract
   * @return {import("../source/Source.js").State} Source state.
   */
  getSourceState() {
    return util_abstract();
  }

  /**
   * Return the value of this layer's `visible` property. To find out whether the layer
   * is visible on a map, use `isVisible()` instead.
   * @return {boolean} The value of the `visible` property of the layer.
   * @observable
   * @api
   */
  getVisible() {
    return /** @type {boolean} */ (this.get(layer_Property.VISIBLE));
  }

  /**
   * Return the Z-index of the layer, which is used to order layers before
   * rendering. Returns undefined if the layer is unmanaged.
   * @return {number|undefined} The Z-index of the layer.
   * @observable
   * @api
   */
  getZIndex() {
    return /** @type {number|undefined} */ (this.get(layer_Property.Z_INDEX));
  }

  /**
   * Sets the background color.
   * @param {BackgroundColor} [background] Background color.
   */
  setBackground(background) {
    this.background_ = background;
    this.changed();
  }

  /**
   * Set the extent at which the layer is visible.  If `undefined`, the layer
   * will be visible at all extents.
   * @param {import("../extent.js").Extent|undefined} extent The extent of the layer.
   * @observable
   * @api
   */
  setExtent(extent) {
    this.set(layer_Property.EXTENT, extent);
  }

  /**
   * Set the maximum resolution at which the layer is visible.
   * @param {number} maxResolution The maximum resolution of the layer.
   * @observable
   * @api
   */
  setMaxResolution(maxResolution) {
    this.set(layer_Property.MAX_RESOLUTION, maxResolution);
  }

  /**
   * Set the minimum resolution at which the layer is visible.
   * @param {number} minResolution The minimum resolution of the layer.
   * @observable
   * @api
   */
  setMinResolution(minResolution) {
    this.set(layer_Property.MIN_RESOLUTION, minResolution);
  }

  /**
   * Set the maximum zoom (exclusive) at which the layer is visible.
   * Note that the zoom levels for layer visibility are based on the
   * view zoom level, which may be different from a tile source zoom level.
   * @param {number} maxZoom The maximum zoom of the layer.
   * @observable
   * @api
   */
  setMaxZoom(maxZoom) {
    this.set(layer_Property.MAX_ZOOM, maxZoom);
  }

  /**
   * Set the minimum zoom (inclusive) at which the layer is visible.
   * Note that the zoom levels for layer visibility are based on the
   * view zoom level, which may be different from a tile source zoom level.
   * @param {number} minZoom The minimum zoom of the layer.
   * @observable
   * @api
   */
  setMinZoom(minZoom) {
    this.set(layer_Property.MIN_ZOOM, minZoom);
  }

  /**
   * Set the opacity of the layer, allowed values range from 0 to 1.
   * @param {number} opacity The opacity of the layer.
   * @observable
   * @api
   */
  setOpacity(opacity) {
    assert(typeof opacity === 'number', 'Layer opacity must be a number');
    this.set(layer_Property.OPACITY, opacity);
  }

  /**
   * Set the visibility of the layer (`true` or `false`).
   * @param {boolean} visible The visibility of the layer.
   * @observable
   * @api
   */
  setVisible(visible) {
    this.set(layer_Property.VISIBLE, visible);
  }

  /**
   * Set Z-index of the layer, which is used to order layers before rendering.
   * The default Z-index is 0.
   * @param {number} zindex The z-index of the layer.
   * @observable
   * @api
   */
  setZIndex(zindex) {
    this.set(layer_Property.Z_INDEX, zindex);
  }

  /**
   * Clean up.
   * @override
   */
  disposeInternal() {
    if (this.state_) {
      this.state_.layer = null;
      this.state_ = null;
    }
    super.disposeInternal();
  }
}

/* harmony default export */ const Base = (BaseLayer);

;// CONCATENATED MODULE: ./node_modules/ol/layer/Group.js
/**
 * @module ol/layer/Group
 */












/**
 * @typedef {'addlayer'|'removelayer'} GroupEventType
 */

/**
 * @classdesc
 * A layer group triggers 'addlayer' and 'removelayer' events when layers are added to or removed from
 * the group or one of its child groups.  When a layer group is added to or removed from another layer group,
 * a single event will be triggered (instead of one per layer in the group added or removed).
 */
class GroupEvent extends Event {
  /**
   * @param {GroupEventType} type The event type.
   * @param {BaseLayer} layer The layer.
   */
  constructor(type, layer) {
    super(type);

    /**
     * The added or removed layer.
     * @type {BaseLayer}
     * @api
     */
    this.layer = layer;
  }
}

/***
 * @template Return
 * @typedef {import("../Observable").OnSignature<import("../Observable").EventTypes, import("../events/Event.js").default, Return> &
 *   import("../Observable").OnSignature<import("./Base").BaseLayerObjectEventTypes|
 *     'change:layers', import("../Object").ObjectEvent, Return> &
 *   import("../Observable").CombinedOnSignature<import("../Observable").EventTypes|import("./Base").BaseLayerObjectEventTypes|'change:layers', Return>} GroupOnSignature
 */

/**
 * @typedef {Object} Options
 * @property {number} [opacity=1] Opacity (0, 1).
 * @property {boolean} [visible=true] Visibility.
 * @property {import("../extent.js").Extent} [extent] The bounding extent for layer rendering.  The layer will not be
 * rendered outside of this extent.
 * @property {number} [zIndex] The z-index for layer rendering.  At rendering time, the layers
 * will be ordered, first by Z-index and then by position. When `undefined`, a `zIndex` of 0 is assumed
 * for layers that are added to the map's `layers` collection, or `Infinity` when the layer's `setMap()`
 * method was used.
 * @property {number} [minResolution] The minimum resolution (inclusive) at which this layer will be
 * visible.
 * @property {number} [maxResolution] The maximum resolution (exclusive) below which this layer will
 * be visible.
 * @property {number} [minZoom] The minimum view zoom level (exclusive) above which this layer will be
 * visible.
 * @property {number} [maxZoom] The maximum view zoom level (inclusive) at which this layer will
 * be visible.
 * @property {Array<import("./Base.js").default>|Collection<import("./Base.js").default>} [layers] Child layers.
 * @property {Object<string, *>} [properties] Arbitrary observable properties. Can be accessed with `#get()` and `#set()`.
 */

/**
 * @enum {string}
 * @private
 */
const Group_Property = {
  LAYERS: 'layers',
};

/**
 * @classdesc
 * A {@link module:ol/Collection~Collection} of layers that are handled together.
 *
 * A generic `change` event is triggered when the group/Collection changes.
 *
 * @api
 */
class LayerGroup extends Base {
  /**
   * @param {Options} [options] Layer options.
   */
  constructor(options) {
    options = options || {};
    const baseOptions = /** @type {Options} */ (Object.assign({}, options));
    delete baseOptions.layers;

    let layers = options.layers;

    super(baseOptions);

    /***
     * @type {GroupOnSignature<import("../events").EventsKey>}
     */
    this.on;

    /***
     * @type {GroupOnSignature<import("../events").EventsKey>}
     */
    this.once;

    /***
     * @type {GroupOnSignature<void>}
     */
    this.un;

    /**
     * @private
     * @type {Array<import("../events.js").EventsKey>}
     */
    this.layersListenerKeys_ = [];

    /**
     * @private
     * @type {Object<string, Array<import("../events.js").EventsKey>>}
     */
    this.listenerKeys_ = {};

    this.addChangeListener(Group_Property.LAYERS, this.handleLayersChanged_);

    if (layers) {
      if (Array.isArray(layers)) {
        layers = new ol_Collection(layers.slice(), {unique: true});
      } else {
        assert(
          typeof (/** @type {?} */ (layers).getArray) === 'function',
          'Expected `layers` to be an array or a `Collection`',
        );
      }
    } else {
      layers = new ol_Collection(undefined, {unique: true});
    }

    this.setLayers(layers);
  }

  /**
   * @private
   */
  handleLayerChange_() {
    this.changed();
  }

  /**
   * @private
   */
  handleLayersChanged_() {
    this.layersListenerKeys_.forEach(unlistenByKey);
    this.layersListenerKeys_.length = 0;

    const layers = this.getLayers();
    this.layersListenerKeys_.push(
      events_listen(layers, CollectionEventType.ADD, this.handleLayersAdd_, this),
      events_listen(
        layers,
        CollectionEventType.REMOVE,
        this.handleLayersRemove_,
        this,
      ),
    );

    for (const id in this.listenerKeys_) {
      this.listenerKeys_[id].forEach(unlistenByKey);
    }
    clear(this.listenerKeys_);

    const layersArray = layers.getArray();
    for (let i = 0, ii = layersArray.length; i < ii; i++) {
      const layer = layersArray[i];
      this.registerLayerListeners_(layer);
      this.dispatchEvent(new GroupEvent('addlayer', layer));
    }
    this.changed();
  }

  /**
   * @param {BaseLayer} layer The layer.
   */
  registerLayerListeners_(layer) {
    const listenerKeys = [
      events_listen(
        layer,
        ObjectEventType.PROPERTYCHANGE,
        this.handleLayerChange_,
        this,
      ),
      events_listen(layer, events_EventType.CHANGE, this.handleLayerChange_, this),
    ];

    if (layer instanceof LayerGroup) {
      listenerKeys.push(
        events_listen(layer, 'addlayer', this.handleLayerGroupAdd_, this),
        events_listen(layer, 'removelayer', this.handleLayerGroupRemove_, this),
      );
    }

    this.listenerKeys_[getUid(layer)] = listenerKeys;
  }

  /**
   * @param {GroupEvent} event The layer group event.
   */
  handleLayerGroupAdd_(event) {
    this.dispatchEvent(new GroupEvent('addlayer', event.layer));
  }

  /**
   * @param {GroupEvent} event The layer group event.
   */
  handleLayerGroupRemove_(event) {
    this.dispatchEvent(new GroupEvent('removelayer', event.layer));
  }

  /**
   * @param {import("../Collection.js").CollectionEvent<import("./Base.js").default>} collectionEvent CollectionEvent.
   * @private
   */
  handleLayersAdd_(collectionEvent) {
    const layer = collectionEvent.element;
    this.registerLayerListeners_(layer);
    this.dispatchEvent(new GroupEvent('addlayer', layer));
    this.changed();
  }

  /**
   * @param {import("../Collection.js").CollectionEvent<import("./Base.js").default>} collectionEvent CollectionEvent.
   * @private
   */
  handleLayersRemove_(collectionEvent) {
    const layer = collectionEvent.element;
    const key = getUid(layer);
    this.listenerKeys_[key].forEach(unlistenByKey);
    delete this.listenerKeys_[key];
    this.dispatchEvent(new GroupEvent('removelayer', layer));
    this.changed();
  }

  /**
   * Returns the {@link module:ol/Collection~Collection collection} of {@link module:ol/layer/Layer~Layer layers}
   * in this group.
   * @return {!Collection<import("./Base.js").default>} Collection of
   *   {@link module:ol/layer/Base~BaseLayer layers} that are part of this group.
   * @observable
   * @api
   */
  getLayers() {
    return /** @type {!Collection<import("./Base.js").default>} */ (
      this.get(Group_Property.LAYERS)
    );
  }

  /**
   * Set the {@link module:ol/Collection~Collection collection} of {@link module:ol/layer/Layer~Layer layers}
   * in this group.
   * @param {!Collection<import("./Base.js").default>} layers Collection of
   *   {@link module:ol/layer/Base~BaseLayer layers} that are part of this group.
   * @observable
   * @api
   */
  setLayers(layers) {
    const collection = this.getLayers();
    if (collection) {
      const currentLayers = collection.getArray();
      for (let i = 0, ii = currentLayers.length; i < ii; ++i) {
        this.dispatchEvent(new GroupEvent('removelayer', currentLayers[i]));
      }
    }

    this.set(Group_Property.LAYERS, layers);
  }

  /**
   * @param {Array<import("./Layer.js").default>} [array] Array of layers (to be modified in place).
   * @return {Array<import("./Layer.js").default>} Array of layers.
   * @override
   */
  getLayersArray(array) {
    array = array !== undefined ? array : [];
    this.getLayers().forEach(function (layer) {
      layer.getLayersArray(array);
    });
    return array;
  }

  /**
   * Get the layer states list and use this groups z-index as the default
   * for all layers in this and nested groups, if it is unset at this point.
   * If dest is not provided and this group's z-index is undefined
   * 0 is used a the default z-index.
   * @param {Array<import("./Layer.js").State>} [dest] Optional list
   * of layer states (to be modified in place).
   * @return {Array<import("./Layer.js").State>} List of layer states.
   * @override
   */
  getLayerStatesArray(dest) {
    const states = dest !== undefined ? dest : [];
    const pos = states.length;

    this.getLayers().forEach(function (layer) {
      layer.getLayerStatesArray(states);
    });

    const ownLayerState = this.getLayerState();
    let defaultZIndex = ownLayerState.zIndex;
    if (!dest && ownLayerState.zIndex === undefined) {
      defaultZIndex = 0;
    }
    for (let i = pos, ii = states.length; i < ii; i++) {
      const layerState = states[i];
      layerState.opacity *= ownLayerState.opacity;
      layerState.visible = layerState.visible && ownLayerState.visible;
      layerState.maxResolution = Math.min(
        layerState.maxResolution,
        ownLayerState.maxResolution,
      );
      layerState.minResolution = Math.max(
        layerState.minResolution,
        ownLayerState.minResolution,
      );
      layerState.minZoom = Math.max(layerState.minZoom, ownLayerState.minZoom);
      layerState.maxZoom = Math.min(layerState.maxZoom, ownLayerState.maxZoom);
      if (ownLayerState.extent !== undefined) {
        if (layerState.extent !== undefined) {
          layerState.extent = getIntersection(
            layerState.extent,
            ownLayerState.extent,
          );
        } else {
          layerState.extent = ownLayerState.extent;
        }
      }
      if (layerState.zIndex === undefined) {
        layerState.zIndex = defaultZIndex;
      }
    }

    return states;
  }

  /**
   * @return {import("../source/Source.js").State} Source state.
   * @override
   */
  getSourceState() {
    return 'ready';
  }
}

/* harmony default export */ const Group = (LayerGroup);

;// CONCATENATED MODULE: ./node_modules/ol/render/EventType.js
/**
 * @module ol/render/EventType
 */

/**
 * @enum {string}
 */
/* harmony default export */ const render_EventType = ({
  /**
   * Triggered before a layer is rendered.
   * @event module:ol/render/Event~RenderEvent#prerender
   * @api
   */
  PRERENDER: 'prerender',

  /**
   * Triggered after a layer is rendered.
   * @event module:ol/render/Event~RenderEvent#postrender
   * @api
   */
  POSTRENDER: 'postrender',

  /**
   * Triggered before layers are composed.  When dispatched by the map, the event object will not have
   * a `context` set.  When dispatched by a layer, the event object will have a `context` set.  Only
   * WebGL layers currently dispatch this event.
   * @event module:ol/render/Event~RenderEvent#precompose
   * @api
   */
  PRECOMPOSE: 'precompose',

  /**
   * Triggered after layers are composed.  When dispatched by the map, the event object will not have
   * a `context` set.  When dispatched by a layer, the event object will have a `context` set.  Only
   * WebGL layers currently dispatch this event.
   * @event module:ol/render/Event~RenderEvent#postcompose
   * @api
   */
  POSTCOMPOSE: 'postcompose',

  /**
   * Triggered when rendering is complete, i.e. all sources and tiles have
   * finished loading for the current viewport, and all tiles are faded in.
   * The event object will not have a `context` set.
   * @event module:ol/render/Event~RenderEvent#rendercomplete
   * @api
   */
  RENDERCOMPLETE: 'rendercomplete',
});

/**
 * @typedef {'postrender'|'precompose'|'postcompose'|'rendercomplete'} MapRenderEventTypes
 */

/**
 * @typedef {'postrender'|'prerender'} LayerRenderEventTypes
 */

;// CONCATENATED MODULE: ./node_modules/ol/layer/Layer.js
/**
 * @module ol/layer/Layer
 */









/**
 * @typedef {function(import("../Map.js").FrameState):HTMLElement} RenderFunction
 */

/**
 * @typedef {'sourceready'|'change:source'} LayerEventType
 */

/***
 * @template Return
 * @typedef {import("../Observable").OnSignature<import("../Observable").EventTypes, import("../events/Event.js").default, Return> &
 *   import("../Observable").OnSignature<import("./Base").BaseLayerObjectEventTypes|
 *     LayerEventType, import("../Object").ObjectEvent, Return> &
 *   import("../Observable").OnSignature<import("../render/EventType").LayerRenderEventTypes, import("../render/Event").default, Return> &
 *   import("../Observable").CombinedOnSignature<import("../Observable").EventTypes|import("./Base").BaseLayerObjectEventTypes|LayerEventType|
 *     import("../render/EventType").LayerRenderEventTypes, Return>} LayerOnSignature
 */

/**
 * @template {import("../source/Source.js").default} [SourceType=import("../source/Source.js").default]
 * @typedef {Object} Options
 * @property {string} [className='ol-layer'] A CSS class name to set to the layer element.
 * @property {number} [opacity=1] Opacity (0, 1).
 * @property {boolean} [visible=true] Visibility.
 * @property {import("../extent.js").Extent} [extent] The bounding extent for layer rendering.  The layer will not be
 * rendered outside of this extent.
 * @property {number} [zIndex] The z-index for layer rendering.  At rendering time, the layers
 * will be ordered, first by Z-index and then by position. When `undefined`, a `zIndex` of 0 is assumed
 * for layers that are added to the map's `layers` collection, or `Infinity` when the layer's `setMap()`
 * method was used.
 * @property {number} [minResolution] The minimum resolution (inclusive) at which this layer will be
 * visible.
 * @property {number} [maxResolution] The maximum resolution (exclusive) below which this layer will
 * be visible.
 * @property {number} [minZoom] The minimum view zoom level (exclusive) above which this layer will be
 * visible.
 * @property {number} [maxZoom] The maximum view zoom level (inclusive) at which this layer will
 * be visible.
 * @property {SourceType} [source] Source for this layer.  If not provided to the constructor,
 * the source can be set by calling {@link module:ol/layer/Layer~Layer#setSource layer.setSource(source)} after
 * construction.
 * @property {import("../Map.js").default|null} [map] Map.
 * @property {RenderFunction} [render] Render function. Takes the frame state as input and is expected to return an
 * HTML element. Will overwrite the default rendering for the layer.
 * @property {Object<string, *>} [properties] Arbitrary observable properties. Can be accessed with `#get()` and `#set()`.
 */

/**
 * @typedef {Object} State
 * @property {import("./Layer.js").default} layer Layer.
 * @property {number} opacity Opacity, the value is rounded to two digits to appear after the decimal point.
 * @property {boolean} visible Visible.
 * @property {boolean} managed Managed.
 * @property {import("../extent.js").Extent} [extent] Extent.
 * @property {number} zIndex ZIndex.
 * @property {number} maxResolution Maximum resolution.
 * @property {number} minResolution Minimum resolution.
 * @property {number} minZoom Minimum zoom.
 * @property {number} maxZoom Maximum zoom.
 */

/**
 * @classdesc
 * Base class from which all layer types are derived. This should only be instantiated
 * in the case where a custom layer is added to the map with a custom `render` function.
 * Such a function can be specified in the `options` object, and is expected to return an HTML element.
 *
 * A visual representation of raster or vector map data.
 * Layers group together those properties that pertain to how the data is to be
 * displayed, irrespective of the source of that data.
 *
 * Layers are usually added to a map with [map.addLayer()]{@link import("../Map.js").default#addLayer}.
 * Components like {@link module:ol/interaction/Draw~Draw} use unmanaged layers
 * internally. These unmanaged layers are associated with the map using
 * [layer.setMap()]{@link module:ol/layer/Layer~Layer#setMap} instead.
 *
 * A generic `change` event is fired when the state of the source changes.
 * A `sourceready` event is fired when the layer's source is ready.
 *
 * @fires import("../render/Event.js").RenderEvent#prerender
 * @fires import("../render/Event.js").RenderEvent#postrender
 * @fires import("../events/Event.js").BaseEvent#sourceready
 *
 * @template {import("../source/Source.js").default} [SourceType=import("../source/Source.js").default]
 * @template {import("../renderer/Layer.js").default} [RendererType=import("../renderer/Layer.js").default]
 * @api
 */
class Layer extends Base {
  /**
   * @param {Options<SourceType>} options Layer options.
   */
  constructor(options) {
    const baseOptions = Object.assign({}, options);
    delete baseOptions.source;

    super(baseOptions);

    /***
     * @type {LayerOnSignature<import("../events").EventsKey>}
     */
    this.on;

    /***
     * @type {LayerOnSignature<import("../events").EventsKey>}
     */
    this.once;

    /***
     * @type {LayerOnSignature<void>}
     */
    this.un;

    /**
     * @private
     * @type {?import("../events.js").EventsKey}
     */
    this.mapPrecomposeKey_ = null;

    /**
     * @private
     * @type {?import("../events.js").EventsKey}
     */
    this.mapRenderKey_ = null;

    /**
     * @private
     * @type {?import("../events.js").EventsKey}
     */
    this.sourceChangeKey_ = null;

    /**
     * @private
     * @type {RendererType}
     */
    this.renderer_ = null;

    /**
     * @private
     * @type {boolean}
     */
    this.sourceReady_ = false;

    /**
     * @protected
     * @type {boolean}
     */
    this.rendered = false;

    // Overwrite default render method with a custom one
    if (options.render) {
      this.render = options.render;
    }

    if (options.map) {
      this.setMap(options.map);
    }

    this.addChangeListener(
      layer_Property.SOURCE,
      this.handleSourcePropertyChange_,
    );

    const source = options.source
      ? /** @type {SourceType} */ (options.source)
      : null;
    this.setSource(source);
  }

  /**
   * @param {Array<import("./Layer.js").default>} [array] Array of layers (to be modified in place).
   * @return {Array<import("./Layer.js").default>} Array of layers.
   * @override
   */
  getLayersArray(array) {
    array = array ? array : [];
    array.push(this);
    return array;
  }

  /**
   * @param {Array<import("./Layer.js").State>} [states] Optional list of layer states (to be modified in place).
   * @return {Array<import("./Layer.js").State>} List of layer states.
   * @override
   */
  getLayerStatesArray(states) {
    states = states ? states : [];
    states.push(this.getLayerState());
    return states;
  }

  /**
   * Get the layer source.
   * @return {SourceType|null} The layer source (or `null` if not yet set).
   * @observable
   * @api
   */
  getSource() {
    return /** @type {SourceType} */ (this.get(layer_Property.SOURCE)) || null;
  }

  /**
   * @return {SourceType|null} The source being rendered.
   */
  getRenderSource() {
    return this.getSource();
  }

  /**
   * @return {import("../source/Source.js").State} Source state.
   * @override
   */
  getSourceState() {
    const source = this.getSource();
    return !source ? 'undefined' : source.getState();
  }

  /**
   * @private
   */
  handleSourceChange_() {
    this.changed();
    if (this.sourceReady_ || this.getSource().getState() !== 'ready') {
      return;
    }
    this.sourceReady_ = true;
    this.dispatchEvent('sourceready');
  }

  /**
   * @private
   */
  handleSourcePropertyChange_() {
    if (this.sourceChangeKey_) {
      unlistenByKey(this.sourceChangeKey_);
      this.sourceChangeKey_ = null;
    }
    this.sourceReady_ = false;
    const source = this.getSource();
    if (source) {
      this.sourceChangeKey_ = events_listen(
        source,
        events_EventType.CHANGE,
        this.handleSourceChange_,
        this,
      );
      if (source.getState() === 'ready') {
        this.sourceReady_ = true;
        setTimeout(() => {
          this.dispatchEvent('sourceready');
        }, 0);
      }
      this.clearRenderer();
    }
    this.changed();
  }

  /**
   * @param {import("../pixel").Pixel} pixel Pixel.
   * @return {Promise<Array<import("../Feature").FeatureLike>>} Promise that resolves with
   * an array of features.
   */
  getFeatures(pixel) {
    if (!this.renderer_) {
      return Promise.resolve([]);
    }
    return this.renderer_.getFeatures(pixel);
  }

  /**
   * @param {import("../pixel").Pixel} pixel Pixel.
   * @return {Uint8ClampedArray|Uint8Array|Float32Array|DataView|null} Pixel data.
   */
  getData(pixel) {
    if (!this.renderer_ || !this.rendered) {
      return null;
    }
    return this.renderer_.getData(pixel);
  }

  /**
   * The layer is visible on the map view, i.e. within its min/max resolution or zoom and
   * extent, not set to `visible: false`, and not inside a layer group that is set
   * to `visible: false`.
   * @param {View|import("../View.js").ViewStateLayerStateExtent} [view] View or {@link import("../Map.js").FrameState}.
   * Only required when the layer is not added to a map.
   * @return {boolean} The layer is visible in the map view.
   * @api
   */
  isVisible(view) {
    let frameState;
    const map = this.getMapInternal();
    if (!view && map) {
      view = map.getView();
    }
    if (view instanceof ol_View) {
      frameState = {
        viewState: view.getState(),
        extent: view.calculateExtent(),
      };
    } else {
      frameState = view;
    }
    if (!frameState.layerStatesArray && map) {
      frameState.layerStatesArray = map.getLayerGroup().getLayerStatesArray();
    }
    let layerState;
    if (frameState.layerStatesArray) {
      layerState = frameState.layerStatesArray.find(
        (layerState) => layerState.layer === this,
      );
      if (!layerState) {
        return false;
      }
    } else {
      layerState = this.getLayerState();
    }

    const layerExtent = this.getExtent();

    return (
      inView(layerState, frameState.viewState) &&
      (!layerExtent || intersects(layerExtent, frameState.extent))
    );
  }

  /**
   * Get the attributions of the source of this layer for the given view.
   * @param {View|import("../View.js").ViewStateLayerStateExtent} [view] View or {@link import("../Map.js").FrameState}.
   * Only required when the layer is not added to a map.
   * @return {Array<string>} Attributions for this layer at the given view.
   * @api
   */
  getAttributions(view) {
    if (!this.isVisible(view)) {
      return [];
    }
    const getAttributions = this.getSource()?.getAttributions();
    if (!getAttributions) {
      return [];
    }
    const frameState =
      view instanceof ol_View ? view.getViewStateAndExtent() : view;
    let attributions = getAttributions(frameState);
    if (!Array.isArray(attributions)) {
      attributions = [attributions];
    }
    return attributions;
  }

  /**
   * In charge to manage the rendering of the layer. One layer type is
   * bounded with one layer renderer.
   * @param {?import("../Map.js").FrameState} frameState Frame state.
   * @param {HTMLElement} target Target which the renderer may (but need not) use
   * for rendering its content.
   * @return {HTMLElement|null} The rendered element.
   */
  render(frameState, target) {
    const layerRenderer = this.getRenderer();

    if (layerRenderer.prepareFrame(frameState)) {
      this.rendered = true;
      return layerRenderer.renderFrame(frameState, target);
    }
    return null;
  }

  /**
   * Called when a layer is not visible during a map render.
   */
  unrender() {
    this.rendered = false;
  }

  /** @return {string} Declutter */
  getDeclutter() {
    return undefined;
  }

  /**
   * @param {import("../Map.js").FrameState} frameState Frame state.
   * @param {import("../layer/Layer.js").State} layerState Layer state.
   */
  renderDeclutter(frameState, layerState) {}

  /**
   * When the renderer follows a layout -> render approach, do the final rendering here.
   * @param {import('../Map.js').FrameState} frameState Frame state
   */
  renderDeferred(frameState) {
    const layerRenderer = this.getRenderer();
    if (!layerRenderer) {
      return;
    }
    layerRenderer.renderDeferred(frameState);
  }

  /**
   * For use inside the library only.
   * @param {import("../Map.js").default|null} map Map.
   */
  setMapInternal(map) {
    if (!map) {
      this.unrender();
    }
    this.set(layer_Property.MAP, map);
  }

  /**
   * For use inside the library only.
   * @return {import("../Map.js").default|null} Map.
   */
  getMapInternal() {
    return this.get(layer_Property.MAP);
  }

  /**
   * Sets the layer to be rendered on top of other layers on a map. The map will
   * not manage this layer in its layers collection. This
   * is useful for temporary layers. To remove an unmanaged layer from the map,
   * use `#setMap(null)`.
   *
   * To add the layer to a map and have it managed by the map, use
   * {@link module:ol/Map~Map#addLayer} instead.
   * @param {import("../Map.js").default|null} map Map.
   * @api
   */
  setMap(map) {
    if (this.mapPrecomposeKey_) {
      unlistenByKey(this.mapPrecomposeKey_);
      this.mapPrecomposeKey_ = null;
    }
    if (!map) {
      this.changed();
    }
    if (this.mapRenderKey_) {
      unlistenByKey(this.mapRenderKey_);
      this.mapRenderKey_ = null;
    }
    if (map) {
      this.mapPrecomposeKey_ = events_listen(
        map,
        render_EventType.PRECOMPOSE,
        this.handlePrecompose_,
        this,
      );
      this.mapRenderKey_ = events_listen(this, events_EventType.CHANGE, map.render, map);
      this.changed();
    }
  }

  /**
   * @param {import("../events/Event.js").default} renderEvent Render event
   * @private
   */
  handlePrecompose_(renderEvent) {
    const layerStatesArray =
      /** @type {import("../render/Event.js").default} */ (renderEvent)
        .frameState.layerStatesArray;
    const layerState = this.getLayerState(false);
    assert(
      !layerStatesArray.some(
        (arrayLayerState) => arrayLayerState.layer === layerState.layer,
      ),
      'A layer can only be added to the map once. Use either `layer.setMap()` or `map.addLayer()`, not both.',
    );
    layerStatesArray.push(layerState);
  }

  /**
   * Set the layer source.
   * @param {SourceType|null} source The layer source.
   * @observable
   * @api
   */
  setSource(source) {
    this.set(layer_Property.SOURCE, source);
  }

  /**
   * Get the renderer for this layer.
   * @return {RendererType|null} The layer renderer.
   */
  getRenderer() {
    if (!this.renderer_) {
      this.renderer_ = this.createRenderer();
    }
    return this.renderer_;
  }

  /**
   * @return {boolean} The layer has a renderer.
   */
  hasRenderer() {
    return !!this.renderer_;
  }

  /**
   * Create a renderer for this layer.
   * @return {RendererType} A layer renderer.
   * @protected
   */
  createRenderer() {
    return null;
  }

  /**
   * This will clear the renderer so that a new one can be created next time it is needed
   */
  clearRenderer() {
    if (this.renderer_) {
      this.renderer_.dispose();
      delete this.renderer_;
    }
  }

  /**
   * Clean up.
   * @override
   */
  disposeInternal() {
    this.clearRenderer();
    this.setSource(null);
    super.disposeInternal();
  }
}

/**
 * Return `true` if the layer is visible and if the provided view state
 * has resolution and zoom levels that are in range of the layer's min/max.
 * @param {State} layerState Layer state.
 * @param {import("../View.js").State} viewState View state.
 * @return {boolean} The layer is visible at the given view state.
 */
function inView(layerState, viewState) {
  if (!layerState.visible) {
    return false;
  }
  const resolution = viewState.resolution;
  if (
    resolution < layerState.minResolution ||
    resolution >= layerState.maxResolution
  ) {
    return false;
  }
  const zoom = viewState.zoom;
  return zoom > layerState.minZoom && zoom <= layerState.maxZoom;
}

/* harmony default export */ const layer_Layer = (Layer);

;// CONCATENATED MODULE: ./node_modules/quickselect/index.js

/**
 * Rearranges items so that all items in the [left, k] are the smallest.
 * The k-th element will have the (k - left + 1)-th smallest value in [left, right].
 *
 * @template T
 * @param {T[]} arr the array to partially sort (in place)
 * @param {number} k middle index for partial sorting (as defined above)
 * @param {number} [left=0] left index of the range to sort
 * @param {number} [right=arr.length-1] right index
 * @param {(a: T, b: T) => number} [compare = (a, b) => a - b] compare function
 */
function quickselect(arr, k, left = 0, right = arr.length - 1, compare = defaultCompare) {

    while (right > left) {
        if (right - left > 600) {
            const n = right - left + 1;
            const m = k - left + 1;
            const z = Math.log(n);
            const s = 0.5 * Math.exp(2 * z / 3);
            const sd = 0.5 * Math.sqrt(z * s * (n - s) / n) * (m - n / 2 < 0 ? -1 : 1);
            const newLeft = Math.max(left, Math.floor(k - m * s / n + sd));
            const newRight = Math.min(right, Math.floor(k + (n - m) * s / n + sd));
            quickselect(arr, k, newLeft, newRight, compare);
        }

        const t = arr[k];
        let i = left;
        /** @type {number} */
        let j = right;

        swap(arr, left, k);
        if (compare(arr[right], t) > 0) swap(arr, left, right);

        while (i < j) {
            swap(arr, i, j);
            i++;
            j--;
            while (compare(arr[i], t) < 0) i++;
            while (compare(arr[j], t) > 0) j--;
        }

        if (compare(arr[left], t) === 0) swap(arr, left, j);
        else {
            j++;
            swap(arr, j, right);
        }

        if (j <= k) left = j + 1;
        if (k <= j) right = j - 1;
    }
}

/**
 * @template T
 * @param {T[]} arr
 * @param {number} i
 * @param {number} j
 */
function swap(arr, i, j) {
    const tmp = arr[i];
    arr[i] = arr[j];
    arr[j] = tmp;
}

/**
 * @template T
 * @param {T} a
 * @param {T} b
 * @returns {number}
 */
function defaultCompare(a, b) {
    return a < b ? -1 : a > b ? 1 : 0;
}

;// CONCATENATED MODULE: ./node_modules/rbush/index.js


class rbush_RBush {
    constructor(maxEntries = 9) {
        // max entries in a node is 9 by default; min node fill is 40% for best performance
        this._maxEntries = Math.max(4, maxEntries);
        this._minEntries = Math.max(2, Math.ceil(this._maxEntries * 0.4));
        this.clear();
    }

    all() {
        return this._all(this.data, []);
    }

    search(bbox) {
        let node = this.data;
        const result = [];

        if (!rbush_intersects(bbox, node)) return result;

        const toBBox = this.toBBox;
        const nodesToSearch = [];

        while (node) {
            for (let i = 0; i < node.children.length; i++) {
                const child = node.children[i];
                const childBBox = node.leaf ? toBBox(child) : child;

                if (rbush_intersects(bbox, childBBox)) {
                    if (node.leaf) result.push(child);
                    else if (contains(bbox, childBBox)) this._all(child, result);
                    else nodesToSearch.push(child);
                }
            }
            node = nodesToSearch.pop();
        }

        return result;
    }

    collides(bbox) {
        let node = this.data;

        if (!rbush_intersects(bbox, node)) return false;

        const nodesToSearch = [];
        while (node) {
            for (let i = 0; i < node.children.length; i++) {
                const child = node.children[i];
                const childBBox = node.leaf ? this.toBBox(child) : child;

                if (rbush_intersects(bbox, childBBox)) {
                    if (node.leaf || contains(bbox, childBBox)) return true;
                    nodesToSearch.push(child);
                }
            }
            node = nodesToSearch.pop();
        }

        return false;
    }

    load(data) {
        if (!(data && data.length)) return this;

        if (data.length < this._minEntries) {
            for (let i = 0; i < data.length; i++) {
                this.insert(data[i]);
            }
            return this;
        }

        // recursively build the tree with the given data from scratch using OMT algorithm
        let node = this._build(data.slice(), 0, data.length - 1, 0);

        if (!this.data.children.length) {
            // save as is if tree is empty
            this.data = node;

        } else if (this.data.height === node.height) {
            // split root if trees have the same height
            this._splitRoot(this.data, node);

        } else {
            if (this.data.height < node.height) {
                // swap trees if inserted one is bigger
                const tmpNode = this.data;
                this.data = node;
                node = tmpNode;
            }

            // insert the small tree into the large tree at appropriate level
            this._insert(node, this.data.height - node.height - 1, true);
        }

        return this;
    }

    insert(item) {
        if (item) this._insert(item, this.data.height - 1);
        return this;
    }

    clear() {
        this.data = createNode([]);
        return this;
    }

    remove(item, equalsFn) {
        if (!item) return this;

        let node = this.data;
        const bbox = this.toBBox(item);
        const path = [];
        const indexes = [];
        let i, parent, goingUp;

        // depth-first iterative tree traversal
        while (node || path.length) {

            if (!node) { // go up
                node = path.pop();
                parent = path[path.length - 1];
                i = indexes.pop();
                goingUp = true;
            }

            if (node.leaf) { // check current node
                const index = findItem(item, node.children, equalsFn);

                if (index !== -1) {
                    // item found, remove the item and condense tree upwards
                    node.children.splice(index, 1);
                    path.push(node);
                    this._condense(path);
                    return this;
                }
            }

            if (!goingUp && !node.leaf && contains(node, bbox)) { // go down
                path.push(node);
                indexes.push(i);
                i = 0;
                parent = node;
                node = node.children[0];

            } else if (parent) { // go right
                i++;
                node = parent.children[i];
                goingUp = false;

            } else node = null; // nothing found
        }

        return this;
    }

    toBBox(item) { return item; }

    compareMinX(a, b) { return a.minX - b.minX; }
    compareMinY(a, b) { return a.minY - b.minY; }

    toJSON() { return this.data; }

    fromJSON(data) {
        this.data = data;
        return this;
    }

    _all(node, result) {
        const nodesToSearch = [];
        while (node) {
            if (node.leaf) result.push(...node.children);
            else nodesToSearch.push(...node.children);

            node = nodesToSearch.pop();
        }
        return result;
    }

    _build(items, left, right, height) {

        const N = right - left + 1;
        let M = this._maxEntries;
        let node;

        if (N <= M) {
            // reached leaf level; return leaf
            node = createNode(items.slice(left, right + 1));
            calcBBox(node, this.toBBox);
            return node;
        }

        if (!height) {
            // target height of the bulk-loaded tree
            height = Math.ceil(Math.log(N) / Math.log(M));

            // target number of root entries to maximize storage utilization
            M = Math.ceil(N / Math.pow(M, height - 1));
        }

        node = createNode([]);
        node.leaf = false;
        node.height = height;

        // split the items into M mostly square tiles

        const N2 = Math.ceil(N / M);
        const N1 = N2 * Math.ceil(Math.sqrt(M));

        multiSelect(items, left, right, N1, this.compareMinX);

        for (let i = left; i <= right; i += N1) {

            const right2 = Math.min(i + N1 - 1, right);

            multiSelect(items, i, right2, N2, this.compareMinY);

            for (let j = i; j <= right2; j += N2) {

                const right3 = Math.min(j + N2 - 1, right2);

                // pack each entry recursively
                node.children.push(this._build(items, j, right3, height - 1));
            }
        }

        calcBBox(node, this.toBBox);

        return node;
    }

    _chooseSubtree(bbox, node, level, path) {
        while (true) {
            path.push(node);

            if (node.leaf || path.length - 1 === level) break;

            let minArea = Infinity;
            let minEnlargement = Infinity;
            let targetNode;

            for (let i = 0; i < node.children.length; i++) {
                const child = node.children[i];
                const area = bboxArea(child);
                const enlargement = enlargedArea(bbox, child) - area;

                // choose entry with the least area enlargement
                if (enlargement < minEnlargement) {
                    minEnlargement = enlargement;
                    minArea = area < minArea ? area : minArea;
                    targetNode = child;

                } else if (enlargement === minEnlargement) {
                    // otherwise choose one with the smallest area
                    if (area < minArea) {
                        minArea = area;
                        targetNode = child;
                    }
                }
            }

            node = targetNode || node.children[0];
        }

        return node;
    }

    _insert(item, level, isNode) {
        const bbox = isNode ? item : this.toBBox(item);
        const insertPath = [];

        // find the best node for accommodating the item, saving all nodes along the path too
        const node = this._chooseSubtree(bbox, this.data, level, insertPath);

        // put the item into the node
        node.children.push(item);
        rbush_extend(node, bbox);

        // split on node overflow; propagate upwards if necessary
        while (level >= 0) {
            if (insertPath[level].children.length > this._maxEntries) {
                this._split(insertPath, level);
                level--;
            } else break;
        }

        // adjust bboxes along the insertion path
        this._adjustParentBBoxes(bbox, insertPath, level);
    }

    // split overflowed node into two
    _split(insertPath, level) {
        const node = insertPath[level];
        const M = node.children.length;
        const m = this._minEntries;

        this._chooseSplitAxis(node, m, M);

        const splitIndex = this._chooseSplitIndex(node, m, M);

        const newNode = createNode(node.children.splice(splitIndex, node.children.length - splitIndex));
        newNode.height = node.height;
        newNode.leaf = node.leaf;

        calcBBox(node, this.toBBox);
        calcBBox(newNode, this.toBBox);

        if (level) insertPath[level - 1].children.push(newNode);
        else this._splitRoot(node, newNode);
    }

    _splitRoot(node, newNode) {
        // split root node
        this.data = createNode([node, newNode]);
        this.data.height = node.height + 1;
        this.data.leaf = false;
        calcBBox(this.data, this.toBBox);
    }

    _chooseSplitIndex(node, m, M) {
        let index;
        let minOverlap = Infinity;
        let minArea = Infinity;

        for (let i = m; i <= M - m; i++) {
            const bbox1 = distBBox(node, 0, i, this.toBBox);
            const bbox2 = distBBox(node, i, M, this.toBBox);

            const overlap = intersectionArea(bbox1, bbox2);
            const area = bboxArea(bbox1) + bboxArea(bbox2);

            // choose distribution with minimum overlap
            if (overlap < minOverlap) {
                minOverlap = overlap;
                index = i;

                minArea = area < minArea ? area : minArea;

            } else if (overlap === minOverlap) {
                // otherwise choose distribution with minimum area
                if (area < minArea) {
                    minArea = area;
                    index = i;
                }
            }
        }

        return index || M - m;
    }

    // sorts node children by the best axis for split
    _chooseSplitAxis(node, m, M) {
        const compareMinX = node.leaf ? this.compareMinX : compareNodeMinX;
        const compareMinY = node.leaf ? this.compareMinY : compareNodeMinY;
        const xMargin = this._allDistMargin(node, m, M, compareMinX);
        const yMargin = this._allDistMargin(node, m, M, compareMinY);

        // if total distributions margin value is minimal for x, sort by minX,
        // otherwise it's already sorted by minY
        if (xMargin < yMargin) node.children.sort(compareMinX);
    }

    // total margin of all possible split distributions where each node is at least m full
    _allDistMargin(node, m, M, compare) {
        node.children.sort(compare);

        const toBBox = this.toBBox;
        const leftBBox = distBBox(node, 0, m, toBBox);
        const rightBBox = distBBox(node, M - m, M, toBBox);
        let margin = bboxMargin(leftBBox) + bboxMargin(rightBBox);

        for (let i = m; i < M - m; i++) {
            const child = node.children[i];
            rbush_extend(leftBBox, node.leaf ? toBBox(child) : child);
            margin += bboxMargin(leftBBox);
        }

        for (let i = M - m - 1; i >= m; i--) {
            const child = node.children[i];
            rbush_extend(rightBBox, node.leaf ? toBBox(child) : child);
            margin += bboxMargin(rightBBox);
        }

        return margin;
    }

    _adjustParentBBoxes(bbox, path, level) {
        // adjust bboxes along the given tree path
        for (let i = level; i >= 0; i--) {
            rbush_extend(path[i], bbox);
        }
    }

    _condense(path) {
        // go through the path, removing empty nodes and updating bboxes
        for (let i = path.length - 1, siblings; i >= 0; i--) {
            if (path[i].children.length === 0) {
                if (i > 0) {
                    siblings = path[i - 1].children;
                    siblings.splice(siblings.indexOf(path[i]), 1);

                } else this.clear();

            } else calcBBox(path[i], this.toBBox);
        }
    }
}

function findItem(item, items, equalsFn) {
    if (!equalsFn) return items.indexOf(item);

    for (let i = 0; i < items.length; i++) {
        if (equalsFn(item, items[i])) return i;
    }
    return -1;
}

// calculate node's bbox from bboxes of its children
function calcBBox(node, toBBox) {
    distBBox(node, 0, node.children.length, toBBox, node);
}

// min bounding rectangle of node children from k to p-1
function distBBox(node, k, p, toBBox, destNode) {
    if (!destNode) destNode = createNode(null);
    destNode.minX = Infinity;
    destNode.minY = Infinity;
    destNode.maxX = -Infinity;
    destNode.maxY = -Infinity;

    for (let i = k; i < p; i++) {
        const child = node.children[i];
        rbush_extend(destNode, node.leaf ? toBBox(child) : child);
    }

    return destNode;
}

function rbush_extend(a, b) {
    a.minX = Math.min(a.minX, b.minX);
    a.minY = Math.min(a.minY, b.minY);
    a.maxX = Math.max(a.maxX, b.maxX);
    a.maxY = Math.max(a.maxY, b.maxY);
    return a;
}

function compareNodeMinX(a, b) { return a.minX - b.minX; }
function compareNodeMinY(a, b) { return a.minY - b.minY; }

function bboxArea(a)   { return (a.maxX - a.minX) * (a.maxY - a.minY); }
function bboxMargin(a) { return (a.maxX - a.minX) + (a.maxY - a.minY); }

function enlargedArea(a, b) {
    return (Math.max(b.maxX, a.maxX) - Math.min(b.minX, a.minX)) *
           (Math.max(b.maxY, a.maxY) - Math.min(b.minY, a.minY));
}

function intersectionArea(a, b) {
    const minX = Math.max(a.minX, b.minX);
    const minY = Math.max(a.minY, b.minY);
    const maxX = Math.min(a.maxX, b.maxX);
    const maxY = Math.min(a.maxY, b.maxY);

    return Math.max(0, maxX - minX) *
           Math.max(0, maxY - minY);
}

function contains(a, b) {
    return a.minX <= b.minX &&
           a.minY <= b.minY &&
           b.maxX <= a.maxX &&
           b.maxY <= a.maxY;
}

function rbush_intersects(a, b) {
    return b.minX <= a.maxX &&
           b.minY <= a.maxY &&
           b.maxX >= a.minX &&
           b.maxY >= a.minY;
}

function createNode(children) {
    return {
        children,
        height: 1,
        leaf: true,
        minX: Infinity,
        minY: Infinity,
        maxX: -Infinity,
        maxY: -Infinity
    };
}

// sort an array so that items come in groups of n unsorted items, with groups sorted between each other;
// combines selection algorithm with binary divide & conquer approach

function multiSelect(arr, left, right, n, compare) {
    const stack = [left, right];

    while (stack.length) {
        right = stack.pop();
        left = stack.pop();

        if (right - left <= n) continue;

        const mid = left + Math.ceil((right - left) / n / 2) * n;
        quickselect(arr, mid, left, right, compare);

        stack.push(left, mid, mid, right);
    }
}

;// CONCATENATED MODULE: ./node_modules/ol/color.js
/**
 * @module ol/color
 */



/**
 * A color represented as a short array [red, green, blue, alpha].
 * red, green, and blue should be integers in the range 0..255 inclusive.
 * alpha should be a float in the range 0..1 inclusive. If no alpha value is
 * given then `1` will be used.
 * @typedef {Array<number>} Color
 * @api
 */

/**
 * Color to indicate that no color should be rendered. This is meant to be used for per-reference
 * comparisons only.
 * @type {Color}
 */
const NO_COLOR = [NaN, NaN, NaN, 0];

let colorParseContext;
/**
 * @return {CanvasRenderingContext2D} The color parse context
 */
function getColorParseContext() {
  if (!colorParseContext) {
    colorParseContext = dom_createCanvasContext2D(1, 1, undefined, {
      willReadFrequently: true,
      desynchronized: true,
    });
  }
  return colorParseContext;
}

const rgbModernRegEx =
  /^rgba?\(\s*(\d+%?)\s+(\d+%?)\s+(\d+%?)(?:\s*\/\s*(\d+%|\d*\.\d+|[01]))?\s*\)$/i;
const rgbLegacyAbsoluteRegEx =
  /^rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)(?:\s*,\s*(\d+%|\d*\.\d+|[01]))?\s*\)$/i;
const rgbLegacyPercentageRegEx =
  /^rgba?\(\s*(\d+%)\s*,\s*(\d+%)\s*,\s*(\d+%)(?:\s*,\s*(\d+%|\d*\.\d+|[01]))?\s*\)$/i;
const hexRegEx = /^#([\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$/i;

/**
 * @param {string} s Color component as number or percentage.
 * @param {number} divider Divider for percentage.
 * @return {number} Color component.
 */
function toColorComponent(s, divider) {
  return s.endsWith('%')
    ? Number(s.substring(0, s.length - 1)) / divider
    : Number(s);
}

/**
 * @param {string} color Color string.
 */
function throwInvalidColor(color) {
  throw new Error('failed to parse "' + color + '" as color');
}

/**
 * @param {string} color Color string.
 * @return {Color} RGBa color array.
 */
function parseRgba(color) {
  // Fast lane for rgb(a) colors
  if (color.toLowerCase().startsWith('rgb')) {
    const rgb =
      color.match(rgbLegacyAbsoluteRegEx) ||
      color.match(rgbModernRegEx) ||
      color.match(rgbLegacyPercentageRegEx);
    if (rgb) {
      const alpha = rgb[4];
      const rgbDivider = 100 / 255;
      return [
        math_clamp((toColorComponent(rgb[1], rgbDivider) + 0.5) | 0, 0, 255),
        math_clamp((toColorComponent(rgb[2], rgbDivider) + 0.5) | 0, 0, 255),
        math_clamp((toColorComponent(rgb[3], rgbDivider) + 0.5) | 0, 0, 255),
        alpha !== undefined ? math_clamp(toColorComponent(alpha, 100), 0, 1) : 1,
      ];
    }
    throwInvalidColor(color);
  }
  // Fast lane for hex colors (also with alpha)
  if (color.startsWith('#')) {
    if (hexRegEx.test(color)) {
      const hex = color.substring(1);
      const step = hex.length <= 4 ? 1 : 2;
      const colorFromHex = [0, 0, 0, 255];
      for (let i = 0, ii = hex.length; i < ii; i += step) {
        let colorComponent = parseInt(hex.substring(i, i + step), 16);
        if (step === 1) {
          colorComponent += colorComponent << 4;
        }
        colorFromHex[i / step] = colorComponent;
      }
      colorFromHex[3] = colorFromHex[3] / 255;
      return colorFromHex;
    }
    throwInvalidColor(color);
  }
  // Use canvas color serialization to parse the color into hex or rgba
  // See https://www.w3.org/TR/2021/SPSD-2dcontext-20210128/#serialization-of-a-color
  const context = getColorParseContext();
  context.fillStyle = '#abcdef';
  let invalidCheckFillStyle = context.fillStyle;
  context.fillStyle = color;
  if (context.fillStyle === invalidCheckFillStyle) {
    context.fillStyle = '#fedcba';
    invalidCheckFillStyle = context.fillStyle;
    context.fillStyle = color;
    if (context.fillStyle === invalidCheckFillStyle) {
      throwInvalidColor(color);
    }
  }
  const colorString = context.fillStyle;
  if (colorString.startsWith('#') || colorString.startsWith('rgba')) {
    return parseRgba(colorString);
  }
  context.clearRect(0, 0, 1, 1);
  context.fillRect(0, 0, 1, 1);
  const colorFromImage = Array.from(context.getImageData(0, 0, 1, 1).data);
  colorFromImage[3] = math_toFixed(colorFromImage[3] / 255, 3);
  return colorFromImage;
}

/**
 * Return the color as an rgba string.
 * @param {Color|string} color Color.
 * @return {string} Rgba string.
 * @api
 */
function asString(color) {
  if (typeof color === 'string') {
    return color;
  }
  return color_toString(color);
}

/**
 * @type {number}
 */
const MAX_CACHE_SIZE = 1024;

/**
 * We maintain a small cache of parsed strings.  Whenever the cache grows too large,
 * we delete an arbitrary set of the entries.
 *
 * @type {Object<string, Color>}
 */
const color_cache = {};

/**
 * @type {number}
 */
let cacheSize = 0;

/**
 * @param {Color} color A color that may or may not have an alpha channel.
 * @return {Color} The input color with an alpha channel.  If the input color has
 * an alpha channel, the input color will be returned unchanged.  Otherwise, a new
 * array will be returned with the input color and an alpha channel of 1.
 */
function withAlpha(color) {
  if (color.length === 4) {
    return color;
  }
  const output = color.slice();
  output[3] = 1;
  return output;
}

// The functions b1, b2, a1, a2, rgbaToLcha and lchaToRgba below are adapted from
// https://stackoverflow.com/a/67219995/2389327

/**
 * @param {number} v Input value.
 * @return {number} Output value.
 */
function b1(v) {
  return v > 0.0031308 ? Math.pow(v, 1 / 2.4) * 269.025 - 14.025 : v * 3294.6;
}

/**
 * @param {number} v Input value.
 * @return {number} Output value.
 */
function b2(v) {
  return v > 0.2068965 ? Math.pow(v, 3) : (v - 4 / 29) * (108 / 841);
}

/**
 * @param {number} v Input value.
 * @return {number} Output value.
 */
function a1(v) {
  return v > 10.314724 ? Math.pow((v + 14.025) / 269.025, 2.4) : v / 3294.6;
}

/**
 * @param {number} v Input value.
 * @return {number} Output value.
 */
function a2(v) {
  return v > 0.0088564 ? Math.pow(v, 1 / 3) : v / (108 / 841) + 4 / 29;
}

/**
 * @param {Color} color RGBA color.
 * @return {Color} LCHuv color with alpha.
 */
function rgbaToLcha(color) {
  const r = a1(color[0]);
  const g = a1(color[1]);
  const b = a1(color[2]);
  const y = a2(r * 0.222488403 + g * 0.716873169 + b * 0.06060791);
  const l = 500 * (a2(r * 0.452247074 + g * 0.399439023 + b * 0.148375274) - y);
  const q = 200 * (y - a2(r * 0.016863605 + g * 0.117638439 + b * 0.865350722));
  const h = Math.atan2(q, l) * (180 / Math.PI);
  return [
    116 * y - 16,
    Math.sqrt(l * l + q * q),
    h < 0 ? h + 360 : h,
    color[3],
  ];
}

/**
 * @param {Color} color LCHuv color with alpha.
 * @return {Color} RGBA color.
 */
function lchaToRgba(color) {
  const l = (color[0] + 16) / 116;
  const c = color[1];
  const h = (color[2] * Math.PI) / 180;
  const y = b2(l);
  const x = b2(l + (c / 500) * Math.cos(h));
  const z = b2(l - (c / 200) * Math.sin(h));
  const r = b1(x * 3.021973625 - y * 1.617392459 - z * 0.404875592);
  const g = b1(x * -0.943766287 + y * 1.916279586 + z * 0.027607165);
  const b = b1(x * 0.069407491 - y * 0.22898585 + z * 1.159737864);
  return [
    math_clamp((r + 0.5) | 0, 0, 255),
    math_clamp((g + 0.5) | 0, 0, 255),
    math_clamp((b + 0.5) | 0, 0, 255),
    color[3],
  ];
}

/**
 * @param {string} s String.
 * @return {Color} Color.
 */
function color_fromString(s) {
  if (s === 'none') {
    return NO_COLOR;
  }
  if (color_cache.hasOwnProperty(s)) {
    return color_cache[s];
  }
  if (cacheSize >= MAX_CACHE_SIZE) {
    let i = 0;
    for (const key in color_cache) {
      if ((i++ & 3) === 0) {
        delete color_cache[key];
        --cacheSize;
      }
    }
  }

  const color = parseRgba(s);
  if (color.length !== 4) {
    throwInvalidColor(s);
  }
  for (const c of color) {
    if (isNaN(c)) {
      throwInvalidColor(s);
    }
  }
  color_cache[s] = color;
  ++cacheSize;
  return color;
}

/**
 * Return the color as an array. This function maintains a cache of calculated
 * arrays which means the result should not be modified.
 * @param {Color|string} color Color.
 * @return {Color} Color.
 * @api
 */
function asArray(color) {
  if (Array.isArray(color)) {
    return color;
  }
  return color_fromString(color);
}

/**
 * @param {Color} color Color.
 * @return {string} String.
 */
function color_toString(color) {
  let r = color[0];
  if (r != (r | 0)) {
    r = (r + 0.5) | 0;
  }
  let g = color[1];
  if (g != (g | 0)) {
    g = (g + 0.5) | 0;
  }
  let b = color[2];
  if (b != (b | 0)) {
    b = (b + 0.5) | 0;
  }
  const a = color[3] === undefined ? 1 : Math.round(color[3] * 1000) / 1000;
  return 'rgba(' + r + ',' + g + ',' + b + ',' + a + ')';
}

/**
 * @param {string} s String.
 * @return {boolean} Whether the string is actually a valid color
 */
function isStringColor(s) {
  try {
    color_fromString(s);
    return true;
  } catch {
    return false;
  }
}

;// CONCATENATED MODULE: ./node_modules/ol/size.js
/**
 * @module ol/size
 */

/**
 * An array of numbers representing a size: `[width, height]`.
 * @typedef {Array<number>} Size
 * @api
 */

/**
 * Returns a buffered size.
 * @param {Size} size Size.
 * @param {number} num The amount by which to buffer.
 * @param {Size} [dest] Optional reusable size array.
 * @return {Size} The buffered size.
 */
function size_buffer(size, num, dest) {
  if (dest === undefined) {
    dest = [0, 0];
  }
  dest[0] = size[0] + 2 * num;
  dest[1] = size[1] + 2 * num;
  return dest;
}

/**
 * Determines if a size has a positive area.
 * @param {Size} size The size to test.
 * @return {boolean} The size has a positive area.
 */
function hasArea(size) {
  return size[0] > 0 && size[1] > 0;
}

/**
 * Returns a size scaled by a ratio. The result will be an array of integers.
 * @param {Size} size Size.
 * @param {number} ratio Ratio.
 * @param {Size} [dest] Optional reusable size array.
 * @return {Size} The scaled size.
 */
function size_scale(size, ratio, dest) {
  if (dest === undefined) {
    dest = [0, 0];
  }
  dest[0] = (size[0] * ratio + 0.5) | 0;
  dest[1] = (size[1] * ratio + 0.5) | 0;
  return dest;
}

/**
 * Returns an `Size` array for the passed in number (meaning: square) or
 * `Size` array.
 * (meaning: non-square),
 * @param {number|Size} size Width and height.
 * @param {Size} [dest] Optional reusable size array.
 * @return {Size} Size.
 * @api
 */
function toSize(size, dest) {
  if (Array.isArray(size)) {
    return size;
  }
  if (dest === undefined) {
    dest = [size, size];
  } else {
    dest[0] = size;
    dest[1] = size;
  }
  return dest;
}

;// CONCATENATED MODULE: ./node_modules/ol/expr/expression.js
/**
 * @module ol/expr/expression
 */




/**
 * @fileoverview This module includes types and functions for parsing array encoded expressions.
 * The result of parsing an encoded expression is one of the specific expression classes.
 * During parsing, information is added to the parsing context about the data accessed by the
 * expression.
 */

/**
 * Base type used for literal style parameters; can be a number literal or the output of an operator,
 * which in turns takes {@link import("./expression.js").ExpressionValue} arguments.
 *
 * See below for details on the available operators (with notes for those that are WebGL or Canvas only).
 *
 * Reading operators:
 *   `['band', bandIndex, xOffset, yOffset]` For tile layers only. Fetches pixel values from band
 *     `bandIndex` of the source's data. The first `bandIndex` of the source data is `1`. Fetched values
 *     are in the 0..1 range. {@link import("../source/TileImage.js").default} sources have 4 bands: red,
 *     green, blue and alpha. {@link import("../source/DataTile.js").default} sources can have any number
 *     of bands, depending on the underlying data source and
 *     {@link import("../source/GeoTIFF.js").Options configuration}. `xOffset` and `yOffset` are optional
 *     and allow specifying pixel offsets for x and y. This is used for sampling data from neighboring pixels (WebGL only).
 *   `['get', attributeName]` fetches a feature property value, similar to `feature.get('attributeName')`.
 *   `['get', attributeName, keyOrArrayIndex, ...]` (Canvas only) Access nested properties and array items of a
 *     feature property. The result is `undefined` when there is nothing at the specified key or index.
 *   `['geometry-type']` returns a feature's geometry type as string, either: 'LineString', 'Point' or 'Polygon'
 *     `Multi*` values are returned as their singular equivalent
 *     `Circle` geometries are returned as 'Polygon'
 *     `GeometryCollection` geometries are returned as the type of the first geometry found in the collection (WebGL only).
 *   `['resolution']` returns the current resolution
 *   `['time']` The time in seconds since the creation of the layer (WebGL only).
 *   `['var', 'varName']` fetches a value from the style variables; will throw an error if that variable is undefined
 *   `['zoom']` The current zoom level (WebGL only).
 *   `['line-metric']` returns the M component of the current point on a line (WebGL only); in case where the geometry layout of the line
 *      does not contain an M component (e.g. XY or XYZ), 0 is returned; 0 is also returned for geometries other than lines.
 *      Please note that the M component will be linearly interpolated between the two points composing a segment.
 *
 * Math operators:
 *   `['*', value1, value2, ...]` multiplies the values (either numbers or colors)
 *   `['/', value1, value2]` divides `value1` by `value2`
 *   `['+', value1, value2, ...]` adds the values
 *   `['-', value1, value2]` subtracts `value2` from `value1`
 *   `['clamp', value, low, high]` clamps `value` between `low` and `high`
 *   `['%', value1, value2]` returns the result of `value1 % value2` (modulo)
 *   `['^', value1, value2]` returns the value of `value1` raised to the `value2` power
 *   `['abs', value1]` returns the absolute value of `value1`
 *   `['floor', value1]` returns the nearest integer less than or equal to `value1`
 *   * `['round', value1]` returns the nearest integer to `value1`
 *   * `['ceil', value1]` returns the nearest integer greater than or equal to `value1`
 *   * `['sin', value1]` returns the sine of `value1`
 *   * `['cos', value1]` returns the cosine of `value1`
 *   * `['atan', value1, value2]` returns `atan2(value1, value2)`. If `value2` is not provided, returns `atan(value1)`
 *   * `['sqrt', value1]` returns the square root of `value1`
 *
 * * Transform operators:
 *   * `['case', condition1, output1, ...conditionN, outputN, fallback]` selects the first output whose corresponding
 *     condition evaluates to `true`. If no match is found, returns the `fallback` value.
 *     All conditions should be `boolean`, output and fallback can be any kind.
 *   * `['match', input, match1, output1, ...matchN, outputN, fallback]` compares the `input` value against all
 *     provided `matchX` values, returning the output associated with the first valid match. If no match is found,
 *     returns the `fallback` value.
 *     `input` and `matchX` values must all be of the same type, and can be `number` or `string`. `outputX` and
 *     `fallback` values must be of the same type, and can be of any kind.
 *   * `['interpolate', interpolation, input, stop1, output1, ...stopN, outputN]` returns a value by interpolating between
 *     pairs of inputs and outputs; `interpolation` can either be `['linear']` or `['exponential', base]` where `base` is
 *     the rate of increase from stop A to stop B (i.e. power to which the interpolation ratio is raised); a value
 *     of 1 is equivalent to `['linear']`.
 *     `input` and `stopX` values must all be of type `number`. `outputX` values can be `number` or `color` values.
 *     Note: `input` will be clamped between `stop1` and `stopN`, meaning that all output values will be comprised
 *     between `output1` and `outputN`.
 *   * `['string', value1, value2, ...]` returns the first value in the list that evaluates to a string.
 *     An example would be to provide a default value for get: `['string', ['get', 'propertyname'], 'default value']]`
 *     (Canvas only).
 *   * `['number', value1, value2, ...]` returns the first value in the list that evaluates to a number.
 *     An example would be to provide a default value for get: `['string', ['get', 'propertyname'], 42]]`
 *     (Canvas only).
 *   * `['coalesce', value1, value2, ...]` returns the first value in the list which is not null or undefined.
 *     An example would be to provide a default value for get: `['coalesce', ['get','propertyname'], 'default value']]`
 *     (Canvas only).
 *
 * * Logical operators:
 *   * `['<', value1, value2]` returns `true` if `value1` is strictly lower than `value2`, or `false` otherwise.
 *   * `['<=', value1, value2]` returns `true` if `value1` is lower than or equals `value2`, or `false` otherwise.
 *   * `['>', value1, value2]` returns `true` if `value1` is strictly greater than `value2`, or `false` otherwise.
 *   * `['>=', value1, value2]` returns `true` if `value1` is greater than or equals `value2`, or `false` otherwise.
 *   * `['==', value1, value2]` returns `true` if `value1` equals `value2`, or `false` otherwise.
 *   * `['!=', value1, value2]` returns `true` if `value1` does not equal `value2`, or `false` otherwise.
 *   * `['!', value1]` returns `false` if `value1` is `true` or greater than `0`, or `true` otherwise.
 *   * `['all', value1, value2, ...]` returns `true` if all the inputs are `true`, `false` otherwise.
 *   * `['any', value1, value2, ...]` returns `true` if any of the inputs are `true`, `false` otherwise.
 *   * `['has', attributeName, keyOrArrayIndex, ...]` returns `true` if feature properties include the (nested) key `attributeName`,
 *     `false` otherwise.
 *     Note that for WebGL layers, the hardcoded value `-9999999` is used to distinguish when a property is not defined.
 *   * `['between', value1, value2, value3]` returns `true` if `value1` is contained between `value2` and `value3`
 *     (inclusively), or `false` otherwise.
 *   * `['in', needle, haystack]` returns `true` if `needle` is found in `haystack`, and
 *     `false` otherwise.
 *     This operator has the following limitations:
 *     * `haystack` has to be an array of numbers or strings (searching for a substring in a string is not supported yet)
 *     * Only literal arrays are supported as `haystack` for now; this means that `haystack` cannot be the result of an
 *     expression. If `haystack` is an array of strings, use the `literal` operator to disambiguate from an expression:
 *     `['literal', ['abc', 'def', 'ghi']]`
 *
 * * Conversion operators:
 *   * `['array', value1, ...valueN]` creates a numerical array from `number` values; please note that the amount of
 *     values can currently only be 2, 3 or 4 (WebGL only).
 *   * `['color', red, green, blue, alpha]` or `['color', shade, alpha]` creates a `color` value from `number` values;
 *     the `alpha` parameter is optional; if not specified, it will be set to 1 (WebGL only).
 *     Note: `red`, `green` and `blue` or `shade` components must be values between 0 and 255; `alpha` between 0 and 1.
 *   * `['palette', index, colors]` picks a `color` value from an array of colors using the given index; the `index`
 *     expression must evaluate to a number; the items in the `colors` array must be strings with hex colors
 *     (e.g. `'#86A136'`), colors using the rgba[a] functional notation (e.g. `'rgb(134, 161, 54)'` or `'rgba(134, 161, 54, 1)'`),
 *     named colors (e.g. `'red'`), or array literals with 3 ([r, g, b]) or 4 ([r, g, b, a]) values (with r, g, and b
 *     in the 0-255 range and a in the 0-1 range) (WebGL only).
 *   * `['to-string', value]` converts the input value to a string. If the input is a boolean, the result is "true" or "false".
 *     If the input is a number, it is converted to a string as specified by the "NumberToString" algorithm of the ECMAScript
 *     Language Specification. If the input is a color, it is converted to a string of the form "rgba(r,g,b,a)". (Canvas only)
 *
 * Values can either be literals or another operator, as they will be evaluated recursively.
 * Literal values can be of the following types:
 * * `boolean`
 * * `number`
 * * `number[]` (number arrays can only have a length of 2, 3 or 4)
 * * `string`
 * * {@link module:ol/color~Color}
 *
 * @typedef {Array<*>|import("../color.js").Color|string|number|boolean} ExpressionValue
 * @api
 */

let numTypes = 0;
const NoneType = 0;
const BooleanType = 1 << numTypes++;
const NumberType = 1 << numTypes++;
const StringType = 1 << numTypes++;
const ColorType = 1 << numTypes++;
const NumberArrayType = 1 << numTypes++;
const SizeType = 1 << numTypes++;
const AnyType = Math.pow(2, numTypes) - 1;

const typeNames = {
  [BooleanType]: 'boolean',
  [NumberType]: 'number',
  [StringType]: 'string',
  [ColorType]: 'color',
  [NumberArrayType]: 'number[]',
  [SizeType]: 'size',
};

const namedTypes = Object.keys(typeNames).map(Number).sort(ascending);

/**
 * @param {number} type The type.
 * @return {boolean} The type is one of the specific types (not any or a union type).
 */
function isSpecific(type) {
  return type in typeNames;
}

/**
 * Get a string representation for a type.
 * @param {number} type The type.
 * @return {string} The type name.
 */
function typeName(type) {
  const names = [];
  for (const namedType of namedTypes) {
    if (includesType(type, namedType)) {
      names.push(typeNames[namedType]);
    }
  }
  if (names.length === 0) {
    return 'untyped';
  }
  if (names.length < 3) {
    return names.join(' or ');
  }
  return names.slice(0, -1).join(', ') + ', or ' + names[names.length - 1];
}

/**
 * @param {number} broad The broad type.
 * @param {number} specific The specific type.
 * @return {boolean} The broad type includes the specific type.
 */
function includesType(broad, specific) {
  return (broad & specific) === specific;
}

/**
 * @param {number} oneType One type.
 * @param {number} otherType Another type.
 * @return {boolean} The set of types overlap (share a common specific type)
 */
function overlapsType(oneType, otherType) {
  return !!(oneType & otherType);
}

/**
 * @param {number} type The type.
 * @param {number} expected The expected type.
 * @return {boolean} The given type is exactly the expected type.
 */
function isType(type, expected) {
  return type === expected;
}

/**
 * @typedef {boolean|number|string|Array<number>} LiteralValue
 */

class LiteralExpression {
  /**
   * @param {number} type The value type.
   * @param {LiteralValue} value The literal value.
   */
  constructor(type, value) {
    if (!isSpecific(type)) {
      throw new Error(
        `literal expressions must have a specific type, got ${typeName(type)}`,
      );
    }
    this.type = type;
    this.value = value;
  }
}

class CallExpression {
  /**
   * @param {number} type The return type.
   * @param {string} operator The operator.
   * @param {...Expression} args The arguments.
   */
  constructor(type, operator, ...args) {
    this.type = type;
    this.operator = operator;
    this.args = args;
  }
}

/**
 * @typedef {LiteralExpression|CallExpression} Expression
 */

/**
 * @typedef {Object} ParsingContext
 * @property {Set<string>} variables Variables referenced with the 'var' operator.
 * @property {Set<string>} properties Properties referenced with the 'get' operator.
 * @property {boolean} featureId The style uses the feature id.
 * @property {boolean} geometryType The style uses the feature geometry type.
 * @property {boolean} mapState The style uses the map state (view state or time elapsed).
 */

/**
 * @return {ParsingContext} A new parsing context.
 */
function newParsingContext() {
  return {
    variables: new Set(),
    properties: new Set(),
    featureId: false,
    geometryType: false,
    mapState: false,
  };
}

/**
 * @typedef {LiteralValue|Array} EncodedExpression
 */

/**
 * @param {EncodedExpression} encoded The encoded expression.
 * @param {number} expectedType The expected type.
 * @param {ParsingContext} context The parsing context.
 * @return {Expression} The parsed expression result.
 */
function parse(encoded, expectedType, context) {
  switch (typeof encoded) {
    case 'boolean': {
      if (isType(expectedType, StringType)) {
        return new LiteralExpression(StringType, encoded ? 'true' : 'false');
      }
      if (!includesType(expectedType, BooleanType)) {
        throw new Error(
          `got a boolean, but expected ${typeName(expectedType)}`,
        );
      }
      return new LiteralExpression(BooleanType, encoded);
    }
    case 'number': {
      if (isType(expectedType, SizeType)) {
        return new LiteralExpression(SizeType, toSize(encoded));
      }
      if (isType(expectedType, BooleanType)) {
        return new LiteralExpression(BooleanType, !!encoded);
      }
      if (isType(expectedType, StringType)) {
        return new LiteralExpression(StringType, encoded.toString());
      }
      if (!includesType(expectedType, NumberType)) {
        throw new Error(`got a number, but expected ${typeName(expectedType)}`);
      }
      return new LiteralExpression(NumberType, encoded);
    }
    case 'string': {
      if (isType(expectedType, ColorType)) {
        return new LiteralExpression(ColorType, color_fromString(encoded));
      }
      if (isType(expectedType, BooleanType)) {
        return new LiteralExpression(BooleanType, !!encoded);
      }
      if (!includesType(expectedType, StringType)) {
        throw new Error(`got a string, but expected ${typeName(expectedType)}`);
      }
      return new LiteralExpression(StringType, encoded);
    }
    default: {
      // pass
    }
  }

  if (!Array.isArray(encoded)) {
    throw new Error('expression must be an array or a primitive value');
  }

  if (encoded.length === 0) {
    throw new Error('empty expression');
  }

  if (typeof encoded[0] === 'string') {
    return parseCallExpression(encoded, expectedType, context);
  }

  for (const item of encoded) {
    if (typeof item !== 'number') {
      throw new Error('expected an array of numbers');
    }
  }

  if (isType(expectedType, SizeType)) {
    if (encoded.length !== 2) {
      throw new Error(
        `expected an array of two values for a size, got ${encoded.length}`,
      );
    }
    return new LiteralExpression(SizeType, encoded);
  }

  if (isType(expectedType, ColorType)) {
    if (encoded.length === 3) {
      return new LiteralExpression(ColorType, [...encoded, 1]);
    }
    if (encoded.length === 4) {
      return new LiteralExpression(ColorType, encoded);
    }
    throw new Error(
      `expected an array of 3 or 4 values for a color, got ${encoded.length}`,
    );
  }

  if (!includesType(expectedType, NumberArrayType)) {
    throw new Error(
      `got an array of numbers, but expected ${typeName(expectedType)}`,
    );
  }

  return new LiteralExpression(NumberArrayType, encoded);
}

/**
 * @type {Object<string, string>}
 */
const Ops = {
  Get: 'get',
  Var: 'var',
  Concat: 'concat',
  GeometryType: 'geometry-type',
  LineMetric: 'line-metric',
  Any: 'any',
  All: 'all',
  Not: '!',
  Resolution: 'resolution',
  Zoom: 'zoom',
  Time: 'time',
  Equal: '==',
  NotEqual: '!=',
  GreaterThan: '>',
  GreaterThanOrEqualTo: '>=',
  LessThan: '<',
  LessThanOrEqualTo: '<=',
  Multiply: '*',
  Divide: '/',
  Add: '+',
  Subtract: '-',
  Clamp: 'clamp',
  Mod: '%',
  Pow: '^',
  Abs: 'abs',
  Floor: 'floor',
  Ceil: 'ceil',
  Round: 'round',
  Sin: 'sin',
  Cos: 'cos',
  Atan: 'atan',
  Sqrt: 'sqrt',
  Match: 'match',
  Between: 'between',
  Interpolate: 'interpolate',
  Coalesce: 'coalesce',
  Case: 'case',
  In: 'in',
  Number: 'number',
  String: 'string',
  Array: 'array',
  Color: 'color',
  Id: 'id',
  Band: 'band',
  Palette: 'palette',
  ToString: 'to-string',
  Has: 'has',
};

/**
 * @typedef {function(Array, number, ParsingContext):Expression} Parser
 *
 * Second argument is the expected type.
 */

/**
 * @type {Object<string, Parser>}
 */
const parsers = {
  [Ops.Get]: createCallExpressionParser(hasArgsCount(1, Infinity), withGetArgs),
  [Ops.Var]: createCallExpressionParser(hasArgsCount(1, 1), withVarArgs),
  [Ops.Has]: createCallExpressionParser(hasArgsCount(1, Infinity), withGetArgs),
  [Ops.Id]: createCallExpressionParser(usesFeatureId, withNoArgs),
  [Ops.Concat]: createCallExpressionParser(
    hasArgsCount(2, Infinity),
    withArgsOfType(StringType),
  ),
  [Ops.GeometryType]: createCallExpressionParser(usesGeometryType, withNoArgs),
  [Ops.LineMetric]: createCallExpressionParser(withNoArgs),
  [Ops.Resolution]: createCallExpressionParser(usesMapState, withNoArgs),
  [Ops.Zoom]: createCallExpressionParser(usesMapState, withNoArgs),
  [Ops.Time]: createCallExpressionParser(usesMapState, withNoArgs),
  [Ops.Any]: createCallExpressionParser(
    hasArgsCount(2, Infinity),
    withArgsOfType(BooleanType),
  ),
  [Ops.All]: createCallExpressionParser(
    hasArgsCount(2, Infinity),
    withArgsOfType(BooleanType),
  ),
  [Ops.Not]: createCallExpressionParser(
    hasArgsCount(1, 1),
    withArgsOfType(BooleanType),
  ),
  [Ops.Equal]: createCallExpressionParser(
    hasArgsCount(2, 2),
    withArgsOfType(AnyType),
  ),
  [Ops.NotEqual]: createCallExpressionParser(
    hasArgsCount(2, 2),
    withArgsOfType(AnyType),
  ),
  [Ops.GreaterThan]: createCallExpressionParser(
    hasArgsCount(2, 2),
    withArgsOfType(NumberType),
  ),
  [Ops.GreaterThanOrEqualTo]: createCallExpressionParser(
    hasArgsCount(2, 2),
    withArgsOfType(NumberType),
  ),
  [Ops.LessThan]: createCallExpressionParser(
    hasArgsCount(2, 2),
    withArgsOfType(NumberType),
  ),
  [Ops.LessThanOrEqualTo]: createCallExpressionParser(
    hasArgsCount(2, 2),
    withArgsOfType(NumberType),
  ),
  [Ops.Multiply]: createCallExpressionParser(
    hasArgsCount(2, Infinity),
    withArgsOfReturnType,
  ),
  [Ops.Coalesce]: createCallExpressionParser(
    hasArgsCount(2, Infinity),
    withArgsOfReturnType,
  ),
  [Ops.Divide]: createCallExpressionParser(
    hasArgsCount(2, 2),
    withArgsOfType(NumberType),
  ),
  [Ops.Add]: createCallExpressionParser(
    hasArgsCount(2, Infinity),
    withArgsOfType(NumberType),
  ),
  [Ops.Subtract]: createCallExpressionParser(
    hasArgsCount(2, 2),
    withArgsOfType(NumberType),
  ),
  [Ops.Clamp]: createCallExpressionParser(
    hasArgsCount(3, 3),
    withArgsOfType(NumberType),
  ),
  [Ops.Mod]: createCallExpressionParser(
    hasArgsCount(2, 2),
    withArgsOfType(NumberType),
  ),
  [Ops.Pow]: createCallExpressionParser(
    hasArgsCount(2, 2),
    withArgsOfType(NumberType),
  ),
  [Ops.Abs]: createCallExpressionParser(
    hasArgsCount(1, 1),
    withArgsOfType(NumberType),
  ),
  [Ops.Floor]: createCallExpressionParser(
    hasArgsCount(1, 1),
    withArgsOfType(NumberType),
  ),
  [Ops.Ceil]: createCallExpressionParser(
    hasArgsCount(1, 1),
    withArgsOfType(NumberType),
  ),
  [Ops.Round]: createCallExpressionParser(
    hasArgsCount(1, 1),
    withArgsOfType(NumberType),
  ),
  [Ops.Sin]: createCallExpressionParser(
    hasArgsCount(1, 1),
    withArgsOfType(NumberType),
  ),
  [Ops.Cos]: createCallExpressionParser(
    hasArgsCount(1, 1),
    withArgsOfType(NumberType),
  ),
  [Ops.Atan]: createCallExpressionParser(
    hasArgsCount(1, 2),
    withArgsOfType(NumberType),
  ),
  [Ops.Sqrt]: createCallExpressionParser(
    hasArgsCount(1, 1),
    withArgsOfType(NumberType),
  ),
  [Ops.Match]: createCallExpressionParser(
    hasArgsCount(4, Infinity),
    hasEvenArgs,
    withMatchArgs,
  ),
  [Ops.Between]: createCallExpressionParser(
    hasArgsCount(3, 3),
    withArgsOfType(NumberType),
  ),
  [Ops.Interpolate]: createCallExpressionParser(
    hasArgsCount(6, Infinity),
    hasEvenArgs,
    withInterpolateArgs,
  ),
  [Ops.Case]: createCallExpressionParser(
    hasArgsCount(3, Infinity),
    hasOddArgs,
    withCaseArgs,
  ),
  [Ops.In]: createCallExpressionParser(hasArgsCount(2, 2), withInArgs),
  [Ops.Number]: createCallExpressionParser(
    hasArgsCount(1, Infinity),
    withArgsOfType(AnyType),
  ),
  [Ops.String]: createCallExpressionParser(
    hasArgsCount(1, Infinity),
    withArgsOfType(AnyType),
  ),
  [Ops.Array]: createCallExpressionParser(
    hasArgsCount(1, Infinity),
    withArgsOfType(NumberType),
  ),
  [Ops.Color]: createCallExpressionParser(
    hasArgsCount(1, 4),
    withArgsOfType(NumberType),
  ),
  [Ops.Band]: createCallExpressionParser(
    hasArgsCount(1, 3),
    withArgsOfType(NumberType),
  ),
  [Ops.Palette]: createCallExpressionParser(
    hasArgsCount(2, 2),
    withPaletteArgs,
  ),
  [Ops.ToString]: createCallExpressionParser(
    hasArgsCount(1, 1),
    withArgsOfType(BooleanType | NumberType | StringType | ColorType),
  ),
};

/**
 * @typedef {function(Array<EncodedExpression>, number, ParsingContext):Array<Expression>|void} ArgValidator
 *
 * An argument validator applies various checks to an encoded expression arguments and
 * returns the parsed arguments if any.  The second argument is the return type of the call expression.
 */

/**
 * @type {ArgValidator}
 */
function withGetArgs(encoded, returnType, context) {
  const argsCount = encoded.length - 1;
  const args = new Array(argsCount);
  for (let i = 0; i < argsCount; ++i) {
    const key = encoded[i + 1];
    switch (typeof key) {
      case 'number': {
        args[i] = new LiteralExpression(NumberType, key);
        break;
      }
      case 'string': {
        args[i] = new LiteralExpression(StringType, key);
        break;
      }
      default: {
        throw new Error(
          `expected a string key or numeric array index for a get operation, got ${key}`,
        );
      }
    }
    if (i === 0) {
      context.properties.add(String(key));
    }
  }
  return args;
}

/**
 * @type {ArgValidator}
 */
function withVarArgs(encoded, returnType, context) {
  const name = encoded[1];
  if (typeof name !== 'string') {
    throw new Error('expected a string argument for var operation');
  }
  context.variables.add(name);

  return [new LiteralExpression(StringType, name)];
}

/**
 * @type {ArgValidator}
 */
function usesFeatureId(encoded, returnType, context) {
  context.featureId = true;
}

/**
 * @type {ArgValidator}
 */
function usesGeometryType(encoded, returnType, context) {
  context.geometryType = true;
}

/**
 * @type {ArgValidator}
 */
function usesMapState(encoded, returnType, context) {
  context.mapState = true;
}

/**
 * @type {ArgValidator}
 */
function withNoArgs(encoded, returnType, context) {
  const operation = encoded[0];
  if (encoded.length !== 1) {
    throw new Error(`expected no arguments for ${operation} operation`);
  }
  return [];
}

/**
 * @param {number} minArgs The minimum number of arguments.
 * @param {number} maxArgs The maximum number of arguments.
 * @return {ArgValidator} The argument validator
 */
function hasArgsCount(minArgs, maxArgs) {
  return function (encoded, returnType, context) {
    const operation = encoded[0];
    const argCount = encoded.length - 1;
    if (minArgs === maxArgs) {
      if (argCount !== minArgs) {
        const plural = minArgs === 1 ? '' : 's';
        throw new Error(
          `expected ${minArgs} argument${plural} for ${operation}, got ${argCount}`,
        );
      }
    } else if (argCount < minArgs || argCount > maxArgs) {
      const range =
        maxArgs === Infinity
          ? `${minArgs} or more`
          : `${minArgs} to ${maxArgs}`;
      throw new Error(
        `expected ${range} arguments for ${operation}, got ${argCount}`,
      );
    }
  };
}

/**
 * @type {ArgValidator}
 */
function withArgsOfReturnType(encoded, returnType, context) {
  const argCount = encoded.length - 1;
  /**
   * @type {Array<Expression>}
   */
  const args = new Array(argCount);
  for (let i = 0; i < argCount; ++i) {
    const expression = parse(encoded[i + 1], returnType, context);
    args[i] = expression;
  }
  return args;
}

/**
 * @param {number} argType The argument type.
 * @return {ArgValidator} The argument validator
 */
function withArgsOfType(argType) {
  return function (encoded, returnType, context) {
    const argCount = encoded.length - 1;
    /**
     * @type {Array<Expression>}
     */
    const args = new Array(argCount);
    for (let i = 0; i < argCount; ++i) {
      const expression = parse(encoded[i + 1], argType, context);
      args[i] = expression;
    }
    return args;
  };
}

/**
 * @type {ArgValidator}
 */
function hasOddArgs(encoded, returnType, context) {
  const operation = encoded[0];
  const argCount = encoded.length - 1;
  if (argCount % 2 === 0) {
    throw new Error(
      `expected an odd number of arguments for ${operation}, got ${argCount} instead`,
    );
  }
}

/**
 * @type {ArgValidator}
 */
function hasEvenArgs(encoded, returnType, context) {
  const operation = encoded[0];
  const argCount = encoded.length - 1;
  if (argCount % 2 === 1) {
    throw new Error(
      `expected an even number of arguments for operation ${operation}, got ${argCount} instead`,
    );
  }
}

/**
 * @type {ArgValidator}
 */
function withMatchArgs(encoded, returnType, context) {
  const argsCount = encoded.length - 1;

  const inputType = StringType | NumberType | BooleanType;

  const input = parse(encoded[1], inputType, context);

  const fallback = parse(encoded[encoded.length - 1], returnType, context);

  const args = new Array(argsCount - 2);
  for (let i = 0; i < argsCount - 2; i += 2) {
    try {
      const match = parse(encoded[i + 2], input.type, context);
      args[i] = match;
    } catch (err) {
      throw new Error(
        `failed to parse argument ${i + 1} of match expression: ${err.message}`,
      );
    }
    try {
      const output = parse(encoded[i + 3], fallback.type, context);
      args[i + 1] = output;
    } catch (err) {
      throw new Error(
        `failed to parse argument ${i + 2} of match expression: ${err.message}`,
      );
    }
  }

  return [input, ...args, fallback];
}

/**
 * @type {ArgValidator}
 */
function withInterpolateArgs(encoded, returnType, context) {
  const interpolationType = encoded[1];
  /**
   * @type {number}
   */
  let base;
  switch (interpolationType[0]) {
    case 'linear':
      base = 1;
      break;
    case 'exponential':
      const b = interpolationType[1];
      if (typeof b !== 'number' || b <= 0) {
        throw new Error(
          `expected a number base for exponential interpolation` +
            `, got ${JSON.stringify(b)} instead`,
        );
      }
      base = b;
      break;
    default:
      throw new Error(
        `invalid interpolation type: ${JSON.stringify(interpolationType)}`,
      );
  }

  const interpolation = new LiteralExpression(NumberType, base);

  let input;
  try {
    input = parse(encoded[2], NumberType, context);
  } catch (err) {
    throw new Error(
      `failed to parse argument 1 in interpolate expression: ${err.message}`,
    );
  }

  const args = new Array(encoded.length - 3);
  for (let i = 0; i < args.length; i += 2) {
    try {
      const stop = parse(encoded[i + 3], NumberType, context);
      args[i] = stop;
    } catch (err) {
      throw new Error(
        `failed to parse argument ${i + 2} for interpolate expression: ${err.message}`,
      );
    }
    try {
      const output = parse(encoded[i + 4], returnType, context);
      args[i + 1] = output;
    } catch (err) {
      throw new Error(
        `failed to parse argument ${i + 3} for interpolate expression: ${err.message}`,
      );
    }
  }

  return [interpolation, input, ...args];
}

/**
 * @type {ArgValidator}
 */
function withCaseArgs(encoded, returnType, context) {
  const fallback = parse(encoded[encoded.length - 1], returnType, context);

  const args = new Array(encoded.length - 1);
  for (let i = 0; i < args.length - 1; i += 2) {
    try {
      const condition = parse(encoded[i + 1], BooleanType, context);
      args[i] = condition;
    } catch (err) {
      throw new Error(
        `failed to parse argument ${i} of case expression: ${err.message}`,
      );
    }
    try {
      const output = parse(encoded[i + 2], fallback.type, context);
      args[i + 1] = output;
    } catch (err) {
      throw new Error(
        `failed to parse argument ${i + 1} of case expression: ${err.message}`,
      );
    }
  }

  args[args.length - 1] = fallback;
  return args;
}

/**
 * @type {ArgValidator}
 */
function withInArgs(encoded, returnType, context) {
  let haystack = encoded[2];
  if (!Array.isArray(haystack)) {
    throw new Error(
      `the second argument for the "in" operator must be an array`,
    );
  }
  /**
   * @type {number}
   */
  let needleType;
  if (typeof haystack[0] === 'string') {
    if (haystack[0] !== 'literal') {
      throw new Error(
        `for the "in" operator, a string array should be wrapped in a "literal" operator to disambiguate from expressions`,
      );
    }
    if (!Array.isArray(haystack[1])) {
      throw new Error(
        `failed to parse "in" expression: the literal operator must be followed by an array`,
      );
    }
    haystack = haystack[1];
    needleType = StringType;
  } else {
    needleType = NumberType;
  }

  const args = new Array(haystack.length);
  for (let i = 0; i < args.length; i++) {
    try {
      const arg = parse(haystack[i], needleType, context);
      args[i] = arg;
    } catch (err) {
      throw new Error(
        `failed to parse haystack item ${i} for "in" expression: ${err.message}`,
      );
    }
  }

  const needle = parse(encoded[1], needleType, context);
  return [needle, ...args];
}

/**
 * @type {ArgValidator}
 */
function withPaletteArgs(encoded, returnType, context) {
  let index;
  try {
    index = parse(encoded[1], NumberType, context);
  } catch (err) {
    throw new Error(
      `failed to parse first argument in palette expression: ${err.message}`,
    );
  }
  const colors = encoded[2];
  if (!Array.isArray(colors)) {
    throw new Error('the second argument of palette must be an array');
  }
  const parsedColors = new Array(colors.length);
  for (let i = 0; i < parsedColors.length; i++) {
    let color;
    try {
      color = parse(colors[i], ColorType, context);
    } catch (err) {
      throw new Error(
        `failed to parse color at index ${i} in palette expression: ${err.message}`,
      );
    }
    if (!(color instanceof LiteralExpression)) {
      throw new Error(
        `the palette color at index ${i} must be a literal value`,
      );
    }
    parsedColors[i] = color;
  }
  return [index, ...parsedColors];
}

/**
 * @param {Array<ArgValidator>} validators A chain of argument validators.  The last validator is expected
 * to return the parsed arguments.
 * @return {Parser} The parser.
 */
function createCallExpressionParser(...validators) {
  return function (encoded, returnType, context) {
    const operator = encoded[0];

    /**
     * @type {Array<Expression>}
     */
    let args;
    for (let i = 0; i < validators.length; i++) {
      const parsed = validators[i](encoded, returnType, context);
      if (i == validators.length - 1) {
        if (!parsed) {
          throw new Error(
            'expected last argument validator to return the parsed args',
          );
        }
        args = parsed;
      }
    }
    return new CallExpression(returnType, operator, ...args);
  };
}

/**
 * @param {Array} encoded The encoded expression.
 * @param {number} returnType The expected return type of the call expression.
 * @param {ParsingContext} context The parsing context.
 * @return {Expression} The parsed expression.
 */
function parseCallExpression(encoded, returnType, context) {
  const operator = encoded[0];

  const parser = parsers[operator];
  if (!parser) {
    throw new Error(`unknown operator: ${operator}`);
  }
  return parser(encoded, returnType, context);
}

/**
 * Returns a simplified geometry type suited for the `geometry-type` operator
 * @param {import('../geom/Geometry.js').default|import('../render/Feature.js').default} geometry Geometry object
 * @return {'Point'|'LineString'|'Polygon'|''} Simplified geometry type; empty string of no geometry found
 */
function computeGeometryType(geometry) {
  if (!geometry) {
    return '';
  }
  const type = geometry.getType();
  switch (type) {
    case 'Point':
    case 'LineString':
    case 'Polygon':
      return type;
    case 'MultiPoint':
    case 'MultiLineString':
    case 'MultiPolygon':
      return /** @type {'Point'|'LineString'|'Polygon'} */ (type.substring(5));
    case 'Circle':
      return 'Polygon';
    case 'GeometryCollection':
      return computeGeometryType(
        /** @type {import("../geom/GeometryCollection.js").default} */ (
          geometry
        ).getGeometries()[0],
      );
    default:
      return '';
  }
}

;// CONCATENATED MODULE: ./node_modules/ol/expr/cpu.js
/**
 * @module ol/expr/cpu
 */




/**
 * @fileoverview This module includes functions to build expressions for evaluation on the CPU.
 * Building is composed of two steps: parsing and compiling.  The parsing step takes an encoded
 * expression and returns an instance of one of the expression classes.  The compiling step takes
 * the expression instance and returns a function that can be evaluated in to return a literal
 * value.  The evaluator function should do as little allocation and work as possible.
 */

/**
 * @typedef {Object} EvaluationContext
 * @property {Object} properties The values for properties used in 'get' expressions.
 * @property {Object} variables The values for variables used in 'var' expressions.
 * @property {number} resolution The map resolution.
 * @property {string|number|null} featureId The feature id.
 * @property {string} geometryType Geometry type of the current object.
 */

/**
 * @return {EvaluationContext} A new evaluation context.
 */
function newEvaluationContext() {
  return {
    variables: {},
    properties: {},
    resolution: NaN,
    featureId: null,
    geometryType: '',
  };
}

/**
 * @typedef {function(EvaluationContext):import("./expression.js").LiteralValue} ExpressionEvaluator
 */

/**
 * @typedef {function(EvaluationContext):boolean} BooleanEvaluator
 */

/**
 * @typedef {function(EvaluationContext):number} NumberEvaluator
 */

/**
 * @typedef {function(EvaluationContext):string} StringEvaluator
 */

/**
 * @typedef {function(EvaluationContext):(Array<number>|string)} ColorLikeEvaluator
 */

/**
 * @typedef {function(EvaluationContext):Array<number>} NumberArrayEvaluator
 */

/**
 * @typedef {function(EvaluationContext):Array<number>} CoordinateEvaluator
 */

/**
 * @typedef {function(EvaluationContext):(Array<number>)} SizeEvaluator
 */

/**
 * @typedef {function(EvaluationContext):(Array<number>|number)} SizeLikeEvaluator
 */

/**
 * @param {import('./expression.js').EncodedExpression} encoded The encoded expression.
 * @param {number} type The expected type.
 * @param {import('./expression.js').ParsingContext} context The parsing context.
 * @return {ExpressionEvaluator} The expression evaluator.
 */
function buildExpression(encoded, type, context) {
  const expression = parse(encoded, type, context);
  return compileExpression(expression, context);
}

/**
 * @param {import("./expression.js").Expression} expression The expression.
 * @param {import('./expression.js').ParsingContext} context The parsing context.
 * @return {ExpressionEvaluator} The evaluator function.
 */
function compileExpression(expression, context) {
  if (expression instanceof LiteralExpression) {
    // convert colors to array if possible
    if (expression.type === ColorType && typeof expression.value === 'string') {
      const colorValue = color_fromString(expression.value);
      return function () {
        return colorValue;
      };
    }
    return function () {
      return expression.value;
    };
  }
  const operator = expression.operator;
  switch (operator) {
    case Ops.Number:
    case Ops.String:
    case Ops.Coalesce: {
      return compileAssertionExpression(expression, context);
    }
    case Ops.Get:
    case Ops.Var:
    case Ops.Has: {
      return compileAccessorExpression(expression, context);
    }
    case Ops.Id: {
      return (context) => context.featureId;
    }
    case Ops.GeometryType: {
      return (context) => context.geometryType;
    }
    case Ops.Concat: {
      const args = expression.args.map((e) => compileExpression(e, context));
      return (context) =>
        ''.concat(...args.map((arg) => arg(context).toString()));
    }
    case Ops.Resolution: {
      return (context) => context.resolution;
    }
    case Ops.Any:
    case Ops.All:
    case Ops.Between:
    case Ops.In:
    case Ops.Not: {
      return compileLogicalExpression(expression, context);
    }
    case Ops.Equal:
    case Ops.NotEqual:
    case Ops.LessThan:
    case Ops.LessThanOrEqualTo:
    case Ops.GreaterThan:
    case Ops.GreaterThanOrEqualTo: {
      return compileComparisonExpression(expression, context);
    }
    case Ops.Multiply:
    case Ops.Divide:
    case Ops.Add:
    case Ops.Subtract:
    case Ops.Clamp:
    case Ops.Mod:
    case Ops.Pow:
    case Ops.Abs:
    case Ops.Floor:
    case Ops.Ceil:
    case Ops.Round:
    case Ops.Sin:
    case Ops.Cos:
    case Ops.Atan:
    case Ops.Sqrt: {
      return compileNumericExpression(expression, context);
    }
    case Ops.Case: {
      return compileCaseExpression(expression, context);
    }
    case Ops.Match: {
      return compileMatchExpression(expression, context);
    }
    case Ops.Interpolate: {
      return compileInterpolateExpression(expression, context);
    }
    case Ops.ToString: {
      return compileConvertExpression(expression, context);
    }
    default: {
      throw new Error(`Unsupported operator ${operator}`);
    }
    // TODO: unimplemented
    // Ops.Zoom
    // Ops.Time
    // Ops.Array
    // Ops.Color
    // Ops.Band
    // Ops.Palette
  }
}

/**
 * @param {import('./expression.js').CallExpression} expression The call expression.
 * @param {import('./expression.js').ParsingContext} context The parsing context.
 * @return {ExpressionEvaluator} The evaluator function.
 */
function compileAssertionExpression(expression, context) {
  const type = expression.operator;
  const length = expression.args.length;

  const args = new Array(length);
  for (let i = 0; i < length; ++i) {
    args[i] = compileExpression(expression.args[i], context);
  }
  switch (type) {
    case Ops.Coalesce: {
      return (context) => {
        for (let i = 0; i < length; ++i) {
          const value = args[i](context);
          if (typeof value !== 'undefined' && value !== null) {
            return value;
          }
        }
        throw new Error('Expected one of the values to be non-null');
      };
    }
    case Ops.Number:
    case Ops.String: {
      return (context) => {
        for (let i = 0; i < length; ++i) {
          const value = args[i](context);
          if (typeof value === type) {
            return value;
          }
        }
        throw new Error(`Expected one of the values to be a ${type}`);
      };
    }
    default: {
      throw new Error(`Unsupported assertion operator ${type}`);
    }
  }
}

/**
 * @param {import('./expression.js').CallExpression} expression The call expression.
 * @param {import('./expression.js').ParsingContext} context The parsing context.
 * @return {ExpressionEvaluator} The evaluator function.
 */
function compileAccessorExpression(expression, context) {
  const nameExpression = /** @type {LiteralExpression} */ (expression.args[0]);
  const name = /** @type {string} */ (nameExpression.value);
  switch (expression.operator) {
    case Ops.Get: {
      return (context) => {
        const args = expression.args;
        let value = context.properties[name];
        for (let i = 1, ii = args.length; i < ii; ++i) {
          const keyExpression = /** @type {LiteralExpression} */ (args[i]);
          const key = /** @type {string|number} */ (keyExpression.value);
          value = value[key];
        }
        return value;
      };
    }
    case Ops.Var: {
      return (context) => context.variables[name];
    }
    case Ops.Has: {
      return (context) => {
        const args = expression.args;
        if (!(name in context.properties)) {
          return false;
        }
        let value = context.properties[name];
        for (let i = 1, ii = args.length; i < ii; ++i) {
          const keyExpression = /** @type {LiteralExpression} */ (args[i]);
          const key = /** @type {string|number} */ (keyExpression.value);
          if (!value || !Object.hasOwn(value, key)) {
            return false;
          }
          value = value[key];
        }
        return true;
      };
    }
    default: {
      throw new Error(`Unsupported accessor operator ${expression.operator}`);
    }
  }
}

/**
 * @param {import('./expression.js').CallExpression} expression The call expression.
 * @param {import('./expression.js').ParsingContext} context The parsing context.
 * @return {BooleanEvaluator} The evaluator function.
 */
function compileComparisonExpression(expression, context) {
  const op = expression.operator;
  const left = compileExpression(expression.args[0], context);
  const right = compileExpression(expression.args[1], context);
  switch (op) {
    case Ops.Equal: {
      return (context) => left(context) === right(context);
    }
    case Ops.NotEqual: {
      return (context) => left(context) !== right(context);
    }
    case Ops.LessThan: {
      return (context) => left(context) < right(context);
    }
    case Ops.LessThanOrEqualTo: {
      return (context) => left(context) <= right(context);
    }
    case Ops.GreaterThan: {
      return (context) => left(context) > right(context);
    }
    case Ops.GreaterThanOrEqualTo: {
      return (context) => left(context) >= right(context);
    }
    default: {
      throw new Error(`Unsupported comparison operator ${op}`);
    }
  }
}

/**
 * @param {import('./expression.js').CallExpression} expression The call expression.
 * @param {import('./expression.js').ParsingContext} context The parsing context.
 * @return {BooleanEvaluator} The evaluator function.
 */
function compileLogicalExpression(expression, context) {
  const op = expression.operator;
  const length = expression.args.length;

  const args = new Array(length);
  for (let i = 0; i < length; ++i) {
    args[i] = compileExpression(expression.args[i], context);
  }
  switch (op) {
    case Ops.Any: {
      return (context) => {
        for (let i = 0; i < length; ++i) {
          if (args[i](context)) {
            return true;
          }
        }
        return false;
      };
    }
    case Ops.All: {
      return (context) => {
        for (let i = 0; i < length; ++i) {
          if (!args[i](context)) {
            return false;
          }
        }
        return true;
      };
    }
    case Ops.Between: {
      return (context) => {
        const value = args[0](context);
        const min = args[1](context);
        const max = args[2](context);
        return value >= min && value <= max;
      };
    }
    case Ops.In: {
      return (context) => {
        const value = args[0](context);
        for (let i = 1; i < length; ++i) {
          if (value === args[i](context)) {
            return true;
          }
        }
        return false;
      };
    }
    case Ops.Not: {
      return (context) => !args[0](context);
    }
    default: {
      throw new Error(`Unsupported logical operator ${op}`);
    }
  }
}

/**
 * @param {import('./expression.js').CallExpression} expression The call expression.
 * @param {import('./expression.js').ParsingContext} context The parsing context.
 * @return {NumberEvaluator} The evaluator function.
 */
function compileNumericExpression(expression, context) {
  const op = expression.operator;
  const length = expression.args.length;

  const args = new Array(length);
  for (let i = 0; i < length; ++i) {
    args[i] = compileExpression(expression.args[i], context);
  }
  switch (op) {
    case Ops.Multiply: {
      return (context) => {
        let value = 1;
        for (let i = 0; i < length; ++i) {
          value *= args[i](context);
        }
        return value;
      };
    }
    case Ops.Divide: {
      return (context) => args[0](context) / args[1](context);
    }
    case Ops.Add: {
      return (context) => {
        let value = 0;
        for (let i = 0; i < length; ++i) {
          value += args[i](context);
        }
        return value;
      };
    }
    case Ops.Subtract: {
      return (context) => args[0](context) - args[1](context);
    }
    case Ops.Clamp: {
      return (context) => {
        const value = args[0](context);
        const min = args[1](context);
        if (value < min) {
          return min;
        }
        const max = args[2](context);
        if (value > max) {
          return max;
        }
        return value;
      };
    }
    case Ops.Mod: {
      return (context) => args[0](context) % args[1](context);
    }
    case Ops.Pow: {
      return (context) => Math.pow(args[0](context), args[1](context));
    }
    case Ops.Abs: {
      return (context) => Math.abs(args[0](context));
    }
    case Ops.Floor: {
      return (context) => Math.floor(args[0](context));
    }
    case Ops.Ceil: {
      return (context) => Math.ceil(args[0](context));
    }
    case Ops.Round: {
      return (context) => Math.round(args[0](context));
    }
    case Ops.Sin: {
      return (context) => Math.sin(args[0](context));
    }
    case Ops.Cos: {
      return (context) => Math.cos(args[0](context));
    }
    case Ops.Atan: {
      if (length === 2) {
        return (context) => Math.atan2(args[0](context), args[1](context));
      }
      return (context) => Math.atan(args[0](context));
    }
    case Ops.Sqrt: {
      return (context) => Math.sqrt(args[0](context));
    }
    default: {
      throw new Error(`Unsupported numeric operator ${op}`);
    }
  }
}

/**
 * @param {import('./expression.js').CallExpression} expression The call expression.
 * @param {import('./expression.js').ParsingContext} context The parsing context.
 * @return {ExpressionEvaluator} The evaluator function.
 */
function compileCaseExpression(expression, context) {
  const length = expression.args.length;
  const args = new Array(length);
  for (let i = 0; i < length; ++i) {
    args[i] = compileExpression(expression.args[i], context);
  }
  return (context) => {
    for (let i = 0; i < length - 1; i += 2) {
      const condition = args[i](context);
      if (condition) {
        return args[i + 1](context);
      }
    }
    return args[length - 1](context);
  };
}

/**
 * @param {import('./expression.js').CallExpression} expression The call expression.
 * @param {import('./expression.js').ParsingContext} context The parsing context.
 * @return {ExpressionEvaluator} The evaluator function.
 */
function compileMatchExpression(expression, context) {
  const length = expression.args.length;
  const args = new Array(length);
  for (let i = 0; i < length; ++i) {
    args[i] = compileExpression(expression.args[i], context);
  }
  return (context) => {
    const value = args[0](context);
    for (let i = 1; i < length - 1; i += 2) {
      if (value === args[i](context)) {
        return args[i + 1](context);
      }
    }
    return args[length - 1](context);
  };
}

/**
 * @param {import('./expression.js').CallExpression} expression The call expression.
 * @param {import('./expression.js').ParsingContext} context The parsing context.
 * @return {ExpressionEvaluator} The evaluator function.
 */
function compileInterpolateExpression(expression, context) {
  const length = expression.args.length;
  const args = new Array(length);
  for (let i = 0; i < length; ++i) {
    args[i] = compileExpression(expression.args[i], context);
  }
  return (context) => {
    const base = args[0](context);
    const value = args[1](context);

    let previousInput;
    let previousOutput;
    for (let i = 2; i < length; i += 2) {
      const input = args[i](context);
      let output = args[i + 1](context);
      const isColor = Array.isArray(output);
      if (isColor) {
        output = withAlpha(output);
      }
      if (input >= value) {
        if (i === 2) {
          return output;
        }
        if (isColor) {
          return interpolateColor(
            base,
            value,
            previousInput,
            previousOutput,
            input,
            output,
          );
        }
        return interpolateNumber(
          base,
          value,
          previousInput,
          previousOutput,
          input,
          output,
        );
      }
      previousInput = input;
      previousOutput = output;
    }
    return previousOutput;
  };
}

/**
 * @param {import('./expression.js').CallExpression} expression The call expression.
 * @param {import('./expression.js').ParsingContext} context The parsing context.
 * @return {ExpressionEvaluator} The evaluator function.
 */
function compileConvertExpression(expression, context) {
  const op = expression.operator;
  const length = expression.args.length;

  const args = new Array(length);
  for (let i = 0; i < length; ++i) {
    args[i] = compileExpression(expression.args[i], context);
  }
  switch (op) {
    case Ops.ToString: {
      return (context) => {
        const value = args[0](context);
        if (expression.args[0].type === ColorType) {
          return color_toString(value);
        }
        return value.toString();
      };
    }
    default: {
      throw new Error(`Unsupported convert operator ${op}`);
    }
  }
}

/**
 * @param {number} base The base.
 * @param {number} value The value.
 * @param {number} input1 The first input value.
 * @param {number} output1 The first output value.
 * @param {number} input2 The second input value.
 * @param {number} output2 The second output value.
 * @return {number} The interpolated value.
 */
function interpolateNumber(base, value, input1, output1, input2, output2) {
  const delta = input2 - input1;
  if (delta === 0) {
    return output1;
  }
  const along = value - input1;
  const factor =
    base === 1
      ? along / delta
      : (Math.pow(base, along) - 1) / (Math.pow(base, delta) - 1);
  return output1 + factor * (output2 - output1);
}

/**
 * @param {number} base The base.
 * @param {number} value The value.
 * @param {number} input1 The first input value.
 * @param {import('../color.js').Color} rgba1 The first output value.
 * @param {number} input2 The second input value.
 * @param {import('../color.js').Color} rgba2 The second output value.
 * @return {import('../color.js').Color} The interpolated color.
 */
function interpolateColor(base, value, input1, rgba1, input2, rgba2) {
  const delta = input2 - input1;
  if (delta === 0) {
    return rgba1;
  }
  const lcha1 = rgbaToLcha(rgba1);
  const lcha2 = rgbaToLcha(rgba2);
  let deltaHue = lcha2[2] - lcha1[2];
  if (deltaHue > 180) {
    deltaHue -= 360;
  } else if (deltaHue < -180) {
    deltaHue += 360;
  }

  const lcha = [
    interpolateNumber(base, value, input1, lcha1[0], input2, lcha2[0]),
    interpolateNumber(base, value, input1, lcha1[1], input2, lcha2[1]),
    lcha1[2] + interpolateNumber(base, value, input1, 0, input2, deltaHue),
    interpolateNumber(base, value, input1, rgba1[3], input2, rgba2[3]),
  ];
  return lchaToRgba(lcha);
}

;// CONCATENATED MODULE: ./node_modules/ol/ImageState.js
/**
 * @module ol/ImageState
 */

/**
 * @enum {number}
 */
/* harmony default export */ const ol_ImageState = ({
  IDLE: 0,
  LOADING: 1,
  LOADED: 2,
  ERROR: 3,
  EMPTY: 4,
});

;// CONCATENATED MODULE: ./node_modules/ol/Image.js
/**
 * @module ol/Image
 */







/**
 * A function that takes an {@link module:ol/Image~ImageWrapper} for the image and a
 * `{string}` for the src as arguments. It is supposed to make it so the
 * underlying image {@link module:ol/Image~ImageWrapper#getImage} is assigned the
 * content specified by the src. If not specified, the default is
 *
 *     function(image, src) {
 *       image.getImage().src = src;
 *     }
 *
 * Providing a custom `imageLoadFunction` can be useful to load images with
 * post requests or - in general - through XHR requests, where the src of the
 * image element would be set to a data URI when the content is loaded.
 *
 * @typedef {function(import("./Image.js").default, string): void} LoadFunction
 * @api
 */

/**
 * @typedef {Object} ImageObject
 * @property {import("./extent.js").Extent} [extent] Extent, if different from the requested one.
 * @property {import("./resolution.js").ResolutionLike} [resolution] Resolution, if different from the requested one.
 * When x and y resolution are different, use the array type (`[xResolution, yResolution]`).
 * @property {number} [pixelRatio] Pixel ratio, if different from the requested one.
 * @property {import('./DataTile.js').ImageLike} image Image.
 */

/**
 * Loader function used for image sources. Receives extent, resolution and pixel ratio as arguments.
 * For images that cover any extent and resolution (static images), the loader function should not accept
 * any arguments. The function returns an {@link import("./DataTile.js").ImageLike image}, an
 * {@link import("./Image.js").ImageObject image object}, or a promise for the same.
 * For loaders that generate images, the promise should not resolve until the image is loaded.
 * If the returned image does not match the extent, resolution or pixel ratio passed to the loader,
 * it has to return an {@link import("./Image.js").ImageObject image object} with the `image` and the
 * correct `extent`, `resolution` and `pixelRatio`.
 *
 * @typedef {function(import("./extent.js").Extent, number, number, (function(HTMLImageElement, string): void)=): import("./DataTile.js").ImageLike|ImageObject|Promise<import("./DataTile.js").ImageLike|ImageObject>} Loader
 * @api
 */

/**
 * Loader function used for image sources. Receives extent, resolution and pixel ratio as arguments.
 * The function returns a promise for an  {@link import("./Image.js").ImageObject image object}.
 *
 * @typedef {function(import("./extent.js").Extent, number, number, (function(HTMLImageElement, string): void)=): Promise<import("./DataTile.js").ImageLike|ImageObject>} ImageObjectPromiseLoader
 */

class ImageWrapper extends (/* unused pure expression or super */ null && (EventTarget)) {
  /**
   * @param {import("./extent.js").Extent} extent Extent.
   * @param {number|Array<number>|undefined} resolution Resolution. If provided as array, x and y
   * resolution will be assumed.
   * @param {number} pixelRatio Pixel ratio.
   * @param {import("./ImageState.js").default|Loader} stateOrLoader State.
   */
  constructor(extent, resolution, pixelRatio, stateOrLoader) {
    super();

    /**
     * @protected
     * @type {import("./extent.js").Extent}
     */
    this.extent = extent;

    /**
     * @private
     * @type {number}
     */
    this.pixelRatio_ = pixelRatio;

    /**
     * @protected
     * @type {number|Array<number>|undefined}
     */
    this.resolution = resolution;

    /**
     * @protected
     * @type {import("./ImageState.js").default}
     */
    this.state =
      typeof stateOrLoader === 'function' ? ImageState.IDLE : stateOrLoader;

    /**
     * @private
     * @type {import('./DataTile.js').ImageLike|null}
     */
    this.image_ = null;

    /**
     * @protected
     * @type {Loader|null}
     */
    this.loader = typeof stateOrLoader === 'function' ? stateOrLoader : null;
  }

  /**
   * @protected
   */
  changed() {
    this.dispatchEvent(EventType.CHANGE);
  }

  /**
   * @return {import("./extent.js").Extent} Extent.
   */
  getExtent() {
    return this.extent;
  }

  /**
   * @return {import('./DataTile.js').ImageLike} Image.
   */
  getImage() {
    return this.image_;
  }

  /**
   * @return {number} PixelRatio.
   */
  getPixelRatio() {
    return this.pixelRatio_;
  }

  /**
   * @return {number|Array<number>} Resolution.
   */
  getResolution() {
    return /** @type {number} */ (this.resolution);
  }

  /**
   * @return {import("./ImageState.js").default} State.
   */
  getState() {
    return this.state;
  }

  /**
   * Load not yet loaded URI.
   */
  load() {
    if (this.state == ImageState.IDLE) {
      if (this.loader) {
        this.state = ImageState.LOADING;
        this.changed();
        const resolution = this.getResolution();
        const requestResolution = Array.isArray(resolution)
          ? resolution[0]
          : resolution;
        toPromise(() =>
          this.loader(
            this.getExtent(),
            requestResolution,
            this.getPixelRatio(),
          ),
        )
          .then((image) => {
            if ('image' in image) {
              this.image_ = image.image;
            }
            if ('extent' in image) {
              this.extent = image.extent;
            }
            if ('resolution' in image) {
              this.resolution = image.resolution;
            }
            if ('pixelRatio' in image) {
              this.pixelRatio_ = image.pixelRatio;
            }
            if (
              image instanceof HTMLImageElement ||
              (CREATE_IMAGE_BITMAP && image instanceof ImageBitmap) ||
              image instanceof HTMLCanvasElement ||
              image instanceof HTMLVideoElement
            ) {
              this.image_ = image;
            }
            this.state = ImageState.LOADED;
          })
          .catch((error) => {
            this.state = ImageState.ERROR;
            console.error(error); // eslint-disable-line no-console
          })
          .finally(() => this.changed());
      }
    }
  }

  /**
   * @param {import('./DataTile.js').ImageLike} image The image.
   */
  setImage(image) {
    this.image_ = image;
  }

  /**
   * @param {number|Array<number>} resolution Resolution.
   */
  setResolution(resolution) {
    this.resolution = resolution;
  }
}

/**
 * @param {import('./DataTile.js').ImageLike} image Image element.
 * @param {function():any} loadHandler Load callback function.
 * @param {function():any} errorHandler Error callback function.
 * @return {function():void} Callback to stop listening.
 */
function listenImage(image, loadHandler, errorHandler) {
  const img = /** @type {HTMLImageElement} */ (image);
  let listening = true;
  let decoding = false;
  let loaded = false;

  const listenerKeys = [
    listenOnce(img, events_EventType.LOAD, function () {
      loaded = true;
      if (!decoding) {
        loadHandler();
      }
    }),
  ];

  if (img.src && has_IMAGE_DECODE) {
    decoding = true;
    img
      .decode()
      .then(function () {
        if (listening) {
          loadHandler();
        }
      })
      .catch(function (error) {
        if (listening) {
          if (loaded) {
            loadHandler();
          } else {
            errorHandler();
          }
        }
      });
  } else {
    listenerKeys.push(listenOnce(img, events_EventType.ERROR, errorHandler));
  }

  return function unlisten() {
    listening = false;
    listenerKeys.forEach(unlistenByKey);
  };
}

/**
 * Loads an image.
 * @param {HTMLImageElement} image Image, not yet loaded.
 * @param {string} [src] `src` attribute of the image. Optional, not required if already present.
 * @return {Promise<HTMLImageElement>} Promise resolving to an `HTMLImageElement`.
 * @api
 */
function load(image, src) {
  return new Promise((resolve, reject) => {
    function handleLoad() {
      unlisten();
      resolve(image);
    }
    function handleError() {
      unlisten();
      reject(new Error('Image load error'));
    }
    function unlisten() {
      image.removeEventListener('load', handleLoad);
      image.removeEventListener('error', handleError);
    }
    image.addEventListener('load', handleLoad);
    image.addEventListener('error', handleError);
    if (src) {
      image.src = src;
    }
  });
}

/**
 * @param {HTMLImageElement} image Image, not yet loaded.
 * @param {string} [src] `src` attribute of the image. Optional, not required if already present.
 * @return {Promise<HTMLImageElement>} Promise resolving to an `HTMLImageElement`.
 */
function decodeFallback(image, src) {
  if (src) {
    image.src = src;
  }
  return image.src && has_IMAGE_DECODE
    ? new Promise((resolve, reject) =>
        image
          .decode()
          .then(() => resolve(image))
          .catch((e) =>
            image.complete && image.width ? resolve(image) : reject(e),
          ),
      )
    : load(image);
}

/**
 * Loads an image and decodes it to an `ImageBitmap` if `createImageBitmap()` is supported. Returns
 * the loaded image otherwise.
 * @param {HTMLImageElement} image Image, not yet loaded.
 * @param {string} [src] `src` attribute of the image. Optional, not required if already present.
 * @return {Promise<ImageBitmap|HTMLImageElement>} Promise resolving to an `ImageBitmap` or an
 * `HTMLImageElement` if `createImageBitmap()` is not supported.
 * @api
 */
function decode(image, src) {
  if (src) {
    image.src = src;
  }
  return image.src && IMAGE_DECODE && CREATE_IMAGE_BITMAP
    ? image
        .decode()
        .then(() => createImageBitmap(image))
        .catch((e) => {
          if (image.complete && image.width) {
            return image;
          }
          throw e;
        })
    : decodeFallback(image);
}

/* harmony default export */ const ol_Image = ((/* unused pure expression or super */ null && (ImageWrapper)));

;// CONCATENATED MODULE: ./node_modules/ol/style/IconImageCache.js
/**
 * @module ol/style/IconImageCache
 */




/**
 * @classdesc
 * Singleton class. Available through {@link module:ol/style/IconImageCache.shared}.
 */
class IconImageCache {
  constructor() {
    /**
     * @type {!Object<string, import("./IconImage.js").default>}
     * @private
     */
    this.cache_ = {};

    /**
     * @type {!Object<string, CanvasPattern>}
     * @private
     */
    this.patternCache_ = {};

    /**
     * @type {number}
     * @private
     */
    this.cacheSize_ = 0;

    /**
     * @type {number}
     * @private
     */
    this.maxCacheSize_ = 1024;
  }

  /**
   * FIXME empty description for jsdoc
   */
  clear() {
    this.cache_ = {};
    this.patternCache_ = {};
    this.cacheSize_ = 0;
  }

  /**
   * @return {boolean} Can expire cache.
   */
  canExpireCache() {
    return this.cacheSize_ > this.maxCacheSize_;
  }

  /**
   * FIXME empty description for jsdoc
   */
  expire() {
    if (this.canExpireCache()) {
      let i = 0;
      for (const key in this.cache_) {
        const iconImage = this.cache_[key];
        if ((i++ & 3) === 0 && !iconImage.hasListener()) {
          delete this.cache_[key];
          delete this.patternCache_[key];
          --this.cacheSize_;
        }
      }
    }
  }

  /**
   * @param {string} src Src.
   * @param {?string} crossOrigin Cross origin.
   * @param {import("../color.js").Color|string|null} color Color.
   * @return {import("./IconImage.js").default} Icon image.
   */
  get(src, crossOrigin, color) {
    const key = getCacheKey(src, crossOrigin, color);
    return key in this.cache_ ? this.cache_[key] : null;
  }

  /**
   * @param {string} src Src.
   * @param {?string} crossOrigin Cross origin.
   * @param {import("../color.js").Color|string|null} color Color.
   * @return {CanvasPattern} Icon image.
   */
  getPattern(src, crossOrigin, color) {
    const key = getCacheKey(src, crossOrigin, color);
    return key in this.patternCache_ ? this.patternCache_[key] : null;
  }

  /**
   * @param {string} src Src.
   * @param {?string} crossOrigin Cross origin.
   * @param {import("../color.js").Color|string|null} color Color.
   * @param {import("./IconImage.js").default|null} iconImage Icon image.
   * @param {boolean} [pattern] Also cache a `'repeat'` pattern with this `iconImage`.
   */
  set(src, crossOrigin, color, iconImage, pattern) {
    const key = getCacheKey(src, crossOrigin, color);
    const update = key in this.cache_;
    this.cache_[key] = iconImage;
    if (pattern) {
      if (iconImage.getImageState() === ol_ImageState.IDLE) {
        iconImage.load();
      }
      if (iconImage.getImageState() === ol_ImageState.LOADING) {
        iconImage.ready().then(() => {
          this.patternCache_[key] = getSharedCanvasContext2D().createPattern(
            iconImage.getImage(1),
            'repeat',
          );
        });
      } else {
        this.patternCache_[key] = getSharedCanvasContext2D().createPattern(
          iconImage.getImage(1),
          'repeat',
        );
      }
    }
    if (!update) {
      ++this.cacheSize_;
    }
  }

  /**
   * Set the cache size of the icon cache. Default is `1024`. Change this value when
   * your map uses more than 1024 different icon images and you are not caching icon
   * styles on the application level.
   * @param {number} maxCacheSize Cache max size.
   * @api
   */
  setSize(maxCacheSize) {
    this.maxCacheSize_ = maxCacheSize;
    this.expire();
  }
}

/**
 * @param {string} src Src.
 * @param {?string} crossOrigin Cross origin.
 * @param {import("../color.js").Color|string|null} color Color.
 * @return {string} Cache key.
 */
function getCacheKey(src, crossOrigin, color) {
  const colorString = color ? asArray(color) : 'null';
  return crossOrigin + ':' + src + ':' + colorString;
}

/* harmony default export */ const style_IconImageCache = ((/* unused pure expression or super */ null && (IconImageCache)));

/**
 * The {@link module:ol/style/IconImageCache~IconImageCache} for
 * {@link module:ol/style/Icon~Icon} images.
 * @api
 */
const shared = new IconImageCache();

;// CONCATENATED MODULE: ./node_modules/ol/style/IconImage.js
/**
 * @module ol/style/IconImage
 */









/**
 * @type {CanvasRenderingContext2D}
 */
let taintedTestContext = null;

class IconImage extends events_Target {
  /**
   * @param {HTMLImageElement|HTMLCanvasElement|ImageBitmap|null} image Image.
   * @param {string|undefined} src Src.
   * @param {?string} crossOrigin Cross origin.
   * @param {import("../ImageState.js").default|undefined} imageState Image state.
   * @param {import("../color.js").Color|string|null} color Color.
   */
  constructor(image, src, crossOrigin, imageState, color) {
    super();

    /**
     * @private
     * @type {HTMLImageElement|HTMLCanvasElement|ImageBitmap}
     */
    this.hitDetectionImage_ = null;

    /**
     * @private
     * @type {HTMLImageElement|HTMLCanvasElement|ImageBitmap|null}
     */
    this.image_ = image;

    /**
     * @private
     * @type {string|null}
     */
    this.crossOrigin_ = crossOrigin;

    /**
     * @private
     * @type {Object<number, HTMLCanvasElement>}
     */
    this.canvas_ = {};

    /**
     * @private
     * @type {import("../color.js").Color|string|null}
     */
    this.color_ = color;

    /**
     * @private
     * @type {import("../ImageState.js").default}
     */
    this.imageState_ = imageState === undefined ? ol_ImageState.IDLE : imageState;

    /**
     * @private
     * @type {import("../size.js").Size|null}
     */
    this.size_ =
      image && image.width && image.height ? [image.width, image.height] : null;

    /**
     * @private
     * @type {string|undefined}
     */
    this.src_ = src;

    /**
     * @private
     */
    this.tainted_;

    /**
     * @private
     * @type {Promise<void>|null}
     */
    this.ready_ = null;
  }

  /**
   * @private
   */
  initializeImage_() {
    this.image_ = new Image();
    if (this.crossOrigin_ !== null) {
      this.image_.crossOrigin = this.crossOrigin_;
    }
  }

  /**
   * @private
   * @return {boolean} The image canvas is tainted.
   */
  isTainted_() {
    if (this.tainted_ === undefined && this.imageState_ === ol_ImageState.LOADED) {
      if (!taintedTestContext) {
        taintedTestContext = dom_createCanvasContext2D(1, 1, undefined, {
          willReadFrequently: true,
        });
      }
      taintedTestContext.drawImage(this.image_, 0, 0);
      try {
        taintedTestContext.getImageData(0, 0, 1, 1);
        this.tainted_ = false;
      } catch {
        taintedTestContext = null;
        this.tainted_ = true;
      }
    }
    return this.tainted_ === true;
  }

  /**
   * @private
   */
  dispatchChangeEvent_() {
    this.dispatchEvent(events_EventType.CHANGE);
  }

  /**
   * @private
   */
  handleImageError_() {
    this.imageState_ = ol_ImageState.ERROR;
    this.dispatchChangeEvent_();
  }

  /**
   * @private
   */
  handleImageLoad_() {
    this.imageState_ = ol_ImageState.LOADED;
    this.size_ = [this.image_.width, this.image_.height];
    this.dispatchChangeEvent_();
  }

  /**
   * @param {number} pixelRatio Pixel ratio.
   * @return {HTMLImageElement|HTMLCanvasElement|ImageBitmap} Image or Canvas element or image bitmap.
   */
  getImage(pixelRatio) {
    if (!this.image_) {
      this.initializeImage_();
    }
    this.replaceColor_(pixelRatio);
    return this.canvas_[pixelRatio] ? this.canvas_[pixelRatio] : this.image_;
  }

  /**
   * @param {number} pixelRatio Pixel ratio.
   * @return {number} Image or Canvas element.
   */
  getPixelRatio(pixelRatio) {
    this.replaceColor_(pixelRatio);
    return this.canvas_[pixelRatio] ? pixelRatio : 1;
  }

  /**
   * @return {import("../ImageState.js").default} Image state.
   */
  getImageState() {
    return this.imageState_;
  }

  /**
   * @return {HTMLImageElement|HTMLCanvasElement|ImageBitmap} Image element.
   */
  getHitDetectionImage() {
    if (!this.image_) {
      this.initializeImage_();
    }
    if (!this.hitDetectionImage_) {
      if (this.isTainted_()) {
        const width = this.size_[0];
        const height = this.size_[1];
        const context = dom_createCanvasContext2D(width, height);
        context.fillRect(0, 0, width, height);
        this.hitDetectionImage_ = context.canvas;
      } else {
        this.hitDetectionImage_ = this.image_;
      }
    }
    return this.hitDetectionImage_;
  }

  /**
   * Get the size of the icon (in pixels).
   * @return {import("../size.js").Size} Image size.
   */
  getSize() {
    return this.size_;
  }

  /**
   * @return {string|undefined} Image src.
   */
  getSrc() {
    return this.src_;
  }

  /**
   * Load not yet loaded URI.
   */
  load() {
    if (this.imageState_ !== ol_ImageState.IDLE) {
      return;
    }
    if (!this.image_) {
      this.initializeImage_();
    }

    this.imageState_ = ol_ImageState.LOADING;
    try {
      if (this.src_ !== undefined) {
        /** @type {HTMLImageElement} */ (this.image_).src = this.src_;
      }
    } catch {
      this.handleImageError_();
    }
    if (this.image_ instanceof HTMLImageElement) {
      decodeFallback(this.image_, this.src_)
        .then((image) => {
          this.image_ = image;
          this.handleImageLoad_();
        })
        .catch(this.handleImageError_.bind(this));
    }
  }

  /**
   * @param {number} pixelRatio Pixel ratio.
   * @private
   */
  replaceColor_(pixelRatio) {
    if (
      !this.color_ ||
      this.canvas_[pixelRatio] ||
      this.imageState_ !== ol_ImageState.LOADED
    ) {
      return;
    }

    const image = this.image_;
    const ctx = dom_createCanvasContext2D(
      Math.ceil(image.width * pixelRatio),
      Math.ceil(image.height * pixelRatio),
    );
    const canvas = ctx.canvas;

    ctx.scale(pixelRatio, pixelRatio);
    ctx.drawImage(image, 0, 0);

    ctx.globalCompositeOperation = 'multiply';
    ctx.fillStyle = asString(this.color_);
    ctx.fillRect(0, 0, canvas.width / pixelRatio, canvas.height / pixelRatio);

    ctx.globalCompositeOperation = 'destination-in';
    ctx.drawImage(image, 0, 0);

    this.canvas_[pixelRatio] = canvas;
  }

  /**
   * @return {Promise<void>} Promise that resolves when the image is loaded.
   */
  ready() {
    if (!this.ready_) {
      this.ready_ = new Promise((resolve) => {
        if (
          this.imageState_ === ol_ImageState.LOADED ||
          this.imageState_ === ol_ImageState.ERROR
        ) {
          resolve();
        } else {
          const onChange = () => {
            if (
              this.imageState_ === ol_ImageState.LOADED ||
              this.imageState_ === ol_ImageState.ERROR
            ) {
              this.removeEventListener(events_EventType.CHANGE, onChange);
              resolve();
            }
          };
          this.addEventListener(events_EventType.CHANGE, onChange);
        }
      });
    }
    return this.ready_;
  }
}

/**
 * @param {HTMLImageElement|HTMLCanvasElement|ImageBitmap|null} image Image.
 * @param {string|undefined} cacheKey Src.
 * @param {?string} crossOrigin Cross origin.
 * @param {import("../ImageState.js").default|undefined} imageState Image state.
 * @param {import("../color.js").Color|string|null} color Color.
 * @param {boolean} [pattern] Also cache a `repeat` pattern with the icon image.
 * @return {IconImage} Icon image.
 */
function IconImage_get(image, cacheKey, crossOrigin, imageState, color, pattern) {
  let iconImage =
    cacheKey === undefined
      ? undefined
      : shared.get(cacheKey, crossOrigin, color);
  if (!iconImage) {
    iconImage = new IconImage(
      image,
      image && 'src' in image ? image.src || undefined : cacheKey,
      crossOrigin,
      imageState,
      color,
    );
    shared.set(cacheKey, crossOrigin, color, iconImage, pattern);
  }
  if (
    pattern &&
    iconImage &&
    !shared.getPattern(cacheKey, crossOrigin, color)
  ) {
    shared.set(cacheKey, crossOrigin, color, iconImage, pattern);
  }
  return iconImage;
}

/* harmony default export */ const style_IconImage = (IconImage);

;// CONCATENATED MODULE: ./node_modules/ol/colorlike.js
/**
 * @module ol/colorlike
 */






/**
 * @typedef {Object} PatternDescriptor
 * @property {string} src Pattern image URL
 * @property {import("./color.js").Color|string} [color] Color to tint the pattern with.
 * @property {import("./size.js").Size} [size] Size of the desired slice from the pattern image.
 * Use this together with `offset` when the pattern image is a sprite sheet.
 * @property {import("./size.js").Size} [offset] Offset of the desired slice from the pattern image.
 * Use this together with `size` when the pattern image is a sprite sheet.
 */

/**
 * A type accepted by CanvasRenderingContext2D.fillStyle
 * or CanvasRenderingContext2D.strokeStyle.
 * Represents a color, [CanvasPattern](https://developer.mozilla.org/en-US/docs/Web/API/CanvasPattern),
 * or [CanvasGradient](https://developer.mozilla.org/en-US/docs/Web/API/CanvasGradient). The origin for
 * patterns and gradients as fill style is an increment of 512 css pixels from map coordinate
 * `[0, 0]`. For seamless repeat patterns, width and height of the pattern image
 * must be a factor of two (2, 4, 8, ..., 512).
 *
 * @typedef {string|CanvasPattern|CanvasGradient} ColorLike
 * @api
 */

/**
 * @param {import("./color.js").Color|ColorLike|PatternDescriptor|null} color Color.
 * @return {ColorLike|null} The color as an {@link ol/colorlike~ColorLike}.
 * @api
 */
function asColorLike(color) {
  if (!color) {
    return null;
  }
  if (Array.isArray(color)) {
    return color_toString(color);
  }
  if (typeof color === 'object' && 'src' in color) {
    return asCanvasPattern(color);
  }
  return color;
}

/**
 * @param {PatternDescriptor} pattern Pattern descriptor.
 * @return {CanvasPattern|null} Canvas pattern or null if the pattern referenced in the
 * PatternDescriptor was not found in the icon image cache.
 */
function asCanvasPattern(pattern) {
  if (!pattern.offset || !pattern.size) {
    return shared.getPattern(pattern.src, 'anonymous', pattern.color);
  }

  const cacheKey = pattern.src + ':' + pattern.offset;

  const canvasPattern = shared.getPattern(
    cacheKey,
    undefined,
    pattern.color,
  );
  if (canvasPattern) {
    return canvasPattern;
  }

  const iconImage = shared.get(pattern.src, 'anonymous', null);
  if (iconImage.getImageState() !== ol_ImageState.LOADED) {
    return null;
  }
  const patternCanvasContext = dom_createCanvasContext2D(
    pattern.size[0],
    pattern.size[1],
  );
  patternCanvasContext.drawImage(
    iconImage.getImage(1),
    pattern.offset[0],
    pattern.offset[1],
    pattern.size[0],
    pattern.size[1],
    0,
    0,
    pattern.size[0],
    pattern.size[1],
  );
  IconImage_get(
    patternCanvasContext.canvas,
    cacheKey,
    undefined,
    ol_ImageState.LOADED,
    pattern.color,
    true,
  );
  return shared.getPattern(cacheKey, undefined, pattern.color);
}

;// CONCATENATED MODULE: ./node_modules/ol/render/canvas.js
/**
 * @module ol/render/canvas
 */






/**
 * @typedef {'Circle' | 'Image' | 'LineString' | 'Polygon' | 'Text' | 'Default'} BuilderType
 */

/**
 * @typedef {Object} FillState
 * @property {import("../colorlike.js").ColorLike} fillStyle FillStyle.
 */

/**
 * @typedef Label
 * @property {number} width Width.
 * @property {number} height Height.
 * @property {Array<string|number>} contextInstructions ContextInstructions.
 */

/**
 * @typedef {Object} FillStrokeState
 * @property {import("../colorlike.js").ColorLike} [currentFillStyle] Current FillStyle.
 * @property {import("../colorlike.js").ColorLike} [currentStrokeStyle] Current StrokeStyle.
 * @property {CanvasLineCap} [currentLineCap] Current LineCap.
 * @property {Array<number>} currentLineDash Current LineDash.
 * @property {number} [currentLineDashOffset] Current LineDashOffset.
 * @property {CanvasLineJoin} [currentLineJoin] Current LineJoin.
 * @property {number} [currentLineWidth] Current LineWidth.
 * @property {number} [currentMiterLimit] Current MiterLimit.
 * @property {number} [lastStroke] Last stroke.
 * @property {import("../colorlike.js").ColorLike} [fillStyle] FillStyle.
 * @property {import("../colorlike.js").ColorLike} [strokeStyle] StrokeStyle.
 * @property {CanvasLineCap} [lineCap] LineCap.
 * @property {Array<number>} lineDash LineDash.
 * @property {number} [lineDashOffset] LineDashOffset.
 * @property {CanvasLineJoin} [lineJoin] LineJoin.
 * @property {number} [lineWidth] LineWidth.
 * @property {number} [miterLimit] MiterLimit.
 * @property {number} [fillPatternScale] Fill pattern scale.
 */

/**
 * @typedef {Object} StrokeState
 * @property {CanvasLineCap} lineCap LineCap.
 * @property {Array<number>} lineDash LineDash.
 * @property {number} lineDashOffset LineDashOffset.
 * @property {CanvasLineJoin} lineJoin LineJoin.
 * @property {number} lineWidth LineWidth.
 * @property {number} miterLimit MiterLimit.
 * @property {import("../colorlike.js").ColorLike} strokeStyle StrokeStyle.
 */

/**
 * @typedef {Object} TextState
 * @property {string} font Font.
 * @property {CanvasTextAlign} [textAlign] TextAlign.
 * @property {number} [repeat] Repeat.
 * @property {import("../style/Text.js").TextJustify} [justify] Justify.
 * @property {CanvasTextBaseline} textBaseline TextBaseline.
 * @property {import("../style/Text.js").TextPlacement} [placement] Placement.
 * @property {number} [maxAngle] MaxAngle.
 * @property {boolean} [overflow] Overflow.
 * @property {import("../style/Fill.js").default} [backgroundFill] BackgroundFill.
 * @property {import("../style/Stroke.js").default} [backgroundStroke] BackgroundStroke.
 * @property {import("../size.js").Size} [scale] Scale.
 * @property {Array<number>} [padding] Padding.
 */

/**
 * @typedef {Object} SerializableInstructions
 * @property {Array<*>} instructions The rendering instructions.
 * @property {Array<*>} hitDetectionInstructions The rendering hit detection instructions.
 * @property {Array<number>} coordinates The array of all coordinates.
 * @property {!Object<string, TextState>} [textStates] The text states (decluttering).
 * @property {!Object<string, FillState>} [fillStates] The fill states (decluttering).
 * @property {!Object<string, StrokeState>} [strokeStates] The stroke states (decluttering).
 */

/**
 * @typedef {Object<number, import("./canvas/Executor.js").ReplayImageOrLabelArgs>} DeclutterImageWithText
 */

/**
 * @const
 * @type {string}
 */
const defaultFont = '10px sans-serif';

/**
 * @const
 * @type {string}
 */
const defaultFillStyle = '#000';

/**
 * @const
 * @type {CanvasLineCap}
 */
const defaultLineCap = 'round';

/**
 * @const
 * @type {Array<number>}
 */
const defaultLineDash = [];

/**
 * @const
 * @type {number}
 */
const defaultLineDashOffset = 0;

/**
 * @const
 * @type {CanvasLineJoin}
 */
const defaultLineJoin = 'round';

/**
 * @const
 * @type {number}
 */
const defaultMiterLimit = 10;

/**
 * @const
 * @type {import("../colorlike.js").ColorLike}
 */
const defaultStrokeStyle = '#000';

/**
 * @const
 * @type {CanvasTextAlign}
 */
const defaultTextAlign = 'center';

/**
 * @const
 * @type {CanvasTextBaseline}
 */
const defaultTextBaseline = 'middle';

/**
 * @const
 * @type {Array<number>}
 */
const defaultPadding = [0, 0, 0, 0];

/**
 * @const
 * @type {number}
 */
const defaultLineWidth = 1;

/**
 * @type {BaseObject}
 */
const checkedFonts = new ol_Object();

/**
 * @type {CanvasRenderingContext2D}
 */
let measureContext = null;

/**
 * @type {string}
 */
let measureFont;

/**
 * @type {!Object<string, number>}
 */
const textHeights = {};

/**
 * Clears the label cache when a font becomes available.
 * @param {string} fontSpec CSS font spec.
 */
const registerFont = (function () {
  const retries = 100;
  const size = '32px ';
  const referenceFonts = ['monospace', 'serif'];
  const len = referenceFonts.length;
  const text = 'wmytzilWMYTZIL@#/&?$%10\uF013';
  let interval, referenceWidth;

  /**
   * @param {string} fontStyle Css font-style
   * @param {string} fontWeight Css font-weight
   * @param {*} fontFamily Css font-family
   * @return {boolean} Font with style and weight is available
   */
  function isAvailable(fontStyle, fontWeight, fontFamily) {
    let available = true;
    for (let i = 0; i < len; ++i) {
      const referenceFont = referenceFonts[i];
      referenceWidth = measureTextWidth(
        fontStyle + ' ' + fontWeight + ' ' + size + referenceFont,
        text,
      );
      if (fontFamily != referenceFont) {
        const width = measureTextWidth(
          fontStyle +
            ' ' +
            fontWeight +
            ' ' +
            size +
            fontFamily +
            ',' +
            referenceFont,
          text,
        );
        // If width and referenceWidth are the same, then the fallback was used
        // instead of the font we wanted, so the font is not available.
        available = available && width != referenceWidth;
      }
    }
    if (available) {
      return true;
    }
    return false;
  }

  function check() {
    let done = true;
    const fonts = checkedFonts.getKeys();
    for (let i = 0, ii = fonts.length; i < ii; ++i) {
      const font = fonts[i];
      if (checkedFonts.get(font) < retries) {
        const [style, weight, family] = font.split('\n');
        if (isAvailable(style, weight, family)) {
          clear(textHeights);
          // Make sure that loaded fonts are picked up by Safari
          measureContext = null;
          measureFont = undefined;
          checkedFonts.set(font, retries);
        } else {
          checkedFonts.set(font, checkedFonts.get(font) + 1, true);
          done = false;
        }
      }
    }
    if (done) {
      clearInterval(interval);
      interval = undefined;
    }
  }

  return function (fontSpec) {
    const font = getFontParameters(fontSpec);
    if (!font) {
      return;
    }
    const families = font.families;
    for (let i = 0, ii = families.length; i < ii; ++i) {
      const family = families[i];
      const key = font.style + '\n' + font.weight + '\n' + family;
      if (checkedFonts.get(key) === undefined) {
        checkedFonts.set(key, retries, true);
        if (!isAvailable(font.style, font.weight, family)) {
          checkedFonts.set(key, 0, true);
          if (interval === undefined) {
            interval = setInterval(check, 32);
          }
        }
      }
    }
  };
})();

/**
 * @param {string} font Font to use for measuring.
 * @return {import("../size.js").Size} Measurement.
 */
const measureTextHeight = (function () {
  /**
   * @type {HTMLDivElement}
   */
  let measureElement;
  return function (fontSpec) {
    let height = textHeights[fontSpec];
    if (height == undefined) {
      if (WORKER_OFFSCREEN_CANVAS) {
        const font = getFontParameters(fontSpec);
        const metrics = measureText(fontSpec, 'Žg');
        const lineHeight = isNaN(Number(font.lineHeight))
          ? 1.2
          : Number(font.lineHeight);
        height =
          lineHeight *
          (metrics.actualBoundingBoxAscent + metrics.actualBoundingBoxDescent);
      } else {
        if (!measureElement) {
          measureElement = document.createElement('div');
          measureElement.innerHTML = 'M';
          measureElement.style.minHeight = '0';
          measureElement.style.maxHeight = 'none';
          measureElement.style.height = 'auto';
          measureElement.style.padding = '0';
          measureElement.style.border = 'none';
          measureElement.style.position = 'absolute';
          measureElement.style.display = 'block';
          measureElement.style.left = '-99999px';
        }
        measureElement.style.font = fontSpec;
        document.body.appendChild(measureElement);
        height = measureElement.offsetHeight;
        document.body.removeChild(measureElement);
      }
      textHeights[fontSpec] = height;
    }
    return height;
  };
})();

/**
 * @param {string} font Font.
 * @param {string} text Text.
 * @return {TextMetrics} Text metrics.
 */
function measureText(font, text) {
  if (!measureContext) {
    measureContext = dom_createCanvasContext2D(1, 1);
  }
  if (font != measureFont) {
    measureContext.font = font;
    measureFont = measureContext.font;
  }
  return measureContext.measureText(text);
}

/**
 * @param {string} font Font.
 * @param {string} text Text.
 * @return {number} Width.
 */
function measureTextWidth(font, text) {
  return measureText(font, text).width;
}

/**
 * Measure text width using a cache.
 * @param {string} font The font.
 * @param {string} text The text to measure.
 * @param {Object<string, number>} cache A lookup of cached widths by text.
 * @return {number} The text width.
 */
function measureAndCacheTextWidth(font, text, cache) {
  if (text in cache) {
    return cache[text];
  }
  const width = text
    .split('\n')
    .reduce((prev, curr) => Math.max(prev, measureTextWidth(font, curr)), 0);
  cache[text] = width;
  return width;
}

/**
 * @param {TextState} baseStyle Base style.
 * @param {Array<string>} chunks Text chunks to measure.
 * @return {{width: number, height: number, widths: Array<number>, heights: Array<number>, lineWidths: Array<number>}}} Text metrics.
 */
function getTextDimensions(baseStyle, chunks) {
  const widths = [];
  const heights = [];
  const lineWidths = [];
  let width = 0;
  let lineWidth = 0;
  let height = 0;
  let lineHeight = 0;
  for (let i = 0, ii = chunks.length; i <= ii; i += 2) {
    const text = chunks[i];
    if (text === '\n' || i === ii) {
      width = Math.max(width, lineWidth);
      lineWidths.push(lineWidth);
      lineWidth = 0;
      height += lineHeight;
      lineHeight = 0;
      continue;
    }
    const font = chunks[i + 1] || baseStyle.font;
    const currentWidth = measureTextWidth(font, text);
    widths.push(currentWidth);
    lineWidth += currentWidth;
    const currentHeight = measureTextHeight(font);
    heights.push(currentHeight);
    lineHeight = Math.max(lineHeight, currentHeight);
  }
  return {width, height, widths, heights, lineWidths};
}

/**
 * @param {CanvasRenderingContext2D} context Context.
 * @param {number} rotation Rotation.
 * @param {number} offsetX X offset.
 * @param {number} offsetY Y offset.
 */
function rotateAtOffset(context, rotation, offsetX, offsetY) {
  if (rotation !== 0) {
    context.translate(offsetX, offsetY);
    context.rotate(rotation);
    context.translate(-offsetX, -offsetY);
  }
}

/**
 * @param {CanvasRenderingContext2D|import("../render/canvas/ZIndexContext.js").ZIndexContextProxy} context Context.
 * @param {import("../transform.js").Transform|null} transform Transform.
 * @param {number} opacity Opacity.
 * @param {Label|HTMLCanvasElement|HTMLImageElement|HTMLVideoElement} labelOrImage Label.
 * @param {number} originX Origin X.
 * @param {number} originY Origin Y.
 * @param {number} w Width.
 * @param {number} h Height.
 * @param {number} x X.
 * @param {number} y Y.
 * @param {import("../size.js").Size} scale Scale.
 */
function drawImageOrLabel(
  context,
  transform,
  opacity,
  labelOrImage,
  originX,
  originY,
  w,
  h,
  x,
  y,
  scale,
) {
  context.save();

  if (opacity !== 1) {
    if (context.globalAlpha === undefined) {
      context.globalAlpha = (context) => (context.globalAlpha *= opacity);
    } else {
      context.globalAlpha *= opacity;
    }
  }
  if (transform) {
    context.transform.apply(context, transform);
  }

  if (/** @type {*} */ (labelOrImage).contextInstructions) {
    // label
    context.translate(x, y);
    context.scale(scale[0], scale[1]);
    executeLabelInstructions(/** @type {Label} */ (labelOrImage), context);
  } else if (scale[0] < 0 || scale[1] < 0) {
    // flipped image
    context.translate(x, y);
    context.scale(scale[0], scale[1]);
    context.drawImage(
      /** @type {HTMLCanvasElement|HTMLImageElement|HTMLVideoElement} */ (
        labelOrImage
      ),
      originX,
      originY,
      w,
      h,
      0,
      0,
      w,
      h,
    );
  } else {
    // if image not flipped translate and scale can be avoided
    context.drawImage(
      /** @type {HTMLCanvasElement|HTMLImageElement|HTMLVideoElement} */ (
        labelOrImage
      ),
      originX,
      originY,
      w,
      h,
      x,
      y,
      w * scale[0],
      h * scale[1],
    );
  }

  context.restore();
}

/**
 * @param {Label} label Label.
 * @param {CanvasRenderingContext2D} context Context.
 */
function executeLabelInstructions(label, context) {
  const contextInstructions = label.contextInstructions;
  for (let i = 0, ii = contextInstructions.length; i < ii; i += 2) {
    if (Array.isArray(contextInstructions[i + 1])) {
      context[contextInstructions[i]].apply(
        context,
        contextInstructions[i + 1],
      );
    } else {
      context[contextInstructions[i]] = contextInstructions[i + 1];
    }
  }
}

;// CONCATENATED MODULE: ./node_modules/ol/style/Image.js
/**
 * @module ol/style/Image
 */



/**
 * @typedef {Object} Options
 * @property {number} opacity Opacity.
 * @property {boolean} rotateWithView If the image should get rotated with the view.
 * @property {number} rotation Rotation.
 * @property {number|import("../size.js").Size} scale Scale.
 * @property {Array<number>} displacement Displacement.
 * @property {import('../style/Style.js').DeclutterMode} declutterMode Declutter mode: `declutter`, `obstacle`, `none`.
 */

/**
 * @classdesc
 * A base class used for creating subclasses and not instantiated in
 * apps. Base class for {@link module:ol/style/Icon~Icon}, {@link module:ol/style/Circle~CircleStyle} and
 * {@link module:ol/style/RegularShape~RegularShape}.
 * @abstract
 * @api
 */
class ImageStyle {
  /**
   * @param {Options} options Options.
   */
  constructor(options) {
    /**
     * @private
     * @type {number}
     */
    this.opacity_ = options.opacity;

    /**
     * @private
     * @type {boolean}
     */
    this.rotateWithView_ = options.rotateWithView;

    /**
     * @private
     * @type {number}
     */
    this.rotation_ = options.rotation;

    /**
     * @private
     * @type {number|import("../size.js").Size}
     */
    this.scale_ = options.scale;

    /**
     * @private
     * @type {import("../size.js").Size}
     */
    this.scaleArray_ = toSize(options.scale);

    /**
     * @private
     * @type {Array<number>}
     */
    this.displacement_ = options.displacement;

    /**
     * @private
     * @type {import('../style/Style.js').DeclutterMode}
     */
    this.declutterMode_ = options.declutterMode;
  }

  /**
   * Clones the style.
   * @return {ImageStyle} The cloned style.
   * @api
   */
  clone() {
    const scale = this.getScale();
    return new ImageStyle({
      opacity: this.getOpacity(),
      scale: Array.isArray(scale) ? scale.slice() : scale,
      rotation: this.getRotation(),
      rotateWithView: this.getRotateWithView(),
      displacement: this.getDisplacement().slice(),
      declutterMode: this.getDeclutterMode(),
    });
  }

  /**
   * Get the symbolizer opacity.
   * @return {number} Opacity.
   * @api
   */
  getOpacity() {
    return this.opacity_;
  }

  /**
   * Determine whether the symbolizer rotates with the map.
   * @return {boolean} Rotate with map.
   * @api
   */
  getRotateWithView() {
    return this.rotateWithView_;
  }

  /**
   * Get the symoblizer rotation.
   * @return {number} Rotation.
   * @api
   */
  getRotation() {
    return this.rotation_;
  }

  /**
   * Get the symbolizer scale.
   * @return {number|import("../size.js").Size} Scale.
   * @api
   */
  getScale() {
    return this.scale_;
  }

  /**
   * Get the symbolizer scale array.
   * @return {import("../size.js").Size} Scale array.
   */
  getScaleArray() {
    return this.scaleArray_;
  }

  /**
   * Get the displacement of the shape
   * @return {Array<number>} Shape's center displacement
   * @api
   */
  getDisplacement() {
    return this.displacement_;
  }

  /**
   * Get the declutter mode of the shape
   * @return {import("./Style.js").DeclutterMode} Shape's declutter mode
   * @api
   */
  getDeclutterMode() {
    return this.declutterMode_;
  }

  /**
   * Get the anchor point in pixels. The anchor determines the center point for the
   * symbolizer.
   * @abstract
   * @return {Array<number>} Anchor.
   */
  getAnchor() {
    return util_abstract();
  }

  /**
   * Get the image element for the symbolizer.
   * @abstract
   * @param {number} pixelRatio Pixel ratio.
   * @return {import('../DataTile.js').ImageLike} Image element.
   */
  getImage(pixelRatio) {
    return util_abstract();
  }

  /**
   * @abstract
   * @return {import('../DataTile.js').ImageLike} Image element.
   */
  getHitDetectionImage() {
    return util_abstract();
  }

  /**
   * Get the image pixel ratio.
   * @param {number} pixelRatio Pixel ratio.
   * @return {number} Pixel ratio.
   */
  getPixelRatio(pixelRatio) {
    return 1;
  }

  /**
   * @abstract
   * @return {import("../ImageState.js").default} Image state.
   */
  getImageState() {
    return util_abstract();
  }

  /**
   * @abstract
   * @return {import("../size.js").Size} Image size.
   */
  getImageSize() {
    return util_abstract();
  }

  /**
   * Get the origin of the symbolizer.
   * @abstract
   * @return {Array<number>} Origin.
   */
  getOrigin() {
    return util_abstract();
  }

  /**
   * Get the size of the symbolizer (in pixels).
   * @abstract
   * @return {import("../size.js").Size} Size.
   */
  getSize() {
    return util_abstract();
  }

  /**
   * Set the displacement.
   *
   * @param {Array<number>} displacement Displacement.
   * @api
   */
  setDisplacement(displacement) {
    this.displacement_ = displacement;
  }

  /**
   * Set the opacity.
   *
   * @param {number} opacity Opacity.
   * @api
   */
  setOpacity(opacity) {
    this.opacity_ = opacity;
  }

  /**
   * Set whether to rotate the style with the view.
   *
   * @param {boolean} rotateWithView Rotate with map.
   * @api
   */
  setRotateWithView(rotateWithView) {
    this.rotateWithView_ = rotateWithView;
  }

  /**
   * Set the rotation.
   *
   * @param {number} rotation Rotation.
   * @api
   */
  setRotation(rotation) {
    this.rotation_ = rotation;
  }

  /**
   * Set the scale.
   *
   * @param {number|import("../size.js").Size} scale Scale.
   * @api
   */
  setScale(scale) {
    this.scale_ = scale;
    this.scaleArray_ = toSize(scale);
  }

  /**
   * @abstract
   * @param {function(import("../events/Event.js").default): void} listener Listener function.
   */
  listenImageChange(listener) {
    util_abstract();
  }

  /**
   * Load not yet loaded URI.
   * @abstract
   */
  load() {
    util_abstract();
  }

  /**
   * @abstract
   * @param {function(import("../events/Event.js").default): void} listener Listener function.
   */
  unlistenImageChange(listener) {
    util_abstract();
  }

  /**
   * @return {Promise<void>} `false` or Promise that resolves when the style is ready to use.
   */
  ready() {
    return Promise.resolve();
  }
}

/* harmony default export */ const style_Image = (ImageStyle);

;// CONCATENATED MODULE: ./node_modules/ol/style/RegularShape.js
/**
 * @module ol/style/RegularShape
 */










/**
 * Specify radius for regular polygons, or both radius and radius2 for stars.
 * @typedef {Object} Options
 * @property {import("./Fill.js").default} [fill] Fill style.
 * @property {number} points Number of points for stars and regular polygons. In case of a polygon, the number of points
 * is the number of sides.
 * @property {number} radius Radius of a regular polygon.
 * @property {number} [radius2] Second radius to make a star instead of a regular polygon.
 * @property {number} [angle=0] Shape's angle in radians. A value of 0 will have one of the shape's points facing up.
 * @property {Array<number>} [displacement=[0, 0]] Displacement of the shape in pixels.
 * Positive values will shift the shape right and up.
 * @property {import("./Stroke.js").default} [stroke] Stroke style.
 * @property {number} [rotation=0] Rotation in radians (positive rotation clockwise).
 * @property {boolean} [rotateWithView=false] Whether to rotate the shape with the view.
 * @property {number|import("../size.js").Size} [scale=1] Scale. Unless two dimensional scaling is required a better
 * result may be obtained with appropriate settings for `radius` and `radius2`.
 * @property {import('./Style.js').DeclutterMode} [declutterMode] Declutter mode.
 */

/**
 * @typedef {Object} RenderOptions
 * @property {import("../colorlike.js").ColorLike|undefined} strokeStyle StrokeStyle.
 * @property {number} strokeWidth StrokeWidth.
 * @property {number} size Size.
 * @property {CanvasLineCap} lineCap LineCap.
 * @property {Array<number>|null} lineDash LineDash.
 * @property {number} lineDashOffset LineDashOffset.
 * @property {CanvasLineJoin} lineJoin LineJoin.
 * @property {number} miterLimit MiterLimit.
 */

/**
 * @classdesc
 * Set regular shape style for vector features. The resulting shape will be
 * a regular polygon when `radius` is provided, or a star when both `radius` and
 * `radius2` are provided.
 * @api
 */
class RegularShape extends style_Image {
  /**
   * @param {Options} options Options.
   */
  constructor(options) {
    super({
      opacity: 1,
      rotateWithView:
        options.rotateWithView !== undefined ? options.rotateWithView : false,
      rotation: options.rotation !== undefined ? options.rotation : 0,
      scale: options.scale !== undefined ? options.scale : 1,
      displacement:
        options.displacement !== undefined ? options.displacement : [0, 0],
      declutterMode: options.declutterMode,
    });

    /**
     * @private
     * @type {HTMLCanvasElement|null}
     */
    this.hitDetectionCanvas_ = null;

    /**
     * @private
     * @type {import("./Fill.js").default|null}
     */
    this.fill_ = options.fill !== undefined ? options.fill : null;

    /**
     * @private
     * @type {Array<number>}
     */
    this.origin_ = [0, 0];

    /**
     * @private
     * @type {number}
     */
    this.points_ = options.points;

    /**
     * @protected
     * @type {number}
     */
    this.radius = options.radius;

    /**
     * @private
     * @type {number|undefined}
     */
    this.radius2_ = options.radius2;

    /**
     * @private
     * @type {number}
     */
    this.angle_ = options.angle !== undefined ? options.angle : 0;

    /**
     * @private
     * @type {import("./Stroke.js").default|null}
     */
    this.stroke_ = options.stroke !== undefined ? options.stroke : null;

    /**
     * @private
     * @type {import("../size.js").Size}
     */
    this.size_;

    /**
     * @private
     * @type {RenderOptions}
     */
    this.renderOptions_;

    /**
     * @private
     */
    this.imageState_ =
      this.fill_ && this.fill_.loading()
        ? ol_ImageState.LOADING
        : ol_ImageState.LOADED;
    if (this.imageState_ === ol_ImageState.LOADING) {
      this.ready().then(() => (this.imageState_ = ol_ImageState.LOADED));
    }
    this.render();
  }

  /**
   * Clones the style.
   * @return {RegularShape} The cloned style.
   * @api
   * @override
   */
  clone() {
    const scale = this.getScale();
    const style = new RegularShape({
      fill: this.getFill() ? this.getFill().clone() : undefined,
      points: this.getPoints(),
      radius: this.getRadius(),
      radius2: this.getRadius2(),
      angle: this.getAngle(),
      stroke: this.getStroke() ? this.getStroke().clone() : undefined,
      rotation: this.getRotation(),
      rotateWithView: this.getRotateWithView(),
      scale: Array.isArray(scale) ? scale.slice() : scale,
      displacement: this.getDisplacement().slice(),
      declutterMode: this.getDeclutterMode(),
    });
    style.setOpacity(this.getOpacity());
    return style;
  }

  /**
   * Get the anchor point in pixels. The anchor determines the center point for the
   * symbolizer.
   * @return {Array<number>} Anchor.
   * @api
   * @override
   */
  getAnchor() {
    const size = this.size_;
    const displacement = this.getDisplacement();
    const scale = this.getScaleArray();
    // anchor is scaled by renderer but displacement should not be scaled
    // so divide by scale here
    return [
      size[0] / 2 - displacement[0] / scale[0],
      size[1] / 2 + displacement[1] / scale[1],
    ];
  }

  /**
   * Get the angle used in generating the shape.
   * @return {number} Shape's rotation in radians.
   * @api
   */
  getAngle() {
    return this.angle_;
  }

  /**
   * Get the fill style for the shape.
   * @return {import("./Fill.js").default|null} Fill style.
   * @api
   */
  getFill() {
    return this.fill_;
  }

  /**
   * Set the fill style.
   * @param {import("./Fill.js").default|null} fill Fill style.
   * @api
   */
  setFill(fill) {
    this.fill_ = fill;
    this.render();
  }

  /**
   * @return {HTMLCanvasElement} Image element.
   * @override
   */
  getHitDetectionImage() {
    if (!this.hitDetectionCanvas_) {
      this.hitDetectionCanvas_ = this.createHitDetectionCanvas_(
        this.renderOptions_,
      );
    }
    return this.hitDetectionCanvas_;
  }

  /**
   * Get the image icon.
   * @param {number} pixelRatio Pixel ratio.
   * @return {HTMLCanvasElement} Image or Canvas element.
   * @api
   * @override
   */
  getImage(pixelRatio) {
    const fillKey = this.fill_?.getKey();
    const cacheKey =
      `${pixelRatio},${this.angle_},${this.radius},${this.radius2_},${this.points_},${fillKey}` +
      Object.values(this.renderOptions_).join(',');
    let image = /** @type {HTMLCanvasElement} */ (
      shared.get(cacheKey, null, null)?.getImage(1)
    );
    if (!image) {
      const renderOptions = this.renderOptions_;
      const size = Math.ceil(renderOptions.size * pixelRatio);
      const context = dom_createCanvasContext2D(size, size);
      this.draw_(renderOptions, context, pixelRatio);

      image = context.canvas;
      shared.set(
        cacheKey,
        null,
        null,
        new style_IconImage(image, undefined, null, ol_ImageState.LOADED, null),
      );
    }
    return image;
  }

  /**
   * Get the image pixel ratio.
   * @param {number} pixelRatio Pixel ratio.
   * @return {number} Pixel ratio.
   * @override
   */
  getPixelRatio(pixelRatio) {
    return pixelRatio;
  }

  /**
   * @return {import("../size.js").Size} Image size.
   * @override
   */
  getImageSize() {
    return this.size_;
  }

  /**
   * @return {import("../ImageState.js").default} Image state.
   * @override
   */
  getImageState() {
    return this.imageState_;
  }

  /**
   * Get the origin of the symbolizer.
   * @return {Array<number>} Origin.
   * @api
   * @override
   */
  getOrigin() {
    return this.origin_;
  }

  /**
   * Get the number of points for generating the shape.
   * @return {number} Number of points for stars and regular polygons.
   * @api
   */
  getPoints() {
    return this.points_;
  }

  /**
   * Get the (primary) radius for the shape.
   * @return {number} Radius.
   * @api
   */
  getRadius() {
    return this.radius;
  }

  /**
   * Get the secondary radius for the shape.
   * @return {number|undefined} Radius2.
   * @api
   */
  getRadius2() {
    return this.radius2_;
  }

  /**
   * Get the size of the symbolizer (in pixels).
   * @return {import("../size.js").Size} Size.
   * @api
   * @override
   */
  getSize() {
    return this.size_;
  }

  /**
   * Get the stroke style for the shape.
   * @return {import("./Stroke.js").default|null} Stroke style.
   * @api
   */
  getStroke() {
    return this.stroke_;
  }

  /**
   * Set the stroke style.
   * @param {import("./Stroke.js").default|null} stroke Stroke style.
   * @api
   */
  setStroke(stroke) {
    this.stroke_ = stroke;
    this.render();
  }

  /**
   * @param {function(import("../events/Event.js").default): void} listener Listener function.
   * @override
   */
  listenImageChange(listener) {}

  /**
   * Load not yet loaded URI.
   * @override
   */
  load() {}

  /**
   * @param {function(import("../events/Event.js").default): void} listener Listener function.
   * @override
   */
  unlistenImageChange(listener) {}

  /**
   * Calculate additional canvas size needed for the miter.
   * @param {string} lineJoin Line join
   * @param {number} strokeWidth Stroke width
   * @param {number} miterLimit Miter limit
   * @return {number} Additional canvas size needed
   * @private
   */
  calculateLineJoinSize_(lineJoin, strokeWidth, miterLimit) {
    if (
      strokeWidth === 0 ||
      this.points_ === Infinity ||
      (lineJoin !== 'bevel' && lineJoin !== 'miter')
    ) {
      return strokeWidth;
    }
    // m  | ^
    // i  | |\                  .
    // t >|  #\
    // e  | |\ \              .
    // r      \s\
    //      |  \t\          .                 .
    //          \r\                      .   .
    //      |    \o\      .          .  . . .
    //          e \k\            .  .    . .
    //      |      \e\  .    .  .       . .
    //       d      \ \  .  .          . .
    //      | _ _a_ _\#  .            . .
    //   r1          / `             . .
    //      |                       . .
    //       b     /               . .
    //      |                     . .
    //           / r2            . .
    //      |                        .   .
    //         /                           .   .
    //      |α                                   .   .
    //       /                                         .   .
    //      ° center
    let r1 = this.radius;
    let r2 = this.radius2_ === undefined ? r1 : this.radius2_;
    if (r1 < r2) {
      const tmp = r1;
      r1 = r2;
      r2 = tmp;
    }
    const points =
      this.radius2_ === undefined ? this.points_ : this.points_ * 2;
    const alpha = (2 * Math.PI) / points;
    const a = r2 * Math.sin(alpha);
    const b = Math.sqrt(r2 * r2 - a * a);
    const d = r1 - b;
    const e = Math.sqrt(a * a + d * d);
    const miterRatio = e / a;
    if (lineJoin === 'miter' && miterRatio <= miterLimit) {
      return miterRatio * strokeWidth;
    }
    // Calculate the distance from center to the stroke corner where
    // it was cut short because of the miter limit.
    //              l
    //        ----+---- <= distance from center to here is maxr
    //       /####|k ##\
    //      /#####^#####\
    //     /#### /+\# s #\
    //    /### h/+++\# t #\
    //   /### t/+++++\# r #\
    //  /### a/+++++++\# o #\
    // /### p/++ fill +\# k #\
    ///#### /+++++^+++++\# e #\
    //#####/+++++/+\+++++\#####\
    const k = strokeWidth / 2 / miterRatio;
    const l = (strokeWidth / 2) * (d / e);
    const maxr = Math.sqrt((r1 + k) * (r1 + k) + l * l);
    const bevelAdd = maxr - r1;
    if (this.radius2_ === undefined || lineJoin === 'bevel') {
      return bevelAdd * 2;
    }
    // If outer miter is over the miter limit the inner miter may reach through the
    // center and be longer than the bevel, same calculation as above but swap r1 / r2.
    const aa = r1 * Math.sin(alpha);
    const bb = Math.sqrt(r1 * r1 - aa * aa);
    const dd = r2 - bb;
    const ee = Math.sqrt(aa * aa + dd * dd);
    const innerMiterRatio = ee / aa;
    if (innerMiterRatio <= miterLimit) {
      const innerLength = (innerMiterRatio * strokeWidth) / 2 - r2 - r1;
      return 2 * Math.max(bevelAdd, innerLength);
    }
    return bevelAdd * 2;
  }

  /**
   * @return {RenderOptions}  The render options
   * @protected
   */
  createRenderOptions() {
    let lineCap = defaultLineCap;
    let lineJoin = defaultLineJoin;
    let miterLimit = 0;
    let lineDash = null;
    let lineDashOffset = 0;
    let strokeStyle;
    let strokeWidth = 0;

    if (this.stroke_) {
      strokeStyle = asColorLike(this.stroke_.getColor() ?? defaultStrokeStyle);
      strokeWidth = this.stroke_.getWidth() ?? defaultLineWidth;
      lineDash = this.stroke_.getLineDash();
      lineDashOffset = this.stroke_.getLineDashOffset() ?? 0;
      lineJoin = this.stroke_.getLineJoin() ?? defaultLineJoin;
      lineCap = this.stroke_.getLineCap() ?? defaultLineCap;
      miterLimit = this.stroke_.getMiterLimit() ?? defaultMiterLimit;
    }

    const add = this.calculateLineJoinSize_(lineJoin, strokeWidth, miterLimit);
    const maxRadius = Math.max(this.radius, this.radius2_ || 0);
    const size = Math.ceil(2 * maxRadius + add);

    return {
      strokeStyle: strokeStyle,
      strokeWidth: strokeWidth,
      size: size,
      lineCap: lineCap,
      lineDash: lineDash,
      lineDashOffset: lineDashOffset,
      lineJoin: lineJoin,
      miterLimit: miterLimit,
    };
  }

  /**
   * @protected
   */
  render() {
    this.renderOptions_ = this.createRenderOptions();
    const size = this.renderOptions_.size;
    this.hitDetectionCanvas_ = null;
    this.size_ = [size, size];
  }

  /**
   * @private
   * @param {RenderOptions} renderOptions Render options.
   * @param {CanvasRenderingContext2D} context The rendering context.
   * @param {number} pixelRatio The pixel ratio.
   */
  draw_(renderOptions, context, pixelRatio) {
    context.scale(pixelRatio, pixelRatio);
    // set origin to canvas center
    context.translate(renderOptions.size / 2, renderOptions.size / 2);

    this.createPath_(context);

    if (this.fill_) {
      let color = this.fill_.getColor();
      if (color === null) {
        color = defaultFillStyle;
      }
      context.fillStyle = asColorLike(color);
      context.fill();
    }
    if (renderOptions.strokeStyle) {
      context.strokeStyle = renderOptions.strokeStyle;
      context.lineWidth = renderOptions.strokeWidth;
      if (renderOptions.lineDash) {
        context.setLineDash(renderOptions.lineDash);
        context.lineDashOffset = renderOptions.lineDashOffset;
      }
      context.lineCap = renderOptions.lineCap;
      context.lineJoin = renderOptions.lineJoin;
      context.miterLimit = renderOptions.miterLimit;
      context.stroke();
    }
  }

  /**
   * @private
   * @param {RenderOptions} renderOptions Render options.
   * @return {HTMLCanvasElement} Canvas containing the icon
   */
  createHitDetectionCanvas_(renderOptions) {
    let context;
    if (this.fill_) {
      let color = this.fill_.getColor();

      // determine if fill is transparent (or pattern or gradient)
      let opacity = 0;
      if (typeof color === 'string') {
        color = asArray(color);
      }
      if (color === null) {
        opacity = 1;
      } else if (Array.isArray(color)) {
        opacity = color.length === 4 ? color[3] : 1;
      }
      if (opacity === 0) {
        // if a transparent fill style is set, create an extra hit-detection image
        // with a default fill style
        context = dom_createCanvasContext2D(renderOptions.size, renderOptions.size);
        this.drawHitDetectionCanvas_(renderOptions, context);
      }
    }
    return context ? context.canvas : this.getImage(1);
  }

  /**
   * @private
   * @param {CanvasRenderingContext2D} context The context to draw in.
   */
  createPath_(context) {
    let points = this.points_;
    const radius = this.radius;
    if (points === Infinity) {
      context.arc(0, 0, radius, 0, 2 * Math.PI);
    } else {
      const radius2 = this.radius2_ === undefined ? radius : this.radius2_;
      if (this.radius2_ !== undefined) {
        points *= 2;
      }
      const startAngle = this.angle_ - Math.PI / 2;
      const step = (2 * Math.PI) / points;
      for (let i = 0; i < points; i++) {
        const angle0 = startAngle + i * step;
        const radiusC = i % 2 === 0 ? radius : radius2;
        context.lineTo(radiusC * Math.cos(angle0), radiusC * Math.sin(angle0));
      }
      context.closePath();
    }
  }

  /**
   * @private
   * @param {RenderOptions} renderOptions Render options.
   * @param {CanvasRenderingContext2D} context The context.
   */
  drawHitDetectionCanvas_(renderOptions, context) {
    // set origin to canvas center
    context.translate(renderOptions.size / 2, renderOptions.size / 2);

    this.createPath_(context);

    context.fillStyle = defaultFillStyle;
    context.fill();
    if (renderOptions.strokeStyle) {
      context.strokeStyle = renderOptions.strokeStyle;
      context.lineWidth = renderOptions.strokeWidth;
      if (renderOptions.lineDash) {
        context.setLineDash(renderOptions.lineDash);
        context.lineDashOffset = renderOptions.lineDashOffset;
      }
      context.lineJoin = renderOptions.lineJoin;
      context.miterLimit = renderOptions.miterLimit;
      context.stroke();
    }
  }

  /**
   * @override
   */
  ready() {
    return this.fill_ ? this.fill_.ready() : Promise.resolve();
  }
}

/* harmony default export */ const style_RegularShape = (RegularShape);

;// CONCATENATED MODULE: ./node_modules/ol/style/Circle.js
/**
 * @module ol/style/Circle
 */



/**
 * @typedef {Object} Options
 * @property {import("./Fill.js").default} [fill] Fill style.
 * @property {number} radius Circle radius.
 * @property {import("./Stroke.js").default} [stroke] Stroke style.
 * @property {Array<number>} [displacement=[0,0]] displacement
 * @property {number|import("../size.js").Size} [scale=1] Scale. A two dimensional scale will produce an ellipse.
 * Unless two dimensional scaling is required a better result may be obtained with an appropriate setting for `radius`.
 * @property {number} [rotation=0] Rotation in radians
 * (positive rotation clockwise, meaningful only when used in conjunction with a two dimensional scale).
 * @property {boolean} [rotateWithView=false] Whether to rotate the shape with the view
 * (meaningful only when used in conjunction with a two dimensional scale).
 * @property {import('./Style.js').DeclutterMode} [declutterMode] Declutter mode
 */

/**
 * @classdesc
 * Set circle style for vector features.
 * @api
 */
class Circle_CircleStyle extends style_RegularShape {
  /**
   * @param {Options} [options] Options.
   */
  constructor(options) {
    options = options ? options : {radius: 5};

    super({
      points: Infinity,
      fill: options.fill,
      radius: options.radius,
      stroke: options.stroke,
      scale: options.scale !== undefined ? options.scale : 1,
      rotation: options.rotation !== undefined ? options.rotation : 0,
      rotateWithView:
        options.rotateWithView !== undefined ? options.rotateWithView : false,
      displacement:
        options.displacement !== undefined ? options.displacement : [0, 0],
      declutterMode: options.declutterMode,
    });
  }

  /**
   * Clones the style.
   * @return {CircleStyle} The cloned style.
   * @api
   * @override
   */
  clone() {
    const scale = this.getScale();
    const style = new Circle_CircleStyle({
      fill: this.getFill() ? this.getFill().clone() : undefined,
      stroke: this.getStroke() ? this.getStroke().clone() : undefined,
      radius: this.getRadius(),
      scale: Array.isArray(scale) ? scale.slice() : scale,
      rotation: this.getRotation(),
      rotateWithView: this.getRotateWithView(),
      displacement: this.getDisplacement().slice(),
      declutterMode: this.getDeclutterMode(),
    });
    style.setOpacity(this.getOpacity());
    return style;
  }

  /**
   * Set the circle radius.
   *
   * @param {number} radius Circle radius.
   * @api
   */
  setRadius(radius) {
    this.radius = radius;
    this.render();
  }
}

/* harmony default export */ const Circle = (Circle_CircleStyle);

;// CONCATENATED MODULE: ./node_modules/ol/style/Fill.js
/**
 * @module ol/style/Fill
 */






/**
 * @typedef {Object} Options
 * @property {import("../color.js").Color|import("../colorlike.js").ColorLike|import('../colorlike.js').PatternDescriptor|null} [color=null] A color,
 * gradient or pattern.
 * See {@link module:ol/color~Color} and {@link module:ol/colorlike~ColorLike} for possible formats. For polygon fills (not for {@link import("./RegularShape.js").default} fills),
 * a pattern can also be provided as {@link module:ol/colorlike~PatternDescriptor}.
 * Default null; if null, the Canvas/renderer default black will be used.
 */

/**
 * @classdesc
 * Set fill style for vector features.
 * @api
 */
class Fill_Fill {
  /**
   * @param {Options} [options] Options.
   */
  constructor(options) {
    options = options || {};

    /**
     * @private
     * @type {import("./IconImage.js").default|null}
     */
    this.patternImage_ = null;

    /**
     * @private
     * @type {import("../color.js").Color|import("../colorlike.js").ColorLike|import('../colorlike.js').PatternDescriptor|null}
     */
    this.color_ = null;
    if (options.color !== undefined) {
      this.setColor(options.color);
    }
  }

  /**
   * Clones the style. The color is not cloned if it is a {@link module:ol/colorlike~ColorLike}.
   * @return {Fill} The cloned style.
   * @api
   */
  clone() {
    const color = this.getColor();
    return new Fill_Fill({
      color: Array.isArray(color) ? color.slice() : color || undefined,
    });
  }

  /**
   * Get the fill color.
   * @return {import("../color.js").Color|import("../colorlike.js").ColorLike|import('../colorlike.js').PatternDescriptor|null} Color.
   * @api
   */
  getColor() {
    return this.color_;
  }

  /**
   * Set the color.
   *
   * @param {import("../color.js").Color|import("../colorlike.js").ColorLike|import('../colorlike.js').PatternDescriptor|null} color Color.
   * @api
   */
  setColor(color) {
    if (color !== null && typeof color === 'object' && 'src' in color) {
      const patternImage = IconImage_get(
        null,
        color.src,
        'anonymous',
        undefined,
        color.offset ? null : color.color ? color.color : null,
        !(color.offset && color.size),
      );
      patternImage.ready().then(() => {
        this.patternImage_ = null;
      });
      if (patternImage.getImageState() === ol_ImageState.IDLE) {
        patternImage.load();
      }
      if (patternImage.getImageState() === ol_ImageState.LOADING) {
        this.patternImage_ = patternImage;
      }
    }
    this.color_ = color;
  }

  /**
   * @return {string} Key of the fill for cache lookup.
   */
  getKey() {
    const fill = this.getColor();
    if (!fill) {
      return '';
    }
    return fill instanceof CanvasPattern || fill instanceof CanvasGradient
      ? getUid(fill)
      : typeof fill === 'object' && 'src' in fill
        ? fill.src + ':' + fill.offset
        : asArray(fill).toString();
  }

  /**
   * @return {boolean} The fill style is loading an image pattern.
   */
  loading() {
    return !!this.patternImage_;
  }

  /**
   * @return {Promise<void>} `false` or a promise that resolves when the style is ready to use.
   */
  ready() {
    return this.patternImage_ ? this.patternImage_.ready() : Promise.resolve();
  }
}

/* harmony default export */ const style_Fill = (Fill_Fill);

;// CONCATENATED MODULE: ./node_modules/ol/style/Icon.js
/**
 * @module ol/style/Icon
 */








/**
 * @typedef {'fraction' | 'pixels'} IconAnchorUnits
 * Anchor unit can be either a fraction of the icon size or in pixels.
 */

/**
 * @typedef {'bottom-left' | 'bottom-right' | 'top-left' | 'top-right'} IconOrigin
 * Icon origin. One of 'bottom-left', 'bottom-right', 'top-left', 'top-right'.
 */

/**
 * @typedef {Object} Options
 * @property {Array<number>} [anchor=[0.5, 0.5]] Anchor. Default value is the icon center.
 * @property {IconOrigin} [anchorOrigin='top-left'] Origin of the anchor: `bottom-left`, `bottom-right`,
 * `top-left` or `top-right`.
 * @property {IconAnchorUnits} [anchorXUnits='fraction'] Units in which the anchor x value is
 * specified. A value of `'fraction'` indicates the x value is a fraction of the icon. A value of `'pixels'` indicates
 * the x value in pixels.
 * @property {IconAnchorUnits} [anchorYUnits='fraction'] Units in which the anchor y value is
 * specified. A value of `'fraction'` indicates the y value is a fraction of the icon. A value of `'pixels'` indicates
 * the y value in pixels.
 * @property {import("../color.js").Color|string} [color] Color to tint the icon. If not specified,
 * the icon will be left as is.
 * @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that you must provide a
 * `crossOrigin` value if you want to access pixel data with the Canvas renderer.
 * See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
 * @property {HTMLImageElement|HTMLCanvasElement|ImageBitmap} [img] Image object for the icon.
 * @property {Array<number>} [displacement=[0, 0]] Displacement of the icon in pixels.
 * Positive values will shift the icon right and up.
 * @property {number} [opacity=1] Opacity of the icon.
 * @property {number} [width] The width of the icon in pixels. This can't be used together with `scale`.
 * @property {number} [height] The height of the icon in pixels. This can't be used together with `scale`.
 * @property {number|import("../size.js").Size} [scale=1] Scale.
 * @property {boolean} [rotateWithView=false] Whether to rotate the icon with the view.
 * @property {number} [rotation=0] Rotation in radians (positive rotation clockwise).
 * @property {Array<number>} [offset=[0, 0]] Offset which, together with `size` and `offsetOrigin`, defines the
 * sub-rectangle to use from the original (sprite) image.
 * @property {IconOrigin} [offsetOrigin='top-left'] Origin of the offset: `bottom-left`, `bottom-right`,
 * `top-left` or `top-right`.
 * @property {import("../size.js").Size} [size] Icon size in pixels. Used together with `offset` to define the
 * sub-rectangle to use from the original (sprite) image.
 * @property {string} [src] Image source URI.
 * @property {import("./Style.js").DeclutterMode} [declutterMode] Declutter mode.
 */

/**
 * @param {number} width The width.
 * @param {number} height The height.
 * @param {number|undefined} wantedWidth The wanted width.
 * @param {number|undefined} wantedHeight The wanted height.
 * @return {number|Array<number>} The scale.
 */
function calculateScale(width, height, wantedWidth, wantedHeight) {
  if (wantedWidth !== undefined && wantedHeight !== undefined) {
    return [wantedWidth / width, wantedHeight / height];
  }
  if (wantedWidth !== undefined) {
    return wantedWidth / width;
  }
  if (wantedHeight !== undefined) {
    return wantedHeight / height;
  }
  return 1;
}

/**
 * @classdesc
 * Set icon style for vector features.
 * @api
 */
class Icon extends style_Image {
  /**
   * @param {Options} [options] Options.
   */
  constructor(options) {
    options = options || {};

    /**
     * @type {number}
     */
    const opacity = options.opacity !== undefined ? options.opacity : 1;

    /**
     * @type {number}
     */
    const rotation = options.rotation !== undefined ? options.rotation : 0;

    /**
     * @type {number|import("../size.js").Size}
     */
    const scale = options.scale !== undefined ? options.scale : 1;

    /**
     * @type {boolean}
     */
    const rotateWithView =
      options.rotateWithView !== undefined ? options.rotateWithView : false;

    super({
      opacity: opacity,
      rotation: rotation,
      scale: scale,
      displacement:
        options.displacement !== undefined ? options.displacement : [0, 0],
      rotateWithView: rotateWithView,
      declutterMode: options.declutterMode,
    });

    /**
     * @private
     * @type {Array<number>}
     */
    this.anchor_ = options.anchor !== undefined ? options.anchor : [0.5, 0.5];

    /**
     * @private
     * @type {Array<number>}
     */
    this.normalizedAnchor_ = null;

    /**
     * @private
     * @type {IconOrigin}
     */
    this.anchorOrigin_ =
      options.anchorOrigin !== undefined ? options.anchorOrigin : 'top-left';

    /**
     * @private
     * @type {IconAnchorUnits}
     */
    this.anchorXUnits_ =
      options.anchorXUnits !== undefined ? options.anchorXUnits : 'fraction';

    /**
     * @private
     * @type {IconAnchorUnits}
     */
    this.anchorYUnits_ =
      options.anchorYUnits !== undefined ? options.anchorYUnits : 'fraction';

    /**
     * @private
     * @type {?string}
     */
    this.crossOrigin_ =
      options.crossOrigin !== undefined ? options.crossOrigin : null;

    const image = options.img !== undefined ? options.img : null;

    let cacheKey = options.src;

    assert(
      !(cacheKey !== undefined && image),
      '`image` and `src` cannot be provided at the same time',
    );

    if ((cacheKey === undefined || cacheKey.length === 0) && image) {
      cacheKey = /** @type {HTMLImageElement} */ (image).src || getUid(image);
    }
    assert(
      cacheKey !== undefined && cacheKey.length > 0,
      'A defined and non-empty `src` or `image` must be provided',
    );

    assert(
      !(
        (options.width !== undefined || options.height !== undefined) &&
        options.scale !== undefined
      ),
      '`width` or `height` cannot be provided together with `scale`',
    );

    let imageState;
    if (options.src !== undefined) {
      imageState = ol_ImageState.IDLE;
    } else if (image !== undefined) {
      if ('complete' in image) {
        if (image.complete) {
          imageState = image.src ? ol_ImageState.LOADED : ol_ImageState.IDLE;
        } else {
          imageState = ol_ImageState.LOADING;
        }
      } else {
        imageState = ol_ImageState.LOADED;
      }
    }

    /**
     * @private
     * @type {import("../color.js").Color}
     */
    this.color_ = options.color !== undefined ? asArray(options.color) : null;

    /**
     * @private
     * @type {import("./IconImage.js").default}
     */
    this.iconImage_ = IconImage_get(
      image,
      /** @type {string} */ (cacheKey),
      this.crossOrigin_,
      imageState,
      this.color_,
    );

    /**
     * @private
     * @type {Array<number>}
     */
    this.offset_ = options.offset !== undefined ? options.offset : [0, 0];
    /**
     * @private
     * @type {IconOrigin}
     */
    this.offsetOrigin_ =
      options.offsetOrigin !== undefined ? options.offsetOrigin : 'top-left';

    /**
     * @private
     * @type {Array<number>}
     */
    this.origin_ = null;

    /**
     * @private
     * @type {import("../size.js").Size}
     */
    this.size_ = options.size !== undefined ? options.size : null;

    /**
     * @private
     */
    this.initialOptions_;

    /**
     * Calculate the scale if width or height were given.
     */
    if (options.width !== undefined || options.height !== undefined) {
      let width, height;
      if (options.size) {
        [width, height] = options.size;
      } else {
        const image = this.getImage(1);
        if (image.width && image.height) {
          width = image.width;
          height = image.height;
        } else if (image instanceof HTMLImageElement) {
          this.initialOptions_ = options;
          const onload = () => {
            this.unlistenImageChange(onload);
            if (!this.initialOptions_) {
              return;
            }
            const imageSize = this.iconImage_.getSize();
            this.setScale(
              calculateScale(
                imageSize[0],
                imageSize[1],
                options.width,
                options.height,
              ),
            );
          };
          this.listenImageChange(onload);
          return;
        }
      }
      if (width !== undefined) {
        this.setScale(
          calculateScale(width, height, options.width, options.height),
        );
      }
    }
  }

  /**
   * Clones the style. The underlying Image/HTMLCanvasElement is not cloned.
   * @return {Icon} The cloned style.
   * @api
   * @override
   */
  clone() {
    let scale, width, height;
    if (this.initialOptions_) {
      width = this.initialOptions_.width;
      height = this.initialOptions_.height;
    } else {
      scale = this.getScale();
      scale = Array.isArray(scale) ? scale.slice() : scale;
    }
    return new Icon({
      anchor: this.anchor_.slice(),
      anchorOrigin: this.anchorOrigin_,
      anchorXUnits: this.anchorXUnits_,
      anchorYUnits: this.anchorYUnits_,
      color:
        this.color_ && this.color_.slice
          ? this.color_.slice()
          : this.color_ || undefined,
      crossOrigin: this.crossOrigin_,
      offset: this.offset_.slice(),
      offsetOrigin: this.offsetOrigin_,
      opacity: this.getOpacity(),
      rotateWithView: this.getRotateWithView(),
      rotation: this.getRotation(),
      scale,
      width,
      height,
      size: this.size_ !== null ? this.size_.slice() : undefined,
      src: this.getSrc(),
      displacement: this.getDisplacement().slice(),
      declutterMode: this.getDeclutterMode(),
    });
  }

  /**
   * Get the anchor point in pixels. The anchor determines the center point for the
   * symbolizer.
   * @return {Array<number>} Anchor.
   * @api
   * @override
   */
  getAnchor() {
    let anchor = this.normalizedAnchor_;
    if (!anchor) {
      anchor = this.anchor_;
      const size = this.getSize();
      if (
        this.anchorXUnits_ == 'fraction' ||
        this.anchorYUnits_ == 'fraction'
      ) {
        if (!size) {
          return null;
        }
        anchor = this.anchor_.slice();
        if (this.anchorXUnits_ == 'fraction') {
          anchor[0] *= size[0];
        }
        if (this.anchorYUnits_ == 'fraction') {
          anchor[1] *= size[1];
        }
      }

      if (this.anchorOrigin_ != 'top-left') {
        if (!size) {
          return null;
        }
        if (anchor === this.anchor_) {
          anchor = this.anchor_.slice();
        }
        if (
          this.anchorOrigin_ == 'top-right' ||
          this.anchorOrigin_ == 'bottom-right'
        ) {
          anchor[0] = -anchor[0] + size[0];
        }
        if (
          this.anchorOrigin_ == 'bottom-left' ||
          this.anchorOrigin_ == 'bottom-right'
        ) {
          anchor[1] = -anchor[1] + size[1];
        }
      }
      this.normalizedAnchor_ = anchor;
    }
    const displacement = this.getDisplacement();
    const scale = this.getScaleArray();
    // anchor is scaled by renderer but displacement should not be scaled
    // so divide by scale here
    return [
      anchor[0] - displacement[0] / scale[0],
      anchor[1] + displacement[1] / scale[1],
    ];
  }

  /**
   * Set the anchor point. The anchor determines the center point for the
   * symbolizer.
   *
   * @param {Array<number>} anchor Anchor.
   * @api
   */
  setAnchor(anchor) {
    this.anchor_ = anchor;
    this.normalizedAnchor_ = null;
  }

  /**
   * Get the icon color.
   * @return {import("../color.js").Color} Color.
   * @api
   */
  getColor() {
    return this.color_;
  }

  /**
   * Get the image icon.
   * @param {number} pixelRatio Pixel ratio.
   * @return {HTMLImageElement|HTMLCanvasElement|ImageBitmap} Image or Canvas element. If the Icon
   * style was configured with `src` or with a not let loaded `img`, an `ImageBitmap` will be returned.
   * @api
   * @override
   */
  getImage(pixelRatio) {
    return this.iconImage_.getImage(pixelRatio);
  }

  /**
   * Get the pixel ratio.
   * @param {number} pixelRatio Pixel ratio.
   * @return {number} The pixel ratio of the image.
   * @api
   * @override
   */
  getPixelRatio(pixelRatio) {
    return this.iconImage_.getPixelRatio(pixelRatio);
  }

  /**
   * @return {import("../size.js").Size} Image size.
   * @override
   */
  getImageSize() {
    return this.iconImage_.getSize();
  }

  /**
   * @return {import("../ImageState.js").default} Image state.
   * @override
   */
  getImageState() {
    return this.iconImage_.getImageState();
  }

  /**
   * @return {HTMLImageElement|HTMLCanvasElement|ImageBitmap} Image element.
   * @override
   */
  getHitDetectionImage() {
    return this.iconImage_.getHitDetectionImage();
  }

  /**
   * Get the origin of the symbolizer.
   * @return {Array<number>} Origin.
   * @api
   * @override
   */
  getOrigin() {
    if (this.origin_) {
      return this.origin_;
    }
    let offset = this.offset_;

    if (this.offsetOrigin_ != 'top-left') {
      const size = this.getSize();
      const iconImageSize = this.iconImage_.getSize();
      if (!size || !iconImageSize) {
        return null;
      }
      offset = offset.slice();
      if (
        this.offsetOrigin_ == 'top-right' ||
        this.offsetOrigin_ == 'bottom-right'
      ) {
        offset[0] = iconImageSize[0] - size[0] - offset[0];
      }
      if (
        this.offsetOrigin_ == 'bottom-left' ||
        this.offsetOrigin_ == 'bottom-right'
      ) {
        offset[1] = iconImageSize[1] - size[1] - offset[1];
      }
    }
    this.origin_ = offset;
    return this.origin_;
  }

  /**
   * Get the image URL.
   * @return {string|undefined} Image src.
   * @api
   */
  getSrc() {
    return this.iconImage_.getSrc();
  }

  /**
   * Get the size of the icon (in pixels).
   * @return {import("../size.js").Size} Image size.
   * @api
   * @override
   */
  getSize() {
    return !this.size_ ? this.iconImage_.getSize() : this.size_;
  }

  /**
   * Get the width of the icon (in pixels). Will return undefined when the icon image is not yet loaded.
   * @return {number} Icon width (in pixels).
   * @api
   */
  getWidth() {
    const scale = this.getScaleArray();
    if (this.size_) {
      return this.size_[0] * scale[0];
    }
    if (this.iconImage_.getImageState() == ol_ImageState.LOADED) {
      return this.iconImage_.getSize()[0] * scale[0];
    }
    return undefined;
  }

  /**
   * Get the height of the icon (in pixels). Will return undefined when the icon image is not yet loaded.
   * @return {number} Icon height (in pixels).
   * @api
   */
  getHeight() {
    const scale = this.getScaleArray();
    if (this.size_) {
      return this.size_[1] * scale[1];
    }
    if (this.iconImage_.getImageState() == ol_ImageState.LOADED) {
      return this.iconImage_.getSize()[1] * scale[1];
    }
    return undefined;
  }

  /**
   * Set the scale.
   *
   * @param {number|import("../size.js").Size} scale Scale.
   * @api
   * @override
   */
  setScale(scale) {
    delete this.initialOptions_;
    super.setScale(scale);
  }

  /**
   * @param {function(import("../events/Event.js").default): void} listener Listener function.
   * @override
   */
  listenImageChange(listener) {
    this.iconImage_.addEventListener(events_EventType.CHANGE, listener);
  }

  /**
   * Load not yet loaded URI.
   * When rendering a feature with an icon style, the vector renderer will
   * automatically call this method. However, you might want to call this
   * method yourself for preloading or other purposes.
   * @api
   * @override
   */
  load() {
    this.iconImage_.load();
  }

  /**
   * @param {function(import("../events/Event.js").default): void} listener Listener function.
   * @override
   */
  unlistenImageChange(listener) {
    this.iconImage_.removeEventListener(events_EventType.CHANGE, listener);
  }

  /**
   * @override
   */
  ready() {
    return this.iconImage_.ready();
  }
}

/* harmony default export */ const style_Icon = (Icon);

;// CONCATENATED MODULE: ./node_modules/ol/style/Stroke.js
/**
 * @module ol/style/Stroke
 */

/**
 * @typedef {Object} Options
 * @property {import("../color.js").Color|import("../colorlike.js").ColorLike} [color] A color, gradient or pattern.
 * See {@link module:ol/color~Color} and {@link module:ol/colorlike~ColorLike} for possible formats.
 * Default null; if null, the Canvas/renderer default black will be used.
 * @property {CanvasLineCap} [lineCap='round'] Line cap style: `butt`, `round`, or `square`.
 * @property {CanvasLineJoin} [lineJoin='round'] Line join style: `bevel`, `round`, or `miter`.
 * @property {Array<number>} [lineDash] Line dash pattern. Default is `null` (no dash).
 * @property {number} [lineDashOffset=0] Line dash offset.
 * @property {number} [miterLimit=10] Miter limit.
 * @property {number} [width] Width.
 */

/**
 * @classdesc
 * Set stroke style for vector features.
 * Note that the defaults given are the Canvas defaults, which will be used if
 * option is not defined. The `get` functions return whatever was entered in
 * the options; they will not return the default.
 * @api
 */
class Stroke_Stroke {
  /**
   * @param {Options} [options] Options.
   */
  constructor(options) {
    options = options || {};

    /**
     * @private
     * @type {import("../color.js").Color|import("../colorlike.js").ColorLike}
     */
    this.color_ = options.color !== undefined ? options.color : null;

    /**
     * @private
     * @type {CanvasLineCap|undefined}
     */
    this.lineCap_ = options.lineCap;

    /**
     * @private
     * @type {Array<number>|null}
     */
    this.lineDash_ = options.lineDash !== undefined ? options.lineDash : null;

    /**
     * @private
     * @type {number|undefined}
     */
    this.lineDashOffset_ = options.lineDashOffset;

    /**
     * @private
     * @type {CanvasLineJoin|undefined}
     */
    this.lineJoin_ = options.lineJoin;

    /**
     * @private
     * @type {number|undefined}
     */
    this.miterLimit_ = options.miterLimit;

    /**
     * @private
     * @type {number|undefined}
     */
    this.width_ = options.width;
  }

  /**
   * Clones the style.
   * @return {Stroke} The cloned style.
   * @api
   */
  clone() {
    const color = this.getColor();
    return new Stroke_Stroke({
      color: Array.isArray(color) ? color.slice() : color || undefined,
      lineCap: this.getLineCap(),
      lineDash: this.getLineDash() ? this.getLineDash().slice() : undefined,
      lineDashOffset: this.getLineDashOffset(),
      lineJoin: this.getLineJoin(),
      miterLimit: this.getMiterLimit(),
      width: this.getWidth(),
    });
  }

  /**
   * Get the stroke color.
   * @return {import("../color.js").Color|import("../colorlike.js").ColorLike} Color.
   * @api
   */
  getColor() {
    return this.color_;
  }

  /**
   * Get the line cap type for the stroke.
   * @return {CanvasLineCap|undefined} Line cap.
   * @api
   */
  getLineCap() {
    return this.lineCap_;
  }

  /**
   * Get the line dash style for the stroke.
   * @return {Array<number>|null} Line dash.
   * @api
   */
  getLineDash() {
    return this.lineDash_;
  }

  /**
   * Get the line dash offset for the stroke.
   * @return {number|undefined} Line dash offset.
   * @api
   */
  getLineDashOffset() {
    return this.lineDashOffset_;
  }

  /**
   * Get the line join type for the stroke.
   * @return {CanvasLineJoin|undefined} Line join.
   * @api
   */
  getLineJoin() {
    return this.lineJoin_;
  }

  /**
   * Get the miter limit for the stroke.
   * @return {number|undefined} Miter limit.
   * @api
   */
  getMiterLimit() {
    return this.miterLimit_;
  }

  /**
   * Get the stroke width.
   * @return {number|undefined} Width.
   * @api
   */
  getWidth() {
    return this.width_;
  }

  /**
   * Set the color.
   *
   * @param {import("../color.js").Color|import("../colorlike.js").ColorLike} color Color.
   * @api
   */
  setColor(color) {
    this.color_ = color;
  }

  /**
   * Set the line cap.
   *
   * @param {CanvasLineCap|undefined} lineCap Line cap.
   * @api
   */
  setLineCap(lineCap) {
    this.lineCap_ = lineCap;
  }

  /**
   * Set the line dash.
   *
   * @param {Array<number>|null} lineDash Line dash.
   * @api
   */
  setLineDash(lineDash) {
    this.lineDash_ = lineDash;
  }

  /**
   * Set the line dash offset.
   *
   * @param {number|undefined} lineDashOffset Line dash offset.
   * @api
   */
  setLineDashOffset(lineDashOffset) {
    this.lineDashOffset_ = lineDashOffset;
  }

  /**
   * Set the line join.
   *
   * @param {CanvasLineJoin|undefined} lineJoin Line join.
   * @api
   */
  setLineJoin(lineJoin) {
    this.lineJoin_ = lineJoin;
  }

  /**
   * Set the miter limit.
   *
   * @param {number|undefined} miterLimit Miter limit.
   * @api
   */
  setMiterLimit(miterLimit) {
    this.miterLimit_ = miterLimit;
  }

  /**
   * Set the width.
   *
   * @param {number|undefined} width Width.
   * @api
   */
  setWidth(width) {
    this.width_ = width;
  }
}

/* harmony default export */ const style_Stroke = (Stroke_Stroke);

;// CONCATENATED MODULE: ./node_modules/ol/style/Style.js
/**
 * @module ol/style/Style
 */






/**
 * Defines how symbols and text are decluttered on layers ith `declutter` set to `true`
 * **declutter**: Overlapping symbols and text are decluttered.
 * **obstacle**: Symbols and text are rendered, but serve as obstacle for subsequent attempts
 *   to place a symbol or text at the same location.
 * **none**: No decluttering is done.
 *
 * @typedef {"declutter"|"obstacle"|"none"} DeclutterMode
 */

/**
 * A function that takes a {@link module:ol/Feature~Feature} and a `{number}`
 * representing the view's resolution. The function should return a
 * {@link module:ol/style/Style~Style} or an array of them. This way e.g. a
 * vector layer can be styled. If the function returns `undefined`, the
 * feature will not be rendered.
 *
 * @typedef {function(import("../Feature.js").FeatureLike, number):(Style|Array<Style>|void)} StyleFunction
 */

/**
 * A {@link Style}, an array of {@link Style}, or a {@link StyleFunction}.
 * @typedef {Style|Array<Style>|StyleFunction} StyleLike
 */

/**
 * A function that takes a {@link module:ol/Feature~Feature} as argument and returns an
 * {@link module:ol/geom/Geometry~Geometry} that will be rendered and styled for the feature.
 *
 * @typedef {function(import("../Feature.js").FeatureLike):
 *     (import("../geom/Geometry.js").default|import("../render/Feature.js").default|undefined)} GeometryFunction
 */

/**
 * Custom renderer function. Takes two arguments:
 *
 * 1. The pixel coordinates of the geometry in GeoJSON notation.
 * 2. The {@link module:ol/render~State} of the layer renderer.
 *
 * @typedef {function((import("../coordinate.js").Coordinate|Array<import("../coordinate.js").Coordinate>|Array<Array<import("../coordinate.js").Coordinate>>|Array<Array<Array<import("../coordinate.js").Coordinate>>>),import("../render.js").State): void} RenderFunction
 */

/**
 * @typedef {Object} Options
 * @property {string|import("../geom/Geometry.js").default|GeometryFunction} [geometry] Feature property or geometry
 * or function returning a geometry to render for this style.
 * @property {import("./Fill.js").default} [fill] Fill style.
 * @property {import("./Image.js").default} [image] Image style.
 * @property {RenderFunction} [renderer] Custom renderer. When configured, `fill`, `stroke` and `image` will be
 * ignored, and the provided function will be called with each render frame for each geometry.
 * @property {RenderFunction} [hitDetectionRenderer] Custom renderer for hit detection. If provided will be used
 * in hit detection rendering.
 * @property {import("./Stroke.js").default} [stroke] Stroke style.
 * @property {import("./Text.js").default} [text] Text style.
 * @property {number} [zIndex] Z index.
 */

/**
 * @classdesc
 * Container for vector feature rendering styles. Any changes made to the style
 * or its children through `set*()` methods will not take effect until the
 * feature or layer that uses the style is re-rendered.
 *
 * ## Feature styles
 *
 * If no style is defined, the following default style is used:
 * ```js
 *  import {Circle, Fill, Stroke, Style} from 'ol/style.js';
 *
 *  const fill = new Fill({
 *    color: 'rgba(255,255,255,0.4)',
 *  });
 *  const stroke = new Stroke({
 *    color: '#3399CC',
 *    width: 1.25,
 *  });
 *  const styles = [
 *    new Style({
 *      image: new Circle({
 *        fill: fill,
 *        stroke: stroke,
 *        radius: 5,
 *      }),
 *      fill: fill,
 *      stroke: stroke,
 *    }),
 *  ];
 * ```
 *
 * A separate editing style has the following defaults:
 * ```js
 *  import {Circle, Fill, Stroke, Style} from 'ol/style.js';
 *
 *  const styles = {};
 *  const white = [255, 255, 255, 1];
 *  const blue = [0, 153, 255, 1];
 *  const width = 3;
 *  styles['Polygon'] = [
 *    new Style({
 *      fill: new Fill({
 *        color: [255, 255, 255, 0.5],
 *      }),
 *    }),
 *  ];
 *  styles['MultiPolygon'] =
 *      styles['Polygon'];
 *  styles['LineString'] = [
 *    new Style({
 *      stroke: new Stroke({
 *        color: white,
 *        width: width + 2,
 *      }),
 *    }),
 *    new Style({
 *      stroke: new Stroke({
 *        color: blue,
 *        width: width,
 *      }),
 *    }),
 *  ];
 *  styles['MultiLineString'] = styles['LineString'];
 *
 *  styles['Circle'] = styles['Polygon'].concat(
 *    styles['LineString']
 *  );
 *
 *  styles['Point'] = [
 *    new Style({
 *      image: new Circle({
 *        radius: width * 2,
 *        fill: new Fill({
 *          color: blue,
 *        }),
 *        stroke: new Stroke({
 *          color: white,
 *          width: width / 2,
 *        }),
 *      }),
 *      zIndex: Infinity,
 *    }),
 *  ];
 *  styles['MultiPoint'] =
 *      styles['Point'];
 *  styles['GeometryCollection'] =
 *      styles['Polygon'].concat(
 *          styles['LineString'],
 *          styles['Point']
 *      );
 * ```
 *
 * @api
 */
class Style {
  /**
   * @param {Options} [options] Style options.
   */
  constructor(options) {
    options = options || {};

    /**
     * @private
     * @type {string|import("../geom/Geometry.js").default|GeometryFunction|null}
     */
    this.geometry_ = null;

    /**
     * @private
     * @type {!GeometryFunction}
     */
    this.geometryFunction_ = defaultGeometryFunction;

    if (options.geometry !== undefined) {
      this.setGeometry(options.geometry);
    }

    /**
     * @private
     * @type {import("./Fill.js").default|null}
     */
    this.fill_ = options.fill !== undefined ? options.fill : null;

    /**
     * @private
     * @type {import("./Image.js").default|null}
     */
    this.image_ = options.image !== undefined ? options.image : null;

    /**
     * @private
     * @type {RenderFunction|null}
     */
    this.renderer_ = options.renderer !== undefined ? options.renderer : null;

    /**
     * @private
     * @type {RenderFunction|null}
     */
    this.hitDetectionRenderer_ =
      options.hitDetectionRenderer !== undefined
        ? options.hitDetectionRenderer
        : null;

    /**
     * @private
     * @type {import("./Stroke.js").default|null}
     */
    this.stroke_ = options.stroke !== undefined ? options.stroke : null;

    /**
     * @private
     * @type {import("./Text.js").default|null}
     */
    this.text_ = options.text !== undefined ? options.text : null;

    /**
     * @private
     * @type {number|undefined}
     */
    this.zIndex_ = options.zIndex;
  }

  /**
   * Clones the style.
   * @return {Style} The cloned style.
   * @api
   */
  clone() {
    let geometry = this.getGeometry();
    if (geometry && typeof geometry === 'object') {
      geometry = /** @type {import("../geom/Geometry.js").default} */ (
        geometry
      ).clone();
    }
    return new Style({
      geometry: geometry ?? undefined,
      fill: this.getFill() ? this.getFill().clone() : undefined,
      image: this.getImage() ? this.getImage().clone() : undefined,
      renderer: this.getRenderer() ?? undefined,
      stroke: this.getStroke() ? this.getStroke().clone() : undefined,
      text: this.getText() ? this.getText().clone() : undefined,
      zIndex: this.getZIndex(),
    });
  }

  /**
   * Get the custom renderer function that was configured with
   * {@link #setRenderer} or the `renderer` constructor option.
   * @return {RenderFunction|null} Custom renderer function.
   * @api
   */
  getRenderer() {
    return this.renderer_;
  }

  /**
   * Sets a custom renderer function for this style. When set, `fill`, `stroke`
   * and `image` options of the style will be ignored.
   * @param {RenderFunction|null} renderer Custom renderer function.
   * @api
   */
  setRenderer(renderer) {
    this.renderer_ = renderer;
  }

  /**
   * Sets a custom renderer function for this style used
   * in hit detection.
   * @param {RenderFunction|null} renderer Custom renderer function.
   * @api
   */
  setHitDetectionRenderer(renderer) {
    this.hitDetectionRenderer_ = renderer;
  }

  /**
   * Get the custom renderer function that was configured with
   * {@link #setHitDetectionRenderer} or the `hitDetectionRenderer` constructor option.
   * @return {RenderFunction|null} Custom renderer function.
   * @api
   */
  getHitDetectionRenderer() {
    return this.hitDetectionRenderer_;
  }

  /**
   * Get the geometry to be rendered.
   * @return {string|import("../geom/Geometry.js").default|GeometryFunction|null}
   * Feature property or geometry or function that returns the geometry that will
   * be rendered with this style.
   * @api
   */
  getGeometry() {
    return this.geometry_;
  }

  /**
   * Get the function used to generate a geometry for rendering.
   * @return {!GeometryFunction} Function that is called with a feature
   * and returns the geometry to render instead of the feature's geometry.
   * @api
   */
  getGeometryFunction() {
    return this.geometryFunction_;
  }

  /**
   * Get the fill style.
   * @return {import("./Fill.js").default|null} Fill style.
   * @api
   */
  getFill() {
    return this.fill_;
  }

  /**
   * Set the fill style.
   * @param {import("./Fill.js").default|null} fill Fill style.
   * @api
   */
  setFill(fill) {
    this.fill_ = fill;
  }

  /**
   * Get the image style.
   * @return {import("./Image.js").default|null} Image style.
   * @api
   */
  getImage() {
    return this.image_;
  }

  /**
   * Set the image style.
   * @param {import("./Image.js").default} image Image style.
   * @api
   */
  setImage(image) {
    this.image_ = image;
  }

  /**
   * Get the stroke style.
   * @return {import("./Stroke.js").default|null} Stroke style.
   * @api
   */
  getStroke() {
    return this.stroke_;
  }

  /**
   * Set the stroke style.
   * @param {import("./Stroke.js").default|null} stroke Stroke style.
   * @api
   */
  setStroke(stroke) {
    this.stroke_ = stroke;
  }

  /**
   * Get the text style.
   * @return {import("./Text.js").default|null} Text style.
   * @api
   */
  getText() {
    return this.text_;
  }

  /**
   * Set the text style.
   * @param {import("./Text.js").default} text Text style.
   * @api
   */
  setText(text) {
    this.text_ = text;
  }

  /**
   * Get the z-index for the style.
   * @return {number|undefined} ZIndex.
   * @api
   */
  getZIndex() {
    return this.zIndex_;
  }

  /**
   * Set a geometry that is rendered instead of the feature's geometry.
   *
   * @param {string|import("../geom/Geometry.js").default|GeometryFunction|null} geometry
   *     Feature property or geometry or function returning a geometry to render
   *     for this style.
   * @api
   */
  setGeometry(geometry) {
    if (typeof geometry === 'function') {
      this.geometryFunction_ = geometry;
    } else if (typeof geometry === 'string') {
      this.geometryFunction_ = function (feature) {
        return /** @type {import("../geom/Geometry.js").default} */ (
          feature.get(geometry)
        );
      };
    } else if (!geometry) {
      this.geometryFunction_ = defaultGeometryFunction;
    } else if (geometry !== undefined) {
      this.geometryFunction_ = function () {
        return /** @type {import("../geom/Geometry.js").default} */ (geometry);
      };
    }
    this.geometry_ = geometry;
  }

  /**
   * Set the z-index.
   *
   * @param {number|undefined} zIndex ZIndex.
   * @api
   */
  setZIndex(zIndex) {
    this.zIndex_ = zIndex;
  }
}

/**
 * Convert the provided object into a style function.  Functions passed through
 * unchanged.  Arrays of Style or single style objects wrapped in a
 * new style function.
 * @param {StyleFunction|Array<Style>|Style} obj
 *     A style function, a single style, or an array of styles.
 * @return {StyleFunction} A style function.
 */
function toFunction(obj) {
  let styleFunction;

  if (typeof obj === 'function') {
    styleFunction = obj;
  } else {
    /**
     * @type {Array<Style>}
     */
    let styles;
    if (Array.isArray(obj)) {
      styles = obj;
    } else {
      assert(
        typeof (/** @type {?} */ (obj).getZIndex) === 'function',
        'Expected an `Style` or an array of `Style`',
      );
      const style = /** @type {Style} */ (obj);
      styles = [style];
    }
    styleFunction = function () {
      return styles;
    };
  }
  return styleFunction;
}

/**
 * @type {Array<Style>|null}
 */
let defaultStyles = null;

/**
 * @param {import("../Feature.js").FeatureLike} feature Feature.
 * @param {number} resolution Resolution.
 * @return {Array<Style>} Style.
 */
function createDefaultStyle(feature, resolution) {
  // We don't use an immediately-invoked function
  // and a closure so we don't get an error at script evaluation time in
  // browsers that do not support Canvas. (import("./Circle.js").CircleStyle does
  // canvas.getContext('2d') at construction time, which will cause an.error
  // in such browsers.)
  if (!defaultStyles) {
    const fill = new style_Fill({
      color: 'rgba(255,255,255,0.4)',
    });
    const stroke = new style_Stroke({
      color: '#3399CC',
      width: 1.25,
    });
    defaultStyles = [
      new Style({
        image: new Circle({
          fill: fill,
          stroke: stroke,
          radius: 5,
        }),
        fill: fill,
        stroke: stroke,
      }),
    ];
  }
  return defaultStyles;
}

/**
 * Default styles for editing features.
 * @return {Object<import("../geom/Geometry.js").Type, Array<Style>>} Styles
 */
function createEditingStyle() {
  /** @type {Object<import("../geom/Geometry.js").Type, Array<Style>>} */
  const styles = {};
  const white = [255, 255, 255, 1];
  const blue = [0, 153, 255, 1];
  const width = 3;
  styles['Polygon'] = [
    new Style({
      fill: new Fill({
        color: [255, 255, 255, 0.5],
      }),
    }),
  ];
  styles['MultiPolygon'] = styles['Polygon'];

  styles['LineString'] = [
    new Style({
      stroke: new Stroke({
        color: white,
        width: width + 2,
      }),
    }),
    new Style({
      stroke: new Stroke({
        color: blue,
        width: width,
      }),
    }),
  ];
  styles['MultiLineString'] = styles['LineString'];

  styles['Circle'] = styles['Polygon'].concat(styles['LineString']);

  styles['Point'] = [
    new Style({
      image: new CircleStyle({
        radius: width * 2,
        fill: new Fill({
          color: blue,
        }),
        stroke: new Stroke({
          color: white,
          width: width / 2,
        }),
      }),
      zIndex: Infinity,
    }),
  ];
  styles['MultiPoint'] = styles['Point'];

  styles['GeometryCollection'] = styles['Polygon'].concat(
    styles['LineString'],
    styles['Point'],
  );

  return styles;
}

/**
 * Function that is called with a feature and returns its default geometry.
 * @param {import("../Feature.js").FeatureLike} feature Feature to get the geometry for.
 * @return {import("../geom/Geometry.js").default|import("../render/Feature.js").default|undefined} Geometry to render.
 */
function defaultGeometryFunction(feature) {
  return feature.getGeometry();
}

/* harmony default export */ const style_Style = (Style);

;// CONCATENATED MODULE: ./node_modules/ol/style/Text.js
/**
 * @module ol/style/Text
 */



/**
 * @typedef {'point' | 'line'} TextPlacement
 * Default text placement is `'point'`. Note that
 * `'line'` requires the underlying geometry to be a {@link module:ol/geom/LineString~LineString},
 * {@link module:ol/geom/Polygon~Polygon}, {@link module:ol/geom/MultiLineString~MultiLineString} or
 * {@link module:ol/geom/MultiPolygon~MultiPolygon}.
 */

/**
 * @typedef {'left' | 'center' | 'right'} TextJustify
 */

/**
 * The default fill color to use if no fill was set at construction time; a
 * blackish `#333`.
 *
 * @const {string}
 */
const DEFAULT_FILL_COLOR = '#333';

/**
 * @typedef {Object} Options
 * @property {string} [font] Font style as CSS `font` value, see:
 * https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/font. Default is `'10px sans-serif'`
 * @property {number} [maxAngle=Math.PI/4] When `placement` is set to `'line'`, allow a maximum angle between adjacent characters.
 * The expected value is in radians, and the default is 45° (`Math.PI / 4`).
 * @property {number} [offsetX=0] Horizontal text offset in pixels. A positive will shift the text right.
 * @property {number} [offsetY=0] Vertical text offset in pixels. A positive will shift the text down.
 * @property {boolean} [overflow=false] For polygon labels or when `placement` is set to `'line'`, allow text to exceed
 * the width of the polygon at the label position or the length of the path that it follows.
 * @property {TextPlacement} [placement='point'] Text placement.
 * @property {number} [repeat] Repeat interval. When set, the text will be repeated at this interval, which specifies
 * the distance between two text anchors in pixels. Only available when `placement` is set to `'line'`. Overrides 'textAlign'.
 * @property {number|import("../size.js").Size} [scale] Scale.
 * @property {boolean} [rotateWithView=false] Whether to rotate the text with the view.
 * @property {boolean} [keepUpright=true] Whether the text can be rotated 180° to prevent being rendered upside down.
 * @property {number} [rotation=0] Rotation in radians (positive rotation clockwise).
 * @property {string|Array<string>} [text] Text content or rich text content. For plain text provide a string, which can
 * contain line breaks (`\n`). For rich text provide an array of text/font tuples. A tuple consists of the text to
 * render and the font to use (or `''` to use the text style's font). A line break has to be a separate tuple (i.e. `'\n', ''`).
 * **Example:** `['foo', 'bold 10px sans-serif', ' bar', 'italic 10px sans-serif', ' baz', '']` will yield "**foo** *bar* baz".
 * **Note:** Rich text is not supported for `placement: 'line'` or the immediate rendering API.
 * @property {CanvasTextAlign} [textAlign] Text alignment. Possible values: `'left'`, `'right'`, `'center'`, `'end'` or `'start'`.
 * Default is `'center'` for `placement: 'point'`. For `placement: 'line'`, the default is to let the renderer choose a
 * placement where `maxAngle` is not exceeded.
 * @property {TextJustify} [justify] Text justification within the text box.
 * If not set, text is justified towards the `textAlign` anchor.
 * Otherwise, use options `'left'`, `'center'`, or `'right'` to justify the text within the text box.
 * **Note:** `justify` is ignored for immediate rendering and also for `placement: 'line'`.
 * @property {CanvasTextBaseline} [textBaseline='middle'] Text base line. Possible values: `'bottom'`, `'top'`, `'middle'`, `'alphabetic'`,
 * `'hanging'`, `'ideographic'`.
 * @property {import("./Fill.js").default|null} [fill] Fill style. If none is provided, we'll use a dark fill-style (#333). Specify `null` for no fill.
 * @property {import("./Stroke.js").default} [stroke] Stroke style.
 * @property {import("./Fill.js").default} [backgroundFill] Fill style for the text background when `placement` is
 * `'point'`. Default is no fill.
 * @property {import("./Stroke.js").default} [backgroundStroke] Stroke style for the text background  when `placement`
 * is `'point'`. Default is no stroke.
 * @property {Array<number>} [padding=[0, 0, 0, 0]] Padding in pixels around the text for decluttering and background. The order of
 * values in the array is `[top, right, bottom, left]`.
 * @property {import('../style/Style.js').DeclutterMode} [declutterMode] Declutter mode: `declutter`, `obstacle`, `none`
 */

/**
 * @classdesc
 * Set text style for vector features.
 * @api
 */
class Text {
  /**
   * @param {Options} [options] Options.
   */
  constructor(options) {
    options = options || {};

    /**
     * @private
     * @type {string|undefined}
     */
    this.font_ = options.font;

    /**
     * @private
     * @type {number|undefined}
     */
    this.rotation_ = options.rotation;

    /**
     * @private
     * @type {boolean|undefined}
     */
    this.rotateWithView_ = options.rotateWithView;

    /**
     * @private
     * @type {boolean|undefined}
     */
    this.keepUpright_ = options.keepUpright;

    /**
     * @private
     * @type {number|import("../size.js").Size|undefined}
     */
    this.scale_ = options.scale;

    /**
     * @private
     * @type {import("../size.js").Size}
     */
    this.scaleArray_ = toSize(options.scale !== undefined ? options.scale : 1);

    /**
     * @private
     * @type {string|Array<string>|undefined}
     */
    this.text_ = options.text;

    /**
     * @private
     * @type {CanvasTextAlign|undefined}
     */
    this.textAlign_ = options.textAlign;

    /**
     * @private
     * @type {TextJustify|undefined}
     */
    this.justify_ = options.justify;

    /**
     * @private
     * @type {number|undefined}
     */
    this.repeat_ = options.repeat;

    /**
     * @private
     * @type {CanvasTextBaseline|undefined}
     */
    this.textBaseline_ = options.textBaseline;

    /**
     * @private
     * @type {import("./Fill.js").default|null}
     */
    this.fill_ =
      options.fill !== undefined
        ? options.fill
        : new style_Fill({color: DEFAULT_FILL_COLOR});

    /**
     * @private
     * @type {number}
     */
    this.maxAngle_ =
      options.maxAngle !== undefined ? options.maxAngle : Math.PI / 4;

    /**
     * @private
     * @type {TextPlacement}
     */
    this.placement_ =
      options.placement !== undefined ? options.placement : 'point';

    /**
     * @private
     * @type {boolean}
     */
    this.overflow_ = !!options.overflow;

    /**
     * @private
     * @type {import("./Stroke.js").default|null}
     */
    this.stroke_ = options.stroke !== undefined ? options.stroke : null;

    /**
     * @private
     * @type {number}
     */
    this.offsetX_ = options.offsetX !== undefined ? options.offsetX : 0;

    /**
     * @private
     * @type {number}
     */
    this.offsetY_ = options.offsetY !== undefined ? options.offsetY : 0;

    /**
     * @private
     * @type {import("./Fill.js").default|null}
     */
    this.backgroundFill_ = options.backgroundFill
      ? options.backgroundFill
      : null;

    /**
     * @private
     * @type {import("./Stroke.js").default|null}
     */
    this.backgroundStroke_ = options.backgroundStroke
      ? options.backgroundStroke
      : null;

    /**
     * @private
     * @type {Array<number>|null}
     */
    this.padding_ = options.padding === undefined ? null : options.padding;

    /**
     * @private
     * @type {import('../style/Style.js').DeclutterMode}
     */
    this.declutterMode_ = options.declutterMode;
  }

  /**
   * Clones the style.
   * @return {Text} The cloned style.
   * @api
   */
  clone() {
    const scale = this.getScale();
    return new Text({
      font: this.getFont(),
      placement: this.getPlacement(),
      repeat: this.getRepeat(),
      maxAngle: this.getMaxAngle(),
      overflow: this.getOverflow(),
      rotation: this.getRotation(),
      rotateWithView: this.getRotateWithView(),
      keepUpright: this.getKeepUpright(),
      scale: Array.isArray(scale) ? scale.slice() : scale,
      text: this.getText(),
      textAlign: this.getTextAlign(),
      justify: this.getJustify(),
      textBaseline: this.getTextBaseline(),
      fill: this.getFill() ? this.getFill().clone() : undefined,
      stroke: this.getStroke() ? this.getStroke().clone() : undefined,
      offsetX: this.getOffsetX(),
      offsetY: this.getOffsetY(),
      backgroundFill: this.getBackgroundFill()
        ? this.getBackgroundFill().clone()
        : undefined,
      backgroundStroke: this.getBackgroundStroke()
        ? this.getBackgroundStroke().clone()
        : undefined,
      padding: this.getPadding() || undefined,
      declutterMode: this.getDeclutterMode(),
    });
  }

  /**
   * Get the `overflow` configuration.
   * @return {boolean} Let text overflow the length of the path they follow.
   * @api
   */
  getOverflow() {
    return this.overflow_;
  }

  /**
   * Get the font name.
   * @return {string|undefined} Font.
   * @api
   */
  getFont() {
    return this.font_;
  }

  /**
   * Get the maximum angle between adjacent characters.
   * @return {number} Angle in radians.
   * @api
   */
  getMaxAngle() {
    return this.maxAngle_;
  }

  /**
   * Get the label placement.
   * @return {TextPlacement} Text placement.
   * @api
   */
  getPlacement() {
    return this.placement_;
  }

  /**
   * Get the repeat interval of the text.
   * @return {number|undefined} Repeat interval in pixels.
   * @api
   */
  getRepeat() {
    return this.repeat_;
  }

  /**
   * Get the x-offset for the text.
   * @return {number} Horizontal text offset.
   * @api
   */
  getOffsetX() {
    return this.offsetX_;
  }

  /**
   * Get the y-offset for the text.
   * @return {number} Vertical text offset.
   * @api
   */
  getOffsetY() {
    return this.offsetY_;
  }

  /**
   * Get the fill style for the text.
   * @return {import("./Fill.js").default|null} Fill style.
   * @api
   */
  getFill() {
    return this.fill_;
  }

  /**
   * Determine whether the text rotates with the map.
   * @return {boolean|undefined} Rotate with map.
   * @api
   */
  getRotateWithView() {
    return this.rotateWithView_;
  }

  /**
   * Determine whether the text can be rendered upside down.
   * @return {boolean|undefined} Keep text upright.
   * @api
   */
  getKeepUpright() {
    return this.keepUpright_;
  }

  /**
   * Get the text rotation.
   * @return {number|undefined} Rotation.
   * @api
   */
  getRotation() {
    return this.rotation_;
  }

  /**
   * Get the text scale.
   * @return {number|import("../size.js").Size|undefined} Scale.
   * @api
   */
  getScale() {
    return this.scale_;
  }

  /**
   * Get the symbolizer scale array.
   * @return {import("../size.js").Size} Scale array.
   */
  getScaleArray() {
    return this.scaleArray_;
  }

  /**
   * Get the stroke style for the text.
   * @return {import("./Stroke.js").default|null} Stroke style.
   * @api
   */
  getStroke() {
    return this.stroke_;
  }

  /**
   * Get the text to be rendered.
   * @return {string|Array<string>|undefined} Text.
   * @api
   */
  getText() {
    return this.text_;
  }

  /**
   * Get the text alignment.
   * @return {CanvasTextAlign|undefined} Text align.
   * @api
   */
  getTextAlign() {
    return this.textAlign_;
  }

  /**
   * Get the justification.
   * @return {TextJustify|undefined} Justification.
   * @api
   */
  getJustify() {
    return this.justify_;
  }

  /**
   * Get the text baseline.
   * @return {CanvasTextBaseline|undefined} Text baseline.
   * @api
   */
  getTextBaseline() {
    return this.textBaseline_;
  }

  /**
   * Get the background fill style for the text.
   * @return {import("./Fill.js").default|null} Fill style.
   * @api
   */
  getBackgroundFill() {
    return this.backgroundFill_;
  }

  /**
   * Get the background stroke style for the text.
   * @return {import("./Stroke.js").default|null} Stroke style.
   * @api
   */
  getBackgroundStroke() {
    return this.backgroundStroke_;
  }

  /**
   * Get the padding for the text.
   * @return {Array<number>|null} Padding.
   * @api
   */
  getPadding() {
    return this.padding_;
  }

  /**
   * Get the declutter mode of the shape
   * @return {import("./Style.js").DeclutterMode} Shape's declutter mode
   * @api
   */
  getDeclutterMode() {
    return this.declutterMode_;
  }

  /**
   * Set the `overflow` property.
   *
   * @param {boolean} overflow Let text overflow the path that it follows.
   * @api
   */
  setOverflow(overflow) {
    this.overflow_ = overflow;
  }

  /**
   * Set the font.
   *
   * @param {string|undefined} font Font.
   * @api
   */
  setFont(font) {
    this.font_ = font;
  }

  /**
   * Set the maximum angle between adjacent characters.
   *
   * @param {number} maxAngle Angle in radians.
   * @api
   */
  setMaxAngle(maxAngle) {
    this.maxAngle_ = maxAngle;
  }

  /**
   * Set the x offset.
   *
   * @param {number} offsetX Horizontal text offset.
   * @api
   */
  setOffsetX(offsetX) {
    this.offsetX_ = offsetX;
  }

  /**
   * Set the y offset.
   *
   * @param {number} offsetY Vertical text offset.
   * @api
   */
  setOffsetY(offsetY) {
    this.offsetY_ = offsetY;
  }

  /**
   * Set the text placement.
   *
   * @param {TextPlacement} placement Placement.
   * @api
   */
  setPlacement(placement) {
    this.placement_ = placement;
  }

  /**
   * Set the repeat interval of the text.
   * @param {number|undefined} [repeat] Repeat interval in pixels.
   * @api
   */
  setRepeat(repeat) {
    this.repeat_ = repeat;
  }

  /**
   * Set whether to rotate the text with the view.
   *
   * @param {boolean} rotateWithView Rotate with map.
   * @api
   */
  setRotateWithView(rotateWithView) {
    this.rotateWithView_ = rotateWithView;
  }

  /**
   * Set whether the text can be rendered upside down.
   *
   * @param {boolean} keepUpright Keep text upright.
   * @api
   */
  setKeepUpright(keepUpright) {
    this.keepUpright_ = keepUpright;
  }

  /**
   * Set the fill.
   *
   * @param {import("./Fill.js").default|null} fill Fill style.
   * @api
   */
  setFill(fill) {
    this.fill_ = fill;
  }

  /**
   * Set the rotation.
   *
   * @param {number|undefined} rotation Rotation.
   * @api
   */
  setRotation(rotation) {
    this.rotation_ = rotation;
  }

  /**
   * Set the scale.
   *
   * @param {number|import("../size.js").Size|undefined} scale Scale.
   * @api
   */
  setScale(scale) {
    this.scale_ = scale;
    this.scaleArray_ = toSize(scale !== undefined ? scale : 1);
  }

  /**
   * Set the stroke.
   *
   * @param {import("./Stroke.js").default|null} stroke Stroke style.
   * @api
   */
  setStroke(stroke) {
    this.stroke_ = stroke;
  }

  /**
   * Set the text.
   *
   * @param {string|Array<string>|undefined} text Text.
   * @api
   */
  setText(text) {
    this.text_ = text;
  }

  /**
   * Set the text alignment.
   *
   * @param {CanvasTextAlign|undefined} textAlign Text align.
   * @api
   */
  setTextAlign(textAlign) {
    this.textAlign_ = textAlign;
  }

  /**
   * Set the justification.
   *
   * @param {TextJustify|undefined} justify Justification.
   * @api
   */
  setJustify(justify) {
    this.justify_ = justify;
  }

  /**
   * Set the text baseline.
   *
   * @param {CanvasTextBaseline|undefined} textBaseline Text baseline.
   * @api
   */
  setTextBaseline(textBaseline) {
    this.textBaseline_ = textBaseline;
  }

  /**
   * Set the background fill.
   *
   * @param {import("./Fill.js").default|null} fill Fill style.
   * @api
   */
  setBackgroundFill(fill) {
    this.backgroundFill_ = fill;
  }

  /**
   * Set the background stroke.
   *
   * @param {import("./Stroke.js").default|null} stroke Stroke style.
   * @api
   */
  setBackgroundStroke(stroke) {
    this.backgroundStroke_ = stroke;
  }

  /**
   * Set the padding (`[top, right, bottom, left]`).
   *
   * @param {Array<number>|null} padding Padding.
   * @api
   */
  setPadding(padding) {
    this.padding_ = padding;
  }
}

/* harmony default export */ const style_Text = (Text);

;// CONCATENATED MODULE: ./node_modules/ol/render/canvas/style.js
/**
 * @module ol/render/canvas/style
 */














/**
 * @fileoverview This module includes functions to build styles for the canvas renderer.  Building
 * is composed of two steps: parsing and compiling.  The parsing step takes an encoded expression
 * and returns an instance of one of the expression classes.  The compiling step takes the
 * expression instance and returns a function that can be evaluated to return a literal value.  The
 * evaluator function should do as little allocation and work as possible.
 */

/**
 * @typedef {import("../../style/flat.js").FlatStyle} FlatStyle
 */

/**
 * @typedef {import("../../expr/expression.js").EncodedExpression} EncodedExpression
 */

/**
 * @typedef {import("../../expr/expression.js").ParsingContext} ParsingContext
 */

/**
 * @typedef {import("../../expr/expression.js").CallExpression} CallExpression
 */

/**
 * @typedef {import("../../expr/cpu.js").EvaluationContext} EvaluationContext
 */

/**
 * @typedef {import("../../expr/cpu.js").ExpressionEvaluator} ExpressionEvaluator
 */

/**
 * @param {EvaluationContext} context The evaluation context.
 * @return {boolean} Always true.
 */
function style_always(context) {
  return true;
}

/**
 * This function adapts a rule evaluator to the existing style function interface.
 * After we have deprecated the style function, we can use the compiled rules directly
 * and pass a more complete evaluation context (variables, zoom, time, etc.).
 *
 * @param {Array<import('../../style/flat.js').Rule>} rules The rules.
 * @return {import('../../style/Style.js').StyleFunction} A style function.
 */
function rulesToStyleFunction(rules) {
  const parsingContext = newParsingContext();
  const evaluator = buildRuleSet(rules, parsingContext);
  const evaluationContext = newEvaluationContext();
  return function (feature, resolution) {
    evaluationContext.properties = feature.getPropertiesInternal();
    evaluationContext.resolution = resolution;
    if (parsingContext.featureId) {
      const id = feature.getId();
      if (id !== undefined) {
        evaluationContext.featureId = id;
      } else {
        evaluationContext.featureId = null;
      }
    }
    if (parsingContext.geometryType) {
      evaluationContext.geometryType = computeGeometryType(
        feature.getGeometry(),
      );
    }
    return evaluator(evaluationContext);
  };
}

/**
 * This function adapts a style evaluator to the existing style function interface.
 * After we have deprecated the style function, we can use the compiled rules directly
 * and pass a more complete evaluation context (variables, zoom, time, etc.).
 *
 * @param {Array<import('../../style/flat.js').FlatStyle>} flatStyles The flat styles.
 * @return {import('../../style/Style.js').StyleFunction} A style function.
 */
function flatStylesToStyleFunction(flatStyles) {
  const parsingContext = newParsingContext();
  const length = flatStyles.length;

  /**
   * @type {Array<StyleEvaluator>}
   */
  const evaluators = new Array(length);
  for (let i = 0; i < length; ++i) {
    evaluators[i] = buildStyle(flatStyles[i], parsingContext);
  }
  const evaluationContext = newEvaluationContext();

  /**
   * @type {Array<Style>}
   */
  const styles = new Array(length);

  return function (feature, resolution) {
    evaluationContext.properties = feature.getPropertiesInternal();
    evaluationContext.resolution = resolution;
    if (parsingContext.featureId) {
      const id = feature.getId();
      if (id !== undefined) {
        evaluationContext.featureId = id;
      } else {
        evaluationContext.featureId = null;
      }
    }
    let nonNullCount = 0;
    for (let i = 0; i < length; ++i) {
      const style = evaluators[i](evaluationContext);
      if (style) {
        styles[nonNullCount] = style;
        nonNullCount += 1;
      }
    }
    styles.length = nonNullCount;
    return styles;
  };
}

/**
 * @typedef {function(EvaluationContext):Array<Style>} RuleSetEvaluator
 */

/**
 * @typedef {Object} CompiledRule
 * @property {ExpressionEvaluator} filter The compiled filter evaluator.
 * @property {Array<StyleEvaluator>} styles The list of compiled style evaluators.
 */

/**
 * @param {Array<import('../../style/flat.js').Rule>} rules The rules.
 * @param {ParsingContext} context The parsing context.
 * @return {RuleSetEvaluator} The evaluator function.
 */
function buildRuleSet(rules, context) {
  const length = rules.length;

  /**
   * @type {Array<CompiledRule>}
   */
  const compiledRules = new Array(length);

  for (let i = 0; i < length; ++i) {
    const rule = rules[i];
    const filter =
      'filter' in rule
        ? buildExpression(rule.filter, BooleanType, context)
        : style_always;

    /**
     * @type {Array<StyleEvaluator>}
     */
    let styles;
    if (Array.isArray(rule.style)) {
      const styleLength = rule.style.length;
      styles = new Array(styleLength);
      for (let j = 0; j < styleLength; ++j) {
        styles[j] = buildStyle(rule.style[j], context);
      }
    } else {
      styles = [buildStyle(rule.style, context)];
    }

    compiledRules[i] = {filter, styles};
  }

  return function (context) {
    /**
     * @type {Array<Style>}
     */
    const styles = [];

    let someMatched = false;
    for (let i = 0; i < length; ++i) {
      const filterEvaluator = compiledRules[i].filter;
      if (!filterEvaluator(context)) {
        continue;
      }
      if (rules[i].else && someMatched) {
        continue;
      }
      someMatched = true;
      for (const styleEvaluator of compiledRules[i].styles) {
        const style = styleEvaluator(context);
        if (!style) {
          continue;
        }
        styles.push(style);
      }
    }

    return styles;
  };
}

/**
 * @typedef {function(EvaluationContext):Style|null} StyleEvaluator
 */

/**
 * @param {FlatStyle} flatStyle A flat style literal.
 * @param {ParsingContext} context The parsing context.
 * @return {StyleEvaluator} A function that evaluates to a style.  The style returned by
 * this function will be reused between invocations.
 */
function buildStyle(flatStyle, context) {
  const evaluateFill = buildFill(flatStyle, '', context);
  const evaluateStroke = buildStroke(flatStyle, '', context);
  const evaluateText = buildText(flatStyle, context);
  const evaluateImage = buildImage(flatStyle, context);
  const evaluateZIndex = numberEvaluator(flatStyle, 'z-index', context);

  if (
    !evaluateFill &&
    !evaluateStroke &&
    !evaluateText &&
    !evaluateImage &&
    !obj_isEmpty(flatStyle)
  ) {
    // assume this is a user error
    // would be nice to check the properties and suggest "did you mean..."
    throw new Error(
      'No fill, stroke, point, or text symbolizer properties in style: ' +
        JSON.stringify(flatStyle),
    );
  }

  const style = new style_Style();
  return function (context) {
    let empty = true;
    if (evaluateFill) {
      const fill = evaluateFill(context);
      if (fill) {
        empty = false;
      }
      style.setFill(fill);
    }
    if (evaluateStroke) {
      const stroke = evaluateStroke(context);
      if (stroke) {
        empty = false;
      }
      style.setStroke(stroke);
    }
    if (evaluateText) {
      const text = evaluateText(context);
      if (text) {
        empty = false;
      }
      style.setText(text);
    }
    if (evaluateImage) {
      const image = evaluateImage(context);
      if (image) {
        empty = false;
      }
      style.setImage(image);
    }
    if (evaluateZIndex) {
      style.setZIndex(evaluateZIndex(context));
    }
    if (empty) {
      return null;
    }
    return style;
  };
}

/**
 * @typedef {function(EvaluationContext):Fill|null} FillEvaluator
 */

/**
 * @param {FlatStyle} flatStyle The flat style.
 * @param {string} prefix The property prefix.
 * @param {ParsingContext} context The parsing context.
 * @return {FillEvaluator?} A function that evaluates to a fill.
 */
function buildFill(flatStyle, prefix, context) {
  let evaluateColor;
  if (prefix + 'fill-pattern-src' in flatStyle) {
    evaluateColor = patternEvaluator(flatStyle, prefix + 'fill-', context);
  } else {
    if (flatStyle[prefix + 'fill-color'] === 'none') {
      // avoids hit detection
      return (context) => null;
    }

    evaluateColor = colorLikeEvaluator(
      flatStyle,
      prefix + 'fill-color',
      context,
    );
  }
  if (!evaluateColor) {
    return null;
  }

  const fill = new style_Fill();
  return function (context) {
    const color = evaluateColor(context);
    if (color === NO_COLOR) {
      return null;
    }
    fill.setColor(color);
    return fill;
  };
}

/**
 * @typedef {function(EvaluationContext):Stroke|null} StrokeEvaluator
 */

/**
 * @param {FlatStyle} flatStyle The flat style.
 * @param {string} prefix The property prefix.
 * @param {ParsingContext} context The parsing context.
 * @return {StrokeEvaluator?} A function the evaluates to a stroke.
 */
function buildStroke(flatStyle, prefix, context) {
  const evaluateWidth = numberEvaluator(
    flatStyle,
    prefix + 'stroke-width',
    context,
  );

  const evaluateColor = colorLikeEvaluator(
    flatStyle,
    prefix + 'stroke-color',
    context,
  );

  if (!evaluateWidth && !evaluateColor) {
    return null;
  }

  const evaluateLineCap = stringEvaluator(
    flatStyle,
    prefix + 'stroke-line-cap',
    context,
  );

  const evaluateLineJoin = stringEvaluator(
    flatStyle,
    prefix + 'stroke-line-join',
    context,
  );

  const evaluateLineDash = numberArrayEvaluator(
    flatStyle,
    prefix + 'stroke-line-dash',
    context,
  );

  const evaluateLineDashOffset = numberEvaluator(
    flatStyle,
    prefix + 'stroke-line-dash-offset',
    context,
  );

  const evaluateMiterLimit = numberEvaluator(
    flatStyle,
    prefix + 'stroke-miter-limit',
    context,
  );

  const stroke = new style_Stroke();
  return function (context) {
    if (evaluateColor) {
      const color = evaluateColor(context);
      if (color === NO_COLOR) {
        return null;
      }
      stroke.setColor(color);
    }

    if (evaluateWidth) {
      stroke.setWidth(evaluateWidth(context));
    }

    if (evaluateLineCap) {
      const lineCap = evaluateLineCap(context);
      if (lineCap !== 'butt' && lineCap !== 'round' && lineCap !== 'square') {
        throw new Error('Expected butt, round, or square line cap');
      }
      stroke.setLineCap(lineCap);
    }

    if (evaluateLineJoin) {
      const lineJoin = evaluateLineJoin(context);
      if (
        lineJoin !== 'bevel' &&
        lineJoin !== 'round' &&
        lineJoin !== 'miter'
      ) {
        throw new Error('Expected bevel, round, or miter line join');
      }
      stroke.setLineJoin(lineJoin);
    }

    if (evaluateLineDash) {
      stroke.setLineDash(evaluateLineDash(context));
    }

    if (evaluateLineDashOffset) {
      stroke.setLineDashOffset(evaluateLineDashOffset(context));
    }

    if (evaluateMiterLimit) {
      stroke.setMiterLimit(evaluateMiterLimit(context));
    }

    return stroke;
  };
}

/**
 * @typedef {function(EvaluationContext):Text} TextEvaluator
 */

/**
 * @param {FlatStyle} flatStyle The flat style.
 * @param {ParsingContext} context The parsing context.
 * @return {TextEvaluator?} A function that evaluates to a text symbolizer.
 */
function buildText(flatStyle, context) {
  const prefix = 'text-';

  // Currently, an Array<string> may be used for rich text support.  This doesn't
  // work with our expression syntax where arrays of strings are interpreted as
  // call expressions.  To support rich text, we could add a 'strings' operator
  // where all the following arguments would be string values.
  const evaluateValue = stringEvaluator(flatStyle, prefix + 'value', context);
  if (!evaluateValue) {
    return null;
  }

  const evaluateFill = buildFill(flatStyle, prefix, context);

  const evaluateBackgroundFill = buildFill(
    flatStyle,
    prefix + 'background-',
    context,
  );

  const evaluateStroke = buildStroke(flatStyle, prefix, context);

  const evaluateBackgroundStroke = buildStroke(
    flatStyle,
    prefix + 'background-',
    context,
  );

  const evaluateFont = stringEvaluator(flatStyle, prefix + 'font', context);

  const evaluateMaxAngle = numberEvaluator(
    flatStyle,
    prefix + 'max-angle',
    context,
  );

  const evaluateOffsetX = numberEvaluator(
    flatStyle,
    prefix + 'offset-x',
    context,
  );

  const evaluateOffsetY = numberEvaluator(
    flatStyle,
    prefix + 'offset-y',
    context,
  );

  const evaluateOverflow = booleanEvaluator(
    flatStyle,
    prefix + 'overflow',
    context,
  );

  const evaluatePlacement = stringEvaluator(
    flatStyle,
    prefix + 'placement',
    context,
  );

  const evaluateRepeat = numberEvaluator(flatStyle, prefix + 'repeat', context);

  const evaluateScale = sizeLikeEvaluator(flatStyle, prefix + 'scale', context);

  const evaluateRotateWithView = booleanEvaluator(
    flatStyle,
    prefix + 'rotate-with-view',
    context,
  );

  const evaluateRotation = numberEvaluator(
    flatStyle,
    prefix + 'rotation',
    context,
  );

  const evaluateAlign = stringEvaluator(flatStyle, prefix + 'align', context);

  const evaluateJustify = stringEvaluator(
    flatStyle,
    prefix + 'justify',
    context,
  );

  const evaluateBaseline = stringEvaluator(
    flatStyle,
    prefix + 'baseline',
    context,
  );

  const evaluateKeepUpright = booleanEvaluator(
    flatStyle,
    prefix + 'keep-upright',
    context,
  );

  const evaluatePadding = numberArrayEvaluator(
    flatStyle,
    prefix + 'padding',
    context,
  );

  // The following properties are not currently settable
  const declutterMode = optionalDeclutterMode(
    flatStyle,
    prefix + 'declutter-mode',
  );

  const text = new style_Text({declutterMode});

  return function (context) {
    text.setText(evaluateValue(context));

    if (evaluateFill) {
      text.setFill(evaluateFill(context));
    }

    if (evaluateBackgroundFill) {
      text.setBackgroundFill(evaluateBackgroundFill(context));
    }

    if (evaluateStroke) {
      text.setStroke(evaluateStroke(context));
    }

    if (evaluateBackgroundStroke) {
      text.setBackgroundStroke(evaluateBackgroundStroke(context));
    }

    if (evaluateFont) {
      text.setFont(evaluateFont(context));
    }

    if (evaluateMaxAngle) {
      text.setMaxAngle(evaluateMaxAngle(context));
    }

    if (evaluateOffsetX) {
      text.setOffsetX(evaluateOffsetX(context));
    }

    if (evaluateOffsetY) {
      text.setOffsetY(evaluateOffsetY(context));
    }

    if (evaluateOverflow) {
      text.setOverflow(evaluateOverflow(context));
    }

    if (evaluatePlacement) {
      const placement = evaluatePlacement(context);
      if (placement !== 'point' && placement !== 'line') {
        throw new Error('Expected point or line for text-placement');
      }
      text.setPlacement(placement);
    }

    if (evaluateRepeat) {
      text.setRepeat(evaluateRepeat(context));
    }

    if (evaluateScale) {
      text.setScale(evaluateScale(context));
    }

    if (evaluateRotateWithView) {
      text.setRotateWithView(evaluateRotateWithView(context));
    }

    if (evaluateRotation) {
      text.setRotation(evaluateRotation(context));
    }

    if (evaluateAlign) {
      const textAlign = evaluateAlign(context);
      if (
        textAlign !== 'left' &&
        textAlign !== 'center' &&
        textAlign !== 'right' &&
        textAlign !== 'end' &&
        textAlign !== 'start'
      ) {
        throw new Error(
          'Expected left, right, center, start, or end for text-align',
        );
      }
      text.setTextAlign(textAlign);
    }

    if (evaluateJustify) {
      const justify = evaluateJustify(context);
      if (justify !== 'left' && justify !== 'right' && justify !== 'center') {
        throw new Error('Expected left, right, or center for text-justify');
      }
      text.setJustify(justify);
    }

    if (evaluateBaseline) {
      const textBaseline = evaluateBaseline(context);
      if (
        textBaseline !== 'bottom' &&
        textBaseline !== 'top' &&
        textBaseline !== 'middle' &&
        textBaseline !== 'alphabetic' &&
        textBaseline !== 'hanging'
      ) {
        throw new Error(
          'Expected bottom, top, middle, alphabetic, or hanging for text-baseline',
        );
      }
      text.setTextBaseline(textBaseline);
    }

    if (evaluatePadding) {
      text.setPadding(evaluatePadding(context));
    }

    if (evaluateKeepUpright) {
      text.setKeepUpright(evaluateKeepUpright(context));
    }

    return text;
  };
}

/**
 * @typedef {function(EvaluationContext):import("../../style/Image.js").default} ImageEvaluator
 */

/**
 * @param {FlatStyle} flatStyle The flat style.
 * @param {ParsingContext} context The parsing context.
 * @return {ImageEvaluator?} A function that evaluates to an image symbolizer.
 */
function buildImage(flatStyle, context) {
  if ('icon-src' in flatStyle) {
    return buildIcon(flatStyle, context);
  }

  if ('shape-points' in flatStyle) {
    return buildShape(flatStyle, context);
  }

  if ('circle-radius' in flatStyle) {
    return buildCircle(flatStyle, context);
  }

  return null;
}

/**
 * @param {FlatStyle} flatStyle The flat style.
 * @param {ParsingContext} context The parsing context.
 * @return {ImageEvaluator} A function that evaluates to an image symbolizer.
 */
function buildIcon(flatStyle, context) {
  const prefix = 'icon-';

  // required property
  const srcName = prefix + 'src';
  const src = requireString(flatStyle[srcName], srcName);

  // settable properties
  const evaluateAnchor = coordinateEvaluator(
    flatStyle,
    prefix + 'anchor',
    context,
  );

  const evaluateScale = sizeLikeEvaluator(flatStyle, prefix + 'scale', context);

  const evaluateOpacity = numberEvaluator(
    flatStyle,
    prefix + 'opacity',
    context,
  );

  const evaluateDisplacement = coordinateEvaluator(
    flatStyle,
    prefix + 'displacement',
    context,
  );

  const evaluateRotation = numberEvaluator(
    flatStyle,
    prefix + 'rotation',
    context,
  );

  const evaluateRotateWithView = booleanEvaluator(
    flatStyle,
    prefix + 'rotate-with-view',
    context,
  );

  // the remaining symbolizer properties are not currently settable
  const anchorOrigin = optionalIconOrigin(flatStyle, prefix + 'anchor-origin');
  const anchorXUnits = optionalIconAnchorUnits(
    flatStyle,
    prefix + 'anchor-x-units',
  );
  const anchorYUnits = optionalIconAnchorUnits(
    flatStyle,
    prefix + 'anchor-y-units',
  );
  const color = optionalColorLike(flatStyle, prefix + 'color');
  const crossOrigin = optionalString(flatStyle, prefix + 'cross-origin');
  const offset = optionalNumberArray(flatStyle, prefix + 'offset');
  const offsetOrigin = optionalIconOrigin(flatStyle, prefix + 'offset-origin');
  const width = optionalNumber(flatStyle, prefix + 'width');
  const height = optionalNumber(flatStyle, prefix + 'height');
  const size = optionalSize(flatStyle, prefix + 'size');
  const declutterMode = optionalDeclutterMode(
    flatStyle,
    prefix + 'declutter-mode',
  );

  const icon = new style_Icon({
    src,
    anchorOrigin,
    anchorXUnits,
    anchorYUnits,
    color,
    crossOrigin,
    offset,
    offsetOrigin,
    height,
    width,
    size,
    declutterMode,
  });

  return function (context) {
    if (evaluateOpacity) {
      icon.setOpacity(evaluateOpacity(context));
    }

    if (evaluateDisplacement) {
      icon.setDisplacement(evaluateDisplacement(context));
    }

    if (evaluateRotation) {
      icon.setRotation(evaluateRotation(context));
    }

    if (evaluateRotateWithView) {
      icon.setRotateWithView(evaluateRotateWithView(context));
    }

    if (evaluateScale) {
      icon.setScale(evaluateScale(context));
    }

    if (evaluateAnchor) {
      icon.setAnchor(evaluateAnchor(context));
    }
    return icon;
  };
}

/**
 * @param {FlatStyle} flatStyle The flat style.
 * @param {ParsingContext} context The parsing context.
 * @return {ImageEvaluator} A function that evaluates to an icon symbolizer.
 */
function buildShape(flatStyle, context) {
  const prefix = 'shape-';

  // required property
  const pointsName = prefix + 'points';
  const radiusName = prefix + 'radius';
  const points = requireNumber(flatStyle[pointsName], pointsName);
  const radius = requireNumber(flatStyle[radiusName], radiusName);

  // settable properties
  const evaluateFill = buildFill(flatStyle, prefix, context);
  const evaluateStroke = buildStroke(flatStyle, prefix, context);
  const evaluateScale = sizeLikeEvaluator(flatStyle, prefix + 'scale', context);
  const evaluateDisplacement = coordinateEvaluator(
    flatStyle,
    prefix + 'displacement',
    context,
  );
  const evaluateRotation = numberEvaluator(
    flatStyle,
    prefix + 'rotation',
    context,
  );
  const evaluateRotateWithView = booleanEvaluator(
    flatStyle,
    prefix + 'rotate-with-view',
    context,
  );

  // the remaining properties are not currently settable
  const radius2 = optionalNumber(flatStyle, prefix + 'radius2');
  const angle = optionalNumber(flatStyle, prefix + 'angle');
  const declutterMode = optionalDeclutterMode(
    flatStyle,
    prefix + 'declutter-mode',
  );

  const shape = new style_RegularShape({
    points,
    radius,
    radius2,
    angle,
    declutterMode,
  });

  return function (context) {
    if (evaluateFill) {
      shape.setFill(evaluateFill(context));
    }
    if (evaluateStroke) {
      shape.setStroke(evaluateStroke(context));
    }
    if (evaluateDisplacement) {
      shape.setDisplacement(evaluateDisplacement(context));
    }
    if (evaluateRotation) {
      shape.setRotation(evaluateRotation(context));
    }
    if (evaluateRotateWithView) {
      shape.setRotateWithView(evaluateRotateWithView(context));
    }
    if (evaluateScale) {
      shape.setScale(evaluateScale(context));
    }

    return shape;
  };
}

/**
 * @param {FlatStyle} flatStyle The flat style.
 * @param {ParsingContext} context The parsing context.
 * @return {ImageEvaluator} A function that evaluates to a circle symbolizer.
 */
function buildCircle(flatStyle, context) {
  const prefix = 'circle-';

  // settable properties
  const evaluateFill = buildFill(flatStyle, prefix, context);
  const evaluateStroke = buildStroke(flatStyle, prefix, context);
  const evaluateRadius = numberEvaluator(flatStyle, prefix + 'radius', context);
  const evaluateScale = sizeLikeEvaluator(flatStyle, prefix + 'scale', context);
  const evaluateDisplacement = coordinateEvaluator(
    flatStyle,
    prefix + 'displacement',
    context,
  );
  const evaluateRotation = numberEvaluator(
    flatStyle,
    prefix + 'rotation',
    context,
  );
  const evaluateRotateWithView = booleanEvaluator(
    flatStyle,
    prefix + 'rotate-with-view',
    context,
  );

  // the remaining properties are not currently settable
  const declutterMode = optionalDeclutterMode(
    flatStyle,
    prefix + 'declutter-mode',
  );

  const circle = new Circle({
    radius: 5, // this is arbitrary, but required - the evaluated radius is used below
    declutterMode,
  });

  return function (context) {
    if (evaluateRadius) {
      circle.setRadius(evaluateRadius(context));
    }
    if (evaluateFill) {
      circle.setFill(evaluateFill(context));
    }
    if (evaluateStroke) {
      circle.setStroke(evaluateStroke(context));
    }
    if (evaluateDisplacement) {
      circle.setDisplacement(evaluateDisplacement(context));
    }
    if (evaluateRotation) {
      circle.setRotation(evaluateRotation(context));
    }
    if (evaluateRotateWithView) {
      circle.setRotateWithView(evaluateRotateWithView(context));
    }
    if (evaluateScale) {
      circle.setScale(evaluateScale(context));
    }

    return circle;
  };
}

/**
 * @param {FlatStyle} flatStyle The flat style.
 * @param {string} name The property name.
 * @param {ParsingContext} context The parsing context.
 * @return {import('../../expr/cpu.js').NumberEvaluator|undefined} The expression evaluator or undefined.
 */
function numberEvaluator(flatStyle, name, context) {
  if (!(name in flatStyle)) {
    return undefined;
  }
  const evaluator = buildExpression(flatStyle[name], NumberType, context);
  return function (context) {
    return requireNumber(evaluator(context), name);
  };
}

/**
 * @param {FlatStyle} flatStyle The flat style.
 * @param {string} name The property name.
 * @param {ParsingContext} context The parsing context.
 * @return {import('../../expr/cpu.js').StringEvaluator?} The expression evaluator.
 */
function stringEvaluator(flatStyle, name, context) {
  if (!(name in flatStyle)) {
    return null;
  }
  const evaluator = buildExpression(flatStyle[name], StringType, context);
  return function (context) {
    return requireString(evaluator(context), name);
  };
}

function patternEvaluator(flatStyle, prefix, context) {
  const srcEvaluator = stringEvaluator(
    flatStyle,
    prefix + 'pattern-src',
    context,
  );
  const offsetEvaluator = sizeEvaluator(
    flatStyle,
    prefix + 'pattern-offset',
    context,
  );
  const patternSizeEvaluator = sizeEvaluator(
    flatStyle,
    prefix + 'pattern-size',
    context,
  );
  const colorEvaluator = colorLikeEvaluator(
    flatStyle,
    prefix + 'color',
    context,
  );
  return function (context) {
    return {
      src: srcEvaluator(context),
      offset: offsetEvaluator && offsetEvaluator(context),
      size: patternSizeEvaluator && patternSizeEvaluator(context),
      color: colorEvaluator && colorEvaluator(context),
    };
  };
}

/**
 * @param {FlatStyle} flatStyle The flat style.
 * @param {string} name The property name.
 * @param {ParsingContext} context The parsing context.
 * @return {import('../../expr/cpu.js').BooleanEvaluator?} The expression evaluator.
 */
function booleanEvaluator(flatStyle, name, context) {
  if (!(name in flatStyle)) {
    return null;
  }
  const evaluator = buildExpression(flatStyle[name], BooleanType, context);
  return function (context) {
    const value = evaluator(context);
    if (typeof value !== 'boolean') {
      throw new Error(`Expected a boolean for ${name}`);
    }
    return value;
  };
}

/**
 * @param {FlatStyle} flatStyle The flat style.
 * @param {string} name The property name.
 * @param {ParsingContext} context The parsing context.
 * @return {import('../../expr/cpu.js').ColorLikeEvaluator?} The expression evaluator.
 */
function colorLikeEvaluator(flatStyle, name, context) {
  if (!(name in flatStyle)) {
    return null;
  }
  const evaluator = buildExpression(flatStyle[name], ColorType, context);
  return function (context) {
    return requireColorLike(evaluator(context), name);
  };
}

/**
 * @param {FlatStyle} flatStyle The flat style.
 * @param {string} name The property name.
 * @param {ParsingContext} context The parsing context.
 * @return {import('../../expr/cpu.js').NumberArrayEvaluator?} The expression evaluator.
 */
function numberArrayEvaluator(flatStyle, name, context) {
  if (!(name in flatStyle)) {
    return null;
  }
  const evaluator = buildExpression(flatStyle[name], NumberArrayType, context);
  return function (context) {
    return requireNumberArray(evaluator(context), name);
  };
}

/**
 * @param {FlatStyle} flatStyle The flat style.
 * @param {string} name The property name.
 * @param {ParsingContext} context The parsing context.
 * @return {import('../../expr/cpu.js').CoordinateEvaluator?} The expression evaluator.
 */
function coordinateEvaluator(flatStyle, name, context) {
  if (!(name in flatStyle)) {
    return null;
  }
  const evaluator = buildExpression(flatStyle[name], NumberArrayType, context);
  return function (context) {
    const array = requireNumberArray(evaluator(context), name);
    if (array.length !== 2) {
      throw new Error(`Expected two numbers for ${name}`);
    }
    return array;
  };
}

/**
 * @param {FlatStyle} flatStyle The flat style.
 * @param {string} name The property name.
 * @param {ParsingContext} context The parsing context.
 * @return {import('../../expr/cpu.js').SizeEvaluator?} The expression evaluator.
 */
function sizeEvaluator(flatStyle, name, context) {
  if (!(name in flatStyle)) {
    return null;
  }
  const evaluator = buildExpression(flatStyle[name], NumberArrayType, context);
  return function (context) {
    return requireSize(evaluator(context), name);
  };
}

/**
 * @param {FlatStyle} flatStyle The flat style.
 * @param {string} name The property name.
 * @param {ParsingContext} context The parsing context.
 * @return {import('../../expr/cpu.js').SizeLikeEvaluator?} The expression evaluator.
 */
function sizeLikeEvaluator(flatStyle, name, context) {
  if (!(name in flatStyle)) {
    return null;
  }
  const evaluator = buildExpression(
    flatStyle[name],
    NumberArrayType | NumberType,
    context,
  );
  return function (context) {
    return requireSizeLike(evaluator(context), name);
  };
}

/**
 * @param {FlatStyle} flatStyle The flat style.
 * @param {string} property The symbolizer property.
 * @return {number|undefined} A number or undefined.
 */
function optionalNumber(flatStyle, property) {
  const value = flatStyle[property];
  if (value === undefined) {
    return undefined;
  }
  if (typeof value !== 'number') {
    throw new Error(`Expected a number for ${property}`);
  }
  return value;
}

/**
 * @param {FlatStyle} flatStyle The flat style.
 * @param {string} property The symbolizer property.
 * @return {import("../../size.js").Size|undefined} A size or undefined.
 */
function optionalSize(flatStyle, property) {
  const encoded = flatStyle[property];
  if (encoded === undefined) {
    return undefined;
  }
  if (typeof encoded === 'number') {
    return toSize(encoded);
  }
  if (!Array.isArray(encoded)) {
    throw new Error(`Expected a number or size array for ${property}`);
  }
  if (
    encoded.length !== 2 ||
    typeof encoded[0] !== 'number' ||
    typeof encoded[1] !== 'number'
  ) {
    throw new Error(`Expected a number or size array for ${property}`);
  }
  return encoded;
}

/**
 * @param {FlatStyle} flatStyle The flat style.
 * @param {string} property The symbolizer property.
 * @return {string|undefined} A string or undefined.
 */
function optionalString(flatStyle, property) {
  const encoded = flatStyle[property];
  if (encoded === undefined) {
    return undefined;
  }
  if (typeof encoded !== 'string') {
    throw new Error(`Expected a string for ${property}`);
  }
  return encoded;
}

/**
 * @param {FlatStyle} flatStyle The flat style.
 * @param {string} property The symbolizer property.
 * @return {import("../../style/Icon.js").IconOrigin|undefined} An icon origin or undefined.
 */
function optionalIconOrigin(flatStyle, property) {
  const encoded = flatStyle[property];
  if (encoded === undefined) {
    return undefined;
  }
  if (
    encoded !== 'bottom-left' &&
    encoded !== 'bottom-right' &&
    encoded !== 'top-left' &&
    encoded !== 'top-right'
  ) {
    throw new Error(
      `Expected bottom-left, bottom-right, top-left, or top-right for ${property}`,
    );
  }
  return encoded;
}

/**
 * @param {FlatStyle} flatStyle The flat style.
 * @param {string} property The symbolizer property.
 * @return {import("../../style/Icon.js").IconAnchorUnits|undefined} Icon anchor units or undefined.
 */
function optionalIconAnchorUnits(flatStyle, property) {
  const encoded = flatStyle[property];
  if (encoded === undefined) {
    return undefined;
  }
  if (encoded !== 'pixels' && encoded !== 'fraction') {
    throw new Error(`Expected pixels or fraction for ${property}`);
  }
  return encoded;
}

/**
 * @param {FlatStyle} flatStyle The flat style.
 * @param {string} property The symbolizer property.
 * @return {Array<number>|undefined} An array of numbers or undefined.
 */
function optionalNumberArray(flatStyle, property) {
  const encoded = flatStyle[property];
  if (encoded === undefined) {
    return undefined;
  }
  return requireNumberArray(encoded, property);
}

/**
 * @param {FlatStyle} flatStyle The flat style.
 * @param {string} property The symbolizer property.
 * @return {import('../../style/Style.js').DeclutterMode} Icon declutter mode.
 */
function optionalDeclutterMode(flatStyle, property) {
  const encoded = flatStyle[property];
  if (encoded === undefined) {
    return undefined;
  }
  if (typeof encoded !== 'string') {
    throw new Error(`Expected a string for ${property}`);
  }
  if (encoded !== 'declutter' && encoded !== 'obstacle' && encoded !== 'none') {
    throw new Error(`Expected declutter, obstacle, or none for ${property}`);
  }
  return encoded;
}

/**
 * @param {FlatStyle} flatStyle The flat style.
 * @param {string} property The symbolizer property.
 * @return {string|Array<number>|undefined} A string or an array of color values or undefined.
 */
function optionalColorLike(flatStyle, property) {
  const encoded = flatStyle[property];
  if (encoded === undefined) {
    return undefined;
  }
  return requireColorLike(encoded, property);
}

/**
 * @param {any} value The value.
 * @param {string} property The property.
 * @return {Array<number>} An array of numbers.
 */
function requireNumberArray(value, property) {
  if (!Array.isArray(value)) {
    throw new Error(`Expected an array for ${property}`);
  }
  const length = value.length;
  for (let i = 0; i < length; ++i) {
    if (typeof value[i] !== 'number') {
      throw new Error(`Expected an array of numbers for ${property}`);
    }
  }
  return value;
}

/**
 * @param {any} value The value.
 * @param {string} property The property.
 * @return {string} A string.
 */
function requireString(value, property) {
  if (typeof value !== 'string') {
    throw new Error(`Expected a string for ${property}`);
  }
  return value;
}

/**
 * @param {any} value The value.
 * @param {string} property The property.
 * @return {number} A number.
 */
function requireNumber(value, property) {
  if (typeof value !== 'number') {
    throw new Error(`Expected a number for ${property}`);
  }
  return value;
}

/**
 * @param {any} value The value.
 * @param {string} property The property.
 * @return {Array<number>|string} A color.
 */
function requireColorLike(value, property) {
  if (typeof value === 'string') {
    return value;
  }
  const array = requireNumberArray(value, property);
  const length = array.length;
  if (length < 3 || length > 4) {
    throw new Error(`Expected a color with 3 or 4 values for ${property}`);
  }
  return array;
}

/**
 * @param {any} value The value.
 * @param {string} property The property.
 * @return {Array<number>} A number or an array of two numbers.
 */
function requireSize(value, property) {
  const size = requireNumberArray(value, property);
  if (size.length !== 2) {
    throw new Error(`Expected an array of two numbers for ${property}`);
  }
  return size;
}

/**
 * @param {any} value The value.
 * @param {string} property The property.
 * @return {number|Array<number>} A number or an array of two numbers.
 */
function requireSizeLike(value, property) {
  if (typeof value === 'number') {
    return value;
  }
  return requireSize(value, property);
}

;// CONCATENATED MODULE: ./node_modules/ol/layer/BaseVector.js
/**
 * @module ol/layer/BaseVector
 */





/***
 * @template T
 * @typedef {T extends import("../source/Vector.js").default<infer U extends import("../Feature.js").FeatureLike> ? U : never} ExtractedFeatureType
 */

/**
 * @template {import('../Feature').FeatureLike} FeatureType
 * @template {import("../source/Vector.js").default<FeatureType>|import("../source/VectorTile.js").default<FeatureType>} VectorSourceType<FeatureType>
 * @typedef {Object} Options
 * @property {string} [className='ol-layer'] A CSS class name to set to the layer element.
 * @property {number} [opacity=1] Opacity (0, 1).
 * @property {boolean} [visible=true] Visibility.
 * @property {import("../extent.js").Extent} [extent] The bounding extent for layer rendering.  The layer will not be
 * rendered outside of this extent.
 * @property {number} [zIndex] The z-index for layer rendering.  At rendering time, the layers
 * will be ordered, first by Z-index and then by position. When `undefined`, a `zIndex` of 0 is assumed
 * for layers that are added to the map's `layers` collection, or `Infinity` when the layer's `setMap()`
 * method was used.
 * @property {number} [minResolution] The minimum resolution (inclusive) at which this layer will be
 * visible.
 * @property {number} [maxResolution] The maximum resolution (exclusive) below which this layer will
 * be visible.
 * @property {number} [minZoom] The minimum view zoom level (exclusive) above which this layer will be
 * visible.
 * @property {number} [maxZoom] The maximum view zoom level (inclusive) at which this layer will
 * be visible.
 * @property {import("../render.js").OrderFunction} [renderOrder] Render order. Function to be used when sorting
 * features before rendering. By default features are drawn in the order that they are created. Use
 * `null` to avoid the sort, but get an undefined draw order.
 * @property {number} [renderBuffer=100] The buffer in pixels around the viewport extent used by the
 * renderer when getting features from the vector source for the rendering or hit-detection.
 * Recommended value: the size of the largest symbol, line width or label.
 * @property {VectorSourceType} [source] Source.
 * @property {import("../Map.js").default} [map] Sets the layer as overlay on a map. The map will not manage
 * this layer in its layers collection, and the layer will be rendered on top. This is useful for
 * temporary layers. The standard way to add a layer to a map and have it managed by the map is to
 * use [map.addLayer()]{@link import("../Map.js").default#addLayer}.
 * @property {boolean|string|number} [declutter=false] Declutter images and text. Any truthy value will enable
 * decluttering. Within a layer, a feature rendered before another has higher priority. All layers with the
 * same `declutter` value will be decluttered together. The priority is determined by the drawing order of the
 * layers with the same `declutter` value. Higher in the layer stack means higher priority. To declutter distinct
 * layers or groups of layers separately, use different truthy values for `declutter`.
 * @property {import("../style/Style.js").StyleLike|import("../style/flat.js").FlatStyleLike|null} [style] Layer style. When set to `null`, only
 * features that have their own style will be rendered. See {@link module:ol/style/Style~Style} for the default style
 * which will be used if this is not set.
 * @property {import("./Base.js").BackgroundColor} [background] Background color for the layer. If not specified, no background
 * will be rendered.
 * @property {boolean} [updateWhileAnimating=false] When set to `true`, feature batches will
 * be recreated during animations. This means that no vectors will be shown clipped, but the
 * setting will have a performance impact for large amounts of vector data. When set to `false`,
 * batches will be recreated when no animation is active.
 * @property {boolean} [updateWhileInteracting=false] When set to `true`, feature batches will
 * be recreated during interactions. See also `updateWhileAnimating`.
 * @property {Object<string, *>} [properties] Arbitrary observable properties. Can be accessed with `#get()` and `#set()`.
 */

/**
 * @enum {string}
 * @private
 */
const BaseVector_Property = {
  RENDER_ORDER: 'renderOrder',
};

/**
 * @classdesc
 * Vector data that is rendered client-side.
 * Note that any property set in the options is set as a {@link module:ol/Object~BaseObject}
 * property on the layer object; for example, setting `title: 'My Title'` in the
 * options means that `title` is observable, and has get/set accessors.
 *
 * @template {import('../Feature').FeatureLike} FeatureType
 * @template {import("../source/Vector.js").default<FeatureType>|import("../source/VectorTile.js").default<FeatureType>} VectorSourceType<FeatureType>
 * @extends {Layer<VectorSourceType, RendererType>}
 * @template {import("../renderer/canvas/VectorLayer.js").default|import("../renderer/canvas/VectorTileLayer.js").default|import("../renderer/canvas/VectorImageLayer.js").default|import("../renderer/webgl/VectorLayer.js").default|import("../renderer/webgl/PointsLayer.js").default} RendererType
 * @api
 */
class BaseVectorLayer extends layer_Layer {
  /**
   * @param {Options<FeatureType, VectorSourceType>} [options] Options.
   */
  constructor(options) {
    options = options ? options : {};

    const baseOptions = Object.assign({}, options);

    delete baseOptions.style;
    delete baseOptions.renderBuffer;
    delete baseOptions.updateWhileAnimating;
    delete baseOptions.updateWhileInteracting;
    super(baseOptions);

    /**
     * @private
     * @type {string}
     */
    this.declutter_ = options.declutter ? String(options.declutter) : undefined;

    /**
     * @type {number}
     * @private
     */
    this.renderBuffer_ =
      options.renderBuffer !== undefined ? options.renderBuffer : 100;

    /**
     * User provided style.
     * @type {import("../style/Style.js").StyleLike|import("../style/flat.js").FlatStyleLike}
     * @private
     */
    this.style_ = null;

    /**
     * Style function for use within the library.
     * @type {import("../style/Style.js").StyleFunction|undefined}
     * @private
     */
    this.styleFunction_ = undefined;

    this.setStyle(options.style);

    /**
     * @type {boolean}
     * @private
     */
    this.updateWhileAnimating_ =
      options.updateWhileAnimating !== undefined
        ? options.updateWhileAnimating
        : false;

    /**
     * @type {boolean}
     * @private
     */
    this.updateWhileInteracting_ =
      options.updateWhileInteracting !== undefined
        ? options.updateWhileInteracting
        : false;
  }

  /**
   * @return {string} Declutter group.
   * @override
   */
  getDeclutter() {
    return this.declutter_;
  }

  /**
   * Get the topmost feature that intersects the given pixel on the viewport. Returns a promise
   * that resolves with an array of features. The array will either contain the topmost feature
   * when a hit was detected, or it will be empty.
   *
   * The hit detection algorithm used for this method is optimized for performance, but is less
   * accurate than the one used in [map.getFeaturesAtPixel()]{@link import("../Map.js").default#getFeaturesAtPixel}.
   * Text is not considered, and icons are only represented by their bounding box instead of the exact
   * image.
   *
   * @param {import("../pixel.js").Pixel} pixel Pixel.
   * @return {Promise<Array<import("../Feature").FeatureLike>>} Promise that resolves with an array of features.
   * @api
   * @override
   */
  getFeatures(pixel) {
    return super.getFeatures(pixel);
  }

  /**
   * @return {number|undefined} Render buffer.
   */
  getRenderBuffer() {
    return this.renderBuffer_;
  }

  /**
   * @return {import("../render.js").OrderFunction|null|undefined} Render order.
   */
  getRenderOrder() {
    return /** @type {import("../render.js").OrderFunction|null|undefined} */ (
      this.get(BaseVector_Property.RENDER_ORDER)
    );
  }

  /**
   * Get the style for features.  This returns whatever was passed to the `style`
   * option at construction or to the `setStyle` method.
   * @return {import("../style/Style.js").StyleLike|import("../style/flat.js").FlatStyleLike|null|undefined} Layer style.
   * @api
   */
  getStyle() {
    return this.style_;
  }

  /**
   * Get the style function.
   * @return {import("../style/Style.js").StyleFunction|undefined} Layer style function.
   * @api
   */
  getStyleFunction() {
    return this.styleFunction_;
  }

  /**
   * @return {boolean} Whether the rendered layer should be updated while
   *     animating.
   */
  getUpdateWhileAnimating() {
    return this.updateWhileAnimating_;
  }

  /**
   * @return {boolean} Whether the rendered layer should be updated while
   *     interacting.
   */
  getUpdateWhileInteracting() {
    return this.updateWhileInteracting_;
  }

  /**
   * Render declutter items for this layer
   * @param {import("../Map.js").FrameState} frameState Frame state.
   * @param {import("../layer/Layer.js").State} layerState Layer state.
   * @override
   */
  renderDeclutter(frameState, layerState) {
    const declutterGroup = this.getDeclutter();
    if (declutterGroup in frameState.declutter === false) {
      frameState.declutter[declutterGroup] = new rbush_RBush(9);
    }
    this.getRenderer().renderDeclutter(frameState, layerState);
  }

  /**
   * @param {import("../render.js").OrderFunction|null|undefined} renderOrder
   *     Render order.
   */
  setRenderOrder(renderOrder) {
    this.set(BaseVector_Property.RENDER_ORDER, renderOrder);
  }

  /**
   * Set the style for features.  This can be a single style object, an array
   * of styles, or a function that takes a feature and resolution and returns
   * an array of styles. If set to `null`, the layer has no style (a `null` style),
   * so only features that have their own styles will be rendered in the layer. Call
   * `setStyle()` without arguments to reset to the default style. See
   * [the ol/style/Style module]{@link module:ol/style/Style~Style} for information on the default style.
   *
   * If your layer has a static style, you can use [flat style]{@link module:ol/style/flat~FlatStyle} object
   * literals instead of using the `Style` and symbolizer constructors (`Fill`, `Stroke`, etc.):
   * ```js
   * vectorLayer.setStyle({
   *   "fill-color": "yellow",
   *   "stroke-color": "black",
   *   "stroke-width": 4
   * })
   * ```
   *
   * @param {import("../style/Style.js").StyleLike|import("../style/flat.js").FlatStyleLike|null} [style] Layer style.
   * @api
   */
  setStyle(style) {
    this.style_ = style === undefined ? createDefaultStyle : style;
    const styleLike = toStyleLike(style);
    this.styleFunction_ =
      style === null ? undefined : toFunction(styleLike);
    this.changed();
  }

  /**
   * @param {boolean|string|number} declutter Declutter images and text.
   * @api
   */
  setDeclutter(declutter) {
    this.declutter_ = declutter ? String(declutter) : undefined;
    this.changed();
  }
}

/**
 * Coerce the allowed style types into a shorter list of types.  Flat styles, arrays of flat
 * styles, and arrays of rules are converted into style functions.
 *
 * @param {import("../style/Style.js").StyleLike|import("../style/flat.js").FlatStyleLike|null} [style] Layer style.
 * @return {import("../style/Style.js").StyleLike|null} The style.
 */
function toStyleLike(style) {
  if (style === undefined) {
    return createDefaultStyle;
  }
  if (!style) {
    return null;
  }
  if (typeof style === 'function') {
    return style;
  }
  if (style instanceof style_Style) {
    return style;
  }
  if (!Array.isArray(style)) {
    return flatStylesToStyleFunction([style]);
  }
  if (style.length === 0) {
    return [];
  }

  const length = style.length;
  const first = style[0];

  if (first instanceof style_Style) {
    /**
     * @type {Array<Style>}
     */
    const styles = new Array(length);
    for (let i = 0; i < length; ++i) {
      const candidate = style[i];
      if (!(candidate instanceof style_Style)) {
        throw new Error('Expected a list of style instances');
      }
      styles[i] = candidate;
    }
    return styles;
  }

  if ('style' in first) {
    /**
     * @type {Array<import("../style/flat.js").Rule>}
     */
    const rules = new Array(length);
    for (let i = 0; i < length; ++i) {
      const candidate = style[i];
      if (!('style' in candidate)) {
        throw new Error('Expected a list of rules with a style property');
      }
      rules[i] = candidate;
    }
    return rulesToStyleFunction(rules);
  }

  const flatStyles =
    /** @type {Array<import("../style/flat.js").FlatStyle>} */ (style);
  return flatStylesToStyleFunction(flatStyles);
}

/* harmony default export */ const BaseVector = (BaseVectorLayer);

;// CONCATENATED MODULE: ./node_modules/ol/render/Event.js
/**
 * @module ol/render/Event
 */



class RenderEvent extends Event {
  /**
   * @param {import("./EventType.js").default} type Type.
   * @param {import("../transform.js").Transform} [inversePixelTransform] Transform for
   *     CSS pixels to rendered pixels.
   * @param {import("../Map.js").FrameState} [frameState] Frame state.
   * @param {?(CanvasRenderingContext2D|WebGLRenderingContext)} [context] Context.
   */
  constructor(type, inversePixelTransform, frameState, context) {
    super(type);

    /**
     * Transform from CSS pixels (relative to the top-left corner of the map viewport)
     * to rendered pixels on this event's `context`. Only available when a Canvas renderer is used, null otherwise.
     * @type {import("../transform.js").Transform|undefined}
     * @api
     */
    this.inversePixelTransform = inversePixelTransform;

    /**
     * An object representing the current render frame state.
     * @type {import("../Map.js").FrameState|undefined}
     * @api
     */
    this.frameState = frameState;

    /**
     * Canvas context. Not available when the event is dispatched by the map. For Canvas 2D layers,
     * the context will be the 2D rendering context.  For WebGL layers, the context will be the WebGL
     * context.
     * @type {CanvasRenderingContext2D|WebGLRenderingContext|undefined}
     * @api
     */
    this.context = context;
  }
}

/* harmony default export */ const render_Event = (RenderEvent);

;// CONCATENATED MODULE: ./node_modules/ol/renderer/Map.js
/**
 * @module ol/renderer/Map
 */









/**
 * @template T
 * @typedef HitMatch
 * @property {import("../Feature.js").FeatureLike} feature Feature.
 * @property {import("../layer/Layer.js").default} layer Layer.
 * @property {import("../geom/SimpleGeometry.js").default} geometry Geometry.
 * @property {number} distanceSq Squared distance.
 * @property {import("./vector.js").FeatureCallback<T>} callback Callback.
 */

/**
 * @abstract
 */
class MapRenderer extends ol_Disposable {
  /**
   * @param {import("../Map.js").default} map Map.
   */
  constructor(map) {
    super();

    /**
     * @private
     * @type {import("../Map.js").default}
     */
    this.map_ = map;
  }

  /**
   * @abstract
   * @param {import("../render/EventType.js").default} type Event type.
   * @param {import("../Map.js").FrameState} frameState Frame state.
   */
  dispatchRenderEvent(type, frameState) {
    util_abstract();
  }

  /**
   * @param {import("../Map.js").FrameState} frameState FrameState.
   * @protected
   */
  calculateMatrices2D(frameState) {
    const viewState = frameState.viewState;
    const coordinateToPixelTransform = frameState.coordinateToPixelTransform;
    const pixelToCoordinateTransform = frameState.pixelToCoordinateTransform;

    compose(
      coordinateToPixelTransform,
      frameState.size[0] / 2,
      frameState.size[1] / 2,
      1 / viewState.resolution,
      -1 / viewState.resolution,
      -viewState.rotation,
      -viewState.center[0],
      -viewState.center[1],
    );

    makeInverse(pixelToCoordinateTransform, coordinateToPixelTransform);
  }

  /**
   * @param {import("../coordinate.js").Coordinate} coordinate Coordinate.
   * @param {import("../Map.js").FrameState} frameState FrameState.
   * @param {number} hitTolerance Hit tolerance in pixels.
   * @param {boolean} checkWrapped Check for wrapped geometries.
   * @param {import("./vector.js").FeatureCallback<T>} callback Feature callback.
   * @param {S} thisArg Value to use as `this` when executing `callback`.
   * @param {function(this: U, import("../layer/Layer.js").default): boolean} layerFilter Layer filter
   *     function, only layers which are visible and for which this function
   *     returns `true` will be tested for features.  By default, all visible
   *     layers will be tested.
   * @param {U} thisArg2 Value to use as `this` when executing `layerFilter`.
   * @return {T|undefined} Callback result.
   * @template S,T,U
   */
  forEachFeatureAtCoordinate(
    coordinate,
    frameState,
    hitTolerance,
    checkWrapped,
    callback,
    thisArg,
    layerFilter,
    thisArg2,
  ) {
    let result;
    const viewState = frameState.viewState;

    /**
     * @param {boolean} managed Managed layer.
     * @param {import("../Feature.js").FeatureLike} feature Feature.
     * @param {import("../layer/Layer.js").default} layer Layer.
     * @param {import("../geom/Geometry.js").default} geometry Geometry.
     * @return {T|undefined} Callback result.
     */
    function forEachFeatureAtCoordinate(managed, feature, layer, geometry) {
      return callback.call(thisArg, feature, managed ? layer : null, geometry);
    }

    const projection = viewState.projection;

    const translatedCoordinate = coordinate_wrapX(coordinate.slice(), projection);
    const offsets = [[0, 0]];
    if (projection.canWrapX() && checkWrapped) {
      const projectionExtent = projection.getExtent();
      const worldWidth = extent_getWidth(projectionExtent);
      offsets.push([-worldWidth, 0], [worldWidth, 0]);
    }

    const layerStates = frameState.layerStatesArray;
    const numLayers = layerStates.length;

    const matches = /** @type {Array<HitMatch<T>>} */ ([]);
    const tmpCoord = [];
    for (let i = 0; i < offsets.length; i++) {
      for (let j = numLayers - 1; j >= 0; --j) {
        const layerState = layerStates[j];
        const layer = layerState.layer;
        if (
          layer.hasRenderer() &&
          inView(layerState, viewState) &&
          layerFilter.call(thisArg2, layer)
        ) {
          const layerRenderer = layer.getRenderer();
          const source = layer.getSource();
          if (layerRenderer && source) {
            const coordinates = source.getWrapX()
              ? translatedCoordinate
              : coordinate;
            const callback = forEachFeatureAtCoordinate.bind(
              null,
              layerState.managed,
            );
            tmpCoord[0] = coordinates[0] + offsets[i][0];
            tmpCoord[1] = coordinates[1] + offsets[i][1];
            result = layerRenderer.forEachFeatureAtCoordinate(
              tmpCoord,
              frameState,
              hitTolerance,
              callback,
              matches,
            );
          }
          if (result) {
            return result;
          }
        }
      }
    }
    if (matches.length === 0) {
      return undefined;
    }
    const order = 1 / matches.length;
    matches.forEach((m, i) => (m.distanceSq += i * order));
    matches.sort((a, b) => a.distanceSq - b.distanceSq);
    matches.some((m) => {
      return (result = m.callback(m.feature, m.layer, m.geometry));
    });
    return result;
  }

  /**
   * @param {import("../coordinate.js").Coordinate} coordinate Coordinate.
   * @param {import("../Map.js").FrameState} frameState FrameState.
   * @param {number} hitTolerance Hit tolerance in pixels.
   * @param {boolean} checkWrapped Check for wrapped geometries.
   * @param {function(this: U, import("../layer/Layer.js").default): boolean} layerFilter Layer filter
   *     function, only layers which are visible and for which this function
   *     returns `true` will be tested for features.  By default, all visible
   *     layers will be tested.
   * @param {U} thisArg Value to use as `this` when executing `layerFilter`.
   * @return {boolean} Is there a feature at the given coordinate?
   * @template U
   */
  hasFeatureAtCoordinate(
    coordinate,
    frameState,
    hitTolerance,
    checkWrapped,
    layerFilter,
    thisArg,
  ) {
    const hasFeature = this.forEachFeatureAtCoordinate(
      coordinate,
      frameState,
      hitTolerance,
      checkWrapped,
      TRUE,
      this,
      layerFilter,
      thisArg,
    );

    return hasFeature !== undefined;
  }

  /**
   * @return {import("../Map.js").default} Map.
   */
  getMap() {
    return this.map_;
  }

  /**
   * Render.
   * @abstract
   * @param {?import("../Map.js").FrameState} frameState Frame state.
   */
  renderFrame(frameState) {
    util_abstract();
  }

  /**
   * @param {import("../Map.js").FrameState} frameState Frame state.
   * @protected
   */
  scheduleExpireIconCache(frameState) {
    if (shared.canExpireCache()) {
      frameState.postRenderFunctions.push(expireIconCache);
    }
  }
}

/**
 * @param {import("../Map.js").default} map Map.
 * @param {import("../Map.js").FrameState} frameState Frame state.
 */
function expireIconCache(map, frameState) {
  shared.expire();
}

/* harmony default export */ const renderer_Map = (MapRenderer);

;// CONCATENATED MODULE: ./node_modules/ol/renderer/Composite.js
/**
 * @module ol/renderer/Composite
 */











/**
 * @classdesc
 * Canvas map renderer.
 * @api
 */
class CompositeMapRenderer extends renderer_Map {
  /**
   * @param {import("../Map.js").default} map Map.
   */
  constructor(map) {
    super(map);

    /**
     * @private
     * @type {import("../events.js").EventsKey}
     */
    this.fontChangeListenerKey_ = events_listen(
      checkedFonts,
      ObjectEventType.PROPERTYCHANGE,
      map.redrawText,
      map,
    );

    /**
     * @private
     * @type {HTMLDivElement}
     */
    this.element_ = document.createElement('div');
    const style = this.element_.style;
    style.position = 'absolute';
    style.width = '100%';
    style.height = '100%';
    style.zIndex = '0';

    this.element_.className = CLASS_UNSELECTABLE + ' ol-layers';

    const container = map.getViewport();
    container.insertBefore(this.element_, container.firstChild || null);

    /**
     * @private
     * @type {Array<HTMLElement>}
     */
    this.children_ = [];

    /**
     * @private
     * @type {boolean}
     */
    this.renderedVisible_ = true;
  }

  /**
   * @param {import("../render/EventType.js").default} type Event type.
   * @param {import("../Map.js").FrameState} frameState Frame state.
   * @override
   */
  dispatchRenderEvent(type, frameState) {
    const map = this.getMap();
    if (map.hasListener(type)) {
      const event = new render_Event(type, undefined, frameState);
      map.dispatchEvent(event);
    }
  }

  /**
   * @override
   */
  disposeInternal() {
    unlistenByKey(this.fontChangeListenerKey_);
    this.element_.remove();
    super.disposeInternal();
  }

  /**
   * Render.
   * @param {?import("../Map.js").FrameState} frameState Frame state.
   * @override
   */
  renderFrame(frameState) {
    if (!frameState) {
      if (this.renderedVisible_) {
        this.element_.style.display = 'none';
        this.renderedVisible_ = false;
      }
      return;
    }

    this.calculateMatrices2D(frameState);
    this.dispatchRenderEvent(render_EventType.PRECOMPOSE, frameState);

    const layerStatesArray = frameState.layerStatesArray.sort(
      (a, b) => a.zIndex - b.zIndex,
    );
    const declutter = layerStatesArray.some(
      (layerState) =>
        layerState.layer instanceof BaseVector &&
        layerState.layer.getDeclutter(),
    );
    if (declutter) {
      // Some layers need decluttering, turn on deferred rendering hint
      frameState.declutter = {};
    }
    const viewState = frameState.viewState;

    this.children_.length = 0;

    const renderedLayerStates = [];
    let previousElement = null;
    for (let i = 0, ii = layerStatesArray.length; i < ii; ++i) {
      const layerState = layerStatesArray[i];
      frameState.layerIndex = i;

      const layer = layerState.layer;
      const sourceState = layer.getSourceState();
      if (
        !inView(layerState, viewState) ||
        (sourceState != 'ready' && sourceState != 'undefined')
      ) {
        layer.unrender();
        continue;
      }

      const element = layer.render(frameState, previousElement);
      if (!element) {
        continue;
      }
      if (element !== previousElement) {
        this.children_.push(element);
        previousElement = element;
      }

      renderedLayerStates.push(layerState);
    }

    this.declutter(frameState, renderedLayerStates);

    replaceChildren(this.element_, this.children_);

    this.dispatchRenderEvent(render_EventType.POSTCOMPOSE, frameState);

    if (!this.renderedVisible_) {
      this.element_.style.display = '';
      this.renderedVisible_ = true;
    }

    this.scheduleExpireIconCache(frameState);
  }

  /**
   * @param {import("../Map.js").FrameState} frameState Frame state.
   * @param {Array<import('../layer/Layer.js').State>} layerStates Layers.
   */
  declutter(frameState, layerStates) {
    if (!frameState.declutter) {
      return;
    }
    for (let i = layerStates.length - 1; i >= 0; --i) {
      const layerState = layerStates[i];
      const layer = layerState.layer;
      if (layer.getDeclutter()) {
        layer.renderDeclutter(frameState, layerState);
      }
    }
    layerStates.forEach((layerState) =>
      layerState.layer.renderDeferred(frameState),
    );
  }
}

/* harmony default export */ const Composite = (CompositeMapRenderer);

;// CONCATENATED MODULE: ./node_modules/ol/Map.js
/**
 * @module ol/Map
 */

































/**
 * State of the current frame. Only `pixelRatio`, `time` and `viewState` should
 * be used in applications.
 * @typedef {Object} FrameState
 * @property {number} pixelRatio The pixel ratio of the frame.
 * @property {number} time The time when rendering of the frame was requested.
 * @property {import("./View.js").State} viewState The state of the current view.
 * @property {boolean} animate Animate.
 * @property {import("./transform.js").Transform} coordinateToPixelTransform CoordinateToPixelTransform.
 * @property {Object<string, import("rbush").default<import('./render/canvas/Executor.js').DeclutterEntry>>|null} declutter
 * Declutter trees by declutter group.
 * When null, no decluttering is needed because no layers have decluttering enabled.
 * @property {null|import("./extent.js").Extent} extent Extent (in view projection coordinates).
 * @property {import("./extent.js").Extent} [nextExtent] Next extent during an animation series.
 * @property {number} index Index.
 * @property {Array<import("./layer/Layer.js").State>} layerStatesArray LayerStatesArray.
 * @property {number} layerIndex LayerIndex.
 * @property {import("./transform.js").Transform} pixelToCoordinateTransform PixelToCoordinateTransform.
 * @property {Array<PostRenderFunction>} postRenderFunctions PostRenderFunctions.
 * @property {import("./size.js").Size} size Size.
 * @property {TileQueue} tileQueue TileQueue.
 * @property {!Object<string, Object<string, boolean>>} usedTiles UsedTiles.
 * @property {Array<number>} viewHints ViewHints.
 * @property {!Object<string, Object<string, boolean>>} wantedTiles WantedTiles.
 * @property {string} mapId The id of the map.
 * @property {Object<string, boolean>} renderTargets Identifiers of previously rendered elements.
 */

/**
 * @typedef {function(Map, FrameState): any} PostRenderFunction
 */

/**
 * @typedef {Object} AtPixelOptions
 * @property {undefined|function(import("./layer/Layer.js").default<import("./source/Source").default>): boolean} [layerFilter] Layer filter
 * function. The filter function will receive one argument, the
 * {@link module:ol/layer/Layer~Layer layer-candidate} and it should return a boolean value.
 * Only layers which are visible and for which this function returns `true`
 * will be tested for features. By default, all visible layers will be tested.
 * @property {number} [hitTolerance=0] Hit-detection tolerance in css pixels. Pixels
 * inside the radius around the given position will be checked for features.
 * @property {boolean} [checkWrapped=true] Check-Wrapped Will check for wrapped geometries inside the range of
 *   +/- 1 world width. Works only if a projection is used that can be wrapped.
 */

/**
 * @typedef {Object} MapOptionsInternal
 * @property {Collection<import("./control/Control.js").default>} [controls] Controls.
 * @property {Collection<import("./interaction/Interaction.js").default>} [interactions] Interactions.
 * @property {HTMLElement|Document} keyboardEventTarget KeyboardEventTarget.
 * @property {Collection<import("./Overlay.js").default>} overlays Overlays.
 * @property {Object<string, *>} values Values.
 */

/**
 * @typedef {import("./ObjectEventType").Types|'change:layergroup'|'change:size'|'change:target'|'change:view'} MapObjectEventTypes
 */

/***
 * @template Return
 * @typedef {import("./Observable").OnSignature<import("./Observable").EventTypes, import("./events/Event.js").default, Return> &
 *    import("./Observable").OnSignature<MapObjectEventTypes, import("./Object").ObjectEvent, Return> &
 *    import("./Observable").OnSignature<import("./MapBrowserEventType").Types, import("./MapBrowserEvent").default, Return> &
 *    import("./Observable").OnSignature<import("./MapEventType").Types, import("./MapEvent").default, Return> &
 *    import("./Observable").OnSignature<import("./render/EventType").MapRenderEventTypes, import("./render/Event").default, Return> &
 *    import("./Observable").CombinedOnSignature<import("./Observable").EventTypes|MapObjectEventTypes|
 *      import("./MapBrowserEventType").Types|import("./MapEventType").Types|
 *      import("./render/EventType").MapRenderEventTypes, Return>} MapEventHandler
 */

/**
 * Object literal with config options for the map.
 * @typedef {Object} MapOptions
 * @property {Collection<import("./control/Control.js").default>|Array<import("./control/Control.js").default>} [controls]
 * Controls initially added to the map. If not specified,
 * {@link module:ol/control/defaults.defaults} is used.
 * @property {number} [pixelRatio=window.devicePixelRatio] The ratio between
 * physical pixels and device-independent pixels (dips) on the device.
 * @property {Collection<import("./interaction/Interaction.js").default>|Array<import("./interaction/Interaction.js").default>} [interactions]
 * Interactions that are initially added to the map. If not specified,
 * {@link module:ol/interaction/defaults.defaults} is used.
 * @property {HTMLElement|Document|string} [keyboardEventTarget] The element to
 * listen to keyboard events on. This determines when the `KeyboardPan` and
 * `KeyboardZoom` interactions trigger. For example, if this option is set to
 * `document` the keyboard interactions will always trigger. If this option is
 * not specified, the element the library listens to keyboard events on is the
 * map target (i.e. the user-provided div for the map). If this is not
 * `document`, the target element needs to be focused for key events to be
 * emitted, requiring that the target element has a `tabindex` attribute.
 * @property {Array<import("./layer/Base.js").default>|Collection<import("./layer/Base.js").default>|LayerGroup} [layers]
 * Layers. If this is not defined, a map with no layers will be rendered. Note
 * that layers are rendered in the order supplied, so if you want, for example,
 * a vector layer to appear on top of a tile layer, it must come after the tile
 * layer.
 * @property {number} [maxTilesLoading=16] Maximum number tiles to load
 * simultaneously.
 * @property {number} [moveTolerance=1] The minimum distance in pixels the
 * cursor must move to be detected as a map move event instead of a click.
 * Increasing this value can make it easier to click on the map.
 * @property {Collection<import("./Overlay.js").default>|Array<import("./Overlay.js").default>} [overlays]
 * Overlays initially added to the map. By default, no overlays are added.
 * @property {HTMLElement|string} [target] The container for the map, either the
 * element itself or the `id` of the element. If not specified at construction
 * time, {@link module:ol/Map~Map#setTarget} must be called for the map to be
 * rendered. If passed by element, the container can be in a secondary document.
 * For accessibility (focus and keyboard events for map navigation), the `target` element must have a
 *  properly configured `tabindex` attribute. If the `target` element is inside a Shadow DOM, the
 *  `tabindex` atribute must be set on the custom element's host element.
 * **Note:** CSS `transform` support for the target element is limited to `scale`.
 * @property {View|Promise<import("./View.js").ViewOptions>} [view] The map's view.  No layer sources will be
 * fetched unless this is specified at construction time or through
 * {@link module:ol/Map~Map#setView}.
 */

/**
 * @param {import("./layer/Base.js").default} layer Layer.
 */
function removeLayerMapProperty(layer) {
  if (layer instanceof layer_Layer) {
    layer.setMapInternal(null);
    return;
  }
  if (layer instanceof Group) {
    layer.getLayers().forEach(removeLayerMapProperty);
  }
}

/**
 * @param {import("./layer/Base.js").default} layer Layer.
 * @param {Map} map Map.
 */
function setLayerMapProperty(layer, map) {
  if (layer instanceof layer_Layer) {
    layer.setMapInternal(map);
    return;
  }
  if (layer instanceof Group) {
    const layers = layer.getLayers().getArray();
    for (let i = 0, ii = layers.length; i < ii; ++i) {
      setLayerMapProperty(layers[i], map);
    }
  }
}

/**
 * @classdesc
 * The map is the core component of OpenLayers. For a map to render, a view,
 * one or more layers, and a target container are needed:
 *
 *     import Map from 'ol/Map.js';
 *     import View from 'ol/View.js';
 *     import TileLayer from 'ol/layer/Tile.js';
 *     import OSM from 'ol/source/OSM.js';
 *
 *     const map = new Map({
 *       view: new View({
 *         center: [0, 0],
 *         zoom: 1,
 *       }),
 *       layers: [
 *         new TileLayer({
 *           source: new OSM(),
 *         }),
 *       ],
 *       target: 'map',
 *     });
 *
 * The above snippet creates a map using a {@link module:ol/layer/Tile~TileLayer} to
 * display {@link module:ol/source/OSM~OSM} OSM data and render it to a DOM
 * element with the id `map`.
 *
 * The constructor places a viewport container (with CSS class name
 * `ol-viewport`) in the target element (see `getViewport()`), and then two
 * further elements within the viewport: one with CSS class name
 * `ol-overlaycontainer-stopevent` for controls and some overlays, and one with
 * CSS class name `ol-overlaycontainer` for other overlays (see the `stopEvent`
 * option of {@link module:ol/Overlay~Overlay} for the difference). The map
 * itself is placed in a further element within the viewport.
 *
 * Layers are stored as a {@link module:ol/Collection~Collection} in
 * layerGroups. A top-level group is provided by the library. This is what is
 * accessed by `getLayerGroup` and `setLayerGroup`. Layers entered in the
 * options are added to this group, and `addLayer` and `removeLayer` change the
 * layer collection in the group. `getLayers` is a convenience function for
 * `getLayerGroup().getLayers()`. Note that {@link module:ol/layer/Group~LayerGroup}
 * is a subclass of {@link module:ol/layer/Base~BaseLayer}, so layers entered in the
 * options or added with `addLayer` can be groups, which can contain further
 * groups, and so on.
 *
 * @fires import("./MapBrowserEvent.js").MapBrowserEvent
 * @fires import("./MapEvent.js").MapEvent
 * @fires import("./render/Event.js").default#precompose
 * @fires import("./render/Event.js").default#postcompose
 * @fires import("./render/Event.js").default#rendercomplete
 * @api
 */
class Map_Map extends ol_Object {
  /**
   * @param {MapOptions} [options] Map options.
   */
  constructor(options) {
    super();

    options = options || {};

    /***
     * @type {MapEventHandler<import("./events").EventsKey>}
     */
    this.on;

    /***
     * @type {MapEventHandler<import("./events").EventsKey>}
     */
    this.once;

    /***
     * @type {MapEventHandler<void>}
     */
    this.un;

    const optionsInternal = createOptionsInternal(options);

    /**
     * @private
     * @type {boolean}
     */
    this.renderComplete_ = false;

    /**
     * @private
     * @type {boolean}
     */
    this.loaded_ = true;

    /** @private */
    this.boundHandleBrowserEvent_ = this.handleBrowserEvent.bind(this);

    /**
     * @type {number}
     * @private
     */
    this.maxTilesLoading_ =
      options.maxTilesLoading !== undefined ? options.maxTilesLoading : 16;

    /**
     * @private
     * @type {number}
     */
    this.pixelRatio_ =
      options.pixelRatio !== undefined
        ? options.pixelRatio
        : DEVICE_PIXEL_RATIO;

    /**
     * @private
     * @type {ReturnType<typeof setTimeout>}
     */
    this.postRenderTimeoutHandle_;

    /**
     * @private
     * @type {number|undefined}
     */
    this.animationDelayKey_;

    /**
     * @private
     */
    this.animationDelay_ = this.animationDelay_.bind(this);

    /**
     * @private
     * @type {import("./transform.js").Transform}
     */
    this.coordinateToPixelTransform_ = create();

    /**
     * @private
     * @type {import("./transform.js").Transform}
     */
    this.pixelToCoordinateTransform_ = create();

    /**
     * @private
     * @type {number}
     */
    this.frameIndex_ = 0;

    /**
     * @private
     * @type {?FrameState}
     */
    this.frameState_ = null;

    /**
     * The extent at the previous 'moveend' event.
     * @private
     * @type {import("./extent.js").Extent}
     */
    this.previousExtent_ = null;

    /**
     * @private
     * @type {?import("./events.js").EventsKey}
     */
    this.viewPropertyListenerKey_ = null;

    /**
     * @private
     * @type {?import("./events.js").EventsKey}
     */
    this.viewChangeListenerKey_ = null;

    /**
     * @private
     * @type {?Array<import("./events.js").EventsKey>}
     */
    this.layerGroupPropertyListenerKeys_ = null;

    /**
     * @private
     * @type {!HTMLElement}
     */
    this.viewport_ = document.createElement('div');
    this.viewport_.className =
      'ol-viewport' + ('ontouchstart' in window ? ' ol-touch' : '');
    this.viewport_.style.position = 'relative';
    this.viewport_.style.overflow = 'hidden';
    this.viewport_.style.width = '100%';
    this.viewport_.style.height = '100%';

    /**
     * @private
     * @type {!HTMLElement}
     */
    this.overlayContainer_ = document.createElement('div');
    this.overlayContainer_.style.position = 'absolute';
    this.overlayContainer_.style.zIndex = '0';
    this.overlayContainer_.style.width = '100%';
    this.overlayContainer_.style.height = '100%';
    this.overlayContainer_.style.pointerEvents = 'none';
    this.overlayContainer_.className = 'ol-overlaycontainer';
    this.viewport_.appendChild(this.overlayContainer_);

    /**
     * @private
     * @type {!HTMLElement}
     */
    this.overlayContainerStopEvent_ = document.createElement('div');
    this.overlayContainerStopEvent_.style.position = 'absolute';
    this.overlayContainerStopEvent_.style.zIndex = '0';
    this.overlayContainerStopEvent_.style.width = '100%';
    this.overlayContainerStopEvent_.style.height = '100%';
    this.overlayContainerStopEvent_.style.pointerEvents = 'none';
    this.overlayContainerStopEvent_.className = 'ol-overlaycontainer-stopevent';
    this.viewport_.appendChild(this.overlayContainerStopEvent_);

    /**
     * @private
     * @type {MapBrowserEventHandler}
     */
    this.mapBrowserEventHandler_ = null;

    /**
     * @private
     * @type {number}
     */
    this.moveTolerance_ = options.moveTolerance;

    /**
     * @private
     * @type {HTMLElement|Document}
     */
    this.keyboardEventTarget_ = optionsInternal.keyboardEventTarget;

    /**
     * @private
     * @type {?Array<import("./events.js").EventsKey>}
     */
    this.targetChangeHandlerKeys_ = null;

    /**
     * @private
     * @type {HTMLElement|null}
     */
    this.targetElement_ = null;

    /**
     * @private
     * @type {ResizeObserver}
     */
    this.resizeObserver_ = new ResizeObserver(() => this.updateSize());

    /**
     * @type {Collection<import("./control/Control.js").default>}
     * @protected
     */
    this.controls = optionsInternal.controls || defaults_defaults();

    /**
     * @type {Collection<import("./interaction/Interaction.js").default>}
     * @protected
     */
    this.interactions =
      optionsInternal.interactions ||
      interaction_defaults_defaults({
        onFocusOnly: true,
      });

    /**
     * @type {Collection<import("./Overlay.js").default>}
     * @private
     */
    this.overlays_ = optionsInternal.overlays;

    /**
     * A lookup of overlays by id.
     * @private
     * @type {Object<string, import("./Overlay.js").default>}
     */
    this.overlayIdIndex_ = {};

    /**
     * @type {import("./renderer/Map.js").default|null}
     * @private
     */
    this.renderer_ = null;

    /**
     * @private
     * @type {!Array<PostRenderFunction>}
     */
    this.postRenderFunctions_ = [];

    /**
     * @private
     * @type {TileQueue}
     */
    this.tileQueue_ = new ol_TileQueue(
      this.getTilePriority.bind(this),
      this.handleTileChange_.bind(this),
    );

    this.addChangeListener(
      MapProperty.LAYERGROUP,
      this.handleLayerGroupChanged_,
    );
    this.addChangeListener(MapProperty.VIEW, this.handleViewChanged_);
    this.addChangeListener(MapProperty.SIZE, this.handleSizeChanged_);
    this.addChangeListener(MapProperty.TARGET, this.handleTargetChanged_);

    // setProperties will trigger the rendering of the map if the map
    // is "defined" already.
    this.setProperties(optionsInternal.values);

    const map = this;
    if (options.view && !(options.view instanceof ol_View)) {
      options.view.then(function (viewOptions) {
        map.setView(new ol_View(viewOptions));
      });
    }

    this.controls.addEventListener(
      CollectionEventType.ADD,
      /**
       * @param {import("./Collection.js").CollectionEvent<import("./control/Control.js").default>} event CollectionEvent
       */
      (event) => {
        event.element.setMap(this);
      },
    );

    this.controls.addEventListener(
      CollectionEventType.REMOVE,
      /**
       * @param {import("./Collection.js").CollectionEvent<import("./control/Control.js").default>} event CollectionEvent.
       */
      (event) => {
        event.element.setMap(null);
      },
    );

    this.interactions.addEventListener(
      CollectionEventType.ADD,
      /**
       * @param {import("./Collection.js").CollectionEvent<import("./interaction/Interaction.js").default>} event CollectionEvent.
       */
      (event) => {
        event.element.setMap(this);
      },
    );

    this.interactions.addEventListener(
      CollectionEventType.REMOVE,
      /**
       * @param {import("./Collection.js").CollectionEvent<import("./interaction/Interaction.js").default>} event CollectionEvent.
       */
      (event) => {
        event.element.setMap(null);
      },
    );

    this.overlays_.addEventListener(
      CollectionEventType.ADD,
      /**
       * @param {import("./Collection.js").CollectionEvent<import("./Overlay.js").default>} event CollectionEvent.
       */
      (event) => {
        this.addOverlayInternal_(event.element);
      },
    );

    this.overlays_.addEventListener(
      CollectionEventType.REMOVE,
      /**
       * @param {import("./Collection.js").CollectionEvent<import("./Overlay.js").default>} event CollectionEvent.
       */
      (event) => {
        const id = event.element.getId();
        if (id !== undefined) {
          delete this.overlayIdIndex_[id.toString()];
        }
        event.element.setMap(null);
      },
    );

    this.controls.forEach(
      /**
       * @param {import("./control/Control.js").default} control Control.
       */
      (control) => {
        control.setMap(this);
      },
    );

    this.interactions.forEach(
      /**
       * @param {import("./interaction/Interaction.js").default} interaction Interaction.
       */
      (interaction) => {
        interaction.setMap(this);
      },
    );

    this.overlays_.forEach(this.addOverlayInternal_.bind(this));
  }

  /**
   * Add the given control to the map.
   * @param {import("./control/Control.js").default} control Control.
   * @api
   */
  addControl(control) {
    this.getControls().push(control);
  }

  /**
   * Add the given interaction to the map. If you want to add an interaction
   * at another point of the collection use `getInteractions()` and the methods
   * available on {@link module:ol/Collection~Collection}. This can be used to
   * stop the event propagation from the handleEvent function. The interactions
   * get to handle the events in the reverse order of this collection.
   * @param {import("./interaction/Interaction.js").default} interaction Interaction to add.
   * @api
   */
  addInteraction(interaction) {
    this.getInteractions().push(interaction);
  }

  /**
   * Adds the given layer to the top of this map. If you want to add a layer
   * elsewhere in the stack, use `getLayers()` and the methods available on
   * {@link module:ol/Collection~Collection}.
   * @param {import("./layer/Base.js").default} layer Layer.
   * @api
   */
  addLayer(layer) {
    const layers = this.getLayerGroup().getLayers();
    layers.push(layer);
  }

  /**
   * @param {import("./layer/Group.js").GroupEvent} event The layer add event.
   * @private
   */
  handleLayerAdd_(event) {
    setLayerMapProperty(event.layer, this);
  }

  /**
   * Add the given overlay to the map.
   * @param {import("./Overlay.js").default} overlay Overlay.
   * @api
   */
  addOverlay(overlay) {
    this.getOverlays().push(overlay);
  }

  /**
   * This deals with map's overlay collection changes.
   * @param {import("./Overlay.js").default} overlay Overlay.
   * @private
   */
  addOverlayInternal_(overlay) {
    const id = overlay.getId();
    if (id !== undefined) {
      this.overlayIdIndex_[id.toString()] = overlay;
    }
    overlay.setMap(this);
  }

  /**
   *
   * Clean up.
   * @override
   */
  disposeInternal() {
    this.controls.clear();
    this.interactions.clear();
    this.overlays_.clear();
    this.resizeObserver_.disconnect();
    this.setTarget(null);
    super.disposeInternal();
  }

  /**
   * Detect features that intersect a pixel on the viewport, and execute a
   * callback with each intersecting feature. Layers included in the detection can
   * be configured through the `layerFilter` option in `options`.
   * For polygons without a fill, only the stroke will be used for hit detection.
   * Polygons must have a fill style applied to ensure that pixels inside a polygon are detected.
   * The fill can be transparent.
   * @param {import("./pixel.js").Pixel} pixel Pixel.
   * @param {function(import("./Feature.js").FeatureLike, import("./layer/Layer.js").default<import("./source/Source").default>, import("./geom/SimpleGeometry.js").default): T} callback Feature callback. The callback will be
   *     called with two arguments. The first argument is one
   *     {@link module:ol/Feature~Feature feature} or
   *     {@link module:ol/render/Feature~RenderFeature render feature} at the pixel, the second is
   *     the {@link module:ol/layer/Layer~Layer layer} of the feature and will be null for
   *     unmanaged layers. To stop detection, callback functions can return a
   *     truthy value.
   * @param {AtPixelOptions} [options] Optional options.
   * @return {T|undefined} Callback result, i.e. the return value of last
   * callback execution, or the first truthy callback return value.
   * @template T
   * @api
   */
  forEachFeatureAtPixel(pixel, callback, options) {
    if (!this.frameState_ || !this.renderer_) {
      return;
    }
    const coordinate = this.getCoordinateFromPixelInternal(pixel);
    options = options !== undefined ? options : {};
    const hitTolerance =
      options.hitTolerance !== undefined ? options.hitTolerance : 0;
    const layerFilter =
      options.layerFilter !== undefined ? options.layerFilter : TRUE;
    const checkWrapped = options.checkWrapped !== false;
    return this.renderer_.forEachFeatureAtCoordinate(
      coordinate,
      this.frameState_,
      hitTolerance,
      checkWrapped,
      callback,
      null,
      layerFilter,
      null,
    );
  }

  /**
   * Get all features that intersect a pixel on the viewport.
   * For polygons without a fill, only the stroke will be used for hit detection.
   * Polygons must have a fill style applied to ensure that pixels inside a polygon are detected.
   * The fill can be transparent.
   * @param {import("./pixel.js").Pixel} pixel Pixel.
   * @param {AtPixelOptions} [options] Optional options.
   * @return {Array<import("./Feature.js").FeatureLike>} The detected features or
   * an empty array if none were found.
   * @api
   */
  getFeaturesAtPixel(pixel, options) {
    const features = [];
    this.forEachFeatureAtPixel(
      pixel,
      function (feature) {
        features.push(feature);
      },
      options,
    );
    return features;
  }

  /**
   * Get all layers from all layer groups.
   * @return {Array<import("./layer/Layer.js").default>} Layers.
   * @api
   */
  getAllLayers() {
    const layers = [];
    function addLayersFrom(layerGroup) {
      layerGroup.forEach(function (layer) {
        if (layer instanceof Group) {
          addLayersFrom(layer.getLayers());
        } else {
          layers.push(layer);
        }
      });
    }
    addLayersFrom(this.getLayers());
    return layers;
  }

  /**
   * Detect if features intersect a pixel on the viewport. Layers included in the
   * detection can be configured through the `layerFilter` option.
   * For polygons without a fill, only the stroke will be used for hit detection.
   * Polygons must have a fill style applied to ensure that pixels inside a polygon are detected.
   * The fill can be transparent.
   * @param {import("./pixel.js").Pixel} pixel Pixel.
   * @param {AtPixelOptions} [options] Optional options.
   * @return {boolean} Is there a feature at the given pixel?
   * @api
   */
  hasFeatureAtPixel(pixel, options) {
    if (!this.frameState_ || !this.renderer_) {
      return false;
    }
    const coordinate = this.getCoordinateFromPixelInternal(pixel);
    options = options !== undefined ? options : {};
    const layerFilter =
      options.layerFilter !== undefined ? options.layerFilter : TRUE;
    const hitTolerance =
      options.hitTolerance !== undefined ? options.hitTolerance : 0;
    const checkWrapped = options.checkWrapped !== false;
    return this.renderer_.hasFeatureAtCoordinate(
      coordinate,
      this.frameState_,
      hitTolerance,
      checkWrapped,
      layerFilter,
      null,
    );
  }

  /**
   * Returns the coordinate in user projection for a browser event.
   * @param {MouseEvent} event Event.
   * @return {import("./coordinate.js").Coordinate} Coordinate.
   * @api
   */
  getEventCoordinate(event) {
    return this.getCoordinateFromPixel(this.getEventPixel(event));
  }

  /**
   * Returns the coordinate in view projection for a browser event.
   * @param {MouseEvent} event Event.
   * @return {import("./coordinate.js").Coordinate} Coordinate.
   */
  getEventCoordinateInternal(event) {
    return this.getCoordinateFromPixelInternal(this.getEventPixel(event));
  }

  /**
   * Returns the map pixel position for a browser event relative to the viewport.
   * @param {UIEvent|{clientX: number, clientY: number}} event Event.
   * @return {import("./pixel.js").Pixel} Pixel.
   * @api
   */
  getEventPixel(event) {
    const viewport = this.viewport_;
    const viewportPosition = viewport.getBoundingClientRect();
    const viewportSize = this.getSize();
    const scaleX = viewportPosition.width / viewportSize[0];
    const scaleY = viewportPosition.height / viewportSize[1];
    const eventPosition =
      //FIXME Are we really calling this with a TouchEvent anywhere?
      'changedTouches' in event
        ? /** @type {TouchEvent} */ (event).changedTouches[0]
        : /** @type {MouseEvent} */ (event);

    return [
      (eventPosition.clientX - viewportPosition.left) / scaleX,
      (eventPosition.clientY - viewportPosition.top) / scaleY,
    ];
  }

  /**
   * Get the target in which this map is rendered.
   * Note that this returns what is entered as an option or in setTarget:
   * if that was an element, it returns an element; if a string, it returns that.
   * @return {HTMLElement|string|undefined} The Element or id of the Element that the
   *     map is rendered in.
   * @observable
   * @api
   */
  getTarget() {
    return /** @type {HTMLElement|string|undefined} */ (
      this.get(MapProperty.TARGET)
    );
  }

  /**
   * Get the DOM element into which this map is rendered. In contrast to
   * `getTarget` this method always return an `Element`, or `null` if the
   * map has no target.
   * @return {HTMLElement} The element that the map is rendered in.
   * @api
   */
  getTargetElement() {
    return this.targetElement_;
  }

  /**
   * Get the coordinate for a given pixel.  This returns a coordinate in the
   * user projection.
   * @param {import("./pixel.js").Pixel} pixel Pixel position in the map viewport.
   * @return {import("./coordinate.js").Coordinate} The coordinate for the pixel position.
   * @api
   */
  getCoordinateFromPixel(pixel) {
    return toUserCoordinate(
      this.getCoordinateFromPixelInternal(pixel),
      this.getView().getProjection(),
    );
  }

  /**
   * Get the coordinate for a given pixel.  This returns a coordinate in the
   * map view projection.
   * @param {import("./pixel.js").Pixel} pixel Pixel position in the map viewport.
   * @return {import("./coordinate.js").Coordinate} The coordinate for the pixel position.
   */
  getCoordinateFromPixelInternal(pixel) {
    const frameState = this.frameState_;
    if (!frameState) {
      return null;
    }
    return apply(frameState.pixelToCoordinateTransform, pixel.slice());
  }

  /**
   * Get the map controls. Modifying this collection changes the controls
   * associated with the map.
   * @return {Collection<import("./control/Control.js").default>} Controls.
   * @api
   */
  getControls() {
    return this.controls;
  }

  /**
   * Get the map overlays. Modifying this collection changes the overlays
   * associated with the map.
   * @return {Collection<import("./Overlay.js").default>} Overlays.
   * @api
   */
  getOverlays() {
    return this.overlays_;
  }

  /**
   * Get an overlay by its identifier (the value returned by overlay.getId()).
   * Note that the index treats string and numeric identifiers as the same. So
   * `map.getOverlayById(2)` will return an overlay with id `'2'` or `2`.
   * @param {string|number} id Overlay identifier.
   * @return {import("./Overlay.js").default|null} Overlay.
   * @api
   */
  getOverlayById(id) {
    const overlay = this.overlayIdIndex_[id.toString()];
    return overlay !== undefined ? overlay : null;
  }

  /**
   * Get the map interactions. Modifying this collection changes the interactions
   * associated with the map.
   *
   * Interactions are used for e.g. pan, zoom and rotate.
   * @return {Collection<import("./interaction/Interaction.js").default>} Interactions.
   * @api
   */
  getInteractions() {
    return this.interactions;
  }

  /**
   * Get the layergroup associated with this map.
   * @return {LayerGroup} A layer group containing the layers in this map.
   * @observable
   * @api
   */
  getLayerGroup() {
    return /** @type {LayerGroup} */ (this.get(MapProperty.LAYERGROUP));
  }

  /**
   * Clear any existing layers and add layers to the map.
   * @param {Array<import("./layer/Base.js").default>|Collection<import("./layer/Base.js").default>} layers The layers to be added to the map.
   * @api
   */
  setLayers(layers) {
    const group = this.getLayerGroup();
    if (layers instanceof ol_Collection) {
      group.setLayers(layers);
      return;
    }

    const collection = group.getLayers();
    collection.clear();
    collection.extend(layers);
  }

  /**
   * Get the collection of layers associated with this map.
   * @return {!Collection<import("./layer/Base.js").default>} Layers.
   * @api
   */
  getLayers() {
    const layers = this.getLayerGroup().getLayers();
    return layers;
  }

  /**
   * @return {boolean} Layers have sources that are still loading.
   */
  getLoadingOrNotReady() {
    const layerStatesArray = this.getLayerGroup().getLayerStatesArray();
    for (let i = 0, ii = layerStatesArray.length; i < ii; ++i) {
      const state = layerStatesArray[i];
      if (!state.visible) {
        continue;
      }
      const renderer = state.layer.getRenderer();
      if (renderer && !renderer.ready) {
        return true;
      }
      const source = state.layer.getSource();
      if (source && source.loading) {
        return true;
      }
    }
    return false;
  }

  /**
   * Get the pixel for a coordinate.  This takes a coordinate in the user
   * projection and returns the corresponding pixel.
   * @param {import("./coordinate.js").Coordinate} coordinate A map coordinate.
   * @return {import("./pixel.js").Pixel} A pixel position in the map viewport.
   * @api
   */
  getPixelFromCoordinate(coordinate) {
    const viewCoordinate = fromUserCoordinate(
      coordinate,
      this.getView().getProjection(),
    );
    return this.getPixelFromCoordinateInternal(viewCoordinate);
  }

  /**
   * Get the pixel for a coordinate.  This takes a coordinate in the map view
   * projection and returns the corresponding pixel.
   * @param {import("./coordinate.js").Coordinate} coordinate A map coordinate.
   * @return {import("./pixel.js").Pixel} A pixel position in the map viewport.
   */
  getPixelFromCoordinateInternal(coordinate) {
    const frameState = this.frameState_;
    if (!frameState) {
      return null;
    }
    return apply(
      frameState.coordinateToPixelTransform,
      coordinate.slice(0, 2),
    );
  }

  /**
   * Get the map renderer.
   * @return {import("./renderer/Map.js").default|null} Renderer
   */
  getRenderer() {
    return this.renderer_;
  }

  /**
   * Get the size of this map.
   * @return {import("./size.js").Size|undefined} The size in pixels of the map in the DOM.
   * @observable
   * @api
   */
  getSize() {
    return /** @type {import("./size.js").Size|undefined} */ (
      this.get(MapProperty.SIZE)
    );
  }

  /**
   * Get the view associated with this map. A view manages properties such as
   * center and resolution.
   * @return {View} The view that controls this map.
   * @observable
   * @api
   */
  getView() {
    return /** @type {View} */ (this.get(MapProperty.VIEW));
  }

  /**
   * Get the element that serves as the map viewport.
   * @return {HTMLElement} Viewport.
   * @api
   */
  getViewport() {
    return this.viewport_;
  }

  /**
   * Get the element that serves as the container for overlays.  Elements added to
   * this container will let mousedown and touchstart events through to the map,
   * so clicks and gestures on an overlay will trigger {@link module:ol/MapBrowserEvent~MapBrowserEvent}
   * events.
   * @return {!HTMLElement} The map's overlay container.
   */
  getOverlayContainer() {
    return this.overlayContainer_;
  }

  /**
   * Get the element that serves as a container for overlays that don't allow
   * event propagation. Elements added to this container won't let mousedown and
   * touchstart events through to the map, so clicks and gestures on an overlay
   * don't trigger any {@link module:ol/MapBrowserEvent~MapBrowserEvent}.
   * @return {!HTMLElement} The map's overlay container that stops events.
   */
  getOverlayContainerStopEvent() {
    return this.overlayContainerStopEvent_;
  }

  /**
   * @return {!Document} The document where the map is displayed.
   */
  getOwnerDocument() {
    const targetElement = this.getTargetElement();
    return targetElement ? targetElement.ownerDocument : document;
  }

  /**
   * @param {import("./Tile.js").default} tile Tile.
   * @param {string} tileSourceKey Tile source key.
   * @param {import("./coordinate.js").Coordinate} tileCenter Tile center.
   * @param {number} tileResolution Tile resolution.
   * @return {number} Tile priority.
   */
  getTilePriority(tile, tileSourceKey, tileCenter, tileResolution) {
    return getTilePriority(
      this.frameState_,
      tile,
      tileSourceKey,
      tileCenter,
      tileResolution,
    );
  }

  /**
   * @param {PointerEvent|KeyboardEvent|WheelEvent} browserEvent Browser event.
   * @param {string} [type] Type.
   */
  handleBrowserEvent(browserEvent, type) {
    type = type || browserEvent.type;
    const mapBrowserEvent = new ol_MapBrowserEvent(type, this, browserEvent);
    this.handleMapBrowserEvent(mapBrowserEvent);
  }

  /**
   * @param {MapBrowserEvent} mapBrowserEvent The event to handle.
   */
  handleMapBrowserEvent(mapBrowserEvent) {
    if (!this.frameState_) {
      // With no view defined, we cannot translate pixels into geographical
      // coordinates so interactions cannot be used.
      return;
    }
    const originalEvent = mapBrowserEvent.originalEvent;
    const eventType = originalEvent.type;
    if (
      eventType === pointer_EventType.POINTERDOWN ||
      eventType === events_EventType.WHEEL ||
      eventType === events_EventType.KEYDOWN
    ) {
      const doc = this.getOwnerDocument();
      const rootNode = this.viewport_.getRootNode
        ? this.viewport_.getRootNode()
        : doc;
      const target = /** @type {Node} */ (originalEvent.target);

      const currentDoc =
        rootNode instanceof ShadowRoot
          ? rootNode.host === target
            ? rootNode.host.ownerDocument
            : rootNode
          : rootNode === doc
            ? doc.documentElement
            : rootNode;
      if (
        // Abort if the target is a child of the container for elements whose events are not meant
        // to be handled by map interactions.
        this.overlayContainerStopEvent_.contains(target) ||
        // Abort if the event target is a child of the container that is no longer in the page.
        // It's possible for the target to no longer be in the page if it has been removed in an
        // event listener, this might happen in a Control that recreates it's content based on
        // user interaction either manually or via a render in something like https://reactjs.org/
        !currentDoc.contains(target)
      ) {
        return;
      }
    }
    mapBrowserEvent.frameState = this.frameState_;
    if (this.dispatchEvent(mapBrowserEvent) !== false) {
      const interactionsArray = this.getInteractions().getArray().slice();
      for (let i = interactionsArray.length - 1; i >= 0; i--) {
        const interaction = interactionsArray[i];
        if (
          interaction.getMap() !== this ||
          !interaction.getActive() ||
          !this.getTargetElement()
        ) {
          continue;
        }
        const cont = interaction.handleEvent(mapBrowserEvent);
        if (!cont || mapBrowserEvent.propagationStopped) {
          break;
        }
      }
    }
  }

  /**
   * @protected
   */
  handlePostRender() {
    const frameState = this.frameState_;

    // Manage the tile queue
    // Image loads are expensive and a limited resource, so try to use them
    // efficiently:
    // * When the view is static we allow a large number of parallel tile loads
    //   to complete the frame as quickly as possible.
    // * When animating or interacting, image loads can cause janks, so we reduce
    //   the maximum number of loads per frame and limit the number of parallel
    //   tile loads to remain reactive to view changes and to reduce the chance of
    //   loading tiles that will quickly disappear from view.
    const tileQueue = this.tileQueue_;
    if (!tileQueue.isEmpty()) {
      let maxTotalLoading = this.maxTilesLoading_;
      let maxNewLoads = maxTotalLoading;
      if (frameState) {
        const hints = frameState.viewHints;
        if (hints[ViewHint.ANIMATING] || hints[ViewHint.INTERACTING]) {
          const lowOnFrameBudget = Date.now() - frameState.time > 8;
          maxTotalLoading = lowOnFrameBudget ? 0 : 8;
          maxNewLoads = lowOnFrameBudget ? 0 : 2;
        }
      }
      if (tileQueue.getTilesLoading() < maxTotalLoading) {
        tileQueue.reprioritize(); // FIXME only call if view has changed
        tileQueue.loadMoreTiles(maxTotalLoading, maxNewLoads);
      }
    }

    if (frameState && this.renderer_ && !frameState.animate) {
      if (this.renderComplete_) {
        if (this.hasListener(render_EventType.RENDERCOMPLETE)) {
          this.renderer_.dispatchRenderEvent(
            render_EventType.RENDERCOMPLETE,
            frameState,
          );
        }
        if (this.loaded_ === false) {
          this.loaded_ = true;
          this.dispatchEvent(
            new ol_MapEvent(MapEventType.LOADEND, this, frameState),
          );
        }
      } else if (this.loaded_ === true) {
        this.loaded_ = false;
        this.dispatchEvent(
          new ol_MapEvent(MapEventType.LOADSTART, this, frameState),
        );
      }
    }

    const postRenderFunctions = this.postRenderFunctions_;
    if (frameState) {
      for (let i = 0, ii = postRenderFunctions.length; i < ii; ++i) {
        postRenderFunctions[i](this, frameState);
      }
    }
    postRenderFunctions.length = 0;
  }

  /**
   * @private
   */
  handleSizeChanged_() {
    if (this.getView() && !this.getView().getAnimating()) {
      this.getView().resolveConstraints(0);
    }

    this.render();
  }

  /**
   * @private
   */
  handleTargetChanged_() {
    if (this.mapBrowserEventHandler_) {
      for (let i = 0, ii = this.targetChangeHandlerKeys_.length; i < ii; ++i) {
        unlistenByKey(this.targetChangeHandlerKeys_[i]);
      }
      this.targetChangeHandlerKeys_ = null;
      this.viewport_.removeEventListener(
        events_EventType.CONTEXTMENU,
        this.boundHandleBrowserEvent_,
      );
      this.viewport_.removeEventListener(
        events_EventType.WHEEL,
        this.boundHandleBrowserEvent_,
      );
      this.mapBrowserEventHandler_.dispose();
      this.mapBrowserEventHandler_ = null;
      this.viewport_.remove();
    }

    if (this.targetElement_) {
      this.resizeObserver_.unobserve(this.targetElement_);
      const rootNode = this.targetElement_.getRootNode();
      if (rootNode instanceof ShadowRoot) {
        this.resizeObserver_.unobserve(rootNode.host);
      }
      this.setSize(undefined);
    }

    // target may be undefined, null, a string or an Element.
    // If it's a string we convert it to an Element before proceeding.
    // If it's not now an Element we remove the viewport from the DOM.
    // If it's an Element we append the viewport element to it.

    const target = this.getTarget();
    const targetElement =
      typeof target === 'string' ? document.getElementById(target) : target;
    this.targetElement_ = targetElement;
    if (!targetElement) {
      if (this.renderer_) {
        clearTimeout(this.postRenderTimeoutHandle_);
        this.postRenderTimeoutHandle_ = undefined;
        this.postRenderFunctions_.length = 0;
        this.renderer_.dispose();
        this.renderer_ = null;
      }
      if (this.animationDelayKey_) {
        cancelAnimationFrame(this.animationDelayKey_);
        this.animationDelayKey_ = undefined;
      }
    } else {
      targetElement.appendChild(this.viewport_);
      if (!this.renderer_) {
        this.renderer_ = new Composite(this);
      }

      this.mapBrowserEventHandler_ = new ol_MapBrowserEventHandler(
        this,
        this.moveTolerance_,
      );
      for (const key in ol_MapBrowserEventType) {
        this.mapBrowserEventHandler_.addEventListener(
          ol_MapBrowserEventType[key],
          this.handleMapBrowserEvent.bind(this),
        );
      }
      this.viewport_.addEventListener(
        events_EventType.CONTEXTMENU,
        this.boundHandleBrowserEvent_,
        false,
      );
      this.viewport_.addEventListener(
        events_EventType.WHEEL,
        this.boundHandleBrowserEvent_,
        PASSIVE_EVENT_LISTENERS ? {passive: false} : false,
      );

      let keyboardEventTarget;
      if (!this.keyboardEventTarget_) {
        // check if map target is in shadowDOM, if yes use host element as target
        const targetRoot = targetElement.getRootNode();
        const targetCandidate =
          targetRoot instanceof ShadowRoot ? targetRoot.host : targetElement;
        keyboardEventTarget = targetCandidate;
      } else {
        keyboardEventTarget = this.keyboardEventTarget_;
      }

      this.targetChangeHandlerKeys_ = [
        events_listen(
          keyboardEventTarget,
          events_EventType.KEYDOWN,
          this.handleBrowserEvent,
          this,
        ),
        events_listen(
          keyboardEventTarget,
          events_EventType.KEYPRESS,
          this.handleBrowserEvent,
          this,
        ),
      ];
      const rootNode = targetElement.getRootNode();
      if (rootNode instanceof ShadowRoot) {
        this.resizeObserver_.observe(rootNode.host);
      }
      this.resizeObserver_.observe(targetElement);
    }

    this.updateSize();
    // updateSize calls setSize, so no need to call this.render
    // ourselves here.
  }

  /**
   * @private
   */
  handleTileChange_() {
    this.render();
  }

  /**
   * @private
   */
  handleViewPropertyChanged_() {
    this.render();
  }

  /**
   * @private
   */
  handleViewChanged_() {
    if (this.viewPropertyListenerKey_) {
      unlistenByKey(this.viewPropertyListenerKey_);
      this.viewPropertyListenerKey_ = null;
    }
    if (this.viewChangeListenerKey_) {
      unlistenByKey(this.viewChangeListenerKey_);
      this.viewChangeListenerKey_ = null;
    }
    const view = this.getView();
    if (view) {
      this.updateViewportSize_(this.getSize());

      this.viewPropertyListenerKey_ = events_listen(
        view,
        ObjectEventType.PROPERTYCHANGE,
        this.handleViewPropertyChanged_,
        this,
      );
      this.viewChangeListenerKey_ = events_listen(
        view,
        events_EventType.CHANGE,
        this.handleViewPropertyChanged_,
        this,
      );

      view.resolveConstraints(0);
    }
    this.render();
  }

  /**
   * @private
   */
  handleLayerGroupChanged_() {
    if (this.layerGroupPropertyListenerKeys_) {
      this.layerGroupPropertyListenerKeys_.forEach(unlistenByKey);
      this.layerGroupPropertyListenerKeys_ = null;
    }
    const layerGroup = this.getLayerGroup();
    if (layerGroup) {
      this.handleLayerAdd_(new GroupEvent('addlayer', layerGroup));
      this.layerGroupPropertyListenerKeys_ = [
        events_listen(layerGroup, ObjectEventType.PROPERTYCHANGE, this.render, this),
        events_listen(layerGroup, events_EventType.CHANGE, this.render, this),
        events_listen(layerGroup, 'addlayer', this.handleLayerAdd_, this),
        events_listen(layerGroup, 'removelayer', this.handleLayerRemove_, this),
      ];
    }
    this.render();
  }

  /**
   * @return {boolean} Is rendered.
   */
  isRendered() {
    return !!this.frameState_;
  }

  /**
   * @private
   */
  animationDelay_() {
    this.animationDelayKey_ = undefined;
    this.renderFrame_(Date.now());
  }

  /**
   * Requests an immediate render in a synchronous manner.
   * @api
   */
  renderSync() {
    if (this.animationDelayKey_) {
      cancelAnimationFrame(this.animationDelayKey_);
    }
    this.animationDelay_();
  }

  /**
   * Redraws all text after new fonts have loaded
   */
  redrawText() {
    const layerStates = this.getLayerGroup().getLayerStatesArray();
    for (let i = 0, ii = layerStates.length; i < ii; ++i) {
      const layer = layerStates[i].layer;
      if (layer.hasRenderer()) {
        layer.getRenderer().handleFontsChanged();
      }
    }
  }

  /**
   * Request a map rendering (at the next animation frame).
   * @api
   */
  render() {
    if (this.renderer_ && this.animationDelayKey_ === undefined) {
      this.animationDelayKey_ = requestAnimationFrame(this.animationDelay_);
    }
  }

  /**
   * Remove the given control from the map.
   * @param {import("./control/Control.js").default} control Control.
   * @return {import("./control/Control.js").default|undefined} The removed control (or undefined
   *     if the control was not found).
   * @api
   */
  removeControl(control) {
    return this.getControls().remove(control);
  }

  /**
   * Remove the given interaction from the map.
   * @param {import("./interaction/Interaction.js").default} interaction Interaction to remove.
   * @return {import("./interaction/Interaction.js").default|undefined} The removed interaction (or
   *     undefined if the interaction was not found).
   * @api
   */
  removeInteraction(interaction) {
    return this.getInteractions().remove(interaction);
  }

  /**
   * Removes the given layer from the map.
   * @param {import("./layer/Base.js").default} layer Layer.
   * @return {import("./layer/Base.js").default|undefined} The removed layer (or undefined if the
   *     layer was not found).
   * @api
   */
  removeLayer(layer) {
    const layers = this.getLayerGroup().getLayers();
    return layers.remove(layer);
  }

  /**
   * @param {import("./layer/Group.js").GroupEvent} event The layer remove event.
   * @private
   */
  handleLayerRemove_(event) {
    removeLayerMapProperty(event.layer);
  }

  /**
   * Remove the given overlay from the map.
   * @param {import("./Overlay.js").default} overlay Overlay.
   * @return {import("./Overlay.js").default|undefined} The removed overlay (or undefined
   *     if the overlay was not found).
   * @api
   */
  removeOverlay(overlay) {
    return this.getOverlays().remove(overlay);
  }

  /**
   * @param {number} time Time.
   * @private
   */
  renderFrame_(time) {
    const size = this.getSize();
    const view = this.getView();
    const previousFrameState = this.frameState_;
    /** @type {?FrameState} */
    let frameState = null;
    if (size !== undefined && hasArea(size) && view && view.isDef()) {
      const viewHints = view.getHints(
        this.frameState_ ? this.frameState_.viewHints : undefined,
      );
      const viewState = view.getState();
      frameState = {
        animate: false,
        coordinateToPixelTransform: this.coordinateToPixelTransform_,
        declutter: null,
        extent: getForViewAndSize(
          viewState.center,
          viewState.resolution,
          viewState.rotation,
          size,
        ),
        index: this.frameIndex_++,
        layerIndex: 0,
        layerStatesArray: this.getLayerGroup().getLayerStatesArray(),
        pixelRatio: this.pixelRatio_,
        pixelToCoordinateTransform: this.pixelToCoordinateTransform_,
        postRenderFunctions: [],
        size: size,
        tileQueue: this.tileQueue_,
        time: time,
        usedTiles: {},
        viewState: viewState,
        viewHints: viewHints,
        wantedTiles: {},
        mapId: getUid(this),
        renderTargets: {},
      };
      if (viewState.nextCenter && viewState.nextResolution) {
        const rotation = isNaN(viewState.nextRotation)
          ? viewState.rotation
          : viewState.nextRotation;

        frameState.nextExtent = getForViewAndSize(
          viewState.nextCenter,
          viewState.nextResolution,
          rotation,
          size,
        );
      }
    }

    this.frameState_ = frameState;
    this.renderer_.renderFrame(frameState);

    if (frameState) {
      if (frameState.animate) {
        this.render();
      }
      Array.prototype.push.apply(
        this.postRenderFunctions_,
        frameState.postRenderFunctions,
      );

      if (previousFrameState) {
        const moveStart =
          !this.previousExtent_ ||
          (!extent_isEmpty(this.previousExtent_) &&
            !extent_equals(frameState.extent, this.previousExtent_));
        if (moveStart) {
          this.dispatchEvent(
            new ol_MapEvent(MapEventType.MOVESTART, this, previousFrameState),
          );
          this.previousExtent_ = createOrUpdateEmpty(this.previousExtent_);
        }
      }

      const idle =
        this.previousExtent_ &&
        !frameState.viewHints[ViewHint.ANIMATING] &&
        !frameState.viewHints[ViewHint.INTERACTING] &&
        !extent_equals(frameState.extent, this.previousExtent_);

      if (idle) {
        this.dispatchEvent(
          new ol_MapEvent(MapEventType.MOVEEND, this, frameState),
        );
        clone(frameState.extent, this.previousExtent_);
      }
    }

    this.dispatchEvent(new ol_MapEvent(MapEventType.POSTRENDER, this, frameState));

    this.renderComplete_ =
      (this.hasListener(MapEventType.LOADSTART) ||
        this.hasListener(MapEventType.LOADEND) ||
        this.hasListener(render_EventType.RENDERCOMPLETE)) &&
      !this.tileQueue_.getTilesLoading() &&
      !this.tileQueue_.getCount() &&
      !this.getLoadingOrNotReady();

    if (!this.postRenderTimeoutHandle_) {
      this.postRenderTimeoutHandle_ = setTimeout(() => {
        this.postRenderTimeoutHandle_ = undefined;
        this.handlePostRender();
      }, 0);
    }
  }

  /**
   * Sets the layergroup of this map.
   * @param {LayerGroup} layerGroup A layer group containing the layers in this map.
   * @observable
   * @api
   */
  setLayerGroup(layerGroup) {
    const oldLayerGroup = this.getLayerGroup();
    if (oldLayerGroup) {
      this.handleLayerRemove_(new GroupEvent('removelayer', oldLayerGroup));
    }
    this.set(MapProperty.LAYERGROUP, layerGroup);
  }

  /**
   * Set the size of this map.
   * @param {import("./size.js").Size|undefined} size The size in pixels of the map in the DOM.
   * @observable
   * @api
   */
  setSize(size) {
    this.set(MapProperty.SIZE, size);
  }

  /**
   * Set the target element to render this map into.
   * For accessibility (focus and keyboard events for map navigation), the `target` element must have a
   *  properly configured `tabindex` attribute. If the `target` element is inside a Shadow DOM, the
   *  `tabindex` atribute must be set on the custom element's host element.
   * @param {HTMLElement|string} [target] The Element or id of the Element
   *     that the map is rendered in.
   * @observable
   * @api
   */
  setTarget(target) {
    this.set(MapProperty.TARGET, target);
  }

  /**
   * Set the view for this map.
   * @param {View|Promise<import("./View.js").ViewOptions>|null} view The view that controls this map.
   * It is also possible to pass a promise that resolves to options for constructing a view.  This
   * alternative allows view properties to be resolved by sources or other components that load
   * view-related metadata.
   * @observable
   * @api
   */
  setView(view) {
    if (!view || view instanceof ol_View) {
      this.set(MapProperty.VIEW, view);
      return;
    }
    this.set(MapProperty.VIEW, new ol_View());

    const map = this;
    view.then(function (viewOptions) {
      map.setView(new ol_View(viewOptions));
    });
  }

  /**
   * Force a recalculation of the map viewport size.  This should be called when
   * third-party code changes the size of the map viewport.
   * @api
   */
  updateSize() {
    const targetElement = this.getTargetElement();

    let size = undefined;
    if (targetElement) {
      const computedStyle = getComputedStyle(targetElement);
      const width =
        targetElement.offsetWidth -
        parseFloat(computedStyle['borderLeftWidth']) -
        parseFloat(computedStyle['paddingLeft']) -
        parseFloat(computedStyle['paddingRight']) -
        parseFloat(computedStyle['borderRightWidth']);
      const height =
        targetElement.offsetHeight -
        parseFloat(computedStyle['borderTopWidth']) -
        parseFloat(computedStyle['paddingTop']) -
        parseFloat(computedStyle['paddingBottom']) -
        parseFloat(computedStyle['borderBottomWidth']);
      if (!isNaN(width) && !isNaN(height)) {
        size = [Math.max(0, width), Math.max(0, height)];
        if (
          !hasArea(size) &&
          !!(
            targetElement.offsetWidth ||
            targetElement.offsetHeight ||
            targetElement.getClientRects().length
          )
        ) {
          warn(
            "No map visible because the map container's width or height are 0.",
          );
        }
      }
    }

    const oldSize = this.getSize();
    if (size && (!oldSize || !equals(size, oldSize))) {
      this.setSize(size);
      this.updateViewportSize_(size);
    }
  }

  /**
   * Recomputes the viewport size and save it on the view object (if any)
   * @param {import("./size.js").Size|undefined} size The size.
   * @private
   */
  updateViewportSize_(size) {
    const view = this.getView();
    if (view) {
      view.setViewportSize(size);
    }
  }
}

/**
 * @param {MapOptions} options Map options.
 * @return {MapOptionsInternal} Internal map options.
 */
function createOptionsInternal(options) {
  /**
   * @type {HTMLElement|Document}
   */
  let keyboardEventTarget = null;
  if (options.keyboardEventTarget !== undefined) {
    keyboardEventTarget =
      typeof options.keyboardEventTarget === 'string'
        ? document.getElementById(options.keyboardEventTarget)
        : options.keyboardEventTarget;
  }

  /**
   * @type {Object<string, *>}
   */
  const values = {};

  const layerGroup =
    options.layers &&
    typeof (/** @type {?} */ (options.layers).getLayers) === 'function'
      ? /** @type {LayerGroup} */ (options.layers)
      : new Group({
          layers:
            /** @type {Collection<import("./layer/Base.js").default>|Array<import("./layer/Base.js").default>} */ (
              options.layers
            ),
        });
  values[MapProperty.LAYERGROUP] = layerGroup;

  values[MapProperty.TARGET] = options.target;

  values[MapProperty.VIEW] =
    options.view instanceof ol_View ? options.view : new ol_View();

  /** @type {Collection<import("./control/Control.js").default>} */
  let controls;
  if (options.controls !== undefined) {
    if (Array.isArray(options.controls)) {
      controls = new ol_Collection(options.controls.slice());
    } else {
      assert(
        typeof (/** @type {?} */ (options.controls).getArray) === 'function',
        'Expected `controls` to be an array or an `ol/Collection.js`',
      );
      controls = options.controls;
    }
  }

  /** @type {Collection<import("./interaction/Interaction").default>} */
  let interactions;
  if (options.interactions !== undefined) {
    if (Array.isArray(options.interactions)) {
      interactions = new ol_Collection(options.interactions.slice());
    } else {
      assert(
        typeof (/** @type {?} */ (options.interactions).getArray) ===
          'function',
        'Expected `interactions` to be an array or an `ol/Collection.js`',
      );
      interactions = options.interactions;
    }
  }

  /** @type {Collection<import("./Overlay.js").default>} */
  let overlays;
  if (options.overlays !== undefined) {
    if (Array.isArray(options.overlays)) {
      overlays = new ol_Collection(options.overlays.slice());
    } else {
      assert(
        typeof (/** @type {?} */ (options.overlays).getArray) === 'function',
        'Expected `overlays` to be an array or an `ol/Collection.js`',
      );
      overlays = options.overlays;
    }
  } else {
    overlays = new ol_Collection();
  }

  return {
    controls: controls,
    interactions: interactions,
    keyboardEventTarget: keyboardEventTarget,
    overlays: overlays,
    values: values,
  };
}
/* harmony default export */ const ol_Map = (Map_Map);

;// CONCATENATED MODULE: ./node_modules/ol/TileRange.js
/**
 * @module ol/TileRange
 */

/**
 * A representation of a contiguous block of tiles.  A tile range is specified
 * by its min/max tile coordinates and is inclusive of coordinates.
 */
class TileRange {
  /**
   * @param {number} minX Minimum X.
   * @param {number} maxX Maximum X.
   * @param {number} minY Minimum Y.
   * @param {number} maxY Maximum Y.
   */
  constructor(minX, maxX, minY, maxY) {
    /**
     * @type {number}
     */
    this.minX = minX;

    /**
     * @type {number}
     */
    this.maxX = maxX;

    /**
     * @type {number}
     */
    this.minY = minY;

    /**
     * @type {number}
     */
    this.maxY = maxY;
  }

  /**
   * @param {import("./tilecoord.js").TileCoord} tileCoord Tile coordinate.
   * @return {boolean} Contains tile coordinate.
   */
  contains(tileCoord) {
    return this.containsXY(tileCoord[1], tileCoord[2]);
  }

  /**
   * @param {TileRange} tileRange Tile range.
   * @return {boolean} Contains.
   */
  containsTileRange(tileRange) {
    return (
      this.minX <= tileRange.minX &&
      tileRange.maxX <= this.maxX &&
      this.minY <= tileRange.minY &&
      tileRange.maxY <= this.maxY
    );
  }

  /**
   * @param {number} x Tile coordinate x.
   * @param {number} y Tile coordinate y.
   * @return {boolean} Contains coordinate.
   */
  containsXY(x, y) {
    return this.minX <= x && x <= this.maxX && this.minY <= y && y <= this.maxY;
  }

  /**
   * @param {TileRange} tileRange Tile range.
   * @return {boolean} Equals.
   */
  equals(tileRange) {
    return (
      this.minX == tileRange.minX &&
      this.minY == tileRange.minY &&
      this.maxX == tileRange.maxX &&
      this.maxY == tileRange.maxY
    );
  }

  /**
   * @param {TileRange} tileRange Tile range.
   */
  extend(tileRange) {
    if (tileRange.minX < this.minX) {
      this.minX = tileRange.minX;
    }
    if (tileRange.maxX > this.maxX) {
      this.maxX = tileRange.maxX;
    }
    if (tileRange.minY < this.minY) {
      this.minY = tileRange.minY;
    }
    if (tileRange.maxY > this.maxY) {
      this.maxY = tileRange.maxY;
    }
  }

  /**
   * @return {number} Height.
   */
  getHeight() {
    return this.maxY - this.minY + 1;
  }

  /**
   * @return {import("./size.js").Size} Size.
   */
  getSize() {
    return [this.getWidth(), this.getHeight()];
  }

  /**
   * @return {number} Width.
   */
  getWidth() {
    return this.maxX - this.minX + 1;
  }

  /**
   * @param {TileRange} tileRange Tile range.
   * @return {boolean} Intersects.
   */
  intersects(tileRange) {
    return (
      this.minX <= tileRange.maxX &&
      this.maxX >= tileRange.minX &&
      this.minY <= tileRange.maxY &&
      this.maxY >= tileRange.minY
    );
  }
}

/**
 * @param {number} minX Minimum X.
 * @param {number} maxX Maximum X.
 * @param {number} minY Minimum Y.
 * @param {number} maxY Maximum Y.
 * @param {TileRange} [tileRange] TileRange.
 * @return {TileRange} Tile range.
 */
function TileRange_createOrUpdate(minX, maxX, minY, maxY, tileRange) {
  if (tileRange !== undefined) {
    tileRange.minX = minX;
    tileRange.maxX = maxX;
    tileRange.minY = minY;
    tileRange.maxY = maxY;
    return tileRange;
  }
  return new TileRange(minX, maxX, minY, maxY);
}

/* harmony default export */ const ol_TileRange = (TileRange);

;// CONCATENATED MODULE: ./node_modules/ol/tilecoord.js
/**
 * @module ol/tilecoord
 */

/**
 * An array of three numbers representing the location of a tile in a tile
 * grid. The order is `z` (zoom level), `x` (column), and `y` (row).
 * @typedef {Array<number>} TileCoord
 * @api
 */

/**
 * @param {number} z Z.
 * @param {number} x X.
 * @param {number} y Y.
 * @param {TileCoord} [tileCoord] Tile coordinate.
 * @return {TileCoord} Tile coordinate.
 */
function tilecoord_createOrUpdate(z, x, y, tileCoord) {
  if (tileCoord !== undefined) {
    tileCoord[0] = z;
    tileCoord[1] = x;
    tileCoord[2] = y;
    return tileCoord;
  }
  return [z, x, y];
}

/**
 * @param {number} z Z.
 * @param {number} x X.
 * @param {number} y Y.
 * @return {string} Key.
 */
function getKeyZXY(z, x, y) {
  return z + '/' + x + '/' + y;
}

/**
 * Get the key for a tile coord.
 * @param {TileCoord} tileCoord The tile coord.
 * @return {string} Key.
 */
function getKey(tileCoord) {
  return getKeyZXY(tileCoord[0], tileCoord[1], tileCoord[2]);
}

/**
 * Get the tile cache key for a tile key obtained through `tile.getKey()`.
 * @param {string} tileKey The tile key.
 * @return {string} The cache key.
 */
function getCacheKeyForTileKey(tileKey) {
  const [z, x, y] = tileKey
    .substring(tileKey.lastIndexOf('/') + 1, tileKey.length)
    .split(',')
    .map(Number);
  return getKeyZXY(z, x, y);
}

/**
 * Get a tile coord given a key.
 * @param {string} key The tile coord key.
 * @return {TileCoord} The tile coord.
 */
function fromKey(key) {
  return key.split('/').map(Number);
}

/**
 * @param {TileCoord} tileCoord Tile coord.
 * @return {number} Hash.
 */
function tilecoord_hash(tileCoord) {
  return tilecoord_hashZXY(tileCoord[0], tileCoord[1], tileCoord[2]);
}

/**
 * @param {number} z The tile z coordinate.
 * @param {number} x The tile x coordinate.
 * @param {number} y The tile y coordinate.
 * @return {number} Hash.
 */
function tilecoord_hashZXY(z, x, y) {
  return (x << z) + y;
}

/**
 * @param {TileCoord} tileCoord Tile coordinate.
 * @param {!import("./tilegrid/TileGrid.js").default} tileGrid Tile grid.
 * @return {boolean} Tile coordinate is within extent and zoom level range.
 */
function withinExtentAndZ(tileCoord, tileGrid) {
  const z = tileCoord[0];
  const x = tileCoord[1];
  const y = tileCoord[2];

  if (tileGrid.getMinZoom() > z || z > tileGrid.getMaxZoom()) {
    return false;
  }
  const tileRange = tileGrid.getFullTileRange(z);
  if (!tileRange) {
    return true;
  }
  return tileRange.containsXY(x, y);
}

;// CONCATENATED MODULE: ./node_modules/ol/tilegrid/TileGrid.js
/**
 * @module ol/tilegrid/TileGrid
 */










/**
 * @private
 * @type {import("../tilecoord.js").TileCoord}
 */
const tmpTileCoord = [0, 0, 0];

/**
 * Number of decimal digits to consider in integer values when rounding.
 * @type {number}
 */
const DECIMALS = 5;

/**
 * @typedef {Object} Options
 * @property {import("../extent.js").Extent} [extent] Extent for the tile grid. No tiles outside this
 * extent will be requested by {@link module:ol/source/Tile~TileSource} sources. When no `origin` or
 * `origins` are configured, the `origin` will be set to the top-left corner of the extent.
 * @property {number} [minZoom=0] Minimum zoom.
 * @property {import("../coordinate.js").Coordinate} [origin] The tile grid origin, i.e. where the `x`
 * and `y` axes meet (`[z, 0, 0]`). Tile coordinates increase left to right and downwards. If not
 * specified, `extent` or `origins` must be provided.
 * @property {Array<import("../coordinate.js").Coordinate>} [origins] Tile grid origins, i.e. where
 * the `x` and `y` axes meet (`[z, 0, 0]`), for each zoom level. If given, the array length
 * should match the length of the `resolutions` array, i.e. each resolution can have a different
 * origin. Tile coordinates increase left to right and downwards. If not specified, `extent` or
 * `origin` must be provided.
 * @property {!Array<number>} resolutions Resolutions. The array index of each resolution needs
 * to match the zoom level. This means that even if a `minZoom` is configured, the resolutions
 * array will have a length of `maxZoom + 1`.
 * @property {Array<import("../size.js").Size>} [sizes] Number of tile rows and columns
 * of the grid for each zoom level. If specified the values
 * define each zoom level's extent together with the `origin` or `origins`.
 * A grid `extent` can be configured in addition, and will further limit the extent
 * for which tile requests are made by sources. If the bottom-left corner of
 * an extent is used as `origin` or `origins`, then the `y` value must be
 * negative because OpenLayers tile coordinates use the top left as the origin.
 * @property {number|import("../size.js").Size} [tileSize] Tile size.
 * Default is `[256, 256]`.
 * @property {Array<number|import("../size.js").Size>} [tileSizes] Tile sizes. If given, the array length
 * should match the length of the `resolutions` array, i.e. each resolution can have a different
 * tile size.
 */

/**
 * @classdesc
 * Base class for setting the grid pattern for sources accessing tiled-image
 * servers.
 * @api
 */
class TileGrid {
  /**
   * @param {Options} options Tile grid options.
   */
  constructor(options) {
    /**
     * @protected
     * @type {number}
     */
    this.minZoom = options.minZoom !== undefined ? options.minZoom : 0;

    /**
     * @private
     * @type {!Array<number>}
     */
    this.resolutions_ = options.resolutions;
    assert(
      isSorted(
        this.resolutions_,
        /**
         * @param {number} a First resolution
         * @param {number} b Second resolution
         * @return {number} Comparison result
         */
        (a, b) => b - a,
        true,
      ),
      '`resolutions` must be sorted in descending order',
    );

    // check if we've got a consistent zoom factor and origin
    let zoomFactor;
    if (!options.origins) {
      for (let i = 0, ii = this.resolutions_.length - 1; i < ii; ++i) {
        if (!zoomFactor) {
          zoomFactor = this.resolutions_[i] / this.resolutions_[i + 1];
        } else {
          if (this.resolutions_[i] / this.resolutions_[i + 1] !== zoomFactor) {
            zoomFactor = undefined;
            break;
          }
        }
      }
    }

    /**
     * @private
     * @type {number|undefined}
     */
    this.zoomFactor_ = zoomFactor;

    /**
     * @protected
     * @type {number}
     */
    this.maxZoom = this.resolutions_.length - 1;

    /**
     * @private
     * @type {import("../coordinate.js").Coordinate|null}
     */
    this.origin_ = options.origin !== undefined ? options.origin : null;

    /**
     * @private
     * @type {Array<import("../coordinate.js").Coordinate>}
     */
    this.origins_ = null;
    if (options.origins !== undefined) {
      this.origins_ = options.origins;
      assert(
        this.origins_.length == this.resolutions_.length,
        'Number of `origins` and `resolutions` must be equal',
      );
    }

    const extent = options.extent;

    if (extent !== undefined && !this.origin_ && !this.origins_) {
      this.origin_ = getTopLeft(extent);
    }

    assert(
      (!this.origin_ && this.origins_) || (this.origin_ && !this.origins_),
      'Either `origin` or `origins` must be configured, never both',
    );

    /**
     * @private
     * @type {Array<number|import("../size.js").Size>}
     */
    this.tileSizes_ = null;
    if (options.tileSizes !== undefined) {
      this.tileSizes_ = options.tileSizes;
      assert(
        this.tileSizes_.length == this.resolutions_.length,
        'Number of `tileSizes` and `resolutions` must be equal',
      );
    }

    /**
     * @private
     * @type {number|import("../size.js").Size}
     */
    this.tileSize_ =
      options.tileSize !== undefined
        ? options.tileSize
        : !this.tileSizes_
          ? DEFAULT_TILE_SIZE
          : null;
    assert(
      (!this.tileSize_ && this.tileSizes_) ||
        (this.tileSize_ && !this.tileSizes_),
      'Either `tileSize` or `tileSizes` must be configured, never both',
    );

    /**
     * @private
     * @type {import("../extent.js").Extent}
     */
    this.extent_ = extent !== undefined ? extent : null;

    /**
     * @private
     * @type {Array<import("../TileRange.js").default>}
     */
    this.fullTileRanges_ = null;

    /**
     * @private
     * @type {import("../size.js").Size}
     */
    this.tmpSize_ = [0, 0];

    /**
     * @private
     * @type {import("../extent.js").Extent}
     */
    this.tmpExtent_ = [0, 0, 0, 0];

    if (options.sizes !== undefined) {
      this.fullTileRanges_ = options.sizes.map((size, z) => {
        const tileRange = new ol_TileRange(
          Math.min(0, size[0]),
          Math.max(size[0] - 1, -1),
          Math.min(0, size[1]),
          Math.max(size[1] - 1, -1),
        );
        if (extent) {
          const restrictedTileRange = this.getTileRangeForExtentAndZ(extent, z);
          tileRange.minX = Math.max(restrictedTileRange.minX, tileRange.minX);
          tileRange.maxX = Math.min(restrictedTileRange.maxX, tileRange.maxX);
          tileRange.minY = Math.max(restrictedTileRange.minY, tileRange.minY);
          tileRange.maxY = Math.min(restrictedTileRange.maxY, tileRange.maxY);
        }
        return tileRange;
      });
    } else if (extent) {
      this.calculateTileRanges_(extent);
    }
  }

  /**
   * Call a function with each tile coordinate for a given extent and zoom level.
   *
   * @param {import("../extent.js").Extent} extent Extent.
   * @param {number} zoom Integer zoom level.
   * @param {function(import("../tilecoord.js").TileCoord): void} callback Function called with each tile coordinate.
   * @api
   */
  forEachTileCoord(extent, zoom, callback) {
    const tileRange = this.getTileRangeForExtentAndZ(extent, zoom);
    for (let i = tileRange.minX, ii = tileRange.maxX; i <= ii; ++i) {
      for (let j = tileRange.minY, jj = tileRange.maxY; j <= jj; ++j) {
        callback([zoom, i, j]);
      }
    }
  }

  /**
   * @param {import("../tilecoord.js").TileCoord} tileCoord Tile coordinate.
   * @param {function(number, import("../TileRange.js").default): boolean} callback Callback.
   * @param {import("../TileRange.js").default} [tempTileRange] Temporary import("../TileRange.js").default object.
   * @param {import("../extent.js").Extent} [tempExtent] Temporary import("../extent.js").Extent object.
   * @return {boolean} Callback succeeded.
   */
  forEachTileCoordParentTileRange(
    tileCoord,
    callback,
    tempTileRange,
    tempExtent,
  ) {
    let tileRange, x, y;
    let tileCoordExtent = null;
    let z = tileCoord[0] - 1;
    if (this.zoomFactor_ === 2) {
      x = tileCoord[1];
      y = tileCoord[2];
    } else {
      tileCoordExtent = this.getTileCoordExtent(tileCoord, tempExtent);
    }
    while (z >= this.minZoom) {
      if (x !== undefined && y !== undefined) {
        x = Math.floor(x / 2);
        y = Math.floor(y / 2);
        tileRange = TileRange_createOrUpdate(x, x, y, y, tempTileRange);
      } else {
        tileRange = this.getTileRangeForExtentAndZ(
          tileCoordExtent,
          z,
          tempTileRange,
        );
      }
      if (callback(z, tileRange)) {
        return true;
      }
      --z;
    }
    return false;
  }

  /**
   * Get the extent for this tile grid, if it was configured.
   * @return {import("../extent.js").Extent} Extent.
   * @api
   */
  getExtent() {
    return this.extent_;
  }

  /**
   * Get the maximum zoom level for the grid.
   * @return {number} Max zoom.
   * @api
   */
  getMaxZoom() {
    return this.maxZoom;
  }

  /**
   * Get the minimum zoom level for the grid.
   * @return {number} Min zoom.
   * @api
   */
  getMinZoom() {
    return this.minZoom;
  }

  /**
   * Get the origin for the grid at the given zoom level.
   * @param {number} z Integer zoom level.
   * @return {import("../coordinate.js").Coordinate} Origin.
   * @api
   */
  getOrigin(z) {
    if (this.origin_) {
      return this.origin_;
    }
    return this.origins_[z];
  }

  /**
   * Get the resolution for the given zoom level.
   * @param {number} z Integer zoom level.
   * @return {number} Resolution.
   * @api
   */
  getResolution(z) {
    return this.resolutions_[z];
  }

  /**
   * Get the list of resolutions for the tile grid.
   * @return {Array<number>} Resolutions.
   * @api
   */
  getResolutions() {
    return this.resolutions_;
  }

  /**
   * @param {import("../tilecoord.js").TileCoord} tileCoord Tile coordinate.
   * @param {import("../TileRange.js").default} [tempTileRange] Temporary import("../TileRange.js").default object.
   * @param {import("../extent.js").Extent} [tempExtent] Temporary import("../extent.js").Extent object.
   * @return {import("../TileRange.js").default|null} Tile range.
   */
  getTileCoordChildTileRange(tileCoord, tempTileRange, tempExtent) {
    if (tileCoord[0] < this.maxZoom) {
      if (this.zoomFactor_ === 2) {
        const minX = tileCoord[1] * 2;
        const minY = tileCoord[2] * 2;
        return TileRange_createOrUpdate(
          minX,
          minX + 1,
          minY,
          minY + 1,
          tempTileRange,
        );
      }
      const tileCoordExtent = this.getTileCoordExtent(
        tileCoord,
        tempExtent || this.tmpExtent_,
      );
      return this.getTileRangeForExtentAndZ(
        tileCoordExtent,
        tileCoord[0] + 1,
        tempTileRange,
      );
    }
    return null;
  }

  /**
   * @param {import("../tilecoord.js").TileCoord} tileCoord Tile coordinate.
   * @param {number} z Integer zoom level.
   * @param {import("../TileRange.js").default} [tempTileRange] Temporary import("../TileRange.js").default object.
   * @return {import("../TileRange.js").default|null} Tile range.
   */
  getTileRangeForTileCoordAndZ(tileCoord, z, tempTileRange) {
    if (z > this.maxZoom || z < this.minZoom) {
      return null;
    }

    const tileCoordZ = tileCoord[0];
    const tileCoordX = tileCoord[1];
    const tileCoordY = tileCoord[2];

    if (z === tileCoordZ) {
      return TileRange_createOrUpdate(
        tileCoordX,
        tileCoordY,
        tileCoordX,
        tileCoordY,
        tempTileRange,
      );
    }

    if (this.zoomFactor_) {
      const factor = Math.pow(this.zoomFactor_, z - tileCoordZ);
      const minX = Math.floor(tileCoordX * factor);
      const minY = Math.floor(tileCoordY * factor);
      if (z < tileCoordZ) {
        return TileRange_createOrUpdate(minX, minX, minY, minY, tempTileRange);
      }

      const maxX = Math.floor(factor * (tileCoordX + 1)) - 1;
      const maxY = Math.floor(factor * (tileCoordY + 1)) - 1;
      return TileRange_createOrUpdate(minX, maxX, minY, maxY, tempTileRange);
    }

    const tileCoordExtent = this.getTileCoordExtent(tileCoord, this.tmpExtent_);
    return this.getTileRangeForExtentAndZ(tileCoordExtent, z, tempTileRange);
  }

  /**
   * Get a tile range for the given extent and integer zoom level.
   * @param {import("../extent.js").Extent} extent Extent.
   * @param {number} z Integer zoom level.
   * @param {import("../TileRange.js").default} [tempTileRange] Temporary tile range object.
   * @return {import("../TileRange.js").default} Tile range.
   */
  getTileRangeForExtentAndZ(extent, z, tempTileRange) {
    this.getTileCoordForXYAndZ_(extent[0], extent[3], z, false, tmpTileCoord);
    const minX = tmpTileCoord[1];
    const minY = tmpTileCoord[2];
    this.getTileCoordForXYAndZ_(extent[2], extent[1], z, true, tmpTileCoord);
    const maxX = tmpTileCoord[1];
    const maxY = tmpTileCoord[2];
    return TileRange_createOrUpdate(minX, maxX, minY, maxY, tempTileRange);
  }

  /**
   * @param {import("../tilecoord.js").TileCoord} tileCoord Tile coordinate.
   * @return {import("../coordinate.js").Coordinate} Tile center.
   */
  getTileCoordCenter(tileCoord) {
    const origin = this.getOrigin(tileCoord[0]);
    const resolution = this.getResolution(tileCoord[0]);
    const tileSize = toSize(this.getTileSize(tileCoord[0]), this.tmpSize_);
    return [
      origin[0] + (tileCoord[1] + 0.5) * tileSize[0] * resolution,
      origin[1] - (tileCoord[2] + 0.5) * tileSize[1] * resolution,
    ];
  }

  /**
   * Get the extent of a tile coordinate.
   *
   * @param {import("../tilecoord.js").TileCoord} tileCoord Tile coordinate.
   * @param {import("../extent.js").Extent} [tempExtent] Temporary extent object.
   * @return {import("../extent.js").Extent} Extent.
   * @api
   */
  getTileCoordExtent(tileCoord, tempExtent) {
    const origin = this.getOrigin(tileCoord[0]);
    const resolution = this.getResolution(tileCoord[0]);
    const tileSize = toSize(this.getTileSize(tileCoord[0]), this.tmpSize_);
    const minX = origin[0] + tileCoord[1] * tileSize[0] * resolution;
    const minY = origin[1] - (tileCoord[2] + 1) * tileSize[1] * resolution;
    const maxX = minX + tileSize[0] * resolution;
    const maxY = minY + tileSize[1] * resolution;
    return createOrUpdate(minX, minY, maxX, maxY, tempExtent);
  }

  /**
   * Get the tile coordinate for the given map coordinate and resolution.  This
   * method considers that coordinates that intersect tile boundaries should be
   * assigned the higher tile coordinate.
   *
   * @param {import("../coordinate.js").Coordinate} coordinate Coordinate.
   * @param {number} resolution Resolution.
   * @param {import("../tilecoord.js").TileCoord} [opt_tileCoord] Destination import("../tilecoord.js").TileCoord object.
   * @return {import("../tilecoord.js").TileCoord} Tile coordinate.
   * @api
   */
  getTileCoordForCoordAndResolution(coordinate, resolution, opt_tileCoord) {
    return this.getTileCoordForXYAndResolution_(
      coordinate[0],
      coordinate[1],
      resolution,
      false,
      opt_tileCoord,
    );
  }

  /**
   * Note that this method should not be called for resolutions that correspond
   * to an integer zoom level.  Instead call the `getTileCoordForXYAndZ_` method.
   * @param {number} x X.
   * @param {number} y Y.
   * @param {number} resolution Resolution (for a non-integer zoom level).
   * @param {boolean} reverseIntersectionPolicy Instead of letting edge
   *     intersections go to the higher tile coordinate, let edge intersections
   *     go to the lower tile coordinate.
   * @param {import("../tilecoord.js").TileCoord} [opt_tileCoord] Temporary import("../tilecoord.js").TileCoord object.
   * @return {import("../tilecoord.js").TileCoord} Tile coordinate.
   * @private
   */
  getTileCoordForXYAndResolution_(
    x,
    y,
    resolution,
    reverseIntersectionPolicy,
    opt_tileCoord,
  ) {
    const z = this.getZForResolution(resolution);
    const scale = resolution / this.getResolution(z);
    const origin = this.getOrigin(z);
    const tileSize = toSize(this.getTileSize(z), this.tmpSize_);

    let tileCoordX = (scale * (x - origin[0])) / resolution / tileSize[0];
    let tileCoordY = (scale * (origin[1] - y)) / resolution / tileSize[1];

    if (reverseIntersectionPolicy) {
      tileCoordX = ceil(tileCoordX, DECIMALS) - 1;
      tileCoordY = ceil(tileCoordY, DECIMALS) - 1;
    } else {
      tileCoordX = floor(tileCoordX, DECIMALS);
      tileCoordY = floor(tileCoordY, DECIMALS);
    }

    return tilecoord_createOrUpdate(z, tileCoordX, tileCoordY, opt_tileCoord);
  }

  /**
   * Although there is repetition between this method and `getTileCoordForXYAndResolution_`,
   * they should have separate implementations.  This method is for integer zoom
   * levels.  The other method should only be called for resolutions corresponding
   * to non-integer zoom levels.
   * @param {number} x Map x coordinate.
   * @param {number} y Map y coordinate.
   * @param {number} z Integer zoom level.
   * @param {boolean} reverseIntersectionPolicy Instead of letting edge
   *     intersections go to the higher tile coordinate, let edge intersections
   *     go to the lower tile coordinate.
   * @param {import("../tilecoord.js").TileCoord} [opt_tileCoord] Temporary import("../tilecoord.js").TileCoord object.
   * @return {import("../tilecoord.js").TileCoord} Tile coordinate.
   * @private
   */
  getTileCoordForXYAndZ_(x, y, z, reverseIntersectionPolicy, opt_tileCoord) {
    const origin = this.getOrigin(z);
    const resolution = this.getResolution(z);
    const tileSize = toSize(this.getTileSize(z), this.tmpSize_);

    let tileCoordX = (x - origin[0]) / resolution / tileSize[0];
    let tileCoordY = (origin[1] - y) / resolution / tileSize[1];

    if (reverseIntersectionPolicy) {
      tileCoordX = ceil(tileCoordX, DECIMALS) - 1;
      tileCoordY = ceil(tileCoordY, DECIMALS) - 1;
    } else {
      tileCoordX = floor(tileCoordX, DECIMALS);
      tileCoordY = floor(tileCoordY, DECIMALS);
    }

    return tilecoord_createOrUpdate(z, tileCoordX, tileCoordY, opt_tileCoord);
  }

  /**
   * Get a tile coordinate given a map coordinate and zoom level.
   * @param {import("../coordinate.js").Coordinate} coordinate Coordinate.
   * @param {number} z Integer zoom level, e.g. the result of a `getZForResolution()` method call
   * @param {import("../tilecoord.js").TileCoord} [opt_tileCoord] Destination import("../tilecoord.js").TileCoord object.
   * @return {import("../tilecoord.js").TileCoord} Tile coordinate.
   * @api
   */
  getTileCoordForCoordAndZ(coordinate, z, opt_tileCoord) {
    return this.getTileCoordForXYAndZ_(
      coordinate[0],
      coordinate[1],
      z,
      false,
      opt_tileCoord,
    );
  }

  /**
   * @param {import("../tilecoord.js").TileCoord} tileCoord Tile coordinate.
   * @return {number} Tile resolution.
   */
  getTileCoordResolution(tileCoord) {
    return this.resolutions_[tileCoord[0]];
  }

  /**
   * Get the tile size for a zoom level. The type of the return value matches the
   * `tileSize` or `tileSizes` that the tile grid was configured with. To always
   * get an {@link import("../size.js").Size}, run the result through {@link module:ol/size.toSize}.
   * @param {number} z Z.
   * @return {number|import("../size.js").Size} Tile size.
   * @api
   */
  getTileSize(z) {
    if (this.tileSize_) {
      return this.tileSize_;
    }
    return this.tileSizes_[z];
  }

  /**
   * @param {number} z Zoom level.
   * @return {import("../TileRange.js").default|null} Extent tile range for the specified zoom level.
   */
  getFullTileRange(z) {
    if (!this.fullTileRanges_) {
      return this.extent_
        ? this.getTileRangeForExtentAndZ(this.extent_, z)
        : null;
    }
    return this.fullTileRanges_[z];
  }

  /**
   * @param {number} resolution Resolution.
   * @param {number|import("../array.js").NearestDirectionFunction} [opt_direction]
   *     If 0, the nearest resolution will be used.
   *     If 1, the nearest higher resolution (lower Z) will be used. If -1, the
   *     nearest lower resolution (higher Z) will be used. Default is 0.
   *     Use a {@link module:ol/array~NearestDirectionFunction} for more precise control.
   *
   * For example to change tile Z at the midpoint of zoom levels
   * ```js
   * function(value, high, low) {
   *   return value - low * Math.sqrt(high / low);
   * }
   * ```
   * @return {number} Z.
   * @api
   */
  getZForResolution(resolution, opt_direction) {
    const z = linearFindNearest(
      this.resolutions_,
      resolution,
      opt_direction || 0,
    );
    return math_clamp(z, this.minZoom, this.maxZoom);
  }

  /**
   * The tile with the provided tile coordinate intersects the given viewport.
   * @param {import('../tilecoord.js').TileCoord} tileCoord Tile coordinate.
   * @param {Array<number>} viewport Viewport as returned from {@link module:ol/extent.getRotatedViewport}.
   * @return {boolean} The tile with the provided tile coordinate intersects the given viewport.
   */
  tileCoordIntersectsViewport(tileCoord, viewport) {
    return intersectsLinearRing(
      viewport,
      0,
      viewport.length,
      2,
      this.getTileCoordExtent(tileCoord),
    );
  }

  /**
   * @param {!import("../extent.js").Extent} extent Extent for this tile grid.
   * @private
   */
  calculateTileRanges_(extent) {
    const length = this.resolutions_.length;
    const fullTileRanges = new Array(length);
    for (let z = this.minZoom; z < length; ++z) {
      fullTileRanges[z] = this.getTileRangeForExtentAndZ(extent, z);
    }
    this.fullTileRanges_ = fullTileRanges;
  }
}

/* harmony default export */ const tilegrid_TileGrid = (TileGrid);

;// CONCATENATED MODULE: ./node_modules/ol/tilegrid.js
/**
 * @module ol/tilegrid
 */









/**
 * @param {import("./proj/Projection.js").default} projection Projection.
 * @return {!TileGrid} Default tile grid for the
 * passed projection.
 */
function getForProjection(projection) {
  let tileGrid = projection.getDefaultTileGrid();
  if (!tileGrid) {
    tileGrid = createForProjection(projection);
    projection.setDefaultTileGrid(tileGrid);
  }
  return tileGrid;
}

/**
 * @param {TileGrid} tileGrid Tile grid.
 * @param {import("./tilecoord.js").TileCoord} tileCoord Tile coordinate.
 * @param {import("./proj/Projection.js").default} projection Projection.
 * @return {import("./tilecoord.js").TileCoord} Tile coordinate.
 */
function tilegrid_wrapX(tileGrid, tileCoord, projection) {
  const z = tileCoord[0];
  const center = tileGrid.getTileCoordCenter(tileCoord);
  const projectionExtent = extentFromProjection(projection);
  if (!containsCoordinate(projectionExtent, center)) {
    const worldWidth = extent_getWidth(projectionExtent);
    const worldsAway = Math.ceil(
      (projectionExtent[0] - center[0]) / worldWidth,
    );
    center[0] += worldWidth * worldsAway;
    return tileGrid.getTileCoordForCoordAndZ(center, z);
  }
  return tileCoord;
}

/**
 * @param {import("./extent.js").Extent} extent Extent.
 * @param {number} [maxZoom] Maximum zoom level (default is
 *     DEFAULT_MAX_ZOOM).
 * @param {number|import("./size.js").Size} [tileSize] Tile size (default uses
 *     DEFAULT_TILE_SIZE).
 * @param {import("./extent.js").Corner} [corner] Extent corner (default is `'top-left'`).
 * @return {!TileGrid} TileGrid instance.
 */
function createForExtent(extent, maxZoom, tileSize, corner) {
  corner = corner !== undefined ? corner : 'top-left';

  const resolutions = resolutionsFromExtent(extent, maxZoom, tileSize);

  return new tilegrid_TileGrid({
    extent: extent,
    origin: getCorner(extent, corner),
    resolutions: resolutions,
    tileSize: tileSize,
  });
}

/**
 * @typedef {Object} XYZOptions
 * @property {import("./extent.js").Extent} [extent] Extent for the tile grid. The origin for an XYZ tile grid is the
 * top-left corner of the extent. If `maxResolution` is not provided the zero level of the grid is defined by the resolution
 * at which one tile fits in the provided extent. If not provided, the extent of the EPSG:3857 projection is used.
 * @property {number} [maxResolution] Resolution at level zero.
 * @property {number} [maxZoom] Maximum zoom. The default is `42`. This determines the number of levels
 * in the grid set. For example, a `maxZoom` of 21 means there are 22 levels in the grid set.
 * @property {number} [minZoom=0] Minimum zoom.
 * @property {number|import("./size.js").Size} [tileSize=[256, 256]] Tile size in pixels.
 */

/**
 * Creates a tile grid with a standard XYZ tiling scheme.
 * @param {XYZOptions} [options] Tile grid options.
 * @return {!TileGrid} Tile grid instance.
 * @api
 */
function createXYZ(options) {
  const xyzOptions = options || {};

  const extent = xyzOptions.extent || proj_get('EPSG:3857').getExtent();

  const gridOptions = {
    extent: extent,
    minZoom: xyzOptions.minZoom,
    tileSize: xyzOptions.tileSize,
    resolutions: resolutionsFromExtent(
      extent,
      xyzOptions.maxZoom,
      xyzOptions.tileSize,
      xyzOptions.maxResolution,
    ),
  };
  return new tilegrid_TileGrid(gridOptions);
}

/**
 * Create a resolutions array from an extent.  A zoom factor of 2 is assumed.
 * @param {import("./extent.js").Extent} extent Extent.
 * @param {number} [maxZoom] Maximum zoom level (default is
 *     DEFAULT_MAX_ZOOM).
 * @param {number|import("./size.js").Size} [tileSize] Tile size (default uses
 *     DEFAULT_TILE_SIZE).
 * @param {number} [maxResolution] Resolution at level zero.
 * @return {!Array<number>} Resolutions array.
 */
function resolutionsFromExtent(extent, maxZoom, tileSize, maxResolution) {
  maxZoom = maxZoom !== undefined ? maxZoom : DEFAULT_MAX_ZOOM;
  tileSize = toSize(tileSize !== undefined ? tileSize : DEFAULT_TILE_SIZE);

  const height = getHeight(extent);
  const width = extent_getWidth(extent);

  maxResolution =
    maxResolution > 0
      ? maxResolution
      : Math.max(width / tileSize[0], height / tileSize[1]);

  const length = maxZoom + 1;
  const resolutions = new Array(length);
  for (let z = 0; z < length; ++z) {
    resolutions[z] = maxResolution / Math.pow(2, z);
  }
  return resolutions;
}

/**
 * @param {import("./proj.js").ProjectionLike} projection Projection.
 * @param {number} [maxZoom] Maximum zoom level (default is
 *     DEFAULT_MAX_ZOOM).
 * @param {number|import("./size.js").Size} [tileSize] Tile size (default uses
 *     DEFAULT_TILE_SIZE).
 * @param {import("./extent.js").Corner} [corner] Extent corner (default is `'top-left'`).
 * @return {!TileGrid} TileGrid instance.
 */
function createForProjection(projection, maxZoom, tileSize, corner) {
  const extent = extentFromProjection(projection);
  return createForExtent(extent, maxZoom, tileSize, corner);
}

/**
 * Generate a tile grid extent from a projection.  If the projection has an
 * extent, it is used.  If not, a global extent is assumed.
 * @param {import("./proj.js").ProjectionLike} projection Projection.
 * @return {import("./extent.js").Extent} Extent.
 */
function extentFromProjection(projection) {
  projection = proj_get(projection);
  let extent = projection.getExtent();
  if (!extent) {
    const half =
      (180 * METERS_PER_UNIT.degrees) / projection.getMetersPerUnit();
    extent = createOrUpdate(-half, -half, half, half);
  }
  return extent;
}

;// CONCATENATED MODULE: ./node_modules/ol/Tile.js
/**
 * @module ol/Tile
 */






/**
 * A function that takes a {@link module:ol/Tile~Tile} for the tile and a
 * `{string}` for the url as arguments. The default is
 * ```js
 * source.setTileLoadFunction(function(tile, src) {
 *   tile.getImage().src = src;
 * });
 * ```
 * For more fine grained control, the load function can use fetch or XMLHttpRequest and involve
 * error handling:
 *
 * ```js
 * import TileState from 'ol/TileState.js';
 *
 * source.setTileLoadFunction(function(tile, src) {
 *   const xhr = new XMLHttpRequest();
 *   xhr.responseType = 'blob';
 *   xhr.addEventListener('loadend', function (evt) {
 *     const data = this.response;
 *     if (data !== undefined) {
 *       tile.getImage().src = URL.createObjectURL(data);
 *     } else {
 *       tile.setState(TileState.ERROR);
 *     }
 *   });
 *   xhr.addEventListener('error', function () {
 *     tile.setState(TileState.ERROR);
 *   });
 *   xhr.open('GET', src);
 *   xhr.send();
 * });
 * ```
 *
 * @typedef {function(Tile, string): void} LoadFunction
 * @api
 */

/**
 * {@link module:ol/source/Tile~TileSource} sources use a function of this type to get
 * the url that provides a tile for a given tile coordinate.
 *
 * This function takes a {@link module:ol/tilecoord~TileCoord} for the tile
 * coordinate, a `{number}` representing the pixel ratio and a
 * {@link module:ol/proj/Projection~Projection} for the projection  as arguments
 * and returns a `{string}` representing the tile URL, or undefined if no tile
 * should be requested for the passed tile coordinate.
 *
 * @typedef {function(import("./tilecoord.js").TileCoord, number,
 *           import("./proj/Projection.js").default): (string|undefined)} UrlFunction
 * @api
 */

/**
 * @typedef {Object} Options
 * @property {number} [transition=250] A duration for tile opacity
 * transitions in milliseconds. A duration of 0 disables the opacity transition.
 * @property {boolean} [interpolate=false] Use interpolated values when resampling.  By default,
 * the nearest neighbor is used when resampling.
 * @api
 */

/**
 * @classdesc
 * Base class for tiles.
 *
 * @abstract
 */
class Tile extends events_Target {
  /**
   * @param {import("./tilecoord.js").TileCoord} tileCoord Tile coordinate.
   * @param {import("./TileState.js").default} state State.
   * @param {Options} [options] Tile options.
   */
  constructor(tileCoord, state, options) {
    super();

    options = options ? options : {};

    /**
     * @type {import("./tilecoord.js").TileCoord}
     */
    this.tileCoord = tileCoord;

    /**
     * @protected
     * @type {import("./TileState.js").default}
     */
    this.state = state;

    /**
     * A key assigned to the tile. This is used in conjunction with a source key
     * to determine if a cached version of this tile may be used by the renderer.
     * @type {string}
     */
    this.key = '';

    /**
     * The duration for the opacity transition.
     * @private
     * @type {number}
     */
    this.transition_ =
      options.transition === undefined ? 250 : options.transition;

    /**
     * Lookup of start times for rendering transitions.  If the start time is
     * equal to -1, the transition is complete.
     * @private
     * @type {Object<string, number>}
     */
    this.transitionStarts_ = {};

    /**
     * @type {boolean}
     */
    this.interpolate = !!options.interpolate;
  }

  /**
   * @protected
   */
  changed() {
    this.dispatchEvent(events_EventType.CHANGE);
  }

  /**
   * Called by the tile cache when the tile is removed from the cache due to expiry
   */
  release() {
    // to remove the `change` listener on this tile in `ol/TileQueue#handleTileChange`
    this.setState(TileState.EMPTY);
  }

  /**
   * @return {string} Key.
   */
  getKey() {
    return this.key + '/' + this.tileCoord;
  }

  /**
   * Get the tile coordinate for this tile.
   * @return {import("./tilecoord.js").TileCoord} The tile coordinate.
   * @api
   */
  getTileCoord() {
    return this.tileCoord;
  }

  /**
   * @return {import("./TileState.js").default} State.
   */
  getState() {
    return this.state;
  }

  /**
   * Sets the state of this tile. If you write your own {@link module:ol/Tile~LoadFunction tileLoadFunction} ,
   * it is important to set the state correctly to {@link module:ol/TileState~ERROR}
   * when the tile cannot be loaded. Otherwise the tile cannot be removed from
   * the tile queue and will block other requests.
   * @param {import("./TileState.js").default} state State.
   * @api
   */
  setState(state) {
    if (this.state === TileState.EMPTY) {
      // no more state changes
      return;
    }
    if (this.state !== TileState.ERROR && this.state > state) {
      throw new Error('Tile load sequence violation');
    }
    this.state = state;
    this.changed();
  }

  /**
   * Load the image or retry if loading previously failed.
   * Loading is taken care of by the tile queue, and calling this method is
   * only needed for preloading or for reloading in case of an error.
   * @abstract
   * @api
   */
  load() {
    util_abstract();
  }

  /**
   * Get the alpha value for rendering.
   * @param {string} id An id for the renderer.
   * @param {number} time The render frame time.
   * @return {number} A number between 0 and 1.
   */
  getAlpha(id, time) {
    if (!this.transition_) {
      return 1;
    }

    let start = this.transitionStarts_[id];
    if (!start) {
      start = time;
      this.transitionStarts_[id] = start;
    } else if (start === -1) {
      return 1;
    }

    const delta = time - start + 1000 / 60; // avoid rendering at 0
    if (delta >= this.transition_) {
      return 1;
    }
    return easeIn(delta / this.transition_);
  }

  /**
   * Determine if a tile is in an alpha transition.  A tile is considered in
   * transition if tile.getAlpha() has not yet been called or has been called
   * and returned 1.
   * @param {string} id An id for the renderer.
   * @return {boolean} The tile is in transition.
   */
  inTransition(id) {
    if (!this.transition_) {
      return false;
    }
    return this.transitionStarts_[id] !== -1;
  }

  /**
   * Mark a transition as complete.
   * @param {string} id An id for the renderer.
   */
  endTransition(id) {
    if (this.transition_) {
      this.transitionStarts_[id] = -1;
    }
  }

  /**
   * @override
   */
  disposeInternal() {
    this.release();
    super.disposeInternal();
  }
}

/* harmony default export */ const ol_Tile = (Tile);

;// CONCATENATED MODULE: ./node_modules/ol/ImageTile.js
/**
 * @module ol/ImageTile
 */





class ImageTile extends ol_Tile {
  /**
   * @param {import("./tilecoord.js").TileCoord} tileCoord Tile coordinate.
   * @param {import("./TileState.js").default} state State.
   * @param {string} src Image source URI.
   * @param {?string} crossOrigin Cross origin.
   * @param {import("./Tile.js").LoadFunction} tileLoadFunction Tile load function.
   * @param {import("./Tile.js").Options} [options] Tile options.
   */
  constructor(tileCoord, state, src, crossOrigin, tileLoadFunction, options) {
    super(tileCoord, state, options);

    /**
     * @private
     * @type {?string}
     */
    this.crossOrigin_ = crossOrigin;

    /**
     * Image URI
     *
     * @private
     * @type {string}
     */
    this.src_ = src;

    this.key = src;

    /**
     * @private
     * @type {HTMLImageElement|HTMLCanvasElement}
     */
    this.image_ = new Image();
    if (crossOrigin !== null) {
      this.image_.crossOrigin = crossOrigin;
    }

    /**
     * @private
     * @type {?function():void}
     */
    this.unlisten_ = null;

    /**
     * @private
     * @type {import("./Tile.js").LoadFunction}
     */
    this.tileLoadFunction_ = tileLoadFunction;
  }

  /**
   * Get the HTML image element for this tile (may be a Canvas, Image, or Video).
   * @return {HTMLCanvasElement|HTMLImageElement|HTMLVideoElement} Image.
   * @api
   */
  getImage() {
    return this.image_;
  }

  /**
   * Sets an HTML image element for this tile (may be a Canvas or preloaded Image).
   * @param {HTMLCanvasElement|HTMLImageElement} element Element.
   */
  setImage(element) {
    this.image_ = element;
    this.state = TileState.LOADED;
    this.unlistenImage_();
    this.changed();
  }

  /**
   * Tracks loading or read errors.
   *
   * @private
   */
  handleImageError_() {
    this.state = TileState.ERROR;
    this.unlistenImage_();
    this.image_ = getBlankImage();
    this.changed();
  }

  /**
   * Tracks successful image load.
   *
   * @private
   */
  handleImageLoad_() {
    const image = /** @type {HTMLImageElement} */ (this.image_);
    if (image.naturalWidth && image.naturalHeight) {
      this.state = TileState.LOADED;
    } else {
      this.state = TileState.EMPTY;
    }
    this.unlistenImage_();
    this.changed();
  }

  /**
   * Load the image or retry if loading previously failed.
   * Loading is taken care of by the tile queue, and calling this method is
   * only needed for preloading or for reloading in case of an error.
   *
   * To retry loading tiles on failed requests, use a custom `tileLoadFunction`
   * that checks for error status codes and reloads only when the status code is
   * 408, 429, 500, 502, 503 and 504, and only when not too many retries have been
   * made already:
   *
   * ```js
   * const retryCodes = [408, 429, 500, 502, 503, 504];
   * const retries = {};
   * source.setTileLoadFunction((tile, src) => {
   *   const image = tile.getImage();
   *   fetch(src)
   *     .then((response) => {
   *       if (retryCodes.includes(response.status)) {
   *         retries[src] = (retries[src] || 0) + 1;
   *         if (retries[src] <= 3) {
   *           setTimeout(() => tile.load(), retries[src] * 1000);
   *         }
   *         return Promise.reject();
   *       }
   *       return response.blob();
   *     })
   *     .then((blob) => {
   *       const imageUrl = URL.createObjectURL(blob);
   *       image.src = imageUrl;
   *       setTimeout(() => URL.revokeObjectURL(imageUrl), 5000);
   *     })
   *     .catch(() => tile.setState(3)); // error
   * });
   * ```
   * @api
   * @override
   */
  load() {
    if (this.state == TileState.ERROR) {
      this.state = TileState.IDLE;
      this.image_ = new Image();
      if (this.crossOrigin_ !== null) {
        this.image_.crossOrigin = this.crossOrigin_;
      }
    }
    if (this.state == TileState.IDLE) {
      this.state = TileState.LOADING;
      this.changed();
      this.tileLoadFunction_(this, this.src_);
      this.unlisten_ = listenImage(
        this.image_,
        this.handleImageLoad_.bind(this),
        this.handleImageError_.bind(this),
      );
    }
  }

  /**
   * Discards event handlers which listen for load completion or errors.
   *
   * @private
   */
  unlistenImage_() {
    if (this.unlisten_) {
      this.unlisten_();
      this.unlisten_ = null;
    }
  }

  /**
   * @override
   */
  disposeInternal() {
    this.unlistenImage_();
    this.image_ = null;
    super.disposeInternal();
  }
}

/**
 * Get a 1-pixel blank image.
 * @return {HTMLCanvasElement} Blank image.
 */
function getBlankImage() {
  const ctx = dom_createCanvasContext2D(1, 1);
  ctx.fillStyle = 'rgba(0,0,0,0)';
  ctx.fillRect(0, 0, 1, 1);
  return ctx.canvas;
}

/* harmony default export */ const ol_ImageTile = (ImageTile);

;// CONCATENATED MODULE: ./node_modules/ol/reproj.js
/**
 * @module ol/reproj
 */





let brokenDiagonalRendering_;

/**
 * @type {Array<HTMLCanvasElement>}
 */
const canvasPool = [];

/**
 * This draws a small triangle into a canvas by setting the triangle as the clip region
 * and then drawing a (too large) rectangle
 *
 * @param {CanvasRenderingContext2D} ctx The context in which to draw the triangle
 * @param {number} u1 The x-coordinate of the second point. The first point is 0,0.
 * @param {number} v1 The y-coordinate of the second point.
 * @param {number} u2 The x-coordinate of the third point.
 * @param {number} v2 The y-coordinate of the third point.
 */
function drawTestTriangle(ctx, u1, v1, u2, v2) {
  ctx.beginPath();
  ctx.moveTo(0, 0);
  ctx.lineTo(u1, v1);
  ctx.lineTo(u2, v2);
  ctx.closePath();
  ctx.save();
  ctx.clip();
  ctx.fillRect(0, 0, Math.max(u1, u2) + 1, Math.max(v1, v2));
  ctx.restore();
}

/**
 * Given the data from getImageData, see if the right values appear at the provided offset.
 * Returns true if either the color or transparency is off
 *
 * @param {Uint8ClampedArray} data The data returned from getImageData
 * @param {number} offset The pixel offset from the start of data.
 * @return {boolean} true if the diagonal rendering is broken
 */
function verifyBrokenDiagonalRendering(data, offset) {
  // the values ought to be close to the rgba(210, 0, 0, 0.75)
  return (
    Math.abs(data[offset * 4] - 210) > 2 ||
    Math.abs(data[offset * 4 + 3] - 0.75 * 255) > 2
  );
}

/**
 * Determines if the current browser configuration can render triangular clip regions correctly.
 * This value is cached so the function is only expensive the first time called.
 * Firefox on Windows (as of now) does not if HWA is enabled. See https://bugzilla.mozilla.org/show_bug.cgi?id=1606976
 * Chrome works, and everything seems to work on OSX and Android. This function caches the
 * result. I suppose that it is conceivably possible that a browser might flip modes while the app is
 * running, but lets hope not.
 *
 * @return {boolean} true if the Diagonal Rendering is broken.
 */
function isBrokenDiagonalRendering() {
  if (brokenDiagonalRendering_ === undefined) {
    const ctx = dom_createCanvasContext2D(6, 6, canvasPool);
    ctx.globalCompositeOperation = 'lighter';
    ctx.fillStyle = 'rgba(210, 0, 0, 0.75)';
    drawTestTriangle(ctx, 4, 5, 4, 0);
    drawTestTriangle(ctx, 4, 5, 0, 5);
    const data = ctx.getImageData(0, 0, 3, 3).data;
    brokenDiagonalRendering_ =
      verifyBrokenDiagonalRendering(data, 0) ||
      verifyBrokenDiagonalRendering(data, 4) ||
      verifyBrokenDiagonalRendering(data, 8);
    releaseCanvas(ctx);
    canvasPool.push(ctx.canvas);
  }

  return brokenDiagonalRendering_;
}

/**
 * Calculates ideal resolution to use from the source in order to achieve
 * pixel mapping as close as possible to 1:1 during reprojection.
 * The resolution is calculated regardless of what resolutions
 * are actually available in the dataset (TileGrid, Image, ...).
 *
 * @param {import("./proj/Projection.js").default} sourceProj Source projection.
 * @param {import("./proj/Projection.js").default} targetProj Target projection.
 * @param {import("./coordinate.js").Coordinate} targetCenter Target center.
 * @param {number} targetResolution Target resolution.
 * @return {number} The best resolution to use. Can be +-Infinity, NaN or 0.
 */
function calculateSourceResolution(
  sourceProj,
  targetProj,
  targetCenter,
  targetResolution,
) {
  const sourceCenter = transform(targetCenter, targetProj, sourceProj);

  // calculate the ideal resolution of the source data
  let sourceResolution = getPointResolution(
    targetProj,
    targetResolution,
    targetCenter,
  );

  const targetMetersPerUnit = targetProj.getMetersPerUnit();
  if (targetMetersPerUnit !== undefined) {
    sourceResolution *= targetMetersPerUnit;
  }
  const sourceMetersPerUnit = sourceProj.getMetersPerUnit();
  if (sourceMetersPerUnit !== undefined) {
    sourceResolution /= sourceMetersPerUnit;
  }

  // Based on the projection properties, the point resolution at the specified
  // coordinates may be slightly different. We need to reverse-compensate this
  // in order to achieve optimal results.

  const sourceExtent = sourceProj.getExtent();
  if (!sourceExtent || containsCoordinate(sourceExtent, sourceCenter)) {
    const compensationFactor =
      getPointResolution(sourceProj, sourceResolution, sourceCenter) /
      sourceResolution;
    if (isFinite(compensationFactor) && compensationFactor > 0) {
      sourceResolution /= compensationFactor;
    }
  }

  return sourceResolution;
}

/**
 * Calculates ideal resolution to use from the source in order to achieve
 * pixel mapping as close as possible to 1:1 during reprojection.
 * The resolution is calculated regardless of what resolutions
 * are actually available in the dataset (TileGrid, Image, ...).
 *
 * @param {import("./proj/Projection.js").default} sourceProj Source projection.
 * @param {import("./proj/Projection.js").default} targetProj Target projection.
 * @param {import("./extent.js").Extent} targetExtent Target extent
 * @param {number} targetResolution Target resolution.
 * @return {number} The best resolution to use. Can be +-Infinity, NaN or 0.
 */
function calculateSourceExtentResolution(
  sourceProj,
  targetProj,
  targetExtent,
  targetResolution,
) {
  const targetCenter = getCenter(targetExtent);
  let sourceResolution = calculateSourceResolution(
    sourceProj,
    targetProj,
    targetCenter,
    targetResolution,
  );

  if (!isFinite(sourceResolution) || sourceResolution <= 0) {
    forEachCorner(targetExtent, function (corner) {
      sourceResolution = calculateSourceResolution(
        sourceProj,
        targetProj,
        corner,
        targetResolution,
      );
      return isFinite(sourceResolution) && sourceResolution > 0;
    });
  }

  return sourceResolution;
}

/**
 * @typedef {Object} ImageExtent
 * @property {import("./extent.js").Extent} extent Extent.
 * @property {import("./extent.js").Extent} [clipExtent] Clip extent.
 * @property {import('./DataTile.js').ImageLike} image Image.
 */

/**
 * Renders the source data into new canvas based on the triangulation.
 *
 * @param {number} width Width of the canvas.
 * @param {number} height Height of the canvas.
 * @param {number} pixelRatio Pixel ratio.
 * @param {number} sourceResolution Source resolution.
 * @param {import("./extent.js").Extent} sourceExtent Extent of the data source.
 * @param {number} targetResolution Target resolution.
 * @param {import("./extent.js").Extent} targetExtent Target extent.
 * @param {import("./reproj/Triangulation.js").default} triangulation Calculated triangulation.
 * @param {Array<ImageExtent>} sources Array of sources.
 * @param {number} gutter Gutter of the sources.
 * @param {boolean} [renderEdges] Render reprojection edges.
 * @param {boolean} [interpolate] Use linear interpolation when resampling.
 * @param {boolean} [drawSingle] Draw single source images directly without stitchContext.
 * @param {boolean} [clipExtent] Clip stitchContext to sourceExtent.
 * @return {HTMLCanvasElement} Canvas with reprojected data.
 */
function render(
  width,
  height,
  pixelRatio,
  sourceResolution,
  sourceExtent,
  targetResolution,
  targetExtent,
  triangulation,
  sources,
  gutter,
  renderEdges,
  interpolate,
  drawSingle,
  clipExtent,
) {
  const context = dom_createCanvasContext2D(
    Math.round(pixelRatio * width),
    Math.round(pixelRatio * height),
    canvasPool,
  );

  if (!interpolate) {
    context.imageSmoothingEnabled = false;
  }

  if (sources.length === 0) {
    return context.canvas;
  }

  context.scale(pixelRatio, pixelRatio);

  function pixelRound(value) {
    return Math.round(value * pixelRatio) / pixelRatio;
  }

  context.globalCompositeOperation = 'lighter';

  const sourceDataExtent = createEmpty();
  sources.forEach(function (src, i, arr) {
    extent_extend(sourceDataExtent, src.extent);
  });

  let stitchContext;
  const stitchScale = pixelRatio / sourceResolution;
  // Round up Float32 scale values to prevent interpolation in Firefox.
  const inverseScale = (interpolate ? 1 : 1 + Math.pow(2, -24)) / stitchScale;

  if (!drawSingle || sources.length !== 1 || gutter !== 0) {
    stitchContext = dom_createCanvasContext2D(
      Math.round(extent_getWidth(sourceDataExtent) * stitchScale),
      Math.round(getHeight(sourceDataExtent) * stitchScale),
      canvasPool,
    );

    if (!interpolate) {
      stitchContext.imageSmoothingEnabled = false;
    }
    if (sourceExtent && clipExtent) {
      const xPos = (sourceExtent[0] - sourceDataExtent[0]) * stitchScale;
      const yPos = -(sourceExtent[3] - sourceDataExtent[3]) * stitchScale;
      const width = extent_getWidth(sourceExtent) * stitchScale;
      const height = getHeight(sourceExtent) * stitchScale;
      stitchContext.rect(xPos, yPos, width, height);
      stitchContext.clip();
    }

    sources.forEach(function (src, i, arr) {
      // This test should never fail -- but it does. Need to find a fix the upstream condition
      if (src.image.width > 0 && src.image.height > 0) {
        if (src.clipExtent) {
          stitchContext.save();
          const xPos = (src.clipExtent[0] - sourceDataExtent[0]) * stitchScale;
          const yPos = -(src.clipExtent[3] - sourceDataExtent[3]) * stitchScale;
          const width = extent_getWidth(src.clipExtent) * stitchScale;
          const height = getHeight(src.clipExtent) * stitchScale;
          stitchContext.rect(
            interpolate ? xPos : Math.round(xPos),
            interpolate ? yPos : Math.round(yPos),
            interpolate ? width : Math.round(xPos + width) - Math.round(xPos),
            interpolate ? height : Math.round(yPos + height) - Math.round(yPos),
          );
          stitchContext.clip();
        }

        const xPos = (src.extent[0] - sourceDataExtent[0]) * stitchScale;
        const yPos = -(src.extent[3] - sourceDataExtent[3]) * stitchScale;
        const srcWidth = extent_getWidth(src.extent) * stitchScale;
        const srcHeight = getHeight(src.extent) * stitchScale;
        stitchContext.drawImage(
          src.image,
          gutter,
          gutter,
          src.image.width - 2 * gutter,
          src.image.height - 2 * gutter,
          interpolate ? xPos : Math.round(xPos),
          interpolate ? yPos : Math.round(yPos),
          interpolate
            ? srcWidth
            : Math.round(xPos + srcWidth) - Math.round(xPos),
          interpolate
            ? srcHeight
            : Math.round(yPos + srcHeight) - Math.round(yPos),
        );

        if (src.clipExtent) {
          stitchContext.restore();
        }
      }
    });
  }
  const targetTopLeft = getTopLeft(targetExtent);

  triangulation.getTriangles().forEach(function (triangle, i, arr) {
    /* Calculate affine transform (src -> dst)
     * Resulting matrix can be used to transform coordinate
     * from `sourceProjection` to destination pixels.
     *
     * To optimize number of context calls and increase numerical stability,
     * we also do the following operations:
     * trans(-topLeftExtentCorner), scale(1 / targetResolution), scale(1, -1)
     * here before solving the linear system so [ui, vi] are pixel coordinates.
     *
     * Src points: xi, yi
     * Dst points: ui, vi
     * Affine coefficients: aij
     *
     * | x0 y0 1  0  0 0 |   |a00|   |u0|
     * | x1 y1 1  0  0 0 |   |a01|   |u1|
     * | x2 y2 1  0  0 0 | x |a02| = |u2|
     * |  0  0 0 x0 y0 1 |   |a10|   |v0|
     * |  0  0 0 x1 y1 1 |   |a11|   |v1|
     * |  0  0 0 x2 y2 1 |   |a12|   |v2|
     */
    const source = triangle.source;
    const target = triangle.target;
    let x0 = source[0][0],
      y0 = source[0][1];
    let x1 = source[1][0],
      y1 = source[1][1];
    let x2 = source[2][0],
      y2 = source[2][1];
    // Make sure that everything is on pixel boundaries
    const u0 = pixelRound((target[0][0] - targetTopLeft[0]) / targetResolution);
    const v0 = pixelRound(
      -(target[0][1] - targetTopLeft[1]) / targetResolution,
    );
    const u1 = pixelRound((target[1][0] - targetTopLeft[0]) / targetResolution);
    const v1 = pixelRound(
      -(target[1][1] - targetTopLeft[1]) / targetResolution,
    );
    const u2 = pixelRound((target[2][0] - targetTopLeft[0]) / targetResolution);
    const v2 = pixelRound(
      -(target[2][1] - targetTopLeft[1]) / targetResolution,
    );

    // Shift all the source points to improve numerical stability
    // of all the subsequent calculations. The [x0, y0] is used here.
    // This is also used to simplify the linear system.
    const sourceNumericalShiftX = x0;
    const sourceNumericalShiftY = y0;
    x0 = 0;
    y0 = 0;
    x1 -= sourceNumericalShiftX;
    y1 -= sourceNumericalShiftY;
    x2 -= sourceNumericalShiftX;
    y2 -= sourceNumericalShiftY;

    const augmentedMatrix = [
      [x1, y1, 0, 0, u1 - u0],
      [x2, y2, 0, 0, u2 - u0],
      [0, 0, x1, y1, v1 - v0],
      [0, 0, x2, y2, v2 - v0],
    ];
    const affineCoefs = solveLinearSystem(augmentedMatrix);
    if (!affineCoefs) {
      return;
    }

    context.save();
    context.beginPath();

    if (isBrokenDiagonalRendering() || !interpolate) {
      // Make sure that all lines are horizontal or vertical
      context.moveTo(u1, v1);
      // This is the diagonal line. Do it in 4 steps
      const steps = 4;
      const ud = u0 - u1;
      const vd = v0 - v1;
      for (let step = 0; step < steps; step++) {
        // Go horizontally
        context.lineTo(
          u1 + pixelRound(((step + 1) * ud) / steps),
          v1 + pixelRound((step * vd) / (steps - 1)),
        );
        // Go vertically
        if (step != steps - 1) {
          context.lineTo(
            u1 + pixelRound(((step + 1) * ud) / steps),
            v1 + pixelRound(((step + 1) * vd) / (steps - 1)),
          );
        }
      }
      // We are almost at u0r, v0r
      context.lineTo(u2, v2);
    } else {
      context.moveTo(u1, v1);
      context.lineTo(u0, v0);
      context.lineTo(u2, v2);
    }

    context.clip();

    context.transform(
      affineCoefs[0],
      affineCoefs[2],
      affineCoefs[1],
      affineCoefs[3],
      u0,
      v0,
    );

    context.translate(
      sourceDataExtent[0] - sourceNumericalShiftX,
      sourceDataExtent[3] - sourceNumericalShiftY,
    );

    let image;
    if (stitchContext) {
      image = stitchContext.canvas;
      context.scale(inverseScale, -inverseScale);
    } else {
      const source = sources[0];
      const extent = source.extent;
      image = source.image;
      context.scale(
        extent_getWidth(extent) / image.width,
        -getHeight(extent) / image.height,
      );
    }

    context.drawImage(image, 0, 0);
    context.restore();
  });

  if (stitchContext) {
    releaseCanvas(stitchContext);
    canvasPool.push(stitchContext.canvas);
  }

  if (renderEdges) {
    context.save();

    context.globalCompositeOperation = 'source-over';
    context.strokeStyle = 'black';
    context.lineWidth = 1;

    triangulation.getTriangles().forEach(function (triangle, i, arr) {
      const target = triangle.target;
      const u0 = (target[0][0] - targetTopLeft[0]) / targetResolution;
      const v0 = -(target[0][1] - targetTopLeft[1]) / targetResolution;
      const u1 = (target[1][0] - targetTopLeft[0]) / targetResolution;
      const v1 = -(target[1][1] - targetTopLeft[1]) / targetResolution;
      const u2 = (target[2][0] - targetTopLeft[0]) / targetResolution;
      const v2 = -(target[2][1] - targetTopLeft[1]) / targetResolution;

      context.beginPath();
      context.moveTo(u1, v1);
      context.lineTo(u0, v0);
      context.lineTo(u2, v2);
      context.closePath();
      context.stroke();
    });

    context.restore();
  }
  return context.canvas;
}

;// CONCATENATED MODULE: ./node_modules/ol/reproj/Triangulation.js
/**
 * @module ol/reproj/Triangulation
 */





/**
 * Single triangle; consists of 3 source points and 3 target points.
 * @typedef {Object} Triangle
 * @property {Array<import("../coordinate.js").Coordinate>} source Source.
 * @property {Array<import("../coordinate.js").Coordinate>} target Target.
 */

/**
 * Maximum number of subdivision steps during raster reprojection triangulation.
 * Prevents high memory usage and large number of proj4 calls (for certain
 * transformations and areas). At most `2*(2^this)` triangles are created for
 * each triangulated extent (tile/image).
 * @type {number}
 */
const MAX_SUBDIVISION = 10;

/**
 * Maximum allowed size of triangle relative to world width. When transforming
 * corners of world extent between certain projections, the resulting
 * triangulation seems to have zero error and no subdivision is performed. If
 * the triangle width is more than this (relative to world width; 0-1),
 * subdivison is forced (up to `MAX_SUBDIVISION`). Default is `0.25`.
 * @type {number}
 */
const MAX_TRIANGLE_WIDTH = 0.25;

/**
 * @classdesc
 * Class containing triangulation of the given target extent.
 * Used for determining source data and the reprojection itself.
 */
class Triangulation {
  /**
   * @param {import("../proj/Projection.js").default} sourceProj Source projection.
   * @param {import("../proj/Projection.js").default} targetProj Target projection.
   * @param {import("../extent.js").Extent} targetExtent Target extent to triangulate.
   * @param {import("../extent.js").Extent} maxSourceExtent Maximal source extent that can be used.
   * @param {number} errorThreshold Acceptable error (in source units).
   * @param {?number} destinationResolution The (optional) resolution of the destination.
   * @param {import("../transform.js").Transform} [sourceMatrix] Source transform matrix.
   */
  constructor(
    sourceProj,
    targetProj,
    targetExtent,
    maxSourceExtent,
    errorThreshold,
    destinationResolution,
    sourceMatrix,
  ) {
    /**
     * @type {import("../proj/Projection.js").default}
     * @private
     */
    this.sourceProj_ = sourceProj;

    /**
     * @type {import("../proj/Projection.js").default}
     * @private
     */
    this.targetProj_ = targetProj;

    /** @type {!Object<string, import("../coordinate.js").Coordinate>} */
    let transformInvCache = {};
    const transformInv = sourceMatrix
      ? createTransformFromCoordinateTransform((input) =>
          apply(
            sourceMatrix,
            transform(input, this.targetProj_, this.sourceProj_),
          ),
        )
      : getTransform(this.targetProj_, this.sourceProj_);

    /**
     * @param {import("../coordinate.js").Coordinate} c A coordinate.
     * @return {import("../coordinate.js").Coordinate} Transformed coordinate.
     * @private
     */
    this.transformInv_ = function (c) {
      const key = c[0] + '/' + c[1];
      if (!transformInvCache[key]) {
        transformInvCache[key] = transformInv(c);
      }
      return transformInvCache[key];
    };

    /**
     * @type {import("../extent.js").Extent}
     * @private
     */
    this.maxSourceExtent_ = maxSourceExtent;

    /**
     * @type {number}
     * @private
     */
    this.errorThresholdSquared_ = errorThreshold * errorThreshold;

    /**
     * @type {Array<Triangle>}
     * @private
     */
    this.triangles_ = [];

    /**
     * Indicates that the triangulation crosses edge of the source projection.
     * @type {boolean}
     * @private
     */
    this.wrapsXInSource_ = false;

    /**
     * @type {boolean}
     * @private
     */
    this.canWrapXInSource_ =
      this.sourceProj_.canWrapX() &&
      !!maxSourceExtent &&
      !!this.sourceProj_.getExtent() &&
      extent_getWidth(maxSourceExtent) >= extent_getWidth(this.sourceProj_.getExtent());

    /**
     * @type {?number}
     * @private
     */
    this.sourceWorldWidth_ = this.sourceProj_.getExtent()
      ? extent_getWidth(this.sourceProj_.getExtent())
      : null;

    /**
     * @type {?number}
     * @private
     */
    this.targetWorldWidth_ = this.targetProj_.getExtent()
      ? extent_getWidth(this.targetProj_.getExtent())
      : null;

    const destinationTopLeft = getTopLeft(targetExtent);
    const destinationTopRight = getTopRight(targetExtent);
    const destinationBottomRight = getBottomRight(targetExtent);
    const destinationBottomLeft = getBottomLeft(targetExtent);
    const sourceTopLeft = this.transformInv_(destinationTopLeft);
    const sourceTopRight = this.transformInv_(destinationTopRight);
    const sourceBottomRight = this.transformInv_(destinationBottomRight);
    const sourceBottomLeft = this.transformInv_(destinationBottomLeft);

    /*
     * The maxSubdivision controls how many splittings of the target area can
     * be done. The idea here is to do a linear mapping of the target areas
     * but the actual overall reprojection (can be) extremely non-linear. The
     * default value of MAX_SUBDIVISION was chosen based on mapping a 256x256
     * tile size. However this function is also called to remap canvas rendered
     * layers which can be much larger. This calculation increases the maxSubdivision
     * value by the right factor so that each 256x256 pixel area has
     * MAX_SUBDIVISION divisions.
     */
    const maxSubdivision =
      MAX_SUBDIVISION +
      (destinationResolution
        ? Math.max(
            0,
            Math.ceil(
              Math.log2(
                getArea(targetExtent) /
                  (destinationResolution * destinationResolution * 256 * 256),
              ),
            ),
          )
        : 0);

    this.addQuad_(
      destinationTopLeft,
      destinationTopRight,
      destinationBottomRight,
      destinationBottomLeft,
      sourceTopLeft,
      sourceTopRight,
      sourceBottomRight,
      sourceBottomLeft,
      maxSubdivision,
    );

    if (this.wrapsXInSource_) {
      let leftBound = Infinity;
      this.triangles_.forEach(function (triangle, i, arr) {
        leftBound = Math.min(
          leftBound,
          triangle.source[0][0],
          triangle.source[1][0],
          triangle.source[2][0],
        );
      });

      // Shift triangles to be as close to `leftBound` as possible
      // (if the distance is more than `worldWidth / 2` it can be closer.
      this.triangles_.forEach((triangle) => {
        if (
          Math.max(
            triangle.source[0][0],
            triangle.source[1][0],
            triangle.source[2][0],
          ) -
            leftBound >
          this.sourceWorldWidth_ / 2
        ) {
          const newTriangle = [
            [triangle.source[0][0], triangle.source[0][1]],
            [triangle.source[1][0], triangle.source[1][1]],
            [triangle.source[2][0], triangle.source[2][1]],
          ];
          if (newTriangle[0][0] - leftBound > this.sourceWorldWidth_ / 2) {
            newTriangle[0][0] -= this.sourceWorldWidth_;
          }
          if (newTriangle[1][0] - leftBound > this.sourceWorldWidth_ / 2) {
            newTriangle[1][0] -= this.sourceWorldWidth_;
          }
          if (newTriangle[2][0] - leftBound > this.sourceWorldWidth_ / 2) {
            newTriangle[2][0] -= this.sourceWorldWidth_;
          }

          // Rarely (if the extent contains both the dateline and prime meridian)
          // the shift can in turn break some triangles.
          // Detect this here and don't shift in such cases.
          const minX = Math.min(
            newTriangle[0][0],
            newTriangle[1][0],
            newTriangle[2][0],
          );
          const maxX = Math.max(
            newTriangle[0][0],
            newTriangle[1][0],
            newTriangle[2][0],
          );
          if (maxX - minX < this.sourceWorldWidth_ / 2) {
            triangle.source = newTriangle;
          }
        }
      });
    }

    transformInvCache = {};
  }

  /**
   * Adds triangle to the triangulation.
   * @param {import("../coordinate.js").Coordinate} a The target a coordinate.
   * @param {import("../coordinate.js").Coordinate} b The target b coordinate.
   * @param {import("../coordinate.js").Coordinate} c The target c coordinate.
   * @param {import("../coordinate.js").Coordinate} aSrc The source a coordinate.
   * @param {import("../coordinate.js").Coordinate} bSrc The source b coordinate.
   * @param {import("../coordinate.js").Coordinate} cSrc The source c coordinate.
   * @private
   */
  addTriangle_(a, b, c, aSrc, bSrc, cSrc) {
    this.triangles_.push({
      source: [aSrc, bSrc, cSrc],
      target: [a, b, c],
    });
  }

  /**
   * Adds quad (points in clock-wise order) to the triangulation
   * (and reprojects the vertices) if valid.
   * Performs quad subdivision if needed to increase precision.
   *
   * @param {import("../coordinate.js").Coordinate} a The target a coordinate.
   * @param {import("../coordinate.js").Coordinate} b The target b coordinate.
   * @param {import("../coordinate.js").Coordinate} c The target c coordinate.
   * @param {import("../coordinate.js").Coordinate} d The target d coordinate.
   * @param {import("../coordinate.js").Coordinate} aSrc The source a coordinate.
   * @param {import("../coordinate.js").Coordinate} bSrc The source b coordinate.
   * @param {import("../coordinate.js").Coordinate} cSrc The source c coordinate.
   * @param {import("../coordinate.js").Coordinate} dSrc The source d coordinate.
   * @param {number} maxSubdivision Maximal allowed subdivision of the quad.
   * @private
   */
  addQuad_(a, b, c, d, aSrc, bSrc, cSrc, dSrc, maxSubdivision) {
    const sourceQuadExtent = boundingExtent([aSrc, bSrc, cSrc, dSrc]);
    const sourceCoverageX = this.sourceWorldWidth_
      ? extent_getWidth(sourceQuadExtent) / this.sourceWorldWidth_
      : null;
    const sourceWorldWidth = /** @type {number} */ (this.sourceWorldWidth_);

    // when the quad is wrapped in the source projection
    // it covers most of the projection extent, but not fully
    const wrapsX =
      this.sourceProj_.canWrapX() &&
      sourceCoverageX > 0.5 &&
      sourceCoverageX < 1;

    let needsSubdivision = false;

    if (maxSubdivision > 0) {
      if (this.targetProj_.isGlobal() && this.targetWorldWidth_) {
        const targetQuadExtent = boundingExtent([a, b, c, d]);
        const targetCoverageX =
          extent_getWidth(targetQuadExtent) / this.targetWorldWidth_;
        needsSubdivision =
          targetCoverageX > MAX_TRIANGLE_WIDTH || needsSubdivision;
      }
      if (!wrapsX && this.sourceProj_.isGlobal() && sourceCoverageX) {
        needsSubdivision =
          sourceCoverageX > MAX_TRIANGLE_WIDTH || needsSubdivision;
      }
    }

    if (!needsSubdivision && this.maxSourceExtent_) {
      if (
        isFinite(sourceQuadExtent[0]) &&
        isFinite(sourceQuadExtent[1]) &&
        isFinite(sourceQuadExtent[2]) &&
        isFinite(sourceQuadExtent[3])
      ) {
        if (!intersects(sourceQuadExtent, this.maxSourceExtent_)) {
          // whole quad outside source projection extent -> ignore
          return;
        }
      }
    }

    let isNotFinite = 0;

    if (!needsSubdivision) {
      if (
        !isFinite(aSrc[0]) ||
        !isFinite(aSrc[1]) ||
        !isFinite(bSrc[0]) ||
        !isFinite(bSrc[1]) ||
        !isFinite(cSrc[0]) ||
        !isFinite(cSrc[1]) ||
        !isFinite(dSrc[0]) ||
        !isFinite(dSrc[1])
      ) {
        if (maxSubdivision > 0) {
          needsSubdivision = true;
        } else {
          // It might be the case that only 1 of the points is infinite. In this case
          // we can draw a single triangle with the other three points
          isNotFinite =
            (!isFinite(aSrc[0]) || !isFinite(aSrc[1]) ? 8 : 0) +
            (!isFinite(bSrc[0]) || !isFinite(bSrc[1]) ? 4 : 0) +
            (!isFinite(cSrc[0]) || !isFinite(cSrc[1]) ? 2 : 0) +
            (!isFinite(dSrc[0]) || !isFinite(dSrc[1]) ? 1 : 0);
          if (
            isNotFinite != 1 &&
            isNotFinite != 2 &&
            isNotFinite != 4 &&
            isNotFinite != 8
          ) {
            return;
          }
        }
      }
    }

    if (maxSubdivision > 0) {
      if (!needsSubdivision) {
        const center = [(a[0] + c[0]) / 2, (a[1] + c[1]) / 2];
        const centerSrc = this.transformInv_(center);

        let dx;
        if (wrapsX) {
          const centerSrcEstimX =
            (math_modulo(aSrc[0], sourceWorldWidth) +
              math_modulo(cSrc[0], sourceWorldWidth)) /
            2;
          dx = centerSrcEstimX - math_modulo(centerSrc[0], sourceWorldWidth);
        } else {
          dx = (aSrc[0] + cSrc[0]) / 2 - centerSrc[0];
        }
        const dy = (aSrc[1] + cSrc[1]) / 2 - centerSrc[1];
        const centerSrcErrorSquared = dx * dx + dy * dy;
        needsSubdivision = centerSrcErrorSquared > this.errorThresholdSquared_;
      }
      if (needsSubdivision) {
        if (Math.abs(a[0] - c[0]) <= Math.abs(a[1] - c[1])) {
          // split horizontally (top & bottom)
          const bc = [(b[0] + c[0]) / 2, (b[1] + c[1]) / 2];
          const bcSrc = this.transformInv_(bc);
          const da = [(d[0] + a[0]) / 2, (d[1] + a[1]) / 2];
          const daSrc = this.transformInv_(da);

          this.addQuad_(
            a,
            b,
            bc,
            da,
            aSrc,
            bSrc,
            bcSrc,
            daSrc,
            maxSubdivision - 1,
          );
          this.addQuad_(
            da,
            bc,
            c,
            d,
            daSrc,
            bcSrc,
            cSrc,
            dSrc,
            maxSubdivision - 1,
          );
        } else {
          // split vertically (left & right)
          const ab = [(a[0] + b[0]) / 2, (a[1] + b[1]) / 2];
          const abSrc = this.transformInv_(ab);
          const cd = [(c[0] + d[0]) / 2, (c[1] + d[1]) / 2];
          const cdSrc = this.transformInv_(cd);

          this.addQuad_(
            a,
            ab,
            cd,
            d,
            aSrc,
            abSrc,
            cdSrc,
            dSrc,
            maxSubdivision - 1,
          );
          this.addQuad_(
            ab,
            b,
            c,
            cd,
            abSrc,
            bSrc,
            cSrc,
            cdSrc,
            maxSubdivision - 1,
          );
        }
        return;
      }
    }

    if (wrapsX) {
      if (!this.canWrapXInSource_) {
        return;
      }
      this.wrapsXInSource_ = true;
    }

    // Exactly zero or one of *Src is not finite
    // The triangles must have the diagonal line as the first side
    // This is to allow easy code in reproj.s to make it straight for broken
    // browsers that can't handle diagonal clipping
    if ((isNotFinite & 0xb) == 0) {
      this.addTriangle_(a, c, d, aSrc, cSrc, dSrc);
    }
    if ((isNotFinite & 0xe) == 0) {
      this.addTriangle_(a, c, b, aSrc, cSrc, bSrc);
    }
    if (isNotFinite) {
      // Try the other two triangles
      if ((isNotFinite & 0xd) == 0) {
        this.addTriangle_(b, d, a, bSrc, dSrc, aSrc);
      }
      if ((isNotFinite & 0x7) == 0) {
        this.addTriangle_(b, d, c, bSrc, dSrc, cSrc);
      }
    }
  }

  /**
   * Calculates extent of the `source` coordinates from all the triangles.
   *
   * @return {import("../extent.js").Extent} Calculated extent.
   */
  calculateSourceExtent() {
    const extent = createEmpty();

    this.triangles_.forEach(function (triangle, i, arr) {
      const src = triangle.source;
      extendCoordinate(extent, src[0]);
      extendCoordinate(extent, src[1]);
      extendCoordinate(extent, src[2]);
    });

    return extent;
  }

  /**
   * @return {Array<Triangle>} Array of the calculated triangles.
   */
  getTriangles() {
    return this.triangles_;
  }
}

/* harmony default export */ const reproj_Triangulation = (Triangulation);

;// CONCATENATED MODULE: ./node_modules/ol/reproj/common.js
/**
 * @module ol/reproj/common
 */

/**
 * Default maximum allowed threshold  (in pixels) for reprojection
 * triangulation.
 * @type {number}
 */
const ERROR_THRESHOLD = 0.5;

;// CONCATENATED MODULE: ./node_modules/ol/reproj/Tile.js
/**
 * @module ol/reproj/Tile
 */












/**
 * @typedef {function(number, number, number, number) : (import("../ImageTile.js").default)} FunctionType
 */

/**
 * @typedef {Object} TileOffset
 * @property {import("../ImageTile.js").default} tile Tile.
 * @property {number} offset Offset.
 */

/**
 * @classdesc
 * Class encapsulating single reprojected tile.
 * See {@link module:ol/source/TileImage~TileImage}.
 *
 */
class ReprojTile extends ol_Tile {
  /**
   * @param {import("../proj/Projection.js").default} sourceProj Source projection.
   * @param {import("../tilegrid/TileGrid.js").default} sourceTileGrid Source tile grid.
   * @param {import("../proj/Projection.js").default} targetProj Target projection.
   * @param {import("../tilegrid/TileGrid.js").default} targetTileGrid Target tile grid.
   * @param {import("../tilecoord.js").TileCoord} tileCoord Coordinate of the tile.
   * @param {import("../tilecoord.js").TileCoord} wrappedTileCoord Coordinate of the tile wrapped in X.
   * @param {number} pixelRatio Pixel ratio.
   * @param {number} gutter Gutter of the source tiles.
   * @param {FunctionType} getTileFunction
   *     Function returning source tiles (z, x, y, pixelRatio).
   * @param {number} [errorThreshold] Acceptable reprojection error (in px).
   * @param {boolean} [renderEdges] Render reprojection edges.
   * @param {import("../Tile.js").Options} [options] Tile options.
   */
  constructor(
    sourceProj,
    sourceTileGrid,
    targetProj,
    targetTileGrid,
    tileCoord,
    wrappedTileCoord,
    pixelRatio,
    gutter,
    getTileFunction,
    errorThreshold,
    renderEdges,
    options,
  ) {
    super(tileCoord, TileState.IDLE, options);

    /**
     * @private
     * @type {boolean}
     */
    this.renderEdges_ = renderEdges !== undefined ? renderEdges : false;

    /**
     * @private
     * @type {number}
     */
    this.pixelRatio_ = pixelRatio;

    /**
     * @private
     * @type {number}
     */
    this.gutter_ = gutter;

    /**
     * @private
     * @type {HTMLCanvasElement}
     */
    this.canvas_ = null;

    /**
     * @private
     * @type {import("../tilegrid/TileGrid.js").default}
     */
    this.sourceTileGrid_ = sourceTileGrid;

    /**
     * @private
     * @type {import("../tilegrid/TileGrid.js").default}
     */
    this.targetTileGrid_ = targetTileGrid;

    /**
     * @private
     * @type {import("../tilecoord.js").TileCoord}
     */
    this.wrappedTileCoord_ = wrappedTileCoord ? wrappedTileCoord : tileCoord;

    /**
     * @private
     * @type {!Array<TileOffset>}
     */
    this.sourceTiles_ = [];

    /**
     * @private
     * @type {?Array<import("../events.js").EventsKey>}
     */
    this.sourcesListenerKeys_ = null;

    /**
     * @private
     * @type {number}
     */
    this.sourceZ_ = 0;

    /**
     * @private
     * @type {import("../extent.js").Extent}
     */
    this.clipExtent_ = sourceProj.canWrapX()
      ? sourceProj.getExtent()
      : undefined;

    const targetExtent = targetTileGrid.getTileCoordExtent(
      this.wrappedTileCoord_,
    );
    const maxTargetExtent = this.targetTileGrid_.getExtent();
    let maxSourceExtent = this.sourceTileGrid_.getExtent();

    const limitedTargetExtent = maxTargetExtent
      ? getIntersection(targetExtent, maxTargetExtent)
      : targetExtent;

    if (getArea(limitedTargetExtent) === 0) {
      // Tile is completely outside range -> EMPTY
      // TODO: is it actually correct that the source even creates the tile ?
      this.state = TileState.EMPTY;
      return;
    }

    const sourceProjExtent = sourceProj.getExtent();
    if (sourceProjExtent) {
      if (!maxSourceExtent) {
        maxSourceExtent = sourceProjExtent;
      } else {
        maxSourceExtent = getIntersection(maxSourceExtent, sourceProjExtent);
      }
    }

    const targetResolution = targetTileGrid.getResolution(
      this.wrappedTileCoord_[0],
    );

    const sourceResolution = calculateSourceExtentResolution(
      sourceProj,
      targetProj,
      limitedTargetExtent,
      targetResolution,
    );

    if (!isFinite(sourceResolution) || sourceResolution <= 0) {
      // invalid sourceResolution -> EMPTY
      // probably edges of the projections when no extent is defined
      this.state = TileState.EMPTY;
      return;
    }

    const errorThresholdInPixels =
      errorThreshold !== undefined ? errorThreshold : ERROR_THRESHOLD;

    /**
     * @private
     * @type {!import("./Triangulation.js").default}
     */
    this.triangulation_ = new reproj_Triangulation(
      sourceProj,
      targetProj,
      limitedTargetExtent,
      maxSourceExtent,
      sourceResolution * errorThresholdInPixels,
      targetResolution,
    );

    if (this.triangulation_.getTriangles().length === 0) {
      // no valid triangles -> EMPTY
      this.state = TileState.EMPTY;
      return;
    }

    this.sourceZ_ = sourceTileGrid.getZForResolution(sourceResolution);
    let sourceExtent = this.triangulation_.calculateSourceExtent();

    if (maxSourceExtent) {
      if (sourceProj.canWrapX()) {
        sourceExtent[1] = math_clamp(
          sourceExtent[1],
          maxSourceExtent[1],
          maxSourceExtent[3],
        );
        sourceExtent[3] = math_clamp(
          sourceExtent[3],
          maxSourceExtent[1],
          maxSourceExtent[3],
        );
      } else {
        sourceExtent = getIntersection(sourceExtent, maxSourceExtent);
      }
    }

    if (!getArea(sourceExtent)) {
      this.state = TileState.EMPTY;
    } else {
      let worldWidth = 0;
      let worldsAway = 0;
      if (sourceProj.canWrapX()) {
        worldWidth = extent_getWidth(sourceProjExtent);
        worldsAway = Math.floor(
          (sourceExtent[0] - sourceProjExtent[0]) / worldWidth,
        );
      }

      const sourceExtents = wrapAndSliceX(
        sourceExtent.slice(),
        sourceProj,
        true,
      );
      sourceExtents.forEach((extent) => {
        const sourceRange = sourceTileGrid.getTileRangeForExtentAndZ(
          extent,
          this.sourceZ_,
        );

        for (let srcX = sourceRange.minX; srcX <= sourceRange.maxX; srcX++) {
          for (let srcY = sourceRange.minY; srcY <= sourceRange.maxY; srcY++) {
            const tile = getTileFunction(this.sourceZ_, srcX, srcY, pixelRatio);
            if (tile) {
              const offset = worldsAway * worldWidth;
              this.sourceTiles_.push({tile, offset});
            }
          }
        }
        ++worldsAway;
      });

      if (this.sourceTiles_.length === 0) {
        this.state = TileState.EMPTY;
      }
    }
  }

  /**
   * Get the HTML Canvas element for this tile.
   * @return {HTMLCanvasElement} Canvas.
   */
  getImage() {
    return this.canvas_;
  }

  /**
   * @private
   */
  reproject_() {
    const sources = [];
    this.sourceTiles_.forEach((source) => {
      const tile = source.tile;
      if (tile && tile.getState() == TileState.LOADED) {
        const extent = this.sourceTileGrid_.getTileCoordExtent(tile.tileCoord);
        extent[0] += source.offset;
        extent[2] += source.offset;
        const clipExtent = this.clipExtent_?.slice();
        if (clipExtent) {
          clipExtent[0] += source.offset;
          clipExtent[2] += source.offset;
        }
        sources.push({
          extent: extent,
          clipExtent: clipExtent,
          image: tile.getImage(),
        });
      }
    });
    this.sourceTiles_.length = 0;

    if (sources.length === 0) {
      this.state = TileState.ERROR;
    } else {
      const z = this.wrappedTileCoord_[0];
      const size = this.targetTileGrid_.getTileSize(z);
      const width = typeof size === 'number' ? size : size[0];
      const height = typeof size === 'number' ? size : size[1];
      const targetResolution = this.targetTileGrid_.getResolution(z);
      const sourceResolution = this.sourceTileGrid_.getResolution(
        this.sourceZ_,
      );

      const targetExtent = this.targetTileGrid_.getTileCoordExtent(
        this.wrappedTileCoord_,
      );

      this.canvas_ = render(
        width,
        height,
        this.pixelRatio_,
        sourceResolution,
        this.sourceTileGrid_.getExtent(),
        targetResolution,
        targetExtent,
        this.triangulation_,
        sources,
        this.gutter_,
        this.renderEdges_,
        this.interpolate,
      );

      this.state = TileState.LOADED;
    }
    this.changed();
  }

  /**
   * Load not yet loaded URI.
   * @override
   */
  load() {
    if (this.state == TileState.IDLE) {
      this.state = TileState.LOADING;
      this.changed();

      let leftToLoad = 0;

      this.sourcesListenerKeys_ = [];
      this.sourceTiles_.forEach(({tile}) => {
        const state = tile.getState();
        if (state == TileState.IDLE || state == TileState.LOADING) {
          leftToLoad++;

          const sourceListenKey = events_listen(tile, events_EventType.CHANGE, (e) => {
            const state = tile.getState();
            if (
              state == TileState.LOADED ||
              state == TileState.ERROR ||
              state == TileState.EMPTY
            ) {
              unlistenByKey(sourceListenKey);
              leftToLoad--;
              if (leftToLoad === 0) {
                this.unlistenSources_();
                this.reproject_();
              }
            }
          });
          this.sourcesListenerKeys_.push(sourceListenKey);
        }
      });

      if (leftToLoad === 0) {
        setTimeout(this.reproject_.bind(this), 0);
      } else {
        this.sourceTiles_.forEach(function ({tile}, i, arr) {
          const state = tile.getState();
          if (state == TileState.IDLE) {
            tile.load();
          }
        });
      }
    }
  }

  /**
   * @private
   */
  unlistenSources_() {
    this.sourcesListenerKeys_.forEach(unlistenByKey);
    this.sourcesListenerKeys_ = null;
  }

  /**
   * Remove from the cache due to expiry
   * @override
   */
  release() {
    if (this.canvas_) {
      releaseCanvas(this.canvas_.getContext('2d'));
      canvasPool.push(this.canvas_);
      this.canvas_ = null;
    }
    super.release();
  }
}

/* harmony default export */ const reproj_Tile = (ReprojTile);

;// CONCATENATED MODULE: ./node_modules/ol/uri.js
/**
 * @module ol/uri
 */




/**
 * Appends query parameters to a URI.
 *
 * @param {string} uri The original URI, which may already have query data.
 * @param {!Object} params An object where keys are URI-encoded parameter keys,
 *     and the values are arbitrary types or arrays.
 * @return {string} The new URI.
 */
function appendParams(uri, params) {
  /** @type {Array<string>} */
  const keyParams = [];
  // Skip any null or undefined parameter values
  Object.keys(params).forEach(function (k) {
    if (params[k] !== null && params[k] !== undefined) {
      keyParams.push(k + '=' + encodeURIComponent(params[k]));
    }
  });
  const qs = keyParams.join('&');
  // remove any trailing ? or &
  uri = uri.replace(/[?&]$/, '');
  // append ? or & depending on whether uri has existing parameters
  uri += uri.includes('?') ? '&' : '?';
  return uri + qs;
}

const zRegEx = /\{z\}/g;
const xRegEx = /\{x\}/g;
const yRegEx = /\{y\}/g;
const dashYRegEx = /\{-y\}/g;

/**
 * @param {string} template The URL template.  Should have `{x}`, `{y}`, and `{z}` placeholders.  If
 * the template has a `{-y}` placeholder, the `maxY` parameter must be supplied.
 * @param {number} z The tile z coordinate.
 * @param {number} x The tile x coordinate.
 * @param {number} y The tile y coordinate.
 * @param {number} [maxY] The maximum y coordinate at the given z level.
 * @return {string} The URL.
 */
function renderXYZTemplate(template, z, x, y, maxY) {
  return template
    .replace(zRegEx, z.toString())
    .replace(xRegEx, x.toString())
    .replace(yRegEx, y.toString())
    .replace(dashYRegEx, function () {
      if (maxY === undefined) {
        throw new Error(
          'If the URL template has a {-y} placeholder, the grid extent must be known',
        );
      }
      return (maxY - y).toString();
    });
}

/**
 * @param {Array<string>} urls List of URLs.
 * @param {number} z The tile z coordinate.
 * @param {number} x The tile x coordinate.
 * @param {number} y The tile y coordinate.
 * @return {string} The chosen URL.
 */
function pickUrl(urls, z, x, y) {
  const hash = hashZXY(z, x, y);
  const index = modulo(hash, urls.length);
  return urls[index];
}

/**
 * @param {string} url URL.
 * @return {Array<string>} Array of urls.
 */
function expandUrl(url) {
  const urls = [];
  let match = /\{([a-z])-([a-z])\}/.exec(url);
  if (match) {
    // char range
    const startCharCode = match[1].charCodeAt(0);
    const stopCharCode = match[2].charCodeAt(0);
    let charCode;
    for (charCode = startCharCode; charCode <= stopCharCode; ++charCode) {
      urls.push(url.replace(match[0], String.fromCharCode(charCode)));
    }
    return urls;
  }
  match = /\{(\d+)-(\d+)\}/.exec(url);
  if (match) {
    // number range
    const stop = parseInt(match[2], 10);
    for (let i = parseInt(match[1], 10); i <= stop; i++) {
      urls.push(url.replace(match[0], i.toString()));
    }
    return urls;
  }
  urls.push(url);
  return urls;
}

;// CONCATENATED MODULE: ./node_modules/ol/tileurlfunction.js
/**
 * @module ol/tileurlfunction
 */




/**
 * @param {string} template Template.
 * @param {import("./tilegrid/TileGrid.js").default|null} tileGrid Tile grid.
 * @return {import("./Tile.js").UrlFunction} Tile URL function.
 */
function createFromTemplate(template, tileGrid) {
  return (
    /**
     * @param {import("./tilecoord.js").TileCoord} tileCoord Tile Coordinate.
     * @param {number} pixelRatio Pixel ratio.
     * @param {import("./proj/Projection.js").default} projection Projection.
     * @return {string|undefined} Tile URL.
     */
    function (tileCoord, pixelRatio, projection) {
      if (!tileCoord) {
        return undefined;
      }
      let maxY;
      const z = tileCoord[0];
      if (tileGrid) {
        // The `{-y}` placeholder only works for sources that have a tile grid at construction
        const range = tileGrid.getFullTileRange(z);
        if (range) {
          maxY = range.getHeight() - 1;
        }
      }
      return renderXYZTemplate(template, z, tileCoord[1], tileCoord[2], maxY);
    }
  );
}

/**
 * @param {Array<string>} templates Templates.
 * @param {import("./tilegrid/TileGrid.js").default} tileGrid Tile grid.
 * @return {import("./Tile.js").UrlFunction} Tile URL function.
 */
function createFromTemplates(templates, tileGrid) {
  const len = templates.length;
  const tileUrlFunctions = new Array(len);
  for (let i = 0; i < len; ++i) {
    tileUrlFunctions[i] = createFromTemplate(templates[i], tileGrid);
  }
  return createFromTileUrlFunctions(tileUrlFunctions);
}

/**
 * @param {Array<import("./Tile.js").UrlFunction>} tileUrlFunctions Tile URL Functions.
 * @return {import("./Tile.js").UrlFunction} Tile URL function.
 */
function createFromTileUrlFunctions(tileUrlFunctions) {
  if (tileUrlFunctions.length === 1) {
    return tileUrlFunctions[0];
  }
  return (
    /**
     * @param {import("./tilecoord.js").TileCoord} tileCoord Tile Coordinate.
     * @param {number} pixelRatio Pixel ratio.
     * @param {import("./proj/Projection.js").default} projection Projection.
     * @return {string|undefined} Tile URL.
     */
    function (tileCoord, pixelRatio, projection) {
      if (!tileCoord) {
        return undefined;
      }
      const h = tilecoord_hash(tileCoord);
      const index = math_modulo(h, tileUrlFunctions.length);
      return tileUrlFunctions[index](tileCoord, pixelRatio, projection);
    }
  );
}

/**
 * @param {import("./tilecoord.js").TileCoord} tileCoord Tile coordinate.
 * @param {number} pixelRatio Pixel ratio.
 * @param {import("./proj/Projection.js").default} projection Projection.
 * @return {string|undefined} Tile URL.
 */
function nullTileUrlFunction(tileCoord, pixelRatio, projection) {
  return undefined;
}

;// CONCATENATED MODULE: ./node_modules/ol/source/Source.js
/**
 * @module ol/source/Source
 */



/**
 * @typedef {'undefined' | 'loading' | 'ready' | 'error'} State
 * State of the source, one of 'undefined', 'loading', 'ready' or 'error'.
 */

/**
 * A function that takes a {@link import("../View.js").ViewStateLayerStateExtent} and returns a string or
 * an array of strings representing source attributions.
 *
 * @typedef {function(import("../View.js").ViewStateLayerStateExtent): (string|Array<string>)} Attribution
 */

/**
 * A type that can be used to provide attribution information for data sources.
 *
 * It represents either
 * a simple string (e.g. `'© Acme Inc.'`)
 * an array of simple strings (e.g. `['© Acme Inc.', '© Bacme Inc.']`)
 * a function that returns a string or array of strings ({@link module:ol/source/Source~Attribution})
 *
 * @typedef {string|Array<string>|Attribution} AttributionLike
 */

/**
 * @typedef {Object} Options
 * @property {AttributionLike} [attributions] Attributions.
 * @property {boolean} [attributionsCollapsible=true] Attributions are collapsible.
 * @property {import("../proj.js").ProjectionLike} [projection] Projection. Default is the view projection.
 * @property {import("./Source.js").State} [state='ready'] State.
 * @property {boolean} [wrapX=false] WrapX.
 * @property {boolean} [interpolate=false] Use interpolated values when resampling.  By default,
 * the nearest neighbor is used when resampling.
 */

/**
 * @classdesc
 * Abstract base class; normally only used for creating subclasses and not
 * instantiated in apps.
 * Base class for {@link module:ol/layer/Layer~Layer} sources.
 *
 * A generic `change` event is triggered when the state of the source changes.
 * @abstract
 * @api
 */
class Source extends ol_Object {
  /**
   * @param {Options} options Source options.
   */
  constructor(options) {
    super();

    /**
     * @protected
     * @type {import("../proj/Projection.js").default|null}
     */
    this.projection = proj_get(options.projection);

    /**
     * @private
     * @type {?Attribution}
     */
    this.attributions_ = adaptAttributions(options.attributions);

    /**
     * @private
     * @type {boolean}
     */
    this.attributionsCollapsible_ = options.attributionsCollapsible ?? true;

    /**
     * This source is currently loading data. Sources that defer loading to the
     * map's tile queue never set this to `true`.
     * @type {boolean}
     */
    this.loading = false;

    /**
     * @private
     * @type {import("./Source.js").State}
     */
    this.state_ = options.state !== undefined ? options.state : 'ready';

    /**
     * @private
     * @type {boolean}
     */
    this.wrapX_ = options.wrapX !== undefined ? options.wrapX : false;

    /**
     * @private
     * @type {boolean}
     */
    this.interpolate_ = !!options.interpolate;

    /**
     * @protected
     * @type {function(import("../View.js").ViewOptions):void}
     */
    this.viewResolver = null;

    /**
     * @protected
     * @type {function(Error):void}
     */
    this.viewRejector = null;

    const self = this;
    /**
     * @private
     * @type {Promise<import("../View.js").ViewOptions>}
     */
    this.viewPromise_ = new Promise(function (resolve, reject) {
      self.viewResolver = resolve;
      self.viewRejector = reject;
    });
  }

  /**
   * Get the attribution function for the source.
   * @return {?Attribution} Attribution function.
   * @api
   */
  getAttributions() {
    return this.attributions_;
  }

  /**
   * @return {boolean} Attributions are collapsible.
   * @api
   */
  getAttributionsCollapsible() {
    return this.attributionsCollapsible_;
  }

  /**
   * Get the projection of the source.
   * @return {import("../proj/Projection.js").default|null} Projection.
   * @api
   */
  getProjection() {
    return this.projection;
  }

  /**
   * @param {import("../proj/Projection").default} [projection] Projection.
   * @return {Array<number>|null} Resolutions.
   */
  getResolutions(projection) {
    return null;
  }

  /**
   * @return {Promise<import("../View.js").ViewOptions>} A promise for view-related properties.
   */
  getView() {
    return this.viewPromise_;
  }

  /**
   * Get the state of the source, see {@link import("./Source.js").State} for possible states.
   * @return {import("./Source.js").State} State.
   * @api
   */
  getState() {
    return this.state_;
  }

  /**
   * @return {boolean|undefined} Wrap X.
   */
  getWrapX() {
    return this.wrapX_;
  }

  /**
   * @return {boolean} Use linear interpolation when resampling.
   */
  getInterpolate() {
    return this.interpolate_;
  }

  /**
   * Refreshes the source. The source will be cleared, and data from the server will be reloaded.
   * @api
   */
  refresh() {
    this.changed();
  }

  /**
   * Set the attributions of the source.
   * @param {AttributionLike|undefined} attributions Attributions.
   *     Can be passed as `string`, `Array<string>`, {@link module:ol/source/Source~Attribution},
   *     or `undefined`.
   * @api
   */
  setAttributions(attributions) {
    this.attributions_ = adaptAttributions(attributions);
    this.changed();
  }

  /**
   * Set the state of the source.
   * @param {import("./Source.js").State} state State.
   */
  setState(state) {
    this.state_ = state;
    this.changed();
  }
}

/**
 * Turns the attributions option into an attributions function.
 * @param {AttributionLike|undefined} attributionLike The attribution option.
 * @return {Attribution|null} An attribution function (or null).
 */
function adaptAttributions(attributionLike) {
  if (!attributionLike) {
    return null;
  }
  if (typeof attributionLike === 'function') {
    return attributionLike;
  }
  if (!Array.isArray(attributionLike)) {
    attributionLike = [attributionLike];
  }
  return (frameState) => attributionLike;
}

/* harmony default export */ const source_Source = (Source);

;// CONCATENATED MODULE: ./node_modules/ol/source/Tile.js
/**
 * @module ol/source/Tile
 */







/***
 * @template Return
 * @typedef {import("../Observable").OnSignature<import("../Observable").EventTypes, import("../events/Event.js").default, Return> &
 *   import("../Observable").OnSignature<import("../ObjectEventType").Types, import("../Object").ObjectEvent, Return> &
 *   import("../Observable").OnSignature<import("./TileEventType").TileSourceEventTypes, TileSourceEvent, Return> &
 *   import("../Observable").CombinedOnSignature<import("../Observable").EventTypes|import("../ObjectEventType").Types|
 *     import("./TileEventType").TileSourceEventTypes, Return>} TileSourceOnSignature
 */

/**
 * @typedef {Object} Options
 * @property {import("./Source.js").AttributionLike} [attributions] Attributions.
 * @property {boolean} [attributionsCollapsible=true] Attributions are collapsible.
 * @property {number} [cacheSize] Deprecated.  Use the cacheSize option on the layer instead.
 * @property {number} [tilePixelRatio] TilePixelRatio.
 * @property {import("../proj.js").ProjectionLike} [projection] Projection.
 * @property {import("./Source.js").State} [state] State.
 * @property {import("../tilegrid/TileGrid.js").default} [tileGrid] TileGrid.
 * @property {boolean} [wrapX=false] WrapX.
 * @property {number} [transition] Transition.
 * @property {string} [key] Key.
 * @property {number|import("../array.js").NearestDirectionFunction} [zDirection=0] ZDirection.
 * @property {boolean} [interpolate=false] Use interpolated values when resampling.  By default,
 * the nearest neighbor is used when resampling.
 */

/**
 * @classdesc
 * Abstract base class; normally only used for creating subclasses and not
 * instantiated in apps.
 * Base class for sources providing images divided into a tile grid.
 *
 * @template {import("../Tile.js").default} [TileType=import("../Tile.js").default]
 * @abstract
 * @api
 */
class TileSource extends source_Source {
  /**
   * @param {Options} options SourceTile source options.
   */
  constructor(options) {
    super({
      attributions: options.attributions,
      attributionsCollapsible: options.attributionsCollapsible,
      projection: options.projection,
      state: options.state,
      wrapX: options.wrapX,
      interpolate: options.interpolate,
    });

    /***
     * @type {TileSourceOnSignature<import("../events").EventsKey>}
     */
    this.on;

    /***
     * @type {TileSourceOnSignature<import("../events").EventsKey>}
     */
    this.once;

    /***
     * @type {TileSourceOnSignature<void>}
     */
    this.un;

    /**
     * @private
     * @type {number}
     */
    this.tilePixelRatio_ =
      options.tilePixelRatio !== undefined ? options.tilePixelRatio : 1;

    /**
     * @type {import("../tilegrid/TileGrid.js").default|null}
     * @protected
     */
    this.tileGrid = options.tileGrid !== undefined ? options.tileGrid : null;

    const tileSize = [256, 256];
    if (this.tileGrid) {
      toSize(this.tileGrid.getTileSize(this.tileGrid.getMinZoom()), tileSize);
    }

    /**
     * @protected
     * @type {import("../size.js").Size}
     */
    this.tmpSize = [0, 0];

    /**
     * @private
     * @type {string}
     */
    this.key_ = options.key || getUid(this);

    /**
     * @protected
     * @type {import("../Tile.js").Options}
     */
    this.tileOptions = {
      transition: options.transition,
      interpolate: options.interpolate,
    };

    /**
     * zDirection hint, read by the renderer. Indicates which resolution should be used
     * by a renderer if the views resolution does not match any resolution of the tile source.
     * If 0, the nearest resolution will be used. If 1, the nearest lower resolution
     * will be used. If -1, the nearest higher resolution will be used.
     * @type {number|import("../array.js").NearestDirectionFunction}
     */
    this.zDirection = options.zDirection ? options.zDirection : 0;
  }

  /**
   * @param {import("../proj/Projection.js").default} projection Projection.
   * @return {number} Gutter.
   */
  getGutterForProjection(projection) {
    return 0;
  }

  /**
   * Return the key to be used for all tiles in the source.
   * @return {string} The key for all tiles.
   */
  getKey() {
    return this.key_;
  }

  /**
   * Set the value to be used as the key for all tiles in the source.
   * @param {string} key The key for tiles.
   * @protected
   */
  setKey(key) {
    if (this.key_ !== key) {
      this.key_ = key;
      this.changed();
    }
  }

  /**
   * @param {import("../proj/Projection").default} [projection] Projection.
   * @return {Array<number>|null} Resolutions.
   * @override
   */
  getResolutions(projection) {
    const tileGrid = projection
      ? this.getTileGridForProjection(projection)
      : this.tileGrid;
    if (!tileGrid) {
      return null;
    }
    return tileGrid.getResolutions();
  }

  /**
   * @abstract
   * @param {number} z Tile coordinate z.
   * @param {number} x Tile coordinate x.
   * @param {number} y Tile coordinate y.
   * @param {number} pixelRatio Pixel ratio.
   * @param {import("../proj/Projection.js").default} projection Projection.
   * @return {TileType|null} Tile.
   */
  getTile(z, x, y, pixelRatio, projection) {
    return util_abstract();
  }

  /**
   * Return the tile grid of the tile source.
   * @return {import("../tilegrid/TileGrid.js").default|null} Tile grid.
   * @api
   */
  getTileGrid() {
    return this.tileGrid;
  }

  /**
   * @param {import("../proj/Projection.js").default} projection Projection.
   * @return {!import("../tilegrid/TileGrid.js").default} Tile grid.
   */
  getTileGridForProjection(projection) {
    if (!this.tileGrid) {
      return getForProjection(projection);
    }
    return this.tileGrid;
  }

  /**
   * Get the tile pixel ratio for this source. Subclasses may override this
   * method, which is meant to return a supported pixel ratio that matches the
   * provided `pixelRatio` as close as possible.
   * @param {number} pixelRatio Pixel ratio.
   * @return {number} Tile pixel ratio.
   */
  getTilePixelRatio(pixelRatio) {
    return this.tilePixelRatio_;
  }

  /**
   * @param {number} z Z.
   * @param {number} pixelRatio Pixel ratio.
   * @param {import("../proj/Projection.js").default} projection Projection.
   * @return {import("../size.js").Size} Tile size.
   */
  getTilePixelSize(z, pixelRatio, projection) {
    const tileGrid = this.getTileGridForProjection(projection);
    const tilePixelRatio = this.getTilePixelRatio(pixelRatio);
    const tileSize = toSize(tileGrid.getTileSize(z), this.tmpSize);
    if (tilePixelRatio == 1) {
      return tileSize;
    }
    return size_scale(tileSize, tilePixelRatio, this.tmpSize);
  }

  /**
   * Returns a tile coordinate wrapped around the x-axis. When the tile coordinate
   * is outside the resolution and extent range of the tile grid, `null` will be
   * returned.
   * @param {import("../tilecoord.js").TileCoord} tileCoord Tile coordinate.
   * @param {import("../proj/Projection.js").default} [projection] Projection.
   * @return {import("../tilecoord.js").TileCoord} Tile coordinate to be passed to the tileUrlFunction or
   *     null if no tile URL should be created for the passed `tileCoord`.
   */
  getTileCoordForTileUrlFunction(tileCoord, projection) {
    const gridProjection =
      projection !== undefined ? projection : this.getProjection();
    const tileGrid =
      projection !== undefined
        ? this.getTileGridForProjection(gridProjection)
        : this.tileGrid || this.getTileGridForProjection(gridProjection);
    if (this.getWrapX() && gridProjection.isGlobal()) {
      tileCoord = tilegrid_wrapX(tileGrid, tileCoord, gridProjection);
    }
    return withinExtentAndZ(tileCoord, tileGrid) ? tileCoord : null;
  }

  /**
   * Remove all cached reprojected tiles from the source. The next render cycle will create new tiles.
   * @api
   */
  clear() {}

  /**
   * @override
   */
  refresh() {
    this.clear();
    super.refresh();
  }
}

/**
 * @classdesc
 * Events emitted by {@link module:ol/source/Tile~TileSource} instances are instances of this
 * type.
 */
class TileSourceEvent extends Event {
  /**
   * @param {string} type Type.
   * @param {import("../Tile.js").default} tile The tile.
   */
  constructor(type, tile) {
    super(type);

    /**
     * The tile related to the event.
     * @type {import("../Tile.js").default}
     * @api
     */
    this.tile = tile;
  }
}

/* harmony default export */ const source_Tile = (TileSource);

;// CONCATENATED MODULE: ./node_modules/ol/source/TileEventType.js
/**
 * @module ol/source/TileEventType
 */

/**
 * @enum {string}
 */
/* harmony default export */ const TileEventType = ({
  /**
   * Triggered when a tile starts loading.
   * @event module:ol/source/Tile.TileSourceEvent#tileloadstart
   * @api
   */
  TILELOADSTART: 'tileloadstart',

  /**
   * Triggered when a tile finishes loading, either when its data is loaded,
   * or when loading was aborted because the tile is no longer needed.
   * @event module:ol/source/Tile.TileSourceEvent#tileloadend
   * @api
   */
  TILELOADEND: 'tileloadend',

  /**
   * Triggered if tile loading results in an error. Note that this is not the
   * right place to re-fetch tiles. See {@link module:ol/ImageTile~ImageTile#load}
   * for details.
   * @event module:ol/source/Tile.TileSourceEvent#tileloaderror
   * @api
   */
  TILELOADERROR: 'tileloaderror',
});

/**
 * @typedef {'tileloadstart'|'tileloadend'|'tileloaderror'} TileSourceEventTypes
 */

;// CONCATENATED MODULE: ./node_modules/ol/source/UrlTile.js
/**
 * @module ol/source/UrlTile
 */







/**
 * @typedef {Object} Options
 * @property {import("./Source.js").AttributionLike} [attributions] Attributions.
 * @property {boolean} [attributionsCollapsible=true] Attributions are collapsible.
 * @property {number} [cacheSize] Deprecated.  Use the cacheSize option on the layer instead.
 * @property {import("../proj.js").ProjectionLike} [projection] Projection.
 * @property {import("./Source.js").State} [state] State.
 * @property {import("../tilegrid/TileGrid.js").default} [tileGrid] TileGrid.
 * @property {import("../Tile.js").LoadFunction} tileLoadFunction TileLoadFunction.
 * @property {number} [tilePixelRatio] TilePixelRatio.
 * @property {import("../Tile.js").UrlFunction} [tileUrlFunction] Deprecated.  Use an ImageTile source and provide a function
 * for the url option instead.
 * @property {string} [url] Url.
 * @property {Array<string>} [urls] Urls.
 * @property {boolean} [wrapX=true] WrapX.
 * @property {number} [transition] Transition.
 * @property {string} [key] Key.
 * @property {number|import("../array.js").NearestDirectionFunction} [zDirection=0] ZDirection.
 * @property {boolean} [interpolate=false] Use interpolated values when resampling.  By default,
 * the nearest neighbor is used when resampling.
 */

/**
 * @deprecated Use the ol/source/ImageTile.js instead.
 *
 * @fires import("./Tile.js").TileSourceEvent
 */
class UrlTile extends source_Tile {
  /**
   * @param {Options} options Image tile options.
   */
  constructor(options) {
    super({
      attributions: options.attributions,
      cacheSize: options.cacheSize,
      projection: options.projection,
      state: options.state,
      tileGrid: options.tileGrid,
      tilePixelRatio: options.tilePixelRatio,
      wrapX: options.wrapX,
      transition: options.transition,
      interpolate: options.interpolate,
      key: options.key,
      attributionsCollapsible: options.attributionsCollapsible,
      zDirection: options.zDirection,
    });

    /**
     * @private
     * @type {boolean}
     */
    this.generateTileUrlFunction_ =
      this.tileUrlFunction === UrlTile.prototype.tileUrlFunction;

    /**
     * @protected
     * @type {import("../Tile.js").LoadFunction}
     */
    this.tileLoadFunction = options.tileLoadFunction;

    if (options.tileUrlFunction) {
      this.tileUrlFunction = options.tileUrlFunction;
    }

    /**
     * @protected
     * @type {!Array<string>|null}
     */
    this.urls = null;

    if (options.urls) {
      this.setUrls(options.urls);
    } else if (options.url) {
      this.setUrl(options.url);
    }

    /**
     * @private
     * @type {!Object<string, boolean>}
     */
    this.tileLoadingKeys_ = {};
  }

  /**
   * Deprecated.  Use an ImageTile source instead.
   * Return the tile load function of the source.
   * @return {import("../Tile.js").LoadFunction} TileLoadFunction
   * @api
   */
  getTileLoadFunction() {
    return this.tileLoadFunction;
  }

  /**
   * Deprecated.  Use an ImageTile source instead.
   * Return the tile URL function of the source.
   * @return {import("../Tile.js").UrlFunction} TileUrlFunction
   * @api
   */
  getTileUrlFunction() {
    return Object.getPrototypeOf(this).tileUrlFunction === this.tileUrlFunction
      ? this.tileUrlFunction.bind(this)
      : this.tileUrlFunction;
  }

  /**
   * Deprecated.  Use an ImageTile source instead.
   * Return the URLs used for this source.
   * When a tileUrlFunction is used instead of url or urls,
   * null will be returned.
   * @return {!Array<string>|null} URLs.
   * @api
   */
  getUrls() {
    return this.urls;
  }

  /**
   * Handle tile change events.
   * @param {import("../events/Event.js").default} event Event.
   * @protected
   */
  handleTileChange(event) {
    const tile = /** @type {import("../Tile.js").default} */ (event.target);
    const uid = getUid(tile);
    const tileState = tile.getState();
    let type;
    if (tileState == TileState.LOADING) {
      this.tileLoadingKeys_[uid] = true;
      type = TileEventType.TILELOADSTART;
    } else if (uid in this.tileLoadingKeys_) {
      delete this.tileLoadingKeys_[uid];
      type =
        tileState == TileState.ERROR
          ? TileEventType.TILELOADERROR
          : tileState == TileState.LOADED
            ? TileEventType.TILELOADEND
            : undefined;
    }
    if (type != undefined) {
      this.dispatchEvent(new TileSourceEvent(type, tile));
    }
  }

  /**
   * Deprecated.  Use an ImageTile source instead.
   * Set the tile load function of the source.
   * @param {import("../Tile.js").LoadFunction} tileLoadFunction Tile load function.
   * @api
   */
  setTileLoadFunction(tileLoadFunction) {
    this.tileLoadFunction = tileLoadFunction;
    this.changed();
  }

  /**
   * Deprecated.  Use an ImageTile source instead.
   * Set the tile URL function of the source.
   * @param {import("../Tile.js").UrlFunction} tileUrlFunction Tile URL function.
   * @param {string} [key] Optional new tile key for the source.
   * @api
   */
  setTileUrlFunction(tileUrlFunction, key) {
    this.tileUrlFunction = tileUrlFunction;
    if (typeof key !== 'undefined') {
      this.setKey(key);
    } else {
      this.changed();
    }
  }

  /**
   * Set the URL to use for requests.
   * @param {string} url URL.
   * @api
   */
  setUrl(url) {
    const urls = expandUrl(url);
    this.urls = urls;
    this.setUrls(urls);
  }

  /**
   * Deprecated.  Use an ImageTile source instead.
   * Set the URLs to use for requests.
   * @param {Array<string>} urls URLs.
   * @api
   */
  setUrls(urls) {
    this.urls = urls;
    const key = urls.join('\n');
    if (this.generateTileUrlFunction_) {
      this.setTileUrlFunction(createFromTemplates(urls, this.tileGrid), key);
    } else {
      this.setKey(key);
    }
  }

  /**
   * @param {import("../tilecoord.js").TileCoord} tileCoord Tile coordinate.
   * @param {number} pixelRatio Pixel ratio.
   * @param {import("../proj/Projection.js").default} projection Projection.
   * @return {string|undefined} Tile URL.
   */
  tileUrlFunction(tileCoord, pixelRatio, projection) {
    return undefined;
  }
}

/* harmony default export */ const source_UrlTile = (UrlTile);

;// CONCATENATED MODULE: ./node_modules/ol/source/TileImage.js
/**
 * @module ol/source/TileImage
 */









/**
 * @typedef {Object} Options
 * @property {import("./Source.js").AttributionLike} [attributions] Attributions.
 * @property {boolean} [attributionsCollapsible=true] Attributions are collapsible.
 * @property {number} [cacheSize] Deprecated.  Use the cacheSize option on the layer instead.
 * @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images.  Note that
 * you must provide a `crossOrigin` value if you want to access pixel data with the Canvas renderer.
 * See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
 * @property {boolean} [interpolate=true] Use interpolated values when resampling.  By default,
 * linear interpolation is used when resampling.  Set to false to use the nearest neighbor instead.
 * @property {import("../proj.js").ProjectionLike} [projection] Projection. Default is the view projection.
 * @property {number} [reprojectionErrorThreshold=0.5] Maximum allowed reprojection error (in pixels).
 * Higher values can increase reprojection performance, but decrease precision.
 * @property {import("./Source.js").State} [state] Source state.
 * @property {typeof import("../ImageTile.js").default} [tileClass] Class used to instantiate image tiles.
 * Default is {@link module:ol/ImageTile~ImageTile}.
 * @property {import("../tilegrid/TileGrid.js").default} [tileGrid] Tile grid.
 * @property {import("../Tile.js").LoadFunction} [tileLoadFunction] Optional function to load a tile given a URL. The default is
 * ```js
 * function(imageTile, src) {
 *   imageTile.getImage().src = src;
 * };
 * ```
 * @property {number} [tilePixelRatio=1] The pixel ratio used by the tile service. For example, if the tile
 * service advertizes 256px by 256px tiles but actually sends 512px
 * by 512px images (for retina/hidpi devices) then `tilePixelRatio`
 * should be set to `2`.
 * @property {import("../Tile.js").UrlFunction} [tileUrlFunction] Deprecated.  Use an ImageTile source and provide a function
 * for the url option instead.
 * @property {string} [url] URL template. Must include `{x}`, `{y}` or `{-y}`, and `{z}` placeholders.
 * A `{?-?}` template pattern, for example `subdomain{a-f}.domain.com`, may be
 * used instead of defining each one separately in the `urls` option.
 * @property {Array<string>} [urls] An array of URL templates.
 * @property {boolean} [wrapX] Whether to wrap the world horizontally. The default, is to
 * request out-of-bounds tiles from the server. When set to `false`, only one
 * world will be rendered. When set to `true`, tiles will be requested for one
 * world only, but they will be wrapped horizontally to render multiple worlds.
 * @property {number} [transition] Duration of the opacity transition for rendering.
 * To disable the opacity transition, pass `transition: 0`.
 * @property {string} [key] Optional tile key for proper cache fetching
 * @property {number|import("../array.js").NearestDirectionFunction} [zDirection=0]
 * Choose whether to use tiles with a higher or lower zoom level when between integer
 * zoom levels. See {@link module:ol/tilegrid/TileGrid~TileGrid#getZForResolution}.
 */

/**
 * @deprecated Use the ol/source/ImageTile.js instead.
 *
 * @fires import("./Tile.js").TileSourceEvent
 * @api
 */
class TileImage extends source_UrlTile {
  /**
   * @param {!Options} options Image tile options.
   */
  constructor(options) {
    super({
      attributions: options.attributions,
      cacheSize: options.cacheSize,
      projection: options.projection,
      state: options.state,
      tileGrid: options.tileGrid,
      tileLoadFunction: options.tileLoadFunction
        ? options.tileLoadFunction
        : defaultTileLoadFunction,
      tilePixelRatio: options.tilePixelRatio,
      tileUrlFunction: options.tileUrlFunction,
      url: options.url,
      urls: options.urls,
      wrapX: options.wrapX,
      transition: options.transition,
      interpolate:
        options.interpolate !== undefined ? options.interpolate : true,
      key: options.key,
      attributionsCollapsible: options.attributionsCollapsible,
      zDirection: options.zDirection,
    });

    /**
     * @protected
     * @type {?string}
     */
    this.crossOrigin =
      options.crossOrigin !== undefined ? options.crossOrigin : null;

    /**
     * @protected
     * @type {typeof ImageTile}
     */
    this.tileClass =
      options.tileClass !== undefined ? options.tileClass : ol_ImageTile;

    /**
     * @protected
     * @type {!Object<string, import("../tilegrid/TileGrid.js").default>}
     */
    this.tileGridForProjection = {};

    /**
     * @private
     * @type {number|undefined}
     */
    this.reprojectionErrorThreshold_ = options.reprojectionErrorThreshold;

    /**
     * @private
     * @type {boolean}
     */
    this.renderReprojectionEdges_ = false;
  }

  /**
   * @param {import("../proj/Projection.js").default} projection Projection.
   * @return {number} Gutter.
   * @override
   */
  getGutterForProjection(projection) {
    if (
      this.getProjection() &&
      projection &&
      !equivalent(this.getProjection(), projection)
    ) {
      return 0;
    }
    return this.getGutter();
  }

  /**
   * @return {number} Gutter.
   */
  getGutter() {
    return 0;
  }

  /**
   * Return the key to be used for all tiles in the source.
   * @return {string} The key for all tiles.
   * @override
   */
  getKey() {
    let key = super.getKey();
    if (!this.getInterpolate()) {
      key += ':disable-interpolation';
    }
    return key;
  }

  /**
   * @param {import("../proj/Projection.js").default} projection Projection.
   * @return {!import("../tilegrid/TileGrid.js").default} Tile grid.
   * @override
   */
  getTileGridForProjection(projection) {
    const thisProj = this.getProjection();
    if (this.tileGrid && (!thisProj || equivalent(thisProj, projection))) {
      return this.tileGrid;
    }
    const projKey = getUid(projection);
    if (!(projKey in this.tileGridForProjection)) {
      this.tileGridForProjection[projKey] =
        getForProjection(projection);
    }
    return this.tileGridForProjection[projKey];
  }

  /**
   * @param {number} z Tile coordinate z.
   * @param {number} x Tile coordinate x.
   * @param {number} y Tile coordinate y.
   * @param {number} pixelRatio Pixel ratio.
   * @param {import("../proj/Projection.js").default} projection Projection.
   * @param {string} key The key set on the tile.
   * @return {!ImageTile} Tile.
   * @private
   */
  createTile_(z, x, y, pixelRatio, projection, key) {
    const tileCoord = [z, x, y];
    const urlTileCoord = this.getTileCoordForTileUrlFunction(
      tileCoord,
      projection,
    );
    const tileUrl = urlTileCoord
      ? this.tileUrlFunction(urlTileCoord, pixelRatio, projection)
      : undefined;
    const tile = new this.tileClass(
      tileCoord,
      tileUrl !== undefined ? TileState.IDLE : TileState.EMPTY,
      tileUrl !== undefined ? tileUrl : '',
      this.crossOrigin,
      this.tileLoadFunction,
      this.tileOptions,
    );
    tile.key = key;
    tile.addEventListener(events_EventType.CHANGE, this.handleTileChange.bind(this));
    return tile;
  }

  /**
   * @param {number} z Tile coordinate z.
   * @param {number} x Tile coordinate x.
   * @param {number} y Tile coordinate y.
   * @param {number} pixelRatio Pixel ratio.
   * @param {import("../proj/Projection.js").default} projection Projection.
   * @return {!(ImageTile|ReprojTile)} Tile.
   * @override
   */
  getTile(z, x, y, pixelRatio, projection) {
    const sourceProjection = this.getProjection();
    if (
      !sourceProjection ||
      !projection ||
      equivalent(sourceProjection, projection)
    ) {
      return this.getTileInternal(
        z,
        x,
        y,
        pixelRatio,
        sourceProjection || projection,
      );
    }
    const tileCoord = [z, x, y];
    const key = this.getKey();
    const sourceTileGrid = this.getTileGridForProjection(sourceProjection);
    const targetTileGrid = this.getTileGridForProjection(projection);
    const wrappedTileCoord = this.getTileCoordForTileUrlFunction(
      tileCoord,
      projection,
    );
    const tile = new reproj_Tile(
      sourceProjection,
      sourceTileGrid,
      projection,
      targetTileGrid,
      tileCoord,
      wrappedTileCoord,
      this.getTilePixelRatio(pixelRatio),
      this.getGutter(),
      (z, x, y, pixelRatio) =>
        this.getTileInternal(z, x, y, pixelRatio, sourceProjection),
      this.reprojectionErrorThreshold_,
      this.renderReprojectionEdges_,
      this.tileOptions,
    );
    tile.key = key;
    return tile;
  }

  /**
   * @param {number} z Tile coordinate z.
   * @param {number} x Tile coordinate x.
   * @param {number} y Tile coordinate y.
   * @param {number} pixelRatio Pixel ratio.
   * @param {!import("../proj/Projection.js").default} projection Projection.
   * @return {!ImageTile} Tile.
   * @protected
   */
  getTileInternal(z, x, y, pixelRatio, projection) {
    const key = this.getKey();
    return this.createTile_(z, x, y, pixelRatio, projection, key);
  }

  /**
   * Sets whether to render reprojection edges or not (usually for debugging).
   * @param {boolean} render Render the edges.
   * @api
   */
  setRenderReprojectionEdges(render) {
    if (this.renderReprojectionEdges_ == render) {
      return;
    }
    this.renderReprojectionEdges_ = render;
    this.changed();
  }

  /**
   * Sets the tile grid to use when reprojecting the tiles to the given
   * projection instead of the default tile grid for the projection.
   *
   * This can be useful when the default tile grid cannot be created
   * (e.g. projection has no extent defined) or
   * for optimization reasons (custom tile size, resolutions, ...).
   *
   * @param {import("../proj.js").ProjectionLike} projection Projection.
   * @param {import("../tilegrid/TileGrid.js").default} tilegrid Tile grid to use for the projection.
   * @api
   */
  setTileGridForProjection(projection, tilegrid) {
    const proj = proj_get(projection);
    if (proj) {
      const projKey = getUid(proj);
      if (!(projKey in this.tileGridForProjection)) {
        this.tileGridForProjection[projKey] = tilegrid;
      }
    }
  }
}

/**
 * @param {ImageTile} imageTile Image tile.
 * @param {string} src Source.
 */
function defaultTileLoadFunction(imageTile, src) {
  /** @type {HTMLImageElement|HTMLVideoElement} */ (imageTile.getImage()).src =
    src;
}

/* harmony default export */ const source_TileImage = (TileImage);

;// CONCATENATED MODULE: ./node_modules/ol/source/XYZ.js
/**
 * @module ol/source/XYZ
 */




/**
 * @typedef {Object} Options
 * @property {import("./Source.js").AttributionLike} [attributions] Attributions.
 * @property {boolean} [attributionsCollapsible=true] Attributions are collapsible.
 * @property {number} [cacheSize] Deprecated.  Use the cacheSize option on the layer instead.
 * @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images.  Note that
 * you must provide a `crossOrigin` value if you want to access pixel data with the Canvas renderer.
 * See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
 * @property {boolean} [interpolate=true] Use interpolated values when resampling.  By default,
 * linear interpolation is used when resampling.  Set to false to use the nearest neighbor instead.
 * @property {import("../proj.js").ProjectionLike} [projection='EPSG:3857'] Projection.
 * @property {number} [reprojectionErrorThreshold=0.5] Maximum allowed reprojection error (in pixels).
 * Higher values can increase reprojection performance, but decrease precision.
 * @property {number} [maxZoom=42] Optional max zoom level. Not used if `tileGrid` is provided.
 * @property {number} [minZoom=0] Optional min zoom level. Not used if `tileGrid` is provided.
 * @property {number} [maxResolution] Optional tile grid resolution at level zero. Not used if `tileGrid` is provided.
 * @property {import("../tilegrid/TileGrid.js").default} [tileGrid] Tile grid.
 * @property {import("../Tile.js").LoadFunction} [tileLoadFunction] Deprecated.  Use an ImageTile source with a loader
 * instead.  Optional function to load a tile given a URL. The default is
 * ```js
 * function(imageTile, src) {
 *   imageTile.getImage().src = src;
 * };
 * ```
 * @property {number} [tilePixelRatio=1] The pixel ratio used by the tile service.
 * For example, if the tile service advertizes 256px by 256px tiles but actually sends 512px
 * by 512px images (for retina/hidpi devices) then `tilePixelRatio`
 * should be set to `2`.
 * @property {number|import("../size.js").Size} [tileSize=[256, 256]] The tile size used by the tile service.
 * Not used if `tileGrid` is provided.
 * @property {number} [gutter=0] The size in pixels of the gutter around image tiles to ignore.
 * This allows artifacts of rendering at tile edges to be ignored.
 * Supported images should be wider and taller than the tile size by a value of `2 x gutter`.
 * @property {import("../Tile.js").UrlFunction} [tileUrlFunction] Deprecated.  Use an ImageTile source and provide a function
 * for the url option instead.
 * @property {string} [url] URL template. Must include `{x}`, `{y}` or `{-y}`,
 * and `{z}` placeholders. A `{?-?}` template pattern, for example `subdomain{a-f}.domain.com`,
 * may be used instead of defining each one separately in the `urls` option.
 * @property {Array<string>} [urls] Deprecated.  Use an ImageTile source and provide an array of URLs for the
 * url option instead.
 * @property {boolean} [wrapX=true] Whether to wrap the world horizontally.
 * @property {number} [transition=250] Duration of the opacity transition for rendering.
 * To disable the opacity transition, pass `transition: 0`.
 * @property {number|import("../array.js").NearestDirectionFunction} [zDirection=0]
 * Choose whether to use tiles with a higher or lower zoom level when between integer
 * zoom levels. See {@link module:ol/tilegrid/TileGrid~TileGrid#getZForResolution}.
 */

/**
 * @classdesc
 * Layer source for tile data with URLs in a set XYZ format that are
 * defined in a URL template. By default, this follows the widely-used
 * Google grid where `x` 0 and `y` 0 are in the top left. Grids like
 * TMS where `x` 0 and `y` 0 are in the bottom left can be used by
 * using the `{-y}` placeholder in the URL template, so long as the
 * source does not have a custom tile grid. In this case
 * a `tileUrlFunction` can be used, such as:
 * ```js
 *  tileUrlFunction: function(coordinate) {
 *    return 'http://mapserver.com/' + coordinate[0] + '/' +
 *      coordinate[1] + '/' + (-coordinate[2] - 1) + '.png';
 *  }
 * ```
 * @api
 */
class XYZ extends source_TileImage {
  /**
   * @param {Options} [options] XYZ options.
   */
  constructor(options) {
    options = options || {};

    const projection =
      options.projection !== undefined ? options.projection : 'EPSG:3857';

    const tileGrid =
      options.tileGrid !== undefined
        ? options.tileGrid
        : createXYZ({
            extent: extentFromProjection(projection),
            maxResolution: options.maxResolution,
            maxZoom: options.maxZoom,
            minZoom: options.minZoom,
            tileSize: options.tileSize,
          });

    super({
      attributions: options.attributions,
      cacheSize: options.cacheSize,
      crossOrigin: options.crossOrigin,
      interpolate: options.interpolate,
      projection: projection,
      reprojectionErrorThreshold: options.reprojectionErrorThreshold,
      tileGrid: tileGrid,
      tileLoadFunction: options.tileLoadFunction,
      tilePixelRatio: options.tilePixelRatio,
      tileUrlFunction: options.tileUrlFunction,
      url: options.url,
      urls: options.urls,
      wrapX: options.wrapX !== undefined ? options.wrapX : true,
      transition: options.transition,
      attributionsCollapsible: options.attributionsCollapsible,
      zDirection: options.zDirection,
    });

    /**
     * @private
     * @type {number}
     */
    this.gutter_ = options.gutter !== undefined ? options.gutter : 0;
  }

  /**
   * @return {number} Gutter.
   * @override
   */
  getGutter() {
    return this.gutter_;
  }
}

/* harmony default export */ const source_XYZ = (XYZ);

;// CONCATENATED MODULE: ./node_modules/ol/render/VectorContext.js
/**
 * @module ol/render/VectorContext
 */

/**
 * @classdesc
 * Context for drawing geometries.  A vector context is available on render
 * events and does not need to be constructed directly.
 * @api
 */
class VectorContext {
  /**
   * Render a geometry with a custom renderer.
   *
   * @param {import("../geom/SimpleGeometry.js").default} geometry Geometry.
   * @param {import("../Feature.js").FeatureLike} feature Feature.
   * @param {Function} renderer Renderer.
   * @param {Function} hitDetectionRenderer Renderer.
   * @param {number} [index] Render order index.
   */
  drawCustom(geometry, feature, renderer, hitDetectionRenderer, index) {}

  /**
   * Render a geometry.
   *
   * @param {import("../geom/Geometry.js").default} geometry The geometry to render.
   */
  drawGeometry(geometry) {}

  /**
   * Set the rendering style.
   *
   * @param {import("../style/Style.js").default} style The rendering style.
   */
  setStyle(style) {}

  /**
   * @param {import("../geom/Circle.js").default} circleGeometry Circle geometry.
   * @param {import("../Feature.js").default} feature Feature.
   * @param {number} [index] Render order index.
   */
  drawCircle(circleGeometry, feature, index) {}

  /**
   * @param {import("../Feature.js").default} feature Feature.
   * @param {import("../style/Style.js").default} style Style.
   * @param {number} [index] Render order index.
   */
  drawFeature(feature, style, index) {}

  /**
   * @param {import("../geom/GeometryCollection.js").default} geometryCollectionGeometry Geometry collection.
   * @param {import("../Feature.js").default} feature Feature.
   * @param {number} [index] Render order index.
   */
  drawGeometryCollection(geometryCollectionGeometry, feature, index) {}

  /**
   * @param {import("../geom/LineString.js").default|import("./Feature.js").default} lineStringGeometry Line string geometry.
   * @param {import("../Feature.js").FeatureLike} feature Feature.
   * @param {number} [index] Render order index.
   */
  drawLineString(lineStringGeometry, feature, index) {}

  /**
   * @param {import("../geom/MultiLineString.js").default|import("./Feature.js").default} multiLineStringGeometry MultiLineString geometry.
   * @param {import("../Feature.js").FeatureLike} feature Feature.
   * @param {number} [index] Render order index.
   */
  drawMultiLineString(multiLineStringGeometry, feature, index) {}

  /**
   * @param {import("../geom/MultiPoint.js").default|import("./Feature.js").default} multiPointGeometry MultiPoint geometry.
   * @param {import("../Feature.js").FeatureLike} feature Feature.
   * @param {number} [index] Render order index.
   */
  drawMultiPoint(multiPointGeometry, feature, index) {}

  /**
   * @param {import("../geom/MultiPolygon.js").default} multiPolygonGeometry MultiPolygon geometry.
   * @param {import("../Feature.js").FeatureLike} feature Feature.
   * @param {number} [index] Render order index.
   */
  drawMultiPolygon(multiPolygonGeometry, feature, index) {}

  /**
   * @param {import("../geom/Point.js").default|import("./Feature.js").default} pointGeometry Point geometry.
   * @param {import("../Feature.js").FeatureLike} feature Feature.
   * @param {number} [index] Render order index.
   */
  drawPoint(pointGeometry, feature, index) {}

  /**
   * @param {import("../geom/Polygon.js").default|import("./Feature.js").default} polygonGeometry Polygon geometry.
   * @param {import("../Feature.js").FeatureLike} feature Feature.
   * @param {number} [index] Render order index.
   */
  drawPolygon(polygonGeometry, feature, index) {}

  /**
   * @param {import("../geom/SimpleGeometry.js").default|import("./Feature.js").default} geometry Geometry.
   * @param {import("../Feature.js").FeatureLike} feature Feature.
   * @param {number} [index] Render order index.
   */
  drawText(geometry, feature, index) {}

  /**
   * @param {import("../style/Fill.js").default} fillStyle Fill style.
   * @param {import("../style/Stroke.js").default} strokeStyle Stroke style.
   */
  setFillStrokeStyle(fillStyle, strokeStyle) {}

  /**
   * @param {import("../style/Image.js").default} imageStyle Image style.
   * @param {import("../render/canvas.js").DeclutterImageWithText} [declutterImageWithText] Shared data for combined decluttering with a text style.
   */
  setImageStyle(imageStyle, declutterImageWithText) {}

  /**
   * @param {import("../style/Text.js").default} textStyle Text style.
   * @param {import("../render/canvas.js").DeclutterImageWithText} [declutterImageWithText] Shared data for combined decluttering with an image style.
   */
  setTextStyle(textStyle, declutterImageWithText) {}
}

/* harmony default export */ const render_VectorContext = (VectorContext);

;// CONCATENATED MODULE: ./node_modules/ol/render/canvas/Instruction.js
/**
 * @module ol/render/canvas/Instruction
 */

/**
 * @enum {number}
 */
const Instruction = {
  BEGIN_GEOMETRY: 0,
  BEGIN_PATH: 1,
  CIRCLE: 2,
  CLOSE_PATH: 3,
  CUSTOM: 4,
  DRAW_CHARS: 5,
  DRAW_IMAGE: 6,
  END_GEOMETRY: 7,
  FILL: 8,
  MOVE_TO_LINE_TO: 9,
  SET_FILL_STYLE: 10,
  SET_STROKE_STYLE: 11,
  STROKE: 12,
};

/**
 * @type {Array<Instruction>}
 */
const fillInstruction = [Instruction.FILL];

/**
 * @type {Array<Instruction>}
 */
const strokeInstruction = [Instruction.STROKE];

/**
 * @type {Array<Instruction>}
 */
const beginPathInstruction = [Instruction.BEGIN_PATH];

/**
 * @type {Array<Instruction>}
 */
const closePathInstruction = [Instruction.CLOSE_PATH];

/* harmony default export */ const canvas_Instruction = (Instruction);

;// CONCATENATED MODULE: ./node_modules/ol/render/canvas/Builder.js
/**
 * @module ol/render/canvas/Builder
 */









class CanvasBuilder extends render_VectorContext {
  /**
   * @param {number} tolerance Tolerance.
   * @param {import("../../extent.js").Extent} maxExtent Maximum extent.
   * @param {number} resolution Resolution.
   * @param {number} pixelRatio Pixel ratio.
   */
  constructor(tolerance, maxExtent, resolution, pixelRatio) {
    super();

    /**
     * @protected
     * @type {number}
     */
    this.tolerance = tolerance;

    /**
     * @protected
     * @const
     * @type {import("../../extent.js").Extent}
     */
    this.maxExtent = maxExtent;

    /**
     * @protected
     * @type {number}
     */
    this.pixelRatio = pixelRatio;

    /**
     * @protected
     * @type {number}
     */
    this.maxLineWidth = 0;

    /**
     * @protected
     * @const
     * @type {number}
     */
    this.resolution = resolution;

    /**
     * @private
     * @type {Array<*>}
     */
    this.beginGeometryInstruction1_ = null;

    /**
     * @private
     * @type {Array<*>}
     */
    this.beginGeometryInstruction2_ = null;

    /**
     * @private
     * @type {import("../../extent.js").Extent}
     */
    this.bufferedMaxExtent_ = null;

    /**
     * @protected
     * @type {Array<*>}
     */
    this.instructions = [];

    /**
     * @protected
     * @type {Array<number>}
     */
    this.coordinates = [];

    /**
     * @private
     * @type {import("../../coordinate.js").Coordinate}
     */
    this.tmpCoordinate_ = [];

    /**
     * @protected
     * @type {Array<*>}
     */
    this.hitDetectionInstructions = [];

    /**
     * @protected
     * @type {import("../canvas.js").FillStrokeState}
     */
    this.state = /** @type {import("../canvas.js").FillStrokeState} */ ({});
  }

  /**
   * @protected
   * @param {Array<number>} dashArray Dash array.
   * @return {Array<number>} Dash array with pixel ratio applied
   */
  applyPixelRatio(dashArray) {
    const pixelRatio = this.pixelRatio;
    return pixelRatio == 1
      ? dashArray
      : dashArray.map(function (dash) {
          return dash * pixelRatio;
        });
  }

  /**
   * @param {Array<number>} flatCoordinates Flat coordinates.
   * @param {number} stride Stride.
   * @protected
   * @return {number} My end
   */
  appendFlatPointCoordinates(flatCoordinates, stride) {
    const extent = this.getBufferedMaxExtent();
    const tmpCoord = this.tmpCoordinate_;
    const coordinates = this.coordinates;
    let myEnd = coordinates.length;
    for (let i = 0, ii = flatCoordinates.length; i < ii; i += stride) {
      tmpCoord[0] = flatCoordinates[i];
      tmpCoord[1] = flatCoordinates[i + 1];
      if (containsCoordinate(extent, tmpCoord)) {
        coordinates[myEnd++] = tmpCoord[0];
        coordinates[myEnd++] = tmpCoord[1];
      }
    }
    return myEnd;
  }

  /**
   * @param {Array<number>} flatCoordinates Flat coordinates.
   * @param {number} offset Offset.
   * @param {number} end End.
   * @param {number} stride Stride.
   * @param {boolean} closed Last input coordinate equals first.
   * @param {boolean} skipFirst Skip first coordinate.
   * @protected
   * @return {number} My end.
   */
  appendFlatLineCoordinates(
    flatCoordinates,
    offset,
    end,
    stride,
    closed,
    skipFirst,
  ) {
    const coordinates = this.coordinates;
    let myEnd = coordinates.length;
    const extent = this.getBufferedMaxExtent();
    if (skipFirst) {
      offset += stride;
    }
    let lastXCoord = flatCoordinates[offset];
    let lastYCoord = flatCoordinates[offset + 1];
    const nextCoord = this.tmpCoordinate_;
    let skipped = true;

    let i, lastRel, nextRel;
    for (i = offset + stride; i < end; i += stride) {
      nextCoord[0] = flatCoordinates[i];
      nextCoord[1] = flatCoordinates[i + 1];
      nextRel = coordinateRelationship(extent, nextCoord);
      if (nextRel !== lastRel) {
        if (skipped) {
          coordinates[myEnd++] = lastXCoord;
          coordinates[myEnd++] = lastYCoord;
          skipped = false;
        }
        coordinates[myEnd++] = nextCoord[0];
        coordinates[myEnd++] = nextCoord[1];
      } else if (nextRel === Relationship.INTERSECTING) {
        coordinates[myEnd++] = nextCoord[0];
        coordinates[myEnd++] = nextCoord[1];
        skipped = false;
      } else {
        skipped = true;
      }
      lastXCoord = nextCoord[0];
      lastYCoord = nextCoord[1];
      lastRel = nextRel;
    }

    // Last coordinate equals first or only one point to append:
    if ((closed && skipped) || i === offset + stride) {
      coordinates[myEnd++] = lastXCoord;
      coordinates[myEnd++] = lastYCoord;
    }
    return myEnd;
  }

  /**
   * @param {Array<number>} flatCoordinates Flat coordinates.
   * @param {number} offset Offset.
   * @param {Array<number>} ends Ends.
   * @param {number} stride Stride.
   * @param {Array<number>} builderEnds Builder ends.
   * @return {number} Offset.
   */
  drawCustomCoordinates_(flatCoordinates, offset, ends, stride, builderEnds) {
    for (let i = 0, ii = ends.length; i < ii; ++i) {
      const end = ends[i];
      const builderEnd = this.appendFlatLineCoordinates(
        flatCoordinates,
        offset,
        end,
        stride,
        false,
        false,
      );
      builderEnds.push(builderEnd);
      offset = end;
    }
    return offset;
  }

  /**
   * @param {import("../../geom/SimpleGeometry.js").default} geometry Geometry.
   * @param {import("../../Feature.js").FeatureLike} feature Feature.
   * @param {Function} renderer Renderer.
   * @param {Function} hitDetectionRenderer Renderer.
   * @param {number} [index] Render order index.
   * @override
   */
  drawCustom(geometry, feature, renderer, hitDetectionRenderer, index) {
    this.beginGeometry(geometry, feature, index);

    const type = geometry.getType();
    const stride = geometry.getStride();
    const builderBegin = this.coordinates.length;

    let flatCoordinates, builderEnd, builderEnds, builderEndss;
    let offset;

    switch (type) {
      case 'MultiPolygon':
        flatCoordinates =
          /** @type {import("../../geom/MultiPolygon.js").default} */ (
            geometry
          ).getOrientedFlatCoordinates();
        builderEndss = [];
        const endss =
          /** @type {import("../../geom/MultiPolygon.js").default} */ (
            geometry
          ).getEndss();
        offset = 0;
        for (let i = 0, ii = endss.length; i < ii; ++i) {
          const myEnds = [];
          offset = this.drawCustomCoordinates_(
            flatCoordinates,
            offset,
            endss[i],
            stride,
            myEnds,
          );
          builderEndss.push(myEnds);
        }
        this.instructions.push([
          canvas_Instruction.CUSTOM,
          builderBegin,
          builderEndss,
          geometry,
          renderer,
          inflateMultiCoordinatesArray,
          index,
        ]);
        this.hitDetectionInstructions.push([
          canvas_Instruction.CUSTOM,
          builderBegin,
          builderEndss,
          geometry,
          hitDetectionRenderer || renderer,
          inflateMultiCoordinatesArray,
          index,
        ]);
        break;
      case 'Polygon':
      case 'MultiLineString':
        builderEnds = [];
        flatCoordinates =
          type == 'Polygon'
            ? /** @type {import("../../geom/Polygon.js").default} */ (
                geometry
              ).getOrientedFlatCoordinates()
            : geometry.getFlatCoordinates();
        offset = this.drawCustomCoordinates_(
          flatCoordinates,
          0,
          /** @type {import("../../geom/Polygon.js").default|import("../../geom/MultiLineString.js").default} */ (
            geometry
          ).getEnds(),
          stride,
          builderEnds,
        );
        this.instructions.push([
          canvas_Instruction.CUSTOM,
          builderBegin,
          builderEnds,
          geometry,
          renderer,
          inflateCoordinatesArray,
          index,
        ]);
        this.hitDetectionInstructions.push([
          canvas_Instruction.CUSTOM,
          builderBegin,
          builderEnds,
          geometry,
          hitDetectionRenderer || renderer,
          inflateCoordinatesArray,
          index,
        ]);
        break;
      case 'LineString':
      case 'Circle':
        flatCoordinates = geometry.getFlatCoordinates();
        builderEnd = this.appendFlatLineCoordinates(
          flatCoordinates,
          0,
          flatCoordinates.length,
          stride,
          false,
          false,
        );
        this.instructions.push([
          canvas_Instruction.CUSTOM,
          builderBegin,
          builderEnd,
          geometry,
          renderer,
          inflateCoordinates,
          index,
        ]);
        this.hitDetectionInstructions.push([
          canvas_Instruction.CUSTOM,
          builderBegin,
          builderEnd,
          geometry,
          hitDetectionRenderer || renderer,
          inflateCoordinates,
          index,
        ]);
        break;
      case 'MultiPoint':
        flatCoordinates = geometry.getFlatCoordinates();
        builderEnd = this.appendFlatPointCoordinates(flatCoordinates, stride);

        if (builderEnd > builderBegin) {
          this.instructions.push([
            canvas_Instruction.CUSTOM,
            builderBegin,
            builderEnd,
            geometry,
            renderer,
            inflateCoordinates,
            index,
          ]);
          this.hitDetectionInstructions.push([
            canvas_Instruction.CUSTOM,
            builderBegin,
            builderEnd,
            geometry,
            hitDetectionRenderer || renderer,
            inflateCoordinates,
            index,
          ]);
        }
        break;
      case 'Point':
        flatCoordinates = geometry.getFlatCoordinates();
        this.coordinates.push(flatCoordinates[0], flatCoordinates[1]);
        builderEnd = this.coordinates.length;

        this.instructions.push([
          canvas_Instruction.CUSTOM,
          builderBegin,
          builderEnd,
          geometry,
          renderer,
          undefined,
          index,
        ]);
        this.hitDetectionInstructions.push([
          canvas_Instruction.CUSTOM,
          builderBegin,
          builderEnd,
          geometry,
          hitDetectionRenderer || renderer,
          undefined,
          index,
        ]);
        break;
      default:
    }
    this.endGeometry(feature);
  }

  /**
   * @protected
   * @param {import("../../geom/Geometry").default|import("../Feature.js").default} geometry The geometry.
   * @param {import("../../Feature.js").FeatureLike} feature Feature.
   * @param {number} index Render order index
   */
  beginGeometry(geometry, feature, index) {
    this.beginGeometryInstruction1_ = [
      canvas_Instruction.BEGIN_GEOMETRY,
      feature,
      0,
      geometry,
      index,
    ];
    this.instructions.push(this.beginGeometryInstruction1_);
    this.beginGeometryInstruction2_ = [
      canvas_Instruction.BEGIN_GEOMETRY,
      feature,
      0,
      geometry,
      index,
    ];
    this.hitDetectionInstructions.push(this.beginGeometryInstruction2_);
  }

  /**
   * @return {import("../canvas.js").SerializableInstructions} the serializable instructions.
   */
  finish() {
    return {
      instructions: this.instructions,
      hitDetectionInstructions: this.hitDetectionInstructions,
      coordinates: this.coordinates,
    };
  }

  /**
   * Reverse the hit detection instructions.
   */
  reverseHitDetectionInstructions() {
    const hitDetectionInstructions = this.hitDetectionInstructions;
    // step 1 - reverse array
    hitDetectionInstructions.reverse();
    // step 2 - reverse instructions within geometry blocks
    let i;
    const n = hitDetectionInstructions.length;
    let instruction;
    let type;
    let begin = -1;
    for (i = 0; i < n; ++i) {
      instruction = hitDetectionInstructions[i];
      type = /** @type {import("./Instruction.js").default} */ (instruction[0]);
      if (type == canvas_Instruction.END_GEOMETRY) {
        begin = i;
      } else if (type == canvas_Instruction.BEGIN_GEOMETRY) {
        instruction[2] = i;
        reverseSubArray(this.hitDetectionInstructions, begin, i);
        begin = -1;
      }
    }
  }

  /**
   * @param {import("../../style/Fill.js").default} fillStyle Fill style.
   * @param {import('../canvas.js').FillStrokeState} [state] State.
   * @return {import('../canvas.js').FillStrokeState} State.
   */
  fillStyleToState(
    fillStyle,
    state = /** @type {import('../canvas.js').FillStrokeState} */ ({}),
  ) {
    if (fillStyle) {
      const fillStyleColor = fillStyle.getColor();
      state.fillPatternScale =
        fillStyleColor &&
        typeof fillStyleColor === 'object' &&
        'src' in fillStyleColor
          ? this.pixelRatio
          : 1;
      state.fillStyle = asColorLike(
        fillStyleColor ? fillStyleColor : defaultFillStyle,
      );
    } else {
      state.fillStyle = undefined;
    }
    return state;
  }

  /**
   * @param {import("../../style/Stroke.js").default} strokeStyle Stroke style.
   * @param {import("../canvas.js").FillStrokeState} state State.
   * @return {import("../canvas.js").FillStrokeState} State.
   */
  strokeStyleToState(
    strokeStyle,
    state = /** @type {import('../canvas.js').FillStrokeState} */ ({}),
  ) {
    if (strokeStyle) {
      const strokeStyleColor = strokeStyle.getColor();
      state.strokeStyle = asColorLike(
        strokeStyleColor ? strokeStyleColor : defaultStrokeStyle,
      );
      const strokeStyleLineCap = strokeStyle.getLineCap();
      state.lineCap =
        strokeStyleLineCap !== undefined ? strokeStyleLineCap : defaultLineCap;
      const strokeStyleLineDash = strokeStyle.getLineDash();
      state.lineDash = strokeStyleLineDash
        ? strokeStyleLineDash.slice()
        : defaultLineDash;
      const strokeStyleLineDashOffset = strokeStyle.getLineDashOffset();
      state.lineDashOffset = strokeStyleLineDashOffset
        ? strokeStyleLineDashOffset
        : defaultLineDashOffset;
      const strokeStyleLineJoin = strokeStyle.getLineJoin();
      state.lineJoin =
        strokeStyleLineJoin !== undefined
          ? strokeStyleLineJoin
          : defaultLineJoin;
      const strokeStyleWidth = strokeStyle.getWidth();
      state.lineWidth =
        strokeStyleWidth !== undefined ? strokeStyleWidth : defaultLineWidth;
      const strokeStyleMiterLimit = strokeStyle.getMiterLimit();
      state.miterLimit =
        strokeStyleMiterLimit !== undefined
          ? strokeStyleMiterLimit
          : defaultMiterLimit;

      if (state.lineWidth > this.maxLineWidth) {
        this.maxLineWidth = state.lineWidth;
        // invalidate the buffered max extent cache
        this.bufferedMaxExtent_ = null;
      }
    } else {
      state.strokeStyle = undefined;
      state.lineCap = undefined;
      state.lineDash = null;
      state.lineDashOffset = undefined;
      state.lineJoin = undefined;
      state.lineWidth = undefined;
      state.miterLimit = undefined;
    }
    return state;
  }

  /**
   * @param {import("../../style/Fill.js").default} fillStyle Fill style.
   * @param {import("../../style/Stroke.js").default} strokeStyle Stroke style.
   * @override
   */
  setFillStrokeStyle(fillStyle, strokeStyle) {
    const state = this.state;
    this.fillStyleToState(fillStyle, state);
    this.strokeStyleToState(strokeStyle, state);
  }

  /**
   * @param {import("../canvas.js").FillStrokeState} state State.
   * @return {Array<*>} Fill instruction.
   */
  createFill(state) {
    const fillStyle = state.fillStyle;
    /** @type {Array<*>} */
    const fillInstruction = [canvas_Instruction.SET_FILL_STYLE, fillStyle];
    if (typeof fillStyle !== 'string') {
      // Fill is a pattern or gradient - align and scale it!
      fillInstruction.push(state.fillPatternScale);
    }
    return fillInstruction;
  }

  /**
   * @param {import("../canvas.js").FillStrokeState} state State.
   */
  applyStroke(state) {
    this.instructions.push(this.createStroke(state));
  }

  /**
   * @param {import("../canvas.js").FillStrokeState} state State.
   * @return {Array<*>} Stroke instruction.
   */
  createStroke(state) {
    return [
      canvas_Instruction.SET_STROKE_STYLE,
      state.strokeStyle,
      state.lineWidth * this.pixelRatio,
      state.lineCap,
      state.lineJoin,
      state.miterLimit,
      state.lineDash ? this.applyPixelRatio(state.lineDash) : null,
      state.lineDashOffset * this.pixelRatio,
    ];
  }

  /**
   * @param {import("../canvas.js").FillStrokeState} state State.
   * @param {function(this:CanvasBuilder, import("../canvas.js").FillStrokeState):Array<*>} createFill Create fill.
   */
  updateFillStyle(state, createFill) {
    const fillStyle = state.fillStyle;
    if (typeof fillStyle !== 'string' || state.currentFillStyle != fillStyle) {
      if (fillStyle !== undefined) {
        this.instructions.push(createFill.call(this, state));
      }
      state.currentFillStyle = fillStyle;
    }
  }

  /**
   * @param {import("../canvas.js").FillStrokeState} state State.
   * @param {function(this:CanvasBuilder, import("../canvas.js").FillStrokeState): void} applyStroke Apply stroke.
   */
  updateStrokeStyle(state, applyStroke) {
    const strokeStyle = state.strokeStyle;
    const lineCap = state.lineCap;
    const lineDash = state.lineDash;
    const lineDashOffset = state.lineDashOffset;
    const lineJoin = state.lineJoin;
    const lineWidth = state.lineWidth;
    const miterLimit = state.miterLimit;
    if (
      state.currentStrokeStyle != strokeStyle ||
      state.currentLineCap != lineCap ||
      (lineDash != state.currentLineDash &&
        !equals(state.currentLineDash, lineDash)) ||
      state.currentLineDashOffset != lineDashOffset ||
      state.currentLineJoin != lineJoin ||
      state.currentLineWidth != lineWidth ||
      state.currentMiterLimit != miterLimit
    ) {
      if (strokeStyle !== undefined) {
        applyStroke.call(this, state);
      }
      state.currentStrokeStyle = strokeStyle;
      state.currentLineCap = lineCap;
      state.currentLineDash = lineDash;
      state.currentLineDashOffset = lineDashOffset;
      state.currentLineJoin = lineJoin;
      state.currentLineWidth = lineWidth;
      state.currentMiterLimit = miterLimit;
    }
  }

  /**
   * @param {import("../../Feature.js").FeatureLike} feature Feature.
   */
  endGeometry(feature) {
    this.beginGeometryInstruction1_[2] = this.instructions.length;
    this.beginGeometryInstruction1_ = null;
    this.beginGeometryInstruction2_[2] = this.hitDetectionInstructions.length;
    this.beginGeometryInstruction2_ = null;
    const endGeometryInstruction = [canvas_Instruction.END_GEOMETRY, feature];
    this.instructions.push(endGeometryInstruction);
    this.hitDetectionInstructions.push(endGeometryInstruction);
  }

  /**
   * Get the buffered rendering extent.  Rendering will be clipped to the extent
   * provided to the constructor.  To account for symbolizers that may intersect
   * this extent, we calculate a buffered extent (e.g. based on stroke width).
   * @return {import("../../extent.js").Extent} The buffered rendering extent.
   * @protected
   */
  getBufferedMaxExtent() {
    if (!this.bufferedMaxExtent_) {
      this.bufferedMaxExtent_ = clone(this.maxExtent);
      if (this.maxLineWidth > 0) {
        const width = (this.resolution * (this.maxLineWidth + 1)) / 2;
        buffer(this.bufferedMaxExtent_, width, this.bufferedMaxExtent_);
      }
    }
    return this.bufferedMaxExtent_;
  }
}

/* harmony default export */ const Builder = (CanvasBuilder);

;// CONCATENATED MODULE: ./node_modules/ol/render/canvas/ImageBuilder.js
/**
 * @module ol/render/canvas/ImageBuilder
 */




class CanvasImageBuilder extends Builder {
  /**
   * @param {number} tolerance Tolerance.
   * @param {import("../../extent.js").Extent} maxExtent Maximum extent.
   * @param {number} resolution Resolution.
   * @param {number} pixelRatio Pixel ratio.
   */
  constructor(tolerance, maxExtent, resolution, pixelRatio) {
    super(tolerance, maxExtent, resolution, pixelRatio);

    /**
     * @private
     * @type {import('../../DataTile.js').ImageLike}
     */
    this.hitDetectionImage_ = null;

    /**
     * @private
     * @type {import('../../DataTile.js').ImageLike}
     */
    this.image_ = null;

    /**
     * @private
     * @type {number|undefined}
     */
    this.imagePixelRatio_ = undefined;

    /**
     * @private
     * @type {number|undefined}
     */
    this.anchorX_ = undefined;

    /**
     * @private
     * @type {number|undefined}
     */
    this.anchorY_ = undefined;

    /**
     * @private
     * @type {number|undefined}
     */
    this.height_ = undefined;

    /**
     * @private
     * @type {number|undefined}
     */
    this.opacity_ = undefined;

    /**
     * @private
     * @type {number|undefined}
     */
    this.originX_ = undefined;

    /**
     * @private
     * @type {number|undefined}
     */
    this.originY_ = undefined;

    /**
     * @private
     * @type {boolean|undefined}
     */
    this.rotateWithView_ = undefined;

    /**
     * @private
     * @type {number|undefined}
     */
    this.rotation_ = undefined;

    /**
     * @private
     * @type {import("../../size.js").Size|undefined}
     */
    this.scale_ = undefined;

    /**
     * @private
     * @type {number|undefined}
     */
    this.width_ = undefined;

    /**
     * @private
     * @type {import('../../style/Style.js').DeclutterMode}
     */
    this.declutterMode_ = undefined;

    /**
     * Data shared with a text builder for combined decluttering.
     * @private
     * @type {import("../canvas.js").DeclutterImageWithText}
     */
    this.declutterImageWithText_ = undefined;
  }

  /**
   * @param {import("../../geom/Point.js").default|import("../Feature.js").default} pointGeometry Point geometry.
   * @param {import("../../Feature.js").FeatureLike} feature Feature.
   * @param {number} [index] Render order index.
   * @override
   */
  drawPoint(pointGeometry, feature, index) {
    if (
      !this.image_ ||
      (this.maxExtent &&
        !containsCoordinate(this.maxExtent, pointGeometry.getFlatCoordinates()))
    ) {
      return;
    }
    this.beginGeometry(pointGeometry, feature, index);
    const flatCoordinates = pointGeometry.getFlatCoordinates();
    const stride = pointGeometry.getStride();
    const myBegin = this.coordinates.length;
    const myEnd = this.appendFlatPointCoordinates(flatCoordinates, stride);
    this.instructions.push([
      canvas_Instruction.DRAW_IMAGE,
      myBegin,
      myEnd,
      this.image_,
      // Remaining arguments to DRAW_IMAGE are in alphabetical order
      this.anchorX_ * this.imagePixelRatio_,
      this.anchorY_ * this.imagePixelRatio_,
      Math.ceil(this.height_ * this.imagePixelRatio_),
      this.opacity_,
      this.originX_ * this.imagePixelRatio_,
      this.originY_ * this.imagePixelRatio_,
      this.rotateWithView_,
      this.rotation_,
      [
        (this.scale_[0] * this.pixelRatio) / this.imagePixelRatio_,
        (this.scale_[1] * this.pixelRatio) / this.imagePixelRatio_,
      ],
      Math.ceil(this.width_ * this.imagePixelRatio_),
      this.declutterMode_,
      this.declutterImageWithText_,
    ]);
    this.hitDetectionInstructions.push([
      canvas_Instruction.DRAW_IMAGE,
      myBegin,
      myEnd,
      this.hitDetectionImage_,
      // Remaining arguments to DRAW_IMAGE are in alphabetical order
      this.anchorX_,
      this.anchorY_,
      this.height_,
      1,
      this.originX_,
      this.originY_,
      this.rotateWithView_,
      this.rotation_,
      this.scale_,
      this.width_,
      this.declutterMode_,
      this.declutterImageWithText_,
    ]);
    this.endGeometry(feature);
  }

  /**
   * @param {import("../../geom/MultiPoint.js").default|import("../Feature.js").default} multiPointGeometry MultiPoint geometry.
   * @param {import("../../Feature.js").FeatureLike} feature Feature.
   * @param {number} [index] Render order index.
   * @override
   */
  drawMultiPoint(multiPointGeometry, feature, index) {
    if (!this.image_) {
      return;
    }
    this.beginGeometry(multiPointGeometry, feature, index);
    const flatCoordinates = multiPointGeometry.getFlatCoordinates();
    const filteredFlatCoordinates = [];
    for (
      let i = 0, ii = flatCoordinates.length;
      i < ii;
      i += multiPointGeometry.getStride()
    ) {
      if (
        !this.maxExtent ||
        containsCoordinate(this.maxExtent, flatCoordinates.slice(i, i + 2))
      ) {
        filteredFlatCoordinates.push(
          flatCoordinates[i],
          flatCoordinates[i + 1],
        );
      }
    }
    const myBegin = this.coordinates.length;
    const myEnd = this.appendFlatPointCoordinates(filteredFlatCoordinates, 2);
    this.instructions.push([
      canvas_Instruction.DRAW_IMAGE,
      myBegin,
      myEnd,
      this.image_,
      // Remaining arguments to DRAW_IMAGE are in alphabetical order
      this.anchorX_ * this.imagePixelRatio_,
      this.anchorY_ * this.imagePixelRatio_,
      Math.ceil(this.height_ * this.imagePixelRatio_),
      this.opacity_,
      this.originX_ * this.imagePixelRatio_,
      this.originY_ * this.imagePixelRatio_,
      this.rotateWithView_,
      this.rotation_,
      [
        (this.scale_[0] * this.pixelRatio) / this.imagePixelRatio_,
        (this.scale_[1] * this.pixelRatio) / this.imagePixelRatio_,
      ],
      Math.ceil(this.width_ * this.imagePixelRatio_),
      this.declutterMode_,
      this.declutterImageWithText_,
    ]);
    this.hitDetectionInstructions.push([
      canvas_Instruction.DRAW_IMAGE,
      myBegin,
      myEnd,
      this.hitDetectionImage_,
      // Remaining arguments to DRAW_IMAGE are in alphabetical order
      this.anchorX_,
      this.anchorY_,
      this.height_,
      1,
      this.originX_,
      this.originY_,
      this.rotateWithView_,
      this.rotation_,
      this.scale_,
      this.width_,
      this.declutterMode_,
      this.declutterImageWithText_,
    ]);
    this.endGeometry(feature);
  }

  /**
   * @return {import("../canvas.js").SerializableInstructions} the serializable instructions.
   * @override
   */
  finish() {
    this.reverseHitDetectionInstructions();
    // FIXME this doesn't really protect us against further calls to draw*Geometry
    this.anchorX_ = undefined;
    this.anchorY_ = undefined;
    this.hitDetectionImage_ = null;
    this.image_ = null;
    this.imagePixelRatio_ = undefined;
    this.height_ = undefined;
    this.scale_ = undefined;
    this.opacity_ = undefined;
    this.originX_ = undefined;
    this.originY_ = undefined;
    this.rotateWithView_ = undefined;
    this.rotation_ = undefined;
    this.width_ = undefined;
    return super.finish();
  }

  /**
   * @param {import("../../style/Image.js").default} imageStyle Image style.
   * @param {Object} [sharedData] Shared data.
   * @override
   */
  setImageStyle(imageStyle, sharedData) {
    const anchor = imageStyle.getAnchor();
    const size = imageStyle.getSize();
    const origin = imageStyle.getOrigin();
    this.imagePixelRatio_ = imageStyle.getPixelRatio(this.pixelRatio);
    this.anchorX_ = anchor[0];
    this.anchorY_ = anchor[1];
    this.hitDetectionImage_ = imageStyle.getHitDetectionImage();
    this.image_ = imageStyle.getImage(this.pixelRatio);
    this.height_ = size[1];
    this.opacity_ = imageStyle.getOpacity();
    this.originX_ = origin[0];
    this.originY_ = origin[1];
    this.rotateWithView_ = imageStyle.getRotateWithView();
    this.rotation_ = imageStyle.getRotation();
    this.scale_ = imageStyle.getScaleArray();
    this.width_ = size[0];
    this.declutterMode_ = imageStyle.getDeclutterMode();
    this.declutterImageWithText_ = sharedData;
  }
}

/* harmony default export */ const ImageBuilder = (CanvasImageBuilder);

;// CONCATENATED MODULE: ./node_modules/ol/render/canvas/LineStringBuilder.js
/**
 * @module ol/render/canvas/LineStringBuilder
 */




class CanvasLineStringBuilder extends Builder {
  /**
   * @param {number} tolerance Tolerance.
   * @param {import("../../extent.js").Extent} maxExtent Maximum extent.
   * @param {number} resolution Resolution.
   * @param {number} pixelRatio Pixel ratio.
   */
  constructor(tolerance, maxExtent, resolution, pixelRatio) {
    super(tolerance, maxExtent, resolution, pixelRatio);
  }

  /**
   * @param {Array<number>} flatCoordinates Flat coordinates.
   * @param {number} offset Offset.
   * @param {number} end End.
   * @param {number} stride Stride.
   * @private
   * @return {number} end.
   */
  drawFlatCoordinates_(flatCoordinates, offset, end, stride) {
    const myBegin = this.coordinates.length;
    const myEnd = this.appendFlatLineCoordinates(
      flatCoordinates,
      offset,
      end,
      stride,
      false,
      false,
    );
    const moveToLineToInstruction = [
      canvas_Instruction.MOVE_TO_LINE_TO,
      myBegin,
      myEnd,
    ];
    this.instructions.push(moveToLineToInstruction);
    this.hitDetectionInstructions.push(moveToLineToInstruction);
    return end;
  }

  /**
   * @param {import("../../geom/LineString.js").default|import("../Feature.js").default} lineStringGeometry Line string geometry.
   * @param {import("../../Feature.js").FeatureLike} feature Feature.
   * @param {number} [index] Render order index.
   * @override
   */
  drawLineString(lineStringGeometry, feature, index) {
    const state = this.state;
    const strokeStyle = state.strokeStyle;
    const lineWidth = state.lineWidth;
    if (strokeStyle === undefined || lineWidth === undefined) {
      return;
    }
    this.updateStrokeStyle(state, this.applyStroke);
    this.beginGeometry(lineStringGeometry, feature, index);
    this.hitDetectionInstructions.push(
      [
        canvas_Instruction.SET_STROKE_STYLE,
        state.strokeStyle,
        state.lineWidth,
        state.lineCap,
        state.lineJoin,
        state.miterLimit,
        defaultLineDash,
        defaultLineDashOffset,
      ],
      beginPathInstruction,
    );
    const flatCoordinates = lineStringGeometry.getFlatCoordinates();
    const stride = lineStringGeometry.getStride();
    this.drawFlatCoordinates_(
      flatCoordinates,
      0,
      flatCoordinates.length,
      stride,
    );
    this.hitDetectionInstructions.push(strokeInstruction);
    this.endGeometry(feature);
  }

  /**
   * @param {import("../../geom/MultiLineString.js").default|import("../Feature.js").default} multiLineStringGeometry MultiLineString geometry.
   * @param {import("../../Feature.js").FeatureLike} feature Feature.
   * @param {number} [index] Render order index.
   * @override
   */
  drawMultiLineString(multiLineStringGeometry, feature, index) {
    const state = this.state;
    const strokeStyle = state.strokeStyle;
    const lineWidth = state.lineWidth;
    if (strokeStyle === undefined || lineWidth === undefined) {
      return;
    }
    this.updateStrokeStyle(state, this.applyStroke);
    this.beginGeometry(multiLineStringGeometry, feature, index);
    this.hitDetectionInstructions.push(
      [
        canvas_Instruction.SET_STROKE_STYLE,
        state.strokeStyle,
        state.lineWidth,
        state.lineCap,
        state.lineJoin,
        state.miterLimit,
        defaultLineDash,
        defaultLineDashOffset,
      ],
      beginPathInstruction,
    );
    const ends = multiLineStringGeometry.getEnds();
    const flatCoordinates = multiLineStringGeometry.getFlatCoordinates();
    const stride = multiLineStringGeometry.getStride();
    let offset = 0;
    for (let i = 0, ii = ends.length; i < ii; ++i) {
      offset = this.drawFlatCoordinates_(
        flatCoordinates,
        offset,
        /** @type {number} */ (ends[i]),
        stride,
      );
    }
    this.hitDetectionInstructions.push(strokeInstruction);
    this.endGeometry(feature);
  }

  /**
   * @return {import("../canvas.js").SerializableInstructions} the serializable instructions.
   * @override
   */
  finish() {
    const state = this.state;
    if (
      state.lastStroke != undefined &&
      state.lastStroke != this.coordinates.length
    ) {
      this.instructions.push(strokeInstruction);
    }
    this.reverseHitDetectionInstructions();
    this.state = null;
    return super.finish();
  }

  /**
   * @param {import("../canvas.js").FillStrokeState} state State.
   * @override
   */
  applyStroke(state) {
    if (
      state.lastStroke != undefined &&
      state.lastStroke != this.coordinates.length
    ) {
      this.instructions.push(strokeInstruction);
      state.lastStroke = this.coordinates.length;
    }
    state.lastStroke = 0;
    super.applyStroke(state);
    this.instructions.push(beginPathInstruction);
  }
}

/* harmony default export */ const LineStringBuilder = (CanvasLineStringBuilder);

;// CONCATENATED MODULE: ./node_modules/ol/render/canvas/PolygonBuilder.js
/**
 * @module ol/render/canvas/PolygonBuilder
 */





class CanvasPolygonBuilder extends Builder {
  /**
   * @param {number} tolerance Tolerance.
   * @param {import("../../extent.js").Extent} maxExtent Maximum extent.
   * @param {number} resolution Resolution.
   * @param {number} pixelRatio Pixel ratio.
   */
  constructor(tolerance, maxExtent, resolution, pixelRatio) {
    super(tolerance, maxExtent, resolution, pixelRatio);
  }

  /**
   * @param {Array<number>} flatCoordinates Flat coordinates.
   * @param {number} offset Offset.
   * @param {Array<number>} ends Ends.
   * @param {number} stride Stride.
   * @private
   * @return {number} End.
   */
  drawFlatCoordinatess_(flatCoordinates, offset, ends, stride) {
    const state = this.state;
    const fill = state.fillStyle !== undefined;
    const stroke = state.strokeStyle !== undefined;
    const numEnds = ends.length;
    this.instructions.push(beginPathInstruction);
    this.hitDetectionInstructions.push(beginPathInstruction);
    for (let i = 0; i < numEnds; ++i) {
      const end = ends[i];
      const myBegin = this.coordinates.length;
      const myEnd = this.appendFlatLineCoordinates(
        flatCoordinates,
        offset,
        end,
        stride,
        true,
        !stroke,
      );
      const moveToLineToInstruction = [
        canvas_Instruction.MOVE_TO_LINE_TO,
        myBegin,
        myEnd,
      ];
      this.instructions.push(moveToLineToInstruction);
      this.hitDetectionInstructions.push(moveToLineToInstruction);
      if (stroke) {
        // Performance optimization: only call closePath() when we have a stroke.
        // Otherwise the ring is closed already (see appendFlatLineCoordinates above).
        this.instructions.push(closePathInstruction);
        this.hitDetectionInstructions.push(closePathInstruction);
      }
      offset = end;
    }
    if (fill) {
      this.instructions.push(fillInstruction);
      this.hitDetectionInstructions.push(fillInstruction);
    }
    if (stroke) {
      this.instructions.push(strokeInstruction);
      this.hitDetectionInstructions.push(strokeInstruction);
    }
    return offset;
  }

  /**
   * @param {import("../../geom/Circle.js").default} circleGeometry Circle geometry.
   * @param {import("../../Feature.js").default} feature Feature.
   * @param {number} [index] Render order index.
   * @override
   */
  drawCircle(circleGeometry, feature, index) {
    const state = this.state;
    const fillStyle = state.fillStyle;
    const strokeStyle = state.strokeStyle;
    if (fillStyle === undefined && strokeStyle === undefined) {
      return;
    }
    this.setFillStrokeStyles_();
    this.beginGeometry(circleGeometry, feature, index);
    if (state.fillStyle !== undefined) {
      this.hitDetectionInstructions.push([
        canvas_Instruction.SET_FILL_STYLE,
        defaultFillStyle,
      ]);
    }
    if (state.strokeStyle !== undefined) {
      this.hitDetectionInstructions.push([
        canvas_Instruction.SET_STROKE_STYLE,
        state.strokeStyle,
        state.lineWidth,
        state.lineCap,
        state.lineJoin,
        state.miterLimit,
        defaultLineDash,
        defaultLineDashOffset,
      ]);
    }
    const flatCoordinates = circleGeometry.getFlatCoordinates();
    const stride = circleGeometry.getStride();
    const myBegin = this.coordinates.length;
    this.appendFlatLineCoordinates(
      flatCoordinates,
      0,
      flatCoordinates.length,
      stride,
      false,
      false,
    );
    const circleInstruction = [canvas_Instruction.CIRCLE, myBegin];
    this.instructions.push(beginPathInstruction, circleInstruction);
    this.hitDetectionInstructions.push(beginPathInstruction, circleInstruction);
    if (state.fillStyle !== undefined) {
      this.instructions.push(fillInstruction);
      this.hitDetectionInstructions.push(fillInstruction);
    }
    if (state.strokeStyle !== undefined) {
      this.instructions.push(strokeInstruction);
      this.hitDetectionInstructions.push(strokeInstruction);
    }
    this.endGeometry(feature);
  }

  /**
   * @param {import("../../geom/Polygon.js").default|import("../Feature.js").default} polygonGeometry Polygon geometry.
   * @param {import("../../Feature.js").FeatureLike} feature Feature.
   * @param {number} [index] Render order index.
   * @override
   */
  drawPolygon(polygonGeometry, feature, index) {
    const state = this.state;
    const fillStyle = state.fillStyle;
    const strokeStyle = state.strokeStyle;
    if (fillStyle === undefined && strokeStyle === undefined) {
      return;
    }
    this.setFillStrokeStyles_();
    this.beginGeometry(polygonGeometry, feature, index);
    if (state.fillStyle !== undefined) {
      this.hitDetectionInstructions.push([
        canvas_Instruction.SET_FILL_STYLE,
        defaultFillStyle,
      ]);
    }
    if (state.strokeStyle !== undefined) {
      this.hitDetectionInstructions.push([
        canvas_Instruction.SET_STROKE_STYLE,
        state.strokeStyle,
        state.lineWidth,
        state.lineCap,
        state.lineJoin,
        state.miterLimit,
        defaultLineDash,
        defaultLineDashOffset,
      ]);
    }
    const ends = polygonGeometry.getEnds();
    const flatCoordinates = polygonGeometry.getOrientedFlatCoordinates();
    const stride = polygonGeometry.getStride();
    this.drawFlatCoordinatess_(
      flatCoordinates,
      0,
      /** @type {Array<number>} */ (ends),
      stride,
    );
    this.endGeometry(feature);
  }

  /**
   * @param {import("../../geom/MultiPolygon.js").default} multiPolygonGeometry MultiPolygon geometry.
   * @param {import("../../Feature.js").FeatureLike} feature Feature.
   * @param {number} [index] Render order index.
   * @override
   */
  drawMultiPolygon(multiPolygonGeometry, feature, index) {
    const state = this.state;
    const fillStyle = state.fillStyle;
    const strokeStyle = state.strokeStyle;
    if (fillStyle === undefined && strokeStyle === undefined) {
      return;
    }
    this.setFillStrokeStyles_();
    this.beginGeometry(multiPolygonGeometry, feature, index);
    if (state.fillStyle !== undefined) {
      this.hitDetectionInstructions.push([
        canvas_Instruction.SET_FILL_STYLE,
        defaultFillStyle,
      ]);
    }
    if (state.strokeStyle !== undefined) {
      this.hitDetectionInstructions.push([
        canvas_Instruction.SET_STROKE_STYLE,
        state.strokeStyle,
        state.lineWidth,
        state.lineCap,
        state.lineJoin,
        state.miterLimit,
        defaultLineDash,
        defaultLineDashOffset,
      ]);
    }
    const endss = multiPolygonGeometry.getEndss();
    const flatCoordinates = multiPolygonGeometry.getOrientedFlatCoordinates();
    const stride = multiPolygonGeometry.getStride();
    let offset = 0;
    for (let i = 0, ii = endss.length; i < ii; ++i) {
      offset = this.drawFlatCoordinatess_(
        flatCoordinates,
        offset,
        endss[i],
        stride,
      );
    }
    this.endGeometry(feature);
  }

  /**
   * @return {import("../canvas.js").SerializableInstructions} the serializable instructions.
   * @override
   */
  finish() {
    this.reverseHitDetectionInstructions();
    this.state = null;
    // We want to preserve topology when drawing polygons.  Polygons are
    // simplified using quantization and point elimination. However, we might
    // have received a mix of quantized and non-quantized geometries, so ensure
    // that all are quantized by quantizing all coordinates in the batch.
    const tolerance = this.tolerance;
    if (tolerance !== 0) {
      const coordinates = this.coordinates;
      for (let i = 0, ii = coordinates.length; i < ii; ++i) {
        coordinates[i] = snap(coordinates[i], tolerance);
      }
    }
    return super.finish();
  }

  /**
   * @private
   */
  setFillStrokeStyles_() {
    const state = this.state;
    const fillStyle = state.fillStyle;
    if (fillStyle !== undefined) {
      this.updateFillStyle(state, this.createFill);
    }
    if (state.strokeStyle !== undefined) {
      this.updateStrokeStyle(state, this.applyStroke);
    }
  }
}

/* harmony default export */ const PolygonBuilder = (CanvasPolygonBuilder);

;// CONCATENATED MODULE: ./node_modules/ol/geom/flat/linechunk.js


/**
 * Creates chunks of equal length from a linestring
 * @param {number} chunkLength Length of each chunk.
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Start offset of the `flatCoordinates`.
 * @param {number} end End offset of the `flatCoordinates`.
 * @param {number} stride Stride.
 * @return {Array<Array<number>>} Chunks of linestrings with stride 2.
 */
function lineChunk(chunkLength, flatCoordinates, offset, end, stride) {
  const chunks = [];
  let cursor = offset;
  let chunkM = 0;
  let currentChunk = flatCoordinates.slice(offset, 2);
  while (chunkM < chunkLength && cursor + stride < end) {
    const [x1, y1] = currentChunk.slice(-2);
    const x2 = flatCoordinates[cursor + stride];
    const y2 = flatCoordinates[cursor + stride + 1];
    const segmentLength = Math.sqrt(
      (x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1),
    );
    chunkM += segmentLength;
    if (chunkM >= chunkLength) {
      const m = (chunkLength - chunkM + segmentLength) / segmentLength;
      const x = math_lerp(x1, x2, m);
      const y = math_lerp(y1, y2, m);
      currentChunk.push(x, y);
      chunks.push(currentChunk);
      currentChunk = [x, y];
      if (chunkM == chunkLength) {
        cursor += stride;
      }
      chunkM = 0;
    } else if (chunkM < chunkLength) {
      currentChunk.push(
        flatCoordinates[cursor + stride],
        flatCoordinates[cursor + stride + 1],
      );
      cursor += stride;
    } else {
      const missing = segmentLength - chunkM;
      const x = math_lerp(x1, x2, missing / segmentLength);
      const y = math_lerp(y1, y2, missing / segmentLength);
      currentChunk.push(x, y);
      chunks.push(currentChunk);
      currentChunk = [x, y];
      chunkM = 0;
      cursor += stride;
    }
  }
  if (chunkM > 0) {
    chunks.push(currentChunk);
  }
  return chunks;
}

;// CONCATENATED MODULE: ./node_modules/ol/geom/flat/straightchunk.js
/**
 * @module ol/geom/flat/straightchunk
 */

/**
 * @param {number} maxAngle Maximum acceptable angle delta between segments.
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @return {Array<number>} Start and end of the first suitable chunk of the
 * given `flatCoordinates`.
 */
function matchingChunk(maxAngle, flatCoordinates, offset, end, stride) {
  let chunkStart = offset;
  let chunkEnd = offset;
  let chunkM = 0;
  let m = 0;
  let start = offset;
  let acos, i, m12, m23, x1, y1, x12, y12, x23, y23;
  for (i = offset; i < end; i += stride) {
    const x2 = flatCoordinates[i];
    const y2 = flatCoordinates[i + 1];
    if (x1 !== undefined) {
      x23 = x2 - x1;
      y23 = y2 - y1;
      m23 = Math.sqrt(x23 * x23 + y23 * y23);
      if (x12 !== undefined) {
        m += m12;
        acos = Math.acos((x12 * x23 + y12 * y23) / (m12 * m23));
        if (acos > maxAngle) {
          if (m > chunkM) {
            chunkM = m;
            chunkStart = start;
            chunkEnd = i;
          }
          m = 0;
          start = i - stride;
        }
      }
      m12 = m23;
      x12 = x23;
      y12 = y23;
    }
    x1 = x2;
    y1 = y2;
  }
  m += m23;
  return m > chunkM ? [start, i] : [chunkStart, chunkEnd];
}

;// CONCATENATED MODULE: ./node_modules/ol/render/canvas/TextBuilder.js
/**
 * @module ol/render/canvas/TextBuilder
 */








/**
 * @const
 * @type {{left: 0, center: 0.5, right: 1, top: 0, middle: 0.5, hanging: 0.2, alphabetic: 0.8, ideographic: 0.8, bottom: 1}}
 */
const TEXT_ALIGN = {
  'left': 0,
  'center': 0.5,
  'right': 1,
  'top': 0,
  'middle': 0.5,
  'hanging': 0.2,
  'alphabetic': 0.8,
  'ideographic': 0.8,
  'bottom': 1,
};

class CanvasTextBuilder extends Builder {
  /**
   * @param {number} tolerance Tolerance.
   * @param {import("../../extent.js").Extent} maxExtent Maximum extent.
   * @param {number} resolution Resolution.
   * @param {number} pixelRatio Pixel ratio.
   */
  constructor(tolerance, maxExtent, resolution, pixelRatio) {
    super(tolerance, maxExtent, resolution, pixelRatio);

    /**
     * @private
     * @type {Array<HTMLCanvasElement>}
     */
    this.labels_ = null;

    /**
     * @private
     * @type {string|Array<string>}
     */
    this.text_ = '';

    /**
     * @private
     * @type {number}
     */
    this.textOffsetX_ = 0;

    /**
     * @private
     * @type {number}
     */
    this.textOffsetY_ = 0;

    /**
     * @private
     * @type {boolean|undefined}
     */
    this.textRotateWithView_ = undefined;

    /**
     * @private
     * @type {boolean|undefined}
     */
    this.textKeepUpright_ = undefined;

    /**
     * @private
     * @type {number}
     */
    this.textRotation_ = 0;

    /**
     * @private
     * @type {?import("../canvas.js").FillState}
     */
    this.textFillState_ = null;

    /**
     * @type {!Object<string, import("../canvas.js").FillState>}
     */
    this.fillStates = {};
    this.fillStates[defaultFillStyle] = {fillStyle: defaultFillStyle};

    /**
     * @private
     * @type {?import("../canvas.js").StrokeState}
     */
    this.textStrokeState_ = null;

    /**
     * @type {!Object<string, import("../canvas.js").StrokeState>}
     */
    this.strokeStates = {};

    /**
     * @private
     * @type {import("../canvas.js").TextState}
     */
    this.textState_ = /** @type {import("../canvas.js").TextState} */ ({});

    /**
     * @type {!Object<string, import("../canvas.js").TextState>}
     */
    this.textStates = {};

    /**
     * @private
     * @type {string}
     */
    this.textKey_ = '';

    /**
     * @private
     * @type {string}
     */
    this.fillKey_ = '';

    /**
     * @private
     * @type {string}
     */
    this.strokeKey_ = '';

    /**
     * @private
     * @type {import('../../style/Style.js').DeclutterMode}
     */
    this.declutterMode_ = undefined;

    /**
     * Data shared with an image builder for combined decluttering.
     * @private
     * @type {import("../canvas.js").DeclutterImageWithText}
     */
    this.declutterImageWithText_ = undefined;
  }

  /**
   * @return {import("../canvas.js").SerializableInstructions} the serializable instructions.
   * @override
   */
  finish() {
    const instructions = super.finish();
    instructions.textStates = this.textStates;
    instructions.fillStates = this.fillStates;
    instructions.strokeStates = this.strokeStates;
    return instructions;
  }

  /**
   * @param {import("../../geom/SimpleGeometry.js").default|import("../Feature.js").default} geometry Geometry.
   * @param {import("../../Feature.js").FeatureLike} feature Feature.
   * @param {number} [index] Render order index.
   * @override
   */
  drawText(geometry, feature, index) {
    const fillState = this.textFillState_;
    const strokeState = this.textStrokeState_;
    const textState = this.textState_;
    if (this.text_ === '' || !textState || (!fillState && !strokeState)) {
      return;
    }

    const coordinates = this.coordinates;
    let begin = coordinates.length;

    const geometryType = geometry.getType();
    let flatCoordinates = null;
    let stride = geometry.getStride();

    if (
      textState.placement === 'line' &&
      (geometryType == 'LineString' ||
        geometryType == 'MultiLineString' ||
        geometryType == 'Polygon' ||
        geometryType == 'MultiPolygon')
    ) {
      if (!intersects(this.maxExtent, geometry.getExtent())) {
        return;
      }
      let ends;
      flatCoordinates = geometry.getFlatCoordinates();
      if (geometryType == 'LineString') {
        ends = [flatCoordinates.length];
      } else if (geometryType == 'MultiLineString') {
        ends = /** @type {import("../../geom/MultiLineString.js").default} */ (
          geometry
        ).getEnds();
      } else if (geometryType == 'Polygon') {
        ends = /** @type {import("../../geom/Polygon.js").default} */ (geometry)
          .getEnds()
          .slice(0, 1);
      } else if (geometryType == 'MultiPolygon') {
        const endss =
          /** @type {import("../../geom/MultiPolygon.js").default} */ (
            geometry
          ).getEndss();
        ends = [];
        for (let i = 0, ii = endss.length; i < ii; ++i) {
          ends.push(endss[i][0]);
        }
      }
      this.beginGeometry(geometry, feature, index);
      const repeat = textState.repeat;
      const textAlign = repeat ? undefined : textState.textAlign;
      // No `justify` support for line placement.
      let flatOffset = 0;
      for (let o = 0, oo = ends.length; o < oo; ++o) {
        let chunks;
        if (repeat) {
          chunks = lineChunk(
            repeat * this.resolution,
            flatCoordinates,
            flatOffset,
            ends[o],
            stride,
          );
        } else {
          chunks = [flatCoordinates.slice(flatOffset, ends[o])];
        }
        for (let c = 0, cc = chunks.length; c < cc; ++c) {
          const chunk = chunks[c];
          let chunkBegin = 0;
          let chunkEnd = chunk.length;
          if (textAlign == undefined) {
            const range = matchingChunk(
              textState.maxAngle,
              chunk,
              0,
              chunk.length,
              2,
            );
            chunkBegin = range[0];
            chunkEnd = range[1];
          }
          for (let i = chunkBegin; i < chunkEnd; i += stride) {
            coordinates.push(chunk[i], chunk[i + 1]);
          }
          const end = coordinates.length;
          flatOffset = ends[o];
          this.drawChars_(begin, end);
          begin = end;
        }
      }
      this.endGeometry(feature);
    } else {
      let geometryWidths = textState.overflow ? null : [];
      switch (geometryType) {
        case 'Point':
        case 'MultiPoint':
          flatCoordinates =
            /** @type {import("../../geom/MultiPoint.js").default} */ (
              geometry
            ).getFlatCoordinates();
          break;
        case 'LineString':
          flatCoordinates =
            /** @type {import("../../geom/LineString.js").default} */ (
              geometry
            ).getFlatMidpoint();
          break;
        case 'Circle':
          flatCoordinates =
            /** @type {import("../../geom/Circle.js").default} */ (
              geometry
            ).getCenter();
          break;
        case 'MultiLineString':
          flatCoordinates =
            /** @type {import("../../geom/MultiLineString.js").default} */ (
              geometry
            ).getFlatMidpoints();
          stride = 2;
          break;
        case 'Polygon':
          flatCoordinates =
            /** @type {import("../../geom/Polygon.js").default} */ (
              geometry
            ).getFlatInteriorPoint();
          if (!textState.overflow) {
            geometryWidths.push(flatCoordinates[2] / this.resolution);
          }
          stride = 3;
          break;
        case 'MultiPolygon':
          const interiorPoints =
            /** @type {import("../../geom/MultiPolygon.js").default} */ (
              geometry
            ).getFlatInteriorPoints();
          flatCoordinates = [];
          for (let i = 0, ii = interiorPoints.length; i < ii; i += 3) {
            if (!textState.overflow) {
              geometryWidths.push(interiorPoints[i + 2] / this.resolution);
            }
            flatCoordinates.push(interiorPoints[i], interiorPoints[i + 1]);
          }
          if (flatCoordinates.length === 0) {
            return;
          }
          stride = 2;
          break;
        default:
      }
      const end = this.appendFlatPointCoordinates(flatCoordinates, stride);
      if (end === begin) {
        return;
      }
      if (
        geometryWidths &&
        (end - begin) / 2 !== flatCoordinates.length / stride
      ) {
        let beg = begin / 2;
        geometryWidths = geometryWidths.filter((w, i) => {
          const keep =
            coordinates[(beg + i) * 2] === flatCoordinates[i * stride] &&
            coordinates[(beg + i) * 2 + 1] === flatCoordinates[i * stride + 1];
          if (!keep) {
            --beg;
          }
          return keep;
        });
      }

      this.saveTextStates_();

      const backgroundFill = textState.backgroundFill
        ? this.createFill(this.fillStyleToState(textState.backgroundFill))
        : null;
      const backgroundStroke = textState.backgroundStroke
        ? this.createStroke(this.strokeStyleToState(textState.backgroundStroke))
        : null;

      this.beginGeometry(geometry, feature, index);

      // adjust padding for negative scale
      let padding = textState.padding;
      if (
        padding != defaultPadding &&
        (textState.scale[0] < 0 || textState.scale[1] < 0)
      ) {
        let p0 = textState.padding[0];
        let p1 = textState.padding[1];
        let p2 = textState.padding[2];
        let p3 = textState.padding[3];
        if (textState.scale[0] < 0) {
          p1 = -p1;
          p3 = -p3;
        }
        if (textState.scale[1] < 0) {
          p0 = -p0;
          p2 = -p2;
        }
        padding = [p0, p1, p2, p3];
      }

      // The image is unknown at this stage so we pass null; it will be computed at render time.
      // For clarity, we pass NaN for offsetX, offsetY, width and height, which will be computed at
      // render time.
      const pixelRatio = this.pixelRatio;
      this.instructions.push([
        canvas_Instruction.DRAW_IMAGE,
        begin,
        end,
        null,
        NaN,
        NaN,
        NaN,
        1,
        0,
        0,
        this.textRotateWithView_,
        this.textRotation_,
        [1, 1],
        NaN,
        this.declutterMode_,
        this.declutterImageWithText_,
        padding == defaultPadding
          ? defaultPadding
          : padding.map(function (p) {
              return p * pixelRatio;
            }),
        backgroundFill,
        backgroundStroke,
        this.text_,
        this.textKey_,
        this.strokeKey_,
        this.fillKey_,
        this.textOffsetX_,
        this.textOffsetY_,
        geometryWidths,
      ]);
      const scale = 1 / pixelRatio;
      // Set default fill for hit detection background
      const hitDetectionBackgroundFill = backgroundFill
        ? backgroundFill.slice(0)
        : null;
      if (hitDetectionBackgroundFill) {
        hitDetectionBackgroundFill[1] = defaultFillStyle;
      }
      this.hitDetectionInstructions.push([
        canvas_Instruction.DRAW_IMAGE,
        begin,
        end,
        null,
        NaN,
        NaN,
        NaN,
        1,
        0,
        0,
        this.textRotateWithView_,
        this.textRotation_,
        [scale, scale],
        NaN,
        this.declutterMode_,
        this.declutterImageWithText_,
        padding,
        hitDetectionBackgroundFill,
        backgroundStroke,
        this.text_,
        this.textKey_,
        this.strokeKey_,
        this.fillKey_ ? defaultFillStyle : this.fillKey_,
        this.textOffsetX_,
        this.textOffsetY_,
        geometryWidths,
      ]);

      this.endGeometry(feature);
    }
  }

  /**
   * @private
   */
  saveTextStates_() {
    const strokeState = this.textStrokeState_;
    const textState = this.textState_;
    const fillState = this.textFillState_;

    const strokeKey = this.strokeKey_;
    if (strokeState) {
      if (!(strokeKey in this.strokeStates)) {
        this.strokeStates[strokeKey] = {
          strokeStyle: strokeState.strokeStyle,
          lineCap: strokeState.lineCap,
          lineDashOffset: strokeState.lineDashOffset,
          lineWidth: strokeState.lineWidth,
          lineJoin: strokeState.lineJoin,
          miterLimit: strokeState.miterLimit,
          lineDash: strokeState.lineDash,
        };
      }
    }
    const textKey = this.textKey_;
    if (!(textKey in this.textStates)) {
      this.textStates[textKey] = {
        font: textState.font,
        textAlign: textState.textAlign || defaultTextAlign,
        justify: textState.justify,
        textBaseline: textState.textBaseline || defaultTextBaseline,
        scale: textState.scale,
      };
    }
    const fillKey = this.fillKey_;
    if (fillState) {
      if (!(fillKey in this.fillStates)) {
        this.fillStates[fillKey] = {
          fillStyle: fillState.fillStyle,
        };
      }
    }
  }

  /**
   * @private
   * @param {number} begin Begin.
   * @param {number} end End.
   */
  drawChars_(begin, end) {
    const strokeState = this.textStrokeState_;
    const textState = this.textState_;

    const strokeKey = this.strokeKey_;
    const textKey = this.textKey_;
    const fillKey = this.fillKey_;
    this.saveTextStates_();

    const pixelRatio = this.pixelRatio;
    const baseline = TEXT_ALIGN[textState.textBaseline];

    const offsetY = this.textOffsetY_ * pixelRatio;
    const text = this.text_;
    const strokeWidth = strokeState
      ? (strokeState.lineWidth * Math.abs(textState.scale[0])) / 2
      : 0;

    this.instructions.push([
      canvas_Instruction.DRAW_CHARS,
      begin,
      end,
      baseline,
      textState.overflow,
      fillKey,
      textState.maxAngle,
      pixelRatio,
      offsetY,
      strokeKey,
      strokeWidth * pixelRatio,
      text,
      textKey,
      1,
      this.declutterMode_,
      this.textKeepUpright_,
    ]);
    this.hitDetectionInstructions.push([
      canvas_Instruction.DRAW_CHARS,
      begin,
      end,
      baseline,
      textState.overflow,
      fillKey ? defaultFillStyle : fillKey,
      textState.maxAngle,
      pixelRatio,
      offsetY,
      strokeKey,
      strokeWidth * pixelRatio,
      text,
      textKey,
      1 / pixelRatio,
      this.declutterMode_,
      this.textKeepUpright_,
    ]);
  }

  /**
   * @param {import("../../style/Text.js").default} textStyle Text style.
   * @param {Object} [sharedData] Shared data.
   * @override
   */
  setTextStyle(textStyle, sharedData) {
    let textState, fillState, strokeState;
    if (!textStyle) {
      this.text_ = '';
    } else {
      const textFillStyle = textStyle.getFill();
      if (!textFillStyle) {
        fillState = null;
        this.textFillState_ = fillState;
      } else {
        fillState = this.textFillState_;
        if (!fillState) {
          fillState = /** @type {import("../canvas.js").FillState} */ ({});
          this.textFillState_ = fillState;
        }
        fillState.fillStyle = asColorLike(
          textFillStyle.getColor() || defaultFillStyle,
        );
      }

      const textStrokeStyle = textStyle.getStroke();
      if (!textStrokeStyle) {
        strokeState = null;
        this.textStrokeState_ = strokeState;
      } else {
        strokeState = this.textStrokeState_;
        if (!strokeState) {
          strokeState = /** @type {import("../canvas.js").StrokeState} */ ({});
          this.textStrokeState_ = strokeState;
        }
        const lineDash = textStrokeStyle.getLineDash();
        const lineDashOffset = textStrokeStyle.getLineDashOffset();
        const lineWidth = textStrokeStyle.getWidth();
        const miterLimit = textStrokeStyle.getMiterLimit();
        strokeState.lineCap = textStrokeStyle.getLineCap() || defaultLineCap;
        strokeState.lineDash = lineDash ? lineDash.slice() : defaultLineDash;
        strokeState.lineDashOffset =
          lineDashOffset === undefined ? defaultLineDashOffset : lineDashOffset;
        strokeState.lineJoin = textStrokeStyle.getLineJoin() || defaultLineJoin;
        strokeState.lineWidth =
          lineWidth === undefined ? defaultLineWidth : lineWidth;
        strokeState.miterLimit =
          miterLimit === undefined ? defaultMiterLimit : miterLimit;
        strokeState.strokeStyle = asColorLike(
          textStrokeStyle.getColor() || defaultStrokeStyle,
        );
      }

      textState = this.textState_;
      const font = textStyle.getFont() || defaultFont;
      registerFont(font);
      const textScale = textStyle.getScaleArray();
      textState.overflow = textStyle.getOverflow();
      textState.font = font;
      textState.maxAngle = textStyle.getMaxAngle();
      textState.placement = textStyle.getPlacement();
      textState.textAlign = textStyle.getTextAlign();
      textState.repeat = textStyle.getRepeat();
      textState.justify = textStyle.getJustify();
      textState.textBaseline =
        textStyle.getTextBaseline() || defaultTextBaseline;
      textState.backgroundFill = textStyle.getBackgroundFill();
      textState.backgroundStroke = textStyle.getBackgroundStroke();
      textState.padding = textStyle.getPadding() || defaultPadding;
      textState.scale = textScale === undefined ? [1, 1] : textScale;

      const textOffsetX = textStyle.getOffsetX();
      const textOffsetY = textStyle.getOffsetY();
      const textRotateWithView = textStyle.getRotateWithView();
      const textKeepUpright = textStyle.getKeepUpright();
      const textRotation = textStyle.getRotation();
      this.text_ = textStyle.getText() || '';
      this.textOffsetX_ = textOffsetX === undefined ? 0 : textOffsetX;
      this.textOffsetY_ = textOffsetY === undefined ? 0 : textOffsetY;
      this.textRotateWithView_ =
        textRotateWithView === undefined ? false : textRotateWithView;
      this.textKeepUpright_ =
        textKeepUpright === undefined ? true : textKeepUpright;
      this.textRotation_ = textRotation === undefined ? 0 : textRotation;

      this.strokeKey_ = strokeState
        ? (typeof strokeState.strokeStyle == 'string'
            ? strokeState.strokeStyle
            : getUid(strokeState.strokeStyle)) +
          strokeState.lineCap +
          strokeState.lineDashOffset +
          '|' +
          strokeState.lineWidth +
          strokeState.lineJoin +
          strokeState.miterLimit +
          '[' +
          strokeState.lineDash.join() +
          ']'
        : '';
      this.textKey_ =
        textState.font +
        textState.scale +
        (textState.textAlign || '?') +
        (textState.repeat || '?') +
        (textState.justify || '?') +
        (textState.textBaseline || '?');
      this.fillKey_ =
        fillState && fillState.fillStyle
          ? typeof fillState.fillStyle == 'string'
            ? fillState.fillStyle
            : '|' + getUid(fillState.fillStyle)
          : '';
    }
    this.declutterMode_ = textStyle.getDeclutterMode();
    this.declutterImageWithText_ = sharedData;
  }
}

/* harmony default export */ const TextBuilder = (CanvasTextBuilder);

;// CONCATENATED MODULE: ./node_modules/ol/render/canvas/BuilderGroup.js
/**
 * @module ol/render/canvas/BuilderGroup
 */







/**
 * @type {Object<import("../canvas.js").BuilderType, typeof Builder>}
 */
const BATCH_CONSTRUCTORS = {
  'Circle': PolygonBuilder,
  'Default': Builder,
  'Image': ImageBuilder,
  'LineString': LineStringBuilder,
  'Polygon': PolygonBuilder,
  'Text': TextBuilder,
};

class BuilderGroup {
  /**
   * @param {number} tolerance Tolerance.
   * @param {import("../../extent.js").Extent} maxExtent Max extent.
   * @param {number} resolution Resolution.
   * @param {number} pixelRatio Pixel ratio.
   */
  constructor(tolerance, maxExtent, resolution, pixelRatio) {
    /**
     * @private
     * @type {number}
     */
    this.tolerance_ = tolerance;

    /**
     * @private
     * @type {import("../../extent.js").Extent}
     */
    this.maxExtent_ = maxExtent;

    /**
     * @private
     * @type {number}
     */
    this.pixelRatio_ = pixelRatio;

    /**
     * @private
     * @type {number}
     */
    this.resolution_ = resolution;

    /**
     * @private
     * @type {!Object<string, !Object<import("../canvas.js").BuilderType, Builder>>}
     */
    this.buildersByZIndex_ = {};
  }

  /**
   * @return {!Object<string, !Object<import("../canvas.js").BuilderType, import("./Builder.js").SerializableInstructions>>} The serializable instructions
   */
  finish() {
    const builderInstructions = {};
    for (const zKey in this.buildersByZIndex_) {
      builderInstructions[zKey] = builderInstructions[zKey] || {};
      const builders = this.buildersByZIndex_[zKey];
      for (const builderKey in builders) {
        const builderInstruction = builders[builderKey].finish();
        builderInstructions[zKey][builderKey] = builderInstruction;
      }
    }
    return builderInstructions;
  }

  /**
   * @param {number|undefined} zIndex Z index.
   * @param {import("../canvas.js").BuilderType} builderType Replay type.
   * @return {import("../VectorContext.js").default} Replay.
   */
  getBuilder(zIndex, builderType) {
    const zIndexKey = zIndex !== undefined ? zIndex.toString() : '0';
    let replays = this.buildersByZIndex_[zIndexKey];
    if (replays === undefined) {
      replays = {};
      this.buildersByZIndex_[zIndexKey] = replays;
    }
    let replay = replays[builderType];
    if (replay === undefined) {
      const Constructor = BATCH_CONSTRUCTORS[builderType];
      replay = new Constructor(
        this.tolerance_,
        this.maxExtent_,
        this.resolution_,
        this.pixelRatio_,
      );
      replays[builderType] = replay;
    }
    return replay;
  }
}

/* harmony default export */ const canvas_BuilderGroup = (BuilderGroup);

;// CONCATENATED MODULE: ./node_modules/ol/geom/flat/length.js
/**
 * @module ol/geom/flat/length
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @return {number} Length.
 */
function lineStringLength(flatCoordinates, offset, end, stride) {
  let x1 = flatCoordinates[offset];
  let y1 = flatCoordinates[offset + 1];
  let length = 0;
  for (let i = offset + stride; i < end; i += stride) {
    const x2 = flatCoordinates[i];
    const y2 = flatCoordinates[i + 1];
    length += Math.sqrt((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1));
    x1 = x2;
    y1 = y2;
  }
  return length;
}

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @return {number} Perimeter.
 */
function linearRingLength(flatCoordinates, offset, end, stride) {
  let perimeter = lineStringLength(flatCoordinates, offset, end, stride);
  const dx = flatCoordinates[end - stride] - flatCoordinates[offset];
  const dy = flatCoordinates[end - stride + 1] - flatCoordinates[offset + 1];
  perimeter += Math.sqrt(dx * dx + dy * dy);
  return perimeter;
}

;// CONCATENATED MODULE: ./node_modules/ol/geom/flat/textpath.js
/**
 * @module ol/geom/flat/textpath
 */



/**
 * @param {Array<number>} flatCoordinates Path to put text on.
 * @param {number} offset Start offset of the `flatCoordinates`.
 * @param {number} end End offset of the `flatCoordinates`.
 * @param {number} stride Stride.
 * @param {string} text Text to place on the path.
 * @param {number} startM m along the path where the text starts.
 * @param {number} maxAngle Max angle between adjacent chars in radians.
 * @param {number} scale The product of the text scale and the device pixel ratio.
 * @param {function(string, string, Object<string, number>):number} measureAndCacheTextWidth Measure and cache text width.
 * @param {string} font The font.
 * @param {Object<string, number>} cache A cache of measured widths.
 * @param {number} rotation Rotation to apply to the flatCoordinates to determine whether text needs to be reversed.
 * @param {boolean} keepUpright Whether the text needs to be kept upright
 * @return {Array<Array<*>>|null} The result array (or null if `maxAngle` was
 * exceeded). Entries of the array are x, y, anchorX, angle, chunk.
 */
function drawTextOnPath(
  flatCoordinates,
  offset,
  end,
  stride,
  text,
  startM,
  maxAngle,
  scale,
  measureAndCacheTextWidth,
  font,
  cache,
  rotation,
  keepUpright = true,
) {
  let x2 = flatCoordinates[offset];
  let y2 = flatCoordinates[offset + 1];
  let x1 = 0;
  let y1 = 0;
  let segmentLength = 0;
  let segmentM = 0;

  function advance() {
    x1 = x2;
    y1 = y2;
    offset += stride;
    x2 = flatCoordinates[offset];
    y2 = flatCoordinates[offset + 1];
    segmentM += segmentLength;
    segmentLength = Math.sqrt((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1));
  }
  do {
    advance();
  } while (offset < end - stride && segmentM + segmentLength < startM);

  let interpolate =
    segmentLength === 0 ? 0 : (startM - segmentM) / segmentLength;
  const beginX = math_lerp(x1, x2, interpolate);
  const beginY = math_lerp(y1, y2, interpolate);

  const startOffset = offset - stride;
  const startLength = segmentM;
  const endM = startM + scale * measureAndCacheTextWidth(font, text, cache);
  while (offset < end - stride && segmentM + segmentLength < endM) {
    advance();
  }
  interpolate = segmentLength === 0 ? 0 : (endM - segmentM) / segmentLength;
  const endX = math_lerp(x1, x2, interpolate);
  const endY = math_lerp(y1, y2, interpolate);

  // Keep text upright if the option is selected
  let reverse = false;
  if (keepUpright) {
    if (rotation) {
      const flat = [beginX, beginY, endX, endY];
      flat_transform_rotate(flat, 0, 4, 2, rotation, flat, flat);
      reverse = flat[0] > flat[2];
    } else {
      reverse = beginX > endX;
    }
  }

  const PI = Math.PI;
  const result = [];
  const singleSegment = startOffset + stride === offset;

  offset = startOffset;
  segmentLength = 0;
  segmentM = startLength;
  x2 = flatCoordinates[offset];
  y2 = flatCoordinates[offset + 1];

  let previousAngle;
  // All on the same segment
  if (singleSegment) {
    advance();

    previousAngle = Math.atan2(y2 - y1, x2 - x1);
    if (reverse) {
      previousAngle += previousAngle > 0 ? -PI : PI;
    }
    const x = (endX + beginX) / 2;
    const y = (endY + beginY) / 2;
    result[0] = [x, y, (endM - startM) / 2, previousAngle, text];
    return result;
  }

  // rendering across line segments
  text = text.replace(/\n/g, ' '); // ensure rendering in single-line as all calculations below don't handle multi-lines

  for (let i = 0, ii = text.length; i < ii; ) {
    advance();
    let angle = Math.atan2(y2 - y1, x2 - x1);
    if (reverse) {
      angle += angle > 0 ? -PI : PI;
    }
    if (previousAngle !== undefined) {
      let delta = angle - previousAngle;
      delta += delta > PI ? -2 * PI : delta < -PI ? 2 * PI : 0;
      if (Math.abs(delta) > maxAngle) {
        return null;
      }
    }
    previousAngle = angle;

    const iStart = i;
    let charLength = 0;
    for (; i < ii; ++i) {
      const index = reverse ? ii - i - 1 : i;
      const len = scale * measureAndCacheTextWidth(font, text[index], cache);
      if (
        offset + stride < end &&
        segmentM + segmentLength < startM + charLength + len / 2
      ) {
        break;
      }
      charLength += len;
    }
    if (i === iStart) {
      continue;
    }
    const chars = reverse
      ? text.substring(ii - iStart, ii - i)
      : text.substring(iStart, i);
    interpolate =
      segmentLength === 0
        ? 0
        : (startM + charLength / 2 - segmentM) / segmentLength;
    const x = math_lerp(x1, x2, interpolate);
    const y = math_lerp(y1, y2, interpolate);
    result.push([x, y, charLength / 2, angle, chars]);
    startM += charLength;
  }
  return result;
}

;// CONCATENATED MODULE: ./node_modules/ol/render/canvas/ZIndexContext.js
/**
 * @module ol/render/canvas/ZIndexContext
 */



/** @typedef {CanvasRenderingContext2D & {globalAlpha: any}} ZIndexContextProxy */

/**
 * @extends {CanvasRenderingContext2D}
 */
class ZIndexContext {
  constructor() {
    /**
     * @private
     * @type {Array<Array<*>>}
     */
    this.instructions_ = [];
    /**
     * @type {number}
     */
    this.zIndex = 0;
    /**
     * @private
     * @type {number}
     */
    this.offset_ = 0;

    /**
     * @private
     * @type {ZIndexContextProxy}
     */
    this.context_ = /** @type {ZIndexContextProxy} */ (
      new Proxy(getSharedCanvasContext2D(), {
        get: (target, property) => {
          if (
            typeof (/** @type {*} */ (getSharedCanvasContext2D())[property]) !==
            'function'
          ) {
            // we only accept calling functions on the proxy, not accessing properties
            return undefined;
          }
          this.push_(property);
          return this.pushMethodArgs_;
        },
        set: (target, property, value) => {
          this.push_(property, value);
          return true;
        },
      })
    );
  }

  /**
   * @param {...*} args Arguments to push to the instructions array.
   * @private
   */
  push_(...args) {
    const instructions = this.instructions_;
    const index = this.zIndex + this.offset_;
    if (!instructions[index]) {
      instructions[index] = [];
    }
    instructions[index].push(...args);
  }

  /**
   * @private
   * @param {...*} args Args.
   * @return {ZIndexContext} This.
   */
  pushMethodArgs_ = (...args) => {
    this.push_(args);
    return this;
  };

  /**
   * Push a function that renders to the context directly.
   * @param {function(CanvasRenderingContext2D): void} render Function.
   */
  pushFunction(render) {
    this.push_(render);
  }

  /**
   * Get a proxy for CanvasRenderingContext2D which does not support getting state
   * (e.g. `context.globalAlpha`, which will return `undefined`). To set state, if it relies on a
   * previous state (e.g. `context.globalAlpha = context.globalAlpha / 2`), set a function,
   * e.g. `context.globalAlpha = (context) => context.globalAlpha / 2`.
   * @return {ZIndexContextProxy} Context.
   */
  getContext() {
    return this.context_;
  }

  /**
   * @param {CanvasRenderingContext2D} context Context.
   */
  draw(context) {
    this.instructions_.forEach((instructionsAtIndex) => {
      for (let i = 0, ii = instructionsAtIndex.length; i < ii; ++i) {
        const property = instructionsAtIndex[i];
        if (typeof property === 'function') {
          property(context);
          continue;
        }
        const instructionAtIndex = instructionsAtIndex[++i];
        if (typeof (/** @type {*} */ (context)[property]) === 'function') {
          /** @type {*} */ (context)[property](...instructionAtIndex);
        } else {
          if (typeof instructionAtIndex === 'function') {
            /** @type {*} */ (context)[property] = instructionAtIndex(context);
            continue;
          }
          /** @type {*} */ (context)[property] = instructionAtIndex;
        }
      }
    });
  }

  clear() {
    this.instructions_.length = 0;
    this.zIndex = 0;
    this.offset_ = 0;
  }

  /**
   * Offsets the zIndex by the highest current zIndex. Useful for rendering multiple worlds or tiles, to
   * avoid conflicting context.clip() or context.save()/restore() calls.
   */
  offset() {
    this.offset_ = this.instructions_.length;
    this.zIndex = 0;
  }
}

/* harmony default export */ const canvas_ZIndexContext = (ZIndexContext);

;// CONCATENATED MODULE: ./node_modules/ol/render/canvas/Executor.js
/**
 * @module ol/render/canvas/Executor
 */











/**
 * @typedef {import('../../structs/RBush.js').Entry<import('../../Feature.js').FeatureLike>} DeclutterEntry
 */

/**
 * @typedef {Object} ImageOrLabelDimensions
 * @property {number} drawImageX DrawImageX.
 * @property {number} drawImageY DrawImageY.
 * @property {number} drawImageW DrawImageW.
 * @property {number} drawImageH DrawImageH.
 * @property {number} originX OriginX.
 * @property {number} originY OriginY.
 * @property {Array<number>} scale Scale.
 * @property {DeclutterEntry} declutterBox DeclutterBox.
 * @property {import("../../transform.js").Transform} canvasTransform CanvasTransform.
 */

/**
 * @typedef {{0: CanvasRenderingContext2D, 1: import('../../size.js').Size, 2: import("../canvas.js").Label|HTMLImageElement|HTMLCanvasElement|HTMLVideoElement, 3: ImageOrLabelDimensions, 4: number, 5: Array<*>, 6: Array<*>}} ReplayImageOrLabelArgs
 */

/**
 * @template T
 * @typedef {function(import("../../Feature.js").FeatureLike, import("../../geom/SimpleGeometry.js").default, import("../../style/Style.js").DeclutterMode): T} FeatureCallback
 */

/**
 * @type {import("../../extent.js").Extent}
 */
const tmpExtent = createEmpty();

/** @type {import("../../coordinate.js").Coordinate} */
const p1 = [];
/** @type {import("../../coordinate.js").Coordinate} */
const p2 = [];
/** @type {import("../../coordinate.js").Coordinate} */
const p3 = [];
/** @type {import("../../coordinate.js").Coordinate} */
const p4 = [];

/**
 * @param {ReplayImageOrLabelArgs} replayImageOrLabelArgs Arguments to replayImageOrLabel
 * @return {DeclutterEntry} Declutter rbush entry.
 */
function getDeclutterBox(replayImageOrLabelArgs) {
  return replayImageOrLabelArgs[3].declutterBox;
}

const rtlRegEx = new RegExp(
  /* eslint-disable prettier/prettier */
  '[' +
    String.fromCharCode(0x00591) + '-' + String.fromCharCode(0x008ff) +
    String.fromCharCode(0x0fb1d) + '-' + String.fromCharCode(0x0fdff) +
    String.fromCharCode(0x0fe70) + '-' + String.fromCharCode(0x0fefc) +
    String.fromCharCode(0x10800) + '-' + String.fromCharCode(0x10fff) +
    String.fromCharCode(0x1e800) + '-' + String.fromCharCode(0x1efff) +
  ']'
  /* eslint-enable prettier/prettier */
);

/**
 * @param {string} text Text.
 * @param {CanvasTextAlign} align Alignment.
 * @return {number} Text alignment.
 */
function horizontalTextAlign(text, align) {
  if (align === 'start') {
    align = rtlRegEx.test(text) ? 'right' : 'left';
  } else if (align === 'end') {
    align = rtlRegEx.test(text) ? 'left' : 'right';
  }
  return TEXT_ALIGN[align];
}

/**
 * @param {Array<string>} acc Accumulator.
 * @param {string} line Line of text.
 * @param {number} i Index
 * @return {Array<string>} Accumulator.
 */
function createTextChunks(acc, line, i) {
  if (i > 0) {
    acc.push('\n', '');
  }
  acc.push(line, '');
  return acc;
}

/**
 * Converts rich text to plain text for text along lines.
 * @param {string} result The resulting plain text.
 * @param {string} part Item of the rich text array.
 * @param {number} index Index of the item in the rich text array.
 * @return {string} The resulting plain text.
 */
function richTextToPlainText(result, part, index) {
  if (index % 2 === 0) {
    result += part;
  }
  return result;
}

class Executor {
  /**
   * @param {number} resolution Resolution.
   * @param {number} pixelRatio Pixel ratio.
   * @param {boolean} overlaps The replay can have overlapping geometries.
   * @param {import("../canvas.js").SerializableInstructions} instructions The serializable instructions.
   * @param {boolean} [deferredRendering] Enable deferred rendering.
   */
  constructor(
    resolution,
    pixelRatio,
    overlaps,
    instructions,
    deferredRendering,
  ) {
    /**
     * @protected
     * @type {boolean}
     */
    this.overlaps = overlaps;

    /**
     * @protected
     * @type {number}
     */
    this.pixelRatio = pixelRatio;

    /**
     * @protected
     * @const
     * @type {number}
     */
    this.resolution = resolution;

    /**
     * @private
     * @type {number}
     */
    this.alignAndScaleFill_;

    /**
     * @protected
     * @type {Array<*>}
     */
    this.instructions = instructions.instructions;

    /**
     * @protected
     * @type {Array<number>}
     */
    this.coordinates = instructions.coordinates;

    /**
     * @private
     * @type {!Object<number,import("../../coordinate.js").Coordinate|Array<import("../../coordinate.js").Coordinate>|Array<Array<import("../../coordinate.js").Coordinate>>>}
     */
    this.coordinateCache_ = {};

    /**
     * @private
     * @type {!import("../../transform.js").Transform}
     */
    this.renderedTransform_ = create();

    /**
     * @protected
     * @type {Array<*>}
     */
    this.hitDetectionInstructions = instructions.hitDetectionInstructions;

    /**
     * @private
     * @type {Array<number>}
     */
    this.pixelCoordinates_ = null;

    /**
     * @private
     * @type {number}
     */
    this.viewRotation_ = 0;

    /**
     * @type {!Object<string, import("../canvas.js").FillState>}
     */
    this.fillStates = instructions.fillStates || {};

    /**
     * @type {!Object<string, import("../canvas.js").StrokeState>}
     */
    this.strokeStates = instructions.strokeStates || {};

    /**
     * @type {!Object<string, import("../canvas.js").TextState>}
     */
    this.textStates = instructions.textStates || {};

    /**
     * @private
     * @type {Object<string, Object<string, number>>}
     */
    this.widths_ = {};

    /**
     * @private
     * @type {Object<string, import("../canvas.js").Label>}
     */
    this.labels_ = {};

    /**
     * @private
     * @type {import("../canvas/ZIndexContext.js").default}
     */
    this.zIndexContext_ = deferredRendering ? new canvas_ZIndexContext() : null;
  }

  /**
   * @return {ZIndexContext} ZIndex context.
   */
  getZIndexContext() {
    return this.zIndexContext_;
  }

  /**
   * @param {string|Array<string>} text Text.
   * @param {string} textKey Text style key.
   * @param {string} fillKey Fill style key.
   * @param {string} strokeKey Stroke style key.
   * @return {import("../canvas.js").Label} Label.
   */
  createLabel(text, textKey, fillKey, strokeKey) {
    const key = text + textKey + fillKey + strokeKey;
    if (this.labels_[key]) {
      return this.labels_[key];
    }
    const strokeState = strokeKey ? this.strokeStates[strokeKey] : null;
    const fillState = fillKey ? this.fillStates[fillKey] : null;
    const textState = this.textStates[textKey];
    const pixelRatio = this.pixelRatio;
    const scale = [
      textState.scale[0] * pixelRatio,
      textState.scale[1] * pixelRatio,
    ];
    const align = textState.justify
      ? TEXT_ALIGN[textState.justify]
      : horizontalTextAlign(
          Array.isArray(text) ? text[0] : text,
          textState.textAlign || defaultTextAlign,
        );
    const strokeWidth =
      strokeKey && strokeState.lineWidth ? strokeState.lineWidth : 0;

    const chunks = Array.isArray(text)
      ? text
      : String(text).split('\n').reduce(createTextChunks, []);

    const {width, height, widths, heights, lineWidths} = getTextDimensions(
      textState,
      chunks,
    );
    const renderWidth = width + strokeWidth;
    const contextInstructions = [];
    // make canvas 2 pixels wider to account for italic text width measurement errors
    const w = (renderWidth + 2) * scale[0];
    const h = (height + strokeWidth) * scale[1];
    /** @type {import("../canvas.js").Label} */
    const label = {
      width: w < 0 ? Math.floor(w) : Math.ceil(w),
      height: h < 0 ? Math.floor(h) : Math.ceil(h),
      contextInstructions: contextInstructions,
    };
    if (scale[0] != 1 || scale[1] != 1) {
      contextInstructions.push('scale', scale);
    }
    if (strokeKey) {
      contextInstructions.push('strokeStyle', strokeState.strokeStyle);
      contextInstructions.push('lineWidth', strokeWidth);
      contextInstructions.push('lineCap', strokeState.lineCap);
      contextInstructions.push('lineJoin', strokeState.lineJoin);
      contextInstructions.push('miterLimit', strokeState.miterLimit);
      contextInstructions.push('setLineDash', [strokeState.lineDash]);
      contextInstructions.push('lineDashOffset', strokeState.lineDashOffset);
    }
    if (fillKey) {
      contextInstructions.push('fillStyle', fillState.fillStyle);
    }
    contextInstructions.push('textBaseline', 'middle');
    contextInstructions.push('textAlign', 'center');
    const leftRight = 0.5 - align;
    let x = align * renderWidth + leftRight * strokeWidth;
    const strokeInstructions = [];
    const fillInstructions = [];
    let lineHeight = 0;
    let lineOffset = 0;
    let widthHeightIndex = 0;
    let lineWidthIndex = 0;
    let previousFont;
    for (let i = 0, ii = chunks.length; i < ii; i += 2) {
      const text = chunks[i];
      if (text === '\n') {
        lineOffset += lineHeight;
        lineHeight = 0;
        x = align * renderWidth + leftRight * strokeWidth;
        ++lineWidthIndex;
        continue;
      }
      const font = chunks[i + 1] || textState.font;
      if (font !== previousFont) {
        if (strokeKey) {
          strokeInstructions.push('font', font);
        }
        if (fillKey) {
          fillInstructions.push('font', font);
        }
        previousFont = font;
      }
      lineHeight = Math.max(lineHeight, heights[widthHeightIndex]);
      const fillStrokeArgs = [
        text,
        x +
          leftRight * widths[widthHeightIndex] +
          align * (widths[widthHeightIndex] - lineWidths[lineWidthIndex]),
        0.5 * (strokeWidth + lineHeight) + lineOffset,
      ];
      x += widths[widthHeightIndex];
      if (strokeKey) {
        strokeInstructions.push('strokeText', fillStrokeArgs);
      }
      if (fillKey) {
        fillInstructions.push('fillText', fillStrokeArgs);
      }
      ++widthHeightIndex;
    }
    Array.prototype.push.apply(contextInstructions, strokeInstructions);
    Array.prototype.push.apply(contextInstructions, fillInstructions);
    this.labels_[key] = label;
    return label;
  }

  /**
   * @param {CanvasRenderingContext2D} context Context.
   * @param {import("../../coordinate.js").Coordinate} p1 1st point of the background box.
   * @param {import("../../coordinate.js").Coordinate} p2 2nd point of the background box.
   * @param {import("../../coordinate.js").Coordinate} p3 3rd point of the background box.
   * @param {import("../../coordinate.js").Coordinate} p4 4th point of the background box.
   * @param {Array<*>} fillInstruction Fill instruction.
   * @param {Array<*>} strokeInstruction Stroke instruction.
   */
  replayTextBackground_(
    context,
    p1,
    p2,
    p3,
    p4,
    fillInstruction,
    strokeInstruction,
  ) {
    context.beginPath();
    context.moveTo.apply(context, p1);
    context.lineTo.apply(context, p2);
    context.lineTo.apply(context, p3);
    context.lineTo.apply(context, p4);
    context.lineTo.apply(context, p1);
    if (fillInstruction) {
      this.alignAndScaleFill_ = /** @type {number} */ (fillInstruction[2]);
      context.fillStyle = /** @type {string} */ (fillInstruction[1]);
      this.fill_(context);
    }
    if (strokeInstruction) {
      this.setStrokeStyle_(
        context,
        /** @type {Array<*>} */ (strokeInstruction),
      );
      context.stroke();
    }
  }

  /**
   * @private
   * @param {number} sheetWidth Width of the sprite sheet.
   * @param {number} sheetHeight Height of the sprite sheet.
   * @param {number} centerX X.
   * @param {number} centerY Y.
   * @param {number} width Width.
   * @param {number} height Height.
   * @param {number} anchorX Anchor X.
   * @param {number} anchorY Anchor Y.
   * @param {number} originX Origin X.
   * @param {number} originY Origin Y.
   * @param {number} rotation Rotation.
   * @param {import("../../size.js").Size} scale Scale.
   * @param {boolean} snapToPixel Snap to pixel.
   * @param {Array<number>} padding Padding.
   * @param {boolean} fillStroke Background fill or stroke.
   * @param {import("../../Feature.js").FeatureLike} feature Feature.
   * @return {ImageOrLabelDimensions} Dimensions for positioning and decluttering the image or label.
   */
  calculateImageOrLabelDimensions_(
    sheetWidth,
    sheetHeight,
    centerX,
    centerY,
    width,
    height,
    anchorX,
    anchorY,
    originX,
    originY,
    rotation,
    scale,
    snapToPixel,
    padding,
    fillStroke,
    feature,
  ) {
    anchorX *= scale[0];
    anchorY *= scale[1];
    let x = centerX - anchorX;
    let y = centerY - anchorY;

    const w = width + originX > sheetWidth ? sheetWidth - originX : width;
    const h = height + originY > sheetHeight ? sheetHeight - originY : height;
    const boxW = padding[3] + w * scale[0] + padding[1];
    const boxH = padding[0] + h * scale[1] + padding[2];
    const boxX = x - padding[3];
    const boxY = y - padding[0];

    if (fillStroke || rotation !== 0) {
      p1[0] = boxX;
      p4[0] = boxX;
      p1[1] = boxY;
      p2[1] = boxY;
      p2[0] = boxX + boxW;
      p3[0] = p2[0];
      p3[1] = boxY + boxH;
      p4[1] = p3[1];
    }

    let transform;
    if (rotation !== 0) {
      transform = compose(
        create(),
        centerX,
        centerY,
        1,
        1,
        rotation,
        -centerX,
        -centerY,
      );

      apply(transform, p1);
      apply(transform, p2);
      apply(transform, p3);
      apply(transform, p4);
      createOrUpdate(
        Math.min(p1[0], p2[0], p3[0], p4[0]),
        Math.min(p1[1], p2[1], p3[1], p4[1]),
        Math.max(p1[0], p2[0], p3[0], p4[0]),
        Math.max(p1[1], p2[1], p3[1], p4[1]),
        tmpExtent,
      );
    } else {
      createOrUpdate(
        Math.min(boxX, boxX + boxW),
        Math.min(boxY, boxY + boxH),
        Math.max(boxX, boxX + boxW),
        Math.max(boxY, boxY + boxH),
        tmpExtent,
      );
    }
    if (snapToPixel) {
      x = Math.round(x);
      y = Math.round(y);
    }
    return {
      drawImageX: x,
      drawImageY: y,
      drawImageW: w,
      drawImageH: h,
      originX: originX,
      originY: originY,
      declutterBox: {
        minX: tmpExtent[0],
        minY: tmpExtent[1],
        maxX: tmpExtent[2],
        maxY: tmpExtent[3],
        value: feature,
      },
      canvasTransform: transform,
      scale: scale,
    };
  }

  /**
   * @private
   * @param {CanvasRenderingContext2D} context Context.
   * @param {import('../../size.js').Size} scaledCanvasSize Scaled canvas size.
   * @param {import("../canvas.js").Label|HTMLImageElement|HTMLCanvasElement|HTMLVideoElement} imageOrLabel Image.
   * @param {ImageOrLabelDimensions} dimensions Dimensions.
   * @param {number} opacity Opacity.
   * @param {Array<*>} fillInstruction Fill instruction.
   * @param {Array<*>} strokeInstruction Stroke instruction.
   * @return {boolean} The image or label was rendered.
   */
  replayImageOrLabel_(
    context,
    scaledCanvasSize,
    imageOrLabel,
    dimensions,
    opacity,
    fillInstruction,
    strokeInstruction,
  ) {
    const fillStroke = !!(fillInstruction || strokeInstruction);

    const box = dimensions.declutterBox;
    const strokePadding = strokeInstruction
      ? (strokeInstruction[2] * dimensions.scale[0]) / 2
      : 0;
    const intersects =
      box.minX - strokePadding <= scaledCanvasSize[0] &&
      box.maxX + strokePadding >= 0 &&
      box.minY - strokePadding <= scaledCanvasSize[1] &&
      box.maxY + strokePadding >= 0;

    if (intersects) {
      if (fillStroke) {
        this.replayTextBackground_(
          context,
          p1,
          p2,
          p3,
          p4,
          /** @type {Array<*>} */ (fillInstruction),
          /** @type {Array<*>} */ (strokeInstruction),
        );
      }
      drawImageOrLabel(
        context,
        dimensions.canvasTransform,
        opacity,
        imageOrLabel,
        dimensions.originX,
        dimensions.originY,
        dimensions.drawImageW,
        dimensions.drawImageH,
        dimensions.drawImageX,
        dimensions.drawImageY,
        dimensions.scale,
      );
    }
    return true;
  }

  /**
   * @private
   * @param {CanvasRenderingContext2D} context Context.
   */
  fill_(context) {
    const alignAndScale = this.alignAndScaleFill_;
    if (alignAndScale) {
      const origin = apply(this.renderedTransform_, [0, 0]);
      const repeatSize = 512 * this.pixelRatio;
      context.save();
      context.translate(origin[0] % repeatSize, origin[1] % repeatSize);
      if (alignAndScale !== 1) {
        context.scale(alignAndScale, alignAndScale);
      }
      context.rotate(this.viewRotation_);
    }
    context.fill();
    if (alignAndScale) {
      context.restore();
    }
  }

  /**
   * @private
   * @param {CanvasRenderingContext2D} context Context.
   * @param {Array<*>} instruction Instruction.
   */
  setStrokeStyle_(context, instruction) {
    context.strokeStyle =
      /** @type {import("../../colorlike.js").ColorLike} */ (instruction[1]);
    context.lineWidth = /** @type {number} */ (instruction[2]);
    context.lineCap = /** @type {CanvasLineCap} */ (instruction[3]);
    context.lineJoin = /** @type {CanvasLineJoin} */ (instruction[4]);
    context.miterLimit = /** @type {number} */ (instruction[5]);
    context.lineDashOffset = /** @type {number} */ (instruction[7]);
    context.setLineDash(/** @type {Array<number>} */ (instruction[6]));
  }

  /**
   * @private
   * @param {string|Array<string>} text The text to draw.
   * @param {string} textKey The key of the text state.
   * @param {string} strokeKey The key for the stroke state.
   * @param {string} fillKey The key for the fill state.
   * @return {{label: import("../canvas.js").Label, anchorX: number, anchorY: number}} The text image and its anchor.
   */
  drawLabelWithPointPlacement_(text, textKey, strokeKey, fillKey) {
    const textState = this.textStates[textKey];

    const label = this.createLabel(text, textKey, fillKey, strokeKey);

    const strokeState = this.strokeStates[strokeKey];
    const pixelRatio = this.pixelRatio;
    const align = horizontalTextAlign(
      Array.isArray(text) ? text[0] : text,
      textState.textAlign || defaultTextAlign,
    );
    const baseline = TEXT_ALIGN[textState.textBaseline || defaultTextBaseline];
    const strokeWidth =
      strokeState && strokeState.lineWidth ? strokeState.lineWidth : 0;

    // Remove the 2 pixels we added in createLabel() for the anchor
    const width = label.width / pixelRatio - 2 * textState.scale[0];
    const anchorX = align * width + 2 * (0.5 - align) * strokeWidth;
    const anchorY =
      (baseline * label.height) / pixelRatio +
      2 * (0.5 - baseline) * strokeWidth;

    return {
      label: label,
      anchorX: anchorX,
      anchorY: anchorY,
    };
  }

  /**
   * @private
   * @param {CanvasRenderingContext2D} context Context.
   * @param {import('../../size.js').Size} scaledCanvasSize Scaled canvas size
   * @param {import("../../transform.js").Transform} transform Transform.
   * @param {Array<*>} instructions Instructions array.
   * @param {boolean} snapToPixel Snap point symbols and text to integer pixels.
   * @param {FeatureCallback<T>} [featureCallback] Feature callback.
   * @param {import("../../extent.js").Extent} [hitExtent] Only check
   *     features that intersect this extent.
   * @param {import("rbush").default<DeclutterEntry>} [declutterTree] Declutter tree.
   * @return {T|undefined} Callback result.
   * @template T
   */
  execute_(
    context,
    scaledCanvasSize,
    transform,
    instructions,
    snapToPixel,
    featureCallback,
    hitExtent,
    declutterTree,
  ) {
    const zIndexContext = this.zIndexContext_;
    /** @type {Array<number>} */
    let pixelCoordinates;
    if (this.pixelCoordinates_ && equals(transform, this.renderedTransform_)) {
      pixelCoordinates = this.pixelCoordinates_;
    } else {
      if (!this.pixelCoordinates_) {
        this.pixelCoordinates_ = [];
      }
      pixelCoordinates = transform2D(
        this.coordinates,
        0,
        this.coordinates.length,
        2,
        transform,
        this.pixelCoordinates_,
      );
      setFromArray(this.renderedTransform_, transform);
    }
    let i = 0; // instruction index
    const ii = instructions.length; // end of instructions
    let d = 0; // data index
    let dd; // end of per-instruction data
    let anchorX,
      anchorY,
      /** @type {import('../../style/Style.js').DeclutterMode} */
      declutterMode,
      prevX,
      prevY,
      roundX,
      roundY,
      image,
      text,
      textKey,
      strokeKey,
      fillKey;
    let pendingFill = 0;
    let pendingStroke = 0;
    const coordinateCache = this.coordinateCache_;
    const viewRotation = this.viewRotation_;
    const viewRotationFromTransform =
      Math.round(Math.atan2(-transform[1], transform[0]) * 1e12) / 1e12;

    const state = /** @type {import("../../render.js").State} */ ({
      context: context,
      pixelRatio: this.pixelRatio,
      resolution: this.resolution,
      rotation: viewRotation,
    });

    // When the batch size gets too big, performance decreases. 200 is a good
    // balance between batch size and number of fill/stroke instructions.
    const batchSize =
      this.instructions != instructions || this.overlaps ? 0 : 200;
    let /** @type {import("../../Feature.js").FeatureLike} */ feature;
    let x, y, currentGeometry;
    while (i < ii) {
      const instruction = instructions[i];
      const type = /** @type {import("./Instruction.js").default} */ (
        instruction[0]
      );
      switch (type) {
        case canvas_Instruction.BEGIN_GEOMETRY:
          feature = /** @type {import("../../Feature.js").FeatureLike} */ (
            instruction[1]
          );
          currentGeometry = instruction[3];
          if (!feature.getGeometry()) {
            i = /** @type {number} */ (instruction[2]);
          } else if (
            hitExtent !== undefined &&
            !intersects(hitExtent, currentGeometry.getExtent())
          ) {
            i = /** @type {number} */ (instruction[2]) + 1;
          } else {
            ++i;
          }
          if (zIndexContext) {
            zIndexContext.zIndex = instruction[4];
          }
          break;
        case canvas_Instruction.BEGIN_PATH:
          if (pendingFill > batchSize) {
            this.fill_(context);
            pendingFill = 0;
          }
          if (pendingStroke > batchSize) {
            context.stroke();
            pendingStroke = 0;
          }
          if (!pendingFill && !pendingStroke) {
            context.beginPath();
            prevX = NaN;
            prevY = NaN;
          }
          ++i;
          break;
        case canvas_Instruction.CIRCLE:
          d = /** @type {number} */ (instruction[1]);
          const x1 = pixelCoordinates[d];
          const y1 = pixelCoordinates[d + 1];
          const x2 = pixelCoordinates[d + 2];
          const y2 = pixelCoordinates[d + 3];
          const dx = x2 - x1;
          const dy = y2 - y1;
          const r = Math.sqrt(dx * dx + dy * dy);
          context.moveTo(x1 + r, y1);
          context.arc(x1, y1, r, 0, 2 * Math.PI, true);
          ++i;
          break;
        case canvas_Instruction.CLOSE_PATH:
          context.closePath();
          ++i;
          break;
        case canvas_Instruction.CUSTOM:
          d = /** @type {number} */ (instruction[1]);
          dd = instruction[2];
          const geometry =
            /** @type {import("../../geom/SimpleGeometry.js").default} */ (
              instruction[3]
            );
          const renderer = instruction[4];
          const fn = instruction[5];
          state.geometry = geometry;
          state.feature = feature;
          if (!(i in coordinateCache)) {
            coordinateCache[i] = [];
          }
          const coords = coordinateCache[i];
          if (fn) {
            fn(pixelCoordinates, d, dd, 2, coords);
          } else {
            coords[0] = pixelCoordinates[d];
            coords[1] = pixelCoordinates[d + 1];
            coords.length = 2;
          }
          if (zIndexContext) {
            zIndexContext.zIndex = instruction[6];
          }
          renderer(coords, state);
          ++i;
          break;
        case canvas_Instruction.DRAW_IMAGE:
          d = /** @type {number} */ (instruction[1]);
          dd = /** @type {number} */ (instruction[2]);
          image =
            /** @type {HTMLCanvasElement|HTMLVideoElement|HTMLImageElement} */ (
              instruction[3]
            );

          // Remaining arguments in DRAW_IMAGE are in alphabetical order
          anchorX = /** @type {number} */ (instruction[4]);
          anchorY = /** @type {number} */ (instruction[5]);
          let height = /** @type {number} */ (instruction[6]);
          const opacity = /** @type {number} */ (instruction[7]);
          const originX = /** @type {number} */ (instruction[8]);
          const originY = /** @type {number} */ (instruction[9]);
          const rotateWithView = /** @type {boolean} */ (instruction[10]);
          let rotation = /** @type {number} */ (instruction[11]);
          const scale = /** @type {import("../../size.js").Size} */ (
            instruction[12]
          );
          let width = /** @type {number} */ (instruction[13]);
          declutterMode = instruction[14] || 'declutter';
          const declutterImageWithText =
            /** @type {{args: import("../canvas.js").DeclutterImageWithText, declutterMode: import('../../style/Style.js').DeclutterMode}} */ (
              instruction[15]
            );

          if (!image && instruction.length >= 20) {
            // create label images
            text = /** @type {string} */ (instruction[19]);
            textKey = /** @type {string} */ (instruction[20]);
            strokeKey = /** @type {string} */ (instruction[21]);
            fillKey = /** @type {string} */ (instruction[22]);
            const labelWithAnchor = this.drawLabelWithPointPlacement_(
              text,
              textKey,
              strokeKey,
              fillKey,
            );
            image = labelWithAnchor.label;
            instruction[3] = image;
            const textOffsetX = /** @type {number} */ (instruction[23]);
            anchorX = (labelWithAnchor.anchorX - textOffsetX) * this.pixelRatio;
            instruction[4] = anchorX;
            const textOffsetY = /** @type {number} */ (instruction[24]);
            anchorY = (labelWithAnchor.anchorY - textOffsetY) * this.pixelRatio;
            instruction[5] = anchorY;
            height = image.height;
            instruction[6] = height;
            width = image.width;
            instruction[13] = width;
          }

          let geometryWidths;
          if (instruction.length > 25) {
            geometryWidths = /** @type {number} */ (instruction[25]);
          }

          let padding, backgroundFillInstruction, backgroundStrokeInstruction;
          if (instruction.length > 17) {
            padding = /** @type {Array<number>} */ (instruction[16]);
            backgroundFillInstruction = /** @type {Array<*>} */ (
              instruction[17]
            );
            backgroundStrokeInstruction = /** @type {Array<*>} */ (
              instruction[18]
            );
          } else {
            padding = defaultPadding;
            backgroundFillInstruction = null;
            backgroundStrokeInstruction = null;
          }

          if (rotateWithView && viewRotationFromTransform) {
            // Canvas is expected to be rotated to reverse view rotation.
            rotation += viewRotation;
          } else if (!rotateWithView && !viewRotationFromTransform) {
            // Canvas is not rotated, images need to be rotated back to be north-up.
            rotation -= viewRotation;
          }
          let widthIndex = 0;
          for (; d < dd; d += 2) {
            if (
              geometryWidths &&
              geometryWidths[widthIndex++] < width / this.pixelRatio
            ) {
              continue;
            }
            const dimensions = this.calculateImageOrLabelDimensions_(
              image.width,
              image.height,
              pixelCoordinates[d],
              pixelCoordinates[d + 1],
              width,
              height,
              anchorX,
              anchorY,
              originX,
              originY,
              rotation,
              scale,
              snapToPixel,
              padding,
              !!backgroundFillInstruction || !!backgroundStrokeInstruction,
              feature,
            );
            /** @type {ReplayImageOrLabelArgs} */
            const args = [
              context,
              scaledCanvasSize,
              image,
              dimensions,
              opacity,
              backgroundFillInstruction,
              backgroundStrokeInstruction,
            ];
            if (declutterTree) {
              let imageArgs, imageDeclutterMode, imageDeclutterBox;
              if (declutterImageWithText) {
                const index = dd - d;
                if (!declutterImageWithText[index]) {
                  // We now have the image for an image+text combination.
                  declutterImageWithText[index] = {args, declutterMode};
                  // Don't render anything for now, wait for the text.
                  continue;
                }
                const imageDeclutter = declutterImageWithText[index];
                imageArgs = imageDeclutter.args;
                imageDeclutterMode = imageDeclutter.declutterMode;
                delete declutterImageWithText[index];
                imageDeclutterBox = getDeclutterBox(imageArgs);
              }
              // We now have image and text for an image+text combination.
              let renderImage, renderText;
              if (
                imageArgs &&
                (imageDeclutterMode !== 'declutter' ||
                  !declutterTree.collides(imageDeclutterBox))
              ) {
                renderImage = true;
              }
              if (
                declutterMode !== 'declutter' ||
                !declutterTree.collides(dimensions.declutterBox)
              ) {
                renderText = true;
              }
              if (
                imageDeclutterMode === 'declutter' &&
                declutterMode === 'declutter'
              ) {
                const render = renderImage && renderText;
                renderImage = render;
                renderText = render;
              }
              if (renderImage) {
                if (imageDeclutterMode !== 'none') {
                  declutterTree.insert(imageDeclutterBox);
                }
                this.replayImageOrLabel_.apply(this, imageArgs);
              }
              if (renderText) {
                if (declutterMode !== 'none') {
                  declutterTree.insert(dimensions.declutterBox);
                }
                this.replayImageOrLabel_.apply(this, args);
              }
            } else {
              this.replayImageOrLabel_.apply(this, args);
            }
          }
          ++i;
          break;
        case canvas_Instruction.DRAW_CHARS:
          const begin = /** @type {number} */ (instruction[1]);
          const end = /** @type {number} */ (instruction[2]);
          const baseline = /** @type {number} */ (instruction[3]);
          const overflow = /** @type {number} */ (instruction[4]);
          fillKey = /** @type {string} */ (instruction[5]);
          const maxAngle = /** @type {number} */ (instruction[6]);
          const measurePixelRatio = /** @type {number} */ (instruction[7]);
          const offsetY = /** @type {number} */ (instruction[8]);
          strokeKey = /** @type {string} */ (instruction[9]);
          const strokeWidth = /** @type {number} */ (instruction[10]);
          text = /** @type {string|Array<string>} */ (instruction[11]);
          if (Array.isArray(text)) {
            //FIXME Add support for rich text along lines
            text = text.reduce(richTextToPlainText, '');
          }
          textKey = /** @type {string} */ (instruction[12]);
          const pixelRatioScale = [
            /** @type {number} */ (instruction[13]),
            /** @type {number} */ (instruction[13]),
          ];
          declutterMode = instruction[14] || 'declutter';

          const textKeepUpright = /** @type {boolean} */ (instruction[15]);
          const textState = this.textStates[textKey];
          const font = textState.font;
          const textScale = [
            textState.scale[0] * measurePixelRatio,
            textState.scale[1] * measurePixelRatio,
          ];

          let cachedWidths;
          if (font in this.widths_) {
            cachedWidths = this.widths_[font];
          } else {
            cachedWidths = {};
            this.widths_[font] = cachedWidths;
          }

          const pathLength = lineStringLength(pixelCoordinates, begin, end, 2);
          const textLength =
            Math.abs(textScale[0]) *
            measureAndCacheTextWidth(font, text, cachedWidths);
          if (overflow || textLength <= pathLength) {
            const textAlign = this.textStates[textKey].textAlign;
            const startM =
              (pathLength - textLength) * horizontalTextAlign(text, textAlign);
            const parts = drawTextOnPath(
              pixelCoordinates,
              begin,
              end,
              2,
              text,
              startM,
              maxAngle,
              Math.abs(textScale[0]),
              measureAndCacheTextWidth,
              font,
              cachedWidths,
              viewRotationFromTransform ? 0 : this.viewRotation_,
              textKeepUpright,
            );
            drawChars: if (parts) {
              /** @type {Array<ReplayImageOrLabelArgs>} */
              const replayImageOrLabelArgs = [];
              let c, cc, chars, label, part;
              if (strokeKey) {
                for (c = 0, cc = parts.length; c < cc; ++c) {
                  part = parts[c]; // x, y, anchorX, rotation, chunk
                  chars = /** @type {string} */ (part[4]);
                  label = this.createLabel(chars, textKey, '', strokeKey);
                  anchorX =
                    /** @type {number} */ (part[2]) +
                    (textScale[0] < 0 ? -strokeWidth : strokeWidth);
                  anchorY =
                    baseline * label.height +
                    ((0.5 - baseline) * 2 * strokeWidth * textScale[1]) /
                      textScale[0] -
                    offsetY;
                  const dimensions = this.calculateImageOrLabelDimensions_(
                    label.width,
                    label.height,
                    part[0],
                    part[1],
                    label.width,
                    label.height,
                    anchorX,
                    anchorY,
                    0,
                    0,
                    part[3],
                    pixelRatioScale,
                    false,
                    defaultPadding,
                    false,
                    feature,
                  );
                  if (
                    declutterTree &&
                    declutterMode === 'declutter' &&
                    declutterTree.collides(dimensions.declutterBox)
                  ) {
                    break drawChars;
                  }
                  replayImageOrLabelArgs.push([
                    context,
                    scaledCanvasSize,
                    label,
                    dimensions,
                    1,
                    null,
                    null,
                  ]);
                }
              }
              if (fillKey) {
                for (c = 0, cc = parts.length; c < cc; ++c) {
                  part = parts[c]; // x, y, anchorX, rotation, chunk
                  chars = /** @type {string} */ (part[4]);
                  label = this.createLabel(chars, textKey, fillKey, '');
                  anchorX = /** @type {number} */ (part[2]);
                  anchorY = baseline * label.height - offsetY;
                  const dimensions = this.calculateImageOrLabelDimensions_(
                    label.width,
                    label.height,
                    part[0],
                    part[1],
                    label.width,
                    label.height,
                    anchorX,
                    anchorY,
                    0,
                    0,
                    part[3],
                    pixelRatioScale,
                    false,
                    defaultPadding,
                    false,
                    feature,
                  );
                  if (
                    declutterTree &&
                    declutterMode === 'declutter' &&
                    declutterTree.collides(dimensions.declutterBox)
                  ) {
                    break drawChars;
                  }
                  replayImageOrLabelArgs.push([
                    context,
                    scaledCanvasSize,
                    label,
                    dimensions,
                    1,
                    null,
                    null,
                  ]);
                }
              }
              if (declutterTree && declutterMode !== 'none') {
                declutterTree.load(replayImageOrLabelArgs.map(getDeclutterBox));
              }
              for (let i = 0, ii = replayImageOrLabelArgs.length; i < ii; ++i) {
                this.replayImageOrLabel_.apply(this, replayImageOrLabelArgs[i]);
              }
            }
          }
          ++i;
          break;
        case canvas_Instruction.END_GEOMETRY:
          if (featureCallback !== undefined) {
            feature = /** @type {import("../../Feature.js").FeatureLike} */ (
              instruction[1]
            );
            const result = featureCallback(
              feature,
              currentGeometry,
              declutterMode,
            );
            if (result) {
              return result;
            }
          }
          ++i;
          break;
        case canvas_Instruction.FILL:
          if (batchSize) {
            pendingFill++;
          } else {
            this.fill_(context);
          }
          ++i;
          break;
        case canvas_Instruction.MOVE_TO_LINE_TO:
          d = /** @type {number} */ (instruction[1]);
          dd = /** @type {number} */ (instruction[2]);
          x = pixelCoordinates[d];
          y = pixelCoordinates[d + 1];
          context.moveTo(x, y);
          prevX = (x + 0.5) | 0;
          prevY = (y + 0.5) | 0;
          for (d += 2; d < dd; d += 2) {
            x = pixelCoordinates[d];
            y = pixelCoordinates[d + 1];
            roundX = (x + 0.5) | 0;
            roundY = (y + 0.5) | 0;
            if (d == dd - 2 || roundX !== prevX || roundY !== prevY) {
              context.lineTo(x, y);
              prevX = roundX;
              prevY = roundY;
            }
          }
          ++i;
          break;
        case canvas_Instruction.SET_FILL_STYLE:
          this.alignAndScaleFill_ = instruction[2];

          if (pendingFill) {
            this.fill_(context);
            pendingFill = 0;
            if (pendingStroke) {
              context.stroke();
              pendingStroke = 0;
            }
          }

          /** @type {import("../../colorlike.js").ColorLike} */
          context.fillStyle = instruction[1];
          ++i;
          break;
        case canvas_Instruction.SET_STROKE_STYLE:
          if (pendingStroke) {
            context.stroke();
            pendingStroke = 0;
          }
          this.setStrokeStyle_(context, /** @type {Array<*>} */ (instruction));
          ++i;
          break;
        case canvas_Instruction.STROKE:
          if (batchSize) {
            pendingStroke++;
          } else {
            context.stroke();
          }
          ++i;
          break;
        default: // consume the instruction anyway, to avoid an infinite loop
          ++i;
          break;
      }
    }
    if (pendingFill) {
      this.fill_(context);
    }
    if (pendingStroke) {
      context.stroke();
    }
    return undefined;
  }

  /**
   * @param {CanvasRenderingContext2D} context Context.
   * @param {import('../../size.js').Size} scaledCanvasSize Scaled canvas size.
   * @param {import("../../transform.js").Transform} transform Transform.
   * @param {number} viewRotation View rotation.
   * @param {boolean} snapToPixel Snap point symbols and text to integer pixels.
   * @param {import("rbush").default<DeclutterEntry>} [declutterTree] Declutter tree.
   */
  execute(
    context,
    scaledCanvasSize,
    transform,
    viewRotation,
    snapToPixel,
    declutterTree,
  ) {
    this.viewRotation_ = viewRotation;
    this.execute_(
      context,
      scaledCanvasSize,
      transform,
      this.instructions,
      snapToPixel,
      undefined,
      undefined,
      declutterTree,
    );
  }

  /**
   * @param {CanvasRenderingContext2D} context Context.
   * @param {import("../../transform.js").Transform} transform Transform.
   * @param {number} viewRotation View rotation.
   * @param {FeatureCallback<T>} [featureCallback] Feature callback.
   * @param {import("../../extent.js").Extent} [hitExtent] Only check
   *     features that intersect this extent.
   * @return {T|undefined} Callback result.
   * @template T
   */
  executeHitDetection(
    context,
    transform,
    viewRotation,
    featureCallback,
    hitExtent,
  ) {
    this.viewRotation_ = viewRotation;
    return this.execute_(
      context,
      [context.canvas.width, context.canvas.height],
      transform,
      this.hitDetectionInstructions,
      true,
      featureCallback,
      hitExtent,
    );
  }
}

/* harmony default export */ const canvas_Executor = (Executor);

;// CONCATENATED MODULE: ./node_modules/ol/render/canvas/ExecutorGroup.js
/**
 * @module ol/render/canvas/ExecutorGroup
 */









/**
 * @const
 * @type {Array<import("../canvas.js").BuilderType>}
 */
const ALL = [
  'Polygon',
  'Circle',
  'LineString',
  'Image',
  'Text',
  'Default',
];

/**
 * @const
 * @type {Array<import("../canvas.js").BuilderType>}
 */
const DECLUTTER = ['Image', 'Text'];

/**
 * @const
 * @type {Array<import("../canvas.js").BuilderType>}
 */
const NON_DECLUTTER = ALL.filter(
  (builderType) => !DECLUTTER.includes(builderType),
);

class ExecutorGroup {
  /**
   * @param {import("../../extent.js").Extent} maxExtent Max extent for clipping. When a
   * `maxExtent` was set on the Builder for this executor group, the same `maxExtent`
   * should be set here, unless the target context does not exceed that extent (which
   * can be the case when rendering to tiles).
   * @param {number} resolution Resolution.
   * @param {number} pixelRatio Pixel ratio.
   * @param {boolean} overlaps The executor group can have overlapping geometries.
   * @param {!Object<string, !Object<import("../canvas.js").BuilderType, import("../canvas.js").SerializableInstructions>>} allInstructions
   * The serializable instructions.
   * @param {number} [renderBuffer] Optional rendering buffer.
   * @param {boolean} [deferredRendering] Enable deferred rendering with renderDeferred().
   */
  constructor(
    maxExtent,
    resolution,
    pixelRatio,
    overlaps,
    allInstructions,
    renderBuffer,
    deferredRendering,
  ) {
    /**
     * @private
     * @type {import("../../extent.js").Extent}
     */
    this.maxExtent_ = maxExtent;

    /**
     * @private
     * @type {boolean}
     */
    this.overlaps_ = overlaps;

    /**
     * @private
     * @type {number}
     */
    this.pixelRatio_ = pixelRatio;

    /**
     * @private
     * @type {number}
     */
    this.resolution_ = resolution;

    /**
     * @private
     * @type {number|undefined}
     */
    this.renderBuffer_ = renderBuffer;

    /**
     * @private
     * @type {!Object<string, !Object<string, import("./Executor").default>>}
     */
    this.executorsByZIndex_ = {};

    /**
     * @private
     * @type {CanvasRenderingContext2D}
     */
    this.hitDetectionContext_ = null;

    /**
     * @private
     * @type {import("../../transform.js").Transform}
     */
    this.hitDetectionTransform_ = create();

    /**
     * @private
     * @type {CanvasRenderingContext2D}
     */
    this.renderedContext_ = null;

    /**
     * @private
     * @type {Object<number, Array<import("./ZIndexContext.js").default>>}
     */
    this.deferredZIndexContexts_ = {};

    this.createExecutors_(allInstructions, deferredRendering);
  }

  /**
   * @param {CanvasRenderingContext2D} context Context.
   * @param {import("../../transform.js").Transform} transform Transform.
   */
  clip(context, transform) {
    const flatClipCoords = this.getClipCoords(transform);
    context.beginPath();
    context.moveTo(flatClipCoords[0], flatClipCoords[1]);
    context.lineTo(flatClipCoords[2], flatClipCoords[3]);
    context.lineTo(flatClipCoords[4], flatClipCoords[5]);
    context.lineTo(flatClipCoords[6], flatClipCoords[7]);
    context.clip();
  }

  /**
   * Create executors and populate them using the provided instructions.
   * @private
   * @param {!Object<string, !Object<string, import("../canvas.js").SerializableInstructions>>} allInstructions The serializable instructions
   * @param {boolean} deferredRendering Enable deferred rendering.
   */
  createExecutors_(allInstructions, deferredRendering) {
    for (const zIndex in allInstructions) {
      let executors = this.executorsByZIndex_[zIndex];
      if (executors === undefined) {
        executors = {};
        this.executorsByZIndex_[zIndex] = executors;
      }
      const instructionByZindex = allInstructions[zIndex];
      for (const builderType in instructionByZindex) {
        const instructions = instructionByZindex[builderType];
        executors[builderType] = new canvas_Executor(
          this.resolution_,
          this.pixelRatio_,
          this.overlaps_,
          instructions,
          deferredRendering,
        );
      }
    }
  }

  /**
   * @param {Array<import("../canvas.js").BuilderType>} executors Executors.
   * @return {boolean} Has executors of the provided types.
   */
  hasExecutors(executors) {
    for (const zIndex in this.executorsByZIndex_) {
      const candidates = this.executorsByZIndex_[zIndex];
      for (let i = 0, ii = executors.length; i < ii; ++i) {
        if (executors[i] in candidates) {
          return true;
        }
      }
    }
    return false;
  }

  /**
   * @param {import("../../coordinate.js").Coordinate} coordinate Coordinate.
   * @param {number} resolution Resolution.
   * @param {number} rotation Rotation.
   * @param {number} hitTolerance Hit tolerance in pixels.
   * @param {function(import("../../Feature.js").FeatureLike, import("../../geom/SimpleGeometry.js").default, number): T} callback Feature callback.
   * @param {Array<import("../../Feature.js").FeatureLike>} declutteredFeatures Decluttered features.
   * @return {T|undefined} Callback result.
   * @template T
   */
  forEachFeatureAtCoordinate(
    coordinate,
    resolution,
    rotation,
    hitTolerance,
    callback,
    declutteredFeatures,
  ) {
    hitTolerance = Math.round(hitTolerance);
    const contextSize = hitTolerance * 2 + 1;
    const transform = compose(
      this.hitDetectionTransform_,
      hitTolerance + 0.5,
      hitTolerance + 0.5,
      1 / resolution,
      -1 / resolution,
      -rotation,
      -coordinate[0],
      -coordinate[1],
    );

    const newContext = !this.hitDetectionContext_;
    if (newContext) {
      this.hitDetectionContext_ = dom_createCanvasContext2D(
        contextSize,
        contextSize,
      );
    }
    const context = this.hitDetectionContext_;

    if (
      context.canvas.width !== contextSize ||
      context.canvas.height !== contextSize
    ) {
      context.canvas.width = contextSize;
      context.canvas.height = contextSize;
    } else if (!newContext) {
      context.clearRect(0, 0, contextSize, contextSize);
    }

    /** @type {import("../../extent.js").Extent|undefined} */
    let hitExtent;
    if (this.renderBuffer_ !== undefined) {
      hitExtent = createEmpty();
      extendCoordinate(hitExtent, coordinate);
      buffer(
        hitExtent,
        resolution * (this.renderBuffer_ + hitTolerance),
        hitExtent,
      );
    }

    const indexes = getPixelIndexArray(hitTolerance);

    /** @type {import("../canvas.js").BuilderType} */
    let builderType;

    /**
     * @param {import("../../Feature.js").FeatureLike} feature Feature.
     * @param {import("../../geom/SimpleGeometry.js").default} geometry Geometry.
     * @param {import('../../style/Style.js').DeclutterMode} declutterMode Declutter mode.
     * @return {T|undefined} Callback result.
     */
    function featureCallback(feature, geometry, declutterMode) {
      const imageData = context.getImageData(
        0,
        0,
        contextSize,
        contextSize,
      ).data;
      for (let i = 0, ii = indexes.length; i < ii; i++) {
        if (imageData[indexes[i]] > 0) {
          if (
            !declutteredFeatures ||
            declutterMode === 'none' ||
            (builderType !== 'Image' && builderType !== 'Text') ||
            declutteredFeatures.includes(feature)
          ) {
            const idx = (indexes[i] - 3) / 4;
            const x = hitTolerance - (idx % contextSize);
            const y = hitTolerance - ((idx / contextSize) | 0);
            const result = callback(feature, geometry, x * x + y * y);
            if (result) {
              return result;
            }
          }
          context.clearRect(0, 0, contextSize, contextSize);
          break;
        }
      }
      return undefined;
    }

    /** @type {Array<number>} */
    const zs = Object.keys(this.executorsByZIndex_).map(Number);
    zs.sort(ascending);

    let i, j, executors, executor, result;
    for (i = zs.length - 1; i >= 0; --i) {
      const zIndexKey = zs[i].toString();
      executors = this.executorsByZIndex_[zIndexKey];
      for (j = ALL.length - 1; j >= 0; --j) {
        builderType = ALL[j];
        executor = executors[builderType];
        if (executor !== undefined) {
          result = executor.executeHitDetection(
            context,
            transform,
            rotation,
            featureCallback,
            hitExtent,
          );
          if (result) {
            return result;
          }
        }
      }
    }
    return undefined;
  }

  /**
   * @param {import("../../transform.js").Transform} transform Transform.
   * @return {Array<number>|null} Clip coordinates.
   */
  getClipCoords(transform) {
    const maxExtent = this.maxExtent_;
    if (!maxExtent) {
      return null;
    }
    const minX = maxExtent[0];
    const minY = maxExtent[1];
    const maxX = maxExtent[2];
    const maxY = maxExtent[3];
    const flatClipCoords = [minX, minY, minX, maxY, maxX, maxY, maxX, minY];
    transform2D(flatClipCoords, 0, 8, 2, transform, flatClipCoords);
    return flatClipCoords;
  }

  /**
   * @return {boolean} Is empty.
   */
  isEmpty() {
    return obj_isEmpty(this.executorsByZIndex_);
  }

  /**
   * @param {CanvasRenderingContext2D} targetContext Context.
   * @param {import('../../size.js').Size} scaledCanvasSize Scale of the context.
   * @param {import("../../transform.js").Transform} transform Transform.
   * @param {number} viewRotation View rotation.
   * @param {boolean} snapToPixel Snap point symbols and test to integer pixel.
   * @param {Array<import("../canvas.js").BuilderType>} [builderTypes] Ordered replay types to replay.
   *     Default is {@link module:ol/render/replay~ALL}
   * @param {import("rbush").default<import('./Executor.js').DeclutterEntry>|null} [declutterTree] Declutter tree.
   *     When set to null, no decluttering is done, even when the executor group has a `ZIndexContext`.
   */
  execute(
    targetContext,
    scaledCanvasSize,
    transform,
    viewRotation,
    snapToPixel,
    builderTypes,
    declutterTree,
  ) {
    const zs = Object.keys(this.executorsByZIndex_).map(Number);
    zs.sort(declutterTree ? descending : ascending);

    builderTypes = builderTypes ? builderTypes : ALL;
    const maxBuilderTypes = ALL.length;
    for (let i = 0, ii = zs.length; i < ii; ++i) {
      const zIndexKey = zs[i].toString();
      const replays = this.executorsByZIndex_[zIndexKey];
      for (let j = 0, jj = builderTypes.length; j < jj; ++j) {
        const builderType = builderTypes[j];
        const replay = replays[builderType];
        if (replay !== undefined) {
          const zIndexContext =
            declutterTree === null ? undefined : replay.getZIndexContext();
          const context = zIndexContext
            ? zIndexContext.getContext()
            : targetContext;
          const requireClip =
            this.maxExtent_ &&
            builderType !== 'Image' &&
            builderType !== 'Text';
          if (requireClip) {
            context.save();
            // setup clipping so that the parts of over-simplified geometries are not
            // visible outside the current extent when panning
            this.clip(context, transform);
          }
          if (
            !zIndexContext ||
            builderType === 'Text' ||
            builderType === 'Image'
          ) {
            replay.execute(
              context,
              scaledCanvasSize,
              transform,
              viewRotation,
              snapToPixel,
              declutterTree,
            );
          } else {
            zIndexContext.pushFunction((context) =>
              replay.execute(
                context,
                scaledCanvasSize,
                transform,
                viewRotation,
                snapToPixel,
                declutterTree,
              ),
            );
          }
          if (requireClip) {
            context.restore();
          }
          if (zIndexContext) {
            zIndexContext.offset();
            const index = zs[i] * maxBuilderTypes + j;
            if (!this.deferredZIndexContexts_[index]) {
              this.deferredZIndexContexts_[index] = [];
            }
            this.deferredZIndexContexts_[index].push(zIndexContext);
          }
        }
      }
    }

    this.renderedContext_ = targetContext;
  }

  getDeferredZIndexContexts() {
    return this.deferredZIndexContexts_;
  }

  getRenderedContext() {
    return this.renderedContext_;
  }

  renderDeferred() {
    const deferredZIndexContexts = this.deferredZIndexContexts_;
    const zs = Object.keys(deferredZIndexContexts).map(Number).sort(ascending);
    for (let i = 0, ii = zs.length; i < ii; ++i) {
      deferredZIndexContexts[zs[i]].forEach((zIndexContext) => {
        zIndexContext.draw(this.renderedContext_); // FIXME Pass clip to replay for temporarily enabling clip
        zIndexContext.clear();
      });
      deferredZIndexContexts[zs[i]].length = 0;
    }
  }
}

/**
 * This cache is used to store arrays of indexes for calculated pixel circles
 * to increase performance.
 * It is a static property to allow each Replaygroup to access it.
 * @type {Object<number, Array<number>>}
 */
const circlePixelIndexArrayCache = {};

/**
 * This methods creates an array with indexes of all pixels within a circle,
 * ordered by how close they are to the center.
 * A cache is used to increase performance.
 * @param {number} radius Radius.
 * @return {Array<number>} An array with indexes within a circle.
 */
function getPixelIndexArray(radius) {
  if (circlePixelIndexArrayCache[radius] !== undefined) {
    return circlePixelIndexArrayCache[radius];
  }

  const size = radius * 2 + 1;
  const maxDistanceSq = radius * radius;
  const distances = new Array(maxDistanceSq + 1);
  for (let i = 0; i <= radius; ++i) {
    for (let j = 0; j <= radius; ++j) {
      const distanceSq = i * i + j * j;
      if (distanceSq > maxDistanceSq) {
        break;
      }
      let distance = distances[distanceSq];
      if (!distance) {
        distance = [];
        distances[distanceSq] = distance;
      }
      distance.push(((radius + i) * size + (radius + j)) * 4 + 3);
      if (i > 0) {
        distance.push(((radius - i) * size + (radius + j)) * 4 + 3);
      }
      if (j > 0) {
        distance.push(((radius + i) * size + (radius - j)) * 4 + 3);
        if (i > 0) {
          distance.push(((radius - i) * size + (radius - j)) * 4 + 3);
        }
      }
    }
  }

  const pixelIndex = [];
  for (let i = 0, ii = distances.length; i < ii; ++i) {
    if (distances[i]) {
      pixelIndex.push(...distances[i]);
    }
  }

  circlePixelIndexArrayCache[radius] = pixelIndex;
  return pixelIndex;
}

/* harmony default export */ const canvas_ExecutorGroup = (ExecutorGroup);

;// CONCATENATED MODULE: ./node_modules/ol/render/canvas/Immediate.js
/**
 * @module ol/render/canvas/Immediate
 */
// FIXME test, especially polygons with holes and multipolygons
// FIXME need to handle large thick features (where pixel size matters)
// FIXME add offset and end to ol/geom/flat/transform~transform2D?











/**
 * @classdesc
 * A concrete subclass of {@link module:ol/render/VectorContext~VectorContext} that implements
 * direct rendering of features and geometries to an HTML5 Canvas context.
 * Instances of this class are created internally by the library and
 * provided to application code as vectorContext member of the
 * {@link module:ol/render/Event~RenderEvent} object associated with postcompose, precompose and
 * render events emitted by layers and maps.
 */
class CanvasImmediateRenderer extends render_VectorContext {
  /**
   * @param {CanvasRenderingContext2D} context Context.
   * @param {number} pixelRatio Pixel ratio.
   * @param {import("../../extent.js").Extent} extent Extent.
   * @param {import("../../transform.js").Transform} transform Transform.
   * @param {number} viewRotation View rotation.
   * @param {number} [squaredTolerance] Optional squared tolerance for simplification.
   * @param {import("../../proj.js").TransformFunction} [userTransform] Transform from user to view projection.
   */
  constructor(
    context,
    pixelRatio,
    extent,
    transform,
    viewRotation,
    squaredTolerance,
    userTransform,
  ) {
    super();

    /**
     * @private
     * @type {CanvasRenderingContext2D}
     */
    this.context_ = context;

    /**
     * @private
     * @type {number}
     */
    this.pixelRatio_ = pixelRatio;

    /**
     * @private
     * @type {import("../../extent.js").Extent}
     */
    this.extent_ = extent;

    /**
     * @private
     * @type {import("../../transform.js").Transform}
     */
    this.transform_ = transform;

    /**
     * @private
     * @type {number}
     */
    this.transformRotation_ = transform
      ? math_toFixed(Math.atan2(transform[1], transform[0]), 10)
      : 0;

    /**
     * @private
     * @type {number}
     */
    this.viewRotation_ = viewRotation;

    /**
     * @private
     * @type {number}
     */
    this.squaredTolerance_ = squaredTolerance;

    /**
     * @private
     * @type {import("../../proj.js").TransformFunction}
     */
    this.userTransform_ = userTransform;

    /**
     * @private
     * @type {?import("../canvas.js").FillState}
     */
    this.contextFillState_ = null;

    /**
     * @private
     * @type {?import("../canvas.js").StrokeState}
     */
    this.contextStrokeState_ = null;

    /**
     * @private
     * @type {?import("../canvas.js").TextState}
     */
    this.contextTextState_ = null;

    /**
     * @private
     * @type {?import("../canvas.js").FillState}
     */
    this.fillState_ = null;

    /**
     * @private
     * @type {?import("../canvas.js").StrokeState}
     */
    this.strokeState_ = null;

    /**
     * @private
     * @type {import('../../DataTile.js').ImageLike}
     */
    this.image_ = null;

    /**
     * @private
     * @type {number}
     */
    this.imageAnchorX_ = 0;

    /**
     * @private
     * @type {number}
     */
    this.imageAnchorY_ = 0;

    /**
     * @private
     * @type {number}
     */
    this.imageHeight_ = 0;

    /**
     * @private
     * @type {number}
     */
    this.imageOpacity_ = 0;

    /**
     * @private
     * @type {number}
     */
    this.imageOriginX_ = 0;

    /**
     * @private
     * @type {number}
     */
    this.imageOriginY_ = 0;

    /**
     * @private
     * @type {boolean}
     */
    this.imageRotateWithView_ = false;

    /**
     * @private
     * @type {number}
     */
    this.imageRotation_ = 0;

    /**
     * @private
     * @type {import("../../size.js").Size}
     */
    this.imageScale_ = [0, 0];

    /**
     * @private
     * @type {number}
     */
    this.imageWidth_ = 0;

    /**
     * @private
     * @type {string}
     */
    this.text_ = '';

    /**
     * @private
     * @type {number}
     */
    this.textOffsetX_ = 0;

    /**
     * @private
     * @type {number}
     */
    this.textOffsetY_ = 0;

    /**
     * @private
     * @type {boolean}
     */
    this.textRotateWithView_ = false;

    /**
     * @private
     * @type {number}
     */
    this.textRotation_ = 0;

    /**
     * @private
     * @type {import("../../size.js").Size}
     */
    this.textScale_ = [0, 0];

    /**
     * @private
     * @type {?import("../canvas.js").FillState}
     */
    this.textFillState_ = null;

    /**
     * @private
     * @type {?import("../canvas.js").StrokeState}
     */
    this.textStrokeState_ = null;

    /**
     * @private
     * @type {?import("../canvas.js").TextState}
     */
    this.textState_ = null;

    /**
     * @private
     * @type {Array<number>}
     */
    this.pixelCoordinates_ = [];

    /**
     * @private
     * @type {import("../../transform.js").Transform}
     */
    this.tmpLocalTransform_ = create();
  }

  /**
   * @param {Array<number>} flatCoordinates Flat coordinates.
   * @param {number} offset Offset.
   * @param {number} end End.
   * @param {number} stride Stride.
   * @private
   */
  drawImages_(flatCoordinates, offset, end, stride) {
    if (!this.image_) {
      return;
    }
    const pixelCoordinates = transform2D(
      flatCoordinates,
      offset,
      end,
      stride,
      this.transform_,
      this.pixelCoordinates_,
    );
    const context = this.context_;
    const localTransform = this.tmpLocalTransform_;
    const alpha = context.globalAlpha;
    if (this.imageOpacity_ != 1) {
      context.globalAlpha = alpha * this.imageOpacity_;
    }
    let rotation = this.imageRotation_;
    if (this.transformRotation_ === 0) {
      rotation -= this.viewRotation_;
    }
    if (this.imageRotateWithView_) {
      rotation += this.viewRotation_;
    }
    for (let i = 0, ii = pixelCoordinates.length; i < ii; i += 2) {
      const x = pixelCoordinates[i] - this.imageAnchorX_;
      const y = pixelCoordinates[i + 1] - this.imageAnchorY_;
      if (
        rotation !== 0 ||
        this.imageScale_[0] != 1 ||
        this.imageScale_[1] != 1
      ) {
        const centerX = x + this.imageAnchorX_;
        const centerY = y + this.imageAnchorY_;
        compose(
          localTransform,
          centerX,
          centerY,
          1,
          1,
          rotation,
          -centerX,
          -centerY,
        );
        context.save();
        context.transform.apply(context, localTransform);
        context.translate(centerX, centerY);
        context.scale(this.imageScale_[0], this.imageScale_[1]);
        context.drawImage(
          this.image_,
          this.imageOriginX_,
          this.imageOriginY_,
          this.imageWidth_,
          this.imageHeight_,
          -this.imageAnchorX_,
          -this.imageAnchorY_,
          this.imageWidth_,
          this.imageHeight_,
        );
        context.restore();
      } else {
        context.drawImage(
          this.image_,
          this.imageOriginX_,
          this.imageOriginY_,
          this.imageWidth_,
          this.imageHeight_,
          x,
          y,
          this.imageWidth_,
          this.imageHeight_,
        );
      }
    }
    if (this.imageOpacity_ != 1) {
      context.globalAlpha = alpha;
    }
  }

  /**
   * @param {Array<number>} flatCoordinates Flat coordinates.
   * @param {number} offset Offset.
   * @param {number} end End.
   * @param {number} stride Stride.
   * @private
   */
  drawText_(flatCoordinates, offset, end, stride) {
    if (!this.textState_ || this.text_ === '') {
      return;
    }
    if (this.textFillState_) {
      this.setContextFillState_(this.textFillState_);
    }
    if (this.textStrokeState_) {
      this.setContextStrokeState_(this.textStrokeState_);
    }
    this.setContextTextState_(this.textState_);
    const pixelCoordinates = transform2D(
      flatCoordinates,
      offset,
      end,
      stride,
      this.transform_,
      this.pixelCoordinates_,
    );
    const context = this.context_;
    let rotation = this.textRotation_;
    if (this.transformRotation_ === 0) {
      rotation -= this.viewRotation_;
    }
    if (this.textRotateWithView_) {
      rotation += this.viewRotation_;
    }
    for (; offset < end; offset += stride) {
      const x = pixelCoordinates[offset] + this.textOffsetX_;
      const y = pixelCoordinates[offset + 1] + this.textOffsetY_;
      if (
        rotation !== 0 ||
        this.textScale_[0] != 1 ||
        this.textScale_[1] != 1
      ) {
        context.save();
        context.translate(x - this.textOffsetX_, y - this.textOffsetY_);
        context.rotate(rotation);
        context.translate(this.textOffsetX_, this.textOffsetY_);
        context.scale(this.textScale_[0], this.textScale_[1]);
        if (this.textStrokeState_) {
          context.strokeText(this.text_, 0, 0);
        }
        if (this.textFillState_) {
          context.fillText(this.text_, 0, 0);
        }
        context.restore();
      } else {
        if (this.textStrokeState_) {
          context.strokeText(this.text_, x, y);
        }
        if (this.textFillState_) {
          context.fillText(this.text_, x, y);
        }
      }
    }
  }

  /**
   * @param {Array<number>} flatCoordinates Flat coordinates.
   * @param {number} offset Offset.
   * @param {number} end End.
   * @param {number} stride Stride.
   * @param {boolean} close Close.
   * @private
   * @return {number} end End.
   */
  moveToLineTo_(flatCoordinates, offset, end, stride, close) {
    const context = this.context_;
    const pixelCoordinates = transform2D(
      flatCoordinates,
      offset,
      end,
      stride,
      this.transform_,
      this.pixelCoordinates_,
    );
    context.moveTo(pixelCoordinates[0], pixelCoordinates[1]);
    let length = pixelCoordinates.length;
    if (close) {
      length -= 2;
    }
    for (let i = 2; i < length; i += 2) {
      context.lineTo(pixelCoordinates[i], pixelCoordinates[i + 1]);
    }
    if (close) {
      context.closePath();
    }
    return end;
  }

  /**
   * @param {Array<number>} flatCoordinates Flat coordinates.
   * @param {number} offset Offset.
   * @param {Array<number>} ends Ends.
   * @param {number} stride Stride.
   * @private
   * @return {number} End.
   */
  drawRings_(flatCoordinates, offset, ends, stride) {
    for (let i = 0, ii = ends.length; i < ii; ++i) {
      offset = this.moveToLineTo_(
        flatCoordinates,
        offset,
        ends[i],
        stride,
        true,
      );
    }
    return offset;
  }

  /**
   * Render a circle geometry into the canvas.  Rendering is immediate and uses
   * the current fill and stroke styles.
   *
   * @param {import("../../geom/Circle.js").default} geometry Circle geometry.
   * @api
   * @override
   */
  drawCircle(geometry) {
    if (this.squaredTolerance_) {
      geometry = /** @type {import("../../geom/Circle.js").default} */ (
        geometry.simplifyTransformed(
          this.squaredTolerance_,
          this.userTransform_,
        )
      );
    }
    if (!intersects(this.extent_, geometry.getExtent())) {
      return;
    }
    if (this.fillState_ || this.strokeState_) {
      if (this.fillState_) {
        this.setContextFillState_(this.fillState_);
      }
      if (this.strokeState_) {
        this.setContextStrokeState_(this.strokeState_);
      }
      const pixelCoordinates = transformGeom2D(
        geometry,
        this.transform_,
        this.pixelCoordinates_,
      );
      const dx = pixelCoordinates[2] - pixelCoordinates[0];
      const dy = pixelCoordinates[3] - pixelCoordinates[1];
      const radius = Math.sqrt(dx * dx + dy * dy);
      const context = this.context_;
      context.beginPath();
      context.arc(
        pixelCoordinates[0],
        pixelCoordinates[1],
        radius,
        0,
        2 * Math.PI,
      );
      if (this.fillState_) {
        context.fill();
      }
      if (this.strokeState_) {
        context.stroke();
      }
    }
    if (this.text_ !== '') {
      this.drawText_(geometry.getCenter(), 0, 2, 2);
    }
  }

  /**
   * Set the rendering style.  Note that since this is an immediate rendering API,
   * any `zIndex` on the provided style will be ignored.
   *
   * @param {import("../../style/Style.js").default} style The rendering style.
   * @api
   * @override
   */
  setStyle(style) {
    this.setFillStrokeStyle(style.getFill(), style.getStroke());
    this.setImageStyle(style.getImage());
    this.setTextStyle(style.getText());
  }

  /**
   * @param {import("../../transform.js").Transform} transform Transform.
   */
  setTransform(transform) {
    this.transform_ = transform;
  }

  /**
   * Render a geometry into the canvas.  Call
   * {@link module:ol/render/canvas/Immediate~CanvasImmediateRenderer#setStyle renderer.setStyle()} first to set the rendering style.
   *
   * @param {import("../../geom/Geometry.js").default|import("../Feature.js").default} geometry The geometry to render.
   * @api
   * @override
   */
  drawGeometry(geometry) {
    const type = geometry.getType();
    switch (type) {
      case 'Point':
        this.drawPoint(
          /** @type {import("../../geom/Point.js").default} */ (geometry),
        );
        break;
      case 'LineString':
        this.drawLineString(
          /** @type {import("../../geom/LineString.js").default} */ (geometry),
        );
        break;
      case 'Polygon':
        this.drawPolygon(
          /** @type {import("../../geom/Polygon.js").default} */ (geometry),
        );
        break;
      case 'MultiPoint':
        this.drawMultiPoint(
          /** @type {import("../../geom/MultiPoint.js").default} */ (geometry),
        );
        break;
      case 'MultiLineString':
        this.drawMultiLineString(
          /** @type {import("../../geom/MultiLineString.js").default} */ (
            geometry
          ),
        );
        break;
      case 'MultiPolygon':
        this.drawMultiPolygon(
          /** @type {import("../../geom/MultiPolygon.js").default} */ (
            geometry
          ),
        );
        break;
      case 'GeometryCollection':
        this.drawGeometryCollection(
          /** @type {import("../../geom/GeometryCollection.js").default} */ (
            geometry
          ),
        );
        break;
      case 'Circle':
        this.drawCircle(
          /** @type {import("../../geom/Circle.js").default} */ (geometry),
        );
        break;
      default:
    }
  }

  /**
   * Render a feature into the canvas.  Note that any `zIndex` on the provided
   * style will be ignored - features are rendered immediately in the order that
   * this method is called.  If you need `zIndex` support, you should be using an
   * {@link module:ol/layer/Vector~VectorLayer} instead.
   *
   * @param {import("../../Feature.js").default} feature Feature.
   * @param {import("../../style/Style.js").default} style Style.
   * @api
   * @override
   */
  drawFeature(feature, style) {
    const geometry = style.getGeometryFunction()(feature);
    if (!geometry) {
      return;
    }
    this.setStyle(style);
    this.drawGeometry(geometry);
  }

  /**
   * Render a GeometryCollection to the canvas.  Rendering is immediate and
   * uses the current styles appropriate for each geometry in the collection.
   *
   * @param {import("../../geom/GeometryCollection.js").default} geometry Geometry collection.
   * @override
   */
  drawGeometryCollection(geometry) {
    const geometries = geometry.getGeometriesArray();
    for (let i = 0, ii = geometries.length; i < ii; ++i) {
      this.drawGeometry(geometries[i]);
    }
  }

  /**
   * Render a Point geometry into the canvas.  Rendering is immediate and uses
   * the current style.
   *
   * @param {import("../../geom/Point.js").default|import("../Feature.js").default} geometry Point geometry.
   * @override
   */
  drawPoint(geometry) {
    if (this.squaredTolerance_) {
      geometry = /** @type {import("../../geom/Point.js").default} */ (
        geometry.simplifyTransformed(
          this.squaredTolerance_,
          this.userTransform_,
        )
      );
    }
    const flatCoordinates = geometry.getFlatCoordinates();
    const stride = geometry.getStride();
    if (this.image_) {
      this.drawImages_(flatCoordinates, 0, flatCoordinates.length, stride);
    }
    if (this.text_ !== '') {
      this.drawText_(flatCoordinates, 0, flatCoordinates.length, stride);
    }
  }

  /**
   * Render a MultiPoint geometry  into the canvas.  Rendering is immediate and
   * uses the current style.
   *
   * @param {import("../../geom/MultiPoint.js").default|import("../Feature.js").default} geometry MultiPoint geometry.
   * @override
   */
  drawMultiPoint(geometry) {
    if (this.squaredTolerance_) {
      geometry = /** @type {import("../../geom/MultiPoint.js").default} */ (
        geometry.simplifyTransformed(
          this.squaredTolerance_,
          this.userTransform_,
        )
      );
    }
    const flatCoordinates = geometry.getFlatCoordinates();
    const stride = geometry.getStride();
    if (this.image_) {
      this.drawImages_(flatCoordinates, 0, flatCoordinates.length, stride);
    }
    if (this.text_ !== '') {
      this.drawText_(flatCoordinates, 0, flatCoordinates.length, stride);
    }
  }

  /**
   * Render a LineString into the canvas.  Rendering is immediate and uses
   * the current style.
   *
   * @param {import("../../geom/LineString.js").default|import("../Feature.js").default} geometry LineString geometry.
   * @override
   */
  drawLineString(geometry) {
    if (this.squaredTolerance_) {
      geometry = /** @type {import("../../geom/LineString.js").default} */ (
        geometry.simplifyTransformed(
          this.squaredTolerance_,
          this.userTransform_,
        )
      );
    }
    if (!intersects(this.extent_, geometry.getExtent())) {
      return;
    }
    if (this.strokeState_) {
      this.setContextStrokeState_(this.strokeState_);
      const context = this.context_;
      const flatCoordinates = geometry.getFlatCoordinates();
      context.beginPath();
      this.moveToLineTo_(
        flatCoordinates,
        0,
        flatCoordinates.length,
        geometry.getStride(),
        false,
      );
      context.stroke();
    }
    if (this.text_ !== '') {
      const flatMidpoint = geometry.getFlatMidpoint();
      this.drawText_(flatMidpoint, 0, 2, 2);
    }
  }

  /**
   * Render a MultiLineString geometry into the canvas.  Rendering is immediate
   * and uses the current style.
   *
   * @param {import("../../geom/MultiLineString.js").default|import("../Feature.js").default} geometry MultiLineString geometry.
   * @override
   */
  drawMultiLineString(geometry) {
    if (this.squaredTolerance_) {
      geometry =
        /** @type {import("../../geom/MultiLineString.js").default} */ (
          geometry.simplifyTransformed(
            this.squaredTolerance_,
            this.userTransform_,
          )
        );
    }
    const geometryExtent = geometry.getExtent();
    if (!intersects(this.extent_, geometryExtent)) {
      return;
    }
    if (this.strokeState_) {
      this.setContextStrokeState_(this.strokeState_);
      const context = this.context_;
      const flatCoordinates = geometry.getFlatCoordinates();
      let offset = 0;
      const ends = /** @type {Array<number>} */ (geometry.getEnds());
      const stride = geometry.getStride();
      context.beginPath();
      for (let i = 0, ii = ends.length; i < ii; ++i) {
        offset = this.moveToLineTo_(
          flatCoordinates,
          offset,
          ends[i],
          stride,
          false,
        );
      }
      context.stroke();
    }
    if (this.text_ !== '') {
      const flatMidpoints = geometry.getFlatMidpoints();
      this.drawText_(flatMidpoints, 0, flatMidpoints.length, 2);
    }
  }

  /**
   * Render a Polygon geometry into the canvas.  Rendering is immediate and uses
   * the current style.
   *
   * @param {import("../../geom/Polygon.js").default|import("../Feature.js").default} geometry Polygon geometry.
   * @override
   */
  drawPolygon(geometry) {
    if (this.squaredTolerance_) {
      geometry = /** @type {import("../../geom/Polygon.js").default} */ (
        geometry.simplifyTransformed(
          this.squaredTolerance_,
          this.userTransform_,
        )
      );
    }
    if (!intersects(this.extent_, geometry.getExtent())) {
      return;
    }
    if (this.strokeState_ || this.fillState_) {
      if (this.fillState_) {
        this.setContextFillState_(this.fillState_);
      }
      if (this.strokeState_) {
        this.setContextStrokeState_(this.strokeState_);
      }
      const context = this.context_;
      context.beginPath();
      this.drawRings_(
        geometry.getOrientedFlatCoordinates(),
        0,
        /** @type {Array<number>} */ (geometry.getEnds()),
        geometry.getStride(),
      );
      if (this.fillState_) {
        context.fill();
      }
      if (this.strokeState_) {
        context.stroke();
      }
    }
    if (this.text_ !== '') {
      const flatInteriorPoint = geometry.getFlatInteriorPoint();
      this.drawText_(flatInteriorPoint, 0, 2, 2);
    }
  }

  /**
   * Render MultiPolygon geometry into the canvas.  Rendering is immediate and
   * uses the current style.
   * @param {import("../../geom/MultiPolygon.js").default} geometry MultiPolygon geometry.
   * @override
   */
  drawMultiPolygon(geometry) {
    if (this.squaredTolerance_) {
      geometry = /** @type {import("../../geom/MultiPolygon.js").default} */ (
        geometry.simplifyTransformed(
          this.squaredTolerance_,
          this.userTransform_,
        )
      );
    }
    if (!intersects(this.extent_, geometry.getExtent())) {
      return;
    }
    if (this.strokeState_ || this.fillState_) {
      if (this.fillState_) {
        this.setContextFillState_(this.fillState_);
      }
      if (this.strokeState_) {
        this.setContextStrokeState_(this.strokeState_);
      }
      const context = this.context_;
      const flatCoordinates = geometry.getOrientedFlatCoordinates();
      let offset = 0;
      const endss = geometry.getEndss();
      const stride = geometry.getStride();
      context.beginPath();
      for (let i = 0, ii = endss.length; i < ii; ++i) {
        const ends = endss[i];
        offset = this.drawRings_(flatCoordinates, offset, ends, stride);
      }
      if (this.fillState_) {
        context.fill();
      }
      if (this.strokeState_) {
        context.stroke();
      }
    }
    if (this.text_ !== '') {
      const flatInteriorPoints = geometry.getFlatInteriorPoints();
      this.drawText_(flatInteriorPoints, 0, flatInteriorPoints.length, 2);
    }
  }

  /**
   * @param {import("../canvas.js").FillState} fillState Fill state.
   * @private
   */
  setContextFillState_(fillState) {
    const context = this.context_;
    const contextFillState = this.contextFillState_;
    if (!contextFillState) {
      context.fillStyle = fillState.fillStyle;
      this.contextFillState_ = {
        fillStyle: fillState.fillStyle,
      };
    } else {
      if (contextFillState.fillStyle != fillState.fillStyle) {
        contextFillState.fillStyle = fillState.fillStyle;
        context.fillStyle = fillState.fillStyle;
      }
    }
  }

  /**
   * @param {import("../canvas.js").StrokeState} strokeState Stroke state.
   * @private
   */
  setContextStrokeState_(strokeState) {
    const context = this.context_;
    const contextStrokeState = this.contextStrokeState_;
    if (!contextStrokeState) {
      context.lineCap = strokeState.lineCap;
      context.setLineDash(strokeState.lineDash);
      context.lineDashOffset = strokeState.lineDashOffset;
      context.lineJoin = strokeState.lineJoin;
      context.lineWidth = strokeState.lineWidth;
      context.miterLimit = strokeState.miterLimit;
      context.strokeStyle = strokeState.strokeStyle;
      this.contextStrokeState_ = {
        lineCap: strokeState.lineCap,
        lineDash: strokeState.lineDash,
        lineDashOffset: strokeState.lineDashOffset,
        lineJoin: strokeState.lineJoin,
        lineWidth: strokeState.lineWidth,
        miterLimit: strokeState.miterLimit,
        strokeStyle: strokeState.strokeStyle,
      };
    } else {
      if (contextStrokeState.lineCap != strokeState.lineCap) {
        contextStrokeState.lineCap = strokeState.lineCap;
        context.lineCap = strokeState.lineCap;
      }
      if (!equals(contextStrokeState.lineDash, strokeState.lineDash)) {
        context.setLineDash(
          (contextStrokeState.lineDash = strokeState.lineDash),
        );
      }
      if (contextStrokeState.lineDashOffset != strokeState.lineDashOffset) {
        contextStrokeState.lineDashOffset = strokeState.lineDashOffset;
        context.lineDashOffset = strokeState.lineDashOffset;
      }
      if (contextStrokeState.lineJoin != strokeState.lineJoin) {
        contextStrokeState.lineJoin = strokeState.lineJoin;
        context.lineJoin = strokeState.lineJoin;
      }
      if (contextStrokeState.lineWidth != strokeState.lineWidth) {
        contextStrokeState.lineWidth = strokeState.lineWidth;
        context.lineWidth = strokeState.lineWidth;
      }
      if (contextStrokeState.miterLimit != strokeState.miterLimit) {
        contextStrokeState.miterLimit = strokeState.miterLimit;
        context.miterLimit = strokeState.miterLimit;
      }
      if (contextStrokeState.strokeStyle != strokeState.strokeStyle) {
        contextStrokeState.strokeStyle = strokeState.strokeStyle;
        context.strokeStyle = strokeState.strokeStyle;
      }
    }
  }

  /**
   * @param {import("../canvas.js").TextState} textState Text state.
   * @private
   */
  setContextTextState_(textState) {
    const context = this.context_;
    const contextTextState = this.contextTextState_;
    const textAlign = textState.textAlign
      ? textState.textAlign
      : defaultTextAlign;
    if (!contextTextState) {
      context.font = textState.font;
      context.textAlign = textAlign;
      context.textBaseline = textState.textBaseline;
      this.contextTextState_ = {
        font: textState.font,
        textAlign: textAlign,
        textBaseline: textState.textBaseline,
      };
    } else {
      if (contextTextState.font != textState.font) {
        contextTextState.font = textState.font;
        context.font = textState.font;
      }
      if (contextTextState.textAlign != textAlign) {
        contextTextState.textAlign = textAlign;
        context.textAlign = textAlign;
      }
      if (contextTextState.textBaseline != textState.textBaseline) {
        contextTextState.textBaseline = textState.textBaseline;
        context.textBaseline = textState.textBaseline;
      }
    }
  }

  /**
   * Set the fill and stroke style for subsequent draw operations.  To clear
   * either fill or stroke styles, pass null for the appropriate parameter.
   *
   * @param {import("../../style/Fill.js").default} fillStyle Fill style.
   * @param {import("../../style/Stroke.js").default} strokeStyle Stroke style.
   * @override
   */
  setFillStrokeStyle(fillStyle, strokeStyle) {
    if (!fillStyle) {
      this.fillState_ = null;
    } else {
      const fillStyleColor = fillStyle.getColor();
      this.fillState_ = {
        fillStyle: asColorLike(
          fillStyleColor ? fillStyleColor : defaultFillStyle,
        ),
      };
    }
    if (!strokeStyle) {
      this.strokeState_ = null;
    } else {
      const strokeStyleColor = strokeStyle.getColor();
      const strokeStyleLineCap = strokeStyle.getLineCap();
      const strokeStyleLineDash = strokeStyle.getLineDash();
      const strokeStyleLineDashOffset = strokeStyle.getLineDashOffset();
      const strokeStyleLineJoin = strokeStyle.getLineJoin();
      const strokeStyleWidth = strokeStyle.getWidth();
      const strokeStyleMiterLimit = strokeStyle.getMiterLimit();
      const lineDash = strokeStyleLineDash
        ? strokeStyleLineDash
        : defaultLineDash;
      this.strokeState_ = {
        lineCap:
          strokeStyleLineCap !== undefined
            ? strokeStyleLineCap
            : defaultLineCap,
        lineDash:
          this.pixelRatio_ === 1
            ? lineDash
            : lineDash.map((n) => n * this.pixelRatio_),
        lineDashOffset:
          (strokeStyleLineDashOffset
            ? strokeStyleLineDashOffset
            : defaultLineDashOffset) * this.pixelRatio_,
        lineJoin:
          strokeStyleLineJoin !== undefined
            ? strokeStyleLineJoin
            : defaultLineJoin,
        lineWidth:
          (strokeStyleWidth !== undefined
            ? strokeStyleWidth
            : defaultLineWidth) * this.pixelRatio_,
        miterLimit:
          strokeStyleMiterLimit !== undefined
            ? strokeStyleMiterLimit
            : defaultMiterLimit,
        strokeStyle: asColorLike(
          strokeStyleColor ? strokeStyleColor : defaultStrokeStyle,
        ),
      };
    }
  }

  /**
   * Set the image style for subsequent draw operations.  Pass null to remove
   * the image style.
   *
   * @param {import("../../style/Image.js").default} imageStyle Image style.
   * @override
   */
  setImageStyle(imageStyle) {
    let imageSize;
    if (!imageStyle || !(imageSize = imageStyle.getSize())) {
      this.image_ = null;
      return;
    }
    const imagePixelRatio = imageStyle.getPixelRatio(this.pixelRatio_);
    const imageAnchor = imageStyle.getAnchor();
    const imageOrigin = imageStyle.getOrigin();
    this.image_ = imageStyle.getImage(this.pixelRatio_);
    this.imageAnchorX_ = imageAnchor[0] * imagePixelRatio;
    this.imageAnchorY_ = imageAnchor[1] * imagePixelRatio;
    this.imageHeight_ = imageSize[1] * imagePixelRatio;
    this.imageOpacity_ = imageStyle.getOpacity();
    this.imageOriginX_ = imageOrigin[0];
    this.imageOriginY_ = imageOrigin[1];
    this.imageRotateWithView_ = imageStyle.getRotateWithView();
    this.imageRotation_ = imageStyle.getRotation();
    const imageScale = imageStyle.getScaleArray();
    this.imageScale_ = [
      (imageScale[0] * this.pixelRatio_) / imagePixelRatio,
      (imageScale[1] * this.pixelRatio_) / imagePixelRatio,
    ];
    this.imageWidth_ = imageSize[0] * imagePixelRatio;
  }

  /**
   * Set the text style for subsequent draw operations.  Pass null to
   * remove the text style.
   *
   * @param {import("../../style/Text.js").default} textStyle Text style.
   * @override
   */
  setTextStyle(textStyle) {
    if (!textStyle) {
      this.text_ = '';
    } else {
      const textFillStyle = textStyle.getFill();
      if (!textFillStyle) {
        this.textFillState_ = null;
      } else {
        const textFillStyleColor = textFillStyle.getColor();
        this.textFillState_ = {
          fillStyle: asColorLike(
            textFillStyleColor ? textFillStyleColor : defaultFillStyle,
          ),
        };
      }
      const textStrokeStyle = textStyle.getStroke();
      if (!textStrokeStyle) {
        this.textStrokeState_ = null;
      } else {
        const textStrokeStyleColor = textStrokeStyle.getColor();
        const textStrokeStyleLineCap = textStrokeStyle.getLineCap();
        const textStrokeStyleLineDash = textStrokeStyle.getLineDash();
        const textStrokeStyleLineDashOffset =
          textStrokeStyle.getLineDashOffset();
        const textStrokeStyleLineJoin = textStrokeStyle.getLineJoin();
        const textStrokeStyleWidth = textStrokeStyle.getWidth();
        const textStrokeStyleMiterLimit = textStrokeStyle.getMiterLimit();
        this.textStrokeState_ = {
          lineCap:
            textStrokeStyleLineCap !== undefined
              ? textStrokeStyleLineCap
              : defaultLineCap,
          lineDash: textStrokeStyleLineDash
            ? textStrokeStyleLineDash
            : defaultLineDash,
          lineDashOffset: textStrokeStyleLineDashOffset
            ? textStrokeStyleLineDashOffset
            : defaultLineDashOffset,
          lineJoin:
            textStrokeStyleLineJoin !== undefined
              ? textStrokeStyleLineJoin
              : defaultLineJoin,
          lineWidth:
            textStrokeStyleWidth !== undefined
              ? textStrokeStyleWidth
              : defaultLineWidth,
          miterLimit:
            textStrokeStyleMiterLimit !== undefined
              ? textStrokeStyleMiterLimit
              : defaultMiterLimit,
          strokeStyle: asColorLike(
            textStrokeStyleColor ? textStrokeStyleColor : defaultStrokeStyle,
          ),
        };
      }
      const textFont = textStyle.getFont();
      const textOffsetX = textStyle.getOffsetX();
      const textOffsetY = textStyle.getOffsetY();
      const textRotateWithView = textStyle.getRotateWithView();
      const textRotation = textStyle.getRotation();
      const textScale = textStyle.getScaleArray();
      const textText = textStyle.getText();
      const textTextAlign = textStyle.getTextAlign();
      const textTextBaseline = textStyle.getTextBaseline();
      this.textState_ = {
        font: textFont !== undefined ? textFont : defaultFont,
        textAlign:
          textTextAlign !== undefined ? textTextAlign : defaultTextAlign,
        textBaseline:
          textTextBaseline !== undefined
            ? textTextBaseline
            : defaultTextBaseline,
      };
      this.text_ =
        textText !== undefined
          ? Array.isArray(textText)
            ? textText.reduce((acc, t, i) => (acc += i % 2 ? ' ' : t), '')
            : textText
          : '';
      this.textOffsetX_ =
        textOffsetX !== undefined ? this.pixelRatio_ * textOffsetX : 0;
      this.textOffsetY_ =
        textOffsetY !== undefined ? this.pixelRatio_ * textOffsetY : 0;
      this.textRotateWithView_ =
        textRotateWithView !== undefined ? textRotateWithView : false;
      this.textRotation_ = textRotation !== undefined ? textRotation : 0;
      this.textScale_ = [
        this.pixelRatio_ * textScale[0],
        this.pixelRatio_ * textScale[1],
      ];
    }
  }
}

/* harmony default export */ const Immediate = (CanvasImmediateRenderer);

;// CONCATENATED MODULE: ./node_modules/ol/render/canvas/hitdetect.js
/**
 * @module ol/render/canvas/hitdetect
 */









const HIT_DETECT_RESOLUTION = 0.5;

/**
 * @param {import("../../size.js").Size} size Canvas size in css pixels.
 * @param {Array<import("../../transform.js").Transform>} transforms Transforms
 * for rendering features to all worlds of the viewport, from coordinates to css
 * pixels.
 * @param {Array<import("../../Feature.js").FeatureLike>} features
 * Features to consider for hit detection.
 * @param {import("../../style/Style.js").StyleFunction|undefined} styleFunction
 * Layer style function.
 * @param {import("../../extent.js").Extent} extent Extent in render projection.
 * @param {number} resolution Resolution.
 * @param {number} rotation Rotation.
 * @param {number} [squaredTolerance] Squared tolerance.
 * @param {import("../../proj/Projection.js").default} [projection] Render projection.
 * @return {ImageData} Hit detection image data.
 */
function createHitDetectionImageData(
  size,
  transforms,
  features,
  styleFunction,
  extent,
  resolution,
  rotation,
  squaredTolerance,
  projection,
) {
  const userExtent = projection ? proj_toUserExtent(extent, projection) : extent;
  const width = size[0] * HIT_DETECT_RESOLUTION;
  const height = size[1] * HIT_DETECT_RESOLUTION;
  const context = dom_createCanvasContext2D(width, height);
  context.imageSmoothingEnabled = false;
  const canvas = context.canvas;
  const renderer = new Immediate(
    context,
    HIT_DETECT_RESOLUTION,
    extent,
    null,
    rotation,
    squaredTolerance,
    projection
      ? getTransformFromProjections(getUserProjection(), projection)
      : null,
  );
  const featureCount = features.length;
  // Stretch hit detection index to use the whole available color range
  const indexFactor = Math.floor((256 * 256 * 256 - 1) / featureCount);
  const featuresByZIndex = {};
  for (let i = 1; i <= featureCount; ++i) {
    const feature = features[i - 1];
    const featureStyleFunction = feature.getStyleFunction() || styleFunction;
    if (!featureStyleFunction) {
      continue;
    }
    let styles = featureStyleFunction(feature, resolution);
    if (!styles) {
      continue;
    }
    if (!Array.isArray(styles)) {
      styles = [styles];
    }
    const index = i * indexFactor;
    const color = index.toString(16).padStart(7, '#00000');
    for (let j = 0, jj = styles.length; j < jj; ++j) {
      const originalStyle = styles[j];
      const geometry = originalStyle.getGeometryFunction()(feature);
      if (!geometry || !intersects(userExtent, geometry.getExtent())) {
        continue;
      }
      const style = originalStyle.clone();
      const fill = style.getFill();
      if (fill) {
        fill.setColor(color);
      }
      const stroke = style.getStroke();
      if (stroke) {
        stroke.setColor(color);
        stroke.setLineDash(null);
      }
      style.setText(undefined);
      const image = originalStyle.getImage();
      if (image) {
        const imgSize = image.getImageSize();
        if (!imgSize) {
          continue;
        }

        const imgContext = dom_createCanvasContext2D(
          imgSize[0],
          imgSize[1],
          undefined,
          {alpha: false},
        );
        const img = imgContext.canvas;
        imgContext.fillStyle = color;
        imgContext.fillRect(0, 0, img.width, img.height);
        style.setImage(
          new style_Icon({
            img: img,
            anchor: image.getAnchor(),
            anchorXUnits: 'pixels',
            anchorYUnits: 'pixels',
            offset: image.getOrigin(),
            opacity: 1,
            size: image.getSize(),
            scale: image.getScale(),
            rotation: image.getRotation(),
            rotateWithView: image.getRotateWithView(),
          }),
        );
      }
      const zIndex = style.getZIndex() || 0;
      let byGeometryType = featuresByZIndex[zIndex];
      if (!byGeometryType) {
        byGeometryType = {};
        featuresByZIndex[zIndex] = byGeometryType;
        byGeometryType['Polygon'] = [];
        byGeometryType['Circle'] = [];
        byGeometryType['LineString'] = [];
        byGeometryType['Point'] = [];
      }
      const type = geometry.getType();
      if (type === 'GeometryCollection') {
        const geometries =
          /** @type {import("../../geom/GeometryCollection.js").default} */ (
            geometry
          ).getGeometriesArrayRecursive();
        for (let i = 0, ii = geometries.length; i < ii; ++i) {
          const geometry = geometries[i];
          byGeometryType[geometry.getType().replace('Multi', '')].push(
            geometry,
            style,
          );
        }
      } else {
        byGeometryType[type.replace('Multi', '')].push(geometry, style);
      }
    }
  }

  const zIndexKeys = Object.keys(featuresByZIndex).map(Number).sort(ascending);
  for (let i = 0, ii = zIndexKeys.length; i < ii; ++i) {
    const byGeometryType = featuresByZIndex[zIndexKeys[i]];
    for (const type in byGeometryType) {
      const geomAndStyle = byGeometryType[type];
      for (let j = 0, jj = geomAndStyle.length; j < jj; j += 2) {
        renderer.setStyle(geomAndStyle[j + 1]);
        for (let k = 0, kk = transforms.length; k < kk; ++k) {
          renderer.setTransform(transforms[k]);
          renderer.drawGeometry(geomAndStyle[j]);
        }
      }
    }
  }
  return context.getImageData(0, 0, canvas.width, canvas.height);
}

/**
 * @param {import("../../pixel").Pixel} pixel Pixel coordinate on the hit
 * detection canvas in css pixels.
 * @param {Array<F>} features Features. Has to
 * match the `features` array that was passed to `createHitDetectionImageData()`.
 * @param {ImageData} imageData Hit detection image data generated by
 * `createHitDetectionImageData()`.
 * @return {Array<F>} Features.
 * @template {import("../../Feature.js").FeatureLike} F
 */
function hitDetect(pixel, features, imageData) {
  /** @type {Array<F>} */
  const resultFeatures = [];
  if (imageData) {
    const x = Math.floor(Math.round(pixel[0]) * HIT_DETECT_RESOLUTION);
    const y = Math.floor(Math.round(pixel[1]) * HIT_DETECT_RESOLUTION);
    // The pixel coordinate is clamped down to the hit-detect canvas' size to account
    // for browsers returning coordinates slightly larger than the actual canvas size
    // due to a non-integer pixel ratio.
    const index =
      (math_clamp(x, 0, imageData.width - 1) +
        math_clamp(y, 0, imageData.height - 1) * imageData.width) *
      4;
    const r = imageData.data[index];
    const g = imageData.data[index + 1];
    const b = imageData.data[index + 2];
    const i = b + 256 * (g + 256 * r);
    const indexFactor = Math.floor((256 * 256 * 256 - 1) / features.length);
    if (i && i % indexFactor === 0) {
      resultFeatures.push(features[i / indexFactor - 1]);
    }
  }
  return resultFeatures;
}

;// CONCATENATED MODULE: ./node_modules/ol/renderer/vector.js
/**
 * @module ol/renderer/vector
 */



/**
 * Feature callback. The callback will be called with three arguments. The first
 * argument is one {@link module:ol/Feature~Feature feature} or {@link module:ol/render/Feature~RenderFeature render feature}
 * at the pixel, the second is the {@link module:ol/layer/Layer~Layer layer} of the feature and will be null for
 * unmanaged layers. The third is the {@link module:ol/geom/SimpleGeometry~SimpleGeometry} of the feature. For features
 * with a GeometryCollection geometry, it will be the first detected geometry from the collection.
 * @template T
 * @typedef {function(import("../Feature.js").FeatureLike, import("../layer/Layer.js").default<import("../source/Source").default>, import("../geom/SimpleGeometry.js").default): T} FeatureCallback
 */

/**
 * Tolerance for geometry simplification in device pixels.
 * @type {number}
 */
const SIMPLIFY_TOLERANCE = 0.5;

/**
 * @const
 * @type {Object<import("../geom/Geometry.js").Type,
 *                function(import("../render/canvas/BuilderGroup.js").default, import("../geom/Geometry.js").default,
 *                         import("../style/Style.js").default, Object): void>}
 */
const GEOMETRY_RENDERERS = {
  'Point': renderPointGeometry,
  'LineString': renderLineStringGeometry,
  'Polygon': renderPolygonGeometry,
  'MultiPoint': renderMultiPointGeometry,
  'MultiLineString': renderMultiLineStringGeometry,
  'MultiPolygon': renderMultiPolygonGeometry,
  'GeometryCollection': renderGeometryCollectionGeometry,
  'Circle': renderCircleGeometry,
};

/**
 * @param {import("../Feature.js").FeatureLike} feature1 Feature 1.
 * @param {import("../Feature.js").FeatureLike} feature2 Feature 2.
 * @return {number} Order.
 */
function defaultOrder(feature1, feature2) {
  return parseInt(getUid(feature1), 10) - parseInt(getUid(feature2), 10);
}

/**
 * @param {number} resolution Resolution.
 * @param {number} pixelRatio Pixel ratio.
 * @return {number} Squared pixel tolerance.
 */
function getSquaredTolerance(resolution, pixelRatio) {
  const tolerance = getTolerance(resolution, pixelRatio);
  return tolerance * tolerance;
}

/**
 * @param {number} resolution Resolution.
 * @param {number} pixelRatio Pixel ratio.
 * @return {number} Pixel tolerance.
 */
function getTolerance(resolution, pixelRatio) {
  return (SIMPLIFY_TOLERANCE * resolution) / pixelRatio;
}

/**
 * @param {import("../render/canvas/BuilderGroup.js").default} builderGroup Builder group.
 * @param {import("../geom/Circle.js").default} geometry Geometry.
 * @param {import("../style/Style.js").default} style Style.
 * @param {import("../Feature.js").default} feature Feature.
 * @param {number} [index] Render order index.
 */
function renderCircleGeometry(builderGroup, geometry, style, feature, index) {
  const fillStyle = style.getFill();
  const strokeStyle = style.getStroke();
  if (fillStyle || strokeStyle) {
    const circleReplay = builderGroup.getBuilder(style.getZIndex(), 'Circle');
    circleReplay.setFillStrokeStyle(fillStyle, strokeStyle);
    circleReplay.drawCircle(geometry, feature, index);
  }
  const textStyle = style.getText();
  if (textStyle && textStyle.getText()) {
    const textReplay = builderGroup.getBuilder(style.getZIndex(), 'Text');
    textReplay.setTextStyle(textStyle);
    textReplay.drawText(geometry, feature);
  }
}

/**
 * @param {import("../render/canvas/BuilderGroup.js").default} replayGroup Replay group.
 * @param {import("../Feature.js").FeatureLike} feature Feature.
 * @param {import("../style/Style.js").default} style Style.
 * @param {number} squaredTolerance Squared tolerance.
 * @param {function(import("../events/Event.js").default): void} listener Listener function.
 * @param {import("../proj.js").TransformFunction} [transform] Transform from user to view projection.
 * @param {boolean} [declutter] Enable decluttering.
 * @param {number} [index] Render order index..
 * @return {boolean} `true` if style is loading.
 */
function renderFeature(
  replayGroup,
  feature,
  style,
  squaredTolerance,
  listener,
  transform,
  declutter,
  index,
) {
  const loadingPromises = [];
  const imageStyle = style.getImage();
  if (imageStyle) {
    let loading = true;
    const imageState = imageStyle.getImageState();
    if (imageState == ol_ImageState.LOADED || imageState == ol_ImageState.ERROR) {
      loading = false;
    } else {
      if (imageState == ol_ImageState.IDLE) {
        imageStyle.load();
      }
    }
    if (loading) {
      loadingPromises.push(imageStyle.ready());
    }
  }
  const fillStyle = style.getFill();
  if (fillStyle && fillStyle.loading()) {
    loadingPromises.push(fillStyle.ready());
  }
  const loading = loadingPromises.length > 0;
  if (loading) {
    Promise.all(loadingPromises).then(() => listener(null));
  }
  renderFeatureInternal(
    replayGroup,
    feature,
    style,
    squaredTolerance,
    transform,
    declutter,
    index,
  );

  return loading;
}

/**
 * @param {import("../render/canvas/BuilderGroup.js").default} replayGroup Replay group.
 * @param {import("../Feature.js").FeatureLike} feature Feature.
 * @param {import("../style/Style.js").default} style Style.
 * @param {number} squaredTolerance Squared tolerance.
 * @param {import("../proj.js").TransformFunction} [transform] Optional transform function.
 * @param {boolean} [declutter] Enable decluttering.
 * @param {number} [index] Render order index..
 */
function renderFeatureInternal(
  replayGroup,
  feature,
  style,
  squaredTolerance,
  transform,
  declutter,
  index,
) {
  const geometry = style.getGeometryFunction()(feature);
  if (!geometry) {
    return;
  }
  const simplifiedGeometry = geometry.simplifyTransformed(
    squaredTolerance,
    transform,
  );
  const renderer = style.getRenderer();
  if (renderer) {
    renderGeometry(replayGroup, simplifiedGeometry, style, feature, index);
  } else {
    const geometryRenderer = GEOMETRY_RENDERERS[simplifiedGeometry.getType()];
    geometryRenderer(
      replayGroup,
      simplifiedGeometry,
      style,
      feature,
      index,
      declutter,
    );
  }
}

/**
 * @param {import("../render/canvas/BuilderGroup.js").default} replayGroup Replay group.
 * @param {import("../geom/Geometry.js").default|import("../render/Feature.js").default} geometry Geometry.
 * @param {import("../style/Style.js").default} style Style.
 * @param {import("../Feature.js").FeatureLike} feature Feature.
 * @param {number} [index] Render order index.
 */
function renderGeometry(replayGroup, geometry, style, feature, index) {
  if (geometry.getType() == 'GeometryCollection') {
    const geometries =
      /** @type {import("../geom/GeometryCollection.js").default} */ (
        geometry
      ).getGeometries();
    for (let i = 0, ii = geometries.length; i < ii; ++i) {
      renderGeometry(replayGroup, geometries[i], style, feature, index);
    }
    return;
  }
  const replay = replayGroup.getBuilder(style.getZIndex(), 'Default');
  replay.drawCustom(
    /** @type {import("../geom/SimpleGeometry.js").default} */ (geometry),
    feature,
    style.getRenderer(),
    style.getHitDetectionRenderer(),
    index,
  );
}

/**
 * @param {import("../render/canvas/BuilderGroup.js").default} replayGroup Replay group.
 * @param {import("../geom/GeometryCollection.js").default} geometry Geometry.
 * @param {import("../style/Style.js").default} style Style.
 * @param {import("../Feature.js").default} feature Feature.
 * @param {import("../render/canvas/BuilderGroup.js").default} [declutterBuilderGroup] Builder for decluttering.
 * @param {number} [index] Render order index.
 */
function renderGeometryCollectionGeometry(
  replayGroup,
  geometry,
  style,
  feature,
  declutterBuilderGroup,
  index,
) {
  const geometries = geometry.getGeometriesArray();
  let i, ii;
  for (i = 0, ii = geometries.length; i < ii; ++i) {
    const geometryRenderer = GEOMETRY_RENDERERS[geometries[i].getType()];
    geometryRenderer(
      replayGroup,
      geometries[i],
      style,
      feature,
      declutterBuilderGroup,
      index,
    );
  }
}

/**
 * @param {import("../render/canvas/BuilderGroup.js").default} builderGroup Replay group.
 * @param {import("../geom/LineString.js").default|import("../render/Feature.js").default} geometry Geometry.
 * @param {import("../style/Style.js").default} style Style.
 * @param {import("../Feature.js").FeatureLike} feature Feature.
 * @param {number} [index] Render order index.
 */
function renderLineStringGeometry(
  builderGroup,
  geometry,
  style,
  feature,
  index,
) {
  const strokeStyle = style.getStroke();
  if (strokeStyle) {
    const lineStringReplay = builderGroup.getBuilder(
      style.getZIndex(),
      'LineString',
    );
    lineStringReplay.setFillStrokeStyle(null, strokeStyle);
    lineStringReplay.drawLineString(geometry, feature, index);
  }
  const textStyle = style.getText();
  if (textStyle && textStyle.getText()) {
    const textReplay = builderGroup.getBuilder(style.getZIndex(), 'Text');
    textReplay.setTextStyle(textStyle);
    textReplay.drawText(geometry, feature, index);
  }
}

/**
 * @param {import("../render/canvas/BuilderGroup.js").default} builderGroup Replay group.
 * @param {import("../geom/MultiLineString.js").default|import("../render/Feature.js").default} geometry Geometry.
 * @param {import("../style/Style.js").default} style Style.
 * @param {import("../Feature.js").FeatureLike} feature Feature.
 * @param {number} [index] Render order index.
 */
function renderMultiLineStringGeometry(
  builderGroup,
  geometry,
  style,
  feature,
  index,
) {
  const strokeStyle = style.getStroke();
  if (strokeStyle) {
    const lineStringReplay = builderGroup.getBuilder(
      style.getZIndex(),
      'LineString',
    );
    lineStringReplay.setFillStrokeStyle(null, strokeStyle);
    lineStringReplay.drawMultiLineString(geometry, feature, index);
  }
  const textStyle = style.getText();
  if (textStyle && textStyle.getText()) {
    const textReplay = builderGroup.getBuilder(style.getZIndex(), 'Text');
    textReplay.setTextStyle(textStyle);
    textReplay.drawText(geometry, feature, index);
  }
}

/**
 * @param {import("../render/canvas/BuilderGroup.js").default} builderGroup Replay group.
 * @param {import("../geom/MultiPolygon.js").default} geometry Geometry.
 * @param {import("../style/Style.js").default} style Style.
 * @param {import("../Feature.js").default} feature Feature.
 * @param {number} [index] Render order index.
 */
function renderMultiPolygonGeometry(
  builderGroup,
  geometry,
  style,
  feature,
  index,
) {
  const fillStyle = style.getFill();
  const strokeStyle = style.getStroke();
  if (strokeStyle || fillStyle) {
    const polygonReplay = builderGroup.getBuilder(style.getZIndex(), 'Polygon');
    polygonReplay.setFillStrokeStyle(fillStyle, strokeStyle);
    polygonReplay.drawMultiPolygon(geometry, feature, index);
  }
  const textStyle = style.getText();
  if (textStyle && textStyle.getText()) {
    const textReplay = builderGroup.getBuilder(style.getZIndex(), 'Text');
    textReplay.setTextStyle(textStyle);
    textReplay.drawText(geometry, feature, index);
  }
}

/**
 * @param {import("../render/canvas/BuilderGroup.js").default} builderGroup Replay group.
 * @param {import("../geom/Point.js").default|import("../render/Feature.js").default} geometry Geometry.
 * @param {import("../style/Style.js").default} style Style.
 * @param {import("../Feature.js").FeatureLike} feature Feature.
 * @param {number} [index] Render order index.
 * @param {boolean} [declutter] Enable decluttering.
 */
function renderPointGeometry(
  builderGroup,
  geometry,
  style,
  feature,
  index,
  declutter,
) {
  const imageStyle = style.getImage();
  const textStyle = style.getText();
  const hasText = textStyle && textStyle.getText();
  /** @type {import("../render/canvas.js").DeclutterImageWithText} */
  const declutterImageWithText =
    declutter && imageStyle && hasText ? {} : undefined;
  if (imageStyle) {
    if (imageStyle.getImageState() != ol_ImageState.LOADED) {
      return;
    }
    const imageReplay = builderGroup.getBuilder(style.getZIndex(), 'Image');
    imageReplay.setImageStyle(imageStyle, declutterImageWithText);
    imageReplay.drawPoint(geometry, feature, index);
  }
  if (hasText) {
    const textReplay = builderGroup.getBuilder(style.getZIndex(), 'Text');
    textReplay.setTextStyle(textStyle, declutterImageWithText);
    textReplay.drawText(geometry, feature, index);
  }
}

/**
 * @param {import("../render/canvas/BuilderGroup.js").default} builderGroup Replay group.
 * @param {import("../geom/MultiPoint.js").default|import("../render/Feature.js").default} geometry Geometry.
 * @param {import("../style/Style.js").default} style Style.
 * @param {import("../Feature.js").FeatureLike} feature Feature.
 * @param {number} [index] Render order index.
 * @param {boolean} [declutter] Enable decluttering.
 */
function renderMultiPointGeometry(
  builderGroup,
  geometry,
  style,
  feature,
  index,
  declutter,
) {
  const imageStyle = style.getImage();
  const hasImage = imageStyle && imageStyle.getOpacity() !== 0;
  const textStyle = style.getText();
  const hasText = textStyle && textStyle.getText();
  /** @type {import("../render/canvas.js").DeclutterImageWithText} */
  const declutterImageWithText =
    declutter && hasImage && hasText ? {} : undefined;
  if (hasImage) {
    if (imageStyle.getImageState() != ol_ImageState.LOADED) {
      return;
    }
    const imageReplay = builderGroup.getBuilder(style.getZIndex(), 'Image');
    imageReplay.setImageStyle(imageStyle, declutterImageWithText);
    imageReplay.drawMultiPoint(geometry, feature, index);
  }
  if (hasText) {
    const textReplay = builderGroup.getBuilder(style.getZIndex(), 'Text');
    textReplay.setTextStyle(textStyle, declutterImageWithText);
    textReplay.drawText(geometry, feature, index);
  }
}

/**
 * @param {import("../render/canvas/BuilderGroup.js").default} builderGroup Replay group.
 * @param {import("../geom/Polygon.js").default|import("../render/Feature.js").default} geometry Geometry.
 * @param {import("../style/Style.js").default} style Style.
 * @param {import("../Feature.js").FeatureLike} feature Feature.
 * @param {number} [index] Render order index.
 */
function renderPolygonGeometry(builderGroup, geometry, style, feature, index) {
  const fillStyle = style.getFill();
  const strokeStyle = style.getStroke();
  if (fillStyle || strokeStyle) {
    const polygonReplay = builderGroup.getBuilder(style.getZIndex(), 'Polygon');
    polygonReplay.setFillStrokeStyle(fillStyle, strokeStyle);
    polygonReplay.drawPolygon(geometry, feature, index);
  }
  const textStyle = style.getText();
  if (textStyle && textStyle.getText()) {
    const textReplay = builderGroup.getBuilder(style.getZIndex(), 'Text');
    textReplay.setTextStyle(textStyle);
    textReplay.drawText(geometry, feature, index);
  }
}

;// CONCATENATED MODULE: ./node_modules/ol/renderer/Layer.js
/**
 * @module ol/renderer/Layer
 */





const maxStaleKeys = 5;

/**
 * @template {import("../layer/Layer.js").default} LayerType
 */
class LayerRenderer extends ol_Observable {
  /**
   * @param {LayerType} layer Layer.
   */
  constructor(layer) {
    super();

    /**
     * The renderer is initialized and ready to render.
     * @type {boolean}
     */
    this.ready = true;

    /** @private */
    this.boundHandleImageChange_ = this.handleImageChange_.bind(this);

    /**
     * @private
     * @type {LayerType}
     */
    this.layer_ = layer;

    /**
     * @type {Array<string>}
     * @private
     */
    this.staleKeys_ = new Array();

    /**
     * @type {number}
     * @protected
     */
    this.maxStaleKeys = maxStaleKeys;
  }

  /**
   * @return {Array<string>} Get the list of stale keys.
   */
  getStaleKeys() {
    return this.staleKeys_;
  }

  /**
   * @param {string} key The new stale key.
   */
  prependStaleKey(key) {
    this.staleKeys_.unshift(key);
    if (this.staleKeys_.length > this.maxStaleKeys) {
      this.staleKeys_.length = this.maxStaleKeys;
    }
  }

  /**
   * Asynchronous layer level hit detection.
   * @param {import("../pixel.js").Pixel} pixel Pixel.
   * @return {Promise<Array<import("../Feature").FeatureLike>>} Promise that resolves with
   * an array of features.
   */
  getFeatures(pixel) {
    return util_abstract();
  }

  /**
   * @param {import("../pixel.js").Pixel} pixel Pixel.
   * @return {Uint8ClampedArray|Uint8Array|Float32Array|DataView|null} Pixel data.
   */
  getData(pixel) {
    return null;
  }

  /**
   * Determine whether render should be called.
   * @abstract
   * @param {import("../Map.js").FrameState} frameState Frame state.
   * @return {boolean} Layer is ready to be rendered.
   */
  prepareFrame(frameState) {
    return util_abstract();
  }

  /**
   * Render the layer.
   * @abstract
   * @param {import("../Map.js").FrameState} frameState Frame state.
   * @param {HTMLElement|null} target Target that may be used to render content to.
   * @return {HTMLElement} The rendered element.
   */
  renderFrame(frameState, target) {
    return util_abstract();
  }

  /**
   * @abstract
   * @param {import("../coordinate.js").Coordinate} coordinate Coordinate.
   * @param {import("../Map.js").FrameState} frameState Frame state.
   * @param {number} hitTolerance Hit tolerance in pixels.
   * @param {import("./vector.js").FeatureCallback<T>} callback Feature callback.
   * @param {Array<import("./Map.js").HitMatch<T>>} matches The hit detected matches with tolerance.
   * @return {T|undefined} Callback result.
   * @template T
   */
  forEachFeatureAtCoordinate(
    coordinate,
    frameState,
    hitTolerance,
    callback,
    matches,
  ) {
    return undefined;
  }

  /**
   * @return {LayerType} Layer.
   */
  getLayer() {
    return this.layer_;
  }

  /**
   * Perform action necessary to get the layer rendered after new fonts have loaded
   * @abstract
   */
  handleFontsChanged() {}

  /**
   * Handle changes in image state.
   * @param {import("../events/Event.js").default} event Image change event.
   * @private
   */
  handleImageChange_(event) {
    const image = /** @type {import("../Image.js").default} */ (event.target);
    if (
      image.getState() === ol_ImageState.LOADED ||
      image.getState() === ol_ImageState.ERROR
    ) {
      this.renderIfReadyAndVisible();
    }
  }

  /**
   * Load the image if not already loaded, and register the image change
   * listener if needed.
   * @param {import("../Image.js").default} image Image.
   * @return {boolean} `true` if the image is already loaded, `false` otherwise.
   * @protected
   */
  loadImage(image) {
    let imageState = image.getState();
    if (imageState != ol_ImageState.LOADED && imageState != ol_ImageState.ERROR) {
      image.addEventListener(events_EventType.CHANGE, this.boundHandleImageChange_);
    }
    if (imageState == ol_ImageState.IDLE) {
      image.load();
      imageState = image.getState();
    }
    return imageState == ol_ImageState.LOADED;
  }

  /**
   * @protected
   */
  renderIfReadyAndVisible() {
    const layer = this.getLayer();
    if (layer && layer.getVisible() && layer.getSourceState() === 'ready') {
      layer.changed();
    }
  }

  /**
   * @param {import("../Map.js").FrameState} frameState Frame state.
   */
  renderDeferred(frameState) {}

  /**
   * Clean up.
   * @override
   */
  disposeInternal() {
    delete this.layer_;
    super.disposeInternal();
  }
}

/* harmony default export */ const renderer_Layer = (LayerRenderer);

;// CONCATENATED MODULE: ./node_modules/ol/renderer/canvas/Layer.js
/**
 * @module ol/renderer/canvas/Layer
 */










/**
 * @type {Array<HTMLCanvasElement>}
 */
const Layer_canvasPool = [];

/**
 * @type {CanvasRenderingContext2D}
 */
let pixelContext = null;

function createPixelContext() {
  pixelContext = dom_createCanvasContext2D(1, 1, undefined, {
    willReadFrequently: true,
  });
}

/**
 * @abstract
 * @template {import("../../layer/Layer.js").default} LayerType
 * @extends {LayerRenderer<LayerType>}
 */
class CanvasLayerRenderer extends renderer_Layer {
  /**
   * @param {LayerType} layer Layer.
   */
  constructor(layer) {
    super(layer);

    /**
     * @protected
     * @type {HTMLElement}
     */
    this.container = null;

    /**
     * @protected
     * @type {number}
     */
    this.renderedResolution;

    /**
     * A temporary transform.  The values in this transform should only be used in a
     * function that sets the values.
     * @protected
     * @type {import("../../transform.js").Transform}
     */
    this.tempTransform = create();

    /**
     * The transform for rendered pixels to viewport CSS pixels.  This transform must
     * be set when rendering a frame and may be used by other functions after rendering.
     * @protected
     * @type {import("../../transform.js").Transform}
     */
    this.pixelTransform = create();

    /**
     * The transform for viewport CSS pixels to rendered pixels.  This transform must
     * be set when rendering a frame and may be used by other functions after rendering.
     * @protected
     * @type {import("../../transform.js").Transform}
     */
    this.inversePixelTransform = create();

    /**
     * @type {CanvasRenderingContext2D}
     */
    this.context = null;

    /**
     * @private
     * @type {ZIndexContext}
     */
    this.deferredContext_ = null;

    /**
     * @type {boolean}
     */
    this.containerReused = false;

    /**
     * @protected
     * @type {import("../../Map.js").FrameState|null}
     */
    this.frameState = null;
  }

  /**
   * @param {import('../../DataTile.js').ImageLike} image Image.
   * @param {number} col The column index.
   * @param {number} row The row index.
   * @return {Uint8ClampedArray|null} The image data.
   */
  getImageData(image, col, row) {
    if (!pixelContext) {
      createPixelContext();
    }
    pixelContext.clearRect(0, 0, 1, 1);

    let data;
    try {
      pixelContext.drawImage(image, col, row, 1, 1, 0, 0, 1, 1);
      data = pixelContext.getImageData(0, 0, 1, 1).data;
    } catch {
      pixelContext = null;
      return null;
    }
    return data;
  }

  /**
   * @param {import('../../Map.js').FrameState} frameState Frame state.
   * @return {string} Background color.
   */
  getBackground(frameState) {
    const layer = this.getLayer();
    let background = layer.getBackground();
    if (typeof background === 'function') {
      background = background(frameState.viewState.resolution);
    }
    return background || undefined;
  }

  /**
   * Get a rendering container from an existing target, if compatible.
   * @param {HTMLElement} target Potential render target.
   * @param {string} transform CSS transform matrix.
   * @param {string} [backgroundColor] Background color.
   */
  useContainer(target, transform, backgroundColor) {
    const layerClassName = this.getLayer().getClassName();
    let container, context;
    if (
      target &&
      target.className === layerClassName &&
      (!backgroundColor ||
        (target &&
          target.style.backgroundColor &&
          equals(
            asArray(target.style.backgroundColor),
            asArray(backgroundColor),
          )))
    ) {
      const canvas = target.firstElementChild;
      if (canvas instanceof HTMLCanvasElement) {
        context = canvas.getContext('2d');
      }
    }
    if (context && transform_equivalent(context.canvas.style.transform, transform)) {
      // Container of the previous layer renderer can be used.
      this.container = target;
      this.context = context;
      this.containerReused = true;
    } else if (this.containerReused) {
      // Previously reused container cannot be used any more.
      this.container = null;
      this.context = null;
      this.containerReused = false;
    } else if (this.container) {
      this.container.style.backgroundColor = null;
    }
    if (!this.container) {
      container = document.createElement('div');
      container.className = layerClassName;
      let style = container.style;
      style.position = 'absolute';
      style.width = '100%';
      style.height = '100%';
      context = dom_createCanvasContext2D();
      const canvas = context.canvas;
      container.appendChild(canvas);
      style = canvas.style;
      style.position = 'absolute';
      style.left = '0';
      style.transformOrigin = 'top left';
      this.container = container;
      this.context = context;
    }
    if (
      !this.containerReused &&
      backgroundColor &&
      !this.container.style.backgroundColor
    ) {
      this.container.style.backgroundColor = backgroundColor;
    }
  }

  /**
   * @param {CanvasRenderingContext2D} context Context.
   * @param {import("../../Map.js").FrameState} frameState Frame state.
   * @param {import("../../extent.js").Extent} extent Clip extent.
   * @protected
   */
  clipUnrotated(context, frameState, extent) {
    const topLeft = getTopLeft(extent);
    const topRight = getTopRight(extent);
    const bottomRight = getBottomRight(extent);
    const bottomLeft = getBottomLeft(extent);

    apply(frameState.coordinateToPixelTransform, topLeft);
    apply(frameState.coordinateToPixelTransform, topRight);
    apply(frameState.coordinateToPixelTransform, bottomRight);
    apply(frameState.coordinateToPixelTransform, bottomLeft);

    const inverted = this.inversePixelTransform;
    apply(inverted, topLeft);
    apply(inverted, topRight);
    apply(inverted, bottomRight);
    apply(inverted, bottomLeft);

    context.save();
    context.beginPath();
    context.moveTo(Math.round(topLeft[0]), Math.round(topLeft[1]));
    context.lineTo(Math.round(topRight[0]), Math.round(topRight[1]));
    context.lineTo(Math.round(bottomRight[0]), Math.round(bottomRight[1]));
    context.lineTo(Math.round(bottomLeft[0]), Math.round(bottomLeft[1]));
    context.clip();
  }

  /**
   * @param {import("../../Map.js").FrameState} frameState Frame state.
   * @param {HTMLElement} target Target that may be used to render content to.
   * @protected
   */
  prepareContainer(frameState, target) {
    const extent = frameState.extent;
    const resolution = frameState.viewState.resolution;
    const rotation = frameState.viewState.rotation;
    const pixelRatio = frameState.pixelRatio;
    const width = Math.round((extent_getWidth(extent) / resolution) * pixelRatio);
    const height = Math.round((getHeight(extent) / resolution) * pixelRatio);
    // set forward and inverse pixel transforms
    compose(
      this.pixelTransform,
      frameState.size[0] / 2,
      frameState.size[1] / 2,
      1 / pixelRatio,
      1 / pixelRatio,
      rotation,
      -width / 2,
      -height / 2,
    );
    makeInverse(this.inversePixelTransform, this.pixelTransform);

    const canvasTransform = transform_toString(this.pixelTransform);
    this.useContainer(target, canvasTransform, this.getBackground(frameState));

    if (!this.containerReused) {
      const canvas = this.context.canvas;
      if (canvas.width != width || canvas.height != height) {
        canvas.width = width;
        canvas.height = height;
      } else {
        this.context.clearRect(0, 0, width, height);
      }
      if (canvasTransform !== canvas.style.transform) {
        canvas.style.transform = canvasTransform;
      }
    }
  }

  /**
   * @param {import("../../render/EventType.js").default} type Event type.
   * @param {CanvasRenderingContext2D} context Context.
   * @param {import("../../Map.js").FrameState} frameState Frame state.
   * @private
   */
  dispatchRenderEvent_(type, context, frameState) {
    const layer = this.getLayer();
    if (layer.hasListener(type)) {
      const event = new render_Event(
        type,
        this.inversePixelTransform,
        frameState,
        context,
      );
      layer.dispatchEvent(event);
    }
  }

  /**
   * @param {CanvasRenderingContext2D} context Context.
   * @param {import("../../Map.js").FrameState} frameState Frame state.
   * @protected
   */
  preRender(context, frameState) {
    this.frameState = frameState;
    if (frameState.declutter) {
      return;
    }
    this.dispatchRenderEvent_(render_EventType.PRERENDER, context, frameState);
  }

  /**
   * @param {CanvasRenderingContext2D} context Context.
   * @param {import("../../Map.js").FrameState} frameState Frame state.
   * @protected
   */
  postRender(context, frameState) {
    if (frameState.declutter) {
      return;
    }
    this.dispatchRenderEvent_(render_EventType.POSTRENDER, context, frameState);
  }

  /**
   * @param {import("../../Map.js").FrameState} frameState Frame state.
   */
  renderDeferredInternal(frameState) {}

  /**
   * @param {import("../../Map.js").FrameState} frameState Frame state.
   * @return {import('../../render/canvas/ZIndexContext.js').ZIndexContextProxy} Context.
   */
  getRenderContext(frameState) {
    if (frameState.declutter && !this.deferredContext_) {
      this.deferredContext_ = new canvas_ZIndexContext();
    }
    return frameState.declutter
      ? this.deferredContext_.getContext()
      : this.context;
  }

  /**
   * @param {import("../../Map.js").FrameState} frameState Frame state.
   * @override
   */
  renderDeferred(frameState) {
    if (!frameState.declutter) {
      return;
    }
    this.dispatchRenderEvent_(
      render_EventType.PRERENDER,
      this.context,
      frameState,
    );
    if (frameState.declutter && this.deferredContext_) {
      this.deferredContext_.draw(this.context);
      this.deferredContext_.clear();
    }
    this.renderDeferredInternal(frameState);
    this.dispatchRenderEvent_(
      render_EventType.POSTRENDER,
      this.context,
      frameState,
    );
  }

  /**
   * Creates a transform for rendering to an element that will be rotated after rendering.
   * @param {import("../../coordinate.js").Coordinate} center Center.
   * @param {number} resolution Resolution.
   * @param {number} rotation Rotation.
   * @param {number} pixelRatio Pixel ratio.
   * @param {number} width Width of the rendered element (in pixels).
   * @param {number} height Height of the rendered element (in pixels).
   * @param {number} offsetX Offset on the x-axis in view coordinates.
   * @protected
   * @return {!import("../../transform.js").Transform} Transform.
   */
  getRenderTransform(
    center,
    resolution,
    rotation,
    pixelRatio,
    width,
    height,
    offsetX,
  ) {
    const dx1 = width / 2;
    const dy1 = height / 2;
    const sx = pixelRatio / resolution;
    const sy = -sx;
    const dx2 = -center[0] + offsetX;
    const dy2 = -center[1];
    return compose(
      this.tempTransform,
      dx1,
      dy1,
      sx,
      sy,
      -rotation,
      dx2,
      dy2,
    );
  }

  /**
   * Clean up.
   * @override
   */
  disposeInternal() {
    delete this.frameState;
    super.disposeInternal();
  }
}

/* harmony default export */ const canvas_Layer = (CanvasLayerRenderer);

;// CONCATENATED MODULE: ./node_modules/ol/renderer/canvas/VectorLayer.js
/**
 * @module ol/renderer/canvas/VectorLayer
 */














/**
 * @classdesc
 * Canvas renderer for vector layers.
 * @api
 */
class CanvasVectorLayerRenderer extends canvas_Layer {
  /**
   * @param {import("../../layer/BaseVector.js").default} vectorLayer Vector layer.
   */
  constructor(vectorLayer) {
    super(vectorLayer);

    /** @private */
    this.boundHandleStyleImageChange_ = this.handleStyleImageChange_.bind(this);

    /**
     * @private
     * @type {boolean}
     */
    this.animatingOrInteracting_;

    /**
     * @private
     * @type {ImageData|null}
     */
    this.hitDetectionImageData_ = null;

    /**
     * @private
     * @type {boolean}
     */
    this.clipped_ = false;

    /**
     * @private
     * @type {Array<import("../../Feature.js").default>}
     */
    this.renderedFeatures_ = null;

    /**
     * @private
     * @type {number}
     */
    this.renderedRevision_ = -1;

    /**
     * @private
     * @type {number}
     */
    this.renderedResolution_ = NaN;

    /**
     * @private
     * @type {import("../../extent.js").Extent}
     */
    this.renderedExtent_ = createEmpty();

    /**
     * @private
     * @type {import("../../extent.js").Extent}
     */
    this.wrappedRenderedExtent_ = createEmpty();

    /**
     * @private
     * @type {number}
     */
    this.renderedRotation_;

    /**
     * @private
     * @type {import("../../coordinate").Coordinate}
     */
    this.renderedCenter_ = null;

    /**
     * @private
     * @type {import("../../proj/Projection").default}
     */
    this.renderedProjection_ = null;

    /**
     * @private
     * @type {number}
     */
    this.renderedPixelRatio_ = 1;

    /**
     * @private
     * @type {import("../../render.js").OrderFunction|null}
     */
    this.renderedRenderOrder_ = null;

    /**
     * @private
     * @type {boolean}
     */
    this.renderedFrameDeclutter_;

    /**
     * @private
     * @type {import("../../render/canvas/ExecutorGroup").default}
     */
    this.replayGroup_ = null;

    /**
     * A new replay group had to be created by `prepareFrame()`
     * @type {boolean}
     */
    this.replayGroupChanged = true;

    /**
     * Clipping to be performed by `renderFrame()`
     * @type {boolean}
     */
    this.clipping = true;

    /**
     * @private
     * @type {CanvasRenderingContext2D}
     */
    this.targetContext_ = null;

    /**
     * @private
     * @type {number}
     */
    this.opacity_ = 1;
  }

  /**
   * @param {ExecutorGroup} executorGroup Executor group.
   * @param {import("../../Map.js").FrameState} frameState Frame state.
   * @param {boolean} [declutterable] `true` to only render declutterable items,
   *     `false` to only render non-declutterable items, `undefined` to render all.
   */
  renderWorlds(executorGroup, frameState, declutterable) {
    const extent = frameState.extent;
    const viewState = frameState.viewState;
    const center = viewState.center;
    const resolution = viewState.resolution;
    const projection = viewState.projection;
    const rotation = viewState.rotation;
    const projectionExtent = projection.getExtent();
    const vectorSource = this.getLayer().getSource();
    const declutter = this.getLayer().getDeclutter();
    const pixelRatio = frameState.pixelRatio;
    const viewHints = frameState.viewHints;
    const snapToPixel = !(
      viewHints[ViewHint.ANIMATING] || viewHints[ViewHint.INTERACTING]
    );
    const context = this.context;
    const width = Math.round((extent_getWidth(extent) / resolution) * pixelRatio);
    const height = Math.round((getHeight(extent) / resolution) * pixelRatio);

    const multiWorld = vectorSource.getWrapX() && projection.canWrapX();
    const worldWidth = multiWorld ? extent_getWidth(projectionExtent) : null;
    const endWorld = multiWorld
      ? Math.ceil((extent[2] - projectionExtent[2]) / worldWidth) + 1
      : 1;
    let world = multiWorld
      ? Math.floor((extent[0] - projectionExtent[0]) / worldWidth)
      : 0;
    do {
      let transform = this.getRenderTransform(
        center,
        resolution,
        0,
        pixelRatio,
        width,
        height,
        world * worldWidth,
      );
      if (frameState.declutter) {
        transform = transform.slice(0);
      }
      executorGroup.execute(
        context,
        [context.canvas.width, context.canvas.height],
        transform,
        rotation,
        snapToPixel,
        declutterable === undefined
          ? ALL
          : declutterable
            ? DECLUTTER
            : NON_DECLUTTER,
        declutterable
          ? declutter && frameState.declutter[declutter]
          : undefined,
      );
    } while (++world < endWorld);
  }

  /**
   * @private
   */
  setDrawContext_() {
    if (this.opacity_ !== 1) {
      this.targetContext_ = this.context;
      this.context = dom_createCanvasContext2D(
        this.context.canvas.width,
        this.context.canvas.height,
        Layer_canvasPool,
      );
    }
  }

  /**
   * @private
   */
  resetDrawContext_() {
    if (this.opacity_ !== 1) {
      const alpha = this.targetContext_.globalAlpha;
      this.targetContext_.globalAlpha = this.opacity_;
      this.targetContext_.drawImage(this.context.canvas, 0, 0);
      this.targetContext_.globalAlpha = alpha;
      releaseCanvas(this.context);
      Layer_canvasPool.push(this.context.canvas);
      this.context = this.targetContext_;
      this.targetContext_ = null;
    }
  }

  /**
   * Render declutter items for this layer
   * @param {import("../../Map.js").FrameState} frameState Frame state.
   */
  renderDeclutter(frameState) {
    if (!this.replayGroup_ || !this.getLayer().getDeclutter()) {
      return;
    }
    this.renderWorlds(this.replayGroup_, frameState, true);
  }

  /**
   * Render deferred instructions.
   * @param {import("../../Map.js").FrameState} frameState Frame state.
   * @override
   */
  renderDeferredInternal(frameState) {
    if (!this.replayGroup_) {
      return;
    }
    this.replayGroup_.renderDeferred();
    if (this.clipped_) {
      this.context.restore();
    }
    this.resetDrawContext_();
  }

  /**
   * Render the layer.
   * @param {import("../../Map.js").FrameState} frameState Frame state.
   * @param {HTMLElement|null} target Target that may be used to render content to.
   * @return {HTMLElement} The rendered element.
   * @override
   */
  renderFrame(frameState, target) {
    const layerState = frameState.layerStatesArray[frameState.layerIndex];
    this.opacity_ = layerState.opacity;
    const viewState = frameState.viewState;

    this.prepareContainer(frameState, target);
    const context = this.context;

    const replayGroup = this.replayGroup_;
    let render = replayGroup && !replayGroup.isEmpty();
    if (!render) {
      const hasRenderListeners =
        this.getLayer().hasListener(render_EventType.PRERENDER) ||
        this.getLayer().hasListener(render_EventType.POSTRENDER);
      if (!hasRenderListeners) {
        return this.container;
      }
    }

    this.setDrawContext_();

    this.preRender(context, frameState);

    const projection = viewState.projection;

    // clipped rendering if layer extent is set
    this.clipped_ = false;
    if (render && layerState.extent && this.clipping) {
      const layerExtent = proj_fromUserExtent(layerState.extent, projection);
      render = intersects(layerExtent, frameState.extent);
      this.clipped_ = render && !containsExtent(layerExtent, frameState.extent);
      if (this.clipped_) {
        this.clipUnrotated(context, frameState, layerExtent);
      }
    }

    if (render) {
      this.renderWorlds(
        replayGroup,
        frameState,
        this.getLayer().getDeclutter() ? false : undefined,
      );
    }

    if (!frameState.declutter && this.clipped_) {
      context.restore();
    }

    this.postRender(context, frameState);

    if (this.renderedRotation_ !== viewState.rotation) {
      this.renderedRotation_ = viewState.rotation;
      this.hitDetectionImageData_ = null;
    }
    if (!frameState.declutter) {
      this.resetDrawContext_();
    }
    return this.container;
  }

  /**
   * Asynchronous layer level hit detection.
   * @param {import("../../pixel.js").Pixel} pixel Pixel.
   * @return {Promise<Array<import("../../Feature").default>>} Promise
   * that resolves with an array of features.
   * @override
   */
  getFeatures(pixel) {
    return new Promise((resolve) => {
      if (
        this.frameState &&
        !this.hitDetectionImageData_ &&
        !this.animatingOrInteracting_
      ) {
        const size = this.frameState.size.slice();
        const center = this.renderedCenter_;
        const resolution = this.renderedResolution_;
        const rotation = this.renderedRotation_;
        const projection = this.renderedProjection_;
        const extent = this.wrappedRenderedExtent_;
        const layer = this.getLayer();
        const transforms = [];
        const width = size[0] * HIT_DETECT_RESOLUTION;
        const height = size[1] * HIT_DETECT_RESOLUTION;
        transforms.push(
          this.getRenderTransform(
            center,
            resolution,
            rotation,
            HIT_DETECT_RESOLUTION,
            width,
            height,
            0,
          ).slice(),
        );
        const source = layer.getSource();
        const projectionExtent = projection.getExtent();
        if (
          source.getWrapX() &&
          projection.canWrapX() &&
          !containsExtent(projectionExtent, extent)
        ) {
          let startX = extent[0];
          const worldWidth = extent_getWidth(projectionExtent);
          let world = 0;
          let offsetX;
          while (startX < projectionExtent[0]) {
            --world;
            offsetX = worldWidth * world;
            transforms.push(
              this.getRenderTransform(
                center,
                resolution,
                rotation,
                HIT_DETECT_RESOLUTION,
                width,
                height,
                offsetX,
              ).slice(),
            );
            startX += worldWidth;
          }
          world = 0;
          startX = extent[2];
          while (startX > projectionExtent[2]) {
            ++world;
            offsetX = worldWidth * world;
            transforms.push(
              this.getRenderTransform(
                center,
                resolution,
                rotation,
                HIT_DETECT_RESOLUTION,
                width,
                height,
                offsetX,
              ).slice(),
            );
            startX -= worldWidth;
          }
        }
        const userProjection = getUserProjection();
        this.hitDetectionImageData_ = createHitDetectionImageData(
          size,
          transforms,
          this.renderedFeatures_,
          layer.getStyleFunction(),
          extent,
          resolution,
          rotation,
          getSquaredTolerance(resolution, this.renderedPixelRatio_),
          userProjection ? projection : null,
        );
      }
      resolve(
        hitDetect(pixel, this.renderedFeatures_, this.hitDetectionImageData_),
      );
    });
  }

  /**
   * @param {import("../../coordinate.js").Coordinate} coordinate Coordinate.
   * @param {import("../../Map.js").FrameState} frameState Frame state.
   * @param {number} hitTolerance Hit tolerance in pixels.
   * @param {import("../vector.js").FeatureCallback<T>} callback Feature callback.
   * @param {Array<import("../Map.js").HitMatch<T>>} matches The hit detected matches with tolerance.
   * @return {T|undefined} Callback result.
   * @template T
   * @override
   */
  forEachFeatureAtCoordinate(
    coordinate,
    frameState,
    hitTolerance,
    callback,
    matches,
  ) {
    if (!this.replayGroup_) {
      return undefined;
    }
    const resolution = frameState.viewState.resolution;
    const rotation = frameState.viewState.rotation;
    const layer = this.getLayer();

    /** @type {!Object<string, import("../Map.js").HitMatch<T>|true>} */
    const features = {};

    /**
     * @param {import("../../Feature.js").FeatureLike} feature Feature.
     * @param {import("../../geom/SimpleGeometry.js").default} geometry Geometry.
     * @param {number} distanceSq The squared distance to the click position
     * @return {T|undefined} Callback result.
     */
    const featureCallback = function (feature, geometry, distanceSq) {
      const key = getUid(feature);
      const match = features[key];
      if (!match) {
        if (distanceSq === 0) {
          features[key] = true;
          return callback(feature, layer, geometry);
        }
        matches.push(
          (features[key] = {
            feature: feature,
            layer: layer,
            geometry: geometry,
            distanceSq: distanceSq,
            callback: callback,
          }),
        );
      } else if (match !== true && distanceSq < match.distanceSq) {
        if (distanceSq === 0) {
          features[key] = true;
          matches.splice(matches.lastIndexOf(match), 1);
          return callback(feature, layer, geometry);
        }
        match.geometry = geometry;
        match.distanceSq = distanceSq;
      }
      return undefined;
    };

    const declutter = this.getLayer().getDeclutter();
    return this.replayGroup_.forEachFeatureAtCoordinate(
      coordinate,
      resolution,
      rotation,
      hitTolerance,
      featureCallback,
      declutter
        ? frameState.declutter?.[declutter]?.all().map((item) => item.value)
        : null,
    );
  }

  /**
   * Perform action necessary to get the layer rendered after new fonts have loaded
   * @override
   */
  handleFontsChanged() {
    const layer = this.getLayer();
    if (layer.getVisible() && this.replayGroup_) {
      layer.changed();
    }
  }

  /**
   * Handle changes in image style state.
   * @param {import("../../events/Event.js").default} event Image style change event.
   * @private
   */
  handleStyleImageChange_(event) {
    this.renderIfReadyAndVisible();
  }

  /**
   * Determine whether render should be called.
   * @param {import("../../Map.js").FrameState} frameState Frame state.
   * @return {boolean} Layer is ready to be rendered.
   * @override
   */
  prepareFrame(frameState) {
    const vectorLayer = this.getLayer();
    const vectorSource = vectorLayer.getSource();
    if (!vectorSource) {
      return false;
    }

    const animating = frameState.viewHints[ViewHint.ANIMATING];
    const interacting = frameState.viewHints[ViewHint.INTERACTING];
    const updateWhileAnimating = vectorLayer.getUpdateWhileAnimating();
    const updateWhileInteracting = vectorLayer.getUpdateWhileInteracting();

    if (
      (this.ready && !updateWhileAnimating && animating) ||
      (!updateWhileInteracting && interacting)
    ) {
      this.animatingOrInteracting_ = true;
      return true;
    }
    this.animatingOrInteracting_ = false;

    const frameStateExtent = frameState.extent;
    const viewState = frameState.viewState;
    const projection = viewState.projection;
    const resolution = viewState.resolution;
    const pixelRatio = frameState.pixelRatio;
    const vectorLayerRevision = vectorLayer.getRevision();
    const vectorLayerRenderBuffer = vectorLayer.getRenderBuffer();
    let vectorLayerRenderOrder = vectorLayer.getRenderOrder();

    if (vectorLayerRenderOrder === undefined) {
      vectorLayerRenderOrder = defaultOrder;
    }

    const center = viewState.center.slice();
    const extent = buffer(
      frameStateExtent,
      vectorLayerRenderBuffer * resolution,
    );
    const renderedExtent = extent.slice();
    const loadExtents = [extent.slice()];
    const projectionExtent = projection.getExtent();

    if (
      vectorSource.getWrapX() &&
      projection.canWrapX() &&
      !containsExtent(projectionExtent, frameState.extent)
    ) {
      // For the replay group, we need an extent that intersects the real world
      // (-180° to +180°). To support geometries in a coordinate range from -540°
      // to +540°, we add at least 1 world width on each side of the projection
      // extent. If the viewport is wider than the world, we need to add half of
      // the viewport width to make sure we cover the whole viewport.
      const worldWidth = extent_getWidth(projectionExtent);
      const gutter = Math.max(extent_getWidth(extent) / 2, worldWidth);
      extent[0] = projectionExtent[0] - gutter;
      extent[2] = projectionExtent[2] + gutter;
      coordinate_wrapX(center, projection);
      const loadExtent = wrapX(loadExtents[0], projection);
      // If the extent crosses the date line, we load data for both edges of the worlds
      if (
        loadExtent[0] < projectionExtent[0] &&
        loadExtent[2] < projectionExtent[2]
      ) {
        loadExtents.push([
          loadExtent[0] + worldWidth,
          loadExtent[1],
          loadExtent[2] + worldWidth,
          loadExtent[3],
        ]);
      } else if (
        loadExtent[0] > projectionExtent[0] &&
        loadExtent[2] > projectionExtent[2]
      ) {
        loadExtents.push([
          loadExtent[0] - worldWidth,
          loadExtent[1],
          loadExtent[2] - worldWidth,
          loadExtent[3],
        ]);
      }
    }

    if (
      this.ready &&
      this.renderedResolution_ == resolution &&
      this.renderedRevision_ == vectorLayerRevision &&
      this.renderedRenderOrder_ == vectorLayerRenderOrder &&
      this.renderedFrameDeclutter_ === !!frameState.declutter &&
      containsExtent(this.wrappedRenderedExtent_, extent)
    ) {
      if (!equals(this.renderedExtent_, renderedExtent)) {
        this.hitDetectionImageData_ = null;
        this.renderedExtent_ = renderedExtent;
      }
      this.renderedCenter_ = center;
      this.replayGroupChanged = false;
      return true;
    }

    this.replayGroup_ = null;

    const replayGroup = new canvas_BuilderGroup(
      getTolerance(resolution, pixelRatio),
      extent,
      resolution,
      pixelRatio,
    );

    const userProjection = getUserProjection();
    let userTransform;
    if (userProjection) {
      for (let i = 0, ii = loadExtents.length; i < ii; ++i) {
        const extent = loadExtents[i];
        const userExtent = proj_toUserExtent(extent, projection);
        vectorSource.loadFeatures(
          userExtent,
          toUserResolution(resolution, projection),
          userProjection,
        );
      }
      userTransform = getTransformFromProjections(userProjection, projection);
    } else {
      for (let i = 0, ii = loadExtents.length; i < ii; ++i) {
        vectorSource.loadFeatures(loadExtents[i], resolution, projection);
      }
    }

    const squaredTolerance = getSquaredTolerance(resolution, pixelRatio);
    let ready = true;
    const render =
      /**
       * @param {import("../../Feature.js").default} feature Feature.
       * @param {number} index Index.
       */
      (feature, index) => {
        let styles;
        const styleFunction =
          feature.getStyleFunction() || vectorLayer.getStyleFunction();
        if (styleFunction) {
          styles = styleFunction(feature, resolution);
        }
        if (styles) {
          const dirty = this.renderFeature(
            feature,
            squaredTolerance,
            styles,
            replayGroup,
            userTransform,
            this.getLayer().getDeclutter(),
            index,
          );
          ready = ready && !dirty;
        }
      };

    const userExtent = proj_toUserExtent(extent, projection);
    /** @type {Array<import("../../Feature.js").default>} */
    const features = vectorSource.getFeaturesInExtent(userExtent);
    if (vectorLayerRenderOrder) {
      features.sort(vectorLayerRenderOrder);
    }
    for (let i = 0, ii = features.length; i < ii; ++i) {
      render(features[i], i);
    }
    this.renderedFeatures_ = features;
    this.ready = ready;

    const replayGroupInstructions = replayGroup.finish();
    const executorGroup = new canvas_ExecutorGroup(
      extent,
      resolution,
      pixelRatio,
      vectorSource.getOverlaps(),
      replayGroupInstructions,
      vectorLayer.getRenderBuffer(),
      !!frameState.declutter,
    );

    this.renderedResolution_ = resolution;
    this.renderedRevision_ = vectorLayerRevision;
    this.renderedRenderOrder_ = vectorLayerRenderOrder;
    this.renderedFrameDeclutter_ = !!frameState.declutter;
    this.renderedExtent_ = renderedExtent;
    this.wrappedRenderedExtent_ = extent;
    this.renderedCenter_ = center;
    this.renderedProjection_ = projection;
    this.renderedPixelRatio_ = pixelRatio;
    this.replayGroup_ = executorGroup;
    this.hitDetectionImageData_ = null;

    this.replayGroupChanged = true;
    return true;
  }

  /**
   * @param {import("../../Feature.js").default} feature Feature.
   * @param {number} squaredTolerance Squared render tolerance.
   * @param {import("../../style/Style.js").default|Array<import("../../style/Style.js").default>} styles The style or array of styles.
   * @param {import("../../render/canvas/BuilderGroup.js").default} builderGroup Builder group.
   * @param {import("../../proj.js").TransformFunction} [transform] Transform from user to view projection.
   * @param {boolean} [declutter] Enable decluttering.
   * @param {number} [index] Render order index.
   * @return {boolean} `true` if an image is loading.
   */
  renderFeature(
    feature,
    squaredTolerance,
    styles,
    builderGroup,
    transform,
    declutter,
    index,
  ) {
    if (!styles) {
      return false;
    }
    let loading = false;
    if (Array.isArray(styles)) {
      for (let i = 0, ii = styles.length; i < ii; ++i) {
        loading =
          renderFeature(
            builderGroup,
            feature,
            styles[i],
            squaredTolerance,
            this.boundHandleStyleImageChange_,
            transform,
            declutter,
            index,
          ) || loading;
      }
    } else {
      loading = renderFeature(
        builderGroup,
        feature,
        styles,
        squaredTolerance,
        this.boundHandleStyleImageChange_,
        transform,
        declutter,
        index,
      );
    }
    return loading;
  }
}

/* harmony default export */ const canvas_VectorLayer = (CanvasVectorLayerRenderer);

;// CONCATENATED MODULE: ./node_modules/ol/layer/Vector.js
/**
 * @module ol/layer/Vector
 */



/**
 * @template {import("../source/Vector.js").default<FeatureType>} [VectorSourceType=import("../source/Vector.js").default<*>]
 * @template {import('../Feature.js').FeatureLike} [FeatureType=import("./BaseVector.js").ExtractedFeatureType<VectorSourceType>]
 * @typedef {Object} Options
 * @property {string} [className='ol-layer'] A CSS class name to set to the layer element.
 * @property {number} [opacity=1] Opacity (0, 1).
 * @property {boolean} [visible=true] Visibility.
 * @property {import("../extent.js").Extent} [extent] The bounding extent for layer rendering.  The layer will not be
 * rendered outside of this extent.
 * @property {number} [zIndex] The z-index for layer rendering.  At rendering time, the layers
 * will be ordered, first by Z-index and then by position. When `undefined`, a `zIndex` of 0 is assumed
 * for layers that are added to the map's `layers` collection, or `Infinity` when the layer's `setMap()`
 * method was used.
 * @property {number} [minResolution] The minimum resolution (inclusive) at which this layer will be
 * visible.
 * @property {number} [maxResolution] The maximum resolution (exclusive) below which this layer will
 * be visible.
 * @property {number} [minZoom] The minimum view zoom level (exclusive) above which this layer will be
 * visible.
 * @property {number} [maxZoom] The maximum view zoom level (inclusive) at which this layer will
 * be visible.
 * @property {import("../render.js").OrderFunction} [renderOrder] Render order. Function to be used when sorting
 * features before rendering. By default features are drawn in the order that they are created. Use
 * `null` to avoid the sort, but get an undefined draw order.
 * @property {number} [renderBuffer=100] The buffer in pixels around the viewport extent used by the
 * renderer when getting features from the vector source for the rendering or hit-detection.
 * Recommended value: the size of the largest symbol, line width or label.
 * @property {VectorSourceType} [source] Source.
 * @property {import("../Map.js").default} [map] Sets the layer as overlay on a map. The map will not manage
 * this layer in its layers collection, and the layer will be rendered on top. This is useful for
 * temporary layers. The standard way to add a layer to a map and have it managed by the map is to
 * use [map.addLayer()]{@link import("../Map.js").default#addLayer}.
 * @property {boolean|string|number} [declutter=false] Declutter images and text. Any truthy value will enable
 * decluttering. Within a layer, a feature rendered before another has higher priority. All layers with the
 * same `declutter` value will be decluttered together. The priority is determined by the drawing order of the
 * layers with the same `declutter` value. Higher in the layer stack means higher priority. To declutter distinct
 * layers or groups of layers separately, use different truthy values for `declutter`.
 * @property {import("../style/Style.js").StyleLike|import("../style/flat.js").FlatStyleLike|null} [style] Layer style. When set to `null`, only
 * features that have their own style will be rendered. See {@link module:ol/style/Style~Style} for the default style
 * which will be used if this is not set.
 * @property {import("./Base.js").BackgroundColor} [background] Background color for the layer. If not specified, no background
 * will be rendered.
 * @property {boolean} [updateWhileAnimating=false] When set to `true`, feature batches will
 * be recreated during animations. This means that no vectors will be shown clipped, but the
 * setting will have a performance impact for large amounts of vector data. When set to `false`,
 * batches will be recreated when no animation is active.
 * @property {boolean} [updateWhileInteracting=false] When set to `true`, feature batches will
 * be recreated during interactions. See also `updateWhileAnimating`.
 * @property {Object<string, *>} [properties] Arbitrary observable properties. Can be accessed with `#get()` and `#set()`.
 */

/**
 * @classdesc
 * Vector data is rendered client-side, as vectors. This layer type provides most accurate rendering
 * even during animations. Points and labels stay upright on rotated views. For very large
 * amounts of vector data, performance may suffer during pan and zoom animations. In this case,
 * try {@link module:ol/layer/VectorImage~VectorImageLayer}.
 *
 * Note that any property set in the options is set as a {@link module:ol/Object~BaseObject}
 * property on the layer object; for example, setting `title: 'My Title'` in the
 * options means that `title` is observable, and has get/set accessors.
 *
 * @template {import("../source/Vector.js").default<FeatureType>} [VectorSourceType=import("../source/Vector.js").default<*>]
 * @template {import('../Feature.js').FeatureLike} [FeatureType=import("./BaseVector.js").ExtractedFeatureType<VectorSourceType>]
 * @extends {BaseVectorLayer<FeatureType, VectorSourceType, CanvasVectorLayerRenderer>}
 * @api
 */
class VectorLayer extends BaseVector {
  /**
   * @param {Options<VectorSourceType, FeatureType>} [options] Options.
   */
  constructor(options) {
    super(options);
  }

  /**
   * @override
   */
  createRenderer() {
    return new canvas_VectorLayer(this);
  }
}

/* harmony default export */ const Vector = (VectorLayer);

;// CONCATENATED MODULE: ./node_modules/ol/DataTile.js
/**
 * @module ol/DataTile
 */




/**
 * @typedef {HTMLImageElement|HTMLCanvasElement|HTMLVideoElement|ImageBitmap} ImageLike
 */

/**
 * @typedef {Uint8Array|Uint8ClampedArray|Float32Array|DataView} ArrayLike
 */

/**
 * Data that can be used with a DataTile.
 * @typedef {ArrayLike|ImageLike} Data
 */

/**
 * @param {Data} data Tile data.
 * @return {ImageLike|null} The image-like data.
 */
function asImageLike(data) {
  return data instanceof Image ||
    data instanceof HTMLCanvasElement ||
    data instanceof HTMLVideoElement ||
    data instanceof ImageBitmap
    ? data
    : null;
}

/**
 * @param {Data} data Tile data.
 * @return {ArrayLike|null} The array-like data.
 */
function asArrayLike(data) {
  return data instanceof Uint8Array ||
    data instanceof Uint8ClampedArray ||
    data instanceof Float32Array ||
    data instanceof DataView
    ? data
    : null;
}

/**
 * This is set as the cancellation reason when a tile is disposed.
 */
const disposedError = new Error('disposed');

/**
 * @type {CanvasRenderingContext2D|null}
 */
let sharedContext = null;

/**
 * @param {ImageLike} image The image.
 * @return {Uint8ClampedArray} The data.
 */
function DataTile_toArray(image) {
  if (!sharedContext) {
    sharedContext = createCanvasContext2D(
      image.width,
      image.height,
      undefined,
      {willReadFrequently: true},
    );
  }
  const canvas = sharedContext.canvas;
  const width = image.width;
  if (canvas.width !== width) {
    canvas.width = width;
  }
  const height = image.height;
  if (canvas.height !== height) {
    canvas.height = height;
  }
  sharedContext.clearRect(0, 0, width, height);
  sharedContext.drawImage(image, 0, 0);
  return sharedContext.getImageData(0, 0, width, height).data;
}

/**
 * @type {import('./size.js').Size}
 */
const defaultSize = [256, 256];

/**
 * @typedef {Object} Options
 * @property {import("./tilecoord.js").TileCoord} tileCoord Tile coordinate.
 * @property {function(): Promise<Data>} loader Data loader.  For loaders that generate images,
 * the promise should not resolve until the image is loaded.
 * @property {number} [transition=250] A duration for tile opacity
 * transitions in milliseconds. A duration of 0 disables the opacity transition.
 * @property {boolean} [interpolate=false] Use interpolated values when resampling.  By default,
 * the nearest neighbor is used when resampling.
 * @property {import('./size.js').Size} [size=[256, 256]] Tile size.
 * @property {AbortController} [controller] An abort controller.
 * @api
 */

class DataTile extends ol_Tile {
  /**
   * @param {Options} options Tile options.
   */
  constructor(options) {
    const state = TileState.IDLE;

    super(options.tileCoord, state, {
      transition: options.transition,
      interpolate: options.interpolate,
    });

    /**
     * @type {function(): Promise<Data>}
     * @private
     */
    this.loader_ = options.loader;

    /**
     * @type {Data}
     * @private
     */
    this.data_ = null;

    /**
     * @type {Error}
     * @private
     */
    this.error_ = null;

    /**
     * @type {import('./size.js').Size|null}
     * @private
     */
    this.size_ = options.size || null;

    /**
     * @type {AbortController|null}
     * @private
     */
    this.controller_ = options.controller || null;
  }

  /**
   * Get the tile size.
   * @return {import('./size.js').Size} Tile size.
   */
  getSize() {
    if (this.size_) {
      return this.size_;
    }
    const imageData = asImageLike(this.data_);
    if (imageData) {
      return [imageData.width, imageData.height];
    }
    return defaultSize;
  }

  /**
   * Get the data for the tile.
   * @return {Data} Tile data.
   * @api
   */
  getData() {
    return this.data_;
  }

  /**
   * Get any loading error.
   * @return {Error} Loading error.
   * @api
   */
  getError() {
    return this.error_;
  }

  /**
   * Load the tile data.
   * @api
   * @override
   */
  load() {
    if (this.state !== TileState.IDLE && this.state !== TileState.ERROR) {
      return;
    }
    this.state = TileState.LOADING;
    this.changed();

    const self = this;
    this.loader_()
      .then(function (data) {
        self.data_ = data;
        self.state = TileState.LOADED;
        self.changed();
      })
      .catch(function (error) {
        self.error_ = error;
        self.state = TileState.ERROR;
        self.changed();
      });
  }

  /**
   * Clean up.
   * @override
   */
  disposeInternal() {
    if (this.controller_) {
      this.controller_.abort(disposedError);
      this.controller_ = null;
    }
    super.disposeInternal();
  }
}

/* harmony default export */ const ol_DataTile = (DataTile);

;// CONCATENATED MODULE: ./node_modules/ol/structs/LRUCache.js
/**
 * @module ol/structs/LRUCache
 */




/**
 * @typedef {Object} Entry
 * @property {string} key_ Key.
 * @property {Entry|null} newer Newer.
 * @property {Entry|null} older Older.
 * @property {*} value_ Value.
 */

/**
 * @classdesc
 * Implements a Least-Recently-Used cache where the keys do not conflict with
 * Object's properties (e.g. 'hasOwnProperty' is not allowed as a key). Expiring
 * items from the cache is the responsibility of the user.
 *
 * @fires import("../events/Event.js").default
 * @template T
 */
class LRUCache {
  /**
   * @param {number} [highWaterMark] High water mark.
   */
  constructor(highWaterMark) {
    /**
     * Desired max cache size after expireCache(). If set to 0, no cache entries
     * will be pruned at all.
     * @type {number}
     */
    this.highWaterMark = highWaterMark !== undefined ? highWaterMark : 2048;

    /**
     * @private
     * @type {number}
     */
    this.count_ = 0;

    /**
     * @private
     * @type {!Object<string, Entry>}
     */
    this.entries_ = {};

    /**
     * @private
     * @type {?Entry}
     */
    this.oldest_ = null;

    /**
     * @private
     * @type {?Entry}
     */
    this.newest_ = null;
  }

  deleteOldest() {
    const entry = this.pop();
    if (entry instanceof ol_Disposable) {
      entry.dispose();
    }
  }

  /**
   * @return {boolean} Can expire cache.
   */
  canExpireCache() {
    return this.highWaterMark > 0 && this.getCount() > this.highWaterMark;
  }

  /**
   * Expire the cache. When the cache entry is a {@link module:ol/Disposable~Disposable},
   * the entry will be disposed.
   * @param {!Object<string, boolean>} [keep] Keys to keep. To be implemented by subclasses.
   */
  expireCache(keep) {
    while (this.canExpireCache()) {
      this.deleteOldest();
    }
  }

  /**
   * FIXME empty description for jsdoc
   */
  clear() {
    while (this.oldest_) {
      this.deleteOldest();
    }
  }

  /**
   * @param {string} key Key.
   * @return {boolean} Contains key.
   */
  containsKey(key) {
    return this.entries_.hasOwnProperty(key);
  }

  /**
   * @param {function(T, string, LRUCache<T>): ?} f The function
   *     to call for every entry from the oldest to the newer. This function takes
   *     3 arguments (the entry value, the entry key and the LRUCache object).
   *     The return value is ignored.
   */
  forEach(f) {
    let entry = this.oldest_;
    while (entry) {
      f(entry.value_, entry.key_, this);
      entry = entry.newer;
    }
  }

  /**
   * @param {string} key Key.
   * @param {*} [options] Options (reserved for subclasses).
   * @return {T} Value.
   */
  get(key, options) {
    const entry = this.entries_[key];
    assert(
      entry !== undefined,
      'Tried to get a value for a key that does not exist in the cache',
    );
    if (entry === this.newest_) {
      return entry.value_;
    }
    if (entry === this.oldest_) {
      this.oldest_ = /** @type {Entry} */ (this.oldest_.newer);
      this.oldest_.older = null;
    } else {
      entry.newer.older = entry.older;
      entry.older.newer = entry.newer;
    }
    entry.newer = null;
    entry.older = this.newest_;
    this.newest_.newer = entry;
    this.newest_ = entry;
    return entry.value_;
  }

  /**
   * Remove an entry from the cache.
   * @param {string} key The entry key.
   * @return {T} The removed entry.
   */
  remove(key) {
    const entry = this.entries_[key];
    assert(
      entry !== undefined,
      'Tried to get a value for a key that does not exist in the cache',
    );
    if (entry === this.newest_) {
      this.newest_ = /** @type {Entry} */ (entry.older);
      if (this.newest_) {
        this.newest_.newer = null;
      }
    } else if (entry === this.oldest_) {
      this.oldest_ = /** @type {Entry} */ (entry.newer);
      if (this.oldest_) {
        this.oldest_.older = null;
      }
    } else {
      entry.newer.older = entry.older;
      entry.older.newer = entry.newer;
    }
    delete this.entries_[key];
    --this.count_;
    return entry.value_;
  }

  /**
   * @return {number} Count.
   */
  getCount() {
    return this.count_;
  }

  /**
   * @return {Array<string>} Keys.
   */
  getKeys() {
    const keys = new Array(this.count_);
    let i = 0;
    let entry;
    for (entry = this.newest_; entry; entry = entry.older) {
      keys[i++] = entry.key_;
    }
    return keys;
  }

  /**
   * @return {Array<T>} Values.
   */
  getValues() {
    const values = new Array(this.count_);
    let i = 0;
    let entry;
    for (entry = this.newest_; entry; entry = entry.older) {
      values[i++] = entry.value_;
    }
    return values;
  }

  /**
   * @return {T} Last value.
   */
  peekLast() {
    return this.oldest_.value_;
  }

  /**
   * @return {string} Last key.
   */
  peekLastKey() {
    return this.oldest_.key_;
  }

  /**
   * Get the key of the newest item in the cache.  Throws if the cache is empty.
   * @return {string} The newest key.
   */
  peekFirstKey() {
    return this.newest_.key_;
  }

  /**
   * Return an entry without updating least recently used time.
   * @param {string} key Key.
   * @return {T|undefined} Value.
   */
  peek(key) {
    return this.entries_[key]?.value_;
  }

  /**
   * @return {T} value Value.
   */
  pop() {
    const entry = this.oldest_;
    delete this.entries_[entry.key_];
    if (entry.newer) {
      entry.newer.older = null;
    }
    this.oldest_ = /** @type {Entry} */ (entry.newer);
    if (!this.oldest_) {
      this.newest_ = null;
    }
    --this.count_;
    return entry.value_;
  }

  /**
   * @param {string} key Key.
   * @param {T} value Value.
   */
  replace(key, value) {
    this.get(key); // update `newest_`
    this.entries_[key].value_ = value;
  }

  /**
   * @param {string} key Key.
   * @param {T} value Value.
   */
  set(key, value) {
    assert(
      !(key in this.entries_),
      'Tried to set a value for a key that is used already',
    );
    const entry = {
      key_: key,
      newer: null,
      older: this.newest_,
      value_: value,
    };
    if (!this.newest_) {
      this.oldest_ = entry;
    } else {
      this.newest_.newer = entry;
    }
    this.newest_ = entry;
    this.entries_[key] = entry;
    ++this.count_;
  }

  /**
   * Set a maximum number of entries for the cache.
   * @param {number} size Cache size.
   * @api
   */
  setSize(size) {
    this.highWaterMark = size;
  }
}

/* harmony default export */ const structs_LRUCache = (LRUCache);

;// CONCATENATED MODULE: ./node_modules/ol/renderer/canvas/TileLayer.js
/**
 * @module ol/renderer/canvas/TileLayer
 */















/**
 * @param {string} sourceKey The source key.
 * @param {number} z The tile z level.
 * @param {number} x The tile x level.
 * @param {number} y The tile y level.
 * @return {string} The cache key.
 */
function TileLayer_getCacheKey(sourceKey, z, x, y) {
  return `${sourceKey},${getKeyZXY(z, x, y)}`;
}

/**
 * @typedef {Object<number, Set<import("../../Tile.js").default>>} TileLookup
 */

/**
 * Add a tile to the lookup.
 * @param {TileLookup} tilesByZ Lookup of tiles by zoom level.
 * @param {import("../../Tile.js").default} tile A tile.
 * @param {number} z The zoom level.
 * @return {boolean} The tile was added to the lookup.
 */
function addTileToLookup(tilesByZ, tile, z) {
  if (!(z in tilesByZ)) {
    tilesByZ[z] = new Set([tile]);
    return true;
  }
  const set = tilesByZ[z];
  const existing = set.has(tile);
  if (!existing) {
    set.add(tile);
  }
  return !existing;
}

/**
 * Remove a tile from the lookup.
 * @param {TileLookup} tilesByZ Lookup of tiles by zoom level.
 * @param {import("../../Tile.js").default} tile A tile.
 * @param {number} z The zoom level.
 * @return {boolean} The tile was removed from the lookup.
 */
function removeTileFromLookup(tilesByZ, tile, z) {
  const set = tilesByZ[z];
  if (set) {
    return set.delete(tile);
  }
  return false;
}

/**
 * @param {import("../../Map.js").FrameState} frameState Frame state.
 * @param {import("../../extent.js").Extent} extent The frame extent.
 * @return {import("../../extent.js").Extent} Frame extent intersected with layer extents.
 */
function getRenderExtent(frameState, extent) {
  const layerState = frameState.layerStatesArray[frameState.layerIndex];
  if (layerState.extent) {
    extent = getIntersection(
      extent,
      proj_fromUserExtent(layerState.extent, frameState.viewState.projection),
    );
  }
  const source = /** @type {import("../../source/Tile.js").default} */ (
    layerState.layer.getRenderSource()
  );
  if (!source.getWrapX()) {
    const gridExtent = source
      .getTileGridForProjection(frameState.viewState.projection)
      .getExtent();
    if (gridExtent) {
      extent = getIntersection(extent, gridExtent);
    }
  }
  return extent;
}

/**
 * @typedef {Object} Options
 * @property {number} [cacheSize=512] The cache size.
 */

/**
 * @classdesc
 * Canvas renderer for tile layers.
 * @api
 * @template {import("../../layer/Tile.js").default|import("../../layer/VectorTile.js").default} [LayerType=import("../../layer/Tile.js").default<import("../../source/Tile.js").default>|import("../../layer/VectorTile.js").default]
 * @extends {CanvasLayerRenderer<LayerType>}
 */
class CanvasTileLayerRenderer extends canvas_Layer {
  /**
   * @param {LayerType} tileLayer Tile layer.
   * @param {Options} [options] Options.
   */
  constructor(tileLayer, options) {
    super(tileLayer);

    options = options || {};

    /**
     * Rendered extent has changed since the previous `renderFrame()` call
     * @type {boolean}
     */
    this.extentChanged = true;

    /**
     * The last call to `renderFrame` was completed with all tiles loaded
     * @type {boolean}
     */
    this.renderComplete = false;

    /**
     * @private
     * @type {?import("../../extent.js").Extent}
     */
    this.renderedExtent_ = null;

    /**
     * @protected
     * @type {number}
     */
    this.renderedPixelRatio;

    /**
     * @protected
     * @type {import("../../proj/Projection.js").default|null}
     */
    this.renderedProjection = null;

    /**
     * @private
     * @type {number}
     */
    this.renderedRevision_;

    /**
     * @protected
     * @type {!Array<import("../../Tile.js").default>}
     */
    this.renderedTiles = [];

    /**
     * @private
     * @type {string}
     */
    this.renderedSourceKey_;

    /**
     * @private
     * @type {number}
     */
    this.renderedSourceRevision_;

    /**
     * @protected
     * @type {import("../../extent.js").Extent}
     */
    this.tempExtent = createEmpty();

    /**
     * @private
     * @type {import("../../TileRange.js").default}
     */
    this.tempTileRange_ = new ol_TileRange(0, 0, 0, 0);

    /**
     * @type {import("../../tilecoord.js").TileCoord}
     * @private
     */
    this.tempTileCoord_ = tilecoord_createOrUpdate(0, 0, 0);

    const cacheSize = options.cacheSize !== undefined ? options.cacheSize : 512;

    /**
     * @type {import("../../structs/LRUCache.js").default<import("../../Tile.js").default>}
     * @private
     */
    this.tileCache_ = new structs_LRUCache(cacheSize);

    this.maxStaleKeys = cacheSize * 0.5;
  }

  /**
   * @return {LRUCache} Tile cache.
   */
  getTileCache() {
    return this.tileCache_;
  }

  /**
   * Get a tile from the cache or create one if needed.
   *
   * @param {number} z Tile coordinate z.
   * @param {number} x Tile coordinate x.
   * @param {number} y Tile coordinate y.
   * @param {import("../../Map.js").FrameState} frameState Frame state.
   * @return {import("../../Tile.js").default|null} Tile (or null if outside source extent).
   * @protected
   */
  getOrCreateTile(z, x, y, frameState) {
    const tileCache = this.tileCache_;
    const tileLayer = this.getLayer();
    const tileSource = tileLayer.getSource();
    const cacheKey = TileLayer_getCacheKey(tileSource.getKey(), z, x, y);

    /** @type {import("../../Tile.js").default} */
    let tile;

    if (tileCache.containsKey(cacheKey)) {
      tile = tileCache.get(cacheKey);
    } else {
      tile = tileSource.getTile(
        z,
        x,
        y,
        frameState.pixelRatio,
        frameState.viewState.projection,
      );
      if (!tile) {
        return null;
      }
      tileCache.set(cacheKey, tile);
    }
    return tile;
  }

  /**
   * @param {number} z Tile coordinate z.
   * @param {number} x Tile coordinate x.
   * @param {number} y Tile coordinate y.
   * @param {import("../../Map.js").FrameState} frameState Frame state.
   * @return {import("../../Tile.js").default|null} Tile (or null if outside source extent).
   * @protected
   */
  getTile(z, x, y, frameState) {
    const tile = this.getOrCreateTile(z, x, y, frameState);
    if (!tile) {
      return null;
    }
    return tile;
  }

  /**
   * @param {import("../../pixel.js").Pixel} pixel Pixel.
   * @return {Uint8ClampedArray} Data at the pixel location.
   * @override
   */
  getData(pixel) {
    const frameState = this.frameState;
    if (!frameState) {
      return null;
    }

    const layer = this.getLayer();
    const coordinate = apply(
      frameState.pixelToCoordinateTransform,
      pixel.slice(),
    );

    const layerExtent = layer.getExtent();
    if (layerExtent) {
      if (!containsCoordinate(layerExtent, coordinate)) {
        return null;
      }
    }

    const viewState = frameState.viewState;
    const source = layer.getRenderSource();
    const tileGrid = source.getTileGridForProjection(viewState.projection);
    const tilePixelRatio = source.getTilePixelRatio(frameState.pixelRatio);

    for (
      let z = tileGrid.getZForResolution(viewState.resolution);
      z >= tileGrid.getMinZoom();
      --z
    ) {
      const tileCoord = tileGrid.getTileCoordForCoordAndZ(coordinate, z);
      const tile = this.getTile(z, tileCoord[1], tileCoord[2], frameState);
      if (!tile || tile.getState() !== TileState.LOADED) {
        continue;
      }

      const tileOrigin = tileGrid.getOrigin(z);
      const tileSize = toSize(tileGrid.getTileSize(z));
      const tileResolution = tileGrid.getResolution(z);

      /**
       * @type {import('../../DataTile.js').ImageLike}
       */
      let image;
      if (tile instanceof ol_ImageTile || tile instanceof reproj_Tile) {
        image = tile.getImage();
      } else if (tile instanceof ol_DataTile) {
        image = asImageLike(tile.getData());
        if (!image) {
          continue;
        }
      } else {
        continue;
      }

      const col = Math.floor(
        tilePixelRatio *
          ((coordinate[0] - tileOrigin[0]) / tileResolution -
            tileCoord[1] * tileSize[0]),
      );

      const row = Math.floor(
        tilePixelRatio *
          ((tileOrigin[1] - coordinate[1]) / tileResolution -
            tileCoord[2] * tileSize[1]),
      );

      const gutter = Math.round(
        tilePixelRatio * source.getGutterForProjection(viewState.projection),
      );

      return this.getImageData(image, col + gutter, row + gutter);
    }

    return null;
  }

  /**
   * Determine whether render should be called.
   * @param {import("../../Map.js").FrameState} frameState Frame state.
   * @return {boolean} Layer is ready to be rendered.
   * @override
   */
  prepareFrame(frameState) {
    if (!this.renderedProjection) {
      this.renderedProjection = frameState.viewState.projection;
    } else if (frameState.viewState.projection !== this.renderedProjection) {
      this.tileCache_.clear();
      this.renderedProjection = frameState.viewState.projection;
    }

    const source = this.getLayer().getSource();
    if (!source) {
      return false;
    }
    const sourceRevision = source.getRevision();
    if (!this.renderedRevision_) {
      this.renderedRevision_ = sourceRevision;
    } else if (this.renderedRevision_ !== sourceRevision) {
      this.renderedRevision_ = sourceRevision;
      if (this.renderedSourceKey_ === source.getKey()) {
        this.tileCache_.clear();
      }
    }
    return true;
  }

  /**
   * @param {import("../../Map.js").FrameState} frameState Frame state.
   * @param {import("../../extent.js").Extent} extent The extent to be rendered.
   * @param {number} initialZ The zoom level.
   * @param {TileLookup} tilesByZ Lookup of tiles by zoom level.
   * @param {number} preload Number of additional levels to load.
   */
  enqueueTiles(frameState, extent, initialZ, tilesByZ, preload) {
    const viewState = frameState.viewState;
    const tileLayer = this.getLayer();
    const tileSource = tileLayer.getRenderSource();
    const tileGrid = tileSource.getTileGridForProjection(viewState.projection);

    const tileSourceKey = getUid(tileSource);
    if (!(tileSourceKey in frameState.wantedTiles)) {
      frameState.wantedTiles[tileSourceKey] = {};
    }

    const wantedTiles = frameState.wantedTiles[tileSourceKey];

    const map = tileLayer.getMapInternal();
    const minZ = Math.max(
      initialZ - preload,
      tileGrid.getMinZoom(),
      tileGrid.getZForResolution(
        Math.min(
          tileLayer.getMaxResolution(),
          map
            ? map
                .getView()
                .getResolutionForZoom(Math.max(tileLayer.getMinZoom(), 0))
            : tileGrid.getResolution(0),
        ),
        tileSource.zDirection,
      ),
    );
    const rotation = viewState.rotation;
    const viewport = rotation
      ? getRotatedViewport(
          viewState.center,
          viewState.resolution,
          rotation,
          frameState.size,
        )
      : undefined;
    for (let z = initialZ; z >= minZ; --z) {
      const tileRange = tileGrid.getTileRangeForExtentAndZ(
        extent,
        z,
        this.tempTileRange_,
      );

      const tileResolution = tileGrid.getResolution(z);

      for (let x = tileRange.minX; x <= tileRange.maxX; ++x) {
        for (let y = tileRange.minY; y <= tileRange.maxY; ++y) {
          if (
            rotation &&
            !tileGrid.tileCoordIntersectsViewport([z, x, y], viewport)
          ) {
            continue;
          }
          const tile = this.getTile(z, x, y, frameState);
          if (!tile) {
            continue;
          }
          const added = addTileToLookup(tilesByZ, tile, z);
          if (!added) {
            continue;
          }

          const tileQueueKey = tile.getKey();
          wantedTiles[tileQueueKey] = true;

          if (tile.getState() === TileState.IDLE) {
            if (!frameState.tileQueue.isKeyQueued(tileQueueKey)) {
              const tileCoord = tilecoord_createOrUpdate(z, x, y, this.tempTileCoord_);
              frameState.tileQueue.enqueue([
                tile,
                tileSourceKey,
                tileGrid.getTileCoordCenter(tileCoord),
                tileResolution,
              ]);
            }
          }
        }
      }
    }
  }

  /**
   * Look for tiles covering the provided tile coordinate at an alternate
   * zoom level.  Loaded tiles will be added to the provided tile texture lookup.
   * @param {import("../../tilecoord.js").TileCoord} tileCoord The target tile coordinate.
   * @param {TileLookup} tilesByZ Lookup of tiles by zoom level.
   * @return {boolean} The tile coordinate is covered by loaded tiles at the alternate zoom level.
   * @private
   */
  findStaleTile_(tileCoord, tilesByZ) {
    const tileCache = this.tileCache_;
    const z = tileCoord[0];
    const x = tileCoord[1];
    const y = tileCoord[2];
    const staleKeys = this.getStaleKeys();
    for (let i = 0; i < staleKeys.length; ++i) {
      const cacheKey = TileLayer_getCacheKey(staleKeys[i], z, x, y);
      if (tileCache.containsKey(cacheKey)) {
        const tile = tileCache.peek(cacheKey);
        if (tile.getState() === TileState.LOADED) {
          tile.endTransition(getUid(this));
          addTileToLookup(tilesByZ, tile, z);
          return true;
        }
      }
    }
    return false;
  }

  /**
   * Look for tiles covering the provided tile coordinate at an alternate
   * zoom level.  Loaded tiles will be added to the provided tile texture lookup.
   * @param {import("../../tilegrid/TileGrid.js").default} tileGrid The tile grid.
   * @param {import("../../tilecoord.js").TileCoord} tileCoord The target tile coordinate.
   * @param {number} altZ The alternate zoom level.
   * @param {TileLookup} tilesByZ Lookup of tiles by zoom level.
   * @return {boolean} The tile coordinate is covered by loaded tiles at the alternate zoom level.
   * @private
   */
  findAltTiles_(tileGrid, tileCoord, altZ, tilesByZ) {
    const tileRange = tileGrid.getTileRangeForTileCoordAndZ(
      tileCoord,
      altZ,
      this.tempTileRange_,
    );

    if (!tileRange) {
      return false;
    }

    let covered = true;
    const tileCache = this.tileCache_;
    const source = this.getLayer().getRenderSource();
    const sourceKey = source.getKey();
    for (let x = tileRange.minX; x <= tileRange.maxX; ++x) {
      for (let y = tileRange.minY; y <= tileRange.maxY; ++y) {
        const cacheKey = TileLayer_getCacheKey(sourceKey, altZ, x, y);
        let loaded = false;
        if (tileCache.containsKey(cacheKey)) {
          const tile = tileCache.peek(cacheKey);
          if (tile.getState() === TileState.LOADED) {
            addTileToLookup(tilesByZ, tile, altZ);
            loaded = true;
          }
        }
        if (!loaded) {
          covered = false;
        }
      }
    }
    return covered;
  }

  /**
   * Render the layer.
   *
   * The frame rendering logic has three parts:
   *
   *  1. Enqueue tiles
   *  2. Find alt tiles for those that are not yet loaded
   *  3. Render loaded tiles
   *
   * @param {import("../../Map.js").FrameState} frameState Frame state.
   * @param {HTMLElement} target Target that may be used to render content to.
   * @return {HTMLElement} The rendered element.
   * @override
   */
  renderFrame(frameState, target) {
    this.renderComplete = true;

    /**
     * TODO:
     *  maybe skip transition when not fully opaque
     *  decide if this.renderComplete is useful
     */

    const layerState = frameState.layerStatesArray[frameState.layerIndex];
    const viewState = frameState.viewState;
    const projection = viewState.projection;
    const viewResolution = viewState.resolution;
    const viewCenter = viewState.center;
    const pixelRatio = frameState.pixelRatio;

    const tileLayer = this.getLayer();
    const tileSource = tileLayer.getSource();
    const tileGrid = tileSource.getTileGridForProjection(projection);
    const z = tileGrid.getZForResolution(viewResolution, tileSource.zDirection);
    const tileResolution = tileGrid.getResolution(z);

    const sourceKey = tileSource.getKey();
    if (!this.renderedSourceKey_) {
      this.renderedSourceKey_ = sourceKey;
    } else if (this.renderedSourceKey_ !== sourceKey) {
      this.prependStaleKey(this.renderedSourceKey_);
      this.renderedSourceKey_ = sourceKey;
    }

    let frameExtent = frameState.extent;
    const tilePixelRatio = tileSource.getTilePixelRatio(pixelRatio);

    this.prepareContainer(frameState, target);

    // desired dimensions of the canvas in pixels
    const width = this.context.canvas.width;
    const height = this.context.canvas.height;

    const layerExtent =
      layerState.extent && proj_fromUserExtent(layerState.extent, projection);
    if (layerExtent) {
      frameExtent = getIntersection(
        frameExtent,
        proj_fromUserExtent(layerState.extent, projection),
      );
    }

    const dx = (tileResolution * width) / 2 / tilePixelRatio;
    const dy = (tileResolution * height) / 2 / tilePixelRatio;
    const canvasExtent = [
      viewCenter[0] - dx,
      viewCenter[1] - dy,
      viewCenter[0] + dx,
      viewCenter[1] + dy,
    ];

    /**
     * @type {TileLookup}
     */
    const tilesByZ = {};

    this.renderedTiles.length = 0;

    /**
     * Part 1: Enqueue tiles
     */

    const preload = tileLayer.getPreload();
    if (frameState.nextExtent) {
      const targetZ = tileGrid.getZForResolution(
        viewState.nextResolution,
        tileSource.zDirection,
      );
      const nextExtent = getRenderExtent(frameState, frameState.nextExtent);
      this.enqueueTiles(frameState, nextExtent, targetZ, tilesByZ, preload);
    }

    const renderExtent = getRenderExtent(frameState, frameExtent);
    this.enqueueTiles(frameState, renderExtent, z, tilesByZ, 0);
    if (preload > 0) {
      setTimeout(() => {
        this.enqueueTiles(
          frameState,
          renderExtent,
          z - 1,
          tilesByZ,
          preload - 1,
        );
      }, 0);
    }

    if (!(z in tilesByZ)) {
      return this.container;
    }

    /**
     * Part 2: Find alt tiles for those that are not yet loaded
     */

    const uid = getUid(this);
    const time = frameState.time;

    // look for cached tiles to use if a target tile is not ready
    for (const tile of tilesByZ[z]) {
      const tileState = tile.getState();
      if (tileState === TileState.EMPTY) {
        continue;
      }
      const tileCoord = tile.tileCoord;

      if (tileState === TileState.LOADED) {
        const alpha = tile.getAlpha(uid, time);
        if (alpha === 1) {
          // no need to look for alt tiles
          tile.endTransition(uid);
          continue;
        }
      }
      if (tileState !== TileState.ERROR) {
        this.renderComplete = false;
      }

      const hasStaleTile = this.findStaleTile_(tileCoord, tilesByZ);
      if (hasStaleTile) {
        // use the stale tile before the new tile's transition has completed
        removeTileFromLookup(tilesByZ, tile, z);
        frameState.animate = true;
        continue;
      }

      // first look for child tiles (at z + 1)
      const coveredByChildren = this.findAltTiles_(
        tileGrid,
        tileCoord,
        z + 1,
        tilesByZ,
      );

      if (coveredByChildren) {
        continue;
      }

      // next look for parent tiles
      const minZoom = tileGrid.getMinZoom();
      for (let parentZ = z - 1; parentZ >= minZoom; --parentZ) {
        const coveredByParent = this.findAltTiles_(
          tileGrid,
          tileCoord,
          parentZ,
          tilesByZ,
        );

        if (coveredByParent) {
          break;
        }
      }
    }

    /**
     * Part 3: Render loaded tiles
     */

    const canvasScale =
      ((tileResolution / viewResolution) * pixelRatio) / tilePixelRatio;

    const context = this.getRenderContext(frameState);

    // set scale transform for calculating tile positions on the canvas
    compose(
      this.tempTransform,
      width / 2,
      height / 2,
      canvasScale,
      canvasScale,
      0,
      -width / 2,
      -height / 2,
    );

    if (layerState.extent) {
      this.clipUnrotated(context, frameState, layerExtent);
    }

    if (!tileSource.getInterpolate()) {
      context.imageSmoothingEnabled = false;
    }

    this.preRender(context, frameState);

    /** @type {Array<number>} */
    const zs = Object.keys(tilesByZ).map(Number);
    zs.sort(ascending);

    let currentClip;
    const clips = [];
    const clipZs = [];
    for (let i = zs.length - 1; i >= 0; --i) {
      const currentZ = zs[i];
      const currentTilePixelSize = tileSource.getTilePixelSize(
        currentZ,
        pixelRatio,
        projection,
      );
      const currentResolution = tileGrid.getResolution(currentZ);
      const currentScale = currentResolution / tileResolution;
      const dx = currentTilePixelSize[0] * currentScale * canvasScale;
      const dy = currentTilePixelSize[1] * currentScale * canvasScale;
      const originTileCoord = tileGrid.getTileCoordForCoordAndZ(
        getTopLeft(canvasExtent),
        currentZ,
      );
      const originTileExtent = tileGrid.getTileCoordExtent(originTileCoord);
      const origin = apply(this.tempTransform, [
        (tilePixelRatio * (originTileExtent[0] - canvasExtent[0])) /
          tileResolution,
        (tilePixelRatio * (canvasExtent[3] - originTileExtent[3])) /
          tileResolution,
      ]);
      const tileGutter =
        tilePixelRatio * tileSource.getGutterForProjection(projection);
      for (const tile of tilesByZ[currentZ]) {
        if (tile.getState() !== TileState.LOADED) {
          continue;
        }
        const tileCoord = tile.tileCoord;

        // Calculate integer positions and sizes so that tiles align
        const xIndex = originTileCoord[1] - tileCoord[1];
        const nextX = Math.round(origin[0] - (xIndex - 1) * dx);
        const yIndex = originTileCoord[2] - tileCoord[2];
        const nextY = Math.round(origin[1] - (yIndex - 1) * dy);
        const x = Math.round(origin[0] - xIndex * dx);
        const y = Math.round(origin[1] - yIndex * dy);
        const w = nextX - x;
        const h = nextY - y;
        const transition = zs.length === 1;

        let contextSaved = false;

        // Clip mask for regions in this tile that already filled by a higher z tile
        currentClip = [x, y, x + w, y, x + w, y + h, x, y + h];
        for (let i = 0, ii = clips.length; i < ii; ++i) {
          if (!transition && currentZ < clipZs[i]) {
            const clip = clips[i];
            if (
              intersects(
                [x, y, x + w, y + h],
                [clip[0], clip[3], clip[4], clip[7]],
              )
            ) {
              if (!contextSaved) {
                context.save();
                contextSaved = true;
              }
              context.beginPath();
              // counter-clockwise (outer ring) for current tile
              context.moveTo(currentClip[0], currentClip[1]);
              context.lineTo(currentClip[2], currentClip[3]);
              context.lineTo(currentClip[4], currentClip[5]);
              context.lineTo(currentClip[6], currentClip[7]);
              // clockwise (inner ring) for higher z tile
              context.moveTo(clip[6], clip[7]);
              context.lineTo(clip[4], clip[5]);
              context.lineTo(clip[2], clip[3]);
              context.lineTo(clip[0], clip[1]);
              context.clip();
            }
          }
        }
        clips.push(currentClip);
        clipZs.push(currentZ);

        this.drawTile(tile, frameState, x, y, w, h, tileGutter, transition);
        if (contextSaved) {
          context.restore();
        }
        this.renderedTiles.unshift(tile);

        // TODO: decide if this is necessary
        this.updateUsedTiles(frameState.usedTiles, tileSource, tile);
      }
    }

    this.renderedResolution = tileResolution;
    this.extentChanged =
      !this.renderedExtent_ || !extent_equals(this.renderedExtent_, canvasExtent);
    this.renderedExtent_ = canvasExtent;
    this.renderedPixelRatio = pixelRatio;

    this.postRender(this.context, frameState);

    if (layerState.extent) {
      context.restore();
    }
    context.imageSmoothingEnabled = true;

    if (this.renderComplete) {
      /**
       * @param {import("../../Map.js").default} map Map.
       * @param {import("../../Map.js").FrameState} frameState Frame state.
       */
      const postRenderFunction = (map, frameState) => {
        const tileSourceKey = getUid(tileSource);
        const wantedTiles = frameState.wantedTiles[tileSourceKey];
        const tilesCount = wantedTiles ? Object.keys(wantedTiles).length : 0;
        this.updateCacheSize(tilesCount);
        this.tileCache_.expireCache();
      };

      frameState.postRenderFunctions.push(postRenderFunction);
    }

    return this.container;
  }

  /**
   * Increases the cache size if needed
   * @param {number} tileCount Minimum number of tiles needed.
   */
  updateCacheSize(tileCount) {
    this.tileCache_.highWaterMark = Math.max(
      this.tileCache_.highWaterMark,
      tileCount * 2,
    );
  }

  /**
   * @param {import("../../Tile.js").default} tile Tile.
   * @param {import("../../Map.js").FrameState} frameState Frame state.
   * @param {number} x Left of the tile.
   * @param {number} y Top of the tile.
   * @param {number} w Width of the tile.
   * @param {number} h Height of the tile.
   * @param {number} gutter Tile gutter.
   * @param {boolean} transition Apply an alpha transition.
   * @protected
   */
  drawTile(tile, frameState, x, y, w, h, gutter, transition) {
    let image;
    if (tile instanceof ol_DataTile) {
      image = asImageLike(tile.getData());
      if (!image) {
        throw new Error('Rendering array data is not yet supported');
      }
    } else {
      image = this.getTileImage(
        /** @type {import("../../ImageTile.js").default} */ (tile),
      );
    }
    if (!image) {
      return;
    }
    const context = this.getRenderContext(frameState);
    const uid = getUid(this);
    const layerState = frameState.layerStatesArray[frameState.layerIndex];
    const alpha =
      layerState.opacity *
      (transition ? tile.getAlpha(uid, frameState.time) : 1);
    const alphaChanged = alpha !== context.globalAlpha;
    if (alphaChanged) {
      context.save();
      context.globalAlpha = alpha;
    }
    context.drawImage(
      image,
      gutter,
      gutter,
      image.width - 2 * gutter,
      image.height - 2 * gutter,
      x,
      y,
      w,
      h,
    );

    if (alphaChanged) {
      context.restore();
    }
    if (alpha !== layerState.opacity) {
      frameState.animate = true;
    } else if (transition) {
      tile.endTransition(uid);
    }
  }

  /**
   * @return {HTMLCanvasElement} Image
   */
  getImage() {
    const context = this.context;
    return context ? context.canvas : null;
  }

  /**
   * Get the image from a tile.
   * @param {import("../../ImageTile.js").default} tile Tile.
   * @return {HTMLCanvasElement|HTMLImageElement|HTMLVideoElement} Image.
   * @protected
   */
  getTileImage(tile) {
    return tile.getImage();
  }

  /**
   * @param {!Object<string, !Object<string, boolean>>} usedTiles Used tiles.
   * @param {import("../../source/Tile.js").default} tileSource Tile source.
   * @param {import('../../Tile.js').default} tile Tile.
   * @protected
   */
  updateUsedTiles(usedTiles, tileSource, tile) {
    // FIXME should we use tilesToDrawByZ instead?
    const tileSourceKey = getUid(tileSource);
    if (!(tileSourceKey in usedTiles)) {
      usedTiles[tileSourceKey] = {};
    }
    usedTiles[tileSourceKey][tile.getKey()] = true;
  }
}

/* harmony default export */ const canvas_TileLayer = (CanvasTileLayerRenderer);

;// CONCATENATED MODULE: ./node_modules/ol/layer/TileProperty.js
/**
 * @module ol/layer/TileProperty
 */

/**
 * @enum {string}
 */
/* harmony default export */ const TileProperty = ({
  PRELOAD: 'preload',
  USE_INTERIM_TILES_ON_ERROR: 'useInterimTilesOnError',
});

;// CONCATENATED MODULE: ./node_modules/ol/layer/BaseTile.js
/**
 * @module ol/layer/BaseTile
 */



/***
 * @template Return
 * @typedef {import("../Observable").OnSignature<import("../Observable").EventTypes, import("../events/Event.js").default, Return> &
 *   import("../Observable").OnSignature<import("./Base").BaseLayerObjectEventTypes|
 *     import("./Layer.js").LayerEventType|'change:preload'|'change:useInterimTilesOnError', import("../Object").ObjectEvent, Return> &
 *   import("../Observable").OnSignature<import("../render/EventType").LayerRenderEventTypes, import("../render/Event").default, Return> &
 *   import("../Observable").CombinedOnSignature<import("../Observable").EventTypes|import("./Base").BaseLayerObjectEventTypes|
 *   import("./Layer.js").LayerEventType|'change:preload'|'change:useInterimTilesOnError'|import("../render/EventType").LayerRenderEventTypes, Return>} BaseTileLayerOnSignature
 */

/**
 * @template {import("../source/Tile.js").default} TileSourceType
 * @typedef {Object} Options
 * @property {string} [className='ol-layer'] A CSS class name to set to the layer element.
 * @property {number} [opacity=1] Opacity (0, 1).
 * @property {boolean} [visible=true] Visibility.
 * @property {import("../extent.js").Extent} [extent] The bounding extent for layer rendering.  The layer will not be
 * rendered outside of this extent.
 * @property {number} [zIndex] The z-index for layer rendering.  At rendering time, the layers
 * will be ordered, first by Z-index and then by position. When `undefined`, a `zIndex` of 0 is assumed
 * for layers that are added to the map's `layers` collection, or `Infinity` when the layer's `setMap()`
 * method was used.
 * @property {number} [minResolution] The minimum resolution (inclusive) at which this layer will be
 * visible.
 * @property {number} [maxResolution] The maximum resolution (exclusive) below which this layer will
 * be visible.
 * @property {number} [minZoom] The minimum view zoom level (exclusive) above which this layer will be
 * visible.
 * @property {number} [maxZoom] The maximum view zoom level (inclusive) at which this layer will
 * be visible.
 * @property {number} [preload=0] Preload. Load low-resolution tiles up to `preload` levels. `0`
 * means no preloading.
 * @property {TileSourceType} [source] Source for this layer.
 * @property {import("../Map.js").default} [map] Sets the layer as overlay on a map. The map will not manage
 * this layer in its layers collection, and the layer will be rendered on top. This is useful for
 * temporary layers. The standard way to add a layer to a map and have it managed by the map is to
 * use {@link import("../Map.js").default#addLayer map.addLayer()}.
 * @property {import("./Base.js").BackgroundColor} [background] Background color for the layer. If not specified, no background
 * will be rendered.
 * @property {boolean} [useInterimTilesOnError=true] Deprecated.  Use interim tiles on error.
 * @property {Object<string, *>} [properties] Arbitrary observable properties. Can be accessed with `#get()` and `#set()`.
 * @property {number} [cacheSize=512] The internal tile cache size.  This needs to be large enough to render
 * two zoom levels worth of tiles.
 */

/**
 * @classdesc
 * For layer sources that provide pre-rendered, tiled images in grids that are
 * organized by zoom levels for specific resolutions.
 * Note that any property set in the options is set as a {@link module:ol/Object~BaseObject}
 * property on the layer object; for example, setting `title: 'My Title'` in the
 * options means that `title` is observable, and has get/set accessors.
 *
 * @template {import("../source/Tile.js").default} TileSourceType
 * @template {import("../renderer/Layer.js").default} RendererType
 * @extends {Layer<TileSourceType, RendererType>}
 * @api
 */
class BaseTileLayer extends layer_Layer {
  /**
   * @param {Options<TileSourceType>} [options] Tile layer options.
   */
  constructor(options) {
    options = options ? options : {};

    const baseOptions = Object.assign({}, options);

    const cacheSize = options.cacheSize;
    delete options.cacheSize;

    delete baseOptions.preload;
    delete baseOptions.useInterimTilesOnError;
    super(baseOptions);

    /***
     * @type {BaseTileLayerOnSignature<import("../events").EventsKey>}
     */
    this.on;

    /***
     * @type {BaseTileLayerOnSignature<import("../events").EventsKey>}
     */
    this.once;

    /***
     * @type {BaseTileLayerOnSignature<void>}
     */
    this.un;

    /**
     * @type {number|undefined}
     * @private
     */
    this.cacheSize_ = cacheSize;

    this.setPreload(options.preload !== undefined ? options.preload : 0);
    this.setUseInterimTilesOnError(
      options.useInterimTilesOnError !== undefined
        ? options.useInterimTilesOnError
        : true,
    );
  }

  /**
   * @return {number|undefined} The suggested cache size
   * @protected
   */
  getCacheSize() {
    return this.cacheSize_;
  }

  /**
   * Return the level as number to which we will preload tiles up to.
   * @return {number} The level to preload tiles up to.
   * @observable
   * @api
   */
  getPreload() {
    return /** @type {number} */ (this.get(TileProperty.PRELOAD));
  }

  /**
   * Set the level as number to which we will preload tiles up to.
   * @param {number} preload The level to preload tiles up to.
   * @observable
   * @api
   */
  setPreload(preload) {
    this.set(TileProperty.PRELOAD, preload);
  }

  /**
   * Deprecated.  Whether we use interim tiles on error.
   * @return {boolean} Use interim tiles on error.
   * @observable
   * @api
   */
  getUseInterimTilesOnError() {
    return /** @type {boolean} */ (
      this.get(TileProperty.USE_INTERIM_TILES_ON_ERROR)
    );
  }

  /**
   * Deprecated.  Set whether we use interim tiles on error.
   * @param {boolean} useInterimTilesOnError Use interim tiles on error.
   * @observable
   * @api
   */
  setUseInterimTilesOnError(useInterimTilesOnError) {
    this.set(TileProperty.USE_INTERIM_TILES_ON_ERROR, useInterimTilesOnError);
  }

  /**
   * Get data for a pixel location.  The return type depends on the source data.  For image tiles,
   * a four element RGBA array will be returned.  For data tiles, the array length will match the
   * number of bands in the dataset.  For requests outside the layer extent, `null` will be returned.
   * Data for a image tiles can only be retrieved if the source's `crossOrigin` property is set.
   *
   * ```js
   * // display layer data on every pointer move
   * map.on('pointermove', (event) => {
   *   console.log(layer.getData(event.pixel));
   * });
   * ```
   * @param {import("../pixel").Pixel} pixel Pixel.
   * @return {Uint8ClampedArray|Uint8Array|Float32Array|DataView|null} Pixel data.
   * @api
   * @override
   */
  getData(pixel) {
    return super.getData(pixel);
  }
}

/* harmony default export */ const BaseTile = (BaseTileLayer);

;// CONCATENATED MODULE: ./node_modules/ol/layer/Tile.js
/**
 * @module ol/layer/Tile
 */



/**
 * @classdesc
 * For layer sources that provide pre-rendered, tiled images in grids that are
 * organized by zoom levels for specific resolutions.
 * Note that any property set in the options is set as a {@link module:ol/Object~BaseObject}
 * property on the layer object; for example, setting `title: 'My Title'` in the
 * options means that `title` is observable, and has get/set accessors.
 *
 * @template {import("../source/Tile.js").default} [TileSourceType=import("../source/Tile.js").default]
 * @extends BaseTileLayer<TileSourceType, CanvasTileLayerRenderer>
 * @api
 */
class TileLayer extends BaseTile {
  /**
   * @param {import("./BaseTile.js").Options<TileSourceType>} [options] Tile layer options.
   */
  constructor(options) {
    super(options);
  }

  /**
   * @override
   */
  createRenderer() {
    return new canvas_TileLayer(this, {
      cacheSize: this.getCacheSize(),
    });
  }
}

/* harmony default export */ const layer_Tile = (TileLayer);

;// CONCATENATED MODULE: ./node_modules/ol/featureloader.js
/**
 * @module ol/featureloader
 */

/**
 *
 * @type {boolean}
 * @private
 */
let withCredentials = false;

/**
 * {@link module:ol/source/Vector~VectorSource} sources use a function of this type to
 * load features.
 *
 * This function takes up to 5 arguments. These are an {@link module:ol/extent~Extent} representing
 * the area to be loaded, a `{number}` representing the resolution (map units per pixel), a
 * {@link module:ol/proj/Projection~Projection} for the projection, an optional success callback that should get
 * the loaded features passed as an argument and an optional failure callback with no arguments. If
 * the callbacks are not used, the corresponding vector source will not fire `'featuresloadend'` and
 * `'featuresloaderror'` events. `this` within the function is bound to the
 * {@link module:ol/source/Vector~VectorSource} it's called from.
 *
 * The function is responsible for loading the features and adding them to the
 * source.
 *
 * @template {import("./Feature.js").FeatureLike} [FeatureType=import("./Feature.js").FeatureLike]
 * @typedef {(
 *           extent: import("./extent.js").Extent,
 *           resolution: number,
 *           projection: import("./proj/Projection.js").default,
 *           success?: (features: Array<FeatureType>) => void,
 *           failure?: () => void) => void} FeatureLoader
 * @api
 */

/**
 * {@link module:ol/source/Vector~VectorSource} sources use a function of this type to
 * get the url to load features from.
 *
 * This function takes an {@link module:ol/extent~Extent} representing the area
 * to be loaded, a `{number}` representing the resolution (map units per pixel)
 * and an {@link module:ol/proj/Projection~Projection} for the projection  as
 * arguments and returns a `{string}` representing the URL.
 * @typedef {function(import("./extent.js").Extent, number, import("./proj/Projection.js").default): string} FeatureUrlFunction
 * @api
 */

/**
 * @template {import("./Feature.js").FeatureLike} [FeatureType=import("./Feature.js").default]
 * @param {string|FeatureUrlFunction} url Feature URL service.
 * @param {import("./format/Feature.js").default<FeatureType>} format Feature format.
 * @param {import("./extent.js").Extent} extent Extent.
 * @param {number} resolution Resolution.
 * @param {import("./proj/Projection.js").default} projection Projection.
 * @param {function(Array<FeatureType>, import("./proj/Projection.js").default): void} success Success
 *      Function called with the loaded features and optionally with the data projection.
 * @param {function(): void} failure Failure
 *      Function called when loading failed.
 */
function loadFeaturesXhr(
  url,
  format,
  extent,
  resolution,
  projection,
  success,
  failure,
) {
  const xhr = new XMLHttpRequest();
  xhr.open(
    'GET',
    typeof url === 'function' ? url(extent, resolution, projection) : url,
    true,
  );
  if (format.getType() == 'arraybuffer') {
    xhr.responseType = 'arraybuffer';
  }
  xhr.withCredentials = withCredentials;
  /**
   * @param {Event} event Event.
   * @private
   */
  xhr.onload = function (event) {
    // status will be 0 for file:// urls
    if (!xhr.status || (xhr.status >= 200 && xhr.status < 300)) {
      const type = format.getType();
      try {
        /** @type {Document|Node|Object|string|undefined} */
        let source;
        if (type == 'text' || type == 'json') {
          source = xhr.responseText;
        } else if (type == 'xml') {
          source = xhr.responseXML || xhr.responseText;
        } else if (type == 'arraybuffer') {
          source = /** @type {ArrayBuffer} */ (xhr.response);
        }
        if (source) {
          success(
            /** @type {Array<FeatureType>} */
            (
              format.readFeatures(source, {
                extent: extent,
                featureProjection: projection,
              })
            ),
            format.readProjection(source),
          );
        } else {
          failure();
        }
      } catch {
        failure();
      }
    } else {
      failure();
    }
  };
  /**
   * @private
   */
  xhr.onerror = failure;
  xhr.send();
}

/**
 * Create an XHR feature loader for a `url` and `format`. The feature loader
 * loads features (with XHR), parses the features, and adds them to the
 * vector source.
 *
 * @template {import("./Feature.js").FeatureLike} [FeatureType=import("./Feature.js").default]
 * @param {string|FeatureUrlFunction} url Feature URL service.
 * @param {import("./format/Feature.js").default<FeatureType>} format Feature format.
 * @return {FeatureLoader<FeatureType>} The feature loader.
 * @api
 */
function featureloader_xhr(url, format) {
  /**
   * @param {import("./extent.js").Extent} extent Extent.
   * @param {number} resolution Resolution.
   * @param {import("./proj/Projection.js").default} projection Projection.
   * @param {function(Array<FeatureType>): void} [success] Success
   *      Function called when loading succeeded.
   * @param {function(): void} [failure] Failure
   *      Function called when loading failed.
   * @this {import("./source/Vector.js").default<FeatureType>}
   */
  return function (extent, resolution, projection, success, failure) {
    loadFeaturesXhr(
      url,
      format,
      extent,
      resolution,
      projection,
      /**
       * @param {Array<FeatureType>} features The loaded features.
       * @param {import("./proj/Projection.js").default} dataProjection Data
       * projection.
       */
      (features, dataProjection) => {
        this.addFeatures(features);
        if (success !== undefined) {
          success(features);
        }
      },
      () => {
        this.changed();
        if (failure !== undefined) {
          failure();
        }
      },
    );
  };
}

/**
 * Setter for the withCredentials configuration for the XHR.
 *
 * @param {boolean} xhrWithCredentials The value of withCredentials to set.
 * Compare https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/
 * @api
 */
function setWithCredentials(xhrWithCredentials) {
  withCredentials = xhrWithCredentials;
}

;// CONCATENATED MODULE: ./node_modules/ol/loadingstrategy.js
/**
 * @module ol/loadingstrategy
 */



/**
 * Strategy function for loading all features with a single request.
 * @param {import("./extent.js").Extent} extent Extent.
 * @param {number} resolution Resolution.
 * @return {Array<import("./extent.js").Extent>} Extents.
 * @api
 */
function loadingstrategy_all(extent, resolution) {
  return [[-Infinity, -Infinity, Infinity, Infinity]];
}

/**
 * Strategy function for loading features based on the view's extent and
 * resolution.
 * @param {import("./extent.js").Extent} extent Extent.
 * @param {number} resolution Resolution.
 * @return {Array<import("./extent.js").Extent>} Extents.
 * @api
 */
function bbox(extent, resolution) {
  return [extent];
}

/**
 * Creates a strategy function for loading features based on a tile grid.
 * @param {import("./tilegrid/TileGrid.js").default} tileGrid Tile grid.
 * @return {function(import("./extent.js").Extent, number, import("./proj.js").Projection): Array<import("./extent.js").Extent>} Loading strategy.
 * @api
 */
function tile(tileGrid) {
  return (
    /**
     * @param {import("./extent.js").Extent} extent Extent.
     * @param {number} resolution Resolution.
     * @param {import("./proj.js").Projection} projection Projection.
     * @return {Array<import("./extent.js").Extent>} Extents.
     */
    function (extent, resolution, projection) {
      const z = tileGrid.getZForResolution(
        fromUserResolution(resolution, projection),
      );
      const tileRange = tileGrid.getTileRangeForExtentAndZ(
        fromUserExtent(extent, projection),
        z,
      );
      /** @type {Array<import("./extent.js").Extent>} */
      const extents = [];
      /** @type {import("./tilecoord.js").TileCoord} */
      const tileCoord = [z, 0, 0];
      for (
        tileCoord[1] = tileRange.minX;
        tileCoord[1] <= tileRange.maxX;
        ++tileCoord[1]
      ) {
        for (
          tileCoord[2] = tileRange.minY;
          tileCoord[2] <= tileRange.maxY;
          ++tileCoord[2]
        ) {
          extents.push(
            toUserExtent(tileGrid.getTileCoordExtent(tileCoord), projection),
          );
        }
      }
      return extents;
    }
  );
}

;// CONCATENATED MODULE: ./node_modules/ol/geom/flat/center.js
/**
 * @module ol/geom/flat/center
 */


/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<Array<number>>} endss Endss.
 * @param {number} stride Stride.
 * @return {Array<number>} Flat centers.
 */
function center_linearRingss(flatCoordinates, offset, endss, stride) {
  const flatCenters = [];
  let extent = createEmpty();
  for (let i = 0, ii = endss.length; i < ii; ++i) {
    const ends = endss[i];
    extent = createOrUpdateFromFlatCoordinates(
      flatCoordinates,
      offset,
      ends[0],
      stride,
    );
    flatCenters.push((extent[0] + extent[2]) / 2, (extent[1] + extent[3]) / 2);
    offset = ends[ends.length - 1];
  }
  return flatCenters;
}

;// CONCATENATED MODULE: ./node_modules/ol/geom/flat/interpolate.js
/**
 * @module ol/geom/flat/interpolate
 */



/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @param {number} fraction Fraction.
 * @param {Array<number>} [dest] Destination.
 * @param {number} [dimension] Destination dimension (default is `2`)
 * @return {Array<number>} Destination.
 */
function interpolatePoint(
  flatCoordinates,
  offset,
  end,
  stride,
  fraction,
  dest,
  dimension,
) {
  let o, t;
  const n = (end - offset) / stride;
  if (n === 1) {
    o = offset;
  } else if (n === 2) {
    o = offset;
    t = fraction;
  } else if (n !== 0) {
    let x1 = flatCoordinates[offset];
    let y1 = flatCoordinates[offset + 1];
    let length = 0;
    const cumulativeLengths = [0];
    for (let i = offset + stride; i < end; i += stride) {
      const x2 = flatCoordinates[i];
      const y2 = flatCoordinates[i + 1];
      length += Math.sqrt((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1));
      cumulativeLengths.push(length);
      x1 = x2;
      y1 = y2;
    }
    const target = fraction * length;
    const index = binarySearch(cumulativeLengths, target);
    if (index < 0) {
      t =
        (target - cumulativeLengths[-index - 2]) /
        (cumulativeLengths[-index - 1] - cumulativeLengths[-index - 2]);
      o = offset + (-index - 2) * stride;
    } else {
      o = offset + index * stride;
    }
  }
  dimension = dimension > 1 ? dimension : 2;
  dest = dest ? dest : new Array(dimension);
  for (let i = 0; i < dimension; ++i) {
    dest[i] =
      o === undefined
        ? NaN
        : t === undefined
          ? flatCoordinates[o + i]
          : math_lerp(flatCoordinates[o + i], flatCoordinates[o + stride + i], t);
  }
  return dest;
}

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @param {number} m M.
 * @param {boolean} extrapolate Extrapolate.
 * @return {import("../../coordinate.js").Coordinate|null} Coordinate.
 */
function lineStringCoordinateAtM(
  flatCoordinates,
  offset,
  end,
  stride,
  m,
  extrapolate,
) {
  if (end == offset) {
    return null;
  }
  let coordinate;
  if (m < flatCoordinates[offset + stride - 1]) {
    if (extrapolate) {
      coordinate = flatCoordinates.slice(offset, offset + stride);
      coordinate[stride - 1] = m;
      return coordinate;
    }
    return null;
  }
  if (flatCoordinates[end - 1] < m) {
    if (extrapolate) {
      coordinate = flatCoordinates.slice(end - stride, end);
      coordinate[stride - 1] = m;
      return coordinate;
    }
    return null;
  }
  // FIXME use O(1) search
  if (m == flatCoordinates[offset + stride - 1]) {
    return flatCoordinates.slice(offset, offset + stride);
  }
  let lo = offset / stride;
  let hi = end / stride;
  while (lo < hi) {
    const mid = (lo + hi) >> 1;
    if (m < flatCoordinates[(mid + 1) * stride - 1]) {
      hi = mid;
    } else {
      lo = mid + 1;
    }
  }
  const m0 = flatCoordinates[lo * stride - 1];
  if (m == m0) {
    return flatCoordinates.slice((lo - 1) * stride, (lo - 1) * stride + stride);
  }
  const m1 = flatCoordinates[(lo + 1) * stride - 1];
  const t = (m - m0) / (m1 - m0);
  coordinate = [];
  for (let i = 0; i < stride - 1; ++i) {
    coordinate.push(
      lerp(
        flatCoordinates[(lo - 1) * stride + i],
        flatCoordinates[lo * stride + i],
        t,
      ),
    );
  }
  coordinate.push(m);
  return coordinate;
}

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<number>} ends Ends.
 * @param {number} stride Stride.
 * @param {number} m M.
 * @param {boolean} extrapolate Extrapolate.
 * @param {boolean} interpolate Interpolate.
 * @return {import("../../coordinate.js").Coordinate|null} Coordinate.
 */
function lineStringsCoordinateAtM(
  flatCoordinates,
  offset,
  ends,
  stride,
  m,
  extrapolate,
  interpolate,
) {
  if (interpolate) {
    return lineStringCoordinateAtM(
      flatCoordinates,
      offset,
      ends[ends.length - 1],
      stride,
      m,
      extrapolate,
    );
  }
  let coordinate;
  if (m < flatCoordinates[stride - 1]) {
    if (extrapolate) {
      coordinate = flatCoordinates.slice(0, stride);
      coordinate[stride - 1] = m;
      return coordinate;
    }
    return null;
  }
  if (flatCoordinates[flatCoordinates.length - 1] < m) {
    if (extrapolate) {
      coordinate = flatCoordinates.slice(flatCoordinates.length - stride);
      coordinate[stride - 1] = m;
      return coordinate;
    }
    return null;
  }
  for (let i = 0, ii = ends.length; i < ii; ++i) {
    const end = ends[i];
    if (offset == end) {
      continue;
    }
    if (m < flatCoordinates[offset + stride - 1]) {
      return null;
    }
    if (m <= flatCoordinates[end - 1]) {
      return lineStringCoordinateAtM(
        flatCoordinates,
        offset,
        end,
        stride,
        m,
        false,
      );
    }
    offset = end;
  }
  return null;
}

;// CONCATENATED MODULE: ./node_modules/ol/render/Feature.js
/**
 * @module ol/render/Feature
 */














/**
 * @typedef {'Point' | 'LineString' | 'LinearRing' | 'Polygon' | 'MultiPoint' | 'MultiLineString'} Type
 * The geometry type.  One of `'Point'`, `'LineString'`, `'LinearRing'`,
 * `'Polygon'`, `'MultiPoint'` or 'MultiLineString'`.
 */

/**
 * @type {import("../transform.js").Transform}
 */
const Feature_tmpTransform = create();

/**
 * Lightweight, read-only, {@link module:ol/Feature~Feature} and {@link module:ol/geom/Geometry~Geometry} like
 * structure, optimized for vector tile rendering and styling. Geometry access
 * through the API is limited to getting the type and extent of the geometry.
 */
class RenderFeature {
  /**
   * @param {Type} type Geometry type.
   * @param {Array<number>} flatCoordinates Flat coordinates. These always need
   *     to be right-handed for polygons.
   * @param {Array<number>} ends Ends.
   * @param {number} stride Stride.
   * @param {Object<string, *>} properties Properties.
   * @param {number|string|undefined} id Feature id.
   */
  constructor(type, flatCoordinates, ends, stride, properties, id) {
    /**
     * @type {import("../style/Style.js").StyleFunction|undefined}
     */
    this.styleFunction;

    /**
     * @private
     * @type {import("../extent.js").Extent|undefined}
     */
    this.extent_;

    /**
     * @private
     * @type {number|string|undefined}
     */
    this.id_ = id;

    /**
     * @private
     * @type {Type}
     */
    this.type_ = type;

    /**
     * @private
     * @type {Array<number>}
     */
    this.flatCoordinates_ = flatCoordinates;

    /**
     * @private
     * @type {Array<number>}
     */
    this.flatInteriorPoints_ = null;

    /**
     * @private
     * @type {Array<number>}
     */
    this.flatMidpoints_ = null;

    /**
     * @private
     * @type {Array<number>|null}
     */
    this.ends_ = ends || null;

    /**
     * @private
     * @type {Object<string, *>}
     */
    this.properties_ = properties;

    /**
     * @private
     * @type {number}
     */
    this.squaredTolerance_;

    /**
     * @private
     * @type {number}
     */
    this.stride_ = stride;

    /**
     * @private
     * @type {RenderFeature}
     */
    this.simplifiedGeometry_;
  }

  /**
   * Get a feature property by its key.
   * @param {string} key Key
   * @return {*} Value for the requested key.
   * @api
   */
  get(key) {
    return this.properties_[key];
  }

  /**
   * Get the extent of this feature's geometry.
   * @return {import("../extent.js").Extent} Extent.
   * @api
   */
  getExtent() {
    if (!this.extent_) {
      this.extent_ =
        this.type_ === 'Point'
          ? createOrUpdateFromCoordinate(this.flatCoordinates_)
          : createOrUpdateFromFlatCoordinates(
              this.flatCoordinates_,
              0,
              this.flatCoordinates_.length,
              2,
            );
    }
    return this.extent_;
  }

  /**
   * @return {Array<number>} Flat interior points.
   */
  getFlatInteriorPoint() {
    if (!this.flatInteriorPoints_) {
      const flatCenter = getCenter(this.getExtent());
      this.flatInteriorPoints_ = getInteriorPointOfArray(
        this.flatCoordinates_,
        0,
        this.ends_,
        2,
        flatCenter,
        0,
      );
    }
    return this.flatInteriorPoints_;
  }

  /**
   * @return {Array<number>} Flat interior points.
   */
  getFlatInteriorPoints() {
    if (!this.flatInteriorPoints_) {
      const ends = orient_inflateEnds(this.flatCoordinates_, this.ends_);
      const flatCenters = center_linearRingss(this.flatCoordinates_, 0, ends, 2);
      this.flatInteriorPoints_ = getInteriorPointsOfMultiArray(
        this.flatCoordinates_,
        0,
        ends,
        2,
        flatCenters,
      );
    }
    return this.flatInteriorPoints_;
  }

  /**
   * @return {Array<number>} Flat midpoint.
   */
  getFlatMidpoint() {
    if (!this.flatMidpoints_) {
      this.flatMidpoints_ = interpolatePoint(
        this.flatCoordinates_,
        0,
        this.flatCoordinates_.length,
        2,
        0.5,
      );
    }
    return this.flatMidpoints_;
  }

  /**
   * @return {Array<number>} Flat midpoints.
   */
  getFlatMidpoints() {
    if (!this.flatMidpoints_) {
      this.flatMidpoints_ = [];
      const flatCoordinates = this.flatCoordinates_;
      let offset = 0;
      const ends = /** @type {Array<number>} */ (this.ends_);
      for (let i = 0, ii = ends.length; i < ii; ++i) {
        const end = ends[i];
        const midpoint = interpolatePoint(flatCoordinates, offset, end, 2, 0.5);
        array_extend(this.flatMidpoints_, midpoint);
        offset = end;
      }
    }
    return this.flatMidpoints_;
  }

  /**
   * Get the feature identifier.  This is a stable identifier for the feature and
   * is set when reading data from a remote source.
   * @return {number|string|undefined} Id.
   * @api
   */
  getId() {
    return this.id_;
  }

  /**
   * @return {Array<number>} Flat coordinates.
   */
  getOrientedFlatCoordinates() {
    return this.flatCoordinates_;
  }

  /**
   * For API compatibility with {@link module:ol/Feature~Feature}, this method is useful when
   * determining the geometry type in style function (see {@link #getType}).
   * @return {RenderFeature} Feature.
   * @api
   */
  getGeometry() {
    return this;
  }

  /**
   * @param {number} squaredTolerance Squared tolerance.
   * @return {RenderFeature} Simplified geometry.
   */
  getSimplifiedGeometry(squaredTolerance) {
    return this;
  }

  /**
   * Get a transformed and simplified version of the geometry.
   * @param {number} squaredTolerance Squared tolerance.
   * @param {import("../proj.js").TransformFunction} [transform] Optional transform function.
   * @return {RenderFeature} Simplified geometry.
   */
  simplifyTransformed(squaredTolerance, transform) {
    return this;
  }

  /**
   * Get the feature properties.
   * @return {Object<string, *>} Feature properties.
   * @api
   */
  getProperties() {
    return this.properties_;
  }

  /**
   * Get an object of all property names and values.  This has the same behavior as getProperties,
   * but is here to conform with the {@link module:ol/Feature~Feature} interface.
   * @return {Object<string, *>?} Object.
   */
  getPropertiesInternal() {
    return this.properties_;
  }

  /**
   * @return {number} Stride.
   */
  getStride() {
    return this.stride_;
  }

  /**
   * @return {import('../style/Style.js').StyleFunction|undefined} Style
   */
  getStyleFunction() {
    return this.styleFunction;
  }

  /**
   * Get the type of this feature's geometry.
   * @return {Type} Geometry type.
   * @api
   */
  getType() {
    return this.type_;
  }

  /**
   * Transform geometry coordinates from tile pixel space to projected.
   *
   * @param {import("../proj.js").ProjectionLike} projection The data projection
   */
  transform(projection) {
    projection = proj_get(projection);
    const pixelExtent = projection.getExtent();
    const projectedExtent = projection.getWorldExtent();
    if (pixelExtent && projectedExtent) {
      const scale = getHeight(projectedExtent) / getHeight(pixelExtent);
      compose(
        Feature_tmpTransform,
        projectedExtent[0],
        projectedExtent[3],
        scale,
        -scale,
        0,
        0,
        0,
      );
      transform2D(
        this.flatCoordinates_,
        0,
        this.flatCoordinates_.length,
        2,
        Feature_tmpTransform,
        this.flatCoordinates_,
      );
    }
  }

  /**
   * Apply a transform function to the coordinates of the geometry.
   * The geometry is modified in place.
   * If you do not want the geometry modified in place, first `clone()` it and
   * then use this function on the clone.
   * @param {import("../proj.js").TransformFunction} transformFn Transform function.
   */
  applyTransform(transformFn) {
    transformFn(this.flatCoordinates_, this.flatCoordinates_, this.stride_);
  }

  /**
   * @return {RenderFeature} A cloned render feature.
   */
  clone() {
    return new RenderFeature(
      this.type_,
      this.flatCoordinates_.slice(),
      this.ends_?.slice(),
      this.stride_,
      Object.assign({}, this.properties_),
      this.id_,
    );
  }

  /**
   * @return {Array<number>|null} Ends.
   */
  getEnds() {
    return this.ends_;
  }

  /**
   * Add transform and resolution based geometry simplification to this instance.
   * @return {RenderFeature} This render feature.
   */
  enableSimplifyTransformed() {
    this.simplifyTransformed = memoizeOne((squaredTolerance, transform) => {
      if (squaredTolerance === this.squaredTolerance_) {
        return this.simplifiedGeometry_;
      }
      this.simplifiedGeometry_ = this.clone();
      if (transform) {
        this.simplifiedGeometry_.applyTransform(transform);
      }
      const simplifiedFlatCoordinates =
        this.simplifiedGeometry_.getFlatCoordinates();
      let simplifiedEnds;
      switch (this.type_) {
        case 'LineString':
          simplifiedFlatCoordinates.length = douglasPeucker(
            simplifiedFlatCoordinates,
            0,
            this.simplifiedGeometry_.flatCoordinates_.length,
            this.simplifiedGeometry_.stride_,
            squaredTolerance,
            simplifiedFlatCoordinates,
            0,
          );
          simplifiedEnds = [simplifiedFlatCoordinates.length];
          break;
        case 'MultiLineString':
          simplifiedEnds = [];
          simplifiedFlatCoordinates.length = douglasPeuckerArray(
            simplifiedFlatCoordinates,
            0,
            this.simplifiedGeometry_.ends_,
            this.simplifiedGeometry_.stride_,
            squaredTolerance,
            simplifiedFlatCoordinates,
            0,
            simplifiedEnds,
          );
          break;
        case 'Polygon':
          simplifiedEnds = [];
          simplifiedFlatCoordinates.length = quantizeArray(
            simplifiedFlatCoordinates,
            0,
            this.simplifiedGeometry_.ends_,
            this.simplifiedGeometry_.stride_,
            Math.sqrt(squaredTolerance),
            simplifiedFlatCoordinates,
            0,
            simplifiedEnds,
          );
          break;
        default:
      }
      if (simplifiedEnds) {
        this.simplifiedGeometry_ = new RenderFeature(
          this.type_,
          simplifiedFlatCoordinates,
          simplifiedEnds,
          2,
          this.properties_,
          this.id_,
        );
      }
      this.squaredTolerance_ = squaredTolerance;
      return this.simplifiedGeometry_;
    });
    return this;
  }
}

/**
 * @return {Array<number>} Flat coordinates.
 */
RenderFeature.prototype.getFlatCoordinates =
  RenderFeature.prototype.getOrientedFlatCoordinates;

/**
 * Create a geometry from an `ol/render/Feature`
 * @param {RenderFeature} renderFeature
 * Render Feature
 * @return {Point|MultiPoint|LineString|MultiLineString|Polygon|MultiPolygon}
 * New geometry instance.
 * @api
 */
function toGeometry(renderFeature) {
  const geometryType = renderFeature.getType();
  switch (geometryType) {
    case 'Point':
      return new Point(renderFeature.getFlatCoordinates());
    case 'MultiPoint':
      return new MultiPoint(renderFeature.getFlatCoordinates(), 'XY');
    case 'LineString':
      return new LineString(renderFeature.getFlatCoordinates(), 'XY');
    case 'MultiLineString':
      return new MultiLineString(
        renderFeature.getFlatCoordinates(),
        'XY',
        /** @type {Array<number>} */ (renderFeature.getEnds()),
      );
    case 'Polygon':
      const flatCoordinates = renderFeature.getFlatCoordinates();
      const ends = renderFeature.getEnds();
      const endss = inflateEnds(flatCoordinates, ends);
      return endss.length > 1
        ? new MultiPolygon(flatCoordinates, 'XY', endss)
        : new Polygon(flatCoordinates, 'XY', ends);
    default:
      throw new Error('Invalid geometry type:' + geometryType);
  }
}

/**
 * Create an `ol/Feature` from an `ol/render/Feature`
 * @param {RenderFeature} renderFeature RenderFeature
 * @param {string} [geometryName] Geometry name to use
 * when creating the Feature.
 * @return {Feature} Newly constructed `ol/Feature` with properties,
 * geometry, and id copied over.
 * @api
 */
function toFeature(renderFeature, geometryName) {
  const id = renderFeature.getId();
  const geometry = toGeometry(renderFeature);
  const properties = renderFeature.getProperties();
  const feature = new Feature();
  if (geometryName !== undefined) {
    feature.setGeometryName(geometryName);
  }
  feature.setGeometry(geometry);
  if (id !== undefined) {
    feature.setId(id);
  }
  feature.setProperties(properties, true);
  return feature;
}

/* harmony default export */ const render_Feature = (RenderFeature);

;// CONCATENATED MODULE: ./node_modules/ol/structs/RBush.js
/**
 * @module ol/structs/RBush
 */





/**
 * @typedef {import("rbush").BBox & {value: T}} Entry
 * @template T
 */

/**
 * @classdesc
 * Wrapper around the RBush by Vladimir Agafonkin.
 * See https://github.com/mourner/rbush.
 *
 * @template {Object} T
 */
class RBush {
  /**
   * @param {number} [maxEntries] Max entries.
   */
  constructor(maxEntries) {
    /**
     * @private
     * @type {RBush_<Entry<T>>}
     */
    this.rbush_ = new rbush_RBush(maxEntries);

    /**
     * A mapping between the objects added to this rbush wrapper
     * and the objects that are actually added to the internal rbush.
     * @private
     * @type {Object<string, Entry<T>>}
     */
    this.items_ = {};
  }

  /**
   * Insert a value into the RBush.
   * @param {import("../extent.js").Extent} extent Extent.
   * @param {T} value Value.
   */
  insert(extent, value) {
    /** @type {Entry<T>} */
    const item = {
      minX: extent[0],
      minY: extent[1],
      maxX: extent[2],
      maxY: extent[3],
      value: value,
    };

    this.rbush_.insert(item);
    this.items_[getUid(value)] = item;
  }

  /**
   * Bulk-insert values into the RBush.
   * @param {Array<import("../extent.js").Extent>} extents Extents.
   * @param {Array<T>} values Values.
   */
  load(extents, values) {
    const items = new Array(values.length);
    for (let i = 0, l = values.length; i < l; i++) {
      const extent = extents[i];
      const value = values[i];

      /** @type {Entry<T>} */
      const item = {
        minX: extent[0],
        minY: extent[1],
        maxX: extent[2],
        maxY: extent[3],
        value: value,
      };
      items[i] = item;
      this.items_[getUid(value)] = item;
    }
    this.rbush_.load(items);
  }

  /**
   * Remove a value from the RBush.
   * @param {T} value Value.
   * @return {boolean} Removed.
   */
  remove(value) {
    const uid = getUid(value);

    // get the object in which the value was wrapped when adding to the
    // internal rbush. then use that object to do the removal.
    const item = this.items_[uid];
    delete this.items_[uid];
    return this.rbush_.remove(item) !== null;
  }

  /**
   * Update the extent of a value in the RBush.
   * @param {import("../extent.js").Extent} extent Extent.
   * @param {T} value Value.
   */
  update(extent, value) {
    const item = this.items_[getUid(value)];
    const bbox = [item.minX, item.minY, item.maxX, item.maxY];
    if (!extent_equals(bbox, extent)) {
      this.remove(value);
      this.insert(extent, value);
    }
  }

  /**
   * Return all values in the RBush.
   * @return {Array<T>} All.
   */
  getAll() {
    const items = this.rbush_.all();
    return items.map(function (item) {
      return item.value;
    });
  }

  /**
   * Return all values in the given extent.
   * @param {import("../extent.js").Extent} extent Extent.
   * @return {Array<T>} All in extent.
   */
  getInExtent(extent) {
    /** @type {import("rbush").BBox} */
    const bbox = {
      minX: extent[0],
      minY: extent[1],
      maxX: extent[2],
      maxY: extent[3],
    };
    const items = this.rbush_.search(bbox);
    return items.map(function (item) {
      return item.value;
    });
  }

  /**
   * Calls a callback function with each value in the tree.
   * If the callback returns a truthy value, this value is returned without
   * checking the rest of the tree.
   * @param {function(T): R} callback Callback.
   * @return {R|undefined} Callback return value.
   * @template R
   */
  forEach(callback) {
    return this.forEach_(this.getAll(), callback);
  }

  /**
   * Calls a callback function with each value in the provided extent.
   * @param {import("../extent.js").Extent} extent Extent.
   * @param {function(T): R} callback Callback.
   * @return {R|undefined} Callback return value.
   * @template R
   */
  forEachInExtent(extent, callback) {
    return this.forEach_(this.getInExtent(extent), callback);
  }

  /**
   * @param {Array<T>} values Values.
   * @param {function(T): R} callback Callback.
   * @return {R|undefined} Callback return value.
   * @template R
   * @private
   */
  forEach_(values, callback) {
    let result;
    for (let i = 0, l = values.length; i < l; i++) {
      result = callback(values[i]);
      if (result) {
        return result;
      }
    }
    return result;
  }

  /**
   * @return {boolean} Is empty.
   */
  isEmpty() {
    return obj_isEmpty(this.items_);
  }

  /**
   * Remove all values from the RBush.
   */
  clear() {
    this.rbush_.clear();
    this.items_ = {};
  }

  /**
   * @param {import("../extent.js").Extent} [extent] Extent.
   * @return {import("../extent.js").Extent} Extent.
   */
  getExtent(extent) {
    const data = this.rbush_.toJSON();
    return createOrUpdate(data.minX, data.minY, data.maxX, data.maxY, extent);
  }

  /**
   * @param {RBush<T>} rbush R-Tree.
   */
  concat(rbush) {
    this.rbush_.load(rbush.rbush_.all());
    for (const i in rbush.items_) {
      this.items_[i] = rbush.items_[i];
    }
  }
}

/* harmony default export */ const structs_RBush = (RBush);

;// CONCATENATED MODULE: ./node_modules/ol/source/VectorEventType.js
/**
 * @module ol/source/VectorEventType
 */

/**
 * @enum {string}
 */
/* harmony default export */ const VectorEventType = ({
  /**
   * Triggered when a feature is added to the source.
   * @event module:ol/source/Vector.VectorSourceEvent#addfeature
   * @api
   */
  ADDFEATURE: 'addfeature',

  /**
   * Triggered when a feature is updated.
   * @event module:ol/source/Vector.VectorSourceEvent#changefeature
   * @api
   */
  CHANGEFEATURE: 'changefeature',

  /**
   * Triggered when the clear method is called on the source.
   * @event module:ol/source/Vector.VectorSourceEvent#clear
   * @api
   */
  CLEAR: 'clear',

  /**
   * Triggered when a feature is removed from the source.
   * See {@link module:ol/source/Vector~VectorSource#clear source.clear()} for exceptions.
   * @event module:ol/source/Vector.VectorSourceEvent#removefeature
   * @api
   */
  REMOVEFEATURE: 'removefeature',

  /**
   * Triggered when features starts loading.
   * @event module:ol/source/Vector.VectorSourceEvent#featuresloadstart
   * @api
   */
  FEATURESLOADSTART: 'featuresloadstart',

  /**
   * Triggered when features finishes loading.
   * @event module:ol/source/Vector.VectorSourceEvent#featuresloadend
   * @api
   */
  FEATURESLOADEND: 'featuresloadend',

  /**
   * Triggered if feature loading results in an error.
   * @event module:ol/source/Vector.VectorSourceEvent#featuresloaderror
   * @api
   */
  FEATURESLOADERROR: 'featuresloaderror',
});

/**
 * @typedef {'addfeature'|'changefeature'|'clear'|'removefeature'|'featuresloadstart'|'featuresloadend'|'featuresloaderror'} VectorSourceEventTypes
 */

;// CONCATENATED MODULE: ./node_modules/ol/source/Vector.js
/**
 * @module ol/source/Vector
 */




















/**
 * A function that takes an {@link module:ol/extent~Extent} and a resolution as arguments, and
 * returns an array of {@link module:ol/extent~Extent} with the extents to load. Usually this
 * is one of the standard {@link module:ol/loadingstrategy} strategies.
 *
 * @typedef {function(import("../extent.js").Extent, number, import("../proj/Projection.js").default): Array<import("../extent.js").Extent>} LoadingStrategy
 * @api
 */

/**
 * @classdesc
 * Events emitted by {@link module:ol/source/Vector~VectorSource} instances are instances of this
 * type.
 * @template {import("../Feature.js").FeatureLike} [FeatureType=import("../Feature.js").default]
 */
class VectorSourceEvent extends Event {
  /**
   * @param {string} type Type.
   * @param {FeatureType} [feature] Feature.
   * @param {Array<FeatureType>} [features] Features.
   */
  constructor(type, feature, features) {
    super(type);

    /**
     * The added or removed feature for the `ADDFEATURE` and `REMOVEFEATURE` events, `undefined` otherwise.
     * @type {FeatureType|undefined}
     * @api
     */
    this.feature = feature;

    /**
     * The loaded features for the `FEATURESLOADED` event, `undefined` otherwise.
     * @type {Array<FeatureType>|undefined}
     * @api
     */
    this.features = features;
  }
}

/***
 * @template {import("../Feature.js").FeatureLike} [T=import("../Feature.js").default]
 * @typedef {T extends RenderFeature ? T|Array<T> : T} FeatureClassOrArrayOfRenderFeatures
 */

/***
 * @template Return
 * @template {import("../Feature.js").FeatureLike} [FeatureType=import("../Feature.js").default]
 * @typedef {import("../Observable").OnSignature<import("../Observable").EventTypes, import("../events/Event.js").default, Return> &
 *   import("../Observable").OnSignature<import("../ObjectEventType").Types, import("../Object").ObjectEvent, Return> &
 *   import("../Observable").OnSignature<import("./VectorEventType").VectorSourceEventTypes, VectorSourceEvent<FeatureType>, Return> &
 *   import("../Observable").CombinedOnSignature<import("../Observable").EventTypes|import("../ObjectEventType").Types|
 *     import("./VectorEventType").VectorSourceEventTypes, Return>} VectorSourceOnSignature
 */

/**
 * @template {import("../Feature.js").FeatureLike} [FeatureType=import("../Feature.js").default]
 * @typedef {Object} Options
 * @property {import("./Source.js").AttributionLike} [attributions] Attributions.
 * @property {Array<FeatureType>|Collection<FeatureType>} [features]
 * Features. If provided as {@link module:ol/Collection~Collection}, the features in the source
 * and the collection will stay in sync.
 * @property {import("../format/Feature.js").default<FeatureType>} [format] The feature format used by the XHR
 * feature loader when `url` is set. Required if `url` is set, otherwise ignored.
 * @property {import("../featureloader.js").FeatureLoader<FeatureType>} [loader]
 * The loader function used to load features, from a remote source for example.
 * If this is not set and `url` is set, the source will create and use an XHR
 * feature loader. The `'featuresloadend'` and `'featuresloaderror'` events
 * will only fire if the `success` and `failure` callbacks are used.
 *
 * Example:
 *
 * ```js
 * import Vector from 'ol/source/Vector.js';
 * import GeoJSON from 'ol/format/GeoJSON.js';
 * import {bbox} from 'ol/loadingstrategy.js';
 *
 * const vectorSource = new Vector({
 *   format: new GeoJSON(),
 *   loader: function(extent, resolution, projection, success, failure) {
 *      const proj = projection.getCode();
 *      const url = 'https://ahocevar.com/geoserver/wfs?service=WFS&' +
 *          'version=1.1.0&request=GetFeature&typename=osm:water_areas&' +
 *          'outputFormat=application/json&srsname=' + proj + '&' +
 *          'bbox=' + extent.join(',') + ',' + proj;
 *      const xhr = new XMLHttpRequest();
 *      xhr.open('GET', url);
 *      const onError = function() {
 *        vectorSource.removeLoadedExtent(extent);
 *        failure();
 *      }
 *      xhr.onerror = onError;
 *      xhr.onload = function() {
 *        if (xhr.status == 200) {
 *          const features = vectorSource.getFormat().readFeatures(xhr.responseText);
 *          vectorSource.addFeatures(features);
 *          success(features);
 *        } else {
 *          onError();
 *        }
 *      }
 *      xhr.send();
 *    },
 *    strategy: bbox,
 *  });
 * ```
 * @property {boolean} [overlaps=true] This source may have overlapping geometries.
 * Setting this to `false` (e.g. for sources with polygons that represent administrative
 * boundaries or TopoJSON sources) allows the renderer to optimise fill and
 * stroke operations.
 * @property {LoadingStrategy} [strategy] The loading strategy to use.
 * By default an {@link module:ol/loadingstrategy.all}
 * strategy is used, a one-off strategy which loads all features at once.
 * @property {string|import("../featureloader.js").FeatureUrlFunction} [url]
 * Setting this option instructs the source to load features using an XHR loader
 * (see {@link module:ol/featureloader.xhr}). Use a `string` and an
 * {@link module:ol/loadingstrategy.all} for a one-off download of all features from
 * the given URL. Use a {@link module:ol/featureloader~FeatureUrlFunction} to generate the url with
 * other loading strategies.
 * Requires `format` to be set as well.
 * When default XHR feature loader is provided, the features will
 * be transformed from the data projection to the view projection
 * during parsing. If your remote data source does not advertise its projection
 * properly, this transformation will be incorrect. For some formats, the
 * default projection (usually EPSG:4326) can be overridden by setting the
 * dataProjection constructor option on the format.
 * Note that if a source contains non-feature data, such as a GeoJSON geometry
 * or a KML NetworkLink, these will be ignored. Use a custom loader to load these.
 * @property {boolean} [useSpatialIndex=true]
 * By default, an RTree is used as spatial index. When features are removed and
 * added frequently, and the total number of features is low, setting this to
 * `false` may improve performance.
 *
 * Note that
 * {@link module:ol/source/Vector~VectorSource#getFeaturesInExtent},
 * {@link module:ol/source/Vector~VectorSource#getClosestFeatureToCoordinate} and
 * {@link module:ol/source/Vector~VectorSource#getExtent} cannot be used when `useSpatialIndex` is
 * set to `false`, and {@link module:ol/source/Vector~VectorSource#forEachFeatureInExtent} will loop
 * through all features.
 *
 * When set to `false`, the features will be maintained in an
 * {@link module:ol/Collection~Collection}, which can be retrieved through
 * {@link module:ol/source/Vector~VectorSource#getFeaturesCollection}.
 * @property {boolean} [wrapX=true] Wrap the world horizontally. For vector editing across the
 * -180° and 180° meridians to work properly, this should be set to `false`. The
 * resulting geometry coordinates will then exceed the world bounds.
 */

/**
 * @classdesc
 * Provides a source of features for vector layers. Vector features provided
 * by this source are suitable for editing. See {@link module:ol/source/VectorTile~VectorTile} for
 * vector data that is optimized for rendering.
 *
 * @fires VectorSourceEvent
 * @api
 * @template {import("../Feature.js").FeatureLike} [FeatureType=import("../Feature.js").default]
 */
class VectorSource extends source_Source {
  /**
   * @param {Options<FeatureType>} [options] Vector source options.
   */
  constructor(options) {
    options = options || {};

    super({
      attributions: options.attributions,
      interpolate: true,
      projection: undefined,
      state: 'ready',
      wrapX: options.wrapX !== undefined ? options.wrapX : true,
    });

    /***
     * @type {VectorSourceOnSignature<import("../events").EventsKey, FeatureType>}
     */
    this.on;

    /***
     * @type {VectorSourceOnSignature<import("../events").EventsKey, FeatureType>}
     */
    this.once;

    /***
     * @type {VectorSourceOnSignature<void>}
     */
    this.un;

    /**
     * @private
     * @type {import("../featureloader.js").FeatureLoader<import("../Feature.js").FeatureLike>}
     */
    this.loader_ = VOID;

    /**
     * @private
     * @type {import("../format/Feature.js").default<FeatureType>|null}
     */
    this.format_ = options.format || null;

    /**
     * @private
     * @type {boolean}
     */
    this.overlaps_ = options.overlaps === undefined ? true : options.overlaps;

    /**
     * @private
     * @type {string|import("../featureloader.js").FeatureUrlFunction|undefined}
     */
    this.url_ = options.url;

    if (options.loader !== undefined) {
      this.loader_ = options.loader;
    } else if (this.url_ !== undefined) {
      assert(this.format_, '`format` must be set when `url` is set');
      // create a XHR feature loader for "url" and "format"
      this.loader_ = featureloader_xhr(this.url_, this.format_);
    }

    /**
     * @private
     * @type {LoadingStrategy}
     */
    this.strategy_ =
      options.strategy !== undefined ? options.strategy : loadingstrategy_all;

    const useSpatialIndex =
      options.useSpatialIndex !== undefined ? options.useSpatialIndex : true;

    /**
     * @private
     * @type {RBush<FeatureType>}
     */
    this.featuresRtree_ = useSpatialIndex ? new structs_RBush() : null;

    /**
     * @private
     * @type {RBush<{extent: import("../extent.js").Extent}>}
     */
    this.loadedExtentsRtree_ = new structs_RBush();

    /**
     * @type {number}
     * @private
     */
    this.loadingExtentsCount_ = 0;

    /**
     * @private
     * @type {!Object<string, FeatureType>}
     */
    this.nullGeometryFeatures_ = {};

    /**
     * A lookup of features by id (the return from feature.getId()).
     * @private
     * @type {!Object<string, import('../Feature.js').FeatureLike|Array<import('../Feature.js').FeatureLike>>}
     */
    this.idIndex_ = {};

    /**
     * A lookup of features by uid (using getUid(feature)).
     * @private
     * @type {!Object<string, FeatureType>}
     */
    this.uidIndex_ = {};

    /**
     * @private
     * @type {Object<string, Array<import("../events.js").EventsKey>>}
     */
    this.featureChangeKeys_ = {};

    /**
     * @private
     * @type {Collection<FeatureType>|null}
     */
    this.featuresCollection_ = null;

    /** @type {Collection<FeatureType>} */
    let collection;
    /** @type {Array<FeatureType>} */
    let features;
    if (Array.isArray(options.features)) {
      features = options.features;
    } else if (options.features) {
      collection = options.features;
      features = collection.getArray();
    }
    if (!useSpatialIndex && collection === undefined) {
      collection = new ol_Collection(features);
    }
    if (features !== undefined) {
      this.addFeaturesInternal(features);
    }
    if (collection !== undefined) {
      this.bindFeaturesCollection_(collection);
    }
  }

  /**
   * Add a single feature to the source.  If you want to add a batch of features
   * at once, call {@link module:ol/source/Vector~VectorSource#addFeatures #addFeatures()}
   * instead. A feature will not be added to the source if feature with
   * the same id is already there. The reason for this behavior is to avoid
   * feature duplication when using bbox or tile loading strategies.
   * Note: this also applies if a {@link module:ol/Collection~Collection} is used for features,
   * meaning that if a feature with a duplicate id is added in the collection, it will
   * be removed from it right away.
   * @param {FeatureType} feature Feature to add.
   * @api
   */
  addFeature(feature) {
    this.addFeatureInternal(feature);
    this.changed();
  }

  /**
   * Add a feature without firing a `change` event.
   * @param {FeatureType} feature Feature.
   * @protected
   */
  addFeatureInternal(feature) {
    const featureKey = getUid(feature);

    if (!this.addToIndex_(featureKey, feature)) {
      if (this.featuresCollection_) {
        this.featuresCollection_.remove(feature);
      }
      return;
    }

    this.setupChangeEvents_(featureKey, feature);

    const geometry = feature.getGeometry();
    if (geometry) {
      const extent = geometry.getExtent();
      if (this.featuresRtree_) {
        this.featuresRtree_.insert(extent, feature);
      }
    } else {
      this.nullGeometryFeatures_[featureKey] = feature;
    }

    this.dispatchEvent(
      new VectorSourceEvent(VectorEventType.ADDFEATURE, feature),
    );
  }

  /**
   * @param {string} featureKey Unique identifier for the feature.
   * @param {FeatureType} feature The feature.
   * @private
   */
  setupChangeEvents_(featureKey, feature) {
    if (feature instanceof render_Feature) {
      return;
    }
    this.featureChangeKeys_[featureKey] = [
      events_listen(feature, events_EventType.CHANGE, this.handleFeatureChange_, this),
      events_listen(
        feature,
        ObjectEventType.PROPERTYCHANGE,
        this.handleFeatureChange_,
        this,
      ),
    ];
  }

  /**
   * @param {string} featureKey Unique identifier for the feature.
   * @param {FeatureType} feature The feature.
   * @return {boolean} The feature is "valid", in the sense that it is also a
   *     candidate for insertion into the Rtree.
   * @private
   */
  addToIndex_(featureKey, feature) {
    let valid = true;
    if (feature.getId() !== undefined) {
      const id = String(feature.getId());
      if (!(id in this.idIndex_)) {
        this.idIndex_[id] = feature;
      } else if (feature instanceof render_Feature) {
        const indexedFeature = this.idIndex_[id];
        if (!(indexedFeature instanceof render_Feature)) {
          valid = false;
        } else if (!Array.isArray(indexedFeature)) {
          this.idIndex_[id] = [indexedFeature, feature];
        } else {
          indexedFeature.push(feature);
        }
      } else {
        valid = false;
      }
    }
    if (valid) {
      assert(
        !(featureKey in this.uidIndex_),
        'The passed `feature` was already added to the source',
      );
      this.uidIndex_[featureKey] = feature;
    }
    return valid;
  }

  /**
   * Add a batch of features to the source.
   * @param {Array<FeatureType>} features Features to add.
   * @api
   */
  addFeatures(features) {
    this.addFeaturesInternal(features);
    this.changed();
  }

  /**
   * Add features without firing a `change` event.
   * @param {Array<FeatureType>} features Features.
   * @protected
   */
  addFeaturesInternal(features) {
    const extents = [];
    /** @type {Array<FeatureType>} */
    const newFeatures = [];
    /** @type {Array<FeatureType>} */
    const geometryFeatures = [];

    for (let i = 0, length = features.length; i < length; i++) {
      const feature = features[i];
      const featureKey = getUid(feature);
      if (this.addToIndex_(featureKey, feature)) {
        newFeatures.push(feature);
      }
    }

    for (let i = 0, length = newFeatures.length; i < length; i++) {
      const feature = newFeatures[i];
      const featureKey = getUid(feature);
      this.setupChangeEvents_(featureKey, feature);

      const geometry = feature.getGeometry();
      if (geometry) {
        const extent = geometry.getExtent();
        extents.push(extent);
        geometryFeatures.push(feature);
      } else {
        this.nullGeometryFeatures_[featureKey] = feature;
      }
    }
    if (this.featuresRtree_) {
      this.featuresRtree_.load(extents, geometryFeatures);
    }

    if (this.hasListener(VectorEventType.ADDFEATURE)) {
      for (let i = 0, length = newFeatures.length; i < length; i++) {
        this.dispatchEvent(
          new VectorSourceEvent(VectorEventType.ADDFEATURE, newFeatures[i]),
        );
      }
    }
  }

  /**
   * @param {!Collection<FeatureType>} collection Collection.
   * @private
   */
  bindFeaturesCollection_(collection) {
    let modifyingCollection = false;
    this.addEventListener(
      VectorEventType.ADDFEATURE,
      /**
       * @param {VectorSourceEvent<FeatureType>} evt The vector source event
       */
      function (evt) {
        if (!modifyingCollection) {
          modifyingCollection = true;
          collection.push(evt.feature);
          modifyingCollection = false;
        }
      },
    );
    this.addEventListener(
      VectorEventType.REMOVEFEATURE,
      /**
       * @param {VectorSourceEvent<FeatureType>} evt The vector source event
       */
      function (evt) {
        if (!modifyingCollection) {
          modifyingCollection = true;
          collection.remove(evt.feature);
          modifyingCollection = false;
        }
      },
    );
    collection.addEventListener(
      CollectionEventType.ADD,
      /**
       * @param {import("../Collection.js").CollectionEvent<FeatureType>} evt The collection event
       */
      (evt) => {
        if (!modifyingCollection) {
          modifyingCollection = true;
          this.addFeature(evt.element);
          modifyingCollection = false;
        }
      },
    );
    collection.addEventListener(
      CollectionEventType.REMOVE,
      /**
       * @param {import("../Collection.js").CollectionEvent<FeatureType>} evt The collection event
       */
      (evt) => {
        if (!modifyingCollection) {
          modifyingCollection = true;
          this.removeFeature(evt.element);
          modifyingCollection = false;
        }
      },
    );
    this.featuresCollection_ = collection;
  }

  /**
   * Remove all features from the source.
   * @param {boolean} [fast] Skip dispatching of {@link module:ol/source/Vector.VectorSourceEvent#event:removefeature} events.
   * @api
   */
  clear(fast) {
    if (fast) {
      for (const featureId in this.featureChangeKeys_) {
        const keys = this.featureChangeKeys_[featureId];
        keys.forEach(unlistenByKey);
      }
      if (!this.featuresCollection_) {
        this.featureChangeKeys_ = {};
        this.idIndex_ = {};
        this.uidIndex_ = {};
      }
    } else {
      if (this.featuresRtree_) {
        this.featuresRtree_.forEach((feature) => {
          this.removeFeatureInternal(feature);
        });
        for (const id in this.nullGeometryFeatures_) {
          this.removeFeatureInternal(this.nullGeometryFeatures_[id]);
        }
      }
    }
    if (this.featuresCollection_) {
      this.featuresCollection_.clear();
    }

    if (this.featuresRtree_) {
      this.featuresRtree_.clear();
    }
    this.nullGeometryFeatures_ = {};

    const clearEvent = new VectorSourceEvent(VectorEventType.CLEAR);
    this.dispatchEvent(clearEvent);
    this.changed();
  }

  /**
   * Iterate through all features on the source, calling the provided callback
   * with each one.  If the callback returns any "truthy" value, iteration will
   * stop and the function will return the same value.
   * Note: this function only iterate through the feature that have a defined geometry.
   *
   * @param {function(FeatureType): T} callback Called with each feature
   *     on the source.  Return a truthy value to stop iteration.
   * @return {T|undefined} The return value from the last call to the callback.
   * @template T
   * @api
   */
  forEachFeature(callback) {
    if (this.featuresRtree_) {
      return this.featuresRtree_.forEach(callback);
    }
    if (this.featuresCollection_) {
      this.featuresCollection_.forEach(callback);
    }
  }

  /**
   * Iterate through all features whose geometries contain the provided
   * coordinate, calling the callback with each feature.  If the callback returns
   * a "truthy" value, iteration will stop and the function will return the same
   * value.
   *
   * For {@link module:ol/render/Feature~RenderFeature} features, the callback will be
   * called for all features.
   *
   * @param {import("../coordinate.js").Coordinate} coordinate Coordinate.
   * @param {function(FeatureType): T} callback Called with each feature
   *     whose goemetry contains the provided coordinate.
   * @return {T|undefined} The return value from the last call to the callback.
   * @template T
   */
  forEachFeatureAtCoordinateDirect(coordinate, callback) {
    const extent = [coordinate[0], coordinate[1], coordinate[0], coordinate[1]];
    return this.forEachFeatureInExtent(extent, function (feature) {
      const geometry = feature.getGeometry();
      if (
        geometry instanceof render_Feature ||
        geometry.intersectsCoordinate(coordinate)
      ) {
        return callback(feature);
      }
      return undefined;
    });
  }

  /**
   * Iterate through all features whose bounding box intersects the provided
   * extent (note that the feature's geometry may not intersect the extent),
   * calling the callback with each feature.  If the callback returns a "truthy"
   * value, iteration will stop and the function will return the same value.
   *
   * If you are interested in features whose geometry intersects an extent, call
   * the {@link module:ol/source/Vector~VectorSource#forEachFeatureIntersectingExtent #forEachFeatureIntersectingExtent()} method instead.
   *
   * When `useSpatialIndex` is set to false, this method will loop through all
   * features, equivalent to {@link module:ol/source/Vector~VectorSource#forEachFeature #forEachFeature()}.
   *
   * @param {import("../extent.js").Extent} extent Extent.
   * @param {function(FeatureType): T} callback Called with each feature
   *     whose bounding box intersects the provided extent.
   * @return {T|undefined} The return value from the last call to the callback.
   * @template T
   * @api
   */
  forEachFeatureInExtent(extent, callback) {
    if (this.featuresRtree_) {
      return this.featuresRtree_.forEachInExtent(extent, callback);
    }
    if (this.featuresCollection_) {
      this.featuresCollection_.forEach(callback);
    }
  }

  /**
   * Iterate through all features whose geometry intersects the provided extent,
   * calling the callback with each feature.  If the callback returns a "truthy"
   * value, iteration will stop and the function will return the same value.
   *
   * If you only want to test for bounding box intersection, call the
   * {@link module:ol/source/Vector~VectorSource#forEachFeatureInExtent #forEachFeatureInExtent()} method instead.
   *
   * @param {import("../extent.js").Extent} extent Extent.
   * @param {function(FeatureType): T} callback Called with each feature
   *     whose geometry intersects the provided extent.
   * @return {T|undefined} The return value from the last call to the callback.
   * @template T
   * @api
   */
  forEachFeatureIntersectingExtent(extent, callback) {
    return this.forEachFeatureInExtent(
      extent,
      /**
       * @param {FeatureType} feature Feature.
       * @return {T|undefined} The return value from the last call to the callback.
       */
      function (feature) {
        const geometry = feature.getGeometry();
        if (
          geometry instanceof render_Feature ||
          geometry.intersectsExtent(extent)
        ) {
          const result = callback(feature);
          if (result) {
            return result;
          }
        }
      },
    );
  }

  /**
   * Get the features collection associated with this source. Will be `null`
   * unless the source was configured with `useSpatialIndex` set to `false`, or
   * with a {@link module:ol/Collection~Collection} as `features`.
   * @return {Collection<FeatureType>|null} The collection of features.
   * @api
   */
  getFeaturesCollection() {
    return this.featuresCollection_;
  }

  /**
   * Get a snapshot of the features currently on the source in random order. The returned array
   * is a copy, the features are references to the features in the source.
   * @return {Array<FeatureType>} Features.
   * @api
   */
  getFeatures() {
    let features;
    if (this.featuresCollection_) {
      features = this.featuresCollection_.getArray().slice(0);
    } else if (this.featuresRtree_) {
      features = this.featuresRtree_.getAll();
      if (!obj_isEmpty(this.nullGeometryFeatures_)) {
        array_extend(features, Object.values(this.nullGeometryFeatures_));
      }
    }
    return features;
  }

  /**
   * Get all features whose geometry intersects the provided coordinate.
   * @param {import("../coordinate.js").Coordinate} coordinate Coordinate.
   * @return {Array<FeatureType>} Features.
   * @api
   */
  getFeaturesAtCoordinate(coordinate) {
    /** @type {Array<FeatureType>} */
    const features = [];
    this.forEachFeatureAtCoordinateDirect(coordinate, function (feature) {
      features.push(feature);
    });
    return features;
  }

  /**
   * Get all features whose bounding box intersects the provided extent.  Note that this returns an array of
   * all features intersecting the given extent in random order (so it may include
   * features whose geometries do not intersect the extent).
   *
   * When `useSpatialIndex` is set to false, this method will return all
   * features.
   *
   * @param {import("../extent.js").Extent} extent Extent.
   * @param {import("../proj/Projection.js").default} [projection] Include features
   * where `extent` exceeds the x-axis bounds of `projection` and wraps around the world.
   * @return {Array<FeatureType>} Features.
   * @api
   */
  getFeaturesInExtent(extent, projection) {
    if (this.featuresRtree_) {
      const multiWorld = projection && projection.canWrapX() && this.getWrapX();

      if (!multiWorld) {
        return this.featuresRtree_.getInExtent(extent);
      }

      const extents = wrapAndSliceX(extent, projection);

      return [].concat(
        ...extents.map((anExtent) => this.featuresRtree_.getInExtent(anExtent)),
      );
    }
    if (this.featuresCollection_) {
      return this.featuresCollection_.getArray().slice(0);
    }
    return [];
  }

  /**
   * Get the closest feature to the provided coordinate.
   *
   * This method is not available when the source is configured with
   * `useSpatialIndex` set to `false` and the features in this source are of type
   * {@link module:ol/Feature~Feature}.
   * @param {import("../coordinate.js").Coordinate} coordinate Coordinate.
   * @param {function(FeatureType):boolean} [filter] Feature filter function.
   *     The filter function will receive one argument, the {@link module:ol/Feature~Feature feature}
   *     and it should return a boolean value. By default, no filtering is made.
   * @return {FeatureType} Closest feature.
   * @api
   */
  getClosestFeatureToCoordinate(coordinate, filter) {
    // Find the closest feature using branch and bound.  We start searching an
    // infinite extent, and find the distance from the first feature found.  This
    // becomes the closest feature.  We then compute a smaller extent which any
    // closer feature must intersect.  We continue searching with this smaller
    // extent, trying to find a closer feature.  Every time we find a closer
    // feature, we update the extent being searched so that any even closer
    // feature must intersect it.  We continue until we run out of features.
    const x = coordinate[0];
    const y = coordinate[1];
    let closestFeature = null;
    const closestPoint = [NaN, NaN];
    let minSquaredDistance = Infinity;
    const extent = [-Infinity, -Infinity, Infinity, Infinity];
    filter = filter ? filter : TRUE;
    this.featuresRtree_.forEachInExtent(
      extent,
      /**
       * @param {FeatureType} feature Feature.
       */
      function (feature) {
        if (filter(feature)) {
          const geometry = feature.getGeometry();
          const previousMinSquaredDistance = minSquaredDistance;
          minSquaredDistance =
            geometry instanceof render_Feature
              ? 0
              : geometry.closestPointXY(x, y, closestPoint, minSquaredDistance);
          if (minSquaredDistance < previousMinSquaredDistance) {
            closestFeature = feature;
            // This is sneaky.  Reduce the extent that it is currently being
            // searched while the R-Tree traversal using this same extent object
            // is still in progress.  This is safe because the new extent is
            // strictly contained by the old extent.
            const minDistance = Math.sqrt(minSquaredDistance);
            extent[0] = x - minDistance;
            extent[1] = y - minDistance;
            extent[2] = x + minDistance;
            extent[3] = y + minDistance;
          }
        }
      },
    );
    return closestFeature;
  }

  /**
   * Get the extent of the features currently in the source.
   *
   * This method is not available when the source is configured with
   * `useSpatialIndex` set to `false`.
   * @param {import("../extent.js").Extent} [extent] Destination extent. If provided, no new extent
   *     will be created. Instead, that extent's coordinates will be overwritten.
   * @return {import("../extent.js").Extent} Extent.
   * @api
   */
  getExtent(extent) {
    return this.featuresRtree_.getExtent(extent);
  }

  /**
   * Get a feature by its identifier (the value returned by feature.getId()). When `RenderFeature`s
   * are used, `getFeatureById()` can return an array of `RenderFeature`s. This allows for handling
   * of `GeometryCollection` geometries, where format readers create one `RenderFeature` per
   * `GeometryCollection` member.
   * Note that the index treats string and numeric identifiers as the same.  So
   * `source.getFeatureById(2)` will return a feature with id `'2'` or `2`.
   *
   * @param {string|number} id Feature identifier.
   * @return {FeatureClassOrArrayOfRenderFeatures<FeatureType>|null} The feature (or `null` if not found).
   * @api
   */
  getFeatureById(id) {
    const feature = this.idIndex_[id.toString()];
    return feature !== undefined
      ? /** @type {FeatureClassOrArrayOfRenderFeatures<FeatureType>} */ (
          feature
        )
      : null;
  }

  /**
   * Get a feature by its internal unique identifier (using `getUid`).
   *
   * @param {string} uid Feature identifier.
   * @return {FeatureType|null} The feature (or `null` if not found).
   */
  getFeatureByUid(uid) {
    const feature = this.uidIndex_[uid];
    return feature !== undefined ? feature : null;
  }

  /**
   * Get the format associated with this source.
   *
   * @return {import("../format/Feature.js").default<FeatureType>|null}} The feature format.
   * @api
   */
  getFormat() {
    return this.format_;
  }

  /**
   * @return {boolean} The source can have overlapping geometries.
   */
  getOverlaps() {
    return this.overlaps_;
  }

  /**
   * Get the url associated with this source.
   *
   * @return {string|import("../featureloader.js").FeatureUrlFunction|undefined} The url.
   * @api
   */
  getUrl() {
    return this.url_;
  }

  /**
   * @param {Event} event Event.
   * @private
   */
  handleFeatureChange_(event) {
    const feature = /** @type {FeatureType} */ (event.target);
    const featureKey = getUid(feature);
    const geometry = feature.getGeometry();
    if (!geometry) {
      if (!(featureKey in this.nullGeometryFeatures_)) {
        if (this.featuresRtree_) {
          this.featuresRtree_.remove(feature);
        }
        this.nullGeometryFeatures_[featureKey] = feature;
      }
    } else {
      const extent = geometry.getExtent();
      if (featureKey in this.nullGeometryFeatures_) {
        delete this.nullGeometryFeatures_[featureKey];
        if (this.featuresRtree_) {
          this.featuresRtree_.insert(extent, feature);
        }
      } else {
        if (this.featuresRtree_) {
          this.featuresRtree_.update(extent, feature);
        }
      }
    }
    const id = feature.getId();
    if (id !== undefined) {
      const sid = id.toString();
      if (this.idIndex_[sid] !== feature) {
        this.removeFromIdIndex_(feature);
        this.idIndex_[sid] = feature;
      }
    } else {
      this.removeFromIdIndex_(feature);
      this.uidIndex_[featureKey] = feature;
    }
    this.changed();
    this.dispatchEvent(
      new VectorSourceEvent(VectorEventType.CHANGEFEATURE, feature),
    );
  }

  /**
   * Returns true if the feature is contained within the source.
   * @param {FeatureType} feature Feature.
   * @return {boolean} Has feature.
   * @api
   */
  hasFeature(feature) {
    const id = feature.getId();
    if (id !== undefined) {
      return id in this.idIndex_;
    }
    return getUid(feature) in this.uidIndex_;
  }

  /**
   * @return {boolean} Is empty.
   */
  isEmpty() {
    if (this.featuresRtree_) {
      return (
        this.featuresRtree_.isEmpty() && obj_isEmpty(this.nullGeometryFeatures_)
      );
    }
    if (this.featuresCollection_) {
      return this.featuresCollection_.getLength() === 0;
    }
    return true;
  }

  /**
   * @param {import("../extent.js").Extent} extent Extent.
   * @param {number} resolution Resolution.
   * @param {import("../proj/Projection.js").default} projection Projection.
   */
  loadFeatures(extent, resolution, projection) {
    const loadedExtentsRtree = this.loadedExtentsRtree_;
    const extentsToLoad = this.strategy_(extent, resolution, projection);
    for (let i = 0, ii = extentsToLoad.length; i < ii; ++i) {
      const extentToLoad = extentsToLoad[i];
      const alreadyLoaded = loadedExtentsRtree.forEachInExtent(
        extentToLoad,
        /**
         * @param {{extent: import("../extent.js").Extent}} object Object.
         * @return {boolean} Contains.
         */
        function (object) {
          return containsExtent(object.extent, extentToLoad);
        },
      );
      if (!alreadyLoaded) {
        ++this.loadingExtentsCount_;
        this.dispatchEvent(
          new VectorSourceEvent(VectorEventType.FEATURESLOADSTART),
        );
        this.loader_.call(
          this,
          extentToLoad,
          resolution,
          projection,
          /**
           * @param {Array<FeatureType>} features Loaded features
           */
          (features) => {
            --this.loadingExtentsCount_;
            this.dispatchEvent(
              new VectorSourceEvent(
                VectorEventType.FEATURESLOADEND,
                undefined,
                features,
              ),
            );
          },
          () => {
            --this.loadingExtentsCount_;
            this.dispatchEvent(
              new VectorSourceEvent(VectorEventType.FEATURESLOADERROR),
            );
          },
        );
        loadedExtentsRtree.insert(extentToLoad, {extent: extentToLoad.slice()});
      }
    }
    this.loading =
      this.loader_.length < 4 ? false : this.loadingExtentsCount_ > 0;
  }

  /**
   * @override
   */
  refresh() {
    this.clear(true);
    this.loadedExtentsRtree_.clear();
    super.refresh();
  }

  /**
   * Remove an extent from the list of loaded extents.
   * @param {import("../extent.js").Extent} extent Extent.
   * @api
   */
  removeLoadedExtent(extent) {
    const loadedExtentsRtree = this.loadedExtentsRtree_;
    const obj = loadedExtentsRtree.forEachInExtent(extent, function (object) {
      if (extent_equals(object.extent, extent)) {
        return object;
      }
    });
    if (obj) {
      loadedExtentsRtree.remove(obj);
    }
  }

  /**
   * Batch remove features from the source.  If you want to remove all features
   * at once, use the {@link module:ol/source/Vector~VectorSource#clear #clear()} method
   * instead.
   * @param {Array<FeatureType>} features Features to remove.
   * @api
   */
  removeFeatures(features) {
    let removed = false;
    for (let i = 0, ii = features.length; i < ii; ++i) {
      removed = this.removeFeatureInternal(features[i]) || removed;
    }
    if (removed) {
      this.changed();
    }
  }

  /**
   * Remove a single feature from the source. If you want to batch remove
   * features, use the {@link module:ol/source/Vector~VectorSource#removeFeatures #removeFeatures()} method
   * instead.
   * @param {FeatureType} feature Feature to remove.
   * @api
   */
  removeFeature(feature) {
    if (!feature) {
      return;
    }
    const removed = this.removeFeatureInternal(feature);
    if (removed) {
      this.changed();
    }
  }

  /**
   * Remove feature without firing a `change` event.
   * @param {FeatureType} feature Feature.
   * @return {boolean} True if the feature was removed, false if it was not found.
   * @protected
   */
  removeFeatureInternal(feature) {
    const featureKey = getUid(feature);
    if (!(featureKey in this.uidIndex_)) {
      return false;
    }

    if (featureKey in this.nullGeometryFeatures_) {
      delete this.nullGeometryFeatures_[featureKey];
    } else {
      if (this.featuresRtree_) {
        this.featuresRtree_.remove(feature);
      }
    }

    const featureChangeKeys = this.featureChangeKeys_[featureKey];
    featureChangeKeys?.forEach(unlistenByKey);
    delete this.featureChangeKeys_[featureKey];

    const id = feature.getId();
    if (id !== undefined) {
      const idString = id.toString();
      const indexedFeature = this.idIndex_[idString];
      if (indexedFeature === feature) {
        delete this.idIndex_[idString];
      } else if (Array.isArray(indexedFeature)) {
        indexedFeature.splice(indexedFeature.indexOf(feature), 1);
        if (indexedFeature.length === 1) {
          this.idIndex_[idString] = indexedFeature[0];
        }
      }
    }
    delete this.uidIndex_[featureKey];
    if (this.hasListener(VectorEventType.REMOVEFEATURE)) {
      this.dispatchEvent(
        new VectorSourceEvent(VectorEventType.REMOVEFEATURE, feature),
      );
    }
    return true;
  }

  /**
   * Remove a feature from the id index.  Called internally when the feature id
   * may have changed.
   * @param {FeatureType} feature The feature.
   * @private
   */
  removeFromIdIndex_(feature) {
    for (const id in this.idIndex_) {
      if (this.idIndex_[id] === feature) {
        delete this.idIndex_[id];
        break;
      }
    }
  }

  /**
   * Set the new loader of the source. The next render cycle will use the
   * new loader.
   * @param {import("../featureloader.js").FeatureLoader} loader The loader to set.
   * @api
   */
  setLoader(loader) {
    this.loader_ = loader;
  }

  /**
   * Points the source to a new url. The next render cycle will use the new url.
   * @param {string|import("../featureloader.js").FeatureUrlFunction} url Url.
   * @api
   */
  setUrl(url) {
    assert(this.format_, '`format` must be set when `url` is set');
    this.url_ = url;
    this.setLoader(featureloader_xhr(url, this.format_));
  }

  /**
   * @param {boolean} overlaps The source can have overlapping geometries.
   */
  setOverlaps(overlaps) {
    this.overlaps_ = overlaps;
    this.changed();
  }
}

/* harmony default export */ const source_Vector = (VectorSource);

;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam0.svg
const fam0_namespaceObject = __webpack_require__.p + "assets/5268d8a4c40e633b338a.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam1.svg
const fam1_namespaceObject = __webpack_require__.p + "assets/22b2c379c2860986e20b.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam2.svg
const fam2_namespaceObject = __webpack_require__.p + "assets/2c9d5eea3541fb94ec52.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam3.svg
const fam3_namespaceObject = __webpack_require__.p + "assets/a5d4b6863115d02fbff3.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam4.svg
const fam4_namespaceObject = __webpack_require__.p + "assets/6b8fb46786626f20ec39.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam5.svg
const fam5_namespaceObject = __webpack_require__.p + "assets/f6e345bdff236c09356a.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam6.svg
const fam6_namespaceObject = __webpack_require__.p + "assets/95b67df5c8ec97a64818.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam7.svg
const fam7_namespaceObject = __webpack_require__.p + "assets/fcf5cc614d8288b1082b.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam8.svg
const fam8_namespaceObject = __webpack_require__.p + "assets/6dd1a6fabd6d36358022.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam9.svg
const fam9_namespaceObject = __webpack_require__.p + "assets/223509b57a33aa88885c.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam10.svg
const fam10_namespaceObject = __webpack_require__.p + "assets/d3d41db3d732380b2b85.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam11.svg
const fam11_namespaceObject = __webpack_require__.p + "assets/45e850ea1255a094cdcc.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam12.svg
const fam12_namespaceObject = __webpack_require__.p + "assets/4f2f127701898ae78823.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam13.svg
const fam13_namespaceObject = __webpack_require__.p + "assets/a1a3194ce8615ec171ef.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam14.svg
const fam14_namespaceObject = __webpack_require__.p + "assets/871d5b5c67b33a0f9ddb.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam15.svg
const fam15_namespaceObject = __webpack_require__.p + "assets/04e3358e04337af8a5b7.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam16.svg
const fam16_namespaceObject = __webpack_require__.p + "assets/25c7a61d9c8045c8bd12.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam17.svg
const fam17_namespaceObject = __webpack_require__.p + "assets/7de3f4bc78f65ebb7bc9.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam18.svg
const fam18_namespaceObject = __webpack_require__.p + "assets/67e1f1736a810c7c25ba.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam19.svg
const fam19_namespaceObject = __webpack_require__.p + "assets/6e6689252ab5a64bacc0.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam20.svg
const fam20_namespaceObject = __webpack_require__.p + "assets/ec171375365d9698ab89.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam21.svg
const fam21_namespaceObject = __webpack_require__.p + "assets/3a8b6f20e1017b506564.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam22.svg
const fam22_namespaceObject = __webpack_require__.p + "assets/e811866e25451b8a6081.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam23.svg
const fam23_namespaceObject = __webpack_require__.p + "assets/1b2812b94e85d40a00e4.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam24.svg
const fam24_namespaceObject = __webpack_require__.p + "assets/7838159f5da89b90bb1a.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam25.svg
const fam25_namespaceObject = __webpack_require__.p + "assets/6e67058663869d8d4895.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam26.svg
const fam26_namespaceObject = __webpack_require__.p + "assets/c7f872e0df78404cb5f6.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam27.svg
const fam27_namespaceObject = __webpack_require__.p + "assets/bb897cfd9500a7ddee22.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam28.svg
const fam28_namespaceObject = __webpack_require__.p + "assets/56aa400fbd990c0ae0ea.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam29.svg
const fam29_namespaceObject = __webpack_require__.p + "assets/ef0c802aaf2414fb187a.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam30.svg
const fam30_namespaceObject = __webpack_require__.p + "assets/87f5144f4ef8d23f5648.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam31.svg
const fam31_namespaceObject = __webpack_require__.p + "assets/8c3ed657c1cfae24e21e.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam32.svg
const fam32_namespaceObject = __webpack_require__.p + "assets/e00c76263dc37a5d456a.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam33.svg
const fam33_namespaceObject = __webpack_require__.p + "assets/e6fc1ba83d7a90f3c29b.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam34.svg
const fam34_namespaceObject = __webpack_require__.p + "assets/dd5c2dfec01e6f9ab091.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/logo/fam35.svg
const fam35_namespaceObject = __webpack_require__.p + "assets/b9f2956ece322313b4a7.svg";
;// CONCATENATED MODULE: ./src/views/phone/apps/family/components/territory-war/constants.js
function territory_war_constants_typeof(o) { "@babel/helpers - typeof"; return territory_war_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, territory_war_constants_typeof(o); }
function territory_war_constants_defineProperty(e, r, t) { return (r = territory_war_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function territory_war_constants_toPropertyKey(t) { var i = territory_war_constants_toPrimitive(t, "string"); return "symbol" == territory_war_constants_typeof(i) ? i : i + ""; }
function territory_war_constants_toPrimitive(t, r) { if ("object" != territory_war_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != territory_war_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }




































var TILE_SIZE = 192;
var ICON_SIZE = 16;
var INITIAL_CENTER = [37, -31];
var VIEW_EXTENT = [-55, -142, 142, 0];
var MIN_ZOOM = 3;
var MAX_ZOOM = 5;
var Headers = {
  Date: 'date',
  Territory: 'number',
  Attacker: 'attacker'
};
var constants_MAP_HEADER_TO_NAME = territory_war_constants_defineProperty(territory_war_constants_defineProperty(territory_war_constants_defineProperty({}, Headers.Date, 'Дата / Время'), Headers.Territory, '№ Территории'), Headers.Attacker, 'Наши встречи');
var FeatureTypes = {
  Polygon: 'polygon',
  Icon: 'icon'
};
var Attributes = {
  Balance: 'balance',
  Coins: 'coins',
  Company: 'company'
};
var MAP_ATTRIBUTE_TO_NAME = territory_war_constants_defineProperty(territory_war_constants_defineProperty(territory_war_constants_defineProperty({}, Attributes.Balance, 'Баланс'), Attributes.Coins, 'Баланс семейных монет'), Attributes.Company, 'Семейное предприятие');
var FAMILY_COLORS = [[255, 94, 94], [222, 222, 222], [230, 80, 117], [239, 164, 183], [144, 91, 105], [208, 82, 206], [255, 0, 252], [93, 57, 93], [142, 56, 234], [107, 33, 187], [47, 0, 255], [116, 86, 248], [82, 135, 241], [29, 186, 242], [48, 142, 176], [48, 176, 97], [32, 242, 113], [16, 113, 53], [71, 235, 42], [158, 233, 145], [194, 217, 94], [209, 255, 0], [123, 144, 34], [255, 201, 0], [232, 202, 96], [107, 91, 31], [255, 132, 0], [192, 67, 18], [92, 76, 69], [55, 53, 52], [53, 18, 4]];
var MAP_ID_TO_FAMILY_LOGO = [fam0_namespaceObject, fam1_namespaceObject, fam2_namespaceObject, fam3_namespaceObject, fam4_namespaceObject, fam5_namespaceObject, fam6_namespaceObject, fam7_namespaceObject, fam8_namespaceObject, fam9_namespaceObject, fam10_namespaceObject, fam11_namespaceObject, fam12_namespaceObject, fam13_namespaceObject, fam14_namespaceObject, fam15_namespaceObject, fam16_namespaceObject, fam17_namespaceObject, fam18_namespaceObject, fam19_namespaceObject, fam20_namespaceObject, fam21_namespaceObject, fam22_namespaceObject, fam23_namespaceObject, fam24_namespaceObject, fam25_namespaceObject, fam26_namespaceObject, fam27_namespaceObject, fam28_namespaceObject, fam29_namespaceObject, fam30_namespaceObject, fam31_namespaceObject, fam32_namespaceObject, fam33_namespaceObject, fam34_namespaceObject, fam35_namespaceObject, fam35_namespaceObject];
var BUSINESS_COLOR = [242, 201, 76];
var MANSION_COLOR = [255, 255, 255];
var BLOCKED_COLOR = [0, 0, 0];
var AVAILABLE_COLOR = [77, 85, 118];
;// CONCATENATED MODULE: ./src/views/phone/apps/family/components/territory-war/components/notification/constants.js
function notification_constants_typeof(o) { "@babel/helpers - typeof"; return notification_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, notification_constants_typeof(o); }
function notification_constants_defineProperty(e, r, t) { return (r = notification_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function notification_constants_toPropertyKey(t) { var i = notification_constants_toPrimitive(t, "string"); return "symbol" == notification_constants_typeof(i) ? i : i + ""; }
function notification_constants_toPrimitive(t, r) { if ("object" != notification_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != notification_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
var constants_NotificationType = {
  Reminder: 0,
  DeclareWar: 1,
  StoppedByAdmin: 2
};
var constants_MAP_TYPE_TO_INFORMATION = notification_constants_defineProperty(notification_constants_defineProperty(notification_constants_defineProperty({}, constants_NotificationType.Reminder, {
  title: 'Время сражений',
  description: 'Приходите позже и возглавьте верхушку криминального мира',
  "class": 'reminder'
}), constants_NotificationType.DeclareWar, {
  title: 'В данный момент проходит сражение',
  description: 'Время отправиться на битву за территорию',
  "class": 'declare',
  color: 'rgba(255, 0, 0 , 0.9)'
}), constants_NotificationType.StoppedByAdmin, {
  title: 'Война семей',
  information: 'Остановлена администрацией',
  description: 'Приходите позже и возглавьте верхушку криминального мира',
  "class": 'stopped',
  color: 'rgba(225, 118, 40, 0.9)'
});
;// CONCATENATED MODULE: ./src/views/phone/apps/family/components/territory-war/components/notification/index.svelte
/* src\views\phone\apps\family\components\territory-war\components\notification\index.svelte generated by Svelte v3.49.0 */










function notification_index_svelte_create_else_block_1(ctx) {
	let i;
	let i_class_value;

	return {
		c() {
			i = internal_element("i");

			attr(i, "class", i_class_value = "family-war-notification__icon " + (/*$territoryNotification*/ ctx[0] === constants_NotificationType.Reminder
			? 'icon-family-timer'
			: 'icon-family-wrench'));

			toggle_class(i, "family-war-notification__icon--stopped", /*$territoryNotification*/ ctx[0] === 'stoppedByAdmin');
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*$territoryNotification*/ 1 && i_class_value !== (i_class_value = "family-war-notification__icon " + (/*$territoryNotification*/ ctx[0] === constants_NotificationType.Reminder
			? 'icon-family-timer'
			: 'icon-family-wrench'))) {
				attr(i, "class", i_class_value);
			}

			if (dirty & /*$territoryNotification, $territoryNotification*/ 1) {
				toggle_class(i, "family-war-notification__icon--stopped", /*$territoryNotification*/ ctx[0] === 'stoppedByAdmin');
			}
		},
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (25:4) {#if $territoryNotification.type === NotificationType.DeclareWar}
function notification_index_svelte_create_if_block_2(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "family-war-notification__logo");
			if (!src_url_equal(img.src, img_src_value = MAP_ID_TO_FAMILY_LOGO[/*$territoryNotification*/ ctx[0].icon])) attr(img, "src", img_src_value);
			attr(img, "alt", "logo-img");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*$territoryNotification*/ 1 && !src_url_equal(img.src, img_src_value = MAP_ID_TO_FAMILY_LOGO[/*$territoryNotification*/ ctx[0].icon])) {
				attr(img, "src", img_src_value);
			}
		},
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (51:4) {:else}
function notification_index_svelte_create_else_block(ctx) {
	let p0;
	let t0_value = /*$territoryNotification*/ ctx[0].name + "";
	let t0;
	let t1;
	let p1;
	let t2_value = constants_MAP_TYPE_TO_INFORMATION[/*$territoryNotification*/ ctx[0].type].title + "";
	let t2;

	return {
		c() {
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(t2_value);
			attr(p0, "class", "family-war-notification__info");
			attr(p1, "class", "family-war-notification__title");
		},
		m(target, anchor) {
			insert(target, p0, anchor);
			append(p0, t0);
			insert(target, t1, anchor);
			insert(target, p1, anchor);
			append(p1, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*$territoryNotification*/ 1 && t0_value !== (t0_value = /*$territoryNotification*/ ctx[0].name + "")) set_data(t0, t0_value);
			if (dirty & /*$territoryNotification*/ 1 && t2_value !== (t2_value = constants_MAP_TYPE_TO_INFORMATION[/*$territoryNotification*/ ctx[0].type].title + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(p0);
			if (detaching) detach(t1);
			if (detaching) detach(p1);
		}
	};
}

// (44:78) 
function notification_index_svelte_create_if_block_1(ctx) {
	let p0;
	let t0_value = constants_MAP_TYPE_TO_INFORMATION[/*$territoryNotification*/ ctx[0].type].title + "";
	let t0;
	let t1;
	let p1;
	let t2_value = constants_MAP_TYPE_TO_INFORMATION[/*$territoryNotification*/ ctx[0].type].information + "";
	let t2;

	return {
		c() {
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(t2_value);
			attr(p0, "class", "family-war-notification__title");
			attr(p1, "class", "family-war-notification__info");
		},
		m(target, anchor) {
			insert(target, p0, anchor);
			append(p0, t0);
			insert(target, t1, anchor);
			insert(target, p1, anchor);
			append(p1, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*$territoryNotification*/ 1 && t0_value !== (t0_value = constants_MAP_TYPE_TO_INFORMATION[/*$territoryNotification*/ ctx[0].type].title + "")) set_data(t0, t0_value);
			if (dirty & /*$territoryNotification*/ 1 && t2_value !== (t2_value = constants_MAP_TYPE_TO_INFORMATION[/*$territoryNotification*/ ctx[0].type].information + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(p0);
			if (detaching) detach(t1);
			if (detaching) detach(p1);
		}
	};
}

// (37:4) {#if $territoryNotification.type === NotificationType.Reminder}
function notification_index_svelte_create_if_block(ctx) {
	let p0;
	let t0_value = constants_MAP_TYPE_TO_INFORMATION[/*$territoryNotification*/ ctx[0].type].title + "";
	let t0;
	let t1;
	let p1;

	return {
		c() {
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			p1 = internal_element("p");
			p1.textContent = "15:00 до 20:00";
			attr(p0, "class", "family-war-notification__title");
			attr(p1, "class", "family-war-notification__info");
		},
		m(target, anchor) {
			insert(target, p0, anchor);
			append(p0, t0);
			insert(target, t1, anchor);
			insert(target, p1, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*$territoryNotification*/ 1 && t0_value !== (t0_value = constants_MAP_TYPE_TO_INFORMATION[/*$territoryNotification*/ ctx[0].type].title + "")) set_data(t0, t0_value);
		},
		d(detaching) {
			if (detaching) detach(p0);
			if (detaching) detach(t1);
			if (detaching) detach(p1);
		}
	};
}

function notification_index_svelte_create_fragment(ctx) {
	let div1;
	let t0;
	let t1;
	let p0;
	let t2_value = constants_MAP_TYPE_TO_INFORMATION[/*$territoryNotification*/ ctx[0].type].description + "";
	let t2;
	let t3;
	let div0;
	let div1_class_value;
	let div1_intro;
	let mounted;
	let dispose;

	function select_block_type(ctx, dirty) {
		if (/*$territoryNotification*/ ctx[0].type === constants_NotificationType.DeclareWar) return notification_index_svelte_create_if_block_2;
		return notification_index_svelte_create_else_block_1;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block0 = current_block_type(ctx);

	function select_block_type_1(ctx, dirty) {
		if (/*$territoryNotification*/ ctx[0].type === constants_NotificationType.Reminder) return notification_index_svelte_create_if_block;
		if (/*$territoryNotification*/ ctx[0].type === constants_NotificationType.StoppedByAdmin) return notification_index_svelte_create_if_block_1;
		return notification_index_svelte_create_else_block;
	}

	let current_block_type_1 = select_block_type_1(ctx, -1);
	let if_block1 = current_block_type_1(ctx);

	return {
		c() {
			div1 = internal_element("div");
			if_block0.c();
			t0 = space();
			if_block1.c();
			t1 = space();
			p0 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = space();
			div0 = internal_element("div");
			div0.innerHTML = `<p class="family-war-notification__button-title">хорошо</p>`;
			attr(p0, "class", "family-war-notification__description");
			attr(div0, "class", "family-war-notification__button");
			attr(div1, "class", div1_class_value = "family-war-notification family-war-notification--" + constants_MAP_TYPE_TO_INFORMATION[/*$territoryNotification*/ ctx[0].type].class);
			toggle_class(div1, "reminder", /*$territoryNotification*/ ctx[0] === constants_NotificationType.Reminder);
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			if_block0.m(div1, null);
			append(div1, t0);
			if_block1.m(div1, null);
			append(div1, t1);
			append(div1, p0);
			append(p0, t2);
			append(div1, t3);
			append(div1, div0);

			if (!mounted) {
				dispose = listen(div0, "click", /*closeNotification*/ ctx[1]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block0) {
				if_block0.p(ctx, dirty);
			} else {
				if_block0.d(1);
				if_block0 = current_block_type(ctx);

				if (if_block0) {
					if_block0.c();
					if_block0.m(div1, t0);
				}
			}

			if (current_block_type_1 === (current_block_type_1 = select_block_type_1(ctx, dirty)) && if_block1) {
				if_block1.p(ctx, dirty);
			} else {
				if_block1.d(1);
				if_block1 = current_block_type_1(ctx);

				if (if_block1) {
					if_block1.c();
					if_block1.m(div1, t1);
				}
			}

			if (dirty & /*$territoryNotification*/ 1 && t2_value !== (t2_value = constants_MAP_TYPE_TO_INFORMATION[/*$territoryNotification*/ ctx[0].type].description + "")) set_data(t2, t2_value);

			if (dirty & /*$territoryNotification*/ 1 && div1_class_value !== (div1_class_value = "family-war-notification family-war-notification--" + constants_MAP_TYPE_TO_INFORMATION[/*$territoryNotification*/ ctx[0].type].class)) {
				attr(div1, "class", div1_class_value);
			}

			if (dirty & /*$territoryNotification, $territoryNotification, NotificationType*/ 1) {
				toggle_class(div1, "reminder", /*$territoryNotification*/ ctx[0] === constants_NotificationType.Reminder);
			}
		},
		i(local) {
			if (!div1_intro) {
				add_render_callback(() => {
					div1_intro = create_in_transition(div1, fade, {});
					div1_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
			if_block0.d();
			if_block1.d();
			mounted = false;
			dispose();
		}
	};
}

function notification_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedScreen;
	let $territoryNotification;
	component_subscribe($$self, family_store_selectedScreen, $$value => $$invalidate(2, $selectedScreen = $$value));
	component_subscribe($$self, territoryNotification, $$value => $$invalidate(0, $territoryNotification = $$value));

	const closeNotification = () => {
		set_store_value(territoryNotification, $territoryNotification = {}, $territoryNotification);
		sendClientMessage('family.territory.notification.close');
	};

	onMount(() => {
		sendClientMessage('family.selectedScreen', $selectedScreen);
	});

	return [$territoryNotification, closeNotification];
}

class Notification extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, notification_index_svelte_instance, notification_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const notification_index_svelte = (Notification);
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/business/fuel.svg
const fuel_namespaceObject = __webpack_require__.p + "assets/9d5a826178370a274104.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/business/mansion.svg
const business_mansion_namespaceObject = __webpack_require__.p + "assets/08b51b010faa69a67495.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/business/building.svg
const building_namespaceObject = __webpack_require__.p + "assets/fed5bd7f855ad2ac8606.svg";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/family-war-reward-bg.png
const family_war_reward_bg_namespaceObject = __webpack_require__.p + "assets/58efee453e2a82dbb171.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/family-war-reward-title.png
const family_war_reward_title_namespaceObject = __webpack_require__.p + "assets/ec5c8fdc277299aa65e9.webp";
;// CONCATENATED MODULE: ./src/views/phone/apps/family/components/territory-war/index.svelte
/* src\views\phone\apps\family\components\territory-war\index.svelte generated by Svelte v3.49.0 */






























function territory_war_index_svelte_add_css(target) {
	append_styles(target, "svelte-uaglt0", "@keyframes svelte-uaglt0-blinking{50%{opacity:0}}@keyframes svelte-uaglt0-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-uaglt0-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-uaglt0-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-uaglt0-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-uaglt0-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-uaglt0-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-uaglt0-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-uaglt0-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-uaglt0-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-uaglt0-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-uaglt0-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-uaglt0-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-uaglt0-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-uaglt0-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.family-map.svelte-uaglt0{display:flex;align-items:center;justify-content:center;position:relative;height:100%;width:100%}.family-map__capture-map.svelte-uaglt0{position:relative;width:100%;height:100%}.family-map__panel.svelte-uaglt0{display:flex;flex-direction:column;position:absolute;gap:calc(0.0057291667 * 100vw + 0px);top:calc(0.0322916667 * 100vw + 0px);left:calc(0.0302083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel.svelte-uaglt0{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel.svelte-uaglt0{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel.svelte-uaglt0{gap:calc(0.0044114583 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel.svelte-uaglt0{gap:calc(0.0063020833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel.svelte-uaglt0{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel.svelte-uaglt0{gap:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel.svelte-uaglt0{gap:calc(0.0063020833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel.svelte-uaglt0{top:calc(0.0322916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel.svelte-uaglt0{top:calc(0.0322916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel.svelte-uaglt0{top:calc(0.0248645833 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel.svelte-uaglt0{top:calc(0.0355208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel.svelte-uaglt0{top:calc(0.0226041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel.svelte-uaglt0{top:calc(0.0290625 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel.svelte-uaglt0{top:calc(0.0355208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel.svelte-uaglt0{left:calc(0.0302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel.svelte-uaglt0{left:calc(0.0302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel.svelte-uaglt0{left:calc(0.0232604167 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel.svelte-uaglt0{left:calc(0.0332291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel.svelte-uaglt0{left:calc(0.0211458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel.svelte-uaglt0{left:calc(0.0271875 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel.svelte-uaglt0{left:calc(0.0332291667 * 100vw + 0px)}}.family-map__panel-reward.svelte-uaglt0{position:relative;display:flex;align-items:center;justify-content:center;width:calc(0.184375 * 100vw + 0px);height:calc(0.0973958333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-reward.svelte-uaglt0{width:calc(0.184375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-reward.svelte-uaglt0{width:calc(0.184375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-reward.svelte-uaglt0{width:calc(0.14196875 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-reward.svelte-uaglt0{width:calc(0.2028125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-reward.svelte-uaglt0{width:calc(0.1290625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-reward.svelte-uaglt0{width:calc(0.1659375 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-reward.svelte-uaglt0{width:calc(0.2028125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-reward.svelte-uaglt0{height:calc(0.0973958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-reward.svelte-uaglt0{height:calc(0.0973958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-reward.svelte-uaglt0{height:calc(0.0749947917 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-reward.svelte-uaglt0{height:calc(0.1071354167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-reward.svelte-uaglt0{height:calc(0.0681770833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-reward.svelte-uaglt0{height:calc(0.08765625 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-reward.svelte-uaglt0{height:calc(0.1071354167 * 100vw + 0px)}}.family-map__panel-reward-days.svelte-uaglt0{position:absolute;top:0;right:0;display:flex;align-items:center;justify-content:center;background-color:#FFFFFF;font-family:\"GothamPro-Medium\";color:#111111;transform:translateX(15%) translateY(-50%);width:calc(0.0729166667 * 100vw + 0px);height:calc(0.0145833333 * 100vw + 0px);font-size:calc(0.00625 * 100vw + 0px);border-radius:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-reward-days.svelte-uaglt0{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-reward-days.svelte-uaglt0{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-reward-days.svelte-uaglt0{width:calc(0.0561458333 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-reward-days.svelte-uaglt0{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-reward-days.svelte-uaglt0{width:calc(0.0510416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-reward-days.svelte-uaglt0{width:calc(0.065625 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-reward-days.svelte-uaglt0{width:calc(0.0802083333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-reward-days.svelte-uaglt0{height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-reward-days.svelte-uaglt0{height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-reward-days.svelte-uaglt0{height:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-reward-days.svelte-uaglt0{height:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-reward-days.svelte-uaglt0{height:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-reward-days.svelte-uaglt0{height:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-reward-days.svelte-uaglt0{height:calc(0.0160416667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-reward-days.svelte-uaglt0{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-reward-days.svelte-uaglt0{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-reward-days.svelte-uaglt0{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-reward-days.svelte-uaglt0{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-reward-days.svelte-uaglt0{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-reward-days.svelte-uaglt0{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-reward-days.svelte-uaglt0{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-reward-days.svelte-uaglt0{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-reward-days.svelte-uaglt0{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-reward-days.svelte-uaglt0{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-reward-days.svelte-uaglt0{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-reward-days.svelte-uaglt0{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-reward-days.svelte-uaglt0{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-reward-days.svelte-uaglt0{border-radius:calc(0.0143229167 * 100vw + 0px)}}.family-map__panel-reward-background.svelte-uaglt0{position:absolute;height:calc(0.0973958333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-reward-background.svelte-uaglt0{height:calc(0.0973958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-reward-background.svelte-uaglt0{height:calc(0.0973958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-reward-background.svelte-uaglt0{height:calc(0.0749947917 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-reward-background.svelte-uaglt0{height:calc(0.1071354167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-reward-background.svelte-uaglt0{height:calc(0.0681770833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-reward-background.svelte-uaglt0{height:calc(0.08765625 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-reward-background.svelte-uaglt0{height:calc(0.1071354167 * 100vw + 0px)}}.family-map__panel-reward-title.svelte-uaglt0{position:absolute;height:calc(0.0322916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-reward-title.svelte-uaglt0{height:calc(0.0322916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-reward-title.svelte-uaglt0{height:calc(0.0322916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-reward-title.svelte-uaglt0{height:calc(0.0248645833 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-reward-title.svelte-uaglt0{height:calc(0.0355208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-reward-title.svelte-uaglt0{height:calc(0.0226041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-reward-title.svelte-uaglt0{height:calc(0.0290625 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-reward-title.svelte-uaglt0{height:calc(0.0355208333 * 100vw + 0px)}}.family-map__panel-reward-button.svelte-uaglt0{position:absolute;display:flex;align-items:center;justify-content:center;cursor:pointer;background-color:#C4D0E8;transition:background-color 0.2s linear;gap:calc(0.0052083333 * 100vw + 0px);border-radius:calc(0.0130208333 * 100vw + 0px);bottom:calc(0.0067708333 * 100vw + 0px);width:calc(0.1708333333 * 100vw + 0px);height:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-reward-button.svelte-uaglt0{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-reward-button.svelte-uaglt0{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-reward-button.svelte-uaglt0{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-reward-button.svelte-uaglt0{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-reward-button.svelte-uaglt0{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-reward-button.svelte-uaglt0{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-reward-button.svelte-uaglt0{gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-reward-button.svelte-uaglt0{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-reward-button.svelte-uaglt0{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-reward-button.svelte-uaglt0{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-reward-button.svelte-uaglt0{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-reward-button.svelte-uaglt0{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-reward-button.svelte-uaglt0{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-reward-button.svelte-uaglt0{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-reward-button.svelte-uaglt0{bottom:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-reward-button.svelte-uaglt0{bottom:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-reward-button.svelte-uaglt0{bottom:calc(0.0052135417 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-reward-button.svelte-uaglt0{bottom:calc(0.0074479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-reward-button.svelte-uaglt0{bottom:calc(0.0047395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-reward-button.svelte-uaglt0{bottom:calc(0.00609375 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-reward-button.svelte-uaglt0{bottom:calc(0.0074479167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-reward-button.svelte-uaglt0{width:calc(0.1708333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-reward-button.svelte-uaglt0{width:calc(0.1708333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-reward-button.svelte-uaglt0{width:calc(0.1315416667 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-reward-button.svelte-uaglt0{width:calc(0.1879166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-reward-button.svelte-uaglt0{width:calc(0.1195833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-reward-button.svelte-uaglt0{width:calc(0.15375 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-reward-button.svelte-uaglt0{width:calc(0.1879166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-reward-button.svelte-uaglt0{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-reward-button.svelte-uaglt0{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-reward-button.svelte-uaglt0{height:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-reward-button.svelte-uaglt0{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-reward-button.svelte-uaglt0{height:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-reward-button.svelte-uaglt0{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-reward-button.svelte-uaglt0{height:calc(0.0200520833 * 100vw + 0px)}}.family-map__panel-reward-button.svelte-uaglt0:hover{background-color:#FFFFFF}.family-map__panel-reward-button-icon.svelte-uaglt0{color:#1A2029;font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-reward-button-icon.svelte-uaglt0{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-reward-button-icon.svelte-uaglt0{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-reward-button-icon.svelte-uaglt0{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-reward-button-icon.svelte-uaglt0{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-reward-button-icon.svelte-uaglt0{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-reward-button-icon.svelte-uaglt0{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-reward-button-icon.svelte-uaglt0{font-size:calc(0.006875 * 100vw + 0px)}}.family-map__panel-button-title.svelte-uaglt0{font-family:\"GothamPro-Medium\";color:#313843;font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-button-title.svelte-uaglt0{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-button-title.svelte-uaglt0{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-button-title.svelte-uaglt0{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-button-title.svelte-uaglt0{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-button-title.svelte-uaglt0{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-button-title.svelte-uaglt0{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-button-title.svelte-uaglt0{font-size:calc(0.006875 * 100vw + 0px)}}.family-map__panel-rating.svelte-uaglt0{background-color:#1A2029;border:2px solid rgba(255, 255, 255, 0.05);border-radius:calc(0.0130208333 * 100vw + 0px);padding-top:calc(0.0130208333 * 100vw + 0px);padding-left:calc(0.0135416667 * 100vw + 0px);width:calc(0.1854166667 * 100vw + 0px);height:calc(0.1552083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-rating.svelte-uaglt0{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-rating.svelte-uaglt0{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-rating.svelte-uaglt0{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-rating.svelte-uaglt0{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-rating.svelte-uaglt0{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-rating.svelte-uaglt0{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-rating.svelte-uaglt0{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-rating.svelte-uaglt0{padding-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-rating.svelte-uaglt0{padding-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-rating.svelte-uaglt0{padding-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-rating.svelte-uaglt0{padding-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-rating.svelte-uaglt0{padding-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-rating.svelte-uaglt0{padding-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-rating.svelte-uaglt0{padding-top:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-rating.svelte-uaglt0{padding-left:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-rating.svelte-uaglt0{padding-left:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-rating.svelte-uaglt0{padding-left:calc(0.0104270833 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-rating.svelte-uaglt0{padding-left:calc(0.0148958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-rating.svelte-uaglt0{padding-left:calc(0.0094791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-rating.svelte-uaglt0{padding-left:calc(0.0121875 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-rating.svelte-uaglt0{padding-left:calc(0.0148958333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-rating.svelte-uaglt0{width:calc(0.1854166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-rating.svelte-uaglt0{width:calc(0.1854166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-rating.svelte-uaglt0{width:calc(0.1427708333 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-rating.svelte-uaglt0{width:calc(0.2039583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-rating.svelte-uaglt0{width:calc(0.1297916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-rating.svelte-uaglt0{width:calc(0.166875 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-rating.svelte-uaglt0{width:calc(0.2039583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-rating.svelte-uaglt0{height:calc(0.1552083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-rating.svelte-uaglt0{height:calc(0.1552083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-rating.svelte-uaglt0{height:calc(0.1195104167 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-rating.svelte-uaglt0{height:calc(0.1707291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-rating.svelte-uaglt0{height:calc(0.1086458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-rating.svelte-uaglt0{height:calc(0.1396875 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-rating.svelte-uaglt0{height:calc(0.1707291667 * 100vw + 0px)}}.family-map__panel-rating-title.svelte-uaglt0{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-rating-title.svelte-uaglt0{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-rating-title.svelte-uaglt0{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-rating-title.svelte-uaglt0{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-rating-title.svelte-uaglt0{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-rating-title.svelte-uaglt0{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-rating-title.svelte-uaglt0{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-rating-title.svelte-uaglt0{font-size:calc(0.01375 * 100vw + 0px)}}.family-map__panel-rating-list.svelte-uaglt0{overflow:auto;height:calc(0.1192708333 * 100vw + 0px)}.family-map__panel-rating-list.svelte-uaglt0::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-rating-list.svelte-uaglt0::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-rating-list.svelte-uaglt0::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-rating-list.svelte-uaglt0::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-rating-list.svelte-uaglt0::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-rating-list.svelte-uaglt0::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-rating-list.svelte-uaglt0::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-rating-list.svelte-uaglt0::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-rating-list.svelte-uaglt0::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-rating-list.svelte-uaglt0::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-rating-list.svelte-uaglt0::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-rating-list.svelte-uaglt0::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-rating-list.svelte-uaglt0::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-rating-list.svelte-uaglt0::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-rating-list.svelte-uaglt0::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.family-map__panel-rating-list.svelte-uaglt0::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-rating-list.svelte-uaglt0::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-rating-list.svelte-uaglt0::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-rating-list.svelte-uaglt0::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-rating-list.svelte-uaglt0::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-rating-list.svelte-uaglt0::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-rating-list.svelte-uaglt0::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-rating-list.svelte-uaglt0::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.family-map__panel-rating-list.svelte-uaglt0::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-rating-list.svelte-uaglt0::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-rating-list.svelte-uaglt0::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-rating-list.svelte-uaglt0::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-rating-list.svelte-uaglt0::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-rating-list.svelte-uaglt0::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-rating-list.svelte-uaglt0::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-rating-list.svelte-uaglt0::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-rating-list.svelte-uaglt0{height:calc(0.1192708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-rating-list.svelte-uaglt0{height:calc(0.1192708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-rating-list.svelte-uaglt0{height:calc(0.0918385417 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-rating-list.svelte-uaglt0{height:calc(0.1311979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-rating-list.svelte-uaglt0{height:calc(0.0834895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-rating-list.svelte-uaglt0{height:calc(0.10734375 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-rating-list.svelte-uaglt0{height:calc(0.1311979167 * 100vw + 0px)}}.family-map__panel-rating-list.svelte-uaglt0::-webkit-scrollbar{width:0px}.family-map__panel-rating-item.svelte-uaglt0{position:relative;display:flex;align-items:center;justify-content:space-between;margin-top:calc(0.0052083333 * 100vw + 0px);width:calc(0.15625 * 100vw + 0px);height:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-rating-item.svelte-uaglt0{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-rating-item.svelte-uaglt0{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-rating-item.svelte-uaglt0{margin-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-rating-item.svelte-uaglt0{margin-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-rating-item.svelte-uaglt0{margin-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-rating-item.svelte-uaglt0{margin-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-rating-item.svelte-uaglt0{margin-top:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-rating-item.svelte-uaglt0{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-rating-item.svelte-uaglt0{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-rating-item.svelte-uaglt0{width:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-rating-item.svelte-uaglt0{width:calc(0.171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-rating-item.svelte-uaglt0{width:calc(0.109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-rating-item.svelte-uaglt0{width:calc(0.140625 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-rating-item.svelte-uaglt0{width:calc(0.171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-rating-item.svelte-uaglt0{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-rating-item.svelte-uaglt0{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-rating-item.svelte-uaglt0{height:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-rating-item.svelte-uaglt0{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-rating-item.svelte-uaglt0{height:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-rating-item.svelte-uaglt0{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-rating-item.svelte-uaglt0{height:calc(0.0200520833 * 100vw + 0px)}}.family-map__panel-rating-item.svelte-uaglt0::after{content:\"\";position:absolute;background-color:var(--backgroundColor);opacity:10%;width:100%;height:100%;border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-rating-item.svelte-uaglt0::after{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-rating-item.svelte-uaglt0::after{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-rating-item.svelte-uaglt0::after{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-rating-item.svelte-uaglt0::after{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-rating-item.svelte-uaglt0::after{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-rating-item.svelte-uaglt0::after{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-rating-item.svelte-uaglt0::after{border-radius:calc(0.0057291667 * 100vw + 0px)}}.family-map__panel-rating-item-title-wrapper.svelte-uaglt0{width:70%;display:flex;align-items:center;padding-left:calc(0.0078125 * 100vw + 0px);gap:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-rating-item-title-wrapper.svelte-uaglt0{padding-left:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-rating-item-title-wrapper.svelte-uaglt0{padding-left:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-rating-item-title-wrapper.svelte-uaglt0{padding-left:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-rating-item-title-wrapper.svelte-uaglt0{padding-left:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-rating-item-title-wrapper.svelte-uaglt0{padding-left:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-rating-item-title-wrapper.svelte-uaglt0{padding-left:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-rating-item-title-wrapper.svelte-uaglt0{padding-left:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-rating-item-title-wrapper.svelte-uaglt0{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-rating-item-title-wrapper.svelte-uaglt0{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-rating-item-title-wrapper.svelte-uaglt0{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-rating-item-title-wrapper.svelte-uaglt0{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-rating-item-title-wrapper.svelte-uaglt0{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-rating-item-title-wrapper.svelte-uaglt0{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-rating-item-title-wrapper.svelte-uaglt0{gap:calc(0.0057291667 * 100vw + 0px)}}.family-map__panel-rating-item-icon.svelte-uaglt0{height:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-rating-item-icon.svelte-uaglt0{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-rating-item-icon.svelte-uaglt0{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-rating-item-icon.svelte-uaglt0{height:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-rating-item-icon.svelte-uaglt0{height:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-rating-item-icon.svelte-uaglt0{height:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-rating-item-icon.svelte-uaglt0{height:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-rating-item-icon.svelte-uaglt0{height:calc(0.0143229167 * 100vw + 0px)}}.family-map__panel-rating-item-name.svelte-uaglt0{width:100%;display:-webkit-box;overflow:hidden;overflow-wrap:break-word;-webkit-line-clamp:1;-webkit-box-orient:vertical;font-family:\"GothamPro\";color:#FFFFFF;word-break:break-all;font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-rating-item-name.svelte-uaglt0{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-rating-item-name.svelte-uaglt0{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-rating-item-name.svelte-uaglt0{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-rating-item-name.svelte-uaglt0{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-rating-item-name.svelte-uaglt0{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-rating-item-name.svelte-uaglt0{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-rating-item-name.svelte-uaglt0{font-size:calc(0.006875 * 100vw + 0px)}}.family-map__panel-rating-item-value.svelte-uaglt0{font-family:\"GothamPro-Medium\";font-size:calc(0.00625 * 100vw + 0px);padding-right:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-rating-item-value.svelte-uaglt0{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-rating-item-value.svelte-uaglt0{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-rating-item-value.svelte-uaglt0{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-rating-item-value.svelte-uaglt0{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-rating-item-value.svelte-uaglt0{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-rating-item-value.svelte-uaglt0{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-rating-item-value.svelte-uaglt0{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-rating-item-value.svelte-uaglt0{padding-right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-rating-item-value.svelte-uaglt0{padding-right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-rating-item-value.svelte-uaglt0{padding-right:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-rating-item-value.svelte-uaglt0{padding-right:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-rating-item-value.svelte-uaglt0{padding-right:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-rating-item-value.svelte-uaglt0{padding-right:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-rating-item-value.svelte-uaglt0{padding-right:calc(0.00859375 * 100vw + 0px)}}.family-map__panel-hint.svelte-uaglt0{background-color:#1A2029;border:2px solid rgba(255, 255, 255, 0.05);border-radius:calc(0.0130208333 * 100vw + 0px);padding-top:calc(0.0130208333 * 100vw + 0px);padding-left:calc(0.0135416667 * 100vw + 0px);width:calc(0.1854166667 * 100vw + 0px);height:calc(0.1552083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-hint.svelte-uaglt0{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-hint.svelte-uaglt0{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-hint.svelte-uaglt0{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-hint.svelte-uaglt0{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-hint.svelte-uaglt0{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-hint.svelte-uaglt0{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-hint.svelte-uaglt0{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-hint.svelte-uaglt0{padding-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-hint.svelte-uaglt0{padding-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-hint.svelte-uaglt0{padding-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-hint.svelte-uaglt0{padding-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-hint.svelte-uaglt0{padding-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-hint.svelte-uaglt0{padding-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-hint.svelte-uaglt0{padding-top:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-hint.svelte-uaglt0{padding-left:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-hint.svelte-uaglt0{padding-left:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-hint.svelte-uaglt0{padding-left:calc(0.0104270833 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-hint.svelte-uaglt0{padding-left:calc(0.0148958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-hint.svelte-uaglt0{padding-left:calc(0.0094791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-hint.svelte-uaglt0{padding-left:calc(0.0121875 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-hint.svelte-uaglt0{padding-left:calc(0.0148958333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-hint.svelte-uaglt0{width:calc(0.1854166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-hint.svelte-uaglt0{width:calc(0.1854166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-hint.svelte-uaglt0{width:calc(0.1427708333 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-hint.svelte-uaglt0{width:calc(0.2039583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-hint.svelte-uaglt0{width:calc(0.1297916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-hint.svelte-uaglt0{width:calc(0.166875 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-hint.svelte-uaglt0{width:calc(0.2039583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-hint.svelte-uaglt0{height:calc(0.1552083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-hint.svelte-uaglt0{height:calc(0.1552083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-hint.svelte-uaglt0{height:calc(0.1195104167 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-hint.svelte-uaglt0{height:calc(0.1707291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-hint.svelte-uaglt0{height:calc(0.1086458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-hint.svelte-uaglt0{height:calc(0.1396875 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-hint.svelte-uaglt0{height:calc(0.1707291667 * 100vw + 0px)}}.family-map__panel-hint-title.svelte-uaglt0{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-hint-title.svelte-uaglt0{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-hint-title.svelte-uaglt0{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-hint-title.svelte-uaglt0{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-hint-title.svelte-uaglt0{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-hint-title.svelte-uaglt0{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-hint-title.svelte-uaglt0{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-hint-title.svelte-uaglt0{font-size:calc(0.01375 * 100vw + 0px)}}.family-map__panel-hint-item.svelte-uaglt0{display:flex;align-items:center;gap:calc(0.0052083333 * 100vw + 0px);margin-top:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-hint-item.svelte-uaglt0{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-hint-item.svelte-uaglt0{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-hint-item.svelte-uaglt0{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-hint-item.svelte-uaglt0{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-hint-item.svelte-uaglt0{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-hint-item.svelte-uaglt0{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-hint-item.svelte-uaglt0{gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-hint-item.svelte-uaglt0{margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-hint-item.svelte-uaglt0{margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-hint-item.svelte-uaglt0{margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-hint-item.svelte-uaglt0{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-hint-item.svelte-uaglt0{margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-hint-item.svelte-uaglt0{margin-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-hint-item.svelte-uaglt0{margin-top:calc(0.0114583333 * 100vw + 0px)}}.family-map__panel-hint-item-icon-wrapper.svelte-uaglt0{display:flex;align-items:center;justify-content:center;background:rgba(255, 255, 255, 0.25);border:2px solid #FFFFFF;width:calc(0.0130208333 * 100vw + 0px);height:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-hint-item-icon-wrapper.svelte-uaglt0{width:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-hint-item-icon-wrapper.svelte-uaglt0{width:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-hint-item-icon-wrapper.svelte-uaglt0{width:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-hint-item-icon-wrapper.svelte-uaglt0{width:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-hint-item-icon-wrapper.svelte-uaglt0{width:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-hint-item-icon-wrapper.svelte-uaglt0{width:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-hint-item-icon-wrapper.svelte-uaglt0{width:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-hint-item-icon-wrapper.svelte-uaglt0{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-hint-item-icon-wrapper.svelte-uaglt0{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-hint-item-icon-wrapper.svelte-uaglt0{height:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-hint-item-icon-wrapper.svelte-uaglt0{height:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-hint-item-icon-wrapper.svelte-uaglt0{height:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-hint-item-icon-wrapper.svelte-uaglt0{height:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-hint-item-icon-wrapper.svelte-uaglt0{height:calc(0.0143229167 * 100vw + 0px)}}.family-map__panel-hint-item-icon-wrapper--rainbow.svelte-uaglt0{background:linear-gradient(225deg, rgba(236, 56, 56, 0.25) 0%, rgba(226, 190, 71, 0.25) 24%, rgba(105, 211, 66, 0.25) 50.5%, rgba(57, 125, 181, 0.25) 78%, rgba(193, 48, 167, 0.25) 100%);border-image:linear-gradient(225deg, #EC3838 0%, #E2BE47 24%, #69D342 50.5%, #397DB5 78%, #C130A7 100%) 1;border-style:solid;border-width:calc(0.0010416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-hint-item-icon-wrapper--rainbow.svelte-uaglt0{border-width:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-hint-item-icon-wrapper--rainbow.svelte-uaglt0{border-width:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-hint-item-icon-wrapper--rainbow.svelte-uaglt0{border-width:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-hint-item-icon-wrapper--rainbow.svelte-uaglt0{border-width:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-hint-item-icon-wrapper--rainbow.svelte-uaglt0{border-width:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-hint-item-icon-wrapper--rainbow.svelte-uaglt0{border-width:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-hint-item-icon-wrapper--rainbow.svelte-uaglt0{border-width:calc(0.0011458333 * 100vw + 0px)}}.family-map__panel-hint-item-icon-wrapper--dark.svelte-uaglt0{background:rgba(77, 85, 118, 0.25);border:2px solid #4D5576}.family-map__panel-hint-item-icon.svelte-uaglt0{color:#F2C94C;font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-hint-item-icon.svelte-uaglt0{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-hint-item-icon.svelte-uaglt0{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-hint-item-icon.svelte-uaglt0{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-hint-item-icon.svelte-uaglt0{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-hint-item-icon.svelte-uaglt0{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-hint-item-icon.svelte-uaglt0{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-hint-item-icon.svelte-uaglt0{font-size:calc(0.006875 * 100vw + 0px)}}.family-map__panel-hint-item-icon--house.svelte-uaglt0{color:#FFFFFF}.family-map__panel-hint-item-title.svelte-uaglt0{font-family:\"GothamPro-Light\";color:#FFFFFF;font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.family-map__panel-hint-item-title.svelte-uaglt0{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.family-map__panel-hint-item-title.svelte-uaglt0{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.family-map__panel-hint-item-title.svelte-uaglt0{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.family-map__panel-hint-item-title.svelte-uaglt0{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.family-map__panel-hint-item-title.svelte-uaglt0{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.family-map__panel-hint-item-title.svelte-uaglt0{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.family-map__panel-hint-item-title.svelte-uaglt0{font-size:calc(0.006875 * 100vw + 0px)}}");
}

function territory_war_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[28] = list[i];
	return child_ctx;
}

// (2696:16) {#each territoryFamilies as item}
function territory_war_index_svelte_create_each_block(ctx) {
	let div1;
	let div0;
	let img;
	let img_src_value;
	let t0;
	let p0;
	let t1_value = /*item*/ ctx[28].name + "";
	let t1;
	let t2;
	let p1;
	let t3_value = /*item*/ ctx[28].count + "";
	let t3;
	let t4;
	let t5_value = Math.round(/*item*/ ctx[28].percent * 100) + "";
	let t5;
	let t6;
	let p1_style_value;
	let t7;
	let div1_style_value;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			p1 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = internal_text(" / ");
			t5 = internal_text(t5_value);
			t6 = internal_text("%");
			t7 = space();
			attr(img, "class", "family-map__panel-rating-item-icon svelte-uaglt0");
			if (!src_url_equal(img.src, img_src_value = MAP_ID_TO_FAMILY_LOGO[/*item*/ ctx[28].icon])) attr(img, "src", img_src_value);
			attr(img, "alt", "family-logo");
			attr(p0, "class", "family-map__panel-rating-item-name svelte-uaglt0");
			attr(div0, "class", "family-map__panel-rating-item-title-wrapper svelte-uaglt0");
			attr(p1, "class", "family-map__panel-rating-item-value svelte-uaglt0");
			attr(p1, "style", p1_style_value = `color: ${`rgba(${FAMILY_COLORS[/*item*/ ctx[28].color].join()}, 1)`}`);
			attr(div1, "class", "family-map__panel-rating-item svelte-uaglt0");
			attr(div1, "style", div1_style_value = `--backgroundColor: ${`rgba(${FAMILY_COLORS[/*item*/ ctx[28].color].join()}, 0.5)`}`);
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, img);
			append(div0, t0);
			append(div0, p0);
			append(p0, t1);
			append(div1, t2);
			append(div1, p1);
			append(p1, t3);
			append(p1, t4);
			append(p1, t5);
			append(p1, t6);
			append(div1, t7);
		},
		p(ctx, dirty) {
			if (dirty & /*territoryFamilies*/ 1 && !src_url_equal(img.src, img_src_value = MAP_ID_TO_FAMILY_LOGO[/*item*/ ctx[28].icon])) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*territoryFamilies*/ 1 && t1_value !== (t1_value = /*item*/ ctx[28].name + "")) set_data(t1, t1_value);
			if (dirty & /*territoryFamilies*/ 1 && t3_value !== (t3_value = /*item*/ ctx[28].count + "")) set_data(t3, t3_value);
			if (dirty & /*territoryFamilies*/ 1 && t5_value !== (t5_value = Math.round(/*item*/ ctx[28].percent * 100) + "")) set_data(t5, t5_value);

			if (dirty & /*territoryFamilies*/ 1 && p1_style_value !== (p1_style_value = `color: ${`rgba(${FAMILY_COLORS[/*item*/ ctx[28].color].join()}, 1)`}`)) {
				attr(p1, "style", p1_style_value);
			}

			if (dirty & /*territoryFamilies*/ 1 && div1_style_value !== (div1_style_value = `--backgroundColor: ${`rgba(${FAMILY_COLORS[/*item*/ ctx[28].color].join()}, 0.5)`}`)) {
				attr(div1, "style", div1_style_value);
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (2767:4) {#if !isEmpty($territoryNotification)}
function territory_war_index_svelte_create_if_block(ctx) {
	let notification;
	let current;
	notification = new notification_index_svelte({});

	return {
		c() {
			create_component(notification.$$.fragment);
		},
		m(target, anchor) {
			mount_component(notification, target, anchor);
			current = true;
		},
		i(local) {
			if (current) return;
			transition_in(notification.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(notification.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(notification, detaching);
		}
	};
}

function territory_war_index_svelte_create_fragment(ctx) {
	let div18;
	let div0;
	let t0;
	let div17;
	let div3;
	let img0;
	let img0_src_value;
	let t1;
	let img1;
	let img1_src_value;
	let t2;
	let div1;
	let t5;
	let div2;
	let t6_value = /*$bannerInfo*/ ctx[1].date + "";
	let t6;
	let t7;
	let div5;
	let p1;
	let t9;
	let div4;
	let t10;
	let div16;
	let t27;
	let show_if = !(0,lodash.isEmpty)(/*$territoryNotification*/ ctx[2]);
	let current;
	let mounted;
	let dispose;
	let each_value = /*territoryFamilies*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = territory_war_index_svelte_create_each_block(territory_war_index_svelte_get_each_context(ctx, each_value, i));
	}

	let if_block = show_if && territory_war_index_svelte_create_if_block(ctx);

	return {
		c() {
			div18 = internal_element("div");
			div0 = internal_element("div");
			t0 = space();
			div17 = internal_element("div");
			div3 = internal_element("div");
			img0 = internal_element("img");
			t1 = space();
			img1 = internal_element("img");
			t2 = space();
			div1 = internal_element("div");

			div1.innerHTML = `<i class="family-map__panel-reward-button-icon icon-family-trophy svelte-uaglt0"></i> 
                <p class="family-map__panel-button-title svelte-uaglt0">Награды</p>`;

			t5 = space();
			div2 = internal_element("div");
			t6 = internal_text(t6_value);
			t7 = space();
			div5 = internal_element("div");
			p1 = internal_element("p");
			p1.textContent = "Контроль территорий";
			t9 = space();
			div4 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t10 = space();
			div16 = internal_element("div");

			div16.innerHTML = `<p class="family-map__panel-hint-title svelte-uaglt0">Легенда</p> 
            <div class="family-map__panel-hint-item svelte-uaglt0"><div class="family-map__panel-hint-item-icon-wrapper svelte-uaglt0"><i class="family-map__panel-hint-item-icon family-map__panel-hint-item-icon--house icon-family-house svelte-uaglt0"></i></div> 
                <p class="family-map__panel-hint-item-title svelte-uaglt0">Семейный особняк</p></div> 
            <div class="family-map__panel-hint-item svelte-uaglt0"><div class="family-map__panel-hint-item-icon-wrapper svelte-uaglt0"><i class="family-map__panel-hint-item-icon icon-family-business svelte-uaglt0"></i></div> 
                <p class="family-map__panel-hint-item-title svelte-uaglt0">Бизнесы</p></div> 
            <div class="family-map__panel-hint-item svelte-uaglt0"><div class="family-map__panel-hint-item-icon-wrapper svelte-uaglt0"><i class="family-map__panel-hint-item-icon icon-family-business svelte-uaglt0"></i></div> 
                <p class="family-map__panel-hint-item-title svelte-uaglt0">АЗС</p></div> 
            <div class="family-map__panel-hint-item svelte-uaglt0"><div class="family-map__panel-hint-item-icon-wrapper family-map__panel-hint-item-icon-wrapper--rainbow svelte-uaglt0"><i class="family-map__panel-hint-item-icon svelte-uaglt0"></i></div> 
                <p class="family-map__panel-hint-item-title svelte-uaglt0">Занятая территория</p></div> 
            <div class="family-map__panel-hint-item svelte-uaglt0"><div class="family-map__panel-hint-item-icon-wrapper family-map__panel-hint-item-icon-wrapper--dark svelte-uaglt0"><i class="family-map__panel-hint-item-icon svelte-uaglt0"></i></div> 
                <p class="family-map__panel-hint-item-title svelte-uaglt0">Свободная территория</p></div>`;

			t27 = space();
			if (if_block) if_block.c();
			attr(div0, "id", "captureMap");
			attr(div0, "class", "family-map__capture-map svelte-uaglt0");
			attr(img0, "class", "family-map__panel-reward-background svelte-uaglt0");
			if (!src_url_equal(img0.src, img0_src_value = family_war_reward_bg_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "reward-background");
			attr(img1, "class", "family-map__panel-reward-title svelte-uaglt0");
			if (!src_url_equal(img1.src, img1_src_value = family_war_reward_title_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "title-img");
			attr(div1, "class", "family-map__panel-reward-button svelte-uaglt0");
			attr(div2, "class", "family-map__panel-reward-days svelte-uaglt0");
			attr(div3, "class", "family-map__panel-reward svelte-uaglt0");
			attr(p1, "class", "family-map__panel-rating-title svelte-uaglt0");
			attr(div4, "class", "family-map__panel-rating-list svelte-uaglt0");
			attr(div5, "class", "family-map__panel-rating svelte-uaglt0");
			attr(div16, "class", "family-map__panel-hint svelte-uaglt0");
			attr(div17, "class", "family-map__panel svelte-uaglt0");
			attr(div18, "class", "family-map svelte-uaglt0");
		},
		m(target, anchor) {
			insert(target, div18, anchor);
			append(div18, div0);
			append(div18, t0);
			append(div18, div17);
			append(div17, div3);
			append(div3, img0);
			append(div3, t1);
			append(div3, img1);
			append(div3, t2);
			append(div3, div1);
			append(div3, t5);
			append(div3, div2);
			append(div2, t6);
			append(div17, t7);
			append(div17, div5);
			append(div5, p1);
			append(div5, t9);
			append(div5, div4);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div4, null);
			}

			append(div17, t10);
			append(div17, div16);
			append(div18, t27);
			if (if_block) if_block.m(div18, null);
			current = true;

			if (!mounted) {
				dispose = listen(div1, "click", /*toRewards*/ ctx[3]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if ((!current || dirty & /*$bannerInfo*/ 2) && t6_value !== (t6_value = /*$bannerInfo*/ ctx[1].date + "")) set_data(t6, t6_value);

			if (dirty & /*FAMILY_COLORS, territoryFamilies, Math, MAP_ID_TO_FAMILY_LOGO*/ 1) {
				each_value = /*territoryFamilies*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = territory_war_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = territory_war_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div4, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if (dirty & /*$territoryNotification*/ 4) show_if = !(0,lodash.isEmpty)(/*$territoryNotification*/ ctx[2]);

			if (show_if) {
				if (if_block) {
					if (dirty & /*$territoryNotification*/ 4) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = territory_war_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(div18, null);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div18);
			destroy_each(each_blocks, detaching);
			if (if_block) if_block.d();
			mounted = false;
			dispose();
		}
	};
}

function territory_war_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedScreen;
	let $serverApiToken;
	let $serverApiServerId;
	let $polygonStylesCache;
	let $bannerInfo;
	let $territoryNotification;
	component_subscribe($$self, family_store_selectedScreen, $$value => $$invalidate(7, $selectedScreen = $$value));
	component_subscribe($$self, serverApiToken, $$value => $$invalidate(8, $serverApiToken = $$value));
	component_subscribe($$self, serverApiServerId, $$value => $$invalidate(9, $serverApiServerId = $$value));
	component_subscribe($$self, polygonStylesCache, $$value => $$invalidate(10, $polygonStylesCache = $$value));
	component_subscribe($$self, bannerInfo, $$value => $$invalidate(1, $bannerInfo = $$value));
	component_subscribe($$self, territoryNotification, $$value => $$invalidate(2, $territoryNotification = $$value));
	let map = null;
	let territoryOwners = [];
	let territoryUniqs = [];
	let territoryFamilies = [];
	const source = new source_Vector();

	const getColor = (owner = -3, type = 0, hovered = false) => {
		const colors = {
			fill: 'rgba(255, 255, 255}, 0)',
			stroke: 'rgba(255, 255, 255}, 0)'
		};

		if (owner === -3 && type === 0) {
			// blocked
			colors.fill = `rgba(${BLOCKED_COLOR.join()}, 0.35)`;

			colors.stroke = `rgba(${MANSION_COLOR.join()}, 0.1)`;
		} else if (owner === -2) {
			// uniq
			colors.fill = `rgba(${AVAILABLE_COLOR.join()}, ${hovered ? '0.8' : '0.0'})`;

			colors.stroke = `rgba(${MANSION_COLOR.join()}, ${hovered ? '0' : '0.03'})`;
		} else if (owner === -1 && type === 0) {
			// free
			colors.fill = `rgba(${AVAILABLE_COLOR.join()}, ${hovered ? '0.8' : '0.45'})`;

			colors.stroke = `rgba(${AVAILABLE_COLOR.join()}, ${hovered ? '1' : '0.5'})`;
		} else if (owner === -1 && type === 1) {
			// mansion
			colors.fill = `rgba(${MANSION_COLOR.join()}, ${hovered ? '0.8' : '0.45'})`;

			colors.stroke = `rgba(${MANSION_COLOR.join()}, ${hovered ? '1' : '0.1'})`;
		} else if (owner === -1 && type > 1) {
			// business
			colors.fill = `rgba(${BUSINESS_COLOR.join()}, ${hovered ? '0.65' : '0.35'})`;

			colors.stroke = `rgba(${BUSINESS_COLOR.join()}, ${hovered ? '1' : '0.3'})`;
		} else if (owner >= 0) {
			// family
			colors.fill = `rgba(${FAMILY_COLORS[owner].join()}, ${hovered ? '0.8' : '0.45'})`;

			colors.stroke = `rgba(${FAMILY_COLORS[owner].join()}, ${hovered ? '1' : '0.65'})`;
		}

		return colors;
	};

	const getPolygonStyle = (owner = -3, type = 0, hovered = false) => {
		const key = `family-${owner}-${type}-${hovered ? 'hovered' : 'default'}`;

		if ((0,lodash.isNil)($polygonStylesCache[key])) {
			const colors = getColor(owner, type, hovered);

			set_store_value(
				polygonStylesCache,
				$polygonStylesCache[key] = new style_Style({
						fill: new style_Fill({ color: colors.fill }),
						stroke: new style_Stroke({
								color: colors.stroke,
								width: owner >= 0 ? 4 : 2
							}),
						zIndex: 5
					}),
				$polygonStylesCache
			);
		}

		return $polygonStylesCache[key];
	};

	const polygonLayer = new Vector({
			source,
			renderBuffer: 1000,
			renderMode: 'image',
			style: feature => {
				let owner = feature.get('owner');

				if (owner >= 0) {
					const familyIndex = territoryFamilies.findIndex(family => family.id === owner);

					owner = familyIndex >= 0
					? territoryFamilies[familyIndex].color
					: -3;
				}

				const isHovered = feature.get('isHovered') || false;
				return getPolygonStyle(owner, 0, isHovered);
			}
		});

	const uniqSource = new source_Vector();

	const uniuqLayer = new Vector({
			source: uniqSource,
			renderBuffer: 1000,
			renderMode: 'image',
			style: feature => {
				let owner = feature.get('owner');

				if (owner >= 0) {
					const familyIndex = territoryFamilies.findIndex(family => family.id === owner);

					owner = familyIndex >= 0
					? territoryFamilies[familyIndex].color
					: -3;
				}

				const isHovered = feature.get('isHovered') || false;
				const type = feature.get('type');
				return getPolygonStyle(owner, type, isHovered);
			}
		});

	const toRewards = () => {
		sendClientMessage('family.toRewards');
	};

	const projection = new proj_Projection({
			code: 'pixels',
			units: 'pixels',
			extent: [0, -TILE_SIZE, TILE_SIZE, 0]
		});

	const view = new ol_View({
			center: INITIAL_CENTER,
			zoom: MIN_ZOOM,
			minZoom: MIN_ZOOM,
			maxZoom: MAX_ZOOM,
			projection,
			extent: VIEW_EXTENT,
			smoothExtentConstraint: false
		});

	const tileLayer = new layer_Tile({
			source: new source_XYZ({
					url: 'https://pc.rod-ins.com/resource/web/rodina/map/{z}/{x}/{y}.png',
					wrapX: false,
					projection,
					tileSize: TILE_SIZE
				}),
			extent: [0, -TILE_SIZE, TILE_SIZE, 0]
		});

	const getUniqIcon = type => {
		let icon = building_namespaceObject;

		if (type === 1) {
			icon = business_mansion_namespaceObject;
		} else if (type === 2) {
			icon = fuel_namespaceObject;
		}

		return icon;
	};

	const getIconSize = () => {
		const screenWidth = window.innerWidth;
		const size = 24;
		let scale = 1;
		if (view.getZoom() > 4) scale = 1.5;
		if (screenWidth >= 3840) return size * scale * 2;
		if (screenWidth >= 2560) return size * scale * 1.5;
		return size * scale;
	};

	const getUniqPolygonCoords = (point = [0, 0], width = 1, height = 1) => {
		const CELL_SIZE = 2.4;

		const newCoordinates = [
			[
				[point[0], point[1]],
				[point[0] + CELL_SIZE * width, point[1]],
				[point[0] + CELL_SIZE * width, point[1] - CELL_SIZE * height],
				[point[0], point[1] - CELL_SIZE * height]
			]
		];

		return newCoordinates;
	};

	const getTerritoryUniqs = () => {
		lib_axios.get(`${SERVER_API_URL}/client/json/table/get?project=${SERVER_API_PROJECT}&server=${$serverApiServerId}&key=fam_territory_uniq`, {
			headers: {
				Authorization: `Bearer ${$serverApiToken}`
			}
		}).then(response => {
			uniuqLayer.getSource().clear();
			territoryUniqs = response.data;

			territoryUniqs.forEach(item => {
				const polygonFeature = polygonLayer.getSource().getFeatureById(`pol-${item.idTopLeft}`);

				if (!(0,lodash.isNil)(polygonFeature)) {
					let owner = polygonFeature.get('owner');

					if (owner === -2) {
						owner = territoryOwners[item.id];
					}

					let topLeftCoords = polygonFeature.getGeometry().getCoordinates()[0];
					[topLeftCoords] = topLeftCoords;
					const newCoordinates = getUniqPolygonCoords(topLeftCoords, item.width, item.height);
					const uniqPolygon = new ol_Feature({ geometry: new geom_Polygon(newCoordinates) });

					if (item.type > 0) {
						const center = getCenter(uniqPolygon.getGeometry().getExtent());
						const iconFeature = new ol_Feature({ geometry: new geom_Point(center) });

						iconFeature.setStyle([
							new style_Style({
									image: new style_Icon({
											anchor: [0.5, 0.5],
											anchorXUnits: 'fraction',
											anchorYUnits: 'fraction',
											color: `rgba(${item.type === 1 ? MANSION_COLOR : BUSINESS_COLOR}, 1)`,
											src: getUniqIcon(item.type),
											width: getIconSize(),
											height: getIconSize()
										}),
									zIndex: 10
								})
						]);

						iconFeature.set('geometryType', FeatureTypes.Icon);
						iconFeature.set('iconSrc', getUniqIcon(item.type));
						uniqSource.addFeature(iconFeature);
					}

					uniqPolygon.setId(`pol-${item.id}`);
					uniqPolygon.set('geometryType', FeatureTypes.Polygon);
					uniqPolygon.set('isUniq', true);
					uniqPolygon.set('isHovered', false);
					uniqPolygon.set('owner', owner);
					uniqPolygon.set('type', item.type);
					uniqPolygon.set('index', item.id);
					uniqSource.addFeature(uniqPolygon);
				}

				const iconFeature = polygonLayer.getSource().getFeatureById(`icon-${item.idTopLeft}`);
				source.removeFeature(iconFeature);
			});
		}).catch(() => {
			
		}); // console.log('getTerritoryUniqs error', JSON.stringify(error));
	};

	const getTerritoryOwners = () => {
		lib_axios.get(`${SERVER_API_URL}/client/family/territory/getOwners?project=${SERVER_API_PROJECT}&server=${$serverApiServerId}`, {
			headers: {
				Authorization: `Bearer ${$serverApiToken}`
			}
		}).then(response => {
			polygonLayer.getSource().clear();
			territoryOwners = response.data;

			territoryOwners.forEach((item, index) => {
				let familyIndex;

				if (index >= 3600) {
					return;
				}

				const baseLon = 0;
				const lonStep = 2.4;
				const baseLat = 0;
				const latDelta = -2.4;
				const rowShift = -2.4;
				const lonStart = baseLon + index % 60 * lonStep;
				const lonEnd = lonStart + 2.4;
				const latStart = baseLat + Math.floor(index / 60) * rowShift;
				const latEnd = latStart + latDelta;

				const coords = [
					[lonStart, latStart],
					[lonEnd, latStart],
					[lonEnd, latEnd],
					[lonStart, latEnd]
				];

				const polygon = new ol_Feature({ geometry: new geom_Polygon([coords]) });

				if (item >= 0) {
					familyIndex = territoryFamilies.findIndex(family => family.id === item);
				}

				if (familyIndex >= 0) {
					const center = getCenter(polygon.getGeometry().getExtent());
					const iconFeature = new ol_Feature({ geometry: new geom_Point(center) });

					iconFeature.setStyle([
						new style_Style({
								image: new style_Icon({
										anchor: [0.5, 0.5],
										anchorXUnits: 'fraction',
										anchorYUnits: 'fraction',
										src: MAP_ID_TO_FAMILY_LOGO[territoryFamilies[familyIndex].icon],
										width: getIconSize(),
										height: getIconSize()
									}),
								zIndex: 10
							})
					]);

					iconFeature.setId(`icon-${index}`);
					iconFeature.set('geometryType', FeatureTypes.Icon);
					iconFeature.set('iconSrc', MAP_ID_TO_FAMILY_LOGO[territoryFamilies[familyIndex].icon]);
					source.addFeature(iconFeature);
				}

				polygon.set('index', index);
				polygon.set('owner', item);
				polygon.set('type', 0);
				polygon.setId(`pol-${index}`);
				polygon.set('isHovered', false);
				polygon.set('geometryType', FeatureTypes.Polygon);
				source.addFeature(polygon);
			});

			getTerritoryUniqs();
		}).catch(() => {
			
		}); // console.log('getTerritoryOwners error', JSON.stringify(error));
	};

	const getTerritoryFamilies = () => {
		lib_axios.get(`${SERVER_API_URL}/client/family/territory/getFamilies?project=${SERVER_API_PROJECT}&server=${$serverApiServerId}`, {
			headers: {
				Authorization: `Bearer ${$serverApiToken}`
			}
		}).then(response => {
			$$invalidate(0, territoryFamilies = response.data);
			getTerritoryOwners();
		}).catch(() => {
			
		}); // console.log('getTerritoryFamilies error', JSON.stringify(error));
	};

	onMount(() => {
		map = new ol_Map({
				target: 'captureMap',
				controls: [],
				layers: [tileLayer, polygonLayer, uniuqLayer],
				view
			});

		let lastHoveredFeature = null;

		map.on('pointermove', event => {
			const hoveredFeature = map.forEachFeatureAtPixel(event.pixel, feature => feature, { hitTolerance: 10 });

			if ((0,lodash.isNil)(hoveredFeature)) {
				return;
			}

			if (lastHoveredFeature && hoveredFeature.get('geometryType') === FeatureTypes.Polygon) {
				lastHoveredFeature.set('isHovered', false);
				lastHoveredFeature = null;
			}

			if (hoveredFeature && hoveredFeature.get('geometryType') === FeatureTypes.Polygon) {
				hoveredFeature.set('isHovered', true);
				lastHoveredFeature = hoveredFeature;
			}
		});

		map.on('click', event => {
			const clickedFeature = map.forEachFeatureAtPixel(event.pixel, feature => {
				const value = feature.get('owner') > -2 ? feature : null;
				return value;
			});

			if (clickedFeature) {
				sendClientMessage('family.territoryWar.polygonClick', clickedFeature.get('index'));
			}
		});

		view.on('change:resolution', () => {
			source.forEachFeature(feature => {
				if (feature.get('geometryType') === FeatureTypes.Icon) {
					feature.setStyle(new style_Style({
							image: new style_Icon({
									anchor: [0.5, 0.5],
									anchorXUnits: 'fraction',
									anchorYUnits: 'fraction',
									src: feature.get('iconSrc'),
									width: getIconSize(),
									height: getIconSize()
								}),
							zIndex: 10
						}));
				}
			});

			uniqSource.forEachFeature(feature => {
				if (feature.get('geometryType') === FeatureTypes.Icon) {
					feature.setStyle(new style_Style({
							image: new style_Icon({
									anchor: [0.5, 0.5],
									anchorXUnits: 'fraction',
									anchorYUnits: 'fraction',
									src: feature.get('iconSrc'),
									width: getIconSize(),
									height: getIconSize()
								}),
							zIndex: 10
						}));
				}
			});
		});

		getTerritoryFamilies();
		sendClientMessage('family.selectedScreen', $selectedScreen);
	});

	const refresh = () => {
		getTerritoryFamilies();
	};

	const unregisterRefreshEvent = registerEvent('family.territoryWar.refresh', refresh);

	onDestroy(() => {
		unregisterRefreshEvent();
	});

	return [territoryFamilies, $bannerInfo, $territoryNotification, toRewards];
}

class Territory_war extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, territory_war_index_svelte_instance, territory_war_index_svelte_create_fragment, safe_not_equal, {}, territory_war_index_svelte_add_css);
	}
}

/* harmony default export */ const territory_war_index_svelte = (Territory_war);
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/coin-shop-bg.png
const coin_shop_bg_namespaceObject = __webpack_require__.p + "assets/1911adfd428c14041c86.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/family/az-coin.svg
const az_coin_namespaceObject = __webpack_require__.p + "assets/833671c7224da7930351.svg";
;// CONCATENATED MODULE: ./src/views/phone/apps/family/components/coins-shop/index.svelte
/* src\views\phone\apps\family\components\coins-shop\index.svelte generated by Svelte v3.49.0 */














function coins_shop_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[19] = list[i];
	return child_ctx;
}

function coins_shop_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[22] = list[i];
	return child_ctx;
}

// (89:12) {#each COINS_TABS as tab}
function coins_shop_index_svelte_create_each_block_1(ctx) {
	let div1;
	let p0;
	let t0_value = /*tab*/ ctx[22].title + "";
	let t0;
	let t1;
	let div0;
	let img0;
	let img0_src_value;
	let t2;
	let p1;
	let t3_value = MAP_ID_TO_COINS_STATS[/*tab*/ ctx[22].id].getCoins + "";
	let t3;
	let t4;
	let p2;
	let t6;
	let img1;
	let img1_src_value;
	let t7;
	let p3;
	let t8_value = MAP_ID_TO_COINS_STATS[/*tab*/ ctx[22].id].needAzCoins + "";
	let t8;
	let t9;
	let mounted;
	let dispose;

	function click_handler_1() {
		return /*click_handler_1*/ ctx[13](/*tab*/ ctx[22]);
	}

	return {
		c() {
			div1 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			div0 = internal_element("div");
			img0 = internal_element("img");
			t2 = space();
			p1 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = space();
			p2 = internal_element("p");
			p2.textContent = "=";
			t6 = space();
			img1 = internal_element("img");
			t7 = space();
			p3 = internal_element("p");
			t8 = internal_text(t8_value);
			t9 = space();
			attr(p0, "class", "family-coins-shop__panel-switch-title");
			attr(img0, "class", "family-coins-shop__panel-switch-exchange-icon");
			if (!src_url_equal(img0.src, img0_src_value = MAP_ID_TO_COINS_STATS[/*tab*/ ctx[22].id].image)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "coin-img");
			attr(p1, "class", "family-coins-shop__panel-switch-exchange-value");
			attr(p2, "class", "family-coins-shop__panel-switch-exchange-decoration");
			attr(img1, "class", "family-coins-shop__panel-switch-exchange-icon");
			if (!src_url_equal(img1.src, img1_src_value = az_coin_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "coin-img");
			attr(p3, "class", "family-coins-shop__panel-switch-exchange-value");
			attr(div0, "class", "family-coins-shop__panel-switch-exchange");
			attr(div1, "class", "family-coins-shop__panel-switch");
			toggle_class(div1, "family-coins-shop__panel-switch--selected", /*tab*/ ctx[22].id === /*selectedTabId*/ ctx[0]);
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, p0);
			append(p0, t0);
			append(div1, t1);
			append(div1, div0);
			append(div0, img0);
			append(div0, t2);
			append(div0, p1);
			append(p1, t3);
			append(div0, t4);
			append(div0, p2);
			append(div0, t6);
			append(div0, img1);
			append(div0, t7);
			append(div0, p3);
			append(p3, t8);
			append(div1, t9);

			if (!mounted) {
				dispose = listen(div1, "click", click_handler_1);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*COINS_TABS, selectedTabId*/ 1) {
				toggle_class(div1, "family-coins-shop__panel-switch--selected", /*tab*/ ctx[22].id === /*selectedTabId*/ ctx[0]);
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			mounted = false;
			dispose();
		}
	};
}

// (146:20) {#each INCREASE_LIST as item}
function coins_shop_index_svelte_create_each_block(ctx) {
	let div;
	let p;
	let t0;
	let t1_value = /*item*/ ctx[19].value + "";
	let t1;
	let t2;
	let mounted;
	let dispose;

	function click_handler_4() {
		return /*click_handler_4*/ ctx[16](/*item*/ ctx[19]);
	}

	return {
		c() {
			div = internal_element("div");
			p = internal_element("p");
			t0 = internal_text("x");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(p, "class", "family-coins-shop__panel-input-button-increase-title");
			attr(div, "class", "family-coins-shop__panel-input-button-increase");
			toggle_class(div, "family-coins-shop__panel-input-button-increase--selected", /*item*/ ctx[19].value === /*selectedIncreaseValue*/ ctx[2]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p);
			append(p, t0);
			append(p, t1);
			append(div, t2);

			if (!mounted) {
				dispose = listen(div, "click", click_handler_4);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*INCREASE_LIST, selectedIncreaseValue*/ 4) {
				toggle_class(div, "family-coins-shop__panel-input-button-increase--selected", /*item*/ ctx[19].value === /*selectedIncreaseValue*/ ctx[2]);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

function coins_shop_index_svelte_create_fragment(ctx) {
	let div0;
	let t0;
	let div14;
	let div1;
	let exitbutton;
	let t1;
	let img0;
	let img0_src_value;
	let t2;
	let div13;
	let div3;
	let p0;
	let t6;
	let div2;
	let p1;
	let t7_value = formatMoney(/*$family*/ ctx[4].azCoin) + "";
	let t7;
	let t8;
	let img1;
	let img1_src_value;
	let t9;
	let div4;
	let t10;
	let div8;
	let p2;
	let t12;
	let div7;
	let div5;
	let i0;
	let t13;
	let p3;
	let t14_value = formatMoney(/*exchangeCoinsValue*/ ctx[1]) + "";
	let t14;
	let t15;
	let i1;
	let t16;
	let img2;
	let img2_src_value;
	let t17;
	let div6;
	let t18;
	let div12;
	let p4;
	let t20;
	let div11;
	let div9;
	let p5;
	let t21_value = formatMoney(Math.round(/*resultValue*/ ctx[3])) + "";
	let t21;
	let t22;
	let img3;
	let img3_src_value;
	let t23;
	let div10;
	let current;
	let mounted;
	let dispose;

	exitbutton = new exit_button_index_svelte({
			props: { onClick: /*func*/ ctx[12], title: "" }
		});

	let each_value_1 = COINS_TABS;
	let each_blocks_1 = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks_1[i] = coins_shop_index_svelte_create_each_block_1(coins_shop_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	let each_value = INCREASE_LIST;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = coins_shop_index_svelte_create_each_block(coins_shop_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div0 = internal_element("div");
			t0 = space();
			div14 = internal_element("div");
			div1 = internal_element("div");
			create_component(exitbutton.$$.fragment);
			t1 = space();
			img0 = internal_element("img");
			t2 = space();
			div13 = internal_element("div");
			div3 = internal_element("div");
			p0 = internal_element("p");
			p0.innerHTML = `Покупка <br/> семейных <br/> монет`;
			t6 = space();
			div2 = internal_element("div");
			p1 = internal_element("p");
			t7 = internal_text(t7_value);
			t8 = space();
			img1 = internal_element("img");
			t9 = space();
			div4 = internal_element("div");

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].c();
			}

			t10 = space();
			div8 = internal_element("div");
			p2 = internal_element("p");
			p2.textContent = "Потратите:";
			t12 = space();
			div7 = internal_element("div");
			div5 = internal_element("div");
			i0 = internal_element("i");
			t13 = space();
			p3 = internal_element("p");
			t14 = internal_text(t14_value);
			t15 = space();
			i1 = internal_element("i");
			t16 = space();
			img2 = internal_element("img");
			t17 = space();
			div6 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t18 = space();
			div12 = internal_element("div");
			p4 = internal_element("p");
			p4.textContent = "Получите:";
			t20 = space();
			div11 = internal_element("div");
			div9 = internal_element("div");
			p5 = internal_element("p");
			t21 = internal_text(t21_value);
			t22 = space();
			img3 = internal_element("img");
			t23 = space();
			div10 = internal_element("div");
			div10.innerHTML = `<p class="family-coins-shop__panel-result-button-exchange-title">обменять</p>`;
			attr(div0, "class", "family-coins-shop__wrapper");
			attr(div1, "class", "family-coins-shop__close-button");
			attr(img0, "class", "family-coins-shop__background-img");
			if (!src_url_equal(img0.src, img0_src_value = coin_shop_bg_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "coin-shop-background");
			attr(p0, "class", "family-coins-shop__panel-title-text");
			attr(p1, "class", "family-coins-shop__panel-title-coin-value");
			attr(img1, "class", "family-coins-shop__panel-title-coin-img");
			if (!src_url_equal(img1.src, img1_src_value = az_coin_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "az-coin-img");
			attr(div2, "class", "family-coins-shop__panel-title-coin");
			attr(div3, "class", "family-coins-shop__panel-title");
			attr(div4, "class", "family-coins-shop__panel-switches");
			attr(p2, "class", "family-coins-shop__panel-input-title");
			attr(i0, "class", "family-coins-shop__panel-input-button-value-icon icon-family-minus");
			attr(p3, "class", "family-coins-shop__panel-input-button-value-number");
			attr(i1, "class", "family-coins-shop__panel-input-button-value-icon icon-family-add");
			attr(img2, "class", "family-coins-shop__panel-input-button-value-img");
			if (!src_url_equal(img2.src, img2_src_value = az_coin_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "coin-img");
			attr(div5, "class", "family-coins-shop__panel-input-button-value");
			attr(div6, "class", "family-coins-shop__panel-input-button-increases");
			attr(div7, "class", "family-coins-shop__panel-input-button");
			attr(div8, "class", "family-coins-shop__panel-input");
			attr(p4, "class", "family-coins-shop__panel-result-title");
			attr(p5, "class", "family-coins-shop__panel-result-button-value");
			attr(img3, "class", "family-coins-shop__panel-result-button-value-img");
			if (!src_url_equal(img3.src, img3_src_value = MAP_ID_TO_COINS_STATS[/*selectedTabId*/ ctx[0]].image)) attr(img3, "src", img3_src_value);
			attr(img3, "alt", "coin-img");
			attr(div9, "class", "family-coins-shop__panel-result-button-value-wrapper");
			attr(div10, "class", "family-coins-shop__panel-result-button-exchange");
			attr(div11, "class", "family-coins-shop__panel-result-button");
			attr(div12, "class", "family-coins-shop__panel-result");
			attr(div13, "class", "family-coins-shop__panel");
			attr(div14, "class", "family-coins-shop");
		},
		m(target, anchor) {
			insert(target, div0, anchor);
			insert(target, t0, anchor);
			insert(target, div14, anchor);
			append(div14, div1);
			mount_component(exitbutton, div1, null);
			append(div14, t1);
			append(div14, img0);
			append(div14, t2);
			append(div14, div13);
			append(div13, div3);
			append(div3, p0);
			append(div3, t6);
			append(div3, div2);
			append(div2, p1);
			append(p1, t7);
			append(div2, t8);
			append(div2, img1);
			append(div13, t9);
			append(div13, div4);

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].m(div4, null);
			}

			append(div13, t10);
			append(div13, div8);
			append(div8, p2);
			append(div8, t12);
			append(div8, div7);
			append(div7, div5);
			append(div5, i0);
			append(div5, t13);
			append(div5, p3);
			append(p3, t14);
			append(div5, t15);
			append(div5, i1);
			append(div5, t16);
			append(div5, img2);
			append(div7, t17);
			append(div7, div6);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div6, null);
			}

			append(div13, t18);
			append(div13, div12);
			append(div12, p4);
			append(div12, t20);
			append(div12, div11);
			append(div11, div9);
			append(div9, p5);
			append(p5, t21);
			append(div9, t22);
			append(div9, img3);
			append(div11, t23);
			append(div11, div10);
			current = true;

			if (!mounted) {
				dispose = [
					listen(div0, "click", /*click_handler*/ ctx[11]),
					listen(i0, "click", /*click_handler_2*/ ctx[14]),
					listen(i1, "click", /*click_handler_3*/ ctx[15]),
					listen(div10, "click", /*exchangeCoins*/ ctx[9])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if ((!current || dirty & /*$family*/ 16) && t7_value !== (t7_value = formatMoney(/*$family*/ ctx[4].azCoin) + "")) set_data(t7, t7_value);

			if (dirty & /*COINS_TABS, selectedTabId, selectTab, MAP_ID_TO_COINS_STATS, AZCoin*/ 33) {
				each_value_1 = COINS_TABS;
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = coins_shop_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks_1[i]) {
						each_blocks_1[i].p(child_ctx, dirty);
					} else {
						each_blocks_1[i] = coins_shop_index_svelte_create_each_block_1(child_ctx);
						each_blocks_1[i].c();
						each_blocks_1[i].m(div4, null);
					}
				}

				for (; i < each_blocks_1.length; i += 1) {
					each_blocks_1[i].d(1);
				}

				each_blocks_1.length = each_value_1.length;
			}

			if ((!current || dirty & /*exchangeCoinsValue*/ 2) && t14_value !== (t14_value = formatMoney(/*exchangeCoinsValue*/ ctx[1]) + "")) set_data(t14, t14_value);

			if (dirty & /*INCREASE_LIST, selectedIncreaseValue, selectValue*/ 132) {
				each_value = INCREASE_LIST;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = coins_shop_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = coins_shop_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div6, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if ((!current || dirty & /*resultValue*/ 8) && t21_value !== (t21_value = formatMoney(Math.round(/*resultValue*/ ctx[3])) + "")) set_data(t21, t21_value);

			if (!current || dirty & /*selectedTabId*/ 1 && !src_url_equal(img3.src, img3_src_value = MAP_ID_TO_COINS_STATS[/*selectedTabId*/ ctx[0]].image)) {
				attr(img3, "src", img3_src_value);
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div0);
			if (detaching) detach(t0);
			if (detaching) detach(div14);
			destroy_component(exitbutton);
			destroy_each(each_blocks_1, detaching);
			destroy_each(each_blocks, detaching);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function coins_shop_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedScreen;
	let $selectedCoinId;
	let $family;
	component_subscribe($$self, family_store_selectedScreen, $$value => $$invalidate(17, $selectedScreen = $$value));
	component_subscribe($$self, selectedCoinId, $$value => $$invalidate(18, $selectedCoinId = $$value));
	component_subscribe($$self, family, $$value => $$invalidate(4, $family = $$value));
	let selectedTabId = 'bulletCoin';
	let selectedNeedAzCoins = 0;
	let selectedIncreaseValue = 10;
	let exchangeCoinsValue = 0;
	let resultValue;

	const selectTab = id => {
		$$invalidate(0, selectedTabId = id);
	};

	const increaseValue = (value, action) => {
		if (action === '-' && exchangeCoinsValue >= value) {
			$$invalidate(1, exchangeCoinsValue -= value);
		} else if (action === '+') {
			$$invalidate(1, exchangeCoinsValue += value);
		}
	};

	const selectValue = value => {
		$$invalidate(2, selectedIncreaseValue = value);
	};

	const closeShop = id => {
		set_store_value(selectedCoinId, $selectedCoinId = id, $selectedCoinId);
		sendClientMessage('family.closeCoinsShop');
	};

	const exchangeCoins = () => {
		sendClientMessage('family.exchangeCoins', selectedTabId, resultValue);
	};

	onMount(() => {
		$$invalidate(0, selectedTabId = $selectedCoinId);
		sendClientMessage('family.selectedScreen', $selectedScreen);
	});

	const click_handler = () => closeShop(CoinsId.None);
	const func = () => closeShop(CoinsId.None);
	const click_handler_1 = tab => selectTab(tab.id);
	const click_handler_2 = () => increaseValue(selectedIncreaseValue, '-');
	const click_handler_3 = () => increaseValue(selectedIncreaseValue, '+');
	const click_handler_4 = item => selectValue(item.value);

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*selectedTabId, exchangeCoinsValue, selectedNeedAzCoins*/ 1027) {
			$: {
				$$invalidate(10, selectedNeedAzCoins = MAP_ID_TO_COINS_STATS[selectedTabId].needAzCoins);
				$$invalidate(3, resultValue = exchangeCoinsValue / selectedNeedAzCoins);
			}
		}
	};

	return [
		selectedTabId,
		exchangeCoinsValue,
		selectedIncreaseValue,
		resultValue,
		$family,
		selectTab,
		increaseValue,
		selectValue,
		closeShop,
		exchangeCoins,
		selectedNeedAzCoins,
		click_handler,
		func,
		click_handler_1,
		click_handler_2,
		click_handler_3,
		click_handler_4
	];
}

class Coins_shop extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, coins_shop_index_svelte_instance, coins_shop_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const coins_shop_index_svelte = (Coins_shop);
;// CONCATENATED MODULE: ./src/views/phone/apps/family/components-map.js
var _MAP_SCREEN_TO_COMPON;
function family_components_map_typeof(o) { "@babel/helpers - typeof"; return family_components_map_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, family_components_map_typeof(o); }
function family_components_map_defineProperty(e, r, t) { return (r = family_components_map_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function family_components_map_toPropertyKey(t) { var i = family_components_map_toPrimitive(t, "string"); return "symbol" == family_components_map_typeof(i) ? i : i + ""; }
function family_components_map_toPrimitive(t, r) { if ("object" != family_components_map_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != family_components_map_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }

















var family_components_map_MAP_SCREEN_TO_COMPONENT = (_MAP_SCREEN_TO_COMPON = {}, family_components_map_defineProperty(family_components_map_defineProperty(family_components_map_defineProperty(family_components_map_defineProperty(family_components_map_defineProperty(family_components_map_defineProperty(family_components_map_defineProperty(family_components_map_defineProperty(family_components_map_defineProperty(family_components_map_defineProperty(_MAP_SCREEN_TO_COMPON, family_constants_Screens.MainMenu, main_menu_index_svelte), family_constants_Screens.Information, information_index_svelte), family_constants_Screens.Members, components_members_index_svelte), family_constants_Screens.Ownership, ownership_index_svelte), family_constants_Screens.Diplomacy, diplomacy_index_svelte), family_constants_Screens.Improves, improves_index_svelte), family_constants_Screens.Activity, activity_index_svelte), family_constants_Screens.Shop, shop_index_svelte), family_constants_Screens.RatingList, rating_list_index_svelte), family_constants_Screens.RatingReward, rating_reward_index_svelte), family_components_map_defineProperty(family_components_map_defineProperty(family_components_map_defineProperty(family_components_map_defineProperty(_MAP_SCREEN_TO_COMPON, family_constants_Screens.FamilyMatters, family_matters_index_svelte), family_constants_Screens.CreateFamily, create_family_index_svelte), family_constants_Screens.FamilyList, family_list_index_svelte), family_constants_Screens.TerritoryWar, territory_war_index_svelte));
var MAP_COIN_TO_COMPONENT = family_components_map_defineProperty(family_components_map_defineProperty({}, CoinsId.BulletCoin, coins_shop_index_svelte), CoinsId.ReputationCoin, coins_shop_index_svelte);
;// CONCATENATED MODULE: ./src/views/phone/apps/family/index.svelte
/* src\views\phone\apps\family\index.svelte generated by Svelte v3.49.0 */















function family_index_svelte_create_if_block(ctx) {
	let div1;
	let div0;
	let show_if_1 = !(0,lodash.isEmpty)(/*$selectedScreen*/ ctx[1]);
	let t0;
	let t1;
	let show_if = !/*isHidden*/ ctx[4]();
	let if_block0 = show_if_1 && family_index_svelte_create_if_block_3(ctx);
	let if_block1 = constants_MAP_SCREEN_TO_TITLE[/*$selectedScreen*/ ctx[1]] && family_index_svelte_create_if_block_2(ctx);
	let if_block2 = show_if && family_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			if (if_block1) if_block1.c();
			t1 = space();
			if (if_block2) if_block2.c();
			attr(div0, "class", "family__title-wrapper");
			attr(div1, "class", "family__header");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			if (if_block0) if_block0.m(div0, null);
			append(div0, t0);
			if (if_block1) if_block1.m(div0, null);
			append(div1, t1);
			if (if_block2) if_block2.m(div1, null);
		},
		p(ctx, dirty) {
			if (dirty & /*$selectedScreen*/ 2) show_if_1 = !(0,lodash.isEmpty)(/*$selectedScreen*/ ctx[1]);

			if (show_if_1) {
				if (if_block0) {
					if_block0.p(ctx, dirty);

					if (dirty & /*$selectedScreen*/ 2) {
						transition_in(if_block0, 1);
					}
				} else {
					if_block0 = family_index_svelte_create_if_block_3(ctx);
					if_block0.c();
					transition_in(if_block0, 1);
					if_block0.m(div0, t0);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (constants_MAP_SCREEN_TO_TITLE[/*$selectedScreen*/ ctx[1]]) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = family_index_svelte_create_if_block_2(ctx);
					if_block1.c();
					if_block1.m(div0, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (show_if) if_block2.p(ctx, dirty);
		},
		i(local) {
			transition_in(if_block0);
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			if (if_block2) if_block2.d();
		}
	};
}

// (39:16) {#if !isEmpty($selectedScreen)}
function family_index_svelte_create_if_block_3(ctx) {
	let i;
	let i_intro;
	let mounted;
	let dispose;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "family__back icon-chevron-left");
		},
		m(target, anchor) {
			insert(target, i, anchor);

			if (!mounted) {
				dispose = listen(i, "click", /*back*/ ctx[5]);
				mounted = true;
			}
		},
		p: internal_noop,
		i(local) {
			if (!i_intro) {
				add_render_callback(() => {
					i_intro = create_in_transition(i, fade, {});
					i_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(i);
			mounted = false;
			dispose();
		}
	};
}

// (46:16) {#if MAP_SCREEN_TO_TITLE[$selectedScreen]}
function family_index_svelte_create_if_block_2(ctx) {
	let div;

	let t_value = (!(0,lodash.isEmpty)(/*$ratingReward*/ ctx[2]) && /*$selectedScreen*/ ctx[1] === family_constants_Screens.RatingReward
	? /*$ratingReward*/ ctx[2].name
	: constants_MAP_SCREEN_TO_TITLE[/*$selectedScreen*/ ctx[1]]) + "";

	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "family__title");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*$ratingReward, $selectedScreen*/ 6 && t_value !== (t_value = (!(0,lodash.isEmpty)(/*$ratingReward*/ ctx[2]) && /*$selectedScreen*/ ctx[1] === family_constants_Screens.RatingReward
			? /*$ratingReward*/ ctx[2].name
			: constants_MAP_SCREEN_TO_TITLE[/*$selectedScreen*/ ctx[1]]) + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (52:12) {#if !isHidden()}
function family_index_svelte_create_if_block_1(ctx) {
	let div4;
	let div1;
	let p0;
	let t0_value = formatMoney(/*$family*/ ctx[3].reputationCoin) + "";
	let t0;
	let t1;
	let img0;
	let img0_src_value;
	let t2;
	let div0;
	let t3;
	let div3;
	let p1;
	let t4_value = formatMoney(/*$family*/ ctx[3].bulletCoin) + "";
	let t4;
	let t5;
	let img1;
	let img1_src_value;
	let t6;
	let div2;
	let mounted;
	let dispose;

	return {
		c() {
			div4 = internal_element("div");
			div1 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			img0 = internal_element("img");
			t2 = space();
			div0 = internal_element("div");
			div0.innerHTML = `<i class="family__coin-button-icon icon-family-plus"></i>`;
			t3 = space();
			div3 = internal_element("div");
			p1 = internal_element("p");
			t4 = internal_text(t4_value);
			t5 = space();
			img1 = internal_element("img");
			t6 = space();
			div2 = internal_element("div");
			div2.innerHTML = `<i class="family__coin-button-icon icon-family-plus"></i>`;
			attr(p0, "class", "family__coin-title");
			attr(img0, "class", "family__coin-img");
			if (!src_url_equal(img0.src, img0_src_value = rep_coin_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "rep-coin");
			attr(div0, "class", "family__coin-button");
			attr(div1, "class", "family__coin");
			attr(p1, "class", "family__coin-title");
			attr(img1, "class", "family__coin-img");
			if (!src_url_equal(img1.src, img1_src_value = bullet_coin_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "bullet-coin");
			attr(div2, "class", "family__coin-button");
			attr(div3, "class", "family__coin");
			attr(div4, "class", "family__coins");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div1);
			append(div1, p0);
			append(p0, t0);
			append(div1, t1);
			append(div1, img0);
			append(div1, t2);
			append(div1, div0);
			append(div4, t3);
			append(div4, div3);
			append(div3, p1);
			append(p1, t4);
			append(div3, t5);
			append(div3, img1);
			append(div3, t6);
			append(div3, div2);

			if (!mounted) {
				dispose = [
					listen(div0, "click", /*click_handler*/ ctx[7]),
					listen(div2, "click", /*click_handler_1*/ ctx[8])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*$family*/ 8 && t0_value !== (t0_value = formatMoney(/*$family*/ ctx[3].reputationCoin) + "")) set_data(t0, t0_value);
			if (dirty & /*$family*/ 8 && t4_value !== (t4_value = formatMoney(/*$family*/ ctx[3].bulletCoin) + "")) set_data(t4, t4_value);
		},
		d(detaching) {
			if (detaching) detach(div4);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function family_index_svelte_create_fragment(ctx) {
	let div1;
	let t0;
	let switch_instance0;
	let t1;
	let div0;
	let switch_instance1;
	let current;
	let if_block = /*$selectedScreen*/ ctx[1] !== family_constants_Screens.FamilyMatters && family_index_svelte_create_if_block(ctx);
	var switch_value = family_components_map_MAP_SCREEN_TO_COMPONENT[/*$selectedScreen*/ ctx[1]];

	function switch_props(ctx) {
		return {};
	}

	if (switch_value) {
		switch_instance0 = new switch_value(switch_props(ctx));
	}

	var switch_value_1 = MAP_COIN_TO_COMPONENT[/*$selectedCoinId*/ ctx[0]];

	function switch_props_1(ctx) {
		return {};
	}

	if (switch_value_1) {
		switch_instance1 = new switch_value_1(switch_props_1(ctx));
	}

	return {
		c() {
			div1 = internal_element("div");
			if (if_block) if_block.c();
			t0 = space();
			if (switch_instance0) create_component(switch_instance0.$$.fragment);
			t1 = space();
			div0 = internal_element("div");
			if (switch_instance1) create_component(switch_instance1.$$.fragment);
			attr(div0, "class", "family__coin-screen");
			toggle_class(div0, "family__coin-screen--notDisplay", /*$selectedCoinId*/ ctx[0] === '');
			attr(div1, "class", "family");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			if (if_block) if_block.m(div1, null);
			append(div1, t0);

			if (switch_instance0) {
				mount_component(switch_instance0, div1, null);
			}

			append(div1, t1);
			append(div1, div0);

			if (switch_instance1) {
				mount_component(switch_instance1, div0, null);
			}

			current = true;
		},
		p(ctx, [dirty]) {
			if (/*$selectedScreen*/ ctx[1] !== family_constants_Screens.FamilyMatters) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*$selectedScreen*/ 2) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = family_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(div1, t0);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (switch_value !== (switch_value = family_components_map_MAP_SCREEN_TO_COMPONENT[/*$selectedScreen*/ ctx[1]])) {
				if (switch_instance0) {
					group_outros();
					const old_component = switch_instance0;

					transition_out(old_component.$$.fragment, 1, 0, () => {
						destroy_component(old_component, 1);
					});

					check_outros();
				}

				if (switch_value) {
					switch_instance0 = new switch_value(switch_props(ctx));
					create_component(switch_instance0.$$.fragment);
					transition_in(switch_instance0.$$.fragment, 1);
					mount_component(switch_instance0, div1, t1);
				} else {
					switch_instance0 = null;
				}
			} else if (switch_value) {
				
			}

			if (switch_value_1 !== (switch_value_1 = MAP_COIN_TO_COMPONENT[/*$selectedCoinId*/ ctx[0]])) {
				if (switch_instance1) {
					group_outros();
					const old_component = switch_instance1;

					transition_out(old_component.$$.fragment, 1, 0, () => {
						destroy_component(old_component, 1);
					});

					check_outros();
				}

				if (switch_value_1) {
					switch_instance1 = new switch_value_1(switch_props_1(ctx));
					create_component(switch_instance1.$$.fragment);
					transition_in(switch_instance1.$$.fragment, 1);
					mount_component(switch_instance1, div0, null);
				} else {
					switch_instance1 = null;
				}
			} else if (switch_value_1) {
				
			}

			if (dirty & /*$selectedCoinId*/ 1) {
				toggle_class(div0, "family__coin-screen--notDisplay", /*$selectedCoinId*/ ctx[0] === '');
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			if (switch_instance0) transition_in(switch_instance0.$$.fragment, local);
			if (switch_instance1) transition_in(switch_instance1.$$.fragment, local);
			current = true;
		},
		o(local) {
			if (switch_instance0) transition_out(switch_instance0.$$.fragment, local);
			if (switch_instance1) transition_out(switch_instance1.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			if (if_block) if_block.d();
			if (switch_instance0) destroy_component(switch_instance0);
			if (switch_instance1) destroy_component(switch_instance1);
		}
	};
}

function family_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedCoinId;
	let $selectedScreen;
	let $ratingReward;
	let $family;
	component_subscribe($$self, selectedCoinId, $$value => $$invalidate(0, $selectedCoinId = $$value));
	component_subscribe($$self, family_store_selectedScreen, $$value => $$invalidate(1, $selectedScreen = $$value));
	component_subscribe($$self, ratingReward, $$value => $$invalidate(2, $ratingReward = $$value));
	component_subscribe($$self, family, $$value => $$invalidate(3, $family = $$value));
	const isHidden = () => $selectedScreen === family_constants_Screens.CreateFamily || $selectedScreen === family_constants_Screens.FamilyList;

	const back = () => {
		set_store_value(family_store_selectedScreen, $selectedScreen = isHidden() ? family_constants_Screens.FamilyMatters : family_constants_Screens.MainMenu, $selectedScreen);
	};

	const buyCoins = coinId => {
		set_store_value(selectedCoinId, $selectedCoinId = coinId, $selectedCoinId);
	};

	onDestroy(() => {
		sendClientMessage('family.close');
	});

	const click_handler = () => buyCoins(CoinsId.ReputationCoin);
	const click_handler_1 = () => buyCoins(CoinsId.BulletCoin);

	return [
		$selectedCoinId,
		$selectedScreen,
		$ratingReward,
		$family,
		isHidden,
		back,
		buyCoins,
		click_handler,
		click_handler_1
	];
}

class Family extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, family_index_svelte_instance, family_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const family_index_svelte = (Family);
;// CONCATENATED MODULE: ./src/views/phone/apps/muzify/store.js
function muzify_store_toConsumableArray(r) { return muzify_store_arrayWithoutHoles(r) || muzify_store_iterableToArray(r) || muzify_store_unsupportedIterableToArray(r) || muzify_store_nonIterableSpread(); }
function muzify_store_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 muzify_store_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return muzify_store_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? muzify_store_arrayLikeToArray(r, a) : void 0; } }
function muzify_store_iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
function muzify_store_arrayWithoutHoles(r) { if (Array.isArray(r)) return muzify_store_arrayLikeToArray(r); }
function muzify_store_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }


var premium = writable(false);
var searchQuery = writable('');
var favorites = writable([]);
var currentSong = writable({});
var playerOptions = writable({
  pause: true
});
var paused = writable(true);
var selectedGenre = writable('');
var muzify_store_selectedScreen = writable('');
var activePlaylist = writable([]);
var viewPlaylist = writable([]);
var playedTime = writable(0);
var playingInterval = writable(null);
var selectedGenreIndex = writable(0);
var progressPercents = writable(0);
var selectedDevice = writable(-1);
var setPremium = function setPremium(state) {
  return premium.set(state);
};
registerEvent('event.muzify.setPremium', setPremium);
var inititalizeFavorites = function inititalizeFavorites() {
  var likes = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
  return favorites.set(likes);
};
registerEvent('event.muzify.inititalizeFavorites', inititalizeFavorites);
inititalizeFavorites([364, 760, 1665, 730]);
var addToFavoriteTrackId = function addToFavoriteTrackId(trackId) {
  var currentFavorites = get_store_value(favorites);
  favorites.set([].concat(muzify_store_toConsumableArray(currentFavorites), [trackId]));
};
registerEvent('event.muzify.addToFavoriteTrackId', addToFavoriteTrackId);
var stopTrack = function stopTrack() {
  if (get_store_value(paused)) {
    return;
  }
  paused.set(true);
  playedTime.set(0);
  currentSong.set({});
  clearInterval(get_store_value(playingInterval));
};
registerEvent('event.muzify.stopTrackEvent', stopTrack);
var resume = function resume() {
  return paused.set(false);
};
registerEvent('event.muzify.resume', resume);
var pause = function pause() {
  return paused.set(true);
};
registerEvent('event.muzify.pause', pause);
var updateSelectedDevice = function updateSelectedDevice(deviceId) {
  return selectedDevice.set(deviceId);
};
registerEvent('event.muzify.updateSelectedDevice', updateSelectedDevice);
;// CONCATENATED MODULE: ./src/views/phone/apps/muzify/components/search-input/index.svelte
/* src\views\phone\apps\muzify\components\search-input\index.svelte generated by Svelte v3.49.0 */





// import { Screens } from '../../constants';


function search_input_index_svelte_create_fragment(ctx) {
	let div;
	let i;
	let t0;
	let input;
	let t1;
	let span;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			i = internal_element("i");
			t0 = space();
			input = internal_element("input");
			t1 = space();
			span = internal_element("span");
			span.textContent = "+";
			attr(i, "class", "muzify-app-search-input__icon icon-magnifier");
			attr(input, "type", "text");
			attr(input, "class", "muzify-app-search-input__input");
			attr(input, "placeholder", "Поиск");
			attr(span, "class", "muzify-app-search-input__icon-clear icon-cross");
			attr(div, "class", "muzify-app-search-input");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, i);
			append(div, t0);
			append(div, input);
			/*input_binding*/ ctx[4](input);
			set_input_value(input, /*$searchQuery*/ ctx[3]);
			append(div, t1);
			append(div, span);

			if (!mounted) {
				dispose = [
					listen(input, "keyup", function () {
						if (internal_is_function(/*search*/ ctx[0])) /*search*/ ctx[0].apply(this, arguments);
					}),
					listen(input, "input", /*input_input_handler*/ ctx[5]),
					listen(input, "focus", /*focus_handler*/ ctx[6]),
					listen(input, "blur", /*blur_handler*/ ctx[7]),
					listen(span, "click", function () {
						if (internal_is_function(/*clear*/ ctx[1])) /*clear*/ ctx[1].apply(this, arguments);
					}),
					listen(div, "click", /*click_handler*/ ctx[8])
				];

				mounted = true;
			}
		},
		p(new_ctx, [dirty]) {
			ctx = new_ctx;

			if (dirty & /*$searchQuery*/ 8 && input.value !== /*$searchQuery*/ ctx[3]) {
				set_input_value(input, /*$searchQuery*/ ctx[3]);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			/*input_binding*/ ctx[4](null);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function search_input_index_svelte_instance($$self, $$props, $$invalidate) {
	let $searchQuery;
	component_subscribe($$self, searchQuery, $$value => $$invalidate(3, $searchQuery = $$value));
	let inputNode = null;

	let { search = () => {
		
	} } = $$props;

	let { clear = () => {
		
	} } = $$props;

	function input_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			inputNode = $$value;
			$$invalidate(2, inputNode);
		});
	}

	function input_input_handler() {
		$searchQuery = this.value;
		searchQuery.set($searchQuery);
	}

	const focus_handler = () => sendClientMessage('muzifyApp.searchFocused');
	const blur_handler = () => sendClientMessage('muzifyApp.searchBlured');

	const click_handler = () => {
		inputNode.focus();
	};

	$$self.$$set = $$props => {
		if ('search' in $$props) $$invalidate(0, search = $$props.search);
		if ('clear' in $$props) $$invalidate(1, clear = $$props.clear);
	};

	return [
		search,
		clear,
		inputNode,
		$searchQuery,
		input_binding,
		input_input_handler,
		focus_handler,
		blur_handler,
		click_handler
	];
}

class Search_input extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, search_input_index_svelte_instance, search_input_index_svelte_create_fragment, safe_not_equal, { search: 0, clear: 1 });
	}
}

/* harmony default export */ const search_input_index_svelte = (Search_input);
;// CONCATENATED MODULE: ./src/views/phone/img/app/muzify/genres/pop.png
const pop_namespaceObject = __webpack_require__.p + "assets/274b4005631f4bf89ec8.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/muzify/genres/chanson.png
const chanson_namespaceObject = __webpack_require__.p + "assets/b28cb6ec348a7dff74c4.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/muzify/genres/classic.png
const classic_namespaceObject = __webpack_require__.p + "assets/afd98bdc4c342748abc0.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/muzify/genres/country.png
const country_namespaceObject = __webpack_require__.p + "assets/94531f695e88e83683d9.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/muzify/genres/electronic.png
const electronic_namespaceObject = __webpack_require__.p + "assets/3cb2604d56024dff1fd5.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/muzify/genres/indie.png
const indie_namespaceObject = __webpack_require__.p + "assets/faf4ce5b9f115d1b7302.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/muzify/genres/jazz.png
const jazz_namespaceObject = __webpack_require__.p + "assets/d37905dc24d4d07a2512.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/muzify/genres/nfs.png
const nfs_namespaceObject = __webpack_require__.p + "assets/175fd083c369e022c454.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/muzify/genres/phonk.png
const phonk_namespaceObject = __webpack_require__.p + "assets/82fd5cb1513a130d6c55.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/muzify/genres/rap.png
const rap_namespaceObject = __webpack_require__.p + "assets/f2bcf77262e90b22fe98.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/muzify/genres/rnb.png
const rnb_namespaceObject = __webpack_require__.p + "assets/974fcaa69e7286d75ab9.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/muzify/genres/rock.png
const rock_namespaceObject = __webpack_require__.p + "assets/20053df953f3bfdc1484.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/muzify/covers/pop.png
const covers_pop_namespaceObject = __webpack_require__.p + "assets/e754d80ee6f8e6160faf.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/muzify/covers/chanson.png
const covers_chanson_namespaceObject = __webpack_require__.p + "assets/2c7061b0f91b31b5b5b5.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/muzify/covers/classic.png
const covers_classic_namespaceObject = __webpack_require__.p + "assets/8b122a4da35860336fbc.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/muzify/covers/country.png
const covers_country_namespaceObject = __webpack_require__.p + "assets/0a989fab3b85ed6200ca.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/muzify/covers/radio.png
const radio_namespaceObject = __webpack_require__.p + "assets/30bdf00793a2b0315602.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/muzify/covers/electronic.png
const covers_electronic_namespaceObject = __webpack_require__.p + "assets/b510669c1d8e62224e97.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/muzify/covers/indie.png
const covers_indie_namespaceObject = __webpack_require__.p + "assets/c997698c0ab849759994.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/muzify/covers/jazz.png
const covers_jazz_namespaceObject = __webpack_require__.p + "assets/6a41d44c75f5e9376afd.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/muzify/covers/nfs.png
const covers_nfs_namespaceObject = __webpack_require__.p + "assets/460a466015a4babbecae.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/muzify/covers/phonk.png
const covers_phonk_namespaceObject = __webpack_require__.p + "assets/251bb888a8e8744c7ecd.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/muzify/covers/rap.png
const covers_rap_namespaceObject = __webpack_require__.p + "assets/a7f3529c20562862a127.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/muzify/covers/rnb.png
const covers_rnb_namespaceObject = __webpack_require__.p + "assets/b3250a7c7fb08ac2c067.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/muzify/covers/rock.png
const covers_rock_namespaceObject = __webpack_require__.p + "assets/71245bf82f46b66824d8.webp";
;// CONCATENATED MODULE: ./src/views/phone/apps/muzify/constants.js
var _MAP_CATEGORY_TO_IMAG, _MAP_CATEGORY_TO_COVE, _MAP_GENRE_TO_NAME;
function muzify_constants_typeof(o) { "@babel/helpers - typeof"; return muzify_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, muzify_constants_typeof(o); }
function muzify_constants_defineProperty(e, r, t) { return (r = muzify_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function muzify_constants_toPropertyKey(t) { var i = muzify_constants_toPrimitive(t, "string"); return "symbol" == muzify_constants_typeof(i) ? i : i + ""; }
function muzify_constants_toPrimitive(t, r) { if ("object" != muzify_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != muzify_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }


























var muzify_constants_Screens = {
  Main: '',
  Player: 'player',
  AddSong: 'add-song',
  Search: 'search'
};
var Genres = {
  Pop: 'pop',
  Indie: 'indie',
  Rnb: 'rnb',
  Electro: 'electronic',
  Classic: 'classic',
  Phonk: 'phonk',
  Rock: 'rock',
  Jazz: 'jazz',
  Chanson: 'chanson',
  Rap: 'rap',
  Country: 'country',
  Nfs: 'nfs',
  Fm: 'radio',
  Favorites: 'favorites',
  MyPlaylist: 'my-playlist',
  Search: 'search'
};
var Devices = ['headphone', 'car', 'boombox'];
var GENRE_LIST = [Genres.Pop, Genres.Indie, Genres.Rnb, Genres.Electro, Genres.Classic, Genres.Phonk, Genres.Rock, Genres.Jazz, Genres.Chanson, Genres.Rap, Genres.Country, Genres.Nfs, Genres.Fm];
var MAP_CATEGORY_TO_IMAGE = (_MAP_CATEGORY_TO_IMAG = {}, muzify_constants_defineProperty(muzify_constants_defineProperty(muzify_constants_defineProperty(muzify_constants_defineProperty(muzify_constants_defineProperty(muzify_constants_defineProperty(muzify_constants_defineProperty(muzify_constants_defineProperty(muzify_constants_defineProperty(muzify_constants_defineProperty(_MAP_CATEGORY_TO_IMAG, Genres.Pop, pop_namespaceObject), Genres.Indie, indie_namespaceObject), Genres.Rnb, rnb_namespaceObject), Genres.Electro, electronic_namespaceObject), Genres.Classic, classic_namespaceObject), Genres.Phonk, phonk_namespaceObject), Genres.Rock, rock_namespaceObject), Genres.Jazz, jazz_namespaceObject), Genres.Chanson, chanson_namespaceObject), Genres.Rap, rap_namespaceObject), muzify_constants_defineProperty(muzify_constants_defineProperty(muzify_constants_defineProperty(_MAP_CATEGORY_TO_IMAG, Genres.Country, country_namespaceObject), Genres.Nfs, nfs_namespaceObject), Genres.Fm, pop_namespaceObject));
var MAP_CATEGORY_TO_COVER = (_MAP_CATEGORY_TO_COVE = {}, muzify_constants_defineProperty(muzify_constants_defineProperty(muzify_constants_defineProperty(muzify_constants_defineProperty(muzify_constants_defineProperty(muzify_constants_defineProperty(muzify_constants_defineProperty(muzify_constants_defineProperty(muzify_constants_defineProperty(muzify_constants_defineProperty(_MAP_CATEGORY_TO_COVE, Genres.Pop, covers_pop_namespaceObject), Genres.Indie, covers_indie_namespaceObject), Genres.Rnb, covers_rnb_namespaceObject), Genres.Electro, covers_electronic_namespaceObject), Genres.Classic, covers_classic_namespaceObject), Genres.Phonk, covers_phonk_namespaceObject), Genres.Rock, covers_rock_namespaceObject), Genres.Jazz, covers_jazz_namespaceObject), Genres.Chanson, covers_chanson_namespaceObject), Genres.Rap, covers_rap_namespaceObject), muzify_constants_defineProperty(muzify_constants_defineProperty(muzify_constants_defineProperty(_MAP_CATEGORY_TO_COVE, Genres.Country, covers_country_namespaceObject), Genres.Nfs, covers_nfs_namespaceObject), Genres.Fm, radio_namespaceObject));
var MAP_GENRE_TO_NAME = (_MAP_GENRE_TO_NAME = {}, muzify_constants_defineProperty(muzify_constants_defineProperty(muzify_constants_defineProperty(muzify_constants_defineProperty(muzify_constants_defineProperty(muzify_constants_defineProperty(muzify_constants_defineProperty(muzify_constants_defineProperty(muzify_constants_defineProperty(muzify_constants_defineProperty(_MAP_GENRE_TO_NAME, Genres.Pop, 'Поп'), Genres.Indie, 'Инди'), Genres.Rnb, 'RnB'), Genres.Punk, 'Панк'), Genres.Electro, 'Электроника'), Genres.Classic, 'Классическая'), Genres.Phonk, 'Phonk'), Genres.Rock, 'Рок'), Genres.Jazz, 'Джаз'), Genres.Chanson, 'Шансон'), muzify_constants_defineProperty(muzify_constants_defineProperty(muzify_constants_defineProperty(muzify_constants_defineProperty(muzify_constants_defineProperty(muzify_constants_defineProperty(muzify_constants_defineProperty(_MAP_GENRE_TO_NAME, Genres.Rap, 'Реп и хип-хоп'), Genres.Country, 'Кантри'), Genres.Nfs, 'NFS'), Genres.Fm, 'Радио'), Genres.Favorites, 'Избранное'), Genres.MyPlaylist, 'Мой Плейлист'), Genres.Search, 'Поиск'));
var API_URL = {
  GetByGenre: '/client/azpotify/v1/az-spotify/getByCategorie',
  GetByName: '/client/azpotify/v1/az-spotify/search',
  GetByIDs: '/client/azpotify/v1/az-spotify/getFavorites'
};
var GetUrlAPI = function GetUrlAPI(route) {
  return "".concat(SERVER_API_URL).concat(route);
};
;// CONCATENATED MODULE: ./src/views/phone/apps/muzify/components/genre-list/index.svelte
/* src\views\phone\apps\muzify\components\genre-list\index.svelte generated by Svelte v3.49.0 */








function genre_list_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[6] = list[i];
	child_ctx[8] = i;
	return child_ctx;
}

// (27:8) {#each GENRE_LIST as genre, index}
function genre_list_index_svelte_create_each_block(ctx) {
	let div1;
	let div0;
	let t0_value = MAP_GENRE_TO_NAME[/*genre*/ ctx[6]] + "";
	let t0;
	let t1;
	let img;
	let img_src_value;
	let img_alt_value;
	let t2;
	let div1_class_value;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[1](/*genre*/ ctx[6], /*index*/ ctx[8]);
	}

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			img = internal_element("img");
			t2 = space();
			attr(div0, "class", "muzify-app-genre-list__grid-item-name");
			if (!src_url_equal(img.src, img_src_value = MAP_CATEGORY_TO_IMAGE[/*genre*/ ctx[6]])) attr(img, "src", img_src_value);
			attr(img, "alt", img_alt_value = /*genre*/ ctx[6]);
			attr(img, "class", "muzify-app-genre-list__grid-item-image");
			attr(div1, "class", div1_class_value = "muzify-app-genre-list__grid-item muzify-app-genre-list__grid-item--" + /*genre*/ ctx[6]);
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, t0);
			append(div1, t1);
			append(div1, img);
			append(div1, t2);

			if (!mounted) {
				dispose = listen(div1, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
		},
		d(detaching) {
			if (detaching) detach(div1);
			mounted = false;
			dispose();
		}
	};
}

function genre_list_index_svelte_create_fragment(ctx) {
	let div2;
	let div0;
	let t1;
	let div1;
	let each_value = GENRE_LIST;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = genre_list_index_svelte_create_each_block(genre_list_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "По жанрам";
			t1 = space();
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div0, "class", "muzify-app-genre-list__caption");
			attr(div1, "class", "muzify-app-genre-list__grid");
			attr(div2, "class", "muzify-app-genre-list");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div2, t1);
			append(div2, div1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*GENRE_LIST, selectGenre, MAP_CATEGORY_TO_IMAGE, MAP_GENRE_TO_NAME*/ 1) {
				each_value = GENRE_LIST;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = genre_list_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = genre_list_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div1, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div2);
			destroy_each(each_blocks, detaching);
		}
	};
}

function genre_list_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedScreen;
	let $selectedGenreIndex;
	let $selectedGenre;
	let $searchQuery;
	component_subscribe($$self, muzify_store_selectedScreen, $$value => $$invalidate(2, $selectedScreen = $$value));
	component_subscribe($$self, selectedGenreIndex, $$value => $$invalidate(3, $selectedGenreIndex = $$value));
	component_subscribe($$self, selectedGenre, $$value => $$invalidate(4, $selectedGenre = $$value));
	component_subscribe($$self, searchQuery, $$value => $$invalidate(5, $searchQuery = $$value));

	const selectGenre = (genre, genreIndex) => {
		set_store_value(searchQuery, $searchQuery = '', $searchQuery);
		set_store_value(selectedGenre, $selectedGenre = genre, $selectedGenre);
		set_store_value(selectedGenreIndex, $selectedGenreIndex = genreIndex, $selectedGenreIndex);
		set_store_value(muzify_store_selectedScreen, $selectedScreen = muzify_constants_Screens.Player, $selectedScreen);
	};

	const click_handler = (genre, index) => {
		selectGenre(genre, index);
	};

	return [selectGenre, click_handler];
}

class Genre_list extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, genre_list_index_svelte_instance, genre_list_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const genre_list_index_svelte = (Genre_list);
;// CONCATENATED MODULE: ./src/views/phone/img/app/muzify/play.gif
const play_namespaceObject = __webpack_require__.p + "assets/0a1f52a6935f6ee422e5.gif";
;// CONCATENATED MODULE: ./src/views/phone/img/app/muzify/note.png
const note_namespaceObject = __webpack_require__.p + "assets/9452e3abc3a4987b0e86.webp";
;// CONCATENATED MODULE: ./src/views/phone/apps/muzify/components/song/index.svelte
/* src\views\phone\apps\muzify\components\song\index.svelte generated by Svelte v3.49.0 */









function song_index_svelte_create_else_block(ctx) {
	let i;
	let mounted;
	let dispose;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "muzify-app-song__playback-icon icon-muzify-play");
		},
		m(target, anchor) {
			insert(target, i, anchor);

			if (!mounted) {
				dispose = listen(i, "click", stop_propagation(function () {
					if (internal_is_function(/*play*/ ctx[2])) /*play*/ ctx[2].apply(this, arguments);
				}));

				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
		},
		d(detaching) {
			if (detaching) detach(i);
			mounted = false;
			dispose();
		}
	};
}

// (19:12) {#if selected && !$paused}
function song_index_svelte_create_if_block_2(ctx) {
	let i;
	let t;
	let img;
	let img_src_value;
	let mounted;
	let dispose;

	return {
		c() {
			i = internal_element("i");
			t = space();
			img = internal_element("img");
			attr(i, "class", "muzify-app-song__playback-icon icon-muzify-pause");
			if (!src_url_equal(img.src, img_src_value = play_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "play");
			attr(img, "class", "muzify-app-song__playing-animation");
		},
		m(target, anchor) {
			insert(target, i, anchor);
			insert(target, t, anchor);
			insert(target, img, anchor);

			if (!mounted) {
				dispose = listen(i, "click", stop_propagation(function () {
					if (internal_is_function(/*pause*/ ctx[3])) /*pause*/ ctx[3].apply(this, arguments);
				}));

				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
		},
		d(detaching) {
			if (detaching) detach(i);
			if (detaching) detach(t);
			if (detaching) detach(img);
			mounted = false;
			dispose();
		}
	};
}

// (30:12) {#if !isNil(song.artistName) && $selectedGenre !== Genres.Fm}
function song_index_svelte_create_if_block_1(ctx) {
	let div;
	let t_value = /*song*/ ctx[0].artistName + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "muzify-app-song__artist-name");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*song*/ 1 && t_value !== (t_value = /*song*/ ctx[0].artistName + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (36:8) {#if $selectedGenre !== Genres.MyPlaylist}
function song_index_svelte_create_if_block(ctx) {
	let i;
	let mounted;
	let dispose;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "muzify-app-song__control-icon icon-muzify-like");
			toggle_class(i, "muzify-app-song__control-icon--active", /*song*/ ctx[0].like);
		},
		m(target, anchor) {
			insert(target, i, anchor);

			if (!mounted) {
				dispose = listen(i, "click", stop_propagation(function () {
					if (internal_is_function(/*onLike*/ ctx[4])) /*onLike*/ ctx[4].apply(this, arguments);
				}));

				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*song*/ 1) {
				toggle_class(i, "muzify-app-song__control-icon--active", /*song*/ ctx[0].like);
			}
		},
		d(detaching) {
			if (detaching) detach(i);
			mounted = false;
			dispose();
		}
	};
}

function song_index_svelte_create_fragment(ctx) {
	let div7;
	let div4;
	let div1;
	let t0;
	let div0;
	let t1_value = /*song*/ ctx[0].index + 1 + "";
	let t1;
	let t2;
	let div3;
	let div2;
	let t3_value = /*song*/ ctx[0].songName + "";
	let t3;
	let t4;
	let show_if = !(0,lodash.isNil)(/*song*/ ctx[0].artistName) && /*$selectedGenre*/ ctx[6] !== Genres.Fm;
	let t5;
	let div6;
	let t6;
	let div5;
	let t7_value = formatSecondsToMmSs(/*song*/ ctx[0].duration) + "";
	let t7;
	let mounted;
	let dispose;

	function select_block_type(ctx, dirty) {
		if (/*selected*/ ctx[1] && !/*$paused*/ ctx[5]) return song_index_svelte_create_if_block_2;
		return song_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block0 = current_block_type(ctx);
	let if_block1 = show_if && song_index_svelte_create_if_block_1(ctx);
	let if_block2 = /*$selectedGenre*/ ctx[6] !== Genres.MyPlaylist && song_index_svelte_create_if_block(ctx);

	return {
		c() {
			div7 = internal_element("div");
			div4 = internal_element("div");
			div1 = internal_element("div");
			if_block0.c();
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			div3 = internal_element("div");
			div2 = internal_element("div");
			t3 = internal_text(t3_value);
			t4 = space();
			if (if_block1) if_block1.c();
			t5 = space();
			div6 = internal_element("div");
			if (if_block2) if_block2.c();
			t6 = space();
			div5 = internal_element("div");
			t7 = internal_text(t7_value);
			attr(div0, "class", "muzify-app-song__number");
			attr(div1, "class", "muzify-app-song__playback-status");
			attr(div2, "class", "muzify-app-song__song-name");
			attr(div3, "class", "muzify-app-song__name-wrapper");
			attr(div4, "class", "muzify-app-song__data-wrapper");
			attr(div5, "class", "muzify-app-song__duration");
			attr(div6, "class", "muzify-app-song__controls-wrapper");
			attr(div7, "class", "muzify-app-song");
			toggle_class(div7, "muzify-app-song--active", /*selected*/ ctx[1]);
			toggle_class(div7, "muzify-app-song--paused", /*$paused*/ ctx[5]);
		},
		m(target, anchor) {
			insert(target, div7, anchor);
			append(div7, div4);
			append(div4, div1);
			if_block0.m(div1, null);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
			append(div4, t2);
			append(div4, div3);
			append(div3, div2);
			append(div2, t3);
			append(div3, t4);
			if (if_block1) if_block1.m(div3, null);
			append(div7, t5);
			append(div7, div6);
			if (if_block2) if_block2.m(div6, null);
			append(div6, t6);
			append(div6, div5);
			append(div5, t7);

			if (!mounted) {
				dispose = listen(div7, "click", function () {
					if (internal_is_function(/*play*/ ctx[2])) /*play*/ ctx[2].apply(this, arguments);
				});

				mounted = true;
			}
		},
		p(new_ctx, [dirty]) {
			ctx = new_ctx;

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block0) {
				if_block0.p(ctx, dirty);
			} else {
				if_block0.d(1);
				if_block0 = current_block_type(ctx);

				if (if_block0) {
					if_block0.c();
					if_block0.m(div1, t0);
				}
			}

			if (dirty & /*song*/ 1 && t1_value !== (t1_value = /*song*/ ctx[0].index + 1 + "")) set_data(t1, t1_value);
			if (dirty & /*song*/ 1 && t3_value !== (t3_value = /*song*/ ctx[0].songName + "")) set_data(t3, t3_value);
			if (dirty & /*song, $selectedGenre*/ 65) show_if = !(0,lodash.isNil)(/*song*/ ctx[0].artistName) && /*$selectedGenre*/ ctx[6] !== Genres.Fm;

			if (show_if) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = song_index_svelte_create_if_block_1(ctx);
					if_block1.c();
					if_block1.m(div3, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (/*$selectedGenre*/ ctx[6] !== Genres.MyPlaylist) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = song_index_svelte_create_if_block(ctx);
					if_block2.c();
					if_block2.m(div6, t6);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			if (dirty & /*song*/ 1 && t7_value !== (t7_value = formatSecondsToMmSs(/*song*/ ctx[0].duration) + "")) set_data(t7, t7_value);

			if (dirty & /*selected*/ 2) {
				toggle_class(div7, "muzify-app-song--active", /*selected*/ ctx[1]);
			}

			if (dirty & /*$paused*/ 32) {
				toggle_class(div7, "muzify-app-song--paused", /*$paused*/ ctx[5]);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div7);
			if_block0.d();
			if (if_block1) if_block1.d();
			if (if_block2) if_block2.d();
			mounted = false;
			dispose();
		}
	};
}

function song_index_svelte_instance($$self, $$props, $$invalidate) {
	let $paused;
	let $selectedGenre;
	component_subscribe($$self, paused, $$value => $$invalidate(5, $paused = $$value));
	component_subscribe($$self, selectedGenre, $$value => $$invalidate(6, $selectedGenre = $$value));
	let { song = {} } = $$props;
	let { selected = false } = $$props;

	let { play = () => {
		
	} } = $$props;

	let { pause = () => {
		
	} } = $$props;

	let { onLike = () => {
		
	} } = $$props;

	$$self.$$set = $$props => {
		if ('song' in $$props) $$invalidate(0, song = $$props.song);
		if ('selected' in $$props) $$invalidate(1, selected = $$props.selected);
		if ('play' in $$props) $$invalidate(2, play = $$props.play);
		if ('pause' in $$props) $$invalidate(3, pause = $$props.pause);
		if ('onLike' in $$props) $$invalidate(4, onLike = $$props.onLike);
	};

	return [song, selected, play, pause, onLike, $paused, $selectedGenre];
}

class Song extends SvelteComponent {
	constructor(options) {
		super();

		init(this, options, song_index_svelte_instance, song_index_svelte_create_fragment, safe_not_equal, {
			song: 0,
			selected: 1,
			play: 2,
			pause: 3,
			onLike: 4
		});
	}
}

/* harmony default export */ const song_index_svelte = (Song);
;// CONCATENATED MODULE: ./src/views/phone/apps/muzify/components/player/index.svelte
/* src\views\phone\apps\muzify\components\player\index.svelte generated by Svelte v3.49.0 */



















// import { PLAYLIST_MOCK } from '../../mock';


function player_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[39] = list[i];
	return child_ctx;
}

// (377:4) {:else}
function player_index_svelte_create_else_block(ctx) {
	let div;
	let show_if_1;
	let current_block_type_index;
	let if_block0;
	let t;
	let show_if;
	let if_block1_anchor;
	let current;
	let mounted;
	let dispose;
	const if_block_creators = [player_index_svelte_create_if_block_9, player_index_svelte_create_if_block_10, player_index_svelte_create_else_block_2];
	const if_blocks = [];

	function select_block_type_1(ctx, dirty) {
		if (dirty[0] & /*$viewPlaylist, $selectedGenre, $premium*/ 2144) show_if_1 = null;
		if (show_if_1 == null) show_if_1 = !!((0,lodash.isEmpty)(/*$viewPlaylist*/ ctx[5]) && /*$selectedGenre*/ ctx[6] === Genres.MyPlaylist && /*$premium*/ ctx[11]);
		if (show_if_1) return 0;
		if (/*$selectedGenre*/ ctx[6] === Genres.MyPlaylist && !/*$premium*/ ctx[11]) return 1;
		return 2;
	}

	current_block_type_index = select_block_type_1(ctx, [-1, -1]);
	if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	function select_block_type_2(ctx, dirty) {
		if (dirty[0] & /*$currentSong*/ 256) show_if = null;
		if (/*$selectedGenre*/ ctx[6] === Genres.MyPlaylist && !/*$premium*/ ctx[11]) return player_index_svelte_create_if_block_2;
		if (show_if == null) show_if = !!!(0,lodash.isEmpty)(/*$currentSong*/ ctx[8]);
		if (show_if) return player_index_svelte_create_if_block_3;
	}

	let current_block_type = select_block_type_2(ctx, [-1, -1]);
	let if_block1 = current_block_type && current_block_type(ctx);

	return {
		c() {
			div = internal_element("div");
			if_block0.c();
			t = space();
			if (if_block1) if_block1.c();
			if_block1_anchor = empty();
			attr(div, "class", "muzify-app-player__playlist");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if_blocks[current_block_type_index].m(div, null);
			insert(target, t, anchor);
			if (if_block1) if_block1.m(target, anchor);
			insert(target, if_block1_anchor, anchor);
			current = true;

			if (!mounted) {
				dispose = listen(div, "scroll", /*scroll_handler*/ ctx[24]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type_1(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block0 = if_blocks[current_block_type_index];

				if (!if_block0) {
					if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block0.c();
				} else {
					if_block0.p(ctx, dirty);
				}

				transition_in(if_block0, 1);
				if_block0.m(div, null);
			}

			if (current_block_type === (current_block_type = select_block_type_2(ctx, dirty)) && if_block1) {
				if_block1.p(ctx, dirty);
			} else {
				if (if_block1) if_block1.d(1);
				if_block1 = current_block_type && current_block_type(ctx);

				if (if_block1) {
					if_block1.c();
					transition_in(if_block1, 1);
					if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
				}
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block0);
			transition_in(if_block1);
			current = true;
		},
		o(local) {
			transition_out(if_block0);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if_blocks[current_block_type_index].d();
			if (detaching) detach(t);

			if (if_block1) {
				if_block1.d(detaching);
			}

			if (detaching) detach(if_block1_anchor);
			mounted = false;
			dispose();
		}
	};
}

// (373:29) 
function player_index_svelte_create_if_block_1(ctx) {
	let div1;
	let div0;
	let t;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			t = internal_text(/*message*/ ctx[2]);
			attr(div0, "class", "muzify-app-player__message");
			attr(div1, "class", "muzify-app-player__holder");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, t);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*message*/ 4) set_data(t, /*message*/ ctx[2]);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (369:4) {#if loaderVisible}
function player_index_svelte_create_if_block(ctx) {
	let div;
	let loader;
	let current;
	loader = new loader_index_svelte({});

	return {
		c() {
			div = internal_element("div");
			create_component(loader.$$.fragment);
			attr(div, "class", "muzify-app-player__holder");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(loader, div, null);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(loader.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(loader.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(loader);
		}
	};
}

// (394:12) {:else}
function player_index_svelte_create_else_block_2(ctx) {
	let each_1_anchor;
	let current;
	let each_value = /*$viewPlaylist*/ ctx[5];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = player_index_svelte_create_each_block(player_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$viewPlaylist, $currentSong, play, pause, likeSong*/ 28960) {
				each_value = /*$viewPlaylist*/ ctx[5];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = player_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = player_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			destroy_each(each_blocks, detaching);
			if (detaching) detach(each_1_anchor);
		}
	};
}

// (387:72) 
function player_index_svelte_create_if_block_10(ctx) {
	let div2;
	let div0;
	let img;
	let img_src_value;
	let t0;
	let div1;

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div1 = internal_element("div");
			div1.innerHTML = `Приобретите <b>Titan</b> и создайте <br/> свой плейлист мечты!`;
			if (!src_url_equal(img.src, img_src_value = note_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "note");
			attr(img, "class", "muzify-app-player__note");
			attr(div0, "class", "muzify-app-player__note-icon");
			attr(div1, "class", "muzify-app-player__my-playlist-text muzify-app-player__my-playlist-text--bold");
			attr(div2, "class", "muzify-app-player__note-wrapper");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div0, img);
			append(div2, t0);
			append(div2, div1);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

// (379:12) {#if isEmpty($viewPlaylist) && $selectedGenre === Genres.MyPlaylist && $premium}
function player_index_svelte_create_if_block_9(ctx) {
	let div3;
	let div0;
	let img;
	let img_src_value;
	let t0;
	let div1;
	let t3;
	let div2;

	return {
		c() {
			div3 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div1 = internal_element("div");
			div1.innerHTML = `Загрузить свою музыку <br/> можно на сайте в личном кабинете`;
			t3 = space();
			div2 = internal_element("div");
			div2.textContent = "rodina-rp.com";
			if (!src_url_equal(img.src, img_src_value = note_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "note");
			attr(img, "class", "muzify-app-player__note");
			attr(div0, "class", "muzify-app-player__note-icon");
			attr(div1, "class", "muzify-app-player__my-playlist-text muzify-app-player__my-playlist-text--bold");
			attr(div2, "class", "muzify-app-player__my-playlist-text");
			attr(div3, "class", "muzify-app-player__note-wrapper");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div0);
			append(div0, img);
			append(div3, t0);
			append(div3, div1);
			append(div3, t3);
			append(div3, div2);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div3);
		}
	};
}

// (395:16) {#each $viewPlaylist as song}
function player_index_svelte_create_each_block(ctx) {
	let song;
	let current;

	function func() {
		return /*func*/ ctx[22](/*song*/ ctx[39]);
	}

	function func_1() {
		return /*func_1*/ ctx[23](/*song*/ ctx[39]);
	}

	song = new song_index_svelte({
			props: {
				song: /*song*/ ctx[39],
				selected: /*$currentSong*/ ctx[8].id === /*song*/ ctx[39].id,
				play: func,
				pause: /*pause*/ ctx[12],
				onLike: func_1
			}
		});

	return {
		c() {
			create_component(song.$$.fragment);
		},
		m(target, anchor) {
			mount_component(song, target, anchor);
			current = true;
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			const song_changes = {};
			if (dirty[0] & /*$viewPlaylist*/ 32) song_changes.song = /*song*/ ctx[39];
			if (dirty[0] & /*$currentSong, $viewPlaylist*/ 288) song_changes.selected = /*$currentSong*/ ctx[8].id === /*song*/ ctx[39].id;
			if (dirty[0] & /*$viewPlaylist*/ 32) song_changes.play = func;
			if (dirty[0] & /*$viewPlaylist*/ 32) song_changes.onLike = func_1;
			song.$set(song_changes);
		},
		i(local) {
			if (current) return;
			transition_in(song.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(song.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(song, detaching);
		}
	};
}

// (410:41) 
function player_index_svelte_create_if_block_3(ctx) {
	let div9;
	let div5;
	let div3;
	let t0;
	let div2;
	let div0;
	let t1_value = /*$currentSong*/ ctx[8].songName + "";
	let t1;
	let t2;
	let div1;
	let show_if = !(0,lodash.isNil)(/*$currentSong*/ ctx[8].artistName) && /*$selectedGenre*/ ctx[6] !== Genres.Fm;
	let t3;
	let div4;
	let i0;
	let t4;
	let t5;
	let i1;
	let t6;
	let div6;
	let t7;
	let div8;
	let div7;
	let div9_intro;
	let mounted;
	let dispose;
	let if_block0 = !/*$paused*/ ctx[10] && player_index_svelte_create_if_block_8(ctx);
	let if_block1 = show_if && player_index_svelte_create_if_block_7(ctx);

	function select_block_type_3(ctx, dirty) {
		if (/*$paused*/ ctx[10]) return player_index_svelte_create_if_block_6;
		return player_index_svelte_create_else_block_1;
	}

	let current_block_type = select_block_type_3(ctx, [-1, -1]);
	let if_block2 = current_block_type(ctx);

	function select_block_type_4(ctx, dirty) {
		if (/*$currentSong*/ ctx[8].duration !== 0) return player_index_svelte_create_if_block_4;
		if (/*$currentSong*/ ctx[8].duration === 0) return player_index_svelte_create_if_block_5;
	}

	let current_block_type_1 = select_block_type_4(ctx, [-1, -1]);
	let if_block3 = current_block_type_1 && current_block_type_1(ctx);

	return {
		c() {
			div9 = internal_element("div");
			div5 = internal_element("div");
			div3 = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			div2 = internal_element("div");
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			div1 = internal_element("div");
			if (if_block1) if_block1.c();
			t3 = space();
			div4 = internal_element("div");
			i0 = internal_element("i");
			t4 = space();
			if_block2.c();
			t5 = space();
			i1 = internal_element("i");
			t6 = space();
			div6 = internal_element("div");
			if (if_block3) if_block3.c();
			t7 = space();
			div8 = internal_element("div");
			div7 = internal_element("div");
			attr(div0, "class", "muzify-app-player__song-name");
			attr(div1, "class", "muzify-app-player__artist-name");
			attr(div2, "class", "muzify-app-player__name-wrapper");
			attr(div3, "class", "muzify-app-player__current-song");
			attr(i0, "class", "muzify-app-player__control icon-muzify-previous");
			attr(i1, "class", "muzify-app-player__control icon-muzify-forward");
			attr(div4, "class", "muzify-app-player__controls");
			attr(div5, "class", "muzify-app-player__panel-info");
			attr(div6, "class", "muzify-app-player__timer");
			attr(div7, "class", "muzify-app-player__current-progress");
			set_style(div7, "--progress", Math.floor(/*$progressPercents*/ ctx[9]) + "%");
			attr(div8, "class", "muzify-app-player__progress-bar");
			attr(div9, "class", "muzify-app-player__panel");
		},
		m(target, anchor) {
			insert(target, div9, anchor);
			append(div9, div5);
			append(div5, div3);
			if (if_block0) if_block0.m(div3, null);
			append(div3, t0);
			append(div3, div2);
			append(div2, div0);
			append(div0, t1);
			append(div2, t2);
			append(div2, div1);
			if (if_block1) if_block1.m(div1, null);
			append(div5, t3);
			append(div5, div4);
			append(div4, i0);
			append(div4, t4);
			if_block2.m(div4, null);
			append(div4, t5);
			append(div4, i1);
			append(div9, t6);
			append(div9, div6);
			if (if_block3) if_block3.m(div6, null);
			append(div9, t7);
			append(div9, div8);
			append(div8, div7);
			/*div8_binding*/ ctx[28](div8);

			if (!mounted) {
				dispose = [
					listen(i0, "click", /*prevSong*/ ctx[16]),
					listen(i1, "click", /*nextSong*/ ctx[15]),
					listen(div8, "click", /*click_handler_2*/ ctx[27])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (!/*$paused*/ ctx[10]) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = player_index_svelte_create_if_block_8(ctx);
					if_block0.c();
					if_block0.m(div3, t0);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty[0] & /*$currentSong*/ 256 && t1_value !== (t1_value = /*$currentSong*/ ctx[8].songName + "")) set_data(t1, t1_value);
			if (dirty[0] & /*$currentSong, $selectedGenre*/ 320) show_if = !(0,lodash.isNil)(/*$currentSong*/ ctx[8].artistName) && /*$selectedGenre*/ ctx[6] !== Genres.Fm;

			if (show_if) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = player_index_svelte_create_if_block_7(ctx);
					if_block1.c();
					if_block1.m(div1, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (current_block_type === (current_block_type = select_block_type_3(ctx, dirty)) && if_block2) {
				if_block2.p(ctx, dirty);
			} else {
				if_block2.d(1);
				if_block2 = current_block_type(ctx);

				if (if_block2) {
					if_block2.c();
					if_block2.m(div4, t5);
				}
			}

			if (current_block_type_1 === (current_block_type_1 = select_block_type_4(ctx, dirty)) && if_block3) {
				if_block3.p(ctx, dirty);
			} else {
				if (if_block3) if_block3.d(1);
				if_block3 = current_block_type_1 && current_block_type_1(ctx);

				if (if_block3) {
					if_block3.c();
					if_block3.m(div6, null);
				}
			}

			if (dirty[0] & /*$progressPercents*/ 512) {
				set_style(div7, "--progress", Math.floor(/*$progressPercents*/ ctx[9]) + "%");
			}
		},
		i(local) {
			if (!div9_intro) {
				add_render_callback(() => {
					div9_intro = create_in_transition(div9, fly, { duration: 200, y: 200 });
					div9_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div9);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			if_block2.d();

			if (if_block3) {
				if_block3.d();
			}

			/*div8_binding*/ ctx[28](null);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (406:8) {#if $selectedGenre === Genres.MyPlaylist && !$premium}
function player_index_svelte_create_if_block_2(ctx) {
	let div1;
	let mounted;
	let dispose;

	return {
		c() {
			div1 = internal_element("div");
			div1.innerHTML = `<div class="muzify-app-player__purchase-titan-caption">Купить за 1 200 AZ.</div>`;
			attr(div1, "class", "muzify-app-player__purchase-titan");
		},
		m(target, anchor) {
			insert(target, div1, anchor);

			if (!mounted) {
				dispose = listen(div1, "click", /*click_handler*/ ctx[25]);
				mounted = true;
			}
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
			mounted = false;
			dispose();
		}
	};
}

// (414:24) {#if !$paused}
function player_index_svelte_create_if_block_8(ctx) {
	let div;
	let img;
	let img_src_value;

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = play_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "play");
			attr(img, "class", "muzify-app-player__playing-animation");
			attr(div, "class", "muzify-app-player__current-song-playback-icon");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (422:32) {#if !isNil($currentSong.artistName) && $selectedGenre !== Genres.Fm}
function player_index_svelte_create_if_block_7(ctx) {
	let t_value = /*$currentSong*/ ctx[8].artistName + "";
	let t;

	return {
		c() {
			t = internal_text(t_value);
		},
		m(target, anchor) {
			insert(target, t, anchor);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$currentSong*/ 256 && t_value !== (t_value = /*$currentSong*/ ctx[8].artistName + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(t);
		}
	};
}

// (432:24) {:else}
function player_index_svelte_create_else_block_1(ctx) {
	let i;
	let mounted;
	let dispose;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "muzify-app-player__control muzify-app-player__control--pause icon-muzify-pause");
		},
		m(target, anchor) {
			insert(target, i, anchor);

			if (!mounted) {
				dispose = listen(i, "click", /*pause*/ ctx[12]);
				mounted = true;
			}
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(i);
			mounted = false;
			dispose();
		}
	};
}

// (430:24) {#if $paused}
function player_index_svelte_create_if_block_6(ctx) {
	let i;
	let mounted;
	let dispose;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "muzify-app-player__control muzify-app-player__control--play icon-muzify-play");
		},
		m(target, anchor) {
			insert(target, i, anchor);

			if (!mounted) {
				dispose = listen(i, "click", /*click_handler_1*/ ctx[26]);
				mounted = true;
			}
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(i);
			mounted = false;
			dispose();
		}
	};
}

// (442:58) 
function player_index_svelte_create_if_block_5(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "live";
			attr(div, "class", "muzify-app-player__time-total muzify-app-player__time-total--live");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (439:20) {#if $currentSong.duration !== 0}
function player_index_svelte_create_if_block_4(ctx) {
	let div0;
	let t0_value = formatSecondsToMmSs(/*$playedTime*/ ctx[7]) + "";
	let t0;
	let t1;
	let div1;
	let t2_value = formatSecondsToMmSs(/*$currentSong*/ ctx[8].duration) + "";
	let t2;

	return {
		c() {
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			div1 = internal_element("div");
			t2 = internal_text(t2_value);
			attr(div0, "class", "muzify-app-player__time-left");
			attr(div1, "class", "muzify-app-player__time-total");
		},
		m(target, anchor) {
			insert(target, div0, anchor);
			append(div0, t0);
			insert(target, t1, anchor);
			insert(target, div1, anchor);
			append(div1, t2);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$playedTime*/ 128 && t0_value !== (t0_value = formatSecondsToMmSs(/*$playedTime*/ ctx[7]) + "")) set_data(t0, t0_value);
			if (dirty[0] & /*$currentSong*/ 256 && t2_value !== (t2_value = formatSecondsToMmSs(/*$currentSong*/ ctx[8].duration) + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div0);
			if (detaching) detach(t1);
			if (detaching) detach(div1);
		}
	};
}

function player_index_svelte_create_fragment(ctx) {
	let div4;
	let div2;
	let div0;
	let t0;
	let div1;
	let t1_value = MAP_GENRE_TO_NAME[/*$selectedGenre*/ ctx[6]] + "";
	let t1;
	let t2;
	let div3;
	let muzifysearchinput;
	let t3;
	let current_block_type_index;
	let if_block;
	let current;

	muzifysearchinput = new search_input_index_svelte({
			props: {
				search: /*search*/ ctx[19],
				clear: /*clear*/ ctx[20]
			}
		});

	const if_block_creators = [player_index_svelte_create_if_block, player_index_svelte_create_if_block_1, player_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (/*loaderVisible*/ ctx[0]) return 0;
		if (/*messageVisible*/ ctx[1]) return 1;
		return 2;
	}

	current_block_type_index = select_block_type(ctx, [-1, -1]);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div4 = internal_element("div");
			div2 = internal_element("div");
			div0 = internal_element("div");
			t0 = space();
			div1 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			div3 = internal_element("div");
			create_component(muzifysearchinput.$$.fragment);
			t3 = space();
			if_block.c();
			attr(div0, "class", "muzify-app-player__background");
			set_style(div0, "--cover-bg", "url(" + MAP_CATEGORY_TO_COVER[/*$selectedGenre*/ ctx[6]] + ")");
			toggle_class(div0, "muzify-app-player__background--minimized", /*hideCover*/ ctx[3]);
			attr(div1, "class", "muzify-app-player__genre-name");
			attr(div2, "class", "muzify-app-player__header");
			toggle_class(div2, "muzify-app-player__header--minimized", /*hideCover*/ ctx[3]);
			attr(div3, "class", "muzify-app-player__search");
			attr(div4, "class", "muzify-app-player");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div2);
			append(div2, div0);
			append(div2, t0);
			append(div2, div1);
			append(div1, t1);
			append(div4, t2);
			append(div4, div3);
			mount_component(muzifysearchinput, div3, null);
			append(div4, t3);
			if_blocks[current_block_type_index].m(div4, null);
			current = true;
		},
		p(ctx, dirty) {
			if (!current || dirty[0] & /*$selectedGenre*/ 64) {
				set_style(div0, "--cover-bg", "url(" + MAP_CATEGORY_TO_COVER[/*$selectedGenre*/ ctx[6]] + ")");
			}

			if (dirty[0] & /*hideCover*/ 8) {
				toggle_class(div0, "muzify-app-player__background--minimized", /*hideCover*/ ctx[3]);
			}

			if ((!current || dirty[0] & /*$selectedGenre*/ 64) && t1_value !== (t1_value = MAP_GENRE_TO_NAME[/*$selectedGenre*/ ctx[6]] + "")) set_data(t1, t1_value);

			if (dirty[0] & /*hideCover*/ 8) {
				toggle_class(div2, "muzify-app-player__header--minimized", /*hideCover*/ ctx[3]);
			}

			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(div4, null);
			}
		},
		i(local) {
			if (current) return;
			transition_in(muzifysearchinput.$$.fragment, local);
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(muzifysearchinput.$$.fragment, local);
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div4);
			destroy_component(muzifysearchinput);
			if_blocks[current_block_type_index].d();
		}
	};
}

function player_index_svelte_instance($$self, $$props, $$invalidate) {
	let $viewPlaylist;
	let $selectedGenre;
	let $searchQuery;
	let $playedTime;
	let $currentSong;
	let $progressPercents;
	let $paused;
	let $playingInterval;
	let $favorites;
	let $activePlaylist;
	let $premium;
	component_subscribe($$self, viewPlaylist, $$value => $$invalidate(5, $viewPlaylist = $$value));
	component_subscribe($$self, selectedGenre, $$value => $$invalidate(6, $selectedGenre = $$value));
	component_subscribe($$self, searchQuery, $$value => $$invalidate(30, $searchQuery = $$value));
	component_subscribe($$self, playedTime, $$value => $$invalidate(7, $playedTime = $$value));
	component_subscribe($$self, currentSong, $$value => $$invalidate(8, $currentSong = $$value));
	component_subscribe($$self, progressPercents, $$value => $$invalidate(9, $progressPercents = $$value));
	component_subscribe($$self, paused, $$value => $$invalidate(10, $paused = $$value));
	component_subscribe($$self, playingInterval, $$value => $$invalidate(31, $playingInterval = $$value));
	component_subscribe($$self, favorites, $$value => $$invalidate(32, $favorites = $$value));
	component_subscribe($$self, activePlaylist, $$value => $$invalidate(33, $activePlaylist = $$value));
	component_subscribe($$self, premium, $$value => $$invalidate(11, $premium = $$value));

	let { back = () => {
		
	} } = $$props;

	let loaderVisible = true;
	let messageVisible = false;
	let message = '';
	let buttonsDisabled = false;
	let hideCover = false;
	let progressBarNode = null;

	const buttonsTimeout = () => {
		buttonsDisabled = true;

		setTimeout(
			() => {
				buttonsDisabled = false;
			},
			1000
		);
	};

	const pause = () => {
		if ($paused === true || buttonsDisabled) {
			return;
		}

		set_store_value(paused, $paused = true, $paused);

		if ($selectedGenre === Genres.MyPlaylist) {
			sendClientMessage('muzifyApp.pausePremium', $currentSong.id, $playedTime);
		} else {
			sendClientMessage('muzifyApp.pause', $currentSong.id, $playedTime);
		}

		buttonsTimeout();
	};

	const play = selectedSong => {
		if (buttonsDisabled) {
			return;
		}

		if ($currentSong.id === selectedSong.id) {
			if (!$paused) {
				pause();
				return;
			}

			set_store_value(paused, $paused = false, $paused);
		} else {
			set_store_value(progressPercents, $progressPercents = 0, $progressPercents);
			set_store_value(currentSong, $currentSong = selectedSong, $currentSong);
			set_store_value(activePlaylist, $activePlaylist = $viewPlaylist, $activePlaylist);
			clearInterval($playingInterval);
			set_store_value(playingInterval, $playingInterval = null, $playingInterval);
			set_store_value(playedTime, $playedTime = 0, $playedTime);
			set_store_value(paused, $paused = false, $paused);
		}

		if ((0,lodash.isNil)($playingInterval)) {
			set_store_value(
				playingInterval,
				$playingInterval = setInterval(
					() => {
						if (!$paused && $playedTime < $currentSong.duration) {
							set_store_value(playedTime, $playedTime += 1, $playedTime);
							set_store_value(progressPercents, $progressPercents = countPercents($playedTime, $currentSong.duration), $progressPercents);
						} else if ($playedTime === $currentSong.duration && $currentSong.duration !== 0) {
							// eslint-disable-next-line no-use-before-define
							nextSong();

							set_store_value(playedTime, $playedTime = 0, $playedTime);
						}
					},
					1000
				),
				$playingInterval
			);
		}

		if ($selectedGenre === Genres.MyPlaylist) {
			sendClientMessage('muzifyApp.playPremium', $currentSong.id, $playedTime);
		} else {
			sendClientMessage('muzifyApp.play', $currentSong.id, $playedTime);
		}

		buttonsTimeout();
	};

	const likeSong = song => {
		if (song.like) {
			sendClientMessage('muzifyApp.removeFromFavorite', song.id);

			if ($selectedGenre === Genres.Favorites) {
				set_store_value(viewPlaylist, $viewPlaylist = $viewPlaylist.filter(item => item.id !== song.id), $viewPlaylist);
				set_store_value(activePlaylist, $activePlaylist = $viewPlaylist.filter(item => item.id !== song.id), $activePlaylist);
				set_store_value(favorites, $favorites = $favorites.filter(item => item !== song.id), $favorites);
			}
		} else {
			sendClientMessage('muzifyApp.addToFavorite', song.id);
		}

		set_store_value(
			viewPlaylist,
			$viewPlaylist = $viewPlaylist.reduce(
				(res, item) => {
					if (item.id === song.id) {
						res.push({ ...item, like: !song.like });
					} else {
						res.push({ ...item });
					}

					return res;
				},
				[]
			),
			$viewPlaylist
		);
	};

	const nextSong = () => {
		if ($currentSong.id === -1 || buttonsDisabled) {
			return;
		}

		set_store_value(playedTime, $playedTime = 0, $playedTime);
		const index = $currentSong.index + 1;

		if (index >= 0 && index < $activePlaylist.length) {
			play($activePlaylist[index]);
		} else {
			play($activePlaylist[0]);
		}

		buttonsTimeout();
	};

	const prevSong = () => {
		if ($currentSong.id === -1 || buttonsDisabled) {
			return;
		}

		set_store_value(playedTime, $playedTime = 0, $playedTime);
		const index = $currentSong.index - 1;

		if (index >= 0) {
			play($activePlaylist[index]);
		} else {
			play($activePlaylist[0]);
		}

		buttonsTimeout();
	};

	const getPlaylist = async () => {
		lib_axios.get(GetUrlAPI(API_URL.GetByGenre), { params: { type: $selectedGenre } }).then(response => {
			set_store_value(viewPlaylist, $viewPlaylist = [], $viewPlaylist);

			response.data.forEach((item, i) => {
				$viewPlaylist.push({
					id: item.id,
					songName: item.song_name,
					artistName: item.artist_name,
					duration: item.duration,
					index: i,
					like: $favorites.includes(item.id)
				});

				$$invalidate(0, loaderVisible = false);
				$$invalidate(1, messageVisible = false);
			});
		}).catch(() => {
			$$invalidate(1, messageVisible = true);
			$$invalidate(2, message = 'Произошла ошибка, попробуйте ещё раз');
			$$invalidate(0, loaderVisible = false);
		});
	};

	const getFavorites = () => {
		if ($favorites.length === 0) {
			set_store_value(viewPlaylist, $viewPlaylist = [], $viewPlaylist);
			$$invalidate(1, messageVisible = true);
			$$invalidate(2, message = 'Пусто');
			$$invalidate(0, loaderVisible = false);
			return;
		}

		lib_axios.get(`${GetUrlAPI(API_URL.GetByIDs)}?list=${$favorites.toString()}`).then(response => {
			set_store_value(viewPlaylist, $viewPlaylist = [], $viewPlaylist);

			response.data.forEach((item, i) => {
				$viewPlaylist.push({
					id: item.id,
					songName: item.song_name,
					artistName: item.artist_name,
					duration: item.duration,
					index: i,
					like: $favorites.includes(item.id)
				});
			});

			$$invalidate(1, messageVisible = false);

			if ((0,lodash.isEmpty)($viewPlaylist)) {
				$$invalidate(1, messageVisible = true);
				$$invalidate(2, message = 'Пусто');
			}

			$$invalidate(0, loaderVisible = false);
		}).catch(() => {
			$$invalidate(1, messageVisible = true);
			$$invalidate(2, message = 'Произошла ошибка, попробуйте ещё раз');
			$$invalidate(0, loaderVisible = false);
		});
	};

	const switchHeader = event => {
		$$invalidate(3, hideCover = event.target.scrollTop >= 170 || (0,lodash.isNil)(MAP_CATEGORY_TO_COVER[$selectedGenre]));
	};

	const rewind = event => {
		if (buttonsDisabled) {
			return;
		}

		set_store_value(progressPercents, $progressPercents = countPercents(event.offsetX, progressBarNode.offsetWidth), $progressPercents);
		set_store_value(playedTime, $playedTime = Math.floor($currentSong.duration / 100 * $progressPercents), $playedTime);

		if ($selectedGenre === Genres.MyPlaylist) {
			sendClientMessage('muzifyApp.rewindPremium', $currentSong.id, $playedTime);
		} else {
			sendClientMessage('muzifyApp.rewind', $currentSong.id, $playedTime);
		}

		set_store_value(paused, $paused = false, $paused);
		buttonsTimeout();
	};

	const inititalizeCustomPlaylist = playlist => {
		playlist.forEach(item => {
			$viewPlaylist.push({
				id: item.id,
				songName: item.song_name,
				artistName: item.artist_name,
				duration: item.duration,
				like: $favorites.includes(item.id)
			});
		});

		set_store_value(
			viewPlaylist,
			$viewPlaylist = $viewPlaylist.reduce(
				(res, song, i) => {
					res.push({ ...song, index: i });
					return res;
				},
				[]
			),
			$viewPlaylist
		);

		$$invalidate(0, loaderVisible = false);
	};

	const search = async () => {
		if ((0,lodash.isEmpty)($searchQuery)) {
			if ($selectedGenre === Genres.Favorites) {
				getFavorites();
			} else if ($selectedGenre === Genres.MyPlaylist) {
				set_store_value(viewPlaylist, $viewPlaylist = [], $viewPlaylist);
				sendClientMessage('muzifyApp.loadCustomPlaylist');
			} else // inititalizeCustomPlaylist([]);
			{
				getPlaylist(); // inititalizeCustomPlaylist(PLAYLIST_MOCK);
			}

			return;
		}

		if ($searchQuery.length <= 2) {
			return;
		}

		lib_axios.get(GetUrlAPI(API_URL.GetByName), { params: { name: $searchQuery } }).then(response => {
			if (response.data.length > 0) {
				set_store_value(viewPlaylist, $viewPlaylist = [], $viewPlaylist);

				response.data.forEach((item, i) => {
					$viewPlaylist.push({
						id: item.id,
						songName: item.song_name,
						artistName: item.artist_name,
						duration: item.duration,
						index: i,
						like: $favorites.includes(item.id)
					});
				});

				$$invalidate(1, messageVisible = false);
			} else {
				$$invalidate(1, messageVisible = true);
				$$invalidate(2, message = 'Не найдено');
			}

			$$invalidate(0, loaderVisible = false);
		}).catch(() => {
			$$invalidate(1, messageVisible = true);
			$$invalidate(2, message = 'Произошла ошибка, попробуйте ещё раз');
			$$invalidate(0, loaderVisible = false);
		});
	};

	const unregisterInitializeCustomPlaylist = registerEvent('event.muzify.inititalizeCustomPlaylist', inititalizeCustomPlaylist);

	const clear = () => {
		set_store_value(searchQuery, $searchQuery = '', $searchQuery);
		set_store_value(viewPlaylist, $viewPlaylist = [], $viewPlaylist);

		if ($selectedGenre === Genres.Favorites) {
			getFavorites();
		} else if ($selectedGenre === Genres.MyPlaylist) {
			sendClientMessage('muzifyApp.loadCustomPlaylist');
		} else if ($selectedGenre === Genres.Search) {
			back(); // inititalizeCustomPlaylist(PLAYLIST_MOCK);
		} else {
			getPlaylist();
		}
	};

	onMount(() => {
		clearInterval($playingInterval);
		set_store_value(playingInterval, $playingInterval = null, $playingInterval);

		set_store_value(
			playingInterval,
			$playingInterval = setInterval(
				() => {
					if (!$paused && $playedTime < $currentSong.duration) {
						set_store_value(playedTime, $playedTime += 1, $playedTime);
						set_store_value(progressPercents, $progressPercents = countPercents($playedTime, $currentSong.duration), $progressPercents);
					} else if ($playedTime === $currentSong.duration && $currentSong.duration !== 0) {
						// eslint-disable-next-line no-use-before-define
						nextSong();

						set_store_value(playedTime, $playedTime = 0, $playedTime);
					}
				},
				1000
			),
			$playingInterval
		);

		set_store_value(viewPlaylist, $viewPlaylist = [], $viewPlaylist);
		$$invalidate(3, hideCover = (0,lodash.isNil)(MAP_CATEGORY_TO_COVER[$selectedGenre]));

		if (!(0,lodash.isEmpty)($searchQuery)) {
			search();
		} else if ($selectedGenre === Genres.Favorites) {
			getFavorites();
		} else if ($selectedGenre === Genres.MyPlaylist) {
			set_store_value(viewPlaylist, $viewPlaylist = [], $viewPlaylist);
			sendClientMessage('muzifyApp.loadCustomPlaylist');

			// inititalizeCustomPlaylist(PLAYLIST_MOCK);
			inititalizeCustomPlaylist([]);
		} else {
			getPlaylist();
		}
	});

	onDestroy(() => {
		unregisterInitializeCustomPlaylist();
	});

	const func = song => play(song);
	const func_1 = song => likeSong(song);
	const scroll_handler = event => switchHeader(event);
	const click_handler = () => sendClientMessage('muzifyApp.purchaseTitan');
	const click_handler_1 = () => play($currentSong);
	const click_handler_2 = event => rewind(event);

	function div8_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			progressBarNode = $$value;
			$$invalidate(4, progressBarNode);
		});
	}

	$$self.$$set = $$props => {
		if ('back' in $$props) $$invalidate(21, back = $$props.back);
	};

	return [
		loaderVisible,
		messageVisible,
		message,
		hideCover,
		progressBarNode,
		$viewPlaylist,
		$selectedGenre,
		$playedTime,
		$currentSong,
		$progressPercents,
		$paused,
		$premium,
		pause,
		play,
		likeSong,
		nextSong,
		prevSong,
		switchHeader,
		rewind,
		search,
		clear,
		back,
		func,
		func_1,
		scroll_handler,
		click_handler,
		click_handler_1,
		click_handler_2,
		div8_binding
	];
}

class Player extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, player_index_svelte_instance, player_index_svelte_create_fragment, safe_not_equal, { back: 21 }, null, [-1, -1]);
	}
}

/* harmony default export */ const player_index_svelte = (Player);
;// CONCATENATED MODULE: ./src/views/phone/apps/muzify/components-map.js
function muzify_components_map_typeof(o) { "@babel/helpers - typeof"; return muzify_components_map_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, muzify_components_map_typeof(o); }
function muzify_components_map_defineProperty(e, r, t) { return (r = muzify_components_map_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function muzify_components_map_toPropertyKey(t) { var i = muzify_components_map_toPrimitive(t, "string"); return "symbol" == muzify_components_map_typeof(i) ? i : i + ""; }
function muzify_components_map_toPrimitive(t, r) { if ("object" != muzify_components_map_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != muzify_components_map_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }



var MAP_SCREENS_TO_COMPONENT = muzify_components_map_defineProperty(muzify_components_map_defineProperty({}, muzify_constants_Screens.Main, genre_list_index_svelte), muzify_constants_Screens.Player, player_index_svelte);
;// CONCATENATED MODULE: ./src/views/phone/apps/muzify/index.svelte
/* src\views\phone\apps\muzify\index.svelte generated by Svelte v3.49.0 */












function muzify_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[14] = list[i];
	child_ctx[16] = i;
	return child_ctx;
}

// (62:12) {#if isEmpty($selectedScreen) || $selectedScreen !== Screens.Player}
function muzify_index_svelte_create_if_block_3(ctx) {
	let div1;

	return {
		c() {
			div1 = internal_element("div");

			div1.innerHTML = `<i class="muzify-app__icon icon-muzify-app"></i> 
                    <div class="muzify-app__title">Музытифи</div>`;

			attr(div1, "class", "muzify-app__title-wrapper");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (69:16) {#if isEmpty($selectedScreen)}
function muzify_index_svelte_create_if_block_1(ctx) {
	let div0;
	let i;
	let i_class_value;
	let t;
	let div1;
	let each_value = Devices;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = muzify_index_svelte_create_each_block(muzify_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div0 = internal_element("div");
			i = internal_element("i");
			t = space();
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(i, "class", i_class_value = "muzify-app__selected-device icon-muzify-" + Devices[/*$selectedDevice*/ ctx[1]]);
			attr(div0, "class", "muzify-app__output-switcher");
			attr(div1, "class", "muzify-app__device-list");
		},
		m(target, anchor) {
			insert(target, div0, anchor);
			append(div0, i);
			insert(target, t, anchor);
			insert(target, div1, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}
		},
		p(ctx, dirty) {
			if (dirty & /*$selectedDevice*/ 2 && i_class_value !== (i_class_value = "muzify-app__selected-device icon-muzify-" + Devices[/*$selectedDevice*/ ctx[1]])) {
				attr(i, "class", i_class_value);
			}

			if (dirty & /*Devices, changeDevice, $selectedDevice*/ 66) {
				each_value = Devices;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = muzify_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = muzify_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div1, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		d(detaching) {
			if (detaching) detach(div0);
			if (detaching) detach(t);
			if (detaching) detach(div1);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (75:28) {#if $selectedDevice !== index}
function muzify_index_svelte_create_if_block_2(ctx) {
	let i;
	let i_class_value;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[8](/*index*/ ctx[16]);
	}

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", i_class_value = "muzify-app__device-item icon-muzify-" + /*device*/ ctx[14]);
		},
		m(target, anchor) {
			insert(target, i, anchor);

			if (!mounted) {
				dispose = listen(i, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
		},
		d(detaching) {
			if (detaching) detach(i);
			mounted = false;
			dispose();
		}
	};
}

// (74:24) {#each Devices as device, index}
function muzify_index_svelte_create_each_block(ctx) {
	let if_block_anchor;
	let if_block = /*$selectedDevice*/ ctx[1] !== /*index*/ ctx[16] && muzify_index_svelte_create_if_block_2(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
		},
		p(ctx, dirty) {
			if (/*$selectedDevice*/ ctx[1] !== /*index*/ ctx[16]) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = muzify_index_svelte_create_if_block_2(ctx);
					if_block.c();
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

// (83:8) {#if isEmpty($selectedScreen)}
function muzify_index_svelte_create_if_block(ctx) {
	let div8;
	let div3;
	let t2;
	let div7;
	let t5;
	let div9;
	let muzifysearchinput;
	let current;
	let mounted;
	let dispose;

	muzifysearchinput = new search_input_index_svelte({
			props: {
				search: /*search*/ ctx[4],
				clear: /*clearQuery*/ ctx[2]
			}
		});

	return {
		c() {
			div8 = internal_element("div");
			div3 = internal_element("div");

			div3.innerHTML = `<div class="muzify-app__preference-icon-wrapper muzify-app__preference-icon-wrapper--favorites"><i class="muzify-app__preference-icon icon-muzify-prefer"></i></div> 
                    <div class="muzify-app__preference-title-wrapper"><div class="muzify-app__preference-title">Любимые треки</div></div>`;

			t2 = space();
			div7 = internal_element("div");

			div7.innerHTML = `<div class="muzify-app__preference-icon-wrapper muzify-app__preference-icon-wrapper--playlist"><i class="muzify-app__preference-icon icon-muzify-playlist"></i></div> 
                    <div class="muzify-app__preference-title-wrapper"><div class="muzify-app__preference-title">Мой плейлист</div></div>`;

			t5 = space();
			div9 = internal_element("div");
			create_component(muzifysearchinput.$$.fragment);
			attr(div3, "class", "muzify-app__preference");
			attr(div7, "class", "muzify-app__preference");
			attr(div8, "class", "muzify-app__preferences");
			attr(div9, "class", "muzify-app__search");
		},
		m(target, anchor) {
			insert(target, div8, anchor);
			append(div8, div3);
			append(div8, t2);
			append(div8, div7);
			insert(target, t5, anchor);
			insert(target, div9, anchor);
			mount_component(muzifysearchinput, div9, null);
			current = true;

			if (!mounted) {
				dispose = [
					listen(div3, "click", /*click_handler_1*/ ctx[9]),
					listen(div7, "click", /*click_handler_2*/ ctx[10])
				];

				mounted = true;
			}
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(muzifysearchinput.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(muzifysearchinput.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div8);
			if (detaching) detach(t5);
			if (detaching) detach(div9);
			destroy_component(muzifysearchinput);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function muzify_index_svelte_create_fragment(ctx) {
	let div5;
	let div3;
	let div2;
	let div0;
	let i;
	let t0;
	let show_if_2 = (0,lodash.isEmpty)(/*$selectedScreen*/ ctx[0]) || /*$selectedScreen*/ ctx[0] !== muzify_constants_Screens.Player;
	let t1;
	let div1;
	let show_if_1 = (0,lodash.isEmpty)(/*$selectedScreen*/ ctx[0]);
	let t2;
	let show_if = (0,lodash.isEmpty)(/*$selectedScreen*/ ctx[0]);
	let t3;
	let div4;
	let switch_instance;
	let current;
	let mounted;
	let dispose;
	let if_block0 = show_if_2 && muzify_index_svelte_create_if_block_3(ctx);
	let if_block1 = show_if_1 && muzify_index_svelte_create_if_block_1(ctx);
	let if_block2 = show_if && muzify_index_svelte_create_if_block(ctx);
	var switch_value = MAP_SCREENS_TO_COMPONENT[/*$selectedScreen*/ ctx[0]];

	function switch_props(ctx) {
		return { props: { back: /*back*/ ctx[3] } };
	}

	if (switch_value) {
		switch_instance = new switch_value(switch_props(ctx));
	}

	return {
		c() {
			div5 = internal_element("div");
			div3 = internal_element("div");
			div2 = internal_element("div");
			div0 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			if (if_block0) if_block0.c();
			t1 = space();
			div1 = internal_element("div");
			if (if_block1) if_block1.c();
			t2 = space();
			if (if_block2) if_block2.c();
			t3 = space();
			div4 = internal_element("div");
			if (switch_instance) create_component(switch_instance.$$.fragment);
			attr(i, "class", "muzify-app__back icon-chevron-left");
			attr(div0, "class", "muzify-app__back-wrapper");
			attr(div1, "class", "muzify-app__output-switcher-wrapper");
			attr(div2, "class", "muzify-app__first-line");
			toggle_class(div2, "muzify-app__first-line--pushed", /*$selectedScreen*/ ctx[0] === muzify_constants_Screens.Player);
			attr(div3, "class", "muzify-app__upbar");
			attr(div4, "class", "muzify-app__main");
			toggle_class(div4, "muzify-app__main--zero-padding", /*$selectedScreen*/ ctx[0] === muzify_constants_Screens.Player);
			attr(div5, "class", "muzify-app");
			toggle_class(div5, "muzify-app--zero-padding", /*$selectedScreen*/ ctx[0] === muzify_constants_Screens.Player);
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			append(div5, div3);
			append(div3, div2);
			append(div2, div0);
			append(div0, i);
			append(div2, t0);
			if (if_block0) if_block0.m(div2, null);
			append(div2, t1);
			append(div2, div1);
			if (if_block1) if_block1.m(div1, null);
			append(div3, t2);
			if (if_block2) if_block2.m(div3, null);
			append(div5, t3);
			append(div5, div4);

			if (switch_instance) {
				mount_component(switch_instance, div4, null);
			}

			current = true;

			if (!mounted) {
				dispose = listen(i, "click", /*back*/ ctx[3]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*$selectedScreen*/ 1) show_if_2 = (0,lodash.isEmpty)(/*$selectedScreen*/ ctx[0]) || /*$selectedScreen*/ ctx[0] !== muzify_constants_Screens.Player;

			if (show_if_2) {
				if (if_block0) {
					
				} else {
					if_block0 = muzify_index_svelte_create_if_block_3(ctx);
					if_block0.c();
					if_block0.m(div2, t1);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty & /*$selectedScreen*/ 1) show_if_1 = (0,lodash.isEmpty)(/*$selectedScreen*/ ctx[0]);

			if (show_if_1) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = muzify_index_svelte_create_if_block_1(ctx);
					if_block1.c();
					if_block1.m(div1, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty & /*$selectedScreen, Screens*/ 1) {
				toggle_class(div2, "muzify-app__first-line--pushed", /*$selectedScreen*/ ctx[0] === muzify_constants_Screens.Player);
			}

			if (dirty & /*$selectedScreen*/ 1) show_if = (0,lodash.isEmpty)(/*$selectedScreen*/ ctx[0]);

			if (show_if) {
				if (if_block2) {
					if_block2.p(ctx, dirty);

					if (dirty & /*$selectedScreen*/ 1) {
						transition_in(if_block2, 1);
					}
				} else {
					if_block2 = muzify_index_svelte_create_if_block(ctx);
					if_block2.c();
					transition_in(if_block2, 1);
					if_block2.m(div3, null);
				}
			} else if (if_block2) {
				group_outros();

				transition_out(if_block2, 1, 1, () => {
					if_block2 = null;
				});

				check_outros();
			}

			if (switch_value !== (switch_value = MAP_SCREENS_TO_COMPONENT[/*$selectedScreen*/ ctx[0]])) {
				if (switch_instance) {
					group_outros();
					const old_component = switch_instance;

					transition_out(old_component.$$.fragment, 1, 0, () => {
						destroy_component(old_component, 1);
					});

					check_outros();
				}

				if (switch_value) {
					switch_instance = new switch_value(switch_props(ctx));
					create_component(switch_instance.$$.fragment);
					transition_in(switch_instance.$$.fragment, 1);
					mount_component(switch_instance, div4, null);
				} else {
					switch_instance = null;
				}
			} else if (switch_value) {
				
			}

			if (dirty & /*$selectedScreen, Screens*/ 1) {
				toggle_class(div4, "muzify-app__main--zero-padding", /*$selectedScreen*/ ctx[0] === muzify_constants_Screens.Player);
			}

			if (dirty & /*$selectedScreen, Screens*/ 1) {
				toggle_class(div5, "muzify-app--zero-padding", /*$selectedScreen*/ ctx[0] === muzify_constants_Screens.Player);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block2);
			if (switch_instance) transition_in(switch_instance.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(if_block2);
			if (switch_instance) transition_out(switch_instance.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div5);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			if (if_block2) if_block2.d();
			if (switch_instance) destroy_component(switch_instance);
			mounted = false;
			dispose();
		}
	};
}

function muzify_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedScreen;
	let $selectedGenre;
	let $searchQuery;
	let $selectedDevice;
	component_subscribe($$self, muzify_store_selectedScreen, $$value => $$invalidate(0, $selectedScreen = $$value));
	component_subscribe($$self, selectedGenre, $$value => $$invalidate(12, $selectedGenre = $$value));
	component_subscribe($$self, searchQuery, $$value => $$invalidate(13, $searchQuery = $$value));
	component_subscribe($$self, selectedDevice, $$value => $$invalidate(1, $selectedDevice = $$value));

	let { backToMainMenu = () => {
		
	} } = $$props;

	let timeoutId = null;

	const clearQuery = () => {
		set_store_value(searchQuery, $searchQuery = '', $searchQuery);
	};

	const back = () => {
		if ((0,lodash.isEmpty)($selectedScreen)) {
			backToMainMenu();
		} else {
			clearQuery();
			set_store_value(muzify_store_selectedScreen, $selectedScreen = muzify_constants_Screens.Main, $selectedScreen);
			set_store_value(selectedGenre, $selectedGenre = '', $selectedGenre);
		}
	};

	const search = () => {
		if (!(0,lodash.isNil)(timeoutId) && $searchQuery.length > 2) {
			clearTimeout(timeoutId);
		}

		timeoutId = setTimeout(
			() => {
				if ($searchQuery.length > 2) {
					set_store_value(selectedGenre, $selectedGenre = Genres.Search, $selectedGenre);
					set_store_value(muzify_store_selectedScreen, $selectedScreen = muzify_constants_Screens.Player, $selectedScreen);
				}
			},
			400
		);
	};

	const selectCategory = genre => {
		clearQuery();
		set_store_value(selectedGenre, $selectedGenre = genre, $selectedGenre);
		set_store_value(muzify_store_selectedScreen, $selectedScreen = muzify_constants_Screens.Player, $selectedScreen);
	};

	const changeDevice = deviceId => {
		sendClientMessage('muzifyApp.changeDevice', deviceId);
	};

	const click_handler = index => {
		changeDevice(index);
	};

	const click_handler_1 = () => selectCategory(Genres.Favorites);
	const click_handler_2 = () => selectCategory(Genres.MyPlaylist);

	$$self.$$set = $$props => {
		if ('backToMainMenu' in $$props) $$invalidate(7, backToMainMenu = $$props.backToMainMenu);
	};

	return [
		$selectedScreen,
		$selectedDevice,
		clearQuery,
		back,
		search,
		selectCategory,
		changeDevice,
		backToMainMenu,
		click_handler,
		click_handler_1,
		click_handler_2
	];
}

class Muzify extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, muzify_index_svelte_instance, muzify_index_svelte_create_fragment, safe_not_equal, { backToMainMenu: 7 });
	}
}

/* harmony default export */ const muzify_index_svelte = (Muzify);
;// CONCATENATED MODULE: ./src/views/phone/img/app/rating/placement/first.png
const first_namespaceObject = __webpack_require__.p + "assets/a6ea60cf97ab9aa7f7dc.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/rating/placement/second.png
const second_namespaceObject = __webpack_require__.p + "assets/d3128a0158cc53dbd22b.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/rating/placement/third.png
const third_namespaceObject = __webpack_require__.p + "assets/f53d6fbe333b15748314.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/rating/placement/fourth.png
const fourth_namespaceObject = __webpack_require__.p + "assets/e6d680ab7f90e40ab7e3.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/rating/placement/fifth.png
const fifth_namespaceObject = __webpack_require__.p + "assets/260ce564427e2c6f6be9.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/rating/placement/sixth.png
const sixth_namespaceObject = __webpack_require__.p + "assets/ddfd3961dd804fc8810e.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/rating/placement/seventh.png
const seventh_namespaceObject = __webpack_require__.p + "assets/30d15c032cd4758e6bce.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/rating/placement/eighth.png
const eighth_namespaceObject = __webpack_require__.p + "assets/4c337105ea55ef55b1d6.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/rating/placement/ninth.png
const ninth_namespaceObject = __webpack_require__.p + "assets/9ddef8f6e3a92d43bfac.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/rating/placement/tenth.png
const tenth_namespaceObject = __webpack_require__.p + "assets/d849a0ce487b780a6209.webp";
;// CONCATENATED MODULE: ./src/views/phone/apps/rating/constants.js










var rating_constants_Screens = {
  List: 'list',
  Details: 'details'
};
var Rating = {
  Mafia: 'mafia',
  Family: 'family',
  Organizations: 'organizations',
  Total: 'total'
};
var PLACEMENT_ICONS = [first_namespaceObject, second_namespaceObject, third_namespaceObject, fourth_namespaceObject, fifth_namespaceObject, sixth_namespaceObject, seventh_namespaceObject, eighth_namespaceObject, ninth_namespaceObject, tenth_namespaceObject];
;// CONCATENATED MODULE: ./src/views/phone/apps/rating/store.js
function rating_store_toConsumableArray(r) { return rating_store_arrayWithoutHoles(r) || rating_store_iterableToArray(r) || rating_store_unsupportedIterableToArray(r) || rating_store_nonIterableSpread(); }
function rating_store_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 rating_store_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return rating_store_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? rating_store_arrayLikeToArray(r, a) : void 0; } }
function rating_store_iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
function rating_store_arrayWithoutHoles(r) { if (Array.isArray(r)) return rating_store_arrayLikeToArray(r); }
function rating_store_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }



var rating_store_selectedScreen = writable('');
var ratingList = writable([]);
var ratingDetails = writable(null);
var statsColumns = writable([]);
var menu = writable([]);
var initializeMenu = function initializeMenu(menuData) {
  return menu.set(menuData);
};
registerEvent('event.rating.initializeMenu', initializeMenu);
var initializeColumns = function initializeColumns(statsColumnsData) {
  return statsColumns.set(statsColumnsData);
};
registerEvent('event.rating.initializeColumns', initializeColumns);
var initializeRatingList = function initializeRatingList(ratingListData) {
  return ratingList.set([].concat(rating_store_toConsumableArray(get_store_value(ratingList)), rating_store_toConsumableArray(ratingListData)));
};
registerEvent('event.rating.initializeRatingList', initializeRatingList);
var initializeRatingDetails = function initializeRatingDetails(ratingDetailsData) {
  return ratingDetails.set(ratingDetailsData);
};
registerEvent('event.rating.initializeRatingDetails', initializeRatingDetails);
var initializeShowDetails = function initializeShowDetails() {
  return rating_store_selectedScreen.set(rating_constants_Screens.Details);
};
registerEvent('event.rating.initializeShowDetails', initializeShowDetails);
;// CONCATENATED MODULE: ./src/views/phone/apps/rating/components/list/index.svelte
/* src\views\phone\apps\rating\components\list\index.svelte generated by Svelte v3.49.0 */







function list_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[9] = list[i];
	child_ctx[11] = i;
	return child_ctx;
}

function list_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[12] = list[i];
	return child_ctx;
}

function list_index_svelte_get_each_context_2(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[15] = list[i];
	child_ctx[11] = i;
	return child_ctx;
}

// (37:8) {#each $menu as item, index}
function list_index_svelte_create_each_block_2(ctx) {
	let div;
	let t_value = /*item*/ ctx[15] + "";
	let t;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[6](/*index*/ ctx[11]);
	}

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "rating-list__menu-item");
			toggle_class(div, "rating-list__menu-item--active", /*selectedRating*/ ctx[0] === /*index*/ ctx[11]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);

			if (!mounted) {
				dispose = listen(div, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if (dirty & /*$menu*/ 4 && t_value !== (t_value = /*item*/ ctx[15] + "")) set_data(t, t_value);

			if (dirty & /*selectedRating*/ 1) {
				toggle_class(div, "rating-list__menu-item--active", /*selectedRating*/ ctx[0] === /*index*/ ctx[11]);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (58:28) {#if rating.you}
function list_index_svelte_create_if_block_1(ctx) {
	let br;
	let t0;
	let span;

	return {
		c() {
			br = internal_element("br");
			t0 = space();
			span = internal_element("span");
			span.textContent = "Вы";
			attr(span, "class", "rating-list__you");
		},
		m(target, anchor) {
			insert(target, br, anchor);
			insert(target, t0, anchor);
			insert(target, span, anchor);
		},
		d(detaching) {
			if (detaching) detach(br);
			if (detaching) detach(t0);
			if (detaching) detach(span);
		}
	};
}

// (62:24) {#if rating.level > 0}
function list_index_svelte_create_if_block(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = PLACEMENT_ICONS[/*rating*/ ctx[9].level - 1])) attr(img, "src", img_src_value);
			attr(img, "alt", "");
			attr(img, "class", "rating-list__item-player-placement-icon");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*$ratingList*/ 2 && !src_url_equal(img.src, img_src_value = PLACEMENT_ICONS[/*rating*/ ctx[9].level - 1])) {
				attr(img, "src", img_src_value);
			}
		},
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (68:20) {#each $statsColumns as column}
function list_index_svelte_create_each_block_1(ctx) {
	let div2;
	let div0;
	let t0_value = /*rating*/ ctx[9][/*column*/ ctx[12].id] + "";
	let t0;
	let t1;
	let div1;
	let t2_value = /*column*/ ctx[12].caption + "";
	let t2;
	let t3;

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			div1 = internal_element("div");
			t2 = internal_text(t2_value);
			t3 = space();
			attr(div0, "class", "rating-list__item-stat-value");
			attr(div1, "class", "rating-list__item-stat-caption");
			attr(div2, "class", "rating-list__item-stat-wrapper");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div0, t0);
			append(div2, t1);
			append(div2, div1);
			append(div1, t2);
			append(div2, t3);
		},
		p(ctx, dirty) {
			if (dirty & /*$ratingList, $statsColumns*/ 10 && t0_value !== (t0_value = /*rating*/ ctx[9][/*column*/ ctx[12].id] + "")) set_data(t0, t0_value);
			if (dirty & /*$statsColumns*/ 8 && t2_value !== (t2_value = /*column*/ ctx[12].caption + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

// (52:8) {#each $ratingList as rating, index}
function list_index_svelte_create_each_block(ctx) {
	let div5;
	let div3;
	let div0;
	let t0_value = /*index*/ ctx[11] + 1 + "";
	let t0;
	let t1;
	let t2;
	let div2;
	let div1;
	let t3_value = /*rating*/ ctx[9].name + "";
	let t3;
	let t4;
	let t5;
	let t6;
	let div4;
	let t7;
	let mounted;
	let dispose;
	let if_block0 = /*rating*/ ctx[9].you && list_index_svelte_create_if_block_1(ctx);
	let if_block1 = /*rating*/ ctx[9].level > 0 && list_index_svelte_create_if_block(ctx);
	let each_value_1 = /*$statsColumns*/ ctx[3];
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = list_index_svelte_create_each_block_1(list_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	function click_handler_2() {
		return /*click_handler_2*/ ctx[8](/*rating*/ ctx[9]);
	}

	return {
		c() {
			div5 = internal_element("div");
			div3 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = internal_text(" место");
			t2 = space();
			div2 = internal_element("div");
			div1 = internal_element("div");
			t3 = internal_text(t3_value);
			t4 = space();
			if (if_block0) if_block0.c();
			t5 = space();
			if (if_block1) if_block1.c();
			t6 = space();
			div4 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t7 = space();
			attr(div0, "class", "rating-list__item-placement");
			attr(div1, "class", "rating-list__item-player-name");
			attr(div2, "class", "rating-list__item-player-name-wrapper");
			attr(div3, "class", "rating-list__name-wrapper");
			attr(div4, "class", "rating-list__item-stats-wrapper");
			set_style(div4, "--columns-count", /*$statsColumns*/ ctx[3].length);
			attr(div5, "class", "rating-list__item");
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			append(div5, div3);
			append(div3, div0);
			append(div0, t0);
			append(div0, t1);
			append(div3, t2);
			append(div3, div2);
			append(div2, div1);
			append(div1, t3);
			append(div1, t4);
			if (if_block0) if_block0.m(div1, null);
			append(div2, t5);
			if (if_block1) if_block1.m(div2, null);
			append(div5, t6);
			append(div5, div4);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div4, null);
			}

			append(div5, t7);

			if (!mounted) {
				dispose = listen(div5, "click", click_handler_2);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if (dirty & /*$ratingList*/ 2 && t3_value !== (t3_value = /*rating*/ ctx[9].name + "")) set_data(t3, t3_value);

			if (/*rating*/ ctx[9].you) {
				if (if_block0) {
					
				} else {
					if_block0 = list_index_svelte_create_if_block_1(ctx);
					if_block0.c();
					if_block0.m(div1, null);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (/*rating*/ ctx[9].level > 0) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = list_index_svelte_create_if_block(ctx);
					if_block1.c();
					if_block1.m(div2, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty & /*$statsColumns, $ratingList*/ 10) {
				each_value_1 = /*$statsColumns*/ ctx[3];
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = list_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = list_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div4, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}

			if (dirty & /*$statsColumns*/ 8) {
				set_style(div4, "--columns-count", /*$statsColumns*/ ctx[3].length);
			}
		},
		d(detaching) {
			if (detaching) detach(div5);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			destroy_each(each_blocks, detaching);
			mounted = false;
			dispose();
		}
	};
}

function list_index_svelte_create_fragment(ctx) {
	let div7;
	let div2;
	let t3;
	let div3;
	let t4;
	let div5;
	let t8;
	let div6;
	let mounted;
	let dispose;
	let each_value_2 = /*$menu*/ ctx[2];
	let each_blocks_1 = [];

	for (let i = 0; i < each_value_2.length; i += 1) {
		each_blocks_1[i] = list_index_svelte_create_each_block_2(list_index_svelte_get_each_context_2(ctx, each_value_2, i));
	}

	let each_value = /*$ratingList*/ ctx[1];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = list_index_svelte_create_each_block(list_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div7 = internal_element("div");
			div2 = internal_element("div");

			div2.innerHTML = `<div class="rating-list__title">РЕЙТИНГ</div> 
        <div class="rating-list__top">ТОП-15</div>`;

			t3 = space();
			div3 = internal_element("div");

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].c();
			}

			t4 = space();
			div5 = internal_element("div");

			div5.innerHTML = `<i class="rating-list__info-icon icon-family-info"></i> 
        <div class="rating-list__info-text">Рейтинг обновляется <br/> каждую неделю</div>`;

			t8 = space();
			div6 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div2, "class", "rating-list__title-wrapper");
			attr(div3, "class", "rating-list__menu");
			attr(div5, "class", "rating-list__info-wrapper");
			attr(div6, "class", "rating-list__list");
			attr(div7, "class", "rating-list");
		},
		m(target, anchor) {
			insert(target, div7, anchor);
			append(div7, div2);
			append(div7, t3);
			append(div7, div3);

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].m(div3, null);
			}

			append(div7, t4);
			append(div7, div5);
			append(div7, t8);
			append(div7, div6);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div6, null);
			}

			if (!mounted) {
				dispose = listen(div5, "click", /*click_handler_1*/ ctx[7]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*selectedRating, selectRating, $menu*/ 21) {
				each_value_2 = /*$menu*/ ctx[2];
				let i;

				for (i = 0; i < each_value_2.length; i += 1) {
					const child_ctx = list_index_svelte_get_each_context_2(ctx, each_value_2, i);

					if (each_blocks_1[i]) {
						each_blocks_1[i].p(child_ctx, dirty);
					} else {
						each_blocks_1[i] = list_index_svelte_create_each_block_2(child_ctx);
						each_blocks_1[i].c();
						each_blocks_1[i].m(div3, null);
					}
				}

				for (; i < each_blocks_1.length; i += 1) {
					each_blocks_1[i].d(1);
				}

				each_blocks_1.length = each_value_2.length;
			}

			if (dirty & /*showDetails, $ratingList, $statsColumns, PLACEMENT_ICONS*/ 42) {
				each_value = /*$ratingList*/ ctx[1];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = list_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = list_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div6, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div7);
			destroy_each(each_blocks_1, detaching);
			destroy_each(each_blocks, detaching);
			mounted = false;
			dispose();
		}
	};
}

function list_index_svelte_instance($$self, $$props, $$invalidate) {
	let $ratingList;
	let $menu;
	let $statsColumns;
	component_subscribe($$self, ratingList, $$value => $$invalidate(1, $ratingList = $$value));
	component_subscribe($$self, menu, $$value => $$invalidate(2, $menu = $$value));
	component_subscribe($$self, statsColumns, $$value => $$invalidate(3, $statsColumns = $$value));
	let selectedRating = Rating.Bands;

	const selectRating = ratingId => {
		if (selectedRating === ratingId) {
			return;
		}

		$$invalidate(0, selectedRating = ratingId);
		set_store_value(ratingList, $ratingList = [], $ratingList);
		sendClientMessage('rating.selectedRating', ratingId);
	};

	const showDetails = ratingId => {
		sendClientMessage('rating.showDetails', ratingId);

		// $selectedScreen = Screens.Details;
		$$invalidate(0, selectedRating = ratingId);
	};

	const click_handler = index => selectRating(index);
	const click_handler_1 = () => sendClientMessage('rating.openInfo');
	const click_handler_2 = rating => showDetails(rating.id);

	return [
		selectedRating,
		$ratingList,
		$menu,
		$statsColumns,
		selectRating,
		showDetails,
		click_handler,
		click_handler_1,
		click_handler_2
	];
}

class List extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, list_index_svelte_instance, list_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const list_index_svelte = (List);
;// CONCATENATED MODULE: ./src/views/phone/apps/rating/components/details/index.svelte
/* src\views\phone\apps\rating\components\details\index.svelte generated by Svelte v3.49.0 */







function details_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[1] = list[i];
	return child_ctx;
}

// (10:4) {#if !isNil($ratingDetails)}
function details_index_svelte_create_if_block(ctx) {
	let div5;
	let div1;
	let div0;
	let t0_value = /*$ratingDetails*/ ctx[0].name + "";
	let t0;
	let t1;
	let t2;
	let div2;
	let t3_value = /*$ratingDetails*/ ctx[0].status + "";
	let t3;
	let t4;
	let div3;
	let t5_value = /*$ratingDetails*/ ctx[0].placement + "";
	let t5;
	let t6;
	let t7;
	let div4;
	let t8;
	let div27;
	let div8;
	let div6;
	let t9_value = /*$ratingDetails*/ ctx[0].headshots + "";
	let t9;
	let t10;
	let div7;
	let t13;
	let div11;
	let div9;
	let t14_value = /*$ratingDetails*/ ctx[0].leftHand + "";
	let t14;
	let t15;
	let div10;
	let t18;
	let div14;
	let div12;
	let t19_value = /*$ratingDetails*/ ctx[0].rightHand + "";
	let t19;
	let t20;
	let div13;
	let t23;
	let div17;
	let div15;
	let t24_value = /*$ratingDetails*/ ctx[0].torso + "";
	let t24;
	let t25;
	let div16;
	let t28;
	let div20;
	let div18;
	let t29_value = /*$ratingDetails*/ ctx[0].groin + "";
	let t29;
	let t30;
	let div19;
	let t33;
	let div23;
	let div21;
	let t34_value = /*$ratingDetails*/ ctx[0].leftLeg + "";
	let t34;
	let t35;
	let div22;
	let t38;
	let div26;
	let div24;
	let t39_value = /*$ratingDetails*/ ctx[0].rightLeg + "";
	let t39;
	let t40;
	let div25;
	let if_block = /*$ratingDetails*/ ctx[0].level > 0 && details_index_svelte_create_if_block_1(ctx);
	let each_value = /*$ratingDetails*/ ctx[0].stats;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = details_index_svelte_create_each_block(details_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div5 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			if (if_block) if_block.c();
			t2 = space();
			div2 = internal_element("div");
			t3 = internal_text(t3_value);
			t4 = space();
			div3 = internal_element("div");
			t5 = internal_text(t5_value);
			t6 = internal_text(" место");
			t7 = space();
			div4 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t8 = space();
			div27 = internal_element("div");
			div8 = internal_element("div");
			div6 = internal_element("div");
			t9 = internal_text(t9_value);
			t10 = space();
			div7 = internal_element("div");
			div7.innerHTML = `Попаданий <br/> в голову`;
			t13 = space();
			div11 = internal_element("div");
			div9 = internal_element("div");
			t14 = internal_text(t14_value);
			t15 = space();
			div10 = internal_element("div");
			div10.innerHTML = `Попаданий <br/> в левую руку`;
			t18 = space();
			div14 = internal_element("div");
			div12 = internal_element("div");
			t19 = internal_text(t19_value);
			t20 = space();
			div13 = internal_element("div");
			div13.innerHTML = `Попаданий <br/> в правую руку`;
			t23 = space();
			div17 = internal_element("div");
			div15 = internal_element("div");
			t24 = internal_text(t24_value);
			t25 = space();
			div16 = internal_element("div");
			div16.innerHTML = `Попаданий <br/> в торс`;
			t28 = space();
			div20 = internal_element("div");
			div18 = internal_element("div");
			t29 = internal_text(t29_value);
			t30 = space();
			div19 = internal_element("div");
			div19.innerHTML = `Попаданий <br/> в пах`;
			t33 = space();
			div23 = internal_element("div");
			div21 = internal_element("div");
			t34 = internal_text(t34_value);
			t35 = space();
			div22 = internal_element("div");
			div22.innerHTML = `Попаданий <br/> в левую ногу`;
			t38 = space();
			div26 = internal_element("div");
			div24 = internal_element("div");
			t39 = internal_text(t39_value);
			t40 = space();
			div25 = internal_element("div");
			div25.innerHTML = `Попаданий <br/> в правую ногу`;
			attr(div0, "class", "rating-details__name");
			attr(div1, "class", "rating-details__name-wrapper");
			attr(div2, "class", "rating-details__status");
			attr(div3, "class", "rating-details__placement");
			toggle_class(div3, "rating-details__placement--gold", /*$ratingDetails*/ ctx[0].placement === 1);
			toggle_class(div3, "rating-details__placement--silver", /*$ratingDetails*/ ctx[0].placement === 2);
			toggle_class(div3, "rating-details__placement--bronze", /*$ratingDetails*/ ctx[0].placement === 3);
			attr(div4, "class", "rating-details__stats");
			attr(div5, "class", "rating-details__title-wrapper");
			attr(div6, "class", "rating-details__shots-value");
			attr(div7, "class", "rating-details__shots-caption");
			attr(div8, "class", "rating-details__shots rating-details__shots--head");
			attr(div9, "class", "rating-details__shots-value");
			attr(div10, "class", "rating-details__shots-caption");
			attr(div11, "class", "rating-details__shots rating-details__shots--left-hand");
			attr(div12, "class", "rating-details__shots-value");
			attr(div13, "class", "rating-details__shots-caption");
			attr(div14, "class", "rating-details__shots rating-details__shots--right-hand");
			attr(div15, "class", "rating-details__shots-value");
			attr(div16, "class", "rating-details__shots-caption");
			attr(div17, "class", "rating-details__shots rating-details__shots--torso");
			attr(div18, "class", "rating-details__shots-value");
			attr(div19, "class", "rating-details__shots-caption");
			attr(div20, "class", "rating-details__shots rating-details__shots--groin");
			attr(div21, "class", "rating-details__shots-value");
			attr(div22, "class", "rating-details__shots-caption");
			attr(div23, "class", "rating-details__shots rating-details__shots--left-leg");
			attr(div24, "class", "rating-details__shots-value");
			attr(div25, "class", "rating-details__shots-caption");
			attr(div26, "class", "rating-details__shots rating-details__shots--right-leg");
			attr(div27, "class", "rating-details__shots-wrapper");
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			append(div5, div1);
			append(div1, div0);
			append(div0, t0);
			append(div1, t1);
			if (if_block) if_block.m(div1, null);
			append(div5, t2);
			append(div5, div2);
			append(div2, t3);
			append(div5, t4);
			append(div5, div3);
			append(div3, t5);
			append(div3, t6);
			append(div5, t7);
			append(div5, div4);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div4, null);
			}

			insert(target, t8, anchor);
			insert(target, div27, anchor);
			append(div27, div8);
			append(div8, div6);
			append(div6, t9);
			append(div8, t10);
			append(div8, div7);
			append(div27, t13);
			append(div27, div11);
			append(div11, div9);
			append(div9, t14);
			append(div11, t15);
			append(div11, div10);
			append(div27, t18);
			append(div27, div14);
			append(div14, div12);
			append(div12, t19);
			append(div14, t20);
			append(div14, div13);
			append(div27, t23);
			append(div27, div17);
			append(div17, div15);
			append(div15, t24);
			append(div17, t25);
			append(div17, div16);
			append(div27, t28);
			append(div27, div20);
			append(div20, div18);
			append(div18, t29);
			append(div20, t30);
			append(div20, div19);
			append(div27, t33);
			append(div27, div23);
			append(div23, div21);
			append(div21, t34);
			append(div23, t35);
			append(div23, div22);
			append(div27, t38);
			append(div27, div26);
			append(div26, div24);
			append(div24, t39);
			append(div26, t40);
			append(div26, div25);
		},
		p(ctx, dirty) {
			if (dirty & /*$ratingDetails*/ 1 && t0_value !== (t0_value = /*$ratingDetails*/ ctx[0].name + "")) set_data(t0, t0_value);

			if (/*$ratingDetails*/ ctx[0].level > 0) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = details_index_svelte_create_if_block_1(ctx);
					if_block.c();
					if_block.m(div1, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (dirty & /*$ratingDetails*/ 1 && t3_value !== (t3_value = /*$ratingDetails*/ ctx[0].status + "")) set_data(t3, t3_value);
			if (dirty & /*$ratingDetails*/ 1 && t5_value !== (t5_value = /*$ratingDetails*/ ctx[0].placement + "")) set_data(t5, t5_value);

			if (dirty & /*$ratingDetails*/ 1) {
				toggle_class(div3, "rating-details__placement--gold", /*$ratingDetails*/ ctx[0].placement === 1);
			}

			if (dirty & /*$ratingDetails*/ 1) {
				toggle_class(div3, "rating-details__placement--silver", /*$ratingDetails*/ ctx[0].placement === 2);
			}

			if (dirty & /*$ratingDetails*/ 1) {
				toggle_class(div3, "rating-details__placement--bronze", /*$ratingDetails*/ ctx[0].placement === 3);
			}

			if (dirty & /*$ratingDetails*/ 1) {
				each_value = /*$ratingDetails*/ ctx[0].stats;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = details_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = details_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div4, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if (dirty & /*$ratingDetails*/ 1 && t9_value !== (t9_value = /*$ratingDetails*/ ctx[0].headshots + "")) set_data(t9, t9_value);
			if (dirty & /*$ratingDetails*/ 1 && t14_value !== (t14_value = /*$ratingDetails*/ ctx[0].leftHand + "")) set_data(t14, t14_value);
			if (dirty & /*$ratingDetails*/ 1 && t19_value !== (t19_value = /*$ratingDetails*/ ctx[0].rightHand + "")) set_data(t19, t19_value);
			if (dirty & /*$ratingDetails*/ 1 && t24_value !== (t24_value = /*$ratingDetails*/ ctx[0].torso + "")) set_data(t24, t24_value);
			if (dirty & /*$ratingDetails*/ 1 && t29_value !== (t29_value = /*$ratingDetails*/ ctx[0].groin + "")) set_data(t29, t29_value);
			if (dirty & /*$ratingDetails*/ 1 && t34_value !== (t34_value = /*$ratingDetails*/ ctx[0].leftLeg + "")) set_data(t34, t34_value);
			if (dirty & /*$ratingDetails*/ 1 && t39_value !== (t39_value = /*$ratingDetails*/ ctx[0].rightLeg + "")) set_data(t39, t39_value);
		},
		d(detaching) {
			if (detaching) detach(div5);
			if (if_block) if_block.d();
			destroy_each(each_blocks, detaching);
			if (detaching) detach(t8);
			if (detaching) detach(div27);
		}
	};
}

// (14:16) {#if $ratingDetails.level > 0}
function details_index_svelte_create_if_block_1(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = PLACEMENT_ICONS[/*$ratingDetails*/ ctx[0].level - 1])) attr(img, "src", img_src_value);
			attr(img, "class", "rating-details__placement-icon");
			attr(img, "alt", "placement");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*$ratingDetails*/ 1 && !src_url_equal(img.src, img_src_value = PLACEMENT_ICONS[/*$ratingDetails*/ ctx[0].level - 1])) {
				attr(img, "src", img_src_value);
			}
		},
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (26:16) {#each $ratingDetails.stats as stat}
function details_index_svelte_create_each_block(ctx) {
	let div2;
	let div0;
	let t0_value = /*stat*/ ctx[1].value + "";
	let t0;
	let t1;
	let div1;
	let t2_value = /*stat*/ ctx[1].caption + "";
	let t2;
	let t3;

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			div1 = internal_element("div");
			t2 = internal_text(t2_value);
			t3 = space();
			attr(div0, "class", "rating-details__stat-value");
			attr(div1, "class", "rating-details__stat-caption");
			attr(div2, "class", "rating-details__stat");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div0, t0);
			append(div2, t1);
			append(div2, div1);
			append(div1, t2);
			append(div2, t3);
		},
		p(ctx, dirty) {
			if (dirty & /*$ratingDetails*/ 1 && t0_value !== (t0_value = /*stat*/ ctx[1].value + "")) set_data(t0, t0_value);
			if (dirty & /*$ratingDetails*/ 1 && t2_value !== (t2_value = /*stat*/ ctx[1].caption + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

function details_index_svelte_create_fragment(ctx) {
	let div1;
	let div0;
	let t;
	let show_if = !(0,lodash.isNil)(/*$ratingDetails*/ ctx[0]);
	let if_block = show_if && details_index_svelte_create_if_block(ctx);

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			t = space();
			if (if_block) if_block.c();
			attr(div0, "class", "rating-details__paper-bg");
			attr(div1, "class", "rating-details");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div1, t);
			if (if_block) if_block.m(div1, null);
		},
		p(ctx, [dirty]) {
			if (dirty & /*$ratingDetails*/ 1) show_if = !(0,lodash.isNil)(/*$ratingDetails*/ ctx[0]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = details_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div1, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
			if (if_block) if_block.d();
		}
	};
}

function details_index_svelte_instance($$self, $$props, $$invalidate) {
	let $ratingDetails;
	component_subscribe($$self, ratingDetails, $$value => $$invalidate(0, $ratingDetails = $$value));
	return [$ratingDetails];
}

class Details extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, details_index_svelte_instance, details_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const details_index_svelte = (Details);
;// CONCATENATED MODULE: ./src/views/phone/apps/rating/components-map.js
function rating_components_map_typeof(o) { "@babel/helpers - typeof"; return rating_components_map_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, rating_components_map_typeof(o); }
function rating_components_map_defineProperty(e, r, t) { return (r = rating_components_map_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function rating_components_map_toPropertyKey(t) { var i = rating_components_map_toPrimitive(t, "string"); return "symbol" == rating_components_map_typeof(i) ? i : i + ""; }
function rating_components_map_toPrimitive(t, r) { if ("object" != rating_components_map_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != rating_components_map_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }



var rating_components_map_MAP_SCREEN_TO_COMPONENT = rating_components_map_defineProperty(rating_components_map_defineProperty({}, rating_constants_Screens.List, list_index_svelte), rating_constants_Screens.Details, details_index_svelte);
;// CONCATENATED MODULE: ./src/views/phone/apps/rating/index.svelte
/* src\views\phone\apps\rating\index.svelte generated by Svelte v3.49.0 */










function rating_index_svelte_create_fragment(ctx) {
	let div;
	let switch_instance;
	let t;
	let i;
	let div_intro;
	let current;
	let mounted;
	let dispose;
	var switch_value = rating_components_map_MAP_SCREEN_TO_COMPONENT[/*$selectedScreen*/ ctx[0]];

	function switch_props(ctx) {
		return {};
	}

	if (switch_value) {
		switch_instance = new switch_value(switch_props(ctx));
	}

	return {
		c() {
			div = internal_element("div");
			if (switch_instance) create_component(switch_instance.$$.fragment);
			t = space();
			i = internal_element("i");
			attr(i, "class", "rating__back icon-arrow-left");
			attr(div, "class", "rating");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (switch_instance) {
				mount_component(switch_instance, div, null);
			}

			append(div, t);
			append(div, i);
			current = true;

			if (!mounted) {
				dispose = listen(i, "click", /*back*/ ctx[1]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (switch_value !== (switch_value = rating_components_map_MAP_SCREEN_TO_COMPONENT[/*$selectedScreen*/ ctx[0]])) {
				if (switch_instance) {
					group_outros();
					const old_component = switch_instance;

					transition_out(old_component.$$.fragment, 1, 0, () => {
						destroy_component(old_component, 1);
					});

					check_outros();
				}

				if (switch_value) {
					switch_instance = new switch_value(switch_props(ctx));
					create_component(switch_instance.$$.fragment);
					transition_in(switch_instance.$$.fragment, 1);
					mount_component(switch_instance, div, t);
				} else {
					switch_instance = null;
				}
			} else if (switch_value) {
				
			}
		},
		i(local) {
			if (current) return;
			if (switch_instance) transition_in(switch_instance.$$.fragment, local);

			if (!div_intro) {
				add_render_callback(() => {
					div_intro = create_in_transition(div, fade, {});
					div_intro.start();
				});
			}

			current = true;
		},
		o(local) {
			if (switch_instance) transition_out(switch_instance.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (switch_instance) destroy_component(switch_instance);
			mounted = false;
			dispose();
		}
	};
}

function rating_index_svelte_instance($$self, $$props, $$invalidate) {
	let $ratingList;
	let $selectedScreen;
	component_subscribe($$self, ratingList, $$value => $$invalidate(3, $ratingList = $$value));
	component_subscribe($$self, rating_store_selectedScreen, $$value => $$invalidate(0, $selectedScreen = $$value));

	let { backToMainMenu = () => {
		
	} } = $$props;

	const back = () => {
		if ($selectedScreen === rating_constants_Screens.List) {
			backToMainMenu();
		} else {
			set_store_value(rating_store_selectedScreen, $selectedScreen = rating_constants_Screens.List, $selectedScreen);
		}
	};

	set_store_value(rating_store_selectedScreen, $selectedScreen = rating_constants_Screens.List, $selectedScreen);

	onDestroy(() => {
		set_store_value(rating_store_selectedScreen, $selectedScreen = rating_constants_Screens.List, $selectedScreen);
		set_store_value(ratingList, $ratingList = [], $ratingList);
		sendClientMessage('rating.close');
	});

	$$self.$$set = $$props => {
		if ('backToMainMenu' in $$props) $$invalidate(2, backToMainMenu = $$props.backToMainMenu);
	};

	return [$selectedScreen, back, backToMainMenu];
}

class index_svelte_Rating extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, rating_index_svelte_instance, rating_index_svelte_create_fragment, safe_not_equal, { backToMainMenu: 2 });
	}
}

/* harmony default export */ const rating_index_svelte = (index_svelte_Rating);
;// CONCATENATED MODULE: ./src/views/phone/apps/upgrades/components/upgrade-item/img/upgrade-item-purchase-icon.svg
const upgrade_item_purchase_icon_namespaceObject = __webpack_require__.p + "assets/cf4c8a53676aa855c1f6.svg";
;// CONCATENATED MODULE: ./src/views/phone/apps/upgrades/constants.js
var PaymentMethod = {
  AzCoin: 'az-coin',
  Cash: 'cash'
};
;// CONCATENATED MODULE: ./src/views/phone/apps/upgrades/components/upgrade-item/index.svelte
/* src\views\phone\apps\upgrades\components\upgrade-item\index.svelte generated by Svelte v3.49.0 */








function upgrade_item_index_svelte_add_css(target) {
	append_styles(target, "svelte-1lwapy3", "@keyframes svelte-1lwapy3-blinking{50%{opacity:0}}@keyframes svelte-1lwapy3-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1lwapy3-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1lwapy3-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1lwapy3-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1lwapy3-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1lwapy3-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1lwapy3-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1lwapy3-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1lwapy3-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1lwapy3-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1lwapy3-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1lwapy3-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1lwapy3-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1lwapy3-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.upgrade-item.svelte-1lwapy3.svelte-1lwapy3{position:relative;display:flex;flex-direction:column;justify-content:center;background-color:#313843;transition:background-color 0.2s linear;border-radius:calc(0.0130208333 * 100vw + 0px);width:calc(0.2734375 * 100vw + 0px);height:calc(0.1171875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item.svelte-1lwapy3.svelte-1lwapy3{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item.svelte-1lwapy3.svelte-1lwapy3{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item.svelte-1lwapy3.svelte-1lwapy3{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item.svelte-1lwapy3.svelte-1lwapy3{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item.svelte-1lwapy3.svelte-1lwapy3{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item.svelte-1lwapy3.svelte-1lwapy3{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item.svelte-1lwapy3.svelte-1lwapy3{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.2734375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.2734375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.210546875 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.30078125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.19140625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.24609375 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.30078125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.090234375 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.12890625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.08203125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.10546875 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.12890625 * 100vw + 0px)}}.upgrade-item.svelte-1lwapy3.svelte-1lwapy3:hover{background-color:#566070}.upgrade-item--purchased.svelte-1lwapy3.svelte-1lwapy3{background-color:rgba(118, 211, 85, 0.25)}.upgrade-item--purchased.svelte-1lwapy3 .upgrade-item__condition.svelte-1lwapy3{justify-content:center;background-color:rgba(118, 211, 85, 0.25);border-radius:calc(0.0026041667 * 100vw + 0px);width:calc(0.0640625 * 100vw + 0px);height:calc(0.01875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item--purchased.svelte-1lwapy3 .upgrade-item__condition.svelte-1lwapy3{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item--purchased.svelte-1lwapy3 .upgrade-item__condition.svelte-1lwapy3{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item--purchased.svelte-1lwapy3 .upgrade-item__condition.svelte-1lwapy3{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item--purchased.svelte-1lwapy3 .upgrade-item__condition.svelte-1lwapy3{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item--purchased.svelte-1lwapy3 .upgrade-item__condition.svelte-1lwapy3{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item--purchased.svelte-1lwapy3 .upgrade-item__condition.svelte-1lwapy3{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item--purchased.svelte-1lwapy3 .upgrade-item__condition.svelte-1lwapy3{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item--purchased.svelte-1lwapy3 .upgrade-item__condition.svelte-1lwapy3{width:calc(0.0640625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item--purchased.svelte-1lwapy3 .upgrade-item__condition.svelte-1lwapy3{width:calc(0.0640625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item--purchased.svelte-1lwapy3 .upgrade-item__condition.svelte-1lwapy3{width:calc(0.049328125 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item--purchased.svelte-1lwapy3 .upgrade-item__condition.svelte-1lwapy3{width:calc(0.07046875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item--purchased.svelte-1lwapy3 .upgrade-item__condition.svelte-1lwapy3{width:calc(0.04484375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item--purchased.svelte-1lwapy3 .upgrade-item__condition.svelte-1lwapy3{width:calc(0.05765625 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item--purchased.svelte-1lwapy3 .upgrade-item__condition.svelte-1lwapy3{width:calc(0.07046875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item--purchased.svelte-1lwapy3 .upgrade-item__condition.svelte-1lwapy3{height:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item--purchased.svelte-1lwapy3 .upgrade-item__condition.svelte-1lwapy3{height:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item--purchased.svelte-1lwapy3 .upgrade-item__condition.svelte-1lwapy3{height:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item--purchased.svelte-1lwapy3 .upgrade-item__condition.svelte-1lwapy3{height:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item--purchased.svelte-1lwapy3 .upgrade-item__condition.svelte-1lwapy3{height:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item--purchased.svelte-1lwapy3 .upgrade-item__condition.svelte-1lwapy3{height:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item--purchased.svelte-1lwapy3 .upgrade-item__condition.svelte-1lwapy3{height:calc(0.020625 * 100vw + 0px)}}.upgrade-item--purchased.svelte-1lwapy3 .upgrade-item__condition-title.svelte-1lwapy3{color:#76D355;background-color:transparent;padding:0;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item--purchased.svelte-1lwapy3 .upgrade-item__condition-title.svelte-1lwapy3{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item--purchased.svelte-1lwapy3 .upgrade-item__condition-title.svelte-1lwapy3{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item--purchased.svelte-1lwapy3 .upgrade-item__condition-title.svelte-1lwapy3{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item--purchased.svelte-1lwapy3 .upgrade-item__condition-title.svelte-1lwapy3{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item--purchased.svelte-1lwapy3 .upgrade-item__condition-title.svelte-1lwapy3{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item--purchased.svelte-1lwapy3 .upgrade-item__condition-title.svelte-1lwapy3{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item--purchased.svelte-1lwapy3 .upgrade-item__condition-title.svelte-1lwapy3{font-size:calc(0.0091666667 * 100vw + 0px)}}.upgrade-item--purchased.svelte-1lwapy3.svelte-1lwapy3:hover{background-color:rgba(118, 211, 85, 0.25)}.upgrade-item__img-wrapper.svelte-1lwapy3.svelte-1lwapy3{display:flex;align-items:center;margin-left:calc(0.0057291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item__img-wrapper.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item__img-wrapper.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item__img-wrapper.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.0044114583 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item__img-wrapper.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.0063020833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item__img-wrapper.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item__img-wrapper.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item__img-wrapper.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.0063020833 * 100vw + 0px)}}.upgrade-item__img.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.0666666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item__img.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.0666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item__img.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.0666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item__img.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.0513333333 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item__img.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.0733333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item__img.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.0466666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item__img.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.06 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item__img.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.0733333333 * 100vw + 0px)}}.upgrade-item__title-wrapper.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.1432291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item__title-wrapper.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item__title-wrapper.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item__title-wrapper.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.1102864583 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item__title-wrapper.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.1575520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item__title-wrapper.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item__title-wrapper.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.12890625 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item__title-wrapper.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.1575520833 * 100vw + 0px)}}.upgrade-item__title.svelte-1lwapy3.svelte-1lwapy3{color:#FFFFFF;font-family:\"GothamPro-Medium\";font-size:calc(0.0125 * 100vw + 0px);margin-bottom:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item__title.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item__title.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item__title.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item__title.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item__title.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item__title.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item__title.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item__title.svelte-1lwapy3.svelte-1lwapy3{margin-bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item__title.svelte-1lwapy3.svelte-1lwapy3{margin-bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item__title.svelte-1lwapy3.svelte-1lwapy3{margin-bottom:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item__title.svelte-1lwapy3.svelte-1lwapy3{margin-bottom:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item__title.svelte-1lwapy3.svelte-1lwapy3{margin-bottom:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item__title.svelte-1lwapy3.svelte-1lwapy3{margin-bottom:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item__title.svelte-1lwapy3.svelte-1lwapy3{margin-bottom:calc(0.00859375 * 100vw + 0px)}}.upgrade-item__description.svelte-1lwapy3.svelte-1lwapy3{color:#A2ABB8;font-family:\"GothamPro\";font-size:calc(0.0078125 * 100vw + 0px);height:calc(0.0322916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item__description.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item__description.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item__description.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item__description.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item__description.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item__description.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item__description.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item__description.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.0322916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item__description.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.0322916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item__description.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.0248645833 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item__description.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.0355208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item__description.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.0226041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item__description.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.0290625 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item__description.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.0355208333 * 100vw + 0px)}}.upgrade-item__condition-wrapper.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item__condition-wrapper.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item__condition-wrapper.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item__condition-wrapper.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item__condition-wrapper.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item__condition-wrapper.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item__condition-wrapper.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item__condition-wrapper.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.0143229167 * 100vw + 0px)}}.upgrade-item__condition.svelte-1lwapy3.svelte-1lwapy3{display:flex;align-items:center;margin-top:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item__condition.svelte-1lwapy3.svelte-1lwapy3{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item__condition.svelte-1lwapy3.svelte-1lwapy3{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item__condition.svelte-1lwapy3.svelte-1lwapy3{margin-top:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item__condition.svelte-1lwapy3.svelte-1lwapy3{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item__condition.svelte-1lwapy3.svelte-1lwapy3{margin-top:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item__condition.svelte-1lwapy3.svelte-1lwapy3{margin-top:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item__condition.svelte-1lwapy3.svelte-1lwapy3{margin-top:calc(0.0200520833 * 100vw + 0px)}}.upgrade-item__condition--progressbar.svelte-1lwapy3.svelte-1lwapy3{display:block}.upgrade-item__condition-img.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item__condition-img.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item__condition-img.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item__condition-img.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item__condition-img.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item__condition-img.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item__condition-img.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item__condition-img.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.0091666667 * 100vw + 0px)}}.upgrade-item__condition-count.svelte-1lwapy3.svelte-1lwapy3{color:#F2C94C;font-family:\"GothamPro-Bold\";font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item__condition-count.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item__condition-count.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item__condition-count.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item__condition-count.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item__condition-count.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item__condition-count.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item__condition-count.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.01375 * 100vw + 0px)}}.upgrade-item__condition-count--cash.svelte-1lwapy3.svelte-1lwapy3{color:#76D355}.upgrade-item__condition-title.svelte-1lwapy3.svelte-1lwapy3{background-color:#F2C94C;color:#363D47;font-family:\"GothamPro-Bold\";font-size:calc(0.00625 * 100vw + 0px);padding:calc(0.0052083333 * 100vw + 0px);border-radius:calc(0.0026041667 * 100vw + 0px);margin-left:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item__condition-title.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item__condition-title.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item__condition-title.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item__condition-title.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item__condition-title.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item__condition-title.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item__condition-title.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item__condition-title.svelte-1lwapy3.svelte-1lwapy3{padding:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item__condition-title.svelte-1lwapy3.svelte-1lwapy3{padding:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item__condition-title.svelte-1lwapy3.svelte-1lwapy3{padding:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item__condition-title.svelte-1lwapy3.svelte-1lwapy3{padding:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item__condition-title.svelte-1lwapy3.svelte-1lwapy3{padding:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item__condition-title.svelte-1lwapy3.svelte-1lwapy3{padding:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item__condition-title.svelte-1lwapy3.svelte-1lwapy3{padding:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item__condition-title.svelte-1lwapy3.svelte-1lwapy3{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item__condition-title.svelte-1lwapy3.svelte-1lwapy3{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item__condition-title.svelte-1lwapy3.svelte-1lwapy3{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item__condition-title.svelte-1lwapy3.svelte-1lwapy3{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item__condition-title.svelte-1lwapy3.svelte-1lwapy3{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item__condition-title.svelte-1lwapy3.svelte-1lwapy3{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item__condition-title.svelte-1lwapy3.svelte-1lwapy3{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item__condition-title.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item__condition-title.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item__condition-title.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item__condition-title.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item__condition-title.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item__condition-title.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item__condition-title.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.0028645833 * 100vw + 0px)}}.upgrade-item__condition-title--cash.svelte-1lwapy3.svelte-1lwapy3{display:flex;justify-content:center;background-color:#76D355;font-weight:700;width:calc(0.0177083333 * 100vw + 0px);margin-left:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item__condition-title--cash.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item__condition-title--cash.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item__condition-title--cash.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.0136354167 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item__condition-title--cash.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.0194791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item__condition-title--cash.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.0123958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item__condition-title--cash.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.0159375 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item__condition-title--cash.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.0194791667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item__condition-title--cash.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item__condition-title--cash.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item__condition-title--cash.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item__condition-title--cash.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item__condition-title--cash.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item__condition-title--cash.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item__condition-title--cash.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.0057291667 * 100vw + 0px)}}.upgrade-item__condition-progress-title.svelte-1lwapy3.svelte-1lwapy3{color:#FFFFFF;font-family:\"GothamPro-Medium\";font-size:calc(0.0078125 * 100vw + 0px);margin-bottom:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item__condition-progress-title.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item__condition-progress-title.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item__condition-progress-title.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item__condition-progress-title.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item__condition-progress-title.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item__condition-progress-title.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item__condition-progress-title.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item__condition-progress-title.svelte-1lwapy3.svelte-1lwapy3{margin-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item__condition-progress-title.svelte-1lwapy3.svelte-1lwapy3{margin-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item__condition-progress-title.svelte-1lwapy3.svelte-1lwapy3{margin-bottom:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item__condition-progress-title.svelte-1lwapy3.svelte-1lwapy3{margin-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item__condition-progress-title.svelte-1lwapy3.svelte-1lwapy3{margin-bottom:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item__condition-progress-title.svelte-1lwapy3.svelte-1lwapy3{margin-bottom:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item__condition-progress-title.svelte-1lwapy3.svelte-1lwapy3{margin-bottom:calc(0.0080208333 * 100vw + 0px)}}.upgrade-item__condition-progress-wrapper.svelte-1lwapy3.svelte-1lwapy3{display:flex;align-items:center}.upgrade-item__condition-progress.svelte-1lwapy3.svelte-1lwapy3{display:flex;align-items:center;position:relative;background-color:#202731;overflow:hidden;width:calc(0.1302083333 * 100vw + 0px);height:calc(0.0026041667 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item__condition-progress.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item__condition-progress.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item__condition-progress.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item__condition-progress.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item__condition-progress.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item__condition-progress.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item__condition-progress.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.1432291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item__condition-progress.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item__condition-progress.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item__condition-progress.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item__condition-progress.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item__condition-progress.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item__condition-progress.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item__condition-progress.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item__condition-progress.svelte-1lwapy3.svelte-1lwapy3{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item__condition-progress.svelte-1lwapy3.svelte-1lwapy3{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item__condition-progress.svelte-1lwapy3.svelte-1lwapy3{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item__condition-progress.svelte-1lwapy3.svelte-1lwapy3{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item__condition-progress.svelte-1lwapy3.svelte-1lwapy3{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item__condition-progress.svelte-1lwapy3.svelte-1lwapy3{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item__condition-progress.svelte-1lwapy3.svelte-1lwapy3{border-radius:calc(0.0057291667 * 100vw + 0px)}}.upgrade-item__condition-progress-value.svelte-1lwapy3.svelte-1lwapy3{background-color:#F2C94C;position:absolute;left:0;height:100%;width:0}.upgrade-item__condition-progress-count.svelte-1lwapy3.svelte-1lwapy3{color:#F2C94C;font-family:\"GothamPro-Medium\";font-size:calc(0.0083333333 * 100vw + 0px);margin-left:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item__condition-progress-count.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item__condition-progress-count.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item__condition-progress-count.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item__condition-progress-count.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item__condition-progress-count.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item__condition-progress-count.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item__condition-progress-count.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item__condition-progress-count.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item__condition-progress-count.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item__condition-progress-count.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item__condition-progress-count.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item__condition-progress-count.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item__condition-progress-count.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item__condition-progress-count.svelte-1lwapy3.svelte-1lwapy3{margin-left:calc(0.00859375 * 100vw + 0px)}}.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{position:absolute;display:flex;flex-direction:column;justify-content:center;align-items:center;background-color:rgba(255, 255, 255, 0.1);border-radius:calc(0.0130208333 * 100vw + 0px);top:calc(0.0052083333 * 100vw + 0px);right:calc(0.00625 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px);width:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{top:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{right:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{right:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{right:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{right:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{right:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{right:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{right:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{height:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item__level.svelte-1lwapy3.svelte-1lwapy3{width:calc(0.0286458333 * 100vw + 0px)}}.upgrade-item__level-title.svelte-1lwapy3.svelte-1lwapy3{display:flex;flex-direction:column;align-items:center;color:#FFFFFF;font-family:\"GothamPro\";line-height:calc(0.0119791667 * 100vw + 0px);font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item__level-title.svelte-1lwapy3.svelte-1lwapy3{line-height:calc(0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item__level-title.svelte-1lwapy3.svelte-1lwapy3{line-height:calc(0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item__level-title.svelte-1lwapy3.svelte-1lwapy3{line-height:calc(0.0092239583 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item__level-title.svelte-1lwapy3.svelte-1lwapy3{line-height:calc(0.0131770833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item__level-title.svelte-1lwapy3.svelte-1lwapy3{line-height:calc(0.0083854167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item__level-title.svelte-1lwapy3.svelte-1lwapy3{line-height:calc(0.01078125 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item__level-title.svelte-1lwapy3.svelte-1lwapy3{line-height:calc(0.0131770833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item__level-title.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item__level-title.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item__level-title.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item__level-title.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item__level-title.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item__level-title.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item__level-title.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.01375 * 100vw + 0px)}}.upgrade-item__level-subtitle.svelte-1lwapy3.svelte-1lwapy3{color:#BABDBF;font-family:\"GothamPro\";line-height:calc(0.00625 * 100vw + 0px);font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item__level-subtitle.svelte-1lwapy3.svelte-1lwapy3{line-height:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item__level-subtitle.svelte-1lwapy3.svelte-1lwapy3{line-height:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item__level-subtitle.svelte-1lwapy3.svelte-1lwapy3{line-height:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item__level-subtitle.svelte-1lwapy3.svelte-1lwapy3{line-height:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item__level-subtitle.svelte-1lwapy3.svelte-1lwapy3{line-height:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item__level-subtitle.svelte-1lwapy3.svelte-1lwapy3{line-height:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item__level-subtitle.svelte-1lwapy3.svelte-1lwapy3{line-height:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.upgrade-item__level-subtitle.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrade-item__level-subtitle.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrade-item__level-subtitle.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.upgrade-item__level-subtitle.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrade-item__level-subtitle.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrade-item__level-subtitle.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.upgrade-item__level-subtitle.svelte-1lwapy3.svelte-1lwapy3{font-size:calc(0.006875 * 100vw + 0px)}}");
}

// (1785:50) 
function upgrade_item_index_svelte_create_if_block_3(ctx) {
	let div3;
	let p0;
	let t0_value = /*upgrade*/ ctx[0].progressDescription + "";
	let t0;
	let t1;
	let div2;
	let div1;
	let div0;
	let div0_style_value;
	let t2;
	let p1;
	let t3_value = Math.floor(/*upgrade*/ ctx[0].progress / (/*upgrade*/ ctx[0].maxProgress / 100)) + "";
	let t3;
	let t4;

	return {
		c() {
			div3 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			div2 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");
			t2 = space();
			p1 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = internal_text("%");
			attr(p0, "class", "upgrade-item__condition-progress-title svelte-1lwapy3");
			attr(div0, "class", "upgrade-item__condition-progress-value svelte-1lwapy3");
			attr(div0, "style", div0_style_value = `width: ${/*upgrade*/ ctx[0].progress / (/*upgrade*/ ctx[0].maxProgress / 100)}%;`);
			attr(div1, "class", "upgrade-item__condition-progress svelte-1lwapy3");
			attr(p1, "class", "upgrade-item__condition-progress-count svelte-1lwapy3");
			attr(div2, "class", "upgrade-item__condition-progress-wrapper svelte-1lwapy3");
			attr(div3, "class", "upgrade-item__condition upgrade-item__condition--progressbar svelte-1lwapy3");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, p0);
			append(p0, t0);
			append(div3, t1);
			append(div3, div2);
			append(div2, div1);
			append(div1, div0);
			append(div2, t2);
			append(div2, p1);
			append(p1, t3);
			append(p1, t4);
		},
		p(ctx, dirty) {
			if (dirty & /*upgrade*/ 1 && t0_value !== (t0_value = /*upgrade*/ ctx[0].progressDescription + "")) set_data(t0, t0_value);

			if (dirty & /*upgrade*/ 1 && div0_style_value !== (div0_style_value = `width: ${/*upgrade*/ ctx[0].progress / (/*upgrade*/ ctx[0].maxProgress / 100)}%;`)) {
				attr(div0, "style", div0_style_value);
			}

			if (dirty & /*upgrade*/ 1 && t3_value !== (t3_value = Math.floor(/*upgrade*/ ctx[0].progress / (/*upgrade*/ ctx[0].maxProgress / 100)) + "")) set_data(t3, t3_value);
		},
		d(detaching) {
			if (detaching) detach(div3);
		}
	};
}

// (1770:36) 
function upgrade_item_index_svelte_create_if_block_2(ctx) {
	let div;
	let p0;
	let t0_value = formatMoney(/*upgrade*/ ctx[0].price) + "";
	let t0;
	let t1;
	let p1;

	return {
		c() {
			div = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			p1 = internal_element("p");
			p1.textContent = "az-coin";
			attr(p0, "class", "upgrade-item__condition-count svelte-1lwapy3");
			toggle_class(p0, "upgrade-item__condition-count--cash", /*upgrade*/ ctx[0].moneyType === PaymentMethod.Cash);
			attr(p1, "class", "upgrade-item__condition-title svelte-1lwapy3");
			toggle_class(p1, "upgrade-item__condition-title--cash", /*upgrade*/ ctx[0].moneyType === PaymentMethod.Cash);
			attr(div, "class", "upgrade-item__condition svelte-1lwapy3");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p0);
			append(p0, t0);
			append(div, t1);
			append(div, p1);
		},
		p(ctx, dirty) {
			if (dirty & /*upgrade*/ 1 && t0_value !== (t0_value = formatMoney(/*upgrade*/ ctx[0].price) + "")) set_data(t0, t0_value);

			if (dirty & /*upgrade, PaymentMethod*/ 1) {
				toggle_class(p0, "upgrade-item__condition-count--cash", /*upgrade*/ ctx[0].moneyType === PaymentMethod.Cash);
			}

			if (dirty & /*upgrade, PaymentMethod*/ 1) {
				toggle_class(p1, "upgrade-item__condition-title--cash", /*upgrade*/ ctx[0].moneyType === PaymentMethod.Cash);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1759:12) {#if upgradePurchased}
function upgrade_item_index_svelte_create_if_block_1(ctx) {
	let div;
	let img;
	let img_src_value;
	let t0;
	let p;

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			p.textContent = "Получено";
			attr(img, "class", "upgrade-item__condition-img svelte-1lwapy3");
			if (!src_url_equal(img.src, img_src_value = upgrade_item_purchase_icon_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "purchase-icon");
			attr(p, "class", "upgrade-item__condition-title svelte-1lwapy3");
			attr(div, "class", "upgrade-item__condition svelte-1lwapy3");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
			append(div, t0);
			append(div, p);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1805:4) {#if upgrade.price}
function upgrade_item_index_svelte_create_if_block(ctx) {
	let div;
	let p;
	let t0_value = /*upgrade*/ ctx[0].progress + "";
	let t0;
	let t1;
	let span;

	return {
		c() {
			div = internal_element("div");
			p = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			span = internal_element("span");
			span.textContent = "ур.";
			attr(span, "class", "upgrade-item__level-subtitle svelte-1lwapy3");
			attr(p, "class", "upgrade-item__level-title svelte-1lwapy3");
			attr(div, "class", "upgrade-item__level svelte-1lwapy3");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p);
			append(p, t0);
			append(p, t1);
			append(p, span);
		},
		p(ctx, dirty) {
			if (dirty & /*upgrade*/ 1 && t0_value !== (t0_value = /*upgrade*/ ctx[0].progress + "")) set_data(t0, t0_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function upgrade_item_index_svelte_create_fragment(ctx) {
	let div3;
	let div2;
	let img;
	let img_src_value;
	let t0;
	let div1;
	let div0;
	let p0;
	let t1_value = /*upgrade*/ ctx[0].title + "";
	let t1;
	let t2;
	let p1;
	let t3_value = /*upgrade*/ ctx[0].description + "";
	let t3;
	let t4;
	let t5;
	let mounted;
	let dispose;

	function select_block_type(ctx, dirty) {
		if (/*upgradePurchased*/ ctx[1]) return upgrade_item_index_svelte_create_if_block_1;
		if (/*upgrade*/ ctx[0].price) return upgrade_item_index_svelte_create_if_block_2;
		if (/*upgrade*/ ctx[0].progressDescription) return upgrade_item_index_svelte_create_if_block_3;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block0 = current_block_type && current_block_type(ctx);
	let if_block1 = /*upgrade*/ ctx[0].price && upgrade_item_index_svelte_create_if_block(ctx);

	return {
		c() {
			div3 = internal_element("div");
			div2 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div1 = internal_element("div");
			div0 = internal_element("div");
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			p1 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = space();
			if (if_block0) if_block0.c();
			t5 = space();
			if (if_block1) if_block1.c();
			attr(img, "class", "upgrade-item__img svelte-1lwapy3");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/upgrades/${/*upgrade*/ ctx[0].img}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "item-icon");
			attr(p0, "class", "upgrade-item__title svelte-1lwapy3");
			attr(p1, "class", "upgrade-item__description svelte-1lwapy3");
			attr(div0, "class", "upgrade-item__title-wrapper svelte-1lwapy3");
			attr(div1, "class", "upgrade-item__condition-wrapper svelte-1lwapy3");
			attr(div2, "class", "upgrade-item__img-wrapper svelte-1lwapy3");
			attr(div3, "class", "upgrade-item svelte-1lwapy3");
			toggle_class(div3, "upgrade-item--purchased", /*upgradePurchased*/ ctx[1]);
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div2);
			append(div2, img);
			append(div2, t0);
			append(div2, div1);
			append(div1, div0);
			append(div0, p0);
			append(p0, t1);
			append(div0, t2);
			append(div0, p1);
			append(p1, t3);
			append(div1, t4);
			if (if_block0) if_block0.m(div1, null);
			append(div3, t5);
			if (if_block1) if_block1.m(div3, null);

			if (!mounted) {
				dispose = listen(div3, "click", /*buyUpgrade*/ ctx[2]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*upgrade*/ 1 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/upgrades/${/*upgrade*/ ctx[0].img}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*upgrade*/ 1 && t1_value !== (t1_value = /*upgrade*/ ctx[0].title + "")) set_data(t1, t1_value);
			if (dirty & /*upgrade*/ 1 && t3_value !== (t3_value = /*upgrade*/ ctx[0].description + "")) set_data(t3, t3_value);

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block0) {
				if_block0.p(ctx, dirty);
			} else {
				if (if_block0) if_block0.d(1);
				if_block0 = current_block_type && current_block_type(ctx);

				if (if_block0) {
					if_block0.c();
					if_block0.m(div1, null);
				}
			}

			if (/*upgrade*/ ctx[0].price) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = upgrade_item_index_svelte_create_if_block(ctx);
					if_block1.c();
					if_block1.m(div3, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty & /*upgradePurchased*/ 2) {
				toggle_class(div3, "upgrade-item--purchased", /*upgradePurchased*/ ctx[1]);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div3);

			if (if_block0) {
				if_block0.d();
			}

			if (if_block1) if_block1.d();
			mounted = false;
			dispose();
		}
	};
}

function upgrade_item_index_svelte_instance($$self, $$props, $$invalidate) {
	let { upgrade } = $$props;
	let upgradePurchased = upgrade.progress >= upgrade.maxProgress;

	const buyUpgrade = () => {
		if (upgradePurchased) {
			return;
		}

		sendClientMessage('event.upgrade.buyUpgrade', upgrade.id);
	};

	$$self.$$set = $$props => {
		if ('upgrade' in $$props) $$invalidate(0, upgrade = $$props.upgrade);
	};

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*upgrade*/ 1) {
			$: $$invalidate(1, upgradePurchased = upgrade.progress >= upgrade.maxProgress);
		}
	};

	return [upgrade, upgradePurchased, buyUpgrade];
}

class Upgrade_item extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, upgrade_item_index_svelte_instance, upgrade_item_index_svelte_create_fragment, safe_not_equal, { upgrade: 0 }, upgrade_item_index_svelte_add_css);
	}
}

/* harmony default export */ const upgrade_item_index_svelte = (Upgrade_item);
;// CONCATENATED MODULE: ./src/views/phone/apps/upgrades/index.svelte
/* src\views\phone\apps\upgrades\index.svelte generated by Svelte v3.49.0 */











function upgrades_index_svelte_add_css(target) {
	append_styles(target, "svelte-1mk5tsr", "@keyframes svelte-1mk5tsr-blinking{50%{opacity:0}}@keyframes svelte-1mk5tsr-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1mk5tsr-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1mk5tsr-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1mk5tsr-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1mk5tsr-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1mk5tsr-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1mk5tsr-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1mk5tsr-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1mk5tsr-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1mk5tsr-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1mk5tsr-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1mk5tsr-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1mk5tsr-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1mk5tsr-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.upgrades-app.svelte-1mk5tsr.svelte-1mk5tsr{position:relative;flex:1 1 auto;display:flex;flex-direction:column;align-items:stretch;overflow:hidden;height:100%;background:rgb(29, 24, 107);background:radial-gradient(circle, rgba(32, 39, 49, 0.85) 0%, rgba(32, 39, 49, 0.95) 35%);padding-top:calc(0.0260416667 * 100vw + 0px);padding-left:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.upgrades-app.svelte-1mk5tsr.svelte-1mk5tsr{padding-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrades-app.svelte-1mk5tsr.svelte-1mk5tsr{padding-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrades-app.svelte-1mk5tsr.svelte-1mk5tsr{padding-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.upgrades-app.svelte-1mk5tsr.svelte-1mk5tsr{padding-top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrades-app.svelte-1mk5tsr.svelte-1mk5tsr{padding-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrades-app.svelte-1mk5tsr.svelte-1mk5tsr{padding-top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.upgrades-app.svelte-1mk5tsr.svelte-1mk5tsr{padding-top:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.upgrades-app.svelte-1mk5tsr.svelte-1mk5tsr{padding-left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrades-app.svelte-1mk5tsr.svelte-1mk5tsr{padding-left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrades-app.svelte-1mk5tsr.svelte-1mk5tsr{padding-left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.upgrades-app.svelte-1mk5tsr.svelte-1mk5tsr{padding-left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrades-app.svelte-1mk5tsr.svelte-1mk5tsr{padding-left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrades-app.svelte-1mk5tsr.svelte-1mk5tsr{padding-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.upgrades-app.svelte-1mk5tsr.svelte-1mk5tsr{padding-left:calc(0.0286458333 * 100vw + 0px)}}.upgrades-app__back-wrapper.svelte-1mk5tsr.svelte-1mk5tsr{display:flex;align-items:center}.upgrades-app__back.svelte-1mk5tsr.svelte-1mk5tsr{color:rgba(255, 255, 255, 0.45);transition:0.14s ease-out;transition-property:color;font-size:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.upgrades-app__back.svelte-1mk5tsr.svelte-1mk5tsr{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrades-app__back.svelte-1mk5tsr.svelte-1mk5tsr{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrades-app__back.svelte-1mk5tsr.svelte-1mk5tsr{font-size:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.upgrades-app__back.svelte-1mk5tsr.svelte-1mk5tsr{font-size:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrades-app__back.svelte-1mk5tsr.svelte-1mk5tsr{font-size:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrades-app__back.svelte-1mk5tsr.svelte-1mk5tsr{font-size:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.upgrades-app__back.svelte-1mk5tsr.svelte-1mk5tsr{font-size:calc(0.0171875 * 100vw + 0px)}}.upgrades-app__back.svelte-1mk5tsr.svelte-1mk5tsr:hover{color:#FFFFFF}.upgrades-app__back-title.svelte-1mk5tsr.svelte-1mk5tsr{color:#FFFFFF;font-family:\"GothamPro-Bold\";font-size:calc(0.0333333333 * 100vw + 0px);margin-left:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.upgrades-app__back-title.svelte-1mk5tsr.svelte-1mk5tsr{font-size:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrades-app__back-title.svelte-1mk5tsr.svelte-1mk5tsr{font-size:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrades-app__back-title.svelte-1mk5tsr.svelte-1mk5tsr{font-size:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.upgrades-app__back-title.svelte-1mk5tsr.svelte-1mk5tsr{font-size:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrades-app__back-title.svelte-1mk5tsr.svelte-1mk5tsr{font-size:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrades-app__back-title.svelte-1mk5tsr.svelte-1mk5tsr{font-size:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.upgrades-app__back-title.svelte-1mk5tsr.svelte-1mk5tsr{font-size:calc(0.0366666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.upgrades-app__back-title.svelte-1mk5tsr.svelte-1mk5tsr{margin-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrades-app__back-title.svelte-1mk5tsr.svelte-1mk5tsr{margin-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrades-app__back-title.svelte-1mk5tsr.svelte-1mk5tsr{margin-left:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.upgrades-app__back-title.svelte-1mk5tsr.svelte-1mk5tsr{margin-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrades-app__back-title.svelte-1mk5tsr.svelte-1mk5tsr{margin-left:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrades-app__back-title.svelte-1mk5tsr.svelte-1mk5tsr{margin-left:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.upgrades-app__back-title.svelte-1mk5tsr.svelte-1mk5tsr{margin-left:calc(0.0080208333 * 100vw + 0px)}}.upgrades-app__nav-bar-wrapper.svelte-1mk5tsr.svelte-1mk5tsr{display:flex;margin-top:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.upgrades-app__nav-bar-wrapper.svelte-1mk5tsr.svelte-1mk5tsr{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrades-app__nav-bar-wrapper.svelte-1mk5tsr.svelte-1mk5tsr{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrades-app__nav-bar-wrapper.svelte-1mk5tsr.svelte-1mk5tsr{margin-top:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.upgrades-app__nav-bar-wrapper.svelte-1mk5tsr.svelte-1mk5tsr{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrades-app__nav-bar-wrapper.svelte-1mk5tsr.svelte-1mk5tsr{margin-top:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrades-app__nav-bar-wrapper.svelte-1mk5tsr.svelte-1mk5tsr{margin-top:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.upgrades-app__nav-bar-wrapper.svelte-1mk5tsr.svelte-1mk5tsr{margin-top:calc(0.0200520833 * 100vw + 0px)}}.upgrades-app__nav-bar.svelte-1mk5tsr.svelte-1mk5tsr{display:flex;align-items:center;justify-content:center;border-bottom:1px solid #86898B;transition:border-bottom 0.2s linear;width:calc(0.2864583333 * 100vw + 0px);height:calc(0.0520833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.upgrades-app__nav-bar.svelte-1mk5tsr.svelte-1mk5tsr{width:calc(0.2864583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrades-app__nav-bar.svelte-1mk5tsr.svelte-1mk5tsr{width:calc(0.2864583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrades-app__nav-bar.svelte-1mk5tsr.svelte-1mk5tsr{width:calc(0.2205729167 * 100vw + 0px)}}@media(min-width: 3440px){.upgrades-app__nav-bar.svelte-1mk5tsr.svelte-1mk5tsr{width:calc(0.3151041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrades-app__nav-bar.svelte-1mk5tsr.svelte-1mk5tsr{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrades-app__nav-bar.svelte-1mk5tsr.svelte-1mk5tsr{width:calc(0.2578125 * 100vw + 0px)}}@media(min-width: 4096px){.upgrades-app__nav-bar.svelte-1mk5tsr.svelte-1mk5tsr{width:calc(0.3151041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.upgrades-app__nav-bar.svelte-1mk5tsr.svelte-1mk5tsr{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrades-app__nav-bar.svelte-1mk5tsr.svelte-1mk5tsr{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrades-app__nav-bar.svelte-1mk5tsr.svelte-1mk5tsr{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.upgrades-app__nav-bar.svelte-1mk5tsr.svelte-1mk5tsr{height:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrades-app__nav-bar.svelte-1mk5tsr.svelte-1mk5tsr{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrades-app__nav-bar.svelte-1mk5tsr.svelte-1mk5tsr{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.upgrades-app__nav-bar.svelte-1mk5tsr.svelte-1mk5tsr{height:calc(0.0572916667 * 100vw + 0px)}}.upgrades-app__nav-bar--selected.svelte-1mk5tsr.svelte-1mk5tsr{border-bottom:1px solid #F2C94C}.upgrades-app__nav-bar--selected.svelte-1mk5tsr .upgrades-app__nav-bar-title.svelte-1mk5tsr{color:#F2C94C}.upgrades-app__nav-bar.svelte-1mk5tsr.svelte-1mk5tsr:hover{border-bottom:1px solid #F2C94C}.upgrades-app__nav-bar.svelte-1mk5tsr:hover .upgrades-app__nav-bar-title.svelte-1mk5tsr{color:#F2C94C}.upgrades-app__nav-bar-title.svelte-1mk5tsr.svelte-1mk5tsr{color:#BABDBF;font-family:\"GothamPro-Medium\";transition:color 0.2s linear;font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.upgrades-app__nav-bar-title.svelte-1mk5tsr.svelte-1mk5tsr{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrades-app__nav-bar-title.svelte-1mk5tsr.svelte-1mk5tsr{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrades-app__nav-bar-title.svelte-1mk5tsr.svelte-1mk5tsr{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.upgrades-app__nav-bar-title.svelte-1mk5tsr.svelte-1mk5tsr{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrades-app__nav-bar-title.svelte-1mk5tsr.svelte-1mk5tsr{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrades-app__nav-bar-title.svelte-1mk5tsr.svelte-1mk5tsr{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.upgrades-app__nav-bar-title.svelte-1mk5tsr.svelte-1mk5tsr{font-size:calc(0.0114583333 * 100vw + 0px)}}.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr{display:flex;flex-wrap:wrap;width:fit-content;overflow:auto;margin-top:calc(0.0317708333 * 100vw + 0px);margin-right:calc(0.0166666667 * 100vw + 0px);margin-bottom:calc(0.0145833333 * 100vw + 0px);gap:calc(0.0182291667 * 100vw + 0px)}.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr{margin-top:calc(0.0317708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr{margin-top:calc(0.0317708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr{margin-top:calc(0.0244635417 * 100vw + 0px)}}@media(min-width: 3440px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr{margin-top:calc(0.0349479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr{margin-top:calc(0.0222395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr{margin-top:calc(0.02859375 * 100vw + 0px)}}@media(min-width: 4096px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr{margin-top:calc(0.0349479167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr{margin-right:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr{margin-right:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr{margin-right:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr{margin-right:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr{margin-right:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr{margin-right:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr{margin-right:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr{margin-bottom:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr{margin-bottom:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr{margin-bottom:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr{margin-bottom:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr{margin-bottom:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr{margin-bottom:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr{margin-bottom:calc(0.0160416667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr{gap:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr{gap:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr{gap:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr{gap:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr{gap:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr{gap:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr{gap:calc(0.0200520833 * 100vw + 0px)}}.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar{width:calc(0.0010416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar{width:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar{width:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar{width:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar{width:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar{width:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar{width:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.upgrades-app__items-list.svelte-1mk5tsr.svelte-1mk5tsr::-webkit-scrollbar{width:calc(0.0011458333 * 100vw + 0px)}}");
}

function upgrades_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[19] = list[i];
	return child_ctx;
}

function upgrades_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[22] = list[i];
	return child_ctx;
}

// (992:8) {#each tabs as tab}
function upgrades_index_svelte_create_each_block_1(ctx) {
	let div;
	let p;
	let t0_value = /*tab*/ ctx[22].title + "";
	let t0;
	let t1;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[7](/*tab*/ ctx[22]);
	}

	return {
		c() {
			div = internal_element("div");
			p = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			attr(p, "class", "upgrades-app__nav-bar-title svelte-1mk5tsr");
			attr(div, "class", "upgrades-app__nav-bar svelte-1mk5tsr");
			toggle_class(div, "upgrades-app__nav-bar--selected", /*selectedTabId*/ ctx[3] === /*tab*/ ctx[22].id);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p);
			append(p, t0);
			append(div, t1);

			if (!mounted) {
				dispose = listen(div, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if (dirty & /*tabs*/ 4 && t0_value !== (t0_value = /*tab*/ ctx[22].title + "")) set_data(t0, t0_value);

			if (dirty & /*selectedTabId, tabs*/ 12) {
				toggle_class(div, "upgrades-app__nav-bar--selected", /*selectedTabId*/ ctx[3] === /*tab*/ ctx[22].id);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (1004:4) {#if !isEmpty(upgrades[selectedTabId])}
function upgrades_index_svelte_create_if_block(ctx) {
	let div;
	let previous_key = /*selectedTabId*/ ctx[3];
	let current;
	let key_block = index_svelte_create_key_block(ctx);

	return {
		c() {
			div = internal_element("div");
			key_block.c();
			attr(div, "class", "upgrades-app__items-list svelte-1mk5tsr");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			key_block.m(div, null);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty & /*selectedTabId*/ 8 && safe_not_equal(previous_key, previous_key = /*selectedTabId*/ ctx[3])) {
				group_outros();
				transition_out(key_block, 1, 1, internal_noop);
				check_outros();
				key_block = index_svelte_create_key_block(ctx);
				key_block.c();
				transition_in(key_block, 1);
				key_block.m(div, null);
			} else {
				key_block.p(ctx, dirty);
			}
		},
		i(local) {
			if (current) return;
			transition_in(key_block);
			current = true;
		},
		o(local) {
			transition_out(key_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			key_block.d(detaching);
		}
	};
}

// (1007:16) {#each upgrades[selectedTabId] as upgrade}
function upgrades_index_svelte_create_each_block(ctx) {
	let upgradeitem;
	let current;
	upgradeitem = new upgrade_item_index_svelte({ props: { upgrade: /*upgrade*/ ctx[19] } });

	return {
		c() {
			create_component(upgradeitem.$$.fragment);
		},
		m(target, anchor) {
			mount_component(upgradeitem, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const upgradeitem_changes = {};
			if (dirty & /*upgrades, selectedTabId*/ 10) upgradeitem_changes.upgrade = /*upgrade*/ ctx[19];
			upgradeitem.$set(upgradeitem_changes);
		},
		i(local) {
			if (current) return;
			transition_in(upgradeitem.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(upgradeitem.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(upgradeitem, detaching);
		}
	};
}

// (1006:12) {#key selectedTabId}
function index_svelte_create_key_block(ctx) {
	let each_1_anchor;
	let current;
	let each_value = /*upgrades*/ ctx[1][/*selectedTabId*/ ctx[3]];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = upgrades_index_svelte_create_each_block(upgrades_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty & /*upgrades, selectedTabId*/ 10) {
				each_value = /*upgrades*/ ctx[1][/*selectedTabId*/ ctx[3]];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = upgrades_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = upgrades_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			destroy_each(each_blocks, detaching);
			if (detaching) detach(each_1_anchor);
		}
	};
}

function upgrades_index_svelte_create_fragment(ctx) {
	let div2;
	let div0;
	let i;
	let t0;
	let p;
	let t2;
	let div1;
	let t3;
	let show_if = !(0,lodash.isEmpty)(/*upgrades*/ ctx[1][/*selectedTabId*/ ctx[3]]);
	let current;
	let mounted;
	let dispose;
	let each_value_1 = /*tabs*/ ctx[2];
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = upgrades_index_svelte_create_each_block_1(upgrades_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	let if_block = show_if && upgrades_index_svelte_create_if_block(ctx);

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			p = internal_element("p");
			p.textContent = "Навыки";
			t2 = space();
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t3 = space();
			if (if_block) if_block.c();
			attr(i, "class", "upgrades-app__back icon-chevron-left svelte-1mk5tsr");
			attr(p, "class", "upgrades-app__back-title svelte-1mk5tsr");
			attr(div0, "class", "upgrades-app__back-wrapper svelte-1mk5tsr");
			attr(div1, "class", "upgrades-app__nav-bar-wrapper svelte-1mk5tsr");
			attr(div2, "class", "upgrades-app svelte-1mk5tsr");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div0, i);
			append(div0, t0);
			append(div0, p);
			append(div2, t2);
			append(div2, div1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}

			append(div2, t3);
			if (if_block) if_block.m(div2, null);
			current = true;

			if (!mounted) {
				dispose = listen(i, "click", function () {
					if (internal_is_function(/*backToMainMenu*/ ctx[0])) /*backToMainMenu*/ ctx[0].apply(this, arguments);
				});

				mounted = true;
			}
		},
		p(new_ctx, [dirty]) {
			ctx = new_ctx;

			if (dirty & /*selectedTabId, tabs, selectTab*/ 28) {
				each_value_1 = /*tabs*/ ctx[2];
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = upgrades_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = upgrades_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div1, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}

			if (dirty & /*upgrades, selectedTabId*/ 10) show_if = !(0,lodash.isEmpty)(/*upgrades*/ ctx[1][/*selectedTabId*/ ctx[3]]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*upgrades, selectedTabId*/ 10) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = upgrades_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(div2, null);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div2);
			destroy_each(each_blocks, detaching);
			if (if_block) if_block.d();
			mounted = false;
			dispose();
		}
	};
}

function upgrades_index_svelte_instance($$self, $$props, $$invalidate) {
	let $serverApiToken;
	let $serverApiServerId;
	component_subscribe($$self, serverApiToken, $$value => $$invalidate(8, $serverApiToken = $$value));
	component_subscribe($$self, serverApiServerId, $$value => $$invalidate(9, $serverApiServerId = $$value));

	let { backToMainMenu = () => {
		
	} } = $$props;

	let upgradesProgress = [];
	let upgradesList = [];
	let upgrades = {};
	let tabs = [];
	let selectedTabId = null;

	const selectTab = tabId => {
		$$invalidate(3, selectedTabId = tabId);
	};

	const setUpgrades = dto => {
		$$invalidate(5, upgradesProgress = [...upgradesProgress, ...dto]);
	};

	const initializeUpgrades = upgradesDto => {
		$$invalidate(1, upgrades = upgradesDto);
	};

	const initializeTabs = tabsDto => {
		$$invalidate(2, tabs = tabsDto);
	};

	const getAchievements = () => {
		lib_axios.get(`${SERVER_API_URL}/client/json/table/get?project=${SERVER_API_PROJECT}&server=${$serverApiServerId}&key=achievements`, {
			headers: {
				Authorization: `Bearer ${$serverApiToken}`
			}
		}).then(response => {
			$$invalidate(6, upgradesList = response.data);
		}).catch(error => {
			// eslint-disable-next-line no-console
			console.log('error from getAchievements', JSON.stringify(error));
		});
	};

	const updateUpgrade = upgradeDto => {
		if (!upgrades[upgradeDto.category]) {
			return;
		}

		const itemToUpdateIndex = upgrades[upgradeDto.category].findIndex(el => el.id === upgradeDto.id);

		if (itemToUpdateIndex === -1) {
			return;
		}

		$$invalidate(
			1,
			upgrades[upgradeDto.category][itemToUpdateIndex] = {
				...upgrades[upgradeDto.category][itemToUpdateIndex],
				...upgradeDto
			},
			upgrades
		);

		((($$invalidate(1, upgrades), $$invalidate(6, upgradesList)), $$invalidate(5, upgradesProgress)), $$invalidate(2, tabs));
	};

	const unregisterInitializeUpgradesEvent = registerEvent('event.upgrades.initialize.upgrades', initializeUpgrades);
	const unregisterInitializeTabsEvent = registerEvent('event.upgrades.initialize.tabs', initializeTabs);
	const unregisterSetUpgradesEvent = registerEvent('event.upgrades.setUpgrades', setUpgrades);
	const unregisterUpdateUpgradeEvent = registerEvent('event.upgrades.updateItem', updateUpgrade);

	if ((0,lodash.isEmpty)(upgrades)) {
		getAchievements();
	}

	onDestroy(() => {
		unregisterUpdateUpgradeEvent();
		unregisterInitializeUpgradesEvent();
		unregisterInitializeTabsEvent();
		unregisterSetUpgradesEvent();
		sendClientMessage('event.upgrade.close');
	});

	const click_handler = tab => selectTab(tab.id);

	$$self.$$set = $$props => {
		if ('backToMainMenu' in $$props) $$invalidate(0, backToMainMenu = $$props.backToMainMenu);
	};

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*upgradesList, upgradesProgress, upgrades, tabs*/ 102) {
			$: {
				if (!(0,lodash.isEmpty)(upgradesList) && !(0,lodash.isEmpty)(upgradesProgress)) {
					const temp = upgradesProgress.map(progressItem => {
						const existingItem = upgradesList.find(findIitem => findIitem.id === progressItem.id);
						return { ...existingItem, ...progressItem };
					});

					temp.forEach(item => {
						if ((0,lodash.isNil)(upgrades[item.category])) {
							$$invalidate(1, upgrades[item.category] = [], upgrades);
						}

						$$invalidate(1, upgrades[item.category] = [...upgrades[item.category], item], upgrades);
					});

					selectTab(tabs[0].id);
					$$invalidate(5, upgradesProgress = []);
				}
			}
		}
	};

	return [
		backToMainMenu,
		upgrades,
		tabs,
		selectedTabId,
		selectTab,
		upgradesProgress,
		upgradesList,
		click_handler
	];
}

class Upgrades extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, upgrades_index_svelte_instance, upgrades_index_svelte_create_fragment, safe_not_equal, { backToMainMenu: 0 }, upgrades_index_svelte_add_css);
	}
}

/* harmony default export */ const upgrades_index_svelte = (Upgrades);
;// CONCATENATED MODULE: ./src/views/phone/img/app/ducktap/logo.png
const ducktap_logo_namespaceObject = __webpack_require__.p + "assets/3703e6d22d6465275c5f.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/ducktap/coin.png
const coin_namespaceObject = __webpack_require__.p + "assets/cf81b812a38cf7c14c31.webp";
;// CONCATENATED MODULE: ./src/views/phone/apps/ducktap/components/loading-screen/index.svelte
/* src\views\phone\apps\ducktap\components\loading-screen\index.svelte generated by Svelte v3.49.0 */





function loading_screen_index_svelte_create_fragment(ctx) {
	let div3;
	let div2;
	let div0;
	let loader;
	let t0;
	let div1;
	let current;
	loader = new loader_index_svelte({});

	return {
		c() {
			div3 = internal_element("div");
			div2 = internal_element("div");
			div0 = internal_element("div");
			create_component(loader.$$.fragment);
			t0 = space();
			div1 = internal_element("div");
			div1.textContent = "Загрузка";
			attr(div0, "class", "ducktap-loading-screen__loader");
			attr(div1, "class", "ducktap-loading-screen__loader-caption");
			attr(div2, "class", "ducktap-loading-screen__loader-wrapper");
			attr(div3, "class", "ducktap-loading-screen");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div2);
			append(div2, div0);
			mount_component(loader, div0, null);
			append(div2, t0);
			append(div2, div1);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(loader.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(loader.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div3);
			destroy_component(loader);
		}
	};
}

class Loading_screen extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, loading_screen_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const loading_screen_index_svelte = (Loading_screen);
;// CONCATENATED MODULE: ./src/views/phone/img/app/ducktap/bronze-duck.png
const bronze_duck_namespaceObject = __webpack_require__.p + "assets/c4999c22e7c3eb517845.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/ducktap/silver-duck.png
const silver_duck_namespaceObject = __webpack_require__.p + "assets/6dca3f56af014bbb8f30.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/ducktap/gold-duck.png
const gold_duck_namespaceObject = __webpack_require__.p + "assets/3fea01465b1198df3c8c.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/ducktap/platinum-duck.png
const platinum_duck_namespaceObject = __webpack_require__.p + "assets/bd30e71b53d4b84814e8.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/ducktap/bronze-tier.png
const bronze_tier_namespaceObject = __webpack_require__.p + "assets/880e9091cb1fa2b6925c.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/ducktap/silver-tier.png
const silver_tier_namespaceObject = __webpack_require__.p + "assets/27a4b5f7e852d5a71a34.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/ducktap/gold-tier.png
const gold_tier_namespaceObject = __webpack_require__.p + "assets/d12c5736846345b0dabb.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/ducktap/platinum-tier.png
const platinum_tier_namespaceObject = __webpack_require__.p + "assets/08e2c3c4992996222540.webp";
;// CONCATENATED MODULE: ./src/views/phone/apps/ducktap/constants.js









var RECOUNT_FREQUENCY = 1000;
var DATA_SEND_FREQUENCY = 5000;
var ENERGY_PER_SECOND = 3;
var constants_CDN_URL = "".concat(cdn_CDN_URL_RODINA, "/systems/duck");
var Routes = {
  Main: 'main',
  Boost: 'boost',
  Leaderboard: 'leaderboard',
  Upgrade: 'upgrade',
  Referals: 'referals',
  Cashout: 'cashout'
};
var MENU_ITEMS = [{
  id: Routes.Boost,
  icon: 'icon-charge',
  title: 'Бустить'
}, {
  id: Routes.Leaderboard,
  icon: 'icon-medal',
  title: 'Топ-кряков'
}, {
  id: Routes.Upgrade,
  icon: 'icon-refresh',
  title: 'Улучшения'
}, {
  id: Routes.Referals,
  icon: 'icon-person',
  title: 'Рефералы'
}, {
  id: Routes.Cashout,
  icon: 'icon-wallet',
  title: 'Вывести'
}];
var TIERS_ITEMS = [{
  name: 'Бронзовая лига',
  alias: 'bronze',
  duckImage: bronze_duck_namespaceObject,
  shieldImage: bronze_tier_namespaceObject
}, {
  name: 'Серебряная лига',
  alias: 'silver',
  duckImage: silver_duck_namespaceObject,
  shieldImage: silver_tier_namespaceObject
}, {
  name: 'Золотая лига',
  alias: 'gold',
  duckImage: gold_duck_namespaceObject,
  shieldImage: gold_tier_namespaceObject
}, {
  name: 'Платиновая лига',
  alias: 'platinum',
  duckImage: platinum_duck_namespaceObject,
  shieldImage: platinum_tier_namespaceObject
}];
;// CONCATENATED MODULE: ./src/views/phone/apps/ducktap/mock.js
var MAIN_DATA_MOCK = {
  user: 'Noirs',
  income: 72000,
  tier: 0,
  tapCoast: 10,
  nextTarget: 15000,
  balance: 12000,
  currentEnergy: 3000,
  totalEnergy: 3000
};
var BOSTERS_MOCK = [{
  id: 1,
  title: 'х2 множитель коинов',
  price: 1500,
  description: 'Умножает в 2 раза количество коинов за клик',
  iconUrl: 'boost_0.png'
}, {
  id: 2,
  title: 'х2 множитель коинов',
  price: 1500,
  description: 'Умножает в 2 раза количество коинов за клик',
  iconUrl: 'boost_0.png'
}, {
  id: 3,
  title: 'х2 множитель коинов',
  price: 1500,
  description: 'Умножает в 2 раза количество коинов за клик',
  iconUrl: 'boost_0.png'
}, {
  id: 4,
  title: 'х2 множитель коинов',
  price: 1500,
  description: 'Умножает в 2 раза количество коинов за клик',
  iconUrl: 'boost_0.png'
}, {
  id: 5,
  title: 'х2 множитель коинов',
  price: 1500,
  description: 'Умножает в 2 раза количество коинов за клик',
  iconUrl: 'boost_0.png'
}, {
  id: 6,
  title: 'х2 множитель коинов',
  price: 1500,
  description: 'Умножает в 2 раза количество коинов за клик',
  iconUrl: 'boost_0.png'
}, {
  id: 7,
  title: 'х2 множитель коинов',
  price: 1500,
  description: 'Умножает в 2 раза количество коинов за клик',
  iconUrl: 'boost_0.png'
}];
var LEADERBOARD_BRONZE_MOCK = {
  id: 0,
  items: [{
    user: 'Noirs',
    balance: 442211,
    income: 31233
  }, {
    user: 'Noirs',
    balance: 442211,
    income: 3333333
  }, {
    user: 'Noirs',
    balance: 442211,
    income: 34441233
  }, {
    user: 'Noirs',
    balance: 442211,
    income: 355133
  }, {
    user: 'Noirs',
    balance: 442211,
    income: 222311
  }, {
    user: 'Noirs',
    balance: 442211,
    income: 3441233
  }]
};
var LEADERBOARD_SILVER_MOCK = {
  id: 1,
  items: [{
    user: 'Noirs',
    balance: 564879,
    income: 12333,
    placement: 1
  }, {
    user: 'Noirs',
    balance: 564879,
    income: 35533,
    placement: 2
  }, {
    user: 'Noirs',
    balance: 564879,
    income: 4333,
    placement: 3
  }, {
    user: 'Noirs',
    balance: 564879,
    income: 11333,
    placement: 4
  }, {
    user: 'Noirs',
    balance: 564879,
    income: 2333,
    placement: 5
  }, {
    user: 'Noirs',
    balance: 564879,
    income: 33333,
    placement: 6
  }]
};
var UPGRADES_MOCK = [{
  id: 0,
  title: 'BTC BTCBTC стейкинг',
  income: 1500,
  level: 10,
  levelMax: 20,
  price: 1000,
  seconds: 0,
  referalCount: 0,
  imageUrl: 'boost_0.png',
  isDonate: true
}, {
  id: 1,
  title: 'BTC стейкинг',
  income: 357,
  level: 10,
  levelMax: 20,
  price: 1800,
  seconds: 0,
  referalCount: 0,
  imageUrl: 'boost_0.png',
  isDonate: false
}, {
  id: 2,
  title: 'BTC стейкинг',
  income: 1500,
  level: 20,
  levelMax: 20,
  price: 25000,
  seconds: 0,
  referalCount: 0,
  imageUrl: 'boost_0.png',
  isDonate: false
}, {
  id: 3,
  title: 'BTC стейкинг',
  income: 1500,
  level: 10,
  levelMax: 20,
  price: 25000,
  seconds: 0,
  referalCount: 4,
  imageUrl: 'boost_0.png',
  isDonate: true
}, {
  id: 4,
  title: 'BTC стейкинг',
  income: 1500,
  level: 10,
  levelMax: 20,
  price: 25000,
  seconds: 13320,
  referalCount: 0,
  imageUrl: 'boost_0.png',
  isDonate: false
}, {
  id: 5,
  title: 'BTC стейкинг',
  income: 1500,
  level: 10,
  levelMax: 20,
  price: 25000,
  seconds: 22,
  referalCount: 11,
  imageUrl: 'boost_0.png',
  isDonate: false
}];
var REFERALS_MOCK = [{
  user: 'Noirs',
  balance: 442211,
  income: 44333
}, {
  user: 'Noirs',
  balance: 442211,
  income: 12333
}, {
  user: 'Noirs',
  balance: 442211,
  income: 51333
}, {
  user: 'Noirs',
  balance: 442211,
  income: 36633
}, {
  user: 'Noirs',
  balance: 442211,
  income: 13333
}, {
  user: 'Noirs',
  balance: 442211,
  income: 21333
}, {
  user: 'Noirs',
  balance: 442211,
  income: 33333
}, {
  user: 'Noirs',
  balance: 442211,
  income: 41333
}, {
  user: 'Noirs',
  balance: 442211,
  income: 11333
}, {
  user: 'Noirs',
  balance: 442211,
  income: 3112333
}, {
  user: 'Noirs',
  balance: 442211,
  income: 3333333
}, {
  user: 'Noirs',
  balance: 442211,
  income: 1231333
}];
;// CONCATENATED MODULE: ./src/views/phone/apps/ducktap/store.js
function ducktap_store_typeof(o) { "@babel/helpers - typeof"; return ducktap_store_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, ducktap_store_typeof(o); }
function ducktap_store_toConsumableArray(r) { return ducktap_store_arrayWithoutHoles(r) || ducktap_store_iterableToArray(r) || ducktap_store_unsupportedIterableToArray(r) || ducktap_store_nonIterableSpread(); }
function ducktap_store_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 ducktap_store_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return ducktap_store_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? ducktap_store_arrayLikeToArray(r, a) : void 0; } }
function ducktap_store_iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
function ducktap_store_arrayWithoutHoles(r) { if (Array.isArray(r)) return ducktap_store_arrayLikeToArray(r); }
function ducktap_store_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
function store_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function store_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? store_ownKeys(Object(t), !0).forEach(function (r) { ducktap_store_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : store_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function ducktap_store_defineProperty(e, r, t) { return (r = ducktap_store_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function ducktap_store_toPropertyKey(t) { var i = ducktap_store_toPrimitive(t, "string"); return "symbol" == ducktap_store_typeof(i) ? i : i + ""; }
function ducktap_store_toPrimitive(t, r) { if ("object" != ducktap_store_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != ducktap_store_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }




var mainData = writable({});
var boosters = writable([]);
var leaders = writable({});
var upgrades = writable([]);
var referals = writable([]);
var mute = writable(false);
var recountInervalId = writable(null);
var timerIntervalId = writable(null);
var inititalizeMainData = function inititalizeMainData(mainDto) {
  var temp = store_objectSpread(store_objectSpread({}, mainDto), {}, {
    incomePerSecond: mainDto.income / 3600
  });
  mainData.set(temp);
};
var updateBalance = function updateBalance(newValue) {
  return mainData.update(function (data) {
    var cache = data;
    cache.balance = newValue;
    return cache;
  });
};
var updateTapCoast = function updateTapCoast(newValue) {
  return mainData.update(function (data) {
    var cache = data;
    cache.tapCoast = newValue;
    return cache;
  });
};
var updateNextTarget = function updateNextTarget(newValue) {
  return mainData.update(function (data) {
    var cache = data;
    cache.nextTarget = newValue;
    return cache;
  });
};
var updateTotalEnergy = function updateTotalEnergy(newValue) {
  return mainData.update(function (data) {
    var cache = data;
    cache.totalEnergy = newValue;
    return cache;
  });
};
var updateCurrentEnergy = function updateCurrentEnergy(newValue) {
  return mainData.update(function (data) {
    var cache = data;
    cache.currentEnergy = newValue;
    return cache;
  });
};
var updateIncome = function updateIncome(newValue) {
  return mainData.update(function (data) {
    var cache = data;
    cache.income = newValue;
    cache.incomePerSecond = newValue / 3600;
    return cache;
  });
};
var updateTier = function updateTier(newValue) {
  return mainData.update(function (data) {
    var cache = data;
    cache.tier = newValue;
    return cache;
  });
};
var updatePlacement = function updatePlacement(place) {
  return mainData.update(function (data) {
    var cache = data;
    cache.placement = place;
    return cache;
  });
};
var updateReferalCount = function updateReferalCount(count) {
  return mainData.update(function (data) {
    var cache = data;
    cache.referalCount = count;
    return cache;
  });
};
var inititalizeBoosters = function inititalizeBoosters(boostersDto) {
  var cache = get_store_value(boosters);
  if ((0,lodash.isEmpty)(cache)) {
    boosters.set(boostersDto);
  } else {
    boostersDto.forEach(function (newBoost) {
      var existedIndex = cache.findIndex(function (cachedBoost) {
        return cachedBoost.id === newBoost.id;
      });
      if (existedIndex >= 0) {
        cache[existedIndex] = store_objectSpread(store_objectSpread({}, cache[existedIndex]), newBoost);
      } else {
        cache = [].concat(ducktap_store_toConsumableArray(cache), [newBoost]);
      }
    });
    boosters.set(cache);
  }
};
var inititalizeLeaders = function inititalizeLeaders(leadersDto) {
  var cache = get_store_value(leaders);
  if ((0,lodash.isEmpty)(cache[leadersDto.id])) {
    cache[leadersDto.id] = leadersDto.items;
    leaders.set(cache);
  } else {
    cache[leadersDto.id] = [].concat(ducktap_store_toConsumableArray(cache[leadersDto.id]), ducktap_store_toConsumableArray(leadersDto.items));
    leaders.set(cache);
  }
};
var inititalizeUpgrades = function inititalizeUpgrades(upgradesDto) {
  var cache = get_store_value(upgrades);
  if ((0,lodash.isEmpty)(cache)) {
    upgrades.set(upgradesDto);
  } else {
    upgradesDto.forEach(function (newUpgrade) {
      var existedIndex = cache.findIndex(function (cachedUpgrade) {
        return cachedUpgrade.id === newUpgrade.id;
      });
      if (existedIndex >= 0) {
        cache[existedIndex] = store_objectSpread(store_objectSpread({}, cache[existedIndex]), newUpgrade);
      } else {
        cache = [].concat(ducktap_store_toConsumableArray(cache), [newUpgrade]);
      }
    });
    upgrades.set(cache);
  }
};
var inititalizeReferals = function inititalizeReferals(referalsDto) {
  if ((0,lodash.isEmpty)(referalsDto)) {
    referals.set(-1);
    return;
  }
  var cache = get_store_value(referals);
  if ((0,lodash.isEmpty)(cache)) {
    cache = referalsDto;
    referals.set(cache);
  } else {
    cache = [].concat(ducktap_store_toConsumableArray(cache), ducktap_store_toConsumableArray(referalsDto));
    referals.set(cache);
  }
};
registerEvent('event.ducktap.inititalizeMainData', inititalizeMainData);
registerEvent('event.ducktap.updateBalance', updateBalance);
registerEvent('event.ducktap.updateTapCoast', updateTapCoast);
registerEvent('event.ducktap.updateNextTarget', updateNextTarget);
registerEvent('event.ducktap.updateTotalEnergy', updateTotalEnergy);
registerEvent('event.ducktap.updateCurrentEnergy', updateCurrentEnergy);
registerEvent('event.ducktap.updateIncome', updateIncome);
registerEvent('event.ducktap.updateTier', updateTier);
registerEvent('event.ducktap.updatePlacement', updatePlacement);
registerEvent('event.ducktap.updateReferalCount', updateReferalCount);
registerEvent('event.ducktap.inititalizeBoosters', inititalizeBoosters);
registerEvent('event.ducktap.inititalizeLeaderboard', inititalizeLeaders);
registerEvent('event.ducktap.inititalizeUpgrades', inititalizeUpgrades);
registerEvent('event.ducktap.inititalizeReferals', inititalizeReferals);
;// CONCATENATED MODULE: ./src/views/phone/apps/ducktap/audio/quack.mp3
const quack_namespaceObject = __webpack_require__.p + "assets/6b437cbf69636e671431.mp3";
;// CONCATENATED MODULE: ./src/views/phone/apps/ducktap/components/main/index.svelte
/* src\views\phone\apps\ducktap\components\main\index.svelte generated by Svelte v3.49.0 */













function main_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[10] = list[i];
	child_ctx[12] = i;
	return child_ctx;
}

// (125:16) {#if !isNil(TIERS_ITEMS[$mainData.tier])}
function components_main_index_svelte_create_if_block(ctx) {
	let img;
	let img_src_value;
	let img_draggable_value;

	return {
		c() {
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = TIERS_ITEMS[/*$mainData*/ ctx[0].tier].duckImage)) attr(img, "src", img_src_value);
			attr(img, "draggable", img_draggable_value = false);
			attr(img, "alt", "duck");
			attr(img, "class", "ducktap-main__clicker-image");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*$mainData*/ 1 && !src_url_equal(img.src, img_src_value = TIERS_ITEMS[/*$mainData*/ ctx[0].tier].duckImage)) {
				attr(img, "src", img_src_value);
			}
		},
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (132:12) {#each taps as tap, index}
function main_index_svelte_create_each_block(ctx) {
	let div;
	let t_value = `+${/*$mainData*/ ctx[0].tapCoast}` + "";
	let t;
	let div_class_value;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", div_class_value = "ducktap-main__clicker-tap ducktap-main__clicker-tap-" + /*index*/ ctx[12]);
			set_style(div, "--y", `${/*tap*/ ctx[10].y}px`);
			set_style(div, "--x", `${/*tap*/ ctx[10].x}px`);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*$mainData*/ 1 && t_value !== (t_value = `+${/*$mainData*/ ctx[0].tapCoast}` + "")) set_data(t, t_value);

			if (dirty & /*taps*/ 4) {
				set_style(div, "--y", `${/*tap*/ ctx[10].y}px`);
			}

			if (dirty & /*taps*/ 4) {
				set_style(div, "--x", `${/*tap*/ ctx[10].x}px`);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function components_main_index_svelte_create_fragment(ctx) {
	let div17;
	let div2;
	let i;
	let t0;
	let div0;
	let t1_value = /*$mainData*/ ctx[0].currentEnergy + "";
	let t1;
	let t2;
	let div1;
	let t3;
	let t4_value = /*$mainData*/ ctx[0].totalEnergy + "";
	let t4;
	let t5;
	let div6;
	let div4;
	let div3;
	let show_if = !(0,lodash.isNil)(TIERS_ITEMS[/*$mainData*/ ctx[0].tier]);
	let t6;
	let div5;
	let t7;
	let div16;
	let div9;
	let div7;
	let t9;
	let div8;
	let t10_value = thousandsCut(/*$mainData*/ ctx[0].nextTarget) + "";
	let t10;
	let t11;
	let div12;
	let div10;
	let t13;
	let div11;
	let t14_value = /*$mainData*/ ctx[0].tapCoast + "";
	let t14;
	let t15;
	let div15;
	let div13;
	let t17;
	let div14;
	let t18_value = `${thousandsCut(/*$mainData*/ ctx[0].income)} / час` + "";
	let t18;
	let mounted;
	let dispose;
	let if_block = show_if && components_main_index_svelte_create_if_block(ctx);
	let each_value = /*taps*/ ctx[2];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = main_index_svelte_create_each_block(main_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div17 = internal_element("div");
			div2 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			div1 = internal_element("div");
			t3 = internal_text("/ ");
			t4 = internal_text(t4_value);
			t5 = space();
			div6 = internal_element("div");
			div4 = internal_element("div");
			div3 = internal_element("div");
			if (if_block) if_block.c();
			t6 = space();
			div5 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t7 = space();
			div16 = internal_element("div");
			div9 = internal_element("div");
			div7 = internal_element("div");
			div7.textContent = "Монет для апа";
			t9 = space();
			div8 = internal_element("div");
			t10 = internal_text(t10_value);
			t11 = space();
			div12 = internal_element("div");
			div10 = internal_element("div");
			div10.textContent = "Прибыль за тап";
			t13 = space();
			div11 = internal_element("div");
			t14 = internal_text(t14_value);
			t15 = space();
			div15 = internal_element("div");
			div13 = internal_element("div");
			div13.textContent = "Прибыль в час";
			t17 = space();
			div14 = internal_element("div");
			t18 = internal_text(t18_value);
			attr(i, "class", "ducktap-main__charge-icon icon-charge");
			attr(div0, "class", "ducktap-main__charge-current");
			attr(div1, "class", "ducktap-main__charge-total");
			attr(div2, "class", "ducktap-main__charge");
			attr(div3, "class", "ducktap-main__clicker-inner");
			attr(div4, "class", "ducktap-main__clicker-outer");
			attr(div5, "class", "ducktap-main__clicker-taps");
			attr(div6, "class", "ducktap-main__clicker");
			toggle_class(div6, "ducktap-main__clicker--disabled", /*disabled*/ ctx[1]);
			attr(div7, "class", "ducktap-main__button-caption");
			attr(div8, "class", "ducktap-main__button-value");
			attr(div9, "class", "ducktap-main__button ducktap-main__button--blue");
			attr(div10, "class", "ducktap-main__button-caption");
			attr(div11, "class", "ducktap-main__button-value");
			attr(div12, "class", "ducktap-main__button ducktap-main__button--gold");
			attr(div13, "class", "ducktap-main__button-caption");
			attr(div14, "class", "ducktap-main__button-value");
			attr(div15, "class", "ducktap-main__button ducktap-main__button--green");
			attr(div16, "class", "ducktap-main__buttons");
			attr(div17, "class", "ducktap-main");
		},
		m(target, anchor) {
			insert(target, div17, anchor);
			append(div17, div2);
			append(div2, i);
			append(div2, t0);
			append(div2, div0);
			append(div0, t1);
			append(div2, t2);
			append(div2, div1);
			append(div1, t3);
			append(div1, t4);
			append(div17, t5);
			append(div17, div6);
			append(div6, div4);
			append(div4, div3);
			if (if_block) if_block.m(div3, null);
			append(div6, t6);
			append(div6, div5);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div5, null);
			}

			append(div17, t7);
			append(div17, div16);
			append(div16, div9);
			append(div9, div7);
			append(div9, t9);
			append(div9, div8);
			append(div8, t10);
			append(div16, t11);
			append(div16, div12);
			append(div12, div10);
			append(div12, t13);
			append(div12, div11);
			append(div11, t14);
			append(div16, t15);
			append(div16, div15);
			append(div15, div13);
			append(div15, t17);
			append(div15, div14);
			append(div14, t18);

			if (!mounted) {
				dispose = listen(div4, "click", /*clickHandler*/ ctx[3]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*$mainData*/ 1 && t1_value !== (t1_value = /*$mainData*/ ctx[0].currentEnergy + "")) set_data(t1, t1_value);
			if (dirty & /*$mainData*/ 1 && t4_value !== (t4_value = /*$mainData*/ ctx[0].totalEnergy + "")) set_data(t4, t4_value);
			if (dirty & /*$mainData*/ 1) show_if = !(0,lodash.isNil)(TIERS_ITEMS[/*$mainData*/ ctx[0].tier]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = components_main_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div3, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (dirty & /*taps, $mainData*/ 5) {
				each_value = /*taps*/ ctx[2];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = main_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = main_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div5, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if (dirty & /*disabled*/ 2) {
				toggle_class(div6, "ducktap-main__clicker--disabled", /*disabled*/ ctx[1]);
			}

			if (dirty & /*$mainData*/ 1 && t10_value !== (t10_value = thousandsCut(/*$mainData*/ ctx[0].nextTarget) + "")) set_data(t10, t10_value);
			if (dirty & /*$mainData*/ 1 && t14_value !== (t14_value = /*$mainData*/ ctx[0].tapCoast + "")) set_data(t14, t14_value);
			if (dirty & /*$mainData*/ 1 && t18_value !== (t18_value = `${thousandsCut(/*$mainData*/ ctx[0].income)} / час` + "")) set_data(t18, t18_value);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div17);
			if (if_block) if_block.d();
			destroy_each(each_blocks, detaching);
			mounted = false;
			dispose();
		}
	};
}

function components_main_index_svelte_instance($$self, $$props, $$invalidate) {
	let $mainData;
	let $recountInervalId;
	let $mute;
	component_subscribe($$self, mainData, $$value => $$invalidate(0, $mainData = $$value));
	component_subscribe($$self, recountInervalId, $$value => $$invalidate(8, $recountInervalId = $$value));
	component_subscribe($$self, mute, $$value => $$invalidate(9, $mute = $$value));
	const quack = new Audio(quack_namespaceObject);
	let disabled = false;
	let timeOutId = null;
	let readyToSend = false;
	let accamulatedTaps = 0;
	let taps = [];

	const clickHandler = event => {
		if (disabled) {
			return;
		}

		$$invalidate(4, readyToSend = false);

		if ((0,lodash.isNil)(timeOutId)) {
			timeOutId = setTimeout(
				() => {
					$$invalidate(4, readyToSend = true);
				},
				1000
			);
		} else {
			clearTimeout(timeOutId);
			timeOutId = null;

			timeOutId = setTimeout(
				() => {
					$$invalidate(4, readyToSend = true);
				},
				1000
			);
		}

		if ($mainData.currentEnergy >= $mainData.tapCoast) {
			if (!$mute) {
				quack.pause();
				quack.currentTime = 0;
				quack.play();
			}

			const tap = {
				x: event.layerX,
				y: event.layerY,
				index: taps.length
			};

			taps.push(tap);
			set_store_value(mainData, $mainData.currentEnergy -= $mainData.tapCoast, $mainData);
			set_store_value(mainData, $mainData.balance += $mainData.tapCoast, $mainData);
			$$invalidate(5, accamulatedTaps += 1);
			$$invalidate(2, taps);

			setTimeout(
				() => {
					const tapNode = document.querySelector(`.ducktap-main__clicker-tap-${tap.index}`);

					if (!(0,lodash.isNil)(tapNode)) {
						tapNode.classList.add('ducktap-main__clicker-tap--hidden');
					}
				},
				1000
			);
		}
	};

	onMount(() => {
		if (!(0,lodash.isEmpty)($mainData) && (0,lodash.isNil)($recountInervalId)) {
			set_store_value(
				recountInervalId,
				$recountInervalId = setInterval(
					() => {
						if ($mainData.currentEnergy + ENERGY_PER_SECOND >= $mainData.totalEnergy) {
							set_store_value(mainData, $mainData.currentEnergy = $mainData.totalEnergy, $mainData);
						} else if ($mainData.currentEnergy !== $mainData.totalEnergy) {
							set_store_value(mainData, $mainData.currentEnergy += ENERGY_PER_SECOND, $mainData);
						}

						set_store_value(mainData, $mainData.balance += $mainData.incomePerSecond, $mainData);

						if ($mainData.balance >= $mainData.nextTarget && $mainData.tier < 3 && !disabled) {
							sendClientMessage('ducktap.levelUp');
							$$invalidate(1, disabled = true);
						}
					},
					RECOUNT_FREQUENCY
				),
				$recountInervalId
			);
		}
	});

	onDestroy(() => {
		if (accamulatedTaps > 0) {
			sendClientMessage('ducktap.accamulatedTaps', accamulatedTaps);
			$$invalidate(5, accamulatedTaps = 0);
		}
	});

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*$mainData*/ 1) {
			$: {
				if ($mainData.currentEnergy < $mainData.tapCoast || $mainData.balance >= $mainData.nextTarget && $mainData.tier < 3) {
					$$invalidate(1, disabled = true);
				} else {
					$$invalidate(1, disabled = false);
				}
			}
		}

		if ($$self.$$.dirty & /*readyToSend, accamulatedTaps, $mainData*/ 49) {
			$: {
				if (readyToSend && accamulatedTaps > 0) {
					sendClientMessage('ducktap.accamulatedTaps', accamulatedTaps);

					if ($mainData.balance >= $mainData.nextTarget) {
						sendClientMessage('ducktap.levelUp');
					}

					$$invalidate(5, accamulatedTaps = 0);
					$$invalidate(4, readyToSend = false);
				}
			}
		}
	};

	return [$mainData, disabled, taps, clickHandler, readyToSend, accamulatedTaps];
}

class index_svelte_Main extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, components_main_index_svelte_instance, components_main_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const components_main_index_svelte = (index_svelte_Main);
;// CONCATENATED MODULE: ./src/views/phone/apps/ducktap/components/boost/index.svelte
/* src\views\phone\apps\ducktap\components\boost\index.svelte generated by Svelte v3.49.0 */










function boost_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[3] = list[i];
	child_ctx[5] = i;
	return child_ctx;
}

// (26:4) {:else}
function boost_index_svelte_create_else_block(ctx) {
	let div;
	let each_value = /*$boosters*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = boost_index_svelte_create_each_block(boost_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "ducktap-boost__list");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}
		},
		p(ctx, dirty) {
			if (dirty & /*purchaseBoost, $boosters, CDN_URL*/ 3) {
				each_value = /*$boosters*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = boost_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = boost_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i(local) {
			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (22:4) {#if isEmpty($boosters)}
function boost_index_svelte_create_if_block(ctx) {
	let div;
	let loader;
	let current;
	loader = new loader_index_svelte({});

	return {
		c() {
			div = internal_element("div");
			create_component(loader.$$.fragment);
			attr(div, "class", "ducktap-boost__loader");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(loader, div, null);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(loader.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(loader.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(loader);
		}
	};
}

// (28:12) {#each $boosters as boost, index}
function boost_index_svelte_create_each_block(ctx) {
	let div7;
	let div0;
	let img;
	let img_src_value;
	let t0;
	let div3;
	let div1;
	let t1_value = /*boost*/ ctx[3].title + "";
	let t1;
	let t2;
	let div2;
	let t3_value = /*boost*/ ctx[3].description + "";
	let t3;
	let t4;
	let div6;
	let div4;
	let t5_value = /*boost*/ ctx[3].price + "";
	let t5;
	let t6;
	let div5;
	let t8;
	let div7_intro;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[2](/*boost*/ ctx[3]);
	}

	return {
		c() {
			div7 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div3 = internal_element("div");
			div1 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			div2 = internal_element("div");
			t3 = internal_text(t3_value);
			t4 = space();
			div6 = internal_element("div");
			div4 = internal_element("div");
			t5 = internal_text(t5_value);
			t6 = space();
			div5 = internal_element("div");
			div5.textContent = "AZ-COINS";
			t8 = space();
			if (!src_url_equal(img.src, img_src_value = `${constants_CDN_URL}/boost/${/*boost*/ ctx[3].iconUrl}`)) attr(img, "src", img_src_value);
			attr(img, "alt", "boost");
			attr(img, "class", "ducktap-boost__booster-icon-image");
			attr(div0, "class", "ducktap-boost__booster-icon");
			attr(div1, "class", "ducktap-boost__booster-title");
			attr(div2, "class", "ducktap-boost__booster-description");
			attr(div3, "class", "ducktap-boost__booster-title-wrapper");
			attr(div4, "class", "ducktap-boost__booster-price");
			attr(div5, "class", "ducktap-boost__booster-currency");
			attr(div6, "class", "ducktap-boost__booster-price-wrapper");
			attr(div7, "class", "ducktap-boost__booster");
		},
		m(target, anchor) {
			insert(target, div7, anchor);
			append(div7, div0);
			append(div0, img);
			append(div7, t0);
			append(div7, div3);
			append(div3, div1);
			append(div1, t1);
			append(div3, t2);
			append(div3, div2);
			append(div2, t3);
			append(div7, t4);
			append(div7, div6);
			append(div6, div4);
			append(div4, t5);
			append(div6, t6);
			append(div6, div5);
			append(div7, t8);

			if (!mounted) {
				dispose = listen(div7, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*$boosters*/ 1 && !src_url_equal(img.src, img_src_value = `${constants_CDN_URL}/boost/${/*boost*/ ctx[3].iconUrl}`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*$boosters*/ 1 && t1_value !== (t1_value = /*boost*/ ctx[3].title + "")) set_data(t1, t1_value);
			if (dirty & /*$boosters*/ 1 && t3_value !== (t3_value = /*boost*/ ctx[3].description + "")) set_data(t3, t3_value);
			if (dirty & /*$boosters*/ 1 && t5_value !== (t5_value = /*boost*/ ctx[3].price + "")) set_data(t5, t5_value);
		},
		i(local) {
			if (!div7_intro) {
				add_render_callback(() => {
					div7_intro = create_in_transition(div7, fly, { duration: 200 * /*index*/ ctx[5] });
					div7_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div7);
			mounted = false;
			dispose();
		}
	};
}

function boost_index_svelte_create_fragment(ctx) {
	let div2;
	let div1;
	let t2;
	let show_if;
	let current_block_type_index;
	let if_block;
	let current;
	const if_block_creators = [boost_index_svelte_create_if_block, boost_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (dirty & /*$boosters*/ 1) show_if = null;
		if (show_if == null) show_if = !!(0,lodash.isEmpty)(/*$boosters*/ ctx[0]);
		if (show_if) return 0;
		return 1;
	}

	current_block_type_index = select_block_type(ctx, -1);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div2 = internal_element("div");
			div1 = internal_element("div");

			div1.innerHTML = `<i class="ducktap-boost__title-icon icon-charge"></i> 
        <div class="ducktap-boost__title-text">Бусты</div>`;

			t2 = space();
			if_block.c();
			attr(div1, "class", "ducktap-boost__title");
			attr(div2, "class", "ducktap-boost");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div1);
			append(div2, t2);
			if_blocks[current_block_type_index].m(div2, null);
			current = true;
		},
		p(ctx, [dirty]) {
			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(div2, null);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div2);
			if_blocks[current_block_type_index].d();
		}
	};
}

function boost_index_svelte_instance($$self, $$props, $$invalidate) {
	let $boosters;
	component_subscribe($$self, boosters, $$value => $$invalidate(0, $boosters = $$value));

	const purchaseBoost = boostId => {
		sendClientMessage('ducktap.boost.purchaseBoost', boostId);
	};

	const click_handler = boost => purchaseBoost(boost.id);
	return [$boosters, purchaseBoost, click_handler];
}

class Boost extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, boost_index_svelte_instance, boost_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const boost_index_svelte = (Boost);
;// CONCATENATED MODULE: ./src/views/phone/apps/ducktap/components/leaderboard/index.svelte
/* src\views\phone\apps\ducktap\components\leaderboard\index.svelte generated by Svelte v3.49.0 */













function leaderboard_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[5] = list[i];
	child_ctx[7] = i;
	return child_ctx;
}

function leaderboard_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[8] = list[i];
	child_ctx[7] = i;
	return child_ctx;
}

// (35:8) {#each TIERS_ITEMS as tier, index}
function leaderboard_index_svelte_create_each_block_1(ctx) {
	let div1;
	let img;
	let img_src_value;
	let img_draggable_value;
	let t0;
	let div0;
	let t1_value = /*tier*/ ctx[8].alias + "";
	let t1;
	let t2;
	let div1_class_value;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[4](/*index*/ ctx[7]);
	}

	return {
		c() {
			div1 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			if (!src_url_equal(img.src, img_src_value = /*tier*/ ctx[8].shieldImage)) attr(img, "src", img_src_value);
			attr(img, "draggable", img_draggable_value = false);
			attr(img, "alt", "shield");
			attr(img, "class", "ducktap-leaderboard__tier-icon");
			attr(div0, "class", "ducktap-leaderboard__tier-name");
			attr(div1, "class", div1_class_value = "ducktap-leaderboard__tier ducktap-leaderboard__tier--" + /*tier*/ ctx[8].alias);
			toggle_class(div1, "ducktap-leaderboard__tier--active", /*index*/ ctx[7] === /*selectedTier*/ ctx[0]);
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, img);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
			append(div1, t2);

			if (!mounted) {
				dispose = listen(div1, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*selectedTier*/ 1) {
				toggle_class(div1, "ducktap-leaderboard__tier--active", /*index*/ ctx[7] === /*selectedTier*/ ctx[0]);
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			mounted = false;
			dispose();
		}
	};
}

// (51:4) {:else}
function leaderboard_index_svelte_create_else_block(ctx) {
	let div;
	let show_if_1 = !(0,lodash.isEmpty)(/*$leaders*/ ctx[1][/*selectedTier*/ ctx[0]]);
	let t;
	let show_if = !(0,lodash.isNil)(/*$mainData*/ ctx[2].placement) && /*selectedTier*/ ctx[0] === /*$mainData*/ ctx[2].tier;
	let if_block1_anchor;
	let if_block0 = show_if_1 && leaderboard_index_svelte_create_if_block_2(ctx);
	let if_block1 = show_if && leaderboard_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			div = internal_element("div");
			if (if_block0) if_block0.c();
			t = space();
			if (if_block1) if_block1.c();
			if_block1_anchor = empty();
			attr(div, "class", "ducktap-leaderboard__list");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block0) if_block0.m(div, null);
			insert(target, t, anchor);
			if (if_block1) if_block1.m(target, anchor);
			insert(target, if_block1_anchor, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*$leaders, selectedTier*/ 3) show_if_1 = !(0,lodash.isEmpty)(/*$leaders*/ ctx[1][/*selectedTier*/ ctx[0]]);

			if (show_if_1) {
				if (if_block0) {
					if_block0.p(ctx, dirty);

					if (dirty & /*$leaders, selectedTier*/ 3) {
						transition_in(if_block0, 1);
					}
				} else {
					if_block0 = leaderboard_index_svelte_create_if_block_2(ctx);
					if_block0.c();
					transition_in(if_block0, 1);
					if_block0.m(div, null);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty & /*$mainData, selectedTier*/ 5) show_if = !(0,lodash.isNil)(/*$mainData*/ ctx[2].placement) && /*selectedTier*/ ctx[0] === /*$mainData*/ ctx[2].tier;

			if (show_if) {
				if (if_block1) {
					if_block1.p(ctx, dirty);

					if (dirty & /*$mainData, selectedTier*/ 5) {
						transition_in(if_block1, 1);
					}
				} else {
					if_block1 = leaderboard_index_svelte_create_if_block_1(ctx);
					if_block1.c();
					transition_in(if_block1, 1);
					if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}
		},
		i(local) {
			transition_in(if_block0);
			transition_in(if_block1);
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			if (if_block0) if_block0.d();
			if (detaching) detach(t);
			if (if_block1) if_block1.d(detaching);
			if (detaching) detach(if_block1_anchor);
		}
	};
}

// (47:4) {#if isEmpty($leaders[selectedTier])}
function leaderboard_index_svelte_create_if_block(ctx) {
	let div;
	let loader;
	let current;
	loader = new loader_index_svelte({});

	return {
		c() {
			div = internal_element("div");
			create_component(loader.$$.fragment);
			attr(div, "class", "ducktap-leaderboard__loader");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(loader, div, null);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(loader.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(loader.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(loader);
		}
	};
}

// (53:12) {#if !isEmpty($leaders[selectedTier])}
function leaderboard_index_svelte_create_if_block_2(ctx) {
	let each_1_anchor;
	let each_value = /*$leaders*/ ctx[1][/*selectedTier*/ ctx[0]];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = leaderboard_index_svelte_create_each_block(leaderboard_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*thousandsCut, $leaders, selectedTier, formatMoney, coinImage*/ 3) {
				each_value = /*$leaders*/ ctx[1][/*selectedTier*/ ctx[0]];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = leaderboard_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = leaderboard_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i(local) {
			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}
		},
		o: internal_noop,
		d(detaching) {
			destroy_each(each_blocks, detaching);
			if (detaching) detach(each_1_anchor);
		}
	};
}

// (54:16) {#each $leaders[selectedTier] as leader, index}
function leaderboard_index_svelte_create_each_block(ctx) {
	let div8;
	let div0;
	let t0_value = /*index*/ ctx[7] + 1 + "";
	let t0;
	let t1;
	let div4;
	let div1;
	let t2_value = /*leader*/ ctx[5].user + "";
	let t2;
	let t3;
	let div3;
	let img;
	let img_src_value;
	let img_draggable_value;
	let t4;
	let div2;
	let t5_value = formatMoney(/*leader*/ ctx[5].balance) + "";
	let t5;
	let t6;
	let div7;
	let div5;
	let t7_value = thousandsCut(/*leader*/ ctx[5].income) + "";
	let t7;
	let span;
	let t9;
	let div6;
	let t11;
	let div8_intro;

	return {
		c() {
			div8 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			div4 = internal_element("div");
			div1 = internal_element("div");
			t2 = internal_text(t2_value);
			t3 = space();
			div3 = internal_element("div");
			img = internal_element("img");
			t4 = space();
			div2 = internal_element("div");
			t5 = internal_text(t5_value);
			t6 = space();
			div7 = internal_element("div");
			div5 = internal_element("div");
			t7 = internal_text(t7_value);
			span = internal_element("span");
			span.textContent = "/ час";
			t9 = space();
			div6 = internal_element("div");
			div6.textContent = "Доход";
			t11 = space();
			attr(div0, "class", "ducktap-leaderboard__leader-placement");
			toggle_class(div0, "ducktap-leaderboard__leader-placement--gold", /*index*/ ctx[7] === 0);
			toggle_class(div0, "ducktap-leaderboard__leader-placement--silver", /*index*/ ctx[7] === 1);
			toggle_class(div0, "ducktap-leaderboard__leader-placement--bronze", /*index*/ ctx[7] === 2);
			attr(div1, "class", "ducktap-leaderboard__leader-username");
			if (!src_url_equal(img.src, img_src_value = coin_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "draggable", img_draggable_value = false);
			attr(img, "class", "ducktap-leaderboard__leader-coin-image");
			attr(img, "alt", "coin");
			attr(div2, "class", "ducktap-leaderboard__leader-balance");
			attr(div3, "class", "ducktap-leaderboard__leader-total");
			attr(div4, "class", "ducktap-leaderboard__leader-title-wrapper");
			attr(span, "class", "ducktap-leaderboard__leader-income-time");
			attr(div5, "class", "ducktap-leaderboard__leader-income");
			attr(div6, "class", "ducktap-leaderboard__leader-income-caption");
			attr(div7, "class", "ducktap-leaderboard__leader-income-wrapper");
			attr(div8, "class", "ducktap-leaderboard__leader");
		},
		m(target, anchor) {
			insert(target, div8, anchor);
			append(div8, div0);
			append(div0, t0);
			append(div8, t1);
			append(div8, div4);
			append(div4, div1);
			append(div1, t2);
			append(div4, t3);
			append(div4, div3);
			append(div3, img);
			append(div3, t4);
			append(div3, div2);
			append(div2, t5);
			append(div8, t6);
			append(div8, div7);
			append(div7, div5);
			append(div5, t7);
			append(div5, span);
			append(div7, t9);
			append(div7, div6);
			append(div8, t11);
		},
		p(ctx, dirty) {
			if (dirty & /*$leaders, selectedTier*/ 3 && t2_value !== (t2_value = /*leader*/ ctx[5].user + "")) set_data(t2, t2_value);
			if (dirty & /*$leaders, selectedTier*/ 3 && t5_value !== (t5_value = formatMoney(/*leader*/ ctx[5].balance) + "")) set_data(t5, t5_value);
			if (dirty & /*$leaders, selectedTier*/ 3 && t7_value !== (t7_value = thousandsCut(/*leader*/ ctx[5].income) + "")) set_data(t7, t7_value);
		},
		i(local) {
			if (!div8_intro) {
				add_render_callback(() => {
					div8_intro = create_in_transition(div8, fly, { duration: 200 });
					div8_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div8);
		}
	};
}

// (78:8) {#if !isNil($mainData.placement) && selectedTier === $mainData.tier}
function leaderboard_index_svelte_create_if_block_1(ctx) {
	let div8;
	let div0;
	let t0_value = /*$mainData*/ ctx[2].placement + "";
	let t0;
	let t1;
	let div4;
	let div1;
	let t2_value = /*$mainData*/ ctx[2].user + "";
	let t2;
	let t3;
	let div3;
	let img;
	let img_src_value;
	let t4;
	let div2;
	let t5_value = formatMoney(/*$mainData*/ ctx[2].balance) + "";
	let t5;
	let t6;
	let div7;
	let div5;
	let t7_value = /*$mainData*/ ctx[2].income + "";
	let t7;
	let span;
	let t9;
	let div6;
	let div8_intro;

	return {
		c() {
			div8 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			div4 = internal_element("div");
			div1 = internal_element("div");
			t2 = internal_text(t2_value);
			t3 = space();
			div3 = internal_element("div");
			img = internal_element("img");
			t4 = space();
			div2 = internal_element("div");
			t5 = internal_text(t5_value);
			t6 = space();
			div7 = internal_element("div");
			div5 = internal_element("div");
			t7 = internal_text(t7_value);
			span = internal_element("span");
			span.textContent = "/ час";
			t9 = space();
			div6 = internal_element("div");
			div6.textContent = "Доход";
			attr(div0, "class", "ducktap-leaderboard__leader-placement ducktap-leaderboard__leader-placement--white");
			attr(div1, "class", "ducktap-leaderboard__leader-username");
			if (!src_url_equal(img.src, img_src_value = coin_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "class", "ducktap-leaderboard__leader-coin-image");
			attr(img, "alt", "coin");
			attr(div2, "class", "ducktap-leaderboard__leader-balance");
			attr(div3, "class", "ducktap-leaderboard__leader-total");
			attr(div4, "class", "ducktap-leaderboard__leader-title-wrapper");
			attr(span, "class", "ducktap-leaderboard__leader-income-time");
			attr(div5, "class", "ducktap-leaderboard__leader-income");
			attr(div6, "class", "ducktap-leaderboard__leader-income-caption");
			attr(div7, "class", "ducktap-leaderboard__leader-income-wrapper");
			attr(div8, "class", "ducktap-leaderboard__leader ducktap-leaderboard__leader--white");
		},
		m(target, anchor) {
			insert(target, div8, anchor);
			append(div8, div0);
			append(div0, t0);
			append(div8, t1);
			append(div8, div4);
			append(div4, div1);
			append(div1, t2);
			append(div4, t3);
			append(div4, div3);
			append(div3, img);
			append(div3, t4);
			append(div3, div2);
			append(div2, t5);
			append(div8, t6);
			append(div8, div7);
			append(div7, div5);
			append(div5, t7);
			append(div5, span);
			append(div7, t9);
			append(div7, div6);
		},
		p(ctx, dirty) {
			if (dirty & /*$mainData*/ 4 && t0_value !== (t0_value = /*$mainData*/ ctx[2].placement + "")) set_data(t0, t0_value);
			if (dirty & /*$mainData*/ 4 && t2_value !== (t2_value = /*$mainData*/ ctx[2].user + "")) set_data(t2, t2_value);
			if (dirty & /*$mainData*/ 4 && t5_value !== (t5_value = formatMoney(/*$mainData*/ ctx[2].balance) + "")) set_data(t5, t5_value);
			if (dirty & /*$mainData*/ 4 && t7_value !== (t7_value = /*$mainData*/ ctx[2].income + "")) set_data(t7, t7_value);
		},
		i(local) {
			if (!div8_intro) {
				add_render_callback(() => {
					div8_intro = create_in_transition(div8, fly, { duration: 200 });
					div8_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div8);
		}
	};
}

function leaderboard_index_svelte_create_fragment(ctx) {
	let div3;
	let div1;
	let t2;
	let div2;
	let t3;
	let show_if;
	let current_block_type_index;
	let if_block;
	let current;
	let each_value_1 = TIERS_ITEMS;
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = leaderboard_index_svelte_create_each_block_1(leaderboard_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	const if_block_creators = [leaderboard_index_svelte_create_if_block, leaderboard_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (dirty & /*$leaders, selectedTier*/ 3) show_if = null;
		if (show_if == null) show_if = !!(0,lodash.isEmpty)(/*$leaders*/ ctx[1][/*selectedTier*/ ctx[0]]);
		if (show_if) return 0;
		return 1;
	}

	current_block_type_index = select_block_type(ctx, -1);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div3 = internal_element("div");
			div1 = internal_element("div");

			div1.innerHTML = `<i class="ducktap-leaderboard__title-icon icon-medal"></i> 
        <div class="ducktap-leaderboard__title-text">Топ-кряков</div>`;

			t2 = space();
			div2 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t3 = space();
			if_block.c();
			attr(div1, "class", "ducktap-leaderboard__title");
			attr(div2, "class", "ducktap-leaderboard__tier-list");
			attr(div3, "class", "ducktap-leaderboard");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div1);
			append(div3, t2);
			append(div3, div2);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div2, null);
			}

			append(div3, t3);
			if_blocks[current_block_type_index].m(div3, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*TIERS_ITEMS, selectedTier, selectTier*/ 9) {
				each_value_1 = TIERS_ITEMS;
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = leaderboard_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = leaderboard_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div2, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}

			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(div3, null);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div3);
			destroy_each(each_blocks, detaching);
			if_blocks[current_block_type_index].d();
		}
	};
}

function leaderboard_index_svelte_instance($$self, $$props, $$invalidate) {
	let $leaders;
	let $mainData;
	component_subscribe($$self, leaders, $$value => $$invalidate(1, $leaders = $$value));
	component_subscribe($$self, mainData, $$value => $$invalidate(2, $mainData = $$value));
	let selectedTier = $mainData.tier;

	const selectTier = tierId => {
		$$invalidate(0, selectedTier = tierId);

		if ((0,lodash.isEmpty)($leaders[tierId])) {
			sendClientMessage('ducktap.leaderboard.loadData', selectedTier);
		}
	};

	onMount(() => {
		sendClientMessage('ducktap.leaderboard.loadData', selectedTier);
	});

	const click_handler = index => selectTier(index);
	return [selectedTier, $leaders, $mainData, selectTier, click_handler];
}

class Leaderboard extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, leaderboard_index_svelte_instance, leaderboard_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const leaderboard_index_svelte = (Leaderboard);
;// CONCATENATED MODULE: ./src/views/phone/img/app/ducktap/coin-silver.png
const coin_silver_namespaceObject = __webpack_require__.p + "assets/f127bd1fb365b7cbbe56.webp";
;// CONCATENATED MODULE: ./src/views/phone/img/app/ducktap/donat-coin.png
const donat_coin_namespaceObject = __webpack_require__.p + "assets/ee9a4922e5d0a00cc162.webp";
;// CONCATENATED MODULE: ./src/views/phone/apps/ducktap/components/circle-progress-bar/index.svelte
/* src\views\phone\apps\ducktap\components\circle-progress-bar\index.svelte generated by Svelte v3.49.0 */






function circle_progress_bar_index_svelte_create_fragment(ctx) {
	let div1;
	let div0;
	let svg;
	let circle0;
	let circle1;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			svg = svg_element("svg");
			circle0 = svg_element("circle");
			circle1 = svg_element("circle");
			attr(circle0, "class", "ducktap-circle-progress-bar__total");
			attr(circle0, "cx", /*center*/ ctx[5]);
			attr(circle0, "cy", /*center*/ ctx[5]);
			attr(circle0, "r", /*radius*/ ctx[2]);
			attr(circle1, "class", "ducktap-circle-progress-bar__current");
			attr(circle1, "cx", /*center*/ ctx[5]);
			attr(circle1, "cy", /*center*/ ctx[5]);
			attr(circle1, "r", /*radius*/ ctx[2]);
			attr(svg, "class", "ducktap-circle-progress-bar__svg-zone");
			set_style(svg, "--dashoffset", /*progressOffset*/ ctx[6]);
			set_style(svg, "--dasharray", /*circumference*/ ctx[3]);
			attr(div0, "class", "ducktap-circle-progress-bar__lines");
			attr(div1, "class", "ducktap-circle-progress-bar");
			set_style(div1, "--svg-width", `${/*width*/ ctx[1]}px`);
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, svg);
			append(svg, circle0);
			append(svg, circle1);
			/*circle1_binding*/ ctx[9](circle1);
			/*div0_binding*/ ctx[10](div0);
		},
		p(ctx, [dirty]) {
			if (dirty & /*center*/ 32) {
				attr(circle0, "cx", /*center*/ ctx[5]);
			}

			if (dirty & /*center*/ 32) {
				attr(circle0, "cy", /*center*/ ctx[5]);
			}

			if (dirty & /*radius*/ 4) {
				attr(circle0, "r", /*radius*/ ctx[2]);
			}

			if (dirty & /*center*/ 32) {
				attr(circle1, "cx", /*center*/ ctx[5]);
			}

			if (dirty & /*center*/ 32) {
				attr(circle1, "cy", /*center*/ ctx[5]);
			}

			if (dirty & /*radius*/ 4) {
				attr(circle1, "r", /*radius*/ ctx[2]);
			}

			if (dirty & /*progressOffset*/ 64) {
				set_style(svg, "--dashoffset", /*progressOffset*/ ctx[6]);
			}

			if (dirty & /*circumference*/ 8) {
				set_style(svg, "--dasharray", /*circumference*/ ctx[3]);
			}

			if (dirty & /*width*/ 2) {
				set_style(div1, "--svg-width", `${/*width*/ ctx[1]}px`);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
			/*circle1_binding*/ ctx[9](null);
			/*div0_binding*/ ctx[10](null);
		}
	};
}

function circle_progress_bar_index_svelte_instance($$self, $$props, $$invalidate) {
	let { percents = 0 } = $$props;
	let svgContainerRef = null;
	let circleRef = null;
	let width = 0;
	let radius = 0;
	let center = 0;
	let strokeWidth = 0;
	let circumference = 0;
	let progressOffset = 0;

	const calculateCircleWidthAndStrokeWidth = () => {
		$$invalidate(1, width = svgContainerRef.getBoundingClientRect().width);
		$$invalidate(8, strokeWidth = window.getComputedStyle(circleRef).strokeWidth);
	};

	window.addEventListener('resize', calculateCircleWidthAndStrokeWidth);

	onDestroy(() => {
		window.removeEventListener('resize', calculateCircleWidthAndStrokeWidth);
	});

	function circle1_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			circleRef = $$value;
			$$invalidate(4, circleRef);
		});
	}

	function div0_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			svgContainerRef = $$value;
			$$invalidate(0, svgContainerRef);
		});
	}

	$$self.$$set = $$props => {
		if ('percents' in $$props) $$invalidate(7, percents = $$props.percents);
	};

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*svgContainerRef*/ 1) {
			$: {
				if (!(0,lodash.isNil)(svgContainerRef)) {
					calculateCircleWidthAndStrokeWidth();
				}
			}
		}

		if ($$self.$$.dirty & /*width, strokeWidth, radius, percents, circumference*/ 398) {
			$: {
				$$invalidate(2, radius = width / 2 - parseInt(strokeWidth, 10) / 2);
				$$invalidate(5, center = width / 2);
				$$invalidate(3, circumference = 2 * Math.PI * radius);
				let tempPercents = percents;
				if (tempPercents > 100) tempPercents = 100;
				$$invalidate(6, progressOffset = (100 - tempPercents) / 100 * circumference);
			}
		}
	};

	return [
		svgContainerRef,
		width,
		radius,
		circumference,
		circleRef,
		center,
		progressOffset,
		percents,
		strokeWidth,
		circle1_binding,
		div0_binding
	];
}

class Circle_progress_bar extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, circle_progress_bar_index_svelte_instance, circle_progress_bar_index_svelte_create_fragment, safe_not_equal, { percents: 7 });
	}
}

/* harmony default export */ const circle_progress_bar_index_svelte = (Circle_progress_bar);
;// CONCATENATED MODULE: ./src/views/phone/apps/ducktap/components/upgrade/index.svelte
/* src\views\phone\apps\ducktap\components\upgrade\index.svelte generated by Svelte v3.49.0 */
















function upgrade_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[8] = list[i];
	child_ctx[10] = i;
	return child_ctx;
}

// (77:4) {:else}
function upgrade_index_svelte_create_else_block(ctx) {
	let div;
	let current;
	let each_value = /*$upgrades*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = upgrade_index_svelte_create_each_block(upgrade_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "ducktap-upgrade__list");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}

			current = true;
		},
		p(ctx, dirty) {
			if (dirty & /*purchaseUpgrade, $upgrades, $mainData, Math, countPercents, formatSecondsToMmSs, thousandsCut, donatCoinImage, coinImage, coinSilverImage, CDN_URL*/ 15) {
				each_value = /*$upgrades*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = upgrade_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = upgrade_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (73:4) {#if isEmpty($upgrades)}
function upgrade_index_svelte_create_if_block(ctx) {
	let div;
	let loader;
	let current;
	loader = new loader_index_svelte({});

	return {
		c() {
			div = internal_element("div");
			create_component(loader.$$.fragment);
			attr(div, "class", "ducktap-upgrade__loader");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(loader, div, null);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(loader.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(loader.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(loader);
		}
	};
}

// (115:24) {:else}
function upgrade_index_svelte_create_else_block_1(ctx) {
	let div1;
	let img;
	let img_src_value;
	let img_draggable_value;
	let t0;
	let div0;
	let t1_value = thousandsCut(/*upgrade*/ ctx[8].price) + "";
	let t1;

	return {
		c() {
			div1 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			if (!src_url_equal(img.src, img_src_value = /*upgrade*/ ctx[8].isDonate ? donat_coin_namespaceObject : coin_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "draggable", img_draggable_value = false);
			attr(img, "class", "ducktap-upgrade__upgrade-price-image");
			attr(img, "alt", "coin");
			attr(div0, "class", "ducktap-upgrade__upgrade-more-referals");
			attr(div1, "class", "ducktap-upgrade__upgrade-price-wrapper");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, img);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*$upgrades*/ 1 && !src_url_equal(img.src, img_src_value = /*upgrade*/ ctx[8].isDonate ? donat_coin_namespaceObject : coin_namespaceObject)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*$upgrades*/ 1 && t1_value !== (t1_value = thousandsCut(/*upgrade*/ ctx[8].price) + "")) set_data(t1, t1_value);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (105:54) 
function upgrade_index_svelte_create_if_block_3(ctx) {
	let div4;
	let div2;
	let div0;
	let t1;
	let div1;
	let t2_value = /*formatSecondsToMmSs*/ ctx[2](/*upgrade*/ ctx[8].seconds) + "";
	let t2;
	let t3;
	let div3;
	let circleprogressbar;
	let current;

	circleprogressbar = new circle_progress_bar_index_svelte({
			props: {
				percents: 100 - Math.round(countPercents(/*upgrade*/ ctx[8].seconds, /*upgrade*/ ctx[8].secondsTotal))
			}
		});

	return {
		c() {
			div4 = internal_element("div");
			div2 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "Доступно через:";
			t1 = space();
			div1 = internal_element("div");
			t2 = internal_text(t2_value);
			t3 = space();
			div3 = internal_element("div");
			create_component(circleprogressbar.$$.fragment);
			attr(div0, "class", "ducktap-upgrade__upgrade-timer-caption");
			attr(div1, "class", "ducktap-upgrade__upgrade-timer-value");
			attr(div2, "class", "ducktap-upgrade__upgrade-timer");
			attr(div3, "class", "ducktap-upgrade__upgrade-counter");
			attr(div4, "class", "ducktap-upgrade__upgrade-price-wrapper");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div2);
			append(div2, div0);
			append(div2, t1);
			append(div2, div1);
			append(div1, t2);
			append(div4, t3);
			append(div4, div3);
			mount_component(circleprogressbar, div3, null);
			current = true;
		},
		p(ctx, dirty) {
			if ((!current || dirty & /*$upgrades*/ 1) && t2_value !== (t2_value = /*formatSecondsToMmSs*/ ctx[2](/*upgrade*/ ctx[8].seconds) + "")) set_data(t2, t2_value);
			const circleprogressbar_changes = {};
			if (dirty & /*$upgrades*/ 1) circleprogressbar_changes.percents = 100 - Math.round(countPercents(/*upgrade*/ ctx[8].seconds, /*upgrade*/ ctx[8].secondsTotal));
			circleprogressbar.$set(circleprogressbar_changes);
		},
		i(local) {
			if (current) return;
			transition_in(circleprogressbar.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(circleprogressbar.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div4);
			destroy_component(circleprogressbar);
		}
	};
}

// (101:136) 
function upgrade_index_svelte_create_if_block_2(ctx) {
	let div1;
	let div0;
	let t_value = `Пригласить ${/*upgrade*/ ctx[8].referalCount} друзей` + "";
	let t;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			t = internal_text(t_value);
			attr(div0, "class", "ducktap-upgrade__upgrade-more-referals");
			attr(div1, "class", "ducktap-upgrade__upgrade-price-wrapper");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, t);
		},
		p(ctx, dirty) {
			if (dirty & /*$upgrades*/ 1 && t_value !== (t_value = `Пригласить ${/*upgrade*/ ctx[8].referalCount} друзей` + "")) set_data(t, t_value);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (96:24) {#if upgrade.level === upgrade.levelMax}
function upgrade_index_svelte_create_if_block_1(ctx) {
	let div1;

	return {
		c() {
			div1 = internal_element("div");

			div1.innerHTML = `<i class="ducktap-upgrade__upgrade-purchased-icon icon-check"></i> 
                                <div class="ducktap-upgrade__upgrade-purchased-text">Куплено</div>`;

			attr(div1, "class", "ducktap-upgrade__upgrade-purchased");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (79:12) {#each $upgrades as upgrade, index}
function upgrade_index_svelte_create_each_block(ctx) {
	let div8;
	let div0;
	let img0;
	let img0_src_value;
	let img0_draggable_value;
	let t0;
	let div5;
	let div1;
	let t1_value = /*upgrade*/ ctx[8].title + "";
	let t1;
	let t2;
	let div2;
	let t4;
	let div4;
	let img1;
	let img1_src_value;
	let img1_draggable_value;
	let t5;
	let div3;
	let t6_value = thousandsCut(/*upgrade*/ ctx[8].income) + "";
	let t6;
	let t7;
	let div7;
	let div6;
	let t8_value = `${/*upgrade*/ ctx[8].level} lvl` + "";
	let t8;
	let t9;
	let current_block_type_index;
	let if_block;
	let t10;
	let div8_intro;
	let current;
	let mounted;
	let dispose;
	const if_block_creators = [upgrade_index_svelte_create_if_block_1, upgrade_index_svelte_create_if_block_2, upgrade_index_svelte_create_if_block_3, upgrade_index_svelte_create_else_block_1];
	const if_blocks = [];

	function select_block_type_1(ctx, dirty) {
		if (/*upgrade*/ ctx[8].level === /*upgrade*/ ctx[8].levelMax) return 0;
		if (/*$mainData*/ ctx[1].referalCount >= 0 && /*$mainData*/ ctx[1].referalCount < /*upgrade*/ ctx[8].referalCount && /*upgrade*/ ctx[8].seconds === 0) return 1;
		if (/*upgrade*/ ctx[8].seconds > 0) return 2;
		return 3;
	}

	current_block_type_index = select_block_type_1(ctx, -1);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	function click_handler() {
		return /*click_handler*/ ctx[4](/*upgrade*/ ctx[8]);
	}

	return {
		c() {
			div8 = internal_element("div");
			div0 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			div5 = internal_element("div");
			div1 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			div2 = internal_element("div");
			div2.textContent = "Прибыль в час";
			t4 = space();
			div4 = internal_element("div");
			img1 = internal_element("img");
			t5 = space();
			div3 = internal_element("div");
			t6 = internal_text(t6_value);
			t7 = space();
			div7 = internal_element("div");
			div6 = internal_element("div");
			t8 = internal_text(t8_value);
			t9 = space();
			if_block.c();
			t10 = space();
			if (!src_url_equal(img0.src, img0_src_value = `${constants_CDN_URL}/${/*upgrade*/ ctx[8].imageUrl}`)) attr(img0, "src", img0_src_value);
			attr(img0, "draggable", img0_draggable_value = false);
			attr(img0, "alt", "upgrade");
			attr(img0, "class", "ducktap-upgrade__upgrade-icon-image");
			attr(div0, "class", "ducktap-upgrade__upgrade-icon");
			attr(div1, "class", "ducktap-upgrade__upgrade-title");
			attr(div2, "class", "ducktap-upgrade__upgrade-income-caption");
			if (!src_url_equal(img1.src, img1_src_value = coin_silver_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "draggable", img1_draggable_value = false);
			attr(img1, "class", "ducktap-upgrade__upgrade-income-image");
			attr(img1, "alt", "coin");
			attr(div3, "class", "ducktap-upgrade__upgrade-income");
			attr(div4, "class", "ducktap-upgrade__upgrade-income-wrapper");
			attr(div5, "class", "ducktap-upgrade__upgrade-title-wrapper");
			attr(div6, "class", "ducktap-upgrade__upgrade-level");
			attr(div7, "class", "ducktap-upgrade__upgrade-bottom");
			attr(div8, "class", "ducktap-upgrade__upgrade");
		},
		m(target, anchor) {
			insert(target, div8, anchor);
			append(div8, div0);
			append(div0, img0);
			append(div8, t0);
			append(div8, div5);
			append(div5, div1);
			append(div1, t1);
			append(div5, t2);
			append(div5, div2);
			append(div5, t4);
			append(div5, div4);
			append(div4, img1);
			append(div4, t5);
			append(div4, div3);
			append(div3, t6);
			append(div8, t7);
			append(div8, div7);
			append(div7, div6);
			append(div6, t8);
			append(div7, t9);
			if_blocks[current_block_type_index].m(div7, null);
			append(div8, t10);
			current = true;

			if (!mounted) {
				dispose = listen(div8, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (!current || dirty & /*$upgrades*/ 1 && !src_url_equal(img0.src, img0_src_value = `${constants_CDN_URL}/${/*upgrade*/ ctx[8].imageUrl}`)) {
				attr(img0, "src", img0_src_value);
			}

			if ((!current || dirty & /*$upgrades*/ 1) && t1_value !== (t1_value = /*upgrade*/ ctx[8].title + "")) set_data(t1, t1_value);
			if ((!current || dirty & /*$upgrades*/ 1) && t6_value !== (t6_value = thousandsCut(/*upgrade*/ ctx[8].income) + "")) set_data(t6, t6_value);
			if ((!current || dirty & /*$upgrades*/ 1) && t8_value !== (t8_value = `${/*upgrade*/ ctx[8].level} lvl` + "")) set_data(t8, t8_value);
			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type_1(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(div7, null);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);

			if (!div8_intro) {
				add_render_callback(() => {
					div8_intro = create_in_transition(div8, fly, { duration: 200 * /*index*/ ctx[10] });
					div8_intro.start();
				});
			}

			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div8);
			if_blocks[current_block_type_index].d();
			mounted = false;
			dispose();
		}
	};
}

function upgrade_index_svelte_create_fragment(ctx) {
	let div2;
	let div1;
	let t2;
	let show_if;
	let current_block_type_index;
	let if_block;
	let current;
	const if_block_creators = [upgrade_index_svelte_create_if_block, upgrade_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (dirty & /*$upgrades*/ 1) show_if = null;
		if (show_if == null) show_if = !!(0,lodash.isEmpty)(/*$upgrades*/ ctx[0]);
		if (show_if) return 0;
		return 1;
	}

	current_block_type_index = select_block_type(ctx, -1);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div2 = internal_element("div");
			div1 = internal_element("div");

			div1.innerHTML = `<i class="ducktap-upgrade__title-icon icon-refresh"></i> 
        <div class="ducktap-upgrade__title-text">Улучшения</div>`;

			t2 = space();
			if_block.c();
			attr(div1, "class", "ducktap-upgrade__title");
			attr(div2, "class", "ducktap-upgrade");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div1);
			append(div2, t2);
			if_blocks[current_block_type_index].m(div2, null);
			current = true;
		},
		p(ctx, [dirty]) {
			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(div2, null);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div2);
			if_blocks[current_block_type_index].d();
		}
	};
}

function upgrade_index_svelte_instance($$self, $$props, $$invalidate) {
	let $upgrades;
	let $timerIntervalId;
	let $mainData;
	component_subscribe($$self, upgrades, $$value => $$invalidate(0, $upgrades = $$value));
	component_subscribe($$self, timerIntervalId, $$value => $$invalidate(6, $timerIntervalId = $$value));
	component_subscribe($$self, mainData, $$value => $$invalidate(1, $mainData = $$value));
	let timerIndexes = [];

	const formatSecondsToMmSs = seconds => {
		const timeHours = Math.floor(seconds / 3600).toString().padStart(2, '0');
		const timeMinutes = (Math.floor(seconds / 60) % 60).toString().padStart(2, '0');
		const timeSeconds = (seconds % 60).toString().padStart(2, '0');
		return `${timeHours}:${timeMinutes}:${timeSeconds}`;
	};

	const purchaseUpgrade = upgrade => {
		if (upgrade.level === upgrade.levelMax || upgrade.seconds > 0) {
			return;
		}

		sendClientMessage('ducktap.upgrade.purchaseUpgrade', upgrade.id);
	};

	const createIntervals = () => {
		$upgrades.forEach((item, index) => {
			if (!timerIndexes.includes(index)) {
				set_store_value(upgrades, $upgrades[index].secondsTotal = item.seconds, $upgrades);
			}

			if (item.seconds > 0 && !timerIndexes.includes(index)) {
				timerIndexes = [...timerIndexes, index];
			}
		});

		if (!(0,lodash.isEmpty)(timerIndexes) && (0,lodash.isNil)($timerIntervalId)) {
			set_store_value(
				timerIntervalId,
				$timerIntervalId = setInterval(
					() => {
						timerIndexes.forEach(itemIndex => {
							if ($upgrades[itemIndex].seconds - 1 >= 0) {
								set_store_value(upgrades, $upgrades[itemIndex].seconds -= 1, $upgrades);
							} else {
								(0,lodash.remove)(timerIndexes, item => item === itemIndex);
							}
						});
					},
					1000
				),
				$timerIntervalId
			);
		}
	};

	beforeUpdate(() => {
		createIntervals();
	});

	onMount(() => {
		createIntervals();
	});

	const click_handler = upgrade => purchaseUpgrade(upgrade);
	return [$upgrades, $mainData, formatSecondsToMmSs, purchaseUpgrade, click_handler];
}

class Upgrade extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, upgrade_index_svelte_instance, upgrade_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const upgrade_index_svelte = (Upgrade);
;// CONCATENATED MODULE: ./src/views/phone/apps/ducktap/components/referals/index.svelte
/* src\views\phone\apps\ducktap\components\referals\index.svelte generated by Svelte v3.49.0 */











function referals_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[1] = list[i];
	child_ctx[3] = i;
	return child_ctx;
}

// (25:4) {:else}
function referals_index_svelte_create_else_block(ctx) {
	let div;
	let each_value = /*$referals*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = referals_index_svelte_create_each_block(referals_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "ducktap-referals__list");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}
		},
		p(ctx, dirty) {
			if (dirty & /*thousandsCut, $referals, formatMoney, coinImage, duckLogoImage*/ 1) {
				each_value = /*$referals*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = referals_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = referals_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i(local) {
			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (21:33) 
function referals_index_svelte_create_if_block_1(ctx) {
	let div;
	let loader;
	let current;
	loader = new loader_index_svelte({});

	return {
		c() {
			div = internal_element("div");
			create_component(loader.$$.fragment);
			attr(div, "class", "ducktap-referals__loader");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(loader, div, null);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(loader.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(loader.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(loader);
		}
	};
}

// (19:4) {#if $referals === -1}
function referals_index_svelte_create_if_block(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "У вас ещё нет рефералов";
			attr(div, "class", "ducktap-referals__empty");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (27:12) {#each $referals as referal, index}
function referals_index_svelte_create_each_block(ctx) {
	let div8;
	let div0;
	let img0;
	let img0_src_value;
	let t0;
	let div4;
	let div1;
	let t1_value = /*referal*/ ctx[1].user + "";
	let t1;
	let t2;
	let div3;
	let img1;
	let img1_src_value;
	let t3;
	let div2;
	let t4_value = formatMoney(/*referal*/ ctx[1].balance) + "";
	let t4;
	let t5;
	let div7;
	let div5;
	let t6_value = thousandsCut(/*referal*/ ctx[1].income) + "";
	let t6;
	let span;
	let t8;
	let div6;
	let t10;
	let div8_intro;

	return {
		c() {
			div8 = internal_element("div");
			div0 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			div4 = internal_element("div");
			div1 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			div3 = internal_element("div");
			img1 = internal_element("img");
			t3 = space();
			div2 = internal_element("div");
			t4 = internal_text(t4_value);
			t5 = space();
			div7 = internal_element("div");
			div5 = internal_element("div");
			t6 = internal_text(t6_value);
			span = internal_element("span");
			span.textContent = "/ час";
			t8 = space();
			div6 = internal_element("div");
			div6.textContent = "Доход";
			t10 = space();
			if (!src_url_equal(img0.src, img0_src_value = ducktap_logo_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "class", "ducktap-referals__referal-logo-image");
			attr(img0, "alt", "coin");
			attr(div0, "class", "ducktap-referals__referal-placement");
			attr(div1, "class", "ducktap-referals__referal-username");
			if (!src_url_equal(img1.src, img1_src_value = coin_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "class", "ducktap-referals__referal-coin-image");
			attr(img1, "alt", "coin");
			attr(div2, "class", "ducktap-referals__referal-balance");
			attr(div3, "class", "ducktap-referals__referal-total");
			attr(div4, "class", "ducktap-referals__referal-title-wrapper");
			attr(span, "class", "ducktap-referals__referal-income-time");
			attr(div5, "class", "ducktap-referals__referal-income");
			attr(div6, "class", "ducktap-referals__referal-currency");
			attr(div7, "class", "ducktap-referals__referal-income-wrapper");
			attr(div8, "class", "ducktap-referals__referal");
		},
		m(target, anchor) {
			insert(target, div8, anchor);
			append(div8, div0);
			append(div0, img0);
			append(div8, t0);
			append(div8, div4);
			append(div4, div1);
			append(div1, t1);
			append(div4, t2);
			append(div4, div3);
			append(div3, img1);
			append(div3, t3);
			append(div3, div2);
			append(div2, t4);
			append(div8, t5);
			append(div8, div7);
			append(div7, div5);
			append(div5, t6);
			append(div5, span);
			append(div7, t8);
			append(div7, div6);
			append(div8, t10);
		},
		p(ctx, dirty) {
			if (dirty & /*$referals*/ 1 && t1_value !== (t1_value = /*referal*/ ctx[1].user + "")) set_data(t1, t1_value);
			if (dirty & /*$referals*/ 1 && t4_value !== (t4_value = formatMoney(/*referal*/ ctx[1].balance) + "")) set_data(t4, t4_value);
			if (dirty & /*$referals*/ 1 && t6_value !== (t6_value = thousandsCut(/*referal*/ ctx[1].income) + "")) set_data(t6, t6_value);
		},
		i(local) {
			if (!div8_intro) {
				add_render_callback(() => {
					div8_intro = create_in_transition(div8, fly, { duration: 200 * /*index*/ ctx[3] });
					div8_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div8);
		}
	};
}

function referals_index_svelte_create_fragment(ctx) {
	let div2;
	let div1;
	let t2;
	let show_if;
	let current_block_type_index;
	let if_block;
	let current;
	const if_block_creators = [referals_index_svelte_create_if_block, referals_index_svelte_create_if_block_1, referals_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (dirty & /*$referals*/ 1) show_if = null;
		if (/*$referals*/ ctx[0] === -1) return 0;
		if (show_if == null) show_if = !!(0,lodash.isEmpty)(/*$referals*/ ctx[0]);
		if (show_if) return 1;
		return 2;
	}

	current_block_type_index = select_block_type(ctx, -1);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div2 = internal_element("div");
			div1 = internal_element("div");

			div1.innerHTML = `<i class="ducktap-referals__title-icon icon-person"></i> 
        <div class="ducktap-referals__title-text">Рефералы</div>`;

			t2 = space();
			if_block.c();
			attr(div1, "class", "ducktap-referals__title");
			attr(div2, "class", "ducktap-referals");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div1);
			append(div2, t2);
			if_blocks[current_block_type_index].m(div2, null);
			current = true;
		},
		p(ctx, [dirty]) {
			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(div2, null);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div2);
			if_blocks[current_block_type_index].d();
		}
	};
}

function referals_index_svelte_instance($$self, $$props, $$invalidate) {
	let $referals;
	component_subscribe($$self, referals, $$value => $$invalidate(0, $referals = $$value));
	return [$referals];
}

class Referals extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, referals_index_svelte_instance, referals_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const referals_index_svelte = (Referals);
;// CONCATENATED MODULE: ./src/views/phone/apps/ducktap/components-map.js
function ducktap_components_map_typeof(o) { "@babel/helpers - typeof"; return ducktap_components_map_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, ducktap_components_map_typeof(o); }
function ducktap_components_map_defineProperty(e, r, t) { return (r = ducktap_components_map_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function ducktap_components_map_toPropertyKey(t) { var i = ducktap_components_map_toPrimitive(t, "string"); return "symbol" == ducktap_components_map_typeof(i) ? i : i + ""; }
function ducktap_components_map_toPrimitive(t, r) { if ("object" != ducktap_components_map_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != ducktap_components_map_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






var MAP_ID_TO_COMPONENT = ducktap_components_map_defineProperty(ducktap_components_map_defineProperty(ducktap_components_map_defineProperty(ducktap_components_map_defineProperty(ducktap_components_map_defineProperty({}, Routes.Main, components_main_index_svelte), Routes.Boost, boost_index_svelte), Routes.Leaderboard, leaderboard_index_svelte), Routes.Upgrade, upgrade_index_svelte), Routes.Referals, referals_index_svelte);
;// CONCATENATED MODULE: ./src/views/phone/apps/ducktap/index.svelte
/* src\views\phone\apps\ducktap\index.svelte generated by Svelte v3.49.0 */















function ducktap_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[10] = list[i];
	return child_ctx;
}

// (62:4) {:else}
function ducktap_index_svelte_create_else_block(ctx) {
	let div2;
	let i0;
	let t0;
	let div1;
	let img;
	let img_src_value;
	let img_draggable_value;
	let t1;
	let div0;
	let t2_value = /*$mainData*/ ctx[1].user + "";
	let t2;
	let t3;
	let i1;
	let i1_class_value;
	let t4;
	let t5;
	let div4;
	let switch_instance;
	let t6;
	let div3;
	let current;
	let mounted;
	let dispose;
	let if_block = (/*currentRoute*/ ctx[0] === Routes.Main || /*currentRoute*/ ctx[0] === Routes.Boost) && ducktap_index_svelte_create_if_block_1(ctx);
	var switch_value = MAP_ID_TO_COMPONENT[/*currentRoute*/ ctx[0]];

	function switch_props(ctx) {
		return {};
	}

	if (switch_value) {
		switch_instance = new switch_value(switch_props(ctx));
	}

	let each_value = MENU_ITEMS;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = ducktap_index_svelte_create_each_block(ducktap_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div2 = internal_element("div");
			i0 = internal_element("i");
			t0 = space();
			div1 = internal_element("div");
			img = internal_element("img");
			t1 = space();
			div0 = internal_element("div");
			t2 = internal_text(t2_value);
			t3 = space();
			i1 = internal_element("i");
			t4 = space();
			if (if_block) if_block.c();
			t5 = space();
			div4 = internal_element("div");
			if (switch_instance) create_component(switch_instance.$$.fragment);
			t6 = space();
			div3 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(i0, "class", "ducktap__back icon-chevron-left");
			if (!src_url_equal(img.src, img_src_value = ducktap_logo_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "draggable", img_draggable_value = false);
			attr(img, "alt", "avatar");
			attr(img, "class", "ducktap__user-icon");
			attr(div0, "class", "ducktap__user-name");
			attr(div1, "class", "ducktap__user");
			attr(i1, "class", i1_class_value = "ducktap__sound-switcher icon-sound-" + (/*$mute*/ ctx[2] ? 'off' : 'on'));
			toggle_class(i1, "ducktap__sound-switcher--off", /*$mute*/ ctx[2]);
			attr(div2, "class", "ducktap__top-bar");
			attr(div3, "class", "ducktap__navigation-bar");
			attr(div4, "class", "ducktap__content");
			toggle_class(div4, "ducktap__content--big", /*currentRoute*/ ctx[0] !== Routes.Main && /*currentRoute*/ ctx[0] !== Routes.Boost);
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, i0);
			append(div2, t0);
			append(div2, div1);
			append(div1, img);
			append(div1, t1);
			append(div1, div0);
			append(div0, t2);
			append(div2, t3);
			append(div2, i1);
			insert(target, t4, anchor);
			if (if_block) if_block.m(target, anchor);
			insert(target, t5, anchor);
			insert(target, div4, anchor);

			if (switch_instance) {
				mount_component(switch_instance, div4, null);
			}

			append(div4, t6);
			append(div4, div3);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div3, null);
			}

			current = true;

			if (!mounted) {
				dispose = [
					listen(i0, "click", /*back*/ ctx[3]),
					listen(i1, "click", /*click_handler*/ ctx[6])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if ((!current || dirty & /*$mainData*/ 2) && t2_value !== (t2_value = /*$mainData*/ ctx[1].user + "")) set_data(t2, t2_value);

			if (!current || dirty & /*$mute*/ 4 && i1_class_value !== (i1_class_value = "ducktap__sound-switcher icon-sound-" + (/*$mute*/ ctx[2] ? 'off' : 'on'))) {
				attr(i1, "class", i1_class_value);
			}

			if (dirty & /*$mute, $mute*/ 4) {
				toggle_class(i1, "ducktap__sound-switcher--off", /*$mute*/ ctx[2]);
			}

			if (/*currentRoute*/ ctx[0] === Routes.Main || /*currentRoute*/ ctx[0] === Routes.Boost) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*currentRoute*/ 1) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = ducktap_index_svelte_create_if_block_1(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(t5.parentNode, t5);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (switch_value !== (switch_value = MAP_ID_TO_COMPONENT[/*currentRoute*/ ctx[0]])) {
				if (switch_instance) {
					group_outros();
					const old_component = switch_instance;

					transition_out(old_component.$$.fragment, 1, 0, () => {
						destroy_component(old_component, 1);
					});

					check_outros();
				}

				if (switch_value) {
					switch_instance = new switch_value(switch_props(ctx));
					create_component(switch_instance.$$.fragment);
					transition_in(switch_instance.$$.fragment, 1);
					mount_component(switch_instance, div4, t6);
				} else {
					switch_instance = null;
				}
			} else if (switch_value) {
				
			}

			if (dirty & /*currentRoute, MENU_ITEMS, selectRoute*/ 17) {
				each_value = MENU_ITEMS;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = ducktap_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = ducktap_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div3, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if (dirty & /*currentRoute, Routes*/ 1) {
				toggle_class(div4, "ducktap__content--big", /*currentRoute*/ ctx[0] !== Routes.Main && /*currentRoute*/ ctx[0] !== Routes.Boost);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			if (switch_instance) transition_in(switch_instance.$$.fragment, local);
			current = true;
		},
		o(local) {
			if (switch_instance) transition_out(switch_instance.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div2);
			if (detaching) detach(t4);
			if (if_block) if_block.d(detaching);
			if (detaching) detach(t5);
			if (detaching) detach(div4);
			if (switch_instance) destroy_component(switch_instance);
			destroy_each(each_blocks, detaching);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (59:4) {#if isEmpty($mainData)}
function ducktap_index_svelte_create_if_block(ctx) {
	let i;
	let t;
	let loadingscreen;
	let current;
	let mounted;
	let dispose;
	loadingscreen = new loading_screen_index_svelte({});

	return {
		c() {
			i = internal_element("i");
			t = space();
			create_component(loadingscreen.$$.fragment);
			attr(i, "class", "ducktap__back ducktap__back--loading icon-chevron-left");
		},
		m(target, anchor) {
			insert(target, i, anchor);
			insert(target, t, anchor);
			mount_component(loadingscreen, target, anchor);
			current = true;

			if (!mounted) {
				dispose = listen(i, "click", /*back*/ ctx[3]);
				mounted = true;
			}
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(loadingscreen.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(loadingscreen.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(i);
			if (detaching) detach(t);
			destroy_component(loadingscreen, detaching);
			mounted = false;
			dispose();
		}
	};
}

// (75:8) {#if currentRoute === Routes.Main || currentRoute === Routes.Boost}
function ducktap_index_svelte_create_if_block_1(ctx) {
	let div5;
	let div1;
	let img;
	let img_src_value;
	let img_draggable_value;
	let t0;
	let div0;
	let t1_value = formatMoney(Math.round(/*$mainData*/ ctx[1].balance)) + "";
	let t1;
	let t2;
	let div2;
	let t3;
	let div4;
	let div3;
	let show_if = !(0,lodash.isNil)(TIERS_ITEMS[/*$mainData*/ ctx[1].tier]);
	let t4;
	let div5_intro;

	function select_block_type_1(ctx, dirty) {
		if (/*$mainData*/ ctx[1].nextTarget === 0) return ducktap_index_svelte_create_if_block_4;
		return ducktap_index_svelte_create_else_block_1;
	}

	let current_block_type = select_block_type_1(ctx, -1);
	let if_block0 = current_block_type(ctx);
	let if_block1 = show_if && ducktap_index_svelte_create_if_block_3(ctx);
	let if_block2 = /*$mainData*/ ctx[1].nextTarget > 0 && ducktap_index_svelte_create_if_block_2(ctx);

	return {
		c() {
			div5 = internal_element("div");
			div1 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			div2 = internal_element("div");
			if_block0.c();
			t3 = space();
			div4 = internal_element("div");
			div3 = internal_element("div");
			if (if_block1) if_block1.c();
			t4 = space();
			if (if_block2) if_block2.c();
			if (!src_url_equal(img.src, img_src_value = coin_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "draggable", img_draggable_value = false);
			attr(img, "alt", "coin");
			attr(img, "class", "ducktap__coin-bar-coin-image");
			attr(div0, "class", "ducktap__coin-bar-balance");
			attr(div1, "class", "ducktap__coin-bar-balance-bar");
			attr(div2, "class", "ducktap__progress-bar");
			attr(div3, "class", "ducktap__tier-info-wrapper");
			attr(div4, "class", "ducktap__tier-info");
			attr(div5, "class", "ducktap__coin-bar");
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			append(div5, div1);
			append(div1, img);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
			append(div5, t2);
			append(div5, div2);
			if_block0.m(div2, null);
			append(div5, t3);
			append(div5, div4);
			append(div4, div3);
			if (if_block1) if_block1.m(div3, null);
			append(div4, t4);
			if (if_block2) if_block2.m(div4, null);
		},
		p(ctx, dirty) {
			if (dirty & /*$mainData*/ 2 && t1_value !== (t1_value = formatMoney(Math.round(/*$mainData*/ ctx[1].balance)) + "")) set_data(t1, t1_value);

			if (current_block_type === (current_block_type = select_block_type_1(ctx, dirty)) && if_block0) {
				if_block0.p(ctx, dirty);
			} else {
				if_block0.d(1);
				if_block0 = current_block_type(ctx);

				if (if_block0) {
					if_block0.c();
					if_block0.m(div2, null);
				}
			}

			if (dirty & /*$mainData*/ 2) show_if = !(0,lodash.isNil)(TIERS_ITEMS[/*$mainData*/ ctx[1].tier]);

			if (show_if) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = ducktap_index_svelte_create_if_block_3(ctx);
					if_block1.c();
					if_block1.m(div3, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (/*$mainData*/ ctx[1].nextTarget > 0) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = ducktap_index_svelte_create_if_block_2(ctx);
					if_block2.c();
					if_block2.m(div4, null);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}
		},
		i(local) {
			if (!div5_intro) {
				add_render_callback(() => {
					div5_intro = create_in_transition(div5, fade, { duration: 500 });
					div5_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div5);
			if_block0.d();
			if (if_block1) if_block1.d();
			if (if_block2) if_block2.d();
		}
	};
}

// (85:20) {:else}
function ducktap_index_svelte_create_else_block_1(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			attr(div, "class", "ducktap__progress-bar-current");
			set_style(div, "--progress", `${countPercents(/*$mainData*/ ctx[1].balance, /*$mainData*/ ctx[1].nextTarget)}%`);
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*$mainData*/ 2) {
				set_style(div, "--progress", `${countPercents(/*$mainData*/ ctx[1].balance, /*$mainData*/ ctx[1].nextTarget)}%`);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (83:20) {#if $mainData.nextTarget === 0}
function ducktap_index_svelte_create_if_block_4(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			attr(div, "class", "ducktap__progress-bar-current");
			set_style(div, "--progress", "100%");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (92:24) {#if !isNil(TIERS_ITEMS[$mainData.tier])}
function ducktap_index_svelte_create_if_block_3(ctx) {
	let img;
	let img_src_value;
	let img_draggable_value;
	let t0;
	let div;
	let t1_value = TIERS_ITEMS[/*$mainData*/ ctx[1].tier].name + "";
	let t1;

	return {
		c() {
			img = internal_element("img");
			t0 = space();
			div = internal_element("div");
			t1 = internal_text(t1_value);
			if (!src_url_equal(img.src, img_src_value = TIERS_ITEMS[/*$mainData*/ ctx[1].tier].shieldImage)) attr(img, "src", img_src_value);
			attr(img, "draggable", img_draggable_value = false);
			attr(img, "alt", "shield");
			attr(img, "class", "ducktap__tier-icon");
			attr(div, "class", "ducktap__tier-name");
		},
		m(target, anchor) {
			insert(target, img, anchor);
			insert(target, t0, anchor);
			insert(target, div, anchor);
			append(div, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*$mainData*/ 2 && !src_url_equal(img.src, img_src_value = TIERS_ITEMS[/*$mainData*/ ctx[1].tier].shieldImage)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*$mainData*/ 2 && t1_value !== (t1_value = TIERS_ITEMS[/*$mainData*/ ctx[1].tier].name + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(img);
			if (detaching) detach(t0);
			if (detaching) detach(div);
		}
	};
}

// (97:20) {#if $mainData.nextTarget > 0}
function ducktap_index_svelte_create_if_block_2(ctx) {
	let div;
	let t_value = thousandsCut(/*$mainData*/ ctx[1].nextTarget) + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "ducktap__tier-target");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*$mainData*/ 2 && t_value !== (t_value = thousandsCut(/*$mainData*/ ctx[1].nextTarget) + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (106:16) {#each MENU_ITEMS as item}
function ducktap_index_svelte_create_each_block(ctx) {
	let div1;
	let i;
	let i_class_value;
	let t0;
	let div0;
	let t1_value = /*item*/ ctx[10].title + "";
	let t1;
	let t2;
	let mounted;
	let dispose;

	function click_handler_1() {
		return /*click_handler_1*/ ctx[7](/*item*/ ctx[10]);
	}

	return {
		c() {
			div1 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(i, "class", i_class_value = "ducktap__navigation-item-icon " + /*item*/ ctx[10].icon);
			attr(div0, "class", "ducktap__navigation-item-title");
			attr(div1, "class", "ducktap__navigation-item");
			toggle_class(div1, "ducktap__navigation-item--active", /*currentRoute*/ ctx[0] === /*item*/ ctx[10].id);
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, i);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
			append(div1, t2);

			if (!mounted) {
				dispose = listen(div1, "click", click_handler_1);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*currentRoute, MENU_ITEMS*/ 1) {
				toggle_class(div1, "ducktap__navigation-item--active", /*currentRoute*/ ctx[0] === /*item*/ ctx[10].id);
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			mounted = false;
			dispose();
		}
	};
}

function ducktap_index_svelte_create_fragment(ctx) {
	let div;
	let show_if;
	let current_block_type_index;
	let if_block;
	let current;
	const if_block_creators = [ducktap_index_svelte_create_if_block, ducktap_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (dirty & /*$mainData*/ 2) show_if = null;
		if (show_if == null) show_if = !!(0,lodash.isEmpty)(/*$mainData*/ ctx[1]);
		if (show_if) return 0;
		return 1;
	}

	current_block_type_index = select_block_type(ctx, -1);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div = internal_element("div");
			if_block.c();
			attr(div, "class", "ducktap");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if_blocks[current_block_type_index].m(div, null);
			current = true;
		},
		p(ctx, [dirty]) {
			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(div, null);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if_blocks[current_block_type_index].d();
		}
	};
}

function ducktap_index_svelte_instance($$self, $$props, $$invalidate) {
	let $mainData;
	let $recountInervalId;
	let $timerIntervalId;
	let $mute;
	component_subscribe($$self, mainData, $$value => $$invalidate(1, $mainData = $$value));
	component_subscribe($$self, recountInervalId, $$value => $$invalidate(8, $recountInervalId = $$value));
	component_subscribe($$self, timerIntervalId, $$value => $$invalidate(9, $timerIntervalId = $$value));
	component_subscribe($$self, mute, $$value => $$invalidate(2, $mute = $$value));

	let { backToMainMenu = () => {
		
	} } = $$props;

	let currentRoute = Routes.Main;

	const back = () => {
		if (currentRoute === Routes.Main) {
			sendClientMessage('ducktap.close');

			setTimeout(
				() => {
					backToMainMenu();
				},
				300
			);
		} else {
			$$invalidate(0, currentRoute = Routes.Main);
		}
	};

	const selectRoute = routId => {
		sendClientMessage('ducktap.changeScreen', routId);

		if (routId === Routes.Cashout) {
			return;
		}

		$$invalidate(0, currentRoute = routId);
	};

	onDestroy(() => {
		clearInterval($recountInervalId);
		clearInterval($timerIntervalId);
		set_store_value(timerIntervalId, $timerIntervalId = null, $timerIntervalId);
		set_store_value(recountInervalId, $recountInervalId = null, $recountInervalId);
		set_store_value(mainData, $mainData = {}, $mainData);
	});

	const click_handler = () => {
		set_store_value(mute, $mute = !$mute, $mute);
	};

	const click_handler_1 = item => selectRoute(item.id);

	$$self.$$set = $$props => {
		if ('backToMainMenu' in $$props) $$invalidate(5, backToMainMenu = $$props.backToMainMenu);
	};

	return [
		currentRoute,
		$mainData,
		$mute,
		back,
		selectRoute,
		backToMainMenu,
		click_handler,
		click_handler_1
	];
}

class Ducktap extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, ducktap_index_svelte_instance, ducktap_index_svelte_create_fragment, safe_not_equal, { backToMainMenu: 5 });
	}
}

/* harmony default export */ const ducktap_index_svelte = (Ducktap);
;// CONCATENATED MODULE: ./src/views/phone/apps/jobs/img/logo.png
const jobs_img_logo_namespaceObject = __webpack_require__.p + "assets/8cdd6c0ccaec0dedd941.webp";
;// CONCATENATED MODULE: ./src/views/phone/apps/jobs/components/jobs-items/img/selected-icon.svg
const selected_icon_namespaceObject = __webpack_require__.p + "assets/fb144cb4f43bec612dab.svg";
;// CONCATENATED MODULE: ./src/views/phone/apps/jobs/constants.js
var FiltersTabsId = {
  Available: 'available',
  MostProfit: 'most-profit',
  IncreaseLevel: 'increase-level',
  DecreasingLevel: 'decreasing-level'
};
var FILTERS_TABS = [{
  id: FiltersTabsId.Available,
  title: 'Доступные мне'
}, {
  id: FiltersTabsId.MostProfit,
  title: 'Самые прибыльные'
}, {
  id: FiltersTabsId.IncreaseLevel,
  title: 'Возрастание уровня'
}, {
  id: FiltersTabsId.DecreasingLevel,
  title: 'Убывание уровня'
}];
;// CONCATENATED MODULE: ./src/views/phone/apps/jobs/components/jobs-items/index.svelte
/* src\views\phone\apps\jobs\components\jobs-items\index.svelte generated by Svelte v3.49.0 */








// import { JOBS_MOCKS } from '../../mocks';


function jobs_items_index_svelte_add_css(target) {
	append_styles(target, "svelte-cw52rj", "@keyframes svelte-cw52rj-blinking{50%{opacity:0}}@keyframes svelte-cw52rj-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-cw52rj-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-cw52rj-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-cw52rj-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-cw52rj-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-cw52rj-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-cw52rj-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-cw52rj-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-cw52rj-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-cw52rj-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-cw52rj-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-cw52rj-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-cw52rj-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-cw52rj-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.jobs-items.svelte-cw52rj.svelte-cw52rj{height:100%;padding:calc(0 * 100vw + 0px) calc(0.0260416667 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.jobs-items.svelte-cw52rj.svelte-cw52rj{padding:calc(0 * 100vw + 0px) calc(0.0260416667 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items.svelte-cw52rj.svelte-cw52rj{padding:calc(0 * 100vw + 0px) calc(0.0260416667 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items.svelte-cw52rj.svelte-cw52rj{padding:calc(0 * 100vw + 0px) calc(0.0200520833 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items.svelte-cw52rj.svelte-cw52rj{padding:calc(0 * 100vw + 0px) calc(0.0286458333 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items.svelte-cw52rj.svelte-cw52rj{padding:calc(0 * 100vw + 0px) calc(0.0182291667 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items.svelte-cw52rj.svelte-cw52rj{padding:calc(0 * 100vw + 0px) calc(0.0234375 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items.svelte-cw52rj.svelte-cw52rj{padding:calc(0 * 100vw + 0px) calc(0.0286458333 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0286458333 * 100vw + 0px)}}.jobs-items__title.svelte-cw52rj.svelte-cw52rj{font-family:\"GothamPro-Medium\";color:#111111;font-size:calc(0.0166666667 * 100vw + 0px);margin-top:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__title.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__title.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__title.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__title.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__title.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__title.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__title.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0143229167 * 100vw + 0px)}}.jobs-items__filters.svelte-cw52rj.svelte-cw52rj{display:flex;justify-content:space-between;gap:calc(0.0052083333 * 100vw + 0px);margin-top:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__filters.svelte-cw52rj.svelte-cw52rj{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__filters.svelte-cw52rj.svelte-cw52rj{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__filters.svelte-cw52rj.svelte-cw52rj{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__filters.svelte-cw52rj.svelte-cw52rj{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__filters.svelte-cw52rj.svelte-cw52rj{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__filters.svelte-cw52rj.svelte-cw52rj{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__filters.svelte-cw52rj.svelte-cw52rj{gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__filters.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__filters.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__filters.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__filters.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__filters.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__filters.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__filters.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0114583333 * 100vw + 0px)}}.jobs-items__filter-item.svelte-cw52rj.svelte-cw52rj{display:flex;align-items:center;justify-content:center;border:1px solid #E5ECF6;background-color:#FFFFFF;transition:background-color 0.2s linear;cursor:pointer;text-align:center;flex-grow:1;border-radius:calc(0.0052083333 * 100vw + 0px);height:calc(0.015625 * 100vw + 0px);padding:calc(0 * 100vw + 0px) calc(0.0052083333 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__filter-item.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__filter-item.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__filter-item.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__filter-item.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__filter-item.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__filter-item.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__filter-item.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__filter-item.svelte-cw52rj.svelte-cw52rj{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__filter-item.svelte-cw52rj.svelte-cw52rj{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__filter-item.svelte-cw52rj.svelte-cw52rj{height:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__filter-item.svelte-cw52rj.svelte-cw52rj{height:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__filter-item.svelte-cw52rj.svelte-cw52rj{height:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__filter-item.svelte-cw52rj.svelte-cw52rj{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__filter-item.svelte-cw52rj.svelte-cw52rj{height:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__filter-item.svelte-cw52rj.svelte-cw52rj{padding:calc(0 * 100vw + 0px) calc(0.0052083333 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__filter-item.svelte-cw52rj.svelte-cw52rj{padding:calc(0 * 100vw + 0px) calc(0.0052083333 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__filter-item.svelte-cw52rj.svelte-cw52rj{padding:calc(0 * 100vw + 0px) calc(0.0040104167 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__filter-item.svelte-cw52rj.svelte-cw52rj{padding:calc(0 * 100vw + 0px) calc(0.0057291667 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__filter-item.svelte-cw52rj.svelte-cw52rj{padding:calc(0 * 100vw + 0px) calc(0.0036458333 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__filter-item.svelte-cw52rj.svelte-cw52rj{padding:calc(0 * 100vw + 0px) calc(0.0046875 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__filter-item.svelte-cw52rj.svelte-cw52rj{padding:calc(0 * 100vw + 0px) calc(0.0057291667 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0057291667 * 100vw + 0px)}}.jobs-items__filter-item--selected.svelte-cw52rj.svelte-cw52rj{border-color:transparent;background-color:#E5ECF6}.jobs-items__filter-item--selected.svelte-cw52rj .jobs-items__filter-item-title.svelte-cw52rj{color:#111111}.jobs-items__filter-item.svelte-cw52rj.svelte-cw52rj:hover{border-color:transparent;background-color:#F1F4F9}.jobs-items__filter-item.svelte-cw52rj:hover .jobs-items__filter-item-title.svelte-cw52rj{color:#111111}.jobs-items__filter-item-title.svelte-cw52rj.svelte-cw52rj{font-family:\"GothamPro\";color:#8E8E8E;transition:color 0.2s linear;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__filter-item-title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__filter-item-title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__filter-item-title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__filter-item-title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__filter-item-title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__filter-item-title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__filter-item-title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0057291667 * 100vw + 0px)}}.jobs-items__filter-item-icon.svelte-cw52rj.svelte-cw52rj{margin-left:calc(0.0052083333 * 100vw + 0px);height:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__filter-item-icon.svelte-cw52rj.svelte-cw52rj{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__filter-item-icon.svelte-cw52rj.svelte-cw52rj{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__filter-item-icon.svelte-cw52rj.svelte-cw52rj{margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__filter-item-icon.svelte-cw52rj.svelte-cw52rj{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__filter-item-icon.svelte-cw52rj.svelte-cw52rj{margin-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__filter-item-icon.svelte-cw52rj.svelte-cw52rj{margin-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__filter-item-icon.svelte-cw52rj.svelte-cw52rj{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__filter-item-icon.svelte-cw52rj.svelte-cw52rj{height:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__filter-item-icon.svelte-cw52rj.svelte-cw52rj{height:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__filter-item-icon.svelte-cw52rj.svelte-cw52rj{height:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__filter-item-icon.svelte-cw52rj.svelte-cw52rj{height:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__filter-item-icon.svelte-cw52rj.svelte-cw52rj{height:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__filter-item-icon.svelte-cw52rj.svelte-cw52rj{height:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__filter-item-icon.svelte-cw52rj.svelte-cw52rj{height:calc(0.006875 * 100vw + 0px)}}.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj{overflow:auto;margin-top:calc(0.0104166667 * 100vw + 0px);height:calc(0.4322916667 * 100vw + 0px)}.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj{height:calc(0.4322916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj{height:calc(0.4322916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj{height:calc(0.3328645833 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj{height:calc(0.4755208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj{height:calc(0.3026041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj{height:calc(0.3890625 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj{height:calc(0.4755208333 * 100vw + 0px)}}.jobs-items__item-wrapper.svelte-cw52rj.svelte-cw52rj::-webkit-scrollbar{width:0}.jobs-items__item.svelte-cw52rj.svelte-cw52rj{border:1px solid #D6D6D6;border-radius:calc(0.0182291667 * 100vw + 0px);padding-top:calc(0.015625 * 100vw + 0px);padding-left:calc(0.0130208333 * 100vw + 0px);margin-top:calc(0.0130208333 * 100vw + 0px);width:calc(0.2854166667 * 100vw + 0px);height:calc(0.2083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0200520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{padding-top:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{padding-top:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{padding-top:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{padding-top:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{padding-top:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{padding-top:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{padding-top:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{width:calc(0.2854166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{width:calc(0.2854166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{width:calc(0.2197708333 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{width:calc(0.3139583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{width:calc(0.1997916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{width:calc(0.256875 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{width:calc(0.3139583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{height:calc(0.2083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{height:calc(0.2083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{height:calc(0.1604166667 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{height:calc(0.2291666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{height:calc(0.1458333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{height:calc(0.1875 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item.svelte-cw52rj.svelte-cw52rj{height:calc(0.2291666667 * 100vw + 0px)}}.jobs-items__item.svelte-cw52rj.svelte-cw52rj:nth-child(1){margin-top:0}.jobs-items__item-title-wrapper.svelte-cw52rj.svelte-cw52rj{display:flex;align-items:center;gap:calc(0.0046875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item-title-wrapper.svelte-cw52rj.svelte-cw52rj{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item-title-wrapper.svelte-cw52rj.svelte-cw52rj{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item-title-wrapper.svelte-cw52rj.svelte-cw52rj{gap:calc(0.003609375 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item-title-wrapper.svelte-cw52rj.svelte-cw52rj{gap:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item-title-wrapper.svelte-cw52rj.svelte-cw52rj{gap:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item-title-wrapper.svelte-cw52rj.svelte-cw52rj{gap:calc(0.00421875 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item-title-wrapper.svelte-cw52rj.svelte-cw52rj{gap:calc(0.00515625 * 100vw + 0px)}}.jobs-items__item-title-icon.svelte-cw52rj.svelte-cw52rj{display:flex;align-items:center;justify-content:center;color:#5E6C77;background-color:#F1F4F9;font-size:calc(0.015625 * 100vw + 0px);border-radius:calc(0.0026041667 * 100vw + 0px);width:calc(0.0260416667 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item-title-icon.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item-title-icon.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item-title-icon.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item-title-icon.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item-title-icon.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item-title-icon.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item-title-icon.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item-title-icon.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item-title-icon.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item-title-icon.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item-title-icon.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item-title-icon.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item-title-icon.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item-title-icon.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item-title-icon.svelte-cw52rj.svelte-cw52rj{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item-title-icon.svelte-cw52rj.svelte-cw52rj{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item-title-icon.svelte-cw52rj.svelte-cw52rj{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item-title-icon.svelte-cw52rj.svelte-cw52rj{width:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item-title-icon.svelte-cw52rj.svelte-cw52rj{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item-title-icon.svelte-cw52rj.svelte-cw52rj{width:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item-title-icon.svelte-cw52rj.svelte-cw52rj{width:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item-title-icon.svelte-cw52rj.svelte-cw52rj{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item-title-icon.svelte-cw52rj.svelte-cw52rj{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item-title-icon.svelte-cw52rj.svelte-cw52rj{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item-title-icon.svelte-cw52rj.svelte-cw52rj{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item-title-icon.svelte-cw52rj.svelte-cw52rj{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item-title-icon.svelte-cw52rj.svelte-cw52rj{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item-title-icon.svelte-cw52rj.svelte-cw52rj{height:calc(0.0286458333 * 100vw + 0px)}}.jobs-items__item-title.svelte-cw52rj.svelte-cw52rj{font-family:\"GothamPro-Medium\";color:#111111;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item-title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item-title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item-title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item-title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item-title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item-title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item-title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.01375 * 100vw + 0px)}}.jobs-items__item-description.svelte-cw52rj.svelte-cw52rj{font-family:\"GothamPro-Light\";color:#111111;line-height:calc(0.0125 * 100vw + 0px);font-size:calc(0.0083333333 * 100vw + 0px);margin-top:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item-description.svelte-cw52rj.svelte-cw52rj{line-height:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item-description.svelte-cw52rj.svelte-cw52rj{line-height:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item-description.svelte-cw52rj.svelte-cw52rj{line-height:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item-description.svelte-cw52rj.svelte-cw52rj{line-height:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item-description.svelte-cw52rj.svelte-cw52rj{line-height:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item-description.svelte-cw52rj.svelte-cw52rj{line-height:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item-description.svelte-cw52rj.svelte-cw52rj{line-height:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item-description.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item-description.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item-description.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item-description.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item-description.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item-description.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item-description.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item-description.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item-description.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item-description.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item-description.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item-description.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item-description.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item-description.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0091666667 * 100vw + 0px)}}.jobs-items__item-need-wrapper.svelte-cw52rj.svelte-cw52rj{display:flex;gap:calc(0.0052083333 * 100vw + 0px);margin-top:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item-need-wrapper.svelte-cw52rj.svelte-cw52rj{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item-need-wrapper.svelte-cw52rj.svelte-cw52rj{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item-need-wrapper.svelte-cw52rj.svelte-cw52rj{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item-need-wrapper.svelte-cw52rj.svelte-cw52rj{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item-need-wrapper.svelte-cw52rj.svelte-cw52rj{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item-need-wrapper.svelte-cw52rj.svelte-cw52rj{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item-need-wrapper.svelte-cw52rj.svelte-cw52rj{gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item-need-wrapper.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item-need-wrapper.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item-need-wrapper.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item-need-wrapper.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item-need-wrapper.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item-need-wrapper.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item-need-wrapper.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0091666667 * 100vw + 0px)}}.jobs-items__item-need.svelte-cw52rj.svelte-cw52rj{display:flex;align-items:center;justify-content:center;background-color:#F1F4F9;border-radius:calc(0.0052083333 * 100vw + 0px);padding:calc(0 * 100vw + 0px) calc(0.0052083333 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0052083333 * 100vw + 0px);min-width:calc(0.046875 * 100vw + 0px);height:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item-need.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item-need.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item-need.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item-need.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item-need.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item-need.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item-need.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item-need.svelte-cw52rj.svelte-cw52rj{padding:calc(0 * 100vw + 0px) calc(0.0052083333 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item-need.svelte-cw52rj.svelte-cw52rj{padding:calc(0 * 100vw + 0px) calc(0.0052083333 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item-need.svelte-cw52rj.svelte-cw52rj{padding:calc(0 * 100vw + 0px) calc(0.0040104167 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item-need.svelte-cw52rj.svelte-cw52rj{padding:calc(0 * 100vw + 0px) calc(0.0057291667 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item-need.svelte-cw52rj.svelte-cw52rj{padding:calc(0 * 100vw + 0px) calc(0.0036458333 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item-need.svelte-cw52rj.svelte-cw52rj{padding:calc(0 * 100vw + 0px) calc(0.0046875 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item-need.svelte-cw52rj.svelte-cw52rj{padding:calc(0 * 100vw + 0px) calc(0.0057291667 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item-need.svelte-cw52rj.svelte-cw52rj{min-width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item-need.svelte-cw52rj.svelte-cw52rj{min-width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item-need.svelte-cw52rj.svelte-cw52rj{min-width:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item-need.svelte-cw52rj.svelte-cw52rj{min-width:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item-need.svelte-cw52rj.svelte-cw52rj{min-width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item-need.svelte-cw52rj.svelte-cw52rj{min-width:calc(0.0421875 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item-need.svelte-cw52rj.svelte-cw52rj{min-width:calc(0.0515625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item-need.svelte-cw52rj.svelte-cw52rj{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item-need.svelte-cw52rj.svelte-cw52rj{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item-need.svelte-cw52rj.svelte-cw52rj{height:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item-need.svelte-cw52rj.svelte-cw52rj{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item-need.svelte-cw52rj.svelte-cw52rj{height:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item-need.svelte-cw52rj.svelte-cw52rj{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item-need.svelte-cw52rj.svelte-cw52rj{height:calc(0.0200520833 * 100vw + 0px)}}.jobs-items__item-need--unavailable.svelte-cw52rj.svelte-cw52rj{background-color:#F5CDCD}.jobs-items__item-need--unavailable.svelte-cw52rj .jobs-items__item-need-title.svelte-cw52rj{color:#BA6D6D}.jobs-items__item-need-title.svelte-cw52rj.svelte-cw52rj{font-family:\"GothamPro-Light\";color:#5E6C77;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item-need-title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item-need-title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item-need-title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item-need-title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item-need-title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item-need-title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item-need-title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0091666667 * 100vw + 0px)}}.jobs-items__item-money.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item-money.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item-money.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item-money.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item-money.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item-money.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item-money.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item-money.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0091666667 * 100vw + 0px)}}.jobs-items__item-money-title.svelte-cw52rj.svelte-cw52rj{font-family:\"GothamPro-Light\";color:#838383;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item-money-title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item-money-title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item-money-title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item-money-title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item-money-title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item-money-title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item-money-title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0091666667 * 100vw + 0px)}}.jobs-items__item-money-value-wrapper.svelte-cw52rj.svelte-cw52rj{display:flex;align-items:center;background-color:#E8F9EC;width:fit-content;border-radius:calc(0.0052083333 * 100vw + 0px);padding:calc(0 * 100vw + 0px) calc(0.0078125 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0078125 * 100vw + 0px);margin-top:calc(0.0052083333 * 100vw + 0px);height:calc(0.0276041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item-money-value-wrapper.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item-money-value-wrapper.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item-money-value-wrapper.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item-money-value-wrapper.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item-money-value-wrapper.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item-money-value-wrapper.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item-money-value-wrapper.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item-money-value-wrapper.svelte-cw52rj.svelte-cw52rj{padding:calc(0 * 100vw + 0px) calc(0.0078125 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item-money-value-wrapper.svelte-cw52rj.svelte-cw52rj{padding:calc(0 * 100vw + 0px) calc(0.0078125 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item-money-value-wrapper.svelte-cw52rj.svelte-cw52rj{padding:calc(0 * 100vw + 0px) calc(0.006015625 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item-money-value-wrapper.svelte-cw52rj.svelte-cw52rj{padding:calc(0 * 100vw + 0px) calc(0.00859375 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item-money-value-wrapper.svelte-cw52rj.svelte-cw52rj{padding:calc(0 * 100vw + 0px) calc(0.00546875 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item-money-value-wrapper.svelte-cw52rj.svelte-cw52rj{padding:calc(0 * 100vw + 0px) calc(0.00703125 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item-money-value-wrapper.svelte-cw52rj.svelte-cw52rj{padding:calc(0 * 100vw + 0px) calc(0.00859375 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item-money-value-wrapper.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item-money-value-wrapper.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item-money-value-wrapper.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item-money-value-wrapper.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item-money-value-wrapper.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item-money-value-wrapper.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item-money-value-wrapper.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item-money-value-wrapper.svelte-cw52rj.svelte-cw52rj{height:calc(0.0276041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item-money-value-wrapper.svelte-cw52rj.svelte-cw52rj{height:calc(0.0276041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item-money-value-wrapper.svelte-cw52rj.svelte-cw52rj{height:calc(0.0212552083 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item-money-value-wrapper.svelte-cw52rj.svelte-cw52rj{height:calc(0.0303645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item-money-value-wrapper.svelte-cw52rj.svelte-cw52rj{height:calc(0.0193229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item-money-value-wrapper.svelte-cw52rj.svelte-cw52rj{height:calc(0.02484375 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item-money-value-wrapper.svelte-cw52rj.svelte-cw52rj{height:calc(0.0303645833 * 100vw + 0px)}}.jobs-items__item-money-value.svelte-cw52rj.svelte-cw52rj{font-family:\"GothamPro-Medium\";color:#17A25E;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item-money-value.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item-money-value.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item-money-value.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item-money-value.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item-money-value.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item-money-value.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item-money-value.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.01375 * 100vw + 0px)}}.jobs-items__item-button.svelte-cw52rj.svelte-cw52rj{display:flex;align-items:center;justify-content:center;background-color:#0070FF;transition:background-color 0.2s linear;cursor:pointer;border-radius:calc(0.0104166667 * 100vw + 0px);margin-top:calc(0.0083333333 * 100vw + 0px);width:calc(0.2604166667 * 100vw + 0px);height:calc(0.0338541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item-button.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item-button.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item-button.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item-button.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item-button.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item-button.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item-button.svelte-cw52rj.svelte-cw52rj{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item-button.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item-button.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item-button.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item-button.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item-button.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item-button.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item-button.svelte-cw52rj.svelte-cw52rj{margin-top:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item-button.svelte-cw52rj.svelte-cw52rj{width:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item-button.svelte-cw52rj.svelte-cw52rj{width:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item-button.svelte-cw52rj.svelte-cw52rj{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item-button.svelte-cw52rj.svelte-cw52rj{width:calc(0.2864583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item-button.svelte-cw52rj.svelte-cw52rj{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item-button.svelte-cw52rj.svelte-cw52rj{width:calc(0.234375 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item-button.svelte-cw52rj.svelte-cw52rj{width:calc(0.2864583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item-button.svelte-cw52rj.svelte-cw52rj{height:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item-button.svelte-cw52rj.svelte-cw52rj{height:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item-button.svelte-cw52rj.svelte-cw52rj{height:calc(0.0260677083 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item-button.svelte-cw52rj.svelte-cw52rj{height:calc(0.0372395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item-button.svelte-cw52rj.svelte-cw52rj{height:calc(0.0236979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item-button.svelte-cw52rj.svelte-cw52rj{height:calc(0.03046875 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item-button.svelte-cw52rj.svelte-cw52rj{height:calc(0.0372395833 * 100vw + 0px)}}.jobs-items__item-button.svelte-cw52rj.svelte-cw52rj:hover{background-color:#0057FF}.jobs-items__item-button--unavailable.svelte-cw52rj.svelte-cw52rj{pointer-events:none;background-color:#F5CDCD}.jobs-items__item-button--unavailable.svelte-cw52rj .jobs-items__item-button-title.svelte-cw52rj{color:#BA6D6D}.jobs-items__item-button-title.svelte-cw52rj.svelte-cw52rj{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.jobs-items__item-button-title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs-items__item-button-title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs-items__item-button-title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.jobs-items__item-button-title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs-items__item-button-title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs-items__item-button-title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.jobs-items__item-button-title.svelte-cw52rj.svelte-cw52rj{font-size:calc(0.0091666667 * 100vw + 0px)}}");
}

function jobs_items_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[8] = list[i];
	return child_ctx;
}

function jobs_items_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[11] = list[i];
	return child_ctx;
}

function jobs_items_index_svelte_get_each_context_2(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[14] = list[i];
	return child_ctx;
}

// (2198:16) {#if selectedFilterId === filter.id}
function jobs_items_index_svelte_create_if_block(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "jobs-items__filter-item-icon svelte-cw52rj");
			if (!src_url_equal(img.src, img_src_value = selected_icon_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "selected-icon");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (2189:8) {#each FILTERS_TABS as filter}
function jobs_items_index_svelte_create_each_block_2(ctx) {
	let div;
	let p;
	let t0_value = /*filter*/ ctx[14].title + "";
	let t0;
	let t1;
	let t2;
	let mounted;
	let dispose;
	let if_block = /*selectedFilterId*/ ctx[1] === /*filter*/ ctx[14].id && jobs_items_index_svelte_create_if_block(ctx);

	function click_handler() {
		return /*click_handler*/ ctx[4](/*filter*/ ctx[14]);
	}

	return {
		c() {
			div = internal_element("div");
			p = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			if (if_block) if_block.c();
			t2 = space();
			attr(p, "class", "jobs-items__filter-item-title svelte-cw52rj");
			attr(div, "class", "jobs-items__filter-item svelte-cw52rj");
			toggle_class(div, "jobs-items__filter-item--selected", /*selectedFilterId*/ ctx[1] === /*filter*/ ctx[14].id);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p);
			append(p, t0);
			append(div, t1);
			if (if_block) if_block.m(div, null);
			append(div, t2);

			if (!mounted) {
				dispose = listen(div, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (/*selectedFilterId*/ ctx[1] === /*filter*/ ctx[14].id) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = jobs_items_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div, t2);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (dirty & /*selectedFilterId, FILTERS_TABS*/ 2) {
				toggle_class(div, "jobs-items__filter-item--selected", /*selectedFilterId*/ ctx[1] === /*filter*/ ctx[14].id);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			if (if_block) if_block.d();
			mounted = false;
			dispose();
		}
	};
}

// (2221:20) {#each job.requirements as requirement}
function jobs_items_index_svelte_create_each_block_1(ctx) {
	let div;
	let p;
	let t0_value = /*requirement*/ ctx[11].title + "";
	let t0;
	let t1;

	return {
		c() {
			div = internal_element("div");
			p = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			attr(p, "class", "jobs-items__item-need-title svelte-cw52rj");
			attr(div, "class", "jobs-items__item-need svelte-cw52rj");
			toggle_class(div, "jobs-items__item-need--unavailable", /*requirement*/ ctx[11].unavailable);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p);
			append(p, t0);
			append(div, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*jobs*/ 1 && t0_value !== (t0_value = /*requirement*/ ctx[11].title + "")) set_data(t0, t0_value);

			if (dirty & /*jobs*/ 1) {
				toggle_class(div, "jobs-items__item-need--unavailable", /*requirement*/ ctx[11].unavailable);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (2209:8) {#each jobs as job}
function jobs_items_index_svelte_create_each_block(ctx) {
	let div5;
	let div0;
	let p0;
	let p0_class_value;
	let t0;
	let p1;
	let t1_value = /*job*/ ctx[8].title + "";
	let t1;
	let t2;
	let p2;
	let t3_value = /*job*/ ctx[8].description + "";
	let t3;
	let t4;
	let div1;
	let t5;
	let div3;
	let p3;
	let t7;
	let div2;
	let p4;
	let t8;
	let t9_value = formatMoney(/*job*/ ctx[8].salary) + "";
	let t9;
	let t10;
	let t11;
	let div4;
	let p5;

	let t12_value = (/*job*/ ctx[8].available
	? 'Отправиться на работу'
	: 'Недоступно') + "";

	let t12;
	let t13;
	let mounted;
	let dispose;
	let each_value_1 = /*job*/ ctx[8].requirements;
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = jobs_items_index_svelte_create_each_block_1(jobs_items_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	function click_handler_1() {
		return /*click_handler_1*/ ctx[5](/*job*/ ctx[8]);
	}

	return {
		c() {
			div5 = internal_element("div");
			div0 = internal_element("div");
			p0 = internal_element("p");
			t0 = space();
			p1 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			p2 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = space();
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t5 = space();
			div3 = internal_element("div");
			p3 = internal_element("p");
			p3.textContent = "Средний доход";
			t7 = space();
			div2 = internal_element("div");
			p4 = internal_element("p");
			t8 = internal_text("~ ");
			t9 = internal_text(t9_value);
			t10 = internal_text(" ₽");
			t11 = space();
			div4 = internal_element("div");
			p5 = internal_element("p");
			t12 = internal_text(t12_value);
			t13 = space();
			attr(p0, "class", p0_class_value = "jobs-items__item-title-icon " + /*job*/ ctx[8].icon + " svelte-cw52rj");
			attr(p1, "class", "jobs-items__item-title svelte-cw52rj");
			attr(div0, "class", "jobs-items__item-title-wrapper svelte-cw52rj");
			attr(p2, "class", "jobs-items__item-description svelte-cw52rj");
			attr(div1, "class", "jobs-items__item-need-wrapper svelte-cw52rj");
			attr(p3, "class", "jobs-items__item-money-title svelte-cw52rj");
			attr(p4, "class", "jobs-items__item-money-value svelte-cw52rj");
			attr(div2, "class", "jobs-items__item-money-value-wrapper svelte-cw52rj");
			attr(div3, "class", "jobs-items__item-money svelte-cw52rj");
			attr(p5, "class", "jobs-items__item-button-title svelte-cw52rj");
			attr(div4, "class", "jobs-items__item-button svelte-cw52rj");
			toggle_class(div4, "jobs-items__item-button--unavailable", !/*job*/ ctx[8].available);
			attr(div5, "class", "jobs-items__item svelte-cw52rj");
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			append(div5, div0);
			append(div0, p0);
			append(div0, t0);
			append(div0, p1);
			append(p1, t1);
			append(div5, t2);
			append(div5, p2);
			append(p2, t3);
			append(div5, t4);
			append(div5, div1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}

			append(div5, t5);
			append(div5, div3);
			append(div3, p3);
			append(div3, t7);
			append(div3, div2);
			append(div2, p4);
			append(p4, t8);
			append(p4, t9);
			append(p4, t10);
			append(div5, t11);
			append(div5, div4);
			append(div4, p5);
			append(p5, t12);
			append(div5, t13);

			if (!mounted) {
				dispose = listen(div4, "click", click_handler_1);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*jobs*/ 1 && p0_class_value !== (p0_class_value = "jobs-items__item-title-icon " + /*job*/ ctx[8].icon + " svelte-cw52rj")) {
				attr(p0, "class", p0_class_value);
			}

			if (dirty & /*jobs*/ 1 && t1_value !== (t1_value = /*job*/ ctx[8].title + "")) set_data(t1, t1_value);
			if (dirty & /*jobs*/ 1 && t3_value !== (t3_value = /*job*/ ctx[8].description + "")) set_data(t3, t3_value);

			if (dirty & /*jobs*/ 1) {
				each_value_1 = /*job*/ ctx[8].requirements;
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = jobs_items_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = jobs_items_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div1, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}

			if (dirty & /*jobs*/ 1 && t9_value !== (t9_value = formatMoney(/*job*/ ctx[8].salary) + "")) set_data(t9, t9_value);

			if (dirty & /*jobs*/ 1 && t12_value !== (t12_value = (/*job*/ ctx[8].available
			? 'Отправиться на работу'
			: 'Недоступно') + "")) set_data(t12, t12_value);

			if (dirty & /*jobs*/ 1) {
				toggle_class(div4, "jobs-items__item-button--unavailable", !/*job*/ ctx[8].available);
			}
		},
		d(detaching) {
			if (detaching) detach(div5);
			destroy_each(each_blocks, detaching);
			mounted = false;
			dispose();
		}
	};
}

function jobs_items_index_svelte_create_fragment(ctx) {
	let div2;
	let p;
	let t1;
	let div0;
	let t2;
	let div1;
	let each_value_2 = FILTERS_TABS;
	let each_blocks_1 = [];

	for (let i = 0; i < each_value_2.length; i += 1) {
		each_blocks_1[i] = jobs_items_index_svelte_create_each_block_2(jobs_items_index_svelte_get_each_context_2(ctx, each_value_2, i));
	}

	let each_value = /*jobs*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = jobs_items_index_svelte_create_each_block(jobs_items_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div2 = internal_element("div");
			p = internal_element("p");
			p.textContent = "Поиск работы на Родине";
			t1 = space();
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].c();
			}

			t2 = space();
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(p, "class", "jobs-items__title svelte-cw52rj");
			attr(div0, "class", "jobs-items__filters svelte-cw52rj");
			attr(div1, "class", "jobs-items__item-wrapper svelte-cw52rj");
			attr(div2, "class", "jobs-items svelte-cw52rj");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, p);
			append(div2, t1);
			append(div2, div0);

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].m(div0, null);
			}

			append(div2, t2);
			append(div2, div1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*selectedFilterId, FILTERS_TABS, filterItems, SelectedIcon*/ 10) {
				each_value_2 = FILTERS_TABS;
				let i;

				for (i = 0; i < each_value_2.length; i += 1) {
					const child_ctx = jobs_items_index_svelte_get_each_context_2(ctx, each_value_2, i);

					if (each_blocks_1[i]) {
						each_blocks_1[i].p(child_ctx, dirty);
					} else {
						each_blocks_1[i] = jobs_items_index_svelte_create_each_block_2(child_ctx);
						each_blocks_1[i].c();
						each_blocks_1[i].m(div0, null);
					}
				}

				for (; i < each_blocks_1.length; i += 1) {
					each_blocks_1[i].d(1);
				}

				each_blocks_1.length = each_value_2.length;
			}

			if (dirty & /*jobs, buildPath, formatMoney*/ 5) {
				each_value = /*jobs*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = jobs_items_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = jobs_items_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div1, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div2);
			destroy_each(each_blocks_1, detaching);
			destroy_each(each_blocks, detaching);
		}
	};
}

function jobs_items_index_svelte_instance($$self, $$props, $$invalidate) {
	let jobs = [];
	let selectedFilterId = null;

	const initializeJobs = jobsDto => {
		$$invalidate(0, jobs = jobsDto);
	};

	const buildPath = jobId => {
		sendClientMessage('phone.jobs.getJob', jobId);
	};

	const filterItems = filterId => {
		$$invalidate(1, selectedFilterId = filterId);

		switch (filterId) {
			case FiltersTabsId.Available:
				$$invalidate(0, jobs = jobs.sort((a, b) => Number(b.available) - Number(a.available)));
				break;
			case FiltersTabsId.MostProfit:
				$$invalidate(0, jobs = jobs.sort((a, b) => b.salary - a.salary));
				break;
			case FiltersTabsId.IncreaseLevel:
				$$invalidate(0, jobs = jobs.sort((a, b) => a.level - b.level));
				break;
			case FiltersTabsId.DecreasingLevel:
				$$invalidate(0, jobs = jobs.sort((a, b) => b.level - a.level));
				break;
			default:
				break;
		}
	};

	const unregisterInitializeJobsEvent = registerEvent('event.phone.jobs.initialize.jobs', initializeJobs);

	onDestroy(() => {
		unregisterInitializeJobsEvent();
	});

	const click_handler = filter => filterItems(filter.id);
	const click_handler_1 = job => buildPath(job.id);
	return [jobs, selectedFilterId, buildPath, filterItems, click_handler, click_handler_1];
}

class Jobs_items extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, jobs_items_index_svelte_instance, jobs_items_index_svelte_create_fragment, safe_not_equal, {}, jobs_items_index_svelte_add_css);
	}
}

/* harmony default export */ const jobs_items_index_svelte = (Jobs_items);
;// CONCATENATED MODULE: ./src/views/phone/apps/jobs/index.svelte
/* src\views\phone\apps\jobs\index.svelte generated by Svelte v3.49.0 */





function jobs_index_svelte_add_css(target) {
	append_styles(target, "svelte-11qrekw", "@keyframes svelte-11qrekw-blinking{50%{opacity:0}}@keyframes svelte-11qrekw-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-11qrekw-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-11qrekw-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-11qrekw-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-11qrekw-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-11qrekw-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-11qrekw-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-11qrekw-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-11qrekw-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-11qrekw-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-11qrekw-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-11qrekw-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-11qrekw-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-11qrekw-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.jobs.svelte-11qrekw{position:relative;flex:1 1 auto;display:flex;flex-direction:column;align-items:stretch;overflow:hidden;height:100%;background:#FFFFFF}.jobs__back.svelte-11qrekw{position:absolute;display:flex;align-items:center;justify-content:center;transition:0.14s linear;transition-property:transform;top:calc(0.0130208333 * 100vw + 0px);left:calc(0.0130208333 * 100vw + 0px);width:calc(0.0260416667 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.jobs__back.svelte-11qrekw{top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs__back.svelte-11qrekw{top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs__back.svelte-11qrekw{top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.jobs__back.svelte-11qrekw{top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs__back.svelte-11qrekw{top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs__back.svelte-11qrekw{top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.jobs__back.svelte-11qrekw{top:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.jobs__back.svelte-11qrekw{left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs__back.svelte-11qrekw{left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs__back.svelte-11qrekw{left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.jobs__back.svelte-11qrekw{left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs__back.svelte-11qrekw{left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs__back.svelte-11qrekw{left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.jobs__back.svelte-11qrekw{left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.jobs__back.svelte-11qrekw{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs__back.svelte-11qrekw{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs__back.svelte-11qrekw{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.jobs__back.svelte-11qrekw{width:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs__back.svelte-11qrekw{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs__back.svelte-11qrekw{width:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.jobs__back.svelte-11qrekw{width:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.jobs__back.svelte-11qrekw{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs__back.svelte-11qrekw{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs__back.svelte-11qrekw{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.jobs__back.svelte-11qrekw{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs__back.svelte-11qrekw{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs__back.svelte-11qrekw{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.jobs__back.svelte-11qrekw{height:calc(0.0286458333 * 100vw + 0px)}}.jobs__back.svelte-11qrekw:hover{transform:scale(1.1)}.jobs__back-icon.svelte-11qrekw{color:#FFFFFF;font-size:calc(0.01875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.jobs__back-icon.svelte-11qrekw{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs__back-icon.svelte-11qrekw{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs__back-icon.svelte-11qrekw{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.jobs__back-icon.svelte-11qrekw{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs__back-icon.svelte-11qrekw{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs__back-icon.svelte-11qrekw{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.jobs__back-icon.svelte-11qrekw{font-size:calc(0.020625 * 100vw + 0px)}}.jobs__header.svelte-11qrekw{display:flex;justify-content:center;align-items:center;background-color:#212121;gap:calc(0.0052083333 * 100vw + 0px);border-radius:calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0260416667 * 100vw + 0px) calc(0.0260416667 * 100vw + 0px);height:calc(0.0520833333 * 100vw + 0px);min-height:calc(0.0520833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.jobs__header.svelte-11qrekw{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs__header.svelte-11qrekw{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs__header.svelte-11qrekw{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.jobs__header.svelte-11qrekw{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs__header.svelte-11qrekw{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs__header.svelte-11qrekw{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.jobs__header.svelte-11qrekw{gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.jobs__header.svelte-11qrekw{border-radius:calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0260416667 * 100vw + 0px) calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs__header.svelte-11qrekw{border-radius:calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0260416667 * 100vw + 0px) calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs__header.svelte-11qrekw{border-radius:calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0200520833 * 100vw + 0px) calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.jobs__header.svelte-11qrekw{border-radius:calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0286458333 * 100vw + 0px) calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs__header.svelte-11qrekw{border-radius:calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0182291667 * 100vw + 0px) calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs__header.svelte-11qrekw{border-radius:calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0234375 * 100vw + 0px) calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.jobs__header.svelte-11qrekw{border-radius:calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0286458333 * 100vw + 0px) calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.jobs__header.svelte-11qrekw{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs__header.svelte-11qrekw{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs__header.svelte-11qrekw{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.jobs__header.svelte-11qrekw{height:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs__header.svelte-11qrekw{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs__header.svelte-11qrekw{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.jobs__header.svelte-11qrekw{height:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.jobs__header.svelte-11qrekw{min-height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs__header.svelte-11qrekw{min-height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs__header.svelte-11qrekw{min-height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.jobs__header.svelte-11qrekw{min-height:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs__header.svelte-11qrekw{min-height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs__header.svelte-11qrekw{min-height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.jobs__header.svelte-11qrekw{min-height:calc(0.0572916667 * 100vw + 0px)}}.jobs__header-img.svelte-11qrekw{height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.jobs__header-img.svelte-11qrekw{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs__header-img.svelte-11qrekw{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs__header-img.svelte-11qrekw{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.jobs__header-img.svelte-11qrekw{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs__header-img.svelte-11qrekw{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs__header-img.svelte-11qrekw{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.jobs__header-img.svelte-11qrekw{height:calc(0.0286458333 * 100vw + 0px)}}.jobs__header-title.svelte-11qrekw{font-family:\"GothamPro-Medium\";color:#FFFFFF;text-transform:uppercase;font-size:calc(0.0145833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.jobs__header-title.svelte-11qrekw{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.jobs__header-title.svelte-11qrekw{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.jobs__header-title.svelte-11qrekw{font-size:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.jobs__header-title.svelte-11qrekw{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.jobs__header-title.svelte-11qrekw{font-size:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.jobs__header-title.svelte-11qrekw{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.jobs__header-title.svelte-11qrekw{font-size:calc(0.0160416667 * 100vw + 0px)}}");
}

function jobs_index_svelte_create_fragment(ctx) {
	let div2;
	let div0;
	let i;
	let t0;
	let div1;
	let img;
	let img_src_value;
	let t1;
	let p;
	let t3;
	let jobsitems;
	let current;
	let mounted;
	let dispose;
	jobsitems = new jobs_items_index_svelte({});

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div1 = internal_element("div");
			img = internal_element("img");
			t1 = space();
			p = internal_element("p");
			p.textContent = "jobs today";
			t3 = space();
			create_component(jobsitems.$$.fragment);
			attr(i, "class", "jobs__back-icon icon-arrow-left svelte-11qrekw");
			attr(div0, "class", "jobs__back svelte-11qrekw");
			attr(img, "class", "jobs__header-img svelte-11qrekw");
			if (!src_url_equal(img.src, img_src_value = jobs_img_logo_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "header-img");
			attr(p, "class", "jobs__header-title svelte-11qrekw");
			attr(div1, "class", "jobs__header svelte-11qrekw");
			attr(div2, "class", "jobs svelte-11qrekw");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div0, i);
			append(div2, t0);
			append(div2, div1);
			append(div1, img);
			append(div1, t1);
			append(div1, p);
			append(div2, t3);
			mount_component(jobsitems, div2, null);
			current = true;

			if (!mounted) {
				dispose = listen(i, "click", function () {
					if (internal_is_function(/*backToMainMenu*/ ctx[0])) /*backToMainMenu*/ ctx[0].apply(this, arguments);
				});

				mounted = true;
			}
		},
		p(new_ctx, [dirty]) {
			ctx = new_ctx;
		},
		i(local) {
			if (current) return;
			transition_in(jobsitems.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(jobsitems.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div2);
			destroy_component(jobsitems);
			mounted = false;
			dispose();
		}
	};
}

function jobs_index_svelte_instance($$self, $$props, $$invalidate) {
	let { backToMainMenu = () => {
		
	} } = $$props;

	$$self.$$set = $$props => {
		if ('backToMainMenu' in $$props) $$invalidate(0, backToMainMenu = $$props.backToMainMenu);
	};

	return [backToMainMenu];
}

class Jobs extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, jobs_index_svelte_instance, jobs_index_svelte_create_fragment, safe_not_equal, { backToMainMenu: 0 }, jobs_index_svelte_add_css);
	}
}

/* harmony default export */ const jobs_index_svelte = (Jobs);
;// CONCATENATED MODULE: ./src/views/phone/constants.js
var _MAP_APP_TO_ICON, _MAP_APP_TO_TITLE, _MAP_APP_TO_COMPONENT;
function phone_constants_typeof(o) { "@babel/helpers - typeof"; return phone_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, phone_constants_typeof(o); }
function phone_constants_defineProperty(e, r, t) { return (r = phone_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function phone_constants_toPropertyKey(t) { var i = phone_constants_toPrimitive(t, "string"); return "symbol" == phone_constants_typeof(i) ? i : i + ""; }
function phone_constants_toPrimitive(t, r) { if ("object" != phone_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != phone_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }















































var Apps = {
  MainMenu: '',
  Call: 'call',
  Settings: 'settings',
  Sms: 'sms',
  Camera: 'camera',
  RodinaMaps: 'rodina-maps',
  TaxiRodnoe: 'taxi-rodnoe',
  Jobs: 'jobs',
  Report: 'report',
  Pumping: 'pumping',
  Job: 'job',
  Donate: 'donate',
  Quests: 'quests',
  Promo: 'promo',
  Fight: 'fight',
  Business: 'business',
  Family: 'family',
  Garage: 'garage',
  Punishment: 'punishment',
  Sim: 'sim',
  Referral: 'referral',
  Carsharing: 'carsharing',
  DdailyReward: 'daily-reward',
  Lobby: 'lobby',
  Music: 'music',
  BlackList: 'blacklist',
  Workers: 'workers',
  CaptureRating: 'capture-rating',
  FractionRating: 'fraction-rating',
  Auction: 'auction',
  CrimeProtection: 'crime-protection',
  Ducktap: 'ducktap',
  Contracts: 'contracts',
  Videocamera: 'videocamera',
  House: 'house',
  Mortgage: 'mortgage',
  CarDelivery: 'car-delivery',
  Startup: 'startup',
  Neighbors: 'neighbors'
};
var PINNED_APPS = [Apps.Call, Apps.Sms, Apps.Settings, Apps.Camera];
var APP_LIST = [Apps.Ducktap, Apps.RodinaMaps, Apps.TaxiRodnoe, Apps.Jobs, Apps.Music, Apps.Quests, Apps.Mortgage, Apps.DdailyReward, Apps.Report, Apps.Pumping, Apps.Contracts, Apps.Donate, Apps.Auction, Apps.Promo, Apps.House, Apps.Business, Apps.Family, Apps.Garage, Apps.Punishment, Apps.Sim, Apps.Referral, Apps.FractionRating, Apps.Lobby, Apps.BlackList, Apps.Workers, Apps.CrimeProtection, Apps.Job, Apps.Videocamera, Apps.CaptureRating, Apps.Fight, Apps.CarDelivery, Apps.Startup, Apps.Neighbors];
var MAP_APP_TO_ICON = (_MAP_APP_TO_ICON = {}, phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(_MAP_APP_TO_ICON, Apps.Call, call_namespaceObject), Apps.Settings, settings_namespaceObject), Apps.Sms, sms_namespaceObject), Apps.Camera, icons_camera_namespaceObject), Apps.RodinaMaps, nav_namespaceObject), Apps.TaxiRodnoe, taxi_namespaceObject), Apps.Jobs, rjobs_namespaceObject), Apps.Auction, auction_namespaceObject), Apps.Report, report_namespaceObject), Apps.Pumping, pumping_namespaceObject), phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(_MAP_APP_TO_ICON, Apps.CaptureRating, capture_rating_namespaceObject), Apps.FractionRating, fraction_rating_namespaceObject), Apps.Job, job_namespaceObject), Apps.Donate, donate_namespaceObject), Apps.Quests, question_namespaceObject), Apps.Promo, promo_namespaceObject), Apps.Fight, fight_namespaceObject), Apps.Business, business_namespaceObject), Apps.Family, family_namespaceObject), Apps.Garage, garage_namespaceObject), phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(_MAP_APP_TO_ICON, Apps.Punishment, punishments_namespaceObject), Apps.Sim, sim_namespaceObject), Apps.Referral, referrals_namespaceObject), Apps.DdailyReward, daily_namespaceObject), Apps.Lobby, lobby_namespaceObject), Apps.Music, music_namespaceObject), Apps.BlackList, blacklist_namespaceObject), Apps.Workers, workers_namespaceObject), Apps.CrimeProtection, crime_protection_namespaceObject), Apps.Ducktap, ducktap_namespaceObject), phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(_MAP_APP_TO_ICON, Apps.Contracts, contracts_namespaceObject), Apps.Videocamera, videocamera_namespaceObject), Apps.House, house_namespaceObject), Apps.Mortgage, mortgage_namespaceObject), Apps.CarDelivery, car_delivery_namespaceObject), Apps.Startup, startup_namespaceObject), Apps.Neighbors, neighbors_namespaceObject));
var MAP_APP_TO_TITLE = (_MAP_APP_TO_TITLE = {}, phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(_MAP_APP_TO_TITLE, Apps.Call, 'Звонок'), Apps.Settings, 'Настройки'), Apps.Sms, 'Сообщения'), Apps.Camera, 'Камера'), Apps.RodinaMaps, 'GPS'), Apps.TaxiRodnoe, 'Такси Родное'), Apps.Jobs, 'Работы'), Apps.Report, 'Репорт'), Apps.Pumping, 'Навыки'), Apps.Job, 'Вакансии'), phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(_MAP_APP_TO_TITLE, Apps.Donate, 'Донат'), Apps.Quests, 'Задания'), Apps.Promo, 'Промо'), Apps.Fight, 'Стиль боя'), Apps.Business, 'Бизнес'), Apps.Family, 'Семья'), Apps.Garage, 'Гараж'), Apps.Punishment, 'Наказания'), Apps.Sim, 'Сим'), Apps.Referral, 'Рефералы'), phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(_MAP_APP_TO_TITLE, Apps.DdailyReward, 'Ежедневные награды'), Apps.Lobby, 'Лобби'), Apps.Music, 'Музыка'), Apps.BlackList, 'Черный список'), Apps.Workers, 'Мои работники'), Apps.CaptureRating, 'Рейтинг сражений'), Apps.FractionRating, 'Рейтинг во фракции'), Apps.Auction, 'Аукцион на имущество'), Apps.CrimeProtection, 'Список должников'), Apps.Ducktap, 'Ducktap'), phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(_MAP_APP_TO_TITLE, Apps.Contracts, 'Достижения'), Apps.Videocamera, 'Телетрансляция'), Apps.House, 'Дом'), Apps.Mortgage, 'Ипотека'), Apps.CarDelivery, 'Трезвый водитель'), Apps.Startup, 'Мои стартапы'), Apps.Neighbors, 'Как достать соседа'));
var MAP_APP_TO_COMPONENT = (_MAP_APP_TO_COMPONENT = {}, phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(phone_constants_defineProperty(_MAP_APP_TO_COMPONENT, Apps.Call, call_app_index_svelte), Apps.Sms, messenger_app_index_svelte), Apps.TaxiRodnoe, taxi_rodnoe_index_svelte), Apps.Jobs, jobs_index_svelte), Apps.RodinaMaps, rodina_maps_index_svelte), Apps.Family, family_index_svelte), Apps.Music, muzify_index_svelte), Apps.CaptureRating, rating_index_svelte), Apps.FractionRating, rating_index_svelte), Apps.Pumping, upgrades_index_svelte), phone_constants_defineProperty(_MAP_APP_TO_COMPONENT, Apps.Ducktap, ducktap_index_svelte));
;// CONCATENATED MODULE: ./src/views/phone/store.js

var selectedApp = writable('');
;// CONCATENATED MODULE: ./src/views/phone/components/main-menu/index.svelte
/* src\views\phone\components\main-menu\index.svelte generated by Svelte v3.49.0 */











// import { PINNED_APP_MOCK, APPS_MOCK } from '../../mock';


function main_menu_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[7] = list[i];
	return child_ctx;
}

function main_menu_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[7] = list[i];
	return child_ctx;
}

// (50:12) {#each APP_LIST as app}
function main_menu_index_svelte_create_each_block_1(ctx) {
	let div;
	let img;
	let img_src_value;
	let img_alt_value;
	let t0;
	let p;
	let t1_value = MAP_APP_TO_TITLE[/*app*/ ctx[7]] + "";
	let t1;
	let t2;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[2](/*app*/ ctx[7]);
	}

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(img, "class", "main-menu__app-icon");
			if (!src_url_equal(img.src, img_src_value = MAP_APP_TO_ICON[/*app*/ ctx[7]])) attr(img, "src", img_src_value);
			attr(img, "alt", img_alt_value = /*app*/ ctx[7]);
			attr(img, "draggable", "false");
			attr(p, "class", "main-menu__app-title");
			attr(div, "class", "main-menu__app-grid-item");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
			append(div, t0);
			append(div, p);
			append(p, t1);
			append(div, t2);

			if (!mounted) {
				dispose = listen(div, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (59:8) {#each PINNED_APPS as app}
function main_menu_index_svelte_create_each_block(ctx) {
	let img;
	let img_src_value;
	let img_alt_value;
	let mounted;
	let dispose;

	function click_handler_1() {
		return /*click_handler_1*/ ctx[3](/*app*/ ctx[7]);
	}

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "main-menu__pinned-app");
			if (!src_url_equal(img.src, img_src_value = MAP_APP_TO_ICON[/*app*/ ctx[7]])) attr(img, "src", img_src_value);
			attr(img, "alt", img_alt_value = /*app*/ ctx[7]);
			attr(img, "draggable", "false");
		},
		m(target, anchor) {
			insert(target, img, anchor);

			if (!mounted) {
				dispose = listen(img, "click", click_handler_1);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
		},
		d(detaching) {
			if (detaching) detach(img);
			mounted = false;
			dispose();
		}
	};
}

function components_main_menu_index_svelte_create_fragment(ctx) {
	let div5;
	let div1;
	let div0;
	let t1;
	let p0;
	let t3;
	let p1;
	let t4;
	let t5;
	let div3;
	let div2;
	let t6;
	let div4;
	let each_value_1 = APP_LIST;
	let each_blocks_1 = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks_1[i] = main_menu_index_svelte_create_each_block_1(main_menu_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	let each_value = PINNED_APPS;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = main_menu_index_svelte_create_each_block(main_menu_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div5 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = `${moment_default()().format('HH:mm')}`;
			t1 = space();
			p0 = internal_element("p");
			p0.textContent = "Местоположение";
			t3 = space();
			p1 = internal_element("p");
			t4 = internal_text(/*location*/ ctx[0]);
			t5 = space();
			div3 = internal_element("div");
			div2 = internal_element("div");

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].c();
			}

			t6 = space();
			div4 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div0, "class", "main-menu__time");
			attr(p0, "class", "main-menu__location-caption");
			attr(p1, "class", "main-menu__location-value");
			attr(div1, "class", "main-menu__top-bar");
			attr(div2, "class", "main-menu__app-grid");
			attr(div3, "class", "main-menu__grid-wrapper");
			attr(div4, "class", "main-menu__pinned-apps");
			attr(div5, "class", "main-menu");
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			append(div5, div1);
			append(div1, div0);
			append(div1, t1);
			append(div1, p0);
			append(div1, t3);
			append(div1, p1);
			append(p1, t4);
			append(div5, t5);
			append(div5, div3);
			append(div3, div2);

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].m(div2, null);
			}

			append(div5, t6);
			append(div5, div4);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div4, null);
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*location*/ 1) set_data(t4, /*location*/ ctx[0]);

			if (dirty & /*selectApp, APP_LIST, MAP_APP_TO_TITLE, MAP_APP_TO_ICON*/ 2) {
				each_value_1 = APP_LIST;
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = main_menu_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks_1[i]) {
						each_blocks_1[i].p(child_ctx, dirty);
					} else {
						each_blocks_1[i] = main_menu_index_svelte_create_each_block_1(child_ctx);
						each_blocks_1[i].c();
						each_blocks_1[i].m(div2, null);
					}
				}

				for (; i < each_blocks_1.length; i += 1) {
					each_blocks_1[i].d(1);
				}

				each_blocks_1.length = each_value_1.length;
			}

			if (dirty & /*MAP_APP_TO_ICON, PINNED_APPS, selectApp*/ 2) {
				each_value = PINNED_APPS;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = main_menu_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = main_menu_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div4, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div5);
			destroy_each(each_blocks_1, detaching);
			destroy_each(each_blocks, detaching);
		}
	};
}

function components_main_menu_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedApp;
	component_subscribe($$self, selectedApp, $$value => $$invalidate(4, $selectedApp = $$value));
	let location = '';

	const selectApp = app => {
		sendClientMessage('phone.launchApp', app);

		if (Object.keys(MAP_APP_TO_COMPONENT).includes(app)) {
			set_store_value(selectedApp, $selectedApp = app, $selectedApp);
		} else {
			set_store_value(selectedApp, $selectedApp = Apps.MainMenu, $selectedApp);
		}
	};

	const setLocation = updatedLocation => {
		$$invalidate(0, location = updatedLocation);
	};

	const unregisterSetLocation = registerEvent('event.phone.setLocation', setLocation);

	onMount(() => {
		sendClientMessage('phone.loadLocation');
	});

	onDestroy(() => {
		unregisterSetLocation();
	});

	const click_handler = app => selectApp(app);
	const click_handler_1 = app => selectApp(app);
	return [location, selectApp, click_handler, click_handler_1];
}

class index_svelte_Main_menu extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, components_main_menu_index_svelte_instance, components_main_menu_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const components_main_menu_index_svelte = (index_svelte_Main_menu);
;// CONCATENATED MODULE: ./src/views/phone/index.svelte
/* src\views\phone\index.svelte generated by Svelte v3.49.0 */











function phone_index_svelte_create_else_block(ctx) {
	let switch_instance;
	let switch_instance_anchor;
	let current;
	var switch_value = MAP_APP_TO_COMPONENT[/*$selectedApp*/ ctx[0]];

	function switch_props(ctx) {
		return {
			props: {
				backToMainMenu: /*backToMainMenu*/ ctx[1]
			}
		};
	}

	if (switch_value) {
		switch_instance = new switch_value(switch_props(ctx));
	}

	return {
		c() {
			if (switch_instance) create_component(switch_instance.$$.fragment);
			switch_instance_anchor = empty();
		},
		m(target, anchor) {
			if (switch_instance) {
				mount_component(switch_instance, target, anchor);
			}

			insert(target, switch_instance_anchor, anchor);
			current = true;
		},
		p(ctx, dirty) {
			if (switch_value !== (switch_value = MAP_APP_TO_COMPONENT[/*$selectedApp*/ ctx[0]])) {
				if (switch_instance) {
					group_outros();
					const old_component = switch_instance;

					transition_out(old_component.$$.fragment, 1, 0, () => {
						destroy_component(old_component, 1);
					});

					check_outros();
				}

				if (switch_value) {
					switch_instance = new switch_value(switch_props(ctx));
					create_component(switch_instance.$$.fragment);
					transition_in(switch_instance.$$.fragment, 1);
					mount_component(switch_instance, switch_instance_anchor.parentNode, switch_instance_anchor);
				} else {
					switch_instance = null;
				}
			} else if (switch_value) {
				
			}
		},
		i(local) {
			if (current) return;
			if (switch_instance) transition_in(switch_instance.$$.fragment, local);
			current = true;
		},
		o(local) {
			if (switch_instance) transition_out(switch_instance.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(switch_instance_anchor);
			if (switch_instance) destroy_component(switch_instance, detaching);
		}
	};
}

// (33:4) {#if isEmpty($selectedApp)}
function phone_index_svelte_create_if_block(ctx) {
	let mainmenu;
	let current;
	mainmenu = new components_main_menu_index_svelte({});

	return {
		c() {
			create_component(mainmenu.$$.fragment);
		},
		m(target, anchor) {
			mount_component(mainmenu, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(mainmenu.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(mainmenu.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(mainmenu, detaching);
		}
	};
}

function phone_index_svelte_create_fragment(ctx) {
	let div;
	let show_if;
	let current_block_type_index;
	let if_block;
	let current;
	const if_block_creators = [phone_index_svelte_create_if_block, phone_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (dirty & /*$selectedApp*/ 1) show_if = null;
		if (show_if == null) show_if = !!(0,lodash.isEmpty)(/*$selectedApp*/ ctx[0]);
		if (show_if) return 0;
		return 1;
	}

	current_block_type_index = select_block_type(ctx, -1);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div = internal_element("div");
			if_block.c();
			attr(div, "class", "phone");
			toggle_class(div, "phone--no-bg", !(0,lodash.isEmpty)(/*$selectedApp*/ ctx[0]));
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if_blocks[current_block_type_index].m(div, null);
			current = true;
		},
		p(ctx, [dirty]) {
			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(div, null);
			}

			if (dirty & /*isEmpty, $selectedApp*/ 1) {
				toggle_class(div, "phone--no-bg", !(0,lodash.isEmpty)(/*$selectedApp*/ ctx[0]));
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if_blocks[current_block_type_index].d();
		}
	};
}

function phone_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedApp;
	component_subscribe($$self, selectedApp, $$value => $$invalidate(0, $selectedApp = $$value));

	const backToMainMenu = () => {
		set_store_value(selectedApp, $selectedApp = '', $selectedApp);
	};

	const selectApp = app => {
		sendClientMessage('phone.launchApp', app);
		set_store_value(selectedApp, $selectedApp = app, $selectedApp);
	};

	const unregisterSelectApp = registerEvent('event.phone.selectApp', selectApp);

	onMount(() => {
		sendClientMessage('phone.renewApp', $selectedApp);
	});

	onDestroy(() => {
		unregisterSelectApp();
	});

	return [$selectedApp, backToMainMenu];
}

class Phone extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, phone_index_svelte_instance, phone_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const phone_index_svelte = (Phone);
;// CONCATENATED MODULE: ./src/components/sidebar-menu/constants.js
function sidebar_menu_constants_typeof(o) { "@babel/helpers - typeof"; return sidebar_menu_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, sidebar_menu_constants_typeof(o); }
function sidebar_menu_constants_defineProperty(e, r, t) { return (r = sidebar_menu_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function sidebar_menu_constants_toPropertyKey(t) { var i = sidebar_menu_constants_toPrimitive(t, "string"); return "symbol" == sidebar_menu_constants_typeof(i) ? i : i + ""; }
function sidebar_menu_constants_toPrimitive(t, r) { if ("object" != sidebar_menu_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != sidebar_menu_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }

var MENU_IDS = {
  Stats: 'stats',
  Phone: 'phone',
  Inventory: 'inventory',
  Help: 'help'
};
var MAP_MENU_ID_TO_ICON = sidebar_menu_constants_defineProperty(sidebar_menu_constants_defineProperty(sidebar_menu_constants_defineProperty(sidebar_menu_constants_defineProperty({}, MENU_IDS.Stats, 'icon-stats'), MENU_IDS.Phone, 'icon-phone'), MENU_IDS.Inventory, 'icon-backpack'), MENU_IDS.Help, 'icon-help');
var MAP_MENU_ID_TO_TITLE = sidebar_menu_constants_defineProperty(sidebar_menu_constants_defineProperty(sidebar_menu_constants_defineProperty(sidebar_menu_constants_defineProperty({}, MENU_IDS.Stats, 'Статистика'), MENU_IDS.Phone, 'Телефон'), MENU_IDS.Inventory, 'Инвентарь'), MENU_IDS.Help, 'Помощь');
var MAP_MENU_ID_TO_COMPONENT = sidebar_menu_constants_defineProperty({}, MENU_IDS.Phone, phone_index_svelte);
;// CONCATENATED MODULE: ./src/components/sidebar-menu/components/menu-item/index.svelte
/* src\components\sidebar-menu\components\menu-item\index.svelte generated by Svelte v3.49.0 */





function menu_item_index_svelte_create_fragment(ctx) {
	let div;
	let i;
	let i_class_value;
	let t0;
	let span;
	let t1_value = MAP_MENU_ID_TO_TITLE[/*menuItemId*/ ctx[0]] + "";
	let t1;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			i = internal_element("i");
			t0 = space();
			span = internal_element("span");
			t1 = internal_text(t1_value);
			attr(i, "class", i_class_value = "sidebar-menu-item__icon " + MAP_MENU_ID_TO_ICON[/*menuItemId*/ ctx[0]]);
			attr(span, "class", "sidebar-menu-item__title");
			attr(div, "class", "sidebar-menu-item");
			toggle_class(div, "sidebar-menu-item--active", /*active*/ ctx[1]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, i);
			append(div, t0);
			append(div, span);
			append(span, t1);

			if (!mounted) {
				dispose = listen(div, "click", function () {
					if (internal_is_function(/*onSelect*/ ctx[2])) /*onSelect*/ ctx[2].apply(this, arguments);
				});

				mounted = true;
			}
		},
		p(new_ctx, [dirty]) {
			ctx = new_ctx;

			if (dirty & /*menuItemId*/ 1 && i_class_value !== (i_class_value = "sidebar-menu-item__icon " + MAP_MENU_ID_TO_ICON[/*menuItemId*/ ctx[0]])) {
				attr(i, "class", i_class_value);
			}

			if (dirty & /*menuItemId*/ 1 && t1_value !== (t1_value = MAP_MENU_ID_TO_TITLE[/*menuItemId*/ ctx[0]] + "")) set_data(t1, t1_value);

			if (dirty & /*active*/ 2) {
				toggle_class(div, "sidebar-menu-item--active", /*active*/ ctx[1]);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

function menu_item_index_svelte_instance($$self, $$props, $$invalidate) {
	let { menuItemId = '' } = $$props;
	let { active = false } = $$props;

	let { onSelect = () => {
		
	} } = $$props;

	$$self.$$set = $$props => {
		if ('menuItemId' in $$props) $$invalidate(0, menuItemId = $$props.menuItemId);
		if ('active' in $$props) $$invalidate(1, active = $$props.active);
		if ('onSelect' in $$props) $$invalidate(2, onSelect = $$props.onSelect);
	};

	return [menuItemId, active, onSelect];
}

class Menu_item extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, menu_item_index_svelte_instance, menu_item_index_svelte_create_fragment, safe_not_equal, { menuItemId: 0, active: 1, onSelect: 2 });
	}
}

/* harmony default export */ const menu_item_index_svelte = (Menu_item);
;// CONCATENATED MODULE: ./src/components/sidebar-menu/index.svelte
/* src\components\sidebar-menu\index.svelte generated by Svelte v3.49.0 */











function sidebar_menu_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[11] = list[i];
	return child_ctx;
}

// (58:8) {#each Object.values(MENU_IDS) as menuItemId}
function sidebar_menu_index_svelte_create_each_block(ctx) {
	let menuitem;
	let current;

	function func_1() {
		return /*func_1*/ ctx[6](/*menuItemId*/ ctx[11]);
	}

	menuitem = new menu_item_index_svelte({
			props: {
				menuItemId: /*menuItemId*/ ctx[11],
				onSelect: func_1,
				active: /*selectedMenuItemId*/ ctx[0] === /*menuItemId*/ ctx[11]
			}
		});

	return {
		c() {
			create_component(menuitem.$$.fragment);
		},
		m(target, anchor) {
			mount_component(menuitem, target, anchor);
			current = true;
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			const menuitem_changes = {};
			if (dirty & /*selectedMenuItemId*/ 1) menuitem_changes.active = /*selectedMenuItemId*/ ctx[0] === /*menuItemId*/ ctx[11];
			menuitem.$set(menuitem_changes);
		},
		i(local) {
			if (current) return;
			transition_in(menuitem.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(menuitem.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(menuitem, detaching);
		}
	};
}

// (70:8) {#if !isEmpty(selectedMenuItemId)}
function sidebar_menu_index_svelte_create_if_block(ctx) {
	let switch_instance;
	let switch_instance_anchor;
	let current;
	var switch_value = MAP_MENU_ID_TO_COMPONENT[/*selectedMenuItemId*/ ctx[0]];

	function switch_props(ctx) {
		return {};
	}

	if (switch_value) {
		switch_instance = new switch_value(switch_props(ctx));
	}

	return {
		c() {
			if (switch_instance) create_component(switch_instance.$$.fragment);
			switch_instance_anchor = empty();
		},
		m(target, anchor) {
			if (switch_instance) {
				mount_component(switch_instance, target, anchor);
			}

			insert(target, switch_instance_anchor, anchor);
			current = true;
		},
		p(ctx, dirty) {
			if (switch_value !== (switch_value = MAP_MENU_ID_TO_COMPONENT[/*selectedMenuItemId*/ ctx[0]])) {
				if (switch_instance) {
					group_outros();
					const old_component = switch_instance;

					transition_out(old_component.$$.fragment, 1, 0, () => {
						destroy_component(old_component, 1);
					});

					check_outros();
				}

				if (switch_value) {
					switch_instance = new switch_value(switch_props(ctx));
					create_component(switch_instance.$$.fragment);
					transition_in(switch_instance.$$.fragment, 1);
					mount_component(switch_instance, switch_instance_anchor.parentNode, switch_instance_anchor);
				} else {
					switch_instance = null;
				}
			} else if (switch_value) {
				
			}
		},
		i(local) {
			if (current) return;
			if (switch_instance) transition_in(switch_instance.$$.fragment, local);
			current = true;
		},
		o(local) {
			if (switch_instance) transition_out(switch_instance.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(switch_instance_anchor);
			if (switch_instance) destroy_component(switch_instance, detaching);
		}
	};
}

function sidebar_menu_index_svelte_create_fragment(ctx) {
	let div3;
	let div1;
	let div0;
	let exitbutton;
	let t0;
	let t1;
	let div2;
	let show_if = !(0,lodash.isEmpty)(/*selectedMenuItemId*/ ctx[0]);
	let div2_class_value;
	let current;

	exitbutton = new exit_button_index_svelte({
			props: { onClick: /*func*/ ctx[5], title: "" }
		});

	let each_value = Object.values(MENU_IDS);
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = sidebar_menu_index_svelte_create_each_block(sidebar_menu_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	let if_block = show_if && sidebar_menu_index_svelte_create_if_block(ctx);

	return {
		c() {
			div3 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");
			create_component(exitbutton.$$.fragment);
			t0 = space();

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t1 = space();
			div2 = internal_element("div");
			if (if_block) if_block.c();
			attr(div0, "class", "sidebar-menu__close-button");
			attr(div1, "class", "sidebar-menu__menu");
			attr(div2, "class", div2_class_value = "sidebar-menu__content sidebar-menu__content--" + /*selectedMenuItemId*/ ctx[0] + " sidebar-menu__content--fullscreen");
			toggle_class(div2, "sidebar-menu__content--fullscreen", /*fullScreenApp*/ ctx[2]);
			attr(div3, "class", "sidebar-menu");
			toggle_class(div3, "sidebar-menu--hidden", !/*visible*/ ctx[1]);
			toggle_class(div3, "sidebar-menu__content--fullscreen", /*fullScreenApp*/ ctx[2]);
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div1);
			append(div1, div0);
			mount_component(exitbutton, div0, null);
			append(div1, t0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}

			append(div3, t1);
			append(div3, div2);
			if (if_block) if_block.m(div2, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*Object, MENU_IDS, selectMenuItem, selectedMenuItemId*/ 9) {
				each_value = Object.values(MENU_IDS);
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = sidebar_menu_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = sidebar_menu_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div1, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}

			if (dirty & /*selectedMenuItemId*/ 1) show_if = !(0,lodash.isEmpty)(/*selectedMenuItemId*/ ctx[0]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*selectedMenuItemId*/ 1) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = sidebar_menu_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(div2, null);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}

			if (!current || dirty & /*selectedMenuItemId*/ 1 && div2_class_value !== (div2_class_value = "sidebar-menu__content sidebar-menu__content--" + /*selectedMenuItemId*/ ctx[0] + " sidebar-menu__content--fullscreen")) {
				attr(div2, "class", div2_class_value);
			}

			if (dirty & /*selectedMenuItemId, fullScreenApp*/ 5) {
				toggle_class(div2, "sidebar-menu__content--fullscreen", /*fullScreenApp*/ ctx[2]);
			}

			if (dirty & /*visible*/ 2) {
				toggle_class(div3, "sidebar-menu--hidden", !/*visible*/ ctx[1]);
			}

			if (dirty & /*fullScreenApp*/ 4) {
				toggle_class(div3, "sidebar-menu__content--fullscreen", /*fullScreenApp*/ ctx[2]);
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div3);
			destroy_component(exitbutton);
			destroy_each(each_blocks, detaching);
			if (if_block) if_block.d();
		}
	};
}

function sidebar_menu_index_svelte_instance($$self, $$props, $$invalidate) {
	let selectedMenuItemId = '';
	let visible = false;
	let fullScreenApp = false;

	const selectMenuItem = menuItemId => {
		if (menuItemId === selectedMenuItemId) {
			window.executeEvent('event.phone.selectApp', '[""]');
		}

		$$invalidate(0, selectedMenuItemId = menuItemId);
		sendClientMessage('onSidebarMenuItemSelected', menuItemId);
	};

	const close = event => {
		if (!(0,lodash.isNil)(event)) {
			sendClientMessage('sidebar.close');
		}
	};

	const updateVisibility = value => {
		if (!value) {
			sendClientMessage('sidebar.hidden');
		}

		$$invalidate(1, visible = value);
	};

	const unregisterVisibility = registerEvent('event.sideBar.updateVisibility', updateVisibility);

	const unregisterFullScreen = registerEvent('event.sideBar.fullScreenApp', value => {
		$$invalidate(2, fullScreenApp = value);
	});

	const unregisterSelectMenuId = registerEvent('event.sideBar.selectMenuItemId', selectMenuItem);

	onDestroy(() => {
		unregisterVisibility();
		unregisterFullScreen();
		unregisterSelectMenuId();
	});

	const func = event => {
		close(event);
	};

	const func_1 = menuItemId => selectMenuItem(menuItemId);

	return [
		selectedMenuItemId,
		visible,
		fullScreenApp,
		selectMenuItem,
		close,
		func,
		func_1
	];
}

class Sidebar_menu extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, sidebar_menu_index_svelte_instance, sidebar_menu_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const sidebar_menu_index_svelte = (Sidebar_menu);
;// CONCATENATED MODULE: ./src/views/hitman/img/logo.svg
const hitman_img_logo_namespaceObject = __webpack_require__.p + "assets/4c4084074239b43a9630.svg";
;// CONCATENATED MODULE: ./src/views/hitman/menu/img/hitman.png
const hitman_namespaceObject = __webpack_require__.p + "assets/7f07bc391348d5fa31f4.webp";
;// CONCATENATED MODULE: ./src/views/hitman/menu/img/hitman-contracts.png
const hitman_contracts_namespaceObject = __webpack_require__.p + "assets/a04f66fb5b4b694b33ce.webp";
;// CONCATENATED MODULE: ./src/views/hitman/menu/img/name-logo.svg
const name_logo_namespaceObject = __webpack_require__.p + "assets/177f00478b296be3116b.svg";
;// CONCATENATED MODULE: ./src/views/hitman/img/level-logo.svg
const level_logo_namespaceObject = __webpack_require__.p + "assets/20e9611e09d20b20d473.svg";
;// CONCATENATED MODULE: ./src/views/hitman/menu/img/button-rating-background.png
const button_rating_background_namespaceObject = __webpack_require__.p + "assets/fbab03e16f8f836e702e.webp";
;// CONCATENATED MODULE: ./src/views/hitman/menu/img/button-rating-logo.svg
const button_rating_logo_namespaceObject = __webpack_require__.p + "assets/ed2fe92858c81e67cbe7.svg";
;// CONCATENATED MODULE: ./src/views/hitman/menu/img/button-order-background.png
const button_order_background_namespaceObject = __webpack_require__.p + "assets/d98620c603ad659de14d.webp";
;// CONCATENATED MODULE: ./src/views/hitman/menu/img/button-order-logo.svg
const button_order_logo_namespaceObject = __webpack_require__.p + "assets/e37e21ba4223dfd6086f.svg";
;// CONCATENATED MODULE: ./src/views/hitman/menu/index.svelte
/* src\views\hitman\menu\index.svelte generated by Svelte v3.49.0 */











// import { PLAYER_STATS } from './mocks';











function hitman_menu_index_svelte_add_css(target) {
	append_styles(target, "svelte-10g271g", "@keyframes svelte-10g271g-blinking{50%{opacity:0}}@keyframes svelte-10g271g-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-10g271g-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-10g271g-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-10g271g-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-10g271g-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-10g271g-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-10g271g-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-10g271g-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-10g271g-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-10g271g-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-10g271g-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-10g271g-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-10g271g-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-10g271g-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.hitman-menu.svelte-10g271g{display:flex;align-items:center;flex-direction:column;width:100vw;height:100vh;background:rgba(54, 61, 71, 0.75)}.hitman-menu__title.svelte-10g271g{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.01875 * 100vw + 0px);margin-top:calc(0.0447916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__title.svelte-10g271g{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__title.svelte-10g271g{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__title.svelte-10g271g{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__title.svelte-10g271g{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__title.svelte-10g271g{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__title.svelte-10g271g{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__title.svelte-10g271g{font-size:calc(0.020625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__title.svelte-10g271g{margin-top:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__title.svelte-10g271g{margin-top:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__title.svelte-10g271g{margin-top:calc(0.0344895833 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__title.svelte-10g271g{margin-top:calc(0.0492708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__title.svelte-10g271g{margin-top:calc(0.0313541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__title.svelte-10g271g{margin-top:calc(0.0403125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__title.svelte-10g271g{margin-top:calc(0.0492708333 * 100vw + 0px)}}.hitman-menu__logo.svelte-10g271g{position:absolute;display:flex;align-items:center;top:calc(0.0416666667 * 100vw + 0px);left:calc(0.03125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__logo.svelte-10g271g{top:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__logo.svelte-10g271g{top:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__logo.svelte-10g271g{top:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__logo.svelte-10g271g{top:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__logo.svelte-10g271g{top:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__logo.svelte-10g271g{top:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__logo.svelte-10g271g{top:calc(0.0458333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__logo.svelte-10g271g{left:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__logo.svelte-10g271g{left:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__logo.svelte-10g271g{left:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__logo.svelte-10g271g{left:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__logo.svelte-10g271g{left:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__logo.svelte-10g271g{left:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__logo.svelte-10g271g{left:calc(0.034375 * 100vw + 0px)}}.hitman-menu__logo-icon.svelte-10g271g{height:calc(0.0390625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__logo-icon.svelte-10g271g{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__logo-icon.svelte-10g271g{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__logo-icon.svelte-10g271g{height:calc(0.030078125 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__logo-icon.svelte-10g271g{height:calc(0.04296875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__logo-icon.svelte-10g271g{height:calc(0.02734375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__logo-icon.svelte-10g271g{height:calc(0.03515625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__logo-icon.svelte-10g271g{height:calc(0.04296875 * 100vw + 0px)}}.hitman-menu__logo-title.svelte-10g271g{color:#FFFFFF;font-family:\"GothamPro-Bold\";padding-left:calc(0.0130208333 * 100vw + 0px);width:calc(0.1041666667 * 100vw + 0px);line-height:calc(0.0098958333 * 100vw + 0px);font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__logo-title.svelte-10g271g{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__logo-title.svelte-10g271g{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__logo-title.svelte-10g271g{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__logo-title.svelte-10g271g{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__logo-title.svelte-10g271g{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__logo-title.svelte-10g271g{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__logo-title.svelte-10g271g{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__logo-title.svelte-10g271g{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__logo-title.svelte-10g271g{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__logo-title.svelte-10g271g{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__logo-title.svelte-10g271g{width:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__logo-title.svelte-10g271g{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__logo-title.svelte-10g271g{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__logo-title.svelte-10g271g{width:calc(0.1145833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__logo-title.svelte-10g271g{line-height:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__logo-title.svelte-10g271g{line-height:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__logo-title.svelte-10g271g{line-height:calc(0.0076197917 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__logo-title.svelte-10g271g{line-height:calc(0.0108854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__logo-title.svelte-10g271g{line-height:calc(0.0069270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__logo-title.svelte-10g271g{line-height:calc(0.00890625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__logo-title.svelte-10g271g{line-height:calc(0.0108854167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__logo-title.svelte-10g271g{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__logo-title.svelte-10g271g{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__logo-title.svelte-10g271g{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__logo-title.svelte-10g271g{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__logo-title.svelte-10g271g{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__logo-title.svelte-10g271g{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__logo-title.svelte-10g271g{font-size:calc(0.0114583333 * 100vw + 0px)}}.hitman-menu__hitman-img.svelte-10g271g{position:absolute;z-index:1;left:0;bottom:0;height:calc(0.5 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__hitman-img.svelte-10g271g{height:calc(0.5 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__hitman-img.svelte-10g271g{height:calc(0.5 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__hitman-img.svelte-10g271g{height:calc(0.385 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__hitman-img.svelte-10g271g{height:calc(0.55 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__hitman-img.svelte-10g271g{height:calc(0.35 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__hitman-img.svelte-10g271g{height:calc(0.45 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__hitman-img.svelte-10g271g{height:calc(0.55 * 100vw + 0px)}}.hitman-menu__contracts-img.svelte-10g271g{position:absolute;right:0;pointer-events:none;top:calc(0.015625 * 100vw + 0px);height:calc(0.5520833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__contracts-img.svelte-10g271g{top:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__contracts-img.svelte-10g271g{top:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__contracts-img.svelte-10g271g{top:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__contracts-img.svelte-10g271g{top:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__contracts-img.svelte-10g271g{top:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__contracts-img.svelte-10g271g{top:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__contracts-img.svelte-10g271g{top:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__contracts-img.svelte-10g271g{height:calc(0.5520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__contracts-img.svelte-10g271g{height:calc(0.5520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__contracts-img.svelte-10g271g{height:calc(0.4251041667 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__contracts-img.svelte-10g271g{height:calc(0.6072916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__contracts-img.svelte-10g271g{height:calc(0.3864583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__contracts-img.svelte-10g271g{height:calc(0.496875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__contracts-img.svelte-10g271g{height:calc(0.6072916667 * 100vw + 0px)}}.hitman-menu__take-contract.svelte-10g271g{position:absolute;display:flex;flex-direction:column;right:calc(0.1692708333 * 100vw + 0px);top:calc(0.2723958333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__take-contract.svelte-10g271g{right:calc(0.1692708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__take-contract.svelte-10g271g{right:calc(0.1692708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__take-contract.svelte-10g271g{right:calc(0.1303385417 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__take-contract.svelte-10g271g{right:calc(0.1861979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__take-contract.svelte-10g271g{right:calc(0.1184895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__take-contract.svelte-10g271g{right:calc(0.15234375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__take-contract.svelte-10g271g{right:calc(0.1861979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__take-contract.svelte-10g271g{top:calc(0.2723958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__take-contract.svelte-10g271g{top:calc(0.2723958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__take-contract.svelte-10g271g{top:calc(0.2097447917 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__take-contract.svelte-10g271g{top:calc(0.2996354167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__take-contract.svelte-10g271g{top:calc(0.1906770833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__take-contract.svelte-10g271g{top:calc(0.24515625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__take-contract.svelte-10g271g{top:calc(0.2996354167 * 100vw + 0px)}}.hitman-menu__take-contract-title.svelte-10g271g{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0333333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__take-contract-title.svelte-10g271g{font-size:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__take-contract-title.svelte-10g271g{font-size:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__take-contract-title.svelte-10g271g{font-size:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__take-contract-title.svelte-10g271g{font-size:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__take-contract-title.svelte-10g271g{font-size:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__take-contract-title.svelte-10g271g{font-size:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__take-contract-title.svelte-10g271g{font-size:calc(0.0366666667 * 100vw + 0px)}}.hitman-menu__take-contract-title--bold.svelte-10g271g{font-family:\"GothamPro-Bold\"}.hitman-menu__take-contract-btn.svelte-10g271g{display:flex;justify-content:center;align-items:center;cursor:pointer;font-size:calc(0.009375 * 100vw + 0px);width:calc(0.0520833333 * 100vw + 0px);height:calc(0.0234375 * 100vw + 0px);margin-top:calc(0.0083333333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__take-contract-btn.svelte-10g271g{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__take-contract-btn.svelte-10g271g{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__take-contract-btn.svelte-10g271g{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__take-contract-btn.svelte-10g271g{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__take-contract-btn.svelte-10g271g{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__take-contract-btn.svelte-10g271g{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__take-contract-btn.svelte-10g271g{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__take-contract-btn.svelte-10g271g{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__take-contract-btn.svelte-10g271g{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__take-contract-btn.svelte-10g271g{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__take-contract-btn.svelte-10g271g{width:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__take-contract-btn.svelte-10g271g{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__take-contract-btn.svelte-10g271g{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__take-contract-btn.svelte-10g271g{width:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__take-contract-btn.svelte-10g271g{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__take-contract-btn.svelte-10g271g{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__take-contract-btn.svelte-10g271g{height:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__take-contract-btn.svelte-10g271g{height:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__take-contract-btn.svelte-10g271g{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__take-contract-btn.svelte-10g271g{height:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__take-contract-btn.svelte-10g271g{height:calc(0.02578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__take-contract-btn.svelte-10g271g{margin-top:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__take-contract-btn.svelte-10g271g{margin-top:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__take-contract-btn.svelte-10g271g{margin-top:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__take-contract-btn.svelte-10g271g{margin-top:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__take-contract-btn.svelte-10g271g{margin-top:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__take-contract-btn.svelte-10g271g{margin-top:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__take-contract-btn.svelte-10g271g{margin-top:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__take-contract-btn.svelte-10g271g{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__take-contract-btn.svelte-10g271g{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__take-contract-btn.svelte-10g271g{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__take-contract-btn.svelte-10g271g{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__take-contract-btn.svelte-10g271g{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__take-contract-btn.svelte-10g271g{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__take-contract-btn.svelte-10g271g{border-radius:calc(0.0057291667 * 100vw + 0px)}}.hitman-menu__player-name.svelte-10g271g{display:flex;align-items:center;color:#FFFFFF;font-family:\"GothamPro-Medium\";font-size:calc(0.0208333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__player-name.svelte-10g271g{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__player-name.svelte-10g271g{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__player-name.svelte-10g271g{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__player-name.svelte-10g271g{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__player-name.svelte-10g271g{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__player-name.svelte-10g271g{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__player-name.svelte-10g271g{font-size:calc(0.0229166667 * 100vw + 0px)}}.hitman-menu__player-stats.svelte-10g271g{z-index:1;margin-top:calc(0.134375 * 100vw + 0px);margin-left:calc(0.0364583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__player-stats.svelte-10g271g{margin-top:calc(0.134375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__player-stats.svelte-10g271g{margin-top:calc(0.134375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__player-stats.svelte-10g271g{margin-top:calc(0.10346875 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__player-stats.svelte-10g271g{margin-top:calc(0.1478125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__player-stats.svelte-10g271g{margin-top:calc(0.0940625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__player-stats.svelte-10g271g{margin-top:calc(0.1209375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__player-stats.svelte-10g271g{margin-top:calc(0.1478125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__player-stats.svelte-10g271g{margin-left:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__player-stats.svelte-10g271g{margin-left:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__player-stats.svelte-10g271g{margin-left:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__player-stats.svelte-10g271g{margin-left:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__player-stats.svelte-10g271g{margin-left:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__player-stats.svelte-10g271g{margin-left:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__player-stats.svelte-10g271g{margin-left:calc(0.0401041667 * 100vw + 0px)}}.hitman-menu__player-icon.svelte-10g271g{width:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__player-icon.svelte-10g271g{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__player-icon.svelte-10g271g{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__player-icon.svelte-10g271g{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__player-icon.svelte-10g271g{width:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__player-icon.svelte-10g271g{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__player-icon.svelte-10g271g{width:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__player-icon.svelte-10g271g{width:calc(0.0286458333 * 100vw + 0px)}}.hitman-menu__player-icon-wrapper.svelte-10g271g{width:calc(0.0364583333 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__player-icon-wrapper.svelte-10g271g{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__player-icon-wrapper.svelte-10g271g{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__player-icon-wrapper.svelte-10g271g{width:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__player-icon-wrapper.svelte-10g271g{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__player-icon-wrapper.svelte-10g271g{width:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__player-icon-wrapper.svelte-10g271g{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__player-icon-wrapper.svelte-10g271g{width:calc(0.0401041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__player-icon-wrapper.svelte-10g271g{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__player-icon-wrapper.svelte-10g271g{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__player-icon-wrapper.svelte-10g271g{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__player-icon-wrapper.svelte-10g271g{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__player-icon-wrapper.svelte-10g271g{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__player-icon-wrapper.svelte-10g271g{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__player-icon-wrapper.svelte-10g271g{height:calc(0.0286458333 * 100vw + 0px)}}.hitman-menu__player-rank.svelte-10g271g{display:flex;align-items:center;margin-top:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__player-rank.svelte-10g271g{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__player-rank.svelte-10g271g{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__player-rank.svelte-10g271g{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__player-rank.svelte-10g271g{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__player-rank.svelte-10g271g{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__player-rank.svelte-10g271g{margin-top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__player-rank.svelte-10g271g{margin-top:calc(0.0286458333 * 100vw + 0px)}}.hitman-menu__player-rank-orders.svelte-10g271g{display:flex;flex-direction:column;align-items:center}.hitman-menu__player-rank-bar.svelte-10g271g{position:relative;display:flex;align-items:center;justify-content:center;width:calc(0.0260416667 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__player-rank-bar.svelte-10g271g{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__player-rank-bar.svelte-10g271g{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__player-rank-bar.svelte-10g271g{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__player-rank-bar.svelte-10g271g{width:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__player-rank-bar.svelte-10g271g{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__player-rank-bar.svelte-10g271g{width:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__player-rank-bar.svelte-10g271g{width:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__player-rank-bar.svelte-10g271g{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__player-rank-bar.svelte-10g271g{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__player-rank-bar.svelte-10g271g{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__player-rank-bar.svelte-10g271g{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__player-rank-bar.svelte-10g271g{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__player-rank-bar.svelte-10g271g{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__player-rank-bar.svelte-10g271g{height:calc(0.0286458333 * 100vw + 0px)}}.hitman-menu__player-rank-orders-title.svelte-10g271g{display:flex;flex-direction:column;align-items:center;margin-top:calc(0.0052083333 * 100vw + 0px);font-size:calc(0.0052083333 * 100vw + 0px);color:#FFFFFF;font-family:\"GothamPro\"}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__player-rank-orders-title.svelte-10g271g{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__player-rank-orders-title.svelte-10g271g{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__player-rank-orders-title.svelte-10g271g{margin-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__player-rank-orders-title.svelte-10g271g{margin-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__player-rank-orders-title.svelte-10g271g{margin-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__player-rank-orders-title.svelte-10g271g{margin-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__player-rank-orders-title.svelte-10g271g{margin-top:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__player-rank-orders-title.svelte-10g271g{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__player-rank-orders-title.svelte-10g271g{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__player-rank-orders-title.svelte-10g271g{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__player-rank-orders-title.svelte-10g271g{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__player-rank-orders-title.svelte-10g271g{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__player-rank-orders-title.svelte-10g271g{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__player-rank-orders-title.svelte-10g271g{font-size:calc(0.0057291667 * 100vw + 0px)}}.hitman-menu__player-rank-title.svelte-10g271g{height:calc(0.0338541667 * 100vw + 0px);margin-left:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__player-rank-title.svelte-10g271g{height:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__player-rank-title.svelte-10g271g{height:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__player-rank-title.svelte-10g271g{height:calc(0.0260677083 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__player-rank-title.svelte-10g271g{height:calc(0.0372395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__player-rank-title.svelte-10g271g{height:calc(0.0236979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__player-rank-title.svelte-10g271g{height:calc(0.03046875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__player-rank-title.svelte-10g271g{height:calc(0.0372395833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__player-rank-title.svelte-10g271g{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__player-rank-title.svelte-10g271g{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__player-rank-title.svelte-10g271g{margin-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__player-rank-title.svelte-10g271g{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__player-rank-title.svelte-10g271g{margin-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__player-rank-title.svelte-10g271g{margin-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__player-rank-title.svelte-10g271g{margin-left:calc(0.0114583333 * 100vw + 0px)}}.hitman-menu__player-rank-name.svelte-10g271g{color:#FFFFFF;font-family:\"GothamPro-Bold\";font-size:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__player-rank-name.svelte-10g271g{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__player-rank-name.svelte-10g271g{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__player-rank-name.svelte-10g271g{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__player-rank-name.svelte-10g271g{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__player-rank-name.svelte-10g271g{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__player-rank-name.svelte-10g271g{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__player-rank-name.svelte-10g271g{font-size:calc(0.0183333333 * 100vw + 0px)}}.hitman-menu__player-lvl-info.svelte-10g271g{display:flex;align-items:center;margin-top:calc(0.0015625 * 100vw + 0px);margin-left:calc(0.0015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__player-lvl-info.svelte-10g271g{margin-top:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__player-lvl-info.svelte-10g271g{margin-top:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__player-lvl-info.svelte-10g271g{margin-top:calc(0.001203125 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__player-lvl-info.svelte-10g271g{margin-top:calc(0.00171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__player-lvl-info.svelte-10g271g{margin-top:calc(0.00109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__player-lvl-info.svelte-10g271g{margin-top:calc(0.00140625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__player-lvl-info.svelte-10g271g{margin-top:calc(0.00171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__player-lvl-info.svelte-10g271g{margin-left:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__player-lvl-info.svelte-10g271g{margin-left:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__player-lvl-info.svelte-10g271g{margin-left:calc(0.001203125 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__player-lvl-info.svelte-10g271g{margin-left:calc(0.00171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__player-lvl-info.svelte-10g271g{margin-left:calc(0.00109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__player-lvl-info.svelte-10g271g{margin-left:calc(0.00140625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__player-lvl-info.svelte-10g271g{margin-left:calc(0.00171875 * 100vw + 0px)}}.hitman-menu__player-rank-logo.svelte-10g271g{height:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__player-rank-logo.svelte-10g271g{height:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__player-rank-logo.svelte-10g271g{height:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__player-rank-logo.svelte-10g271g{height:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__player-rank-logo.svelte-10g271g{height:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__player-rank-logo.svelte-10g271g{height:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__player-rank-logo.svelte-10g271g{height:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__player-rank-logo.svelte-10g271g{height:calc(0.00859375 * 100vw + 0px)}}.hitman-menu__player-rank-descr.svelte-10g271g{font-family:\"GothamPro\";font-size:calc(0.00625 * 100vw + 0px);margin-left:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__player-rank-descr.svelte-10g271g{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__player-rank-descr.svelte-10g271g{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__player-rank-descr.svelte-10g271g{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__player-rank-descr.svelte-10g271g{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__player-rank-descr.svelte-10g271g{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__player-rank-descr.svelte-10g271g{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__player-rank-descr.svelte-10g271g{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__player-rank-descr.svelte-10g271g{margin-left:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__player-rank-descr.svelte-10g271g{margin-left:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__player-rank-descr.svelte-10g271g{margin-left:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__player-rank-descr.svelte-10g271g{margin-left:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__player-rank-descr.svelte-10g271g{margin-left:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__player-rank-descr.svelte-10g271g{margin-left:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__player-rank-descr.svelte-10g271g{margin-left:calc(0.0028645833 * 100vw + 0px)}}.hitman-menu__player-bar-lvl.svelte-10g271g{position:absolute;font-family:\"GothamPro-Medium\";font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__player-bar-lvl.svelte-10g271g{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__player-bar-lvl.svelte-10g271g{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__player-bar-lvl.svelte-10g271g{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__player-bar-lvl.svelte-10g271g{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__player-bar-lvl.svelte-10g271g{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__player-bar-lvl.svelte-10g271g{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__player-bar-lvl.svelte-10g271g{font-size:calc(0.01375 * 100vw + 0px)}}.hitman-menu__player-stats-order.svelte-10g271g{display:flex;justify-content:space-between;background-color:rgba(255, 255, 255, 0.05);width:calc(0.1692708333 * 100vw + 0px);border-radius:calc(0.0078125 * 100vw + 0px) calc(0.0078125 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0 * 100vw + 0px);padding:calc(0.0119791667 * 100vw + 0px) calc(0.0333333333 * 100vw + 0px) calc(0.0067708333 * 100vw + 0px) calc(0.0234375 * 100vw + 0px);margin-top:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__player-stats-order.svelte-10g271g{width:calc(0.1692708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__player-stats-order.svelte-10g271g{width:calc(0.1692708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__player-stats-order.svelte-10g271g{width:calc(0.1303385417 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__player-stats-order.svelte-10g271g{width:calc(0.1861979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__player-stats-order.svelte-10g271g{width:calc(0.1184895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__player-stats-order.svelte-10g271g{width:calc(0.15234375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__player-stats-order.svelte-10g271g{width:calc(0.1861979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__player-stats-order.svelte-10g271g{border-radius:calc(0.0078125 * 100vw + 0px) calc(0.0078125 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__player-stats-order.svelte-10g271g{border-radius:calc(0.0078125 * 100vw + 0px) calc(0.0078125 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__player-stats-order.svelte-10g271g{border-radius:calc(0.006015625 * 100vw + 0px) calc(0.006015625 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__player-stats-order.svelte-10g271g{border-radius:calc(0.00859375 * 100vw + 0px) calc(0.00859375 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__player-stats-order.svelte-10g271g{border-radius:calc(0.00546875 * 100vw + 0px) calc(0.00546875 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__player-stats-order.svelte-10g271g{border-radius:calc(0.00703125 * 100vw + 0px) calc(0.00703125 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__player-stats-order.svelte-10g271g{border-radius:calc(0.00859375 * 100vw + 0px) calc(0.00859375 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__player-stats-order.svelte-10g271g{padding:calc(0.0119791667 * 100vw + 0px) calc(0.0333333333 * 100vw + 0px) calc(0.0067708333 * 100vw + 0px) calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__player-stats-order.svelte-10g271g{padding:calc(0.0119791667 * 100vw + 0px) calc(0.0333333333 * 100vw + 0px) calc(0.0067708333 * 100vw + 0px) calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__player-stats-order.svelte-10g271g{padding:calc(0.0092239583 * 100vw + 0px) calc(0.0256666667 * 100vw + 0px) calc(0.0052135417 * 100vw + 0px) calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__player-stats-order.svelte-10g271g{padding:calc(0.0131770833 * 100vw + 0px) calc(0.0366666667 * 100vw + 0px) calc(0.0074479167 * 100vw + 0px) calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__player-stats-order.svelte-10g271g{padding:calc(0.0083854167 * 100vw + 0px) calc(0.0233333333 * 100vw + 0px) calc(0.0047395833 * 100vw + 0px) calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__player-stats-order.svelte-10g271g{padding:calc(0.01078125 * 100vw + 0px) calc(0.03 * 100vw + 0px) calc(0.00609375 * 100vw + 0px) calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__player-stats-order.svelte-10g271g{padding:calc(0.0131770833 * 100vw + 0px) calc(0.0366666667 * 100vw + 0px) calc(0.0074479167 * 100vw + 0px) calc(0.02578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__player-stats-order.svelte-10g271g{margin-top:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__player-stats-order.svelte-10g271g{margin-top:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__player-stats-order.svelte-10g271g{margin-top:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__player-stats-order.svelte-10g271g{margin-top:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__player-stats-order.svelte-10g271g{margin-top:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__player-stats-order.svelte-10g271g{margin-top:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__player-stats-order.svelte-10g271g{margin-top:calc(0.0183333333 * 100vw + 0px)}}.hitman-menu__player-stats-order-left.svelte-10g271g{width:calc(0.0369791667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__player-stats-order-left.svelte-10g271g{width:calc(0.0369791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__player-stats-order-left.svelte-10g271g{width:calc(0.0369791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__player-stats-order-left.svelte-10g271g{width:calc(0.0284739583 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__player-stats-order-left.svelte-10g271g{width:calc(0.0406770833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__player-stats-order-left.svelte-10g271g{width:calc(0.0258854167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__player-stats-order-left.svelte-10g271g{width:calc(0.03328125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__player-stats-order-left.svelte-10g271g{width:calc(0.0406770833 * 100vw + 0px)}}.hitman-menu__player-stats-order-right.svelte-10g271g{width:calc(0.0385416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__player-stats-order-right.svelte-10g271g{width:calc(0.0385416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__player-stats-order-right.svelte-10g271g{width:calc(0.0385416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__player-stats-order-right.svelte-10g271g{width:calc(0.0296770833 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__player-stats-order-right.svelte-10g271g{width:calc(0.0423958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__player-stats-order-right.svelte-10g271g{width:calc(0.0269791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__player-stats-order-right.svelte-10g271g{width:calc(0.0346875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__player-stats-order-right.svelte-10g271g{width:calc(0.0423958333 * 100vw + 0px)}}.hitman-menu__player-order-count.svelte-10g271g{font-size:calc(0.0125 * 100vw + 0px);margin-bottom:calc(0.0052083333 * 100vw + 0px);color:#FFFFFF;font-family:\"GothamPro-Medium\"}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__player-order-count.svelte-10g271g{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__player-order-count.svelte-10g271g{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__player-order-count.svelte-10g271g{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__player-order-count.svelte-10g271g{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__player-order-count.svelte-10g271g{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__player-order-count.svelte-10g271g{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__player-order-count.svelte-10g271g{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__player-order-count.svelte-10g271g{margin-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__player-order-count.svelte-10g271g{margin-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__player-order-count.svelte-10g271g{margin-bottom:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__player-order-count.svelte-10g271g{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__player-order-count.svelte-10g271g{margin-bottom:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__player-order-count.svelte-10g271g{margin-bottom:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__player-order-count.svelte-10g271g{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}.hitman-menu__player-order-title.svelte-10g271g{font-size:calc(0.00625 * 100vw + 0px);width:calc(0.0375 * 100vw + 0px);margin-bottom:calc(0.0130208333 * 100vw + 0px);font-family:\"GothamPro\";color:#BABDBF}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__player-order-title.svelte-10g271g{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__player-order-title.svelte-10g271g{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__player-order-title.svelte-10g271g{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__player-order-title.svelte-10g271g{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__player-order-title.svelte-10g271g{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__player-order-title.svelte-10g271g{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__player-order-title.svelte-10g271g{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__player-order-title.svelte-10g271g{width:calc(0.0375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__player-order-title.svelte-10g271g{width:calc(0.0375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__player-order-title.svelte-10g271g{width:calc(0.028875 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__player-order-title.svelte-10g271g{width:calc(0.04125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__player-order-title.svelte-10g271g{width:calc(0.02625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__player-order-title.svelte-10g271g{width:calc(0.03375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__player-order-title.svelte-10g271g{width:calc(0.04125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__player-order-title.svelte-10g271g{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__player-order-title.svelte-10g271g{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__player-order-title.svelte-10g271g{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__player-order-title.svelte-10g271g{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__player-order-title.svelte-10g271g{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__player-order-title.svelte-10g271g{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__player-order-title.svelte-10g271g{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.hitman-menu__button-rating.svelte-10g271g{background-color:rgba(242, 201, 76, 0.2);width:calc(0.1692708333 * 100vw + 0px);height:calc(0.059375 * 100vw + 0px);margin-top:calc(0.0026041667 * 100vw + 0px);cursor:pointer}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__button-rating.svelte-10g271g{width:calc(0.1692708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__button-rating.svelte-10g271g{width:calc(0.1692708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__button-rating.svelte-10g271g{width:calc(0.1303385417 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__button-rating.svelte-10g271g{width:calc(0.1861979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__button-rating.svelte-10g271g{width:calc(0.1184895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__button-rating.svelte-10g271g{width:calc(0.15234375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__button-rating.svelte-10g271g{width:calc(0.1861979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__button-rating.svelte-10g271g{height:calc(0.059375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__button-rating.svelte-10g271g{height:calc(0.059375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__button-rating.svelte-10g271g{height:calc(0.04571875 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__button-rating.svelte-10g271g{height:calc(0.0653125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__button-rating.svelte-10g271g{height:calc(0.0415625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__button-rating.svelte-10g271g{height:calc(0.0534375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__button-rating.svelte-10g271g{height:calc(0.0653125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__button-rating.svelte-10g271g{margin-top:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__button-rating.svelte-10g271g{margin-top:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__button-rating.svelte-10g271g{margin-top:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__button-rating.svelte-10g271g{margin-top:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__button-rating.svelte-10g271g{margin-top:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__button-rating.svelte-10g271g{margin-top:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__button-rating.svelte-10g271g{margin-top:calc(0.0028645833 * 100vw + 0px)}}.hitman-menu__button-rating.svelte-10g271g:hover{background-color:rgba(242, 201, 76, 0.5)}.hitman-menu__button-order.svelte-10g271g{background-color:rgba(255, 255, 255, 0.2);width:calc(0.1692708333 * 100vw + 0px);height:calc(0.059375 * 100vw + 0px);margin-top:calc(0.0026041667 * 100vw + 0px);border-radius:calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0078125 * 100vw + 0px) calc(0.0078125 * 100vw + 0px);cursor:pointer}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__button-order.svelte-10g271g{width:calc(0.1692708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__button-order.svelte-10g271g{width:calc(0.1692708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__button-order.svelte-10g271g{width:calc(0.1303385417 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__button-order.svelte-10g271g{width:calc(0.1861979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__button-order.svelte-10g271g{width:calc(0.1184895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__button-order.svelte-10g271g{width:calc(0.15234375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__button-order.svelte-10g271g{width:calc(0.1861979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__button-order.svelte-10g271g{height:calc(0.059375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__button-order.svelte-10g271g{height:calc(0.059375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__button-order.svelte-10g271g{height:calc(0.04571875 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__button-order.svelte-10g271g{height:calc(0.0653125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__button-order.svelte-10g271g{height:calc(0.0415625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__button-order.svelte-10g271g{height:calc(0.0534375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__button-order.svelte-10g271g{height:calc(0.0653125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__button-order.svelte-10g271g{margin-top:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__button-order.svelte-10g271g{margin-top:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__button-order.svelte-10g271g{margin-top:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__button-order.svelte-10g271g{margin-top:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__button-order.svelte-10g271g{margin-top:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__button-order.svelte-10g271g{margin-top:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__button-order.svelte-10g271g{margin-top:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__button-order.svelte-10g271g{border-radius:calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0078125 * 100vw + 0px) calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__button-order.svelte-10g271g{border-radius:calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0078125 * 100vw + 0px) calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__button-order.svelte-10g271g{border-radius:calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.006015625 * 100vw + 0px) calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__button-order.svelte-10g271g{border-radius:calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.00859375 * 100vw + 0px) calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__button-order.svelte-10g271g{border-radius:calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.00546875 * 100vw + 0px) calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__button-order.svelte-10g271g{border-radius:calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.00703125 * 100vw + 0px) calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__button-order.svelte-10g271g{border-radius:calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.00859375 * 100vw + 0px) calc(0.00859375 * 100vw + 0px)}}.hitman-menu__button-order.svelte-10g271g:hover{background-color:rgba(255, 255, 255, 0.5)}.hitman-menu__button-bg.svelte-10g271g{position:absolute;width:calc(0.1692708333 * 100vw + 0px);height:calc(0.059375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__button-bg.svelte-10g271g{width:calc(0.1692708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__button-bg.svelte-10g271g{width:calc(0.1692708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__button-bg.svelte-10g271g{width:calc(0.1303385417 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__button-bg.svelte-10g271g{width:calc(0.1861979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__button-bg.svelte-10g271g{width:calc(0.1184895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__button-bg.svelte-10g271g{width:calc(0.15234375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__button-bg.svelte-10g271g{width:calc(0.1861979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__button-bg.svelte-10g271g{height:calc(0.059375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__button-bg.svelte-10g271g{height:calc(0.059375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__button-bg.svelte-10g271g{height:calc(0.04571875 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__button-bg.svelte-10g271g{height:calc(0.0653125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__button-bg.svelte-10g271g{height:calc(0.0415625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__button-bg.svelte-10g271g{height:calc(0.0534375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__button-bg.svelte-10g271g{height:calc(0.0653125 * 100vw + 0px)}}.hitman-menu__button-logo.svelte-10g271g{margin-right:calc(0.0026041667 * 100vw + 0px);width:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__button-logo.svelte-10g271g{margin-right:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__button-logo.svelte-10g271g{margin-right:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__button-logo.svelte-10g271g{margin-right:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__button-logo.svelte-10g271g{margin-right:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__button-logo.svelte-10g271g{margin-right:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__button-logo.svelte-10g271g{margin-right:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__button-logo.svelte-10g271g{margin-right:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__button-logo.svelte-10g271g{width:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__button-logo.svelte-10g271g{width:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__button-logo.svelte-10g271g{width:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__button-logo.svelte-10g271g{width:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__button-logo.svelte-10g271g{width:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__button-logo.svelte-10g271g{width:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__button-logo.svelte-10g271g{width:calc(0.0143229167 * 100vw + 0px)}}.hitman-menu__button-title-wrapper.svelte-10g271g{display:flex;align-items:center;position:relative;top:calc(0.0229166667 * 100vw + 0px);left:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__button-title-wrapper.svelte-10g271g{top:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__button-title-wrapper.svelte-10g271g{top:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__button-title-wrapper.svelte-10g271g{top:calc(0.0176458333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__button-title-wrapper.svelte-10g271g{top:calc(0.0252083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__button-title-wrapper.svelte-10g271g{top:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__button-title-wrapper.svelte-10g271g{top:calc(0.020625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__button-title-wrapper.svelte-10g271g{top:calc(0.0252083333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__button-title-wrapper.svelte-10g271g{left:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__button-title-wrapper.svelte-10g271g{left:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__button-title-wrapper.svelte-10g271g{left:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__button-title-wrapper.svelte-10g271g{left:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__button-title-wrapper.svelte-10g271g{left:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__button-title-wrapper.svelte-10g271g{left:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__button-title-wrapper.svelte-10g271g{left:calc(0.00859375 * 100vw + 0px)}}.hitman-menu__button-title.svelte-10g271g{font-size:calc(0.0083333333 * 100vw + 0px);color:#FFFFFF;font-family:\"GothamPro-Medium\"}@media(max-width: 1920px) and (max-height: 768px){.hitman-menu__button-title.svelte-10g271g{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-menu__button-title.svelte-10g271g{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-menu__button-title.svelte-10g271g{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-menu__button-title.svelte-10g271g{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-menu__button-title.svelte-10g271g{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-menu__button-title.svelte-10g271g{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-menu__button-title.svelte-10g271g{font-size:calc(0.0091666667 * 100vw + 0px)}}");
}

// (2731:4) {#if !isEmpty(stats)}
function menu_index_svelte_create_if_block(ctx) {
	let div18;
	let div1;
	let div0;
	let img0;
	let img0_src_value;
	let t0;
	let p0;
	let t1_value = /*stats*/ ctx[0].name + "";
	let t1;
	let t2;
	let div6;
	let div3;
	let div2;
	let circleprogress;
	let t3;
	let p1;
	let t4_value = /*stats*/ ctx[0].level + "";
	let t4;
	let p1_style_value;
	let t5;
	let p2;
	let t6_value = /*stats*/ ctx[0].orders + "";
	let t6;
	let t7;
	let t8_value = /*stats*/ ctx[0].maxOrders + "";
	let t8;
	let t9;
	let br;
	let t10;
	let span;
	let t12;
	let div5;
	let p3;
	let t13_value = /*stats*/ ctx[0].rankName + "";
	let t13;
	let t14;
	let div4;
	let img1;
	let img1_src_value;
	let t15;
	let p4;
	let p4_style_value;
	let t17;
	let div13;
	let div9;
	let div7;
	let p5;
	let t18_value = /*stats*/ ctx[0].completedOrders + "";
	let t18;
	let t19;
	let p6;
	let t21;
	let div8;
	let p7;
	let t22_value = /*stats*/ ctx[0].createdOrders + "";
	let t22;
	let t23;
	let p8;
	let t25;
	let div12;
	let div10;
	let p9;
	let t26_value = /*stats*/ ctx[0].earnedOrders + "";
	let t26;
	let t27;
	let p10;
	let t29;
	let div11;
	let p11;
	let t30_value = /*stats*/ ctx[0].spentedOrders + "";
	let t30;
	let t31;
	let p12;
	let t33;
	let div15;
	let img2;
	let img2_src_value;
	let t34;
	let div14;
	let img3;
	let img3_src_value;
	let t35;
	let p13;
	let t37;
	let div17;
	let img4;
	let img4_src_value;
	let t38;
	let div16;
	let img5;
	let img5_src_value;
	let t39;
	let p14;
	let current;
	let mounted;
	let dispose;

	circleprogress = new circle_progress_index_svelte({
			props: {
				color: '#FFFFFF',
				strokeWidth: "5",
				percents: /*stats*/ ctx[0].orders / (/*stats*/ ctx[0].maxOrders / 100)
			}
		});

	return {
		c() {
			div18 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			div6 = internal_element("div");
			div3 = internal_element("div");
			div2 = internal_element("div");
			create_component(circleprogress.$$.fragment);
			t3 = space();
			p1 = internal_element("p");
			t4 = internal_text(t4_value);
			t5 = space();
			p2 = internal_element("p");
			t6 = internal_text(t6_value);
			t7 = internal_text("\r\n                        /\r\n                        ");
			t8 = internal_text(t8_value);
			t9 = space();
			br = internal_element("br");
			t10 = space();
			span = internal_element("span");
			span.textContent = "заказов выполнено";
			t12 = space();
			div5 = internal_element("div");
			p3 = internal_element("p");
			t13 = internal_text(t13_value);
			t14 = space();
			div4 = internal_element("div");
			img1 = internal_element("img");
			t15 = space();
			p4 = internal_element("p");
			p4.textContent = "Уровень киллера";
			t17 = space();
			div13 = internal_element("div");
			div9 = internal_element("div");
			div7 = internal_element("div");
			p5 = internal_element("p");
			t18 = internal_text(t18_value);
			t19 = space();
			p6 = internal_element("p");
			p6.textContent = "Выполнено заказов";
			t21 = space();
			div8 = internal_element("div");
			p7 = internal_element("p");
			t22 = internal_text(t22_value);
			t23 = space();
			p8 = internal_element("p");
			p8.textContent = "Создано заказов";
			t25 = space();
			div12 = internal_element("div");
			div10 = internal_element("div");
			p9 = internal_element("p");
			t26 = internal_text(t26_value);
			t27 = space();
			p10 = internal_element("p");
			p10.textContent = "Заработано на заказах";
			t29 = space();
			div11 = internal_element("div");
			p11 = internal_element("p");
			t30 = internal_text(t30_value);
			t31 = space();
			p12 = internal_element("p");
			p12.textContent = "Потрачено на заказы";
			t33 = space();
			div15 = internal_element("div");
			img2 = internal_element("img");
			t34 = space();
			div14 = internal_element("div");
			img3 = internal_element("img");
			t35 = space();
			p13 = internal_element("p");
			p13.textContent = "Рейтинг хитманов";
			t37 = space();
			div17 = internal_element("div");
			img4 = internal_element("img");
			t38 = space();
			div16 = internal_element("div");
			img5 = internal_element("img");
			t39 = space();
			p14 = internal_element("p");
			p14.textContent = "Создать заказ";
			attr(img0, "class", "hitman-menu__player-icon svelte-10g271g");
			if (!src_url_equal(img0.src, img0_src_value = name_logo_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "playerLogo");
			attr(div0, "class", "hitman-menu__player-icon-wrapper svelte-10g271g");
			attr(p0, "class", "hitman-menu__player");
			attr(div1, "class", "hitman-menu__player-name svelte-10g271g");
			attr(p1, "class", "hitman-menu__player-bar-lvl svelte-10g271g");
			attr(p1, "style", p1_style_value = 'color: #FFFFFF');
			attr(div2, "class", "hitman-menu__player-rank-bar svelte-10g271g");
			attr(span, "class", "hitman-menu__player-rank-orders-description");
			attr(p2, "class", "hitman-menu__player-rank-orders-title svelte-10g271g");
			attr(div3, "class", "hitman-menu__player-rank-orders svelte-10g271g");
			attr(p3, "class", "hitman-menu__player-rank-name svelte-10g271g");
			attr(img1, "class", "hitman-menu__player-rank-logo svelte-10g271g");
			if (!src_url_equal(img1.src, img1_src_value = level_logo_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "lvlLogo");
			attr(p4, "class", "hitman-menu__player-rank-descr svelte-10g271g");
			attr(p4, "style", p4_style_value = 'color: #FFFFFF');
			attr(div4, "class", "hitman-menu__player-lvl-info svelte-10g271g");
			attr(div5, "class", "hitman-menu__player-rank-title svelte-10g271g");
			attr(div6, "class", "hitman-menu__player-rank svelte-10g271g");
			attr(p5, "class", "hitman-menu__player-order-count svelte-10g271g");
			attr(p6, "class", "hitman-menu__player-order-title svelte-10g271g");
			attr(div7, "class", "hitman-menu__player-completed-order");
			attr(p7, "class", "hitman-menu__player-order-count svelte-10g271g");
			attr(p8, "class", "hitman-menu__player-order-title svelte-10g271g");
			attr(div8, "class", "hitman-menu__player-created-order");
			attr(div9, "class", "hitman-menu__player-stats-order-left svelte-10g271g");
			attr(p9, "class", "hitman-menu__player-order-count svelte-10g271g");
			attr(p10, "class", "hitman-menu__player-order-title svelte-10g271g");
			attr(div10, "class", "hitman-menu__player-earned-order");
			attr(p11, "class", "hitman-menu__player-order-count svelte-10g271g");
			attr(p12, "class", "hitman-menu__player-order-title svelte-10g271g");
			attr(div11, "class", "hitman-menu__player-spent-order");
			attr(div12, "class", "hitman-menu__player-stats-order-right svelte-10g271g");
			attr(div13, "class", "hitman-menu__player-stats-order svelte-10g271g");
			attr(img2, "class", "hitman-menu__button-bg svelte-10g271g");
			if (!src_url_equal(img2.src, img2_src_value = button_rating_background_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "button-rating-bg");
			attr(img3, "class", "hitman-menu__button-logo svelte-10g271g");
			if (!src_url_equal(img3.src, img3_src_value = button_rating_logo_namespaceObject)) attr(img3, "src", img3_src_value);
			attr(img3, "alt", "button-rating-logo");
			attr(p13, "class", "hitman-menu__button-title svelte-10g271g");
			attr(div14, "class", "hitman-menu__button-title-wrapper svelte-10g271g");
			attr(div15, "class", "hitman-menu__button-rating svelte-10g271g");
			attr(img4, "class", "hitman-menu__button-bg svelte-10g271g");
			if (!src_url_equal(img4.src, img4_src_value = button_order_background_namespaceObject)) attr(img4, "src", img4_src_value);
			attr(img4, "alt", "button-order-bg");
			attr(img5, "class", "hitman-menu__button-logo svelte-10g271g");
			if (!src_url_equal(img5.src, img5_src_value = button_order_logo_namespaceObject)) attr(img5, "src", img5_src_value);
			attr(img5, "alt", "button-order-logo");
			attr(p14, "class", "hitman-menu__button-title svelte-10g271g");
			attr(div16, "class", "hitman-menu__button-title-wrapper svelte-10g271g");
			attr(div17, "class", "hitman-menu__button-order svelte-10g271g");
			attr(div18, "class", "hitman-menu__player-stats svelte-10g271g");
		},
		m(target, anchor) {
			insert(target, div18, anchor);
			append(div18, div1);
			append(div1, div0);
			append(div0, img0);
			append(div1, t0);
			append(div1, p0);
			append(p0, t1);
			append(div18, t2);
			append(div18, div6);
			append(div6, div3);
			append(div3, div2);
			mount_component(circleprogress, div2, null);
			append(div2, t3);
			append(div2, p1);
			append(p1, t4);
			append(div3, t5);
			append(div3, p2);
			append(p2, t6);
			append(p2, t7);
			append(p2, t8);
			append(p2, t9);
			append(p2, br);
			append(p2, t10);
			append(p2, span);
			append(div6, t12);
			append(div6, div5);
			append(div5, p3);
			append(p3, t13);
			append(div5, t14);
			append(div5, div4);
			append(div4, img1);
			append(div4, t15);
			append(div4, p4);
			append(div18, t17);
			append(div18, div13);
			append(div13, div9);
			append(div9, div7);
			append(div7, p5);
			append(p5, t18);
			append(div7, t19);
			append(div7, p6);
			append(div9, t21);
			append(div9, div8);
			append(div8, p7);
			append(p7, t22);
			append(div8, t23);
			append(div8, p8);
			append(div13, t25);
			append(div13, div12);
			append(div12, div10);
			append(div10, p9);
			append(p9, t26);
			append(div10, t27);
			append(div10, p10);
			append(div12, t29);
			append(div12, div11);
			append(div11, p11);
			append(p11, t30);
			append(div11, t31);
			append(div11, p12);
			append(div18, t33);
			append(div18, div15);
			append(div15, img2);
			append(div15, t34);
			append(div15, div14);
			append(div14, img3);
			append(div14, t35);
			append(div14, p13);
			append(div18, t37);
			append(div18, div17);
			append(div17, img4);
			append(div17, t38);
			append(div17, div16);
			append(div16, img5);
			append(div16, t39);
			append(div16, p14);
			current = true;

			if (!mounted) {
				dispose = [
					listen(div15, "click", /*openRating*/ ctx[1]),
					listen(div17, "click", /*openOrder*/ ctx[2])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if ((!current || dirty & /*stats*/ 1) && t1_value !== (t1_value = /*stats*/ ctx[0].name + "")) set_data(t1, t1_value);
			const circleprogress_changes = {};
			if (dirty & /*stats*/ 1) circleprogress_changes.percents = /*stats*/ ctx[0].orders / (/*stats*/ ctx[0].maxOrders / 100);
			circleprogress.$set(circleprogress_changes);
			if ((!current || dirty & /*stats*/ 1) && t4_value !== (t4_value = /*stats*/ ctx[0].level + "")) set_data(t4, t4_value);
			if ((!current || dirty & /*stats*/ 1) && t6_value !== (t6_value = /*stats*/ ctx[0].orders + "")) set_data(t6, t6_value);
			if ((!current || dirty & /*stats*/ 1) && t8_value !== (t8_value = /*stats*/ ctx[0].maxOrders + "")) set_data(t8, t8_value);
			if ((!current || dirty & /*stats*/ 1) && t13_value !== (t13_value = /*stats*/ ctx[0].rankName + "")) set_data(t13, t13_value);
			if ((!current || dirty & /*stats*/ 1) && t18_value !== (t18_value = /*stats*/ ctx[0].completedOrders + "")) set_data(t18, t18_value);
			if ((!current || dirty & /*stats*/ 1) && t22_value !== (t22_value = /*stats*/ ctx[0].createdOrders + "")) set_data(t22, t22_value);
			if ((!current || dirty & /*stats*/ 1) && t26_value !== (t26_value = /*stats*/ ctx[0].earnedOrders + "")) set_data(t26, t26_value);
			if ((!current || dirty & /*stats*/ 1) && t30_value !== (t30_value = /*stats*/ ctx[0].spentedOrders + "")) set_data(t30, t30_value);
		},
		i(local) {
			if (current) return;
			transition_in(circleprogress.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(circleprogress.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div18);
			destroy_component(circleprogress);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function hitman_menu_index_svelte_create_fragment(ctx) {
	let div3;
	let p0;
	let t1;
	let exitbutton;
	let t2;
	let div0;
	let img0;
	let img0_src_value;
	let t3;
	let p1;
	let t5;
	let img1;
	let img1_src_value;
	let t6;
	let img2;
	let img2_src_value;
	let t7;
	let div2;
	let p2;
	let t11;
	let div1;
	let actionbutton;
	let t12;
	let show_if = !(0,lodash.isEmpty)(/*stats*/ ctx[0]);
	let current;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[3],
				fixedPosition: true
			}
		});

	actionbutton = new index_svelte({
			props: {
				onPress: /*onTakeContract*/ ctx[4],
				keyTitle: "Enter",
				keyCode: 13,
				size: ActionButtonSize.FillFree
			}
		});

	let if_block = show_if && menu_index_svelte_create_if_block(ctx);

	return {
		c() {
			div3 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Меню бандита";
			t1 = space();
			create_component(exitbutton.$$.fragment);
			t2 = space();
			div0 = internal_element("div");
			img0 = internal_element("img");
			t3 = space();
			p1 = internal_element("p");
			p1.textContent = "заказные убийства";
			t5 = space();
			img1 = internal_element("img");
			t6 = space();
			img2 = internal_element("img");
			t7 = space();
			div2 = internal_element("div");
			p2 = internal_element("p");

			p2.innerHTML = `Взять
            <br/> 
            <span class="hitman-menu__take-contract-title--bold svelte-10g271g">контракт</span>`;

			t11 = space();
			div1 = internal_element("div");
			create_component(actionbutton.$$.fragment);
			t12 = space();
			if (if_block) if_block.c();
			attr(p0, "class", "hitman-menu__title svelte-10g271g");
			attr(img0, "class", "hitman-menu__logo-icon svelte-10g271g");
			if (!src_url_equal(img0.src, img0_src_value = hitman_img_logo_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "logo");
			attr(p1, "class", "hitman-menu__logo-title svelte-10g271g");
			attr(div0, "class", "hitman-menu__logo svelte-10g271g");
			attr(img1, "class", "hitman-menu__hitman-img svelte-10g271g");
			if (!src_url_equal(img1.src, img1_src_value = hitman_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "hitman");
			attr(img2, "class", "hitman-menu__contracts-img svelte-10g271g");
			if (!src_url_equal(img2.src, img2_src_value = hitman_contracts_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "contracts");
			attr(p2, "class", "hitman-menu__take-contract-title svelte-10g271g");
			attr(div1, "class", "hitman-menu__take-contract-btn svelte-10g271g");
			attr(div2, "class", "hitman-menu__take-contract svelte-10g271g");
			attr(div3, "class", "hitman-menu svelte-10g271g");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, p0);
			append(div3, t1);
			mount_component(exitbutton, div3, null);
			append(div3, t2);
			append(div3, div0);
			append(div0, img0);
			append(div0, t3);
			append(div0, p1);
			append(div3, t5);
			append(div3, img1);
			append(div3, t6);
			append(div3, img2);
			append(div3, t7);
			append(div3, div2);
			append(div2, p2);
			append(div2, t11);
			append(div2, div1);
			mount_component(actionbutton, div1, null);
			append(div3, t12);
			if (if_block) if_block.m(div3, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*stats*/ 1) show_if = !(0,lodash.isEmpty)(/*stats*/ ctx[0]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*stats*/ 1) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = menu_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(div3, null);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			transition_in(actionbutton.$$.fragment, local);
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			transition_out(actionbutton.$$.fragment, local);
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div3);
			destroy_component(exitbutton);
			destroy_component(actionbutton);
			if (if_block) if_block.d();
		}
	};
}

function hitman_menu_index_svelte_instance($$self, $$props, $$invalidate) {
	const openRating = () => {
		sendClientMessage('hitman.stats.openRating');
	};

	const openOrder = () => {
		sendClientMessage('hitman.stats.openOrderCreation');
	};

	let stats = {};

	const initStats = statsDto => {
		$$invalidate(0, stats = statsDto);
	};

	const handleClose = () => {
		
	}; // exec close event

	const onTakeContract = () => {
		sendClientMessage('hitman.stats.openContracts');
	};

	const unregisterInitStatsEvent = registerEvent('hitman.stats.initialize', initStats);

	onDestroy(() => {
		unregisterInitStatsEvent();
	});

	return [stats, openRating, openOrder, handleClose, onTakeContract];
}

class index_svelte_Menu extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, hitman_menu_index_svelte_instance, hitman_menu_index_svelte_create_fragment, safe_not_equal, {}, hitman_menu_index_svelte_add_css);
	}
}

/* harmony default export */ const hitman_menu_index_svelte = (index_svelte_Menu);
;// CONCATENATED MODULE: ./src/views/hitman/rating/constants.js
var rating_constants_MAP_POSITION_TO_COLOR = {
  1: '#F2C94C',
  2: '#FFFFFF',
  3: '#C89D75'
};
;// CONCATENATED MODULE: ./src/views/hitman/rating/components/aim-icon-rating/index.svelte
/* src\views\hitman\rating\components\aim-icon-rating\index.svelte generated by Svelte v3.49.0 */


function aim_icon_rating_index_svelte_create_fragment(ctx) {
	let svg;
	let g;
	let circle;
	let path;
	let defs;
	let filter;
	let feFlood;
	let feBlend;
	let feGaussianBlur;

	return {
		c() {
			svg = svg_element("svg");
			g = svg_element("g");
			circle = svg_element("circle");
			path = svg_element("path");
			defs = svg_element("defs");
			filter = svg_element("filter");
			feFlood = svg_element("feFlood");
			feBlend = svg_element("feBlend");
			feGaussianBlur = svg_element("feGaussianBlur");
			attr(circle, "cx", "35");
			attr(circle, "cy", "35");
			attr(circle, "r", "15");
			attr(circle, "fill", /*color*/ ctx[0]);
			attr(circle, "fill-opacity", "0.5");
			attr(g, "filter", "url(#filter0_f_8708_78)");
			attr(path, "d", "M53 34.6861H49.5808C49.0576 27.7505 43.5043 22.1974 36.5699 21.6755V18H34.4287V21.6755C27.494 22.1973 21.9407 27.7504 21.4192 34.6861H18V36.8264H21.4192C21.9406 43.7619 27.494 49.315 34.4287 49.838V53H36.5699V49.838C43.5043 49.315 49.0576 43.7619 49.5808 36.8264H53V34.6861ZM46.3569 34.6861H36.5699V24.8983C41.7335 25.4033 45.8515 29.5229 46.3569 34.6861ZM34.4287 24.8983V34.6861H24.6411C25.1476 29.5229 29.2666 25.4033 34.4287 24.8983ZM24.6411 36.8264H34.4287V46.6144C29.2666 46.109 25.1476 41.9906 24.6411 36.8264ZM36.5699 46.6144V36.8264H46.3568C45.8515 41.9906 41.7335 46.109 36.5699 46.6144Z");
			attr(path, "fill", /*color*/ ctx[0]);
			attr(feFlood, "flood-opacity", "0");
			attr(feFlood, "result", "BackgroundImageFix");
			attr(feBlend, "mode", "normal");
			attr(feBlend, "in", "SourceGraphic");
			attr(feBlend, "in2", "BackgroundImageFix");
			attr(feBlend, "result", "shape");
			attr(feGaussianBlur, "stdDeviation", "10");
			attr(feGaussianBlur, "result", "effect1_foregroundBlur_8708_78");
			attr(filter, "id", "filter0_f_8708_78");
			attr(filter, "x", "0");
			attr(filter, "y", "0");
			attr(filter, "width", "70");
			attr(filter, "height", "70");
			attr(filter, "filterUnits", "userSpaceOnUse");
			attr(filter, "color-interpolation-filters", "sRGB");
			attr(svg, "width", "70");
			attr(svg, "height", "70");
			attr(svg, "viewBox", "0 0 70 70");
			attr(svg, "fill", "none");
			attr(svg, "xmlns", "http://www.w3.org/2000/svg");
		},
		m(target, anchor) {
			insert(target, svg, anchor);
			append(svg, g);
			append(g, circle);
			append(svg, path);
			append(svg, defs);
			append(defs, filter);
			append(filter, feFlood);
			append(filter, feBlend);
			append(filter, feGaussianBlur);
		},
		p(ctx, [dirty]) {
			if (dirty & /*color*/ 1) {
				attr(circle, "fill", /*color*/ ctx[0]);
			}

			if (dirty & /*color*/ 1) {
				attr(path, "fill", /*color*/ ctx[0]);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(svg);
		}
	};
}

function aim_icon_rating_index_svelte_instance($$self, $$props, $$invalidate) {
	let { color = '#FFFFFF' } = $$props;

	$$self.$$set = $$props => {
		if ('color' in $$props) $$invalidate(0, color = $$props.color);
	};

	return [color];
}

class Aim_icon_rating extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, aim_icon_rating_index_svelte_instance, aim_icon_rating_index_svelte_create_fragment, safe_not_equal, { color: 0 });
	}
}

/* harmony default export */ const aim_icon_rating_index_svelte = (Aim_icon_rating);
;// CONCATENATED MODULE: ./src/views/hitman/img/hands-background.png
const hands_background_namespaceObject = __webpack_require__.p + "assets/756b61ea221505b1fc56.webp";
;// CONCATENATED MODULE: ./src/views/hitman/rating/img/player-rating-logo.svg
const player_rating_logo_namespaceObject = __webpack_require__.p + "assets/3f026b52c37a119274c9.svg";
;// CONCATENATED MODULE: ./src/views/hitman/rating/index.svelte
/* src\views\hitman\rating\index.svelte generated by Svelte v3.49.0 */








// import { RATING_LIST_MOCK, PLAYER_INFORMATION_MOCK } from './mocks';







function rating_index_svelte_add_css(target) {
	append_styles(target, "svelte-9d0vb0", "@charset \"UTF-8\";@keyframes svelte-9d0vb0-blinking{50%{opacity:0}}@keyframes svelte-9d0vb0-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-9d0vb0-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-9d0vb0-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-9d0vb0-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-9d0vb0-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-9d0vb0-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-9d0vb0-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-9d0vb0-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-9d0vb0-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-9d0vb0-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-9d0vb0-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-9d0vb0-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-9d0vb0-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-9d0vb0-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.hitman-rating.svelte-9d0vb0{display:flex;align-items:center;flex-direction:column;width:100vw;height:100vh;background:rgba(54, 61, 71, 0.75)}.hitman-rating__title.svelte-9d0vb0{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.01875 * 100vw + 0px);margin-top:calc(0.0447916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__title.svelte-9d0vb0{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__title.svelte-9d0vb0{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__title.svelte-9d0vb0{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__title.svelte-9d0vb0{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__title.svelte-9d0vb0{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__title.svelte-9d0vb0{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__title.svelte-9d0vb0{font-size:calc(0.020625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__title.svelte-9d0vb0{margin-top:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__title.svelte-9d0vb0{margin-top:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__title.svelte-9d0vb0{margin-top:calc(0.0344895833 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__title.svelte-9d0vb0{margin-top:calc(0.0492708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__title.svelte-9d0vb0{margin-top:calc(0.0313541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__title.svelte-9d0vb0{margin-top:calc(0.0403125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__title.svelte-9d0vb0{margin-top:calc(0.0492708333 * 100vw + 0px)}}.hitman-rating__background.svelte-9d0vb0{position:absolute;bottom:0;height:calc(0.4114583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__background.svelte-9d0vb0{height:calc(0.4114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__background.svelte-9d0vb0{height:calc(0.4114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__background.svelte-9d0vb0{height:calc(0.3168229167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__background.svelte-9d0vb0{height:calc(0.4526041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__background.svelte-9d0vb0{height:calc(0.2880208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__background.svelte-9d0vb0{height:calc(0.3703125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__background.svelte-9d0vb0{height:calc(0.4526041667 * 100vw + 0px)}}.hitman-rating__logo.svelte-9d0vb0{position:absolute;display:flex;align-items:center;top:calc(0.0416666667 * 100vw + 0px);left:calc(0.03125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__logo.svelte-9d0vb0{top:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__logo.svelte-9d0vb0{top:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__logo.svelte-9d0vb0{top:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__logo.svelte-9d0vb0{top:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__logo.svelte-9d0vb0{top:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__logo.svelte-9d0vb0{top:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__logo.svelte-9d0vb0{top:calc(0.0458333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__logo.svelte-9d0vb0{left:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__logo.svelte-9d0vb0{left:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__logo.svelte-9d0vb0{left:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__logo.svelte-9d0vb0{left:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__logo.svelte-9d0vb0{left:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__logo.svelte-9d0vb0{left:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__logo.svelte-9d0vb0{left:calc(0.034375 * 100vw + 0px)}}.hitman-rating__logo-icon.svelte-9d0vb0{height:calc(0.0390625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__logo-icon.svelte-9d0vb0{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__logo-icon.svelte-9d0vb0{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__logo-icon.svelte-9d0vb0{height:calc(0.030078125 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__logo-icon.svelte-9d0vb0{height:calc(0.04296875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__logo-icon.svelte-9d0vb0{height:calc(0.02734375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__logo-icon.svelte-9d0vb0{height:calc(0.03515625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__logo-icon.svelte-9d0vb0{height:calc(0.04296875 * 100vw + 0px)}}.hitman-rating__logo-title.svelte-9d0vb0{color:#FFFFFF;font-family:\"GothamPro-Bold\";padding-left:calc(0.0130208333 * 100vw + 0px);width:calc(0.0729166667 * 100vw + 0px);line-height:calc(0.0098958333 * 100vw + 0px);font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__logo-title.svelte-9d0vb0{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__logo-title.svelte-9d0vb0{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__logo-title.svelte-9d0vb0{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__logo-title.svelte-9d0vb0{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__logo-title.svelte-9d0vb0{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__logo-title.svelte-9d0vb0{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__logo-title.svelte-9d0vb0{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__logo-title.svelte-9d0vb0{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__logo-title.svelte-9d0vb0{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__logo-title.svelte-9d0vb0{width:calc(0.0561458333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__logo-title.svelte-9d0vb0{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__logo-title.svelte-9d0vb0{width:calc(0.0510416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__logo-title.svelte-9d0vb0{width:calc(0.065625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__logo-title.svelte-9d0vb0{width:calc(0.0802083333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__logo-title.svelte-9d0vb0{line-height:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__logo-title.svelte-9d0vb0{line-height:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__logo-title.svelte-9d0vb0{line-height:calc(0.0076197917 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__logo-title.svelte-9d0vb0{line-height:calc(0.0108854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__logo-title.svelte-9d0vb0{line-height:calc(0.0069270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__logo-title.svelte-9d0vb0{line-height:calc(0.00890625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__logo-title.svelte-9d0vb0{line-height:calc(0.0108854167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__logo-title.svelte-9d0vb0{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__logo-title.svelte-9d0vb0{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__logo-title.svelte-9d0vb0{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__logo-title.svelte-9d0vb0{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__logo-title.svelte-9d0vb0{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__logo-title.svelte-9d0vb0{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__logo-title.svelte-9d0vb0{font-size:calc(0.0114583333 * 100vw + 0px)}}.hitman-rating__player-rank-wrapper.svelte-9d0vb0{display:flex;flex-direction:row;align-items:center;position:absolute;left:calc(0.0604166667 * 100vw + 0px);top:calc(0.2213541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__player-rank-wrapper.svelte-9d0vb0{left:calc(0.0604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__player-rank-wrapper.svelte-9d0vb0{left:calc(0.0604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__player-rank-wrapper.svelte-9d0vb0{left:calc(0.0465208333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__player-rank-wrapper.svelte-9d0vb0{left:calc(0.0664583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__player-rank-wrapper.svelte-9d0vb0{left:calc(0.0422916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__player-rank-wrapper.svelte-9d0vb0{left:calc(0.054375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__player-rank-wrapper.svelte-9d0vb0{left:calc(0.0664583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__player-rank-wrapper.svelte-9d0vb0{top:calc(0.2213541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__player-rank-wrapper.svelte-9d0vb0{top:calc(0.2213541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__player-rank-wrapper.svelte-9d0vb0{top:calc(0.1704427083 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__player-rank-wrapper.svelte-9d0vb0{top:calc(0.2434895833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__player-rank-wrapper.svelte-9d0vb0{top:calc(0.1549479167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__player-rank-wrapper.svelte-9d0vb0{top:calc(0.19921875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__player-rank-wrapper.svelte-9d0vb0{top:calc(0.2434895833 * 100vw + 0px)}}.hitman-rating__player-rank-title.svelte-9d0vb0{display:flex;justify-content:space-between;align-items:center}.hitman-rating__player-rank-name.svelte-9d0vb0{font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.021875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__player-rank-name.svelte-9d0vb0{font-size:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__player-rank-name.svelte-9d0vb0{font-size:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__player-rank-name.svelte-9d0vb0{font-size:calc(0.01684375 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__player-rank-name.svelte-9d0vb0{font-size:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__player-rank-name.svelte-9d0vb0{font-size:calc(0.0153125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__player-rank-name.svelte-9d0vb0{font-size:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__player-rank-name.svelte-9d0vb0{font-size:calc(0.0240625 * 100vw + 0px)}}.hitman-rating__player-rank-logo.svelte-9d0vb0{margin-right:calc(0.0458333333 * 100vw + 0px);margin-bottom:calc(0.0453125 * 100vw + 0px);width:calc(0.0526041667 * 100vw + 0px);height:calc(0.0526041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__player-rank-logo.svelte-9d0vb0{margin-right:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__player-rank-logo.svelte-9d0vb0{margin-right:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__player-rank-logo.svelte-9d0vb0{margin-right:calc(0.0352916667 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__player-rank-logo.svelte-9d0vb0{margin-right:calc(0.0504166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__player-rank-logo.svelte-9d0vb0{margin-right:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__player-rank-logo.svelte-9d0vb0{margin-right:calc(0.04125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__player-rank-logo.svelte-9d0vb0{margin-right:calc(0.0504166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__player-rank-logo.svelte-9d0vb0{margin-bottom:calc(0.0453125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__player-rank-logo.svelte-9d0vb0{margin-bottom:calc(0.0453125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__player-rank-logo.svelte-9d0vb0{margin-bottom:calc(0.034890625 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__player-rank-logo.svelte-9d0vb0{margin-bottom:calc(0.04984375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__player-rank-logo.svelte-9d0vb0{margin-bottom:calc(0.03171875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__player-rank-logo.svelte-9d0vb0{margin-bottom:calc(0.04078125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__player-rank-logo.svelte-9d0vb0{margin-bottom:calc(0.04984375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__player-rank-logo.svelte-9d0vb0{width:calc(0.0526041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__player-rank-logo.svelte-9d0vb0{width:calc(0.0526041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__player-rank-logo.svelte-9d0vb0{width:calc(0.0405052083 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__player-rank-logo.svelte-9d0vb0{width:calc(0.0578645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__player-rank-logo.svelte-9d0vb0{width:calc(0.0368229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__player-rank-logo.svelte-9d0vb0{width:calc(0.04734375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__player-rank-logo.svelte-9d0vb0{width:calc(0.0578645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__player-rank-logo.svelte-9d0vb0{height:calc(0.0526041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__player-rank-logo.svelte-9d0vb0{height:calc(0.0526041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__player-rank-logo.svelte-9d0vb0{height:calc(0.0405052083 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__player-rank-logo.svelte-9d0vb0{height:calc(0.0578645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__player-rank-logo.svelte-9d0vb0{height:calc(0.0368229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__player-rank-logo.svelte-9d0vb0{height:calc(0.04734375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__player-rank-logo.svelte-9d0vb0{height:calc(0.0578645833 * 100vw + 0px)}}.hitman-rating__player-score.svelte-9d0vb0{display:flex;flex-direction:column;align-items:center;text-align:center}.hitman-rating__player-score-num.svelte-9d0vb0{font-family:\"GothamPro-Medium\";background-color:rgba(255, 255, 255, 0.1);color:#FFFFFF;border-radius:calc(0.0130208333 * 100vw + 0px);font-size:calc(0.0104166667 * 100vw + 0px);padding-top:calc(0.0072916667 * 100vw + 0px);padding-bottom:calc(0.0072916667 * 100vw + 0px);width:calc(0.0494791667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__player-score-num.svelte-9d0vb0{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__player-score-num.svelte-9d0vb0{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__player-score-num.svelte-9d0vb0{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__player-score-num.svelte-9d0vb0{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__player-score-num.svelte-9d0vb0{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__player-score-num.svelte-9d0vb0{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__player-score-num.svelte-9d0vb0{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__player-score-num.svelte-9d0vb0{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__player-score-num.svelte-9d0vb0{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__player-score-num.svelte-9d0vb0{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__player-score-num.svelte-9d0vb0{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__player-score-num.svelte-9d0vb0{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__player-score-num.svelte-9d0vb0{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__player-score-num.svelte-9d0vb0{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__player-score-num.svelte-9d0vb0{padding-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__player-score-num.svelte-9d0vb0{padding-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__player-score-num.svelte-9d0vb0{padding-top:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__player-score-num.svelte-9d0vb0{padding-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__player-score-num.svelte-9d0vb0{padding-top:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__player-score-num.svelte-9d0vb0{padding-top:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__player-score-num.svelte-9d0vb0{padding-top:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__player-score-num.svelte-9d0vb0{padding-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__player-score-num.svelte-9d0vb0{padding-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__player-score-num.svelte-9d0vb0{padding-bottom:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__player-score-num.svelte-9d0vb0{padding-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__player-score-num.svelte-9d0vb0{padding-bottom:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__player-score-num.svelte-9d0vb0{padding-bottom:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__player-score-num.svelte-9d0vb0{padding-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__player-score-num.svelte-9d0vb0{width:calc(0.0494791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__player-score-num.svelte-9d0vb0{width:calc(0.0494791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__player-score-num.svelte-9d0vb0{width:calc(0.0380989583 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__player-score-num.svelte-9d0vb0{width:calc(0.0544270833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__player-score-num.svelte-9d0vb0{width:calc(0.0346354167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__player-score-num.svelte-9d0vb0{width:calc(0.04453125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__player-score-num.svelte-9d0vb0{width:calc(0.0544270833 * 100vw + 0px)}}.hitman-rating__player-score-place.svelte-9d0vb0{text-align:center;text-transform:uppercase;color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.0052083333 * 100vw + 0px);line-height:calc(0.0052083333 * 100vw + 0px);margin-top:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__player-score-place.svelte-9d0vb0{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__player-score-place.svelte-9d0vb0{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__player-score-place.svelte-9d0vb0{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__player-score-place.svelte-9d0vb0{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__player-score-place.svelte-9d0vb0{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__player-score-place.svelte-9d0vb0{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__player-score-place.svelte-9d0vb0{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__player-score-place.svelte-9d0vb0{line-height:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__player-score-place.svelte-9d0vb0{line-height:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__player-score-place.svelte-9d0vb0{line-height:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__player-score-place.svelte-9d0vb0{line-height:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__player-score-place.svelte-9d0vb0{line-height:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__player-score-place.svelte-9d0vb0{line-height:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__player-score-place.svelte-9d0vb0{line-height:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__player-score-place.svelte-9d0vb0{margin-top:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__player-score-place.svelte-9d0vb0{margin-top:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__player-score-place.svelte-9d0vb0{margin-top:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__player-score-place.svelte-9d0vb0{margin-top:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__player-score-place.svelte-9d0vb0{margin-top:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__player-score-place.svelte-9d0vb0{margin-top:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__player-score-place.svelte-9d0vb0{margin-top:calc(0.006875 * 100vw + 0px)}}.hitman-rating__player-rank-progress.svelte-9d0vb0{display:flex;align-items:center;position:relative;background-color:rgba(255, 255, 255, 0.2);overflow:hidden;margin-top:calc(0.0114583333 * 100vw + 0px);margin-bottom:calc(0.0104166667 * 100vw + 0px);width:calc(0.2604166667 * 100vw + 0px);height:calc(0.0052083333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__player-rank-progress.svelte-9d0vb0{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__player-rank-progress.svelte-9d0vb0{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__player-rank-progress.svelte-9d0vb0{margin-top:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__player-rank-progress.svelte-9d0vb0{margin-top:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__player-rank-progress.svelte-9d0vb0{margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__player-rank-progress.svelte-9d0vb0{margin-top:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__player-rank-progress.svelte-9d0vb0{margin-top:calc(0.0126041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__player-rank-progress.svelte-9d0vb0{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__player-rank-progress.svelte-9d0vb0{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__player-rank-progress.svelte-9d0vb0{margin-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__player-rank-progress.svelte-9d0vb0{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__player-rank-progress.svelte-9d0vb0{margin-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__player-rank-progress.svelte-9d0vb0{margin-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__player-rank-progress.svelte-9d0vb0{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__player-rank-progress.svelte-9d0vb0{width:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__player-rank-progress.svelte-9d0vb0{width:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__player-rank-progress.svelte-9d0vb0{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__player-rank-progress.svelte-9d0vb0{width:calc(0.2864583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__player-rank-progress.svelte-9d0vb0{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__player-rank-progress.svelte-9d0vb0{width:calc(0.234375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__player-rank-progress.svelte-9d0vb0{width:calc(0.2864583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__player-rank-progress.svelte-9d0vb0{height:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__player-rank-progress.svelte-9d0vb0{height:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__player-rank-progress.svelte-9d0vb0{height:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__player-rank-progress.svelte-9d0vb0{height:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__player-rank-progress.svelte-9d0vb0{height:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__player-rank-progress.svelte-9d0vb0{height:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__player-rank-progress.svelte-9d0vb0{height:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__player-rank-progress.svelte-9d0vb0{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__player-rank-progress.svelte-9d0vb0{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__player-rank-progress.svelte-9d0vb0{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__player-rank-progress.svelte-9d0vb0{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__player-rank-progress.svelte-9d0vb0{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__player-rank-progress.svelte-9d0vb0{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__player-rank-progress.svelte-9d0vb0{border-radius:calc(0.0057291667 * 100vw + 0px)}}.hitman-rating__player-rank-progress-value.svelte-9d0vb0{background-color:#FFFFFF;position:absolute;left:0;height:100%;width:0}.hitman-rating__player-rank-order.svelte-9d0vb0{font-size:calc(0.0078125 * 100vw + 0px);text-align:center;font-family:\"GothamPro\";color:#FFFFFF}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__player-rank-order.svelte-9d0vb0{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__player-rank-order.svelte-9d0vb0{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__player-rank-order.svelte-9d0vb0{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__player-rank-order.svelte-9d0vb0{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__player-rank-order.svelte-9d0vb0{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__player-rank-order.svelte-9d0vb0{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__player-rank-order.svelte-9d0vb0{font-size:calc(0.00859375 * 100vw + 0px)}}.hitman-rating__player-rank-info.svelte-9d0vb0{font-family:\"GothamPro\";color:rgba(255, 255, 255, 0.5);font-size:calc(0.009375 * 100vw + 0px);line-height:calc(0.0125 * 100vw + 0px);margin-top:calc(0.0260416667 * 100vw + 0px);width:calc(0.2541666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__player-rank-info.svelte-9d0vb0{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__player-rank-info.svelte-9d0vb0{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__player-rank-info.svelte-9d0vb0{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__player-rank-info.svelte-9d0vb0{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__player-rank-info.svelte-9d0vb0{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__player-rank-info.svelte-9d0vb0{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__player-rank-info.svelte-9d0vb0{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__player-rank-info.svelte-9d0vb0{line-height:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__player-rank-info.svelte-9d0vb0{line-height:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__player-rank-info.svelte-9d0vb0{line-height:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__player-rank-info.svelte-9d0vb0{line-height:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__player-rank-info.svelte-9d0vb0{line-height:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__player-rank-info.svelte-9d0vb0{line-height:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__player-rank-info.svelte-9d0vb0{line-height:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__player-rank-info.svelte-9d0vb0{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__player-rank-info.svelte-9d0vb0{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__player-rank-info.svelte-9d0vb0{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__player-rank-info.svelte-9d0vb0{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__player-rank-info.svelte-9d0vb0{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__player-rank-info.svelte-9d0vb0{margin-top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__player-rank-info.svelte-9d0vb0{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__player-rank-info.svelte-9d0vb0{width:calc(0.2541666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__player-rank-info.svelte-9d0vb0{width:calc(0.2541666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__player-rank-info.svelte-9d0vb0{width:calc(0.1957083333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__player-rank-info.svelte-9d0vb0{width:calc(0.2795833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__player-rank-info.svelte-9d0vb0{width:calc(0.1779166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__player-rank-info.svelte-9d0vb0{width:calc(0.22875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__player-rank-info.svelte-9d0vb0{width:calc(0.2795833333 * 100vw + 0px)}}.hitman-rating__table-wrapper.svelte-9d0vb0{display:flex;flex-direction:column;position:absolute;right:calc(0.03125 * 100vw + 0px);top:calc(0.1302083333 * 100vw + 0px);width:calc(0.434375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__table-wrapper.svelte-9d0vb0{right:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__table-wrapper.svelte-9d0vb0{right:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__table-wrapper.svelte-9d0vb0{right:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__table-wrapper.svelte-9d0vb0{right:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__table-wrapper.svelte-9d0vb0{right:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__table-wrapper.svelte-9d0vb0{right:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__table-wrapper.svelte-9d0vb0{right:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__table-wrapper.svelte-9d0vb0{top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__table-wrapper.svelte-9d0vb0{top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__table-wrapper.svelte-9d0vb0{top:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__table-wrapper.svelte-9d0vb0{top:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__table-wrapper.svelte-9d0vb0{top:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__table-wrapper.svelte-9d0vb0{top:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__table-wrapper.svelte-9d0vb0{top:calc(0.1432291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__table-wrapper.svelte-9d0vb0{width:calc(0.434375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__table-wrapper.svelte-9d0vb0{width:calc(0.434375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__table-wrapper.svelte-9d0vb0{width:calc(0.33446875 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__table-wrapper.svelte-9d0vb0{width:calc(0.4778125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__table-wrapper.svelte-9d0vb0{width:calc(0.3040625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__table-wrapper.svelte-9d0vb0{width:calc(0.3909375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__table-wrapper.svelte-9d0vb0{width:calc(0.4778125 * 100vw + 0px)}}.hitman-rating__table-title.svelte-9d0vb0{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px);margin-left:calc(0.003125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__table-title.svelte-9d0vb0{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__table-title.svelte-9d0vb0{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__table-title.svelte-9d0vb0{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__table-title.svelte-9d0vb0{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__table-title.svelte-9d0vb0{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__table-title.svelte-9d0vb0{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__table-title.svelte-9d0vb0{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__table-title.svelte-9d0vb0{margin-left:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__table-title.svelte-9d0vb0{margin-left:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__table-title.svelte-9d0vb0{margin-left:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__table-title.svelte-9d0vb0{margin-left:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__table-title.svelte-9d0vb0{margin-left:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__table-title.svelte-9d0vb0{margin-left:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__table-title.svelte-9d0vb0{margin-left:calc(0.0034375 * 100vw + 0px)}}.hitman-rating__table.svelte-9d0vb0{margin-top:calc(0.0130208333 * 100vw + 0px);height:calc(0.3046875 * 100vw + 0px);overflow:auto}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__table.svelte-9d0vb0{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__table.svelte-9d0vb0{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__table.svelte-9d0vb0{margin-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__table.svelte-9d0vb0{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__table.svelte-9d0vb0{margin-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__table.svelte-9d0vb0{margin-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__table.svelte-9d0vb0{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__table.svelte-9d0vb0{height:calc(0.3046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__table.svelte-9d0vb0{height:calc(0.3046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__table.svelte-9d0vb0{height:calc(0.234609375 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__table.svelte-9d0vb0{height:calc(0.33515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__table.svelte-9d0vb0{height:calc(0.21328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__table.svelte-9d0vb0{height:calc(0.27421875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__table.svelte-9d0vb0{height:calc(0.33515625 * 100vw + 0px)}}.hitman-rating__table.svelte-9d0vb0::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__table.svelte-9d0vb0::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__table.svelte-9d0vb0::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__table.svelte-9d0vb0::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__table.svelte-9d0vb0::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__table.svelte-9d0vb0::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__table.svelte-9d0vb0::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__table.svelte-9d0vb0::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__table.svelte-9d0vb0::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__table.svelte-9d0vb0::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__table.svelte-9d0vb0::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__table.svelte-9d0vb0::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__table.svelte-9d0vb0::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__table.svelte-9d0vb0::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__table.svelte-9d0vb0::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.hitman-rating__table.svelte-9d0vb0::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__table.svelte-9d0vb0::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__table.svelte-9d0vb0::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__table.svelte-9d0vb0::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__table.svelte-9d0vb0::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__table.svelte-9d0vb0::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__table.svelte-9d0vb0::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__table.svelte-9d0vb0::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.hitman-rating__table.svelte-9d0vb0::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__table.svelte-9d0vb0::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__table.svelte-9d0vb0::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__table.svelte-9d0vb0::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__table.svelte-9d0vb0::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__table.svelte-9d0vb0::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__table.svelte-9d0vb0::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__table.svelte-9d0vb0::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}.hitman-rating__table-rating-logo.svelte-9d0vb0{display:flex;align-items:center;margin-left:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__table-rating-logo.svelte-9d0vb0{margin-left:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__table-rating-logo.svelte-9d0vb0{margin-left:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__table-rating-logo.svelte-9d0vb0{margin-left:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__table-rating-logo.svelte-9d0vb0{margin-left:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__table-rating-logo.svelte-9d0vb0{margin-left:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__table-rating-logo.svelte-9d0vb0{margin-left:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__table-rating-logo.svelte-9d0vb0{margin-left:calc(0.0091666667 * 100vw + 0px)}}.hitman-rating__table-player.svelte-9d0vb0{display:flex;justify-content:flex-start;align-items:center;height:calc(0.0177083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__table-player.svelte-9d0vb0{height:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__table-player.svelte-9d0vb0{height:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__table-player.svelte-9d0vb0{height:calc(0.0136354167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__table-player.svelte-9d0vb0{height:calc(0.0194791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__table-player.svelte-9d0vb0{height:calc(0.0123958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__table-player.svelte-9d0vb0{height:calc(0.0159375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__table-player.svelte-9d0vb0{height:calc(0.0194791667 * 100vw + 0px)}}.hitman-rating__table-player.svelte-9d0vb0:first-child{margin-top:calc(0.0015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__table-player.svelte-9d0vb0:first-child{margin-top:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__table-player.svelte-9d0vb0:first-child{margin-top:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__table-player.svelte-9d0vb0:first-child{margin-top:calc(0.001203125 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__table-player.svelte-9d0vb0:first-child{margin-top:calc(0.00171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__table-player.svelte-9d0vb0:first-child{margin-top:calc(0.00109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__table-player.svelte-9d0vb0:first-child{margin-top:calc(0.00140625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__table-player.svelte-9d0vb0:first-child{margin-top:calc(0.00171875 * 100vw + 0px)}}.hitman-rating__table-player.svelte-9d0vb0:not(:first-child){margin-top:calc(0.0135416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__table-player.svelte-9d0vb0:not(:first-child){margin-top:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__table-player.svelte-9d0vb0:not(:first-child){margin-top:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__table-player.svelte-9d0vb0:not(:first-child){margin-top:calc(0.0104270833 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__table-player.svelte-9d0vb0:not(:first-child){margin-top:calc(0.0148958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__table-player.svelte-9d0vb0:not(:first-child){margin-top:calc(0.0094791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__table-player.svelte-9d0vb0:not(:first-child){margin-top:calc(0.0121875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__table-player.svelte-9d0vb0:not(:first-child){margin-top:calc(0.0148958333 * 100vw + 0px)}}.hitman-rating__player-position.svelte-9d0vb0{display:flex;justify-content:center;align-items:center;position:relative;width:calc(0.0364583333 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__player-position.svelte-9d0vb0{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__player-position.svelte-9d0vb0{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__player-position.svelte-9d0vb0{width:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__player-position.svelte-9d0vb0{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__player-position.svelte-9d0vb0{width:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__player-position.svelte-9d0vb0{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__player-position.svelte-9d0vb0{width:calc(0.0401041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__player-position.svelte-9d0vb0{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__player-position.svelte-9d0vb0{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__player-position.svelte-9d0vb0{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__player-position.svelte-9d0vb0{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__player-position.svelte-9d0vb0{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__player-position.svelte-9d0vb0{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__player-position.svelte-9d0vb0{height:calc(0.0286458333 * 100vw + 0px)}}.hitman-rating__position-wrapper.svelte-9d0vb0{position:absolute;background-color:rgba(255, 255, 255, 0.1);border-radius:50%;width:calc(0.015625 * 100vw + 0px);height:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__position-wrapper.svelte-9d0vb0{width:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__position-wrapper.svelte-9d0vb0{width:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__position-wrapper.svelte-9d0vb0{width:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__position-wrapper.svelte-9d0vb0{width:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__position-wrapper.svelte-9d0vb0{width:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__position-wrapper.svelte-9d0vb0{width:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__position-wrapper.svelte-9d0vb0{width:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__position-wrapper.svelte-9d0vb0{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__position-wrapper.svelte-9d0vb0{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__position-wrapper.svelte-9d0vb0{height:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__position-wrapper.svelte-9d0vb0{height:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__position-wrapper.svelte-9d0vb0{height:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__position-wrapper.svelte-9d0vb0{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__position-wrapper.svelte-9d0vb0{height:calc(0.0171875 * 100vw + 0px)}}.hitman-rating__position-star-wrapper.svelte-9d0vb0{display:flex;align-items:center;justify-content:center;position:absolute;width:calc(0.0364583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__position-star-wrapper.svelte-9d0vb0{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__position-star-wrapper.svelte-9d0vb0{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__position-star-wrapper.svelte-9d0vb0{width:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__position-star-wrapper.svelte-9d0vb0{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__position-star-wrapper.svelte-9d0vb0{width:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__position-star-wrapper.svelte-9d0vb0{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__position-star-wrapper.svelte-9d0vb0{width:calc(0.0401041667 * 100vw + 0px)}}.hitman-rating__position-value.svelte-9d0vb0{font-family:\"GothamPro-Bold\";color:#FFFFFF;z-index:1;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__position-value.svelte-9d0vb0{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__position-value.svelte-9d0vb0{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__position-value.svelte-9d0vb0{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__position-value.svelte-9d0vb0{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__position-value.svelte-9d0vb0{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__position-value.svelte-9d0vb0{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__position-value.svelte-9d0vb0{font-size:calc(0.0091666667 * 100vw + 0px)}}.hitman-rating__position-value--big.svelte-9d0vb0{font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__position-value--big.svelte-9d0vb0{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__position-value--big.svelte-9d0vb0{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__position-value--big.svelte-9d0vb0{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__position-value--big.svelte-9d0vb0{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__position-value--big.svelte-9d0vb0{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__position-value--big.svelte-9d0vb0{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__position-value--big.svelte-9d0vb0{font-size:calc(0.0114583333 * 100vw + 0px)}}.hitman-rating__position-player-name.svelte-9d0vb0{color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.0078125 * 100vw + 0px);margin-left:calc(0.0104166667 * 100vw + 0px);width:calc(0.1041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__position-player-name.svelte-9d0vb0{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__position-player-name.svelte-9d0vb0{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__position-player-name.svelte-9d0vb0{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__position-player-name.svelte-9d0vb0{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__position-player-name.svelte-9d0vb0{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__position-player-name.svelte-9d0vb0{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__position-player-name.svelte-9d0vb0{font-size:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__position-player-name.svelte-9d0vb0{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__position-player-name.svelte-9d0vb0{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__position-player-name.svelte-9d0vb0{margin-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__position-player-name.svelte-9d0vb0{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__position-player-name.svelte-9d0vb0{margin-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__position-player-name.svelte-9d0vb0{margin-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__position-player-name.svelte-9d0vb0{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__position-player-name.svelte-9d0vb0{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__position-player-name.svelte-9d0vb0{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__position-player-name.svelte-9d0vb0{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__position-player-name.svelte-9d0vb0{width:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__position-player-name.svelte-9d0vb0{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__position-player-name.svelte-9d0vb0{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__position-player-name.svelte-9d0vb0{width:calc(0.1145833333 * 100vw + 0px)}}.hitman-rating__position-score.svelte-9d0vb0{display:flex;flex-direction:column;font-family:\"GothamPro\";width:calc(0.09375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__position-score.svelte-9d0vb0{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__position-score.svelte-9d0vb0{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__position-score.svelte-9d0vb0{width:calc(0.0721875 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__position-score.svelte-9d0vb0{width:calc(0.103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__position-score.svelte-9d0vb0{width:calc(0.065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__position-score.svelte-9d0vb0{width:calc(0.084375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__position-score.svelte-9d0vb0{width:calc(0.103125 * 100vw + 0px)}}.hitman-rating__position-rank.svelte-9d0vb0{display:flex;flex-direction:column;font-family:\"GothamPro\";width:calc(0.0833333333 * 100vw + 0px);margin-left:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__position-rank.svelte-9d0vb0{width:calc(0.0833333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__position-rank.svelte-9d0vb0{width:calc(0.0833333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__position-rank.svelte-9d0vb0{width:calc(0.0641666667 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__position-rank.svelte-9d0vb0{width:calc(0.0916666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__position-rank.svelte-9d0vb0{width:calc(0.0583333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__position-rank.svelte-9d0vb0{width:calc(0.075 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__position-rank.svelte-9d0vb0{width:calc(0.0916666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__position-rank.svelte-9d0vb0{margin-left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__position-rank.svelte-9d0vb0{margin-left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__position-rank.svelte-9d0vb0{margin-left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__position-rank.svelte-9d0vb0{margin-left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__position-rank.svelte-9d0vb0{margin-left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__position-rank.svelte-9d0vb0{margin-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__position-rank.svelte-9d0vb0{margin-left:calc(0.0286458333 * 100vw + 0px)}}.hitman-rating__position-score-title.svelte-9d0vb0{color:#FFFFFF;font-size:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__position-score-title.svelte-9d0vb0{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__position-score-title.svelte-9d0vb0{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__position-score-title.svelte-9d0vb0{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__position-score-title.svelte-9d0vb0{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__position-score-title.svelte-9d0vb0{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__position-score-title.svelte-9d0vb0{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__position-score-title.svelte-9d0vb0{font-size:calc(0.00859375 * 100vw + 0px)}}.hitman-rating__position-score-descr.svelte-9d0vb0{color:rgba(255, 255, 255, 0.5);margin-top:calc(0.0026041667 * 100vw + 0px);font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__position-score-descr.svelte-9d0vb0{margin-top:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__position-score-descr.svelte-9d0vb0{margin-top:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__position-score-descr.svelte-9d0vb0{margin-top:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__position-score-descr.svelte-9d0vb0{margin-top:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__position-score-descr.svelte-9d0vb0{margin-top:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__position-score-descr.svelte-9d0vb0{margin-top:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__position-score-descr.svelte-9d0vb0{margin-top:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__position-score-descr.svelte-9d0vb0{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__position-score-descr.svelte-9d0vb0{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__position-score-descr.svelte-9d0vb0{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__position-score-descr.svelte-9d0vb0{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__position-score-descr.svelte-9d0vb0{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__position-score-descr.svelte-9d0vb0{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__position-score-descr.svelte-9d0vb0{font-size:calc(0.0057291667 * 100vw + 0px)}}.hitman-rating__table-player-stats.svelte-9d0vb0{position:relative;display:flex;align-items:center;background-color:rgba(255, 255, 255, 0.1);border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.4166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__table-player-stats.svelte-9d0vb0{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__table-player-stats.svelte-9d0vb0{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__table-player-stats.svelte-9d0vb0{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__table-player-stats.svelte-9d0vb0{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__table-player-stats.svelte-9d0vb0{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__table-player-stats.svelte-9d0vb0{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__table-player-stats.svelte-9d0vb0{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__table-player-stats.svelte-9d0vb0{width:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__table-player-stats.svelte-9d0vb0{width:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__table-player-stats.svelte-9d0vb0{width:calc(0.3208333333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__table-player-stats.svelte-9d0vb0{width:calc(0.4583333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__table-player-stats.svelte-9d0vb0{width:calc(0.2916666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__table-player-stats.svelte-9d0vb0{width:calc(0.375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__table-player-stats.svelte-9d0vb0{width:calc(0.4583333333 * 100vw + 0px)}}.hitman-rating__table-player-stats.svelte-9d0vb0::after{content:\"вы\";position:absolute;font-family:\"GothamPro-Medium\";display:flex;align-items:center;justify-content:center;color:#FFFFFF;background-color:#FF3737;border-radius:calc(0.0260416667 * 100vw + 0px);font-size:calc(0.0052083333 * 100vw + 0px);line-height:calc(0.003125 * 100vw + 0px);width:calc(0.0104166667 * 100vw + 0px);height:calc(0.0104166667 * 100vw + 0px);left:calc(-0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{border-radius:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{border-radius:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{border-radius:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{border-radius:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{border-radius:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{border-radius:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{border-radius:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{line-height:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{line-height:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{line-height:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{line-height:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{line-height:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{line-height:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{line-height:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{width:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{width:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{width:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{width:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{width:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{width:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{width:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{height:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{left:calc(-0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{left:calc(-0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{left:calc(-0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{left:calc(-0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{left:calc(-0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{left:calc(-0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__table-player-stats.svelte-9d0vb0::after{left:calc(-0.0057291667 * 100vw + 0px)}}.hitman-rating__decorative-rating-image.svelte-9d0vb0{width:calc(0.0104166667 * 100vw + 0px);height:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__decorative-rating-image.svelte-9d0vb0{width:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__decorative-rating-image.svelte-9d0vb0{width:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__decorative-rating-image.svelte-9d0vb0{width:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__decorative-rating-image.svelte-9d0vb0{width:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__decorative-rating-image.svelte-9d0vb0{width:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__decorative-rating-image.svelte-9d0vb0{width:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__decorative-rating-image.svelte-9d0vb0{width:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-rating__decorative-rating-image.svelte-9d0vb0{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-rating__decorative-rating-image.svelte-9d0vb0{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-rating__decorative-rating-image.svelte-9d0vb0{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-rating__decorative-rating-image.svelte-9d0vb0{height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-rating__decorative-rating-image.svelte-9d0vb0{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-rating__decorative-rating-image.svelte-9d0vb0{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-rating__decorative-rating-image.svelte-9d0vb0{height:calc(0.0114583333 * 100vw + 0px)}}");
}

function rating_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[7] = list[i];
	return child_ctx;
}

// (3180:20) {:else}
function rating_index_svelte_create_else_block(ctx) {
	let div1;
	let div0;
	let t0;
	let span;
	let t1_value = /*row*/ ctx[7].position + "";
	let t1;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			t0 = space();
			span = internal_element("span");
			t1 = internal_text(t1_value);
			attr(div0, "class", "hitman-rating__position-wrapper svelte-9d0vb0");
			attr(span, "class", "hitman-rating__position-value svelte-9d0vb0");
			attr(div1, "class", "hitman-rating__player-position svelte-9d0vb0");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div1, t0);
			append(div1, span);
			append(span, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*ratingList*/ 2 && t1_value !== (t1_value = /*row*/ ctx[7].position + "")) set_data(t1, t1_value);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (3171:20) {#if row.position <= 3}
function rating_index_svelte_create_if_block(ctx) {
	let div1;
	let div0;
	let aimratingicon;
	let t0;
	let span;
	let t1_value = /*row*/ ctx[7].position + "";
	let t1;
	let current;

	aimratingicon = new aim_icon_rating_index_svelte({
			props: {
				color: rating_constants_MAP_POSITION_TO_COLOR[/*row*/ ctx[7].position]
			}
		});

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			create_component(aimratingicon.$$.fragment);
			t0 = space();
			span = internal_element("span");
			t1 = internal_text(t1_value);
			attr(div0, "class", "hitman-rating__position-star-wrapper svelte-9d0vb0");
			attr(span, "class", "hitman-rating__position-value hitman-rating__position-value--big svelte-9d0vb0");
			attr(div1, "class", "hitman-rating__player-position svelte-9d0vb0");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			mount_component(aimratingicon, div0, null);
			append(div1, t0);
			append(div1, span);
			append(span, t1);
			current = true;
		},
		p(ctx, dirty) {
			const aimratingicon_changes = {};
			if (dirty & /*ratingList*/ 2) aimratingicon_changes.color = rating_constants_MAP_POSITION_TO_COLOR[/*row*/ ctx[7].position];
			aimratingicon.$set(aimratingicon_changes);
			if ((!current || dirty & /*ratingList*/ 2) && t1_value !== (t1_value = /*row*/ ctx[7].position + "")) set_data(t1, t1_value);
		},
		i(local) {
			if (current) return;
			transition_in(aimratingicon.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(aimratingicon.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			destroy_component(aimratingicon);
		}
	};
}

// (3169:12) {#each ratingList as row }
function rating_index_svelte_create_each_block(ctx) {
	let div2;
	let current_block_type_index;
	let if_block;
	let t0;
	let span;
	let t1_value = /*row*/ ctx[7].name + "";
	let t1;
	let t2;
	let div0;
	let p0;
	let t3_value = formatMoney(/*row*/ ctx[7].points) + "";
	let t3;
	let t4;
	let p1;
	let t6;
	let div1;
	let p2;
	let t7_value = /*row*/ ctx[7].rank + "";
	let t7;
	let t8;
	let p3;
	let p4;
	let t10;
	let current;
	const if_block_creators = [rating_index_svelte_create_if_block, rating_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (/*row*/ ctx[7].position <= 3) return 0;
		return 1;
	}

	current_block_type_index = select_block_type(ctx, -1);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div2 = internal_element("div");
			if_block.c();
			t0 = space();
			span = internal_element("span");
			t1 = internal_text(t1_value);
			t2 = space();
			div0 = internal_element("div");
			p0 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = space();
			p1 = internal_element("p");
			p1.textContent = "очков";
			t6 = space();
			div1 = internal_element("div");
			p2 = internal_element("p");
			t7 = internal_text(t7_value);
			t8 = space();
			p3 = internal_element("p");
			p4 = internal_element("p");
			p4.textContent = "Звание";
			t10 = space();
			attr(span, "class", "hitman-rating__position-player-name svelte-9d0vb0");
			attr(p0, "class", "hitman-rating__position-score-title svelte-9d0vb0");
			attr(p1, "class", "hitman-rating__position-score-descr svelte-9d0vb0");
			attr(div0, "class", "hitman-rating__position-score svelte-9d0vb0");
			attr(p2, "class", "hitman-rating__position-score-title svelte-9d0vb0");
			attr(p4, "class", "hitman-rating__position-score-descr svelte-9d0vb0");
			attr(div1, "class", "hitman-rating__position-rank svelte-9d0vb0");
			attr(div2, "class", "hitman-rating__table-player svelte-9d0vb0");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			if_blocks[current_block_type_index].m(div2, null);
			append(div2, t0);
			append(div2, span);
			append(span, t1);
			append(div2, t2);
			append(div2, div0);
			append(div0, p0);
			append(p0, t3);
			append(div0, t4);
			append(div0, p1);
			append(div2, t6);
			append(div2, div1);
			append(div1, p2);
			append(p2, t7);
			append(p2, t8);
			append(div1, p3);
			append(div1, p4);
			append(div2, t10);
			current = true;
		},
		p(ctx, dirty) {
			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(div2, t0);
			}

			if ((!current || dirty & /*ratingList*/ 2) && t1_value !== (t1_value = /*row*/ ctx[7].name + "")) set_data(t1, t1_value);
			if ((!current || dirty & /*ratingList*/ 2) && t3_value !== (t3_value = formatMoney(/*row*/ ctx[7].points) + "")) set_data(t3, t3_value);
			if ((!current || dirty & /*ratingList*/ 2) && t7_value !== (t7_value = /*row*/ ctx[7].rank + "")) set_data(t7, t7_value);
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div2);
			if_blocks[current_block_type_index].d();
		}
	};
}

function hitman_rating_index_svelte_create_fragment(ctx) {
	let div15;
	let p0;
	let t1;
	let exitbutton;
	let t2;
	let img0;
	let img0_src_value;
	let t3;
	let div0;
	let img1;
	let img1_src_value;
	let t4;
	let p1;
	let t6;
	let div6;
	let img2;
	let img2_src_value;
	let t7;
	let div5;
	let div2;
	let h2;
	let t8_value = /*playerInformation*/ ctx[0].rank + "";
	let t8;
	let t9;
	let div1;
	let p2;
	let t10_value = /*playerInformation*/ ctx[0].position + "";
	let t10;
	let t11;
	let p3;
	let t13;
	let div4;
	let div3;
	let div3_style_value;
	let t14;
	let p4;
	let t16;
	let p5;
	let t21;
	let div14;
	let div7;
	let img3;
	let img3_src_value;
	let t22;
	let p6;
	let t24;
	let div8;
	let t25;
	let div13;
	let div10;
	let div9;
	let t26;
	let span0;
	let t27_value = /*playerInformation*/ ctx[0].position + "";
	let t27;
	let t28;
	let span1;
	let t29_value = /*playerInformation*/ ctx[0].name + "";
	let t29;
	let t30;
	let div11;
	let p7;
	let t31_value = formatMoney(/*playerInformation*/ ctx[0].points) + "";
	let t31;
	let t32;
	let p8;
	let t34;
	let div12;
	let p9;
	let t35_value = /*playerInformation*/ ctx[0].rank + "";
	let t35;
	let t36;
	let p10;
	let p11;
	let current;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[2],
				fixedPosition: true
			}
		});

	let each_value = /*ratingList*/ ctx[1];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = rating_index_svelte_create_each_block(rating_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			div15 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Рейтинг хитманов";
			t1 = space();
			create_component(exitbutton.$$.fragment);
			t2 = space();
			img0 = internal_element("img");
			t3 = space();
			div0 = internal_element("div");
			img1 = internal_element("img");
			t4 = space();
			p1 = internal_element("p");
			p1.textContent = "Заказные убийства";
			t6 = space();
			div6 = internal_element("div");
			img2 = internal_element("img");
			t7 = space();
			div5 = internal_element("div");
			div2 = internal_element("div");
			h2 = internal_element("h2");
			t8 = internal_text(t8_value);
			t9 = space();
			div1 = internal_element("div");
			p2 = internal_element("p");
			t10 = internal_text(t10_value);
			t11 = space();
			p3 = internal_element("p");
			p3.textContent = "Место в рейтинге";
			t13 = space();
			div4 = internal_element("div");
			div3 = internal_element("div");
			t14 = space();
			p4 = internal_element("p");
			p4.textContent = "2 / 10 заказов выполнено";
			t16 = space();
			p5 = internal_element("p");

			p5.innerHTML = `Набирайте очки хитмана, выполняя заказы, которые
                <br/>
                передаёт организация, или другие жители города.
                <br/>
                За все успешные выполнения заказов вы будете
                <br/>
                получать очки навыка и продвигаться в рейтинге`;

			t21 = space();
			div14 = internal_element("div");
			div7 = internal_element("div");
			img3 = internal_element("img");
			t22 = space();
			p6 = internal_element("p");
			p6.textContent = "Заказные убийства";
			t24 = space();
			div8 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t25 = space();
			div13 = internal_element("div");
			div10 = internal_element("div");
			div9 = internal_element("div");
			t26 = space();
			span0 = internal_element("span");
			t27 = internal_text(t27_value);
			t28 = space();
			span1 = internal_element("span");
			t29 = internal_text(t29_value);
			t30 = space();
			div11 = internal_element("div");
			p7 = internal_element("p");
			t31 = internal_text(t31_value);
			t32 = space();
			p8 = internal_element("p");
			p8.textContent = "очков";
			t34 = space();
			div12 = internal_element("div");
			p9 = internal_element("p");
			t35 = internal_text(t35_value);
			t36 = space();
			p10 = internal_element("p");
			p11 = internal_element("p");
			p11.textContent = "Звание";
			attr(p0, "class", "hitman-rating__title svelte-9d0vb0");
			attr(img0, "class", "hitman-rating__background svelte-9d0vb0");
			if (!src_url_equal(img0.src, img0_src_value = hands_background_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "background");
			attr(img1, "class", "hitman-rating__logo-icon svelte-9d0vb0");
			if (!src_url_equal(img1.src, img1_src_value = hitman_img_logo_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "logo");
			attr(p1, "class", "hitman-rating__logo-title svelte-9d0vb0");
			attr(div0, "class", "hitman-rating__logo svelte-9d0vb0");
			attr(img2, "class", "hitman-rating__player-rank-logo svelte-9d0vb0");
			if (!src_url_equal(img2.src, img2_src_value = player_rating_logo_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "player-logo");
			attr(h2, "class", "hitman-rating__player-rank-name svelte-9d0vb0");
			attr(p2, "class", "hitman-rating__player-score-num svelte-9d0vb0");
			attr(p3, "class", "hitman-rating__player-score-place svelte-9d0vb0");
			attr(div1, "class", "hitman-rating__player-score svelte-9d0vb0");
			attr(div2, "class", "hitman-rating__player-rank-title svelte-9d0vb0");
			attr(div3, "class", "hitman-rating__player-rank-progress-value svelte-9d0vb0");
			attr(div3, "style", div3_style_value = `width: ${/*playerInformation*/ ctx[0].orders / (/*playerInformation*/ ctx[0].maxOrders / 100)}%;`);
			attr(div4, "class", "hitman-rating__player-rank-progress svelte-9d0vb0");
			attr(p4, "class", "hitman-rating__player-rank-order svelte-9d0vb0");
			attr(p5, "class", "hitman-rating__player-rank-info svelte-9d0vb0");
			attr(div5, "class", "hitman-rating__player-rank-body");
			attr(div6, "class", "hitman-rating__player-rank-wrapper svelte-9d0vb0");
			attr(img3, "class", "hitman-rating__decorative-rating-image svelte-9d0vb0");
			if (!src_url_equal(img3.src, img3_src_value = level_logo_namespaceObject)) attr(img3, "src", img3_src_value);
			attr(img3, "alt", "ratingLogoIcon");
			attr(p6, "class", "hitman-rating__table-title svelte-9d0vb0");
			attr(div7, "class", "hitman-rating__table-rating-logo svelte-9d0vb0");
			attr(div8, "class", "hitman-rating__table svelte-9d0vb0");
			attr(div9, "class", "hitman-rating__position-wrapper svelte-9d0vb0");
			attr(span0, "class", "hitman-rating__position-value svelte-9d0vb0");
			attr(div10, "class", "hitman-rating__player-position svelte-9d0vb0");
			attr(span1, "class", "hitman-rating__position-player-name svelte-9d0vb0");
			attr(p7, "class", "hitman-rating__position-score-title svelte-9d0vb0");
			attr(p8, "class", "hitman-rating__position-score-descr svelte-9d0vb0");
			attr(div11, "class", "hitman-rating__position-score svelte-9d0vb0");
			attr(p9, "class", "hitman-rating__position-score-title svelte-9d0vb0");
			attr(p11, "class", "hitman-rating__position-score-descr svelte-9d0vb0");
			attr(div12, "class", "hitman-rating__position-rank svelte-9d0vb0");
			attr(div13, "class", "hitman-rating__table-player-stats svelte-9d0vb0");
			attr(div14, "class", "hitman-rating__table-wrapper svelte-9d0vb0");
			attr(div15, "class", "hitman-rating svelte-9d0vb0");
		},
		m(target, anchor) {
			insert(target, div15, anchor);
			append(div15, p0);
			append(div15, t1);
			mount_component(exitbutton, div15, null);
			append(div15, t2);
			append(div15, img0);
			append(div15, t3);
			append(div15, div0);
			append(div0, img1);
			append(div0, t4);
			append(div0, p1);
			append(div15, t6);
			append(div15, div6);
			append(div6, img2);
			append(div6, t7);
			append(div6, div5);
			append(div5, div2);
			append(div2, h2);
			append(h2, t8);
			append(div2, t9);
			append(div2, div1);
			append(div1, p2);
			append(p2, t10);
			append(div1, t11);
			append(div1, p3);
			append(div5, t13);
			append(div5, div4);
			append(div4, div3);
			append(div5, t14);
			append(div5, p4);
			append(div5, t16);
			append(div5, p5);
			append(div15, t21);
			append(div15, div14);
			append(div14, div7);
			append(div7, img3);
			append(div7, t22);
			append(div7, p6);
			append(div14, t24);
			append(div14, div8);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div8, null);
			}

			append(div14, t25);
			append(div14, div13);
			append(div13, div10);
			append(div10, div9);
			append(div10, t26);
			append(div10, span0);
			append(span0, t27);
			append(div13, t28);
			append(div13, span1);
			append(span1, t29);
			append(div13, t30);
			append(div13, div11);
			append(div11, p7);
			append(p7, t31);
			append(div11, t32);
			append(div11, p8);
			append(div13, t34);
			append(div13, div12);
			append(div12, p9);
			append(p9, t35);
			append(p9, t36);
			append(div12, p10);
			append(div12, p11);
			current = true;
		},
		p(ctx, [dirty]) {
			if ((!current || dirty & /*playerInformation*/ 1) && t8_value !== (t8_value = /*playerInformation*/ ctx[0].rank + "")) set_data(t8, t8_value);
			if ((!current || dirty & /*playerInformation*/ 1) && t10_value !== (t10_value = /*playerInformation*/ ctx[0].position + "")) set_data(t10, t10_value);

			if (!current || dirty & /*playerInformation*/ 1 && div3_style_value !== (div3_style_value = `width: ${/*playerInformation*/ ctx[0].orders / (/*playerInformation*/ ctx[0].maxOrders / 100)}%;`)) {
				attr(div3, "style", div3_style_value);
			}

			if (dirty & /*ratingList, formatMoney, MAP_POSITION_TO_COLOR*/ 2) {
				each_value = /*ratingList*/ ctx[1];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = rating_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = rating_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div8, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}

			if ((!current || dirty & /*playerInformation*/ 1) && t27_value !== (t27_value = /*playerInformation*/ ctx[0].position + "")) set_data(t27, t27_value);
			if ((!current || dirty & /*playerInformation*/ 1) && t29_value !== (t29_value = /*playerInformation*/ ctx[0].name + "")) set_data(t29, t29_value);
			if ((!current || dirty & /*playerInformation*/ 1) && t31_value !== (t31_value = formatMoney(/*playerInformation*/ ctx[0].points) + "")) set_data(t31, t31_value);
			if ((!current || dirty & /*playerInformation*/ 1) && t35_value !== (t35_value = /*playerInformation*/ ctx[0].rank + "")) set_data(t35, t35_value);
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div15);
			destroy_component(exitbutton);
			destroy_each(each_blocks, detaching);
		}
	};
}

function hitman_rating_index_svelte_instance($$self, $$props, $$invalidate) {
	let playerInformation = {};
	let ratingList = [];

	const initializePlayerInformation = playerInformationDto => {
		$$invalidate(0, playerInformation = playerInformationDto);
	};

	const initializeRatingList = ratingListDto => {
		$$invalidate(1, ratingList = ratingListDto);
	};

	const handleClose = () => {
		
	}; // exec close event

	const unregisterInitializePlayerInfoEvent = registerEvent('hitman.rating.playerInformation', initializePlayerInformation);
	const unregisterInitializeRatingListEvent = registerEvent('hitman.rating.initialize', initializeRatingList);

	onDestroy(() => {
		unregisterInitializePlayerInfoEvent();
		unregisterInitializeRatingListEvent();
	});

	return [playerInformation, ratingList, handleClose];
}

class rating_index_svelte_Rating extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, hitman_rating_index_svelte_instance, hitman_rating_index_svelte_create_fragment, safe_not_equal, {}, rating_index_svelte_add_css);
	}
}

/* harmony default export */ const hitman_rating_index_svelte = (rating_index_svelte_Rating);
;// CONCATENATED MODULE: ./src/views/hitman/quests/img/hitman.png
const quests_img_hitman_namespaceObject = __webpack_require__.p + "assets/3bc7379e8b937d9ae0db.webp";
;// CONCATENATED MODULE: ./src/views/hitman/quests/components/accordion/img/arrow.svg
const accordion_img_arrow_namespaceObject = __webpack_require__.p + "assets/60aa0149fcc38157134b.svg";
;// CONCATENATED MODULE: ./src/views/hitman/quests/components/accordion/img/gun-logo.svg
const gun_logo_namespaceObject = __webpack_require__.p + "assets/af30207b7f089009652f.svg";
;// CONCATENATED MODULE: ./src/views/hitman/quests/components/accordion/img/time-logo.svg
const time_logo_namespaceObject = __webpack_require__.p + "assets/d9a3a56e55503dca24fe.svg";
;// CONCATENATED MODULE: ./src/views/hitman/quests/components/accordion/index.svelte
/* src\views\hitman\quests\components\accordion\index.svelte generated by Svelte v3.49.0 */









function components_accordion_index_svelte_add_css(target) {
	append_styles(target, "svelte-1jshrq5", "@keyframes svelte-1jshrq5-blinking{50%{opacity:0}}@keyframes svelte-1jshrq5-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1jshrq5-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1jshrq5-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1jshrq5-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1jshrq5-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1jshrq5-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1jshrq5-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1jshrq5-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1jshrq5-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1jshrq5-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1jshrq5-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1jshrq5-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1jshrq5-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1jshrq5-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.hitman-quests__items-block.svelte-1jshrq5{border:1px solid rgba(255, 255, 255, 0.25);border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.3645833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-block.svelte-1jshrq5{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-block.svelte-1jshrq5{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-block.svelte-1jshrq5{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-block.svelte-1jshrq5{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-block.svelte-1jshrq5{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-block.svelte-1jshrq5{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-block.svelte-1jshrq5{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-block.svelte-1jshrq5{width:calc(0.3645833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-block.svelte-1jshrq5{width:calc(0.3645833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-block.svelte-1jshrq5{width:calc(0.2807291667 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-block.svelte-1jshrq5{width:calc(0.4010416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-block.svelte-1jshrq5{width:calc(0.2552083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-block.svelte-1jshrq5{width:calc(0.328125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-block.svelte-1jshrq5{width:calc(0.4010416667 * 100vw + 0px)}}.hitman-quests__items-block.svelte-1jshrq5:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-block.svelte-1jshrq5:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-block.svelte-1jshrq5:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-block.svelte-1jshrq5:not(:first-child){margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-block.svelte-1jshrq5:not(:first-child){margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-block.svelte-1jshrq5:not(:first-child){margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-block.svelte-1jshrq5:not(:first-child){margin-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-block.svelte-1jshrq5:not(:first-child){margin-top:calc(0.0114583333 * 100vw + 0px)}}.hitman-quests__items-block-upper.svelte-1jshrq5{display:flex;align-items:center;justify-content:space-between}.hitman-quests__items-block-text.svelte-1jshrq5{padding-top:calc(0.0152604167 * 100vw + 0px);padding-bottom:calc(0.0151041667 * 100vw + 0px);padding-left:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-block-text.svelte-1jshrq5{padding-top:calc(0.0152604167 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-block-text.svelte-1jshrq5{padding-top:calc(0.0152604167 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-block-text.svelte-1jshrq5{padding-top:calc(0.0117505208 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-block-text.svelte-1jshrq5{padding-top:calc(0.0167864583 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-block-text.svelte-1jshrq5{padding-top:calc(0.0106822917 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-block-text.svelte-1jshrq5{padding-top:calc(0.013734375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-block-text.svelte-1jshrq5{padding-top:calc(0.0167864583 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-block-text.svelte-1jshrq5{padding-bottom:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-block-text.svelte-1jshrq5{padding-bottom:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-block-text.svelte-1jshrq5{padding-bottom:calc(0.0116302083 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-block-text.svelte-1jshrq5{padding-bottom:calc(0.0166145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-block-text.svelte-1jshrq5{padding-bottom:calc(0.0105729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-block-text.svelte-1jshrq5{padding-bottom:calc(0.01359375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-block-text.svelte-1jshrq5{padding-bottom:calc(0.0166145833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-block-text.svelte-1jshrq5{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-block-text.svelte-1jshrq5{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-block-text.svelte-1jshrq5{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-block-text.svelte-1jshrq5{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-block-text.svelte-1jshrq5{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-block-text.svelte-1jshrq5{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-block-text.svelte-1jshrq5{padding-left:calc(0.0143229167 * 100vw + 0px)}}.hitman-quests__items-block-title-wrapper.svelte-1jshrq5{display:flex;align-items:center}.hitman-quests__items-block-arrow--opened.svelte-1jshrq5{transform:rotate(180deg)}.hitman-quests__items-block-title.svelte-1jshrq5{color:#FFFFFF;font-family:\"GothamPro-Medium\";margin-left:calc(0.003125 * 100vw + 0px);font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-block-title.svelte-1jshrq5{margin-left:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-block-title.svelte-1jshrq5{margin-left:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-block-title.svelte-1jshrq5{margin-left:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-block-title.svelte-1jshrq5{margin-left:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-block-title.svelte-1jshrq5{margin-left:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-block-title.svelte-1jshrq5{margin-left:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-block-title.svelte-1jshrq5{margin-left:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-block-title.svelte-1jshrq5{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-block-title.svelte-1jshrq5{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-block-title.svelte-1jshrq5{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-block-title.svelte-1jshrq5{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-block-title.svelte-1jshrq5{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-block-title.svelte-1jshrq5{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-block-title.svelte-1jshrq5{font-size:calc(0.0103125 * 100vw + 0px)}}.hitman-quests__items-block-descr.svelte-1jshrq5{color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.00625 * 100vw + 0px);margin-top:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-block-descr.svelte-1jshrq5{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-block-descr.svelte-1jshrq5{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-block-descr.svelte-1jshrq5{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-block-descr.svelte-1jshrq5{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-block-descr.svelte-1jshrq5{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-block-descr.svelte-1jshrq5{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-block-descr.svelte-1jshrq5{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-block-descr.svelte-1jshrq5{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-block-descr.svelte-1jshrq5{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-block-descr.svelte-1jshrq5{margin-top:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-block-descr.svelte-1jshrq5{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-block-descr.svelte-1jshrq5{margin-top:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-block-descr.svelte-1jshrq5{margin-top:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-block-descr.svelte-1jshrq5{margin-top:calc(0.0200520833 * 100vw + 0px)}}.hitman-quests__items-requirement-wrapper.svelte-1jshrq5{display:flex;margin-top:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-requirement-wrapper.svelte-1jshrq5{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-requirement-wrapper.svelte-1jshrq5{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-requirement-wrapper.svelte-1jshrq5{margin-top:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-requirement-wrapper.svelte-1jshrq5{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-requirement-wrapper.svelte-1jshrq5{margin-top:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-requirement-wrapper.svelte-1jshrq5{margin-top:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-requirement-wrapper.svelte-1jshrq5{margin-top:calc(0.0200520833 * 100vw + 0px)}}.hitman-quests__items-requirement-logo.svelte-1jshrq5{height:calc(0.015625 * 100vw + 0px);margin-right:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-requirement-logo.svelte-1jshrq5{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-requirement-logo.svelte-1jshrq5{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-requirement-logo.svelte-1jshrq5{height:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-requirement-logo.svelte-1jshrq5{height:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-requirement-logo.svelte-1jshrq5{height:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-requirement-logo.svelte-1jshrq5{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-requirement-logo.svelte-1jshrq5{height:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-requirement-logo.svelte-1jshrq5{margin-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-requirement-logo.svelte-1jshrq5{margin-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-requirement-logo.svelte-1jshrq5{margin-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-requirement-logo.svelte-1jshrq5{margin-right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-requirement-logo.svelte-1jshrq5{margin-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-requirement-logo.svelte-1jshrq5{margin-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-requirement-logo.svelte-1jshrq5{margin-right:calc(0.0057291667 * 100vw + 0px)}}.hitman-quests__items-requirement.svelte-1jshrq5{display:flex;align-items:center;justify-content:center;background-color:rgba(255, 255, 255, 0.1);width:calc(0.1677083333 * 100vw + 0px);padding-top:calc(0.0036458333 * 100vw + 0px);padding-bottom:calc(0.0036458333 * 100vw + 0px);border-radius:calc(0.0026041667 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-requirement.svelte-1jshrq5{width:calc(0.1677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-requirement.svelte-1jshrq5{width:calc(0.1677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-requirement.svelte-1jshrq5{width:calc(0.1291354167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-requirement.svelte-1jshrq5{width:calc(0.1844791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-requirement.svelte-1jshrq5{width:calc(0.1173958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-requirement.svelte-1jshrq5{width:calc(0.1509375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-requirement.svelte-1jshrq5{width:calc(0.1844791667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-requirement.svelte-1jshrq5{padding-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-requirement.svelte-1jshrq5{padding-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-requirement.svelte-1jshrq5{padding-top:calc(0.0028072917 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-requirement.svelte-1jshrq5{padding-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-requirement.svelte-1jshrq5{padding-top:calc(0.0025520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-requirement.svelte-1jshrq5{padding-top:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-requirement.svelte-1jshrq5{padding-top:calc(0.0040104167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-requirement.svelte-1jshrq5{padding-bottom:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-requirement.svelte-1jshrq5{padding-bottom:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-requirement.svelte-1jshrq5{padding-bottom:calc(0.0028072917 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-requirement.svelte-1jshrq5{padding-bottom:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-requirement.svelte-1jshrq5{padding-bottom:calc(0.0025520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-requirement.svelte-1jshrq5{padding-bottom:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-requirement.svelte-1jshrq5{padding-bottom:calc(0.0040104167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-requirement.svelte-1jshrq5{border-radius:calc(0.0026041667 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-requirement.svelte-1jshrq5{border-radius:calc(0.0026041667 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-requirement.svelte-1jshrq5{border-radius:calc(0.0020052083 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-requirement.svelte-1jshrq5{border-radius:calc(0.0028645833 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-requirement.svelte-1jshrq5{border-radius:calc(0.0018229167 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-requirement.svelte-1jshrq5{border-radius:calc(0.00234375 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-requirement.svelte-1jshrq5{border-radius:calc(0.0028645833 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0028645833 * 100vw + 0px)}}.hitman-quests__items-requirement.svelte-1jshrq5:not(:first-child){margin-left:calc(0.0036458333 * 100vw + 0px);border-radius:calc(0 * 100vw + 0px) calc(0.0026041667 * 100vw + 0px) calc(0.0026041667 * 100vw + 0px) calc(0 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-requirement.svelte-1jshrq5:not(:first-child){margin-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-requirement.svelte-1jshrq5:not(:first-child){margin-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-requirement.svelte-1jshrq5:not(:first-child){margin-left:calc(0.0028072917 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-requirement.svelte-1jshrq5:not(:first-child){margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-requirement.svelte-1jshrq5:not(:first-child){margin-left:calc(0.0025520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-requirement.svelte-1jshrq5:not(:first-child){margin-left:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-requirement.svelte-1jshrq5:not(:first-child){margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-requirement.svelte-1jshrq5:not(:first-child){border-radius:calc(0 * 100vw + 0px) calc(0.0026041667 * 100vw + 0px) calc(0.0026041667 * 100vw + 0px) calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-requirement.svelte-1jshrq5:not(:first-child){border-radius:calc(0 * 100vw + 0px) calc(0.0026041667 * 100vw + 0px) calc(0.0026041667 * 100vw + 0px) calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-requirement.svelte-1jshrq5:not(:first-child){border-radius:calc(0 * 100vw + 0px) calc(0.0020052083 * 100vw + 0px) calc(0.0020052083 * 100vw + 0px) calc(0 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-requirement.svelte-1jshrq5:not(:first-child){border-radius:calc(0 * 100vw + 0px) calc(0.0028645833 * 100vw + 0px) calc(0.0028645833 * 100vw + 0px) calc(0 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-requirement.svelte-1jshrq5:not(:first-child){border-radius:calc(0 * 100vw + 0px) calc(0.0018229167 * 100vw + 0px) calc(0.0018229167 * 100vw + 0px) calc(0 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-requirement.svelte-1jshrq5:not(:first-child){border-radius:calc(0 * 100vw + 0px) calc(0.00234375 * 100vw + 0px) calc(0.00234375 * 100vw + 0px) calc(0 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-requirement.svelte-1jshrq5:not(:first-child){border-radius:calc(0 * 100vw + 0px) calc(0.0028645833 * 100vw + 0px) calc(0.0028645833 * 100vw + 0px) calc(0 * 100vw + 0px)}}.hitman-quests__items-requirement-title.svelte-1jshrq5{font-size:calc(0.0052083333 * 100vw + 0px);color:#BABDBF;font-family:\"GothamPro\"}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-requirement-title.svelte-1jshrq5{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-requirement-title.svelte-1jshrq5{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-requirement-title.svelte-1jshrq5{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-requirement-title.svelte-1jshrq5{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-requirement-title.svelte-1jshrq5{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-requirement-title.svelte-1jshrq5{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-requirement-title.svelte-1jshrq5{font-size:calc(0.0057291667 * 100vw + 0px)}}.hitman-quests__items-requirement-object.svelte-1jshrq5{font-size:calc(0.0072916667 * 100vw + 0px);color:#FFFFFF;font-family:\"GothamPro-Medium\"}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-requirement-object.svelte-1jshrq5{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-requirement-object.svelte-1jshrq5{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-requirement-object.svelte-1jshrq5{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-requirement-object.svelte-1jshrq5{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-requirement-object.svelte-1jshrq5{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-requirement-object.svelte-1jshrq5{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-requirement-object.svelte-1jshrq5{font-size:calc(0.0080208333 * 100vw + 0px)}}.hitman-quests__items-block-reward.svelte-1jshrq5{display:flex;flex-direction:column;align-items:center}.hitman-quests__items-block-reward-title.svelte-1jshrq5{color:rgba(255, 255, 255, 0.5);font-family:\"GothamPro-Medium\";font-size:calc(0.0072916667 * 100vw + 0px);margin-bottom:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-block-reward-title.svelte-1jshrq5{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-block-reward-title.svelte-1jshrq5{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-block-reward-title.svelte-1jshrq5{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-block-reward-title.svelte-1jshrq5{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-block-reward-title.svelte-1jshrq5{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-block-reward-title.svelte-1jshrq5{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-block-reward-title.svelte-1jshrq5{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-block-reward-title.svelte-1jshrq5{margin-bottom:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-block-reward-title.svelte-1jshrq5{margin-bottom:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-block-reward-title.svelte-1jshrq5{margin-bottom:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-block-reward-title.svelte-1jshrq5{margin-bottom:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-block-reward-title.svelte-1jshrq5{margin-bottom:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-block-reward-title.svelte-1jshrq5{margin-bottom:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-block-reward-title.svelte-1jshrq5{margin-bottom:calc(0.006875 * 100vw + 0px)}}.hitman-quests__items-block-reward-items-title.svelte-1jshrq5{font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.0052083333 * 100vw + 0px);height:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-block-reward-items-title.svelte-1jshrq5{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-block-reward-items-title.svelte-1jshrq5{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-block-reward-items-title.svelte-1jshrq5{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-block-reward-items-title.svelte-1jshrq5{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-block-reward-items-title.svelte-1jshrq5{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-block-reward-items-title.svelte-1jshrq5{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-block-reward-items-title.svelte-1jshrq5{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-block-reward-items-title.svelte-1jshrq5{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-block-reward-items-title.svelte-1jshrq5{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-block-reward-items-title.svelte-1jshrq5{height:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-block-reward-items-title.svelte-1jshrq5{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-block-reward-items-title.svelte-1jshrq5{height:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-block-reward-items-title.svelte-1jshrq5{height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-block-reward-items-title.svelte-1jshrq5{height:calc(0.0080208333 * 100vw + 0px)}}.hitman-quests__items-block-reward-body.svelte-1jshrq5{display:flex;text-align:center;margin-bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-block-reward-body.svelte-1jshrq5{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-block-reward-body.svelte-1jshrq5{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-block-reward-body.svelte-1jshrq5{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-block-reward-body.svelte-1jshrq5{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-block-reward-body.svelte-1jshrq5{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-block-reward-body.svelte-1jshrq5{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-block-reward-body.svelte-1jshrq5{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.hitman-quests__items-block-reward-items.svelte-1jshrq5{display:flex;flex-direction:column;align-items:center;width:calc(0.046875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-block-reward-items.svelte-1jshrq5{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-block-reward-items.svelte-1jshrq5{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-block-reward-items.svelte-1jshrq5{width:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-block-reward-items.svelte-1jshrq5{width:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-block-reward-items.svelte-1jshrq5{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-block-reward-items.svelte-1jshrq5{width:calc(0.0421875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-block-reward-items.svelte-1jshrq5{width:calc(0.0515625 * 100vw + 0px)}}.hitman-quests__items-block-reward-items.svelte-1jshrq5:not(:first-child){margin-left:calc(0.0234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-block-reward-items.svelte-1jshrq5:not(:first-child){margin-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-block-reward-items.svelte-1jshrq5:not(:first-child){margin-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-block-reward-items.svelte-1jshrq5:not(:first-child){margin-left:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-block-reward-items.svelte-1jshrq5:not(:first-child){margin-left:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-block-reward-items.svelte-1jshrq5:not(:first-child){margin-left:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-block-reward-items.svelte-1jshrq5:not(:first-child){margin-left:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-block-reward-items.svelte-1jshrq5:not(:first-child){margin-left:calc(0.02578125 * 100vw + 0px)}}.hitman-quests__items-block-reward-items-img.svelte-1jshrq5{width:calc(0.0260416667 * 100vw + 0px);padding-bottom:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-block-reward-items-img.svelte-1jshrq5{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-block-reward-items-img.svelte-1jshrq5{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-block-reward-items-img.svelte-1jshrq5{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-block-reward-items-img.svelte-1jshrq5{width:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-block-reward-items-img.svelte-1jshrq5{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-block-reward-items-img.svelte-1jshrq5{width:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-block-reward-items-img.svelte-1jshrq5{width:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-block-reward-items-img.svelte-1jshrq5{padding-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-block-reward-items-img.svelte-1jshrq5{padding-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-block-reward-items-img.svelte-1jshrq5{padding-bottom:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-block-reward-items-img.svelte-1jshrq5{padding-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-block-reward-items-img.svelte-1jshrq5{padding-bottom:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-block-reward-items-img.svelte-1jshrq5{padding-bottom:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-block-reward-items-img.svelte-1jshrq5{padding-bottom:calc(0.0057291667 * 100vw + 0px)}}.hitman-quests__items-block-reward-btn.svelte-1jshrq5{display:flex;align-items:center;justify-content:center;cursor:pointer;background-color:#FFFFFF;width:calc(0.1041666667 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);margin-bottom:calc(0.01875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-block-reward-btn.svelte-1jshrq5{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-block-reward-btn.svelte-1jshrq5{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-block-reward-btn.svelte-1jshrq5{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-block-reward-btn.svelte-1jshrq5{width:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-block-reward-btn.svelte-1jshrq5{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-block-reward-btn.svelte-1jshrq5{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-block-reward-btn.svelte-1jshrq5{width:calc(0.1145833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-block-reward-btn.svelte-1jshrq5{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-block-reward-btn.svelte-1jshrq5{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-block-reward-btn.svelte-1jshrq5{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-block-reward-btn.svelte-1jshrq5{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-block-reward-btn.svelte-1jshrq5{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-block-reward-btn.svelte-1jshrq5{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-block-reward-btn.svelte-1jshrq5{height:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-block-reward-btn.svelte-1jshrq5{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-block-reward-btn.svelte-1jshrq5{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-block-reward-btn.svelte-1jshrq5{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-block-reward-btn.svelte-1jshrq5{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-block-reward-btn.svelte-1jshrq5{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-block-reward-btn.svelte-1jshrq5{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-block-reward-btn.svelte-1jshrq5{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-block-reward-btn.svelte-1jshrq5{margin-bottom:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-block-reward-btn.svelte-1jshrq5{margin-bottom:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-block-reward-btn.svelte-1jshrq5{margin-bottom:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-block-reward-btn.svelte-1jshrq5{margin-bottom:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-block-reward-btn.svelte-1jshrq5{margin-bottom:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-block-reward-btn.svelte-1jshrq5{margin-bottom:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-block-reward-btn.svelte-1jshrq5{margin-bottom:calc(0.020625 * 100vw + 0px)}}.hitman-quests__items-block-reward-btn.svelte-1jshrq5:hover{background-color:rgba(255, 255, 255, 0.5)}.hitman-quests__items-block-reward-btn-key.svelte-1jshrq5{color:#3B4447;font-family:\"GothamPro-Medium\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-block-reward-btn-key.svelte-1jshrq5{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-block-reward-btn-key.svelte-1jshrq5{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-block-reward-btn-key.svelte-1jshrq5{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-block-reward-btn-key.svelte-1jshrq5{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-block-reward-btn-key.svelte-1jshrq5{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-block-reward-btn-key.svelte-1jshrq5{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-block-reward-btn-key.svelte-1jshrq5{font-size:calc(0.006875 * 100vw + 0px)}}");
}

function components_accordion_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[6] = list[i];
	return child_ctx;
}

// (1549:12) {#if accordionOpened}
function components_accordion_index_svelte_create_if_block_1(ctx) {
	let p0;
	let t0_value = /*quest*/ ctx[0].description + "";
	let t0;
	let p0_transition;
	let t1;
	let div4;
	let div1;
	let img0;
	let img0_src_value;
	let t2;
	let div0;
	let p1;
	let t4;
	let p2;
	let t5_value = /*quest*/ ctx[0].weapon + "";
	let t5;
	let t6;
	let div3;
	let img1;
	let img1_src_value;
	let t7;
	let div2;
	let p3;
	let t9;
	let p4;
	let t10_value = /*quest*/ ctx[0].time + "";
	let t10;
	let current;

	return {
		c() {
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			div4 = internal_element("div");
			div1 = internal_element("div");
			img0 = internal_element("img");
			t2 = space();
			div0 = internal_element("div");
			p1 = internal_element("p");
			p1.textContent = "Орудие устранения";
			t4 = space();
			p2 = internal_element("p");
			t5 = internal_text(t5_value);
			t6 = space();
			div3 = internal_element("div");
			img1 = internal_element("img");
			t7 = space();
			div2 = internal_element("div");
			p3 = internal_element("p");
			p3.textContent = "Время на выполнение";
			t9 = space();
			p4 = internal_element("p");
			t10 = internal_text(t10_value);
			attr(p0, "class", "hitman-quests__items-block-descr svelte-1jshrq5");
			attr(img0, "class", "hitman-quests__items-requirement-logo svelte-1jshrq5");
			if (!src_url_equal(img0.src, img0_src_value = gun_logo_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "weaponLogo");
			attr(p1, "class", "hitman-quests__items-requirement-title svelte-1jshrq5");
			attr(p2, "class", "hitman-quests__items-requirement-object svelte-1jshrq5");
			attr(div0, "class", "hitman-quests__items-requirement-title-wrapper");
			attr(div1, "class", "hitman-quests__items-requirement svelte-1jshrq5");
			attr(img1, "class", "hitman-quests__items-requirement-logo svelte-1jshrq5");
			if (!src_url_equal(img1.src, img1_src_value = time_logo_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "timeLogo");
			attr(p3, "class", "hitman-quests__items-requirement-title svelte-1jshrq5");
			attr(p4, "class", "hitman-quests__items-requirement-object svelte-1jshrq5");
			attr(div2, "class", "hitman-quests__items-requirement-title-wrapper");
			attr(div3, "class", "hitman-quests__items-requirement svelte-1jshrq5");
			attr(div4, "class", "hitman-quests__items-requirement-wrapper svelte-1jshrq5");
		},
		m(target, anchor) {
			insert(target, p0, anchor);
			append(p0, t0);
			insert(target, t1, anchor);
			insert(target, div4, anchor);
			append(div4, div1);
			append(div1, img0);
			append(div1, t2);
			append(div1, div0);
			append(div0, p1);
			append(div0, t4);
			append(div0, p2);
			append(p2, t5);
			append(div4, t6);
			append(div4, div3);
			append(div3, img1);
			append(div3, t7);
			append(div3, div2);
			append(div2, p3);
			append(div2, t9);
			append(div2, p4);
			append(p4, t10);
			current = true;
		},
		p(ctx, dirty) {
			if ((!current || dirty & /*quest*/ 1) && t0_value !== (t0_value = /*quest*/ ctx[0].description + "")) set_data(t0, t0_value);
			if ((!current || dirty & /*quest*/ 1) && t5_value !== (t5_value = /*quest*/ ctx[0].weapon + "")) set_data(t5, t5_value);
			if ((!current || dirty & /*quest*/ 1) && t10_value !== (t10_value = /*quest*/ ctx[0].time + "")) set_data(t10, t10_value);
		},
		i(local) {
			if (current) return;

			if (local) {
				add_render_callback(() => {
					if (!p0_transition) p0_transition = create_bidirectional_transition(p0, slide, {}, true);
					p0_transition.run(1);
				});
			}

			current = true;
		},
		o(local) {
			if (local) {
				if (!p0_transition) p0_transition = create_bidirectional_transition(p0, slide, {}, false);
				p0_transition.run(0);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(p0);
			if (detaching && p0_transition) p0_transition.end();
			if (detaching) detach(t1);
			if (detaching) detach(div4);
		}
	};
}

// (1583:4) {#if accordionOpened}
function components_accordion_index_svelte_create_if_block(ctx) {
	let div2;
	let p0;
	let t1;
	let div0;
	let t2;
	let div1;
	let div1_transition;
	let div2_transition;
	let current;
	let mounted;
	let dispose;
	let each_value = /*quest*/ ctx[0].rewards;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = components_accordion_index_svelte_create_each_block(components_accordion_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div2 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Награда";
			t1 = space();
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t2 = space();
			div1 = internal_element("div");
			div1.innerHTML = `<p class="hitman-quests__items-block-reward-btn-key svelte-1jshrq5">Принять заказ</p>`;
			attr(p0, "class", "hitman-quests__items-block-reward-title svelte-1jshrq5");
			attr(div0, "class", "hitman-quests__items-block-reward-body svelte-1jshrq5");
			attr(div1, "class", "hitman-quests__items-block-reward-btn svelte-1jshrq5");
			attr(div2, "class", "hitman-quests__items-block-reward svelte-1jshrq5");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, p0);
			append(div2, t1);
			append(div2, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			append(div2, t2);
			append(div2, div1);
			current = true;

			if (!mounted) {
				dispose = listen(div1, "click", /*click_handler*/ ctx[5]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*quest, CDN_URL_RODINA*/ 1) {
				each_value = /*quest*/ ctx[0].rewards;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = components_accordion_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = components_accordion_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div0, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i(local) {
			if (current) return;

			if (local) {
				add_render_callback(() => {
					if (!div1_transition) div1_transition = create_bidirectional_transition(div1, slide, {}, true);
					div1_transition.run(1);
				});
			}

			if (local) {
				add_render_callback(() => {
					if (!div2_transition) div2_transition = create_bidirectional_transition(div2, slide, {}, true);
					div2_transition.run(1);
				});
			}

			current = true;
		},
		o(local) {
			if (local) {
				if (!div1_transition) div1_transition = create_bidirectional_transition(div1, slide, {}, false);
				div1_transition.run(0);
			}

			if (local) {
				if (!div2_transition) div2_transition = create_bidirectional_transition(div2, slide, {}, false);
				div2_transition.run(0);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div2);
			destroy_each(each_blocks, detaching);
			if (detaching && div1_transition) div1_transition.end();
			if (detaching && div2_transition) div2_transition.end();
			mounted = false;
			dispose();
		}
	};
}

// (1592:16) {#each quest.rewards as reward }
function components_accordion_index_svelte_create_each_block(ctx) {
	let div;
	let img;
	let img_src_value;
	let t0;
	let p;
	let t1_value = /*reward*/ ctx[6].title + "";
	let t1;
	let t2;

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(img, "class", "hitman-quests__items-block-reward-items-img svelte-1jshrq5");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/assets/images/other/${/*reward*/ ctx[6].icon}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "Reward");
			attr(p, "class", "hitman-quests__items-block-reward-items-title svelte-1jshrq5");
			attr(div, "class", "hitman-quests__items-block-reward-items svelte-1jshrq5");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
			append(div, t0);
			append(div, p);
			append(p, t1);
			append(div, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*quest*/ 1 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/assets/images/other/${/*reward*/ ctx[6].icon}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*quest*/ 1 && t1_value !== (t1_value = /*reward*/ ctx[6].title + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function components_accordion_index_svelte_create_fragment(ctx) {
	let div3;
	let div2;
	let div1;
	let div0;
	let img;
	let img_src_value;
	let t0;
	let p;
	let t1_value = /*quest*/ ctx[0].title + "";
	let t1;
	let t2;
	let t3;
	let mounted;
	let dispose;
	let if_block0 = /*accordionOpened*/ ctx[1] && components_accordion_index_svelte_create_if_block_1(ctx);
	let if_block1 = /*accordionOpened*/ ctx[1] && components_accordion_index_svelte_create_if_block(ctx);

	return {
		c() {
			div3 = internal_element("div");
			div2 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			if (if_block0) if_block0.c();
			t3 = space();
			if (if_block1) if_block1.c();
			attr(img, "class", "hitman-quests__items-block-arrow svelte-1jshrq5");
			if (!src_url_equal(img.src, img_src_value = accordion_img_arrow_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "arrow");
			toggle_class(img, "hitman-quests__items-block-arrow--opened", /*accordionOpened*/ ctx[1]);
			attr(p, "class", "hitman-quests__items-block-title svelte-1jshrq5");
			attr(div0, "class", "hitman-quests__items-block-title-wrapper svelte-1jshrq5");
			attr(div1, "class", "hitman-quests__items-block-text svelte-1jshrq5");
			attr(div2, "class", "hitman-quests__items-block-upper svelte-1jshrq5");
			attr(div3, "class", "hitman-quests__items-block svelte-1jshrq5");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div2);
			append(div2, div1);
			append(div1, div0);
			append(div0, img);
			append(div0, t0);
			append(div0, p);
			append(p, t1);
			append(div1, t2);
			if (if_block0) if_block0.m(div1, null);
			append(div3, t3);
			if (if_block1) if_block1.m(div3, null);

			if (!mounted) {
				dispose = listen(div2, "click", /*handleClick*/ ctx[2]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*accordionOpened*/ 2) {
				toggle_class(img, "hitman-quests__items-block-arrow--opened", /*accordionOpened*/ ctx[1]);
			}

			if (dirty & /*quest*/ 1 && t1_value !== (t1_value = /*quest*/ ctx[0].title + "")) set_data(t1, t1_value);

			if (/*accordionOpened*/ ctx[1]) {
				if (if_block0) {
					if_block0.p(ctx, dirty);

					if (dirty & /*accordionOpened*/ 2) {
						transition_in(if_block0, 1);
					}
				} else {
					if_block0 = components_accordion_index_svelte_create_if_block_1(ctx);
					if_block0.c();
					transition_in(if_block0, 1);
					if_block0.m(div1, null);
				}
			} else if (if_block0) {
				group_outros();

				transition_out(if_block0, 1, 1, () => {
					if_block0 = null;
				});

				check_outros();
			}

			if (/*accordionOpened*/ ctx[1]) {
				if (if_block1) {
					if_block1.p(ctx, dirty);

					if (dirty & /*accordionOpened*/ 2) {
						transition_in(if_block1, 1);
					}
				} else {
					if_block1 = components_accordion_index_svelte_create_if_block(ctx);
					if_block1.c();
					transition_in(if_block1, 1);
					if_block1.m(div3, null);
				}
			} else if (if_block1) {
				group_outros();

				transition_out(if_block1, 1, 1, () => {
					if_block1 = null;
				});

				check_outros();
			}
		},
		i(local) {
			transition_in(if_block0);
			transition_in(if_block1);
		},
		o(local) {
			transition_out(if_block0);
			transition_out(if_block1);
		},
		d(detaching) {
			if (detaching) detach(div3);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			mounted = false;
			dispose();
		}
	};
}

function components_accordion_index_svelte_instance($$self, $$props, $$invalidate) {
	let { quest } = $$props;
	let { tabId } = $$props;
	let accordionOpened = false;

	const handleClick = () => {
		$$invalidate(1, accordionOpened = !accordionOpened);
	};

	const takeContract = questId => {
		sendClientMessage('hitman.quests.takeQuest', questId, tabId);
	};

	const click_handler = () => takeContract(quest.id);

	$$self.$$set = $$props => {
		if ('quest' in $$props) $$invalidate(0, quest = $$props.quest);
		if ('tabId' in $$props) $$invalidate(4, tabId = $$props.tabId);
	};

	return [quest, accordionOpened, handleClick, takeContract, tabId, click_handler];
}

class index_svelte_Accordion extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, components_accordion_index_svelte_instance, components_accordion_index_svelte_create_fragment, safe_not_equal, { quest: 0, tabId: 4 }, components_accordion_index_svelte_add_css);
	}
}

/* harmony default export */ const components_accordion_index_svelte = (index_svelte_Accordion);
;// CONCATENATED MODULE: ./src/views/hitman/quests/index.svelte
/* src\views\hitman\quests\index.svelte generated by Svelte v3.49.0 */












function hitman_quests_index_svelte_add_css(target) {
	append_styles(target, "svelte-6bw4l4", "@keyframes svelte-6bw4l4-blinking{50%{opacity:0}}@keyframes svelte-6bw4l4-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-6bw4l4-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-6bw4l4-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-6bw4l4-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-6bw4l4-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-6bw4l4-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-6bw4l4-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-6bw4l4-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-6bw4l4-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-6bw4l4-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-6bw4l4-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-6bw4l4-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-6bw4l4-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-6bw4l4-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.hitman-quests.svelte-6bw4l4{display:flex;align-items:center;flex-direction:column;width:100vw;height:100vh;background:rgba(54, 61, 71, 0.75)}.hitman-quests__title.svelte-6bw4l4{position:absolute;z-index:1;font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.01875 * 100vw + 0px);top:calc(0.0447916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__title.svelte-6bw4l4{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__title.svelte-6bw4l4{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__title.svelte-6bw4l4{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__title.svelte-6bw4l4{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__title.svelte-6bw4l4{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__title.svelte-6bw4l4{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__title.svelte-6bw4l4{font-size:calc(0.020625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__title.svelte-6bw4l4{top:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__title.svelte-6bw4l4{top:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__title.svelte-6bw4l4{top:calc(0.0344895833 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__title.svelte-6bw4l4{top:calc(0.0492708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__title.svelte-6bw4l4{top:calc(0.0313541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__title.svelte-6bw4l4{top:calc(0.0403125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__title.svelte-6bw4l4{top:calc(0.0492708333 * 100vw + 0px)}}.hitman-quests__soldier-img.svelte-6bw4l4{position:absolute;bottom:0;height:calc(0.4114583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__soldier-img.svelte-6bw4l4{height:calc(0.4114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__soldier-img.svelte-6bw4l4{height:calc(0.4114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__soldier-img.svelte-6bw4l4{height:calc(0.3168229167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__soldier-img.svelte-6bw4l4{height:calc(0.4526041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__soldier-img.svelte-6bw4l4{height:calc(0.2880208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__soldier-img.svelte-6bw4l4{height:calc(0.3703125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__soldier-img.svelte-6bw4l4{height:calc(0.4526041667 * 100vw + 0px)}}.hitman-quests__quests-img.svelte-6bw4l4{position:absolute;left:0;bottom:0;height:calc(0.3958333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__quests-img.svelte-6bw4l4{height:calc(0.3958333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__quests-img.svelte-6bw4l4{height:calc(0.3958333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__quests-img.svelte-6bw4l4{height:calc(0.3047916667 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__quests-img.svelte-6bw4l4{height:calc(0.4354166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__quests-img.svelte-6bw4l4{height:calc(0.2770833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__quests-img.svelte-6bw4l4{height:calc(0.35625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__quests-img.svelte-6bw4l4{height:calc(0.4354166667 * 100vw + 0px)}}.hitman-quests__switch-quests.svelte-6bw4l4{display:flex;justify-content:center;text-align:center;position:absolute;width:100vw;margin-top:calc(0.09375 * 100vw + 0px);border-bottom:1px solid rgba(255, 255, 255, 0.2)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__switch-quests.svelte-6bw4l4{margin-top:calc(0.09375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__switch-quests.svelte-6bw4l4{margin-top:calc(0.09375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__switch-quests.svelte-6bw4l4{margin-top:calc(0.0721875 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__switch-quests.svelte-6bw4l4{margin-top:calc(0.103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__switch-quests.svelte-6bw4l4{margin-top:calc(0.065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__switch-quests.svelte-6bw4l4{margin-top:calc(0.084375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__switch-quests.svelte-6bw4l4{margin-top:calc(0.103125 * 100vw + 0px)}}.hitman-quests__switch-button.svelte-6bw4l4{font-size:calc(0.00625 * 100vw + 0px);padding-bottom:calc(0.0114583333 * 100vw + 0px);width:calc(0.1041666667 * 100vw + 0px);color:rgba(255, 255, 255, 0.5)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__switch-button.svelte-6bw4l4{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__switch-button.svelte-6bw4l4{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__switch-button.svelte-6bw4l4{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__switch-button.svelte-6bw4l4{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__switch-button.svelte-6bw4l4{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__switch-button.svelte-6bw4l4{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__switch-button.svelte-6bw4l4{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__switch-button.svelte-6bw4l4{padding-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__switch-button.svelte-6bw4l4{padding-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__switch-button.svelte-6bw4l4{padding-bottom:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__switch-button.svelte-6bw4l4{padding-bottom:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__switch-button.svelte-6bw4l4{padding-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__switch-button.svelte-6bw4l4{padding-bottom:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__switch-button.svelte-6bw4l4{padding-bottom:calc(0.0126041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__switch-button.svelte-6bw4l4{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__switch-button.svelte-6bw4l4{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__switch-button.svelte-6bw4l4{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__switch-button.svelte-6bw4l4{width:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__switch-button.svelte-6bw4l4{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__switch-button.svelte-6bw4l4{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__switch-button.svelte-6bw4l4{width:calc(0.1145833333 * 100vw + 0px)}}.hitman-quests__switch-button--selected.svelte-6bw4l4{position:relative;margin-bottom:calc(-0.0005208333 * 100vw + 0px);color:#FFFFFF;border-bottom:2px solid #FFFFFF}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__switch-button--selected.svelte-6bw4l4{margin-bottom:calc(-0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__switch-button--selected.svelte-6bw4l4{margin-bottom:calc(-0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__switch-button--selected.svelte-6bw4l4{margin-bottom:calc(-0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__switch-button--selected.svelte-6bw4l4{margin-bottom:calc(-0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__switch-button--selected.svelte-6bw4l4{margin-bottom:calc(-0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__switch-button--selected.svelte-6bw4l4{margin-bottom:calc(-0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__switch-button--selected.svelte-6bw4l4{margin-bottom:calc(-0.0005729167 * 100vw + 0px)}}.hitman-quests__logo.svelte-6bw4l4{position:absolute;display:flex;align-items:center;top:calc(0.0416666667 * 100vw + 0px);left:calc(0.03125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__logo.svelte-6bw4l4{top:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__logo.svelte-6bw4l4{top:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__logo.svelte-6bw4l4{top:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__logo.svelte-6bw4l4{top:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__logo.svelte-6bw4l4{top:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__logo.svelte-6bw4l4{top:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__logo.svelte-6bw4l4{top:calc(0.0458333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__logo.svelte-6bw4l4{left:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__logo.svelte-6bw4l4{left:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__logo.svelte-6bw4l4{left:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__logo.svelte-6bw4l4{left:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__logo.svelte-6bw4l4{left:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__logo.svelte-6bw4l4{left:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__logo.svelte-6bw4l4{left:calc(0.034375 * 100vw + 0px)}}.hitman-quests__logo-icon.svelte-6bw4l4{height:calc(0.0390625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__logo-icon.svelte-6bw4l4{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__logo-icon.svelte-6bw4l4{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__logo-icon.svelte-6bw4l4{height:calc(0.030078125 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__logo-icon.svelte-6bw4l4{height:calc(0.04296875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__logo-icon.svelte-6bw4l4{height:calc(0.02734375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__logo-icon.svelte-6bw4l4{height:calc(0.03515625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__logo-icon.svelte-6bw4l4{height:calc(0.04296875 * 100vw + 0px)}}.hitman-quests__logo-title.svelte-6bw4l4{color:#FFFFFF;font-family:\"GothamPro-Bold\";padding-left:calc(0.0130208333 * 100vw + 0px);width:calc(0.0729166667 * 100vw + 0px);line-height:calc(0.0098958333 * 100vw + 0px);font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__logo-title.svelte-6bw4l4{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__logo-title.svelte-6bw4l4{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__logo-title.svelte-6bw4l4{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__logo-title.svelte-6bw4l4{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__logo-title.svelte-6bw4l4{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__logo-title.svelte-6bw4l4{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__logo-title.svelte-6bw4l4{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__logo-title.svelte-6bw4l4{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__logo-title.svelte-6bw4l4{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__logo-title.svelte-6bw4l4{width:calc(0.0561458333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__logo-title.svelte-6bw4l4{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__logo-title.svelte-6bw4l4{width:calc(0.0510416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__logo-title.svelte-6bw4l4{width:calc(0.065625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__logo-title.svelte-6bw4l4{width:calc(0.0802083333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__logo-title.svelte-6bw4l4{line-height:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__logo-title.svelte-6bw4l4{line-height:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__logo-title.svelte-6bw4l4{line-height:calc(0.0076197917 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__logo-title.svelte-6bw4l4{line-height:calc(0.0108854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__logo-title.svelte-6bw4l4{line-height:calc(0.0069270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__logo-title.svelte-6bw4l4{line-height:calc(0.00890625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__logo-title.svelte-6bw4l4{line-height:calc(0.0108854167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__logo-title.svelte-6bw4l4{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__logo-title.svelte-6bw4l4{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__logo-title.svelte-6bw4l4{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__logo-title.svelte-6bw4l4{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__logo-title.svelte-6bw4l4{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__logo-title.svelte-6bw4l4{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__logo-title.svelte-6bw4l4{font-size:calc(0.0114583333 * 100vw + 0px)}}.hitman-quests__category.svelte-6bw4l4{position:absolute;top:calc(0.2135416667 * 100vw + 0px);left:calc(0.1640625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__category.svelte-6bw4l4{top:calc(0.2135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__category.svelte-6bw4l4{top:calc(0.2135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__category.svelte-6bw4l4{top:calc(0.1644270833 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__category.svelte-6bw4l4{top:calc(0.2348958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__category.svelte-6bw4l4{top:calc(0.1494791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__category.svelte-6bw4l4{top:calc(0.1921875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__category.svelte-6bw4l4{top:calc(0.2348958333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__category.svelte-6bw4l4{left:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__category.svelte-6bw4l4{left:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__category.svelte-6bw4l4{left:calc(0.126328125 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__category.svelte-6bw4l4{left:calc(0.18046875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__category.svelte-6bw4l4{left:calc(0.11484375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__category.svelte-6bw4l4{left:calc(0.14765625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__category.svelte-6bw4l4{left:calc(0.18046875 * 100vw + 0px)}}.hitman-quests__category-title.svelte-6bw4l4{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px);margin-bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__category-title.svelte-6bw4l4{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__category-title.svelte-6bw4l4{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__category-title.svelte-6bw4l4{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__category-title.svelte-6bw4l4{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__category-title.svelte-6bw4l4{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__category-title.svelte-6bw4l4{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__category-title.svelte-6bw4l4{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__category-title.svelte-6bw4l4{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__category-title.svelte-6bw4l4{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__category-title.svelte-6bw4l4{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__category-title.svelte-6bw4l4{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__category-title.svelte-6bw4l4{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__category-title.svelte-6bw4l4{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__category-title.svelte-6bw4l4{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.hitman-quests__categories-wrapper.svelte-6bw4l4{width:fit-content;overflow:auto;height:calc(0.378125 * 100vw + 0px);padding-right:calc(0.0130208333 * 100vw + 0px)}.hitman-quests__categories-wrapper.svelte-6bw4l4::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__categories-wrapper.svelte-6bw4l4::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__categories-wrapper.svelte-6bw4l4::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__categories-wrapper.svelte-6bw4l4::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__categories-wrapper.svelte-6bw4l4::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__categories-wrapper.svelte-6bw4l4::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__categories-wrapper.svelte-6bw4l4::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__categories-wrapper.svelte-6bw4l4::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__categories-wrapper.svelte-6bw4l4::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__categories-wrapper.svelte-6bw4l4::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__categories-wrapper.svelte-6bw4l4::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__categories-wrapper.svelte-6bw4l4::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__categories-wrapper.svelte-6bw4l4::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__categories-wrapper.svelte-6bw4l4::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__categories-wrapper.svelte-6bw4l4::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.hitman-quests__categories-wrapper.svelte-6bw4l4::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__categories-wrapper.svelte-6bw4l4::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__categories-wrapper.svelte-6bw4l4::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__categories-wrapper.svelte-6bw4l4::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__categories-wrapper.svelte-6bw4l4::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__categories-wrapper.svelte-6bw4l4::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__categories-wrapper.svelte-6bw4l4::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__categories-wrapper.svelte-6bw4l4::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.hitman-quests__categories-wrapper.svelte-6bw4l4::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__categories-wrapper.svelte-6bw4l4::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__categories-wrapper.svelte-6bw4l4::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__categories-wrapper.svelte-6bw4l4::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__categories-wrapper.svelte-6bw4l4::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__categories-wrapper.svelte-6bw4l4::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__categories-wrapper.svelte-6bw4l4::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__categories-wrapper.svelte-6bw4l4::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__categories-wrapper.svelte-6bw4l4{height:calc(0.378125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__categories-wrapper.svelte-6bw4l4{height:calc(0.378125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__categories-wrapper.svelte-6bw4l4{height:calc(0.29115625 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__categories-wrapper.svelte-6bw4l4{height:calc(0.4159375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__categories-wrapper.svelte-6bw4l4{height:calc(0.2646875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__categories-wrapper.svelte-6bw4l4{height:calc(0.3403125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__categories-wrapper.svelte-6bw4l4{height:calc(0.4159375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__categories-wrapper.svelte-6bw4l4{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__categories-wrapper.svelte-6bw4l4{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__categories-wrapper.svelte-6bw4l4{padding-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__categories-wrapper.svelte-6bw4l4{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__categories-wrapper.svelte-6bw4l4{padding-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__categories-wrapper.svelte-6bw4l4{padding-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__categories-wrapper.svelte-6bw4l4{padding-right:calc(0.0143229167 * 100vw + 0px)}}.hitman-quests__categories-wrapper.svelte-6bw4l4::-webkit-scrollbar{width:0px}.hitman-quests__category-quest.svelte-6bw4l4{display:flex;align-items:center;justify-content:space-between;cursor:pointer;border:1px solid rgba(255, 255, 255, 0.25);transition:background-color 0.2s linear;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__category-quest.svelte-6bw4l4{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__category-quest.svelte-6bw4l4{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__category-quest.svelte-6bw4l4{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__category-quest.svelte-6bw4l4{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__category-quest.svelte-6bw4l4{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__category-quest.svelte-6bw4l4{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__category-quest.svelte-6bw4l4{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__category-quest.svelte-6bw4l4{width:calc(0.234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__category-quest.svelte-6bw4l4{width:calc(0.234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__category-quest.svelte-6bw4l4{width:calc(0.18046875 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__category-quest.svelte-6bw4l4{width:calc(0.2578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__category-quest.svelte-6bw4l4{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__category-quest.svelte-6bw4l4{width:calc(0.2109375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__category-quest.svelte-6bw4l4{width:calc(0.2578125 * 100vw + 0px)}}.hitman-quests__category-quest.svelte-6bw4l4:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__category-quest.svelte-6bw4l4:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__category-quest.svelte-6bw4l4:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__category-quest.svelte-6bw4l4:not(:first-child){margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__category-quest.svelte-6bw4l4:not(:first-child){margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__category-quest.svelte-6bw4l4:not(:first-child){margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__category-quest.svelte-6bw4l4:not(:first-child){margin-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__category-quest.svelte-6bw4l4:not(:first-child){margin-top:calc(0.0114583333 * 100vw + 0px)}}.hitman-quests__category-quest.svelte-6bw4l4:hover,.hitman-quests__category-quest--selected.svelte-6bw4l4{display:flex;align-items:center;justify-content:space-between;background-color:rgba(255, 255, 255, 0.1);width:calc(0.234375 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);border:1px solid #FFFFFF}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__category-quest.svelte-6bw4l4:hover,.hitman-quests__category-quest--selected.svelte-6bw4l4{width:calc(0.234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__category-quest.svelte-6bw4l4:hover,.hitman-quests__category-quest--selected.svelte-6bw4l4{width:calc(0.234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__category-quest.svelte-6bw4l4:hover,.hitman-quests__category-quest--selected.svelte-6bw4l4{width:calc(0.18046875 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__category-quest.svelte-6bw4l4:hover,.hitman-quests__category-quest--selected.svelte-6bw4l4{width:calc(0.2578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__category-quest.svelte-6bw4l4:hover,.hitman-quests__category-quest--selected.svelte-6bw4l4{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__category-quest.svelte-6bw4l4:hover,.hitman-quests__category-quest--selected.svelte-6bw4l4{width:calc(0.2109375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__category-quest.svelte-6bw4l4:hover,.hitman-quests__category-quest--selected.svelte-6bw4l4{width:calc(0.2578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__category-quest.svelte-6bw4l4:hover,.hitman-quests__category-quest--selected.svelte-6bw4l4{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__category-quest.svelte-6bw4l4:hover,.hitman-quests__category-quest--selected.svelte-6bw4l4{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__category-quest.svelte-6bw4l4:hover,.hitman-quests__category-quest--selected.svelte-6bw4l4{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__category-quest.svelte-6bw4l4:hover,.hitman-quests__category-quest--selected.svelte-6bw4l4{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__category-quest.svelte-6bw4l4:hover,.hitman-quests__category-quest--selected.svelte-6bw4l4{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__category-quest.svelte-6bw4l4:hover,.hitman-quests__category-quest--selected.svelte-6bw4l4{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__category-quest.svelte-6bw4l4:hover,.hitman-quests__category-quest--selected.svelte-6bw4l4{border-radius:calc(0.0057291667 * 100vw + 0px)}}.hitman-quests__category-quest-body.svelte-6bw4l4{padding-left:calc(0.0130208333 * 100vw + 0px);padding-top:calc(0.0114583333 * 100vw + 0px);padding-bottom:calc(0.0109375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__category-quest-body.svelte-6bw4l4{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__category-quest-body.svelte-6bw4l4{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__category-quest-body.svelte-6bw4l4{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__category-quest-body.svelte-6bw4l4{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__category-quest-body.svelte-6bw4l4{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__category-quest-body.svelte-6bw4l4{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__category-quest-body.svelte-6bw4l4{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__category-quest-body.svelte-6bw4l4{padding-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__category-quest-body.svelte-6bw4l4{padding-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__category-quest-body.svelte-6bw4l4{padding-top:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__category-quest-body.svelte-6bw4l4{padding-top:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__category-quest-body.svelte-6bw4l4{padding-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__category-quest-body.svelte-6bw4l4{padding-top:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__category-quest-body.svelte-6bw4l4{padding-top:calc(0.0126041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__category-quest-body.svelte-6bw4l4{padding-bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__category-quest-body.svelte-6bw4l4{padding-bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__category-quest-body.svelte-6bw4l4{padding-bottom:calc(0.008421875 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__category-quest-body.svelte-6bw4l4{padding-bottom:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__category-quest-body.svelte-6bw4l4{padding-bottom:calc(0.00765625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__category-quest-body.svelte-6bw4l4{padding-bottom:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__category-quest-body.svelte-6bw4l4{padding-bottom:calc(0.01203125 * 100vw + 0px)}}.hitman-quests__category-quest-title.svelte-6bw4l4{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.009375 * 100vw + 0px);margin-bottom:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__category-quest-title.svelte-6bw4l4{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__category-quest-title.svelte-6bw4l4{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__category-quest-title.svelte-6bw4l4{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__category-quest-title.svelte-6bw4l4{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__category-quest-title.svelte-6bw4l4{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__category-quest-title.svelte-6bw4l4{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__category-quest-title.svelte-6bw4l4{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__category-quest-title.svelte-6bw4l4{margin-bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__category-quest-title.svelte-6bw4l4{margin-bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__category-quest-title.svelte-6bw4l4{margin-bottom:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__category-quest-title.svelte-6bw4l4{margin-bottom:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__category-quest-title.svelte-6bw4l4{margin-bottom:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__category-quest-title.svelte-6bw4l4{margin-bottom:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__category-quest-title.svelte-6bw4l4{margin-bottom:calc(0.0028645833 * 100vw + 0px)}}.hitman-quests__category-quest-descr.svelte-6bw4l4{font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__category-quest-descr.svelte-6bw4l4{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__category-quest-descr.svelte-6bw4l4{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__category-quest-descr.svelte-6bw4l4{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__category-quest-descr.svelte-6bw4l4{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__category-quest-descr.svelte-6bw4l4{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__category-quest-descr.svelte-6bw4l4{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__category-quest-descr.svelte-6bw4l4{font-size:calc(0.0057291667 * 100vw + 0px)}}.hitman-quests__category-quest-progress.svelte-6bw4l4{display:flex;flex-direction:column;align-items:center;margin-right:calc(0.0104166667 * 100vw + 0px);width:calc(0.046875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__category-quest-progress.svelte-6bw4l4{margin-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__category-quest-progress.svelte-6bw4l4{margin-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__category-quest-progress.svelte-6bw4l4{margin-right:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__category-quest-progress.svelte-6bw4l4{margin-right:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__category-quest-progress.svelte-6bw4l4{margin-right:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__category-quest-progress.svelte-6bw4l4{margin-right:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__category-quest-progress.svelte-6bw4l4{margin-right:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__category-quest-progress.svelte-6bw4l4{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__category-quest-progress.svelte-6bw4l4{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__category-quest-progress.svelte-6bw4l4{width:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__category-quest-progress.svelte-6bw4l4{width:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__category-quest-progress.svelte-6bw4l4{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__category-quest-progress.svelte-6bw4l4{width:calc(0.0421875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__category-quest-progress.svelte-6bw4l4{width:calc(0.0515625 * 100vw + 0px)}}.hitman-quests__category-exp.svelte-6bw4l4{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__category-exp.svelte-6bw4l4{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__category-exp.svelte-6bw4l4{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__category-exp.svelte-6bw4l4{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__category-exp.svelte-6bw4l4{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__category-exp.svelte-6bw4l4{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__category-exp.svelte-6bw4l4{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__category-exp.svelte-6bw4l4{font-size:calc(0.0114583333 * 100vw + 0px)}}.hitman-quests__category-exp-descr.svelte-6bw4l4{font-family:\"GothamPro\";color:rgba(255, 255, 255, 0.5);font-size:calc(0.00625 * 100vw + 0px);margin-top:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__category-exp-descr.svelte-6bw4l4{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__category-exp-descr.svelte-6bw4l4{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__category-exp-descr.svelte-6bw4l4{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__category-exp-descr.svelte-6bw4l4{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__category-exp-descr.svelte-6bw4l4{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__category-exp-descr.svelte-6bw4l4{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__category-exp-descr.svelte-6bw4l4{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__category-exp-descr.svelte-6bw4l4{margin-top:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__category-exp-descr.svelte-6bw4l4{margin-top:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__category-exp-descr.svelte-6bw4l4{margin-top:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__category-exp-descr.svelte-6bw4l4{margin-top:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__category-exp-descr.svelte-6bw4l4{margin-top:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__category-exp-descr.svelte-6bw4l4{margin-top:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__category-exp-descr.svelte-6bw4l4{margin-top:calc(0.0028645833 * 100vw + 0px)}}.hitman-quests__items.svelte-6bw4l4{position:absolute;top:calc(0.1380208333 * 100vw + 0px);right:calc(0.18125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items.svelte-6bw4l4{top:calc(0.1380208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items.svelte-6bw4l4{top:calc(0.1380208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items.svelte-6bw4l4{top:calc(0.1062760417 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items.svelte-6bw4l4{top:calc(0.1518229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items.svelte-6bw4l4{top:calc(0.0966145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items.svelte-6bw4l4{top:calc(0.12421875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items.svelte-6bw4l4{top:calc(0.1518229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items.svelte-6bw4l4{right:calc(0.18125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items.svelte-6bw4l4{right:calc(0.18125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items.svelte-6bw4l4{right:calc(0.1395625 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items.svelte-6bw4l4{right:calc(0.199375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items.svelte-6bw4l4{right:calc(0.126875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items.svelte-6bw4l4{right:calc(0.163125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items.svelte-6bw4l4{right:calc(0.199375 * 100vw + 0px)}}.hitman-quests__items-title.svelte-6bw4l4{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px);margin-bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-title.svelte-6bw4l4{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-title.svelte-6bw4l4{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-title.svelte-6bw4l4{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-title.svelte-6bw4l4{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-title.svelte-6bw4l4{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-title.svelte-6bw4l4{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-title.svelte-6bw4l4{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-title.svelte-6bw4l4{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-title.svelte-6bw4l4{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-title.svelte-6bw4l4{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-title.svelte-6bw4l4{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-title.svelte-6bw4l4{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-title.svelte-6bw4l4{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-title.svelte-6bw4l4{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.hitman-quests__items-wrapper.svelte-6bw4l4{overflow:auto;height:calc(0.378125 * 100vw + 0px);padding-right:calc(0.0130208333 * 100vw + 0px)}.hitman-quests__items-wrapper.svelte-6bw4l4::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-wrapper.svelte-6bw4l4::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-wrapper.svelte-6bw4l4::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-wrapper.svelte-6bw4l4::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-wrapper.svelte-6bw4l4::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-wrapper.svelte-6bw4l4::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-wrapper.svelte-6bw4l4::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-wrapper.svelte-6bw4l4::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-wrapper.svelte-6bw4l4::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-wrapper.svelte-6bw4l4::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-wrapper.svelte-6bw4l4::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-wrapper.svelte-6bw4l4::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-wrapper.svelte-6bw4l4::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-wrapper.svelte-6bw4l4::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-wrapper.svelte-6bw4l4::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.hitman-quests__items-wrapper.svelte-6bw4l4::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-wrapper.svelte-6bw4l4::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-wrapper.svelte-6bw4l4::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-wrapper.svelte-6bw4l4::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-wrapper.svelte-6bw4l4::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-wrapper.svelte-6bw4l4::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-wrapper.svelte-6bw4l4::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-wrapper.svelte-6bw4l4::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.hitman-quests__items-wrapper.svelte-6bw4l4::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-wrapper.svelte-6bw4l4::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-wrapper.svelte-6bw4l4::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-wrapper.svelte-6bw4l4::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-wrapper.svelte-6bw4l4::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-wrapper.svelte-6bw4l4::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-wrapper.svelte-6bw4l4::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-wrapper.svelte-6bw4l4::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-wrapper.svelte-6bw4l4{height:calc(0.378125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-wrapper.svelte-6bw4l4{height:calc(0.378125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-wrapper.svelte-6bw4l4{height:calc(0.29115625 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-wrapper.svelte-6bw4l4{height:calc(0.4159375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-wrapper.svelte-6bw4l4{height:calc(0.2646875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-wrapper.svelte-6bw4l4{height:calc(0.3403125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-wrapper.svelte-6bw4l4{height:calc(0.4159375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-quests__items-wrapper.svelte-6bw4l4{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-quests__items-wrapper.svelte-6bw4l4{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-quests__items-wrapper.svelte-6bw4l4{padding-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-quests__items-wrapper.svelte-6bw4l4{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-quests__items-wrapper.svelte-6bw4l4{padding-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-quests__items-wrapper.svelte-6bw4l4{padding-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-quests__items-wrapper.svelte-6bw4l4{padding-right:calc(0.0143229167 * 100vw + 0px)}}.hitman-quests__items-wrapper.svelte-6bw4l4::-webkit-scrollbar{width:0px}");
}

function hitman_quests_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[19] = list[i];
	return child_ctx;
}

function hitman_quests_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[22] = list[i];
	return child_ctx;
}

// (2275:16) {#if category.status === status}
function hitman_quests_index_svelte_create_if_block_1(ctx) {
	let div2;
	let div0;
	let p0;
	let t0_value = /*category*/ ctx[22].title + "";
	let t0;
	let t1;
	let p1;
	let t2_value = /*category*/ ctx[22].description + "";
	let t2;
	let t3;
	let div1;
	let p2;
	let t4_value = /*category*/ ctx[22].count + "";
	let t4;
	let t5;
	let p3;
	let t7;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[8](/*category*/ ctx[22]);
	}

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = space();
			div1 = internal_element("div");
			p2 = internal_element("p");
			t4 = internal_text(t4_value);
			t5 = space();
			p3 = internal_element("p");
			p3.textContent = "Задач";
			t7 = space();
			attr(p0, "class", "hitman-quests__category-quest-title svelte-6bw4l4");
			attr(p1, "class", "hitman-quests__category-quest-descr svelte-6bw4l4");
			attr(div0, "class", "hitman-quests__category-quest-body svelte-6bw4l4");
			attr(p2, "class", "hitman-quests__category-exp svelte-6bw4l4");
			attr(p3, "class", "hitman-quests__category-exp-descr svelte-6bw4l4");
			attr(div1, "class", "hitman-quests__category-quest-progress svelte-6bw4l4");
			attr(div2, "class", "hitman-quests__category-quest svelte-6bw4l4");
			toggle_class(div2, "hitman-quests__category-quest--selected", /*category*/ ctx[22].id === /*selectedTabId*/ ctx[2]);
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div0, p0);
			append(p0, t0);
			append(div0, t1);
			append(div0, p1);
			append(p1, t2);
			append(div2, t3);
			append(div2, div1);
			append(div1, p2);
			append(p2, t4);
			append(div1, t5);
			append(div1, p3);
			append(div2, t7);

			if (!mounted) {
				dispose = listen(div2, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if (dirty & /*categoriesTabs*/ 2 && t0_value !== (t0_value = /*category*/ ctx[22].title + "")) set_data(t0, t0_value);
			if (dirty & /*categoriesTabs*/ 2 && t2_value !== (t2_value = /*category*/ ctx[22].description + "")) set_data(t2, t2_value);
			if (dirty & /*categoriesTabs*/ 2 && t4_value !== (t4_value = /*category*/ ctx[22].count + "")) set_data(t4, t4_value);

			if (dirty & /*categoriesTabs, selectedTabId*/ 6) {
				toggle_class(div2, "hitman-quests__category-quest--selected", /*category*/ ctx[22].id === /*selectedTabId*/ ctx[2]);
			}
		},
		d(detaching) {
			if (detaching) detach(div2);
			mounted = false;
			dispose();
		}
	};
}

// (2274:12) {#each categoriesTabs as category}
function hitman_quests_index_svelte_create_each_block_1(ctx) {
	let if_block_anchor;
	let if_block = /*category*/ ctx[22].status === /*status*/ ctx[3] && hitman_quests_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
		},
		p(ctx, dirty) {
			if (/*category*/ ctx[22].status === /*status*/ ctx[3]) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = hitman_quests_index_svelte_create_if_block_1(ctx);
					if_block.c();
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

// (2302:8) {#if !isEmpty(categoriesQuests[selectedTabId])}
function hitman_quests_index_svelte_create_if_block(ctx) {
	let p;
	let t1;
	let div;
	let previous_key = /*selectedTabId*/ ctx[2];
	let current;
	let key_block = quests_index_svelte_create_key_block(ctx);

	return {
		c() {
			p = internal_element("p");
			p.textContent = "Доступные заказы";
			t1 = space();
			div = internal_element("div");
			key_block.c();
			attr(p, "class", "hitman-quests__items-title svelte-6bw4l4");
			attr(div, "class", "hitman-quests__items-wrapper svelte-6bw4l4");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			insert(target, t1, anchor);
			insert(target, div, anchor);
			key_block.m(div, null);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty & /*selectedTabId*/ 4 && safe_not_equal(previous_key, previous_key = /*selectedTabId*/ ctx[2])) {
				group_outros();
				transition_out(key_block, 1, 1, internal_noop);
				check_outros();
				key_block = quests_index_svelte_create_key_block(ctx);
				key_block.c();
				transition_in(key_block, 1);
				key_block.m(div, null);
			} else {
				key_block.p(ctx, dirty);
			}
		},
		i(local) {
			if (current) return;
			transition_in(key_block);
			current = true;
		},
		o(local) {
			transition_out(key_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(p);
			if (detaching) detach(t1);
			if (detaching) detach(div);
			key_block.d(detaching);
		}
	};
}

// (2308:20) {#each categoriesQuests[selectedTabId] as quest}
function hitman_quests_index_svelte_create_each_block(ctx) {
	let accordion;
	let current;

	accordion = new components_accordion_index_svelte({
			props: {
				quest: /*quest*/ ctx[19],
				categoryId: /*selectedTabId*/ ctx[2],
				tabId: /*status*/ ctx[3]
			}
		});

	return {
		c() {
			create_component(accordion.$$.fragment);
		},
		m(target, anchor) {
			mount_component(accordion, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const accordion_changes = {};
			if (dirty & /*categoriesQuests, selectedTabId*/ 5) accordion_changes.quest = /*quest*/ ctx[19];
			if (dirty & /*selectedTabId*/ 4) accordion_changes.categoryId = /*selectedTabId*/ ctx[2];
			if (dirty & /*status*/ 8) accordion_changes.tabId = /*status*/ ctx[3];
			accordion.$set(accordion_changes);
		},
		i(local) {
			if (current) return;
			transition_in(accordion.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(accordion.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(accordion, detaching);
		}
	};
}

// (2307:16) {#key selectedTabId}
function quests_index_svelte_create_key_block(ctx) {
	let each_1_anchor;
	let current;
	let each_value = /*categoriesQuests*/ ctx[0][/*selectedTabId*/ ctx[2]];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = hitman_quests_index_svelte_create_each_block(hitman_quests_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty & /*categoriesQuests, selectedTabId, status*/ 13) {
				each_value = /*categoriesQuests*/ ctx[0][/*selectedTabId*/ ctx[2]];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = hitman_quests_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = hitman_quests_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			destroy_each(each_blocks, detaching);
			if (detaching) detach(each_1_anchor);
		}
	};
}

function hitman_quests_index_svelte_create_fragment(ctx) {
	let div5;
	let p0;
	let t1;
	let div0;
	let img0;
	let img0_src_value;
	let t2;
	let p1;
	let t4;
	let div1;
	let p2;
	let t6;
	let p3;
	let t8;
	let img1;
	let img1_src_value;
	let t9;
	let img2;
	let img2_src_value;
	let t10;
	let exitbutton;
	let t11;
	let div3;
	let p4;
	let t13;
	let div2;
	let t14;
	let div4;
	let show_if = !(0,lodash.isEmpty)(/*categoriesQuests*/ ctx[0][/*selectedTabId*/ ctx[2]]);
	let current;
	let mounted;
	let dispose;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[5],
				title: "Вернутся назад",
				fixedPosition: true
			}
		});

	let each_value_1 = /*categoriesTabs*/ ctx[1];
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = hitman_quests_index_svelte_create_each_block_1(hitman_quests_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	let if_block = show_if && hitman_quests_index_svelte_create_if_block(ctx);

	return {
		c() {
			div5 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Список заказов";
			t1 = space();
			div0 = internal_element("div");
			img0 = internal_element("img");
			t2 = space();
			p1 = internal_element("p");
			p1.textContent = "Заказные убийства";
			t4 = space();
			div1 = internal_element("div");
			p2 = internal_element("p");
			p2.textContent = "Серверные";
			t6 = space();
			p3 = internal_element("p");
			p3.textContent = "Индивидуальные";
			t8 = space();
			img1 = internal_element("img");
			t9 = space();
			img2 = internal_element("img");
			t10 = space();
			create_component(exitbutton.$$.fragment);
			t11 = space();
			div3 = internal_element("div");
			p4 = internal_element("p");
			p4.textContent = "Сложность";
			t13 = space();
			div2 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t14 = space();
			div4 = internal_element("div");
			if (if_block) if_block.c();
			attr(p0, "class", "hitman-quests__title svelte-6bw4l4");
			attr(img0, "class", "hitman-quests__logo-icon svelte-6bw4l4");
			if (!src_url_equal(img0.src, img0_src_value = hitman_img_logo_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "logo");
			attr(p1, "class", "hitman-quests__logo-title svelte-6bw4l4");
			attr(div0, "class", "hitman-quests__logo svelte-6bw4l4");
			attr(p2, "class", "hitman-quests__switch-button svelte-6bw4l4");
			toggle_class(p2, "hitman-quests__switch-button--selected", /*status*/ ctx[3] === 'server');
			attr(p3, "class", "hitman-quests__switch-button svelte-6bw4l4");
			toggle_class(p3, "hitman-quests__switch-button--selected", /*status*/ ctx[3] === 'individual');
			attr(div1, "class", "hitman-quests__switch-quests svelte-6bw4l4");
			attr(img1, "class", "hitman-quests__soldier-img svelte-6bw4l4");
			if (!src_url_equal(img1.src, img1_src_value = hands_background_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "background");
			attr(img2, "class", "hitman-quests__quests-img svelte-6bw4l4");
			if (!src_url_equal(img2.src, img2_src_value = quests_img_hitman_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "background");
			attr(p4, "class", "hitman-quests__category-title svelte-6bw4l4");
			attr(div2, "class", "hitman-quests__categories-wrapper svelte-6bw4l4");
			attr(div3, "class", "hitman-quests__category svelte-6bw4l4");
			attr(div4, "class", "hitman-quests__items svelte-6bw4l4");
			attr(div5, "class", "hitman-quests svelte-6bw4l4");
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			append(div5, p0);
			append(div5, t1);
			append(div5, div0);
			append(div0, img0);
			append(div0, t2);
			append(div0, p1);
			append(div5, t4);
			append(div5, div1);
			append(div1, p2);
			append(div1, t6);
			append(div1, p3);
			append(div5, t8);
			append(div5, img1);
			append(div5, t9);
			append(div5, img2);
			append(div5, t10);
			mount_component(exitbutton, div5, null);
			append(div5, t11);
			append(div5, div3);
			append(div3, p4);
			append(div3, t13);
			append(div3, div2);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div2, null);
			}

			append(div5, t14);
			append(div5, div4);
			if (if_block) if_block.m(div4, null);
			current = true;

			if (!mounted) {
				dispose = [
					listen(p2, "click", /*setServerStatus*/ ctx[6]),
					listen(p3, "click", /*setIndividualStatus*/ ctx[7])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*status*/ 8) {
				toggle_class(p2, "hitman-quests__switch-button--selected", /*status*/ ctx[3] === 'server');
			}

			if (dirty & /*status*/ 8) {
				toggle_class(p3, "hitman-quests__switch-button--selected", /*status*/ ctx[3] === 'individual');
			}

			if (dirty & /*categoriesTabs, selectedTabId, selectCategory, status*/ 30) {
				each_value_1 = /*categoriesTabs*/ ctx[1];
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = hitman_quests_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = hitman_quests_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div2, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}

			if (dirty & /*categoriesQuests, selectedTabId*/ 5) show_if = !(0,lodash.isEmpty)(/*categoriesQuests*/ ctx[0][/*selectedTabId*/ ctx[2]]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*categoriesQuests, selectedTabId*/ 5) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = hitman_quests_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(div4, null);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div5);
			destroy_component(exitbutton);
			destroy_each(each_blocks, detaching);
			if (if_block) if_block.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function hitman_quests_index_svelte_instance($$self, $$props, $$invalidate) {
	let categoriesQuests = {};
	let categoriesTabs = [];
	let selectedTabId = null;
	let status = 'individual';

	const setCategoryQuests = (categoryId, quests) => {
		$$invalidate(0, categoriesQuests[categoryId] = quests, categoriesQuests);
	};

	const pushCategoryQuests = (categoryId, quests) => {
		$$invalidate(0, categoriesQuests[categoryId] = [...categoriesQuests[categoryId] || [], ...quests], categoriesQuests);
	};

	const selectCategory = tabId => {
		$$invalidate(2, selectedTabId = tabId);
	};

	const handleClose = () => {
		
	}; // exec close event

	const initQuests = categoriesQuestsDto => {
		$$invalidate(0, categoriesQuests = categoriesQuestsDto);
	};

	const initTabs = categoriesTabsDto => {
		$$invalidate(1, categoriesTabs = categoriesTabsDto);
	};

	const requestQuestsUpdate = () => {
		sendClientMessage('hitman.quests.requestUpdate', status);
	};

	const setServerStatus = () => {
		$$invalidate(3, status = 'server');
		requestQuestsUpdate();
	};

	const setIndividualStatus = () => {
		$$invalidate(3, status = 'individual');
		requestQuestsUpdate();
	};

	const unregisterInitQuestsEvent = registerEvent('hitman.quests.initialize', initQuests);
	const unregisterInitTabsEvent = registerEvent('hitman.categories.initialize', initTabs);
	const unregisterSetCategoryQuestEvent = registerEvent('hitman.categories.update', setCategoryQuests);
	const unregisterSelectCategoryQuestEvent = registerEvent('hitman.categories.select', selectCategory);
	const unregisterPushQuestsEvent = registerEvent('hitman.quests.push', pushCategoryQuests);

	onMount(() => {
		requestQuestsUpdate();
	});

	onDestroy(() => {
		unregisterInitQuestsEvent();
		unregisterInitTabsEvent();
		unregisterSetCategoryQuestEvent();
		unregisterSelectCategoryQuestEvent();
		unregisterPushQuestsEvent();
	});

	const click_handler = category => selectCategory(category.id);

	return [
		categoriesQuests,
		categoriesTabs,
		selectedTabId,
		status,
		selectCategory,
		handleClose,
		setServerStatus,
		setIndividualStatus,
		click_handler
	];
}

class index_svelte_Quests extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, hitman_quests_index_svelte_instance, hitman_quests_index_svelte_create_fragment, safe_not_equal, {}, hitman_quests_index_svelte_add_css);
	}
}

/* harmony default export */ const hitman_quests_index_svelte = (index_svelte_Quests);
;// CONCATENATED MODULE: ./src/views/hitman/order/img/hitman-order.png
const hitman_order_namespaceObject = __webpack_require__.p + "assets/a90804e6b82bdb88b8e3.webp";
;// CONCATENATED MODULE: ./src/views/hitman/order/img/contracts-order.png
const contracts_order_namespaceObject = __webpack_require__.p + "assets/eb08b0e2a1427d6aad51.webp";
;// CONCATENATED MODULE: ./src/views/hitman/order/img/form-order.png
const form_order_namespaceObject = __webpack_require__.p + "assets/ce0074f130d0a68265ca.webp";
;// CONCATENATED MODULE: ./src/views/hitman/order/img/form-order-logo.svg
const form_order_logo_namespaceObject = __webpack_require__.p + "assets/10f1c8346f8387e397f9.svg";
;// CONCATENATED MODULE: ./src/views/hitman/order/index.svelte
/* src\views\hitman\order\index.svelte generated by Svelte v3.49.0 */












function order_index_svelte_add_css(target) {
	append_styles(target, "svelte-11g7yf3", "@keyframes svelte-11g7yf3-blinking{50%{opacity:0}}@keyframes svelte-11g7yf3-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-11g7yf3-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-11g7yf3-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-11g7yf3-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-11g7yf3-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-11g7yf3-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-11g7yf3-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-11g7yf3-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-11g7yf3-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-11g7yf3-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-11g7yf3-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-11g7yf3-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-11g7yf3-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-11g7yf3-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.hitman-order.svelte-11g7yf3{display:flex;align-items:center;flex-direction:column;width:100vw;height:100vh;background-color:rgba(32, 39, 49, 0.9)}.hitman-order__title.svelte-11g7yf3{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.01875 * 100vw + 0px);margin-top:calc(0.0447916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__title.svelte-11g7yf3{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__title.svelte-11g7yf3{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__title.svelte-11g7yf3{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__title.svelte-11g7yf3{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__title.svelte-11g7yf3{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__title.svelte-11g7yf3{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__title.svelte-11g7yf3{font-size:calc(0.020625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__title.svelte-11g7yf3{margin-top:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__title.svelte-11g7yf3{margin-top:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__title.svelte-11g7yf3{margin-top:calc(0.0344895833 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__title.svelte-11g7yf3{margin-top:calc(0.0492708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__title.svelte-11g7yf3{margin-top:calc(0.0313541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__title.svelte-11g7yf3{margin-top:calc(0.0403125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__title.svelte-11g7yf3{margin-top:calc(0.0492708333 * 100vw + 0px)}}.hitman-order__description.svelte-11g7yf3{text-align:center;margin-top:calc(0.0260416667 * 100vw + 0px);font-size:calc(0.0078125 * 100vw + 0px);line-height:calc(0.015625 * 100vw + 0px);font-family:\"GothamPro\";color:#FFFFFF}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__description.svelte-11g7yf3{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__description.svelte-11g7yf3{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__description.svelte-11g7yf3{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__description.svelte-11g7yf3{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__description.svelte-11g7yf3{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__description.svelte-11g7yf3{margin-top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__description.svelte-11g7yf3{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__description.svelte-11g7yf3{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__description.svelte-11g7yf3{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__description.svelte-11g7yf3{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__description.svelte-11g7yf3{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__description.svelte-11g7yf3{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__description.svelte-11g7yf3{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__description.svelte-11g7yf3{font-size:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__description.svelte-11g7yf3{line-height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__description.svelte-11g7yf3{line-height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__description.svelte-11g7yf3{line-height:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__description.svelte-11g7yf3{line-height:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__description.svelte-11g7yf3{line-height:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__description.svelte-11g7yf3{line-height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__description.svelte-11g7yf3{line-height:calc(0.0171875 * 100vw + 0px)}}.hitman-order__logo.svelte-11g7yf3{position:absolute;display:flex;align-items:center;top:calc(0.0416666667 * 100vw + 0px);left:calc(0.03125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__logo.svelte-11g7yf3{top:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__logo.svelte-11g7yf3{top:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__logo.svelte-11g7yf3{top:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__logo.svelte-11g7yf3{top:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__logo.svelte-11g7yf3{top:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__logo.svelte-11g7yf3{top:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__logo.svelte-11g7yf3{top:calc(0.0458333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__logo.svelte-11g7yf3{left:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__logo.svelte-11g7yf3{left:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__logo.svelte-11g7yf3{left:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__logo.svelte-11g7yf3{left:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__logo.svelte-11g7yf3{left:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__logo.svelte-11g7yf3{left:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__logo.svelte-11g7yf3{left:calc(0.034375 * 100vw + 0px)}}.hitman-order__logo-icon.svelte-11g7yf3{height:calc(0.0390625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__logo-icon.svelte-11g7yf3{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__logo-icon.svelte-11g7yf3{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__logo-icon.svelte-11g7yf3{height:calc(0.030078125 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__logo-icon.svelte-11g7yf3{height:calc(0.04296875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__logo-icon.svelte-11g7yf3{height:calc(0.02734375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__logo-icon.svelte-11g7yf3{height:calc(0.03515625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__logo-icon.svelte-11g7yf3{height:calc(0.04296875 * 100vw + 0px)}}.hitman-order__logo-title.svelte-11g7yf3{color:#FFFFFF;font-family:\"GothamPro-Bold\";padding-left:calc(0.0130208333 * 100vw + 0px);width:calc(0.1041666667 * 100vw + 0px);line-height:calc(0.0098958333 * 100vw + 0px);font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__logo-title.svelte-11g7yf3{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__logo-title.svelte-11g7yf3{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__logo-title.svelte-11g7yf3{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__logo-title.svelte-11g7yf3{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__logo-title.svelte-11g7yf3{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__logo-title.svelte-11g7yf3{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__logo-title.svelte-11g7yf3{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__logo-title.svelte-11g7yf3{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__logo-title.svelte-11g7yf3{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__logo-title.svelte-11g7yf3{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__logo-title.svelte-11g7yf3{width:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__logo-title.svelte-11g7yf3{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__logo-title.svelte-11g7yf3{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__logo-title.svelte-11g7yf3{width:calc(0.1145833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__logo-title.svelte-11g7yf3{line-height:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__logo-title.svelte-11g7yf3{line-height:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__logo-title.svelte-11g7yf3{line-height:calc(0.0076197917 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__logo-title.svelte-11g7yf3{line-height:calc(0.0108854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__logo-title.svelte-11g7yf3{line-height:calc(0.0069270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__logo-title.svelte-11g7yf3{line-height:calc(0.00890625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__logo-title.svelte-11g7yf3{line-height:calc(0.0108854167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__logo-title.svelte-11g7yf3{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__logo-title.svelte-11g7yf3{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__logo-title.svelte-11g7yf3{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__logo-title.svelte-11g7yf3{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__logo-title.svelte-11g7yf3{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__logo-title.svelte-11g7yf3{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__logo-title.svelte-11g7yf3{font-size:calc(0.0114583333 * 100vw + 0px)}}.hitman-order__hitman-img.svelte-11g7yf3{position:absolute;z-index:-1;left:0;bottom:0;height:calc(0.5 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__hitman-img.svelte-11g7yf3{height:calc(0.5 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__hitman-img.svelte-11g7yf3{height:calc(0.5 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__hitman-img.svelte-11g7yf3{height:calc(0.385 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__hitman-img.svelte-11g7yf3{height:calc(0.55 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__hitman-img.svelte-11g7yf3{height:calc(0.35 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__hitman-img.svelte-11g7yf3{height:calc(0.45 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__hitman-img.svelte-11g7yf3{height:calc(0.55 * 100vw + 0px)}}.hitman-order__contracts-img.svelte-11g7yf3{position:absolute;z-index:-1;right:0;pointer-events:none;top:calc(0.015625 * 100vw + 0px);height:calc(0.5520833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__contracts-img.svelte-11g7yf3{top:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__contracts-img.svelte-11g7yf3{top:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__contracts-img.svelte-11g7yf3{top:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__contracts-img.svelte-11g7yf3{top:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__contracts-img.svelte-11g7yf3{top:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__contracts-img.svelte-11g7yf3{top:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__contracts-img.svelte-11g7yf3{top:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__contracts-img.svelte-11g7yf3{height:calc(0.5520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__contracts-img.svelte-11g7yf3{height:calc(0.5520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__contracts-img.svelte-11g7yf3{height:calc(0.4251041667 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__contracts-img.svelte-11g7yf3{height:calc(0.6072916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__contracts-img.svelte-11g7yf3{height:calc(0.3864583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__contracts-img.svelte-11g7yf3{height:calc(0.496875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__contracts-img.svelte-11g7yf3{height:calc(0.6072916667 * 100vw + 0px)}}.hitman-order__form-wrapper.svelte-11g7yf3{position:absolute;bottom:0;width:calc(0.3234375 * 100vw + 0px);height:calc(0.4166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-wrapper.svelte-11g7yf3{width:calc(0.3234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-wrapper.svelte-11g7yf3{width:calc(0.3234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-wrapper.svelte-11g7yf3{width:calc(0.249046875 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-wrapper.svelte-11g7yf3{width:calc(0.35578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-wrapper.svelte-11g7yf3{width:calc(0.22640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-wrapper.svelte-11g7yf3{width:calc(0.29109375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-wrapper.svelte-11g7yf3{width:calc(0.35578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-wrapper.svelte-11g7yf3{height:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-wrapper.svelte-11g7yf3{height:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-wrapper.svelte-11g7yf3{height:calc(0.3208333333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-wrapper.svelte-11g7yf3{height:calc(0.4583333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-wrapper.svelte-11g7yf3{height:calc(0.2916666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-wrapper.svelte-11g7yf3{height:calc(0.375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-wrapper.svelte-11g7yf3{height:calc(0.4583333333 * 100vw + 0px)}}.hitman-order__form-background.svelte-11g7yf3{position:absolute;height:calc(0.4166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-background.svelte-11g7yf3{height:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-background.svelte-11g7yf3{height:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-background.svelte-11g7yf3{height:calc(0.3208333333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-background.svelte-11g7yf3{height:calc(0.4583333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-background.svelte-11g7yf3{height:calc(0.2916666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-background.svelte-11g7yf3{height:calc(0.375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-background.svelte-11g7yf3{height:calc(0.4583333333 * 100vw + 0px)}}.hitman-order__form-items-wrapper.svelte-11g7yf3{display:flex;flex-direction:column;align-items:center;position:relative}.hitman-order__form-logo-wrapper.svelte-11g7yf3{display:flex;flex-direction:column;align-items:center;margin-top:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-logo-wrapper.svelte-11g7yf3{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-logo-wrapper.svelte-11g7yf3{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-logo-wrapper.svelte-11g7yf3{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-logo-wrapper.svelte-11g7yf3{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-logo-wrapper.svelte-11g7yf3{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-logo-wrapper.svelte-11g7yf3{margin-top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-logo-wrapper.svelte-11g7yf3{margin-top:calc(0.0286458333 * 100vw + 0px)}}.hitman-order__form-logo.svelte-11g7yf3{width:calc(0.0520833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-logo.svelte-11g7yf3{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-logo.svelte-11g7yf3{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-logo.svelte-11g7yf3{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-logo.svelte-11g7yf3{width:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-logo.svelte-11g7yf3{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-logo.svelte-11g7yf3{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-logo.svelte-11g7yf3{width:calc(0.0572916667 * 100vw + 0px)}}.hitman-order__form-logo-title.svelte-11g7yf3{margin-top:calc(0.0104166667 * 100vw + 0px);font-size:calc(0.0104166667 * 100vw + 0px);color:#FF3737;font-family:\"GothamPro-Bold\"}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-logo-title.svelte-11g7yf3{margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-logo-title.svelte-11g7yf3{margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-logo-title.svelte-11g7yf3{margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-logo-title.svelte-11g7yf3{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-logo-title.svelte-11g7yf3{margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-logo-title.svelte-11g7yf3{margin-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-logo-title.svelte-11g7yf3{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-logo-title.svelte-11g7yf3{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-logo-title.svelte-11g7yf3{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-logo-title.svelte-11g7yf3{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-logo-title.svelte-11g7yf3{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-logo-title.svelte-11g7yf3{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-logo-title.svelte-11g7yf3{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-logo-title.svelte-11g7yf3{font-size:calc(0.0114583333 * 100vw + 0px)}}.hitman-order__form-name-wrapper.svelte-11g7yf3{margin-top:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-name-wrapper.svelte-11g7yf3{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-name-wrapper.svelte-11g7yf3{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-name-wrapper.svelte-11g7yf3{margin-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-name-wrapper.svelte-11g7yf3{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-name-wrapper.svelte-11g7yf3{margin-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-name-wrapper.svelte-11g7yf3{margin-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-name-wrapper.svelte-11g7yf3{margin-top:calc(0.0143229167 * 100vw + 0px)}}.hitman-order__form-name-title.svelte-11g7yf3{margin-bottom:calc(0.0078125 * 100vw + 0px);font-size:calc(0.00625 * 100vw + 0px);font-family:\"GothamPro\";color:#404040}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-name-title.svelte-11g7yf3{margin-bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-name-title.svelte-11g7yf3{margin-bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-name-title.svelte-11g7yf3{margin-bottom:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-name-title.svelte-11g7yf3{margin-bottom:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-name-title.svelte-11g7yf3{margin-bottom:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-name-title.svelte-11g7yf3{margin-bottom:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-name-title.svelte-11g7yf3{margin-bottom:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-name-title.svelte-11g7yf3{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-name-title.svelte-11g7yf3{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-name-title.svelte-11g7yf3{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-name-title.svelte-11g7yf3{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-name-title.svelte-11g7yf3{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-name-title.svelte-11g7yf3{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-name-title.svelte-11g7yf3{font-size:calc(0.006875 * 100vw + 0px)}}.hitman-order__form-name-input-wrapper.svelte-11g7yf3{display:flex;width:calc(0.1822916667 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);background:#FFFFFF}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-name-input-wrapper.svelte-11g7yf3{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-name-input-wrapper.svelte-11g7yf3{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-name-input-wrapper.svelte-11g7yf3{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-name-input-wrapper.svelte-11g7yf3{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-name-input-wrapper.svelte-11g7yf3{width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-name-input-wrapper.svelte-11g7yf3{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-name-input-wrapper.svelte-11g7yf3{width:calc(0.2005208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-name-input-wrapper.svelte-11g7yf3{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-name-input-wrapper.svelte-11g7yf3{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-name-input-wrapper.svelte-11g7yf3{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-name-input-wrapper.svelte-11g7yf3{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-name-input-wrapper.svelte-11g7yf3{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-name-input-wrapper.svelte-11g7yf3{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-name-input-wrapper.svelte-11g7yf3{height:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-name-input-wrapper.svelte-11g7yf3{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-name-input-wrapper.svelte-11g7yf3{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-name-input-wrapper.svelte-11g7yf3{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-name-input-wrapper.svelte-11g7yf3{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-name-input-wrapper.svelte-11g7yf3{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-name-input-wrapper.svelte-11g7yf3{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-name-input-wrapper.svelte-11g7yf3{border-radius:calc(0.0057291667 * 100vw + 0px)}}.hitman-order__form-name-input.svelte-11g7yf3{width:calc(0.15625 * 100vw + 0px);margin-left:calc(0.0052083333 * 100vw + 0px);font-size:calc(0.0067708333 * 100vw + 0px);border:none;background:transparent;font-family:\"GothamPro\";color:#404040}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-name-input.svelte-11g7yf3{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-name-input.svelte-11g7yf3{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-name-input.svelte-11g7yf3{width:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-name-input.svelte-11g7yf3{width:calc(0.171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-name-input.svelte-11g7yf3{width:calc(0.109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-name-input.svelte-11g7yf3{width:calc(0.140625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-name-input.svelte-11g7yf3{width:calc(0.171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-name-input.svelte-11g7yf3{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-name-input.svelte-11g7yf3{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-name-input.svelte-11g7yf3{margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-name-input.svelte-11g7yf3{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-name-input.svelte-11g7yf3{margin-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-name-input.svelte-11g7yf3{margin-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-name-input.svelte-11g7yf3{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-name-input.svelte-11g7yf3{font-size:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-name-input.svelte-11g7yf3{font-size:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-name-input.svelte-11g7yf3{font-size:calc(0.0052135417 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-name-input.svelte-11g7yf3{font-size:calc(0.0074479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-name-input.svelte-11g7yf3{font-size:calc(0.0047395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-name-input.svelte-11g7yf3{font-size:calc(0.00609375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-name-input.svelte-11g7yf3{font-size:calc(0.0074479167 * 100vw + 0px)}}.hitman-order__form-description-wrapper.svelte-11g7yf3{margin-top:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-description-wrapper.svelte-11g7yf3{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-description-wrapper.svelte-11g7yf3{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-description-wrapper.svelte-11g7yf3{margin-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-description-wrapper.svelte-11g7yf3{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-description-wrapper.svelte-11g7yf3{margin-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-description-wrapper.svelte-11g7yf3{margin-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-description-wrapper.svelte-11g7yf3{margin-top:calc(0.0143229167 * 100vw + 0px)}}.hitman-order__form-description-title.svelte-11g7yf3{margin-bottom:calc(0.0078125 * 100vw + 0px);font-size:calc(0.00625 * 100vw + 0px);font-family:\"GothamPro\";color:#404040}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-description-title.svelte-11g7yf3{margin-bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-description-title.svelte-11g7yf3{margin-bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-description-title.svelte-11g7yf3{margin-bottom:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-description-title.svelte-11g7yf3{margin-bottom:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-description-title.svelte-11g7yf3{margin-bottom:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-description-title.svelte-11g7yf3{margin-bottom:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-description-title.svelte-11g7yf3{margin-bottom:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-description-title.svelte-11g7yf3{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-description-title.svelte-11g7yf3{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-description-title.svelte-11g7yf3{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-description-title.svelte-11g7yf3{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-description-title.svelte-11g7yf3{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-description-title.svelte-11g7yf3{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-description-title.svelte-11g7yf3{font-size:calc(0.006875 * 100vw + 0px)}}.hitman-order__form-description-input-wrapper.svelte-11g7yf3{display:flex;align-items:center;width:calc(0.1822916667 * 100vw + 0px);height:calc(0.0520833333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);background:#FFFFFF}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-description-input-wrapper.svelte-11g7yf3{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-description-input-wrapper.svelte-11g7yf3{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-description-input-wrapper.svelte-11g7yf3{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-description-input-wrapper.svelte-11g7yf3{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-description-input-wrapper.svelte-11g7yf3{width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-description-input-wrapper.svelte-11g7yf3{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-description-input-wrapper.svelte-11g7yf3{width:calc(0.2005208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-description-input-wrapper.svelte-11g7yf3{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-description-input-wrapper.svelte-11g7yf3{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-description-input-wrapper.svelte-11g7yf3{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-description-input-wrapper.svelte-11g7yf3{height:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-description-input-wrapper.svelte-11g7yf3{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-description-input-wrapper.svelte-11g7yf3{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-description-input-wrapper.svelte-11g7yf3{height:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-description-input-wrapper.svelte-11g7yf3{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-description-input-wrapper.svelte-11g7yf3{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-description-input-wrapper.svelte-11g7yf3{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-description-input-wrapper.svelte-11g7yf3{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-description-input-wrapper.svelte-11g7yf3{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-description-input-wrapper.svelte-11g7yf3{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-description-input-wrapper.svelte-11g7yf3{border-radius:calc(0.0057291667 * 100vw + 0px)}}.hitman-order__form-description-input.svelte-11g7yf3{width:calc(0.171875 * 100vw + 0px);height:calc(0.0416666667 * 100vw + 0px);margin-left:calc(0.0052083333 * 100vw + 0px);font-size:calc(0.0067708333 * 100vw + 0px);border:none;background:transparent;color:#404040;font-family:\"GothamPro\";resize:none;outline:none}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-description-input.svelte-11g7yf3{width:calc(0.171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-description-input.svelte-11g7yf3{width:calc(0.171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-description-input.svelte-11g7yf3{width:calc(0.13234375 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-description-input.svelte-11g7yf3{width:calc(0.1890625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-description-input.svelte-11g7yf3{width:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-description-input.svelte-11g7yf3{width:calc(0.1546875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-description-input.svelte-11g7yf3{width:calc(0.1890625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-description-input.svelte-11g7yf3{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-description-input.svelte-11g7yf3{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-description-input.svelte-11g7yf3{height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-description-input.svelte-11g7yf3{height:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-description-input.svelte-11g7yf3{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-description-input.svelte-11g7yf3{height:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-description-input.svelte-11g7yf3{height:calc(0.0458333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-description-input.svelte-11g7yf3{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-description-input.svelte-11g7yf3{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-description-input.svelte-11g7yf3{margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-description-input.svelte-11g7yf3{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-description-input.svelte-11g7yf3{margin-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-description-input.svelte-11g7yf3{margin-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-description-input.svelte-11g7yf3{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-description-input.svelte-11g7yf3{font-size:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-description-input.svelte-11g7yf3{font-size:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-description-input.svelte-11g7yf3{font-size:calc(0.0052135417 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-description-input.svelte-11g7yf3{font-size:calc(0.0074479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-description-input.svelte-11g7yf3{font-size:calc(0.0047395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-description-input.svelte-11g7yf3{font-size:calc(0.00609375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-description-input.svelte-11g7yf3{font-size:calc(0.0074479167 * 100vw + 0px)}}.hitman-order__form-drop-wrapper.svelte-11g7yf3{display:flex;align-items:center;margin-top:calc(0.0130208333 * 100vw + 0px);width:calc(0.1822916667 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);background:#404040;color:#FFFFFF;cursor:pointer}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-drop-wrapper.svelte-11g7yf3{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-drop-wrapper.svelte-11g7yf3{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-drop-wrapper.svelte-11g7yf3{margin-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-drop-wrapper.svelte-11g7yf3{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-drop-wrapper.svelte-11g7yf3{margin-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-drop-wrapper.svelte-11g7yf3{margin-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-drop-wrapper.svelte-11g7yf3{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-drop-wrapper.svelte-11g7yf3{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-drop-wrapper.svelte-11g7yf3{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-drop-wrapper.svelte-11g7yf3{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-drop-wrapper.svelte-11g7yf3{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-drop-wrapper.svelte-11g7yf3{width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-drop-wrapper.svelte-11g7yf3{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-drop-wrapper.svelte-11g7yf3{width:calc(0.2005208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-drop-wrapper.svelte-11g7yf3{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-drop-wrapper.svelte-11g7yf3{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-drop-wrapper.svelte-11g7yf3{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-drop-wrapper.svelte-11g7yf3{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-drop-wrapper.svelte-11g7yf3{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-drop-wrapper.svelte-11g7yf3{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-drop-wrapper.svelte-11g7yf3{height:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-drop-wrapper.svelte-11g7yf3{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-drop-wrapper.svelte-11g7yf3{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-drop-wrapper.svelte-11g7yf3{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-drop-wrapper.svelte-11g7yf3{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-drop-wrapper.svelte-11g7yf3{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-drop-wrapper.svelte-11g7yf3{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-drop-wrapper.svelte-11g7yf3{border-radius:calc(0.0057291667 * 100vw + 0px)}}.hitman-order__form-drop-wrapper.svelte-11g7yf3:hover{background:#FFFFFF;color:#111111}.hitman-order__form-drop-title.svelte-11g7yf3{margin-left:calc(0.0078125 * 100vw + 0px);font-size:calc(0.0067708333 * 100vw + 0px);font-family:\"GothamPro\"}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-drop-title.svelte-11g7yf3{margin-left:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-drop-title.svelte-11g7yf3{margin-left:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-drop-title.svelte-11g7yf3{margin-left:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-drop-title.svelte-11g7yf3{margin-left:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-drop-title.svelte-11g7yf3{margin-left:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-drop-title.svelte-11g7yf3{margin-left:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-drop-title.svelte-11g7yf3{margin-left:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-drop-title.svelte-11g7yf3{font-size:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-drop-title.svelte-11g7yf3{font-size:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-drop-title.svelte-11g7yf3{font-size:calc(0.0052135417 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-drop-title.svelte-11g7yf3{font-size:calc(0.0074479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-drop-title.svelte-11g7yf3{font-size:calc(0.0047395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-drop-title.svelte-11g7yf3{font-size:calc(0.00609375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-drop-title.svelte-11g7yf3{font-size:calc(0.0074479167 * 100vw + 0px)}}.hitman-order__form-price-wrapper.svelte-11g7yf3{margin-top:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-price-wrapper.svelte-11g7yf3{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-price-wrapper.svelte-11g7yf3{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-price-wrapper.svelte-11g7yf3{margin-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-price-wrapper.svelte-11g7yf3{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-price-wrapper.svelte-11g7yf3{margin-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-price-wrapper.svelte-11g7yf3{margin-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-price-wrapper.svelte-11g7yf3{margin-top:calc(0.0143229167 * 100vw + 0px)}}.hitman-order__form-price-title.svelte-11g7yf3{margin-bottom:calc(0.0078125 * 100vw + 0px);font-size:calc(0.00625 * 100vw + 0px);font-family:\"GothamPro\";color:#404040}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-price-title.svelte-11g7yf3{margin-bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-price-title.svelte-11g7yf3{margin-bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-price-title.svelte-11g7yf3{margin-bottom:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-price-title.svelte-11g7yf3{margin-bottom:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-price-title.svelte-11g7yf3{margin-bottom:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-price-title.svelte-11g7yf3{margin-bottom:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-price-title.svelte-11g7yf3{margin-bottom:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-price-title.svelte-11g7yf3{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-price-title.svelte-11g7yf3{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-price-title.svelte-11g7yf3{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-price-title.svelte-11g7yf3{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-price-title.svelte-11g7yf3{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-price-title.svelte-11g7yf3{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-price-title.svelte-11g7yf3{font-size:calc(0.006875 * 100vw + 0px)}}.hitman-order__form-price-input-wrapper.svelte-11g7yf3{display:flex;width:calc(0.1822916667 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);background:#FFFFFF}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-price-input-wrapper.svelte-11g7yf3{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-price-input-wrapper.svelte-11g7yf3{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-price-input-wrapper.svelte-11g7yf3{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-price-input-wrapper.svelte-11g7yf3{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-price-input-wrapper.svelte-11g7yf3{width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-price-input-wrapper.svelte-11g7yf3{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-price-input-wrapper.svelte-11g7yf3{width:calc(0.2005208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-price-input-wrapper.svelte-11g7yf3{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-price-input-wrapper.svelte-11g7yf3{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-price-input-wrapper.svelte-11g7yf3{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-price-input-wrapper.svelte-11g7yf3{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-price-input-wrapper.svelte-11g7yf3{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-price-input-wrapper.svelte-11g7yf3{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-price-input-wrapper.svelte-11g7yf3{height:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-price-input-wrapper.svelte-11g7yf3{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-price-input-wrapper.svelte-11g7yf3{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-price-input-wrapper.svelte-11g7yf3{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-price-input-wrapper.svelte-11g7yf3{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-price-input-wrapper.svelte-11g7yf3{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-price-input-wrapper.svelte-11g7yf3{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-price-input-wrapper.svelte-11g7yf3{border-radius:calc(0.0057291667 * 100vw + 0px)}}.hitman-order__form-price-input.svelte-11g7yf3{width:calc(0.15625 * 100vw + 0px);margin-left:calc(0.0052083333 * 100vw + 0px);font-size:calc(0.0067708333 * 100vw + 0px);border:none;background:transparent;font-family:\"GothamPro\";color:#404040}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-price-input.svelte-11g7yf3{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-price-input.svelte-11g7yf3{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-price-input.svelte-11g7yf3{width:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-price-input.svelte-11g7yf3{width:calc(0.171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-price-input.svelte-11g7yf3{width:calc(0.109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-price-input.svelte-11g7yf3{width:calc(0.140625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-price-input.svelte-11g7yf3{width:calc(0.171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-price-input.svelte-11g7yf3{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-price-input.svelte-11g7yf3{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-price-input.svelte-11g7yf3{margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-price-input.svelte-11g7yf3{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-price-input.svelte-11g7yf3{margin-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-price-input.svelte-11g7yf3{margin-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-price-input.svelte-11g7yf3{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-price-input.svelte-11g7yf3{font-size:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-price-input.svelte-11g7yf3{font-size:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-price-input.svelte-11g7yf3{font-size:calc(0.0052135417 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-price-input.svelte-11g7yf3{font-size:calc(0.0074479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-price-input.svelte-11g7yf3{font-size:calc(0.0047395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-price-input.svelte-11g7yf3{font-size:calc(0.00609375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-price-input.svelte-11g7yf3{font-size:calc(0.0074479167 * 100vw + 0px)}}.hitman-order__form-price-input.svelte-11g7yf3::-webkit-inner-spin-button,.hitman-order__form-price-input.svelte-11g7yf3::-webkit-outer-spin-button{display:none}.hitman-order__form-price-input-decorative.svelte-11g7yf3{display:flex;align-items:center;font-size:calc(0.0067708333 * 100vw + 0px);color:#86898B}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-price-input-decorative.svelte-11g7yf3{font-size:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-price-input-decorative.svelte-11g7yf3{font-size:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-price-input-decorative.svelte-11g7yf3{font-size:calc(0.0052135417 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-price-input-decorative.svelte-11g7yf3{font-size:calc(0.0074479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-price-input-decorative.svelte-11g7yf3{font-size:calc(0.0047395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-price-input-decorative.svelte-11g7yf3{font-size:calc(0.00609375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-price-input-decorative.svelte-11g7yf3{font-size:calc(0.0074479167 * 100vw + 0px)}}.hitman-order__form-button-wrapper.svelte-11g7yf3{display:flex;align-items:center;justify-content:center;cursor:pointer;margin-top:calc(0.0375 * 100vw + 0px);margin-bottom:calc(0.03125 * 100vw + 0px);width:calc(0.1041666667 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);background:#FF3737;color:#FFFFFF}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-button-wrapper.svelte-11g7yf3{margin-top:calc(0.0375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-button-wrapper.svelte-11g7yf3{margin-top:calc(0.0375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-button-wrapper.svelte-11g7yf3{margin-top:calc(0.028875 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-button-wrapper.svelte-11g7yf3{margin-top:calc(0.04125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-button-wrapper.svelte-11g7yf3{margin-top:calc(0.02625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-button-wrapper.svelte-11g7yf3{margin-top:calc(0.03375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-button-wrapper.svelte-11g7yf3{margin-top:calc(0.04125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-button-wrapper.svelte-11g7yf3{margin-bottom:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-button-wrapper.svelte-11g7yf3{margin-bottom:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-button-wrapper.svelte-11g7yf3{margin-bottom:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-button-wrapper.svelte-11g7yf3{margin-bottom:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-button-wrapper.svelte-11g7yf3{margin-bottom:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-button-wrapper.svelte-11g7yf3{margin-bottom:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-button-wrapper.svelte-11g7yf3{margin-bottom:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-button-wrapper.svelte-11g7yf3{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-button-wrapper.svelte-11g7yf3{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-button-wrapper.svelte-11g7yf3{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-button-wrapper.svelte-11g7yf3{width:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-button-wrapper.svelte-11g7yf3{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-button-wrapper.svelte-11g7yf3{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-button-wrapper.svelte-11g7yf3{width:calc(0.1145833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-button-wrapper.svelte-11g7yf3{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-button-wrapper.svelte-11g7yf3{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-button-wrapper.svelte-11g7yf3{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-button-wrapper.svelte-11g7yf3{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-button-wrapper.svelte-11g7yf3{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-button-wrapper.svelte-11g7yf3{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-button-wrapper.svelte-11g7yf3{height:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-button-wrapper.svelte-11g7yf3{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-button-wrapper.svelte-11g7yf3{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-button-wrapper.svelte-11g7yf3{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-button-wrapper.svelte-11g7yf3{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-button-wrapper.svelte-11g7yf3{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-button-wrapper.svelte-11g7yf3{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-button-wrapper.svelte-11g7yf3{border-radius:calc(0.0057291667 * 100vw + 0px)}}.hitman-order__form-button-wrapper.svelte-11g7yf3:hover{background:#111111}.hitman-order__form-button-key.svelte-11g7yf3{font-size:calc(0.00625 * 100vw + 0px);font-family:\"GothamPro\"}@media(max-width: 1920px) and (max-height: 768px){.hitman-order__form-button-key.svelte-11g7yf3{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.hitman-order__form-button-key.svelte-11g7yf3{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.hitman-order__form-button-key.svelte-11g7yf3{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.hitman-order__form-button-key.svelte-11g7yf3{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.hitman-order__form-button-key.svelte-11g7yf3{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.hitman-order__form-button-key.svelte-11g7yf3{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.hitman-order__form-button-key.svelte-11g7yf3{font-size:calc(0.006875 * 100vw + 0px)}}");
}

function order_index_svelte_create_fragment(ctx) {
	let div12;
	let p0;
	let t1;
	let p1;
	let t4;
	let exitbutton;
	let t5;
	let div0;
	let img0;
	let img0_src_value;
	let t6;
	let p2;
	let t8;
	let img1;
	let img1_src_value;
	let t9;
	let img2;
	let img2_src_value;
	let t10;
	let div11;
	let img3;
	let img3_src_value;
	let t11;
	let div10;
	let div1;
	let img4;
	let img4_src_value;
	let t12;
	let p3;
	let t14;
	let div3;
	let p4;
	let t16;
	let div2;
	let input0;
	let t17;
	let div5;
	let p5;
	let t19;
	let div4;
	let textarea;
	let t20;
	let div6;
	let p6;
	let t21;
	let t22;
	let div8;
	let p7;
	let t24;
	let div7;
	let input1;
	let t25;
	let span;
	let t27;
	let div9;
	let current;
	let mounted;
	let dispose;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[6],
				fixedPosition: true
			}
		});

	return {
		c() {
			div12 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Создание заказа";
			t1 = space();
			p1 = internal_element("p");

			p1.innerHTML = `Вы можете заказать клиента на его устранение, просто напишите его имя и способ устранения,
        <br/>
        а так же награду, которой будете расплачиваться с исполнителем`;

			t4 = space();
			create_component(exitbutton.$$.fragment);
			t5 = space();
			div0 = internal_element("div");
			img0 = internal_element("img");
			t6 = space();
			p2 = internal_element("p");
			p2.textContent = "Заказные убийства";
			t8 = space();
			img1 = internal_element("img");
			t9 = space();
			img2 = internal_element("img");
			t10 = space();
			div11 = internal_element("div");
			img3 = internal_element("img");
			t11 = space();
			div10 = internal_element("div");
			div1 = internal_element("div");
			img4 = internal_element("img");
			t12 = space();
			p3 = internal_element("p");
			p3.textContent = "УСТРАНИТЬ";
			t14 = space();
			div3 = internal_element("div");
			p4 = internal_element("p");
			p4.textContent = "Имя жертвы";
			t16 = space();
			div2 = internal_element("div");
			input0 = internal_element("input");
			t17 = space();
			div5 = internal_element("div");
			p5 = internal_element("p");
			p5.textContent = "Комментарии";
			t19 = space();
			div4 = internal_element("div");
			textarea = internal_element("textarea");
			t20 = space();
			div6 = internal_element("div");
			p6 = internal_element("p");
			t21 = internal_text(/*selectedMethod*/ ctx[3]);
			t22 = space();
			div8 = internal_element("div");
			p7 = internal_element("p");
			p7.textContent = "Оплата контракта";
			t24 = space();
			div7 = internal_element("div");
			input1 = internal_element("input");
			t25 = space();
			span = internal_element("span");
			span.textContent = "₽";
			t27 = space();
			div9 = internal_element("div");
			div9.innerHTML = `<p class="hitman-order__form-button-key svelte-11g7yf3">Заказать</p>`;
			attr(p0, "class", "hitman-order__title svelte-11g7yf3");
			attr(p1, "class", "hitman-order__description svelte-11g7yf3");
			attr(img0, "class", "hitman-order__logo-icon svelte-11g7yf3");
			if (!src_url_equal(img0.src, img0_src_value = hitman_img_logo_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "logo");
			attr(p2, "class", "hitman-order__logo-title svelte-11g7yf3");
			attr(div0, "class", "hitman-order__logo svelte-11g7yf3");
			attr(img1, "class", "hitman-order__hitman-img svelte-11g7yf3");
			if (!src_url_equal(img1.src, img1_src_value = hitman_order_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "hitman");
			attr(img2, "class", "hitman-order__contracts-img svelte-11g7yf3");
			if (!src_url_equal(img2.src, img2_src_value = contracts_order_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "contracts");
			attr(img3, "class", "hitman-order__form-background svelte-11g7yf3");
			if (!src_url_equal(img3.src, img3_src_value = form_order_namespaceObject)) attr(img3, "src", img3_src_value);
			attr(img3, "alt", "form");
			attr(img4, "class", "hitman-order__form-logo svelte-11g7yf3");
			if (!src_url_equal(img4.src, img4_src_value = form_order_logo_namespaceObject)) attr(img4, "src", img4_src_value);
			attr(img4, "alt", "form");
			attr(p3, "class", "hitman-order__form-logo-title svelte-11g7yf3");
			attr(div1, "class", "hitman-order__form-logo-wrapper svelte-11g7yf3");
			attr(p4, "class", "hitman-order__form-name-title svelte-11g7yf3");
			attr(input0, "class", "hitman-order__form-name-input svelte-11g7yf3");
			attr(input0, "type", "text");
			attr(input0, "placeholder", "Nick_Name");
			attr(div2, "class", "hitman-order__form-name-input-wrapper svelte-11g7yf3");
			attr(div3, "class", "hitman-order__form-name-wrapper svelte-11g7yf3");
			attr(p5, "class", "hitman-order__form-description-title svelte-11g7yf3");
			attr(textarea, "class", "hitman-order__form-description-input svelte-11g7yf3");
			attr(textarea, "type", "text");
			attr(textarea, "placeholder", "Описание");
			attr(div4, "class", "hitman-order__form-description-input-wrapper svelte-11g7yf3");
			attr(div5, "class", "hitman-order__form-description-wrapper svelte-11g7yf3");
			attr(p6, "class", "hitman-order__form-drop-title svelte-11g7yf3");
			attr(div6, "class", "hitman-order__form-drop-wrapper svelte-11g7yf3");
			attr(p7, "class", "hitman-order__form-price-title svelte-11g7yf3");
			attr(input1, "class", "hitman-order__form-price-input svelte-11g7yf3");
			attr(input1, "type", "number");
			attr(input1, "placeholder", "Сумма");
			attr(span, "class", "hitman-order__form-price-input-decorative svelte-11g7yf3");
			attr(div7, "class", "hitman-order__form-price-input-wrapper svelte-11g7yf3");
			attr(div8, "class", "hitman-order__form-price-wrapper svelte-11g7yf3");
			attr(div9, "class", "hitman-order__form-button-wrapper svelte-11g7yf3");
			attr(div10, "class", "hitman-order__form-items-wrapper svelte-11g7yf3");
			attr(div11, "class", "hitman-order__form-wrapper svelte-11g7yf3");
			attr(div12, "class", "hitman-order svelte-11g7yf3");
		},
		m(target, anchor) {
			insert(target, div12, anchor);
			append(div12, p0);
			append(div12, t1);
			append(div12, p1);
			append(div12, t4);
			mount_component(exitbutton, div12, null);
			append(div12, t5);
			append(div12, div0);
			append(div0, img0);
			append(div0, t6);
			append(div0, p2);
			append(div12, t8);
			append(div12, img1);
			append(div12, t9);
			append(div12, img2);
			append(div12, t10);
			append(div12, div11);
			append(div11, img3);
			append(div11, t11);
			append(div11, div10);
			append(div10, div1);
			append(div1, img4);
			append(div1, t12);
			append(div1, p3);
			append(div10, t14);
			append(div10, div3);
			append(div3, p4);
			append(div3, t16);
			append(div3, div2);
			append(div2, input0);
			set_input_value(input0, /*nickName*/ ctx[0]);
			append(div10, t17);
			append(div10, div5);
			append(div5, p5);
			append(div5, t19);
			append(div5, div4);
			append(div4, textarea);
			set_input_value(textarea, /*comment*/ ctx[1]);
			append(div10, t20);
			append(div10, div6);
			append(div6, p6);
			append(p6, t21);
			append(div10, t22);
			append(div10, div8);
			append(div8, p7);
			append(div8, t24);
			append(div8, div7);
			append(div7, input1);
			set_input_value(input1, /*amount*/ ctx[2]);
			append(div7, t25);
			append(div7, span);
			append(div10, t27);
			append(div10, div9);
			current = true;

			if (!mounted) {
				dispose = [
					listen(input0, "input", /*input0_input_handler*/ ctx[7]),
					listen(textarea, "input", /*textarea_input_handler*/ ctx[8]),
					listen(div6, "click", /*selectMethodKill*/ ctx[5]),
					listen(input1, "input", /*input1_input_handler*/ ctx[9]),
					listen(div9, "click", /*createOrder*/ ctx[4])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*nickName*/ 1 && input0.value !== /*nickName*/ ctx[0]) {
				set_input_value(input0, /*nickName*/ ctx[0]);
			}

			if (dirty & /*comment*/ 2) {
				set_input_value(textarea, /*comment*/ ctx[1]);
			}

			if (!current || dirty & /*selectedMethod*/ 8) set_data(t21, /*selectedMethod*/ ctx[3]);

			if (dirty & /*amount*/ 4 && to_number(input1.value) !== /*amount*/ ctx[2]) {
				set_input_value(input1, /*amount*/ ctx[2]);
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div12);
			destroy_component(exitbutton);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function order_index_svelte_instance($$self, $$props, $$invalidate) {
	let nickName = '';
	let comment = '';
	let amount = '';
	let selectedMethod = 'Выбрать способ убийства';

	const createOrder = () => {
		sendClientMessage('hitman.order.create', nickName, comment, selectedMethod, amount);
	};

	const selectMethodKill = () => {
		sendClientMessage('hitman.order.selectMethod');
	};

	const handleClose = () => {
		
	}; // exec close event

	const handleSelectMethod = method => {
		$$invalidate(3, selectedMethod = method);
	};

	const unregisterMethodSelectionEvent = registerEvent('hitman.order.selectMethod', handleSelectMethod);

	onDestroy(() => {
		unregisterMethodSelectionEvent();
	});

	function input0_input_handler() {
		nickName = this.value;
		$$invalidate(0, nickName);
	}

	function textarea_input_handler() {
		comment = this.value;
		$$invalidate(1, comment);
	}

	function input1_input_handler() {
		amount = to_number(this.value);
		$$invalidate(2, amount);
	}

	return [
		nickName,
		comment,
		amount,
		selectedMethod,
		createOrder,
		selectMethodKill,
		handleClose,
		input0_input_handler,
		textarea_input_handler,
		input1_input_handler
	];
}

class Order extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, order_index_svelte_instance, order_index_svelte_create_fragment, safe_not_equal, {}, order_index_svelte_add_css);
	}
}

/* harmony default export */ const order_index_svelte = (Order);
;// CONCATENATED MODULE: ./src/components/portal/container.svelte
/* src\components\portal\container.svelte generated by Svelte v3.49.0 */




function container_svelte_create_fragment(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			attr(div, "class", "portals-container");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

class Container extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, container_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const container_svelte = (Container);
;// CONCATENATED MODULE: ./src/modals/info-modal/index.svelte
/* src\modals\info-modal\index.svelte generated by Svelte v3.49.0 */


function info_modal_index_svelte_add_css(target) {
	append_styles(target, "svelte-1g9qpxq", "@keyframes svelte-1g9qpxq-blinking{50%{opacity:0}}@keyframes svelte-1g9qpxq-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1g9qpxq-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1g9qpxq-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1g9qpxq-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1g9qpxq-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1g9qpxq-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1g9qpxq-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1g9qpxq-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1g9qpxq-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1g9qpxq-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1g9qpxq-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1g9qpxq-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1g9qpxq-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1g9qpxq-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.modal-info.svelte-1g9qpxq{display:flex;align-items:center;justify-content:center;width:100vw;height:100vh}.modal-info__body.svelte-1g9qpxq{width:calc(0.2291666667 * 100vw + 0px);height:fit-content;background:#363D47}@media(max-width: 1920px) and (max-height: 768px){.modal-info__body.svelte-1g9qpxq{width:calc(0.2291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.modal-info__body.svelte-1g9qpxq{width:calc(0.2291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.modal-info__body.svelte-1g9qpxq{width:calc(0.1764583333 * 100vw + 0px)}}@media(min-width: 3440px){.modal-info__body.svelte-1g9qpxq{width:calc(0.2520833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.modal-info__body.svelte-1g9qpxq{width:calc(0.1604166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.modal-info__body.svelte-1g9qpxq{width:calc(0.20625 * 100vw + 0px)}}@media(min-width: 4096px){.modal-info__body.svelte-1g9qpxq{width:calc(0.2520833333 * 100vw + 0px)}}.modal-info__description-title.svelte-1g9qpxq{margin-top:calc(0.0260416667 * 100vw + 0px);font-size:calc(0.0083333333 * 100vw + 0px);padding-left:calc(0.0130208333 * 100vw + 0px);color:#FFFFFF;font-family:\"GothamPro\"}@media(max-width: 1920px) and (max-height: 768px){.modal-info__description-title.svelte-1g9qpxq{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.modal-info__description-title.svelte-1g9qpxq{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.modal-info__description-title.svelte-1g9qpxq{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.modal-info__description-title.svelte-1g9qpxq{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.modal-info__description-title.svelte-1g9qpxq{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.modal-info__description-title.svelte-1g9qpxq{margin-top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.modal-info__description-title.svelte-1g9qpxq{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.modal-info__description-title.svelte-1g9qpxq{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.modal-info__description-title.svelte-1g9qpxq{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.modal-info__description-title.svelte-1g9qpxq{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.modal-info__description-title.svelte-1g9qpxq{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.modal-info__description-title.svelte-1g9qpxq{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.modal-info__description-title.svelte-1g9qpxq{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.modal-info__description-title.svelte-1g9qpxq{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.modal-info__description-title.svelte-1g9qpxq{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.modal-info__description-title.svelte-1g9qpxq{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.modal-info__description-title.svelte-1g9qpxq{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.modal-info__description-title.svelte-1g9qpxq{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.modal-info__description-title.svelte-1g9qpxq{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.modal-info__description-title.svelte-1g9qpxq{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.modal-info__description-title.svelte-1g9qpxq{padding-left:calc(0.0143229167 * 100vw + 0px)}}.modal-info__description.svelte-1g9qpxq{padding-left:calc(0.0130208333 * 100vw + 0px);padding-right:calc(0.01875 * 100vw + 0px);margin-top:calc(0.0130208333 * 100vw + 0px);font-size:calc(0.0072916667 * 100vw + 0px);font-family:\"GothamPro\";color:#FFFFFF}@media(max-width: 1920px) and (max-height: 768px){.modal-info__description.svelte-1g9qpxq{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.modal-info__description.svelte-1g9qpxq{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.modal-info__description.svelte-1g9qpxq{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.modal-info__description.svelte-1g9qpxq{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.modal-info__description.svelte-1g9qpxq{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.modal-info__description.svelte-1g9qpxq{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.modal-info__description.svelte-1g9qpxq{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.modal-info__description.svelte-1g9qpxq{padding-right:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.modal-info__description.svelte-1g9qpxq{padding-right:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.modal-info__description.svelte-1g9qpxq{padding-right:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.modal-info__description.svelte-1g9qpxq{padding-right:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.modal-info__description.svelte-1g9qpxq{padding-right:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.modal-info__description.svelte-1g9qpxq{padding-right:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.modal-info__description.svelte-1g9qpxq{padding-right:calc(0.020625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.modal-info__description.svelte-1g9qpxq{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.modal-info__description.svelte-1g9qpxq{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.modal-info__description.svelte-1g9qpxq{margin-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.modal-info__description.svelte-1g9qpxq{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.modal-info__description.svelte-1g9qpxq{margin-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.modal-info__description.svelte-1g9qpxq{margin-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.modal-info__description.svelte-1g9qpxq{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.modal-info__description.svelte-1g9qpxq{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.modal-info__description.svelte-1g9qpxq{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.modal-info__description.svelte-1g9qpxq{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.modal-info__description.svelte-1g9qpxq{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.modal-info__description.svelte-1g9qpxq{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.modal-info__description.svelte-1g9qpxq{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.modal-info__description.svelte-1g9qpxq{font-size:calc(0.0080208333 * 100vw + 0px)}}.modal-info__button-wrapper.svelte-1g9qpxq{display:flex;justify-content:center;margin-top:calc(0.015625 * 100vw + 0px);margin-bottom:calc(0.0223958333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.modal-info__button-wrapper.svelte-1g9qpxq{margin-top:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.modal-info__button-wrapper.svelte-1g9qpxq{margin-top:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.modal-info__button-wrapper.svelte-1g9qpxq{margin-top:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.modal-info__button-wrapper.svelte-1g9qpxq{margin-top:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.modal-info__button-wrapper.svelte-1g9qpxq{margin-top:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.modal-info__button-wrapper.svelte-1g9qpxq{margin-top:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.modal-info__button-wrapper.svelte-1g9qpxq{margin-top:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.modal-info__button-wrapper.svelte-1g9qpxq{margin-bottom:calc(0.0223958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.modal-info__button-wrapper.svelte-1g9qpxq{margin-bottom:calc(0.0223958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.modal-info__button-wrapper.svelte-1g9qpxq{margin-bottom:calc(0.0172447917 * 100vw + 0px)}}@media(min-width: 3440px){.modal-info__button-wrapper.svelte-1g9qpxq{margin-bottom:calc(0.0246354167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.modal-info__button-wrapper.svelte-1g9qpxq{margin-bottom:calc(0.0156770833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.modal-info__button-wrapper.svelte-1g9qpxq{margin-bottom:calc(0.02015625 * 100vw + 0px)}}@media(min-width: 4096px){.modal-info__button-wrapper.svelte-1g9qpxq{margin-bottom:calc(0.0246354167 * 100vw + 0px)}}.modal-info__button.svelte-1g9qpxq{display:flex;align-items:center;justify-content:center;width:calc(0.084375 * 100vw + 0px);height:calc(0.0348958333 * 100vw + 0px);border-radius:calc(0.0026041667 * 100vw + 0px);cursor:pointer;border:1px solid rgba(255, 255, 255, 0.25);color:rgba(255, 255, 255, 0.5)}@media(max-width: 1920px) and (max-height: 768px){.modal-info__button.svelte-1g9qpxq{width:calc(0.084375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.modal-info__button.svelte-1g9qpxq{width:calc(0.084375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.modal-info__button.svelte-1g9qpxq{width:calc(0.06496875 * 100vw + 0px)}}@media(min-width: 3440px){.modal-info__button.svelte-1g9qpxq{width:calc(0.0928125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.modal-info__button.svelte-1g9qpxq{width:calc(0.0590625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.modal-info__button.svelte-1g9qpxq{width:calc(0.0759375 * 100vw + 0px)}}@media(min-width: 4096px){.modal-info__button.svelte-1g9qpxq{width:calc(0.0928125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.modal-info__button.svelte-1g9qpxq{height:calc(0.0348958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.modal-info__button.svelte-1g9qpxq{height:calc(0.0348958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.modal-info__button.svelte-1g9qpxq{height:calc(0.0268697917 * 100vw + 0px)}}@media(min-width: 3440px){.modal-info__button.svelte-1g9qpxq{height:calc(0.0383854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.modal-info__button.svelte-1g9qpxq{height:calc(0.0244270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.modal-info__button.svelte-1g9qpxq{height:calc(0.03140625 * 100vw + 0px)}}@media(min-width: 4096px){.modal-info__button.svelte-1g9qpxq{height:calc(0.0383854167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.modal-info__button.svelte-1g9qpxq{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.modal-info__button.svelte-1g9qpxq{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.modal-info__button.svelte-1g9qpxq{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.modal-info__button.svelte-1g9qpxq{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.modal-info__button.svelte-1g9qpxq{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.modal-info__button.svelte-1g9qpxq{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.modal-info__button.svelte-1g9qpxq{border-radius:calc(0.0028645833 * 100vw + 0px)}}.modal-info__button.svelte-1g9qpxq:hover{background:#FFFFFF;color:#363D47}.modal-info__button-key.svelte-1g9qpxq{font-size:calc(0.009375 * 100vw + 0px);font-family:\"GothamPro-Medium\"}@media(max-width: 1920px) and (max-height: 768px){.modal-info__button-key.svelte-1g9qpxq{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.modal-info__button-key.svelte-1g9qpxq{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.modal-info__button-key.svelte-1g9qpxq{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.modal-info__button-key.svelte-1g9qpxq{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.modal-info__button-key.svelte-1g9qpxq{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.modal-info__button-key.svelte-1g9qpxq{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.modal-info__button-key.svelte-1g9qpxq{font-size:calc(0.0103125 * 100vw + 0px)}}");
}

function info_modal_index_svelte_create_fragment(ctx) {
	let div3;
	let div2;
	let p0;
	let t0;
	let t1;
	let p1;
	let t2;
	let t3;
	let div1;
	let div0;
	let p2;
	let t4;

	return {
		c() {
			div3 = internal_element("div");
			div2 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(/*descriptionTitle*/ ctx[1]);
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(/*description*/ ctx[0]);
			t3 = space();
			div1 = internal_element("div");
			div0 = internal_element("div");
			p2 = internal_element("p");
			t4 = internal_text(/*buttonTitle*/ ctx[2]);
			attr(p0, "class", "modal-info__description-title svelte-1g9qpxq");
			attr(p1, "class", "modal-info__description svelte-1g9qpxq");
			attr(p2, "class", "modal-info__button-key svelte-1g9qpxq");
			attr(div0, "class", "modal-info__button svelte-1g9qpxq");
			attr(div1, "class", "modal-info__button-wrapper svelte-1g9qpxq");
			attr(div2, "class", "modal-info__body svelte-1g9qpxq");
			attr(div3, "class", "modal-info svelte-1g9qpxq");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div2);
			append(div2, p0);
			append(p0, t0);
			append(div2, t1);
			append(div2, p1);
			append(p1, t2);
			append(div2, t3);
			append(div2, div1);
			append(div1, div0);
			append(div0, p2);
			append(p2, t4);
		},
		p(ctx, [dirty]) {
			if (dirty & /*descriptionTitle*/ 2) set_data(t0, /*descriptionTitle*/ ctx[1]);
			if (dirty & /*description*/ 1) set_data(t2, /*description*/ ctx[0]);
			if (dirty & /*buttonTitle*/ 4) set_data(t4, /*buttonTitle*/ ctx[2]);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div3);
		}
	};
}

function info_modal_index_svelte_instance($$self, $$props, $$invalidate) {
	let { description = `Часто используемый в печати и веб-дизайне. Lorem
        Ipsum является стандартной “рыбой” для текстов на
        латинице с начала XVI века.` } = $$props;

	let { descriptionTitle = 'Lorem ipsum - это текст рыба' } = $$props;
	let { buttonTitle = 'Button' } = $$props;

	$$self.$$set = $$props => {
		if ('description' in $$props) $$invalidate(0, description = $$props.description);
		if ('descriptionTitle' in $$props) $$invalidate(1, descriptionTitle = $$props.descriptionTitle);
		if ('buttonTitle' in $$props) $$invalidate(2, buttonTitle = $$props.buttonTitle);
	};

	return [description, descriptionTitle, buttonTitle];
}

class Info_modal extends SvelteComponent {
	constructor(options) {
		super();

		init(
			this,
			options,
			info_modal_index_svelte_instance,
			info_modal_index_svelte_create_fragment,
			safe_not_equal,
			{
				description: 0,
				descriptionTitle: 1,
				buttonTitle: 2
			},
			info_modal_index_svelte_add_css
		);
	}
}

/* harmony default export */ const info_modal_index_svelte = (Info_modal);
;// CONCATENATED MODULE: ./src/modals/business-info/index.svelte
/* src\modals\business-info\index.svelte generated by Svelte v3.49.0 */






function business_info_index_svelte_add_css(target) {
	append_styles(target, "svelte-tzg0u8", "@keyframes svelte-tzg0u8-blinking{50%{opacity:0}}@keyframes svelte-tzg0u8-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-tzg0u8-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-tzg0u8-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-tzg0u8-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-tzg0u8-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-tzg0u8-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-tzg0u8-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-tzg0u8-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-tzg0u8-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-tzg0u8-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-tzg0u8-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-tzg0u8-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-tzg0u8-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-tzg0u8-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.business-info.svelte-tzg0u8{position:fixed;height:fit-content;top:50%;transform:translateY(-50%);width:calc(0.1875 * 100vw + 0px);right:calc(0.0338541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info.svelte-tzg0u8{width:calc(0.1875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info.svelte-tzg0u8{width:calc(0.1875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info.svelte-tzg0u8{width:calc(0.144375 * 100vw + 0px)}}@media(min-width: 3440px){.business-info.svelte-tzg0u8{width:calc(0.20625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info.svelte-tzg0u8{width:calc(0.13125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info.svelte-tzg0u8{width:calc(0.16875 * 100vw + 0px)}}@media(min-width: 4096px){.business-info.svelte-tzg0u8{width:calc(0.20625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info.svelte-tzg0u8{right:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info.svelte-tzg0u8{right:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info.svelte-tzg0u8{right:calc(0.0260677083 * 100vw + 0px)}}@media(min-width: 3440px){.business-info.svelte-tzg0u8{right:calc(0.0372395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info.svelte-tzg0u8{right:calc(0.0236979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info.svelte-tzg0u8{right:calc(0.03046875 * 100vw + 0px)}}@media(min-width: 4096px){.business-info.svelte-tzg0u8{right:calc(0.0372395833 * 100vw + 0px)}}.business-info.svelte-tzg0u8::before{content:\"\";top:0;right:0;position:absolute;height:100%;background:#202731;z-index:-1;filter:blur(calc(0.0520833333 * 100vw + 0px));width:calc(0.2604166667 * 100vw + 0px);right:calc(-0.0677083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info.svelte-tzg0u8::before{width:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info.svelte-tzg0u8::before{width:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info.svelte-tzg0u8::before{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px){.business-info.svelte-tzg0u8::before{width:calc(0.2864583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info.svelte-tzg0u8::before{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info.svelte-tzg0u8::before{width:calc(0.234375 * 100vw + 0px)}}@media(min-width: 4096px){.business-info.svelte-tzg0u8::before{width:calc(0.2864583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info.svelte-tzg0u8::before{right:calc(-0.0677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info.svelte-tzg0u8::before{right:calc(-0.0677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info.svelte-tzg0u8::before{right:calc(-0.0521354167 * 100vw + 0px)}}@media(min-width: 3440px){.business-info.svelte-tzg0u8::before{right:calc(-0.0744791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info.svelte-tzg0u8::before{right:calc(-0.0473958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info.svelte-tzg0u8::before{right:calc(-0.0609375 * 100vw + 0px)}}@media(min-width: 4096px){.business-info.svelte-tzg0u8::before{right:calc(-0.0744791667 * 100vw + 0px)}}.business-info__title.svelte-tzg0u8{font-family:\"GothamPro-Bold\";color:#FFFFFF;font-size:calc(0.015625 * 100vw + 0px);margin-top:calc(0.0333333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__title.svelte-tzg0u8{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__title.svelte-tzg0u8{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__title.svelte-tzg0u8{font-size:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__title.svelte-tzg0u8{font-size:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__title.svelte-tzg0u8{font-size:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__title.svelte-tzg0u8{font-size:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__title.svelte-tzg0u8{font-size:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__title.svelte-tzg0u8{margin-top:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__title.svelte-tzg0u8{margin-top:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__title.svelte-tzg0u8{margin-top:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__title.svelte-tzg0u8{margin-top:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__title.svelte-tzg0u8{margin-top:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__title.svelte-tzg0u8{margin-top:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__title.svelte-tzg0u8{margin-top:calc(0.0366666667 * 100vw + 0px)}}.business-info__description.svelte-tzg0u8{font-family:\"GothamPro-Light\";color:#FFFFFF;width:calc(0.1875 * 100vw + 0px);margin-top:calc(0.0052083333 * 100vw + 0px);font-size:calc(0.0083333333 * 100vw + 0px);line-height:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__description.svelte-tzg0u8{width:calc(0.1875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__description.svelte-tzg0u8{width:calc(0.1875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__description.svelte-tzg0u8{width:calc(0.144375 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__description.svelte-tzg0u8{width:calc(0.20625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__description.svelte-tzg0u8{width:calc(0.13125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__description.svelte-tzg0u8{width:calc(0.16875 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__description.svelte-tzg0u8{width:calc(0.20625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__description.svelte-tzg0u8{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__description.svelte-tzg0u8{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__description.svelte-tzg0u8{margin-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__description.svelte-tzg0u8{margin-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__description.svelte-tzg0u8{margin-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__description.svelte-tzg0u8{margin-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__description.svelte-tzg0u8{margin-top:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__description.svelte-tzg0u8{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__description.svelte-tzg0u8{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__description.svelte-tzg0u8{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__description.svelte-tzg0u8{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__description.svelte-tzg0u8{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__description.svelte-tzg0u8{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__description.svelte-tzg0u8{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__description.svelte-tzg0u8{line-height:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__description.svelte-tzg0u8{line-height:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__description.svelte-tzg0u8{line-height:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__description.svelte-tzg0u8{line-height:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__description.svelte-tzg0u8{line-height:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__description.svelte-tzg0u8{line-height:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__description.svelte-tzg0u8{line-height:calc(0.01375 * 100vw + 0px)}}.business-info__img.svelte-tzg0u8{margin-top:calc(0.0270833333 * 100vw + 0px);width:calc(0.1854166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__img.svelte-tzg0u8{margin-top:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__img.svelte-tzg0u8{margin-top:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__img.svelte-tzg0u8{margin-top:calc(0.0208541667 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__img.svelte-tzg0u8{margin-top:calc(0.0297916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__img.svelte-tzg0u8{margin-top:calc(0.0189583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__img.svelte-tzg0u8{margin-top:calc(0.024375 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__img.svelte-tzg0u8{margin-top:calc(0.0297916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__img.svelte-tzg0u8{width:calc(0.1854166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__img.svelte-tzg0u8{width:calc(0.1854166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__img.svelte-tzg0u8{width:calc(0.1427708333 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__img.svelte-tzg0u8{width:calc(0.2039583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__img.svelte-tzg0u8{width:calc(0.1297916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__img.svelte-tzg0u8{width:calc(0.166875 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__img.svelte-tzg0u8{width:calc(0.2039583333 * 100vw + 0px)}}.business-info__info-wrapper.svelte-tzg0u8{margin-top:calc(0.0270833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-wrapper.svelte-tzg0u8{margin-top:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-wrapper.svelte-tzg0u8{margin-top:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-wrapper.svelte-tzg0u8{margin-top:calc(0.0208541667 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-wrapper.svelte-tzg0u8{margin-top:calc(0.0297916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-wrapper.svelte-tzg0u8{margin-top:calc(0.0189583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-wrapper.svelte-tzg0u8{margin-top:calc(0.024375 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-wrapper.svelte-tzg0u8{margin-top:calc(0.0297916667 * 100vw + 0px)}}.business-info__info.svelte-tzg0u8{display:flex;justify-content:space-between;width:calc(0.1875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info.svelte-tzg0u8{width:calc(0.1875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info.svelte-tzg0u8{width:calc(0.1875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info.svelte-tzg0u8{width:calc(0.144375 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info.svelte-tzg0u8{width:calc(0.20625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info.svelte-tzg0u8{width:calc(0.13125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info.svelte-tzg0u8{width:calc(0.16875 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info.svelte-tzg0u8{width:calc(0.20625 * 100vw + 0px)}}.business-info__info.svelte-tzg0u8:not(:first-child){margin-top:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info.svelte-tzg0u8:not(:first-child){margin-top:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info.svelte-tzg0u8:not(:first-child){margin-top:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info.svelte-tzg0u8:not(:first-child){margin-top:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info.svelte-tzg0u8:not(:first-child){margin-top:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info.svelte-tzg0u8:not(:first-child){margin-top:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info.svelte-tzg0u8:not(:first-child){margin-top:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info.svelte-tzg0u8:not(:first-child){margin-top:calc(0.0171875 * 100vw + 0px)}}.business-info__info-title.svelte-tzg0u8{font-family:\"GothamPro-Light\";color:rgba(255, 255, 255, 0.8);font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-title.svelte-tzg0u8{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-title.svelte-tzg0u8{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-title.svelte-tzg0u8{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-title.svelte-tzg0u8{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-title.svelte-tzg0u8{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-title.svelte-tzg0u8{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-title.svelte-tzg0u8{font-size:calc(0.0114583333 * 100vw + 0px)}}.business-info__info-value.svelte-tzg0u8{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-value.svelte-tzg0u8{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-value.svelte-tzg0u8{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-value.svelte-tzg0u8{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-value.svelte-tzg0u8{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-value.svelte-tzg0u8{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-value.svelte-tzg0u8{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-value.svelte-tzg0u8{font-size:calc(0.0114583333 * 100vw + 0px)}}.business-info__buttons-wrapper.svelte-tzg0u8{display:flex;margin-top:calc(0.0244791667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__buttons-wrapper.svelte-tzg0u8{margin-top:calc(0.0244791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__buttons-wrapper.svelte-tzg0u8{margin-top:calc(0.0244791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__buttons-wrapper.svelte-tzg0u8{margin-top:calc(0.0188489583 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__buttons-wrapper.svelte-tzg0u8{margin-top:calc(0.0269270833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__buttons-wrapper.svelte-tzg0u8{margin-top:calc(0.0171354167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__buttons-wrapper.svelte-tzg0u8{margin-top:calc(0.02203125 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__buttons-wrapper.svelte-tzg0u8{margin-top:calc(0.0269270833 * 100vw + 0px)}}.business-info__buttons.svelte-tzg0u8:not(:first-child){margin-left:calc(0.0276041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__buttons.svelte-tzg0u8:not(:first-child){margin-left:calc(0.0276041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__buttons.svelte-tzg0u8:not(:first-child){margin-left:calc(0.0276041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__buttons.svelte-tzg0u8:not(:first-child){margin-left:calc(0.0212552083 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__buttons.svelte-tzg0u8:not(:first-child){margin-left:calc(0.0303645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__buttons.svelte-tzg0u8:not(:first-child){margin-left:calc(0.0193229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__buttons.svelte-tzg0u8:not(:first-child){margin-left:calc(0.02484375 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__buttons.svelte-tzg0u8:not(:first-child){margin-left:calc(0.0303645833 * 100vw + 0px)}}");
}

function business_info_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[1] = list[i];
	return child_ctx;
}

function business_info_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[4] = list[i];
	return child_ctx;
}

// (909:4) {#if businessInfo.img}
function business_info_index_svelte_create_if_block_2(ctx) {
	let img;
	let img_src_value;
	let img_onerror_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "business-info__img svelte-tzg0u8");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/entrance/${/*businessInfo*/ ctx[0].img}`)) attr(img, "src", img_src_value);
			attr(img, "alt", "business-img");
			attr(img, "onerror", img_onerror_value = "this.onerror=null; this.src='" + cdn_CDN_URL_RODINA + "/systems/entrance/none.webp';");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*businessInfo*/ 1 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/entrance/${/*businessInfo*/ ctx[0].img}`)) {
				attr(img, "src", img_src_value);
			}
		},
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (916:4) {#if !isEmpty(businessInfo.info)}
function business_info_index_svelte_create_if_block_1(ctx) {
	let div;
	let each_value_1 = /*businessInfo*/ ctx[0].info;
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = business_info_index_svelte_create_each_block_1(business_info_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "business-info__info-wrapper svelte-tzg0u8");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}
		},
		p(ctx, dirty) {
			if (dirty & /*businessInfo*/ 1) {
				each_value_1 = /*businessInfo*/ ctx[0].info;
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = business_info_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = business_info_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (918:12) {#each businessInfo.info as info}
function business_info_index_svelte_create_each_block_1(ctx) {
	let div;
	let p0;
	let t0_value = /*info*/ ctx[4].title + "";
	let t0;
	let t1;
	let p1;
	let t2_value = /*info*/ ctx[4].value + "";
	let t2;
	let t3;

	return {
		c() {
			div = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = space();
			attr(p0, "class", "business-info__info-title svelte-tzg0u8");
			attr(p1, "class", "business-info__info-value svelte-tzg0u8");
			attr(div, "class", "business-info__info svelte-tzg0u8");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p0);
			append(p0, t0);
			append(div, t1);
			append(div, p1);
			append(p1, t2);
			append(div, t3);
		},
		p(ctx, dirty) {
			if (dirty & /*businessInfo*/ 1 && t0_value !== (t0_value = /*info*/ ctx[4].title + "")) set_data(t0, t0_value);
			if (dirty & /*businessInfo*/ 1 && t2_value !== (t2_value = /*info*/ ctx[4].value + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (930:4) {#if !isEmpty(businessInfo.buttons)}
function business_info_index_svelte_create_if_block(ctx) {
	let div;
	let current;
	let each_value = /*businessInfo*/ ctx[0].buttons;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = business_info_index_svelte_create_each_block(business_info_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "business-info__buttons-wrapper svelte-tzg0u8");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}

			current = true;
		},
		p(ctx, dirty) {
			if (dirty & /*businessInfo*/ 1) {
				each_value = /*businessInfo*/ ctx[0].buttons;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = business_info_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = business_info_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (932:12) {#each businessInfo.buttons as button}
function business_info_index_svelte_create_each_block(ctx) {
	let div;
	let actionbutton;
	let t;
	let current;

	actionbutton = new index_svelte({
			props: {
				keyTitle: /*button*/ ctx[1].keyTitle,
				postActionTitle: /*button*/ ctx[1].title
			}
		});

	return {
		c() {
			div = internal_element("div");
			create_component(actionbutton.$$.fragment);
			t = space();
			attr(div, "class", "business-info__buttons svelte-tzg0u8");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(actionbutton, div, null);
			append(div, t);
			current = true;
		},
		p(ctx, dirty) {
			const actionbutton_changes = {};
			if (dirty & /*businessInfo*/ 1) actionbutton_changes.keyTitle = /*button*/ ctx[1].keyTitle;
			if (dirty & /*businessInfo*/ 1) actionbutton_changes.postActionTitle = /*button*/ ctx[1].title;
			actionbutton.$set(actionbutton_changes);
		},
		i(local) {
			if (current) return;
			transition_in(actionbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(actionbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(actionbutton);
		}
	};
}

function business_info_index_svelte_create_fragment(ctx) {
	let div;
	let p0;
	let t0_value = /*businessInfo*/ ctx[0].title + "";
	let t0;
	let t1;
	let p1;
	let t2_value = /*businessInfo*/ ctx[0].description + "";
	let t2;
	let t3;
	let t4;
	let show_if_1 = !(0,lodash.isEmpty)(/*businessInfo*/ ctx[0].info);
	let t5;
	let show_if = !(0,lodash.isEmpty)(/*businessInfo*/ ctx[0].buttons);
	let current;
	let if_block0 = /*businessInfo*/ ctx[0].img && business_info_index_svelte_create_if_block_2(ctx);
	let if_block1 = show_if_1 && business_info_index_svelte_create_if_block_1(ctx);
	let if_block2 = show_if && business_info_index_svelte_create_if_block(ctx);

	return {
		c() {
			div = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = space();
			if (if_block0) if_block0.c();
			t4 = space();
			if (if_block1) if_block1.c();
			t5 = space();
			if (if_block2) if_block2.c();
			attr(p0, "class", "business-info__title svelte-tzg0u8");
			attr(p1, "class", "business-info__description svelte-tzg0u8");
			attr(div, "class", "business-info svelte-tzg0u8");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p0);
			append(p0, t0);
			append(div, t1);
			append(div, p1);
			append(p1, t2);
			append(div, t3);
			if (if_block0) if_block0.m(div, null);
			append(div, t4);
			if (if_block1) if_block1.m(div, null);
			append(div, t5);
			if (if_block2) if_block2.m(div, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if ((!current || dirty & /*businessInfo*/ 1) && t0_value !== (t0_value = /*businessInfo*/ ctx[0].title + "")) set_data(t0, t0_value);
			if ((!current || dirty & /*businessInfo*/ 1) && t2_value !== (t2_value = /*businessInfo*/ ctx[0].description + "")) set_data(t2, t2_value);

			if (/*businessInfo*/ ctx[0].img) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = business_info_index_svelte_create_if_block_2(ctx);
					if_block0.c();
					if_block0.m(div, t4);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty & /*businessInfo*/ 1) show_if_1 = !(0,lodash.isEmpty)(/*businessInfo*/ ctx[0].info);

			if (show_if_1) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = business_info_index_svelte_create_if_block_1(ctx);
					if_block1.c();
					if_block1.m(div, t5);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty & /*businessInfo*/ 1) show_if = !(0,lodash.isEmpty)(/*businessInfo*/ ctx[0].buttons);

			if (show_if) {
				if (if_block2) {
					if_block2.p(ctx, dirty);

					if (dirty & /*businessInfo*/ 1) {
						transition_in(if_block2, 1);
					}
				} else {
					if_block2 = business_info_index_svelte_create_if_block(ctx);
					if_block2.c();
					transition_in(if_block2, 1);
					if_block2.m(div, null);
				}
			} else if (if_block2) {
				group_outros();

				transition_out(if_block2, 1, 1, () => {
					if_block2 = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block2);
			current = true;
		},
		o(local) {
			transition_out(if_block2);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			if (if_block2) if_block2.d();
		}
	};
}

function business_info_index_svelte_instance($$self, $$props, $$invalidate) {
	let { businessInfo = {} } = $$props;

	$$self.$$set = $$props => {
		if ('businessInfo' in $$props) $$invalidate(0, businessInfo = $$props.businessInfo);
	};

	return [businessInfo];
}

class Business_info extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, business_info_index_svelte_instance, business_info_index_svelte_create_fragment, safe_not_equal, { businessInfo: 0 }, business_info_index_svelte_add_css);
	}
}

/* harmony default export */ const business_info_index_svelte = (Business_info);
;// CONCATENATED MODULE: ./src/modals/interaction-sidebar/index.svelte
/* src\modals\interaction-sidebar\index.svelte generated by Svelte v3.49.0 */





function interaction_sidebar_index_svelte_add_css(target) {
	append_styles(target, "svelte-a501pz", "@keyframes svelte-a501pz-blinking{50%{opacity:0}}@keyframes svelte-a501pz-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-a501pz-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-a501pz-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-a501pz-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-a501pz-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-a501pz-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-a501pz-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-a501pz-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-a501pz-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-a501pz-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-a501pz-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-a501pz-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-a501pz-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-a501pz-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.sidebar.svelte-a501pz{position:fixed;height:fit-content;right:calc(0.0213541667 * 100vw + 0px);top:calc(0.2270833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.sidebar.svelte-a501pz{right:calc(0.0213541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.sidebar.svelte-a501pz{right:calc(0.0213541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.sidebar.svelte-a501pz{right:calc(0.0164427083 * 100vw + 0px)}}@media(min-width: 3440px){.sidebar.svelte-a501pz{right:calc(0.0234895833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.sidebar.svelte-a501pz{right:calc(0.0149479167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.sidebar.svelte-a501pz{right:calc(0.01921875 * 100vw + 0px)}}@media(min-width: 4096px){.sidebar.svelte-a501pz{right:calc(0.0234895833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.sidebar.svelte-a501pz{top:calc(0.2270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.sidebar.svelte-a501pz{top:calc(0.2270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.sidebar.svelte-a501pz{top:calc(0.1748541667 * 100vw + 0px)}}@media(min-width: 3440px){.sidebar.svelte-a501pz{top:calc(0.2497916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.sidebar.svelte-a501pz{top:calc(0.1589583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.sidebar.svelte-a501pz{top:calc(0.204375 * 100vw + 0px)}}@media(min-width: 4096px){.sidebar.svelte-a501pz{top:calc(0.2497916667 * 100vw + 0px)}}.sidebar.svelte-a501pz::before{content:\"\";top:0;right:0;position:absolute;width:100%;height:100%;background:#131516;z-index:-1;filter:blur(calc(0.0260416667 * 100vw + 0px))}.sidebar__title.svelte-a501pz{color:#FFFFFF;font-family:\"GothamPro-Medium\";width:calc(0.1213541667 * 100vw + 0px);font-size:calc(0.0166666667 * 100vw + 0px);margin-bottom:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.sidebar__title.svelte-a501pz{width:calc(0.1213541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.sidebar__title.svelte-a501pz{width:calc(0.1213541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.sidebar__title.svelte-a501pz{width:calc(0.0934427083 * 100vw + 0px)}}@media(min-width: 3440px){.sidebar__title.svelte-a501pz{width:calc(0.1334895833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.sidebar__title.svelte-a501pz{width:calc(0.0849479167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.sidebar__title.svelte-a501pz{width:calc(0.10921875 * 100vw + 0px)}}@media(min-width: 4096px){.sidebar__title.svelte-a501pz{width:calc(0.1334895833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.sidebar__title.svelte-a501pz{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.sidebar__title.svelte-a501pz{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.sidebar__title.svelte-a501pz{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.sidebar__title.svelte-a501pz{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.sidebar__title.svelte-a501pz{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.sidebar__title.svelte-a501pz{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.sidebar__title.svelte-a501pz{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.sidebar__title.svelte-a501pz{margin-bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.sidebar__title.svelte-a501pz{margin-bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.sidebar__title.svelte-a501pz{margin-bottom:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.sidebar__title.svelte-a501pz{margin-bottom:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.sidebar__title.svelte-a501pz{margin-bottom:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.sidebar__title.svelte-a501pz{margin-bottom:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.sidebar__title.svelte-a501pz{margin-bottom:calc(0.00859375 * 100vw + 0px)}}.sidebar__description.svelte-a501pz{color:#FFFFFF;font-family:\"GothamPro\";width:calc(0.1213541667 * 100vw + 0px);font-size:calc(0.0083333333 * 100vw + 0px);margin-bottom:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.sidebar__description.svelte-a501pz{width:calc(0.1213541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.sidebar__description.svelte-a501pz{width:calc(0.1213541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.sidebar__description.svelte-a501pz{width:calc(0.0934427083 * 100vw + 0px)}}@media(min-width: 3440px){.sidebar__description.svelte-a501pz{width:calc(0.1334895833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.sidebar__description.svelte-a501pz{width:calc(0.0849479167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.sidebar__description.svelte-a501pz{width:calc(0.10921875 * 100vw + 0px)}}@media(min-width: 4096px){.sidebar__description.svelte-a501pz{width:calc(0.1334895833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.sidebar__description.svelte-a501pz{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.sidebar__description.svelte-a501pz{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.sidebar__description.svelte-a501pz{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.sidebar__description.svelte-a501pz{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.sidebar__description.svelte-a501pz{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.sidebar__description.svelte-a501pz{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.sidebar__description.svelte-a501pz{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.sidebar__description.svelte-a501pz{margin-bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.sidebar__description.svelte-a501pz{margin-bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.sidebar__description.svelte-a501pz{margin-bottom:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.sidebar__description.svelte-a501pz{margin-bottom:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.sidebar__description.svelte-a501pz{margin-bottom:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.sidebar__description.svelte-a501pz{margin-bottom:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.sidebar__description.svelte-a501pz{margin-bottom:calc(0.00859375 * 100vw + 0px)}}.sidebar__description.svelte-a501pz span{font-family:\"GothamPro-Bold\"}.sidebar__buttons-wrapper.svelte-a501pz{display:flex;gap:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.sidebar__buttons-wrapper.svelte-a501pz{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.sidebar__buttons-wrapper.svelte-a501pz{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.sidebar__buttons-wrapper.svelte-a501pz{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.sidebar__buttons-wrapper.svelte-a501pz{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.sidebar__buttons-wrapper.svelte-a501pz{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.sidebar__buttons-wrapper.svelte-a501pz{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.sidebar__buttons-wrapper.svelte-a501pz{gap:calc(0.0057291667 * 100vw + 0px)}}.sidebar__button-wrapper.svelte-a501pz{border-radius:calc(0.0026041667 * 100vw + 0px);padding:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.sidebar__button-wrapper.svelte-a501pz{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.sidebar__button-wrapper.svelte-a501pz{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.sidebar__button-wrapper.svelte-a501pz{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.sidebar__button-wrapper.svelte-a501pz{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.sidebar__button-wrapper.svelte-a501pz{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.sidebar__button-wrapper.svelte-a501pz{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.sidebar__button-wrapper.svelte-a501pz{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.sidebar__button-wrapper.svelte-a501pz{padding:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.sidebar__button-wrapper.svelte-a501pz{padding:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.sidebar__button-wrapper.svelte-a501pz{padding:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.sidebar__button-wrapper.svelte-a501pz{padding:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.sidebar__button-wrapper.svelte-a501pz{padding:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.sidebar__button-wrapper.svelte-a501pz{padding:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.sidebar__button-wrapper.svelte-a501pz{padding:calc(0.0057291667 * 100vw + 0px)}}.sidebar__button.svelte-a501pz{display:flex;align-items:center;height:calc(0.0151041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.sidebar__button.svelte-a501pz{height:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.sidebar__button.svelte-a501pz{height:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.sidebar__button.svelte-a501pz{height:calc(0.0116302083 * 100vw + 0px)}}@media(min-width: 3440px){.sidebar__button.svelte-a501pz{height:calc(0.0166145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.sidebar__button.svelte-a501pz{height:calc(0.0105729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.sidebar__button.svelte-a501pz{height:calc(0.01359375 * 100vw + 0px)}}@media(min-width: 4096px){.sidebar__button.svelte-a501pz{height:calc(0.0166145833 * 100vw + 0px)}}.sidebar__button-key.svelte-a501pz{display:flex;align-items:center;justify-content:center;cursor:pointer;background-color:#FFFFFF;padding-left:calc(0.0052083333 * 100vw + 0px);padding-right:calc(0.0052083333 * 100vw + 0px);height:calc(0.0151041667 * 100vw + 0px);border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.sidebar__button-key.svelte-a501pz{padding-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.sidebar__button-key.svelte-a501pz{padding-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.sidebar__button-key.svelte-a501pz{padding-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.sidebar__button-key.svelte-a501pz{padding-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.sidebar__button-key.svelte-a501pz{padding-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.sidebar__button-key.svelte-a501pz{padding-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.sidebar__button-key.svelte-a501pz{padding-left:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.sidebar__button-key.svelte-a501pz{padding-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.sidebar__button-key.svelte-a501pz{padding-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.sidebar__button-key.svelte-a501pz{padding-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.sidebar__button-key.svelte-a501pz{padding-right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.sidebar__button-key.svelte-a501pz{padding-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.sidebar__button-key.svelte-a501pz{padding-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.sidebar__button-key.svelte-a501pz{padding-right:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.sidebar__button-key.svelte-a501pz{height:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.sidebar__button-key.svelte-a501pz{height:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.sidebar__button-key.svelte-a501pz{height:calc(0.0116302083 * 100vw + 0px)}}@media(min-width: 3440px){.sidebar__button-key.svelte-a501pz{height:calc(0.0166145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.sidebar__button-key.svelte-a501pz{height:calc(0.0105729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.sidebar__button-key.svelte-a501pz{height:calc(0.01359375 * 100vw + 0px)}}@media(min-width: 4096px){.sidebar__button-key.svelte-a501pz{height:calc(0.0166145833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.sidebar__button-key.svelte-a501pz{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.sidebar__button-key.svelte-a501pz{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.sidebar__button-key.svelte-a501pz{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.sidebar__button-key.svelte-a501pz{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.sidebar__button-key.svelte-a501pz{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.sidebar__button-key.svelte-a501pz{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.sidebar__button-key.svelte-a501pz{border-radius:calc(0.0028645833 * 100vw + 0px)}}.sidebar__button-key-title.svelte-a501pz{color:#111111;font-family:\"GothamPro-Bold\";font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.sidebar__button-key-title.svelte-a501pz{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.sidebar__button-key-title.svelte-a501pz{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.sidebar__button-key-title.svelte-a501pz{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.sidebar__button-key-title.svelte-a501pz{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.sidebar__button-key-title.svelte-a501pz{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.sidebar__button-key-title.svelte-a501pz{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.sidebar__button-key-title.svelte-a501pz{font-size:calc(0.0091666667 * 100vw + 0px)}}.sidebar__button-title.svelte-a501pz{color:#FFFFFF;font-family:PFDinDisplayProRegular;font-size:calc(0.0083333333 * 100vw + 0px);margin-left:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.sidebar__button-title.svelte-a501pz{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.sidebar__button-title.svelte-a501pz{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.sidebar__button-title.svelte-a501pz{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.sidebar__button-title.svelte-a501pz{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.sidebar__button-title.svelte-a501pz{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.sidebar__button-title.svelte-a501pz{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.sidebar__button-title.svelte-a501pz{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.sidebar__button-title.svelte-a501pz{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.sidebar__button-title.svelte-a501pz{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.sidebar__button-title.svelte-a501pz{margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.sidebar__button-title.svelte-a501pz{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.sidebar__button-title.svelte-a501pz{margin-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.sidebar__button-title.svelte-a501pz{margin-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.sidebar__button-title.svelte-a501pz{margin-left:calc(0.0057291667 * 100vw + 0px)}}.sidebar__player-rank-progress.svelte-a501pz{display:flex;align-items:center;position:relative;background-color:rgba(255, 255, 255, 0.2);overflow:hidden;width:100%;margin-top:calc(0.0052083333 * 100vw + 0px);height:calc(0.0010416667 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.sidebar__player-rank-progress.svelte-a501pz{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.sidebar__player-rank-progress.svelte-a501pz{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.sidebar__player-rank-progress.svelte-a501pz{margin-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.sidebar__player-rank-progress.svelte-a501pz{margin-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.sidebar__player-rank-progress.svelte-a501pz{margin-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.sidebar__player-rank-progress.svelte-a501pz{margin-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.sidebar__player-rank-progress.svelte-a501pz{margin-top:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.sidebar__player-rank-progress.svelte-a501pz{height:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.sidebar__player-rank-progress.svelte-a501pz{height:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.sidebar__player-rank-progress.svelte-a501pz{height:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.sidebar__player-rank-progress.svelte-a501pz{height:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.sidebar__player-rank-progress.svelte-a501pz{height:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.sidebar__player-rank-progress.svelte-a501pz{height:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.sidebar__player-rank-progress.svelte-a501pz{height:calc(0.0011458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.sidebar__player-rank-progress.svelte-a501pz{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.sidebar__player-rank-progress.svelte-a501pz{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.sidebar__player-rank-progress.svelte-a501pz{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.sidebar__player-rank-progress.svelte-a501pz{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.sidebar__player-rank-progress.svelte-a501pz{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.sidebar__player-rank-progress.svelte-a501pz{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.sidebar__player-rank-progress.svelte-a501pz{border-radius:calc(0.0057291667 * 100vw + 0px)}}.sidebar__player-rank-progress-value.svelte-a501pz{background-color:#FFFFFF;position:absolute;left:0;height:100%;animation:svelte-a501pz-progressAnim var(--timer-duration) linear infinite}@keyframes svelte-a501pz-progressAnim{0%{width:100%}100%{width:0}}");
}

function interaction_sidebar_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[4] = list[i];
	return child_ctx;
}

// (1041:4) {#if title}
function interaction_sidebar_index_svelte_create_if_block_3(ctx) {
	let p;
	let t;

	return {
		c() {
			p = internal_element("p");
			t = internal_text(/*title*/ ctx[0]);
			attr(p, "class", "sidebar__title svelte-a501pz");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t);
		},
		p(ctx, dirty) {
			if (dirty & /*title*/ 1) set_data(t, /*title*/ ctx[0]);
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (1046:4) {#if description}
function interaction_sidebar_index_svelte_create_if_block_2(ctx) {
	let p;

	return {
		c() {
			p = internal_element("p");
			attr(p, "class", "sidebar__description svelte-a501pz");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			p.innerHTML = /*description*/ ctx[1];
		},
		p(ctx, dirty) {
			if (dirty & /*description*/ 2) p.innerHTML = /*description*/ ctx[1];;
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (1051:4) {#if !isEmpty(buttons)}
function interaction_sidebar_index_svelte_create_if_block_1(ctx) {
	let div;
	let each_value = /*buttons*/ ctx[3];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = interaction_sidebar_index_svelte_create_each_block(interaction_sidebar_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "sidebar__buttons-wrapper svelte-a501pz");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}
		},
		p(ctx, dirty) {
			if (dirty & /*buttons*/ 8) {
				each_value = /*buttons*/ ctx[3];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = interaction_sidebar_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = interaction_sidebar_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (1053:12) {#each buttons as button}
function interaction_sidebar_index_svelte_create_each_block(ctx) {
	let div2;
	let div1;
	let div0;
	let p0;
	let t0_value = /*button*/ ctx[4].keyTitle + "";
	let t0;
	let div0_style_value;
	let t1;
	let p1;
	let t2_value = /*button*/ ctx[4].title + "";
	let t2;
	let t3;
	let div2_style_value;

	return {
		c() {
			div2 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = space();
			attr(p0, "class", "sidebar__button-key-title svelte-a501pz");
			attr(div0, "class", "sidebar__button-key svelte-a501pz");
			attr(div0, "style", div0_style_value = `background: ${/*button*/ ctx[4].buttonColor}`);
			attr(p1, "class", "sidebar__button-title svelte-a501pz");
			attr(div1, "class", "sidebar__button svelte-a501pz");
			attr(div2, "class", "sidebar__button-wrapper svelte-a501pz");
			attr(div2, "style", div2_style_value = `background: ${/*button*/ ctx[4].backgroundColor}`);
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div1);
			append(div1, div0);
			append(div0, p0);
			append(p0, t0);
			append(div1, t1);
			append(div1, p1);
			append(p1, t2);
			append(div2, t3);
		},
		p(ctx, dirty) {
			if (dirty & /*buttons*/ 8 && t0_value !== (t0_value = /*button*/ ctx[4].keyTitle + "")) set_data(t0, t0_value);

			if (dirty & /*buttons*/ 8 && div0_style_value !== (div0_style_value = `background: ${/*button*/ ctx[4].buttonColor}`)) {
				attr(div0, "style", div0_style_value);
			}

			if (dirty & /*buttons*/ 8 && t2_value !== (t2_value = /*button*/ ctx[4].title + "")) set_data(t2, t2_value);

			if (dirty & /*buttons*/ 8 && div2_style_value !== (div2_style_value = `background: ${/*button*/ ctx[4].backgroundColor}`)) {
				attr(div2, "style", div2_style_value);
			}
		},
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

// (1075:4) {#if timer}
function interaction_sidebar_index_svelte_create_if_block(ctx) {
	let div1;
	let div0;
	let div0_style_value;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			attr(div0, "class", "sidebar__player-rank-progress-value svelte-a501pz");
			attr(div0, "style", div0_style_value = `--timer-duration: ${/*timer*/ ctx[2]}s;`);
			attr(div1, "class", "sidebar__player-rank-progress svelte-a501pz");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
		},
		p(ctx, dirty) {
			if (dirty & /*timer*/ 4 && div0_style_value !== (div0_style_value = `--timer-duration: ${/*timer*/ ctx[2]}s;`)) {
				attr(div0, "style", div0_style_value);
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

function interaction_sidebar_index_svelte_create_fragment(ctx) {
	let div;
	let t0;
	let t1;
	let show_if = !(0,lodash.isEmpty)(/*buttons*/ ctx[3]);
	let t2;
	let div_intro;
	let div_outro;
	let current;
	let if_block0 = /*title*/ ctx[0] && interaction_sidebar_index_svelte_create_if_block_3(ctx);
	let if_block1 = /*description*/ ctx[1] && interaction_sidebar_index_svelte_create_if_block_2(ctx);
	let if_block2 = show_if && interaction_sidebar_index_svelte_create_if_block_1(ctx);
	let if_block3 = /*timer*/ ctx[2] && interaction_sidebar_index_svelte_create_if_block(ctx);

	return {
		c() {
			div = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			if (if_block1) if_block1.c();
			t1 = space();
			if (if_block2) if_block2.c();
			t2 = space();
			if (if_block3) if_block3.c();
			attr(div, "class", "sidebar svelte-a501pz");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block0) if_block0.m(div, null);
			append(div, t0);
			if (if_block1) if_block1.m(div, null);
			append(div, t1);
			if (if_block2) if_block2.m(div, null);
			append(div, t2);
			if (if_block3) if_block3.m(div, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if (/*title*/ ctx[0]) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = interaction_sidebar_index_svelte_create_if_block_3(ctx);
					if_block0.c();
					if_block0.m(div, t0);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (/*description*/ ctx[1]) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = interaction_sidebar_index_svelte_create_if_block_2(ctx);
					if_block1.c();
					if_block1.m(div, t1);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty & /*buttons*/ 8) show_if = !(0,lodash.isEmpty)(/*buttons*/ ctx[3]);

			if (show_if) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = interaction_sidebar_index_svelte_create_if_block_1(ctx);
					if_block2.c();
					if_block2.m(div, t2);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			if (/*timer*/ ctx[2]) {
				if (if_block3) {
					if_block3.p(ctx, dirty);
				} else {
					if_block3 = interaction_sidebar_index_svelte_create_if_block(ctx);
					if_block3.c();
					if_block3.m(div, null);
				}
			} else if (if_block3) {
				if_block3.d(1);
				if_block3 = null;
			}
		},
		i(local) {
			if (current) return;

			if (local) {
				add_render_callback(() => {
					if (div_outro) div_outro.end(1);
					div_intro = create_in_transition(div, fly, { x: 200, duration: 1000 });
					div_intro.start();
				});
			}

			current = true;
		},
		o(local) {
			if (div_intro) div_intro.invalidate();

			if (local) {
				div_outro = create_out_transition(div, fly, { x: 400, duration: 1000 });
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			if (if_block2) if_block2.d();
			if (if_block3) if_block3.d();
			if (detaching && div_outro) div_outro.end();
		}
	};
}

function interaction_sidebar_index_svelte_instance($$self, $$props, $$invalidate) {
	let { title = '' } = $$props;
	let { description = '' } = $$props;
	let { timer = 0 } = $$props;
	let { buttons } = $$props;

	$$self.$$set = $$props => {
		if ('title' in $$props) $$invalidate(0, title = $$props.title);
		if ('description' in $$props) $$invalidate(1, description = $$props.description);
		if ('timer' in $$props) $$invalidate(2, timer = $$props.timer);
		if ('buttons' in $$props) $$invalidate(3, buttons = $$props.buttons);
	};

	return [title, description, timer, buttons];
}

class Interaction_sidebar extends SvelteComponent {
	constructor(options) {
		super();

		init(
			this,
			options,
			interaction_sidebar_index_svelte_instance,
			interaction_sidebar_index_svelte_create_fragment,
			safe_not_equal,
			{
				title: 0,
				description: 1,
				timer: 2,
				buttons: 3
			},
			interaction_sidebar_index_svelte_add_css
		);
	}
}

/* harmony default export */ const interaction_sidebar_index_svelte = (Interaction_sidebar);
;// CONCATENATED MODULE: ./src/modals/dialog-tip/constants.js
function dialog_tip_constants_typeof(o) { "@babel/helpers - typeof"; return dialog_tip_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, dialog_tip_constants_typeof(o); }
function dialog_tip_constants_defineProperty(e, r, t) { return (r = dialog_tip_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function dialog_tip_constants_toPropertyKey(t) { var i = dialog_tip_constants_toPrimitive(t, "string"); return "symbol" == dialog_tip_constants_typeof(i) ? i : i + ""; }
function dialog_tip_constants_toPrimitive(t, r) { if ("object" != dialog_tip_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != dialog_tip_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }

var QUEST_NOTIFY_CDN_URL = "".concat(CDN_URL, "/projects/arizona-rp/systems/quest_notify/");
var Positions = {
  LeftBottom: 'leftBottom',
  LeftTop: 'leftTop',
  RightBottom: 'rightBottom',
  RightTop: 'rightTop',
  CenterBottom: 'centerBottom',
  CenterTop: 'centerTop'
};
var MAP_POSITION_TO_ANIMATION_PROPS = dialog_tip_constants_defineProperty(dialog_tip_constants_defineProperty(dialog_tip_constants_defineProperty(dialog_tip_constants_defineProperty(dialog_tip_constants_defineProperty(dialog_tip_constants_defineProperty({}, Positions.LeftBottom, {
  duration: 250,
  x: -300
}), Positions.LeftTop, {
  duration: 250,
  x: -300
}), Positions.RightBottom, {
  duration: 250,
  x: 300
}), Positions.RightTop, {
  duration: 250,
  x: 300
}), Positions.CenterBottom, {
  duration: 250,
  y: 300
}), Positions.CenterTop, {
  duration: 250,
  y: -300
});
;// CONCATENATED MODULE: ./src/modals/dialog-tip/index.svelte
/* src\modals\dialog-tip\index.svelte generated by Svelte v3.49.0 */









function dialog_tip_index_svelte_create_if_block(ctx) {
	let div;
	let div_class_value;

	return {
		c() {
			div = internal_element("div");
			attr(div, "class", div_class_value = "dialog-tip__message-icon " + /*icon*/ ctx[2]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*icon*/ 4 && div_class_value !== (div_class_value = "dialog-tip__message-icon " + /*icon*/ ctx[2])) {
				attr(div, "class", div_class_value);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function dialog_tip_index_svelte_create_fragment(ctx) {
	let div2;
	let img;
	let img_src_value;
	let t0;
	let div1;
	let show_if = !(0,lodash.isEmpty)(/*icon*/ ctx[2]);
	let t1;
	let div0;
	let div2_class_value;
	let div2_transition;
	let current;
	let if_block = show_if && dialog_tip_index_svelte_create_if_block(ctx);

	return {
		c() {
			div2 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div1 = internal_element("div");
			if (if_block) if_block.c();
			t1 = space();
			div0 = internal_element("div");
			if (!src_url_equal(img.src, img_src_value = `${QUEST_NOTIFY_CDN_URL}/${/*backgroundImage*/ ctx[1]}`)) attr(img, "src", img_src_value);
			attr(img, "alt", "persona");
			attr(img, "class", "dialog-tip__image");
			attr(div0, "class", "dialog-tip__message-text");
			attr(div1, "class", "dialog-tip__message");
			attr(div2, "class", div2_class_value = "dialog-tip dialog-tip--" + /*position*/ ctx[0]);
			set_style(div2, "--iconColor", /*iconColor*/ ctx[3]);
			set_style(div2, "--highlightColor", /*highlightColor*/ ctx[4]);
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, img);
			append(div2, t0);
			append(div2, div1);
			if (if_block) if_block.m(div1, null);
			append(div1, t1);
			append(div1, div0);
			div0.innerHTML = /*text*/ ctx[5];
			current = true;
		},
		p(new_ctx, [dirty]) {
			ctx = new_ctx;

			if (!current || dirty & /*backgroundImage*/ 2 && !src_url_equal(img.src, img_src_value = `${QUEST_NOTIFY_CDN_URL}/${/*backgroundImage*/ ctx[1]}`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*icon*/ 4) show_if = !(0,lodash.isEmpty)(/*icon*/ ctx[2]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = dialog_tip_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div1, t1);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (!current || dirty & /*text*/ 32) div0.innerHTML = /*text*/ ctx[5];;

			if (!current || dirty & /*position*/ 1 && div2_class_value !== (div2_class_value = "dialog-tip dialog-tip--" + /*position*/ ctx[0])) {
				attr(div2, "class", div2_class_value);
			}

			if (!current || dirty & /*iconColor*/ 8) {
				set_style(div2, "--iconColor", /*iconColor*/ ctx[3]);
			}

			if (!current || dirty & /*highlightColor*/ 16) {
				set_style(div2, "--highlightColor", /*highlightColor*/ ctx[4]);
			}
		},
		i(local) {
			if (current) return;

			add_render_callback(() => {
				if (!div2_transition) div2_transition = create_bidirectional_transition(div2, fly, MAP_POSITION_TO_ANIMATION_PROPS[/*position*/ ctx[0]], true);
				div2_transition.run(1);
			});

			current = true;
		},
		o(local) {
			if (!div2_transition) div2_transition = create_bidirectional_transition(div2, fly, MAP_POSITION_TO_ANIMATION_PROPS[/*position*/ ctx[0]], false);
			div2_transition.run(0);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div2);
			if (if_block) if_block.d();
			if (detaching && div2_transition) div2_transition.end();
		}
	};
}

function dialog_tip_index_svelte_instance($$self, $$props, $$invalidate) {
	let { position = '' } = $$props;
	let { backgroundImage = '' } = $$props;
	let { icon = '' } = $$props;
	let { iconColor = '' } = $$props;
	let { highlightColor = '' } = $$props;
	let { text = '' } = $$props;

	$$self.$$set = $$props => {
		if ('position' in $$props) $$invalidate(0, position = $$props.position);
		if ('backgroundImage' in $$props) $$invalidate(1, backgroundImage = $$props.backgroundImage);
		if ('icon' in $$props) $$invalidate(2, icon = $$props.icon);
		if ('iconColor' in $$props) $$invalidate(3, iconColor = $$props.iconColor);
		if ('highlightColor' in $$props) $$invalidate(4, highlightColor = $$props.highlightColor);
		if ('text' in $$props) $$invalidate(5, text = $$props.text);
	};

	return [position, backgroundImage, icon, iconColor, highlightColor, text];
}

class Dialog_tip extends SvelteComponent {
	constructor(options) {
		super();

		init(this, options, dialog_tip_index_svelte_instance, dialog_tip_index_svelte_create_fragment, safe_not_equal, {
			position: 0,
			backgroundImage: 1,
			icon: 2,
			iconColor: 3,
			highlightColor: 4,
			text: 5
		});
	}
}

/* harmony default export */ const dialog_tip_index_svelte = (Dialog_tip);
;// CONCATENATED MODULE: ./src/modals/security-banner/img/security-banner-background.png
const security_banner_background_namespaceObject = __webpack_require__.p + "assets/b8af31f692593a082b99.webp";
;// CONCATENATED MODULE: ./src/modals/security-banner/img/security-banner-background-socials.png
const security_banner_background_socials_namespaceObject = __webpack_require__.p + "assets/f36faf3919fa96168999.webp";
;// CONCATENATED MODULE: ./src/modals/security-banner/img/security-banner-vip.png
const security_banner_vip_namespaceObject = __webpack_require__.p + "assets/c7cb910c63b9de94d2ee.webp";
;// CONCATENATED MODULE: ./src/modals/security-banner/img/security-banner-payday.png
const security_banner_payday_namespaceObject = __webpack_require__.p + "assets/7b24612b54071170e824.webp";
;// CONCATENATED MODULE: ./src/modals/security-banner/img/security-banner-line.svg
const security_banner_line_namespaceObject = __webpack_require__.p + "assets/d43dff14ca43b082c317.svg";
;// CONCATENATED MODULE: ./src/modals/security-banner/img/security-banner-telegram.svg
const security_banner_telegram_namespaceObject = __webpack_require__.p + "assets/f63fbc77bd2220fa598c.svg";
;// CONCATENATED MODULE: ./src/modals/security-banner/img/security-banner-vk.png
const security_banner_vk_namespaceObject = __webpack_require__.p + "assets/03a47e5eb198430f2393.webp";
;// CONCATENATED MODULE: ./src/modals/security-banner/index.svelte
/* src\modals\security-banner\index.svelte generated by Svelte v3.49.0 */











function security_banner_index_svelte_add_css(target) {
	append_styles(target, "svelte-1c7jtdj", "@keyframes svelte-1c7jtdj-blinking{50%{opacity:0}}@keyframes svelte-1c7jtdj-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1c7jtdj-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1c7jtdj-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1c7jtdj-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1c7jtdj-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1c7jtdj-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1c7jtdj-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1c7jtdj-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1c7jtdj-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1c7jtdj-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1c7jtdj-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1c7jtdj-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1c7jtdj-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1c7jtdj-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.security-banner.svelte-1c7jtdj{display:flex;align-items:center;justify-content:center;width:100vw;height:100vh}.security-banner__body.svelte-1c7jtdj{position:relative;border:1px solid rgba(255, 255, 255, 0.2);background-color:rgba(19, 21, 22, 0.95);overflow:hidden;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.6166666667 * 100vw + 0px);height:calc(0.346875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body.svelte-1c7jtdj{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body.svelte-1c7jtdj{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body.svelte-1c7jtdj{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body.svelte-1c7jtdj{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body.svelte-1c7jtdj{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body.svelte-1c7jtdj{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body.svelte-1c7jtdj{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body.svelte-1c7jtdj{width:calc(0.6166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body.svelte-1c7jtdj{width:calc(0.6166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body.svelte-1c7jtdj{width:calc(0.4748333333 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body.svelte-1c7jtdj{width:calc(0.6783333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body.svelte-1c7jtdj{width:calc(0.4316666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body.svelte-1c7jtdj{width:calc(0.555 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body.svelte-1c7jtdj{width:calc(0.6783333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body.svelte-1c7jtdj{height:calc(0.346875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body.svelte-1c7jtdj{height:calc(0.346875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body.svelte-1c7jtdj{height:calc(0.26709375 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body.svelte-1c7jtdj{height:calc(0.3815625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body.svelte-1c7jtdj{height:calc(0.2428125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body.svelte-1c7jtdj{height:calc(0.3121875 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body.svelte-1c7jtdj{height:calc(0.3815625 * 100vw + 0px)}}.security-banner__body-background-wrapper.svelte-1c7jtdj{display:flex;position:relative;width:100%}.security-banner__body-background.svelte-1c7jtdj{position:absolute;right:0;opacity:10%;height:calc(0.3453125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-background.svelte-1c7jtdj{height:calc(0.3453125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-background.svelte-1c7jtdj{height:calc(0.3453125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-background.svelte-1c7jtdj{height:calc(0.265890625 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-background.svelte-1c7jtdj{height:calc(0.37984375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-background.svelte-1c7jtdj{height:calc(0.24171875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-background.svelte-1c7jtdj{height:calc(0.31078125 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-background.svelte-1c7jtdj{height:calc(0.37984375 * 100vw + 0px)}}.security-banner__body-background-socials.svelte-1c7jtdj{position:absolute;right:0;height:calc(0.3453125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-background-socials.svelte-1c7jtdj{height:calc(0.3453125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-background-socials.svelte-1c7jtdj{height:calc(0.3453125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-background-socials.svelte-1c7jtdj{height:calc(0.265890625 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-background-socials.svelte-1c7jtdj{height:calc(0.37984375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-background-socials.svelte-1c7jtdj{height:calc(0.24171875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-background-socials.svelte-1c7jtdj{height:calc(0.31078125 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-background-socials.svelte-1c7jtdj{height:calc(0.37984375 * 100vw + 0px)}}.security-banner__body-close-button.svelte-1c7jtdj{position:absolute;display:flex;align-items:center;justify-content:center;background-color:rgba(255, 255, 255, 0.1);cursor:pointer;transition:border 0.2s linear;border:2px solid transparent;border-radius:calc(0.003125 * 100vw + 0px);top:calc(0.0161458333 * 100vw + 0px);right:calc(0.015625 * 100vw + 0px);width:calc(0.0364583333 * 100vw + 0px);height:calc(0.0197916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-close-button.svelte-1c7jtdj{border-radius:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-close-button.svelte-1c7jtdj{border-radius:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-close-button.svelte-1c7jtdj{border-radius:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-close-button.svelte-1c7jtdj{border-radius:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-close-button.svelte-1c7jtdj{border-radius:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-close-button.svelte-1c7jtdj{border-radius:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-close-button.svelte-1c7jtdj{border-radius:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-close-button.svelte-1c7jtdj{top:calc(0.0161458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-close-button.svelte-1c7jtdj{top:calc(0.0161458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-close-button.svelte-1c7jtdj{top:calc(0.0124322917 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-close-button.svelte-1c7jtdj{top:calc(0.0177604167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-close-button.svelte-1c7jtdj{top:calc(0.0113020833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-close-button.svelte-1c7jtdj{top:calc(0.01453125 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-close-button.svelte-1c7jtdj{top:calc(0.0177604167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-close-button.svelte-1c7jtdj{right:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-close-button.svelte-1c7jtdj{right:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-close-button.svelte-1c7jtdj{right:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-close-button.svelte-1c7jtdj{right:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-close-button.svelte-1c7jtdj{right:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-close-button.svelte-1c7jtdj{right:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-close-button.svelte-1c7jtdj{right:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-close-button.svelte-1c7jtdj{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-close-button.svelte-1c7jtdj{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-close-button.svelte-1c7jtdj{width:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-close-button.svelte-1c7jtdj{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-close-button.svelte-1c7jtdj{width:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-close-button.svelte-1c7jtdj{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-close-button.svelte-1c7jtdj{width:calc(0.0401041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-close-button.svelte-1c7jtdj{height:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-close-button.svelte-1c7jtdj{height:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-close-button.svelte-1c7jtdj{height:calc(0.0152395833 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-close-button.svelte-1c7jtdj{height:calc(0.0217708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-close-button.svelte-1c7jtdj{height:calc(0.0138541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-close-button.svelte-1c7jtdj{height:calc(0.0178125 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-close-button.svelte-1c7jtdj{height:calc(0.0217708333 * 100vw + 0px)}}.security-banner__body-close-button.svelte-1c7jtdj:hover{border:2px solid #FFFFFF}.security-banner__body-close-button-title.svelte-1c7jtdj{font-family:PFDinDisplayProRegular;font-weight:500;color:#FFFFFF;line-height:calc(0.0114583333 * 100vw + 0px);font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-close-button-title.svelte-1c7jtdj{line-height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-close-button-title.svelte-1c7jtdj{line-height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-close-button-title.svelte-1c7jtdj{line-height:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-close-button-title.svelte-1c7jtdj{line-height:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-close-button-title.svelte-1c7jtdj{line-height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-close-button-title.svelte-1c7jtdj{line-height:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-close-button-title.svelte-1c7jtdj{line-height:calc(0.0126041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-close-button-title.svelte-1c7jtdj{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-close-button-title.svelte-1c7jtdj{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-close-button-title.svelte-1c7jtdj{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-close-button-title.svelte-1c7jtdj{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-close-button-title.svelte-1c7jtdj{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-close-button-title.svelte-1c7jtdj{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-close-button-title.svelte-1c7jtdj{font-size:calc(0.0103125 * 100vw + 0px)}}.security-banner__body-info.svelte-1c7jtdj{position:absolute;top:calc(0.0286458333 * 100vw + 0px);left:calc(0.0317708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-info.svelte-1c7jtdj{top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-info.svelte-1c7jtdj{top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-info.svelte-1c7jtdj{top:calc(0.0220572917 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-info.svelte-1c7jtdj{top:calc(0.0315104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-info.svelte-1c7jtdj{top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-info.svelte-1c7jtdj{top:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-info.svelte-1c7jtdj{top:calc(0.0315104167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-info.svelte-1c7jtdj{left:calc(0.0317708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-info.svelte-1c7jtdj{left:calc(0.0317708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-info.svelte-1c7jtdj{left:calc(0.0244635417 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-info.svelte-1c7jtdj{left:calc(0.0349479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-info.svelte-1c7jtdj{left:calc(0.0222395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-info.svelte-1c7jtdj{left:calc(0.02859375 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-info.svelte-1c7jtdj{left:calc(0.0349479167 * 100vw + 0px)}}.security-banner__body-info-title.svelte-1c7jtdj{font-family:PFDinDisplayProRegular;font-weight:500;color:#FFFFFF;line-height:calc(0.0359375 * 100vw + 0px);font-size:calc(0.0447916667 * 100vw + 0px);width:calc(0.1875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-info-title.svelte-1c7jtdj{line-height:calc(0.0359375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-info-title.svelte-1c7jtdj{line-height:calc(0.0359375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-info-title.svelte-1c7jtdj{line-height:calc(0.027671875 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-info-title.svelte-1c7jtdj{line-height:calc(0.03953125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-info-title.svelte-1c7jtdj{line-height:calc(0.02515625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-info-title.svelte-1c7jtdj{line-height:calc(0.03234375 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-info-title.svelte-1c7jtdj{line-height:calc(0.03953125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-info-title.svelte-1c7jtdj{font-size:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-info-title.svelte-1c7jtdj{font-size:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-info-title.svelte-1c7jtdj{font-size:calc(0.0344895833 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-info-title.svelte-1c7jtdj{font-size:calc(0.0492708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-info-title.svelte-1c7jtdj{font-size:calc(0.0313541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-info-title.svelte-1c7jtdj{font-size:calc(0.0403125 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-info-title.svelte-1c7jtdj{font-size:calc(0.0492708333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-info-title.svelte-1c7jtdj{width:calc(0.1875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-info-title.svelte-1c7jtdj{width:calc(0.1875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-info-title.svelte-1c7jtdj{width:calc(0.144375 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-info-title.svelte-1c7jtdj{width:calc(0.20625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-info-title.svelte-1c7jtdj{width:calc(0.13125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-info-title.svelte-1c7jtdj{width:calc(0.16875 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-info-title.svelte-1c7jtdj{width:calc(0.20625 * 100vw + 0px)}}.security-banner__body-info-title--bold.svelte-1c7jtdj{font-weight:900}.security-banner__body-info-description.svelte-1c7jtdj{font-family:PFDinDisplayProRegular;font-weight:500;color:#FFFFFF;line-height:calc(0.0166666667 * 100vw + 0px);font-size:calc(0.0104166667 * 100vw + 0px);width:calc(0.3041666667 * 100vw + 0px);margin-top:calc(0.0197916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-info-description.svelte-1c7jtdj{line-height:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-info-description.svelte-1c7jtdj{line-height:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-info-description.svelte-1c7jtdj{line-height:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-info-description.svelte-1c7jtdj{line-height:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-info-description.svelte-1c7jtdj{line-height:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-info-description.svelte-1c7jtdj{line-height:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-info-description.svelte-1c7jtdj{line-height:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-info-description.svelte-1c7jtdj{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-info-description.svelte-1c7jtdj{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-info-description.svelte-1c7jtdj{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-info-description.svelte-1c7jtdj{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-info-description.svelte-1c7jtdj{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-info-description.svelte-1c7jtdj{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-info-description.svelte-1c7jtdj{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-info-description.svelte-1c7jtdj{width:calc(0.3041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-info-description.svelte-1c7jtdj{width:calc(0.3041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-info-description.svelte-1c7jtdj{width:calc(0.2342083333 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-info-description.svelte-1c7jtdj{width:calc(0.3345833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-info-description.svelte-1c7jtdj{width:calc(0.2129166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-info-description.svelte-1c7jtdj{width:calc(0.27375 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-info-description.svelte-1c7jtdj{width:calc(0.3345833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-info-description.svelte-1c7jtdj{margin-top:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-info-description.svelte-1c7jtdj{margin-top:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-info-description.svelte-1c7jtdj{margin-top:calc(0.0152395833 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-info-description.svelte-1c7jtdj{margin-top:calc(0.0217708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-info-description.svelte-1c7jtdj{margin-top:calc(0.0138541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-info-description.svelte-1c7jtdj{margin-top:calc(0.0178125 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-info-description.svelte-1c7jtdj{margin-top:calc(0.0217708333 * 100vw + 0px)}}.security-banner__body-info-rewards.svelte-1c7jtdj{display:flex;gap:calc(0.0171875 * 100vw + 0px);margin-top:calc(0.0244791667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-info-rewards.svelte-1c7jtdj{gap:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-info-rewards.svelte-1c7jtdj{gap:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-info-rewards.svelte-1c7jtdj{gap:calc(0.013234375 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-info-rewards.svelte-1c7jtdj{gap:calc(0.01890625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-info-rewards.svelte-1c7jtdj{gap:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-info-rewards.svelte-1c7jtdj{gap:calc(0.01546875 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-info-rewards.svelte-1c7jtdj{gap:calc(0.01890625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-info-rewards.svelte-1c7jtdj{margin-top:calc(0.0244791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-info-rewards.svelte-1c7jtdj{margin-top:calc(0.0244791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-info-rewards.svelte-1c7jtdj{margin-top:calc(0.0188489583 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-info-rewards.svelte-1c7jtdj{margin-top:calc(0.0269270833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-info-rewards.svelte-1c7jtdj{margin-top:calc(0.0171354167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-info-rewards.svelte-1c7jtdj{margin-top:calc(0.02203125 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-info-rewards.svelte-1c7jtdj{margin-top:calc(0.0269270833 * 100vw + 0px)}}.security-banner__body-info-reward.svelte-1c7jtdj{display:flex;align-items:center;border:1px solid #343434;background:radial-gradient(circle, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 0%, rgb(13, 16, 17) 100%);border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.1348958333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-info-reward.svelte-1c7jtdj{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-info-reward.svelte-1c7jtdj{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-info-reward.svelte-1c7jtdj{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-info-reward.svelte-1c7jtdj{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-info-reward.svelte-1c7jtdj{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-info-reward.svelte-1c7jtdj{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-info-reward.svelte-1c7jtdj{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-info-reward.svelte-1c7jtdj{width:calc(0.1348958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-info-reward.svelte-1c7jtdj{width:calc(0.1348958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-info-reward.svelte-1c7jtdj{width:calc(0.1038697917 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-info-reward.svelte-1c7jtdj{width:calc(0.1483854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-info-reward.svelte-1c7jtdj{width:calc(0.0944270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-info-reward.svelte-1c7jtdj{width:calc(0.12140625 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-info-reward.svelte-1c7jtdj{width:calc(0.1483854167 * 100vw + 0px)}}.security-banner__body-info-reward-img-wrapper.svelte-1c7jtdj{background-color:rgba(255, 255, 255, 0.1);overflow:hidden;border-radius:calc(0.0041666667 * 100vw + 0px);width:calc(0.053125 * 100vw + 0px);height:calc(0.053125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-info-reward-img-wrapper.svelte-1c7jtdj{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-info-reward-img-wrapper.svelte-1c7jtdj{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-info-reward-img-wrapper.svelte-1c7jtdj{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-info-reward-img-wrapper.svelte-1c7jtdj{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-info-reward-img-wrapper.svelte-1c7jtdj{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-info-reward-img-wrapper.svelte-1c7jtdj{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-info-reward-img-wrapper.svelte-1c7jtdj{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-info-reward-img-wrapper.svelte-1c7jtdj{width:calc(0.053125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-info-reward-img-wrapper.svelte-1c7jtdj{width:calc(0.053125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-info-reward-img-wrapper.svelte-1c7jtdj{width:calc(0.04090625 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-info-reward-img-wrapper.svelte-1c7jtdj{width:calc(0.0584375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-info-reward-img-wrapper.svelte-1c7jtdj{width:calc(0.0371875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-info-reward-img-wrapper.svelte-1c7jtdj{width:calc(0.0478125 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-info-reward-img-wrapper.svelte-1c7jtdj{width:calc(0.0584375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-info-reward-img-wrapper.svelte-1c7jtdj{height:calc(0.053125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-info-reward-img-wrapper.svelte-1c7jtdj{height:calc(0.053125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-info-reward-img-wrapper.svelte-1c7jtdj{height:calc(0.04090625 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-info-reward-img-wrapper.svelte-1c7jtdj{height:calc(0.0584375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-info-reward-img-wrapper.svelte-1c7jtdj{height:calc(0.0371875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-info-reward-img-wrapper.svelte-1c7jtdj{height:calc(0.0478125 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-info-reward-img-wrapper.svelte-1c7jtdj{height:calc(0.0584375 * 100vw + 0px)}}.security-banner__body-info-reward-img.svelte-1c7jtdj{height:calc(0.053125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-info-reward-img.svelte-1c7jtdj{height:calc(0.053125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-info-reward-img.svelte-1c7jtdj{height:calc(0.053125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-info-reward-img.svelte-1c7jtdj{height:calc(0.04090625 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-info-reward-img.svelte-1c7jtdj{height:calc(0.0584375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-info-reward-img.svelte-1c7jtdj{height:calc(0.0371875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-info-reward-img.svelte-1c7jtdj{height:calc(0.0478125 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-info-reward-img.svelte-1c7jtdj{height:calc(0.0584375 * 100vw + 0px)}}.security-banner__body-info-reward-title.svelte-1c7jtdj{font-family:PFDinDisplayProRegular;font-weight:400;color:#FFFFFF;line-height:calc(0.0151041667 * 100vw + 0px);font-size:calc(0.0125 * 100vw + 0px);width:calc(0.0447916667 * 100vw + 0px);margin-left:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-info-reward-title.svelte-1c7jtdj{line-height:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-info-reward-title.svelte-1c7jtdj{line-height:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-info-reward-title.svelte-1c7jtdj{line-height:calc(0.0116302083 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-info-reward-title.svelte-1c7jtdj{line-height:calc(0.0166145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-info-reward-title.svelte-1c7jtdj{line-height:calc(0.0105729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-info-reward-title.svelte-1c7jtdj{line-height:calc(0.01359375 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-info-reward-title.svelte-1c7jtdj{line-height:calc(0.0166145833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-info-reward-title.svelte-1c7jtdj{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-info-reward-title.svelte-1c7jtdj{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-info-reward-title.svelte-1c7jtdj{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-info-reward-title.svelte-1c7jtdj{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-info-reward-title.svelte-1c7jtdj{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-info-reward-title.svelte-1c7jtdj{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-info-reward-title.svelte-1c7jtdj{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-info-reward-title.svelte-1c7jtdj{width:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-info-reward-title.svelte-1c7jtdj{width:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-info-reward-title.svelte-1c7jtdj{width:calc(0.0344895833 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-info-reward-title.svelte-1c7jtdj{width:calc(0.0492708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-info-reward-title.svelte-1c7jtdj{width:calc(0.0313541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-info-reward-title.svelte-1c7jtdj{width:calc(0.0403125 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-info-reward-title.svelte-1c7jtdj{width:calc(0.0492708333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-info-reward-title.svelte-1c7jtdj{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-info-reward-title.svelte-1c7jtdj{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-info-reward-title.svelte-1c7jtdj{margin-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-info-reward-title.svelte-1c7jtdj{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-info-reward-title.svelte-1c7jtdj{margin-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-info-reward-title.svelte-1c7jtdj{margin-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-info-reward-title.svelte-1c7jtdj{margin-left:calc(0.0114583333 * 100vw + 0px)}}.security-banner__body-info-reward-title--big.svelte-1c7jtdj{width:calc(0.0614583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-info-reward-title--big.svelte-1c7jtdj{width:calc(0.0614583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-info-reward-title--big.svelte-1c7jtdj{width:calc(0.0614583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-info-reward-title--big.svelte-1c7jtdj{width:calc(0.0473229167 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-info-reward-title--big.svelte-1c7jtdj{width:calc(0.0676041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-info-reward-title--big.svelte-1c7jtdj{width:calc(0.0430208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-info-reward-title--big.svelte-1c7jtdj{width:calc(0.0553125 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-info-reward-title--big.svelte-1c7jtdj{width:calc(0.0676041667 * 100vw + 0px)}}.security-banner__body-line-img.svelte-1c7jtdj{position:absolute;bottom:calc(0.0744791667 * 100vw + 0px);width:calc(0.5630208333 * 100vw + 0px);height:calc(0.0010416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-line-img.svelte-1c7jtdj{bottom:calc(0.0744791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-line-img.svelte-1c7jtdj{bottom:calc(0.0744791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-line-img.svelte-1c7jtdj{bottom:calc(0.0573489583 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-line-img.svelte-1c7jtdj{bottom:calc(0.0819270833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-line-img.svelte-1c7jtdj{bottom:calc(0.0521354167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-line-img.svelte-1c7jtdj{bottom:calc(0.06703125 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-line-img.svelte-1c7jtdj{bottom:calc(0.0819270833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-line-img.svelte-1c7jtdj{width:calc(0.5630208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-line-img.svelte-1c7jtdj{width:calc(0.5630208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-line-img.svelte-1c7jtdj{width:calc(0.4335260417 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-line-img.svelte-1c7jtdj{width:calc(0.6193229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-line-img.svelte-1c7jtdj{width:calc(0.3941145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-line-img.svelte-1c7jtdj{width:calc(0.50671875 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-line-img.svelte-1c7jtdj{width:calc(0.6193229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-line-img.svelte-1c7jtdj{height:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-line-img.svelte-1c7jtdj{height:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-line-img.svelte-1c7jtdj{height:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-line-img.svelte-1c7jtdj{height:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-line-img.svelte-1c7jtdj{height:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-line-img.svelte-1c7jtdj{height:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-line-img.svelte-1c7jtdj{height:calc(0.0011458333 * 100vw + 0px)}}.security-banner__body-buttons-wrapper.svelte-1c7jtdj{position:absolute;bottom:0;width:100%;background:linear-gradient(180deg, rgba(19, 21, 22, 0) 0%, #131516 100%);height:calc(0.2385416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-buttons-wrapper.svelte-1c7jtdj{height:calc(0.2385416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-buttons-wrapper.svelte-1c7jtdj{height:calc(0.2385416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-buttons-wrapper.svelte-1c7jtdj{height:calc(0.1836770833 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-buttons-wrapper.svelte-1c7jtdj{height:calc(0.2623958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-buttons-wrapper.svelte-1c7jtdj{height:calc(0.1669791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-buttons-wrapper.svelte-1c7jtdj{height:calc(0.2146875 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-buttons-wrapper.svelte-1c7jtdj{height:calc(0.2623958333 * 100vw + 0px)}}.security-banner__body-buttons.svelte-1c7jtdj{position:absolute;display:flex;justify-content:center;width:100%;gap:calc(0.0104166667 * 100vw + 0px);bottom:calc(0.0208333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-buttons.svelte-1c7jtdj{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-buttons.svelte-1c7jtdj{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-buttons.svelte-1c7jtdj{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-buttons.svelte-1c7jtdj{gap:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-buttons.svelte-1c7jtdj{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-buttons.svelte-1c7jtdj{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-buttons.svelte-1c7jtdj{gap:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-buttons.svelte-1c7jtdj{bottom:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-buttons.svelte-1c7jtdj{bottom:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-buttons.svelte-1c7jtdj{bottom:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-buttons.svelte-1c7jtdj{bottom:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-buttons.svelte-1c7jtdj{bottom:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-buttons.svelte-1c7jtdj{bottom:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-buttons.svelte-1c7jtdj{bottom:calc(0.0229166667 * 100vw + 0px)}}.security-banner__body-button.svelte-1c7jtdj{display:flex;align-items:center;justify-content:center;background-color:#34AADF;box-shadow:0 0 79px 0 rgba(52, 170, 223, 0.8);transition:background 0.2s linear, border 0.2s linear;cursor:pointer;border:2px solid transparent;gap:calc(0.0072916667 * 100vw + 0px);border-radius:calc(0.0083333333 * 100vw + 0px);width:calc(0.153125 * 100vw + 0px);height:calc(0.0385416667 * 100vw + 0px);margin-top:calc(0.0151041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-button.svelte-1c7jtdj{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-button.svelte-1c7jtdj{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-button.svelte-1c7jtdj{gap:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-button.svelte-1c7jtdj{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-button.svelte-1c7jtdj{gap:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-button.svelte-1c7jtdj{gap:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-button.svelte-1c7jtdj{gap:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-button.svelte-1c7jtdj{border-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-button.svelte-1c7jtdj{border-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-button.svelte-1c7jtdj{border-radius:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-button.svelte-1c7jtdj{border-radius:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-button.svelte-1c7jtdj{border-radius:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-button.svelte-1c7jtdj{border-radius:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-button.svelte-1c7jtdj{border-radius:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-button.svelte-1c7jtdj{width:calc(0.153125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-button.svelte-1c7jtdj{width:calc(0.153125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-button.svelte-1c7jtdj{width:calc(0.11790625 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-button.svelte-1c7jtdj{width:calc(0.1684375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-button.svelte-1c7jtdj{width:calc(0.1071875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-button.svelte-1c7jtdj{width:calc(0.1378125 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-button.svelte-1c7jtdj{width:calc(0.1684375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-button.svelte-1c7jtdj{height:calc(0.0385416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-button.svelte-1c7jtdj{height:calc(0.0385416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-button.svelte-1c7jtdj{height:calc(0.0296770833 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-button.svelte-1c7jtdj{height:calc(0.0423958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-button.svelte-1c7jtdj{height:calc(0.0269791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-button.svelte-1c7jtdj{height:calc(0.0346875 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-button.svelte-1c7jtdj{height:calc(0.0423958333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-button.svelte-1c7jtdj{margin-top:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-button.svelte-1c7jtdj{margin-top:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-button.svelte-1c7jtdj{margin-top:calc(0.0116302083 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-button.svelte-1c7jtdj{margin-top:calc(0.0166145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-button.svelte-1c7jtdj{margin-top:calc(0.0105729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-button.svelte-1c7jtdj{margin-top:calc(0.01359375 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-button.svelte-1c7jtdj{margin-top:calc(0.0166145833 * 100vw + 0px)}}.security-banner__body-button.svelte-1c7jtdj:active{background:linear-gradient(0deg, rgba(52, 170, 223, 0.631372549), rgba(52, 170, 223, 0.631372549)), linear-gradient(0deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3))}.security-banner__body-button.svelte-1c7jtdj:hover{border:2px solid #FFFFFF}.security-banner__body-button--vk.svelte-1c7jtdj{background-color:#00A3FF;box-shadow:0 0 79px 0 rgba(0, 119, 255, 0.8)}.security-banner__body-button--vk.svelte-1c7jtdj:active{background:linear-gradient(0deg, rgba(0, 119, 255, 0.631372549), rgba(0, 119, 255, 0.631372549)), linear-gradient(0deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3))}.security-banner__body-button-img.svelte-1c7jtdj{height:calc(0.0239583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-button-img.svelte-1c7jtdj{height:calc(0.0239583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-button-img.svelte-1c7jtdj{height:calc(0.0239583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-button-img.svelte-1c7jtdj{height:calc(0.0184479167 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-button-img.svelte-1c7jtdj{height:calc(0.0263541667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-button-img.svelte-1c7jtdj{height:calc(0.0167708333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-button-img.svelte-1c7jtdj{height:calc(0.0215625 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-button-img.svelte-1c7jtdj{height:calc(0.0263541667 * 100vw + 0px)}}.security-banner__body-button-title.svelte-1c7jtdj{font-family:PFDinDisplayProRegular;font-weight:700;color:#FFFFFF;line-height:calc(0.0104166667 * 100vw + 0px);font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-button-title.svelte-1c7jtdj{line-height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-button-title.svelte-1c7jtdj{line-height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-button-title.svelte-1c7jtdj{line-height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-button-title.svelte-1c7jtdj{line-height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-button-title.svelte-1c7jtdj{line-height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-button-title.svelte-1c7jtdj{line-height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-button-title.svelte-1c7jtdj{line-height:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.security-banner__body-button-title.svelte-1c7jtdj{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.security-banner__body-button-title.svelte-1c7jtdj{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.security-banner__body-button-title.svelte-1c7jtdj{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.security-banner__body-button-title.svelte-1c7jtdj{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.security-banner__body-button-title.svelte-1c7jtdj{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.security-banner__body-button-title.svelte-1c7jtdj{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.security-banner__body-button-title.svelte-1c7jtdj{font-size:calc(0.0114583333 * 100vw + 0px)}}");
}

function security_banner_index_svelte_create_fragment(ctx) {
	let div13;
	let div12;
	let div0;
	let img0;
	let img0_src_value;
	let t0;
	let img1;
	let img1_src_value;
	let t1;
	let div1;
	let t3;
	let div5;
	let div4;
	let div2;
	let img2;
	let img2_src_value;
	let t4;
	let p1;
	let t6;
	let div3;
	let img3;
	let img3_src_value;
	let t7;
	let p2;
	let t9;
	let img4;
	let img4_src_value;
	let t10;
	let div11;
	let p3;
	let t13;
	let p4;
	let t15;
	let div10;
	let div7;
	let div6;
	let img5;
	let img5_src_value;
	let t16;
	let p5;
	let t18;
	let div9;
	let div8;
	let img6;
	let img6_src_value;
	let t19;
	let p6;
	let mounted;
	let dispose;

	return {
		c() {
			div13 = internal_element("div");
			div12 = internal_element("div");
			div0 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			img1 = internal_element("img");
			t1 = space();
			div1 = internal_element("div");
			div1.innerHTML = `<p class="security-banner__body-close-button-title svelte-1c7jtdj">Esc</p>`;
			t3 = space();
			div5 = internal_element("div");
			div4 = internal_element("div");
			div2 = internal_element("div");
			img2 = internal_element("img");
			t4 = space();
			p1 = internal_element("p");
			p1.textContent = "Привязать Telegram";
			t6 = space();
			div3 = internal_element("div");
			img3 = internal_element("img");
			t7 = space();
			p2 = internal_element("p");
			p2.textContent = "Привязать ВКонтакте";
			t9 = space();
			img4 = internal_element("img");
			t10 = space();
			div11 = internal_element("div");
			p3 = internal_element("p");

			p3.innerHTML = `Защита
                <span class="security-banner__body-info-title--bold svelte-1c7jtdj">аккаунта</span>`;

			t13 = space();
			p4 = internal_element("p");
			p4.textContent = "Привяжите свой игровой аккаунт к VK или Telegram, чтобы его не\r\n                смогли взломать злоумышленники. В качестве награды за привязку\r\n                соц. сетей вы сможете получить:";
			t15 = space();
			div10 = internal_element("div");
			div7 = internal_element("div");
			div6 = internal_element("div");
			img5 = internal_element("img");
			t16 = space();
			p5 = internal_element("p");
			p5.textContent = "ADD VIP на 4 дня";
			t18 = space();
			div9 = internal_element("div");
			div8 = internal_element("div");
			img6 = internal_element("img");
			t19 = space();
			p6 = internal_element("p");
			p6.textContent = "PAYDAY x3 на 24 часа";
			attr(img0, "class", "security-banner__body-background svelte-1c7jtdj");
			if (!src_url_equal(img0.src, img0_src_value = security_banner_background_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "background");
			attr(img1, "class", "security-banner__body-background-socials svelte-1c7jtdj");
			if (!src_url_equal(img1.src, img1_src_value = security_banner_background_socials_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "background");
			attr(div0, "class", "security-banner__body-background-wrapper svelte-1c7jtdj");
			attr(div1, "class", "security-banner__body-close-button svelte-1c7jtdj");
			attr(img2, "class", "security-banner__body-button-img svelte-1c7jtdj");
			if (!src_url_equal(img2.src, img2_src_value = security_banner_telegram_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "button-img");
			attr(p1, "class", "security-banner__body-button-title svelte-1c7jtdj");
			attr(div2, "class", "security-banner__body-button svelte-1c7jtdj");
			attr(img3, "class", "security-banner__body-button-img svelte-1c7jtdj");
			if (!src_url_equal(img3.src, img3_src_value = security_banner_vk_namespaceObject)) attr(img3, "src", img3_src_value);
			attr(img3, "alt", "button-img");
			attr(p2, "class", "security-banner__body-button-title svelte-1c7jtdj");
			attr(div3, "class", "security-banner__body-button security-banner__body-button--vk svelte-1c7jtdj");
			attr(div4, "class", "security-banner__body-buttons svelte-1c7jtdj");
			attr(div5, "class", "security-banner__body-buttons-wrapper svelte-1c7jtdj");
			attr(img4, "class", "security-banner__body-line-img svelte-1c7jtdj");
			if (!src_url_equal(img4.src, img4_src_value = security_banner_line_namespaceObject)) attr(img4, "src", img4_src_value);
			attr(img4, "alt", "line-img");
			attr(p3, "class", "security-banner__body-info-title svelte-1c7jtdj");
			attr(p4, "class", "security-banner__body-info-description svelte-1c7jtdj");
			attr(img5, "class", "security-banner__body-info-reward-img svelte-1c7jtdj");
			if (!src_url_equal(img5.src, img5_src_value = security_banner_vip_namespaceObject)) attr(img5, "src", img5_src_value);
			attr(img5, "alt", "reward-img");
			attr(div6, "class", "security-banner__body-info-reward-img-wrapper svelte-1c7jtdj");
			attr(p5, "class", "security-banner__body-info-reward-title svelte-1c7jtdj");
			attr(div7, "class", "security-banner__body-info-reward svelte-1c7jtdj");
			attr(img6, "class", "security-banner__body-info-reward-img svelte-1c7jtdj");
			if (!src_url_equal(img6.src, img6_src_value = security_banner_payday_namespaceObject)) attr(img6, "src", img6_src_value);
			attr(img6, "alt", "reward-img");
			attr(div8, "class", "security-banner__body-info-reward-img-wrapper svelte-1c7jtdj");
			attr(p6, "class", "security-banner__body-info-reward-title security-banner__body-info-reward-title--big svelte-1c7jtdj");
			attr(div9, "class", "security-banner__body-info-reward svelte-1c7jtdj");
			attr(div10, "class", "security-banner__body-info-rewards svelte-1c7jtdj");
			attr(div11, "class", "security-banner__body-info svelte-1c7jtdj");
			attr(div12, "class", "security-banner__body svelte-1c7jtdj");
			attr(div13, "class", "security-banner svelte-1c7jtdj");
		},
		m(target, anchor) {
			insert(target, div13, anchor);
			append(div13, div12);
			append(div12, div0);
			append(div0, img0);
			append(div0, t0);
			append(div0, img1);
			append(div12, t1);
			append(div12, div1);
			append(div12, t3);
			append(div12, div5);
			append(div5, div4);
			append(div4, div2);
			append(div2, img2);
			append(div2, t4);
			append(div2, p1);
			append(div4, t6);
			append(div4, div3);
			append(div3, img3);
			append(div3, t7);
			append(div3, p2);
			append(div12, t9);
			append(div12, img4);
			append(div12, t10);
			append(div12, div11);
			append(div11, p3);
			append(div11, t13);
			append(div11, p4);
			append(div11, t15);
			append(div11, div10);
			append(div10, div7);
			append(div7, div6);
			append(div6, img5);
			append(div7, t16);
			append(div7, p5);
			append(div10, t18);
			append(div10, div9);
			append(div9, div8);
			append(div8, img6);
			append(div9, t19);
			append(div9, p6);

			if (!mounted) {
				dispose = [
					listen(div1, "click", /*close*/ ctx[0]),
					listen(div2, "click", /*connectTelegram*/ ctx[1]),
					listen(div3, "click", /*connectVk*/ ctx[2])
				];

				mounted = true;
			}
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div13);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function security_banner_index_svelte_instance($$self) {
	const close = () => {
		sendClientMessage('securityBanner.close');
	};

	const connectTelegram = () => {
		sendClientMessage('securityBanner.connectTelegram');
	};

	const connectVk = () => {
		sendClientMessage('securityBanner.connectVk');
	};

	return [close, connectTelegram, connectVk];
}

class Security_banner extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, security_banner_index_svelte_instance, security_banner_index_svelte_create_fragment, safe_not_equal, {}, security_banner_index_svelte_add_css);
	}
}

/* harmony default export */ const security_banner_index_svelte = (Security_banner);
;// CONCATENATED MODULE: ./src/modals/key-reaction/index.svelte
/* src\modals\key-reaction\index.svelte generated by Svelte v3.49.0 */







function key_reaction_index_svelte_add_css(target) {
	append_styles(target, "svelte-uluap4", "@keyframes svelte-uluap4-blinking{50%{opacity:0}}@keyframes svelte-uluap4-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-uluap4-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-uluap4-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-uluap4-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-uluap4-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-uluap4-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-uluap4-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-uluap4-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-uluap4-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-uluap4-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-uluap4-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-uluap4-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-uluap4-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-uluap4-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.key-reaction.svelte-uluap4{position:fixed;display:flex;flex-direction:column;left:50%;top:50%;background-color:#1B1B1B;transform:translateY(-50%) translateX(-50%);overflow:hidden;width:fit-content;min-width:calc(0.3385416667 * 100vw + 0px);height:calc(0.1484375 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.key-reaction.svelte-uluap4{min-width:calc(0.3385416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.key-reaction.svelte-uluap4{min-width:calc(0.3385416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.key-reaction.svelte-uluap4{min-width:calc(0.2606770833 * 100vw + 0px)}}@media(min-width: 3440px){.key-reaction.svelte-uluap4{min-width:calc(0.3723958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.key-reaction.svelte-uluap4{min-width:calc(0.2369791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.key-reaction.svelte-uluap4{min-width:calc(0.3046875 * 100vw + 0px)}}@media(min-width: 4096px){.key-reaction.svelte-uluap4{min-width:calc(0.3723958333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.key-reaction.svelte-uluap4{height:calc(0.1484375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.key-reaction.svelte-uluap4{height:calc(0.1484375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.key-reaction.svelte-uluap4{height:calc(0.114296875 * 100vw + 0px)}}@media(min-width: 3440px){.key-reaction.svelte-uluap4{height:calc(0.16328125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.key-reaction.svelte-uluap4{height:calc(0.10390625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.key-reaction.svelte-uluap4{height:calc(0.13359375 * 100vw + 0px)}}@media(min-width: 4096px){.key-reaction.svelte-uluap4{height:calc(0.16328125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.key-reaction.svelte-uluap4{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.key-reaction.svelte-uluap4{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.key-reaction.svelte-uluap4{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.key-reaction.svelte-uluap4{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.key-reaction.svelte-uluap4{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.key-reaction.svelte-uluap4{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.key-reaction.svelte-uluap4{border-radius:calc(0.0057291667 * 100vw + 0px)}}.key-reaction__header.svelte-uluap4{display:flex;align-items:center;justify-content:space-between;border-style:solid;border-color:rgba(255, 255, 255, 0.5);background:radial-gradient(133% 194% at 50% 100%, rgba(255, 255, 255, 0.1) 0%, #1B1B1B 40%);background-color:#1B1B1B;border-bottom-width:calc(0.0005208333 * 100vw + 0px);height:calc(0.0401041667 * 100vw + 0px);padding-left:calc(0.015625 * 100vw + 0px);padding-right:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.key-reaction__header.svelte-uluap4{border-bottom-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.key-reaction__header.svelte-uluap4{border-bottom-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.key-reaction__header.svelte-uluap4{border-bottom-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.key-reaction__header.svelte-uluap4{border-bottom-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.key-reaction__header.svelte-uluap4{border-bottom-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.key-reaction__header.svelte-uluap4{border-bottom-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.key-reaction__header.svelte-uluap4{border-bottom-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.key-reaction__header.svelte-uluap4{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.key-reaction__header.svelte-uluap4{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.key-reaction__header.svelte-uluap4{height:calc(0.0308802083 * 100vw + 0px)}}@media(min-width: 3440px){.key-reaction__header.svelte-uluap4{height:calc(0.0441145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.key-reaction__header.svelte-uluap4{height:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.key-reaction__header.svelte-uluap4{height:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 4096px){.key-reaction__header.svelte-uluap4{height:calc(0.0441145833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.key-reaction__header.svelte-uluap4{padding-left:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.key-reaction__header.svelte-uluap4{padding-left:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.key-reaction__header.svelte-uluap4{padding-left:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.key-reaction__header.svelte-uluap4{padding-left:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.key-reaction__header.svelte-uluap4{padding-left:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.key-reaction__header.svelte-uluap4{padding-left:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.key-reaction__header.svelte-uluap4{padding-left:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.key-reaction__header.svelte-uluap4{padding-right:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.key-reaction__header.svelte-uluap4{padding-right:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.key-reaction__header.svelte-uluap4{padding-right:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.key-reaction__header.svelte-uluap4{padding-right:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.key-reaction__header.svelte-uluap4{padding-right:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.key-reaction__header.svelte-uluap4{padding-right:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.key-reaction__header.svelte-uluap4{padding-right:calc(0.0171875 * 100vw + 0px)}}.key-reaction__title.svelte-uluap4{font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.0208333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.key-reaction__title.svelte-uluap4{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.key-reaction__title.svelte-uluap4{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.key-reaction__title.svelte-uluap4{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.key-reaction__title.svelte-uluap4{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.key-reaction__title.svelte-uluap4{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.key-reaction__title.svelte-uluap4{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.key-reaction__title.svelte-uluap4{font-size:calc(0.0229166667 * 100vw + 0px)}}.key-reaction__timer-wrapper.svelte-uluap4{display:flex;align-items:center;gap:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.key-reaction__timer-wrapper.svelte-uluap4{gap:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.key-reaction__timer-wrapper.svelte-uluap4{gap:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.key-reaction__timer-wrapper.svelte-uluap4{gap:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.key-reaction__timer-wrapper.svelte-uluap4{gap:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.key-reaction__timer-wrapper.svelte-uluap4{gap:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.key-reaction__timer-wrapper.svelte-uluap4{gap:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.key-reaction__timer-wrapper.svelte-uluap4{gap:calc(0.0045833333 * 100vw + 0px)}}.key-reaction__timer-icon.svelte-uluap4{color:#FFFFFF;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.key-reaction__timer-icon.svelte-uluap4{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.key-reaction__timer-icon.svelte-uluap4{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.key-reaction__timer-icon.svelte-uluap4{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.key-reaction__timer-icon.svelte-uluap4{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.key-reaction__timer-icon.svelte-uluap4{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.key-reaction__timer-icon.svelte-uluap4{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.key-reaction__timer-icon.svelte-uluap4{font-size:calc(0.01375 * 100vw + 0px)}}.key-reaction__timer-value.svelte-uluap4{font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.key-reaction__timer-value.svelte-uluap4{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.key-reaction__timer-value.svelte-uluap4{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.key-reaction__timer-value.svelte-uluap4{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.key-reaction__timer-value.svelte-uluap4{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.key-reaction__timer-value.svelte-uluap4{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.key-reaction__timer-value.svelte-uluap4{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.key-reaction__timer-value.svelte-uluap4{font-size:calc(0.01375 * 100vw + 0px)}}.key-reaction__keys-row.svelte-uluap4{display:flex;align-items:center;justify-content:center;background:radial-gradient(200% 200% at 50% 100%, rgba(255, 255, 255, 0.1) 0%, #1B1B1B 60%);background-color:#1B1B1B;height:calc(0.05625 * 100vw + 0px);gap:calc(0.00625 * 100vw + 0px);padding-left:calc(0.0166666667 * 100vw + 0px);padding-right:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.key-reaction__keys-row.svelte-uluap4{height:calc(0.05625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.key-reaction__keys-row.svelte-uluap4{height:calc(0.05625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.key-reaction__keys-row.svelte-uluap4{height:calc(0.0433125 * 100vw + 0px)}}@media(min-width: 3440px){.key-reaction__keys-row.svelte-uluap4{height:calc(0.061875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.key-reaction__keys-row.svelte-uluap4{height:calc(0.039375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.key-reaction__keys-row.svelte-uluap4{height:calc(0.050625 * 100vw + 0px)}}@media(min-width: 4096px){.key-reaction__keys-row.svelte-uluap4{height:calc(0.061875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.key-reaction__keys-row.svelte-uluap4{gap:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.key-reaction__keys-row.svelte-uluap4{gap:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.key-reaction__keys-row.svelte-uluap4{gap:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.key-reaction__keys-row.svelte-uluap4{gap:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.key-reaction__keys-row.svelte-uluap4{gap:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.key-reaction__keys-row.svelte-uluap4{gap:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.key-reaction__keys-row.svelte-uluap4{gap:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.key-reaction__keys-row.svelte-uluap4{padding-left:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.key-reaction__keys-row.svelte-uluap4{padding-left:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.key-reaction__keys-row.svelte-uluap4{padding-left:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.key-reaction__keys-row.svelte-uluap4{padding-left:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.key-reaction__keys-row.svelte-uluap4{padding-left:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.key-reaction__keys-row.svelte-uluap4{padding-left:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.key-reaction__keys-row.svelte-uluap4{padding-left:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.key-reaction__keys-row.svelte-uluap4{padding-right:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.key-reaction__keys-row.svelte-uluap4{padding-right:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.key-reaction__keys-row.svelte-uluap4{padding-right:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.key-reaction__keys-row.svelte-uluap4{padding-right:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.key-reaction__keys-row.svelte-uluap4{padding-right:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.key-reaction__keys-row.svelte-uluap4{padding-right:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.key-reaction__keys-row.svelte-uluap4{padding-right:calc(0.0183333333 * 100vw + 0px)}}.key-reaction__keys-cap.svelte-uluap4{position:relative;display:flex;align-items:center;justify-content:center;background-color:rgba(255, 255, 255, 0.1);font-family:\"GothamPro\";color:#FFFFFF;line-height:1;font-size:calc(0.0104166667 * 100vw + 0px);min-width:calc(0.028125 * 100vw + 0px);min-height:calc(0.03125 * 100vw + 0px);border-radius:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.key-reaction__keys-cap.svelte-uluap4{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.key-reaction__keys-cap.svelte-uluap4{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.key-reaction__keys-cap.svelte-uluap4{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.key-reaction__keys-cap.svelte-uluap4{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.key-reaction__keys-cap.svelte-uluap4{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.key-reaction__keys-cap.svelte-uluap4{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.key-reaction__keys-cap.svelte-uluap4{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.key-reaction__keys-cap.svelte-uluap4{min-width:calc(0.028125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.key-reaction__keys-cap.svelte-uluap4{min-width:calc(0.028125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.key-reaction__keys-cap.svelte-uluap4{min-width:calc(0.02165625 * 100vw + 0px)}}@media(min-width: 3440px){.key-reaction__keys-cap.svelte-uluap4{min-width:calc(0.0309375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.key-reaction__keys-cap.svelte-uluap4{min-width:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.key-reaction__keys-cap.svelte-uluap4{min-width:calc(0.0253125 * 100vw + 0px)}}@media(min-width: 4096px){.key-reaction__keys-cap.svelte-uluap4{min-width:calc(0.0309375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.key-reaction__keys-cap.svelte-uluap4{min-height:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.key-reaction__keys-cap.svelte-uluap4{min-height:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.key-reaction__keys-cap.svelte-uluap4{min-height:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.key-reaction__keys-cap.svelte-uluap4{min-height:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.key-reaction__keys-cap.svelte-uluap4{min-height:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.key-reaction__keys-cap.svelte-uluap4{min-height:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.key-reaction__keys-cap.svelte-uluap4{min-height:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.key-reaction__keys-cap.svelte-uluap4{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.key-reaction__keys-cap.svelte-uluap4{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.key-reaction__keys-cap.svelte-uluap4{border-radius:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.key-reaction__keys-cap.svelte-uluap4{border-radius:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.key-reaction__keys-cap.svelte-uluap4{border-radius:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.key-reaction__keys-cap.svelte-uluap4{border-radius:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.key-reaction__keys-cap.svelte-uluap4{border-radius:calc(0.0022916667 * 100vw + 0px)}}.key-reaction__keys-cap--active.svelte-uluap4:before{content:\"\";position:absolute;border-color:#FFFFFF;border-style:solid;min-width:calc(0.0302083333 * 100vw + 0px);min-height:calc(0.0333333333 * 100vw + 0px);border-width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.key-reaction__keys-cap--active.svelte-uluap4:before{min-width:calc(0.0302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.key-reaction__keys-cap--active.svelte-uluap4:before{min-width:calc(0.0302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.key-reaction__keys-cap--active.svelte-uluap4:before{min-width:calc(0.0232604167 * 100vw + 0px)}}@media(min-width: 3440px){.key-reaction__keys-cap--active.svelte-uluap4:before{min-width:calc(0.0332291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.key-reaction__keys-cap--active.svelte-uluap4:before{min-width:calc(0.0211458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.key-reaction__keys-cap--active.svelte-uluap4:before{min-width:calc(0.0271875 * 100vw + 0px)}}@media(min-width: 4096px){.key-reaction__keys-cap--active.svelte-uluap4:before{min-width:calc(0.0332291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.key-reaction__keys-cap--active.svelte-uluap4:before{min-height:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.key-reaction__keys-cap--active.svelte-uluap4:before{min-height:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.key-reaction__keys-cap--active.svelte-uluap4:before{min-height:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.key-reaction__keys-cap--active.svelte-uluap4:before{min-height:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.key-reaction__keys-cap--active.svelte-uluap4:before{min-height:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.key-reaction__keys-cap--active.svelte-uluap4:before{min-height:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.key-reaction__keys-cap--active.svelte-uluap4:before{min-height:calc(0.0366666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.key-reaction__keys-cap--active.svelte-uluap4:before{border-width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.key-reaction__keys-cap--active.svelte-uluap4:before{border-width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.key-reaction__keys-cap--active.svelte-uluap4:before{border-width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.key-reaction__keys-cap--active.svelte-uluap4:before{border-width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.key-reaction__keys-cap--active.svelte-uluap4:before{border-width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.key-reaction__keys-cap--active.svelte-uluap4:before{border-width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.key-reaction__keys-cap--active.svelte-uluap4:before{border-width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.key-reaction__keys-cap--active.svelte-uluap4:before{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.key-reaction__keys-cap--active.svelte-uluap4:before{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.key-reaction__keys-cap--active.svelte-uluap4:before{border-radius:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.key-reaction__keys-cap--active.svelte-uluap4:before{border-radius:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.key-reaction__keys-cap--active.svelte-uluap4:before{border-radius:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.key-reaction__keys-cap--active.svelte-uluap4:before{border-radius:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.key-reaction__keys-cap--active.svelte-uluap4:before{border-radius:calc(0.0022916667 * 100vw + 0px)}}.key-reaction__keys-cap--pressed.svelte-uluap4{color:rgba(255, 255, 255, 0.5)}.key-reaction__progress-bar.svelte-uluap4{background:repeating-linear-gradient(135deg, #A3DCFF, #A3DCFF 10px, #6DB9FF 10px, #6DB9FF 20px);transition:1s linear;transition-property:width;height:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.key-reaction__progress-bar.svelte-uluap4{height:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.key-reaction__progress-bar.svelte-uluap4{height:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.key-reaction__progress-bar.svelte-uluap4{height:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.key-reaction__progress-bar.svelte-uluap4{height:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.key-reaction__progress-bar.svelte-uluap4{height:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.key-reaction__progress-bar.svelte-uluap4{height:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.key-reaction__progress-bar.svelte-uluap4{height:calc(0.006875 * 100vw + 0px)}}.key-reaction__footer.svelte-uluap4{display:flex;flex:1 1 auto;align-items:center;justify-content:center;background:radial-gradient(200% 200% at 50% 100%, rgba(255, 255, 255, 0.1) 0%, #1B1B1B 60%);background-color:#1B1B1B;gap:calc(0.0078125 * 100vw + 0px);padding-left:calc(0.015625 * 100vw + 0px);padding-right:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.key-reaction__footer.svelte-uluap4{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.key-reaction__footer.svelte-uluap4{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.key-reaction__footer.svelte-uluap4{gap:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.key-reaction__footer.svelte-uluap4{gap:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.key-reaction__footer.svelte-uluap4{gap:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.key-reaction__footer.svelte-uluap4{gap:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.key-reaction__footer.svelte-uluap4{gap:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.key-reaction__footer.svelte-uluap4{padding-left:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.key-reaction__footer.svelte-uluap4{padding-left:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.key-reaction__footer.svelte-uluap4{padding-left:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.key-reaction__footer.svelte-uluap4{padding-left:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.key-reaction__footer.svelte-uluap4{padding-left:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.key-reaction__footer.svelte-uluap4{padding-left:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.key-reaction__footer.svelte-uluap4{padding-left:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.key-reaction__footer.svelte-uluap4{padding-right:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.key-reaction__footer.svelte-uluap4{padding-right:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.key-reaction__footer.svelte-uluap4{padding-right:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.key-reaction__footer.svelte-uluap4{padding-right:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.key-reaction__footer.svelte-uluap4{padding-right:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.key-reaction__footer.svelte-uluap4{padding-right:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.key-reaction__footer.svelte-uluap4{padding-right:calc(0.0171875 * 100vw + 0px)}}.key-reaction__description-icon.svelte-uluap4{display:flex;align-items:center;justify-content:center;color:#FFFFFF;border-color:rgba(255, 255, 255, 0.5);border-style:solid;min-width:calc(0.0135416667 * 100vw + 0px);min-height:calc(0.0135416667 * 100vw + 0px);border-radius:calc(0.0041666667 * 100vw + 0px);border-width:calc(0.0005208333 * 100vw + 0px);font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.key-reaction__description-icon.svelte-uluap4{min-width:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.key-reaction__description-icon.svelte-uluap4{min-width:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.key-reaction__description-icon.svelte-uluap4{min-width:calc(0.0104270833 * 100vw + 0px)}}@media(min-width: 3440px){.key-reaction__description-icon.svelte-uluap4{min-width:calc(0.0148958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.key-reaction__description-icon.svelte-uluap4{min-width:calc(0.0094791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.key-reaction__description-icon.svelte-uluap4{min-width:calc(0.0121875 * 100vw + 0px)}}@media(min-width: 4096px){.key-reaction__description-icon.svelte-uluap4{min-width:calc(0.0148958333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.key-reaction__description-icon.svelte-uluap4{min-height:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.key-reaction__description-icon.svelte-uluap4{min-height:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.key-reaction__description-icon.svelte-uluap4{min-height:calc(0.0104270833 * 100vw + 0px)}}@media(min-width: 3440px){.key-reaction__description-icon.svelte-uluap4{min-height:calc(0.0148958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.key-reaction__description-icon.svelte-uluap4{min-height:calc(0.0094791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.key-reaction__description-icon.svelte-uluap4{min-height:calc(0.0121875 * 100vw + 0px)}}@media(min-width: 4096px){.key-reaction__description-icon.svelte-uluap4{min-height:calc(0.0148958333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.key-reaction__description-icon.svelte-uluap4{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.key-reaction__description-icon.svelte-uluap4{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.key-reaction__description-icon.svelte-uluap4{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.key-reaction__description-icon.svelte-uluap4{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.key-reaction__description-icon.svelte-uluap4{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.key-reaction__description-icon.svelte-uluap4{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.key-reaction__description-icon.svelte-uluap4{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.key-reaction__description-icon.svelte-uluap4{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.key-reaction__description-icon.svelte-uluap4{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.key-reaction__description-icon.svelte-uluap4{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.key-reaction__description-icon.svelte-uluap4{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.key-reaction__description-icon.svelte-uluap4{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.key-reaction__description-icon.svelte-uluap4{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.key-reaction__description-icon.svelte-uluap4{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.key-reaction__description-icon.svelte-uluap4{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.key-reaction__description-icon.svelte-uluap4{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.key-reaction__description-icon.svelte-uluap4{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.key-reaction__description-icon.svelte-uluap4{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.key-reaction__description-icon.svelte-uluap4{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.key-reaction__description-icon.svelte-uluap4{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.key-reaction__description-icon.svelte-uluap4{font-size:calc(0.0080208333 * 100vw + 0px)}}.key-reaction__description-text.svelte-uluap4{width:calc(0.2864583333 * 100vw + 0px);font-family:\"GothamPro\";color:#FFFFFF;word-wrap:break-word;font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.key-reaction__description-text.svelte-uluap4{width:calc(0.2864583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.key-reaction__description-text.svelte-uluap4{width:calc(0.2864583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.key-reaction__description-text.svelte-uluap4{width:calc(0.2205729167 * 100vw + 0px)}}@media(min-width: 3440px){.key-reaction__description-text.svelte-uluap4{width:calc(0.3151041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.key-reaction__description-text.svelte-uluap4{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.key-reaction__description-text.svelte-uluap4{width:calc(0.2578125 * 100vw + 0px)}}@media(min-width: 4096px){.key-reaction__description-text.svelte-uluap4{width:calc(0.3151041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.key-reaction__description-text.svelte-uluap4{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.key-reaction__description-text.svelte-uluap4{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.key-reaction__description-text.svelte-uluap4{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.key-reaction__description-text.svelte-uluap4{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.key-reaction__description-text.svelte-uluap4{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.key-reaction__description-text.svelte-uluap4{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.key-reaction__description-text.svelte-uluap4{font-size:calc(0.0114583333 * 100vw + 0px)}}");
}

function key_reaction_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[11] = list[i];
	child_ctx[13] = i;
	return child_ctx;
}

// (1565:8) {#each randomizedMiniGameKeys as key, index}
function key_reaction_index_svelte_create_each_block(ctx) {
	let div;
	let t0_value = String.fromCharCode(/*key*/ ctx[11].code) + "";
	let t0;
	let t1;

	return {
		c() {
			div = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			attr(div, "class", "key-reaction__keys-cap svelte-uluap4");
			toggle_class(div, "key-reaction__keys-cap--active", /*currentKeyIndex*/ ctx[4] === /*index*/ ctx[13]);
			toggle_class(div, "key-reaction__keys-cap--pressed", /*currentKeyIndex*/ ctx[4] > /*index*/ ctx[13]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t0);
			append(div, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*randomizedMiniGameKeys*/ 8 && t0_value !== (t0_value = String.fromCharCode(/*key*/ ctx[11].code) + "")) set_data(t0, t0_value);

			if (dirty & /*currentKeyIndex*/ 16) {
				toggle_class(div, "key-reaction__keys-cap--active", /*currentKeyIndex*/ ctx[4] === /*index*/ ctx[13]);
			}

			if (dirty & /*currentKeyIndex*/ 16) {
				toggle_class(div, "key-reaction__keys-cap--pressed", /*currentKeyIndex*/ ctx[4] > /*index*/ ctx[13]);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function key_reaction_index_svelte_create_fragment(ctx) {
	let div9;
	let div3;
	let div0;
	let t0;
	let t1;
	let div2;
	let i;
	let t2;
	let div1;
	let t3_value = formatSecondsToMmSs(/*timeLeft*/ ctx[5]) + "";
	let t3;
	let t4;
	let div4;
	let t5;
	let div5;
	let t6;
	let div8;
	let div6;
	let t8;
	let div7;
	let t9;
	let t10;
	let mounted;
	let dispose;
	let each_value = /*randomizedMiniGameKeys*/ ctx[3];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = key_reaction_index_svelte_create_each_block(key_reaction_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div9 = internal_element("div");
			div3 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(/*miniGameTitle*/ ctx[0]);
			t1 = space();
			div2 = internal_element("div");
			i = internal_element("i");
			t2 = space();
			div1 = internal_element("div");
			t3 = internal_text(t3_value);
			t4 = space();
			div4 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t5 = space();
			div5 = internal_element("div");
			t6 = space();
			div8 = internal_element("div");
			div6 = internal_element("div");
			div6.textContent = "!";
			t8 = space();
			div7 = internal_element("div");
			t9 = internal_text("Нажимайте на соответствующие клавиши, которые отображаются на экране ");
			t10 = internal_text(/*miniGameDescription*/ ctx[1]);
			attr(div0, "class", "key-reaction__title svelte-uluap4");
			attr(i, "class", "key-reaction__timer-icon icon-time svelte-uluap4");
			attr(div1, "class", "key-reaction__timer-value svelte-uluap4");
			attr(div2, "class", "key-reaction__timer-wrapper svelte-uluap4");
			attr(div3, "class", "key-reaction__header svelte-uluap4");
			attr(div4, "class", "key-reaction__keys-row svelte-uluap4");
			attr(div5, "class", "key-reaction__progress-bar svelte-uluap4");
			set_style(div5, "width", `${countPercents(/*timeLeft*/ ctx[5], /*miniGameDuration*/ ctx[2])}%`);
			attr(div6, "class", "key-reaction__description-icon svelte-uluap4");
			attr(div7, "class", "key-reaction__description-text svelte-uluap4");
			attr(div8, "class", "key-reaction__footer svelte-uluap4");
			attr(div9, "class", "key-reaction svelte-uluap4");
		},
		m(target, anchor) {
			insert(target, div9, anchor);
			append(div9, div3);
			append(div3, div0);
			append(div0, t0);
			append(div3, t1);
			append(div3, div2);
			append(div2, i);
			append(div2, t2);
			append(div2, div1);
			append(div1, t3);
			append(div9, t4);
			append(div9, div4);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div4, null);
			}

			append(div9, t5);
			append(div9, div5);
			append(div9, t6);
			append(div9, div8);
			append(div8, div6);
			append(div8, t8);
			append(div8, div7);
			append(div7, t9);
			append(div7, t10);

			if (!mounted) {
				dispose = listen(window, "keyup", /*handleKeyUp*/ ctx[6]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*miniGameTitle*/ 1) set_data(t0, /*miniGameTitle*/ ctx[0]);
			if (dirty & /*timeLeft*/ 32 && t3_value !== (t3_value = formatSecondsToMmSs(/*timeLeft*/ ctx[5]) + "")) set_data(t3, t3_value);

			if (dirty & /*currentKeyIndex, String, randomizedMiniGameKeys*/ 24) {
				each_value = /*randomizedMiniGameKeys*/ ctx[3];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = key_reaction_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = key_reaction_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div4, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if (dirty & /*timeLeft, miniGameDuration*/ 36) {
				set_style(div5, "width", `${countPercents(/*timeLeft*/ ctx[5], /*miniGameDuration*/ ctx[2])}%`);
			}

			if (dirty & /*miniGameDescription*/ 2) set_data(t10, /*miniGameDescription*/ ctx[1]);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div9);
			destroy_each(each_blocks, detaching);
			mounted = false;
			dispose();
		}
	};
}

function key_reaction_index_svelte_instance($$self, $$props, $$invalidate) {
	let { miniGameTitle = '' } = $$props;
	let { miniGameDescription = '' } = $$props;
	let { miniGameFailed = 0 } = $$props;
	let { miniGameKeysCount = -1 } = $$props;
	let { miniGameDuration = 0 } = $$props;
	let { miniGameCountFailLimit = 3 } = $$props;
	let randomizedMiniGameKeys = [];
	let currentKeyIndex = 0;
	let timeLeft = 110;
	let timerIntervalId = null;

	randomizedMiniGameKeys = new Array(miniGameKeysCount).fill(null).map(() => ({
		code: _randomHelper(65, 90, [86]),
		pressed: false
	}));

	if (!(0,lodash.isEmpty)(randomizedMiniGameKeys)) {
		timeLeft = miniGameDuration;
		currentKeyIndex = randomizedMiniGameKeys.findIndex(key => !key.pressed);

		timerIntervalId = setInterval(
			() => {
				if (timeLeft === 0) {
					clearInterval(timerIntervalId);
					timerIntervalId = null;
					$$invalidate(7, miniGameFailed = miniGameCountFailLimit);
					sendClientMessage('miniGame.keyReaction.finish', 0);
					return;
				}

				$$invalidate(5, timeLeft -= 1);
			},
			1000
		);
	}

	const handleKeyUp = event => {
		if ((0,lodash.isEmpty)(randomizedMiniGameKeys)) {
			return;
		}

		if (currentKeyIndex >= randomizedMiniGameKeys.length) {
			return;
		}

		const firstUnpressedKey = randomizedMiniGameKeys[currentKeyIndex];
		const correctKeyPressed = event.keyCode === firstUnpressedKey.code;
		sendClientMessage('miniGame.DebugKeyID', event.keyCode, firstUnpressedKey.code, correctKeyPressed);

		if (event.keyCode === 32) {
			return;
		}

		if (correctKeyPressed) {
			$$invalidate(3, randomizedMiniGameKeys[currentKeyIndex].pressed = true, randomizedMiniGameKeys);
			$$invalidate(4, currentKeyIndex += 1);
		} else {
			$$invalidate(3, randomizedMiniGameKeys[currentKeyIndex].failed = true, randomizedMiniGameKeys);
			$$invalidate(7, miniGameFailed += 1);
		}

		if (currentKeyIndex === randomizedMiniGameKeys.length || miniGameFailed === miniGameCountFailLimit) {
			clearInterval(timerIntervalId);
			timerIntervalId = null;
			sendClientMessage('miniGame.keyReaction.finish', currentKeyIndex);
		}
	};

	onDestroy(() => {
		if (timerIntervalId) {
			clearInterval(timerIntervalId);
		}
	});

	$$self.$$set = $$props => {
		if ('miniGameTitle' in $$props) $$invalidate(0, miniGameTitle = $$props.miniGameTitle);
		if ('miniGameDescription' in $$props) $$invalidate(1, miniGameDescription = $$props.miniGameDescription);
		if ('miniGameFailed' in $$props) $$invalidate(7, miniGameFailed = $$props.miniGameFailed);
		if ('miniGameKeysCount' in $$props) $$invalidate(8, miniGameKeysCount = $$props.miniGameKeysCount);
		if ('miniGameDuration' in $$props) $$invalidate(2, miniGameDuration = $$props.miniGameDuration);
		if ('miniGameCountFailLimit' in $$props) $$invalidate(9, miniGameCountFailLimit = $$props.miniGameCountFailLimit);
	};

	return [
		miniGameTitle,
		miniGameDescription,
		miniGameDuration,
		randomizedMiniGameKeys,
		currentKeyIndex,
		timeLeft,
		handleKeyUp,
		miniGameFailed,
		miniGameKeysCount,
		miniGameCountFailLimit
	];
}

class Key_reaction extends SvelteComponent {
	constructor(options) {
		super();

		init(
			this,
			options,
			key_reaction_index_svelte_instance,
			key_reaction_index_svelte_create_fragment,
			safe_not_equal,
			{
				miniGameTitle: 0,
				miniGameDescription: 1,
				miniGameFailed: 7,
				miniGameKeysCount: 8,
				miniGameDuration: 2,
				miniGameCountFailLimit: 9
			},
			key_reaction_index_svelte_add_css
		);
	}
}

/* harmony default export */ const key_reaction_index_svelte = (Key_reaction);
;// CONCATENATED MODULE: ./src/modals/giveaway-panel/img/giveaway-panel-background.png
const giveaway_panel_background_namespaceObject = __webpack_require__.p + "assets/e76e32fd930898aa175d.webp";
;// CONCATENATED MODULE: ./src/modals/giveaway-panel/img/giveaway-panel-winner-effects.png
const giveaway_panel_winner_effects_namespaceObject = __webpack_require__.p + "assets/ef81f7f54187881c2391.webp";
;// CONCATENATED MODULE: ./src/modals/giveaway-panel/img/giveaway-panel-vip.png
const giveaway_panel_vip_namespaceObject = __webpack_require__.p + "assets/cda43e32712424dc2012.webp";
;// CONCATENATED MODULE: ./src/modals/giveaway-panel/img/giveaway-panel-line.svg
const giveaway_panel_line_namespaceObject = __webpack_require__.p + "assets/d43dff14ca43b082c317.svg";
;// CONCATENATED MODULE: ./src/modals/giveaway-panel/img/giveaway-panel-gift.svg
const giveaway_panel_gift_namespaceObject = __webpack_require__.p + "assets/3b12bda1d81a1eb6d424.svg";
;// CONCATENATED MODULE: ./src/modals/giveaway-panel/img/giveaway-panel-x-icon.svg
const giveaway_panel_x_icon_namespaceObject = __webpack_require__.p + "assets/77fd08a5a3ac77fc2e78.svg";
;// CONCATENATED MODULE: ./src/modals/giveaway-panel/img/giveaway-panel-user.svg
const giveaway_panel_user_namespaceObject = __webpack_require__.p + "assets/f213319161b8c16b835f.svg";
;// CONCATENATED MODULE: ./src/modals/giveaway-panel/img/giveaway-panel-skin-none.png
const giveaway_panel_skin_none_namespaceObject = __webpack_require__.p + "assets/b8cb11f134b030cef5dc.webp";
;// CONCATENATED MODULE: ./src/modals/giveaway-panel/img/giveaway-panel-button-1.png
const giveaway_panel_button_1_namespaceObject = __webpack_require__.p + "assets/2f6710f3f38694385044.webp";
;// CONCATENATED MODULE: ./src/modals/giveaway-panel/img/giveaway-panel-button-2.png
const giveaway_panel_button_2_namespaceObject = __webpack_require__.p + "assets/acf69499ce2977adb995.webp";
;// CONCATENATED MODULE: ./src/modals/giveaway-panel/circle-progress-bar/index.svelte
/* src\modals\giveaway-panel\circle-progress-bar\index.svelte generated by Svelte v3.49.0 */






function circle_progress_bar_index_svelte_add_css(target) {
	append_styles(target, "svelte-1v570qt", "@keyframes svelte-1v570qt-blinking{50%{opacity:0}}@keyframes svelte-1v570qt-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1v570qt-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1v570qt-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1v570qt-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1v570qt-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1v570qt-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1v570qt-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1v570qt-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1v570qt-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1v570qt-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1v570qt-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1v570qt-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1v570qt-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1v570qt-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.giveaway-panel-circle-counter.svelte-1v570qt{position:relative;width:fit-content;display:flex;align-items:center}.giveaway-panel-circle-counter__inner-container.svelte-1v570qt{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:50%;width:calc(0.0182291667 * 100vw + 0px);height:calc(0.0182291667 * 100vw + 0px);margin-right:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel-circle-counter__inner-container.svelte-1v570qt{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel-circle-counter__inner-container.svelte-1v570qt{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel-circle-counter__inner-container.svelte-1v570qt{width:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel-circle-counter__inner-container.svelte-1v570qt{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel-circle-counter__inner-container.svelte-1v570qt{width:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel-circle-counter__inner-container.svelte-1v570qt{width:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel-circle-counter__inner-container.svelte-1v570qt{width:calc(0.0200520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel-circle-counter__inner-container.svelte-1v570qt{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel-circle-counter__inner-container.svelte-1v570qt{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel-circle-counter__inner-container.svelte-1v570qt{height:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel-circle-counter__inner-container.svelte-1v570qt{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel-circle-counter__inner-container.svelte-1v570qt{height:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel-circle-counter__inner-container.svelte-1v570qt{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel-circle-counter__inner-container.svelte-1v570qt{height:calc(0.0200520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel-circle-counter__inner-container.svelte-1v570qt{margin-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel-circle-counter__inner-container.svelte-1v570qt{margin-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel-circle-counter__inner-container.svelte-1v570qt{margin-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel-circle-counter__inner-container.svelte-1v570qt{margin-right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel-circle-counter__inner-container.svelte-1v570qt{margin-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel-circle-counter__inner-container.svelte-1v570qt{margin-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel-circle-counter__inner-container.svelte-1v570qt{margin-right:calc(0.0057291667 * 100vw + 0px)}}.giveaway-panel-circle-counter__lines.svelte-1v570qt{position:absolute;top:0;left:0;width:100%;height:100%}.giveaway-panel-circle-counter__svg-zone.svelte-1v570qt{transform:rotate(-90deg);width:100%;height:100%}.giveaway-panel-circle-counter__total.svelte-1v570qt{fill:none;stroke:rgba(255, 255, 255, 0.1);stroke-dasharray:var(--dasharray);stroke-width:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel-circle-counter__total.svelte-1v570qt{stroke-width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel-circle-counter__total.svelte-1v570qt{stroke-width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel-circle-counter__total.svelte-1v570qt{stroke-width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel-circle-counter__total.svelte-1v570qt{stroke-width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel-circle-counter__total.svelte-1v570qt{stroke-width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel-circle-counter__total.svelte-1v570qt{stroke-width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel-circle-counter__total.svelte-1v570qt{stroke-width:calc(0.0022916667 * 100vw + 0px)}}.giveaway-panel-circle-counter__current.svelte-1v570qt{fill:none;stroke:#FCA526;stroke-dasharray:var(--dasharray);stroke-dashoffset:var(--dashoffset);transition-property:stroke-dashoffset;stroke-width:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel-circle-counter__current.svelte-1v570qt{stroke-width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel-circle-counter__current.svelte-1v570qt{stroke-width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel-circle-counter__current.svelte-1v570qt{stroke-width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel-circle-counter__current.svelte-1v570qt{stroke-width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel-circle-counter__current.svelte-1v570qt{stroke-width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel-circle-counter__current.svelte-1v570qt{stroke-width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel-circle-counter__current.svelte-1v570qt{stroke-width:calc(0.0022916667 * 100vw + 0px)}}.giveaway-panel-circle-counter__stats-progress-count.svelte-1v570qt{display:flex;align-items:end}.giveaway-panel-circle-counter__stats-progress-count--centered.svelte-1v570qt{position:absolute;left:50%;transform:translateX(-60%)}.giveaway-panel-circle-counter__stats-current.svelte-1v570qt{font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.009375 * 100vw + 0px);margin-right:calc(0.0036458333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel-circle-counter__stats-current.svelte-1v570qt{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel-circle-counter__stats-current.svelte-1v570qt{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel-circle-counter__stats-current.svelte-1v570qt{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel-circle-counter__stats-current.svelte-1v570qt{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel-circle-counter__stats-current.svelte-1v570qt{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel-circle-counter__stats-current.svelte-1v570qt{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel-circle-counter__stats-current.svelte-1v570qt{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel-circle-counter__stats-current.svelte-1v570qt{margin-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel-circle-counter__stats-current.svelte-1v570qt{margin-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel-circle-counter__stats-current.svelte-1v570qt{margin-right:calc(0.0028072917 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel-circle-counter__stats-current.svelte-1v570qt{margin-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel-circle-counter__stats-current.svelte-1v570qt{margin-right:calc(0.0025520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel-circle-counter__stats-current.svelte-1v570qt{margin-right:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel-circle-counter__stats-current.svelte-1v570qt{margin-right:calc(0.0040104167 * 100vw + 0px)}}");
}

function giveaway_panel_circle_progress_bar_index_svelte_create_fragment(ctx) {
	let div4;
	let div1;
	let div0;
	let svg;
	let circle0;
	let circle1;
	let t0;
	let div3;
	let div2;
	let t1;

	return {
		c() {
			div4 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");
			svg = svg_element("svg");
			circle0 = svg_element("circle");
			circle1 = svg_element("circle");
			t0 = space();
			div3 = internal_element("div");
			div2 = internal_element("div");
			t1 = internal_text(/*current*/ ctx[0]);
			attr(circle0, "class", "giveaway-panel-circle-counter__total svelte-1v570qt");
			attr(circle0, "cx", /*center*/ ctx[6]);
			attr(circle0, "cy", /*center*/ ctx[6]);
			attr(circle0, "r", /*radius*/ ctx[3]);
			attr(circle1, "class", "giveaway-panel-circle-counter__current svelte-1v570qt");
			attr(circle1, "cx", /*center*/ ctx[6]);
			attr(circle1, "cy", /*center*/ ctx[6]);
			attr(circle1, "r", /*radius*/ ctx[3]);
			attr(svg, "class", "giveaway-panel-circle-counter__svg-zone svelte-1v570qt");
			set_style(svg, "--dashoffset", /*progressOffset*/ ctx[7]);
			set_style(svg, "--dasharray", /*circumference*/ ctx[4]);
			attr(div0, "class", "giveaway-panel-circle-counter__lines svelte-1v570qt");
			attr(div1, "class", "giveaway-panel-circle-counter__inner-container svelte-1v570qt");
			attr(div2, "class", "giveaway-panel-circle-counter__stats-current svelte-1v570qt");
			attr(div3, "class", "giveaway-panel-circle-counter__stats-progress-count svelte-1v570qt");
			toggle_class(div3, "giveaway-panel-circle-counter__stats-progress-count--centered", /*centerStyle*/ ctx[1]);
			attr(div4, "class", "giveaway-panel-circle-counter svelte-1v570qt");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div1);
			append(div1, div0);
			append(div0, svg);
			append(svg, circle0);
			append(svg, circle1);
			/*circle1_binding*/ ctx[12](circle1);
			/*div0_binding*/ ctx[13](div0);
			append(div4, t0);
			append(div4, div3);
			append(div3, div2);
			append(div2, t1);
		},
		p(ctx, [dirty]) {
			if (dirty & /*center*/ 64) {
				attr(circle0, "cx", /*center*/ ctx[6]);
			}

			if (dirty & /*center*/ 64) {
				attr(circle0, "cy", /*center*/ ctx[6]);
			}

			if (dirty & /*radius*/ 8) {
				attr(circle0, "r", /*radius*/ ctx[3]);
			}

			if (dirty & /*center*/ 64) {
				attr(circle1, "cx", /*center*/ ctx[6]);
			}

			if (dirty & /*center*/ 64) {
				attr(circle1, "cy", /*center*/ ctx[6]);
			}

			if (dirty & /*radius*/ 8) {
				attr(circle1, "r", /*radius*/ ctx[3]);
			}

			if (dirty & /*progressOffset*/ 128) {
				set_style(svg, "--dashoffset", /*progressOffset*/ ctx[7]);
			}

			if (dirty & /*circumference*/ 16) {
				set_style(svg, "--dasharray", /*circumference*/ ctx[4]);
			}

			if (dirty & /*current*/ 1) set_data(t1, /*current*/ ctx[0]);

			if (dirty & /*centerStyle*/ 2) {
				toggle_class(div3, "giveaway-panel-circle-counter__stats-progress-count--centered", /*centerStyle*/ ctx[1]);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div4);
			/*circle1_binding*/ ctx[12](null);
			/*div0_binding*/ ctx[13](null);
		}
	};
}

function giveaway_panel_circle_progress_bar_index_svelte_instance($$self, $$props, $$invalidate) {
	let { percents = 0 } = $$props;
	let { current = 0 } = $$props;
	let { total = 0 } = $$props;
	let { centerStyle = false } = $$props;
	let svgContainerRef = null;
	let circleRef = null;
	let width = 0;
	let radius = 0;
	let center = 0;
	let strokeWidth = 0;
	let circumference = 0;
	let progressOffset = 0;
	percents = countPercents(current, total);

	const calculateCircleWidthAndStrokeWidth = () => {
		$$invalidate(10, width = svgContainerRef.getBoundingClientRect().width);
		$$invalidate(11, strokeWidth = window.getComputedStyle(circleRef).strokeWidth);
	};

	window.addEventListener('resize', calculateCircleWidthAndStrokeWidth);

	onDestroy(() => {
		window.removeEventListener('resize', calculateCircleWidthAndStrokeWidth);
	});

	function circle1_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			circleRef = $$value;
			$$invalidate(5, circleRef);
		});
	}

	function div0_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			svgContainerRef = $$value;
			$$invalidate(2, svgContainerRef);
		});
	}

	$$self.$$set = $$props => {
		if ('percents' in $$props) $$invalidate(8, percents = $$props.percents);
		if ('current' in $$props) $$invalidate(0, current = $$props.current);
		if ('total' in $$props) $$invalidate(9, total = $$props.total);
		if ('centerStyle' in $$props) $$invalidate(1, centerStyle = $$props.centerStyle);
	};

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*svgContainerRef*/ 4) {
			$: {
				if (!(0,lodash.isNil)(svgContainerRef)) {
					calculateCircleWidthAndStrokeWidth();
				}
			}
		}

		if ($$self.$$.dirty & /*current, total, width, strokeWidth, radius, percents, circumference*/ 3865) {
			$: {
				$$invalidate(8, percents = countPercents(current, total));
				$$invalidate(3, radius = width / 2 - parseInt(strokeWidth, 10) / 2);
				$$invalidate(6, center = width / 2);
				$$invalidate(4, circumference = 2 * Math.PI * radius);
				$$invalidate(7, progressOffset = Math.ceil((100 + percents) / 100 * circumference));
			}
		}
	};

	return [
		current,
		centerStyle,
		svgContainerRef,
		radius,
		circumference,
		circleRef,
		center,
		progressOffset,
		percents,
		total,
		width,
		strokeWidth,
		circle1_binding,
		div0_binding
	];
}

class index_svelte_Circle_progress_bar extends SvelteComponent {
	constructor(options) {
		super();

		init(
			this,
			options,
			giveaway_panel_circle_progress_bar_index_svelte_instance,
			giveaway_panel_circle_progress_bar_index_svelte_create_fragment,
			safe_not_equal,
			{
				percents: 8,
				current: 0,
				total: 9,
				centerStyle: 1
			},
			circle_progress_bar_index_svelte_add_css
		);
	}
}

/* harmony default export */ const giveaway_panel_circle_progress_bar_index_svelte = (index_svelte_Circle_progress_bar);
;// CONCATENATED MODULE: ./src/modals/giveaway-panel/index.svelte
/* src\modals\giveaway-panel\index.svelte generated by Svelte v3.49.0 */



















function giveaway_panel_index_svelte_add_css(target) {
	append_styles(target, "svelte-c0982k", "@keyframes svelte-c0982k-blinking{50%{opacity:0}}@keyframes svelte-c0982k-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-c0982k-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-c0982k-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-c0982k-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-c0982k-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-c0982k-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-c0982k-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-c0982k-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-c0982k-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-c0982k-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-c0982k-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-c0982k-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-c0982k-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-c0982k-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.giveaway-panel.svelte-c0982k{display:flex;align-items:center;justify-content:center;width:100vw;height:100vh}.giveaway-panel__body.svelte-c0982k{position:relative;border:1px solid rgba(255, 255, 255, 0.2);background-color:rgba(19, 21, 22, 0.95);overflow:hidden;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.6166666667 * 100vw + 0px);height:calc(0.346875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body.svelte-c0982k{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body.svelte-c0982k{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body.svelte-c0982k{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body.svelte-c0982k{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body.svelte-c0982k{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body.svelte-c0982k{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body.svelte-c0982k{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body.svelte-c0982k{width:calc(0.6166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body.svelte-c0982k{width:calc(0.6166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body.svelte-c0982k{width:calc(0.4748333333 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body.svelte-c0982k{width:calc(0.6783333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body.svelte-c0982k{width:calc(0.4316666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body.svelte-c0982k{width:calc(0.555 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body.svelte-c0982k{width:calc(0.6783333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body.svelte-c0982k{height:calc(0.346875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body.svelte-c0982k{height:calc(0.346875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body.svelte-c0982k{height:calc(0.26709375 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body.svelte-c0982k{height:calc(0.3815625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body.svelte-c0982k{height:calc(0.2428125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body.svelte-c0982k{height:calc(0.3121875 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body.svelte-c0982k{height:calc(0.3815625 * 100vw + 0px)}}.giveaway-panel__body-background-wrapper.svelte-c0982k{display:flex;position:relative;width:100%}.giveaway-panel__body-background.svelte-c0982k{position:absolute;right:0;opacity:100%;height:calc(0.3505208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-background.svelte-c0982k{height:calc(0.3505208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-background.svelte-c0982k{height:calc(0.3505208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-background.svelte-c0982k{height:calc(0.2699010417 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-background.svelte-c0982k{height:calc(0.3855729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-background.svelte-c0982k{height:calc(0.2453645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-background.svelte-c0982k{height:calc(0.31546875 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-background.svelte-c0982k{height:calc(0.3855729167 * 100vw + 0px)}}.giveaway-panel__body-close-button.svelte-c0982k{position:absolute;display:flex;align-items:center;justify-content:center;background-color:rgba(255, 255, 255, 0.1);cursor:pointer;transition:border 0.2s linear;border:2px solid transparent;border-radius:calc(0.003125 * 100vw + 0px);top:calc(0.0161458333 * 100vw + 0px);right:calc(0.015625 * 100vw + 0px);width:calc(0.0364583333 * 100vw + 0px);height:calc(0.0197916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-close-button.svelte-c0982k{border-radius:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-close-button.svelte-c0982k{border-radius:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-close-button.svelte-c0982k{border-radius:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-close-button.svelte-c0982k{border-radius:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-close-button.svelte-c0982k{border-radius:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-close-button.svelte-c0982k{border-radius:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-close-button.svelte-c0982k{border-radius:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-close-button.svelte-c0982k{top:calc(0.0161458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-close-button.svelte-c0982k{top:calc(0.0161458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-close-button.svelte-c0982k{top:calc(0.0124322917 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-close-button.svelte-c0982k{top:calc(0.0177604167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-close-button.svelte-c0982k{top:calc(0.0113020833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-close-button.svelte-c0982k{top:calc(0.01453125 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-close-button.svelte-c0982k{top:calc(0.0177604167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-close-button.svelte-c0982k{right:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-close-button.svelte-c0982k{right:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-close-button.svelte-c0982k{right:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-close-button.svelte-c0982k{right:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-close-button.svelte-c0982k{right:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-close-button.svelte-c0982k{right:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-close-button.svelte-c0982k{right:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-close-button.svelte-c0982k{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-close-button.svelte-c0982k{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-close-button.svelte-c0982k{width:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-close-button.svelte-c0982k{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-close-button.svelte-c0982k{width:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-close-button.svelte-c0982k{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-close-button.svelte-c0982k{width:calc(0.0401041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-close-button.svelte-c0982k{height:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-close-button.svelte-c0982k{height:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-close-button.svelte-c0982k{height:calc(0.0152395833 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-close-button.svelte-c0982k{height:calc(0.0217708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-close-button.svelte-c0982k{height:calc(0.0138541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-close-button.svelte-c0982k{height:calc(0.0178125 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-close-button.svelte-c0982k{height:calc(0.0217708333 * 100vw + 0px)}}.giveaway-panel__body-close-button.svelte-c0982k:hover{border:2px solid #FFFFFF}.giveaway-panel__body-winner-wrapper.svelte-c0982k{position:absolute;align-items:center;justify-content:center;top:calc(0.1932291667 * 100vw + 0px);left:calc(0.4114583333 * 100vw + 0px);width:calc(0.1171875 * 100vw + 0px);gap:calc(0.0171875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-winner-wrapper.svelte-c0982k{top:calc(0.1932291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-winner-wrapper.svelte-c0982k{top:calc(0.1932291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-winner-wrapper.svelte-c0982k{top:calc(0.1487864583 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-winner-wrapper.svelte-c0982k{top:calc(0.2125520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-winner-wrapper.svelte-c0982k{top:calc(0.1352604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-winner-wrapper.svelte-c0982k{top:calc(0.17390625 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-winner-wrapper.svelte-c0982k{top:calc(0.2125520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-winner-wrapper.svelte-c0982k{left:calc(0.4114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-winner-wrapper.svelte-c0982k{left:calc(0.4114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-winner-wrapper.svelte-c0982k{left:calc(0.3168229167 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-winner-wrapper.svelte-c0982k{left:calc(0.4526041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-winner-wrapper.svelte-c0982k{left:calc(0.2880208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-winner-wrapper.svelte-c0982k{left:calc(0.3703125 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-winner-wrapper.svelte-c0982k{left:calc(0.4526041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-winner-wrapper.svelte-c0982k{width:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-winner-wrapper.svelte-c0982k{width:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-winner-wrapper.svelte-c0982k{width:calc(0.090234375 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-winner-wrapper.svelte-c0982k{width:calc(0.12890625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-winner-wrapper.svelte-c0982k{width:calc(0.08203125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-winner-wrapper.svelte-c0982k{width:calc(0.10546875 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-winner-wrapper.svelte-c0982k{width:calc(0.12890625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-winner-wrapper.svelte-c0982k{gap:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-winner-wrapper.svelte-c0982k{gap:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-winner-wrapper.svelte-c0982k{gap:calc(0.013234375 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-winner-wrapper.svelte-c0982k{gap:calc(0.01890625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-winner-wrapper.svelte-c0982k{gap:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-winner-wrapper.svelte-c0982k{gap:calc(0.01546875 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-winner-wrapper.svelte-c0982k{gap:calc(0.01890625 * 100vw + 0px)}}.giveaway-panel__counter-wrapper.svelte-c0982k{width:calc(0.0182291667 * 100vw + 0px);height:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__counter-wrapper.svelte-c0982k{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__counter-wrapper.svelte-c0982k{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__counter-wrapper.svelte-c0982k{width:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__counter-wrapper.svelte-c0982k{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__counter-wrapper.svelte-c0982k{width:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__counter-wrapper.svelte-c0982k{width:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__counter-wrapper.svelte-c0982k{width:calc(0.0200520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__counter-wrapper.svelte-c0982k{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__counter-wrapper.svelte-c0982k{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__counter-wrapper.svelte-c0982k{height:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__counter-wrapper.svelte-c0982k{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__counter-wrapper.svelte-c0982k{height:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__counter-wrapper.svelte-c0982k{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__counter-wrapper.svelte-c0982k{height:calc(0.0200520833 * 100vw + 0px)}}.giveaway-panel__body-winner.svelte-c0982k{display:flex;align-items:center;justify-content:center;background-color:#210000;background-image:radial-gradient(94.8% 94.8% at 50% 50%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);transition:rgba(255, 255, 255, 0.15) 0.2s linear, border 0.2s linear;border:2px solid;gap:calc(0.0072916667 * 100vw + 0px);border-radius:calc(0.0078125 * 100vw + 0px);width:calc(0.1171875 * 100vw + 0px);height:calc(0.0390625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-winner.svelte-c0982k{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-winner.svelte-c0982k{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-winner.svelte-c0982k{gap:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-winner.svelte-c0982k{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-winner.svelte-c0982k{gap:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-winner.svelte-c0982k{gap:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-winner.svelte-c0982k{gap:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-winner.svelte-c0982k{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-winner.svelte-c0982k{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-winner.svelte-c0982k{border-radius:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-winner.svelte-c0982k{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-winner.svelte-c0982k{border-radius:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-winner.svelte-c0982k{border-radius:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-winner.svelte-c0982k{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-winner.svelte-c0982k{width:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-winner.svelte-c0982k{width:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-winner.svelte-c0982k{width:calc(0.090234375 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-winner.svelte-c0982k{width:calc(0.12890625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-winner.svelte-c0982k{width:calc(0.08203125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-winner.svelte-c0982k{width:calc(0.10546875 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-winner.svelte-c0982k{width:calc(0.12890625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-winner.svelte-c0982k{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-winner.svelte-c0982k{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-winner.svelte-c0982k{height:calc(0.030078125 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-winner.svelte-c0982k{height:calc(0.04296875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-winner.svelte-c0982k{height:calc(0.02734375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-winner.svelte-c0982k{height:calc(0.03515625 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-winner.svelte-c0982k{height:calc(0.04296875 * 100vw + 0px)}}.giveaway-panel__body-winner-active.svelte-c0982k{display:flex;align-items:center;justify-content:center;width:calc(0.1171875 * 100vw + 0px);height:calc(0.0390625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-winner-active.svelte-c0982k{width:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-winner-active.svelte-c0982k{width:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-winner-active.svelte-c0982k{width:calc(0.090234375 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-winner-active.svelte-c0982k{width:calc(0.12890625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-winner-active.svelte-c0982k{width:calc(0.08203125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-winner-active.svelte-c0982k{width:calc(0.10546875 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-winner-active.svelte-c0982k{width:calc(0.12890625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-winner-active.svelte-c0982k{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-winner-active.svelte-c0982k{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-winner-active.svelte-c0982k{height:calc(0.030078125 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-winner-active.svelte-c0982k{height:calc(0.04296875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-winner-active.svelte-c0982k{height:calc(0.02734375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-winner-active.svelte-c0982k{height:calc(0.03515625 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-winner-active.svelte-c0982k{height:calc(0.04296875 * 100vw + 0px)}}.giveaway-panel__body-winner-img.svelte-c0982k{height:calc(0.0104166667 * 100vw + 0px);width:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-winner-img.svelte-c0982k{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-winner-img.svelte-c0982k{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-winner-img.svelte-c0982k{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-winner-img.svelte-c0982k{height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-winner-img.svelte-c0982k{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-winner-img.svelte-c0982k{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-winner-img.svelte-c0982k{height:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-winner-img.svelte-c0982k{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-winner-img.svelte-c0982k{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-winner-img.svelte-c0982k{width:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-winner-img.svelte-c0982k{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-winner-img.svelte-c0982k{width:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-winner-img.svelte-c0982k{width:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-winner-img.svelte-c0982k{width:calc(0.0200520833 * 100vw + 0px)}}.giveaway-panel__body-winner-skin-img.svelte-c0982k{position:absolute;display:flex;height:calc(0.3088541667 * 100vw + 0px);width:calc(0.3088541667 * 100vw + 0px);right:calc(0 * 100vw + 0px);bottom:calc(0 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-winner-skin-img.svelte-c0982k{height:calc(0.3088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-winner-skin-img.svelte-c0982k{height:calc(0.3088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-winner-skin-img.svelte-c0982k{height:calc(0.2378177083 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-winner-skin-img.svelte-c0982k{height:calc(0.3397395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-winner-skin-img.svelte-c0982k{height:calc(0.2161979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-winner-skin-img.svelte-c0982k{height:calc(0.27796875 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-winner-skin-img.svelte-c0982k{height:calc(0.3397395833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-winner-skin-img.svelte-c0982k{width:calc(0.3088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-winner-skin-img.svelte-c0982k{width:calc(0.3088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-winner-skin-img.svelte-c0982k{width:calc(0.2378177083 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-winner-skin-img.svelte-c0982k{width:calc(0.3397395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-winner-skin-img.svelte-c0982k{width:calc(0.2161979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-winner-skin-img.svelte-c0982k{width:calc(0.27796875 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-winner-skin-img.svelte-c0982k{width:calc(0.3397395833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-winner-skin-img.svelte-c0982k{right:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-winner-skin-img.svelte-c0982k{right:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-winner-skin-img.svelte-c0982k{right:calc(0 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-winner-skin-img.svelte-c0982k{right:calc(0 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-winner-skin-img.svelte-c0982k{right:calc(0 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-winner-skin-img.svelte-c0982k{right:calc(0 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-winner-skin-img.svelte-c0982k{right:calc(0 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-winner-skin-img.svelte-c0982k{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-winner-skin-img.svelte-c0982k{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-winner-skin-img.svelte-c0982k{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-winner-skin-img.svelte-c0982k{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-winner-skin-img.svelte-c0982k{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-winner-skin-img.svelte-c0982k{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-winner-skin-img.svelte-c0982k{bottom:calc(0 * 100vw + 0px)}}.giveaway-panel__body-winner-nickname.svelte-c0982k{display:flex;align-items:center;justify-content:center;background-image:url(\"./img/giveaway-panel-button-1.png\");background-size:cover;background-repeat:no-repeat;background-position:center;cursor:pointer;border:2px solid transparent;gap:calc(0.0072916667 * 100vw + 0px);border-radius:calc(0.0083333333 * 100vw + 0px);height:calc(0.0390625 * 100vw + 0px);width:calc(0.1171875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-winner-nickname.svelte-c0982k{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-winner-nickname.svelte-c0982k{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-winner-nickname.svelte-c0982k{gap:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-winner-nickname.svelte-c0982k{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-winner-nickname.svelte-c0982k{gap:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-winner-nickname.svelte-c0982k{gap:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-winner-nickname.svelte-c0982k{gap:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-winner-nickname.svelte-c0982k{border-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-winner-nickname.svelte-c0982k{border-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-winner-nickname.svelte-c0982k{border-radius:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-winner-nickname.svelte-c0982k{border-radius:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-winner-nickname.svelte-c0982k{border-radius:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-winner-nickname.svelte-c0982k{border-radius:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-winner-nickname.svelte-c0982k{border-radius:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-winner-nickname.svelte-c0982k{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-winner-nickname.svelte-c0982k{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-winner-nickname.svelte-c0982k{height:calc(0.030078125 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-winner-nickname.svelte-c0982k{height:calc(0.04296875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-winner-nickname.svelte-c0982k{height:calc(0.02734375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-winner-nickname.svelte-c0982k{height:calc(0.03515625 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-winner-nickname.svelte-c0982k{height:calc(0.04296875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-winner-nickname.svelte-c0982k{width:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-winner-nickname.svelte-c0982k{width:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-winner-nickname.svelte-c0982k{width:calc(0.090234375 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-winner-nickname.svelte-c0982k{width:calc(0.12890625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-winner-nickname.svelte-c0982k{width:calc(0.08203125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-winner-nickname.svelte-c0982k{width:calc(0.10546875 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-winner-nickname.svelte-c0982k{width:calc(0.12890625 * 100vw + 0px)}}.giveaway-panel__body-winner-nickname-img.svelte-c0982k{height:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-winner-nickname-img.svelte-c0982k{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-winner-nickname-img.svelte-c0982k{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-winner-nickname-img.svelte-c0982k{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-winner-nickname-img.svelte-c0982k{height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-winner-nickname-img.svelte-c0982k{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-winner-nickname-img.svelte-c0982k{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-winner-nickname-img.svelte-c0982k{height:calc(0.0114583333 * 100vw + 0px)}}.giveaway-panel__body-winner-nickname-title.svelte-c0982k{font-family:\"GothamPro\";font-weight:700;color:#210101;line-height:calc(0.0104166667 * 100vw + 0px);font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-winner-nickname-title.svelte-c0982k{line-height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-winner-nickname-title.svelte-c0982k{line-height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-winner-nickname-title.svelte-c0982k{line-height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-winner-nickname-title.svelte-c0982k{line-height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-winner-nickname-title.svelte-c0982k{line-height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-winner-nickname-title.svelte-c0982k{line-height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-winner-nickname-title.svelte-c0982k{line-height:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-winner-nickname-title.svelte-c0982k{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-winner-nickname-title.svelte-c0982k{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-winner-nickname-title.svelte-c0982k{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-winner-nickname-title.svelte-c0982k{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-winner-nickname-title.svelte-c0982k{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-winner-nickname-title.svelte-c0982k{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-winner-nickname-title.svelte-c0982k{font-size:calc(0.0103125 * 100vw + 0px)}}.giveaway-panel__body-winner-server.svelte-c0982k{display:flex;align-items:center;justify-content:center;background-color:rgba(33, 0, 0, 0.1);transition:rgba(255, 255, 255, 0.15) 0.2s linear, border 0.2s linear;background-size:cover;background-repeat:no-repeat;background-position:center;cursor:pointer;gap:calc(0.0052083333 * 100vw + 0px);margin-top:calc(0 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px);width:calc(0.09375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-winner-server.svelte-c0982k{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-winner-server.svelte-c0982k{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-winner-server.svelte-c0982k{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-winner-server.svelte-c0982k{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-winner-server.svelte-c0982k{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-winner-server.svelte-c0982k{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-winner-server.svelte-c0982k{gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-winner-server.svelte-c0982k{margin-top:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-winner-server.svelte-c0982k{margin-top:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-winner-server.svelte-c0982k{margin-top:calc(0 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-winner-server.svelte-c0982k{margin-top:calc(0 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-winner-server.svelte-c0982k{margin-top:calc(0 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-winner-server.svelte-c0982k{margin-top:calc(0 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-winner-server.svelte-c0982k{margin-top:calc(0 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-winner-server.svelte-c0982k{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-winner-server.svelte-c0982k{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-winner-server.svelte-c0982k{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-winner-server.svelte-c0982k{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-winner-server.svelte-c0982k{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-winner-server.svelte-c0982k{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-winner-server.svelte-c0982k{height:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-winner-server.svelte-c0982k{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-winner-server.svelte-c0982k{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-winner-server.svelte-c0982k{width:calc(0.0721875 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-winner-server.svelte-c0982k{width:calc(0.103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-winner-server.svelte-c0982k{width:calc(0.065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-winner-server.svelte-c0982k{width:calc(0.084375 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-winner-server.svelte-c0982k{width:calc(0.103125 * 100vw + 0px)}}.giveaway-panel__body-winner-server-img.svelte-c0982k{color:#FFFFFF;height:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-winner-server-img.svelte-c0982k{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-winner-server-img.svelte-c0982k{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-winner-server-img.svelte-c0982k{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-winner-server-img.svelte-c0982k{height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-winner-server-img.svelte-c0982k{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-winner-server-img.svelte-c0982k{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-winner-server-img.svelte-c0982k{height:calc(0.0114583333 * 100vw + 0px)}}.giveaway-panel__body-winner-server-title.svelte-c0982k{font-family:\"GothamPro\";font-weight:500;color:#FFFFFF;line-height:calc(0.0104166667 * 100vw + 0px);font-size:calc(0.009375 * 100vw + 0px);top:calc(0 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-winner-server-title.svelte-c0982k{line-height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-winner-server-title.svelte-c0982k{line-height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-winner-server-title.svelte-c0982k{line-height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-winner-server-title.svelte-c0982k{line-height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-winner-server-title.svelte-c0982k{line-height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-winner-server-title.svelte-c0982k{line-height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-winner-server-title.svelte-c0982k{line-height:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-winner-server-title.svelte-c0982k{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-winner-server-title.svelte-c0982k{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-winner-server-title.svelte-c0982k{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-winner-server-title.svelte-c0982k{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-winner-server-title.svelte-c0982k{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-winner-server-title.svelte-c0982k{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-winner-server-title.svelte-c0982k{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-winner-server-title.svelte-c0982k{top:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-winner-server-title.svelte-c0982k{top:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-winner-server-title.svelte-c0982k{top:calc(0 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-winner-server-title.svelte-c0982k{top:calc(0 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-winner-server-title.svelte-c0982k{top:calc(0 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-winner-server-title.svelte-c0982k{top:calc(0 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-winner-server-title.svelte-c0982k{top:calc(0 * 100vw + 0px)}}.giveaway-panel__body-winner-text.svelte-c0982k{color:#FFFFFF;font-family:\"GothamPro\";width:calc(0.0572916667 * 100vw + 0px);font-size:calc(0.009375 * 100vw + 0px);line-height:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-winner-text.svelte-c0982k{width:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-winner-text.svelte-c0982k{width:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-winner-text.svelte-c0982k{width:calc(0.0441145833 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-winner-text.svelte-c0982k{width:calc(0.0630208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-winner-text.svelte-c0982k{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-winner-text.svelte-c0982k{width:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-winner-text.svelte-c0982k{width:calc(0.0630208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-winner-text.svelte-c0982k{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-winner-text.svelte-c0982k{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-winner-text.svelte-c0982k{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-winner-text.svelte-c0982k{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-winner-text.svelte-c0982k{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-winner-text.svelte-c0982k{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-winner-text.svelte-c0982k{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-winner-text.svelte-c0982k{line-height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-winner-text.svelte-c0982k{line-height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-winner-text.svelte-c0982k{line-height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-winner-text.svelte-c0982k{line-height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-winner-text.svelte-c0982k{line-height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-winner-text.svelte-c0982k{line-height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-winner-text.svelte-c0982k{line-height:calc(0.0114583333 * 100vw + 0px)}}.giveaway-panel__body-close-button-title.svelte-c0982k{font-family:\"GothamPro\";font-weight:500;color:#FFFFFF;line-height:calc(0.0114583333 * 100vw + 0px);font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-close-button-title.svelte-c0982k{line-height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-close-button-title.svelte-c0982k{line-height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-close-button-title.svelte-c0982k{line-height:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-close-button-title.svelte-c0982k{line-height:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-close-button-title.svelte-c0982k{line-height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-close-button-title.svelte-c0982k{line-height:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-close-button-title.svelte-c0982k{line-height:calc(0.0126041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-close-button-title.svelte-c0982k{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-close-button-title.svelte-c0982k{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-close-button-title.svelte-c0982k{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-close-button-title.svelte-c0982k{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-close-button-title.svelte-c0982k{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-close-button-title.svelte-c0982k{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-close-button-title.svelte-c0982k{font-size:calc(0.0103125 * 100vw + 0px)}}.giveaway-panel__body-info.svelte-c0982k{position:absolute;top:calc(0 * 100vw + 0px);left:calc(0.0317708333 * 100vw + 0px);margin-top:calc(0 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-info.svelte-c0982k{top:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-info.svelte-c0982k{top:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-info.svelte-c0982k{top:calc(0 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-info.svelte-c0982k{top:calc(0 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-info.svelte-c0982k{top:calc(0 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-info.svelte-c0982k{top:calc(0 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-info.svelte-c0982k{top:calc(0 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-info.svelte-c0982k{left:calc(0.0317708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-info.svelte-c0982k{left:calc(0.0317708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-info.svelte-c0982k{left:calc(0.0244635417 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-info.svelte-c0982k{left:calc(0.0349479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-info.svelte-c0982k{left:calc(0.0222395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-info.svelte-c0982k{left:calc(0.02859375 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-info.svelte-c0982k{left:calc(0.0349479167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-info.svelte-c0982k{margin-top:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-info.svelte-c0982k{margin-top:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-info.svelte-c0982k{margin-top:calc(0 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-info.svelte-c0982k{margin-top:calc(0 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-info.svelte-c0982k{margin-top:calc(0 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-info.svelte-c0982k{margin-top:calc(0 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-info.svelte-c0982k{margin-top:calc(0 * 100vw + 0px)}}.giveaway-panel__body-info-titles.svelte-c0982k{display:flex;gap:calc(0.0171875 * 100vw + 0px);margin-top:calc(0 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-info-titles.svelte-c0982k{gap:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-info-titles.svelte-c0982k{gap:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-info-titles.svelte-c0982k{gap:calc(0.013234375 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-info-titles.svelte-c0982k{gap:calc(0.01890625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-info-titles.svelte-c0982k{gap:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-info-titles.svelte-c0982k{gap:calc(0.01546875 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-info-titles.svelte-c0982k{gap:calc(0.01890625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-info-titles.svelte-c0982k{margin-top:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-info-titles.svelte-c0982k{margin-top:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-info-titles.svelte-c0982k{margin-top:calc(0 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-info-titles.svelte-c0982k{margin-top:calc(0 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-info-titles.svelte-c0982k{margin-top:calc(0 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-info-titles.svelte-c0982k{margin-top:calc(0 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-info-titles.svelte-c0982k{margin-top:calc(0 * 100vw + 0px)}}.giveaway-panel__body-info-title.svelte-c0982k{font-family:\"GothamPro\";font-weight:900;color:#FCA526;line-height:calc(0.0359375 * 100vw + 0px);font-size:calc(0.0239583333 * 100vw + 0px);width:calc(0.34375 * 100vw + 0px);margin-top:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-info-title.svelte-c0982k{line-height:calc(0.0359375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-info-title.svelte-c0982k{line-height:calc(0.0359375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-info-title.svelte-c0982k{line-height:calc(0.027671875 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-info-title.svelte-c0982k{line-height:calc(0.03953125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-info-title.svelte-c0982k{line-height:calc(0.02515625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-info-title.svelte-c0982k{line-height:calc(0.03234375 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-info-title.svelte-c0982k{line-height:calc(0.03953125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-info-title.svelte-c0982k{font-size:calc(0.0239583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-info-title.svelte-c0982k{font-size:calc(0.0239583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-info-title.svelte-c0982k{font-size:calc(0.0184479167 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-info-title.svelte-c0982k{font-size:calc(0.0263541667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-info-title.svelte-c0982k{font-size:calc(0.0167708333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-info-title.svelte-c0982k{font-size:calc(0.0215625 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-info-title.svelte-c0982k{font-size:calc(0.0263541667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-info-title.svelte-c0982k{width:calc(0.34375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-info-title.svelte-c0982k{width:calc(0.34375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-info-title.svelte-c0982k{width:calc(0.2646875 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-info-title.svelte-c0982k{width:calc(0.378125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-info-title.svelte-c0982k{width:calc(0.240625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-info-title.svelte-c0982k{width:calc(0.309375 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-info-title.svelte-c0982k{width:calc(0.378125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-info-title.svelte-c0982k{margin-top:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-info-title.svelte-c0982k{margin-top:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-info-title.svelte-c0982k{margin-top:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-info-title.svelte-c0982k{margin-top:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-info-title.svelte-c0982k{margin-top:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-info-title.svelte-c0982k{margin-top:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-info-title.svelte-c0982k{margin-top:calc(0.0171875 * 100vw + 0px)}}.giveaway-panel__body-info-title--place.svelte-c0982k{color:#FFFFFF;font-weight:900}.giveaway-panel__body-info-place.svelte-c0982k{display:flex;align-items:center;justify-content:center;background-image:url(\"./img/giveaway-panel-bg-place.png\");background-size:contain;background-repeat:no-repeat;background-position:center;width:calc(0.0520833333 * 100vw + 0px);height:calc(0.0677083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-info-place.svelte-c0982k{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-info-place.svelte-c0982k{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-info-place.svelte-c0982k{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-info-place.svelte-c0982k{width:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-info-place.svelte-c0982k{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-info-place.svelte-c0982k{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-info-place.svelte-c0982k{width:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-info-place.svelte-c0982k{height:calc(0.0677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-info-place.svelte-c0982k{height:calc(0.0677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-info-place.svelte-c0982k{height:calc(0.0521354167 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-info-place.svelte-c0982k{height:calc(0.0744791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-info-place.svelte-c0982k{height:calc(0.0473958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-info-place.svelte-c0982k{height:calc(0.0609375 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-info-place.svelte-c0982k{height:calc(0.0744791667 * 100vw + 0px)}}.giveaway-panel__body-info-place--text.svelte-c0982k{display:flex;align-items:center;justify-content:center;font-family:\"GothamPro\";font-weight:900;color:#FCA526;line-height:calc(0.0359375 * 100vw + 0px);font-size:calc(0.03125 * 100vw + 0px);width:calc(0.34375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-info-place--text.svelte-c0982k{line-height:calc(0.0359375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-info-place--text.svelte-c0982k{line-height:calc(0.0359375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-info-place--text.svelte-c0982k{line-height:calc(0.027671875 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-info-place--text.svelte-c0982k{line-height:calc(0.03953125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-info-place--text.svelte-c0982k{line-height:calc(0.02515625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-info-place--text.svelte-c0982k{line-height:calc(0.03234375 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-info-place--text.svelte-c0982k{line-height:calc(0.03953125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-info-place--text.svelte-c0982k{font-size:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-info-place--text.svelte-c0982k{font-size:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-info-place--text.svelte-c0982k{font-size:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-info-place--text.svelte-c0982k{font-size:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-info-place--text.svelte-c0982k{font-size:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-info-place--text.svelte-c0982k{font-size:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-info-place--text.svelte-c0982k{font-size:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-info-place--text.svelte-c0982k{width:calc(0.34375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-info-place--text.svelte-c0982k{width:calc(0.34375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-info-place--text.svelte-c0982k{width:calc(0.2646875 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-info-place--text.svelte-c0982k{width:calc(0.378125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-info-place--text.svelte-c0982k{width:calc(0.240625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-info-place--text.svelte-c0982k{width:calc(0.309375 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-info-place--text.svelte-c0982k{width:calc(0.378125 * 100vw + 0px)}}.giveaway-panel__body-info-description.svelte-c0982k{top:calc(0.0677083333 * 100vw + 0px);font-family:\"GothamPro\";font-weight:500;color:#FFFFFF;line-height:calc(0.0166666667 * 100vw + 0px);font-size:calc(0.009375 * 100vw + 0px);width:calc(0.371875 * 100vw + 0px);margin-top:calc(0.046875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-info-description.svelte-c0982k{top:calc(0.0677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-info-description.svelte-c0982k{top:calc(0.0677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-info-description.svelte-c0982k{top:calc(0.0521354167 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-info-description.svelte-c0982k{top:calc(0.0744791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-info-description.svelte-c0982k{top:calc(0.0473958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-info-description.svelte-c0982k{top:calc(0.0609375 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-info-description.svelte-c0982k{top:calc(0.0744791667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-info-description.svelte-c0982k{line-height:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-info-description.svelte-c0982k{line-height:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-info-description.svelte-c0982k{line-height:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-info-description.svelte-c0982k{line-height:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-info-description.svelte-c0982k{line-height:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-info-description.svelte-c0982k{line-height:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-info-description.svelte-c0982k{line-height:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-info-description.svelte-c0982k{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-info-description.svelte-c0982k{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-info-description.svelte-c0982k{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-info-description.svelte-c0982k{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-info-description.svelte-c0982k{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-info-description.svelte-c0982k{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-info-description.svelte-c0982k{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-info-description.svelte-c0982k{width:calc(0.371875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-info-description.svelte-c0982k{width:calc(0.371875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-info-description.svelte-c0982k{width:calc(0.28634375 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-info-description.svelte-c0982k{width:calc(0.4090625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-info-description.svelte-c0982k{width:calc(0.2603125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-info-description.svelte-c0982k{width:calc(0.3346875 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-info-description.svelte-c0982k{width:calc(0.4090625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-info-description.svelte-c0982k{margin-top:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-info-description.svelte-c0982k{margin-top:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-info-description.svelte-c0982k{margin-top:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-info-description.svelte-c0982k{margin-top:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-info-description.svelte-c0982k{margin-top:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-info-description.svelte-c0982k{margin-top:calc(0.0421875 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-info-description.svelte-c0982k{margin-top:calc(0.0515625 * 100vw + 0px)}}.giveaway-panel__body-info-rewards.svelte-c0982k{display:flex;gap:calc(0.0171875 * 100vw + 0px);margin-top:calc(0.0244791667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-info-rewards.svelte-c0982k{gap:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-info-rewards.svelte-c0982k{gap:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-info-rewards.svelte-c0982k{gap:calc(0.013234375 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-info-rewards.svelte-c0982k{gap:calc(0.01890625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-info-rewards.svelte-c0982k{gap:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-info-rewards.svelte-c0982k{gap:calc(0.01546875 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-info-rewards.svelte-c0982k{gap:calc(0.01890625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-info-rewards.svelte-c0982k{margin-top:calc(0.0244791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-info-rewards.svelte-c0982k{margin-top:calc(0.0244791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-info-rewards.svelte-c0982k{margin-top:calc(0.0188489583 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-info-rewards.svelte-c0982k{margin-top:calc(0.0269270833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-info-rewards.svelte-c0982k{margin-top:calc(0.0171354167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-info-rewards.svelte-c0982k{margin-top:calc(0.02203125 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-info-rewards.svelte-c0982k{margin-top:calc(0.0269270833 * 100vw + 0px)}}.giveaway-panel__body-info-reward.svelte-c0982k{display:flex;align-items:center;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.371875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-info-reward.svelte-c0982k{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-info-reward.svelte-c0982k{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-info-reward.svelte-c0982k{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-info-reward.svelte-c0982k{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-info-reward.svelte-c0982k{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-info-reward.svelte-c0982k{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-info-reward.svelte-c0982k{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-info-reward.svelte-c0982k{width:calc(0.371875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-info-reward.svelte-c0982k{width:calc(0.371875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-info-reward.svelte-c0982k{width:calc(0.28634375 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-info-reward.svelte-c0982k{width:calc(0.4090625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-info-reward.svelte-c0982k{width:calc(0.2603125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-info-reward.svelte-c0982k{width:calc(0.3346875 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-info-reward.svelte-c0982k{width:calc(0.4090625 * 100vw + 0px)}}.giveaway-panel__body-info-reward-img-wrapper.svelte-c0982k{background-image:url(\"./img/giveaway-panel-prize-bg.png\");background-size:cover;background-repeat:no-repeat;background-position:center;border-radius:calc(0.0041666667 * 100vw + 0px);width:calc(0.053125 * 100vw + 0px);height:calc(0.053125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-info-reward-img-wrapper.svelte-c0982k{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-info-reward-img-wrapper.svelte-c0982k{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-info-reward-img-wrapper.svelte-c0982k{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-info-reward-img-wrapper.svelte-c0982k{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-info-reward-img-wrapper.svelte-c0982k{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-info-reward-img-wrapper.svelte-c0982k{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-info-reward-img-wrapper.svelte-c0982k{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-info-reward-img-wrapper.svelte-c0982k{width:calc(0.053125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-info-reward-img-wrapper.svelte-c0982k{width:calc(0.053125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-info-reward-img-wrapper.svelte-c0982k{width:calc(0.04090625 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-info-reward-img-wrapper.svelte-c0982k{width:calc(0.0584375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-info-reward-img-wrapper.svelte-c0982k{width:calc(0.0371875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-info-reward-img-wrapper.svelte-c0982k{width:calc(0.0478125 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-info-reward-img-wrapper.svelte-c0982k{width:calc(0.0584375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-info-reward-img-wrapper.svelte-c0982k{height:calc(0.053125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-info-reward-img-wrapper.svelte-c0982k{height:calc(0.053125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-info-reward-img-wrapper.svelte-c0982k{height:calc(0.04090625 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-info-reward-img-wrapper.svelte-c0982k{height:calc(0.0584375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-info-reward-img-wrapper.svelte-c0982k{height:calc(0.0371875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-info-reward-img-wrapper.svelte-c0982k{height:calc(0.0478125 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-info-reward-img-wrapper.svelte-c0982k{height:calc(0.0584375 * 100vw + 0px)}}.giveaway-panel__body-info-reward-img.svelte-c0982k{height:calc(0.053125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-info-reward-img.svelte-c0982k{height:calc(0.053125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-info-reward-img.svelte-c0982k{height:calc(0.053125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-info-reward-img.svelte-c0982k{height:calc(0.04090625 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-info-reward-img.svelte-c0982k{height:calc(0.0584375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-info-reward-img.svelte-c0982k{height:calc(0.0371875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-info-reward-img.svelte-c0982k{height:calc(0.0478125 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-info-reward-img.svelte-c0982k{height:calc(0.0584375 * 100vw + 0px)}}.giveaway-panel__body-info-reward-title.svelte-c0982k{font-family:\"GothamPro\";font-weight:400;color:#FFFFFF;line-height:calc(0.0151041667 * 100vw + 0px);font-size:calc(0.0125 * 100vw + 0px);width:calc(0.221875 * 100vw + 0px);margin-left:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-info-reward-title.svelte-c0982k{line-height:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-info-reward-title.svelte-c0982k{line-height:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-info-reward-title.svelte-c0982k{line-height:calc(0.0116302083 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-info-reward-title.svelte-c0982k{line-height:calc(0.0166145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-info-reward-title.svelte-c0982k{line-height:calc(0.0105729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-info-reward-title.svelte-c0982k{line-height:calc(0.01359375 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-info-reward-title.svelte-c0982k{line-height:calc(0.0166145833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-info-reward-title.svelte-c0982k{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-info-reward-title.svelte-c0982k{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-info-reward-title.svelte-c0982k{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-info-reward-title.svelte-c0982k{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-info-reward-title.svelte-c0982k{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-info-reward-title.svelte-c0982k{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-info-reward-title.svelte-c0982k{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-info-reward-title.svelte-c0982k{width:calc(0.221875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-info-reward-title.svelte-c0982k{width:calc(0.221875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-info-reward-title.svelte-c0982k{width:calc(0.17084375 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-info-reward-title.svelte-c0982k{width:calc(0.2440625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-info-reward-title.svelte-c0982k{width:calc(0.1553125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-info-reward-title.svelte-c0982k{width:calc(0.1996875 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-info-reward-title.svelte-c0982k{width:calc(0.2440625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-info-reward-title.svelte-c0982k{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-info-reward-title.svelte-c0982k{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-info-reward-title.svelte-c0982k{margin-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-info-reward-title.svelte-c0982k{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-info-reward-title.svelte-c0982k{margin-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-info-reward-title.svelte-c0982k{margin-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-info-reward-title.svelte-c0982k{margin-left:calc(0.0114583333 * 100vw + 0px)}}.giveaway-panel__body-line-img.svelte-c0982k{position:absolute;bottom:calc(0.0744791667 * 100vw + 0px);width:calc(0.5630208333 * 100vw + 0px);height:calc(0.0010416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-line-img.svelte-c0982k{bottom:calc(0.0744791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-line-img.svelte-c0982k{bottom:calc(0.0744791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-line-img.svelte-c0982k{bottom:calc(0.0573489583 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-line-img.svelte-c0982k{bottom:calc(0.0819270833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-line-img.svelte-c0982k{bottom:calc(0.0521354167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-line-img.svelte-c0982k{bottom:calc(0.06703125 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-line-img.svelte-c0982k{bottom:calc(0.0819270833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-line-img.svelte-c0982k{width:calc(0.5630208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-line-img.svelte-c0982k{width:calc(0.5630208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-line-img.svelte-c0982k{width:calc(0.4335260417 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-line-img.svelte-c0982k{width:calc(0.6193229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-line-img.svelte-c0982k{width:calc(0.3941145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-line-img.svelte-c0982k{width:calc(0.50671875 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-line-img.svelte-c0982k{width:calc(0.6193229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-line-img.svelte-c0982k{height:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-line-img.svelte-c0982k{height:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-line-img.svelte-c0982k{height:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-line-img.svelte-c0982k{height:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-line-img.svelte-c0982k{height:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-line-img.svelte-c0982k{height:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-line-img.svelte-c0982k{height:calc(0.0011458333 * 100vw + 0px)}}.giveaway-panel__body-buttons-wrapper.svelte-c0982k{position:absolute;bottom:0;width:100%;background:linear-gradient(180deg, rgba(19, 21, 22, 0) 0%, #131516 100%);height:calc(0.2385416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-buttons-wrapper.svelte-c0982k{height:calc(0.2385416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-buttons-wrapper.svelte-c0982k{height:calc(0.2385416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-buttons-wrapper.svelte-c0982k{height:calc(0.1836770833 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-buttons-wrapper.svelte-c0982k{height:calc(0.2623958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-buttons-wrapper.svelte-c0982k{height:calc(0.1669791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-buttons-wrapper.svelte-c0982k{height:calc(0.2146875 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-buttons-wrapper.svelte-c0982k{height:calc(0.2623958333 * 100vw + 0px)}}.giveaway-panel__body-buttons.svelte-c0982k{position:absolute;display:flex;justify-content:center;width:100%;gap:calc(0.0104166667 * 100vw + 0px);bottom:calc(0.0208333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-buttons.svelte-c0982k{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-buttons.svelte-c0982k{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-buttons.svelte-c0982k{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-buttons.svelte-c0982k{gap:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-buttons.svelte-c0982k{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-buttons.svelte-c0982k{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-buttons.svelte-c0982k{gap:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-buttons.svelte-c0982k{bottom:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-buttons.svelte-c0982k{bottom:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-buttons.svelte-c0982k{bottom:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-buttons.svelte-c0982k{bottom:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-buttons.svelte-c0982k{bottom:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-buttons.svelte-c0982k{bottom:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-buttons.svelte-c0982k{bottom:calc(0.0229166667 * 100vw + 0px)}}.giveaway-panel__body-button.svelte-c0982k{display:flex;align-items:center;justify-content:center;background-size:cover;background-repeat:no-repeat;background-position:center;transition:background 0.2s linear, border 0.2s linear;cursor:pointer;border:2px solid transparent;gap:calc(0.0072916667 * 100vw + 0px);border-radius:calc(0.0083333333 * 100vw + 0px);width:calc(0.153125 * 100vw + 0px);height:calc(0.0385416667 * 100vw + 0px);margin-top:calc(0.0151041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-button.svelte-c0982k{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-button.svelte-c0982k{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-button.svelte-c0982k{gap:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-button.svelte-c0982k{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-button.svelte-c0982k{gap:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-button.svelte-c0982k{gap:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-button.svelte-c0982k{gap:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-button.svelte-c0982k{border-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-button.svelte-c0982k{border-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-button.svelte-c0982k{border-radius:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-button.svelte-c0982k{border-radius:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-button.svelte-c0982k{border-radius:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-button.svelte-c0982k{border-radius:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-button.svelte-c0982k{border-radius:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-button.svelte-c0982k{width:calc(0.153125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-button.svelte-c0982k{width:calc(0.153125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-button.svelte-c0982k{width:calc(0.11790625 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-button.svelte-c0982k{width:calc(0.1684375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-button.svelte-c0982k{width:calc(0.1071875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-button.svelte-c0982k{width:calc(0.1378125 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-button.svelte-c0982k{width:calc(0.1684375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-button.svelte-c0982k{height:calc(0.0385416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-button.svelte-c0982k{height:calc(0.0385416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-button.svelte-c0982k{height:calc(0.0296770833 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-button.svelte-c0982k{height:calc(0.0423958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-button.svelte-c0982k{height:calc(0.0269791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-button.svelte-c0982k{height:calc(0.0346875 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-button.svelte-c0982k{height:calc(0.0423958333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-button.svelte-c0982k{margin-top:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-button.svelte-c0982k{margin-top:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-button.svelte-c0982k{margin-top:calc(0.0116302083 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-button.svelte-c0982k{margin-top:calc(0.0166145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-button.svelte-c0982k{margin-top:calc(0.0105729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-button.svelte-c0982k{margin-top:calc(0.01359375 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-button.svelte-c0982k{margin-top:calc(0.0166145833 * 100vw + 0px)}}.giveaway-panel__body-button.svelte-c0982k:hover{opacity:75%}.giveaway-panel__body-button--disabled.svelte-c0982k{opacity:15%}.giveaway-panel__body-button--disabled.svelte-c0982k:hover{opacity:15%}.giveaway-panel__body-button-img.svelte-c0982k{height:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-button-img.svelte-c0982k{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-button-img.svelte-c0982k{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-button-img.svelte-c0982k{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-button-img.svelte-c0982k{height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-button-img.svelte-c0982k{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-button-img.svelte-c0982k{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-button-img.svelte-c0982k{height:calc(0.0114583333 * 100vw + 0px)}}.giveaway-panel__body-button-title.svelte-c0982k{font-family:\"GothamPro\";font-weight:700;color:#210101;line-height:calc(0.0104166667 * 100vw + 0px);font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-button-title.svelte-c0982k{line-height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-button-title.svelte-c0982k{line-height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-button-title.svelte-c0982k{line-height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-button-title.svelte-c0982k{line-height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-button-title.svelte-c0982k{line-height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-button-title.svelte-c0982k{line-height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-button-title.svelte-c0982k{line-height:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.giveaway-panel__body-button-title.svelte-c0982k{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.giveaway-panel__body-button-title.svelte-c0982k{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.giveaway-panel__body-button-title.svelte-c0982k{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.giveaway-panel__body-button-title.svelte-c0982k{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.giveaway-panel__body-button-title.svelte-c0982k{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.giveaway-panel__body-button-title.svelte-c0982k{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.giveaway-panel__body-button-title.svelte-c0982k{font-size:calc(0.0114583333 * 100vw + 0px)}}");
}

// (3767:3) {#if !isNil(winnerDto.nickName)}
function giveaway_panel_index_svelte_create_if_block_6(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "giveaway-panel__body-background svelte-c0982k");
			if (!src_url_equal(img.src, img_src_value = giveaway_panel_winner_effects_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "background");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (3849:3) {:else}
function giveaway_panel_index_svelte_create_else_block_1(ctx) {
	let div1;
	let div0;
	let img0;
	let img0_src_value;
	let t0;
	let p0;
	let t1_value = /*winnerDto*/ ctx[0].nickName + "";
	let t1;
	let t2;
	let div3;
	let div2;
	let img1;
	let img1_src_value;
	let t3;
	let p1;
	let t4_value = /*winnerDto*/ ctx[0].serverName + "";
	let t4;
	let mounted;
	let dispose;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			div3 = internal_element("div");
			div2 = internal_element("div");
			img1 = internal_element("img");
			t3 = space();
			p1 = internal_element("p");
			t4 = internal_text(t4_value);
			attr(img0, "class", "giveaway-panel__body-winner-nickname-img svelte-c0982k");
			if (!src_url_equal(img0.src, img0_src_value = giveaway_panel_gift_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "button-img");
			attr(p0, "class", "giveaway-panel__body-winner-nickname-title svelte-c0982k");
			attr(div0, "class", "giveaway-panel__body-winner-nickname svelte-c0982k");
			attr(div1, "class", "giveaway-panel__body-winner-active svelte-c0982k");
			attr(img1, "class", "giveaway-panel__body-winner-server-img svelte-c0982k");
			if (!src_url_equal(img1.src, img1_src_value = "" + (cdn_CDN_URL_RODINA + "/assets/images/project_icons/" + /*winnerDto*/ ctx[0].serverNumber + ".webp"))) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "button-img");
			attr(p1, "class", "giveaway-panel__body-winner-server-title svelte-c0982k");
			attr(div2, "class", "giveaway-panel__body-winner-server svelte-c0982k");
			attr(div3, "class", "giveaway-panel__body-winner-active svelte-c0982k");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, img0);
			append(div0, t0);
			append(div0, p0);
			append(p0, t1);
			insert(target, t2, anchor);
			insert(target, div3, anchor);
			append(div3, div2);
			append(div2, img1);
			append(div2, t3);
			append(div2, p1);
			append(p1, t4);

			if (!mounted) {
				dispose = [
					listen(div0, "click", /*clickButtonDefine*/ ctx[4]),
					listen(div2, "click", /*clickButtonDefine*/ ctx[4])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*winnerDto*/ 1 && t1_value !== (t1_value = /*winnerDto*/ ctx[0].nickName + "")) set_data(t1, t1_value);

			if (dirty & /*winnerDto*/ 1 && !src_url_equal(img1.src, img1_src_value = "" + (cdn_CDN_URL_RODINA + "/assets/images/project_icons/" + /*winnerDto*/ ctx[0].serverNumber + ".webp"))) {
				attr(img1, "src", img1_src_value);
			}

			if (dirty & /*winnerDto*/ 1 && t4_value !== (t4_value = /*winnerDto*/ ctx[0].serverName + "")) set_data(t4, t4_value);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
			if (detaching) detach(t2);
			if (detaching) detach(div3);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (3827:3) {#if isNil(winnerDto.nickName)}
function giveaway_panel_index_svelte_create_if_block_3(ctx) {
	let div;
	let show_if;
	let current_block_type_index;
	let if_block;
	let current;
	const if_block_creators = [giveaway_panel_index_svelte_create_if_block_4, giveaway_panel_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type_1(ctx, dirty) {
		if (dirty & /*winnerDto*/ 1) show_if = null;
		if (show_if == null) show_if = !!(0,lodash.isNil)(/*winnerDto*/ ctx[0].timerSeconds);
		if (show_if) return 0;
		return 1;
	}

	current_block_type_index = select_block_type_1(ctx, -1);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div = internal_element("div");
			if_block.c();
			attr(div, "class", "giveaway-panel__body-winner svelte-c0982k");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if_blocks[current_block_type_index].m(div, null);
			current = true;
		},
		p(ctx, dirty) {
			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type_1(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(div, null);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if_blocks[current_block_type_index].d();
		}
	};
}

// (3838:5) {:else}
function giveaway_panel_index_svelte_create_else_block(ctx) {
	let div;
	let show_if = !(0,lodash.isNil)(/*winnerDto*/ ctx[0].timeLeft);
	let t0;
	let p;
	let current;
	let if_block = show_if && giveaway_panel_index_svelte_create_if_block_5(ctx);

	return {
		c() {
			div = internal_element("div");
			if (if_block) if_block.c();
			t0 = space();
			p = internal_element("p");
			p.textContent = "Определение победителя";
			attr(div, "class", "giveaway-panel__counter-wrapper svelte-c0982k");
			attr(p, "class", "giveaway-panel__body-winner-text svelte-c0982k");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block) if_block.m(div, null);
			insert(target, t0, anchor);
			insert(target, p, anchor);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty & /*winnerDto*/ 1) show_if = !(0,lodash.isNil)(/*winnerDto*/ ctx[0].timeLeft);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*winnerDto*/ 1) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = giveaway_panel_index_svelte_create_if_block_5(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(div, null);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (if_block) if_block.d();
			if (detaching) detach(t0);
			if (detaching) detach(p);
		}
	};
}

// (3829:5) {#if isNil(winnerDto.timerSeconds)}
function giveaway_panel_index_svelte_create_if_block_4(ctx) {
	let img;
	let img_src_value;
	let t0;
	let p;

	return {
		c() {
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			p.textContent = "Победитель не определен";
			attr(img, "class", "giveaway-panel__body-winner-img svelte-c0982k");
			if (!src_url_equal(img.src, img_src_value = giveaway_panel_x_icon_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "button-img");
			attr(p, "class", "giveaway-panel__body-winner-text svelte-c0982k");
		},
		m(target, anchor) {
			insert(target, img, anchor);
			insert(target, t0, anchor);
			insert(target, p, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
			if (detaching) detach(t0);
			if (detaching) detach(p);
		}
	};
}

// (3840:7) {#if !isNil(winnerDto.timeLeft)}
function giveaway_panel_index_svelte_create_if_block_5(ctx) {
	let circleindicator;
	let current;

	circleindicator = new giveaway_panel_circle_progress_bar_index_svelte({
			props: {
				centerStyle: true,
				current: /*winnerDto*/ ctx[0].timeLeft,
				total: /*winnerDto*/ ctx[0].timerSeconds
			}
		});

	return {
		c() {
			create_component(circleindicator.$$.fragment);
		},
		m(target, anchor) {
			mount_component(circleindicator, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const circleindicator_changes = {};
			if (dirty & /*winnerDto*/ 1) circleindicator_changes.current = /*winnerDto*/ ctx[0].timeLeft;
			if (dirty & /*winnerDto*/ 1) circleindicator_changes.total = /*winnerDto*/ ctx[0].timerSeconds;
			circleindicator.$set(circleindicator_changes);
		},
		i(local) {
			if (current) return;
			transition_in(circleindicator.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(circleindicator.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(circleindicator, detaching);
		}
	};
}

// (3886:6) {#if !isNil(placeDto.number)}
function giveaway_panel_index_svelte_create_if_block_2(ctx) {
	let t_value = /*placeDto*/ ctx[2].number + "";
	let t;

	return {
		c() {
			t = internal_text(t_value);
		},
		m(target, anchor) {
			insert(target, t, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*placeDto*/ 4 && t_value !== (t_value = /*placeDto*/ ctx[2].number + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(t);
		}
	};
}

// (3892:5) {#if !isNil(placeDto.text)}
function giveaway_panel_index_svelte_create_if_block_1(ctx) {
	let t0_value = /*placeDto*/ ctx[2].text + "";
	let t0;
	let t1;
	let span;

	return {
		c() {
			t0 = internal_text(t0_value);
			t1 = space();
			span = internal_element("span");
			span.textContent = "МЕСТО";
			attr(span, "class", "giveaway-panel__body-info-title--place svelte-c0982k");
		},
		m(target, anchor) {
			insert(target, t0, anchor);
			insert(target, t1, anchor);
			insert(target, span, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*placeDto*/ 4 && t0_value !== (t0_value = /*placeDto*/ ctx[2].text + "")) set_data(t0, t0_value);
		},
		d(detaching) {
			if (detaching) detach(t0);
			if (detaching) detach(t1);
			if (detaching) detach(span);
		}
	};
}

// (3907:3) {#if !isNil(prizeDto.name)}
function giveaway_panel_index_svelte_create_if_block(ctx) {
	let div2;
	let div1;
	let div0;
	let img;
	let img_src_value;
	let t0;
	let p;
	let t1_value = /*prizeDto*/ ctx[1].name + "";
	let t1;

	return {
		c() {
			div2 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			attr(img, "class", "giveaway-panel__body-info-reward-img svelte-c0982k");
			if (!src_url_equal(img.src, img_src_value = /*getItemUrl*/ ctx[6](/*prizeDto*/ ctx[1].sysName))) attr(img, "src", img_src_value);
			attr(img, "alt", "reward-img");
			attr(div0, "class", "giveaway-panel__body-info-reward-img-wrapper svelte-c0982k");
			attr(p, "class", "giveaway-panel__body-info-reward-title svelte-c0982k");
			attr(div1, "class", "giveaway-panel__body-info-reward svelte-c0982k");
			attr(div2, "class", "giveaway-panel__body-info-rewards svelte-c0982k");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div1);
			append(div1, div0);
			append(div0, img);
			append(div1, t0);
			append(div1, p);
			append(p, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*prizeDto*/ 2 && !src_url_equal(img.src, img_src_value = /*getItemUrl*/ ctx[6](/*prizeDto*/ ctx[1].sysName))) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*prizeDto*/ 2 && t1_value !== (t1_value = /*prizeDto*/ ctx[1].name + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

function giveaway_panel_index_svelte_create_fragment(ctx) {
	let div11;
	let div10;
	let div0;
	let img0;
	let img0_src_value;
	let t0;
	let show_if_4 = !(0,lodash.isNil)(/*winnerDto*/ ctx[0].nickName);
	let t1;
	let div1;
	let t3;
	let img1;
	let img1_src_value;
	let t4;
	let div5;
	let div4;
	let div2;
	let img2;
	let img2_src_value;
	let t5;
	let p1;
	let div2_class_value;
	let t7;
	let div3;
	let img3;
	let img3_src_value;
	let t8;
	let p2;
	let div3_class_value;
	let t10;
	let img4;
	let img4_src_value;
	let t11;
	let div6;
	let show_if_3;
	let current_block_type_index;
	let if_block1;
	let t12;
	let div9;
	let div8;
	let div7;
	let p3;
	let show_if_2 = !(0,lodash.isNil)(/*placeDto*/ ctx[2].number);
	let t13;
	let p4;
	let show_if_1 = !(0,lodash.isNil)(/*placeDto*/ ctx[2].text);
	let t14;
	let p5;
	let t16;
	let show_if = !(0,lodash.isNil)(/*prizeDto*/ ctx[1].name);
	let current;
	let mounted;
	let dispose;
	let if_block0 = show_if_4 && giveaway_panel_index_svelte_create_if_block_6(ctx);
	const if_block_creators = [giveaway_panel_index_svelte_create_if_block_3, giveaway_panel_index_svelte_create_else_block_1];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (dirty & /*winnerDto*/ 1) show_if_3 = null;
		if (show_if_3 == null) show_if_3 = !!(0,lodash.isNil)(/*winnerDto*/ ctx[0].nickName);
		if (show_if_3) return 0;
		return 1;
	}

	current_block_type_index = select_block_type(ctx, -1);
	if_block1 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
	let if_block2 = show_if_2 && giveaway_panel_index_svelte_create_if_block_2(ctx);
	let if_block3 = show_if_1 && giveaway_panel_index_svelte_create_if_block_1(ctx);
	let if_block4 = show_if && giveaway_panel_index_svelte_create_if_block(ctx);

	return {
		c() {
			div11 = internal_element("div");
			div10 = internal_element("div");
			div0 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			if (if_block0) if_block0.c();
			t1 = space();
			div1 = internal_element("div");
			div1.innerHTML = `<p class="giveaway-panel__body-close-button-title svelte-c0982k">Esc</p>`;
			t3 = space();
			img1 = internal_element("img");
			t4 = space();
			div5 = internal_element("div");
			div4 = internal_element("div");
			div2 = internal_element("div");
			img2 = internal_element("img");
			t5 = space();
			p1 = internal_element("p");
			p1.textContent = "Определить победителя";
			t7 = space();
			div3 = internal_element("div");
			img3 = internal_element("img");
			t8 = space();
			p2 = internal_element("p");
			p2.textContent = "Перейти к следующему";
			t10 = space();
			img4 = internal_element("img");
			t11 = space();
			div6 = internal_element("div");
			if_block1.c();
			t12 = space();
			div9 = internal_element("div");
			div8 = internal_element("div");
			div7 = internal_element("div");
			p3 = internal_element("p");
			if (if_block2) if_block2.c();
			t13 = space();
			p4 = internal_element("p");
			if (if_block3) if_block3.c();
			t14 = space();
			p5 = internal_element("p");
			p5.textContent = "Для участия в розыгрыше вам необходимо зарабатывать специальные ‘Билеты розыгрыша', \r\n\t\t\t\tкоторые выдаются каждый час игры с Mobile версии игры. \r\n\t\t\t\tПодробнее о системе розыгрышей Вы можете узнать нажав на кнопку 'Розыгрыш’ \r\n\t\t\t\tв главном меню на Mobile.";
			t16 = space();
			if (if_block4) if_block4.c();
			attr(img0, "class", "giveaway-panel__body-background svelte-c0982k");
			if (!src_url_equal(img0.src, img0_src_value = giveaway_panel_background_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "background");
			attr(div0, "class", "giveaway-panel__body-background-wrapper svelte-c0982k");
			attr(div1, "class", "giveaway-panel__body-close-button svelte-c0982k");
			attr(img1, "class", "giveaway-panel__body-winner-skin-img svelte-c0982k");
			if (!src_url_equal(img1.src, img1_src_value = /*getSkinImage*/ ctx[7](/*winnerDto*/ ctx[0].skinImage))) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "button-img");
			attr(img2, "class", "giveaway-panel__body-button-img svelte-c0982k");
			if (!src_url_equal(img2.src, img2_src_value = giveaway_panel_gift_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "button-img");
			attr(p1, "class", "giveaway-panel__body-button-title svelte-c0982k");

			attr(div2, "class", div2_class_value = "giveaway-panel__body-button giveaway-panel__body-button" + ((0,lodash.isNil)(/*winnerDto*/ ctx[0].timerSeconds) && (0,lodash.isNil)(/*winnerDto*/ ctx[0].nickName)
			? ''
			: '--disabled') + " svelte-c0982k");

			set_style(div2, "background-image", "url(" + giveaway_panel_button_1_namespaceObject + ")");
			attr(img3, "class", "giveaway-panel__body-button-img svelte-c0982k");
			if (!src_url_equal(img3.src, img3_src_value = giveaway_panel_user_namespaceObject)) attr(img3, "src", img3_src_value);
			attr(img3, "alt", "button-img");
			attr(p2, "class", "giveaway-panel__body-button-title svelte-c0982k");

			attr(div3, "class", div3_class_value = "giveaway-panel__body-button giveaway-panel__body-button" + ((0,lodash.isNil)(/*winnerDto*/ ctx[0].timerSeconds)
			? ''
			: '--disabled') + " svelte-c0982k");

			set_style(div3, "background-image", "url(" + giveaway_panel_button_2_namespaceObject + ")");
			attr(div4, "class", "giveaway-panel__body-buttons svelte-c0982k");
			attr(div5, "class", "giveaway-panel__body-buttons-wrapper svelte-c0982k");
			attr(img4, "class", "giveaway-panel__body-line-img svelte-c0982k");
			if (!src_url_equal(img4.src, img4_src_value = giveaway_panel_line_namespaceObject)) attr(img4, "src", img4_src_value);
			attr(img4, "alt", "line-img");
			attr(div6, "class", "giveaway-panel__body-winner-wrapper svelte-c0982k");
			attr(p3, "class", "giveaway-panel__body-info-place--text svelte-c0982k");
			attr(div7, "class", "giveaway-panel__body-info-place svelte-c0982k");
			attr(p4, "class", "giveaway-panel__body-info-title svelte-c0982k");
			attr(div8, "class", "giveaway-panel__body-info-titles svelte-c0982k");
			attr(p5, "class", "giveaway-panel__body-info-description svelte-c0982k");
			attr(div9, "class", "giveaway-panel__body-info svelte-c0982k");
			attr(div10, "class", "giveaway-panel__body svelte-c0982k");
			attr(div11, "class", "giveaway-panel svelte-c0982k");
		},
		m(target, anchor) {
			insert(target, div11, anchor);
			append(div11, div10);
			append(div10, div0);
			append(div0, img0);
			append(div0, t0);
			if (if_block0) if_block0.m(div0, null);
			append(div10, t1);
			append(div10, div1);
			append(div10, t3);
			append(div10, img1);
			append(div10, t4);
			append(div10, div5);
			append(div5, div4);
			append(div4, div2);
			append(div2, img2);
			append(div2, t5);
			append(div2, p1);
			append(div4, t7);
			append(div4, div3);
			append(div3, img3);
			append(div3, t8);
			append(div3, p2);
			append(div10, t10);
			append(div10, img4);
			append(div10, t11);
			append(div10, div6);
			if_blocks[current_block_type_index].m(div6, null);
			append(div10, t12);
			append(div10, div9);
			append(div9, div8);
			append(div8, div7);
			append(div7, p3);
			if (if_block2) if_block2.m(p3, null);
			append(div8, t13);
			append(div8, p4);
			if (if_block3) if_block3.m(p4, null);
			append(div9, t14);
			append(div9, p5);
			append(div9, t16);
			if (if_block4) if_block4.m(div9, null);
			current = true;

			if (!mounted) {
				dispose = [
					listen(div1, "click", /*close*/ ctx[3]),
					listen(div2, "click", /*clickButtonDefine*/ ctx[4]),
					listen(div3, "click", /*clickButtonNext*/ ctx[5])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*winnerDto*/ 1) show_if_4 = !(0,lodash.isNil)(/*winnerDto*/ ctx[0].nickName);

			if (show_if_4) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = giveaway_panel_index_svelte_create_if_block_6(ctx);
					if_block0.c();
					if_block0.m(div0, null);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (!current || dirty & /*winnerDto*/ 1 && !src_url_equal(img1.src, img1_src_value = /*getSkinImage*/ ctx[7](/*winnerDto*/ ctx[0].skinImage))) {
				attr(img1, "src", img1_src_value);
			}

			if (!current || dirty & /*winnerDto*/ 1 && div2_class_value !== (div2_class_value = "giveaway-panel__body-button giveaway-panel__body-button" + ((0,lodash.isNil)(/*winnerDto*/ ctx[0].timerSeconds) && (0,lodash.isNil)(/*winnerDto*/ ctx[0].nickName)
			? ''
			: '--disabled') + " svelte-c0982k")) {
				attr(div2, "class", div2_class_value);
			}

			if (!current || dirty & /*winnerDto*/ 1 && div3_class_value !== (div3_class_value = "giveaway-panel__body-button giveaway-panel__body-button" + ((0,lodash.isNil)(/*winnerDto*/ ctx[0].timerSeconds)
			? ''
			: '--disabled') + " svelte-c0982k")) {
				attr(div3, "class", div3_class_value);
			}

			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block1 = if_blocks[current_block_type_index];

				if (!if_block1) {
					if_block1 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block1.c();
				} else {
					if_block1.p(ctx, dirty);
				}

				transition_in(if_block1, 1);
				if_block1.m(div6, null);
			}

			if (dirty & /*placeDto*/ 4) show_if_2 = !(0,lodash.isNil)(/*placeDto*/ ctx[2].number);

			if (show_if_2) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = giveaway_panel_index_svelte_create_if_block_2(ctx);
					if_block2.c();
					if_block2.m(p3, null);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			if (dirty & /*placeDto*/ 4) show_if_1 = !(0,lodash.isNil)(/*placeDto*/ ctx[2].text);

			if (show_if_1) {
				if (if_block3) {
					if_block3.p(ctx, dirty);
				} else {
					if_block3 = giveaway_panel_index_svelte_create_if_block_1(ctx);
					if_block3.c();
					if_block3.m(p4, null);
				}
			} else if (if_block3) {
				if_block3.d(1);
				if_block3 = null;
			}

			if (dirty & /*prizeDto*/ 2) show_if = !(0,lodash.isNil)(/*prizeDto*/ ctx[1].name);

			if (show_if) {
				if (if_block4) {
					if_block4.p(ctx, dirty);
				} else {
					if_block4 = giveaway_panel_index_svelte_create_if_block(ctx);
					if_block4.c();
					if_block4.m(div9, null);
				}
			} else if (if_block4) {
				if_block4.d(1);
				if_block4 = null;
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block1);
			current = true;
		},
		o(local) {
			transition_out(if_block1);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div11);
			if (if_block0) if_block0.d();
			if_blocks[current_block_type_index].d();
			if (if_block2) if_block2.d();
			if (if_block3) if_block3.d();
			if (if_block4) if_block4.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function giveaway_panel_index_svelte_instance($$self, $$props, $$invalidate) {
	const close = () => sendClientMessage('giveawayPanel.close');
	const clickButtonDefine = () => sendClientMessage('giveawayPanel.clickButtonDefine');
	const clickButtonNext = () => sendClientMessage('giveawayPanel.clickButtonNext');
	let winnerDto = [];
	let prizeDto = [];
	let placeDto = [];
	let intervalId = null;

	const getItemUrl = sysName => {
		if ((0,lodash.isNil)(sysName)) {
			return giveaway_panel_vip_namespaceObject;
		}

		return `${CDN_ITEMS_URL}/${sysName}.webp`;
	};

	const getSkinImage = sysName => {
		if ((0,lodash.isNil)(sysName) || sysName === 0) {
			return giveaway_panel_skin_none_namespaceObject;
		}

		return `${CDN_ITEMS_URL}/${sysName}.webp`;
	};

	const setWinnerData = dataDto => {
		$$invalidate(0, winnerDto = dataDto);
		clearInterval(intervalId);
		intervalId = null;

		if (!(0,lodash.isNil)(winnerDto.timerSeconds) && winnerDto.timerSeconds > 0) {
			$$invalidate(0, winnerDto.timeLeft = winnerDto.timerSeconds, winnerDto);

			intervalId = setInterval(
				() => {
					if (winnerDto.timeLeft > 0) {
						$$invalidate(0, winnerDto.timeLeft -= 1, winnerDto);
					} else {
						clearInterval(intervalId);
						intervalId = null;
					}
				},
				1000
			);
		}
	};

	const setPrizeData = dataDto => {
		$$invalidate(1, prizeDto = dataDto);
	};

	const setPlaceData = dataDto => {
		$$invalidate(2, placeDto = dataDto);
	};

	const unregisterSetWinnerData = registerEvent('event.giveawayPanel.setWinnerData', setWinnerData);
	const unregisterSetPrizeData = registerEvent('event.giveawayPanel.setPrizeData', setPrizeData);
	const unregisterSetPlaceData = registerEvent('event.giveawayPanel.setPlaceData', setPlaceData);

	onDestroy(() => {
		clearInterval(intervalId);
		intervalId = null;
		unregisterSetWinnerData();
		unregisterSetPrizeData();
		unregisterSetPlaceData();
	});

	return [
		winnerDto,
		prizeDto,
		placeDto,
		close,
		clickButtonDefine,
		clickButtonNext,
		getItemUrl,
		getSkinImage
	];
}

class Giveaway_panel extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, giveaway_panel_index_svelte_instance, giveaway_panel_index_svelte_create_fragment, safe_not_equal, {}, giveaway_panel_index_svelte_add_css);
	}
}

/* harmony default export */ const giveaway_panel_index_svelte = (Giveaway_panel);
;// CONCATENATED MODULE: ./src/modals/vehicle-menu/img/crowns.png
const crowns_namespaceObject = __webpack_require__.p + "assets/25ff3969eb06ffafcfeb.webp";
;// CONCATENATED MODULE: ./src/modals/vehicle-menu/constants.js
var _MAP_STATUS_TO_NAME;
function vehicle_menu_constants_typeof(o) { "@babel/helpers - typeof"; return vehicle_menu_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, vehicle_menu_constants_typeof(o); }
function vehicle_menu_constants_defineProperty(e, r, t) { return (r = vehicle_menu_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function vehicle_menu_constants_toPropertyKey(t) { var i = vehicle_menu_constants_toPrimitive(t, "string"); return "symbol" == vehicle_menu_constants_typeof(i) ? i : i + ""; }
function vehicle_menu_constants_toPrimitive(t, r) { if ("object" != vehicle_menu_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != vehicle_menu_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
var VehicleInformationStage = {
  List: 'list',
  Information: 'information'
};
var VehicleStatus = {
  NotLoaded: 'notLoaded',
  Loaded: 'loaded',
  Parked: 'parked',
  Arrested: 'arrested',
  RentGive: 'rentgive',
  RentTake: 'renttake',
  Temp: 'temp',
  Stolen: 'stolen',
  Repair: 'repaircar',
  ParkingMS: 'familycar',
  ParkingAT: 'parkazt',
  ParkingRA: 'parkra',
  ParkingRent: 'parkrent',
  ParkingBar: 'parkbar',
  ParkingUndeground: 'parkundeground',
  ParkingHouse: 'parkhouse'
};
var Rarity = {
  Unknown: 'unknown',
  Tier1: 'tier1',
  Tier2: 'tier2',
  Tier3: 'tier3',
  Top: 'top'
};
var MAP_RARITY_TO_TITLE = vehicle_menu_constants_defineProperty(vehicle_menu_constants_defineProperty(vehicle_menu_constants_defineProperty(vehicle_menu_constants_defineProperty(vehicle_menu_constants_defineProperty({}, Rarity.Unknown, 'Неизвестно'), Rarity.Tier1, 'Хлам'), Rarity.Tier2, 'Обычное'), Rarity.Tier3, 'Идеальное'), Rarity.Top, 'TOP');
var MAP_STATUS_TO_NAME = (_MAP_STATUS_TO_NAME = {}, vehicle_menu_constants_defineProperty(vehicle_menu_constants_defineProperty(vehicle_menu_constants_defineProperty(vehicle_menu_constants_defineProperty(vehicle_menu_constants_defineProperty(vehicle_menu_constants_defineProperty(vehicle_menu_constants_defineProperty(vehicle_menu_constants_defineProperty(vehicle_menu_constants_defineProperty(vehicle_menu_constants_defineProperty(_MAP_STATUS_TO_NAME, VehicleStatus.NotLoaded, 'Не загружено'), VehicleStatus.Loaded, 'Загружено'), VehicleStatus.Parked, 'Припарковано'), VehicleStatus.Arrested, 'Штрафстоянка'), VehicleStatus.RentGive, 'Сдано в аренду'), VehicleStatus.RentTake, 'Взято в аренду'), VehicleStatus.Temp, 'Временное'), VehicleStatus.Stolen, 'Угнан'), VehicleStatus.Repair, 'Требуется ремонт'), VehicleStatus.ParkingMS, 'Семейный'), vehicle_menu_constants_defineProperty(vehicle_menu_constants_defineProperty(vehicle_menu_constants_defineProperty(vehicle_menu_constants_defineProperty(vehicle_menu_constants_defineProperty(vehicle_menu_constants_defineProperty(_MAP_STATUS_TO_NAME, VehicleStatus.ParkingAT, 'Парковка Arizona Towers'), VehicleStatus.ParkingRA, 'Парковка Риелторка'), VehicleStatus.ParkingRent, 'Аренда на паркоместе'), VehicleStatus.ParkingBar, 'Парковка бара'), VehicleStatus.ParkingUndeground, 'Подземная парковка'), VehicleStatus.ParkingHouse, 'Гараж дома'));
var VehicleInformationDefault = {
  title: '',
  labels: [],
  actions: [],
  toggles: [],
  radialStats: [],
  stats: []
};
;// CONCATENATED MODULE: ./src/modals/vehicle-menu/components/vehicle-item/index.svelte
/* src\modals\vehicle-menu\components\vehicle-item\index.svelte generated by Svelte v3.49.0 */






function vehicle_item_index_svelte_add_css(target) {
	append_styles(target, "svelte-1tpyxmt", "@keyframes svelte-1tpyxmt-blinking{50%{opacity:0}}@keyframes svelte-1tpyxmt-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1tpyxmt-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1tpyxmt-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1tpyxmt-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1tpyxmt-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1tpyxmt-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1tpyxmt-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1tpyxmt-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1tpyxmt-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1tpyxmt-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1tpyxmt-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1tpyxmt-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1tpyxmt-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1tpyxmt-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{position:relative;display:flex;overflow:hidden;justify-content:space-between;flex-direction:column;background-color:rgba(255, 255, 255, 0.15);width:100%;transition:0.14s ease-out;transition-property:transform, background;cursor:pointer;height:calc(0.078125 * 100vw + 0px);border-radius:calc(0.0026041667 * 100vw + 0px);padding-top:calc(0.015625 * 100vw + 0px);padding-bottom:calc(0.015625 * 100vw + 0px);padding-left:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{height:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{height:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{height:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{height:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{height:calc(0.0859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{padding-top:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{padding-top:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{padding-top:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{padding-top:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{padding-top:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{padding-top:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{padding-top:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{padding-bottom:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{padding-bottom:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{padding-bottom:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{padding-bottom:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{padding-bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{padding-bottom:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{padding-bottom:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{padding-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{padding-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{padding-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{padding-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{padding-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{padding-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt{padding-left:calc(0.0114583333 * 100vw + 0px)}}.vehicle-menu-vehicle-item--tier1.svelte-1tpyxmt.svelte-1tpyxmt:hover{background:linear-gradient(0deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.15)), radial-gradient(50% 692% at 93.25% 50%, rgba(74, 74, 74, 0.5) 0%, rgba(255, 255, 255, 0) 100%)}.vehicle-menu-vehicle-item--tier2.svelte-1tpyxmt.svelte-1tpyxmt:hover{background:linear-gradient(0deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.15)), radial-gradient(50% 692% at 93.25% 50%, rgba(1, 255, 255, 0.5) 0%, rgba(1, 255, 255, 0) 100%)}.vehicle-menu-vehicle-item--tier3.svelte-1tpyxmt.svelte-1tpyxmt:hover{background:linear-gradient(0deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.15)), radial-gradient(50% 692% at 93.25% 50%, rgba(255, 204, 0, 0.5) 0%, rgba(255, 204, 0, 0) 100%)}.vehicle-menu-vehicle-item--top.svelte-1tpyxmt.svelte-1tpyxmt:hover{background:linear-gradient(0deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.15)), radial-gradient(50% 692% at 93.25% 50%, rgba(255, 204, 0, 0.5) 0%, rgba(255, 204, 0, 0) 100%)}.vehicle-menu-vehicle-item--top.svelte-1tpyxmt:hover .vehicle-menu-vehicle-item__crowns.svelte-1tpyxmt{display:block}.vehicle-menu-vehicle-item.svelte-1tpyxmt.svelte-1tpyxmt:active{transform:translateY(2%)}.vehicle-menu-vehicle-item--not-loaded.svelte-1tpyxmt.svelte-1tpyxmt{opacity:0.65}.vehicle-menu-vehicle-item__crowns.svelte-1tpyxmt.svelte-1tpyxmt{position:absolute;display:none;top:0;right:0;width:100%;height:100%}.vehicle-menu-vehicle-item__title-row.svelte-1tpyxmt.svelte-1tpyxmt{z-index:2;display:inline-flex;align-items:center}.vehicle-menu-vehicle-item__title.svelte-1tpyxmt.svelte-1tpyxmt{font-family:PFDinDisplayProRegular;color:#FFFFFF;text-transform:uppercase;font-size:calc(0.0135416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-vehicle-item__title.svelte-1tpyxmt.svelte-1tpyxmt{font-size:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-vehicle-item__title.svelte-1tpyxmt.svelte-1tpyxmt{font-size:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-vehicle-item__title.svelte-1tpyxmt.svelte-1tpyxmt{font-size:calc(0.0104270833 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-vehicle-item__title.svelte-1tpyxmt.svelte-1tpyxmt{font-size:calc(0.0148958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-vehicle-item__title.svelte-1tpyxmt.svelte-1tpyxmt{font-size:calc(0.0094791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-vehicle-item__title.svelte-1tpyxmt.svelte-1tpyxmt{font-size:calc(0.0121875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-vehicle-item__title.svelte-1tpyxmt.svelte-1tpyxmt{font-size:calc(0.0148958333 * 100vw + 0px)}}.vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt.svelte-1tpyxmt{display:flex;align-items:center;justify-content:center;border-radius:50%;border-style:solid;width:calc(0.009375 * 100vw + 0px);height:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt.svelte-1tpyxmt{width:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt.svelte-1tpyxmt{width:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt.svelte-1tpyxmt{width:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt.svelte-1tpyxmt{width:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt.svelte-1tpyxmt{width:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt.svelte-1tpyxmt{width:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt.svelte-1tpyxmt{width:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt.svelte-1tpyxmt{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt.svelte-1tpyxmt{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt.svelte-1tpyxmt{height:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt.svelte-1tpyxmt{height:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt.svelte-1tpyxmt{height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt.svelte-1tpyxmt{height:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt.svelte-1tpyxmt{height:calc(0.0103125 * 100vw + 0px)}}.vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt.svelte-1tpyxmt:before{content:\"\";border-radius:50%;width:calc(0.00625 * 100vw + 0px);height:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt.svelte-1tpyxmt:before{width:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt.svelte-1tpyxmt:before{width:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt.svelte-1tpyxmt:before{width:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt.svelte-1tpyxmt:before{width:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt.svelte-1tpyxmt:before{width:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt.svelte-1tpyxmt:before{width:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt.svelte-1tpyxmt:before{width:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt.svelte-1tpyxmt:before{height:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt.svelte-1tpyxmt:before{height:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt.svelte-1tpyxmt:before{height:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt.svelte-1tpyxmt:before{height:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt.svelte-1tpyxmt:before{height:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt.svelte-1tpyxmt:before{height:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt.svelte-1tpyxmt:before{height:calc(0.006875 * 100vw + 0px)}}.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{display:flex;align-items:center;justify-content:center;font-family:PFDinDisplayProRegular;font-size:calc(0.0072916667 * 100vw + 0px);height:calc(0.015625 * 100vw + 0px);padding:calc(0.0041666667 * 100vw + 0px);padding-right:calc(0.0052083333 * 100vw + 0px);border-radius:calc(0.0130208333 * 100vw + 0px);gap:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{height:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{height:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{height:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{height:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{padding:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{padding:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{padding:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{padding:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{padding:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{padding:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{padding:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{padding-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{padding-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{padding-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{padding-right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{padding-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{padding-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{padding-right:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{gap:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{gap:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{gap:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{gap:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-vehicle-item__status.svelte-1tpyxmt.svelte-1tpyxmt{gap:calc(0.0028645833 * 100vw + 0px)}}.vehicle-menu-vehicle-item__status--notLoaded.svelte-1tpyxmt.svelte-1tpyxmt{color:rgba(255, 255, 255, 0.6);background-color:rgba(255, 255, 255, 0.2)}.vehicle-menu-vehicle-item__status--notLoaded.svelte-1tpyxmt .vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt{background-color:rgba(255, 255, 255, 0.2)}.vehicle-menu-vehicle-item__status--notLoaded.svelte-1tpyxmt .vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt:before{background-color:rgba(255, 255, 255, 0.6)}.vehicle-menu-vehicle-item__status--loaded.svelte-1tpyxmt.svelte-1tpyxmt{color:#60CA5D;background-color:rgba(96, 202, 93, 0.25)}.vehicle-menu-vehicle-item__status--loaded.svelte-1tpyxmt .vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt{background-color:rgba(96, 202, 93, 0.25)}.vehicle-menu-vehicle-item__status--loaded.svelte-1tpyxmt .vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt:before{background-color:#60CA5D}.vehicle-menu-vehicle-item__status--parked.svelte-1tpyxmt.svelte-1tpyxmt{color:#60CA5D;background-color:rgba(96, 202, 93, 0.25)}.vehicle-menu-vehicle-item__status--parked.svelte-1tpyxmt .vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt{background-color:rgba(96, 202, 93, 0.25)}.vehicle-menu-vehicle-item__status--parked.svelte-1tpyxmt .vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt:before{background-color:#60CA5D}.vehicle-menu-vehicle-item__status--arrested.svelte-1tpyxmt.svelte-1tpyxmt{color:#F34141;background-color:rgba(243, 65, 65, 0.2)}.vehicle-menu-vehicle-item__status--arrested.svelte-1tpyxmt .vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt{background-color:rgba(243, 65, 65, 0.2)}.vehicle-menu-vehicle-item__status--arrested.svelte-1tpyxmt .vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt:before{background-color:#F34141}.vehicle-menu-vehicle-item__status--rentgive.svelte-1tpyxmt.svelte-1tpyxmt{color:#FFCB5A;background-color:rgba(255, 203, 90, 0.25)}.vehicle-menu-vehicle-item__status--rentgive.svelte-1tpyxmt .vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt{background-color:rgba(255, 203, 90, 0.25)}.vehicle-menu-vehicle-item__status--rentgive.svelte-1tpyxmt .vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt:before{background-color:#FFCB5A}.vehicle-menu-vehicle-item__status--renttake.svelte-1tpyxmt.svelte-1tpyxmt{color:#FFCB5A;background-color:rgba(255, 203, 90, 0.25)}.vehicle-menu-vehicle-item__status--renttake.svelte-1tpyxmt .vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt{background-color:rgba(255, 203, 90, 0.25)}.vehicle-menu-vehicle-item__status--renttake.svelte-1tpyxmt .vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt:before{background-color:#FFCB5A}.vehicle-menu-vehicle-item__status--temp.svelte-1tpyxmt.svelte-1tpyxmt{color:#F34141;background-color:rgba(243, 65, 65, 0.2)}.vehicle-menu-vehicle-item__status--temp.svelte-1tpyxmt .vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt{background-color:rgba(243, 65, 65, 0.2)}.vehicle-menu-vehicle-item__status--temp.svelte-1tpyxmt .vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt:before{background-color:#F34141}.vehicle-menu-vehicle-item__status--stolen.svelte-1tpyxmt.svelte-1tpyxmt{color:#F34141;background-color:rgba(243, 65, 65, 0.2)}.vehicle-menu-vehicle-item__status--stolen.svelte-1tpyxmt .vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt{background-color:rgba(243, 65, 65, 0.2)}.vehicle-menu-vehicle-item__status--stolen.svelte-1tpyxmt .vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt:before{background-color:#F34141}.vehicle-menu-vehicle-item__status--repaircar.svelte-1tpyxmt.svelte-1tpyxmt{color:#FFCB5A;background-color:rgba(255, 203, 90, 0.25)}.vehicle-menu-vehicle-item__status--repaircar.svelte-1tpyxmt .vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt{background-color:rgba(255, 203, 90, 0.25)}.vehicle-menu-vehicle-item__status--repaircar.svelte-1tpyxmt .vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt:before{background-color:#FFCB5A}.vehicle-menu-vehicle-item__status--familycar.svelte-1tpyxmt.svelte-1tpyxmt{color:#60CA5D;background-color:rgba(96, 202, 93, 0.25)}.vehicle-menu-vehicle-item__status--familycar.svelte-1tpyxmt .vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt{background-color:rgba(96, 202, 93, 0.25)}.vehicle-menu-vehicle-item__status--familycar.svelte-1tpyxmt .vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt:before{background-color:#60CA5D}.vehicle-menu-vehicle-item__status--parkazt.svelte-1tpyxmt.svelte-1tpyxmt{color:#60CA5D;background-color:rgba(96, 202, 93, 0.25)}.vehicle-menu-vehicle-item__status--parkazt.svelte-1tpyxmt .vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt{background-color:rgba(96, 202, 93, 0.25)}.vehicle-menu-vehicle-item__status--parkazt.svelte-1tpyxmt .vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt:before{background-color:#60CA5D}.vehicle-menu-vehicle-item__status--parkra.svelte-1tpyxmt.svelte-1tpyxmt{color:#60CA5D;background-color:rgba(96, 202, 93, 0.25)}.vehicle-menu-vehicle-item__status--parkra.svelte-1tpyxmt .vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt{background-color:rgba(96, 202, 93, 0.25)}.vehicle-menu-vehicle-item__status--parkra.svelte-1tpyxmt .vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt:before{background-color:#60CA5D}.vehicle-menu-vehicle-item__status--parkbar.svelte-1tpyxmt.svelte-1tpyxmt{color:#60CA5D;background-color:rgba(96, 202, 93, 0.25)}.vehicle-menu-vehicle-item__status--parkbar.svelte-1tpyxmt .vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt{background-color:rgba(96, 202, 93, 0.25)}.vehicle-menu-vehicle-item__status--parkbar.svelte-1tpyxmt .vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt:before{background-color:#60CA5D}.vehicle-menu-vehicle-item__status--parkundeground.svelte-1tpyxmt.svelte-1tpyxmt{color:#60CA5D;background-color:rgba(96, 202, 93, 0.25)}.vehicle-menu-vehicle-item__status--parkundeground.svelte-1tpyxmt .vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt{background-color:rgba(96, 202, 93, 0.25)}.vehicle-menu-vehicle-item__status--parkundeground.svelte-1tpyxmt .vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt:before{background-color:#60CA5D}.vehicle-menu-vehicle-item__status--parkhouse.svelte-1tpyxmt.svelte-1tpyxmt{color:#60CA5D;background-color:rgba(96, 202, 93, 0.25)}.vehicle-menu-vehicle-item__status--parkhouse.svelte-1tpyxmt .vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt{background-color:rgba(96, 202, 93, 0.25)}.vehicle-menu-vehicle-item__status--parkhouse.svelte-1tpyxmt .vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt:before{background-color:#60CA5D}.vehicle-menu-vehicle-item__status--parkrent.svelte-1tpyxmt.svelte-1tpyxmt{color:#FFCB5A;background-color:rgba(255, 203, 90, 0.25)}.vehicle-menu-vehicle-item__status--parkrent.svelte-1tpyxmt .vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt{background-color:rgba(255, 203, 90, 0.25)}.vehicle-menu-vehicle-item__status--parkrent.svelte-1tpyxmt .vehicle-menu-vehicle-item__status-circle.svelte-1tpyxmt:before{background-color:#FFCB5A}.vehicle-menu-vehicle-item__labels.svelte-1tpyxmt.svelte-1tpyxmt{display:inline-flex;margin-top:calc(0.0078125 * 100vw + 0px);gap:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-vehicle-item__labels.svelte-1tpyxmt.svelte-1tpyxmt{margin-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-vehicle-item__labels.svelte-1tpyxmt.svelte-1tpyxmt{margin-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-vehicle-item__labels.svelte-1tpyxmt.svelte-1tpyxmt{margin-top:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-vehicle-item__labels.svelte-1tpyxmt.svelte-1tpyxmt{margin-top:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-vehicle-item__labels.svelte-1tpyxmt.svelte-1tpyxmt{margin-top:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-vehicle-item__labels.svelte-1tpyxmt.svelte-1tpyxmt{margin-top:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-vehicle-item__labels.svelte-1tpyxmt.svelte-1tpyxmt{margin-top:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-vehicle-item__labels.svelte-1tpyxmt.svelte-1tpyxmt{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-vehicle-item__labels.svelte-1tpyxmt.svelte-1tpyxmt{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-vehicle-item__labels.svelte-1tpyxmt.svelte-1tpyxmt{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-vehicle-item__labels.svelte-1tpyxmt.svelte-1tpyxmt{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-vehicle-item__labels.svelte-1tpyxmt.svelte-1tpyxmt{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-vehicle-item__labels.svelte-1tpyxmt.svelte-1tpyxmt{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-vehicle-item__labels.svelte-1tpyxmt.svelte-1tpyxmt{gap:calc(0.0057291667 * 100vw + 0px)}}.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{display:inline-flex;align-items:center;justify-content:center;font-family:PFDinDisplayProRegular;color:#FFFFFF;background-color:rgba(255, 255, 255, 0.1);height:calc(0.0234375 * 100vw + 0px);padding:calc(0.0078125 * 100vw + 0px);padding-right:calc(0.0083333333 * 100vw + 0px);border-radius:calc(0.0130208333 * 100vw + 0px);font-size:calc(0.0078125 * 100vw + 0px);gap:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{height:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{height:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{height:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{height:calc(0.02578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{padding:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{padding:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{padding:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{padding:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{padding:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{padding:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{padding:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{padding-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{padding-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{padding-right:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{padding-right:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{padding-right:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{padding-right:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{padding-right:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{font-size:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-vehicle-item__label.svelte-1tpyxmt.svelte-1tpyxmt{gap:calc(0.0057291667 * 100vw + 0px)}}.vehicle-menu-vehicle-item__label-icon.svelte-1tpyxmt.svelte-1tpyxmt{color:rgba(255, 255, 255, 0.5)}.vehicle-menu-vehicle-item__image-wrapper.svelte-1tpyxmt.svelte-1tpyxmt{position:absolute;right:0;top:50%;transform:translateY(-50%);width:calc(0.1041666667 * 100vw + 0px);z-index:1}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-vehicle-item__image-wrapper.svelte-1tpyxmt.svelte-1tpyxmt{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-vehicle-item__image-wrapper.svelte-1tpyxmt.svelte-1tpyxmt{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-vehicle-item__image-wrapper.svelte-1tpyxmt.svelte-1tpyxmt{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-vehicle-item__image-wrapper.svelte-1tpyxmt.svelte-1tpyxmt{width:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-vehicle-item__image-wrapper.svelte-1tpyxmt.svelte-1tpyxmt{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-vehicle-item__image-wrapper.svelte-1tpyxmt.svelte-1tpyxmt{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-vehicle-item__image-wrapper.svelte-1tpyxmt.svelte-1tpyxmt{width:calc(0.1145833333 * 100vw + 0px)}}.vehicle-menu-vehicle-item__image.svelte-1tpyxmt.svelte-1tpyxmt{transform:scaleX(-1) translateX(-50px);transform-origin:center;width:100%;object-fit:contain}");
}

function vehicle_item_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[1] = list[i];
	return child_ctx;
}

// (1341:2) {#each vehicleData.labels as label}
function vehicle_item_index_svelte_create_each_block(ctx) {
	let div1;
	let i;
	let i_class_value;
	let t0;
	let div0;
	let t1_value = /*label*/ ctx[1].title + "";
	let t1;
	let t2;

	return {
		c() {
			div1 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(i, "class", i_class_value = "vehicle-menu-vehicle-item__label-icon " + /*label*/ ctx[1].icon + " svelte-1tpyxmt");
			attr(div0, "class", "vehicle-menu-vehicle-item__label-value");
			attr(div1, "class", "vehicle-menu-vehicle-item__label svelte-1tpyxmt");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, i);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
			append(div1, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*vehicleData*/ 1 && i_class_value !== (i_class_value = "vehicle-menu-vehicle-item__label-icon " + /*label*/ ctx[1].icon + " svelte-1tpyxmt")) {
				attr(i, "class", i_class_value);
			}

			if (dirty & /*vehicleData*/ 1 && t1_value !== (t1_value = /*label*/ ctx[1].title + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

function vehicle_item_index_svelte_create_fragment(ctx) {
	let div8;
	let img0;
	let img0_src_value;
	let t0;
	let div5;
	let div0;
	let t1_value = /*vehicleData*/ ctx[0].title + "";
	let t1;
	let t2;
	let div4;
	let div3;
	let div1;
	let t3;
	let div2;
	let t4_value = MAP_STATUS_TO_NAME[/*vehicleData*/ ctx[0].status] + "";
	let t4;
	let div3_class_value;
	let t5;
	let div6;
	let t6;
	let div7;
	let img1;
	let img1_src_value;
	let img1_onerror_value;
	let div8_class_value;
	let each_value = /*vehicleData*/ ctx[0].labels;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = vehicle_item_index_svelte_create_each_block(vehicle_item_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div8 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			div5 = internal_element("div");
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			div4 = internal_element("div");
			div3 = internal_element("div");
			div1 = internal_element("div");
			t3 = space();
			div2 = internal_element("div");
			t4 = internal_text(t4_value);
			t5 = space();
			div6 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t6 = space();
			div7 = internal_element("div");
			img1 = internal_element("img");
			attr(img0, "class", "vehicle-menu-vehicle-item__crowns svelte-1tpyxmt");
			if (!src_url_equal(img0.src, img0_src_value = crowns_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "crowns");
			attr(div0, "class", "vehicle-menu-vehicle-item__title svelte-1tpyxmt");
			attr(div1, "class", "vehicle-menu-vehicle-item__status-circle svelte-1tpyxmt");
			attr(div2, "class", "vehicle-menu-vehicle-item__status-name");
			attr(div3, "class", div3_class_value = "vehicle-menu-vehicle-item__status vehicle-menu-vehicle-item__status--" + /*vehicleData*/ ctx[0].status + " svelte-1tpyxmt");
			attr(div4, "class", "vehicle-menu-vehicle-item__status svelte-1tpyxmt");
			attr(div5, "class", "vehicle-menu-vehicle-item__title-row svelte-1tpyxmt");
			attr(div6, "class", "vehicle-menu-vehicle-item__labels svelte-1tpyxmt");
			if (!src_url_equal(img1.src, img1_src_value = `${cdn_CDN_URL_RODINA}/assets/images/inventory/vehicles/512/${/*vehicleData*/ ctx[0].sysName}.webp`)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "cover");
			attr(img1, "onerror", img1_onerror_value = "this.onerror=null; this.src='" + cdn_CDN_URL_RODINA + "/assets/images/inventory/vehicles/512/none.webp';");
			attr(img1, "class", "vehicle-menu-vehicle-item__image svelte-1tpyxmt");
			attr(div7, "class", "vehicle-menu-vehicle-item__image-wrapper svelte-1tpyxmt");
			attr(div8, "class", div8_class_value = "vehicle-menu-vehicle-item vehicle-menu-vehicle-item--" + /*vehicleData*/ ctx[0].rarity + " svelte-1tpyxmt");
			toggle_class(div8, "vehicle-menu-vehicle-item--not-loaded", /*vehicleData*/ ctx[0].status !== VehicleStatus.Loaded);
		},
		m(target, anchor) {
			insert(target, div8, anchor);
			append(div8, img0);
			append(div8, t0);
			append(div8, div5);
			append(div5, div0);
			append(div0, t1);
			append(div5, t2);
			append(div5, div4);
			append(div4, div3);
			append(div3, div1);
			append(div3, t3);
			append(div3, div2);
			append(div2, t4);
			append(div8, t5);
			append(div8, div6);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div6, null);
			}

			append(div8, t6);
			append(div8, div7);
			append(div7, img1);
		},
		p(ctx, [dirty]) {
			if (dirty & /*vehicleData*/ 1 && t1_value !== (t1_value = /*vehicleData*/ ctx[0].title + "")) set_data(t1, t1_value);
			if (dirty & /*vehicleData*/ 1 && t4_value !== (t4_value = MAP_STATUS_TO_NAME[/*vehicleData*/ ctx[0].status] + "")) set_data(t4, t4_value);

			if (dirty & /*vehicleData*/ 1 && div3_class_value !== (div3_class_value = "vehicle-menu-vehicle-item__status vehicle-menu-vehicle-item__status--" + /*vehicleData*/ ctx[0].status + " svelte-1tpyxmt")) {
				attr(div3, "class", div3_class_value);
			}

			if (dirty & /*vehicleData*/ 1) {
				each_value = /*vehicleData*/ ctx[0].labels;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = vehicle_item_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = vehicle_item_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div6, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if (dirty & /*vehicleData*/ 1 && !src_url_equal(img1.src, img1_src_value = `${cdn_CDN_URL_RODINA}/assets/images/inventory/vehicles/512/${/*vehicleData*/ ctx[0].sysName}.webp`)) {
				attr(img1, "src", img1_src_value);
			}

			if (dirty & /*vehicleData*/ 1 && div8_class_value !== (div8_class_value = "vehicle-menu-vehicle-item vehicle-menu-vehicle-item--" + /*vehicleData*/ ctx[0].rarity + " svelte-1tpyxmt")) {
				attr(div8, "class", div8_class_value);
			}

			if (dirty & /*vehicleData, vehicleData, VehicleStatus*/ 1) {
				toggle_class(div8, "vehicle-menu-vehicle-item--not-loaded", /*vehicleData*/ ctx[0].status !== VehicleStatus.Loaded);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div8);
			destroy_each(each_blocks, detaching);
		}
	};
}

function vehicle_item_index_svelte_instance($$self, $$props, $$invalidate) {
	let { vehicleData = {} } = $$props;

	$$self.$$set = $$props => {
		if ('vehicleData' in $$props) $$invalidate(0, vehicleData = $$props.vehicleData);
	};

	return [vehicleData];
}

class Vehicle_item extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, vehicle_item_index_svelte_instance, vehicle_item_index_svelte_create_fragment, safe_not_equal, { vehicleData: 0 }, vehicle_item_index_svelte_add_css);
	}
}

/* harmony default export */ const vehicle_item_index_svelte = (Vehicle_item);
;// CONCATENATED MODULE: ./src/modals/vehicle-menu/components/list/index.svelte
/* src\modals\vehicle-menu\components\list\index.svelte generated by Svelte v3.49.0 */





function list_index_svelte_add_css(target) {
	append_styles(target, "svelte-1nydz6b", "@keyframes svelte-1nydz6b-blinking{50%{opacity:0}}@keyframes svelte-1nydz6b-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1nydz6b-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1nydz6b-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1nydz6b-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1nydz6b-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1nydz6b-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1nydz6b-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1nydz6b-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1nydz6b-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1nydz6b-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1nydz6b-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1nydz6b-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1nydz6b-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1nydz6b-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b{width:100%;height:100%;overflow-y:scroll;padding-right:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b{padding-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b{padding-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b{padding-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b{padding-right:calc(0.0143229167 * 100vw + 0px)}}.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b::-webkit-scrollbar{height:0;width:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b::-webkit-scrollbar{width:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b::-webkit-scrollbar{width:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b::-webkit-scrollbar{width:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b::-webkit-scrollbar{width:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b::-webkit-scrollbar{width:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b::-webkit-scrollbar{width:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b::-webkit-scrollbar{width:calc(0.0045833333 * 100vw + 0px)}}.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b::-webkit-scrollbar-button{display:none}.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.15)}.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b::-webkit-scrollbar-track-piece{background:rgba(255, 255, 255, 0.15);border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b::-webkit-scrollbar-track-piece{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b::-webkit-scrollbar-track-piece{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b::-webkit-scrollbar-track-piece{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b::-webkit-scrollbar-track-piece{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b::-webkit-scrollbar-track-piece{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b::-webkit-scrollbar-track-piece{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b::-webkit-scrollbar-track-piece{border-radius:calc(0.0028645833 * 100vw + 0px)}}.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b::-webkit-scrollbar-thumb{background:#FFFFFF;border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b::-webkit-scrollbar-thumb{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b::-webkit-scrollbar-thumb{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b::-webkit-scrollbar-thumb{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b::-webkit-scrollbar-thumb{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b::-webkit-scrollbar-thumb{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b::-webkit-scrollbar-thumb{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b::-webkit-scrollbar-thumb{border-radius:calc(0.0028645833 * 100vw + 0px)}}.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b::-webkit-scrollbar-corner{background-color:rgba(255, 255, 255, 0.15)}.vehicle-menu-list.svelte-1nydz6b.svelte-1nydz6b::-webkit-resizer{background-color:rgba(255, 255, 255, 0.15)}.vehicle-menu-list__item.svelte-1nydz6b.svelte-1nydz6b{margin-bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-list__item.svelte-1nydz6b.svelte-1nydz6b{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-list__item.svelte-1nydz6b.svelte-1nydz6b{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-list__item.svelte-1nydz6b.svelte-1nydz6b{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-list__item.svelte-1nydz6b.svelte-1nydz6b{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-list__item.svelte-1nydz6b.svelte-1nydz6b{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-list__item.svelte-1nydz6b.svelte-1nydz6b{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-list__item.svelte-1nydz6b.svelte-1nydz6b{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.vehicle-menu-list__item-rarity.svelte-1nydz6b.svelte-1nydz6b{display:flex;align-items:center;justify-content:center;width:100%;gap:calc(0.0052083333 * 100vw + 0px);border-bottom-left-radius:calc(0.0020833333 * 100vw + 0px);border-bottom-right-radius:calc(0.0020833333 * 100vw + 0px);height:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-list__item-rarity.svelte-1nydz6b.svelte-1nydz6b{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-list__item-rarity.svelte-1nydz6b.svelte-1nydz6b{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-list__item-rarity.svelte-1nydz6b.svelte-1nydz6b{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-list__item-rarity.svelte-1nydz6b.svelte-1nydz6b{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-list__item-rarity.svelte-1nydz6b.svelte-1nydz6b{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-list__item-rarity.svelte-1nydz6b.svelte-1nydz6b{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-list__item-rarity.svelte-1nydz6b.svelte-1nydz6b{gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-list__item-rarity.svelte-1nydz6b.svelte-1nydz6b{border-bottom-left-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-list__item-rarity.svelte-1nydz6b.svelte-1nydz6b{border-bottom-left-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-list__item-rarity.svelte-1nydz6b.svelte-1nydz6b{border-bottom-left-radius:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-list__item-rarity.svelte-1nydz6b.svelte-1nydz6b{border-bottom-left-radius:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-list__item-rarity.svelte-1nydz6b.svelte-1nydz6b{border-bottom-left-radius:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-list__item-rarity.svelte-1nydz6b.svelte-1nydz6b{border-bottom-left-radius:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-list__item-rarity.svelte-1nydz6b.svelte-1nydz6b{border-bottom-left-radius:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-list__item-rarity.svelte-1nydz6b.svelte-1nydz6b{border-bottom-right-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-list__item-rarity.svelte-1nydz6b.svelte-1nydz6b{border-bottom-right-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-list__item-rarity.svelte-1nydz6b.svelte-1nydz6b{border-bottom-right-radius:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-list__item-rarity.svelte-1nydz6b.svelte-1nydz6b{border-bottom-right-radius:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-list__item-rarity.svelte-1nydz6b.svelte-1nydz6b{border-bottom-right-radius:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-list__item-rarity.svelte-1nydz6b.svelte-1nydz6b{border-bottom-right-radius:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-list__item-rarity.svelte-1nydz6b.svelte-1nydz6b{border-bottom-right-radius:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-list__item-rarity.svelte-1nydz6b.svelte-1nydz6b{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-list__item-rarity.svelte-1nydz6b.svelte-1nydz6b{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-list__item-rarity.svelte-1nydz6b.svelte-1nydz6b{height:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-list__item-rarity.svelte-1nydz6b.svelte-1nydz6b{height:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-list__item-rarity.svelte-1nydz6b.svelte-1nydz6b{height:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-list__item-rarity.svelte-1nydz6b.svelte-1nydz6b{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-list__item-rarity.svelte-1nydz6b.svelte-1nydz6b{height:calc(0.0171875 * 100vw + 0px)}}.vehicle-menu-list__item-rarity--tier1.svelte-1nydz6b.svelte-1nydz6b{background:linear-gradient(90deg, rgba(255, 255, 255, 0) 49.69%, #FFFFFF 100%), #8F8F8F}.vehicle-menu-list__item-rarity--tier1.svelte-1nydz6b .vehicle-menu-list__item-rarity-title.svelte-1nydz6b{color:#111111}.vehicle-menu-list__item-rarity--tier2.svelte-1nydz6b.svelte-1nydz6b{background:linear-gradient(90deg, rgba(255, 255, 255, 0) 70.69%, #FFFFFF 110%), #00FFFF}.vehicle-menu-list__item-rarity--tier2.svelte-1nydz6b .vehicle-menu-list__item-rarity-title.svelte-1nydz6b{color:#004D4D}.vehicle-menu-list__item-rarity--tier3.svelte-1nydz6b.svelte-1nydz6b{background:#FFCC00}.vehicle-menu-list__item-rarity--tier3.svelte-1nydz6b .vehicle-menu-list__item-rarity-title.svelte-1nydz6b{color:#672400}.vehicle-menu-list__item-rarity--top.svelte-1nydz6b.svelte-1nydz6b{background:#FFCC00}.vehicle-menu-list__item-rarity--top.svelte-1nydz6b .vehicle-menu-list__item-rarity-title.svelte-1nydz6b{color:#672400}.vehicle-menu-list__item-rarity-icon.svelte-1nydz6b.svelte-1nydz6b{color:#111111;font-size:calc(0.0114583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-list__item-rarity-icon.svelte-1nydz6b.svelte-1nydz6b{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-list__item-rarity-icon.svelte-1nydz6b.svelte-1nydz6b{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-list__item-rarity-icon.svelte-1nydz6b.svelte-1nydz6b{font-size:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-list__item-rarity-icon.svelte-1nydz6b.svelte-1nydz6b{font-size:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-list__item-rarity-icon.svelte-1nydz6b.svelte-1nydz6b{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-list__item-rarity-icon.svelte-1nydz6b.svelte-1nydz6b{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-list__item-rarity-icon.svelte-1nydz6b.svelte-1nydz6b{font-size:calc(0.0126041667 * 100vw + 0px)}}.vehicle-menu-list__item-rarity-title.svelte-1nydz6b.svelte-1nydz6b{font-family:\"HeadingNowMedium\";text-transform:uppercase;font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-list__item-rarity-title.svelte-1nydz6b.svelte-1nydz6b{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-list__item-rarity-title.svelte-1nydz6b.svelte-1nydz6b{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-list__item-rarity-title.svelte-1nydz6b.svelte-1nydz6b{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-list__item-rarity-title.svelte-1nydz6b.svelte-1nydz6b{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-list__item-rarity-title.svelte-1nydz6b.svelte-1nydz6b{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-list__item-rarity-title.svelte-1nydz6b.svelte-1nydz6b{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-list__item-rarity-title.svelte-1nydz6b.svelte-1nydz6b{font-size:calc(0.0080208333 * 100vw + 0px)}}");
}

function components_list_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[3] = list[i];
	return child_ctx;
}

// (635:4) {#if vehicle.rarity === 'top'}
function components_list_index_svelte_create_if_block(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "vehicle-menu-list__item-rarity-icon icon-transport-crown svelte-1nydz6b");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (631:1) {#each vehicleList as vehicle}
function components_list_index_svelte_create_each_block(ctx) {
	let div1;
	let vehicleitem;
	let t0;
	let div0;
	let t1;
	let p;
	let t2_value = MAP_RARITY_TO_TITLE[/*vehicle*/ ctx[3].rarity] + "";
	let t2;
	let t3;

	let t4_value = (/*vehicle*/ ctx[3].rarity !== Rarity.Unknown
	? `(${/*vehicle*/ ctx[3].rarityLevel})`
	: '') + "";

	let t4;
	let div0_class_value;
	let t5;
	let current;
	let mounted;
	let dispose;

	vehicleitem = new vehicle_item_index_svelte({
			props: { vehicleData: /*vehicle*/ ctx[3] }
		});

	let if_block = /*vehicle*/ ctx[3].rarity === 'top' && components_list_index_svelte_create_if_block(ctx);

	function click_handler() {
		return /*click_handler*/ ctx[2](/*vehicle*/ ctx[3]);
	}

	return {
		c() {
			div1 = internal_element("div");
			create_component(vehicleitem.$$.fragment);
			t0 = space();
			div0 = internal_element("div");
			if (if_block) if_block.c();
			t1 = space();
			p = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = space();
			t4 = internal_text(t4_value);
			t5 = space();
			attr(p, "class", "vehicle-menu-list__item-rarity-title svelte-1nydz6b");
			attr(div0, "class", div0_class_value = "vehicle-menu-list__item-rarity vehicle-menu-list__item-rarity--" + /*vehicle*/ ctx[3].rarity + " svelte-1nydz6b");
			attr(div1, "class", "vehicle-menu-list__item svelte-1nydz6b");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			mount_component(vehicleitem, div1, null);
			append(div1, t0);
			append(div1, div0);
			if (if_block) if_block.m(div0, null);
			append(div0, t1);
			append(div0, p);
			append(p, t2);
			append(p, t3);
			append(p, t4);
			append(div1, t5);
			current = true;

			if (!mounted) {
				dispose = listen(div1, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			const vehicleitem_changes = {};
			if (dirty & /*vehicleList*/ 1) vehicleitem_changes.vehicleData = /*vehicle*/ ctx[3];
			vehicleitem.$set(vehicleitem_changes);

			if (/*vehicle*/ ctx[3].rarity === 'top') {
				if (if_block) {
					
				} else {
					if_block = components_list_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div0, t1);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if ((!current || dirty & /*vehicleList*/ 1) && t2_value !== (t2_value = MAP_RARITY_TO_TITLE[/*vehicle*/ ctx[3].rarity] + "")) set_data(t2, t2_value);

			if ((!current || dirty & /*vehicleList*/ 1) && t4_value !== (t4_value = (/*vehicle*/ ctx[3].rarity !== Rarity.Unknown
			? `(${/*vehicle*/ ctx[3].rarityLevel})`
			: '') + "")) set_data(t4, t4_value);

			if (!current || dirty & /*vehicleList*/ 1 && div0_class_value !== (div0_class_value = "vehicle-menu-list__item-rarity vehicle-menu-list__item-rarity--" + /*vehicle*/ ctx[3].rarity + " svelte-1nydz6b")) {
				attr(div0, "class", div0_class_value);
			}
		},
		i(local) {
			if (current) return;
			transition_in(vehicleitem.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(vehicleitem.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			destroy_component(vehicleitem);
			if (if_block) if_block.d();
			mounted = false;
			dispose();
		}
	};
}

function components_list_index_svelte_create_fragment(ctx) {
	let div;
	let current;
	let each_value = /*vehicleList*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = components_list_index_svelte_create_each_block(components_list_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "vehicle-menu-list svelte-1nydz6b");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}

			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*onSelect, vehicleList, Rarity, MAP_RARITY_TO_TITLE*/ 3) {
				each_value = /*vehicleList*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = components_list_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = components_list_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

function components_list_index_svelte_instance($$self, $$props, $$invalidate) {
	let { vehicleList = [] } = $$props;

	let { onSelect = () => {
		
	} } = $$props;

	const click_handler = vehicle => onSelect(vehicle.id);

	$$self.$$set = $$props => {
		if ('vehicleList' in $$props) $$invalidate(0, vehicleList = $$props.vehicleList);
		if ('onSelect' in $$props) $$invalidate(1, onSelect = $$props.onSelect);
	};

	return [vehicleList, onSelect, click_handler];
}

class index_svelte_List extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, components_list_index_svelte_instance, components_list_index_svelte_create_fragment, safe_not_equal, { vehicleList: 0, onSelect: 1 }, list_index_svelte_add_css);
	}
}

/* harmony default export */ const components_list_index_svelte = (index_svelte_List);
;// CONCATENATED MODULE: ./src/components/tooltip-bonuses/index.svelte
/* src\components\tooltip-bonuses\index.svelte generated by Svelte v3.49.0 */




function tooltip_bonuses_index_svelte_add_css(target) {
	append_styles(target, "svelte-138szbh", "@charset \"UTF-8\";@keyframes svelte-138szbh-blinking{50%{opacity:0}}@keyframes svelte-138szbh-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-138szbh-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-138szbh-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-138szbh-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-138szbh-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-138szbh-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-138szbh-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-138szbh-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-138szbh-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-138szbh-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-138szbh-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-138szbh-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-138szbh-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-138szbh-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.tooltip.svelte-138szbh.svelte-138szbh{z-index:1000;position:absolute;display:flex;flex-direction:column;pointer-events:none;background:#F0F0F0;color:#223144;font-family:\"HeadingNowRegular\";font-size:calc(0.0072916667 * 100vw + 0px);gap:calc(0.0026041667 * 100vw + 0px);border-top-left-radius:calc(0.0020833333 * 100vw + 0px);border-top-right-radius:calc(0.0083333333 * 100vw + 0px);border-bottom-right-radius:calc(0.0083333333 * 100vw + 0px);border-bottom-left-radius:calc(0.0083333333 * 100vw + 0px);padding:calc(0.0083333333 * 100vw + 0px);width:calc(0.16875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.tooltip.svelte-138szbh.svelte-138szbh{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip.svelte-138szbh.svelte-138szbh{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip.svelte-138szbh.svelte-138szbh{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip.svelte-138szbh.svelte-138szbh{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip.svelte-138szbh.svelte-138szbh{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip.svelte-138szbh.svelte-138szbh{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip.svelte-138szbh.svelte-138szbh{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tooltip.svelte-138szbh.svelte-138szbh{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip.svelte-138szbh.svelte-138szbh{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip.svelte-138szbh.svelte-138szbh{gap:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip.svelte-138szbh.svelte-138szbh{gap:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip.svelte-138szbh.svelte-138szbh{gap:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip.svelte-138szbh.svelte-138szbh{gap:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip.svelte-138szbh.svelte-138szbh{gap:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tooltip.svelte-138szbh.svelte-138szbh{border-top-left-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip.svelte-138szbh.svelte-138szbh{border-top-left-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip.svelte-138szbh.svelte-138szbh{border-top-left-radius:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip.svelte-138szbh.svelte-138szbh{border-top-left-radius:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip.svelte-138szbh.svelte-138szbh{border-top-left-radius:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip.svelte-138szbh.svelte-138szbh{border-top-left-radius:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip.svelte-138szbh.svelte-138szbh{border-top-left-radius:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tooltip.svelte-138szbh.svelte-138szbh{border-top-right-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip.svelte-138szbh.svelte-138szbh{border-top-right-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip.svelte-138szbh.svelte-138szbh{border-top-right-radius:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip.svelte-138szbh.svelte-138szbh{border-top-right-radius:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip.svelte-138szbh.svelte-138szbh{border-top-right-radius:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip.svelte-138szbh.svelte-138szbh{border-top-right-radius:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip.svelte-138szbh.svelte-138szbh{border-top-right-radius:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tooltip.svelte-138szbh.svelte-138szbh{border-bottom-right-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip.svelte-138szbh.svelte-138szbh{border-bottom-right-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip.svelte-138szbh.svelte-138szbh{border-bottom-right-radius:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip.svelte-138szbh.svelte-138szbh{border-bottom-right-radius:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip.svelte-138szbh.svelte-138szbh{border-bottom-right-radius:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip.svelte-138szbh.svelte-138szbh{border-bottom-right-radius:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip.svelte-138szbh.svelte-138szbh{border-bottom-right-radius:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tooltip.svelte-138szbh.svelte-138szbh{border-bottom-left-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip.svelte-138szbh.svelte-138szbh{border-bottom-left-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip.svelte-138szbh.svelte-138szbh{border-bottom-left-radius:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip.svelte-138szbh.svelte-138szbh{border-bottom-left-radius:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip.svelte-138szbh.svelte-138szbh{border-bottom-left-radius:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip.svelte-138szbh.svelte-138szbh{border-bottom-left-radius:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip.svelte-138szbh.svelte-138szbh{border-bottom-left-radius:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tooltip.svelte-138szbh.svelte-138szbh{padding:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip.svelte-138szbh.svelte-138szbh{padding:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip.svelte-138szbh.svelte-138szbh{padding:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip.svelte-138szbh.svelte-138szbh{padding:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip.svelte-138szbh.svelte-138szbh{padding:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip.svelte-138szbh.svelte-138szbh{padding:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip.svelte-138szbh.svelte-138szbh{padding:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tooltip.svelte-138szbh.svelte-138szbh{width:calc(0.16875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip.svelte-138szbh.svelte-138szbh{width:calc(0.16875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip.svelte-138szbh.svelte-138szbh{width:calc(0.1299375 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip.svelte-138szbh.svelte-138szbh{width:calc(0.185625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip.svelte-138szbh.svelte-138szbh{width:calc(0.118125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip.svelte-138szbh.svelte-138szbh{width:calc(0.151875 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip.svelte-138szbh.svelte-138szbh{width:calc(0.185625 * 100vw + 0px)}}.tooltip__tier.svelte-138szbh.svelte-138szbh{display:flex;align-items:center;justify-content:center;width:fit-content;gap:calc(0.0057291667 * 100vw + 0px);border-radius:calc(0.0020833333 * 100vw + 0px);padding:calc(0.0052083333 * 100vw + 0px) calc(0.003125 * 100vw + 0px);height:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.tooltip__tier.svelte-138szbh.svelte-138szbh{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip__tier.svelte-138szbh.svelte-138szbh{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip__tier.svelte-138szbh.svelte-138szbh{gap:calc(0.0044114583 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip__tier.svelte-138szbh.svelte-138szbh{gap:calc(0.0063020833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip__tier.svelte-138szbh.svelte-138szbh{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip__tier.svelte-138szbh.svelte-138szbh{gap:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip__tier.svelte-138szbh.svelte-138szbh{gap:calc(0.0063020833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tooltip__tier.svelte-138szbh.svelte-138szbh{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip__tier.svelte-138szbh.svelte-138szbh{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip__tier.svelte-138szbh.svelte-138szbh{border-radius:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip__tier.svelte-138szbh.svelte-138szbh{border-radius:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip__tier.svelte-138szbh.svelte-138szbh{border-radius:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip__tier.svelte-138szbh.svelte-138szbh{border-radius:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip__tier.svelte-138szbh.svelte-138szbh{border-radius:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tooltip__tier.svelte-138szbh.svelte-138szbh{padding:calc(0.0052083333 * 100vw + 0px) calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip__tier.svelte-138szbh.svelte-138szbh{padding:calc(0.0052083333 * 100vw + 0px) calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip__tier.svelte-138szbh.svelte-138szbh{padding:calc(0.0040104167 * 100vw + 0px) calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip__tier.svelte-138szbh.svelte-138szbh{padding:calc(0.0057291667 * 100vw + 0px) calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip__tier.svelte-138szbh.svelte-138szbh{padding:calc(0.0036458333 * 100vw + 0px) calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip__tier.svelte-138szbh.svelte-138szbh{padding:calc(0.0046875 * 100vw + 0px) calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip__tier.svelte-138szbh.svelte-138szbh{padding:calc(0.0057291667 * 100vw + 0px) calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tooltip__tier.svelte-138szbh.svelte-138szbh{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip__tier.svelte-138szbh.svelte-138szbh{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip__tier.svelte-138szbh.svelte-138szbh{height:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip__tier.svelte-138szbh.svelte-138szbh{height:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip__tier.svelte-138szbh.svelte-138szbh{height:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip__tier.svelte-138szbh.svelte-138szbh{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip__tier.svelte-138szbh.svelte-138szbh{height:calc(0.0171875 * 100vw + 0px)}}.tooltip__tier--tier1.svelte-138szbh.svelte-138szbh{background:linear-gradient(90deg, rgba(255, 255, 255, 0) 49.69%, #FFFFFF 100%), #8F8F8F}.tooltip__tier--tier1.svelte-138szbh .tooltip__tier-title.svelte-138szbh{color:#111111}.tooltip__tier--tier2.svelte-138szbh.svelte-138szbh{background:linear-gradient(90deg, rgba(255, 255, 255, 0) 70.69%, #FFFFFF 110%), #00FFFF}.tooltip__tier--tier2.svelte-138szbh .tooltip__tier-title.svelte-138szbh{color:#004D4D}.tooltip__tier--tier3.svelte-138szbh.svelte-138szbh{background:#FFCC00}.tooltip__tier--tier3.svelte-138szbh .tooltip__tier-title.svelte-138szbh{color:#672400}.tooltip__tier--random.svelte-138szbh.svelte-138szbh{background:#223144}.tooltip__tier--random.svelte-138szbh .tooltip__tier-title.svelte-138szbh{color:#FFCC00}.tooltip__tier-icon.svelte-138szbh.svelte-138szbh{color:#FFCC00;font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.tooltip__tier-icon.svelte-138szbh.svelte-138szbh{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip__tier-icon.svelte-138szbh.svelte-138szbh{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip__tier-icon.svelte-138szbh.svelte-138szbh{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip__tier-icon.svelte-138szbh.svelte-138szbh{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip__tier-icon.svelte-138szbh.svelte-138szbh{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip__tier-icon.svelte-138szbh.svelte-138szbh{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip__tier-icon.svelte-138szbh.svelte-138szbh{font-size:calc(0.0080208333 * 100vw + 0px)}}.tooltip__tier-title.svelte-138szbh.svelte-138szbh{font-family:\"HeadingNowMedium\";text-transform:uppercase;font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.tooltip__tier-title.svelte-138szbh.svelte-138szbh{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip__tier-title.svelte-138szbh.svelte-138szbh{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip__tier-title.svelte-138szbh.svelte-138szbh{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip__tier-title.svelte-138szbh.svelte-138szbh{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip__tier-title.svelte-138szbh.svelte-138szbh{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip__tier-title.svelte-138szbh.svelte-138szbh{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip__tier-title.svelte-138szbh.svelte-138szbh{font-size:calc(0.0080208333 * 100vw + 0px)}}.tooltip__list.svelte-138szbh.svelte-138szbh{list-style:none;padding-left:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.tooltip__list.svelte-138szbh.svelte-138szbh{padding-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip__list.svelte-138szbh.svelte-138szbh{padding-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip__list.svelte-138szbh.svelte-138szbh{padding-left:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip__list.svelte-138szbh.svelte-138szbh{padding-left:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip__list.svelte-138szbh.svelte-138szbh{padding-left:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip__list.svelte-138szbh.svelte-138szbh{padding-left:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip__list.svelte-138szbh.svelte-138szbh{padding-left:calc(0.0103125 * 100vw + 0px)}}.tooltip__item.svelte-138szbh.svelte-138szbh{position:relative;margin-bottom:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.tooltip__item.svelte-138szbh.svelte-138szbh{margin-bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip__item.svelte-138szbh.svelte-138szbh{margin-bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip__item.svelte-138szbh.svelte-138szbh{margin-bottom:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip__item.svelte-138szbh.svelte-138szbh{margin-bottom:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip__item.svelte-138szbh.svelte-138szbh{margin-bottom:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip__item.svelte-138szbh.svelte-138szbh{margin-bottom:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip__item.svelte-138szbh.svelte-138szbh{margin-bottom:calc(0.0028645833 * 100vw + 0px)}}.tooltip__item.svelte-138szbh.svelte-138szbh::before{content:\"•\";position:absolute;display:var(--displayDot);color:#223144;top:50%;transform:translateY(-40%);font-size:calc(0.015625 * 100vw + 0px);left:calc(-0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.tooltip__item.svelte-138szbh.svelte-138szbh::before{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip__item.svelte-138szbh.svelte-138szbh::before{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip__item.svelte-138szbh.svelte-138szbh::before{font-size:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip__item.svelte-138szbh.svelte-138szbh::before{font-size:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip__item.svelte-138szbh.svelte-138szbh::before{font-size:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip__item.svelte-138szbh.svelte-138szbh::before{font-size:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip__item.svelte-138szbh.svelte-138szbh::before{font-size:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tooltip__item.svelte-138szbh.svelte-138szbh::before{left:calc(-0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip__item.svelte-138szbh.svelte-138szbh::before{left:calc(-0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip__item.svelte-138szbh.svelte-138szbh::before{left:calc(-0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip__item.svelte-138szbh.svelte-138szbh::before{left:calc(-0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip__item.svelte-138szbh.svelte-138szbh::before{left:calc(-0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip__item.svelte-138szbh.svelte-138szbh::before{left:calc(-0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip__item.svelte-138szbh.svelte-138szbh::before{left:calc(-0.00859375 * 100vw + 0px)}}.tooltip__item.svelte-138szbh.svelte-138szbh:last-child{margin-bottom:0}.tooltip__item.svelte-138szbh span{font-family:\"HeadingNowMedium\";font-size:calc(0.00625 * 100vw + 0px);border-radius:calc(0.0020833333 * 100vw + 0px);padding:calc(0.0005208333 * 100vw + 0px) calc(0.0020833333 * 100vw + 0px);margin-left:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.tooltip__item.svelte-138szbh span{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip__item.svelte-138szbh span{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip__item.svelte-138szbh span{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip__item.svelte-138szbh span{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip__item.svelte-138szbh span{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip__item.svelte-138szbh span{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip__item.svelte-138szbh span{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tooltip__item.svelte-138szbh span{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip__item.svelte-138szbh span{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip__item.svelte-138szbh span{border-radius:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip__item.svelte-138szbh span{border-radius:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip__item.svelte-138szbh span{border-radius:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip__item.svelte-138szbh span{border-radius:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip__item.svelte-138szbh span{border-radius:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tooltip__item.svelte-138szbh span{padding:calc(0.0005208333 * 100vw + 0px) calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip__item.svelte-138szbh span{padding:calc(0.0005208333 * 100vw + 0px) calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip__item.svelte-138szbh span{padding:calc(0.0004010417 * 100vw + 0px) calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip__item.svelte-138szbh span{padding:calc(0.0005729167 * 100vw + 0px) calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip__item.svelte-138szbh span{padding:calc(0.0003645833 * 100vw + 0px) calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip__item.svelte-138szbh span{padding:calc(0.00046875 * 100vw + 0px) calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip__item.svelte-138szbh span{padding:calc(0.0005729167 * 100vw + 0px) calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tooltip__item.svelte-138szbh span{margin-left:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip__item.svelte-138szbh span{margin-left:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip__item.svelte-138szbh span{margin-left:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip__item.svelte-138szbh span{margin-left:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip__item.svelte-138szbh span{margin-left:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip__item.svelte-138szbh span{margin-left:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip__item.svelte-138szbh span{margin-left:calc(0.0022916667 * 100vw + 0px)}}.tooltip__item--tier1.svelte-138szbh span{background-color:#9A9A9A;color:#111111}.tooltip__item--tier2.svelte-138szbh span{background-color:#00FFFF;color:#004D4D}.tooltip__item--tier3.svelte-138szbh span{background-color:#FFCC00;color:#111111}.tooltip__item--random.svelte-138szbh span{background-color:#223144;color:#FFCC00}");
}

function tooltip_bonuses_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[11] = list[i];
	return child_ctx;
}

// (1052:0) {#if !isEmpty(bonuses)}
function tooltip_bonuses_index_svelte_create_if_block(ctx) {
	let div;
	let t0;
	let t1;
	let ul;
	let if_block0 = /*isShowRarityPlate*/ ctx[4] && tooltip_bonuses_index_svelte_create_if_block_2(ctx);
	let if_block1 = /*isShowBonusesHeader*/ ctx[6] && tooltip_bonuses_index_svelte_create_if_block_1(ctx);
	let each_value = /*bonuses*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = tooltip_bonuses_index_svelte_create_each_block(tooltip_bonuses_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			if (if_block1) if_block1.c();
			t1 = space();
			ul = internal_element("ul");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(ul, "class", "tooltip__list svelte-138szbh");
			attr(div, "class", "tooltip svelte-138szbh");
			set_style(div, "top", /*y*/ ctx[8] + /*offsetY*/ ctx[10] + "px");
			set_style(div, "left", /*x*/ ctx[7] - /*offsetX*/ ctx[9] + "px");
			set_style(div, "--displayDot", /*isDottedList*/ ctx[5] ? 'block' : 'none');
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block0) if_block0.m(div, null);
			append(div, t0);
			if (if_block1) if_block1.m(div, null);
			append(div, t1);
			append(div, ul);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(ul, null);
			}
		},
		p(ctx, dirty) {
			if (/*isShowRarityPlate*/ ctx[4]) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = tooltip_bonuses_index_svelte_create_if_block_2(ctx);
					if_block0.c();
					if_block0.m(div, t0);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (/*isShowBonusesHeader*/ ctx[6]) {
				if (if_block1) {
					
				} else {
					if_block1 = tooltip_bonuses_index_svelte_create_if_block_1(ctx);
					if_block1.c();
					if_block1.m(div, t1);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty & /*rarity, bonuses*/ 3) {
				each_value = /*bonuses*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = tooltip_bonuses_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = tooltip_bonuses_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(ul, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if (dirty & /*y, offsetY*/ 1280) {
				set_style(div, "top", /*y*/ ctx[8] + /*offsetY*/ ctx[10] + "px");
			}

			if (dirty & /*x, offsetX*/ 640) {
				set_style(div, "left", /*x*/ ctx[7] - /*offsetX*/ ctx[9] + "px");
			}

			if (dirty & /*isDottedList*/ 32) {
				set_style(div, "--displayDot", /*isDottedList*/ ctx[5] ? 'block' : 'none');
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			destroy_each(each_blocks, detaching);
		}
	};
}

// (1057:4) {#if isShowRarityPlate}
function tooltip_bonuses_index_svelte_create_if_block_2(ctx) {
	let div;
	let t0;
	let p;
	let t1;
	let t2;
	let div_class_value;
	let if_block0 = /*rarity*/ ctx[1] === 'random' && tooltip_bonuses_index_svelte_create_if_block_4(ctx);
	let if_block1 = /*rarityLevel*/ ctx[3] && tooltip_bonuses_index_svelte_create_if_block_3(ctx);

	return {
		c() {
			div = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(/*rarityTitle*/ ctx[2]);
			t2 = space();
			if (if_block1) if_block1.c();
			attr(p, "class", "tooltip__tier-title svelte-138szbh");
			attr(div, "class", div_class_value = "tooltip__tier tooltip__tier--" + /*rarity*/ ctx[1] + " svelte-138szbh");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block0) if_block0.m(div, null);
			append(div, t0);
			append(div, p);
			append(p, t1);
			append(p, t2);
			if (if_block1) if_block1.m(p, null);
		},
		p(ctx, dirty) {
			if (/*rarity*/ ctx[1] === 'random') {
				if (if_block0) {
					
				} else {
					if_block0 = tooltip_bonuses_index_svelte_create_if_block_4(ctx);
					if_block0.c();
					if_block0.m(div, t0);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty & /*rarityTitle*/ 4) set_data(t1, /*rarityTitle*/ ctx[2]);

			if (/*rarityLevel*/ ctx[3]) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = tooltip_bonuses_index_svelte_create_if_block_3(ctx);
					if_block1.c();
					if_block1.m(p, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty & /*rarity*/ 2 && div_class_value !== (div_class_value = "tooltip__tier tooltip__tier--" + /*rarity*/ ctx[1] + " svelte-138szbh")) {
				attr(div, "class", div_class_value);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
		}
	};
}

// (1059:8) {#if rarity === 'random'}
function tooltip_bonuses_index_svelte_create_if_block_4(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "tooltip__tier-icon icon-rarity-dice svelte-138szbh");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (1064:10) {#if rarityLevel}
function tooltip_bonuses_index_svelte_create_if_block_3(ctx) {
	let t0;
	let t1;
	let t2;

	return {
		c() {
			t0 = internal_text("(");
			t1 = internal_text(/*rarityLevel*/ ctx[3]);
			t2 = internal_text(")");
		},
		m(target, anchor) {
			insert(target, t0, anchor);
			insert(target, t1, anchor);
			insert(target, t2, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*rarityLevel*/ 8) set_data(t1, /*rarityLevel*/ ctx[3]);
		},
		d(detaching) {
			if (detaching) detach(t0);
			if (detaching) detach(t1);
			if (detaching) detach(t2);
		}
	};
}

// (1070:4) {#if isShowBonusesHeader}
function tooltip_bonuses_index_svelte_create_if_block_1(ctx) {
	let t;

	return {
		c() {
			t = internal_text("Бонусы:");
		},
		m(target, anchor) {
			insert(target, t, anchor);
		},
		d(detaching) {
			if (detaching) detach(t);
		}
	};
}

// (1074:6) {#each bonuses as bonus}
function tooltip_bonuses_index_svelte_create_each_block(ctx) {
	let li;
	let html_tag;
	let raw_value = /*bonus*/ ctx[11] + "";
	let t;
	let li_class_value;

	return {
		c() {
			li = internal_element("li");
			html_tag = new HtmlTag(false);
			t = space();
			html_tag.a = t;
			attr(li, "class", li_class_value = "tooltip__item tooltip__item--" + /*rarity*/ ctx[1] + " svelte-138szbh");
		},
		m(target, anchor) {
			insert(target, li, anchor);
			html_tag.m(raw_value, li);
			append(li, t);
		},
		p(ctx, dirty) {
			if (dirty & /*bonuses*/ 1 && raw_value !== (raw_value = /*bonus*/ ctx[11] + "")) html_tag.p(raw_value);

			if (dirty & /*rarity*/ 2 && li_class_value !== (li_class_value = "tooltip__item tooltip__item--" + /*rarity*/ ctx[1] + " svelte-138szbh")) {
				attr(li, "class", li_class_value);
			}
		},
		d(detaching) {
			if (detaching) detach(li);
		}
	};
}

function tooltip_bonuses_index_svelte_create_fragment(ctx) {
	let show_if = !(0,lodash.isEmpty)(/*bonuses*/ ctx[0]);
	let if_block_anchor;
	let if_block = show_if && tooltip_bonuses_index_svelte_create_if_block(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
		},
		p(ctx, [dirty]) {
			if (dirty & /*bonuses*/ 1) show_if = !(0,lodash.isEmpty)(/*bonuses*/ ctx[0]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = tooltip_bonuses_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

function tooltip_bonuses_index_svelte_instance($$self, $$props, $$invalidate) {
	let { bonuses = [] } = $$props;
	let { rarity } = $$props;
	let { rarityTitle } = $$props;
	let { rarityLevel } = $$props;
	let { isShowRarityPlate = true } = $$props;
	let { isDottedList = true } = $$props;
	let { isShowBonusesHeader = true } = $$props;
	let { x } = $$props;
	let { y } = $$props;
	let { offsetX = 60 } = $$props;
	let { offsetY = 10 } = $$props;

	$$self.$$set = $$props => {
		if ('bonuses' in $$props) $$invalidate(0, bonuses = $$props.bonuses);
		if ('rarity' in $$props) $$invalidate(1, rarity = $$props.rarity);
		if ('rarityTitle' in $$props) $$invalidate(2, rarityTitle = $$props.rarityTitle);
		if ('rarityLevel' in $$props) $$invalidate(3, rarityLevel = $$props.rarityLevel);
		if ('isShowRarityPlate' in $$props) $$invalidate(4, isShowRarityPlate = $$props.isShowRarityPlate);
		if ('isDottedList' in $$props) $$invalidate(5, isDottedList = $$props.isDottedList);
		if ('isShowBonusesHeader' in $$props) $$invalidate(6, isShowBonusesHeader = $$props.isShowBonusesHeader);
		if ('x' in $$props) $$invalidate(7, x = $$props.x);
		if ('y' in $$props) $$invalidate(8, y = $$props.y);
		if ('offsetX' in $$props) $$invalidate(9, offsetX = $$props.offsetX);
		if ('offsetY' in $$props) $$invalidate(10, offsetY = $$props.offsetY);
	};

	return [
		bonuses,
		rarity,
		rarityTitle,
		rarityLevel,
		isShowRarityPlate,
		isDottedList,
		isShowBonusesHeader,
		x,
		y,
		offsetX,
		offsetY
	];
}

class Tooltip_bonuses extends SvelteComponent {
	constructor(options) {
		super();

		init(
			this,
			options,
			tooltip_bonuses_index_svelte_instance,
			tooltip_bonuses_index_svelte_create_fragment,
			safe_not_equal,
			{
				bonuses: 0,
				rarity: 1,
				rarityTitle: 2,
				rarityLevel: 3,
				isShowRarityPlate: 4,
				isDottedList: 5,
				isShowBonusesHeader: 6,
				x: 7,
				y: 8,
				offsetX: 9,
				offsetY: 10
			},
			tooltip_bonuses_index_svelte_add_css
		);
	}
}

/* harmony default export */ const tooltip_bonuses_index_svelte = (Tooltip_bonuses);
;// CONCATENATED MODULE: ./src/components/tooltip-bonuses/index.js


function tooltip(element, _ref) {
  var bonuses = _ref.bonuses,
    rarity = _ref.rarity,
    rarityTitle = _ref.rarityTitle,
    rarityLevel = _ref.rarityLevel,
    isShowRarityPlate = _ref.isShowRarityPlate,
    isDottedList = _ref.isDottedList,
    isShowBonusesHeader = _ref.isShowBonusesHeader,
    offsetX = _ref.offsetX,
    offsetY = _ref.offsetY;
  var tooltipComponent;
  function mouseOver(event) {
    if (event.target !== event.currentTarget) {
      return;
    }
    element.removeAttribute('bonuses');
    tooltipComponent = new tooltip_bonuses_index_svelte({
      props: {
        bonuses: bonuses,
        rarity: rarity,
        rarityTitle: rarityTitle,
        rarityLevel: rarityLevel,
        isShowRarityPlate: isShowRarityPlate,
        isDottedList: isDottedList,
        isShowBonusesHeader: isShowBonusesHeader,
        offsetX: offsetX,
        offsetY: offsetY,
        x: event.pageX,
        y: event.pageY
      },
      target: document.body
    });
  }
  function mouseMove(event) {
    if (!tooltipComponent) {
      return;
    }
    tooltipComponent.$set({
      x: event.pageX,
      y: event.pageY
    });
  }
  function deleteTooltip() {
    if ((0,lodash.isNil)(tooltipComponent)) {
      return;
    }
    tooltipComponent.$destroy();
  }
  element.addEventListener('mouseover', mouseOver);
  element.addEventListener('mouseleave', deleteTooltip);
  element.addEventListener('mousemove', mouseMove);
  return {
    destroy: function destroy() {
      deleteTooltip();
      element.removeEventListener('mouseover', mouseOver);
      element.removeEventListener('mouseleave', deleteTooltip);
      element.removeEventListener('mousemove', mouseMove);
    }
  };
}
;// CONCATENATED MODULE: ./src/modals/vehicle-menu/components/circle-counter/index.svelte
/* src\modals\vehicle-menu\components\circle-counter\index.svelte generated by Svelte v3.49.0 */






function circle_counter_index_svelte_add_css(target) {
	append_styles(target, "svelte-1cacmb2", "@keyframes svelte-1cacmb2-blinking{50%{opacity:0}}@keyframes svelte-1cacmb2-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1cacmb2-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1cacmb2-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1cacmb2-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1cacmb2-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1cacmb2-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1cacmb2-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1cacmb2-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1cacmb2-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1cacmb2-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1cacmb2-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1cacmb2-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1cacmb2-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1cacmb2-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.vehicle-menu-circle-counter.svelte-1cacmb2{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-circle-counter.svelte-1cacmb2{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-circle-counter.svelte-1cacmb2{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-circle-counter.svelte-1cacmb2{gap:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-circle-counter.svelte-1cacmb2{gap:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-circle-counter.svelte-1cacmb2{gap:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-circle-counter.svelte-1cacmb2{gap:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-circle-counter.svelte-1cacmb2{gap:calc(0.0028645833 * 100vw + 0px)}}.vehicle-menu-circle-counter__inner-container.svelte-1cacmb2{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:50%;width:calc(0.0260416667 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px);margin-right:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-circle-counter__inner-container.svelte-1cacmb2{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-circle-counter__inner-container.svelte-1cacmb2{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-circle-counter__inner-container.svelte-1cacmb2{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-circle-counter__inner-container.svelte-1cacmb2{width:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-circle-counter__inner-container.svelte-1cacmb2{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-circle-counter__inner-container.svelte-1cacmb2{width:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-circle-counter__inner-container.svelte-1cacmb2{width:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-circle-counter__inner-container.svelte-1cacmb2{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-circle-counter__inner-container.svelte-1cacmb2{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-circle-counter__inner-container.svelte-1cacmb2{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-circle-counter__inner-container.svelte-1cacmb2{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-circle-counter__inner-container.svelte-1cacmb2{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-circle-counter__inner-container.svelte-1cacmb2{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-circle-counter__inner-container.svelte-1cacmb2{height:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-circle-counter__inner-container.svelte-1cacmb2{margin-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-circle-counter__inner-container.svelte-1cacmb2{margin-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-circle-counter__inner-container.svelte-1cacmb2{margin-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-circle-counter__inner-container.svelte-1cacmb2{margin-right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-circle-counter__inner-container.svelte-1cacmb2{margin-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-circle-counter__inner-container.svelte-1cacmb2{margin-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-circle-counter__inner-container.svelte-1cacmb2{margin-right:calc(0.0057291667 * 100vw + 0px)}}.vehicle-menu-circle-counter__icon.svelte-1cacmb2{color:#FFFFFF;font-size:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-circle-counter__icon.svelte-1cacmb2{font-size:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-circle-counter__icon.svelte-1cacmb2{font-size:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-circle-counter__icon.svelte-1cacmb2{font-size:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-circle-counter__icon.svelte-1cacmb2{font-size:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-circle-counter__icon.svelte-1cacmb2{font-size:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-circle-counter__icon.svelte-1cacmb2{font-size:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-circle-counter__icon.svelte-1cacmb2{font-size:calc(0.0143229167 * 100vw + 0px)}}.vehicle-menu-circle-counter__title.svelte-1cacmb2{font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-circle-counter__title.svelte-1cacmb2{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-circle-counter__title.svelte-1cacmb2{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-circle-counter__title.svelte-1cacmb2{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-circle-counter__title.svelte-1cacmb2{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-circle-counter__title.svelte-1cacmb2{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-circle-counter__title.svelte-1cacmb2{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-circle-counter__title.svelte-1cacmb2{font-size:calc(0.0091666667 * 100vw + 0px)}}.vehicle-menu-circle-counter__lines.svelte-1cacmb2{position:absolute;top:0;left:0;width:100%;height:100%}.vehicle-menu-circle-counter__svg-zone.svelte-1cacmb2{transform:rotate(-90deg);width:100%;height:100%}.vehicle-menu-circle-counter__total.svelte-1cacmb2{fill:none;stroke:rgba(255, 255, 255, 0.1);stroke-dasharray:var(--dasharray);stroke-width:calc(0.0005208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-circle-counter__total.svelte-1cacmb2{stroke-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-circle-counter__total.svelte-1cacmb2{stroke-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-circle-counter__total.svelte-1cacmb2{stroke-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-circle-counter__total.svelte-1cacmb2{stroke-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-circle-counter__total.svelte-1cacmb2{stroke-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-circle-counter__total.svelte-1cacmb2{stroke-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-circle-counter__total.svelte-1cacmb2{stroke-width:calc(0.0005729167 * 100vw + 0px)}}.vehicle-menu-circle-counter__current.svelte-1cacmb2{fill:none;stroke:#FFFFFF;stroke-dasharray:var(--dasharray);stroke-dashoffset:var(--dashoffset);transition-property:stroke-dashoffset;stroke-width:calc(0.0005208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-circle-counter__current.svelte-1cacmb2{stroke-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-circle-counter__current.svelte-1cacmb2{stroke-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-circle-counter__current.svelte-1cacmb2{stroke-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-circle-counter__current.svelte-1cacmb2{stroke-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-circle-counter__current.svelte-1cacmb2{stroke-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-circle-counter__current.svelte-1cacmb2{stroke-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-circle-counter__current.svelte-1cacmb2{stroke-width:calc(0.0005729167 * 100vw + 0px)}}.vehicle-menu-circle-counter__stats-progress-count.svelte-1cacmb2{display:flex;align-items:end;gap:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-circle-counter__stats-progress-count.svelte-1cacmb2{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-circle-counter__stats-progress-count.svelte-1cacmb2{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-circle-counter__stats-progress-count.svelte-1cacmb2{gap:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-circle-counter__stats-progress-count.svelte-1cacmb2{gap:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-circle-counter__stats-progress-count.svelte-1cacmb2{gap:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-circle-counter__stats-progress-count.svelte-1cacmb2{gap:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-circle-counter__stats-progress-count.svelte-1cacmb2{gap:calc(0.0028645833 * 100vw + 0px)}}.vehicle-menu-circle-counter__stats-current.svelte-1cacmb2{font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-circle-counter__stats-current.svelte-1cacmb2{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-circle-counter__stats-current.svelte-1cacmb2{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-circle-counter__stats-current.svelte-1cacmb2{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-circle-counter__stats-current.svelte-1cacmb2{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-circle-counter__stats-current.svelte-1cacmb2{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-circle-counter__stats-current.svelte-1cacmb2{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-circle-counter__stats-current.svelte-1cacmb2{font-size:calc(0.0114583333 * 100vw + 0px)}}.vehicle-menu-circle-counter__stats-unit.svelte-1cacmb2,.vehicle-menu-circle-counter__stats-total.svelte-1cacmb2{font-family:PFDinDisplayProRegular;color:rgba(255, 255, 255, 0.5);font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-circle-counter__stats-unit.svelte-1cacmb2,.vehicle-menu-circle-counter__stats-total.svelte-1cacmb2{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-circle-counter__stats-unit.svelte-1cacmb2,.vehicle-menu-circle-counter__stats-total.svelte-1cacmb2{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-circle-counter__stats-unit.svelte-1cacmb2,.vehicle-menu-circle-counter__stats-total.svelte-1cacmb2{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-circle-counter__stats-unit.svelte-1cacmb2,.vehicle-menu-circle-counter__stats-total.svelte-1cacmb2{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-circle-counter__stats-unit.svelte-1cacmb2,.vehicle-menu-circle-counter__stats-total.svelte-1cacmb2{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-circle-counter__stats-unit.svelte-1cacmb2,.vehicle-menu-circle-counter__stats-total.svelte-1cacmb2{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-circle-counter__stats-unit.svelte-1cacmb2,.vehicle-menu-circle-counter__stats-total.svelte-1cacmb2{font-size:calc(0.0114583333 * 100vw + 0px)}}");
}

// (684:2) {#if !isEmpty(unit)}
function circle_counter_index_svelte_create_if_block(ctx) {
	let div;
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(/*unit*/ ctx[4]);
			attr(div, "class", "vehicle-menu-circle-counter__stats-unit svelte-1cacmb2");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*unit*/ 16) set_data(t, /*unit*/ ctx[4]);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function circle_counter_index_svelte_create_fragment(ctx) {
	let div6;
	let div1;
	let i;
	let i_class_value;
	let t0;
	let div0;
	let svg;
	let circle0;
	let circle1;
	let t1;
	let div2;
	let t2;
	let t3;
	let div5;
	let div3;
	let t4;
	let t5;
	let div4;
	let t6;
	let t7;
	let t8;
	let show_if = !(0,lodash.isEmpty)(/*unit*/ ctx[4]);
	let if_block = show_if && circle_counter_index_svelte_create_if_block(ctx);

	return {
		c() {
			div6 = internal_element("div");
			div1 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div0 = internal_element("div");
			svg = svg_element("svg");
			circle0 = svg_element("circle");
			circle1 = svg_element("circle");
			t1 = space();
			div2 = internal_element("div");
			t2 = internal_text(/*title*/ ctx[3]);
			t3 = space();
			div5 = internal_element("div");
			div3 = internal_element("div");
			t4 = internal_text(/*current*/ ctx[0]);
			t5 = space();
			div4 = internal_element("div");
			t6 = internal_text("/ ");
			t7 = internal_text(/*total*/ ctx[1]);
			t8 = space();
			if (if_block) if_block.c();
			attr(i, "class", i_class_value = "vehicle-menu-circle-counter__icon " + /*icon*/ ctx[2] + " svelte-1cacmb2");
			attr(circle0, "class", "vehicle-menu-circle-counter__total svelte-1cacmb2");
			attr(circle0, "cx", /*center*/ ctx[9]);
			attr(circle0, "cy", /*center*/ ctx[9]);
			attr(circle0, "r", /*radius*/ ctx[6]);
			attr(circle1, "class", "vehicle-menu-circle-counter__current svelte-1cacmb2");
			attr(circle1, "cx", /*center*/ ctx[9]);
			attr(circle1, "cy", /*center*/ ctx[9]);
			attr(circle1, "r", /*radius*/ ctx[6]);
			attr(svg, "class", "vehicle-menu-circle-counter__svg-zone svelte-1cacmb2");
			set_style(svg, "--dashoffset", /*progressOffset*/ ctx[10]);
			set_style(svg, "--dasharray", /*circumference*/ ctx[7]);
			attr(div0, "class", "vehicle-menu-circle-counter__lines svelte-1cacmb2");
			attr(div1, "class", "vehicle-menu-circle-counter__inner-container svelte-1cacmb2");
			attr(div2, "class", "vehicle-menu-circle-counter__title svelte-1cacmb2");
			attr(div3, "class", "vehicle-menu-circle-counter__stats-current svelte-1cacmb2");
			attr(div4, "class", "vehicle-menu-circle-counter__stats-total svelte-1cacmb2");
			attr(div5, "class", "vehicle-menu-circle-counter__stats-progress-count svelte-1cacmb2");
			attr(div6, "class", "vehicle-menu-circle-counter svelte-1cacmb2");
		},
		m(target, anchor) {
			insert(target, div6, anchor);
			append(div6, div1);
			append(div1, i);
			append(div1, t0);
			append(div1, div0);
			append(div0, svg);
			append(svg, circle0);
			append(svg, circle1);
			/*circle1_binding*/ ctx[14](circle1);
			/*div0_binding*/ ctx[15](div0);
			append(div6, t1);
			append(div6, div2);
			append(div2, t2);
			append(div6, t3);
			append(div6, div5);
			append(div5, div3);
			append(div3, t4);
			append(div5, t5);
			append(div5, div4);
			append(div4, t6);
			append(div4, t7);
			append(div5, t8);
			if (if_block) if_block.m(div5, null);
		},
		p(ctx, [dirty]) {
			if (dirty & /*icon*/ 4 && i_class_value !== (i_class_value = "vehicle-menu-circle-counter__icon " + /*icon*/ ctx[2] + " svelte-1cacmb2")) {
				attr(i, "class", i_class_value);
			}

			if (dirty & /*center*/ 512) {
				attr(circle0, "cx", /*center*/ ctx[9]);
			}

			if (dirty & /*center*/ 512) {
				attr(circle0, "cy", /*center*/ ctx[9]);
			}

			if (dirty & /*radius*/ 64) {
				attr(circle0, "r", /*radius*/ ctx[6]);
			}

			if (dirty & /*center*/ 512) {
				attr(circle1, "cx", /*center*/ ctx[9]);
			}

			if (dirty & /*center*/ 512) {
				attr(circle1, "cy", /*center*/ ctx[9]);
			}

			if (dirty & /*radius*/ 64) {
				attr(circle1, "r", /*radius*/ ctx[6]);
			}

			if (dirty & /*progressOffset*/ 1024) {
				set_style(svg, "--dashoffset", /*progressOffset*/ ctx[10]);
			}

			if (dirty & /*circumference*/ 128) {
				set_style(svg, "--dasharray", /*circumference*/ ctx[7]);
			}

			if (dirty & /*title*/ 8) set_data(t2, /*title*/ ctx[3]);
			if (dirty & /*current*/ 1) set_data(t4, /*current*/ ctx[0]);
			if (dirty & /*total*/ 2) set_data(t7, /*total*/ ctx[1]);
			if (dirty & /*unit*/ 16) show_if = !(0,lodash.isEmpty)(/*unit*/ ctx[4]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = circle_counter_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div5, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div6);
			/*circle1_binding*/ ctx[14](null);
			/*div0_binding*/ ctx[15](null);
			if (if_block) if_block.d();
		}
	};
}

function circle_counter_index_svelte_instance($$self, $$props, $$invalidate) {
	let { current = 0 } = $$props;
	let { total = 0 } = $$props;
	let { icon = '' } = $$props;
	let { title = '' } = $$props;
	let { unit = '' } = $$props;
	let percents = 0;
	let svgContainerRef = null;
	let circleRef = null;
	let width = 0;
	let radius = 0;
	let center = 0;
	let strokeWidth = 0;
	let circumference = 0;
	let progressOffset = 0;
	percents = countPercents(current, total);

	const calculateCircleWidthAndStrokeWidth = () => {
		$$invalidate(12, width = svgContainerRef.getBoundingClientRect().width);
		$$invalidate(13, strokeWidth = window.getComputedStyle(circleRef).strokeWidth);
	};

	window.addEventListener('resize', calculateCircleWidthAndStrokeWidth);

	onDestroy(() => {
		window.removeEventListener('resize', calculateCircleWidthAndStrokeWidth);
	});

	function circle1_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			circleRef = $$value;
			$$invalidate(8, circleRef);
		});
	}

	function div0_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			svgContainerRef = $$value;
			$$invalidate(5, svgContainerRef);
		});
	}

	$$self.$$set = $$props => {
		if ('current' in $$props) $$invalidate(0, current = $$props.current);
		if ('total' in $$props) $$invalidate(1, total = $$props.total);
		if ('icon' in $$props) $$invalidate(2, icon = $$props.icon);
		if ('title' in $$props) $$invalidate(3, title = $$props.title);
		if ('unit' in $$props) $$invalidate(4, unit = $$props.unit);
	};

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*svgContainerRef*/ 32) {
			$: {
				if (!(0,lodash.isNil)(svgContainerRef)) {
					calculateCircleWidthAndStrokeWidth();
				}
			}
		}

		if ($$self.$$.dirty & /*current, total, width, strokeWidth, radius, percents, circumference*/ 14531) {
			$: {
				$$invalidate(11, percents = countPercents(current, total));
				$$invalidate(6, radius = width / 2 - parseInt(strokeWidth, 10) / 2);
				$$invalidate(9, center = width / 2);
				$$invalidate(7, circumference = 2 * Math.PI * radius);
				$$invalidate(10, progressOffset = Math.ceil((100 - percents) / 100 * circumference));
			}
		}
	};

	return [
		current,
		total,
		icon,
		title,
		unit,
		svgContainerRef,
		radius,
		circumference,
		circleRef,
		center,
		progressOffset,
		percents,
		width,
		strokeWidth,
		circle1_binding,
		div0_binding
	];
}

class Circle_counter extends SvelteComponent {
	constructor(options) {
		super();

		init(
			this,
			options,
			circle_counter_index_svelte_instance,
			circle_counter_index_svelte_create_fragment,
			safe_not_equal,
			{
				current: 0,
				total: 1,
				icon: 2,
				title: 3,
				unit: 4
			},
			circle_counter_index_svelte_add_css
		);
	}
}

/* harmony default export */ const circle_counter_index_svelte = (Circle_counter);
;// CONCATENATED MODULE: ./src/modals/vehicle-menu/components/toggler/index.svelte
/* src\modals\vehicle-menu\components\toggler\index.svelte generated by Svelte v3.49.0 */


function toggler_index_svelte_add_css(target) {
	append_styles(target, "svelte-1p1k28s", "@keyframes svelte-1p1k28s-blinking{50%{opacity:0}}@keyframes svelte-1p1k28s-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1p1k28s-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1p1k28s-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1p1k28s-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1p1k28s-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1p1k28s-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1p1k28s-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1p1k28s-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1p1k28s-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1p1k28s-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1p1k28s-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1p1k28s-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1p1k28s-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1p1k28s-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.vehicle-menu-toggler.svelte-1p1k28s.svelte-1p1k28s{position:relative;background-color:rgba(243, 65, 65, 0.25);width:calc(0.0260416667 * 100vw + 0px);height:calc(0.0130208333 * 100vw + 0px);border-radius:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-toggler.svelte-1p1k28s.svelte-1p1k28s{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-toggler.svelte-1p1k28s.svelte-1p1k28s{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-toggler.svelte-1p1k28s.svelte-1p1k28s{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-toggler.svelte-1p1k28s.svelte-1p1k28s{width:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-toggler.svelte-1p1k28s.svelte-1p1k28s{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-toggler.svelte-1p1k28s.svelte-1p1k28s{width:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-toggler.svelte-1p1k28s.svelte-1p1k28s{width:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-toggler.svelte-1p1k28s.svelte-1p1k28s{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-toggler.svelte-1p1k28s.svelte-1p1k28s{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-toggler.svelte-1p1k28s.svelte-1p1k28s{height:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-toggler.svelte-1p1k28s.svelte-1p1k28s{height:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-toggler.svelte-1p1k28s.svelte-1p1k28s{height:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-toggler.svelte-1p1k28s.svelte-1p1k28s{height:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-toggler.svelte-1p1k28s.svelte-1p1k28s{height:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-toggler.svelte-1p1k28s.svelte-1p1k28s{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-toggler.svelte-1p1k28s.svelte-1p1k28s{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-toggler.svelte-1p1k28s.svelte-1p1k28s{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-toggler.svelte-1p1k28s.svelte-1p1k28s{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-toggler.svelte-1p1k28s.svelte-1p1k28s{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-toggler.svelte-1p1k28s.svelte-1p1k28s{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-toggler.svelte-1p1k28s.svelte-1p1k28s{border-radius:calc(0.0143229167 * 100vw + 0px)}}.vehicle-menu-toggler--on.svelte-1p1k28s.svelte-1p1k28s{background-color:rgba(96, 202, 93, 0.25)}.vehicle-menu-toggler--on.svelte-1p1k28s .vehicle-menu-toggler__switcher.svelte-1p1k28s{left:unset;right:0;background-color:#60CA5D}.vehicle-menu-toggler__switcher.svelte-1p1k28s.svelte-1p1k28s{position:absolute;left:0;right:unset;transition:4s ease-out;transition-property:left, right;background-color:#F34141;width:calc(0.0130208333 * 100vw + 0px);height:calc(0.0130208333 * 100vw + 0px);border-radius:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-toggler__switcher.svelte-1p1k28s.svelte-1p1k28s{width:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-toggler__switcher.svelte-1p1k28s.svelte-1p1k28s{width:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-toggler__switcher.svelte-1p1k28s.svelte-1p1k28s{width:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-toggler__switcher.svelte-1p1k28s.svelte-1p1k28s{width:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-toggler__switcher.svelte-1p1k28s.svelte-1p1k28s{width:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-toggler__switcher.svelte-1p1k28s.svelte-1p1k28s{width:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-toggler__switcher.svelte-1p1k28s.svelte-1p1k28s{width:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-toggler__switcher.svelte-1p1k28s.svelte-1p1k28s{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-toggler__switcher.svelte-1p1k28s.svelte-1p1k28s{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-toggler__switcher.svelte-1p1k28s.svelte-1p1k28s{height:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-toggler__switcher.svelte-1p1k28s.svelte-1p1k28s{height:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-toggler__switcher.svelte-1p1k28s.svelte-1p1k28s{height:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-toggler__switcher.svelte-1p1k28s.svelte-1p1k28s{height:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-toggler__switcher.svelte-1p1k28s.svelte-1p1k28s{height:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-toggler__switcher.svelte-1p1k28s.svelte-1p1k28s{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-toggler__switcher.svelte-1p1k28s.svelte-1p1k28s{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-toggler__switcher.svelte-1p1k28s.svelte-1p1k28s{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-toggler__switcher.svelte-1p1k28s.svelte-1p1k28s{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-toggler__switcher.svelte-1p1k28s.svelte-1p1k28s{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-toggler__switcher.svelte-1p1k28s.svelte-1p1k28s{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-toggler__switcher.svelte-1p1k28s.svelte-1p1k28s{border-radius:calc(0.0143229167 * 100vw + 0px)}}");
}

function toggler_index_svelte_create_fragment(ctx) {
	let div1;
	let mounted;
	let dispose;

	return {
		c() {
			div1 = internal_element("div");
			div1.innerHTML = `<div class="vehicle-menu-toggler__switcher svelte-1p1k28s"></div>`;
			attr(div1, "class", "vehicle-menu-toggler svelte-1p1k28s");
			toggle_class(div1, "vehicle-menu-toggler--on", /*state*/ ctx[0]);
		},
		m(target, anchor) {
			insert(target, div1, anchor);

			if (!mounted) {
				dispose = listen(div1, "click", function () {
					if (internal_is_function(/*onSwitch*/ ctx[1])) /*onSwitch*/ ctx[1].apply(this, arguments);
				});

				mounted = true;
			}
		},
		p(new_ctx, [dirty]) {
			ctx = new_ctx;

			if (dirty & /*state*/ 1) {
				toggle_class(div1, "vehicle-menu-toggler--on", /*state*/ ctx[0]);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
			mounted = false;
			dispose();
		}
	};
}

function toggler_index_svelte_instance($$self, $$props, $$invalidate) {
	let { state = false } = $$props;

	let { onSwitch = () => {
		
	} } = $$props;

	$$self.$$set = $$props => {
		if ('state' in $$props) $$invalidate(0, state = $$props.state);
		if ('onSwitch' in $$props) $$invalidate(1, onSwitch = $$props.onSwitch);
	};

	return [state, onSwitch];
}

class Toggler extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, toggler_index_svelte_instance, toggler_index_svelte_create_fragment, safe_not_equal, { state: 0, onSwitch: 1 }, toggler_index_svelte_add_css);
	}
}

/* harmony default export */ const toggler_index_svelte = (Toggler);
;// CONCATENATED MODULE: ./src/modals/vehicle-menu/components/information/index.svelte
/* src\modals\vehicle-menu\components\information\index.svelte generated by Svelte v3.49.0 */













function information_index_svelte_add_css(target) {
	append_styles(target, "svelte-1vw20le", "@keyframes svelte-1vw20le-blinking{50%{opacity:0}}@keyframes svelte-1vw20le-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1vw20le-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1vw20le-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1vw20le-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1vw20le-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1vw20le-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1vw20le-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1vw20le-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1vw20le-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1vw20le-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1vw20le-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1vw20le-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1vw20le-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1vw20le-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.vehicle-menu-information.svelte-1vw20le.svelte-1vw20le{width:100%;height:100%;position:relative}.vehicle-menu-information__loader.svelte-1vw20le.svelte-1vw20le{position:absolute;top:50%;left:50%;transform:translateX(-50%) translateY(-50%);width:calc(0.0625 * 100vw + 0px);height:calc(0.0625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__loader.svelte-1vw20le.svelte-1vw20le{width:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__loader.svelte-1vw20le.svelte-1vw20le{width:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__loader.svelte-1vw20le.svelte-1vw20le{width:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__loader.svelte-1vw20le.svelte-1vw20le{width:calc(0.06875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__loader.svelte-1vw20le.svelte-1vw20le{width:calc(0.04375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__loader.svelte-1vw20le.svelte-1vw20le{width:calc(0.05625 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__loader.svelte-1vw20le.svelte-1vw20le{width:calc(0.06875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__loader.svelte-1vw20le.svelte-1vw20le{height:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__loader.svelte-1vw20le.svelte-1vw20le{height:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__loader.svelte-1vw20le.svelte-1vw20le{height:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__loader.svelte-1vw20le.svelte-1vw20le{height:calc(0.06875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__loader.svelte-1vw20le.svelte-1vw20le{height:calc(0.04375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__loader.svelte-1vw20le.svelte-1vw20le{height:calc(0.05625 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__loader.svelte-1vw20le.svelte-1vw20le{height:calc(0.06875 * 100vw + 0px)}}.vehicle-menu-information__title.svelte-1vw20le.svelte-1vw20le{font-family:PFDinDisplayProRegular;font-weight:700;color:#FFFFFF;text-transform:uppercase;font-size:calc(0.0234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__title.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__title.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__title.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__title.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__title.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__title.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__title.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.02578125 * 100vw + 0px)}}.vehicle-menu-information__labels.svelte-1vw20le.svelte-1vw20le{display:inline-flex;margin-top:calc(0.0078125 * 100vw + 0px);gap:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__labels.svelte-1vw20le.svelte-1vw20le{margin-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__labels.svelte-1vw20le.svelte-1vw20le{margin-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__labels.svelte-1vw20le.svelte-1vw20le{margin-top:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__labels.svelte-1vw20le.svelte-1vw20le{margin-top:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__labels.svelte-1vw20le.svelte-1vw20le{margin-top:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__labels.svelte-1vw20le.svelte-1vw20le{margin-top:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__labels.svelte-1vw20le.svelte-1vw20le{margin-top:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__labels.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__labels.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__labels.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__labels.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__labels.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__labels.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__labels.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0057291667 * 100vw + 0px)}}.vehicle-menu-information__labels-rarity.svelte-1vw20le.svelte-1vw20le{display:flex;align-items:center;justify-content:center;gap:calc(0.0052083333 * 100vw + 0px);border-radius:calc(0.0130208333 * 100vw + 0px);padding:calc(0.0052083333 * 100vw + 0px) calc(0.0130208333 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__labels-rarity.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__labels-rarity.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__labels-rarity.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__labels-rarity.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__labels-rarity.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__labels-rarity.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__labels-rarity.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__labels-rarity.svelte-1vw20le.svelte-1vw20le{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__labels-rarity.svelte-1vw20le.svelte-1vw20le{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__labels-rarity.svelte-1vw20le.svelte-1vw20le{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__labels-rarity.svelte-1vw20le.svelte-1vw20le{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__labels-rarity.svelte-1vw20le.svelte-1vw20le{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__labels-rarity.svelte-1vw20le.svelte-1vw20le{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__labels-rarity.svelte-1vw20le.svelte-1vw20le{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__labels-rarity.svelte-1vw20le.svelte-1vw20le{padding:calc(0.0052083333 * 100vw + 0px) calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__labels-rarity.svelte-1vw20le.svelte-1vw20le{padding:calc(0.0052083333 * 100vw + 0px) calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__labels-rarity.svelte-1vw20le.svelte-1vw20le{padding:calc(0.0040104167 * 100vw + 0px) calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__labels-rarity.svelte-1vw20le.svelte-1vw20le{padding:calc(0.0057291667 * 100vw + 0px) calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__labels-rarity.svelte-1vw20le.svelte-1vw20le{padding:calc(0.0036458333 * 100vw + 0px) calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__labels-rarity.svelte-1vw20le.svelte-1vw20le{padding:calc(0.0046875 * 100vw + 0px) calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__labels-rarity.svelte-1vw20le.svelte-1vw20le{padding:calc(0.0057291667 * 100vw + 0px) calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__labels-rarity.svelte-1vw20le.svelte-1vw20le{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__labels-rarity.svelte-1vw20le.svelte-1vw20le{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__labels-rarity.svelte-1vw20le.svelte-1vw20le{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__labels-rarity.svelte-1vw20le.svelte-1vw20le{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__labels-rarity.svelte-1vw20le.svelte-1vw20le{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__labels-rarity.svelte-1vw20le.svelte-1vw20le{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__labels-rarity.svelte-1vw20le.svelte-1vw20le{height:calc(0.0286458333 * 100vw + 0px)}}.vehicle-menu-information__labels-rarity--tier1.svelte-1vw20le.svelte-1vw20le{background-color:rgba(118, 118, 118, 0.1)}.vehicle-menu-information__labels-rarity--tier1.svelte-1vw20le .vehicle-menu-information__labels-rarity-title.svelte-1vw20le{color:#FFFFFF}.vehicle-menu-information__labels-rarity--tier2.svelte-1vw20le.svelte-1vw20le{background-color:rgba(1, 255, 255, 0.1)}.vehicle-menu-information__labels-rarity--tier2.svelte-1vw20le .vehicle-menu-information__labels-rarity-title.svelte-1vw20le{color:#01FFFF}.vehicle-menu-information__labels-rarity--tier3.svelte-1vw20le.svelte-1vw20le{background-color:rgba(255, 204, 0, 0.1)}.vehicle-menu-information__labels-rarity--tier3.svelte-1vw20le .vehicle-menu-information__labels-rarity-title.svelte-1vw20le{color:#FFCC00}.vehicle-menu-information__labels-rarity-title.svelte-1vw20le.svelte-1vw20le{font-family:PFDinDisplayProRegular;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__labels-rarity-title.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__labels-rarity-title.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__labels-rarity-title.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__labels-rarity-title.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__labels-rarity-title.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__labels-rarity-title.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__labels-rarity-title.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.0103125 * 100vw + 0px)}}.vehicle-menu-information__labels-rarity-button.svelte-1vw20le.svelte-1vw20le{display:flex;align-items:center;justify-content:center;background-color:rgba(255, 255, 255, 0.3);border:1px solid rgba(255, 255, 255, 0.1);transition:background-color 0.2s linear;cursor:pointer;border-radius:calc(0.003125 * 100vw + 0px);width:calc(0.009375 * 100vw + 0px);height:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__labels-rarity-button.svelte-1vw20le.svelte-1vw20le{border-radius:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__labels-rarity-button.svelte-1vw20le.svelte-1vw20le{border-radius:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__labels-rarity-button.svelte-1vw20le.svelte-1vw20le{border-radius:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__labels-rarity-button.svelte-1vw20le.svelte-1vw20le{border-radius:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__labels-rarity-button.svelte-1vw20le.svelte-1vw20le{border-radius:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__labels-rarity-button.svelte-1vw20le.svelte-1vw20le{border-radius:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__labels-rarity-button.svelte-1vw20le.svelte-1vw20le{border-radius:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__labels-rarity-button.svelte-1vw20le.svelte-1vw20le{width:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__labels-rarity-button.svelte-1vw20le.svelte-1vw20le{width:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__labels-rarity-button.svelte-1vw20le.svelte-1vw20le{width:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__labels-rarity-button.svelte-1vw20le.svelte-1vw20le{width:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__labels-rarity-button.svelte-1vw20le.svelte-1vw20le{width:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__labels-rarity-button.svelte-1vw20le.svelte-1vw20le{width:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__labels-rarity-button.svelte-1vw20le.svelte-1vw20le{width:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__labels-rarity-button.svelte-1vw20le.svelte-1vw20le{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__labels-rarity-button.svelte-1vw20le.svelte-1vw20le{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__labels-rarity-button.svelte-1vw20le.svelte-1vw20le{height:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__labels-rarity-button.svelte-1vw20le.svelte-1vw20le{height:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__labels-rarity-button.svelte-1vw20le.svelte-1vw20le{height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__labels-rarity-button.svelte-1vw20le.svelte-1vw20le{height:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__labels-rarity-button.svelte-1vw20le.svelte-1vw20le{height:calc(0.0103125 * 100vw + 0px)}}.vehicle-menu-information__labels-rarity-button.svelte-1vw20le.svelte-1vw20le:hover{background-color:rgba(255, 255, 255, 0.5);border:1px solid rgba(255, 255, 255, 0.4)}.vehicle-menu-information__labels-rarity-button-title.svelte-1vw20le.svelte-1vw20le{font-family:\"HeadingNowRegular\";color:#FFFFFF;pointer-events:none;font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__labels-rarity-button-title.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__labels-rarity-button-title.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__labels-rarity-button-title.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__labels-rarity-button-title.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__labels-rarity-button-title.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__labels-rarity-button-title.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__labels-rarity-button-title.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.006875 * 100vw + 0px)}}.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{display:inline-flex;align-items:center;justify-content:center;font-family:PFDinDisplayProRegular;color:#FFFFFF;background-color:rgba(255, 255, 255, 0.1);height:calc(0.0260416667 * 100vw + 0px);padding:calc(0.0052083333 * 100vw + 0px) calc(0.0130208333 * 100vw + 0px);border-radius:calc(0.0130208333 * 100vw + 0px);font-size:calc(0.0078125 * 100vw + 0px);gap:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{height:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{padding:calc(0.0052083333 * 100vw + 0px) calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{padding:calc(0.0052083333 * 100vw + 0px) calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{padding:calc(0.0040104167 * 100vw + 0px) calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{padding:calc(0.0057291667 * 100vw + 0px) calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{padding:calc(0.0036458333 * 100vw + 0px) calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{padding:calc(0.0046875 * 100vw + 0px) calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{padding:calc(0.0057291667 * 100vw + 0px) calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__label.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0057291667 * 100vw + 0px)}}.vehicle-menu-information__label-icon.svelte-1vw20le.svelte-1vw20le{color:rgba(255, 255, 255, 0.5)}.vehicle-menu-information__image-wrapper.svelte-1vw20le.svelte-1vw20le{position:absolute;right:0;top:50%;transform:translateY(-50%);width:calc(0.1041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__image-wrapper.svelte-1vw20le.svelte-1vw20le{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__image-wrapper.svelte-1vw20le.svelte-1vw20le{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__image-wrapper.svelte-1vw20le.svelte-1vw20le{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__image-wrapper.svelte-1vw20le.svelte-1vw20le{width:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__image-wrapper.svelte-1vw20le.svelte-1vw20le{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__image-wrapper.svelte-1vw20le.svelte-1vw20le{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__image-wrapper.svelte-1vw20le.svelte-1vw20le{width:calc(0.1145833333 * 100vw + 0px)}}.vehicle-menu-information__image.svelte-1vw20le.svelte-1vw20le{width:100%;object-fit:contain}.vehicle-menu-information__actions.svelte-1vw20le.svelte-1vw20le{display:grid;grid-template-columns:repeat(4, 1fr);gap:calc(0.0052083333 * 100vw + 0px);margin-top:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__actions.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__actions.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__actions.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__actions.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__actions.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__actions.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__actions.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__actions.svelte-1vw20le.svelte-1vw20le{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__actions.svelte-1vw20le.svelte-1vw20le{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__actions.svelte-1vw20le.svelte-1vw20le{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__actions.svelte-1vw20le.svelte-1vw20le{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__actions.svelte-1vw20le.svelte-1vw20le{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__actions.svelte-1vw20le.svelte-1vw20le{margin-top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__actions.svelte-1vw20le.svelte-1vw20le{margin-top:calc(0.0286458333 * 100vw + 0px)}}.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{position:relative;width:100%;display:inline-flex;align-items:center;justify-content:center;font-family:PFDinDisplayProRegular;color:rgba(255, 255, 255, 0.35);background-color:rgba(0, 0, 0, 0.3);transition:0.1s ease-out;transition-property:background-color, color, transform;height:calc(0.0234375 * 100vw + 0px);padding:calc(0.0078125 * 100vw + 0px);padding-left:calc(0.0182291667 * 100vw + 0px);padding-right:calc(0.0083333333 * 100vw + 0px);border-radius:calc(0.0130208333 * 100vw + 0px);font-size:calc(0.0078125 * 100vw + 0px);gap:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{height:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{height:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{height:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{height:calc(0.02578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{padding:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{padding:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{padding:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{padding:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{padding:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{padding:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{padding:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{padding-left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{padding-left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{padding-left:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{padding-left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{padding-left:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{padding-left:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{padding-left:calc(0.0200520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{padding-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{padding-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{padding-right:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{padding-right:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{padding-right:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{padding-right:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{padding-right:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0057291667 * 100vw + 0px)}}.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le:hover{background-color:#FFFFFF;color:#131516}.vehicle-menu-information__action.svelte-1vw20le:hover .vehicle-menu-information__action-icon.svelte-1vw20le{color:#131516}.vehicle-menu-information__action.svelte-1vw20le.svelte-1vw20le:active{transform:translateY(5%)}.vehicle-menu-information__action-icon.svelte-1vw20le.svelte-1vw20le{position:absolute;top:50%;transition:0.1s ease-out;transition-property:background-color, color;color:rgba(255, 255, 255, 0.5);transform:translateY(-50%);left:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__action-icon.svelte-1vw20le.svelte-1vw20le{left:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__action-icon.svelte-1vw20le.svelte-1vw20le{left:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__action-icon.svelte-1vw20le.svelte-1vw20le{left:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__action-icon.svelte-1vw20le.svelte-1vw20le{left:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__action-icon.svelte-1vw20le.svelte-1vw20le{left:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__action-icon.svelte-1vw20le.svelte-1vw20le{left:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__action-icon.svelte-1vw20le.svelte-1vw20le{left:calc(0.00859375 * 100vw + 0px)}}.vehicle-menu-information__toggles-grid.svelte-1vw20le.svelte-1vw20le{display:grid;grid-template-columns:repeat(3, 1fr);gap:calc(0.0078125 * 100vw + 0px);margin-top:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__toggles-grid.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__toggles-grid.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__toggles-grid.svelte-1vw20le.svelte-1vw20le{gap:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__toggles-grid.svelte-1vw20le.svelte-1vw20le{gap:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__toggles-grid.svelte-1vw20le.svelte-1vw20le{gap:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__toggles-grid.svelte-1vw20le.svelte-1vw20le{gap:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__toggles-grid.svelte-1vw20le.svelte-1vw20le{gap:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__toggles-grid.svelte-1vw20le.svelte-1vw20le{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__toggles-grid.svelte-1vw20le.svelte-1vw20le{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__toggles-grid.svelte-1vw20le.svelte-1vw20le{margin-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__toggles-grid.svelte-1vw20le.svelte-1vw20le{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__toggles-grid.svelte-1vw20le.svelte-1vw20le{margin-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__toggles-grid.svelte-1vw20le.svelte-1vw20le{margin-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__toggles-grid.svelte-1vw20le.svelte-1vw20le{margin-top:calc(0.0143229167 * 100vw + 0px)}}.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{width:100%;display:inline-flex;align-items:center;justify-content:space-between;font-family:PFDinDisplayProRegular;color:rgba(255, 255, 255, 0.35);background-color:rgba(0, 0, 0, 0.3);transition:0.1s ease-out;transition-property:background-color, color;height:calc(0.0234375 * 100vw + 0px);padding:calc(0.0078125 * 100vw + 0px);padding-right:calc(0.0083333333 * 100vw + 0px);border-radius:calc(0.0130208333 * 100vw + 0px);font-size:calc(0.0078125 * 100vw + 0px);gap:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{height:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{height:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{height:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{height:calc(0.02578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{padding:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{padding:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{padding:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{padding:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{padding:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{padding:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{padding:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{padding-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{padding-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{padding-right:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{padding-right:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{padding-right:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{padding-right:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{padding-right:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__toggle.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0057291667 * 100vw + 0px)}}.vehicle-menu-information__circles.svelte-1vw20le.svelte-1vw20le{display:grid;grid-template-columns:repeat(4, 1fr);gap:calc(0.0078125 * 100vw + 0px);margin-top:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__circles.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__circles.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__circles.svelte-1vw20le.svelte-1vw20le{gap:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__circles.svelte-1vw20le.svelte-1vw20le{gap:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__circles.svelte-1vw20le.svelte-1vw20le{gap:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__circles.svelte-1vw20le.svelte-1vw20le{gap:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__circles.svelte-1vw20le.svelte-1vw20le{gap:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__circles.svelte-1vw20le.svelte-1vw20le{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__circles.svelte-1vw20le.svelte-1vw20le{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__circles.svelte-1vw20le.svelte-1vw20le{margin-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__circles.svelte-1vw20le.svelte-1vw20le{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__circles.svelte-1vw20le.svelte-1vw20le{margin-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__circles.svelte-1vw20le.svelte-1vw20le{margin-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__circles.svelte-1vw20le.svelte-1vw20le{margin-top:calc(0.0143229167 * 100vw + 0px)}}.vehicle-menu-information__stats.svelte-1vw20le.svelte-1vw20le{display:grid;grid-template-columns:repeat(3, 1fr);gap:calc(0.0078125 * 100vw + 0px);margin-top:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__stats.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__stats.svelte-1vw20le.svelte-1vw20le{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__stats.svelte-1vw20le.svelte-1vw20le{gap:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__stats.svelte-1vw20le.svelte-1vw20le{gap:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__stats.svelte-1vw20le.svelte-1vw20le{gap:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__stats.svelte-1vw20le.svelte-1vw20le{gap:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__stats.svelte-1vw20le.svelte-1vw20le{gap:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__stats.svelte-1vw20le.svelte-1vw20le{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__stats.svelte-1vw20le.svelte-1vw20le{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__stats.svelte-1vw20le.svelte-1vw20le{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__stats.svelte-1vw20le.svelte-1vw20le{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__stats.svelte-1vw20le.svelte-1vw20le{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__stats.svelte-1vw20le.svelte-1vw20le{margin-top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__stats.svelte-1vw20le.svelte-1vw20le{margin-top:calc(0.0286458333 * 100vw + 0px)}}.vehicle-menu-information__stat.svelte-1vw20le.svelte-1vw20le{height:calc(0.0338541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__stat.svelte-1vw20le.svelte-1vw20le{height:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__stat.svelte-1vw20le.svelte-1vw20le{height:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__stat.svelte-1vw20le.svelte-1vw20le{height:calc(0.0260677083 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__stat.svelte-1vw20le.svelte-1vw20le{height:calc(0.0372395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__stat.svelte-1vw20le.svelte-1vw20le{height:calc(0.0236979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__stat.svelte-1vw20le.svelte-1vw20le{height:calc(0.03046875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__stat.svelte-1vw20le.svelte-1vw20le{height:calc(0.0372395833 * 100vw + 0px)}}.vehicle-menu-information__stat-title.svelte-1vw20le.svelte-1vw20le{font-family:PFDinDisplayProRegular;color:rgba(255, 255, 255, 0.5);letter-space:0.05em;font-size:calc(0.0078125 * 100vw + 0px);line-height:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__stat-title.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__stat-title.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__stat-title.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__stat-title.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__stat-title.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__stat-title.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__stat-title.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__stat-title.svelte-1vw20le.svelte-1vw20le{line-height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__stat-title.svelte-1vw20le.svelte-1vw20le{line-height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__stat-title.svelte-1vw20le.svelte-1vw20le{line-height:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__stat-title.svelte-1vw20le.svelte-1vw20le{line-height:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__stat-title.svelte-1vw20le.svelte-1vw20le{line-height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__stat-title.svelte-1vw20le.svelte-1vw20le{line-height:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__stat-title.svelte-1vw20le.svelte-1vw20le{line-height:calc(0.0103125 * 100vw + 0px)}}.vehicle-menu-information__stat-value.svelte-1vw20le.svelte-1vw20le{font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.009375 * 100vw + 0px);line-height:calc(0.0109375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__stat-value.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__stat-value.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__stat-value.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__stat-value.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__stat-value.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__stat-value.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__stat-value.svelte-1vw20le.svelte-1vw20le{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu-information__stat-value.svelte-1vw20le.svelte-1vw20le{line-height:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu-information__stat-value.svelte-1vw20le.svelte-1vw20le{line-height:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu-information__stat-value.svelte-1vw20le.svelte-1vw20le{line-height:calc(0.008421875 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu-information__stat-value.svelte-1vw20le.svelte-1vw20le{line-height:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu-information__stat-value.svelte-1vw20le.svelte-1vw20le{line-height:calc(0.00765625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu-information__stat-value.svelte-1vw20le.svelte-1vw20le{line-height:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu-information__stat-value.svelte-1vw20le.svelte-1vw20le{line-height:calc(0.01203125 * 100vw + 0px)}}.vehicle-menu-information__stat-value--none.svelte-1vw20le.svelte-1vw20le{color:#3A3A3A}");
}

function information_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[21] = list[i];
	return child_ctx;
}

function information_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[24] = list[i];
	return child_ctx;
}

function information_index_svelte_get_each_context_2(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[27] = list[i];
	return child_ctx;
}

function get_each_context_3(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[30] = list[i];
	return child_ctx;
}

function get_each_context_4(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[33] = list[i];
	return child_ctx;
}

// (2168:0) {:else}
function information_index_svelte_create_else_block(ctx) {
	let div7;
	let div0;
	let t0_value = /*vehicleInformation*/ ctx[0].title + "";
	let t0;
	let t1;
	let div2;
	let t2;
	let div1;
	let p;
	let t3_value = MAP_RARITY_TO_TITLE[/*vehicleInformation*/ ctx[0].rarity] + "";
	let t3;
	let t4;

	let t5_value = (/*vehicleInformation*/ ctx[0].rarity !== Rarity.Unknown
	? `(${/*vehicleInformation*/ ctx[0].rarityLevel})`
	: '') + "";

	let t5;
	let t6;
	let div1_class_value;
	let t7;
	let div3;
	let t8;
	let div4;
	let t9;
	let div5;
	let t10;
	let div6;
	let current;
	let each_value_4 = /*vehicleInformation*/ ctx[0].labels;
	let each_blocks_4 = [];

	for (let i = 0; i < each_value_4.length; i += 1) {
		each_blocks_4[i] = create_each_block_4(get_each_context_4(ctx, each_value_4, i));
	}

	let if_block = /*vehicleInformation*/ ctx[0]?.bonuses && information_index_svelte_create_if_block_1(ctx);
	let each_value_3 = /*vehicleInformation*/ ctx[0].actions;
	let each_blocks_3 = [];

	for (let i = 0; i < each_value_3.length; i += 1) {
		each_blocks_3[i] = create_each_block_3(get_each_context_3(ctx, each_value_3, i));
	}

	let each_value_2 = /*vehicleInformation*/ ctx[0].toggles;
	let each_blocks_2 = [];

	for (let i = 0; i < each_value_2.length; i += 1) {
		each_blocks_2[i] = information_index_svelte_create_each_block_2(information_index_svelte_get_each_context_2(ctx, each_value_2, i));
	}

	const out = i => transition_out(each_blocks_2[i], 1, 1, () => {
		each_blocks_2[i] = null;
	});

	let each_value_1 = /*vehicleInformation*/ ctx[0].radialStats;
	let each_blocks_1 = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks_1[i] = information_index_svelte_create_each_block_1(information_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	const out_1 = i => transition_out(each_blocks_1[i], 1, 1, () => {
		each_blocks_1[i] = null;
	});

	let each_value = /*vehicleInformation*/ ctx[0].stats;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = information_index_svelte_create_each_block(information_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div7 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			div2 = internal_element("div");

			for (let i = 0; i < each_blocks_4.length; i += 1) {
				each_blocks_4[i].c();
			}

			t2 = space();
			div1 = internal_element("div");
			p = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = space();
			t5 = internal_text(t5_value);
			t6 = space();
			if (if_block) if_block.c();
			t7 = space();
			div3 = internal_element("div");

			for (let i = 0; i < each_blocks_3.length; i += 1) {
				each_blocks_3[i].c();
			}

			t8 = space();
			div4 = internal_element("div");

			for (let i = 0; i < each_blocks_2.length; i += 1) {
				each_blocks_2[i].c();
			}

			t9 = space();
			div5 = internal_element("div");

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].c();
			}

			t10 = space();
			div6 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div0, "class", "vehicle-menu-information__title svelte-1vw20le");
			attr(p, "class", "vehicle-menu-information__labels-rarity-title svelte-1vw20le");
			attr(div1, "class", div1_class_value = "vehicle-menu-information__labels-rarity vehicle-menu-information__labels-rarity--" + /*vehicleInformation*/ ctx[0].rarity + " svelte-1vw20le");
			attr(div2, "class", "vehicle-menu-information__labels svelte-1vw20le");
			attr(div3, "class", "vehicle-menu-information__actions svelte-1vw20le");
			attr(div4, "class", "vehicle-menu-information__toggles-grid svelte-1vw20le");
			attr(div5, "class", "vehicle-menu-information__circles svelte-1vw20le");
			attr(div6, "class", "vehicle-menu-information__stats svelte-1vw20le");
			attr(div7, "class", "vehicle-menu-information svelte-1vw20le");
		},
		m(target, anchor) {
			insert(target, div7, anchor);
			append(div7, div0);
			append(div0, t0);
			append(div7, t1);
			append(div7, div2);

			for (let i = 0; i < each_blocks_4.length; i += 1) {
				each_blocks_4[i].m(div2, null);
			}

			append(div2, t2);
			append(div2, div1);
			append(div1, p);
			append(p, t3);
			append(p, t4);
			append(p, t5);
			append(div1, t6);
			if (if_block) if_block.m(div1, null);
			append(div7, t7);
			append(div7, div3);

			for (let i = 0; i < each_blocks_3.length; i += 1) {
				each_blocks_3[i].m(div3, null);
			}

			append(div7, t8);
			append(div7, div4);

			for (let i = 0; i < each_blocks_2.length; i += 1) {
				each_blocks_2[i].m(div4, null);
			}

			append(div7, t9);
			append(div7, div5);

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].m(div5, null);
			}

			append(div7, t10);
			append(div7, div6);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div6, null);
			}

			current = true;
		},
		p(ctx, dirty) {
			if ((!current || dirty[0] & /*vehicleInformation*/ 1) && t0_value !== (t0_value = /*vehicleInformation*/ ctx[0].title + "")) set_data(t0, t0_value);

			if (dirty[0] & /*vehicleInformation*/ 1) {
				each_value_4 = /*vehicleInformation*/ ctx[0].labels;
				let i;

				for (i = 0; i < each_value_4.length; i += 1) {
					const child_ctx = get_each_context_4(ctx, each_value_4, i);

					if (each_blocks_4[i]) {
						each_blocks_4[i].p(child_ctx, dirty);
					} else {
						each_blocks_4[i] = create_each_block_4(child_ctx);
						each_blocks_4[i].c();
						each_blocks_4[i].m(div2, t2);
					}
				}

				for (; i < each_blocks_4.length; i += 1) {
					each_blocks_4[i].d(1);
				}

				each_blocks_4.length = each_value_4.length;
			}

			if ((!current || dirty[0] & /*vehicleInformation*/ 1) && t3_value !== (t3_value = MAP_RARITY_TO_TITLE[/*vehicleInformation*/ ctx[0].rarity] + "")) set_data(t3, t3_value);

			if ((!current || dirty[0] & /*vehicleInformation*/ 1) && t5_value !== (t5_value = (/*vehicleInformation*/ ctx[0].rarity !== Rarity.Unknown
			? `(${/*vehicleInformation*/ ctx[0].rarityLevel})`
			: '') + "")) set_data(t5, t5_value);

			if (/*vehicleInformation*/ ctx[0]?.bonuses) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = information_index_svelte_create_if_block_1(ctx);
					if_block.c();
					if_block.m(div1, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (!current || dirty[0] & /*vehicleInformation*/ 1 && div1_class_value !== (div1_class_value = "vehicle-menu-information__labels-rarity vehicle-menu-information__labels-rarity--" + /*vehicleInformation*/ ctx[0].rarity + " svelte-1vw20le")) {
				attr(div1, "class", div1_class_value);
			}

			if (dirty[0] & /*buttonClick, vehicleInformation*/ 5) {
				each_value_3 = /*vehicleInformation*/ ctx[0].actions;
				let i;

				for (i = 0; i < each_value_3.length; i += 1) {
					const child_ctx = get_each_context_3(ctx, each_value_3, i);

					if (each_blocks_3[i]) {
						each_blocks_3[i].p(child_ctx, dirty);
					} else {
						each_blocks_3[i] = create_each_block_3(child_ctx);
						each_blocks_3[i].c();
						each_blocks_3[i].m(div3, null);
					}
				}

				for (; i < each_blocks_3.length; i += 1) {
					each_blocks_3[i].d(1);
				}

				each_blocks_3.length = each_value_3.length;
			}

			if (dirty[0] & /*vehicleInformation, switchToggle*/ 3) {
				each_value_2 = /*vehicleInformation*/ ctx[0].toggles;
				let i;

				for (i = 0; i < each_value_2.length; i += 1) {
					const child_ctx = information_index_svelte_get_each_context_2(ctx, each_value_2, i);

					if (each_blocks_2[i]) {
						each_blocks_2[i].p(child_ctx, dirty);
						transition_in(each_blocks_2[i], 1);
					} else {
						each_blocks_2[i] = information_index_svelte_create_each_block_2(child_ctx);
						each_blocks_2[i].c();
						transition_in(each_blocks_2[i], 1);
						each_blocks_2[i].m(div4, null);
					}
				}

				group_outros();

				for (i = each_value_2.length; i < each_blocks_2.length; i += 1) {
					out(i);
				}

				check_outros();
			}

			if (dirty[0] & /*vehicleInformation*/ 1) {
				each_value_1 = /*vehicleInformation*/ ctx[0].radialStats;
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = information_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks_1[i]) {
						each_blocks_1[i].p(child_ctx, dirty);
						transition_in(each_blocks_1[i], 1);
					} else {
						each_blocks_1[i] = information_index_svelte_create_each_block_1(child_ctx);
						each_blocks_1[i].c();
						transition_in(each_blocks_1[i], 1);
						each_blocks_1[i].m(div5, null);
					}
				}

				group_outros();

				for (i = each_value_1.length; i < each_blocks_1.length; i += 1) {
					out_1(i);
				}

				check_outros();
			}

			if (dirty[0] & /*vehicleInformation*/ 1) {
				each_value = /*vehicleInformation*/ ctx[0].stats;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = information_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = information_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div6, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value_2.length; i += 1) {
				transition_in(each_blocks_2[i]);
			}

			for (let i = 0; i < each_value_1.length; i += 1) {
				transition_in(each_blocks_1[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks_2 = each_blocks_2.filter(Boolean);

			for (let i = 0; i < each_blocks_2.length; i += 1) {
				transition_out(each_blocks_2[i]);
			}

			each_blocks_1 = each_blocks_1.filter(Boolean);

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				transition_out(each_blocks_1[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div7);
			destroy_each(each_blocks_4, detaching);
			if (if_block) if_block.d();
			destroy_each(each_blocks_3, detaching);
			destroy_each(each_blocks_2, detaching);
			destroy_each(each_blocks_1, detaching);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (2162:0) {#if isEmpty(vehicleInformation)}
function information_index_svelte_create_if_block(ctx) {
	let div1;
	let div0;
	let loader;
	let current;
	loader = new loader_index_svelte({});

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			create_component(loader.$$.fragment);
			attr(div0, "class", "vehicle-menu-information__loader svelte-1vw20le");
			attr(div1, "class", "vehicle-menu-information svelte-1vw20le");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			mount_component(loader, div0, null);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(loader.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(loader.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			destroy_component(loader);
		}
	};
}

// (2172:3) {#each vehicleInformation.labels as label}
function create_each_block_4(ctx) {
	let div1;
	let i;
	let i_class_value;
	let t0;
	let div0;
	let t1_value = /*label*/ ctx[33].title + "";
	let t1;

	return {
		c() {
			div1 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			attr(i, "class", i_class_value = "vehicle-menu-information__label-icon " + /*label*/ ctx[33].icon + " svelte-1vw20le");
			attr(div0, "class", "vehicle-menu-information__label-value");
			attr(div1, "class", "vehicle-menu-information__label svelte-1vw20le");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, i);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*vehicleInformation*/ 1 && i_class_value !== (i_class_value = "vehicle-menu-information__label-icon " + /*label*/ ctx[33].icon + " svelte-1vw20le")) {
				attr(i, "class", i_class_value);
			}

			if (dirty[0] & /*vehicleInformation*/ 1 && t1_value !== (t1_value = /*label*/ ctx[33].title + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (2182:16) {#if vehicleInformation?.bonuses}
function information_index_svelte_create_if_block_1(ctx) {
	let previous_key = /*vehicleInformation*/ ctx[0]?.bonuses?.length.toString();
	let key_block_anchor;
	let key_block = information_index_svelte_create_key_block(ctx);

	return {
		c() {
			key_block.c();
			key_block_anchor = empty();
		},
		m(target, anchor) {
			key_block.m(target, anchor);
			insert(target, key_block_anchor, anchor);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*vehicleInformation*/ 1 && safe_not_equal(previous_key, previous_key = /*vehicleInformation*/ ctx[0]?.bonuses?.length.toString())) {
				key_block.d(1);
				key_block = information_index_svelte_create_key_block(ctx);
				key_block.c();
				key_block.m(key_block_anchor.parentNode, key_block_anchor);
			} else {
				key_block.p(ctx, dirty);
			}
		},
		d(detaching) {
			if (detaching) detach(key_block_anchor);
			key_block.d(detaching);
		}
	};
}

// (2183:20) {#key vehicleInformation?.bonuses?.length.toString()}
function information_index_svelte_create_key_block(ctx) {
	let div;
	let tooltip_action;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="vehicle-menu-information__labels-rarity-button-title svelte-1vw20le">i</p>`;
			attr(div, "class", "vehicle-menu-information__labels-rarity-button svelte-1vw20le");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = action_destroyer(tooltip_action = tooltip.call(null, div, {
					bonuses: /*vehicleInformation*/ ctx[0].bonuses,
					rarity: /*vehicleInformation*/ ctx[0].rarity,
					rarityTitle: MAP_RARITY_TO_TITLE[/*vehicleInformation*/ ctx[0].rarity],
					rarityLevel: /*vehicleInformation*/ ctx[0].rarityLevel,
					offsetX: 240
				}));

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (tooltip_action && internal_is_function(tooltip_action.update) && dirty[0] & /*vehicleInformation*/ 1) tooltip_action.update.call(null, {
				bonuses: /*vehicleInformation*/ ctx[0].bonuses,
				rarity: /*vehicleInformation*/ ctx[0].rarity,
				rarityTitle: MAP_RARITY_TO_TITLE[/*vehicleInformation*/ ctx[0].rarity],
				rarityLevel: /*vehicleInformation*/ ctx[0].rarityLevel,
				offsetX: 240
			});
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (2203:3) {#each vehicleInformation.actions as action}
function create_each_block_3(ctx) {
	let div1;
	let i;
	let i_class_value;
	let t0;
	let div0;
	let t1_value = /*action*/ ctx[30].title + "";
	let t1;
	let t2;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[3](/*action*/ ctx[30]);
	}

	return {
		c() {
			div1 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(i, "class", i_class_value = "vehicle-menu-information__action-icon " + /*action*/ ctx[30].icon + " svelte-1vw20le");
			attr(div0, "class", "vehicle-menu-information__action-value");
			attr(div1, "class", "vehicle-menu-information__action svelte-1vw20le");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, i);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
			append(div1, t2);

			if (!mounted) {
				dispose = listen(div1, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty[0] & /*vehicleInformation*/ 1 && i_class_value !== (i_class_value = "vehicle-menu-information__action-icon " + /*action*/ ctx[30].icon + " svelte-1vw20le")) {
				attr(i, "class", i_class_value);
			}

			if (dirty[0] & /*vehicleInformation*/ 1 && t1_value !== (t1_value = /*action*/ ctx[30].title + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
			mounted = false;
			dispose();
		}
	};
}

// (2211:3) {#each vehicleInformation.toggles as toggle}
function information_index_svelte_create_each_block_2(ctx) {
	let div1;
	let div0;
	let t0_value = /*toggle*/ ctx[27].title + "";
	let t0;
	let t1;
	let toggler;
	let t2;
	let current;

	function func() {
		return /*func*/ ctx[4](/*toggle*/ ctx[27]);
	}

	toggler = new toggler_index_svelte({
			props: {
				state: /*toggle*/ ctx[27].value,
				onSwitch: func
			}
		});

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			create_component(toggler.$$.fragment);
			t2 = space();
			attr(div0, "class", "vehicle-menu-information__toggle-title");
			attr(div1, "class", "vehicle-menu-information__toggle svelte-1vw20le");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, t0);
			append(div1, t1);
			mount_component(toggler, div1, null);
			append(div1, t2);
			current = true;
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if ((!current || dirty[0] & /*vehicleInformation*/ 1) && t0_value !== (t0_value = /*toggle*/ ctx[27].title + "")) set_data(t0, t0_value);
			const toggler_changes = {};
			if (dirty[0] & /*vehicleInformation*/ 1) toggler_changes.state = /*toggle*/ ctx[27].value;
			if (dirty[0] & /*vehicleInformation*/ 1) toggler_changes.onSwitch = func;
			toggler.$set(toggler_changes);
		},
		i(local) {
			if (current) return;
			transition_in(toggler.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(toggler.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			destroy_component(toggler);
		}
	};
}

// (2219:3) {#each vehicleInformation.radialStats as counter}
function information_index_svelte_create_each_block_1(ctx) {
	let div;
	let circlecounter;
	let t;
	let current;

	circlecounter = new circle_counter_index_svelte({
			props: {
				icon: /*counter*/ ctx[24].icon,
				title: /*counter*/ ctx[24].title,
				current: /*counter*/ ctx[24].value,
				total: /*counter*/ ctx[24].maxValue,
				unit: /*counter*/ ctx[24].postfix
			}
		});

	return {
		c() {
			div = internal_element("div");
			create_component(circlecounter.$$.fragment);
			t = space();
			attr(div, "class", "vehicle-menu-information__counter");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(circlecounter, div, null);
			append(div, t);
			current = true;
		},
		p(ctx, dirty) {
			const circlecounter_changes = {};
			if (dirty[0] & /*vehicleInformation*/ 1) circlecounter_changes.icon = /*counter*/ ctx[24].icon;
			if (dirty[0] & /*vehicleInformation*/ 1) circlecounter_changes.title = /*counter*/ ctx[24].title;
			if (dirty[0] & /*vehicleInformation*/ 1) circlecounter_changes.current = /*counter*/ ctx[24].value;
			if (dirty[0] & /*vehicleInformation*/ 1) circlecounter_changes.total = /*counter*/ ctx[24].maxValue;
			if (dirty[0] & /*vehicleInformation*/ 1) circlecounter_changes.unit = /*counter*/ ctx[24].postfix;
			circlecounter.$set(circlecounter_changes);
		},
		i(local) {
			if (current) return;
			transition_in(circlecounter.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(circlecounter.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(circlecounter);
		}
	};
}

// (2232:3) {#each vehicleInformation.stats as stat}
function information_index_svelte_create_each_block(ctx) {
	let div2;
	let div0;
	let t0_value = /*stat*/ ctx[21].value + "";
	let t0;
	let t1;
	let div1;
	let t2_value = /*stat*/ ctx[21].title + "";
	let t2;
	let t3;

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			div1 = internal_element("div");
			t2 = internal_text(t2_value);
			t3 = space();
			attr(div0, "class", "vehicle-menu-information__stat-value svelte-1vw20le");
			toggle_class(div0, "vehicle-menu-information__stat-value--none", /*stat*/ ctx[21].value === 'Отсутствует');
			attr(div1, "class", "vehicle-menu-information__stat-title svelte-1vw20le");
			attr(div2, "class", "vehicle-menu-information__stat svelte-1vw20le");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div0, t0);
			append(div2, t1);
			append(div2, div1);
			append(div1, t2);
			append(div2, t3);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*vehicleInformation*/ 1 && t0_value !== (t0_value = /*stat*/ ctx[21].value + "")) set_data(t0, t0_value);

			if (dirty[0] & /*vehicleInformation*/ 1) {
				toggle_class(div0, "vehicle-menu-information__stat-value--none", /*stat*/ ctx[21].value === 'Отсутствует');
			}

			if (dirty[0] & /*vehicleInformation*/ 1 && t2_value !== (t2_value = /*stat*/ ctx[21].title + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

function components_information_index_svelte_create_fragment(ctx) {
	let show_if;
	let current_block_type_index;
	let if_block;
	let if_block_anchor;
	let current;
	const if_block_creators = [information_index_svelte_create_if_block, information_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (dirty[0] & /*vehicleInformation*/ 1) show_if = null;
		if (show_if == null) show_if = !!(0,lodash.isEmpty)(/*vehicleInformation*/ ctx[0]);
		if (show_if) return 0;
		return 1;
	}

	current_block_type_index = select_block_type(ctx, [-1, -1]);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if_blocks[current_block_type_index].m(target, anchor);
			insert(target, if_block_anchor, anchor);
			current = true;
		},
		p(ctx, dirty) {
			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(if_block_anchor.parentNode, if_block_anchor);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if_blocks[current_block_type_index].d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

function components_information_index_svelte_instance($$self, $$props, $$invalidate) {
	let vehicleInformation = VehicleInformationDefault;
	let disabled = false;

	const disableButtonsActions = () => {
		if (!disabled) {
			disabled = true;

			setTimeout(
				() => {
					disabled = false;
				},
				250
			);
		}
	};

	const switchToggle = toggleId => {
		if (disabled) {
			return;
		}

		let newValue;

		vehicleInformation.toggles.some((item, index) => {
			if (item.id === toggleId) {
				newValue = !item.value;
				$$invalidate(0, vehicleInformation.toggles[index].value = newValue, vehicleInformation);
				return true;
			}

			return false;
		});

		sendClientMessage('vehicleMenu.switchToggle', toggleId, newValue);
		disableButtonsActions();
	};

	const buttonClick = buttonId => {
		if (disabled) {
			return;
		}

		sendClientMessage('vehicleMenu.buttonClick', buttonId);
		disableButtonsActions();
	};

	const initializeVehicleInformation = vehicleInformationDto => {
		$$invalidate(0, vehicleInformation = vehicleInformationDto);
	};

	const pushVehicleName = vehicleNameDto => {
		$$invalidate(0, vehicleInformation.title = vehicleNameDto, vehicleInformation);
	};

	const pushLabels = labelsDto => {
		const idsToRemove = [];

		labelsDto.forEach(labelDto => {
			vehicleInformation.labels.forEach((item, index) => {
				if (item.id === labelDto.id) {
					$$invalidate(0, vehicleInformation.labels[index] = labelDto, vehicleInformation);
					idsToRemove.push(item.id);
				}
			});
		});

		const filteredLabelsDto = labelsDto.filter(({ uniqItem }) => !idsToRemove.includes(uniqItem.id));
		$$invalidate(0, vehicleInformation.labels = [...vehicleInformation.labels, ...filteredLabelsDto], vehicleInformation);
	};

	const pushActions = actionsDto => {
		const idsToRemove = [];

		actionsDto.forEach(actionDto => {
			vehicleInformation.actions.forEach((item, index) => {
				if (item.id === actionDto.id) {
					$$invalidate(0, vehicleInformation.actions[index] = actionDto, vehicleInformation);
					idsToRemove.push(item.id);
				}
			});
		});

		const filteredActionsDto = actionsDto.filter(({ uniqItem }) => !idsToRemove.includes(uniqItem.id));
		$$invalidate(0, vehicleInformation.actions = [...vehicleInformation.actions, ...filteredActionsDto], vehicleInformation);
	};

	const pushToggles = togglesDto => {
		const idsToRemove = [];

		togglesDto.forEach(toggleDto => {
			vehicleInformation.toggles.forEach((item, index) => {
				if (item.id === toggleDto.id) {
					$$invalidate(0, vehicleInformation.toggles[index] = toggleDto, vehicleInformation);
					idsToRemove.push(item.id);
				}
			});
		});

		const filteredTogglesDto = togglesDto.filter(uniqItem => !idsToRemove.includes(uniqItem.id));
		$$invalidate(0, vehicleInformation.toggles = [...vehicleInformation.toggles, ...filteredTogglesDto], vehicleInformation);
	};

	const pushRadials = radialsDto => {
		const idsToRemove = [];

		radialsDto.forEach(radialDto => {
			vehicleInformation.radialStats.forEach((item, index) => {
				if (item.id === radialDto.id) {
					$$invalidate(0, vehicleInformation.radialStats[index] = radialDto, vehicleInformation);
					idsToRemove.push(item.id);
				}
			});
		});

		const filteredRadialsDto = radialsDto.filter(({ uniqItem }) => !idsToRemove.includes(uniqItem.id));
		$$invalidate(0, vehicleInformation.radialStats = [...vehicleInformation.radialStats, ...filteredRadialsDto], vehicleInformation);
	};

	const pushStats = statsDto => {
		const idsToRemove = [];

		statsDto.forEach(vehicleStatsDto => {
			vehicleInformation.stats.forEach((item, index) => {
				if (item.id === vehicleStatsDto.id) {
					$$invalidate(0, vehicleInformation.stats[index] = vehicleStatsDto, vehicleInformation);
					idsToRemove.push(item.id);
				}
			});
		});

		const filteredStatsDto = statsDto.filter(({ uniqItem }) => !idsToRemove.includes(uniqItem.id));
		$$invalidate(0, vehicleInformation.stats = [...vehicleInformation.stats, ...filteredStatsDto], vehicleInformation);
	};

	const unregisterInitializeVehicleInformation = registerEvent('event.vehicleMenu.initializeVehicleInformation', initializeVehicleInformation);
	const unregisterPushVehicleActions = registerEvent('event.vehicleMenu.pushActions', pushActions);
	const unregisterPushVehicleStats = registerEvent('event.vehicleMenu.pushStats', pushStats);
	const unregisterPushVehicleToggles = registerEvent('event.vehicleMenu.pushToggles', pushToggles);
	const unregisterPushVehicleRadials = registerEvent('event.vehicleMenu.pushRadials', pushRadials);
	const unregisterPushVehicleLabels = registerEvent('event.vehicleMenu.pushLabels', pushLabels);
	const unregisterPushVehicleTitle = registerEvent('event.vehicleMenu.vehicleTitle', pushVehicleName);

	onDestroy(() => {
		$$invalidate(0, vehicleInformation.title = '', vehicleInformation);
		$$invalidate(0, vehicleInformation.labels = [], vehicleInformation);
		$$invalidate(0, vehicleInformation.actions = [], vehicleInformation);
		$$invalidate(0, vehicleInformation.toggles = [], vehicleInformation);
		$$invalidate(0, vehicleInformation.radialStats = [], vehicleInformation);
		$$invalidate(0, vehicleInformation.stats = [], vehicleInformation);
		unregisterInitializeVehicleInformation();
		unregisterPushVehicleActions();
		unregisterPushVehicleStats();
		unregisterPushVehicleToggles();
		unregisterPushVehicleRadials();
		unregisterPushVehicleLabels();
		unregisterPushVehicleTitle();
	});

	const click_handler = action => buttonClick(action.id);
	const func = toggle => switchToggle(toggle.id);
	return [vehicleInformation, switchToggle, buttonClick, click_handler, func];
}

class index_svelte_Information extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, components_information_index_svelte_instance, components_information_index_svelte_create_fragment, safe_not_equal, {}, information_index_svelte_add_css, [-1, -1]);
	}
}

/* harmony default export */ const components_information_index_svelte = (index_svelte_Information);
;// CONCATENATED MODULE: ./src/modals/vehicle-menu/img/bg.png
const vehicle_menu_img_bg_namespaceObject = __webpack_require__.p + "assets/cb6ad5ad3e33c5e4881a.webp";
;// CONCATENATED MODULE: ./src/modals/vehicle-menu/index.svelte
/* src\modals\vehicle-menu\index.svelte generated by Svelte v3.49.0 */











function vehicle_menu_index_svelte_add_css(target) {
	append_styles(target, "svelte-1f5qxr8", "@keyframes svelte-1f5qxr8-blinking{50%{opacity:0}}@keyframes svelte-1f5qxr8-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1f5qxr8-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1f5qxr8-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1f5qxr8-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1f5qxr8-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1f5qxr8-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1f5qxr8-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1f5qxr8-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1f5qxr8-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1f5qxr8-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1f5qxr8-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1f5qxr8-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1f5qxr8-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1f5qxr8-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.vehicle-menu.svelte-1f5qxr8{height:100%;position:fixed;top:0;right:0;bottom:0;background-size:cover;background-repeat:no-repeat;width:calc(0.390625 * 100vw + 0px);padding:calc(0.0260416667 * 100vw + 0px);padding-right:calc(0.0104166667 * 100vw + 0px);padding-left:calc(0.046875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu.svelte-1f5qxr8{width:calc(0.390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu.svelte-1f5qxr8{width:calc(0.390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu.svelte-1f5qxr8{width:calc(0.30078125 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu.svelte-1f5qxr8{width:calc(0.4296875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu.svelte-1f5qxr8{width:calc(0.2734375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu.svelte-1f5qxr8{width:calc(0.3515625 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu.svelte-1f5qxr8{width:calc(0.4296875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu.svelte-1f5qxr8{padding:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu.svelte-1f5qxr8{padding:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu.svelte-1f5qxr8{padding:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu.svelte-1f5qxr8{padding:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu.svelte-1f5qxr8{padding:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu.svelte-1f5qxr8{padding:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu.svelte-1f5qxr8{padding:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu.svelte-1f5qxr8{padding-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu.svelte-1f5qxr8{padding-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu.svelte-1f5qxr8{padding-right:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu.svelte-1f5qxr8{padding-right:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu.svelte-1f5qxr8{padding-right:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu.svelte-1f5qxr8{padding-right:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu.svelte-1f5qxr8{padding-right:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu.svelte-1f5qxr8{padding-left:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu.svelte-1f5qxr8{padding-left:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu.svelte-1f5qxr8{padding-left:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu.svelte-1f5qxr8{padding-left:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu.svelte-1f5qxr8{padding-left:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu.svelte-1f5qxr8{padding-left:calc(0.0421875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu.svelte-1f5qxr8{padding-left:calc(0.0515625 * 100vw + 0px)}}.vehicle-menu__header.svelte-1f5qxr8{display:flex;justify-content:space-between;align-items:center;padding-right:calc(0.0109375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu__header.svelte-1f5qxr8{padding-right:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu__header.svelte-1f5qxr8{padding-right:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu__header.svelte-1f5qxr8{padding-right:calc(0.008421875 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu__header.svelte-1f5qxr8{padding-right:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu__header.svelte-1f5qxr8{padding-right:calc(0.00765625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu__header.svelte-1f5qxr8{padding-right:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu__header.svelte-1f5qxr8{padding-right:calc(0.01203125 * 100vw + 0px)}}.vehicle-menu__main.svelte-1f5qxr8{display:flex;align-items:center}.vehicle-menu__exit.svelte-1f5qxr8{display:flex;align-items:center;justify-content:center;gap:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu__exit.svelte-1f5qxr8{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu__exit.svelte-1f5qxr8{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu__exit.svelte-1f5qxr8{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu__exit.svelte-1f5qxr8{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu__exit.svelte-1f5qxr8{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu__exit.svelte-1f5qxr8{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu__exit.svelte-1f5qxr8{gap:calc(0.0057291667 * 100vw + 0px)}}.vehicle-menu__exit-rating.svelte-1f5qxr8{display:flex;align-items:center;justify-content:center;background:linear-gradient(90deg, #FD0E42 0%, #AA0022 100%), linear-gradient(90deg, #FFFFFF 0%, #BCBCBC 100%);cursor:pointer;background-size:100% 100%;transition:background-size 0.2s linear;gap:calc(0.0052083333 * 100vw + 0px);border-radius:calc(0.0026041667 * 100vw + 0px);width:calc(0.1041666667 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu__exit-rating.svelte-1f5qxr8{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu__exit-rating.svelte-1f5qxr8{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu__exit-rating.svelte-1f5qxr8{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu__exit-rating.svelte-1f5qxr8{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu__exit-rating.svelte-1f5qxr8{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu__exit-rating.svelte-1f5qxr8{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu__exit-rating.svelte-1f5qxr8{gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu__exit-rating.svelte-1f5qxr8{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu__exit-rating.svelte-1f5qxr8{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu__exit-rating.svelte-1f5qxr8{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu__exit-rating.svelte-1f5qxr8{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu__exit-rating.svelte-1f5qxr8{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu__exit-rating.svelte-1f5qxr8{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu__exit-rating.svelte-1f5qxr8{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu__exit-rating.svelte-1f5qxr8{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu__exit-rating.svelte-1f5qxr8{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu__exit-rating.svelte-1f5qxr8{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu__exit-rating.svelte-1f5qxr8{width:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu__exit-rating.svelte-1f5qxr8{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu__exit-rating.svelte-1f5qxr8{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu__exit-rating.svelte-1f5qxr8{width:calc(0.1145833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu__exit-rating.svelte-1f5qxr8{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu__exit-rating.svelte-1f5qxr8{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu__exit-rating.svelte-1f5qxr8{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu__exit-rating.svelte-1f5qxr8{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu__exit-rating.svelte-1f5qxr8{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu__exit-rating.svelte-1f5qxr8{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu__exit-rating.svelte-1f5qxr8{height:calc(0.0286458333 * 100vw + 0px)}}.vehicle-menu__exit-rating.svelte-1f5qxr8:hover{background-size:200% 100%}.vehicle-menu__exit-rating-icon.svelte-1f5qxr8{color:rgba(255, 255, 255, 0.85);font-size:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu__exit-rating-icon.svelte-1f5qxr8{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu__exit-rating-icon.svelte-1f5qxr8{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu__exit-rating-icon.svelte-1f5qxr8{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu__exit-rating-icon.svelte-1f5qxr8{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu__exit-rating-icon.svelte-1f5qxr8{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu__exit-rating-icon.svelte-1f5qxr8{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu__exit-rating-icon.svelte-1f5qxr8{font-size:calc(0.00859375 * 100vw + 0px)}}.vehicle-menu__exit-rating-title.svelte-1f5qxr8{font-family:\"HeadingNowBold\";color:rgba(255, 255, 255, 0.85);text-transform:uppercase;font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu__exit-rating-title.svelte-1f5qxr8{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu__exit-rating-title.svelte-1f5qxr8{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu__exit-rating-title.svelte-1f5qxr8{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu__exit-rating-title.svelte-1f5qxr8{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu__exit-rating-title.svelte-1f5qxr8{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu__exit-rating-title.svelte-1f5qxr8{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu__exit-rating-title.svelte-1f5qxr8{font-size:calc(0.006875 * 100vw + 0px)}}.vehicle-menu__main-back.svelte-1f5qxr8{display:flex;align-items:center;justify-content:center;color:#111111;background-color:#FFFFFF;font-size:calc(0.009375 * 100vw + 0px);margin-right:calc(0.0052083333 * 100vw + 0px);width:calc(0.0260416667 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px);border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu__main-back.svelte-1f5qxr8{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu__main-back.svelte-1f5qxr8{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu__main-back.svelte-1f5qxr8{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu__main-back.svelte-1f5qxr8{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu__main-back.svelte-1f5qxr8{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu__main-back.svelte-1f5qxr8{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu__main-back.svelte-1f5qxr8{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu__main-back.svelte-1f5qxr8{margin-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu__main-back.svelte-1f5qxr8{margin-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu__main-back.svelte-1f5qxr8{margin-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu__main-back.svelte-1f5qxr8{margin-right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu__main-back.svelte-1f5qxr8{margin-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu__main-back.svelte-1f5qxr8{margin-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu__main-back.svelte-1f5qxr8{margin-right:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu__main-back.svelte-1f5qxr8{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu__main-back.svelte-1f5qxr8{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu__main-back.svelte-1f5qxr8{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu__main-back.svelte-1f5qxr8{width:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu__main-back.svelte-1f5qxr8{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu__main-back.svelte-1f5qxr8{width:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu__main-back.svelte-1f5qxr8{width:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu__main-back.svelte-1f5qxr8{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu__main-back.svelte-1f5qxr8{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu__main-back.svelte-1f5qxr8{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu__main-back.svelte-1f5qxr8{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu__main-back.svelte-1f5qxr8{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu__main-back.svelte-1f5qxr8{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu__main-back.svelte-1f5qxr8{height:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu__main-back.svelte-1f5qxr8{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu__main-back.svelte-1f5qxr8{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu__main-back.svelte-1f5qxr8{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu__main-back.svelte-1f5qxr8{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu__main-back.svelte-1f5qxr8{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu__main-back.svelte-1f5qxr8{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu__main-back.svelte-1f5qxr8{border-radius:calc(0.0028645833 * 100vw + 0px)}}.vehicle-menu__main-icon.svelte-1f5qxr8{display:flex;align-items:center;color:#FFFFFF;transform:translateY(-20%);font-size:calc(0.0182291667 * 100vw + 0px);margin-right:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu__main-icon.svelte-1f5qxr8{font-size:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu__main-icon.svelte-1f5qxr8{font-size:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu__main-icon.svelte-1f5qxr8{font-size:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu__main-icon.svelte-1f5qxr8{font-size:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu__main-icon.svelte-1f5qxr8{font-size:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu__main-icon.svelte-1f5qxr8{font-size:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu__main-icon.svelte-1f5qxr8{font-size:calc(0.0200520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu__main-icon.svelte-1f5qxr8{margin-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu__main-icon.svelte-1f5qxr8{margin-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu__main-icon.svelte-1f5qxr8{margin-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu__main-icon.svelte-1f5qxr8{margin-right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu__main-icon.svelte-1f5qxr8{margin-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu__main-icon.svelte-1f5qxr8{margin-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu__main-icon.svelte-1f5qxr8{margin-right:calc(0.0057291667 * 100vw + 0px)}}.vehicle-menu__main-title.svelte-1f5qxr8{font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu__main-title.svelte-1f5qxr8{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu__main-title.svelte-1f5qxr8{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu__main-title.svelte-1f5qxr8{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu__main-title.svelte-1f5qxr8{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu__main-title.svelte-1f5qxr8{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu__main-title.svelte-1f5qxr8{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu__main-title.svelte-1f5qxr8{font-size:calc(0.01375 * 100vw + 0px)}}.vehicle-menu__main-slots.svelte-1f5qxr8{font-family:\"GothamPro\";color:rgba(255, 255, 255, 0.6);font-size:calc(0.0104166667 * 100vw + 0px);line-height:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu__main-slots.svelte-1f5qxr8{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu__main-slots.svelte-1f5qxr8{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu__main-slots.svelte-1f5qxr8{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu__main-slots.svelte-1f5qxr8{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu__main-slots.svelte-1f5qxr8{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu__main-slots.svelte-1f5qxr8{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu__main-slots.svelte-1f5qxr8{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu__main-slots.svelte-1f5qxr8{line-height:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu__main-slots.svelte-1f5qxr8{line-height:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu__main-slots.svelte-1f5qxr8{line-height:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu__main-slots.svelte-1f5qxr8{line-height:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu__main-slots.svelte-1f5qxr8{line-height:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu__main-slots.svelte-1f5qxr8{line-height:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu__main-slots.svelte-1f5qxr8{line-height:calc(0.01375 * 100vw + 0px)}}.vehicle-menu__main-slots--big.svelte-1f5qxr8{font-weight:700;color:#FFFFFF}.vehicle-menu__content.svelte-1f5qxr8{height:100%;display:flex;align-items:center;justify-content:center;padding-top:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu__content.svelte-1f5qxr8{padding-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu__content.svelte-1f5qxr8{padding-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu__content.svelte-1f5qxr8{padding-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu__content.svelte-1f5qxr8{padding-top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu__content.svelte-1f5qxr8{padding-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu__content.svelte-1f5qxr8{padding-top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu__content.svelte-1f5qxr8{padding-top:calc(0.0286458333 * 100vw + 0px)}}.vehicle-menu__content--low-padding.svelte-1f5qxr8{padding-top:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vehicle-menu__content--low-padding.svelte-1f5qxr8{padding-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vehicle-menu__content--low-padding.svelte-1f5qxr8{padding-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vehicle-menu__content--low-padding.svelte-1f5qxr8{padding-top:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.vehicle-menu__content--low-padding.svelte-1f5qxr8{padding-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vehicle-menu__content--low-padding.svelte-1f5qxr8{padding-top:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vehicle-menu__content--low-padding.svelte-1f5qxr8{padding-top:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.vehicle-menu__content--low-padding.svelte-1f5qxr8{padding-top:calc(0.0200520833 * 100vw + 0px)}}");
}

// (1204:3) {#if currentStage === VehicleInformationStage.Information}
function vehicle_menu_index_svelte_create_if_block_2(ctx) {
	let i;
	let mounted;
	let dispose;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "vehicle-menu__main-back ui-left-chevron svelte-1f5qxr8");
		},
		m(target, anchor) {
			insert(target, i, anchor);

			if (!mounted) {
				dispose = listen(i, "click", /*back*/ ctx[5]);
				mounted = true;
			}
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(i);
			mounted = false;
			dispose();
		}
	};
}

// (1210:4) {#if currentStage === VehicleInformationStage.List}
function vehicle_menu_index_svelte_create_if_block_1(ctx) {
	let div;
	let t0;
	let span;
	let t1;
	let t2;
	let t3;

	return {
		c() {
			div = internal_element("div");
			t0 = internal_text("Занято слотов ");
			span = internal_element("span");
			t1 = internal_text(/*slotsUsed*/ ctx[0]);
			t2 = internal_text(" / ");
			t3 = internal_text(/*maxSlots*/ ctx[1]);
			attr(span, "class", "vehicle-menu__main-slots--big svelte-1f5qxr8");
			attr(div, "class", "vehicle-menu__main-slots svelte-1f5qxr8");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t0);
			append(div, span);
			append(span, t1);
			append(div, t2);
			append(div, t3);
		},
		p(ctx, dirty) {
			if (dirty & /*slotsUsed*/ 1) set_data(t1, /*slotsUsed*/ ctx[0]);
			if (dirty & /*maxSlots*/ 2) set_data(t3, /*maxSlots*/ ctx[1]);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1231:2) {:else}
function vehicle_menu_index_svelte_create_else_block(ctx) {
	let information;
	let current;
	information = new components_information_index_svelte({});

	return {
		c() {
			create_component(information.$$.fragment);
		},
		m(target, anchor) {
			mount_component(information, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(information.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(information.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(information, detaching);
		}
	};
}

// (1229:2) {#if currentStage === VehicleInformationStage.List}
function vehicle_menu_index_svelte_create_if_block(ctx) {
	let vehiclelist;
	let current;

	vehiclelist = new components_list_index_svelte({
			props: {
				vehicleList: /*vehicleList*/ ctx[3],
				onSelect: /*selectVehicle*/ ctx[6]
			}
		});

	return {
		c() {
			create_component(vehiclelist.$$.fragment);
		},
		m(target, anchor) {
			mount_component(vehiclelist, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const vehiclelist_changes = {};
			if (dirty & /*vehicleList*/ 8) vehiclelist_changes.vehicleList = /*vehicleList*/ ctx[3];
			vehiclelist.$set(vehiclelist_changes);
		},
		i(local) {
			if (current) return;
			transition_in(vehiclelist.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(vehiclelist.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(vehiclelist, detaching);
		}
	};
}

function vehicle_menu_index_svelte_create_fragment(ctx) {
	let div7;
	let div5;
	let div2;
	let t0;
	let i0;
	let t1;
	let div1;
	let div0;
	let t3;
	let t4;
	let div4;
	let div3;
	let t7;
	let exitbutton;
	let t8;
	let div6;
	let current_block_type_index;
	let if_block2;
	let div7_style_value;
	let current;
	let mounted;
	let dispose;
	let if_block0 = /*currentStage*/ ctx[2] === VehicleInformationStage.Information && vehicle_menu_index_svelte_create_if_block_2(ctx);
	let if_block1 = /*currentStage*/ ctx[2] === VehicleInformationStage.List && vehicle_menu_index_svelte_create_if_block_1(ctx);
	exitbutton = new exit_button_index_svelte({ props: { onClick: /*close*/ ctx[4] } });
	const if_block_creators = [vehicle_menu_index_svelte_create_if_block, vehicle_menu_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (/*currentStage*/ ctx[2] === VehicleInformationStage.List) return 0;
		return 1;
	}

	current_block_type_index = select_block_type(ctx, -1);
	if_block2 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div7 = internal_element("div");
			div5 = internal_element("div");
			div2 = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			i0 = internal_element("i");
			t1 = space();
			div1 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "Мой транспорт";
			t3 = space();
			if (if_block1) if_block1.c();
			t4 = space();
			div4 = internal_element("div");
			div3 = internal_element("div");

			div3.innerHTML = `<i class="vehicle-menu__exit-rating-icon icon-transport-trophy svelte-1f5qxr8"></i> 
				<p class="vehicle-menu__exit-rating-title svelte-1f5qxr8">рейтинг</p>`;

			t7 = space();
			create_component(exitbutton.$$.fragment);
			t8 = space();
			div6 = internal_element("div");
			if_block2.c();
			attr(i0, "class", "vehicle-menu__main-icon icon-my-cars svelte-1f5qxr8");
			attr(div0, "class", "vehicle-menu__main-title svelte-1f5qxr8");
			attr(div1, "class", "vehicle-menu__main-title-wrapper");
			attr(div2, "class", "vehicle-menu__main svelte-1f5qxr8");
			attr(div3, "class", "vehicle-menu__exit-rating svelte-1f5qxr8");
			attr(div4, "class", "vehicle-menu__exit svelte-1f5qxr8");
			attr(div5, "class", "vehicle-menu__header svelte-1f5qxr8");
			attr(div6, "class", "vehicle-menu__content svelte-1f5qxr8");
			toggle_class(div6, "vehicle-menu__content--low-padding", /*currentStage*/ ctx[2] === VehicleInformationStage.Information);
			attr(div7, "class", "vehicle-menu svelte-1f5qxr8");
			attr(div7, "style", div7_style_value = `background-image: url(${vehicle_menu_img_bg_namespaceObject})`);
		},
		m(target, anchor) {
			insert(target, div7, anchor);
			append(div7, div5);
			append(div5, div2);
			if (if_block0) if_block0.m(div2, null);
			append(div2, t0);
			append(div2, i0);
			append(div2, t1);
			append(div2, div1);
			append(div1, div0);
			append(div1, t3);
			if (if_block1) if_block1.m(div1, null);
			append(div5, t4);
			append(div5, div4);
			append(div4, div3);
			append(div4, t7);
			mount_component(exitbutton, div4, null);
			append(div7, t8);
			append(div7, div6);
			if_blocks[current_block_type_index].m(div6, null);
			current = true;

			if (!mounted) {
				dispose = listen(div3, "click", /*openRating*/ ctx[7]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (/*currentStage*/ ctx[2] === VehicleInformationStage.Information) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = vehicle_menu_index_svelte_create_if_block_2(ctx);
					if_block0.c();
					if_block0.m(div2, t0);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (/*currentStage*/ ctx[2] === VehicleInformationStage.List) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = vehicle_menu_index_svelte_create_if_block_1(ctx);
					if_block1.c();
					if_block1.m(div1, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block2 = if_blocks[current_block_type_index];

				if (!if_block2) {
					if_block2 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block2.c();
				} else {
					if_block2.p(ctx, dirty);
				}

				transition_in(if_block2, 1);
				if_block2.m(div6, null);
			}

			if (dirty & /*currentStage, VehicleInformationStage*/ 4) {
				toggle_class(div6, "vehicle-menu__content--low-padding", /*currentStage*/ ctx[2] === VehicleInformationStage.Information);
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			transition_in(if_block2);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			transition_out(if_block2);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div7);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			destroy_component(exitbutton);
			if_blocks[current_block_type_index].d();
			mounted = false;
			dispose();
		}
	};
}

function vehicle_menu_index_svelte_instance($$self, $$props, $$invalidate) {
	let { slotsUsed = 0 } = $$props;
	let { maxSlots = 0 } = $$props;
	let { currentStage = VehicleInformationStage.List } = $$props;
	let vehicleList = [];
	const close = () => sendClientMessage('vehicleMenu.close');

	const back = () => {
		sendClientMessage('vehicleMenu.backToList');
	};

	const selectVehicle = vehicleIndex => {
		sendClientMessage('vehicleMenu.loadVehicleInfo', vehicleIndex);
	};

	const openRating = () => {
		sendClientMessage('vehicleMenu.openRating');
	};

	const setVehicleInformationPage = () => {
		$$invalidate(2, currentStage = VehicleInformationStage.Information);
	};

	const initializeVehicleList = (vehicleListDto = []) => {
		$$invalidate(3, vehicleList = [...vehicleList, ...vehicleListDto]);

		vehicleList.forEach((item, index) => {
			$$invalidate(3, vehicleList[index].loaded = item.status !== VehicleStatus.NotLoaded, vehicleList);
		});

		vehicleList.sort((a, b) => b.loaded - a.loaded);
	};

	const pushVehicleItem = vehicleItem => {
		const vehicleItemDto = vehicleItem;
		vehicleItemDto.loaded = vehicleItemDto.status !== VehicleStatus.NotLoaded;
		let itemUpdated = false;

		itemUpdated = vehicleList.some((item, index) => {
			if (item.id === vehicleItemDto.id) {
				$$invalidate(3, vehicleList[index] = vehicleItemDto, vehicleList);
				return true;
			}

			return itemUpdated;
		});

		if (!itemUpdated) {
			$$invalidate(3, vehicleList = [...vehicleList, vehicleItemDto]);
		}

		vehicleList.sort((a, b) => b.loaded - a.loaded);
	};

	const setVehicleMaxSlot = count => {
		$$invalidate(1, maxSlots = count);
	};

	const setVehicleSlotUsed = count => {
		$$invalidate(0, slotsUsed = count);
	};

	const initVehListInfo = (vehicleListInfoDto = []) => {
		$$invalidate(1, maxSlots = vehicleListInfoDto.maxSlots);
		$$invalidate(0, slotsUsed = vehicleListInfoDto.slotsUsed);
	};

	const unregisterInitializeVehicleList = registerEvent('event.vehicleMenu.initializeVehicleList', initializeVehicleList);
	const unregisterPushVehicleItem = registerEvent('event.vehicleMenu.pushVehicleItem', pushVehicleItem);
	const unregisterSetVehicleInfo = registerEvent('event.vehicleMenu.setVehicleInfoList', setVehicleInformationPage);
	const unregisterSetVehicleMaxSlot = registerEvent('event.vehicleMenu.setVehicleMaxSlot', setVehicleMaxSlot);
	const unregisterSetVehicleSlotUsed = registerEvent('event.vehicleMenu.setVehicleUsedSlot', setVehicleSlotUsed);
	const unregisterInitVehListInfo = registerEvent('event.vehicleMenu.initVehListInfo', initVehListInfo);

	onMount(() => {
		sendClientMessage('vehicleMenu.loadList');
	});

	onDestroy(() => {
		unregisterInitializeVehicleList();
		unregisterPushVehicleItem();
		unregisterSetVehicleInfo();
		unregisterSetVehicleMaxSlot();
		unregisterSetVehicleSlotUsed();
		unregisterInitVehListInfo();
	});

	$$self.$$set = $$props => {
		if ('slotsUsed' in $$props) $$invalidate(0, slotsUsed = $$props.slotsUsed);
		if ('maxSlots' in $$props) $$invalidate(1, maxSlots = $$props.maxSlots);
		if ('currentStage' in $$props) $$invalidate(2, currentStage = $$props.currentStage);
	};

	return [
		slotsUsed,
		maxSlots,
		currentStage,
		vehicleList,
		close,
		back,
		selectVehicle,
		openRating
	];
}

class Vehicle_menu extends SvelteComponent {
	constructor(options) {
		super();

		init(
			this,
			options,
			vehicle_menu_index_svelte_instance,
			vehicle_menu_index_svelte_create_fragment,
			safe_not_equal,
			{
				slotsUsed: 0,
				maxSlots: 1,
				currentStage: 2
			},
			vehicle_menu_index_svelte_add_css
		);
	}
}

/* harmony default export */ const vehicle_menu_index_svelte = (Vehicle_menu);
;// CONCATENATED MODULE: ./src/modals/action-progress-bar/img/leftMouse.svg
const leftMouse_namespaceObject = __webpack_require__.p + "assets/fdc882a27bc6e749f3ed.svg";
;// CONCATENATED MODULE: ./src/modals/action-progress-bar/index.svelte
/* src\modals\action-progress-bar\index.svelte generated by Svelte v3.49.0 */






function action_progress_bar_index_svelte_add_css(target) {
	append_styles(target, "svelte-1i9zx9e", "@keyframes svelte-1i9zx9e-blinking{50%{opacity:0}}@keyframes svelte-1i9zx9e-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1i9zx9e-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1i9zx9e-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1i9zx9e-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1i9zx9e-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1i9zx9e-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1i9zx9e-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1i9zx9e-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1i9zx9e-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1i9zx9e-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1i9zx9e-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1i9zx9e-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1i9zx9e-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1i9zx9e-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.progress-bar.svelte-1i9zx9e{position:fixed;top:0;left:0;width:100vw;height:100vh;display:flex;align-items:center;justify-content:center;z-index:999}.progress-bar__inner.svelte-1i9zx9e{position:relative;display:flex;align-items:center;justify-content:center;pointer-events:none;width:calc(0.1302083333 * 100vw + 0px);height:calc(0.1302083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.progress-bar__inner.svelte-1i9zx9e{width:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.progress-bar__inner.svelte-1i9zx9e{width:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.progress-bar__inner.svelte-1i9zx9e{width:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px){.progress-bar__inner.svelte-1i9zx9e{width:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.progress-bar__inner.svelte-1i9zx9e{width:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.progress-bar__inner.svelte-1i9zx9e{width:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 4096px){.progress-bar__inner.svelte-1i9zx9e{width:calc(0.1432291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.progress-bar__inner.svelte-1i9zx9e{height:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.progress-bar__inner.svelte-1i9zx9e{height:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.progress-bar__inner.svelte-1i9zx9e{height:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px){.progress-bar__inner.svelte-1i9zx9e{height:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.progress-bar__inner.svelte-1i9zx9e{height:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.progress-bar__inner.svelte-1i9zx9e{height:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 4096px){.progress-bar__inner.svelte-1i9zx9e{height:calc(0.1432291667 * 100vw + 0px)}}.progress-bar__text.svelte-1i9zx9e{white-space:pre;position:absolute;color:#FFFFFF;text-align:center;font-family:\"GothamPro-Medium\";text-shadow:calc(0 * 100vw + 0px) calc(0.0005208333 * 100vw + 0px) calc(0.0005208333 * 100vw + 0px) rgba(0, 0, 0, 0.5);margin-top:calc(0.1302083333 * 100vw + 0px);font-size:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.progress-bar__text.svelte-1i9zx9e{text-shadow:calc(0 * 100vw + 0px) calc(0.0005208333 * 100vw + 0px) calc(0.0005208333 * 100vw + 0px) rgba(0, 0, 0, 0.5)}}@media(min-width: 2560px) and (max-height: 1440px){.progress-bar__text.svelte-1i9zx9e{text-shadow:calc(0 * 100vw + 0px) calc(0.0005208333 * 100vw + 0px) calc(0.0005208333 * 100vw + 0px) rgba(0, 0, 0, 0.5)}}@media(min-width: 2560px) and (max-height: 1080px){.progress-bar__text.svelte-1i9zx9e{text-shadow:calc(0 * 100vw + 0px) calc(0.0004010417 * 100vw + 0px) calc(0.0004010417 * 100vw + 0px) rgba(0, 0, 0, 0.5)}}@media(min-width: 3440px){.progress-bar__text.svelte-1i9zx9e{text-shadow:calc(0 * 100vw + 0px) calc(0.0005729167 * 100vw + 0px) calc(0.0005729167 * 100vw + 0px) rgba(0, 0, 0, 0.5)}}@media(min-width: 3440px) and (max-height: 1440px){.progress-bar__text.svelte-1i9zx9e{text-shadow:calc(0 * 100vw + 0px) calc(0.0003645833 * 100vw + 0px) calc(0.0003645833 * 100vw + 0px) rgba(0, 0, 0, 0.5)}}@media(min-width: 3840px) and (max-height: 2160px){.progress-bar__text.svelte-1i9zx9e{text-shadow:calc(0 * 100vw + 0px) calc(0.00046875 * 100vw + 0px) calc(0.00046875 * 100vw + 0px) rgba(0, 0, 0, 0.5)}}@media(min-width: 4096px){.progress-bar__text.svelte-1i9zx9e{text-shadow:calc(0 * 100vw + 0px) calc(0.0005729167 * 100vw + 0px) calc(0.0005729167 * 100vw + 0px) rgba(0, 0, 0, 0.5)}}@media(max-width: 1920px) and (max-height: 768px){.progress-bar__text.svelte-1i9zx9e{margin-top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.progress-bar__text.svelte-1i9zx9e{margin-top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.progress-bar__text.svelte-1i9zx9e{margin-top:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px){.progress-bar__text.svelte-1i9zx9e{margin-top:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.progress-bar__text.svelte-1i9zx9e{margin-top:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.progress-bar__text.svelte-1i9zx9e{margin-top:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 4096px){.progress-bar__text.svelte-1i9zx9e{margin-top:calc(0.1432291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.progress-bar__text.svelte-1i9zx9e{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.progress-bar__text.svelte-1i9zx9e{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.progress-bar__text.svelte-1i9zx9e{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.progress-bar__text.svelte-1i9zx9e{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.progress-bar__text.svelte-1i9zx9e{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.progress-bar__text.svelte-1i9zx9e{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.progress-bar__text.svelte-1i9zx9e{font-size:calc(0.00859375 * 100vw + 0px)}}.circular-progress.svelte-1i9zx9e{transform:rotate(270deg);width:100%;height:100%}.circular-progress__circle.svelte-1i9zx9e{fill:none;stroke-linecap:butt}.left-mouse.svelte-1i9zx9e{position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);width:70px;height:70px;cursor:pointer}");
}

// (485:8) {#if clickEnabled}
function action_progress_bar_index_svelte_create_if_block(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = leftMouse_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "Left Mouse");
			attr(img, "class", "left-mouse svelte-1i9zx9e");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

function action_progress_bar_index_svelte_create_fragment(ctx) {
	let div2;
	let div1;
	let div0;
	let html_tag;
	let t0;
	let html_tag_1;
	let t1;
	let svg;
	let circle0;
	let circle1;
	let t2;
	let if_block = /*clickEnabled*/ ctx[1] && action_progress_bar_index_svelte_create_if_block(ctx);

	return {
		c() {
			div2 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");
			html_tag = new HtmlTag(false);
			t0 = space();
			html_tag_1 = new HtmlTag(false);
			t1 = space();
			svg = svg_element("svg");
			circle0 = svg_element("circle");
			circle1 = svg_element("circle");
			t2 = space();
			if (if_block) if_block.c();
			html_tag.a = t0;
			html_tag_1.a = null;
			attr(div0, "class", "progress-bar__text svelte-1i9zx9e");
			attr(circle0, "class", "circular-progress__circle svelte-1i9zx9e");
			attr(circle0, "stroke-width", /*calculatedStrokeWidth*/ ctx[6]);
			attr(circle0, "stroke", backgroundBaseStroke);
			attr(circle0, "cx", "50%");
			attr(circle0, "cy", "50%");
			attr(circle0, "r", /*radius*/ ctx[4]);
			attr(circle0, "fill", "none");
			attr(circle1, "class", "circular-progress__circle svelte-1i9zx9e");
			attr(circle1, "stroke-width", /*calculatedStrokeWidth*/ ctx[6]);
			attr(circle1, "stroke", backgroundProgressStroke);
			attr(circle1, "cx", "50%");
			attr(circle1, "cy", "50%");
			attr(circle1, "r", /*radius*/ ctx[4]);
			attr(circle1, "stroke-dasharray", /*circumference*/ ctx[0]);
			attr(circle1, "stroke-dashoffset", /*strokeProgress*/ ctx[7]);
			attr(circle1, "fill", "none");
			attr(svg, "class", "circular-progress svelte-1i9zx9e");
			attr(svg, "xmlns", "http://www.w3.org/2000/svg");
			attr(div1, "class", "progress-bar__inner svelte-1i9zx9e");
			attr(div2, "class", "progress-bar svelte-1i9zx9e");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div1);
			append(div1, div0);
			html_tag.m(/*text*/ ctx[2], div0);
			append(div0, t0);
			html_tag_1.m(/*textCancel*/ ctx[3], div0);
			append(div1, t1);
			append(div1, svg);
			append(svg, circle0);
			append(svg, circle1);
			/*svg_binding*/ ctx[9](svg);
			append(div1, t2);
			if (if_block) if_block.m(div1, null);
		},
		p(ctx, [dirty]) {
			if (dirty & /*text*/ 4) html_tag.p(/*text*/ ctx[2]);
			if (dirty & /*textCancel*/ 8) html_tag_1.p(/*textCancel*/ ctx[3]);

			if (dirty & /*calculatedStrokeWidth*/ 64) {
				attr(circle0, "stroke-width", /*calculatedStrokeWidth*/ ctx[6]);
			}

			if (dirty & /*radius*/ 16) {
				attr(circle0, "r", /*radius*/ ctx[4]);
			}

			if (dirty & /*calculatedStrokeWidth*/ 64) {
				attr(circle1, "stroke-width", /*calculatedStrokeWidth*/ ctx[6]);
			}

			if (dirty & /*radius*/ 16) {
				attr(circle1, "r", /*radius*/ ctx[4]);
			}

			if (dirty & /*circumference*/ 1) {
				attr(circle1, "stroke-dasharray", /*circumference*/ ctx[0]);
			}

			if (dirty & /*strokeProgress*/ 128) {
				attr(circle1, "stroke-dashoffset", /*strokeProgress*/ ctx[7]);
			}

			if (/*clickEnabled*/ ctx[1]) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = action_progress_bar_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div1, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div2);
			/*svg_binding*/ ctx[9](null);
			if (if_block) if_block.d();
		}
	};
}

const strokeWidth = 5;
const backgroundBaseStroke = 'rgba(255, 255, 255, 0.25)';
const backgroundProgressStroke = 'rgba(255, 255, 255, 1)';

function action_progress_bar_index_svelte_instance($$self, $$props, $$invalidate) {
	let strokeProgress;
	let calculatedStrokeWidth;
	let progress = 0;
	let clickEnabled = false;
	let canCancel = false;
	let text = '';
	let textCancel = '';
	let radius = 0;
	let circumference = 0;
	let container;

	const unregisterUpdateType = registerEvent('event.progressBar.updateType', data => {
		// data: { "click": 1|0 }
		$$invalidate(1, clickEnabled = data.click === 1);

		if (clickEnabled) {
			$$invalidate(2, text = 'Нажимайте клавишу\nочень быстро');
		} else {
			$$invalidate(2, text = '');
		}
	});

	const unregisterCanCancel = registerEvent('event.progressBar.canCancel', data => {
		// data: { "click": 1|0 }
		canCancel = data.canCancel === 1;

		if (clickEnabled) {
			$$invalidate(3, textCancel = '<br><br>Чтобы отменить нажмите<br><strong>Пробел</strong>');
		} else {
			$$invalidate(3, textCancel = '');
		}
	});

	const unregisterUpdateText = registerEvent('event.progressBar.updateText', data => {
		// data: { "text": "text" }
		$$invalidate(2, text = data.text);
	});

	const unregisterUpdateProgress = registerEvent('event.progressBar.updateProgress', data => {
		// data: { "progress": число }
		$$invalidate(8, progress = data.progress);
	});

	onMount(() => {
		const circleWidth = container.getBoundingClientRect().width;
		$$invalidate(4, radius = circleWidth / 3 - strokeWidth / 15);
		$$invalidate(0, circumference = 2 * Math.PI * radius);
	});

	onDestroy(() => {
		unregisterUpdateType();
		unregisterUpdateText();
		unregisterUpdateProgress();
		unregisterCanCancel();
	});

	function svg_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			container = $$value;
			$$invalidate(5, container);
		});
	}

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*circumference, progress*/ 257) {
			$: $$invalidate(7, strokeProgress = circumference
			? (100 - progress) / 100 * circumference
			: 0);
		}
	};

	$: $$invalidate(6, calculatedStrokeWidth = strokeWidth * (window.innerWidth / 1200));

	return [
		circumference,
		clickEnabled,
		text,
		textCancel,
		radius,
		container,
		calculatedStrokeWidth,
		strokeProgress,
		progress,
		svg_binding
	];
}

class Action_progress_bar extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, action_progress_bar_index_svelte_instance, action_progress_bar_index_svelte_create_fragment, safe_not_equal, {}, action_progress_bar_index_svelte_add_css);
	}
}

/* harmony default export */ const action_progress_bar_index_svelte = (Action_progress_bar);
;// CONCATENATED MODULE: ./src/modals/dialog/store.js


var dialogId = writable(-1);
var dialogType = writable(null);
var selectedListItem = writable(0);
var inputValue = writable('');
var dialogPlaceholder = writable('');
var savedListPositions = writable({});
var savedCoordinates = writable({});
registerEvent('event.dialog.resetPosition', function () {
  return savedCoordinates.set({});
});
;// CONCATENATED MODULE: ./src/modals/dialog/components/dialog-info/index.svelte
/* src\modals\dialog\components\dialog-info\index.svelte generated by Svelte v3.49.0 */




function dialog_info_index_svelte_create_fragment(ctx) {
	let div1;
	let div0;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			attr(div0, "class", "dialog-info__description");
			attr(div1, "class", "dialog-info");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			div0.innerHTML = /*body*/ ctx[0];
		},
		p(ctx, [dirty]) {
			if (dirty & /*body*/ 1) div0.innerHTML = /*body*/ ctx[0];;
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

function dialog_info_index_svelte_instance($$self, $$props, $$invalidate) {
	let { body = '' } = $$props;

	$$self.$$set = $$props => {
		if ('body' in $$props) $$invalidate(0, body = $$props.body);
	};

	return [body];
}

class Dialog_info extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, dialog_info_index_svelte_instance, dialog_info_index_svelte_create_fragment, safe_not_equal, { body: 0 });
	}
}

/* harmony default export */ const dialog_info_index_svelte = (Dialog_info);
;// CONCATENATED MODULE: ./src/modals/dialog/components/dialog-input/index.svelte
/* src\modals\dialog\components\dialog-input\index.svelte generated by Svelte v3.49.0 */







function dialog_input_index_svelte_create_fragment(ctx) {
	let div1;
	let input;
	let t0;
	let div0;
	let span0;
	let t1;
	let span1;
	let t2;
	let mounted;
	let dispose;

	return {
		c() {
			div1 = internal_element("div");
			input = internal_element("input");
			t0 = space();
			div0 = internal_element("div");
			span0 = internal_element("span");
			t1 = internal_text(/*$inputValue*/ ctx[4]);
			span1 = internal_element("span");
			t2 = internal_text(/*placeholderText*/ ctx[2]);
			attr(input, "type", /*inputType*/ ctx[0]);
			attr(input, "class", "dialog-input__field");
			attr(input, "spellcheck", "false");
			set_style(span0, "color", "white");
			attr(span1, "style", "");
			attr(div0, "class", "dialog-input__placeholder");
			attr(div1, "class", "dialog-input");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, input);
			/*input_binding*/ ctx[8](input);
			append(div1, t0);
			append(div1, div0);
			append(div0, span0);
			append(span0, t1);
			append(div0, span1);
			append(span1, t2);
			/*div0_binding*/ ctx[9](div0);

			if (!mounted) {
				dispose = listen(input, "keyup", /*keyup_handler*/ ctx[7]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*inputType*/ 1) {
				attr(input, "type", /*inputType*/ ctx[0]);
			}

			if (dirty & /*$inputValue*/ 16) set_data(t1, /*$inputValue*/ ctx[4]);
			if (dirty & /*placeholderText*/ 4) set_data(t2, /*placeholderText*/ ctx[2]);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
			/*input_binding*/ ctx[8](null);
			/*div0_binding*/ ctx[9](null);
			mounted = false;
			dispose();
		}
	};
}

function dialog_input_index_svelte_instance($$self, $$props, $$invalidate) {
	let $dialogPlaceholder;
	let $inputValue;
	component_subscribe($$self, dialogPlaceholder, $$value => $$invalidate(11, $dialogPlaceholder = $$value));
	component_subscribe($$self, inputValue, $$value => $$invalidate(4, $inputValue = $$value));
	let inputNode = null;
	let { autofocus = true } = $$props;
	let { inputType = 'text' } = $$props;
	let placeholderText = $dialogPlaceholder;
	let right = 0;
	let placeholderNode = null;

	const getDistanceToRightParent = () => {
		const parent = placeholderNode.parentElement;
		const parentRect = parent.getBoundingClientRect();
		right = parentRect.right - placeholderNode.offsetLeft;
	};

	const inputHandler = event => {
		set_store_value(inputValue, $inputValue = event.target.value, $inputValue);

		if ($inputValue.length > 0) {
			$$invalidate(2, placeholderText = $dialogPlaceholder.substring($inputValue.length, $dialogPlaceholder.length));
		} else {
			$$invalidate(2, placeholderText = $dialogPlaceholder);
		}
	};

	onMount(() => {
		if (!(0,lodash.isNil)(inputNode) && autofocus) {
			inputNode.focus();
			getDistanceToRightParent();
		}
	});

	const keyup_handler = event => inputHandler(event);

	function input_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			inputNode = $$value;
			$$invalidate(1, inputNode);
		});
	}

	function div0_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			placeholderNode = $$value;
			$$invalidate(3, placeholderNode);
		});
	}

	$$self.$$set = $$props => {
		if ('autofocus' in $$props) $$invalidate(6, autofocus = $$props.autofocus);
		if ('inputType' in $$props) $$invalidate(0, inputType = $$props.inputType);
	};

	return [
		inputType,
		inputNode,
		placeholderText,
		placeholderNode,
		$inputValue,
		inputHandler,
		autofocus,
		keyup_handler,
		input_binding,
		div0_binding
	];
}

class Dialog_input extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, dialog_input_index_svelte_instance, dialog_input_index_svelte_create_fragment, safe_not_equal, { autofocus: 6, inputType: 0 });
	}
}

/* harmony default export */ const dialog_input_index_svelte = (Dialog_input);
;// CONCATENATED MODULE: ./src/modals/dialog/components/dialog-text/index.svelte
/* src\modals\dialog\components\dialog-text\index.svelte generated by Svelte v3.49.0 */





function dialog_text_index_svelte_create_fragment(ctx) {
	let div2;
	let div0;
	let t;
	let div1;
	let dialoginput;
	let current;

	dialoginput = new dialog_input_index_svelte({
			props: {
				inputType: 'text',
				autofocus: /*autofocus*/ ctx[1]
			}
		});

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			t = space();
			div1 = internal_element("div");
			create_component(dialoginput.$$.fragment);
			attr(div0, "class", "dialog-text__description");
			attr(div1, "class", "dialog-text__input");
			attr(div2, "class", "dialog-text");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			div0.innerHTML = /*body*/ ctx[0];
			append(div2, t);
			append(div2, div1);
			mount_component(dialoginput, div1, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if (!current || dirty & /*body*/ 1) div0.innerHTML = /*body*/ ctx[0];;
			const dialoginput_changes = {};
			if (dirty & /*autofocus*/ 2) dialoginput_changes.autofocus = /*autofocus*/ ctx[1];
			dialoginput.$set(dialoginput_changes);
		},
		i(local) {
			if (current) return;
			transition_in(dialoginput.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(dialoginput.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div2);
			destroy_component(dialoginput);
		}
	};
}

function dialog_text_index_svelte_instance($$self, $$props, $$invalidate) {
	let { body = '' } = $$props;
	let { autofocus = false } = $$props;

	$$self.$$set = $$props => {
		if ('body' in $$props) $$invalidate(0, body = $$props.body);
		if ('autofocus' in $$props) $$invalidate(1, autofocus = $$props.autofocus);
	};

	return [body, autofocus];
}

class Dialog_text extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, dialog_text_index_svelte_instance, dialog_text_index_svelte_create_fragment, safe_not_equal, { body: 0, autofocus: 1 });
	}
}

/* harmony default export */ const dialog_text_index_svelte = (Dialog_text);
;// CONCATENATED MODULE: ./src/modals/dialog/components/dialog-password/index.svelte
/* src\modals\dialog\components\dialog-password\index.svelte generated by Svelte v3.49.0 */





function dialog_password_index_svelte_create_fragment(ctx) {
	let div2;
	let div0;
	let t;
	let div1;
	let dialoginput;
	let current;

	dialoginput = new dialog_input_index_svelte({
			props: {
				inputType: 'password',
				autofocus: /*autofocus*/ ctx[1]
			}
		});

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			t = space();
			div1 = internal_element("div");
			create_component(dialoginput.$$.fragment);
			attr(div0, "class", "dialog-password__description");
			attr(div1, "class", "dialog-password__input");
			attr(div2, "class", "dialog-password");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			div0.innerHTML = /*body*/ ctx[0];
			append(div2, t);
			append(div2, div1);
			mount_component(dialoginput, div1, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if (!current || dirty & /*body*/ 1) div0.innerHTML = /*body*/ ctx[0];;
			const dialoginput_changes = {};
			if (dirty & /*autofocus*/ 2) dialoginput_changes.autofocus = /*autofocus*/ ctx[1];
			dialoginput.$set(dialoginput_changes);
		},
		i(local) {
			if (current) return;
			transition_in(dialoginput.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(dialoginput.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div2);
			destroy_component(dialoginput);
		}
	};
}

function dialog_password_index_svelte_instance($$self, $$props, $$invalidate) {
	let { body = '' } = $$props;
	let { autofocus = false } = $$props;

	$$self.$$set = $$props => {
		if ('body' in $$props) $$invalidate(0, body = $$props.body);
		if ('autofocus' in $$props) $$invalidate(1, autofocus = $$props.autofocus);
	};

	return [body, autofocus];
}

class Dialog_password extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, dialog_password_index_svelte_instance, dialog_password_index_svelte_create_fragment, safe_not_equal, { body: 0, autofocus: 1 });
	}
}

/* harmony default export */ const dialog_password_index_svelte = (Dialog_password);
;// CONCATENATED MODULE: ./src/modals/dialog/components/list-loop/index.svelte
/* src\modals\dialog\components\list-loop\index.svelte generated by Svelte v3.49.0 */


const { window: list_loop_index_svelte_window_1 } = globals;







function list_loop_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[16] = list[i];
	child_ctx[18] = i;
	return child_ctx;
}

// (96:2) {#each items as item, index}
function list_loop_index_svelte_create_each_block(ctx) {
	let div;
	let html_tag;
	let raw_value = /*item*/ ctx[16].text + "";
	let t;
	let mounted;
	let dispose;

	function click_handler(...args) {
		return /*click_handler*/ ctx[6](/*index*/ ctx[18], ...args);
	}

	return {
		c() {
			div = internal_element("div");
			html_tag = new HtmlTag(false);
			t = space();
			html_tag.a = t;
			attr(div, "class", "dialog-list-loop__list-item");
			toggle_class(div, "dialog-list-loop__list-item--active", /*$selectedListItem*/ ctx[2] === /*index*/ ctx[18]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			html_tag.m(raw_value, div);
			append(div, t);

			if (!mounted) {
				dispose = listen(div, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if (dirty & /*items*/ 1 && raw_value !== (raw_value = /*item*/ ctx[16].text + "")) html_tag.p(raw_value);

			if (dirty & /*$selectedListItem*/ 4) {
				toggle_class(div, "dialog-list-loop__list-item--active", /*$selectedListItem*/ ctx[2] === /*index*/ ctx[18]);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

function list_loop_index_svelte_create_fragment(ctx) {
	let div1;
	let div0;
	let mounted;
	let dispose;
	let each_value = /*items*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = list_loop_index_svelte_create_each_block(list_loop_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div0, "class", "dialog-list-loop__list");
			attr(div1, "class", "dialog-list-loop");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			/*div0_binding*/ ctx[7](div0);

			if (!mounted) {
				dispose = listen(list_loop_index_svelte_window_1, "keydown", /*keydown_handler*/ ctx[5]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*$selectedListItem, doubleClickHandler, items*/ 13) {
				each_value = /*items*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = list_loop_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = list_loop_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div0, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
			destroy_each(each_blocks, detaching);
			/*div0_binding*/ ctx[7](null);
			mounted = false;
			dispose();
		}
	};
}

function list_loop_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedListItem;
	let $dialogId;
	let $savedListPositions;
	let $dialogType;
	let $inputValue;
	component_subscribe($$self, selectedListItem, $$value => $$invalidate(2, $selectedListItem = $$value));
	component_subscribe($$self, dialogId, $$value => $$invalidate(9, $dialogId = $$value));
	component_subscribe($$self, savedListPositions, $$value => $$invalidate(10, $savedListPositions = $$value));
	component_subscribe($$self, dialogType, $$value => $$invalidate(11, $dialogType = $$value));
	component_subscribe($$self, inputValue, $$value => $$invalidate(12, $inputValue = $$value));
	let scrollable = null;
	let lastClickTiming = 0;
	let { items = [] } = $$props;

	const selectItem = id => {
		if ($dialogType === DIALOG_TYPES.TabListHeaders) {
			set_store_value(selectedListItem, $selectedListItem = items[id].index - 1, $selectedListItem); // minus headers row index
		} else {
			set_store_value(selectedListItem, $selectedListItem = items[id].index, $selectedListItem);
		}
	};

	const moveUp = () => {
		const margin = parseFloat(window.getComputedStyle(scrollable.childNodes[0]).marginBottom);

		if (scrollable.scrollTop > 0) {
			$$invalidate(1, scrollable.scrollTop -= scrollable.childNodes[0].offsetHeight + margin, scrollable);
		}

		if ($selectedListItem - 1 < 0) {
			set_store_value(selectedListItem, $selectedListItem = items.length - 1, $selectedListItem);
			$$invalidate(1, scrollable.scrollTop = (scrollable.childNodes[0].offsetHeight + margin) * (items.length - MAX_LIST_ITEMS + 3), scrollable);
		} else {
			set_store_value(selectedListItem, $selectedListItem -= 1, $selectedListItem);
		}

		selectItem($selectedListItem);
	};

	const doubleClickHandler = (event, index) => {
		const doubleClickDuration = 200;
		const timeBetweenClicks = event.timeStamp - lastClickTiming;

		if (timeBetweenClicks > doubleClickDuration || $selectedListItem !== index) {
			lastClickTiming = event.timeStamp;
			set_store_value(selectedListItem, $selectedListItem = index, $selectedListItem);
			selectItem($selectedListItem);
			return;
		}

		sendClientMessage('sendResponse', $dialogId, $selectedListItem, 1, $inputValue);
		lastClickTiming = 0;

		if ($dialogType === DIALOG_TYPES.List || $dialogType === DIALOG_TYPES.TabList || $dialogType === DIALOG_TYPES.TabListHeaders) {
			set_store_value(savedListPositions, $savedListPositions[$dialogId] = $selectedListItem, $savedListPositions);
		}
	};

	const moveDown = () => {
		const margin = parseFloat(window.getComputedStyle(scrollable.childNodes[0]).marginBottom);

		if ($selectedListItem > 6) {
			$$invalidate(1, scrollable.scrollTop = (scrollable.childNodes[0].offsetHeight + margin) * ($selectedListItem - 5), scrollable);
		} else {
			$$invalidate(1, scrollable.scrollTop = 0, scrollable);
		}

		if ($selectedListItem + 1 >= items.length) {
			set_store_value(selectedListItem, $selectedListItem = 0, $selectedListItem);
			$$invalidate(1, scrollable.scrollTop = 0, scrollable);
		} else {
			set_store_value(selectedListItem, $selectedListItem += 1, $selectedListItem);
		}

		selectItem($selectedListItem);
	};

	const keyDownHandler = event => {
		// scrollable.scrollLeft = scrollable.childNodes[0].offsetWidth * selectedGear.index;
		switch (event.keyCode) {
			case 38:
				// arrow up
				moveUp();
				break;
			case 40:
				// arrow down
				moveDown();
				break;
			default:
				break;
		}
	};

	const keydown_handler = event => keyDownHandler(event);
	const click_handler = (index, event) => doubleClickHandler(event, index);

	function div0_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			scrollable = $$value;
			$$invalidate(1, scrollable);
		});
	}

	$$self.$$set = $$props => {
		if ('items' in $$props) $$invalidate(0, items = $$props.items);
	};

	return [
		items,
		scrollable,
		$selectedListItem,
		doubleClickHandler,
		keyDownHandler,
		keydown_handler,
		click_handler,
		div0_binding
	];
}

class List_loop extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, list_loop_index_svelte_instance, list_loop_index_svelte_create_fragment, safe_not_equal, { items: 0 });
	}
}

/* harmony default export */ const list_loop_index_svelte = (List_loop);
;// CONCATENATED MODULE: ./src/modals/dialog/components/dialog-list/constants.js
var EXCLUDES_KEY_KCODES = [13, 27, 38, 40];
;// CONCATENATED MODULE: ./src/modals/dialog/components/dialog-list/index.svelte
/* src\modals\dialog\components\dialog-list\index.svelte generated by Svelte v3.49.0 */








function dialog_list_index_svelte_create_if_block(ctx) {
	let div;
	let i;
	let t;
	let input;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			i = internal_element("i");
			t = space();
			input = internal_element("input");
			attr(i, "class", "dialog-list__search-icon ui-azpotify-magnifier");
			attr(input, "type", "text");
			attr(input, "class", "dialog-list__search-field");
			attr(input, "placeholder", "Поиск ...");
			attr(div, "class", "dialog-list__search");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, i);
			append(div, t);
			append(div, input);
			/*input_binding*/ ctx[8](input);
			set_input_value(input, /*searchQuery*/ ctx[2]);

			if (!mounted) {
				dispose = [
					listen(input, "keyup", /*keyup_handler*/ ctx[7]),
					listen(input, "input", /*input_input_handler*/ ctx[9])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*searchQuery*/ 4 && input.value !== /*searchQuery*/ ctx[2]) {
				set_input_value(input, /*searchQuery*/ ctx[2]);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			/*input_binding*/ ctx[8](null);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function dialog_list_index_svelte_create_fragment(ctx) {
	let div;
	let t;
	let listloop;
	let current;
	let if_block = /*searchVisible*/ ctx[0] && dialog_list_index_svelte_create_if_block(ctx);

	listloop = new list_loop_index_svelte({
			props: { items: /*filteredList*/ ctx[3] }
		});

	return {
		c() {
			div = internal_element("div");
			if (if_block) if_block.c();
			t = space();
			create_component(listloop.$$.fragment);
			attr(div, "class", "dialog-list");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block) if_block.m(div, null);
			append(div, t);
			mount_component(listloop, div, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if (/*searchVisible*/ ctx[0]) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = dialog_list_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div, t);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			const listloop_changes = {};
			if (dirty & /*filteredList*/ 8) listloop_changes.items = /*filteredList*/ ctx[3];
			listloop.$set(listloop_changes);
		},
		i(local) {
			if (current) return;
			transition_in(listloop.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(listloop.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (if_block) if_block.d();
			destroy_component(listloop);
		}
	};
}

function dialog_list_index_svelte_instance($$self, $$props, $$invalidate) {
	let inputNode = null;
	let searchQuery = '';
	let filteredList = [];
	let { body = [] } = $$props;
	let { searchVisible = false } = $$props;
	let { autofocus = true } = $$props;
	filteredList = body;

	const search = event => {
		if (EXCLUDES_KEY_KCODES.includes(event.keyCode)) {
			return;
		}

		if ((0,lodash.isEmpty)(searchQuery)) {
			$$invalidate(3, filteredList = body);
			return;
		}

		$$invalidate(3, filteredList = body.filter(item => item.text.includes(searchQuery)));
	};

	onMount(() => {
		if (!(0,lodash.isNil)(inputNode) && autofocus) {
			inputNode.focus();
		}
	});

	const keyup_handler = event => search(event);

	function input_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			inputNode = $$value;
			$$invalidate(1, inputNode);
		});
	}

	function input_input_handler() {
		searchQuery = this.value;
		$$invalidate(2, searchQuery);
	}

	$$self.$$set = $$props => {
		if ('body' in $$props) $$invalidate(5, body = $$props.body);
		if ('searchVisible' in $$props) $$invalidate(0, searchVisible = $$props.searchVisible);
		if ('autofocus' in $$props) $$invalidate(6, autofocus = $$props.autofocus);
	};

	return [
		searchVisible,
		inputNode,
		searchQuery,
		filteredList,
		search,
		body,
		autofocus,
		keyup_handler,
		input_binding,
		input_input_handler
	];
}

class Dialog_list extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, dialog_list_index_svelte_instance, dialog_list_index_svelte_create_fragment, safe_not_equal, { body: 5, searchVisible: 0, autofocus: 6 });
	}
}

/* harmony default export */ const dialog_list_index_svelte = (Dialog_list);
;// CONCATENATED MODULE: ./src/modals/dialog/components/dialog-tab-list/index.svelte
/* src\modals\dialog\components\dialog-tab-list\index.svelte generated by Svelte v3.49.0 */





function dialog_tab_list_index_svelte_create_fragment(ctx) {
	let div;
	let listloop;
	let current;

	listloop = new list_loop_index_svelte({
			props: {
				items: /*body*/ ctx[0],
				headersVisible: false
			}
		});

	return {
		c() {
			div = internal_element("div");
			create_component(listloop.$$.fragment);
			attr(div, "class", "dialog-tab-list");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(listloop, div, null);
			current = true;
		},
		p(ctx, [dirty]) {
			const listloop_changes = {};
			if (dirty & /*body*/ 1) listloop_changes.items = /*body*/ ctx[0];
			listloop.$set(listloop_changes);
		},
		i(local) {
			if (current) return;
			transition_in(listloop.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(listloop.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(listloop);
		}
	};
}

function dialog_tab_list_index_svelte_instance($$self, $$props, $$invalidate) {
	let { body = [] } = $$props;

	$$self.$$set = $$props => {
		if ('body' in $$props) $$invalidate(0, body = $$props.body);
	};

	return [body];
}

class Dialog_tab_list extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, dialog_tab_list_index_svelte_instance, dialog_tab_list_index_svelte_create_fragment, safe_not_equal, { body: 0 });
	}
}

/* harmony default export */ const dialog_tab_list_index_svelte = (Dialog_tab_list);
;// CONCATENATED MODULE: ./src/modals/dialog/components/dialog-tab-list-headers/index.svelte
/* src\modals\dialog\components\dialog-tab-list-headers\index.svelte generated by Svelte v3.49.0 */





function dialog_tab_list_headers_index_svelte_create_fragment(ctx) {
	let div1;
	let div0;
	let raw_value = /*headers*/ ctx[1][0].text + "";
	let t;
	let listloop;
	let current;

	listloop = new list_loop_index_svelte({
			props: {
				items: /*body*/ ctx[0],
				headersVisible: true
			}
		});

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			t = space();
			create_component(listloop.$$.fragment);
			attr(div0, "class", "dialog-list-loop__header");
			attr(div1, "class", "dialog-tab-list-headers");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			div0.innerHTML = raw_value;
			append(div1, t);
			mount_component(listloop, div1, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if ((!current || dirty & /*headers*/ 2) && raw_value !== (raw_value = /*headers*/ ctx[1][0].text + "")) div0.innerHTML = raw_value;;
			const listloop_changes = {};
			if (dirty & /*body*/ 1) listloop_changes.items = /*body*/ ctx[0];
			listloop.$set(listloop_changes);
		},
		i(local) {
			if (current) return;
			transition_in(listloop.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(listloop.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			destroy_component(listloop);
		}
	};
}

function dialog_tab_list_headers_index_svelte_instance($$self, $$props, $$invalidate) {
	let { body = [] } = $$props;
	let { headers = body.splice(0, 1) } = $$props;

	$$self.$$set = $$props => {
		if ('body' in $$props) $$invalidate(0, body = $$props.body);
		if ('headers' in $$props) $$invalidate(1, headers = $$props.headers);
	};

	return [body, headers];
}

class Dialog_tab_list_headers extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, dialog_tab_list_headers_index_svelte_instance, dialog_tab_list_headers_index_svelte_create_fragment, safe_not_equal, { body: 0, headers: 1 });
	}
}

/* harmony default export */ const dialog_tab_list_headers_index_svelte = (Dialog_tab_list_headers);
;// CONCATENATED MODULE: ./src/modals/dialog/constants.js
function dialog_constants_typeof(o) { "@babel/helpers - typeof"; return dialog_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, dialog_constants_typeof(o); }
function dialog_constants_defineProperty(e, r, t) { return (r = dialog_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function dialog_constants_toPropertyKey(t) { var i = dialog_constants_toPrimitive(t, "string"); return "symbol" == dialog_constants_typeof(i) ? i : i + ""; }
function dialog_constants_toPrimitive(t, r) { if ("object" != dialog_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != dialog_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






var MAX_LIST_ITEMS = 8;
var DIALOG_TYPES = {
  Info: 0,
  Input: 1,
  List: 2,
  Password: 3,
  TabList: 4,
  TabListHeaders: 5
};
var MAP_DIALOG_TYPE_TO_COMPONENT = dialog_constants_defineProperty(dialog_constants_defineProperty(dialog_constants_defineProperty(dialog_constants_defineProperty(dialog_constants_defineProperty(dialog_constants_defineProperty({}, DIALOG_TYPES.Info, dialog_info_index_svelte), DIALOG_TYPES.Input, dialog_text_index_svelte), DIALOG_TYPES.Password, dialog_password_index_svelte), DIALOG_TYPES.List, dialog_list_index_svelte), DIALOG_TYPES.TabList, dialog_tab_list_index_svelte), DIALOG_TYPES.TabListHeaders, dialog_tab_list_headers_index_svelte);
;// CONCATENATED MODULE: ./src/modals/dialog/index.svelte
/* src\modals\dialog\index.svelte generated by Svelte v3.49.0 */


const { window: dialog_index_svelte_window_1 } = globals;










function dialog_index_svelte_create_if_block_1(ctx) {
	let div;
	let t;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(/*primaryButton*/ ctx[3]);
			attr(div, "class", "dialog__button dialog__button--primary");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);

			if (!mounted) {
				dispose = listen(div, "click", /*submitPrimaryButton*/ ctx[10]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty[0] & /*primaryButton*/ 8) set_data(t, /*primaryButton*/ ctx[3]);
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (261:3) {#if !isEmpty(secondaryButton)}
function dialog_index_svelte_create_if_block(ctx) {
	let div;
	let t;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(/*secondaryButton*/ ctx[4]);
			attr(div, "class", "dialog__button dialog__button--secondary");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);

			if (!mounted) {
				dispose = listen(div, "click", /*submitSecondaryButton*/ ctx[11]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty[0] & /*secondaryButton*/ 16) set_data(t, /*secondaryButton*/ ctx[4]);
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

function dialog_index_svelte_create_fragment(ctx) {
	let div3;
	let div0;
	let t0;
	let div2;
	let switch_instance;
	let t1;
	let div1;
	let show_if_1 = !(0,lodash.isEmpty)(/*primaryButton*/ ctx[3]);
	let t2;
	let show_if = !(0,lodash.isEmpty)(/*secondaryButton*/ ctx[4]);
	let current;
	let mounted;
	let dispose;
	var switch_value = MAP_DIALOG_TYPE_TO_COMPONENT[/*type*/ ctx[0]];

	function switch_props(ctx) {
		return {
			props: {
				body: /*parsedBody*/ ctx[9],
				searchVisible: /*search*/ ctx[1],
				autofocus: /*autofocus*/ ctx[2]
			}
		};
	}

	if (switch_value) {
		switch_instance = new switch_value(switch_props(ctx));
	}

	let if_block0 = show_if_1 && dialog_index_svelte_create_if_block_1(ctx);
	let if_block1 = show_if && dialog_index_svelte_create_if_block(ctx);

	return {
		c() {
			div3 = internal_element("div");
			div0 = internal_element("div");
			t0 = space();
			div2 = internal_element("div");
			if (switch_instance) create_component(switch_instance.$$.fragment);
			t1 = space();
			div1 = internal_element("div");
			if (if_block0) if_block0.c();
			t2 = space();
			if (if_block1) if_block1.c();
			attr(div0, "class", "dialog__header");
			attr(div1, "class", "dialog__buttons");
			toggle_class(div1, "dialog__buttons--solo", (0,lodash.isEmpty)(/*primaryButton*/ ctx[3]) || (0,lodash.isEmpty)(/*secondaryButton*/ ctx[4]));
			attr(div2, "class", "dialog__content");
			attr(div3, "class", "dialog");
			set_style(div3, "top", `${/*top*/ ctx[6]}px`);
			set_style(div3, "left", `${/*left*/ ctx[7]}px`);
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div0);
			div0.innerHTML = /*parsedHeader*/ ctx[8];
			append(div3, t0);
			append(div3, div2);

			if (switch_instance) {
				mount_component(switch_instance, div2, null);
			}

			append(div2, t1);
			append(div2, div1);
			if (if_block0) if_block0.m(div1, null);
			append(div1, t2);
			if (if_block1) if_block1.m(div1, null);
			/*div3_binding*/ ctx[21](div3);
			current = true;

			if (!mounted) {
				dispose = [
					listen(dialog_index_svelte_window_1, "mouseup", /*stopMoving*/ ctx[14]),
					listen(dialog_index_svelte_window_1, "mousemove", /*moving*/ ctx[15]),
					listen(dialog_index_svelte_window_1, "keydown", /*keyDownHandler*/ ctx[12]),
					listen(div0, "mousedown", stop_propagation(/*startMoving*/ ctx[13]))
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (!current || dirty[0] & /*parsedHeader*/ 256) div0.innerHTML = /*parsedHeader*/ ctx[8];;
			const switch_instance_changes = {};
			if (dirty[0] & /*parsedBody*/ 512) switch_instance_changes.body = /*parsedBody*/ ctx[9];
			if (dirty[0] & /*search*/ 2) switch_instance_changes.searchVisible = /*search*/ ctx[1];
			if (dirty[0] & /*autofocus*/ 4) switch_instance_changes.autofocus = /*autofocus*/ ctx[2];

			if (switch_value !== (switch_value = MAP_DIALOG_TYPE_TO_COMPONENT[/*type*/ ctx[0]])) {
				if (switch_instance) {
					group_outros();
					const old_component = switch_instance;

					transition_out(old_component.$$.fragment, 1, 0, () => {
						destroy_component(old_component, 1);
					});

					check_outros();
				}

				if (switch_value) {
					switch_instance = new switch_value(switch_props(ctx));
					create_component(switch_instance.$$.fragment);
					transition_in(switch_instance.$$.fragment, 1);
					mount_component(switch_instance, div2, t1);
				} else {
					switch_instance = null;
				}
			} else if (switch_value) {
				switch_instance.$set(switch_instance_changes);
			}

			if (dirty[0] & /*primaryButton*/ 8) show_if_1 = !(0,lodash.isEmpty)(/*primaryButton*/ ctx[3]);

			if (show_if_1) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = dialog_index_svelte_create_if_block_1(ctx);
					if_block0.c();
					if_block0.m(div1, t2);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty[0] & /*secondaryButton*/ 16) show_if = !(0,lodash.isEmpty)(/*secondaryButton*/ ctx[4]);

			if (show_if) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = dialog_index_svelte_create_if_block(ctx);
					if_block1.c();
					if_block1.m(div1, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty[0] & /*primaryButton, secondaryButton*/ 24) {
				toggle_class(div1, "dialog__buttons--solo", (0,lodash.isEmpty)(/*primaryButton*/ ctx[3]) || (0,lodash.isEmpty)(/*secondaryButton*/ ctx[4]));
			}

			if (!current || dirty[0] & /*top*/ 64) {
				set_style(div3, "top", `${/*top*/ ctx[6]}px`);
			}

			if (!current || dirty[0] & /*left*/ 128) {
				set_style(div3, "left", `${/*left*/ ctx[7]}px`);
			}
		},
		i(local) {
			if (current) return;
			if (switch_instance) transition_in(switch_instance.$$.fragment, local);
			current = true;
		},
		o(local) {
			if (switch_instance) transition_out(switch_instance.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div3);
			if (switch_instance) destroy_component(switch_instance);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			/*div3_binding*/ ctx[21](null);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function dialog_index_svelte_instance($$self, $$props, $$invalidate) {
	let $inputValue;
	let $selectedListItem;
	let $savedListPositions;
	let $dialogType;
	let $dialogId;
	let $savedCoordinates;
	let $dialogPlaceholder;
	component_subscribe($$self, inputValue, $$value => $$invalidate(23, $inputValue = $$value));
	component_subscribe($$self, selectedListItem, $$value => $$invalidate(24, $selectedListItem = $$value));
	component_subscribe($$self, savedListPositions, $$value => $$invalidate(25, $savedListPositions = $$value));
	component_subscribe($$self, dialogType, $$value => $$invalidate(26, $dialogType = $$value));
	component_subscribe($$self, dialogId, $$value => $$invalidate(27, $dialogId = $$value));
	component_subscribe($$self, savedCoordinates, $$value => $$invalidate(20, $savedCoordinates = $$value));
	component_subscribe($$self, dialogPlaceholder, $$value => $$invalidate(28, $dialogPlaceholder = $$value));
	let movingAvailable = false;
	let dialogNode = null;
	let top = 0;
	let left = 0;
	let parsedHeader = '';
	let parsedBody = '';
	let { id = -1 } = $$props;
	let { type = -1 } = $$props;
	let { header = '' } = $$props;
	let { body = '' } = $$props;
	let { search = false } = $$props;
	let { autofocus = true } = $$props;
	let { primaryButton = '' } = $$props;
	let { secondaryButton = '' } = $$props;
	let { placeholder = '' } = $$props;

	const parseItem = content => {
		let placeholderExist = false;

		content = content.replace(/{\w+}/g, replaceValue => {
			// eslint-disable-line no-param-reassign
			placeholderExist = true;

			return `</span><span style="${`color: #${replaceValue.slice(1, -1)}; white-space: pre;`}">`;
		});

		if (placeholderExist) {
			content = `${content.replace(/^<\/span>/, '')}</span>`; // eslint-disable-line no-param-reassign
		}

		content = content.replace('\n', '<br>'); // eslint-disable-line no-param-reassign
		return content;
	};

	const parseBody = content => {
		// Remove new line from start and from end
		content = content.toString().replace(/^\s+|\s+$/g, ''); // eslint-disable-line no-param-reassign

		if (type === DIALOG_TYPES.List || type === DIALOG_TYPES.TabList || type === DIALOG_TYPES.TabListHeaders) {
			content = content.split('\n'); // eslint-disable-line no-param-reassign
			let tagAllExist = false;
			let columnCount = 0;
			content = content.filter(row => !!row); // eslint-disable-line no-param-reassign

			content.forEach((_row, index) => {
				let tagExist = false;
				let columnIndex = 1;
				let row = parseItem(_row);

				if (type === DIALOG_TYPES.TabList || type === DIALOG_TYPES.TabListHeaders) {
					row = row.replaceAll('\t', () => {
						tagExist = true;
						tagAllExist = true;
						columnIndex += 1;

						if (columnIndex > columnCount) {
							columnCount = columnIndex;
						}

						return `</div><div data-column="${columnIndex}">`;
					});

					if (tagExist) {
						row = `<div data-column="1" >${row}</div>`;
					}
				}

				if (tagAllExist) {
					row = `<div  style="display: flex;">${row}</div><i data-column-count="${columnCount}" style="display: none"></i>`;
				}

				content[index] = {
					// eslint-disable-line no-param-reassign
					text: row,
					index
				};
			});
		} else {
			content = content.trim().replace('\t', '<span class="tab">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>'); // eslint-disable-line no-param-reassign
			content = parseItem(content); // eslint-disable-line no-param-reassign
		}

		return content;
	};

	const calculate = () => {
		const items = document.querySelectorAll('.dialog-list-loop__list > div');

		const countItems = MAX_LIST_ITEMS < items.length
		? MAX_LIST_ITEMS
		: items.length;

		const offsetHeight = items.length > 0 ? items[0].offsetHeight : 0;

		const itemsMargin = items.length > 0
		? parseFloat(window.getComputedStyle(items[0]).marginBottom) * countItems
		: 0;

		document.querySelector('.dialog-list-loop__list').style.height = `${offsetHeight * countItems + itemsMargin}px`;
		const element = document.querySelector('i[data-column-count]');

		if ((0,lodash.isNil)(element)) {
			return;
		}

		const { columnCount } = element.dataset;

		for (let i = 1; i <= columnCount; i += 1) {
			const columns = document.querySelectorAll(`div[data-column="${i}"]`);
			let maxColumnWidth = 0;

			columns.forEach(node => {
				node.style.minWidth = ''; // eslint-disable-line no-param-reassign
			});

			columns.forEach((node, index) => {
				// eslint-disable-line no-loop-func
				if (index === 0 && type === DIALOG_TYPES.TabListHeaders) {
					node.className = 'dialog-tab-list-headers__header-item'; // eslint-disable-line no-param-reassign
				}

				if (maxColumnWidth < node.offsetWidth) {
					maxColumnWidth = node.offsetWidth;
				}
			});

			columns.forEach(node => {
				node.style.minWidth = `${maxColumnWidth + maxColumnWidth * 0.1}px`; // eslint-disable-line no-param-reassign
			});
		}
	};

	const sendResponse = (dlgId, listItemId, isPrimaryButton, input) => {
		sendClientMessage(`sendResponse|${dlgId}|${listItemId}|${Number(isPrimaryButton)}|${input}`);
	};

	const submitPrimaryButton = () => {
		sendResponse(id, $selectedListItem, true, $inputValue);
		set_store_value(inputValue, $inputValue = '', $inputValue);

		if (type === DIALOG_TYPES.List || type === DIALOG_TYPES.TabList || type === DIALOG_TYPES.TabListHeaders) {
			set_store_value(savedListPositions, $savedListPositions[id] = $selectedListItem, $savedListPositions);
		}
	};

	const submitSecondaryButton = () => {
		sendResponse(id, $selectedListItem, false, $inputValue);
		set_store_value(inputValue, $inputValue = '', $inputValue);
	};

	const keyDownHandler = event => {
		switch (event.keyCode) {
			case 13:
				submitPrimaryButton();
				break;
			case 27:
				// enter
				submitSecondaryButton();
				break;
			default:
				break;
		}
	};

	const startMoving = () => {
		movingAvailable = true;
	};

	const stopMoving = () => {
		const leftThreshold = (dialogNode.offsetWidth - dialogNode.offsetWidth / 10) * -1;
		const rightThreshold = window.innerWidth - dialogNode.offsetWidth / 10;
		movingAvailable = false;

		if (dialogNode.offsetLeft < leftThreshold) {
			$$invalidate(7, left = leftThreshold);
		}

		if (dialogNode.offsetLeft > rightThreshold) {
			$$invalidate(7, left = rightThreshold);
		}

		set_store_value(savedCoordinates, $savedCoordinates[id] = { top, left }, $savedCoordinates);
	};

	const moving = event => {
		if (movingAvailable) {
			$$invalidate(7, left += event.movementX);
			$$invalidate(6, top += event.movementY);
		}
	};

	if (!(0,lodash.isNil)($savedCoordinates[id])) {
		top = $savedCoordinates[id].top;
		left = $savedCoordinates[id].left;
	}

	parsedHeader = parseItem(header);
	parsedBody = parseBody(body);

	onMount(() => {
		set_store_value(dialogId, $dialogId = id, $dialogId);
		set_store_value(dialogType, $dialogType = type, $dialogType);

		if ((type === DIALOG_TYPES.List || type === DIALOG_TYPES.TabList || type === DIALOG_TYPES.TabListHeaders) && !(0,lodash.isNil)($savedListPositions[id])) {
			set_store_value(selectedListItem, $selectedListItem = $savedListPositions[id], $selectedListItem);
		} else {
			set_store_value(selectedListItem, $selectedListItem = 0, $selectedListItem);
		}
	});

	onDestroy(() => {
		set_store_value(inputValue, $inputValue = '', $inputValue);
	});

	function div3_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			dialogNode = $$value;
			$$invalidate(5, dialogNode);
		});
	}

	$$self.$$set = $$props => {
		if ('id' in $$props) $$invalidate(16, id = $$props.id);
		if ('type' in $$props) $$invalidate(0, type = $$props.type);
		if ('header' in $$props) $$invalidate(17, header = $$props.header);
		if ('body' in $$props) $$invalidate(18, body = $$props.body);
		if ('search' in $$props) $$invalidate(1, search = $$props.search);
		if ('autofocus' in $$props) $$invalidate(2, autofocus = $$props.autofocus);
		if ('primaryButton' in $$props) $$invalidate(3, primaryButton = $$props.primaryButton);
		if ('secondaryButton' in $$props) $$invalidate(4, secondaryButton = $$props.secondaryButton);
		if ('placeholder' in $$props) $$invalidate(19, placeholder = $$props.placeholder);
	};

	$$self.$$.update = () => {
		if ($$self.$$.dirty[0] & /*placeholder*/ 524288) {
			$: set_store_value(dialogPlaceholder, $dialogPlaceholder = placeholder || '', $dialogPlaceholder);
		}

		if ($$self.$$.dirty[0] & /*dialogNode, type, $savedCoordinates, id*/ 1114145) {
			$: {
				if (!(0,lodash.isNil)(dialogNode)) {
					if (type === DIALOG_TYPES.TabList || type === DIALOG_TYPES.TabListHeaders || type === DIALOG_TYPES.List) {
						calculate();
					}

					if ((0,lodash.isNil)($savedCoordinates[id])) {
						$$invalidate(6, top = window.innerHeight / 2 - dialogNode.scrollHeight / 2);
						$$invalidate(7, left = window.innerWidth / 2 - dialogNode.scrollWidth / 2);
					}
				}
			}
		}
	};

	return [
		type,
		search,
		autofocus,
		primaryButton,
		secondaryButton,
		dialogNode,
		top,
		left,
		parsedHeader,
		parsedBody,
		submitPrimaryButton,
		submitSecondaryButton,
		keyDownHandler,
		startMoving,
		stopMoving,
		moving,
		id,
		header,
		body,
		placeholder,
		$savedCoordinates,
		div3_binding
	];
}

class Dialog extends SvelteComponent {
	constructor(options) {
		super();

		init(
			this,
			options,
			dialog_index_svelte_instance,
			dialog_index_svelte_create_fragment,
			safe_not_equal,
			{
				id: 16,
				type: 0,
				header: 17,
				body: 18,
				search: 1,
				autofocus: 2,
				primaryButton: 3,
				secondaryButton: 4,
				placeholder: 19
			},
			null,
			[-1, -1]
		);
	}
}

/* harmony default export */ const dialog_index_svelte = (Dialog);
;// CONCATENATED MODULE: ./src/constants/modals.js
function modals_typeof(o) { "@babel/helpers - typeof"; return modals_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, modals_typeof(o); }
function modals_defineProperty(e, r, t) { return (r = modals_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function modals_toPropertyKey(t) { var i = modals_toPrimitive(t, "string"); return "symbol" == modals_typeof(i) ? i : i + ""; }
function modals_toPrimitive(t, r) { if ("object" != modals_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != modals_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }










var ModalId = {
  Information: 'information',
  BusinessInfo: 'businessInfo',
  InteractionSidebar: 'interactionSidebar',
  DialogTip: 'dialogTip',
  SecurityBanner: 'securityBanner',
  KeyReaction: 'keyReaction',
  GiveawayPanel: 'giveawayPanel',
  VehicleMenu: 'vehicleMenu',
  ProgressBar: 'progressBar',
  Dialog: 'dialog'
};
var MODALS = modals_defineProperty(modals_defineProperty(modals_defineProperty(modals_defineProperty(modals_defineProperty(modals_defineProperty(modals_defineProperty(modals_defineProperty(modals_defineProperty(modals_defineProperty({}, ModalId.Information, info_modal_index_svelte), ModalId.BusinessInfo, business_info_index_svelte), ModalId.InteractionSidebar, interaction_sidebar_index_svelte), ModalId.DialogTip, dialog_tip_index_svelte), ModalId.SecurityBanner, security_banner_index_svelte), ModalId.KeyReaction, key_reaction_index_svelte), ModalId.GiveawayPanel, giveaway_panel_index_svelte), ModalId.VehicleMenu, vehicle_menu_index_svelte), ModalId.ProgressBar, action_progress_bar_index_svelte), ModalId.Dialog, dialog_index_svelte);
;// CONCATENATED MODULE: ./src/components/modals-root/store.js
function modals_root_store_toConsumableArray(r) { return modals_root_store_arrayWithoutHoles(r) || modals_root_store_iterableToArray(r) || modals_root_store_unsupportedIterableToArray(r) || modals_root_store_nonIterableSpread(); }
function modals_root_store_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 modals_root_store_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return modals_root_store_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? modals_root_store_arrayLikeToArray(r, a) : void 0; } }
function modals_root_store_iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
function modals_root_store_arrayWithoutHoles(r) { if (Array.isArray(r)) return modals_root_store_arrayLikeToArray(r); }
function modals_root_store_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }


var openModals = writable([]);
var showModal = function showModal(id) {
  var props = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  openModals.update(function (modals) {
    return [].concat(modals_root_store_toConsumableArray(modals), [{
      name: id,
      props: props
    }]);
  });
};
var closeModal = function closeModal(id) {
  openModals.update(function (modals) {
    return modals.filter(function (_ref) {
      var name = _ref.name;
      return name !== id;
    });
  });
};
registerEvent('cef.modals.showModal', showModal);
registerEvent('cef.modals.closeModal', closeModal);
;// CONCATENATED MODULE: ./src/components/portal/portal.svelte
/* src\components\portal\portal.svelte generated by Svelte v3.49.0 */




function portal_svelte_create_fragment(ctx) {
	let div;
	let portal_action;
	let current;
	let mounted;
	let dispose;
	const default_slot_template = /*#slots*/ ctx[2].default;
	const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[1], null);

	return {
		c() {
			div = internal_element("div");
			if (default_slot) default_slot.c();
			attr(div, "class", "portal");
			div.hidden = true;
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (default_slot) {
				default_slot.m(div, null);
			}

			current = true;

			if (!mounted) {
				dispose = action_destroyer(portal_action = portal.call(null, div, /*target*/ ctx[0]));
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (default_slot) {
				if (default_slot.p && (!current || dirty & /*$$scope*/ 2)) {
					update_slot_base(
						default_slot,
						default_slot_template,
						ctx,
						/*$$scope*/ ctx[1],
						!current
						? get_all_dirty_from_scope(/*$$scope*/ ctx[1])
						: get_slot_changes(default_slot_template, /*$$scope*/ ctx[1], dirty, null),
						null
					);
				}
			}

			if (portal_action && internal_is_function(portal_action.update) && dirty & /*target*/ 1) portal_action.update.call(null, /*target*/ ctx[0]);
		},
		i(local) {
			if (current) return;
			transition_in(default_slot, local);
			current = true;
		},
		o(local) {
			transition_out(default_slot, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (default_slot) default_slot.d(detaching);
			mounted = false;
			dispose();
		}
	};
}

const portal = (el, target = '.portals-container') => {
	const element = el;
	let targets = target;
	let targetEl;

	async function update(newTarget) {
		targets = newTarget;

		if (typeof targets === 'string') {
			targetEl = document.querySelector(targets);

			if (targetEl === null) {
				await tick();
				targetEl = document.querySelector(targets);
			}

			if (targetEl === null) {
				throw new Error(`No element found matching css selector: "${targets}"`);
			}
		} else if (targets instanceof HTMLElement) {
			targetEl = targets;
		} else {
			throw new TypeError(`Unknown portal target type: ${targets === null ? 'null' : typeof targets}. Allowed types: string (CSS selector) or HTMLElement.`);
		}

		targetEl.appendChild(element);
		element.hidden = false;
	}

	const destroy = () => {
		if (element.parentNode) {
			element.parentNode.removeChild(element);
		}
	};

	update(targets);
	return { update, destroy };
};

function portal_svelte_instance($$self, $$props, $$invalidate) {
	let { $$slots: slots = {}, $$scope } = $$props;
	let { target = '.portals-container' } = $$props;

	$$self.$$set = $$props => {
		if ('target' in $$props) $$invalidate(0, target = $$props.target);
		if ('$$scope' in $$props) $$invalidate(1, $$scope = $$props.$$scope);
	};

	return [target, $$scope, slots];
}

class Portal extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, portal_svelte_instance, portal_svelte_create_fragment, safe_not_equal, { target: 0 });
	}
}

/* harmony default export */ const portal_svelte = (Portal);

;// CONCATENATED MODULE: ./src/components/modals-root/index.svelte
/* src\components\modals-root\index.svelte generated by Svelte v3.49.0 */






function modals_root_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[1] = list[i];
	return child_ctx;
}

// (9:4) <Portal>
function create_default_slot(ctx) {
	let switch_instance;
	let t;
	let current;
	const switch_instance_spread_levels = [/*modal*/ ctx[1].props];
	var switch_value = MODALS[/*modal*/ ctx[1].name];

	function switch_props(ctx) {
		let switch_instance_props = {};

		for (let i = 0; i < switch_instance_spread_levels.length; i += 1) {
			switch_instance_props = internal_assign(switch_instance_props, switch_instance_spread_levels[i]);
		}

		return { props: switch_instance_props };
	}

	if (switch_value) {
		switch_instance = new switch_value(switch_props(ctx));
	}

	return {
		c() {
			if (switch_instance) create_component(switch_instance.$$.fragment);
			t = space();
		},
		m(target, anchor) {
			if (switch_instance) {
				mount_component(switch_instance, target, anchor);
			}

			insert(target, t, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const switch_instance_changes = (dirty & /*$openModals*/ 1)
			? get_spread_update(switch_instance_spread_levels, [get_spread_object(/*modal*/ ctx[1].props)])
			: {};

			if (switch_value !== (switch_value = MODALS[/*modal*/ ctx[1].name])) {
				if (switch_instance) {
					group_outros();
					const old_component = switch_instance;

					transition_out(old_component.$$.fragment, 1, 0, () => {
						destroy_component(old_component, 1);
					});

					check_outros();
				}

				if (switch_value) {
					switch_instance = new switch_value(switch_props(ctx));
					create_component(switch_instance.$$.fragment);
					transition_in(switch_instance.$$.fragment, 1);
					mount_component(switch_instance, t.parentNode, t);
				} else {
					switch_instance = null;
				}
			} else if (switch_value) {
				switch_instance.$set(switch_instance_changes);
			}
		},
		i(local) {
			if (current) return;
			if (switch_instance) transition_in(switch_instance.$$.fragment, local);
			current = true;
		},
		o(local) {
			if (switch_instance) transition_out(switch_instance.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (switch_instance) destroy_component(switch_instance, detaching);
			if (detaching) detach(t);
		}
	};
}

// (8:0) {#each $openModals as modal (modal.name)}
function modals_root_index_svelte_create_each_block(key_1, ctx) {
	let first;
	let portal;
	let current;

	portal = new portal_svelte({
			props: {
				$$slots: { default: [create_default_slot] },
				$$scope: { ctx }
			}
		});

	return {
		key: key_1,
		first: null,
		c() {
			first = empty();
			create_component(portal.$$.fragment);
			this.first = first;
		},
		m(target, anchor) {
			insert(target, first, anchor);
			mount_component(portal, target, anchor);
			current = true;
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			const portal_changes = {};

			if (dirty & /*$$scope, $openModals*/ 17) {
				portal_changes.$$scope = { dirty, ctx };
			}

			portal.$set(portal_changes);
		},
		i(local) {
			if (current) return;
			transition_in(portal.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(portal.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(first);
			destroy_component(portal, detaching);
		}
	};
}

function modals_root_index_svelte_create_fragment(ctx) {
	let each_blocks = [];
	let each_1_lookup = new Map();
	let each_1_anchor;
	let current;
	let each_value = /*$openModals*/ ctx[0];
	const get_key = ctx => /*modal*/ ctx[1].name;

	for (let i = 0; i < each_value.length; i += 1) {
		let child_ctx = modals_root_index_svelte_get_each_context(ctx, each_value, i);
		let key = get_key(child_ctx);
		each_1_lookup.set(key, each_blocks[i] = modals_root_index_svelte_create_each_block(key, child_ctx));
	}

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*MODALS, $openModals*/ 1) {
				each_value = /*$openModals*/ ctx[0];
				group_outros();
				each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, each_1_anchor.parentNode, outro_and_destroy_block, modals_root_index_svelte_create_each_block, each_1_anchor, modals_root_index_svelte_get_each_context);
				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].d(detaching);
			}

			if (detaching) detach(each_1_anchor);
		}
	};
}

function modals_root_index_svelte_instance($$self, $$props, $$invalidate) {
	let $openModals;
	component_subscribe($$self, openModals, $$value => $$invalidate(0, $openModals = $$value));
	return [$openModals];
}

class Modals_root extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, modals_root_index_svelte_instance, modals_root_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const modals_root_index_svelte = (Modals_root);
;// CONCATENATED MODULE: ./src/views/quests/img/percents.svg
const percents_namespaceObject = __webpack_require__.p + "assets/b66f2ad9ff875e34de01.svg";
;// CONCATENATED MODULE: ./src/views/quests/img/button-arrow.svg
const button_arrow_namespaceObject = __webpack_require__.p + "assets/62dce9478dcef7143ad0.svg";
;// CONCATENATED MODULE: ./src/views/quests/components/crown-icon/index.svelte
/* src\views\quests\components\crown-icon\index.svelte generated by Svelte v3.49.0 */


function crown_icon_index_svelte_create_fragment(ctx) {
	let svg;
	let path0;
	let path1;
	let path2;

	return {
		c() {
			svg = svg_element("svg");
			path0 = svg_element("path");
			path1 = svg_element("path");
			path2 = svg_element("path");
			attr(path0, "d", "M14.5244 0.398928C13.4206 0.585048 12.4965 1.41305 12.2067 2.48909C11.7513 4.17209 12.8205 5.84141 14.5453 6.13805C16.2009 6.42065 17.7874 5.15849 17.8839 3.48233C17.9941 1.57181 16.3867 0.0954475 14.5244 0.398928Z");
			attr(path0, "fill", /*color*/ ctx[0]);
			attr(path1, "d", "M14.3241 7.9188C14.1585 8.0016 13.9583 8.1672 13.8687 8.2842C13.779 8.40156 12.8891 9.86388 11.8959 11.5332C10.8958 13.2025 10.0678 14.582 10.0541 14.6029C10.0404 14.6166 8.24693 13.7407 6.06713 12.6506C2.43869 10.8434 2.07329 10.671 1.75577 10.671C1.00373 10.671 0.307129 11.3402 0.307129 12.0505C0.307129 12.161 0.990049 14.996 1.82453 18.3484C3.48701 25.0051 3.43193 24.8186 4.02485 25.1362L4.32833 25.2949H15.0002H25.6713L25.9748 25.1362C26.568 24.819 26.513 25.0051 28.1754 18.3484C29.0103 14.996 29.6928 12.1884 29.6928 12.1056C29.6928 11.3399 29.0168 10.671 28.2374 10.671C27.913 10.671 27.575 10.8229 23.9192 12.6506C21.7325 13.7476 19.939 14.6029 19.9185 14.5684C19.9048 14.527 19.0494 13.0852 18.0076 11.3608C15.8624 7.78056 15.8969 7.8288 15.083 7.78776C14.7104 7.77408 14.5588 7.7946 14.3241 7.9188Z");
			attr(path1, "fill", /*color*/ ctx[0]);
			attr(path2, "d", "M3.77677 28.4749C3.09385 28.6888 2.43865 29.2612 2.08657 29.9445C1.87273 30.3585 1.75537 31.0551 1.75537 31.9173C1.75537 32.9242 1.83817 33.4073 2.09341 33.9592C2.47969 34.794 3.33505 35.4215 4.28005 35.5734C4.82509 35.663 25.1741 35.663 25.7191 35.5734C26.6641 35.4215 27.5195 34.794 27.9058 33.9592C28.161 33.4073 28.2438 32.9245 28.2438 31.9173C28.2438 30.5655 27.9954 29.8271 27.3539 29.1924C26.9194 28.7647 26.6983 28.6269 26.181 28.4681C25.7533 28.3302 25.5327 28.3302 14.9717 28.3371C4.48705 28.3371 4.19041 28.3439 3.77677 28.4749Z");
			attr(path2, "fill", /*color*/ ctx[0]);
			attr(svg, "width", "35");
			attr(svg, "height", "35");
			attr(svg, "viewBox", "0 0 30 36");
			attr(svg, "fill", "none");
			attr(svg, "xmlns", "http://www.w3.org/2000/svg");
		},
		m(target, anchor) {
			insert(target, svg, anchor);
			append(svg, path0);
			append(svg, path1);
			append(svg, path2);
		},
		p(ctx, [dirty]) {
			if (dirty & /*color*/ 1) {
				attr(path0, "fill", /*color*/ ctx[0]);
			}

			if (dirty & /*color*/ 1) {
				attr(path1, "fill", /*color*/ ctx[0]);
			}

			if (dirty & /*color*/ 1) {
				attr(path2, "fill", /*color*/ ctx[0]);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(svg);
		}
	};
}

function crown_icon_index_svelte_instance($$self, $$props, $$invalidate) {
	let { color = '#F2C94C' } = $$props;

	$$self.$$set = $$props => {
		if ('color' in $$props) $$invalidate(0, color = $$props.color);
	};

	return [color];
}

class Crown_icon extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, crown_icon_index_svelte_instance, crown_icon_index_svelte_create_fragment, safe_not_equal, { color: 0 });
	}
}

/* harmony default export */ const crown_icon_index_svelte = (Crown_icon);
;// CONCATENATED MODULE: ./src/views/quests/img/mark.svg
const mark_namespaceObject = __webpack_require__.p + "assets/d5135a37e04e56c76dd2.svg";
;// CONCATENATED MODULE: ./src/views/quests/index.svelte
/* src\views\quests\index.svelte generated by Svelte v3.49.0 */















function views_quests_index_svelte_add_css(target) {
	append_styles(target, "svelte-1nxeqy7", "@keyframes svelte-1nxeqy7-blinking{50%{opacity:0}}@keyframes svelte-1nxeqy7-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1nxeqy7-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1nxeqy7-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1nxeqy7-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1nxeqy7-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1nxeqy7-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1nxeqy7-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1nxeqy7-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1nxeqy7-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1nxeqy7-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1nxeqy7-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1nxeqy7-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1nxeqy7-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1nxeqy7-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.quests.svelte-1nxeqy7.svelte-1nxeqy7{display:flex;align-items:center;justify-content:center;width:100vw;height:100vh;background:radial-gradient(50% 50% at 50% 50%, rgba(32, 39, 49, 0) 0%, rgba(32, 39, 49, 0.95) 100%), rgba(32, 39, 49, 0.75)}.quests__title-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{position:absolute;text-align:center;color:#FFFFFF;top:calc(0.0416666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__title-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{top:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__title-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{top:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__title-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{top:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.quests__title-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{top:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__title-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{top:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__title-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{top:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.quests__title-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{top:calc(0.0458333333 * 100vw + 0px)}}.quests__title.svelte-1nxeqy7.svelte-1nxeqy7{font-family:\"GothamPro-Medium\";font-size:calc(0.01875 * 100vw + 0px);margin-bottom:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.quests__title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.quests__title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.020625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__title.svelte-1nxeqy7.svelte-1nxeqy7{margin-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__title.svelte-1nxeqy7.svelte-1nxeqy7{margin-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__title.svelte-1nxeqy7.svelte-1nxeqy7{margin-bottom:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.quests__title.svelte-1nxeqy7.svelte-1nxeqy7{margin-bottom:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__title.svelte-1nxeqy7.svelte-1nxeqy7{margin-bottom:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__title.svelte-1nxeqy7.svelte-1nxeqy7{margin-bottom:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.quests__title.svelte-1nxeqy7.svelte-1nxeqy7{margin-bottom:calc(0.0103125 * 100vw + 0px)}}.quests__title-description.svelte-1nxeqy7.svelte-1nxeqy7{font-family:\"GothamPro\";font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__title-description.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__title-description.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__title-description.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.quests__title-description.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__title-description.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__title-description.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.quests__title-description.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0103125 * 100vw + 0px)}}.quests__info.svelte-1nxeqy7.svelte-1nxeqy7{position:absolute;left:calc(0.03125 * 100vw + 0px);top:calc(0.153125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__info.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__info.svelte-1nxeqy7.svelte-1nxeqy7{top:calc(0.153125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info.svelte-1nxeqy7.svelte-1nxeqy7{top:calc(0.153125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info.svelte-1nxeqy7.svelte-1nxeqy7{top:calc(0.11790625 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info.svelte-1nxeqy7.svelte-1nxeqy7{top:calc(0.1684375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info.svelte-1nxeqy7.svelte-1nxeqy7{top:calc(0.1071875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info.svelte-1nxeqy7.svelte-1nxeqy7{top:calc(0.1378125 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info.svelte-1nxeqy7.svelte-1nxeqy7{top:calc(0.1684375 * 100vw + 0px)}}.quests__info--completed.svelte-1nxeqy7 .quests__info-reward-title.svelte-1nxeqy7{color:rgba(255, 255, 255, 0.5)}.quests__info--completed.svelte-1nxeqy7 .quests__info-reward-item-img.svelte-1nxeqy7{filter:grayscale(1)}.quests__info-title-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{display:flex;align-items:center;height:calc(0.0520833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__info-title-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-title-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-title-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-title-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-title-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-title-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-title-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0572916667 * 100vw + 0px)}}.quests__info-title.svelte-1nxeqy7.svelte-1nxeqy7{color:#FFFFFF;font-family:\"GothamPro-Medium\";font-size:calc(0.021875 * 100vw + 0px);width:calc(0.1333333333 * 100vw + 0px);line-height:calc(0.0208333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__info-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.01684375 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0153125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0240625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__info-title.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.1333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-title.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.1333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-title.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.1026666667 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-title.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.1466666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-title.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0933333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-title.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.12 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-title.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.1466666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__info-title.svelte-1nxeqy7.svelte-1nxeqy7{line-height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-title.svelte-1nxeqy7.svelte-1nxeqy7{line-height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-title.svelte-1nxeqy7.svelte-1nxeqy7{line-height:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-title.svelte-1nxeqy7.svelte-1nxeqy7{line-height:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-title.svelte-1nxeqy7.svelte-1nxeqy7{line-height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-title.svelte-1nxeqy7.svelte-1nxeqy7{line-height:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-title.svelte-1nxeqy7.svelte-1nxeqy7{line-height:calc(0.0229166667 * 100vw + 0px)}}.quests__info-percents-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{display:flex;align-items:center;justify-content:center;width:calc(0.0520833333 * 100vw + 0px);margin-left:calc(0.0791666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__info-percents-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-percents-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-percents-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-percents-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-percents-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-percents-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-percents-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__info-percents-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-left:calc(0.0791666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-percents-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-left:calc(0.0791666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-percents-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-left:calc(0.0609583333 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-percents-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-left:calc(0.0870833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-percents-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-left:calc(0.0554166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-percents-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-left:calc(0.07125 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-percents-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-left:calc(0.0870833333 * 100vw + 0px)}}.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{position:absolute;width:calc(0.0520833333 * 100vw + 0px);height:calc(0.0520833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0572916667 * 100vw + 0px)}}.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{content:\"\";position:absolute;background:#FFFFFF;filter:blur(calc(0.0260416667 * 100vw + 0px));top:calc(0 * 100vw + 0px);right:calc(0 * 100vw + 0px);width:calc(0.0520833333 * 100vw + 0px);height:calc(0.0520833333 * 100vw + 0px);border-radius:calc(0.0416666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{top:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{top:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{top:calc(0 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{top:calc(0 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{top:calc(0 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{top:calc(0 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{top:calc(0 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{right:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{right:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{right:calc(0 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{right:calc(0 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{right:calc(0 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{right:calc(0 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{right:calc(0 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{width:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{width:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{height:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{height:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{border-radius:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{border-radius:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{border-radius:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{border-radius:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{border-radius:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{border-radius:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-percents-img-wrapper.svelte-1nxeqy7.svelte-1nxeqy7::after{border-radius:calc(0.0458333333 * 100vw + 0px)}}.quests__info-percents-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0520833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__info-percents-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-percents-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-percents-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-percents-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-percents-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-percents-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-percents-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0572916667 * 100vw + 0px)}}.quests__info-percents-title.svelte-1nxeqy7.svelte-1nxeqy7{z-index:1;font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.021875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__info-percents-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-percents-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-percents-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.01684375 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-percents-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-percents-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0153125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-percents-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-percents-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0240625 * 100vw + 0px)}}.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{display:flex;align-items:center;position:relative;background-color:rgba(255, 255, 255, 0.2);overflow:hidden;margin-bottom:calc(0.021875 * 100vw + 0px);margin-top:calc(0.0182291667 * 100vw + 0px);width:calc(0.2604166667 * 100vw + 0px);height:calc(0.0052083333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{margin-bottom:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{margin-bottom:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{margin-bottom:calc(0.01684375 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{margin-bottom:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{margin-bottom:calc(0.0153125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{margin-bottom:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{margin-bottom:calc(0.0240625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.2864583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.234375 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.2864583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-progress.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0057291667 * 100vw + 0px)}}.quests__info-progress-value.svelte-1nxeqy7.svelte-1nxeqy7{background-color:#FF3737;position:absolute;left:0;height:100%;width:0}.quests__info-take-title.svelte-1nxeqy7.svelte-1nxeqy7{color:#F2C94C;font-family:\"GothamPro-Medium\";font-size:calc(0.0125 * 100vw + 0px);width:calc(0.2661458333 * 100vw + 0px);margin-top:calc(0.0104166667 * 100vw + 0px);margin-bottom:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__info-take-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-take-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-take-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-take-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-take-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-take-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-take-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__info-take-title.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.2661458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-take-title.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.2661458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-take-title.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.2049322917 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-take-title.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.2927604167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-take-title.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.1863020833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-take-title.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.23953125 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-take-title.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.2927604167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__info-take-title.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-take-title.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-take-title.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-take-title.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-take-title.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-take-title.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-take-title.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__info-take-title.svelte-1nxeqy7.svelte-1nxeqy7{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-take-title.svelte-1nxeqy7.svelte-1nxeqy7{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-take-title.svelte-1nxeqy7.svelte-1nxeqy7{margin-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-take-title.svelte-1nxeqy7.svelte-1nxeqy7{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-take-title.svelte-1nxeqy7.svelte-1nxeqy7{margin-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-take-title.svelte-1nxeqy7.svelte-1nxeqy7{margin-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-take-title.svelte-1nxeqy7.svelte-1nxeqy7{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}.quests__info-complete-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{display:flex;align-items:flex-end;margin-top:calc(0.0104166667 * 100vw + 0px);margin-bottom:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__info-complete-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-complete-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-complete-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-complete-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-complete-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-complete-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-complete-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__info-complete-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-complete-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-complete-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-complete-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-complete-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-complete-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-complete-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}.quests__info-complete-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0208333333 * 100vw + 0px);margin-right:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__info-complete-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-complete-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-complete-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-complete-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-complete-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-complete-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-complete-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__info-complete-img.svelte-1nxeqy7.svelte-1nxeqy7{margin-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-complete-img.svelte-1nxeqy7.svelte-1nxeqy7{margin-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-complete-img.svelte-1nxeqy7.svelte-1nxeqy7{margin-right:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-complete-img.svelte-1nxeqy7.svelte-1nxeqy7{margin-right:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-complete-img.svelte-1nxeqy7.svelte-1nxeqy7{margin-right:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-complete-img.svelte-1nxeqy7.svelte-1nxeqy7{margin-right:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-complete-img.svelte-1nxeqy7.svelte-1nxeqy7{margin-right:calc(0.0114583333 * 100vw + 0px)}}.quests__info-complete-title.svelte-1nxeqy7.svelte-1nxeqy7{color:#76D355;font-family:\"GothamPro-Medium\";font-size:calc(0.0114583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__info-complete-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-complete-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-complete-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-complete-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-complete-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-complete-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-complete-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0126041667 * 100vw + 0px)}}.quests__info-description.svelte-1nxeqy7.svelte-1nxeqy7{font-family:\"GothamPro-Light\";color:rgba(255, 255, 255, 0.5);width:calc(0.2661458333 * 100vw + 0px);font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__info-description.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.2661458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-description.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.2661458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-description.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.2049322917 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-description.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.2927604167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-description.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.1863020833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-description.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.23953125 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-description.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.2927604167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__info-description.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-description.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-description.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-description.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-description.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-description.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-description.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0103125 * 100vw + 0px)}}.quests__info-reward-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.021875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__info-reward-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-reward-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-reward-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.01684375 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-reward-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-reward-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0153125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-reward-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-reward-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0240625 * 100vw + 0px)}}.quests__info-reward-title-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{display:flex;align-items:center}.quests__info-reward-title-img.svelte-1nxeqy7.svelte-1nxeqy7{display:flex;align-items:center;justify-content:center;height:calc(0.0182291667 * 100vw + 0px);margin-right:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__info-reward-title-img.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-reward-title-img.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-reward-title-img.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-reward-title-img.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-reward-title-img.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-reward-title-img.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-reward-title-img.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0200520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__info-reward-title-img.svelte-1nxeqy7.svelte-1nxeqy7{margin-right:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-reward-title-img.svelte-1nxeqy7.svelte-1nxeqy7{margin-right:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-reward-title-img.svelte-1nxeqy7.svelte-1nxeqy7{margin-right:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-reward-title-img.svelte-1nxeqy7.svelte-1nxeqy7{margin-right:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-reward-title-img.svelte-1nxeqy7.svelte-1nxeqy7{margin-right:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-reward-title-img.svelte-1nxeqy7.svelte-1nxeqy7{margin-right:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-reward-title-img.svelte-1nxeqy7.svelte-1nxeqy7{margin-right:calc(0.01375 * 100vw + 0px)}}.quests__info-reward-title.svelte-1nxeqy7.svelte-1nxeqy7{color:#F2C94C;font-family:\"GothamPro-Medium\";font-size:calc(0.01875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__info-reward-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-reward-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-reward-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-reward-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-reward-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-reward-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-reward-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.020625 * 100vw + 0px)}}.quests__info-reward-items-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{display:flex;margin-top:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__info-reward-items-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-reward-items-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-reward-items-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-reward-items-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-reward-items-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-reward-items-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-reward-items-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0171875 * 100vw + 0px)}}.quests__info-reward-item.svelte-1nxeqy7.svelte-1nxeqy7{display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid rgba(255, 255, 255, 0.25);width:calc(0.0427083333 * 100vw + 0px);height:calc(0.0427083333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__info-reward-item.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0427083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-reward-item.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0427083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-reward-item.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0328854167 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-reward-item.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0469791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-reward-item.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0298958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-reward-item.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0384375 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-reward-item.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0469791667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__info-reward-item.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0427083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-reward-item.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0427083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-reward-item.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0328854167 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-reward-item.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0469791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-reward-item.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0298958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-reward-item.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0384375 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-reward-item.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0469791667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__info-reward-item.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-reward-item.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-reward-item.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-reward-item.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-reward-item.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-reward-item.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-reward-item.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0057291667 * 100vw + 0px)}}.quests__info-reward-item.svelte-1nxeqy7.svelte-1nxeqy7:not(:first-child){margin-left:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__info-reward-item.svelte-1nxeqy7.svelte-1nxeqy7:not(:first-child){margin-left:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-reward-item.svelte-1nxeqy7.svelte-1nxeqy7:not(:first-child){margin-left:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-reward-item.svelte-1nxeqy7.svelte-1nxeqy7:not(:first-child){margin-left:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-reward-item.svelte-1nxeqy7.svelte-1nxeqy7:not(:first-child){margin-left:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-reward-item.svelte-1nxeqy7.svelte-1nxeqy7:not(:first-child){margin-left:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-reward-item.svelte-1nxeqy7.svelte-1nxeqy7:not(:first-child){margin-left:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-reward-item.svelte-1nxeqy7.svelte-1nxeqy7:not(:first-child){margin-left:calc(0.01375 * 100vw + 0px)}}.quests__info-reward-item-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0328125 * 100vw + 0px);height:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__info-reward-item-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-reward-item-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-reward-item-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.025265625 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-reward-item-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-reward-item-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.02296875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-reward-item-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.02953125 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-reward-item-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.03609375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__info-reward-item-img.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-reward-item-img.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-reward-item-img.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-reward-item-img.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-reward-item-img.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-reward-item-img.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-reward-item-img.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0275 * 100vw + 0px)}}.quests__info-reward-item-title.svelte-1nxeqy7.svelte-1nxeqy7{color:#FFFFFF;font-family:\"GothamPro-Light\";font-size:calc(0.0052083333 * 100vw + 0px);margin-top:calc(0.0015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__info-reward-item-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-reward-item-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-reward-item-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-reward-item-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-reward-item-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-reward-item-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-reward-item-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__info-reward-item-title.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-reward-item-title.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-reward-item-title.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.001203125 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-reward-item-title.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.00171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-reward-item-title.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.00109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-reward-item-title.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.00140625 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-reward-item-title.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.00171875 * 100vw + 0px)}}.quests__info-button.svelte-1nxeqy7.svelte-1nxeqy7{display:flex;justify-content:center;align-items:center;cursor:pointer;background:#FF3737;padding:calc(0.0104166667 * 100vw + 0px) calc(0.0203125 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.1666666667 * 100vw + 0px);margin-top:calc(0.0286458333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__info-button.svelte-1nxeqy7.svelte-1nxeqy7{padding:calc(0.0104166667 * 100vw + 0px) calc(0.0203125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-button.svelte-1nxeqy7.svelte-1nxeqy7{padding:calc(0.0104166667 * 100vw + 0px) calc(0.0203125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-button.svelte-1nxeqy7.svelte-1nxeqy7{padding:calc(0.0080208333 * 100vw + 0px) calc(0.015640625 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-button.svelte-1nxeqy7.svelte-1nxeqy7{padding:calc(0.0114583333 * 100vw + 0px) calc(0.02234375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-button.svelte-1nxeqy7.svelte-1nxeqy7{padding:calc(0.0072916667 * 100vw + 0px) calc(0.01421875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-button.svelte-1nxeqy7.svelte-1nxeqy7{padding:calc(0.009375 * 100vw + 0px) calc(0.01828125 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-button.svelte-1nxeqy7.svelte-1nxeqy7{padding:calc(0.0114583333 * 100vw + 0px) calc(0.02234375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__info-button.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-button.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-button.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-button.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-button.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-button.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-button.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__info-button.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.1666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-button.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.1666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-button.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.1283333333 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-button.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.1833333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-button.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.1166666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-button.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.15 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-button.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.1833333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__info-button.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-button.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-button.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0220572917 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-button.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0315104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-button.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-button.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-button.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0315104167 * 100vw + 0px)}}.quests__info-button.svelte-1nxeqy7.svelte-1nxeqy7:hover{background:#E00000;transition:background 0.2s linear}.quests__info-button-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0083333333 * 100vw + 0px);margin-right:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__info-button-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-button-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-button-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-button-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-button-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-button-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-button-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__info-button-img.svelte-1nxeqy7.svelte-1nxeqy7{margin-right:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-button-img.svelte-1nxeqy7.svelte-1nxeqy7{margin-right:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-button-img.svelte-1nxeqy7.svelte-1nxeqy7{margin-right:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-button-img.svelte-1nxeqy7.svelte-1nxeqy7{margin-right:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-button-img.svelte-1nxeqy7.svelte-1nxeqy7{margin-right:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-button-img.svelte-1nxeqy7.svelte-1nxeqy7{margin-right:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-button-img.svelte-1nxeqy7.svelte-1nxeqy7{margin-right:calc(0.006875 * 100vw + 0px)}}.quests__info-button-title.svelte-1nxeqy7.svelte-1nxeqy7{color:#FFFFFF;font-family:\"GothamPro-Medium\";font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__info-button-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__info-button-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__info-button-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.quests__info-button-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__info-button-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__info-button-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.quests__info-button-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0103125 * 100vw + 0px)}}.quests__button-arrow-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{display:none;align-items:center;position:fixed;bottom:calc(0.0276041667 * 100vw + 0px);left:calc(0.03125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__button-arrow-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{bottom:calc(0.0276041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__button-arrow-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{bottom:calc(0.0276041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__button-arrow-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{bottom:calc(0.0212552083 * 100vw + 0px)}}@media(min-width: 3440px){.quests__button-arrow-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{bottom:calc(0.0303645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__button-arrow-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{bottom:calc(0.0193229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__button-arrow-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{bottom:calc(0.02484375 * 100vw + 0px)}}@media(min-width: 4096px){.quests__button-arrow-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{bottom:calc(0.0303645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__button-arrow-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__button-arrow-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__button-arrow-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.quests__button-arrow-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__button-arrow-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__button-arrow-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.quests__button-arrow-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.034375 * 100vw + 0px)}}.quests__button-arrow.svelte-1nxeqy7.svelte-1nxeqy7:first-child{margin-right:calc(0.0057291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__button-arrow.svelte-1nxeqy7.svelte-1nxeqy7:first-child{margin-right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__button-arrow.svelte-1nxeqy7.svelte-1nxeqy7:first-child{margin-right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__button-arrow.svelte-1nxeqy7.svelte-1nxeqy7:first-child{margin-right:calc(0.0044114583 * 100vw + 0px)}}@media(min-width: 3440px){.quests__button-arrow.svelte-1nxeqy7.svelte-1nxeqy7:first-child{margin-right:calc(0.0063020833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__button-arrow.svelte-1nxeqy7.svelte-1nxeqy7:first-child{margin-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__button-arrow.svelte-1nxeqy7.svelte-1nxeqy7:first-child{margin-right:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 4096px){.quests__button-arrow.svelte-1nxeqy7.svelte-1nxeqy7:first-child{margin-right:calc(0.0063020833 * 100vw + 0px)}}.quests__cards.svelte-1nxeqy7.svelte-1nxeqy7{display:flex;position:absolute;overflow:auto;width:calc(0.6822916667 * 100vw + 0px);top:calc(0.1302083333 * 100vw + 0px);left:calc(0.3177083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__cards.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.6822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__cards.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.6822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__cards.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.5253645833 * 100vw + 0px)}}@media(min-width: 3440px){.quests__cards.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.7505208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__cards.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.4776041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__cards.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.6140625 * 100vw + 0px)}}@media(min-width: 4096px){.quests__cards.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.7505208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__cards.svelte-1nxeqy7.svelte-1nxeqy7{top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__cards.svelte-1nxeqy7.svelte-1nxeqy7{top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__cards.svelte-1nxeqy7.svelte-1nxeqy7{top:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px){.quests__cards.svelte-1nxeqy7.svelte-1nxeqy7{top:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__cards.svelte-1nxeqy7.svelte-1nxeqy7{top:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__cards.svelte-1nxeqy7.svelte-1nxeqy7{top:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 4096px){.quests__cards.svelte-1nxeqy7.svelte-1nxeqy7{top:calc(0.1432291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__cards.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.3177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__cards.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.3177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__cards.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.2446354167 * 100vw + 0px)}}@media(min-width: 3440px){.quests__cards.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.3494791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__cards.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.2223958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__cards.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.2859375 * 100vw + 0px)}}@media(min-width: 4096px){.quests__cards.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.3494791667 * 100vw + 0px)}}.quests__cards.svelte-1nxeqy7.svelte-1nxeqy7::-webkit-scrollbar{width:0px}.quests__cards-item-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{display:flex;gap:calc(0.0260416667 * 100vw + 0px);padding:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__cards-item-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{gap:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__cards-item-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{gap:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__cards-item-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{gap:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.quests__cards-item-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{gap:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__cards-item-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{gap:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__cards-item-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{gap:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.quests__cards-item-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{gap:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__cards-item-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{padding:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__cards-item-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{padding:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__cards-item-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{padding:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.quests__cards-item-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{padding:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__cards-item-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{padding:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__cards-item-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{padding:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.quests__cards-item-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{padding:calc(0.0143229167 * 100vw + 0px)}}.quests__cards-item.svelte-1nxeqy7.svelte-1nxeqy7{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;opacity:0.35;transition:opacity 1s;box-shadow:none;cursor:pointer;border:3px solid #F2C94C;overflow:hidden;width:calc(0.1854166667 * 100vw + 0px);height:calc(0.31875 * 100vw + 0px);border-radius:calc(0.0067708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__cards-item.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.1854166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__cards-item.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.1854166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__cards-item.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.1427708333 * 100vw + 0px)}}@media(min-width: 3440px){.quests__cards-item.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.2039583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__cards-item.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.1297916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__cards-item.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.166875 * 100vw + 0px)}}@media(min-width: 4096px){.quests__cards-item.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.2039583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__cards-item.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.31875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__cards-item.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.31875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__cards-item.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.2454375 * 100vw + 0px)}}@media(min-width: 3440px){.quests__cards-item.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.350625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__cards-item.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.223125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__cards-item.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.286875 * 100vw + 0px)}}@media(min-width: 4096px){.quests__cards-item.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.350625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__cards-item.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__cards-item.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__cards-item.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0052135417 * 100vw + 0px)}}@media(min-width: 3440px){.quests__cards-item.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0074479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__cards-item.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0047395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__cards-item.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.00609375 * 100vw + 0px)}}@media(min-width: 4096px){.quests__cards-item.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0074479167 * 100vw + 0px)}}.quests__cards-item--selected.svelte-1nxeqy7.svelte-1nxeqy7{opacity:1;box-shadow:0px 0px 19px 4px rgb(242, 201, 76)}.quests__cards-item--selected.quests__cards-item--completed.svelte-1nxeqy7.svelte-1nxeqy7{box-shadow:0px 0px 19px 4px #76D355}.quests__cards-item--completed.svelte-1nxeqy7.svelte-1nxeqy7{border:3px solid #76D355}.quests__cards-item.svelte-1nxeqy7.svelte-1nxeqy7:hover{opacity:100%;transition:opacity 1s}.quests__cards-item.svelte-1nxeqy7.svelte-1nxeqy7:focus{border:10px solid black}.quests__cards-img.svelte-1nxeqy7.svelte-1nxeqy7{position:absolute;width:calc(0.1822916667 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__cards-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__cards-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__cards-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.quests__cards-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__cards-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__cards-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.quests__cards-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.2005208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__cards-img.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__cards-img.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__cards-img.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.quests__cards-img.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__cards-img.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__cards-img.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.quests__cards-img.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0057291667 * 100vw + 0px)}}.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{position:absolute;color:#FFFFFF;font-family:\"GothamPro-Medium\";font-size:calc(0.021875 * 100vw + 0px);width:calc(0.1333333333 * 100vw + 0px);top:calc(0.1822916667 * 100vw + 0px);line-height:calc(0.0208333333 * 100vw + 0px);left:calc(0.0140625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.01684375 * 100vw + 0px)}}@media(min-width: 3440px){.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0153125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 4096px){.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0240625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.1333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.1333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.1026666667 * 100vw + 0px)}}@media(min-width: 3440px){.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.1466666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0933333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.12 * 100vw + 0px)}}@media(min-width: 4096px){.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.1466666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{top:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{top:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{top:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{top:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{top:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{top:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{top:calc(0.2005208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{line-height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{line-height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{line-height:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{line-height:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{line-height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{line-height:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{line-height:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.010828125 * 100vw + 0px)}}@media(min-width: 3440px){.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.01546875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.01265625 * 100vw + 0px)}}@media(min-width: 4096px){.quests__cards-title.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.01546875 * 100vw + 0px)}}.quests__cards-progress-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{position:absolute;display:flex;flex-direction:column;align-items:center;bottom:calc(0.0234375 * 100vw + 0px);left:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__cards-progress-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{bottom:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__cards-progress-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{bottom:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__cards-progress-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{bottom:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.quests__cards-progress-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{bottom:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__cards-progress-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{bottom:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__cards-progress-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{bottom:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.quests__cards-progress-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{bottom:calc(0.02578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__cards-progress-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__cards-progress-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__cards-progress-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.quests__cards-progress-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__cards-progress-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__cards-progress-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.quests__cards-progress-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.0171875 * 100vw + 0px)}}.quests__cards-progress-title.svelte-1nxeqy7.svelte-1nxeqy7{color:#FFFFFF;font-family:\"GothamPro-Light\";font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__cards-progress-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__cards-progress-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__cards-progress-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.quests__cards-progress-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__cards-progress-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__cards-progress-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.quests__cards-progress-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0080208333 * 100vw + 0px)}}.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{display:flex;align-items:center;position:relative;background-color:rgba(255, 255, 255, 0.2);overflow:hidden;margin-bottom:calc(0.009375 * 100vw + 0px);margin-top:calc(0.009375 * 100vw + 0px);width:calc(0.1458333333 * 100vw + 0px);height:calc(0.0052083333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{margin-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{margin-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{margin-bottom:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{margin-bottom:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{margin-bottom:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{margin-bottom:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{margin-bottom:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{margin-top:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.1458333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.1458333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.1122916667 * 100vw + 0px)}}@media(min-width: 3440px){.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.1604166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.1020833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.13125 * 100vw + 0px)}}@media(min-width: 4096px){.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.1604166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{height:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.quests__cards-progress.svelte-1nxeqy7.svelte-1nxeqy7{border-radius:calc(0.0057291667 * 100vw + 0px)}}.quests__cards-progress-value.svelte-1nxeqy7.svelte-1nxeqy7{background-color:#FF3737;position:absolute;left:0;height:100%;width:0}.quests__cards-progress-percents.svelte-1nxeqy7.svelte-1nxeqy7{color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__cards-progress-percents.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__cards-progress-percents.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__cards-progress-percents.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.quests__cards-progress-percents.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__cards-progress-percents.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__cards-progress-percents.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.quests__cards-progress-percents.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.01375 * 100vw + 0px)}}.quests__cards-take-title.svelte-1nxeqy7.svelte-1nxeqy7{position:absolute;color:#F2C94C;font-family:\"GothamPro-Medium\";font-size:calc(0.0114583333 * 100vw + 0px);left:calc(0.0140625 * 100vw + 0px);bottom:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__cards-take-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__cards-take-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__cards-take-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.quests__cards-take-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__cards-take-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__cards-take-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.quests__cards-take-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0126041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__cards-take-title.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__cards-take-title.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__cards-take-title.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.010828125 * 100vw + 0px)}}@media(min-width: 3440px){.quests__cards-take-title.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.01546875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__cards-take-title.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__cards-take-title.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.01265625 * 100vw + 0px)}}@media(min-width: 4096px){.quests__cards-take-title.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.01546875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__cards-take-title.svelte-1nxeqy7.svelte-1nxeqy7{bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__cards-take-title.svelte-1nxeqy7.svelte-1nxeqy7{bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__cards-take-title.svelte-1nxeqy7.svelte-1nxeqy7{bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.quests__cards-take-title.svelte-1nxeqy7.svelte-1nxeqy7{bottom:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__cards-take-title.svelte-1nxeqy7.svelte-1nxeqy7{bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__cards-take-title.svelte-1nxeqy7.svelte-1nxeqy7{bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.quests__cards-take-title.svelte-1nxeqy7.svelte-1nxeqy7{bottom:calc(0.0114583333 * 100vw + 0px)}}.quests__cards-complete-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{position:absolute;display:flex;left:calc(0.0140625 * 100vw + 0px);bottom:calc(0.0140625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__cards-complete-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__cards-complete-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__cards-complete-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.010828125 * 100vw + 0px)}}@media(min-width: 3440px){.quests__cards-complete-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.01546875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__cards-complete-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__cards-complete-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.01265625 * 100vw + 0px)}}@media(min-width: 4096px){.quests__cards-complete-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{left:calc(0.01546875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__cards-complete-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{bottom:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__cards-complete-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{bottom:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__cards-complete-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{bottom:calc(0.010828125 * 100vw + 0px)}}@media(min-width: 3440px){.quests__cards-complete-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{bottom:calc(0.01546875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__cards-complete-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{bottom:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__cards-complete-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{bottom:calc(0.01265625 * 100vw + 0px)}}@media(min-width: 4096px){.quests__cards-complete-wrapper.svelte-1nxeqy7.svelte-1nxeqy7{bottom:calc(0.01546875 * 100vw + 0px)}}.quests__cards-complete-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0130208333 * 100vw + 0px);margin-right:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__cards-complete-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__cards-complete-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__cards-complete-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.quests__cards-complete-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__cards-complete-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__cards-complete-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.quests__cards-complete-img.svelte-1nxeqy7.svelte-1nxeqy7{width:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.quests__cards-complete-img.svelte-1nxeqy7.svelte-1nxeqy7{margin-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__cards-complete-img.svelte-1nxeqy7.svelte-1nxeqy7{margin-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__cards-complete-img.svelte-1nxeqy7.svelte-1nxeqy7{margin-right:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.quests__cards-complete-img.svelte-1nxeqy7.svelte-1nxeqy7{margin-right:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__cards-complete-img.svelte-1nxeqy7.svelte-1nxeqy7{margin-right:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__cards-complete-img.svelte-1nxeqy7.svelte-1nxeqy7{margin-right:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.quests__cards-complete-img.svelte-1nxeqy7.svelte-1nxeqy7{margin-right:calc(0.0114583333 * 100vw + 0px)}}.quests__cards-complete-title.svelte-1nxeqy7.svelte-1nxeqy7{color:#76D355;font-family:\"GothamPro-Medium\";font-size:calc(0.0114583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.quests__cards-complete-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.quests__cards-complete-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.quests__cards-complete-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.quests__cards-complete-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.quests__cards-complete-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.quests__cards-complete-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.quests__cards-complete-title.svelte-1nxeqy7.svelte-1nxeqy7{font-size:calc(0.0126041667 * 100vw + 0px)}}");
}

function views_quests_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[21] = list[i];
	child_ctx[22] = list;
	child_ctx[23] = i;
	return child_ctx;
}

function views_quests_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[24] = list[i];
	return child_ctx;
}

// (3812:4) {#if !isEmpty(quests[selectedQuestIndex])}
function quests_index_svelte_create_if_block_2(ctx) {
	let div5;
	let div0;
	let p0;
	let t0_value = /*quests*/ ctx[0][/*selectedQuestIndex*/ ctx[1]].title + "";
	let t0;
	let t1;
	let t2;
	let show_if_1;
	let t3;
	let p1;
	let t4_value = /*quests*/ ctx[0][/*selectedQuestIndex*/ ctx[1]].textProgress + "";
	let t4;
	let t5;
	let div4;
	let div2;
	let div1;
	let show_if;
	let current_block_type_index;
	let if_block2;
	let t6;
	let p2;
	let t8;
	let div3;
	let t9;
	let current;
	let if_block0 = /*quests*/ ctx[0][/*selectedQuestIndex*/ ctx[1]].progress !== /*quests*/ ctx[0][/*selectedQuestIndex*/ ctx[1]].maxProgress && quests_index_svelte_create_if_block_7(ctx);

	function select_block_type(ctx, dirty) {
		if (dirty & /*quests, selectedQuestIndex*/ 3) show_if_1 = null;
		if (/*quests*/ ctx[0][/*selectedQuestIndex*/ ctx[1]].progress !== /*quests*/ ctx[0][/*selectedQuestIndex*/ ctx[1]].maxProgress) return quests_index_svelte_create_if_block_5;
		if (show_if_1 == null) show_if_1 = !!/*isNeedToTakeReward*/ ctx[9](/*quests*/ ctx[0][/*selectedQuestIndex*/ ctx[1]]);
		if (show_if_1) return quests_index_svelte_create_if_block_6;
		return quests_index_svelte_create_else_block_2;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block1 = current_block_type(ctx);
	const if_block_creators = [quests_index_svelte_create_if_block_4, quests_index_svelte_create_else_block_1];
	const if_blocks = [];

	function select_block_type_1(ctx, dirty) {
		if (dirty & /*quests, selectedQuestIndex*/ 3) show_if = null;
		if (show_if == null) show_if = !!/*isQuestCompleted*/ ctx[8](/*quests*/ ctx[0][/*selectedQuestIndex*/ ctx[1]]);
		if (show_if) return 0;
		return 1;
	}

	current_block_type_index = select_block_type_1(ctx, -1);
	if_block2 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
	let each_value_1 = /*quests*/ ctx[0][/*selectedQuestIndex*/ ctx[1]].rewards;
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = views_quests_index_svelte_create_each_block_1(views_quests_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	let if_block3 = /*quests*/ ctx[0][/*selectedQuestIndex*/ ctx[1]].progress < /*quests*/ ctx[0][/*selectedQuestIndex*/ ctx[1]].maxProgress && quests_index_svelte_create_if_block_3(ctx);

	return {
		c() {
			div5 = internal_element("div");
			div0 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			if (if_block0) if_block0.c();
			t2 = space();
			if_block1.c();
			t3 = space();
			p1 = internal_element("p");
			t4 = internal_text(t4_value);
			t5 = space();
			div4 = internal_element("div");
			div2 = internal_element("div");
			div1 = internal_element("div");
			if_block2.c();
			t6 = space();
			p2 = internal_element("p");
			p2.textContent = "Награда";
			t8 = space();
			div3 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t9 = space();
			if (if_block3) if_block3.c();
			attr(p0, "class", "quests__info-title svelte-1nxeqy7");
			attr(div0, "class", "quests__info-title-wrapper svelte-1nxeqy7");
			attr(p1, "class", "quests__info-description svelte-1nxeqy7");
			attr(div1, "class", "quests__info-reward-title-img svelte-1nxeqy7");
			attr(p2, "class", "quests__info-reward-title svelte-1nxeqy7");
			attr(div2, "class", "quests__info-reward-title-wrapper svelte-1nxeqy7");
			attr(div3, "class", "quests__info-reward-items-wrapper svelte-1nxeqy7");
			attr(div4, "class", "quests__info-reward-wrapper svelte-1nxeqy7");
			attr(div5, "class", "quests__info svelte-1nxeqy7");
			toggle_class(div5, "quests__info--completed", /*isQuestCompleted*/ ctx[8](/*quests*/ ctx[0][/*selectedQuestIndex*/ ctx[1]]));
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			append(div5, div0);
			append(div0, p0);
			append(p0, t0);
			append(div0, t1);
			if (if_block0) if_block0.m(div0, null);
			append(div5, t2);
			if_block1.m(div5, null);
			append(div5, t3);
			append(div5, p1);
			append(p1, t4);
			append(div5, t5);
			append(div5, div4);
			append(div4, div2);
			append(div2, div1);
			if_blocks[current_block_type_index].m(div1, null);
			append(div2, t6);
			append(div2, p2);
			append(div4, t8);
			append(div4, div3);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div3, null);
			}

			append(div5, t9);
			if (if_block3) if_block3.m(div5, null);
			current = true;
		},
		p(ctx, dirty) {
			if ((!current || dirty & /*quests, selectedQuestIndex*/ 3) && t0_value !== (t0_value = /*quests*/ ctx[0][/*selectedQuestIndex*/ ctx[1]].title + "")) set_data(t0, t0_value);

			if (/*quests*/ ctx[0][/*selectedQuestIndex*/ ctx[1]].progress !== /*quests*/ ctx[0][/*selectedQuestIndex*/ ctx[1]].maxProgress) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = quests_index_svelte_create_if_block_7(ctx);
					if_block0.c();
					if_block0.m(div0, null);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block1) {
				if_block1.p(ctx, dirty);
			} else {
				if_block1.d(1);
				if_block1 = current_block_type(ctx);

				if (if_block1) {
					if_block1.c();
					if_block1.m(div5, t3);
				}
			}

			if ((!current || dirty & /*quests, selectedQuestIndex*/ 3) && t4_value !== (t4_value = /*quests*/ ctx[0][/*selectedQuestIndex*/ ctx[1]].textProgress + "")) set_data(t4, t4_value);
			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type_1(ctx, dirty);

			if (current_block_type_index !== previous_block_index) {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block2 = if_blocks[current_block_type_index];

				if (!if_block2) {
					if_block2 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block2.c();
				} else {
					
				}

				transition_in(if_block2, 1);
				if_block2.m(div1, null);
			}

			if (dirty & /*quests, selectedQuestIndex, CDN_URL_RODINA*/ 3) {
				each_value_1 = /*quests*/ ctx[0][/*selectedQuestIndex*/ ctx[1]].rewards;
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = views_quests_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = views_quests_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div3, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}

			if (/*quests*/ ctx[0][/*selectedQuestIndex*/ ctx[1]].progress < /*quests*/ ctx[0][/*selectedQuestIndex*/ ctx[1]].maxProgress) {
				if (if_block3) {
					if_block3.p(ctx, dirty);
				} else {
					if_block3 = quests_index_svelte_create_if_block_3(ctx);
					if_block3.c();
					if_block3.m(div5, null);
				}
			} else if (if_block3) {
				if_block3.d(1);
				if_block3 = null;
			}

			if (dirty & /*isQuestCompleted, quests, selectedQuestIndex*/ 259) {
				toggle_class(div5, "quests__info--completed", /*isQuestCompleted*/ ctx[8](/*quests*/ ctx[0][/*selectedQuestIndex*/ ctx[1]]));
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block2);
			current = true;
		},
		o(local) {
			transition_out(if_block2);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div5);
			if (if_block0) if_block0.d();
			if_block1.d();
			if_blocks[current_block_type_index].d();
			destroy_each(each_blocks, detaching);
			if (if_block3) if_block3.d();
		}
	};
}

// (3821:16) {#if quests[selectedQuestIndex].progress !== quests[selectedQuestIndex].maxProgress}
function quests_index_svelte_create_if_block_7(ctx) {
	let div1;
	let div0;
	let img;
	let img_src_value;
	let t0;
	let p;
	let t1_value = Math.floor(/*quests*/ ctx[0][/*selectedQuestIndex*/ ctx[1]].progress / (/*quests*/ ctx[0][/*selectedQuestIndex*/ ctx[1]].maxProgress / 100)) + "";
	let t1;
	let t2;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = internal_text("%");
			attr(img, "class", "quests__info-percents-img svelte-1nxeqy7");
			if (!src_url_equal(img.src, img_src_value = percents_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "percents");
			attr(div0, "class", "quests__info-percents-img-wrapper svelte-1nxeqy7");
			attr(p, "class", "quests__info-percents-title svelte-1nxeqy7");
			attr(div1, "class", "quests__info-percents-wrapper svelte-1nxeqy7");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, img);
			append(div1, t0);
			append(div1, p);
			append(p, t1);
			append(p, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*quests, selectedQuestIndex*/ 3 && t1_value !== (t1_value = Math.floor(/*quests*/ ctx[0][/*selectedQuestIndex*/ ctx[1]].progress / (/*quests*/ ctx[0][/*selectedQuestIndex*/ ctx[1]].maxProgress / 100)) + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (3847:12) {:else}
function quests_index_svelte_create_else_block_2(ctx) {
	let div;
	let img;
	let img_src_value;
	let t0;
	let p;

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			p.textContent = "Выполнено, награда получена";
			attr(img, "class", "quests__info-complete-img svelte-1nxeqy7");
			if (!src_url_equal(img.src, img_src_value = mark_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "mark");
			attr(p, "class", "quests__info-complete-title svelte-1nxeqy7");
			attr(div, "class", "quests__info-complete-wrapper svelte-1nxeqy7");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
			append(div, t0);
			append(div, p);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (3843:69) 
function quests_index_svelte_create_if_block_6(ctx) {
	let p;

	return {
		c() {
			p = internal_element("p");
			p.textContent = "Выполнено, необходимо забрать награду";
			attr(p, "class", "quests__info-take-title svelte-1nxeqy7");
		},
		m(target, anchor) {
			insert(target, p, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (3836:12) {#if quests[selectedQuestIndex].progress !== quests[selectedQuestIndex].maxProgress}
function quests_index_svelte_create_if_block_5(ctx) {
	let div1;
	let div0;
	let div0_style_value;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			attr(div0, "class", "quests__info-progress-value svelte-1nxeqy7");
			attr(div0, "style", div0_style_value = `width: ${/*quests*/ ctx[0][/*selectedQuestIndex*/ ctx[1]].progress / (/*quests*/ ctx[0][/*selectedQuestIndex*/ ctx[1]].maxProgress / 100)}%;`);
			attr(div1, "class", "quests__info-progress svelte-1nxeqy7");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
		},
		p(ctx, dirty) {
			if (dirty & /*quests, selectedQuestIndex*/ 3 && div0_style_value !== (div0_style_value = `width: ${/*quests*/ ctx[0][/*selectedQuestIndex*/ ctx[1]].progress / (/*quests*/ ctx[0][/*selectedQuestIndex*/ ctx[1]].maxProgress / 100)}%;`)) {
				attr(div0, "style", div0_style_value);
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (3867:24) {:else}
function quests_index_svelte_create_else_block_1(ctx) {
	let crownicon;
	let current;
	crownicon = new crown_icon_index_svelte({});

	return {
		c() {
			create_component(crownicon.$$.fragment);
		},
		m(target, anchor) {
			mount_component(crownicon, target, anchor);
			current = true;
		},
		i(local) {
			if (current) return;
			transition_in(crownicon.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(crownicon.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(crownicon, detaching);
		}
	};
}

// (3865:24) {#if isQuestCompleted(quests[selectedQuestIndex])}
function quests_index_svelte_create_if_block_4(ctx) {
	let crownicon;
	let current;
	crownicon = new crown_icon_index_svelte({ props: { color: "#FFFFFF80" } });

	return {
		c() {
			create_component(crownicon.$$.fragment);
		},
		m(target, anchor) {
			mount_component(crownicon, target, anchor);
			current = true;
		},
		i(local) {
			if (current) return;
			transition_in(crownicon.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(crownicon.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(crownicon, detaching);
		}
	};
}

// (3876:20) {#each quests[selectedQuestIndex].rewards as reward}
function views_quests_index_svelte_create_each_block_1(ctx) {
	let div;
	let img;
	let img_src_value;
	let t0;
	let p;
	let t1_value = /*reward*/ ctx[24].title + "";
	let t1;
	let t2;

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(img, "class", "quests__info-reward-item-img svelte-1nxeqy7");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/quest/items/${/*reward*/ ctx[24].icon}`)) attr(img, "src", img_src_value);
			attr(img, "alt", "reward");
			attr(p, "class", "quests__info-reward-item-title svelte-1nxeqy7");
			attr(div, "class", "quests__info-reward-item svelte-1nxeqy7");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
			append(div, t0);
			append(div, p);
			append(p, t1);
			append(div, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*quests, selectedQuestIndex*/ 3 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/quest/items/${/*reward*/ ctx[24].icon}`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*quests, selectedQuestIndex*/ 3 && t1_value !== (t1_value = /*reward*/ ctx[24].title + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (3890:12) {#if quests[selectedQuestIndex].progress < quests[selectedQuestIndex].maxProgress}
function quests_index_svelte_create_if_block_3(ctx) {
	let div;
	let img;
	let img_src_value;
	let t0;
	let p;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			p.textContent = "Продолжить задание";
			attr(img, "class", "quests__info-button-img svelte-1nxeqy7");
			if (!src_url_equal(img.src, img_src_value = button_arrow_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "button-arrow");
			attr(p, "class", "quests__info-button-title svelte-1nxeqy7");
			attr(div, "class", "quests__info-button svelte-1nxeqy7");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
			append(div, t0);
			append(div, p);

			if (!mounted) {
				dispose = listen(div, "click", /*click_handler*/ ctx[10]);
				mounted = true;
			}
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (3948:20) {:else}
function views_quests_index_svelte_create_else_block(ctx) {
	let div;
	let img;
	let img_src_value;
	let t0;
	let p;

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			p.textContent = "Выполнено";
			attr(img, "class", "quests__cards-complete-img svelte-1nxeqy7");
			if (!src_url_equal(img.src, img_src_value = mark_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "mark");
			attr(p, "class", "quests__cards-complete-title svelte-1nxeqy7");
			attr(div, "class", "quests__cards-complete-wrapper svelte-1nxeqy7");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
			append(div, t0);
			append(div, p);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (3944:56) 
function views_quests_index_svelte_create_if_block_1(ctx) {
	let p;

	return {
		c() {
			p = internal_element("p");
			p.textContent = "Необходимо забрать награду";
			attr(p, "class", "quests__cards-take-title svelte-1nxeqy7");
		},
		m(target, anchor) {
			insert(target, p, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (3929:20) {#if quest.progress !== quest.maxProgress}
function views_quests_index_svelte_create_if_block(ctx) {
	let div2;
	let p0;
	let t1;
	let div1;
	let div0;
	let div0_style_value;
	let t2;
	let p1;
	let t3_value = Math.floor(/*quest*/ ctx[21].progress / (/*quest*/ ctx[21].maxProgress / 100)) + "";
	let t3;
	let t4;

	return {
		c() {
			div2 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Выполнено";
			t1 = space();
			div1 = internal_element("div");
			div0 = internal_element("div");
			t2 = space();
			p1 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = internal_text("%");
			attr(p0, "class", "quests__cards-progress-title svelte-1nxeqy7");
			attr(div0, "class", "quests__cards-progress-value svelte-1nxeqy7");
			attr(div0, "style", div0_style_value = `width: ${/*quest*/ ctx[21].progress / (/*quest*/ ctx[21].maxProgress / 100)}%;`);
			attr(div1, "class", "quests__cards-progress svelte-1nxeqy7");
			attr(p1, "class", "quests__cards-progress-percents svelte-1nxeqy7");
			attr(div2, "class", "quests__cards-progress-wrapper svelte-1nxeqy7");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, p0);
			append(div2, t1);
			append(div2, div1);
			append(div1, div0);
			append(div2, t2);
			append(div2, p1);
			append(p1, t3);
			append(p1, t4);
		},
		p(ctx, dirty) {
			if (dirty & /*quests*/ 1 && div0_style_value !== (div0_style_value = `width: ${/*quest*/ ctx[21].progress / (/*quest*/ ctx[21].maxProgress / 100)}%;`)) {
				attr(div0, "style", div0_style_value);
			}

			if (dirty & /*quests*/ 1 && t3_value !== (t3_value = Math.floor(/*quest*/ ctx[21].progress / (/*quest*/ ctx[21].maxProgress / 100)) + "")) set_data(t3, t3_value);
		},
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

// (3912:12) {#each quests as quest, index}
function views_quests_index_svelte_create_each_block(ctx) {
	let div;
	let img;
	let img_src_value;
	let t0;
	let p;
	let t1_value = /*quest*/ ctx[21].title + "";
	let t1;
	let t2;
	let show_if;
	let t3;
	let index = /*index*/ ctx[23];
	let mounted;
	let dispose;

	function select_block_type_2(ctx, dirty) {
		if (dirty & /*quests*/ 1) show_if = null;
		if (/*quest*/ ctx[21].progress !== /*quest*/ ctx[21].maxProgress) return views_quests_index_svelte_create_if_block;
		if (show_if == null) show_if = !!/*isNeedToTakeReward*/ ctx[9](/*quest*/ ctx[21]);
		if (show_if) return views_quests_index_svelte_create_if_block_1;
		return views_quests_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type_2(ctx, -1);
	let if_block = current_block_type(ctx);

	function click_handler_1() {
		return /*click_handler_1*/ ctx[11](/*index*/ ctx[23]);
	}

	const assign_div = () => /*div_binding*/ ctx[12](div, index);
	const unassign_div = () => /*div_binding*/ ctx[12](null, index);

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			if_block.c();
			t3 = space();
			attr(img, "class", "quests__cards-img svelte-1nxeqy7");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/quest/${/*quest*/ ctx[21].image}`)) attr(img, "src", img_src_value);
			attr(img, "alt", "quest-card");
			attr(img, "draggable", "false");
			attr(p, "class", "quests__cards-title svelte-1nxeqy7");
			attr(div, "class", "quests__cards-item svelte-1nxeqy7");
			toggle_class(div, "quests__cards-item--selected", /*index*/ ctx[23] === /*selectedQuestIndex*/ ctx[1]);
			toggle_class(div, "quests__cards-item--completed", /*isQuestCompleted*/ ctx[8](/*quest*/ ctx[21].progress));
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
			append(div, t0);
			append(div, p);
			append(p, t1);
			append(div, t2);
			if_block.m(div, null);
			append(div, t3);
			assign_div();

			if (!mounted) {
				dispose = listen(div, "click", click_handler_1);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*quests*/ 1 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/quest/${/*quest*/ ctx[21].image}`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*quests*/ 1 && t1_value !== (t1_value = /*quest*/ ctx[21].title + "")) set_data(t1, t1_value);

			if (current_block_type === (current_block_type = select_block_type_2(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div, t3);
				}
			}

			if (index !== /*index*/ ctx[23]) {
				unassign_div();
				index = /*index*/ ctx[23];
				assign_div();
			}

			if (dirty & /*selectedQuestIndex*/ 2) {
				toggle_class(div, "quests__cards-item--selected", /*index*/ ctx[23] === /*selectedQuestIndex*/ ctx[1]);
			}

			if (dirty & /*isQuestCompleted, quests*/ 257) {
				toggle_class(div, "quests__cards-item--completed", /*isQuestCompleted*/ ctx[8](/*quest*/ ctx[21].progress));
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			if_block.d();
			unassign_div();
			mounted = false;
			dispose();
		}
	};
}

function views_quests_index_svelte_create_fragment(ctx) {
	let div6;
	let div0;
	let t3;
	let exitbutton;
	let t4;
	let show_if = !(0,lodash.isEmpty)(/*quests*/ ctx[0][/*selectedQuestIndex*/ ctx[1]]);
	let t5;
	let div2;
	let div1;
	let t6;
	let div5;
	let div3;
	let actionbutton0;
	let t7;
	let div4;
	let actionbutton1;
	let current;
	let mounted;
	let dispose;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[5],
				fixedPosition: true
			}
		});

	let if_block = show_if && quests_index_svelte_create_if_block_2(ctx);
	let each_value = /*quests*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = views_quests_index_svelte_create_each_block(views_quests_index_svelte_get_each_context(ctx, each_value, i));
	}

	actionbutton0 = new index_svelte({
			props: {
				onPress: /*func*/ ctx[14],
				keyIcon: "icon-arrow-left",
				keyCode: 37,
				size: ActionButtonSize.Regular
			}
		});

	actionbutton1 = new index_svelte({
			props: {
				onPress: /*func_1*/ ctx[15],
				keyIcon: "icon-arrow-right",
				keyCode: 39,
				postActionTitle: "Выбор квеста",
				size: ActionButtonSize.Regular
			}
		});

	return {
		c() {
			div6 = internal_element("div");
			div0 = internal_element("div");

			div0.innerHTML = `<p class="quests__title svelte-1nxeqy7">Доступные квесты</p> 
        <p class="quests__title-description svelte-1nxeqy7">Выберите квест, чтобы посмотреть информацию</p>`;

			t3 = space();
			create_component(exitbutton.$$.fragment);
			t4 = space();
			if (if_block) if_block.c();
			t5 = space();
			div2 = internal_element("div");
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t6 = space();
			div5 = internal_element("div");
			div3 = internal_element("div");
			create_component(actionbutton0.$$.fragment);
			t7 = space();
			div4 = internal_element("div");
			create_component(actionbutton1.$$.fragment);
			attr(div0, "class", "quests__title-wrapper svelte-1nxeqy7");
			attr(div1, "class", "quests__cards-item-wrapper svelte-1nxeqy7");
			attr(div2, "class", "quests__cards svelte-1nxeqy7");
			attr(div3, "class", "quests__button-arrow svelte-1nxeqy7");
			attr(div4, "class", "quests__button-arrow svelte-1nxeqy7");
			attr(div5, "class", "quests__button-arrow-wrapper svelte-1nxeqy7");
			attr(div6, "class", "quests svelte-1nxeqy7");
		},
		m(target, anchor) {
			insert(target, div6, anchor);
			append(div6, div0);
			append(div6, t3);
			mount_component(exitbutton, div6, null);
			append(div6, t4);
			if (if_block) if_block.m(div6, null);
			append(div6, t5);
			append(div6, div2);
			append(div2, div1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}

			/*div2_binding*/ ctx[13](div2);
			append(div6, t6);
			append(div6, div5);
			append(div5, div3);
			mount_component(actionbutton0, div3, null);
			append(div5, t7);
			append(div5, div4);
			mount_component(actionbutton1, div4, null);
			current = true;

			if (!mounted) {
				dispose = listen(div2, "wheel", /*handleWheel*/ ctx[4]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*quests, selectedQuestIndex*/ 3) show_if = !(0,lodash.isEmpty)(/*quests*/ ctx[0][/*selectedQuestIndex*/ ctx[1]]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*quests, selectedQuestIndex*/ 3) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = quests_index_svelte_create_if_block_2(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(div6, t5);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}

			if (dirty & /*questsRefs, selectedQuestIndex, isQuestCompleted, quests, selectQuest, Math, isNeedToTakeReward, Mark, CDN_URL_RODINA*/ 907) {
				each_value = /*quests*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = views_quests_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = views_quests_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div1, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			const actionbutton0_changes = {};
			if (dirty & /*selectedQuestIndex*/ 2) actionbutton0_changes.onPress = /*func*/ ctx[14];
			actionbutton0.$set(actionbutton0_changes);
			const actionbutton1_changes = {};
			if (dirty & /*selectedQuestIndex*/ 2) actionbutton1_changes.onPress = /*func_1*/ ctx[15];
			actionbutton1.$set(actionbutton1_changes);
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			transition_in(if_block);
			transition_in(actionbutton0.$$.fragment, local);
			transition_in(actionbutton1.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			transition_out(if_block);
			transition_out(actionbutton0.$$.fragment, local);
			transition_out(actionbutton1.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div6);
			destroy_component(exitbutton);
			if (if_block) if_block.d();
			destroy_each(each_blocks, detaching);
			/*div2_binding*/ ctx[13](null);
			destroy_component(actionbutton0);
			destroy_component(actionbutton1);
			mounted = false;
			dispose();
		}
	};
}

function views_quests_index_svelte_instance($$self, $$props, $$invalidate) {
	let quests = [];
	let selectedQuestIndex = 0;
	let containerRef;
	const questsRefs = [];

	const handleWheel = event => {
		$$invalidate(2, containerRef.scrollLeft += event.deltaY, containerRef);
	};

	const handleClose = () => {
		
	}; // exec close event

	const trackQuest = questId => {
		sendClientMessage('trackQuest.quests', questId);
	};

	const selectQuest = index => {
		let correctIndex = index;

		if (quests.length - 1 < index) {
			correctIndex = 0;
		} else if (index < 0) {
			correctIndex = quests.length - 1;
		}

		$$invalidate(1, selectedQuestIndex = correctIndex);
		const containerWidth = containerRef.getBoundingClientRect().width;
		const itemRect = questsRefs[correctIndex].getBoundingClientRect();
		const currentLeft = containerWidth + containerRef.scrollLeft;
		const siblingItemRect = (questsRefs[correctIndex + 1] || questsRefs[correctIndex - 1]).getBoundingClientRect();
		const gapWidth = Math.min(Math.abs(siblingItemRect.right - itemRect.left), Math.abs(siblingItemRect.left - itemRect.right));
		const itemWidth = itemRect.width + gapWidth;
		const itemInViewRightPosition = itemWidth * (correctIndex + 1);
		const itemInViewLeftPosition = itemInViewRightPosition - itemWidth;

		if (currentLeft < itemInViewRightPosition) {
			containerRef.scroll({
				left: itemInViewRightPosition,
				behavior: 'smooth'
			});
		}

		if (containerRef.scrollLeft > itemInViewLeftPosition) {
			containerRef.scroll({
				left: itemInViewLeftPosition,
				behavior: 'smooth'
			});
		}
	};

	const sortQuests = questsToSort => {
		const getSortWeight = el => Number(+el.progress === el.maxProgress) - Number(!el.hasReward);
		return questsToSort.sort((a, b) => getSortWeight(a) - getSortWeight(b));
	};

	const isQuestCompleted = quest => +quest.progress === quest.maxProgress && quest.hasReward;
	const isNeedToTakeReward = quest => +quest.progress === quest.maxProgress && !quest.hasReward;

	const initializeQuests = questsDto => {
		$$invalidate(0, quests = sortQuests(questsDto));
	};

	const pushQuests = questsDto => {
		$$invalidate(0, quests = sortQuests([...quests, ...questsDto]));
	};

	const unregisterQuestsInitializeEvent = registerEvent('event.quests.initialize', initializeQuests);
	const unregisterQuestsPushEvent = registerEvent('event.quests.push', pushQuests);

	onDestroy(() => {
		unregisterQuestsInitializeEvent();
		unregisterQuestsPushEvent();
	});

	const click_handler = () => trackQuest(quests[selectedQuestIndex].id);
	const click_handler_1 = index => selectQuest(index);

	function div_binding($$value, index) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			questsRefs[index] = $$value;
			$$invalidate(3, questsRefs);
		});
	}

	function div2_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			containerRef = $$value;
			$$invalidate(2, containerRef);
		});
	}

	const func = () => selectQuest(selectedQuestIndex - 1);
	const func_1 = () => selectQuest(selectedQuestIndex + 1);

	return [
		quests,
		selectedQuestIndex,
		containerRef,
		questsRefs,
		handleWheel,
		handleClose,
		trackQuest,
		selectQuest,
		isQuestCompleted,
		isNeedToTakeReward,
		click_handler,
		click_handler_1,
		div_binding,
		div2_binding,
		func,
		func_1
	];
}

class quests_index_svelte_Quests extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, views_quests_index_svelte_instance, views_quests_index_svelte_create_fragment, safe_not_equal, {}, views_quests_index_svelte_add_css);
	}
}

/* harmony default export */ const views_quests_index_svelte = (quests_index_svelte_Quests);
;// CONCATENATED MODULE: ./src/views/promotions/halloween-2023/img/bat-img.png
const bat_img_namespaceObject = __webpack_require__.p + "assets/f9cc9a7e9a9a612ae44d.webp";
;// CONCATENATED MODULE: ./src/views/promotions/halloween-2023/img/coffin-img.png
const coffin_img_namespaceObject = __webpack_require__.p + "assets/7adb1e16dc05a686bb35.webp";
;// CONCATENATED MODULE: ./src/views/promotions/halloween-2023/img/title-img.png
const title_img_namespaceObject = __webpack_require__.p + "assets/5e92a671fa969dd5ee40.webp";
;// CONCATENATED MODULE: ./src/views/promotions/halloween-2023/img/web-img.png
const web_img_namespaceObject = __webpack_require__.p + "assets/0494aabbb0227262c2e5.webp";
;// CONCATENATED MODULE: ./src/views/promotions/halloween-2023/img/skull-img.png
const skull_img_namespaceObject = __webpack_require__.p + "assets/846baeb1df9614c51b99.webp";
;// CONCATENATED MODULE: ./src/views/promotions/halloween-2023/img/bonus-x2-img.png
const bonus_x2_img_namespaceObject = __webpack_require__.p + "assets/ced72604b6f2b6e4bceb.webp";
;// CONCATENATED MODULE: ./src/views/promotions/halloween-2023/img/bonus-x3-img.png
const bonus_x3_img_namespaceObject = __webpack_require__.p + "assets/6d9069a0740100686be9.webp";
;// CONCATENATED MODULE: ./src/views/promotions/halloween-2023/img/marker-img.svg
const marker_img_namespaceObject = __webpack_require__.p + "assets/d25681ecd50f06bcb072.svg";
;// CONCATENATED MODULE: ./src/views/promotions/halloween-2023/index.svelte
/* src\views\promotions\halloween-2023\index.svelte generated by Svelte v3.49.0 */











function halloween_2023_index_svelte_add_css(target) {
	append_styles(target, "svelte-1lg3uz4", "@keyframes svelte-1lg3uz4-blinking{50%{opacity:0}}@keyframes svelte-1lg3uz4-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1lg3uz4-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1lg3uz4-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1lg3uz4-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1lg3uz4-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1lg3uz4-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1lg3uz4-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1lg3uz4-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1lg3uz4-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1lg3uz4-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1lg3uz4-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1lg3uz4-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1lg3uz4-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1lg3uz4-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.halloween.svelte-1lg3uz4{display:flex;align-items:center;flex-direction:column;width:100vw;height:100vh}.halloween__coffin-img.svelte-1lg3uz4{position:absolute;left:0;height:100%;pointer-events:none;width:calc(0.5505208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween__coffin-img.svelte-1lg3uz4{width:calc(0.5505208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__coffin-img.svelte-1lg3uz4{width:calc(0.5505208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__coffin-img.svelte-1lg3uz4{width:calc(0.4239010417 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__coffin-img.svelte-1lg3uz4{width:calc(0.6055729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__coffin-img.svelte-1lg3uz4{width:calc(0.3853645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__coffin-img.svelte-1lg3uz4{width:calc(0.49546875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__coffin-img.svelte-1lg3uz4{width:calc(0.6055729167 * 100vw + 0px)}}.halloween__title-img.svelte-1lg3uz4{z-index:2;position:absolute;left:calc(0.015625 * 100vw + 0px);top:calc(0.0614583333 * 100vw + 0px);width:calc(0.4125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween__title-img.svelte-1lg3uz4{left:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__title-img.svelte-1lg3uz4{left:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__title-img.svelte-1lg3uz4{left:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__title-img.svelte-1lg3uz4{left:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__title-img.svelte-1lg3uz4{left:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__title-img.svelte-1lg3uz4{left:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__title-img.svelte-1lg3uz4{left:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween__title-img.svelte-1lg3uz4{top:calc(0.0614583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__title-img.svelte-1lg3uz4{top:calc(0.0614583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__title-img.svelte-1lg3uz4{top:calc(0.0473229167 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__title-img.svelte-1lg3uz4{top:calc(0.0676041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__title-img.svelte-1lg3uz4{top:calc(0.0430208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__title-img.svelte-1lg3uz4{top:calc(0.0553125 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__title-img.svelte-1lg3uz4{top:calc(0.0676041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween__title-img.svelte-1lg3uz4{width:calc(0.4125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__title-img.svelte-1lg3uz4{width:calc(0.4125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__title-img.svelte-1lg3uz4{width:calc(0.317625 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__title-img.svelte-1lg3uz4{width:calc(0.45375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__title-img.svelte-1lg3uz4{width:calc(0.28875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__title-img.svelte-1lg3uz4{width:calc(0.37125 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__title-img.svelte-1lg3uz4{width:calc(0.45375 * 100vw + 0px)}}.halloween__bat-img.svelte-1lg3uz4{z-index:1;position:absolute;pointer-events:none;top:calc(0.0208333333 * 100vw + 0px);left:calc(0 * 100vw + 0px);height:calc(0.4375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween__bat-img.svelte-1lg3uz4{top:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__bat-img.svelte-1lg3uz4{top:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__bat-img.svelte-1lg3uz4{top:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__bat-img.svelte-1lg3uz4{top:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__bat-img.svelte-1lg3uz4{top:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__bat-img.svelte-1lg3uz4{top:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__bat-img.svelte-1lg3uz4{top:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween__bat-img.svelte-1lg3uz4{left:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__bat-img.svelte-1lg3uz4{left:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__bat-img.svelte-1lg3uz4{left:calc(0 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__bat-img.svelte-1lg3uz4{left:calc(0 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__bat-img.svelte-1lg3uz4{left:calc(0 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__bat-img.svelte-1lg3uz4{left:calc(0 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__bat-img.svelte-1lg3uz4{left:calc(0 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween__bat-img.svelte-1lg3uz4{height:calc(0.4375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__bat-img.svelte-1lg3uz4{height:calc(0.4375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__bat-img.svelte-1lg3uz4{height:calc(0.336875 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__bat-img.svelte-1lg3uz4{height:calc(0.48125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__bat-img.svelte-1lg3uz4{height:calc(0.30625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__bat-img.svelte-1lg3uz4{height:calc(0.39375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__bat-img.svelte-1lg3uz4{height:calc(0.48125 * 100vw + 0px)}}.halloween__skull-img.svelte-1lg3uz4{z-index:2;position:absolute;bottom:0;pointer-events:none;left:calc(-0.015625 * 100vw + 0px);width:calc(0.6770833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween__skull-img.svelte-1lg3uz4{left:calc(-0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__skull-img.svelte-1lg3uz4{left:calc(-0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__skull-img.svelte-1lg3uz4{left:calc(-0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__skull-img.svelte-1lg3uz4{left:calc(-0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__skull-img.svelte-1lg3uz4{left:calc(-0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__skull-img.svelte-1lg3uz4{left:calc(-0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__skull-img.svelte-1lg3uz4{left:calc(-0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween__skull-img.svelte-1lg3uz4{width:calc(0.6770833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__skull-img.svelte-1lg3uz4{width:calc(0.6770833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__skull-img.svelte-1lg3uz4{width:calc(0.5213541667 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__skull-img.svelte-1lg3uz4{width:calc(0.7447916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__skull-img.svelte-1lg3uz4{width:calc(0.4739583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__skull-img.svelte-1lg3uz4{width:calc(0.609375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__skull-img.svelte-1lg3uz4{width:calc(0.7447916667 * 100vw + 0px)}}.halloween__web-img.svelte-1lg3uz4{z-index:3;position:absolute;pointer-events:none;width:calc(1 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween__web-img.svelte-1lg3uz4{width:calc(1 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__web-img.svelte-1lg3uz4{width:calc(1 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__web-img.svelte-1lg3uz4{width:calc(0.77 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__web-img.svelte-1lg3uz4{width:calc(1.1 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__web-img.svelte-1lg3uz4{width:calc(0.7 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__web-img.svelte-1lg3uz4{width:calc(0.9 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__web-img.svelte-1lg3uz4{width:calc(1.1 * 100vw + 0px)}}.halloween__bonus.svelte-1lg3uz4{z-index:2;position:absolute;text-align:center;left:calc(0.109375 * 100vw + 0px);bottom:calc(0.1744791667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween__bonus.svelte-1lg3uz4{left:calc(0.109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__bonus.svelte-1lg3uz4{left:calc(0.109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__bonus.svelte-1lg3uz4{left:calc(0.08421875 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__bonus.svelte-1lg3uz4{left:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__bonus.svelte-1lg3uz4{left:calc(0.0765625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__bonus.svelte-1lg3uz4{left:calc(0.0984375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__bonus.svelte-1lg3uz4{left:calc(0.1203125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween__bonus.svelte-1lg3uz4{bottom:calc(0.1744791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__bonus.svelte-1lg3uz4{bottom:calc(0.1744791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__bonus.svelte-1lg3uz4{bottom:calc(0.1343489583 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__bonus.svelte-1lg3uz4{bottom:calc(0.1919270833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__bonus.svelte-1lg3uz4{bottom:calc(0.1221354167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__bonus.svelte-1lg3uz4{bottom:calc(0.15703125 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__bonus.svelte-1lg3uz4{bottom:calc(0.1919270833 * 100vw + 0px)}}.halloween__bonus-title.svelte-1lg3uz4{color:#FFCC69;font-family:PFDinDisplayProRegular;font-weight:700;letter-spacing:calc(0.0020833333 * 100vw + 0px);font-size:calc(0.021875 * 100vw + 0px);margin-bottom:calc(0.01875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween__bonus-title.svelte-1lg3uz4{letter-spacing:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__bonus-title.svelte-1lg3uz4{letter-spacing:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__bonus-title.svelte-1lg3uz4{letter-spacing:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__bonus-title.svelte-1lg3uz4{letter-spacing:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__bonus-title.svelte-1lg3uz4{letter-spacing:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__bonus-title.svelte-1lg3uz4{letter-spacing:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__bonus-title.svelte-1lg3uz4{letter-spacing:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween__bonus-title.svelte-1lg3uz4{font-size:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__bonus-title.svelte-1lg3uz4{font-size:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__bonus-title.svelte-1lg3uz4{font-size:calc(0.01684375 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__bonus-title.svelte-1lg3uz4{font-size:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__bonus-title.svelte-1lg3uz4{font-size:calc(0.0153125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__bonus-title.svelte-1lg3uz4{font-size:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__bonus-title.svelte-1lg3uz4{font-size:calc(0.0240625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween__bonus-title.svelte-1lg3uz4{margin-bottom:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__bonus-title.svelte-1lg3uz4{margin-bottom:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__bonus-title.svelte-1lg3uz4{margin-bottom:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__bonus-title.svelte-1lg3uz4{margin-bottom:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__bonus-title.svelte-1lg3uz4{margin-bottom:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__bonus-title.svelte-1lg3uz4{margin-bottom:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__bonus-title.svelte-1lg3uz4{margin-bottom:calc(0.020625 * 100vw + 0px)}}.halloween__bonus-item-wrapper.svelte-1lg3uz4{display:flex;align-items:center;gap:calc(0.0229166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween__bonus-item-wrapper.svelte-1lg3uz4{gap:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__bonus-item-wrapper.svelte-1lg3uz4{gap:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__bonus-item-wrapper.svelte-1lg3uz4{gap:calc(0.0176458333 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__bonus-item-wrapper.svelte-1lg3uz4{gap:calc(0.0252083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__bonus-item-wrapper.svelte-1lg3uz4{gap:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__bonus-item-wrapper.svelte-1lg3uz4{gap:calc(0.020625 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__bonus-item-wrapper.svelte-1lg3uz4{gap:calc(0.0252083333 * 100vw + 0px)}}.halloween__bonus-item.svelte-1lg3uz4{display:flex;flex-direction:column;align-items:center}.halloween__bonus-item-img.svelte-1lg3uz4{width:calc(0.08125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween__bonus-item-img.svelte-1lg3uz4{width:calc(0.08125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__bonus-item-img.svelte-1lg3uz4{width:calc(0.08125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__bonus-item-img.svelte-1lg3uz4{width:calc(0.0625625 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__bonus-item-img.svelte-1lg3uz4{width:calc(0.089375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__bonus-item-img.svelte-1lg3uz4{width:calc(0.056875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__bonus-item-img.svelte-1lg3uz4{width:calc(0.073125 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__bonus-item-img.svelte-1lg3uz4{width:calc(0.089375 * 100vw + 0px)}}.halloween__bonus-item-title.svelte-1lg3uz4{font-family:PFDinDisplayProRegular;color:#FFFFFF;font-weight:600;letter-spacing:calc(0.0010416667 * 100vw + 0px);font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween__bonus-item-title.svelte-1lg3uz4{letter-spacing:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__bonus-item-title.svelte-1lg3uz4{letter-spacing:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__bonus-item-title.svelte-1lg3uz4{letter-spacing:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__bonus-item-title.svelte-1lg3uz4{letter-spacing:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__bonus-item-title.svelte-1lg3uz4{letter-spacing:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__bonus-item-title.svelte-1lg3uz4{letter-spacing:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__bonus-item-title.svelte-1lg3uz4{letter-spacing:calc(0.0011458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween__bonus-item-title.svelte-1lg3uz4{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__bonus-item-title.svelte-1lg3uz4{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__bonus-item-title.svelte-1lg3uz4{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__bonus-item-title.svelte-1lg3uz4{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__bonus-item-title.svelte-1lg3uz4{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__bonus-item-title.svelte-1lg3uz4{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__bonus-item-title.svelte-1lg3uz4{font-size:calc(0.01375 * 100vw + 0px)}}.halloween__information.svelte-1lg3uz4{position:absolute;text-align:center;bottom:calc(0.0369791667 * 100vw + 0px);left:calc(0.1145833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween__information.svelte-1lg3uz4{bottom:calc(0.0369791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__information.svelte-1lg3uz4{bottom:calc(0.0369791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__information.svelte-1lg3uz4{bottom:calc(0.0284739583 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__information.svelte-1lg3uz4{bottom:calc(0.0406770833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__information.svelte-1lg3uz4{bottom:calc(0.0258854167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__information.svelte-1lg3uz4{bottom:calc(0.03328125 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__information.svelte-1lg3uz4{bottom:calc(0.0406770833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween__information.svelte-1lg3uz4{left:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__information.svelte-1lg3uz4{left:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__information.svelte-1lg3uz4{left:calc(0.0882291667 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__information.svelte-1lg3uz4{left:calc(0.1260416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__information.svelte-1lg3uz4{left:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__information.svelte-1lg3uz4{left:calc(0.103125 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__information.svelte-1lg3uz4{left:calc(0.1260416667 * 100vw + 0px)}}.halloween__information-title.svelte-1lg3uz4{font-family:PFDinDisplayProRegular;font-weight:700;color:#FFFFFF;letter-spacing:calc(0.0015625 * 100vw + 0px);font-size:calc(0.0125 * 100vw + 0px);margin-bottom:calc(0.0088541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween__information-title.svelte-1lg3uz4{letter-spacing:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__information-title.svelte-1lg3uz4{letter-spacing:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__information-title.svelte-1lg3uz4{letter-spacing:calc(0.001203125 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__information-title.svelte-1lg3uz4{letter-spacing:calc(0.00171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__information-title.svelte-1lg3uz4{letter-spacing:calc(0.00109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__information-title.svelte-1lg3uz4{letter-spacing:calc(0.00140625 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__information-title.svelte-1lg3uz4{letter-spacing:calc(0.00171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween__information-title.svelte-1lg3uz4{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__information-title.svelte-1lg3uz4{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__information-title.svelte-1lg3uz4{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__information-title.svelte-1lg3uz4{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__information-title.svelte-1lg3uz4{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__information-title.svelte-1lg3uz4{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__information-title.svelte-1lg3uz4{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween__information-title.svelte-1lg3uz4{margin-bottom:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__information-title.svelte-1lg3uz4{margin-bottom:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__information-title.svelte-1lg3uz4{margin-bottom:calc(0.0068177083 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__information-title.svelte-1lg3uz4{margin-bottom:calc(0.0097395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__information-title.svelte-1lg3uz4{margin-bottom:calc(0.0061979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__information-title.svelte-1lg3uz4{margin-bottom:calc(0.00796875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__information-title.svelte-1lg3uz4{margin-bottom:calc(0.0097395833 * 100vw + 0px)}}.halloween__information-item.svelte-1lg3uz4{display:flex;align-items:center}.halloween__information-item-img.svelte-1lg3uz4{height:calc(0.0213541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween__information-item-img.svelte-1lg3uz4{height:calc(0.0213541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__information-item-img.svelte-1lg3uz4{height:calc(0.0213541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__information-item-img.svelte-1lg3uz4{height:calc(0.0164427083 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__information-item-img.svelte-1lg3uz4{height:calc(0.0234895833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__information-item-img.svelte-1lg3uz4{height:calc(0.0149479167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__information-item-img.svelte-1lg3uz4{height:calc(0.01921875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__information-item-img.svelte-1lg3uz4{height:calc(0.0234895833 * 100vw + 0px)}}.halloween__information-item-title-wrapper.svelte-1lg3uz4{display:flex;align-items:center;justify-content:center;background-color:#0D0D0D;width:calc(0.1609375 * 100vw + 0px);height:calc(0.0265625 * 100vw + 0px);margin-left:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween__information-item-title-wrapper.svelte-1lg3uz4{width:calc(0.1609375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__information-item-title-wrapper.svelte-1lg3uz4{width:calc(0.1609375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__information-item-title-wrapper.svelte-1lg3uz4{width:calc(0.123921875 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__information-item-title-wrapper.svelte-1lg3uz4{width:calc(0.17703125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__information-item-title-wrapper.svelte-1lg3uz4{width:calc(0.11265625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__information-item-title-wrapper.svelte-1lg3uz4{width:calc(0.14484375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__information-item-title-wrapper.svelte-1lg3uz4{width:calc(0.17703125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween__information-item-title-wrapper.svelte-1lg3uz4{height:calc(0.0265625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__information-item-title-wrapper.svelte-1lg3uz4{height:calc(0.0265625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__information-item-title-wrapper.svelte-1lg3uz4{height:calc(0.020453125 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__information-item-title-wrapper.svelte-1lg3uz4{height:calc(0.02921875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__information-item-title-wrapper.svelte-1lg3uz4{height:calc(0.01859375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__information-item-title-wrapper.svelte-1lg3uz4{height:calc(0.02390625 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__information-item-title-wrapper.svelte-1lg3uz4{height:calc(0.02921875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween__information-item-title-wrapper.svelte-1lg3uz4{margin-left:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__information-item-title-wrapper.svelte-1lg3uz4{margin-left:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__information-item-title-wrapper.svelte-1lg3uz4{margin-left:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__information-item-title-wrapper.svelte-1lg3uz4{margin-left:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__information-item-title-wrapper.svelte-1lg3uz4{margin-left:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__information-item-title-wrapper.svelte-1lg3uz4{margin-left:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__information-item-title-wrapper.svelte-1lg3uz4{margin-left:calc(0.006875 * 100vw + 0px)}}.halloween__information-item-title.svelte-1lg3uz4{font-family:PFDinDisplayProRegular;font-weight:700;color:#FFCC69;letter-spacing:calc(0.0005208333 * 100vw + 0px);font-size:calc(0.0114583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween__information-item-title.svelte-1lg3uz4{letter-spacing:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__information-item-title.svelte-1lg3uz4{letter-spacing:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__information-item-title.svelte-1lg3uz4{letter-spacing:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__information-item-title.svelte-1lg3uz4{letter-spacing:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__information-item-title.svelte-1lg3uz4{letter-spacing:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__information-item-title.svelte-1lg3uz4{letter-spacing:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__information-item-title.svelte-1lg3uz4{letter-spacing:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween__information-item-title.svelte-1lg3uz4{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween__information-item-title.svelte-1lg3uz4{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween__information-item-title.svelte-1lg3uz4{font-size:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.halloween__information-item-title.svelte-1lg3uz4{font-size:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween__information-item-title.svelte-1lg3uz4{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween__information-item-title.svelte-1lg3uz4{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.halloween__information-item-title.svelte-1lg3uz4{font-size:calc(0.0126041667 * 100vw + 0px)}}");
}

function halloween_2023_index_svelte_create_fragment(ctx) {
	let div7;
	let img0;
	let img0_src_value;
	let t0;
	let img1;
	let img1_src_value;
	let t1;
	let img2;
	let img2_src_value;
	let t2;
	let img3;
	let img3_src_value;
	let t3;
	let img4;
	let img4_src_value;
	let t4;
	let div3;
	let p0;
	let t6;
	let div2;
	let div0;
	let img5;
	let img5_src_value;
	let t7;
	let p1;
	let t9;
	let div1;
	let img6;
	let img6_src_value;
	let t10;
	let p2;
	let t12;
	let div6;
	let p3;
	let t14;
	let div5;
	let img7;
	let img7_src_value;
	let t15;
	let div4;

	return {
		c() {
			div7 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			img1 = internal_element("img");
			t1 = space();
			img2 = internal_element("img");
			t2 = space();
			img3 = internal_element("img");
			t3 = space();
			img4 = internal_element("img");
			t4 = space();
			div3 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Действует акция";
			t6 = space();
			div2 = internal_element("div");
			div0 = internal_element("div");
			img5 = internal_element("img");
			t7 = space();
			p1 = internal_element("p");
			p1.textContent = "каждый payday";
			t9 = space();
			div1 = internal_element("div");
			img6 = internal_element("img");
			t10 = space();
			p2 = internal_element("p");
			p2.textContent = "пополнение счета";
			t12 = space();
			div6 = internal_element("div");
			p3 = internal_element("p");
			p3.textContent = "Подробнее";
			t14 = space();
			div5 = internal_element("div");
			img7 = internal_element("img");
			t15 = space();
			div4 = internal_element("div");
			div4.innerHTML = `<p class="halloween__information-item-title svelte-1lg3uz4">GPS &gt; название &gt; название</p>`;
			attr(img0, "class", "halloween__bat-img svelte-1lg3uz4");
			if (!src_url_equal(img0.src, img0_src_value = bat_img_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "bat");
			attr(img1, "class", "halloween__coffin-img svelte-1lg3uz4");
			if (!src_url_equal(img1.src, img1_src_value = coffin_img_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "coffin");
			attr(img2, "class", "halloween__title-img svelte-1lg3uz4");
			if (!src_url_equal(img2.src, img2_src_value = title_img_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "title");
			attr(img3, "class", "halloween__web-img svelte-1lg3uz4");
			if (!src_url_equal(img3.src, img3_src_value = web_img_namespaceObject)) attr(img3, "src", img3_src_value);
			attr(img3, "alt", "web");
			attr(img4, "class", "halloween__skull-img svelte-1lg3uz4");
			if (!src_url_equal(img4.src, img4_src_value = skull_img_namespaceObject)) attr(img4, "src", img4_src_value);
			attr(img4, "alt", "skull");
			attr(p0, "class", "halloween__bonus-title svelte-1lg3uz4");
			attr(img5, "class", "halloween__bonus-item-img svelte-1lg3uz4");
			if (!src_url_equal(img5.src, img5_src_value = bonus_x2_img_namespaceObject)) attr(img5, "src", img5_src_value);
			attr(img5, "alt", "bonus-x2");
			attr(p1, "class", "halloween__bonus-item-title svelte-1lg3uz4");
			attr(div0, "class", "halloween__bonus-item svelte-1lg3uz4");
			attr(img6, "class", "halloween__bonus-item-img svelte-1lg3uz4");
			if (!src_url_equal(img6.src, img6_src_value = bonus_x3_img_namespaceObject)) attr(img6, "src", img6_src_value);
			attr(img6, "alt", "bonus-x3");
			attr(p2, "class", "halloween__bonus-item-title svelte-1lg3uz4");
			attr(div1, "class", "halloween__bonus-item svelte-1lg3uz4");
			attr(div2, "class", "halloween__bonus-item-wrapper svelte-1lg3uz4");
			attr(div3, "class", "halloween__bonus svelte-1lg3uz4");
			attr(p3, "class", "halloween__information-title svelte-1lg3uz4");
			attr(img7, "class", "halloween__information-item-img svelte-1lg3uz4");
			if (!src_url_equal(img7.src, img7_src_value = marker_img_namespaceObject)) attr(img7, "src", img7_src_value);
			attr(img7, "alt", "marker");
			attr(div4, "class", "halloween__information-item-title-wrapper svelte-1lg3uz4");
			attr(div5, "class", "halloween__information-item svelte-1lg3uz4");
			attr(div6, "class", "halloween__information svelte-1lg3uz4");
			attr(div7, "class", "halloween svelte-1lg3uz4");
		},
		m(target, anchor) {
			insert(target, div7, anchor);
			append(div7, img0);
			append(div7, t0);
			append(div7, img1);
			append(div7, t1);
			append(div7, img2);
			append(div7, t2);
			append(div7, img3);
			append(div7, t3);
			append(div7, img4);
			append(div7, t4);
			append(div7, div3);
			append(div3, p0);
			append(div3, t6);
			append(div3, div2);
			append(div2, div0);
			append(div0, img5);
			append(div0, t7);
			append(div0, p1);
			append(div2, t9);
			append(div2, div1);
			append(div1, img6);
			append(div1, t10);
			append(div1, p2);
			append(div7, t12);
			append(div7, div6);
			append(div6, p3);
			append(div6, t14);
			append(div6, div5);
			append(div5, img7);
			append(div5, t15);
			append(div5, div4);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div7);
		}
	};
}

class Halloween_2023 extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, halloween_2023_index_svelte_create_fragment, safe_not_equal, {}, halloween_2023_index_svelte_add_css);
	}
}

/* harmony default export */ const halloween_2023_index_svelte = (Halloween_2023);
;// CONCATENATED MODULE: ./src/views/halloween-event/img/halloween-event-logo.png
const halloween_event_logo_namespaceObject = __webpack_require__.p + "assets/3262700c94b7287a3b4a.webp";
;// CONCATENATED MODULE: ./src/views/halloween-event/menu/img/halloween-event-playerLogo.svg
const halloween_event_playerLogo_namespaceObject = __webpack_require__.p + "assets/765568ee564ee05c2c17.svg";
;// CONCATENATED MODULE: ./src/views/halloween-event/menu/img/halloween-event-pumpkin.png
const halloween_event_pumpkin_namespaceObject = __webpack_require__.p + "assets/dc68b28a6421736f5457.webp";
;// CONCATENATED MODULE: ./src/views/halloween-event/menu/img/halloween-event-quests.png
const halloween_event_quests_namespaceObject = __webpack_require__.p + "assets/d7b8c2f120561e7be42a.webp";
;// CONCATENATED MODULE: ./src/views/halloween-event/img/halloween-event-background.png
const halloween_event_background_namespaceObject = __webpack_require__.p + "assets/626c9a81d5be06f7b462.webp";
;// CONCATENATED MODULE: ./src/views/halloween-event/components/background/index.svelte
/* src\views\halloween-event\components\background\index.svelte generated by Svelte v3.49.0 */




function components_background_index_svelte_add_css(target) {
	append_styles(target, "svelte-l1eh4g", "@keyframes svelte-l1eh4g-blinking{50%{opacity:0}}@keyframes svelte-l1eh4g-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-l1eh4g-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-l1eh4g-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-l1eh4g-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-l1eh4g-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-l1eh4g-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-l1eh4g-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-l1eh4g-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-l1eh4g-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-l1eh4g-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-l1eh4g-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-l1eh4g-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-l1eh4g-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-l1eh4g-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.halloween-event-background.svelte-l1eh4g{width:100vw;height:100vh}");
}

function components_background_index_svelte_create_fragment(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "halloween-event-background svelte-l1eh4g");
			if (!src_url_equal(img.src, img_src_value = halloween_event_background_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "HalloweenBackground");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

class index_svelte_Background extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, components_background_index_svelte_create_fragment, safe_not_equal, {}, components_background_index_svelte_add_css);
	}
}

/* harmony default export */ const components_background_index_svelte = (index_svelte_Background);
;// CONCATENATED MODULE: ./src/views/halloween-event/menu/index.svelte
/* src\views\halloween-event\menu\index.svelte generated by Svelte v3.49.0 */









// import { PLAYER_STATS } from './mocks';







function halloween_event_menu_index_svelte_add_css(target) {
	append_styles(target, "svelte-1om1hbx", "@keyframes svelte-1om1hbx-blinking{50%{opacity:0}}@keyframes svelte-1om1hbx-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1om1hbx-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1om1hbx-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1om1hbx-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1om1hbx-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1om1hbx-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1om1hbx-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1om1hbx-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1om1hbx-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1om1hbx-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1om1hbx-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1om1hbx-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1om1hbx-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1om1hbx-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.halloween-event-menu.svelte-1om1hbx{display:flex;align-items:center;flex-direction:column;width:100vw;height:100vh;background:linear-gradient(180deg, rgba(255, 77, 20, 0.9) 0%, rgba(47, 19, 10, 0.9) 100%)}.halloween-event-menu__soldier-img.svelte-1om1hbx{position:absolute;z-index:1;left:0;bottom:0;height:calc(0.5385416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__soldier-img.svelte-1om1hbx{height:calc(0.5385416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__soldier-img.svelte-1om1hbx{height:calc(0.5385416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__soldier-img.svelte-1om1hbx{height:calc(0.4146770833 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__soldier-img.svelte-1om1hbx{height:calc(0.5923958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__soldier-img.svelte-1om1hbx{height:calc(0.3769791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__soldier-img.svelte-1om1hbx{height:calc(0.4846875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__soldier-img.svelte-1om1hbx{height:calc(0.5923958333 * 100vw + 0px)}}.halloween-event-menu__background-quests.svelte-1om1hbx{position:absolute;right:0;bottom:0;pointer-events:none;height:calc(0.453125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__background-quests.svelte-1om1hbx{height:calc(0.453125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__background-quests.svelte-1om1hbx{height:calc(0.453125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__background-quests.svelte-1om1hbx{height:calc(0.34890625 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__background-quests.svelte-1om1hbx{height:calc(0.4984375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__background-quests.svelte-1om1hbx{height:calc(0.3171875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__background-quests.svelte-1om1hbx{height:calc(0.4078125 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__background-quests.svelte-1om1hbx{height:calc(0.4984375 * 100vw + 0px)}}.halloween-event-menu__logo.svelte-1om1hbx{z-index:1;position:absolute;display:flex;align-items:center;top:calc(0.0125 * 100vw + 0px);left:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__logo.svelte-1om1hbx{top:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__logo.svelte-1om1hbx{top:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__logo.svelte-1om1hbx{top:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__logo.svelte-1om1hbx{top:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__logo.svelte-1om1hbx{top:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__logo.svelte-1om1hbx{top:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__logo.svelte-1om1hbx{top:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__logo.svelte-1om1hbx{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__logo.svelte-1om1hbx{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__logo.svelte-1om1hbx{left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__logo.svelte-1om1hbx{left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__logo.svelte-1om1hbx{left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__logo.svelte-1om1hbx{left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__logo.svelte-1om1hbx{left:calc(0.0286458333 * 100vw + 0px)}}.halloween-event-menu__logo-icon.svelte-1om1hbx{height:calc(0.0677083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__logo-icon.svelte-1om1hbx{height:calc(0.0677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__logo-icon.svelte-1om1hbx{height:calc(0.0677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__logo-icon.svelte-1om1hbx{height:calc(0.0521354167 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__logo-icon.svelte-1om1hbx{height:calc(0.0744791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__logo-icon.svelte-1om1hbx{height:calc(0.0473958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__logo-icon.svelte-1om1hbx{height:calc(0.0609375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__logo-icon.svelte-1om1hbx{height:calc(0.0744791667 * 100vw + 0px)}}.halloween-event-menu__take-contract.svelte-1om1hbx{position:absolute;display:flex;flex-direction:column;right:calc(0.1244791667 * 100vw + 0px);top:calc(0.2526041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__take-contract.svelte-1om1hbx{right:calc(0.1244791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__take-contract.svelte-1om1hbx{right:calc(0.1244791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__take-contract.svelte-1om1hbx{right:calc(0.0958489583 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__take-contract.svelte-1om1hbx{right:calc(0.1369270833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__take-contract.svelte-1om1hbx{right:calc(0.0871354167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__take-contract.svelte-1om1hbx{right:calc(0.11203125 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__take-contract.svelte-1om1hbx{right:calc(0.1369270833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__take-contract.svelte-1om1hbx{top:calc(0.2526041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__take-contract.svelte-1om1hbx{top:calc(0.2526041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__take-contract.svelte-1om1hbx{top:calc(0.1945052083 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__take-contract.svelte-1om1hbx{top:calc(0.2778645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__take-contract.svelte-1om1hbx{top:calc(0.1768229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__take-contract.svelte-1om1hbx{top:calc(0.22734375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__take-contract.svelte-1om1hbx{top:calc(0.2778645833 * 100vw + 0px)}}.halloween-event-menu__take-contract-title.svelte-1om1hbx{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0333333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__take-contract-title.svelte-1om1hbx{font-size:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__take-contract-title.svelte-1om1hbx{font-size:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__take-contract-title.svelte-1om1hbx{font-size:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__take-contract-title.svelte-1om1hbx{font-size:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__take-contract-title.svelte-1om1hbx{font-size:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__take-contract-title.svelte-1om1hbx{font-size:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__take-contract-title.svelte-1om1hbx{font-size:calc(0.0366666667 * 100vw + 0px)}}.halloween-event-menu__take-contract-title--bold.svelte-1om1hbx{font-family:\"GothamPro-Bold\"}.halloween-event-menu__take-contract-btn.svelte-1om1hbx{display:flex;justify-content:center;align-items:center;cursor:pointer;font-size:calc(0.009375 * 100vw + 0px);width:calc(0.0520833333 * 100vw + 0px);height:calc(0.0234375 * 100vw + 0px);margin-top:calc(0.0083333333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__take-contract-btn.svelte-1om1hbx{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__take-contract-btn.svelte-1om1hbx{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__take-contract-btn.svelte-1om1hbx{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__take-contract-btn.svelte-1om1hbx{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__take-contract-btn.svelte-1om1hbx{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__take-contract-btn.svelte-1om1hbx{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__take-contract-btn.svelte-1om1hbx{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__take-contract-btn.svelte-1om1hbx{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__take-contract-btn.svelte-1om1hbx{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__take-contract-btn.svelte-1om1hbx{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__take-contract-btn.svelte-1om1hbx{width:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__take-contract-btn.svelte-1om1hbx{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__take-contract-btn.svelte-1om1hbx{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__take-contract-btn.svelte-1om1hbx{width:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__take-contract-btn.svelte-1om1hbx{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__take-contract-btn.svelte-1om1hbx{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__take-contract-btn.svelte-1om1hbx{height:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__take-contract-btn.svelte-1om1hbx{height:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__take-contract-btn.svelte-1om1hbx{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__take-contract-btn.svelte-1om1hbx{height:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__take-contract-btn.svelte-1om1hbx{height:calc(0.02578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__take-contract-btn.svelte-1om1hbx{margin-top:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__take-contract-btn.svelte-1om1hbx{margin-top:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__take-contract-btn.svelte-1om1hbx{margin-top:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__take-contract-btn.svelte-1om1hbx{margin-top:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__take-contract-btn.svelte-1om1hbx{margin-top:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__take-contract-btn.svelte-1om1hbx{margin-top:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__take-contract-btn.svelte-1om1hbx{margin-top:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__take-contract-btn.svelte-1om1hbx{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__take-contract-btn.svelte-1om1hbx{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__take-contract-btn.svelte-1om1hbx{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__take-contract-btn.svelte-1om1hbx{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__take-contract-btn.svelte-1om1hbx{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__take-contract-btn.svelte-1om1hbx{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__take-contract-btn.svelte-1om1hbx{border-radius:calc(0.0057291667 * 100vw + 0px)}}.halloween-event-menu__player-title-wrapper.svelte-1om1hbx{z-index:1;position:absolute;bottom:calc(0.1104166667 * 100vw + 0px);left:calc(0.4234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__player-title-wrapper.svelte-1om1hbx{bottom:calc(0.1104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__player-title-wrapper.svelte-1om1hbx{bottom:calc(0.1104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__player-title-wrapper.svelte-1om1hbx{bottom:calc(0.0850208333 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__player-title-wrapper.svelte-1om1hbx{bottom:calc(0.1214583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__player-title-wrapper.svelte-1om1hbx{bottom:calc(0.0772916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__player-title-wrapper.svelte-1om1hbx{bottom:calc(0.099375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__player-title-wrapper.svelte-1om1hbx{bottom:calc(0.1214583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__player-title-wrapper.svelte-1om1hbx{left:calc(0.4234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__player-title-wrapper.svelte-1om1hbx{left:calc(0.4234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__player-title-wrapper.svelte-1om1hbx{left:calc(0.326046875 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__player-title-wrapper.svelte-1om1hbx{left:calc(0.46578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__player-title-wrapper.svelte-1om1hbx{left:calc(0.29640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__player-title-wrapper.svelte-1om1hbx{left:calc(0.38109375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__player-title-wrapper.svelte-1om1hbx{left:calc(0.46578125 * 100vw + 0px)}}.halloween-event-menu__player-title.svelte-1om1hbx{font-family:\"GothamPro-Bold\";color:#FFFFFF;font-size:calc(0.0208333333 * 100vw + 0px);width:calc(0.1822916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__player-title.svelte-1om1hbx{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__player-title.svelte-1om1hbx{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__player-title.svelte-1om1hbx{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__player-title.svelte-1om1hbx{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__player-title.svelte-1om1hbx{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__player-title.svelte-1om1hbx{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__player-title.svelte-1om1hbx{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__player-title.svelte-1om1hbx{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__player-title.svelte-1om1hbx{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__player-title.svelte-1om1hbx{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__player-title.svelte-1om1hbx{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__player-title.svelte-1om1hbx{width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__player-title.svelte-1om1hbx{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__player-title.svelte-1om1hbx{width:calc(0.2005208333 * 100vw + 0px)}}.halloween-event-menu__player-name.svelte-1om1hbx{display:flex;align-items:center;color:#FFFFFF;background:rgba(255, 255, 255, 0.2);font-family:\"GothamPro-Bold\";width:calc(0.1822916667 * 100vw + 0px);height:calc(0.0520833333 * 100vw + 0px);border-radius:calc(0.0078125 * 100vw + 0px);font-size:calc(0.0166666667 * 100vw + 0px);margin-top:calc(0.0182291667 * 100vw + 0px);margin-bottom:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__player-name.svelte-1om1hbx{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__player-name.svelte-1om1hbx{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__player-name.svelte-1om1hbx{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__player-name.svelte-1om1hbx{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__player-name.svelte-1om1hbx{width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__player-name.svelte-1om1hbx{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__player-name.svelte-1om1hbx{width:calc(0.2005208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__player-name.svelte-1om1hbx{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__player-name.svelte-1om1hbx{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__player-name.svelte-1om1hbx{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__player-name.svelte-1om1hbx{height:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__player-name.svelte-1om1hbx{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__player-name.svelte-1om1hbx{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__player-name.svelte-1om1hbx{height:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__player-name.svelte-1om1hbx{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__player-name.svelte-1om1hbx{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__player-name.svelte-1om1hbx{border-radius:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__player-name.svelte-1om1hbx{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__player-name.svelte-1om1hbx{border-radius:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__player-name.svelte-1om1hbx{border-radius:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__player-name.svelte-1om1hbx{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__player-name.svelte-1om1hbx{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__player-name.svelte-1om1hbx{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__player-name.svelte-1om1hbx{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__player-name.svelte-1om1hbx{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__player-name.svelte-1om1hbx{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__player-name.svelte-1om1hbx{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__player-name.svelte-1om1hbx{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__player-name.svelte-1om1hbx{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__player-name.svelte-1om1hbx{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__player-name.svelte-1om1hbx{margin-top:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__player-name.svelte-1om1hbx{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__player-name.svelte-1om1hbx{margin-top:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__player-name.svelte-1om1hbx{margin-top:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__player-name.svelte-1om1hbx{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__player-name.svelte-1om1hbx{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__player-name.svelte-1om1hbx{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__player-name.svelte-1om1hbx{margin-bottom:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__player-name.svelte-1om1hbx{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__player-name.svelte-1om1hbx{margin-bottom:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__player-name.svelte-1om1hbx{margin-bottom:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__player-name.svelte-1om1hbx{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}.halloween-event-menu__player-icon-wrapper.svelte-1om1hbx{height:calc(0.015625 * 100vw + 0px);margin-right:calc(0.0104166667 * 100vw + 0px);margin-left:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__player-icon-wrapper.svelte-1om1hbx{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__player-icon-wrapper.svelte-1om1hbx{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__player-icon-wrapper.svelte-1om1hbx{height:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__player-icon-wrapper.svelte-1om1hbx{height:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__player-icon-wrapper.svelte-1om1hbx{height:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__player-icon-wrapper.svelte-1om1hbx{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__player-icon-wrapper.svelte-1om1hbx{height:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__player-icon-wrapper.svelte-1om1hbx{margin-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__player-icon-wrapper.svelte-1om1hbx{margin-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__player-icon-wrapper.svelte-1om1hbx{margin-right:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__player-icon-wrapper.svelte-1om1hbx{margin-right:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__player-icon-wrapper.svelte-1om1hbx{margin-right:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__player-icon-wrapper.svelte-1om1hbx{margin-right:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__player-icon-wrapper.svelte-1om1hbx{margin-right:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__player-icon-wrapper.svelte-1om1hbx{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__player-icon-wrapper.svelte-1om1hbx{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__player-icon-wrapper.svelte-1om1hbx{margin-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__player-icon-wrapper.svelte-1om1hbx{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__player-icon-wrapper.svelte-1om1hbx{margin-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__player-icon-wrapper.svelte-1om1hbx{margin-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__player-icon-wrapper.svelte-1om1hbx{margin-left:calc(0.0114583333 * 100vw + 0px)}}.halloween-event-menu__player-icon.svelte-1om1hbx{width:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__player-icon.svelte-1om1hbx{width:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__player-icon.svelte-1om1hbx{width:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__player-icon.svelte-1om1hbx{width:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__player-icon.svelte-1om1hbx{width:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__player-icon.svelte-1om1hbx{width:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__player-icon.svelte-1om1hbx{width:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__player-icon.svelte-1om1hbx{width:calc(0.0171875 * 100vw + 0px)}}.halloween-event-menu__player-stats.svelte-1om1hbx{display:flex;justify-content:space-between;border-radius:15px;background:rgba(255, 255, 255, 0.2);width:calc(0.1822916667 * 100vw + 0px);padding-bottom:calc(0.0119791667 * 100vw + 0px);padding-left:calc(0.0234375 * 100vw + 0px);padding-right:calc(0.0234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__player-stats.svelte-1om1hbx{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__player-stats.svelte-1om1hbx{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__player-stats.svelte-1om1hbx{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__player-stats.svelte-1om1hbx{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__player-stats.svelte-1om1hbx{width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__player-stats.svelte-1om1hbx{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__player-stats.svelte-1om1hbx{width:calc(0.2005208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__player-stats.svelte-1om1hbx{padding-bottom:calc(0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__player-stats.svelte-1om1hbx{padding-bottom:calc(0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__player-stats.svelte-1om1hbx{padding-bottom:calc(0.0092239583 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__player-stats.svelte-1om1hbx{padding-bottom:calc(0.0131770833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__player-stats.svelte-1om1hbx{padding-bottom:calc(0.0083854167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__player-stats.svelte-1om1hbx{padding-bottom:calc(0.01078125 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__player-stats.svelte-1om1hbx{padding-bottom:calc(0.0131770833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__player-stats.svelte-1om1hbx{padding-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__player-stats.svelte-1om1hbx{padding-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__player-stats.svelte-1om1hbx{padding-left:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__player-stats.svelte-1om1hbx{padding-left:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__player-stats.svelte-1om1hbx{padding-left:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__player-stats.svelte-1om1hbx{padding-left:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__player-stats.svelte-1om1hbx{padding-left:calc(0.02578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__player-stats.svelte-1om1hbx{padding-right:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__player-stats.svelte-1om1hbx{padding-right:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__player-stats.svelte-1om1hbx{padding-right:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__player-stats.svelte-1om1hbx{padding-right:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__player-stats.svelte-1om1hbx{padding-right:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__player-stats.svelte-1om1hbx{padding-right:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__player-stats.svelte-1om1hbx{padding-right:calc(0.02578125 * 100vw + 0px)}}.halloween-event-menu__player-quest-count.svelte-1om1hbx{font-family:\"GothamPro-Bold\";color:#FFFFFF;font-size:calc(0.0125 * 100vw + 0px);padding-top:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__player-quest-count.svelte-1om1hbx{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__player-quest-count.svelte-1om1hbx{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__player-quest-count.svelte-1om1hbx{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__player-quest-count.svelte-1om1hbx{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__player-quest-count.svelte-1om1hbx{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__player-quest-count.svelte-1om1hbx{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__player-quest-count.svelte-1om1hbx{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__player-quest-count.svelte-1om1hbx{padding-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__player-quest-count.svelte-1om1hbx{padding-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__player-quest-count.svelte-1om1hbx{padding-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__player-quest-count.svelte-1om1hbx{padding-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__player-quest-count.svelte-1om1hbx{padding-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__player-quest-count.svelte-1om1hbx{padding-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__player-quest-count.svelte-1om1hbx{padding-top:calc(0.0143229167 * 100vw + 0px)}}.halloween-event-menu__player-quest-title.svelte-1om1hbx{font-family:\"GothamPro\";color:#FFFFFF;width:fit-content;padding-top:calc(0.0052083333 * 100vw + 0px);font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__player-quest-title.svelte-1om1hbx{padding-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__player-quest-title.svelte-1om1hbx{padding-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__player-quest-title.svelte-1om1hbx{padding-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__player-quest-title.svelte-1om1hbx{padding-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__player-quest-title.svelte-1om1hbx{padding-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__player-quest-title.svelte-1om1hbx{padding-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__player-quest-title.svelte-1om1hbx{padding-top:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__player-quest-title.svelte-1om1hbx{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__player-quest-title.svelte-1om1hbx{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__player-quest-title.svelte-1om1hbx{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__player-quest-title.svelte-1om1hbx{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__player-quest-title.svelte-1om1hbx{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__player-quest-title.svelte-1om1hbx{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__player-quest-title.svelte-1om1hbx{font-size:calc(0.006875 * 100vw + 0px)}}.halloween-event-menu__player-stats-left.svelte-1om1hbx{width:calc(0.0479166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__player-stats-left.svelte-1om1hbx{width:calc(0.0479166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__player-stats-left.svelte-1om1hbx{width:calc(0.0479166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__player-stats-left.svelte-1om1hbx{width:calc(0.0368958333 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__player-stats-left.svelte-1om1hbx{width:calc(0.0527083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__player-stats-left.svelte-1om1hbx{width:calc(0.0335416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__player-stats-left.svelte-1om1hbx{width:calc(0.043125 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__player-stats-left.svelte-1om1hbx{width:calc(0.0527083333 * 100vw + 0px)}}.halloween-event-menu__player-stats-right.svelte-1om1hbx{width:calc(0.0578125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-menu__player-stats-right.svelte-1om1hbx{width:calc(0.0578125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-menu__player-stats-right.svelte-1om1hbx{width:calc(0.0578125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-menu__player-stats-right.svelte-1om1hbx{width:calc(0.044515625 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-menu__player-stats-right.svelte-1om1hbx{width:calc(0.06359375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-menu__player-stats-right.svelte-1om1hbx{width:calc(0.04046875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-menu__player-stats-right.svelte-1om1hbx{width:calc(0.05203125 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-menu__player-stats-right.svelte-1om1hbx{width:calc(0.06359375 * 100vw + 0px)}}");
}

function halloween_event_menu_index_svelte_create_fragment(ctx) {
	let div11;
	let exitbutton;
	let t0;
	let img0;
	let img0_src_value;
	let t1;
	let halloweeneventbackground;
	let t2;
	let img1;
	let img1_src_value;
	let t3;
	let div0;
	let img2;
	let img2_src_value;
	let t4;
	let div2;
	let p0;
	let t8;
	let div1;
	let actionbutton;
	let t9;
	let div10;
	let p1;
	let t11;
	let div4;
	let div3;
	let img3;
	let img3_src_value;
	let t12;
	let p2;
	let t13_value = /*stats*/ ctx[0].name + "";
	let t13;
	let t14;
	let div9;
	let div6;
	let div5;
	let p3;
	let t15_value = /*stats*/ ctx[0].completedQuests + "";
	let t15;
	let t16;
	let p4;
	let t18;
	let div8;
	let div7;
	let p5;
	let t19_value = /*stats*/ ctx[0].earnedAzCoins + "";
	let t19;
	let t20;
	let p6;
	let current;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[1],
				fixedPosition: true
			}
		});

	halloweeneventbackground = new components_background_index_svelte({});

	actionbutton = new index_svelte({
			props: {
				onPress: /*onTakeQuest*/ ctx[2],
				keyTitle: "Enter",
				keyCode: 13,
				size: ActionButtonSize.FillFree
			}
		});

	return {
		c() {
			div11 = internal_element("div");
			create_component(exitbutton.$$.fragment);
			t0 = space();
			img0 = internal_element("img");
			t1 = space();
			create_component(halloweeneventbackground.$$.fragment);
			t2 = space();
			img1 = internal_element("img");
			t3 = space();
			div0 = internal_element("div");
			img2 = internal_element("img");
			t4 = space();
			div2 = internal_element("div");
			p0 = internal_element("p");

			p0.innerHTML = `Взять
            <br/> 
            <span class="halloween-event-menu__take-contract-title--bold svelte-1om1hbx">задание</span>`;

			t8 = space();
			div1 = internal_element("div");
			create_component(actionbutton.$$.fragment);
			t9 = space();
			div10 = internal_element("div");
			p1 = internal_element("p");
			p1.textContent = "Активность на мероприятии";
			t11 = space();
			div4 = internal_element("div");
			div3 = internal_element("div");
			img3 = internal_element("img");
			t12 = space();
			p2 = internal_element("p");
			t13 = internal_text(t13_value);
			t14 = space();
			div9 = internal_element("div");
			div6 = internal_element("div");
			div5 = internal_element("div");
			p3 = internal_element("p");
			t15 = internal_text(t15_value);
			t16 = space();
			p4 = internal_element("p");
			p4.textContent = "Выполнено заданий";
			t18 = space();
			div8 = internal_element("div");
			div7 = internal_element("div");
			p5 = internal_element("p");
			t19 = internal_text(t19_value);
			t20 = space();
			p6 = internal_element("p");
			p6.textContent = "Заработано AZ-Coins";
			attr(img0, "class", "halloween-event-menu__soldier-img svelte-1om1hbx");
			if (!src_url_equal(img0.src, img0_src_value = halloween_event_pumpkin_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "pumpkin");
			attr(img1, "class", "halloween-event-menu__background-quests svelte-1om1hbx");
			if (!src_url_equal(img1.src, img1_src_value = halloween_event_quests_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "questBackground");
			attr(img2, "class", "halloween-event-menu__logo-icon svelte-1om1hbx");
			if (!src_url_equal(img2.src, img2_src_value = halloween_event_logo_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "logo");
			attr(div0, "class", "halloween-event-menu__logo svelte-1om1hbx");
			attr(p0, "class", "halloween-event-menu__take-contract-title svelte-1om1hbx");
			attr(div1, "class", "halloween-event-menu__take-contract-btn svelte-1om1hbx");
			attr(div2, "class", "halloween-event-menu__take-contract svelte-1om1hbx");
			attr(p1, "class", "halloween-event-menu__player-title svelte-1om1hbx");
			attr(img3, "class", "halloween-event-menu__player-icon svelte-1om1hbx");
			if (!src_url_equal(img3.src, img3_src_value = halloween_event_playerLogo_namespaceObject)) attr(img3, "src", img3_src_value);
			attr(img3, "alt", "playerLogo");
			attr(div3, "class", "halloween-event-menu__player-icon-wrapper svelte-1om1hbx");
			attr(p2, "class", "halloween-event-menu__player");
			attr(div4, "class", "halloween-event-menu__player-name svelte-1om1hbx");
			attr(p3, "class", "halloween-event-menu__player-quest-count svelte-1om1hbx");
			attr(p4, "class", "halloween-event-menu__player-quest-title svelte-1om1hbx");
			attr(div5, "class", "halloween-event-menu__player-completed-quests");
			attr(div6, "class", "halloween-event-menu__player-stats-left svelte-1om1hbx");
			attr(p5, "class", "halloween-event-menu__player-quest-count svelte-1om1hbx");
			attr(p6, "class", "halloween-event-menu__player-quest-title svelte-1om1hbx");
			attr(div7, "class", "halloween-event-menu__player-az-coins");
			attr(div8, "class", "halloween-event-menu__player-stats-right svelte-1om1hbx");
			attr(div9, "class", "halloween-event-menu__player-stats svelte-1om1hbx");
			attr(div10, "class", "halloween-event-menu__player-title-wrapper svelte-1om1hbx");
			attr(div11, "class", "halloween-event-menu svelte-1om1hbx");
		},
		m(target, anchor) {
			insert(target, div11, anchor);
			mount_component(exitbutton, div11, null);
			append(div11, t0);
			append(div11, img0);
			append(div11, t1);
			mount_component(halloweeneventbackground, div11, null);
			append(div11, t2);
			append(div11, img1);
			append(div11, t3);
			append(div11, div0);
			append(div0, img2);
			append(div11, t4);
			append(div11, div2);
			append(div2, p0);
			append(div2, t8);
			append(div2, div1);
			mount_component(actionbutton, div1, null);
			append(div11, t9);
			append(div11, div10);
			append(div10, p1);
			append(div10, t11);
			append(div10, div4);
			append(div4, div3);
			append(div3, img3);
			append(div4, t12);
			append(div4, p2);
			append(p2, t13);
			append(div10, t14);
			append(div10, div9);
			append(div9, div6);
			append(div6, div5);
			append(div5, p3);
			append(p3, t15);
			append(div5, t16);
			append(div5, p4);
			append(div9, t18);
			append(div9, div8);
			append(div8, div7);
			append(div7, p5);
			append(p5, t19);
			append(div7, t20);
			append(div7, p6);
			current = true;
		},
		p(ctx, [dirty]) {
			if ((!current || dirty & /*stats*/ 1) && t13_value !== (t13_value = /*stats*/ ctx[0].name + "")) set_data(t13, t13_value);
			if ((!current || dirty & /*stats*/ 1) && t15_value !== (t15_value = /*stats*/ ctx[0].completedQuests + "")) set_data(t15, t15_value);
			if ((!current || dirty & /*stats*/ 1) && t19_value !== (t19_value = /*stats*/ ctx[0].earnedAzCoins + "")) set_data(t19, t19_value);
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			transition_in(halloweeneventbackground.$$.fragment, local);
			transition_in(actionbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			transition_out(halloweeneventbackground.$$.fragment, local);
			transition_out(actionbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div11);
			destroy_component(exitbutton);
			destroy_component(halloweeneventbackground);
			destroy_component(actionbutton);
		}
	};
}

function halloween_event_menu_index_svelte_instance($$self, $$props, $$invalidate) {
	let stats = {};

	const initStats = statsDto => {
		$$invalidate(0, stats = statsDto);
	};

	const handleClose = () => {
		
	}; // exec close event

	const onTakeQuest = () => {
		sendClientMessage('halloweenEvent.stats.openQuests');
	};

	const unregisterInitStatsEvent = registerEvent('halloweenEvent.stats.initialize', initStats);

	onDestroy(() => {
		unregisterInitStatsEvent();
	});

	return [stats, handleClose, onTakeQuest];
}

class menu_index_svelte_Menu extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, halloween_event_menu_index_svelte_instance, halloween_event_menu_index_svelte_create_fragment, safe_not_equal, {}, halloween_event_menu_index_svelte_add_css);
	}
}

/* harmony default export */ const halloween_event_menu_index_svelte = (menu_index_svelte_Menu);
;// CONCATENATED MODULE: ./src/views/halloween-event/quests/img/halloween-event-quests.png
const quests_img_halloween_event_quests_namespaceObject = __webpack_require__.p + "assets/7c0cccd77dddef41e802.webp";
;// CONCATENATED MODULE: ./src/views/halloween-event/quests/img/halloween-event-pumpkin.png
const quests_img_halloween_event_pumpkin_namespaceObject = __webpack_require__.p + "assets/a301f7acbcb654582e7d.webp";
;// CONCATENATED MODULE: ./src/views/halloween-event/quests/components/accordion/img/arrow.svg
const quests_components_accordion_img_arrow_namespaceObject = __webpack_require__.p + "assets/60aa0149fcc38157134b.svg";
;// CONCATENATED MODULE: ./src/views/halloween-event/quests/components/accordion/index.svelte
/* src\views\halloween-event\quests\components\accordion\index.svelte generated by Svelte v3.49.0 */







function quests_components_accordion_index_svelte_add_css(target) {
	append_styles(target, "svelte-1j6p8fp", "@keyframes svelte-1j6p8fp-blinking{50%{opacity:0}}@keyframes svelte-1j6p8fp-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1j6p8fp-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1j6p8fp-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1j6p8fp-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1j6p8fp-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1j6p8fp-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1j6p8fp-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1j6p8fp-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1j6p8fp-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1j6p8fp-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1j6p8fp-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1j6p8fp-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1j6p8fp-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1j6p8fp-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.halloween-event-quests__items-block.svelte-1j6p8fp{background:#FFFFFF;overflow:hidden;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.3125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-block.svelte-1j6p8fp{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-block.svelte-1j6p8fp{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-block.svelte-1j6p8fp{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-block.svelte-1j6p8fp{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-block.svelte-1j6p8fp{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-block.svelte-1j6p8fp{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-block.svelte-1j6p8fp{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-block.svelte-1j6p8fp{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-block.svelte-1j6p8fp{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-block.svelte-1j6p8fp{width:calc(0.240625 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-block.svelte-1j6p8fp{width:calc(0.34375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-block.svelte-1j6p8fp{width:calc(0.21875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-block.svelte-1j6p8fp{width:calc(0.28125 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-block.svelte-1j6p8fp{width:calc(0.34375 * 100vw + 0px)}}.halloween-event-quests__items-block.svelte-1j6p8fp:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-block.svelte-1j6p8fp:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-block.svelte-1j6p8fp:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-block.svelte-1j6p8fp:not(:first-child){margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-block.svelte-1j6p8fp:not(:first-child){margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-block.svelte-1j6p8fp:not(:first-child){margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-block.svelte-1j6p8fp:not(:first-child){margin-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-block.svelte-1j6p8fp:not(:first-child){margin-top:calc(0.0114583333 * 100vw + 0px)}}.halloween-event-quests__items-block-upper.svelte-1j6p8fp{display:flex;align-items:center;justify-content:space-between;position:relative}.halloween-event-quests__items-block-text.svelte-1j6p8fp{padding-top:calc(0.0152604167 * 100vw + 0px);padding-bottom:calc(0.0151041667 * 100vw + 0px);padding-left:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-block-text.svelte-1j6p8fp{padding-top:calc(0.0152604167 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-block-text.svelte-1j6p8fp{padding-top:calc(0.0152604167 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-block-text.svelte-1j6p8fp{padding-top:calc(0.0117505208 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-block-text.svelte-1j6p8fp{padding-top:calc(0.0167864583 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-block-text.svelte-1j6p8fp{padding-top:calc(0.0106822917 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-block-text.svelte-1j6p8fp{padding-top:calc(0.013734375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-block-text.svelte-1j6p8fp{padding-top:calc(0.0167864583 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-block-text.svelte-1j6p8fp{padding-bottom:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-block-text.svelte-1j6p8fp{padding-bottom:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-block-text.svelte-1j6p8fp{padding-bottom:calc(0.0116302083 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-block-text.svelte-1j6p8fp{padding-bottom:calc(0.0166145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-block-text.svelte-1j6p8fp{padding-bottom:calc(0.0105729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-block-text.svelte-1j6p8fp{padding-bottom:calc(0.01359375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-block-text.svelte-1j6p8fp{padding-bottom:calc(0.0166145833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-block-text.svelte-1j6p8fp{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-block-text.svelte-1j6p8fp{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-block-text.svelte-1j6p8fp{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-block-text.svelte-1j6p8fp{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-block-text.svelte-1j6p8fp{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-block-text.svelte-1j6p8fp{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-block-text.svelte-1j6p8fp{padding-left:calc(0.0143229167 * 100vw + 0px)}}.halloween-event-quests__items-block-title-wrapper.svelte-1j6p8fp{display:flex;align-items:center}.halloween-event-quests__items-block-arrow--opened.svelte-1j6p8fp{transform:rotate(180deg)}.halloween-event-quests__items-block-title.svelte-1j6p8fp{color:#505050;font-family:\"GothamPro-Medium\";margin-left:calc(0.003125 * 100vw + 0px);font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-block-title.svelte-1j6p8fp{margin-left:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-block-title.svelte-1j6p8fp{margin-left:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-block-title.svelte-1j6p8fp{margin-left:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-block-title.svelte-1j6p8fp{margin-left:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-block-title.svelte-1j6p8fp{margin-left:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-block-title.svelte-1j6p8fp{margin-left:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-block-title.svelte-1j6p8fp{margin-left:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-block-title.svelte-1j6p8fp{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-block-title.svelte-1j6p8fp{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-block-title.svelte-1j6p8fp{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-block-title.svelte-1j6p8fp{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-block-title.svelte-1j6p8fp{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-block-title.svelte-1j6p8fp{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-block-title.svelte-1j6p8fp{font-size:calc(0.0103125 * 100vw + 0px)}}.halloween-event-quests__items-block-descr.svelte-1j6p8fp{color:#505050;font-family:\"GothamPro\";font-size:calc(0.00625 * 100vw + 0px);margin-top:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-block-descr.svelte-1j6p8fp{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-block-descr.svelte-1j6p8fp{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-block-descr.svelte-1j6p8fp{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-block-descr.svelte-1j6p8fp{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-block-descr.svelte-1j6p8fp{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-block-descr.svelte-1j6p8fp{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-block-descr.svelte-1j6p8fp{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-block-descr.svelte-1j6p8fp{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-block-descr.svelte-1j6p8fp{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-block-descr.svelte-1j6p8fp{margin-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-block-descr.svelte-1j6p8fp{margin-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-block-descr.svelte-1j6p8fp{margin-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-block-descr.svelte-1j6p8fp{margin-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-block-descr.svelte-1j6p8fp{margin-top:calc(0.0057291667 * 100vw + 0px)}}.halloween-event-quests__items-progress-body.svelte-1j6p8fp{display:flex;flex-direction:row;font-family:\"GothamPro-Medium\";font-size:calc(0.009375 * 100vw + 0px);padding-right:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-progress-body.svelte-1j6p8fp{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-progress-body.svelte-1j6p8fp{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-progress-body.svelte-1j6p8fp{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-progress-body.svelte-1j6p8fp{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-progress-body.svelte-1j6p8fp{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-progress-body.svelte-1j6p8fp{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-progress-body.svelte-1j6p8fp{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-progress-body.svelte-1j6p8fp{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-progress-body.svelte-1j6p8fp{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-progress-body.svelte-1j6p8fp{padding-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-progress-body.svelte-1j6p8fp{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-progress-body.svelte-1j6p8fp{padding-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-progress-body.svelte-1j6p8fp{padding-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-progress-body.svelte-1j6p8fp{padding-right:calc(0.0143229167 * 100vw + 0px)}}.halloween-event-quests__items-progress-body--maxProgress.svelte-1j6p8fp{display:flex;justify-content:center;align-items:center;background:#83BD6F;border-radius:calc(0.0130208333 * 100vw + 0px);width:calc(0.0442708333 * 100vw + 0px);height:calc(0.0130208333 * 100vw + 0px);margin-right:calc(0.0083333333 * 100vw + 0px);padding-right:0}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-progress-body--maxProgress.svelte-1j6p8fp{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-progress-body--maxProgress.svelte-1j6p8fp{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-progress-body--maxProgress.svelte-1j6p8fp{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-progress-body--maxProgress.svelte-1j6p8fp{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-progress-body--maxProgress.svelte-1j6p8fp{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-progress-body--maxProgress.svelte-1j6p8fp{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-progress-body--maxProgress.svelte-1j6p8fp{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-progress-body--maxProgress.svelte-1j6p8fp{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-progress-body--maxProgress.svelte-1j6p8fp{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-progress-body--maxProgress.svelte-1j6p8fp{width:calc(0.0340885417 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-progress-body--maxProgress.svelte-1j6p8fp{width:calc(0.0486979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-progress-body--maxProgress.svelte-1j6p8fp{width:calc(0.0309895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-progress-body--maxProgress.svelte-1j6p8fp{width:calc(0.03984375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-progress-body--maxProgress.svelte-1j6p8fp{width:calc(0.0486979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-progress-body--maxProgress.svelte-1j6p8fp{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-progress-body--maxProgress.svelte-1j6p8fp{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-progress-body--maxProgress.svelte-1j6p8fp{height:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-progress-body--maxProgress.svelte-1j6p8fp{height:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-progress-body--maxProgress.svelte-1j6p8fp{height:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-progress-body--maxProgress.svelte-1j6p8fp{height:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-progress-body--maxProgress.svelte-1j6p8fp{height:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-progress-body--maxProgress.svelte-1j6p8fp{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-progress-body--maxProgress.svelte-1j6p8fp{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-progress-body--maxProgress.svelte-1j6p8fp{margin-right:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-progress-body--maxProgress.svelte-1j6p8fp{margin-right:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-progress-body--maxProgress.svelte-1j6p8fp{margin-right:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-progress-body--maxProgress.svelte-1j6p8fp{margin-right:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-progress-body--maxProgress.svelte-1j6p8fp{margin-right:calc(0.0091666667 * 100vw + 0px)}}.halloween-event-quests__items-progress-body--rewardReceived.svelte-1j6p8fp{text-align:center;display:flex;justify-content:center;align-items:center;background:#F2C94C;border-radius:calc(0.0130208333 * 100vw + 0px);width:calc(0.0442708333 * 100vw + 0px);height:calc(0.0130208333 * 100vw + 0px);margin-right:calc(0.0083333333 * 100vw + 0px);padding-right:0}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-progress-body--rewardReceived.svelte-1j6p8fp{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-progress-body--rewardReceived.svelte-1j6p8fp{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-progress-body--rewardReceived.svelte-1j6p8fp{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-progress-body--rewardReceived.svelte-1j6p8fp{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-progress-body--rewardReceived.svelte-1j6p8fp{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-progress-body--rewardReceived.svelte-1j6p8fp{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-progress-body--rewardReceived.svelte-1j6p8fp{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-progress-body--rewardReceived.svelte-1j6p8fp{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-progress-body--rewardReceived.svelte-1j6p8fp{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-progress-body--rewardReceived.svelte-1j6p8fp{width:calc(0.0340885417 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-progress-body--rewardReceived.svelte-1j6p8fp{width:calc(0.0486979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-progress-body--rewardReceived.svelte-1j6p8fp{width:calc(0.0309895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-progress-body--rewardReceived.svelte-1j6p8fp{width:calc(0.03984375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-progress-body--rewardReceived.svelte-1j6p8fp{width:calc(0.0486979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-progress-body--rewardReceived.svelte-1j6p8fp{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-progress-body--rewardReceived.svelte-1j6p8fp{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-progress-body--rewardReceived.svelte-1j6p8fp{height:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-progress-body--rewardReceived.svelte-1j6p8fp{height:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-progress-body--rewardReceived.svelte-1j6p8fp{height:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-progress-body--rewardReceived.svelte-1j6p8fp{height:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-progress-body--rewardReceived.svelte-1j6p8fp{height:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-progress-body--rewardReceived.svelte-1j6p8fp{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-progress-body--rewardReceived.svelte-1j6p8fp{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-progress-body--rewardReceived.svelte-1j6p8fp{margin-right:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-progress-body--rewardReceived.svelte-1j6p8fp{margin-right:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-progress-body--rewardReceived.svelte-1j6p8fp{margin-right:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-progress-body--rewardReceived.svelte-1j6p8fp{margin-right:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-progress-body--rewardReceived.svelte-1j6p8fp{margin-right:calc(0.0091666667 * 100vw + 0px)}}.halloween-event-quests__items-progress.svelte-1j6p8fp{color:#505050}.halloween-event-quests__items-progress--completed.svelte-1j6p8fp{font-family:\"GothamPro-Light\";color:#FFFFFF;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-progress--completed.svelte-1j6p8fp{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-progress--completed.svelte-1j6p8fp{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-progress--completed.svelte-1j6p8fp{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-progress--completed.svelte-1j6p8fp{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-progress--completed.svelte-1j6p8fp{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-progress--completed.svelte-1j6p8fp{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-progress--completed.svelte-1j6p8fp{font-size:calc(0.0057291667 * 100vw + 0px)}}.halloween-event-quests__items-progress--rewardReceived.svelte-1j6p8fp{font-family:\"GothamPro-Light\";color:#FFFFFF;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-progress--rewardReceived.svelte-1j6p8fp{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-progress--rewardReceived.svelte-1j6p8fp{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-progress--rewardReceived.svelte-1j6p8fp{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-progress--rewardReceived.svelte-1j6p8fp{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-progress--rewardReceived.svelte-1j6p8fp{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-progress--rewardReceived.svelte-1j6p8fp{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-progress--rewardReceived.svelte-1j6p8fp{font-size:calc(0.0057291667 * 100vw + 0px)}}.halloween-event-quests__items-progress-descr.svelte-1j6p8fp{font-family:\"GothamPro-Light\";color:#505050;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-progress-descr.svelte-1j6p8fp{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-progress-descr.svelte-1j6p8fp{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-progress-descr.svelte-1j6p8fp{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-progress-descr.svelte-1j6p8fp{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-progress-descr.svelte-1j6p8fp{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-progress-descr.svelte-1j6p8fp{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-progress-descr.svelte-1j6p8fp{font-size:calc(0.0057291667 * 100vw + 0px)}}.halloween-event-quests__items-block-reward.svelte-1j6p8fp{display:flex;flex-direction:column;align-items:center}.halloween-event-quests__items-block-reward-title.svelte-1j6p8fp{color:#505050;font-family:\"GothamPro-Medium\";font-size:calc(0.0072916667 * 100vw + 0px);margin-bottom:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-block-reward-title.svelte-1j6p8fp{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-block-reward-title.svelte-1j6p8fp{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-block-reward-title.svelte-1j6p8fp{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-block-reward-title.svelte-1j6p8fp{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-block-reward-title.svelte-1j6p8fp{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-block-reward-title.svelte-1j6p8fp{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-block-reward-title.svelte-1j6p8fp{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-block-reward-title.svelte-1j6p8fp{margin-bottom:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-block-reward-title.svelte-1j6p8fp{margin-bottom:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-block-reward-title.svelte-1j6p8fp{margin-bottom:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-block-reward-title.svelte-1j6p8fp{margin-bottom:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-block-reward-title.svelte-1j6p8fp{margin-bottom:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-block-reward-title.svelte-1j6p8fp{margin-bottom:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-block-reward-title.svelte-1j6p8fp{margin-bottom:calc(0.006875 * 100vw + 0px)}}.halloween-event-quests__items-block-reward-items-title.svelte-1j6p8fp{font-family:\"GothamPro\";color:#505050;font-size:calc(0.0052083333 * 100vw + 0px);height:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-block-reward-items-title.svelte-1j6p8fp{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-block-reward-items-title.svelte-1j6p8fp{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-block-reward-items-title.svelte-1j6p8fp{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-block-reward-items-title.svelte-1j6p8fp{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-block-reward-items-title.svelte-1j6p8fp{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-block-reward-items-title.svelte-1j6p8fp{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-block-reward-items-title.svelte-1j6p8fp{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-block-reward-items-title.svelte-1j6p8fp{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-block-reward-items-title.svelte-1j6p8fp{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-block-reward-items-title.svelte-1j6p8fp{height:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-block-reward-items-title.svelte-1j6p8fp{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-block-reward-items-title.svelte-1j6p8fp{height:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-block-reward-items-title.svelte-1j6p8fp{height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-block-reward-items-title.svelte-1j6p8fp{height:calc(0.0080208333 * 100vw + 0px)}}.halloween-event-quests__items-block-reward-body.svelte-1j6p8fp{display:flex;text-align:center;margin-bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-block-reward-body.svelte-1j6p8fp{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-block-reward-body.svelte-1j6p8fp{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-block-reward-body.svelte-1j6p8fp{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-block-reward-body.svelte-1j6p8fp{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-block-reward-body.svelte-1j6p8fp{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-block-reward-body.svelte-1j6p8fp{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-block-reward-body.svelte-1j6p8fp{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.halloween-event-quests__items-block-reward-items.svelte-1j6p8fp{display:flex;flex-direction:column;align-items:center;width:calc(0.046875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-block-reward-items.svelte-1j6p8fp{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-block-reward-items.svelte-1j6p8fp{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-block-reward-items.svelte-1j6p8fp{width:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-block-reward-items.svelte-1j6p8fp{width:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-block-reward-items.svelte-1j6p8fp{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-block-reward-items.svelte-1j6p8fp{width:calc(0.0421875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-block-reward-items.svelte-1j6p8fp{width:calc(0.0515625 * 100vw + 0px)}}.halloween-event-quests__items-block-reward-items.svelte-1j6p8fp:not(:first-child){margin-left:calc(0.0234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-block-reward-items.svelte-1j6p8fp:not(:first-child){margin-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-block-reward-items.svelte-1j6p8fp:not(:first-child){margin-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-block-reward-items.svelte-1j6p8fp:not(:first-child){margin-left:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-block-reward-items.svelte-1j6p8fp:not(:first-child){margin-left:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-block-reward-items.svelte-1j6p8fp:not(:first-child){margin-left:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-block-reward-items.svelte-1j6p8fp:not(:first-child){margin-left:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-block-reward-items.svelte-1j6p8fp:not(:first-child){margin-left:calc(0.02578125 * 100vw + 0px)}}.halloween-event-quests__items-block-reward-items-img.svelte-1j6p8fp{width:calc(0.0260416667 * 100vw + 0px);padding-bottom:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-block-reward-items-img.svelte-1j6p8fp{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-block-reward-items-img.svelte-1j6p8fp{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-block-reward-items-img.svelte-1j6p8fp{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-block-reward-items-img.svelte-1j6p8fp{width:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-block-reward-items-img.svelte-1j6p8fp{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-block-reward-items-img.svelte-1j6p8fp{width:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-block-reward-items-img.svelte-1j6p8fp{width:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-block-reward-items-img.svelte-1j6p8fp{padding-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-block-reward-items-img.svelte-1j6p8fp{padding-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-block-reward-items-img.svelte-1j6p8fp{padding-bottom:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-block-reward-items-img.svelte-1j6p8fp{padding-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-block-reward-items-img.svelte-1j6p8fp{padding-bottom:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-block-reward-items-img.svelte-1j6p8fp{padding-bottom:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-block-reward-items-img.svelte-1j6p8fp{padding-bottom:calc(0.0057291667 * 100vw + 0px)}}.halloween-event-quests__items-block-reward-btn.svelte-1j6p8fp{display:flex;align-items:center;justify-content:center;cursor:pointer;background-color:#505050;width:calc(0.1041666667 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);margin-bottom:calc(0.0109375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-block-reward-btn.svelte-1j6p8fp{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-block-reward-btn.svelte-1j6p8fp{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-block-reward-btn.svelte-1j6p8fp{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-block-reward-btn.svelte-1j6p8fp{width:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-block-reward-btn.svelte-1j6p8fp{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-block-reward-btn.svelte-1j6p8fp{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-block-reward-btn.svelte-1j6p8fp{width:calc(0.1145833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-block-reward-btn.svelte-1j6p8fp{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-block-reward-btn.svelte-1j6p8fp{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-block-reward-btn.svelte-1j6p8fp{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-block-reward-btn.svelte-1j6p8fp{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-block-reward-btn.svelte-1j6p8fp{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-block-reward-btn.svelte-1j6p8fp{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-block-reward-btn.svelte-1j6p8fp{height:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-block-reward-btn.svelte-1j6p8fp{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-block-reward-btn.svelte-1j6p8fp{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-block-reward-btn.svelte-1j6p8fp{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-block-reward-btn.svelte-1j6p8fp{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-block-reward-btn.svelte-1j6p8fp{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-block-reward-btn.svelte-1j6p8fp{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-block-reward-btn.svelte-1j6p8fp{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-block-reward-btn.svelte-1j6p8fp{margin-bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-block-reward-btn.svelte-1j6p8fp{margin-bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-block-reward-btn.svelte-1j6p8fp{margin-bottom:calc(0.008421875 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-block-reward-btn.svelte-1j6p8fp{margin-bottom:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-block-reward-btn.svelte-1j6p8fp{margin-bottom:calc(0.00765625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-block-reward-btn.svelte-1j6p8fp{margin-bottom:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-block-reward-btn.svelte-1j6p8fp{margin-bottom:calc(0.01203125 * 100vw + 0px)}}.halloween-event-quests__items-block-reward-btn.svelte-1j6p8fp:hover{background-color:#8E8E8E}.halloween-event-quests__items-block-reward-btn--completed.svelte-1j6p8fp{background-color:rgba(118, 211, 85, 0.25);cursor:default}.halloween-event-quests__items-block-reward-btn--completed.svelte-1j6p8fp:hover{background-color:rgba(118, 211, 85, 0.25)}.halloween-event-quests__items-block-reward-btn--rewardReceived.svelte-1j6p8fp{background-color:#F2C94C}.halloween-event-quests__items-block-reward-btn--rewardReceived.svelte-1j6p8fp:hover{background-color:#FEB000}.halloween-event-quests__items-block-reward-btn-key.svelte-1j6p8fp{color:#FFFFFF;font-family:\"GothamPro-Medium\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-block-reward-btn-key.svelte-1j6p8fp{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-block-reward-btn-key.svelte-1j6p8fp{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-block-reward-btn-key.svelte-1j6p8fp{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-block-reward-btn-key.svelte-1j6p8fp{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-block-reward-btn-key.svelte-1j6p8fp{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-block-reward-btn-key.svelte-1j6p8fp{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-block-reward-btn-key.svelte-1j6p8fp{font-size:calc(0.006875 * 100vw + 0px)}}.halloween-event-quests__items-block-reward-btn-key--completed.svelte-1j6p8fp{color:#76D355}.halloween-event-quests__items-block-reward-btn-key--rewardReceived.svelte-1j6p8fp{color:#3B4447}");
}

function quests_components_accordion_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[6] = list[i];
	return child_ctx;
}

// (1659:12) {#if accordionOpened}
function components_accordion_index_svelte_create_if_block_5(ctx) {
	let p;
	let t_value = /*quest*/ ctx[0].description + "";
	let t;
	let p_transition;
	let current;

	return {
		c() {
			p = internal_element("p");
			t = internal_text(t_value);
			attr(p, "class", "halloween-event-quests__items-block-descr svelte-1j6p8fp");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t);
			current = true;
		},
		p(ctx, dirty) {
			if ((!current || dirty & /*quest*/ 1) && t_value !== (t_value = /*quest*/ ctx[0].description + "")) set_data(t, t_value);
		},
		i(local) {
			if (current) return;

			if (local) {
				add_render_callback(() => {
					if (!p_transition) p_transition = create_bidirectional_transition(p, slide, {}, true);
					p_transition.run(1);
				});
			}

			current = true;
		},
		o(local) {
			if (local) {
				if (!p_transition) p_transition = create_bidirectional_transition(p, slide, {}, false);
				p_transition.run(0);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(p);
			if (detaching && p_transition) p_transition.end();
		}
	};
}

// (1687:8) {:else}
function accordion_index_svelte_create_else_block_1(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="halloween-event-quests__items-progress halloween-event-quests__items-progress--rewardReceived svelte-1j6p8fp">Получите награду</p>`;
			attr(div, "class", "halloween-event-quests__items-progress-body halloween-event-quests__items-progress-body--rewardReceived svelte-1j6p8fp");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1681:81) 
function components_accordion_index_svelte_create_if_block_4(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="halloween-event-quests__items-progress halloween-event-quests__items-progress--completed svelte-1j6p8fp">Завершено</p>`;
			attr(div, "class", "halloween-event-quests__items-progress-body halloween-event-quests__items-progress-body--maxProgress svelte-1j6p8fp");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1668:8) {#if (quest.progress !== quest.maxProgress) && !quest.rewardReceived}
function components_accordion_index_svelte_create_if_block_3(ctx) {
	let div1;
	let div0;
	let p0;
	let t0_value = /*quest*/ ctx[0].progress + "";
	let t0;
	let t1;
	let t2_value = /*quest*/ ctx[0].maxProgress + "";
	let t2;
	let t3;
	let p1;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = internal_text("\r\n                        /\r\n                        ");
			t2 = internal_text(t2_value);
			t3 = space();
			p1 = internal_element("p");
			p1.textContent = "Прогресс";
			attr(p0, "class", "halloween-event-quests__items-progress svelte-1j6p8fp");
			attr(div0, "class", "halloween-event-quests__items-progress-body svelte-1j6p8fp");
			attr(p1, "class", "halloween-event-quests__items-progress-descr svelte-1j6p8fp");
			attr(div1, "class", "halloween-event-quests__items-progress-wrapper--incomplete");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, p0);
			append(p0, t0);
			append(p0, t1);
			append(p0, t2);
			append(div1, t3);
			append(div1, p1);
		},
		p(ctx, dirty) {
			if (dirty & /*quest*/ 1 && t0_value !== (t0_value = /*quest*/ ctx[0].progress + "")) set_data(t0, t0_value);
			if (dirty & /*quest*/ 1 && t2_value !== (t2_value = /*quest*/ ctx[0].maxProgress + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (1695:4) {#if accordionOpened}
function quests_components_accordion_index_svelte_create_if_block(ctx) {
	let div1;
	let p;
	let t1;
	let div0;
	let t2;
	let current_block_type_index;
	let if_block;
	let div1_transition;
	let current;
	let each_value = /*quest*/ ctx[0].rewards;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = quests_components_accordion_index_svelte_create_each_block(quests_components_accordion_index_svelte_get_each_context(ctx, each_value, i));
	}

	const if_block_creators = [quests_components_accordion_index_svelte_create_if_block_1, components_accordion_index_svelte_create_if_block_2, components_accordion_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type_1(ctx, dirty) {
		if (/*quest*/ ctx[0].progress !== /*quest*/ ctx[0].maxProgress && !/*quest*/ ctx[0].rewardReceived) return 0;
		if (/*quest*/ ctx[0].progress === /*quest*/ ctx[0].maxProgress && /*quest*/ ctx[0].rewardReceived) return 1;
		return 2;
	}

	current_block_type_index = select_block_type_1(ctx, -1);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div1 = internal_element("div");
			p = internal_element("p");
			p.textContent = "Награда";
			t1 = space();
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t2 = space();
			if_block.c();
			attr(p, "class", "halloween-event-quests__items-block-reward-title svelte-1j6p8fp");
			attr(div0, "class", "halloween-event-quests__items-block-reward-body svelte-1j6p8fp");
			attr(div1, "class", "halloween-event-quests__items-block-reward svelte-1j6p8fp");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, p);
			append(div1, t1);
			append(div1, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			append(div1, t2);
			if_blocks[current_block_type_index].m(div1, null);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty & /*quest, CDN_URL_RODINA*/ 1) {
				each_value = /*quest*/ ctx[0].rewards;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = quests_components_accordion_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = quests_components_accordion_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div0, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type_1(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(div1, null);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);

			if (local) {
				add_render_callback(() => {
					if (!div1_transition) div1_transition = create_bidirectional_transition(div1, slide, {}, true);
					div1_transition.run(1);
				});
			}

			current = true;
		},
		o(local) {
			transition_out(if_block);

			if (local) {
				if (!div1_transition) div1_transition = create_bidirectional_transition(div1, slide, {}, false);
				div1_transition.run(0);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			destroy_each(each_blocks, detaching);
			if_blocks[current_block_type_index].d();
			if (detaching && div1_transition) div1_transition.end();
		}
	};
}

// (1704:16) {#each quest.rewards as reward }
function quests_components_accordion_index_svelte_create_each_block(ctx) {
	let div;
	let img;
	let img_src_value;
	let t0;
	let p;
	let t1_value = /*reward*/ ctx[6].title + "";
	let t1;
	let t2;

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(img, "class", "halloween-event-quests__items-block-reward-items-img svelte-1j6p8fp");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/${/*reward*/ ctx[6].icon}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "Reward");
			attr(p, "class", "halloween-event-quests__items-block-reward-items-title svelte-1j6p8fp");
			attr(div, "class", "halloween-event-quests__items-block-reward-items svelte-1j6p8fp");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
			append(div, t0);
			append(div, p);
			append(p, t1);
			append(div, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*quest*/ 1 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/${/*reward*/ ctx[6].icon}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*quest*/ 1 && t1_value !== (t1_value = /*reward*/ ctx[6].title + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1731:12) {:else}
function components_accordion_index_svelte_create_else_block(ctx) {
	let div;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="halloween-event-quests__items-block-reward-btn-key halloween-event-quests__items-block-reward-btn-key--rewardReceived svelte-1j6p8fp">Получить награду</p>`;
			attr(div, "class", "halloween-event-quests__items-block-reward-btn halloween-event-quests__items-block-reward-btn--rewardReceived svelte-1j6p8fp");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = listen(div, "click", /*receiveReward*/ ctx[4]);
				mounted = true;
			}
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (1725:85) 
function components_accordion_index_svelte_create_if_block_2(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="halloween-event-quests__items-block-reward-btn-key halloween-event-quests__items-block-reward-btn-key--completed svelte-1j6p8fp">Получено</p>`;
			attr(div, "class", "halloween-event-quests__items-block-reward-btn halloween-event-quests__items-block-reward-btn--completed svelte-1j6p8fp");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1716:12) {#if (quest.progress !== quest.maxProgress) && !quest.rewardReceived}
function quests_components_accordion_index_svelte_create_if_block_1(ctx) {
	let div;
	let p;
	let div_style_value;
	let div_transition;
	let current;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			p = internal_element("p");
			p.textContent = "Отследить по GPS";
			attr(p, "class", "halloween-event-quests__items-block-reward-btn-key svelte-1j6p8fp");
			attr(div, "class", "halloween-event-quests__items-block-reward-btn svelte-1j6p8fp");
			attr(div, "style", div_style_value = `display: ${/*quest*/ ctx[0].hasLocation ? '' : 'none'}`);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p);
			current = true;

			if (!mounted) {
				dispose = listen(div, "click", /*drawLocation*/ ctx[3]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (!current || dirty & /*quest*/ 1 && div_style_value !== (div_style_value = `display: ${/*quest*/ ctx[0].hasLocation ? '' : 'none'}`)) {
				attr(div, "style", div_style_value);
			}
		},
		i(local) {
			if (current) return;

			if (local) {
				add_render_callback(() => {
					if (!div_transition) div_transition = create_bidirectional_transition(div, slide, {}, true);
					div_transition.run(1);
				});
			}

			current = true;
		},
		o(local) {
			if (local) {
				if (!div_transition) div_transition = create_bidirectional_transition(div, slide, {}, false);
				div_transition.run(0);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (detaching && div_transition) div_transition.end();
			mounted = false;
			dispose();
		}
	};
}

function quests_components_accordion_index_svelte_create_fragment(ctx) {
	let div3;
	let div2;
	let div1;
	let div0;
	let img;
	let img_src_value;
	let t0;
	let p;
	let t1_value = /*quest*/ ctx[0].title + "";
	let t1;
	let t2;
	let t3;
	let t4;
	let mounted;
	let dispose;
	let if_block0 = /*accordionOpened*/ ctx[1] && components_accordion_index_svelte_create_if_block_5(ctx);

	function select_block_type(ctx, dirty) {
		if (/*quest*/ ctx[0].progress !== /*quest*/ ctx[0].maxProgress && !/*quest*/ ctx[0].rewardReceived) return components_accordion_index_svelte_create_if_block_3;
		if (/*quest*/ ctx[0].progress === /*quest*/ ctx[0].maxProgress && /*quest*/ ctx[0].rewardReceived) return components_accordion_index_svelte_create_if_block_4;
		return accordion_index_svelte_create_else_block_1;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block1 = current_block_type(ctx);
	let if_block2 = /*accordionOpened*/ ctx[1] && quests_components_accordion_index_svelte_create_if_block(ctx);

	return {
		c() {
			div3 = internal_element("div");
			div2 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			if (if_block0) if_block0.c();
			t3 = space();
			if_block1.c();
			t4 = space();
			if (if_block2) if_block2.c();
			attr(img, "class", "halloween-event-quests__items-block-arrow svelte-1j6p8fp");
			if (!src_url_equal(img.src, img_src_value = quests_components_accordion_img_arrow_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "arrow");
			toggle_class(img, "halloween-event-quests__items-block-arrow--opened", /*accordionOpened*/ ctx[1]);
			attr(p, "class", "halloween-event-quests__items-block-title svelte-1j6p8fp");
			attr(div0, "class", "halloween-event-quests__items-block-title-wrapper svelte-1j6p8fp");
			attr(div1, "class", "halloween-event-quests__items-block-text svelte-1j6p8fp");
			attr(div2, "class", "halloween-event-quests__items-block-upper svelte-1j6p8fp");
			toggle_class(div2, "halloween-event-quests__items-block-upper--opened", /*accordionOpened*/ ctx[1]);
			attr(div3, "class", "halloween-event-quests__items-block svelte-1j6p8fp");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div2);
			append(div2, div1);
			append(div1, div0);
			append(div0, img);
			append(div0, t0);
			append(div0, p);
			append(p, t1);
			append(div1, t2);
			if (if_block0) if_block0.m(div1, null);
			append(div2, t3);
			if_block1.m(div2, null);
			append(div3, t4);
			if (if_block2) if_block2.m(div3, null);

			if (!mounted) {
				dispose = listen(div2, "click", /*handleClick*/ ctx[2]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*accordionOpened*/ 2) {
				toggle_class(img, "halloween-event-quests__items-block-arrow--opened", /*accordionOpened*/ ctx[1]);
			}

			if (dirty & /*quest*/ 1 && t1_value !== (t1_value = /*quest*/ ctx[0].title + "")) set_data(t1, t1_value);

			if (/*accordionOpened*/ ctx[1]) {
				if (if_block0) {
					if_block0.p(ctx, dirty);

					if (dirty & /*accordionOpened*/ 2) {
						transition_in(if_block0, 1);
					}
				} else {
					if_block0 = components_accordion_index_svelte_create_if_block_5(ctx);
					if_block0.c();
					transition_in(if_block0, 1);
					if_block0.m(div1, null);
				}
			} else if (if_block0) {
				group_outros();

				transition_out(if_block0, 1, 1, () => {
					if_block0 = null;
				});

				check_outros();
			}

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block1) {
				if_block1.p(ctx, dirty);
			} else {
				if_block1.d(1);
				if_block1 = current_block_type(ctx);

				if (if_block1) {
					if_block1.c();
					if_block1.m(div2, null);
				}
			}

			if (dirty & /*accordionOpened*/ 2) {
				toggle_class(div2, "halloween-event-quests__items-block-upper--opened", /*accordionOpened*/ ctx[1]);
			}

			if (/*accordionOpened*/ ctx[1]) {
				if (if_block2) {
					if_block2.p(ctx, dirty);

					if (dirty & /*accordionOpened*/ 2) {
						transition_in(if_block2, 1);
					}
				} else {
					if_block2 = quests_components_accordion_index_svelte_create_if_block(ctx);
					if_block2.c();
					transition_in(if_block2, 1);
					if_block2.m(div3, null);
				}
			} else if (if_block2) {
				group_outros();

				transition_out(if_block2, 1, 1, () => {
					if_block2 = null;
				});

				check_outros();
			}
		},
		i(local) {
			transition_in(if_block0);
			transition_in(if_block2);
		},
		o(local) {
			transition_out(if_block0);
			transition_out(if_block2);
		},
		d(detaching) {
			if (detaching) detach(div3);
			if (if_block0) if_block0.d();
			if_block1.d();
			if (if_block2) if_block2.d();
			mounted = false;
			dispose();
		}
	};
}

function quests_components_accordion_index_svelte_instance($$self, $$props, $$invalidate) {
	let { quest } = $$props;
	let { categoryId } = $$props;
	let accordionOpened = false;

	const handleClick = () => {
		$$invalidate(1, accordionOpened = !accordionOpened);
	};

	const drawLocation = () => {
		sendClientMessage('halloweenEvent.quest.drawLocation', quest.id, categoryId);
	};

	const receiveReward = () => {
		sendClientMessage('halloweenEvent.quest.receiveReward', quest.id, categoryId);
	};

	$$self.$$set = $$props => {
		if ('quest' in $$props) $$invalidate(0, quest = $$props.quest);
		if ('categoryId' in $$props) $$invalidate(5, categoryId = $$props.categoryId);
	};

	return [quest, accordionOpened, handleClick, drawLocation, receiveReward, categoryId];
}

class accordion_index_svelte_Accordion extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, quests_components_accordion_index_svelte_instance, quests_components_accordion_index_svelte_create_fragment, safe_not_equal, { quest: 0, categoryId: 5 }, quests_components_accordion_index_svelte_add_css);
	}
}

/* harmony default export */ const quests_components_accordion_index_svelte = (accordion_index_svelte_Accordion);
;// CONCATENATED MODULE: ./src/views/halloween-event/quests/index.svelte
/* src\views\halloween-event\quests\index.svelte generated by Svelte v3.49.0 */












function halloween_event_quests_index_svelte_add_css(target) {
	append_styles(target, "svelte-g83tvt", "@keyframes svelte-g83tvt-blinking{50%{opacity:0}}@keyframes svelte-g83tvt-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-g83tvt-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-g83tvt-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-g83tvt-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-g83tvt-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-g83tvt-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-g83tvt-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-g83tvt-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-g83tvt-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-g83tvt-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-g83tvt-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-g83tvt-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-g83tvt-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-g83tvt-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.halloween-event-quests.svelte-g83tvt{display:flex;align-items:center;flex-direction:column;width:100vw;height:100vh;background:linear-gradient(180deg, rgba(255, 77, 20, 0.9) 0%, rgba(47, 19, 10, 0.9) 100%)}.halloween-event-quests__title.svelte-g83tvt{position:absolute;z-index:1;font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.01875 * 100vw + 0px);top:calc(0.0447916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__title.svelte-g83tvt{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__title.svelte-g83tvt{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__title.svelte-g83tvt{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__title.svelte-g83tvt{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__title.svelte-g83tvt{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__title.svelte-g83tvt{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__title.svelte-g83tvt{font-size:calc(0.020625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__title.svelte-g83tvt{top:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__title.svelte-g83tvt{top:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__title.svelte-g83tvt{top:calc(0.0344895833 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__title.svelte-g83tvt{top:calc(0.0492708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__title.svelte-g83tvt{top:calc(0.0313541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__title.svelte-g83tvt{top:calc(0.0403125 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__title.svelte-g83tvt{top:calc(0.0492708333 * 100vw + 0px)}}.halloween-event-quests__quests-img.svelte-g83tvt{position:absolute;left:0;bottom:0;height:calc(0.5104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__quests-img.svelte-g83tvt{height:calc(0.5104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__quests-img.svelte-g83tvt{height:calc(0.5104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__quests-img.svelte-g83tvt{height:calc(0.3930208333 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__quests-img.svelte-g83tvt{height:calc(0.5614583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__quests-img.svelte-g83tvt{height:calc(0.3572916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__quests-img.svelte-g83tvt{height:calc(0.459375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__quests-img.svelte-g83tvt{height:calc(0.5614583333 * 100vw + 0px)}}.halloween-event-quests__pumpkin-img.svelte-g83tvt{position:absolute;right:0;bottom:0;height:calc(0.528125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__pumpkin-img.svelte-g83tvt{height:calc(0.528125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__pumpkin-img.svelte-g83tvt{height:calc(0.528125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__pumpkin-img.svelte-g83tvt{height:calc(0.40665625 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__pumpkin-img.svelte-g83tvt{height:calc(0.5809375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__pumpkin-img.svelte-g83tvt{height:calc(0.3696875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__pumpkin-img.svelte-g83tvt{height:calc(0.4753125 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__pumpkin-img.svelte-g83tvt{height:calc(0.5809375 * 100vw + 0px)}}.halloween-event-quests__logo.svelte-g83tvt{position:absolute;display:flex;align-items:center;top:calc(0.0151041667 * 100vw + 0px);left:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__logo.svelte-g83tvt{top:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__logo.svelte-g83tvt{top:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__logo.svelte-g83tvt{top:calc(0.0116302083 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__logo.svelte-g83tvt{top:calc(0.0166145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__logo.svelte-g83tvt{top:calc(0.0105729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__logo.svelte-g83tvt{top:calc(0.01359375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__logo.svelte-g83tvt{top:calc(0.0166145833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__logo.svelte-g83tvt{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__logo.svelte-g83tvt{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__logo.svelte-g83tvt{left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__logo.svelte-g83tvt{left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__logo.svelte-g83tvt{left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__logo.svelte-g83tvt{left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__logo.svelte-g83tvt{left:calc(0.0286458333 * 100vw + 0px)}}.halloween-event-quests__logo-icon.svelte-g83tvt{height:calc(0.0677083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__logo-icon.svelte-g83tvt{height:calc(0.0677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__logo-icon.svelte-g83tvt{height:calc(0.0677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__logo-icon.svelte-g83tvt{height:calc(0.0521354167 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__logo-icon.svelte-g83tvt{height:calc(0.0744791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__logo-icon.svelte-g83tvt{height:calc(0.0473958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__logo-icon.svelte-g83tvt{height:calc(0.0609375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__logo-icon.svelte-g83tvt{height:calc(0.0744791667 * 100vw + 0px)}}.halloween-event-quests__category.svelte-g83tvt{position:absolute;top:calc(0.1302083333 * 100vw + 0px);left:calc(0.1484375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__category.svelte-g83tvt{top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__category.svelte-g83tvt{top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__category.svelte-g83tvt{top:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__category.svelte-g83tvt{top:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__category.svelte-g83tvt{top:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__category.svelte-g83tvt{top:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__category.svelte-g83tvt{top:calc(0.1432291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__category.svelte-g83tvt{left:calc(0.1484375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__category.svelte-g83tvt{left:calc(0.1484375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__category.svelte-g83tvt{left:calc(0.114296875 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__category.svelte-g83tvt{left:calc(0.16328125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__category.svelte-g83tvt{left:calc(0.10390625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__category.svelte-g83tvt{left:calc(0.13359375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__category.svelte-g83tvt{left:calc(0.16328125 * 100vw + 0px)}}.halloween-event-quests__category-title.svelte-g83tvt{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px);margin-bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__category-title.svelte-g83tvt{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__category-title.svelte-g83tvt{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__category-title.svelte-g83tvt{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__category-title.svelte-g83tvt{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__category-title.svelte-g83tvt{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__category-title.svelte-g83tvt{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__category-title.svelte-g83tvt{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__category-title.svelte-g83tvt{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__category-title.svelte-g83tvt{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__category-title.svelte-g83tvt{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__category-title.svelte-g83tvt{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__category-title.svelte-g83tvt{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__category-title.svelte-g83tvt{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__category-title.svelte-g83tvt{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.halloween-event-quests__categories-wrapper.svelte-g83tvt{width:fit-content;overflow:auto;height:calc(0.378125 * 100vw + 0px);padding-right:calc(0.0130208333 * 100vw + 0px)}.halloween-event-quests__categories-wrapper.svelte-g83tvt::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__categories-wrapper.svelte-g83tvt::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__categories-wrapper.svelte-g83tvt::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__categories-wrapper.svelte-g83tvt::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__categories-wrapper.svelte-g83tvt::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__categories-wrapper.svelte-g83tvt::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__categories-wrapper.svelte-g83tvt::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__categories-wrapper.svelte-g83tvt::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__categories-wrapper.svelte-g83tvt::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__categories-wrapper.svelte-g83tvt::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__categories-wrapper.svelte-g83tvt::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__categories-wrapper.svelte-g83tvt::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__categories-wrapper.svelte-g83tvt::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__categories-wrapper.svelte-g83tvt::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__categories-wrapper.svelte-g83tvt::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.halloween-event-quests__categories-wrapper.svelte-g83tvt::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__categories-wrapper.svelte-g83tvt::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__categories-wrapper.svelte-g83tvt::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__categories-wrapper.svelte-g83tvt::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__categories-wrapper.svelte-g83tvt::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__categories-wrapper.svelte-g83tvt::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__categories-wrapper.svelte-g83tvt::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__categories-wrapper.svelte-g83tvt::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.halloween-event-quests__categories-wrapper.svelte-g83tvt::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__categories-wrapper.svelte-g83tvt::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__categories-wrapper.svelte-g83tvt::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__categories-wrapper.svelte-g83tvt::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__categories-wrapper.svelte-g83tvt::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__categories-wrapper.svelte-g83tvt::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__categories-wrapper.svelte-g83tvt::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__categories-wrapper.svelte-g83tvt::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__categories-wrapper.svelte-g83tvt{height:calc(0.378125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__categories-wrapper.svelte-g83tvt{height:calc(0.378125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__categories-wrapper.svelte-g83tvt{height:calc(0.29115625 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__categories-wrapper.svelte-g83tvt{height:calc(0.4159375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__categories-wrapper.svelte-g83tvt{height:calc(0.2646875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__categories-wrapper.svelte-g83tvt{height:calc(0.3403125 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__categories-wrapper.svelte-g83tvt{height:calc(0.4159375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__categories-wrapper.svelte-g83tvt{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__categories-wrapper.svelte-g83tvt{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__categories-wrapper.svelte-g83tvt{padding-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__categories-wrapper.svelte-g83tvt{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__categories-wrapper.svelte-g83tvt{padding-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__categories-wrapper.svelte-g83tvt{padding-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__categories-wrapper.svelte-g83tvt{padding-right:calc(0.0143229167 * 100vw + 0px)}}.halloween-event-quests__categories-wrapper.svelte-g83tvt::-webkit-scrollbar{width:0px}.halloween-event-quests__category-quest.svelte-g83tvt{display:flex;align-items:center;justify-content:space-between;cursor:pointer;background:rgba(255, 255, 255, 0.6);transition:background-color 0.2s linear;position:relative;overflow:hidden;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.3125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__category-quest.svelte-g83tvt{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__category-quest.svelte-g83tvt{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__category-quest.svelte-g83tvt{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__category-quest.svelte-g83tvt{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__category-quest.svelte-g83tvt{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__category-quest.svelte-g83tvt{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__category-quest.svelte-g83tvt{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__category-quest.svelte-g83tvt{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__category-quest.svelte-g83tvt{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__category-quest.svelte-g83tvt{width:calc(0.240625 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__category-quest.svelte-g83tvt{width:calc(0.34375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__category-quest.svelte-g83tvt{width:calc(0.21875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__category-quest.svelte-g83tvt{width:calc(0.28125 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__category-quest.svelte-g83tvt{width:calc(0.34375 * 100vw + 0px)}}.halloween-event-quests__category-quest.svelte-g83tvt:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__category-quest.svelte-g83tvt:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__category-quest.svelte-g83tvt:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__category-quest.svelte-g83tvt:not(:first-child){margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__category-quest.svelte-g83tvt:not(:first-child){margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__category-quest.svelte-g83tvt:not(:first-child){margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__category-quest.svelte-g83tvt:not(:first-child){margin-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__category-quest.svelte-g83tvt:not(:first-child){margin-top:calc(0.0114583333 * 100vw + 0px)}}.halloween-event-quests__category-quest.svelte-g83tvt:hover,.halloween-event-quests__category-quest--selected.svelte-g83tvt,.halloween-event-quests__category-quest--completed.svelte-g83tvt{background-color:#FFFFFF}.halloween-event-quests__category-quest-body.svelte-g83tvt{padding-left:calc(0.0130208333 * 100vw + 0px);padding-top:calc(0.0114583333 * 100vw + 0px);padding-bottom:calc(0.0109375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__category-quest-body.svelte-g83tvt{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__category-quest-body.svelte-g83tvt{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__category-quest-body.svelte-g83tvt{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__category-quest-body.svelte-g83tvt{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__category-quest-body.svelte-g83tvt{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__category-quest-body.svelte-g83tvt{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__category-quest-body.svelte-g83tvt{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__category-quest-body.svelte-g83tvt{padding-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__category-quest-body.svelte-g83tvt{padding-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__category-quest-body.svelte-g83tvt{padding-top:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__category-quest-body.svelte-g83tvt{padding-top:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__category-quest-body.svelte-g83tvt{padding-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__category-quest-body.svelte-g83tvt{padding-top:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__category-quest-body.svelte-g83tvt{padding-top:calc(0.0126041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__category-quest-body.svelte-g83tvt{padding-bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__category-quest-body.svelte-g83tvt{padding-bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__category-quest-body.svelte-g83tvt{padding-bottom:calc(0.008421875 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__category-quest-body.svelte-g83tvt{padding-bottom:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__category-quest-body.svelte-g83tvt{padding-bottom:calc(0.00765625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__category-quest-body.svelte-g83tvt{padding-bottom:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__category-quest-body.svelte-g83tvt{padding-bottom:calc(0.01203125 * 100vw + 0px)}}.halloween-event-quests__category-quest-title.svelte-g83tvt{font-family:\"GothamPro-Medium\";color:#505050;font-size:calc(0.009375 * 100vw + 0px);margin-bottom:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__category-quest-title.svelte-g83tvt{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__category-quest-title.svelte-g83tvt{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__category-quest-title.svelte-g83tvt{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__category-quest-title.svelte-g83tvt{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__category-quest-title.svelte-g83tvt{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__category-quest-title.svelte-g83tvt{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__category-quest-title.svelte-g83tvt{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__category-quest-title.svelte-g83tvt{margin-bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__category-quest-title.svelte-g83tvt{margin-bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__category-quest-title.svelte-g83tvt{margin-bottom:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__category-quest-title.svelte-g83tvt{margin-bottom:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__category-quest-title.svelte-g83tvt{margin-bottom:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__category-quest-title.svelte-g83tvt{margin-bottom:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__category-quest-title.svelte-g83tvt{margin-bottom:calc(0.0028645833 * 100vw + 0px)}}.halloween-event-quests__category-quest-descr.svelte-g83tvt{font-family:\"GothamPro\";color:#505050;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__category-quest-descr.svelte-g83tvt{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__category-quest-descr.svelte-g83tvt{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__category-quest-descr.svelte-g83tvt{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__category-quest-descr.svelte-g83tvt{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__category-quest-descr.svelte-g83tvt{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__category-quest-descr.svelte-g83tvt{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__category-quest-descr.svelte-g83tvt{font-size:calc(0.0057291667 * 100vw + 0px)}}.halloween-event-quests__category-quest-progress.svelte-g83tvt{display:flex;flex-direction:column;width:calc(0.046875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__category-quest-progress.svelte-g83tvt{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__category-quest-progress.svelte-g83tvt{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__category-quest-progress.svelte-g83tvt{width:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__category-quest-progress.svelte-g83tvt{width:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__category-quest-progress.svelte-g83tvt{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__category-quest-progress.svelte-g83tvt{width:calc(0.0421875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__category-quest-progress.svelte-g83tvt{width:calc(0.0515625 * 100vw + 0px)}}.halloween-event-quests__category-quest-progress--completed.svelte-g83tvt{display:flex;justify-content:center;align-items:center;background:#83BD6F;border-radius:calc(0.0130208333 * 100vw + 0px);width:calc(0.0442708333 * 100vw + 0px);height:calc(0.0130208333 * 100vw + 0px);margin-right:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__category-quest-progress--completed.svelte-g83tvt{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__category-quest-progress--completed.svelte-g83tvt{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__category-quest-progress--completed.svelte-g83tvt{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__category-quest-progress--completed.svelte-g83tvt{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__category-quest-progress--completed.svelte-g83tvt{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__category-quest-progress--completed.svelte-g83tvt{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__category-quest-progress--completed.svelte-g83tvt{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__category-quest-progress--completed.svelte-g83tvt{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__category-quest-progress--completed.svelte-g83tvt{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__category-quest-progress--completed.svelte-g83tvt{width:calc(0.0340885417 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__category-quest-progress--completed.svelte-g83tvt{width:calc(0.0486979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__category-quest-progress--completed.svelte-g83tvt{width:calc(0.0309895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__category-quest-progress--completed.svelte-g83tvt{width:calc(0.03984375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__category-quest-progress--completed.svelte-g83tvt{width:calc(0.0486979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__category-quest-progress--completed.svelte-g83tvt{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__category-quest-progress--completed.svelte-g83tvt{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__category-quest-progress--completed.svelte-g83tvt{height:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__category-quest-progress--completed.svelte-g83tvt{height:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__category-quest-progress--completed.svelte-g83tvt{height:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__category-quest-progress--completed.svelte-g83tvt{height:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__category-quest-progress--completed.svelte-g83tvt{height:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__category-quest-progress--completed.svelte-g83tvt{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__category-quest-progress--completed.svelte-g83tvt{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__category-quest-progress--completed.svelte-g83tvt{margin-right:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__category-quest-progress--completed.svelte-g83tvt{margin-right:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__category-quest-progress--completed.svelte-g83tvt{margin-right:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__category-quest-progress--completed.svelte-g83tvt{margin-right:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__category-quest-progress--completed.svelte-g83tvt{margin-right:calc(0.0091666667 * 100vw + 0px)}}.halloween-event-quests__category-exp.svelte-g83tvt{font-family:\"GothamPro-Medium\";color:#505050;font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__category-exp.svelte-g83tvt{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__category-exp.svelte-g83tvt{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__category-exp.svelte-g83tvt{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__category-exp.svelte-g83tvt{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__category-exp.svelte-g83tvt{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__category-exp.svelte-g83tvt{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__category-exp.svelte-g83tvt{font-size:calc(0.0114583333 * 100vw + 0px)}}.halloween-event-quests__category-exp--completed.svelte-g83tvt{font-family:\"GothamPro-Light\";color:#FFFFFF;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__category-exp--completed.svelte-g83tvt{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__category-exp--completed.svelte-g83tvt{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__category-exp--completed.svelte-g83tvt{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__category-exp--completed.svelte-g83tvt{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__category-exp--completed.svelte-g83tvt{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__category-exp--completed.svelte-g83tvt{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__category-exp--completed.svelte-g83tvt{font-size:calc(0.0057291667 * 100vw + 0px)}}.halloween-event-quests__category-exp-descr.svelte-g83tvt{font-family:\"GothamPro\";color:#505050;font-size:calc(0.00625 * 100vw + 0px);margin-top:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__category-exp-descr.svelte-g83tvt{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__category-exp-descr.svelte-g83tvt{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__category-exp-descr.svelte-g83tvt{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__category-exp-descr.svelte-g83tvt{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__category-exp-descr.svelte-g83tvt{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__category-exp-descr.svelte-g83tvt{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__category-exp-descr.svelte-g83tvt{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__category-exp-descr.svelte-g83tvt{margin-top:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__category-exp-descr.svelte-g83tvt{margin-top:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__category-exp-descr.svelte-g83tvt{margin-top:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__category-exp-descr.svelte-g83tvt{margin-top:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__category-exp-descr.svelte-g83tvt{margin-top:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__category-exp-descr.svelte-g83tvt{margin-top:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__category-exp-descr.svelte-g83tvt{margin-top:calc(0.0028645833 * 100vw + 0px)}}.halloween-event-quests__items.svelte-g83tvt{position:absolute;top:calc(0.1302083333 * 100vw + 0px);right:calc(0.1328125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items.svelte-g83tvt{top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items.svelte-g83tvt{top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items.svelte-g83tvt{top:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items.svelte-g83tvt{top:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items.svelte-g83tvt{top:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items.svelte-g83tvt{top:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items.svelte-g83tvt{top:calc(0.1432291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items.svelte-g83tvt{right:calc(0.1328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items.svelte-g83tvt{right:calc(0.1328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items.svelte-g83tvt{right:calc(0.102265625 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items.svelte-g83tvt{right:calc(0.14609375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items.svelte-g83tvt{right:calc(0.09296875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items.svelte-g83tvt{right:calc(0.11953125 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items.svelte-g83tvt{right:calc(0.14609375 * 100vw + 0px)}}.halloween-event-quests__items-title.svelte-g83tvt{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px);margin-bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-title.svelte-g83tvt{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-title.svelte-g83tvt{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-title.svelte-g83tvt{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-title.svelte-g83tvt{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-title.svelte-g83tvt{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-title.svelte-g83tvt{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-title.svelte-g83tvt{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-title.svelte-g83tvt{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-title.svelte-g83tvt{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-title.svelte-g83tvt{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-title.svelte-g83tvt{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-title.svelte-g83tvt{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-title.svelte-g83tvt{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-title.svelte-g83tvt{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.halloween-event-quests__items-wrapper.svelte-g83tvt{overflow:auto;height:calc(0.378125 * 100vw + 0px);padding-right:calc(0.0130208333 * 100vw + 0px)}.halloween-event-quests__items-wrapper.svelte-g83tvt::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-wrapper.svelte-g83tvt::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-wrapper.svelte-g83tvt::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-wrapper.svelte-g83tvt::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-wrapper.svelte-g83tvt::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-wrapper.svelte-g83tvt::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-wrapper.svelte-g83tvt::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-wrapper.svelte-g83tvt::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-wrapper.svelte-g83tvt::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-wrapper.svelte-g83tvt::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-wrapper.svelte-g83tvt::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-wrapper.svelte-g83tvt::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-wrapper.svelte-g83tvt::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-wrapper.svelte-g83tvt::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-wrapper.svelte-g83tvt::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.halloween-event-quests__items-wrapper.svelte-g83tvt::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-wrapper.svelte-g83tvt::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-wrapper.svelte-g83tvt::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-wrapper.svelte-g83tvt::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-wrapper.svelte-g83tvt::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-wrapper.svelte-g83tvt::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-wrapper.svelte-g83tvt::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-wrapper.svelte-g83tvt::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.halloween-event-quests__items-wrapper.svelte-g83tvt::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-wrapper.svelte-g83tvt::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-wrapper.svelte-g83tvt::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-wrapper.svelte-g83tvt::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-wrapper.svelte-g83tvt::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-wrapper.svelte-g83tvt::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-wrapper.svelte-g83tvt::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-wrapper.svelte-g83tvt::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-wrapper.svelte-g83tvt{height:calc(0.378125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-wrapper.svelte-g83tvt{height:calc(0.378125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-wrapper.svelte-g83tvt{height:calc(0.29115625 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-wrapper.svelte-g83tvt{height:calc(0.4159375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-wrapper.svelte-g83tvt{height:calc(0.2646875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-wrapper.svelte-g83tvt{height:calc(0.3403125 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-wrapper.svelte-g83tvt{height:calc(0.4159375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.halloween-event-quests__items-wrapper.svelte-g83tvt{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.halloween-event-quests__items-wrapper.svelte-g83tvt{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.halloween-event-quests__items-wrapper.svelte-g83tvt{padding-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.halloween-event-quests__items-wrapper.svelte-g83tvt{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.halloween-event-quests__items-wrapper.svelte-g83tvt{padding-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.halloween-event-quests__items-wrapper.svelte-g83tvt{padding-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.halloween-event-quests__items-wrapper.svelte-g83tvt{padding-right:calc(0.0143229167 * 100vw + 0px)}}.halloween-event-quests__items-wrapper.svelte-g83tvt::-webkit-scrollbar{width:0px}");
}

function halloween_event_quests_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[15] = list[i];
	return child_ctx;
}

function halloween_event_quests_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[18] = list[i];
	return child_ctx;
}

// (2000:20) {:else}
function halloween_event_quests_index_svelte_create_else_block(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="halloween-event-quests__category-exp--completed svelte-g83tvt">Выполнено</p>`;
			attr(div, "class", "halloween-event-quests__category-quest-progress--completed svelte-g83tvt");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1989:20) {#if category.progress !== category.maxProgress}
function halloween_event_quests_index_svelte_create_if_block_1(ctx) {
	let div;
	let p0;
	let t0_value = /*category*/ ctx[18].progress + "";
	let t0;
	let t1;
	let t2_value = /*category*/ ctx[18].maxProgress + "";
	let t2;
	let t3;
	let p1;

	return {
		c() {
			div = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = internal_text("\r\n                                /\r\n                                ");
			t2 = internal_text(t2_value);
			t3 = space();
			p1 = internal_element("p");
			p1.textContent = "Прогресс";
			attr(p0, "class", "halloween-event-quests__category-exp svelte-g83tvt");
			attr(p1, "class", "halloween-event-quests__category-exp-descr svelte-g83tvt");
			attr(div, "class", "halloween-event-quests__category-quest-progress svelte-g83tvt");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p0);
			append(p0, t0);
			append(p0, t1);
			append(p0, t2);
			append(div, t3);
			append(div, p1);
		},
		p(ctx, dirty) {
			if (dirty & /*categoriesTabs*/ 2 && t0_value !== (t0_value = /*category*/ ctx[18].progress + "")) set_data(t0, t0_value);
			if (dirty & /*categoriesTabs*/ 2 && t2_value !== (t2_value = /*category*/ ctx[18].maxProgress + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1975:12) {#each categoriesTabs as category}
function halloween_event_quests_index_svelte_create_each_block_1(ctx) {
	let div1;
	let div0;
	let p0;
	let t0_value = /*category*/ ctx[18].title + "";
	let t0;
	let t1;
	let p1;
	let t2_value = /*category*/ ctx[18].description + "";
	let t2;
	let t3;
	let t4;
	let mounted;
	let dispose;

	function select_block_type(ctx, dirty) {
		if (/*category*/ ctx[18].progress !== /*category*/ ctx[18].maxProgress) return halloween_event_quests_index_svelte_create_if_block_1;
		return halloween_event_quests_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block = current_block_type(ctx);

	function click_handler() {
		return /*click_handler*/ ctx[5](/*category*/ ctx[18]);
	}

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = space();
			if_block.c();
			t4 = space();
			attr(p0, "class", "halloween-event-quests__category-quest-title svelte-g83tvt");
			attr(p1, "class", "halloween-event-quests__category-quest-descr svelte-g83tvt");
			attr(div0, "class", "halloween-event-quests__category-quest-body svelte-g83tvt");
			attr(div1, "class", "halloween-event-quests__category-quest svelte-g83tvt");
			toggle_class(div1, "halloween-event-quests__category-quest--selected", /*category*/ ctx[18].id === /*selectedTabId*/ ctx[2]);
			toggle_class(div1, "halloween-event-quests__category-quest--completed", /*category*/ ctx[18].progress === /*category*/ ctx[18].maxProgress);
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, p0);
			append(p0, t0);
			append(div0, t1);
			append(div0, p1);
			append(p1, t2);
			append(div1, t3);
			if_block.m(div1, null);
			append(div1, t4);

			if (!mounted) {
				dispose = listen(div1, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if (dirty & /*categoriesTabs*/ 2 && t0_value !== (t0_value = /*category*/ ctx[18].title + "")) set_data(t0, t0_value);
			if (dirty & /*categoriesTabs*/ 2 && t2_value !== (t2_value = /*category*/ ctx[18].description + "")) set_data(t2, t2_value);

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div1, t4);
				}
			}

			if (dirty & /*categoriesTabs, selectedTabId*/ 6) {
				toggle_class(div1, "halloween-event-quests__category-quest--selected", /*category*/ ctx[18].id === /*selectedTabId*/ ctx[2]);
			}

			if (dirty & /*categoriesTabs*/ 2) {
				toggle_class(div1, "halloween-event-quests__category-quest--completed", /*category*/ ctx[18].progress === /*category*/ ctx[18].maxProgress);
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			if_block.d();
			mounted = false;
			dispose();
		}
	};
}

// (2012:8) {#if !isEmpty(categoriesQuests[selectedTabId])}
function halloween_event_quests_index_svelte_create_if_block(ctx) {
	let p;
	let t1;
	let div;
	let previous_key = /*selectedTabId*/ ctx[2];
	let current;
	let key_block = halloween_event_quests_index_svelte_create_key_block(ctx);

	return {
		c() {
			p = internal_element("p");
			p.textContent = "Задания";
			t1 = space();
			div = internal_element("div");
			key_block.c();
			attr(p, "class", "halloween-event-quests__items-title svelte-g83tvt");
			attr(div, "class", "halloween-event-quests__items-wrapper svelte-g83tvt");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			insert(target, t1, anchor);
			insert(target, div, anchor);
			key_block.m(div, null);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty & /*selectedTabId*/ 4 && safe_not_equal(previous_key, previous_key = /*selectedTabId*/ ctx[2])) {
				group_outros();
				transition_out(key_block, 1, 1, internal_noop);
				check_outros();
				key_block = halloween_event_quests_index_svelte_create_key_block(ctx);
				key_block.c();
				transition_in(key_block, 1);
				key_block.m(div, null);
			} else {
				key_block.p(ctx, dirty);
			}
		},
		i(local) {
			if (current) return;
			transition_in(key_block);
			current = true;
		},
		o(local) {
			transition_out(key_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(p);
			if (detaching) detach(t1);
			if (detaching) detach(div);
			key_block.d(detaching);
		}
	};
}

// (2018:20) {#each categoriesQuests[selectedTabId] as quest}
function halloween_event_quests_index_svelte_create_each_block(ctx) {
	let accordion;
	let current;

	accordion = new quests_components_accordion_index_svelte({
			props: {
				quest: /*quest*/ ctx[15],
				categoryId: /*selectedTabId*/ ctx[2]
			}
		});

	return {
		c() {
			create_component(accordion.$$.fragment);
		},
		m(target, anchor) {
			mount_component(accordion, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const accordion_changes = {};
			if (dirty & /*categoriesQuests, selectedTabId*/ 5) accordion_changes.quest = /*quest*/ ctx[15];
			if (dirty & /*selectedTabId*/ 4) accordion_changes.categoryId = /*selectedTabId*/ ctx[2];
			accordion.$set(accordion_changes);
		},
		i(local) {
			if (current) return;
			transition_in(accordion.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(accordion.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(accordion, detaching);
		}
	};
}

// (2017:16) {#key selectedTabId}
function halloween_event_quests_index_svelte_create_key_block(ctx) {
	let each_1_anchor;
	let current;
	let each_value = /*categoriesQuests*/ ctx[0][/*selectedTabId*/ ctx[2]];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = halloween_event_quests_index_svelte_create_each_block(halloween_event_quests_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty & /*categoriesQuests, selectedTabId*/ 5) {
				each_value = /*categoriesQuests*/ ctx[0][/*selectedTabId*/ ctx[2]];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = halloween_event_quests_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = halloween_event_quests_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			destroy_each(each_blocks, detaching);
			if (detaching) detach(each_1_anchor);
		}
	};
}

function halloween_event_quests_index_svelte_create_fragment(ctx) {
	let div4;
	let p0;
	let t1;
	let img0;
	let img0_src_value;
	let t2;
	let img1;
	let img1_src_value;
	let t3;
	let halloweeneventbackground;
	let t4;
	let exitbutton;
	let t5;
	let div0;
	let img2;
	let img2_src_value;
	let t6;
	let div2;
	let p1;
	let t8;
	let div1;
	let t9;
	let div3;
	let show_if = !(0,lodash.isEmpty)(/*categoriesQuests*/ ctx[0][/*selectedTabId*/ ctx[2]]);
	let current;
	halloweeneventbackground = new components_background_index_svelte({});

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[4],
				title: "Вернутся назад",
				fixedPosition: true
			}
		});

	let each_value_1 = /*categoriesTabs*/ ctx[1];
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = halloween_event_quests_index_svelte_create_each_block_1(halloween_event_quests_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	let if_block = show_if && halloween_event_quests_index_svelte_create_if_block(ctx);

	return {
		c() {
			div4 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Список заданий";
			t1 = space();
			img0 = internal_element("img");
			t2 = space();
			img1 = internal_element("img");
			t3 = space();
			create_component(halloweeneventbackground.$$.fragment);
			t4 = space();
			create_component(exitbutton.$$.fragment);
			t5 = space();
			div0 = internal_element("div");
			img2 = internal_element("img");
			t6 = space();
			div2 = internal_element("div");
			p1 = internal_element("p");
			p1.textContent = "Этапы";
			t8 = space();
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t9 = space();
			div3 = internal_element("div");
			if (if_block) if_block.c();
			attr(p0, "class", "halloween-event-quests__title svelte-g83tvt");
			attr(img0, "class", "halloween-event-quests__quests-img svelte-g83tvt");
			if (!src_url_equal(img0.src, img0_src_value = quests_img_halloween_event_quests_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "quests");
			attr(img1, "class", "halloween-event-quests__pumpkin-img svelte-g83tvt");
			if (!src_url_equal(img1.src, img1_src_value = quests_img_halloween_event_pumpkin_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "pumpkin");
			attr(img2, "class", "halloween-event-quests__logo-icon svelte-g83tvt");
			if (!src_url_equal(img2.src, img2_src_value = halloween_event_logo_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "logo");
			attr(div0, "class", "halloween-event-quests__logo svelte-g83tvt");
			attr(p1, "class", "halloween-event-quests__category-title svelte-g83tvt");
			attr(div1, "class", "halloween-event-quests__categories-wrapper svelte-g83tvt");
			attr(div2, "class", "halloween-event-quests__category svelte-g83tvt");
			attr(div3, "class", "halloween-event-quests__items svelte-g83tvt");
			attr(div4, "class", "halloween-event-quests svelte-g83tvt");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, p0);
			append(div4, t1);
			append(div4, img0);
			append(div4, t2);
			append(div4, img1);
			append(div4, t3);
			mount_component(halloweeneventbackground, div4, null);
			append(div4, t4);
			mount_component(exitbutton, div4, null);
			append(div4, t5);
			append(div4, div0);
			append(div0, img2);
			append(div4, t6);
			append(div4, div2);
			append(div2, p1);
			append(div2, t8);
			append(div2, div1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}

			append(div4, t9);
			append(div4, div3);
			if (if_block) if_block.m(div3, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*categoriesTabs, selectedTabId, selectCategory*/ 14) {
				each_value_1 = /*categoriesTabs*/ ctx[1];
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = halloween_event_quests_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = halloween_event_quests_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div1, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}

			if (dirty & /*categoriesQuests, selectedTabId*/ 5) show_if = !(0,lodash.isEmpty)(/*categoriesQuests*/ ctx[0][/*selectedTabId*/ ctx[2]]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*categoriesQuests, selectedTabId*/ 5) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = halloween_event_quests_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(div3, null);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(halloweeneventbackground.$$.fragment, local);
			transition_in(exitbutton.$$.fragment, local);
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(halloweeneventbackground.$$.fragment, local);
			transition_out(exitbutton.$$.fragment, local);
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div4);
			destroy_component(halloweeneventbackground);
			destroy_component(exitbutton);
			destroy_each(each_blocks, detaching);
			if (if_block) if_block.d();
		}
	};
}

function halloween_event_quests_index_svelte_instance($$self, $$props, $$invalidate) {
	let categoriesQuests = {};
	let categoriesTabs = [];
	let selectedTabId = null;

	const setCategoryQuests = (categoryId, quests) => {
		$$invalidate(0, categoriesQuests[categoryId] = quests, categoriesQuests);
	};

	const pushCategoryQuests = (categoryId, quests) => {
		$$invalidate(0, categoriesQuests[categoryId] = [...categoriesQuests[categoryId] || [], ...quests], categoriesQuests);
	};

	const selectCategory = tabId => {
		$$invalidate(2, selectedTabId = tabId);
	};

	const handleClose = () => {
		
	}; // exec close event

	const initQuests = categoriesQuestsDto => {
		$$invalidate(0, categoriesQuests = categoriesQuestsDto);
	};

	const initTabs = categoriesTabsDto => {
		$$invalidate(1, categoriesTabs = categoriesTabsDto);
	};

	const unregisterInitQuestsEvent = registerEvent('halloweenEvent.quests.initialize', initQuests);
	const unregisterInitTabsEvent = registerEvent('halloweenEvent.categories.initialize', initTabs);
	const unregisterSetCategoryQuestEvent = registerEvent('halloweenEvent.quests.update', setCategoryQuests);
	const unregisterSelectCategoryQuestEvent = registerEvent('halloweenEvent.categories.select', selectCategory);
	const unregisterPushQuestsEvent = registerEvent('halloweenEvent.quests.push', pushCategoryQuests);

	onDestroy(() => {
		unregisterInitQuestsEvent();
		unregisterInitTabsEvent();
		unregisterSetCategoryQuestEvent();
		unregisterSelectCategoryQuestEvent();
		unregisterPushQuestsEvent();
	});

	const click_handler = category => selectCategory(category.id);

	return [
		categoriesQuests,
		categoriesTabs,
		selectedTabId,
		selectCategory,
		handleClose,
		click_handler
	];
}

class halloween_event_quests_index_svelte_Quests extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, halloween_event_quests_index_svelte_instance, halloween_event_quests_index_svelte_create_fragment, safe_not_equal, {}, halloween_event_quests_index_svelte_add_css);
	}
}

/* harmony default export */ const halloween_event_quests_index_svelte = (halloween_event_quests_index_svelte_Quests);
;// CONCATENATED MODULE: ./src/views/battle-pass/img/icon-bpoints.svg
const icon_bpoints_namespaceObject = __webpack_require__.p + "assets/154e3a69dcecfb10d59a.svg";
;// CONCATENATED MODULE: ./src/views/battle-pass/img/az-coin.svg
const img_az_coin_namespaceObject = __webpack_require__.p + "assets/36a9f2dd81877f62c1be.svg";
;// CONCATENATED MODULE: ./src/views/battle-pass/img/bg-preview.png
const bg_preview_namespaceObject = __webpack_require__.p + "assets/81fd586864361b97dfb2.webp";
;// CONCATENATED MODULE: ./src/views/battle-pass/img/bg-main.png
const bg_main_namespaceObject = __webpack_require__.p + "assets/81fd586864361b97dfb2.webp";
;// CONCATENATED MODULE: ./src/views/battle-pass/img/bg-quests.png
const bg_quests_namespaceObject = __webpack_require__.p + "assets/b1c356a5986a0d80e617.webp";
;// CONCATENATED MODULE: ./src/views/battle-pass/img/bg-roulette.png
const bg_roulette_namespaceObject = __webpack_require__.p + "assets/05e3c8c249d6110056b1.webp";
;// CONCATENATED MODULE: ./src/views/battle-pass/img/pubg.png
const pubg_namespaceObject = __webpack_require__.p + "assets/c630c81fdfe309bc4793.webp";
;// CONCATENATED MODULE: ./src/views/battle-pass/img/chiken.png
const chiken_namespaceObject = __webpack_require__.p + "assets/2e0bffdfbf7bde22c8a3.webp";
;// CONCATENATED MODULE: ./src/views/battle-pass/img/puppy.png
const puppy_namespaceObject = __webpack_require__.p + "assets/88158107fd059ececf0f.webp";
;// CONCATENATED MODULE: ./src/views/battle-pass/mock.js



var BATTLE_PASS_DATA = {
  type: 0,
  level: 11,
  exp: 1870,
  maxExp: 2400,
  premium: 1,
  passCoins: 200000,
  azCoins: 2000,
  timestampTaskTime: 1726581305,
  timestampMissionTime: 1726581305,
  passCoinCurseAzCoins: 3,
  availableToReceive: [[0, 0], [0, 0], [1, 0], [0, 0], [0, 0], [0, 0], [1, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]]
};
var QUEST_PROGRESS_MOCK = [{
  id: 0,
  categoryId: 'daily',
  progress: 0,
  visible: 1
}, {
  id: 0,
  categoryId: 'premium',
  progress: 2,
  visible: 1
}];
var SHOP_MOCK = [{
  itemId: 1,
  price: 30000,
  discount: 0,
  name: 'Audi Q7 Pro Max S1',
  desc: 'Lorem ipsum dolor sit, amet consectetur adipisicing \n elit. sequi maiores quisquam laborum perferendis cumque doloribus magnam animi'
}, {
  itemId: 2,
  price: 30000,
  discount: 0,
  name: 'Audi Q7 Pro Max S2',
  desc: 'Lorem ipsum dolor sit, amet consectetur adipisicing elit. A sequi maiores quisquam at laborum perferendis cumque doloribus magnam animi'
}, {
  itemId: 3,
  price: 30000,
  discount: 14,
  name: 'Audi Q7 Pro Max S3',
  desc: 'Lorem ipsum dolor sit, amet consectetur adipisicing elit. A sequi maiores quisquam at laborum perferendis cumque doloribus magnam animi'
}, {
  itemId: 4,
  price: 30000,
  discount: 1,
  name: 'Audi Q7 Pro Max S4',
  desc: 'Lorem ipsum dolor sit, amet consectetur adipisicing elit. A sequi maiores quisquam at laborum perferendis cumque doloribus magnam animi'
}, {
  itemId: 5,
  price: 30000,
  discount: 23,
  name: 'Audi Q7 Pro Max S5',
  desc: 'Lorem ipsum dolor sit, amet consectetur adipisicing elit. A sequi maiores quisquam at laborum perferendis cumque doloribus magnam animi'
}, {
  itemId: 322,
  price: 30000,
  discount: 75,
  name: 'Audi Q7 Pro Max S6',
  desc: 'Lorem ipsum dolor sit, amet consectetur adipisicing elit. A sequi maiores quisquam at laborum perferendis cumque doloribus magnam animi'
}, {
  itemId: 6,
  price: 30000,
  discount: 15,
  name: 'Audi Q7 Pro Max S',
  desc: 'Lorem ipsum dolor sit, amet consectetur adipisicing elit. A sequi maiores quisquam at laborum perferendis cumque doloribus magnam animi'
}, {
  itemId: 7,
  price: 30000,
  discount: 75,
  name: 'Audi Q7 Pro Max S',
  desc: 'Lorem ipsum dolor sit, amet consectetur adipisicing elit. A sequi maiores quisquam at laborum perferendis cumque doloribus magnam animi'
}, {
  itemId: 8,
  price: 30000,
  discount: 75,
  name: 'Audi Q7 Pro Max S',
  desc: 'Lorem ipsum dolor sit, amet consectetur adipisicing elit. A sequi maiores quisquam at laborum perferendis cumque doloribus magnam animi'
}, {
  itemId: 9,
  price: 30000,
  discount: 75,
  name: 'Audi Q7 Pro Max S',
  desc: 'Lorem ipsum dolor sit, amet consectetur adipisicing elit. A sequi maiores quisquam at laborum perferendis cumque doloribus magnam animi'
}, {
  itemId: 10,
  price: 30000,
  discount: 75,
  name: 'Audi Q7 Pro Max S',
  desc: 'Lorem ipsum dolor sit, amet consectetur adipisicing elit. A sequi maiores quisquam at laborum perferendis cumque doloribus magnam animi'
}, {
  itemId: 11,
  price: 30000,
  discount: 75,
  name: 'Audi Q7 Pro Max S',
  desc: 'Lorem ipsum dolor sit, amet consectetur adipisicing elit. A sequi maiores quisquam at laborum perferendis cumque doloribus magnam animi'
}];
var PREMIUM_PRICES = [{
  price: 10000,
  discount: 0
}, {
  price: 15000,
  discount: 50
}];
var LEVEL_PRICES = [{
  count: 5,
  discount: 11,
  price: 750
}, {
  count: 10,
  discount: 23,
  price: 2000
}, {
  count: 20,
  discount: 55,
  price: 5000
}, {
  count: -1,
  discount: 75,
  price: 10000
}];
var ROULETTE_BOXES_MOCK = [{
  total: 0,
  price: 50,
  discount: 0
}, {
  total: 10,
  price: 300,
  discount: 0,
  description: 'После 105 уровня боевого пропуска каждые 5 уровней дают скидку +1% на премиум рулетку. Максимальная скидка — 50%.'
}];
var ROULETTE_PRIZE_POOL_MOCK = new Array(50).fill({
  "id": 0,
  "title": "Деньги",
  "rarity": "purple",
  "price": 50,
  "image": "50049.png"
});
var ROULETTE_PRIZE_FEED_MOCK = [{
  id: 1,
  style: 'red',
  image: "50049.png",
  time: 1735924346,
  title: 'Dlinniy Nicknamenick'
}, {
  id: 1,
  style: 'red',
  image: "50049.png",
  time: 1735924205,
  title: 'Dlinniy Nicknamenick'
}, {
  id: 1,
  style: 'red',
  image: "50049.png",
  time: 1735923025,
  title: 'Dlinniy Nicknamenick'
}, {
  id: 1,
  style: 'pink',
  image: "50049.png",
  time: 1735924406,
  title: 'Dlinniy Nicknamenick'
}, {
  id: 1,
  style: 'red',
  image: "50049.png",
  time: 1735924225,
  title: 'Dlinniy Nicknamenick'
}];
var ROULETTE_ITEM_MOCK = [{
  "id": 0,
  "title": "Деньги",
  "rarity": "gold",
  "price": 50,
  "image": "50049.png"
}, {
  "id": 1,
  "title": "Талон: +1 EXP",
  "rarity": "gold",
  "price": 50,
  "image": "730.png"
}, {
  "id": 2,
  "title": "Подарок",
  "rarity": "gold",
  "price": 50,
  "image": "552.png"
}, {
  "id": 3,
  "title": "Материалы",
  "rarity": "gold",
  "price": 50,
  "image": "511.png"
}, {
  "id": 4,
  "title": "Семейный талон",
  "rarity": "purple",
  "price": 50,
  "image": "522.png"
}, {
  "id": 5,
  "title": "Укроп: таблетка адреналина",
  "rarity": "gold",
  "price": 50,
  "image": "670.png"
}, {
  "id": 6,
  "title": "Серебро",
  "rarity": "purple",
  "price": 50,
  "image": "599.png"
}, {
  "id": 7,
  "title": "Золото",
  "rarity": "purple",
  "price": 50,
  "image": "600.png"
}, {
  "id": 8,
  "title": "Сертификат Sentinel",
  "rarity": "gold",
  "price": 50,
  "image": "1110.png"
}, {
  "id": 9,
  "title": "Сертификат Perennial",
  "rarity": "gold",
  "price": 50,
  "image": "1111.png"
}, {
  "id": 10,
  "title": "Сертификат Manana",
  "rarity": "red",
  "price": 50,
  "image": "1112.png"
}, {
  "id": 11,
  "title": "Сертификат Voodoo",
  "rarity": "gold",
  "price": 50,
  "image": "1113.png"
}, {
  "id": 12,
  "title": "Сертификат Bobcat",
  "rarity": "pink",
  "price": 50,
  "image": "1115.png"
}, {
  "id": 13,
  "title": "Сертификат Previon",
  "rarity": "gold",
  "price": 50,
  "image": "1116.png"
}, {
  "id": 14,
  "title": "5 спинов в слот-машинах (Ставка 100)",
  "rarity": "gold",
  "price": 50,
  "image": "7942.png"
}, {
  "id": 15,
  "title": "Кресло качалка",
  "rarity": "pink",
  "price": 50,
  "image": "1247.png"
}, {
  "id": 16,
  "title": "Железный стул",
  "rarity": "gold",
  "price": 50,
  "image": "1258.png"
}, {
  "id": 17,
  "title": "Красный стул",
  "rarity": "pink",
  "price": 50,
  "image": "1259.png"
}, {
  "id": 18,
  "title": "Лавочка",
  "rarity": "gold",
  "price": 50,
  "image": "1261.png"
}, {
  "id": 19,
  "title": "Цветок в горшке 5",
  "rarity": "pink",
  "price": 50,
  "image": "1295.png"
}, {
  "id": 20,
  "title": "Растение в горшке 1",
  "rarity": "gold",
  "price": 50,
  "image": "1299.png"
}, {
  "id": 21,
  "title": "Настенный цветок 1",
  "rarity": "gold",
  "price": 50,
  "image": "1307.png"
}];
;// CONCATENATED MODULE: ./src/views/battle-pass/img/logo.png
const battle_pass_img_logo_namespaceObject = __webpack_require__.p + "assets/434de76fec56cf6b7c39.webp";
;// CONCATENATED MODULE: ./src/views/battle-pass/img/logo-premium.png
const logo_premium_namespaceObject = __webpack_require__.p + "assets/bc64e7c7c9f2780aa681.webp";
;// CONCATENATED MODULE: ./src/views/battle-pass/img/logo-premium-plus.png
const logo_premium_plus_namespaceObject = __webpack_require__.p + "assets/0a14ec38af13c5baca6f.webp";
;// CONCATENATED MODULE: ./src/views/battle-pass/img/bg-slot-machine.png
const bg_slot_machine_namespaceObject = __webpack_require__.p + "assets/81fd586864361b97dfb2.webp";
;// CONCATENATED MODULE: ./src/views/battle-pass/constants.js
function battle_pass_constants_typeof(o) { "@babel/helpers - typeof"; return battle_pass_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, battle_pass_constants_typeof(o); }
function battle_pass_constants_defineProperty(e, r, t) { return (r = battle_pass_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function battle_pass_constants_toPropertyKey(t) { var i = battle_pass_constants_toPrimitive(t, "string"); return "symbol" == battle_pass_constants_typeof(i) ? i : i + ""; }
function battle_pass_constants_toPrimitive(t, r) { if ("object" != battle_pass_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != battle_pass_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }









var REGULAR_QUESTS_URL = "".concat(cdn_CDN_URL_RODINA, "/assets/data/regular-quests-test.json");
var BP_IMAGES_BASE_CDN_URL = "".concat(cdn_CDN_URL_RODINA, "/systems/battlepass/images");
var getItemImageCdnUrl = function getItemImageCdnUrl(id) {
  return "".concat(CDN_URL_RODINA, "/").concat(id, ".webp");
};
var battlePassDailyQuestType = {
  Common: 'common',
  Fraction: 'fraction',
  Job: 'job',
  Rating: 'rating'
};
var MenuIds = {
  Main: 'main',
  Tasks: 'tasks',
  Shop: 'shop',
  Roulette: 'roulette',
  DonateSite: 'donate-site',
  Donate: 'donate',
  Preview: 'preview',
  Information: 'information',
  PurchaseLevel: 'purchase-level',
  PurchasePremium: 'purchase-premium',
  SlotMachine: 'slot-machine'
};
var constants_Rarity = {
  Tier1: 'tier1',
  Tier2: 'tier2',
  Tier3: 'tier3',
  Random: 'random'
};
var constants_MAP_RARITY_TO_TITLE = battle_pass_constants_defineProperty(battle_pass_constants_defineProperty(battle_pass_constants_defineProperty(battle_pass_constants_defineProperty({}, constants_Rarity.Tier1, 'Хлам'), constants_Rarity.Tier2, 'Обычное'), constants_Rarity.Tier3, 'Идеальное'), constants_Rarity.Random, 'Случайное');
var constants_MAP_MENU_ID_TO_TITLE = battle_pass_constants_defineProperty(battle_pass_constants_defineProperty(battle_pass_constants_defineProperty(battle_pass_constants_defineProperty(battle_pass_constants_defineProperty(battle_pass_constants_defineProperty({}, MenuIds.Main, 'ГЛАВНАЯ'), MenuIds.Tasks, 'ЗАДАНИЯ'), MenuIds.Shop, 'МАГАЗИН'), MenuIds.DonateSite, 'ДОНАТ'), MenuIds.Roulette, 'Рулетка'), MenuIds.Information, 'ИНФОРМАЦИЯ');
var constants_MAP_MENU_ID_TO_ICON = battle_pass_constants_defineProperty(battle_pass_constants_defineProperty(battle_pass_constants_defineProperty(battle_pass_constants_defineProperty(battle_pass_constants_defineProperty(battle_pass_constants_defineProperty(battle_pass_constants_defineProperty({}, MenuIds.Main, 'icon-muzify-home'), MenuIds.Tasks, 'icon-tasks'), MenuIds.Shop, 'icon-cart'), MenuIds.DonateSite, 'icon-money-bag'), MenuIds.Information, 'icon-information-quad'), MenuIds.Preview, 'icon-information-quad'), MenuIds.Roulette, 'icon-roulette');
var MAP_MENU_ID_TO_VISIBILITY = battle_pass_constants_defineProperty(battle_pass_constants_defineProperty(battle_pass_constants_defineProperty(battle_pass_constants_defineProperty(battle_pass_constants_defineProperty(battle_pass_constants_defineProperty(battle_pass_constants_defineProperty(battle_pass_constants_defineProperty(battle_pass_constants_defineProperty(battle_pass_constants_defineProperty({}, MenuIds.Main, true), MenuIds.Tasks, true), MenuIds.Shop, false), MenuIds.Roulette, true), MenuIds.DonateSite, false), MenuIds.Donate, false), MenuIds.Preview, false), MenuIds.Information, false), MenuIds.PurchaseLevel, false), MenuIds.PurchasePremium, false);
var MAP_PREMIUM_TO_LOGO = [battle_pass_img_logo_namespaceObject, logo_premium_namespaceObject, logo_premium_plus_namespaceObject];
var MAP_MENU_TO_BG = battle_pass_constants_defineProperty(battle_pass_constants_defineProperty(battle_pass_constants_defineProperty(battle_pass_constants_defineProperty(battle_pass_constants_defineProperty(battle_pass_constants_defineProperty(battle_pass_constants_defineProperty(battle_pass_constants_defineProperty({}, MenuIds.Preview, bg_preview_namespaceObject), MenuIds.Main, bg_main_namespaceObject), MenuIds.Donate, bg_main_namespaceObject), MenuIds.Tasks, bg_quests_namespaceObject), MenuIds.PurchasePremium, bg_main_namespaceObject), MenuIds.PurchaseLevel, bg_main_namespaceObject), MenuIds.Roulette, bg_roulette_namespaceObject), MenuIds.SlotMachine, bg_slot_machine_namespaceObject);
;// CONCATENATED MODULE: ./src/views/battle-pass/store.js
function battle_pass_store_typeof(o) { "@babel/helpers - typeof"; return battle_pass_store_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, battle_pass_store_typeof(o); }
function battle_pass_store_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function battle_pass_store_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? battle_pass_store_ownKeys(Object(t), !0).forEach(function (r) { battle_pass_store_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : battle_pass_store_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function battle_pass_store_defineProperty(e, r, t) { return (r = battle_pass_store_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function battle_pass_store_toPropertyKey(t) { var i = battle_pass_store_toPrimitive(t, "string"); return "symbol" == battle_pass_store_typeof(i) ? i : i + ""; }
function battle_pass_store_toPrimitive(t, r) { if ("object" != battle_pass_store_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != battle_pass_store_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function battle_pass_store_toConsumableArray(r) { return battle_pass_store_arrayWithoutHoles(r) || battle_pass_store_iterableToArray(r) || battle_pass_store_unsupportedIterableToArray(r) || battle_pass_store_nonIterableSpread(); }
function battle_pass_store_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 battle_pass_store_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return battle_pass_store_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? battle_pass_store_arrayLikeToArray(r, a) : void 0; } }
function battle_pass_store_iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
function battle_pass_store_arrayWithoutHoles(r) { if (Array.isArray(r)) return battle_pass_store_arrayLikeToArray(r); }
function battle_pass_store_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }





var battlePassData = writable({});
var battlePassShop = writable([]);
var quests = writable({});
var currentPage = writable();
var premiumPrices = writable([]);
var levelPrices = writable([]);
var premiumPlusOnly = writable(false);
var rouletteBoxes = writable([]);
var roulettePrizePool = writable([]);
var roulettePrizeFeed = writable([]);
var selectedRouletteType = writable(-1);
var rouletteActive = writable(false);
var allPremiumRewards = writable([]);
var allCommonRewards = writable([]);
var questsProgress = writable([]);
var rewardsPagesCount = writable(0);
var updateQuestsProgress = function updateQuestsProgress(progressDto) {
  questsProgress.set([].concat(battle_pass_store_toConsumableArray(get_store_value(questsProgress)), battle_pass_store_toConsumableArray(progressDto)));
};
registerEvent('event.battlePass.updateQuestsProgress', updateQuestsProgress);
var inititalizeBattlePassData = function inititalizeBattlePassData(battlePassDto) {
  return battlePassData.set(battle_pass_store_objectSpread(battle_pass_store_objectSpread({}, get_store_value(battlePassData)), battlePassDto));
};
registerEvent('event.battlePass.initializeBattlePassData', inititalizeBattlePassData);
var inititalizeBattlePassShop = function inititalizeBattlePassShop(battlePassShopDto) {
  return battlePassShop.set(battlePassShopDto);
};
registerEvent('event.battlePass.initializeBattlePassShop', inititalizeBattlePassShop);
var inititalizePremiumPrice = function inititalizePremiumPrice(pricesDto) {
  return premiumPrices.set(pricesDto);
};
registerEvent('event.battlePass.initializePremiumPrice', inititalizePremiumPrice);
var inititalizeLevelsPrice = function inititalizeLevelsPrice(pricesDto) {
  return levelPrices.set(pricesDto);
};
registerEvent('event.battlePass.initializeLevelsPrice', inititalizeLevelsPrice);
var openPremiumPurchase = function openPremiumPurchase() {
  currentPage.set(MenuIds.PurchasePremium);
  premiumPlusOnly.set(true);
};
registerEvent('event.battlePass.openPremiumPurchase', openPremiumPurchase);
var inititalizeRouletteBoxes = function inititalizeRouletteBoxes(rouletteBoxesDto) {
  var cache = get_store_value(rouletteBoxes);
  if ((0,lodash.isEmpty)(cache)) {
    rouletteBoxes.set([].concat(battle_pass_store_toConsumableArray(get_store_value(rouletteBoxes)), battle_pass_store_toConsumableArray(rouletteBoxesDto)));
  } else {
    rouletteBoxesDto.forEach(function (item) {
      cache[item.id] = battle_pass_store_objectSpread(battle_pass_store_objectSpread({}, cache[item.id]), item);
    });
    rouletteBoxes.set(cache);
  }
};
registerEvent('event.battlePass.initializeRouletteBoxes', inititalizeRouletteBoxes);
var inititalizeRoulettePrizePool = function inititalizeRoulettePrizePool(roulettePrizePoolDto) {
  return roulettePrizePool.set([].concat(battle_pass_store_toConsumableArray(get_store_value(roulettePrizePool)), battle_pass_store_toConsumableArray(roulettePrizePoolDto)));
};
registerEvent('event.battlePass.initializeRoulettePrizePool', inititalizeRoulettePrizePool);
var inititalizeRoulettePrizeFeed = function inititalizeRoulettePrizeFeed(roulettePrizeFeedDto) {
  roulettePrizeFeed.set([]);
  roulettePrizeFeedDto.sort(function (a, b) {
    return b.time - a.time;
  });
  roulettePrizeFeed.set(roulettePrizeFeedDto);
};
registerEvent('event.battlePass.initializeRoulettePrizeFeed', inititalizeRoulettePrizeFeed);
registerEvent('event.battlePass.showPreview', function () {
  return currentPage.set(MenuIds.Preview);
});
registerEvent('event.battlePass.openMain', function () {
  return currentPage.set(MenuIds.Main);
});
var openRoulette = function openRoulette(type) {
  selectedRouletteType.set(type);
  currentPage.set(MenuIds.Roulette);
};
registerEvent('event.battlePass.openRoulette', openRoulette);
;// CONCATENATED MODULE: ./src/views/battle-pass/components/premium-button/index.svelte
/* src\views\battle-pass\components\premium-button\index.svelte generated by Svelte v3.49.0 */





function premium_button_index_svelte_create_if_block(ctx) {
	let i;
	let i_class_value;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", i_class_value = "arizona-pass-premium-button__icon icon-" + /*icon*/ ctx[2]);
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*icon*/ 4 && i_class_value !== (i_class_value = "arizona-pass-premium-button__icon icon-" + /*icon*/ ctx[2])) {
				attr(i, "class", i_class_value);
			}
		},
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

function premium_button_index_svelte_create_fragment(ctx) {
	let div1;
	let show_if = !(0,lodash.isEmpty)(/*icon*/ ctx[2]);
	let t;
	let div0;
	let mounted;
	let dispose;
	let if_block = show_if && premium_button_index_svelte_create_if_block(ctx);

	return {
		c() {
			div1 = internal_element("div");
			if (if_block) if_block.c();
			t = space();
			div0 = internal_element("div");
			attr(div0, "class", "arizona-pass-premium-button__text");
			attr(div1, "class", "arizona-pass-premium-button");
			toggle_class(div1, "arizona-pass-button--disabled", /*disabled*/ ctx[3]);
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			if (if_block) if_block.m(div1, null);
			append(div1, t);
			append(div1, div0);
			div0.innerHTML = /*text*/ ctx[1];

			if (!mounted) {
				dispose = listen(div1, "click", function () {
					if (internal_is_function(/*onClick*/ ctx[0])) /*onClick*/ ctx[0].apply(this, arguments);
				});

				mounted = true;
			}
		},
		p(new_ctx, [dirty]) {
			ctx = new_ctx;
			if (dirty & /*icon*/ 4) show_if = !(0,lodash.isEmpty)(/*icon*/ ctx[2]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = premium_button_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div1, t);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (dirty & /*text*/ 2) div0.innerHTML = /*text*/ ctx[1];;

			if (dirty & /*disabled*/ 8) {
				toggle_class(div1, "arizona-pass-button--disabled", /*disabled*/ ctx[3]);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
			if (if_block) if_block.d();
			mounted = false;
			dispose();
		}
	};
}

function premium_button_index_svelte_instance($$self, $$props, $$invalidate) {
	let { onClick = () => {
		
	} } = $$props;

	let { text = '' } = $$props;
	let { icon = '' } = $$props;
	let { disabled = false } = $$props;

	$$self.$$set = $$props => {
		if ('onClick' in $$props) $$invalidate(0, onClick = $$props.onClick);
		if ('text' in $$props) $$invalidate(1, text = $$props.text);
		if ('icon' in $$props) $$invalidate(2, icon = $$props.icon);
		if ('disabled' in $$props) $$invalidate(3, disabled = $$props.disabled);
	};

	return [onClick, text, icon, disabled];
}

class Premium_button extends SvelteComponent {
	constructor(options) {
		super();

		init(this, options, premium_button_index_svelte_instance, premium_button_index_svelte_create_fragment, safe_not_equal, {
			onClick: 0,
			text: 1,
			icon: 2,
			disabled: 3
		});
	}
}

/* harmony default export */ const premium_button_index_svelte = (Premium_button);
;// CONCATENATED MODULE: ./src/views/battle-pass/img/star.svg
const star_namespaceObject = __webpack_require__.p + "assets/5898f425ba8d61e5f81d.svg";
;// CONCATENATED MODULE: ./src/views/battle-pass/components/quests/constants.js
function quests_constants_typeof(o) { "@babel/helpers - typeof"; return quests_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, quests_constants_typeof(o); }
function quests_constants_defineProperty(e, r, t) { return (r = quests_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function quests_constants_toPropertyKey(t) { var i = quests_constants_toPrimitive(t, "string"); return "symbol" == quests_constants_typeof(i) ? i : i + ""; }
function quests_constants_toPrimitive(t, r) { if ("object" != quests_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != quests_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
var CATEGORIES = {
  Daily: 'daily',
  Premium: 'premium'
};
var MAP_CATEGORY_TO_NAME = quests_constants_defineProperty(quests_constants_defineProperty({}, CATEGORIES.Daily, 'Ежедневные задания'), CATEGORIES.Premium, '<b>Premium</b> задания');
var QUESTS = quests_constants_defineProperty(quests_constants_defineProperty({}, CATEGORIES.Daily, [{
  "id": 0,
  "title": "Легкие деньги",
  "description": "Выиграйте в кости 1 раз",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "daily",
  "hint": "Мало играть, нужно выигрывать. Победите в игре Кости в казино!",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 1,
  "title": "Голодный волк",
  "description": "Съешьте любую еду",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "daily",
  "hint": "Съешьте любую еду. Приобрести ее можно в закусочных или магазине 24/7",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 2,
  "title": "Кладоискатель",
  "description": "Откопайте 1 любой предмет на Кладоискателе",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "daily",
  "hint": "Отправляйтесь на раскопки предметов. Найти место можно через телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 3,
  "title": "Что в ящике?",
  "description": "Откройте 1 любой контейнер в порту",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "daily",
  "hint": "Отправляйтесь в порт и откройте любой контейнер. Найти порт можно через телефон (P) GPS - Развлечения - Аукцион контейнеров",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 4,
  "title": "Может повезет?",
  "description": "Поставьте ставку на контейнер",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "daily",
  "hint": "Отправляйтесь в порт и поставьте ставку на контейнер. Найти порт можно через телефон (P) GPS - Развлечения - Аукцион контейнеров",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 5,
  "title": "Дрифтер",
  "description": "Наберите 2500 очков на дрифт-треке",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 2500,
  "categoryId": "daily",
  "hint": "Отправляйтесь на дрифт-трек и наберите 2500 очков дрифта. Найти трек можно через телефон (P) - GPS - Развлечения",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 6,
  "title": "Подарочки",
  "description": "Примите участие в мероприятии Собиратели",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "daily",
  "hint": "Примите участие в мероприятии Собиратели. Найти его можно через телефон (P) - GPS - Развлечения",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 7,
  "title": "Резидент",
  "description": "Посетите мэрию",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "daily",
  "hint": "Посетите Мэрию г. Арзамас. Ее месторасположение Вы можете узнать через телефон (P) - GPS - Полезно новичку",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 8,
  "title": "Покупатель",
  "description": "Приобретите 1 товар на Центральном рынке",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "daily",
  "hint": "Приобретите любой товар на Центральном рынке. Найти его можно через телефон (P) - GPS - Торговля",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 9,
  "title": "Музыкант",
  "description": "Послушайте 1 песню",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "daily",
  "hint": "Послушайте 1 музыку через приложение Музыка в телефоне (P)",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 10,
  "title": "Стук колес",
  "description": "Выполните 1 рейс на поезде",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "daily",
  "hint": "Выполните 1 рейс на работе машиниста поезда. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 11,
  "title": "Лекарь",
  "description": "Вылечитесь при помощи аптечки 3 раза",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 3,
  "categoryId": "daily",
  "hint": "Приобретите аптечку на центральном рынке или у врача. Для лечения используйте инвентарь",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 12,
  "title": "Сдачи не надо",
  "description": "Приобретите 1 товар в Супермаркете",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "daily",
  "hint": "Приобретите любой товар в Супермаркете. Найти ближайший можно через телефон (P) - GPS - Поиск",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 13,
  "title": "Быстрый ремонт",
  "description": "Почините 1 автомобиль ремкомплектом",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "daily",
  "hint": "Воспользуйтесь ремкомплектом и почините любой автомобиль. Приобрести ремкомплект можно в магазине АЗС",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 14,
  "title": "Сколько стоит шмот?",
  "description": "Наденьте на себя любой аксессуар",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "daily",
  "hint": "Настало время обновить лук! Наденьте на себя любой аксессуар, для этого используйте инвентарь",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 15,
  "title": "Сыщик",
  "description": "Достаньте любой предмет из мусорки",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "daily",
  "hint": "Достаньте любой предмет из мусорки. Найти ближайшую мусорку несложно, просто внимательно ищите контейнеры возле дороги или в жилых кварталах. Для взаимодействия с мусоркой используйте инвентарь",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 16,
  "title": "Продавец",
  "description": "Продайте любой предмет на Центральном рынке",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "daily",
  "hint": "Продать предмет Вы можете любому игроку, который выставил свою лавку на Центральном рынке. Для этого нажмите кнопку Продать, находясь рядом с торговой лавкой. Найти центральный рынок можно через: телефон (P) - GPS - Торговля",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 17,
  "title": "Мопедист",
  "description": "Арендуйте скутер",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "daily",
  "hint": "Арендуйте скутер в любом из доступных мест аренды",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 18,
  "title": "Иная заправка",
  "description": "Купите канистру",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "daily",
  "hint": "Купите канистру на любой АЗС",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 19,
  "title": "Артерия города",
  "description": "Выполните 3 маршрута на автобусе",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 3,
  "categoryId": "daily",
  "hint": "Совершите 3 маршрута на автобусе. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 20,
  "title": "Почтальон Печкин",
  "description": "Перенесите 10 ящиков на работе почтальона",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 10,
  "categoryId": "daily",
  "hint": "Перенесите 10 ящиков на работе почтальона. Для трудоустройства отправляйтесь на Почту. Найти ее можно: Телефон (P) - GPS - Работы",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 21,
  "title": "Мобильный почтальон",
  "description": "Перевезите 10 коробок на работе почтальона",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 10,
  "categoryId": "daily",
  "hint": "Перевезите 10 коробок на работе почтальона, используя транспортное средство. Для трудоустройства отправляйтесь на Почту. Найти ее можно: Телефон (P) - GPS - Работы",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 22,
  "title": "Чистые улицы",
  "description": "Разгрузите 5 мусорных контейнеров на мусоровозе",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 5,
  "categoryId": "daily",
  "hint": "Разгрузите 5 мусорных контейнеров. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 23,
  "title": "Инкассация",
  "description": "Обслужите 5 банкоматов на работе инкассатора",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 5,
  "categoryId": "daily",
  "hint": "Обслужите 5 банкоматов, работая инкассатором. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 24,
  "title": "До центра за 500",
  "description": "Перевезите 5 пассажиров, работая таксистом",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 5,
  "categoryId": "daily",
  "hint": "Выполните 5 заказов, работая таксистом. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 25,
  "title": "Новые колеса",
  "description": "Поменяйте шины, работая механиком",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 3,
  "categoryId": "daily",
  "hint": "Выполните 3 заказа, связанный с колесами, на работе механика. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 26,
  "title": "Чек горит!",
  "description": "Проведите диагностику 2 автомобилей",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 2,
  "categoryId": "daily",
  "hint": "Выполните 2 диагностики на работе автомеханика. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 27,
  "title": "Масло",
  "description": "Поменяйте масло 2 автомобилям",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 2,
  "categoryId": "daily",
  "hint": "Замените масло 2 автомобилям. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 28,
  "title": "Водила - шофер!",
  "description": "Выполните 3 рейса на дальнобойщике",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 3,
  "categoryId": "daily",
  "hint": "Выполните 3 рейса на работе дальнобойщика. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 29,
  "title": "Пилот",
  "description": "Выполните 2 рейса, работая пилотом",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 2,
  "categoryId": "daily",
  "hint": "Выполните 2 рейса на работе пилота. Для трудоустройства отправляйтесь в аэропорт. Найти его можно: Телефон (P) - GPS - Работы",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 30,
  "title": "Заводчанин",
  "description": "Соберите 5 деталей на заводе",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 5,
  "categoryId": "daily",
  "hint": "Соберите 5 деталей на заводе. Для трудоустройства отправляйтесь на завод. Найти его можно: Телефон (P) - GPS - Работы",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 31,
  "title": "Лесоповал",
  "description": "Срубите 5 деревьев на лесопилке",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 5,
  "categoryId": "daily",
  "hint": "Срубите 5 деревьев на лесопилке. Для трудоустройства отправляйтесь на лесопилку. Найти его можно: Телефон (P) - GPS - Ресурсы",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 32,
  "title": "Трамвайные пути",
  "description": "Совершите 3 маршрута на трамвае",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 3,
  "categoryId": "daily",
  "hint": "Совершите 3 маршрута на работе водителя трамвая. Для трудоустройства воспользуйтесь телефоном. Найти его можно: Телефон (P) - GPS - Работы",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 33,
  "title": "Лён",
  "description": "Добыть 30 ед. ресурса Лён",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 30,
  "categoryId": "daily",
  "hint": "Отправляйтесь на Ферму и добудьте 30 ед. льна. Найти ферму можно: телефон (P) - GPS - Добыча ресурсов",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 34,
  "title": "Металл",
  "description": "Добыть 5 ед. ресурса Металл",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 5,
  "categoryId": "daily",
  "hint": "Отправляйтесь на Шахту и добудьте 5 ед. металла. Найти шахту можно: телефон (P) - GPS - Добыча ресурсов",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 35,
  "title": "Бронза",
  "description": "Добыть 5 ед. ресурса Бронза",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 5,
  "categoryId": "daily",
  "hint": "Отправляйтесь на Шахту и добудьте 5 ед. бронзы. Найти шахту можно: телефон (P) - GPS - Добыча ресурсов",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 36,
  "title": "Серебро",
  "description": "Добыть 5 ед. ресурса Серебро",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 5,
  "categoryId": "daily",
  "hint": "Отправляйтесь на Шахту и добудьте 5 ед. серебра. Найти шахту можно: телефон (P) - GPS - Добыча ресурсов",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 37,
  "title": "Золото",
  "description": "Добыть 3 ед. ресурса Золото",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 3,
  "categoryId": "daily",
  "hint": "Отправляйтесь на Шахту и добудьте 3 ед. золота. Найти шахту можно: телефон (P) - GPS - Добыча ресурсов",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 38,
  "title": "Камень",
  "description": "Добыть 10 ед. ресурса Камень",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 10,
  "categoryId": "daily",
  "hint": "Отправляйтесь на Шахту и добудьте 10 ед. камня. Найти шахту можно: телефон (P) - GPS - Добыча ресурсов",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 39,
  "title": "Четко по плану",
  "description": "Проехать 250 чекпоинтов на работе автобусника",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 250,
  "categoryId": "daily",
  "hint": "Выполните указанную цель на работе. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 40,
  "title": "Премиальные автобусника",
  "description": "Получите 5 ларцов автобусника во время работы",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 5,
  "categoryId": "daily",
  "hint": "Выполните указанную цель на работе. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 41,
  "title": "Нет своей машины",
  "description": "Потратьте на поездки в такси 1.000.000 руб.",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 1000000,
  "categoryId": "daily",
  "hint": "Закажите такси и потратьте более 1.000.000 рублей на поездки за все время.",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 42,
  "title": "Не старая машина",
  "description": "Скрутить пробег с 10 авто будучи механиком",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 10,
  "categoryId": "daily",
  "hint": "Выполните указанную цель на работе. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 43,
  "title": "Диагностика",
  "description": "Почините 2 раза своё авто на СТО",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 2,
  "categoryId": "daily",
  "hint": "Отправляйтесь в СТО и почините свой автомобиль 2 раза.",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 44,
  "title": "Любимая машина",
  "description": "Потратьте на услуги механиков 100.000 руб.",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 100000,
  "categoryId": "daily",
  "hint": "Отправляйтесь в СТО и потратьте на услуги механиков 100.000 рублей. Можете ремонтировать: шины, масло, диагностика.",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 45,
  "title": "Утилизация",
  "description": "Отвезти 5 раз мусор на свалку на работе мусоровозчика",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 5,
  "categoryId": "daily",
  "hint": "Выполните указанную цель на работе. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 46,
  "title": "Нужно постараться",
  "description": "Выполните 5 рейсов на работе водителя трамвая без предупреждений",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 5,
  "categoryId": "daily",
  "hint": "Выполните указанную цель на работе. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 47,
  "title": "Загрузка",
  "description": "Посетите загрузку инкассации 5 раз",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 5,
  "categoryId": "daily",
  "hint": "Выполните указанную цель на работе. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 48,
  "title": "Победа",
  "description": "Получите 2 ларца инкассатора",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 2,
  "categoryId": "daily",
  "hint": "Выполните указанную цель на работе. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 49,
  "title": "Внимательный",
  "description": "Выполните 5 рейсов на работе машиниста электропоезда без предупреждений",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 5,
  "categoryId": "daily",
  "hint": "Выполните указанную цель на работе. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 50,
  "title": "Случайный груз",
  "description": "Доставьте 5 случайных грузов будучи дальнобойщиком",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 5,
  "categoryId": "daily",
  "hint": "Случайные грузы можно найти недалеко от дорог. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 51,
  "title": "Охотник 1",
  "description": "Подберите тушу 10 медведей на охоте",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 10,
  "categoryId": "daily",
  "hint": "Для выполнения этого задания вам необходимо иметь оружие. Отправляйтесь на Охоту. Найти ее можно: телефон (P) - GPS - Города и поселки - Охотничья деревня",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 52,
  "title": "Охотник 2",
  "description": "Подберите тушу 10 оленей на охоте",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 10,
  "categoryId": "daily",
  "hint": "Для выполнения этого задания вам необходимо иметь оружие. Отправляйтесь на Охоту. Найти ее можно: телефон (P) - GPS - Города и поселки - Охотничья деревня",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 53,
  "title": "Охотник 3",
  "description": "Подберите тушу 10 кабанов на охоте",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 10,
  "categoryId": "daily",
  "hint": "Для выполнения этого задания вам необходимо иметь оружие. Отправляйтесь на Охоту. Найти ее можно: телефон (P) - GPS - Города и поселки - Охотничья деревня",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 54,
  "title": "Мясник",
  "description": "Разделайте 20 туш",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 20,
  "categoryId": "daily",
  "hint": "Для выполнения этого задания отправляйтесь на скотобойню. Найти ее можно: телефон (P) - GPS - Добыча ресурсов",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 55,
  "title": "Любитель",
  "description": "Продайте 50 шт. рыбы",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 50,
  "categoryId": "daily",
  "hint": "Выполните указанную цель на работе. Найти место для рыбалки можно: телефон (P) - GPS - Добыча ресурсов",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 56,
  "title": "Рыбак",
  "description": "Продайте 200 кг. рыбы",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 200,
  "categoryId": "daily",
  "hint": "Выполните указанную цель на работе. Найти место для рыбалки можно: телефон (P) - GPS - Добыча ресурсов",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 57,
  "title": "Удочка",
  "description": "Приобретите 50 ед. наживки",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 50,
  "categoryId": "daily",
  "hint": "Выполните указанную цель на работе. Найти место для рыбалки можно: телефон (P) - GPS - Добыча ресурсов",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 58,
  "title": "Отмычка",
  "description": "Угоните 20 машин",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 20,
  "categoryId": "daily",
  "hint": "Для угона приобретите отмычку. Воспользуйтесь ей через инвентарь у автомобиля. Сдайте автомобиль на кладоискателе. Найти его можно через телефон (P) - GPS - Работы",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 59,
  "title": "Медвежатник",
  "description": "Приобретите противоугонную защиту",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "daily",
  "hint": "Приобретите противоугонную систему на АЗС.",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 60,
  "title": "Инцидент",
  "description": "Получите 1 ларец пожарного",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "daily",
  "hint": "Выполните указанную цель на работе. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 61,
  "title": "Киноман",
  "description": "Арендуйте кинозал",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "daily",
  "hint": "Арендуйте кинозал. Найти его можно в телефон (P) - GPS - Развлечения",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 62,
  "title": "Втянувшийся",
  "description": "Наберите 5.000 дрифт очков",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 5000,
  "categoryId": "daily",
  "hint": "Отправляйтесь на дрифт-трек и наберите 5000 очков дрифта. Найти трек можно через телефон (P) - GPS - Развлечения",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 63,
  "title": "Попытка не пытка",
  "description": "Сделайте 2 попытки крафта",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 2,
  "categoryId": "daily",
  "hint": "Заняться крафтом Вы можете на общественном верстаке или в гараже собственного дома. Общественный верстак находится в центральном рынке.",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 64,
  "title": "Бензин",
  "description": "Заправьтесь бензином 3 раза",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 3,
  "categoryId": "daily",
  "hint": "Найдите ближайшую АЗС и заправьте свой автомобиль 3 раза, находясь на заправке.",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 65,
  "title": "Дизель",
  "description": "Заправьтесь дизелем 2 раза",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 2,
  "categoryId": "daily",
  "hint": "Найдите ближайшую АЗС и заправьте свой автомобиль 2 раза, находясь на заправке.",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 66,
  "title": "Электро",
  "description": "Зарядите электрокар 1 раз",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "daily",
  "hint": "Найдите ближайшую зарядную станцию и зарядите свой автомобиль 1 раз.",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 67,
  "title": "Тюнинг 1",
  "description": "Установите спойлер в тюнинг ателье",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "daily",
  "hint": "Видоизмените свой автомобиль в тюнинг-ателье.",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 68,
  "title": "Эксклюзивность",
  "description": "Установите винил в тюнинг ателье",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "daily",
  "hint": "Видоизмените свой автомобиль в тюнинг-ателье.",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 69,
  "title": "Интернет-герой",
  "description": "Напишите 1 СМС сообщений игрокам.",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "daily",
  "hint": "Для этого используйте телефон (P) и приложение Мессенджер",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 70,
  "title": "Пилот",
  "description": "Совершите 1 перелет пилотом",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "daily",
  "hint": "Выполните указанную цель на работе. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 71,
  "title": "Активный игрок",
  "description": "Получите 1 ежедневную награду",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "daily",
  "hint": "Получите 1 ежедневную награду из приложения Ежедневные награды в телефоне (P)",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 72,
  "title": "Покупатель",
  "description": "Приобретите любой автомобиль",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "daily",
  "hint": "Купите автомобиль с рук или в автосалоне.",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 73,
  "title": "Ставочник",
  "description": "Сделайте 2 ставки в букмекерской конторе",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 2,
  "categoryId": "daily",
  "hint": "Поставьте ставки на любые 2 события. Найти букмекерскую контору возможно: телефон (P) - GPS - Ближайшие места",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 74,
  "title": "Будем знакомы",
  "description": "Пожмите руку 3 игрокам",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 3,
  "categoryId": "daily",
  "hint": "Поздоровайтесь с 3 игроками при помощи радиального меню или команды /hi ID.",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}, {
  "id": 75,
  "title": "Агрессивный маркетинг",
  "description": "Арендуйте 1 билборд",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "daily",
  "hint": "Для аренды билборда отправляйтесь в здание Новостного агенства. Найти его можно: телефон (P) - GPS - Фракции",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (5 ед.)",
    "item": 233
  }]
}, {
  "id": 76,
  "title": "Поиск клиента",
  "description": "Отправьте 1 любое объявлений в СМИ",
  "image": "bp_exp_coins",
  "prizeValue": 5,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "daily",
  "hint": "Для отправки сообщения используйте команду /ad.",
  "rewards": [{
    "name": "Уличные монеты (2 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (5 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (1 ед.)",
    "item": 1
  }]
}]), CATEGORIES.Premium, [{
  "id": 0,
  "title": "Заправщик",
  "description": "Заправьте авто на АЗС",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "premium",
  "hint": "Найдите ближайшую АЗС и заправьте свой автомобиль 1 раз, находясь на заправке.",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 1,
  "title": "Администрация",
  "description": "Посетите Мэрию города",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "premium",
  "hint": "Посетите Мэрию г. Арзамас. Ее месторасположение Вы можете узнать через телефон (P) - GPS - Фракции",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 2,
  "title": "Полиция",
  "description": "Посетите Полицию города",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "premium",
  "hint": "Посетите Полицию г. Арзамас. Ее месторасположение Вы можете узнать через телефон (P) - GPS - Фракции",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 3,
  "title": "Больной",
  "description": "Посетите Больницу города",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "premium",
  "hint": "Посетите Больницу г. Арзамас. Ее месторасположение Вы можете узнать через телефон (P) - GPS - Фракции",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 4,
  "title": "Пассажир",
  "description": "Воспользуйтесь услугами такси",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "premium",
  "hint": "Закажите такси и проедьте на нем любое расстояние. Заказать такси можно через телефон (P) - Такси",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 5,
  "title": "Арендатель",
  "description": "Воспользуйтесь услугами каршеринга",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "premium",
  "hint": "Арендуйте каршеринговый автомобиль и проедьте на нем любое расстояние. Арендовать автомобиль можно на парковках города",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 6,
  "title": "Мир роскоши",
  "description": "Посетите казино",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "premium",
  "hint": "Посетите Казино. Ее месторасположение Вы можете узнать через телефон (P) - GPS - Развлечения",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 7,
  "title": "Кости",
  "description": "Сыграйте в кости 1 раз в Казино ",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "premium",
  "hint": "Отправляйтесь в мир роскоши и богатства - Казино и сыграйте 1 раз в кости.",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 8,
  "title": "Картошечка",
  "description": "Купите 2 пачки чипсов",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 2,
  "categoryId": "premium",
  "hint": "Купите 2 пачки чипсов в любом супермаркете.",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 9,
  "title": "Аноним",
  "description": "Купите 1 маску",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "premium",
  "hint": "Купите 1 маску в любом супермаркете.",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 10,
  "title": "Попрошайка",
  "description": "Сыграйте на гитаре 1 любую песню",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "premium",
  "hint": "Акустическую гитару можно скрафтить на центральном рынке, а затем использовать через инвентарь",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 11,
  "title": "Буксир",
  "description": "Подцепите любую машину с помощью фаркопа",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "premium",
  "hint": "Фаркоп можно приобрести в магазине на одной из АЗС",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 12,
  "title": "Тест драйв",
  "description": "Протестируйте любую машину на горном тест-драйве",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "premium",
  "hint": "Горный тест-драйв можно найти с помощью Телефон (P) - GPS - Транспорт",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 13,
  "title": "Богатей",
  "description": "Начните раздачу денег малоимущим в центральном банке",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "premium",
  "hint": "На специальном маркере в центральном банке начните раздачу средств малоимущим",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 14,
  "title": "Спортсмен",
  "description": "Начните тренировку в спортзале округа",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "premium",
  "hint": "Спортзал можно найти с помощью Телефон (P) - GPS - Интересные места",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 15,
  "title": "Крыса",
  "description": "Закажите любого игрока киллерам",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "premium",
  "hint": "Найти агенство киллеров можно с помощью Телефон (P) - GPS - Работы",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 16,
  "title": "Киллер",
  "description": "Выполните любой заказ будучи киллером",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "premium",
  "hint": "Найти агенство киллеров можно с помощью Телефон (P) - GPS - Работы",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 17,
  "title": "Пользователь",
  "description": "Воспользуйтесь услугами банкомата",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "premium",
  "hint": "Найти ближайший банкомат можно с помощью Телефон (P) - GPS - Поиск",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 18,
  "title": "Гурам",
  "description": "Воспользуйтесь любой услугой Гурама",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "premium",
  "hint": "Гурам - продавец возле черного рынка. Найти его можно с помощью Телефон (P) - GPS - Торговля",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 19,
  "title": "Серый импорт",
  "description": "Купите любой товар на черном рынке",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "premium",
  "hint": "На черном рынке продаются нелегальные товары. Найти его можно с помощью Телефон (P) - GPS - Торговля",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 20,
  "title": "Хлопок",
  "description": "Добыть 20 ед. ресурса Хлопок",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 20,
  "categoryId": "premium",
  "hint": "Отправляйтесь на Ферму и добудьте 20 ед. хлопка. Найти ферму можно: телефон (P) - GPS - Добыча ресурсов",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 21,
  "title": "Камень",
  "description": "Добыть 10 ед. ресурса Камень",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 10,
  "categoryId": "premium",
  "hint": "Отправляйтесь на Шахту и добудьте 10 ед. камня. Найти шахту можно: телефон (P) - GPS - Добыча ресурсов",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 22,
  "title": "Кладоискатель",
  "description": "Откопайте 1 любой предмет на Кладоискателе",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "premium",
  "hint": "Отправляйтесь на раскопки предметов. Найти место можно через телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 23,
  "title": "Металл",
  "description": "Добыть 5 ед. ресурса Металл",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 5,
  "categoryId": "premium",
  "hint": "Отправляйтесь на Шахту и добудьте 5 ед. металла. Найти шахту можно: телефон (P) - GPS - Добыча ресурсов",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 24,
  "title": "Бронза",
  "description": "Добыть 5 ед. ресурса Бронза",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 5,
  "categoryId": "premium",
  "hint": "Отправляйтесь на Шахту и добудьте 5 ед. бронзы. Найти шахту можно: телефон (P) - GPS - Добыча ресурсов",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 25,
  "title": "Серебро",
  "description": "Добыть 5 ед. ресурса Серебро",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 5,
  "categoryId": "premium",
  "hint": "Отправляйтесь на Шахту и добудьте 5 ед. серебра. Найти шахту можно: телефон (P) - GPS - Добыча ресурсов",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 26,
  "title": "Золото",
  "description": "Добыть 3 ед. ресурса Золото",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 3,
  "categoryId": "premium",
  "hint": "Отправляйтесь на Шахту и добудьте 3 ед. золота. Найти шахту можно: телефон (P) - GPS - Добыча ресурсов",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 27,
  "title": "Четко по плану",
  "description": "Проехать 250 чекпоинтов на работе автобусника",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 250,
  "categoryId": "premium",
  "hint": "Выполните указанную цель на работе. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 28,
  "title": "Премиальные автобусника",
  "description": "Получите 5 ларцов автобусника во время работы",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 5,
  "categoryId": "premium",
  "hint": "Выполните указанную цель на работе. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 29,
  "title": "Перевозчик",
  "description": "Перевезите 10 пассажиров на такси",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 10,
  "categoryId": "premium",
  "hint": "Выполните указанную цель на работе. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 30,
  "title": "Нет своей машины",
  "description": "Потратьте на поездки в такси 2.000.000 руб.",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 2000000,
  "categoryId": "premium",
  "hint": "Закажите такси и потратьте более 2.000.000 рублей на поездки за все время.",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 31,
  "title": "Не старая машина",
  "description": "Скрутить пробег с 15 авто будучи механиком",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 15,
  "categoryId": "premium",
  "hint": "Выполните указанную цель на работе. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 32,
  "title": "Диагностика",
  "description": "Почините 2 раза своё авто на СТО",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 2,
  "categoryId": "premium",
  "hint": "Отправляйтесь в СТО и почините свой автомобиль 2 раза.",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 33,
  "title": "Любимая машина",
  "description": "Потратьте на услуги механиков 500.000 руб.",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 500000,
  "categoryId": "premium",
  "hint": "Отправляйтесь в СТО и потратьте на услуги механиков 500.000 рублей. Можете ремонтировать: шины, масло, диагностика.",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 34,
  "title": "Санитар",
  "description": "Разгрузите 20 контейнеров с мусором на работе мусоровозчика",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 20,
  "categoryId": "premium",
  "hint": "Выполните указанную цель на работе. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 35,
  "title": "Утилизация",
  "description": "Отвезти 5 раз мусор на свалку на работе мусоровозчика",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 5,
  "categoryId": "premium",
  "hint": "Выполните указанную цель на работе. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 36,
  "title": "Без проблем",
  "description": "Выполните 20 рейсов на работе водителя трамвая",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 20,
  "categoryId": "premium",
  "hint": "Выполните указанную цель на работе. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 37,
  "title": "Нужно постараться",
  "description": "Выполните 7 рейсов на работе водителя трамвая без предупреждений",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 7,
  "categoryId": "premium",
  "hint": "Выполните указанную цель на работе. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 38,
  "title": "Легкие деньги",
  "description": "Развезите 25.000.000 будучи инкассатором",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 25000000,
  "categoryId": "premium",
  "hint": "Выполните указанную цель на работе. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 39,
  "title": "Загрузка",
  "description": "Посетите загрузку инкассации 10 раз",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 10,
  "categoryId": "premium",
  "hint": "Выполните указанную цель на работе. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 40,
  "title": "Победа",
  "description": "Получите 2 ларца инкассатора",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 2,
  "categoryId": "premium",
  "hint": "Выполните указанную цель на работе. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 41,
  "title": "Старший машинист",
  "description": "Выполните 25 рейсов на работе машиниста электропоезда",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 25,
  "categoryId": "premium",
  "hint": "Выполните указанную цель на работе. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 42,
  "title": "Внимательный",
  "description": "Выполните 5 рейсов на работе машиниста электропоезда без предупреждений",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 5,
  "categoryId": "premium",
  "hint": "Выполните указанную цель на работе. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 43,
  "title": "План недели",
  "description": "Доставьте 20 грузов будучи дальнобойщиком",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 20,
  "categoryId": "premium",
  "hint": "Выполните указанную цель на работе. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 44,
  "title": "Случайный груз",
  "description": "Доставьте 5 случайных грузов будучи дальнобойщиком",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 5,
  "categoryId": "premium",
  "hint": "Случайные грузы можно найти недалеко от дорог. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 45,
  "title": "Охотник 1",
  "description": "Подберите тушу 10 медведей на охоте",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 10,
  "categoryId": "premium",
  "hint": "Для выполнения этого задания вам необходимо иметь оружие. Отправляйтесь на Охоту. Найти ее можно: телефон (P) - GPS - Города и поселки - Охотничья деревня",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 46,
  "title": "Охотник 2",
  "description": "Подберите тушу 10 оленей на охоте",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 10,
  "categoryId": "premium",
  "hint": "Для выполнения этого задания вам необходимо иметь оружие. Отправляйтесь на Охоту. Найти ее можно: телефон (P) - GPS - Города и поселки - Охотничья деревня",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 47,
  "title": "Охотник 3",
  "description": "Подберите тушу 10 кабанов на охоте",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 10,
  "categoryId": "premium",
  "hint": "Для выполнения этого задания вам необходимо иметь оружие. Отправляйтесь на Охоту. Найти ее можно: телефон (P) - GPS - Города и поселки - Охотничья деревня",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 48,
  "title": "Мясник",
  "description": "Разделайте 20 туш",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 20,
  "categoryId": "premium",
  "hint": "Для выполнения этого задания отправляйтесь на скотобойню. Найти ее можно: телефон (P) - GPS - Добыча ресурсов",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 49,
  "title": "Любитель",
  "description": "Продайте 50 шт. рыбы",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 50,
  "categoryId": "premium",
  "hint": "Выполните указанную цель на работе. Найти место для рыбалки можно: телефон (P) - GPS - Добыча ресурсов",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 50,
  "title": "Рыбак",
  "description": "Продайте 200 кг. рыбы",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 200,
  "categoryId": "premium",
  "hint": "Выполните указанную цель на работе. Найти место для рыбалки можно: телефон (P) - GPS - Добыча ресурсов",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 51,
  "title": "Удочка",
  "description": "Приобретите 60 ед. наживки",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 60,
  "categoryId": "premium",
  "hint": "Выполните указанную цель на работе. Найти место для рыбалки можно: телефон (P) - GPS - Добыча ресурсов",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 52,
  "title": "Отмычка",
  "description": "Угоните 2 машины",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 2,
  "categoryId": "premium",
  "hint": "Для угона приобретите отмычку. Воспользуйтесь ей через инвентарь у автомобиля. Сдайте автомобиль на кладоискателе. Найти его можно через телефон (P) - GPS - Работы",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 53,
  "title": "Медвежатник",
  "description": "Приобретите противоугонную защиту",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "premium",
  "hint": "Приобретите противоугонную систему на АЗС.",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 54,
  "title": "Инцидент",
  "description": "Получите 1 ларец пожарного",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "premium",
  "hint": "Выполните указанную цель на работе. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 55,
  "title": "Передаем за проезд",
  "description": "Заработать 500.000 руб. автобусником",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 500000,
  "categoryId": "premium",
  "hint": "Заработайте указанную сумму на работе. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 56,
  "title": "Выручка",
  "description": "Заработайте 300.000 руб. на такси",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 300000,
  "categoryId": "premium",
  "hint": "Выполните указанную цель на работе. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Такси",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 57,
  "title": "Масляные деньги",
  "description": "Заработайте 200.000 работая механиком",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 200000,
  "categoryId": "premium",
  "hint": "Выполните указанную цель на работе. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 58,
  "title": "Мусорные деньги",
  "description": "Заработайте на работе мусоровозчика 100.000 руб.",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 100000,
  "categoryId": "premium",
  "hint": "Выполните указанную цель на работе. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 59,
  "title": "Трамвайщик",
  "description": "Заработайте водителем трамвая 300.000 руб.",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 300000,
  "categoryId": "premium",
  "hint": "Выполните указанную цель на работе. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 60,
  "title": "Получка",
  "description": "Заработайте инкассатором 300.000 руб.",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 300000,
  "categoryId": "premium",
  "hint": "Выполните указанную цель на работе. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 61,
  "title": "Попытка",
  "description": "Откройте 2 ларца инкассатора",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 2,
  "categoryId": "premium",
  "hint": "Получить ларец можно, работая инкассатором.",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 62,
  "title": "Машинист",
  "description": "Заработайте машинистом электропоезда 500.000 руб.",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 500000,
  "categoryId": "premium",
  "hint": "Выполните указанную цель на работе. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 63,
  "title": "Дальний путь",
  "description": "Заработайте дальнобойщиком 1.000.000",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 1000000,
  "categoryId": "premium",
  "hint": "Выполните указанную цель на работе. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 64,
  "title": "Автолюбитель",
  "description": "Откройте 2 автоящика",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 2,
  "categoryId": "premium",
  "hint": "Откройте указанный ящик. Для открытия используйте инвентарь. Получить ящик можно в донат-магазине или купить на центральном рынке.",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 65,
  "title": "Мотолюбитель",
  "description": "Откройте 2 мотоящика",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 2,
  "categoryId": "premium",
  "hint": "Откройте указанный ящик. Для открытия используйте инвентарь. Получить ящик можно в донат-магазине или купить на центральном рынке.",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 66,
  "title": "Фанат",
  "description": "Откройте 2 ящика американских звезд",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 2,
  "categoryId": "premium",
  "hint": "Откройте указанный ящик. Для открытия используйте инвентарь. Получить ящик можно в донат-магазине или купить на центральном рынке.",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 67,
  "title": "Премия",
  "description": "Откройте 2 ларца с премией",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 2,
  "categoryId": "premium",
  "hint": "Откройте указанный ларец. Для открытия используйте инвентарь. Получить ящик можно в донат-магазине или купить на центральном рынке.",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 68,
  "title": "Ценитель",
  "description": "Откройте 2 ларца легендарных авто",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 2,
  "categoryId": "premium",
  "hint": "Откройте указанный ларец. Для открытия используйте инвентарь. Получить ящик можно в донат-магазине или купить на центральном рынке.",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 69,
  "title": "Богатый",
  "description": "Откройте 2 ларца олигарха",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 2,
  "categoryId": "premium",
  "hint": "Откройте указанный ларец. Для открытия используйте инвентарь. Получить ящик можно в донат-магазине или купить на центральном рынке.",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 70,
  "title": "Тюнинг 2",
  "description": "Установите капот в тюнинг ателье",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "premium",
  "hint": "Видоизмените свой автомобиль в тюнинг-ателье.",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 71,
  "title": "Не печет",
  "description": "Установите тонировку в тюнинг ателье",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "premium",
  "hint": "Видоизмените свой автомобиль в тюнинг-ателье.",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 72,
  "title": "Колеса",
  "description": "Установите диски в тюнинг ателье",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 1,
  "categoryId": "premium",
  "hint": "Видоизмените свой автомобиль в тюнинг-ателье.",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 73,
  "title": "Настоящий ас!",
  "description": "Заработайте пилотом 200.000",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 200000,
  "categoryId": "premium",
  "hint": "Выполните указанную цель на работе. Трудоустроиться можно с помощью приложения в телефоне. Найти его можно: Телефон (P) - Работы",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 74,
  "title": "На эмоциях",
  "description": "Сделайте ставку суммой в 500.000 руб. в букмекерской конторе",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 500000,
  "categoryId": "premium",
  "hint": "Сделайте ставку суммой в 500.000 руб. Найти букмекерскую контору возможно: телефон (P) - GPS - Ближайшие места",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}, {
  "id": 75,
  "title": "Лесник",
  "description": "Заработайте на охоте 300.000 руб.",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 300000,
  "categoryId": "premium",
  "hint": "Выполните указанную цель на работе. Найти охотничью деревню можно: телефон (P) - GPS - Города и поселки",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "Рандомный ларец (3 ед.)",
    "item": 1
  }]
}, {
  "id": 76,
  "title": "Ловля по воздуху",
  "description": "Заработайте на рыбалке 100.000 руб.",
  "image": "bp_exp_coins",
  "prizeValue": 10,
  "currentProgress": 0,
  "totalProgress": 100000,
  "categoryId": "premium",
  "hint": "Выполните указанную цель на работе. Найти рыбацкую деревню можно: телефон (P) - GPS - Города и поселки",
  "rewards": [{
    "name": "Уличные монеты (4 ед.)",
    "item": 6868
  }, {
    "name": "Очки опыта (10 ед.)",
    "item": 1024
  }, {
    "name": "AZ Coins (15 ед.)",
    "item": 233
  }]
}]);
;// CONCATENATED MODULE: ./src/views/battle-pass/components/quests/index.svelte
/* src\views\battle-pass\components\quests\index.svelte generated by Svelte v3.49.0 */






// import { sendClientMessage } from 'utils/cef';















function components_quests_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[22] = list[i];
	return child_ctx;
}

function components_quests_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[25] = list[i];
	return child_ctx;
}

function quests_index_svelte_get_each_context_2(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[28] = list[i];
	return child_ctx;
}

// (290:4) {:else}
function components_quests_index_svelte_create_else_block_2(ctx) {
	let div;
	let loader;
	let current;
	loader = new loader_index_svelte({ props: { style: 'fade' } });

	return {
		c() {
			div = internal_element("div");
			create_component(loader.$$.fragment);
			attr(div, "class", "battle-pass-quests__loader-wrapper");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(loader, div, null);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(loader.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(loader.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(loader);
		}
	};
}

// (128:4) {#if initializeComplete}
function components_quests_index_svelte_create_if_block(ctx) {
	let div10;
	let div2;
	let div0;
	let t0_value = /*$battlePassData*/ ctx[4].level + "";
	let t0;
	let t1;
	let div1;
	let t3;
	let div8;
	let div5;
	let div3;
	let t5;
	let div4;
	let t6_value = `${/*$battlePassData*/ ctx[4].exp} / ${/*$battlePassData*/ ctx[4].maxExp}` + "";
	let t6;
	let t7;
	let img;
	let img_src_value;
	let t8;
	let div7;
	let div6;
	let t9;
	let div9;
	let t11;
	let div33;
	let div32;
	let div14;
	let show_if_3 = !(0,lodash.isEmpty)(/*selectedQuest*/ ctx[3]);
	let t12;
	let div13;
	let i;
	let t13;
	let div12;
	let div11;
	let t15;
	let show_if_2 = !(0,lodash.isEmpty)(/*$battlePassData*/ ctx[4]);
	let t16;
	let div17;
	let div15;
	let raw_value = `${MAP_CATEGORY_TO_NAME[/*selectedCategory*/ ctx[1]]}` + "";
	let t17;
	let div16;
	let show_if_1 = !(0,lodash.isNil)(/*$quests*/ ctx[0][/*selectedCategory*/ ctx[1]]);
	let t18;
	let div31;
	let div30;
	let div18;
	let t19_value = /*selectedQuest*/ ctx[3].title + "";
	let t19;
	let t20;
	let div19;
	let t21_value = /*selectedQuest*/ ctx[3].hint + "";
	let t21;
	let t22;
	let div27;
	let div24;
	let div22;
	let div20;
	let t23_value = formatMoney(Math.min(/*selectedQuest*/ ctx[3].currentProgress, /*selectedQuest*/ ctx[3].totalProgress)) + "";
	let t23;
	let t24;
	let div21;
	let t25;
	let t26_value = formatMoney(/*selectedQuest*/ ctx[3].totalProgress) + "";
	let t26;
	let t27;
	let div23;
	let t28;
	let div26;
	let div25;
	let t29;
	let div28;
	let t31;
	let div29;
	let show_if = !(0,lodash.isNil)(/*selectedQuest*/ ctx[3]);
	let t32;
	let current;
	let mounted;
	let dispose;
	let if_block0 = show_if_3 && quests_index_svelte_create_if_block_8(ctx);
	let if_block1 = show_if_2 && components_quests_index_svelte_create_if_block_7(ctx);
	let if_block2 = show_if_1 && components_quests_index_svelte_create_if_block_4(ctx);

	function select_block_type_2(ctx, dirty) {
		if (/*selectedQuest*/ ctx[3].currentProgress < /*selectedQuest*/ ctx[3].totalProgress) return components_quests_index_svelte_create_if_block_3;
		return components_quests_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type_2(ctx, -1);
	let if_block3 = current_block_type(ctx);
	let if_block4 = show_if && components_quests_index_svelte_create_if_block_2(ctx);
	let if_block5 = /*$battlePassData*/ ctx[4].premium === 0 && /*selectedCategory*/ ctx[1] === CATEGORIES.Premium && components_quests_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			div10 = internal_element("div");
			div2 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			div1 = internal_element("div");
			div1.textContent = "ур.";
			t3 = space();
			div8 = internal_element("div");
			div5 = internal_element("div");
			div3 = internal_element("div");
			div3.textContent = "Опыт пропуска:";
			t5 = space();
			div4 = internal_element("div");
			t6 = internal_text(t6_value);
			t7 = space();
			img = internal_element("img");
			t8 = space();
			div7 = internal_element("div");
			div6 = internal_element("div");
			t9 = space();
			div9 = internal_element("div");
			div9.textContent = "Купить уровень";
			t11 = space();
			div33 = internal_element("div");
			div32 = internal_element("div");
			div14 = internal_element("div");
			if (if_block0) if_block0.c();
			t12 = space();
			div13 = internal_element("div");
			i = internal_element("i");
			t13 = space();
			div12 = internal_element("div");
			div11 = internal_element("div");
			div11.textContent = "До обновления заданий:";
			t15 = space();
			if (if_block1) if_block1.c();
			t16 = space();
			div17 = internal_element("div");
			div15 = internal_element("div");
			t17 = space();
			div16 = internal_element("div");
			if (if_block2) if_block2.c();
			t18 = space();
			div31 = internal_element("div");
			div30 = internal_element("div");
			div18 = internal_element("div");
			t19 = internal_text(t19_value);
			t20 = space();
			div19 = internal_element("div");
			t21 = internal_text(t21_value);
			t22 = space();
			div27 = internal_element("div");
			div24 = internal_element("div");
			div22 = internal_element("div");
			div20 = internal_element("div");
			t23 = internal_text(t23_value);
			t24 = space();
			div21 = internal_element("div");
			t25 = internal_text(" / ");
			t26 = internal_text(t26_value);
			t27 = space();
			div23 = internal_element("div");
			if_block3.c();
			t28 = space();
			div26 = internal_element("div");
			div25 = internal_element("div");
			t29 = space();
			div28 = internal_element("div");
			div28.textContent = "Награды:";
			t31 = space();
			div29 = internal_element("div");
			if (if_block4) if_block4.c();
			t32 = space();
			if (if_block5) if_block5.c();
			attr(div0, "class", "battle-pass-quests__level-current-value");
			attr(div1, "class", "battle-pass-quests__level-current-caption");
			attr(div2, "class", "battle-pass-quests__level-current");
			attr(div3, "class", "battle-pass-quests__level-counter-title");
			if (!src_url_equal(img.src, img_src_value = star_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "bpCoins");
			attr(img, "class", "battle-pass-quests__level-counter-icon");
			attr(div4, "class", "battle-pass-quests__level-counter-current");
			attr(div5, "class", "battle-pass-quests__level-counter-wrapper");
			attr(div6, "class", "battle-pass-quests__level-counter-progress-bar-current");
			set_style(div6, "--currentProgress", countPercents(/*$battlePassData*/ ctx[4].exp, /*$battlePassData*/ ctx[4].maxExp) + "%");
			attr(div7, "class", "battle-pass-quests__level-counter-progress-bar");
			attr(div8, "class", "battle-pass-quests__level-counter");
			attr(div9, "class", "battle-pass-quests__level-purchase-button");
			attr(div10, "class", "battle-pass-quests__level");
			attr(i, "class", "battle-pass-quests__timer-icon icon-refresh-timer");
			attr(div11, "class", "battle-pass-quests__timer-caption");
			attr(div12, "class", "battle-pass-quests__timer-info");
			attr(div13, "class", "battle-pass-quests__timer");
			attr(div14, "class", "battle-pass-quests__side-bar");
			attr(div15, "class", "battle-pass-quests__main-title");
			attr(div16, "class", "battle-pass-quests__quests");
			attr(div17, "class", "battle-pass-quests__quests-wrapper");
			attr(div18, "class", "battle-pass-quests__details-title");
			attr(div19, "class", "battle-pass-quests__details-description");
			toggle_class(div19, "battle-pass-quests__details-description--locked", /*$battlePassData*/ ctx[4].premium === 0 && /*selectedCategory*/ ctx[1] === CATEGORIES.Premium);
			attr(div20, "class", "battle-pass-quests__details-progress-current");
			attr(div21, "class", "battle-pass-quests__details-progress-total");
			attr(div22, "class", "battle-pass-quests__details-progress-count");
			attr(div23, "class", "battle-pass-quests__details-progress-percents");
			attr(div24, "class", "battle-pass-quests__details-progress-marks");
			toggle_class(div24, "battle-pass-quests__details-progress-marks--complete", /*selectedQuest*/ ctx[3].currentProgress >= /*selectedQuest*/ ctx[3].totalProgress);
			attr(div25, "class", "battle-pass-quests__details-progress-bar battle-pass-quests__details-progress-bar--current");
			toggle_class(div25, "battle-pass-quests__details-progress-bar--complete", /*selectedQuest*/ ctx[3].currentProgress >= /*selectedQuest*/ ctx[3].totalProgress);
			attr(div26, "class", "battle-pass-quests__details-progress-bar");
			set_style(div26, "--details-progress-percents", `${Math.floor(countPercents(/*selectedQuest*/ ctx[3].currentProgress, /*selectedQuest*/ ctx[3].totalProgress))}%`);
			attr(div27, "class", "battle-pass-quests__details-progress-wrapper");
			attr(div28, "class", "battle-pass-quests__rewards-caption");
			attr(div29, "class", "battle-pass-quests__details-rewards");
			attr(div30, "class", "battle-pass-quests__details-wrapper");
			toggle_class(div30, "battle-pass-quests__details-wrapper--locked", /*$battlePassData*/ ctx[4].premium === 0 && /*selectedCategory*/ ctx[1] === CATEGORIES.Premium);
			attr(div31, "class", "battle-pass-quests__details");
			toggle_class(div31, "battle-pass-quests__details--premium", /*selectedCategory*/ ctx[1] === CATEGORIES.Premium);
			attr(div32, "class", "battle-pass-quests__main-wrapper");
			attr(div33, "class", "battle-pass-quests__main");
		},
		m(target, anchor) {
			insert(target, div10, anchor);
			append(div10, div2);
			append(div2, div0);
			append(div0, t0);
			append(div2, t1);
			append(div2, div1);
			append(div10, t3);
			append(div10, div8);
			append(div8, div5);
			append(div5, div3);
			append(div5, t5);
			append(div5, div4);
			append(div4, t6);
			append(div4, t7);
			append(div4, img);
			append(div8, t8);
			append(div8, div7);
			append(div7, div6);
			append(div10, t9);
			append(div10, div9);
			insert(target, t11, anchor);
			insert(target, div33, anchor);
			append(div33, div32);
			append(div32, div14);
			if (if_block0) if_block0.m(div14, null);
			append(div14, t12);
			append(div14, div13);
			append(div13, i);
			append(div13, t13);
			append(div13, div12);
			append(div12, div11);
			append(div12, t15);
			if (if_block1) if_block1.m(div12, null);
			append(div32, t16);
			append(div32, div17);
			append(div17, div15);
			div15.innerHTML = raw_value;
			append(div17, t17);
			append(div17, div16);
			if (if_block2) if_block2.m(div16, null);
			append(div32, t18);
			append(div32, div31);
			append(div31, div30);
			append(div30, div18);
			append(div18, t19);
			append(div30, t20);
			append(div30, div19);
			append(div19, t21);
			append(div30, t22);
			append(div30, div27);
			append(div27, div24);
			append(div24, div22);
			append(div22, div20);
			append(div20, t23);
			append(div22, t24);
			append(div22, div21);
			append(div21, t25);
			append(div21, t26);
			append(div24, t27);
			append(div24, div23);
			if_block3.m(div23, null);
			append(div27, t28);
			append(div27, div26);
			append(div26, div25);
			append(div30, t29);
			append(div30, div28);
			append(div30, t31);
			append(div30, div29);
			if (if_block4) if_block4.m(div29, null);
			append(div31, t32);
			if (if_block5) if_block5.m(div31, null);
			current = true;

			if (!mounted) {
				dispose = listen(div9, "click", /*click_handler*/ ctx[10]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if ((!current || dirty & /*$battlePassData*/ 16) && t0_value !== (t0_value = /*$battlePassData*/ ctx[4].level + "")) set_data(t0, t0_value);
			if ((!current || dirty & /*$battlePassData*/ 16) && t6_value !== (t6_value = `${/*$battlePassData*/ ctx[4].exp} / ${/*$battlePassData*/ ctx[4].maxExp}` + "")) set_data(t6, t6_value);

			if (!current || dirty & /*$battlePassData*/ 16) {
				set_style(div6, "--currentProgress", countPercents(/*$battlePassData*/ ctx[4].exp, /*$battlePassData*/ ctx[4].maxExp) + "%");
			}

			if (dirty & /*selectedQuest*/ 8) show_if_3 = !(0,lodash.isEmpty)(/*selectedQuest*/ ctx[3]);

			if (show_if_3) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = quests_index_svelte_create_if_block_8(ctx);
					if_block0.c();
					if_block0.m(div14, t12);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty & /*$battlePassData*/ 16) show_if_2 = !(0,lodash.isEmpty)(/*$battlePassData*/ ctx[4]);

			if (show_if_2) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = components_quests_index_svelte_create_if_block_7(ctx);
					if_block1.c();
					if_block1.m(div12, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if ((!current || dirty & /*selectedCategory*/ 2) && raw_value !== (raw_value = `${MAP_CATEGORY_TO_NAME[/*selectedCategory*/ ctx[1]]}` + "")) div15.innerHTML = raw_value;;
			if (dirty & /*$quests, selectedCategory*/ 3) show_if_1 = !(0,lodash.isNil)(/*$quests*/ ctx[0][/*selectedCategory*/ ctx[1]]);

			if (show_if_1) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = components_quests_index_svelte_create_if_block_4(ctx);
					if_block2.c();
					if_block2.m(div16, null);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			if ((!current || dirty & /*selectedQuest*/ 8) && t19_value !== (t19_value = /*selectedQuest*/ ctx[3].title + "")) set_data(t19, t19_value);
			if ((!current || dirty & /*selectedQuest*/ 8) && t21_value !== (t21_value = /*selectedQuest*/ ctx[3].hint + "")) set_data(t21, t21_value);

			if (dirty & /*$battlePassData, selectedCategory, CATEGORIES*/ 18) {
				toggle_class(div19, "battle-pass-quests__details-description--locked", /*$battlePassData*/ ctx[4].premium === 0 && /*selectedCategory*/ ctx[1] === CATEGORIES.Premium);
			}

			if ((!current || dirty & /*selectedQuest*/ 8) && t23_value !== (t23_value = formatMoney(Math.min(/*selectedQuest*/ ctx[3].currentProgress, /*selectedQuest*/ ctx[3].totalProgress)) + "")) set_data(t23, t23_value);
			if ((!current || dirty & /*selectedQuest*/ 8) && t26_value !== (t26_value = formatMoney(/*selectedQuest*/ ctx[3].totalProgress) + "")) set_data(t26, t26_value);

			if (current_block_type === (current_block_type = select_block_type_2(ctx, dirty)) && if_block3) {
				if_block3.p(ctx, dirty);
			} else {
				if_block3.d(1);
				if_block3 = current_block_type(ctx);

				if (if_block3) {
					if_block3.c();
					if_block3.m(div23, null);
				}
			}

			if (dirty & /*selectedQuest*/ 8) {
				toggle_class(div24, "battle-pass-quests__details-progress-marks--complete", /*selectedQuest*/ ctx[3].currentProgress >= /*selectedQuest*/ ctx[3].totalProgress);
			}

			if (dirty & /*selectedQuest*/ 8) {
				toggle_class(div25, "battle-pass-quests__details-progress-bar--complete", /*selectedQuest*/ ctx[3].currentProgress >= /*selectedQuest*/ ctx[3].totalProgress);
			}

			if (!current || dirty & /*selectedQuest*/ 8) {
				set_style(div26, "--details-progress-percents", `${Math.floor(countPercents(/*selectedQuest*/ ctx[3].currentProgress, /*selectedQuest*/ ctx[3].totalProgress))}%`);
			}

			if (dirty & /*selectedQuest*/ 8) show_if = !(0,lodash.isNil)(/*selectedQuest*/ ctx[3]);

			if (show_if) {
				if (if_block4) {
					if_block4.p(ctx, dirty);
				} else {
					if_block4 = components_quests_index_svelte_create_if_block_2(ctx);
					if_block4.c();
					if_block4.m(div29, null);
				}
			} else if (if_block4) {
				if_block4.d(1);
				if_block4 = null;
			}

			if (dirty & /*$battlePassData, selectedCategory, CATEGORIES*/ 18) {
				toggle_class(div30, "battle-pass-quests__details-wrapper--locked", /*$battlePassData*/ ctx[4].premium === 0 && /*selectedCategory*/ ctx[1] === CATEGORIES.Premium);
			}

			if (/*$battlePassData*/ ctx[4].premium === 0 && /*selectedCategory*/ ctx[1] === CATEGORIES.Premium) {
				if (if_block5) {
					if_block5.p(ctx, dirty);

					if (dirty & /*$battlePassData, selectedCategory*/ 18) {
						transition_in(if_block5, 1);
					}
				} else {
					if_block5 = components_quests_index_svelte_create_if_block_1(ctx);
					if_block5.c();
					transition_in(if_block5, 1);
					if_block5.m(div31, null);
				}
			} else if (if_block5) {
				group_outros();

				transition_out(if_block5, 1, 1, () => {
					if_block5 = null;
				});

				check_outros();
			}

			if (dirty & /*selectedCategory, CATEGORIES*/ 2) {
				toggle_class(div31, "battle-pass-quests__details--premium", /*selectedCategory*/ ctx[1] === CATEGORIES.Premium);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block5);
			current = true;
		},
		o(local) {
			transition_out(if_block5);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div10);
			if (detaching) detach(t11);
			if (detaching) detach(div33);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			if (if_block2) if_block2.d();
			if_block3.d();
			if (if_block4) if_block4.d();
			if (if_block5) if_block5.d();
			mounted = false;
			dispose();
		}
	};
}

// (153:20) {#if !isEmpty(selectedQuest)}
function quests_index_svelte_create_if_block_8(ctx) {
	let div;
	let each_value_2 = Object.values(CATEGORIES);
	let each_blocks = [];

	for (let i = 0; i < each_value_2.length; i += 1) {
		each_blocks[i] = quests_index_svelte_create_each_block_2(quests_index_svelte_get_each_context_2(ctx, each_value_2, i));
	}

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "battle-pass-quests__categories");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}
		},
		p(ctx, dirty) {
			if (dirty & /*selectedCategory, Object, CATEGORIES, selectCategory, MAP_CATEGORY_TO_NAME*/ 130) {
				each_value_2 = Object.values(CATEGORIES);
				let i;

				for (i = 0; i < each_value_2.length; i += 1) {
					const child_ctx = quests_index_svelte_get_each_context_2(ctx, each_value_2, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = quests_index_svelte_create_each_block_2(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_2.length;
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (155:28) {#each Object.values(CATEGORIES) as cat}
function quests_index_svelte_create_each_block_2(ctx) {
	let div;
	let html_tag;
	let raw_value = MAP_CATEGORY_TO_NAME[/*cat*/ ctx[28]] + "";
	let t;
	let mounted;
	let dispose;

	function click_handler_1() {
		return /*click_handler_1*/ ctx[11](/*cat*/ ctx[28]);
	}

	return {
		c() {
			div = internal_element("div");
			html_tag = new HtmlTag(false);
			t = space();
			html_tag.a = t;
			attr(div, "class", "battle-pass-quests__categories-item");
			toggle_class(div, "battle-pass-quests__categories-item--active", /*selectedCategory*/ ctx[1] === /*cat*/ ctx[28]);
			toggle_class(div, "battle-pass-quests__categories-item--premium", /*cat*/ ctx[28] === CATEGORIES.Premium);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			html_tag.m(raw_value, div);
			append(div, t);

			if (!mounted) {
				dispose = listen(div, "click", click_handler_1);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*selectedCategory, Object, CATEGORIES*/ 2) {
				toggle_class(div, "battle-pass-quests__categories-item--active", /*selectedCategory*/ ctx[1] === /*cat*/ ctx[28]);
			}

			if (dirty & /*Object, CATEGORIES*/ 0) {
				toggle_class(div, "battle-pass-quests__categories-item--premium", /*cat*/ ctx[28] === CATEGORIES.Premium);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (171:28) {#if !isEmpty($battlePassData)}
function components_quests_index_svelte_create_if_block_7(ctx) {
	let div;
	let t_value = /*calculateDaysLeft*/ ctx[6](/*$battlePassData*/ ctx[4].timestampMissionTime) + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "battle-pass-quests__timer-value");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*$battlePassData*/ 16 && t_value !== (t_value = /*calculateDaysLeft*/ ctx[6](/*$battlePassData*/ ctx[4].timestampMissionTime) + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (180:24) {#if !isNil($quests[selectedCategory])}
function components_quests_index_svelte_create_if_block_4(ctx) {
	let each_1_anchor;
	let each_value_1 = /*$quests*/ ctx[0][/*selectedCategory*/ ctx[1]];
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = components_quests_index_svelte_create_each_block_1(components_quests_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*selectedQuest, $quests, selectedCategory, selectQuest, BP_IMAGES_BASE_CDN_URL, Math, countPercents, formatMoney*/ 267) {
				each_value_1 = /*$quests*/ ctx[0][/*selectedCategory*/ ctx[1]];
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = components_quests_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = components_quests_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}
		},
		d(detaching) {
			destroy_each(each_blocks, detaching);
			if (detaching) detach(each_1_anchor);
		}
	};
}

// (182:32) {#if quest.visible}
function components_quests_index_svelte_create_if_block_5(ctx) {
	let div14;
	let div10;
	let div0;
	let t0_value = /*quest*/ ctx[25].title + "";
	let t0;
	let t1;
	let div1;
	let t2_value = /*quest*/ ctx[25].description + "";
	let t2;
	let t3;
	let div9;
	let div6;
	let div4;
	let div2;
	let t4_value = formatMoney(Math.min(/*quest*/ ctx[25].currentProgress, /*quest*/ ctx[25].totalProgress)) + "";
	let t4;
	let t5;
	let div3;
	let t6;
	let t7_value = formatMoney(/*quest*/ ctx[25].totalProgress) + "";
	let t7;
	let t8;
	let div5;
	let t9;
	let div8;
	let div7;
	let t10;
	let div13;
	let div11;
	let img;
	let img_src_value;
	let t11;
	let div12;
	let t12;
	let t13_value = /*quest*/ ctx[25].prizeValue + "";
	let t13;
	let t14;
	let t15;
	let mounted;
	let dispose;

	function select_block_type_1(ctx, dirty) {
		if (/*quest*/ ctx[25].currentProgress < /*quest*/ ctx[25].totalProgress) return components_quests_index_svelte_create_if_block_6;
		return components_quests_index_svelte_create_else_block_1;
	}

	let current_block_type = select_block_type_1(ctx, -1);
	let if_block = current_block_type(ctx);

	function click_handler_2() {
		return /*click_handler_2*/ ctx[12](/*quest*/ ctx[25]);
	}

	return {
		c() {
			div14 = internal_element("div");
			div10 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			div1 = internal_element("div");
			t2 = internal_text(t2_value);
			t3 = space();
			div9 = internal_element("div");
			div6 = internal_element("div");
			div4 = internal_element("div");
			div2 = internal_element("div");
			t4 = internal_text(t4_value);
			t5 = space();
			div3 = internal_element("div");
			t6 = internal_text(" / ");
			t7 = internal_text(t7_value);
			t8 = space();
			div5 = internal_element("div");
			if_block.c();
			t9 = space();
			div8 = internal_element("div");
			div7 = internal_element("div");
			t10 = space();
			div13 = internal_element("div");
			div11 = internal_element("div");
			img = internal_element("img");
			t11 = space();
			div12 = internal_element("div");
			t12 = internal_text("+");
			t13 = internal_text(t13_value);
			t14 = internal_text(" ед.");
			t15 = space();
			attr(div0, "class", "battle-pass-quests__item-title");
			attr(div1, "class", "battle-pass-quests__item-description");
			attr(div2, "class", "battle-pass-quests__progress-current");
			attr(div3, "class", "battle-pass-quests__progress-total");
			attr(div4, "class", "battle-pass-quests__progress-count");
			attr(div5, "class", "battle-pass-quests__progress-percents");
			attr(div6, "class", "battle-pass-quests__progress-marks");
			toggle_class(div6, "battle-pass-quests__progress-marks--complete", /*quest*/ ctx[25].currentProgress >= /*quest*/ ctx[25].totalProgress);
			attr(div7, "class", "battle-pass-quests__progress-bar battle-pass-quests__progress-bar--current");
			toggle_class(div7, "battle-pass-quests__progress-bar--complete", /*quest*/ ctx[25].currentProgress >= /*quest*/ ctx[25].totalProgress);
			attr(div8, "class", "battle-pass-quests__progress-bar");
			set_style(div8, "--progress-percents", `${Math.floor(countPercents(/*quest*/ ctx[25].currentProgress, /*quest*/ ctx[25].totalProgress))}%`);
			attr(div9, "class", "battle-pass-quests__progress-wrapper");
			attr(div10, "class", "battle-pass-quests__item-info");
			if (!src_url_equal(img.src, img_src_value = `${BP_IMAGES_BASE_CDN_URL}/${/*quest*/ ctx[25].image}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "reward");
			attr(img, "class", "battle-pass-quests__item-reward-image");
			attr(div11, "class", "battle-pass-quests__item-reward-image-wrapper");
			attr(div12, "class", "battle-pass-quests__item-reward-name");
			attr(div13, "class", "battle-pass-quests__item-reward");
			attr(div14, "class", "battle-pass-quests__item");
			toggle_class(div14, "battle-pass-quests__item--active", /*selectedQuest*/ ctx[3].id === /*quest*/ ctx[25].id);
		},
		m(target, anchor) {
			insert(target, div14, anchor);
			append(div14, div10);
			append(div10, div0);
			append(div0, t0);
			append(div10, t1);
			append(div10, div1);
			append(div1, t2);
			append(div10, t3);
			append(div10, div9);
			append(div9, div6);
			append(div6, div4);
			append(div4, div2);
			append(div2, t4);
			append(div4, t5);
			append(div4, div3);
			append(div3, t6);
			append(div3, t7);
			append(div6, t8);
			append(div6, div5);
			if_block.m(div5, null);
			append(div9, t9);
			append(div9, div8);
			append(div8, div7);
			append(div14, t10);
			append(div14, div13);
			append(div13, div11);
			append(div11, img);
			append(div13, t11);
			append(div13, div12);
			append(div12, t12);
			append(div12, t13);
			append(div12, t14);
			append(div14, t15);

			if (!mounted) {
				dispose = listen(div14, "click", click_handler_2);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if (dirty & /*$quests, selectedCategory*/ 3 && t0_value !== (t0_value = /*quest*/ ctx[25].title + "")) set_data(t0, t0_value);
			if (dirty & /*$quests, selectedCategory*/ 3 && t2_value !== (t2_value = /*quest*/ ctx[25].description + "")) set_data(t2, t2_value);
			if (dirty & /*$quests, selectedCategory*/ 3 && t4_value !== (t4_value = formatMoney(Math.min(/*quest*/ ctx[25].currentProgress, /*quest*/ ctx[25].totalProgress)) + "")) set_data(t4, t4_value);
			if (dirty & /*$quests, selectedCategory*/ 3 && t7_value !== (t7_value = formatMoney(/*quest*/ ctx[25].totalProgress) + "")) set_data(t7, t7_value);

			if (current_block_type === (current_block_type = select_block_type_1(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div5, null);
				}
			}

			if (dirty & /*$quests, selectedCategory*/ 3) {
				toggle_class(div6, "battle-pass-quests__progress-marks--complete", /*quest*/ ctx[25].currentProgress >= /*quest*/ ctx[25].totalProgress);
			}

			if (dirty & /*$quests, selectedCategory*/ 3) {
				toggle_class(div7, "battle-pass-quests__progress-bar--complete", /*quest*/ ctx[25].currentProgress >= /*quest*/ ctx[25].totalProgress);
			}

			if (dirty & /*$quests, selectedCategory*/ 3) {
				set_style(div8, "--progress-percents", `${Math.floor(countPercents(/*quest*/ ctx[25].currentProgress, /*quest*/ ctx[25].totalProgress))}%`);
			}

			if (dirty & /*$quests, selectedCategory*/ 3 && !src_url_equal(img.src, img_src_value = `${BP_IMAGES_BASE_CDN_URL}/${/*quest*/ ctx[25].image}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*$quests, selectedCategory*/ 3 && t13_value !== (t13_value = /*quest*/ ctx[25].prizeValue + "")) set_data(t13, t13_value);

			if (dirty & /*selectedQuest, $quests, selectedCategory*/ 11) {
				toggle_class(div14, "battle-pass-quests__item--active", /*selectedQuest*/ ctx[3].id === /*quest*/ ctx[25].id);
			}
		},
		d(detaching) {
			if (detaching) detach(div14);
			if_block.d();
			mounted = false;
			dispose();
		}
	};
}

// (205:56) {:else}
function components_quests_index_svelte_create_else_block_1(ctx) {
	let i;
	let div;

	return {
		c() {
			i = internal_element("i");
			div = internal_element("div");
			div.textContent = "Выполнено";
			attr(i, "class", "battle-pass-quests__progress-check ui-check");
			attr(div, "class", "battle-pass-quests__progress-total");
		},
		m(target, anchor) {
			insert(target, i, anchor);
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(i);
			if (detaching) detach(div);
		}
	};
}

// (203:56) {#if quest.currentProgress < quest.totalProgress}
function components_quests_index_svelte_create_if_block_6(ctx) {
	let t_value = `${Math.floor(countPercents(/*quest*/ ctx[25].currentProgress, /*quest*/ ctx[25].totalProgress))}%` + "";
	let t;

	return {
		c() {
			t = internal_text(t_value);
		},
		m(target, anchor) {
			insert(target, t, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*$quests, selectedCategory*/ 3 && t_value !== (t_value = `${Math.floor(countPercents(/*quest*/ ctx[25].currentProgress, /*quest*/ ctx[25].totalProgress))}%` + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(t);
		}
	};
}

// (181:28) {#each $quests[selectedCategory] as quest}
function components_quests_index_svelte_create_each_block_1(ctx) {
	let if_block_anchor;
	let if_block = /*quest*/ ctx[25].visible && components_quests_index_svelte_create_if_block_5(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
		},
		p(ctx, dirty) {
			if (/*quest*/ ctx[25].visible) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = components_quests_index_svelte_create_if_block_5(ctx);
					if_block.c();
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

// (246:36) {:else}
function components_quests_index_svelte_create_else_block(ctx) {
	let i;
	let div;

	return {
		c() {
			i = internal_element("i");
			div = internal_element("div");
			div.textContent = "Выполнено";
			attr(i, "class", "battle-pass-quests__details-progress-check ui-check");
			attr(div, "class", "battle-pass-quests__details-progress-total");
		},
		m(target, anchor) {
			insert(target, i, anchor);
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(i);
			if (detaching) detach(div);
		}
	};
}

// (244:36) {#if selectedQuest.currentProgress < selectedQuest.totalProgress}
function components_quests_index_svelte_create_if_block_3(ctx) {
	let t_value = `${Math.floor(countPercents(/*selectedQuest*/ ctx[3].currentProgress, /*selectedQuest*/ ctx[3].totalProgress))}%` + "";
	let t;

	return {
		c() {
			t = internal_text(t_value);
		},
		m(target, anchor) {
			insert(target, t, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*selectedQuest*/ 8 && t_value !== (t_value = `${Math.floor(countPercents(/*selectedQuest*/ ctx[3].currentProgress, /*selectedQuest*/ ctx[3].totalProgress))}%` + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(t);
		}
	};
}

// (257:32) {#if !isNil(selectedQuest)}
function components_quests_index_svelte_create_if_block_2(ctx) {
	let each_1_anchor;
	let each_value = /*selectedQuest*/ ctx[3].rewards;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = components_quests_index_svelte_create_each_block(components_quests_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*selectedQuest, BP_IMAGES_BASE_CDN_URL*/ 8) {
				each_value = /*selectedQuest*/ ctx[3].rewards;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = components_quests_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = components_quests_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		d(detaching) {
			destroy_each(each_blocks, detaching);
			if (detaching) detach(each_1_anchor);
		}
	};
}

// (258:36) {#each selectedQuest.rewards as reward}
function components_quests_index_svelte_create_each_block(ctx) {
	let div2;
	let div0;
	let img;
	let img_src_value;
	let t0;
	let div1;
	let t1_value = /*reward*/ ctx[22].name + "";
	let t1;
	let t2;

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div1 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			if (!src_url_equal(img.src, img_src_value = `${BP_IMAGES_BASE_CDN_URL}/${/*reward*/ ctx[22].item}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "reward");
			attr(img, "class", "battle-pass-quests__details-reward-image");
			attr(div0, "class", "battle-pass-quests__details-reward-image-wrapper");
			attr(div1, "class", "battle-pass-quests__details-reward-title");
			attr(div2, "class", "battle-pass-quests__details-reward");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div0, img);
			append(div2, t0);
			append(div2, div1);
			append(div1, t1);
			append(div2, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*selectedQuest*/ 8 && !src_url_equal(img.src, img_src_value = `${BP_IMAGES_BASE_CDN_URL}/${/*reward*/ ctx[22].item}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*selectedQuest*/ 8 && t1_value !== (t1_value = /*reward*/ ctx[22].name + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

// (276:20) {#if $battlePassData.premium === 0 && selectedCategory === CATEGORIES.Premium}
function components_quests_index_svelte_create_if_block_1(ctx) {
	let div0;
	let t0;
	let div3;
	let i;
	let t1;
	let div1;
	let t5;
	let div2;
	let premiumbutton;
	let current;

	premiumbutton = new premium_button_index_svelte({
			props: {
				onClick: /*func*/ ctx[13],
				text: 'Купить Premium'
			}
		});

	return {
		c() {
			div0 = internal_element("div");
			t0 = space();
			div3 = internal_element("div");
			i = internal_element("i");
			t1 = space();
			div1 = internal_element("div");
			div1.innerHTML = `Эти задания доступны <br/> только с <span class="battle-pass-quests__details-lock-text--premium">Premium</span>`;
			t5 = space();
			div2 = internal_element("div");
			create_component(premiumbutton.$$.fragment);
			attr(div0, "class", "battle-pass-quests__lock");
			attr(i, "class", "battle-pass-quests__details-lock-icon icon-lock-bp");
			attr(div1, "class", "battle-pass-quests__details-lock-text");
			attr(div2, "class", "battle-pass-quests__details-lock-button");
			attr(div3, "class", "battle-pass-quests__details-lock");
		},
		m(target, anchor) {
			insert(target, div0, anchor);
			insert(target, t0, anchor);
			insert(target, div3, anchor);
			append(div3, i);
			append(div3, t1);
			append(div3, div1);
			append(div3, t5);
			append(div3, div2);
			mount_component(premiumbutton, div2, null);
			current = true;
		},
		p(ctx, dirty) {
			const premiumbutton_changes = {};
			if (dirty & /*$currentPage*/ 32) premiumbutton_changes.onClick = /*func*/ ctx[13];
			premiumbutton.$set(premiumbutton_changes);
		},
		i(local) {
			if (current) return;
			transition_in(premiumbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(premiumbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div0);
			if (detaching) detach(t0);
			if (detaching) detach(div3);
			destroy_component(premiumbutton);
		}
	};
}

function components_quests_index_svelte_create_fragment(ctx) {
	let div;
	let current_block_type_index;
	let if_block;
	let div_intro;
	let current;
	const if_block_creators = [components_quests_index_svelte_create_if_block, components_quests_index_svelte_create_else_block_2];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (/*initializeComplete*/ ctx[2]) return 0;
		return 1;
	}

	current_block_type_index = select_block_type(ctx, -1);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div = internal_element("div");
			if_block.c();
			attr(div, "class", "battle-pass-quests");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if_blocks[current_block_type_index].m(div, null);
			current = true;
		},
		p(ctx, [dirty]) {
			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(div, null);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);

			if (!div_intro) {
				add_render_callback(() => {
					div_intro = create_in_transition(div, fade, {});
					div_intro.start();
				});
			}

			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if_blocks[current_block_type_index].d();
		}
	};
}

function components_quests_index_svelte_instance($$self, $$props, $$invalidate) {
	let $quests;
	let $questsProgress;
	let $serverApiToken;
	let $serverApiServerId;
	let $battlePassData;
	let $currentPage;
	component_subscribe($$self, quests, $$value => $$invalidate(0, $quests = $$value));
	component_subscribe($$self, questsProgress, $$value => $$invalidate(9, $questsProgress = $$value));
	component_subscribe($$self, serverApiToken, $$value => $$invalidate(16, $serverApiToken = $$value));
	component_subscribe($$self, serverApiServerId, $$value => $$invalidate(17, $serverApiServerId = $$value));
	component_subscribe($$self, battlePassData, $$value => $$invalidate(4, $battlePassData = $$value));
	component_subscribe($$self, currentPage, $$value => $$invalidate(5, $currentPage = $$value));
	let selectedCategory = CATEGORIES.Daily;
	let initializeComplete = false;
	let selectedQuest = {};
	let timerIntervalId = null;
	let time = $battlePassData.timestampTaskTime - Math.ceil(new Date().getTime() / 1000);

	const calculateDaysLeft = unix => {
		const diff = unix - moment_default()().unix();
		const hours = Math.round(diff / 3600);
		const minutes = Math.round(diff / 60 % 60);
		return `${hours} ч ${minutes} мин`;
	};

	const selectCategory = category => {
		$$invalidate(1, selectedCategory = category);
		$$invalidate(3, [selectedQuest] = $quests[selectedCategory], selectedQuest);
		$$invalidate(2, initializeComplete = true);
	};

	const selectQuest = quest => {
		$$invalidate(3, selectedQuest = quest);
	};

	if ((0,lodash.isNil)(timerIntervalId)) {
		timerIntervalId = setInterval(
			() => {
				if (time > 0) {
					time -= 1;
				} else {
					clearInterval(timerIntervalId);
					timerIntervalId = null;
				}
			},
			1000
		);
	}

	const updateselectedQuest = detailsDto => {
		$$invalidate(3, selectedQuest = detailsDto);
	};

	const unregisterUpdateselectedQuest = registerEvent('event.battlePass.quests.updateselectedQuest', updateselectedQuest);

	const getTasks = (type, entity) => {
		lib_axios.get(`${SERVER_API_URL}/client/json/table/get?project=${SERVER_API_PROJECT}&server=${$serverApiServerId}&key=${entity}`, {
			headers: {
				Authorization: `Bearer ${$serverApiToken}`
			}
		}).then(response => {
			set_store_value(quests, $quests[type] = response.data, $quests);
		}).catch(error => {
			// eslint-disable-next-line no-console
			console.log(`error from getTasks ${entity}`, JSON.stringify(error));
		});
	};

	const getSortWeight = el => {
		if (el.currentProgress > el.totalProgress) {
			return 4;
		}

		if (el.currentProgress) {
			return -1;
		}

		return 1;
	};

	if ((0,lodash.isNil)($quests[CATEGORIES.Daily])) {
		getTasks(CATEGORIES.Daily, 'battlepass_task_everyday');
	}

	if ((0,lodash.isNil)($quests[CATEGORIES.Premium])) {
		getTasks(CATEGORIES.Premium, 'battlepass_task_premium');
	}

	onDestroy(() => {
		unregisterUpdateselectedQuest();
		clearInterval(timerIntervalId);
		timerIntervalId = null;
	});

	const click_handler = () => {
		set_store_value(currentPage, $currentPage = 'purchase-level', $currentPage);
	};

	const click_handler_1 = cat => selectCategory(cat);
	const click_handler_2 = quest => selectQuest(quest);

	const func = () => {
		set_store_value(currentPage, $currentPage = MenuIds.PurchasePremium, $currentPage);
	};

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*$quests, $questsProgress*/ 513) {
			$: {
				if (!(0,lodash.isNil)($quests[CATEGORIES.Daily]) && !(0,lodash.isNil)($quests[CATEGORIES.Premium]) && !(0,lodash.isEmpty)($questsProgress)) {
					$questsProgress.forEach(item => {
						const findedIndex = $quests[item.categoryId].findIndex(questItem => questItem.id === item.id);
						set_store_value(quests, $quests[item.categoryId][findedIndex].currentProgress = item.progress, $quests);
						set_store_value(quests, $quests[item.categoryId][findedIndex].visible = item.visible, $quests);
						set_store_value(quests, $quests[item.categoryId][findedIndex].order = Number($quests[item.categoryId][findedIndex].currentProgress.totalProgress === item.progress), $quests);
						$quests[item.categoryId].sort((a, b) => getSortWeight(a) - getSortWeight(b));
					});

					selectCategory(CATEGORIES.Daily);
					set_store_value(questsProgress, $questsProgress = [], $questsProgress);
				} else if (!(0,lodash.isNil)($quests[CATEGORIES.Daily]) && !(0,lodash.isNil)($quests[CATEGORIES.Premium])) {
					$$invalidate(2, initializeComplete = true);
					selectCategory(CATEGORIES.Daily);
				}
			}
		}
	};

	return [
		$quests,
		selectedCategory,
		initializeComplete,
		selectedQuest,
		$battlePassData,
		$currentPage,
		calculateDaysLeft,
		selectCategory,
		selectQuest,
		$questsProgress,
		click_handler,
		click_handler_1,
		click_handler_2,
		func
	];
}

class components_quests_index_svelte_Quests extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, components_quests_index_svelte_instance, components_quests_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const components_quests_index_svelte = (components_quests_index_svelte_Quests);
;// CONCATENATED MODULE: ./src/views/battle-pass/img/clock.svg
const clock_namespaceObject = __webpack_require__.p + "assets/1a4ab710b76f66df69e3.svg";
;// CONCATENATED MODULE: ./src/views/battle-pass/img/thunder.svg
const thunder_namespaceObject = __webpack_require__.p + "assets/39402a929bcb859ff553.svg";
;// CONCATENATED MODULE: ./src/views/battle-pass/components/main/index.svelte
/* src\views\battle-pass\components\main\index.svelte generated by Svelte v3.49.0 */














// import premiumCar from '../../img/premium-car.png';






// import { COMMON_REWARDS_MOCK, PREMIUM_REWARDS_MOCK } from './mock';


function components_main_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[26] = list[i];
	child_ctx[28] = i;
	return child_ctx;
}

function main_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[29] = list[i];
	child_ctx[28] = i;
	return child_ctx;
}

function main_index_svelte_get_each_context_2(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[26] = list[i];
	child_ctx[28] = i;
	return child_ctx;
}

// (143:0) {#if !isEmpty($battlePassData) && !isEmpty(commonRewards) && !isEmpty(premiumRewards)}
function battle_pass_components_main_index_svelte_create_if_block(ctx) {
	let div29;
	let div0;
	let img0;
	let img0_src_value;
	let t0;
	let div15;
	let div14;
	let div9;
	let div3;
	let div2;
	let t2;
	let t3;
	let div5;
	let div4;
	let t4;
	let div8;
	let div7;
	let t6;
	let t7;
	let div13;
	let div10;
	let t8;
	let div11;
	let t9_value = `${/*currentLevelPage*/ ctx[1]} / ${/*$rewardsPagesCount*/ ctx[5]}` + "";
	let t9;
	let t10;
	let div12;
	let t11;
	let t12;
	let div17;
	let img1;
	let img1_src_value;
	let t13;
	let div16;
	let span0;
	let t15;
	let span1;
	let t16_value = `${/*calculateDaysLeft*/ ctx[7](/*$battlePassData*/ ctx[4].timestampTaskTime)} дн.` + "";
	let t16;
	let t17;
	let div28;
	let div27;
	let div20;
	let div18;
	let t18_value = /*$battlePassData*/ ctx[4].level + "";
	let t18;
	let t19;
	let div19;
	let t21;
	let div25;
	let div21;
	let t23;
	let div22;
	let t24_value = `${/*$battlePassData*/ ctx[4].exp} / ${/*$battlePassData*/ ctx[4].maxExp}` + "";
	let t24;
	let t25;
	let img2;
	let img2_src_value;
	let t26;
	let div24;
	let div23;
	let t27;
	let div26;
	let current;
	let mounted;
	let dispose;
	let each_value_2 = /*commonRewards*/ ctx[3];
	let each_blocks_2 = [];

	for (let i = 0; i < each_value_2.length; i += 1) {
		each_blocks_2[i] = main_index_svelte_create_each_block_2(main_index_svelte_get_each_context_2(ctx, each_value_2, i));
	}

	let each_value_1 = /*premiumRewards*/ ctx[2];
	let each_blocks_1 = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks_1[i] = main_index_svelte_create_each_block_1(main_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	let each_value = /*premiumRewards*/ ctx[2];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = components_main_index_svelte_create_each_block(components_main_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	let if_block = /*$battlePassData*/ ctx[4].premium < 2 && components_main_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			div29 = internal_element("div");
			div0 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			div15 = internal_element("div");
			div14 = internal_element("div");
			div9 = internal_element("div");
			div3 = internal_element("div");
			div2 = internal_element("div");
			div2.innerHTML = `<div class="battle-pass-main__lines-caption-text">ОБЫЧНЫЙ</div>`;
			t2 = space();

			for (let i = 0; i < each_blocks_2.length; i += 1) {
				each_blocks_2[i].c();
			}

			t3 = space();
			div5 = internal_element("div");
			div4 = internal_element("div");

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].c();
			}

			t4 = space();
			div8 = internal_element("div");
			div7 = internal_element("div");
			div7.innerHTML = `<div class="battle-pass-main__lines-caption-text battle-pass-main__lines-caption-text--premium">PREMIUM</div>`;
			t6 = space();

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t7 = space();
			div13 = internal_element("div");
			div10 = internal_element("div");
			div10.innerHTML = `<i class="battle-pass-main__pagination-icon ui-arrow-left"></i>`;
			t8 = space();
			div11 = internal_element("div");
			t9 = internal_text(t9_value);
			t10 = space();
			div12 = internal_element("div");
			div12.innerHTML = `<i class="battle-pass-main__pagination-icon ui-arrow-right"></i>`;
			t11 = space();
			if (if_block) if_block.c();
			t12 = space();
			div17 = internal_element("div");
			img1 = internal_element("img");
			t13 = space();
			div16 = internal_element("div");
			span0 = internal_element("span");
			span0.textContent = "До окончания:";
			t15 = space();
			span1 = internal_element("span");
			t16 = internal_text(t16_value);
			t17 = space();
			div28 = internal_element("div");
			div27 = internal_element("div");
			div20 = internal_element("div");
			div18 = internal_element("div");
			t18 = internal_text(t18_value);
			t19 = space();
			div19 = internal_element("div");
			div19.textContent = "ур.";
			t21 = space();
			div25 = internal_element("div");
			div21 = internal_element("div");
			div21.textContent = "Опыт пропуска:";
			t23 = space();
			div22 = internal_element("div");
			t24 = internal_text(t24_value);
			t25 = space();
			img2 = internal_element("img");
			t26 = space();
			div24 = internal_element("div");
			div23 = internal_element("div");
			t27 = space();
			div26 = internal_element("div");
			div26.textContent = "Купить уровень";
			if (!src_url_equal(img0.src, img0_src_value = MAP_PREMIUM_TO_LOGO[/*$battlePassData*/ ctx[4].premium])) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "logo");
			attr(img0, "class", "battle-pass-main__logo-image");
			attr(div0, "class", "battle-pass-main__logo-wrppaer");
			attr(div2, "class", "battle-pass-main__lines-caption");
			attr(div3, "class", "battle-pass-main__line");
			attr(div4, "class", "battle-pass-main__experience-line");
			attr(div5, "class", "battle-pass-main__experience");
			attr(div7, "class", "battle-pass-main__lines-caption");
			attr(div8, "class", "battle-pass-main__line");
			attr(div9, "class", "battle-pass-main__lines");
			attr(div10, "class", "battle-pass-main__pagination-button");
			attr(div11, "class", "battle-pass-main__pagination-current");
			attr(div12, "class", "battle-pass-main__pagination-button");
			attr(div13, "class", "battle-pass-main__pagination");
			attr(div14, "class", "battle-pass-main__wrapper");
			attr(div15, "class", "battle-pass-main__content");
			if (!src_url_equal(img1.src, img1_src_value = clock_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "clock");
			attr(img1, "class", "battle-pass-main__count-down-icon");
			attr(span0, "class", "battle-pass-main__count-down-text");
			attr(span1, "class", "battle-pass-main__count-down-value");
			attr(div16, "class", "battle-pass-main__count-down-text-wrapper");
			attr(div17, "class", "battle-pass-main__count-down");
			attr(div18, "class", "battle-pass-main__level-current-value");
			attr(div19, "class", "battle-pass-main__level-current-caption");
			attr(div20, "class", "battle-pass-main__level-current");
			attr(div21, "class", "battle-pass-main__level-counter-title");
			if (!src_url_equal(img2.src, img2_src_value = star_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "bpCoins");
			attr(img2, "class", "battle-pass-main__level-counter-icon");
			attr(div22, "class", "battle-pass-main__level-counter-current");
			attr(div23, "class", "battle-pass-main__level-counter-progress-bar-current");
			set_style(div23, "--currentProgress", countPercents(/*$battlePassData*/ ctx[4].exp, /*$battlePassData*/ ctx[4].maxExp) + "%");
			attr(div24, "class", "battle-pass-main__level-counter-progress-bar");
			attr(div25, "class", "battle-pass-main__level-counter");
			attr(div26, "class", "battle-pass-main__level-purchase-button");
			attr(div27, "class", "battle-pass-main__level");
			attr(div28, "class", "battle-pass-main__left-bar");
			attr(div29, "class", "battle-pass-main");
		},
		m(target, anchor) {
			insert(target, div29, anchor);
			append(div29, div0);
			append(div0, img0);
			append(div29, t0);
			append(div29, div15);
			append(div15, div14);
			append(div14, div9);
			append(div9, div3);
			append(div3, div2);
			append(div3, t2);

			for (let i = 0; i < each_blocks_2.length; i += 1) {
				each_blocks_2[i].m(div3, null);
			}

			append(div9, t3);
			append(div9, div5);
			append(div5, div4);

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].m(div4, null);
			}

			append(div9, t4);
			append(div9, div8);
			append(div8, div7);
			append(div8, t6);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div8, null);
			}

			append(div14, t7);
			append(div14, div13);
			append(div13, div10);
			append(div13, t8);
			append(div13, div11);
			append(div11, t9);
			append(div13, t10);
			append(div13, div12);
			append(div29, t11);
			if (if_block) if_block.m(div29, null);
			append(div29, t12);
			append(div29, div17);
			append(div17, img1);
			append(div17, t13);
			append(div17, div16);
			append(div16, span0);
			append(div16, t15);
			append(div16, span1);
			append(span1, t16);
			append(div29, t17);
			append(div29, div28);
			append(div28, div27);
			append(div27, div20);
			append(div20, div18);
			append(div18, t18);
			append(div20, t19);
			append(div20, div19);
			append(div27, t21);
			append(div27, div25);
			append(div25, div21);
			append(div25, t23);
			append(div25, div22);
			append(div22, t24);
			append(div22, t25);
			append(div22, img2);
			append(div25, t26);
			append(div25, div24);
			append(div24, div23);
			append(div27, t27);
			append(div27, div26);
			current = true;

			if (!mounted) {
				dispose = [
					listen(div10, "click", /*click_handler_2*/ ctx[17]),
					listen(div12, "click", /*click_handler_3*/ ctx[18]),
					listen(div26, "click", /*click_handler_4*/ ctx[20])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (!current || dirty[0] & /*$battlePassData*/ 16 && !src_url_equal(img0.src, img0_src_value = MAP_PREMIUM_TO_LOGO[/*$battlePassData*/ ctx[4].premium])) {
				attr(img0, "src", img0_src_value);
			}

			if (dirty[0] & /*$battlePassData, commonRewards, getCommonReward*/ 2072) {
				each_value_2 = /*commonRewards*/ ctx[3];
				let i;

				for (i = 0; i < each_value_2.length; i += 1) {
					const child_ctx = main_index_svelte_get_each_context_2(ctx, each_value_2, i);

					if (each_blocks_2[i]) {
						each_blocks_2[i].p(child_ctx, dirty);
					} else {
						each_blocks_2[i] = main_index_svelte_create_each_block_2(child_ctx);
						each_blocks_2[i].c();
						each_blocks_2[i].m(div3, null);
					}
				}

				for (; i < each_blocks_2.length; i += 1) {
					each_blocks_2[i].d(1);
				}

				each_blocks_2.length = each_value_2.length;
			}

			if (dirty[0] & /*$battlePassData, currentLevelPage, $allPremiumRewards, premiumRewards, $currentPage*/ 87) {
				each_value_1 = /*premiumRewards*/ ctx[2];
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = main_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks_1[i]) {
						each_blocks_1[i].p(child_ctx, dirty);
					} else {
						each_blocks_1[i] = main_index_svelte_create_each_block_1(child_ctx);
						each_blocks_1[i].c();
						each_blocks_1[i].m(div4, null);
					}
				}

				for (; i < each_blocks_1.length; i += 1) {
					each_blocks_1[i].d(1);
				}

				each_blocks_1.length = each_value_1.length;
			}

			if (dirty[0] & /*$battlePassData, premiumRewards, getPremiumReward*/ 1044) {
				each_value = /*premiumRewards*/ ctx[2];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = components_main_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = components_main_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div8, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}

			if ((!current || dirty[0] & /*currentLevelPage, $rewardsPagesCount*/ 34) && t9_value !== (t9_value = `${/*currentLevelPage*/ ctx[1]} / ${/*$rewardsPagesCount*/ ctx[5]}` + "")) set_data(t9, t9_value);

			if (/*$battlePassData*/ ctx[4].premium < 2) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty[0] & /*$battlePassData*/ 16) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = components_main_index_svelte_create_if_block_1(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(div29, t12);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}

			if ((!current || dirty[0] & /*$battlePassData*/ 16) && t16_value !== (t16_value = `${/*calculateDaysLeft*/ ctx[7](/*$battlePassData*/ ctx[4].timestampTaskTime)} дн.` + "")) set_data(t16, t16_value);
			if ((!current || dirty[0] & /*$battlePassData*/ 16) && t18_value !== (t18_value = /*$battlePassData*/ ctx[4].level + "")) set_data(t18, t18_value);
			if ((!current || dirty[0] & /*$battlePassData*/ 16) && t24_value !== (t24_value = `${/*$battlePassData*/ ctx[4].exp} / ${/*$battlePassData*/ ctx[4].maxExp}` + "")) set_data(t24, t24_value);

			if (!current || dirty[0] & /*$battlePassData*/ 16) {
				set_style(div23, "--currentProgress", countPercents(/*$battlePassData*/ ctx[4].exp, /*$battlePassData*/ ctx[4].maxExp) + "%");
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			transition_in(if_block);
			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div29);
			destroy_each(each_blocks_2, detaching);
			destroy_each(each_blocks_1, detaching);
			destroy_each(each_blocks, detaching);
			if (if_block) if_block.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (162:32) {#if reward.sysName >= 0}
function main_index_svelte_create_if_block_9(ctx) {
	let div;
	let t0_value = /*reward*/ ctx[26].title + "";
	let t0;
	let t1;
	let img;
	let img_src_value;
	let t2;
	let t3;
	let if_block1_anchor;
	let if_block0 = /*reward*/ ctx[26].count > 0 && index_svelte_create_if_block_12(ctx);

	function select_block_type(ctx, dirty) {
		if (/*$battlePassData*/ ctx[4].availableToReceive[/*reward*/ ctx[26].level - 1][0] && /*$battlePassData*/ ctx[4].level >= /*reward*/ ctx[26].level) return main_index_svelte_create_if_block_10;
		if (!/*$battlePassData*/ ctx[4].availableToReceive[/*reward*/ ctx[26].level - 1][0] && /*$battlePassData*/ ctx[4].level >= /*reward*/ ctx[26].level) return main_index_svelte_create_if_block_11;
		return main_index_svelte_create_else_block_1;
	}

	let current_block_type = select_block_type(ctx, [-1, -1]);
	let if_block1 = current_block_type(ctx);

	return {
		c() {
			div = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			img = internal_element("img");
			t2 = space();
			if (if_block0) if_block0.c();
			t3 = space();
			if_block1.c();
			if_block1_anchor = empty();
			attr(div, "class", "battle-pass-main__reward-title");
			if (!src_url_equal(img.src, img_src_value = `${BP_IMAGES_BASE_CDN_URL}/${/*reward*/ ctx[26].sysName}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "reward-icon");
			attr(img, "class", "battle-pass-main__reward-image");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t0);
			insert(target, t1, anchor);
			insert(target, img, anchor);
			insert(target, t2, anchor);
			if (if_block0) if_block0.m(target, anchor);
			insert(target, t3, anchor);
			if_block1.m(target, anchor);
			insert(target, if_block1_anchor, anchor);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*commonRewards*/ 8 && t0_value !== (t0_value = /*reward*/ ctx[26].title + "")) set_data(t0, t0_value);

			if (dirty[0] & /*commonRewards*/ 8 && !src_url_equal(img.src, img_src_value = `${BP_IMAGES_BASE_CDN_URL}/${/*reward*/ ctx[26].sysName}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (/*reward*/ ctx[26].count > 0) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = index_svelte_create_if_block_12(ctx);
					if_block0.c();
					if_block0.m(t3.parentNode, t3);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block1) {
				if_block1.p(ctx, dirty);
			} else {
				if_block1.d(1);
				if_block1 = current_block_type(ctx);

				if (if_block1) {
					if_block1.c();
					if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
				}
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			if (detaching) detach(t1);
			if (detaching) detach(img);
			if (detaching) detach(t2);
			if (if_block0) if_block0.d(detaching);
			if (detaching) detach(t3);
			if_block1.d(detaching);
			if (detaching) detach(if_block1_anchor);
		}
	};
}

// (165:36) {#if reward.count > 0}
function index_svelte_create_if_block_12(ctx) {
	let div;
	let t_value = `${/*reward*/ ctx[26].count} шт.` + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "battle-pass-main__reward-count");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*commonRewards*/ 8 && t_value !== (t_value = `${/*reward*/ ctx[26].count} шт.` + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (181:36) {:else}
function main_index_svelte_create_else_block_1(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "battle-pass-main__lock-icon icon-lock-bp");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (175:144) 
function main_index_svelte_create_if_block_11(ctx) {
	let div2;

	return {
		c() {
			div2 = internal_element("div");

			div2.innerHTML = `<div class="battle-pass-main__recived-icon icon-check-circle"></div> 
                                            <div class="battle-pass-main__recived-text">Получено</div>`;

			attr(div2, "class", "battle-pass-main__recived");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

// (168:36) {#if $battlePassData.availableToReceive[reward.level - 1][0] && $battlePassData.level >= reward.level}
function main_index_svelte_create_if_block_10(ctx) {
	let div;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[14](/*reward*/ ctx[26]);
	}

	return {
		c() {
			div = internal_element("div");
			div.textContent = "Получить";
			attr(div, "class", "battle-pass-main__reward-button");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = listen(div, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (185:32) {#if reward.isVehicle}
function main_index_svelte_create_if_block_8(ctx) {
	let div;
	let tooltip_action;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<i class="battle-pass-main__reward-rarity-button-title">i</i>`;
			attr(div, "class", "battle-pass-main__reward-rarity-button");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = action_destroyer(tooltip_action = tooltip.call(null, div, {
					bonuses: [
						'Качество будет определено при открытии сертификата.',
						'Вы можете получить:',
						'- Хлам',
						'- Обычное',
						'- Идеальное'
					],
					isShowRarityPlate: false,
					isDottedList: false,
					isShowBonusesHeader: false,
					offsetX: 240
				}));

				mounted = true;
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (157:24) {#each commonRewards as reward, index}
function main_index_svelte_create_each_block_2(ctx) {
	let div;
	let t0;
	let t1;
	let if_block0 = /*reward*/ ctx[26].sysName >= 0 && main_index_svelte_create_if_block_9(ctx);
	let if_block1 = /*reward*/ ctx[26].isVehicle && main_index_svelte_create_if_block_8(ctx);

	return {
		c() {
			div = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			if (if_block1) if_block1.c();
			t1 = space();
			attr(div, "class", "battle-pass-main__reward");
			toggle_class(div, "battle-pass-main__reward--locked", /*$battlePassData*/ ctx[4].level < /*reward*/ ctx[26].level);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block0) if_block0.m(div, null);
			append(div, t0);
			if (if_block1) if_block1.m(div, null);
			append(div, t1);
		},
		p(ctx, dirty) {
			if (/*reward*/ ctx[26].sysName >= 0) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = main_index_svelte_create_if_block_9(ctx);
					if_block0.c();
					if_block0.m(div, t0);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (/*reward*/ ctx[26].isVehicle) {
				if (if_block1) {
					
				} else {
					if_block1 = main_index_svelte_create_if_block_8(ctx);
					if_block1.c();
					if_block1.m(div, t1);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty[0] & /*$battlePassData, commonRewards*/ 24) {
				toggle_class(div, "battle-pass-main__reward--locked", /*$battlePassData*/ ctx[4].level < /*reward*/ ctx[26].level);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
		}
	};
}

// (220:36) {#if                                          (index + 1 + (currentLevelPage - 1) * PAGE_SIZE === $battlePassData.level                                          || ($battlePassData.level === 0 && index === 0 && currentLevelPage === 1))                                          && $battlePassData.level !== $allPremiumRewards.length                                      }
function main_index_svelte_create_if_block_7(ctx) {
	let div;
	let img;
	let img_src_value;
	let div_style_value;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			attr(img, "class", "battle-pass-main__experience-line-level-wrapper-button-img");
			if (!src_url_equal(img.src, img_src_value = thunder_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "thunder-img");
			attr(div, "class", "battle-pass-main__experience-line-level-wrapper-button");
			attr(div, "style", div_style_value = `right: ${(/*$battlePassData*/ ctx[4].level % 1 - 0.8) * (100 / PAGE_SIZE)}%`);
			toggle_class(div, "battle-pass-main__experience-line-level-wrapper-button--first", /*$battlePassData*/ ctx[4].level === 0);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);

			if (!mounted) {
				dispose = listen(div, "click", /*click_handler_1*/ ctx[15]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$battlePassData*/ 16 && div_style_value !== (div_style_value = `right: ${(/*$battlePassData*/ ctx[4].level % 1 - 0.8) * (100 / PAGE_SIZE)}%`)) {
				attr(div, "style", div_style_value);
			}

			if (dirty[0] & /*$battlePassData*/ 16) {
				toggle_class(div, "battle-pass-main__experience-line-level-wrapper-button--first", /*$battlePassData*/ ctx[4].level === 0);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (238:36) {#if item.sysName >= 0}
function main_index_svelte_create_if_block_6(ctx) {
	let div2;
	let div1;
	let div0;
	let t_value = /*index*/ ctx[28] + 1 + (/*currentLevelPage*/ ctx[1] - 1) * PAGE_SIZE + "";
	let t;

	return {
		c() {
			div2 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");
			t = internal_text(t_value);
			attr(div0, "class", "battle-pass-main__experience-line-level-value");
			attr(div1, "class", "battle-pass-main__experience-line-level");
			toggle_class(div1, "battle-pass-main__experience-line-level--red", /*index*/ ctx[28] + 1 + (/*currentLevelPage*/ ctx[1] - 1) * PAGE_SIZE <= /*$battlePassData*/ ctx[4].level);
			attr(div2, "class", "battle-pass-main__experience-line-level-value-wrapper");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div1);
			append(div1, div0);
			append(div0, t);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*currentLevelPage*/ 2 && t_value !== (t_value = /*index*/ ctx[28] + 1 + (/*currentLevelPage*/ ctx[1] - 1) * PAGE_SIZE + "")) set_data(t, t_value);

			if (dirty[0] & /*currentLevelPage, $battlePassData*/ 18) {
				toggle_class(div1, "battle-pass-main__experience-line-level--red", /*index*/ ctx[28] + 1 + (/*currentLevelPage*/ ctx[1] - 1) * PAGE_SIZE <= /*$battlePassData*/ ctx[4].level);
			}
		},
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

// (212:28) {#each premiumRewards as item, index}
function main_index_svelte_create_each_block_1(ctx) {
	let div;
	let t0;
	let t1;
	let if_block0 = (/*index*/ ctx[28] + 1 + (/*currentLevelPage*/ ctx[1] - 1) * PAGE_SIZE === /*$battlePassData*/ ctx[4].level || /*$battlePassData*/ ctx[4].level === 0 && /*index*/ ctx[28] === 0 && /*currentLevelPage*/ ctx[1] === 1) && /*$battlePassData*/ ctx[4].level !== /*$allPremiumRewards*/ ctx[0].length && main_index_svelte_create_if_block_7(ctx);
	let if_block1 = /*item*/ ctx[29].sysName >= 0 && main_index_svelte_create_if_block_6(ctx);

	return {
		c() {
			div = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			if (if_block1) if_block1.c();
			t1 = space();
			attr(div, "class", "battle-pass-main__experience-line-level-wrapper");
			toggle_class(div, "battle-pass-main__experience-line-level-wrapper--filled", /*$battlePassData*/ ctx[4].level > /*index*/ ctx[28] + 1 + (/*currentLevelPage*/ ctx[1] - 1) * PAGE_SIZE);
			toggle_class(div, "battle-pass-main__experience-line-level-wrapper--current", /*$battlePassData*/ ctx[4].level === /*index*/ ctx[28] + 1 + (/*currentLevelPage*/ ctx[1] - 1) * PAGE_SIZE);
			toggle_class(div, "battle-pass-main__experience-line-level-wrapper--first", /*index*/ ctx[28] + 1 + (/*currentLevelPage*/ ctx[1] - 1) * PAGE_SIZE === 1);
			toggle_class(div, "battle-pass-main__experience-line-level-wrapper--last", /*index*/ ctx[28] + 1 + (/*currentLevelPage*/ ctx[1] - 1) * PAGE_SIZE === /*$allPremiumRewards*/ ctx[0].length);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block0) if_block0.m(div, null);
			append(div, t0);
			if (if_block1) if_block1.m(div, null);
			append(div, t1);
		},
		p(ctx, dirty) {
			if ((/*index*/ ctx[28] + 1 + (/*currentLevelPage*/ ctx[1] - 1) * PAGE_SIZE === /*$battlePassData*/ ctx[4].level || /*$battlePassData*/ ctx[4].level === 0 && /*index*/ ctx[28] === 0 && /*currentLevelPage*/ ctx[1] === 1) && /*$battlePassData*/ ctx[4].level !== /*$allPremiumRewards*/ ctx[0].length) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = main_index_svelte_create_if_block_7(ctx);
					if_block0.c();
					if_block0.m(div, t0);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (/*item*/ ctx[29].sysName >= 0) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = main_index_svelte_create_if_block_6(ctx);
					if_block1.c();
					if_block1.m(div, t1);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty[0] & /*$battlePassData, currentLevelPage*/ 18) {
				toggle_class(div, "battle-pass-main__experience-line-level-wrapper--filled", /*$battlePassData*/ ctx[4].level > /*index*/ ctx[28] + 1 + (/*currentLevelPage*/ ctx[1] - 1) * PAGE_SIZE);
			}

			if (dirty[0] & /*$battlePassData, currentLevelPage*/ 18) {
				toggle_class(div, "battle-pass-main__experience-line-level-wrapper--current", /*$battlePassData*/ ctx[4].level === /*index*/ ctx[28] + 1 + (/*currentLevelPage*/ ctx[1] - 1) * PAGE_SIZE);
			}

			if (dirty[0] & /*currentLevelPage*/ 2) {
				toggle_class(div, "battle-pass-main__experience-line-level-wrapper--first", /*index*/ ctx[28] + 1 + (/*currentLevelPage*/ ctx[1] - 1) * PAGE_SIZE === 1);
			}

			if (dirty[0] & /*currentLevelPage, $allPremiumRewards*/ 3) {
				toggle_class(div, "battle-pass-main__experience-line-level-wrapper--last", /*index*/ ctx[28] + 1 + (/*currentLevelPage*/ ctx[1] - 1) * PAGE_SIZE === /*$allPremiumRewards*/ ctx[0].length);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
		}
	};
}

// (267:32) {#if reward.count > 0}
function main_index_svelte_create_if_block_5(ctx) {
	let div;
	let t_value = `${/*reward*/ ctx[26].count} шт.` + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "battle-pass-main__reward-count");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*premiumRewards*/ 4 && t_value !== (t_value = `${/*reward*/ ctx[26].count} шт.` + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (283:32) {:else}
function components_main_index_svelte_create_else_block(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "battle-pass-main__lock-icon icon-lock-bp");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (278:171) 
function main_index_svelte_create_if_block_4(ctx) {
	let div2;

	return {
		c() {
			div2 = internal_element("div");

			div2.innerHTML = `<div class="battle-pass-main__recived-icon icon-check-circle"></div> 
                                        <div class="battle-pass-main__recived-text">Получено</div>`;

			attr(div2, "class", "battle-pass-main__recived");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

// (270:32) {#if $battlePassData.availableToReceive[reward.level - 1][1] && $battlePassData.level >= reward.level}
function main_index_svelte_create_if_block_3(ctx) {
	let div;
	let premiumbutton;
	let current;

	function func() {
		return /*func*/ ctx[16](/*reward*/ ctx[26]);
	}

	premiumbutton = new premium_button_index_svelte({
			props: {
				icon: /*$battlePassData*/ ctx[4].premium ? '' : 'lock-wide',
				text: /*$battlePassData*/ ctx[4].premium
				? 'Получить'
				: 'Купить Premium',
				onClick: func
			}
		});

	return {
		c() {
			div = internal_element("div");
			create_component(premiumbutton.$$.fragment);
			attr(div, "class", "battle-pass-main__reward-button battle-pass-main__reward-button--premium");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(premiumbutton, div, null);
			current = true;
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			const premiumbutton_changes = {};
			if (dirty[0] & /*$battlePassData*/ 16) premiumbutton_changes.icon = /*$battlePassData*/ ctx[4].premium ? '' : 'lock-wide';

			if (dirty[0] & /*$battlePassData*/ 16) premiumbutton_changes.text = /*$battlePassData*/ ctx[4].premium
			? 'Получить'
			: 'Купить Premium';

			if (dirty[0] & /*premiumRewards*/ 4) premiumbutton_changes.onClick = func;
			premiumbutton.$set(premiumbutton_changes);
		},
		i(local) {
			if (current) return;
			transition_in(premiumbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(premiumbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(premiumbutton);
		}
	};
}

// (286:32) {#if reward.isVehicle}
function main_index_svelte_create_if_block_2(ctx) {
	let div;
	let tooltip_action;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<i class="battle-pass-main__reward-rarity-button-title">i</i>`;
			attr(div, "class", "battle-pass-main__reward-rarity-button");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = action_destroyer(tooltip_action = tooltip.call(null, div, {
					bonuses: [
						'Качество будет определено при открытии сертификата.',
						'Вы можете получить:',
						'- Хлам',
						'- Обычное',
						'- Идеальное'
					],
					isShowRarityPlate: false,
					isDottedList: false,
					isShowBonusesHeader: false,
					offsetX: 240
				}));

				mounted = true;
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (260:24) {#each premiumRewards as reward, index}
function components_main_index_svelte_create_each_block(ctx) {
	let div1;
	let div0;
	let t0_value = /*reward*/ ctx[26].title + "";
	let t0;
	let t1;
	let img;
	let img_src_value;
	let t2;
	let t3;
	let current_block_type_index;
	let if_block1;
	let t4;
	let t5;
	let current;
	let if_block0 = /*reward*/ ctx[26].count > 0 && main_index_svelte_create_if_block_5(ctx);
	const if_block_creators = [main_index_svelte_create_if_block_3, main_index_svelte_create_if_block_4, components_main_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type_1(ctx, dirty) {
		if (/*$battlePassData*/ ctx[4].availableToReceive[/*reward*/ ctx[26].level - 1][1] && /*$battlePassData*/ ctx[4].level >= /*reward*/ ctx[26].level) return 0;
		if (!/*$battlePassData*/ ctx[4].availableToReceive[/*reward*/ ctx[26].level - 1][1] && /*$battlePassData*/ ctx[4].level >= /*reward*/ ctx[26].level && /*$battlePassData*/ ctx[4].premium > 0) return 1;
		return 2;
	}

	current_block_type_index = select_block_type_1(ctx, [-1, -1]);
	if_block1 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
	let if_block2 = /*reward*/ ctx[26].isVehicle && main_index_svelte_create_if_block_2(ctx);

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			img = internal_element("img");
			t2 = space();
			if (if_block0) if_block0.c();
			t3 = space();
			if_block1.c();
			t4 = space();
			if (if_block2) if_block2.c();
			t5 = space();
			attr(div0, "class", "battle-pass-main__reward-title");
			if (!src_url_equal(img.src, img_src_value = `${BP_IMAGES_BASE_CDN_URL}/${/*reward*/ ctx[26].sysName}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "reward-icon");
			attr(img, "class", "battle-pass-main__reward-image");
			attr(div1, "class", "battle-pass-main__reward battle-pass-main__reward--premium");
			toggle_class(div1, "battle-pass-main__reward--locked", /*$battlePassData*/ ctx[4].level < /*reward*/ ctx[26].level);
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, t0);
			append(div1, t1);
			append(div1, img);
			append(div1, t2);
			if (if_block0) if_block0.m(div1, null);
			append(div1, t3);
			if_blocks[current_block_type_index].m(div1, null);
			append(div1, t4);
			if (if_block2) if_block2.m(div1, null);
			append(div1, t5);
			current = true;
		},
		p(ctx, dirty) {
			if ((!current || dirty[0] & /*premiumRewards*/ 4) && t0_value !== (t0_value = /*reward*/ ctx[26].title + "")) set_data(t0, t0_value);

			if (!current || dirty[0] & /*premiumRewards*/ 4 && !src_url_equal(img.src, img_src_value = `${BP_IMAGES_BASE_CDN_URL}/${/*reward*/ ctx[26].sysName}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (/*reward*/ ctx[26].count > 0) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = main_index_svelte_create_if_block_5(ctx);
					if_block0.c();
					if_block0.m(div1, t3);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type_1(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block1 = if_blocks[current_block_type_index];

				if (!if_block1) {
					if_block1 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block1.c();
				} else {
					if_block1.p(ctx, dirty);
				}

				transition_in(if_block1, 1);
				if_block1.m(div1, t4);
			}

			if (/*reward*/ ctx[26].isVehicle) {
				if (if_block2) {
					
				} else {
					if_block2 = main_index_svelte_create_if_block_2(ctx);
					if_block2.c();
					if_block2.m(div1, t5);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			if (dirty[0] & /*$battlePassData, premiumRewards*/ 20) {
				toggle_class(div1, "battle-pass-main__reward--locked", /*$battlePassData*/ ctx[4].level < /*reward*/ ctx[26].level);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block1);
			current = true;
		},
		o(local) {
			transition_out(if_block1);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			if (if_block0) if_block0.d();
			if_blocks[current_block_type_index].d();
			if (if_block2) if_block2.d();
		}
	};
}

// (330:8) {#if $battlePassData.premium < 2}
function components_main_index_svelte_create_if_block_1(ctx) {
	let div;
	let premiumbutton;
	let current;

	premiumbutton = new premium_button_index_svelte({
			props: {
				text: /*$battlePassData*/ ctx[4].premium > 0
				? 'Купить Premium Plus'
				: 'Купить Premium',
				onClick: /*func_1*/ ctx[19]
			}
		});

	return {
		c() {
			div = internal_element("div");
			create_component(premiumbutton.$$.fragment);
			attr(div, "class", "battle-pass-main__premium-button-wrapper");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(premiumbutton, div, null);
			current = true;
		},
		p(ctx, dirty) {
			const premiumbutton_changes = {};

			if (dirty[0] & /*$battlePassData*/ 16) premiumbutton_changes.text = /*$battlePassData*/ ctx[4].premium > 0
			? 'Купить Premium Plus'
			: 'Купить Premium';

			if (dirty[0] & /*$currentPage*/ 64) premiumbutton_changes.onClick = /*func_1*/ ctx[19];
			premiumbutton.$set(premiumbutton_changes);
		},
		i(local) {
			if (current) return;
			transition_in(premiumbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(premiumbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(premiumbutton);
		}
	};
}

function battle_pass_components_main_index_svelte_create_fragment(ctx) {
	let show_if = !(0,lodash.isEmpty)(/*$battlePassData*/ ctx[4]) && !(0,lodash.isEmpty)(/*commonRewards*/ ctx[3]) && !(0,lodash.isEmpty)(/*premiumRewards*/ ctx[2]);
	let if_block_anchor;
	let current;
	let mounted;
	let dispose;
	let if_block = show_if && battle_pass_components_main_index_svelte_create_if_block(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
			current = true;

			if (!mounted) {
				dispose = listen(window, "keyup", /*arrowsHandler*/ ctx[12]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$battlePassData, commonRewards, premiumRewards*/ 28) show_if = !(0,lodash.isEmpty)(/*$battlePassData*/ ctx[4]) && !(0,lodash.isEmpty)(/*commonRewards*/ ctx[3]) && !(0,lodash.isEmpty)(/*premiumRewards*/ ctx[2]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty[0] & /*$battlePassData, commonRewards, premiumRewards*/ 28) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = battle_pass_components_main_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
			mounted = false;
			dispose();
		}
	};
}

const PAGE_SIZE = 5;

function battle_pass_components_main_index_svelte_instance($$self, $$props, $$invalidate) {
	let $allPremiumRewards;
	let $allCommonRewards;
	let $battlePassData;
	let $rewardsPagesCount;
	let $serverApiToken;
	let $serverApiServerId;
	let $currentPage;
	component_subscribe($$self, allPremiumRewards, $$value => $$invalidate(0, $allPremiumRewards = $$value));
	component_subscribe($$self, allCommonRewards, $$value => $$invalidate(13, $allCommonRewards = $$value));
	component_subscribe($$self, battlePassData, $$value => $$invalidate(4, $battlePassData = $$value));
	component_subscribe($$self, rewardsPagesCount, $$value => $$invalidate(5, $rewardsPagesCount = $$value));
	component_subscribe($$self, serverApiToken, $$value => $$invalidate(21, $serverApiToken = $$value));
	component_subscribe($$self, serverApiServerId, $$value => $$invalidate(22, $serverApiServerId = $$value));
	component_subscribe($$self, currentPage, $$value => $$invalidate(6, $currentPage = $$value));
	let currentLevelPage = 1;
	let premiumRewards = [];
	let commonRewards = [];

	const updateRewardsList = () => {
		$$invalidate(2, premiumRewards = $allPremiumRewards.slice((currentLevelPage - 1) * PAGE_SIZE, currentLevelPage * PAGE_SIZE));
		$$invalidate(3, commonRewards = $allCommonRewards.slice((currentLevelPage - 1) * PAGE_SIZE, currentLevelPage * PAGE_SIZE));
	};

	const calculateDaysLeft = unix => Math.round((unix - moment_default()().unix()) / 86400);

	const nextPage = () => {
		if (currentLevelPage + 1 > $rewardsPagesCount) {
			return;
		}

		$$invalidate(1, currentLevelPage += 1);
		updateRewardsList();
	};

	const prevPage = () => {
		if (currentLevelPage - 1 < 1) {
			return;
		}

		$$invalidate(1, currentLevelPage -= 1);
		updateRewardsList();
	};

	const getPremiumReward = level => {
		if ($battlePassData.premium === 0) {
			set_store_value(currentPage, $currentPage = MenuIds.PurchasePremium, $currentPage);
		}

		set_store_value(battlePassData, $battlePassData.availableToReceive[level - 1][1] = 1, $battlePassData);
		sendClientMessage('battlePass.main.getPremiumReward', level);
	};

	const getCommonReward = level => {
		set_store_value(battlePassData, $battlePassData.availableToReceive[level - 1][0] = 1, $battlePassData);
		sendClientMessage('battlePass.main.getCommonReward', level);
	};

	const arrowsHandler = event => {
		switch (event.keyCode) {
			case 39:
				nextPage();
				break;
			case 37:
				prevPage();
				break;
			default:
				break;
		}
	};

	const getCommonRewards = () => {
		lib_axios.get(`${SERVER_API_URL}/client/json/table/get?project=${SERVER_API_PROJECT}&server=${$serverApiServerId}&key=battlepass_level_default`, {
			headers: {
				Authorization: `Bearer ${$serverApiToken}`
			}
		}).then(response => {
			set_store_value(allCommonRewards, $allCommonRewards = response.data, $allCommonRewards);
		}).catch(error => {
			// eslint-disable-next-line no-console
			console.log('error from getCommonRewards', JSON.stringify(error));
		});
	};

	const getPremiumRewards = () => {
		lib_axios.get(`${SERVER_API_URL}/client/json/table/get?project=${SERVER_API_PROJECT}&server=${$serverApiServerId}&key=battlepass_level_premium`, {
			headers: {
				Authorization: `Bearer ${$serverApiToken}`
			}
		}).then(response => {
			set_store_value(allPremiumRewards, $allPremiumRewards = response.data, $allPremiumRewards);

			set_store_value(
				rewardsPagesCount,
				$rewardsPagesCount = $battlePassData.level >= 100
				? 20
				: Math.ceil($allPremiumRewards.length / PAGE_SIZE),
				$rewardsPagesCount
			);

			if ($battlePassData.level > 0) {
				$$invalidate(1, currentLevelPage = $battlePassData.level >= 100
				? 20
				: Math.ceil($battlePassData.level / PAGE_SIZE));
			}
		}).catch(error => {
			// eslint-disable-next-line no-console
			console.log('error from getPremiumRewards', JSON.stringify(error));
		});
	};

	if ((0,lodash.isEmpty)($allCommonRewards)) {
		getCommonRewards();
	}

	if ((0,lodash.isEmpty)($allPremiumRewards)) {
		getPremiumRewards();
	}

	const click_handler = reward => getCommonReward(reward.level);

	const click_handler_1 = () => {
		set_store_value(currentPage, $currentPage = 'purchase-level', $currentPage);
	};

	const func = reward => getPremiumReward(reward.level);
	const click_handler_2 = () => prevPage();
	const click_handler_3 = () => nextPage();

	const func_1 = () => {
		set_store_value(currentPage, $currentPage = MenuIds.PurchasePremium, $currentPage);
	};

	const click_handler_4 = () => {
		set_store_value(currentPage, $currentPage = 'purchase-level', $currentPage);
	};

	$$self.$$.update = () => {
		if ($$self.$$.dirty[0] & /*$allCommonRewards, $allPremiumRewards*/ 8193) {
			$: {
				if (!(0,lodash.isEmpty)($allCommonRewards) && !(0,lodash.isEmpty)($allPremiumRewards)) {
					updateRewardsList();
				}
			}
		}
	};

	return [
		$allPremiumRewards,
		currentLevelPage,
		premiumRewards,
		commonRewards,
		$battlePassData,
		$rewardsPagesCount,
		$currentPage,
		calculateDaysLeft,
		nextPage,
		prevPage,
		getPremiumReward,
		getCommonReward,
		arrowsHandler,
		$allCommonRewards,
		click_handler,
		click_handler_1,
		func,
		click_handler_2,
		click_handler_3,
		func_1,
		click_handler_4
	];
}

class main_index_svelte_Main extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, battle_pass_components_main_index_svelte_instance, battle_pass_components_main_index_svelte_create_fragment, safe_not_equal, {}, null, [-1, -1]);
	}
}

/* harmony default export */ const battle_pass_components_main_index_svelte = (main_index_svelte_Main);
;// CONCATENATED MODULE: ./src/views/battle-pass/components/shop/index.svelte
/* src\views\battle-pass\components\shop\index.svelte generated by Svelte v3.49.0 */







// import premiumCar from '../../img/premium-car.png';






function components_shop_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[8] = list[i];
	child_ctx[10] = i;
	return child_ctx;
}

// (35:16) {#if item.discount > 0}
function shop_index_svelte_create_if_block_4(ctx) {
	let div1;
	let div0;
	let t_value = `-${/*item*/ ctx[8].discount}%` + "";
	let t;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			t = internal_text(t_value);
			attr(div0, "class", "battle-pass-shop__product-discount-value");
			attr(div1, "class", "battle-pass-shop__product-badge");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, t);
		},
		p(ctx, dirty) {
			if (dirty & /*$battlePassShop*/ 4 && t_value !== (t_value = `-${/*item*/ ctx[8].discount}%` + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (46:24) {#if item.discount > 0}
function shop_index_svelte_create_if_block_3(ctx) {
	let div;
	let t_value = formatMoney(/*item*/ ctx[8].price) + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "battle-pass-shop__product-full-price");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*$battlePassShop*/ 4 && t_value !== (t_value = formatMoney(/*item*/ ctx[8].price) + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (32:8) {#each $battlePassShop as item, index }
function components_shop_index_svelte_create_each_block(ctx) {
	let div5;
	let img0;
	let img0_src_value;
	let t0;
	let t1;
	let div4;
	let div2;
	let div0;
	let t2_value = /*item*/ ctx[8].name + "";
	let t2;
	let t3;
	let t4;
	let div1;
	let t5_value = formatMoney(/*calculatePrice*/ ctx[3](/*item*/ ctx[8].price, /*item*/ ctx[8].discount)) + "";
	let t5;
	let t6;
	let img1;
	let img1_src_value;
	let t7;
	let div3;
	let t8;
	let mounted;
	let dispose;
	let if_block0 = /*item*/ ctx[8].discount > 0 && shop_index_svelte_create_if_block_4(ctx);
	let if_block1 = /*item*/ ctx[8].discount > 0 && shop_index_svelte_create_if_block_3(ctx);

	function click_handler() {
		return /*click_handler*/ ctx[6](/*item*/ ctx[8], /*index*/ ctx[10]);
	}

	return {
		c() {
			div5 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			if (if_block0) if_block0.c();
			t1 = space();
			div4 = internal_element("div");
			div2 = internal_element("div");
			div0 = internal_element("div");
			t2 = internal_text(t2_value);
			t3 = space();
			if (if_block1) if_block1.c();
			t4 = space();
			div1 = internal_element("div");
			t5 = internal_text(t5_value);
			t6 = space();
			img1 = internal_element("img");
			t7 = space();
			div3 = internal_element("div");
			div3.innerHTML = `<i class="battle-pass-shop__product-cart-icon icon-cart"></i>`;
			t8 = space();
			if (!src_url_equal(img0.src, img0_src_value = `${BP_IMAGES_BASE_CDN_URL}/${/*item*/ ctx[8].itemId}.webp`)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "product");
			attr(img0, "class", "battle-pass-shop__product-image");
			attr(div0, "class", "battle-pass-shop__product-title");
			if (!src_url_equal(img1.src, img1_src_value = icon_bpoints_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "coins");
			attr(img1, "class", "battle-pass-shop__product-price-icon");
			attr(div1, "class", "battle-pass-shop__product-price");
			attr(div2, "class", "battle-pass-shop__product-info");
			attr(div3, "class", "battle-pass-shop__product-cart");
			toggle_class(div3, "battle-pass-shop__product-cart--active", /*item*/ ctx[8].itemId === /*selectedProduct*/ ctx[0].itemId);
			attr(div4, "class", "battle-pass-shop__product-info-wrapper");
			attr(div5, "class", "battle-pass-shop__product");
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			append(div5, img0);
			append(div5, t0);
			if (if_block0) if_block0.m(div5, null);
			append(div5, t1);
			append(div5, div4);
			append(div4, div2);
			append(div2, div0);
			append(div0, t2);
			append(div2, t3);
			if (if_block1) if_block1.m(div2, null);
			append(div2, t4);
			append(div2, div1);
			append(div1, t5);
			append(div1, t6);
			append(div1, img1);
			append(div4, t7);
			append(div4, div3);
			append(div5, t8);

			if (!mounted) {
				dispose = listen(div3, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*$battlePassShop*/ 4 && !src_url_equal(img0.src, img0_src_value = `${BP_IMAGES_BASE_CDN_URL}/${/*item*/ ctx[8].itemId}.webp`)) {
				attr(img0, "src", img0_src_value);
			}

			if (/*item*/ ctx[8].discount > 0) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = shop_index_svelte_create_if_block_4(ctx);
					if_block0.c();
					if_block0.m(div5, t1);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty & /*$battlePassShop*/ 4 && t2_value !== (t2_value = /*item*/ ctx[8].name + "")) set_data(t2, t2_value);

			if (/*item*/ ctx[8].discount > 0) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = shop_index_svelte_create_if_block_3(ctx);
					if_block1.c();
					if_block1.m(div2, t4);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty & /*$battlePassShop*/ 4 && t5_value !== (t5_value = formatMoney(/*calculatePrice*/ ctx[3](/*item*/ ctx[8].price, /*item*/ ctx[8].discount)) + "")) set_data(t5, t5_value);

			if (dirty & /*$battlePassShop, selectedProduct*/ 5) {
				toggle_class(div3, "battle-pass-shop__product-cart--active", /*item*/ ctx[8].itemId === /*selectedProduct*/ ctx[0].itemId);
			}
		},
		d(detaching) {
			if (detaching) detach(div5);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			mounted = false;
			dispose();
		}
	};
}

// (66:8) {#if !isEmpty(selectedProduct)}
function components_shop_index_svelte_create_if_block(ctx) {
	let div0;
	let t2;
	let div9;
	let div2;
	let div1;
	let t3_value = /*selectedProduct*/ ctx[0].name + "";
	let t3;
	let t4;
	let t5;
	let img0;
	let img0_src_value;
	let t6;
	let div8;
	let div3;
	let t7_value = /*selectedProduct*/ ctx[0].desc + "";
	let t7;
	let t8;
	let t9;
	let div7;
	let div4;

	let t10_value = (/*selectedProduct*/ ctx[0].discount
	? 'Цена \n со скидкой'
	: 'Цена') + "";

	let t10;
	let t11;
	let t12;
	let div6;
	let div5;
	let t13_value = formatMoney(/*calculatePrice*/ ctx[3](/*selectedProduct*/ ctx[0].price, /*selectedProduct*/ ctx[0].discount)) + "";
	let t13;
	let t14;
	let img1;
	let img1_src_value;
	let div9_intro;
	let mounted;
	let dispose;
	let if_block0 = /*selectedProduct*/ ctx[0].discount > 0 && shop_index_svelte_create_if_block_2(ctx);
	let if_block1 = /*selectedProduct*/ ctx[0].discount > 0 && shop_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			div0 = internal_element("div");
			div0.innerHTML = `Оформление<br/>покупки:`;
			t2 = space();
			div9 = internal_element("div");
			div2 = internal_element("div");
			div1 = internal_element("div");
			t3 = internal_text(t3_value);
			t4 = space();
			if (if_block0) if_block0.c();
			t5 = space();
			img0 = internal_element("img");
			t6 = space();
			div8 = internal_element("div");
			div3 = internal_element("div");
			t7 = internal_text(t7_value);
			t8 = space();
			if (if_block1) if_block1.c();
			t9 = space();
			div7 = internal_element("div");
			div4 = internal_element("div");
			t10 = internal_text(t10_value);
			t11 = internal_text(":");
			t12 = space();
			div6 = internal_element("div");
			div5 = internal_element("div");
			t13 = internal_text(t13_value);
			t14 = space();
			img1 = internal_element("img");
			attr(div0, "class", "battle-pass-shop__details-caption");
			attr(div1, "class", "battle-pass-shop__details-title");
			attr(div2, "class", "battle-pass-shop__details-header");
			if (!src_url_equal(img0.src, img0_src_value = `${BP_IMAGES_BASE_CDN_URL}/${/*selectedProduct*/ ctx[0].itemId}.webp`)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "product");
			attr(img0, "class", "battle-pass-shop__details-image");
			attr(div3, "class", "battle-pass-shop__details-description");
			attr(div4, "class", "battle-pass-shop__details-price-caption");
			attr(div5, "class", "battle-pass-shop__details-button-value");
			if (!src_url_equal(img1.src, img1_src_value = icon_bpoints_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "coins");
			attr(img1, "class", "battle-pass-shop__details-button-icon");
			attr(div6, "class", "battle-pass-shop__details-price-button");
			toggle_class(div6, "battle-pass-shop__details-price-button--disabled", /*$battlePassData*/ ctx[1].passCoins < /*calculatePrice*/ ctx[3](/*selectedProduct*/ ctx[0].price, /*selectedProduct*/ ctx[0].discount));
			attr(div7, "class", "battle-pass-shop__details-price-wrapper");
			attr(div8, "class", "battle-pass-shop__details-bottom");
			attr(div9, "class", "battle-pass-shop__details-info-wrapper");
		},
		m(target, anchor) {
			insert(target, div0, anchor);
			insert(target, t2, anchor);
			insert(target, div9, anchor);
			append(div9, div2);
			append(div2, div1);
			append(div1, t3);
			append(div2, t4);
			if (if_block0) if_block0.m(div2, null);
			append(div9, t5);
			append(div9, img0);
			append(div9, t6);
			append(div9, div8);
			append(div8, div3);
			append(div3, t7);
			append(div8, t8);
			if (if_block1) if_block1.m(div8, null);
			append(div8, t9);
			append(div8, div7);
			append(div7, div4);
			append(div4, t10);
			append(div4, t11);
			append(div7, t12);
			append(div7, div6);
			append(div6, div5);
			append(div5, t13);
			append(div6, t14);
			append(div6, img1);

			if (!mounted) {
				dispose = listen(div6, "click", /*click_handler_1*/ ctx[7]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*selectedProduct*/ 1 && t3_value !== (t3_value = /*selectedProduct*/ ctx[0].name + "")) set_data(t3, t3_value);

			if (/*selectedProduct*/ ctx[0].discount > 0) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = shop_index_svelte_create_if_block_2(ctx);
					if_block0.c();
					if_block0.m(div2, null);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty & /*selectedProduct*/ 1 && !src_url_equal(img0.src, img0_src_value = `${BP_IMAGES_BASE_CDN_URL}/${/*selectedProduct*/ ctx[0].itemId}.webp`)) {
				attr(img0, "src", img0_src_value);
			}

			if (dirty & /*selectedProduct*/ 1 && t7_value !== (t7_value = /*selectedProduct*/ ctx[0].desc + "")) set_data(t7, t7_value);

			if (/*selectedProduct*/ ctx[0].discount > 0) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = shop_index_svelte_create_if_block_1(ctx);
					if_block1.c();
					if_block1.m(div8, t9);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty & /*selectedProduct*/ 1 && t10_value !== (t10_value = (/*selectedProduct*/ ctx[0].discount
			? 'Цена \n со скидкой'
			: 'Цена') + "")) set_data(t10, t10_value);

			if (dirty & /*selectedProduct*/ 1 && t13_value !== (t13_value = formatMoney(/*calculatePrice*/ ctx[3](/*selectedProduct*/ ctx[0].price, /*selectedProduct*/ ctx[0].discount)) + "")) set_data(t13, t13_value);

			if (dirty & /*$battlePassData, calculatePrice, selectedProduct*/ 11) {
				toggle_class(div6, "battle-pass-shop__details-price-button--disabled", /*$battlePassData*/ ctx[1].passCoins < /*calculatePrice*/ ctx[3](/*selectedProduct*/ ctx[0].price, /*selectedProduct*/ ctx[0].discount));
			}
		},
		i(local) {
			if (!div9_intro) {
				add_render_callback(() => {
					div9_intro = create_in_transition(div9, fade, {});
					div9_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div0);
			if (detaching) detach(t2);
			if (detaching) detach(div9);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			mounted = false;
			dispose();
		}
	};
}

// (72:20) {#if selectedProduct.discount > 0}
function shop_index_svelte_create_if_block_2(ctx) {
	let div;
	let t_value = `-${/*selectedProduct*/ ctx[0].discount} %` + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "battle-pass-shop__details-discount");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*selectedProduct*/ 1 && t_value !== (t_value = `-${/*selectedProduct*/ ctx[0].discount} %` + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (81:20) {#if selectedProduct.discount > 0}
function shop_index_svelte_create_if_block_1(ctx) {
	let div3;
	let div0;
	let t1;
	let div2;
	let div1;
	let t2_value = formatMoney(/*selectedProduct*/ ctx[0].price) + "";
	let t2;
	let t3;
	let img;
	let img_src_value;

	return {
		c() {
			div3 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "Цена:";
			t1 = space();
			div2 = internal_element("div");
			div1 = internal_element("div");
			t2 = internal_text(t2_value);
			t3 = space();
			img = internal_element("img");
			attr(div0, "class", "battle-pass-shop__details-full-price-caption");
			attr(div1, "class", "battle-pass-shop__details-full-price-value");
			if (!src_url_equal(img.src, img_src_value = icon_bpoints_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "product");
			attr(img, "class", "battle-pass-shop__details-full-price-icon");
			attr(div2, "class", "battle-pass-shop__details-full-price-value-wrapper");
			attr(div3, "class", "battle-pass-shop__details-full-price-wrapper");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div0);
			append(div3, t1);
			append(div3, div2);
			append(div2, div1);
			append(div1, t2);
			append(div2, t3);
			append(div2, img);
		},
		p(ctx, dirty) {
			if (dirty & /*selectedProduct*/ 1 && t2_value !== (t2_value = formatMoney(/*selectedProduct*/ ctx[0].price) + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div3);
		}
	};
}

function components_shop_index_svelte_create_fragment(ctx) {
	let div2;
	let div0;
	let t;
	let div1;
	let show_if = !(0,lodash.isEmpty)(/*selectedProduct*/ ctx[0]);
	let div2_intro;
	let each_value = /*$battlePassShop*/ ctx[2];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = components_shop_index_svelte_create_each_block(components_shop_index_svelte_get_each_context(ctx, each_value, i));
	}

	let if_block = show_if && components_shop_index_svelte_create_if_block(ctx);

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t = space();
			div1 = internal_element("div");
			if (if_block) if_block.c();
			attr(div0, "class", "battle-pass-shop__grid");
			attr(div1, "class", "battle-pass-shop__details");
			attr(div2, "class", "battle-pass-shop");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			append(div2, t);
			append(div2, div1);
			if (if_block) if_block.m(div1, null);
		},
		p(ctx, [dirty]) {
			if (dirty & /*$battlePassShop, selectedProduct, selectProduct, battlePassCoins, formatMoney, calculatePrice, BP_IMAGES_BASE_CDN_URL*/ 29) {
				each_value = /*$battlePassShop*/ ctx[2];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = components_shop_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = components_shop_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div0, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if (dirty & /*selectedProduct*/ 1) show_if = !(0,lodash.isEmpty)(/*selectedProduct*/ ctx[0]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*selectedProduct*/ 1) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = components_shop_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(div1, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		i(local) {
			transition_in(if_block);

			if (!div2_intro) {
				add_render_callback(() => {
					div2_intro = create_in_transition(div2, fade, {});
					div2_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div2);
			destroy_each(each_blocks, detaching);
			if (if_block) if_block.d();
		}
	};
}

function components_shop_index_svelte_instance($$self, $$props, $$invalidate) {
	let $battlePassData;
	let $battlePassShop;
	component_subscribe($$self, battlePassData, $$value => $$invalidate(1, $battlePassData = $$value));
	component_subscribe($$self, battlePassShop, $$value => $$invalidate(2, $battlePassShop = $$value));
	let selectedProduct = {};
	const calculatePrice = (price, discount) => Math.ceil(price - price * (discount / 100));

	const selectProduct = (item, index) => {
		$$invalidate(0, selectedProduct = item);
		$$invalidate(0, selectedProduct.index = index, selectedProduct);
	};

	const purchaseProduct = index => {
		if ($battlePassData.passCoins < calculatePrice(selectedProduct.price, selectedProduct.discount)) {
			return;
		}

		sendClientMessage('battlePass.shop.purchaseProduct', index);
	};

	const click_handler = (item, index) => selectProduct(item, index);
	const click_handler_1 = () => purchaseProduct(selectedProduct.index);

	return [
		selectedProduct,
		$battlePassData,
		$battlePassShop,
		calculatePrice,
		selectProduct,
		purchaseProduct,
		click_handler,
		click_handler_1
	];
}

class index_svelte_Shop extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, components_shop_index_svelte_instance, components_shop_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const components_shop_index_svelte = (index_svelte_Shop);
;// CONCATENATED MODULE: ./src/views/battle-pass/img/warning.svg
const warning_namespaceObject = __webpack_require__.p + "assets/d9593ca120bdaf9900c7.svg";
;// CONCATENATED MODULE: ./src/views/battle-pass/img/levels5.png
const levels5_namespaceObject = __webpack_require__.p + "assets/cad9d5b1925a36067cef.webp";
;// CONCATENATED MODULE: ./src/views/battle-pass/img/levels10.png
const levels10_namespaceObject = __webpack_require__.p + "assets/6eff4c82f19a0a14b4ac.webp";
;// CONCATENATED MODULE: ./src/views/battle-pass/img/levels20.png
const levels20_namespaceObject = __webpack_require__.p + "assets/d68861280c37430bf74f.webp";
;// CONCATENATED MODULE: ./src/views/battle-pass/img/levels.png
const levels_namespaceObject = __webpack_require__.p + "assets/2e831ff63c9167aad0a9.webp";
;// CONCATENATED MODULE: ./src/views/battle-pass/components/purchase-level/index.svelte
/* src\views\battle-pass\components\purchase-level\index.svelte generated by Svelte v3.49.0 */













function purchase_level_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[7] = list[i];
	child_ctx[9] = i;
	return child_ctx;
}

// (72:4) {:else}
function purchase_level_index_svelte_create_else_block(ctx) {
	let div6;
	let div0;
	let img0;
	let img0_src_value;
	let t0;
	let div1;
	let t2;
	let div3;
	let img1;
	let img1_src_value;
	let t3;
	let div2;
	let t6;
	let div5;
	let mounted;
	let dispose;

	return {
		c() {
			div6 = internal_element("div");
			div0 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			div1 = internal_element("div");
			div1.textContent = "Покупка уровней:";
			t2 = space();
			div3 = internal_element("div");
			img1 = internal_element("img");
			t3 = space();
			div2 = internal_element("div");
			div2.innerHTML = `Вы достигли максимального уровня Боевого Пропуска. <br/> Покупка уровней - невозможна!`;
			t6 = space();
			div5 = internal_element("div");

			div5.innerHTML = `<i class="battle-pass-purchase-level__button-icon icon-forward-curve"></i> 
                <div class="battle-pass-purchase-level__button-text">Вернуться на главную</div>`;

			if (!src_url_equal(img0.src, img0_src_value = MAP_PREMIUM_TO_LOGO[/*$battlePassData*/ ctx[0].premium])) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "logo");
			attr(img0, "class", "battle-pass-purchase-level__logo-image");
			attr(div0, "class", "battle-pass-purchase-level__logo-wrppaer battle-pass-purchase-level__logo-wrppaer--top");
			attr(div1, "class", "battle-pass-purchase-level__finish-title");
			if (!src_url_equal(img1.src, img1_src_value = warning_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "warning");
			attr(img1, "class", "battle-pass-purchase-level__notification-icon");
			attr(div2, "class", "battle-pass-purchase-level__notification-text");
			attr(div3, "class", "battle-pass-purchase-level__notification");
			attr(div5, "class", "battle-pass-purchase-level__button");
			attr(div6, "class", "battle-pass-purchase-level__finish");
		},
		m(target, anchor) {
			insert(target, div6, anchor);
			append(div6, div0);
			append(div0, img0);
			append(div6, t0);
			append(div6, div1);
			append(div6, t2);
			append(div6, div3);
			append(div3, img1);
			append(div3, t3);
			append(div3, div2);
			append(div6, t6);
			append(div6, div5);

			if (!mounted) {
				dispose = listen(div5, "click", /*back*/ ctx[3]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*$battlePassData*/ 1 && !src_url_equal(img0.src, img0_src_value = MAP_PREMIUM_TO_LOGO[/*$battlePassData*/ ctx[0].premium])) {
				attr(img0, "src", img0_src_value);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div6);
			mounted = false;
			dispose();
		}
	};
}

// (46:4) {#if $battlePassData.level < $battlePassData.availableToReceive.length}
function purchase_level_index_svelte_create_if_block(ctx) {
	let div0;
	let img;
	let img_src_value;
	let t0;
	let div3;
	let div1;
	let t2;
	let div2;
	let current;
	let each_value = /*$levelPrices*/ ctx[1];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = purchase_level_index_svelte_create_each_block(purchase_level_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div3 = internal_element("div");
			div1 = internal_element("div");
			div1.textContent = "Покупка уровней Battle Pass";
			t2 = space();
			div2 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			if (!src_url_equal(img.src, img_src_value = MAP_PREMIUM_TO_LOGO[/*$battlePassData*/ ctx[0].premium])) attr(img, "src", img_src_value);
			attr(img, "alt", "logo");
			attr(img, "class", "battle-pass-purchase-level__logo-image");
			attr(div0, "class", "battle-pass-purchase-level__logo-wrppaer");
			attr(div1, "class", "battle-pass-purchase-level__title");
			attr(div2, "class", "battle-pass-purchase-level__variants");
			attr(div3, "class", "battle-pass-purchase-level__content");
		},
		m(target, anchor) {
			insert(target, div0, anchor);
			append(div0, img);
			insert(target, t0, anchor);
			insert(target, div3, anchor);
			append(div3, div1);
			append(div3, t2);
			append(div3, div2);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div2, null);
			}

			current = true;
		},
		p(ctx, dirty) {
			if (!current || dirty & /*$battlePassData*/ 1 && !src_url_equal(img.src, img_src_value = MAP_PREMIUM_TO_LOGO[/*$battlePassData*/ ctx[0].premium])) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*purchaseLevels, $levelPrices, MAP_ID_TO_INFO*/ 22) {
				each_value = /*$levelPrices*/ ctx[1];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = purchase_level_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = purchase_level_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div2, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div0);
			if (detaching) detach(t0);
			if (detaching) detach(div3);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (56:16) {#each $levelPrices as price, index}
function purchase_level_index_svelte_create_each_block(ctx) {
	let div5;
	let img;
	let img_src_value;
	let t0;
	let div2;
	let div0;
	let t1_value = /*MAP_ID_TO_INFO*/ ctx[2][/*index*/ ctx[9]].title + "";
	let t1;
	let t2;
	let div1;
	let t3;
	let b;
	let t4_value = /*$levelPrices*/ ctx[1][/*index*/ ctx[9]].count + "";
	let t4;
	let t5;
	let br;
	let t6;
	let t7;
	let div3;
	let t8_value = `${/*$levelPrices*/ ctx[1][/*index*/ ctx[9]].price} RUB` + "";
	let t8;
	let t9;
	let div4;
	let premiumbutton;
	let t10;
	let current;

	function func() {
		return /*func*/ ctx[5](/*index*/ ctx[9]);
	}

	premiumbutton = new premium_button_index_svelte({ props: { text: 'Купить', onClick: func } });

	return {
		c() {
			div5 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div2 = internal_element("div");
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			div1 = internal_element("div");
			t3 = internal_text("Открытие +");
			b = internal_element("b");
			t4 = internal_text(t4_value);
			t5 = internal_text(" уровней ");
			br = internal_element("br");
			t6 = internal_text(" Rodina Pass.");
			t7 = space();
			div3 = internal_element("div");
			t8 = internal_text(t8_value);
			t9 = space();
			div4 = internal_element("div");
			create_component(premiumbutton.$$.fragment);
			t10 = space();
			attr(img, "class", "battle-pass-purchase-level__variant-image");
			attr(img, "alt", "ticket");
			if (!src_url_equal(img.src, img_src_value = /*MAP_ID_TO_INFO*/ ctx[2][/*index*/ ctx[9]].image)) attr(img, "src", img_src_value);
			attr(div0, "class", "battle-pass-purchase-level__variant-title");
			attr(div1, "class", "battle-pass-purchase-level__variant-description");
			attr(div2, "class", "battle-pass-purchase-level__variant-text-wrapper");
			attr(div3, "class", "battle-pass-purchase-level__variant-price");
			attr(div4, "class", "battle-pass-purchase-level__variant-button");
			attr(div5, "class", "battle-pass-purchase-level__variant");
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			append(div5, img);
			append(div5, t0);
			append(div5, div2);
			append(div2, div0);
			append(div0, t1);
			append(div2, t2);
			append(div2, div1);
			append(div1, t3);
			append(div1, b);
			append(b, t4);
			append(div1, t5);
			append(div1, br);
			append(div1, t6);
			append(div5, t7);
			append(div5, div3);
			append(div3, t8);
			append(div5, t9);
			append(div5, div4);
			mount_component(premiumbutton, div4, null);
			append(div5, t10);
			current = true;
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if ((!current || dirty & /*$levelPrices*/ 2) && t4_value !== (t4_value = /*$levelPrices*/ ctx[1][/*index*/ ctx[9]].count + "")) set_data(t4, t4_value);
			if ((!current || dirty & /*$levelPrices*/ 2) && t8_value !== (t8_value = `${/*$levelPrices*/ ctx[1][/*index*/ ctx[9]].price} RUB` + "")) set_data(t8, t8_value);
		},
		i(local) {
			if (current) return;
			transition_in(premiumbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(premiumbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div5);
			destroy_component(premiumbutton);
		}
	};
}

function purchase_level_index_svelte_create_fragment(ctx) {
	let div;
	let current_block_type_index;
	let if_block;
	let current;
	const if_block_creators = [purchase_level_index_svelte_create_if_block, purchase_level_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (/*$battlePassData*/ ctx[0].level < /*$battlePassData*/ ctx[0].availableToReceive.length) return 0;
		return 1;
	}

	current_block_type_index = select_block_type(ctx, -1);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div = internal_element("div");
			if_block.c();
			attr(div, "class", "battle-pass-purchase-level");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if_blocks[current_block_type_index].m(div, null);
			current = true;
		},
		p(ctx, [dirty]) {
			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(div, null);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if_blocks[current_block_type_index].d();
		}
	};
}

function purchase_level_index_svelte_instance($$self, $$props, $$invalidate) {
	let $currentPage;
	let $battlePassData;
	let $levelPrices;
	component_subscribe($$self, currentPage, $$value => $$invalidate(6, $currentPage = $$value));
	component_subscribe($$self, battlePassData, $$value => $$invalidate(0, $battlePassData = $$value));
	component_subscribe($$self, levelPrices, $$value => $$invalidate(1, $levelPrices = $$value));

	const MAP_ID_TO_INFO = [
		{
			title: 'Серебряный набор',
			image: levels5_namespaceObject
		},
		{ title: 'Золотой набор', image: levels10_namespaceObject },
		{
			title: 'Влиятельный набор',
			image: levels20_namespaceObject
		},
		{
			title: 'Легендарный набор',
			image: levels_namespaceObject
		}
	];

	// const calculatePrice = (price, discount) => Math.ceil(price - price * (discount / 100));
	const back = () => {
		set_store_value(currentPage, $currentPage = MenuIds.Main, $currentPage);
	};

	const purchaseLevels = index => {
		sendClientMessage('battlePass.levels.purchase', index);
	};

	const func = index => purchaseLevels(index);
	return [$battlePassData, $levelPrices, MAP_ID_TO_INFO, back, purchaseLevels, func];
}

class Purchase_level extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, purchase_level_index_svelte_instance, purchase_level_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const purchase_level_index_svelte = (Purchase_level);
;// CONCATENATED MODULE: ./src/views/battle-pass/components/prize-image/index.svelte
/* src\views\battle-pass\components\prize-image\index.svelte generated by Svelte v3.49.0 */





function prize_image_index_svelte_create_if_block(ctx) {
	let div;
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(/*text*/ ctx[2]);
			attr(div, "class", "arizona-pass-prize-image__text");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*text*/ 4) set_data(t, /*text*/ ctx[2]);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function prize_image_index_svelte_create_fragment(ctx) {
	let div;
	let show_if = !(0,lodash.isEmpty)(/*text*/ ctx[2]);
	let t;
	let img;
	let img_src_value;
	let div_class_value;
	let if_block = show_if && prize_image_index_svelte_create_if_block(ctx);

	return {
		c() {
			div = internal_element("div");
			if (if_block) if_block.c();
			t = space();
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = /*imageSrc*/ ctx[0])) attr(img, "src", img_src_value);
			attr(img, "alt", "reward");
			attr(img, "class", "arizona-pass-prize-image__image");
			attr(div, "class", div_class_value = "arizona-pass-prize-image arizona-pass-prize-image--" + /*style*/ ctx[1]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block) if_block.m(div, null);
			append(div, t);
			append(div, img);
		},
		p(ctx, [dirty]) {
			if (dirty & /*text*/ 4) show_if = !(0,lodash.isEmpty)(/*text*/ ctx[2]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = prize_image_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div, t);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (dirty & /*imageSrc*/ 1 && !src_url_equal(img.src, img_src_value = /*imageSrc*/ ctx[0])) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*style*/ 2 && div_class_value !== (div_class_value = "arizona-pass-prize-image arizona-pass-prize-image--" + /*style*/ ctx[1])) {
				attr(div, "class", div_class_value);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			if (if_block) if_block.d();
		}
	};
}

function prize_image_index_svelte_instance($$self, $$props, $$invalidate) {
	let { imageSrc = () => {
		
	} } = $$props;

	let { style = '' } = $$props;
	let { text = '' } = $$props;

	$$self.$$set = $$props => {
		if ('imageSrc' in $$props) $$invalidate(0, imageSrc = $$props.imageSrc);
		if ('style' in $$props) $$invalidate(1, style = $$props.style);
		if ('text' in $$props) $$invalidate(2, text = $$props.text);
	};

	return [imageSrc, style, text];
}

class Prize_image extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, prize_image_index_svelte_instance, prize_image_index_svelte_create_fragment, safe_not_equal, { imageSrc: 0, style: 1, text: 2 });
	}
}

/* harmony default export */ const prize_image_index_svelte = (Prize_image);
;// CONCATENATED MODULE: ./src/views/battle-pass/components/purchase-premium/index.svelte
/* src\views\battle-pass\components\purchase-premium\index.svelte generated by Svelte v3.49.0 */












function purchase_premium_index_svelte_create_if_block_3(ctx) {
	let div;
	let b;
	let t_value = `-${/*$premiumPrices*/ ctx[0][0].discount} %` + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			b = internal_element("b");
			t = internal_text(t_value);
			attr(div, "class", "battle-pass-purchase-premium__discount");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, b);
			append(b, t);
		},
		p(ctx, dirty) {
			if (dirty & /*$premiumPrices*/ 1 && t_value !== (t_value = `-${/*$premiumPrices*/ ctx[0][0].discount} %` + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (81:16) {#if $premiumPrices[0].discount > 0}
function purchase_premium_index_svelte_create_if_block_2(ctx) {
	let div;
	let t_value = `${/*$premiumPrices*/ ctx[0][0].price} RUB` + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "battle-pass-purchase-premium__price-old");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*$premiumPrices*/ 1 && t_value !== (t_value = `${/*$premiumPrices*/ ctx[0][0].price} RUB` + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (113:20) {#if $premiumPrices[1].discount > 0}
function purchase_premium_index_svelte_create_if_block_1(ctx) {
	let div;
	let b;
	let t_value = `-${/*$premiumPrices*/ ctx[0][1].discount} %` + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			b = internal_element("b");
			t = internal_text(t_value);
			attr(div, "class", "battle-pass-purchase-premium__discount");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, b);
			append(b, t);
		},
		p(ctx, dirty) {
			if (dirty & /*$premiumPrices*/ 1 && t_value !== (t_value = `-${/*$premiumPrices*/ ctx[0][1].discount} %` + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (119:20) {#if $premiumPrices[1].discount > 0}
function purchase_premium_index_svelte_create_if_block(ctx) {
	let div;
	let t_value = `${/*$premiumPrices*/ ctx[0][1].price} RUB` + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "battle-pass-purchase-premium__price-old");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*$premiumPrices*/ 1 && t_value !== (t_value = `${/*$premiumPrices*/ ctx[0][1].price} RUB` + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function purchase_premium_index_svelte_create_fragment(ctx) {
	let div38;
	let div0;
	let t2;
	let div37;
	let div12;
	let div2;
	let div1;
	let t4;
	let t5;
	let div4;
	let t6;
	let div3;
	let t7_value = `${formatMoney(/*calculatePrice*/ ctx[3](/*$premiumPrices*/ ctx[0][0].price, /*$premiumPrices*/ ctx[0][0].discount))} RUB` + "";
	let t7;
	let t8;
	let div9;
	let t15;
	let div11;
	let div10;
	let premiumbutton0;
	let t16;
	let div36;
	let div13;
	let t18;
	let div35;
	let div15;
	let div14;
	let t20;
	let t21;
	let div17;
	let t22;
	let div16;
	let t23_value = `${formatMoney(/*calculatePrice*/ ctx[3](/*$premiumPrices*/ ctx[0][1].price, /*$premiumPrices*/ ctx[0][1].discount))} RUB` + "";
	let t23;
	let t24;
	let div28;
	let t39;
	let div32;
	let div29;
	let prizeimage0;
	let t40;
	let div30;
	let prizeimage1;
	let t41;
	let div31;
	let prizeimage2;
	let t42;
	let div34;
	let div33;
	let premiumbutton1;
	let div38_intro;
	let current;
	let if_block0 = /*$premiumPrices*/ ctx[0][0].discount > 0 && purchase_premium_index_svelte_create_if_block_3(ctx);
	let if_block1 = /*$premiumPrices*/ ctx[0][0].discount > 0 && purchase_premium_index_svelte_create_if_block_2(ctx);
	const premiumbutton0_spread_levels = [/*BUTTON_OPTIONS*/ ctx[2][/*$battlePassData*/ ctx[1].premium][0]];
	let premiumbutton0_props = {};

	for (let i = 0; i < premiumbutton0_spread_levels.length; i += 1) {
		premiumbutton0_props = internal_assign(premiumbutton0_props, premiumbutton0_spread_levels[i]);
	}

	premiumbutton0 = new premium_button_index_svelte({ props: premiumbutton0_props });
	let if_block2 = /*$premiumPrices*/ ctx[0][1].discount > 0 && purchase_premium_index_svelte_create_if_block_1(ctx);
	let if_block3 = /*$premiumPrices*/ ctx[0][1].discount > 0 && purchase_premium_index_svelte_create_if_block(ctx);

	prizeimage0 = new prize_image_index_svelte({
			props: {
				imageSrc: `${BP_IMAGES_BASE_CDN_URL}/7166.webp`,
				style: 'purple'
			}
		});

	prizeimage1 = new prize_image_index_svelte({
			props: {
				imageSrc: `${BP_IMAGES_BASE_CDN_URL}/6545.webp`,
				style: 'purple'
			}
		});

	prizeimage2 = new prize_image_index_svelte({
			props: {
				imageSrc: `${BP_IMAGES_BASE_CDN_URL}/7076.webp`,
				style: 'purple'
			}
		});

	const premiumbutton1_spread_levels = [/*BUTTON_OPTIONS*/ ctx[2][/*$battlePassData*/ ctx[1].premium][1]];
	let premiumbutton1_props = {};

	for (let i = 0; i < premiumbutton1_spread_levels.length; i += 1) {
		premiumbutton1_props = internal_assign(premiumbutton1_props, premiumbutton1_spread_levels[i]);
	}

	premiumbutton1 = new premium_button_index_svelte({ props: premiumbutton1_props });

	return {
		c() {
			div38 = internal_element("div");
			div0 = internal_element("div");
			div0.innerHTML = `Покупка <span class="battle-pass-purchase-premium__grdient-premium battle-pass-purchase-premium__grdient-premium--black">PREMIUM</span>`;
			t2 = space();
			div37 = internal_element("div");
			div12 = internal_element("div");
			div2 = internal_element("div");
			div1 = internal_element("div");
			div1.textContent = "PREMIUM";
			t4 = space();
			if (if_block0) if_block0.c();
			t5 = space();
			div4 = internal_element("div");
			if (if_block1) if_block1.c();
			t6 = space();
			div3 = internal_element("div");
			t7 = internal_text(t7_value);
			t8 = space();
			div9 = internal_element("div");

			div9.innerHTML = `<div class="battle-pass-purchase-premium__premium-point"><i class="battle-pass-purchase-premium__premium-point-icon icon-check-quad"></i> 
                    <div class="battle-pass-purchase-premium__premium-point-text">Награды из <span class="battle-pass-purchase-premium__grdient-premium">Premium-ветки</span></div></div> 
                <div class="battle-pass-purchase-premium__premium-point"><i class="battle-pass-purchase-premium__premium-point-icon icon-check-quad"></i> 
                    <div class="battle-pass-purchase-premium__premium-point-text">Ускоренная прокачка</div></div>`;

			t15 = space();
			div11 = internal_element("div");
			div10 = internal_element("div");
			create_component(premiumbutton0.$$.fragment);
			t16 = space();
			div36 = internal_element("div");
			div13 = internal_element("div");
			div13.textContent = "Лучшее предложение";
			t18 = space();
			div35 = internal_element("div");
			div15 = internal_element("div");
			div14 = internal_element("div");
			div14.textContent = "PREMIUM PLUS";
			t20 = space();
			if (if_block2) if_block2.c();
			t21 = space();
			div17 = internal_element("div");
			if (if_block3) if_block3.c();
			t22 = space();
			div16 = internal_element("div");
			t23 = internal_text(t23_value);
			t24 = space();
			div28 = internal_element("div");

			div28.innerHTML = `<div class="battle-pass-purchase-premium__premium-point"><i class="battle-pass-purchase-premium__premium-point-icon battle-pass-purchase-premium__premium-point-icon--plus icon-check-quad"></i> 
                        <div class="battle-pass-purchase-premium__premium-point-text battle-pass-purchase-premium__premium-point-text--premium-plus">Все преимущества Premium</div></div> 
                    <div class="battle-pass-purchase-premium__premium-point"><i class="battle-pass-purchase-premium__premium-point-icon battle-pass-purchase-premium__premium-point-icon--plus icon-check-quad"></i> 
                        <div class="battle-pass-purchase-premium__premium-point-text battle-pass-purchase-premium__premium-point-text--premium-plus">Моментальное открытие +10 уровней</div></div> 
                    <div class="battle-pass-purchase-premium__premium-point"><i class="battle-pass-purchase-premium__premium-point-icon battle-pass-purchase-premium__premium-point-icon--plus icon-check-quad"></i> 
                        <div class="battle-pass-purchase-premium__premium-point-text battle-pass-purchase-premium__premium-point-text--premium-plus">Воздушный шар Ракета</div></div> 
                    <div class="battle-pass-purchase-premium__premium-point"><i class="battle-pass-purchase-premium__premium-point-icon battle-pass-purchase-premium__premium-point-icon--plus icon-check-quad"></i> 
                        <div class="battle-pass-purchase-premium__premium-point-text battle-pass-purchase-premium__premium-point-text--premium-plus">Premium рулетки (3 шт.)</div></div> 
                    <div class="battle-pass-purchase-premium__premium-point"><i class="battle-pass-purchase-premium__premium-point-icon battle-pass-purchase-premium__premium-point-icon--plus icon-check-quad"></i> 
                        <div class="battle-pass-purchase-premium__premium-point-text battle-pass-purchase-premium__premium-point-text--premium-plus">Сертификат Mitsubishi Lancer Evo</div></div>`;

			t39 = space();
			div32 = internal_element("div");
			div29 = internal_element("div");
			create_component(prizeimage0.$$.fragment);
			t40 = space();
			div30 = internal_element("div");
			create_component(prizeimage1.$$.fragment);
			t41 = space();
			div31 = internal_element("div");
			create_component(prizeimage2.$$.fragment);
			t42 = space();
			div34 = internal_element("div");
			div33 = internal_element("div");
			create_component(premiumbutton1.$$.fragment);
			attr(div0, "class", "battle-pass-purchase-premium__title");
			attr(div1, "class", "battle-pass-purchase-premium__name");
			attr(div2, "class", "battle-pass-purchase-premium__premium-header");
			attr(div3, "class", "battle-pass-purchase-premium__price-actual");
			attr(div4, "class", "battle-pass-purchase-premium__price-wrapper");
			attr(div9, "class", "battle-pass-purchase-premium__premium-points");
			attr(div10, "class", "battle-pass-purchase-premium__premium-price-button");
			attr(div11, "class", "battle-pass-purchase-premium__premium-price");
			attr(div12, "class", "battle-pass-purchase-premium__premium");
			attr(div13, "class", "battle-pass-purchase-premium__premium-outer-title");
			attr(div14, "class", "battle-pass-purchase-premium__name");
			attr(div15, "class", "battle-pass-purchase-premium__premium-header");
			attr(div16, "class", "battle-pass-purchase-premium__price-actual");
			attr(div17, "class", "battle-pass-purchase-premium__price-wrapper");
			attr(div28, "class", "battle-pass-purchase-premium__premium-points");
			attr(div29, "class", "battle-pass-purchase-premium__prize");
			attr(div30, "class", "battle-pass-purchase-premium__prize");
			attr(div31, "class", "battle-pass-purchase-premium__prize");
			attr(div32, "class", "battle-pass-purchase-premium__prizes");
			attr(div33, "class", "battle-pass-purchase-premium__premium-price-button");
			attr(div34, "class", "battle-pass-purchase-premium__premium-price");
			attr(div35, "class", "battle-pass-purchase-premium__premium battle-pass-purchase-premium__premium--plus");
			attr(div36, "class", "battle-pass-purchase-premium__premium-outer");
			attr(div37, "class", "battle-pass-purchase-premium__wrapper");
			attr(div38, "class", "battle-pass-purchase-premium");
		},
		m(target, anchor) {
			insert(target, div38, anchor);
			append(div38, div0);
			append(div38, t2);
			append(div38, div37);
			append(div37, div12);
			append(div12, div2);
			append(div2, div1);
			append(div2, t4);
			if (if_block0) if_block0.m(div2, null);
			append(div12, t5);
			append(div12, div4);
			if (if_block1) if_block1.m(div4, null);
			append(div4, t6);
			append(div4, div3);
			append(div3, t7);
			append(div12, t8);
			append(div12, div9);
			append(div12, t15);
			append(div12, div11);
			append(div11, div10);
			mount_component(premiumbutton0, div10, null);
			append(div37, t16);
			append(div37, div36);
			append(div36, div13);
			append(div36, t18);
			append(div36, div35);
			append(div35, div15);
			append(div15, div14);
			append(div15, t20);
			if (if_block2) if_block2.m(div15, null);
			append(div35, t21);
			append(div35, div17);
			if (if_block3) if_block3.m(div17, null);
			append(div17, t22);
			append(div17, div16);
			append(div16, t23);
			append(div35, t24);
			append(div35, div28);
			append(div35, t39);
			append(div35, div32);
			append(div32, div29);
			mount_component(prizeimage0, div29, null);
			append(div32, t40);
			append(div32, div30);
			mount_component(prizeimage1, div30, null);
			append(div32, t41);
			append(div32, div31);
			mount_component(prizeimage2, div31, null);
			append(div35, t42);
			append(div35, div34);
			append(div34, div33);
			mount_component(premiumbutton1, div33, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if (/*$premiumPrices*/ ctx[0][0].discount > 0) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = purchase_premium_index_svelte_create_if_block_3(ctx);
					if_block0.c();
					if_block0.m(div2, null);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (/*$premiumPrices*/ ctx[0][0].discount > 0) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = purchase_premium_index_svelte_create_if_block_2(ctx);
					if_block1.c();
					if_block1.m(div4, t6);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if ((!current || dirty & /*$premiumPrices*/ 1) && t7_value !== (t7_value = `${formatMoney(/*calculatePrice*/ ctx[3](/*$premiumPrices*/ ctx[0][0].price, /*$premiumPrices*/ ctx[0][0].discount))} RUB` + "")) set_data(t7, t7_value);

			const premiumbutton0_changes = (dirty & /*BUTTON_OPTIONS, $battlePassData*/ 6)
			? get_spread_update(premiumbutton0_spread_levels, [
					get_spread_object(/*BUTTON_OPTIONS*/ ctx[2][/*$battlePassData*/ ctx[1].premium][0])
				])
			: {};

			premiumbutton0.$set(premiumbutton0_changes);

			if (/*$premiumPrices*/ ctx[0][1].discount > 0) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = purchase_premium_index_svelte_create_if_block_1(ctx);
					if_block2.c();
					if_block2.m(div15, null);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			if (/*$premiumPrices*/ ctx[0][1].discount > 0) {
				if (if_block3) {
					if_block3.p(ctx, dirty);
				} else {
					if_block3 = purchase_premium_index_svelte_create_if_block(ctx);
					if_block3.c();
					if_block3.m(div17, t22);
				}
			} else if (if_block3) {
				if_block3.d(1);
				if_block3 = null;
			}

			if ((!current || dirty & /*$premiumPrices*/ 1) && t23_value !== (t23_value = `${formatMoney(/*calculatePrice*/ ctx[3](/*$premiumPrices*/ ctx[0][1].price, /*$premiumPrices*/ ctx[0][1].discount))} RUB` + "")) set_data(t23, t23_value);

			const premiumbutton1_changes = (dirty & /*BUTTON_OPTIONS, $battlePassData*/ 6)
			? get_spread_update(premiumbutton1_spread_levels, [
					get_spread_object(/*BUTTON_OPTIONS*/ ctx[2][/*$battlePassData*/ ctx[1].premium][1])
				])
			: {};

			premiumbutton1.$set(premiumbutton1_changes);
		},
		i(local) {
			if (current) return;
			transition_in(premiumbutton0.$$.fragment, local);
			transition_in(prizeimage0.$$.fragment, local);
			transition_in(prizeimage1.$$.fragment, local);
			transition_in(prizeimage2.$$.fragment, local);
			transition_in(premiumbutton1.$$.fragment, local);

			if (!div38_intro) {
				add_render_callback(() => {
					div38_intro = create_in_transition(div38, fade, {});
					div38_intro.start();
				});
			}

			current = true;
		},
		o(local) {
			transition_out(premiumbutton0.$$.fragment, local);
			transition_out(prizeimage0.$$.fragment, local);
			transition_out(prizeimage1.$$.fragment, local);
			transition_out(prizeimage2.$$.fragment, local);
			transition_out(premiumbutton1.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div38);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			destroy_component(premiumbutton0);
			if (if_block2) if_block2.d();
			if (if_block3) if_block3.d();
			destroy_component(prizeimage0);
			destroy_component(prizeimage1);
			destroy_component(prizeimage2);
			destroy_component(premiumbutton1);
		}
	};
}

function purchase_premium_index_svelte_instance($$self, $$props, $$invalidate) {
	let $premiumPlusOnly;
	let $premiumPrices;
	let $battlePassData;
	component_subscribe($$self, premiumPlusOnly, $$value => $$invalidate(4, $premiumPlusOnly = $$value));
	component_subscribe($$self, premiumPrices, $$value => $$invalidate(0, $premiumPrices = $$value));
	component_subscribe($$self, battlePassData, $$value => $$invalidate(1, $battlePassData = $$value));

	const purchasePremium = index => {
		sendClientMessage('battlePass.premium.purchase', index);
	};

	const BUTTON_OPTIONS = [
		[
			{
				icon: '',
				text: 'Купить',
				onClick: () => purchasePremium(0)
			},
			{
				icon: '', // enable: true,
				text: 'Купить',
				onClick: () => purchasePremium(1)
			}
		],
		[
			{
				icon: 'check-circle', // enable: true,
				text: 'Приобретено',
				disabled: true
			},
			{
				icon: '',
				text: 'Купить',
				onClick: () => purchasePremium(1)
			}
		],
		[
			{
				icon: 'lock-bp',
				text: 'Недоступно',
				disabled: true
			},
			{
				icon: 'check-circle',
				text: 'Приобретено',
				disabled: true
			}
		]
	];

	const calculatePrice = (price, discount) => Math.ceil(price - price * (discount / 100));

	onDestroy(() => {
		set_store_value(premiumPlusOnly, $premiumPlusOnly = false, $premiumPlusOnly);
	});

	return [$premiumPrices, $battlePassData, BUTTON_OPTIONS, calculatePrice];
}

class Purchase_premium extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, purchase_premium_index_svelte_instance, purchase_premium_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const purchase_premium_index_svelte = (Purchase_premium);
;// CONCATENATED MODULE: ./src/views/battle-pass/components/donate/index.svelte
/* src\views\battle-pass\components\donate\index.svelte generated by Svelte v3.49.0 */






// import Promo from '../promo/index.svelte';







function donate_index_svelte_create_if_block(ctx) {
	let div1;
	let div1_intro;

	return {
		c() {
			div1 = internal_element("div");

			div1.innerHTML = `<i class="battle-pass-donate__notification-icon icon-triangle-warning"></i> 
                <div class="battle-pass-donate__notification-text">Недостаточно AZ Coins</div>`;

			attr(div1, "class", "battle-pass-donate__notification");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
		},
		i(local) {
			if (!div1_intro) {
				add_render_callback(() => {
					div1_intro = create_in_transition(div1, transition_blur, {});
					div1_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

function donate_index_svelte_create_fragment(ctx) {
	let div21;
	let div0;
	let img0;
	let img0_src_value;
	let t0;
	let div20;
	let div2;
	let img1;
	let img1_src_value;
	let t1;
	let div1;
	let t3;
	let div3;
	let t5;
	let div4;
	let t7;
	let div5;
	let t9;
	let div6;
	let t10_value = /*$battlePassData*/ ctx[3].passCoinCurseAzCoins + "";
	let t10;
	let t11;
	let img2;
	let img2_src_value;
	let t12;
	let div7;
	let t14;
	let div14;
	let div9;
	let i0;
	let t15;
	let div8;
	let t16_value = formatMoney(/*inputValue*/ ctx[0]) + "";
	let t16;
	let t17;
	let i1;
	let t18;
	let img3;
	let img3_src_value;
	let t19;
	let div13;
	let div10;
	let t21;
	let div11;
	let t23;
	let div12;
	let t25;
	let t26;
	let div15;
	let t28;
	let div17;
	let div16;
	let t29_value = formatMoney(Math.floor(/*inputValue*/ ctx[0] / /*$battlePassData*/ ctx[3].passCoinCurseAzCoins)) + "";
	let t29;
	let t30;
	let img4;
	let img4_src_value;
	let t31;
	let div19;
	let div18;
	let div20_intro;
	let mounted;
	let dispose;
	let if_block = /*notificationVisibility*/ ctx[2] && donate_index_svelte_create_if_block(ctx);

	return {
		c() {
			div21 = internal_element("div");
			div0 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			div20 = internal_element("div");
			div2 = internal_element("div");
			img1 = internal_element("img");
			t1 = space();
			div1 = internal_element("div");
			div1.textContent = "Покупка уличных монет";
			t3 = space();
			div3 = internal_element("div");
			div3.textContent = "Уличные монеты - игровая валюта, которую Вы можете зарабатывать в игре за выполнение заданий, прохождение квестов, а так же напрямую через покупку за донат-очки.";
			t5 = space();
			div4 = internal_element("div");
			div4.textContent = "Потратить уличные монеты можно на открытие рулеток боевого пропуска.";
			t7 = space();
			div5 = internal_element("div");
			div5.textContent = "Курс:";
			t9 = space();
			div6 = internal_element("div");
			t10 = internal_text(t10_value);
			t11 = internal_text(" AZ = 1\r\n            ");
			img2 = internal_element("img");
			t12 = space();
			div7 = internal_element("div");
			div7.textContent = "Потратите:";
			t14 = space();
			div14 = internal_element("div");
			div9 = internal_element("div");
			i0 = internal_element("i");
			t15 = space();
			div8 = internal_element("div");
			t16 = internal_text(t16_value);
			t17 = space();
			i1 = internal_element("i");
			t18 = space();
			img3 = internal_element("img");
			t19 = space();
			div13 = internal_element("div");
			div10 = internal_element("div");
			div10.textContent = "x10";
			t21 = space();
			div11 = internal_element("div");
			div11.textContent = "x100";
			t23 = space();
			div12 = internal_element("div");
			div12.textContent = "x1000";
			t25 = space();
			if (if_block) if_block.c();
			t26 = space();
			div15 = internal_element("div");
			div15.textContent = "Получите:";
			t28 = space();
			div17 = internal_element("div");
			div16 = internal_element("div");
			t29 = internal_text(t29_value);
			t30 = space();
			img4 = internal_element("img");
			t31 = space();
			div19 = internal_element("div");
			div18 = internal_element("div");
			div18.textContent = "Обменять";
			if (!src_url_equal(img0.src, img0_src_value = MAP_PREMIUM_TO_LOGO[/*$battlePassData*/ ctx[3].premium])) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "logo");
			attr(img0, "class", "battle-pass-donate__logo-image");
			attr(div0, "class", "battle-pass-donate__logo-wrppaer");
			if (!src_url_equal(img1.src, img1_src_value = icon_bpoints_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "coins");
			attr(img1, "class", "battle-pass-donate__title-icon");
			attr(div1, "class", "battle-pass-donate__title");
			attr(div2, "class", "battle-pass-donate__title-wrapper");
			attr(div3, "class", "battle-pass-donate__description");
			attr(div4, "class", "battle-pass-donate__description battle-pass-donate__description-add-margin");
			attr(div5, "class", "battle-pass-donate__caption");
			if (!src_url_equal(img2.src, img2_src_value = icon_bpoints_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "coins");
			attr(img2, "class", "battle-pass-donate__course-icon");
			attr(div6, "class", "battle-pass-donate__course-ratio");
			attr(div7, "class", "battle-pass-donate__caption");
			attr(i0, "class", "battle-pass-donate__input-icon icon-minus");
			attr(div8, "class", "battle-pass-donate__input-value");
			attr(i1, "class", "battle-pass-donate__input-icon icon-plus");
			if (!src_url_equal(img3.src, img3_src_value = img_az_coin_namespaceObject)) attr(img3, "src", img3_src_value);
			attr(img3, "alt", "coins");
			attr(img3, "class", "battle-pass-donate__input-coin-icon");
			attr(div9, "class", "battle-pass-donate__input");
			attr(div10, "class", "battle-pass-donate__calculator-button");
			toggle_class(div10, "battle-pass-donate__calculator-button--active", /*coinRate*/ ctx[1] === 10);
			attr(div11, "class", "battle-pass-donate__calculator-button");
			toggle_class(div11, "battle-pass-donate__calculator-button--active", /*coinRate*/ ctx[1] === 100);
			attr(div12, "class", "battle-pass-donate__calculator-button");
			toggle_class(div12, "battle-pass-donate__calculator-button--active", /*coinRate*/ ctx[1] === 1000);
			attr(div13, "class", "battle-pass-donate__calculator-buttons");
			attr(div14, "class", "battle-pass-donate__calculator");
			attr(div15, "class", "battle-pass-donate__caption");
			attr(div16, "class", "battle-pass-donate__input-value");
			if (!src_url_equal(img4.src, img4_src_value = icon_bpoints_namespaceObject)) attr(img4, "src", img4_src_value);
			attr(img4, "alt", "coins");
			attr(img4, "class", "battle-pass-donate__input-coin-icon");
			attr(div17, "class", "battle-pass-donate__input");
			attr(div18, "class", "battle-pass-donate__submit-button");
			toggle_class(div18, "battle-pass-donate__submit-button--disabled", /*notificationVisibility*/ ctx[2]);
			attr(div19, "class", "battle-pass-donate__submit");
			attr(div20, "class", "battle-pass-donate__content");
			attr(div21, "class", "battle-pass-donate");
		},
		m(target, anchor) {
			insert(target, div21, anchor);
			append(div21, div0);
			append(div0, img0);
			append(div21, t0);
			append(div21, div20);
			append(div20, div2);
			append(div2, img1);
			append(div2, t1);
			append(div2, div1);
			append(div20, t3);
			append(div20, div3);
			append(div20, t5);
			append(div20, div4);
			append(div20, t7);
			append(div20, div5);
			append(div20, t9);
			append(div20, div6);
			append(div6, t10);
			append(div6, t11);
			append(div6, img2);
			append(div20, t12);
			append(div20, div7);
			append(div20, t14);
			append(div20, div14);
			append(div14, div9);
			append(div9, i0);
			append(div9, t15);
			append(div9, div8);
			append(div8, t16);
			append(div9, t17);
			append(div9, i1);
			append(div9, t18);
			append(div9, img3);
			append(div14, t19);
			append(div14, div13);
			append(div13, div10);
			append(div13, t21);
			append(div13, div11);
			append(div13, t23);
			append(div13, div12);
			append(div20, t25);
			if (if_block) if_block.m(div20, null);
			append(div20, t26);
			append(div20, div15);
			append(div20, t28);
			append(div20, div17);
			append(div17, div16);
			append(div16, t29);
			append(div17, t30);
			append(div17, img4);
			append(div20, t31);
			append(div20, div19);
			append(div19, div18);

			if (!mounted) {
				dispose = [
					listen(i0, "click", /*decrease*/ ctx[5]),
					listen(i1, "click", /*increase*/ ctx[4]),
					listen(div10, "click", /*click_handler*/ ctx[8]),
					listen(div11, "click", /*click_handler_1*/ ctx[9]),
					listen(div12, "click", /*click_handler_2*/ ctx[10]),
					listen(div19, "click", /*purchaseProduct*/ ctx[7])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*$battlePassData*/ 8 && !src_url_equal(img0.src, img0_src_value = MAP_PREMIUM_TO_LOGO[/*$battlePassData*/ ctx[3].premium])) {
				attr(img0, "src", img0_src_value);
			}

			if (dirty & /*$battlePassData*/ 8 && t10_value !== (t10_value = /*$battlePassData*/ ctx[3].passCoinCurseAzCoins + "")) set_data(t10, t10_value);
			if (dirty & /*inputValue*/ 1 && t16_value !== (t16_value = formatMoney(/*inputValue*/ ctx[0]) + "")) set_data(t16, t16_value);

			if (dirty & /*coinRate*/ 2) {
				toggle_class(div10, "battle-pass-donate__calculator-button--active", /*coinRate*/ ctx[1] === 10);
			}

			if (dirty & /*coinRate*/ 2) {
				toggle_class(div11, "battle-pass-donate__calculator-button--active", /*coinRate*/ ctx[1] === 100);
			}

			if (dirty & /*coinRate*/ 2) {
				toggle_class(div12, "battle-pass-donate__calculator-button--active", /*coinRate*/ ctx[1] === 1000);
			}

			if (/*notificationVisibility*/ ctx[2]) {
				if (if_block) {
					if (dirty & /*notificationVisibility*/ 4) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = donate_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(div20, t26);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (dirty & /*inputValue, $battlePassData*/ 9 && t29_value !== (t29_value = formatMoney(Math.floor(/*inputValue*/ ctx[0] / /*$battlePassData*/ ctx[3].passCoinCurseAzCoins)) + "")) set_data(t29, t29_value);

			if (dirty & /*notificationVisibility*/ 4) {
				toggle_class(div18, "battle-pass-donate__submit-button--disabled", /*notificationVisibility*/ ctx[2]);
			}
		},
		i(local) {
			transition_in(if_block);

			if (!div20_intro) {
				add_render_callback(() => {
					div20_intro = create_in_transition(div20, transition_blur, {});
					div20_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div21);
			if (if_block) if_block.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function donate_index_svelte_instance($$self, $$props, $$invalidate) {
	let $battlePassData;
	component_subscribe($$self, battlePassData, $$value => $$invalidate(3, $battlePassData = $$value));
	let inputValue = 0;
	let coinRate = 10;
	let notificationVisibility = false;

	const increase = () => {
		if (inputValue + coinRate > $battlePassData.azCoins) {
			$$invalidate(2, notificationVisibility = true);
		}

		$$invalidate(0, inputValue += coinRate);
	};

	const decrease = () => {
		if (inputValue - coinRate < 0) {
			return;
		}

		if (notificationVisibility && inputValue - coinRate <= $battlePassData.azCoins) {
			$$invalidate(2, notificationVisibility = false);
		}

		$$invalidate(0, inputValue -= coinRate);
	};

	const updateRate = rate => {
		$$invalidate(1, coinRate = rate);
	};

	const purchaseProduct = () => {
		if (notificationVisibility) {
			return;
		}

		sendClientMessage('battlePass.donate.purchase', inputValue);
	};

	const click_handler = () => updateRate(10);
	const click_handler_1 = () => updateRate(100);
	const click_handler_2 = () => updateRate(1000);

	return [
		inputValue,
		coinRate,
		notificationVisibility,
		$battlePassData,
		increase,
		decrease,
		updateRate,
		purchaseProduct,
		click_handler,
		click_handler_1,
		click_handler_2
	];
}

class Donate extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, donate_index_svelte_instance, donate_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const donate_index_svelte = (Donate);
;// CONCATENATED MODULE: ./src/views/battle-pass/components/preview/index.svelte
/* src\views\battle-pass\components\preview\index.svelte generated by Svelte v3.49.0 */










function preview_index_svelte_create_fragment(ctx) {
	let div13;
	let img;
	let img_src_value;
	let t0;
	let div0;
	let span0;
	let t2;
	let br0;
	let t3;
	let span1;
	let t4_value = `${/*calculateDaysLeft*/ ctx[2](/*$battlePassData*/ ctx[0].timestampTaskTime)} дней!` + "";
	let t4;
	let br1;
	let t5;
	let t6;
	let div1;
	let t12;
	let div11;
	let div4;
	let div2;
	let prizeimage0;
	let t13;
	let div3;
	let t15;
	let div7;
	let div5;
	let prizeimage1;
	let t16;
	let div6;
	let t18;
	let div10;
	let div8;
	let prizeimage2;
	let t19;
	let div9;
	let t21;
	let div12;
	let premiumbutton;
	let current;

	prizeimage0 = new prize_image_index_svelte({
			props: {
				style: 'pink',
				imageSrc: `${BP_IMAGES_BASE_CDN_URL}/7079.webp`
			}
		});

	prizeimage1 = new prize_image_index_svelte({
			props: {
				style: 'red',
				imageSrc: `${BP_IMAGES_BASE_CDN_URL}/7105.webp`
			}
		});

	prizeimage2 = new prize_image_index_svelte({
			props: {
				style: 'gold',
				imageSrc: `${BP_IMAGES_BASE_CDN_URL}/7129.webp`
			}
		});

	premiumbutton = new premium_button_index_svelte({
			props: {
				onClick: /*startBattlePass*/ ctx[1],
				text: 'ОТПРАВИТЬСЯ В ПРИКЛЮЧЕНИЕ!'
			}
		});

	return {
		c() {
			div13 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div0 = internal_element("div");
			span0 = internal_element("span");
			span0.textContent = "Легенды улиц";
			t2 = internal_text(" - новый сезон Battle Pass,");
			br0 = internal_element("br");
			t3 = internal_text("\r\n        который продлится ");
			span1 = internal_element("span");
			t4 = internal_text(t4_value);
			br1 = internal_element("br");
			t5 = internal_text("\r\n        Выполняйте ежедневные и долгосрочные задания, стремясь к ценным наградам.");
			t6 = space();
			div1 = internal_element("div");
			div1.innerHTML = `Купите <span class="arizona-hud-preview__text-accent">Premium</span> и получите <span class="arizona-hud-preview__text-accent">в 2 раза больше</span> наград:`;
			t12 = space();
			div11 = internal_element("div");
			div4 = internal_element("div");
			div2 = internal_element("div");
			create_component(prizeimage0.$$.fragment);
			t13 = space();
			div3 = internal_element("div");
			div3.textContent = "Buick Regal Grand NGNX";
			t15 = space();
			div7 = internal_element("div");
			div5 = internal_element("div");
			create_component(prizeimage1.$$.fragment);
			t16 = space();
			div6 = internal_element("div");
			div6.textContent = "Скин: Снуп Дог";
			t18 = space();
			div10 = internal_element("div");
			div8 = internal_element("div");
			create_component(prizeimage2.$$.fragment);
			t19 = space();
			div9 = internal_element("div");
			div9.textContent = "Аксессуар: Золотой М4 на спину";
			t21 = space();
			div12 = internal_element("div");
			create_component(premiumbutton.$$.fragment);
			if (!src_url_equal(img.src, img_src_value = battle_pass_img_logo_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "logo");
			attr(img, "class", "arizona-hud-preview__logo-image");
			attr(span0, "class", "arizona-hud-preview__description--bold");
			attr(span1, "class", "arizona-hud-preview__text-accent");
			attr(div0, "class", "arizona-hud-preview__description");
			attr(div1, "class", "arizona-hud-preview__caption");
			attr(div2, "class", "arizona-hud-preview__image-wrapper");
			attr(div3, "class", "arizona-hud-preview__prize-title");
			attr(div4, "class", "arizona-hud-preview__prize");
			attr(div5, "class", "arizona-hud-preview__image-wrapper");
			attr(div6, "class", "arizona-hud-preview__prize-title");
			attr(div7, "class", "arizona-hud-preview__prize");
			attr(div8, "class", "arizona-hud-preview__image-wrapper");
			attr(div9, "class", "arizona-hud-preview__prize-title");
			attr(div10, "class", "arizona-hud-preview__prize");
			attr(div11, "class", "arizona-hud-preview__prizes");
			attr(div12, "class", "arizona-hud-preview__button-wrapper");
			attr(div13, "class", "arizona-hud-preview");
		},
		m(target, anchor) {
			insert(target, div13, anchor);
			append(div13, img);
			append(div13, t0);
			append(div13, div0);
			append(div0, span0);
			append(div0, t2);
			append(div0, br0);
			append(div0, t3);
			append(div0, span1);
			append(span1, t4);
			append(div0, br1);
			append(div0, t5);
			append(div13, t6);
			append(div13, div1);
			append(div13, t12);
			append(div13, div11);
			append(div11, div4);
			append(div4, div2);
			mount_component(prizeimage0, div2, null);
			append(div4, t13);
			append(div4, div3);
			append(div11, t15);
			append(div11, div7);
			append(div7, div5);
			mount_component(prizeimage1, div5, null);
			append(div7, t16);
			append(div7, div6);
			append(div11, t18);
			append(div11, div10);
			append(div10, div8);
			mount_component(prizeimage2, div8, null);
			append(div10, t19);
			append(div10, div9);
			append(div13, t21);
			append(div13, div12);
			mount_component(premiumbutton, div12, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if ((!current || dirty & /*$battlePassData*/ 1) && t4_value !== (t4_value = `${/*calculateDaysLeft*/ ctx[2](/*$battlePassData*/ ctx[0].timestampTaskTime)} дней!` + "")) set_data(t4, t4_value);
		},
		i(local) {
			if (current) return;
			transition_in(prizeimage0.$$.fragment, local);
			transition_in(prizeimage1.$$.fragment, local);
			transition_in(prizeimage2.$$.fragment, local);
			transition_in(premiumbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(prizeimage0.$$.fragment, local);
			transition_out(prizeimage1.$$.fragment, local);
			transition_out(prizeimage2.$$.fragment, local);
			transition_out(premiumbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div13);
			destroy_component(prizeimage0);
			destroy_component(prizeimage1);
			destroy_component(prizeimage2);
			destroy_component(premiumbutton);
		}
	};
}

function preview_index_svelte_instance($$self, $$props, $$invalidate) {
	let $currentPage;
	let $battlePassData;
	component_subscribe($$self, currentPage, $$value => $$invalidate(3, $currentPage = $$value));
	component_subscribe($$self, battlePassData, $$value => $$invalidate(0, $battlePassData = $$value));

	const startBattlePass = () => {
		set_store_value(currentPage, $currentPage = MenuIds.Main, $currentPage);
	};

	const calculateDaysLeft = unix => Math.round((unix - moment_default()().unix()) / 86400);
	return [$battlePassData, startBattlePass, calculateDaysLeft];
}

class Preview extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, preview_index_svelte_instance, preview_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const preview_index_svelte = (Preview);
;// CONCATENATED MODULE: ./src/views/battle-pass/img/winter-roulette-box.png
const winter_roulette_box_namespaceObject = __webpack_require__.p + "assets/5a05a67e0d7cd9f3a90b.webp";
;// CONCATENATED MODULE: ./src/views/battle-pass/img/premium-roulette-box.png
const premium_roulette_box_namespaceObject = __webpack_require__.p + "assets/a33d3b3c5c9f9a0c4c6d.webp";
;// CONCATENATED MODULE: ./src/views/battle-pass/img/prize.svg
const prize_namespaceObject = __webpack_require__.p + "assets/e8c83fe217287005aa03.svg";
;// CONCATENATED MODULE: ./src/views/battle-pass/img/procent.svg
const procent_namespaceObject = __webpack_require__.p + "assets/ed4dd47077b3cff3fb5e.svg";
;// CONCATENATED MODULE: ./src/views/battle-pass/img/left-sign.png
const left_sign_namespaceObject = __webpack_require__.p + "assets/7d96f410226c09fe8c02.webp";
;// CONCATENATED MODULE: ./src/views/battle-pass/img/right-sign.png
const right_sign_namespaceObject = __webpack_require__.p + "assets/32e7aafdb9fcda92fee5.webp";
;// CONCATENATED MODULE: ./src/views/battle-pass/components/roulette/index.svelte
/* src\views\battle-pass\components\roulette\index.svelte generated by Svelte v3.49.0 */























function roulette_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[37] = list[i];
	return child_ctx;
}

function roulette_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[40] = list[i];
	child_ctx[42] = i;
	return child_ctx;
}

function roulette_index_svelte_get_each_context_2(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[37] = list[i];
	child_ctx[44] = i;
	return child_ctx;
}

function index_svelte_get_each_context_3(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[45] = list[i];
	child_ctx[44] = i;
	return child_ctx;
}

function index_svelte_get_each_context_4(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[47] = list[i];
	return child_ctx;
}

// (326:73) 
function roulette_index_svelte_create_if_block_4(ctx) {
	let div18;
	let div0;
	let t0;
	let div6;
	let div1;
	let t2;
	let div2;
	let t3;
	let span0;
	let t4_value = /*$rouletteBoxes*/ ctx[11][/*$selectedRouletteType*/ ctx[8]].price + "";
	let t4;
	let t5;
	let t6;
	let div3;
	let t7;
	let div5;
	let div4;
	let span1;
	let t9;
	let b;
	let t10_value = /*$rouletteBoxes*/ ctx[11][/*$selectedRouletteType*/ ctx[8]].price * /*scales*/ ctx[13][/*selectedScaler*/ ctx[1]] + "";
	let t10;
	let t11;
	let t12;
	let div12;
	let show_if_1 = !(0,lodash.isEmpty)(/*rouletteLines*/ ctx[4]);
	let t13;
	let div11;
	let div7;
	let t15;
	let div10;
	let div8;
	let t17;
	let div9;
	let t18_value = /*$rouletteBoxes*/ ctx[11][/*$selectedRouletteType*/ ctx[8]].total + "";
	let t18;
	let t19;
	let div15;
	let div13;
	let t21;
	let div14;
	let show_if = (0,lodash.isEmpty)(/*$roulettePrizeFeed*/ ctx[9]);
	let t22;
	let t23;
	let div17;
	let current;
	let mounted;
	let dispose;
	let each_value_4 = /*$roulettePrizePool*/ ctx[10];
	let each_blocks_2 = [];

	for (let i = 0; i < each_value_4.length; i += 1) {
		each_blocks_2[i] = index_svelte_create_each_block_4(index_svelte_get_each_context_4(ctx, each_value_4, i));
	}

	const out = i => transition_out(each_blocks_2[i], 1, 1, () => {
		each_blocks_2[i] = null;
	});

	function select_block_type_1(ctx, dirty) {
		if (/*$selectedRouletteType*/ ctx[8] === 0) return roulette_index_svelte_create_if_block_11;
		return roulette_index_svelte_create_else_block_2;
	}

	let current_block_type = select_block_type_1(ctx, [-1, -1]);
	let if_block0 = current_block_type(ctx);
	let each_value_3 = /*scales*/ ctx[13];
	let each_blocks_1 = [];

	for (let i = 0; i < each_value_3.length; i += 1) {
		each_blocks_1[i] = index_svelte_create_each_block_3(index_svelte_get_each_context_3(ctx, each_value_3, i));
	}

	function select_block_type_2(ctx, dirty) {
		if (/*$selectedRouletteType*/ ctx[8] === 0) return roulette_index_svelte_create_if_block_10;
		return roulette_index_svelte_create_else_block_1;
	}

	let current_block_type_1 = select_block_type_2(ctx, [-1, -1]);
	let if_block1 = current_block_type_1(ctx);
	let if_block2 = show_if_1 && roulette_index_svelte_create_if_block_6(ctx);
	let if_block3 = show_if && roulette_index_svelte_create_if_block_5(ctx);
	let each_value = /*$roulettePrizeFeed*/ ctx[9];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = roulette_index_svelte_create_each_block(roulette_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out_1 = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			div18 = internal_element("div");
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks_2.length; i += 1) {
				each_blocks_2[i].c();
			}

			t0 = space();
			div6 = internal_element("div");
			div1 = internal_element("div");
			div1.textContent = "Купить попытки";
			t2 = space();
			div2 = internal_element("div");
			t3 = internal_text("1 попытка -\r\n                        ");
			span0 = internal_element("span");
			t4 = internal_text(t4_value);
			t5 = space();
			if_block0.c();
			t6 = space();
			div3 = internal_element("div");

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].c();
			}

			t7 = space();
			div5 = internal_element("div");
			div4 = internal_element("div");
			span1 = internal_element("span");
			span1.textContent = "Купить за";
			t9 = space();
			b = internal_element("b");
			t10 = internal_text(t10_value);
			t11 = space();
			if_block1.c();
			t12 = space();
			div12 = internal_element("div");
			if (if_block2) if_block2.c();
			t13 = space();
			div11 = internal_element("div");
			div7 = internal_element("div");
			div7.textContent = "Крутить рулетку";
			t15 = space();
			div10 = internal_element("div");
			div8 = internal_element("div");
			div8.textContent = "Доступно попыток:";
			t17 = space();
			div9 = internal_element("div");
			t18 = internal_text(t18_value);
			t19 = space();
			div15 = internal_element("div");
			div13 = internal_element("div");
			div13.textContent = "ПОСЛЕДНИЕ ВЫИГРЫШИ:";
			t21 = space();
			div14 = internal_element("div");
			if (if_block3) if_block3.c();
			t22 = space();

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t23 = space();
			div17 = internal_element("div");

			div17.innerHTML = `<i class="arizona-pass-roulette__button-back-icon icon-forward-curve"></i> 
                    <div class="arizona-pass-roulette__button-back-text">Выбор рулетки</div>`;

			attr(div0, "class", "arizona-pass-roulette__prize-pool");
			attr(div1, "class", "arizona-pass-roulette__purchase-title");
			attr(span0, "class", "arizona-pass-roulette__purchase-caption-text");
			attr(div2, "class", "arizona-pass-roulette__purchase-caption");
			attr(div3, "class", "arizona-pass-roulette__purchase-scales");
			attr(span1, "class", "arizona-pass-roulette__purchase-button-caption");
			attr(div4, "class", "arizona-pass-roulette__purchase-button-text");
			attr(div5, "class", "arizona-pass-roulette__purchase-button");
			toggle_class(div5, "arizona-pass-roulette__purchase-button--premium", /*$selectedRouletteType*/ ctx[8] === 1);
			attr(div6, "class", "arizona-pass-roulette__purchase");
			attr(div7, "class", "arizona-pass-roulette__button arizona-pass-roulette__button--start-roll");
			toggle_class(div7, "arizona-pass-roulette__button--disabled", /*$rouletteBoxes*/ ctx[11][/*$selectedRouletteType*/ ctx[8]].total === 0 || /*disabled*/ ctx[2]);
			attr(div8, "class", "arizona-pass-roulette__attempts-caption");
			attr(div9, "class", "arizona-pass-roulette__attempts-value");
			attr(div10, "class", "arizona-pass-roulette__attempts");
			attr(div11, "class", "arizona-pass-roulette__control-wrapper");
			attr(div12, "class", "arizona-pass-roulette__slot-machine-wrapper");
			attr(div13, "class", "arizona-pass-roulette__prize-feed-title");
			attr(div14, "class", "arizona-pass-roulette__prize-feed-content");
			attr(div15, "class", "arizona-pass-roulette__prize-feed");
			attr(div17, "class", "arizona-pass-roulette__button-back");
			toggle_class(div17, "arizona-pass-roulette__button-back--disabled", /*$rouletteActive*/ ctx[12]);
			attr(div18, "class", "arizona-pass-roulette__wrapper");
		},
		m(target, anchor) {
			insert(target, div18, anchor);
			append(div18, div0);

			for (let i = 0; i < each_blocks_2.length; i += 1) {
				each_blocks_2[i].m(div0, null);
			}

			append(div18, t0);
			append(div18, div6);
			append(div6, div1);
			append(div6, t2);
			append(div6, div2);
			append(div2, t3);
			append(div2, span0);
			append(span0, t4);
			append(div2, t5);
			if_block0.m(div2, null);
			append(div6, t6);
			append(div6, div3);

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].m(div3, null);
			}

			append(div6, t7);
			append(div6, div5);
			append(div5, div4);
			append(div4, span1);
			append(div4, t9);
			append(div4, b);
			append(b, t10);
			append(div5, t11);
			if_block1.m(div5, null);
			append(div18, t12);
			append(div18, div12);
			if (if_block2) if_block2.m(div12, null);
			append(div12, t13);
			append(div12, div11);
			append(div11, div7);
			append(div11, t15);
			append(div11, div10);
			append(div10, div8);
			append(div10, t17);
			append(div10, div9);
			append(div9, t18);
			append(div18, t19);
			append(div18, div15);
			append(div15, div13);
			append(div15, t21);
			append(div15, div14);
			if (if_block3) if_block3.m(div14, null);
			append(div14, t22);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div14, null);
			}

			append(div18, t23);
			append(div18, div17);
			current = true;

			if (!mounted) {
				dispose = [
					listen(div5, "click", /*click_handler_3*/ ctx[26]),
					listen(div7, "click", function () {
						if (internal_is_function(/*afterRoll*/ ctx[3]
						? /*rearmRoulette*/ ctx[21]
						: /*rollMessage*/ ctx[18])) (/*afterRoll*/ ctx[3]
						? /*rearmRoulette*/ ctx[21]
						: /*rollMessage*/ ctx[18]).apply(this, arguments);
					}),
					listen(div17, "click", /*backToChoice*/ ctx[15])
				];

				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty[0] & /*$roulettePrizePool*/ 1024) {
				each_value_4 = /*$roulettePrizePool*/ ctx[10];
				let i;

				for (i = 0; i < each_value_4.length; i += 1) {
					const child_ctx = index_svelte_get_each_context_4(ctx, each_value_4, i);

					if (each_blocks_2[i]) {
						each_blocks_2[i].p(child_ctx, dirty);
						transition_in(each_blocks_2[i], 1);
					} else {
						each_blocks_2[i] = index_svelte_create_each_block_4(child_ctx);
						each_blocks_2[i].c();
						transition_in(each_blocks_2[i], 1);
						each_blocks_2[i].m(div0, null);
					}
				}

				group_outros();

				for (i = each_value_4.length; i < each_blocks_2.length; i += 1) {
					out(i);
				}

				check_outros();
			}

			if ((!current || dirty[0] & /*$rouletteBoxes, $selectedRouletteType*/ 2304) && t4_value !== (t4_value = /*$rouletteBoxes*/ ctx[11][/*$selectedRouletteType*/ ctx[8]].price + "")) set_data(t4, t4_value);

			if (current_block_type === (current_block_type = select_block_type_1(ctx, dirty)) && if_block0) {
				if_block0.p(ctx, dirty);
			} else {
				if_block0.d(1);
				if_block0 = current_block_type(ctx);

				if (if_block0) {
					if_block0.c();
					if_block0.m(div2, null);
				}
			}

			if (dirty[0] & /*selectedScaler, $selectedRouletteType, scales*/ 8450) {
				each_value_3 = /*scales*/ ctx[13];
				let i;

				for (i = 0; i < each_value_3.length; i += 1) {
					const child_ctx = index_svelte_get_each_context_3(ctx, each_value_3, i);

					if (each_blocks_1[i]) {
						each_blocks_1[i].p(child_ctx, dirty);
					} else {
						each_blocks_1[i] = index_svelte_create_each_block_3(child_ctx);
						each_blocks_1[i].c();
						each_blocks_1[i].m(div3, null);
					}
				}

				for (; i < each_blocks_1.length; i += 1) {
					each_blocks_1[i].d(1);
				}

				each_blocks_1.length = each_value_3.length;
			}

			if ((!current || dirty[0] & /*$rouletteBoxes, $selectedRouletteType, selectedScaler*/ 2306) && t10_value !== (t10_value = /*$rouletteBoxes*/ ctx[11][/*$selectedRouletteType*/ ctx[8]].price * /*scales*/ ctx[13][/*selectedScaler*/ ctx[1]] + "")) set_data(t10, t10_value);

			if (current_block_type_1 === (current_block_type_1 = select_block_type_2(ctx, dirty)) && if_block1) {
				if_block1.p(ctx, dirty);
			} else {
				if_block1.d(1);
				if_block1 = current_block_type_1(ctx);

				if (if_block1) {
					if_block1.c();
					if_block1.m(div5, null);
				}
			}

			if (dirty[0] & /*$selectedRouletteType*/ 256) {
				toggle_class(div5, "arizona-pass-roulette__purchase-button--premium", /*$selectedRouletteType*/ ctx[8] === 1);
			}

			if (dirty[0] & /*rouletteLines*/ 16) show_if_1 = !(0,lodash.isEmpty)(/*rouletteLines*/ ctx[4]);

			if (show_if_1) {
				if (if_block2) {
					if_block2.p(ctx, dirty);

					if (dirty[0] & /*rouletteLines*/ 16) {
						transition_in(if_block2, 1);
					}
				} else {
					if_block2 = roulette_index_svelte_create_if_block_6(ctx);
					if_block2.c();
					transition_in(if_block2, 1);
					if_block2.m(div12, t13);
				}
			} else if (if_block2) {
				group_outros();

				transition_out(if_block2, 1, 1, () => {
					if_block2 = null;
				});

				check_outros();
			}

			if (dirty[0] & /*$rouletteBoxes, $selectedRouletteType, disabled*/ 2308) {
				toggle_class(div7, "arizona-pass-roulette__button--disabled", /*$rouletteBoxes*/ ctx[11][/*$selectedRouletteType*/ ctx[8]].total === 0 || /*disabled*/ ctx[2]);
			}

			if ((!current || dirty[0] & /*$rouletteBoxes, $selectedRouletteType*/ 2304) && t18_value !== (t18_value = /*$rouletteBoxes*/ ctx[11][/*$selectedRouletteType*/ ctx[8]].total + "")) set_data(t18, t18_value);
			if (dirty[0] & /*$roulettePrizeFeed*/ 512) show_if = (0,lodash.isEmpty)(/*$roulettePrizeFeed*/ ctx[9]);

			if (show_if) {
				if (if_block3) {
					
				} else {
					if_block3 = roulette_index_svelte_create_if_block_5(ctx);
					if_block3.c();
					if_block3.m(div14, t22);
				}
			} else if (if_block3) {
				if_block3.d(1);
				if_block3 = null;
			}

			if (dirty[0] & /*$roulettePrizeFeed, calculateTimeDiff*/ 524800) {
				each_value = /*$roulettePrizeFeed*/ ctx[9];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = roulette_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = roulette_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div14, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out_1(i);
				}

				check_outros();
			}

			if (dirty[0] & /*$rouletteActive*/ 4096) {
				toggle_class(div17, "arizona-pass-roulette__button-back--disabled", /*$rouletteActive*/ ctx[12]);
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value_4.length; i += 1) {
				transition_in(each_blocks_2[i]);
			}

			transition_in(if_block2);

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks_2 = each_blocks_2.filter(Boolean);

			for (let i = 0; i < each_blocks_2.length; i += 1) {
				transition_out(each_blocks_2[i]);
			}

			transition_out(if_block2);
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div18);
			destroy_each(each_blocks_2, detaching);
			if_block0.d();
			destroy_each(each_blocks_1, detaching);
			if_block1.d();
			if (if_block2) if_block2.d();
			if (if_block3) if_block3.d();
			destroy_each(each_blocks, detaching);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (211:8) {#if $selectedRouletteType < 0 && !isEmpty($rouletteBoxes)}
function roulette_index_svelte_create_if_block(ctx) {
	let div20;
	let div9;
	let div8;
	let img0;
	let img0_src_value;
	let t0;
	let div7;
	let div0;
	let t3;
	let div2;
	let img1;
	let img1_src_value;
	let t4;
	let div1;
	let t7;
	let div6;
	let div3;
	let t8;
	let b2;
	let t9_value = /*$rouletteBoxes*/ ctx[11][0].total + "";
	let t9;
	let t10;
	let t11;
	let div5;
	let div4;
	let t13;
	let img2;
	let img2_src_value;
	let t14;
	let show_if_1 = !(0,lodash.isEmpty)(/*$rouletteBoxes*/ ctx[11][0].description);
	let t15;
	let div19;
	let div18;
	let img3;
	let img3_src_value;
	let t16;
	let div17;
	let div10;
	let t19;
	let div12;
	let img4;
	let img4_src_value;
	let t20;
	let div11;
	let t23;
	let div16;
	let div13;
	let t24;
	let b4;
	let t25_value = /*$rouletteBoxes*/ ctx[11][1].total + "";
	let t25;
	let t26;
	let t27;
	let div15;
	let t29;
	let t30;
	let show_if = !(0,lodash.isEmpty)(/*$rouletteBoxes*/ ctx[11][1].description);
	let mounted;
	let dispose;
	let if_block0 = show_if_1 && roulette_index_svelte_create_if_block_3(ctx);
	let if_block1 = /*$rouletteBoxes*/ ctx[11][1].discount && roulette_index_svelte_create_if_block_2(ctx);
	let if_block2 = show_if && roulette_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			div20 = internal_element("div");
			div9 = internal_element("div");
			div8 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			div7 = internal_element("div");
			div0 = internal_element("div");
			div0.innerHTML = `Уличная <b>рулетка</b>`;
			t3 = space();
			div2 = internal_element("div");
			img1 = internal_element("img");
			t4 = space();
			div1 = internal_element("div");
			div1.innerHTML = `Вы получите сразу <b>3 приза</b>`;
			t7 = space();
			div6 = internal_element("div");
			div3 = internal_element("div");
			t8 = internal_text("В наличии ");
			b2 = internal_element("b");
			t9 = internal_text(t9_value);
			t10 = internal_text(" шт.");
			t11 = space();
			div5 = internal_element("div");
			div4 = internal_element("div");
			div4.textContent = "Открыть";
			t13 = space();
			img2 = internal_element("img");
			t14 = space();
			if (if_block0) if_block0.c();
			t15 = space();
			div19 = internal_element("div");
			div18 = internal_element("div");
			img3 = internal_element("img");
			t16 = space();
			div17 = internal_element("div");
			div10 = internal_element("div");
			div10.innerHTML = `<span class="arizona-pass-roulette__variant-name--premium">Premium</span> рулетка`;
			t19 = space();
			div12 = internal_element("div");
			img4 = internal_element("img");
			t20 = space();
			div11 = internal_element("div");
			div11.innerHTML = `Вы получите сразу <b>7 призов</b>`;
			t23 = space();
			div16 = internal_element("div");
			div13 = internal_element("div");
			t24 = internal_text("В наличии ");
			b4 = internal_element("b");
			t25 = internal_text(t25_value);
			t26 = internal_text(" шт.");
			t27 = space();
			div15 = internal_element("div");
			div15.innerHTML = `<div class="arizona-pass-roulette__button-text">Открыть</div>`;
			t29 = space();
			if (if_block1) if_block1.c();
			t30 = space();
			if (if_block2) if_block2.c();
			if (!src_url_equal(img0.src, img0_src_value = winter_roulette_box_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "winter-box");
			attr(img0, "class", "arizona-pass-roulette__variant-image");
			attr(div0, "class", "arizona-pass-roulette__variant-name");
			if (!src_url_equal(img1.src, img1_src_value = prize_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "prize");
			attr(img1, "class", "arizona-pass-roulette__prizes-count-icon");
			attr(div1, "class", "arizona-pass-roulette__prizes-count-text");
			attr(div2, "class", "arizona-pass-roulette__prizes-count");
			attr(div3, "class", "arizona-pass-roulette__total");
			attr(div4, "class", "arizona-pass-roulette__button-text");
			if (!src_url_equal(img2.src, img2_src_value = icon_bpoints_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "bp-coin");
			attr(img2, "class", "arizona-pass-roulette__button-image");
			attr(div5, "class", "arizona-pass-roulette__button");
			attr(div6, "class", "arizona-pass-roulette__footer");
			attr(div7, "class", "arizona-pass-roulette__variant-info");
			attr(div8, "class", "arizona-pass-roulette__variant");
			attr(div9, "class", "arizona-pass-roulette__variant-wrapper");
			if (!src_url_equal(img3.src, img3_src_value = premium_roulette_box_namespaceObject)) attr(img3, "src", img3_src_value);
			attr(img3, "alt", "winter-box");
			attr(img3, "class", "arizona-pass-roulette__variant-image arizona-pass-roulette__variant-image--premium");
			attr(div10, "class", "arizona-pass-roulette__variant-name");
			if (!src_url_equal(img4.src, img4_src_value = prize_namespaceObject)) attr(img4, "src", img4_src_value);
			attr(img4, "alt", "prize");
			attr(img4, "class", "arizona-pass-roulette__prizes-count-icon");
			attr(div11, "class", "arizona-pass-roulette__prizes-count-text");
			attr(div12, "class", "arizona-pass-roulette__prizes-count arizona-pass-roulette__prizes-count--premium");
			attr(div13, "class", "arizona-pass-roulette__total");
			attr(div15, "class", "arizona-pass-roulette__button arizona-pass-roulette__button--premium");
			attr(div16, "class", "arizona-pass-roulette__footer");
			attr(div17, "class", "arizona-pass-roulette__variant-info");
			attr(div18, "class", "arizona-pass-roulette__variant arizona-pass-roulette__variant--premium");
			attr(div19, "class", "arizona-pass-roulette__variant-wrapper");
			attr(div20, "class", "arizona-pass-roulette__choice");
		},
		m(target, anchor) {
			insert(target, div20, anchor);
			append(div20, div9);
			append(div9, div8);
			append(div8, img0);
			append(div8, t0);
			append(div8, div7);
			append(div7, div0);
			append(div7, t3);
			append(div7, div2);
			append(div2, img1);
			append(div2, t4);
			append(div2, div1);
			append(div7, t7);
			append(div7, div6);
			append(div6, div3);
			append(div3, t8);
			append(div3, b2);
			append(b2, t9);
			append(b2, t10);
			append(div6, t11);
			append(div6, div5);
			append(div5, div4);
			append(div5, t13);
			append(div5, img2);
			append(div9, t14);
			if (if_block0) if_block0.m(div9, null);
			append(div20, t15);
			append(div20, div19);
			append(div19, div18);
			append(div18, img3);
			append(div18, t16);
			append(div18, div17);
			append(div17, div10);
			append(div17, t19);
			append(div17, div12);
			append(div12, img4);
			append(div12, t20);
			append(div12, div11);
			append(div17, t23);
			append(div17, div16);
			append(div16, div13);
			append(div13, t24);
			append(div13, b4);
			append(b4, t25);
			append(b4, t26);
			append(div16, t27);
			append(div16, div15);
			append(div16, t29);
			if (if_block1) if_block1.m(div16, null);
			append(div19, t30);
			if (if_block2) if_block2.m(div19, null);

			if (!mounted) {
				dispose = [
					listen(div5, "click", /*click_handler*/ ctx[23]),
					listen(div15, "click", /*click_handler_1*/ ctx[24])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$rouletteBoxes*/ 2048 && t9_value !== (t9_value = /*$rouletteBoxes*/ ctx[11][0].total + "")) set_data(t9, t9_value);
			if (dirty[0] & /*$rouletteBoxes*/ 2048) show_if_1 = !(0,lodash.isEmpty)(/*$rouletteBoxes*/ ctx[11][0].description);

			if (show_if_1) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = roulette_index_svelte_create_if_block_3(ctx);
					if_block0.c();
					if_block0.m(div9, null);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty[0] & /*$rouletteBoxes*/ 2048 && t25_value !== (t25_value = /*$rouletteBoxes*/ ctx[11][1].total + "")) set_data(t25, t25_value);

			if (/*$rouletteBoxes*/ ctx[11][1].discount) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = roulette_index_svelte_create_if_block_2(ctx);
					if_block1.c();
					if_block1.m(div16, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty[0] & /*$rouletteBoxes*/ 2048) show_if = !(0,lodash.isEmpty)(/*$rouletteBoxes*/ ctx[11][1].description);

			if (show_if) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = roulette_index_svelte_create_if_block_1(ctx);
					if_block2.c();
					if_block2.m(div19, null);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div20);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			if (if_block2) if_block2.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (329:20) {#each $roulettePrizePool as prize}
function index_svelte_create_each_block_4(ctx) {
	let div1;
	let prizeimage;
	let t0;
	let div0;
	let t1_value = /*prize*/ ctx[47].title + "";
	let t1;
	let t2;
	let current;

	prizeimage = new prize_image_index_svelte({
			props: {
				imageSrc: `${BP_IMAGES_BASE_CDN_URL}/${/*prize*/ ctx[47].image}.webp`,
				style: /*prize*/ ctx[47].rarity
			}
		});

	return {
		c() {
			div1 = internal_element("div");
			create_component(prizeimage.$$.fragment);
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(div0, "class", "arizona-pass-roulette__prize-pool-item-tooltip");
			attr(div1, "class", "arizona-pass-roulette__prize-pool-item");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			mount_component(prizeimage, div1, null);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
			append(div1, t2);
			current = true;
		},
		p(ctx, dirty) {
			const prizeimage_changes = {};
			if (dirty[0] & /*$roulettePrizePool*/ 1024) prizeimage_changes.imageSrc = `${BP_IMAGES_BASE_CDN_URL}/${/*prize*/ ctx[47].image}.webp`;
			if (dirty[0] & /*$roulettePrizePool*/ 1024) prizeimage_changes.style = /*prize*/ ctx[47].rarity;
			prizeimage.$set(prizeimage_changes);
			if ((!current || dirty[0] & /*$roulettePrizePool*/ 1024) && t1_value !== (t1_value = /*prize*/ ctx[47].title + "")) set_data(t1, t1_value);
		},
		i(local) {
			if (current) return;
			transition_in(prizeimage.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(prizeimage.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			destroy_component(prizeimage);
		}
	};
}

// (345:24) {:else}
function roulette_index_svelte_create_else_block_2(ctx) {
	let span0;
	let t1;
	let span1;

	return {
		c() {
			span0 = internal_element("span");
			span0.textContent = "RUB";
			t1 = space();
			span1 = internal_element("span");
			span1.textContent = "(Повышенный шанс)";
			attr(span0, "class", "arizona-pass-roulette__purchase-caption-text");
			attr(span1, "class", "arizona-pass-roulette__purchase-caption-text arizona-pass-roulette__purchase-caption-text--small");
		},
		m(target, anchor) {
			insert(target, span0, anchor);
			insert(target, t1, anchor);
			insert(target, span1, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(span0);
			if (detaching) detach(t1);
			if (detaching) detach(span1);
		}
	};
}

// (343:24) {#if $selectedRouletteType === 0}
function roulette_index_svelte_create_if_block_11(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = icon_bpoints_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "bp-coin");
			attr(img, "class", "arizona-pass-roulette__purchase-caption-icon");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (355:24) {#each scales as scale, index}
function index_svelte_create_each_block_3(ctx) {
	let div;
	let t0_value = `x${/*scale*/ ctx[45]}` + "";
	let t0;
	let t1;
	let mounted;
	let dispose;

	function click_handler_2() {
		return /*click_handler_2*/ ctx[25](/*index*/ ctx[44]);
	}

	return {
		c() {
			div = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			attr(div, "class", "arizona-pass-roulette__purchase-scale");
			toggle_class(div, "arizona-pass-roulette__purchase-scale--active", /*index*/ ctx[44] === /*selectedScaler*/ ctx[1]);
			toggle_class(div, "arizona-pass-roulette__purchase-scale--premium", /*$selectedRouletteType*/ ctx[8] === 1);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t0);
			append(div, t1);

			if (!mounted) {
				dispose = listen(div, "click", click_handler_2);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty[0] & /*selectedScaler*/ 2) {
				toggle_class(div, "arizona-pass-roulette__purchase-scale--active", /*index*/ ctx[44] === /*selectedScaler*/ ctx[1]);
			}

			if (dirty[0] & /*$selectedRouletteType*/ 256) {
				toggle_class(div, "arizona-pass-roulette__purchase-scale--premium", /*$selectedRouletteType*/ ctx[8] === 1);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (381:24) {:else}
function roulette_index_svelte_create_else_block_1(ctx) {
	let span;

	return {
		c() {
			span = internal_element("span");
			span.innerHTML = `<b>RUB</b>`;
			attr(span, "class", "arizona-pass-roulette__purchase-button-caption");
		},
		m(target, anchor) {
			insert(target, span, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

// (379:24) {#if $selectedRouletteType === 0}
function roulette_index_svelte_create_if_block_10(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = icon_bpoints_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "bp-coin");
			attr(img, "class", "arizona-pass-roulette__purchase-button-image");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (390:20) {#if !isEmpty(rouletteLines)}
function roulette_index_svelte_create_if_block_6(ctx) {
	let div1;
	let div0;
	let t0;
	let img0;
	let img0_src_value;
	let t1;
	let img1;
	let img1_src_value;
	let current;
	let each_value_1 = new Array(/*reelsCount*/ ctx[14][/*$selectedRouletteType*/ ctx[8]]);
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = roulette_index_svelte_create_each_block_1(roulette_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t0 = space();
			img0 = internal_element("img");
			t1 = space();
			img1 = internal_element("img");
			if (!src_url_equal(img0.src, img0_src_value = left_sign_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "left stopper");
			attr(img0, "class", "arizona-pass-roulette__slot-machine-body-stopper");
			if (!src_url_equal(img1.src, img1_src_value = right_sign_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "right stopper");
			attr(img1, "class", "arizona-pass-roulette__slot-machine-body-stopper arizona-pass-roulette__slot-machine-body-stopper--right");
			attr(div0, "class", "arizona-pass-roulette__slot-machine-body");
			toggle_class(div0, "arizona-pass-roulette__slot-machine-body--mini", /*$selectedRouletteType*/ ctx[8] === 0);
			attr(div1, "class", "arizona-pass-roulette__slot-machine");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			append(div0, t0);
			append(div0, img0);
			append(div0, t1);
			append(div0, img1);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty[0] & /*animated, $selectedRouletteType, offset, prizeSold, sellPrize, $roulettePrizePool, winIds, afterRoll, rouletteLines, createId*/ 4261369) {
				each_value_1 = new Array(/*reelsCount*/ ctx[14][/*$selectedRouletteType*/ ctx[8]]);
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = roulette_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = roulette_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div0, t0);
					}
				}

				group_outros();

				for (i = each_value_1.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}

			if (dirty[0] & /*$selectedRouletteType*/ 256) {
				toggle_class(div0, "arizona-pass-roulette__slot-machine-body--mini", /*$selectedRouletteType*/ ctx[8] === 0);
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value_1.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (402:40) {#if !isEmpty(rouletteLines[reelIndex])}
function roulette_index_svelte_create_if_block_9(ctx) {
	let each_1_anchor;
	let each_value_2 = /*rouletteLines*/ ctx[4][/*reelIndex*/ ctx[42]];
	let each_blocks = [];

	for (let i = 0; i < each_value_2.length; i += 1) {
		each_blocks[i] = roulette_index_svelte_create_each_block_2(roulette_index_svelte_get_each_context_2(ctx, each_value_2, i));
	}

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*rouletteLines, createId, $selectedRouletteType*/ 4194576) {
				each_value_2 = /*rouletteLines*/ ctx[4][/*reelIndex*/ ctx[42]];
				let i;

				for (i = 0; i < each_value_2.length; i += 1) {
					const child_ctx = roulette_index_svelte_get_each_context_2(ctx, each_value_2, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = roulette_index_svelte_create_each_block_2(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_2.length;
			}
		},
		d(detaching) {
			destroy_each(each_blocks, detaching);
			if (detaching) detach(each_1_anchor);
		}
	};
}

// (403:44) {#each rouletteLines[reelIndex] as item, index}
function roulette_index_svelte_create_each_block_2(ctx) {
	let div;
	let img;
	let img_src_value;
	let t;
	let div_class_value;
	let div_id_value;

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			t = space();
			if (!src_url_equal(img.src, img_src_value = `${BP_IMAGES_BASE_CDN_URL}/${/*item*/ ctx[37].image}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "slotImage");
			attr(img, "class", "arizona-pass-roulette__slot-item-image");
			toggle_class(img, "arizona-pass-roulette__slot-item-image--small", /*$selectedRouletteType*/ ctx[8] === 1);
			attr(div, "class", div_class_value = "arizona-pass-roulette__slot-item arizona-pass-roulette__slot-item--" + /*item*/ ctx[37].rarity);
			attr(div, "id", div_id_value = /*createId*/ ctx[22](/*index*/ ctx[44], /*reelIndex*/ ctx[42]));
			toggle_class(div, "arizona-pass-roulette__slot-item--small", /*$selectedRouletteType*/ ctx[8] === 1);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*rouletteLines*/ 16 && !src_url_equal(img.src, img_src_value = `${BP_IMAGES_BASE_CDN_URL}/${/*item*/ ctx[37].image}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty[0] & /*$selectedRouletteType*/ 256) {
				toggle_class(img, "arizona-pass-roulette__slot-item-image--small", /*$selectedRouletteType*/ ctx[8] === 1);
			}

			if (dirty[0] & /*rouletteLines*/ 16 && div_class_value !== (div_class_value = "arizona-pass-roulette__slot-item arizona-pass-roulette__slot-item--" + /*item*/ ctx[37].rarity)) {
				attr(div, "class", div_class_value);
			}

			if (dirty[0] & /*rouletteLines, $selectedRouletteType*/ 272) {
				toggle_class(div, "arizona-pass-roulette__slot-item--small", /*$selectedRouletteType*/ ctx[8] === 1);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (418:40) {#if afterRoll}
function roulette_index_svelte_create_if_block_7(ctx) {
	let div2;
	let div0;
	let t0_value = /*$roulettePrizePool*/ ctx[10][/*winIds*/ ctx[6][/*reelIndex*/ ctx[42]]].title + "";
	let t0;
	let t1;
	let div1;
	let div2_transition;
	let current;
	let mounted;
	let dispose;

	function select_block_type_3(ctx, dirty) {
		if (/*prizeSold*/ ctx[5][/*reelIndex*/ ctx[42]]) return roulette_index_svelte_create_if_block_8;
		return roulette_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type_3(ctx, [-1, -1]);
	let if_block = current_block_type(ctx);

	function click_handler_4() {
		return /*click_handler_4*/ ctx[27](/*reelIndex*/ ctx[42]);
	}

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			div1 = internal_element("div");
			if_block.c();
			attr(div0, "class", "arizona-pass-roulette__slot-sell-title");
			attr(div1, "class", "arizona-pass-roulette__slot-sell-button");
			toggle_class(div1, "arizona-pass-roulette__slot-sell-button--disabled", /*prizeSold*/ ctx[5][/*reelIndex*/ ctx[42]]);
			attr(div2, "class", "arizona-pass-roulette__slot-sell");
			toggle_class(div2, "arizona-pass-roulette__slot-sell--mini", /*$selectedRouletteType*/ ctx[8] === 0);
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div0, t0);
			append(div2, t1);
			append(div2, div1);
			if_block.m(div1, null);
			current = true;

			if (!mounted) {
				dispose = listen(div1, "click", click_handler_4);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if ((!current || dirty[0] & /*$roulettePrizePool, winIds*/ 1088) && t0_value !== (t0_value = /*$roulettePrizePool*/ ctx[10][/*winIds*/ ctx[6][/*reelIndex*/ ctx[42]]].title + "")) set_data(t0, t0_value);

			if (current_block_type === (current_block_type = select_block_type_3(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div1, null);
				}
			}

			if (dirty[0] & /*prizeSold*/ 32) {
				toggle_class(div1, "arizona-pass-roulette__slot-sell-button--disabled", /*prizeSold*/ ctx[5][/*reelIndex*/ ctx[42]]);
			}

			if (dirty[0] & /*$selectedRouletteType*/ 256) {
				toggle_class(div2, "arizona-pass-roulette__slot-sell--mini", /*$selectedRouletteType*/ ctx[8] === 0);
			}
		},
		i(local) {
			if (current) return;

			add_render_callback(() => {
				if (!div2_transition) div2_transition = create_bidirectional_transition(div2, fade, {}, true);
				div2_transition.run(1);
			});

			current = true;
		},
		o(local) {
			if (!div2_transition) div2_transition = create_bidirectional_transition(div2, fade, {}, false);
			div2_transition.run(0);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div2);
			if_block.d();
			if (detaching && div2_transition) div2_transition.end();
			mounted = false;
			dispose();
		}
	};
}

// (436:56) {:else}
function roulette_index_svelte_create_else_block(ctx) {
	let span;
	let t1;
	let b;
	let t2_value = /*$roulettePrizePool*/ ctx[10][/*winIds*/ ctx[6][/*reelIndex*/ ctx[42]]].price + "";
	let t2;
	let t3;
	let img;
	let img_src_value;

	return {
		c() {
			span = internal_element("span");
			span.textContent = "Продать за";
			t1 = space();
			b = internal_element("b");
			t2 = internal_text(t2_value);
			t3 = space();
			img = internal_element("img");
			attr(span, "class", "arizona-pass-roulette__slot-sell-button-caption");
			if (!src_url_equal(img.src, img_src_value = icon_bpoints_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "bp-coin");
			attr(img, "class", "arizona-pass-roulette__slot-sell-button-image");
		},
		m(target, anchor) {
			insert(target, span, anchor);
			insert(target, t1, anchor);
			insert(target, b, anchor);
			append(b, t2);
			insert(target, t3, anchor);
			insert(target, img, anchor);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$roulettePrizePool, winIds*/ 1088 && t2_value !== (t2_value = /*$roulettePrizePool*/ ctx[10][/*winIds*/ ctx[6][/*reelIndex*/ ctx[42]]].price + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(span);
			if (detaching) detach(t1);
			if (detaching) detach(b);
			if (detaching) detach(t3);
			if (detaching) detach(img);
		}
	};
}

// (432:56) {#if prizeSold[reelIndex]}
function roulette_index_svelte_create_if_block_8(ctx) {
	let span;

	return {
		c() {
			span = internal_element("span");
			span.textContent = "Продано";
			attr(span, "class", "arizona-pass-roulette__slot-sell-button-caption");
		},
		m(target, anchor) {
			insert(target, span, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

// (393:32) {#each new Array(reelsCount[$selectedRouletteType]) as reel, reelIndex}
function roulette_index_svelte_create_each_block_1(ctx) {
	let div;
	let show_if = !(0,lodash.isEmpty)(/*rouletteLines*/ ctx[4][/*reelIndex*/ ctx[42]]);
	let t;
	let current;
	let if_block0 = show_if && roulette_index_svelte_create_if_block_9(ctx);
	let if_block1 = /*afterRoll*/ ctx[3] && roulette_index_svelte_create_if_block_7(ctx);

	return {
		c() {
			div = internal_element("div");
			if (if_block0) if_block0.c();
			t = space();
			if (if_block1) if_block1.c();
			attr(div, "class", "arizona-pass-roulette__slot-machine-body-reel");
			toggle_class(div, "arizona-pass-roulette__slot-machine-body-reel--animated", /*animated*/ ctx[0]);
			toggle_class(div, "arizona-pass-roulette__slot-machine-body-reel--small", /*$selectedRouletteType*/ ctx[8] === 1);
			set_style(div, "transform", `translateY(${/*offset*/ ctx[7]}px)`, false);
			set_style(div, "transition", /*animated*/ ctx[0] ? '8s' : 'none', false);

			set_style(
				div,
				"transition-delay",
				`${/*animated*/ ctx[0]
				? `${0.8 * /*reelIndex*/ ctx[42]}s`
				: 'none'}`,
				false
			);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block0) if_block0.m(div, null);
			append(div, t);
			if (if_block1) if_block1.m(div, null);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty[0] & /*rouletteLines*/ 16) show_if = !(0,lodash.isEmpty)(/*rouletteLines*/ ctx[4][/*reelIndex*/ ctx[42]]);

			if (show_if) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = roulette_index_svelte_create_if_block_9(ctx);
					if_block0.c();
					if_block0.m(div, t);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (/*afterRoll*/ ctx[3]) {
				if (if_block1) {
					if_block1.p(ctx, dirty);

					if (dirty[0] & /*afterRoll*/ 8) {
						transition_in(if_block1, 1);
					}
				} else {
					if_block1 = roulette_index_svelte_create_if_block_7(ctx);
					if_block1.c();
					transition_in(if_block1, 1);
					if_block1.m(div, null);
				}
			} else if (if_block1) {
				group_outros();

				transition_out(if_block1, 1, 1, () => {
					if_block1 = null;
				});

				check_outros();
			}

			if (dirty[0] & /*animated*/ 1) {
				toggle_class(div, "arizona-pass-roulette__slot-machine-body-reel--animated", /*animated*/ ctx[0]);
			}

			if (dirty[0] & /*$selectedRouletteType*/ 256) {
				toggle_class(div, "arizona-pass-roulette__slot-machine-body-reel--small", /*$selectedRouletteType*/ ctx[8] === 1);
			}

			if (dirty[0] & /*offset*/ 128) {
				set_style(div, "transform", `translateY(${/*offset*/ ctx[7]}px)`, false);
			}

			if (dirty[0] & /*animated*/ 1) {
				set_style(div, "transition", /*animated*/ ctx[0] ? '8s' : 'none', false);
			}

			if (dirty[0] & /*animated*/ 1) {
				set_style(
					div,
					"transition-delay",
					`${/*animated*/ ctx[0]
					? `${0.8 * /*reelIndex*/ ctx[42]}s`
					: 'none'}`,
					false
				);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block1);
			current = true;
		},
		o(local) {
			transition_out(if_block1);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
		}
	};
}

// (488:24) {#if isEmpty($roulettePrizeFeed)}
function roulette_index_svelte_create_if_block_5(ctx) {
	let div1;

	return {
		c() {
			div1 = internal_element("div");
			div1.innerHTML = `<div class="arizona-pass-roulette__prize-feed-holder-text">Список призов пуст</div>`;
			attr(div1, "class", "arizona-pass-roulette__prize-feed-holder");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (493:24) {#each $roulettePrizeFeed as item}
function roulette_index_svelte_create_each_block(ctx) {
	let div5;
	let div3;
	let prizeimage;
	let t0;
	let div1;
	let img;
	let img_src_value;
	let t1;
	let div0;

	let t2_value = (/*item*/ ctx[37].id
	? 'Premium рулетка'
	: 'Рулетка основания') + "";

	let t2;
	let t3;
	let div2;
	let t4_value = /*calculateTimeDiff*/ ctx[19](/*item*/ ctx[37].time) + "";
	let t4;
	let t5;
	let div4;
	let t6_value = /*item*/ ctx[37].title + "";
	let t6;
	let t7;
	let current;

	prizeimage = new prize_image_index_svelte({
			props: {
				imageSrc: `${BP_IMAGES_BASE_CDN_URL}/${/*item*/ ctx[37].image}.webp`,
				style: /*item*/ ctx[37].style
			}
		});

	return {
		c() {
			div5 = internal_element("div");
			div3 = internal_element("div");
			create_component(prizeimage.$$.fragment);
			t0 = space();
			div1 = internal_element("div");
			img = internal_element("img");
			t1 = space();
			div0 = internal_element("div");
			t2 = internal_text(t2_value);
			t3 = space();
			div2 = internal_element("div");
			t4 = internal_text(t4_value);
			t5 = space();
			div4 = internal_element("div");
			t6 = internal_text(t6_value);
			t7 = space();
			if (!src_url_equal(img.src, img_src_value = /*item*/ ctx[37].id ? premium_roulette_box_namespaceObject : winter_roulette_box_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "box");
			attr(img, "class", "arizona-pass-roulette__prize-feed-item-overlay-image");
			attr(div0, "class", "arizona-pass-roulette__prize-feed-item-overlay-title");
			attr(div1, "class", "arizona-pass-roulette__prize-feed-item-overlay");
			attr(div2, "class", "arizona-pass-roulette__prize-feed-item-time");
			attr(div3, "class", "arizona-pass-roulette__prize-feed-item-image");
			attr(div4, "class", "arizona-pass-roulette__prize-feed-item-caption");
			attr(div5, "class", "arizona-pass-roulette__prize-feed-item");
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			append(div5, div3);
			mount_component(prizeimage, div3, null);
			append(div3, t0);
			append(div3, div1);
			append(div1, img);
			append(div1, t1);
			append(div1, div0);
			append(div0, t2);
			append(div3, t3);
			append(div3, div2);
			append(div2, t4);
			append(div5, t5);
			append(div5, div4);
			append(div4, t6);
			append(div5, t7);
			current = true;
		},
		p(ctx, dirty) {
			const prizeimage_changes = {};
			if (dirty[0] & /*$roulettePrizeFeed*/ 512) prizeimage_changes.imageSrc = `${BP_IMAGES_BASE_CDN_URL}/${/*item*/ ctx[37].image}.webp`;
			if (dirty[0] & /*$roulettePrizeFeed*/ 512) prizeimage_changes.style = /*item*/ ctx[37].style;
			prizeimage.$set(prizeimage_changes);

			if (!current || dirty[0] & /*$roulettePrizeFeed*/ 512 && !src_url_equal(img.src, img_src_value = /*item*/ ctx[37].id ? premium_roulette_box_namespaceObject : winter_roulette_box_namespaceObject)) {
				attr(img, "src", img_src_value);
			}

			if ((!current || dirty[0] & /*$roulettePrizeFeed*/ 512) && t2_value !== (t2_value = (/*item*/ ctx[37].id
			? 'Premium рулетка'
			: 'Рулетка основания') + "")) set_data(t2, t2_value);

			if ((!current || dirty[0] & /*$roulettePrizeFeed*/ 512) && t4_value !== (t4_value = /*calculateTimeDiff*/ ctx[19](/*item*/ ctx[37].time) + "")) set_data(t4, t4_value);
			if ((!current || dirty[0] & /*$roulettePrizeFeed*/ 512) && t6_value !== (t6_value = /*item*/ ctx[37].title + "")) set_data(t6, t6_value);
		},
		i(local) {
			if (current) return;
			transition_in(prizeimage.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(prizeimage.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div5);
			destroy_component(prizeimage);
		}
	};
}

// (259:20) {#if !isEmpty($rouletteBoxes[0].description)}
function roulette_index_svelte_create_if_block_3(ctx) {
	let div1;
	let img;
	let img_src_value;
	let t0;
	let div0;
	let t1_value = /*$rouletteBoxes*/ ctx[11][1].description + "";
	let t1;

	return {
		c() {
			div1 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			if (!src_url_equal(img.src, img_src_value = procent_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "percent");
			attr(img, "class", "arizona-pass-roulette__additional-icon");
			attr(div0, "class", "arizona-pass-roulette__additional-text");
			attr(div1, "class", "arizona-pass-roulette__additional");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, img);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$rouletteBoxes*/ 2048 && t1_value !== (t1_value = /*$rouletteBoxes*/ ctx[11][1].description + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (309:32) {#if $rouletteBoxes[1].discount}
function roulette_index_svelte_create_if_block_2(ctx) {
	let div;
	let b;
	let t_value = `${/*$rouletteBoxes*/ ctx[11][1].discount}%` + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			b = internal_element("b");
			t = internal_text(t_value);
			attr(div, "class", "arizona-pass-roulette__discount");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, b);
			append(b, t);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$rouletteBoxes*/ 2048 && t_value !== (t_value = `${/*$rouletteBoxes*/ ctx[11][1].discount}%` + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (318:20) {#if !isEmpty($rouletteBoxes[1].description)}
function roulette_index_svelte_create_if_block_1(ctx) {
	let div1;
	let img;
	let img_src_value;
	let t0;
	let div0;
	let t1_value = /*$rouletteBoxes*/ ctx[11][1].description + "";
	let t1;

	return {
		c() {
			div1 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			if (!src_url_equal(img.src, img_src_value = procent_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "percent");
			attr(img, "class", "arizona-pass-roulette__additional-icon");
			attr(div0, "class", "arizona-pass-roulette__additional-text");
			attr(div1, "class", "arizona-pass-roulette__additional");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, img);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$rouletteBoxes*/ 2048 && t1_value !== (t1_value = /*$rouletteBoxes*/ ctx[11][1].description + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

function roulette_index_svelte_create_fragment(ctx) {
	let div1;
	let div0;
	let show_if;
	let show_if_1;
	let current_block_type_index;
	let if_block;
	let current;
	const if_block_creators = [roulette_index_svelte_create_if_block, roulette_index_svelte_create_if_block_4];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (dirty[0] & /*$selectedRouletteType, $rouletteBoxes*/ 2304) show_if = null;
		if (dirty[0] & /*$selectedRouletteType, $rouletteBoxes*/ 2304) show_if_1 = null;
		if (show_if == null) show_if = !!(/*$selectedRouletteType*/ ctx[8] < 0 && !(0,lodash.isEmpty)(/*$rouletteBoxes*/ ctx[11]));
		if (show_if) return 0;
		if (show_if_1 == null) show_if_1 = !!(/*$selectedRouletteType*/ ctx[8] >= 0 && !(0,lodash.isEmpty)(/*$rouletteBoxes*/ ctx[11]));
		if (show_if_1) return 1;
		return -1;
	}

	if (~(current_block_type_index = select_block_type(ctx, [-1, -1]))) {
		if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
	}

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			if (if_block) if_block.c();
			attr(div0, "class", "arizona-pass-roulette__page-wrapper");
			attr(div1, "class", "arizona-pass-roulette");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);

			if (~current_block_type_index) {
				if_blocks[current_block_type_index].m(div0, null);
			}

			current = true;
		},
		p(ctx, dirty) {
			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if (~current_block_type_index) {
					if_blocks[current_block_type_index].p(ctx, dirty);
				}
			} else {
				if (if_block) {
					group_outros();

					transition_out(if_blocks[previous_block_index], 1, 1, () => {
						if_blocks[previous_block_index] = null;
					});

					check_outros();
				}

				if (~current_block_type_index) {
					if_block = if_blocks[current_block_type_index];

					if (!if_block) {
						if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
						if_block.c();
					} else {
						if_block.p(ctx, dirty);
					}

					transition_in(if_block, 1);
					if_block.m(div0, null);
				} else {
					if_block = null;
				}
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);

			if (~current_block_type_index) {
				if_blocks[current_block_type_index].d();
			}
		}
	};
}

function roulette_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedRouletteType;
	let $roulettePrizeFeed;
	let $roulettePrizePool;
	let $rouletteBoxes;
	let $rouletteActive;
	component_subscribe($$self, selectedRouletteType, $$value => $$invalidate(8, $selectedRouletteType = $$value));
	component_subscribe($$self, roulettePrizeFeed, $$value => $$invalidate(9, $roulettePrizeFeed = $$value));
	component_subscribe($$self, roulettePrizePool, $$value => $$invalidate(10, $roulettePrizePool = $$value));
	component_subscribe($$self, rouletteBoxes, $$value => $$invalidate(11, $rouletteBoxes = $$value));
	component_subscribe($$self, rouletteActive, $$value => $$invalidate(12, $rouletteActive = $$value));
	let animated = false;
	let selectedScaler = 0;
	let disabled = false;
	let afterRoll = false;
	let rouletteLines = [];
	const scales = [1, 5, 10];
	const reelsCount = [3, 7];
	const reelsTime = [9700, 12800];
	const prizeSold = Array(reelsCount[$selectedRouletteType]).fill(false);
	let prizeCount = Array(reelsCount[$selectedRouletteType]).fill(1);
	let winIds = [];
	let offset = 0;

	const backToChoice = () => {
		if ($rouletteActive) {
			return;
		}

		sendClientMessage('battlePass.roulette.backToChoice');
		set_store_value(selectedRouletteType, $selectedRouletteType = -1, $selectedRouletteType);
		$$invalidate(4, rouletteLines = []);
		$$invalidate(6, winIds = []);
		set_store_value(roulettePrizePool, $roulettePrizePool = [], $roulettePrizePool);
		set_store_value(roulettePrizeFeed, $roulettePrizeFeed = [], $roulettePrizeFeed);
	};

	// const calculatePrice = (price, discount) => Math.ceil(price - price * (discount / 100));
	const sellPrize = reelIndex => {
		$$invalidate(5, prizeSold[reelIndex] = true, prizeSold);
		sendClientMessage('battlePass.roulette.sellPrize', reelIndex);
	};

	const selectType = type => {
		sendClientMessage('battlePass.roulette.selectRouletteType', type);

		if ($rouletteBoxes[type].total === 0) {
			sendClientMessage('battlePass.roulette.purchaseRoulette', type);
		} // return;

		set_store_value(selectedRouletteType, $selectedRouletteType = type, $selectedRouletteType);
		$$invalidate(6, winIds = Array(reelsCount[$selectedRouletteType]).fill(0));
	};

	const rollMessage = () => sendClientMessage('battlePass.roulette.startRoll');

	const calculateTimeDiff = unix => {
		let diff = moment_default()().unix() - unix;
		let formatted = '';
		diff = diff < 0 ? 1 : diff;

		if (diff < 60) {
			formatted = `${diff} сек`;
		} else if (diff > 60 && diff <= 3540) {
			formatted = `${Math.round(diff / 60)} мин`;
		} else if (diff > 3540 && diff < 86400) {
			formatted = `${Math.round(diff / 3600)} час+`;
		} else {
			formatted = '24 часа+';
		}

		return formatted;
	};

	const roll = () => {
		set_store_value(rouletteActive, $rouletteActive = true, $rouletteActive);

		// if ($rouletteBoxes[$selectedRouletteType].total === 0 || disabled) {
		//     return;
		// }
		$$invalidate(3, afterRoll = false);

		$$invalidate(2, disabled = true);
		$$invalidate(0, animated = true);
		$$invalidate(7, offset = 0);

		setTimeout(
			() => {
				$$invalidate(3, afterRoll = true);
				$$invalidate(2, disabled = false);
				$$invalidate(0, animated = false);

				rouletteLines.forEach((item, index) => {
					$$invalidate(4, rouletteLines[index] = rouletteLines[index].splice(0, 2), rouletteLines);
				});

				$$invalidate(4, rouletteLines = rouletteLines.map(line => {
					const addItems = Array(47).fill({}).map(() => $roulettePrizePool[_randomHelper(0, $roulettePrizePool.length)]);
					const cache = [...addItems, ...line];
					return cache;
				}));

				setTimeout(
					() => {
						$$invalidate(7, offset = document.querySelector(`#start-${0}`).offsetTop * -1);
					},
					0
				);

				set_store_value(rouletteActive, $rouletteActive = false, $rouletteActive);
				sendClientMessage('battlePass.roulette.spinFinish');
			},
			reelsTime[$selectedRouletteType]
		);

		if ($rouletteBoxes[$selectedRouletteType].total > 0) {
			set_store_value(rouletteBoxes, $rouletteBoxes[$selectedRouletteType].total -= 1, $rouletteBoxes);
		}
	};

	const purchaseRoulette = () => {
		sendClientMessage('battlePass.roulette.purchaseScaledRoulette', scales[selectedScaler]);
	};

	const rearmRoulette = () => {
		$$invalidate(2, disabled = false);
		$$invalidate(0, animated = false);
		prizeSold.fill(false);

		setTimeout(
			() => {
				$$invalidate(7, offset = document.querySelector(`#start-${0}`).offsetTop * -1);
				rollMessage();
			},
			0
		);
	};

	const initializeWinIds = ids => {
		$$invalidate(6, winIds = [...ids]);

		rouletteLines.forEach((line, index) => {
			/* eslint-disable no-param-reassign */
			line[1] = $roulettePrizePool[winIds[index]];
		}); /* eslint-enable no-param-reassign */

		$$invalidate(4, rouletteLines = [...rouletteLines]);

		setTimeout(
			() => {
				roll();
			},
			100
		);
	};

	const createRouletteLines = () => {
		$$invalidate(4, rouletteLines = Array(reelsCount[$selectedRouletteType]).fill([]).map((item, index) => Array(50).fill({}).map(() => $roulettePrizePool[_randomHelper(0, $roulettePrizePool.length, [winIds[index]])])));

		setTimeout(
			() => {
				$$invalidate(7, offset = document.querySelector(`#start-${0}`).offsetTop * -1);
			},
			0
		);
	};

	const initializePriceCount = count => {
		prizeCount = count;
	};

	const unregisterInitializeWinIds = registerEvent('event.battlePass.initializeWinIds', initializeWinIds);
	const unregisterInitializePriceCount = registerEvent('event.battlePass.prizeCount', initializePriceCount);
	const unregisterPrizePoolComplite = registerEvent('event.battlePass.prizePoolComplite', createRouletteLines);

	const createId = (slotIndex, reelIndex) => {
		let id = '';

		switch (slotIndex) {
			case 1:
				id = `finish-${reelIndex}`;
				break;
			case 47:
				id = `start-${reelIndex}`;
				break;
			default:
				break;
		}

		return id;
	};

	onDestroy(() => {
		set_store_value(rouletteBoxes, $rouletteBoxes = [], $rouletteBoxes);
		set_store_value(roulettePrizePool, $roulettePrizePool = [], $roulettePrizePool);
		set_store_value(roulettePrizeFeed, $roulettePrizeFeed = [], $roulettePrizeFeed);
		set_store_value(selectedRouletteType, $selectedRouletteType = -1, $selectedRouletteType);
		unregisterInitializeWinIds();
		unregisterPrizePoolComplite();
		unregisterInitializePriceCount();
	});

	const click_handler = () => selectType(0);
	const click_handler_1 = () => selectType(1);

	const click_handler_2 = index => {
		$$invalidate(1, selectedScaler = index);
	};

	const click_handler_3 = () => purchaseRoulette();
	const click_handler_4 = reelIndex => sellPrize(reelIndex);

	return [
		animated,
		selectedScaler,
		disabled,
		afterRoll,
		rouletteLines,
		prizeSold,
		winIds,
		offset,
		$selectedRouletteType,
		$roulettePrizeFeed,
		$roulettePrizePool,
		$rouletteBoxes,
		$rouletteActive,
		scales,
		reelsCount,
		backToChoice,
		sellPrize,
		selectType,
		rollMessage,
		calculateTimeDiff,
		purchaseRoulette,
		rearmRoulette,
		createId,
		click_handler,
		click_handler_1,
		click_handler_2,
		click_handler_3,
		click_handler_4
	];
}

class Roulette extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, roulette_index_svelte_instance, roulette_index_svelte_create_fragment, safe_not_equal, {}, null, [-1, -1]);
	}
}

/* harmony default export */ const roulette_index_svelte = (Roulette);
;// CONCATENATED MODULE: ./src/views/battle-pass/routs.js
function routs_typeof(o) { "@babel/helpers - typeof"; return routs_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, routs_typeof(o); }
function routs_defineProperty(e, r, t) { return (r = routs_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function routs_toPropertyKey(t) { var i = routs_toPrimitive(t, "string"); return "symbol" == routs_typeof(i) ? i : i + ""; }
function routs_toPrimitive(t, r) { if ("object" != routs_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != routs_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }









var routs_MAP_MENU_ID_TO_COMPONENT = routs_defineProperty(routs_defineProperty(routs_defineProperty(routs_defineProperty(routs_defineProperty(routs_defineProperty(routs_defineProperty(routs_defineProperty({}, MenuIds.Main, battle_pass_components_main_index_svelte), MenuIds.Tasks, components_quests_index_svelte), MenuIds.PurchaseLevel, purchase_level_index_svelte), MenuIds.PurchasePremium, purchase_premium_index_svelte), MenuIds.Shop, components_shop_index_svelte), MenuIds.Donate, donate_index_svelte), MenuIds.Preview, preview_index_svelte), MenuIds.Roulette, roulette_index_svelte);
;// CONCATENATED MODULE: ./src/views/battle-pass/index.svelte
/* src\views\battle-pass\index.svelte generated by Svelte v3.49.0 */




















function battle_pass_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[9] = list[i];
	return child_ctx;
}

// (65:12) {#if $currentPage !== MenuIds.Preview}
function battle_pass_index_svelte_create_if_block_1(ctx) {
	let div;
	let each_value = Object.values(MenuIds);
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = battle_pass_index_svelte_create_each_block(battle_pass_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "battle-pass__navigation-menu");
			toggle_class(div, "battle-pass__navigation-menu--disabled", /*$rouletteActive*/ ctx[1]);
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}
		},
		p(ctx, dirty) {
			if (dirty & /*$currentPage, Object, MenuIds, selectPage, MAP_MENU_ID_TO_TITLE, MAP_MENU_ID_TO_ICON, MAP_MENU_ID_TO_VISIBILITY*/ 17) {
				each_value = Object.values(MenuIds);
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = battle_pass_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = battle_pass_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if (dirty & /*$rouletteActive*/ 2) {
				toggle_class(div, "battle-pass__navigation-menu--disabled", /*$rouletteActive*/ ctx[1]);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (71:24) {#if MAP_MENU_ID_TO_VISIBILITY[menuId]}
function battle_pass_index_svelte_create_if_block_2(ctx) {
	let div1;
	let i;
	let i_class_value;
	let t0;
	let div0;
	let t1_value = constants_MAP_MENU_ID_TO_TITLE[/*menuId*/ ctx[9]] + "";
	let t1;
	let t2;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[6](/*menuId*/ ctx[9]);
	}

	return {
		c() {
			div1 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(i, "class", i_class_value = "battle-pass__navigation-menu-item-icon " + constants_MAP_MENU_ID_TO_ICON[/*menuId*/ ctx[9]]);
			attr(div0, "class", "battle-pass__navigation-menu-item-title");
			attr(div1, "class", "battle-pass__navigation-menu-item");
			toggle_class(div1, "battle-pass__navigation-menu-item--active", /*$currentPage*/ ctx[0] === /*menuId*/ ctx[9]);
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, i);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
			append(div1, t2);

			if (!mounted) {
				dispose = listen(div1, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*$currentPage, Object, MenuIds*/ 1) {
				toggle_class(div1, "battle-pass__navigation-menu-item--active", /*$currentPage*/ ctx[0] === /*menuId*/ ctx[9]);
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			mounted = false;
			dispose();
		}
	};
}

// (70:20) {#each Object.values(MenuIds) as menuId}
function battle_pass_index_svelte_create_each_block(ctx) {
	let if_block_anchor;
	let if_block = MAP_MENU_ID_TO_VISIBILITY[/*menuId*/ ctx[9]] && battle_pass_index_svelte_create_if_block_2(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
		},
		p(ctx, dirty) {
			if (MAP_MENU_ID_TO_VISIBILITY[/*menuId*/ ctx[9]]) if_block.p(ctx, dirty);
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

// (86:12) {#if $currentPage !== MenuIds.Preview}
function battle_pass_index_svelte_create_if_block(ctx) {
	let div3;
	let div0;
	let t0;
	let div2;
	let div1;
	let t1_value = formatMoney(/*$battlePassData*/ ctx[3].passCoins) + "";
	let t1;
	let t2;
	let img0;
	let img0_src_value;
	let t3;
	let div7;
	let div4;
	let t4;
	let div6;
	let div5;
	let t5_value = `${formatMoney(/*$battlePassData*/ ctx[3].azCoins)} AZ` + "";
	let t5;
	let t6;
	let img1;
	let img1_src_value;
	let mounted;
	let dispose;

	return {
		c() {
			div3 = internal_element("div");
			div0 = internal_element("div");
			div0.innerHTML = `<i class="battle-pass__pass-coins-icon icon-add"></i>`;
			t0 = space();
			div2 = internal_element("div");
			div1 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			img0 = internal_element("img");
			t3 = space();
			div7 = internal_element("div");
			div4 = internal_element("div");
			div4.innerHTML = `<i class="battle-pass__pass-coins-icon icon-add"></i>`;
			t4 = space();
			div6 = internal_element("div");
			div5 = internal_element("div");
			t5 = internal_text(t5_value);
			t6 = space();
			img1 = internal_element("img");
			attr(div0, "class", "battle-pass__pass-coins-add");
			attr(div1, "class", "battle-pass__pass-coins-value");
			if (!src_url_equal(img0.src, img0_src_value = icon_bpoints_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "pass-coins");
			attr(div2, "class", "battle-pass__pass-coins-value-wrapper");
			attr(div3, "class", "battle-pass__pass-coins");
			attr(div4, "class", "battle-pass__pass-coins-add");
			attr(div5, "class", "battle-pass__pass-coins-value");
			if (!src_url_equal(img1.src, img1_src_value = img_az_coin_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "pass-coins");
			attr(div6, "class", "battle-pass__pass-coins-value-wrapper");
			attr(div7, "class", "battle-pass__pass-coins");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div0);
			append(div3, t0);
			append(div3, div2);
			append(div2, div1);
			append(div1, t1);
			append(div2, t2);
			append(div2, img0);
			insert(target, t3, anchor);
			insert(target, div7, anchor);
			append(div7, div4);
			append(div7, t4);
			append(div7, div6);
			append(div6, div5);
			append(div5, t5);
			append(div6, t6);
			append(div6, img1);

			if (!mounted) {
				dispose = [
					listen(div0, "click", /*click_handler_1*/ ctx[7]),
					listen(div4, "click", /*click_handler_2*/ ctx[8])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*$battlePassData*/ 8 && t1_value !== (t1_value = formatMoney(/*$battlePassData*/ ctx[3].passCoins) + "")) set_data(t1, t1_value);
			if (dirty & /*$battlePassData*/ 8 && t5_value !== (t5_value = `${formatMoney(/*$battlePassData*/ ctx[3].azCoins)} AZ` + "")) set_data(t5, t5_value);
		},
		d(detaching) {
			if (detaching) detach(div3);
			if (detaching) detach(t3);
			if (detaching) detach(div7);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function battle_pass_index_svelte_create_fragment(ctx) {
	let link0;
	let link1;
	let link2;
	let link3;
	let t0;
	let div4;
	let div2;
	let div0;
	let t1;
	let div1;
	let t2;
	let actionbutton;
	let t3;
	let div3;
	let switch_instance;
	let current;
	let if_block0 = /*$currentPage*/ ctx[0] !== MenuIds.Preview && battle_pass_index_svelte_create_if_block_1(ctx);
	let if_block1 = /*$currentPage*/ ctx[0] !== MenuIds.Preview && battle_pass_index_svelte_create_if_block(ctx);

	actionbutton = new index_svelte({
			props: {
				onPress: /*exit*/ ctx[5],
				keyTitle: "Esc",
				postActionTitle: "Закрыть",
				keyCode: ESCAPE_BUTTON_CODE
			}
		});

	var switch_value = routs_MAP_MENU_ID_TO_COMPONENT[/*$currentPage*/ ctx[0]];

	function switch_props(ctx) {
		return {};
	}

	if (switch_value) {
		switch_instance = new switch_value(switch_props(ctx));
	}

	return {
		c() {
			link0 = internal_element("link");
			link1 = internal_element("link");
			link2 = internal_element("link");
			link3 = internal_element("link");
			t0 = space();
			div4 = internal_element("div");
			div2 = internal_element("div");
			div0 = internal_element("div");
			if (if_block0) if_block0.c();
			t1 = space();
			div1 = internal_element("div");
			if (if_block1) if_block1.c();
			t2 = space();
			create_component(actionbutton.$$.fragment);
			t3 = space();
			div3 = internal_element("div");
			if (switch_instance) create_component(switch_instance.$$.fragment);
			attr(link0, "rel", "preload");
			attr(link0, "as", "image");
			attr(link0, "href", bg_preview_namespaceObject);
			attr(link1, "rel", "preload");
			attr(link1, "as", "image");
			attr(link1, "href", bg_main_namespaceObject);
			attr(link2, "rel", "preload");
			attr(link2, "as", "image");
			attr(link2, "href", bg_quests_namespaceObject);
			attr(link3, "rel", "preload");
			attr(link3, "as", "image");
			attr(link3, "href", bg_roulette_namespaceObject);
			attr(div0, "class", "battle-pass__header-left-side");
			attr(div1, "class", "battle-pass__header-right-side");
			attr(div2, "class", "battle-pass__header");
			attr(div3, "class", "battle-pass__content");
			attr(div4, "class", "battle-pass");

			set_style(div4, "--bg", `url(${MAP_MENU_TO_BG[/*$selectedRouletteType*/ ctx[2] < 0
			? /*$currentPage*/ ctx[0]
			: MenuIds.SlotMachine]})`);

			toggle_class(div4, "battle-pass--premium-opened", /*$currentPage*/ ctx[0] === MenuIds.PurchasePremium);
			toggle_class(div4, "battle-pass--preview", /*$currentPage*/ ctx[0] === MenuIds.Preview);
		},
		m(target, anchor) {
			append(document.head, link0);
			append(document.head, link1);
			append(document.head, link2);
			append(document.head, link3);
			insert(target, t0, anchor);
			insert(target, div4, anchor);
			append(div4, div2);
			append(div2, div0);
			if (if_block0) if_block0.m(div0, null);
			append(div2, t1);
			append(div2, div1);
			if (if_block1) if_block1.m(div1, null);
			append(div1, t2);
			mount_component(actionbutton, div1, null);
			append(div4, t3);
			append(div4, div3);

			if (switch_instance) {
				mount_component(switch_instance, div3, null);
			}

			current = true;
		},
		p(ctx, [dirty]) {
			if (/*$currentPage*/ ctx[0] !== MenuIds.Preview) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = battle_pass_index_svelte_create_if_block_1(ctx);
					if_block0.c();
					if_block0.m(div0, null);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (/*$currentPage*/ ctx[0] !== MenuIds.Preview) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = battle_pass_index_svelte_create_if_block(ctx);
					if_block1.c();
					if_block1.m(div1, t2);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (switch_value !== (switch_value = routs_MAP_MENU_ID_TO_COMPONENT[/*$currentPage*/ ctx[0]])) {
				if (switch_instance) {
					group_outros();
					const old_component = switch_instance;

					transition_out(old_component.$$.fragment, 1, 0, () => {
						destroy_component(old_component, 1);
					});

					check_outros();
				}

				if (switch_value) {
					switch_instance = new switch_value(switch_props(ctx));
					create_component(switch_instance.$$.fragment);
					transition_in(switch_instance.$$.fragment, 1);
					mount_component(switch_instance, div3, null);
				} else {
					switch_instance = null;
				}
			} else if (switch_value) {
				
			}

			if (!current || dirty & /*$selectedRouletteType, $currentPage*/ 5) {
				set_style(div4, "--bg", `url(${MAP_MENU_TO_BG[/*$selectedRouletteType*/ ctx[2] < 0
				? /*$currentPage*/ ctx[0]
				: MenuIds.SlotMachine]})`);
			}

			if (dirty & /*$currentPage, MenuIds*/ 1) {
				toggle_class(div4, "battle-pass--premium-opened", /*$currentPage*/ ctx[0] === MenuIds.PurchasePremium);
			}

			if (dirty & /*$currentPage, MenuIds*/ 1) {
				toggle_class(div4, "battle-pass--preview", /*$currentPage*/ ctx[0] === MenuIds.Preview);
			}
		},
		i(local) {
			if (current) return;
			transition_in(actionbutton.$$.fragment, local);
			if (switch_instance) transition_in(switch_instance.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(actionbutton.$$.fragment, local);
			if (switch_instance) transition_out(switch_instance.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			detach(link0);
			detach(link1);
			detach(link2);
			detach(link3);
			if (detaching) detach(t0);
			if (detaching) detach(div4);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			destroy_component(actionbutton);
			if (switch_instance) destroy_component(switch_instance);
		}
	};
}

function battle_pass_index_svelte_instance($$self, $$props, $$invalidate) {
	let $currentPage;
	let $rouletteActive;
	let $selectedRouletteType;
	let $battlePassData;
	component_subscribe($$self, currentPage, $$value => $$invalidate(0, $currentPage = $$value));
	component_subscribe($$self, rouletteActive, $$value => $$invalidate(1, $rouletteActive = $$value));
	component_subscribe($$self, selectedRouletteType, $$value => $$invalidate(2, $selectedRouletteType = $$value));
	component_subscribe($$self, battlePassData, $$value => $$invalidate(3, $battlePassData = $$value));
	set_store_value(currentPage, $currentPage = MenuIds.Main, $currentPage);

	const selectPage = pageId => {
		if ($rouletteActive) {
			return;
		}

		sendClientMessage('battlePass.menu.changePage', pageId);
		set_store_value(currentPage, $currentPage = pageId, $currentPage);
	};

	const exit = () => sendClientMessage('battlePass.exit');
	const click_handler = menuId => selectPage(menuId);
	const click_handler_1 = () => selectPage(MenuIds.Donate);
	const click_handler_2 = () => sendClientMessage('battlePass.main.openDonate');

	return [
		$currentPage,
		$rouletteActive,
		$selectedRouletteType,
		$battlePassData,
		selectPage,
		exit,
		click_handler,
		click_handler_1,
		click_handler_2
	];
}

class Battle_pass extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, battle_pass_index_svelte_instance, battle_pass_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const battle_pass_index_svelte = (Battle_pass);
;// CONCATENATED MODULE: ./src/views/shooting-range/skills/img/shooting-range-logo.png
const shooting_range_logo_namespaceObject = __webpack_require__.p + "assets/7b23262feba3b45f87e3.webp";
;// CONCATENATED MODULE: ./src/views/shooting-range/skills/img/shooting-range-left-logo.png
const shooting_range_left_logo_namespaceObject = __webpack_require__.p + "assets/43d6f1a503fd9cd1f817.webp";
;// CONCATENATED MODULE: ./src/views/shooting-range/skills/img/shooting-range-line.svg
const shooting_range_line_namespaceObject = __webpack_require__.p + "assets/a40995412663bcf80338.svg";
;// CONCATENATED MODULE: ./src/views/shooting-range/img/background.png
const background_namespaceObject = __webpack_require__.p + "assets/d0a31ae31e1fd79e1b8f.webp";
;// CONCATENATED MODULE: ./src/views/shooting-range/skills/img/complete.png
const complete_namespaceObject = __webpack_require__.p + "assets/6738878577e56f25a320.webp";
;// CONCATENATED MODULE: ./src/views/shooting-range/skills/index.svelte
/* src\views\shooting-range\skills\index.svelte generated by Svelte v3.49.0 */







// import { WEAPONS_SKILL_MOCK } from './mocks';







function skills_index_svelte_add_css(target) {
	append_styles(target, "svelte-1cr7cs2", "@keyframes svelte-1cr7cs2-blinking{50%{opacity:0}}@keyframes svelte-1cr7cs2-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1cr7cs2-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1cr7cs2-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1cr7cs2-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1cr7cs2-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1cr7cs2-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1cr7cs2-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1cr7cs2-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1cr7cs2-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1cr7cs2-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1cr7cs2-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1cr7cs2-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1cr7cs2-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1cr7cs2-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.shooting-range.svelte-1cr7cs2.svelte-1cr7cs2{display:flex;align-items:center;justify-content:center;position:relative;width:100vw;height:100vh;background:rgba(32, 39, 49, 0.9)}.shooting-range.svelte-1cr7cs2.svelte-1cr7cs2::after{content:\"\";pointer-events:none;position:absolute;transform:rotate(75deg);background:radial-gradient(49.98% 50.07% at 49.98% 50.13%, rgba(255, 242, 209, 0.5) 0%, rgba(255, 213, 173, 0.5) 22.4%, rgba(0, 0, 0, 0) 100%);bottom:calc(-0.7291666667 * 100vw + 0px);width:calc(1.35234375 * 100vw + 0px);height:calc(1.1525364583 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range.svelte-1cr7cs2.svelte-1cr7cs2::after{bottom:calc(-0.7291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range.svelte-1cr7cs2.svelte-1cr7cs2::after{bottom:calc(-0.7291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range.svelte-1cr7cs2.svelte-1cr7cs2::after{bottom:calc(-0.5614583333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range.svelte-1cr7cs2.svelte-1cr7cs2::after{bottom:calc(-0.8020833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range.svelte-1cr7cs2.svelte-1cr7cs2::after{bottom:calc(-0.5104166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range.svelte-1cr7cs2.svelte-1cr7cs2::after{bottom:calc(-0.65625 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range.svelte-1cr7cs2.svelte-1cr7cs2::after{bottom:calc(-0.8020833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range.svelte-1cr7cs2.svelte-1cr7cs2::after{width:calc(1.35234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range.svelte-1cr7cs2.svelte-1cr7cs2::after{width:calc(1.35234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range.svelte-1cr7cs2.svelte-1cr7cs2::after{width:calc(1.0413046875 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range.svelte-1cr7cs2.svelte-1cr7cs2::after{width:calc(1.487578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range.svelte-1cr7cs2.svelte-1cr7cs2::after{width:calc(0.946640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range.svelte-1cr7cs2.svelte-1cr7cs2::after{width:calc(1.217109375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range.svelte-1cr7cs2.svelte-1cr7cs2::after{width:calc(1.487578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range.svelte-1cr7cs2.svelte-1cr7cs2::after{height:calc(1.1525364583 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range.svelte-1cr7cs2.svelte-1cr7cs2::after{height:calc(1.1525364583 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range.svelte-1cr7cs2.svelte-1cr7cs2::after{height:calc(0.8874530729 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range.svelte-1cr7cs2.svelte-1cr7cs2::after{height:calc(1.2677901042 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range.svelte-1cr7cs2.svelte-1cr7cs2::after{height:calc(0.8067755208 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range.svelte-1cr7cs2.svelte-1cr7cs2::after{height:calc(1.0372828125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range.svelte-1cr7cs2.svelte-1cr7cs2::after{height:calc(1.2677901042 * 100vw + 0px)}}.shooting-range__logo-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{display:flex;align-items:center;position:absolute;top:calc(0.0203125 * 100vw + 0px);left:calc(0.0348958333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range__logo-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{top:calc(0.0203125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range__logo-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{top:calc(0.0203125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range__logo-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{top:calc(0.015640625 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range__logo-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{top:calc(0.02234375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range__logo-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{top:calc(0.01421875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range__logo-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{top:calc(0.01828125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range__logo-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{top:calc(0.02234375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range__logo-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{left:calc(0.0348958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range__logo-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{left:calc(0.0348958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range__logo-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{left:calc(0.0268697917 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range__logo-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{left:calc(0.0383854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range__logo-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{left:calc(0.0244270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range__logo-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{left:calc(0.03140625 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range__logo-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{left:calc(0.0383854167 * 100vw + 0px)}}.shooting-range__logo.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.0677083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range__logo.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.0677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range__logo.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.0677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range__logo.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.0521354167 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range__logo.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.0744791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range__logo.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.0473958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range__logo.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.0609375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range__logo.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.0744791667 * 100vw + 0px)}}.shooting-range__logo-title.svelte-1cr7cs2.svelte-1cr7cs2{display:flex;flex-direction:column;font-family:\"GothamPro-Bold\";color:#FFFFFF;font-size:calc(0.025 * 100vw + 0px);line-height:calc(0.0239583333 * 100vw + 0px);margin-left:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range__logo-title.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range__logo-title.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range__logo-title.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range__logo-title.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range__logo-title.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range__logo-title.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range__logo-title.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.0275 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range__logo-title.svelte-1cr7cs2.svelte-1cr7cs2{line-height:calc(0.0239583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range__logo-title.svelte-1cr7cs2.svelte-1cr7cs2{line-height:calc(0.0239583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range__logo-title.svelte-1cr7cs2.svelte-1cr7cs2{line-height:calc(0.0184479167 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range__logo-title.svelte-1cr7cs2.svelte-1cr7cs2{line-height:calc(0.0263541667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range__logo-title.svelte-1cr7cs2.svelte-1cr7cs2{line-height:calc(0.0167708333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range__logo-title.svelte-1cr7cs2.svelte-1cr7cs2{line-height:calc(0.0215625 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range__logo-title.svelte-1cr7cs2.svelte-1cr7cs2{line-height:calc(0.0263541667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range__logo-title.svelte-1cr7cs2.svelte-1cr7cs2{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range__logo-title.svelte-1cr7cs2.svelte-1cr7cs2{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range__logo-title.svelte-1cr7cs2.svelte-1cr7cs2{margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range__logo-title.svelte-1cr7cs2.svelte-1cr7cs2{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range__logo-title.svelte-1cr7cs2.svelte-1cr7cs2{margin-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range__logo-title.svelte-1cr7cs2.svelte-1cr7cs2{margin-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range__logo-title.svelte-1cr7cs2.svelte-1cr7cs2{margin-left:calc(0.0057291667 * 100vw + 0px)}}.shooting-range__logo-title--thin.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.0125 * 100vw + 0px);line-height:calc(0.0119791667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range__logo-title--thin.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range__logo-title--thin.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range__logo-title--thin.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range__logo-title--thin.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range__logo-title--thin.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range__logo-title--thin.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range__logo-title--thin.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range__logo-title--thin.svelte-1cr7cs2.svelte-1cr7cs2{line-height:calc(0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range__logo-title--thin.svelte-1cr7cs2.svelte-1cr7cs2{line-height:calc(0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range__logo-title--thin.svelte-1cr7cs2.svelte-1cr7cs2{line-height:calc(0.0092239583 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range__logo-title--thin.svelte-1cr7cs2.svelte-1cr7cs2{line-height:calc(0.0131770833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range__logo-title--thin.svelte-1cr7cs2.svelte-1cr7cs2{line-height:calc(0.0083854167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range__logo-title--thin.svelte-1cr7cs2.svelte-1cr7cs2{line-height:calc(0.01078125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range__logo-title--thin.svelte-1cr7cs2.svelte-1cr7cs2{line-height:calc(0.0131770833 * 100vw + 0px)}}.shooting-range__left-logo.svelte-1cr7cs2.svelte-1cr7cs2{z-index:2;position:absolute;bottom:0;left:0;height:calc(0.4947916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range__left-logo.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.4947916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range__left-logo.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.4947916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range__left-logo.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.3809895833 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range__left-logo.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.5442708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range__left-logo.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.3463541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range__left-logo.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.4453125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range__left-logo.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.5442708333 * 100vw + 0px)}}.shooting-range__background.svelte-1cr7cs2.svelte-1cr7cs2{z-index:-1;width:100%;height:100%}.shooting-range__line-background.svelte-1cr7cs2.svelte-1cr7cs2{position:absolute;left:calc(0.4515625 * 100vw + 0px);height:calc(0.5015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range__line-background.svelte-1cr7cs2.svelte-1cr7cs2{left:calc(0.4515625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range__line-background.svelte-1cr7cs2.svelte-1cr7cs2{left:calc(0.4515625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range__line-background.svelte-1cr7cs2.svelte-1cr7cs2{left:calc(0.347703125 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range__line-background.svelte-1cr7cs2.svelte-1cr7cs2{left:calc(0.49671875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range__line-background.svelte-1cr7cs2.svelte-1cr7cs2{left:calc(0.31609375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range__line-background.svelte-1cr7cs2.svelte-1cr7cs2{left:calc(0.40640625 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range__line-background.svelte-1cr7cs2.svelte-1cr7cs2{left:calc(0.49671875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range__line-background.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.5015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range__line-background.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.5015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range__line-background.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.386203125 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range__line-background.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.55171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range__line-background.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.35109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range__line-background.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.45140625 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range__line-background.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.55171875 * 100vw + 0px)}}.shooting-range__body-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{position:absolute;z-index:2;top:calc(0.053125 * 100vw + 0px);right:calc(0.03125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range__body-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{top:calc(0.053125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range__body-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{top:calc(0.053125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range__body-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{top:calc(0.04090625 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range__body-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{top:calc(0.0584375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range__body-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{top:calc(0.0371875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range__body-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{top:calc(0.0478125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range__body-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{top:calc(0.0584375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range__body-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{right:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range__body-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{right:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range__body-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{right:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range__body-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{right:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range__body-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{right:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range__body-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{right:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range__body-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{right:calc(0.034375 * 100vw + 0px)}}.shooting-range__body.svelte-1cr7cs2.svelte-1cr7cs2{display:flex;flex-wrap:wrap;gap:calc(0.0005208333 * 100vw + 0px);width:calc(0.4776041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range__body.svelte-1cr7cs2.svelte-1cr7cs2{gap:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range__body.svelte-1cr7cs2.svelte-1cr7cs2{gap:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range__body.svelte-1cr7cs2.svelte-1cr7cs2{gap:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range__body.svelte-1cr7cs2.svelte-1cr7cs2{gap:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range__body.svelte-1cr7cs2.svelte-1cr7cs2{gap:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range__body.svelte-1cr7cs2.svelte-1cr7cs2{gap:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range__body.svelte-1cr7cs2.svelte-1cr7cs2{gap:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range__body.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.4776041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range__body.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.4776041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range__body.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.3677552083 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range__body.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.5253645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range__body.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.3343229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range__body.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.42984375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range__body.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.5253645833 * 100vw + 0px)}}.shooting-range__body-title.svelte-1cr7cs2.svelte-1cr7cs2{color:#FFFFFF;font-family:\"GothamPro-Medium\";font-size:calc(0.0166666667 * 100vw + 0px);margin-bottom:calc(0.0208333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range__body-title.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range__body-title.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range__body-title.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range__body-title.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range__body-title.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range__body-title.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range__body-title.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range__body-title.svelte-1cr7cs2.svelte-1cr7cs2{margin-bottom:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range__body-title.svelte-1cr7cs2.svelte-1cr7cs2{margin-bottom:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range__body-title.svelte-1cr7cs2.svelte-1cr7cs2{margin-bottom:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range__body-title.svelte-1cr7cs2.svelte-1cr7cs2{margin-bottom:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range__body-title.svelte-1cr7cs2.svelte-1cr7cs2{margin-bottom:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range__body-title.svelte-1cr7cs2.svelte-1cr7cs2{margin-bottom:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range__body-title.svelte-1cr7cs2.svelte-1cr7cs2{margin-bottom:calc(0.0229166667 * 100vw + 0px)}}.shooting-range__body-title--decorative.svelte-1cr7cs2.svelte-1cr7cs2{color:#F2C94C}.shooting-range__body-item.svelte-1cr7cs2.svelte-1cr7cs2{display:flex;flex-direction:column;background:rgba(0, 0, 0, 0.4);transition:background 0.2s linear;width:calc(0.2385416667 * 100vw + 0px);height:calc(0.1447916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range__body-item.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.2385416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range__body-item.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.2385416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range__body-item.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.1836770833 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range__body-item.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.2623958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range__body-item.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.1669791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range__body-item.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.2146875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range__body-item.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.2623958333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range__body-item.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.1447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range__body-item.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.1447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range__body-item.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.1114895833 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range__body-item.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.1592708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range__body-item.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.1013541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range__body-item.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.1303125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range__body-item.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.1592708333 * 100vw + 0px)}}.shooting-range__body-item.svelte-1cr7cs2.svelte-1cr7cs2:hover{border-bottom:2px solid #F2C94C;background:linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%), radial-gradient(114.21% 114.21% at 50% 100%, rgba(0, 0, 0, 0.2) 0%, rgba(242, 201, 76, 0.2) 0.01%, rgba(242, 201, 76, 0) 100%), rgba(0, 0, 0, 0.6)}.shooting-range__body-item.svelte-1cr7cs2:hover .shooting-range__item-img.svelte-1cr7cs2{color:#F2C94C}.shooting-range__item-img-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{display:flex;justify-content:center;height:calc(0.0729166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range__item-img-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range__item-img-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range__item-img-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.0561458333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range__item-img-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range__item-img-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.0510416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range__item-img-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.065625 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range__item-img-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.0802083333 * 100vw + 0px)}}.shooting-range__item-img.svelte-1cr7cs2.svelte-1cr7cs2{color:rgba(255, 255, 255, 0.5);transition:color 0.2s linear;margin-top:calc(0.0182291667 * 100vw + 0px);font-size:calc(0.0588541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range__item-img.svelte-1cr7cs2.svelte-1cr7cs2{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range__item-img.svelte-1cr7cs2.svelte-1cr7cs2{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range__item-img.svelte-1cr7cs2.svelte-1cr7cs2{margin-top:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range__item-img.svelte-1cr7cs2.svelte-1cr7cs2{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range__item-img.svelte-1cr7cs2.svelte-1cr7cs2{margin-top:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range__item-img.svelte-1cr7cs2.svelte-1cr7cs2{margin-top:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range__item-img.svelte-1cr7cs2.svelte-1cr7cs2{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range__item-img.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.0588541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range__item-img.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.0588541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range__item-img.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.0453177083 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range__item-img.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.0647395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range__item-img.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.0411979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range__item-img.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.05296875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range__item-img.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.0647395833 * 100vw + 0px)}}.shooting-range__item-title-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{display:flex;align-items:center;justify-content:space-between;margin-top:calc(0.0416666667 * 100vw + 0px);margin-left:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range__item-title-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{margin-top:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range__item-title-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{margin-top:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range__item-title-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{margin-top:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range__item-title-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{margin-top:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range__item-title-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{margin-top:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range__item-title-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{margin-top:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range__item-title-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{margin-top:calc(0.0458333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range__item-title-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{margin-left:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range__item-title-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{margin-left:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range__item-title-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{margin-left:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range__item-title-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{margin-left:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range__item-title-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{margin-left:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range__item-title-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{margin-left:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range__item-title-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{margin-left:calc(0.0171875 * 100vw + 0px)}}.shooting-range__item-title.svelte-1cr7cs2.svelte-1cr7cs2{font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range__item-title.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range__item-title.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range__item-title.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range__item-title.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range__item-title.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range__item-title.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range__item-title.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.0114583333 * 100vw + 0px)}}.shooting-range__item-percents-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{display:flex;align-items:center;justify-content:center;border:1px solid rgba(255, 255, 255, 0.2);border-radius:calc(0.0041666667 * 100vw + 0px);width:calc(0.0307291667 * 100vw + 0px);height:calc(0.0192708333 * 100vw + 0px);margin-right:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range__item-percents-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range__item-percents-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range__item-percents-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range__item-percents-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range__item-percents-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range__item-percents-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range__item-percents-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range__item-percents-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.0307291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range__item-percents-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.0307291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range__item-percents-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.0236614583 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range__item-percents-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.0338020833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range__item-percents-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.0215104167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range__item-percents-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.02765625 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range__item-percents-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.0338020833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range__item-percents-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.0192708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range__item-percents-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.0192708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range__item-percents-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.0148385417 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range__item-percents-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.0211979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range__item-percents-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.0134895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range__item-percents-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.01734375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range__item-percents-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.0211979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range__item-percents-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range__item-percents-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range__item-percents-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{margin-right:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range__item-percents-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{margin-right:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range__item-percents-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{margin-right:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range__item-percents-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{margin-right:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range__item-percents-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{margin-right:calc(0.0091666667 * 100vw + 0px)}}.shooting-range__item-percents.svelte-1cr7cs2.svelte-1cr7cs2{color:#FFFFFF;font-family:\"GothamPro-Bold\";font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range__item-percents.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range__item-percents.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range__item-percents.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range__item-percents.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range__item-percents.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range__item-percents.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range__item-percents.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.0103125 * 100vw + 0px)}}.shooting-range__item-complete-img-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{display:flex;align-items:center;justify-content:center;width:calc(0.0307291667 * 100vw + 0px);height:calc(0.0192708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range__item-complete-img-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.0307291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range__item-complete-img-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.0307291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range__item-complete-img-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.0236614583 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range__item-complete-img-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.0338020833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range__item-complete-img-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.0215104167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range__item-complete-img-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.02765625 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range__item-complete-img-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.0338020833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range__item-complete-img-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.0192708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range__item-complete-img-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.0192708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range__item-complete-img-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.0148385417 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range__item-complete-img-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.0211979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range__item-complete-img-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.0134895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range__item-complete-img-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.01734375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range__item-complete-img-wrapper.svelte-1cr7cs2.svelte-1cr7cs2{height:calc(0.0211979167 * 100vw + 0px)}}.shooting-range__item-complete-img.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.0135416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range__item-complete-img.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range__item-complete-img.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range__item-complete-img.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.0104270833 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range__item-complete-img.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.0148958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range__item-complete-img.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.0094791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range__item-complete-img.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.0121875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range__item-complete-img.svelte-1cr7cs2.svelte-1cr7cs2{width:calc(0.0148958333 * 100vw + 0px)}}.icon-assault-rifle.svelte-1cr7cs2.svelte-1cr7cs2,.icon-sniper-rifle.svelte-1cr7cs2.svelte-1cr7cs2,.icon-shotgun.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.109375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.icon-assault-rifle.svelte-1cr7cs2.svelte-1cr7cs2,.icon-sniper-rifle.svelte-1cr7cs2.svelte-1cr7cs2,.icon-shotgun.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.icon-assault-rifle.svelte-1cr7cs2.svelte-1cr7cs2,.icon-sniper-rifle.svelte-1cr7cs2.svelte-1cr7cs2,.icon-shotgun.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.icon-assault-rifle.svelte-1cr7cs2.svelte-1cr7cs2,.icon-sniper-rifle.svelte-1cr7cs2.svelte-1cr7cs2,.icon-shotgun.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.08421875 * 100vw + 0px)}}@media(min-width: 3440px){.icon-assault-rifle.svelte-1cr7cs2.svelte-1cr7cs2,.icon-sniper-rifle.svelte-1cr7cs2.svelte-1cr7cs2,.icon-shotgun.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.icon-assault-rifle.svelte-1cr7cs2.svelte-1cr7cs2,.icon-sniper-rifle.svelte-1cr7cs2.svelte-1cr7cs2,.icon-shotgun.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.0765625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.icon-assault-rifle.svelte-1cr7cs2.svelte-1cr7cs2,.icon-sniper-rifle.svelte-1cr7cs2.svelte-1cr7cs2,.icon-shotgun.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.0984375 * 100vw + 0px)}}@media(min-width: 4096px){.icon-assault-rifle.svelte-1cr7cs2.svelte-1cr7cs2,.icon-sniper-rifle.svelte-1cr7cs2.svelte-1cr7cs2,.icon-shotgun.svelte-1cr7cs2.svelte-1cr7cs2{font-size:calc(0.1203125 * 100vw + 0px)}}");
}

function skills_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[6] = list[i];
	return child_ctx;
}

// (1693:24) {:else}
function skills_index_svelte_create_else_block(ctx) {
	let div;
	let img;
	let img_src_value;

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			attr(img, "class", "shooting-range__item-complete-img svelte-1cr7cs2");
			if (!src_url_equal(img.src, img_src_value = complete_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "complete");
			attr(div, "class", "shooting-range__item-complete-img-wrapper svelte-1cr7cs2");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1687:24) {#if skill.percents !== 100}
function skills_index_svelte_create_if_block(ctx) {
	let div;
	let p;
	let t0_value = /*skill*/ ctx[6].percents + "";
	let t0;
	let t1;

	return {
		c() {
			div = internal_element("div");
			p = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = internal_text("%");
			attr(p, "class", "shooting-range__item-percents svelte-1cr7cs2");
			attr(div, "class", "shooting-range__item-percents-wrapper svelte-1cr7cs2");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p);
			append(p, t0);
			append(p, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*currentSkillInformation*/ 1 && t0_value !== (t0_value = /*skill*/ ctx[6].percents + "")) set_data(t0, t0_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1675:12) {#each currentSkillInformation as skill}
function skills_index_svelte_create_each_block(ctx) {
	let div2;
	let div0;
	let p0;
	let p0_class_value;
	let t0;
	let div1;
	let p1;
	let t1_value = /*skill*/ ctx[6].title + "";
	let t1;
	let t2;
	let t3;
	let mounted;
	let dispose;

	function select_block_type(ctx, dirty) {
		if (/*skill*/ ctx[6].percents !== 100) return skills_index_svelte_create_if_block;
		return skills_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block = current_block_type(ctx);

	function click_handler() {
		return /*click_handler*/ ctx[3](/*skill*/ ctx[6]);
	}

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			p0 = internal_element("p");
			t0 = space();
			div1 = internal_element("div");
			p1 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			if_block.c();
			t3 = space();
			attr(p0, "class", p0_class_value = "shooting-range__item-img " + /*skill*/ ctx[6].icon + " svelte-1cr7cs2");
			attr(div0, "class", "shooting-range__item-img-wrapper svelte-1cr7cs2");
			attr(p1, "class", "shooting-range__item-title svelte-1cr7cs2");
			attr(div1, "class", "shooting-range__item-title-wrapper svelte-1cr7cs2");
			attr(div2, "class", "shooting-range__body-item svelte-1cr7cs2");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div0, p0);
			append(div2, t0);
			append(div2, div1);
			append(div1, p1);
			append(p1, t1);
			append(div1, t2);
			if_block.m(div1, null);
			append(div2, t3);

			if (!mounted) {
				dispose = listen(div2, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*currentSkillInformation*/ 1 && p0_class_value !== (p0_class_value = "shooting-range__item-img " + /*skill*/ ctx[6].icon + " svelte-1cr7cs2")) {
				attr(p0, "class", p0_class_value);
			}

			if (dirty & /*currentSkillInformation*/ 1 && t1_value !== (t1_value = /*skill*/ ctx[6].title + "")) set_data(t1, t1_value);

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div1, null);
				}
			}
		},
		d(detaching) {
			if (detaching) detach(div2);
			if_block.d();
			mounted = false;
			dispose();
		}
	};
}

function skills_index_svelte_create_fragment(ctx) {
	let div3;
	let exitbutton;
	let t0;
	let div0;
	let img0;
	let img0_src_value;
	let t1;
	let p0;
	let t4;
	let img1;
	let img1_src_value;
	let t5;
	let img2;
	let img2_src_value;
	let t6;
	let img3;
	let img3_src_value;
	let t7;
	let div2;
	let p1;
	let t10;
	let div1;
	let current;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[2],
				fixedPosition: true
			}
		});

	let each_value = /*currentSkillInformation*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = skills_index_svelte_create_each_block(skills_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div3 = internal_element("div");
			create_component(exitbutton.$$.fragment);
			t0 = space();
			div0 = internal_element("div");
			img0 = internal_element("img");
			t1 = space();
			p0 = internal_element("p");

			p0.innerHTML = `Восточный
            <span class="shooting-range__logo-title--thin svelte-1cr7cs2">тир</span>`;

			t4 = space();
			img1 = internal_element("img");
			t5 = space();
			img2 = internal_element("img");
			t6 = space();
			img3 = internal_element("img");
			t7 = space();
			div2 = internal_element("div");
			p1 = internal_element("p");

			p1.innerHTML = `<span class="shooting-range__body-title--decorative svelte-1cr7cs2">Выберите</span>
            оружие для прокачки`;

			t10 = space();
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(img0, "class", "shooting-range__logo svelte-1cr7cs2");
			if (!src_url_equal(img0.src, img0_src_value = shooting_range_logo_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "logo");
			attr(p0, "class", "shooting-range__logo-title svelte-1cr7cs2");
			attr(div0, "class", "shooting-range__logo-wrapper svelte-1cr7cs2");
			attr(img1, "class", "shooting-range__left-logo svelte-1cr7cs2");
			if (!src_url_equal(img1.src, img1_src_value = shooting_range_left_logo_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "logo");
			attr(img2, "class", "shooting-range__background svelte-1cr7cs2");
			if (!src_url_equal(img2.src, img2_src_value = background_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "background");
			attr(img3, "class", "shooting-range__line-background svelte-1cr7cs2");
			if (!src_url_equal(img3.src, img3_src_value = shooting_range_line_namespaceObject)) attr(img3, "src", img3_src_value);
			attr(img3, "alt", "line-background");
			attr(p1, "class", "shooting-range__body-title svelte-1cr7cs2");
			attr(div1, "class", "shooting-range__body svelte-1cr7cs2");
			attr(div2, "class", "shooting-range__body-wrapper svelte-1cr7cs2");
			attr(div3, "class", "shooting-range svelte-1cr7cs2");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			mount_component(exitbutton, div3, null);
			append(div3, t0);
			append(div3, div0);
			append(div0, img0);
			append(div0, t1);
			append(div0, p0);
			append(div3, t4);
			append(div3, img1);
			append(div3, t5);
			append(div3, img2);
			append(div3, t6);
			append(div3, img3);
			append(div3, t7);
			append(div3, div2);
			append(div2, p1);
			append(div2, t10);
			append(div2, div1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}

			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*selectWeapon, currentSkillInformation, CompleteImg*/ 3) {
				each_value = /*currentSkillInformation*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = skills_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = skills_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div1, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div3);
			destroy_component(exitbutton);
			destroy_each(each_blocks, detaching);
		}
	};
}

function skills_index_svelte_instance($$self, $$props, $$invalidate) {
	let currentSkillInformation = [];

	const selectWeapon = weaponId => {
		sendClientMessage('shootingRange.skills.selectWeapon', weaponId);
	};

	const initializeSkillInformation = currentSkillInformationDto => {
		$$invalidate(0, currentSkillInformation = currentSkillInformationDto);
	};

	const handleClose = () => {
		
	}; // exec close event

	const unregisterSkillInformationEvent = registerEvent('event.shootingRange.skills.initialize', initializeSkillInformation);

	onDestroy(() => {
		unregisterSkillInformationEvent();
	});

	const click_handler = skill => selectWeapon(skill.id);
	return [currentSkillInformation, selectWeapon, handleClose, click_handler];
}

class Skills extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, skills_index_svelte_instance, skills_index_svelte_create_fragment, safe_not_equal, {}, skills_index_svelte_add_css);
	}
}

/* harmony default export */ const skills_index_svelte = (Skills);
;// CONCATENATED MODULE: ./src/views/shooting-range/img/time-image.svg
const time_image_namespaceObject = __webpack_require__.p + "assets/6d0eba248b8f139c7a86.svg";
;// CONCATENATED MODULE: ./src/views/shooting-range/challenge/img/challenge-hat-background.svg
const challenge_hat_background_namespaceObject = __webpack_require__.p + "assets/421cbfaa5ba6659f1099.svg";
;// CONCATENATED MODULE: ./src/views/shooting-range/challenge/img/challenge-description-decorative.svg
const challenge_description_decorative_namespaceObject = __webpack_require__.p + "assets/363ac107d052b6ca00f3.svg";
;// CONCATENATED MODULE: ./src/views/shooting-range/challenge/img/challenge-logo.svg
const challenge_logo_namespaceObject = __webpack_require__.p + "assets/dc7cbb56889df3f5fcdc.svg";
;// CONCATENATED MODULE: ./src/views/shooting-range/challenge/img/challenge-card.png
const challenge_card_namespaceObject = __webpack_require__.p + "assets/a4656204314e4473053f.webp";
;// CONCATENATED MODULE: ./src/views/shooting-range/challenge/img/challenge-background-card.png
const challenge_background_card_namespaceObject = __webpack_require__.p + "assets/441a986e96409d3aac83.webp";
;// CONCATENATED MODULE: ./src/views/shooting-range/challenge/img/challenge-hat.svg
const challenge_hat_namespaceObject = __webpack_require__.p + "assets/4cb6a54de5f8b8e83df0.svg";
;// CONCATENATED MODULE: ./src/views/shooting-range/challenge/index.svelte
/* src\views\shooting-range\challenge\index.svelte generated by Svelte v3.49.0 */

















function challenge_index_svelte_add_css(target) {
	append_styles(target, "svelte-67bxcc", "@keyframes svelte-67bxcc-blinking{50%{opacity:0}}@keyframes svelte-67bxcc-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-67bxcc-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-67bxcc-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-67bxcc-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-67bxcc-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-67bxcc-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-67bxcc-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-67bxcc-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-67bxcc-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-67bxcc-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-67bxcc-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-67bxcc-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-67bxcc-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-67bxcc-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.shooting-range-challenge.svelte-67bxcc{display:flex;align-items:center;justify-content:center;position:relative;width:100vw;height:100vh;background:rgba(32, 39, 49, 0.9)}.shooting-range-challenge.svelte-67bxcc::after{content:\"\";pointer-events:none;position:absolute;transform:rotate(75deg);background:radial-gradient(49.98% 50.07% at 49.98% 50.13%, rgba(255, 242, 209, 0.5) 0%, rgba(255, 213, 173, 0.5) 22.4%, rgba(0, 0, 0, 0) 100%);bottom:calc(-0.7291666667 * 100vw + 0px);width:calc(1.35234375 * 100vw + 0px);height:calc(1.1525364583 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge.svelte-67bxcc::after{bottom:calc(-0.7291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge.svelte-67bxcc::after{bottom:calc(-0.7291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge.svelte-67bxcc::after{bottom:calc(-0.5614583333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge.svelte-67bxcc::after{bottom:calc(-0.8020833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge.svelte-67bxcc::after{bottom:calc(-0.5104166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge.svelte-67bxcc::after{bottom:calc(-0.65625 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge.svelte-67bxcc::after{bottom:calc(-0.8020833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge.svelte-67bxcc::after{width:calc(1.35234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge.svelte-67bxcc::after{width:calc(1.35234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge.svelte-67bxcc::after{width:calc(1.0413046875 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge.svelte-67bxcc::after{width:calc(1.487578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge.svelte-67bxcc::after{width:calc(0.946640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge.svelte-67bxcc::after{width:calc(1.217109375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge.svelte-67bxcc::after{width:calc(1.487578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge.svelte-67bxcc::after{height:calc(1.1525364583 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge.svelte-67bxcc::after{height:calc(1.1525364583 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge.svelte-67bxcc::after{height:calc(0.8874530729 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge.svelte-67bxcc::after{height:calc(1.2677901042 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge.svelte-67bxcc::after{height:calc(0.8067755208 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge.svelte-67bxcc::after{height:calc(1.0372828125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge.svelte-67bxcc::after{height:calc(1.2677901042 * 100vw + 0px)}}.shooting-range-challenge__background.svelte-67bxcc{z-index:-1;width:100%;height:100%}.shooting-range-challenge__left-background-wrapper.svelte-67bxcc{position:absolute;opacity:50%;left:calc(-0.0390625 * 100vw + 0px);bottom:calc(-0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__left-background-wrapper.svelte-67bxcc{left:calc(-0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__left-background-wrapper.svelte-67bxcc{left:calc(-0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__left-background-wrapper.svelte-67bxcc{left:calc(-0.030078125 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__left-background-wrapper.svelte-67bxcc{left:calc(-0.04296875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__left-background-wrapper.svelte-67bxcc{left:calc(-0.02734375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__left-background-wrapper.svelte-67bxcc{left:calc(-0.03515625 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__left-background-wrapper.svelte-67bxcc{left:calc(-0.04296875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__left-background-wrapper.svelte-67bxcc{bottom:calc(-0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__left-background-wrapper.svelte-67bxcc{bottom:calc(-0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__left-background-wrapper.svelte-67bxcc{bottom:calc(-0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__left-background-wrapper.svelte-67bxcc{bottom:calc(-0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__left-background-wrapper.svelte-67bxcc{bottom:calc(-0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__left-background-wrapper.svelte-67bxcc{bottom:calc(-0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__left-background-wrapper.svelte-67bxcc{bottom:calc(-0.0057291667 * 100vw + 0px)}}.shooting-range-challenge__left-background.svelte-67bxcc{width:calc(0.5229166667 * 100vw + 0px);height:calc(0.3338541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__left-background.svelte-67bxcc{width:calc(0.5229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__left-background.svelte-67bxcc{width:calc(0.5229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__left-background.svelte-67bxcc{width:calc(0.4026458333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__left-background.svelte-67bxcc{width:calc(0.5752083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__left-background.svelte-67bxcc{width:calc(0.3660416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__left-background.svelte-67bxcc{width:calc(0.470625 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__left-background.svelte-67bxcc{width:calc(0.5752083333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__left-background.svelte-67bxcc{height:calc(0.3338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__left-background.svelte-67bxcc{height:calc(0.3338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__left-background.svelte-67bxcc{height:calc(0.2570677083 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__left-background.svelte-67bxcc{height:calc(0.3672395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__left-background.svelte-67bxcc{height:calc(0.2336979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__left-background.svelte-67bxcc{height:calc(0.30046875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__left-background.svelte-67bxcc{height:calc(0.3672395833 * 100vw + 0px)}}.shooting-range-challenge__info-wrapper.svelte-67bxcc{z-index:1;position:absolute;top:calc(0.0901041667 * 100vw + 0px);left:calc(0.0291666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__info-wrapper.svelte-67bxcc{top:calc(0.0901041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__info-wrapper.svelte-67bxcc{top:calc(0.0901041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__info-wrapper.svelte-67bxcc{top:calc(0.0693802083 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__info-wrapper.svelte-67bxcc{top:calc(0.0991145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__info-wrapper.svelte-67bxcc{top:calc(0.0630729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__info-wrapper.svelte-67bxcc{top:calc(0.08109375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__info-wrapper.svelte-67bxcc{top:calc(0.0991145833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__info-wrapper.svelte-67bxcc{left:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__info-wrapper.svelte-67bxcc{left:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__info-wrapper.svelte-67bxcc{left:calc(0.0224583333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__info-wrapper.svelte-67bxcc{left:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__info-wrapper.svelte-67bxcc{left:calc(0.0204166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__info-wrapper.svelte-67bxcc{left:calc(0.02625 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__info-wrapper.svelte-67bxcc{left:calc(0.0320833333 * 100vw + 0px)}}.shooting-range-challenge__info-title.svelte-67bxcc{font-family:\"GothamPro-Bold\";color:#FFFFFF;font-size:calc(0.04375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__info-title.svelte-67bxcc{font-size:calc(0.04375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__info-title.svelte-67bxcc{font-size:calc(0.04375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__info-title.svelte-67bxcc{font-size:calc(0.0336875 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__info-title.svelte-67bxcc{font-size:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__info-title.svelte-67bxcc{font-size:calc(0.030625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__info-title.svelte-67bxcc{font-size:calc(0.039375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__info-title.svelte-67bxcc{font-size:calc(0.048125 * 100vw + 0px)}}.shooting-range-challenge__info-description-wrapper.svelte-67bxcc{display:flex;align-items:center;gap:calc(0.0052083333 * 100vw + 0px);margin-bottom:calc(0.0322916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__info-description-wrapper.svelte-67bxcc{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__info-description-wrapper.svelte-67bxcc{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__info-description-wrapper.svelte-67bxcc{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__info-description-wrapper.svelte-67bxcc{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__info-description-wrapper.svelte-67bxcc{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__info-description-wrapper.svelte-67bxcc{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__info-description-wrapper.svelte-67bxcc{gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__info-description-wrapper.svelte-67bxcc{margin-bottom:calc(0.0322916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__info-description-wrapper.svelte-67bxcc{margin-bottom:calc(0.0322916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__info-description-wrapper.svelte-67bxcc{margin-bottom:calc(0.0248645833 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__info-description-wrapper.svelte-67bxcc{margin-bottom:calc(0.0355208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__info-description-wrapper.svelte-67bxcc{margin-bottom:calc(0.0226041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__info-description-wrapper.svelte-67bxcc{margin-bottom:calc(0.0290625 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__info-description-wrapper.svelte-67bxcc{margin-bottom:calc(0.0355208333 * 100vw + 0px)}}.shooting-range-challenge__info-description-img.svelte-67bxcc{height:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__info-description-img.svelte-67bxcc{height:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__info-description-img.svelte-67bxcc{height:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__info-description-img.svelte-67bxcc{height:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__info-description-img.svelte-67bxcc{height:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__info-description-img.svelte-67bxcc{height:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__info-description-img.svelte-67bxcc{height:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__info-description-img.svelte-67bxcc{height:calc(0.01375 * 100vw + 0px)}}.shooting-range-challenge__info-description.svelte-67bxcc{font-family:\"GothamPro-Medium\";color:rgba(255, 255, 255, 0.5);font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__info-description.svelte-67bxcc{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__info-description.svelte-67bxcc{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__info-description.svelte-67bxcc{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__info-description.svelte-67bxcc{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__info-description.svelte-67bxcc{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__info-description.svelte-67bxcc{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__info-description.svelte-67bxcc{font-size:calc(0.0103125 * 100vw + 0px)}}.shooting-range-challenge__info.svelte-67bxcc{display:flex;gap:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__info.svelte-67bxcc{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__info.svelte-67bxcc{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__info.svelte-67bxcc{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__info.svelte-67bxcc{gap:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__info.svelte-67bxcc{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__info.svelte-67bxcc{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__info.svelte-67bxcc{gap:calc(0.0114583333 * 100vw + 0px)}}.shooting-range-challenge__info-challenge-title.svelte-67bxcc{font-family:\"GothamPro-Medium\";color:rgba(255, 255, 255, 0.8);font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__info-challenge-title.svelte-67bxcc{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__info-challenge-title.svelte-67bxcc{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__info-challenge-title.svelte-67bxcc{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__info-challenge-title.svelte-67bxcc{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__info-challenge-title.svelte-67bxcc{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__info-challenge-title.svelte-67bxcc{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__info-challenge-title.svelte-67bxcc{font-size:calc(0.01375 * 100vw + 0px)}}.shooting-range-challenge__info-challenge-body.svelte-67bxcc{display:flex;align-items:center;justify-content:center;background-color:rgba(0, 0, 0, 0.5);border-radius:calc(0.0041666667 * 100vw + 0px);margin-top:calc(0.0104166667 * 100vw + 0px);width:calc(0.1947916667 * 100vw + 0px);height:calc(0.0854166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__info-challenge-body.svelte-67bxcc{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__info-challenge-body.svelte-67bxcc{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__info-challenge-body.svelte-67bxcc{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__info-challenge-body.svelte-67bxcc{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__info-challenge-body.svelte-67bxcc{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__info-challenge-body.svelte-67bxcc{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__info-challenge-body.svelte-67bxcc{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__info-challenge-body.svelte-67bxcc{margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__info-challenge-body.svelte-67bxcc{margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__info-challenge-body.svelte-67bxcc{margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__info-challenge-body.svelte-67bxcc{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__info-challenge-body.svelte-67bxcc{margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__info-challenge-body.svelte-67bxcc{margin-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__info-challenge-body.svelte-67bxcc{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__info-challenge-body.svelte-67bxcc{width:calc(0.1947916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__info-challenge-body.svelte-67bxcc{width:calc(0.1947916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__info-challenge-body.svelte-67bxcc{width:calc(0.1499895833 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__info-challenge-body.svelte-67bxcc{width:calc(0.2142708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__info-challenge-body.svelte-67bxcc{width:calc(0.1363541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__info-challenge-body.svelte-67bxcc{width:calc(0.1753125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__info-challenge-body.svelte-67bxcc{width:calc(0.2142708333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__info-challenge-body.svelte-67bxcc{height:calc(0.0854166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__info-challenge-body.svelte-67bxcc{height:calc(0.0854166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__info-challenge-body.svelte-67bxcc{height:calc(0.0657708333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__info-challenge-body.svelte-67bxcc{height:calc(0.0939583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__info-challenge-body.svelte-67bxcc{height:calc(0.0597916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__info-challenge-body.svelte-67bxcc{height:calc(0.076875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__info-challenge-body.svelte-67bxcc{height:calc(0.0939583333 * 100vw + 0px)}}.shooting-range-challenge__info-challenge-img.svelte-67bxcc{height:calc(0.0375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__info-challenge-img.svelte-67bxcc{height:calc(0.0375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__info-challenge-img.svelte-67bxcc{height:calc(0.0375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__info-challenge-img.svelte-67bxcc{height:calc(0.028875 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__info-challenge-img.svelte-67bxcc{height:calc(0.04125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__info-challenge-img.svelte-67bxcc{height:calc(0.02625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__info-challenge-img.svelte-67bxcc{height:calc(0.03375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__info-challenge-img.svelte-67bxcc{height:calc(0.04125 * 100vw + 0px)}}.shooting-range-challenge__info-challenge-description-wrapper.svelte-67bxcc{margin-left:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__info-challenge-description-wrapper.svelte-67bxcc{margin-left:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__info-challenge-description-wrapper.svelte-67bxcc{margin-left:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__info-challenge-description-wrapper.svelte-67bxcc{margin-left:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__info-challenge-description-wrapper.svelte-67bxcc{margin-left:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__info-challenge-description-wrapper.svelte-67bxcc{margin-left:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__info-challenge-description-wrapper.svelte-67bxcc{margin-left:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__info-challenge-description-wrapper.svelte-67bxcc{margin-left:calc(0.0183333333 * 100vw + 0px)}}.shooting-range-challenge__info-challenge-description.svelte-67bxcc{font-family:\"GothamPro-Medium\";color:rgba(255, 255, 255, 0.8);font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__info-challenge-description.svelte-67bxcc{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__info-challenge-description.svelte-67bxcc{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__info-challenge-description.svelte-67bxcc{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__info-challenge-description.svelte-67bxcc{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__info-challenge-description.svelte-67bxcc{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__info-challenge-description.svelte-67bxcc{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__info-challenge-description.svelte-67bxcc{font-size:calc(0.0091666667 * 100vw + 0px)}}.shooting-range-challenge__info-challenge-time.svelte-67bxcc{display:flex;align-items:center;margin-top:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__info-challenge-time.svelte-67bxcc{margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__info-challenge-time.svelte-67bxcc{margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__info-challenge-time.svelte-67bxcc{margin-top:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__info-challenge-time.svelte-67bxcc{margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__info-challenge-time.svelte-67bxcc{margin-top:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__info-challenge-time.svelte-67bxcc{margin-top:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__info-challenge-time.svelte-67bxcc{margin-top:calc(0.0080208333 * 100vw + 0px)}}.shooting-range-challenge__info-challenge-time-img.svelte-67bxcc{width:calc(0.0145833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__info-challenge-time-img.svelte-67bxcc{width:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__info-challenge-time-img.svelte-67bxcc{width:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__info-challenge-time-img.svelte-67bxcc{width:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__info-challenge-time-img.svelte-67bxcc{width:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__info-challenge-time-img.svelte-67bxcc{width:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__info-challenge-time-img.svelte-67bxcc{width:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__info-challenge-time-img.svelte-67bxcc{width:calc(0.0160416667 * 100vw + 0px)}}.shooting-range-challenge__info-challenge-time-title.svelte-67bxcc{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0130208333 * 100vw + 0px);margin-left:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__info-challenge-time-title.svelte-67bxcc{font-size:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__info-challenge-time-title.svelte-67bxcc{font-size:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__info-challenge-time-title.svelte-67bxcc{font-size:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__info-challenge-time-title.svelte-67bxcc{font-size:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__info-challenge-time-title.svelte-67bxcc{font-size:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__info-challenge-time-title.svelte-67bxcc{font-size:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__info-challenge-time-title.svelte-67bxcc{font-size:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__info-challenge-time-title.svelte-67bxcc{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__info-challenge-time-title.svelte-67bxcc{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__info-challenge-time-title.svelte-67bxcc{margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__info-challenge-time-title.svelte-67bxcc{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__info-challenge-time-title.svelte-67bxcc{margin-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__info-challenge-time-title.svelte-67bxcc{margin-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__info-challenge-time-title.svelte-67bxcc{margin-left:calc(0.0057291667 * 100vw + 0px)}}.shooting-range-challenge__info-skill-title.svelte-67bxcc{font-family:\"GothamPro-Medium\";color:rgba(255, 255, 255, 0.8);font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__info-skill-title.svelte-67bxcc{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__info-skill-title.svelte-67bxcc{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__info-skill-title.svelte-67bxcc{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__info-skill-title.svelte-67bxcc{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__info-skill-title.svelte-67bxcc{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__info-skill-title.svelte-67bxcc{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__info-skill-title.svelte-67bxcc{font-size:calc(0.01375 * 100vw + 0px)}}.shooting-range-challenge__info-skill-body.svelte-67bxcc{display:flex;align-items:center;justify-content:center;background-color:rgba(0, 0, 0, 0.5);border-radius:calc(0.0041666667 * 100vw + 0px);margin-top:calc(0.0104166667 * 100vw + 0px);width:calc(0.2604166667 * 100vw + 0px);height:calc(0.0854166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__info-skill-body.svelte-67bxcc{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__info-skill-body.svelte-67bxcc{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__info-skill-body.svelte-67bxcc{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__info-skill-body.svelte-67bxcc{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__info-skill-body.svelte-67bxcc{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__info-skill-body.svelte-67bxcc{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__info-skill-body.svelte-67bxcc{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__info-skill-body.svelte-67bxcc{margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__info-skill-body.svelte-67bxcc{margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__info-skill-body.svelte-67bxcc{margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__info-skill-body.svelte-67bxcc{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__info-skill-body.svelte-67bxcc{margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__info-skill-body.svelte-67bxcc{margin-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__info-skill-body.svelte-67bxcc{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__info-skill-body.svelte-67bxcc{width:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__info-skill-body.svelte-67bxcc{width:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__info-skill-body.svelte-67bxcc{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__info-skill-body.svelte-67bxcc{width:calc(0.2864583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__info-skill-body.svelte-67bxcc{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__info-skill-body.svelte-67bxcc{width:calc(0.234375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__info-skill-body.svelte-67bxcc{width:calc(0.2864583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__info-skill-body.svelte-67bxcc{height:calc(0.0854166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__info-skill-body.svelte-67bxcc{height:calc(0.0854166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__info-skill-body.svelte-67bxcc{height:calc(0.0657708333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__info-skill-body.svelte-67bxcc{height:calc(0.0939583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__info-skill-body.svelte-67bxcc{height:calc(0.0597916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__info-skill-body.svelte-67bxcc{height:calc(0.076875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__info-skill-body.svelte-67bxcc{height:calc(0.0939583333 * 100vw + 0px)}}.shooting-range-challenge__info-skill-img.svelte-67bxcc{display:flex;justify-content:center;color:rgba(255, 255, 255, 0.5);font-size:calc(0.0520833333 * 100vw + 0px);width:calc(0.109375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__info-skill-img.svelte-67bxcc{font-size:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__info-skill-img.svelte-67bxcc{font-size:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__info-skill-img.svelte-67bxcc{font-size:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__info-skill-img.svelte-67bxcc{font-size:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__info-skill-img.svelte-67bxcc{font-size:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__info-skill-img.svelte-67bxcc{font-size:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__info-skill-img.svelte-67bxcc{font-size:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__info-skill-img.svelte-67bxcc{width:calc(0.109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__info-skill-img.svelte-67bxcc{width:calc(0.109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__info-skill-img.svelte-67bxcc{width:calc(0.08421875 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__info-skill-img.svelte-67bxcc{width:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__info-skill-img.svelte-67bxcc{width:calc(0.0765625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__info-skill-img.svelte-67bxcc{width:calc(0.0984375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__info-skill-img.svelte-67bxcc{width:calc(0.1203125 * 100vw + 0px)}}.shooting-range-challenge__info-skill-weapon-wrapper.svelte-67bxcc{margin-left:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__info-skill-weapon-wrapper.svelte-67bxcc{margin-left:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__info-skill-weapon-wrapper.svelte-67bxcc{margin-left:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__info-skill-weapon-wrapper.svelte-67bxcc{margin-left:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__info-skill-weapon-wrapper.svelte-67bxcc{margin-left:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__info-skill-weapon-wrapper.svelte-67bxcc{margin-left:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__info-skill-weapon-wrapper.svelte-67bxcc{margin-left:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__info-skill-weapon-wrapper.svelte-67bxcc{margin-left:calc(0.0171875 * 100vw + 0px)}}.shooting-range-challenge__info-skill-weapon-title.svelte-67bxcc{font-family:\"GothamPro-Medium\";color:rgba(255, 255, 255, 0.8);font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__info-skill-weapon-title.svelte-67bxcc{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__info-skill-weapon-title.svelte-67bxcc{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__info-skill-weapon-title.svelte-67bxcc{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__info-skill-weapon-title.svelte-67bxcc{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__info-skill-weapon-title.svelte-67bxcc{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__info-skill-weapon-title.svelte-67bxcc{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__info-skill-weapon-title.svelte-67bxcc{font-size:calc(0.0091666667 * 100vw + 0px)}}.shooting-range-challenge__info-skill-weapon-percents.svelte-67bxcc{font-family:\"GothamPro-Medium\";color:#F2C94C;font-size:calc(0.0130208333 * 100vw + 0px);margin-top:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__info-skill-weapon-percents.svelte-67bxcc{font-size:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__info-skill-weapon-percents.svelte-67bxcc{font-size:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__info-skill-weapon-percents.svelte-67bxcc{font-size:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__info-skill-weapon-percents.svelte-67bxcc{font-size:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__info-skill-weapon-percents.svelte-67bxcc{font-size:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__info-skill-weapon-percents.svelte-67bxcc{font-size:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__info-skill-weapon-percents.svelte-67bxcc{font-size:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__info-skill-weapon-percents.svelte-67bxcc{margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__info-skill-weapon-percents.svelte-67bxcc{margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__info-skill-weapon-percents.svelte-67bxcc{margin-top:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__info-skill-weapon-percents.svelte-67bxcc{margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__info-skill-weapon-percents.svelte-67bxcc{margin-top:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__info-skill-weapon-percents.svelte-67bxcc{margin-top:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__info-skill-weapon-percents.svelte-67bxcc{margin-top:calc(0.0080208333 * 100vw + 0px)}}.shooting-range-challenge__cards.svelte-67bxcc{z-index:1;position:absolute;top:calc(0.0442708333 * 100vw + 0px);right:calc(0.1895833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__cards.svelte-67bxcc{top:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__cards.svelte-67bxcc{top:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__cards.svelte-67bxcc{top:calc(0.0340885417 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__cards.svelte-67bxcc{top:calc(0.0486979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__cards.svelte-67bxcc{top:calc(0.0309895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__cards.svelte-67bxcc{top:calc(0.03984375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__cards.svelte-67bxcc{top:calc(0.0486979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__cards.svelte-67bxcc{right:calc(0.1895833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__cards.svelte-67bxcc{right:calc(0.1895833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__cards.svelte-67bxcc{right:calc(0.1459791667 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__cards.svelte-67bxcc{right:calc(0.2085416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__cards.svelte-67bxcc{right:calc(0.1327083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__cards.svelte-67bxcc{right:calc(0.170625 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__cards.svelte-67bxcc{right:calc(0.2085416667 * 100vw + 0px)}}.shooting-range-challenge__card-img.svelte-67bxcc{width:calc(0.2895833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__card-img.svelte-67bxcc{width:calc(0.2895833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__card-img.svelte-67bxcc{width:calc(0.2895833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__card-img.svelte-67bxcc{width:calc(0.2229791667 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__card-img.svelte-67bxcc{width:calc(0.3185416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__card-img.svelte-67bxcc{width:calc(0.2027083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__card-img.svelte-67bxcc{width:calc(0.260625 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__card-img.svelte-67bxcc{width:calc(0.3185416667 * 100vw + 0px)}}.shooting-range-challenge__card-background-first-img.svelte-67bxcc{z-index:-1;position:absolute;top:calc(-0.0364583333 * 100vw + 0px);right:calc(-0.1354166667 * 100vw + 0px);width:calc(0.4375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__card-background-first-img.svelte-67bxcc{top:calc(-0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__card-background-first-img.svelte-67bxcc{top:calc(-0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__card-background-first-img.svelte-67bxcc{top:calc(-0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__card-background-first-img.svelte-67bxcc{top:calc(-0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__card-background-first-img.svelte-67bxcc{top:calc(-0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__card-background-first-img.svelte-67bxcc{top:calc(-0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__card-background-first-img.svelte-67bxcc{top:calc(-0.0401041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__card-background-first-img.svelte-67bxcc{right:calc(-0.1354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__card-background-first-img.svelte-67bxcc{right:calc(-0.1354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__card-background-first-img.svelte-67bxcc{right:calc(-0.1042708333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__card-background-first-img.svelte-67bxcc{right:calc(-0.1489583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__card-background-first-img.svelte-67bxcc{right:calc(-0.0947916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__card-background-first-img.svelte-67bxcc{right:calc(-0.121875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__card-background-first-img.svelte-67bxcc{right:calc(-0.1489583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__card-background-first-img.svelte-67bxcc{width:calc(0.4375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__card-background-first-img.svelte-67bxcc{width:calc(0.4375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__card-background-first-img.svelte-67bxcc{width:calc(0.336875 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__card-background-first-img.svelte-67bxcc{width:calc(0.48125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__card-background-first-img.svelte-67bxcc{width:calc(0.30625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__card-background-first-img.svelte-67bxcc{width:calc(0.39375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__card-background-first-img.svelte-67bxcc{width:calc(0.48125 * 100vw + 0px)}}.shooting-range-challenge__card-background-second-img.svelte-67bxcc{z-index:-2;position:absolute;transform:rotate(15deg);opacity:20%;top:calc(0.0338541667 * 100vw + 0px);right:calc(-0.2708333333 * 100vw + 0px);width:calc(0.4375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__card-background-second-img.svelte-67bxcc{top:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__card-background-second-img.svelte-67bxcc{top:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__card-background-second-img.svelte-67bxcc{top:calc(0.0260677083 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__card-background-second-img.svelte-67bxcc{top:calc(0.0372395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__card-background-second-img.svelte-67bxcc{top:calc(0.0236979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__card-background-second-img.svelte-67bxcc{top:calc(0.03046875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__card-background-second-img.svelte-67bxcc{top:calc(0.0372395833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__card-background-second-img.svelte-67bxcc{right:calc(-0.2708333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__card-background-second-img.svelte-67bxcc{right:calc(-0.2708333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__card-background-second-img.svelte-67bxcc{right:calc(-0.2085416667 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__card-background-second-img.svelte-67bxcc{right:calc(-0.2979166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__card-background-second-img.svelte-67bxcc{right:calc(-0.1895833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__card-background-second-img.svelte-67bxcc{right:calc(-0.24375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__card-background-second-img.svelte-67bxcc{right:calc(-0.2979166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__card-background-second-img.svelte-67bxcc{width:calc(0.4375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__card-background-second-img.svelte-67bxcc{width:calc(0.4375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__card-background-second-img.svelte-67bxcc{width:calc(0.336875 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__card-background-second-img.svelte-67bxcc{width:calc(0.48125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__card-background-second-img.svelte-67bxcc{width:calc(0.30625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__card-background-second-img.svelte-67bxcc{width:calc(0.39375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__card-background-second-img.svelte-67bxcc{width:calc(0.48125 * 100vw + 0px)}}.shooting-range-challenge__card-challenge-body.svelte-67bxcc{position:absolute;background:linear-gradient(140deg, rgba(81, 70, 55, 0.3) -20%, #514637 44%);top:calc(0.0552083333 * 100vw + 0px);left:calc(0.0411458333 * 100vw + 0px);width:calc(0.2057291667 * 100vw + 0px);height:calc(0.2708333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__card-challenge-body.svelte-67bxcc{top:calc(0.0552083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body.svelte-67bxcc{top:calc(0.0552083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__card-challenge-body.svelte-67bxcc{top:calc(0.0425104167 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__card-challenge-body.svelte-67bxcc{top:calc(0.0607291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body.svelte-67bxcc{top:calc(0.0386458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__card-challenge-body.svelte-67bxcc{top:calc(0.0496875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__card-challenge-body.svelte-67bxcc{top:calc(0.0607291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__card-challenge-body.svelte-67bxcc{left:calc(0.0411458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body.svelte-67bxcc{left:calc(0.0411458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__card-challenge-body.svelte-67bxcc{left:calc(0.0316822917 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__card-challenge-body.svelte-67bxcc{left:calc(0.0452604167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body.svelte-67bxcc{left:calc(0.0288020833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__card-challenge-body.svelte-67bxcc{left:calc(0.03703125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__card-challenge-body.svelte-67bxcc{left:calc(0.0452604167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__card-challenge-body.svelte-67bxcc{width:calc(0.2057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body.svelte-67bxcc{width:calc(0.2057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__card-challenge-body.svelte-67bxcc{width:calc(0.1584114583 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__card-challenge-body.svelte-67bxcc{width:calc(0.2263020833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body.svelte-67bxcc{width:calc(0.1440104167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__card-challenge-body.svelte-67bxcc{width:calc(0.18515625 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__card-challenge-body.svelte-67bxcc{width:calc(0.2263020833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__card-challenge-body.svelte-67bxcc{height:calc(0.2708333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body.svelte-67bxcc{height:calc(0.2708333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__card-challenge-body.svelte-67bxcc{height:calc(0.2085416667 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__card-challenge-body.svelte-67bxcc{height:calc(0.2979166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body.svelte-67bxcc{height:calc(0.1895833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__card-challenge-body.svelte-67bxcc{height:calc(0.24375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__card-challenge-body.svelte-67bxcc{height:calc(0.2979166667 * 100vw + 0px)}}.shooting-range-challenge__card-challenge-body-time-wrapper.svelte-67bxcc{display:flex;align-items:center;gap:calc(0.0026041667 * 100vw + 0px);margin-top:calc(0.0067708333 * 100vw + 0px);margin-left:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__card-challenge-body-time-wrapper.svelte-67bxcc{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body-time-wrapper.svelte-67bxcc{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__card-challenge-body-time-wrapper.svelte-67bxcc{gap:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__card-challenge-body-time-wrapper.svelte-67bxcc{gap:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body-time-wrapper.svelte-67bxcc{gap:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__card-challenge-body-time-wrapper.svelte-67bxcc{gap:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__card-challenge-body-time-wrapper.svelte-67bxcc{gap:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__card-challenge-body-time-wrapper.svelte-67bxcc{margin-top:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body-time-wrapper.svelte-67bxcc{margin-top:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__card-challenge-body-time-wrapper.svelte-67bxcc{margin-top:calc(0.0052135417 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__card-challenge-body-time-wrapper.svelte-67bxcc{margin-top:calc(0.0074479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body-time-wrapper.svelte-67bxcc{margin-top:calc(0.0047395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__card-challenge-body-time-wrapper.svelte-67bxcc{margin-top:calc(0.00609375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__card-challenge-body-time-wrapper.svelte-67bxcc{margin-top:calc(0.0074479167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__card-challenge-body-time-wrapper.svelte-67bxcc{margin-left:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body-time-wrapper.svelte-67bxcc{margin-left:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__card-challenge-body-time-wrapper.svelte-67bxcc{margin-left:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__card-challenge-body-time-wrapper.svelte-67bxcc{margin-left:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body-time-wrapper.svelte-67bxcc{margin-left:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__card-challenge-body-time-wrapper.svelte-67bxcc{margin-left:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__card-challenge-body-time-wrapper.svelte-67bxcc{margin-left:calc(0.006875 * 100vw + 0px)}}.shooting-range-challenge__card-challenge-body-time-img.svelte-67bxcc{width:calc(0.0145833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__card-challenge-body-time-img.svelte-67bxcc{width:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body-time-img.svelte-67bxcc{width:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__card-challenge-body-time-img.svelte-67bxcc{width:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__card-challenge-body-time-img.svelte-67bxcc{width:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body-time-img.svelte-67bxcc{width:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__card-challenge-body-time-img.svelte-67bxcc{width:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__card-challenge-body-time-img.svelte-67bxcc{width:calc(0.0160416667 * 100vw + 0px)}}.shooting-range-challenge__card-challenge-body-time-title.svelte-67bxcc{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__card-challenge-body-time-title.svelte-67bxcc{font-size:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body-time-title.svelte-67bxcc{font-size:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__card-challenge-body-time-title.svelte-67bxcc{font-size:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__card-challenge-body-time-title.svelte-67bxcc{font-size:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body-time-title.svelte-67bxcc{font-size:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__card-challenge-body-time-title.svelte-67bxcc{font-size:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__card-challenge-body-time-title.svelte-67bxcc{font-size:calc(0.0143229167 * 100vw + 0px)}}.shooting-range-challenge__card-challenge-body-title-wrapper.svelte-67bxcc{display:flex;flex-direction:column;align-items:center;margin-top:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__card-challenge-body-title-wrapper.svelte-67bxcc{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body-title-wrapper.svelte-67bxcc{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__card-challenge-body-title-wrapper.svelte-67bxcc{margin-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__card-challenge-body-title-wrapper.svelte-67bxcc{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body-title-wrapper.svelte-67bxcc{margin-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__card-challenge-body-title-wrapper.svelte-67bxcc{margin-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__card-challenge-body-title-wrapper.svelte-67bxcc{margin-top:calc(0.0143229167 * 100vw + 0px)}}.shooting-range-challenge__card-challenge-body-img.svelte-67bxcc{width:calc(0.1322916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__card-challenge-body-img.svelte-67bxcc{width:calc(0.1322916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body-img.svelte-67bxcc{width:calc(0.1322916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__card-challenge-body-img.svelte-67bxcc{width:calc(0.1018645833 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__card-challenge-body-img.svelte-67bxcc{width:calc(0.1455208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body-img.svelte-67bxcc{width:calc(0.0926041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__card-challenge-body-img.svelte-67bxcc{width:calc(0.1190625 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__card-challenge-body-img.svelte-67bxcc{width:calc(0.1455208333 * 100vw + 0px)}}.shooting-range-challenge__card-challenge-body-description.svelte-67bxcc{display:flex;align-items:center;justify-content:center;font-family:\"GothamPro-Medium\";color:#FFFFFF;width:100%;background-color:rgba(0, 0, 0, 0.5);font-size:calc(0.0130208333 * 100vw + 0px);margin-top:calc(0.0143229167 * 100vw + 0px);margin-bottom:calc(0.0067708333 * 100vw + 0px);height:calc(0.0239583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__card-challenge-body-description.svelte-67bxcc{font-size:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body-description.svelte-67bxcc{font-size:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__card-challenge-body-description.svelte-67bxcc{font-size:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__card-challenge-body-description.svelte-67bxcc{font-size:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body-description.svelte-67bxcc{font-size:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__card-challenge-body-description.svelte-67bxcc{font-size:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__card-challenge-body-description.svelte-67bxcc{font-size:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__card-challenge-body-description.svelte-67bxcc{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body-description.svelte-67bxcc{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__card-challenge-body-description.svelte-67bxcc{margin-top:calc(0.0110286458 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__card-challenge-body-description.svelte-67bxcc{margin-top:calc(0.0157552083 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body-description.svelte-67bxcc{margin-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__card-challenge-body-description.svelte-67bxcc{margin-top:calc(0.012890625 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__card-challenge-body-description.svelte-67bxcc{margin-top:calc(0.0157552083 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__card-challenge-body-description.svelte-67bxcc{margin-bottom:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body-description.svelte-67bxcc{margin-bottom:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__card-challenge-body-description.svelte-67bxcc{margin-bottom:calc(0.0052135417 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__card-challenge-body-description.svelte-67bxcc{margin-bottom:calc(0.0074479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body-description.svelte-67bxcc{margin-bottom:calc(0.0047395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__card-challenge-body-description.svelte-67bxcc{margin-bottom:calc(0.00609375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__card-challenge-body-description.svelte-67bxcc{margin-bottom:calc(0.0074479167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__card-challenge-body-description.svelte-67bxcc{height:calc(0.0239583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body-description.svelte-67bxcc{height:calc(0.0239583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__card-challenge-body-description.svelte-67bxcc{height:calc(0.0184479167 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__card-challenge-body-description.svelte-67bxcc{height:calc(0.0263541667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body-description.svelte-67bxcc{height:calc(0.0167708333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__card-challenge-body-description.svelte-67bxcc{height:calc(0.0215625 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__card-challenge-body-description.svelte-67bxcc{height:calc(0.0263541667 * 100vw + 0px)}}.shooting-range-challenge__card-challenge-body-title.svelte-67bxcc{text-align:center;font-family:\"DINPro-CondensedBlack\";color:#E6D3AB;text-transform:uppercase;font-size:calc(0.0442708333 * 100vw + 0px);line-height:calc(0.0396510417 * 100vw + 0px);letter-spacing:calc(-0.0036458333 * 100vw + 0px);width:calc(0.1458333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__card-challenge-body-title.svelte-67bxcc{font-size:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body-title.svelte-67bxcc{font-size:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__card-challenge-body-title.svelte-67bxcc{font-size:calc(0.0340885417 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__card-challenge-body-title.svelte-67bxcc{font-size:calc(0.0486979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body-title.svelte-67bxcc{font-size:calc(0.0309895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__card-challenge-body-title.svelte-67bxcc{font-size:calc(0.03984375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__card-challenge-body-title.svelte-67bxcc{font-size:calc(0.0486979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__card-challenge-body-title.svelte-67bxcc{line-height:calc(0.0396510417 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body-title.svelte-67bxcc{line-height:calc(0.0396510417 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__card-challenge-body-title.svelte-67bxcc{line-height:calc(0.0305313021 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__card-challenge-body-title.svelte-67bxcc{line-height:calc(0.0436161458 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body-title.svelte-67bxcc{line-height:calc(0.0277557292 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__card-challenge-body-title.svelte-67bxcc{line-height:calc(0.0356859375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__card-challenge-body-title.svelte-67bxcc{line-height:calc(0.0436161458 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__card-challenge-body-title.svelte-67bxcc{letter-spacing:calc(-0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body-title.svelte-67bxcc{letter-spacing:calc(-0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__card-challenge-body-title.svelte-67bxcc{letter-spacing:calc(-0.0028072917 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__card-challenge-body-title.svelte-67bxcc{letter-spacing:calc(-0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body-title.svelte-67bxcc{letter-spacing:calc(-0.0025520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__card-challenge-body-title.svelte-67bxcc{letter-spacing:calc(-0.00328125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__card-challenge-body-title.svelte-67bxcc{letter-spacing:calc(-0.0040104167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__card-challenge-body-title.svelte-67bxcc{width:calc(0.1458333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body-title.svelte-67bxcc{width:calc(0.1458333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__card-challenge-body-title.svelte-67bxcc{width:calc(0.1122916667 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__card-challenge-body-title.svelte-67bxcc{width:calc(0.1604166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__card-challenge-body-title.svelte-67bxcc{width:calc(0.1020833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__card-challenge-body-title.svelte-67bxcc{width:calc(0.13125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__card-challenge-body-title.svelte-67bxcc{width:calc(0.1604166667 * 100vw + 0px)}}.shooting-range-challenge__buttons.svelte-67bxcc{z-index:2;position:absolute;display:flex;gap:calc(0.0052083333 * 100vw + 0px);bottom:calc(0.03125 * 100vw + 0px);right:calc(0.03125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__buttons.svelte-67bxcc{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__buttons.svelte-67bxcc{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__buttons.svelte-67bxcc{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__buttons.svelte-67bxcc{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__buttons.svelte-67bxcc{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__buttons.svelte-67bxcc{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__buttons.svelte-67bxcc{gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__buttons.svelte-67bxcc{bottom:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__buttons.svelte-67bxcc{bottom:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__buttons.svelte-67bxcc{bottom:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__buttons.svelte-67bxcc{bottom:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__buttons.svelte-67bxcc{bottom:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__buttons.svelte-67bxcc{bottom:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__buttons.svelte-67bxcc{bottom:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__buttons.svelte-67bxcc{right:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__buttons.svelte-67bxcc{right:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__buttons.svelte-67bxcc{right:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__buttons.svelte-67bxcc{right:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__buttons.svelte-67bxcc{right:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__buttons.svelte-67bxcc{right:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__buttons.svelte-67bxcc{right:calc(0.034375 * 100vw + 0px)}}.shooting-range-challenge__button-skip.svelte-67bxcc{display:flex;align-items:center;justify-content:center;background-color:#F2C94C;transition:background-color 0.2s linear;cursor:pointer;border-radius:calc(0.0026041667 * 100vw + 0px);width:calc(0.2427083333 * 100vw + 0px);height:calc(0.0447916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__button-skip.svelte-67bxcc{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__button-skip.svelte-67bxcc{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__button-skip.svelte-67bxcc{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__button-skip.svelte-67bxcc{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__button-skip.svelte-67bxcc{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__button-skip.svelte-67bxcc{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__button-skip.svelte-67bxcc{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__button-skip.svelte-67bxcc{width:calc(0.2427083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__button-skip.svelte-67bxcc{width:calc(0.2427083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__button-skip.svelte-67bxcc{width:calc(0.1868854167 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__button-skip.svelte-67bxcc{width:calc(0.2669791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__button-skip.svelte-67bxcc{width:calc(0.1698958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__button-skip.svelte-67bxcc{width:calc(0.2184375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__button-skip.svelte-67bxcc{width:calc(0.2669791667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__button-skip.svelte-67bxcc{height:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__button-skip.svelte-67bxcc{height:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__button-skip.svelte-67bxcc{height:calc(0.0344895833 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__button-skip.svelte-67bxcc{height:calc(0.0492708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__button-skip.svelte-67bxcc{height:calc(0.0313541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__button-skip.svelte-67bxcc{height:calc(0.0403125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__button-skip.svelte-67bxcc{height:calc(0.0492708333 * 100vw + 0px)}}.shooting-range-challenge__button-skip.svelte-67bxcc:hover{background-color:rgba(242, 201, 76, 0.5)}.shooting-range-challenge__button-skip-title.svelte-67bxcc{font-family:\"GothamPro-Bold\";color:#322B16;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__button-skip-title.svelte-67bxcc{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__button-skip-title.svelte-67bxcc{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__button-skip-title.svelte-67bxcc{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__button-skip-title.svelte-67bxcc{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__button-skip-title.svelte-67bxcc{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__button-skip-title.svelte-67bxcc{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__button-skip-title.svelte-67bxcc{font-size:calc(0.0103125 * 100vw + 0px)}}.shooting-range-challenge__button-start.svelte-67bxcc{display:flex;align-items:center;justify-content:center;background-color:#FFFFFF;cursor:pointer;transition:background-color 0.2s linear;border-radius:calc(0.0026041667 * 100vw + 0px);width:calc(0.2427083333 * 100vw + 0px);height:calc(0.0447916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__button-start.svelte-67bxcc{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__button-start.svelte-67bxcc{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__button-start.svelte-67bxcc{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__button-start.svelte-67bxcc{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__button-start.svelte-67bxcc{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__button-start.svelte-67bxcc{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__button-start.svelte-67bxcc{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__button-start.svelte-67bxcc{width:calc(0.2427083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__button-start.svelte-67bxcc{width:calc(0.2427083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__button-start.svelte-67bxcc{width:calc(0.1868854167 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__button-start.svelte-67bxcc{width:calc(0.2669791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__button-start.svelte-67bxcc{width:calc(0.1698958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__button-start.svelte-67bxcc{width:calc(0.2184375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__button-start.svelte-67bxcc{width:calc(0.2669791667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__button-start.svelte-67bxcc{height:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__button-start.svelte-67bxcc{height:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__button-start.svelte-67bxcc{height:calc(0.0344895833 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__button-start.svelte-67bxcc{height:calc(0.0492708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__button-start.svelte-67bxcc{height:calc(0.0313541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__button-start.svelte-67bxcc{height:calc(0.0403125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__button-start.svelte-67bxcc{height:calc(0.0492708333 * 100vw + 0px)}}.shooting-range-challenge__button-start.svelte-67bxcc:hover{background-color:rgba(255, 255, 255, 0.5)}.shooting-range-challenge__button-start-title.svelte-67bxcc{font-family:\"GothamPro-Bold\";color:#363D47;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-challenge__button-start-title.svelte-67bxcc{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-challenge__button-start-title.svelte-67bxcc{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-challenge__button-start-title.svelte-67bxcc{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-challenge__button-start-title.svelte-67bxcc{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-challenge__button-start-title.svelte-67bxcc{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-challenge__button-start-title.svelte-67bxcc{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-challenge__button-start-title.svelte-67bxcc{font-size:calc(0.0103125 * 100vw + 0px)}}.icon-assault-rifle.svelte-67bxcc,.icon-sniper-rifle.svelte-67bxcc,.icon-shotgun.svelte-67bxcc{font-size:calc(0.0989583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.icon-assault-rifle.svelte-67bxcc,.icon-sniper-rifle.svelte-67bxcc,.icon-shotgun.svelte-67bxcc{font-size:calc(0.0989583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.icon-assault-rifle.svelte-67bxcc,.icon-sniper-rifle.svelte-67bxcc,.icon-shotgun.svelte-67bxcc{font-size:calc(0.0989583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.icon-assault-rifle.svelte-67bxcc,.icon-sniper-rifle.svelte-67bxcc,.icon-shotgun.svelte-67bxcc{font-size:calc(0.0761979167 * 100vw + 0px)}}@media(min-width: 3440px){.icon-assault-rifle.svelte-67bxcc,.icon-sniper-rifle.svelte-67bxcc,.icon-shotgun.svelte-67bxcc{font-size:calc(0.1088541667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.icon-assault-rifle.svelte-67bxcc,.icon-sniper-rifle.svelte-67bxcc,.icon-shotgun.svelte-67bxcc{font-size:calc(0.0692708333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.icon-assault-rifle.svelte-67bxcc,.icon-sniper-rifle.svelte-67bxcc,.icon-shotgun.svelte-67bxcc{font-size:calc(0.0890625 * 100vw + 0px)}}@media(min-width: 4096px){.icon-assault-rifle.svelte-67bxcc,.icon-sniper-rifle.svelte-67bxcc,.icon-shotgun.svelte-67bxcc{font-size:calc(0.1088541667 * 100vw + 0px)}}");
}

// (3217:4) {#if !isEmpty(currentChallengeInformation)}
function challenge_index_svelte_create_if_block(ctx) {
	let div9;
	let p0;
	let t0_value = /*currentChallengeInformation*/ ctx[0].title + "";
	let t0;
	let t1;
	let div0;
	let img0;
	let img0_src_value;
	let t2;
	let p1;
	let t4;
	let div8;
	let div4;
	let p2;
	let t6;
	let div3;
	let img1;
	let img1_src_value;
	let t7;
	let div2;
	let p3;
	let t8_value = /*currentChallengeInformation*/ ctx[0].description + "";
	let t8;
	let t9;
	let div1;
	let img2;
	let img2_src_value;
	let t10;
	let p4;
	let t11_value = /*currentChallengeInformation*/ ctx[0].time + "";
	let t11;
	let t12;
	let t13;
	let div7;
	let p5;
	let t15;
	let div6;
	let span;
	let span_class_value;
	let t16;
	let div5;
	let p6;
	let t17_value = /*currentChallengeInformation*/ ctx[0].weaponTitle + "";
	let t17;
	let t18;
	let p7;
	let t19_value = /*currentChallengeInformation*/ ctx[0].skill + "";
	let t19;
	let t20;
	let t21;
	let div14;
	let div10;
	let img3;
	let img3_src_value;
	let t22;
	let img4;
	let img4_src_value;
	let t23;
	let img5;
	let img5_src_value;
	let t24;
	let div13;
	let div11;
	let img6;
	let img6_src_value;
	let t25;
	let p8;
	let t26_value = /*currentChallengeInformation*/ ctx[0].time + "";
	let t26;
	let t27;
	let t28;
	let div12;
	let img7;
	let img7_src_value;
	let t29;
	let p9;
	let t30_value = /*currentChallengeInformation*/ ctx[0].challengeNumber + "";
	let t30;
	let t31;
	let p10;
	let t32_value = /*currentChallengeInformation*/ ctx[0].title + "";
	let t32;

	return {
		c() {
			div9 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			div0 = internal_element("div");
			img0 = internal_element("img");
			t2 = space();
			p1 = internal_element("p");
			p1.textContent = "Проходи испытания, чтобы повысить ваш навык стрельбы на выбранном оружие.";
			t4 = space();
			div8 = internal_element("div");
			div4 = internal_element("div");
			p2 = internal_element("p");
			p2.textContent = "Цели испытания:";
			t6 = space();
			div3 = internal_element("div");
			img1 = internal_element("img");
			t7 = space();
			div2 = internal_element("div");
			p3 = internal_element("p");
			t8 = internal_text(t8_value);
			t9 = space();
			div1 = internal_element("div");
			img2 = internal_element("img");
			t10 = space();
			p4 = internal_element("p");
			t11 = internal_text(t11_value);
			t12 = internal_text(" минуты");
			t13 = space();
			div7 = internal_element("div");
			p5 = internal_element("p");
			p5.textContent = "Уровень владения:";
			t15 = space();
			div6 = internal_element("div");
			span = internal_element("span");
			t16 = space();
			div5 = internal_element("div");
			p6 = internal_element("p");
			t17 = internal_text(t17_value);
			t18 = space();
			p7 = internal_element("p");
			t19 = internal_text(t19_value);
			t20 = internal_text("%");
			t21 = space();
			div14 = internal_element("div");
			div10 = internal_element("div");
			img3 = internal_element("img");
			t22 = space();
			img4 = internal_element("img");
			t23 = space();
			img5 = internal_element("img");
			t24 = space();
			div13 = internal_element("div");
			div11 = internal_element("div");
			img6 = internal_element("img");
			t25 = space();
			p8 = internal_element("p");
			t26 = internal_text(t26_value);
			t27 = internal_text(" мин");
			t28 = space();
			div12 = internal_element("div");
			img7 = internal_element("img");
			t29 = space();
			p9 = internal_element("p");
			t30 = internal_text(t30_value);
			t31 = space();
			p10 = internal_element("p");
			t32 = internal_text(t32_value);
			attr(p0, "class", "shooting-range-challenge__info-title svelte-67bxcc");
			attr(img0, "class", "shooting-range-challenge__info-description-img svelte-67bxcc");
			if (!src_url_equal(img0.src, img0_src_value = challenge_description_decorative_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "description-decorative");
			attr(p1, "class", "shooting-range-challenge__info-description svelte-67bxcc");
			attr(div0, "class", "shooting-range-challenge__info-description-wrapper svelte-67bxcc");
			attr(p2, "class", "shooting-range-challenge__info-challenge-title svelte-67bxcc");
			attr(img1, "class", "shooting-range-challenge__info-challenge-img svelte-67bxcc");
			if (!src_url_equal(img1.src, img1_src_value = challenge_logo_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "logo");
			attr(p3, "class", "shooting-range-challenge__info-challenge-description svelte-67bxcc");
			attr(img2, "class", "shooting-range-challenge__info-challenge-time-img svelte-67bxcc");
			if (!src_url_equal(img2.src, img2_src_value = time_image_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "time-img");
			attr(p4, "class", "shooting-range-challenge__info-challenge-time-title svelte-67bxcc");
			attr(div1, "class", "shooting-range-challenge__info-challenge-time svelte-67bxcc");
			attr(div2, "class", "shooting-range-challenge__info-challenge-description-wrapper svelte-67bxcc");
			attr(div3, "class", "shooting-range-challenge__info-challenge-body svelte-67bxcc");
			attr(div4, "class", "shooting-range-challenge__info-challenge");
			attr(p5, "class", "shooting-range-challenge__info-skill-title svelte-67bxcc");
			attr(span, "class", span_class_value = "shooting-range-challenge__info-skill-img " + /*currentChallengeInformation*/ ctx[0].weaponIcon + " svelte-67bxcc");
			attr(p6, "class", "shooting-range-challenge__info-skill-weapon-title svelte-67bxcc");
			attr(p7, "class", "shooting-range-challenge__info-skill-weapon-percents svelte-67bxcc");
			attr(div5, "class", "shooting-range-challenge__info-skill-weapon-wrapper svelte-67bxcc");
			attr(div6, "class", "shooting-range-challenge__info-skill-body svelte-67bxcc");
			attr(div7, "class", "shooting-range-challenge__info-skill");
			attr(div8, "class", "shooting-range-challenge__info svelte-67bxcc");
			attr(div9, "class", "shooting-range-challenge__info-wrapper svelte-67bxcc");
			attr(img3, "class", "shooting-range-challenge__card-img svelte-67bxcc");
			if (!src_url_equal(img3.src, img3_src_value = challenge_card_namespaceObject)) attr(img3, "src", img3_src_value);
			attr(img3, "alt", "card");
			attr(img4, "class", "shooting-range-challenge__card-background-first-img svelte-67bxcc");
			if (!src_url_equal(img4.src, img4_src_value = challenge_background_card_namespaceObject)) attr(img4, "src", img4_src_value);
			attr(img4, "alt", "card");
			attr(img5, "class", "shooting-range-challenge__card-background-second-img svelte-67bxcc");
			if (!src_url_equal(img5.src, img5_src_value = challenge_background_card_namespaceObject)) attr(img5, "src", img5_src_value);
			attr(img5, "alt", "card");
			attr(div10, "class", "shooting-range-challenge__cards-background");
			attr(img6, "class", "shooting-range-challenge__card-challenge-body-time-img svelte-67bxcc");
			if (!src_url_equal(img6.src, img6_src_value = time_image_namespaceObject)) attr(img6, "src", img6_src_value);
			attr(img6, "alt", "time-img");
			attr(p8, "class", "shooting-range-challenge__card-challenge-body-time-title svelte-67bxcc");
			attr(div11, "class", "shooting-range-challenge__card-challenge-body-time-wrapper svelte-67bxcc");
			attr(img7, "class", "shooting-range-challenge__card-challenge-body-img svelte-67bxcc");
			if (!src_url_equal(img7.src, img7_src_value = challenge_hat_namespaceObject)) attr(img7, "src", img7_src_value);
			attr(img7, "alt", "hat");
			attr(p9, "class", "shooting-range-challenge__card-challenge-body-description svelte-67bxcc");
			attr(p10, "class", "shooting-range-challenge__card-challenge-body-title svelte-67bxcc");
			attr(div12, "class", "shooting-range-challenge__card-challenge-body-title-wrapper svelte-67bxcc");
			attr(div13, "class", "shooting-range-challenge__card-challenge-body svelte-67bxcc");
			attr(div14, "class", "shooting-range-challenge__cards svelte-67bxcc");
		},
		m(target, anchor) {
			insert(target, div9, anchor);
			append(div9, p0);
			append(p0, t0);
			append(div9, t1);
			append(div9, div0);
			append(div0, img0);
			append(div0, t2);
			append(div0, p1);
			append(div9, t4);
			append(div9, div8);
			append(div8, div4);
			append(div4, p2);
			append(div4, t6);
			append(div4, div3);
			append(div3, img1);
			append(div3, t7);
			append(div3, div2);
			append(div2, p3);
			append(p3, t8);
			append(div2, t9);
			append(div2, div1);
			append(div1, img2);
			append(div1, t10);
			append(div1, p4);
			append(p4, t11);
			append(p4, t12);
			append(div8, t13);
			append(div8, div7);
			append(div7, p5);
			append(div7, t15);
			append(div7, div6);
			append(div6, span);
			append(div6, t16);
			append(div6, div5);
			append(div5, p6);
			append(p6, t17);
			append(div5, t18);
			append(div5, p7);
			append(p7, t19);
			append(p7, t20);
			insert(target, t21, anchor);
			insert(target, div14, anchor);
			append(div14, div10);
			append(div10, img3);
			append(div10, t22);
			append(div10, img4);
			append(div10, t23);
			append(div10, img5);
			append(div14, t24);
			append(div14, div13);
			append(div13, div11);
			append(div11, img6);
			append(div11, t25);
			append(div11, p8);
			append(p8, t26);
			append(p8, t27);
			append(div13, t28);
			append(div13, div12);
			append(div12, img7);
			append(div12, t29);
			append(div12, p9);
			append(p9, t30);
			append(div12, t31);
			append(div12, p10);
			append(p10, t32);
		},
		p(ctx, dirty) {
			if (dirty & /*currentChallengeInformation*/ 1 && t0_value !== (t0_value = /*currentChallengeInformation*/ ctx[0].title + "")) set_data(t0, t0_value);
			if (dirty & /*currentChallengeInformation*/ 1 && t8_value !== (t8_value = /*currentChallengeInformation*/ ctx[0].description + "")) set_data(t8, t8_value);
			if (dirty & /*currentChallengeInformation*/ 1 && t11_value !== (t11_value = /*currentChallengeInformation*/ ctx[0].time + "")) set_data(t11, t11_value);

			if (dirty & /*currentChallengeInformation*/ 1 && span_class_value !== (span_class_value = "shooting-range-challenge__info-skill-img " + /*currentChallengeInformation*/ ctx[0].weaponIcon + " svelte-67bxcc")) {
				attr(span, "class", span_class_value);
			}

			if (dirty & /*currentChallengeInformation*/ 1 && t17_value !== (t17_value = /*currentChallengeInformation*/ ctx[0].weaponTitle + "")) set_data(t17, t17_value);
			if (dirty & /*currentChallengeInformation*/ 1 && t19_value !== (t19_value = /*currentChallengeInformation*/ ctx[0].skill + "")) set_data(t19, t19_value);
			if (dirty & /*currentChallengeInformation*/ 1 && t26_value !== (t26_value = /*currentChallengeInformation*/ ctx[0].time + "")) set_data(t26, t26_value);
			if (dirty & /*currentChallengeInformation*/ 1 && t30_value !== (t30_value = /*currentChallengeInformation*/ ctx[0].challengeNumber + "")) set_data(t30, t30_value);
			if (dirty & /*currentChallengeInformation*/ 1 && t32_value !== (t32_value = /*currentChallengeInformation*/ ctx[0].title + "")) set_data(t32, t32_value);
		},
		d(detaching) {
			if (detaching) detach(div9);
			if (detaching) detach(t21);
			if (detaching) detach(div14);
		}
	};
}

function challenge_index_svelte_create_fragment(ctx) {
	let div4;
	let exitbutton;
	let t0;
	let img0;
	let img0_src_value;
	let t1;
	let div0;
	let img1;
	let img1_src_value;
	let t2;
	let show_if = !(0,lodash.isEmpty)(/*currentChallengeInformation*/ ctx[0]);
	let t3;
	let div3;
	let div1;
	let p0;
	let t4_value = `Пропустить прокачку за ${formatMoney(/*currentChallengeInformation*/ ctx[0].skipPrice)} AZ` + "";
	let t4;
	let t5;
	let div2;
	let p1;
	let t6_value = `Начать испытание  за ${formatMoney(/*currentChallengeInformation*/ ctx[0].startPrice)} ₽` + "";
	let t6;
	let current;
	let mounted;
	let dispose;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[1],
				fixedPosition: true
			}
		});

	let if_block = show_if && challenge_index_svelte_create_if_block(ctx);

	return {
		c() {
			div4 = internal_element("div");
			create_component(exitbutton.$$.fragment);
			t0 = space();
			img0 = internal_element("img");
			t1 = space();
			div0 = internal_element("div");
			img1 = internal_element("img");
			t2 = space();
			if (if_block) if_block.c();
			t3 = space();
			div3 = internal_element("div");
			div1 = internal_element("div");
			p0 = internal_element("p");
			t4 = internal_text(t4_value);
			t5 = space();
			div2 = internal_element("div");
			p1 = internal_element("p");
			t6 = internal_text(t6_value);
			attr(img0, "class", "shooting-range-challenge__background svelte-67bxcc");
			if (!src_url_equal(img0.src, img0_src_value = background_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "background");
			attr(img1, "class", "shooting-range-challenge__left-background svelte-67bxcc");
			if (!src_url_equal(img1.src, img1_src_value = challenge_hat_background_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "background");
			attr(div0, "class", "shooting-range-challenge__left-background-wrapper svelte-67bxcc");
			attr(p0, "class", "shooting-range-challenge__button-skip-title svelte-67bxcc");
			attr(div1, "class", "shooting-range-challenge__button-skip svelte-67bxcc");
			attr(p1, "class", "shooting-range-challenge__button-start-title svelte-67bxcc");
			attr(div2, "class", "shooting-range-challenge__button-start svelte-67bxcc");
			attr(div3, "class", "shooting-range-challenge__buttons svelte-67bxcc");
			attr(div4, "class", "shooting-range-challenge svelte-67bxcc");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			mount_component(exitbutton, div4, null);
			append(div4, t0);
			append(div4, img0);
			append(div4, t1);
			append(div4, div0);
			append(div0, img1);
			append(div4, t2);
			if (if_block) if_block.m(div4, null);
			append(div4, t3);
			append(div4, div3);
			append(div3, div1);
			append(div1, p0);
			append(p0, t4);
			append(div3, t5);
			append(div3, div2);
			append(div2, p1);
			append(p1, t6);
			current = true;

			if (!mounted) {
				dispose = [
					listen(div1, "click", /*skipLeveling*/ ctx[2]),
					listen(div2, "click", /*startChallenge*/ ctx[3])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*currentChallengeInformation*/ 1) show_if = !(0,lodash.isEmpty)(/*currentChallengeInformation*/ ctx[0]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = challenge_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div4, t3);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if ((!current || dirty & /*currentChallengeInformation*/ 1) && t4_value !== (t4_value = `Пропустить прокачку за ${formatMoney(/*currentChallengeInformation*/ ctx[0].skipPrice)} AZ` + "")) set_data(t4, t4_value);
			if ((!current || dirty & /*currentChallengeInformation*/ 1) && t6_value !== (t6_value = `Начать испытание  за ${formatMoney(/*currentChallengeInformation*/ ctx[0].startPrice)} ₽` + "")) set_data(t6, t6_value);
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div4);
			destroy_component(exitbutton);
			if (if_block) if_block.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function challenge_index_svelte_instance($$self, $$props, $$invalidate) {
	let currentChallengeInformation = {};

	const initializeChallengeInformation = currentChallengeInformationDto => {
		$$invalidate(0, currentChallengeInformation = currentChallengeInformationDto);
	};

	const handleClose = () => {
		
	}; // exec close event

	const skipLeveling = () => {
		sendClientMessage('shootingRange.challenge.skipLeveling');
	};

	const startChallenge = () => {
		sendClientMessage('shootingRange.challenge.startChallenge');
	};

	const unregisterChallengeInformationEvent = registerEvent('event.ShootingRange.challenge.initialize', initializeChallengeInformation);

	onDestroy(() => {
		unregisterChallengeInformationEvent();
	});

	return [currentChallengeInformation, handleClose, skipLeveling, startChallenge];
}

class Challenge extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, challenge_index_svelte_instance, challenge_index_svelte_create_fragment, safe_not_equal, {}, challenge_index_svelte_add_css);
	}
}

/* harmony default export */ const challenge_index_svelte = (Challenge);
;// CONCATENATED MODULE: ./src/views/shooting-range/matchmaking/img/matchmaking-logo.png
const matchmaking_logo_namespaceObject = __webpack_require__.p + "assets/a4ab41f71c9220b9f65f.webp";
;// CONCATENATED MODULE: ./src/views/shooting-range/matchmaking/img/matchmaking-place.svg
const matchmaking_place_namespaceObject = __webpack_require__.p + "assets/77b111f637fce64fcd53.svg";
;// CONCATENATED MODULE: ./src/views/shooting-range/matchmaking/img/matchmaking-decorative-place.svg
const matchmaking_decorative_place_namespaceObject = __webpack_require__.p + "assets/dbc46e3f6bedc05f7176.svg";
;// CONCATENATED MODULE: ./src/views/shooting-range/matchmaking/img/matchmaking-button-decorative.svg
const matchmaking_button_decorative_namespaceObject = __webpack_require__.p + "assets/5d62ca57e8658dda8538.svg";
;// CONCATENATED MODULE: ./src/views/shooting-range/matchmaking/components/shield-icon/index.svelte
/* src\views\shooting-range\matchmaking\components\shield-icon\index.svelte generated by Svelte v3.49.0 */


function matchmaking_components_shield_icon_index_svelte_create_fragment(ctx) {
	let svg;
	let path0;
	let path1;
	let path2;

	return {
		c() {
			svg = svg_element("svg");
			path0 = svg_element("path");
			path1 = svg_element("path");
			path2 = svg_element("path");
			attr(path0, "opacity", "0.5");
			attr(path0, "d", "M6 11.3333V15L14.3333 21L22.5 15V11.3333L14.3333 17L6 11.3333Z");
			attr(path0, "fill", /*color*/ ctx[0]);
			attr(path1, "opacity", "0.5");
			attr(path1, "d", "M8.66675 1.99996L14.3334 6.33329L20.0001 1.99996V6.66663L14.3334 10.6666L8.66675 6.66663V1.99996Z");
			attr(path1, "fill", /*color*/ ctx[0]);
			attr(path2, "fill-rule", "evenodd");
			attr(path2, "clip-rule", "evenodd");
			attr(path2, "d", "M14.3333 26L25.6667 18V4.33333L14.3333 12.3333L3 4.33333V18L14.3333 26ZM14.3333 22.6667L5 16V9L14.3333 15.3333L23.6667 9V16L14.3333 22.6667Z");
			attr(path2, "fill", /*color*/ ctx[0]);
			attr(svg, "width", "28");
			attr(svg, "height", "28");
			attr(svg, "viewBox", "0 0 28 28");
			attr(svg, "fill", "none");
			attr(svg, "xmlns", "http://www.w3.org/2000/svg");
		},
		m(target, anchor) {
			insert(target, svg, anchor);
			append(svg, path0);
			append(svg, path1);
			append(svg, path2);
		},
		p(ctx, [dirty]) {
			if (dirty & /*color*/ 1) {
				attr(path0, "fill", /*color*/ ctx[0]);
			}

			if (dirty & /*color*/ 1) {
				attr(path1, "fill", /*color*/ ctx[0]);
			}

			if (dirty & /*color*/ 1) {
				attr(path2, "fill", /*color*/ ctx[0]);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(svg);
		}
	};
}

function matchmaking_components_shield_icon_index_svelte_instance($$self, $$props, $$invalidate) {
	let { color = '#FFFFFF' } = $$props;

	$$self.$$set = $$props => {
		if ('color' in $$props) $$invalidate(0, color = $$props.color);
	};

	return [color];
}

class components_shield_icon_index_svelte_Shield_icon extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, matchmaking_components_shield_icon_index_svelte_instance, matchmaking_components_shield_icon_index_svelte_create_fragment, safe_not_equal, { color: 0 });
	}
}

/* harmony default export */ const matchmaking_components_shield_icon_index_svelte = (components_shield_icon_index_svelte_Shield_icon);
;// CONCATENATED MODULE: ./src/views/shooting-range/matchmaking/constants.js
var matchmaking_constants_MAP_POSITION_TO_COLOR = {
  1: '#F2C94C',
  2: '#BCBCBC',
  3: '#DE8239'
};
;// CONCATENATED MODULE: ./src/views/shooting-range/matchmaking/index.svelte
/* src\views\shooting-range\matchmaking\index.svelte generated by Svelte v3.49.0 */
















function matchmaking_index_svelte_add_css(target) {
	append_styles(target, "svelte-10bcp5l", "@keyframes svelte-10bcp5l-blinking{50%{opacity:0}}@keyframes svelte-10bcp5l-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-10bcp5l-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-10bcp5l-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-10bcp5l-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-10bcp5l-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-10bcp5l-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-10bcp5l-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-10bcp5l-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-10bcp5l-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-10bcp5l-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-10bcp5l-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-10bcp5l-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-10bcp5l-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-10bcp5l-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.shooting-range-matchmaking.svelte-10bcp5l.svelte-10bcp5l{display:flex;align-items:center;justify-content:center;position:relative;width:100vw;height:100vh;background:rgba(32, 39, 49, 0.9)}.shooting-range-matchmaking.svelte-10bcp5l.svelte-10bcp5l::after{content:\"\";pointer-events:none;position:absolute;transform:rotate(75deg);background:radial-gradient(49.98% 50.07% at 49.98% 50.13%, rgba(255, 242, 209, 0.5) 0%, rgba(255, 213, 173, 0.5) 22.4%, rgba(0, 0, 0, 0) 100%);bottom:calc(-0.7291666667 * 100vw + 0px);width:calc(1.35234375 * 100vw + 0px);height:calc(1.1525364583 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking.svelte-10bcp5l.svelte-10bcp5l::after{bottom:calc(-0.7291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking.svelte-10bcp5l.svelte-10bcp5l::after{bottom:calc(-0.7291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking.svelte-10bcp5l.svelte-10bcp5l::after{bottom:calc(-0.5614583333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking.svelte-10bcp5l.svelte-10bcp5l::after{bottom:calc(-0.8020833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking.svelte-10bcp5l.svelte-10bcp5l::after{bottom:calc(-0.5104166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking.svelte-10bcp5l.svelte-10bcp5l::after{bottom:calc(-0.65625 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking.svelte-10bcp5l.svelte-10bcp5l::after{bottom:calc(-0.8020833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking.svelte-10bcp5l.svelte-10bcp5l::after{width:calc(1.35234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking.svelte-10bcp5l.svelte-10bcp5l::after{width:calc(1.35234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking.svelte-10bcp5l.svelte-10bcp5l::after{width:calc(1.0413046875 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking.svelte-10bcp5l.svelte-10bcp5l::after{width:calc(1.487578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking.svelte-10bcp5l.svelte-10bcp5l::after{width:calc(0.946640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking.svelte-10bcp5l.svelte-10bcp5l::after{width:calc(1.217109375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking.svelte-10bcp5l.svelte-10bcp5l::after{width:calc(1.487578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking.svelte-10bcp5l.svelte-10bcp5l::after{height:calc(1.1525364583 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking.svelte-10bcp5l.svelte-10bcp5l::after{height:calc(1.1525364583 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking.svelte-10bcp5l.svelte-10bcp5l::after{height:calc(0.8874530729 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking.svelte-10bcp5l.svelte-10bcp5l::after{height:calc(1.2677901042 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking.svelte-10bcp5l.svelte-10bcp5l::after{height:calc(0.8067755208 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking.svelte-10bcp5l.svelte-10bcp5l::after{height:calc(1.0372828125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking.svelte-10bcp5l.svelte-10bcp5l::after{height:calc(1.2677901042 * 100vw + 0px)}}.shooting-range-matchmaking__background.svelte-10bcp5l.svelte-10bcp5l{z-index:-1;width:100%;height:100%}.shooting-range-matchmaking__left-background-wrapper.svelte-10bcp5l.svelte-10bcp5l{z-index:2;position:absolute;left:calc(0.03125 * 100vw + 0px);top:calc(0.0520833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__left-background-wrapper.svelte-10bcp5l.svelte-10bcp5l{left:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__left-background-wrapper.svelte-10bcp5l.svelte-10bcp5l{left:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__left-background-wrapper.svelte-10bcp5l.svelte-10bcp5l{left:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__left-background-wrapper.svelte-10bcp5l.svelte-10bcp5l{left:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__left-background-wrapper.svelte-10bcp5l.svelte-10bcp5l{left:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__left-background-wrapper.svelte-10bcp5l.svelte-10bcp5l{left:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__left-background-wrapper.svelte-10bcp5l.svelte-10bcp5l{left:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__left-background-wrapper.svelte-10bcp5l.svelte-10bcp5l{top:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__left-background-wrapper.svelte-10bcp5l.svelte-10bcp5l{top:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__left-background-wrapper.svelte-10bcp5l.svelte-10bcp5l{top:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__left-background-wrapper.svelte-10bcp5l.svelte-10bcp5l{top:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__left-background-wrapper.svelte-10bcp5l.svelte-10bcp5l{top:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__left-background-wrapper.svelte-10bcp5l.svelte-10bcp5l{top:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__left-background-wrapper.svelte-10bcp5l.svelte-10bcp5l{top:calc(0.0572916667 * 100vw + 0px)}}.shooting-range-matchmaking__left-background.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.4166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__left-background.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__left-background.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__left-background.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.3208333333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__left-background.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.4583333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__left-background.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.2916666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__left-background.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__left-background.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.4583333333 * 100vw + 0px)}}.shooting-range-matchmaking__title.svelte-10bcp5l.svelte-10bcp5l{position:absolute;font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.04375 * 100vw + 0px);line-height:calc(0.039375 * 100vw + 0px);top:calc(0.0708333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.04375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.04375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0336875 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.030625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.039375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.048125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__title.svelte-10bcp5l.svelte-10bcp5l{line-height:calc(0.039375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__title.svelte-10bcp5l.svelte-10bcp5l{line-height:calc(0.039375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__title.svelte-10bcp5l.svelte-10bcp5l{line-height:calc(0.03031875 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__title.svelte-10bcp5l.svelte-10bcp5l{line-height:calc(0.0433125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__title.svelte-10bcp5l.svelte-10bcp5l{line-height:calc(0.0275625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__title.svelte-10bcp5l.svelte-10bcp5l{line-height:calc(0.0354375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__title.svelte-10bcp5l.svelte-10bcp5l{line-height:calc(0.0433125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__title.svelte-10bcp5l.svelte-10bcp5l{top:calc(0.0708333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__title.svelte-10bcp5l.svelte-10bcp5l{top:calc(0.0708333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__title.svelte-10bcp5l.svelte-10bcp5l{top:calc(0.0545416667 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__title.svelte-10bcp5l.svelte-10bcp5l{top:calc(0.0779166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__title.svelte-10bcp5l.svelte-10bcp5l{top:calc(0.0495833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__title.svelte-10bcp5l.svelte-10bcp5l{top:calc(0.06375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__title.svelte-10bcp5l.svelte-10bcp5l{top:calc(0.0779166667 * 100vw + 0px)}}.shooting-range-matchmaking__title--bold.svelte-10bcp5l.svelte-10bcp5l{font-family:\"GothamPro-Bold\"}.shooting-range-matchmaking__rating-wrapper.svelte-10bcp5l.svelte-10bcp5l{z-index:2;position:absolute;top:calc(0.175 * 100vw + 0px);left:calc(0.3567708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__rating-wrapper.svelte-10bcp5l.svelte-10bcp5l{top:calc(0.175 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__rating-wrapper.svelte-10bcp5l.svelte-10bcp5l{top:calc(0.175 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__rating-wrapper.svelte-10bcp5l.svelte-10bcp5l{top:calc(0.13475 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__rating-wrapper.svelte-10bcp5l.svelte-10bcp5l{top:calc(0.1925 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__rating-wrapper.svelte-10bcp5l.svelte-10bcp5l{top:calc(0.1225 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__rating-wrapper.svelte-10bcp5l.svelte-10bcp5l{top:calc(0.1575 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__rating-wrapper.svelte-10bcp5l.svelte-10bcp5l{top:calc(0.1925 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__rating-wrapper.svelte-10bcp5l.svelte-10bcp5l{left:calc(0.3567708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__rating-wrapper.svelte-10bcp5l.svelte-10bcp5l{left:calc(0.3567708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__rating-wrapper.svelte-10bcp5l.svelte-10bcp5l{left:calc(0.2747135417 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__rating-wrapper.svelte-10bcp5l.svelte-10bcp5l{left:calc(0.3924479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__rating-wrapper.svelte-10bcp5l.svelte-10bcp5l{left:calc(0.2497395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__rating-wrapper.svelte-10bcp5l.svelte-10bcp5l{left:calc(0.32109375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__rating-wrapper.svelte-10bcp5l.svelte-10bcp5l{left:calc(0.3924479167 * 100vw + 0px)}}.shooting-range-matchmaking__info-wrapper.svelte-10bcp5l.svelte-10bcp5l{display:flex;gap:calc(0.0208333333 * 100vw + 0px);margin-bottom:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__info-wrapper.svelte-10bcp5l.svelte-10bcp5l{gap:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__info-wrapper.svelte-10bcp5l.svelte-10bcp5l{gap:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__info-wrapper.svelte-10bcp5l.svelte-10bcp5l{gap:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__info-wrapper.svelte-10bcp5l.svelte-10bcp5l{gap:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__info-wrapper.svelte-10bcp5l.svelte-10bcp5l{gap:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__info-wrapper.svelte-10bcp5l.svelte-10bcp5l{gap:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__info-wrapper.svelte-10bcp5l.svelte-10bcp5l{gap:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__info-wrapper.svelte-10bcp5l.svelte-10bcp5l{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__info-wrapper.svelte-10bcp5l.svelte-10bcp5l{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__info-wrapper.svelte-10bcp5l.svelte-10bcp5l{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__info-wrapper.svelte-10bcp5l.svelte-10bcp5l{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__info-wrapper.svelte-10bcp5l.svelte-10bcp5l{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__info-wrapper.svelte-10bcp5l.svelte-10bcp5l{margin-bottom:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__info-wrapper.svelte-10bcp5l.svelte-10bcp5l{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}.shooting-range-matchmaking__info.svelte-10bcp5l.svelte-10bcp5l{display:flex;align-items:center;gap:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__info.svelte-10bcp5l.svelte-10bcp5l{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__info.svelte-10bcp5l.svelte-10bcp5l{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__info.svelte-10bcp5l.svelte-10bcp5l{gap:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__info.svelte-10bcp5l.svelte-10bcp5l{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__info.svelte-10bcp5l.svelte-10bcp5l{gap:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__info.svelte-10bcp5l.svelte-10bcp5l{gap:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__info.svelte-10bcp5l.svelte-10bcp5l{gap:calc(0.0080208333 * 100vw + 0px)}}.shooting-range-matchmaking__info-img.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0197916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__info-img.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__info-img.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__info-img.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0152395833 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__info-img.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0217708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__info-img.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0138541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__info-img.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0178125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__info-img.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0217708333 * 100vw + 0px)}}.shooting-range-matchmaking__info-title.svelte-10bcp5l.svelte-10bcp5l{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__info-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__info-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__info-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__info-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__info-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__info-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__info-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0183333333 * 100vw + 0px)}}.shooting-range-matchmaking__stats-title.svelte-10bcp5l.svelte-10bcp5l{font-family:\"GothamPro-Medium\";color:rgba(255, 255, 255, 0.8);font-size:calc(0.0125 * 100vw + 0px);margin-bottom:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__stats-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__stats-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__stats-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__stats-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__stats-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__stats-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__stats-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__stats-title.svelte-10bcp5l.svelte-10bcp5l{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__stats-title.svelte-10bcp5l.svelte-10bcp5l{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__stats-title.svelte-10bcp5l.svelte-10bcp5l{margin-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__stats-title.svelte-10bcp5l.svelte-10bcp5l{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__stats-title.svelte-10bcp5l.svelte-10bcp5l{margin-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__stats-title.svelte-10bcp5l.svelte-10bcp5l{margin-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__stats-title.svelte-10bcp5l.svelte-10bcp5l{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}.shooting-range-matchmaking__stats.svelte-10bcp5l.svelte-10bcp5l{display:flex;gap:calc(0.0052083333 * 100vw + 0px);margin-bottom:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__stats.svelte-10bcp5l.svelte-10bcp5l{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__stats.svelte-10bcp5l.svelte-10bcp5l{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__stats.svelte-10bcp5l.svelte-10bcp5l{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__stats.svelte-10bcp5l.svelte-10bcp5l{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__stats.svelte-10bcp5l.svelte-10bcp5l{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__stats.svelte-10bcp5l.svelte-10bcp5l{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__stats.svelte-10bcp5l.svelte-10bcp5l{gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__stats.svelte-10bcp5l.svelte-10bcp5l{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__stats.svelte-10bcp5l.svelte-10bcp5l{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__stats.svelte-10bcp5l.svelte-10bcp5l{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__stats.svelte-10bcp5l.svelte-10bcp5l{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__stats.svelte-10bcp5l.svelte-10bcp5l{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__stats.svelte-10bcp5l.svelte-10bcp5l{margin-bottom:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__stats.svelte-10bcp5l.svelte-10bcp5l{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{background-color:rgba(255, 255, 255, 0.1);padding-top:calc(0.009375 * 100vw + 0px);padding-bottom:calc(0.009375 * 100vw + 0px);padding-left:calc(0.0088541667 * 100vw + 0px);border-radius:calc(0.0041666667 * 100vw + 0px);width:calc(0.0916666667 * 100vw + 0px);height:calc(0.0489583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{padding-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{padding-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{padding-top:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{padding-top:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{padding-top:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{padding-top:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{padding-top:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{padding-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{padding-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{padding-bottom:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{padding-bottom:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{padding-bottom:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{padding-bottom:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{padding-bottom:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{padding-left:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{padding-left:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{padding-left:calc(0.0068177083 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{padding-left:calc(0.0097395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{padding-left:calc(0.0061979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{padding-left:calc(0.00796875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{padding-left:calc(0.0097395833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0916666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0916666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0705833333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.1008333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0641666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0825 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.1008333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0489583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0489583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0376979167 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0538541667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0342708333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0440625 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0538541667 * 100vw + 0px)}}.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l:nth-child(3){width:calc(0.1020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l:nth-child(3){width:calc(0.1020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l:nth-child(3){width:calc(0.1020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l:nth-child(3){width:calc(0.0786041667 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l:nth-child(3){width:calc(0.1122916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l:nth-child(3){width:calc(0.0714583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l:nth-child(3){width:calc(0.091875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__stats-item.svelte-10bcp5l.svelte-10bcp5l:nth-child(3){width:calc(0.1122916667 * 100vw + 0px)}}.shooting-range-matchmaking__stats-item-title.svelte-10bcp5l.svelte-10bcp5l{color:rgba(255, 255, 255, 0.8);font-family:\"GothamPro-Medium\";font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__stats-item-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__stats-item-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__stats-item-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__stats-item-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__stats-item-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__stats-item-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__stats-item-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0091666667 * 100vw + 0px)}}.shooting-range-matchmaking__stats-item-value.svelte-10bcp5l.svelte-10bcp5l{color:#FFFFFF;font-family:\"GothamPro-Bold\";font-size:calc(0.0166666667 * 100vw + 0px);margin-top:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__stats-item-value.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__stats-item-value.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__stats-item-value.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__stats-item-value.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__stats-item-value.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__stats-item-value.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__stats-item-value.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__stats-item-value.svelte-10bcp5l.svelte-10bcp5l{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__stats-item-value.svelte-10bcp5l.svelte-10bcp5l{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__stats-item-value.svelte-10bcp5l.svelte-10bcp5l{margin-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__stats-item-value.svelte-10bcp5l.svelte-10bcp5l{margin-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__stats-item-value.svelte-10bcp5l.svelte-10bcp5l{margin-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__stats-item-value.svelte-10bcp5l.svelte-10bcp5l{margin-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__stats-item-value.svelte-10bcp5l.svelte-10bcp5l{margin-top:calc(0.0057291667 * 100vw + 0px)}}.shooting-range-matchmaking__rating-title.svelte-10bcp5l.svelte-10bcp5l{color:rgba(255, 255, 255, 0.8);font-family:\"GothamPro-Medium\";font-size:calc(0.0125 * 100vw + 0px);margin-bottom:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__rating-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__rating-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__rating-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__rating-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__rating-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__rating-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__rating-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__rating-title.svelte-10bcp5l.svelte-10bcp5l{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__rating-title.svelte-10bcp5l.svelte-10bcp5l{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__rating-title.svelte-10bcp5l.svelte-10bcp5l{margin-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__rating-title.svelte-10bcp5l.svelte-10bcp5l{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__rating-title.svelte-10bcp5l.svelte-10bcp5l{margin-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__rating-title.svelte-10bcp5l.svelte-10bcp5l{margin-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__rating-title.svelte-10bcp5l.svelte-10bcp5l{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}.shooting-range-matchmaking__rating-titles.svelte-10bcp5l.svelte-10bcp5l{display:flex;color:rgba(255, 255, 255, 0.6);font-family:\"GothamPro-Medium\";font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__rating-titles.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__rating-titles.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__rating-titles.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__rating-titles.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__rating-titles.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__rating-titles.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__rating-titles.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0080208333 * 100vw + 0px)}}.shooting-range-matchmaking__rating-title-place.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0302083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__rating-title-place.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__rating-title-place.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__rating-title-place.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0232604167 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__rating-title-place.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0332291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__rating-title-place.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0211458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__rating-title-place.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0271875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__rating-title-place.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0332291667 * 100vw + 0px)}}.shooting-range-matchmaking__rating-title-name.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.18125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__rating-title-name.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.18125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__rating-title-name.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.18125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__rating-title-name.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.1395625 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__rating-title-name.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.199375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__rating-title-name.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.126875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__rating-title-name.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.163125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__rating-title-name.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.199375 * 100vw + 0px)}}.shooting-range-matchmaking__rating-title-targets-hit.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.115625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__rating-title-targets-hit.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.115625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__rating-title-targets-hit.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.115625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__rating-title-targets-hit.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.08903125 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__rating-title-targets-hit.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.1271875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__rating-title-targets-hit.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0809375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__rating-title-targets-hit.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.1040625 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__rating-title-targets-hit.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.1271875 * 100vw + 0px)}}.shooting-range-matchmaking__rating-title-percent-hit.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.1052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__rating-title-percent-hit.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.1052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__rating-title-percent-hit.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.1052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__rating-title-percent-hit.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0810104167 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__rating-title-percent-hit.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.1157291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__rating-title-percent-hit.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0736458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__rating-title-percent-hit.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0946875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__rating-title-percent-hit.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.1157291667 * 100vw + 0px)}}.shooting-range-matchmaking__rating-item.svelte-10bcp5l.svelte-10bcp5l{display:flex;margin-top:calc(0.0036458333 * 100vw + 0px);gap:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__rating-item.svelte-10bcp5l.svelte-10bcp5l{margin-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__rating-item.svelte-10bcp5l.svelte-10bcp5l{margin-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__rating-item.svelte-10bcp5l.svelte-10bcp5l{margin-top:calc(0.0028072917 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__rating-item.svelte-10bcp5l.svelte-10bcp5l{margin-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__rating-item.svelte-10bcp5l.svelte-10bcp5l{margin-top:calc(0.0025520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__rating-item.svelte-10bcp5l.svelte-10bcp5l{margin-top:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__rating-item.svelte-10bcp5l.svelte-10bcp5l{margin-top:calc(0.0040104167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__rating-item.svelte-10bcp5l.svelte-10bcp5l{gap:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__rating-item.svelte-10bcp5l.svelte-10bcp5l{gap:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__rating-item.svelte-10bcp5l.svelte-10bcp5l{gap:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__rating-item.svelte-10bcp5l.svelte-10bcp5l{gap:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__rating-item.svelte-10bcp5l.svelte-10bcp5l{gap:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__rating-item.svelte-10bcp5l.svelte-10bcp5l{gap:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__rating-item.svelte-10bcp5l.svelte-10bcp5l{gap:calc(0.0022916667 * 100vw + 0px)}}.shooting-range-matchmaking__rating-item--player.svelte-10bcp5l.svelte-10bcp5l{border:2px solid #86CD7F;border-radius:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__rating-item--player.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__rating-item--player.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__rating-item--player.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__rating-item--player.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__rating-item--player.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__rating-item--player.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__rating-item--player.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0045833333 * 100vw + 0px)}}.shooting-range-matchmaking__rating-item--player.svelte-10bcp5l .shooting-range-matchmaking__item-place-wrapper.svelte-10bcp5l,.shooting-range-matchmaking__rating-item--player.svelte-10bcp5l .shooting-range-matchmaking__item-name.svelte-10bcp5l,.shooting-range-matchmaking__rating-item--player.svelte-10bcp5l .shooting-range-matchmaking__item-name.svelte-10bcp5l,.shooting-range-matchmaking__rating-item--player.svelte-10bcp5l .shooting-range-matchmaking__item-targets-hit.svelte-10bcp5l,.shooting-range-matchmaking__rating-item--player.svelte-10bcp5l .shooting-range-matchmaking__item-percent-hit.svelte-10bcp5l{background-color:rgba(69, 107, 66, 0.3)}.shooting-range-matchmaking__item-place-wrapper.svelte-10bcp5l.svelte-10bcp5l{display:flex;align-items:center;justify-content:center;background-color:rgba(255, 255, 255, 0.1);border-radius:calc(0.0041666667 * 100vw + 0px);width:calc(0.028125 * 100vw + 0px);height:calc(0.028125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__item-place-wrapper.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__item-place-wrapper.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__item-place-wrapper.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__item-place-wrapper.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__item-place-wrapper.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__item-place-wrapper.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__item-place-wrapper.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__item-place-wrapper.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.028125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__item-place-wrapper.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.028125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__item-place-wrapper.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.02165625 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__item-place-wrapper.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0309375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__item-place-wrapper.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__item-place-wrapper.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0253125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__item-place-wrapper.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0309375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__item-place-wrapper.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.028125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__item-place-wrapper.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.028125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__item-place-wrapper.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.02165625 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__item-place-wrapper.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0309375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__item-place-wrapper.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__item-place-wrapper.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0253125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__item-place-wrapper.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0309375 * 100vw + 0px)}}.shooting-range-matchmaking__item-name.svelte-10bcp5l.svelte-10bcp5l{display:flex;align-items:center;background-color:rgba(255, 255, 255, 0.1);border-radius:calc(0.0041666667 * 100vw + 0px);padding-left:calc(0.0088541667 * 100vw + 0px);width:calc(0.1791666667 * 100vw + 0px);height:calc(0.028125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__item-name.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__item-name.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__item-name.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__item-name.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__item-name.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__item-name.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__item-name.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__item-name.svelte-10bcp5l.svelte-10bcp5l{padding-left:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__item-name.svelte-10bcp5l.svelte-10bcp5l{padding-left:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__item-name.svelte-10bcp5l.svelte-10bcp5l{padding-left:calc(0.0068177083 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__item-name.svelte-10bcp5l.svelte-10bcp5l{padding-left:calc(0.0097395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__item-name.svelte-10bcp5l.svelte-10bcp5l{padding-left:calc(0.0061979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__item-name.svelte-10bcp5l.svelte-10bcp5l{padding-left:calc(0.00796875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__item-name.svelte-10bcp5l.svelte-10bcp5l{padding-left:calc(0.0097395833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__item-name.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.1791666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__item-name.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.1791666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__item-name.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.1379583333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__item-name.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.1970833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__item-name.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.1254166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__item-name.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.16125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__item-name.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.1970833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__item-name.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.028125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__item-name.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.028125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__item-name.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.02165625 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__item-name.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0309375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__item-name.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__item-name.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0253125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__item-name.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0309375 * 100vw + 0px)}}.shooting-range-matchmaking__item-targets-hit.svelte-10bcp5l.svelte-10bcp5l{display:flex;align-items:center;background-color:rgba(255, 255, 255, 0.1);border-radius:calc(0.0041666667 * 100vw + 0px);padding-left:calc(0.0088541667 * 100vw + 0px);width:calc(0.1135416667 * 100vw + 0px);height:calc(0.028125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__item-targets-hit.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__item-targets-hit.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__item-targets-hit.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__item-targets-hit.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__item-targets-hit.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__item-targets-hit.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__item-targets-hit.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__item-targets-hit.svelte-10bcp5l.svelte-10bcp5l{padding-left:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__item-targets-hit.svelte-10bcp5l.svelte-10bcp5l{padding-left:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__item-targets-hit.svelte-10bcp5l.svelte-10bcp5l{padding-left:calc(0.0068177083 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__item-targets-hit.svelte-10bcp5l.svelte-10bcp5l{padding-left:calc(0.0097395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__item-targets-hit.svelte-10bcp5l.svelte-10bcp5l{padding-left:calc(0.0061979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__item-targets-hit.svelte-10bcp5l.svelte-10bcp5l{padding-left:calc(0.00796875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__item-targets-hit.svelte-10bcp5l.svelte-10bcp5l{padding-left:calc(0.0097395833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__item-targets-hit.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.1135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__item-targets-hit.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.1135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__item-targets-hit.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0874270833 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__item-targets-hit.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.1248958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__item-targets-hit.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0794791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__item-targets-hit.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.1021875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__item-targets-hit.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.1248958333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__item-targets-hit.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.028125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__item-targets-hit.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.028125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__item-targets-hit.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.02165625 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__item-targets-hit.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0309375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__item-targets-hit.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__item-targets-hit.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0253125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__item-targets-hit.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0309375 * 100vw + 0px)}}.shooting-range-matchmaking__item-percent-hit.svelte-10bcp5l.svelte-10bcp5l{display:flex;align-items:center;background-color:rgba(255, 255, 255, 0.1);border-radius:calc(0.0041666667 * 100vw + 0px);padding-left:calc(0.0088541667 * 100vw + 0px);width:calc(0.103125 * 100vw + 0px);height:calc(0.028125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__item-percent-hit.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__item-percent-hit.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__item-percent-hit.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__item-percent-hit.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__item-percent-hit.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__item-percent-hit.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__item-percent-hit.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__item-percent-hit.svelte-10bcp5l.svelte-10bcp5l{padding-left:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__item-percent-hit.svelte-10bcp5l.svelte-10bcp5l{padding-left:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__item-percent-hit.svelte-10bcp5l.svelte-10bcp5l{padding-left:calc(0.0068177083 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__item-percent-hit.svelte-10bcp5l.svelte-10bcp5l{padding-left:calc(0.0097395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__item-percent-hit.svelte-10bcp5l.svelte-10bcp5l{padding-left:calc(0.0061979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__item-percent-hit.svelte-10bcp5l.svelte-10bcp5l{padding-left:calc(0.00796875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__item-percent-hit.svelte-10bcp5l.svelte-10bcp5l{padding-left:calc(0.0097395833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__item-percent-hit.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.103125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__item-percent-hit.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.103125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__item-percent-hit.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.07940625 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__item-percent-hit.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.1134375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__item-percent-hit.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0721875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__item-percent-hit.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0928125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__item-percent-hit.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.1134375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__item-percent-hit.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.028125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__item-percent-hit.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.028125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__item-percent-hit.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.02165625 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__item-percent-hit.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0309375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__item-percent-hit.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__item-percent-hit.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0253125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__item-percent-hit.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0309375 * 100vw + 0px)}}.shooting-range-matchmaking__item-img.svelte-10bcp5l.svelte-10bcp5l{position:absolute;left:0;width:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__item-img.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__item-img.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__item-img.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__item-img.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__item-img.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__item-img.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__item-img.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0045833333 * 100vw + 0px)}}.shooting-range-matchmaking__item-title.svelte-10bcp5l.svelte-10bcp5l{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__item-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__item-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__item-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__item-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__item-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__item-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__item-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0091666667 * 100vw + 0px)}}.shooting-range-matchmaking__buttons.svelte-10bcp5l.svelte-10bcp5l{z-index:2;position:absolute;display:flex;gap:calc(0.0104166667 * 100vw + 0px);bottom:calc(0.03125 * 100vw + 0px);left:calc(0.0666666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__buttons.svelte-10bcp5l.svelte-10bcp5l{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__buttons.svelte-10bcp5l.svelte-10bcp5l{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__buttons.svelte-10bcp5l.svelte-10bcp5l{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__buttons.svelte-10bcp5l.svelte-10bcp5l{gap:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__buttons.svelte-10bcp5l.svelte-10bcp5l{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__buttons.svelte-10bcp5l.svelte-10bcp5l{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__buttons.svelte-10bcp5l.svelte-10bcp5l{gap:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__buttons.svelte-10bcp5l.svelte-10bcp5l{bottom:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__buttons.svelte-10bcp5l.svelte-10bcp5l{bottom:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__buttons.svelte-10bcp5l.svelte-10bcp5l{bottom:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__buttons.svelte-10bcp5l.svelte-10bcp5l{bottom:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__buttons.svelte-10bcp5l.svelte-10bcp5l{bottom:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__buttons.svelte-10bcp5l.svelte-10bcp5l{bottom:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__buttons.svelte-10bcp5l.svelte-10bcp5l{bottom:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__buttons.svelte-10bcp5l.svelte-10bcp5l{left:calc(0.0666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__buttons.svelte-10bcp5l.svelte-10bcp5l{left:calc(0.0666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__buttons.svelte-10bcp5l.svelte-10bcp5l{left:calc(0.0513333333 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__buttons.svelte-10bcp5l.svelte-10bcp5l{left:calc(0.0733333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__buttons.svelte-10bcp5l.svelte-10bcp5l{left:calc(0.0466666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__buttons.svelte-10bcp5l.svelte-10bcp5l{left:calc(0.06 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__buttons.svelte-10bcp5l.svelte-10bcp5l{left:calc(0.0733333333 * 100vw + 0px)}}.shooting-range-matchmaking__button-start.svelte-10bcp5l.svelte-10bcp5l{display:flex;align-items:center;justify-content:center;background-color:#F2C94C;transition:background-color 0.2s linear;cursor:pointer;border-radius:calc(0.0026041667 * 100vw + 0px);width:calc(0.2083333333 * 100vw + 0px);height:calc(0.0447916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__button-start.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__button-start.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__button-start.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__button-start.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__button-start.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__button-start.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__button-start.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__button-start.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.2083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__button-start.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.2083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__button-start.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.1604166667 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__button-start.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.2291666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__button-start.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.1458333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__button-start.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.1875 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__button-start.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.2291666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__button-start.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__button-start.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__button-start.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0344895833 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__button-start.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0492708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__button-start.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0313541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__button-start.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0403125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__button-start.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0492708333 * 100vw + 0px)}}.shooting-range-matchmaking__button-start.svelte-10bcp5l.svelte-10bcp5l:hover{background-color:rgba(242, 201, 76, 0.5)}.shooting-range-matchmaking__button-start-title.svelte-10bcp5l.svelte-10bcp5l{font-family:\"GothamPro-Bold\";color:#322B16;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__button-start-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__button-start-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__button-start-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__button-start-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__button-start-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__button-start-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__button-start-title.svelte-10bcp5l.svelte-10bcp5l{font-size:calc(0.0103125 * 100vw + 0px)}}.shooting-range-matchmaking__button-info.svelte-10bcp5l.svelte-10bcp5l{display:flex;align-items:center;justify-content:center;background-color:rgba(255, 255, 255, 0.2);transition:background-color 0.2s linear;cursor:pointer;border-radius:calc(0.0026041667 * 100vw + 0px);width:calc(0.0447916667 * 100vw + 0px);height:calc(0.0447916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__button-info.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__button-info.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__button-info.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__button-info.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__button-info.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__button-info.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__button-info.svelte-10bcp5l.svelte-10bcp5l{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__button-info.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__button-info.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__button-info.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0344895833 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__button-info.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0492708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__button-info.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0313541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__button-info.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0403125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__button-info.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0492708333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__button-info.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__button-info.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__button-info.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0344895833 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__button-info.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0492708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__button-info.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0313541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__button-info.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0403125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__button-info.svelte-10bcp5l.svelte-10bcp5l{height:calc(0.0492708333 * 100vw + 0px)}}.shooting-range-matchmaking__button-info.svelte-10bcp5l.svelte-10bcp5l:hover{background-color:rgba(255, 255, 255, 0.1)}.shooting-range-matchmaking__button-info-img.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shooting-range-matchmaking__button-info-img.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shooting-range-matchmaking__button-info-img.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shooting-range-matchmaking__button-info-img.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.shooting-range-matchmaking__button-info-img.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shooting-range-matchmaking__button-info-img.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shooting-range-matchmaking__button-info-img.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.shooting-range-matchmaking__button-info-img.svelte-10bcp5l.svelte-10bcp5l{width:calc(0.01375 * 100vw + 0px)}}");
}

function matchmaking_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[9] = list[i];
	return child_ctx;
}

// (2843:4) {#if !isEmpty(currentPlayerInformation)}
function matchmaking_index_svelte_create_if_block(ctx) {
	let div11;
	let div2;
	let div0;
	let img0;
	let img0_src_value;
	let t0;
	let p0;
	let t1_value = /*currentPlayerInformation*/ ctx[0].time + "";
	let t1;
	let t2;
	let t3;
	let div1;
	let img1;
	let img1_src_value;
	let t4;
	let p1;
	let t5_value = /*currentPlayerInformation*/ ctx[0].position + "";
	let t5;
	let t6;
	let t7;
	let div7;
	let p2;
	let t9;
	let div6;
	let div3;
	let p3;
	let t11;
	let p4;
	let t12_value = /*currentPlayerInformation*/ ctx[0].totalShots + "";
	let t12;
	let t13;
	let div4;
	let p5;
	let t15;
	let p6;
	let t16_value = /*currentPlayerInformation*/ ctx[0].percentHit + "";
	let t16;
	let t17;
	let t18;
	let div5;
	let p7;
	let t20;
	let p8;
	let t21_value = /*currentPlayerInformation*/ ctx[0].targetsHit + "";
	let t21;
	let t22;
	let p9;
	let t24;
	let div10;
	let div8;
	let t32;
	let div9;
	let t33;
	let current;
	let each_value = /*rating*/ ctx[1];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = matchmaking_index_svelte_create_each_block(matchmaking_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	let if_block = /*currentPlayerInformation*/ ctx[0].position > 3 && matchmaking_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			div11 = internal_element("div");
			div2 = internal_element("div");
			div0 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = internal_text(" мин");
			t3 = space();
			div1 = internal_element("div");
			img1 = internal_element("img");
			t4 = space();
			p1 = internal_element("p");
			t5 = internal_text(t5_value);
			t6 = internal_text(" место");
			t7 = space();
			div7 = internal_element("div");
			p2 = internal_element("p");
			p2.textContent = "Твоя статистика:";
			t9 = space();
			div6 = internal_element("div");
			div3 = internal_element("div");
			p3 = internal_element("p");
			p3.textContent = "Всего выстрелов";
			t11 = space();
			p4 = internal_element("p");
			t12 = internal_text(t12_value);
			t13 = space();
			div4 = internal_element("div");
			p5 = internal_element("p");
			p5.textContent = "% попаданий";
			t15 = space();
			p6 = internal_element("p");
			t16 = internal_text(t16_value);
			t17 = internal_text("%");
			t18 = space();
			div5 = internal_element("div");
			p7 = internal_element("p");
			p7.textContent = "Мишеней поражено";
			t20 = space();
			p8 = internal_element("p");
			t21 = internal_text(t21_value);
			t22 = space();
			p9 = internal_element("p");
			p9.textContent = "Рейтинг:";
			t24 = space();
			div10 = internal_element("div");
			div8 = internal_element("div");

			div8.innerHTML = `<p class="shooting-range-matchmaking__rating-title-place svelte-10bcp5l">№</p> 
                    <p class="shooting-range-matchmaking__rating-title-name svelte-10bcp5l">Никнейм</p> 
                    <p class="shooting-range-matchmaking__rating-title-targets-hit svelte-10bcp5l">Мишеней поражено</p> 
                    <p class="shooting-range-matchmaking__rating-title-percent-hit svelte-10bcp5l">Процент попаданий</p>`;

			t32 = space();
			div9 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t33 = space();
			if (if_block) if_block.c();
			attr(img0, "class", "shooting-range-matchmaking__info-img svelte-10bcp5l");
			if (!src_url_equal(img0.src, img0_src_value = time_image_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "time");
			attr(p0, "class", "shooting-range-matchmaking__info-title svelte-10bcp5l");
			attr(div0, "class", "shooting-range-matchmaking__info svelte-10bcp5l");
			attr(img1, "class", "shooting-range-matchmaking__info-img svelte-10bcp5l");
			if (!src_url_equal(img1.src, img1_src_value = matchmaking_place_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "place");
			attr(p1, "class", "shooting-range-matchmaking__info-title svelte-10bcp5l");
			attr(div1, "class", "shooting-range-matchmaking__info svelte-10bcp5l");
			attr(div2, "class", "shooting-range-matchmaking__info-wrapper svelte-10bcp5l");
			attr(p2, "class", "shooting-range-matchmaking__stats-title svelte-10bcp5l");
			attr(p3, "class", "shooting-range-matchmaking__stats-item-title svelte-10bcp5l");
			attr(p4, "class", "shooting-range-matchmaking__stats-item-value svelte-10bcp5l");
			attr(div3, "class", "shooting-range-matchmaking__stats-item svelte-10bcp5l");
			attr(p5, "class", "shooting-range-matchmaking__stats-item-title svelte-10bcp5l");
			attr(p6, "class", "shooting-range-matchmaking__stats-item-value svelte-10bcp5l");
			attr(div4, "class", "shooting-range-matchmaking__stats-item svelte-10bcp5l");
			attr(p7, "class", "shooting-range-matchmaking__stats-item-title svelte-10bcp5l");
			attr(p8, "class", "shooting-range-matchmaking__stats-item-value svelte-10bcp5l");
			attr(div5, "class", "shooting-range-matchmaking__stats-item svelte-10bcp5l");
			attr(div6, "class", "shooting-range-matchmaking__stats svelte-10bcp5l");
			attr(div7, "class", "shooting-range-matchmaking__stats-wrapper");
			attr(p9, "class", "shooting-range-matchmaking__rating-title svelte-10bcp5l");
			attr(div8, "class", "shooting-range-matchmaking__rating-titles svelte-10bcp5l");
			attr(div9, "class", "shooting-range-matchmaking__rating-item-wrapper");
			attr(div10, "class", "shooting-range-matchmaking__rating");
			attr(div11, "class", "shooting-range-matchmaking__rating-wrapper svelte-10bcp5l");
		},
		m(target, anchor) {
			insert(target, div11, anchor);
			append(div11, div2);
			append(div2, div0);
			append(div0, img0);
			append(div0, t0);
			append(div0, p0);
			append(p0, t1);
			append(p0, t2);
			append(div2, t3);
			append(div2, div1);
			append(div1, img1);
			append(div1, t4);
			append(div1, p1);
			append(p1, t5);
			append(p1, t6);
			append(div11, t7);
			append(div11, div7);
			append(div7, p2);
			append(div7, t9);
			append(div7, div6);
			append(div6, div3);
			append(div3, p3);
			append(div3, t11);
			append(div3, p4);
			append(p4, t12);
			append(div6, t13);
			append(div6, div4);
			append(div4, p5);
			append(div4, t15);
			append(div4, p6);
			append(p6, t16);
			append(p6, t17);
			append(div6, t18);
			append(div6, div5);
			append(div5, p7);
			append(div5, t20);
			append(div5, p8);
			append(p8, t21);
			append(div11, t22);
			append(div11, p9);
			append(div11, t24);
			append(div11, div10);
			append(div10, div8);
			append(div10, t32);
			append(div10, div9);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div9, null);
			}

			append(div9, t33);
			if (if_block) if_block.m(div9, null);
			current = true;
		},
		p(ctx, dirty) {
			if ((!current || dirty & /*currentPlayerInformation*/ 1) && t1_value !== (t1_value = /*currentPlayerInformation*/ ctx[0].time + "")) set_data(t1, t1_value);
			if ((!current || dirty & /*currentPlayerInformation*/ 1) && t5_value !== (t5_value = /*currentPlayerInformation*/ ctx[0].position + "")) set_data(t5, t5_value);
			if ((!current || dirty & /*currentPlayerInformation*/ 1) && t12_value !== (t12_value = /*currentPlayerInformation*/ ctx[0].totalShots + "")) set_data(t12, t12_value);
			if ((!current || dirty & /*currentPlayerInformation*/ 1) && t16_value !== (t16_value = /*currentPlayerInformation*/ ctx[0].percentHit + "")) set_data(t16, t16_value);
			if ((!current || dirty & /*currentPlayerInformation*/ 1) && t21_value !== (t21_value = /*currentPlayerInformation*/ ctx[0].targetsHit + "")) set_data(t21, t21_value);

			if (dirty & /*rating, currentPlayerInformation, MAP_POSITION_TO_COLOR*/ 3) {
				each_value = /*rating*/ ctx[1];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = matchmaking_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = matchmaking_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div9, t33);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}

			if (/*currentPlayerInformation*/ ctx[0].position > 3) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = matchmaking_index_svelte_create_if_block_1(ctx);
					if_block.c();
					if_block.m(div9, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div11);
			destroy_each(each_blocks, detaching);
			if (if_block) if_block.d();
		}
	};
}

// (2917:20) {#each rating as row}
function matchmaking_index_svelte_create_each_block(ctx) {
	let div4;
	let div0;
	let shieldicon;
	let t0;
	let div1;
	let p0;
	let t1_value = /*row*/ ctx[9].name + "";
	let t1;
	let t2;
	let div2;
	let p1;
	let t3_value = /*row*/ ctx[9].targetsHit + "";
	let t3;
	let t4;
	let div3;
	let p2;
	let t5_value = /*row*/ ctx[9].percentHit + "";
	let t5;
	let t6;
	let current;

	shieldicon = new matchmaking_components_shield_icon_index_svelte({
			props: {
				color: matchmaking_constants_MAP_POSITION_TO_COLOR[/*row*/ ctx[9].position]
			}
		});

	return {
		c() {
			div4 = internal_element("div");
			div0 = internal_element("div");
			create_component(shieldicon.$$.fragment);
			t0 = space();
			div1 = internal_element("div");
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			div2 = internal_element("div");
			p1 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = space();
			div3 = internal_element("div");
			p2 = internal_element("p");
			t5 = internal_text(t5_value);
			t6 = internal_text("%");
			attr(div0, "class", "shooting-range-matchmaking__item-place-wrapper svelte-10bcp5l");
			attr(p0, "class", "shooting-range-matchmaking__item-title svelte-10bcp5l");
			attr(div1, "class", "shooting-range-matchmaking__item-name svelte-10bcp5l");
			attr(p1, "class", "shooting-range-matchmaking__item-title svelte-10bcp5l");
			attr(div2, "class", "shooting-range-matchmaking__item-targets-hit svelte-10bcp5l");
			attr(p2, "class", "shooting-range-matchmaking__item-title svelte-10bcp5l");
			attr(div3, "class", "shooting-range-matchmaking__item-percent-hit svelte-10bcp5l");
			attr(div4, "class", "shooting-range-matchmaking__rating-item svelte-10bcp5l");
			toggle_class(div4, "shooting-range-matchmaking__rating-item--player", /*row*/ ctx[9].position === /*currentPlayerInformation*/ ctx[0].position);
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div0);
			mount_component(shieldicon, div0, null);
			append(div4, t0);
			append(div4, div1);
			append(div1, p0);
			append(p0, t1);
			append(div4, t2);
			append(div4, div2);
			append(div2, p1);
			append(p1, t3);
			append(div4, t4);
			append(div4, div3);
			append(div3, p2);
			append(p2, t5);
			append(p2, t6);
			current = true;
		},
		p(ctx, dirty) {
			const shieldicon_changes = {};
			if (dirty & /*rating*/ 2) shieldicon_changes.color = matchmaking_constants_MAP_POSITION_TO_COLOR[/*row*/ ctx[9].position];
			shieldicon.$set(shieldicon_changes);
			if ((!current || dirty & /*rating*/ 2) && t1_value !== (t1_value = /*row*/ ctx[9].name + "")) set_data(t1, t1_value);
			if ((!current || dirty & /*rating*/ 2) && t3_value !== (t3_value = /*row*/ ctx[9].targetsHit + "")) set_data(t3, t3_value);
			if ((!current || dirty & /*rating*/ 2) && t5_value !== (t5_value = /*row*/ ctx[9].percentHit + "")) set_data(t5, t5_value);

			if (dirty & /*rating, currentPlayerInformation*/ 3) {
				toggle_class(div4, "shooting-range-matchmaking__rating-item--player", /*row*/ ctx[9].position === /*currentPlayerInformation*/ ctx[0].position);
			}
		},
		i(local) {
			if (current) return;
			transition_in(shieldicon.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(shieldicon.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div4);
			destroy_component(shieldicon);
		}
	};
}

// (2942:20) {#if currentPlayerInformation.position > 3}
function matchmaking_index_svelte_create_if_block_1(ctx) {
	let div4;
	let div0;
	let img;
	let img_src_value;
	let t0;
	let p0;
	let t1_value = /*currentPlayerInformation*/ ctx[0].position + "";
	let t1;
	let t2;
	let div1;
	let p1;
	let t3_value = /*currentPlayerInformation*/ ctx[0].name + "";
	let t3;
	let t4;
	let div2;
	let p2;
	let t5_value = /*currentPlayerInformation*/ ctx[0].targetsHit + "";
	let t5;
	let t6;
	let div3;
	let p3;
	let t7_value = /*currentPlayerInformation*/ ctx[0].percentHit + "";
	let t7;
	let t8;

	return {
		c() {
			div4 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			div1 = internal_element("div");
			p1 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = space();
			div2 = internal_element("div");
			p2 = internal_element("p");
			t5 = internal_text(t5_value);
			t6 = space();
			div3 = internal_element("div");
			p3 = internal_element("p");
			t7 = internal_text(t7_value);
			t8 = internal_text("%");
			attr(img, "class", "shooting-range-matchmaking__item-img svelte-10bcp5l");
			if (!src_url_equal(img.src, img_src_value = matchmaking_decorative_place_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "decorative");
			attr(p0, "class", "shooting-range-matchmaking__item-title svelte-10bcp5l");
			attr(div0, "class", "shooting-range-matchmaking__item-place-wrapper svelte-10bcp5l");
			attr(p1, "class", "shooting-range-matchmaking__item-title svelte-10bcp5l");
			attr(div1, "class", "shooting-range-matchmaking__item-name svelte-10bcp5l");
			attr(p2, "class", "shooting-range-matchmaking__item-title svelte-10bcp5l");
			attr(div2, "class", "shooting-range-matchmaking__item-targets-hit svelte-10bcp5l");
			attr(p3, "class", "shooting-range-matchmaking__item-title svelte-10bcp5l");
			attr(div3, "class", "shooting-range-matchmaking__item-percent-hit svelte-10bcp5l");
			attr(div4, "class", "shooting-range-matchmaking__rating-item svelte-10bcp5l");
			toggle_class(div4, "shooting-range-matchmaking__rating-item--player", /*currentPlayerInformation*/ ctx[0].position > 3);
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div0);
			append(div0, img);
			append(div0, t0);
			append(div0, p0);
			append(p0, t1);
			append(div4, t2);
			append(div4, div1);
			append(div1, p1);
			append(p1, t3);
			append(div4, t4);
			append(div4, div2);
			append(div2, p2);
			append(p2, t5);
			append(div4, t6);
			append(div4, div3);
			append(div3, p3);
			append(p3, t7);
			append(p3, t8);
		},
		p(ctx, dirty) {
			if (dirty & /*currentPlayerInformation*/ 1 && t1_value !== (t1_value = /*currentPlayerInformation*/ ctx[0].position + "")) set_data(t1, t1_value);
			if (dirty & /*currentPlayerInformation*/ 1 && t3_value !== (t3_value = /*currentPlayerInformation*/ ctx[0].name + "")) set_data(t3, t3_value);
			if (dirty & /*currentPlayerInformation*/ 1 && t5_value !== (t5_value = /*currentPlayerInformation*/ ctx[0].targetsHit + "")) set_data(t5, t5_value);
			if (dirty & /*currentPlayerInformation*/ 1 && t7_value !== (t7_value = /*currentPlayerInformation*/ ctx[0].percentHit + "")) set_data(t7, t7_value);

			if (dirty & /*currentPlayerInformation*/ 1) {
				toggle_class(div4, "shooting-range-matchmaking__rating-item--player", /*currentPlayerInformation*/ ctx[0].position > 3);
			}
		},
		d(detaching) {
			if (detaching) detach(div4);
		}
	};
}

function matchmaking_index_svelte_create_fragment(ctx) {
	let div4;
	let exitbutton;
	let t0;
	let img0;
	let img0_src_value;
	let t1;
	let div0;
	let img1;
	let img1_src_value;
	let t2;
	let p0;
	let t6;
	let show_if = !(0,lodash.isEmpty)(/*currentPlayerInformation*/ ctx[0]);
	let t7;
	let div3;
	let div1;
	let t9;
	let div2;
	let img2;
	let img2_src_value;
	let current;
	let mounted;
	let dispose;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[2],
				fixedPosition: true
			}
		});

	let if_block = show_if && matchmaking_index_svelte_create_if_block(ctx);

	return {
		c() {
			div4 = internal_element("div");
			create_component(exitbutton.$$.fragment);
			t0 = space();
			img0 = internal_element("img");
			t1 = space();
			div0 = internal_element("div");
			img1 = internal_element("img");
			t2 = space();
			p0 = internal_element("p");

			p0.innerHTML = `Рейтинговая
        <br/> 
        <span class="shooting-range-matchmaking__title--bold svelte-10bcp5l">игра</span>`;

			t6 = space();
			if (if_block) if_block.c();
			t7 = space();
			div3 = internal_element("div");
			div1 = internal_element("div");
			div1.innerHTML = `<p class="shooting-range-matchmaking__button-start-title svelte-10bcp5l">Начать</p>`;
			t9 = space();
			div2 = internal_element("div");
			img2 = internal_element("img");
			attr(img0, "class", "shooting-range-matchmaking__background svelte-10bcp5l");
			if (!src_url_equal(img0.src, img0_src_value = background_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "background");
			attr(img1, "class", "shooting-range-matchmaking__left-background svelte-10bcp5l");
			if (!src_url_equal(img1.src, img1_src_value = matchmaking_logo_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "background");
			attr(div0, "class", "shooting-range-matchmaking__left-background-wrapper svelte-10bcp5l");
			attr(p0, "class", "shooting-range-matchmaking__title svelte-10bcp5l");
			attr(div1, "class", "shooting-range-matchmaking__button-start svelte-10bcp5l");
			attr(img2, "class", "shooting-range-matchmaking__button-info-img svelte-10bcp5l");
			if (!src_url_equal(img2.src, img2_src_value = matchmaking_button_decorative_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "info");
			attr(div2, "class", "shooting-range-matchmaking__button-info svelte-10bcp5l");
			attr(div3, "class", "shooting-range-matchmaking__buttons svelte-10bcp5l");
			attr(div4, "class", "shooting-range-matchmaking svelte-10bcp5l");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			mount_component(exitbutton, div4, null);
			append(div4, t0);
			append(div4, img0);
			append(div4, t1);
			append(div4, div0);
			append(div0, img1);
			append(div4, t2);
			append(div4, p0);
			append(div4, t6);
			if (if_block) if_block.m(div4, null);
			append(div4, t7);
			append(div4, div3);
			append(div3, div1);
			append(div3, t9);
			append(div3, div2);
			append(div2, img2);
			current = true;

			if (!mounted) {
				dispose = [
					listen(div1, "click", /*startGame*/ ctx[3]),
					listen(div2, "click", /*getInfo*/ ctx[4])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*currentPlayerInformation*/ 1) show_if = !(0,lodash.isEmpty)(/*currentPlayerInformation*/ ctx[0]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*currentPlayerInformation*/ 1) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = matchmaking_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(div4, t7);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div4);
			destroy_component(exitbutton);
			if (if_block) if_block.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function matchmaking_index_svelte_instance($$self, $$props, $$invalidate) {
	let currentPlayerInformation = {};
	let rating = [];

	const initializeRating = ratingDto => {
		$$invalidate(1, rating = ratingDto);
	};

	const initializePlayerInformation = currentPlayerInformationDto => {
		$$invalidate(0, currentPlayerInformation = currentPlayerInformationDto);
	};

	const handleClose = () => {
		
	}; // exec close event

	const startGame = () => {
		sendClientMessage('shootingRange.matchmaking.startGame');
	};

	const getInfo = () => {
		sendClientMessage('shootingRange.matchmaking.getInfo');
	};

	const unregisterPlayerInformationEvent = registerEvent('event.ShootingRange.player.initialize', initializePlayerInformation);
	const unregisterRatingEvent = registerEvent('event.ShootingRange.rating.initialize', initializeRating);

	onDestroy(() => {
		unregisterPlayerInformationEvent();
		unregisterRatingEvent();
	});

	return [currentPlayerInformation, rating, handleClose, startGame, getInfo];
}

class Matchmaking extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, matchmaking_index_svelte_instance, matchmaking_index_svelte_create_fragment, safe_not_equal, {}, matchmaking_index_svelte_add_css);
	}
}

/* harmony default export */ const matchmaking_index_svelte = (Matchmaking);
;// CONCATENATED MODULE: ./src/views/new-year-event/img/new-year-event-logo.png
const new_year_event_logo_namespaceObject = __webpack_require__.p + "assets/41db387a196ff736cd87.webp";
;// CONCATENATED MODULE: ./src/views/new-year-event/menu/img/new-year-event-playerLogo.svg
const new_year_event_playerLogo_namespaceObject = __webpack_require__.p + "assets/765568ee564ee05c2c17.svg";
;// CONCATENATED MODULE: ./src/views/new-year-event/menu/img/new-year-event-santa.png
const new_year_event_santa_namespaceObject = __webpack_require__.p + "assets/2d720817b84928d9f228.webp";
;// CONCATENATED MODULE: ./src/views/new-year-event/menu/img/new-year-event-quests.png
const new_year_event_quests_namespaceObject = __webpack_require__.p + "assets/1dd2acf2bae116110acd.webp";
;// CONCATENATED MODULE: ./src/views/new-year-event/img/new-year-event-background.png
const new_year_event_background_namespaceObject = __webpack_require__.p + "assets/49e72d0267ff37410b8a.webp";
;// CONCATENATED MODULE: ./src/views/new-year-event/components/background/index.svelte
/* src\views\new-year-event\components\background\index.svelte generated by Svelte v3.49.0 */




function new_year_event_components_background_index_svelte_add_css(target) {
	append_styles(target, "svelte-uek7ej", "@keyframes svelte-uek7ej-blinking{50%{opacity:0}}@keyframes svelte-uek7ej-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-uek7ej-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-uek7ej-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-uek7ej-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-uek7ej-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-uek7ej-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-uek7ej-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-uek7ej-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-uek7ej-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-uek7ej-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-uek7ej-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-uek7ej-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-uek7ej-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-uek7ej-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.new-year-event-background.svelte-uek7ej{z-index:2;pointer-events:none;width:100vw;height:100vh}");
}

function new_year_event_components_background_index_svelte_create_fragment(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "new-year-event-background svelte-uek7ej");
			if (!src_url_equal(img.src, img_src_value = new_year_event_background_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "NewYearBackground");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

class background_index_svelte_Background extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, new_year_event_components_background_index_svelte_create_fragment, safe_not_equal, {}, new_year_event_components_background_index_svelte_add_css);
	}
}

/* harmony default export */ const new_year_event_components_background_index_svelte = (background_index_svelte_Background);
;// CONCATENATED MODULE: ./src/views/new-year-event/menu/index.svelte
/* src\views\new-year-event\menu\index.svelte generated by Svelte v3.49.0 */









// import { PLAYER_STATS } from './mocks';







function new_year_event_menu_index_svelte_add_css(target) {
	append_styles(target, "svelte-edezg0", "@keyframes svelte-edezg0-blinking{50%{opacity:0}}@keyframes svelte-edezg0-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-edezg0-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-edezg0-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-edezg0-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-edezg0-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-edezg0-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-edezg0-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-edezg0-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-edezg0-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-edezg0-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-edezg0-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-edezg0-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-edezg0-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-edezg0-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.new-year-event-menu.svelte-edezg0{display:flex;align-items:center;flex-direction:column;width:100vw;height:100vh;background:linear-gradient(91deg, rgba(44, 141, 255, 0.5) -5.26%, rgba(44, 141, 255, 0) 38.71%), linear-gradient(280deg, rgba(255, 43, 132, 0.5) 1.45%, rgba(255, 43, 132, 0) 42.1%), linear-gradient(180deg, rgba(12, 61, 106, 0.9) 0%, rgba(0, 13, 17, 0.9) 100%)}.new-year-event-menu__soldier-img.svelte-edezg0{position:absolute;z-index:1;left:0;bottom:0;height:calc(0.4802083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__soldier-img.svelte-edezg0{height:calc(0.4802083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__soldier-img.svelte-edezg0{height:calc(0.4802083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__soldier-img.svelte-edezg0{height:calc(0.3697604167 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__soldier-img.svelte-edezg0{height:calc(0.5282291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__soldier-img.svelte-edezg0{height:calc(0.3361458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__soldier-img.svelte-edezg0{height:calc(0.4321875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__soldier-img.svelte-edezg0{height:calc(0.5282291667 * 100vw + 0px)}}.new-year-event-menu__background-quests.svelte-edezg0{position:absolute;right:0;bottom:calc(0.0833333333 * 100vw + 0px);pointer-events:none;height:calc(0.3578125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__background-quests.svelte-edezg0{bottom:calc(0.0833333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__background-quests.svelte-edezg0{bottom:calc(0.0833333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__background-quests.svelte-edezg0{bottom:calc(0.0641666667 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__background-quests.svelte-edezg0{bottom:calc(0.0916666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__background-quests.svelte-edezg0{bottom:calc(0.0583333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__background-quests.svelte-edezg0{bottom:calc(0.075 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__background-quests.svelte-edezg0{bottom:calc(0.0916666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__background-quests.svelte-edezg0{height:calc(0.3578125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__background-quests.svelte-edezg0{height:calc(0.3578125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__background-quests.svelte-edezg0{height:calc(0.275515625 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__background-quests.svelte-edezg0{height:calc(0.39359375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__background-quests.svelte-edezg0{height:calc(0.25046875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__background-quests.svelte-edezg0{height:calc(0.32203125 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__background-quests.svelte-edezg0{height:calc(0.39359375 * 100vw + 0px)}}.new-year-event-menu__logo.svelte-edezg0{z-index:3;position:absolute;display:flex;align-items:center;top:calc(0.0125 * 100vw + 0px);left:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__logo.svelte-edezg0{top:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__logo.svelte-edezg0{top:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__logo.svelte-edezg0{top:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__logo.svelte-edezg0{top:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__logo.svelte-edezg0{top:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__logo.svelte-edezg0{top:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__logo.svelte-edezg0{top:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__logo.svelte-edezg0{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__logo.svelte-edezg0{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__logo.svelte-edezg0{left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__logo.svelte-edezg0{left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__logo.svelte-edezg0{left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__logo.svelte-edezg0{left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__logo.svelte-edezg0{left:calc(0.0286458333 * 100vw + 0px)}}.new-year-event-menu__logo-icon.svelte-edezg0{height:calc(0.0677083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__logo-icon.svelte-edezg0{height:calc(0.0677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__logo-icon.svelte-edezg0{height:calc(0.0677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__logo-icon.svelte-edezg0{height:calc(0.0521354167 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__logo-icon.svelte-edezg0{height:calc(0.0744791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__logo-icon.svelte-edezg0{height:calc(0.0473958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__logo-icon.svelte-edezg0{height:calc(0.0609375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__logo-icon.svelte-edezg0{height:calc(0.0744791667 * 100vw + 0px)}}.new-year-event-menu__take-contract.svelte-edezg0{position:absolute;display:flex;flex-direction:column;right:calc(0.1244791667 * 100vw + 0px);top:calc(0.2526041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__take-contract.svelte-edezg0{right:calc(0.1244791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__take-contract.svelte-edezg0{right:calc(0.1244791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__take-contract.svelte-edezg0{right:calc(0.0958489583 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__take-contract.svelte-edezg0{right:calc(0.1369270833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__take-contract.svelte-edezg0{right:calc(0.0871354167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__take-contract.svelte-edezg0{right:calc(0.11203125 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__take-contract.svelte-edezg0{right:calc(0.1369270833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__take-contract.svelte-edezg0{top:calc(0.2526041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__take-contract.svelte-edezg0{top:calc(0.2526041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__take-contract.svelte-edezg0{top:calc(0.1945052083 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__take-contract.svelte-edezg0{top:calc(0.2778645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__take-contract.svelte-edezg0{top:calc(0.1768229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__take-contract.svelte-edezg0{top:calc(0.22734375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__take-contract.svelte-edezg0{top:calc(0.2778645833 * 100vw + 0px)}}.new-year-event-menu__take-contract-title.svelte-edezg0{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0333333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__take-contract-title.svelte-edezg0{font-size:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__take-contract-title.svelte-edezg0{font-size:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__take-contract-title.svelte-edezg0{font-size:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__take-contract-title.svelte-edezg0{font-size:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__take-contract-title.svelte-edezg0{font-size:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__take-contract-title.svelte-edezg0{font-size:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__take-contract-title.svelte-edezg0{font-size:calc(0.0366666667 * 100vw + 0px)}}.new-year-event-menu__take-contract-title--bold.svelte-edezg0{font-family:\"GothamPro-Bold\"}.new-year-event-menu__take-contract-btn.svelte-edezg0{display:flex;justify-content:center;align-items:center;cursor:pointer;font-size:calc(0.009375 * 100vw + 0px);width:calc(0.0520833333 * 100vw + 0px);height:calc(0.0234375 * 100vw + 0px);margin-top:calc(0.0083333333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__take-contract-btn.svelte-edezg0{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__take-contract-btn.svelte-edezg0{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__take-contract-btn.svelte-edezg0{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__take-contract-btn.svelte-edezg0{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__take-contract-btn.svelte-edezg0{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__take-contract-btn.svelte-edezg0{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__take-contract-btn.svelte-edezg0{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__take-contract-btn.svelte-edezg0{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__take-contract-btn.svelte-edezg0{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__take-contract-btn.svelte-edezg0{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__take-contract-btn.svelte-edezg0{width:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__take-contract-btn.svelte-edezg0{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__take-contract-btn.svelte-edezg0{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__take-contract-btn.svelte-edezg0{width:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__take-contract-btn.svelte-edezg0{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__take-contract-btn.svelte-edezg0{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__take-contract-btn.svelte-edezg0{height:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__take-contract-btn.svelte-edezg0{height:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__take-contract-btn.svelte-edezg0{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__take-contract-btn.svelte-edezg0{height:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__take-contract-btn.svelte-edezg0{height:calc(0.02578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__take-contract-btn.svelte-edezg0{margin-top:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__take-contract-btn.svelte-edezg0{margin-top:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__take-contract-btn.svelte-edezg0{margin-top:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__take-contract-btn.svelte-edezg0{margin-top:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__take-contract-btn.svelte-edezg0{margin-top:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__take-contract-btn.svelte-edezg0{margin-top:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__take-contract-btn.svelte-edezg0{margin-top:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__take-contract-btn.svelte-edezg0{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__take-contract-btn.svelte-edezg0{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__take-contract-btn.svelte-edezg0{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__take-contract-btn.svelte-edezg0{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__take-contract-btn.svelte-edezg0{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__take-contract-btn.svelte-edezg0{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__take-contract-btn.svelte-edezg0{border-radius:calc(0.0057291667 * 100vw + 0px)}}.new-year-event-menu__player-title-wrapper.svelte-edezg0{z-index:1;position:absolute;bottom:calc(0.1104166667 * 100vw + 0px);left:calc(0.4234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__player-title-wrapper.svelte-edezg0{bottom:calc(0.1104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__player-title-wrapper.svelte-edezg0{bottom:calc(0.1104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__player-title-wrapper.svelte-edezg0{bottom:calc(0.0850208333 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__player-title-wrapper.svelte-edezg0{bottom:calc(0.1214583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__player-title-wrapper.svelte-edezg0{bottom:calc(0.0772916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__player-title-wrapper.svelte-edezg0{bottom:calc(0.099375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__player-title-wrapper.svelte-edezg0{bottom:calc(0.1214583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__player-title-wrapper.svelte-edezg0{left:calc(0.4234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__player-title-wrapper.svelte-edezg0{left:calc(0.4234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__player-title-wrapper.svelte-edezg0{left:calc(0.326046875 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__player-title-wrapper.svelte-edezg0{left:calc(0.46578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__player-title-wrapper.svelte-edezg0{left:calc(0.29640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__player-title-wrapper.svelte-edezg0{left:calc(0.38109375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__player-title-wrapper.svelte-edezg0{left:calc(0.46578125 * 100vw + 0px)}}.new-year-event-menu__player-title.svelte-edezg0{font-family:\"GothamPro-Bold\";color:#FFFFFF;font-size:calc(0.0208333333 * 100vw + 0px);width:calc(0.1822916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__player-title.svelte-edezg0{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__player-title.svelte-edezg0{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__player-title.svelte-edezg0{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__player-title.svelte-edezg0{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__player-title.svelte-edezg0{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__player-title.svelte-edezg0{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__player-title.svelte-edezg0{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__player-title.svelte-edezg0{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__player-title.svelte-edezg0{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__player-title.svelte-edezg0{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__player-title.svelte-edezg0{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__player-title.svelte-edezg0{width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__player-title.svelte-edezg0{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__player-title.svelte-edezg0{width:calc(0.2005208333 * 100vw + 0px)}}.new-year-event-menu__player-name.svelte-edezg0{display:flex;align-items:center;color:#FFFFFF;background:rgba(255, 255, 255, 0.1);font-family:\"GothamPro-Bold\";width:calc(0.1822916667 * 100vw + 0px);height:calc(0.0520833333 * 100vw + 0px);border-radius:calc(0.0078125 * 100vw + 0px);font-size:calc(0.0166666667 * 100vw + 0px);margin-top:calc(0.0182291667 * 100vw + 0px);margin-bottom:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__player-name.svelte-edezg0{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__player-name.svelte-edezg0{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__player-name.svelte-edezg0{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__player-name.svelte-edezg0{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__player-name.svelte-edezg0{width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__player-name.svelte-edezg0{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__player-name.svelte-edezg0{width:calc(0.2005208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__player-name.svelte-edezg0{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__player-name.svelte-edezg0{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__player-name.svelte-edezg0{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__player-name.svelte-edezg0{height:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__player-name.svelte-edezg0{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__player-name.svelte-edezg0{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__player-name.svelte-edezg0{height:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__player-name.svelte-edezg0{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__player-name.svelte-edezg0{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__player-name.svelte-edezg0{border-radius:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__player-name.svelte-edezg0{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__player-name.svelte-edezg0{border-radius:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__player-name.svelte-edezg0{border-radius:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__player-name.svelte-edezg0{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__player-name.svelte-edezg0{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__player-name.svelte-edezg0{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__player-name.svelte-edezg0{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__player-name.svelte-edezg0{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__player-name.svelte-edezg0{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__player-name.svelte-edezg0{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__player-name.svelte-edezg0{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__player-name.svelte-edezg0{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__player-name.svelte-edezg0{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__player-name.svelte-edezg0{margin-top:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__player-name.svelte-edezg0{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__player-name.svelte-edezg0{margin-top:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__player-name.svelte-edezg0{margin-top:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__player-name.svelte-edezg0{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__player-name.svelte-edezg0{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__player-name.svelte-edezg0{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__player-name.svelte-edezg0{margin-bottom:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__player-name.svelte-edezg0{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__player-name.svelte-edezg0{margin-bottom:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__player-name.svelte-edezg0{margin-bottom:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__player-name.svelte-edezg0{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}.new-year-event-menu__player-icon-wrapper.svelte-edezg0{height:calc(0.015625 * 100vw + 0px);margin-right:calc(0.0104166667 * 100vw + 0px);margin-left:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__player-icon-wrapper.svelte-edezg0{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__player-icon-wrapper.svelte-edezg0{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__player-icon-wrapper.svelte-edezg0{height:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__player-icon-wrapper.svelte-edezg0{height:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__player-icon-wrapper.svelte-edezg0{height:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__player-icon-wrapper.svelte-edezg0{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__player-icon-wrapper.svelte-edezg0{height:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__player-icon-wrapper.svelte-edezg0{margin-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__player-icon-wrapper.svelte-edezg0{margin-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__player-icon-wrapper.svelte-edezg0{margin-right:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__player-icon-wrapper.svelte-edezg0{margin-right:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__player-icon-wrapper.svelte-edezg0{margin-right:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__player-icon-wrapper.svelte-edezg0{margin-right:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__player-icon-wrapper.svelte-edezg0{margin-right:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__player-icon-wrapper.svelte-edezg0{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__player-icon-wrapper.svelte-edezg0{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__player-icon-wrapper.svelte-edezg0{margin-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__player-icon-wrapper.svelte-edezg0{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__player-icon-wrapper.svelte-edezg0{margin-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__player-icon-wrapper.svelte-edezg0{margin-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__player-icon-wrapper.svelte-edezg0{margin-left:calc(0.0114583333 * 100vw + 0px)}}.new-year-event-menu__player-icon.svelte-edezg0{width:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__player-icon.svelte-edezg0{width:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__player-icon.svelte-edezg0{width:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__player-icon.svelte-edezg0{width:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__player-icon.svelte-edezg0{width:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__player-icon.svelte-edezg0{width:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__player-icon.svelte-edezg0{width:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__player-icon.svelte-edezg0{width:calc(0.0171875 * 100vw + 0px)}}.new-year-event-menu__player-stats.svelte-edezg0{display:flex;justify-content:space-between;border-radius:15px;background:rgba(255, 255, 255, 0.1);width:calc(0.1822916667 * 100vw + 0px);padding-bottom:calc(0.0119791667 * 100vw + 0px);padding-left:calc(0.0234375 * 100vw + 0px);padding-right:calc(0.0234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__player-stats.svelte-edezg0{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__player-stats.svelte-edezg0{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__player-stats.svelte-edezg0{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__player-stats.svelte-edezg0{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__player-stats.svelte-edezg0{width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__player-stats.svelte-edezg0{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__player-stats.svelte-edezg0{width:calc(0.2005208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__player-stats.svelte-edezg0{padding-bottom:calc(0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__player-stats.svelte-edezg0{padding-bottom:calc(0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__player-stats.svelte-edezg0{padding-bottom:calc(0.0092239583 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__player-stats.svelte-edezg0{padding-bottom:calc(0.0131770833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__player-stats.svelte-edezg0{padding-bottom:calc(0.0083854167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__player-stats.svelte-edezg0{padding-bottom:calc(0.01078125 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__player-stats.svelte-edezg0{padding-bottom:calc(0.0131770833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__player-stats.svelte-edezg0{padding-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__player-stats.svelte-edezg0{padding-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__player-stats.svelte-edezg0{padding-left:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__player-stats.svelte-edezg0{padding-left:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__player-stats.svelte-edezg0{padding-left:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__player-stats.svelte-edezg0{padding-left:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__player-stats.svelte-edezg0{padding-left:calc(0.02578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__player-stats.svelte-edezg0{padding-right:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__player-stats.svelte-edezg0{padding-right:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__player-stats.svelte-edezg0{padding-right:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__player-stats.svelte-edezg0{padding-right:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__player-stats.svelte-edezg0{padding-right:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__player-stats.svelte-edezg0{padding-right:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__player-stats.svelte-edezg0{padding-right:calc(0.02578125 * 100vw + 0px)}}.new-year-event-menu__player-quest-count.svelte-edezg0{font-family:\"GothamPro-Bold\";color:#FFFFFF;font-size:calc(0.0125 * 100vw + 0px);padding-top:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__player-quest-count.svelte-edezg0{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__player-quest-count.svelte-edezg0{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__player-quest-count.svelte-edezg0{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__player-quest-count.svelte-edezg0{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__player-quest-count.svelte-edezg0{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__player-quest-count.svelte-edezg0{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__player-quest-count.svelte-edezg0{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__player-quest-count.svelte-edezg0{padding-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__player-quest-count.svelte-edezg0{padding-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__player-quest-count.svelte-edezg0{padding-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__player-quest-count.svelte-edezg0{padding-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__player-quest-count.svelte-edezg0{padding-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__player-quest-count.svelte-edezg0{padding-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__player-quest-count.svelte-edezg0{padding-top:calc(0.0143229167 * 100vw + 0px)}}.new-year-event-menu__player-quest-title.svelte-edezg0{font-family:\"GothamPro\";color:#FFFFFF;width:fit-content;padding-top:calc(0.0052083333 * 100vw + 0px);font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__player-quest-title.svelte-edezg0{padding-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__player-quest-title.svelte-edezg0{padding-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__player-quest-title.svelte-edezg0{padding-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__player-quest-title.svelte-edezg0{padding-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__player-quest-title.svelte-edezg0{padding-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__player-quest-title.svelte-edezg0{padding-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__player-quest-title.svelte-edezg0{padding-top:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__player-quest-title.svelte-edezg0{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__player-quest-title.svelte-edezg0{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__player-quest-title.svelte-edezg0{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__player-quest-title.svelte-edezg0{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__player-quest-title.svelte-edezg0{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__player-quest-title.svelte-edezg0{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__player-quest-title.svelte-edezg0{font-size:calc(0.006875 * 100vw + 0px)}}.new-year-event-menu__player-stats-left.svelte-edezg0{width:calc(0.0479166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__player-stats-left.svelte-edezg0{width:calc(0.0479166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__player-stats-left.svelte-edezg0{width:calc(0.0479166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__player-stats-left.svelte-edezg0{width:calc(0.0368958333 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__player-stats-left.svelte-edezg0{width:calc(0.0527083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__player-stats-left.svelte-edezg0{width:calc(0.0335416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__player-stats-left.svelte-edezg0{width:calc(0.043125 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__player-stats-left.svelte-edezg0{width:calc(0.0527083333 * 100vw + 0px)}}.new-year-event-menu__player-stats-right.svelte-edezg0{width:calc(0.0578125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__player-stats-right.svelte-edezg0{width:calc(0.0578125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__player-stats-right.svelte-edezg0{width:calc(0.0578125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__player-stats-right.svelte-edezg0{width:calc(0.044515625 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__player-stats-right.svelte-edezg0{width:calc(0.06359375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__player-stats-right.svelte-edezg0{width:calc(0.04046875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__player-stats-right.svelte-edezg0{width:calc(0.05203125 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__player-stats-right.svelte-edezg0{width:calc(0.06359375 * 100vw + 0px)}}.new-year-event-menu__player-completed-quests.svelte-edezg0,.new-year-event-menu__player-az-coins.svelte-edezg0{height:calc(0.0453125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-menu__player-completed-quests.svelte-edezg0,.new-year-event-menu__player-az-coins.svelte-edezg0{height:calc(0.0453125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-menu__player-completed-quests.svelte-edezg0,.new-year-event-menu__player-az-coins.svelte-edezg0{height:calc(0.0453125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-menu__player-completed-quests.svelte-edezg0,.new-year-event-menu__player-az-coins.svelte-edezg0{height:calc(0.034890625 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-menu__player-completed-quests.svelte-edezg0,.new-year-event-menu__player-az-coins.svelte-edezg0{height:calc(0.04984375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-menu__player-completed-quests.svelte-edezg0,.new-year-event-menu__player-az-coins.svelte-edezg0{height:calc(0.03171875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-menu__player-completed-quests.svelte-edezg0,.new-year-event-menu__player-az-coins.svelte-edezg0{height:calc(0.04078125 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-menu__player-completed-quests.svelte-edezg0,.new-year-event-menu__player-az-coins.svelte-edezg0{height:calc(0.04984375 * 100vw + 0px)}}");
}

function new_year_event_menu_index_svelte_create_fragment(ctx) {
	let div11;
	let exitbutton;
	let t0;
	let img0;
	let img0_src_value;
	let t1;
	let newyeareventbackground;
	let t2;
	let img1;
	let img1_src_value;
	let t3;
	let div0;
	let img2;
	let img2_src_value;
	let t4;
	let div2;
	let p0;
	let t8;
	let div1;
	let actionbutton;
	let t9;
	let div10;
	let p1;
	let t11;
	let div4;
	let div3;
	let img3;
	let img3_src_value;
	let t12;
	let p2;
	let t13_value = /*stats*/ ctx[0].name + "";
	let t13;
	let t14;
	let div9;
	let div6;
	let div5;
	let p3;
	let t15_value = /*stats*/ ctx[0].completedQuests + "";
	let t15;
	let t16;
	let p4;
	let t18;
	let div8;
	let div7;
	let p5;
	let t19_value = /*stats*/ ctx[0].earnedAzCoins + "";
	let t19;
	let t20;
	let p6;
	let current;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[1],
				fixedPosition: true
			}
		});

	newyeareventbackground = new new_year_event_components_background_index_svelte({});

	actionbutton = new index_svelte({
			props: {
				onPress: /*onTakeQuest*/ ctx[2],
				keyTitle: "Enter",
				keyCode: 13,
				size: ActionButtonSize.FillFree
			}
		});

	return {
		c() {
			div11 = internal_element("div");
			create_component(exitbutton.$$.fragment);
			t0 = space();
			img0 = internal_element("img");
			t1 = space();
			create_component(newyeareventbackground.$$.fragment);
			t2 = space();
			img1 = internal_element("img");
			t3 = space();
			div0 = internal_element("div");
			img2 = internal_element("img");
			t4 = space();
			div2 = internal_element("div");
			p0 = internal_element("p");

			p0.innerHTML = `Взять
            <br/> 
            <span class="new-year-event-menu__take-contract-title--bold svelte-edezg0">задание</span>`;

			t8 = space();
			div1 = internal_element("div");
			create_component(actionbutton.$$.fragment);
			t9 = space();
			div10 = internal_element("div");
			p1 = internal_element("p");
			p1.textContent = "Активность на мероприятии";
			t11 = space();
			div4 = internal_element("div");
			div3 = internal_element("div");
			img3 = internal_element("img");
			t12 = space();
			p2 = internal_element("p");
			t13 = internal_text(t13_value);
			t14 = space();
			div9 = internal_element("div");
			div6 = internal_element("div");
			div5 = internal_element("div");
			p3 = internal_element("p");
			t15 = internal_text(t15_value);
			t16 = space();
			p4 = internal_element("p");
			p4.textContent = "Выполнено заданий";
			t18 = space();
			div8 = internal_element("div");
			div7 = internal_element("div");
			p5 = internal_element("p");
			t19 = internal_text(t19_value);
			t20 = space();
			p6 = internal_element("p");
			p6.textContent = "Заработано AZ-Coins";
			attr(img0, "class", "new-year-event-menu__soldier-img svelte-edezg0");
			if (!src_url_equal(img0.src, img0_src_value = new_year_event_santa_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "santa");
			attr(img1, "class", "new-year-event-menu__background-quests svelte-edezg0");
			if (!src_url_equal(img1.src, img1_src_value = new_year_event_quests_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "questBackground");
			attr(img2, "class", "new-year-event-menu__logo-icon svelte-edezg0");
			if (!src_url_equal(img2.src, img2_src_value = new_year_event_logo_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "logo");
			attr(div0, "class", "new-year-event-menu__logo svelte-edezg0");
			attr(p0, "class", "new-year-event-menu__take-contract-title svelte-edezg0");
			attr(div1, "class", "new-year-event-menu__take-contract-btn svelte-edezg0");
			attr(div2, "class", "new-year-event-menu__take-contract svelte-edezg0");
			attr(p1, "class", "new-year-event-menu__player-title svelte-edezg0");
			attr(img3, "class", "new-year-event-menu__player-icon svelte-edezg0");
			if (!src_url_equal(img3.src, img3_src_value = new_year_event_playerLogo_namespaceObject)) attr(img3, "src", img3_src_value);
			attr(img3, "alt", "playerLogo");
			attr(div3, "class", "new-year-event-menu__player-icon-wrapper svelte-edezg0");
			attr(p2, "class", "new-year-event-menu__player");
			attr(div4, "class", "new-year-event-menu__player-name svelte-edezg0");
			attr(p3, "class", "new-year-event-menu__player-quest-count svelte-edezg0");
			attr(p4, "class", "new-year-event-menu__player-quest-title svelte-edezg0");
			attr(div5, "class", "new-year-event-menu__player-completed-quests svelte-edezg0");
			attr(div6, "class", "new-year-event-menu__player-stats-left svelte-edezg0");
			attr(p5, "class", "new-year-event-menu__player-quest-count svelte-edezg0");
			attr(p6, "class", "new-year-event-menu__player-quest-title svelte-edezg0");
			attr(div7, "class", "new-year-event-menu__player-az-coins svelte-edezg0");
			attr(div8, "class", "new-year-event-menu__player-stats-right svelte-edezg0");
			attr(div9, "class", "new-year-event-menu__player-stats svelte-edezg0");
			attr(div10, "class", "new-year-event-menu__player-title-wrapper svelte-edezg0");
			attr(div11, "class", "new-year-event-menu svelte-edezg0");
		},
		m(target, anchor) {
			insert(target, div11, anchor);
			mount_component(exitbutton, div11, null);
			append(div11, t0);
			append(div11, img0);
			append(div11, t1);
			mount_component(newyeareventbackground, div11, null);
			append(div11, t2);
			append(div11, img1);
			append(div11, t3);
			append(div11, div0);
			append(div0, img2);
			append(div11, t4);
			append(div11, div2);
			append(div2, p0);
			append(div2, t8);
			append(div2, div1);
			mount_component(actionbutton, div1, null);
			append(div11, t9);
			append(div11, div10);
			append(div10, p1);
			append(div10, t11);
			append(div10, div4);
			append(div4, div3);
			append(div3, img3);
			append(div4, t12);
			append(div4, p2);
			append(p2, t13);
			append(div10, t14);
			append(div10, div9);
			append(div9, div6);
			append(div6, div5);
			append(div5, p3);
			append(p3, t15);
			append(div5, t16);
			append(div5, p4);
			append(div9, t18);
			append(div9, div8);
			append(div8, div7);
			append(div7, p5);
			append(p5, t19);
			append(div7, t20);
			append(div7, p6);
			current = true;
		},
		p(ctx, [dirty]) {
			if ((!current || dirty & /*stats*/ 1) && t13_value !== (t13_value = /*stats*/ ctx[0].name + "")) set_data(t13, t13_value);
			if ((!current || dirty & /*stats*/ 1) && t15_value !== (t15_value = /*stats*/ ctx[0].completedQuests + "")) set_data(t15, t15_value);
			if ((!current || dirty & /*stats*/ 1) && t19_value !== (t19_value = /*stats*/ ctx[0].earnedAzCoins + "")) set_data(t19, t19_value);
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			transition_in(newyeareventbackground.$$.fragment, local);
			transition_in(actionbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			transition_out(newyeareventbackground.$$.fragment, local);
			transition_out(actionbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div11);
			destroy_component(exitbutton);
			destroy_component(newyeareventbackground);
			destroy_component(actionbutton);
		}
	};
}

function new_year_event_menu_index_svelte_instance($$self, $$props, $$invalidate) {
	let stats = {};

	const initStats = statsDto => {
		$$invalidate(0, stats = statsDto);
	};

	const handleClose = () => {
		
	}; // exec close event

	const onTakeQuest = () => {
		sendClientMessage('newYear.stats.openQuests');
	};

	const unregisterInitStatsEvent = registerEvent('newYear.stats.initialize', initStats);

	onDestroy(() => {
		unregisterInitStatsEvent();
	});

	return [stats, handleClose, onTakeQuest];
}

class new_year_event_menu_index_svelte_Menu extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, new_year_event_menu_index_svelte_instance, new_year_event_menu_index_svelte_create_fragment, safe_not_equal, {}, new_year_event_menu_index_svelte_add_css);
	}
}

/* harmony default export */ const new_year_event_menu_index_svelte = (new_year_event_menu_index_svelte_Menu);
;// CONCATENATED MODULE: ./src/views/new-year-event/quests/components/accordion/img/arrow.svg
const new_year_event_quests_components_accordion_img_arrow_namespaceObject = __webpack_require__.p + "assets/60aa0149fcc38157134b.svg";
;// CONCATENATED MODULE: ./src/views/new-year-event/quests/components/accordion/index.svelte
/* src\views\new-year-event\quests\components\accordion\index.svelte generated by Svelte v3.49.0 */







function new_year_event_quests_components_accordion_index_svelte_add_css(target) {
	append_styles(target, "svelte-12pj67d", "@keyframes svelte-12pj67d-blinking{50%{opacity:0}}@keyframes svelte-12pj67d-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-12pj67d-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-12pj67d-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-12pj67d-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-12pj67d-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-12pj67d-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-12pj67d-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-12pj67d-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-12pj67d-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-12pj67d-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-12pj67d-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-12pj67d-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-12pj67d-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-12pj67d-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.new-year-event-quests__items-block.svelte-12pj67d{background:#FFFFFF;overflow:hidden;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.3125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-block.svelte-12pj67d{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-block.svelte-12pj67d{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-block.svelte-12pj67d{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-block.svelte-12pj67d{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-block.svelte-12pj67d{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-block.svelte-12pj67d{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-block.svelte-12pj67d{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-block.svelte-12pj67d{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-block.svelte-12pj67d{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-block.svelte-12pj67d{width:calc(0.240625 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-block.svelte-12pj67d{width:calc(0.34375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-block.svelte-12pj67d{width:calc(0.21875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-block.svelte-12pj67d{width:calc(0.28125 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-block.svelte-12pj67d{width:calc(0.34375 * 100vw + 0px)}}.new-year-event-quests__items-block.svelte-12pj67d:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-block.svelte-12pj67d:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-block.svelte-12pj67d:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-block.svelte-12pj67d:not(:first-child){margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-block.svelte-12pj67d:not(:first-child){margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-block.svelte-12pj67d:not(:first-child){margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-block.svelte-12pj67d:not(:first-child){margin-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-block.svelte-12pj67d:not(:first-child){margin-top:calc(0.0114583333 * 100vw + 0px)}}.new-year-event-quests__items-block-upper.svelte-12pj67d{display:flex;align-items:center;justify-content:space-between;position:relative}.new-year-event-quests__items-block-text.svelte-12pj67d{padding-top:calc(0.0152604167 * 100vw + 0px);padding-bottom:calc(0.0151041667 * 100vw + 0px);padding-left:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-block-text.svelte-12pj67d{padding-top:calc(0.0152604167 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-block-text.svelte-12pj67d{padding-top:calc(0.0152604167 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-block-text.svelte-12pj67d{padding-top:calc(0.0117505208 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-block-text.svelte-12pj67d{padding-top:calc(0.0167864583 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-block-text.svelte-12pj67d{padding-top:calc(0.0106822917 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-block-text.svelte-12pj67d{padding-top:calc(0.013734375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-block-text.svelte-12pj67d{padding-top:calc(0.0167864583 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-block-text.svelte-12pj67d{padding-bottom:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-block-text.svelte-12pj67d{padding-bottom:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-block-text.svelte-12pj67d{padding-bottom:calc(0.0116302083 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-block-text.svelte-12pj67d{padding-bottom:calc(0.0166145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-block-text.svelte-12pj67d{padding-bottom:calc(0.0105729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-block-text.svelte-12pj67d{padding-bottom:calc(0.01359375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-block-text.svelte-12pj67d{padding-bottom:calc(0.0166145833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-block-text.svelte-12pj67d{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-block-text.svelte-12pj67d{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-block-text.svelte-12pj67d{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-block-text.svelte-12pj67d{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-block-text.svelte-12pj67d{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-block-text.svelte-12pj67d{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-block-text.svelte-12pj67d{padding-left:calc(0.0143229167 * 100vw + 0px)}}.new-year-event-quests__items-block-title-wrapper.svelte-12pj67d{display:flex;align-items:center}.new-year-event-quests__items-block-arrow--opened.svelte-12pj67d{transform:rotate(180deg)}.new-year-event-quests__items-block-title.svelte-12pj67d{color:#505050;font-family:\"GothamPro-Medium\";margin-left:calc(0.003125 * 100vw + 0px);font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-block-title.svelte-12pj67d{margin-left:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-block-title.svelte-12pj67d{margin-left:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-block-title.svelte-12pj67d{margin-left:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-block-title.svelte-12pj67d{margin-left:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-block-title.svelte-12pj67d{margin-left:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-block-title.svelte-12pj67d{margin-left:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-block-title.svelte-12pj67d{margin-left:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-block-title.svelte-12pj67d{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-block-title.svelte-12pj67d{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-block-title.svelte-12pj67d{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-block-title.svelte-12pj67d{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-block-title.svelte-12pj67d{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-block-title.svelte-12pj67d{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-block-title.svelte-12pj67d{font-size:calc(0.0103125 * 100vw + 0px)}}.new-year-event-quests__items-block-descr.svelte-12pj67d{color:#505050;font-family:\"GothamPro\";font-size:calc(0.00625 * 100vw + 0px);margin-top:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-block-descr.svelte-12pj67d{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-block-descr.svelte-12pj67d{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-block-descr.svelte-12pj67d{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-block-descr.svelte-12pj67d{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-block-descr.svelte-12pj67d{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-block-descr.svelte-12pj67d{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-block-descr.svelte-12pj67d{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-block-descr.svelte-12pj67d{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-block-descr.svelte-12pj67d{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-block-descr.svelte-12pj67d{margin-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-block-descr.svelte-12pj67d{margin-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-block-descr.svelte-12pj67d{margin-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-block-descr.svelte-12pj67d{margin-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-block-descr.svelte-12pj67d{margin-top:calc(0.0057291667 * 100vw + 0px)}}.new-year-event-quests__items-progress-body.svelte-12pj67d{display:flex;flex-direction:row;font-family:\"GothamPro-Medium\";font-size:calc(0.009375 * 100vw + 0px);padding-right:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-progress-body.svelte-12pj67d{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-progress-body.svelte-12pj67d{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-progress-body.svelte-12pj67d{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-progress-body.svelte-12pj67d{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-progress-body.svelte-12pj67d{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-progress-body.svelte-12pj67d{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-progress-body.svelte-12pj67d{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-progress-body.svelte-12pj67d{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-progress-body.svelte-12pj67d{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-progress-body.svelte-12pj67d{padding-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-progress-body.svelte-12pj67d{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-progress-body.svelte-12pj67d{padding-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-progress-body.svelte-12pj67d{padding-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-progress-body.svelte-12pj67d{padding-right:calc(0.0143229167 * 100vw + 0px)}}.new-year-event-quests__items-progress-body--maxProgress.svelte-12pj67d{display:flex;justify-content:center;align-items:center;background:#83BD6F;border-radius:calc(0.0130208333 * 100vw + 0px);width:calc(0.0442708333 * 100vw + 0px);height:calc(0.0130208333 * 100vw + 0px);margin-right:calc(0.0083333333 * 100vw + 0px);padding-right:0}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-progress-body--maxProgress.svelte-12pj67d{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-progress-body--maxProgress.svelte-12pj67d{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-progress-body--maxProgress.svelte-12pj67d{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-progress-body--maxProgress.svelte-12pj67d{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-progress-body--maxProgress.svelte-12pj67d{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-progress-body--maxProgress.svelte-12pj67d{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-progress-body--maxProgress.svelte-12pj67d{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-progress-body--maxProgress.svelte-12pj67d{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-progress-body--maxProgress.svelte-12pj67d{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-progress-body--maxProgress.svelte-12pj67d{width:calc(0.0340885417 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-progress-body--maxProgress.svelte-12pj67d{width:calc(0.0486979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-progress-body--maxProgress.svelte-12pj67d{width:calc(0.0309895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-progress-body--maxProgress.svelte-12pj67d{width:calc(0.03984375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-progress-body--maxProgress.svelte-12pj67d{width:calc(0.0486979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-progress-body--maxProgress.svelte-12pj67d{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-progress-body--maxProgress.svelte-12pj67d{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-progress-body--maxProgress.svelte-12pj67d{height:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-progress-body--maxProgress.svelte-12pj67d{height:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-progress-body--maxProgress.svelte-12pj67d{height:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-progress-body--maxProgress.svelte-12pj67d{height:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-progress-body--maxProgress.svelte-12pj67d{height:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-progress-body--maxProgress.svelte-12pj67d{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-progress-body--maxProgress.svelte-12pj67d{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-progress-body--maxProgress.svelte-12pj67d{margin-right:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-progress-body--maxProgress.svelte-12pj67d{margin-right:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-progress-body--maxProgress.svelte-12pj67d{margin-right:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-progress-body--maxProgress.svelte-12pj67d{margin-right:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-progress-body--maxProgress.svelte-12pj67d{margin-right:calc(0.0091666667 * 100vw + 0px)}}.new-year-event-quests__items-progress-body--rewardReceived.svelte-12pj67d{text-align:center;display:flex;justify-content:center;align-items:center;background:#F2C94C;border-radius:calc(0.0130208333 * 100vw + 0px);width:calc(0.0442708333 * 100vw + 0px);height:calc(0.0130208333 * 100vw + 0px);margin-right:calc(0.0083333333 * 100vw + 0px);padding-right:0}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-progress-body--rewardReceived.svelte-12pj67d{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-progress-body--rewardReceived.svelte-12pj67d{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-progress-body--rewardReceived.svelte-12pj67d{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-progress-body--rewardReceived.svelte-12pj67d{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-progress-body--rewardReceived.svelte-12pj67d{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-progress-body--rewardReceived.svelte-12pj67d{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-progress-body--rewardReceived.svelte-12pj67d{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-progress-body--rewardReceived.svelte-12pj67d{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-progress-body--rewardReceived.svelte-12pj67d{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-progress-body--rewardReceived.svelte-12pj67d{width:calc(0.0340885417 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-progress-body--rewardReceived.svelte-12pj67d{width:calc(0.0486979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-progress-body--rewardReceived.svelte-12pj67d{width:calc(0.0309895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-progress-body--rewardReceived.svelte-12pj67d{width:calc(0.03984375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-progress-body--rewardReceived.svelte-12pj67d{width:calc(0.0486979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-progress-body--rewardReceived.svelte-12pj67d{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-progress-body--rewardReceived.svelte-12pj67d{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-progress-body--rewardReceived.svelte-12pj67d{height:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-progress-body--rewardReceived.svelte-12pj67d{height:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-progress-body--rewardReceived.svelte-12pj67d{height:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-progress-body--rewardReceived.svelte-12pj67d{height:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-progress-body--rewardReceived.svelte-12pj67d{height:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-progress-body--rewardReceived.svelte-12pj67d{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-progress-body--rewardReceived.svelte-12pj67d{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-progress-body--rewardReceived.svelte-12pj67d{margin-right:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-progress-body--rewardReceived.svelte-12pj67d{margin-right:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-progress-body--rewardReceived.svelte-12pj67d{margin-right:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-progress-body--rewardReceived.svelte-12pj67d{margin-right:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-progress-body--rewardReceived.svelte-12pj67d{margin-right:calc(0.0091666667 * 100vw + 0px)}}.new-year-event-quests__items-progress.svelte-12pj67d{color:#505050}.new-year-event-quests__items-progress--completed.svelte-12pj67d{font-family:\"GothamPro-Light\";color:#FFFFFF;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-progress--completed.svelte-12pj67d{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-progress--completed.svelte-12pj67d{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-progress--completed.svelte-12pj67d{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-progress--completed.svelte-12pj67d{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-progress--completed.svelte-12pj67d{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-progress--completed.svelte-12pj67d{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-progress--completed.svelte-12pj67d{font-size:calc(0.0057291667 * 100vw + 0px)}}.new-year-event-quests__items-progress--rewardReceived.svelte-12pj67d{font-family:\"GothamPro-Light\";color:#FFFFFF;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-progress--rewardReceived.svelte-12pj67d{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-progress--rewardReceived.svelte-12pj67d{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-progress--rewardReceived.svelte-12pj67d{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-progress--rewardReceived.svelte-12pj67d{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-progress--rewardReceived.svelte-12pj67d{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-progress--rewardReceived.svelte-12pj67d{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-progress--rewardReceived.svelte-12pj67d{font-size:calc(0.0057291667 * 100vw + 0px)}}.new-year-event-quests__items-progress-descr.svelte-12pj67d{font-family:\"GothamPro-Light\";color:#505050;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-progress-descr.svelte-12pj67d{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-progress-descr.svelte-12pj67d{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-progress-descr.svelte-12pj67d{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-progress-descr.svelte-12pj67d{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-progress-descr.svelte-12pj67d{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-progress-descr.svelte-12pj67d{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-progress-descr.svelte-12pj67d{font-size:calc(0.0057291667 * 100vw + 0px)}}.new-year-event-quests__items-block-reward.svelte-12pj67d{display:flex;flex-direction:column;align-items:center}.new-year-event-quests__items-block-reward-title.svelte-12pj67d{color:#505050;font-family:\"GothamPro-Medium\";font-size:calc(0.0072916667 * 100vw + 0px);margin-bottom:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-block-reward-title.svelte-12pj67d{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-block-reward-title.svelte-12pj67d{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-block-reward-title.svelte-12pj67d{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-block-reward-title.svelte-12pj67d{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-block-reward-title.svelte-12pj67d{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-block-reward-title.svelte-12pj67d{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-block-reward-title.svelte-12pj67d{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-block-reward-title.svelte-12pj67d{margin-bottom:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-block-reward-title.svelte-12pj67d{margin-bottom:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-block-reward-title.svelte-12pj67d{margin-bottom:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-block-reward-title.svelte-12pj67d{margin-bottom:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-block-reward-title.svelte-12pj67d{margin-bottom:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-block-reward-title.svelte-12pj67d{margin-bottom:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-block-reward-title.svelte-12pj67d{margin-bottom:calc(0.006875 * 100vw + 0px)}}.new-year-event-quests__items-block-reward-items-title.svelte-12pj67d{font-family:\"GothamPro\";color:#505050;font-size:calc(0.0052083333 * 100vw + 0px);height:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-block-reward-items-title.svelte-12pj67d{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-block-reward-items-title.svelte-12pj67d{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-block-reward-items-title.svelte-12pj67d{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-block-reward-items-title.svelte-12pj67d{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-block-reward-items-title.svelte-12pj67d{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-block-reward-items-title.svelte-12pj67d{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-block-reward-items-title.svelte-12pj67d{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-block-reward-items-title.svelte-12pj67d{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-block-reward-items-title.svelte-12pj67d{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-block-reward-items-title.svelte-12pj67d{height:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-block-reward-items-title.svelte-12pj67d{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-block-reward-items-title.svelte-12pj67d{height:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-block-reward-items-title.svelte-12pj67d{height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-block-reward-items-title.svelte-12pj67d{height:calc(0.0080208333 * 100vw + 0px)}}.new-year-event-quests__items-block-reward-body.svelte-12pj67d{display:flex;text-align:center;margin-bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-block-reward-body.svelte-12pj67d{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-block-reward-body.svelte-12pj67d{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-block-reward-body.svelte-12pj67d{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-block-reward-body.svelte-12pj67d{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-block-reward-body.svelte-12pj67d{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-block-reward-body.svelte-12pj67d{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-block-reward-body.svelte-12pj67d{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.new-year-event-quests__items-block-reward-items.svelte-12pj67d{display:flex;flex-direction:column;align-items:center;width:calc(0.046875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-block-reward-items.svelte-12pj67d{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-block-reward-items.svelte-12pj67d{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-block-reward-items.svelte-12pj67d{width:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-block-reward-items.svelte-12pj67d{width:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-block-reward-items.svelte-12pj67d{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-block-reward-items.svelte-12pj67d{width:calc(0.0421875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-block-reward-items.svelte-12pj67d{width:calc(0.0515625 * 100vw + 0px)}}.new-year-event-quests__items-block-reward-items.svelte-12pj67d:not(:first-child){margin-left:calc(0.0234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-block-reward-items.svelte-12pj67d:not(:first-child){margin-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-block-reward-items.svelte-12pj67d:not(:first-child){margin-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-block-reward-items.svelte-12pj67d:not(:first-child){margin-left:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-block-reward-items.svelte-12pj67d:not(:first-child){margin-left:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-block-reward-items.svelte-12pj67d:not(:first-child){margin-left:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-block-reward-items.svelte-12pj67d:not(:first-child){margin-left:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-block-reward-items.svelte-12pj67d:not(:first-child){margin-left:calc(0.02578125 * 100vw + 0px)}}.new-year-event-quests__items-block-reward-items-img.svelte-12pj67d{width:calc(0.0260416667 * 100vw + 0px);padding-bottom:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-block-reward-items-img.svelte-12pj67d{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-block-reward-items-img.svelte-12pj67d{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-block-reward-items-img.svelte-12pj67d{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-block-reward-items-img.svelte-12pj67d{width:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-block-reward-items-img.svelte-12pj67d{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-block-reward-items-img.svelte-12pj67d{width:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-block-reward-items-img.svelte-12pj67d{width:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-block-reward-items-img.svelte-12pj67d{padding-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-block-reward-items-img.svelte-12pj67d{padding-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-block-reward-items-img.svelte-12pj67d{padding-bottom:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-block-reward-items-img.svelte-12pj67d{padding-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-block-reward-items-img.svelte-12pj67d{padding-bottom:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-block-reward-items-img.svelte-12pj67d{padding-bottom:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-block-reward-items-img.svelte-12pj67d{padding-bottom:calc(0.0057291667 * 100vw + 0px)}}.new-year-event-quests__items-block-reward-btn.svelte-12pj67d{display:flex;align-items:center;justify-content:center;cursor:pointer;background-color:#505050;width:calc(0.1041666667 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);margin-bottom:calc(0.0109375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-block-reward-btn.svelte-12pj67d{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-block-reward-btn.svelte-12pj67d{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-block-reward-btn.svelte-12pj67d{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-block-reward-btn.svelte-12pj67d{width:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-block-reward-btn.svelte-12pj67d{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-block-reward-btn.svelte-12pj67d{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-block-reward-btn.svelte-12pj67d{width:calc(0.1145833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-block-reward-btn.svelte-12pj67d{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-block-reward-btn.svelte-12pj67d{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-block-reward-btn.svelte-12pj67d{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-block-reward-btn.svelte-12pj67d{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-block-reward-btn.svelte-12pj67d{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-block-reward-btn.svelte-12pj67d{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-block-reward-btn.svelte-12pj67d{height:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-block-reward-btn.svelte-12pj67d{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-block-reward-btn.svelte-12pj67d{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-block-reward-btn.svelte-12pj67d{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-block-reward-btn.svelte-12pj67d{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-block-reward-btn.svelte-12pj67d{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-block-reward-btn.svelte-12pj67d{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-block-reward-btn.svelte-12pj67d{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-block-reward-btn.svelte-12pj67d{margin-bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-block-reward-btn.svelte-12pj67d{margin-bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-block-reward-btn.svelte-12pj67d{margin-bottom:calc(0.008421875 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-block-reward-btn.svelte-12pj67d{margin-bottom:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-block-reward-btn.svelte-12pj67d{margin-bottom:calc(0.00765625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-block-reward-btn.svelte-12pj67d{margin-bottom:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-block-reward-btn.svelte-12pj67d{margin-bottom:calc(0.01203125 * 100vw + 0px)}}.new-year-event-quests__items-block-reward-btn.svelte-12pj67d:hover{background-color:#8E8E8E}.new-year-event-quests__items-block-reward-btn--completed.svelte-12pj67d{background-color:rgba(118, 211, 85, 0.25);cursor:default}.new-year-event-quests__items-block-reward-btn--completed.svelte-12pj67d:hover{background-color:rgba(118, 211, 85, 0.25)}.new-year-event-quests__items-block-reward-btn--rewardReceived.svelte-12pj67d{background-color:#F2C94C}.new-year-event-quests__items-block-reward-btn--rewardReceived.svelte-12pj67d:hover{background-color:#FEB000}.new-year-event-quests__items-block-reward-btn-key.svelte-12pj67d{color:#FFFFFF;font-family:\"GothamPro-Medium\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-block-reward-btn-key.svelte-12pj67d{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-block-reward-btn-key.svelte-12pj67d{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-block-reward-btn-key.svelte-12pj67d{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-block-reward-btn-key.svelte-12pj67d{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-block-reward-btn-key.svelte-12pj67d{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-block-reward-btn-key.svelte-12pj67d{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-block-reward-btn-key.svelte-12pj67d{font-size:calc(0.006875 * 100vw + 0px)}}.new-year-event-quests__items-block-reward-btn-key--completed.svelte-12pj67d{color:#76D355}.new-year-event-quests__items-block-reward-btn-key--rewardReceived.svelte-12pj67d{color:#3B4447}");
}

function new_year_event_quests_components_accordion_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[6] = list[i];
	return child_ctx;
}

// (1659:12) {#if accordionOpened}
function quests_components_accordion_index_svelte_create_if_block_5(ctx) {
	let p;
	let t_value = /*quest*/ ctx[0].description + "";
	let t;
	let p_transition;
	let current;

	return {
		c() {
			p = internal_element("p");
			t = internal_text(t_value);
			attr(p, "class", "new-year-event-quests__items-block-descr svelte-12pj67d");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t);
			current = true;
		},
		p(ctx, dirty) {
			if ((!current || dirty & /*quest*/ 1) && t_value !== (t_value = /*quest*/ ctx[0].description + "")) set_data(t, t_value);
		},
		i(local) {
			if (current) return;

			if (local) {
				add_render_callback(() => {
					if (!p_transition) p_transition = create_bidirectional_transition(p, slide, {}, true);
					p_transition.run(1);
				});
			}

			current = true;
		},
		o(local) {
			if (local) {
				if (!p_transition) p_transition = create_bidirectional_transition(p, slide, {}, false);
				p_transition.run(0);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(p);
			if (detaching && p_transition) p_transition.end();
		}
	};
}

// (1687:8) {:else}
function components_accordion_index_svelte_create_else_block_1(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="new-year-event-quests__items-progress new-year-event-quests__items-progress--rewardReceived svelte-12pj67d">Получите награду</p>`;
			attr(div, "class", "new-year-event-quests__items-progress-body new-year-event-quests__items-progress-body--rewardReceived svelte-12pj67d");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1681:81) 
function quests_components_accordion_index_svelte_create_if_block_4(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="new-year-event-quests__items-progress new-year-event-quests__items-progress--completed svelte-12pj67d">Завершено</p>`;
			attr(div, "class", "new-year-event-quests__items-progress-body new-year-event-quests__items-progress-body--maxProgress svelte-12pj67d");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1668:8) {#if (quest.progress !== quest.maxProgress) && !quest.rewardReceived}
function quests_components_accordion_index_svelte_create_if_block_3(ctx) {
	let div1;
	let div0;
	let p0;
	let t0_value = /*quest*/ ctx[0].progress + "";
	let t0;
	let t1;
	let t2_value = /*quest*/ ctx[0].maxProgress + "";
	let t2;
	let t3;
	let p1;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = internal_text("\r\n                        /\r\n                        ");
			t2 = internal_text(t2_value);
			t3 = space();
			p1 = internal_element("p");
			p1.textContent = "Прогресс";
			attr(p0, "class", "new-year-event-quests__items-progress svelte-12pj67d");
			attr(div0, "class", "new-year-event-quests__items-progress-body svelte-12pj67d");
			attr(p1, "class", "new-year-event-quests__items-progress-descr svelte-12pj67d");
			attr(div1, "class", "new-year-event-quests__items-progress-wrapper--incomplete");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, p0);
			append(p0, t0);
			append(p0, t1);
			append(p0, t2);
			append(div1, t3);
			append(div1, p1);
		},
		p(ctx, dirty) {
			if (dirty & /*quest*/ 1 && t0_value !== (t0_value = /*quest*/ ctx[0].progress + "")) set_data(t0, t0_value);
			if (dirty & /*quest*/ 1 && t2_value !== (t2_value = /*quest*/ ctx[0].maxProgress + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (1695:4) {#if accordionOpened}
function new_year_event_quests_components_accordion_index_svelte_create_if_block(ctx) {
	let div1;
	let p;
	let t1;
	let div0;
	let t2;
	let current_block_type_index;
	let if_block;
	let div1_transition;
	let current;
	let each_value = /*quest*/ ctx[0].rewards;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = new_year_event_quests_components_accordion_index_svelte_create_each_block(new_year_event_quests_components_accordion_index_svelte_get_each_context(ctx, each_value, i));
	}

	const if_block_creators = [new_year_event_quests_components_accordion_index_svelte_create_if_block_1, quests_components_accordion_index_svelte_create_if_block_2, quests_components_accordion_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type_1(ctx, dirty) {
		if (/*quest*/ ctx[0].progress !== /*quest*/ ctx[0].maxProgress && !/*quest*/ ctx[0].rewardReceived) return 0;
		if (/*quest*/ ctx[0].progress === /*quest*/ ctx[0].maxProgress && /*quest*/ ctx[0].rewardReceived) return 1;
		return 2;
	}

	current_block_type_index = select_block_type_1(ctx, -1);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div1 = internal_element("div");
			p = internal_element("p");
			p.textContent = "Награда";
			t1 = space();
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t2 = space();
			if_block.c();
			attr(p, "class", "new-year-event-quests__items-block-reward-title svelte-12pj67d");
			attr(div0, "class", "new-year-event-quests__items-block-reward-body svelte-12pj67d");
			attr(div1, "class", "new-year-event-quests__items-block-reward svelte-12pj67d");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, p);
			append(div1, t1);
			append(div1, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			append(div1, t2);
			if_blocks[current_block_type_index].m(div1, null);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty & /*quest, CDN_URL_RODINA*/ 1) {
				each_value = /*quest*/ ctx[0].rewards;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = new_year_event_quests_components_accordion_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = new_year_event_quests_components_accordion_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div0, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type_1(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(div1, null);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);

			if (local) {
				add_render_callback(() => {
					if (!div1_transition) div1_transition = create_bidirectional_transition(div1, slide, {}, true);
					div1_transition.run(1);
				});
			}

			current = true;
		},
		o(local) {
			transition_out(if_block);

			if (local) {
				if (!div1_transition) div1_transition = create_bidirectional_transition(div1, slide, {}, false);
				div1_transition.run(0);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			destroy_each(each_blocks, detaching);
			if_blocks[current_block_type_index].d();
			if (detaching && div1_transition) div1_transition.end();
		}
	};
}

// (1704:16) {#each quest.rewards as reward }
function new_year_event_quests_components_accordion_index_svelte_create_each_block(ctx) {
	let div;
	let img;
	let img_src_value;
	let t0;
	let p;
	let t1_value = /*reward*/ ctx[6].title + "";
	let t1;
	let t2;

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(img, "class", "new-year-event-quests__items-block-reward-items-img svelte-12pj67d");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*reward*/ ctx[6].icon}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "Reward");
			attr(p, "class", "new-year-event-quests__items-block-reward-items-title svelte-12pj67d");
			attr(div, "class", "new-year-event-quests__items-block-reward-items svelte-12pj67d");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
			append(div, t0);
			append(div, p);
			append(p, t1);
			append(div, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*quest*/ 1 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*reward*/ ctx[6].icon}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*quest*/ 1 && t1_value !== (t1_value = /*reward*/ ctx[6].title + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1731:12) {:else}
function quests_components_accordion_index_svelte_create_else_block(ctx) {
	let div;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="new-year-event-quests__items-block-reward-btn-key new-year-event-quests__items-block-reward-btn-key--rewardReceived svelte-12pj67d">Получить награду</p>`;
			attr(div, "class", "new-year-event-quests__items-block-reward-btn new-year-event-quests__items-block-reward-btn--rewardReceived svelte-12pj67d");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = listen(div, "click", /*receiveReward*/ ctx[4]);
				mounted = true;
			}
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (1725:85) 
function quests_components_accordion_index_svelte_create_if_block_2(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="new-year-event-quests__items-block-reward-btn-key new-year-event-quests__items-block-reward-btn-key--completed svelte-12pj67d">Получено</p>`;
			attr(div, "class", "new-year-event-quests__items-block-reward-btn new-year-event-quests__items-block-reward-btn--completed svelte-12pj67d");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1716:12) {#if (quest.progress !== quest.maxProgress) && !quest.rewardReceived}
function new_year_event_quests_components_accordion_index_svelte_create_if_block_1(ctx) {
	let div;
	let p;
	let div_style_value;
	let div_transition;
	let current;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			p = internal_element("p");
			p.textContent = "Отследить по GPS";
			attr(p, "class", "new-year-event-quests__items-block-reward-btn-key svelte-12pj67d");
			attr(div, "class", "new-year-event-quests__items-block-reward-btn svelte-12pj67d");
			attr(div, "style", div_style_value = `display: ${/*quest*/ ctx[0].hasLocation ? '' : 'none'}`);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p);
			current = true;

			if (!mounted) {
				dispose = listen(div, "click", /*drawLocation*/ ctx[3]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (!current || dirty & /*quest*/ 1 && div_style_value !== (div_style_value = `display: ${/*quest*/ ctx[0].hasLocation ? '' : 'none'}`)) {
				attr(div, "style", div_style_value);
			}
		},
		i(local) {
			if (current) return;

			if (local) {
				add_render_callback(() => {
					if (!div_transition) div_transition = create_bidirectional_transition(div, slide, {}, true);
					div_transition.run(1);
				});
			}

			current = true;
		},
		o(local) {
			if (local) {
				if (!div_transition) div_transition = create_bidirectional_transition(div, slide, {}, false);
				div_transition.run(0);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (detaching && div_transition) div_transition.end();
			mounted = false;
			dispose();
		}
	};
}

function new_year_event_quests_components_accordion_index_svelte_create_fragment(ctx) {
	let div3;
	let div2;
	let div1;
	let div0;
	let img;
	let img_src_value;
	let t0;
	let p;
	let t1_value = /*quest*/ ctx[0].title + "";
	let t1;
	let t2;
	let t3;
	let t4;
	let mounted;
	let dispose;
	let if_block0 = /*accordionOpened*/ ctx[1] && quests_components_accordion_index_svelte_create_if_block_5(ctx);

	function select_block_type(ctx, dirty) {
		if (/*quest*/ ctx[0].progress !== /*quest*/ ctx[0].maxProgress && !/*quest*/ ctx[0].rewardReceived) return quests_components_accordion_index_svelte_create_if_block_3;
		if (/*quest*/ ctx[0].progress === /*quest*/ ctx[0].maxProgress && /*quest*/ ctx[0].rewardReceived) return quests_components_accordion_index_svelte_create_if_block_4;
		return components_accordion_index_svelte_create_else_block_1;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block1 = current_block_type(ctx);
	let if_block2 = /*accordionOpened*/ ctx[1] && new_year_event_quests_components_accordion_index_svelte_create_if_block(ctx);

	return {
		c() {
			div3 = internal_element("div");
			div2 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			if (if_block0) if_block0.c();
			t3 = space();
			if_block1.c();
			t4 = space();
			if (if_block2) if_block2.c();
			attr(img, "class", "new-year-event-quests__items-block-arrow svelte-12pj67d");
			if (!src_url_equal(img.src, img_src_value = new_year_event_quests_components_accordion_img_arrow_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "arrow");
			toggle_class(img, "new-year-event-quests__items-block-arrow--opened", /*accordionOpened*/ ctx[1]);
			attr(p, "class", "new-year-event-quests__items-block-title svelte-12pj67d");
			attr(div0, "class", "new-year-event-quests__items-block-title-wrapper svelte-12pj67d");
			attr(div1, "class", "new-year-event-quests__items-block-text svelte-12pj67d");
			attr(div2, "class", "new-year-event-quests__items-block-upper svelte-12pj67d");
			toggle_class(div2, "new-year-event-quests__items-block-upper--opened", /*accordionOpened*/ ctx[1]);
			attr(div3, "class", "new-year-event-quests__items-block svelte-12pj67d");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div2);
			append(div2, div1);
			append(div1, div0);
			append(div0, img);
			append(div0, t0);
			append(div0, p);
			append(p, t1);
			append(div1, t2);
			if (if_block0) if_block0.m(div1, null);
			append(div2, t3);
			if_block1.m(div2, null);
			append(div3, t4);
			if (if_block2) if_block2.m(div3, null);

			if (!mounted) {
				dispose = listen(div2, "click", /*handleClick*/ ctx[2]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*accordionOpened*/ 2) {
				toggle_class(img, "new-year-event-quests__items-block-arrow--opened", /*accordionOpened*/ ctx[1]);
			}

			if (dirty & /*quest*/ 1 && t1_value !== (t1_value = /*quest*/ ctx[0].title + "")) set_data(t1, t1_value);

			if (/*accordionOpened*/ ctx[1]) {
				if (if_block0) {
					if_block0.p(ctx, dirty);

					if (dirty & /*accordionOpened*/ 2) {
						transition_in(if_block0, 1);
					}
				} else {
					if_block0 = quests_components_accordion_index_svelte_create_if_block_5(ctx);
					if_block0.c();
					transition_in(if_block0, 1);
					if_block0.m(div1, null);
				}
			} else if (if_block0) {
				group_outros();

				transition_out(if_block0, 1, 1, () => {
					if_block0 = null;
				});

				check_outros();
			}

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block1) {
				if_block1.p(ctx, dirty);
			} else {
				if_block1.d(1);
				if_block1 = current_block_type(ctx);

				if (if_block1) {
					if_block1.c();
					if_block1.m(div2, null);
				}
			}

			if (dirty & /*accordionOpened*/ 2) {
				toggle_class(div2, "new-year-event-quests__items-block-upper--opened", /*accordionOpened*/ ctx[1]);
			}

			if (/*accordionOpened*/ ctx[1]) {
				if (if_block2) {
					if_block2.p(ctx, dirty);

					if (dirty & /*accordionOpened*/ 2) {
						transition_in(if_block2, 1);
					}
				} else {
					if_block2 = new_year_event_quests_components_accordion_index_svelte_create_if_block(ctx);
					if_block2.c();
					transition_in(if_block2, 1);
					if_block2.m(div3, null);
				}
			} else if (if_block2) {
				group_outros();

				transition_out(if_block2, 1, 1, () => {
					if_block2 = null;
				});

				check_outros();
			}
		},
		i(local) {
			transition_in(if_block0);
			transition_in(if_block2);
		},
		o(local) {
			transition_out(if_block0);
			transition_out(if_block2);
		},
		d(detaching) {
			if (detaching) detach(div3);
			if (if_block0) if_block0.d();
			if_block1.d();
			if (if_block2) if_block2.d();
			mounted = false;
			dispose();
		}
	};
}

function new_year_event_quests_components_accordion_index_svelte_instance($$self, $$props, $$invalidate) {
	let { quest } = $$props;
	let { categoryId } = $$props;
	let accordionOpened = false;

	const handleClick = () => {
		$$invalidate(1, accordionOpened = !accordionOpened);
	};

	const drawLocation = () => {
		sendClientMessage('newYear.quest.drawLocation', quest.id, categoryId);
	};

	const receiveReward = () => {
		sendClientMessage('newYear.quest.receiveReward', quest.id, categoryId);
	};

	$$self.$$set = $$props => {
		if ('quest' in $$props) $$invalidate(0, quest = $$props.quest);
		if ('categoryId' in $$props) $$invalidate(5, categoryId = $$props.categoryId);
	};

	return [quest, accordionOpened, handleClick, drawLocation, receiveReward, categoryId];
}

class components_accordion_index_svelte_Accordion extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, new_year_event_quests_components_accordion_index_svelte_instance, new_year_event_quests_components_accordion_index_svelte_create_fragment, safe_not_equal, { quest: 0, categoryId: 5 }, new_year_event_quests_components_accordion_index_svelte_add_css);
	}
}

/* harmony default export */ const new_year_event_quests_components_accordion_index_svelte = (components_accordion_index_svelte_Accordion);
;// CONCATENATED MODULE: ./src/views/new-year-event/quests/index.svelte
/* src\views\new-year-event\quests\index.svelte generated by Svelte v3.49.0 */










function new_year_event_quests_index_svelte_add_css(target) {
	append_styles(target, "svelte-1a0yj82", "@keyframes svelte-1a0yj82-blinking{50%{opacity:0}}@keyframes svelte-1a0yj82-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1a0yj82-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1a0yj82-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1a0yj82-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1a0yj82-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1a0yj82-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1a0yj82-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1a0yj82-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1a0yj82-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1a0yj82-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1a0yj82-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1a0yj82-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1a0yj82-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1a0yj82-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.new-year-event-quests.svelte-1a0yj82{display:flex;align-items:center;flex-direction:column;width:100vw;height:100vh;background:linear-gradient(91deg, rgba(44, 141, 255, 0.5) -5.26%, rgba(44, 141, 255, 0) 38.71%), linear-gradient(280deg, rgba(255, 43, 132, 0.5) 1.45%, rgba(255, 43, 132, 0) 42.1%), linear-gradient(180deg, rgba(12, 61, 106, 0.9) 0%, rgba(0, 13, 17, 0.9) 100%)}.new-year-event-quests__title.svelte-1a0yj82{position:absolute;z-index:1;font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.01875 * 100vw + 0px);top:calc(0.0447916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__title.svelte-1a0yj82{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__title.svelte-1a0yj82{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__title.svelte-1a0yj82{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__title.svelte-1a0yj82{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__title.svelte-1a0yj82{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__title.svelte-1a0yj82{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__title.svelte-1a0yj82{font-size:calc(0.020625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__title.svelte-1a0yj82{top:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__title.svelte-1a0yj82{top:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__title.svelte-1a0yj82{top:calc(0.0344895833 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__title.svelte-1a0yj82{top:calc(0.0492708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__title.svelte-1a0yj82{top:calc(0.0313541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__title.svelte-1a0yj82{top:calc(0.0403125 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__title.svelte-1a0yj82{top:calc(0.0492708333 * 100vw + 0px)}}.new-year-event-quests__logo.svelte-1a0yj82{z-index:2;position:absolute;display:flex;align-items:center;top:calc(0.0151041667 * 100vw + 0px);left:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__logo.svelte-1a0yj82{top:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__logo.svelte-1a0yj82{top:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__logo.svelte-1a0yj82{top:calc(0.0116302083 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__logo.svelte-1a0yj82{top:calc(0.0166145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__logo.svelte-1a0yj82{top:calc(0.0105729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__logo.svelte-1a0yj82{top:calc(0.01359375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__logo.svelte-1a0yj82{top:calc(0.0166145833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__logo.svelte-1a0yj82{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__logo.svelte-1a0yj82{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__logo.svelte-1a0yj82{left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__logo.svelte-1a0yj82{left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__logo.svelte-1a0yj82{left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__logo.svelte-1a0yj82{left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__logo.svelte-1a0yj82{left:calc(0.0286458333 * 100vw + 0px)}}.new-year-event-quests__logo-icon.svelte-1a0yj82{height:calc(0.0677083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__logo-icon.svelte-1a0yj82{height:calc(0.0677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__logo-icon.svelte-1a0yj82{height:calc(0.0677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__logo-icon.svelte-1a0yj82{height:calc(0.0521354167 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__logo-icon.svelte-1a0yj82{height:calc(0.0744791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__logo-icon.svelte-1a0yj82{height:calc(0.0473958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__logo-icon.svelte-1a0yj82{height:calc(0.0609375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__logo-icon.svelte-1a0yj82{height:calc(0.0744791667 * 100vw + 0px)}}.new-year-event-quests__category.svelte-1a0yj82{z-index:3;position:absolute;top:calc(0.1302083333 * 100vw + 0px);left:calc(0.1484375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__category.svelte-1a0yj82{top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__category.svelte-1a0yj82{top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__category.svelte-1a0yj82{top:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__category.svelte-1a0yj82{top:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__category.svelte-1a0yj82{top:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__category.svelte-1a0yj82{top:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__category.svelte-1a0yj82{top:calc(0.1432291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__category.svelte-1a0yj82{left:calc(0.1484375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__category.svelte-1a0yj82{left:calc(0.1484375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__category.svelte-1a0yj82{left:calc(0.114296875 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__category.svelte-1a0yj82{left:calc(0.16328125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__category.svelte-1a0yj82{left:calc(0.10390625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__category.svelte-1a0yj82{left:calc(0.13359375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__category.svelte-1a0yj82{left:calc(0.16328125 * 100vw + 0px)}}.new-year-event-quests__category-title.svelte-1a0yj82{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px);margin-bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__category-title.svelte-1a0yj82{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__category-title.svelte-1a0yj82{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__category-title.svelte-1a0yj82{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__category-title.svelte-1a0yj82{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__category-title.svelte-1a0yj82{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__category-title.svelte-1a0yj82{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__category-title.svelte-1a0yj82{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__category-title.svelte-1a0yj82{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__category-title.svelte-1a0yj82{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__category-title.svelte-1a0yj82{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__category-title.svelte-1a0yj82{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__category-title.svelte-1a0yj82{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__category-title.svelte-1a0yj82{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__category-title.svelte-1a0yj82{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.new-year-event-quests__categories-wrapper.svelte-1a0yj82{width:fit-content;overflow:auto;height:calc(0.378125 * 100vw + 0px);padding-right:calc(0.0130208333 * 100vw + 0px)}.new-year-event-quests__categories-wrapper.svelte-1a0yj82::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.new-year-event-quests__categories-wrapper.svelte-1a0yj82::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.new-year-event-quests__categories-wrapper.svelte-1a0yj82::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82{height:calc(0.378125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82{height:calc(0.378125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82{height:calc(0.29115625 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82{height:calc(0.4159375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82{height:calc(0.2646875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82{height:calc(0.3403125 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82{height:calc(0.4159375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82{padding-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82{padding-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82{padding-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__categories-wrapper.svelte-1a0yj82{padding-right:calc(0.0143229167 * 100vw + 0px)}}.new-year-event-quests__categories-wrapper.svelte-1a0yj82::-webkit-scrollbar{width:0px}.new-year-event-quests__category-quest.svelte-1a0yj82{display:flex;align-items:center;justify-content:space-between;cursor:pointer;background:rgba(255, 255, 255, 0.6);transition:background-color 0.2s linear;position:relative;overflow:hidden;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.3125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__category-quest.svelte-1a0yj82{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__category-quest.svelte-1a0yj82{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__category-quest.svelte-1a0yj82{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__category-quest.svelte-1a0yj82{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__category-quest.svelte-1a0yj82{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__category-quest.svelte-1a0yj82{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__category-quest.svelte-1a0yj82{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__category-quest.svelte-1a0yj82{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__category-quest.svelte-1a0yj82{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__category-quest.svelte-1a0yj82{width:calc(0.240625 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__category-quest.svelte-1a0yj82{width:calc(0.34375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__category-quest.svelte-1a0yj82{width:calc(0.21875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__category-quest.svelte-1a0yj82{width:calc(0.28125 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__category-quest.svelte-1a0yj82{width:calc(0.34375 * 100vw + 0px)}}.new-year-event-quests__category-quest.svelte-1a0yj82:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__category-quest.svelte-1a0yj82:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__category-quest.svelte-1a0yj82:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__category-quest.svelte-1a0yj82:not(:first-child){margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__category-quest.svelte-1a0yj82:not(:first-child){margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__category-quest.svelte-1a0yj82:not(:first-child){margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__category-quest.svelte-1a0yj82:not(:first-child){margin-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__category-quest.svelte-1a0yj82:not(:first-child){margin-top:calc(0.0114583333 * 100vw + 0px)}}.new-year-event-quests__category-quest.svelte-1a0yj82:hover,.new-year-event-quests__category-quest--selected.svelte-1a0yj82,.new-year-event-quests__category-quest--completed.svelte-1a0yj82{background-color:#FFFFFF}.new-year-event-quests__category-quest-body.svelte-1a0yj82{padding-left:calc(0.0130208333 * 100vw + 0px);padding-top:calc(0.0114583333 * 100vw + 0px);padding-bottom:calc(0.0109375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__category-quest-body.svelte-1a0yj82{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__category-quest-body.svelte-1a0yj82{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__category-quest-body.svelte-1a0yj82{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__category-quest-body.svelte-1a0yj82{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__category-quest-body.svelte-1a0yj82{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__category-quest-body.svelte-1a0yj82{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__category-quest-body.svelte-1a0yj82{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__category-quest-body.svelte-1a0yj82{padding-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__category-quest-body.svelte-1a0yj82{padding-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__category-quest-body.svelte-1a0yj82{padding-top:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__category-quest-body.svelte-1a0yj82{padding-top:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__category-quest-body.svelte-1a0yj82{padding-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__category-quest-body.svelte-1a0yj82{padding-top:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__category-quest-body.svelte-1a0yj82{padding-top:calc(0.0126041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__category-quest-body.svelte-1a0yj82{padding-bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__category-quest-body.svelte-1a0yj82{padding-bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__category-quest-body.svelte-1a0yj82{padding-bottom:calc(0.008421875 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__category-quest-body.svelte-1a0yj82{padding-bottom:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__category-quest-body.svelte-1a0yj82{padding-bottom:calc(0.00765625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__category-quest-body.svelte-1a0yj82{padding-bottom:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__category-quest-body.svelte-1a0yj82{padding-bottom:calc(0.01203125 * 100vw + 0px)}}.new-year-event-quests__category-quest-title.svelte-1a0yj82{font-family:\"GothamPro-Medium\";color:#505050;font-size:calc(0.009375 * 100vw + 0px);margin-bottom:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__category-quest-title.svelte-1a0yj82{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__category-quest-title.svelte-1a0yj82{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__category-quest-title.svelte-1a0yj82{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__category-quest-title.svelte-1a0yj82{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__category-quest-title.svelte-1a0yj82{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__category-quest-title.svelte-1a0yj82{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__category-quest-title.svelte-1a0yj82{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__category-quest-title.svelte-1a0yj82{margin-bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__category-quest-title.svelte-1a0yj82{margin-bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__category-quest-title.svelte-1a0yj82{margin-bottom:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__category-quest-title.svelte-1a0yj82{margin-bottom:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__category-quest-title.svelte-1a0yj82{margin-bottom:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__category-quest-title.svelte-1a0yj82{margin-bottom:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__category-quest-title.svelte-1a0yj82{margin-bottom:calc(0.0028645833 * 100vw + 0px)}}.new-year-event-quests__category-quest-descr.svelte-1a0yj82{font-family:\"GothamPro\";color:#505050;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__category-quest-descr.svelte-1a0yj82{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__category-quest-descr.svelte-1a0yj82{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__category-quest-descr.svelte-1a0yj82{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__category-quest-descr.svelte-1a0yj82{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__category-quest-descr.svelte-1a0yj82{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__category-quest-descr.svelte-1a0yj82{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__category-quest-descr.svelte-1a0yj82{font-size:calc(0.0057291667 * 100vw + 0px)}}.new-year-event-quests__category-quest-progress.svelte-1a0yj82{display:flex;flex-direction:column;width:calc(0.046875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__category-quest-progress.svelte-1a0yj82{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__category-quest-progress.svelte-1a0yj82{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__category-quest-progress.svelte-1a0yj82{width:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__category-quest-progress.svelte-1a0yj82{width:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__category-quest-progress.svelte-1a0yj82{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__category-quest-progress.svelte-1a0yj82{width:calc(0.0421875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__category-quest-progress.svelte-1a0yj82{width:calc(0.0515625 * 100vw + 0px)}}.new-year-event-quests__category-quest-progress--completed.svelte-1a0yj82{display:flex;justify-content:center;align-items:center;background:#83BD6F;border-radius:calc(0.0130208333 * 100vw + 0px);width:calc(0.0442708333 * 100vw + 0px);height:calc(0.0130208333 * 100vw + 0px);margin-right:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__category-quest-progress--completed.svelte-1a0yj82{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__category-quest-progress--completed.svelte-1a0yj82{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__category-quest-progress--completed.svelte-1a0yj82{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__category-quest-progress--completed.svelte-1a0yj82{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__category-quest-progress--completed.svelte-1a0yj82{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__category-quest-progress--completed.svelte-1a0yj82{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__category-quest-progress--completed.svelte-1a0yj82{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__category-quest-progress--completed.svelte-1a0yj82{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__category-quest-progress--completed.svelte-1a0yj82{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__category-quest-progress--completed.svelte-1a0yj82{width:calc(0.0340885417 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__category-quest-progress--completed.svelte-1a0yj82{width:calc(0.0486979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__category-quest-progress--completed.svelte-1a0yj82{width:calc(0.0309895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__category-quest-progress--completed.svelte-1a0yj82{width:calc(0.03984375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__category-quest-progress--completed.svelte-1a0yj82{width:calc(0.0486979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__category-quest-progress--completed.svelte-1a0yj82{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__category-quest-progress--completed.svelte-1a0yj82{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__category-quest-progress--completed.svelte-1a0yj82{height:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__category-quest-progress--completed.svelte-1a0yj82{height:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__category-quest-progress--completed.svelte-1a0yj82{height:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__category-quest-progress--completed.svelte-1a0yj82{height:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__category-quest-progress--completed.svelte-1a0yj82{height:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__category-quest-progress--completed.svelte-1a0yj82{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__category-quest-progress--completed.svelte-1a0yj82{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__category-quest-progress--completed.svelte-1a0yj82{margin-right:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__category-quest-progress--completed.svelte-1a0yj82{margin-right:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__category-quest-progress--completed.svelte-1a0yj82{margin-right:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__category-quest-progress--completed.svelte-1a0yj82{margin-right:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__category-quest-progress--completed.svelte-1a0yj82{margin-right:calc(0.0091666667 * 100vw + 0px)}}.new-year-event-quests__category-exp.svelte-1a0yj82{font-family:\"GothamPro-Medium\";color:#505050;font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__category-exp.svelte-1a0yj82{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__category-exp.svelte-1a0yj82{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__category-exp.svelte-1a0yj82{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__category-exp.svelte-1a0yj82{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__category-exp.svelte-1a0yj82{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__category-exp.svelte-1a0yj82{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__category-exp.svelte-1a0yj82{font-size:calc(0.0114583333 * 100vw + 0px)}}.new-year-event-quests__category-exp--completed.svelte-1a0yj82{font-family:\"GothamPro-Light\";color:#FFFFFF;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__category-exp--completed.svelte-1a0yj82{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__category-exp--completed.svelte-1a0yj82{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__category-exp--completed.svelte-1a0yj82{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__category-exp--completed.svelte-1a0yj82{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__category-exp--completed.svelte-1a0yj82{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__category-exp--completed.svelte-1a0yj82{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__category-exp--completed.svelte-1a0yj82{font-size:calc(0.0057291667 * 100vw + 0px)}}.new-year-event-quests__category-exp-descr.svelte-1a0yj82{font-family:\"GothamPro\";color:#505050;font-size:calc(0.00625 * 100vw + 0px);margin-top:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__category-exp-descr.svelte-1a0yj82{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__category-exp-descr.svelte-1a0yj82{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__category-exp-descr.svelte-1a0yj82{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__category-exp-descr.svelte-1a0yj82{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__category-exp-descr.svelte-1a0yj82{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__category-exp-descr.svelte-1a0yj82{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__category-exp-descr.svelte-1a0yj82{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__category-exp-descr.svelte-1a0yj82{margin-top:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__category-exp-descr.svelte-1a0yj82{margin-top:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__category-exp-descr.svelte-1a0yj82{margin-top:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__category-exp-descr.svelte-1a0yj82{margin-top:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__category-exp-descr.svelte-1a0yj82{margin-top:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__category-exp-descr.svelte-1a0yj82{margin-top:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__category-exp-descr.svelte-1a0yj82{margin-top:calc(0.0028645833 * 100vw + 0px)}}.new-year-event-quests__items.svelte-1a0yj82{z-index:3;position:absolute;top:calc(0.1302083333 * 100vw + 0px);right:calc(0.1328125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items.svelte-1a0yj82{top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items.svelte-1a0yj82{top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items.svelte-1a0yj82{top:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items.svelte-1a0yj82{top:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items.svelte-1a0yj82{top:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items.svelte-1a0yj82{top:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items.svelte-1a0yj82{top:calc(0.1432291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items.svelte-1a0yj82{right:calc(0.1328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items.svelte-1a0yj82{right:calc(0.1328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items.svelte-1a0yj82{right:calc(0.102265625 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items.svelte-1a0yj82{right:calc(0.14609375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items.svelte-1a0yj82{right:calc(0.09296875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items.svelte-1a0yj82{right:calc(0.11953125 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items.svelte-1a0yj82{right:calc(0.14609375 * 100vw + 0px)}}.new-year-event-quests__items-title.svelte-1a0yj82{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px);margin-bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-title.svelte-1a0yj82{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-title.svelte-1a0yj82{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-title.svelte-1a0yj82{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-title.svelte-1a0yj82{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-title.svelte-1a0yj82{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-title.svelte-1a0yj82{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-title.svelte-1a0yj82{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-title.svelte-1a0yj82{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-title.svelte-1a0yj82{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-title.svelte-1a0yj82{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-title.svelte-1a0yj82{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-title.svelte-1a0yj82{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-title.svelte-1a0yj82{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-title.svelte-1a0yj82{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.new-year-event-quests__items-wrapper.svelte-1a0yj82{overflow:auto;height:calc(0.378125 * 100vw + 0px);padding-right:calc(0.0130208333 * 100vw + 0px)}.new-year-event-quests__items-wrapper.svelte-1a0yj82::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-wrapper.svelte-1a0yj82::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-wrapper.svelte-1a0yj82::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-wrapper.svelte-1a0yj82::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-wrapper.svelte-1a0yj82::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-wrapper.svelte-1a0yj82::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-wrapper.svelte-1a0yj82::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-wrapper.svelte-1a0yj82::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-wrapper.svelte-1a0yj82::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-wrapper.svelte-1a0yj82::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-wrapper.svelte-1a0yj82::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-wrapper.svelte-1a0yj82::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-wrapper.svelte-1a0yj82::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-wrapper.svelte-1a0yj82::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-wrapper.svelte-1a0yj82::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.new-year-event-quests__items-wrapper.svelte-1a0yj82::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-wrapper.svelte-1a0yj82::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-wrapper.svelte-1a0yj82::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-wrapper.svelte-1a0yj82::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-wrapper.svelte-1a0yj82::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-wrapper.svelte-1a0yj82::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-wrapper.svelte-1a0yj82::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-wrapper.svelte-1a0yj82::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.new-year-event-quests__items-wrapper.svelte-1a0yj82::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-wrapper.svelte-1a0yj82::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-wrapper.svelte-1a0yj82::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-wrapper.svelte-1a0yj82::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-wrapper.svelte-1a0yj82::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-wrapper.svelte-1a0yj82::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-wrapper.svelte-1a0yj82::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-wrapper.svelte-1a0yj82::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-wrapper.svelte-1a0yj82{height:calc(0.378125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-wrapper.svelte-1a0yj82{height:calc(0.378125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-wrapper.svelte-1a0yj82{height:calc(0.29115625 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-wrapper.svelte-1a0yj82{height:calc(0.4159375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-wrapper.svelte-1a0yj82{height:calc(0.2646875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-wrapper.svelte-1a0yj82{height:calc(0.3403125 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-wrapper.svelte-1a0yj82{height:calc(0.4159375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.new-year-event-quests__items-wrapper.svelte-1a0yj82{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.new-year-event-quests__items-wrapper.svelte-1a0yj82{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.new-year-event-quests__items-wrapper.svelte-1a0yj82{padding-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.new-year-event-quests__items-wrapper.svelte-1a0yj82{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.new-year-event-quests__items-wrapper.svelte-1a0yj82{padding-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.new-year-event-quests__items-wrapper.svelte-1a0yj82{padding-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.new-year-event-quests__items-wrapper.svelte-1a0yj82{padding-right:calc(0.0143229167 * 100vw + 0px)}}.new-year-event-quests__items-wrapper.svelte-1a0yj82::-webkit-scrollbar{width:0px}");
}

function new_year_event_quests_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[15] = list[i];
	return child_ctx;
}

function new_year_event_quests_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[18] = list[i];
	return child_ctx;
}

// (1917:20) {:else}
function new_year_event_quests_index_svelte_create_else_block(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="new-year-event-quests__category-exp--completed svelte-1a0yj82">Выполнено</p>`;
			attr(div, "class", "new-year-event-quests__category-quest-progress--completed svelte-1a0yj82");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1906:20) {#if category.progress !== category.maxProgress}
function new_year_event_quests_index_svelte_create_if_block_1(ctx) {
	let div;
	let p0;
	let t0_value = /*category*/ ctx[18].progress + "";
	let t0;
	let t1;
	let t2_value = /*category*/ ctx[18].maxProgress + "";
	let t2;
	let t3;
	let p1;

	return {
		c() {
			div = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = internal_text("\r\n                                /\r\n                                ");
			t2 = internal_text(t2_value);
			t3 = space();
			p1 = internal_element("p");
			p1.textContent = "Прогресс";
			attr(p0, "class", "new-year-event-quests__category-exp svelte-1a0yj82");
			attr(p1, "class", "new-year-event-quests__category-exp-descr svelte-1a0yj82");
			attr(div, "class", "new-year-event-quests__category-quest-progress svelte-1a0yj82");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p0);
			append(p0, t0);
			append(p0, t1);
			append(p0, t2);
			append(div, t3);
			append(div, p1);
		},
		p(ctx, dirty) {
			if (dirty & /*categoriesTabs*/ 2 && t0_value !== (t0_value = /*category*/ ctx[18].progress + "")) set_data(t0, t0_value);
			if (dirty & /*categoriesTabs*/ 2 && t2_value !== (t2_value = /*category*/ ctx[18].maxProgress + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1892:12) {#each categoriesTabs as category}
function new_year_event_quests_index_svelte_create_each_block_1(ctx) {
	let div1;
	let div0;
	let p0;
	let t0_value = /*category*/ ctx[18].title + "";
	let t0;
	let t1;
	let p1;
	let t2_value = /*category*/ ctx[18].description + "";
	let t2;
	let t3;
	let t4;
	let mounted;
	let dispose;

	function select_block_type(ctx, dirty) {
		if (/*category*/ ctx[18].progress !== /*category*/ ctx[18].maxProgress) return new_year_event_quests_index_svelte_create_if_block_1;
		return new_year_event_quests_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block = current_block_type(ctx);

	function click_handler() {
		return /*click_handler*/ ctx[5](/*category*/ ctx[18]);
	}

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = space();
			if_block.c();
			t4 = space();
			attr(p0, "class", "new-year-event-quests__category-quest-title svelte-1a0yj82");
			attr(p1, "class", "new-year-event-quests__category-quest-descr svelte-1a0yj82");
			attr(div0, "class", "new-year-event-quests__category-quest-body svelte-1a0yj82");
			attr(div1, "class", "new-year-event-quests__category-quest svelte-1a0yj82");
			toggle_class(div1, "new-year-event-quests__category-quest--selected", /*category*/ ctx[18].id === /*selectedTabId*/ ctx[2]);
			toggle_class(div1, "new-year-event-quests__category-quest--completed", /*category*/ ctx[18].progress === /*category*/ ctx[18].maxProgress);
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, p0);
			append(p0, t0);
			append(div0, t1);
			append(div0, p1);
			append(p1, t2);
			append(div1, t3);
			if_block.m(div1, null);
			append(div1, t4);

			if (!mounted) {
				dispose = listen(div1, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if (dirty & /*categoriesTabs*/ 2 && t0_value !== (t0_value = /*category*/ ctx[18].title + "")) set_data(t0, t0_value);
			if (dirty & /*categoriesTabs*/ 2 && t2_value !== (t2_value = /*category*/ ctx[18].description + "")) set_data(t2, t2_value);

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div1, t4);
				}
			}

			if (dirty & /*categoriesTabs, selectedTabId*/ 6) {
				toggle_class(div1, "new-year-event-quests__category-quest--selected", /*category*/ ctx[18].id === /*selectedTabId*/ ctx[2]);
			}

			if (dirty & /*categoriesTabs*/ 2) {
				toggle_class(div1, "new-year-event-quests__category-quest--completed", /*category*/ ctx[18].progress === /*category*/ ctx[18].maxProgress);
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			if_block.d();
			mounted = false;
			dispose();
		}
	};
}

// (1929:8) {#if !isEmpty(categoriesQuests[selectedTabId])}
function new_year_event_quests_index_svelte_create_if_block(ctx) {
	let p;
	let t1;
	let div;
	let previous_key = /*selectedTabId*/ ctx[2];
	let current;
	let key_block = new_year_event_quests_index_svelte_create_key_block(ctx);

	return {
		c() {
			p = internal_element("p");
			p.textContent = "Задания";
			t1 = space();
			div = internal_element("div");
			key_block.c();
			attr(p, "class", "new-year-event-quests__items-title svelte-1a0yj82");
			attr(div, "class", "new-year-event-quests__items-wrapper svelte-1a0yj82");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			insert(target, t1, anchor);
			insert(target, div, anchor);
			key_block.m(div, null);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty & /*selectedTabId*/ 4 && safe_not_equal(previous_key, previous_key = /*selectedTabId*/ ctx[2])) {
				group_outros();
				transition_out(key_block, 1, 1, internal_noop);
				check_outros();
				key_block = new_year_event_quests_index_svelte_create_key_block(ctx);
				key_block.c();
				transition_in(key_block, 1);
				key_block.m(div, null);
			} else {
				key_block.p(ctx, dirty);
			}
		},
		i(local) {
			if (current) return;
			transition_in(key_block);
			current = true;
		},
		o(local) {
			transition_out(key_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(p);
			if (detaching) detach(t1);
			if (detaching) detach(div);
			key_block.d(detaching);
		}
	};
}

// (1935:20) {#each categoriesQuests[selectedTabId] as quest}
function new_year_event_quests_index_svelte_create_each_block(ctx) {
	let accordion;
	let current;

	accordion = new new_year_event_quests_components_accordion_index_svelte({
			props: {
				quest: /*quest*/ ctx[15],
				categoryId: /*selectedTabId*/ ctx[2]
			}
		});

	return {
		c() {
			create_component(accordion.$$.fragment);
		},
		m(target, anchor) {
			mount_component(accordion, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const accordion_changes = {};
			if (dirty & /*categoriesQuests, selectedTabId*/ 5) accordion_changes.quest = /*quest*/ ctx[15];
			if (dirty & /*selectedTabId*/ 4) accordion_changes.categoryId = /*selectedTabId*/ ctx[2];
			accordion.$set(accordion_changes);
		},
		i(local) {
			if (current) return;
			transition_in(accordion.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(accordion.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(accordion, detaching);
		}
	};
}

// (1934:16) {#key selectedTabId}
function new_year_event_quests_index_svelte_create_key_block(ctx) {
	let each_1_anchor;
	let current;
	let each_value = /*categoriesQuests*/ ctx[0][/*selectedTabId*/ ctx[2]];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = new_year_event_quests_index_svelte_create_each_block(new_year_event_quests_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty & /*categoriesQuests, selectedTabId*/ 5) {
				each_value = /*categoriesQuests*/ ctx[0][/*selectedTabId*/ ctx[2]];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = new_year_event_quests_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = new_year_event_quests_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			destroy_each(each_blocks, detaching);
			if (detaching) detach(each_1_anchor);
		}
	};
}

function new_year_event_quests_index_svelte_create_fragment(ctx) {
	let div4;
	let p0;
	let t1;
	let newyeareventbackground;
	let t2;
	let exitbutton;
	let t3;
	let div0;
	let img;
	let img_src_value;
	let t4;
	let div2;
	let p1;
	let t6;
	let div1;
	let t7;
	let div3;
	let show_if = !(0,lodash.isEmpty)(/*categoriesQuests*/ ctx[0][/*selectedTabId*/ ctx[2]]);
	let current;
	newyeareventbackground = new new_year_event_components_background_index_svelte({});

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[4],
				title: "Вернутся назад",
				fixedPosition: true
			}
		});

	let each_value_1 = /*categoriesTabs*/ ctx[1];
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = new_year_event_quests_index_svelte_create_each_block_1(new_year_event_quests_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	let if_block = show_if && new_year_event_quests_index_svelte_create_if_block(ctx);

	return {
		c() {
			div4 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Список заданий";
			t1 = space();
			create_component(newyeareventbackground.$$.fragment);
			t2 = space();
			create_component(exitbutton.$$.fragment);
			t3 = space();
			div0 = internal_element("div");
			img = internal_element("img");
			t4 = space();
			div2 = internal_element("div");
			p1 = internal_element("p");
			p1.textContent = "Этапы";
			t6 = space();
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t7 = space();
			div3 = internal_element("div");
			if (if_block) if_block.c();
			attr(p0, "class", "new-year-event-quests__title svelte-1a0yj82");
			attr(img, "class", "new-year-event-quests__logo-icon svelte-1a0yj82");
			if (!src_url_equal(img.src, img_src_value = new_year_event_logo_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "logo");
			attr(div0, "class", "new-year-event-quests__logo svelte-1a0yj82");
			attr(p1, "class", "new-year-event-quests__category-title svelte-1a0yj82");
			attr(div1, "class", "new-year-event-quests__categories-wrapper svelte-1a0yj82");
			attr(div2, "class", "new-year-event-quests__category svelte-1a0yj82");
			attr(div3, "class", "new-year-event-quests__items svelte-1a0yj82");
			attr(div4, "class", "new-year-event-quests svelte-1a0yj82");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, p0);
			append(div4, t1);
			mount_component(newyeareventbackground, div4, null);
			append(div4, t2);
			mount_component(exitbutton, div4, null);
			append(div4, t3);
			append(div4, div0);
			append(div0, img);
			append(div4, t4);
			append(div4, div2);
			append(div2, p1);
			append(div2, t6);
			append(div2, div1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}

			append(div4, t7);
			append(div4, div3);
			if (if_block) if_block.m(div3, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*categoriesTabs, selectedTabId, selectCategory*/ 14) {
				each_value_1 = /*categoriesTabs*/ ctx[1];
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = new_year_event_quests_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = new_year_event_quests_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div1, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}

			if (dirty & /*categoriesQuests, selectedTabId*/ 5) show_if = !(0,lodash.isEmpty)(/*categoriesQuests*/ ctx[0][/*selectedTabId*/ ctx[2]]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*categoriesQuests, selectedTabId*/ 5) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = new_year_event_quests_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(div3, null);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(newyeareventbackground.$$.fragment, local);
			transition_in(exitbutton.$$.fragment, local);
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(newyeareventbackground.$$.fragment, local);
			transition_out(exitbutton.$$.fragment, local);
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div4);
			destroy_component(newyeareventbackground);
			destroy_component(exitbutton);
			destroy_each(each_blocks, detaching);
			if (if_block) if_block.d();
		}
	};
}

function new_year_event_quests_index_svelte_instance($$self, $$props, $$invalidate) {
	let categoriesQuests = {};
	let categoriesTabs = [];
	let selectedTabId = null;

	const setCategoryQuests = (categoryId, quests) => {
		$$invalidate(0, categoriesQuests[categoryId] = quests, categoriesQuests);
	};

	const pushCategoryQuests = (categoryId, quests) => {
		$$invalidate(0, categoriesQuests[categoryId] = [...categoriesQuests[categoryId] || [], ...quests], categoriesQuests);
	};

	const selectCategory = tabId => {
		$$invalidate(2, selectedTabId = tabId);
	};

	const handleClose = () => {
		
	}; // exec close event

	const initQuests = categoriesQuestsDto => {
		$$invalidate(0, categoriesQuests = categoriesQuestsDto);
	};

	const initTabs = categoriesTabsDto => {
		$$invalidate(1, categoriesTabs = categoriesTabsDto);
	};

	const unregisterInitQuestsEvent = registerEvent('newYear.quests.initialize', initQuests);
	const unregisterInitTabsEvent = registerEvent('newYear.categories.initialize', initTabs);
	const unregisterSetCategoryQuestEvent = registerEvent('newYear.quests.update', setCategoryQuests);
	const unregisterSelectCategoryQuestEvent = registerEvent('newYear.categories.select', selectCategory);
	const unregisterPushQuestsEvent = registerEvent('newYear.quests.push', pushCategoryQuests);

	onDestroy(() => {
		unregisterInitQuestsEvent();
		unregisterInitTabsEvent();
		unregisterSetCategoryQuestEvent();
		unregisterSelectCategoryQuestEvent();
		unregisterPushQuestsEvent();
	});

	const click_handler = category => selectCategory(category.id);

	return [
		categoriesQuests,
		categoriesTabs,
		selectedTabId,
		selectCategory,
		handleClose,
		click_handler
	];
}

class new_year_event_quests_index_svelte_Quests extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, new_year_event_quests_index_svelte_instance, new_year_event_quests_index_svelte_create_fragment, safe_not_equal, {}, new_year_event_quests_index_svelte_add_css);
	}
}

/* harmony default export */ const new_year_event_quests_index_svelte = (new_year_event_quests_index_svelte_Quests);
;// CONCATENATED MODULE: ./src/views/shop/img/background-top.svg
const background_top_namespaceObject = __webpack_require__.p + "assets/a5b4cc5ec39070d6350d.svg";
;// CONCATENATED MODULE: ./src/views/shop/img/background-bottom.svg
const background_bottom_namespaceObject = __webpack_require__.p + "assets/b3d66d125ecf6cb080c1.svg";
;// CONCATENATED MODULE: ./src/views/shop/img/selected-item-icon.svg
const selected_item_icon_namespaceObject = __webpack_require__.p + "assets/0f4207adb4b2a2f28be3.svg";
;// CONCATENATED MODULE: ./src/views/shop/img/selected-color-icon.svg
const selected_color_icon_namespaceObject = __webpack_require__.p + "assets/ee21f7de7d7ac59f7911.svg";
;// CONCATENATED MODULE: ./src/views/shop/index.svelte
/* src\views\shop\index.svelte generated by Svelte v3.49.0 */











// import { SHOP_INFORMATION_MOCK, ITEMS_MOCK } from './mocks';






function shop_index_svelte_add_css(target) {
	append_styles(target, "svelte-thtkv", "@keyframes svelte-thtkv-blinking{50%{opacity:0}}@keyframes svelte-thtkv-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-thtkv-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-thtkv-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-thtkv-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-thtkv-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-thtkv-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-thtkv-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-thtkv-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-thtkv-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-thtkv-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-thtkv-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-thtkv-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-thtkv-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-thtkv-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.shop.svelte-thtkv.svelte-thtkv{display:flex;width:100vw;height:100vh}.shop__tabs.svelte-thtkv.svelte-thtkv{display:flex;flex-direction:column;justify-content:space-between;background-color:rgba(32, 39, 49, 0.9);height:100%;width:calc(0.1822916667 * 100vw + 0px);padding-bottom:calc(0.0119791667 * 100vw + 0px);gap:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__tabs.svelte-thtkv.svelte-thtkv{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__tabs.svelte-thtkv.svelte-thtkv{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__tabs.svelte-thtkv.svelte-thtkv{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.shop__tabs.svelte-thtkv.svelte-thtkv{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__tabs.svelte-thtkv.svelte-thtkv{width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__tabs.svelte-thtkv.svelte-thtkv{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.shop__tabs.svelte-thtkv.svelte-thtkv{width:calc(0.2005208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__tabs.svelte-thtkv.svelte-thtkv{padding-bottom:calc(0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__tabs.svelte-thtkv.svelte-thtkv{padding-bottom:calc(0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__tabs.svelte-thtkv.svelte-thtkv{padding-bottom:calc(0.0092239583 * 100vw + 0px)}}@media(min-width: 3440px){.shop__tabs.svelte-thtkv.svelte-thtkv{padding-bottom:calc(0.0131770833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__tabs.svelte-thtkv.svelte-thtkv{padding-bottom:calc(0.0083854167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__tabs.svelte-thtkv.svelte-thtkv{padding-bottom:calc(0.01078125 * 100vw + 0px)}}@media(min-width: 4096px){.shop__tabs.svelte-thtkv.svelte-thtkv{padding-bottom:calc(0.0131770833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__tabs.svelte-thtkv.svelte-thtkv{gap:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__tabs.svelte-thtkv.svelte-thtkv{gap:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__tabs.svelte-thtkv.svelte-thtkv{gap:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.shop__tabs.svelte-thtkv.svelte-thtkv{gap:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__tabs.svelte-thtkv.svelte-thtkv{gap:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__tabs.svelte-thtkv.svelte-thtkv{gap:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.shop__tabs.svelte-thtkv.svelte-thtkv{gap:calc(0.0286458333 * 100vw + 0px)}}.shop__tabs-background-top.svelte-thtkv.svelte-thtkv{position:absolute;opacity:0.15;pointer-events:none;left:calc(-0.0052083333 * 100vw + 0px);width:calc(0.1875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__tabs-background-top.svelte-thtkv.svelte-thtkv{left:calc(-0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__tabs-background-top.svelte-thtkv.svelte-thtkv{left:calc(-0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__tabs-background-top.svelte-thtkv.svelte-thtkv{left:calc(-0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.shop__tabs-background-top.svelte-thtkv.svelte-thtkv{left:calc(-0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__tabs-background-top.svelte-thtkv.svelte-thtkv{left:calc(-0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__tabs-background-top.svelte-thtkv.svelte-thtkv{left:calc(-0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.shop__tabs-background-top.svelte-thtkv.svelte-thtkv{left:calc(-0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__tabs-background-top.svelte-thtkv.svelte-thtkv{width:calc(0.1875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__tabs-background-top.svelte-thtkv.svelte-thtkv{width:calc(0.1875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__tabs-background-top.svelte-thtkv.svelte-thtkv{width:calc(0.144375 * 100vw + 0px)}}@media(min-width: 3440px){.shop__tabs-background-top.svelte-thtkv.svelte-thtkv{width:calc(0.20625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__tabs-background-top.svelte-thtkv.svelte-thtkv{width:calc(0.13125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__tabs-background-top.svelte-thtkv.svelte-thtkv{width:calc(0.16875 * 100vw + 0px)}}@media(min-width: 4096px){.shop__tabs-background-top.svelte-thtkv.svelte-thtkv{width:calc(0.20625 * 100vw + 0px)}}.shop__tabs-background-bottom.svelte-thtkv.svelte-thtkv{position:absolute;bottom:0;opacity:0.15;pointer-events:none;left:calc(-0.0052083333 * 100vw + 0px);width:calc(0.1875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__tabs-background-bottom.svelte-thtkv.svelte-thtkv{left:calc(-0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__tabs-background-bottom.svelte-thtkv.svelte-thtkv{left:calc(-0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__tabs-background-bottom.svelte-thtkv.svelte-thtkv{left:calc(-0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.shop__tabs-background-bottom.svelte-thtkv.svelte-thtkv{left:calc(-0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__tabs-background-bottom.svelte-thtkv.svelte-thtkv{left:calc(-0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__tabs-background-bottom.svelte-thtkv.svelte-thtkv{left:calc(-0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.shop__tabs-background-bottom.svelte-thtkv.svelte-thtkv{left:calc(-0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__tabs-background-bottom.svelte-thtkv.svelte-thtkv{width:calc(0.1875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__tabs-background-bottom.svelte-thtkv.svelte-thtkv{width:calc(0.1875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__tabs-background-bottom.svelte-thtkv.svelte-thtkv{width:calc(0.144375 * 100vw + 0px)}}@media(min-width: 3440px){.shop__tabs-background-bottom.svelte-thtkv.svelte-thtkv{width:calc(0.20625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__tabs-background-bottom.svelte-thtkv.svelte-thtkv{width:calc(0.13125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__tabs-background-bottom.svelte-thtkv.svelte-thtkv{width:calc(0.16875 * 100vw + 0px)}}@media(min-width: 4096px){.shop__tabs-background-bottom.svelte-thtkv.svelte-thtkv{width:calc(0.20625 * 100vw + 0px)}}.shop__main-information.svelte-thtkv.svelte-thtkv{display:flex;flex-direction:column;margin-top:calc(0.0260416667 * 100vw + 0px);margin-left:calc(0.0260416667 * 100vw + 0px);gap:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__main-information.svelte-thtkv.svelte-thtkv{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__main-information.svelte-thtkv.svelte-thtkv{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__main-information.svelte-thtkv.svelte-thtkv{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.shop__main-information.svelte-thtkv.svelte-thtkv{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__main-information.svelte-thtkv.svelte-thtkv{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__main-information.svelte-thtkv.svelte-thtkv{margin-top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.shop__main-information.svelte-thtkv.svelte-thtkv{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__main-information.svelte-thtkv.svelte-thtkv{margin-left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__main-information.svelte-thtkv.svelte-thtkv{margin-left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__main-information.svelte-thtkv.svelte-thtkv{margin-left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.shop__main-information.svelte-thtkv.svelte-thtkv{margin-left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__main-information.svelte-thtkv.svelte-thtkv{margin-left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__main-information.svelte-thtkv.svelte-thtkv{margin-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.shop__main-information.svelte-thtkv.svelte-thtkv{margin-left:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__main-information.svelte-thtkv.svelte-thtkv{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__main-information.svelte-thtkv.svelte-thtkv{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__main-information.svelte-thtkv.svelte-thtkv{gap:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.shop__main-information.svelte-thtkv.svelte-thtkv{gap:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__main-information.svelte-thtkv.svelte-thtkv{gap:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__main-information.svelte-thtkv.svelte-thtkv{gap:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.shop__main-information.svelte-thtkv.svelte-thtkv{gap:calc(0.00859375 * 100vw + 0px)}}.shop__tabs-title.svelte-thtkv.svelte-thtkv{color:#FFFFFF;font-family:\"GothamPro-Bold\";font-size:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__tabs-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__tabs-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__tabs-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.shop__tabs-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__tabs-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__tabs-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.shop__tabs-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.0183333333 * 100vw + 0px)}}.shop__tabs-description.svelte-thtkv.svelte-thtkv{color:#86898B;font-family:\"GothamPro-Medium\";font-size:calc(0.0083333333 * 100vw + 0px);width:calc(0.1135416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__tabs-description.svelte-thtkv.svelte-thtkv{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__tabs-description.svelte-thtkv.svelte-thtkv{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__tabs-description.svelte-thtkv.svelte-thtkv{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.shop__tabs-description.svelte-thtkv.svelte-thtkv{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__tabs-description.svelte-thtkv.svelte-thtkv{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__tabs-description.svelte-thtkv.svelte-thtkv{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.shop__tabs-description.svelte-thtkv.svelte-thtkv{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__tabs-description.svelte-thtkv.svelte-thtkv{width:calc(0.1135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__tabs-description.svelte-thtkv.svelte-thtkv{width:calc(0.1135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__tabs-description.svelte-thtkv.svelte-thtkv{width:calc(0.0874270833 * 100vw + 0px)}}@media(min-width: 3440px){.shop__tabs-description.svelte-thtkv.svelte-thtkv{width:calc(0.1248958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__tabs-description.svelte-thtkv.svelte-thtkv{width:calc(0.0794791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__tabs-description.svelte-thtkv.svelte-thtkv{width:calc(0.1021875 * 100vw + 0px)}}@media(min-width: 4096px){.shop__tabs-description.svelte-thtkv.svelte-thtkv{width:calc(0.1248958333 * 100vw + 0px)}}.shop__tabs-items-wrapper.svelte-thtkv.svelte-thtkv{display:flex;flex-direction:column;justify-content:center;overflow:auto}.shop__tabs-items-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__tabs-items-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__tabs-items-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__tabs-items-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.shop__tabs-items-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__tabs-items-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__tabs-items-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.shop__tabs-items-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__tabs-items-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__tabs-items-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__tabs-items-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.shop__tabs-items-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__tabs-items-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__tabs-items-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.shop__tabs-items-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.shop__tabs-items-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__tabs-items-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__tabs-items-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__tabs-items-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.shop__tabs-items-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__tabs-items-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__tabs-items-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.shop__tabs-items-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.shop__tabs-items-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__tabs-items-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__tabs-items-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__tabs-items-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.shop__tabs-items-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__tabs-items-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__tabs-items-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.shop__tabs-items-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}.shop__tabs-item.svelte-thtkv.svelte-thtkv{display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color 0.2s linear;height:calc(0.0520833333 * 100vw + 0px);min-height:calc(0.0520833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__tabs-item.svelte-thtkv.svelte-thtkv{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__tabs-item.svelte-thtkv.svelte-thtkv{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__tabs-item.svelte-thtkv.svelte-thtkv{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.shop__tabs-item.svelte-thtkv.svelte-thtkv{height:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__tabs-item.svelte-thtkv.svelte-thtkv{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__tabs-item.svelte-thtkv.svelte-thtkv{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.shop__tabs-item.svelte-thtkv.svelte-thtkv{height:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__tabs-item.svelte-thtkv.svelte-thtkv{min-height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__tabs-item.svelte-thtkv.svelte-thtkv{min-height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__tabs-item.svelte-thtkv.svelte-thtkv{min-height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.shop__tabs-item.svelte-thtkv.svelte-thtkv{min-height:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__tabs-item.svelte-thtkv.svelte-thtkv{min-height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__tabs-item.svelte-thtkv.svelte-thtkv{min-height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.shop__tabs-item.svelte-thtkv.svelte-thtkv{min-height:calc(0.0572916667 * 100vw + 0px)}}.shop__tabs-item--selected.svelte-thtkv.svelte-thtkv{border-right:1px solid #FFFFFF;background-color:rgba(255, 255, 255, 0.1)}.shop__tabs-item--selected.svelte-thtkv .shop__tabs-item-title.svelte-thtkv{color:#FFFFFF}.shop__tabs-item.svelte-thtkv.svelte-thtkv:hover{background-color:rgba(255, 255, 255, 0.1)}.shop__tabs-item.svelte-thtkv:hover .shop__tabs-item-title.svelte-thtkv{color:#FFFFFF}.shop__tabs-item-title.svelte-thtkv.svelte-thtkv{color:#86898B;font-family:\"GothamPro-Medium\";font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__tabs-item-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__tabs-item-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__tabs-item-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.shop__tabs-item-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__tabs-item-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__tabs-item-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.shop__tabs-item-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.0114583333 * 100vw + 0px)}}.shop__order-details.svelte-thtkv.svelte-thtkv{display:flex;flex-direction:column;margin-left:calc(0.0130208333 * 100vw + 0px);gap:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__order-details.svelte-thtkv.svelte-thtkv{margin-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__order-details.svelte-thtkv.svelte-thtkv{margin-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__order-details.svelte-thtkv.svelte-thtkv{margin-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.shop__order-details.svelte-thtkv.svelte-thtkv{margin-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__order-details.svelte-thtkv.svelte-thtkv{margin-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__order-details.svelte-thtkv.svelte-thtkv{margin-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.shop__order-details.svelte-thtkv.svelte-thtkv{margin-left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__order-details.svelte-thtkv.svelte-thtkv{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__order-details.svelte-thtkv.svelte-thtkv{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__order-details.svelte-thtkv.svelte-thtkv{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.shop__order-details.svelte-thtkv.svelte-thtkv{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__order-details.svelte-thtkv.svelte-thtkv{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__order-details.svelte-thtkv.svelte-thtkv{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.shop__order-details.svelte-thtkv.svelte-thtkv{gap:calc(0.0057291667 * 100vw + 0px)}}.shop__tabs-price.svelte-thtkv.svelte-thtkv{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;background-color:rgba(118, 211, 85, 0.2);gap:calc(0.0026041667 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);padding-left:calc(0.0130208333 * 100vw + 0px);padding-right:calc(0.0130208333 * 100vw + 0px);width:calc(0.15625 * 100vw + 0px);height:calc(0.0520833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{gap:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{gap:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{gap:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{gap:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{gap:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{padding-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{padding-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{padding-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{width:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{width:calc(0.171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{width:calc(0.109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{width:calc(0.140625 * 100vw + 0px)}}@media(min-width: 4096px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{width:calc(0.171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{height:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.shop__tabs-price.svelte-thtkv.svelte-thtkv{height:calc(0.0572916667 * 100vw + 0px)}}.shop__tabs-price-title.svelte-thtkv.svelte-thtkv{color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__tabs-price-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__tabs-price-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__tabs-price-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.shop__tabs-price-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__tabs-price-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__tabs-price-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.shop__tabs-price-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.0080208333 * 100vw + 0px)}}.shop__tabs-price-value.svelte-thtkv.svelte-thtkv{color:#80FC54;font-family:\"GothamPro-Medium\";font-weight:700;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__tabs-price-value.svelte-thtkv.svelte-thtkv{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__tabs-price-value.svelte-thtkv.svelte-thtkv{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__tabs-price-value.svelte-thtkv.svelte-thtkv{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.shop__tabs-price-value.svelte-thtkv.svelte-thtkv{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__tabs-price-value.svelte-thtkv.svelte-thtkv{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__tabs-price-value.svelte-thtkv.svelte-thtkv{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.shop__tabs-price-value.svelte-thtkv.svelte-thtkv{font-size:calc(0.01375 * 100vw + 0px)}}.shop__tabs-price-value--coins.svelte-thtkv.svelte-thtkv{color:#ECD249}.shop__tabs-button-pay.svelte-thtkv.svelte-thtkv{display:flex;align-items:center;justify-content:center;cursor:pointer;background-color:#FFFFFF;transition:background-color 0.2s linear;border-radius:calc(0.0026041667 * 100vw + 0px);width:calc(0.15625 * 100vw + 0px);height:calc(0.0390625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__tabs-button-pay.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__tabs-button-pay.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__tabs-button-pay.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.shop__tabs-button-pay.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__tabs-button-pay.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__tabs-button-pay.svelte-thtkv.svelte-thtkv{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.shop__tabs-button-pay.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__tabs-button-pay.svelte-thtkv.svelte-thtkv{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__tabs-button-pay.svelte-thtkv.svelte-thtkv{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__tabs-button-pay.svelte-thtkv.svelte-thtkv{width:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px){.shop__tabs-button-pay.svelte-thtkv.svelte-thtkv{width:calc(0.171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__tabs-button-pay.svelte-thtkv.svelte-thtkv{width:calc(0.109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__tabs-button-pay.svelte-thtkv.svelte-thtkv{width:calc(0.140625 * 100vw + 0px)}}@media(min-width: 4096px){.shop__tabs-button-pay.svelte-thtkv.svelte-thtkv{width:calc(0.171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__tabs-button-pay.svelte-thtkv.svelte-thtkv{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__tabs-button-pay.svelte-thtkv.svelte-thtkv{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__tabs-button-pay.svelte-thtkv.svelte-thtkv{height:calc(0.030078125 * 100vw + 0px)}}@media(min-width: 3440px){.shop__tabs-button-pay.svelte-thtkv.svelte-thtkv{height:calc(0.04296875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__tabs-button-pay.svelte-thtkv.svelte-thtkv{height:calc(0.02734375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__tabs-button-pay.svelte-thtkv.svelte-thtkv{height:calc(0.03515625 * 100vw + 0px)}}@media(min-width: 4096px){.shop__tabs-button-pay.svelte-thtkv.svelte-thtkv{height:calc(0.04296875 * 100vw + 0px)}}.shop__tabs-button-pay.svelte-thtkv.svelte-thtkv:hover{background-color:rgba(255, 255, 255, 0.5)}.shop__tabs-button-pay-title.svelte-thtkv.svelte-thtkv{color:#363D47;font-family:\"GothamPro-Medium\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__tabs-button-pay-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__tabs-button-pay-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__tabs-button-pay-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.shop__tabs-button-pay-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__tabs-button-pay-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__tabs-button-pay-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.shop__tabs-button-pay-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.006875 * 100vw + 0px)}}.shop__tabs-button-reset.svelte-thtkv.svelte-thtkv{display:flex;align-items:center;justify-content:center;cursor:pointer;background-color:rgba(255, 255, 255, 0.1);transition:background-color 0.2s linear;border-radius:calc(0.0026041667 * 100vw + 0px);width:calc(0.15625 * 100vw + 0px);height:calc(0.0390625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__tabs-button-reset.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__tabs-button-reset.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__tabs-button-reset.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.shop__tabs-button-reset.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__tabs-button-reset.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__tabs-button-reset.svelte-thtkv.svelte-thtkv{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.shop__tabs-button-reset.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__tabs-button-reset.svelte-thtkv.svelte-thtkv{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__tabs-button-reset.svelte-thtkv.svelte-thtkv{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__tabs-button-reset.svelte-thtkv.svelte-thtkv{width:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px){.shop__tabs-button-reset.svelte-thtkv.svelte-thtkv{width:calc(0.171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__tabs-button-reset.svelte-thtkv.svelte-thtkv{width:calc(0.109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__tabs-button-reset.svelte-thtkv.svelte-thtkv{width:calc(0.140625 * 100vw + 0px)}}@media(min-width: 4096px){.shop__tabs-button-reset.svelte-thtkv.svelte-thtkv{width:calc(0.171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__tabs-button-reset.svelte-thtkv.svelte-thtkv{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__tabs-button-reset.svelte-thtkv.svelte-thtkv{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__tabs-button-reset.svelte-thtkv.svelte-thtkv{height:calc(0.030078125 * 100vw + 0px)}}@media(min-width: 3440px){.shop__tabs-button-reset.svelte-thtkv.svelte-thtkv{height:calc(0.04296875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__tabs-button-reset.svelte-thtkv.svelte-thtkv{height:calc(0.02734375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__tabs-button-reset.svelte-thtkv.svelte-thtkv{height:calc(0.03515625 * 100vw + 0px)}}@media(min-width: 4096px){.shop__tabs-button-reset.svelte-thtkv.svelte-thtkv{height:calc(0.04296875 * 100vw + 0px)}}.shop__tabs-button-reset.svelte-thtkv.svelte-thtkv:hover{background-color:rgba(255, 255, 255, 0.25)}.shop__tabs-button-reset-title.svelte-thtkv.svelte-thtkv{color:#86898B;font-family:\"GothamPro-Medium\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__tabs-button-reset-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__tabs-button-reset-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__tabs-button-reset-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.shop__tabs-button-reset-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__tabs-button-reset-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__tabs-button-reset-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.shop__tabs-button-reset-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.006875 * 100vw + 0px)}}.shop__items.svelte-thtkv.svelte-thtkv{position:relative;background-color:rgba(11, 14, 17, 0.95);width:calc(0.2734375 * 100vw + 0px);padding-left:calc(0.0197916667 * 100vw + 0px);padding-right:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__items.svelte-thtkv.svelte-thtkv{width:calc(0.2734375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__items.svelte-thtkv.svelte-thtkv{width:calc(0.2734375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__items.svelte-thtkv.svelte-thtkv{width:calc(0.210546875 * 100vw + 0px)}}@media(min-width: 3440px){.shop__items.svelte-thtkv.svelte-thtkv{width:calc(0.30078125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__items.svelte-thtkv.svelte-thtkv{width:calc(0.19140625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__items.svelte-thtkv.svelte-thtkv{width:calc(0.24609375 * 100vw + 0px)}}@media(min-width: 4096px){.shop__items.svelte-thtkv.svelte-thtkv{width:calc(0.30078125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__items.svelte-thtkv.svelte-thtkv{padding-left:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__items.svelte-thtkv.svelte-thtkv{padding-left:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__items.svelte-thtkv.svelte-thtkv{padding-left:calc(0.0152395833 * 100vw + 0px)}}@media(min-width: 3440px){.shop__items.svelte-thtkv.svelte-thtkv{padding-left:calc(0.0217708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__items.svelte-thtkv.svelte-thtkv{padding-left:calc(0.0138541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__items.svelte-thtkv.svelte-thtkv{padding-left:calc(0.0178125 * 100vw + 0px)}}@media(min-width: 4096px){.shop__items.svelte-thtkv.svelte-thtkv{padding-left:calc(0.0217708333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__items.svelte-thtkv.svelte-thtkv{padding-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__items.svelte-thtkv.svelte-thtkv{padding-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__items.svelte-thtkv.svelte-thtkv{padding-right:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.shop__items.svelte-thtkv.svelte-thtkv{padding-right:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__items.svelte-thtkv.svelte-thtkv{padding-right:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__items.svelte-thtkv.svelte-thtkv{padding-right:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.shop__items.svelte-thtkv.svelte-thtkv{padding-right:calc(0.0091666667 * 100vw + 0px)}}.shop__items-title.svelte-thtkv.svelte-thtkv{color:#FFFFFF;font-family:\"GothamPro-Medium\";font-size:calc(0.0104166667 * 100vw + 0px);margin-top:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__items-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__items-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__items-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.shop__items-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__items-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__items-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.shop__items-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__items-title.svelte-thtkv.svelte-thtkv{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__items-title.svelte-thtkv.svelte-thtkv{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__items-title.svelte-thtkv.svelte-thtkv{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.shop__items-title.svelte-thtkv.svelte-thtkv{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__items-title.svelte-thtkv.svelte-thtkv{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__items-title.svelte-thtkv.svelte-thtkv{margin-top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.shop__items-title.svelte-thtkv.svelte-thtkv{margin-top:calc(0.0286458333 * 100vw + 0px)}}.shop__item-wrapper.svelte-thtkv.svelte-thtkv{display:flex;flex-wrap:wrap;gap:calc(0.0171875 * 100vw + 0px);overflow:auto;margin-top:calc(0.0130208333 * 100vw + 0px);padding-top:calc(0.0067708333 * 100vw + 0px);height:calc(0.484375 * 100vw + 0px);padding-bottom:calc(0.15625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv{gap:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv{gap:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv{gap:calc(0.013234375 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv{gap:calc(0.01890625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv{gap:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv{gap:calc(0.01546875 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv{gap:calc(0.01890625 * 100vw + 0px)}}.shop__item-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.shop__item-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.shop__item-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv{margin-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv{margin-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv{margin-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv{padding-top:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv{padding-top:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv{padding-top:calc(0.0052135417 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv{padding-top:calc(0.0074479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv{padding-top:calc(0.0047395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv{padding-top:calc(0.00609375 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv{padding-top:calc(0.0074479167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv{height:calc(0.484375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv{height:calc(0.484375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv{height:calc(0.37296875 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv{height:calc(0.5328125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv{height:calc(0.3390625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv{height:calc(0.4359375 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv{height:calc(0.5328125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv{padding-bottom:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv{padding-bottom:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv{padding-bottom:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv{padding-bottom:calc(0.171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv{padding-bottom:calc(0.109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv{padding-bottom:calc(0.140625 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-wrapper.svelte-thtkv.svelte-thtkv{padding-bottom:calc(0.171875 * 100vw + 0px)}}.shop__item.svelte-thtkv.svelte-thtkv{position:relative;display:flex;flex-direction:column;cursor:pointer;width:fit-content;background-color:transparent}.shop__item.svelte-thtkv:hover .shop__item-img-wrapper.svelte-thtkv{border:1px solid #76D355;background-color:rgba(118, 211, 85, 0.05)}.shop__item--selected.svelte-thtkv .shop__item-img-wrapper.svelte-thtkv{border:1px solid #76D355;background-color:rgba(118, 211, 85, 0.05)}.shop__item-selected-item-icon.svelte-thtkv.svelte-thtkv{display:flex;justify-content:center;align-items:center;position:absolute;background-color:#76D355;border-radius:50%;width:calc(0.0130208333 * 100vw + 0px);height:calc(0.0130208333 * 100vw + 0px);top:calc(-0.00625 * 100vw + 0px);left:calc(0.0265625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__item-selected-item-icon.svelte-thtkv.svelte-thtkv{width:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-selected-item-icon.svelte-thtkv.svelte-thtkv{width:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-selected-item-icon.svelte-thtkv.svelte-thtkv{width:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-selected-item-icon.svelte-thtkv.svelte-thtkv{width:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-selected-item-icon.svelte-thtkv.svelte-thtkv{width:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-selected-item-icon.svelte-thtkv.svelte-thtkv{width:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-selected-item-icon.svelte-thtkv.svelte-thtkv{width:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__item-selected-item-icon.svelte-thtkv.svelte-thtkv{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-selected-item-icon.svelte-thtkv.svelte-thtkv{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-selected-item-icon.svelte-thtkv.svelte-thtkv{height:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-selected-item-icon.svelte-thtkv.svelte-thtkv{height:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-selected-item-icon.svelte-thtkv.svelte-thtkv{height:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-selected-item-icon.svelte-thtkv.svelte-thtkv{height:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-selected-item-icon.svelte-thtkv.svelte-thtkv{height:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__item-selected-item-icon.svelte-thtkv.svelte-thtkv{top:calc(-0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-selected-item-icon.svelte-thtkv.svelte-thtkv{top:calc(-0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-selected-item-icon.svelte-thtkv.svelte-thtkv{top:calc(-0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-selected-item-icon.svelte-thtkv.svelte-thtkv{top:calc(-0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-selected-item-icon.svelte-thtkv.svelte-thtkv{top:calc(-0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-selected-item-icon.svelte-thtkv.svelte-thtkv{top:calc(-0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-selected-item-icon.svelte-thtkv.svelte-thtkv{top:calc(-0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__item-selected-item-icon.svelte-thtkv.svelte-thtkv{left:calc(0.0265625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-selected-item-icon.svelte-thtkv.svelte-thtkv{left:calc(0.0265625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-selected-item-icon.svelte-thtkv.svelte-thtkv{left:calc(0.020453125 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-selected-item-icon.svelte-thtkv.svelte-thtkv{left:calc(0.02921875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-selected-item-icon.svelte-thtkv.svelte-thtkv{left:calc(0.01859375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-selected-item-icon.svelte-thtkv.svelte-thtkv{left:calc(0.02390625 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-selected-item-icon.svelte-thtkv.svelte-thtkv{left:calc(0.02921875 * 100vw + 0px)}}.shop__item-selected-img.svelte-thtkv.svelte-thtkv{width:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__item-selected-img.svelte-thtkv.svelte-thtkv{width:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-selected-img.svelte-thtkv.svelte-thtkv{width:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-selected-img.svelte-thtkv.svelte-thtkv{width:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-selected-img.svelte-thtkv.svelte-thtkv{width:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-selected-img.svelte-thtkv.svelte-thtkv{width:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-selected-img.svelte-thtkv.svelte-thtkv{width:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-selected-img.svelte-thtkv.svelte-thtkv{width:calc(0.00859375 * 100vw + 0px)}}.shop__item-img-wrapper.svelte-thtkv.svelte-thtkv{border:1px solid #303030;transition:border-color 0.2s linear, background-color 0.2s linear;border-radius:calc(0.0026041667 * 100vw + 0px);width:calc(0.0666666667 * 100vw + 0px);min-height:calc(0.0666666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__item-img-wrapper.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-img-wrapper.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-img-wrapper.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-img-wrapper.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-img-wrapper.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-img-wrapper.svelte-thtkv.svelte-thtkv{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-img-wrapper.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__item-img-wrapper.svelte-thtkv.svelte-thtkv{width:calc(0.0666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-img-wrapper.svelte-thtkv.svelte-thtkv{width:calc(0.0666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-img-wrapper.svelte-thtkv.svelte-thtkv{width:calc(0.0513333333 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-img-wrapper.svelte-thtkv.svelte-thtkv{width:calc(0.0733333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-img-wrapper.svelte-thtkv.svelte-thtkv{width:calc(0.0466666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-img-wrapper.svelte-thtkv.svelte-thtkv{width:calc(0.06 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-img-wrapper.svelte-thtkv.svelte-thtkv{width:calc(0.0733333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__item-img-wrapper.svelte-thtkv.svelte-thtkv{min-height:calc(0.0666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-img-wrapper.svelte-thtkv.svelte-thtkv{min-height:calc(0.0666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-img-wrapper.svelte-thtkv.svelte-thtkv{min-height:calc(0.0513333333 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-img-wrapper.svelte-thtkv.svelte-thtkv{min-height:calc(0.0733333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-img-wrapper.svelte-thtkv.svelte-thtkv{min-height:calc(0.0466666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-img-wrapper.svelte-thtkv.svelte-thtkv{min-height:calc(0.06 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-img-wrapper.svelte-thtkv.svelte-thtkv{min-height:calc(0.0733333333 * 100vw + 0px)}}.shop__item-img.svelte-thtkv.svelte-thtkv{width:100%;pointer-events:none;padding:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__item-img.svelte-thtkv.svelte-thtkv{padding:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-img.svelte-thtkv.svelte-thtkv{padding:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-img.svelte-thtkv.svelte-thtkv{padding:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-img.svelte-thtkv.svelte-thtkv{padding:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-img.svelte-thtkv.svelte-thtkv{padding:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-img.svelte-thtkv.svelte-thtkv{padding:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-img.svelte-thtkv.svelte-thtkv{padding:calc(0.00859375 * 100vw + 0px)}}.shop__item-title.svelte-thtkv.svelte-thtkv{color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.00625 * 100vw + 0px);margin-top:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__item-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__item-title.svelte-thtkv.svelte-thtkv{margin-top:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-title.svelte-thtkv.svelte-thtkv{margin-top:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-title.svelte-thtkv.svelte-thtkv{margin-top:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-title.svelte-thtkv.svelte-thtkv{margin-top:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-title.svelte-thtkv.svelte-thtkv{margin-top:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-title.svelte-thtkv.svelte-thtkv{margin-top:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-title.svelte-thtkv.svelte-thtkv{margin-top:calc(0.01375 * 100vw + 0px)}}.shop__item-price.svelte-thtkv.svelte-thtkv{color:#80FC54;font-family:\"GothamPro-Medium\";font-size:calc(0.0083333333 * 100vw + 0px);margin-top:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__item-price.svelte-thtkv.svelte-thtkv{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-price.svelte-thtkv.svelte-thtkv{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-price.svelte-thtkv.svelte-thtkv{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-price.svelte-thtkv.svelte-thtkv{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-price.svelte-thtkv.svelte-thtkv{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-price.svelte-thtkv.svelte-thtkv{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-price.svelte-thtkv.svelte-thtkv{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__item-price.svelte-thtkv.svelte-thtkv{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-price.svelte-thtkv.svelte-thtkv{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-price.svelte-thtkv.svelte-thtkv{margin-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-price.svelte-thtkv.svelte-thtkv{margin-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-price.svelte-thtkv.svelte-thtkv{margin-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-price.svelte-thtkv.svelte-thtkv{margin-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-price.svelte-thtkv.svelte-thtkv{margin-top:calc(0.0057291667 * 100vw + 0px)}}.shop__item-price--free.svelte-thtkv.svelte-thtkv{color:#86898B}.shop__item-price--coins.svelte-thtkv.svelte-thtkv{color:#ECD249}.shop__item-colors.svelte-thtkv.svelte-thtkv{z-index:1;position:absolute;bottom:0;left:0;background-color:#2B2D2F;border-radius:calc(0.0130208333 * 100vw + 0px) calc(0.0130208333 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0 * 100vw + 0px);padding-left:calc(0.0197916667 * 100vw + 0px);padding-right:calc(0.0213541667 * 100vw + 0px);width:calc(0.2734375 * 100vw + 0px);height:calc(0.1302083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__item-colors.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0130208333 * 100vw + 0px) calc(0.0130208333 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-colors.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0130208333 * 100vw + 0px) calc(0.0130208333 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-colors.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0100260417 * 100vw + 0px) calc(0.0100260417 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-colors.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0143229167 * 100vw + 0px) calc(0.0143229167 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-colors.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0091145833 * 100vw + 0px) calc(0.0091145833 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-colors.svelte-thtkv.svelte-thtkv{border-radius:calc(0.01171875 * 100vw + 0px) calc(0.01171875 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-colors.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0143229167 * 100vw + 0px) calc(0.0143229167 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__item-colors.svelte-thtkv.svelte-thtkv{padding-left:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-colors.svelte-thtkv.svelte-thtkv{padding-left:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-colors.svelte-thtkv.svelte-thtkv{padding-left:calc(0.0152395833 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-colors.svelte-thtkv.svelte-thtkv{padding-left:calc(0.0217708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-colors.svelte-thtkv.svelte-thtkv{padding-left:calc(0.0138541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-colors.svelte-thtkv.svelte-thtkv{padding-left:calc(0.0178125 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-colors.svelte-thtkv.svelte-thtkv{padding-left:calc(0.0217708333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__item-colors.svelte-thtkv.svelte-thtkv{padding-right:calc(0.0213541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-colors.svelte-thtkv.svelte-thtkv{padding-right:calc(0.0213541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-colors.svelte-thtkv.svelte-thtkv{padding-right:calc(0.0164427083 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-colors.svelte-thtkv.svelte-thtkv{padding-right:calc(0.0234895833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-colors.svelte-thtkv.svelte-thtkv{padding-right:calc(0.0149479167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-colors.svelte-thtkv.svelte-thtkv{padding-right:calc(0.01921875 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-colors.svelte-thtkv.svelte-thtkv{padding-right:calc(0.0234895833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__item-colors.svelte-thtkv.svelte-thtkv{width:calc(0.2734375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-colors.svelte-thtkv.svelte-thtkv{width:calc(0.2734375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-colors.svelte-thtkv.svelte-thtkv{width:calc(0.210546875 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-colors.svelte-thtkv.svelte-thtkv{width:calc(0.30078125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-colors.svelte-thtkv.svelte-thtkv{width:calc(0.19140625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-colors.svelte-thtkv.svelte-thtkv{width:calc(0.24609375 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-colors.svelte-thtkv.svelte-thtkv{width:calc(0.30078125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__item-colors.svelte-thtkv.svelte-thtkv{height:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-colors.svelte-thtkv.svelte-thtkv{height:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-colors.svelte-thtkv.svelte-thtkv{height:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-colors.svelte-thtkv.svelte-thtkv{height:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-colors.svelte-thtkv.svelte-thtkv{height:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-colors.svelte-thtkv.svelte-thtkv{height:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-colors.svelte-thtkv.svelte-thtkv{height:calc(0.1432291667 * 100vw + 0px)}}.shop__item-colors-header.svelte-thtkv.svelte-thtkv{display:flex;align-items:center;justify-content:space-between;flex-grow:1;margin-top:calc(0.0145833333 * 100vw + 0px);margin-bottom:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__item-colors-header.svelte-thtkv.svelte-thtkv{margin-top:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-colors-header.svelte-thtkv.svelte-thtkv{margin-top:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-colors-header.svelte-thtkv.svelte-thtkv{margin-top:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-colors-header.svelte-thtkv.svelte-thtkv{margin-top:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-colors-header.svelte-thtkv.svelte-thtkv{margin-top:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-colors-header.svelte-thtkv.svelte-thtkv{margin-top:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-colors-header.svelte-thtkv.svelte-thtkv{margin-top:calc(0.0160416667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__item-colors-header.svelte-thtkv.svelte-thtkv{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-colors-header.svelte-thtkv.svelte-thtkv{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-colors-header.svelte-thtkv.svelte-thtkv{margin-bottom:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-colors-header.svelte-thtkv.svelte-thtkv{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-colors-header.svelte-thtkv.svelte-thtkv{margin-bottom:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-colors-header.svelte-thtkv.svelte-thtkv{margin-bottom:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-colors-header.svelte-thtkv.svelte-thtkv{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}.shop__item-colors-title.svelte-thtkv.svelte-thtkv{color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__item-colors-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-colors-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-colors-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-colors-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-colors-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-colors-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-colors-title.svelte-thtkv.svelte-thtkv{font-size:calc(0.0114583333 * 100vw + 0px)}}.shop__item-colors-price.svelte-thtkv.svelte-thtkv{color:#80FC54;font-family:\"GothamPro\";font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__item-colors-price.svelte-thtkv.svelte-thtkv{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-colors-price.svelte-thtkv.svelte-thtkv{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-colors-price.svelte-thtkv.svelte-thtkv{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-colors-price.svelte-thtkv.svelte-thtkv{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-colors-price.svelte-thtkv.svelte-thtkv{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-colors-price.svelte-thtkv.svelte-thtkv{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-colors-price.svelte-thtkv.svelte-thtkv{font-size:calc(0.0114583333 * 100vw + 0px)}}.shop__item-color-wrapper.svelte-thtkv.svelte-thtkv{display:flex;flex-wrap:wrap;gap:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__item-color-wrapper.svelte-thtkv.svelte-thtkv{gap:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-color-wrapper.svelte-thtkv.svelte-thtkv{gap:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-color-wrapper.svelte-thtkv.svelte-thtkv{gap:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-color-wrapper.svelte-thtkv.svelte-thtkv{gap:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-color-wrapper.svelte-thtkv.svelte-thtkv{gap:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-color-wrapper.svelte-thtkv.svelte-thtkv{gap:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-color-wrapper.svelte-thtkv.svelte-thtkv{gap:calc(0.0091666667 * 100vw + 0px)}}.shop__item-color.svelte-thtkv.svelte-thtkv{display:flex;justify-content:center;align-items:center;position:relative;opacity:0.25;transition:opacity 0.2s linear;cursor:pointer;border:2px solid rgba(255, 255, 255, 0.25);border-width:calc(0.0010416667 * 100vw + 0px);border-radius:calc(0.0026041667 * 100vw + 0px);width:calc(0.0260416667 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__item-color.svelte-thtkv.svelte-thtkv{border-width:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-color.svelte-thtkv.svelte-thtkv{border-width:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-color.svelte-thtkv.svelte-thtkv{border-width:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-color.svelte-thtkv.svelte-thtkv{border-width:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-color.svelte-thtkv.svelte-thtkv{border-width:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-color.svelte-thtkv.svelte-thtkv{border-width:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-color.svelte-thtkv.svelte-thtkv{border-width:calc(0.0011458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__item-color.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-color.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-color.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-color.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-color.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-color.svelte-thtkv.svelte-thtkv{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-color.svelte-thtkv.svelte-thtkv{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__item-color.svelte-thtkv.svelte-thtkv{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-color.svelte-thtkv.svelte-thtkv{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-color.svelte-thtkv.svelte-thtkv{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-color.svelte-thtkv.svelte-thtkv{width:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-color.svelte-thtkv.svelte-thtkv{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-color.svelte-thtkv.svelte-thtkv{width:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-color.svelte-thtkv.svelte-thtkv{width:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__item-color.svelte-thtkv.svelte-thtkv{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-color.svelte-thtkv.svelte-thtkv{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-color.svelte-thtkv.svelte-thtkv{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-color.svelte-thtkv.svelte-thtkv{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-color.svelte-thtkv.svelte-thtkv{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-color.svelte-thtkv.svelte-thtkv{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-color.svelte-thtkv.svelte-thtkv{height:calc(0.0286458333 * 100vw + 0px)}}.shop__item-color.svelte-thtkv.svelte-thtkv:hover{opacity:1}.shop__item-color--selected.svelte-thtkv.svelte-thtkv{opacity:1}.shop__item-color--selected.svelte-thtkv .shop__item-color-icon.svelte-thtkv{opacity:1}.shop__item-color-icon.svelte-thtkv.svelte-thtkv{opacity:0;pointer-events:none;transition:opacity 0.2s linear;width:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__item-color-icon.svelte-thtkv.svelte-thtkv{width:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__item-color-icon.svelte-thtkv.svelte-thtkv{width:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__item-color-icon.svelte-thtkv.svelte-thtkv{width:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.shop__item-color-icon.svelte-thtkv.svelte-thtkv{width:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__item-color-icon.svelte-thtkv.svelte-thtkv{width:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__item-color-icon.svelte-thtkv.svelte-thtkv{width:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.shop__item-color-icon.svelte-thtkv.svelte-thtkv{width:calc(0.00859375 * 100vw + 0px)}}.shop__rotate-buttons.svelte-thtkv.svelte-thtkv{position:absolute;color:#86898B;font-size:calc(0.0416666667 * 100vw + 0px);bottom:calc(0.0395833333 * 100vw + 0px);right:calc(0.2526041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__rotate-buttons.svelte-thtkv.svelte-thtkv{font-size:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__rotate-buttons.svelte-thtkv.svelte-thtkv{font-size:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__rotate-buttons.svelte-thtkv.svelte-thtkv{font-size:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.shop__rotate-buttons.svelte-thtkv.svelte-thtkv{font-size:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__rotate-buttons.svelte-thtkv.svelte-thtkv{font-size:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__rotate-buttons.svelte-thtkv.svelte-thtkv{font-size:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.shop__rotate-buttons.svelte-thtkv.svelte-thtkv{font-size:calc(0.0458333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__rotate-buttons.svelte-thtkv.svelte-thtkv{bottom:calc(0.0395833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__rotate-buttons.svelte-thtkv.svelte-thtkv{bottom:calc(0.0395833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__rotate-buttons.svelte-thtkv.svelte-thtkv{bottom:calc(0.0304791667 * 100vw + 0px)}}@media(min-width: 3440px){.shop__rotate-buttons.svelte-thtkv.svelte-thtkv{bottom:calc(0.0435416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__rotate-buttons.svelte-thtkv.svelte-thtkv{bottom:calc(0.0277083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__rotate-buttons.svelte-thtkv.svelte-thtkv{bottom:calc(0.035625 * 100vw + 0px)}}@media(min-width: 4096px){.shop__rotate-buttons.svelte-thtkv.svelte-thtkv{bottom:calc(0.0435416667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__rotate-buttons.svelte-thtkv.svelte-thtkv{right:calc(0.2526041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__rotate-buttons.svelte-thtkv.svelte-thtkv{right:calc(0.2526041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__rotate-buttons.svelte-thtkv.svelte-thtkv{right:calc(0.1945052083 * 100vw + 0px)}}@media(min-width: 3440px){.shop__rotate-buttons.svelte-thtkv.svelte-thtkv{right:calc(0.2778645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__rotate-buttons.svelte-thtkv.svelte-thtkv{right:calc(0.1768229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__rotate-buttons.svelte-thtkv.svelte-thtkv{right:calc(0.22734375 * 100vw + 0px)}}@media(min-width: 4096px){.shop__rotate-buttons.svelte-thtkv.svelte-thtkv{right:calc(0.2778645833 * 100vw + 0px)}}.shop__rotate-button.svelte-thtkv.svelte-thtkv{filter:drop-shadow(0px 10px 6px rgba(0, 0, 0, 0.25));transition:color 0.2s linear}.shop__rotate-button.svelte-thtkv.svelte-thtkv:hover{color:#FFFFFF}");
}

function views_shop_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[41] = list[i];
	return child_ctx;
}

function shop_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[44] = list[i];
	return child_ctx;
}

function shop_index_svelte_get_each_context_2(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[47] = list[i];
	return child_ctx;
}

// (3569:0) {#if !isEmpty(shopInformation)}
function views_shop_index_svelte_create_if_block(ctx) {
	let div6;
	let exitbutton;
	let t0;
	let div4;
	let img0;
	let img0_src_value;
	let t1;
	let img1;
	let img1_src_value;
	let t2;
	let div0;
	let p0;
	let t3_value = /*shopInformation*/ ctx[1].title + "";
	let t3;
	let t4;
	let p1;
	let t5_value = /*shopInformation*/ ctx[1].description + "";
	let t5;
	let t6;
	let div1;
	let t7;
	let div3;
	let t8;
	let div2;
	let t10;
	let show_if = !(0,lodash.isEmpty)(/*shopItems*/ ctx[2][/*selectedTabId*/ ctx[3]]);
	let t11;
	let div5;
	let i0;
	let t12;
	let i1;
	let current;
	let mounted;
	let dispose;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[8],
				fixedPosition: true
			}
		});

	let each_value_2 = /*shopInformation*/ ctx[1].tabs;
	let each_blocks = [];

	for (let i = 0; i < each_value_2.length; i += 1) {
		each_blocks[i] = shop_index_svelte_create_each_block_2(shop_index_svelte_get_each_context_2(ctx, each_value_2, i));
	}

	function select_block_type(ctx, dirty) {
		if (!/*shopInformation*/ ctx[1].allIsFree) return shop_index_svelte_create_if_block_7;
		return shop_index_svelte_create_else_block_1;
	}

	let current_block_type = select_block_type(ctx, [-1, -1]);
	let if_block0 = current_block_type(ctx);
	let if_block1 = show_if && views_shop_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			div6 = internal_element("div");
			create_component(exitbutton.$$.fragment);
			t0 = space();
			div4 = internal_element("div");
			img0 = internal_element("img");
			t1 = space();
			img1 = internal_element("img");
			t2 = space();
			div0 = internal_element("div");
			p0 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = space();
			p1 = internal_element("p");
			t5 = internal_text(t5_value);
			t6 = space();
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t7 = space();
			div3 = internal_element("div");
			if_block0.c();
			t8 = space();
			div2 = internal_element("div");
			div2.innerHTML = `<p class="shop__tabs-button-reset-title svelte-thtkv">Отменить изменения</p>`;
			t10 = space();
			if (if_block1) if_block1.c();
			t11 = space();
			div5 = internal_element("div");
			i0 = internal_element("i");
			t12 = space();
			i1 = internal_element("i");
			attr(img0, "class", "shop__tabs-background-top svelte-thtkv");
			if (!src_url_equal(img0.src, img0_src_value = background_top_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "background-top");
			attr(img1, "class", "shop__tabs-background-bottom svelte-thtkv");
			if (!src_url_equal(img1.src, img1_src_value = background_bottom_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "background-bottom");
			attr(p0, "class", "shop__tabs-title svelte-thtkv");
			attr(p1, "class", "shop__tabs-description svelte-thtkv");
			attr(div0, "class", "shop__main-information svelte-thtkv");
			attr(div1, "class", "shop__tabs-items-wrapper svelte-thtkv");
			attr(div2, "class", "shop__tabs-button-reset svelte-thtkv");
			attr(div3, "class", "shop__order-details svelte-thtkv");
			attr(div4, "class", "shop__tabs svelte-thtkv");
			attr(i0, "class", "shop__rotate-button icon-circle-arrow-left svelte-thtkv");
			attr(i1, "class", "shop__rotate-button icon-circle-arrow-right svelte-thtkv");
			attr(div5, "class", "shop__rotate-buttons svelte-thtkv");
			attr(div6, "class", "shop svelte-thtkv");
		},
		m(target, anchor) {
			insert(target, div6, anchor);
			mount_component(exitbutton, div6, null);
			append(div6, t0);
			append(div6, div4);
			append(div4, img0);
			append(div4, t1);
			append(div4, img1);
			append(div4, t2);
			append(div4, div0);
			append(div0, p0);
			append(p0, t3);
			append(div0, t4);
			append(div0, p1);
			append(p1, t5);
			append(div4, t6);
			append(div4, div1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}

			append(div4, t7);
			append(div4, div3);
			if_block0.m(div3, null);
			append(div3, t8);
			append(div3, div2);
			append(div6, t10);
			if (if_block1) if_block1.m(div6, null);
			append(div6, t11);
			append(div6, div5);
			append(div5, i0);
			append(div5, t12);
			append(div5, i1);
			current = true;

			if (!mounted) {
				dispose = [
					listen(div2, "click", /*resetOrder*/ ctx[10]),
					listen(i0, "click", /*click_handler_3*/ ctx[16]),
					listen(i1, "click", /*click_handler_4*/ ctx[17])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if ((!current || dirty[0] & /*shopInformation*/ 2) && t3_value !== (t3_value = /*shopInformation*/ ctx[1].title + "")) set_data(t3, t3_value);
			if ((!current || dirty[0] & /*shopInformation*/ 2) && t5_value !== (t5_value = /*shopInformation*/ ctx[1].description + "")) set_data(t5, t5_value);

			if (dirty[0] & /*selectedTabId, shopInformation, selectTab, shopItems*/ 46) {
				each_value_2 = /*shopInformation*/ ctx[1].tabs;
				let i;

				for (i = 0; i < each_value_2.length; i += 1) {
					const child_ctx = shop_index_svelte_get_each_context_2(ctx, each_value_2, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = shop_index_svelte_create_each_block_2(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div1, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_2.length;
			}

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block0) {
				if_block0.p(ctx, dirty);
			} else {
				if_block0.d(1);
				if_block0 = current_block_type(ctx);

				if (if_block0) {
					if_block0.c();
					if_block0.m(div3, t8);
				}
			}

			if (dirty[0] & /*shopItems, selectedTabId*/ 12) show_if = !(0,lodash.isEmpty)(/*shopItems*/ ctx[2][/*selectedTabId*/ ctx[3]]);

			if (show_if) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = views_shop_index_svelte_create_if_block_1(ctx);
					if_block1.c();
					if_block1.m(div6, t11);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div6);
			destroy_component(exitbutton);
			destroy_each(each_blocks, detaching);
			if_block0.d();
			if (if_block1) if_block1.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (3593:20) {#if !isEmpty(shopItems[tab.id])}
function shop_index_svelte_create_if_block_9(ctx) {
	let div;
	let p;
	let t0_value = /*tab*/ ctx[47].title + "";
	let t0;
	let t1;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[13](/*tab*/ ctx[47]);
	}

	return {
		c() {
			div = internal_element("div");
			p = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			attr(p, "class", "shop__tabs-item-title svelte-thtkv");
			attr(div, "class", "shop__tabs-item svelte-thtkv");
			toggle_class(div, "shop__tabs-item--selected", /*selectedTabId*/ ctx[3] === /*tab*/ ctx[47].id);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p);
			append(p, t0);
			append(div, t1);

			if (!mounted) {
				dispose = listen(div, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if (dirty[0] & /*shopInformation*/ 2 && t0_value !== (t0_value = /*tab*/ ctx[47].title + "")) set_data(t0, t0_value);

			if (dirty[0] & /*selectedTabId, shopInformation*/ 10) {
				toggle_class(div, "shop__tabs-item--selected", /*selectedTabId*/ ctx[3] === /*tab*/ ctx[47].id);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (3592:16) {#each shopInformation.tabs as tab}
function shop_index_svelte_create_each_block_2(ctx) {
	let show_if = !(0,lodash.isEmpty)(/*shopItems*/ ctx[2][/*tab*/ ctx[47].id]);
	let if_block_anchor;
	let if_block = show_if && shop_index_svelte_create_if_block_9(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*shopItems, shopInformation*/ 6) show_if = !(0,lodash.isEmpty)(/*shopItems*/ ctx[2][/*tab*/ ctx[47].id]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = shop_index_svelte_create_if_block_9(ctx);
					if_block.c();
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

// (3629:16) {:else}
function shop_index_svelte_create_else_block_1(ctx) {
	let div;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="shop__tabs-button-pay-title svelte-thtkv">Завершить</p>`;
			attr(div, "class", "shop__tabs-button-pay svelte-thtkv");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = listen(div, "click", /*completeOrder*/ ctx[12]);
				mounted = true;
			}
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (3607:16) {#if !shopInformation.allIsFree}
function shop_index_svelte_create_if_block_7(ctx) {
	let div0;
	let p0;
	let t1;
	let p1;
	let t2_value = formatMoney(/*totalPrice*/ ctx[4].cash) + "";
	let t2;
	let t3;
	let t4;
	let t5;
	let div1;
	let mounted;
	let dispose;
	let if_block = /*totalPrice*/ ctx[4].coins && shop_index_svelte_create_if_block_8(ctx);

	return {
		c() {
			div0 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "К оплате";
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = internal_text(" ₽");
			t4 = space();
			if (if_block) if_block.c();
			t5 = space();
			div1 = internal_element("div");
			div1.innerHTML = `<p class="shop__tabs-button-pay-title svelte-thtkv">Оплатить</p>`;
			attr(p0, "class", "shop__tabs-price-title svelte-thtkv");
			attr(p1, "class", "shop__tabs-price-value svelte-thtkv");
			attr(div0, "class", "shop__tabs-price svelte-thtkv");
			attr(div1, "class", "shop__tabs-button-pay svelte-thtkv");
		},
		m(target, anchor) {
			insert(target, div0, anchor);
			append(div0, p0);
			append(div0, t1);
			append(div0, p1);
			append(p1, t2);
			append(p1, t3);
			append(div0, t4);
			if (if_block) if_block.m(div0, null);
			insert(target, t5, anchor);
			insert(target, div1, anchor);

			if (!mounted) {
				dispose = listen(div1, "click", /*payOrder*/ ctx[11]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty[0] & /*totalPrice*/ 16 && t2_value !== (t2_value = formatMoney(/*totalPrice*/ ctx[4].cash) + "")) set_data(t2, t2_value);

			if (/*totalPrice*/ ctx[4].coins) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = shop_index_svelte_create_if_block_8(ctx);
					if_block.c();
					if_block.m(div0, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		d(detaching) {
			if (detaching) detach(div0);
			if (if_block) if_block.d();
			if (detaching) detach(t5);
			if (detaching) detach(div1);
			mounted = false;
			dispose();
		}
	};
}

// (3615:24) {#if totalPrice.coins}
function shop_index_svelte_create_if_block_8(ctx) {
	let p;
	let t0_value = formatMoney(/*totalPrice*/ ctx[4].coins) + "";
	let t0;
	let t1;

	return {
		c() {
			p = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = internal_text(" AZ");
			attr(p, "class", "shop__tabs-price-value shop__tabs-price-value--coins svelte-thtkv");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t0);
			append(p, t1);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*totalPrice*/ 16 && t0_value !== (t0_value = formatMoney(/*totalPrice*/ ctx[4].coins) + "")) set_data(t0, t0_value);
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (3649:8) {#if !isEmpty(shopItems[selectedTabId])}
function views_shop_index_svelte_create_if_block_1(ctx) {
	let div1;
	let p;
	let t1;
	let div0;
	let each_value = /*shopItems*/ ctx[2][/*selectedTabId*/ ctx[3]];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = views_shop_index_svelte_create_each_block(views_shop_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div1 = internal_element("div");
			p = internal_element("p");
			p.textContent = "Варианты";
			t1 = space();
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(p, "class", "shop__items-title svelte-thtkv");
			attr(div0, "class", "shop__item-wrapper svelte-thtkv");
			attr(div1, "class", "shop__items svelte-thtkv");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, p);
			append(div1, t1);
			append(div1, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}
		},
		p(ctx, dirty) {
			if (dirty[0] & /*shopItems, selectedTabId, selectedItems, selectColor, selectItem, shopInformation*/ 207) {
				each_value = /*shopItems*/ ctx[2][/*selectedTabId*/ ctx[3]];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = views_shop_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = views_shop_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div0, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (3661:28) {#if selectedItems[selectedTabId]?.id === item.id}
function shop_index_svelte_create_if_block_6(ctx) {
	let div;
	let img;
	let img_src_value;

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			attr(img, "class", "shop__item-selected-img svelte-thtkv");
			if (!src_url_equal(img.src, img_src_value = selected_item_icon_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "selected-img");
			attr(div, "class", "shop__item-selected-item-icon svelte-thtkv");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (3680:28) {#if !shopInformation.allIsFree}
function views_shop_index_svelte_create_if_block_3(ctx) {
	let if_block_anchor;

	function select_block_type_1(ctx, dirty) {
		if (/*item*/ ctx[41].price !== 0 && /*item*/ ctx[41].priceType === 'cash') return views_shop_index_svelte_create_if_block_4;
		if (/*item*/ ctx[41].price !== 0 && /*item*/ ctx[41].priceType === 'coins') return shop_index_svelte_create_if_block_5;
		return shop_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type_1(ctx, [-1, -1]);
	let if_block = current_block_type(ctx);

	return {
		c() {
			if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
		},
		p(ctx, dirty) {
			if (current_block_type === (current_block_type = select_block_type_1(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			}
		},
		d(detaching) {
			if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

// (3689:32) {:else}
function shop_index_svelte_create_else_block(ctx) {
	let p;

	return {
		c() {
			p = internal_element("p");
			p.textContent = "Бесплатно";
			attr(p, "class", "shop__item-price shop__item-price--free svelte-thtkv");
		},
		m(target, anchor) {
			insert(target, p, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (3685:89) 
function shop_index_svelte_create_if_block_5(ctx) {
	let p;
	let t0_value = formatMoney(/*item*/ ctx[41].price) + "";
	let t0;
	let t1;

	return {
		c() {
			p = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = internal_text(" AZ");
			attr(p, "class", "shop__item-price shop__item-price--coins svelte-thtkv");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t0);
			append(p, t1);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*shopItems, selectedTabId*/ 12 && t0_value !== (t0_value = formatMoney(/*item*/ ctx[41].price) + "")) set_data(t0, t0_value);
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (3681:32) {#if item.price !== 0 && item.priceType === 'cash'}
function views_shop_index_svelte_create_if_block_4(ctx) {
	let p;
	let t0_value = formatMoney(/*item*/ ctx[41].price) + "";
	let t0;
	let t1;

	return {
		c() {
			p = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = internal_text(" ₽");
			attr(p, "class", "shop__item-price svelte-thtkv");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t0);
			append(p, t1);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*shopItems, selectedTabId*/ 12 && t0_value !== (t0_value = formatMoney(/*item*/ ctx[41].price) + "")) set_data(t0, t0_value);
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (3696:24) {#if !isEmpty(item.colors) && selectedItems[selectedTabId]?.id === item.id}
function views_shop_index_svelte_create_if_block_2(ctx) {
	let div2;
	let div0;
	let p;
	let t1;
	let span;
	let t2_value = `${formatMoney(/*selectedItems*/ ctx[0][/*selectedTabId*/ ctx[3]]?.color.price || 0)} ₽` + "";
	let t2;
	let t3;
	let div1;
	let each_blocks = [];
	let each_1_lookup = new Map();
	let t4;
	let div2_transition;
	let current;
	let each_value_1 = /*item*/ ctx[41].colors;
	const get_key = ctx => /*color*/ ctx[44].id;

	for (let i = 0; i < each_value_1.length; i += 1) {
		let child_ctx = shop_index_svelte_get_each_context_1(ctx, each_value_1, i);
		let key = get_key(child_ctx);
		each_1_lookup.set(key, each_blocks[i] = shop_index_svelte_create_each_block_1(key, child_ctx));
	}

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			p = internal_element("p");
			p.textContent = "Цвет";
			t1 = space();
			span = internal_element("span");
			t2 = internal_text(t2_value);
			t3 = space();
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t4 = space();
			attr(p, "class", "shop__item-colors-title svelte-thtkv");
			attr(span, "class", "shop__item-colors-price svelte-thtkv");
			attr(div0, "class", "shop__item-colors-header svelte-thtkv");
			attr(div1, "class", "shop__item-color-wrapper svelte-thtkv");
			attr(div2, "class", "shop__item-colors svelte-thtkv");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div0, p);
			append(div0, t1);
			append(div0, span);
			append(span, t2);
			append(div2, t3);
			append(div2, div1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}

			append(div2, t4);
			current = true;
		},
		p(ctx, dirty) {
			if ((!current || dirty[0] & /*selectedItems, selectedTabId*/ 9) && t2_value !== (t2_value = `${formatMoney(/*selectedItems*/ ctx[0][/*selectedTabId*/ ctx[3]]?.color.price || 0)} ₽` + "")) set_data(t2, t2_value);

			if (dirty[0] & /*shopItems, selectedTabId, selectedItems, selectColor*/ 141) {
				each_value_1 = /*item*/ ctx[41].colors;
				each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value_1, each_1_lookup, div1, destroy_block, shop_index_svelte_create_each_block_1, null, shop_index_svelte_get_each_context_1);
			}
		},
		i(local) {
			if (current) return;

			if (local) {
				add_render_callback(() => {
					if (!div2_transition) div2_transition = create_bidirectional_transition(div2, slide, {}, true);
					div2_transition.run(1);
				});
			}

			current = true;
		},
		o(local) {
			if (local) {
				if (!div2_transition) div2_transition = create_bidirectional_transition(div2, slide, {}, false);
				div2_transition.run(0);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div2);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].d();
			}

			if (detaching && div2_transition) div2_transition.end();
		}
	};
}

// (3710:36) {#each item.colors as color (color.id)}
function shop_index_svelte_create_each_block_1(key_1, ctx) {
	let div;
	let img;
	let img_src_value;
	let t;
	let div_style_value;
	let mounted;
	let dispose;

	function click_handler_2() {
		return /*click_handler_2*/ ctx[15](/*color*/ ctx[44]);
	}

	return {
		key: key_1,
		first: null,
		c() {
			div = internal_element("div");
			img = internal_element("img");
			t = space();
			attr(img, "class", "shop__item-color-icon svelte-thtkv");
			if (!src_url_equal(img.src, img_src_value = selected_color_icon_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "selected-icon");
			attr(div, "class", "shop__item-color svelte-thtkv");
			attr(div, "style", div_style_value = `background-color: ${/*color*/ ctx[44].colorCode};`);
			toggle_class(div, "shop__item-color--selected", /*selectedItems*/ ctx[0][/*selectedTabId*/ ctx[3]].color.id === /*color*/ ctx[44].id);
			this.first = div;
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
			append(div, t);

			if (!mounted) {
				dispose = listen(div, "click", click_handler_2);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty[0] & /*shopItems, selectedTabId*/ 12 && div_style_value !== (div_style_value = `background-color: ${/*color*/ ctx[44].colorCode};`)) {
				attr(div, "style", div_style_value);
			}

			if (dirty[0] & /*selectedItems, selectedTabId, shopItems*/ 13) {
				toggle_class(div, "shop__item-color--selected", /*selectedItems*/ ctx[0][/*selectedTabId*/ ctx[3]].color.id === /*color*/ ctx[44].id);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (3655:20) {#each shopItems[selectedTabId] as item}
function views_shop_index_svelte_create_each_block(ctx) {
	let div1;
	let t0;
	let div0;
	let img;
	let img_src_value;
	let t1;
	let p;
	let t2_value = /*item*/ ctx[41].title + "";
	let t2;
	let t3;
	let t4;
	let show_if = !(0,lodash.isEmpty)(/*item*/ ctx[41].colors) && /*selectedItems*/ ctx[0][/*selectedTabId*/ ctx[3]]?.id === /*item*/ ctx[41].id;
	let if_block2_anchor;
	let mounted;
	let dispose;
	let if_block0 = /*selectedItems*/ ctx[0][/*selectedTabId*/ ctx[3]]?.id === /*item*/ ctx[41].id && shop_index_svelte_create_if_block_6(ctx);
	let if_block1 = !/*shopInformation*/ ctx[1].allIsFree && views_shop_index_svelte_create_if_block_3(ctx);

	function click_handler_1() {
		return /*click_handler_1*/ ctx[14](/*item*/ ctx[41]);
	}

	let if_block2 = show_if && views_shop_index_svelte_create_if_block_2(ctx);

	return {
		c() {
			div1 = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			div0 = internal_element("div");
			img = internal_element("img");
			t1 = space();
			p = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = space();
			if (if_block1) if_block1.c();
			t4 = space();
			if (if_block2) if_block2.c();
			if_block2_anchor = empty();
			attr(img, "class", "shop__item-img svelte-thtkv");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/personalskin/${/*item*/ ctx[41].img}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "item-img");
			attr(div0, "class", "shop__item-img-wrapper svelte-thtkv");
			attr(p, "class", "shop__item-title svelte-thtkv");
			attr(div1, "class", "shop__item svelte-thtkv");
			toggle_class(div1, "shop__item--selected", /*selectedItems*/ ctx[0][/*selectedTabId*/ ctx[3]]?.id === /*item*/ ctx[41].id);
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			if (if_block0) if_block0.m(div1, null);
			append(div1, t0);
			append(div1, div0);
			append(div0, img);
			append(div1, t1);
			append(div1, p);
			append(p, t2);
			append(div1, t3);
			if (if_block1) if_block1.m(div1, null);
			insert(target, t4, anchor);
			if (if_block2) if_block2.m(target, anchor);
			insert(target, if_block2_anchor, anchor);

			if (!mounted) {
				dispose = listen(div1, "click", click_handler_1);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (/*selectedItems*/ ctx[0][/*selectedTabId*/ ctx[3]]?.id === /*item*/ ctx[41].id) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = shop_index_svelte_create_if_block_6(ctx);
					if_block0.c();
					if_block0.m(div1, t0);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty[0] & /*shopItems, selectedTabId*/ 12 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/personalskin/${/*item*/ ctx[41].img}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty[0] & /*shopItems, selectedTabId*/ 12 && t2_value !== (t2_value = /*item*/ ctx[41].title + "")) set_data(t2, t2_value);

			if (!/*shopInformation*/ ctx[1].allIsFree) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = views_shop_index_svelte_create_if_block_3(ctx);
					if_block1.c();
					if_block1.m(div1, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty[0] & /*selectedItems, selectedTabId, shopItems*/ 13) {
				toggle_class(div1, "shop__item--selected", /*selectedItems*/ ctx[0][/*selectedTabId*/ ctx[3]]?.id === /*item*/ ctx[41].id);
			}

			if (dirty[0] & /*shopItems, selectedTabId, selectedItems*/ 13) show_if = !(0,lodash.isEmpty)(/*item*/ ctx[41].colors) && /*selectedItems*/ ctx[0][/*selectedTabId*/ ctx[3]]?.id === /*item*/ ctx[41].id;

			if (show_if) {
				if (if_block2) {
					if_block2.p(ctx, dirty);

					if (dirty[0] & /*shopItems, selectedTabId, selectedItems*/ 13) {
						transition_in(if_block2, 1);
					}
				} else {
					if_block2 = views_shop_index_svelte_create_if_block_2(ctx);
					if_block2.c();
					transition_in(if_block2, 1);
					if_block2.m(if_block2_anchor.parentNode, if_block2_anchor);
				}
			} else if (if_block2) {
				group_outros();

				transition_out(if_block2, 1, 1, () => {
					if_block2 = null;
				});

				check_outros();
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			if (detaching) detach(t4);
			if (if_block2) if_block2.d(detaching);
			if (detaching) detach(if_block2_anchor);
			mounted = false;
			dispose();
		}
	};
}

function views_shop_index_svelte_create_fragment(ctx) {
	let show_if = !(0,lodash.isEmpty)(/*shopInformation*/ ctx[1]);
	let if_block_anchor;
	let current;
	let if_block = show_if && views_shop_index_svelte_create_if_block(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty[0] & /*shopInformation*/ 2) show_if = !(0,lodash.isEmpty)(/*shopInformation*/ ctx[1]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty[0] & /*shopInformation*/ 2) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = views_shop_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

function views_shop_index_svelte_instance($$self, $$props, $$invalidate) {
	let shopInformation = {};
	let shopItems = {};
	let selectedTabId = null;
	let selectedItems = {};
	let availableColors = {};
	let totalPrice = { cash: 0, coins: 0 };

	const resetSelected = () => {
		$$invalidate(0, selectedItems = {});
	};

	const mapItemsDtoToItems = itemsDto => itemsDto.map(item => ({
		...item,
		colors: item.colors.map(colorId => availableColors[colorId])
	}));

	const setItems = (categoryId, items) => {
		$$invalidate(2, shopItems[categoryId] = mapItemsDtoToItems(items), shopItems);
	};

	const updateItems = (categoryId, items) => {
		const formattedItems = mapItemsDtoToItems(items);

		$$invalidate(
			2,
			shopItems[categoryId] = shopItems[categoryId]
			? [...shopItems[categoryId], ...formattedItems]
			: formattedItems,
			shopItems
		);
	};

	const selectTab = tabId => {
		$$invalidate(3, selectedTabId = tabId);
		sendClientMessage('shop.selectab', tabId);
	};

	const requestPlayerItemsUpdate = () => {
		
	}; // exec

	const resetSelectedCategory = categoryId => {
		$$invalidate(0, selectedItems[categoryId] = {}, selectedItems);
		$$invalidate(0, selectedItems);
		requestPlayerItemsUpdate();
	};

	const selectItem = (categoryId, item) => {
		$$invalidate(
			0,
			selectedItems[categoryId] = {
				id: item.id,
				price: item.price,
				priceType: item.priceType,
				color: !(0,lodash.isEmpty)(item.colors) ? item.colors[0] : null
			},
			selectedItems
		);

		$$invalidate(0, selectedItems);
		requestPlayerItemsUpdate();
		sendClientMessage('shop.selectitem', item.id);
	};

	const getItemById = (categoryId, itemId) => (shopItems[categoryId] || []).find(item => item.id === itemId);

	const handleSelectItemEvent = (categoryId, itemId) => {
		const item = getItemById(categoryId, itemId);

		if (item) {
			selectTab(categoryId);
			selectItem(categoryId, item);
		}
	};

	const selectColor = (categoryId, color) => {
		$$invalidate(0, selectedItems[categoryId].color = color, selectedItems);
		$$invalidate(0, selectedItems);
		requestPlayerItemsUpdate();
		sendClientMessage('shop.selectColor', selectedItems[categoryId].id, color.id);
	};

	const updateColors = colors => {
		colors.forEach(color => {
			availableColors[color.id] = color;
		});
	};

	const initializeColors = colors => {
		availableColors = {};
		updateColors(colors);
	};

	const initializeItems = itemsDto => {
		$$invalidate(2, shopItems = itemsDto);
	};

	const initializeTabs = tabsDto => {
		$$invalidate(1, shopInformation = tabsDto);
	};

	const handleClose = () => {
		sendClientMessage('shop.exit');
	};

	// [-1, 1] - [left, right]
	const rotatePlayer = direction => {
		sendClientMessage('shop.player.rotate', direction);
	};

	const resetOrder = () => {
		sendClientMessage('shop.order.reset');
	};

	const payOrder = () => {
		sendClientMessage('shop.order.pay');
	};

	const completeOrder = () => {
		sendClientMessage('shop.order.complete');
	};

	const unregisterResetSelectedCategory = registerEvent('event.shop.reset.selectedCategory', resetSelectedCategory);
	const unregisterResetSelected = registerEvent('event.shop.reset.selected', resetSelected);
	const unregisterSetItemsEvent = registerEvent('event.shop.items.set', setItems);
	const unregisterUpdateItemsEvent = registerEvent('event.shop.items.update', updateItems);
	const unregisterSelectTabEvent = registerEvent('event.shop.tab.select', selectTab);
	const unregisterInitializeItemsEvent = registerEvent('event.shop.items.initialize', initializeItems);
	const unregisterInitializeTabsEvent = registerEvent('event.shop.tabs.initialize', initializeTabs);
	const unregisterInitializeColorsEvent = registerEvent('event.shop.colors.initialize', initializeColors);
	const unregisterUpdateColorStorageEvent = registerEvent('event.shop.colors.update', updateColors);
	const unregisterSelectItemEvent = registerEvent('event.shop.selectItem', handleSelectItemEvent);

	onDestroy(() => {
		unregisterResetSelectedCategory();
		unregisterResetSelected();
		unregisterSetItemsEvent();
		unregisterUpdateItemsEvent();
		unregisterSelectTabEvent();
		unregisterInitializeItemsEvent();
		unregisterInitializeTabsEvent();
		unregisterInitializeColorsEvent();
		unregisterUpdateColorStorageEvent();
		unregisterSelectItemEvent();
	});

	const click_handler = tab => selectTab(tab.id);
	const click_handler_1 = item => selectItem(selectedTabId, item);
	const click_handler_2 = color => selectColor(selectedTabId, color);
	const click_handler_3 = () => rotatePlayer(-1);
	const click_handler_4 = () => rotatePlayer(1);

	$$self.$$.update = () => {
		if ($$self.$$.dirty[0] & /*selectedItems*/ 1) {
			$: $$invalidate(4, totalPrice = Object.values(selectedItems).reduce(
				(acc, el) => {
					acc[el.priceType] += (el.price || 0) + (el?.color?.price || 0);
					return acc;
				},
				{ cash: 0, coins: 0 }
			));
		}
	};

	return [
		selectedItems,
		shopInformation,
		shopItems,
		selectedTabId,
		totalPrice,
		selectTab,
		selectItem,
		selectColor,
		handleClose,
		rotatePlayer,
		resetOrder,
		payOrder,
		completeOrder,
		click_handler,
		click_handler_1,
		click_handler_2,
		click_handler_3,
		click_handler_4
	];
}

class shop_index_svelte_Shop extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, views_shop_index_svelte_instance, views_shop_index_svelte_create_fragment, safe_not_equal, {}, shop_index_svelte_add_css, [-1, -1]);
	}
}

/* harmony default export */ const views_shop_index_svelte = (shop_index_svelte_Shop);
;// CONCATENATED MODULE: ./src/views/spray-booth/index.svelte
/* src\views\spray-booth\index.svelte generated by Svelte v3.49.0 */









function spray_booth_index_svelte_add_css(target) {
	append_styles(target, "svelte-14u04aw", "@keyframes svelte-14u04aw-blinking{50%{opacity:0}}@keyframes svelte-14u04aw-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-14u04aw-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-14u04aw-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-14u04aw-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-14u04aw-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-14u04aw-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-14u04aw-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-14u04aw-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-14u04aw-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-14u04aw-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-14u04aw-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-14u04aw-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-14u04aw-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-14u04aw-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.spray-booth.svelte-14u04aw.svelte-14u04aw{display:flex;align-items:center;justify-content:center;position:relative;width:100vw;height:100vh;background:radial-gradient(56.59% 71.44% at 50% 50%, rgba(22, 25, 30, 0) 36.08%, #16191E 100%), radial-gradient(17.31% 30% at 93.07% 123.56%, rgba(118, 255, 70, 0.75) 0%, rgba(118, 255, 70, 0) 100%)}.spray-booth__title.svelte-14u04aw.svelte-14u04aw{position:absolute;font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.01875 * 100vw + 0px);top:calc(0.0338541667 * 100vw + 0px);left:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.020625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__title.svelte-14u04aw.svelte-14u04aw{top:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__title.svelte-14u04aw.svelte-14u04aw{top:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__title.svelte-14u04aw.svelte-14u04aw{top:calc(0.0260677083 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__title.svelte-14u04aw.svelte-14u04aw{top:calc(0.0372395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__title.svelte-14u04aw.svelte-14u04aw{top:calc(0.0236979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__title.svelte-14u04aw.svelte-14u04aw{top:calc(0.03046875 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__title.svelte-14u04aw.svelte-14u04aw{top:calc(0.0372395833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__title.svelte-14u04aw.svelte-14u04aw{left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__title.svelte-14u04aw.svelte-14u04aw{left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__title.svelte-14u04aw.svelte-14u04aw{left:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__title.svelte-14u04aw.svelte-14u04aw{left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__title.svelte-14u04aw.svelte-14u04aw{left:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__title.svelte-14u04aw.svelte-14u04aw{left:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__title.svelte-14u04aw.svelte-14u04aw{left:calc(0.0200520833 * 100vw + 0px)}}.spray-booth__spray.svelte-14u04aw.svelte-14u04aw{position:absolute;top:calc(0.115625 * 100vw + 0px);left:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__spray.svelte-14u04aw.svelte-14u04aw{top:calc(0.115625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__spray.svelte-14u04aw.svelte-14u04aw{top:calc(0.115625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__spray.svelte-14u04aw.svelte-14u04aw{top:calc(0.08903125 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__spray.svelte-14u04aw.svelte-14u04aw{top:calc(0.1271875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__spray.svelte-14u04aw.svelte-14u04aw{top:calc(0.0809375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__spray.svelte-14u04aw.svelte-14u04aw{top:calc(0.1040625 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__spray.svelte-14u04aw.svelte-14u04aw{top:calc(0.1271875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__spray.svelte-14u04aw.svelte-14u04aw{left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__spray.svelte-14u04aw.svelte-14u04aw{left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__spray.svelte-14u04aw.svelte-14u04aw{left:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__spray.svelte-14u04aw.svelte-14u04aw{left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__spray.svelte-14u04aw.svelte-14u04aw{left:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__spray.svelte-14u04aw.svelte-14u04aw{left:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__spray.svelte-14u04aw.svelte-14u04aw{left:calc(0.0200520833 * 100vw + 0px)}}.spray-booth__spray-sides-wrapper-title.svelte-14u04aw.svelte-14u04aw{font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.009375 * 100vw + 0px);margin-bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__spray-sides-wrapper-title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__spray-sides-wrapper-title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__spray-sides-wrapper-title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__spray-sides-wrapper-title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__spray-sides-wrapper-title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__spray-sides-wrapper-title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__spray-sides-wrapper-title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__spray-sides-wrapper-title.svelte-14u04aw.svelte-14u04aw{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__spray-sides-wrapper-title.svelte-14u04aw.svelte-14u04aw{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__spray-sides-wrapper-title.svelte-14u04aw.svelte-14u04aw{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__spray-sides-wrapper-title.svelte-14u04aw.svelte-14u04aw{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__spray-sides-wrapper-title.svelte-14u04aw.svelte-14u04aw{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__spray-sides-wrapper-title.svelte-14u04aw.svelte-14u04aw{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__spray-sides-wrapper-title.svelte-14u04aw.svelte-14u04aw{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.spray-booth__spray-sides.svelte-14u04aw.svelte-14u04aw{display:flex;gap:calc(0.0057291667 * 100vw + 0px);margin-bottom:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__spray-sides.svelte-14u04aw.svelte-14u04aw{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__spray-sides.svelte-14u04aw.svelte-14u04aw{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__spray-sides.svelte-14u04aw.svelte-14u04aw{gap:calc(0.0044114583 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__spray-sides.svelte-14u04aw.svelte-14u04aw{gap:calc(0.0063020833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__spray-sides.svelte-14u04aw.svelte-14u04aw{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__spray-sides.svelte-14u04aw.svelte-14u04aw{gap:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__spray-sides.svelte-14u04aw.svelte-14u04aw{gap:calc(0.0063020833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__spray-sides.svelte-14u04aw.svelte-14u04aw{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__spray-sides.svelte-14u04aw.svelte-14u04aw{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__spray-sides.svelte-14u04aw.svelte-14u04aw{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__spray-sides.svelte-14u04aw.svelte-14u04aw{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__spray-sides.svelte-14u04aw.svelte-14u04aw{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__spray-sides.svelte-14u04aw.svelte-14u04aw{margin-bottom:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__spray-sides.svelte-14u04aw.svelte-14u04aw{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}.spray-booth__spray-side-item.svelte-14u04aw.svelte-14u04aw{display:flex;align-items:center;justify-content:center;border:1px solid rgba(255, 255, 255, 0.25);border-radius:50%;cursor:pointer;transition:background-color 0.2s linear, border-color 0.2s linear;width:calc(0.0333333333 * 100vw + 0px);height:calc(0.0333333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__spray-side-item.svelte-14u04aw.svelte-14u04aw{width:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__spray-side-item.svelte-14u04aw.svelte-14u04aw{width:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__spray-side-item.svelte-14u04aw.svelte-14u04aw{width:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__spray-side-item.svelte-14u04aw.svelte-14u04aw{width:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__spray-side-item.svelte-14u04aw.svelte-14u04aw{width:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__spray-side-item.svelte-14u04aw.svelte-14u04aw{width:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__spray-side-item.svelte-14u04aw.svelte-14u04aw{width:calc(0.0366666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__spray-side-item.svelte-14u04aw.svelte-14u04aw{height:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__spray-side-item.svelte-14u04aw.svelte-14u04aw{height:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__spray-side-item.svelte-14u04aw.svelte-14u04aw{height:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__spray-side-item.svelte-14u04aw.svelte-14u04aw{height:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__spray-side-item.svelte-14u04aw.svelte-14u04aw{height:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__spray-side-item.svelte-14u04aw.svelte-14u04aw{height:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__spray-side-item.svelte-14u04aw.svelte-14u04aw{height:calc(0.0366666667 * 100vw + 0px)}}.spray-booth__spray-side-item.svelte-14u04aw.svelte-14u04aw:hover,.spray-booth__spray-side-item--selected.svelte-14u04aw.svelte-14u04aw{background-color:rgba(255, 255, 255, 0.1);border-color:#FFFFFF}.spray-booth__spray-side-item.svelte-14u04aw:hover .spray-booth__spray-side-item-title.svelte-14u04aw,.spray-booth__spray-side-item--selected.svelte-14u04aw .spray-booth__spray-side-item-title.svelte-14u04aw{background-color:#FFFFFF;color:#111111}.spray-booth__spray-side-item-title.svelte-14u04aw.svelte-14u04aw{display:flex;align-items:center;justify-content:center;font-family:\"GothamPro-Medium\";color:rgba(255, 255, 255, 0.5);border-radius:50%;background-color:rgba(255, 255, 255, 0.1);transition:background-color 0.2s linear, color 0.2s linear;font-size:calc(0.0125 * 100vw + 0px);width:calc(0.0260416667 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__spray-side-item-title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__spray-side-item-title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__spray-side-item-title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__spray-side-item-title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__spray-side-item-title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__spray-side-item-title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__spray-side-item-title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__spray-side-item-title.svelte-14u04aw.svelte-14u04aw{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__spray-side-item-title.svelte-14u04aw.svelte-14u04aw{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__spray-side-item-title.svelte-14u04aw.svelte-14u04aw{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__spray-side-item-title.svelte-14u04aw.svelte-14u04aw{width:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__spray-side-item-title.svelte-14u04aw.svelte-14u04aw{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__spray-side-item-title.svelte-14u04aw.svelte-14u04aw{width:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__spray-side-item-title.svelte-14u04aw.svelte-14u04aw{width:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__spray-side-item-title.svelte-14u04aw.svelte-14u04aw{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__spray-side-item-title.svelte-14u04aw.svelte-14u04aw{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__spray-side-item-title.svelte-14u04aw.svelte-14u04aw{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__spray-side-item-title.svelte-14u04aw.svelte-14u04aw{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__spray-side-item-title.svelte-14u04aw.svelte-14u04aw{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__spray-side-item-title.svelte-14u04aw.svelte-14u04aw{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__spray-side-item-title.svelte-14u04aw.svelte-14u04aw{height:calc(0.0286458333 * 100vw + 0px)}}.spray-booth__spray-colors-wrapper-title.svelte-14u04aw.svelte-14u04aw{font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.009375 * 100vw + 0px);margin-bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__spray-colors-wrapper-title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__spray-colors-wrapper-title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__spray-colors-wrapper-title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__spray-colors-wrapper-title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__spray-colors-wrapper-title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__spray-colors-wrapper-title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__spray-colors-wrapper-title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__spray-colors-wrapper-title.svelte-14u04aw.svelte-14u04aw{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__spray-colors-wrapper-title.svelte-14u04aw.svelte-14u04aw{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__spray-colors-wrapper-title.svelte-14u04aw.svelte-14u04aw{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__spray-colors-wrapper-title.svelte-14u04aw.svelte-14u04aw{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__spray-colors-wrapper-title.svelte-14u04aw.svelte-14u04aw{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__spray-colors-wrapper-title.svelte-14u04aw.svelte-14u04aw{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__spray-colors-wrapper-title.svelte-14u04aw.svelte-14u04aw{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.spray-booth__spray-colors.svelte-14u04aw.svelte-14u04aw{display:flex;flex-wrap:wrap;gap:calc(0.0057291667 * 100vw + 0px);width:calc(0.2286458333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__spray-colors.svelte-14u04aw.svelte-14u04aw{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__spray-colors.svelte-14u04aw.svelte-14u04aw{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__spray-colors.svelte-14u04aw.svelte-14u04aw{gap:calc(0.0044114583 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__spray-colors.svelte-14u04aw.svelte-14u04aw{gap:calc(0.0063020833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__spray-colors.svelte-14u04aw.svelte-14u04aw{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__spray-colors.svelte-14u04aw.svelte-14u04aw{gap:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__spray-colors.svelte-14u04aw.svelte-14u04aw{gap:calc(0.0063020833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__spray-colors.svelte-14u04aw.svelte-14u04aw{width:calc(0.2286458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__spray-colors.svelte-14u04aw.svelte-14u04aw{width:calc(0.2286458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__spray-colors.svelte-14u04aw.svelte-14u04aw{width:calc(0.1760572917 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__spray-colors.svelte-14u04aw.svelte-14u04aw{width:calc(0.2515104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__spray-colors.svelte-14u04aw.svelte-14u04aw{width:calc(0.1600520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__spray-colors.svelte-14u04aw.svelte-14u04aw{width:calc(0.20578125 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__spray-colors.svelte-14u04aw.svelte-14u04aw{width:calc(0.2515104167 * 100vw + 0px)}}.spray-booth__spray-color-item.svelte-14u04aw.svelte-14u04aw{display:flex;align-items:center;justify-content:center;border:1px solid rgba(255, 255, 255, 0.25);border-radius:50%;cursor:pointer;transition:background-color 0.2s linear, border-color 0.2s linear;width:calc(0.0333333333 * 100vw + 0px);height:calc(0.0333333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__spray-color-item.svelte-14u04aw.svelte-14u04aw{width:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__spray-color-item.svelte-14u04aw.svelte-14u04aw{width:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__spray-color-item.svelte-14u04aw.svelte-14u04aw{width:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__spray-color-item.svelte-14u04aw.svelte-14u04aw{width:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__spray-color-item.svelte-14u04aw.svelte-14u04aw{width:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__spray-color-item.svelte-14u04aw.svelte-14u04aw{width:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__spray-color-item.svelte-14u04aw.svelte-14u04aw{width:calc(0.0366666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__spray-color-item.svelte-14u04aw.svelte-14u04aw{height:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__spray-color-item.svelte-14u04aw.svelte-14u04aw{height:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__spray-color-item.svelte-14u04aw.svelte-14u04aw{height:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__spray-color-item.svelte-14u04aw.svelte-14u04aw{height:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__spray-color-item.svelte-14u04aw.svelte-14u04aw{height:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__spray-color-item.svelte-14u04aw.svelte-14u04aw{height:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__spray-color-item.svelte-14u04aw.svelte-14u04aw{height:calc(0.0366666667 * 100vw + 0px)}}.spray-booth__spray-color-item.svelte-14u04aw.svelte-14u04aw:hover,.spray-booth__spray-color-item--selected.svelte-14u04aw.svelte-14u04aw{background-color:rgba(255, 255, 255, 0.1);border-color:#FFFFFF}.spray-booth__spray-color-item-background.svelte-14u04aw.svelte-14u04aw{border-radius:50%;background:linear-gradient(0deg, var(--mainColor), var(--secondColor)), linear-gradient(225deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.25) 54%, rgba(0, 0, 0, 0) 100%), radial-gradient(44% 44% at 50% 0%, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%);width:calc(0.0260416667 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__spray-color-item-background.svelte-14u04aw.svelte-14u04aw{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__spray-color-item-background.svelte-14u04aw.svelte-14u04aw{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__spray-color-item-background.svelte-14u04aw.svelte-14u04aw{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__spray-color-item-background.svelte-14u04aw.svelte-14u04aw{width:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__spray-color-item-background.svelte-14u04aw.svelte-14u04aw{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__spray-color-item-background.svelte-14u04aw.svelte-14u04aw{width:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__spray-color-item-background.svelte-14u04aw.svelte-14u04aw{width:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__spray-color-item-background.svelte-14u04aw.svelte-14u04aw{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__spray-color-item-background.svelte-14u04aw.svelte-14u04aw{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__spray-color-item-background.svelte-14u04aw.svelte-14u04aw{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__spray-color-item-background.svelte-14u04aw.svelte-14u04aw{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__spray-color-item-background.svelte-14u04aw.svelte-14u04aw{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__spray-color-item-background.svelte-14u04aw.svelte-14u04aw{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__spray-color-item-background.svelte-14u04aw.svelte-14u04aw{height:calc(0.0286458333 * 100vw + 0px)}}.spray-booth__payment.svelte-14u04aw.svelte-14u04aw{position:absolute;right:calc(0.0182291667 * 100vw + 0px);bottom:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__payment.svelte-14u04aw.svelte-14u04aw{right:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__payment.svelte-14u04aw.svelte-14u04aw{right:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__payment.svelte-14u04aw.svelte-14u04aw{right:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__payment.svelte-14u04aw.svelte-14u04aw{right:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__payment.svelte-14u04aw.svelte-14u04aw{right:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__payment.svelte-14u04aw.svelte-14u04aw{right:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__payment.svelte-14u04aw.svelte-14u04aw{right:calc(0.0200520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__payment.svelte-14u04aw.svelte-14u04aw{bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__payment.svelte-14u04aw.svelte-14u04aw{bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__payment.svelte-14u04aw.svelte-14u04aw{bottom:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__payment.svelte-14u04aw.svelte-14u04aw{bottom:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__payment.svelte-14u04aw.svelte-14u04aw{bottom:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__payment.svelte-14u04aw.svelte-14u04aw{bottom:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__payment.svelte-14u04aw.svelte-14u04aw{bottom:calc(0.0200520833 * 100vw + 0px)}}.spray-booth__payment-item.svelte-14u04aw.svelte-14u04aw{display:flex;flex-direction:column;align-items:flex-end;margin-bottom:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__payment-item.svelte-14u04aw.svelte-14u04aw{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__payment-item.svelte-14u04aw.svelte-14u04aw{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__payment-item.svelte-14u04aw.svelte-14u04aw{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__payment-item.svelte-14u04aw.svelte-14u04aw{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__payment-item.svelte-14u04aw.svelte-14u04aw{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__payment-item.svelte-14u04aw.svelte-14u04aw{margin-bottom:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__payment-item.svelte-14u04aw.svelte-14u04aw{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}.spray-booth__payment-item-title.svelte-14u04aw.svelte-14u04aw{font-family:\"GothamPro-Medium\";color:#BABDBF;font-size:calc(0.009375 * 100vw + 0px);margin-bottom:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__payment-item-title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__payment-item-title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__payment-item-title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__payment-item-title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__payment-item-title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__payment-item-title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__payment-item-title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__payment-item-title.svelte-14u04aw.svelte-14u04aw{margin-bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__payment-item-title.svelte-14u04aw.svelte-14u04aw{margin-bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__payment-item-title.svelte-14u04aw.svelte-14u04aw{margin-bottom:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__payment-item-title.svelte-14u04aw.svelte-14u04aw{margin-bottom:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__payment-item-title.svelte-14u04aw.svelte-14u04aw{margin-bottom:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__payment-item-title.svelte-14u04aw.svelte-14u04aw{margin-bottom:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__payment-item-title.svelte-14u04aw.svelte-14u04aw{margin-bottom:calc(0.00859375 * 100vw + 0px)}}.spray-booth__payment-item-value.svelte-14u04aw.svelte-14u04aw{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.01875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__payment-item-value.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__payment-item-value.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__payment-item-value.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__payment-item-value.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__payment-item-value.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__payment-item-value.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__payment-item-value.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.020625 * 100vw + 0px)}}.spray-booth__payment-item-value--total.svelte-14u04aw.svelte-14u04aw{color:#76FF46}.spray-booth__payment-item-value--total.svelte-14u04aw .spray-booth__payment-item-value-decorative.svelte-14u04aw{color:#76FF46}.spray-booth__payment-item-value-decorative.svelte-14u04aw.svelte-14u04aw{font-family:\"GothamPro-Medium\";color:#FFFFFF;vertical-align:super;font-size:calc(0.0104166667 * 100vw + 0px);margin-left:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__payment-item-value-decorative.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__payment-item-value-decorative.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__payment-item-value-decorative.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__payment-item-value-decorative.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__payment-item-value-decorative.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__payment-item-value-decorative.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__payment-item-value-decorative.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__payment-item-value-decorative.svelte-14u04aw.svelte-14u04aw{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__payment-item-value-decorative.svelte-14u04aw.svelte-14u04aw{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__payment-item-value-decorative.svelte-14u04aw.svelte-14u04aw{margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__payment-item-value-decorative.svelte-14u04aw.svelte-14u04aw{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__payment-item-value-decorative.svelte-14u04aw.svelte-14u04aw{margin-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__payment-item-value-decorative.svelte-14u04aw.svelte-14u04aw{margin-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__payment-item-value-decorative.svelte-14u04aw.svelte-14u04aw{margin-left:calc(0.0057291667 * 100vw + 0px)}}.spray-booth__payment-buttons.svelte-14u04aw.svelte-14u04aw{display:flex;gap:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__payment-buttons.svelte-14u04aw.svelte-14u04aw{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__payment-buttons.svelte-14u04aw.svelte-14u04aw{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__payment-buttons.svelte-14u04aw.svelte-14u04aw{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__payment-buttons.svelte-14u04aw.svelte-14u04aw{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__payment-buttons.svelte-14u04aw.svelte-14u04aw{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__payment-buttons.svelte-14u04aw.svelte-14u04aw{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__payment-buttons.svelte-14u04aw.svelte-14u04aw{gap:calc(0.0057291667 * 100vw + 0px)}}.spray-booth__payment-button.svelte-14u04aw.svelte-14u04aw{display:flex;align-items:center;justify-content:center;background-color:rgba(118, 255, 70, 0.5);transition:background-color 0.2s linear;cursor:pointer;border-radius:calc(0.0026041667 * 100vw + 0px);width:calc(0.1692708333 * 100vw + 0px);height:calc(0.0447916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__payment-button.svelte-14u04aw.svelte-14u04aw{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__payment-button.svelte-14u04aw.svelte-14u04aw{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__payment-button.svelte-14u04aw.svelte-14u04aw{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__payment-button.svelte-14u04aw.svelte-14u04aw{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__payment-button.svelte-14u04aw.svelte-14u04aw{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__payment-button.svelte-14u04aw.svelte-14u04aw{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__payment-button.svelte-14u04aw.svelte-14u04aw{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__payment-button.svelte-14u04aw.svelte-14u04aw{width:calc(0.1692708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__payment-button.svelte-14u04aw.svelte-14u04aw{width:calc(0.1692708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__payment-button.svelte-14u04aw.svelte-14u04aw{width:calc(0.1303385417 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__payment-button.svelte-14u04aw.svelte-14u04aw{width:calc(0.1861979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__payment-button.svelte-14u04aw.svelte-14u04aw{width:calc(0.1184895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__payment-button.svelte-14u04aw.svelte-14u04aw{width:calc(0.15234375 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__payment-button.svelte-14u04aw.svelte-14u04aw{width:calc(0.1861979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__payment-button.svelte-14u04aw.svelte-14u04aw{height:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__payment-button.svelte-14u04aw.svelte-14u04aw{height:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__payment-button.svelte-14u04aw.svelte-14u04aw{height:calc(0.0344895833 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__payment-button.svelte-14u04aw.svelte-14u04aw{height:calc(0.0492708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__payment-button.svelte-14u04aw.svelte-14u04aw{height:calc(0.0313541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__payment-button.svelte-14u04aw.svelte-14u04aw{height:calc(0.0403125 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__payment-button.svelte-14u04aw.svelte-14u04aw{height:calc(0.0492708333 * 100vw + 0px)}}.spray-booth__payment-button.svelte-14u04aw.svelte-14u04aw:hover{background-color:#76FF46}.spray-booth__payment-button.svelte-14u04aw:hover .spray-booth__payment-button-title.svelte-14u04aw{color:#111111}.spray-booth__payment-button--small.svelte-14u04aw.svelte-14u04aw{background-color:rgba(255, 255, 255, 0.15);width:calc(0.0447916667 * 100vw + 0px);height:calc(0.0447916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__payment-button--small.svelte-14u04aw.svelte-14u04aw{width:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__payment-button--small.svelte-14u04aw.svelte-14u04aw{width:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__payment-button--small.svelte-14u04aw.svelte-14u04aw{width:calc(0.0344895833 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__payment-button--small.svelte-14u04aw.svelte-14u04aw{width:calc(0.0492708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__payment-button--small.svelte-14u04aw.svelte-14u04aw{width:calc(0.0313541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__payment-button--small.svelte-14u04aw.svelte-14u04aw{width:calc(0.0403125 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__payment-button--small.svelte-14u04aw.svelte-14u04aw{width:calc(0.0492708333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__payment-button--small.svelte-14u04aw.svelte-14u04aw{height:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__payment-button--small.svelte-14u04aw.svelte-14u04aw{height:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__payment-button--small.svelte-14u04aw.svelte-14u04aw{height:calc(0.0344895833 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__payment-button--small.svelte-14u04aw.svelte-14u04aw{height:calc(0.0492708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__payment-button--small.svelte-14u04aw.svelte-14u04aw{height:calc(0.0313541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__payment-button--small.svelte-14u04aw.svelte-14u04aw{height:calc(0.0403125 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__payment-button--small.svelte-14u04aw.svelte-14u04aw{height:calc(0.0492708333 * 100vw + 0px)}}.spray-booth__payment-button--small.svelte-14u04aw.svelte-14u04aw:hover{background-color:#FFFFFF}.spray-booth__payment-button--small.svelte-14u04aw:hover .spray-booth__payment-button-title.svelte-14u04aw{color:#111111}.spray-booth__payment-button--small.svelte-14u04aw .spray-booth__payment-button-title.svelte-14u04aw{color:#FFFFFF}.spray-booth__payment-button-title.svelte-14u04aw.svelte-14u04aw{font-family:\"GothamPro-Bold\";color:#203A16;transition:color 0.2s linear;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.spray-booth__payment-button-title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.spray-booth__payment-button-title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.spray-booth__payment-button-title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.spray-booth__payment-button-title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.spray-booth__payment-button-title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.spray-booth__payment-button-title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.spray-booth__payment-button-title.svelte-14u04aw.svelte-14u04aw{font-size:calc(0.0103125 * 100vw + 0px)}}");
}

function spray_booth_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[13] = list[i];
	return child_ctx;
}

function spray_booth_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[16] = list[i];
	child_ctx[18] = i;
	return child_ctx;
}

// (1690:16) {#each sprayInformation as tab, index}
function spray_booth_index_svelte_create_each_block_1(ctx) {
	let div;
	let p;
	let t0_value = /*tab*/ ctx[16].id + "";
	let t0;
	let t1;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[9](/*index*/ ctx[18]);
	}

	return {
		c() {
			div = internal_element("div");
			p = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			attr(p, "class", "spray-booth__spray-side-item-title svelte-14u04aw");
			attr(div, "class", "spray-booth__spray-side-item svelte-14u04aw");
			toggle_class(div, "spray-booth__spray-side-item--selected", /*selectedTabIndex*/ ctx[1] === /*index*/ ctx[18]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p);
			append(p, t0);
			append(div, t1);

			if (!mounted) {
				dispose = listen(div, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if (dirty & /*sprayInformation*/ 1 && t0_value !== (t0_value = /*tab*/ ctx[16].id + "")) set_data(t0, t0_value);

			if (dirty & /*selectedTabIndex*/ 2) {
				toggle_class(div, "spray-booth__spray-side-item--selected", /*selectedTabIndex*/ ctx[1] === /*index*/ ctx[18]);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (1707:12) {#if sprayInformation[selectedTabIndex]}
function spray_booth_index_svelte_create_if_block(ctx) {
	let div;
	let each_blocks = [];
	let each_1_lookup = new Map();
	let each_value = /*sprayInformation*/ ctx[0][/*selectedTabIndex*/ ctx[1]].colors;
	const get_key = ctx => /*color*/ ctx[13].id;

	for (let i = 0; i < each_value.length; i += 1) {
		let child_ctx = spray_booth_index_svelte_get_each_context(ctx, each_value, i);
		let key = get_key(child_ctx);
		each_1_lookup.set(key, each_blocks[i] = spray_booth_index_svelte_create_each_block(key, child_ctx));
	}

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "spray-booth__spray-colors svelte-14u04aw");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}
		},
		p(ctx, dirty) {
			if (dirty & /*sprayInformation, selectedTabIndex, selectColor*/ 19) {
				each_value = /*sprayInformation*/ ctx[0][/*selectedTabIndex*/ ctx[1]].colors;
				each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, div, destroy_block, spray_booth_index_svelte_create_each_block, null, spray_booth_index_svelte_get_each_context);
			}
		},
		d(detaching) {
			if (detaching) detach(div);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].d();
			}
		}
	};
}

// (1709:20) {#each sprayInformation[selectedTabIndex].colors as color (color.id)}
function spray_booth_index_svelte_create_each_block(key_1, ctx) {
	let div1;
	let div0;
	let div0_style_value;
	let t;
	let mounted;
	let dispose;

	function click_handler_1() {
		return /*click_handler_1*/ ctx[10](/*color*/ ctx[13]);
	}

	return {
		key: key_1,
		first: null,
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			t = space();
			attr(div0, "class", "spray-booth__spray-color-item-background svelte-14u04aw");
			attr(div0, "style", div0_style_value = `--mainColor: ${/*color*/ ctx[13].color}; --secondColor: ${/*color*/ ctx[13].color}bf`);
			attr(div1, "class", "spray-booth__spray-color-item svelte-14u04aw");
			toggle_class(div1, "spray-booth__spray-color-item--selected", /*sprayInformation*/ ctx[0][/*selectedTabIndex*/ ctx[1]].selectedColor?.id === /*color*/ ctx[13].id);
			this.first = div1;
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div1, t);

			if (!mounted) {
				dispose = listen(div1, "click", click_handler_1);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*sprayInformation, selectedTabIndex*/ 3 && div0_style_value !== (div0_style_value = `--mainColor: ${/*color*/ ctx[13].color}; --secondColor: ${/*color*/ ctx[13].color}bf`)) {
				attr(div0, "style", div0_style_value);
			}

			if (dirty & /*sprayInformation, selectedTabIndex*/ 3) {
				toggle_class(div1, "spray-booth__spray-color-item--selected", /*sprayInformation*/ ctx[0][/*selectedTabIndex*/ ctx[1]].selectedColor?.id === /*color*/ ctx[13].id);
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			mounted = false;
			dispose();
		}
	};
}

function spray_booth_index_svelte_create_fragment(ctx) {
	let div10;
	let exitbutton;
	let t0;
	let p0;
	let t2;
	let div3;
	let div1;
	let p1;
	let t4;
	let div0;
	let t5;
	let div2;
	let p2;
	let t7;
	let t8;
	let div9;
	let div4;
	let p3;
	let t10;
	let p4;
	let t11_value = formatMoney(/*$playerMoney*/ ctx[3]) + "";
	let t11;
	let t12;
	let span0;
	let t14;
	let div5;
	let p5;
	let t16;
	let p6;
	let t17_value = formatMoney(/*totalPrice*/ ctx[2]) + "";
	let t17;
	let t18;
	let span1;
	let t20;
	let div8;
	let div6;
	let t22;
	let div7;
	let current;
	let mounted;
	let dispose;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[8],
				fixedPosition: true
			}
		});

	let each_value_1 = /*sprayInformation*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = spray_booth_index_svelte_create_each_block_1(spray_booth_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	let if_block = /*sprayInformation*/ ctx[0][/*selectedTabIndex*/ ctx[1]] && spray_booth_index_svelte_create_if_block(ctx);

	return {
		c() {
			div10 = internal_element("div");
			create_component(exitbutton.$$.fragment);
			t0 = space();
			p0 = internal_element("p");
			p0.textContent = "Покрасочная камера";
			t2 = space();
			div3 = internal_element("div");
			div1 = internal_element("div");
			p1 = internal_element("p");
			p1.textContent = "Сторона покраски";
			t4 = space();
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t5 = space();
			div2 = internal_element("div");
			p2 = internal_element("p");
			p2.textContent = "Выбор цвета";
			t7 = space();
			if (if_block) if_block.c();
			t8 = space();
			div9 = internal_element("div");
			div4 = internal_element("div");
			p3 = internal_element("p");
			p3.textContent = "Баланс";
			t10 = space();
			p4 = internal_element("p");
			t11 = internal_text(t11_value);
			t12 = space();
			span0 = internal_element("span");
			span0.textContent = "₽";
			t14 = space();
			div5 = internal_element("div");
			p5 = internal_element("p");
			p5.textContent = "Итого к оплате";
			t16 = space();
			p6 = internal_element("p");
			t17 = internal_text(t17_value);
			t18 = space();
			span1 = internal_element("span");
			span1.textContent = "₽";
			t20 = space();
			div8 = internal_element("div");
			div6 = internal_element("div");
			div6.innerHTML = `<p class="spray-booth__payment-button-title svelte-14u04aw">Оплатить</p>`;
			t22 = space();
			div7 = internal_element("div");
			div7.innerHTML = `<i class="spray-booth__payment-button-title icon-cancel svelte-14u04aw"></i>`;
			attr(p0, "class", "spray-booth__title svelte-14u04aw");
			attr(p1, "class", "spray-booth__spray-sides-wrapper-title svelte-14u04aw");
			attr(div0, "class", "spray-booth__spray-sides svelte-14u04aw");
			attr(div1, "class", "spray-booth__spray-sides-wrapper");
			attr(p2, "class", "spray-booth__spray-colors-wrapper-title svelte-14u04aw");
			attr(div2, "class", "spray-booth__spray-colors-wrapper");
			attr(div3, "class", "spray-booth__spray svelte-14u04aw");
			attr(p3, "class", "spray-booth__payment-item-title svelte-14u04aw");
			attr(span0, "class", "spray-booth__payment-item-value-decorative svelte-14u04aw");
			attr(p4, "class", "spray-booth__payment-item-value svelte-14u04aw");
			attr(div4, "class", "spray-booth__payment-item svelte-14u04aw");
			attr(p5, "class", "spray-booth__payment-item-title svelte-14u04aw");
			attr(span1, "class", "spray-booth__payment-item-value-decorative svelte-14u04aw");
			attr(p6, "class", "spray-booth__payment-item-value spray-booth__payment-item-value--total svelte-14u04aw");
			attr(div5, "class", "spray-booth__payment-item svelte-14u04aw");
			attr(div6, "class", "spray-booth__payment-button svelte-14u04aw");
			attr(div7, "class", "spray-booth__payment-button spray-booth__payment-button--small svelte-14u04aw");
			attr(div8, "class", "spray-booth__payment-buttons svelte-14u04aw");
			attr(div9, "class", "spray-booth__payment svelte-14u04aw");
			attr(div10, "class", "spray-booth svelte-14u04aw");
		},
		m(target, anchor) {
			insert(target, div10, anchor);
			mount_component(exitbutton, div10, null);
			append(div10, t0);
			append(div10, p0);
			append(div10, t2);
			append(div10, div3);
			append(div3, div1);
			append(div1, p1);
			append(div1, t4);
			append(div1, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			append(div3, t5);
			append(div3, div2);
			append(div2, p2);
			append(div2, t7);
			if (if_block) if_block.m(div2, null);
			append(div10, t8);
			append(div10, div9);
			append(div9, div4);
			append(div4, p3);
			append(div4, t10);
			append(div4, p4);
			append(p4, t11);
			append(p4, t12);
			append(p4, span0);
			append(div9, t14);
			append(div9, div5);
			append(div5, p5);
			append(div5, t16);
			append(div5, p6);
			append(p6, t17);
			append(p6, t18);
			append(p6, span1);
			append(div9, t20);
			append(div9, div8);
			append(div8, div6);
			append(div8, t22);
			append(div8, div7);
			current = true;

			if (!mounted) {
				dispose = [
					listen(div6, "click", /*payOrder*/ ctx[6]),
					listen(div7, "click", /*resetOrder*/ ctx[7])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*selectedTabIndex, selectTab, sprayInformation*/ 35) {
				each_value_1 = /*sprayInformation*/ ctx[0];
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = spray_booth_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = spray_booth_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div0, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}

			if (/*sprayInformation*/ ctx[0][/*selectedTabIndex*/ ctx[1]]) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = spray_booth_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div2, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if ((!current || dirty & /*$playerMoney*/ 8) && t11_value !== (t11_value = formatMoney(/*$playerMoney*/ ctx[3]) + "")) set_data(t11, t11_value);
			if ((!current || dirty & /*totalPrice*/ 4) && t17_value !== (t17_value = formatMoney(/*totalPrice*/ ctx[2]) + "")) set_data(t17, t17_value);
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div10);
			destroy_component(exitbutton);
			destroy_each(each_blocks, detaching);
			if (if_block) if_block.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function spray_booth_index_svelte_instance($$self, $$props, $$invalidate) {
	let $playerMoney;
	component_subscribe($$self, playerMoney, $$value => $$invalidate(3, $playerMoney = $$value));
	let sprayInformation = [];
	let selectedTabIndex = null;
	let totalPrice = 0;

	const selectColor = (sideIndex, color) => {
		$$invalidate(0, sprayInformation[sideIndex].selectedColor = color, sprayInformation);
		sendClientMessage('sprayBooth.color.select', sprayInformation[sideIndex].id, color.id);
	};

	const initializeSprayInformation = sprayInformationDto => {
		$$invalidate(0, sprayInformation = sprayInformationDto.map(side => ({
			...side,
			selectedColor: side.colors.find(({ id }) => id === side.defaultColorId)
		})));

		$$invalidate(1, selectedTabIndex = 0);
		sprayInformation.forEach((side, sideIndex) => selectColor(sideIndex, side.selectedColor));
	};

	const selectTab = tabIndex => {
		$$invalidate(1, selectedTabIndex = tabIndex);
	};

	const payOrder = () => {
		sendClientMessage('sprayBooth.order.pay');
	};

	const resetOrder = () => {
		initializeSprayInformation(sprayInformation);
	};

	const handleClose = () => {
		sendClientMessage('sprayBooth.exit');
	};

	const unregisterInitializeSprayInformation = registerEvent('event.sprayBooth.sprayInformation.initialize', initializeSprayInformation);

	onDestroy(() => {
		unregisterInitializeSprayInformation();
	});

	const click_handler = index => selectTab(index);
	const click_handler_1 = color => selectColor(selectedTabIndex, color);

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*sprayInformation*/ 1) {
			$: $$invalidate(2, totalPrice = Object.values(sprayInformation).reduce((acc, el) => acc + (el?.selectedColor?.price || 0), 0));
		}
	};

	return [
		sprayInformation,
		selectedTabIndex,
		totalPrice,
		$playerMoney,
		selectColor,
		selectTab,
		payOrder,
		resetOrder,
		handleClose,
		click_handler,
		click_handler_1
	];
}

class Spray_booth extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, spray_booth_index_svelte_instance, spray_booth_index_svelte_create_fragment, safe_not_equal, {}, spray_booth_index_svelte_add_css);
	}
}

/* harmony default export */ const spray_booth_index_svelte = (Spray_booth);
;// CONCATENATED MODULE: ./src/views/airline/img/airline-lvl.svg
const airline_lvl_namespaceObject = __webpack_require__.p + "assets/abfd0f489f02d843b9bc.svg";
;// CONCATENATED MODULE: ./src/views/airline/img/airline-logo.svg
const airline_logo_namespaceObject = __webpack_require__.p + "assets/2902b7e037cb6fc43ee8.svg";
;// CONCATENATED MODULE: ./src/views/airline/img/airline-lights-background.svg
const airline_lights_background_namespaceObject = __webpack_require__.p + "assets/c3c507c4ff806807ce86.svg";
;// CONCATENATED MODULE: ./src/views/airline/img/airline-lights.svg
const airline_lights_namespaceObject = __webpack_require__.p + "assets/f1f6e5fa74560f2bfaf6.svg";
;// CONCATENATED MODULE: ./src/views/airline/img/airline-left-line.svg
const airline_left_line_namespaceObject = __webpack_require__.p + "assets/fdf6b88cd31df573cf12.svg";
;// CONCATENATED MODULE: ./src/views/airline/img/airline-top-line.svg
const airline_top_line_namespaceObject = __webpack_require__.p + "assets/ae49b6c5dc1fd9930e9e.svg";
;// CONCATENATED MODULE: ./src/views/airline/img/airline-pilot.png
const airline_pilot_namespaceObject = __webpack_require__.p + "assets/deefe672ae6cb12c0cef.webp";
;// CONCATENATED MODULE: ./src/views/airline/menu/img/airline-menu-buy-skill.svg
const airline_menu_buy_skill_namespaceObject = __webpack_require__.p + "assets/1dfb439228ab259aff7c.svg";
;// CONCATENATED MODULE: ./src/views/airline/menu/img/airline-menu-rating.svg
const airline_menu_rating_namespaceObject = __webpack_require__.p + "assets/67628727628b7f2c162f.svg";
;// CONCATENATED MODULE: ./src/views/airline/menu/img/airline-menu-start-job.svg
const airline_menu_start_job_namespaceObject = __webpack_require__.p + "assets/9c58e7e2bd7d99dd580c.svg";
;// CONCATENATED MODULE: ./src/views/airline/menu/index.svelte
/* src\views\airline\menu\index.svelte generated by Svelte v3.49.0 */

















function airline_menu_index_svelte_add_css(target) {
	append_styles(target, "svelte-zgewb7", "@keyframes svelte-zgewb7-blinking{50%{opacity:0}}@keyframes svelte-zgewb7-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-zgewb7-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-zgewb7-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-zgewb7-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-zgewb7-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-zgewb7-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-zgewb7-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-zgewb7-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-zgewb7-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-zgewb7-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-zgewb7-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-zgewb7-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-zgewb7-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-zgewb7-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.airline-menu.svelte-zgewb7.svelte-zgewb7{display:flex;align-items:center;justify-content:center;width:100vw;height:100vh;background:radial-gradient(50% 50% at 50% 50%, rgba(32, 39, 49, 0) 0%, rgba(32, 39, 49, 0.95) 100%), rgba(32, 39, 49, 0.9)}.airline-menu__logo-img.svelte-zgewb7.svelte-zgewb7{position:absolute;top:calc(0.0213541667 * 100vw + 0px);left:calc(0.028125 * 100vw + 0px);height:calc(0.0625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__logo-img.svelte-zgewb7.svelte-zgewb7{top:calc(0.0213541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__logo-img.svelte-zgewb7.svelte-zgewb7{top:calc(0.0213541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__logo-img.svelte-zgewb7.svelte-zgewb7{top:calc(0.0164427083 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__logo-img.svelte-zgewb7.svelte-zgewb7{top:calc(0.0234895833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__logo-img.svelte-zgewb7.svelte-zgewb7{top:calc(0.0149479167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__logo-img.svelte-zgewb7.svelte-zgewb7{top:calc(0.01921875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__logo-img.svelte-zgewb7.svelte-zgewb7{top:calc(0.0234895833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__logo-img.svelte-zgewb7.svelte-zgewb7{left:calc(0.028125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__logo-img.svelte-zgewb7.svelte-zgewb7{left:calc(0.028125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__logo-img.svelte-zgewb7.svelte-zgewb7{left:calc(0.02165625 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__logo-img.svelte-zgewb7.svelte-zgewb7{left:calc(0.0309375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__logo-img.svelte-zgewb7.svelte-zgewb7{left:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__logo-img.svelte-zgewb7.svelte-zgewb7{left:calc(0.0253125 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__logo-img.svelte-zgewb7.svelte-zgewb7{left:calc(0.0309375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__logo-img.svelte-zgewb7.svelte-zgewb7{height:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__logo-img.svelte-zgewb7.svelte-zgewb7{height:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__logo-img.svelte-zgewb7.svelte-zgewb7{height:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__logo-img.svelte-zgewb7.svelte-zgewb7{height:calc(0.06875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__logo-img.svelte-zgewb7.svelte-zgewb7{height:calc(0.04375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__logo-img.svelte-zgewb7.svelte-zgewb7{height:calc(0.05625 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__logo-img.svelte-zgewb7.svelte-zgewb7{height:calc(0.06875 * 100vw + 0px)}}.airline-menu__pilot-img.svelte-zgewb7.svelte-zgewb7{z-index:2;position:absolute;left:0;height:100vh;pointer-events:none}.airline-menu__lights-background-img.svelte-zgewb7.svelte-zgewb7{position:absolute;opacity:40%;height:100vh;width:100%;pointer-events:none}.airline-menu__lights-img.svelte-zgewb7.svelte-zgewb7{position:absolute;height:100vh;width:100%;pointer-events:none}.airline-menu__navigation-left-line-img.svelte-zgewb7.svelte-zgewb7{position:absolute;top:calc(-0.0328125 * 100vw + 0px);left:calc(-0.0234375 * 100vw + 0px);width:calc(0.0020833333 * 100vw + 0px);height:calc(0.5015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-left-line-img.svelte-zgewb7.svelte-zgewb7{top:calc(-0.0328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-left-line-img.svelte-zgewb7.svelte-zgewb7{top:calc(-0.0328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-left-line-img.svelte-zgewb7.svelte-zgewb7{top:calc(-0.025265625 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-left-line-img.svelte-zgewb7.svelte-zgewb7{top:calc(-0.03609375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-left-line-img.svelte-zgewb7.svelte-zgewb7{top:calc(-0.02296875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-left-line-img.svelte-zgewb7.svelte-zgewb7{top:calc(-0.02953125 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-left-line-img.svelte-zgewb7.svelte-zgewb7{top:calc(-0.03609375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-left-line-img.svelte-zgewb7.svelte-zgewb7{left:calc(-0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-left-line-img.svelte-zgewb7.svelte-zgewb7{left:calc(-0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-left-line-img.svelte-zgewb7.svelte-zgewb7{left:calc(-0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-left-line-img.svelte-zgewb7.svelte-zgewb7{left:calc(-0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-left-line-img.svelte-zgewb7.svelte-zgewb7{left:calc(-0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-left-line-img.svelte-zgewb7.svelte-zgewb7{left:calc(-0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-left-line-img.svelte-zgewb7.svelte-zgewb7{left:calc(-0.02578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-left-line-img.svelte-zgewb7.svelte-zgewb7{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-left-line-img.svelte-zgewb7.svelte-zgewb7{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-left-line-img.svelte-zgewb7.svelte-zgewb7{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-left-line-img.svelte-zgewb7.svelte-zgewb7{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-left-line-img.svelte-zgewb7.svelte-zgewb7{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-left-line-img.svelte-zgewb7.svelte-zgewb7{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-left-line-img.svelte-zgewb7.svelte-zgewb7{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-left-line-img.svelte-zgewb7.svelte-zgewb7{height:calc(0.5015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-left-line-img.svelte-zgewb7.svelte-zgewb7{height:calc(0.5015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-left-line-img.svelte-zgewb7.svelte-zgewb7{height:calc(0.386203125 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-left-line-img.svelte-zgewb7.svelte-zgewb7{height:calc(0.55171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-left-line-img.svelte-zgewb7.svelte-zgewb7{height:calc(0.35109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-left-line-img.svelte-zgewb7.svelte-zgewb7{height:calc(0.45140625 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-left-line-img.svelte-zgewb7.svelte-zgewb7{height:calc(0.55171875 * 100vw + 0px)}}.airline-menu__navigation-top-line-img.svelte-zgewb7.svelte-zgewb7{position:absolute;top:calc(0.0963541667 * 100vw + 0px);right:calc(0.0177083333 * 100vw + 0px);height:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-top-line-img.svelte-zgewb7.svelte-zgewb7{top:calc(0.0963541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-top-line-img.svelte-zgewb7.svelte-zgewb7{top:calc(0.0963541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-top-line-img.svelte-zgewb7.svelte-zgewb7{top:calc(0.0741927083 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-top-line-img.svelte-zgewb7.svelte-zgewb7{top:calc(0.1059895833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-top-line-img.svelte-zgewb7.svelte-zgewb7{top:calc(0.0674479167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-top-line-img.svelte-zgewb7.svelte-zgewb7{top:calc(0.08671875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-top-line-img.svelte-zgewb7.svelte-zgewb7{top:calc(0.1059895833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-top-line-img.svelte-zgewb7.svelte-zgewb7{right:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-top-line-img.svelte-zgewb7.svelte-zgewb7{right:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-top-line-img.svelte-zgewb7.svelte-zgewb7{right:calc(0.0136354167 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-top-line-img.svelte-zgewb7.svelte-zgewb7{right:calc(0.0194791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-top-line-img.svelte-zgewb7.svelte-zgewb7{right:calc(0.0123958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-top-line-img.svelte-zgewb7.svelte-zgewb7{right:calc(0.0159375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-top-line-img.svelte-zgewb7.svelte-zgewb7{right:calc(0.0194791667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-top-line-img.svelte-zgewb7.svelte-zgewb7{height:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-top-line-img.svelte-zgewb7.svelte-zgewb7{height:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-top-line-img.svelte-zgewb7.svelte-zgewb7{height:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-top-line-img.svelte-zgewb7.svelte-zgewb7{height:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-top-line-img.svelte-zgewb7.svelte-zgewb7{height:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-top-line-img.svelte-zgewb7.svelte-zgewb7{height:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-top-line-img.svelte-zgewb7.svelte-zgewb7{height:calc(0.0022916667 * 100vw + 0px)}}.airline-menu__navigation.svelte-zgewb7.svelte-zgewb7{z-index:2;position:absolute;top:calc(0.0567708333 * 100vw + 0px);right:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation.svelte-zgewb7.svelte-zgewb7{top:calc(0.0567708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation.svelte-zgewb7.svelte-zgewb7{top:calc(0.0567708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation.svelte-zgewb7.svelte-zgewb7{top:calc(0.0437135417 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation.svelte-zgewb7.svelte-zgewb7{top:calc(0.0624479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation.svelte-zgewb7.svelte-zgewb7{top:calc(0.0397395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation.svelte-zgewb7.svelte-zgewb7{top:calc(0.05109375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation.svelte-zgewb7.svelte-zgewb7{top:calc(0.0624479167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation.svelte-zgewb7.svelte-zgewb7{right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation.svelte-zgewb7.svelte-zgewb7{right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation.svelte-zgewb7.svelte-zgewb7{right:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation.svelte-zgewb7.svelte-zgewb7{right:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation.svelte-zgewb7.svelte-zgewb7{right:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation.svelte-zgewb7.svelte-zgewb7{right:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation.svelte-zgewb7.svelte-zgewb7{right:calc(0.0114583333 * 100vw + 0px)}}.airline-menu__navigation-stats.svelte-zgewb7.svelte-zgewb7{margin-bottom:calc(0.0401041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-stats.svelte-zgewb7.svelte-zgewb7{margin-bottom:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-stats.svelte-zgewb7.svelte-zgewb7{margin-bottom:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-stats.svelte-zgewb7.svelte-zgewb7{margin-bottom:calc(0.0308802083 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-stats.svelte-zgewb7.svelte-zgewb7{margin-bottom:calc(0.0441145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-stats.svelte-zgewb7.svelte-zgewb7{margin-bottom:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-stats.svelte-zgewb7.svelte-zgewb7{margin-bottom:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-stats.svelte-zgewb7.svelte-zgewb7{margin-bottom:calc(0.0441145833 * 100vw + 0px)}}.airline-menu__navigation-stats-name.svelte-zgewb7.svelte-zgewb7{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0333333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-stats-name.svelte-zgewb7.svelte-zgewb7{font-size:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-stats-name.svelte-zgewb7.svelte-zgewb7{font-size:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-stats-name.svelte-zgewb7.svelte-zgewb7{font-size:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-stats-name.svelte-zgewb7.svelte-zgewb7{font-size:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-stats-name.svelte-zgewb7.svelte-zgewb7{font-size:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-stats-name.svelte-zgewb7.svelte-zgewb7{font-size:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-stats-name.svelte-zgewb7.svelte-zgewb7{font-size:calc(0.0366666667 * 100vw + 0px)}}.airline-menu__navigation-stats-lvl.svelte-zgewb7.svelte-zgewb7{display:flex;align-items:center;margin-top:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-stats-lvl.svelte-zgewb7.svelte-zgewb7{margin-top:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-stats-lvl.svelte-zgewb7.svelte-zgewb7{margin-top:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-stats-lvl.svelte-zgewb7.svelte-zgewb7{margin-top:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-stats-lvl.svelte-zgewb7.svelte-zgewb7{margin-top:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-stats-lvl.svelte-zgewb7.svelte-zgewb7{margin-top:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-stats-lvl.svelte-zgewb7.svelte-zgewb7{margin-top:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-stats-lvl.svelte-zgewb7.svelte-zgewb7{margin-top:calc(0.01375 * 100vw + 0px)}}.airline-menu__navigation-stats-lvl-img.svelte-zgewb7.svelte-zgewb7{height:calc(0.0145833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-stats-lvl-img.svelte-zgewb7.svelte-zgewb7{height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-stats-lvl-img.svelte-zgewb7.svelte-zgewb7{height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-stats-lvl-img.svelte-zgewb7.svelte-zgewb7{height:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-stats-lvl-img.svelte-zgewb7.svelte-zgewb7{height:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-stats-lvl-img.svelte-zgewb7.svelte-zgewb7{height:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-stats-lvl-img.svelte-zgewb7.svelte-zgewb7{height:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-stats-lvl-img.svelte-zgewb7.svelte-zgewb7{height:calc(0.0160416667 * 100vw + 0px)}}.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{display:flex;align-items:center;justify-content:center;font-family:\"GothamPro\";color:#FFFFFF;background-color:rgba(0, 0, 0, 0.3);font-size:calc(0.0104166667 * 100vw + 0px);border-radius:calc(0.0166666667 * 100vw + 0px);margin-left:calc(0.0104166667 * 100vw + 0px);margin-right:calc(0.0046875 * 100vw + 0px);width:calc(0.0359375 * 100vw + 0px);height:calc(0.021875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{border-radius:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{border-radius:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{border-radius:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{border-radius:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{border-radius:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{border-radius:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{border-radius:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{margin-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{margin-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{margin-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{margin-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{margin-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{margin-right:calc(0.003609375 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{margin-right:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{margin-right:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{margin-right:calc(0.00421875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{margin-right:calc(0.00515625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{width:calc(0.0359375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{width:calc(0.0359375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{width:calc(0.027671875 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{width:calc(0.03953125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{width:calc(0.02515625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{width:calc(0.03234375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{width:calc(0.03953125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{height:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{height:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{height:calc(0.01684375 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{height:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{height:calc(0.0153125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{height:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-stats-lvl-value.svelte-zgewb7.svelte-zgewb7{height:calc(0.0240625 * 100vw + 0px)}}.airline-menu__navigation-stats-lvl-title.svelte-zgewb7.svelte-zgewb7{font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-stats-lvl-title.svelte-zgewb7.svelte-zgewb7{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-stats-lvl-title.svelte-zgewb7.svelte-zgewb7{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-stats-lvl-title.svelte-zgewb7.svelte-zgewb7{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-stats-lvl-title.svelte-zgewb7.svelte-zgewb7{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-stats-lvl-title.svelte-zgewb7.svelte-zgewb7{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-stats-lvl-title.svelte-zgewb7.svelte-zgewb7{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-stats-lvl-title.svelte-zgewb7.svelte-zgewb7{font-size:calc(0.0103125 * 100vw + 0px)}}.airline-menu__navigation-stats-lvl-title-darker.svelte-zgewb7.svelte-zgewb7{color:rgba(255, 255, 255, 0.5);margin-left:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-stats-lvl-title-darker.svelte-zgewb7.svelte-zgewb7{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-stats-lvl-title-darker.svelte-zgewb7.svelte-zgewb7{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-stats-lvl-title-darker.svelte-zgewb7.svelte-zgewb7{margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-stats-lvl-title-darker.svelte-zgewb7.svelte-zgewb7{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-stats-lvl-title-darker.svelte-zgewb7.svelte-zgewb7{margin-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-stats-lvl-title-darker.svelte-zgewb7.svelte-zgewb7{margin-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-stats-lvl-title-darker.svelte-zgewb7.svelte-zgewb7{margin-left:calc(0.0057291667 * 100vw + 0px)}}.airline-menu__navigation-buttons.svelte-zgewb7.svelte-zgewb7{display:flex;flex-wrap:wrap;gap:calc(0.0041666667 * 100vw + 0px);width:calc(0.5067708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-buttons.svelte-zgewb7.svelte-zgewb7{gap:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-buttons.svelte-zgewb7.svelte-zgewb7{gap:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-buttons.svelte-zgewb7.svelte-zgewb7{gap:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-buttons.svelte-zgewb7.svelte-zgewb7{gap:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-buttons.svelte-zgewb7.svelte-zgewb7{gap:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-buttons.svelte-zgewb7.svelte-zgewb7{gap:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-buttons.svelte-zgewb7.svelte-zgewb7{gap:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-buttons.svelte-zgewb7.svelte-zgewb7{width:calc(0.5067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-buttons.svelte-zgewb7.svelte-zgewb7{width:calc(0.5067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-buttons.svelte-zgewb7.svelte-zgewb7{width:calc(0.3902135417 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-buttons.svelte-zgewb7.svelte-zgewb7{width:calc(0.5574479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-buttons.svelte-zgewb7.svelte-zgewb7{width:calc(0.3547395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-buttons.svelte-zgewb7.svelte-zgewb7{width:calc(0.45609375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-buttons.svelte-zgewb7.svelte-zgewb7{width:calc(0.5574479167 * 100vw + 0px)}}.airline-menu__navigation-button-wrapper.svelte-zgewb7.svelte-zgewb7{border:2px solid transparent;transition:border 0.2s linear;border-radius:calc(0.0072916667 * 100vw + 0px);padding:calc(0.0015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-button-wrapper.svelte-zgewb7.svelte-zgewb7{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-button-wrapper.svelte-zgewb7.svelte-zgewb7{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-button-wrapper.svelte-zgewb7.svelte-zgewb7{border-radius:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-button-wrapper.svelte-zgewb7.svelte-zgewb7{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-button-wrapper.svelte-zgewb7.svelte-zgewb7{border-radius:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-button-wrapper.svelte-zgewb7.svelte-zgewb7{border-radius:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-button-wrapper.svelte-zgewb7.svelte-zgewb7{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-button-wrapper.svelte-zgewb7.svelte-zgewb7{padding:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-button-wrapper.svelte-zgewb7.svelte-zgewb7{padding:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-button-wrapper.svelte-zgewb7.svelte-zgewb7{padding:calc(0.001203125 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-button-wrapper.svelte-zgewb7.svelte-zgewb7{padding:calc(0.00171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-button-wrapper.svelte-zgewb7.svelte-zgewb7{padding:calc(0.00109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-button-wrapper.svelte-zgewb7.svelte-zgewb7{padding:calc(0.00140625 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-button-wrapper.svelte-zgewb7.svelte-zgewb7{padding:calc(0.00171875 * 100vw + 0px)}}.airline-menu__navigation-button-wrapper.svelte-zgewb7.svelte-zgewb7:hover{border-color:#FFFFFF}.airline-menu__navigation-button-wrapper.svelte-zgewb7:hover .airline-menu__navigation-button.svelte-zgewb7:after{opacity:1}.airline-menu__navigation-button.svelte-zgewb7.svelte-zgewb7{position:relative;display:flex;justify-content:space-between;overflow:hidden;background-color:rgba(0, 0, 0, 0.5);cursor:pointer;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.2385416667 * 100vw + 0px);height:calc(0.1447916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-button.svelte-zgewb7.svelte-zgewb7{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-button.svelte-zgewb7.svelte-zgewb7{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-button.svelte-zgewb7.svelte-zgewb7{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-button.svelte-zgewb7.svelte-zgewb7{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-button.svelte-zgewb7.svelte-zgewb7{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-button.svelte-zgewb7.svelte-zgewb7{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-button.svelte-zgewb7.svelte-zgewb7{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-button.svelte-zgewb7.svelte-zgewb7{width:calc(0.2385416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-button.svelte-zgewb7.svelte-zgewb7{width:calc(0.2385416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-button.svelte-zgewb7.svelte-zgewb7{width:calc(0.1836770833 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-button.svelte-zgewb7.svelte-zgewb7{width:calc(0.2623958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-button.svelte-zgewb7.svelte-zgewb7{width:calc(0.1669791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-button.svelte-zgewb7.svelte-zgewb7{width:calc(0.2146875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-button.svelte-zgewb7.svelte-zgewb7{width:calc(0.2623958333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-button.svelte-zgewb7.svelte-zgewb7{height:calc(0.1447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-button.svelte-zgewb7.svelte-zgewb7{height:calc(0.1447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-button.svelte-zgewb7.svelte-zgewb7{height:calc(0.1114895833 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-button.svelte-zgewb7.svelte-zgewb7{height:calc(0.1592708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-button.svelte-zgewb7.svelte-zgewb7{height:calc(0.1013541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-button.svelte-zgewb7.svelte-zgewb7{height:calc(0.1303125 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-button.svelte-zgewb7.svelte-zgewb7{height:calc(0.1592708333 * 100vw + 0px)}}.airline-menu__navigation-button.svelte-zgewb7.svelte-zgewb7:after{position:absolute;content:\"\";top:0;left:0;width:100%;height:100%;background:linear-gradient(349deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3)), linear-gradient(129deg, #759595 0%, #183737 100%);transition:opacity 0.2s linear;opacity:0;border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-button.svelte-zgewb7.svelte-zgewb7:after{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-button.svelte-zgewb7.svelte-zgewb7:after{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-button.svelte-zgewb7.svelte-zgewb7:after{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-button.svelte-zgewb7.svelte-zgewb7:after{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-button.svelte-zgewb7.svelte-zgewb7:after{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-button.svelte-zgewb7.svelte-zgewb7:after{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-button.svelte-zgewb7.svelte-zgewb7:after{border-radius:calc(0.0057291667 * 100vw + 0px)}}.airline-menu__navigation-button-title.svelte-zgewb7.svelte-zgewb7{z-index:1;font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0166666667 * 100vw + 0px);margin-top:calc(0.0166666667 * 100vw + 0px);margin-left:calc(0.015625 * 100vw + 0px);width:calc(0.1302083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-button-title.svelte-zgewb7.svelte-zgewb7{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-button-title.svelte-zgewb7.svelte-zgewb7{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-button-title.svelte-zgewb7.svelte-zgewb7{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-button-title.svelte-zgewb7.svelte-zgewb7{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-button-title.svelte-zgewb7.svelte-zgewb7{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-button-title.svelte-zgewb7.svelte-zgewb7{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-button-title.svelte-zgewb7.svelte-zgewb7{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-button-title.svelte-zgewb7.svelte-zgewb7{margin-top:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-button-title.svelte-zgewb7.svelte-zgewb7{margin-top:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-button-title.svelte-zgewb7.svelte-zgewb7{margin-top:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-button-title.svelte-zgewb7.svelte-zgewb7{margin-top:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-button-title.svelte-zgewb7.svelte-zgewb7{margin-top:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-button-title.svelte-zgewb7.svelte-zgewb7{margin-top:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-button-title.svelte-zgewb7.svelte-zgewb7{margin-top:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-button-title.svelte-zgewb7.svelte-zgewb7{margin-left:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-button-title.svelte-zgewb7.svelte-zgewb7{margin-left:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-button-title.svelte-zgewb7.svelte-zgewb7{margin-left:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-button-title.svelte-zgewb7.svelte-zgewb7{margin-left:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-button-title.svelte-zgewb7.svelte-zgewb7{margin-left:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-button-title.svelte-zgewb7.svelte-zgewb7{margin-left:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-button-title.svelte-zgewb7.svelte-zgewb7{margin-left:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-button-title.svelte-zgewb7.svelte-zgewb7{width:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-button-title.svelte-zgewb7.svelte-zgewb7{width:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-button-title.svelte-zgewb7.svelte-zgewb7{width:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-button-title.svelte-zgewb7.svelte-zgewb7{width:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-button-title.svelte-zgewb7.svelte-zgewb7{width:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-button-title.svelte-zgewb7.svelte-zgewb7{width:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-button-title.svelte-zgewb7.svelte-zgewb7{width:calc(0.1432291667 * 100vw + 0px)}}.airline-menu__navigation-button-buy-img.svelte-zgewb7.svelte-zgewb7{z-index:1;position:absolute;right:0;top:calc(0.0052083333 * 100vw + 0px);width:calc(0.1302083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-button-buy-img.svelte-zgewb7.svelte-zgewb7{top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-button-buy-img.svelte-zgewb7.svelte-zgewb7{top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-button-buy-img.svelte-zgewb7.svelte-zgewb7{top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-button-buy-img.svelte-zgewb7.svelte-zgewb7{top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-button-buy-img.svelte-zgewb7.svelte-zgewb7{top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-button-buy-img.svelte-zgewb7.svelte-zgewb7{top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-button-buy-img.svelte-zgewb7.svelte-zgewb7{top:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-button-buy-img.svelte-zgewb7.svelte-zgewb7{width:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-button-buy-img.svelte-zgewb7.svelte-zgewb7{width:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-button-buy-img.svelte-zgewb7.svelte-zgewb7{width:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-button-buy-img.svelte-zgewb7.svelte-zgewb7{width:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-button-buy-img.svelte-zgewb7.svelte-zgewb7{width:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-button-buy-img.svelte-zgewb7.svelte-zgewb7{width:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-button-buy-img.svelte-zgewb7.svelte-zgewb7{width:calc(0.1432291667 * 100vw + 0px)}}.airline-menu__navigation-button-rating-img.svelte-zgewb7.svelte-zgewb7{z-index:1;position:absolute;top:calc(0.0197916667 * 100vw + 0px);right:calc(0.0140625 * 100vw + 0px);width:calc(0.1052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-button-rating-img.svelte-zgewb7.svelte-zgewb7{top:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-button-rating-img.svelte-zgewb7.svelte-zgewb7{top:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-button-rating-img.svelte-zgewb7.svelte-zgewb7{top:calc(0.0152395833 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-button-rating-img.svelte-zgewb7.svelte-zgewb7{top:calc(0.0217708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-button-rating-img.svelte-zgewb7.svelte-zgewb7{top:calc(0.0138541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-button-rating-img.svelte-zgewb7.svelte-zgewb7{top:calc(0.0178125 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-button-rating-img.svelte-zgewb7.svelte-zgewb7{top:calc(0.0217708333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-button-rating-img.svelte-zgewb7.svelte-zgewb7{right:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-button-rating-img.svelte-zgewb7.svelte-zgewb7{right:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-button-rating-img.svelte-zgewb7.svelte-zgewb7{right:calc(0.010828125 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-button-rating-img.svelte-zgewb7.svelte-zgewb7{right:calc(0.01546875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-button-rating-img.svelte-zgewb7.svelte-zgewb7{right:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-button-rating-img.svelte-zgewb7.svelte-zgewb7{right:calc(0.01265625 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-button-rating-img.svelte-zgewb7.svelte-zgewb7{right:calc(0.01546875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-button-rating-img.svelte-zgewb7.svelte-zgewb7{width:calc(0.1052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-button-rating-img.svelte-zgewb7.svelte-zgewb7{width:calc(0.1052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-button-rating-img.svelte-zgewb7.svelte-zgewb7{width:calc(0.0810104167 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-button-rating-img.svelte-zgewb7.svelte-zgewb7{width:calc(0.1157291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-button-rating-img.svelte-zgewb7.svelte-zgewb7{width:calc(0.0736458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-button-rating-img.svelte-zgewb7.svelte-zgewb7{width:calc(0.0946875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-button-rating-img.svelte-zgewb7.svelte-zgewb7{width:calc(0.1157291667 * 100vw + 0px)}}.airline-menu__navigation-button-start-img.svelte-zgewb7.svelte-zgewb7{z-index:1;position:absolute;top:calc(0.03125 * 100vw + 0px);right:calc(0.0130208333 * 100vw + 0px);width:calc(0.096875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-button-start-img.svelte-zgewb7.svelte-zgewb7{top:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-button-start-img.svelte-zgewb7.svelte-zgewb7{top:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-button-start-img.svelte-zgewb7.svelte-zgewb7{top:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-button-start-img.svelte-zgewb7.svelte-zgewb7{top:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-button-start-img.svelte-zgewb7.svelte-zgewb7{top:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-button-start-img.svelte-zgewb7.svelte-zgewb7{top:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-button-start-img.svelte-zgewb7.svelte-zgewb7{top:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-button-start-img.svelte-zgewb7.svelte-zgewb7{right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-button-start-img.svelte-zgewb7.svelte-zgewb7{right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-button-start-img.svelte-zgewb7.svelte-zgewb7{right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-button-start-img.svelte-zgewb7.svelte-zgewb7{right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-button-start-img.svelte-zgewb7.svelte-zgewb7{right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-button-start-img.svelte-zgewb7.svelte-zgewb7{right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-button-start-img.svelte-zgewb7.svelte-zgewb7{right:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-menu__navigation-button-start-img.svelte-zgewb7.svelte-zgewb7{width:calc(0.096875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-menu__navigation-button-start-img.svelte-zgewb7.svelte-zgewb7{width:calc(0.096875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-menu__navigation-button-start-img.svelte-zgewb7.svelte-zgewb7{width:calc(0.07459375 * 100vw + 0px)}}@media(min-width: 3440px){.airline-menu__navigation-button-start-img.svelte-zgewb7.svelte-zgewb7{width:calc(0.1065625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-menu__navigation-button-start-img.svelte-zgewb7.svelte-zgewb7{width:calc(0.0678125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-menu__navigation-button-start-img.svelte-zgewb7.svelte-zgewb7{width:calc(0.0871875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-menu__navigation-button-start-img.svelte-zgewb7.svelte-zgewb7{width:calc(0.1065625 * 100vw + 0px)}}");
}

function airline_menu_index_svelte_create_fragment(ctx) {
	let div10;
	let exitbutton;
	let t0;
	let img0;
	let img0_src_value;
	let t1;
	let img1;
	let img1_src_value;
	let t2;
	let img2;
	let img2_src_value;
	let t3;
	let img3;
	let img3_src_value;
	let t4;
	let div9;
	let img4;
	let img4_src_value;
	let t5;
	let img5;
	let img5_src_value;
	let t6;
	let div1;
	let p0;
	let t7_value = /*playerInformation*/ ctx[0].name + "";
	let t7;
	let t8;
	let div0;
	let img6;
	let img6_src_value;
	let t9;
	let p1;
	let t10_value = /*playerInformation*/ ctx[0].pilotLevel + "";
	let t10;
	let t11;
	let p2;
	let t14;
	let div8;
	let div3;
	let div2;
	let p3;
	let t16;
	let img7;
	let img7_src_value;
	let t17;
	let div5;
	let div4;
	let p4;
	let t19;
	let img8;
	let img8_src_value;
	let t20;
	let div7;
	let div6;
	let p5;
	let t22;
	let img9;
	let img9_src_value;
	let current;
	let mounted;
	let dispose;

	exitbutton = new exit_button_index_svelte({
			props: {
				title: true,
				onClick: /*handleClose*/ ctx[1],
				fixedPosition: true
			}
		});

	return {
		c() {
			div10 = internal_element("div");
			create_component(exitbutton.$$.fragment);
			t0 = space();
			img0 = internal_element("img");
			t1 = space();
			img1 = internal_element("img");
			t2 = space();
			img2 = internal_element("img");
			t3 = space();
			img3 = internal_element("img");
			t4 = space();
			div9 = internal_element("div");
			img4 = internal_element("img");
			t5 = space();
			img5 = internal_element("img");
			t6 = space();
			div1 = internal_element("div");
			p0 = internal_element("p");
			t7 = internal_text(t7_value);
			t8 = space();
			div0 = internal_element("div");
			img6 = internal_element("img");
			t9 = space();
			p1 = internal_element("p");
			t10 = internal_text(t10_value);
			t11 = space();
			p2 = internal_element("p");

			p2.innerHTML = `уровень
                    <span class="airline-menu__navigation-stats-lvl-title-darker svelte-zgewb7">пилота</span>`;

			t14 = space();
			div8 = internal_element("div");
			div3 = internal_element("div");
			div2 = internal_element("div");
			p3 = internal_element("p");
			p3.textContent = "Приобрести макс. навык";
			t16 = space();
			img7 = internal_element("img");
			t17 = space();
			div5 = internal_element("div");
			div4 = internal_element("div");
			p4 = internal_element("p");
			p4.textContent = "Рейтинги";
			t19 = space();
			img8 = internal_element("img");
			t20 = space();
			div7 = internal_element("div");
			div6 = internal_element("div");
			p5 = internal_element("p");
			p5.textContent = "Начать работу";
			t22 = space();
			img9 = internal_element("img");
			attr(img0, "class", "airline-menu__logo-img svelte-zgewb7");
			if (!src_url_equal(img0.src, img0_src_value = airline_logo_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "logo-img");
			attr(img1, "class", "airline-menu__pilot-img svelte-zgewb7");
			if (!src_url_equal(img1.src, img1_src_value = airline_pilot_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "pilot-img");
			attr(img2, "class", "airline-menu__lights-background-img svelte-zgewb7");
			if (!src_url_equal(img2.src, img2_src_value = airline_lights_background_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "lights-img");
			attr(img3, "class", "airline-menu__lights-img svelte-zgewb7");
			if (!src_url_equal(img3.src, img3_src_value = airline_lights_namespaceObject)) attr(img3, "src", img3_src_value);
			attr(img3, "alt", "lights-img");
			attr(img4, "class", "airline-menu__navigation-left-line-img svelte-zgewb7");
			if (!src_url_equal(img4.src, img4_src_value = airline_left_line_namespaceObject)) attr(img4, "src", img4_src_value);
			attr(img4, "alt", "left-line-img");
			attr(img5, "class", "airline-menu__navigation-top-line-img svelte-zgewb7");
			if (!src_url_equal(img5.src, img5_src_value = airline_top_line_namespaceObject)) attr(img5, "src", img5_src_value);
			attr(img5, "alt", "top-line-img");
			attr(p0, "class", "airline-menu__navigation-stats-name svelte-zgewb7");
			attr(img6, "class", "airline-menu__navigation-stats-lvl-img svelte-zgewb7");
			if (!src_url_equal(img6.src, img6_src_value = airline_lvl_namespaceObject)) attr(img6, "src", img6_src_value);
			attr(img6, "alt", "lvl-img");
			attr(p1, "class", "airline-menu__navigation-stats-lvl-value svelte-zgewb7");
			attr(p2, "class", "airline-menu__navigation-stats-lvl-title svelte-zgewb7");
			attr(div0, "class", "airline-menu__navigation-stats-lvl svelte-zgewb7");
			attr(div1, "class", "airline-menu__navigation-stats svelte-zgewb7");
			attr(p3, "class", "airline-menu__navigation-button-title svelte-zgewb7");
			attr(img7, "class", "airline-menu__navigation-button-buy-img svelte-zgewb7");
			if (!src_url_equal(img7.src, img7_src_value = airline_menu_buy_skill_namespaceObject)) attr(img7, "src", img7_src_value);
			attr(img7, "alt", "button-img");
			attr(div2, "class", "airline-menu__navigation-button svelte-zgewb7");
			attr(div3, "class", "airline-menu__navigation-button-wrapper svelte-zgewb7");
			attr(p4, "class", "airline-menu__navigation-button-title svelte-zgewb7");
			attr(img8, "class", "airline-menu__navigation-button-rating-img svelte-zgewb7");
			if (!src_url_equal(img8.src, img8_src_value = airline_menu_rating_namespaceObject)) attr(img8, "src", img8_src_value);
			attr(img8, "alt", "button-img");
			attr(div4, "class", "airline-menu__navigation-button svelte-zgewb7");
			attr(div5, "class", "airline-menu__navigation-button-wrapper svelte-zgewb7");
			attr(p5, "class", "airline-menu__navigation-button-title svelte-zgewb7");
			attr(img9, "class", "airline-menu__navigation-button-start-img svelte-zgewb7");
			if (!src_url_equal(img9.src, img9_src_value = airline_menu_start_job_namespaceObject)) attr(img9, "src", img9_src_value);
			attr(img9, "alt", "button-img");
			attr(div6, "class", "airline-menu__navigation-button svelte-zgewb7");
			attr(div7, "class", "airline-menu__navigation-button-wrapper svelte-zgewb7");
			attr(div8, "class", "airline-menu__navigation-buttons svelte-zgewb7");
			attr(div9, "class", "airline-menu__navigation svelte-zgewb7");
			attr(div10, "class", "airline-menu svelte-zgewb7");
		},
		m(target, anchor) {
			insert(target, div10, anchor);
			mount_component(exitbutton, div10, null);
			append(div10, t0);
			append(div10, img0);
			append(div10, t1);
			append(div10, img1);
			append(div10, t2);
			append(div10, img2);
			append(div10, t3);
			append(div10, img3);
			append(div10, t4);
			append(div10, div9);
			append(div9, img4);
			append(div9, t5);
			append(div9, img5);
			append(div9, t6);
			append(div9, div1);
			append(div1, p0);
			append(p0, t7);
			append(div1, t8);
			append(div1, div0);
			append(div0, img6);
			append(div0, t9);
			append(div0, p1);
			append(p1, t10);
			append(div0, t11);
			append(div0, p2);
			append(div9, t14);
			append(div9, div8);
			append(div8, div3);
			append(div3, div2);
			append(div2, p3);
			append(div2, t16);
			append(div2, img7);
			append(div8, t17);
			append(div8, div5);
			append(div5, div4);
			append(div4, p4);
			append(div4, t19);
			append(div4, img8);
			append(div8, t20);
			append(div8, div7);
			append(div7, div6);
			append(div6, p5);
			append(div6, t22);
			append(div6, img9);
			current = true;

			if (!mounted) {
				dispose = [
					listen(div2, "click", /*buyMaxSkill*/ ctx[2]),
					listen(div4, "click", /*onRating*/ ctx[3]),
					listen(div6, "click", /*startJob*/ ctx[4])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if ((!current || dirty & /*playerInformation*/ 1) && t7_value !== (t7_value = /*playerInformation*/ ctx[0].name + "")) set_data(t7, t7_value);
			if ((!current || dirty & /*playerInformation*/ 1) && t10_value !== (t10_value = /*playerInformation*/ ctx[0].pilotLevel + "")) set_data(t10, t10_value);
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div10);
			destroy_component(exitbutton);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function airline_menu_index_svelte_instance($$self, $$props, $$invalidate) {
	let playerInformation = {};

	const initializePlayerInformation = playerInformationDto => {
		$$invalidate(0, playerInformation = playerInformationDto);
	};

	const handleClose = () => {
		sendClientMessage('airline.menu.exit');
	};

	const buyMaxSkill = () => {
		sendClientMessage('airline.menu.buyMaxSkill');
	};

	const onRating = () => {
		sendClientMessage('airline.menu.onRating');
	};

	const startJob = () => {
		sendClientMessage('airline.menu.startJob');
	};

	const unregisterPlayerInformationEvent = registerEvent('event.airline.menu.playerInformation', initializePlayerInformation);

	onDestroy(() => {
		unregisterPlayerInformationEvent();
	});

	return [playerInformation, handleClose, buyMaxSkill, onRating, startJob];
}

class airline_menu_index_svelte_Menu extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, airline_menu_index_svelte_instance, airline_menu_index_svelte_create_fragment, safe_not_equal, {}, airline_menu_index_svelte_add_css);
	}
}

/* harmony default export */ const airline_menu_index_svelte = (airline_menu_index_svelte_Menu);
;// CONCATENATED MODULE: ./src/views/airline/quests/img/airline-quests-line.svg
const airline_quests_line_namespaceObject = __webpack_require__.p + "assets/16e70e582af8676ac32e.svg";
;// CONCATENATED MODULE: ./src/views/airline/quests/img/airline-quests-money.svg
const airline_quests_money_namespaceObject = __webpack_require__.p + "assets/9e5cdda202305603e55b.svg";
;// CONCATENATED MODULE: ./src/views/airline/quests/img/airline-quests-exp.svg
const airline_quests_exp_namespaceObject = __webpack_require__.p + "assets/ff87e1d858e904c0667f.svg";
;// CONCATENATED MODULE: ./src/views/airline/quests/components/item-img/index.svelte
/* src\views\airline\quests\components\item-img\index.svelte generated by Svelte v3.49.0 */


function item_img_index_svelte_add_css(target) {
	append_styles(target, "svelte-1al303v", "@keyframes svelte-1al303v-blinking{50%{opacity:0}}@keyframes svelte-1al303v-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1al303v-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1al303v-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1al303v-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1al303v-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1al303v-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1al303v-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1al303v-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1al303v-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1al303v-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1al303v-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1al303v-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1al303v-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1al303v-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.item-img.svelte-1al303v{display:flex;align-items:center;justify-content:center;width:calc(0.0916666667 * 100vw + 0px);height:calc(0.1442708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.item-img.svelte-1al303v{width:calc(0.0916666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.item-img.svelte-1al303v{width:calc(0.0916666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.item-img.svelte-1al303v{width:calc(0.0705833333 * 100vw + 0px)}}@media(min-width: 3440px){.item-img.svelte-1al303v{width:calc(0.1008333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.item-img.svelte-1al303v{width:calc(0.0641666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.item-img.svelte-1al303v{width:calc(0.0825 * 100vw + 0px)}}@media(min-width: 4096px){.item-img.svelte-1al303v{width:calc(0.1008333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.item-img.svelte-1al303v{height:calc(0.1442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.item-img.svelte-1al303v{height:calc(0.1442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.item-img.svelte-1al303v{height:calc(0.1110885417 * 100vw + 0px)}}@media(min-width: 3440px){.item-img.svelte-1al303v{height:calc(0.1586979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.item-img.svelte-1al303v{height:calc(0.1009895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.item-img.svelte-1al303v{height:calc(0.12984375 * 100vw + 0px)}}@media(min-width: 4096px){.item-img.svelte-1al303v{height:calc(0.1586979167 * 100vw + 0px)}}.item-img__logo-wrapper.svelte-1al303v{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.item-img__logo.svelte-1al303v{position:absolute;transition:color 0.2s linear;font-size:60px}.item-img__circle.svelte-1al303v{transform:rotate(138deg);transform-origin:50% 50%;transform-box:fill-box;stroke-width:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.item-img__circle.svelte-1al303v{stroke-width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.item-img__circle.svelte-1al303v{stroke-width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.item-img__circle.svelte-1al303v{stroke-width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.item-img__circle.svelte-1al303v{stroke-width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.item-img__circle.svelte-1al303v{stroke-width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.item-img__circle.svelte-1al303v{stroke-width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.item-img__circle.svelte-1al303v{stroke-width:calc(0.0022916667 * 100vw + 0px)}}");
}

function item_img_index_svelte_create_fragment(ctx) {
	let div1;
	let svg;
	let rect;
	let circle0;
	let circle1;
	let circle1_style_value;
	let foreignObject;
	let div0;
	let span;
	let span_class_value;

	return {
		c() {
			div1 = internal_element("div");
			svg = svg_element("svg");
			rect = svg_element("rect");
			circle0 = svg_element("circle");
			circle1 = svg_element("circle");
			foreignObject = svg_element("foreignObject");
			div0 = internal_element("div");
			span = internal_element("span");
			attr(rect, "stroke", "none");
			attr(rect, "x", "88");
			attr(rect, "y", "158");
			attr(rect, "width", "4");
			attr(rect, "height", "119");
			attr(circle0, "stroke", "none");
			attr(circle0, "cx", "88");
			attr(circle0, "cy", "88");
			attr(circle0, "r", "70");
			attr(circle1, "class", "item-img__circle svelte-1al303v");
			attr(circle1, "cx", "88");
			attr(circle1, "cy", "88");
			attr(circle1, "r", "85");
			attr(circle1, "fill", "none");
			attr(circle1, "stroke-linecap", "round");
			attr(circle1, "style", circle1_style_value = 'stroke-dashoffset: 1410; stroke-dasharray: 600;');
			attr(span, "class", span_class_value = "item-img__logo " + /*quest*/ ctx[0].icon + " svelte-1al303v");
			attr(div0, "class", "item-img__logo-wrapper svelte-1al303v");
			attr(foreignObject, "x", "55");
			attr(foreignObject, "y", "55");
			attr(foreignObject, "height", "70");
			attr(foreignObject, "width", "70");
			attr(svg, "width", "176");
			attr(svg, "height", "277");
			attr(svg, "viewBox", "0 0 176 277");
			attr(svg, "xmlns", "http://www.w3.org/2000/svg");
			attr(div1, "class", "item-img svelte-1al303v");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, svg);
			append(svg, rect);
			append(svg, circle0);
			append(svg, circle1);
			append(svg, foreignObject);
			append(foreignObject, div0);
			append(div0, span);
		},
		p(ctx, [dirty]) {
			if (dirty & /*quest*/ 1 && span_class_value !== (span_class_value = "item-img__logo " + /*quest*/ ctx[0].icon + " svelte-1al303v")) {
				attr(span, "class", span_class_value);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

function item_img_index_svelte_instance($$self, $$props, $$invalidate) {
	let { quest } = $$props;

	$$self.$$set = $$props => {
		if ('quest' in $$props) $$invalidate(0, quest = $$props.quest);
	};

	return [quest];
}

class Item_img extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, item_img_index_svelte_instance, item_img_index_svelte_create_fragment, safe_not_equal, { quest: 0 }, item_img_index_svelte_add_css);
	}
}

/* harmony default export */ const item_img_index_svelte = (Item_img);
;// CONCATENATED MODULE: ./src/views/airline/quests/index.svelte
/* src\views\airline\quests\index.svelte generated by Svelte v3.49.0 */














function airline_quests_index_svelte_add_css(target) {
	append_styles(target, "svelte-8rzd59", "@keyframes svelte-8rzd59-blinking{50%{opacity:0}}@keyframes svelte-8rzd59-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-8rzd59-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-8rzd59-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-8rzd59-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-8rzd59-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-8rzd59-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-8rzd59-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-8rzd59-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-8rzd59-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-8rzd59-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-8rzd59-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-8rzd59-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-8rzd59-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-8rzd59-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.airline-quests.svelte-8rzd59.svelte-8rzd59{display:flex;align-items:center;flex-direction:column;width:100vw;height:100vh;background:radial-gradient(50% 50% at 50% 50%, rgba(32, 39, 49, 0) 0%, rgba(32, 39, 49, 0.95) 100%), rgba(32, 39, 49, 0.9)}.airline-quests__exit-wrapper.svelte-8rzd59.svelte-8rzd59{position:absolute;top:calc(0.0328125 * 100vw + 0px);right:calc(0.03125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__exit-wrapper.svelte-8rzd59.svelte-8rzd59{top:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__exit-wrapper.svelte-8rzd59.svelte-8rzd59{top:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__exit-wrapper.svelte-8rzd59.svelte-8rzd59{top:calc(0.025265625 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__exit-wrapper.svelte-8rzd59.svelte-8rzd59{top:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__exit-wrapper.svelte-8rzd59.svelte-8rzd59{top:calc(0.02296875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__exit-wrapper.svelte-8rzd59.svelte-8rzd59{top:calc(0.02953125 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__exit-wrapper.svelte-8rzd59.svelte-8rzd59{top:calc(0.03609375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__exit-wrapper.svelte-8rzd59.svelte-8rzd59{right:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__exit-wrapper.svelte-8rzd59.svelte-8rzd59{right:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__exit-wrapper.svelte-8rzd59.svelte-8rzd59{right:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__exit-wrapper.svelte-8rzd59.svelte-8rzd59{right:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__exit-wrapper.svelte-8rzd59.svelte-8rzd59{right:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__exit-wrapper.svelte-8rzd59.svelte-8rzd59{right:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__exit-wrapper.svelte-8rzd59.svelte-8rzd59{right:calc(0.034375 * 100vw + 0px)}}.airline-quests__info.svelte-8rzd59.svelte-8rzd59{display:flex;margin-top:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__info.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__info.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__info.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__info.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__info.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__info.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__info.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0286458333 * 100vw + 0px)}}.airline-quests__info-logo.svelte-8rzd59.svelte-8rzd59{display:flex;align-items:center;gap:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__info-logo.svelte-8rzd59.svelte-8rzd59{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__info-logo.svelte-8rzd59.svelte-8rzd59{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__info-logo.svelte-8rzd59.svelte-8rzd59{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__info-logo.svelte-8rzd59.svelte-8rzd59{gap:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__info-logo.svelte-8rzd59.svelte-8rzd59{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__info-logo.svelte-8rzd59.svelte-8rzd59{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__info-logo.svelte-8rzd59.svelte-8rzd59{gap:calc(0.0114583333 * 100vw + 0px)}}.airline-quests__info-logo-title.svelte-8rzd59.svelte-8rzd59{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__info-logo-title.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__info-logo-title.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__info-logo-title.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__info-logo-title.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__info-logo-title.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__info-logo-title.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__info-logo-title.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.01375 * 100vw + 0px)}}.airline-quests__info-logo-img.svelte-8rzd59.svelte-8rzd59{height:calc(0.0333333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__info-logo-img.svelte-8rzd59.svelte-8rzd59{height:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__info-logo-img.svelte-8rzd59.svelte-8rzd59{height:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__info-logo-img.svelte-8rzd59.svelte-8rzd59{height:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__info-logo-img.svelte-8rzd59.svelte-8rzd59{height:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__info-logo-img.svelte-8rzd59.svelte-8rzd59{height:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__info-logo-img.svelte-8rzd59.svelte-8rzd59{height:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__info-logo-img.svelte-8rzd59.svelte-8rzd59{height:calc(0.0366666667 * 100vw + 0px)}}.airline-quests__info-stats.svelte-8rzd59.svelte-8rzd59{position:absolute;display:flex;align-items:center;top:calc(0.0317708333 * 100vw + 0px);right:calc(0.0786458333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__info-stats.svelte-8rzd59.svelte-8rzd59{top:calc(0.0317708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__info-stats.svelte-8rzd59.svelte-8rzd59{top:calc(0.0317708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__info-stats.svelte-8rzd59.svelte-8rzd59{top:calc(0.0244635417 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__info-stats.svelte-8rzd59.svelte-8rzd59{top:calc(0.0349479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__info-stats.svelte-8rzd59.svelte-8rzd59{top:calc(0.0222395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__info-stats.svelte-8rzd59.svelte-8rzd59{top:calc(0.02859375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__info-stats.svelte-8rzd59.svelte-8rzd59{top:calc(0.0349479167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__info-stats.svelte-8rzd59.svelte-8rzd59{right:calc(0.0786458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__info-stats.svelte-8rzd59.svelte-8rzd59{right:calc(0.0786458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__info-stats.svelte-8rzd59.svelte-8rzd59{right:calc(0.0605572917 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__info-stats.svelte-8rzd59.svelte-8rzd59{right:calc(0.0865104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__info-stats.svelte-8rzd59.svelte-8rzd59{right:calc(0.0550520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__info-stats.svelte-8rzd59.svelte-8rzd59{right:calc(0.07078125 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__info-stats.svelte-8rzd59.svelte-8rzd59{right:calc(0.0865104167 * 100vw + 0px)}}.airline-quests__info-stats-img.svelte-8rzd59.svelte-8rzd59{height:calc(0.0140625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__info-stats-img.svelte-8rzd59.svelte-8rzd59{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__info-stats-img.svelte-8rzd59.svelte-8rzd59{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__info-stats-img.svelte-8rzd59.svelte-8rzd59{height:calc(0.010828125 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__info-stats-img.svelte-8rzd59.svelte-8rzd59{height:calc(0.01546875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__info-stats-img.svelte-8rzd59.svelte-8rzd59{height:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__info-stats-img.svelte-8rzd59.svelte-8rzd59{height:calc(0.01265625 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__info-stats-img.svelte-8rzd59.svelte-8rzd59{height:calc(0.01546875 * 100vw + 0px)}}.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{display:flex;align-items:center;justify-content:center;font-family:\"GothamPro\";color:#FFFFFF;background-color:rgba(0, 0, 0, 0.3);font-size:calc(0.0104166667 * 100vw + 0px);border-radius:calc(0.0166666667 * 100vw + 0px);margin-left:calc(0.0104166667 * 100vw + 0px);margin-right:calc(0.0046875 * 100vw + 0px);width:calc(0.0359375 * 100vw + 0px);height:calc(0.021875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{border-radius:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{border-radius:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{border-radius:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{border-radius:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{border-radius:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{border-radius:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{border-radius:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{margin-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{margin-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{margin-right:calc(0.003609375 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{margin-right:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{margin-right:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{margin-right:calc(0.00421875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{margin-right:calc(0.00515625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{width:calc(0.0359375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{width:calc(0.0359375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{width:calc(0.027671875 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{width:calc(0.03953125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{width:calc(0.02515625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{width:calc(0.03234375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{width:calc(0.03953125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{height:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{height:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{height:calc(0.01684375 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{height:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{height:calc(0.0153125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{height:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__info-stats-value.svelte-8rzd59.svelte-8rzd59{height:calc(0.0240625 * 100vw + 0px)}}.airline-quests__info-stats-title.svelte-8rzd59.svelte-8rzd59{font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__info-stats-title.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__info-stats-title.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__info-stats-title.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__info-stats-title.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__info-stats-title.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__info-stats-title.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__info-stats-title.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.0103125 * 100vw + 0px)}}.airline-quests__info-stats-title-darker.svelte-8rzd59.svelte-8rzd59{color:rgba(255, 255, 255, 0.5);margin-left:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__info-stats-title-darker.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__info-stats-title-darker.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__info-stats-title-darker.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__info-stats-title-darker.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__info-stats-title-darker.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__info-stats-title-darker.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__info-stats-title-darker.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0057291667 * 100vw + 0px)}}.airline-quests__line-img.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0119791667 * 100vw + 0px);width:calc(0.940625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__line-img.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__line-img.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__line-img.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0092239583 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__line-img.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0131770833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__line-img.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0083854167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__line-img.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.01078125 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__line-img.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0131770833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__line-img.svelte-8rzd59.svelte-8rzd59{width:calc(0.940625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__line-img.svelte-8rzd59.svelte-8rzd59{width:calc(0.940625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__line-img.svelte-8rzd59.svelte-8rzd59{width:calc(0.72428125 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__line-img.svelte-8rzd59.svelte-8rzd59{width:calc(1.0346875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__line-img.svelte-8rzd59.svelte-8rzd59{width:calc(0.6584375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__line-img.svelte-8rzd59.svelte-8rzd59{width:calc(0.8465625 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__line-img.svelte-8rzd59.svelte-8rzd59{width:calc(1.0346875 * 100vw + 0px)}}.airline-quests__quests.svelte-8rzd59.svelte-8rzd59{display:flex;justify-content:center;gap:calc(0.0041666667 * 100vw + 0px);margin-top:calc(0.015625 * 100vw + 0px);width:calc(0.940625 * 100vw + 0px);height:calc(0.4411458333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__quests.svelte-8rzd59.svelte-8rzd59{gap:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__quests.svelte-8rzd59.svelte-8rzd59{gap:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__quests.svelte-8rzd59.svelte-8rzd59{gap:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__quests.svelte-8rzd59.svelte-8rzd59{gap:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__quests.svelte-8rzd59.svelte-8rzd59{gap:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__quests.svelte-8rzd59.svelte-8rzd59{gap:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__quests.svelte-8rzd59.svelte-8rzd59{gap:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__quests.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__quests.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__quests.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__quests.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__quests.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__quests.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__quests.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__quests.svelte-8rzd59.svelte-8rzd59{width:calc(0.940625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__quests.svelte-8rzd59.svelte-8rzd59{width:calc(0.940625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__quests.svelte-8rzd59.svelte-8rzd59{width:calc(0.72428125 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__quests.svelte-8rzd59.svelte-8rzd59{width:calc(1.0346875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__quests.svelte-8rzd59.svelte-8rzd59{width:calc(0.6584375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__quests.svelte-8rzd59.svelte-8rzd59{width:calc(0.8465625 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__quests.svelte-8rzd59.svelte-8rzd59{width:calc(1.0346875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__quests.svelte-8rzd59.svelte-8rzd59{height:calc(0.4411458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__quests.svelte-8rzd59.svelte-8rzd59{height:calc(0.4411458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__quests.svelte-8rzd59.svelte-8rzd59{height:calc(0.3396822917 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__quests.svelte-8rzd59.svelte-8rzd59{height:calc(0.4852604167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__quests.svelte-8rzd59.svelte-8rzd59{height:calc(0.3088020833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__quests.svelte-8rzd59.svelte-8rzd59{height:calc(0.39703125 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__quests.svelte-8rzd59.svelte-8rzd59{height:calc(0.4852604167 * 100vw + 0px)}}.airline-quests__quest-item-wrapper.svelte-8rzd59.svelte-8rzd59{border:2px solid transparent;transition:border 0.2s linear;border-radius:calc(0.0072916667 * 100vw + 0px);padding:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__quest-item-wrapper.svelte-8rzd59.svelte-8rzd59{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__quest-item-wrapper.svelte-8rzd59.svelte-8rzd59{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__quest-item-wrapper.svelte-8rzd59.svelte-8rzd59{border-radius:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__quest-item-wrapper.svelte-8rzd59.svelte-8rzd59{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__quest-item-wrapper.svelte-8rzd59.svelte-8rzd59{border-radius:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__quest-item-wrapper.svelte-8rzd59.svelte-8rzd59{border-radius:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__quest-item-wrapper.svelte-8rzd59.svelte-8rzd59{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__quest-item-wrapper.svelte-8rzd59.svelte-8rzd59{padding:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__quest-item-wrapper.svelte-8rzd59.svelte-8rzd59{padding:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__quest-item-wrapper.svelte-8rzd59.svelte-8rzd59{padding:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__quest-item-wrapper.svelte-8rzd59.svelte-8rzd59{padding:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__quest-item-wrapper.svelte-8rzd59.svelte-8rzd59{padding:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__quest-item-wrapper.svelte-8rzd59.svelte-8rzd59{padding:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__quest-item-wrapper.svelte-8rzd59.svelte-8rzd59{padding:calc(0.0022916667 * 100vw + 0px)}}.airline-quests__quest-item-wrapper.svelte-8rzd59.svelte-8rzd59:hover{border-color:#FFFFFF}.airline-quests__quest-item-wrapper.svelte-8rzd59:hover .airline-quests__quest-item.svelte-8rzd59:after{opacity:1}.airline-quests__quest-item-wrapper.svelte-8rzd59:hover .airline-quests__quest-item-img.svelte-8rzd59{fill:#FFDB6C;stroke:#FFDB6C;color:#111111}.airline-quests__quest-item.svelte-8rzd59.svelte-8rzd59{position:relative;display:flex;flex-direction:column;background-color:rgba(0, 0, 0, 0.4);cursor:pointer;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.2270833333 * 100vw + 0px);height:calc(0.434375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__quest-item.svelte-8rzd59.svelte-8rzd59{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__quest-item.svelte-8rzd59.svelte-8rzd59{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__quest-item.svelte-8rzd59.svelte-8rzd59{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__quest-item.svelte-8rzd59.svelte-8rzd59{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__quest-item.svelte-8rzd59.svelte-8rzd59{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__quest-item.svelte-8rzd59.svelte-8rzd59{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__quest-item.svelte-8rzd59.svelte-8rzd59{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__quest-item.svelte-8rzd59.svelte-8rzd59{width:calc(0.2270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__quest-item.svelte-8rzd59.svelte-8rzd59{width:calc(0.2270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__quest-item.svelte-8rzd59.svelte-8rzd59{width:calc(0.1748541667 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__quest-item.svelte-8rzd59.svelte-8rzd59{width:calc(0.2497916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__quest-item.svelte-8rzd59.svelte-8rzd59{width:calc(0.1589583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__quest-item.svelte-8rzd59.svelte-8rzd59{width:calc(0.204375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__quest-item.svelte-8rzd59.svelte-8rzd59{width:calc(0.2497916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__quest-item.svelte-8rzd59.svelte-8rzd59{height:calc(0.434375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__quest-item.svelte-8rzd59.svelte-8rzd59{height:calc(0.434375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__quest-item.svelte-8rzd59.svelte-8rzd59{height:calc(0.33446875 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__quest-item.svelte-8rzd59.svelte-8rzd59{height:calc(0.4778125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__quest-item.svelte-8rzd59.svelte-8rzd59{height:calc(0.3040625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__quest-item.svelte-8rzd59.svelte-8rzd59{height:calc(0.3909375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__quest-item.svelte-8rzd59.svelte-8rzd59{height:calc(0.4778125 * 100vw + 0px)}}.airline-quests__quest-item.svelte-8rzd59.svelte-8rzd59:after{position:absolute;content:\"\";top:0;left:0;width:100%;height:100%;background:linear-gradient(349deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3)), linear-gradient(129deg, #759595 0%, #183737 100%);transition:opacity 0.2s linear;opacity:0;border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__quest-item.svelte-8rzd59.svelte-8rzd59:after{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__quest-item.svelte-8rzd59.svelte-8rzd59:after{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__quest-item.svelte-8rzd59.svelte-8rzd59:after{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__quest-item.svelte-8rzd59.svelte-8rzd59:after{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__quest-item.svelte-8rzd59.svelte-8rzd59:after{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__quest-item.svelte-8rzd59.svelte-8rzd59:after{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__quest-item.svelte-8rzd59.svelte-8rzd59:after{border-radius:calc(0.0057291667 * 100vw + 0px)}}.airline-quests__quest-item-img.svelte-8rzd59.svelte-8rzd59{z-index:1;position:relative;display:flex;justify-content:center;stroke:rgba(0, 0, 0, 0.5);fill:rgba(0, 0, 0, 0.5);color:rgba(255, 255, 255, 0.5);transition:fill 0.2s linear, stroke 0.2s linear;margin-top:calc(0.0729166667 * 100vw + 0px);margin-left:calc(0.0677083333 * 100vw + 0px);width:calc(0.0916666667 * 100vw + 0px);height:calc(0.1442708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__quest-item-img.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__quest-item-img.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__quest-item-img.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0561458333 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__quest-item-img.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__quest-item-img.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0510416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__quest-item-img.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.065625 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__quest-item-img.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0802083333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__quest-item-img.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__quest-item-img.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__quest-item-img.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0521354167 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__quest-item-img.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0744791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__quest-item-img.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0473958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__quest-item-img.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0609375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__quest-item-img.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0744791667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__quest-item-img.svelte-8rzd59.svelte-8rzd59{width:calc(0.0916666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__quest-item-img.svelte-8rzd59.svelte-8rzd59{width:calc(0.0916666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__quest-item-img.svelte-8rzd59.svelte-8rzd59{width:calc(0.0705833333 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__quest-item-img.svelte-8rzd59.svelte-8rzd59{width:calc(0.1008333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__quest-item-img.svelte-8rzd59.svelte-8rzd59{width:calc(0.0641666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__quest-item-img.svelte-8rzd59.svelte-8rzd59{width:calc(0.0825 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__quest-item-img.svelte-8rzd59.svelte-8rzd59{width:calc(0.1008333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__quest-item-img.svelte-8rzd59.svelte-8rzd59{height:calc(0.1442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__quest-item-img.svelte-8rzd59.svelte-8rzd59{height:calc(0.1442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__quest-item-img.svelte-8rzd59.svelte-8rzd59{height:calc(0.1110885417 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__quest-item-img.svelte-8rzd59.svelte-8rzd59{height:calc(0.1586979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__quest-item-img.svelte-8rzd59.svelte-8rzd59{height:calc(0.1009895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__quest-item-img.svelte-8rzd59.svelte-8rzd59{height:calc(0.12984375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__quest-item-img.svelte-8rzd59.svelte-8rzd59{height:calc(0.1586979167 * 100vw + 0px)}}.airline-quests__quest-item-title.svelte-8rzd59.svelte-8rzd59{z-index:1;font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0208333333 * 100vw + 0px);margin-top:calc(0.0833333333 * 100vw + 0px);margin-left:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__quest-item-title.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__quest-item-title.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__quest-item-title.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__quest-item-title.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__quest-item-title.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__quest-item-title.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__quest-item-title.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__quest-item-title.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0833333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__quest-item-title.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0833333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__quest-item-title.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0641666667 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__quest-item-title.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0916666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__quest-item-title.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0583333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__quest-item-title.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.075 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__quest-item-title.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0916666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__quest-item-title.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__quest-item-title.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__quest-item-title.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__quest-item-title.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__quest-item-title.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__quest-item-title.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__quest-item-title.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0171875 * 100vw + 0px)}}.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{z-index:1;display:flex;align-items:center;justify-content:center;font-family:\"GothamPro\";color:#FFFFFF;background-color:rgba(255, 255, 255, 0.1);font-size:calc(0.009375 * 100vw + 0px);border-radius:calc(0.0020833333 * 100vw + 0px);margin-top:calc(0.015625 * 100vw + 0px);margin-left:calc(0.015625 * 100vw + 0px);width:calc(0.0666666667 * 100vw + 0px);height:calc(0.0171875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{border-radius:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{border-radius:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{border-radius:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{border-radius:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{border-radius:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{width:calc(0.0666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{width:calc(0.0666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{width:calc(0.0513333333 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{width:calc(0.0733333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{width:calc(0.0466666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{width:calc(0.06 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{width:calc(0.0733333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{height:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{height:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{height:calc(0.013234375 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{height:calc(0.01890625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{height:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{height:calc(0.01546875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__quest-item-lvl.svelte-8rzd59.svelte-8rzd59{height:calc(0.01890625 * 100vw + 0px)}}.airline-quests__quest-item-reward-wrapper.svelte-8rzd59.svelte-8rzd59{z-index:1;display:flex;gap:calc(0.0135416667 * 100vw + 0px);margin-top:calc(0.0265625 * 100vw + 0px);margin-left:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__quest-item-reward-wrapper.svelte-8rzd59.svelte-8rzd59{gap:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__quest-item-reward-wrapper.svelte-8rzd59.svelte-8rzd59{gap:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__quest-item-reward-wrapper.svelte-8rzd59.svelte-8rzd59{gap:calc(0.0104270833 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__quest-item-reward-wrapper.svelte-8rzd59.svelte-8rzd59{gap:calc(0.0148958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__quest-item-reward-wrapper.svelte-8rzd59.svelte-8rzd59{gap:calc(0.0094791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__quest-item-reward-wrapper.svelte-8rzd59.svelte-8rzd59{gap:calc(0.0121875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__quest-item-reward-wrapper.svelte-8rzd59.svelte-8rzd59{gap:calc(0.0148958333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__quest-item-reward-wrapper.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0265625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__quest-item-reward-wrapper.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.0265625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__quest-item-reward-wrapper.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.020453125 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__quest-item-reward-wrapper.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.02921875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__quest-item-reward-wrapper.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.01859375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__quest-item-reward-wrapper.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.02390625 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__quest-item-reward-wrapper.svelte-8rzd59.svelte-8rzd59{margin-top:calc(0.02921875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__quest-item-reward-wrapper.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__quest-item-reward-wrapper.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__quest-item-reward-wrapper.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__quest-item-reward-wrapper.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__quest-item-reward-wrapper.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__quest-item-reward-wrapper.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__quest-item-reward-wrapper.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0171875 * 100vw + 0px)}}.airline-quests__quest-item-reward.svelte-8rzd59.svelte-8rzd59{display:flex;align-items:center}.airline-quests__quest-item-reward-img.svelte-8rzd59.svelte-8rzd59{height:calc(0.0145833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__quest-item-reward-img.svelte-8rzd59.svelte-8rzd59{height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__quest-item-reward-img.svelte-8rzd59.svelte-8rzd59{height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__quest-item-reward-img.svelte-8rzd59.svelte-8rzd59{height:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__quest-item-reward-img.svelte-8rzd59.svelte-8rzd59{height:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__quest-item-reward-img.svelte-8rzd59.svelte-8rzd59{height:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__quest-item-reward-img.svelte-8rzd59.svelte-8rzd59{height:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__quest-item-reward-img.svelte-8rzd59.svelte-8rzd59{height:calc(0.0160416667 * 100vw + 0px)}}.airline-quests__quest-item-reward-value.svelte-8rzd59.svelte-8rzd59{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0125 * 100vw + 0px);margin-left:calc(0.0057291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__quest-item-reward-value.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__quest-item-reward-value.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__quest-item-reward-value.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__quest-item-reward-value.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__quest-item-reward-value.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__quest-item-reward-value.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__quest-item-reward-value.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__quest-item-reward-value.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__quest-item-reward-value.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__quest-item-reward-value.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0044114583 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__quest-item-reward-value.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0063020833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__quest-item-reward-value.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__quest-item-reward-value.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__quest-item-reward-value.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0063020833 * 100vw + 0px)}}.airline-quests__quest-item-reward-title.svelte-8rzd59.svelte-8rzd59{font-family:\"GothamPro\";color:rgba(255, 255, 255, 0.5);font-size:calc(0.009375 * 100vw + 0px);margin-left:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__quest-item-reward-title.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__quest-item-reward-title.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__quest-item-reward-title.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__quest-item-reward-title.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__quest-item-reward-title.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__quest-item-reward-title.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__quest-item-reward-title.svelte-8rzd59.svelte-8rzd59{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-quests__quest-item-reward-title.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-quests__quest-item-reward-title.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-quests__quest-item-reward-title.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.airline-quests__quest-item-reward-title.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-quests__quest-item-reward-title.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-quests__quest-item-reward-title.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-quests__quest-item-reward-title.svelte-8rzd59.svelte-8rzd59{margin-left:calc(0.0045833333 * 100vw + 0px)}}");
}

function airline_quests_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[9] = list[i];
	return child_ctx;
}

// (2174:8) {#each quests as quest}
function airline_quests_index_svelte_create_each_block(ctx) {
	let div5;
	let div4;
	let div0;
	let itemimg;
	let t0;
	let p0;
	let t1_value = /*quest*/ ctx[9].title + "";
	let t1;
	let t2;
	let p1;
	let t3_value = /*quest*/ ctx[9].level + "";
	let t3;
	let t4;
	let t5;
	let div3;
	let div1;
	let img0;
	let img0_src_value;
	let t6;
	let p2;
	let t7_value = formatMoney(/*quest*/ ctx[9].moneyValue) + "";
	let t7;
	let t8;
	let div2;
	let img1;
	let img1_src_value;
	let t9;
	let p3;
	let t10_value = formatMoney(/*quest*/ ctx[9].expValue) + "";
	let t10;
	let t11;
	let p4;
	let t13;
	let current;
	let mounted;
	let dispose;
	itemimg = new item_img_index_svelte({ props: { quest: /*quest*/ ctx[9] } });

	function click_handler() {
		return /*click_handler*/ ctx[4](/*quest*/ ctx[9]);
	}

	return {
		c() {
			div5 = internal_element("div");
			div4 = internal_element("div");
			div0 = internal_element("div");
			create_component(itemimg.$$.fragment);
			t0 = space();
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			p1 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = internal_text(" уровень");
			t5 = space();
			div3 = internal_element("div");
			div1 = internal_element("div");
			img0 = internal_element("img");
			t6 = space();
			p2 = internal_element("p");
			t7 = internal_text(t7_value);
			t8 = space();
			div2 = internal_element("div");
			img1 = internal_element("img");
			t9 = space();
			p3 = internal_element("p");
			t10 = internal_text(t10_value);
			t11 = space();
			p4 = internal_element("p");
			p4.textContent = "за перевозку";
			t13 = space();
			attr(div0, "class", "airline-quests__quest-item-img svelte-8rzd59");
			attr(p0, "class", "airline-quests__quest-item-title svelte-8rzd59");
			attr(p1, "class", "airline-quests__quest-item-lvl svelte-8rzd59");
			attr(img0, "class", "airline-quests__quest-item-reward-img svelte-8rzd59");
			if (!src_url_equal(img0.src, img0_src_value = airline_quests_money_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "reward-img");
			attr(p2, "class", "airline-quests__quest-item-reward-value svelte-8rzd59");
			attr(div1, "class", "airline-quests__quest-item-reward svelte-8rzd59");
			attr(img1, "class", "airline-quests__quest-item-reward-img svelte-8rzd59");
			if (!src_url_equal(img1.src, img1_src_value = airline_quests_exp_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "reward-img");
			attr(p3, "class", "airline-quests__quest-item-reward-value svelte-8rzd59");
			attr(p4, "class", "airline-quests__quest-item-reward-title svelte-8rzd59");
			attr(div2, "class", "airline-quests__quest-item-reward svelte-8rzd59");
			attr(div3, "class", "airline-quests__quest-item-reward-wrapper svelte-8rzd59");
			attr(div4, "class", "airline-quests__quest-item svelte-8rzd59");
			attr(div5, "class", "airline-quests__quest-item-wrapper svelte-8rzd59");
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			append(div5, div4);
			append(div4, div0);
			mount_component(itemimg, div0, null);
			append(div4, t0);
			append(div4, p0);
			append(p0, t1);
			append(div4, t2);
			append(div4, p1);
			append(p1, t3);
			append(p1, t4);
			append(div4, t5);
			append(div4, div3);
			append(div3, div1);
			append(div1, img0);
			append(div1, t6);
			append(div1, p2);
			append(p2, t7);
			append(div3, t8);
			append(div3, div2);
			append(div2, img1);
			append(div2, t9);
			append(div2, p3);
			append(p3, t10);
			append(div2, t11);
			append(div2, p4);
			append(div5, t13);
			current = true;

			if (!mounted) {
				dispose = listen(div4, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			const itemimg_changes = {};
			if (dirty & /*quests*/ 2) itemimg_changes.quest = /*quest*/ ctx[9];
			itemimg.$set(itemimg_changes);
			if ((!current || dirty & /*quests*/ 2) && t1_value !== (t1_value = /*quest*/ ctx[9].title + "")) set_data(t1, t1_value);
			if ((!current || dirty & /*quests*/ 2) && t3_value !== (t3_value = /*quest*/ ctx[9].level + "")) set_data(t3, t3_value);
			if ((!current || dirty & /*quests*/ 2) && t7_value !== (t7_value = formatMoney(/*quest*/ ctx[9].moneyValue) + "")) set_data(t7, t7_value);
			if ((!current || dirty & /*quests*/ 2) && t10_value !== (t10_value = formatMoney(/*quest*/ ctx[9].expValue) + "")) set_data(t10, t10_value);
		},
		i(local) {
			if (current) return;
			transition_in(itemimg.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(itemimg.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div5);
			destroy_component(itemimg);
			mounted = false;
			dispose();
		}
	};
}

function airline_quests_index_svelte_create_fragment(ctx) {
	let div5;
	let div0;
	let exitbutton;
	let t0;
	let div3;
	let div1;
	let p0;
	let t2;
	let img0;
	let img0_src_value;
	let t3;
	let p1;
	let t5;
	let div2;
	let img1;
	let img1_src_value;
	let t6;
	let p2;
	let t7_value = /*playerInformation*/ ctx[0].pilotLevel + "";
	let t7;
	let t8;
	let p3;
	let t11;
	let img2;
	let img2_src_value;
	let t12;
	let div4;
	let current;

	exitbutton = new exit_button_index_svelte({
			props: {
				title: true,
				onClick: /*handleClose*/ ctx[2]
			}
		});

	let each_value = /*quests*/ ctx[1];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = airline_quests_index_svelte_create_each_block(airline_quests_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			div5 = internal_element("div");
			div0 = internal_element("div");
			create_component(exitbutton.$$.fragment);
			t0 = space();
			div3 = internal_element("div");
			div1 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "северный ветер";
			t2 = space();
			img0 = internal_element("img");
			t3 = space();
			p1 = internal_element("p");
			p1.textContent = "авиакомпания";
			t5 = space();
			div2 = internal_element("div");
			img1 = internal_element("img");
			t6 = space();
			p2 = internal_element("p");
			t7 = internal_text(t7_value);
			t8 = space();
			p3 = internal_element("p");

			p3.innerHTML = `уровень
                <span class="airline-quests__info-stats-title-darker svelte-8rzd59">пилота</span>`;

			t11 = space();
			img2 = internal_element("img");
			t12 = space();
			div4 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div0, "class", "airline-quests__exit-wrapper svelte-8rzd59");
			attr(p0, "class", "airline-quests__info-logo-title svelte-8rzd59");
			attr(img0, "class", "airline-quests__info-logo-img svelte-8rzd59");
			if (!src_url_equal(img0.src, img0_src_value = airline_logo_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "logo-img");
			attr(p1, "class", "airline-quests__info-logo-title svelte-8rzd59");
			attr(div1, "class", "airline-quests__info-logo svelte-8rzd59");
			attr(img1, "class", "airline-quests__info-stats-img svelte-8rzd59");
			if (!src_url_equal(img1.src, img1_src_value = airline_lvl_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "lvl-img");
			attr(p2, "class", "airline-quests__info-stats-value svelte-8rzd59");
			attr(p3, "class", "airline-quests__info-stats-title svelte-8rzd59");
			attr(div2, "class", "airline-quests__info-stats svelte-8rzd59");
			attr(div3, "class", "airline-quests__info svelte-8rzd59");
			attr(img2, "class", "airline-quests__line-img svelte-8rzd59");
			if (!src_url_equal(img2.src, img2_src_value = airline_quests_line_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "line-img");
			attr(div4, "class", "airline-quests__quests svelte-8rzd59");
			attr(div5, "class", "airline-quests svelte-8rzd59");
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			append(div5, div0);
			mount_component(exitbutton, div0, null);
			append(div5, t0);
			append(div5, div3);
			append(div3, div1);
			append(div1, p0);
			append(div1, t2);
			append(div1, img0);
			append(div1, t3);
			append(div1, p1);
			append(div3, t5);
			append(div3, div2);
			append(div2, img1);
			append(div2, t6);
			append(div2, p2);
			append(p2, t7);
			append(div2, t8);
			append(div2, p3);
			append(div5, t11);
			append(div5, img2);
			append(div5, t12);
			append(div5, div4);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div4, null);
			}

			current = true;
		},
		p(ctx, [dirty]) {
			if ((!current || dirty & /*playerInformation*/ 1) && t7_value !== (t7_value = /*playerInformation*/ ctx[0].pilotLevel + "")) set_data(t7, t7_value);

			if (dirty & /*takeQuest, quests, formatMoney, AirLineExpIcon, AirLineMoneyIcon*/ 10) {
				each_value = /*quests*/ ctx[1];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = airline_quests_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = airline_quests_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div4, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div5);
			destroy_component(exitbutton);
			destroy_each(each_blocks, detaching);
		}
	};
}

function airline_quests_index_svelte_instance($$self, $$props, $$invalidate) {
	let playerInformation = {};
	let quests = [];

	const initializePlayerInformation = playerInformationDto => {
		$$invalidate(0, playerInformation = playerInformationDto);
	};

	const initializeQuests = questsDto => {
		$$invalidate(1, quests = questsDto);
	};

	const handleClose = () => {
		sendClientMessage('airline.quests.exit');
	};

	const takeQuest = questId => {
		sendClientMessage('airline.quests.takeQuest', questId);
	};

	const unregisterPlayerInformationEvent = registerEvent('event.airline.quests.playerInformation', initializePlayerInformation);
	const initializeQuestsEvent = registerEvent('event.airline.quests.quests', initializeQuests);

	onDestroy(() => {
		unregisterPlayerInformationEvent();
		initializeQuestsEvent();
	});

	const click_handler = quest => takeQuest(quest.id);
	return [playerInformation, quests, handleClose, takeQuest, click_handler];
}

class airline_quests_index_svelte_Quests extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, airline_quests_index_svelte_instance, airline_quests_index_svelte_create_fragment, safe_not_equal, {}, airline_quests_index_svelte_add_css);
	}
}

/* harmony default export */ const airline_quests_index_svelte = (airline_quests_index_svelte_Quests);
;// CONCATENATED MODULE: ./src/views/airline/rating/img/airline-decorative-place.svg
const airline_decorative_place_namespaceObject = __webpack_require__.p + "assets/dbc46e3f6bedc05f7176.svg";
;// CONCATENATED MODULE: ./src/views/airline/rating/components/shield-icon/index.svelte
/* src\views\airline\rating\components\shield-icon\index.svelte generated by Svelte v3.49.0 */


function rating_components_shield_icon_index_svelte_create_fragment(ctx) {
	let svg;
	let path0;
	let path1;
	let path2;

	return {
		c() {
			svg = svg_element("svg");
			path0 = svg_element("path");
			path1 = svg_element("path");
			path2 = svg_element("path");
			attr(path0, "opacity", "0.5");
			attr(path0, "d", "M6 11.3333V15L14.3333 21L22.5 15V11.3333L14.3333 17L6 11.3333Z");
			attr(path0, "fill", /*color*/ ctx[0]);
			attr(path1, "opacity", "0.5");
			attr(path1, "d", "M8.66675 1.99996L14.3334 6.33329L20.0001 1.99996V6.66663L14.3334 10.6666L8.66675 6.66663V1.99996Z");
			attr(path1, "fill", /*color*/ ctx[0]);
			attr(path2, "fill-rule", "evenodd");
			attr(path2, "clip-rule", "evenodd");
			attr(path2, "d", "M14.3333 26L25.6667 18V4.33333L14.3333 12.3333L3 4.33333V18L14.3333 26ZM14.3333 22.6667L5 16V9L14.3333 15.3333L23.6667 9V16L14.3333 22.6667Z");
			attr(path2, "fill", /*color*/ ctx[0]);
			attr(svg, "width", "28");
			attr(svg, "height", "28");
			attr(svg, "viewBox", "0 0 28 28");
			attr(svg, "fill", "none");
			attr(svg, "xmlns", "http://www.w3.org/2000/svg");
		},
		m(target, anchor) {
			insert(target, svg, anchor);
			append(svg, path0);
			append(svg, path1);
			append(svg, path2);
		},
		p(ctx, [dirty]) {
			if (dirty & /*color*/ 1) {
				attr(path0, "fill", /*color*/ ctx[0]);
			}

			if (dirty & /*color*/ 1) {
				attr(path1, "fill", /*color*/ ctx[0]);
			}

			if (dirty & /*color*/ 1) {
				attr(path2, "fill", /*color*/ ctx[0]);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(svg);
		}
	};
}

function rating_components_shield_icon_index_svelte_instance($$self, $$props, $$invalidate) {
	let { color = '#FFFFFF' } = $$props;

	$$self.$$set = $$props => {
		if ('color' in $$props) $$invalidate(0, color = $$props.color);
	};

	return [color];
}

class rating_components_shield_icon_index_svelte_Shield_icon extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, rating_components_shield_icon_index_svelte_instance, rating_components_shield_icon_index_svelte_create_fragment, safe_not_equal, { color: 0 });
	}
}

/* harmony default export */ const rating_components_shield_icon_index_svelte = (rating_components_shield_icon_index_svelte_Shield_icon);
;// CONCATENATED MODULE: ./src/views/airline/rating/components/button/index.svelte
/* src\views\airline\rating\components\button\index.svelte generated by Svelte v3.49.0 */


function button_index_svelte_create_fragment(ctx) {
	let svg;
	let rect0;
	let rect1;
	let path;

	return {
		c() {
			svg = svg_element("svg");
			rect0 = svg_element("rect");
			rect1 = svg_element("rect");
			path = svg_element("path");
			attr(rect0, "x", "52");
			attr(rect0, "width", "52");
			attr(rect0, "height", "52");
			attr(rect0, "rx", "14.6667");
			attr(rect0, "transform", "rotate(90 52 0)");
			attr(rect1, "x", "6.30753");
			attr(rect1, "y", "6.30777");
			attr(rect1, "width", "39.3846");
			attr(rect1, "height", "39.3846");
			attr(rect1, "rx", "11.0009");
			attr(rect1, "stroke", "white");
			attr(rect1, "stroke-opacity", "0.5");
			attr(rect1, "stroke-width", "3.28205");
			attr(path, "d", "M23.4939 30.8315L23.2562 14.2206H27.5023L27.2645 30.8315H23.4939ZM25.3962 38.1009C24.6262 38.1009 23.9808 37.8291 23.46 37.2856C22.9618 36.7421 22.7126 36.0854 22.7126 35.3154C22.7126 34.5907 22.9618 33.9793 23.46 33.4811C23.9808 32.9602 24.6149 32.6998 25.3622 32.6998C26.1322 32.6998 26.7776 32.9602 27.2985 33.4811C27.8193 33.9793 28.0798 34.5907 28.0798 35.3154C28.0798 36.0627 27.842 36.7195 27.3664 37.2856C26.8909 37.8291 26.2341 38.1009 25.3962 38.1009Z");
			attr(path, "fill", "white");
			attr(svg, "viewBox", "0 0 52 52");
			attr(svg, "xmlns", "http://www.w3.org/2000/svg");
		},
		m(target, anchor) {
			insert(target, svg, anchor);
			append(svg, rect0);
			append(svg, rect1);
			append(svg, path);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(svg);
		}
	};
}

class Button extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, button_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const button_index_svelte = (Button);
;// CONCATENATED MODULE: ./src/views/airline/rating/constants.js
var airline_rating_constants_MAP_POSITION_TO_COLOR = {
  1: '#F2C94C',
  2: '#BCBCBC',
  3: '#DE8239'
};
;// CONCATENATED MODULE: ./src/views/airline/rating/index.svelte
/* src\views\airline\rating\index.svelte generated by Svelte v3.49.0 */


















function airline_rating_index_svelte_add_css(target) {
	append_styles(target, "svelte-1lgmohg", "@keyframes svelte-1lgmohg-blinking{50%{opacity:0}}@keyframes svelte-1lgmohg-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1lgmohg-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1lgmohg-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1lgmohg-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1lgmohg-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1lgmohg-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1lgmohg-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1lgmohg-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1lgmohg-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1lgmohg-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1lgmohg-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1lgmohg-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1lgmohg-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1lgmohg-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.airline-rating.svelte-1lgmohg.svelte-1lgmohg{display:flex;justify-content:center;width:100vw;height:100vh;background:radial-gradient(50% 50% at 50% 50%, rgba(32, 39, 49, 0) 0%, rgba(32, 39, 49, 0.95) 100%), rgba(32, 39, 49, 0.9)}.airline-rating__exit-wrapper.svelte-1lgmohg.svelte-1lgmohg{position:absolute;top:calc(0.0328125 * 100vw + 0px);right:calc(0.03125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__exit-wrapper.svelte-1lgmohg.svelte-1lgmohg{top:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__exit-wrapper.svelte-1lgmohg.svelte-1lgmohg{top:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__exit-wrapper.svelte-1lgmohg.svelte-1lgmohg{top:calc(0.025265625 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__exit-wrapper.svelte-1lgmohg.svelte-1lgmohg{top:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__exit-wrapper.svelte-1lgmohg.svelte-1lgmohg{top:calc(0.02296875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__exit-wrapper.svelte-1lgmohg.svelte-1lgmohg{top:calc(0.02953125 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__exit-wrapper.svelte-1lgmohg.svelte-1lgmohg{top:calc(0.03609375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__exit-wrapper.svelte-1lgmohg.svelte-1lgmohg{right:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__exit-wrapper.svelte-1lgmohg.svelte-1lgmohg{right:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__exit-wrapper.svelte-1lgmohg.svelte-1lgmohg{right:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__exit-wrapper.svelte-1lgmohg.svelte-1lgmohg{right:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__exit-wrapper.svelte-1lgmohg.svelte-1lgmohg{right:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__exit-wrapper.svelte-1lgmohg.svelte-1lgmohg{right:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__exit-wrapper.svelte-1lgmohg.svelte-1lgmohg{right:calc(0.034375 * 100vw + 0px)}}.airline-rating__pilot-img.svelte-1lgmohg.svelte-1lgmohg{z-index:1;position:absolute;left:0;height:100vh;pointer-events:none}.airline-rating__lights-background-img.svelte-1lgmohg.svelte-1lgmohg{position:absolute;opacity:40%;height:100vh;width:100%;pointer-events:none}.airline-rating__lights-img.svelte-1lgmohg.svelte-1lgmohg{position:absolute;height:100vh;width:100%;pointer-events:none}.airline-rating__list-left-line-img.svelte-1lgmohg.svelte-1lgmohg{position:absolute;top:calc(0.0328125 * 100vw + 0px);left:calc(-0.0234375 * 100vw + 0px);width:calc(0.0020833333 * 100vw + 0px);height:calc(0.5015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-left-line-img.svelte-1lgmohg.svelte-1lgmohg{top:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-left-line-img.svelte-1lgmohg.svelte-1lgmohg{top:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-left-line-img.svelte-1lgmohg.svelte-1lgmohg{top:calc(0.025265625 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-left-line-img.svelte-1lgmohg.svelte-1lgmohg{top:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-left-line-img.svelte-1lgmohg.svelte-1lgmohg{top:calc(0.02296875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-left-line-img.svelte-1lgmohg.svelte-1lgmohg{top:calc(0.02953125 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-left-line-img.svelte-1lgmohg.svelte-1lgmohg{top:calc(0.03609375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-left-line-img.svelte-1lgmohg.svelte-1lgmohg{left:calc(-0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-left-line-img.svelte-1lgmohg.svelte-1lgmohg{left:calc(-0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-left-line-img.svelte-1lgmohg.svelte-1lgmohg{left:calc(-0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-left-line-img.svelte-1lgmohg.svelte-1lgmohg{left:calc(-0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-left-line-img.svelte-1lgmohg.svelte-1lgmohg{left:calc(-0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-left-line-img.svelte-1lgmohg.svelte-1lgmohg{left:calc(-0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-left-line-img.svelte-1lgmohg.svelte-1lgmohg{left:calc(-0.02578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-left-line-img.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-left-line-img.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-left-line-img.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-left-line-img.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-left-line-img.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-left-line-img.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-left-line-img.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-left-line-img.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.5015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-left-line-img.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.5015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-left-line-img.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.386203125 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-left-line-img.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.55171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-left-line-img.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.35109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-left-line-img.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.45140625 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-left-line-img.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.55171875 * 100vw + 0px)}}.airline-rating__info.svelte-1lgmohg.svelte-1lgmohg{z-index:2;margin-top:calc(0.0260416667 * 100vw + 0px);height:calc(0.0333333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__info.svelte-1lgmohg.svelte-1lgmohg{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__info.svelte-1lgmohg.svelte-1lgmohg{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__info.svelte-1lgmohg.svelte-1lgmohg{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__info.svelte-1lgmohg.svelte-1lgmohg{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__info.svelte-1lgmohg.svelte-1lgmohg{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__info.svelte-1lgmohg.svelte-1lgmohg{margin-top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__info.svelte-1lgmohg.svelte-1lgmohg{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__info.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__info.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__info.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__info.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__info.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__info.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__info.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.0366666667 * 100vw + 0px)}}.airline-rating__info-logo.svelte-1lgmohg.svelte-1lgmohg{display:flex;align-items:center;gap:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__info-logo.svelte-1lgmohg.svelte-1lgmohg{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__info-logo.svelte-1lgmohg.svelte-1lgmohg{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__info-logo.svelte-1lgmohg.svelte-1lgmohg{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__info-logo.svelte-1lgmohg.svelte-1lgmohg{gap:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__info-logo.svelte-1lgmohg.svelte-1lgmohg{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__info-logo.svelte-1lgmohg.svelte-1lgmohg{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__info-logo.svelte-1lgmohg.svelte-1lgmohg{gap:calc(0.0114583333 * 100vw + 0px)}}.airline-rating__info-logo-title.svelte-1lgmohg.svelte-1lgmohg{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__info-logo-title.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__info-logo-title.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__info-logo-title.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__info-logo-title.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__info-logo-title.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__info-logo-title.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__info-logo-title.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.01375 * 100vw + 0px)}}.airline-rating__info-logo-img.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.0333333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__info-logo-img.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__info-logo-img.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__info-logo-img.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__info-logo-img.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__info-logo-img.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__info-logo-img.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__info-logo-img.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.0366666667 * 100vw + 0px)}}.airline-rating__info-stats.svelte-1lgmohg.svelte-1lgmohg{position:absolute;display:flex;align-items:center;top:calc(0.0317708333 * 100vw + 0px);right:calc(0.0786458333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__info-stats.svelte-1lgmohg.svelte-1lgmohg{top:calc(0.0317708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__info-stats.svelte-1lgmohg.svelte-1lgmohg{top:calc(0.0317708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__info-stats.svelte-1lgmohg.svelte-1lgmohg{top:calc(0.0244635417 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__info-stats.svelte-1lgmohg.svelte-1lgmohg{top:calc(0.0349479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__info-stats.svelte-1lgmohg.svelte-1lgmohg{top:calc(0.0222395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__info-stats.svelte-1lgmohg.svelte-1lgmohg{top:calc(0.02859375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__info-stats.svelte-1lgmohg.svelte-1lgmohg{top:calc(0.0349479167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__info-stats.svelte-1lgmohg.svelte-1lgmohg{right:calc(0.0786458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__info-stats.svelte-1lgmohg.svelte-1lgmohg{right:calc(0.0786458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__info-stats.svelte-1lgmohg.svelte-1lgmohg{right:calc(0.0605572917 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__info-stats.svelte-1lgmohg.svelte-1lgmohg{right:calc(0.0865104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__info-stats.svelte-1lgmohg.svelte-1lgmohg{right:calc(0.0550520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__info-stats.svelte-1lgmohg.svelte-1lgmohg{right:calc(0.07078125 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__info-stats.svelte-1lgmohg.svelte-1lgmohg{right:calc(0.0865104167 * 100vw + 0px)}}.airline-rating__info-stats-img.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.0140625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__info-stats-img.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__info-stats-img.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__info-stats-img.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.010828125 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__info-stats-img.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.01546875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__info-stats-img.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__info-stats-img.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.01265625 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__info-stats-img.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.01546875 * 100vw + 0px)}}.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{display:flex;align-items:center;justify-content:center;font-family:\"GothamPro\";color:#FFFFFF;background-color:rgba(0, 0, 0, 0.3);font-size:calc(0.0104166667 * 100vw + 0px);border-radius:calc(0.0166666667 * 100vw + 0px);margin-left:calc(0.0104166667 * 100vw + 0px);margin-right:calc(0.0046875 * 100vw + 0px);width:calc(0.0359375 * 100vw + 0px);height:calc(0.021875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{border-radius:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{border-radius:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{border-radius:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{border-radius:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{border-radius:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{border-radius:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{border-radius:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{margin-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{margin-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{margin-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{margin-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{margin-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{margin-right:calc(0.003609375 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{margin-right:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{margin-right:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{margin-right:calc(0.00421875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{margin-right:calc(0.00515625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.0359375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.0359375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.027671875 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.03953125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.02515625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.03234375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.03953125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.01684375 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.0153125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__info-stats-value.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.0240625 * 100vw + 0px)}}.airline-rating__info-stats-title.svelte-1lgmohg.svelte-1lgmohg{font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__info-stats-title.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__info-stats-title.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__info-stats-title.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__info-stats-title.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__info-stats-title.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__info-stats-title.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__info-stats-title.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.0103125 * 100vw + 0px)}}.airline-rating__info-stats-title-darker.svelte-1lgmohg.svelte-1lgmohg{color:rgba(255, 255, 255, 0.5);margin-left:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__info-stats-title-darker.svelte-1lgmohg.svelte-1lgmohg{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__info-stats-title-darker.svelte-1lgmohg.svelte-1lgmohg{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__info-stats-title-darker.svelte-1lgmohg.svelte-1lgmohg{margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__info-stats-title-darker.svelte-1lgmohg.svelte-1lgmohg{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__info-stats-title-darker.svelte-1lgmohg.svelte-1lgmohg{margin-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__info-stats-title-darker.svelte-1lgmohg.svelte-1lgmohg{margin-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__info-stats-title-darker.svelte-1lgmohg.svelte-1lgmohg{margin-left:calc(0.0057291667 * 100vw + 0px)}}.airline-rating__list.svelte-1lgmohg.svelte-1lgmohg{z-index:1;position:absolute;top:calc(0.096875 * 100vw + 0px);right:calc(0.084375 * 100vw + 0px);bottom:calc(0.0536458333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list.svelte-1lgmohg.svelte-1lgmohg{top:calc(0.096875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list.svelte-1lgmohg.svelte-1lgmohg{top:calc(0.096875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list.svelte-1lgmohg.svelte-1lgmohg{top:calc(0.07459375 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list.svelte-1lgmohg.svelte-1lgmohg{top:calc(0.1065625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list.svelte-1lgmohg.svelte-1lgmohg{top:calc(0.0678125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list.svelte-1lgmohg.svelte-1lgmohg{top:calc(0.0871875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list.svelte-1lgmohg.svelte-1lgmohg{top:calc(0.1065625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list.svelte-1lgmohg.svelte-1lgmohg{right:calc(0.084375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list.svelte-1lgmohg.svelte-1lgmohg{right:calc(0.084375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list.svelte-1lgmohg.svelte-1lgmohg{right:calc(0.06496875 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list.svelte-1lgmohg.svelte-1lgmohg{right:calc(0.0928125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list.svelte-1lgmohg.svelte-1lgmohg{right:calc(0.0590625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list.svelte-1lgmohg.svelte-1lgmohg{right:calc(0.0759375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list.svelte-1lgmohg.svelte-1lgmohg{right:calc(0.0928125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list.svelte-1lgmohg.svelte-1lgmohg{bottom:calc(0.0536458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list.svelte-1lgmohg.svelte-1lgmohg{bottom:calc(0.0536458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list.svelte-1lgmohg.svelte-1lgmohg{bottom:calc(0.0413072917 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list.svelte-1lgmohg.svelte-1lgmohg{bottom:calc(0.0590104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list.svelte-1lgmohg.svelte-1lgmohg{bottom:calc(0.0375520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list.svelte-1lgmohg.svelte-1lgmohg{bottom:calc(0.04828125 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list.svelte-1lgmohg.svelte-1lgmohg{bottom:calc(0.0590104167 * 100vw + 0px)}}.airline-rating__list-title-wrapper.svelte-1lgmohg.svelte-1lgmohg{display:flex;align-items:center;justify-content:space-between;margin-bottom:calc(0.0151041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-title-wrapper.svelte-1lgmohg.svelte-1lgmohg{margin-bottom:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-title-wrapper.svelte-1lgmohg.svelte-1lgmohg{margin-bottom:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-title-wrapper.svelte-1lgmohg.svelte-1lgmohg{margin-bottom:calc(0.0116302083 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-title-wrapper.svelte-1lgmohg.svelte-1lgmohg{margin-bottom:calc(0.0166145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-title-wrapper.svelte-1lgmohg.svelte-1lgmohg{margin-bottom:calc(0.0105729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-title-wrapper.svelte-1lgmohg.svelte-1lgmohg{margin-bottom:calc(0.01359375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-title-wrapper.svelte-1lgmohg.svelte-1lgmohg{margin-bottom:calc(0.0166145833 * 100vw + 0px)}}.airline-rating__list-title.svelte-1lgmohg.svelte-1lgmohg{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.04375 * 100vw + 0px);letter-spacing:calc(-0.0020833333 * 100vw + 0px);line-height:calc(0.0395833333 * 100vw + 0px);width:calc(0.1973958333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-title.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.04375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-title.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.04375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-title.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.0336875 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-title.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-title.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.030625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-title.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.039375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-title.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.048125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-title.svelte-1lgmohg.svelte-1lgmohg{letter-spacing:calc(-0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-title.svelte-1lgmohg.svelte-1lgmohg{letter-spacing:calc(-0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-title.svelte-1lgmohg.svelte-1lgmohg{letter-spacing:calc(-0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-title.svelte-1lgmohg.svelte-1lgmohg{letter-spacing:calc(-0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-title.svelte-1lgmohg.svelte-1lgmohg{letter-spacing:calc(-0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-title.svelte-1lgmohg.svelte-1lgmohg{letter-spacing:calc(-0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-title.svelte-1lgmohg.svelte-1lgmohg{letter-spacing:calc(-0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-title.svelte-1lgmohg.svelte-1lgmohg{line-height:calc(0.0395833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-title.svelte-1lgmohg.svelte-1lgmohg{line-height:calc(0.0395833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-title.svelte-1lgmohg.svelte-1lgmohg{line-height:calc(0.0304791667 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-title.svelte-1lgmohg.svelte-1lgmohg{line-height:calc(0.0435416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-title.svelte-1lgmohg.svelte-1lgmohg{line-height:calc(0.0277083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-title.svelte-1lgmohg.svelte-1lgmohg{line-height:calc(0.035625 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-title.svelte-1lgmohg.svelte-1lgmohg{line-height:calc(0.0435416667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-title.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.1973958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-title.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.1973958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-title.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.1519947917 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-title.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.2171354167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-title.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.1381770833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-title.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.17765625 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-title.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.2171354167 * 100vw + 0px)}}.airline-rating__list-title-bold.svelte-1lgmohg.svelte-1lgmohg{font-family:\"GothamPro-Bold\"}.airline-rating__list-title-button.svelte-1lgmohg.svelte-1lgmohg{fill:rgba(255, 255, 255, 0.2);transition:fill 0.2s linear;cursor:pointer;width:calc(0.0270833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-title-button.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-title-button.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-title-button.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.0208541667 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-title-button.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.0297916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-title-button.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.0189583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-title-button.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.024375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-title-button.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.0297916667 * 100vw + 0px)}}.airline-rating__list-title-button.svelte-1lgmohg.svelte-1lgmohg:hover{fill:rgba(255, 255, 255, 0.3)}.airline-rating__list-titles.svelte-1lgmohg.svelte-1lgmohg{display:flex;gap:calc(0.0020833333 * 100vw + 0px);margin-bottom:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-titles.svelte-1lgmohg.svelte-1lgmohg{gap:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-titles.svelte-1lgmohg.svelte-1lgmohg{gap:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-titles.svelte-1lgmohg.svelte-1lgmohg{gap:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-titles.svelte-1lgmohg.svelte-1lgmohg{gap:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-titles.svelte-1lgmohg.svelte-1lgmohg{gap:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-titles.svelte-1lgmohg.svelte-1lgmohg{gap:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-titles.svelte-1lgmohg.svelte-1lgmohg{gap:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-titles.svelte-1lgmohg.svelte-1lgmohg{margin-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-titles.svelte-1lgmohg.svelte-1lgmohg{margin-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-titles.svelte-1lgmohg.svelte-1lgmohg{margin-bottom:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-titles.svelte-1lgmohg.svelte-1lgmohg{margin-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-titles.svelte-1lgmohg.svelte-1lgmohg{margin-bottom:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-titles.svelte-1lgmohg.svelte-1lgmohg{margin-bottom:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-titles.svelte-1lgmohg.svelte-1lgmohg{margin-bottom:calc(0.0080208333 * 100vw + 0px)}}.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg{font-family:\"GothamPro\";color:rgba(255, 255, 255, 0.6);font-size:calc(0.0072916667 * 100vw + 0px);width:calc(0.028125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.028125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.028125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.02165625 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.0309375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.0253125 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.0309375 * 100vw + 0px)}}.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg:nth-child(2){width:calc(0.1791666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg:nth-child(2){width:calc(0.1791666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg:nth-child(2){width:calc(0.1791666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg:nth-child(2){width:calc(0.1379583333 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg:nth-child(2){width:calc(0.1970833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg:nth-child(2){width:calc(0.1254166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg:nth-child(2){width:calc(0.16125 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg:nth-child(2){width:calc(0.1970833333 * 100vw + 0px)}}.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg:nth-child(3){width:calc(0.1135416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg:nth-child(3){width:calc(0.1135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg:nth-child(3){width:calc(0.1135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg:nth-child(3){width:calc(0.0874270833 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg:nth-child(3){width:calc(0.1248958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg:nth-child(3){width:calc(0.0794791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg:nth-child(3){width:calc(0.1021875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg:nth-child(3){width:calc(0.1248958333 * 100vw + 0px)}}.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg:nth-child(4){width:calc(0.103125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg:nth-child(4){width:calc(0.103125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg:nth-child(4){width:calc(0.103125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg:nth-child(4){width:calc(0.07940625 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg:nth-child(4){width:calc(0.1134375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg:nth-child(4){width:calc(0.0721875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg:nth-child(4){width:calc(0.0928125 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-title-item.svelte-1lgmohg.svelte-1lgmohg:nth-child(4){width:calc(0.1134375 * 100vw + 0px)}}.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg{display:flex;flex-direction:column;overflow:auto;gap:calc(0.0020833333 * 100vw + 0px);height:calc(0.3020833333 * 100vw + 0px)}.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg{gap:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg{gap:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg{gap:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg{gap:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg{gap:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg{gap:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg{gap:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.3020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.3020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.2326041667 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.3322916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.2114583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.271875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.3322916667 * 100vw + 0px)}}.airline-rating__list-item-wrapper.svelte-1lgmohg.svelte-1lgmohg::-webkit-scrollbar{width:0px}.airline-rating__list-item.svelte-1lgmohg.svelte-1lgmohg{display:flex;cursor:pointer;gap:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-item.svelte-1lgmohg.svelte-1lgmohg{gap:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-item.svelte-1lgmohg.svelte-1lgmohg{gap:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-item.svelte-1lgmohg.svelte-1lgmohg{gap:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-item.svelte-1lgmohg.svelte-1lgmohg{gap:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-item.svelte-1lgmohg.svelte-1lgmohg{gap:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-item.svelte-1lgmohg.svelte-1lgmohg{gap:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-item.svelte-1lgmohg.svelte-1lgmohg{gap:calc(0.0022916667 * 100vw + 0px)}}.airline-rating__list-item--player.svelte-1lgmohg.svelte-1lgmohg{border:2px solid #86CD7F;background:linear-gradient(110.23deg, #759595 0%, #183737 100%);border-radius:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-item--player.svelte-1lgmohg.svelte-1lgmohg{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-item--player.svelte-1lgmohg.svelte-1lgmohg{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-item--player.svelte-1lgmohg.svelte-1lgmohg{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-item--player.svelte-1lgmohg.svelte-1lgmohg{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-item--player.svelte-1lgmohg.svelte-1lgmohg{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-item--player.svelte-1lgmohg.svelte-1lgmohg{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-item--player.svelte-1lgmohg.svelte-1lgmohg{border-radius:calc(0.0045833333 * 100vw + 0px)}}.airline-rating__list-item--player.svelte-1lgmohg .airline-rating__list-item-stats.svelte-1lgmohg{background-color:rgba(69, 107, 66, 0.3)}.airline-rating__list-item.svelte-1lgmohg:hover .airline-rating__list-item-stats.svelte-1lgmohg{background-color:rgba(0, 0, 0, 0.3)}.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg{position:relative;display:flex;align-items:center;background-color:rgba(0, 0, 0, 0.5);transition:background-color 0.2s linear;border-radius:calc(0.0041666667 * 100vw + 0px);width:calc(0.028125 * 100vw + 0px);height:calc(0.028125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.028125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.028125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.02165625 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.0309375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.0253125 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.0309375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.028125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.028125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.02165625 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.0309375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.0253125 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.0309375 * 100vw + 0px)}}.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg:nth-child(1){justify-content:center}.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg:nth-child(2){width:calc(0.1791666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg:nth-child(2){width:calc(0.1791666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg:nth-child(2){width:calc(0.1791666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg:nth-child(2){width:calc(0.1379583333 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg:nth-child(2){width:calc(0.1970833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg:nth-child(2){width:calc(0.1254166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg:nth-child(2){width:calc(0.16125 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg:nth-child(2){width:calc(0.1970833333 * 100vw + 0px)}}.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg:nth-child(3){width:calc(0.1135416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg:nth-child(3){width:calc(0.1135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg:nth-child(3){width:calc(0.1135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg:nth-child(3){width:calc(0.0874270833 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg:nth-child(3){width:calc(0.1248958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg:nth-child(3){width:calc(0.0794791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg:nth-child(3){width:calc(0.1021875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg:nth-child(3){width:calc(0.1248958333 * 100vw + 0px)}}.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg:nth-child(4){width:calc(0.103125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg:nth-child(4){width:calc(0.103125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg:nth-child(4){width:calc(0.103125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg:nth-child(4){width:calc(0.07940625 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg:nth-child(4){width:calc(0.1134375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg:nth-child(4){width:calc(0.0721875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg:nth-child(4){width:calc(0.0928125 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-item-stats.svelte-1lgmohg.svelte-1lgmohg:nth-child(4){width:calc(0.1134375 * 100vw + 0px)}}.airline-rating__list-item-stats-img.svelte-1lgmohg.svelte-1lgmohg{display:flex;width:calc(0.0145833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-item-stats-img.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-item-stats-img.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-item-stats-img.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-item-stats-img.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-item-stats-img.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-item-stats-img.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-item-stats-img.svelte-1lgmohg.svelte-1lgmohg{width:calc(0.0160416667 * 100vw + 0px)}}.airline-rating__list-item-stats-decorative-img.svelte-1lgmohg.svelte-1lgmohg{position:absolute;left:0;height:calc(0.0114583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-item-stats-decorative-img.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-item-stats-decorative-img.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-item-stats-decorative-img.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-item-stats-decorative-img.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-item-stats-decorative-img.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-item-stats-decorative-img.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-item-stats-decorative-img.svelte-1lgmohg.svelte-1lgmohg{height:calc(0.0126041667 * 100vw + 0px)}}.airline-rating__list-item-stats-title.svelte-1lgmohg.svelte-1lgmohg{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0083333333 * 100vw + 0px);margin-left:calc(0.0088541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-item-stats-title.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-item-stats-title.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-item-stats-title.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-item-stats-title.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-item-stats-title.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-item-stats-title.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-item-stats-title.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-item-stats-title.svelte-1lgmohg.svelte-1lgmohg{margin-left:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-item-stats-title.svelte-1lgmohg.svelte-1lgmohg{margin-left:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-item-stats-title.svelte-1lgmohg.svelte-1lgmohg{margin-left:calc(0.0068177083 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-item-stats-title.svelte-1lgmohg.svelte-1lgmohg{margin-left:calc(0.0097395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-item-stats-title.svelte-1lgmohg.svelte-1lgmohg{margin-left:calc(0.0061979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-item-stats-title.svelte-1lgmohg.svelte-1lgmohg{margin-left:calc(0.00796875 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-item-stats-title.svelte-1lgmohg.svelte-1lgmohg{margin-left:calc(0.0097395833 * 100vw + 0px)}}.airline-rating__list-item-stats-img-title.svelte-1lgmohg.svelte-1lgmohg{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.airline-rating__list-item-stats-img-title.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.airline-rating__list-item-stats-img-title.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.airline-rating__list-item-stats-img-title.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.airline-rating__list-item-stats-img-title.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.airline-rating__list-item-stats-img-title.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.airline-rating__list-item-stats-img-title.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.airline-rating__list-item-stats-img-title.svelte-1lgmohg.svelte-1lgmohg{font-size:calc(0.0091666667 * 100vw + 0px)}}");
}

function airline_rating_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[8] = list[i];
	return child_ctx;
}

// (2523:28) {:else}
function airline_rating_index_svelte_create_else_block(ctx) {
	let p;
	let t_value = /*row*/ ctx[8].position + "";
	let t;

	return {
		c() {
			p = internal_element("p");
			t = internal_text(t_value);
			attr(p, "class", "airline-rating__list-item-stats-img-title svelte-1lgmohg");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t);
		},
		p(ctx, dirty) {
			if (dirty & /*rating*/ 2 && t_value !== (t_value = /*row*/ ctx[8].position + "")) set_data(t, t_value);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (2519:28) {#if row.position <= 3}
function rating_index_svelte_create_if_block_1(ctx) {
	let div;
	let shieldicon;
	let current;

	shieldicon = new rating_components_shield_icon_index_svelte({
			props: {
				color: airline_rating_constants_MAP_POSITION_TO_COLOR[/*row*/ ctx[8].position]
			}
		});

	return {
		c() {
			div = internal_element("div");
			create_component(shieldicon.$$.fragment);
			attr(div, "class", "airline-rating__list-item-stats-img svelte-1lgmohg");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(shieldicon, div, null);
			current = true;
		},
		p(ctx, dirty) {
			const shieldicon_changes = {};
			if (dirty & /*rating*/ 2) shieldicon_changes.color = airline_rating_constants_MAP_POSITION_TO_COLOR[/*row*/ ctx[8].position];
			shieldicon.$set(shieldicon_changes);
		},
		i(local) {
			if (current) return;
			transition_in(shieldicon.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(shieldicon.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(shieldicon);
		}
	};
}

// (2528:28) {#if playerInformation.name === row.name}
function airline_rating_index_svelte_create_if_block(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "airline-rating__list-item-stats-decorative-img svelte-1lgmohg");
			if (!src_url_equal(img.src, img_src_value = airline_decorative_place_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "decorative-player");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (2513:16) {#each rating as row}
function airline_rating_index_svelte_create_each_block(ctx) {
	let div4;
	let div0;
	let current_block_type_index;
	let if_block0;
	let t0;
	let t1;
	let div1;
	let p0;
	let t2_value = /*row*/ ctx[8].name + "";
	let t2;
	let t3;
	let div2;
	let p1;
	let t4_value = /*row*/ ctx[8].pilotLevel + "";
	let t4;
	let t5;
	let div3;
	let p2;
	let t6_value = formatMoney(/*row*/ ctx[8].flightsNumber) + "";
	let t6;
	let t7;
	let current;
	const if_block_creators = [rating_index_svelte_create_if_block_1, airline_rating_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (/*row*/ ctx[8].position <= 3) return 0;
		return 1;
	}

	current_block_type_index = select_block_type(ctx, -1);
	if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
	let if_block1 = /*playerInformation*/ ctx[0].name === /*row*/ ctx[8].name && airline_rating_index_svelte_create_if_block(ctx);

	return {
		c() {
			div4 = internal_element("div");
			div0 = internal_element("div");
			if_block0.c();
			t0 = space();
			if (if_block1) if_block1.c();
			t1 = space();
			div1 = internal_element("div");
			p0 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = space();
			div2 = internal_element("div");
			p1 = internal_element("p");
			t4 = internal_text(t4_value);
			t5 = space();
			div3 = internal_element("div");
			p2 = internal_element("p");
			t6 = internal_text(t6_value);
			t7 = space();
			attr(div0, "class", "airline-rating__list-item-stats svelte-1lgmohg");
			attr(p0, "class", "airline-rating__list-item-stats-title svelte-1lgmohg");
			attr(div1, "class", "airline-rating__list-item-stats svelte-1lgmohg");
			attr(p1, "class", "airline-rating__list-item-stats-title svelte-1lgmohg");
			attr(div2, "class", "airline-rating__list-item-stats svelte-1lgmohg");
			attr(p2, "class", "airline-rating__list-item-stats-title svelte-1lgmohg");
			attr(div3, "class", "airline-rating__list-item-stats svelte-1lgmohg");
			attr(div4, "class", "airline-rating__list-item svelte-1lgmohg");
			toggle_class(div4, "airline-rating__list-item--player", /*playerInformation*/ ctx[0].name === /*row*/ ctx[8].name);
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div0);
			if_blocks[current_block_type_index].m(div0, null);
			append(div0, t0);
			if (if_block1) if_block1.m(div0, null);
			append(div4, t1);
			append(div4, div1);
			append(div1, p0);
			append(p0, t2);
			append(div4, t3);
			append(div4, div2);
			append(div2, p1);
			append(p1, t4);
			append(div4, t5);
			append(div4, div3);
			append(div3, p2);
			append(p2, t6);
			append(div4, t7);
			current = true;
		},
		p(ctx, dirty) {
			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block0 = if_blocks[current_block_type_index];

				if (!if_block0) {
					if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block0.c();
				} else {
					if_block0.p(ctx, dirty);
				}

				transition_in(if_block0, 1);
				if_block0.m(div0, t0);
			}

			if (/*playerInformation*/ ctx[0].name === /*row*/ ctx[8].name) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = airline_rating_index_svelte_create_if_block(ctx);
					if_block1.c();
					if_block1.m(div0, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if ((!current || dirty & /*rating*/ 2) && t2_value !== (t2_value = /*row*/ ctx[8].name + "")) set_data(t2, t2_value);
			if ((!current || dirty & /*rating*/ 2) && t4_value !== (t4_value = /*row*/ ctx[8].pilotLevel + "")) set_data(t4, t4_value);
			if ((!current || dirty & /*rating*/ 2) && t6_value !== (t6_value = formatMoney(/*row*/ ctx[8].flightsNumber) + "")) set_data(t6, t6_value);

			if (dirty & /*playerInformation, rating*/ 3) {
				toggle_class(div4, "airline-rating__list-item--player", /*playerInformation*/ ctx[0].name === /*row*/ ctx[8].name);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block0);
			current = true;
		},
		o(local) {
			transition_out(if_block0);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div4);
			if_blocks[current_block_type_index].d();
			if (if_block1) if_block1.d();
		}
	};
}

function airline_rating_index_svelte_create_fragment(ctx) {
	let div9;
	let div0;
	let exitbutton;
	let t0;
	let img0;
	let img0_src_value;
	let t1;
	let img1;
	let img1_src_value;
	let t2;
	let img2;
	let img2_src_value;
	let t3;
	let div3;
	let div1;
	let p0;
	let t5;
	let img3;
	let img3_src_value;
	let t6;
	let p1;
	let t8;
	let div2;
	let img4;
	let img4_src_value;
	let t9;
	let p2;
	let t10_value = /*playerInformation*/ ctx[0].pilotLevel + "";
	let t10;
	let t11;
	let p3;
	let t14;
	let div8;
	let img5;
	let img5_src_value;
	let t15;
	let div5;
	let p4;
	let t18;
	let div4;
	let button;
	let t19;
	let div6;
	let t27;
	let div7;
	let current;
	let mounted;
	let dispose;

	exitbutton = new exit_button_index_svelte({
			props: {
				title: true,
				onClick: /*handleClose*/ ctx[2]
			}
		});

	button = new button_index_svelte({});
	let each_value = /*rating*/ ctx[1];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = airline_rating_index_svelte_create_each_block(airline_rating_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			div9 = internal_element("div");
			div0 = internal_element("div");
			create_component(exitbutton.$$.fragment);
			t0 = space();
			img0 = internal_element("img");
			t1 = space();
			img1 = internal_element("img");
			t2 = space();
			img2 = internal_element("img");
			t3 = space();
			div3 = internal_element("div");
			div1 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "северный ветер";
			t5 = space();
			img3 = internal_element("img");
			t6 = space();
			p1 = internal_element("p");
			p1.textContent = "авиакомпания";
			t8 = space();
			div2 = internal_element("div");
			img4 = internal_element("img");
			t9 = space();
			p2 = internal_element("p");
			t10 = internal_text(t10_value);
			t11 = space();
			p3 = internal_element("p");

			p3.innerHTML = `уровень
                <span class="airline-rating__info-stats-title-darker svelte-1lgmohg">пилота</span>`;

			t14 = space();
			div8 = internal_element("div");
			img5 = internal_element("img");
			t15 = space();
			div5 = internal_element("div");
			p4 = internal_element("p");

			p4.innerHTML = `Рейтинги
                    <span class="airline-rating__list-title-bold svelte-1lgmohg">игроков</span>`;

			t18 = space();
			div4 = internal_element("div");
			create_component(button.$$.fragment);
			t19 = space();
			div6 = internal_element("div");

			div6.innerHTML = `<p class="airline-rating__list-title-item svelte-1lgmohg">№</p> 
                <p class="airline-rating__list-title-item svelte-1lgmohg">Никнейм</p> 
                <p class="airline-rating__list-title-item svelte-1lgmohg">Уровень пилота</p> 
                <p class="airline-rating__list-title-item svelte-1lgmohg">Кол-во рейсов</p>`;

			t27 = space();
			div7 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div0, "class", "airline-rating__exit-wrapper svelte-1lgmohg");
			attr(img0, "class", "airline-rating__pilot-img svelte-1lgmohg");
			if (!src_url_equal(img0.src, img0_src_value = airline_pilot_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "pilot-img");
			attr(img1, "class", "airline-rating__lights-background-img svelte-1lgmohg");
			if (!src_url_equal(img1.src, img1_src_value = airline_lights_background_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "lights-img");
			attr(img2, "class", "airline-rating__lights-img svelte-1lgmohg");
			if (!src_url_equal(img2.src, img2_src_value = airline_lights_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "lights-img");
			attr(p0, "class", "airline-rating__info-logo-title svelte-1lgmohg");
			attr(img3, "class", "airline-rating__info-logo-img svelte-1lgmohg");
			if (!src_url_equal(img3.src, img3_src_value = airline_logo_namespaceObject)) attr(img3, "src", img3_src_value);
			attr(img3, "alt", "logo-img");
			attr(p1, "class", "airline-rating__info-logo-title svelte-1lgmohg");
			attr(div1, "class", "airline-rating__info-logo svelte-1lgmohg");
			attr(img4, "class", "airline-rating__info-stats-img svelte-1lgmohg");
			if (!src_url_equal(img4.src, img4_src_value = airline_lvl_namespaceObject)) attr(img4, "src", img4_src_value);
			attr(img4, "alt", "lvl-img");
			attr(p2, "class", "airline-rating__info-stats-value svelte-1lgmohg");
			attr(p3, "class", "airline-rating__info-stats-title svelte-1lgmohg");
			attr(div2, "class", "airline-rating__info-stats svelte-1lgmohg");
			attr(div3, "class", "airline-rating__info svelte-1lgmohg");
			attr(img5, "class", "airline-rating__list-left-line-img svelte-1lgmohg");
			if (!src_url_equal(img5.src, img5_src_value = airline_left_line_namespaceObject)) attr(img5, "src", img5_src_value);
			attr(img5, "alt", "left-line-img");
			attr(p4, "class", "airline-rating__list-title svelte-1lgmohg");
			attr(div4, "class", "airline-rating__list-title-button svelte-1lgmohg");
			attr(div5, "class", "airline-rating__list-title-wrapper svelte-1lgmohg");
			attr(div6, "class", "airline-rating__list-titles svelte-1lgmohg");
			attr(div7, "class", "airline-rating__list-item-wrapper svelte-1lgmohg");
			attr(div8, "class", "airline-rating__list svelte-1lgmohg");
			attr(div9, "class", "airline-rating svelte-1lgmohg");
		},
		m(target, anchor) {
			insert(target, div9, anchor);
			append(div9, div0);
			mount_component(exitbutton, div0, null);
			append(div9, t0);
			append(div9, img0);
			append(div9, t1);
			append(div9, img1);
			append(div9, t2);
			append(div9, img2);
			append(div9, t3);
			append(div9, div3);
			append(div3, div1);
			append(div1, p0);
			append(div1, t5);
			append(div1, img3);
			append(div1, t6);
			append(div1, p1);
			append(div3, t8);
			append(div3, div2);
			append(div2, img4);
			append(div2, t9);
			append(div2, p2);
			append(p2, t10);
			append(div2, t11);
			append(div2, p3);
			append(div9, t14);
			append(div9, div8);
			append(div8, img5);
			append(div8, t15);
			append(div8, div5);
			append(div5, p4);
			append(div5, t18);
			append(div5, div4);
			mount_component(button, div4, null);
			append(div8, t19);
			append(div8, div6);
			append(div8, t27);
			append(div8, div7);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div7, null);
			}

			current = true;

			if (!mounted) {
				dispose = listen(div4, "click", /*getInfo*/ ctx[3]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if ((!current || dirty & /*playerInformation*/ 1) && t10_value !== (t10_value = /*playerInformation*/ ctx[0].pilotLevel + "")) set_data(t10, t10_value);

			if (dirty & /*playerInformation, rating, formatMoney, AirLineDecorative, MAP_POSITION_TO_COLOR*/ 3) {
				each_value = /*rating*/ ctx[1];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = airline_rating_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = airline_rating_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div7, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			transition_in(button.$$.fragment, local);

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			transition_out(button.$$.fragment, local);
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div9);
			destroy_component(exitbutton);
			destroy_component(button);
			destroy_each(each_blocks, detaching);
			mounted = false;
			dispose();
		}
	};
}

function airline_rating_index_svelte_instance($$self, $$props, $$invalidate) {
	let playerInformation = {};
	let rating = [];

	const initializePlayerInformation = playerInformationDto => {
		$$invalidate(0, playerInformation = playerInformationDto);
	};

	const initializeRating = ratingDto => {
		$$invalidate(1, rating = ratingDto);
	};

	const handleClose = () => {
		sendClientMessage('airline.rating.exit');
	};

	const getInfo = () => {
		sendClientMessage('airline.rating.getInfo');
	};

	const unregisterPlayerInformationEvent = registerEvent('event.airline.rating.playerInformation', initializePlayerInformation);
	const initializeRatingEvent = registerEvent('event.airline.rating.rating', initializeRating);

	onDestroy(() => {
		unregisterPlayerInformationEvent();
		initializeRatingEvent();
	});

	return [playerInformation, rating, handleClose, getInfo];
}

class airline_rating_index_svelte_Rating extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, airline_rating_index_svelte_instance, airline_rating_index_svelte_create_fragment, safe_not_equal, {}, airline_rating_index_svelte_add_css);
	}
}

/* harmony default export */ const airline_rating_index_svelte = (airline_rating_index_svelte_Rating);
;// CONCATENATED MODULE: ./src/views/mail/components/content/img/message-content-none-logo.png
const message_content_none_logo_namespaceObject = __webpack_require__.p + "assets/c5b980071b313396d81e.webp";
;// CONCATENATED MODULE: ./src/views/mail/img/mail-type-system.png
const mail_type_system_namespaceObject = __webpack_require__.p + "assets/2b7ed5154a808a9df21b.webp";
;// CONCATENATED MODULE: ./src/views/mail/constants.js
function mail_constants_typeof(o) { "@babel/helpers - typeof"; return mail_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, mail_constants_typeof(o); }
function mail_constants_defineProperty(e, r, t) { return (r = mail_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function mail_constants_toPropertyKey(t) { var i = mail_constants_toPrimitive(t, "string"); return "symbol" == mail_constants_typeof(i) ? i : i + ""; }
function mail_constants_toPrimitive(t, r) { if ("object" != mail_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != mail_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }

var MessageType = {
  System: 0,
  Auction: 1,
  Rating: 2,
  CrimeProtection: 3
};
var MessageTypeName = mail_constants_defineProperty(mail_constants_defineProperty(mail_constants_defineProperty(mail_constants_defineProperty({}, MessageType.System, 'Системные сообщения'), MessageType.Auction, 'Аукцион'), MessageType.Rating, 'Рейтинг'), MessageType.CrimeProtection, 'Плата за крышу');
var MessageTypeImg = mail_constants_defineProperty(mail_constants_defineProperty(mail_constants_defineProperty(mail_constants_defineProperty({}, MessageType.System, {
  icon: mail_type_system_namespaceObject
}), MessageType.Auction, {
  icon: mail_type_system_namespaceObject
}), MessageType.Rating, {
  icon: mail_type_system_namespaceObject
}), MessageType.CrimeProtection, {
  icon: mail_type_system_namespaceObject
});
;// CONCATENATED MODULE: ./src/views/mail/components/content/index.svelte
/* src\views\mail\components\content\index.svelte generated by Svelte v3.49.0 */








function content_index_svelte_add_css(target) {
	append_styles(target, "svelte-1ak5lgg", "@keyframes svelte-1ak5lgg-blinking{50%{opacity:0}}@keyframes svelte-1ak5lgg-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1ak5lgg-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1ak5lgg-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1ak5lgg-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1ak5lgg-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1ak5lgg-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1ak5lgg-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1ak5lgg-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1ak5lgg-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1ak5lgg-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1ak5lgg-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1ak5lgg-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1ak5lgg-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1ak5lgg-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.mail-content.svelte-1ak5lgg{position:relative;width:calc(0.315625 * 100vw + 0px);height:calc(0.4390625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail-content.svelte-1ak5lgg{width:calc(0.315625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content.svelte-1ak5lgg{width:calc(0.315625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content.svelte-1ak5lgg{width:calc(0.24303125 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content.svelte-1ak5lgg{width:calc(0.3471875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content.svelte-1ak5lgg{width:calc(0.2209375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content.svelte-1ak5lgg{width:calc(0.2840625 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content.svelte-1ak5lgg{width:calc(0.3471875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail-content.svelte-1ak5lgg{height:calc(0.4390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content.svelte-1ak5lgg{height:calc(0.4390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content.svelte-1ak5lgg{height:calc(0.338078125 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content.svelte-1ak5lgg{height:calc(0.48296875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content.svelte-1ak5lgg{height:calc(0.30734375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content.svelte-1ak5lgg{height:calc(0.39515625 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content.svelte-1ak5lgg{height:calc(0.48296875 * 100vw + 0px)}}.mail-content__body.svelte-1ak5lgg{position:relative;display:flex;flex-direction:column}.mail-content__caption-wrapper.svelte-1ak5lgg{width:calc(0.3125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail-content__caption-wrapper.svelte-1ak5lgg{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__caption-wrapper.svelte-1ak5lgg{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__caption-wrapper.svelte-1ak5lgg{width:calc(0.240625 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__caption-wrapper.svelte-1ak5lgg{width:calc(0.34375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__caption-wrapper.svelte-1ak5lgg{width:calc(0.21875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__caption-wrapper.svelte-1ak5lgg{width:calc(0.28125 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__caption-wrapper.svelte-1ak5lgg{width:calc(0.34375 * 100vw + 0px)}}.mail-content__caption-title.svelte-1ak5lgg{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0208333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail-content__caption-title.svelte-1ak5lgg{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__caption-title.svelte-1ak5lgg{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__caption-title.svelte-1ak5lgg{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__caption-title.svelte-1ak5lgg{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__caption-title.svelte-1ak5lgg{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__caption-title.svelte-1ak5lgg{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__caption-title.svelte-1ak5lgg{font-size:calc(0.0229166667 * 100vw + 0px)}}.mail-content__caption-info.svelte-1ak5lgg{display:flex;align-items:center;justify-content:space-between;position:relative;margin-top:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail-content__caption-info.svelte-1ak5lgg{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__caption-info.svelte-1ak5lgg{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__caption-info.svelte-1ak5lgg{margin-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__caption-info.svelte-1ak5lgg{margin-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__caption-info.svelte-1ak5lgg{margin-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__caption-info.svelte-1ak5lgg{margin-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__caption-info.svelte-1ak5lgg{margin-top:calc(0.0057291667 * 100vw + 0px)}}.mail-content__caption-type-text.svelte-1ak5lgg{font-family:\"GothamPro\";color:rgb(242, 201, 76);font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail-content__caption-type-text.svelte-1ak5lgg{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__caption-type-text.svelte-1ak5lgg{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__caption-type-text.svelte-1ak5lgg{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__caption-type-text.svelte-1ak5lgg{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__caption-type-text.svelte-1ak5lgg{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__caption-type-text.svelte-1ak5lgg{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__caption-type-text.svelte-1ak5lgg{font-size:calc(0.0091666667 * 100vw + 0px)}}.mail-content__rectangle-space.svelte-1ak5lgg{background-color:rgba(255, 255, 255, 0.25);width:calc(0.315625 * 100vw + 0px);height:calc(0.0005208333 * 100vw + 0px);margin-top:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail-content__rectangle-space.svelte-1ak5lgg{width:calc(0.315625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__rectangle-space.svelte-1ak5lgg{width:calc(0.315625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__rectangle-space.svelte-1ak5lgg{width:calc(0.24303125 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__rectangle-space.svelte-1ak5lgg{width:calc(0.3471875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__rectangle-space.svelte-1ak5lgg{width:calc(0.2209375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__rectangle-space.svelte-1ak5lgg{width:calc(0.2840625 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__rectangle-space.svelte-1ak5lgg{width:calc(0.3471875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail-content__rectangle-space.svelte-1ak5lgg{height:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__rectangle-space.svelte-1ak5lgg{height:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__rectangle-space.svelte-1ak5lgg{height:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__rectangle-space.svelte-1ak5lgg{height:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__rectangle-space.svelte-1ak5lgg{height:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__rectangle-space.svelte-1ak5lgg{height:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__rectangle-space.svelte-1ak5lgg{height:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail-content__rectangle-space.svelte-1ak5lgg{margin-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__rectangle-space.svelte-1ak5lgg{margin-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__rectangle-space.svelte-1ak5lgg{margin-top:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__rectangle-space.svelte-1ak5lgg{margin-top:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__rectangle-space.svelte-1ak5lgg{margin-top:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__rectangle-space.svelte-1ak5lgg{margin-top:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__rectangle-space.svelte-1ak5lgg{margin-top:calc(0.00859375 * 100vw + 0px)}}.mail-content__logo.svelte-1ak5lgg{height:calc(0.1041666667 * 100vw + 0px);margin-top:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail-content__logo.svelte-1ak5lgg{height:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__logo.svelte-1ak5lgg{height:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__logo.svelte-1ak5lgg{height:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__logo.svelte-1ak5lgg{height:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__logo.svelte-1ak5lgg{height:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__logo.svelte-1ak5lgg{height:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__logo.svelte-1ak5lgg{height:calc(0.1145833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail-content__logo.svelte-1ak5lgg{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__logo.svelte-1ak5lgg{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__logo.svelte-1ak5lgg{margin-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__logo.svelte-1ak5lgg{margin-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__logo.svelte-1ak5lgg{margin-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__logo.svelte-1ak5lgg{margin-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__logo.svelte-1ak5lgg{margin-top:calc(0.0057291667 * 100vw + 0px)}}.mail-content__text.svelte-1ak5lgg{font-family:\"GothamPro\";color:rgba(255, 255, 255, 0.9);text-align:start;font-size:calc(0.0083333333 * 100vw + 0px);margin-top:calc(0.0114583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail-content__text.svelte-1ak5lgg{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__text.svelte-1ak5lgg{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__text.svelte-1ak5lgg{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__text.svelte-1ak5lgg{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__text.svelte-1ak5lgg{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__text.svelte-1ak5lgg{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__text.svelte-1ak5lgg{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail-content__text.svelte-1ak5lgg{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__text.svelte-1ak5lgg{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__text.svelte-1ak5lgg{margin-top:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__text.svelte-1ak5lgg{margin-top:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__text.svelte-1ak5lgg{margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__text.svelte-1ak5lgg{margin-top:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__text.svelte-1ak5lgg{margin-top:calc(0.0126041667 * 100vw + 0px)}}.mail-content__block-reward.svelte-1ak5lgg{display:flex;flex-direction:column;align-items:flex-start;margin-top:calc(0.0114583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail-content__block-reward.svelte-1ak5lgg{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__block-reward.svelte-1ak5lgg{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__block-reward.svelte-1ak5lgg{margin-top:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__block-reward.svelte-1ak5lgg{margin-top:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__block-reward.svelte-1ak5lgg{margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__block-reward.svelte-1ak5lgg{margin-top:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__block-reward.svelte-1ak5lgg{margin-top:calc(0.0126041667 * 100vw + 0px)}}.mail-content__block-title.svelte-1ak5lgg{font-family:\"GothamPro-Medium\";color:rgba(255, 255, 255, 0.45);font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail-content__block-title.svelte-1ak5lgg{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__block-title.svelte-1ak5lgg{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__block-title.svelte-1ak5lgg{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__block-title.svelte-1ak5lgg{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__block-title.svelte-1ak5lgg{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__block-title.svelte-1ak5lgg{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__block-title.svelte-1ak5lgg{font-size:calc(0.0091666667 * 100vw + 0px)}}.mail-content__block-reward-body.svelte-1ak5lgg{display:flex;text-align:center;word-break:break-word;margin-top:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail-content__block-reward-body.svelte-1ak5lgg{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__block-reward-body.svelte-1ak5lgg{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__block-reward-body.svelte-1ak5lgg{margin-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__block-reward-body.svelte-1ak5lgg{margin-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__block-reward-body.svelte-1ak5lgg{margin-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__block-reward-body.svelte-1ak5lgg{margin-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__block-reward-body.svelte-1ak5lgg{margin-top:calc(0.0057291667 * 100vw + 0px)}}.mail-content__block-reward-items.svelte-1ak5lgg{display:flex;flex-direction:column;align-items:center;background-color:rgba(0, 0, 0, 0.5);width:calc(0.053125 * 100vw + 0px);height:calc(0.053125 * 100vw + 0px);border-radius:calc(0.003125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail-content__block-reward-items.svelte-1ak5lgg{width:calc(0.053125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__block-reward-items.svelte-1ak5lgg{width:calc(0.053125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__block-reward-items.svelte-1ak5lgg{width:calc(0.04090625 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__block-reward-items.svelte-1ak5lgg{width:calc(0.0584375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__block-reward-items.svelte-1ak5lgg{width:calc(0.0371875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__block-reward-items.svelte-1ak5lgg{width:calc(0.0478125 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__block-reward-items.svelte-1ak5lgg{width:calc(0.0584375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail-content__block-reward-items.svelte-1ak5lgg{height:calc(0.053125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__block-reward-items.svelte-1ak5lgg{height:calc(0.053125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__block-reward-items.svelte-1ak5lgg{height:calc(0.04090625 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__block-reward-items.svelte-1ak5lgg{height:calc(0.0584375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__block-reward-items.svelte-1ak5lgg{height:calc(0.0371875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__block-reward-items.svelte-1ak5lgg{height:calc(0.0478125 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__block-reward-items.svelte-1ak5lgg{height:calc(0.0584375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail-content__block-reward-items.svelte-1ak5lgg{border-radius:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__block-reward-items.svelte-1ak5lgg{border-radius:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__block-reward-items.svelte-1ak5lgg{border-radius:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__block-reward-items.svelte-1ak5lgg{border-radius:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__block-reward-items.svelte-1ak5lgg{border-radius:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__block-reward-items.svelte-1ak5lgg{border-radius:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__block-reward-items.svelte-1ak5lgg{border-radius:calc(0.0034375 * 100vw + 0px)}}.mail-content__block-reward-items.svelte-1ak5lgg:not(:first-child){margin-left:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail-content__block-reward-items.svelte-1ak5lgg:not(:first-child){margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__block-reward-items.svelte-1ak5lgg:not(:first-child){margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__block-reward-items.svelte-1ak5lgg:not(:first-child){margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__block-reward-items.svelte-1ak5lgg:not(:first-child){margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__block-reward-items.svelte-1ak5lgg:not(:first-child){margin-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__block-reward-items.svelte-1ak5lgg:not(:first-child){margin-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__block-reward-items.svelte-1ak5lgg:not(:first-child){margin-left:calc(0.0057291667 * 100vw + 0px)}}.mail-content__block-reward-items-title.svelte-1ak5lgg{font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.00625 * 100vw + 0px);height:calc(0.0072916667 * 100vw + 0px);line-height:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail-content__block-reward-items-title.svelte-1ak5lgg{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__block-reward-items-title.svelte-1ak5lgg{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__block-reward-items-title.svelte-1ak5lgg{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__block-reward-items-title.svelte-1ak5lgg{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__block-reward-items-title.svelte-1ak5lgg{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__block-reward-items-title.svelte-1ak5lgg{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__block-reward-items-title.svelte-1ak5lgg{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail-content__block-reward-items-title.svelte-1ak5lgg{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__block-reward-items-title.svelte-1ak5lgg{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__block-reward-items-title.svelte-1ak5lgg{height:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__block-reward-items-title.svelte-1ak5lgg{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__block-reward-items-title.svelte-1ak5lgg{height:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__block-reward-items-title.svelte-1ak5lgg{height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__block-reward-items-title.svelte-1ak5lgg{height:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail-content__block-reward-items-title.svelte-1ak5lgg{line-height:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__block-reward-items-title.svelte-1ak5lgg{line-height:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__block-reward-items-title.svelte-1ak5lgg{line-height:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__block-reward-items-title.svelte-1ak5lgg{line-height:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__block-reward-items-title.svelte-1ak5lgg{line-height:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__block-reward-items-title.svelte-1ak5lgg{line-height:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__block-reward-items-title.svelte-1ak5lgg{line-height:calc(0.006875 * 100vw + 0px)}}.mail-content__block-reward-items-img.svelte-1ak5lgg{width:calc(0.0260416667 * 100vw + 0px);margin-top:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail-content__block-reward-items-img.svelte-1ak5lgg{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__block-reward-items-img.svelte-1ak5lgg{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__block-reward-items-img.svelte-1ak5lgg{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__block-reward-items-img.svelte-1ak5lgg{width:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__block-reward-items-img.svelte-1ak5lgg{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__block-reward-items-img.svelte-1ak5lgg{width:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__block-reward-items-img.svelte-1ak5lgg{width:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail-content__block-reward-items-img.svelte-1ak5lgg{margin-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__block-reward-items-img.svelte-1ak5lgg{margin-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__block-reward-items-img.svelte-1ak5lgg{margin-top:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__block-reward-items-img.svelte-1ak5lgg{margin-top:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__block-reward-items-img.svelte-1ak5lgg{margin-top:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__block-reward-items-img.svelte-1ak5lgg{margin-top:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__block-reward-items-img.svelte-1ak5lgg{margin-top:calc(0.00859375 * 100vw + 0px)}}.mail-content__block-reward-btn.svelte-1ak5lgg{display:flex;align-items:center;justify-content:center;cursor:pointer;background-color:rgb(131, 189, 111);box-shadow:1px 1px 5px rgba(0, 0, 0, 0.26);width:calc(0.315625 * 100vw + 0px);height:calc(0.03125 * 100vw + 0px);border-radius:calc(0.003125 * 100vw + 0px);margin-top:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail-content__block-reward-btn.svelte-1ak5lgg{width:calc(0.315625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__block-reward-btn.svelte-1ak5lgg{width:calc(0.315625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__block-reward-btn.svelte-1ak5lgg{width:calc(0.24303125 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__block-reward-btn.svelte-1ak5lgg{width:calc(0.3471875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__block-reward-btn.svelte-1ak5lgg{width:calc(0.2209375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__block-reward-btn.svelte-1ak5lgg{width:calc(0.2840625 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__block-reward-btn.svelte-1ak5lgg{width:calc(0.3471875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail-content__block-reward-btn.svelte-1ak5lgg{height:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__block-reward-btn.svelte-1ak5lgg{height:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__block-reward-btn.svelte-1ak5lgg{height:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__block-reward-btn.svelte-1ak5lgg{height:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__block-reward-btn.svelte-1ak5lgg{height:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__block-reward-btn.svelte-1ak5lgg{height:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__block-reward-btn.svelte-1ak5lgg{height:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail-content__block-reward-btn.svelte-1ak5lgg{border-radius:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__block-reward-btn.svelte-1ak5lgg{border-radius:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__block-reward-btn.svelte-1ak5lgg{border-radius:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__block-reward-btn.svelte-1ak5lgg{border-radius:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__block-reward-btn.svelte-1ak5lgg{border-radius:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__block-reward-btn.svelte-1ak5lgg{border-radius:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__block-reward-btn.svelte-1ak5lgg{border-radius:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail-content__block-reward-btn.svelte-1ak5lgg{margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__block-reward-btn.svelte-1ak5lgg{margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__block-reward-btn.svelte-1ak5lgg{margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__block-reward-btn.svelte-1ak5lgg{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__block-reward-btn.svelte-1ak5lgg{margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__block-reward-btn.svelte-1ak5lgg{margin-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__block-reward-btn.svelte-1ak5lgg{margin-top:calc(0.0114583333 * 100vw + 0px)}}.mail-content__block-reward-btn.svelte-1ak5lgg:hover{transform:scale(1.03)}.mail-content__block-reward-btn-key.svelte-1ak5lgg{color:#FFFFFF;font-family:\"GothamPro-Medium\";font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail-content__block-reward-btn-key.svelte-1ak5lgg{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__block-reward-btn-key.svelte-1ak5lgg{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__block-reward-btn-key.svelte-1ak5lgg{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__block-reward-btn-key.svelte-1ak5lgg{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__block-reward-btn-key.svelte-1ak5lgg{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__block-reward-btn-key.svelte-1ak5lgg{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__block-reward-btn-key.svelte-1ak5lgg{font-size:calc(0.0091666667 * 100vw + 0px)}}.mail-content__block-delete-btn.svelte-1ak5lgg{display:flex;align-items:center;justify-content:center;cursor:pointer;background-color:rgba(255, 55, 55, 0.35);box-shadow:1px 1px 5px rgba(0, 0, 0, 0.26);width:calc(0.315625 * 100vw + 0px);height:calc(0.03125 * 100vw + 0px);border-radius:calc(0.003125 * 100vw + 0px);margin-top:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail-content__block-delete-btn.svelte-1ak5lgg{width:calc(0.315625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__block-delete-btn.svelte-1ak5lgg{width:calc(0.315625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__block-delete-btn.svelte-1ak5lgg{width:calc(0.24303125 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__block-delete-btn.svelte-1ak5lgg{width:calc(0.3471875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__block-delete-btn.svelte-1ak5lgg{width:calc(0.2209375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__block-delete-btn.svelte-1ak5lgg{width:calc(0.2840625 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__block-delete-btn.svelte-1ak5lgg{width:calc(0.3471875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail-content__block-delete-btn.svelte-1ak5lgg{height:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__block-delete-btn.svelte-1ak5lgg{height:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__block-delete-btn.svelte-1ak5lgg{height:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__block-delete-btn.svelte-1ak5lgg{height:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__block-delete-btn.svelte-1ak5lgg{height:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__block-delete-btn.svelte-1ak5lgg{height:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__block-delete-btn.svelte-1ak5lgg{height:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail-content__block-delete-btn.svelte-1ak5lgg{border-radius:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__block-delete-btn.svelte-1ak5lgg{border-radius:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__block-delete-btn.svelte-1ak5lgg{border-radius:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__block-delete-btn.svelte-1ak5lgg{border-radius:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__block-delete-btn.svelte-1ak5lgg{border-radius:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__block-delete-btn.svelte-1ak5lgg{border-radius:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__block-delete-btn.svelte-1ak5lgg{border-radius:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail-content__block-delete-btn.svelte-1ak5lgg{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__block-delete-btn.svelte-1ak5lgg{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__block-delete-btn.svelte-1ak5lgg{margin-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__block-delete-btn.svelte-1ak5lgg{margin-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__block-delete-btn.svelte-1ak5lgg{margin-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__block-delete-btn.svelte-1ak5lgg{margin-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__block-delete-btn.svelte-1ak5lgg{margin-top:calc(0.0057291667 * 100vw + 0px)}}.mail-content__block-delete-btn.svelte-1ak5lgg:hover{transform:scale(1.03)}.mail-content__block-delete-btn-key.svelte-1ak5lgg{color:#FFFFFF;font-family:\"GothamPro-Medium\";font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail-content__block-delete-btn-key.svelte-1ak5lgg{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__block-delete-btn-key.svelte-1ak5lgg{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__block-delete-btn-key.svelte-1ak5lgg{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__block-delete-btn-key.svelte-1ak5lgg{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__block-delete-btn-key.svelte-1ak5lgg{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__block-delete-btn-key.svelte-1ak5lgg{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__block-delete-btn-key.svelte-1ak5lgg{font-size:calc(0.0091666667 * 100vw + 0px)}}.mail-content__selected-none-body.svelte-1ak5lgg{position:absolute;display:block;justify-content:center;width:calc(0.1354166667 * 100vw + 0px);top:calc(0.15625 * 100vw + 0px);left:calc(0.078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail-content__selected-none-body.svelte-1ak5lgg{width:calc(0.1354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__selected-none-body.svelte-1ak5lgg{width:calc(0.1354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__selected-none-body.svelte-1ak5lgg{width:calc(0.1042708333 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__selected-none-body.svelte-1ak5lgg{width:calc(0.1489583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__selected-none-body.svelte-1ak5lgg{width:calc(0.0947916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__selected-none-body.svelte-1ak5lgg{width:calc(0.121875 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__selected-none-body.svelte-1ak5lgg{width:calc(0.1489583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail-content__selected-none-body.svelte-1ak5lgg{top:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__selected-none-body.svelte-1ak5lgg{top:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__selected-none-body.svelte-1ak5lgg{top:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__selected-none-body.svelte-1ak5lgg{top:calc(0.171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__selected-none-body.svelte-1ak5lgg{top:calc(0.109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__selected-none-body.svelte-1ak5lgg{top:calc(0.140625 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__selected-none-body.svelte-1ak5lgg{top:calc(0.171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail-content__selected-none-body.svelte-1ak5lgg{left:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__selected-none-body.svelte-1ak5lgg{left:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__selected-none-body.svelte-1ak5lgg{left:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__selected-none-body.svelte-1ak5lgg{left:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__selected-none-body.svelte-1ak5lgg{left:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__selected-none-body.svelte-1ak5lgg{left:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__selected-none-body.svelte-1ak5lgg{left:calc(0.0859375 * 100vw + 0px)}}.mail-content__selected-none-outer.svelte-1ak5lgg{display:flex;align-items:center;justify-content:center;box-shadow:0px 0px 150px 0px rgba(255, 236, 170, 0.5);border-radius:50%;background-color:rgba(255, 236, 170, 0.3);width:calc(0.1260416667 * 100vw + 0px);height:calc(0.1260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail-content__selected-none-outer.svelte-1ak5lgg{width:calc(0.1260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__selected-none-outer.svelte-1ak5lgg{width:calc(0.1260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__selected-none-outer.svelte-1ak5lgg{width:calc(0.0970520833 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__selected-none-outer.svelte-1ak5lgg{width:calc(0.1386458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__selected-none-outer.svelte-1ak5lgg{width:calc(0.0882291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__selected-none-outer.svelte-1ak5lgg{width:calc(0.1134375 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__selected-none-outer.svelte-1ak5lgg{width:calc(0.1386458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail-content__selected-none-outer.svelte-1ak5lgg{height:calc(0.1260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__selected-none-outer.svelte-1ak5lgg{height:calc(0.1260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__selected-none-outer.svelte-1ak5lgg{height:calc(0.0970520833 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__selected-none-outer.svelte-1ak5lgg{height:calc(0.1386458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__selected-none-outer.svelte-1ak5lgg{height:calc(0.0882291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__selected-none-outer.svelte-1ak5lgg{height:calc(0.1134375 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__selected-none-outer.svelte-1ak5lgg{height:calc(0.1386458333 * 100vw + 0px)}}.mail-content__selected-none-inner.svelte-1ak5lgg{display:flex;align-items:center;justify-content:center;border-radius:50%;background-color:rgba(255, 236, 170, 0.3);width:calc(0.0875 * 100vw + 0px);height:calc(0.0875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail-content__selected-none-inner.svelte-1ak5lgg{width:calc(0.0875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__selected-none-inner.svelte-1ak5lgg{width:calc(0.0875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__selected-none-inner.svelte-1ak5lgg{width:calc(0.067375 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__selected-none-inner.svelte-1ak5lgg{width:calc(0.09625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__selected-none-inner.svelte-1ak5lgg{width:calc(0.06125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__selected-none-inner.svelte-1ak5lgg{width:calc(0.07875 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__selected-none-inner.svelte-1ak5lgg{width:calc(0.09625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail-content__selected-none-inner.svelte-1ak5lgg{height:calc(0.0875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__selected-none-inner.svelte-1ak5lgg{height:calc(0.0875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__selected-none-inner.svelte-1ak5lgg{height:calc(0.067375 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__selected-none-inner.svelte-1ak5lgg{height:calc(0.09625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__selected-none-inner.svelte-1ak5lgg{height:calc(0.06125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__selected-none-inner.svelte-1ak5lgg{height:calc(0.07875 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__selected-none-inner.svelte-1ak5lgg{height:calc(0.09625 * 100vw + 0px)}}.mail-content__selected-none-img.svelte-1ak5lgg{height:calc(0.0479166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail-content__selected-none-img.svelte-1ak5lgg{height:calc(0.0479166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__selected-none-img.svelte-1ak5lgg{height:calc(0.0479166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__selected-none-img.svelte-1ak5lgg{height:calc(0.0368958333 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__selected-none-img.svelte-1ak5lgg{height:calc(0.0527083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__selected-none-img.svelte-1ak5lgg{height:calc(0.0335416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__selected-none-img.svelte-1ak5lgg{height:calc(0.043125 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__selected-none-img.svelte-1ak5lgg{height:calc(0.0527083333 * 100vw + 0px)}}.mail-content__selected-none-title.svelte-1ak5lgg{color:#FFFFFF;font-family:\"GothamPro-Medium\";font-size:calc(0.0083333333 * 100vw + 0px);margin-top:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail-content__selected-none-title.svelte-1ak5lgg{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__selected-none-title.svelte-1ak5lgg{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__selected-none-title.svelte-1ak5lgg{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__selected-none-title.svelte-1ak5lgg{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__selected-none-title.svelte-1ak5lgg{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__selected-none-title.svelte-1ak5lgg{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__selected-none-title.svelte-1ak5lgg{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail-content__selected-none-title.svelte-1ak5lgg{margin-top:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail-content__selected-none-title.svelte-1ak5lgg{margin-top:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail-content__selected-none-title.svelte-1ak5lgg{margin-top:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.mail-content__selected-none-title.svelte-1ak5lgg{margin-top:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail-content__selected-none-title.svelte-1ak5lgg{margin-top:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail-content__selected-none-title.svelte-1ak5lgg{margin-top:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.mail-content__selected-none-title.svelte-1ak5lgg{margin-top:calc(0.0171875 * 100vw + 0px)}}");
}

function content_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[4] = list[i];
	return child_ctx;
}

// (1976:34) 
function content_index_svelte_create_if_block_1(ctx) {
	let div2;
	let div1;
	let div0;
	let img;
	let img_src_value;
	let t0;
	let p;

	return {
		c() {
			div2 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			p.textContent = "Сначала выберите сообщение";
			attr(img, "class", "mail-content__selected-none-img svelte-1ak5lgg");
			if (!src_url_equal(img.src, img_src_value = message_content_none_logo_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "MessageContentNoneLogo");
			attr(div0, "class", "mail-content__selected-none-inner svelte-1ak5lgg");
			attr(div1, "class", "mail-content__selected-none-outer svelte-1ak5lgg");
			attr(p, "class", "mail-content__selected-none-title svelte-1ak5lgg");
			attr(div2, "class", "mail-content__selected-none-body svelte-1ak5lgg");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div1);
			append(div1, div0);
			append(div0, img);
			append(div2, t0);
			append(div2, p);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

// (1920:1) {#if !isEmpty(content)}
function content_index_svelte_create_if_block(ctx) {
	let div6;
	let div1;
	let p0;
	let t0_value = /*content*/ ctx[0].title + "";
	let t0;
	let t1;
	let div0;
	let p1;
	let t2_value = MessageTypeName[/*content*/ ctx[0].type] + "";
	let t2;
	let t3;
	let div2;
	let t4;
	let img;
	let img_src_value;
	let t5;
	let div3;
	let t6_value = /*content*/ ctx[0].description + "";
	let t6;
	let t7;
	let div5;
	let p2;
	let t9;
	let div4;
	let t10;
	let div7;
	let t12;
	let div8;
	let mounted;
	let dispose;
	let each_value = /*content*/ ctx[0].items;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = content_index_svelte_create_each_block(content_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div6 = internal_element("div");
			div1 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			div0 = internal_element("div");
			p1 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = space();
			div2 = internal_element("div");
			t4 = space();
			img = internal_element("img");
			t5 = space();
			div3 = internal_element("div");
			t6 = internal_text(t6_value);
			t7 = space();
			div5 = internal_element("div");
			p2 = internal_element("p");
			p2.textContent = "Награда:";
			t9 = space();
			div4 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t10 = space();
			div7 = internal_element("div");
			div7.innerHTML = `<p class="mail-content__block-reward-btn-key svelte-1ak5lgg">Получить награду</p>`;
			t12 = space();
			div8 = internal_element("div");
			div8.innerHTML = `<p class="mail-content__block-delete-btn-key svelte-1ak5lgg">Удалить сообщение</p>`;
			attr(p0, "class", "mail-content__caption-title svelte-1ak5lgg");
			attr(p1, "class", "mail-content__caption-type-text svelte-1ak5lgg");
			attr(div0, "class", "mail-content__caption-info svelte-1ak5lgg");
			attr(div1, "class", "mail-content__caption-wrapper svelte-1ak5lgg");
			attr(div2, "class", "mail-content__rectangle-space svelte-1ak5lgg");
			attr(img, "class", "mail-content__logo svelte-1ak5lgg");
			if (!src_url_equal(img.src, img_src_value = MessageTypeImg[/*content*/ ctx[0].type].icon)) attr(img, "src", img_src_value);
			attr(img, "alt", "LogoImage");
			attr(div3, "class", "mail-content__text svelte-1ak5lgg");
			attr(p2, "class", "mail-content__block-title svelte-1ak5lgg");
			attr(div4, "class", "mail-content__block-reward-body svelte-1ak5lgg");
			attr(div5, "class", "mail-content__block-reward svelte-1ak5lgg");
			attr(div6, "class", "mail-content__body svelte-1ak5lgg");
			attr(div7, "class", "mail-content__block-reward-btn svelte-1ak5lgg");
			attr(div8, "class", "mail-content__block-delete-btn svelte-1ak5lgg");
		},
		m(target, anchor) {
			insert(target, div6, anchor);
			append(div6, div1);
			append(div1, p0);
			append(p0, t0);
			append(div1, t1);
			append(div1, div0);
			append(div0, p1);
			append(p1, t2);
			append(div6, t3);
			append(div6, div2);
			append(div6, t4);
			append(div6, img);
			append(div6, t5);
			append(div6, div3);
			append(div3, t6);
			append(div6, t7);
			append(div6, div5);
			append(div5, p2);
			append(div5, t9);
			append(div5, div4);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div4, null);
			}

			insert(target, t10, anchor);
			insert(target, div7, anchor);
			insert(target, t12, anchor);
			insert(target, div8, anchor);

			if (!mounted) {
				dispose = [
					listen(div7, "click", /*receiveReward*/ ctx[2]),
					listen(div8, "click", /*deleteReward*/ ctx[3])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*content*/ 1 && t0_value !== (t0_value = /*content*/ ctx[0].title + "")) set_data(t0, t0_value);
			if (dirty & /*content*/ 1 && t2_value !== (t2_value = MessageTypeName[/*content*/ ctx[0].type] + "")) set_data(t2, t2_value);

			if (dirty & /*content*/ 1 && !src_url_equal(img.src, img_src_value = MessageTypeImg[/*content*/ ctx[0].type].icon)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*content*/ 1 && t6_value !== (t6_value = /*content*/ ctx[0].description + "")) set_data(t6, t6_value);

			if (dirty & /*content, CDN_URL_RODINA*/ 1) {
				each_value = /*content*/ ctx[0].items;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = content_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = content_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div4, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		d(detaching) {
			if (detaching) detach(div6);
			destroy_each(each_blocks, detaching);
			if (detaching) detach(t10);
			if (detaching) detach(div7);
			if (detaching) detach(t12);
			if (detaching) detach(div8);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (1946:8) {#each content.items as item}
function content_index_svelte_create_each_block(ctx) {
	let div;
	let img;
	let img_src_value;
	let t0;
	let p;
	let t1_value = /*item*/ ctx[4].title + "";
	let t1;
	let t2;

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(img, "class", "mail-content__block-reward-items-img svelte-1ak5lgg");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*item*/ ctx[4].icon}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "Item");
			attr(p, "class", "mail-content__block-reward-items-title svelte-1ak5lgg");
			attr(div, "class", "mail-content__block-reward-items svelte-1ak5lgg");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
			append(div, t0);
			append(div, p);
			append(p, t1);
			append(div, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*content*/ 1 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*item*/ ctx[4].icon}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*content*/ 1 && t1_value !== (t1_value = /*item*/ ctx[4].title + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function content_index_svelte_create_fragment(ctx) {
	let div;
	let show_if;
	let show_if_1;

	function select_block_type(ctx, dirty) {
		if (dirty & /*content*/ 1) show_if = null;
		if (dirty & /*selectMessageId*/ 2) show_if_1 = null;
		if (show_if == null) show_if = !!!(0,lodash.isEmpty)(/*content*/ ctx[0]);
		if (show_if) return content_index_svelte_create_if_block;
		if (show_if_1 == null) show_if_1 = !!(0,lodash.isNil)(/*selectMessageId*/ ctx[1]);
		if (show_if_1) return content_index_svelte_create_if_block_1;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block = current_block_type && current_block_type(ctx);

	return {
		c() {
			div = internal_element("div");
			if (if_block) if_block.c();
			attr(div, "class", "mail-content svelte-1ak5lgg");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block) if_block.m(div, null);
		},
		p(ctx, [dirty]) {
			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if (if_block) if_block.d(1);
				if_block = current_block_type && current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div, null);
				}
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);

			if (if_block) {
				if_block.d();
			}
		}
	};
}

function content_index_svelte_instance($$self, $$props, $$invalidate) {
	let { content = {} } = $$props;
	let { selectMessageId } = $$props;

	const receiveReward = () => {
		sendClientMessage('mail.message.receiveReward', selectMessageId);
	};

	const deleteReward = () => {
		sendClientMessage('mail.message.deleteReward', selectMessageId);
	};

	$$self.$$set = $$props => {
		if ('content' in $$props) $$invalidate(0, content = $$props.content);
		if ('selectMessageId' in $$props) $$invalidate(1, selectMessageId = $$props.selectMessageId);
	};

	return [content, selectMessageId, receiveReward, deleteReward];
}

class Content extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, content_index_svelte_instance, content_index_svelte_create_fragment, safe_not_equal, { content: 0, selectMessageId: 1 }, content_index_svelte_add_css);
	}
}

/* harmony default export */ const content_index_svelte = (Content);
;// CONCATENATED MODULE: ./src/views/mail/img/mail-message-empty-logo.png
const mail_message_empty_logo_namespaceObject = __webpack_require__.p + "assets/e906b8f078e4147cf736.webp";
;// CONCATENATED MODULE: ./src/views/mail/img/mail-logo.png
const mail_logo_namespaceObject = __webpack_require__.p + "assets/2b8cedde962c5c58926b.webp";
;// CONCATENATED MODULE: ./src/views/mail/index.svelte
/* src\views\mail\index.svelte generated by Svelte v3.49.0 */









// import { MESSAGE_ITEM_INFO, MESSAGE_CONTENT_INFO } from './mocks';





function mail_index_svelte_add_css(target) {
	append_styles(target, "svelte-10j9df7", "@keyframes svelte-10j9df7-blinking{50%{opacity:0}}@keyframes svelte-10j9df7-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-10j9df7-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-10j9df7-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-10j9df7-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-10j9df7-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-10j9df7-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-10j9df7-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-10j9df7-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-10j9df7-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-10j9df7-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-10j9df7-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-10j9df7-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-10j9df7-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-10j9df7-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.mail.svelte-10j9df7.svelte-10j9df7{display:flex;align-items:center;justify-content:column;width:100vw;height:100vh;background:rgba(32, 39, 49, 0.95)}.mail__lighting.svelte-10j9df7.svelte-10j9df7{position:absolute;transform:rotate(75deg);background:radial-gradient(49.98% 50.07% at 49.98% 50.13%, rgba(210, 234, 255, 0.5) 0%, rgba(171, 215, 255, 0.5) 12.4%, rgba(0, 0, 0, 0) 100%);bottom:calc(-0.7291666667 * 100vw + 0px);width:calc(1.35234375 * 100vw + 0px);height:calc(1.1525364583 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail__lighting.svelte-10j9df7.svelte-10j9df7{bottom:calc(-0.7291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__lighting.svelte-10j9df7.svelte-10j9df7{bottom:calc(-0.7291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__lighting.svelte-10j9df7.svelte-10j9df7{bottom:calc(-0.5614583333 * 100vw + 0px)}}@media(min-width: 3440px){.mail__lighting.svelte-10j9df7.svelte-10j9df7{bottom:calc(-0.8020833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__lighting.svelte-10j9df7.svelte-10j9df7{bottom:calc(-0.5104166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__lighting.svelte-10j9df7.svelte-10j9df7{bottom:calc(-0.65625 * 100vw + 0px)}}@media(min-width: 4096px){.mail__lighting.svelte-10j9df7.svelte-10j9df7{bottom:calc(-0.8020833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail__lighting.svelte-10j9df7.svelte-10j9df7{width:calc(1.35234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__lighting.svelte-10j9df7.svelte-10j9df7{width:calc(1.35234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__lighting.svelte-10j9df7.svelte-10j9df7{width:calc(1.0413046875 * 100vw + 0px)}}@media(min-width: 3440px){.mail__lighting.svelte-10j9df7.svelte-10j9df7{width:calc(1.487578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__lighting.svelte-10j9df7.svelte-10j9df7{width:calc(0.946640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__lighting.svelte-10j9df7.svelte-10j9df7{width:calc(1.217109375 * 100vw + 0px)}}@media(min-width: 4096px){.mail__lighting.svelte-10j9df7.svelte-10j9df7{width:calc(1.487578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail__lighting.svelte-10j9df7.svelte-10j9df7{height:calc(1.1525364583 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__lighting.svelte-10j9df7.svelte-10j9df7{height:calc(1.1525364583 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__lighting.svelte-10j9df7.svelte-10j9df7{height:calc(0.8874530729 * 100vw + 0px)}}@media(min-width: 3440px){.mail__lighting.svelte-10j9df7.svelte-10j9df7{height:calc(1.2677901042 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__lighting.svelte-10j9df7.svelte-10j9df7{height:calc(0.8067755208 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__lighting.svelte-10j9df7.svelte-10j9df7{height:calc(1.0372828125 * 100vw + 0px)}}@media(min-width: 4096px){.mail__lighting.svelte-10j9df7.svelte-10j9df7{height:calc(1.2677901042 * 100vw + 0px)}}.mail__logo-wrapper.svelte-10j9df7.svelte-10j9df7{position:absolute;display:flex;flex-direction:row;align-items:center;top:calc(0.0223958333 * 100vw + 0px);left:calc(0.028125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail__logo-wrapper.svelte-10j9df7.svelte-10j9df7{top:calc(0.0223958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__logo-wrapper.svelte-10j9df7.svelte-10j9df7{top:calc(0.0223958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__logo-wrapper.svelte-10j9df7.svelte-10j9df7{top:calc(0.0172447917 * 100vw + 0px)}}@media(min-width: 3440px){.mail__logo-wrapper.svelte-10j9df7.svelte-10j9df7{top:calc(0.0246354167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__logo-wrapper.svelte-10j9df7.svelte-10j9df7{top:calc(0.0156770833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__logo-wrapper.svelte-10j9df7.svelte-10j9df7{top:calc(0.02015625 * 100vw + 0px)}}@media(min-width: 4096px){.mail__logo-wrapper.svelte-10j9df7.svelte-10j9df7{top:calc(0.0246354167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail__logo-wrapper.svelte-10j9df7.svelte-10j9df7{left:calc(0.028125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__logo-wrapper.svelte-10j9df7.svelte-10j9df7{left:calc(0.028125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__logo-wrapper.svelte-10j9df7.svelte-10j9df7{left:calc(0.02165625 * 100vw + 0px)}}@media(min-width: 3440px){.mail__logo-wrapper.svelte-10j9df7.svelte-10j9df7{left:calc(0.0309375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__logo-wrapper.svelte-10j9df7.svelte-10j9df7{left:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__logo-wrapper.svelte-10j9df7.svelte-10j9df7{left:calc(0.0253125 * 100vw + 0px)}}@media(min-width: 4096px){.mail__logo-wrapper.svelte-10j9df7.svelte-10j9df7{left:calc(0.0309375 * 100vw + 0px)}}.mail__logo-outer.svelte-10j9df7.svelte-10j9df7{display:flex;align-items:center;justify-content:center;box-shadow:0px 0px 397px 0px rgba(255, 255, 255, 0.05);border-radius:50%;background-color:rgba(255, 255, 255, 0.02);width:calc(0.053125 * 100vw + 0px);height:calc(0.053125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail__logo-outer.svelte-10j9df7.svelte-10j9df7{width:calc(0.053125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__logo-outer.svelte-10j9df7.svelte-10j9df7{width:calc(0.053125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__logo-outer.svelte-10j9df7.svelte-10j9df7{width:calc(0.04090625 * 100vw + 0px)}}@media(min-width: 3440px){.mail__logo-outer.svelte-10j9df7.svelte-10j9df7{width:calc(0.0584375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__logo-outer.svelte-10j9df7.svelte-10j9df7{width:calc(0.0371875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__logo-outer.svelte-10j9df7.svelte-10j9df7{width:calc(0.0478125 * 100vw + 0px)}}@media(min-width: 4096px){.mail__logo-outer.svelte-10j9df7.svelte-10j9df7{width:calc(0.0584375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail__logo-outer.svelte-10j9df7.svelte-10j9df7{height:calc(0.053125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__logo-outer.svelte-10j9df7.svelte-10j9df7{height:calc(0.053125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__logo-outer.svelte-10j9df7.svelte-10j9df7{height:calc(0.04090625 * 100vw + 0px)}}@media(min-width: 3440px){.mail__logo-outer.svelte-10j9df7.svelte-10j9df7{height:calc(0.0584375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__logo-outer.svelte-10j9df7.svelte-10j9df7{height:calc(0.0371875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__logo-outer.svelte-10j9df7.svelte-10j9df7{height:calc(0.0478125 * 100vw + 0px)}}@media(min-width: 4096px){.mail__logo-outer.svelte-10j9df7.svelte-10j9df7{height:calc(0.0584375 * 100vw + 0px)}}.mail__logo-inner.svelte-10j9df7.svelte-10j9df7{border-radius:50%;background-color:rgba(255, 255, 255, 0.01);display:flex;align-items:center;justify-content:center;width:calc(0.0364583333 * 100vw + 0px);height:calc(0.0364583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail__logo-inner.svelte-10j9df7.svelte-10j9df7{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__logo-inner.svelte-10j9df7.svelte-10j9df7{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__logo-inner.svelte-10j9df7.svelte-10j9df7{width:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.mail__logo-inner.svelte-10j9df7.svelte-10j9df7{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__logo-inner.svelte-10j9df7.svelte-10j9df7{width:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__logo-inner.svelte-10j9df7.svelte-10j9df7{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.mail__logo-inner.svelte-10j9df7.svelte-10j9df7{width:calc(0.0401041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail__logo-inner.svelte-10j9df7.svelte-10j9df7{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__logo-inner.svelte-10j9df7.svelte-10j9df7{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__logo-inner.svelte-10j9df7.svelte-10j9df7{height:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.mail__logo-inner.svelte-10j9df7.svelte-10j9df7{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__logo-inner.svelte-10j9df7.svelte-10j9df7{height:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__logo-inner.svelte-10j9df7.svelte-10j9df7{height:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.mail__logo-inner.svelte-10j9df7.svelte-10j9df7{height:calc(0.0401041667 * 100vw + 0px)}}.mail__logo-icon.svelte-10j9df7.svelte-10j9df7{height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail__logo-icon.svelte-10j9df7.svelte-10j9df7{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__logo-icon.svelte-10j9df7.svelte-10j9df7{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__logo-icon.svelte-10j9df7.svelte-10j9df7{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.mail__logo-icon.svelte-10j9df7.svelte-10j9df7{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__logo-icon.svelte-10j9df7.svelte-10j9df7{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__logo-icon.svelte-10j9df7.svelte-10j9df7{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.mail__logo-icon.svelte-10j9df7.svelte-10j9df7{height:calc(0.0286458333 * 100vw + 0px)}}.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{background:rgb(242, 201, 76);position:absolute;display:flex;align-items:center;justify-content:center;border-radius:calc(0.0166666667 * 100vw + 0px);min-width:calc(0.0140625 * 100vw + 0px);height:calc(0.0140625 * 100vw + 0px);padding-right:calc(0.0026041667 * 100vw + 0px);padding-left:calc(0.0026041667 * 100vw + 0px);margin-bottom:calc(0.0140625 * 100vw + 0px);margin-left:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{border-radius:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{border-radius:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{border-radius:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{border-radius:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{border-radius:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{border-radius:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{border-radius:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{min-width:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{min-width:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{min-width:calc(0.010828125 * 100vw + 0px)}}@media(min-width: 3440px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{min-width:calc(0.01546875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{min-width:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{min-width:calc(0.01265625 * 100vw + 0px)}}@media(min-width: 4096px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{min-width:calc(0.01546875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{height:calc(0.010828125 * 100vw + 0px)}}@media(min-width: 3440px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{height:calc(0.01546875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{height:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{height:calc(0.01265625 * 100vw + 0px)}}@media(min-width: 4096px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{height:calc(0.01546875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{padding-right:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{padding-right:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{padding-right:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{padding-right:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{padding-right:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{padding-right:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{padding-right:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{padding-left:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{padding-left:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{padding-left:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{padding-left:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{padding-left:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{padding-left:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{padding-left:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{margin-bottom:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{margin-bottom:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{margin-bottom:calc(0.010828125 * 100vw + 0px)}}@media(min-width: 3440px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{margin-bottom:calc(0.01546875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{margin-bottom:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{margin-bottom:calc(0.01265625 * 100vw + 0px)}}@media(min-width: 4096px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{margin-bottom:calc(0.01546875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.mail__logo-frame.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0286458333 * 100vw + 0px)}}.mail__logo-frame-text.svelte-10j9df7.svelte-10j9df7{font-family:\"GothamPro\";color:rgb(84, 68, 20);font-weight:900;height:calc(0.0083333333 * 100vw + 0px);font-size:calc(0.0104166667 * 100vw + 0px);margin-top:calc(-0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail__logo-frame-text.svelte-10j9df7.svelte-10j9df7{height:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__logo-frame-text.svelte-10j9df7.svelte-10j9df7{height:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__logo-frame-text.svelte-10j9df7.svelte-10j9df7{height:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.mail__logo-frame-text.svelte-10j9df7.svelte-10j9df7{height:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__logo-frame-text.svelte-10j9df7.svelte-10j9df7{height:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__logo-frame-text.svelte-10j9df7.svelte-10j9df7{height:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.mail__logo-frame-text.svelte-10j9df7.svelte-10j9df7{height:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail__logo-frame-text.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__logo-frame-text.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__logo-frame-text.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.mail__logo-frame-text.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__logo-frame-text.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__logo-frame-text.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.mail__logo-frame-text.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail__logo-frame-text.svelte-10j9df7.svelte-10j9df7{margin-top:calc(-0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__logo-frame-text.svelte-10j9df7.svelte-10j9df7{margin-top:calc(-0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__logo-frame-text.svelte-10j9df7.svelte-10j9df7{margin-top:calc(-0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.mail__logo-frame-text.svelte-10j9df7.svelte-10j9df7{margin-top:calc(-0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__logo-frame-text.svelte-10j9df7.svelte-10j9df7{margin-top:calc(-0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__logo-frame-text.svelte-10j9df7.svelte-10j9df7{margin-top:calc(-0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.mail__logo-frame-text.svelte-10j9df7.svelte-10j9df7{margin-top:calc(-0.0045833333 * 100vw + 0px)}}.mail__title.svelte-10j9df7.svelte-10j9df7{display:block;color:#FFFFFF;font-family:\"GothamPro-Medium\";font-size:calc(0.0166666667 * 100vw + 0px);margin-left:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail__title.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__title.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__title.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.mail__title.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__title.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__title.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.mail__title.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail__title.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__title.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__title.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.mail__title.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__title.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__title.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.mail__title.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0091666667 * 100vw + 0px)}}.mail__message.svelte-10j9df7.svelte-10j9df7{position:absolute;top:calc(0.0328125 * 100vw + 0px);left:calc(0.2505208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail__message.svelte-10j9df7.svelte-10j9df7{top:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__message.svelte-10j9df7.svelte-10j9df7{top:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__message.svelte-10j9df7.svelte-10j9df7{top:calc(0.025265625 * 100vw + 0px)}}@media(min-width: 3440px){.mail__message.svelte-10j9df7.svelte-10j9df7{top:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__message.svelte-10j9df7.svelte-10j9df7{top:calc(0.02296875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__message.svelte-10j9df7.svelte-10j9df7{top:calc(0.02953125 * 100vw + 0px)}}@media(min-width: 4096px){.mail__message.svelte-10j9df7.svelte-10j9df7{top:calc(0.03609375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail__message.svelte-10j9df7.svelte-10j9df7{left:calc(0.2505208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__message.svelte-10j9df7.svelte-10j9df7{left:calc(0.2505208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__message.svelte-10j9df7.svelte-10j9df7{left:calc(0.1929010417 * 100vw + 0px)}}@media(min-width: 3440px){.mail__message.svelte-10j9df7.svelte-10j9df7{left:calc(0.2755729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__message.svelte-10j9df7.svelte-10j9df7{left:calc(0.1753645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__message.svelte-10j9df7.svelte-10j9df7{left:calc(0.22546875 * 100vw + 0px)}}@media(min-width: 4096px){.mail__message.svelte-10j9df7.svelte-10j9df7{left:calc(0.2755729167 * 100vw + 0px)}}.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7{width:fit-content;overflow:auto;height:calc(0.4166666667 * 100vw + 0px);padding-right:calc(0.0078125 * 100vw + 0px)}.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7::-webkit-scrollbar{height:0;width:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7::-webkit-scrollbar{width:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7::-webkit-scrollbar{width:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7::-webkit-scrollbar{width:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7::-webkit-scrollbar{width:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7::-webkit-scrollbar{width:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7::-webkit-scrollbar{width:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7::-webkit-scrollbar{width:calc(0.0045833333 * 100vw + 0px)}}.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7::-webkit-scrollbar-button{display:none}.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.45)}.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7::-webkit-scrollbar-track-piece{background:rgba(255, 255, 255, 0.45);border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7::-webkit-scrollbar-track-piece{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7::-webkit-scrollbar-track-piece{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7::-webkit-scrollbar-track-piece{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7::-webkit-scrollbar-track-piece{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7::-webkit-scrollbar-track-piece{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7::-webkit-scrollbar-track-piece{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7::-webkit-scrollbar-track-piece{border-radius:calc(0.0028645833 * 100vw + 0px)}}.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7::-webkit-scrollbar-thumb{background:#FFFFFF;border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7::-webkit-scrollbar-thumb{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7::-webkit-scrollbar-thumb{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7::-webkit-scrollbar-thumb{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7::-webkit-scrollbar-thumb{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7::-webkit-scrollbar-thumb{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7::-webkit-scrollbar-thumb{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7::-webkit-scrollbar-thumb{border-radius:calc(0.0028645833 * 100vw + 0px)}}.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7::-webkit-scrollbar-corner{background-color:rgba(255, 255, 255, 0.45)}.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7::-webkit-resizer{background-color:rgba(255, 255, 255, 0.45)}@media(max-width: 1920px) and (max-height: 768px){.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7{height:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7{height:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7{height:calc(0.3208333333 * 100vw + 0px)}}@media(min-width: 3440px){.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7{height:calc(0.4583333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7{height:calc(0.2916666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7{height:calc(0.375 * 100vw + 0px)}}@media(min-width: 4096px){.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7{height:calc(0.4583333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7{padding-right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7{padding-right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7{padding-right:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7{padding-right:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7{padding-right:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7{padding-right:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.mail__messages-wrapper.svelte-10j9df7.svelte-10j9df7{padding-right:calc(0.00859375 * 100vw + 0px)}}.mail__message-item.svelte-10j9df7.svelte-10j9df7{display:flex;align-items:center;justify-content:start;cursor:pointer;background:rgba(255, 255, 255, 0.1);transition:background-color 0.2s linear;position:relative;border-radius:calc(0.003125 * 100vw + 0px);width:calc(0.2541666667 * 100vw + 0px);height:calc(0.0552083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail__message-item.svelte-10j9df7.svelte-10j9df7{border-radius:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__message-item.svelte-10j9df7.svelte-10j9df7{border-radius:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__message-item.svelte-10j9df7.svelte-10j9df7{border-radius:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.mail__message-item.svelte-10j9df7.svelte-10j9df7{border-radius:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__message-item.svelte-10j9df7.svelte-10j9df7{border-radius:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__message-item.svelte-10j9df7.svelte-10j9df7{border-radius:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.mail__message-item.svelte-10j9df7.svelte-10j9df7{border-radius:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail__message-item.svelte-10j9df7.svelte-10j9df7{width:calc(0.2541666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__message-item.svelte-10j9df7.svelte-10j9df7{width:calc(0.2541666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__message-item.svelte-10j9df7.svelte-10j9df7{width:calc(0.1957083333 * 100vw + 0px)}}@media(min-width: 3440px){.mail__message-item.svelte-10j9df7.svelte-10j9df7{width:calc(0.2795833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__message-item.svelte-10j9df7.svelte-10j9df7{width:calc(0.1779166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__message-item.svelte-10j9df7.svelte-10j9df7{width:calc(0.22875 * 100vw + 0px)}}@media(min-width: 4096px){.mail__message-item.svelte-10j9df7.svelte-10j9df7{width:calc(0.2795833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail__message-item.svelte-10j9df7.svelte-10j9df7{height:calc(0.0552083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__message-item.svelte-10j9df7.svelte-10j9df7{height:calc(0.0552083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__message-item.svelte-10j9df7.svelte-10j9df7{height:calc(0.0425104167 * 100vw + 0px)}}@media(min-width: 3440px){.mail__message-item.svelte-10j9df7.svelte-10j9df7{height:calc(0.0607291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__message-item.svelte-10j9df7.svelte-10j9df7{height:calc(0.0386458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__message-item.svelte-10j9df7.svelte-10j9df7{height:calc(0.0496875 * 100vw + 0px)}}@media(min-width: 4096px){.mail__message-item.svelte-10j9df7.svelte-10j9df7{height:calc(0.0607291667 * 100vw + 0px)}}.mail__message-item.svelte-10j9df7.svelte-10j9df7:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail__message-item.svelte-10j9df7.svelte-10j9df7:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__message-item.svelte-10j9df7.svelte-10j9df7:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__message-item.svelte-10j9df7.svelte-10j9df7:not(:first-child){margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.mail__message-item.svelte-10j9df7.svelte-10j9df7:not(:first-child){margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__message-item.svelte-10j9df7.svelte-10j9df7:not(:first-child){margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__message-item.svelte-10j9df7.svelte-10j9df7:not(:first-child){margin-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.mail__message-item.svelte-10j9df7.svelte-10j9df7:not(:first-child){margin-top:calc(0.0114583333 * 100vw + 0px)}}.mail__message-item.svelte-10j9df7.svelte-10j9df7:hover,.mail__message-item--selected.svelte-10j9df7.svelte-10j9df7{background-color:#FFFFFF}.mail__message-item.svelte-10j9df7:hover .mail__message-item-title.svelte-10j9df7,.mail__message-item.svelte-10j9df7:hover .mail__message-item-logo.svelte-10j9df7,.mail__message-item.svelte-10j9df7:hover .mail__message-item-date.svelte-10j9df7,.mail__message-item--selected.svelte-10j9df7 .mail__message-item-title.svelte-10j9df7,.mail__message-item--selected.svelte-10j9df7 .mail__message-item-logo.svelte-10j9df7,.mail__message-item--selected.svelte-10j9df7 .mail__message-item-date.svelte-10j9df7{color:#505050}.mail__message-item-body.svelte-10j9df7.svelte-10j9df7{display:flex;align-items:center;justify-content:start;margin-left:calc(0.0052083333 * 100vw + 0px);margin-top:calc(0.0078125 * 100vw + 0px);margin-bottom:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail__message-item-body.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__message-item-body.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__message-item-body.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.mail__message-item-body.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__message-item-body.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__message-item-body.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.mail__message-item-body.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail__message-item-body.svelte-10j9df7.svelte-10j9df7{margin-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__message-item-body.svelte-10j9df7.svelte-10j9df7{margin-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__message-item-body.svelte-10j9df7.svelte-10j9df7{margin-top:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.mail__message-item-body.svelte-10j9df7.svelte-10j9df7{margin-top:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__message-item-body.svelte-10j9df7.svelte-10j9df7{margin-top:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__message-item-body.svelte-10j9df7.svelte-10j9df7{margin-top:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.mail__message-item-body.svelte-10j9df7.svelte-10j9df7{margin-top:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail__message-item-body.svelte-10j9df7.svelte-10j9df7{margin-bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__message-item-body.svelte-10j9df7.svelte-10j9df7{margin-bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__message-item-body.svelte-10j9df7.svelte-10j9df7{margin-bottom:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.mail__message-item-body.svelte-10j9df7.svelte-10j9df7{margin-bottom:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__message-item-body.svelte-10j9df7.svelte-10j9df7{margin-bottom:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__message-item-body.svelte-10j9df7.svelte-10j9df7{margin-bottom:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.mail__message-item-body.svelte-10j9df7.svelte-10j9df7{margin-bottom:calc(0.00859375 * 100vw + 0px)}}.mail__message-item-logo.svelte-10j9df7.svelte-10j9df7{color:#FFFFFF;margin-left:calc(0.0088541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail__message-item-logo.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__message-item-logo.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__message-item-logo.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0068177083 * 100vw + 0px)}}@media(min-width: 3440px){.mail__message-item-logo.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0097395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__message-item-logo.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0061979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__message-item-logo.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.00796875 * 100vw + 0px)}}@media(min-width: 4096px){.mail__message-item-logo.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0097395833 * 100vw + 0px)}}.mail__message-item-info.svelte-10j9df7.svelte-10j9df7{display:block;align-items:center;margin-left:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail__message-item-info.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__message-item-info.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__message-item-info.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.mail__message-item-info.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__message-item-info.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__message-item-info.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.mail__message-item-info.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0091666667 * 100vw + 0px)}}.mail__message-item-title.svelte-10j9df7.svelte-10j9df7{font-family:\"GothamPro-Medium\";color:#FFFFFF;word-break:break-word;font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail__message-item-title.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__message-item-title.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__message-item-title.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.mail__message-item-title.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__message-item-title.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__message-item-title.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.mail__message-item-title.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.0114583333 * 100vw + 0px)}}.mail__message-item-date.svelte-10j9df7.svelte-10j9df7{font-family:\"GothamPro\";color:rgb(242, 201, 76);font-size:calc(0.0067708333 * 100vw + 0px);padding-top:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail__message-item-date.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__message-item-date.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__message-item-date.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.0052135417 * 100vw + 0px)}}@media(min-width: 3440px){.mail__message-item-date.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.0074479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__message-item-date.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.0047395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__message-item-date.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.00609375 * 100vw + 0px)}}@media(min-width: 4096px){.mail__message-item-date.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.0074479167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail__message-item-date.svelte-10j9df7.svelte-10j9df7{padding-top:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__message-item-date.svelte-10j9df7.svelte-10j9df7{padding-top:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__message-item-date.svelte-10j9df7.svelte-10j9df7{padding-top:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.mail__message-item-date.svelte-10j9df7.svelte-10j9df7{padding-top:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__message-item-date.svelte-10j9df7.svelte-10j9df7{padding-top:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__message-item-date.svelte-10j9df7.svelte-10j9df7{padding-top:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.mail__message-item-date.svelte-10j9df7.svelte-10j9df7{padding-top:calc(0.0028645833 * 100vw + 0px)}}.mail__notification.svelte-10j9df7.svelte-10j9df7{position:absolute;top:calc(0.4166666667 * 100vw + 0px);left:calc(0.028125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail__notification.svelte-10j9df7.svelte-10j9df7{top:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__notification.svelte-10j9df7.svelte-10j9df7{top:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__notification.svelte-10j9df7.svelte-10j9df7{top:calc(0.3208333333 * 100vw + 0px)}}@media(min-width: 3440px){.mail__notification.svelte-10j9df7.svelte-10j9df7{top:calc(0.4583333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__notification.svelte-10j9df7.svelte-10j9df7{top:calc(0.2916666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__notification.svelte-10j9df7.svelte-10j9df7{top:calc(0.375 * 100vw + 0px)}}@media(min-width: 4096px){.mail__notification.svelte-10j9df7.svelte-10j9df7{top:calc(0.4583333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail__notification.svelte-10j9df7.svelte-10j9df7{left:calc(0.028125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__notification.svelte-10j9df7.svelte-10j9df7{left:calc(0.028125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__notification.svelte-10j9df7.svelte-10j9df7{left:calc(0.02165625 * 100vw + 0px)}}@media(min-width: 3440px){.mail__notification.svelte-10j9df7.svelte-10j9df7{left:calc(0.0309375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__notification.svelte-10j9df7.svelte-10j9df7{left:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__notification.svelte-10j9df7.svelte-10j9df7{left:calc(0.0253125 * 100vw + 0px)}}@media(min-width: 4096px){.mail__notification.svelte-10j9df7.svelte-10j9df7{left:calc(0.0309375 * 100vw + 0px)}}.mail__block-notification.svelte-10j9df7.svelte-10j9df7{display:flex;align-items:center;background:rgba(255, 236, 170, 0.1);border-radius:calc(0.003125 * 100vw + 0px);width:calc(0.1979166667 * 100vw + 0px);height:calc(0.0333333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail__block-notification.svelte-10j9df7.svelte-10j9df7{border-radius:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__block-notification.svelte-10j9df7.svelte-10j9df7{border-radius:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__block-notification.svelte-10j9df7.svelte-10j9df7{border-radius:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.mail__block-notification.svelte-10j9df7.svelte-10j9df7{border-radius:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__block-notification.svelte-10j9df7.svelte-10j9df7{border-radius:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__block-notification.svelte-10j9df7.svelte-10j9df7{border-radius:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.mail__block-notification.svelte-10j9df7.svelte-10j9df7{border-radius:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail__block-notification.svelte-10j9df7.svelte-10j9df7{width:calc(0.1979166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__block-notification.svelte-10j9df7.svelte-10j9df7{width:calc(0.1979166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__block-notification.svelte-10j9df7.svelte-10j9df7{width:calc(0.1523958333 * 100vw + 0px)}}@media(min-width: 3440px){.mail__block-notification.svelte-10j9df7.svelte-10j9df7{width:calc(0.2177083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__block-notification.svelte-10j9df7.svelte-10j9df7{width:calc(0.1385416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__block-notification.svelte-10j9df7.svelte-10j9df7{width:calc(0.178125 * 100vw + 0px)}}@media(min-width: 4096px){.mail__block-notification.svelte-10j9df7.svelte-10j9df7{width:calc(0.2177083333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail__block-notification.svelte-10j9df7.svelte-10j9df7{height:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__block-notification.svelte-10j9df7.svelte-10j9df7{height:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__block-notification.svelte-10j9df7.svelte-10j9df7{height:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.mail__block-notification.svelte-10j9df7.svelte-10j9df7{height:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__block-notification.svelte-10j9df7.svelte-10j9df7{height:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__block-notification.svelte-10j9df7.svelte-10j9df7{height:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.mail__block-notification.svelte-10j9df7.svelte-10j9df7{height:calc(0.0366666667 * 100vw + 0px)}}.mail__block-notification-body.svelte-10j9df7.svelte-10j9df7{display:flex;align-items:center;margin-left:calc(0.0104166667 * 100vw + 0px);margin-top:calc(0.0052083333 * 100vw + 0px);margin-bottom:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail__block-notification-body.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__block-notification-body.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__block-notification-body.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.mail__block-notification-body.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__block-notification-body.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__block-notification-body.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.mail__block-notification-body.svelte-10j9df7.svelte-10j9df7{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail__block-notification-body.svelte-10j9df7.svelte-10j9df7{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__block-notification-body.svelte-10j9df7.svelte-10j9df7{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__block-notification-body.svelte-10j9df7.svelte-10j9df7{margin-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.mail__block-notification-body.svelte-10j9df7.svelte-10j9df7{margin-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__block-notification-body.svelte-10j9df7.svelte-10j9df7{margin-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__block-notification-body.svelte-10j9df7.svelte-10j9df7{margin-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.mail__block-notification-body.svelte-10j9df7.svelte-10j9df7{margin-top:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail__block-notification-body.svelte-10j9df7.svelte-10j9df7{margin-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__block-notification-body.svelte-10j9df7.svelte-10j9df7{margin-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__block-notification-body.svelte-10j9df7.svelte-10j9df7{margin-bottom:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.mail__block-notification-body.svelte-10j9df7.svelte-10j9df7{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__block-notification-body.svelte-10j9df7.svelte-10j9df7{margin-bottom:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__block-notification-body.svelte-10j9df7.svelte-10j9df7{margin-bottom:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.mail__block-notification-body.svelte-10j9df7.svelte-10j9df7{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}.mail__block-notification-logo.svelte-10j9df7.svelte-10j9df7{color:rgba(255, 236, 170, 0.8);height:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail__block-notification-logo.svelte-10j9df7.svelte-10j9df7{height:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__block-notification-logo.svelte-10j9df7.svelte-10j9df7{height:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__block-notification-logo.svelte-10j9df7.svelte-10j9df7{height:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.mail__block-notification-logo.svelte-10j9df7.svelte-10j9df7{height:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__block-notification-logo.svelte-10j9df7.svelte-10j9df7{height:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__block-notification-logo.svelte-10j9df7.svelte-10j9df7{height:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.mail__block-notification-logo.svelte-10j9df7.svelte-10j9df7{height:calc(0.01375 * 100vw + 0px)}}.mail__block-notification-title.svelte-10j9df7.svelte-10j9df7{font-family:\"GothamPro\";color:rgba(255, 236, 170, 0.8);font-size:calc(0.009375 * 100vw + 0px);padding-left:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail__block-notification-title.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__block-notification-title.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__block-notification-title.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.mail__block-notification-title.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__block-notification-title.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__block-notification-title.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.mail__block-notification-title.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail__block-notification-title.svelte-10j9df7.svelte-10j9df7{padding-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__block-notification-title.svelte-10j9df7.svelte-10j9df7{padding-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__block-notification-title.svelte-10j9df7.svelte-10j9df7{padding-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.mail__block-notification-title.svelte-10j9df7.svelte-10j9df7{padding-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__block-notification-title.svelte-10j9df7.svelte-10j9df7{padding-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__block-notification-title.svelte-10j9df7.svelte-10j9df7{padding-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.mail__block-notification-title.svelte-10j9df7.svelte-10j9df7{padding-left:calc(0.0114583333 * 100vw + 0px)}}.mail__message-empty-body.svelte-10j9df7.svelte-10j9df7{position:absolute;display:flex;align-items:center;flex-direction:column;top:calc(0.1677083333 * 100vw + 0px);left:calc(0.3645833333 * 100vw + 0px);gap:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail__message-empty-body.svelte-10j9df7.svelte-10j9df7{top:calc(0.1677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__message-empty-body.svelte-10j9df7.svelte-10j9df7{top:calc(0.1677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__message-empty-body.svelte-10j9df7.svelte-10j9df7{top:calc(0.1291354167 * 100vw + 0px)}}@media(min-width: 3440px){.mail__message-empty-body.svelte-10j9df7.svelte-10j9df7{top:calc(0.1844791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__message-empty-body.svelte-10j9df7.svelte-10j9df7{top:calc(0.1173958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__message-empty-body.svelte-10j9df7.svelte-10j9df7{top:calc(0.1509375 * 100vw + 0px)}}@media(min-width: 4096px){.mail__message-empty-body.svelte-10j9df7.svelte-10j9df7{top:calc(0.1844791667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail__message-empty-body.svelte-10j9df7.svelte-10j9df7{left:calc(0.3645833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__message-empty-body.svelte-10j9df7.svelte-10j9df7{left:calc(0.3645833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__message-empty-body.svelte-10j9df7.svelte-10j9df7{left:calc(0.2807291667 * 100vw + 0px)}}@media(min-width: 3440px){.mail__message-empty-body.svelte-10j9df7.svelte-10j9df7{left:calc(0.4010416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__message-empty-body.svelte-10j9df7.svelte-10j9df7{left:calc(0.2552083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__message-empty-body.svelte-10j9df7.svelte-10j9df7{left:calc(0.328125 * 100vw + 0px)}}@media(min-width: 4096px){.mail__message-empty-body.svelte-10j9df7.svelte-10j9df7{left:calc(0.4010416667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail__message-empty-body.svelte-10j9df7.svelte-10j9df7{gap:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__message-empty-body.svelte-10j9df7.svelte-10j9df7{gap:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__message-empty-body.svelte-10j9df7.svelte-10j9df7{gap:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.mail__message-empty-body.svelte-10j9df7.svelte-10j9df7{gap:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__message-empty-body.svelte-10j9df7.svelte-10j9df7{gap:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__message-empty-body.svelte-10j9df7.svelte-10j9df7{gap:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.mail__message-empty-body.svelte-10j9df7.svelte-10j9df7{gap:calc(0.0183333333 * 100vw + 0px)}}.mail__message-empty-outer.svelte-10j9df7.svelte-10j9df7{display:flex;align-items:center;justify-content:center;box-shadow:0px 0px 75px 0px rgba(255, 236, 170, 0.5);border-radius:50%;background-color:rgba(255, 236, 170, 0.3);width:calc(0.190625 * 100vw + 0px);height:calc(0.190625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail__message-empty-outer.svelte-10j9df7.svelte-10j9df7{width:calc(0.190625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__message-empty-outer.svelte-10j9df7.svelte-10j9df7{width:calc(0.190625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__message-empty-outer.svelte-10j9df7.svelte-10j9df7{width:calc(0.14678125 * 100vw + 0px)}}@media(min-width: 3440px){.mail__message-empty-outer.svelte-10j9df7.svelte-10j9df7{width:calc(0.2096875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__message-empty-outer.svelte-10j9df7.svelte-10j9df7{width:calc(0.1334375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__message-empty-outer.svelte-10j9df7.svelte-10j9df7{width:calc(0.1715625 * 100vw + 0px)}}@media(min-width: 4096px){.mail__message-empty-outer.svelte-10j9df7.svelte-10j9df7{width:calc(0.2096875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail__message-empty-outer.svelte-10j9df7.svelte-10j9df7{height:calc(0.190625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__message-empty-outer.svelte-10j9df7.svelte-10j9df7{height:calc(0.190625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__message-empty-outer.svelte-10j9df7.svelte-10j9df7{height:calc(0.14678125 * 100vw + 0px)}}@media(min-width: 3440px){.mail__message-empty-outer.svelte-10j9df7.svelte-10j9df7{height:calc(0.2096875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__message-empty-outer.svelte-10j9df7.svelte-10j9df7{height:calc(0.1334375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__message-empty-outer.svelte-10j9df7.svelte-10j9df7{height:calc(0.1715625 * 100vw + 0px)}}@media(min-width: 4096px){.mail__message-empty-outer.svelte-10j9df7.svelte-10j9df7{height:calc(0.2096875 * 100vw + 0px)}}.mail__message-empty-inner.svelte-10j9df7.svelte-10j9df7{display:flex;align-items:center;justify-content:center;border-radius:50%;background-color:rgba(255, 236, 170, 0.3);width:calc(0.134375 * 100vw + 0px);height:calc(0.134375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail__message-empty-inner.svelte-10j9df7.svelte-10j9df7{width:calc(0.134375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__message-empty-inner.svelte-10j9df7.svelte-10j9df7{width:calc(0.134375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__message-empty-inner.svelte-10j9df7.svelte-10j9df7{width:calc(0.10346875 * 100vw + 0px)}}@media(min-width: 3440px){.mail__message-empty-inner.svelte-10j9df7.svelte-10j9df7{width:calc(0.1478125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__message-empty-inner.svelte-10j9df7.svelte-10j9df7{width:calc(0.0940625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__message-empty-inner.svelte-10j9df7.svelte-10j9df7{width:calc(0.1209375 * 100vw + 0px)}}@media(min-width: 4096px){.mail__message-empty-inner.svelte-10j9df7.svelte-10j9df7{width:calc(0.1478125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail__message-empty-inner.svelte-10j9df7.svelte-10j9df7{height:calc(0.134375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__message-empty-inner.svelte-10j9df7.svelte-10j9df7{height:calc(0.134375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__message-empty-inner.svelte-10j9df7.svelte-10j9df7{height:calc(0.10346875 * 100vw + 0px)}}@media(min-width: 3440px){.mail__message-empty-inner.svelte-10j9df7.svelte-10j9df7{height:calc(0.1478125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__message-empty-inner.svelte-10j9df7.svelte-10j9df7{height:calc(0.0940625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__message-empty-inner.svelte-10j9df7.svelte-10j9df7{height:calc(0.1209375 * 100vw + 0px)}}@media(min-width: 4096px){.mail__message-empty-inner.svelte-10j9df7.svelte-10j9df7{height:calc(0.1478125 * 100vw + 0px)}}.mail__message-empty-img.svelte-10j9df7.svelte-10j9df7{height:calc(0.0770833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail__message-empty-img.svelte-10j9df7.svelte-10j9df7{height:calc(0.0770833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__message-empty-img.svelte-10j9df7.svelte-10j9df7{height:calc(0.0770833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__message-empty-img.svelte-10j9df7.svelte-10j9df7{height:calc(0.0593541667 * 100vw + 0px)}}@media(min-width: 3440px){.mail__message-empty-img.svelte-10j9df7.svelte-10j9df7{height:calc(0.0847916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__message-empty-img.svelte-10j9df7.svelte-10j9df7{height:calc(0.0539583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__message-empty-img.svelte-10j9df7.svelte-10j9df7{height:calc(0.069375 * 100vw + 0px)}}@media(min-width: 4096px){.mail__message-empty-img.svelte-10j9df7.svelte-10j9df7{height:calc(0.0847916667 * 100vw + 0px)}}.mail__message-empty-title.svelte-10j9df7.svelte-10j9df7{color:#FFFFFF;font-family:\"GothamPro-Medium\";font-size:calc(0.0197916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail__message-empty-title.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__message-empty-title.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__message-empty-title.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.0152395833 * 100vw + 0px)}}@media(min-width: 3440px){.mail__message-empty-title.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.0217708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__message-empty-title.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.0138541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__message-empty-title.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.0178125 * 100vw + 0px)}}@media(min-width: 4096px){.mail__message-empty-title.svelte-10j9df7.svelte-10j9df7{font-size:calc(0.0217708333 * 100vw + 0px)}}.mail__content.svelte-10j9df7.svelte-10j9df7{position:absolute;top:calc(0.0328125 * 100vw + 0px);left:calc(0.5458333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mail__content.svelte-10j9df7.svelte-10j9df7{top:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__content.svelte-10j9df7.svelte-10j9df7{top:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__content.svelte-10j9df7.svelte-10j9df7{top:calc(0.025265625 * 100vw + 0px)}}@media(min-width: 3440px){.mail__content.svelte-10j9df7.svelte-10j9df7{top:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__content.svelte-10j9df7.svelte-10j9df7{top:calc(0.02296875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__content.svelte-10j9df7.svelte-10j9df7{top:calc(0.02953125 * 100vw + 0px)}}@media(min-width: 4096px){.mail__content.svelte-10j9df7.svelte-10j9df7{top:calc(0.03609375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mail__content.svelte-10j9df7.svelte-10j9df7{left:calc(0.5458333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mail__content.svelte-10j9df7.svelte-10j9df7{left:calc(0.5458333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mail__content.svelte-10j9df7.svelte-10j9df7{left:calc(0.4202916667 * 100vw + 0px)}}@media(min-width: 3440px){.mail__content.svelte-10j9df7.svelte-10j9df7{left:calc(0.6004166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mail__content.svelte-10j9df7.svelte-10j9df7{left:calc(0.3820833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mail__content.svelte-10j9df7.svelte-10j9df7{left:calc(0.49125 * 100vw + 0px)}}@media(min-width: 4096px){.mail__content.svelte-10j9df7.svelte-10j9df7{left:calc(0.6004166667 * 100vw + 0px)}}");
}

function mail_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[23] = list[i];
	return child_ctx;
}

// (2709:4) {#if !isEmpty(messages)}
function mail_index_svelte_create_if_block_1(ctx) {
	let div;
	let p;
	let t;

	return {
		c() {
			div = internal_element("div");
			p = internal_element("p");
			t = internal_text(/*messagesCount*/ ctx[3]);
			attr(p, "class", "mail__logo-frame-text svelte-10j9df7");
			attr(div, "class", "mail__logo-frame svelte-10j9df7");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p);
			append(p, t);
		},
		p(ctx, dirty) {
			if (dirty & /*messagesCount*/ 8) set_data(t, /*messagesCount*/ ctx[3]);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (2764:1) {:else}
function mail_index_svelte_create_else_block(ctx) {
	let div2;
	let div1;
	let div0;
	let img;
	let img_src_value;
	let t0;
	let p;

	return {
		c() {
			div2 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			p.textContent = "В ящике пока нет сообщений";
			attr(img, "class", "mail__message-empty-img svelte-10j9df7");
			if (!src_url_equal(img.src, img_src_value = mail_message_empty_logo_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "MailMessageEmptyLogo");
			attr(div0, "class", "mail__message-empty-inner svelte-10j9df7");
			attr(div1, "class", "mail__message-empty-outer svelte-10j9df7");
			attr(p, "class", "mail__message-empty-title svelte-10j9df7");
			attr(div2, "class", "mail__message-empty-body svelte-10j9df7");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div1);
			append(div1, div0);
			append(div0, img);
			append(div2, t0);
			append(div2, p);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

// (2722:1) {#if !isEmpty(messages)}
function mail_index_svelte_create_if_block(ctx) {
	let div0;
	let t0;
	let div2;
	let div1;
	let each_blocks = [];
	let each_1_lookup = new Map();
	let t1;
	let div5;
	let t5;
	let div6;
	let previous_key = /*selectMessageId*/ ctx[2];
	let current;
	let mounted;
	let dispose;
	let each_value = /*messages*/ ctx[0];
	const get_key = ctx => /*message*/ ctx[23].id;

	for (let i = 0; i < each_value.length; i += 1) {
		let child_ctx = mail_index_svelte_get_each_context(ctx, each_value, i);
		let key = get_key(child_ctx);
		each_1_lookup.set(key, each_blocks[i] = mail_index_svelte_create_each_block(key, child_ctx));
	}

	let key_block = mail_index_svelte_create_key_block(ctx);

	return {
		c() {
			div0 = internal_element("div");
			t0 = space();
			div2 = internal_element("div");
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t1 = space();
			div5 = internal_element("div");

			div5.innerHTML = `<div class="mail__block-notification svelte-10j9df7"><div class="mail__block-notification-body svelte-10j9df7"><i class="mail__block-notification-logo icon-mail-notification svelte-10j9df7"></i> 
			    <p class="mail__block-notification-title svelte-10j9df7">Письмо хранится в ящике <br/>не более 14-дней</p></div></div>`;

			t5 = space();
			div6 = internal_element("div");
			key_block.c();
			attr(div0, "class", "mail__lighting svelte-10j9df7");
			attr(div1, "class", "mail__messages-wrapper svelte-10j9df7");
			attr(div2, "class", "mail__message svelte-10j9df7");
			attr(div5, "class", "mail__notification svelte-10j9df7");
			attr(div6, "class", "mail__content svelte-10j9df7");
		},
		m(target, anchor) {
			insert(target, div0, anchor);
			insert(target, t0, anchor);
			insert(target, div2, anchor);
			append(div2, div1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}

			insert(target, t1, anchor);
			insert(target, div5, anchor);
			insert(target, t5, anchor);
			insert(target, div6, anchor);
			key_block.m(div6, null);
			current = true;

			if (!mounted) {
				dispose = listen(div1, "scroll", /*scroll_handler*/ ctx[7]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*messages, selectMessageId, selecteMessage*/ 37) {
				each_value = /*messages*/ ctx[0];
				group_outros();
				each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, div1, outro_and_destroy_block, mail_index_svelte_create_each_block, null, mail_index_svelte_get_each_context);
				check_outros();
			}

			if (dirty & /*selectMessageId*/ 4 && safe_not_equal(previous_key, previous_key = /*selectMessageId*/ ctx[2])) {
				group_outros();
				transition_out(key_block, 1, 1, internal_noop);
				check_outros();
				key_block = mail_index_svelte_create_key_block(ctx);
				key_block.c();
				transition_in(key_block, 1);
				key_block.m(div6, null);
			} else {
				key_block.p(ctx, dirty);
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			transition_in(key_block);
			current = true;
		},
		o(local) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			transition_out(key_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div0);
			if (detaching) detach(t0);
			if (detaching) detach(div2);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].d();
			}

			if (detaching) detach(t1);
			if (detaching) detach(div5);
			if (detaching) detach(t5);
			if (detaching) detach(div6);
			key_block.d(detaching);
			mounted = false;
			dispose();
		}
	};
}

// (2728:12) {#each messages as message(message.id)}
function mail_index_svelte_create_each_block(key_1, ctx) {
	let div2;
	let div1;
	let i;
	let t0;
	let div0;
	let p0;
	let t1_value = /*message*/ ctx[23].title + "";
	let t1;
	let t2;
	let p1;
	let t3_value = /*message*/ ctx[23].date + "";
	let t3;
	let t4;
	let div2_outro;
	let current;
	let mounted;
	let dispose;

	return {
		key: key_1,
		first: null,
		c() {
			div2 = internal_element("div");
			div1 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div0 = internal_element("div");
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			p1 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = space();
			attr(i, "class", "mail__message-item-logo icon-mail-item svelte-10j9df7");
			attr(p0, "class", "mail__message-item-title svelte-10j9df7");
			attr(p1, "class", "mail__message-item-date svelte-10j9df7");
			attr(div0, "class", "mail__message-item-info svelte-10j9df7");
			attr(div1, "class", "mail__message-item-body svelte-10j9df7");
			attr(div2, "class", "mail__message-item svelte-10j9df7");
			toggle_class(div2, "mail__message-item--selected", /*message*/ ctx[23].id === /*selectMessageId*/ ctx[2]);
			this.first = div2;
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div1);
			append(div1, i);
			append(div1, t0);
			append(div1, div0);
			append(div0, p0);
			append(p0, t1);
			append(div0, t2);
			append(div0, p1);
			append(p1, t3);
			append(div2, t4);
			current = true;

			if (!mounted) {
				dispose = listen(div2, "click", function () {
					if (internal_is_function(/*selecteMessage*/ ctx[5](/*message*/ ctx[23].id))) /*selecteMessage*/ ctx[5](/*message*/ ctx[23].id).apply(this, arguments);
				});

				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if ((!current || dirty & /*messages*/ 1) && t1_value !== (t1_value = /*message*/ ctx[23].title + "")) set_data(t1, t1_value);
			if ((!current || dirty & /*messages*/ 1) && t3_value !== (t3_value = /*message*/ ctx[23].date + "")) set_data(t3, t3_value);

			if (dirty & /*messages, selectMessageId*/ 5) {
				toggle_class(div2, "mail__message-item--selected", /*message*/ ctx[23].id === /*selectMessageId*/ ctx[2]);
			}
		},
		i(local) {
			if (current) return;
			if (div2_outro) div2_outro.end(1);
			current = true;
		},
		o(local) {
			div2_outro = create_out_transition(div2, fly, {
				x: 100,
				duration: /*messages*/ ctx[0].length > 1 ? 600 : 0
			});

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div2);
			if (detaching && div2_outro) div2_outro.end();
			mounted = false;
			dispose();
		}
	};
}

// (2760:2) {#key selectMessageId}
function mail_index_svelte_create_key_block(ctx) {
	let messagecontent;
	let current;

	messagecontent = new content_index_svelte({
			props: {
				content: /*messageContent*/ ctx[1],
				selectMessageId: /*selectMessageId*/ ctx[2]
			}
		});

	return {
		c() {
			create_component(messagecontent.$$.fragment);
		},
		m(target, anchor) {
			mount_component(messagecontent, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const messagecontent_changes = {};
			if (dirty & /*messageContent*/ 2) messagecontent_changes.content = /*messageContent*/ ctx[1];
			if (dirty & /*selectMessageId*/ 4) messagecontent_changes.selectMessageId = /*selectMessageId*/ ctx[2];
			messagecontent.$set(messagecontent_changes);
		},
		i(local) {
			if (current) return;
			transition_in(messagecontent.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(messagecontent.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(messagecontent, detaching);
		}
	};
}

function mail_index_svelte_create_fragment(ctx) {
	let div3;
	let exitbutton;
	let t0;
	let div2;
	let div1;
	let div0;
	let img;
	let img_src_value;
	let t1;
	let show_if_1 = !(0,lodash.isEmpty)(/*messages*/ ctx[0]);
	let t2;
	let p;
	let t5;
	let show_if;
	let current_block_type_index;
	let if_block1;
	let current;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[4],
				fixedPosition: true
			}
		});

	let if_block0 = show_if_1 && mail_index_svelte_create_if_block_1(ctx);
	const if_block_creators = [mail_index_svelte_create_if_block, mail_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (dirty & /*messages*/ 1) show_if = null;
		if (show_if == null) show_if = !!!(0,lodash.isEmpty)(/*messages*/ ctx[0]);
		if (show_if) return 0;
		return 1;
	}

	current_block_type_index = select_block_type(ctx, -1);
	if_block1 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div3 = internal_element("div");
			create_component(exitbutton.$$.fragment);
			t0 = space();
			div2 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t1 = space();
			if (if_block0) if_block0.c();
			t2 = space();
			p = internal_element("p");
			p.innerHTML = `Входящие <br/>сообщения`;
			t5 = space();
			if_block1.c();
			attr(img, "class", "mail__logo-icon svelte-10j9df7");
			if (!src_url_equal(img.src, img_src_value = mail_logo_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "mail-logo");
			attr(div0, "class", "mail__logo-inner svelte-10j9df7");
			attr(div1, "class", "mail__logo-outer svelte-10j9df7");
			attr(p, "class", "mail__title svelte-10j9df7");
			attr(div2, "class", "mail__logo-wrapper svelte-10j9df7");
			attr(div3, "class", "mail svelte-10j9df7");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			mount_component(exitbutton, div3, null);
			append(div3, t0);
			append(div3, div2);
			append(div2, div1);
			append(div1, div0);
			append(div0, img);
			append(div0, t1);
			if (if_block0) if_block0.m(div0, null);
			append(div2, t2);
			append(div2, p);
			append(div3, t5);
			if_blocks[current_block_type_index].m(div3, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*messages*/ 1) show_if_1 = !(0,lodash.isEmpty)(/*messages*/ ctx[0]);

			if (show_if_1) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = mail_index_svelte_create_if_block_1(ctx);
					if_block0.c();
					if_block0.m(div0, null);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block1 = if_blocks[current_block_type_index];

				if (!if_block1) {
					if_block1 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block1.c();
				} else {
					if_block1.p(ctx, dirty);
				}

				transition_in(if_block1, 1);
				if_block1.m(div3, null);
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			transition_in(if_block1);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			transition_out(if_block1);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div3);
			destroy_component(exitbutton);
			if (if_block0) if_block0.d();
			if_blocks[current_block_type_index].d();
		}
	};
}

function mail_index_svelte_instance($$self, $$props, $$invalidate) {
	let messages = [];
	let messageContent = {};
	let selectMessageId = null;
	let isLoadMore = false;
	let disableLoadMore = false;
	let isMessagesMaximum = true;
	let messagesCount = 0;

	const initializeMessages = messagesDto => {
		$$invalidate(0, messages = messagesDto);
		$$invalidate(1, messageContent = {});
	};

	const initializeMessageContent = contentDto => {
		$$invalidate(1, messageContent = contentDto);
	};

	const inititalizeNewMessages = newMessagesDto => {
		$$invalidate(0, messages = [...messages, ...newMessagesDto]);
		$$invalidate(1, messageContent = {});
	};

	const sendMessagesMaximum = messagesMaximumDto => {
		isMessagesMaximum = messagesMaximumDto;
	};

	const setMessagesCount = messagesCountDto => {
		$$invalidate(3, messagesCount = messagesCountDto);
	};

	// initializeMessages(MESSAGE_ITEM_INFO);
	// initializeMessageContent(MESSAGE_CONTENT_INFO);
	const handleClose = () => {
		
	}; // exec close event

	const removeMessage = Id => {
		$$invalidate(0, messages = messages.filter(item => item.id !== Id));
		$$invalidate(2, selectMessageId = null);
		$$invalidate(1, messageContent = {});
		$$invalidate(3, messagesCount -= 1);
	};

	const selecteMessage = Id => {
		$$invalidate(2, selectMessageId = Id);
		sendClientMessage('mail.messages.selectId', Id);
	};

	const scrollHanlder = event => {
		const offset = event.target.scrollHeight - event.target.clientHeight - event.target.scrollTop;

		if (offset <= 155) {
			if (!isLoadMore && !disableLoadMore && !isMessagesMaximum) {
				sendClientMessage('mail.messages.needMore');

				// inititalizeNewMessages(MESSAGE_MORE_INFO);
				disableLoadMore = true;

				setTimeout(
					() => {
						disableLoadMore = false;
					},
					250
				);
			}

			isLoadMore = true;
		} else {
			isLoadMore = false;
		}
	};

	const unregisterInitializeMails = registerEvent('event.mail.messages.initialize', initializeMessages);
	const unregisterInitializeContent = registerEvent('event.mail.messages.initializeContent', initializeMessageContent);
	const unregisterRemoveMessage = registerEvent('event.mail.messages.remove', removeMessage);
	const unregisterNewMessages = registerEvent('event.mail.messages.more', inititalizeNewMessages);
	const unregisterMessagesMaximum = registerEvent('event.mail.messages.maximum', sendMessagesMaximum);
	const unregisterMessagesCount = registerEvent('event.mail.messages.count', setMessagesCount);

	onDestroy(() => {
		unregisterInitializeMails();
		unregisterInitializeContent();
		unregisterRemoveMessage();
		unregisterNewMessages();
		unregisterMessagesMaximum();
		unregisterMessagesCount();
	});

	const scroll_handler = event => scrollHanlder(event);

	return [
		messages,
		messageContent,
		selectMessageId,
		messagesCount,
		handleClose,
		selecteMessage,
		scrollHanlder,
		scroll_handler
	];
}

class Mail extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, mail_index_svelte_instance, mail_index_svelte_create_fragment, safe_not_equal, {}, mail_index_svelte_add_css);
	}
}

/* harmony default export */ const mail_index_svelte = (Mail);
;// CONCATENATED MODULE: ./src/views/easter-event/img/easter-event-logo.svg
const easter_event_logo_namespaceObject = __webpack_require__.p + "assets/6e257fc021dccfa271d0.svg";
;// CONCATENATED MODULE: ./src/views/easter-event/img/easter-event-grass.png
const easter_event_grass_namespaceObject = __webpack_require__.p + "assets/adc493c3f9ea27b94d19.webp";
;// CONCATENATED MODULE: ./src/views/easter-event/menu/img/easter-event-farmer.png
const easter_event_farmer_namespaceObject = __webpack_require__.p + "assets/3002b3f65ef9cc945880.webp";
;// CONCATENATED MODULE: ./src/views/easter-event/menu/img/easter-event-bunnies.png
const easter_event_bunnies_namespaceObject = __webpack_require__.p + "assets/b7bfe4727bd52237496c.webp";
;// CONCATENATED MODULE: ./src/views/easter-event/menu/img/easter-event-playerLogo.svg
const easter_event_playerLogo_namespaceObject = __webpack_require__.p + "assets/9d9187763021fb16a7f0.svg";
;// CONCATENATED MODULE: ./src/views/easter-event/img/easter-event-background.png
const easter_event_background_namespaceObject = __webpack_require__.p + "assets/29d3b770514f97bba48b.webp";
;// CONCATENATED MODULE: ./src/views/easter-event/components/background/index.svelte
/* src\views\easter-event\components\background\index.svelte generated by Svelte v3.49.0 */




function easter_event_components_background_index_svelte_add_css(target) {
	append_styles(target, "svelte-1by58zz", "@keyframes svelte-1by58zz-blinking{50%{opacity:0}}@keyframes svelte-1by58zz-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1by58zz-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1by58zz-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1by58zz-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1by58zz-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1by58zz-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1by58zz-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1by58zz-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1by58zz-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1by58zz-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1by58zz-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1by58zz-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1by58zz-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1by58zz-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.easter-event-background-sky.svelte-1by58zz{z-index:-1;width:100vw;height:100vh}");
}

function easter_event_components_background_index_svelte_create_fragment(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "easter-event-background-sky svelte-1by58zz");
			if (!src_url_equal(img.src, img_src_value = easter_event_background_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "BackgroundSky");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

class components_background_index_svelte_Background extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, easter_event_components_background_index_svelte_create_fragment, safe_not_equal, {}, easter_event_components_background_index_svelte_add_css);
	}
}

/* harmony default export */ const easter_event_components_background_index_svelte = (components_background_index_svelte_Background);
;// CONCATENATED MODULE: ./src/views/easter-event/menu/index.svelte
/* src\views\easter-event\menu\index.svelte generated by Svelte v3.49.0 */









// import { PLAYER_STATS } from './mocks';








function easter_event_menu_index_svelte_add_css(target) {
	append_styles(target, "svelte-gj12si", "@keyframes svelte-gj12si-blinking{50%{opacity:0}}@keyframes svelte-gj12si-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-gj12si-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-gj12si-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-gj12si-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-gj12si-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-gj12si-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-gj12si-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-gj12si-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-gj12si-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-gj12si-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-gj12si-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-gj12si-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-gj12si-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-gj12si-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.easter-event-menu.svelte-gj12si{display:flex;align-items:center;flex-direction:column;width:100vw;height:100vh;background:linear-gradient(180deg, rgba(108, 176, 239, 0.9) 0%, rgba(226, 248, 255, 0.9) 100%)}.easter-event-menu__farmer-img.svelte-gj12si{position:absolute;z-index:1;left:0;bottom:0;height:calc(0.5104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__farmer-img.svelte-gj12si{height:calc(0.5104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__farmer-img.svelte-gj12si{height:calc(0.5104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__farmer-img.svelte-gj12si{height:calc(0.3930208333 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__farmer-img.svelte-gj12si{height:calc(0.5614583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__farmer-img.svelte-gj12si{height:calc(0.3572916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__farmer-img.svelte-gj12si{height:calc(0.459375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__farmer-img.svelte-gj12si{height:calc(0.5614583333 * 100vw + 0px)}}.easter-event-menu__grass-img.svelte-gj12si{z-index:1;position:absolute;width:100vw;height:100vh;pointer-events:none}.easter-event-menu__background-quests.svelte-gj12si{position:absolute;right:0;bottom:0;pointer-events:none;height:calc(0.296875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__background-quests.svelte-gj12si{height:calc(0.296875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__background-quests.svelte-gj12si{height:calc(0.296875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__background-quests.svelte-gj12si{height:calc(0.22859375 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__background-quests.svelte-gj12si{height:calc(0.3265625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__background-quests.svelte-gj12si{height:calc(0.2078125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__background-quests.svelte-gj12si{height:calc(0.2671875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__background-quests.svelte-gj12si{height:calc(0.3265625 * 100vw + 0px)}}.easter-event-menu__logo.svelte-gj12si{position:absolute;display:flex;align-items:center;top:calc(0.01875 * 100vw + 0px);left:calc(0.0270833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__logo.svelte-gj12si{top:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__logo.svelte-gj12si{top:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__logo.svelte-gj12si{top:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__logo.svelte-gj12si{top:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__logo.svelte-gj12si{top:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__logo.svelte-gj12si{top:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__logo.svelte-gj12si{top:calc(0.020625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__logo.svelte-gj12si{left:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__logo.svelte-gj12si{left:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__logo.svelte-gj12si{left:calc(0.0208541667 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__logo.svelte-gj12si{left:calc(0.0297916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__logo.svelte-gj12si{left:calc(0.0189583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__logo.svelte-gj12si{left:calc(0.024375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__logo.svelte-gj12si{left:calc(0.0297916667 * 100vw + 0px)}}.easter-event-menu__logo-icon.svelte-gj12si{height:calc(0.0489583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__logo-icon.svelte-gj12si{height:calc(0.0489583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__logo-icon.svelte-gj12si{height:calc(0.0489583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__logo-icon.svelte-gj12si{height:calc(0.0376979167 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__logo-icon.svelte-gj12si{height:calc(0.0538541667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__logo-icon.svelte-gj12si{height:calc(0.0342708333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__logo-icon.svelte-gj12si{height:calc(0.0440625 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__logo-icon.svelte-gj12si{height:calc(0.0538541667 * 100vw + 0px)}}.easter-event-menu__take-contract.svelte-gj12si{z-index:1;position:absolute;display:flex;flex-direction:column;right:calc(0.1510416667 * 100vw + 0px);top:calc(0.2010416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__take-contract.svelte-gj12si{right:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__take-contract.svelte-gj12si{right:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__take-contract.svelte-gj12si{right:calc(0.1163020833 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__take-contract.svelte-gj12si{right:calc(0.1661458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__take-contract.svelte-gj12si{right:calc(0.1057291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__take-contract.svelte-gj12si{right:calc(0.1359375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__take-contract.svelte-gj12si{right:calc(0.1661458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__take-contract.svelte-gj12si{top:calc(0.2010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__take-contract.svelte-gj12si{top:calc(0.2010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__take-contract.svelte-gj12si{top:calc(0.1548020833 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__take-contract.svelte-gj12si{top:calc(0.2211458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__take-contract.svelte-gj12si{top:calc(0.1407291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__take-contract.svelte-gj12si{top:calc(0.1809375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__take-contract.svelte-gj12si{top:calc(0.2211458333 * 100vw + 0px)}}.easter-event-menu__take-contract-title.svelte-gj12si{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0333333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__take-contract-title.svelte-gj12si{font-size:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__take-contract-title.svelte-gj12si{font-size:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__take-contract-title.svelte-gj12si{font-size:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__take-contract-title.svelte-gj12si{font-size:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__take-contract-title.svelte-gj12si{font-size:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__take-contract-title.svelte-gj12si{font-size:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__take-contract-title.svelte-gj12si{font-size:calc(0.0366666667 * 100vw + 0px)}}.easter-event-menu__take-contract-title--bold.svelte-gj12si{font-family:\"GothamPro-Bold\"}.easter-event-menu__take-contract-btn.svelte-gj12si{display:flex;justify-content:center;align-items:center;cursor:pointer;font-size:calc(0.009375 * 100vw + 0px);width:calc(0.0520833333 * 100vw + 0px);height:calc(0.0234375 * 100vw + 0px);margin-top:calc(0.0083333333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__take-contract-btn.svelte-gj12si{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__take-contract-btn.svelte-gj12si{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__take-contract-btn.svelte-gj12si{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__take-contract-btn.svelte-gj12si{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__take-contract-btn.svelte-gj12si{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__take-contract-btn.svelte-gj12si{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__take-contract-btn.svelte-gj12si{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__take-contract-btn.svelte-gj12si{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__take-contract-btn.svelte-gj12si{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__take-contract-btn.svelte-gj12si{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__take-contract-btn.svelte-gj12si{width:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__take-contract-btn.svelte-gj12si{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__take-contract-btn.svelte-gj12si{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__take-contract-btn.svelte-gj12si{width:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__take-contract-btn.svelte-gj12si{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__take-contract-btn.svelte-gj12si{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__take-contract-btn.svelte-gj12si{height:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__take-contract-btn.svelte-gj12si{height:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__take-contract-btn.svelte-gj12si{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__take-contract-btn.svelte-gj12si{height:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__take-contract-btn.svelte-gj12si{height:calc(0.02578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__take-contract-btn.svelte-gj12si{margin-top:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__take-contract-btn.svelte-gj12si{margin-top:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__take-contract-btn.svelte-gj12si{margin-top:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__take-contract-btn.svelte-gj12si{margin-top:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__take-contract-btn.svelte-gj12si{margin-top:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__take-contract-btn.svelte-gj12si{margin-top:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__take-contract-btn.svelte-gj12si{margin-top:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__take-contract-btn.svelte-gj12si{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__take-contract-btn.svelte-gj12si{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__take-contract-btn.svelte-gj12si{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__take-contract-btn.svelte-gj12si{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__take-contract-btn.svelte-gj12si{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__take-contract-btn.svelte-gj12si{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__take-contract-btn.svelte-gj12si{border-radius:calc(0.0057291667 * 100vw + 0px)}}.easter-event-menu__player-title-wrapper.svelte-gj12si{z-index:1;position:absolute;bottom:calc(0.1104166667 * 100vw + 0px);left:calc(0.4234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__player-title-wrapper.svelte-gj12si{bottom:calc(0.1104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__player-title-wrapper.svelte-gj12si{bottom:calc(0.1104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__player-title-wrapper.svelte-gj12si{bottom:calc(0.0850208333 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__player-title-wrapper.svelte-gj12si{bottom:calc(0.1214583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__player-title-wrapper.svelte-gj12si{bottom:calc(0.0772916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__player-title-wrapper.svelte-gj12si{bottom:calc(0.099375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__player-title-wrapper.svelte-gj12si{bottom:calc(0.1214583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__player-title-wrapper.svelte-gj12si{left:calc(0.4234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__player-title-wrapper.svelte-gj12si{left:calc(0.4234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__player-title-wrapper.svelte-gj12si{left:calc(0.326046875 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__player-title-wrapper.svelte-gj12si{left:calc(0.46578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__player-title-wrapper.svelte-gj12si{left:calc(0.29640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__player-title-wrapper.svelte-gj12si{left:calc(0.38109375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__player-title-wrapper.svelte-gj12si{left:calc(0.46578125 * 100vw + 0px)}}.easter-event-menu__player-title.svelte-gj12si{font-family:\"GothamPro-Bold\";color:#FFFFFF;font-size:calc(0.0208333333 * 100vw + 0px);width:calc(0.1822916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__player-title.svelte-gj12si{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__player-title.svelte-gj12si{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__player-title.svelte-gj12si{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__player-title.svelte-gj12si{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__player-title.svelte-gj12si{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__player-title.svelte-gj12si{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__player-title.svelte-gj12si{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__player-title.svelte-gj12si{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__player-title.svelte-gj12si{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__player-title.svelte-gj12si{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__player-title.svelte-gj12si{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__player-title.svelte-gj12si{width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__player-title.svelte-gj12si{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__player-title.svelte-gj12si{width:calc(0.2005208333 * 100vw + 0px)}}.easter-event-menu__player-name.svelte-gj12si{display:flex;align-items:center;color:#FFFFFF;background:rgba(10, 35, 46, 0.25);font-family:\"GothamPro-Bold\";width:calc(0.1822916667 * 100vw + 0px);height:calc(0.0520833333 * 100vw + 0px);border-radius:calc(0.0078125 * 100vw + 0px);font-size:calc(0.0166666667 * 100vw + 0px);margin-top:calc(0.0182291667 * 100vw + 0px);margin-bottom:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__player-name.svelte-gj12si{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__player-name.svelte-gj12si{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__player-name.svelte-gj12si{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__player-name.svelte-gj12si{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__player-name.svelte-gj12si{width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__player-name.svelte-gj12si{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__player-name.svelte-gj12si{width:calc(0.2005208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__player-name.svelte-gj12si{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__player-name.svelte-gj12si{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__player-name.svelte-gj12si{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__player-name.svelte-gj12si{height:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__player-name.svelte-gj12si{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__player-name.svelte-gj12si{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__player-name.svelte-gj12si{height:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__player-name.svelte-gj12si{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__player-name.svelte-gj12si{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__player-name.svelte-gj12si{border-radius:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__player-name.svelte-gj12si{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__player-name.svelte-gj12si{border-radius:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__player-name.svelte-gj12si{border-radius:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__player-name.svelte-gj12si{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__player-name.svelte-gj12si{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__player-name.svelte-gj12si{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__player-name.svelte-gj12si{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__player-name.svelte-gj12si{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__player-name.svelte-gj12si{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__player-name.svelte-gj12si{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__player-name.svelte-gj12si{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__player-name.svelte-gj12si{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__player-name.svelte-gj12si{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__player-name.svelte-gj12si{margin-top:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__player-name.svelte-gj12si{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__player-name.svelte-gj12si{margin-top:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__player-name.svelte-gj12si{margin-top:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__player-name.svelte-gj12si{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__player-name.svelte-gj12si{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__player-name.svelte-gj12si{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__player-name.svelte-gj12si{margin-bottom:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__player-name.svelte-gj12si{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__player-name.svelte-gj12si{margin-bottom:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__player-name.svelte-gj12si{margin-bottom:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__player-name.svelte-gj12si{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}.easter-event-menu__player-icon-wrapper.svelte-gj12si{height:calc(0.0208333333 * 100vw + 0px);margin-right:calc(0.0104166667 * 100vw + 0px);margin-left:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__player-icon-wrapper.svelte-gj12si{height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__player-icon-wrapper.svelte-gj12si{height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__player-icon-wrapper.svelte-gj12si{height:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__player-icon-wrapper.svelte-gj12si{height:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__player-icon-wrapper.svelte-gj12si{height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__player-icon-wrapper.svelte-gj12si{height:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__player-icon-wrapper.svelte-gj12si{height:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__player-icon-wrapper.svelte-gj12si{margin-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__player-icon-wrapper.svelte-gj12si{margin-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__player-icon-wrapper.svelte-gj12si{margin-right:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__player-icon-wrapper.svelte-gj12si{margin-right:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__player-icon-wrapper.svelte-gj12si{margin-right:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__player-icon-wrapper.svelte-gj12si{margin-right:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__player-icon-wrapper.svelte-gj12si{margin-right:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__player-icon-wrapper.svelte-gj12si{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__player-icon-wrapper.svelte-gj12si{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__player-icon-wrapper.svelte-gj12si{margin-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__player-icon-wrapper.svelte-gj12si{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__player-icon-wrapper.svelte-gj12si{margin-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__player-icon-wrapper.svelte-gj12si{margin-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__player-icon-wrapper.svelte-gj12si{margin-left:calc(0.0114583333 * 100vw + 0px)}}.easter-event-menu__player-icon.svelte-gj12si{width:calc(0.0208333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__player-icon.svelte-gj12si{width:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__player-icon.svelte-gj12si{width:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__player-icon.svelte-gj12si{width:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__player-icon.svelte-gj12si{width:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__player-icon.svelte-gj12si{width:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__player-icon.svelte-gj12si{width:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__player-icon.svelte-gj12si{width:calc(0.0229166667 * 100vw + 0px)}}.easter-event-menu__player-stats.svelte-gj12si{display:flex;justify-content:space-between;border-radius:15px;background:rgba(10, 35, 46, 0.25);width:calc(0.1822916667 * 100vw + 0px);padding-bottom:calc(0.0119791667 * 100vw + 0px);padding-left:calc(0.0234375 * 100vw + 0px);padding-right:calc(0.0234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__player-stats.svelte-gj12si{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__player-stats.svelte-gj12si{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__player-stats.svelte-gj12si{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__player-stats.svelte-gj12si{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__player-stats.svelte-gj12si{width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__player-stats.svelte-gj12si{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__player-stats.svelte-gj12si{width:calc(0.2005208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__player-stats.svelte-gj12si{padding-bottom:calc(0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__player-stats.svelte-gj12si{padding-bottom:calc(0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__player-stats.svelte-gj12si{padding-bottom:calc(0.0092239583 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__player-stats.svelte-gj12si{padding-bottom:calc(0.0131770833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__player-stats.svelte-gj12si{padding-bottom:calc(0.0083854167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__player-stats.svelte-gj12si{padding-bottom:calc(0.01078125 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__player-stats.svelte-gj12si{padding-bottom:calc(0.0131770833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__player-stats.svelte-gj12si{padding-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__player-stats.svelte-gj12si{padding-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__player-stats.svelte-gj12si{padding-left:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__player-stats.svelte-gj12si{padding-left:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__player-stats.svelte-gj12si{padding-left:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__player-stats.svelte-gj12si{padding-left:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__player-stats.svelte-gj12si{padding-left:calc(0.02578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__player-stats.svelte-gj12si{padding-right:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__player-stats.svelte-gj12si{padding-right:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__player-stats.svelte-gj12si{padding-right:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__player-stats.svelte-gj12si{padding-right:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__player-stats.svelte-gj12si{padding-right:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__player-stats.svelte-gj12si{padding-right:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__player-stats.svelte-gj12si{padding-right:calc(0.02578125 * 100vw + 0px)}}.easter-event-menu__player-quest-count.svelte-gj12si{font-family:\"GothamPro-Bold\";color:#FFFFFF;font-size:calc(0.0125 * 100vw + 0px);padding-top:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__player-quest-count.svelte-gj12si{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__player-quest-count.svelte-gj12si{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__player-quest-count.svelte-gj12si{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__player-quest-count.svelte-gj12si{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__player-quest-count.svelte-gj12si{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__player-quest-count.svelte-gj12si{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__player-quest-count.svelte-gj12si{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__player-quest-count.svelte-gj12si{padding-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__player-quest-count.svelte-gj12si{padding-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__player-quest-count.svelte-gj12si{padding-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__player-quest-count.svelte-gj12si{padding-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__player-quest-count.svelte-gj12si{padding-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__player-quest-count.svelte-gj12si{padding-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__player-quest-count.svelte-gj12si{padding-top:calc(0.0143229167 * 100vw + 0px)}}.easter-event-menu__player-quest-title.svelte-gj12si{font-family:\"GothamPro\";color:#FFFFFF;width:fit-content;padding-top:calc(0.0052083333 * 100vw + 0px);font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__player-quest-title.svelte-gj12si{padding-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__player-quest-title.svelte-gj12si{padding-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__player-quest-title.svelte-gj12si{padding-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__player-quest-title.svelte-gj12si{padding-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__player-quest-title.svelte-gj12si{padding-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__player-quest-title.svelte-gj12si{padding-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__player-quest-title.svelte-gj12si{padding-top:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__player-quest-title.svelte-gj12si{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__player-quest-title.svelte-gj12si{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__player-quest-title.svelte-gj12si{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__player-quest-title.svelte-gj12si{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__player-quest-title.svelte-gj12si{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__player-quest-title.svelte-gj12si{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__player-quest-title.svelte-gj12si{font-size:calc(0.006875 * 100vw + 0px)}}.easter-event-menu__player-stats-left.svelte-gj12si{width:calc(0.0479166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__player-stats-left.svelte-gj12si{width:calc(0.0479166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__player-stats-left.svelte-gj12si{width:calc(0.0479166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__player-stats-left.svelte-gj12si{width:calc(0.0368958333 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__player-stats-left.svelte-gj12si{width:calc(0.0527083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__player-stats-left.svelte-gj12si{width:calc(0.0335416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__player-stats-left.svelte-gj12si{width:calc(0.043125 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__player-stats-left.svelte-gj12si{width:calc(0.0527083333 * 100vw + 0px)}}.easter-event-menu__player-stats-right.svelte-gj12si{width:calc(0.0578125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-menu__player-stats-right.svelte-gj12si{width:calc(0.0578125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-menu__player-stats-right.svelte-gj12si{width:calc(0.0578125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-menu__player-stats-right.svelte-gj12si{width:calc(0.044515625 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-menu__player-stats-right.svelte-gj12si{width:calc(0.06359375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-menu__player-stats-right.svelte-gj12si{width:calc(0.04046875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-menu__player-stats-right.svelte-gj12si{width:calc(0.05203125 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-menu__player-stats-right.svelte-gj12si{width:calc(0.06359375 * 100vw + 0px)}}");
}

function easter_event_menu_index_svelte_create_fragment(ctx) {
	let div11;
	let exitbutton;
	let t0;
	let img0;
	let img0_src_value;
	let t1;
	let eastereventbackground;
	let t2;
	let img1;
	let img1_src_value;
	let t3;
	let img2;
	let img2_src_value;
	let t4;
	let div0;
	let img3;
	let img3_src_value;
	let t5;
	let div2;
	let p0;
	let t9;
	let div1;
	let actionbutton;
	let t10;
	let div10;
	let p1;
	let t12;
	let div4;
	let div3;
	let img4;
	let img4_src_value;
	let t13;
	let p2;
	let t14_value = /*stats*/ ctx[0].name + "";
	let t14;
	let t15;
	let div9;
	let div6;
	let div5;
	let p3;
	let t16_value = /*stats*/ ctx[0].completedQuests + "";
	let t16;
	let t17;
	let p4;
	let t19;
	let div8;
	let div7;
	let p5;
	let t20_value = /*stats*/ ctx[0].earnedAzCoins + "";
	let t20;
	let t21;
	let p6;
	let current;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[1],
				fixedPosition: true
			}
		});

	eastereventbackground = new easter_event_components_background_index_svelte({});

	actionbutton = new index_svelte({
			props: {
				onPress: /*onTakeQuest*/ ctx[2],
				keyTitle: "Enter",
				keyCode: 13,
				size: ActionButtonSize.FillFree
			}
		});

	return {
		c() {
			div11 = internal_element("div");
			create_component(exitbutton.$$.fragment);
			t0 = space();
			img0 = internal_element("img");
			t1 = space();
			create_component(eastereventbackground.$$.fragment);
			t2 = space();
			img1 = internal_element("img");
			t3 = space();
			img2 = internal_element("img");
			t4 = space();
			div0 = internal_element("div");
			img3 = internal_element("img");
			t5 = space();
			div2 = internal_element("div");
			p0 = internal_element("p");

			p0.innerHTML = `Взять
            <br/> 
            <span class="easter-event-menu__take-contract-title--bold svelte-gj12si">задание</span>`;

			t9 = space();
			div1 = internal_element("div");
			create_component(actionbutton.$$.fragment);
			t10 = space();
			div10 = internal_element("div");
			p1 = internal_element("p");
			p1.textContent = "Активность на мероприятии";
			t12 = space();
			div4 = internal_element("div");
			div3 = internal_element("div");
			img4 = internal_element("img");
			t13 = space();
			p2 = internal_element("p");
			t14 = internal_text(t14_value);
			t15 = space();
			div9 = internal_element("div");
			div6 = internal_element("div");
			div5 = internal_element("div");
			p3 = internal_element("p");
			t16 = internal_text(t16_value);
			t17 = space();
			p4 = internal_element("p");
			p4.textContent = "Выполнено заданий";
			t19 = space();
			div8 = internal_element("div");
			div7 = internal_element("div");
			p5 = internal_element("p");
			t20 = internal_text(t20_value);
			t21 = space();
			p6 = internal_element("p");
			p6.textContent = "Заработано AZ-Coins";
			attr(img0, "class", "easter-event-menu__farmer-img svelte-gj12si");
			if (!src_url_equal(img0.src, img0_src_value = easter_event_farmer_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "farmer");
			attr(img1, "class", "easter-event-menu__grass-img svelte-gj12si");
			if (!src_url_equal(img1.src, img1_src_value = easter_event_grass_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "grass-background");
			attr(img2, "class", "easter-event-menu__background-quests svelte-gj12si");
			if (!src_url_equal(img2.src, img2_src_value = easter_event_bunnies_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "questBackground");
			attr(img3, "class", "easter-event-menu__logo-icon svelte-gj12si");
			if (!src_url_equal(img3.src, img3_src_value = easter_event_logo_namespaceObject)) attr(img3, "src", img3_src_value);
			attr(img3, "alt", "logo");
			attr(div0, "class", "easter-event-menu__logo svelte-gj12si");
			attr(p0, "class", "easter-event-menu__take-contract-title svelte-gj12si");
			attr(div1, "class", "easter-event-menu__take-contract-btn svelte-gj12si");
			attr(div2, "class", "easter-event-menu__take-contract svelte-gj12si");
			attr(p1, "class", "easter-event-menu__player-title svelte-gj12si");
			attr(img4, "class", "easter-event-menu__player-icon svelte-gj12si");
			if (!src_url_equal(img4.src, img4_src_value = easter_event_playerLogo_namespaceObject)) attr(img4, "src", img4_src_value);
			attr(img4, "alt", "playerLogo");
			attr(div3, "class", "easter-event-menu__player-icon-wrapper svelte-gj12si");
			attr(p2, "class", "easter-event-menu__player");
			attr(div4, "class", "easter-event-menu__player-name svelte-gj12si");
			attr(p3, "class", "easter-event-menu__player-quest-count svelte-gj12si");
			attr(p4, "class", "easter-event-menu__player-quest-title svelte-gj12si");
			attr(div5, "class", "easter-event-menu__player-completed-quests");
			attr(div6, "class", "easter-event-menu__player-stats-left svelte-gj12si");
			attr(p5, "class", "easter-event-menu__player-quest-count svelte-gj12si");
			attr(p6, "class", "easter-event-menu__player-quest-title svelte-gj12si");
			attr(div7, "class", "easter-event-menu__player-az-coins");
			attr(div8, "class", "easter-event-menu__player-stats-right svelte-gj12si");
			attr(div9, "class", "easter-event-menu__player-stats svelte-gj12si");
			attr(div10, "class", "easter-event-menu__player-title-wrapper svelte-gj12si");
			attr(div11, "class", "easter-event-menu svelte-gj12si");
		},
		m(target, anchor) {
			insert(target, div11, anchor);
			mount_component(exitbutton, div11, null);
			append(div11, t0);
			append(div11, img0);
			append(div11, t1);
			mount_component(eastereventbackground, div11, null);
			append(div11, t2);
			append(div11, img1);
			append(div11, t3);
			append(div11, img2);
			append(div11, t4);
			append(div11, div0);
			append(div0, img3);
			append(div11, t5);
			append(div11, div2);
			append(div2, p0);
			append(div2, t9);
			append(div2, div1);
			mount_component(actionbutton, div1, null);
			append(div11, t10);
			append(div11, div10);
			append(div10, p1);
			append(div10, t12);
			append(div10, div4);
			append(div4, div3);
			append(div3, img4);
			append(div4, t13);
			append(div4, p2);
			append(p2, t14);
			append(div10, t15);
			append(div10, div9);
			append(div9, div6);
			append(div6, div5);
			append(div5, p3);
			append(p3, t16);
			append(div5, t17);
			append(div5, p4);
			append(div9, t19);
			append(div9, div8);
			append(div8, div7);
			append(div7, p5);
			append(p5, t20);
			append(div7, t21);
			append(div7, p6);
			current = true;
		},
		p(ctx, [dirty]) {
			if ((!current || dirty & /*stats*/ 1) && t14_value !== (t14_value = /*stats*/ ctx[0].name + "")) set_data(t14, t14_value);
			if ((!current || dirty & /*stats*/ 1) && t16_value !== (t16_value = /*stats*/ ctx[0].completedQuests + "")) set_data(t16, t16_value);
			if ((!current || dirty & /*stats*/ 1) && t20_value !== (t20_value = /*stats*/ ctx[0].earnedAzCoins + "")) set_data(t20, t20_value);
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			transition_in(eastereventbackground.$$.fragment, local);
			transition_in(actionbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			transition_out(eastereventbackground.$$.fragment, local);
			transition_out(actionbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div11);
			destroy_component(exitbutton);
			destroy_component(eastereventbackground);
			destroy_component(actionbutton);
		}
	};
}

function easter_event_menu_index_svelte_instance($$self, $$props, $$invalidate) {
	let stats = {};

	const initStats = statsDto => {
		$$invalidate(0, stats = statsDto);
	};

	const handleClose = () => {
		
	}; // exec close event

	const onTakeQuest = () => {
		sendClientMessage('easterEvent.stats.openQuests');
	};

	const unregisterInitStatsEvent = registerEvent('easterEvent.stats.initialize', initStats);

	onDestroy(() => {
		unregisterInitStatsEvent();
	});

	return [stats, handleClose, onTakeQuest];
}

class easter_event_menu_index_svelte_Menu extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, easter_event_menu_index_svelte_instance, easter_event_menu_index_svelte_create_fragment, safe_not_equal, {}, easter_event_menu_index_svelte_add_css);
	}
}

/* harmony default export */ const easter_event_menu_index_svelte = (easter_event_menu_index_svelte_Menu);
;// CONCATENATED MODULE: ./src/views/easter-event/quests/img/easter-quests-farmer.png
const easter_quests_farmer_namespaceObject = __webpack_require__.p + "assets/a8c1ac30d9b7a61096d8.webp";
;// CONCATENATED MODULE: ./src/views/easter-event/quests/img/easter-quests-bunnies.png
const easter_quests_bunnies_namespaceObject = __webpack_require__.p + "assets/10af810cafe0eae2c3c4.webp";
;// CONCATENATED MODULE: ./src/views/easter-event/quests/components/accordion/img/arrow.svg
const easter_event_quests_components_accordion_img_arrow_namespaceObject = __webpack_require__.p + "assets/60aa0149fcc38157134b.svg";
;// CONCATENATED MODULE: ./src/views/easter-event/quests/components/accordion/index.svelte
/* src\views\easter-event\quests\components\accordion\index.svelte generated by Svelte v3.49.0 */







function easter_event_quests_components_accordion_index_svelte_add_css(target) {
	append_styles(target, "svelte-z8p8ml", "@keyframes svelte-z8p8ml-blinking{50%{opacity:0}}@keyframes svelte-z8p8ml-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-z8p8ml-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-z8p8ml-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-z8p8ml-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-z8p8ml-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-z8p8ml-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-z8p8ml-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-z8p8ml-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-z8p8ml-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-z8p8ml-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-z8p8ml-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-z8p8ml-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-z8p8ml-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-z8p8ml-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.easter-event-quests__items-block.svelte-z8p8ml{background:#FFFFFF;overflow:hidden;cursor:pointer;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.3125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-block.svelte-z8p8ml{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-block.svelte-z8p8ml{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-block.svelte-z8p8ml{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-block.svelte-z8p8ml{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-block.svelte-z8p8ml{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-block.svelte-z8p8ml{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-block.svelte-z8p8ml{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-block.svelte-z8p8ml{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-block.svelte-z8p8ml{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-block.svelte-z8p8ml{width:calc(0.240625 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-block.svelte-z8p8ml{width:calc(0.34375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-block.svelte-z8p8ml{width:calc(0.21875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-block.svelte-z8p8ml{width:calc(0.28125 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-block.svelte-z8p8ml{width:calc(0.34375 * 100vw + 0px)}}.easter-event-quests__items-block.svelte-z8p8ml:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-block.svelte-z8p8ml:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-block.svelte-z8p8ml:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-block.svelte-z8p8ml:not(:first-child){margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-block.svelte-z8p8ml:not(:first-child){margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-block.svelte-z8p8ml:not(:first-child){margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-block.svelte-z8p8ml:not(:first-child){margin-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-block.svelte-z8p8ml:not(:first-child){margin-top:calc(0.0114583333 * 100vw + 0px)}}.easter-event-quests__items-block-upper.svelte-z8p8ml{display:flex;align-items:center;justify-content:space-between;position:relative}.easter-event-quests__items-block-text.svelte-z8p8ml{padding-top:calc(0.0152604167 * 100vw + 0px);padding-bottom:calc(0.0151041667 * 100vw + 0px);padding-left:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-block-text.svelte-z8p8ml{padding-top:calc(0.0152604167 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-block-text.svelte-z8p8ml{padding-top:calc(0.0152604167 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-block-text.svelte-z8p8ml{padding-top:calc(0.0117505208 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-block-text.svelte-z8p8ml{padding-top:calc(0.0167864583 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-block-text.svelte-z8p8ml{padding-top:calc(0.0106822917 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-block-text.svelte-z8p8ml{padding-top:calc(0.013734375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-block-text.svelte-z8p8ml{padding-top:calc(0.0167864583 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-block-text.svelte-z8p8ml{padding-bottom:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-block-text.svelte-z8p8ml{padding-bottom:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-block-text.svelte-z8p8ml{padding-bottom:calc(0.0116302083 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-block-text.svelte-z8p8ml{padding-bottom:calc(0.0166145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-block-text.svelte-z8p8ml{padding-bottom:calc(0.0105729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-block-text.svelte-z8p8ml{padding-bottom:calc(0.01359375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-block-text.svelte-z8p8ml{padding-bottom:calc(0.0166145833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-block-text.svelte-z8p8ml{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-block-text.svelte-z8p8ml{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-block-text.svelte-z8p8ml{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-block-text.svelte-z8p8ml{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-block-text.svelte-z8p8ml{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-block-text.svelte-z8p8ml{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-block-text.svelte-z8p8ml{padding-left:calc(0.0143229167 * 100vw + 0px)}}.easter-event-quests__items-block-title-wrapper.svelte-z8p8ml{display:flex;align-items:center}.easter-event-quests__items-block-arrow--opened.svelte-z8p8ml{transform:rotate(180deg)}.easter-event-quests__items-block-title.svelte-z8p8ml{color:#505050;font-family:\"GothamPro-Medium\";margin-left:calc(0.003125 * 100vw + 0px);font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-block-title.svelte-z8p8ml{margin-left:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-block-title.svelte-z8p8ml{margin-left:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-block-title.svelte-z8p8ml{margin-left:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-block-title.svelte-z8p8ml{margin-left:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-block-title.svelte-z8p8ml{margin-left:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-block-title.svelte-z8p8ml{margin-left:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-block-title.svelte-z8p8ml{margin-left:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-block-title.svelte-z8p8ml{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-block-title.svelte-z8p8ml{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-block-title.svelte-z8p8ml{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-block-title.svelte-z8p8ml{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-block-title.svelte-z8p8ml{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-block-title.svelte-z8p8ml{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-block-title.svelte-z8p8ml{font-size:calc(0.0103125 * 100vw + 0px)}}.easter-event-quests__items-block-descr.svelte-z8p8ml{color:#505050;font-family:\"GothamPro\";font-size:calc(0.00625 * 100vw + 0px);margin-top:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-block-descr.svelte-z8p8ml{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-block-descr.svelte-z8p8ml{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-block-descr.svelte-z8p8ml{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-block-descr.svelte-z8p8ml{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-block-descr.svelte-z8p8ml{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-block-descr.svelte-z8p8ml{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-block-descr.svelte-z8p8ml{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-block-descr.svelte-z8p8ml{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-block-descr.svelte-z8p8ml{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-block-descr.svelte-z8p8ml{margin-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-block-descr.svelte-z8p8ml{margin-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-block-descr.svelte-z8p8ml{margin-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-block-descr.svelte-z8p8ml{margin-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-block-descr.svelte-z8p8ml{margin-top:calc(0.0057291667 * 100vw + 0px)}}.easter-event-quests__items-progress-body.svelte-z8p8ml{display:flex;flex-direction:row;font-family:\"GothamPro-Medium\";font-size:calc(0.009375 * 100vw + 0px);padding-right:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-progress-body.svelte-z8p8ml{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-progress-body.svelte-z8p8ml{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-progress-body.svelte-z8p8ml{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-progress-body.svelte-z8p8ml{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-progress-body.svelte-z8p8ml{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-progress-body.svelte-z8p8ml{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-progress-body.svelte-z8p8ml{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-progress-body.svelte-z8p8ml{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-progress-body.svelte-z8p8ml{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-progress-body.svelte-z8p8ml{padding-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-progress-body.svelte-z8p8ml{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-progress-body.svelte-z8p8ml{padding-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-progress-body.svelte-z8p8ml{padding-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-progress-body.svelte-z8p8ml{padding-right:calc(0.0143229167 * 100vw + 0px)}}.easter-event-quests__items-progress-body--maxProgress.svelte-z8p8ml{display:flex;justify-content:center;align-items:center;background:#83BD6F;border-radius:calc(0.0130208333 * 100vw + 0px);width:calc(0.0442708333 * 100vw + 0px);height:calc(0.0130208333 * 100vw + 0px);margin-right:calc(0.0083333333 * 100vw + 0px);padding-right:0}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-progress-body--maxProgress.svelte-z8p8ml{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-progress-body--maxProgress.svelte-z8p8ml{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-progress-body--maxProgress.svelte-z8p8ml{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-progress-body--maxProgress.svelte-z8p8ml{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-progress-body--maxProgress.svelte-z8p8ml{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-progress-body--maxProgress.svelte-z8p8ml{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-progress-body--maxProgress.svelte-z8p8ml{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-progress-body--maxProgress.svelte-z8p8ml{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-progress-body--maxProgress.svelte-z8p8ml{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-progress-body--maxProgress.svelte-z8p8ml{width:calc(0.0340885417 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-progress-body--maxProgress.svelte-z8p8ml{width:calc(0.0486979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-progress-body--maxProgress.svelte-z8p8ml{width:calc(0.0309895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-progress-body--maxProgress.svelte-z8p8ml{width:calc(0.03984375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-progress-body--maxProgress.svelte-z8p8ml{width:calc(0.0486979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-progress-body--maxProgress.svelte-z8p8ml{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-progress-body--maxProgress.svelte-z8p8ml{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-progress-body--maxProgress.svelte-z8p8ml{height:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-progress-body--maxProgress.svelte-z8p8ml{height:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-progress-body--maxProgress.svelte-z8p8ml{height:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-progress-body--maxProgress.svelte-z8p8ml{height:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-progress-body--maxProgress.svelte-z8p8ml{height:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-progress-body--maxProgress.svelte-z8p8ml{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-progress-body--maxProgress.svelte-z8p8ml{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-progress-body--maxProgress.svelte-z8p8ml{margin-right:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-progress-body--maxProgress.svelte-z8p8ml{margin-right:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-progress-body--maxProgress.svelte-z8p8ml{margin-right:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-progress-body--maxProgress.svelte-z8p8ml{margin-right:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-progress-body--maxProgress.svelte-z8p8ml{margin-right:calc(0.0091666667 * 100vw + 0px)}}.easter-event-quests__items-progress-body--rewardReceived.svelte-z8p8ml{text-align:center;display:flex;justify-content:center;align-items:center;background:#F2C94C;border-radius:calc(0.0130208333 * 100vw + 0px);width:calc(0.0442708333 * 100vw + 0px);height:calc(0.0130208333 * 100vw + 0px);margin-right:calc(0.0083333333 * 100vw + 0px);padding-right:0}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-progress-body--rewardReceived.svelte-z8p8ml{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-progress-body--rewardReceived.svelte-z8p8ml{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-progress-body--rewardReceived.svelte-z8p8ml{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-progress-body--rewardReceived.svelte-z8p8ml{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-progress-body--rewardReceived.svelte-z8p8ml{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-progress-body--rewardReceived.svelte-z8p8ml{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-progress-body--rewardReceived.svelte-z8p8ml{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-progress-body--rewardReceived.svelte-z8p8ml{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-progress-body--rewardReceived.svelte-z8p8ml{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-progress-body--rewardReceived.svelte-z8p8ml{width:calc(0.0340885417 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-progress-body--rewardReceived.svelte-z8p8ml{width:calc(0.0486979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-progress-body--rewardReceived.svelte-z8p8ml{width:calc(0.0309895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-progress-body--rewardReceived.svelte-z8p8ml{width:calc(0.03984375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-progress-body--rewardReceived.svelte-z8p8ml{width:calc(0.0486979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-progress-body--rewardReceived.svelte-z8p8ml{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-progress-body--rewardReceived.svelte-z8p8ml{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-progress-body--rewardReceived.svelte-z8p8ml{height:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-progress-body--rewardReceived.svelte-z8p8ml{height:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-progress-body--rewardReceived.svelte-z8p8ml{height:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-progress-body--rewardReceived.svelte-z8p8ml{height:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-progress-body--rewardReceived.svelte-z8p8ml{height:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-progress-body--rewardReceived.svelte-z8p8ml{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-progress-body--rewardReceived.svelte-z8p8ml{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-progress-body--rewardReceived.svelte-z8p8ml{margin-right:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-progress-body--rewardReceived.svelte-z8p8ml{margin-right:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-progress-body--rewardReceived.svelte-z8p8ml{margin-right:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-progress-body--rewardReceived.svelte-z8p8ml{margin-right:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-progress-body--rewardReceived.svelte-z8p8ml{margin-right:calc(0.0091666667 * 100vw + 0px)}}.easter-event-quests__items-progress.svelte-z8p8ml{color:#505050}.easter-event-quests__items-progress--completed.svelte-z8p8ml{font-family:\"GothamPro-Light\";color:#FFFFFF;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-progress--completed.svelte-z8p8ml{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-progress--completed.svelte-z8p8ml{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-progress--completed.svelte-z8p8ml{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-progress--completed.svelte-z8p8ml{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-progress--completed.svelte-z8p8ml{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-progress--completed.svelte-z8p8ml{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-progress--completed.svelte-z8p8ml{font-size:calc(0.0057291667 * 100vw + 0px)}}.easter-event-quests__items-progress--rewardReceived.svelte-z8p8ml{font-family:\"GothamPro-Light\";color:#FFFFFF;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-progress--rewardReceived.svelte-z8p8ml{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-progress--rewardReceived.svelte-z8p8ml{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-progress--rewardReceived.svelte-z8p8ml{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-progress--rewardReceived.svelte-z8p8ml{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-progress--rewardReceived.svelte-z8p8ml{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-progress--rewardReceived.svelte-z8p8ml{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-progress--rewardReceived.svelte-z8p8ml{font-size:calc(0.0057291667 * 100vw + 0px)}}.easter-event-quests__items-progress-descr.svelte-z8p8ml{font-family:\"GothamPro-Light\";color:#505050;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-progress-descr.svelte-z8p8ml{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-progress-descr.svelte-z8p8ml{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-progress-descr.svelte-z8p8ml{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-progress-descr.svelte-z8p8ml{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-progress-descr.svelte-z8p8ml{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-progress-descr.svelte-z8p8ml{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-progress-descr.svelte-z8p8ml{font-size:calc(0.0057291667 * 100vw + 0px)}}.easter-event-quests__items-block-reward.svelte-z8p8ml{display:flex;flex-direction:column;align-items:center}.easter-event-quests__items-block-reward-title.svelte-z8p8ml{color:#505050;font-family:\"GothamPro-Medium\";font-size:calc(0.0072916667 * 100vw + 0px);margin-bottom:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-block-reward-title.svelte-z8p8ml{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-block-reward-title.svelte-z8p8ml{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-block-reward-title.svelte-z8p8ml{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-block-reward-title.svelte-z8p8ml{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-block-reward-title.svelte-z8p8ml{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-block-reward-title.svelte-z8p8ml{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-block-reward-title.svelte-z8p8ml{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-block-reward-title.svelte-z8p8ml{margin-bottom:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-block-reward-title.svelte-z8p8ml{margin-bottom:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-block-reward-title.svelte-z8p8ml{margin-bottom:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-block-reward-title.svelte-z8p8ml{margin-bottom:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-block-reward-title.svelte-z8p8ml{margin-bottom:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-block-reward-title.svelte-z8p8ml{margin-bottom:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-block-reward-title.svelte-z8p8ml{margin-bottom:calc(0.006875 * 100vw + 0px)}}.easter-event-quests__items-block-reward-items-title.svelte-z8p8ml{font-family:\"GothamPro\";color:#505050;font-size:calc(0.0052083333 * 100vw + 0px);height:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-block-reward-items-title.svelte-z8p8ml{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-block-reward-items-title.svelte-z8p8ml{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-block-reward-items-title.svelte-z8p8ml{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-block-reward-items-title.svelte-z8p8ml{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-block-reward-items-title.svelte-z8p8ml{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-block-reward-items-title.svelte-z8p8ml{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-block-reward-items-title.svelte-z8p8ml{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-block-reward-items-title.svelte-z8p8ml{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-block-reward-items-title.svelte-z8p8ml{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-block-reward-items-title.svelte-z8p8ml{height:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-block-reward-items-title.svelte-z8p8ml{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-block-reward-items-title.svelte-z8p8ml{height:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-block-reward-items-title.svelte-z8p8ml{height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-block-reward-items-title.svelte-z8p8ml{height:calc(0.0080208333 * 100vw + 0px)}}.easter-event-quests__items-block-reward-body.svelte-z8p8ml{display:flex;text-align:center;margin-bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-block-reward-body.svelte-z8p8ml{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-block-reward-body.svelte-z8p8ml{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-block-reward-body.svelte-z8p8ml{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-block-reward-body.svelte-z8p8ml{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-block-reward-body.svelte-z8p8ml{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-block-reward-body.svelte-z8p8ml{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-block-reward-body.svelte-z8p8ml{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.easter-event-quests__items-block-reward-items.svelte-z8p8ml{display:flex;flex-direction:column;align-items:center;width:calc(0.046875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-block-reward-items.svelte-z8p8ml{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-block-reward-items.svelte-z8p8ml{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-block-reward-items.svelte-z8p8ml{width:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-block-reward-items.svelte-z8p8ml{width:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-block-reward-items.svelte-z8p8ml{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-block-reward-items.svelte-z8p8ml{width:calc(0.0421875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-block-reward-items.svelte-z8p8ml{width:calc(0.0515625 * 100vw + 0px)}}.easter-event-quests__items-block-reward-items.svelte-z8p8ml:not(:first-child){margin-left:calc(0.0234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-block-reward-items.svelte-z8p8ml:not(:first-child){margin-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-block-reward-items.svelte-z8p8ml:not(:first-child){margin-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-block-reward-items.svelte-z8p8ml:not(:first-child){margin-left:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-block-reward-items.svelte-z8p8ml:not(:first-child){margin-left:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-block-reward-items.svelte-z8p8ml:not(:first-child){margin-left:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-block-reward-items.svelte-z8p8ml:not(:first-child){margin-left:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-block-reward-items.svelte-z8p8ml:not(:first-child){margin-left:calc(0.02578125 * 100vw + 0px)}}.easter-event-quests__items-block-reward-items-img.svelte-z8p8ml{width:calc(0.0260416667 * 100vw + 0px);padding-bottom:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-block-reward-items-img.svelte-z8p8ml{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-block-reward-items-img.svelte-z8p8ml{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-block-reward-items-img.svelte-z8p8ml{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-block-reward-items-img.svelte-z8p8ml{width:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-block-reward-items-img.svelte-z8p8ml{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-block-reward-items-img.svelte-z8p8ml{width:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-block-reward-items-img.svelte-z8p8ml{width:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-block-reward-items-img.svelte-z8p8ml{padding-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-block-reward-items-img.svelte-z8p8ml{padding-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-block-reward-items-img.svelte-z8p8ml{padding-bottom:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-block-reward-items-img.svelte-z8p8ml{padding-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-block-reward-items-img.svelte-z8p8ml{padding-bottom:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-block-reward-items-img.svelte-z8p8ml{padding-bottom:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-block-reward-items-img.svelte-z8p8ml{padding-bottom:calc(0.0057291667 * 100vw + 0px)}}.easter-event-quests__items-block-reward-btn.svelte-z8p8ml{display:flex;align-items:center;justify-content:center;cursor:pointer;background-color:#505050;width:calc(0.1041666667 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);margin-bottom:calc(0.0109375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-block-reward-btn.svelte-z8p8ml{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-block-reward-btn.svelte-z8p8ml{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-block-reward-btn.svelte-z8p8ml{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-block-reward-btn.svelte-z8p8ml{width:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-block-reward-btn.svelte-z8p8ml{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-block-reward-btn.svelte-z8p8ml{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-block-reward-btn.svelte-z8p8ml{width:calc(0.1145833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-block-reward-btn.svelte-z8p8ml{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-block-reward-btn.svelte-z8p8ml{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-block-reward-btn.svelte-z8p8ml{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-block-reward-btn.svelte-z8p8ml{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-block-reward-btn.svelte-z8p8ml{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-block-reward-btn.svelte-z8p8ml{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-block-reward-btn.svelte-z8p8ml{height:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-block-reward-btn.svelte-z8p8ml{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-block-reward-btn.svelte-z8p8ml{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-block-reward-btn.svelte-z8p8ml{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-block-reward-btn.svelte-z8p8ml{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-block-reward-btn.svelte-z8p8ml{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-block-reward-btn.svelte-z8p8ml{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-block-reward-btn.svelte-z8p8ml{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-block-reward-btn.svelte-z8p8ml{margin-bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-block-reward-btn.svelte-z8p8ml{margin-bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-block-reward-btn.svelte-z8p8ml{margin-bottom:calc(0.008421875 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-block-reward-btn.svelte-z8p8ml{margin-bottom:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-block-reward-btn.svelte-z8p8ml{margin-bottom:calc(0.00765625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-block-reward-btn.svelte-z8p8ml{margin-bottom:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-block-reward-btn.svelte-z8p8ml{margin-bottom:calc(0.01203125 * 100vw + 0px)}}.easter-event-quests__items-block-reward-btn.svelte-z8p8ml:hover{background-color:#8E8E8E}.easter-event-quests__items-block-reward-btn--completed.svelte-z8p8ml{background-color:rgba(118, 211, 85, 0.25);cursor:default}.easter-event-quests__items-block-reward-btn--completed.svelte-z8p8ml:hover{background-color:rgba(118, 211, 85, 0.25)}.easter-event-quests__items-block-reward-btn--rewardReceived.svelte-z8p8ml{background-color:#F2C94C}.easter-event-quests__items-block-reward-btn--rewardReceived.svelte-z8p8ml:hover{background-color:#FEB000}.easter-event-quests__items-block-reward-btn-key.svelte-z8p8ml{color:#FFFFFF;font-family:\"GothamPro-Medium\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-block-reward-btn-key.svelte-z8p8ml{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-block-reward-btn-key.svelte-z8p8ml{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-block-reward-btn-key.svelte-z8p8ml{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-block-reward-btn-key.svelte-z8p8ml{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-block-reward-btn-key.svelte-z8p8ml{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-block-reward-btn-key.svelte-z8p8ml{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-block-reward-btn-key.svelte-z8p8ml{font-size:calc(0.006875 * 100vw + 0px)}}.easter-event-quests__items-block-reward-btn-key--completed.svelte-z8p8ml{color:#76D355}.easter-event-quests__items-block-reward-btn-key--rewardReceived.svelte-z8p8ml{color:#3B4447}");
}

function easter_event_quests_components_accordion_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[6] = list[i];
	return child_ctx;
}

// (1660:12) {#if accordionOpened}
function easter_event_quests_components_accordion_index_svelte_create_if_block_5(ctx) {
	let p;
	let t_value = /*quest*/ ctx[0].description + "";
	let t;
	let p_transition;
	let current;

	return {
		c() {
			p = internal_element("p");
			t = internal_text(t_value);
			attr(p, "class", "easter-event-quests__items-block-descr svelte-z8p8ml");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t);
			current = true;
		},
		p(ctx, dirty) {
			if ((!current || dirty & /*quest*/ 1) && t_value !== (t_value = /*quest*/ ctx[0].description + "")) set_data(t, t_value);
		},
		i(local) {
			if (current) return;

			if (local) {
				add_render_callback(() => {
					if (!p_transition) p_transition = create_bidirectional_transition(p, slide, {}, true);
					p_transition.run(1);
				});
			}

			current = true;
		},
		o(local) {
			if (local) {
				if (!p_transition) p_transition = create_bidirectional_transition(p, slide, {}, false);
				p_transition.run(0);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(p);
			if (detaching && p_transition) p_transition.end();
		}
	};
}

// (1688:8) {:else}
function quests_components_accordion_index_svelte_create_else_block_1(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="easter-event-quests__items-progress easter-event-quests__items-progress--rewardReceived svelte-z8p8ml">Получите награду</p>`;
			attr(div, "class", "easter-event-quests__items-progress-body easter-event-quests__items-progress-body--rewardReceived svelte-z8p8ml");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1682:81) 
function easter_event_quests_components_accordion_index_svelte_create_if_block_4(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="easter-event-quests__items-progress easter-event-quests__items-progress--completed svelte-z8p8ml">Завершено</p>`;
			attr(div, "class", "easter-event-quests__items-progress-body easter-event-quests__items-progress-body--maxProgress svelte-z8p8ml");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1669:8) {#if (quest.progress !== quest.maxProgress) && !quest.rewardReceived}
function easter_event_quests_components_accordion_index_svelte_create_if_block_3(ctx) {
	let div1;
	let div0;
	let p0;
	let t0_value = /*quest*/ ctx[0].progress + "";
	let t0;
	let t1;
	let t2_value = /*quest*/ ctx[0].maxProgress + "";
	let t2;
	let t3;
	let p1;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = internal_text("\r\n                        /\r\n                        ");
			t2 = internal_text(t2_value);
			t3 = space();
			p1 = internal_element("p");
			p1.textContent = "Прогресс";
			attr(p0, "class", "easter-event-quests__items-progress svelte-z8p8ml");
			attr(div0, "class", "easter-event-quests__items-progress-body svelte-z8p8ml");
			attr(p1, "class", "easter-event-quests__items-progress-descr svelte-z8p8ml");
			attr(div1, "class", "easter-event-quests__items-progress-wrapper--incomplete");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, p0);
			append(p0, t0);
			append(p0, t1);
			append(p0, t2);
			append(div1, t3);
			append(div1, p1);
		},
		p(ctx, dirty) {
			if (dirty & /*quest*/ 1 && t0_value !== (t0_value = /*quest*/ ctx[0].progress + "")) set_data(t0, t0_value);
			if (dirty & /*quest*/ 1 && t2_value !== (t2_value = /*quest*/ ctx[0].maxProgress + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (1696:4) {#if accordionOpened}
function easter_event_quests_components_accordion_index_svelte_create_if_block(ctx) {
	let div1;
	let p;
	let t1;
	let div0;
	let t2;
	let current_block_type_index;
	let if_block;
	let div1_transition;
	let current;
	let each_value = /*quest*/ ctx[0].rewards;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = easter_event_quests_components_accordion_index_svelte_create_each_block(easter_event_quests_components_accordion_index_svelte_get_each_context(ctx, each_value, i));
	}

	const if_block_creators = [easter_event_quests_components_accordion_index_svelte_create_if_block_1, easter_event_quests_components_accordion_index_svelte_create_if_block_2, easter_event_quests_components_accordion_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type_1(ctx, dirty) {
		if (/*quest*/ ctx[0].progress !== /*quest*/ ctx[0].maxProgress && !/*quest*/ ctx[0].rewardReceived) return 0;
		if (/*quest*/ ctx[0].progress === /*quest*/ ctx[0].maxProgress && /*quest*/ ctx[0].rewardReceived) return 1;
		return 2;
	}

	current_block_type_index = select_block_type_1(ctx, -1);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div1 = internal_element("div");
			p = internal_element("p");
			p.textContent = "Награда";
			t1 = space();
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t2 = space();
			if_block.c();
			attr(p, "class", "easter-event-quests__items-block-reward-title svelte-z8p8ml");
			attr(div0, "class", "easter-event-quests__items-block-reward-body svelte-z8p8ml");
			attr(div1, "class", "easter-event-quests__items-block-reward svelte-z8p8ml");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, p);
			append(div1, t1);
			append(div1, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			append(div1, t2);
			if_blocks[current_block_type_index].m(div1, null);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty & /*quest, CDN_URL_RODINA*/ 1) {
				each_value = /*quest*/ ctx[0].rewards;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = easter_event_quests_components_accordion_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = easter_event_quests_components_accordion_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div0, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type_1(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(div1, null);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);

			if (local) {
				add_render_callback(() => {
					if (!div1_transition) div1_transition = create_bidirectional_transition(div1, slide, {}, true);
					div1_transition.run(1);
				});
			}

			current = true;
		},
		o(local) {
			transition_out(if_block);

			if (local) {
				if (!div1_transition) div1_transition = create_bidirectional_transition(div1, slide, {}, false);
				div1_transition.run(0);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			destroy_each(each_blocks, detaching);
			if_blocks[current_block_type_index].d();
			if (detaching && div1_transition) div1_transition.end();
		}
	};
}

// (1705:16) {#each quest.rewards as reward }
function easter_event_quests_components_accordion_index_svelte_create_each_block(ctx) {
	let div;
	let img;
	let img_src_value;
	let t0;
	let p;
	let t1_value = /*reward*/ ctx[6].title + "";
	let t1;
	let t2;

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(img, "class", "easter-event-quests__items-block-reward-items-img svelte-z8p8ml");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/${/*reward*/ ctx[6].icon}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "Reward");
			attr(p, "class", "easter-event-quests__items-block-reward-items-title svelte-z8p8ml");
			attr(div, "class", "easter-event-quests__items-block-reward-items svelte-z8p8ml");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
			append(div, t0);
			append(div, p);
			append(p, t1);
			append(div, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*quest*/ 1 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/${/*reward*/ ctx[6].icon}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*quest*/ 1 && t1_value !== (t1_value = /*reward*/ ctx[6].title + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1732:12) {:else}
function easter_event_quests_components_accordion_index_svelte_create_else_block(ctx) {
	let div;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="easter-event-quests__items-block-reward-btn-key easter-event-quests__items-block-reward-btn-key--rewardReceived svelte-z8p8ml">Получить награду</p>`;
			attr(div, "class", "easter-event-quests__items-block-reward-btn easter-event-quests__items-block-reward-btn--rewardReceived svelte-z8p8ml");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = listen(div, "click", /*receiveReward*/ ctx[4]);
				mounted = true;
			}
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (1726:85) 
function easter_event_quests_components_accordion_index_svelte_create_if_block_2(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="easter-event-quests__items-block-reward-btn-key easter-event-quests__items-block-reward-btn-key--completed svelte-z8p8ml">Получено</p>`;
			attr(div, "class", "easter-event-quests__items-block-reward-btn easter-event-quests__items-block-reward-btn--completed svelte-z8p8ml");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1717:12) {#if (quest.progress !== quest.maxProgress) && !quest.rewardReceived}
function easter_event_quests_components_accordion_index_svelte_create_if_block_1(ctx) {
	let div;
	let p;
	let div_style_value;
	let div_transition;
	let current;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			p = internal_element("p");
			p.textContent = "Отследить по GPS";
			attr(p, "class", "easter-event-quests__items-block-reward-btn-key svelte-z8p8ml");
			attr(div, "class", "easter-event-quests__items-block-reward-btn svelte-z8p8ml");
			attr(div, "style", div_style_value = `display: ${/*quest*/ ctx[0].hasLocation ? '' : 'none'}`);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p);
			current = true;

			if (!mounted) {
				dispose = listen(div, "click", /*drawLocation*/ ctx[3]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (!current || dirty & /*quest*/ 1 && div_style_value !== (div_style_value = `display: ${/*quest*/ ctx[0].hasLocation ? '' : 'none'}`)) {
				attr(div, "style", div_style_value);
			}
		},
		i(local) {
			if (current) return;

			if (local) {
				add_render_callback(() => {
					if (!div_transition) div_transition = create_bidirectional_transition(div, slide, {}, true);
					div_transition.run(1);
				});
			}

			current = true;
		},
		o(local) {
			if (local) {
				if (!div_transition) div_transition = create_bidirectional_transition(div, slide, {}, false);
				div_transition.run(0);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (detaching && div_transition) div_transition.end();
			mounted = false;
			dispose();
		}
	};
}

function easter_event_quests_components_accordion_index_svelte_create_fragment(ctx) {
	let div3;
	let div2;
	let div1;
	let div0;
	let img;
	let img_src_value;
	let t0;
	let p;
	let t1_value = /*quest*/ ctx[0].title + "";
	let t1;
	let t2;
	let t3;
	let t4;
	let mounted;
	let dispose;
	let if_block0 = /*accordionOpened*/ ctx[1] && easter_event_quests_components_accordion_index_svelte_create_if_block_5(ctx);

	function select_block_type(ctx, dirty) {
		if (/*quest*/ ctx[0].progress !== /*quest*/ ctx[0].maxProgress && !/*quest*/ ctx[0].rewardReceived) return easter_event_quests_components_accordion_index_svelte_create_if_block_3;
		if (/*quest*/ ctx[0].progress === /*quest*/ ctx[0].maxProgress && /*quest*/ ctx[0].rewardReceived) return easter_event_quests_components_accordion_index_svelte_create_if_block_4;
		return quests_components_accordion_index_svelte_create_else_block_1;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block1 = current_block_type(ctx);
	let if_block2 = /*accordionOpened*/ ctx[1] && easter_event_quests_components_accordion_index_svelte_create_if_block(ctx);

	return {
		c() {
			div3 = internal_element("div");
			div2 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			if (if_block0) if_block0.c();
			t3 = space();
			if_block1.c();
			t4 = space();
			if (if_block2) if_block2.c();
			attr(img, "class", "easter-event-quests__items-block-arrow svelte-z8p8ml");
			if (!src_url_equal(img.src, img_src_value = easter_event_quests_components_accordion_img_arrow_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "arrow");
			toggle_class(img, "easter-event-quests__items-block-arrow--opened", /*accordionOpened*/ ctx[1]);
			attr(p, "class", "easter-event-quests__items-block-title svelte-z8p8ml");
			attr(div0, "class", "easter-event-quests__items-block-title-wrapper svelte-z8p8ml");
			attr(div1, "class", "easter-event-quests__items-block-text svelte-z8p8ml");
			attr(div2, "class", "easter-event-quests__items-block-upper svelte-z8p8ml");
			toggle_class(div2, "easter-event-quests__items-block-upper--opened", /*accordionOpened*/ ctx[1]);
			attr(div3, "class", "easter-event-quests__items-block svelte-z8p8ml");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div2);
			append(div2, div1);
			append(div1, div0);
			append(div0, img);
			append(div0, t0);
			append(div0, p);
			append(p, t1);
			append(div1, t2);
			if (if_block0) if_block0.m(div1, null);
			append(div2, t3);
			if_block1.m(div2, null);
			append(div3, t4);
			if (if_block2) if_block2.m(div3, null);

			if (!mounted) {
				dispose = listen(div2, "click", /*handleClick*/ ctx[2]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*accordionOpened*/ 2) {
				toggle_class(img, "easter-event-quests__items-block-arrow--opened", /*accordionOpened*/ ctx[1]);
			}

			if (dirty & /*quest*/ 1 && t1_value !== (t1_value = /*quest*/ ctx[0].title + "")) set_data(t1, t1_value);

			if (/*accordionOpened*/ ctx[1]) {
				if (if_block0) {
					if_block0.p(ctx, dirty);

					if (dirty & /*accordionOpened*/ 2) {
						transition_in(if_block0, 1);
					}
				} else {
					if_block0 = easter_event_quests_components_accordion_index_svelte_create_if_block_5(ctx);
					if_block0.c();
					transition_in(if_block0, 1);
					if_block0.m(div1, null);
				}
			} else if (if_block0) {
				group_outros();

				transition_out(if_block0, 1, 1, () => {
					if_block0 = null;
				});

				check_outros();
			}

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block1) {
				if_block1.p(ctx, dirty);
			} else {
				if_block1.d(1);
				if_block1 = current_block_type(ctx);

				if (if_block1) {
					if_block1.c();
					if_block1.m(div2, null);
				}
			}

			if (dirty & /*accordionOpened*/ 2) {
				toggle_class(div2, "easter-event-quests__items-block-upper--opened", /*accordionOpened*/ ctx[1]);
			}

			if (/*accordionOpened*/ ctx[1]) {
				if (if_block2) {
					if_block2.p(ctx, dirty);

					if (dirty & /*accordionOpened*/ 2) {
						transition_in(if_block2, 1);
					}
				} else {
					if_block2 = easter_event_quests_components_accordion_index_svelte_create_if_block(ctx);
					if_block2.c();
					transition_in(if_block2, 1);
					if_block2.m(div3, null);
				}
			} else if (if_block2) {
				group_outros();

				transition_out(if_block2, 1, 1, () => {
					if_block2 = null;
				});

				check_outros();
			}
		},
		i(local) {
			transition_in(if_block0);
			transition_in(if_block2);
		},
		o(local) {
			transition_out(if_block0);
			transition_out(if_block2);
		},
		d(detaching) {
			if (detaching) detach(div3);
			if (if_block0) if_block0.d();
			if_block1.d();
			if (if_block2) if_block2.d();
			mounted = false;
			dispose();
		}
	};
}

function easter_event_quests_components_accordion_index_svelte_instance($$self, $$props, $$invalidate) {
	let { quest } = $$props;
	let { categoryId } = $$props;
	let accordionOpened = false;

	const handleClick = () => {
		$$invalidate(1, accordionOpened = !accordionOpened);
	};

	const drawLocation = () => {
		sendClientMessage('easterEvent.quest.drawLocation', quest.id, categoryId);
	};

	const receiveReward = () => {
		sendClientMessage('easterEvent.quest.receiveReward', quest.id, categoryId);
	};

	$$self.$$set = $$props => {
		if ('quest' in $$props) $$invalidate(0, quest = $$props.quest);
		if ('categoryId' in $$props) $$invalidate(5, categoryId = $$props.categoryId);
	};

	return [quest, accordionOpened, handleClick, drawLocation, receiveReward, categoryId];
}

class quests_components_accordion_index_svelte_Accordion extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, easter_event_quests_components_accordion_index_svelte_instance, easter_event_quests_components_accordion_index_svelte_create_fragment, safe_not_equal, { quest: 0, categoryId: 5 }, easter_event_quests_components_accordion_index_svelte_add_css);
	}
}

/* harmony default export */ const easter_event_quests_components_accordion_index_svelte = (quests_components_accordion_index_svelte_Accordion);
;// CONCATENATED MODULE: ./src/views/easter-event/quests/index.svelte
/* src\views\easter-event\quests\index.svelte generated by Svelte v3.49.0 */













function easter_event_quests_index_svelte_add_css(target) {
	append_styles(target, "svelte-1rfhzgi", "@keyframes svelte-1rfhzgi-blinking{50%{opacity:0}}@keyframes svelte-1rfhzgi-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1rfhzgi-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1rfhzgi-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1rfhzgi-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1rfhzgi-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1rfhzgi-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1rfhzgi-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1rfhzgi-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1rfhzgi-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1rfhzgi-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1rfhzgi-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1rfhzgi-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1rfhzgi-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1rfhzgi-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.easter-event-quests.svelte-1rfhzgi{display:flex;align-items:center;flex-direction:column;width:100vw;height:100vh;background:linear-gradient(180deg, rgba(108, 176, 239, 0.9) 0%, rgba(226, 248, 255, 0.9) 100%)}.easter-event-quests__title.svelte-1rfhzgi{position:absolute;z-index:1;font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.01875 * 100vw + 0px);top:calc(0.0447916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__title.svelte-1rfhzgi{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__title.svelte-1rfhzgi{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__title.svelte-1rfhzgi{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__title.svelte-1rfhzgi{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__title.svelte-1rfhzgi{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__title.svelte-1rfhzgi{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__title.svelte-1rfhzgi{font-size:calc(0.020625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__title.svelte-1rfhzgi{top:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__title.svelte-1rfhzgi{top:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__title.svelte-1rfhzgi{top:calc(0.0344895833 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__title.svelte-1rfhzgi{top:calc(0.0492708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__title.svelte-1rfhzgi{top:calc(0.0313541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__title.svelte-1rfhzgi{top:calc(0.0403125 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__title.svelte-1rfhzgi{top:calc(0.0492708333 * 100vw + 0px)}}.easter-event-quests__quests-img.svelte-1rfhzgi{position:absolute;left:0;bottom:0;height:calc(0.3020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__quests-img.svelte-1rfhzgi{height:calc(0.3020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__quests-img.svelte-1rfhzgi{height:calc(0.3020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__quests-img.svelte-1rfhzgi{height:calc(0.2326041667 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__quests-img.svelte-1rfhzgi{height:calc(0.3322916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__quests-img.svelte-1rfhzgi{height:calc(0.2114583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__quests-img.svelte-1rfhzgi{height:calc(0.271875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__quests-img.svelte-1rfhzgi{height:calc(0.3322916667 * 100vw + 0px)}}.easter-event-quests__farmer-img.svelte-1rfhzgi{position:absolute;right:0;bottom:0;height:calc(0.5 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__farmer-img.svelte-1rfhzgi{height:calc(0.5 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__farmer-img.svelte-1rfhzgi{height:calc(0.5 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__farmer-img.svelte-1rfhzgi{height:calc(0.385 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__farmer-img.svelte-1rfhzgi{height:calc(0.55 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__farmer-img.svelte-1rfhzgi{height:calc(0.35 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__farmer-img.svelte-1rfhzgi{height:calc(0.45 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__farmer-img.svelte-1rfhzgi{height:calc(0.55 * 100vw + 0px)}}.easter-event-quests__grass-img.svelte-1rfhzgi{z-index:1;position:absolute;width:100vw;height:100vh;pointer-events:none}.easter-event-quests__logo.svelte-1rfhzgi{position:absolute;display:flex;align-items:center;top:calc(0.01875 * 100vw + 0px);left:calc(0.0270833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__logo.svelte-1rfhzgi{top:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__logo.svelte-1rfhzgi{top:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__logo.svelte-1rfhzgi{top:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__logo.svelte-1rfhzgi{top:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__logo.svelte-1rfhzgi{top:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__logo.svelte-1rfhzgi{top:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__logo.svelte-1rfhzgi{top:calc(0.020625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__logo.svelte-1rfhzgi{left:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__logo.svelte-1rfhzgi{left:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__logo.svelte-1rfhzgi{left:calc(0.0208541667 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__logo.svelte-1rfhzgi{left:calc(0.0297916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__logo.svelte-1rfhzgi{left:calc(0.0189583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__logo.svelte-1rfhzgi{left:calc(0.024375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__logo.svelte-1rfhzgi{left:calc(0.0297916667 * 100vw + 0px)}}.easter-event-quests__logo-icon.svelte-1rfhzgi{height:calc(0.0489583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__logo-icon.svelte-1rfhzgi{height:calc(0.0489583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__logo-icon.svelte-1rfhzgi{height:calc(0.0489583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__logo-icon.svelte-1rfhzgi{height:calc(0.0376979167 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__logo-icon.svelte-1rfhzgi{height:calc(0.0538541667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__logo-icon.svelte-1rfhzgi{height:calc(0.0342708333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__logo-icon.svelte-1rfhzgi{height:calc(0.0440625 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__logo-icon.svelte-1rfhzgi{height:calc(0.0538541667 * 100vw + 0px)}}.easter-event-quests__category.svelte-1rfhzgi{z-index:1;position:absolute;top:calc(0.1302083333 * 100vw + 0px);left:calc(0.1484375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__category.svelte-1rfhzgi{top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__category.svelte-1rfhzgi{top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__category.svelte-1rfhzgi{top:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__category.svelte-1rfhzgi{top:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__category.svelte-1rfhzgi{top:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__category.svelte-1rfhzgi{top:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__category.svelte-1rfhzgi{top:calc(0.1432291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__category.svelte-1rfhzgi{left:calc(0.1484375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__category.svelte-1rfhzgi{left:calc(0.1484375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__category.svelte-1rfhzgi{left:calc(0.114296875 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__category.svelte-1rfhzgi{left:calc(0.16328125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__category.svelte-1rfhzgi{left:calc(0.10390625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__category.svelte-1rfhzgi{left:calc(0.13359375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__category.svelte-1rfhzgi{left:calc(0.16328125 * 100vw + 0px)}}.easter-event-quests__category-title.svelte-1rfhzgi{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px);margin-bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__category-title.svelte-1rfhzgi{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__category-title.svelte-1rfhzgi{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__category-title.svelte-1rfhzgi{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__category-title.svelte-1rfhzgi{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__category-title.svelte-1rfhzgi{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__category-title.svelte-1rfhzgi{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__category-title.svelte-1rfhzgi{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__category-title.svelte-1rfhzgi{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__category-title.svelte-1rfhzgi{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__category-title.svelte-1rfhzgi{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__category-title.svelte-1rfhzgi{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__category-title.svelte-1rfhzgi{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__category-title.svelte-1rfhzgi{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__category-title.svelte-1rfhzgi{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.easter-event-quests__categories-wrapper.svelte-1rfhzgi{width:fit-content;overflow:auto;height:calc(0.378125 * 100vw + 0px);padding-right:calc(0.0130208333 * 100vw + 0px)}.easter-event-quests__categories-wrapper.svelte-1rfhzgi::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.easter-event-quests__categories-wrapper.svelte-1rfhzgi::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.easter-event-quests__categories-wrapper.svelte-1rfhzgi::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi{height:calc(0.378125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi{height:calc(0.378125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi{height:calc(0.29115625 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi{height:calc(0.4159375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi{height:calc(0.2646875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi{height:calc(0.3403125 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi{height:calc(0.4159375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi{padding-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi{padding-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi{padding-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__categories-wrapper.svelte-1rfhzgi{padding-right:calc(0.0143229167 * 100vw + 0px)}}.easter-event-quests__categories-wrapper.svelte-1rfhzgi::-webkit-scrollbar{width:0px}.easter-event-quests__category-quest.svelte-1rfhzgi{display:flex;align-items:center;justify-content:space-between;cursor:pointer;background:rgba(255, 255, 255, 0.6);transition:background-color 0.2s linear;position:relative;overflow:hidden;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.3125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__category-quest.svelte-1rfhzgi{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__category-quest.svelte-1rfhzgi{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__category-quest.svelte-1rfhzgi{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__category-quest.svelte-1rfhzgi{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__category-quest.svelte-1rfhzgi{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__category-quest.svelte-1rfhzgi{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__category-quest.svelte-1rfhzgi{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__category-quest.svelte-1rfhzgi{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__category-quest.svelte-1rfhzgi{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__category-quest.svelte-1rfhzgi{width:calc(0.240625 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__category-quest.svelte-1rfhzgi{width:calc(0.34375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__category-quest.svelte-1rfhzgi{width:calc(0.21875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__category-quest.svelte-1rfhzgi{width:calc(0.28125 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__category-quest.svelte-1rfhzgi{width:calc(0.34375 * 100vw + 0px)}}.easter-event-quests__category-quest.svelte-1rfhzgi:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__category-quest.svelte-1rfhzgi:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__category-quest.svelte-1rfhzgi:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__category-quest.svelte-1rfhzgi:not(:first-child){margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__category-quest.svelte-1rfhzgi:not(:first-child){margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__category-quest.svelte-1rfhzgi:not(:first-child){margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__category-quest.svelte-1rfhzgi:not(:first-child){margin-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__category-quest.svelte-1rfhzgi:not(:first-child){margin-top:calc(0.0114583333 * 100vw + 0px)}}.easter-event-quests__category-quest.svelte-1rfhzgi:hover,.easter-event-quests__category-quest--selected.svelte-1rfhzgi,.easter-event-quests__category-quest--completed.svelte-1rfhzgi{background-color:#FFFFFF}.easter-event-quests__category-quest-body.svelte-1rfhzgi{padding-left:calc(0.0130208333 * 100vw + 0px);padding-top:calc(0.0114583333 * 100vw + 0px);padding-bottom:calc(0.0109375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__category-quest-body.svelte-1rfhzgi{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__category-quest-body.svelte-1rfhzgi{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__category-quest-body.svelte-1rfhzgi{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__category-quest-body.svelte-1rfhzgi{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__category-quest-body.svelte-1rfhzgi{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__category-quest-body.svelte-1rfhzgi{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__category-quest-body.svelte-1rfhzgi{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__category-quest-body.svelte-1rfhzgi{padding-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__category-quest-body.svelte-1rfhzgi{padding-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__category-quest-body.svelte-1rfhzgi{padding-top:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__category-quest-body.svelte-1rfhzgi{padding-top:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__category-quest-body.svelte-1rfhzgi{padding-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__category-quest-body.svelte-1rfhzgi{padding-top:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__category-quest-body.svelte-1rfhzgi{padding-top:calc(0.0126041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__category-quest-body.svelte-1rfhzgi{padding-bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__category-quest-body.svelte-1rfhzgi{padding-bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__category-quest-body.svelte-1rfhzgi{padding-bottom:calc(0.008421875 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__category-quest-body.svelte-1rfhzgi{padding-bottom:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__category-quest-body.svelte-1rfhzgi{padding-bottom:calc(0.00765625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__category-quest-body.svelte-1rfhzgi{padding-bottom:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__category-quest-body.svelte-1rfhzgi{padding-bottom:calc(0.01203125 * 100vw + 0px)}}.easter-event-quests__category-quest-title.svelte-1rfhzgi{font-family:\"GothamPro-Medium\";color:#505050;font-size:calc(0.009375 * 100vw + 0px);margin-bottom:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__category-quest-title.svelte-1rfhzgi{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__category-quest-title.svelte-1rfhzgi{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__category-quest-title.svelte-1rfhzgi{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__category-quest-title.svelte-1rfhzgi{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__category-quest-title.svelte-1rfhzgi{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__category-quest-title.svelte-1rfhzgi{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__category-quest-title.svelte-1rfhzgi{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__category-quest-title.svelte-1rfhzgi{margin-bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__category-quest-title.svelte-1rfhzgi{margin-bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__category-quest-title.svelte-1rfhzgi{margin-bottom:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__category-quest-title.svelte-1rfhzgi{margin-bottom:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__category-quest-title.svelte-1rfhzgi{margin-bottom:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__category-quest-title.svelte-1rfhzgi{margin-bottom:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__category-quest-title.svelte-1rfhzgi{margin-bottom:calc(0.0028645833 * 100vw + 0px)}}.easter-event-quests__category-quest-descr.svelte-1rfhzgi{font-family:\"GothamPro\";color:#505050;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__category-quest-descr.svelte-1rfhzgi{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__category-quest-descr.svelte-1rfhzgi{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__category-quest-descr.svelte-1rfhzgi{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__category-quest-descr.svelte-1rfhzgi{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__category-quest-descr.svelte-1rfhzgi{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__category-quest-descr.svelte-1rfhzgi{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__category-quest-descr.svelte-1rfhzgi{font-size:calc(0.0057291667 * 100vw + 0px)}}.easter-event-quests__category-quest-progress.svelte-1rfhzgi{display:flex;flex-direction:column;width:calc(0.046875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__category-quest-progress.svelte-1rfhzgi{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__category-quest-progress.svelte-1rfhzgi{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__category-quest-progress.svelte-1rfhzgi{width:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__category-quest-progress.svelte-1rfhzgi{width:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__category-quest-progress.svelte-1rfhzgi{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__category-quest-progress.svelte-1rfhzgi{width:calc(0.0421875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__category-quest-progress.svelte-1rfhzgi{width:calc(0.0515625 * 100vw + 0px)}}.easter-event-quests__category-quest-progress--completed.svelte-1rfhzgi{display:flex;justify-content:center;align-items:center;background:#83BD6F;border-radius:calc(0.0130208333 * 100vw + 0px);width:calc(0.0442708333 * 100vw + 0px);height:calc(0.0130208333 * 100vw + 0px);margin-right:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__category-quest-progress--completed.svelte-1rfhzgi{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__category-quest-progress--completed.svelte-1rfhzgi{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__category-quest-progress--completed.svelte-1rfhzgi{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__category-quest-progress--completed.svelte-1rfhzgi{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__category-quest-progress--completed.svelte-1rfhzgi{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__category-quest-progress--completed.svelte-1rfhzgi{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__category-quest-progress--completed.svelte-1rfhzgi{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__category-quest-progress--completed.svelte-1rfhzgi{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__category-quest-progress--completed.svelte-1rfhzgi{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__category-quest-progress--completed.svelte-1rfhzgi{width:calc(0.0340885417 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__category-quest-progress--completed.svelte-1rfhzgi{width:calc(0.0486979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__category-quest-progress--completed.svelte-1rfhzgi{width:calc(0.0309895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__category-quest-progress--completed.svelte-1rfhzgi{width:calc(0.03984375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__category-quest-progress--completed.svelte-1rfhzgi{width:calc(0.0486979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__category-quest-progress--completed.svelte-1rfhzgi{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__category-quest-progress--completed.svelte-1rfhzgi{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__category-quest-progress--completed.svelte-1rfhzgi{height:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__category-quest-progress--completed.svelte-1rfhzgi{height:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__category-quest-progress--completed.svelte-1rfhzgi{height:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__category-quest-progress--completed.svelte-1rfhzgi{height:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__category-quest-progress--completed.svelte-1rfhzgi{height:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__category-quest-progress--completed.svelte-1rfhzgi{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__category-quest-progress--completed.svelte-1rfhzgi{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__category-quest-progress--completed.svelte-1rfhzgi{margin-right:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__category-quest-progress--completed.svelte-1rfhzgi{margin-right:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__category-quest-progress--completed.svelte-1rfhzgi{margin-right:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__category-quest-progress--completed.svelte-1rfhzgi{margin-right:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__category-quest-progress--completed.svelte-1rfhzgi{margin-right:calc(0.0091666667 * 100vw + 0px)}}.easter-event-quests__category-exp.svelte-1rfhzgi{font-family:\"GothamPro-Medium\";color:#505050;font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__category-exp.svelte-1rfhzgi{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__category-exp.svelte-1rfhzgi{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__category-exp.svelte-1rfhzgi{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__category-exp.svelte-1rfhzgi{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__category-exp.svelte-1rfhzgi{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__category-exp.svelte-1rfhzgi{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__category-exp.svelte-1rfhzgi{font-size:calc(0.0114583333 * 100vw + 0px)}}.easter-event-quests__category-exp--completed.svelte-1rfhzgi{font-family:\"GothamPro-Light\";color:#FFFFFF;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__category-exp--completed.svelte-1rfhzgi{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__category-exp--completed.svelte-1rfhzgi{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__category-exp--completed.svelte-1rfhzgi{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__category-exp--completed.svelte-1rfhzgi{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__category-exp--completed.svelte-1rfhzgi{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__category-exp--completed.svelte-1rfhzgi{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__category-exp--completed.svelte-1rfhzgi{font-size:calc(0.0057291667 * 100vw + 0px)}}.easter-event-quests__category-exp-descr.svelte-1rfhzgi{font-family:\"GothamPro\";color:#505050;font-size:calc(0.00625 * 100vw + 0px);margin-top:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__category-exp-descr.svelte-1rfhzgi{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__category-exp-descr.svelte-1rfhzgi{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__category-exp-descr.svelte-1rfhzgi{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__category-exp-descr.svelte-1rfhzgi{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__category-exp-descr.svelte-1rfhzgi{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__category-exp-descr.svelte-1rfhzgi{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__category-exp-descr.svelte-1rfhzgi{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__category-exp-descr.svelte-1rfhzgi{margin-top:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__category-exp-descr.svelte-1rfhzgi{margin-top:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__category-exp-descr.svelte-1rfhzgi{margin-top:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__category-exp-descr.svelte-1rfhzgi{margin-top:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__category-exp-descr.svelte-1rfhzgi{margin-top:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__category-exp-descr.svelte-1rfhzgi{margin-top:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__category-exp-descr.svelte-1rfhzgi{margin-top:calc(0.0028645833 * 100vw + 0px)}}.easter-event-quests__items.svelte-1rfhzgi{z-index:1;position:absolute;top:calc(0.1302083333 * 100vw + 0px);right:calc(0.1328125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items.svelte-1rfhzgi{top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items.svelte-1rfhzgi{top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items.svelte-1rfhzgi{top:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items.svelte-1rfhzgi{top:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items.svelte-1rfhzgi{top:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items.svelte-1rfhzgi{top:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items.svelte-1rfhzgi{top:calc(0.1432291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items.svelte-1rfhzgi{right:calc(0.1328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items.svelte-1rfhzgi{right:calc(0.1328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items.svelte-1rfhzgi{right:calc(0.102265625 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items.svelte-1rfhzgi{right:calc(0.14609375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items.svelte-1rfhzgi{right:calc(0.09296875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items.svelte-1rfhzgi{right:calc(0.11953125 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items.svelte-1rfhzgi{right:calc(0.14609375 * 100vw + 0px)}}.easter-event-quests__items-title.svelte-1rfhzgi{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px);margin-bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-title.svelte-1rfhzgi{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-title.svelte-1rfhzgi{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-title.svelte-1rfhzgi{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-title.svelte-1rfhzgi{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-title.svelte-1rfhzgi{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-title.svelte-1rfhzgi{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-title.svelte-1rfhzgi{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-title.svelte-1rfhzgi{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-title.svelte-1rfhzgi{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-title.svelte-1rfhzgi{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-title.svelte-1rfhzgi{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-title.svelte-1rfhzgi{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-title.svelte-1rfhzgi{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-title.svelte-1rfhzgi{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.easter-event-quests__items-wrapper.svelte-1rfhzgi{overflow:auto;height:calc(0.378125 * 100vw + 0px);padding-right:calc(0.0130208333 * 100vw + 0px)}.easter-event-quests__items-wrapper.svelte-1rfhzgi::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-wrapper.svelte-1rfhzgi::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-wrapper.svelte-1rfhzgi::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-wrapper.svelte-1rfhzgi::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-wrapper.svelte-1rfhzgi::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-wrapper.svelte-1rfhzgi::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-wrapper.svelte-1rfhzgi::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-wrapper.svelte-1rfhzgi::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-wrapper.svelte-1rfhzgi::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-wrapper.svelte-1rfhzgi::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-wrapper.svelte-1rfhzgi::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-wrapper.svelte-1rfhzgi::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-wrapper.svelte-1rfhzgi::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-wrapper.svelte-1rfhzgi::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-wrapper.svelte-1rfhzgi::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.easter-event-quests__items-wrapper.svelte-1rfhzgi::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-wrapper.svelte-1rfhzgi::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-wrapper.svelte-1rfhzgi::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-wrapper.svelte-1rfhzgi::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-wrapper.svelte-1rfhzgi::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-wrapper.svelte-1rfhzgi::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-wrapper.svelte-1rfhzgi::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-wrapper.svelte-1rfhzgi::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.easter-event-quests__items-wrapper.svelte-1rfhzgi::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-wrapper.svelte-1rfhzgi::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-wrapper.svelte-1rfhzgi::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-wrapper.svelte-1rfhzgi::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-wrapper.svelte-1rfhzgi::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-wrapper.svelte-1rfhzgi::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-wrapper.svelte-1rfhzgi::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-wrapper.svelte-1rfhzgi::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-wrapper.svelte-1rfhzgi{height:calc(0.378125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-wrapper.svelte-1rfhzgi{height:calc(0.378125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-wrapper.svelte-1rfhzgi{height:calc(0.29115625 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-wrapper.svelte-1rfhzgi{height:calc(0.4159375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-wrapper.svelte-1rfhzgi{height:calc(0.2646875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-wrapper.svelte-1rfhzgi{height:calc(0.3403125 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-wrapper.svelte-1rfhzgi{height:calc(0.4159375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.easter-event-quests__items-wrapper.svelte-1rfhzgi{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.easter-event-quests__items-wrapper.svelte-1rfhzgi{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.easter-event-quests__items-wrapper.svelte-1rfhzgi{padding-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.easter-event-quests__items-wrapper.svelte-1rfhzgi{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.easter-event-quests__items-wrapper.svelte-1rfhzgi{padding-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.easter-event-quests__items-wrapper.svelte-1rfhzgi{padding-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.easter-event-quests__items-wrapper.svelte-1rfhzgi{padding-right:calc(0.0143229167 * 100vw + 0px)}}.easter-event-quests__items-wrapper.svelte-1rfhzgi::-webkit-scrollbar{width:0px}");
}

function easter_event_quests_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[15] = list[i];
	return child_ctx;
}

function easter_event_quests_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[18] = list[i];
	return child_ctx;
}

// (2011:20) {:else}
function easter_event_quests_index_svelte_create_else_block(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="easter-event-quests__category-exp--completed svelte-1rfhzgi">Выполнено</p>`;
			attr(div, "class", "easter-event-quests__category-quest-progress--completed svelte-1rfhzgi");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (2000:20) {#if category.progress !== category.maxProgress}
function easter_event_quests_index_svelte_create_if_block_1(ctx) {
	let div;
	let p0;
	let t0_value = /*category*/ ctx[18].progress + "";
	let t0;
	let t1;
	let t2_value = /*category*/ ctx[18].maxProgress + "";
	let t2;
	let t3;
	let p1;

	return {
		c() {
			div = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = internal_text("\r\n                                /\r\n                                ");
			t2 = internal_text(t2_value);
			t3 = space();
			p1 = internal_element("p");
			p1.textContent = "Прогресс";
			attr(p0, "class", "easter-event-quests__category-exp svelte-1rfhzgi");
			attr(p1, "class", "easter-event-quests__category-exp-descr svelte-1rfhzgi");
			attr(div, "class", "easter-event-quests__category-quest-progress svelte-1rfhzgi");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p0);
			append(p0, t0);
			append(p0, t1);
			append(p0, t2);
			append(div, t3);
			append(div, p1);
		},
		p(ctx, dirty) {
			if (dirty & /*categoriesTabs*/ 2 && t0_value !== (t0_value = /*category*/ ctx[18].progress + "")) set_data(t0, t0_value);
			if (dirty & /*categoriesTabs*/ 2 && t2_value !== (t2_value = /*category*/ ctx[18].maxProgress + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1986:12) {#each categoriesTabs as category}
function easter_event_quests_index_svelte_create_each_block_1(ctx) {
	let div1;
	let div0;
	let p0;
	let t0_value = /*category*/ ctx[18].title + "";
	let t0;
	let t1;
	let p1;
	let t2_value = /*category*/ ctx[18].description + "";
	let t2;
	let t3;
	let t4;
	let mounted;
	let dispose;

	function select_block_type(ctx, dirty) {
		if (/*category*/ ctx[18].progress !== /*category*/ ctx[18].maxProgress) return easter_event_quests_index_svelte_create_if_block_1;
		return easter_event_quests_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block = current_block_type(ctx);

	function click_handler() {
		return /*click_handler*/ ctx[5](/*category*/ ctx[18]);
	}

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = space();
			if_block.c();
			t4 = space();
			attr(p0, "class", "easter-event-quests__category-quest-title svelte-1rfhzgi");
			attr(p1, "class", "easter-event-quests__category-quest-descr svelte-1rfhzgi");
			attr(div0, "class", "easter-event-quests__category-quest-body svelte-1rfhzgi");
			attr(div1, "class", "easter-event-quests__category-quest svelte-1rfhzgi");
			toggle_class(div1, "easter-event-quests__category-quest--selected", /*category*/ ctx[18].id === /*selectedTabId*/ ctx[2]);
			toggle_class(div1, "easter-event-quests__category-quest--completed", /*category*/ ctx[18].progress === /*category*/ ctx[18].maxProgress);
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, p0);
			append(p0, t0);
			append(div0, t1);
			append(div0, p1);
			append(p1, t2);
			append(div1, t3);
			if_block.m(div1, null);
			append(div1, t4);

			if (!mounted) {
				dispose = listen(div1, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if (dirty & /*categoriesTabs*/ 2 && t0_value !== (t0_value = /*category*/ ctx[18].title + "")) set_data(t0, t0_value);
			if (dirty & /*categoriesTabs*/ 2 && t2_value !== (t2_value = /*category*/ ctx[18].description + "")) set_data(t2, t2_value);

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div1, t4);
				}
			}

			if (dirty & /*categoriesTabs, selectedTabId*/ 6) {
				toggle_class(div1, "easter-event-quests__category-quest--selected", /*category*/ ctx[18].id === /*selectedTabId*/ ctx[2]);
			}

			if (dirty & /*categoriesTabs*/ 2) {
				toggle_class(div1, "easter-event-quests__category-quest--completed", /*category*/ ctx[18].progress === /*category*/ ctx[18].maxProgress);
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			if_block.d();
			mounted = false;
			dispose();
		}
	};
}

// (2023:8) {#if !isEmpty(categoriesQuests[selectedTabId])}
function easter_event_quests_index_svelte_create_if_block(ctx) {
	let p;
	let t1;
	let div;
	let previous_key = /*selectedTabId*/ ctx[2];
	let current;
	let key_block = easter_event_quests_index_svelte_create_key_block(ctx);

	return {
		c() {
			p = internal_element("p");
			p.textContent = "Задания";
			t1 = space();
			div = internal_element("div");
			key_block.c();
			attr(p, "class", "easter-event-quests__items-title svelte-1rfhzgi");
			attr(div, "class", "easter-event-quests__items-wrapper svelte-1rfhzgi");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			insert(target, t1, anchor);
			insert(target, div, anchor);
			key_block.m(div, null);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty & /*selectedTabId*/ 4 && safe_not_equal(previous_key, previous_key = /*selectedTabId*/ ctx[2])) {
				group_outros();
				transition_out(key_block, 1, 1, internal_noop);
				check_outros();
				key_block = easter_event_quests_index_svelte_create_key_block(ctx);
				key_block.c();
				transition_in(key_block, 1);
				key_block.m(div, null);
			} else {
				key_block.p(ctx, dirty);
			}
		},
		i(local) {
			if (current) return;
			transition_in(key_block);
			current = true;
		},
		o(local) {
			transition_out(key_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(p);
			if (detaching) detach(t1);
			if (detaching) detach(div);
			key_block.d(detaching);
		}
	};
}

// (2029:20) {#each categoriesQuests[selectedTabId] as quest}
function easter_event_quests_index_svelte_create_each_block(ctx) {
	let accordion;
	let current;

	accordion = new easter_event_quests_components_accordion_index_svelte({
			props: {
				quest: /*quest*/ ctx[15],
				categoryId: /*selectedTabId*/ ctx[2]
			}
		});

	return {
		c() {
			create_component(accordion.$$.fragment);
		},
		m(target, anchor) {
			mount_component(accordion, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const accordion_changes = {};
			if (dirty & /*categoriesQuests, selectedTabId*/ 5) accordion_changes.quest = /*quest*/ ctx[15];
			if (dirty & /*selectedTabId*/ 4) accordion_changes.categoryId = /*selectedTabId*/ ctx[2];
			accordion.$set(accordion_changes);
		},
		i(local) {
			if (current) return;
			transition_in(accordion.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(accordion.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(accordion, detaching);
		}
	};
}

// (2028:16) {#key selectedTabId}
function easter_event_quests_index_svelte_create_key_block(ctx) {
	let each_1_anchor;
	let current;
	let each_value = /*categoriesQuests*/ ctx[0][/*selectedTabId*/ ctx[2]];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = easter_event_quests_index_svelte_create_each_block(easter_event_quests_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty & /*categoriesQuests, selectedTabId*/ 5) {
				each_value = /*categoriesQuests*/ ctx[0][/*selectedTabId*/ ctx[2]];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = easter_event_quests_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = easter_event_quests_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			destroy_each(each_blocks, detaching);
			if (detaching) detach(each_1_anchor);
		}
	};
}

function easter_event_quests_index_svelte_create_fragment(ctx) {
	let div4;
	let p0;
	let t1;
	let img0;
	let img0_src_value;
	let t2;
	let img1;
	let img1_src_value;
	let t3;
	let eastereventbackground;
	let t4;
	let img2;
	let img2_src_value;
	let t5;
	let exitbutton;
	let t6;
	let div0;
	let img3;
	let img3_src_value;
	let t7;
	let div2;
	let p1;
	let t9;
	let div1;
	let t10;
	let div3;
	let show_if = !(0,lodash.isEmpty)(/*categoriesQuests*/ ctx[0][/*selectedTabId*/ ctx[2]]);
	let current;
	eastereventbackground = new easter_event_components_background_index_svelte({});

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[4],
				title: "Вернутся назад",
				fixedPosition: true
			}
		});

	let each_value_1 = /*categoriesTabs*/ ctx[1];
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = easter_event_quests_index_svelte_create_each_block_1(easter_event_quests_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	let if_block = show_if && easter_event_quests_index_svelte_create_if_block(ctx);

	return {
		c() {
			div4 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Список заданий";
			t1 = space();
			img0 = internal_element("img");
			t2 = space();
			img1 = internal_element("img");
			t3 = space();
			create_component(eastereventbackground.$$.fragment);
			t4 = space();
			img2 = internal_element("img");
			t5 = space();
			create_component(exitbutton.$$.fragment);
			t6 = space();
			div0 = internal_element("div");
			img3 = internal_element("img");
			t7 = space();
			div2 = internal_element("div");
			p1 = internal_element("p");
			p1.textContent = "Этапы";
			t9 = space();
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t10 = space();
			div3 = internal_element("div");
			if (if_block) if_block.c();
			attr(p0, "class", "easter-event-quests__title svelte-1rfhzgi");
			attr(img0, "class", "easter-event-quests__quests-img svelte-1rfhzgi");
			if (!src_url_equal(img0.src, img0_src_value = easter_quests_bunnies_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "bunnies");
			attr(img1, "class", "easter-event-quests__farmer-img svelte-1rfhzgi");
			if (!src_url_equal(img1.src, img1_src_value = easter_quests_farmer_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "farmer");
			attr(img2, "class", "easter-event-quests__grass-img svelte-1rfhzgi");
			if (!src_url_equal(img2.src, img2_src_value = easter_event_grass_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "grass-background");
			attr(img3, "class", "easter-event-quests__logo-icon svelte-1rfhzgi");
			if (!src_url_equal(img3.src, img3_src_value = easter_event_logo_namespaceObject)) attr(img3, "src", img3_src_value);
			attr(img3, "alt", "logo");
			attr(div0, "class", "easter-event-quests__logo svelte-1rfhzgi");
			attr(p1, "class", "easter-event-quests__category-title svelte-1rfhzgi");
			attr(div1, "class", "easter-event-quests__categories-wrapper svelte-1rfhzgi");
			attr(div2, "class", "easter-event-quests__category svelte-1rfhzgi");
			attr(div3, "class", "easter-event-quests__items svelte-1rfhzgi");
			attr(div4, "class", "easter-event-quests svelte-1rfhzgi");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, p0);
			append(div4, t1);
			append(div4, img0);
			append(div4, t2);
			append(div4, img1);
			append(div4, t3);
			mount_component(eastereventbackground, div4, null);
			append(div4, t4);
			append(div4, img2);
			append(div4, t5);
			mount_component(exitbutton, div4, null);
			append(div4, t6);
			append(div4, div0);
			append(div0, img3);
			append(div4, t7);
			append(div4, div2);
			append(div2, p1);
			append(div2, t9);
			append(div2, div1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}

			append(div4, t10);
			append(div4, div3);
			if (if_block) if_block.m(div3, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*categoriesTabs, selectedTabId, selectCategory*/ 14) {
				each_value_1 = /*categoriesTabs*/ ctx[1];
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = easter_event_quests_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = easter_event_quests_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div1, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}

			if (dirty & /*categoriesQuests, selectedTabId*/ 5) show_if = !(0,lodash.isEmpty)(/*categoriesQuests*/ ctx[0][/*selectedTabId*/ ctx[2]]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*categoriesQuests, selectedTabId*/ 5) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = easter_event_quests_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(div3, null);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(eastereventbackground.$$.fragment, local);
			transition_in(exitbutton.$$.fragment, local);
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(eastereventbackground.$$.fragment, local);
			transition_out(exitbutton.$$.fragment, local);
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div4);
			destroy_component(eastereventbackground);
			destroy_component(exitbutton);
			destroy_each(each_blocks, detaching);
			if (if_block) if_block.d();
		}
	};
}

function easter_event_quests_index_svelte_instance($$self, $$props, $$invalidate) {
	let categoriesQuests = {};
	let categoriesTabs = [];
	let selectedTabId = null;

	const setCategoryQuests = (categoryId, quests) => {
		$$invalidate(0, categoriesQuests[categoryId] = quests, categoriesQuests);
	};

	const pushCategoryQuests = (categoryId, quests) => {
		$$invalidate(0, categoriesQuests[categoryId] = [...categoriesQuests[categoryId] || [], ...quests], categoriesQuests);
	};

	const selectCategory = tabId => {
		$$invalidate(2, selectedTabId = tabId);
	};

	const handleClose = () => {
		
	}; // exec close event

	const initQuests = categoriesQuestsDto => {
		$$invalidate(0, categoriesQuests = categoriesQuestsDto);
	};

	const initTabs = categoriesTabsDto => {
		$$invalidate(1, categoriesTabs = categoriesTabsDto);
	};

	const unregisterInitQuestsEvent = registerEvent('easterEvent.quests.initialize', initQuests);
	const unregisterInitTabsEvent = registerEvent('easterEvent.categories.initialize', initTabs);
	const unregisterSetCategoryQuestEvent = registerEvent('easterEvent.quests.update', setCategoryQuests);
	const unregisterSelectCategoryQuestEvent = registerEvent('easterEvent.categories.select', selectCategory);
	const unregisterPushQuestsEvent = registerEvent('easterEvent.quests.push', pushCategoryQuests);

	onDestroy(() => {
		unregisterInitQuestsEvent();
		unregisterInitTabsEvent();
		unregisterSetCategoryQuestEvent();
		unregisterSelectCategoryQuestEvent();
		unregisterPushQuestsEvent();
	});

	const click_handler = category => selectCategory(category.id);

	return [
		categoriesQuests,
		categoriesTabs,
		selectedTabId,
		selectCategory,
		handleClose,
		click_handler
	];
}

class easter_event_quests_index_svelte_Quests extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, easter_event_quests_index_svelte_instance, easter_event_quests_index_svelte_create_fragment, safe_not_equal, {}, easter_event_quests_index_svelte_add_css);
	}
}

/* harmony default export */ const easter_event_quests_index_svelte = (easter_event_quests_index_svelte_Quests);
;// CONCATENATED MODULE: ./src/views/fade-screen/index.svelte
/* src\views\fade-screen\index.svelte generated by Svelte v3.49.0 */





function fade_screen_index_svelte_add_css(target) {
	append_styles(target, "svelte-1tbg3ul", ".fade-screen.svelte-1tbg3ul{position:absolute;top:0;left:0;right:0;bottom:0;background-color:var(--screen-color);opacity:var(--opacity);transition:opacity linear var(--transition-time)}");
}

function fade_screen_index_svelte_create_fragment(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			attr(div, "class", "fade-screen svelte-1tbg3ul");
			set_style(div, "--screen-color", /*color*/ ctx[1]);
			set_style(div, "--transition-time", /*animationDuration*/ ctx[0] + "s");
			set_style(div, "--opacity", /*opacity*/ ctx[2]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p(ctx, [dirty]) {
			if (dirty & /*color*/ 2) {
				set_style(div, "--screen-color", /*color*/ ctx[1]);
			}

			if (dirty & /*animationDuration*/ 1) {
				set_style(div, "--transition-time", /*animationDuration*/ ctx[0] + "s");
			}

			if (dirty & /*opacity*/ 4) {
				set_style(div, "--opacity", /*opacity*/ ctx[2]);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function fade_screen_index_svelte_instance($$self, $$props, $$invalidate) {
	let animationDuration = 0;
	let color = '#111111';
	let opacity = 0;

	const initialize = (_animationDuration, _color, _opacity) => {
		$$invalidate(0, animationDuration = _animationDuration);
		$$invalidate(1, color = _color);
		$$invalidate(2, opacity = _opacity);
	};

	const unregisterFadeScreenInitialize = registerEvent('event.fadeScreen.initialize', initialize);

	onDestroy(() => {
		unregisterFadeScreenInitialize();
	});

	return [animationDuration, color, opacity];
}

class Fade_screen extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, fade_screen_index_svelte_instance, fade_screen_index_svelte_create_fragment, safe_not_equal, {}, fade_screen_index_svelte_add_css);
	}
}

/* harmony default export */ const fade_screen_index_svelte = (Fade_screen);
;// CONCATENATED MODULE: ./src/views/filmed-text/index.svelte
/* src\views\filmed-text\index.svelte generated by Svelte v3.49.0 */






function filmed_text_index_svelte_add_css(target) {
	append_styles(target, "svelte-chu1fz", "@keyframes svelte-chu1fz-blinking{50%{opacity:0}}@keyframes svelte-chu1fz-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-chu1fz-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-chu1fz-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-chu1fz-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-chu1fz-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-chu1fz-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-chu1fz-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-chu1fz-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-chu1fz-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-chu1fz-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-chu1fz-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-chu1fz-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-chu1fz-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-chu1fz-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.filmed-text__top-line.svelte-chu1fz{background-color:#111111;position:absolute;top:0;left:0;right:0;height:calc(0.046875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.filmed-text__top-line.svelte-chu1fz{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.filmed-text__top-line.svelte-chu1fz{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.filmed-text__top-line.svelte-chu1fz{height:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px){.filmed-text__top-line.svelte-chu1fz{height:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.filmed-text__top-line.svelte-chu1fz{height:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.filmed-text__top-line.svelte-chu1fz{height:calc(0.0421875 * 100vw + 0px)}}@media(min-width: 4096px){.filmed-text__top-line.svelte-chu1fz{height:calc(0.0515625 * 100vw + 0px)}}.filmed-text__bottom-line.svelte-chu1fz{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:center;align-items:center;background-color:#111111;height:calc(0.046875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.filmed-text__bottom-line.svelte-chu1fz{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.filmed-text__bottom-line.svelte-chu1fz{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.filmed-text__bottom-line.svelte-chu1fz{height:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px){.filmed-text__bottom-line.svelte-chu1fz{height:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.filmed-text__bottom-line.svelte-chu1fz{height:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.filmed-text__bottom-line.svelte-chu1fz{height:calc(0.0421875 * 100vw + 0px)}}@media(min-width: 4096px){.filmed-text__bottom-line.svelte-chu1fz{height:calc(0.0515625 * 100vw + 0px)}}.filmed-text__text.svelte-chu1fz{font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.filmed-text__text.svelte-chu1fz{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.filmed-text__text.svelte-chu1fz{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.filmed-text__text.svelte-chu1fz{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.filmed-text__text.svelte-chu1fz{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.filmed-text__text.svelte-chu1fz{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.filmed-text__text.svelte-chu1fz{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.filmed-text__text.svelte-chu1fz{font-size:calc(0.01375 * 100vw + 0px)}}");
}

// (332:1) {#if linesVisible}
function filmed_text_index_svelte_create_if_block(ctx) {
	let div0;
	let div0_transition;
	let t0;
	let div2;
	let div1;
	let t1;
	let div2_transition;
	let current;

	return {
		c() {
			div0 = internal_element("div");
			t0 = space();
			div2 = internal_element("div");
			div1 = internal_element("div");
			t1 = internal_text(/*typedText*/ ctx[0]);
			attr(div0, "class", "filmed-text__top-line svelte-chu1fz");
			attr(div1, "class", "filmed-text__text svelte-chu1fz");
			attr(div2, "class", "filmed-text__bottom-line svelte-chu1fz");
		},
		m(target, anchor) {
			insert(target, div0, anchor);
			insert(target, t0, anchor);
			insert(target, div2, anchor);
			append(div2, div1);
			append(div1, t1);
			current = true;
		},
		p(ctx, dirty) {
			if (!current || dirty & /*typedText*/ 1) set_data(t1, /*typedText*/ ctx[0]);
		},
		i(local) {
			if (current) return;

			add_render_callback(() => {
				if (!div0_transition) div0_transition = create_bidirectional_transition(div0, slide, { duration: 800 }, true);
				div0_transition.run(1);
			});

			add_render_callback(() => {
				if (!div2_transition) div2_transition = create_bidirectional_transition(div2, slide, { duration: 800 }, true);
				div2_transition.run(1);
			});

			current = true;
		},
		o(local) {
			if (!div0_transition) div0_transition = create_bidirectional_transition(div0, slide, { duration: 800 }, false);
			div0_transition.run(0);
			if (!div2_transition) div2_transition = create_bidirectional_transition(div2, slide, { duration: 800 }, false);
			div2_transition.run(0);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div0);
			if (detaching && div0_transition) div0_transition.end();
			if (detaching) detach(t0);
			if (detaching) detach(div2);
			if (detaching && div2_transition) div2_transition.end();
		}
	};
}

function filmed_text_index_svelte_create_fragment(ctx) {
	let div;
	let current;
	let if_block = /*linesVisible*/ ctx[1] && filmed_text_index_svelte_create_if_block(ctx);

	return {
		c() {
			div = internal_element("div");
			if (if_block) if_block.c();
			attr(div, "class", "filmed-text");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block) if_block.m(div, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if (/*linesVisible*/ ctx[1]) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*linesVisible*/ 2) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = filmed_text_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(div, null);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (if_block) if_block.d();
		}
	};
}

function filmed_text_index_svelte_instance($$self, $$props, $$invalidate) {
	let fullText = '';
	let typedText = '';
	let linesVisible = false;
	let typingIntervalId = null;

	const updateLinesVisible = visible => {
		$$invalidate(1, linesVisible = visible);
	};

	const updateClearText = () => {
		$$invalidate(0, typedText = '');
	};

	const initializeText = text => {
		fullText = text;

		typingIntervalId = setInterval(
			() => {
				if (typedText.length + 1 > fullText.length) {
					clearInterval(typingIntervalId);
					typingIntervalId = null;
					return;
				}

				$$invalidate(0, typedText += fullText.substring(typedText.length, typedText.length + 1));
			},
			80
		);
	};

	const unregisterUpdateLinesVisible = registerEvent('event.filmedText.updateLinesVisible', updateLinesVisible);
	const unregisterInitializeText = registerEvent('event.filmedText.initializeText', initializeText);
	const unregisterUpdateClearText = registerEvent('event.filmedText.updateClearText', updateClearText);

	onDestroy(() => {
		unregisterUpdateLinesVisible();
		unregisterInitializeText();
		unregisterUpdateClearText();
	});

	return [typedText, linesVisible];
}

class Filmed_text extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, filmed_text_index_svelte_instance, filmed_text_index_svelte_create_fragment, safe_not_equal, {}, filmed_text_index_svelte_add_css);
	}
}

/* harmony default export */ const filmed_text_index_svelte = (Filmed_text);
;// CONCATENATED MODULE: ./src/views/rage-day-event/img/rage-day-event-logo.png
const rage_day_event_logo_namespaceObject = __webpack_require__.p + "assets/742b62331d06517f0441.webp";
;// CONCATENATED MODULE: ./src/views/rage-day-event/menu/img/rage-day-event-playerLogo.svg
const rage_day_event_playerLogo_namespaceObject = __webpack_require__.p + "assets/765568ee564ee05c2c17.svg";
;// CONCATENATED MODULE: ./src/views/rage-day-event/menu/img/rage-day-event-clown.png
const rage_day_event_clown_namespaceObject = __webpack_require__.p + "assets/5516b839d1cd7f199a9b.webp";
;// CONCATENATED MODULE: ./src/views/rage-day-event/menu/img/rage-day-event-quests.png
const rage_day_event_quests_namespaceObject = __webpack_require__.p + "assets/2577f8f8c0aefb95465d.webp";
;// CONCATENATED MODULE: ./src/views/rage-day-event/img/rage-day-event-background.png
const rage_day_event_background_namespaceObject = __webpack_require__.p + "assets/e2d75886568739476dfc.webp";
;// CONCATENATED MODULE: ./src/views/rage-day-event/components/background/index.svelte
/* src\views\rage-day-event\components\background\index.svelte generated by Svelte v3.49.0 */




function rage_day_event_components_background_index_svelte_add_css(target) {
	append_styles(target, "svelte-pt4kzt", "@keyframes svelte-pt4kzt-blinking{50%{opacity:0}}@keyframes svelte-pt4kzt-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-pt4kzt-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-pt4kzt-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-pt4kzt-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-pt4kzt-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-pt4kzt-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-pt4kzt-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-pt4kzt-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-pt4kzt-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-pt4kzt-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-pt4kzt-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-pt4kzt-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-pt4kzt-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-pt4kzt-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.rage-day-event-background.svelte-pt4kzt{width:100vw;height:100vh}");
}

function rage_day_event_components_background_index_svelte_create_fragment(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "rage-day-event-background svelte-pt4kzt");
			if (!src_url_equal(img.src, img_src_value = rage_day_event_background_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "RageDayBackground");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

class rage_day_event_components_background_index_svelte_Background extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, rage_day_event_components_background_index_svelte_create_fragment, safe_not_equal, {}, rage_day_event_components_background_index_svelte_add_css);
	}
}

/* harmony default export */ const rage_day_event_components_background_index_svelte = (rage_day_event_components_background_index_svelte_Background);
;// CONCATENATED MODULE: ./src/views/rage-day-event/menu/index.svelte
/* src\views\rage-day-event\menu\index.svelte generated by Svelte v3.49.0 */









// import { PLAYER_STATS } from './mocks';







function rage_day_event_menu_index_svelte_add_css(target) {
	append_styles(target, "svelte-1n489uo", "@keyframes svelte-1n489uo-blinking{50%{opacity:0}}@keyframes svelte-1n489uo-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1n489uo-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1n489uo-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1n489uo-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1n489uo-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1n489uo-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1n489uo-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1n489uo-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1n489uo-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1n489uo-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1n489uo-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1n489uo-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1n489uo-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1n489uo-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.rage-day-event-menu.svelte-1n489uo{display:flex;align-items:center;flex-direction:column;width:100vw;height:100vh;background:linear-gradient(0deg, rgba(21, 21, 21, 0.9), rgba(21, 21, 21, 0.9)), radial-gradient(117.53% 91.62% at 50% 50%, rgba(0, 0, 0, 0) 0%, #000000 100%)}.rage-day-event-menu__clown-img.svelte-1n489uo{position:absolute;z-index:1;left:0;bottom:0;height:calc(0.515625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__clown-img.svelte-1n489uo{height:calc(0.515625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__clown-img.svelte-1n489uo{height:calc(0.515625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__clown-img.svelte-1n489uo{height:calc(0.39703125 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__clown-img.svelte-1n489uo{height:calc(0.5671875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__clown-img.svelte-1n489uo{height:calc(0.3609375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__clown-img.svelte-1n489uo{height:calc(0.4640625 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__clown-img.svelte-1n489uo{height:calc(0.5671875 * 100vw + 0px)}}.rage-day-event-menu__background-quests.svelte-1n489uo{position:absolute;right:0;bottom:0;pointer-events:none;height:calc(0.4166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__background-quests.svelte-1n489uo{height:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__background-quests.svelte-1n489uo{height:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__background-quests.svelte-1n489uo{height:calc(0.3208333333 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__background-quests.svelte-1n489uo{height:calc(0.4583333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__background-quests.svelte-1n489uo{height:calc(0.2916666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__background-quests.svelte-1n489uo{height:calc(0.375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__background-quests.svelte-1n489uo{height:calc(0.4583333333 * 100vw + 0px)}}.rage-day-event-menu__logo.svelte-1n489uo{z-index:1;position:absolute;display:flex;align-items:center;top:calc(0.0302083333 * 100vw + 0px);left:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__logo.svelte-1n489uo{top:calc(0.0302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__logo.svelte-1n489uo{top:calc(0.0302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__logo.svelte-1n489uo{top:calc(0.0232604167 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__logo.svelte-1n489uo{top:calc(0.0332291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__logo.svelte-1n489uo{top:calc(0.0211458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__logo.svelte-1n489uo{top:calc(0.0271875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__logo.svelte-1n489uo{top:calc(0.0332291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__logo.svelte-1n489uo{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__logo.svelte-1n489uo{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__logo.svelte-1n489uo{left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__logo.svelte-1n489uo{left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__logo.svelte-1n489uo{left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__logo.svelte-1n489uo{left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__logo.svelte-1n489uo{left:calc(0.0286458333 * 100vw + 0px)}}.rage-day-event-menu__logo-icon.svelte-1n489uo{height:calc(0.05 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__logo-icon.svelte-1n489uo{height:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__logo-icon.svelte-1n489uo{height:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__logo-icon.svelte-1n489uo{height:calc(0.0385 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__logo-icon.svelte-1n489uo{height:calc(0.055 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__logo-icon.svelte-1n489uo{height:calc(0.035 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__logo-icon.svelte-1n489uo{height:calc(0.045 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__logo-icon.svelte-1n489uo{height:calc(0.055 * 100vw + 0px)}}.rage-day-event-menu__take-contract.svelte-1n489uo{position:absolute;display:flex;flex-direction:column;right:calc(0.1510416667 * 100vw + 0px);top:calc(0.2010416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__take-contract.svelte-1n489uo{right:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__take-contract.svelte-1n489uo{right:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__take-contract.svelte-1n489uo{right:calc(0.1163020833 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__take-contract.svelte-1n489uo{right:calc(0.1661458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__take-contract.svelte-1n489uo{right:calc(0.1057291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__take-contract.svelte-1n489uo{right:calc(0.1359375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__take-contract.svelte-1n489uo{right:calc(0.1661458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__take-contract.svelte-1n489uo{top:calc(0.2010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__take-contract.svelte-1n489uo{top:calc(0.2010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__take-contract.svelte-1n489uo{top:calc(0.1548020833 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__take-contract.svelte-1n489uo{top:calc(0.2211458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__take-contract.svelte-1n489uo{top:calc(0.1407291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__take-contract.svelte-1n489uo{top:calc(0.1809375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__take-contract.svelte-1n489uo{top:calc(0.2211458333 * 100vw + 0px)}}.rage-day-event-menu__take-contract-title.svelte-1n489uo{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0333333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__take-contract-title.svelte-1n489uo{font-size:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__take-contract-title.svelte-1n489uo{font-size:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__take-contract-title.svelte-1n489uo{font-size:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__take-contract-title.svelte-1n489uo{font-size:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__take-contract-title.svelte-1n489uo{font-size:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__take-contract-title.svelte-1n489uo{font-size:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__take-contract-title.svelte-1n489uo{font-size:calc(0.0366666667 * 100vw + 0px)}}.rage-day-event-menu__take-contract-title--bold.svelte-1n489uo{font-family:\"GothamPro-Bold\"}.rage-day-event-menu__take-contract-btn.svelte-1n489uo{display:flex;justify-content:center;align-items:center;cursor:pointer;font-size:calc(0.009375 * 100vw + 0px);width:calc(0.0520833333 * 100vw + 0px);height:calc(0.0234375 * 100vw + 0px);margin-top:calc(0.0083333333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__take-contract-btn.svelte-1n489uo{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__take-contract-btn.svelte-1n489uo{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__take-contract-btn.svelte-1n489uo{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__take-contract-btn.svelte-1n489uo{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__take-contract-btn.svelte-1n489uo{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__take-contract-btn.svelte-1n489uo{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__take-contract-btn.svelte-1n489uo{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__take-contract-btn.svelte-1n489uo{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__take-contract-btn.svelte-1n489uo{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__take-contract-btn.svelte-1n489uo{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__take-contract-btn.svelte-1n489uo{width:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__take-contract-btn.svelte-1n489uo{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__take-contract-btn.svelte-1n489uo{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__take-contract-btn.svelte-1n489uo{width:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__take-contract-btn.svelte-1n489uo{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__take-contract-btn.svelte-1n489uo{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__take-contract-btn.svelte-1n489uo{height:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__take-contract-btn.svelte-1n489uo{height:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__take-contract-btn.svelte-1n489uo{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__take-contract-btn.svelte-1n489uo{height:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__take-contract-btn.svelte-1n489uo{height:calc(0.02578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__take-contract-btn.svelte-1n489uo{margin-top:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__take-contract-btn.svelte-1n489uo{margin-top:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__take-contract-btn.svelte-1n489uo{margin-top:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__take-contract-btn.svelte-1n489uo{margin-top:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__take-contract-btn.svelte-1n489uo{margin-top:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__take-contract-btn.svelte-1n489uo{margin-top:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__take-contract-btn.svelte-1n489uo{margin-top:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__take-contract-btn.svelte-1n489uo{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__take-contract-btn.svelte-1n489uo{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__take-contract-btn.svelte-1n489uo{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__take-contract-btn.svelte-1n489uo{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__take-contract-btn.svelte-1n489uo{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__take-contract-btn.svelte-1n489uo{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__take-contract-btn.svelte-1n489uo{border-radius:calc(0.0057291667 * 100vw + 0px)}}.rage-day-event-menu__player-title-wrapper.svelte-1n489uo{z-index:1;position:absolute;bottom:calc(0.1104166667 * 100vw + 0px);left:calc(0.4234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__player-title-wrapper.svelte-1n489uo{bottom:calc(0.1104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__player-title-wrapper.svelte-1n489uo{bottom:calc(0.1104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__player-title-wrapper.svelte-1n489uo{bottom:calc(0.0850208333 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__player-title-wrapper.svelte-1n489uo{bottom:calc(0.1214583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__player-title-wrapper.svelte-1n489uo{bottom:calc(0.0772916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__player-title-wrapper.svelte-1n489uo{bottom:calc(0.099375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__player-title-wrapper.svelte-1n489uo{bottom:calc(0.1214583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__player-title-wrapper.svelte-1n489uo{left:calc(0.4234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__player-title-wrapper.svelte-1n489uo{left:calc(0.4234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__player-title-wrapper.svelte-1n489uo{left:calc(0.326046875 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__player-title-wrapper.svelte-1n489uo{left:calc(0.46578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__player-title-wrapper.svelte-1n489uo{left:calc(0.29640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__player-title-wrapper.svelte-1n489uo{left:calc(0.38109375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__player-title-wrapper.svelte-1n489uo{left:calc(0.46578125 * 100vw + 0px)}}.rage-day-event-menu__player-title.svelte-1n489uo{font-family:\"GothamPro-Bold\";color:#FFFFFF;font-size:calc(0.0208333333 * 100vw + 0px);width:calc(0.1822916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__player-title.svelte-1n489uo{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__player-title.svelte-1n489uo{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__player-title.svelte-1n489uo{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__player-title.svelte-1n489uo{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__player-title.svelte-1n489uo{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__player-title.svelte-1n489uo{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__player-title.svelte-1n489uo{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__player-title.svelte-1n489uo{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__player-title.svelte-1n489uo{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__player-title.svelte-1n489uo{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__player-title.svelte-1n489uo{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__player-title.svelte-1n489uo{width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__player-title.svelte-1n489uo{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__player-title.svelte-1n489uo{width:calc(0.2005208333 * 100vw + 0px)}}.rage-day-event-menu__player-name.svelte-1n489uo{display:flex;align-items:center;color:#FFFFFF;background:#343434;font-family:\"GothamPro-Bold\";width:calc(0.1822916667 * 100vw + 0px);height:calc(0.0520833333 * 100vw + 0px);border-radius:calc(0.0078125 * 100vw + 0px);font-size:calc(0.0166666667 * 100vw + 0px);margin-top:calc(0.0182291667 * 100vw + 0px);margin-bottom:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__player-name.svelte-1n489uo{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__player-name.svelte-1n489uo{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__player-name.svelte-1n489uo{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__player-name.svelte-1n489uo{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__player-name.svelte-1n489uo{width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__player-name.svelte-1n489uo{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__player-name.svelte-1n489uo{width:calc(0.2005208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__player-name.svelte-1n489uo{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__player-name.svelte-1n489uo{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__player-name.svelte-1n489uo{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__player-name.svelte-1n489uo{height:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__player-name.svelte-1n489uo{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__player-name.svelte-1n489uo{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__player-name.svelte-1n489uo{height:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__player-name.svelte-1n489uo{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__player-name.svelte-1n489uo{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__player-name.svelte-1n489uo{border-radius:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__player-name.svelte-1n489uo{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__player-name.svelte-1n489uo{border-radius:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__player-name.svelte-1n489uo{border-radius:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__player-name.svelte-1n489uo{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__player-name.svelte-1n489uo{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__player-name.svelte-1n489uo{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__player-name.svelte-1n489uo{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__player-name.svelte-1n489uo{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__player-name.svelte-1n489uo{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__player-name.svelte-1n489uo{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__player-name.svelte-1n489uo{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__player-name.svelte-1n489uo{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__player-name.svelte-1n489uo{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__player-name.svelte-1n489uo{margin-top:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__player-name.svelte-1n489uo{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__player-name.svelte-1n489uo{margin-top:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__player-name.svelte-1n489uo{margin-top:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__player-name.svelte-1n489uo{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__player-name.svelte-1n489uo{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__player-name.svelte-1n489uo{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__player-name.svelte-1n489uo{margin-bottom:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__player-name.svelte-1n489uo{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__player-name.svelte-1n489uo{margin-bottom:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__player-name.svelte-1n489uo{margin-bottom:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__player-name.svelte-1n489uo{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}.rage-day-event-menu__player-icon-wrapper.svelte-1n489uo{height:calc(0.015625 * 100vw + 0px);margin-right:calc(0.0104166667 * 100vw + 0px);margin-left:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__player-icon-wrapper.svelte-1n489uo{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__player-icon-wrapper.svelte-1n489uo{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__player-icon-wrapper.svelte-1n489uo{height:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__player-icon-wrapper.svelte-1n489uo{height:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__player-icon-wrapper.svelte-1n489uo{height:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__player-icon-wrapper.svelte-1n489uo{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__player-icon-wrapper.svelte-1n489uo{height:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__player-icon-wrapper.svelte-1n489uo{margin-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__player-icon-wrapper.svelte-1n489uo{margin-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__player-icon-wrapper.svelte-1n489uo{margin-right:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__player-icon-wrapper.svelte-1n489uo{margin-right:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__player-icon-wrapper.svelte-1n489uo{margin-right:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__player-icon-wrapper.svelte-1n489uo{margin-right:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__player-icon-wrapper.svelte-1n489uo{margin-right:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__player-icon-wrapper.svelte-1n489uo{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__player-icon-wrapper.svelte-1n489uo{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__player-icon-wrapper.svelte-1n489uo{margin-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__player-icon-wrapper.svelte-1n489uo{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__player-icon-wrapper.svelte-1n489uo{margin-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__player-icon-wrapper.svelte-1n489uo{margin-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__player-icon-wrapper.svelte-1n489uo{margin-left:calc(0.0114583333 * 100vw + 0px)}}.rage-day-event-menu__player-icon.svelte-1n489uo{width:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__player-icon.svelte-1n489uo{width:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__player-icon.svelte-1n489uo{width:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__player-icon.svelte-1n489uo{width:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__player-icon.svelte-1n489uo{width:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__player-icon.svelte-1n489uo{width:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__player-icon.svelte-1n489uo{width:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__player-icon.svelte-1n489uo{width:calc(0.0171875 * 100vw + 0px)}}.rage-day-event-menu__player-stats.svelte-1n489uo{display:flex;justify-content:space-between;border-radius:15px;background:#343434;width:calc(0.1822916667 * 100vw + 0px);padding-bottom:calc(0.0119791667 * 100vw + 0px);padding-left:calc(0.0234375 * 100vw + 0px);padding-right:calc(0.0234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__player-stats.svelte-1n489uo{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__player-stats.svelte-1n489uo{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__player-stats.svelte-1n489uo{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__player-stats.svelte-1n489uo{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__player-stats.svelte-1n489uo{width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__player-stats.svelte-1n489uo{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__player-stats.svelte-1n489uo{width:calc(0.2005208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__player-stats.svelte-1n489uo{padding-bottom:calc(0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__player-stats.svelte-1n489uo{padding-bottom:calc(0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__player-stats.svelte-1n489uo{padding-bottom:calc(0.0092239583 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__player-stats.svelte-1n489uo{padding-bottom:calc(0.0131770833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__player-stats.svelte-1n489uo{padding-bottom:calc(0.0083854167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__player-stats.svelte-1n489uo{padding-bottom:calc(0.01078125 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__player-stats.svelte-1n489uo{padding-bottom:calc(0.0131770833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__player-stats.svelte-1n489uo{padding-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__player-stats.svelte-1n489uo{padding-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__player-stats.svelte-1n489uo{padding-left:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__player-stats.svelte-1n489uo{padding-left:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__player-stats.svelte-1n489uo{padding-left:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__player-stats.svelte-1n489uo{padding-left:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__player-stats.svelte-1n489uo{padding-left:calc(0.02578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__player-stats.svelte-1n489uo{padding-right:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__player-stats.svelte-1n489uo{padding-right:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__player-stats.svelte-1n489uo{padding-right:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__player-stats.svelte-1n489uo{padding-right:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__player-stats.svelte-1n489uo{padding-right:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__player-stats.svelte-1n489uo{padding-right:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__player-stats.svelte-1n489uo{padding-right:calc(0.02578125 * 100vw + 0px)}}.rage-day-event-menu__player-quest-count.svelte-1n489uo{font-family:\"GothamPro-Bold\";color:#FFFFFF;font-size:calc(0.0125 * 100vw + 0px);padding-top:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__player-quest-count.svelte-1n489uo{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__player-quest-count.svelte-1n489uo{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__player-quest-count.svelte-1n489uo{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__player-quest-count.svelte-1n489uo{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__player-quest-count.svelte-1n489uo{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__player-quest-count.svelte-1n489uo{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__player-quest-count.svelte-1n489uo{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__player-quest-count.svelte-1n489uo{padding-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__player-quest-count.svelte-1n489uo{padding-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__player-quest-count.svelte-1n489uo{padding-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__player-quest-count.svelte-1n489uo{padding-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__player-quest-count.svelte-1n489uo{padding-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__player-quest-count.svelte-1n489uo{padding-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__player-quest-count.svelte-1n489uo{padding-top:calc(0.0143229167 * 100vw + 0px)}}.rage-day-event-menu__player-quest-title.svelte-1n489uo{font-family:\"GothamPro\";color:#FFFFFF;width:fit-content;padding-top:calc(0.0052083333 * 100vw + 0px);font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__player-quest-title.svelte-1n489uo{padding-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__player-quest-title.svelte-1n489uo{padding-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__player-quest-title.svelte-1n489uo{padding-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__player-quest-title.svelte-1n489uo{padding-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__player-quest-title.svelte-1n489uo{padding-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__player-quest-title.svelte-1n489uo{padding-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__player-quest-title.svelte-1n489uo{padding-top:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__player-quest-title.svelte-1n489uo{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__player-quest-title.svelte-1n489uo{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__player-quest-title.svelte-1n489uo{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__player-quest-title.svelte-1n489uo{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__player-quest-title.svelte-1n489uo{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__player-quest-title.svelte-1n489uo{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__player-quest-title.svelte-1n489uo{font-size:calc(0.006875 * 100vw + 0px)}}.rage-day-event-menu__player-stats-left.svelte-1n489uo{width:calc(0.0479166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__player-stats-left.svelte-1n489uo{width:calc(0.0479166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__player-stats-left.svelte-1n489uo{width:calc(0.0479166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__player-stats-left.svelte-1n489uo{width:calc(0.0368958333 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__player-stats-left.svelte-1n489uo{width:calc(0.0527083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__player-stats-left.svelte-1n489uo{width:calc(0.0335416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__player-stats-left.svelte-1n489uo{width:calc(0.043125 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__player-stats-left.svelte-1n489uo{width:calc(0.0527083333 * 100vw + 0px)}}.rage-day-event-menu__player-stats-right.svelte-1n489uo{width:calc(0.0578125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-menu__player-stats-right.svelte-1n489uo{width:calc(0.0578125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-menu__player-stats-right.svelte-1n489uo{width:calc(0.0578125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-menu__player-stats-right.svelte-1n489uo{width:calc(0.044515625 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-menu__player-stats-right.svelte-1n489uo{width:calc(0.06359375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-menu__player-stats-right.svelte-1n489uo{width:calc(0.04046875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-menu__player-stats-right.svelte-1n489uo{width:calc(0.05203125 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-menu__player-stats-right.svelte-1n489uo{width:calc(0.06359375 * 100vw + 0px)}}");
}

function rage_day_event_menu_index_svelte_create_fragment(ctx) {
	let div17;
	let exitbutton;
	let t0;
	let img0;
	let img0_src_value;
	let t1;
	let ragedayeventbackground;
	let t2;
	let img1;
	let img1_src_value;
	let t3;
	let div0;
	let img2;
	let img2_src_value;
	let t4;
	let div2;
	let p0;
	let t8;
	let div1;
	let actionbutton;
	let t9;
	let div16;
	let p1;
	let t11;
	let div4;
	let div3;
	let img3;
	let img3_src_value;
	let t12;
	let p2;
	let t13_value = /*stats*/ ctx[0].name + "";
	let t13;
	let t14;
	let div15;
	let div9;
	let div5;
	let p3;
	let t15_value = /*stats*/ ctx[0].completedQuests + "";
	let t15;
	let t16;
	let p4;
	let t18;
	let div6;
	let p5;
	let t19_value = /*stats*/ ctx[0].collectedDebris + "";
	let t19;
	let t20;
	let p6;
	let t22;
	let div7;
	let p7;
	let t23_value = /*stats*/ ctx[0].collectedResources + "";
	let t23;
	let t24;
	let p8;
	let t26;
	let div8;
	let p9;
	let t27_value = /*stats*/ ctx[0].craftingAttempts + "";
	let t27;
	let t28;
	let p10;
	let t30;
	let div14;
	let div10;
	let p11;
	let t31_value = /*stats*/ ctx[0].earnedAzCoins + "";
	let t31;
	let t32;
	let p12;
	let t34;
	let div11;
	let p13;
	let t35_value = /*stats*/ ctx[0].earnedDebris + "";
	let t35;
	let t36;
	let p14;
	let t38;
	let div12;
	let p15;
	let t39_value = /*stats*/ ctx[0].successfulCrafts + "";
	let t39;
	let t40;
	let p16;
	let t42;
	let div13;
	let p17;
	let t43_value = /*stats*/ ctx[0].killedSoldiers + "";
	let t43;
	let t44;
	let p18;
	let current;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[1],
				fixedPosition: true
			}
		});

	ragedayeventbackground = new rage_day_event_components_background_index_svelte({});

	actionbutton = new index_svelte({
			props: {
				onPress: /*onTakeQuest*/ ctx[2],
				keyTitle: "Enter",
				keyCode: 13,
				size: ActionButtonSize.FillFree
			}
		});

	return {
		c() {
			div17 = internal_element("div");
			create_component(exitbutton.$$.fragment);
			t0 = space();
			img0 = internal_element("img");
			t1 = space();
			create_component(ragedayeventbackground.$$.fragment);
			t2 = space();
			img1 = internal_element("img");
			t3 = space();
			div0 = internal_element("div");
			img2 = internal_element("img");
			t4 = space();
			div2 = internal_element("div");
			p0 = internal_element("p");

			p0.innerHTML = `Взять
            <br/> 
            <span class="rage-day-event-menu__take-contract-title--bold svelte-1n489uo">задание</span>`;

			t8 = space();
			div1 = internal_element("div");
			create_component(actionbutton.$$.fragment);
			t9 = space();
			div16 = internal_element("div");
			p1 = internal_element("p");
			p1.textContent = "Активность на мероприятии";
			t11 = space();
			div4 = internal_element("div");
			div3 = internal_element("div");
			img3 = internal_element("img");
			t12 = space();
			p2 = internal_element("p");
			t13 = internal_text(t13_value);
			t14 = space();
			div15 = internal_element("div");
			div9 = internal_element("div");
			div5 = internal_element("div");
			p3 = internal_element("p");
			t15 = internal_text(t15_value);
			t16 = space();
			p4 = internal_element("p");
			p4.textContent = "Выполнено заданий";
			t18 = space();
			div6 = internal_element("div");
			p5 = internal_element("p");
			t19 = internal_text(t19_value);
			t20 = space();
			p6 = internal_element("p");
			p6.textContent = "Обычных зомби убито";
			t22 = space();
			div7 = internal_element("div");
			p7 = internal_element("p");
			t23 = internal_text(t23_value);
			t24 = space();
			p8 = internal_element("p");
			p8.textContent = "Титанов зомби убито";
			t26 = space();
			div8 = internal_element("div");
			p9 = internal_element("p");
			t27 = internal_text(t27_value);
			t28 = space();
			p10 = internal_element("p");
			p10.textContent = "Аномальных зомби убито";
			t30 = space();
			div14 = internal_element("div");
			div10 = internal_element("div");
			p11 = internal_element("p");
			t31 = internal_text(t31_value);
			t32 = space();
			p12 = internal_element("p");
			p12.textContent = "Заработано AZ-Coins";
			t34 = space();
			div11 = internal_element("div");
			p13 = internal_element("p");
			t35 = internal_text(t35_value);
			t36 = space();
			p14 = internal_element("p");
			p14.textContent = "Участий в гонках";
			t38 = space();
			div12 = internal_element("div");
			p15 = internal_element("p");
			t39 = internal_text(t39_value);
			t40 = space();
			p16 = internal_element("p");
			p16.textContent = "Выиграно гонок";
			t42 = space();
			div13 = internal_element("div");
			p17 = internal_element("p");
			t43 = internal_text(t43_value);
			t44 = space();
			p18 = internal_element("p");
			p18.textContent = "Урона по зомби нанесено";
			attr(img0, "class", "rage-day-event-menu__clown-img svelte-1n489uo");
			if (!src_url_equal(img0.src, img0_src_value = rage_day_event_clown_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "clown");
			attr(img1, "class", "rage-day-event-menu__background-quests svelte-1n489uo");
			if (!src_url_equal(img1.src, img1_src_value = rage_day_event_quests_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "questBackground");
			attr(img2, "class", "rage-day-event-menu__logo-icon svelte-1n489uo");
			if (!src_url_equal(img2.src, img2_src_value = rage_day_event_logo_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "logo");
			attr(div0, "class", "rage-day-event-menu__logo svelte-1n489uo");
			attr(p0, "class", "rage-day-event-menu__take-contract-title svelte-1n489uo");
			attr(div1, "class", "rage-day-event-menu__take-contract-btn svelte-1n489uo");
			attr(div2, "class", "rage-day-event-menu__take-contract svelte-1n489uo");
			attr(p1, "class", "rage-day-event-menu__player-title svelte-1n489uo");
			attr(img3, "class", "rage-day-event-menu__player-icon svelte-1n489uo");
			if (!src_url_equal(img3.src, img3_src_value = rage_day_event_playerLogo_namespaceObject)) attr(img3, "src", img3_src_value);
			attr(img3, "alt", "playerLogo");
			attr(div3, "class", "rage-day-event-menu__player-icon-wrapper svelte-1n489uo");
			attr(p2, "class", "rage-day-event-menu__player");
			attr(div4, "class", "rage-day-event-menu__player-name svelte-1n489uo");
			attr(p3, "class", "rage-day-event-menu__player-quest-count svelte-1n489uo");
			attr(p4, "class", "rage-day-event-menu__player-quest-title svelte-1n489uo");
			attr(div5, "class", "rage-day-event-menu__player-completed-quests");
			attr(p5, "class", "rage-day-event-menu__player-quest-count svelte-1n489uo");
			attr(p6, "class", "rage-day-event-menu__player-quest-title svelte-1n489uo");
			attr(div6, "class", "rage-day-event-menu__player-completed-quests");
			attr(p7, "class", "rage-day-event-menu__player-quest-count svelte-1n489uo");
			attr(p8, "class", "rage-day-event-menu__player-quest-title svelte-1n489uo");
			attr(div7, "class", "rage-day-event-menu__player-completed-quests");
			attr(p9, "class", "rage-day-event-menu__player-quest-count svelte-1n489uo");
			attr(p10, "class", "rage-day-event-menu__player-quest-title svelte-1n489uo");
			attr(div8, "class", "rage-day-event-menu__player-completed-quests");
			attr(div9, "class", "rage-day-event-menu__player-stats-left svelte-1n489uo");
			attr(p11, "class", "rage-day-event-menu__player-quest-count svelte-1n489uo");
			attr(p12, "class", "rage-day-event-menu__player-quest-title svelte-1n489uo");
			attr(div10, "class", "rage-day-event-menu__player-az-coins");
			attr(p13, "class", "rage-day-event-menu__player-quest-count svelte-1n489uo");
			attr(p14, "class", "rage-day-event-menu__player-quest-title svelte-1n489uo");
			attr(div11, "class", "rage-day-event-menu__player-az-coins");
			attr(p15, "class", "rage-day-event-menu__player-quest-count svelte-1n489uo");
			attr(p16, "class", "rage-day-event-menu__player-quest-title svelte-1n489uo");
			attr(div12, "class", "rage-day-event-menu__player-az-coins");
			attr(p17, "class", "rage-day-event-menu__player-quest-count svelte-1n489uo");
			attr(p18, "class", "rage-day-event-menu__player-quest-title svelte-1n489uo");
			attr(div13, "class", "rage-day-event-menu__player-az-coins");
			attr(div14, "class", "rage-day-event-menu__player-stats-right svelte-1n489uo");
			attr(div15, "class", "rage-day-event-menu__player-stats svelte-1n489uo");
			attr(div16, "class", "rage-day-event-menu__player-title-wrapper svelte-1n489uo");
			attr(div17, "class", "rage-day-event-menu svelte-1n489uo");
		},
		m(target, anchor) {
			insert(target, div17, anchor);
			mount_component(exitbutton, div17, null);
			append(div17, t0);
			append(div17, img0);
			append(div17, t1);
			mount_component(ragedayeventbackground, div17, null);
			append(div17, t2);
			append(div17, img1);
			append(div17, t3);
			append(div17, div0);
			append(div0, img2);
			append(div17, t4);
			append(div17, div2);
			append(div2, p0);
			append(div2, t8);
			append(div2, div1);
			mount_component(actionbutton, div1, null);
			append(div17, t9);
			append(div17, div16);
			append(div16, p1);
			append(div16, t11);
			append(div16, div4);
			append(div4, div3);
			append(div3, img3);
			append(div4, t12);
			append(div4, p2);
			append(p2, t13);
			append(div16, t14);
			append(div16, div15);
			append(div15, div9);
			append(div9, div5);
			append(div5, p3);
			append(p3, t15);
			append(div5, t16);
			append(div5, p4);
			append(div9, t18);
			append(div9, div6);
			append(div6, p5);
			append(p5, t19);
			append(div6, t20);
			append(div6, p6);
			append(div9, t22);
			append(div9, div7);
			append(div7, p7);
			append(p7, t23);
			append(div7, t24);
			append(div7, p8);
			append(div9, t26);
			append(div9, div8);
			append(div8, p9);
			append(p9, t27);
			append(div8, t28);
			append(div8, p10);
			append(div15, t30);
			append(div15, div14);
			append(div14, div10);
			append(div10, p11);
			append(p11, t31);
			append(div10, t32);
			append(div10, p12);
			append(div14, t34);
			append(div14, div11);
			append(div11, p13);
			append(p13, t35);
			append(div11, t36);
			append(div11, p14);
			append(div14, t38);
			append(div14, div12);
			append(div12, p15);
			append(p15, t39);
			append(div12, t40);
			append(div12, p16);
			append(div14, t42);
			append(div14, div13);
			append(div13, p17);
			append(p17, t43);
			append(div13, t44);
			append(div13, p18);
			current = true;
		},
		p(ctx, [dirty]) {
			if ((!current || dirty & /*stats*/ 1) && t13_value !== (t13_value = /*stats*/ ctx[0].name + "")) set_data(t13, t13_value);
			if ((!current || dirty & /*stats*/ 1) && t15_value !== (t15_value = /*stats*/ ctx[0].completedQuests + "")) set_data(t15, t15_value);
			if ((!current || dirty & /*stats*/ 1) && t19_value !== (t19_value = /*stats*/ ctx[0].collectedDebris + "")) set_data(t19, t19_value);
			if ((!current || dirty & /*stats*/ 1) && t23_value !== (t23_value = /*stats*/ ctx[0].collectedResources + "")) set_data(t23, t23_value);
			if ((!current || dirty & /*stats*/ 1) && t27_value !== (t27_value = /*stats*/ ctx[0].craftingAttempts + "")) set_data(t27, t27_value);
			if ((!current || dirty & /*stats*/ 1) && t31_value !== (t31_value = /*stats*/ ctx[0].earnedAzCoins + "")) set_data(t31, t31_value);
			if ((!current || dirty & /*stats*/ 1) && t35_value !== (t35_value = /*stats*/ ctx[0].earnedDebris + "")) set_data(t35, t35_value);
			if ((!current || dirty & /*stats*/ 1) && t39_value !== (t39_value = /*stats*/ ctx[0].successfulCrafts + "")) set_data(t39, t39_value);
			if ((!current || dirty & /*stats*/ 1) && t43_value !== (t43_value = /*stats*/ ctx[0].killedSoldiers + "")) set_data(t43, t43_value);
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			transition_in(ragedayeventbackground.$$.fragment, local);
			transition_in(actionbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			transition_out(ragedayeventbackground.$$.fragment, local);
			transition_out(actionbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div17);
			destroy_component(exitbutton);
			destroy_component(ragedayeventbackground);
			destroy_component(actionbutton);
		}
	};
}

function rage_day_event_menu_index_svelte_instance($$self, $$props, $$invalidate) {
	let stats = {};

	const initStats = statsDto => {
		$$invalidate(0, stats = statsDto);
	};

	const handleClose = () => {
		
	}; // exec close event

	const onTakeQuest = () => {
		sendClientMessage('rageDayEvent.stats.openQuests');
	};

	const unregisterInitStatsEvent = registerEvent('rageDayEvent.stats.initialize', initStats);

	onDestroy(() => {
		unregisterInitStatsEvent();
	});

	return [stats, handleClose, onTakeQuest];
}

class rage_day_event_menu_index_svelte_Menu extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, rage_day_event_menu_index_svelte_instance, rage_day_event_menu_index_svelte_create_fragment, safe_not_equal, {}, rage_day_event_menu_index_svelte_add_css);
	}
}

/* harmony default export */ const rage_day_event_menu_index_svelte = (rage_day_event_menu_index_svelte_Menu);
;// CONCATENATED MODULE: ./src/views/rage-day-event/quests/img/rage-day-event-mask.png
const rage_day_event_mask_namespaceObject = __webpack_require__.p + "assets/e7e3fb59e5b8edf7be46.webp";
;// CONCATENATED MODULE: ./src/views/rage-day-event/quests/img/rage-day-event-clown.png
const quests_img_rage_day_event_clown_namespaceObject = __webpack_require__.p + "assets/abe766eeba7d7f448171.webp";
;// CONCATENATED MODULE: ./src/views/rage-day-event/quests/components/accordion/img/arrow.svg
const rage_day_event_quests_components_accordion_img_arrow_namespaceObject = __webpack_require__.p + "assets/5d593ca0a42ce89d531a.svg";
;// CONCATENATED MODULE: ./src/views/rage-day-event/quests/components/accordion/index.svelte
/* src\views\rage-day-event\quests\components\accordion\index.svelte generated by Svelte v3.49.0 */







function rage_day_event_quests_components_accordion_index_svelte_add_css(target) {
	append_styles(target, "svelte-1du5ed4", "@keyframes svelte-1du5ed4-blinking{50%{opacity:0}}@keyframes svelte-1du5ed4-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1du5ed4-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1du5ed4-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1du5ed4-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1du5ed4-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1du5ed4-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1du5ed4-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1du5ed4-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1du5ed4-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1du5ed4-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1du5ed4-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1du5ed4-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1du5ed4-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1du5ed4-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.rage-day-event-quests__items-block.svelte-1du5ed4{background:#343434;overflow:hidden;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.3125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-block.svelte-1du5ed4{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-block.svelte-1du5ed4{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-block.svelte-1du5ed4{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-block.svelte-1du5ed4{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-block.svelte-1du5ed4{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-block.svelte-1du5ed4{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-block.svelte-1du5ed4{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-block.svelte-1du5ed4{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-block.svelte-1du5ed4{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-block.svelte-1du5ed4{width:calc(0.240625 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-block.svelte-1du5ed4{width:calc(0.34375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-block.svelte-1du5ed4{width:calc(0.21875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-block.svelte-1du5ed4{width:calc(0.28125 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-block.svelte-1du5ed4{width:calc(0.34375 * 100vw + 0px)}}.rage-day-event-quests__items-block.svelte-1du5ed4:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-block.svelte-1du5ed4:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-block.svelte-1du5ed4:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-block.svelte-1du5ed4:not(:first-child){margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-block.svelte-1du5ed4:not(:first-child){margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-block.svelte-1du5ed4:not(:first-child){margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-block.svelte-1du5ed4:not(:first-child){margin-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-block.svelte-1du5ed4:not(:first-child){margin-top:calc(0.0114583333 * 100vw + 0px)}}.rage-day-event-quests__items-block-upper.svelte-1du5ed4{display:flex;align-items:center;justify-content:space-between;position:relative}.rage-day-event-quests__items-block-text.svelte-1du5ed4{padding-top:calc(0.0152604167 * 100vw + 0px);padding-bottom:calc(0.0151041667 * 100vw + 0px);padding-left:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-block-text.svelte-1du5ed4{padding-top:calc(0.0152604167 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-block-text.svelte-1du5ed4{padding-top:calc(0.0152604167 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-block-text.svelte-1du5ed4{padding-top:calc(0.0117505208 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-block-text.svelte-1du5ed4{padding-top:calc(0.0167864583 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-block-text.svelte-1du5ed4{padding-top:calc(0.0106822917 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-block-text.svelte-1du5ed4{padding-top:calc(0.013734375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-block-text.svelte-1du5ed4{padding-top:calc(0.0167864583 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-block-text.svelte-1du5ed4{padding-bottom:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-block-text.svelte-1du5ed4{padding-bottom:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-block-text.svelte-1du5ed4{padding-bottom:calc(0.0116302083 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-block-text.svelte-1du5ed4{padding-bottom:calc(0.0166145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-block-text.svelte-1du5ed4{padding-bottom:calc(0.0105729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-block-text.svelte-1du5ed4{padding-bottom:calc(0.01359375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-block-text.svelte-1du5ed4{padding-bottom:calc(0.0166145833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-block-text.svelte-1du5ed4{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-block-text.svelte-1du5ed4{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-block-text.svelte-1du5ed4{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-block-text.svelte-1du5ed4{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-block-text.svelte-1du5ed4{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-block-text.svelte-1du5ed4{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-block-text.svelte-1du5ed4{padding-left:calc(0.0143229167 * 100vw + 0px)}}.rage-day-event-quests__items-block-title-wrapper.svelte-1du5ed4{display:flex;align-items:center}.rage-day-event-quests__items-block-arrow--opened.svelte-1du5ed4{transform:rotate(180deg)}.rage-day-event-quests__items-block-title.svelte-1du5ed4{color:#FFFFFF;font-family:\"GothamPro-Medium\";margin-left:calc(0.003125 * 100vw + 0px);font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-block-title.svelte-1du5ed4{margin-left:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-block-title.svelte-1du5ed4{margin-left:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-block-title.svelte-1du5ed4{margin-left:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-block-title.svelte-1du5ed4{margin-left:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-block-title.svelte-1du5ed4{margin-left:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-block-title.svelte-1du5ed4{margin-left:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-block-title.svelte-1du5ed4{margin-left:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-block-title.svelte-1du5ed4{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-block-title.svelte-1du5ed4{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-block-title.svelte-1du5ed4{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-block-title.svelte-1du5ed4{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-block-title.svelte-1du5ed4{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-block-title.svelte-1du5ed4{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-block-title.svelte-1du5ed4{font-size:calc(0.0103125 * 100vw + 0px)}}.rage-day-event-quests__items-block-descr.svelte-1du5ed4{color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.00625 * 100vw + 0px);margin-top:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-block-descr.svelte-1du5ed4{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-block-descr.svelte-1du5ed4{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-block-descr.svelte-1du5ed4{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-block-descr.svelte-1du5ed4{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-block-descr.svelte-1du5ed4{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-block-descr.svelte-1du5ed4{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-block-descr.svelte-1du5ed4{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-block-descr.svelte-1du5ed4{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-block-descr.svelte-1du5ed4{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-block-descr.svelte-1du5ed4{margin-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-block-descr.svelte-1du5ed4{margin-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-block-descr.svelte-1du5ed4{margin-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-block-descr.svelte-1du5ed4{margin-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-block-descr.svelte-1du5ed4{margin-top:calc(0.0057291667 * 100vw + 0px)}}.rage-day-event-quests__items-progress-body.svelte-1du5ed4{display:flex;flex-direction:row;font-family:\"GothamPro-Medium\";font-size:calc(0.009375 * 100vw + 0px);padding-right:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-progress-body.svelte-1du5ed4{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-progress-body.svelte-1du5ed4{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-progress-body.svelte-1du5ed4{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-progress-body.svelte-1du5ed4{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-progress-body.svelte-1du5ed4{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-progress-body.svelte-1du5ed4{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-progress-body.svelte-1du5ed4{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-progress-body.svelte-1du5ed4{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-progress-body.svelte-1du5ed4{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-progress-body.svelte-1du5ed4{padding-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-progress-body.svelte-1du5ed4{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-progress-body.svelte-1du5ed4{padding-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-progress-body.svelte-1du5ed4{padding-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-progress-body.svelte-1du5ed4{padding-right:calc(0.0143229167 * 100vw + 0px)}}.rage-day-event-quests__items-progress-body--maxProgress.svelte-1du5ed4{display:flex;justify-content:center;align-items:center;background:#83BD6F;border-radius:calc(0.0130208333 * 100vw + 0px);width:calc(0.0442708333 * 100vw + 0px);height:calc(0.0130208333 * 100vw + 0px);margin-right:calc(0.0083333333 * 100vw + 0px);padding-right:0}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-progress-body--maxProgress.svelte-1du5ed4{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-progress-body--maxProgress.svelte-1du5ed4{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-progress-body--maxProgress.svelte-1du5ed4{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-progress-body--maxProgress.svelte-1du5ed4{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-progress-body--maxProgress.svelte-1du5ed4{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-progress-body--maxProgress.svelte-1du5ed4{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-progress-body--maxProgress.svelte-1du5ed4{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-progress-body--maxProgress.svelte-1du5ed4{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-progress-body--maxProgress.svelte-1du5ed4{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-progress-body--maxProgress.svelte-1du5ed4{width:calc(0.0340885417 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-progress-body--maxProgress.svelte-1du5ed4{width:calc(0.0486979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-progress-body--maxProgress.svelte-1du5ed4{width:calc(0.0309895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-progress-body--maxProgress.svelte-1du5ed4{width:calc(0.03984375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-progress-body--maxProgress.svelte-1du5ed4{width:calc(0.0486979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-progress-body--maxProgress.svelte-1du5ed4{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-progress-body--maxProgress.svelte-1du5ed4{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-progress-body--maxProgress.svelte-1du5ed4{height:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-progress-body--maxProgress.svelte-1du5ed4{height:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-progress-body--maxProgress.svelte-1du5ed4{height:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-progress-body--maxProgress.svelte-1du5ed4{height:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-progress-body--maxProgress.svelte-1du5ed4{height:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-progress-body--maxProgress.svelte-1du5ed4{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-progress-body--maxProgress.svelte-1du5ed4{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-progress-body--maxProgress.svelte-1du5ed4{margin-right:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-progress-body--maxProgress.svelte-1du5ed4{margin-right:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-progress-body--maxProgress.svelte-1du5ed4{margin-right:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-progress-body--maxProgress.svelte-1du5ed4{margin-right:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-progress-body--maxProgress.svelte-1du5ed4{margin-right:calc(0.0091666667 * 100vw + 0px)}}.rage-day-event-quests__items-progress-body--rewardReceived.svelte-1du5ed4{text-align:center;display:flex;justify-content:center;align-items:center;background:#F2C94C;border-radius:calc(0.0130208333 * 100vw + 0px);width:calc(0.0442708333 * 100vw + 0px);height:calc(0.0130208333 * 100vw + 0px);margin-right:calc(0.0083333333 * 100vw + 0px);padding-right:0}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-progress-body--rewardReceived.svelte-1du5ed4{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-progress-body--rewardReceived.svelte-1du5ed4{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-progress-body--rewardReceived.svelte-1du5ed4{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-progress-body--rewardReceived.svelte-1du5ed4{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-progress-body--rewardReceived.svelte-1du5ed4{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-progress-body--rewardReceived.svelte-1du5ed4{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-progress-body--rewardReceived.svelte-1du5ed4{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-progress-body--rewardReceived.svelte-1du5ed4{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-progress-body--rewardReceived.svelte-1du5ed4{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-progress-body--rewardReceived.svelte-1du5ed4{width:calc(0.0340885417 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-progress-body--rewardReceived.svelte-1du5ed4{width:calc(0.0486979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-progress-body--rewardReceived.svelte-1du5ed4{width:calc(0.0309895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-progress-body--rewardReceived.svelte-1du5ed4{width:calc(0.03984375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-progress-body--rewardReceived.svelte-1du5ed4{width:calc(0.0486979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-progress-body--rewardReceived.svelte-1du5ed4{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-progress-body--rewardReceived.svelte-1du5ed4{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-progress-body--rewardReceived.svelte-1du5ed4{height:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-progress-body--rewardReceived.svelte-1du5ed4{height:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-progress-body--rewardReceived.svelte-1du5ed4{height:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-progress-body--rewardReceived.svelte-1du5ed4{height:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-progress-body--rewardReceived.svelte-1du5ed4{height:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-progress-body--rewardReceived.svelte-1du5ed4{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-progress-body--rewardReceived.svelte-1du5ed4{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-progress-body--rewardReceived.svelte-1du5ed4{margin-right:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-progress-body--rewardReceived.svelte-1du5ed4{margin-right:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-progress-body--rewardReceived.svelte-1du5ed4{margin-right:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-progress-body--rewardReceived.svelte-1du5ed4{margin-right:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-progress-body--rewardReceived.svelte-1du5ed4{margin-right:calc(0.0091666667 * 100vw + 0px)}}.rage-day-event-quests__items-progress.svelte-1du5ed4{color:#FFFFFF}.rage-day-event-quests__items-progress--completed.svelte-1du5ed4{font-family:\"GothamPro-Light\";color:#111111;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-progress--completed.svelte-1du5ed4{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-progress--completed.svelte-1du5ed4{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-progress--completed.svelte-1du5ed4{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-progress--completed.svelte-1du5ed4{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-progress--completed.svelte-1du5ed4{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-progress--completed.svelte-1du5ed4{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-progress--completed.svelte-1du5ed4{font-size:calc(0.0057291667 * 100vw + 0px)}}.rage-day-event-quests__items-progress--rewardReceived.svelte-1du5ed4{font-family:\"GothamPro-Light\";color:#111111;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-progress--rewardReceived.svelte-1du5ed4{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-progress--rewardReceived.svelte-1du5ed4{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-progress--rewardReceived.svelte-1du5ed4{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-progress--rewardReceived.svelte-1du5ed4{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-progress--rewardReceived.svelte-1du5ed4{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-progress--rewardReceived.svelte-1du5ed4{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-progress--rewardReceived.svelte-1du5ed4{font-size:calc(0.0057291667 * 100vw + 0px)}}.rage-day-event-quests__items-progress-descr.svelte-1du5ed4{font-family:\"GothamPro-Light\";color:#FFFFFF;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-progress-descr.svelte-1du5ed4{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-progress-descr.svelte-1du5ed4{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-progress-descr.svelte-1du5ed4{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-progress-descr.svelte-1du5ed4{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-progress-descr.svelte-1du5ed4{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-progress-descr.svelte-1du5ed4{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-progress-descr.svelte-1du5ed4{font-size:calc(0.0057291667 * 100vw + 0px)}}.rage-day-event-quests__items-block-reward.svelte-1du5ed4{display:flex;flex-direction:column;align-items:center}.rage-day-event-quests__items-block-reward-title.svelte-1du5ed4{color:#FFFFFF;font-family:\"GothamPro-Medium\";font-size:calc(0.0072916667 * 100vw + 0px);margin-bottom:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-block-reward-title.svelte-1du5ed4{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-block-reward-title.svelte-1du5ed4{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-block-reward-title.svelte-1du5ed4{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-block-reward-title.svelte-1du5ed4{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-block-reward-title.svelte-1du5ed4{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-block-reward-title.svelte-1du5ed4{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-block-reward-title.svelte-1du5ed4{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-block-reward-title.svelte-1du5ed4{margin-bottom:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-block-reward-title.svelte-1du5ed4{margin-bottom:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-block-reward-title.svelte-1du5ed4{margin-bottom:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-block-reward-title.svelte-1du5ed4{margin-bottom:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-block-reward-title.svelte-1du5ed4{margin-bottom:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-block-reward-title.svelte-1du5ed4{margin-bottom:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-block-reward-title.svelte-1du5ed4{margin-bottom:calc(0.006875 * 100vw + 0px)}}.rage-day-event-quests__items-block-reward-items-title.svelte-1du5ed4{font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.0052083333 * 100vw + 0px);height:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-block-reward-items-title.svelte-1du5ed4{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-block-reward-items-title.svelte-1du5ed4{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-block-reward-items-title.svelte-1du5ed4{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-block-reward-items-title.svelte-1du5ed4{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-block-reward-items-title.svelte-1du5ed4{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-block-reward-items-title.svelte-1du5ed4{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-block-reward-items-title.svelte-1du5ed4{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-block-reward-items-title.svelte-1du5ed4{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-block-reward-items-title.svelte-1du5ed4{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-block-reward-items-title.svelte-1du5ed4{height:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-block-reward-items-title.svelte-1du5ed4{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-block-reward-items-title.svelte-1du5ed4{height:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-block-reward-items-title.svelte-1du5ed4{height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-block-reward-items-title.svelte-1du5ed4{height:calc(0.0080208333 * 100vw + 0px)}}.rage-day-event-quests__items-block-reward-body.svelte-1du5ed4{display:flex;text-align:center;margin-bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-block-reward-body.svelte-1du5ed4{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-block-reward-body.svelte-1du5ed4{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-block-reward-body.svelte-1du5ed4{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-block-reward-body.svelte-1du5ed4{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-block-reward-body.svelte-1du5ed4{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-block-reward-body.svelte-1du5ed4{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-block-reward-body.svelte-1du5ed4{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.rage-day-event-quests__items-block-reward-items.svelte-1du5ed4{display:flex;flex-direction:column;align-items:center;width:calc(0.046875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-block-reward-items.svelte-1du5ed4{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-block-reward-items.svelte-1du5ed4{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-block-reward-items.svelte-1du5ed4{width:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-block-reward-items.svelte-1du5ed4{width:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-block-reward-items.svelte-1du5ed4{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-block-reward-items.svelte-1du5ed4{width:calc(0.0421875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-block-reward-items.svelte-1du5ed4{width:calc(0.0515625 * 100vw + 0px)}}.rage-day-event-quests__items-block-reward-items.svelte-1du5ed4:not(:first-child){margin-left:calc(0.0234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-block-reward-items.svelte-1du5ed4:not(:first-child){margin-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-block-reward-items.svelte-1du5ed4:not(:first-child){margin-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-block-reward-items.svelte-1du5ed4:not(:first-child){margin-left:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-block-reward-items.svelte-1du5ed4:not(:first-child){margin-left:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-block-reward-items.svelte-1du5ed4:not(:first-child){margin-left:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-block-reward-items.svelte-1du5ed4:not(:first-child){margin-left:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-block-reward-items.svelte-1du5ed4:not(:first-child){margin-left:calc(0.02578125 * 100vw + 0px)}}.rage-day-event-quests__items-block-reward-items-img.svelte-1du5ed4{width:calc(0.0260416667 * 100vw + 0px);padding-bottom:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-block-reward-items-img.svelte-1du5ed4{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-block-reward-items-img.svelte-1du5ed4{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-block-reward-items-img.svelte-1du5ed4{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-block-reward-items-img.svelte-1du5ed4{width:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-block-reward-items-img.svelte-1du5ed4{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-block-reward-items-img.svelte-1du5ed4{width:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-block-reward-items-img.svelte-1du5ed4{width:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-block-reward-items-img.svelte-1du5ed4{padding-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-block-reward-items-img.svelte-1du5ed4{padding-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-block-reward-items-img.svelte-1du5ed4{padding-bottom:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-block-reward-items-img.svelte-1du5ed4{padding-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-block-reward-items-img.svelte-1du5ed4{padding-bottom:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-block-reward-items-img.svelte-1du5ed4{padding-bottom:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-block-reward-items-img.svelte-1du5ed4{padding-bottom:calc(0.0057291667 * 100vw + 0px)}}.rage-day-event-quests__items-block-reward-btn.svelte-1du5ed4{display:flex;align-items:center;justify-content:center;cursor:pointer;background-color:#FFFFFF;transition:background-color 0.2s linear;width:calc(0.1041666667 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);margin-bottom:calc(0.0109375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-block-reward-btn.svelte-1du5ed4{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-block-reward-btn.svelte-1du5ed4{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-block-reward-btn.svelte-1du5ed4{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-block-reward-btn.svelte-1du5ed4{width:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-block-reward-btn.svelte-1du5ed4{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-block-reward-btn.svelte-1du5ed4{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-block-reward-btn.svelte-1du5ed4{width:calc(0.1145833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-block-reward-btn.svelte-1du5ed4{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-block-reward-btn.svelte-1du5ed4{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-block-reward-btn.svelte-1du5ed4{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-block-reward-btn.svelte-1du5ed4{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-block-reward-btn.svelte-1du5ed4{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-block-reward-btn.svelte-1du5ed4{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-block-reward-btn.svelte-1du5ed4{height:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-block-reward-btn.svelte-1du5ed4{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-block-reward-btn.svelte-1du5ed4{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-block-reward-btn.svelte-1du5ed4{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-block-reward-btn.svelte-1du5ed4{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-block-reward-btn.svelte-1du5ed4{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-block-reward-btn.svelte-1du5ed4{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-block-reward-btn.svelte-1du5ed4{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-block-reward-btn.svelte-1du5ed4{margin-bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-block-reward-btn.svelte-1du5ed4{margin-bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-block-reward-btn.svelte-1du5ed4{margin-bottom:calc(0.008421875 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-block-reward-btn.svelte-1du5ed4{margin-bottom:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-block-reward-btn.svelte-1du5ed4{margin-bottom:calc(0.00765625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-block-reward-btn.svelte-1du5ed4{margin-bottom:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-block-reward-btn.svelte-1du5ed4{margin-bottom:calc(0.01203125 * 100vw + 0px)}}.rage-day-event-quests__items-block-reward-btn.svelte-1du5ed4:hover{background-color:rgba(255, 255, 255, 0.2)}.rage-day-event-quests__items-block-reward-btn--completed.svelte-1du5ed4{background-color:rgba(118, 211, 85, 0.25);cursor:default}.rage-day-event-quests__items-block-reward-btn--completed.svelte-1du5ed4:hover{background-color:rgba(118, 211, 85, 0.25)}.rage-day-event-quests__items-block-reward-btn--rewardReceived.svelte-1du5ed4{background-color:#F2C94C}.rage-day-event-quests__items-block-reward-btn--rewardReceived.svelte-1du5ed4:hover{background-color:#FEB000}.rage-day-event-quests__items-block-reward-btn-key.svelte-1du5ed4{color:#111111;font-family:\"GothamPro-Medium\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-block-reward-btn-key.svelte-1du5ed4{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-block-reward-btn-key.svelte-1du5ed4{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-block-reward-btn-key.svelte-1du5ed4{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-block-reward-btn-key.svelte-1du5ed4{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-block-reward-btn-key.svelte-1du5ed4{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-block-reward-btn-key.svelte-1du5ed4{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-block-reward-btn-key.svelte-1du5ed4{font-size:calc(0.006875 * 100vw + 0px)}}.rage-day-event-quests__items-block-reward-btn-key--completed.svelte-1du5ed4{color:#76D355}.rage-day-event-quests__items-block-reward-btn-key--rewardReceived.svelte-1du5ed4{color:#3B4447}");
}

function rage_day_event_quests_components_accordion_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[6] = list[i];
	return child_ctx;
}

// (1660:12) {#if accordionOpened}
function rage_day_event_quests_components_accordion_index_svelte_create_if_block_5(ctx) {
	let p;
	let t_value = /*quest*/ ctx[0].description + "";
	let t;
	let p_transition;
	let current;

	return {
		c() {
			p = internal_element("p");
			t = internal_text(t_value);
			attr(p, "class", "rage-day-event-quests__items-block-descr svelte-1du5ed4");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t);
			current = true;
		},
		p(ctx, dirty) {
			if ((!current || dirty & /*quest*/ 1) && t_value !== (t_value = /*quest*/ ctx[0].description + "")) set_data(t, t_value);
		},
		i(local) {
			if (current) return;

			if (local) {
				add_render_callback(() => {
					if (!p_transition) p_transition = create_bidirectional_transition(p, slide, {}, true);
					p_transition.run(1);
				});
			}

			current = true;
		},
		o(local) {
			if (local) {
				if (!p_transition) p_transition = create_bidirectional_transition(p, slide, {}, false);
				p_transition.run(0);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(p);
			if (detaching && p_transition) p_transition.end();
		}
	};
}

// (1688:8) {:else}
function rage_day_event_quests_components_accordion_index_svelte_create_else_block_1(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="rage-day-event-quests__items-progress rage-day-event-quests__items-progress--rewardReceived svelte-1du5ed4">Получите награду</p>`;
			attr(div, "class", "rage-day-event-quests__items-progress-body rage-day-event-quests__items-progress-body--rewardReceived svelte-1du5ed4");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1682:81) 
function rage_day_event_quests_components_accordion_index_svelte_create_if_block_4(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="rage-day-event-quests__items-progress rage-day-event-quests__items-progress--completed svelte-1du5ed4">Завершено</p>`;
			attr(div, "class", "rage-day-event-quests__items-progress-body rage-day-event-quests__items-progress-body--maxProgress svelte-1du5ed4");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1669:8) {#if (quest.progress !== quest.maxProgress) && !quest.rewardReceived}
function rage_day_event_quests_components_accordion_index_svelte_create_if_block_3(ctx) {
	let div1;
	let div0;
	let p0;
	let t0_value = /*quest*/ ctx[0].progress + "";
	let t0;
	let t1;
	let t2_value = /*quest*/ ctx[0].maxProgress + "";
	let t2;
	let t3;
	let p1;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = internal_text("\r\n                        /\r\n                        ");
			t2 = internal_text(t2_value);
			t3 = space();
			p1 = internal_element("p");
			p1.textContent = "Прогресс";
			attr(p0, "class", "rage-day-event-quests__items-progress svelte-1du5ed4");
			attr(div0, "class", "rage-day-event-quests__items-progress-body svelte-1du5ed4");
			attr(p1, "class", "rage-day-event-quests__items-progress-descr svelte-1du5ed4");
			attr(div1, "class", "rage-day-event-quests__items-progress-wrapper--incomplete");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, p0);
			append(p0, t0);
			append(p0, t1);
			append(p0, t2);
			append(div1, t3);
			append(div1, p1);
		},
		p(ctx, dirty) {
			if (dirty & /*quest*/ 1 && t0_value !== (t0_value = /*quest*/ ctx[0].progress + "")) set_data(t0, t0_value);
			if (dirty & /*quest*/ 1 && t2_value !== (t2_value = /*quest*/ ctx[0].maxProgress + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (1696:4) {#if accordionOpened}
function rage_day_event_quests_components_accordion_index_svelte_create_if_block(ctx) {
	let div1;
	let p;
	let t1;
	let div0;
	let t2;
	let current_block_type_index;
	let if_block;
	let div1_transition;
	let current;
	let each_value = /*quest*/ ctx[0].rewards;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = rage_day_event_quests_components_accordion_index_svelte_create_each_block(rage_day_event_quests_components_accordion_index_svelte_get_each_context(ctx, each_value, i));
	}

	const if_block_creators = [rage_day_event_quests_components_accordion_index_svelte_create_if_block_1, rage_day_event_quests_components_accordion_index_svelte_create_if_block_2, rage_day_event_quests_components_accordion_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type_1(ctx, dirty) {
		if (/*quest*/ ctx[0].progress !== /*quest*/ ctx[0].maxProgress && !/*quest*/ ctx[0].rewardReceived) return 0;
		if (/*quest*/ ctx[0].progress === /*quest*/ ctx[0].maxProgress && /*quest*/ ctx[0].rewardReceived) return 1;
		return 2;
	}

	current_block_type_index = select_block_type_1(ctx, -1);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div1 = internal_element("div");
			p = internal_element("p");
			p.textContent = "Награда";
			t1 = space();
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t2 = space();
			if_block.c();
			attr(p, "class", "rage-day-event-quests__items-block-reward-title svelte-1du5ed4");
			attr(div0, "class", "rage-day-event-quests__items-block-reward-body svelte-1du5ed4");
			attr(div1, "class", "rage-day-event-quests__items-block-reward svelte-1du5ed4");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, p);
			append(div1, t1);
			append(div1, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			append(div1, t2);
			if_blocks[current_block_type_index].m(div1, null);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty & /*quest, CDN_URL_RODINA*/ 1) {
				each_value = /*quest*/ ctx[0].rewards;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = rage_day_event_quests_components_accordion_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = rage_day_event_quests_components_accordion_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div0, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type_1(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(div1, null);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);

			if (local) {
				add_render_callback(() => {
					if (!div1_transition) div1_transition = create_bidirectional_transition(div1, slide, {}, true);
					div1_transition.run(1);
				});
			}

			current = true;
		},
		o(local) {
			transition_out(if_block);

			if (local) {
				if (!div1_transition) div1_transition = create_bidirectional_transition(div1, slide, {}, false);
				div1_transition.run(0);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			destroy_each(each_blocks, detaching);
			if_blocks[current_block_type_index].d();
			if (detaching && div1_transition) div1_transition.end();
		}
	};
}

// (1705:16) {#each quest.rewards as reward }
function rage_day_event_quests_components_accordion_index_svelte_create_each_block(ctx) {
	let div;
	let img;
	let img_src_value;
	let t0;
	let p;
	let t1_value = /*reward*/ ctx[6].title + "";
	let t1;
	let t2;

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(img, "class", "rage-day-event-quests__items-block-reward-items-img svelte-1du5ed4");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/assets/images/other/${/*reward*/ ctx[6].icon}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "Reward");
			attr(p, "class", "rage-day-event-quests__items-block-reward-items-title svelte-1du5ed4");
			attr(div, "class", "rage-day-event-quests__items-block-reward-items svelte-1du5ed4");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
			append(div, t0);
			append(div, p);
			append(p, t1);
			append(div, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*quest*/ 1 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/assets/images/other/${/*reward*/ ctx[6].icon}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*quest*/ 1 && t1_value !== (t1_value = /*reward*/ ctx[6].title + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1732:12) {:else}
function rage_day_event_quests_components_accordion_index_svelte_create_else_block(ctx) {
	let div;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="rage-day-event-quests__items-block-reward-btn-key rage-day-event-quests__items-block-reward-btn-key--rewardReceived svelte-1du5ed4">Получить награду</p>`;
			attr(div, "class", "rage-day-event-quests__items-block-reward-btn rage-day-event-quests__items-block-reward-btn--rewardReceived svelte-1du5ed4");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = listen(div, "click", /*receiveReward*/ ctx[4]);
				mounted = true;
			}
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (1726:85) 
function rage_day_event_quests_components_accordion_index_svelte_create_if_block_2(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="rage-day-event-quests__items-block-reward-btn-key rage-day-event-quests__items-block-reward-btn-key--completed svelte-1du5ed4">Получено</p>`;
			attr(div, "class", "rage-day-event-quests__items-block-reward-btn rage-day-event-quests__items-block-reward-btn--completed svelte-1du5ed4");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1717:12) {#if (quest.progress !== quest.maxProgress) && !quest.rewardReceived}
function rage_day_event_quests_components_accordion_index_svelte_create_if_block_1(ctx) {
	let div;
	let p;
	let div_style_value;
	let div_transition;
	let current;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			p = internal_element("p");
			p.textContent = "Отследить по GPS";
			attr(p, "class", "rage-day-event-quests__items-block-reward-btn-key svelte-1du5ed4");
			attr(div, "class", "rage-day-event-quests__items-block-reward-btn svelte-1du5ed4");
			attr(div, "style", div_style_value = `display: ${/*quest*/ ctx[0].hasLocation ? '' : 'none'}`);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p);
			current = true;

			if (!mounted) {
				dispose = listen(div, "click", /*drawLocation*/ ctx[3]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (!current || dirty & /*quest*/ 1 && div_style_value !== (div_style_value = `display: ${/*quest*/ ctx[0].hasLocation ? '' : 'none'}`)) {
				attr(div, "style", div_style_value);
			}
		},
		i(local) {
			if (current) return;

			if (local) {
				add_render_callback(() => {
					if (!div_transition) div_transition = create_bidirectional_transition(div, slide, {}, true);
					div_transition.run(1);
				});
			}

			current = true;
		},
		o(local) {
			if (local) {
				if (!div_transition) div_transition = create_bidirectional_transition(div, slide, {}, false);
				div_transition.run(0);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (detaching && div_transition) div_transition.end();
			mounted = false;
			dispose();
		}
	};
}

function rage_day_event_quests_components_accordion_index_svelte_create_fragment(ctx) {
	let div3;
	let div2;
	let div1;
	let div0;
	let img;
	let img_src_value;
	let t0;
	let p;
	let t1_value = /*quest*/ ctx[0].title + "";
	let t1;
	let t2;
	let t3;
	let t4;
	let mounted;
	let dispose;
	let if_block0 = /*accordionOpened*/ ctx[1] && rage_day_event_quests_components_accordion_index_svelte_create_if_block_5(ctx);

	function select_block_type(ctx, dirty) {
		if (/*quest*/ ctx[0].progress !== /*quest*/ ctx[0].maxProgress && !/*quest*/ ctx[0].rewardReceived) return rage_day_event_quests_components_accordion_index_svelte_create_if_block_3;
		if (/*quest*/ ctx[0].progress === /*quest*/ ctx[0].maxProgress && /*quest*/ ctx[0].rewardReceived) return rage_day_event_quests_components_accordion_index_svelte_create_if_block_4;
		return rage_day_event_quests_components_accordion_index_svelte_create_else_block_1;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block1 = current_block_type(ctx);
	let if_block2 = /*accordionOpened*/ ctx[1] && rage_day_event_quests_components_accordion_index_svelte_create_if_block(ctx);

	return {
		c() {
			div3 = internal_element("div");
			div2 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			if (if_block0) if_block0.c();
			t3 = space();
			if_block1.c();
			t4 = space();
			if (if_block2) if_block2.c();
			attr(img, "class", "rage-day-event-quests__items-block-arrow svelte-1du5ed4");
			if (!src_url_equal(img.src, img_src_value = rage_day_event_quests_components_accordion_img_arrow_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "arrow");
			toggle_class(img, "rage-day-event-quests__items-block-arrow--opened", /*accordionOpened*/ ctx[1]);
			attr(p, "class", "rage-day-event-quests__items-block-title svelte-1du5ed4");
			attr(div0, "class", "rage-day-event-quests__items-block-title-wrapper svelte-1du5ed4");
			attr(div1, "class", "rage-day-event-quests__items-block-text svelte-1du5ed4");
			attr(div2, "class", "rage-day-event-quests__items-block-upper svelte-1du5ed4");
			toggle_class(div2, "rage-day-event-quests__items-block-upper--opened", /*accordionOpened*/ ctx[1]);
			attr(div3, "class", "rage-day-event-quests__items-block svelte-1du5ed4");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div2);
			append(div2, div1);
			append(div1, div0);
			append(div0, img);
			append(div0, t0);
			append(div0, p);
			append(p, t1);
			append(div1, t2);
			if (if_block0) if_block0.m(div1, null);
			append(div2, t3);
			if_block1.m(div2, null);
			append(div3, t4);
			if (if_block2) if_block2.m(div3, null);

			if (!mounted) {
				dispose = listen(div2, "click", /*handleClick*/ ctx[2]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*accordionOpened*/ 2) {
				toggle_class(img, "rage-day-event-quests__items-block-arrow--opened", /*accordionOpened*/ ctx[1]);
			}

			if (dirty & /*quest*/ 1 && t1_value !== (t1_value = /*quest*/ ctx[0].title + "")) set_data(t1, t1_value);

			if (/*accordionOpened*/ ctx[1]) {
				if (if_block0) {
					if_block0.p(ctx, dirty);

					if (dirty & /*accordionOpened*/ 2) {
						transition_in(if_block0, 1);
					}
				} else {
					if_block0 = rage_day_event_quests_components_accordion_index_svelte_create_if_block_5(ctx);
					if_block0.c();
					transition_in(if_block0, 1);
					if_block0.m(div1, null);
				}
			} else if (if_block0) {
				group_outros();

				transition_out(if_block0, 1, 1, () => {
					if_block0 = null;
				});

				check_outros();
			}

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block1) {
				if_block1.p(ctx, dirty);
			} else {
				if_block1.d(1);
				if_block1 = current_block_type(ctx);

				if (if_block1) {
					if_block1.c();
					if_block1.m(div2, null);
				}
			}

			if (dirty & /*accordionOpened*/ 2) {
				toggle_class(div2, "rage-day-event-quests__items-block-upper--opened", /*accordionOpened*/ ctx[1]);
			}

			if (/*accordionOpened*/ ctx[1]) {
				if (if_block2) {
					if_block2.p(ctx, dirty);

					if (dirty & /*accordionOpened*/ 2) {
						transition_in(if_block2, 1);
					}
				} else {
					if_block2 = rage_day_event_quests_components_accordion_index_svelte_create_if_block(ctx);
					if_block2.c();
					transition_in(if_block2, 1);
					if_block2.m(div3, null);
				}
			} else if (if_block2) {
				group_outros();

				transition_out(if_block2, 1, 1, () => {
					if_block2 = null;
				});

				check_outros();
			}
		},
		i(local) {
			transition_in(if_block0);
			transition_in(if_block2);
		},
		o(local) {
			transition_out(if_block0);
			transition_out(if_block2);
		},
		d(detaching) {
			if (detaching) detach(div3);
			if (if_block0) if_block0.d();
			if_block1.d();
			if (if_block2) if_block2.d();
			mounted = false;
			dispose();
		}
	};
}

function rage_day_event_quests_components_accordion_index_svelte_instance($$self, $$props, $$invalidate) {
	let { quest } = $$props;
	let { categoryId } = $$props;
	let accordionOpened = false;

	const handleClick = () => {
		$$invalidate(1, accordionOpened = !accordionOpened);
	};

	const drawLocation = () => {
		sendClientMessage('rageDayEvent.quest.drawLocation', quest.id, categoryId);
	};

	const receiveReward = () => {
		sendClientMessage('rageDayEvent.quest.receiveReward', quest.id, categoryId);
	};

	$$self.$$set = $$props => {
		if ('quest' in $$props) $$invalidate(0, quest = $$props.quest);
		if ('categoryId' in $$props) $$invalidate(5, categoryId = $$props.categoryId);
	};

	return [quest, accordionOpened, handleClick, drawLocation, receiveReward, categoryId];
}

class rage_day_event_quests_components_accordion_index_svelte_Accordion extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, rage_day_event_quests_components_accordion_index_svelte_instance, rage_day_event_quests_components_accordion_index_svelte_create_fragment, safe_not_equal, { quest: 0, categoryId: 5 }, rage_day_event_quests_components_accordion_index_svelte_add_css);
	}
}

/* harmony default export */ const rage_day_event_quests_components_accordion_index_svelte = (rage_day_event_quests_components_accordion_index_svelte_Accordion);
;// CONCATENATED MODULE: ./src/views/rage-day-event/quests/index.svelte
/* src\views\rage-day-event\quests\index.svelte generated by Svelte v3.49.0 */












function rage_day_event_quests_index_svelte_add_css(target) {
	append_styles(target, "svelte-lldq6n", "@keyframes svelte-lldq6n-blinking{50%{opacity:0}}@keyframes svelte-lldq6n-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-lldq6n-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-lldq6n-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-lldq6n-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-lldq6n-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-lldq6n-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-lldq6n-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-lldq6n-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-lldq6n-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-lldq6n-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-lldq6n-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-lldq6n-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-lldq6n-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-lldq6n-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.rage-day-event-quests.svelte-lldq6n.svelte-lldq6n{display:flex;align-items:center;flex-direction:column;width:100vw;height:100vh;background:linear-gradient(0deg, rgba(21, 21, 21, 0.9), rgba(21, 21, 21, 0.9)), radial-gradient(117.53% 91.62% at 50% 50%, rgba(0, 0, 0, 0) 0%, #000000 100%)}.rage-day-event-quests__title.svelte-lldq6n.svelte-lldq6n{position:absolute;z-index:1;font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.01875 * 100vw + 0px);top:calc(0.0447916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__title.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__title.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__title.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__title.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__title.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__title.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__title.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.020625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__title.svelte-lldq6n.svelte-lldq6n{top:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__title.svelte-lldq6n.svelte-lldq6n{top:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__title.svelte-lldq6n.svelte-lldq6n{top:calc(0.0344895833 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__title.svelte-lldq6n.svelte-lldq6n{top:calc(0.0492708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__title.svelte-lldq6n.svelte-lldq6n{top:calc(0.0313541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__title.svelte-lldq6n.svelte-lldq6n{top:calc(0.0403125 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__title.svelte-lldq6n.svelte-lldq6n{top:calc(0.0492708333 * 100vw + 0px)}}.rage-day-event-quests__quests-img.svelte-lldq6n.svelte-lldq6n{position:absolute;left:0;bottom:0;height:calc(0.3958333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__quests-img.svelte-lldq6n.svelte-lldq6n{height:calc(0.3958333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__quests-img.svelte-lldq6n.svelte-lldq6n{height:calc(0.3958333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__quests-img.svelte-lldq6n.svelte-lldq6n{height:calc(0.3047916667 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__quests-img.svelte-lldq6n.svelte-lldq6n{height:calc(0.4354166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__quests-img.svelte-lldq6n.svelte-lldq6n{height:calc(0.2770833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__quests-img.svelte-lldq6n.svelte-lldq6n{height:calc(0.35625 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__quests-img.svelte-lldq6n.svelte-lldq6n{height:calc(0.4354166667 * 100vw + 0px)}}.rage-day-event-quests__clown-img.svelte-lldq6n.svelte-lldq6n{position:absolute;right:0;bottom:0;height:calc(0.3958333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__clown-img.svelte-lldq6n.svelte-lldq6n{height:calc(0.3958333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__clown-img.svelte-lldq6n.svelte-lldq6n{height:calc(0.3958333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__clown-img.svelte-lldq6n.svelte-lldq6n{height:calc(0.3047916667 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__clown-img.svelte-lldq6n.svelte-lldq6n{height:calc(0.4354166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__clown-img.svelte-lldq6n.svelte-lldq6n{height:calc(0.2770833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__clown-img.svelte-lldq6n.svelte-lldq6n{height:calc(0.35625 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__clown-img.svelte-lldq6n.svelte-lldq6n{height:calc(0.4354166667 * 100vw + 0px)}}.rage-day-event-quests__logo.svelte-lldq6n.svelte-lldq6n{position:absolute;display:flex;align-items:center;top:calc(0.0302083333 * 100vw + 0px);left:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__logo.svelte-lldq6n.svelte-lldq6n{top:calc(0.0302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__logo.svelte-lldq6n.svelte-lldq6n{top:calc(0.0302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__logo.svelte-lldq6n.svelte-lldq6n{top:calc(0.0232604167 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__logo.svelte-lldq6n.svelte-lldq6n{top:calc(0.0332291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__logo.svelte-lldq6n.svelte-lldq6n{top:calc(0.0211458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__logo.svelte-lldq6n.svelte-lldq6n{top:calc(0.0271875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__logo.svelte-lldq6n.svelte-lldq6n{top:calc(0.0332291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__logo.svelte-lldq6n.svelte-lldq6n{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__logo.svelte-lldq6n.svelte-lldq6n{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__logo.svelte-lldq6n.svelte-lldq6n{left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__logo.svelte-lldq6n.svelte-lldq6n{left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__logo.svelte-lldq6n.svelte-lldq6n{left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__logo.svelte-lldq6n.svelte-lldq6n{left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__logo.svelte-lldq6n.svelte-lldq6n{left:calc(0.0286458333 * 100vw + 0px)}}.rage-day-event-quests__logo-icon.svelte-lldq6n.svelte-lldq6n{height:calc(0.05 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__logo-icon.svelte-lldq6n.svelte-lldq6n{height:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__logo-icon.svelte-lldq6n.svelte-lldq6n{height:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__logo-icon.svelte-lldq6n.svelte-lldq6n{height:calc(0.0385 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__logo-icon.svelte-lldq6n.svelte-lldq6n{height:calc(0.055 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__logo-icon.svelte-lldq6n.svelte-lldq6n{height:calc(0.035 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__logo-icon.svelte-lldq6n.svelte-lldq6n{height:calc(0.045 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__logo-icon.svelte-lldq6n.svelte-lldq6n{height:calc(0.055 * 100vw + 0px)}}.rage-day-event-quests__category.svelte-lldq6n.svelte-lldq6n{position:absolute;top:calc(0.1302083333 * 100vw + 0px);left:calc(0.1484375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__category.svelte-lldq6n.svelte-lldq6n{top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__category.svelte-lldq6n.svelte-lldq6n{top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__category.svelte-lldq6n.svelte-lldq6n{top:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__category.svelte-lldq6n.svelte-lldq6n{top:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__category.svelte-lldq6n.svelte-lldq6n{top:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__category.svelte-lldq6n.svelte-lldq6n{top:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__category.svelte-lldq6n.svelte-lldq6n{top:calc(0.1432291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__category.svelte-lldq6n.svelte-lldq6n{left:calc(0.1484375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__category.svelte-lldq6n.svelte-lldq6n{left:calc(0.1484375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__category.svelte-lldq6n.svelte-lldq6n{left:calc(0.114296875 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__category.svelte-lldq6n.svelte-lldq6n{left:calc(0.16328125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__category.svelte-lldq6n.svelte-lldq6n{left:calc(0.10390625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__category.svelte-lldq6n.svelte-lldq6n{left:calc(0.13359375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__category.svelte-lldq6n.svelte-lldq6n{left:calc(0.16328125 * 100vw + 0px)}}.rage-day-event-quests__category-title.svelte-lldq6n.svelte-lldq6n{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px);margin-bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__category-title.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__category-title.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__category-title.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__category-title.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__category-title.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__category-title.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__category-title.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__category-title.svelte-lldq6n.svelte-lldq6n{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__category-title.svelte-lldq6n.svelte-lldq6n{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__category-title.svelte-lldq6n.svelte-lldq6n{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__category-title.svelte-lldq6n.svelte-lldq6n{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__category-title.svelte-lldq6n.svelte-lldq6n{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__category-title.svelte-lldq6n.svelte-lldq6n{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__category-title.svelte-lldq6n.svelte-lldq6n{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n{width:fit-content;overflow:auto;height:calc(0.378125 * 100vw + 0px);padding-right:calc(0.0130208333 * 100vw + 0px)}.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n{height:calc(0.378125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n{height:calc(0.378125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n{height:calc(0.29115625 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n{height:calc(0.4159375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n{height:calc(0.2646875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n{height:calc(0.3403125 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n{height:calc(0.4159375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n{padding-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n{padding-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n{padding-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n{padding-right:calc(0.0143229167 * 100vw + 0px)}}.rage-day-event-quests__categories-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar{width:0px}.rage-day-event-quests__category-quest.svelte-lldq6n.svelte-lldq6n{display:flex;align-items:center;justify-content:space-between;cursor:pointer;background:rgba(0, 0, 0, 0.8);transition:background-color 0.2s linear;position:relative;overflow:hidden;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.3125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__category-quest.svelte-lldq6n.svelte-lldq6n{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__category-quest.svelte-lldq6n.svelte-lldq6n{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__category-quest.svelte-lldq6n.svelte-lldq6n{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__category-quest.svelte-lldq6n.svelte-lldq6n{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__category-quest.svelte-lldq6n.svelte-lldq6n{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__category-quest.svelte-lldq6n.svelte-lldq6n{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__category-quest.svelte-lldq6n.svelte-lldq6n{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__category-quest.svelte-lldq6n.svelte-lldq6n{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__category-quest.svelte-lldq6n.svelte-lldq6n{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__category-quest.svelte-lldq6n.svelte-lldq6n{width:calc(0.240625 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__category-quest.svelte-lldq6n.svelte-lldq6n{width:calc(0.34375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__category-quest.svelte-lldq6n.svelte-lldq6n{width:calc(0.21875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__category-quest.svelte-lldq6n.svelte-lldq6n{width:calc(0.28125 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__category-quest.svelte-lldq6n.svelte-lldq6n{width:calc(0.34375 * 100vw + 0px)}}.rage-day-event-quests__category-quest.svelte-lldq6n.svelte-lldq6n:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__category-quest.svelte-lldq6n.svelte-lldq6n:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__category-quest.svelte-lldq6n.svelte-lldq6n:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__category-quest.svelte-lldq6n.svelte-lldq6n:not(:first-child){margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__category-quest.svelte-lldq6n.svelte-lldq6n:not(:first-child){margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__category-quest.svelte-lldq6n.svelte-lldq6n:not(:first-child){margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__category-quest.svelte-lldq6n.svelte-lldq6n:not(:first-child){margin-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__category-quest.svelte-lldq6n.svelte-lldq6n:not(:first-child){margin-top:calc(0.0114583333 * 100vw + 0px)}}.rage-day-event-quests__category-quest.svelte-lldq6n.svelte-lldq6n:hover,.rage-day-event-quests__category-quest--selected.svelte-lldq6n.svelte-lldq6n,.rage-day-event-quests__category-quest--completed.svelte-lldq6n.svelte-lldq6n{background-color:#343434}.rage-day-event-quests__category-quest.svelte-lldq6n:hover .rage-day-event-quests__category-quest-title.svelte-lldq6n,.rage-day-event-quests__category-quest.svelte-lldq6n:hover .rage-day-event-quests__category-quest-descr.svelte-lldq6n,.rage-day-event-quests__category-quest.svelte-lldq6n:hover .rage-day-event-quests__category-exp.svelte-lldq6n,.rage-day-event-quests__category-quest.svelte-lldq6n:hover .rage-day-event-quests__category-exp-descr.svelte-lldq6n,.rage-day-event-quests__category-quest--selected.svelte-lldq6n .rage-day-event-quests__category-quest-title.svelte-lldq6n,.rage-day-event-quests__category-quest--selected.svelte-lldq6n .rage-day-event-quests__category-quest-descr.svelte-lldq6n,.rage-day-event-quests__category-quest--selected.svelte-lldq6n .rage-day-event-quests__category-exp.svelte-lldq6n,.rage-day-event-quests__category-quest--selected.svelte-lldq6n .rage-day-event-quests__category-exp-descr.svelte-lldq6n,.rage-day-event-quests__category-quest--completed.svelte-lldq6n .rage-day-event-quests__category-quest-title.svelte-lldq6n,.rage-day-event-quests__category-quest--completed.svelte-lldq6n .rage-day-event-quests__category-quest-descr.svelte-lldq6n,.rage-day-event-quests__category-quest--completed.svelte-lldq6n .rage-day-event-quests__category-exp.svelte-lldq6n,.rage-day-event-quests__category-quest--completed.svelte-lldq6n .rage-day-event-quests__category-exp-descr.svelte-lldq6n{color:#FFFFFF}.rage-day-event-quests__category-quest-body.svelte-lldq6n.svelte-lldq6n{padding-left:calc(0.0130208333 * 100vw + 0px);padding-top:calc(0.0114583333 * 100vw + 0px);padding-bottom:calc(0.0109375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__category-quest-body.svelte-lldq6n.svelte-lldq6n{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__category-quest-body.svelte-lldq6n.svelte-lldq6n{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__category-quest-body.svelte-lldq6n.svelte-lldq6n{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__category-quest-body.svelte-lldq6n.svelte-lldq6n{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__category-quest-body.svelte-lldq6n.svelte-lldq6n{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__category-quest-body.svelte-lldq6n.svelte-lldq6n{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__category-quest-body.svelte-lldq6n.svelte-lldq6n{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__category-quest-body.svelte-lldq6n.svelte-lldq6n{padding-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__category-quest-body.svelte-lldq6n.svelte-lldq6n{padding-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__category-quest-body.svelte-lldq6n.svelte-lldq6n{padding-top:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__category-quest-body.svelte-lldq6n.svelte-lldq6n{padding-top:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__category-quest-body.svelte-lldq6n.svelte-lldq6n{padding-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__category-quest-body.svelte-lldq6n.svelte-lldq6n{padding-top:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__category-quest-body.svelte-lldq6n.svelte-lldq6n{padding-top:calc(0.0126041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__category-quest-body.svelte-lldq6n.svelte-lldq6n{padding-bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__category-quest-body.svelte-lldq6n.svelte-lldq6n{padding-bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__category-quest-body.svelte-lldq6n.svelte-lldq6n{padding-bottom:calc(0.008421875 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__category-quest-body.svelte-lldq6n.svelte-lldq6n{padding-bottom:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__category-quest-body.svelte-lldq6n.svelte-lldq6n{padding-bottom:calc(0.00765625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__category-quest-body.svelte-lldq6n.svelte-lldq6n{padding-bottom:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__category-quest-body.svelte-lldq6n.svelte-lldq6n{padding-bottom:calc(0.01203125 * 100vw + 0px)}}.rage-day-event-quests__category-quest-title.svelte-lldq6n.svelte-lldq6n{font-family:\"GothamPro-Medium\";color:#858585;font-size:calc(0.009375 * 100vw + 0px);margin-bottom:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__category-quest-title.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__category-quest-title.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__category-quest-title.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__category-quest-title.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__category-quest-title.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__category-quest-title.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__category-quest-title.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__category-quest-title.svelte-lldq6n.svelte-lldq6n{margin-bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__category-quest-title.svelte-lldq6n.svelte-lldq6n{margin-bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__category-quest-title.svelte-lldq6n.svelte-lldq6n{margin-bottom:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__category-quest-title.svelte-lldq6n.svelte-lldq6n{margin-bottom:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__category-quest-title.svelte-lldq6n.svelte-lldq6n{margin-bottom:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__category-quest-title.svelte-lldq6n.svelte-lldq6n{margin-bottom:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__category-quest-title.svelte-lldq6n.svelte-lldq6n{margin-bottom:calc(0.0028645833 * 100vw + 0px)}}.rage-day-event-quests__category-quest-descr.svelte-lldq6n.svelte-lldq6n{font-family:\"GothamPro\";color:#858585;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__category-quest-descr.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__category-quest-descr.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__category-quest-descr.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__category-quest-descr.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__category-quest-descr.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__category-quest-descr.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__category-quest-descr.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0057291667 * 100vw + 0px)}}.rage-day-event-quests__category-quest-progress.svelte-lldq6n.svelte-lldq6n{display:flex;flex-direction:column;width:calc(0.046875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__category-quest-progress.svelte-lldq6n.svelte-lldq6n{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__category-quest-progress.svelte-lldq6n.svelte-lldq6n{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__category-quest-progress.svelte-lldq6n.svelte-lldq6n{width:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__category-quest-progress.svelte-lldq6n.svelte-lldq6n{width:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__category-quest-progress.svelte-lldq6n.svelte-lldq6n{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__category-quest-progress.svelte-lldq6n.svelte-lldq6n{width:calc(0.0421875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__category-quest-progress.svelte-lldq6n.svelte-lldq6n{width:calc(0.0515625 * 100vw + 0px)}}.rage-day-event-quests__category-quest-progress--completed.svelte-lldq6n.svelte-lldq6n{display:flex;justify-content:center;align-items:center;background:#83BD6F;border-radius:calc(0.0130208333 * 100vw + 0px);width:calc(0.0442708333 * 100vw + 0px);height:calc(0.0130208333 * 100vw + 0px);margin-right:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__category-quest-progress--completed.svelte-lldq6n.svelte-lldq6n{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__category-quest-progress--completed.svelte-lldq6n.svelte-lldq6n{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__category-quest-progress--completed.svelte-lldq6n.svelte-lldq6n{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__category-quest-progress--completed.svelte-lldq6n.svelte-lldq6n{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__category-quest-progress--completed.svelte-lldq6n.svelte-lldq6n{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__category-quest-progress--completed.svelte-lldq6n.svelte-lldq6n{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__category-quest-progress--completed.svelte-lldq6n.svelte-lldq6n{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__category-quest-progress--completed.svelte-lldq6n.svelte-lldq6n{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__category-quest-progress--completed.svelte-lldq6n.svelte-lldq6n{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__category-quest-progress--completed.svelte-lldq6n.svelte-lldq6n{width:calc(0.0340885417 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__category-quest-progress--completed.svelte-lldq6n.svelte-lldq6n{width:calc(0.0486979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__category-quest-progress--completed.svelte-lldq6n.svelte-lldq6n{width:calc(0.0309895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__category-quest-progress--completed.svelte-lldq6n.svelte-lldq6n{width:calc(0.03984375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__category-quest-progress--completed.svelte-lldq6n.svelte-lldq6n{width:calc(0.0486979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__category-quest-progress--completed.svelte-lldq6n.svelte-lldq6n{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__category-quest-progress--completed.svelte-lldq6n.svelte-lldq6n{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__category-quest-progress--completed.svelte-lldq6n.svelte-lldq6n{height:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__category-quest-progress--completed.svelte-lldq6n.svelte-lldq6n{height:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__category-quest-progress--completed.svelte-lldq6n.svelte-lldq6n{height:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__category-quest-progress--completed.svelte-lldq6n.svelte-lldq6n{height:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__category-quest-progress--completed.svelte-lldq6n.svelte-lldq6n{height:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__category-quest-progress--completed.svelte-lldq6n.svelte-lldq6n{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__category-quest-progress--completed.svelte-lldq6n.svelte-lldq6n{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__category-quest-progress--completed.svelte-lldq6n.svelte-lldq6n{margin-right:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__category-quest-progress--completed.svelte-lldq6n.svelte-lldq6n{margin-right:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__category-quest-progress--completed.svelte-lldq6n.svelte-lldq6n{margin-right:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__category-quest-progress--completed.svelte-lldq6n.svelte-lldq6n{margin-right:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__category-quest-progress--completed.svelte-lldq6n.svelte-lldq6n{margin-right:calc(0.0091666667 * 100vw + 0px)}}.rage-day-event-quests__category-exp.svelte-lldq6n.svelte-lldq6n{font-family:\"GothamPro-Medium\";color:#858585;font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__category-exp.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__category-exp.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__category-exp.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__category-exp.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__category-exp.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__category-exp.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__category-exp.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0114583333 * 100vw + 0px)}}.rage-day-event-quests__category-exp--completed.svelte-lldq6n.svelte-lldq6n{font-family:\"GothamPro-Light\";color:#343434;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__category-exp--completed.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__category-exp--completed.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__category-exp--completed.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__category-exp--completed.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__category-exp--completed.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__category-exp--completed.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__category-exp--completed.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0057291667 * 100vw + 0px)}}.rage-day-event-quests__category-exp-descr.svelte-lldq6n.svelte-lldq6n{font-family:\"GothamPro\";color:#858585;font-size:calc(0.00625 * 100vw + 0px);margin-top:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__category-exp-descr.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__category-exp-descr.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__category-exp-descr.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__category-exp-descr.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__category-exp-descr.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__category-exp-descr.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__category-exp-descr.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__category-exp-descr.svelte-lldq6n.svelte-lldq6n{margin-top:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__category-exp-descr.svelte-lldq6n.svelte-lldq6n{margin-top:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__category-exp-descr.svelte-lldq6n.svelte-lldq6n{margin-top:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__category-exp-descr.svelte-lldq6n.svelte-lldq6n{margin-top:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__category-exp-descr.svelte-lldq6n.svelte-lldq6n{margin-top:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__category-exp-descr.svelte-lldq6n.svelte-lldq6n{margin-top:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__category-exp-descr.svelte-lldq6n.svelte-lldq6n{margin-top:calc(0.0028645833 * 100vw + 0px)}}.rage-day-event-quests__items.svelte-lldq6n.svelte-lldq6n{position:absolute;top:calc(0.1302083333 * 100vw + 0px);right:calc(0.1328125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items.svelte-lldq6n.svelte-lldq6n{top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items.svelte-lldq6n.svelte-lldq6n{top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items.svelte-lldq6n.svelte-lldq6n{top:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items.svelte-lldq6n.svelte-lldq6n{top:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items.svelte-lldq6n.svelte-lldq6n{top:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items.svelte-lldq6n.svelte-lldq6n{top:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items.svelte-lldq6n.svelte-lldq6n{top:calc(0.1432291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items.svelte-lldq6n.svelte-lldq6n{right:calc(0.1328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items.svelte-lldq6n.svelte-lldq6n{right:calc(0.1328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items.svelte-lldq6n.svelte-lldq6n{right:calc(0.102265625 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items.svelte-lldq6n.svelte-lldq6n{right:calc(0.14609375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items.svelte-lldq6n.svelte-lldq6n{right:calc(0.09296875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items.svelte-lldq6n.svelte-lldq6n{right:calc(0.11953125 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items.svelte-lldq6n.svelte-lldq6n{right:calc(0.14609375 * 100vw + 0px)}}.rage-day-event-quests__items-title.svelte-lldq6n.svelte-lldq6n{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px);margin-bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-title.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-title.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-title.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-title.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-title.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-title.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-title.svelte-lldq6n.svelte-lldq6n{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-title.svelte-lldq6n.svelte-lldq6n{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-title.svelte-lldq6n.svelte-lldq6n{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-title.svelte-lldq6n.svelte-lldq6n{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-title.svelte-lldq6n.svelte-lldq6n{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-title.svelte-lldq6n.svelte-lldq6n{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-title.svelte-lldq6n.svelte-lldq6n{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-title.svelte-lldq6n.svelte-lldq6n{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n{overflow:auto;height:calc(0.378125 * 100vw + 0px);padding-right:calc(0.0130208333 * 100vw + 0px)}.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n{height:calc(0.378125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n{height:calc(0.378125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n{height:calc(0.29115625 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n{height:calc(0.4159375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n{height:calc(0.2646875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n{height:calc(0.3403125 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n{height:calc(0.4159375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n{padding-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n{padding-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n{padding-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n{padding-right:calc(0.0143229167 * 100vw + 0px)}}.rage-day-event-quests__items-wrapper.svelte-lldq6n.svelte-lldq6n::-webkit-scrollbar{width:0px}");
}

function rage_day_event_quests_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[15] = list[i];
	return child_ctx;
}

function rage_day_event_quests_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[18] = list[i];
	return child_ctx;
}

// (2012:20) {:else}
function rage_day_event_quests_index_svelte_create_else_block(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="rage-day-event-quests__category-exp--completed svelte-lldq6n">Выполнено</p>`;
			attr(div, "class", "rage-day-event-quests__category-quest-progress--completed svelte-lldq6n");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (2001:20) {#if category.progress !== category.maxProgress}
function rage_day_event_quests_index_svelte_create_if_block_1(ctx) {
	let div;
	let p0;
	let t0_value = /*category*/ ctx[18].progress + "";
	let t0;
	let t1;
	let t2_value = /*category*/ ctx[18].maxProgress + "";
	let t2;
	let t3;
	let p1;

	return {
		c() {
			div = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = internal_text("\r\n                                /\r\n                                ");
			t2 = internal_text(t2_value);
			t3 = space();
			p1 = internal_element("p");
			p1.textContent = "Прогресс";
			attr(p0, "class", "rage-day-event-quests__category-exp svelte-lldq6n");
			attr(p1, "class", "rage-day-event-quests__category-exp-descr svelte-lldq6n");
			attr(div, "class", "rage-day-event-quests__category-quest-progress svelte-lldq6n");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p0);
			append(p0, t0);
			append(p0, t1);
			append(p0, t2);
			append(div, t3);
			append(div, p1);
		},
		p(ctx, dirty) {
			if (dirty & /*categoriesTabs*/ 2 && t0_value !== (t0_value = /*category*/ ctx[18].progress + "")) set_data(t0, t0_value);
			if (dirty & /*categoriesTabs*/ 2 && t2_value !== (t2_value = /*category*/ ctx[18].maxProgress + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1987:12) {#each categoriesTabs as category}
function rage_day_event_quests_index_svelte_create_each_block_1(ctx) {
	let div1;
	let div0;
	let p0;
	let t0_value = /*category*/ ctx[18].title + "";
	let t0;
	let t1;
	let p1;
	let t2_value = /*category*/ ctx[18].description + "";
	let t2;
	let t3;
	let t4;
	let mounted;
	let dispose;

	function select_block_type(ctx, dirty) {
		if (/*category*/ ctx[18].progress !== /*category*/ ctx[18].maxProgress) return rage_day_event_quests_index_svelte_create_if_block_1;
		return rage_day_event_quests_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block = current_block_type(ctx);

	function click_handler() {
		return /*click_handler*/ ctx[5](/*category*/ ctx[18]);
	}

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = space();
			if_block.c();
			t4 = space();
			attr(p0, "class", "rage-day-event-quests__category-quest-title svelte-lldq6n");
			attr(p1, "class", "rage-day-event-quests__category-quest-descr svelte-lldq6n");
			attr(div0, "class", "rage-day-event-quests__category-quest-body svelte-lldq6n");
			attr(div1, "class", "rage-day-event-quests__category-quest svelte-lldq6n");
			toggle_class(div1, "rage-day-event-quests__category-quest--selected", /*category*/ ctx[18].id === /*selectedTabId*/ ctx[2]);
			toggle_class(div1, "rage-day-event-quests__category-quest--completed", /*category*/ ctx[18].progress === /*category*/ ctx[18].maxProgress);
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, p0);
			append(p0, t0);
			append(div0, t1);
			append(div0, p1);
			append(p1, t2);
			append(div1, t3);
			if_block.m(div1, null);
			append(div1, t4);

			if (!mounted) {
				dispose = listen(div1, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if (dirty & /*categoriesTabs*/ 2 && t0_value !== (t0_value = /*category*/ ctx[18].title + "")) set_data(t0, t0_value);
			if (dirty & /*categoriesTabs*/ 2 && t2_value !== (t2_value = /*category*/ ctx[18].description + "")) set_data(t2, t2_value);

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div1, t4);
				}
			}

			if (dirty & /*categoriesTabs, selectedTabId*/ 6) {
				toggle_class(div1, "rage-day-event-quests__category-quest--selected", /*category*/ ctx[18].id === /*selectedTabId*/ ctx[2]);
			}

			if (dirty & /*categoriesTabs*/ 2) {
				toggle_class(div1, "rage-day-event-quests__category-quest--completed", /*category*/ ctx[18].progress === /*category*/ ctx[18].maxProgress);
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			if_block.d();
			mounted = false;
			dispose();
		}
	};
}

// (2024:8) {#if !isEmpty(categoriesQuests[selectedTabId])}
function rage_day_event_quests_index_svelte_create_if_block(ctx) {
	let p;
	let t1;
	let div;
	let previous_key = /*selectedTabId*/ ctx[2];
	let current;
	let key_block = rage_day_event_quests_index_svelte_create_key_block(ctx);

	return {
		c() {
			p = internal_element("p");
			p.textContent = "Задания";
			t1 = space();
			div = internal_element("div");
			key_block.c();
			attr(p, "class", "rage-day-event-quests__items-title svelte-lldq6n");
			attr(div, "class", "rage-day-event-quests__items-wrapper svelte-lldq6n");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			insert(target, t1, anchor);
			insert(target, div, anchor);
			key_block.m(div, null);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty & /*selectedTabId*/ 4 && safe_not_equal(previous_key, previous_key = /*selectedTabId*/ ctx[2])) {
				group_outros();
				transition_out(key_block, 1, 1, internal_noop);
				check_outros();
				key_block = rage_day_event_quests_index_svelte_create_key_block(ctx);
				key_block.c();
				transition_in(key_block, 1);
				key_block.m(div, null);
			} else {
				key_block.p(ctx, dirty);
			}
		},
		i(local) {
			if (current) return;
			transition_in(key_block);
			current = true;
		},
		o(local) {
			transition_out(key_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(p);
			if (detaching) detach(t1);
			if (detaching) detach(div);
			key_block.d(detaching);
		}
	};
}

// (2030:20) {#each categoriesQuests[selectedTabId] as quest}
function rage_day_event_quests_index_svelte_create_each_block(ctx) {
	let accordion;
	let current;

	accordion = new rage_day_event_quests_components_accordion_index_svelte({
			props: {
				quest: /*quest*/ ctx[15],
				categoryId: /*selectedTabId*/ ctx[2]
			}
		});

	return {
		c() {
			create_component(accordion.$$.fragment);
		},
		m(target, anchor) {
			mount_component(accordion, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const accordion_changes = {};
			if (dirty & /*categoriesQuests, selectedTabId*/ 5) accordion_changes.quest = /*quest*/ ctx[15];
			if (dirty & /*selectedTabId*/ 4) accordion_changes.categoryId = /*selectedTabId*/ ctx[2];
			accordion.$set(accordion_changes);
		},
		i(local) {
			if (current) return;
			transition_in(accordion.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(accordion.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(accordion, detaching);
		}
	};
}

// (2029:16) {#key selectedTabId}
function rage_day_event_quests_index_svelte_create_key_block(ctx) {
	let each_1_anchor;
	let current;
	let each_value = /*categoriesQuests*/ ctx[0][/*selectedTabId*/ ctx[2]];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = rage_day_event_quests_index_svelte_create_each_block(rage_day_event_quests_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty & /*categoriesQuests, selectedTabId*/ 5) {
				each_value = /*categoriesQuests*/ ctx[0][/*selectedTabId*/ ctx[2]];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = rage_day_event_quests_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = rage_day_event_quests_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			destroy_each(each_blocks, detaching);
			if (detaching) detach(each_1_anchor);
		}
	};
}

function rage_day_event_quests_index_svelte_create_fragment(ctx) {
	let div4;
	let p0;
	let t1;
	let img0;
	let img0_src_value;
	let t2;
	let img1;
	let img1_src_value;
	let t3;
	let ragedayeventbackground;
	let t4;
	let exitbutton;
	let t5;
	let div0;
	let img2;
	let img2_src_value;
	let t6;
	let div2;
	let p1;
	let t8;
	let div1;
	let t9;
	let div3;
	let show_if = !(0,lodash.isEmpty)(/*categoriesQuests*/ ctx[0][/*selectedTabId*/ ctx[2]]);
	let current;
	ragedayeventbackground = new rage_day_event_components_background_index_svelte({});

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[4],
				title: "Вернутся назад",
				fixedPosition: true
			}
		});

	let each_value_1 = /*categoriesTabs*/ ctx[1];
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = rage_day_event_quests_index_svelte_create_each_block_1(rage_day_event_quests_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	let if_block = show_if && rage_day_event_quests_index_svelte_create_if_block(ctx);

	return {
		c() {
			div4 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Список заданий";
			t1 = space();
			img0 = internal_element("img");
			t2 = space();
			img1 = internal_element("img");
			t3 = space();
			create_component(ragedayeventbackground.$$.fragment);
			t4 = space();
			create_component(exitbutton.$$.fragment);
			t5 = space();
			div0 = internal_element("div");
			img2 = internal_element("img");
			t6 = space();
			div2 = internal_element("div");
			p1 = internal_element("p");
			p1.textContent = "Этапы";
			t8 = space();
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t9 = space();
			div3 = internal_element("div");
			if (if_block) if_block.c();
			attr(p0, "class", "rage-day-event-quests__title svelte-lldq6n");
			attr(img0, "class", "rage-day-event-quests__quests-img svelte-lldq6n");
			if (!src_url_equal(img0.src, img0_src_value = rage_day_event_mask_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "quests");
			attr(img1, "class", "rage-day-event-quests__clown-img svelte-lldq6n");
			if (!src_url_equal(img1.src, img1_src_value = quests_img_rage_day_event_clown_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "clown");
			attr(img2, "class", "rage-day-event-quests__logo-icon svelte-lldq6n");
			if (!src_url_equal(img2.src, img2_src_value = rage_day_event_logo_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "logo");
			attr(div0, "class", "rage-day-event-quests__logo svelte-lldq6n");
			attr(p1, "class", "rage-day-event-quests__category-title svelte-lldq6n");
			attr(div1, "class", "rage-day-event-quests__categories-wrapper svelte-lldq6n");
			attr(div2, "class", "rage-day-event-quests__category svelte-lldq6n");
			attr(div3, "class", "rage-day-event-quests__items svelte-lldq6n");
			attr(div4, "class", "rage-day-event-quests svelte-lldq6n");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, p0);
			append(div4, t1);
			append(div4, img0);
			append(div4, t2);
			append(div4, img1);
			append(div4, t3);
			mount_component(ragedayeventbackground, div4, null);
			append(div4, t4);
			mount_component(exitbutton, div4, null);
			append(div4, t5);
			append(div4, div0);
			append(div0, img2);
			append(div4, t6);
			append(div4, div2);
			append(div2, p1);
			append(div2, t8);
			append(div2, div1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}

			append(div4, t9);
			append(div4, div3);
			if (if_block) if_block.m(div3, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*categoriesTabs, selectedTabId, selectCategory*/ 14) {
				each_value_1 = /*categoriesTabs*/ ctx[1];
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = rage_day_event_quests_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = rage_day_event_quests_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div1, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}

			if (dirty & /*categoriesQuests, selectedTabId*/ 5) show_if = !(0,lodash.isEmpty)(/*categoriesQuests*/ ctx[0][/*selectedTabId*/ ctx[2]]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*categoriesQuests, selectedTabId*/ 5) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = rage_day_event_quests_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(div3, null);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(ragedayeventbackground.$$.fragment, local);
			transition_in(exitbutton.$$.fragment, local);
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(ragedayeventbackground.$$.fragment, local);
			transition_out(exitbutton.$$.fragment, local);
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div4);
			destroy_component(ragedayeventbackground);
			destroy_component(exitbutton);
			destroy_each(each_blocks, detaching);
			if (if_block) if_block.d();
		}
	};
}

function rage_day_event_quests_index_svelte_instance($$self, $$props, $$invalidate) {
	let categoriesQuests = {};
	let categoriesTabs = [];
	let selectedTabId = null;

	const setCategoryQuests = (categoryId, quests) => {
		$$invalidate(0, categoriesQuests[categoryId] = quests, categoriesQuests);
	};

	const pushCategoryQuests = (categoryId, quests) => {
		$$invalidate(0, categoriesQuests[categoryId] = [...categoriesQuests[categoryId] || [], ...quests], categoriesQuests);
	};

	const selectCategory = tabId => {
		$$invalidate(2, selectedTabId = tabId);
	};

	const handleClose = () => {
		
	}; // exec close event

	const initQuests = categoriesQuestsDto => {
		$$invalidate(0, categoriesQuests = categoriesQuestsDto);
	};

	const initTabs = categoriesTabsDto => {
		$$invalidate(1, categoriesTabs = categoriesTabsDto);
	};

	const unregisterInitQuestsEvent = registerEvent('rageDayEvent.quests.initialize', initQuests);
	const unregisterInitTabsEvent = registerEvent('rageDayEvent.categories.initialize', initTabs);
	const unregisterSetCategoryQuestEvent = registerEvent('rageDayEvent.quests.update', setCategoryQuests);
	const unregisterSelectCategoryQuestEvent = registerEvent('rageDayEvent.categories.select', selectCategory);
	const unregisterPushQuestsEvent = registerEvent('rageDayEvent.quests.push', pushCategoryQuests);

	onDestroy(() => {
		unregisterInitQuestsEvent();
		unregisterInitTabsEvent();
		unregisterSetCategoryQuestEvent();
		unregisterSelectCategoryQuestEvent();
		unregisterPushQuestsEvent();
	});

	const click_handler = category => selectCategory(category.id);

	return [
		categoriesQuests,
		categoriesTabs,
		selectedTabId,
		selectCategory,
		handleClose,
		click_handler
	];
}

class rage_day_event_quests_index_svelte_Quests extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, rage_day_event_quests_index_svelte_instance, rage_day_event_quests_index_svelte_create_fragment, safe_not_equal, {}, rage_day_event_quests_index_svelte_add_css);
	}
}

/* harmony default export */ const rage_day_event_quests_index_svelte = (rage_day_event_quests_index_svelte_Quests);
;// CONCATENATED MODULE: ./src/views/blueprint/img/drafts.svg
const drafts_namespaceObject = __webpack_require__.p + "assets/7ca26975f70796cb1981.svg";
;// CONCATENATED MODULE: ./src/views/blueprint/components/rpg/index.svelte
/* src\views\blueprint\components\rpg\index.svelte generated by Svelte v3.49.0 */






function rpg_index_svelte_add_css(target) {
	append_styles(target, "svelte-1tce1vq", "@keyframes svelte-1tce1vq-blinking{50%{opacity:0}}@keyframes svelte-1tce1vq-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1tce1vq-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1tce1vq-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1tce1vq-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1tce1vq-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1tce1vq-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1tce1vq-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1tce1vq-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1tce1vq-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1tce1vq-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1tce1vq-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1tce1vq-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1tce1vq-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1tce1vq-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.blueprint-weapon-rpg.svelte-1tce1vq{position:relative;width:100%;height:100%}.blueprint-weapon-rpg__target-zone.svelte-1tce1vq{position:absolute;background:rgba(255, 219, 108, 0.2);border-width:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-rpg__target-zone.svelte-1tce1vq{border-width:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone.svelte-1tce1vq{border-width:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-rpg__target-zone.svelte-1tce1vq{border-width:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-rpg__target-zone.svelte-1tce1vq{border-width:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone.svelte-1tce1vq{border-width:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-rpg__target-zone.svelte-1tce1vq{border-width:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-rpg__target-zone.svelte-1tce1vq{border-width:calc(0.0028645833 * 100vw + 0px)}}.blueprint-weapon-rpg__target-zone--tube.svelte-1tce1vq{top:calc(0.0260416667 * 100vw + 0px);left:calc(-0.0104166667 * 100vw + 0px);width:calc(0.3255208333 * 100vw + 0px);height:calc(0.14375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-rpg__target-zone--tube.svelte-1tce1vq{top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone--tube.svelte-1tce1vq{top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-rpg__target-zone--tube.svelte-1tce1vq{top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-rpg__target-zone--tube.svelte-1tce1vq{top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone--tube.svelte-1tce1vq{top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-rpg__target-zone--tube.svelte-1tce1vq{top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-rpg__target-zone--tube.svelte-1tce1vq{top:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-rpg__target-zone--tube.svelte-1tce1vq{left:calc(-0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone--tube.svelte-1tce1vq{left:calc(-0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-rpg__target-zone--tube.svelte-1tce1vq{left:calc(-0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-rpg__target-zone--tube.svelte-1tce1vq{left:calc(-0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone--tube.svelte-1tce1vq{left:calc(-0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-rpg__target-zone--tube.svelte-1tce1vq{left:calc(-0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-rpg__target-zone--tube.svelte-1tce1vq{left:calc(-0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-rpg__target-zone--tube.svelte-1tce1vq{width:calc(0.3255208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone--tube.svelte-1tce1vq{width:calc(0.3255208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-rpg__target-zone--tube.svelte-1tce1vq{width:calc(0.2506510417 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-rpg__target-zone--tube.svelte-1tce1vq{width:calc(0.3580729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone--tube.svelte-1tce1vq{width:calc(0.2278645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-rpg__target-zone--tube.svelte-1tce1vq{width:calc(0.29296875 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-rpg__target-zone--tube.svelte-1tce1vq{width:calc(0.3580729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-rpg__target-zone--tube.svelte-1tce1vq{height:calc(0.14375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone--tube.svelte-1tce1vq{height:calc(0.14375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-rpg__target-zone--tube.svelte-1tce1vq{height:calc(0.1106875 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-rpg__target-zone--tube.svelte-1tce1vq{height:calc(0.158125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone--tube.svelte-1tce1vq{height:calc(0.100625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-rpg__target-zone--tube.svelte-1tce1vq{height:calc(0.129375 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-rpg__target-zone--tube.svelte-1tce1vq{height:calc(0.158125 * 100vw + 0px)}}.blueprint-weapon-rpg__target-zone--barrel.svelte-1tce1vq{top:calc(0 * 100vw + 0px);left:calc(0.2666666667 * 100vw + 0px);width:calc(0.3671875 * 100vw + 0px);height:calc(0.2213541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-rpg__target-zone--barrel.svelte-1tce1vq{top:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone--barrel.svelte-1tce1vq{top:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-rpg__target-zone--barrel.svelte-1tce1vq{top:calc(0 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-rpg__target-zone--barrel.svelte-1tce1vq{top:calc(0 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone--barrel.svelte-1tce1vq{top:calc(0 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-rpg__target-zone--barrel.svelte-1tce1vq{top:calc(0 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-rpg__target-zone--barrel.svelte-1tce1vq{top:calc(0 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-rpg__target-zone--barrel.svelte-1tce1vq{left:calc(0.2666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone--barrel.svelte-1tce1vq{left:calc(0.2666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-rpg__target-zone--barrel.svelte-1tce1vq{left:calc(0.2053333333 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-rpg__target-zone--barrel.svelte-1tce1vq{left:calc(0.2933333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone--barrel.svelte-1tce1vq{left:calc(0.1866666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-rpg__target-zone--barrel.svelte-1tce1vq{left:calc(0.24 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-rpg__target-zone--barrel.svelte-1tce1vq{left:calc(0.2933333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-rpg__target-zone--barrel.svelte-1tce1vq{width:calc(0.3671875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone--barrel.svelte-1tce1vq{width:calc(0.3671875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-rpg__target-zone--barrel.svelte-1tce1vq{width:calc(0.282734375 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-rpg__target-zone--barrel.svelte-1tce1vq{width:calc(0.40390625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone--barrel.svelte-1tce1vq{width:calc(0.25703125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-rpg__target-zone--barrel.svelte-1tce1vq{width:calc(0.33046875 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-rpg__target-zone--barrel.svelte-1tce1vq{width:calc(0.40390625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-rpg__target-zone--barrel.svelte-1tce1vq{height:calc(0.2213541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone--barrel.svelte-1tce1vq{height:calc(0.2213541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-rpg__target-zone--barrel.svelte-1tce1vq{height:calc(0.1704427083 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-rpg__target-zone--barrel.svelte-1tce1vq{height:calc(0.2434895833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone--barrel.svelte-1tce1vq{height:calc(0.1549479167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-rpg__target-zone--barrel.svelte-1tce1vq{height:calc(0.19921875 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-rpg__target-zone--barrel.svelte-1tce1vq{height:calc(0.2434895833 * 100vw + 0px)}}.blueprint-weapon-rpg__target-zone--sight.svelte-1tce1vq{top:calc(-0.0234375 * 100vw + 0px);left:calc(0.2932291667 * 100vw + 0px);width:calc(0.1203125 * 100vw + 0px);height:calc(0.128125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-rpg__target-zone--sight.svelte-1tce1vq{top:calc(-0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone--sight.svelte-1tce1vq{top:calc(-0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-rpg__target-zone--sight.svelte-1tce1vq{top:calc(-0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-rpg__target-zone--sight.svelte-1tce1vq{top:calc(-0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone--sight.svelte-1tce1vq{top:calc(-0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-rpg__target-zone--sight.svelte-1tce1vq{top:calc(-0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-rpg__target-zone--sight.svelte-1tce1vq{top:calc(-0.02578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-rpg__target-zone--sight.svelte-1tce1vq{left:calc(0.2932291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone--sight.svelte-1tce1vq{left:calc(0.2932291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-rpg__target-zone--sight.svelte-1tce1vq{left:calc(0.2257864583 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-rpg__target-zone--sight.svelte-1tce1vq{left:calc(0.3225520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone--sight.svelte-1tce1vq{left:calc(0.2052604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-rpg__target-zone--sight.svelte-1tce1vq{left:calc(0.26390625 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-rpg__target-zone--sight.svelte-1tce1vq{left:calc(0.3225520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-rpg__target-zone--sight.svelte-1tce1vq{width:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone--sight.svelte-1tce1vq{width:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-rpg__target-zone--sight.svelte-1tce1vq{width:calc(0.092640625 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-rpg__target-zone--sight.svelte-1tce1vq{width:calc(0.13234375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone--sight.svelte-1tce1vq{width:calc(0.08421875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-rpg__target-zone--sight.svelte-1tce1vq{width:calc(0.10828125 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-rpg__target-zone--sight.svelte-1tce1vq{width:calc(0.13234375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-rpg__target-zone--sight.svelte-1tce1vq{height:calc(0.128125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone--sight.svelte-1tce1vq{height:calc(0.128125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-rpg__target-zone--sight.svelte-1tce1vq{height:calc(0.09865625 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-rpg__target-zone--sight.svelte-1tce1vq{height:calc(0.1409375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone--sight.svelte-1tce1vq{height:calc(0.0896875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-rpg__target-zone--sight.svelte-1tce1vq{height:calc(0.1153125 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-rpg__target-zone--sight.svelte-1tce1vq{height:calc(0.1409375 * 100vw + 0px)}}.blueprint-weapon-rpg__target-zone--missile.svelte-1tce1vq{top:calc(0.0208333333 * 100vw + 0px);right:calc(-0.0078125 * 100vw + 0px);width:calc(0.28125 * 100vw + 0px);height:calc(0.1432291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-rpg__target-zone--missile.svelte-1tce1vq{top:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone--missile.svelte-1tce1vq{top:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-rpg__target-zone--missile.svelte-1tce1vq{top:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-rpg__target-zone--missile.svelte-1tce1vq{top:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone--missile.svelte-1tce1vq{top:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-rpg__target-zone--missile.svelte-1tce1vq{top:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-rpg__target-zone--missile.svelte-1tce1vq{top:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-rpg__target-zone--missile.svelte-1tce1vq{right:calc(-0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone--missile.svelte-1tce1vq{right:calc(-0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-rpg__target-zone--missile.svelte-1tce1vq{right:calc(-0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-rpg__target-zone--missile.svelte-1tce1vq{right:calc(-0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone--missile.svelte-1tce1vq{right:calc(-0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-rpg__target-zone--missile.svelte-1tce1vq{right:calc(-0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-rpg__target-zone--missile.svelte-1tce1vq{right:calc(-0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-rpg__target-zone--missile.svelte-1tce1vq{width:calc(0.28125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone--missile.svelte-1tce1vq{width:calc(0.28125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-rpg__target-zone--missile.svelte-1tce1vq{width:calc(0.2165625 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-rpg__target-zone--missile.svelte-1tce1vq{width:calc(0.309375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone--missile.svelte-1tce1vq{width:calc(0.196875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-rpg__target-zone--missile.svelte-1tce1vq{width:calc(0.253125 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-rpg__target-zone--missile.svelte-1tce1vq{width:calc(0.309375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-rpg__target-zone--missile.svelte-1tce1vq{height:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone--missile.svelte-1tce1vq{height:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-rpg__target-zone--missile.svelte-1tce1vq{height:calc(0.1102864583 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-rpg__target-zone--missile.svelte-1tce1vq{height:calc(0.1575520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone--missile.svelte-1tce1vq{height:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-rpg__target-zone--missile.svelte-1tce1vq{height:calc(0.12890625 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-rpg__target-zone--missile.svelte-1tce1vq{height:calc(0.1575520833 * 100vw + 0px)}}.blueprint-weapon-rpg__target-zone-icon.svelte-1tce1vq{position:absolute;color:#FFDB6C;animation-name:svelte-1tce1vq-pulse;animation-duration:0.7s;animation-timing-function:linear;animation-iteration-count:infinite;animation-direction:alternate;top:calc(0.0078125 * 100vw + 0px);right:calc(0.0078125 * 100vw + 0px);font-size:calc(0.0229166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-rpg__target-zone-icon.svelte-1tce1vq{top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone-icon.svelte-1tce1vq{top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-rpg__target-zone-icon.svelte-1tce1vq{top:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-rpg__target-zone-icon.svelte-1tce1vq{top:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone-icon.svelte-1tce1vq{top:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-rpg__target-zone-icon.svelte-1tce1vq{top:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-rpg__target-zone-icon.svelte-1tce1vq{top:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-rpg__target-zone-icon.svelte-1tce1vq{right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone-icon.svelte-1tce1vq{right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-rpg__target-zone-icon.svelte-1tce1vq{right:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-rpg__target-zone-icon.svelte-1tce1vq{right:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone-icon.svelte-1tce1vq{right:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-rpg__target-zone-icon.svelte-1tce1vq{right:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-rpg__target-zone-icon.svelte-1tce1vq{right:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-rpg__target-zone-icon.svelte-1tce1vq{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone-icon.svelte-1tce1vq{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-rpg__target-zone-icon.svelte-1tce1vq{font-size:calc(0.0176458333 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-rpg__target-zone-icon.svelte-1tce1vq{font-size:calc(0.0252083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone-icon.svelte-1tce1vq{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-rpg__target-zone-icon.svelte-1tce1vq{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-rpg__target-zone-icon.svelte-1tce1vq{font-size:calc(0.0252083333 * 100vw + 0px)}}.blueprint-weapon-rpg__target-zone-border.svelte-1tce1vq{stroke:#FFDB6C;stroke-width:calc(0.0015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-rpg__target-zone-border.svelte-1tce1vq{stroke-width:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone-border.svelte-1tce1vq{stroke-width:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-rpg__target-zone-border.svelte-1tce1vq{stroke-width:calc(0.001203125 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-rpg__target-zone-border.svelte-1tce1vq{stroke-width:calc(0.00171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-rpg__target-zone-border.svelte-1tce1vq{stroke-width:calc(0.00109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-rpg__target-zone-border.svelte-1tce1vq{stroke-width:calc(0.00140625 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-rpg__target-zone-border.svelte-1tce1vq{stroke-width:calc(0.00171875 * 100vw + 0px)}}");
}

// (1010:4) {#if currentZoneIndex >= 0}
function rpg_index_svelte_create_if_block(ctx) {
	let div;
	let i;
	let t;
	let svg;
	let rect;
	let rect_viewBox_value;
	let svg_viewBox_value;
	let div_class_value;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			i = internal_element("i");
			t = space();
			svg = svg_element("svg");
			rect = svg_element("rect");
			attr(i, "class", "blueprint-weapon-rpg__target-zone-icon icon-click svelte-1tce1vq");
			attr(rect, "class", "blueprint-weapon-rpg__target-zone-border svelte-1tce1vq");
			attr(rect, "x", "0");
			attr(rect, "y", "0");
			attr(rect, "width", /*zoneWidth*/ ctx[1]);
			attr(rect, "height", /*zoneHeight*/ ctx[2]);
			attr(rect, "viewBox", rect_viewBox_value = "0 0 " + /*zoneWidth*/ ctx[1] + " " + /*zoneHeight*/ ctx[2]);
			attr(rect, "stroke-dasharray", "16 16");
			attr(svg, "class", "blueprint-weapon-rpg__target-zone-svg");
			attr(svg, "width", /*zoneWidth*/ ctx[1]);
			attr(svg, "height", /*zoneHeight*/ ctx[2]);
			attr(svg, "viewBox", svg_viewBox_value = "0 0 " + /*zoneWidth*/ ctx[1] + " " + /*zoneHeight*/ ctx[2]);
			attr(svg, "fill", "none");
			attr(svg, "xmlns", "http://www.w3.org/2000/svg");
			attr(div, "class", div_class_value = "blueprint-weapon-rpg__target-zone blueprint-weapon-rpg__target-zone--" + /*zonesOrder*/ ctx[5][/*currentZoneIndex*/ ctx[4]] + " svelte-1tce1vq");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, i);
			append(div, t);
			append(div, svg);
			append(svg, rect);
			/*div_binding*/ ctx[7](div);

			if (!mounted) {
				dispose = listen(div, "click", /*fillZone*/ ctx[6]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*zoneWidth*/ 2) {
				attr(rect, "width", /*zoneWidth*/ ctx[1]);
			}

			if (dirty & /*zoneHeight*/ 4) {
				attr(rect, "height", /*zoneHeight*/ ctx[2]);
			}

			if (dirty & /*zoneWidth, zoneHeight*/ 6 && rect_viewBox_value !== (rect_viewBox_value = "0 0 " + /*zoneWidth*/ ctx[1] + " " + /*zoneHeight*/ ctx[2])) {
				attr(rect, "viewBox", rect_viewBox_value);
			}

			if (dirty & /*zoneWidth*/ 2) {
				attr(svg, "width", /*zoneWidth*/ ctx[1]);
			}

			if (dirty & /*zoneHeight*/ 4) {
				attr(svg, "height", /*zoneHeight*/ ctx[2]);
			}

			if (dirty & /*zoneWidth, zoneHeight*/ 6 && svg_viewBox_value !== (svg_viewBox_value = "0 0 " + /*zoneWidth*/ ctx[1] + " " + /*zoneHeight*/ ctx[2])) {
				attr(svg, "viewBox", svg_viewBox_value);
			}

			if (dirty & /*currentZoneIndex*/ 16 && div_class_value !== (div_class_value = "blueprint-weapon-rpg__target-zone blueprint-weapon-rpg__target-zone--" + /*zonesOrder*/ ctx[5][/*currentZoneIndex*/ ctx[4]] + " svelte-1tce1vq")) {
				attr(div, "class", div_class_value);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			/*div_binding*/ ctx[7](null);
			mounted = false;
			dispose();
		}
	};
}

function rpg_index_svelte_create_fragment(ctx) {
	let div;
	let svg;
	let path0;
	let path1;
	let path2;
	let path3;
	let path4;
	let path5;
	let path6;
	let path7;
	let path8;
	let path9;
	let path10;
	let path11;
	let path12;
	let path13;
	let path14;
	let path14_fill_opacity_value;
	let path15;
	let path15_fill_opacity_value;
	let path16;
	let path16_fill_opacity_value;
	let path17;
	let path17_fill_opacity_value;
	let t;
	let if_block = /*currentZoneIndex*/ ctx[4] >= 0 && rpg_index_svelte_create_if_block(ctx);

	return {
		c() {
			div = internal_element("div");
			svg = svg_element("svg");
			path0 = svg_element("path");
			path1 = svg_element("path");
			path2 = svg_element("path");
			path3 = svg_element("path");
			path4 = svg_element("path");
			path5 = svg_element("path");
			path6 = svg_element("path");
			path7 = svg_element("path");
			path8 = svg_element("path");
			path9 = svg_element("path");
			path10 = svg_element("path");
			path11 = svg_element("path");
			path12 = svg_element("path");
			path13 = svg_element("path");
			path14 = svg_element("path");
			path15 = svg_element("path");
			path16 = svg_element("path");
			path17 = svg_element("path");
			t = space();
			if (if_block) if_block.c();
			attr(path0, "d", "M910.361 306.93C910.368 305.526 910.155 304.047 911.237 302.862C911.572 302.908 911.907 302.953 912.362 303.015C913.383 304.982 912.979 307.167 912.981 309.27C913.009 334.698 912.999 360.127 912.997 385.555C912.997 388.778 913.017 392.002 912.959 395.224C912.943 396.081 912.675 396.934 912.537 397.699C911.967 397.815 911.642 397.88 911.119 397.986C910.895 397.372 910.501 396.748 910.462 396.101C910.343 394.137 910.33 392.165 910.329 390.196C910.323 369.245 910.326 348.294 910.329 327.342C910.331 320.539 910.331 313.734 910.361 306.93Z");
			attr(path0, "fill", "white");
			attr(path1, "d", "M0.00964355 98.1448C0.00964355 96.8898 0.0266113 95.6338 0.034668 94.3788C0.0526123 91.6578 1.31958 89.5808 3.40063 87.9478C5.75769 86.0968 9.00159 86.0468 11.3616 87.9238C12.3286 88.6928 13.1006 89.7078 13.6586 90.2938C14.8895 92.6968 14.8326 94.8578 14.8326 97.0128C14.8317 105.084 14.8347 113.154 14.8367 121.225C14.8386 126.605 14.8246 131.986 14.8556 137.366C14.8625 138.595 14.7177 139.91 15.8966 140.911C17.7046 141.666 19.6976 141.427 21.6506 141.434C27.5696 141.456 33.4906 141.349 39.4076 141.435C42.8086 141.484 46.2346 141.595 49.5986 142.051C57.7676 143.156 65.9056 144.484 74.0586 145.713C84.5146 147.291 94.9716 148.864 105.43 150.433C116.775 152.134 128.109 153.911 139.472 155.484C143.895 156.097 148.266 157.277 152.663 157.102C154.426 156.324 156.058 155.602 158.066 154.716C159.706 154.716 161.674 154.722 163.643 154.714C167.23 154.699 170.817 154.693 174.403 154.637C174.912 154.629 175.417 154.361 175.877 154.228C176.393 152.848 176.879 151.544 177.301 150.418C180.035 148.899 182.917 150.232 185.313 149.2C186.072 147.884 186.755 146.699 187.423 145.54C188.919 145.45 190.164 145.32 191.409 145.31C203.782 145.217 216.156 145.126 228.529 145.086C230.471 145.08 232.485 144.697 234.467 145.786C235.016 146.943 235.612 148.201 236.304 149.661C238.321 149.719 240.275 149.824 242.228 149.825C261.6 149.838 280.972 149.85 300.344 149.828C308.662 149.819 316.779 150.952 324.643 153.749C327.513 154.77 330.417 155.698 333.321 156.621C333.81 156.776 334.375 156.69 334.854 156.713C335.683 155.718 336.463 154.782 337.139 153.972C344.038 153.972 350.665 153.958 357.292 154.001C357.772 154.004 358.249 154.42 358.93 154.738C359.362 156.11 359.824 157.572 360.338 159.204C361.625 159.204 362.686 159.247 363.743 159.197C374.67 158.682 385.595 158.132 396.523 157.632C407.628 157.124 418.73 156.49 429.841 156.233C439.008 156.02 448.113 155.418 457.111 153.648C461.681 152.749 466.176 151.462 470.752 150.607C482.412 148.428 494.18 147.309 506.055 147.467C508.745 147.503 511.437 147.624 514.124 147.552C529.901 147.126 545.676 146.656 561.452 146.19C561.98 146.174 562.505 146.036 563.511 145.881C563.907 145.299 564.509 144.414 564.874 143.878C569.779 143.267 581.575 143.249 586.3 143.78C587.377 144.389 588.454 144.999 589.5 145.59C604.139 145.59 618.667 145.59 633.194 145.588C633.552 145.588 633.924 145.617 634.266 145.536C635.098 145.337 635.916 145.082 636.813 144.828C636.961 142.652 637.094 140.703 637.231 138.676C637.916 137.287 638.624 135.849 639.221 134.637C639.378 132.77 639.512 131.169 639.63 129.769C641.56 126.952 641.575 126.965 643.183 126.399C643.855 126.163 644.596 126.073 645.216 125.746C645.89 125.39 646.227 124.791 645.361 123.859C643.789 123.815 642.011 123.732 640.233 123.725C637.897 123.716 636.05 122.9 634.676 120.237C634.635 118.604 634.587 116.464 634.525 114.325C634.432 111.109 634.344 107.892 634.203 104.678C634.191 104.397 633.793 104.133 633.508 103.78C633.063 103.758 632.55 103.732 631.845 103.696C631.316 104.322 630.744 104.985 630.187 105.661C626.571 110.048 622.682 109.408 619.559 105.172C618.869 104.236 618.585 102.813 616.796 102.658C615.023 105.135 613.493 108.194 609.561 108.554C607.885 108.469 606.339 107.625 605.093 106.247C604.256 105.322 603.52 104.308 602.738 103.333C602.651 103.31 602.564 103.287 602.477 103.263C602.554 103.289 602.631 103.315 602.708 103.341C603.119 106.237 604.588 108.719 605.81 111.299C606.492 112.739 607.127 114.2 607.844 115.788C606.939 116.854 606.168 117.762 605.482 118.569C599.542 119.313 594.543 117.715 590.207 114.134C586.284 110.893 585.43 107.392 587.148 102.6C587.689 101.092 588.352 99.6288 588.999 98.0468C588.555 96.8728 588.127 95.7048 587.672 94.5478C585.877 89.9918 585.87 85.3868 587.724 80.9078C588.882 78.1088 590.461 75.4778 591.935 72.8178C592.709 71.4218 593.663 70.1248 594.445 68.9218C593.917 62.1308 591.974 56.0238 589.17 50.1578C588.321 48.3808 587.431 46.6218 586.64 44.8198C586.44 44.3658 586.548 43.7768 586.498 42.9928C587.133 42.3328 587.857 41.5818 588.67 40.7368C597.102 39.8558 603.84 42.3298 608.038 50.0278C612.435 50.9568 612.435 50.9568 617.477 56.5638C618.339 55.3888 619.134 54.2108 620.025 53.1118C621.869 50.8378 624.12 49.6558 627.694 50.9088C628.813 52.0098 630.327 53.4978 631.839 54.9848C632.944 55.4178 633.933 55.3348 634.858 54.1378C634.905 52.9078 635.004 51.4848 635.005 50.0618C635.009 44.5018 634.987 38.9428 634.959 33.3828C634.956 32.8488 634.894 32.3028 634.774 31.7828C634.204 29.3118 632.769 27.5838 630.262 26.9698C629.054 26.6748 627.785 26.5288 626.54 26.5088C623.312 26.4558 620.082 26.4608 616.856 26.5488C615.83 26.5768 614.814 26.9388 613.919 27.1228C613.443 28.5578 613.164 29.8018 612.631 30.9248C611.412 33.4928 609.427 35.2358 606.579 35.7718C601.06 36.8098 595.55 36.8038 590.37 35.6608C586.186 32.1088 585.725 31.3558 585.667 26.8158C585.596 21.2568 585.645 15.6968 585.686 10.1368C585.694 9.06977 585.76 7.96376 586.048 6.94676C586.96 3.72076 589.147 1.42976 592.427 1.18976C596.875 0.863759 601.393 0.980762 605.841 1.36576C609.042 1.64276 611.439 3.61976 612.771 6.66576C613.187 7.61677 613.591 8.57176 614.036 9.61076C616.217 9.65376 618.179 9.71776 620.142 9.72676C624.985 9.74876 629.834 9.59076 634.67 9.78676C643.683 10.1528 650.066 16.7348 650.323 25.6898C650.354 26.7648 650.334 27.8418 650.334 28.9178C650.335 36.0918 650.319 43.2658 650.347 50.4398C650.352 51.8428 650.071 53.3238 651.033 54.5798C651.181 54.6818 651.317 54.8508 651.477 54.8778C659.114 56.1658 666.853 54.8328 674.549 55.7348C675.331 56.3878 676.112 57.0398 676.827 57.6358C678.173 57.2138 678.686 56.2678 678.806 55.1798C678.962 53.7588 678.927 52.3178 678.975 50.8848C679.036 49.1048 679.099 47.3248 679.135 46.2958C680.766 42.6508 683.403 41.6308 686.223 40.7868C697.898 37.2928 709.559 33.7518 721.226 30.2308C722.759 29.7678 724.382 29.5208 725.918 28.0998C726.47 22.5318 725.651 16.6008 726.389 10.8388C727.184 10.2958 727.756 9.90577 728.495 9.40077C731.146 10.6378 733.904 11.0178 736.559 10.2228C737.273 8.90176 737.856 7.82376 738.376 6.86276C743.05 6.13776 746.797 6.16676 750.936 6.94976C751.578 8.07176 752.264 9.27076 753.041 10.6298C755.143 10.6298 757.106 10.6198 759.069 10.6338C760.423 10.6428 761.492 11.1858 762.428 12.8788C762.49 14.5288 762.551 16.6708 762.656 18.8108C762.769 21.1018 762.293 23.4378 763.036 25.9418C765.723 26.2468 768.334 26.5438 770.554 26.7958C772.181 28.1878 771.964 29.6898 771.972 31.0938C772.002 36.4738 771.993 41.8548 771.988 47.2348C771.986 48.8478 771.976 50.4628 771.915 52.0748C771.873 53.2038 771.455 54.1628 770.015 54.8918C768.093 55.0348 765.796 55.2058 763.343 55.3878C763.074 56.3428 762.858 57.1838 762.597 58.0108C762.334 58.8448 762.028 59.6658 761.693 60.6288C759.779 61.1108 757.944 61.5728 756.35 61.9748C755.328 64.3188 757.088 65.6438 757.504 67.2488C757.591 70.6998 757.591 70.6998 756.571 72.9318C751.461 74.1758 741.053 74.2228 735.183 73.0028C733.33 71.3118 734.209 69.0828 734.125 67.4078C734.792 65.7258 735.31 64.4188 735.8 63.1818C735.415 62.5508 735.146 62.1078 734.786 61.5178C733.775 61.6008 732.747 61.6848 731.743 61.7668C731.529 62.4968 731.256 63.0018 731.252 63.5088C731.206 69.6058 731.167 75.7028 731.217 81.7998C731.225 82.8358 731.537 83.9158 731.919 84.8938C732.746 87.0058 732.872 89.1758 731.991 91.1828C731.23 92.9198 731.235 94.6438 731.157 96.4268C731.071 98.3698 731.511 100.372 730.49 102.504C729.601 103.003 728.538 103.6 727.24 104.329C727.439 106.339 727.648 108.457 727.833 110.322C728.983 112.042 729.972 113.52 730.757 114.695C731.813 119.984 730.366 125.069 731.831 130.174C733.346 130.302 734.752 130.51 736.159 130.523C740.822 130.566 745.486 130.531 750.15 130.541C751.943 130.545 753.738 130.553 755.529 130.628C756.835 130.683 757.985 131.126 758.898 132.731C759.185 137.127 759.468 141.926 759.837 146.719C759.9 147.539 760.334 148.331 760.542 148.967C761.209 149.142 761.549 149.294 761.896 149.313C769.614 149.722 777.214 150.935 784.777 152.49C792.507 154.08 800.303 155.426 808.183 155.808C818.39 156.302 828.616 156.521 838.836 156.594C853.541 156.699 868.248 156.549 882.954 156.537C909.676 156.515 936.399 156.516 963.121 156.501C963.657 156.5 964.192 156.43 964.838 156.384C965.676 155.878 966.587 155.327 967.67 154.673H1015.38C1016.47 155.298 1017.55 155.912 1018.55 156.484C1036.05 156.83 1053.44 156.198 1070.71 156.729C1071.58 157.711 1072.28 158.501 1072.95 159.262C1075.49 159.749 1096.26 161.27 1099.25 161.146C1099.92 161.118 1100.58 160.868 1101.45 160.678C1101.58 159.66 1101.75 158.801 1101.78 157.938C1101.83 155.787 1101.87 153.633 1101.82 151.482C1101.66 145.124 1108.62 138.36 1114.58 138.499C1116.37 138.541 1118.16 138.461 1119.96 138.461C1136.28 138.457 1152.6 138.456 1168.93 138.462C1171.61 138.463 1174.3 138.564 1176.85 137.306C1177.76 135.656 1177.39 133.824 1177.39 132.064C1177.42 106.776 1177.43 81.4868 1177.38 56.1988C1177.38 53.7058 1177.06 51.1968 1176.7 48.7228C1175.73 41.9828 1174.64 35.2588 1173.62 28.5238C1173.52 27.8428 1173.61 27.1328 1173.61 26.2628C1176.7 24.3568 1179.7 24.7828 1182.9 25.8868C1183.25 27.0118 1183.69 27.9958 1183.88 29.0258C1184.72 33.7888 1185.58 38.5528 1186.28 43.3388C1186.95 47.9438 1187.36 52.5648 1187.34 57.2488C1187.25 82.1778 1187.29 107.108 1187.3 132.038C1187.31 134.164 1187.05 136.321 1187.65 138.425C1188.96 139.176 1190.26 139.803 1191.43 140.619C1195.49 143.455 1197.9 147.255 1197.96 152.337C1197.98 153.592 1197.94 154.849 1197.99 156.103C1198.04 157.321 1197.76 158.615 1198.67 159.66C1199.81 160.419 1201.09 160.189 1202.32 160.197C1206.98 160.227 1211.65 160.183 1216.31 160.232C1217.53 160.245 1218.75 160.496 1219.48 160.581C1220.98 161.492 1220.77 163.366 1222.74 163.332C1223.55 162.785 1224.57 162.099 1225.39 161.549C1227.5 160.975 1229.57 161.718 1231.16 160.84C1233.57 156.712 1233.37 151.861 1236.16 148.331C1239.62 147.972 1242.74 148.356 1245.91 149.175C1257.71 152.217 1269.61 154.901 1281.38 158.029C1289.93 160.299 1298.48 161.956 1307.37 161.296C1308.61 161.204 1310.02 161.091 1311.09 161.577C1313.5 162.681 1315.98 162.505 1318.48 162.52C1322.25 162.543 1326.02 162.451 1329.78 162.554C1331.91 162.612 1334.03 162.973 1336.16 163.172C1336.51 163.204 1336.87 163.108 1337.38 163.054C1338.35 162.539 1339.45 161.955 1340.43 161.433C1341.12 161.376 1341.66 161.288 1342.19 161.294C1357.84 161.454 1373.3 159.22 1388.81 157.588C1397.19 156.706 1405.56 155.717 1413.93 154.779C1421.59 153.922 1429.25 153.074 1436.91 152.214C1445.1 151.294 1453.29 150.313 1461.49 149.459C1465.97 148.994 1470.35 148.339 1474.55 146.55C1478.39 144.915 1482.53 144.119 1486.66 144.655C1492.57 145.424 1498.47 145.243 1504.38 145.254C1519.27 145.282 1534.16 145.324 1549.05 145.166C1553.06 145.123 1556.84 145.614 1560.63 146.96C1567.55 149.42 1574.52 151.776 1581.55 153.891C1612.61 163.233 1643.72 172.453 1674.78 181.782C1677.92 182.726 1681.06 183.162 1684.31 183.101C1686.99 183.051 1689.67 183.164 1692.16 183.203C1695.76 185.666 1699.43 187.553 1702.38 190.811C1699.63 194.268 1695.83 195.938 1692.34 198.475C1690.16 198.475 1687.83 198.554 1685.51 198.457C1681.88 198.305 1678.42 198.917 1674.94 199.97C1661.04 204.178 1647.08 208.162 1633.2 212.389C1608.34 219.954 1583.22 226.68 1558.74 235.457C1555.85 236.493 1552.85 236.926 1549.75 236.668C1547.61 236.49 1545.45 236.5 1543.3 236.499C1528.41 236.488 1513.52 236.472 1498.63 236.517C1495.41 236.527 1492.18 236.672 1488.97 236.95C1483.51 237.422 1478.23 236.967 1473.17 234.706C1470.36 233.45 1467.38 232.924 1464.32 232.617C1456.47 231.831 1448.64 230.942 1440.8 230.061C1429.57 228.798 1418.36 227.484 1407.13 226.232C1396.08 224.999 1385.02 223.905 1373.99 222.584C1364.54 221.454 1355.08 220.596 1345.56 220.612C1343.95 220.615 1342.35 220.612 1341.13 220.612C1339.45 219.794 1338.17 219.174 1337.57 218.877C1333.26 219.005 1329.69 219.137 1326.12 219.208C1323.61 219.258 1321.09 219.209 1318.58 219.23C1316.08 219.251 1313.6 219.113 1311.19 220.198C1310.11 220.682 1308.73 220.556 1307.48 220.576C1304.43 220.624 1301.38 220.628 1298.33 220.586C1295.62 220.548 1293.01 220.917 1290.36 221.579C1274.89 225.46 1259.39 229.2 1243.92 233.089C1241.24 233.763 1238.67 233.834 1236.2 233.359C1234.24 231.415 1234.26 228.914 1233.38 226.79C1232.57 224.841 1232.51 222.58 1230.92 220.803C1229.15 220.674 1227.37 220.544 1225.6 220.415C1224.21 220.116 1223.6 218.118 1221.76 218.709C1221.02 219.563 1220.23 220.487 1219.25 221.634C1211.98 221.486 1204.66 222.055 1197.71 221.326C1195.64 221.652 1193.9 222.149 1192.15 222.165C1183.19 222.246 1174.22 222.203 1165.44 222.203C1164.08 221.645 1162.93 221.173 1161.83 220.723H1139.5C1137.61 221.975 1135.35 222.247 1132.97 222.236C1125.62 222.2 1118.26 222.279 1110.91 222.291C1108.4 222.295 1105.87 222.308 1104.04 220.79C1093.42 220.23 1083.29 221.834 1073.31 222.108C1072.24 223.223 1071.39 224.108 1070.43 225.119H1018.67C1017.2 226.001 1016.13 226.639 1015.28 227.15C1009.67 227.583 1004.29 226.891 998.786 227.603C998.467 228.524 998.086 229.327 997.912 230.173C997.153 233.859 996.459 237.558 995.731 241.25C994.379 248.107 993.012 254.96 991.665 261.818C990.916 265.633 989.039 268.826 986.393 271.624C983.355 274.837 979.742 276.953 975.405 278.001C965.477 280.4 955.582 282.939 945.676 285.429C944.112 285.822 942.517 286.141 941.005 286.687C937.388 287.993 934.923 290.368 934.298 294.446C934.997 295.432 935.707 296.435 936.514 297.573C936.514 299.113 936.513 300.724 936.514 302.335C936.533 330.852 936.553 359.368 936.57 387.885C936.57 389.14 936.609 390.4 936.521 391.65C936.445 392.716 936.306 393.795 936.036 394.827C934.504 400.669 928.531 406.87 921.391 407.333C919.782 407.437 918.168 407.519 916.556 407.521C904 407.531 891.444 407.524 878.888 407.508C877.455 407.506 876.019 407.447 874.589 407.354C870.459 407.086 867.073 405.296 864.137 402.415C859.979 398.333 858.636 393.378 859.022 387.711C859.642 378.588 860.194 369.46 860.666 360.328C861.563 342.958 862.379 325.585 863.24 308.213C863.338 306.243 863.521 304.278 863.646 302.309C863.783 300.162 863.799 298.002 864.053 295.87C864.281 293.951 864.76 292.062 865.134 290.125C861.952 282.248 856.437 276.669 848.671 273.277C847.85 272.918 846.993 272.606 846.247 272.126C845.686 271.765 845.276 271.17 844.721 270.599C846.118 267.933 847.424 265.423 849.933 263.597C852.676 264.508 855.362 265.47 858.091 266.293C863.679 267.98 864.174 267.999 866.822 267.077C864.398 265.335 862.023 263.781 859.824 262.007C857.455 260.097 855.301 257.925 852.96 255.978C851.422 254.699 849.597 253.946 847.556 253.789C846.664 253.72 845.782 253.533 844.891 253.435C839.393 252.835 835.108 250.233 831.869 245.616C832.049 244.609 832.231 243.583 832.47 242.237C831.349 240.906 830.107 239.432 828.724 237.79C828.523 233.739 828.822 229.38 826.08 225.215C812.143 225.182 798.119 226.408 784.576 229.449C783.424 230.658 782.603 231.608 781.69 232.46C778.877 235.087 775.66 236.161 771.804 235.147C769.207 234.464 766.514 234.136 763.928 233.418C761.465 232.735 758.997 232.613 756.476 232.617C734.772 232.644 713.068 232.644 691.364 232.654C688.674 232.655 685.982 232.631 683.293 232.693C682.449 232.712 681.61 232.977 680.624 233.155C680.624 234.641 680.575 235.871 680.633 237.096C680.838 241.447 679.395 245.19 676.533 248.423C675.225 249.9 673.889 251.352 672.601 252.847C668.309 257.827 665.434 263.513 663.85 269.909C662.844 273.975 662.852 278.085 662.849 282.203C662.829 311.257 662.85 340.311 662.826 369.366C662.824 371.509 662.69 373.667 662.413 375.792C661.527 382.614 654.239 389.823 646.215 389.767C639.758 389.721 633.3 389.763 626.843 389.748C622.893 389.739 619.531 388.224 616.569 385.688C612.514 382.217 610.452 377.784 610.339 372.489C610.243 368.007 610.313 363.522 610.313 359.038C610.311 332.495 610.266 305.951 610.331 279.407C610.356 269.063 606.917 260.11 600.163 252.362C599.103 251.146 598 249.966 596.929 248.758C594.619 246.15 593.012 243.217 592.61 239.684C592.492 238.641 592.138 237.625 591.844 236.399C590.71 236.31 589.686 236.229 588.89 236.166C587.774 236.942 586.903 237.548 586.239 238.01C577 238.478 569.069 238.355 565.049 237.7C564.246 237.021 563.443 236.342 562.838 235.831C561.974 235.745 561.441 235.662 560.905 235.643C545.132 235.088 529.36 234.539 513.587 233.992C513.05 233.973 512.507 233.952 511.973 234C504.977 234.625 497.991 234.195 491.01 233.769C482.585 233.255 474.217 232.203 466.037 230.102C454.329 227.095 442.438 225.781 430.382 225.542C422.674 225.39 414.965 225.107 407.263 224.755C392.933 224.1 378.606 223.347 364.277 222.653C363.211 222.602 362.135 222.663 361.07 222.753C360.755 222.779 360.465 223.084 360.13 223.279C359.71 224.569 359.281 225.885 358.811 227.331C357.66 227.562 356.638 227.889 355.6 227.957C348.72 228.408 340.485 228.209 336.866 227.563C336.044 226.703 335.217 225.838 334.325 224.905C331.622 225.756 329.028 226.453 326.52 227.383C317.66 230.668 308.534 231.909 299.087 231.816C280.076 231.629 261.06 231.752 242.047 231.782C240.097 231.785 238.1 231.446 236.222 232.215C235.513 233.652 234.823 235.052 234.116 236.486C233.035 236.602 232.156 236.785 231.278 236.779C217.472 236.676 203.668 236.562 189.863 236.398C188.836 236.386 187.814 235.977 186.959 235.79C186.264 234.492 185.695 233.431 185.112 232.344C183.316 232.251 181.701 232.247 180.11 232.058C179.09 231.937 178.104 231.542 177.118 231.274C176.688 229.909 176.322 228.751 175.9 227.411C174.605 227.317 173.374 227.162 172.142 227.15C168.555 227.113 164.967 227.098 161.38 227.142C158.996 227.171 156.754 226.747 154.663 225.562C153.892 225.125 153.062 224.793 152.289 224.427C144.919 225.489 137.642 226.5 130.379 227.591C117.263 229.561 104.158 231.606 91.0406 233.569C77.7456 235.559 64.4326 237.435 51.1466 239.485C47.9386 239.98 44.7526 240.285 41.5166 240.275C33.9836 240.252 26.4496 240.263 18.9166 240.286C17.6896 240.29 16.3856 240.096 15.2427 241.226C14.6207 242.989 14.8447 244.975 14.8417 246.93C14.8226 259.843 14.7786 272.757 14.8556 285.669C14.8806 289.817 13.5836 293.028 9.68567 294.845C7.04468 295.55 4.72168 295.128 2.69067 293.214C0.722656 291.36 -0.100342 289.111 0.00964355 286.454C0.0466309 285.559 0.00964355 284.661 0.00964355 283.764C0.00964355 221.896 0.00866699 160.02 0.00964355 98.1448ZM593.978 113.67C597.319 115.376 600.82 116.608 604.518 115.917C605.46 114.886 604.963 114.055 604.616 113.286C602.79 109.238 600.924 105.208 598.675 100.31C598.481 100.132 597.461 99.3878 596.699 98.4388C596.1 97.6918 595.819 96.6908 595.241 95.4748C592.642 98.2388 590.866 101.05 589.945 104.326C588.747 108.586 590.056 111.667 593.978 113.67ZM599.353 91.2248C597.729 93.3368 597.712 93.7618 599.016 97.1568C600.06 95.1428 599.833 93.3368 599.353 91.2248ZM593.561 55.3438C595.529 60.3788 596.275 65.6948 597.239 70.9598C597.395 71.8098 597.261 72.7128 597.261 73.4348C595.924 74.6788 595.374 73.0078 594.451 73.0008C589.062 78.7178 586.731 89.6808 590.478 94.7868C590.876 94.4788 591.477 94.2538 591.632 93.8558C592.538 91.5358 593.348 89.1778 594.172 86.8258C594.413 86.1378 594.691 85.5188 595.831 85.3548C596.081 85.8298 596.381 86.3988 596.695 86.9968C596.978 86.9338 597.39 86.9698 597.536 86.7908C600.264 83.4468 602.457 79.8108 603.818 75.6738C605.118 71.7238 604.865 67.9058 603.077 64.2158C600.863 59.6448 597.633 55.8848 593.528 52.8888C593.425 52.8128 593.256 52.8258 593.101 52.8208C593.238 53.6688 593.256 54.5628 593.561 55.3438ZM601.477 45.4728C598.451 43.7868 595.227 42.8068 591.729 42.9688C591.231 42.9918 590.745 43.2728 590.167 43.4628C590.222 44.0298 590.119 44.6298 590.354 45.0338C590.799 45.7978 591.379 46.5068 592.006 47.1368C594.911 50.0548 597.845 52.9428 600.788 55.8218C601.026 56.0548 601.411 56.1368 602.224 56.5278C603.454 54.7138 604.546 53.1048 605.489 51.7148C605.39 48.5658 603.794 46.7628 601.477 45.4728ZM616.206 77.5418C616.196 73.0768 615.892 68.5958 616.181 64.1518C616.459 59.8888 614.977 56.5078 612.411 53.4888C610.612 52.4628 608.906 52.5168 607.104 53.2918C605.525 54.7238 604.434 56.5288 603.626 58.7928C604.213 59.9448 604.835 61.2098 605.497 62.4538C608.287 67.6958 608.429 73.0428 606.053 78.4438C605.121 80.5618 604.005 82.5978 602.895 84.8278V99.4628C603.776 100.916 604.683 102.662 605.823 104.238C607.926 107.145 611.401 107.114 613.399 104.189C614.4 102.724 615.186 101.113 616.211 99.3218C616.211 91.8238 616.223 84.6828 616.206 77.5418ZM629.892 60.8628C629.892 59.9698 629.869 59.0768 629.85 58.1828C629.81 56.3058 629.118 54.7148 627.547 53.2238C625.774 52.3108 624.231 52.3688 622.174 53.3618C620.994 55.1768 619.55 57.3978 618.246 59.4038V99.0318C619.282 101.588 620.862 103.916 622.772 106.139C624.108 106.228 625.325 106.309 626.35 106.378C628.82 104.998 629.795 103.022 629.86 100.522C629.883 99.6288 629.896 98.7358 629.896 97.8428C629.898 85.5168 629.897 73.1898 629.892 60.8628ZM634.137 58.5868C634.127 58.4478 633.944 58.3028 633.812 58.1988C633.675 58.0898 633.502 58.0258 633.344 57.9418C633.048 58.0978 632.751 58.2538 632.456 58.4098C631.893 63.0508 631.898 95.9868 632.51 100.87C633.233 100.741 633.56 100.682 634.101 100.586C634.913 98.4348 634.515 96.0868 634.481 93.8288C634.31 82.0828 635.011 70.3258 634.137 58.5868ZM609.045 4.71576C604.237 3.25976 598.888 3.54576 593.56 3.57276C592.076 3.57976 590.728 3.91276 589.404 5.11976C589.232 5.54176 588.748 6.18976 588.732 6.84876C588.576 13.2768 588.453 19.7068 588.431 26.1368C588.426 27.5268 588.856 28.9178 589.156 30.7298C594.058 32.9568 598.705 31.5968 603.767 31.6418C604.809 31.9868 606.323 32.4878 607.964 33.0318C609.899 32.6008 610.626 31.0228 611.04 29.2118C611.158 28.6958 611.166 28.1458 611.167 27.6118C611.177 21.7108 611.169 15.8088 611.179 9.90776C611.183 8.05876 610.835 6.35276 609.045 4.71576ZM763.917 52.0728C765.456 53.0918 767.008 52.8188 768.679 52.4148C768.872 51.9928 769.267 51.5268 769.27 51.0598C769.312 44.1048 769.308 37.1498 769.289 30.1948C769.288 29.8758 769.041 29.5588 768.8 28.9788C767.254 28.1848 765.618 28.2808 764.105 29.0808C763.852 29.6318 763.584 29.9448 763.582 30.2598C763.535 37.0368 763.509 43.8138 763.514 50.5908C763.514 51.0938 763.781 51.5958 763.917 52.0728ZM739.609 64.6408C743.312 64.7408 747.015 64.8138 750.718 64.8418C751.396 64.8468 752.075 64.6168 752.973 64.4568C753.03 63.7128 753.08 63.0818 753.119 62.5758C751.609 61.3768 744.141 61.2698 738.744 62.2768C738.67 62.8448 738.587 63.4808 738.513 64.0418C738.999 64.3178 739.3 64.6328 739.609 64.6408ZM748.256 54.5258C747.31 53.6948 746.318 53.8708 744.787 54.5728V57.1788C745.697 58.2938 746.732 58.1278 747.786 57.8388C748.992 56.8668 748.877 55.7268 748.256 54.5258ZM755.296 41.2418C755.126 36.6838 752.063 33.0658 747.619 32.2108C745.47 31.7978 743.376 31.9498 741.394 32.9738C739.112 34.1528 738.242 35.2008 736.392 39.0548V44.1428C737.467 47.1468 739.259 49.2378 742.022 50.4798C743.888 51.3188 745.784 51.4058 747.756 50.9478C752.382 49.8728 755.47 45.9188 755.296 41.2418ZM731.969 42.9058C731.761 45.2188 731.862 47.5648 731.906 49.8948C731.953 52.3788 731.66 54.8868 732.246 57.5798C734.859 58.5798 737.404 58.4118 740.195 57.7188C740.284 56.1758 740.365 54.7868 740.429 53.6838C740.095 53.0758 739.985 52.7058 739.744 52.4678C738.725 51.4608 737.586 50.5668 736.638 49.4998C732.478 44.8188 732.652 37.9428 737.051 33.4208C740.59 29.7828 747.105 28.0668 752.698 32.3028C758.492 36.6898 759.406 43.6258 754.937 49.3288C754.276 50.1718 753.514 50.9348 752.764 51.7728C752.46 53.7208 752.333 55.6348 752.88 57.7488C755.062 58.3918 757.077 58.4848 759.121 57.6648C759.304 56.9788 759.558 56.4738 759.557 55.9678C759.545 42.1638 759.51 28.3598 759.455 14.5548C759.454 14.2408 759.179 13.9278 758.964 13.4718C758.588 13.3258 758.108 12.9778 757.626 12.9758C749.738 12.9378 741.849 12.9348 733.961 12.9608C733.473 12.9618 732.988 13.2758 732.261 13.5278C731.639 15.9528 731.974 18.4588 731.913 20.9238C731.856 23.2538 731.9 25.5858 731.905 27.9168C731.911 30.4268 731.695 32.9658 731.999 35.4398C732.306 37.9608 732.194 40.4048 731.969 42.9058ZM1693.83 193.993C1696.01 193.36 1696.01 193.36 1697.42 190.927C1697.08 189.207 1695.94 188.249 1694.36 187.696C1693.13 189.796 1693.13 189.796 1693.83 193.993ZM1681.21 195.435C1683.32 196.184 1685.3 195.87 1687.26 195.891C1688.3 195.902 1689.33 195.713 1690.25 195.625C1691.51 191.648 1691.52 190.732 1690.45 186.633C1686.72 185.555 1686.21 185.538 1681.35 186.382C1680.15 189.352 1680.3 192.406 1681.21 195.435ZM1341.52 217.271C1342.45 218.469 1343.59 218.271 1344.64 218.328C1350.72 218.66 1356.81 218.892 1362.89 219.322C1367.89 219.677 1372.88 220.205 1377.87 220.753C1390.34 222.124 1402.8 223.538 1415.26 224.959C1426.48 226.238 1437.69 227.565 1448.91 228.837C1453.54 229.362 1458.18 229.779 1462.81 230.282C1466.74 230.708 1470.59 231.367 1474.28 232.933C1478.82 234.859 1483.6 235.336 1488.52 234.797C1491.18 234.505 1493.88 234.37 1496.56 234.364C1512.88 234.327 1529.2 234.149 1545.51 234.447C1552.09 234.567 1558.22 233.578 1564.4 231.363C1582.79 224.775 1601.66 219.695 1620.35 214.048C1638.02 208.711 1655.68 203.381 1673.35 198.065C1675.06 197.552 1676.76 197.069 1678.37 195.978C1678.9 192.555 1678.6 189.197 1678.53 186.133C1676.76 184.328 1674.71 184.114 1672.86 183.549C1659.33 179.408 1645.78 175.329 1632.22 171.262C1615.75 166.32 1599.25 161.477 1582.8 156.455C1575.27 154.154 1567.8 151.624 1560.36 149.008C1557.08 147.853 1553.8 147.377 1550.36 147.392C1531.71 147.474 1513.06 147.496 1494.42 147.502C1492.81 147.503 1491.19 147.374 1489.61 147.079C1484.71 146.158 1479.91 146.601 1475.36 148.485C1471.16 150.225 1466.8 151.044 1462.34 151.545C1454.5 152.425 1446.66 153.234 1438.82 154.111C1430.63 155.027 1422.45 155.998 1414.26 156.929C1407.14 157.738 1400.02 158.54 1392.89 159.316C1385.05 160.171 1377.22 161.088 1369.37 161.803C1362.05 162.469 1354.72 162.909 1347.39 163.436C1345.62 163.563 1343.84 163.639 1341.8 163.754C1341.55 164.895 1341.33 165.404 1341.33 165.913C1341.3 182.406 1341.29 198.899 1341.3 215.393C1341.3 216.089 1341.46 216.785 1341.52 217.271ZM1336.19 215.595C1336.8 215.044 1337.25 214.828 1337.25 214.61C1337.28 198.885 1337.28 183.16 1337.24 167.435C1337.24 167.215 1336.8 166.996 1336.53 166.749C1336.35 166.972 1336.01 167.184 1336 167.414C1335.71 172.585 1335.87 211.428 1336.19 215.595ZM1313.35 196.17C1313.36 202.078 1313.34 207.987 1313.42 213.894C1313.43 214.883 1313.87 215.866 1314.16 217.028C1320.46 217.145 1326.52 217.106 1332.07 217.038C1333.46 216.201 1333.58 215.311 1333.61 214.414C1333.66 213.163 1333.67 211.909 1333.67 210.656C1333.67 197.229 1333.67 183.801 1333.64 170.374C1333.64 168.786 1333.5 167.199 1333.43 165.641C1332.74 165.328 1332.27 164.934 1331.8 164.93C1326.25 164.884 1320.7 164.89 1315.15 164.909C1314.83 164.91 1314.5 165.133 1314.15 165.259C1313.1 166.246 1313.38 167.568 1313.38 168.779C1313.34 177.908 1313.35 187.04 1313.35 196.17ZM1236.77 151.558C1236.1 153.52 1235.36 155.46 1234.8 157.453C1234.54 158.401 1233.91 159.372 1234.44 160.447C1236.16 158.529 1236.94 156.191 1236.77 151.558ZM1243.72 150.849C1242.88 150.644 1241.98 150.691 1241.21 150.629C1239.1 154.153 1238.25 156.936 1238.05 160.76C1238.35 160.935 1238.65 161.261 1238.96 161.262C1253.59 161.287 1268.22 161.284 1282.85 161.284C1270 157.215 1256.85 154.065 1243.72 150.849ZM1240.66 231.006C1241.4 231.089 1241.96 231.301 1242.44 231.184C1255.65 227.976 1268.86 224.736 1281.92 221.538C1282.43 220.399 1281.64 220.458 1281.22 220.409C1280.33 220.303 1279.43 220.303 1278.54 220.302C1266.7 220.294 1254.87 220.288 1243.03 220.299C1241.44 220.301 1239.81 220.133 1237.82 221.069C1238.25 224.777 1239.37 227.925 1240.66 231.006ZM1237.64 231.328C1236.84 225.668 1236.37 224.239 1234.59 221.393C1234.88 225.234 1235.23 226.485 1237.64 231.328ZM1225.93 178.219C1225.93 189.516 1225.93 200.814 1225.94 212.111C1225.94 213.888 1225.99 215.666 1226.03 217.731C1227.18 218.021 1227.69 218.258 1228.19 218.258C1255.08 218.276 1281.97 218.274 1309.11 218.274C1309.43 217.179 1309.94 216.209 1309.96 215.227C1310.07 210.746 1310.05 206.262 1310.05 201.779C1310.06 191.02 1310.06 180.261 1310.03 169.502C1310.03 167.745 1310.28 165.936 1309.38 163.976C1308.59 163.842 1307.75 163.583 1306.9 163.576C1303.13 163.545 1299.37 163.597 1295.6 163.599C1274.44 163.61 1253.28 163.613 1232.12 163.622C1230.35 163.623 1228.58 163.649 1226.6 163.665C1226.35 164.728 1225.99 165.552 1225.98 166.383C1225.91 170.328 1225.93 174.274 1225.93 178.219ZM1221.24 215.378C1222.12 215.518 1222.62 215.597 1223.31 215.706C1223.44 214.556 1223.63 213.516 1223.65 212.473C1224.09 190.817 1223.9 171.174 1223.2 166.12C1222.57 166.246 1221.95 166.37 1221.35 166.489C1221.18 167.23 1220.96 167.744 1220.96 168.257C1220.94 183.118 1220.94 197.98 1220.95 212.841C1220.95 213.539 1221.1 214.235 1221.24 215.378ZM1199.14 213.233C1199.15 215.004 1199.23 216.775 1199.29 218.828C1204.02 219.539 1213.35 219.584 1218.3 218.98C1218.5 218.038 1218.86 217.026 1218.9 216.002C1218.99 213.315 1218.96 210.623 1218.96 207.933C1218.96 194.661 1218.97 181.389 1218.94 168.118C1218.93 166.364 1219.34 164.514 1218.16 162.933C1213.91 162.324 1204.45 162.313 1199.68 162.949C1199.51 163.866 1199.17 164.873 1199.17 165.883C1199.11 173.237 1199.13 180.59 1199.13 187.944C1199.13 196.373 1199.12 204.803 1199.14 213.233ZM1181.24 27.6448C1179.1 27.2298 1177.52 26.8488 1175.84 28.0808C1176.59 34.8988 1177.74 41.7398 1179.05 48.6758C1180.77 49.7338 1182.46 49.4088 1184.04 49.1078C1184.31 48.5528 1184.62 48.2258 1184.58 47.9468C1183.64 41.2338 1182.78 34.5028 1181.24 27.6448ZM1184.72 52.4108C1183.3 51.4068 1181.91 51.6878 1180.23 52.0328C1180.06 52.9308 1179.7 53.9328 1179.7 54.9378C1179.64 61.9268 1179.66 68.9168 1179.66 75.9058C1179.66 94.5448 1179.65 113.183 1179.67 131.821C1179.67 133.764 1179.41 135.745 1180.2 138.222H1184.37C1184.6 137.328 1184.92 136.509 1184.99 135.67C1185.1 134.424 1185.04 133.163 1185.04 131.909C1185.04 107.357 1185.04 82.8038 1185.03 58.2518C1185.03 56.3028 1185.19 54.3348 1184.72 52.4108ZM1165.03 215.9C1165.05 217.108 1165.27 218.312 1165.38 219.404C1169.12 220.448 1173.05 220.575 1190.17 220.242C1191.57 220.215 1193.05 220.485 1194.26 219.429C1194.84 215.318 1194.88 182.61 1194.27 177.337C1192.9 177.86 1191.93 178.368 1190.91 178.58C1189.87 178.795 1188.77 178.758 1187.7 178.761C1182.16 178.776 1176.62 178.768 1170.98 178.768C1169.89 177.764 1168.86 176.824 1167.98 176.02C1167.1 172.267 1168.11 168.653 1167.22 165.068C1166.53 165.237 1166.05 165.355 1165.6 165.464C1164.78 169.742 1164.54 190.781 1165.03 215.9ZM1189.77 167.381C1184.07 166.682 1178.44 167.193 1172.94 167.068C1172.03 170.488 1172.03 170.488 1172.7 173.628C1176.59 174.432 1185.11 174.466 1190.02 173.622C1190.31 171.421 1190.58 169.505 1189.77 167.381ZM1139.12 217.749C1139.67 217.932 1140.32 218.328 1140.97 218.333C1147.6 218.377 1154.22 218.366 1160.85 218.336C1161.35 218.334 1161.85 218.07 1162.32 217.938C1163.48 216.253 1163.06 214.407 1163.06 212.659C1163.1 200.656 1163.08 188.653 1163.08 176.65C1163.08 173.963 1163.11 171.275 1163.05 168.589C1163.03 167.548 1162.83 166.511 1162.75 165.835C1161.74 164.758 1160.81 164.873 1159.94 164.843C1158.69 164.799 1157.44 164.823 1156.18 164.818C1154.21 164.81 1152.22 164.979 1150.27 164.74C1148.54 164.526 1146.86 163.861 1144.97 163.345C1144.08 163.665 1143.09 164.033 1142.09 164.379C1141.11 164.72 1140.12 165.038 1138.95 165.425C1138.87 166.744 1138.74 167.971 1138.72 169.2C1138.34 193.237 1138.5 212.472 1139.12 217.749ZM1146.4 160.348C1145.2 159.404 1145.2 159.404 1143.77 160.251C1144.99 161.262 1144.99 161.262 1146.4 160.348ZM1107.35 219.711C1110.97 220.277 1128.04 220.577 1133.95 220.189C1134.63 220.145 1135.29 219.862 1135.95 219.695C1136.12 219.022 1136.37 218.52 1136.37 218.018C1136.39 204.595 1136.39 191.172 1136.39 177.978C1135.47 177.068 1134.85 177.594 1134.31 177.926C1133.18 178.61 1131.96 178.754 1130.7 178.754C1124.79 178.751 1118.88 178.753 1112.77 178.753C1111.74 177.872 1110.68 176.969 1109.52 175.972C1109.4 172.351 1109.29 168.811 1109.17 165.18C1108.4 165.232 1107.89 165.266 1107.17 165.314C1107.03 166.395 1106.81 167.426 1106.79 168.462C1106.28 190.779 1106.54 215.139 1107.35 219.711ZM1131.76 167.867C1131.34 167.601 1131.05 167.269 1130.75 167.248C1125.41 166.892 1120.07 166.951 1114.56 167.239C1113.45 169.388 1113.6 171.417 1114.2 173.506C1116.06 174.688 1118.08 174.112 1120 174.215C1121.78 174.311 1123.58 174.281 1125.36 174.226C1127.31 174.166 1129.29 174.493 1131.68 173.746C1132.21 171.602 1132.21 169.697 1131.76 167.867ZM1139.21 162.433C1139.55 162.432 1139.89 162.235 1140.53 162.036C1141.08 160.489 1141.56 159.164 1141.99 157.955C1144.09 156.934 1145.97 157.009 1148.11 157.793C1148.66 159.188 1149.23 160.642 1149.82 162.126C1150.35 162.25 1150.87 162.475 1151.39 162.476C1165.19 162.507 1179 162.52 1192.8 162.515C1193.5 162.515 1194.19 162.329 1195.15 162.192C1195.34 161.333 1195.65 160.507 1195.68 159.671C1195.75 157.163 1195.78 154.65 1195.69 152.143C1195.44 145.127 1191.81 141.309 1184.79 140.586C1183.72 140.476 1182.64 140.429 1181.57 140.429C1160.41 140.423 1139.26 140.417 1118.1 140.45C1116.32 140.453 1114.5 140.546 1112.77 140.904C1107.8 141.924 1104.95 145.019 1104.16 149.978C1103.7 152.861 1103.85 158.203 1104.53 161.912C1105.09 162.085 1105.75 162.463 1106.41 162.464C1117.34 162.486 1128.28 162.464 1139.21 162.433ZM1072.13 197.865C1072.13 203.767 1072.12 209.669 1072.16 215.57C1072.17 216.776 1072.4 217.981 1072.53 219.15C1073.28 219.4 1073.77 219.727 1074.26 219.703C1084.05 219.22 1093.84 218.697 1104.14 218.155C1104.36 216.589 1104.59 215.551 1104.63 214.505C1105.05 203.503 1104.77 169.921 1104.22 165.493C1103.33 164.893 1102.32 164.205 1101.36 163.557C1092.14 162.982 1083.04 162.411 1073.94 161.862C1073.61 161.842 1073.27 162.042 1072.91 162.146C1071.78 163.325 1072.16 164.828 1072.16 166.21C1072.12 176.761 1072.13 187.313 1072.13 197.865ZM1017.75 222.461C1018.6 222.676 1019.11 222.92 1019.62 222.921C1035.39 222.957 1051.15 222.974 1066.91 222.97C1067.61 222.97 1068.3 222.751 1069.23 222.596C1069.43 221.752 1069.73 220.931 1069.81 220.089C1069.92 219.024 1069.87 217.942 1069.87 216.867C1069.87 199.491 1069.88 182.115 1069.86 164.739C1069.86 162.962 1070.1 161.152 1069.35 159.16C1068.47 158.988 1067.45 158.62 1066.43 158.618C1051.2 158.583 1035.97 158.586 1020.75 158.622C1019.73 158.625 1018.71 158.967 1017.72 159.145C1017.55 159.9 1017.34 160.411 1017.34 160.923C1017.32 180.806 1017.32 200.689 1017.33 220.572C1017.33 221.081 1017.55 221.59 1017.75 222.461ZM639.583 138.168C638.924 143.6 639.481 149.64 639.315 155.255C640.752 157.224 642.74 156.12 644.458 157.441C644.792 158.298 645.292 159.577 645.741 160.724C646.256 160.928 646.578 161.164 646.901 161.166C653.157 161.219 659.414 161.248 665.67 161.275C667.992 161.285 670.314 161.276 672.592 161.276C674.119 161.984 675.55 162.647 676.954 163.298C677.239 162.975 677.634 162.735 677.635 162.494C677.678 154.094 677.69 145.694 677.679 137.294C677.678 136.782 677.455 136.269 677.211 135.226C676.062 135.08 675.198 134.877 674.334 134.875C664.858 134.852 655.382 134.864 645.906 134.858C643.491 134.858 641.25 135.208 639.583 138.168ZM681.833 144.346C681.751 141.525 682.193 138.662 681.539 135.802C681.01 135.991 680.503 136.054 680.478 136.201C680.325 137.073 680.217 137.965 680.216 138.851C680.2 149.606 680.191 160.361 680.227 171.116C680.23 172.099 679.827 173.225 680.779 174.059C683.077 171.715 683.173 171.446 683.871 165.292C683.352 164.288 682.781 163.181 682.002 161.671C681.947 159.204 681.852 156.345 681.827 153.486C681.802 150.439 681.921 147.39 681.833 144.346ZM680.936 132.596C681.314 131.67 681.529 131.358 681.547 131.036C681.566 130.707 681.393 130.367 681.304 130.031C681.018 129.84 680.733 129.484 680.447 129.483C674.427 129.451 668.407 129.459 662.249 129.459C661.893 130.237 661.542 131.006 661.152 131.861C661.826 132.162 662.28 132.528 662.751 132.55C668.769 132.841 674.786 132.779 680.936 132.596ZM645.247 180.681C645.251 181.169 645.62 181.653 645.908 182.352C646.707 182.467 647.56 182.691 648.413 182.695C654.31 182.725 660.208 182.765 666.104 182.69C670.316 182.637 674.185 181.474 677.809 178.398C677.808 173.241 678.973 168.094 674.543 164.139C673.444 163.945 672.405 163.655 671.353 163.594C666.272 163.297 649.608 163.538 645.941 163.936C645.728 164.438 645.245 165.056 645.238 165.679C645.181 170.678 645.198 175.68 645.247 180.681ZM647.569 25.7168C647.559 24.3108 647.271 22.8738 646.894 21.5108C645.509 16.4918 642.085 13.7388 637.015 12.9498C635.959 12.7858 634.879 12.7118 633.81 12.7078C628.27 12.6888 622.73 12.6878 617.19 12.7308C616.163 12.7388 615.137 12.9758 613.753 13.1538C613.397 16.7908 613.207 19.7858 613.846 23.0198C614.744 23.1918 615.58 23.4768 616.421 23.4908C620.174 23.5548 623.927 23.5518 627.68 23.5528C630.744 23.5538 633.161 24.8818 635.207 27.0758C636.597 28.5668 637.483 30.2808 637.693 32.3008C637.84 33.7188 637.917 35.1498 637.929 36.5748C637.962 40.5058 637.917 44.4378 637.963 48.3688C637.979 49.7738 638.167 51.1768 638.279 52.6188C641.234 53.8108 643.994 53.5378 646.475 53.0458C647.565 52.1738 647.584 51.2618 647.585 50.3768C647.599 42.1568 647.629 33.9368 647.569 25.7168ZM648.305 58.9478C648.303 58.2548 648.05 57.5618 647.925 56.9268C644.668 55.7848 643.031 55.7238 637.63 56.5688C637.486 57.2978 637.18 58.1338 637.178 58.9718C637.145 72.2318 637.146 85.4918 637.161 98.7518C637.162 99.6188 637.348 100.486 637.437 101.265C640.884 102.295 642.207 102.346 647.905 101.667C648.117 100.824 648.357 100.312 648.357 99.8008C648.361 86.1828 648.345 72.5648 648.305 58.9478ZM647.993 105.288C644.021 104.383 642.575 104.359 637.936 105.074C636.926 108.34 636.879 109.365 637.497 115.829C638.198 116.15 638.699 116.346 639.165 116.603C639.471 116.772 639.729 117.028 640.24 117.424C640.475 118.193 640.78 119.189 641.142 120.372C641.926 120.435 642.778 120.505 643.778 120.586C644.112 119.453 644.396 118.491 644.745 117.306C645.702 116.8 646.769 116.236 648.057 115.554C648.444 112.191 648.758 108.711 647.993 105.288ZM647.552 128.319C646.45 128.42 645.456 128.511 644.689 128.581C643.782 129.788 643.814 130.776 644.346 131.952C645.623 132.97 647.104 132.826 649.269 132.084C648.618 130.658 648.124 129.576 647.552 128.319ZM650.374 126.979C649.993 128.83 650.53 130.509 652.325 131.939C652.727 132.065 653.388 132.402 654.075 132.467C657.98 132.834 659.787 131.185 659.725 127.325C659.714 126.629 659.473 125.936 659.381 125.458C658.281 123.833 656.942 123.073 655.221 122.989C653.911 122.925 652.653 123.251 651.808 124.214C651.137 124.978 650.577 125.993 650.374 126.979ZM673.812 67.1038C673.812 64.9528 673.837 62.8008 673.778 60.6518C673.754 59.7928 673.536 58.9378 673.432 58.2538C672.879 57.9438 672.574 57.6268 672.266 57.6218C666.354 57.5378 660.443 57.4788 654.531 57.4488C653.664 57.4448 652.797 57.6188 652.326 57.6678C651.111 58.5778 651.157 59.5228 651.155 60.3888C651.134 72.9368 651.121 85.4848 651.166 98.0318C651.17 99.0208 651.617 100.009 651.836 100.906C657.861 101.48 668.964 101.376 673.008 100.736C674.133 99.5668 673.784 98.0618 673.789 96.6808C673.827 86.8218 673.812 76.9628 673.812 67.1038ZM671.184 103.483C666.185 103.521 661.186 103.486 656.188 103.514C654.787 103.522 653.387 103.653 652.176 103.718C651.793 104.228 651.432 104.487 651.403 104.78C650.949 109.389 650.953 113.995 651.407 118.591C658.902 118.519 660.058 119.151 664.579 125.672C668.867 126.323 676.576 126.309 681.333 125.595C681.478 124.869 681.762 124.041 681.79 123.204C681.872 120.707 681.856 118.207 681.874 115.709C681.904 111.598 681.902 111.598 684.07 107.157C683.913 104.946 684.525 102.776 683.308 100.72C681.179 100.139 679.075 100.312 676.997 100.529C676.253 101.406 675.573 102.208 674.756 103.171C673.63 103.274 672.408 103.474 671.184 103.483ZM726.091 43.0748C724.741 42.2828 723.556 41.5868 722.223 40.8038C722.152 39.7508 722.083 38.7228 722.004 37.5548C723.289 36.7738 724.473 36.0538 725.627 35.3528C726.132 34.2468 726.236 33.2578 725.087 32.4278C724.618 32.4278 724.051 32.3018 723.565 32.4458C710.031 36.4708 696.504 40.5238 683.527 44.4078C681.844 45.8768 681.72 47.3058 681.708 48.7518C681.681 51.9738 681.728 55.1968 681.658 58.4178C681.632 59.6358 681.365 60.8488 681.244 61.7848C679.085 63.4698 678.363 60.9118 676.967 60.7798C676.701 61.1008 676.309 61.3538 676.307 61.6108C676.212 72.7028 676.145 83.7948 676.104 94.8868C676.101 95.7418 676.324 96.5978 676.455 97.5508C679.447 98.5238 682.272 98.1468 685.24 97.9978C686.352 96.9258 687.43 95.7398 688.655 94.7338C692.638 91.4668 696.86 91.5688 700.816 94.9428C701.769 95.7558 702.716 96.5748 704.076 97.7438C707.798 98.3968 721.069 98.3808 725.363 97.5848C726.491 96.0128 726.101 94.2628 725.796 92.3608C724.809 91.7398 723.786 91.0968 722.879 90.5278C722.004 88.6778 721.549 86.9988 722.494 84.9688C723.406 84.4768 724.485 83.8958 725.744 83.2178C725.845 82.4638 726.062 81.5928 726.064 80.7208C726.091 70.5168 726.087 60.3128 726.09 50.1088C726.092 47.7918 726.091 45.4748 726.091 43.0748ZM703.541 139.827C704.485 137.81 703.491 135.542 704.371 133.634C705.389 131.429 705.247 129.117 705.247 126.81C705.247 124.688 705.182 122.567 705.134 119.73C703.094 122.483 703.291 125.758 700.668 127.397C699.653 127.661 698.639 127.926 697.456 128.235C696.668 128.877 695.736 129.637 694.606 130.558C692.385 128.615 690.458 126.626 688.821 124.368C688.003 124.311 687.327 124.263 686.743 124.222C686.469 124.712 686.145 125.019 686.157 125.311C686.33 129.371 686.548 133.428 686.759 137.563C697.589 133.481 697.058 135.646 703.541 139.827ZM687.71 145.914C687.879 150.085 690.371 152.246 694.763 152.03C698.883 151.828 701.13 149.229 700.899 144.932C700.677 140.788 698.194 138.664 693.784 138.844C689.621 139.014 687.528 141.45 687.71 145.914ZM707.846 106.207C709.144 105.262 710.463 104.347 711.829 103.379C713.086 103.301 714.325 103.223 715.752 103.134C716.502 102.751 717.436 102.276 718.543 101.711C719.072 102.269 719.755 102.686 719.956 103.269C720.297 104.265 720.336 105.364 720.491 106.356C721.591 107.989 722.993 108.818 725.165 108.783C725.269 105.852 725.113 103.243 723.919 100.827C719.573 100.191 708.636 100.16 703.673 100.802C702.867 103.199 703.263 105.359 703.193 107.479C703.172 108.135 702.972 108.908 703.943 109.498C705.52 108.853 706.449 107.225 707.846 106.207ZM707.261 111.821C709.543 110.559 711.827 109.295 714.262 107.949C713.955 107.483 713.712 107.114 713.359 106.579C710.639 107.665 708.215 108.868 707.261 111.821ZM688.451 104.684C688.364 107.365 688.368 110.052 688.443 112.734C688.517 115.387 688.096 118.086 689.021 120.851C691.932 122.017 694.987 121.305 697.965 121.398C698.773 121.423 699.595 120.98 700.312 120.779C700.921 115.315 700.844 101.005 700.213 96.9768C698.87 95.3718 697.062 94.7188 695.021 94.6348C692.797 94.5438 690.764 95.0388 689.037 96.9168C688.005 99.3228 688.537 102.039 688.451 104.684ZM728.464 89.8078C729.775 88.4658 729.775 88.4658 728.759 86.6348C727.641 86.9028 726.471 87.1838 725.394 87.4418C725.283 87.9818 725.217 88.2988 725.094 88.8978C726.234 89.2058 727.389 89.5178 728.464 89.8078ZM728.827 116.734C728.819 115.868 728.477 115.005 728.263 114.019C725.352 111.582 722.011 110.032 718.345 109.027C714.778 109.827 711.694 111.552 708.506 113.644C706.425 119.272 707.996 125.131 707.352 131.177C711.597 131.741 723.468 131.806 728.076 131.396C728.3 131.003 728.772 130.558 728.779 130.106C728.848 125.649 728.87 121.191 728.827 116.734ZM729.831 134.905C728.963 134.71 728.293 134.432 727.62 134.427C721.753 134.379 715.885 134.36 710.018 134.386C708.985 134.391 707.953 134.645 707.187 134.748C705.877 136.302 706.427 137.671 706.561 138.939C707.002 139.205 707.29 139.517 707.602 139.544C710.714 139.814 726.556 139.68 729.422 139.396C730.593 138.215 730.349 136.832 729.831 134.905ZM730.474 143.951C730.175 143.677 729.945 143.273 729.661 143.232C722.926 142.263 716.156 142.817 709.398 142.836C708.383 142.839 707.369 143.246 706.162 143.508C706.214 144.682 706.257 145.671 706.299 146.641C707.057 146.871 707.555 147.153 708.054 147.153C715.179 147.146 722.303 147.109 729.427 147.044C729.732 147.041 730.034 146.707 730.473 146.448V143.951H730.474ZM757.517 141.98C757.503 139.268 757.466 139.268 755.848 136.148C754.93 135.802 753.811 135.203 752.621 134.973C750.673 134.597 736.149 134.918 733.338 135.23C732.121 136.126 732.293 137.486 732.445 138.67C732.927 142.405 733.011 146.101 732.752 149.881C732.547 152.869 733.276 155.927 733.669 158.944C733.755 159.606 734.177 160.225 734.403 160.768C738.475 161.388 750.644 161.502 756.62 160.997C757.681 159.723 757.506 158.614 757.511 157.57C757.538 152.372 757.544 147.176 757.517 141.98ZM967.665 225.202C966.796 224.651 965.756 223.991 964.672 223.305H958.269C956.919 227.902 957.707 232.186 957.558 236.403C957.529 237.221 957.36 238.22 958.583 238.77C958.909 238.528 959.446 238.321 959.664 237.934C960.815 235.891 962.187 234.025 963.938 232.466C968.91 228.04 974.54 226.805 980.855 229.093C981.524 229.335 982.145 229.711 982.811 229.964C983.303 230.151 983.832 230.24 984.339 230.372C985.159 228.309 985.159 228.309 984.326 225.735C978.941 224.86 973.39 225.739 967.665 225.202ZM998.212 224.562C998.639 224.839 999.228 224.975 999.746 224.983C1004.56 225.062 1009.38 225.387 1013.94 224.79C1015.27 223.607 1014.98 222.277 1014.98 221.069C1015.02 211.747 1015.02 202.424 1015.02 193.102C1015.02 182.883 1015.03 172.664 1014.99 162.445C1014.99 160.69 1015.34 158.869 1014.36 157.014C1013.78 156.869 1013.11 156.552 1012.43 156.552C998.267 156.543 984.103 156.563 969.939 156.615C969.456 156.617 968.974 157.01 968.454 157.236C968.284 157.761 967.985 158.256 967.984 158.751C967.961 179.546 967.962 200.341 967.985 221.136C967.986 221.636 968.27 222.135 968.392 222.534C969.687 223.729 971.184 223.409 972.583 223.425C979.213 223.498 985.843 223.522 992.473 223.577C994.435 223.593 996.426 223.403 998.212 224.562ZM988.618 226.375V229.932C988.889 229.305 989.144 228.632 989.468 227.995C989.736 227.465 990.086 226.977 990.614 226.125C989.68 226.242 989.227 226.299 988.618 226.375ZM995.336 228.476C995.384 227.77 995.43 227.109 995.493 226.175C994.741 226.113 994.139 226.062 993.502 226.009C993.564 227.394 994.16 228.079 995.336 228.476ZM990.551 252.299C990.887 251.991 991.27 251.806 991.339 251.539C991.455 251.093 991.371 250.594 991.371 249.939C990.919 250.306 990.517 250.47 990.482 250.693C990.405 251.185 990.513 251.706 990.551 252.299ZM991.8 244.366C993.282 241.875 993.852 239.245 993.703 235.573C991.219 234.955 991.219 234.957 989.271 235.976C990.104 238.74 990.952 241.551 991.8 244.366ZM954.035 280.53C954.174 280.425 954.314 280.32 954.453 280.214C954.299 280.223 954.146 280.232 953.992 280.242L954.035 280.53ZM943.275 282.5C944.099 282.668 944.761 282.984 945.342 282.873C946.856 282.585 948.334 282.105 950.556 281.504C947.864 281.038 945.917 280.702 943.744 280.326C943.593 280.987 943.455 281.594 943.262 282.437C943.267 282.459 943.27 282.478 943.275 282.5ZM949.636 278.522C950.521 278.432 951.397 278.222 952.265 278.017C959.579 276.293 966.892 274.561 974.202 272.819C975.246 272.57 976.298 272.323 977.307 271.965C982.637 270.072 986.049 266.405 986.962 260.785C987.766 255.843 988.496 250.864 988.807 245.874C989.154 240.311 987.143 235.548 981.996 232.87C976.649 230.088 971.228 230.431 966.305 234.029C964.918 235.042 963.927 236.663 962.931 238.126C962.14 239.289 961.62 240.636 961.026 241.811C957.397 243.181 953.701 241.856 950.059 242.869C947.787 248.033 947.9 253.254 949.232 258.575C950.534 263.775 953.958 267.722 957.043 271.702C956.981 271.938 956.929 272.134 956.879 272.329C956.898 272.355 956.918 272.38 956.937 272.406C956.905 272.424 956.875 272.444 956.844 272.462C956.789 272.672 956.732 272.89 956.661 273.161C953.888 275.071 950.968 274.185 948.161 272.978C945.319 271.756 943.554 269.183 941.554 266.803C940.52 269.042 940.455 269.487 940.534 270.885C940.849 276.466 945.306 278.963 949.636 278.522ZM946.055 243.834C944.806 244.219 944.157 244.418 943.704 244.558C942.575 245.865 942.099 247.171 942.061 248.65C941.942 253.277 941.817 257.905 941.703 262.234C943.116 264.102 944.34 265.618 945.448 267.214C946.735 269.069 948.49 270.199 950.621 270.755C951.023 270.86 951.535 270.546 952.254 270.357C949.567 266.333 947.013 262.507 945.891 257.901C944.774 253.321 945.34 248.76 946.055 243.834ZM938.996 283.527C940.49 283.529 940.484 282.707 940.623 282.08C940.734 281.579 940.705 281.04 940.692 280.52C940.675 279.828 940.613 279.136 940.551 278.134C939.894 277.941 939.581 277.848 939.109 277.71C938.582 279.707 938.573 281.631 938.996 283.527ZM936.512 279.387C936.877 270.972 937.169 262.555 937.491 254.139C937.56 252.348 937.633 250.557 937.735 248.768C937.906 245.765 939.024 243.218 941.387 241.27C942.064 240.712 942.68 240.082 943.283 239.523C942.659 238.231 942.122 237.122 941.644 236.133C941.935 233.408 943.725 232.382 945.498 231.579C947.581 231.878 948.728 232.91 949.703 234.665C949.638 235.811 949.559 237.201 949.478 238.646C951.233 239.145 952.975 239.169 954.715 238.533C955.762 237.064 955.338 235.408 955.399 233.842C955.469 232.052 955.444 230.257 955.407 228.466C955.374 226.879 955.267 225.293 955.21 224.08C954.362 222.857 953.43 222.874 952.552 222.864C949.326 222.829 946.099 222.829 942.872 222.829C924.588 222.829 906.304 222.825 888.02 222.846C886.266 222.848 884.475 222.605 882.737 223.176C882.944 224.889 884.542 226.094 883.498 228.98C883.305 229.467 882.112 230.467 880.604 231.046C878.517 231.361 876.992 229.91 875.974 226.591C876.475 225.617 877.039 224.518 877.771 223.094C876.586 223.149 875.617 223.193 874.578 223.241C873.214 228.005 873.227 232.638 873.111 237.386C873.733 237.859 874.277 238.281 874.83 238.691C875.26 239.009 875.703 239.311 875.843 239.411C876.308 244.249 875.858 252.471 874.897 258.065C874.895 258.215 874.892 258.365 874.892 258.516C874.863 258.537 874.835 258.557 874.806 258.578C874.765 258.802 874.724 259.023 874.681 259.237C873.937 259.764 873.08 260.373 872.222 260.981C872.079 261.304 871.841 261.618 871.81 261.952C871.529 264.983 871.283 268.017 871.03 271.05C870.878 272.879 871.301 274.609 871.946 276.3C873.336 279.938 875.964 282.187 879.745 282.979C881.309 283.307 882.945 283.418 884.548 283.422C900.143 283.451 915.738 283.446 931.334 283.421C932.743 283.419 934.151 283.214 935.807 283.084C936.069 281.758 936.46 280.58 936.512 279.387ZM872.533 242.223C871.947 245.286 871.759 253.656 872.15 257.05C872.416 256.874 872.861 256.741 872.918 256.512C873.687 253.426 873.971 247.224 873.631 241.199C872.989 241.782 872.582 241.968 872.533 242.223ZM863.667 349.723C863.162 359.202 862.725 368.684 862.254 378.164C862.085 381.563 861.982 384.968 861.699 388.357C861.517 390.536 861.697 392.651 862.191 394.752C863.507 400.344 867.234 403.763 872.944 404.556C874.358 404.752 875.802 404.793 877.233 404.793C891.027 404.801 904.822 404.785 918.617 404.772C919.512 404.771 920.412 404.781 921.302 404.701C929.74 403.945 932.735 399.2 933.839 392.967C934.118 391.396 934.038 389.753 934.037 388.143C934.02 366.646 933.988 345.149 933.959 323.652C933.95 317.024 933.946 310.396 933.927 303.768C933.922 301.988 933.873 300.209 933.843 298.386C932.909 297.878 932.61 297.583 932.295 297.564C911.56 296.308 890.824 295.069 870.086 293.853C869.214 293.802 868.328 293.98 867.228 294.069C867.004 294.954 866.654 295.774 866.606 296.612C866.182 303.943 865.827 311.278 865.421 318.61C864.846 328.982 864.22 339.351 863.667 349.723ZM859.14 269.666C856.226 268.904 853.363 267.945 850.323 267.026C849.743 267.922 849.276 268.646 848.676 269.574C852.799 272.325 857.067 274.588 860.449 278.111C863.844 281.647 866.481 285.647 868.522 290.254C878.941 291.702 889.33 291.778 899.664 292.414C909.84 293.04 920.011 294.049 930.358 293.95C932.03 291.389 933.661 288.89 935.251 286.454C934.913 285.392 934.085 285.575 933.431 285.57C928.59 285.537 923.748 285.542 918.907 285.542C908.686 285.542 898.466 285.547 888.245 285.548C886.631 285.548 885.016 285.577 883.404 285.534C876.21 285.345 871.333 281.557 869.28 274.592C869.028 273.738 868.776 272.884 868.442 271.752C865.067 271.005 862.078 270.434 859.14 269.666ZM868.053 240.628C867.524 240.594 867.2 240.574 866.69 240.541C865.893 244.414 866.22 248.305 866.492 252.5C867.296 252.643 867.618 252.7 868.184 252.801C868.504 248.706 868.659 244.657 868.053 240.628ZM851.029 246.099C852.736 249.024 854.444 251.95 856.267 254.802C856.829 255.682 857.645 256.47 858.503 257.078C861.251 259.028 864.093 260.841 867.862 262.799C868.067 261.089 868.188 260.068 868.314 259.011C863.732 254.39 859.228 249.847 854.516 245.094C853.621 244.591 852.447 244.442 851.253 245.141C851.168 245.475 850.911 245.897 851.029 246.099ZM849.286 242.059C850.49 243.1 851.966 242.641 853.337 242.744C854.737 242.85 856.141 242.905 857.206 242.965C859.839 244.73 860.593 247.877 863.892 249.447C864.067 245.982 864.196 243.353 863.816 240.871C863.4 240.509 863.166 240.13 862.874 240.078C858.491 239.299 854.107 239.567 849.852 239.932C849.545 240.436 849.285 240.713 849.208 241.034C849.136 241.344 849.252 241.701 849.286 242.059ZM835.327 247.081C839.092 250.461 843.554 251.708 848.837 251.432C848.445 248.668 846.94 246.795 845.459 244.872C841.862 244.673 838.362 244.476 835.125 244.919C834.312 246.033 834.846 246.649 835.327 247.081ZM843.671 240.676C841.593 239.628 841.118 239.612 836.125 240.518C838.598 240.746 841.079 240.696 843.671 240.676ZM830.573 227.21C830.854 227.414 831.122 227.769 831.419 227.796C833.017 227.94 834.627 227.961 836.223 228.121C836.692 228.168 837.131 228.527 837.576 228.739C837.416 229.158 837.296 229.471 837.071 230.059C835.306 230.224 833.408 230.402 831.334 230.596C830.785 232.876 830.636 234.907 831.482 237.196C832.572 237.307 833.608 237.483 834.647 237.507C851.447 237.899 864.336 237.715 869.136 237.001C869.312 236.464 869.652 235.829 869.715 235.167C870.055 231.636 870.622 228.108 870.305 224.313C869.353 224.055 868.534 223.659 867.704 223.638C864.308 223.55 860.91 223.565 857.512 223.562C850.18 223.556 842.848 223.555 835.515 223.57C833.93 223.573 832.312 223.421 830.467 224.257C830.372 225.15 830.266 225.679 830.278 226.207C830.286 226.543 830.469 226.876 830.573 227.21ZM784.917 182.974C785.48 183.615 785.945 184.144 786.352 184.607C786.476 185.255 786.663 185.78 786.665 186.305C786.692 194.734 786.714 203.163 786.686 211.592C786.682 212.831 786.547 214.101 786.248 215.301C785.202 219.499 785.092 221.425 785.859 226.343C786.175 226.466 786.521 226.742 786.802 226.687C798.803 224.351 810.932 223.285 823.141 223.068C825.335 223.029 827.425 222.782 829.313 221.409C831.112 221.409 832.901 221.409 834.689 221.409C844.733 221.411 854.778 221.425 864.822 221.409C868.222 221.404 871.62 221.542 874.997 220.771C876.54 220.419 878.21 220.583 879.822 220.583C903.498 220.576 927.175 220.57 950.851 220.603C952.99 220.606 955.126 220.949 957.268 221.013C959.76 221.089 962.257 221.031 964.984 221.031C965.258 219.868 965.672 218.874 965.697 217.87C965.785 214.285 965.747 210.697 965.747 207.11C965.747 193.121 965.758 179.132 965.723 165.143C965.718 163.202 966.091 161.193 965.001 159.115C964.284 158.965 963.439 158.668 962.584 158.632C960.614 158.548 958.639 158.583 956.666 158.583C915.591 158.582 874.516 158.583 833.441 158.582C829.854 158.582 826.266 158.541 822.679 158.567C809.713 158.657 796.927 157.09 784.236 154.536C777.733 153.227 771.208 152.013 764.554 151.754C763.309 151.706 762.061 151.747 760.557 151.747C760.284 152.823 759.922 153.799 759.805 154.804C759.517 157.273 760.171 159.827 759.253 162.073C758.146 163.577 756.679 163.538 755.242 163.541C750.04 163.552 744.839 163.527 739.637 163.56C738.05 163.57 736.464 163.722 735.15 163.794C734.073 165.007 734.368 166.093 734.55 167.107C736.336 177.086 742.599 182.449 752.743 182.713C753.998 182.745 755.254 182.733 756.509 182.726C764.759 182.684 773.008 182.621 781.258 182.611C782.494 182.607 783.728 182.849 784.917 182.974ZM784.363 212.322C784.647 208.795 784.439 189.181 784.122 186.013C783.44 184.936 782.32 184.943 781.26 184.933C777.134 184.895 773.008 184.901 768.883 184.893C763.501 184.882 758.12 184.917 752.739 184.852C746.47 184.778 741.265 182.371 737.175 177.575C734.793 174.783 733.127 171.669 732.639 167.997C731.978 163.022 731.35 158.043 730.691 153.067C730.576 152.2 730.38 151.344 730.254 150.661C729.731 150.336 729.436 149.994 729.14 149.993C720.902 149.964 712.664 149.97 704.396 149.97C703.607 150.921 702.862 151.936 702 152.84C698.399 156.616 694.612 157.395 689.811 155.39C689.316 155.183 688.864 154.872 688.367 154.672C688.051 154.545 687.688 154.536 687.337 154.473C686.271 155.211 686.551 156.361 686.561 157.357C686.596 160.769 686.29 164.142 685.92 167.535C685.031 175.667 676.871 183.885 668.846 184.559C666.884 184.724 664.914 184.864 662.946 184.871C652.901 184.904 642.855 184.88 632.81 184.899C630.864 184.903 628.887 184.73 626.805 185.402C626.58 186.07 626.175 186.718 626.172 187.367C626.13 195.614 626.138 203.862 626.168 212.11C626.17 212.61 626.461 213.11 626.597 213.548C628.003 214.852 629.677 214.577 631.251 214.583C638.605 214.609 645.959 214.575 653.313 214.584C676.094 214.612 698.874 214.659 721.655 214.678C730.264 214.685 738.874 214.657 747.483 214.591C749.246 214.578 751.084 214.893 752.736 213.931C753.337 212.441 752.497 211.572 751.457 210.804C751.276 210.716 751.119 210.626 750.952 210.564C750.786 210.502 750.612 210.438 750.438 210.427C749.545 210.37 748.65 210.288 747.756 210.288C713.854 210.281 679.952 210.282 646.084 210.282C645.041 210.769 644.087 211.262 643.098 211.669C639.954 212.961 637.226 212.296 634.645 210.108C628.97 205.298 628.964 195.312 634.504 190.457C637.199 188.095 640.073 187.336 643.4 188.947C644.204 189.336 645.017 189.706 645.97 190.153H659.115C660.454 190.789 661.581 191.324 662.941 191.97C664.164 191.97 665.596 191.97 667.029 191.97C670.975 191.969 674.922 191.923 678.868 191.984C681.083 192.018 683.141 191.641 684.842 190.262H697.444C698.492 190.777 699.607 191.324 700.934 191.976H719.115C720.379 191.406 721.675 190.822 723.029 190.213H735.004C735.994 190.692 737.113 191.232 738.58 191.941C743.965 191.941 749.705 192.044 755.436 191.878C757.149 191.828 758.841 191.021 761.777 190.227C764.243 190.227 768.021 190.01 771.763 190.284C776.134 190.604 779.032 193.299 780.429 197.301C782.394 202.927 778.281 209.363 772.34 210.085C769.861 210.386 767.325 210.189 764.817 210.287C763.053 210.356 761.225 209.902 759.276 210.972C759.404 211.87 759.543 212.849 759.671 213.751C760.432 214.054 760.916 214.414 761.402 214.417C768.215 214.473 775.028 214.496 781.842 214.476C782.51 214.474 783.177 214.139 783.824 213.964C784.046 213.311 784.323 212.826 784.363 212.322ZM640.562 182.478C640.562 182.408 640.562 182.338 640.561 182.268H639.53C639.53 182.338 639.531 182.408 639.531 182.478H640.562ZM643.998 236.815C643.998 284.341 643.998 331.449 643.998 378.952C644.278 378.317 644.489 378.063 644.489 377.809C644.502 331.203 644.501 284.597 644.485 237.991C644.484 237.734 644.28 237.477 643.998 236.815ZM753.705 203.477C754.731 205.15 756.335 206.553 758.007 208.163C762.222 208.449 766.502 208.402 770.778 208.218C771.83 208.173 772.908 207.871 773.9 207.495C776.034 206.685 777.514 205.158 778.016 202.903C778.283 201.7 778.427 200.415 778.321 199.194C777.98 195.269 775.712 193.034 771.763 192.699C769.985 192.548 768.187 192.622 766.397 192.609C764.789 192.597 763.18 192.606 761.892 192.606C760.087 193.292 758.64 194.006 757.11 194.376C755.589 194.744 753.92 194.326 752.134 194.983C752.707 196.437 753.41 197.665 753.648 198.976C753.899 200.357 753.705 201.817 753.705 203.477ZM751.395 204.367C748.214 202.303 744.839 200.727 741.036 200.157C734.664 199.203 728.303 198.181 721.934 197.203C717.866 196.578 713.795 195.971 709.722 195.373C707.786 195.089 705.852 194.586 703.281 195.349C703.238 198.459 703.174 201.302 703.175 204.145C703.176 204.833 703.393 205.521 703.494 206.119C707.086 207.506 710.626 207.515 714.218 207.268C722.436 206.704 730.654 206.13 738.881 205.748C741.355 205.633 743.873 206.032 746.342 206.39C750.083 206.932 753.043 208.775 754.968 212.117C755.303 212.699 755.663 213.267 756.258 214.247C756.622 213.379 756.998 212.935 756.934 212.567C756.323 209.016 754.394 206.313 751.395 204.367ZM749.483 197.414C746.232 196.397 742.776 196.91 739.276 197.523C740.44 197.76 741.625 197.921 742.761 198.253C744.111 198.648 745.423 199.175 746.74 199.675C747.87 200.104 748.984 200.576 750.016 200.994C751.419 199.467 750.374 198.572 749.483 197.414ZM733.438 193.133C729.966 192.739 726.45 192.353 722.935 192.88C722.595 193.363 722.311 193.765 722.059 194.122C722.766 195.658 724.165 195.302 725.505 195.712C727.888 194.464 730.391 193.122 733.438 193.133ZM691.418 201.217C691.052 202.367 690.794 203.552 690.411 205.018C691.477 205.128 692.316 205.289 693.156 205.286C695.455 205.279 697.773 205.472 700.185 205.04C701.413 202.595 701.097 200.157 700.934 197.526C697.921 196.355 694.918 197.204 692.121 196.929C690.816 198.412 691.835 199.906 691.418 201.217ZM663.856 195.353C662.034 194.426 660.342 193.566 658.753 192.757H652.557C652.352 194.488 654.067 195.178 654.262 196.452C654.771 198.237 654.191 199.663 653.008 200.917C652.119 201.859 651.094 202.528 649.748 202.579C648.63 202.621 647.626 202.336 646.761 201.607C645.32 200.394 644.306 198.988 644.719 196.53C645.255 195.68 646.01 194.484 646.833 193.18C645.42 192.462 644.059 191.634 642.6 191.058C639.099 189.677 635.703 190.953 633.985 194.369C632.015 198.289 632.004 202.328 633.933 206.269C635.569 209.61 638.437 210.809 641.989 209.758C643.009 209.456 643.962 208.927 645.041 208.461C655.156 207.981 665.37 208.816 675.55 207.949C675.654 207.941 675.738 207.699 675.887 207.488C675.172 206.408 674.044 206.987 673.128 206.889C672.065 206.775 670.978 206.891 669.904 206.848C668.835 206.805 667.769 206.689 666.952 206.625C664.46 205.527 662.822 203.956 662.082 201.579C661.361 199.265 662.654 197.423 663.856 195.353ZM665.773 202.467C666.096 202.721 666.346 203.071 666.653 203.133C668.028 203.408 669.419 203.786 670.803 203.783C673.607 203.778 676.452 204.184 679.294 203.346C680.462 201.528 680.019 199.642 679.769 197.526C675.373 196.374 671.031 196.866 666.717 197.097C664.843 199.159 664.876 200.79 665.773 202.467ZM764.319 231.244C766.76 231.789 769.193 232.375 771.643 232.881C772.687 233.097 773.763 233.276 774.824 233.266C778.699 233.231 781.71 230.996 782.747 227.25C783.563 224.303 783.491 221.312 782.727 218.098C777.962 217.637 735.341 217.412 724.191 217.751C723.315 217.777 722.444 217.956 721.671 218.051C721.424 218.521 721.151 218.821 721.124 219.142C721.081 219.658 721.2 220.188 721.246 220.662C722.414 222.086 724.047 222.253 725.603 222.6C738.509 225.481 751.414 228.362 764.319 231.244ZM713.052 230.43C724.089 230.416 735.128 230.513 747.3 230.372C743.686 228.438 740.782 228.386 738.084 227.645C735.326 226.887 732.488 226.429 729.696 225.793C726.912 225.158 724.141 224.464 721.521 223.834C720.309 222.692 719.273 221.718 718.101 220.615C717.543 220.524 716.845 220.312 716.146 220.31C707.37 220.288 698.594 220.295 689.778 220.295C688.639 220.783 687.495 221.273 686.334 221.77C684.202 221.956 682.175 221.961 680.104 220.894C678.761 220.201 676.993 220.198 675.407 220.139C672.308 220.024 669.324 219.704 667.286 217.426C660.173 216.977 649.904 217.105 645.813 217.703C645.611 218.422 645.214 219.238 645.181 220.067C645.098 222.2 645.176 224.34 645.19 226.48C646.152 227.041 646.911 227.484 647.696 227.943C653.736 227.936 659.735 227.06 665.764 227.365C667.73 227.464 669.694 227.601 671.661 227.7C674.398 227.838 676.971 228.476 679.37 230.406C690.499 230.415 701.776 230.445 713.052 230.43ZM645.973 359.692C645.973 365.252 645.984 370.811 645.967 376.37C645.964 377.52 645.929 378.67 645.893 379.827C646.204 379.759 646.512 379.683 646.815 379.598C646.783 330.645 646.825 281.573 646.526 232.491C646.466 232.514 646.406 232.536 646.347 232.561C646.269 232.594 646.191 232.627 646.113 232.66C645.836 233.92 645.986 235.216 645.986 236.486C645.969 277.556 645.973 318.624 645.973 359.692ZM648.371 232.856C648.371 281.51 648.371 330.006 648.371 378.575C648.57 378.444 648.705 378.404 648.739 378.323C648.805 378.163 648.843 377.98 648.843 377.807C648.824 329.64 648.802 281.473 648.768 233.306C648.768 233.208 648.602 233.111 648.371 232.856ZM651.109 305.227C651.064 281.312 651.096 257.397 650.853 233.466C650.733 233.442 650.612 233.423 650.492 233.415C650.483 233.414 650.474 233.413 650.465 233.412C650.349 234.247 650.41 235.1 650.41 235.94C650.407 282.029 650.414 328.119 650.41 374.208C650.409 375.425 650.382 376.642 650.347 377.868C650.643 377.623 650.918 377.356 651.167 377.059C650.979 353.181 651.153 329.204 651.109 305.227ZM598.465 247.539C599.895 249.374 601.541 251.039 603.073 252.795C607.644 258.036 610.806 264.038 612.099 270.862C612.762 274.36 612.99 277.983 613.017 281.552C613.119 295.536 613.064 309.52 613.066 323.504C613.069 338.923 613.065 354.341 613.084 369.76C613.086 371.55 613.09 373.355 613.306 375.127C614.113 381.755 617.522 385.461 624.034 386.865C625.078 387.09 626.165 387.207 627.232 387.213C633.508 387.243 639.783 387.225 646.059 387.22C646.417 387.22 646.778 387.208 647.133 387.165C654.527 386.267 659.231 382.665 659.95 374.485C660.122 372.525 660.105 370.546 660.106 368.575C660.118 339.889 660.12 311.203 660.117 282.518C660.116 278.387 660.265 274.269 661.184 270.224C662.685 263.623 665.752 257.813 670.176 252.709C671.585 251.084 673.124 249.563 674.449 247.874C678.442 242.784 679.156 237.226 676.685 231.089C670.983 229.328 664.626 228.987 656.226 229.91C656.046 230.624 655.711 231.437 655.659 232.267C655.558 233.875 655.609 235.492 655.609 237.106C655.608 281.39 655.608 325.674 655.608 369.958C655.607 372.285 655.607 374.612 655.607 376.6C654.751 378.403 654.173 380.011 652.276 380.237C650.585 380.438 650.586 382.57 647.929 382.88C647.773 382.846 647.099 382.699 646.376 382.541C645.78 382.761 645.121 383.004 644.14 383.365C643.566 383.205 642.724 382.97 641.683 382.679C641.215 382.804 640.635 382.96 639.967 383.139C639.904 383.206 639.845 383.27 639.78 383.34C639.724 383.302 639.675 383.268 639.621 383.232C639.477 383.27 639.332 383.309 639.182 383.349C638.623 383.18 637.946 382.975 637.211 382.752C636.075 382.889 634.802 383.345 633.694 383.088C632.605 382.836 631.711 382.606 630.658 383.119C630.228 383.328 629.481 383.392 629.122 383.154C627.722 382.229 626.373 383.047 625.039 383.103C624.839 383.03 624.632 383.011 624.509 382.899C623.852 382.305 623.216 381.689 622.471 380.985C620.851 380.978 619.537 380.215 618.402 377.988C618.34 376.526 618.173 374.395 618.172 372.264C618.156 341.247 618.162 310.23 618.162 279.214C618.162 266.126 618.17 253.038 618.141 239.95C618.137 238.014 618.414 236.023 617.487 233.919C612.767 232.773 607.938 233.501 603.167 233.369C600.7 233.301 598.156 233.166 595.704 234.424C594.391 239.305 595.433 243.649 598.465 247.539ZM642.264 315.755C642.265 314.151 642.264 312.546 641.799 310.933C641.764 314.952 641.7 318.971 641.697 322.989C641.686 340.563 641.698 358.136 641.686 375.709C641.685 377.184 641.613 378.663 641.547 380.381C641.867 380.36 642.192 380.336 642.518 380.308C642.384 379.236 642.296 378.156 642.29 377.081C642.24 368.295 642.239 359.508 642.239 350.721C642.239 339.067 642.255 327.411 642.264 315.755ZM641.829 254.725C641.829 266.484 641.829 278.243 641.829 290.003C641.939 290.003 642.049 290.003 642.159 290.003C642.159 278.244 642.159 266.484 642.159 254.725C642.049 254.725 641.939 254.725 641.829 254.725ZM642.077 246.789C642.077 243.408 642.077 240.028 642.077 236.647C641.984 236.663 641.89 236.678 641.797 236.694C641.797 240.057 641.797 243.42 641.797 246.782C641.89 246.785 641.984 246.787 642.077 246.789ZM641.951 296.649C641.951 299.021 641.951 301.393 641.951 303.765C642.002 303.763 642.053 303.76 642.104 303.757C642.104 301.385 642.104 299.012 642.104 296.64C642.052 296.643 642.002 296.646 641.951 296.649ZM637.163 375.438C637.138 353.738 637.145 332.038 637.145 310.338C637.146 287.562 637.149 264.786 637.152 242.01C637.152 240.051 637.152 238.092 637.152 235.347C636.161 236.873 636.429 237.835 636.378 238.715C636.327 239.609 636.362 240.508 636.362 241.405C636.363 282.294 636.363 323.183 636.363 364.073C636.363 369.094 636.373 374.116 636.344 379.137C636.341 379.648 636.363 380.172 636.296 380.692C636.64 380.672 636.982 380.652 637.321 380.63C636.97 378.88 637.165 377.145 637.163 375.438ZM634.856 237.693C634.856 237.439 634.628 237.185 634.328 236.556C634.328 284.241 634.328 331.539 634.328 379.228C634.628 378.597 634.853 378.345 634.853 378.092C634.869 331.292 634.87 284.492 634.856 237.693ZM632.817 376.988C632.789 363.717 632.791 350.446 632.791 337.175C632.792 304.895 632.799 272.615 632.795 240.335C632.795 238.747 632.715 237.159 632.389 235.574C631.779 238.58 631.991 241.611 631.945 244.626C631.898 247.674 631.952 250.723 631.956 253.772C631.96 256.82 631.957 259.869 631.955 262.918C631.953 265.967 631.947 269.015 631.945 272.064C631.943 275.113 631.944 278.161 631.945 281.21C631.947 284.259 631.951 287.308 631.955 290.356C631.959 293.405 631.965 296.453 631.967 299.502C631.97 302.551 631.976 305.599 631.97 308.648C631.965 311.696 631.938 314.745 631.938 317.794C631.938 320.843 631.966 323.892 631.969 326.94C631.973 329.989 631.958 333.037 631.957 336.086C631.956 339.135 631.965 342.184 631.965 345.233C631.965 348.281 631.956 351.33 631.954 354.379C631.952 357.428 631.953 360.477 631.951 363.525C631.949 366.574 631.997 369.624 631.929 372.671C631.867 375.392 632.162 378.131 631.774 380.795C632.157 380.806 632.541 380.81 632.924 380.809C632.668 379.502 632.819 378.229 632.817 376.988ZM630.339 378.251C630.339 331.405 630.339 284.558 630.339 237.712C630.267 237.701 630.195 237.69 630.124 237.679C630.065 238.516 629.954 239.352 629.954 240.189C629.956 284.968 629.966 329.747 629.976 374.526C629.976 375.768 629.976 377.01 629.976 378.251C630.096 378.252 630.218 378.252 630.339 378.251ZM625.058 237.733C624.975 237.676 624.892 237.619 624.808 237.561C624.763 237.731 624.678 237.9 624.678 238.07C624.657 284.114 624.642 330.159 624.627 376.203C624.627 376.905 624.627 377.607 624.627 378.309C625.322 372.967 625.502 255.006 625.058 237.733ZM623.169 242.171C623.169 240.04 623.101 237.91 623.044 234.531C622.06 237.203 622.315 238.743 622.315 240.231C622.303 270.001 622.313 299.771 622.318 329.541C622.32 344.605 622.323 359.669 622.311 374.733C622.31 375.762 622.268 376.793 622.223 377.85C622.451 378.138 622.723 378.386 623.023 378.573C623.103 378.622 623.185 378.669 623.266 378.717C623.206 377.687 623.157 376.642 623.157 375.597C623.15 331.121 623.165 286.646 623.169 242.171ZM620.653 260.107C620.496 262.969 620.725 265.848 620.473 268.719C620.386 269.706 620.297 270.692 620.21 271.679C620.205 287.749 620.202 303.818 620.203 319.887C620.308 320.737 620.342 321.588 620.21 322.444C620.206 322.467 620.206 322.491 620.203 322.514C620.203 322.89 620.203 323.267 620.203 323.643C620.235 323.868 620.278 324.088 620.35 324.297C620.294 324.898 620.246 325.499 620.204 326.101C620.204 329.083 620.205 332.065 620.206 335.047C620.209 335.316 620.209 335.584 620.206 335.853C620.207 342.669 620.208 349.486 620.21 356.303C620.274 357.075 620.311 357.849 620.297 358.626C620.283 359.357 620.249 360.085 620.211 360.814C620.212 364.573 620.211 368.333 620.213 372.093C620.28 372.46 620.366 372.824 620.482 373.181C620.589 373.507 620.722 373.816 620.874 374.113C620.889 373.704 620.899 373.294 620.899 372.885C620.925 329.301 620.92 285.717 620.919 242.132C620.919 240.779 620.897 239.426 620.873 237.771C620.602 238.412 620.418 239.12 620.326 239.885C620.044 242.24 620.61 244.532 620.66 246.876C620.756 251.283 620.601 255.698 620.653 260.107ZM588.134 175.423C588.134 192.803 588.128 210.183 588.142 227.563C588.143 229.335 588.264 231.107 588.35 233.445C589.926 233.656 590.955 233.793 592.092 233.945C595.432 231.443 599.281 231.019 603.303 231.135C607.063 231.243 610.83 231.22 614.591 231.128C617.59 231.054 620.55 232.016 623.559 231.396C624.958 232.341 626.32 231.208 627.682 231.331C628.884 231.439 629.953 231.935 631.303 231.546C632.567 231.182 634.107 231.84 635.419 231.557C636.743 231.272 637.873 231.419 639.213 231.923C640.264 231.562 641.432 231.16 642.78 230.697C643.452 226.438 643.414 222.232 642.787 217.766C641.618 217.559 640.607 217.245 639.59 217.225C636.007 217.152 632.423 217.187 628.839 217.168C627.398 217.16 625.956 217.128 624.533 215.818C624.377 215.088 623.974 214.066 623.967 213.042C623.915 204.442 623.931 195.841 623.936 187.241C623.937 185.798 623.955 184.344 625.516 183.194C628.04 182.268 630.958 183.018 634.029 182.548C634.736 181.83 635.592 180.961 636.625 179.912C638.381 179.727 640.317 179.522 642.167 179.327C642.463 178.964 642.847 178.712 642.876 178.425C643.495 172.182 643.115 165.938 643.13 160.161C641.667 157.903 639.349 159.137 637.742 157.593C636.14 154.947 637.735 151.516 636.561 148.294C635.945 148.135 635.281 147.815 634.616 147.813C620.102 147.775 605.587 147.767 591.072 147.777C590.38 147.778 589.688 147.992 589.161 148.08C587.895 149.417 588.144 150.905 588.14 152.311C588.121 160.014 588.134 167.719 588.134 175.423ZM566.536 236.078C572.28 236.188 577.635 236.203 582.991 236.034C583.663 236.013 584.326 235.706 584.93 235.549C586.043 233.741 585.708 231.913 585.714 230.165C585.749 218.534 585.745 206.903 585.746 195.272C585.747 180.957 585.75 166.642 585.722 152.327C585.718 150.375 585.999 148.387 585.172 146.205C584.506 146.026 583.688 145.627 582.867 145.616C578.215 145.558 573.562 145.58 568.909 145.609C568.225 145.613 567.543 145.801 567.177 145.857C566.08 146.752 566.17 147.694 566.134 148.561C566.077 149.99 566.094 151.423 566.094 152.855C566.094 178.443 566.09 204.031 566.102 229.619C566.103 231.559 565.927 233.522 566.536 236.078ZM359.643 187.611C359.642 196.4 359.639 205.188 359.648 213.977C359.65 215.761 359.702 217.545 359.735 219.542C360.901 219.841 361.885 220.267 362.89 220.324C370.41 220.752 377.934 221.103 385.457 221.486C397.636 222.106 409.813 222.766 421.995 223.334C425.754 223.51 429.525 223.445 433.29 223.482C444.104 223.588 454.719 225.17 465.201 227.755C472.703 229.605 480.319 230.683 488.011 231.396C496.068 232.143 504.127 232.033 512.199 232.103C523.855 232.205 535.508 232.673 547.162 232.991C551.286 233.103 555.409 233.255 559.533 233.341C560.755 233.366 562.037 233.604 563.186 232.792C563.916 232.12 563.795 231.176 563.805 230.308C563.845 227.08 563.835 223.851 563.835 220.623C563.837 198.741 563.844 176.859 563.823 154.977C563.821 153.044 564.076 151.067 563.278 148.573C560.92 148.573 558.956 148.524 556.996 148.581C545.343 148.922 533.691 149.357 522.037 149.62C514.686 149.786 507.329 149.649 499.976 149.755C488.287 149.922 476.735 151.234 465.356 154.001C453.11 156.979 440.698 158.554 428.066 158.437C423.052 158.391 418.033 158.768 413.017 158.968C411.942 159.011 410.871 159.146 409.797 159.196C399.047 159.69 388.297 160.154 377.549 160.674C372.355 160.925 367.164 161.269 361.974 161.596C361.459 161.628 360.954 161.834 360.533 161.937C359.384 163.012 359.669 164.337 359.664 165.549C359.63 172.903 359.644 180.257 359.643 187.611ZM338.287 225.196C342.458 226.051 351.704 226.074 356.594 225.285C357.713 224.126 357.369 222.623 357.374 221.242C357.407 211.563 357.388 201.885 357.389 192.205C357.389 182.168 357.399 172.131 357.389 162.093C357.387 160.327 357.533 158.538 356.956 156.709C355.057 155.696 353.053 156.139 351.138 156.061C348.99 155.973 346.836 156.016 344.685 156.028C342.731 156.038 340.777 156.083 338.593 156.117C338.31 157.317 337.893 158.308 337.874 159.306C337.791 163.785 337.811 168.267 337.81 172.748C337.807 188.342 337.802 203.935 337.822 219.529C337.824 221.456 337.577 223.433 338.287 225.196ZM235.406 159.489C235.404 180.637 235.405 201.785 235.417 222.932C235.418 224.89 235.502 226.848 235.539 228.454C236.748 229.93 238.057 229.768 239.29 229.772C246.101 229.792 252.911 229.791 259.722 229.788C272.803 229.782 285.885 229.716 298.966 229.781C307.819 229.825 316.474 228.785 324.852 225.797C328.221 224.596 331.623 223.488 335.155 222.289C335.708 217.121 335.702 164.389 335.211 159.984C334.946 159.757 334.718 159.427 334.412 159.32C326.814 156.655 319.315 153.625 311.222 152.722C308.378 152.405 305.517 152.044 302.664 152.036C281.693 151.98 260.722 152.007 239.751 152.019C238.692 152.02 237.633 152.13 236.322 152.203C236.028 153.053 235.584 153.837 235.51 154.655C235.366 156.257 235.407 157.876 235.406 159.489ZM213.822 234.143C218.632 234.687 228.212 234.667 232.411 234.155C233.484 233.174 233.23 231.863 233.233 230.647C233.255 220.985 233.254 211.323 233.255 201.661C233.258 185.558 233.263 169.454 233.248 153.351C233.246 151.594 233.495 149.797 232.859 148.067C232.275 147.811 231.815 147.463 231.328 147.418C226.929 147.012 217.663 147.21 214.222 147.735C213.205 148.733 213.393 150.034 213.39 151.258C213.367 159.31 213.371 167.362 213.37 175.413C213.367 192.948 213.358 210.482 213.379 228.017C213.382 229.95 213.122 231.924 213.822 234.143ZM188.799 233.68C192.83 234.453 203.505 234.6 210.096 233.982C210.3 233.282 210.66 232.486 210.741 231.664C210.864 230.423 210.802 229.162 210.802 227.91C210.804 203.217 210.805 178.525 210.797 153.832C210.797 152.057 210.722 150.283 210.682 148.518C210.051 148.187 209.604 147.76 209.138 147.737C202.769 147.418 196.398 147.554 189.807 147.611C189.536 147.649 189.282 147.688 189.043 147.73C188.758 148.83 188.344 149.781 188.332 150.735C188.259 156.46 188.282 162.186 188.282 167.912C188.282 187.952 188.274 207.993 188.305 228.033C188.308 229.945 187.955 231.937 188.799 233.68ZM179.168 229.597C181.386 230.133 183.293 230.13 185.489 229.593C185.658 228.777 185.886 227.949 185.988 227.106C186.074 226.399 186.019 225.674 186.019 224.958C186.021 202.381 186.028 179.804 186.01 157.228C186.009 155.651 186.268 154.018 185.45 152.282C183.411 151.721 181.38 151.722 179.159 152.29C179.002 153.126 178.795 153.801 178.76 154.484C178.334 162.909 178.643 225.415 179.168 229.597ZM154.049 218.613C154.065 220.023 154.212 221.432 154.285 222.625C155.78 224.284 157.491 224.799 159.308 224.808C164.495 224.834 169.683 224.766 174.87 224.702C175.178 224.698 175.483 224.411 176.005 224.147C176.707 222.804 176.441 221.172 176.445 219.604C176.471 209.759 176.457 199.914 176.457 190.069C176.457 181.119 176.466 172.169 176.449 163.219C176.446 161.451 176.34 159.683 176.286 158.034C173.295 156.707 172.683 156.655 161.865 156.896C159.367 156.952 156.818 156.858 154.493 158.781C153.833 164.077 153.678 185.791 154.049 218.613ZM15.4507 237.814C17.3467 237.931 18.9286 238.107 20.5116 238.113C27.8606 238.142 35.2206 238.364 42.5546 238.044C48.0836 237.802 53.5986 236.965 59.0886 236.182C70.2587 234.588 81.4066 232.85 92.5646 231.175C103.014 229.606 113.466 228.046 123.914 226.472C132.238 225.218 140.559 223.951 148.88 222.679C149.573 222.573 150.254 222.385 150.779 222.27C152.073 220.942 151.748 219.438 151.754 218.048C151.788 210.341 151.771 202.635 151.771 194.928C151.771 185.07 151.782 175.213 151.76 165.356C151.756 163.592 151.615 161.827 151.54 160.111C149.935 159.029 148.288 158.928 146.748 158.694C136.124 157.079 125.485 155.561 114.855 153.986C104.402 152.438 93.9525 150.865 83.5026 149.295C71.1035 147.432 58.7067 145.554 46.3057 143.707C45.2477 143.549 44.1626 143.516 43.0906 143.514C35.0245 143.501 26.9586 143.501 18.8926 143.522C17.8466 143.525 16.8016 143.674 16.1876 143.722C14.9326 144.623 14.8926 145.552 14.8816 146.428C14.8386 149.832 14.8466 153.238 14.8456 156.643C14.8386 181.375 14.8276 206.108 14.8336 230.841C14.8367 232.964 14.6146 235.117 15.4507 237.814ZM2.65466 288.423C2.81067 289.615 3.3136 290.761 3.65759 291.909C6.83557 293.362 9.18054 293.378 11.2356 291.514C12.2115 289.951 12.0986 288.312 12.1086 286.706C12.1327 282.94 12.1266 279.173 12.1266 275.406C12.1266 216.396 12.1277 157.385 12.1136 98.3748C12.1136 95.8798 11.9706 93.3848 11.9016 91.1058C9.45264 88.2268 6.91162 87.9818 3.67566 89.9578C3.39771 90.7928 2.82458 91.9238 2.67358 93.1088C2.47058 94.6988 2.57959 96.3308 2.57959 97.9448C2.57458 160.004 2.57166 222.063 2.57166 284.123C2.5697 285.558 2.4696 287.01 2.65466 288.423Z");
			attr(path1, "fill", "white");
			attr(path2, "d", "M922.568 271.291C921.396 271.232 919.989 271.162 918.71 271.098C910.749 275.443 902.514 275.541 894.098 273.49C891.627 272.888 889.432 271.717 887.711 269.761C886.826 268.755 886.412 267.647 886.807 265.781C888.838 262.444 892.102 261.114 895.676 260.335C903.62 258.603 911.315 259.123 918.432 262.995C919.998 262.743 921.384 262.519 922.567 262.329C924.946 263.394 926.303 264.873 926.288 267.232C925.78 269.222 924.568 270.436 922.568 271.291ZM899.517 263.997C902.101 264.739 904.7 264.669 907.354 263.997C904.742 263.997 902.129 263.997 899.517 263.997ZM911.689 264.667C911.325 266.689 911.83 268.295 909.907 269.307C905.802 269.523 901.372 269.671 897.294 269.283C895.408 268.231 895.964 266.614 895.604 265.143C893.869 264.744 892.596 265.539 891.467 266.642C891.221 267.54 891.652 268.136 892.326 268.399C893.644 268.915 894.992 269.51 896.375 269.674C901.171 270.24 905.992 270.265 910.796 269.716C912.747 269.493 914.668 269.049 916.204 267.42C915.532 265.256 913.607 265.387 911.689 264.667Z");
			attr(path2, "fill", "white");
			attr(path3, "d", "M902.09 246.199C898.453 244.472 896.496 240.608 897.454 236.941C898.024 234.759 899.469 233.187 901.301 231.996C903.393 230.636 905.67 230.677 908.257 231.472C913.053 235.355 914.268 238.939 912.141 242.502C909.887 246.274 905.584 247.858 902.09 246.199ZM905.177 232.916C901.622 233.186 899.616 235.056 899.181 238.836C899.275 240.426 899.8 242.081 901.444 243.693C902.426 244.027 903.751 244.479 904.691 244.8C908.681 244.543 910.724 242.731 911.064 238.706C910.948 235.301 908.934 233.268 905.177 232.916Z");
			attr(path3, "fill", "white");
			attr(path4, "d", "M926.792 276.411C927.623 274.999 928.714 273.874 930.401 273.459C932.209 273.499 933.508 274.454 934.169 276.005C934.549 276.897 934.37 278.026 934.447 279.092C933.654 279.746 932.937 280.337 932.186 280.957C932.147 281.001 932.11 281.043 932.071 281.088C932.056 281.088 932.042 281.088 932.027 281.088C931.792 281.282 931.555 281.478 931.308 281.681C927.122 280.278 926.867 279.958 926.792 276.411Z");
			attr(path4, "fill", "white");
			attr(path5, "d", "M879.467 279.956C879.373 279.936 879.287 279.913 879.197 279.891C879.151 279.917 879.106 279.943 879.06 279.969C878.864 279.882 878.677 279.794 878.494 279.705C875.721 278.889 874.722 277.48 875.168 274.806C875.938 274.037 876.926 273.053 877.719 272.263C879.957 271.871 880.996 272.453 881.894 273.426C882.802 274.41 883.207 275.521 882.849 276.938C882.209 278.426 880.999 279.39 879.467 279.956Z");
			attr(path5, "fill", "white");
			attr(path6, "d", "M1231.49 172.748C1233.07 170.336 1234.07 167.802 1236.28 165.93C1238.88 165.503 1241.53 165.631 1244.2 165.971C1255.02 167.347 1265.85 168.668 1276.68 170.02C1282.18 170.707 1287.68 171.41 1293.18 172.118C1294.25 172.257 1295.3 172.503 1295.83 173.666C1295.83 175.76 1295.83 177.868 1295.83 180.084C1295.08 180.395 1294.45 180.826 1293.79 180.893C1292.37 181.037 1290.94 181.024 1289.51 181.025C1272.33 181.034 1255.15 181.039 1237.97 181.031C1236.19 181.03 1234.42 180.946 1232.63 180.901C1232.15 180.43 1231.77 180.06 1231.27 179.576C1231.82 178.011 1232.34 176.557 1232.77 175.324C1232.26 174.284 1231.88 173.522 1231.49 172.748ZM1292.45 178.426C1293.86 177.368 1293.49 176.264 1293.44 175.209C1292.46 173.905 1290.92 173.952 1289.56 173.774C1283 172.915 1276.42 172.159 1269.86 171.347C1262.05 170.381 1254.24 169.384 1246.43 168.427C1244.87 168.235 1243.28 167.814 1241.3 168.537C1241.3 169.711 1241.3 170.575 1241.3 171.333C1241.74 171.645 1242 171.988 1242.31 172.034C1247.26 172.766 1252.21 173.503 1257.17 174.152C1264.79 175.149 1272.42 176.099 1280.06 177.031C1284.29 177.547 1288.53 177.987 1292.45 178.426ZM1239.32 178.532C1240.37 178.696 1241.43 178.834 1242.49 178.835C1250.86 178.846 1259.23 178.829 1267.6 178.803C1268.47 178.801 1269.33 178.683 1270.22 178.363C1265.3 177.068 1260.25 176.691 1255.26 176.084C1250.34 175.486 1245.44 174.518 1240.38 174.47C1239.66 175.673 1239.06 176.699 1238.49 177.66C1238.89 178.094 1239.08 178.494 1239.32 178.532ZM1238.12 171.093C1238.83 170.381 1238.76 169.658 1238.17 168.916C1237.46 169.628 1237.46 170.348 1238.12 171.093ZM1237.13 175.004C1237.02 175.02 1236.85 175.001 1236.82 175.061C1236.78 175.126 1236.76 175.205 1236.74 175.287C1236.87 175.193 1237 175.098 1237.13 175.004ZM1235.21 177.726C1236.51 177.442 1236.64 176.524 1236.62 175.521C1235.66 175.917 1235.05 176.535 1235.21 177.726Z");
			attr(path6, "fill", "white");
			attr(path7, "d", "M1232.63 200.972C1234.29 200.912 1236.06 200.793 1237.83 200.792C1255.18 200.784 1272.52 200.793 1289.87 200.805C1291.12 200.806 1292.39 200.745 1293.62 200.931C1294.41 201.052 1295.15 201.571 1295.81 201.863C1295.81 204.282 1295.81 206.389 1295.81 208.719C1294.54 209.115 1293.41 209.649 1292.22 209.81C1286.38 210.605 1280.53 211.318 1274.67 212.03C1264.21 213.302 1253.73 214.511 1243.27 215.842C1240.95 216.138 1238.68 216.211 1236.39 215.925C1234.04 213.982 1232.92 211.35 1231.56 208.892C1231.98 207.968 1232.34 207.18 1232.75 206.27C1232.29 205.057 1231.8 203.757 1231.32 202.499C1231.79 201.946 1232.13 201.552 1232.63 200.972ZM1241.33 213.325C1242.1 213.554 1242.44 213.773 1242.76 213.734C1259.09 211.705 1275.41 209.658 1291.73 207.588C1292.24 207.524 1292.7 207.212 1293.1 207.053C1293.7 205.932 1293.71 204.942 1293.06 203.974C1292.74 203.833 1292.41 203.539 1292.11 203.574C1275.95 205.454 1259.79 207.356 1243.64 209.284C1242.96 209.365 1242.31 209.716 1241.85 209.87C1240.85 211.001 1241.16 212.057 1241.33 213.325ZM1240.36 207.203C1241.15 207.268 1241.69 207.404 1242.21 207.341C1251.28 206.23 1260.35 205.116 1269.41 203.942C1270.5 203.801 1271.55 203.391 1272.81 203.008C1271.75 202.917 1270.52 202.835 1269.17 202.762C1255.57 202.43 1242.83 202.613 1237.99 203.315C1238.99 204.953 1239.7 206.121 1240.36 207.203ZM1238.13 212.927C1238.83 212.224 1238.75 211.513 1238.17 210.786C1237.49 211.487 1237.46 212.195 1238.13 212.927ZM1236.67 206.647C1236.84 205.61 1236.84 205.59 1235.62 204.576C1235.5 205.485 1235.78 206.203 1236.67 206.647ZM1235.18 204.355C1235.26 204.408 1235.37 204.42 1235.48 204.43C1235.36 204.284 1235.24 204.137 1235.12 203.991C1235.14 204.118 1235.11 204.31 1235.18 204.355Z");
			attr(path7, "fill", "white");
			attr(path8, "d", "M1161.01 146.377C1163.29 144.832 1165.75 144.915 1168.03 146.454C1170.35 148.023 1171.85 150.159 1171.89 153.182C1171.1 157.013 1168.77 159.376 1164.64 160.248C1161.45 159.869 1159.37 158.363 1157.92 155.92C1156.62 153.722 1156.6 151.458 1158.03 149.37C1158.82 148.224 1159.86 147.154 1161.01 146.377ZM1165.54 157.475C1164.83 156.721 1164.14 156.73 1163.45 157.503C1164.16 158.19 1164.85 158.233 1165.54 157.475ZM1159.9 154.473C1161.78 154.535 1163.52 154.633 1165.27 154.636C1166.48 154.638 1167.69 154.508 1168.86 154.44C1170.33 152.252 1169.56 150.54 1168.23 149.018C1166.83 147.421 1163.9 147.025 1161.87 148.131C1161.13 148.532 1160.42 149.185 1159.97 149.893C1159.18 151.124 1158.99 152.515 1159.9 154.473Z");
			attr(path8, "fill", "white");
			attr(path9, "d", "M1117.37 146.551C1119.72 144.857 1122.54 144.817 1124.81 146.575C1126.04 147.532 1127.01 148.826 1127.84 149.69C1127.9 150.123 1127.95 150.52 1128 150.887L1128 150.889C1128 150.892 1128 150.895 1128 150.899C1128.41 154.166 1128.28 154.968 1127.37 156.297C1125.91 158.448 1123.96 159.877 1121.06 160.231C1118.32 159.904 1116.49 158.589 1115.05 156.674C1113.26 154.306 1113.26 151.119 1115.1 148.77C1115.75 147.942 1116.52 147.165 1117.37 146.551ZM1122.3 157.476C1121.45 156.634 1120.61 156.627 1119.76 157.475C1120.61 158.255 1121.45 158.285 1122.3 157.476ZM1116.45 154.363C1119.65 154.879 1122.47 154.567 1124.97 154.609C1126.57 153.498 1126.43 152.324 1126.05 151.041C1125.61 149.567 1124.74 148.452 1123.32 147.941C1121.39 147.242 1119.41 147.27 1117.73 148.618C1116 150.002 1115.73 151.851 1116.45 154.363Z");
			attr(path9, "fill", "white");
			attr(path10, "d", "M1182.36 149.646C1184.26 149.957 1185.44 151.128 1186.11 152.73C1186.49 154.447 1185.88 155.69 1184.67 156.57C1184 157.062 1183.1 157.498 1182.3 157.496C1181.5 157.494 1180.6 157.056 1179.94 156.556C1178.74 155.664 1178.13 154.416 1178.59 152.48C1179.27 151.179 1180.36 149.891 1182.36 149.646ZM1180.9 154.348C1181.9 154.633 1182.38 154.769 1182.78 154.884C1184.13 153.639 1183.43 152.993 1182.4 152.144C1181.95 152.542 1181.57 152.88 1180.85 153.504C1180.87 153.76 1180.89 154.042 1180.9 154.348Z");
			attr(path10, "fill", "white");
			attr(path11, "d", "M868.342 333.012C868.84 323.35 869.254 313.683 869.731 304.02C869.802 302.591 869.957 301.16 870.188 299.748C870.299 299.072 870.678 298.44 870.861 297.978C872.707 296.694 874.519 297.194 876.282 297.3C885.94 297.877 895.597 298.472 905.256 299.046C912.231 299.461 919.208 299.849 926.184 300.257C927.447 300.331 928.7 300.462 929.756 301.884C930.417 303.46 930.155 305.454 930.158 307.402C930.204 334.104 930.227 360.806 930.255 387.509C930.256 388.405 930.172 389.308 930.257 390.196C930.747 395.329 925.877 400.898 919.959 401.242C918.35 401.336 916.735 401.362 915.123 401.362C903.115 401.366 891.107 401.359 879.099 401.346C877.845 401.345 876.581 401.379 875.34 401.238C872.974 400.968 870.865 400.095 869.072 398.444C866.4 395.983 865.074 393.032 865.28 389.366C865.783 380.422 866.222 371.474 866.708 362.529C867.243 352.689 867.835 342.853 868.342 333.012ZM927.099 393.646C927.23 393.348 927.97 391.038 927.971 390.167C928.018 362.185 927.894 334.205 927.836 306.339C927.86 306.287 927.881 306.233 927.906 306.181C928.031 305.92 927.858 303.611 927.636 302.868C927.458 302.785 927.3 302.712 927.157 302.645C926.927 302.849 926.699 302.957 926.699 303.065C926.67 333.593 926.656 364.12 926.643 394.502C926.811 394.229 926.968 393.947 927.099 393.646ZM922.204 398.144C922.592 397.967 922.974 397.776 923.344 397.564C923.406 397.59 923.469 397.618 923.532 397.65C923.528 397.586 923.526 397.522 923.522 397.459C924.568 396.836 925.504 396.06 926.228 395.109C925.798 395.458 925.466 395.727 925.076 396.044C924.695 395.662 924.086 395.341 924.039 394.952C923.844 393.362 923.752 391.752 923.747 390.149C923.723 381.185 923.735 372.221 923.735 363.257C923.736 345.687 923.729 328.118 923.748 310.548C923.751 307.908 923.885 305.267 923.964 302.415C923.346 302.415 922.726 302.415 922.092 302.415C922.296 305.582 922.375 386.687 922.204 398.144ZM908.515 399.171C910.498 399.836 912.594 398.716 914.804 399.896C914.813 399.895 914.821 399.894 914.83 399.894C914.83 391.136 914.83 383.123 914.829 375.109C914.829 367.041 914.826 358.972 914.825 350.904C914.824 343.015 914.791 335.125 914.833 327.236C914.876 319.201 914.656 311.158 914.963 303.335C915.592 303.073 915.779 302.917 915.911 302.954C916.368 303.086 916.807 303.285 917.494 303.551C917.945 310.004 917.639 316.443 917.699 322.872C917.757 329.147 917.718 335.423 917.717 341.699C917.716 348.154 917.709 354.609 917.709 361.064C917.708 367.34 917.724 373.615 917.709 379.891C917.694 386.308 917.65 392.725 917.618 399.233C918.025 399.233 918.435 399.233 918.947 399.233C919.013 399.217 919.079 399.203 919.145 399.187C919.216 399.17 919.288 399.15 919.36 399.132C919.36 366.766 919.36 334.45 919.36 301.946C915.725 301.344 912.234 301.461 908.515 301.443C908.515 334.11 908.515 366.486 908.515 399.171ZM904.061 399.246C904.66 399.246 905.18 399.246 905.825 399.246C905.487 390.996 905.696 382.797 905.656 374.598C905.617 366.53 905.643 358.463 905.643 350.395C905.643 342.148 905.632 333.901 905.652 325.654C905.672 317.619 905.542 309.582 905.792 301.435C905.298 301.435 904.801 301.435 904.061 301.435C904.061 334.067 904.061 366.618 904.061 399.246ZM901.365 399.241C900.974 392.587 901.181 386.004 901.149 379.422C901.118 372.977 901.145 366.531 901.145 360.085C901.145 353.46 901.144 346.836 901.143 340.211C901.142 333.766 901.118 327.32 901.148 320.874C901.179 314.289 901 307.703 901.323 300.887C900.741 300.887 900.144 300.887 899.609 300.887C899.692 311.977 899.645 322.875 899.651 333.773C899.658 344.695 899.658 355.616 899.651 366.538C899.645 377.416 899.707 388.293 899.597 399.24C900.147 399.241 900.666 399.241 901.365 399.241ZM896.703 399.128C896.703 382.708 896.698 366.285 896.704 349.863C896.711 333.604 896.683 317.346 896.728 300.608C896.127 300.608 895.618 300.608 895.141 300.608C895.141 308.904 895.141 317.102 895.141 325.3C895.141 333.529 895.142 341.759 895.142 349.988C895.143 358.038 895.193 366.089 895.128 374.139C895.062 382.344 895.411 390.554 894.863 398.794C895.29 399.647 895.991 399.293 896.703 399.128ZM892.282 399.941C892.282 366.442 892.282 333.704 892.282 300.421C891.542 300.495 891.04 300.546 890.448 300.605C890.43 332.913 890.478 365.135 890.42 397.322C889.62 397.671 889.181 397.862 888.785 398.035C887.664 396.973 887.811 395.674 887.805 394.448C887.774 388.53 887.771 382.612 887.771 376.694C887.771 353.201 887.775 329.708 887.778 306.215C887.778 304.443 887.778 302.67 887.778 300.727C887.235 300.646 886.807 300.581 886.424 300.524C886.271 300.789 886.167 300.938 886.096 301.101C886.027 301.259 885.948 301.43 885.948 301.596C885.942 334.023 885.942 366.451 885.942 399.177C887.932 399.846 890.042 398.693 892.282 399.941ZM881.429 399.057C882.041 399.144 882.654 399.223 883.267 399.297C882.955 392.653 883.105 386.108 883.086 379.562C883.068 372.939 883.077 366.317 883.077 359.695C883.076 353.073 883.079 346.45 883.081 339.828C883.083 333.206 883.047 326.583 883.099 319.961C883.151 313.368 882.818 306.77 883.372 300.179C882.884 299.363 882.242 299.632 881.429 299.951C881.429 332.95 881.429 365.967 881.429 399.057ZM878.603 398.779C878.586 390.629 878.563 382.557 878.555 374.485C878.546 366.055 878.552 357.625 878.551 349.195C878.55 340.945 878.526 332.694 878.556 324.444C878.587 316.225 878.406 308.003 878.7 299.669C878.273 299.598 877.789 299.518 877.058 299.397C877.058 310.567 877.058 321.604 877.058 332.641C877.058 343.582 877.069 354.523 877.056 365.464C877.043 376.332 877.122 387.204 876.998 398.562C877.526 398.659 878.063 398.729 878.603 398.779ZM870.387 336.248C872.008 338.099 872.552 340.31 872.551 342.705C872.551 345.566 872.562 348.427 872.563 351.287C872.567 364.161 872.574 377.035 872.565 389.908C872.564 391.861 872.488 393.814 872.445 395.857C872.213 396.032 871.995 396.195 871.783 396.355C872.188 396.637 872.477 396.816 872.522 396.834C872.423 397.085 873.733 397.51 873.811 397.547C873.929 397.604 874.048 397.659 874.167 397.711C874.167 365.109 874.167 332.504 874.167 299.596C873.791 299.527 873.171 299.413 872.655 299.318C872.319 299.831 871.993 300.102 871.969 300.398C871.926 300.921 871.888 301.444 871.846 301.966C871.556 306.898 871.019 317.023 870.513 326.581C870.422 329.817 870.363 333.056 870.343 336.295C870.48 336.391 870.355 336.249 870.387 336.248ZM868.38 392.758C868.521 393.389 869.107 394.105 869.796 394.759C869.709 394.111 869.708 393.438 869.709 392.764C869.718 386.346 869.742 379.928 869.705 373.51C869.679 369.067 869.564 364.624 869.484 359.983C869.159 360.265 868.995 360.338 868.989 360.423C868.834 362.431 868.67 364.44 868.508 366.448C868.08 376.945 867.667 388.053 867.566 390.887C867.534 391.738 868.249 392.992 868.38 392.758Z");
			attr(path11, "fill", "white");
			attr(path12, "d", "M698.382 145.479C697.639 147.508 696.492 148.945 693.981 149.253C691.949 148.695 690.47 147.432 690.347 144.934C690.851 142.784 692.237 141.611 694.313 141.101C696.637 141.746 698.026 143.113 698.382 145.479ZM694.05 145.664C694.253 145.74 694.589 145.462 694.867 145.339C694.744 145.07 694.62 144.802 694.497 144.534C694.204 144.652 693.914 144.77 693.623 144.889C693.76 145.162 693.84 145.584 694.05 145.664Z");
			attr(path12, "fill", "white");
			attr(path13, "d", "M904.505 242.439C902.721 242.149 901.205 240.239 901.483 238.61C901.86 236.394 903.265 235.231 905.537 235.154C907.641 235.808 908.934 237.055 908.834 239.491C908.091 241.414 906.87 242.823 904.505 242.439ZM904.938 237.174C904.538 237.485 904.009 237.897 903.651 238.176C903.38 239.533 904.008 240.096 905.54 240.932C906.198 240.371 906.714 239.931 906.815 239.846C906.78 237.987 906.18 237.442 904.938 237.174Z");
			attr(path13, "fill", "white");
			attr(path14, "d", "M566.563 236.046C572.307 236.156 577.662 236.171 583.018 236.002C583.69 235.981 584.353 235.674 584.957 235.517C586.07 233.709 585.735 231.881 585.741 230.133C585.776 218.502 585.772 206.871 585.773 195.24C585.774 180.925 585.777 166.61 585.749 152.295C585.745 150.343 586.026 148.355 585.199 146.173C584.533 145.994 583.715 145.595 582.894 145.584C578.242 145.526 573.589 145.548 568.936 145.577C568.252 145.581 567.57 145.769 567.204 145.825C566.107 146.72 566.197 147.662 566.161 148.529C566.104 149.958 566.121 151.391 566.121 152.823C566.121 178.411 566.117 203.999 566.129 229.587C566.13 231.527 565.954 233.49 566.563 236.046ZM359.67 187.579C359.669 196.368 359.666 205.156 359.675 213.945C359.677 215.729 359.729 217.513 359.762 219.51C360.928 219.809 361.912 220.235 362.917 220.292C370.437 220.72 377.961 221.071 385.484 221.454C397.663 222.074 409.84 222.734 422.022 223.302C425.781 223.478 429.552 223.413 433.317 223.45C444.131 223.556 454.746 225.138 465.228 227.723C472.73 229.573 480.346 230.651 488.038 231.364C496.095 232.111 504.154 232.001 512.226 232.071C523.882 232.173 535.535 232.641 547.189 232.959C551.313 233.071 555.436 233.223 559.56 233.309C560.782 233.334 562.064 233.572 563.213 232.76C563.943 232.088 563.822 231.144 563.832 230.276C563.872 227.048 563.862 223.819 563.862 220.591C563.864 198.709 563.871 176.827 563.85 154.945C563.848 153.012 564.103 151.035 563.305 148.541C560.947 148.541 558.983 148.492 557.023 148.549C545.37 148.89 533.718 149.325 522.064 149.588C514.713 149.754 507.356 149.617 500.003 149.723C488.314 149.89 476.762 151.202 465.383 153.969C453.137 156.947 440.725 158.522 428.093 158.405C423.079 158.359 418.06 158.736 413.044 158.936C411.969 158.979 410.898 159.114 409.824 159.164C399.074 159.658 388.324 160.122 377.576 160.642C372.382 160.893 367.191 161.237 362.001 161.564C361.486 161.596 360.981 161.802 360.56 161.905C359.411 162.98 359.696 164.305 359.691 165.517C359.657 172.871 359.671 180.225 359.67 187.579ZM338.314 225.164C342.485 226.019 351.731 226.042 356.621 225.253C357.74 224.094 357.396 222.591 357.401 221.21C357.434 211.531 357.415 201.853 357.416 192.173C357.416 182.136 357.426 172.099 357.416 162.061C357.414 160.295 357.56 158.506 356.983 156.677C355.084 155.664 353.08 156.107 351.165 156.029C349.017 155.941 346.863 155.984 344.712 155.996C342.758 156.006 340.804 156.051 338.62 156.085C338.337 157.285 337.92 158.276 337.901 159.274C337.818 163.753 337.838 168.235 337.837 172.716C337.834 188.31 337.829 203.903 337.849 219.497C337.851 221.424 337.604 223.401 338.314 225.164ZM235.433 159.457C235.431 180.605 235.432 201.753 235.444 222.9C235.445 224.858 235.529 226.816 235.566 228.422C236.775 229.898 238.084 229.736 239.317 229.74C246.128 229.76 252.938 229.759 259.749 229.756C272.83 229.75 285.912 229.684 298.993 229.749C307.846 229.793 316.501 228.753 324.879 225.765C328.248 224.564 331.65 223.456 335.182 222.257C335.735 217.089 335.729 164.357 335.238 159.952C334.973 159.725 334.745 159.395 334.439 159.288C326.841 156.623 319.342 153.593 311.249 152.69C308.405 152.373 305.544 152.012 302.691 152.004C281.72 151.948 260.749 151.975 239.778 151.987C238.719 151.988 237.66 152.098 236.349 152.171C236.055 153.021 235.611 153.805 235.537 154.623C235.393 156.225 235.434 157.844 235.433 159.457ZM213.849 234.111C218.659 234.655 228.239 234.635 232.438 234.123C233.511 233.142 233.257 231.831 233.26 230.615C233.282 220.953 233.281 211.291 233.282 201.629C233.285 185.526 233.29 169.422 233.275 153.319C233.273 151.562 233.522 149.765 232.886 148.035C232.302 147.779 231.842 147.431 231.355 147.386C226.956 146.98 217.69 147.178 214.249 147.703C213.232 148.701 213.42 150.002 213.417 151.226C213.394 159.278 213.398 167.33 213.397 175.381C213.394 192.916 213.385 210.45 213.406 227.985C213.409 229.918 213.149 231.892 213.849 234.111ZM188.826 233.648C192.857 234.421 203.532 234.568 210.123 233.95C210.327 233.25 210.687 232.454 210.768 231.632C210.891 230.391 210.829 229.13 210.829 227.878C210.831 203.185 210.832 178.493 210.824 153.8C210.824 152.025 210.749 150.251 210.709 148.486C210.078 148.155 209.631 147.728 209.165 147.705C202.796 147.386 196.425 147.522 189.834 147.579C189.563 147.617 189.309 147.656 189.07 147.698C188.785 148.798 188.371 149.749 188.359 150.703C188.286 156.428 188.309 162.154 188.309 167.88C188.309 187.92 188.301 207.961 188.332 228.001C188.335 229.913 187.982 231.905 188.826 233.648ZM179.195 229.565C181.413 230.101 183.32 230.098 185.516 229.561C185.685 228.745 185.913 227.917 186.015 227.074C186.101 226.367 186.046 225.642 186.046 224.926C186.048 202.349 186.055 179.772 186.037 157.196C186.036 155.619 186.295 153.986 185.477 152.25C183.438 151.689 181.407 151.69 179.186 152.258C179.029 153.094 178.822 153.769 178.787 154.452C178.361 162.877 178.67 225.383 179.195 229.565ZM154.076 218.581C154.092 219.991 154.239 221.4 154.312 222.593C155.807 224.252 157.518 224.767 159.335 224.776C164.522 224.802 169.71 224.734 174.897 224.67C175.205 224.666 175.51 224.379 176.032 224.115C176.734 222.772 176.468 221.14 176.472 219.572C176.498 209.727 176.484 199.882 176.484 190.037C176.484 181.087 176.493 172.137 176.476 163.187C176.473 161.419 176.367 159.651 176.313 158.002C173.322 156.675 172.71 156.623 161.892 156.864C159.394 156.92 156.845 156.826 154.52 158.749C153.86 164.045 153.705 185.759 154.076 218.581ZM15.4778 237.782C17.3738 237.899 18.9557 238.075 20.5387 238.081C27.8877 238.11 35.2477 238.332 42.5817 238.012C48.1107 237.77 53.6257 236.933 59.1157 236.15C70.2857 234.556 81.4337 232.818 92.5917 231.143C103.041 229.574 113.493 228.014 123.941 226.44C132.265 225.186 140.586 223.919 148.907 222.647C149.6 222.541 150.281 222.353 150.806 222.238C152.1 220.91 151.775 219.406 151.781 218.016C151.815 210.309 151.798 202.603 151.798 194.896C151.798 185.038 151.809 175.181 151.787 165.324C151.783 163.56 151.642 161.795 151.567 160.079C149.962 158.997 148.315 158.896 146.775 158.662C136.151 157.047 125.512 155.529 114.882 153.954C104.429 152.406 93.9797 150.833 83.5297 149.263C71.1307 147.4 58.7338 145.522 46.3328 143.675C45.2748 143.517 44.1897 143.484 43.1177 143.482C35.0517 143.469 26.9857 143.469 18.9197 143.49C17.8737 143.493 16.8287 143.642 16.2147 143.69C14.9597 144.591 14.9197 145.52 14.9087 146.396C14.8657 149.8 14.8737 153.206 14.8727 156.611C14.8657 181.343 14.8547 206.076 14.8607 230.809C14.8637 232.932 14.6418 235.085 15.4778 237.782ZM2.68176 288.391C2.83777 289.583 3.3407 290.729 3.68469 291.877C6.86267 293.33 9.2077 293.346 11.2627 291.482C12.2387 289.919 12.1257 288.28 12.1357 286.674C12.1597 282.908 12.1537 279.141 12.1537 275.374C12.1537 216.364 12.1547 157.353 12.1407 98.343C12.1407 95.848 11.9977 93.353 11.9287 91.074C9.47974 88.195 6.93878 87.95 3.70276 89.926C3.42474 90.761 2.85168 91.892 2.70068 93.077C2.49768 94.667 2.60669 96.299 2.60669 97.913C2.60168 159.972 2.59875 222.031 2.59875 284.091C2.59674 285.526 2.49677 286.978 2.68176 288.391Z");
			attr(path14, "fill", "white");
			attr(path14, "fill-opacity", path14_fill_opacity_value = /*highlightParts*/ ctx[0].tube);
			attr(path15, "d", "M1693.79 193.894C1695.98 193.261 1695.98 193.261 1697.38 190.828C1697.04 189.108 1695.9 188.15 1694.32 187.597C1693.1 189.697 1693.1 189.697 1693.79 193.894ZM1681.17 195.336C1683.28 196.085 1685.27 195.771 1687.22 195.792C1688.26 195.803 1689.3 195.614 1690.21 195.526C1691.47 191.549 1691.48 190.633 1690.41 186.534C1686.68 185.456 1686.17 185.439 1681.31 186.283C1680.11 189.253 1680.26 192.307 1681.17 195.336ZM1341.48 217.172C1342.42 218.37 1343.55 218.172 1344.6 218.229C1350.68 218.561 1356.77 218.793 1362.85 219.223C1367.85 219.578 1372.84 220.106 1377.83 220.654C1390.3 222.025 1402.76 223.439 1415.22 224.86C1426.44 226.139 1437.65 227.466 1448.87 228.738C1453.5 229.263 1458.14 229.68 1462.77 230.183C1466.7 230.609 1470.55 231.268 1474.24 232.834C1478.78 234.76 1483.56 235.237 1488.48 234.698C1491.14 234.406 1493.84 234.271 1496.52 234.265C1512.84 234.228 1529.16 234.05 1545.47 234.348C1552.05 234.468 1558.18 233.479 1564.36 231.264C1582.75 224.676 1601.62 219.596 1620.32 213.949C1637.98 208.612 1655.64 203.282 1673.31 197.966C1675.02 197.453 1676.72 196.97 1678.33 195.879C1678.86 192.456 1678.56 189.098 1678.49 186.034C1676.72 184.229 1674.67 184.015 1672.83 183.45C1659.29 179.309 1645.74 175.23 1632.19 171.163C1615.71 166.221 1599.21 161.378 1582.76 156.356C1575.23 154.055 1567.76 151.525 1560.32 148.909C1557.05 147.754 1553.77 147.278 1550.32 147.293C1531.67 147.375 1513.03 147.397 1494.38 147.403C1492.78 147.404 1491.15 147.275 1489.57 146.98C1484.67 146.059 1479.87 146.502 1475.32 148.386C1471.12 150.126 1466.76 150.945 1462.3 151.446C1454.46 152.326 1446.62 153.135 1438.79 154.012C1430.59 154.928 1422.41 155.899 1414.22 156.83C1407.1 157.639 1399.98 158.441 1392.85 159.217C1385.01 160.072 1377.18 160.989 1369.33 161.704C1362.01 162.37 1354.68 162.81 1347.35 163.337C1345.58 163.464 1343.81 163.54 1341.76 163.655C1341.51 164.796 1341.29 165.305 1341.29 165.814C1341.26 182.307 1341.25 198.8 1341.26 215.294C1341.26 215.99 1341.42 216.686 1341.48 217.172ZM1336.15 215.496C1336.76 214.945 1337.21 214.729 1337.21 214.511C1337.24 198.786 1337.24 183.061 1337.2 167.336C1337.2 167.116 1336.76 166.897 1336.5 166.65C1336.31 166.873 1335.97 167.085 1335.96 167.315C1335.67 172.486 1335.83 211.329 1336.15 215.496ZM1313.32 196.071C1313.32 201.979 1313.3 207.888 1313.38 213.795C1313.39 214.784 1313.83 215.767 1314.12 216.929C1320.43 217.046 1326.48 217.007 1332.04 216.939C1333.42 216.102 1333.54 215.212 1333.57 214.315C1333.62 213.064 1333.63 211.81 1333.63 210.557C1333.63 197.13 1333.63 183.702 1333.6 170.275C1333.6 168.687 1333.46 167.1 1333.39 165.542C1332.7 165.229 1332.23 164.835 1331.76 164.831C1326.21 164.785 1320.66 164.791 1315.12 164.81C1314.79 164.811 1314.46 165.034 1314.11 165.16C1313.06 166.147 1313.34 167.469 1313.34 168.68C1313.31 177.809 1313.31 186.941 1313.32 196.071ZM1236.73 151.459C1236.06 153.421 1235.32 155.361 1234.76 157.354C1234.5 158.302 1233.87 159.273 1234.4 160.348C1236.12 158.43 1236.9 156.092 1236.73 151.459ZM1243.68 150.75C1242.84 150.545 1241.94 150.592 1241.17 150.53C1239.07 154.054 1238.21 156.837 1238.01 160.661C1238.31 160.836 1238.61 161.162 1238.92 161.163C1253.55 161.188 1268.18 161.185 1282.81 161.185C1269.96 157.116 1256.81 153.966 1243.68 150.75ZM1240.62 230.907C1241.36 230.99 1241.92 231.202 1242.4 231.085C1255.61 227.877 1268.82 224.637 1281.88 221.439C1282.39 220.3 1281.6 220.359 1281.18 220.31C1280.29 220.204 1279.39 220.204 1278.5 220.203C1266.66 220.195 1254.83 220.189 1242.99 220.2C1241.4 220.202 1239.77 220.034 1237.78 220.97C1238.21 224.678 1239.34 227.826 1240.62 230.907ZM1237.6 231.229C1236.81 225.569 1236.33 224.14 1234.56 221.294C1234.84 225.135 1235.19 226.386 1237.6 231.229ZM1225.89 178.12C1225.89 189.417 1225.89 200.715 1225.9 212.012C1225.9 213.789 1225.95 215.567 1225.99 217.632C1227.15 217.922 1227.65 218.159 1228.15 218.159C1255.04 218.177 1281.93 218.175 1309.08 218.175C1309.39 217.08 1309.9 216.11 1309.93 215.128C1310.03 210.647 1310.01 206.163 1310.01 201.68C1310.02 190.921 1310.02 180.162 1309.99 169.403C1309.99 167.646 1310.24 165.837 1309.34 163.877C1308.55 163.743 1307.71 163.484 1306.86 163.477C1303.1 163.446 1299.33 163.498 1295.56 163.5C1274.4 163.511 1253.24 163.514 1232.08 163.523C1230.31 163.524 1228.54 163.55 1226.56 163.566C1226.31 164.629 1225.95 165.453 1225.94 166.284C1225.87 170.229 1225.89 174.175 1225.89 178.12ZM1221.2 215.279C1222.08 215.419 1222.58 215.498 1223.27 215.607C1223.4 214.457 1223.59 213.417 1223.61 212.374C1224.05 190.718 1223.86 171.075 1223.16 166.021C1222.53 166.147 1221.91 166.271 1221.31 166.39C1221.14 167.131 1220.92 167.645 1220.92 168.158C1220.9 183.019 1220.9 197.881 1220.91 212.742C1220.91 213.44 1221.06 214.136 1221.2 215.279ZM1199.1 213.134C1199.11 214.905 1199.2 216.676 1199.25 218.729C1203.98 219.44 1213.31 219.485 1218.26 218.881C1218.46 217.939 1218.82 216.927 1218.86 215.903C1218.96 213.216 1218.92 210.524 1218.92 207.834C1218.92 194.562 1218.93 181.29 1218.9 168.019C1218.89 166.265 1219.3 164.415 1218.12 162.834C1213.87 162.225 1204.41 162.214 1199.64 162.85C1199.47 163.767 1199.13 164.774 1199.13 165.784C1199.08 173.138 1199.09 180.491 1199.09 187.845C1199.09 196.274 1199.08 204.704 1199.1 213.134Z");
			attr(path15, "fill", "white");
			attr(path15, "fill-opacity", path15_fill_opacity_value = /*highlightParts*/ ctx[0].missile);
			attr(path16, "d", "M1181.24 27.6139C1179.1 27.1989 1177.53 26.8179 1175.85 28.0499C1176.59 34.8679 1177.74 41.7089 1179.05 48.6449C1180.77 49.7029 1182.46 49.3779 1184.05 49.0769C1184.31 48.5219 1184.62 48.1949 1184.58 47.9159C1183.64 41.2029 1182.78 34.4719 1181.24 27.6139ZM1184.72 52.3799C1183.3 51.3759 1181.92 51.6569 1180.23 52.0019C1180.06 52.8999 1179.71 53.9019 1179.7 54.9069C1179.65 61.8959 1179.67 68.8859 1179.67 75.8749C1179.66 94.5139 1179.65 113.152 1179.68 131.79C1179.68 133.733 1179.42 135.714 1180.21 138.191H1184.38C1184.6 137.297 1184.92 136.478 1184.99 135.639C1185.1 134.393 1185.04 133.132 1185.04 131.878C1185.04 107.326 1185.04 82.7729 1185.03 58.2209C1185.03 56.2719 1185.19 54.3039 1184.72 52.3799ZM1165.03 215.869C1165.06 217.077 1165.27 218.281 1165.38 219.373C1169.12 220.417 1173.06 220.544 1190.18 220.211C1191.58 220.184 1193.06 220.454 1194.26 219.398C1194.84 215.287 1194.88 182.579 1194.27 177.306C1192.9 177.829 1191.94 178.337 1190.91 178.549C1189.87 178.764 1188.78 178.727 1187.7 178.73C1182.16 178.745 1176.62 178.737 1170.99 178.737C1169.89 177.733 1168.87 176.793 1167.99 175.989C1167.1 172.236 1168.11 168.622 1167.23 165.037C1166.54 165.206 1166.05 165.324 1165.6 165.433C1164.78 169.711 1164.54 190.75 1165.03 215.869ZM1189.78 167.35C1184.07 166.651 1178.44 167.162 1172.95 167.037C1172.03 170.457 1172.03 170.457 1172.71 173.597C1176.59 174.401 1185.12 174.435 1190.02 173.591C1190.32 171.39 1190.58 169.474 1189.78 167.35ZM1139.13 217.718C1139.68 217.901 1140.32 218.297 1140.97 218.302C1147.6 218.346 1154.23 218.335 1160.86 218.305C1161.36 218.303 1161.86 218.039 1162.32 217.907C1163.49 216.222 1163.06 214.376 1163.07 212.628C1163.1 200.625 1163.08 188.622 1163.08 176.619C1163.08 173.932 1163.11 171.244 1163.06 168.558C1163.04 167.517 1162.83 166.48 1162.75 165.804C1161.74 164.727 1160.81 164.842 1159.95 164.812C1158.69 164.768 1157.44 164.792 1156.18 164.787C1154.21 164.779 1152.22 164.948 1150.28 164.709C1148.54 164.495 1146.86 163.83 1144.97 163.314C1144.08 163.634 1143.09 164.002 1142.1 164.348C1141.11 164.689 1140.12 165.007 1138.96 165.394C1138.87 166.713 1138.74 167.94 1138.72 169.169C1138.35 193.206 1138.5 212.441 1139.13 217.718ZM1146.4 160.317C1145.21 159.373 1145.21 159.373 1143.77 160.22C1145 161.231 1145 161.231 1146.4 160.317ZM1107.36 219.68C1110.97 220.246 1128.04 220.546 1133.95 220.158C1134.63 220.114 1135.3 219.831 1135.95 219.664C1136.13 218.991 1136.38 218.489 1136.38 217.987C1136.4 204.564 1136.39 191.141 1136.39 177.947C1135.48 177.037 1134.86 177.563 1134.31 177.895C1133.19 178.579 1131.97 178.723 1130.7 178.723C1124.79 178.72 1118.88 178.722 1112.77 178.722C1111.74 177.841 1110.69 176.938 1109.52 175.941C1109.4 172.32 1109.29 168.78 1109.18 165.149C1108.4 165.201 1107.89 165.235 1107.17 165.283C1107.04 166.364 1106.81 167.395 1106.79 168.431C1106.29 190.748 1106.54 215.108 1107.36 219.68ZM1131.76 167.836C1131.34 167.57 1131.06 167.238 1130.75 167.217C1125.41 166.861 1120.08 166.92 1114.57 167.208C1113.46 169.357 1113.6 171.386 1114.2 173.475C1116.06 174.657 1118.09 174.081 1120 174.184C1121.79 174.28 1123.58 174.25 1125.37 174.195C1127.32 174.135 1129.29 174.462 1131.68 173.715C1132.21 171.571 1132.22 169.666 1131.76 167.836ZM1139.22 162.402C1139.55 162.401 1139.89 162.204 1140.53 162.005C1141.09 160.458 1141.56 159.133 1142 157.924C1144.09 156.903 1145.98 156.978 1148.12 157.762C1148.67 159.157 1149.24 160.611 1149.82 162.095C1150.35 162.219 1150.87 162.444 1151.39 162.445C1165.2 162.476 1179 162.489 1192.81 162.484C1193.5 162.484 1194.2 162.298 1195.15 162.161C1195.34 161.302 1195.66 160.476 1195.68 159.64C1195.75 157.132 1195.78 154.619 1195.69 152.112C1195.44 145.096 1191.82 141.278 1184.79 140.555C1183.72 140.445 1182.65 140.398 1181.57 140.398C1160.42 140.392 1139.26 140.386 1118.11 140.419C1116.32 140.422 1114.51 140.515 1112.77 140.873C1107.8 141.893 1104.95 144.988 1104.16 149.947C1103.7 152.83 1103.85 158.172 1104.53 161.881C1105.09 162.054 1105.75 162.432 1106.41 162.433C1117.35 162.455 1128.28 162.433 1139.22 162.402ZM1072.14 197.834C1072.14 203.736 1072.12 209.638 1072.16 215.539C1072.17 216.745 1072.41 217.95 1072.53 219.119C1073.28 219.369 1073.78 219.696 1074.26 219.672C1084.05 219.189 1093.85 218.666 1104.15 218.124C1104.36 216.558 1104.59 215.52 1104.63 214.474C1105.05 203.472 1104.77 169.89 1104.22 165.462C1103.34 164.862 1102.32 164.174 1101.37 163.526C1092.14 162.951 1083.04 162.38 1073.94 161.831C1073.61 161.811 1073.27 162.011 1072.91 162.115C1071.79 163.294 1072.16 164.797 1072.16 166.179C1072.12 176.73 1072.14 187.282 1072.14 197.834ZM1017.76 222.43C1018.6 222.645 1019.11 222.889 1019.62 222.89C1035.39 222.926 1051.15 222.943 1066.92 222.939C1067.61 222.939 1068.31 222.72 1069.23 222.565C1069.43 221.721 1069.73 220.9 1069.82 220.058C1069.92 218.993 1069.87 217.911 1069.87 216.836C1069.88 199.46 1069.88 182.084 1069.86 164.708C1069.86 162.931 1070.11 161.121 1069.35 159.129C1068.47 158.957 1067.45 158.589 1066.43 158.587C1051.2 158.552 1035.98 158.555 1020.75 158.591C1019.73 158.594 1018.71 158.936 1017.73 159.114C1017.56 159.869 1017.34 160.38 1017.34 160.892C1017.32 180.775 1017.32 200.658 1017.33 220.541C1017.33 221.05 1017.56 221.559 1017.76 222.43ZM967.668 225.171C966.799 224.62 965.759 223.96 964.675 223.274H958.272C956.922 227.871 957.71 232.155 957.561 236.372C957.532 237.19 957.363 238.189 958.586 238.739C958.912 238.497 959.449 238.29 959.667 237.903C960.818 235.86 962.19 233.994 963.941 232.435C968.913 228.009 974.543 226.774 980.858 229.062C981.527 229.304 982.148 229.68 982.814 229.933C983.306 230.12 983.835 230.209 984.342 230.341C985.162 228.278 985.162 228.278 984.329 225.704C978.944 224.829 973.393 225.708 967.668 225.171ZM998.215 224.531C998.642 224.808 999.231 224.944 999.749 224.952C1004.56 225.031 1009.38 225.356 1013.95 224.759C1015.28 223.576 1014.98 222.246 1014.99 221.038C1015.02 211.716 1015.02 202.393 1015.02 193.071C1015.03 182.852 1015.04 172.633 1015 162.414C1014.99 160.659 1015.34 158.838 1014.36 156.983C1013.78 156.838 1013.11 156.521 1012.43 156.521C998.27 156.512 984.106 156.532 969.942 156.584C969.459 156.586 968.977 156.979 968.457 157.205C968.287 157.73 967.988 158.225 967.987 158.72C967.964 179.515 967.965 200.31 967.988 221.105C967.989 221.605 968.273 222.104 968.395 222.503C969.69 223.698 971.187 223.378 972.586 223.394C979.216 223.467 985.846 223.491 992.476 223.546C994.438 223.562 996.429 223.372 998.215 224.531ZM988.621 226.344V229.901C988.892 229.274 989.147 228.601 989.471 227.964C989.739 227.434 990.089 226.946 990.617 226.094C989.683 226.211 989.23 226.268 988.621 226.344ZM995.339 228.445C995.387 227.739 995.433 227.078 995.496 226.144C994.744 226.082 994.142 226.031 993.505 225.978C993.567 227.363 994.163 228.048 995.339 228.445ZM990.554 252.268C990.89 251.96 991.273 251.775 991.342 251.508C991.458 251.062 991.374 250.563 991.374 249.908C990.922 250.275 990.52 250.439 990.485 250.662C990.408 251.154 990.516 251.675 990.554 252.268ZM991.803 244.335C993.285 241.844 993.855 239.214 993.706 235.542C991.222 234.924 991.222 234.926 989.274 235.945C990.107 238.709 990.955 241.52 991.803 244.335ZM954.038 280.499C954.177 280.394 954.317 280.289 954.456 280.183C954.302 280.192 954.149 280.201 953.995 280.211L954.038 280.499ZM943.278 282.469C944.102 282.637 944.764 282.953 945.345 282.842C946.859 282.554 948.337 282.074 950.559 281.473C947.867 281.007 945.92 280.671 943.747 280.295C943.596 280.956 943.458 281.563 943.265 282.406C943.27 282.428 943.273 282.447 943.278 282.469ZM949.639 278.491C950.524 278.401 951.4 278.191 952.268 277.986C959.582 276.262 966.895 274.53 974.205 272.788C975.249 272.539 976.301 272.292 977.31 271.934C982.64 270.041 986.052 266.374 986.965 260.754C987.769 255.812 988.499 250.833 988.81 245.843C989.157 240.28 987.146 235.517 981.999 232.839C976.652 230.057 971.231 230.4 966.308 233.998C964.921 235.011 963.93 236.632 962.934 238.095C962.143 239.258 961.623 240.605 961.029 241.78C957.4 243.15 953.704 241.825 950.062 242.838C947.79 248.002 947.903 253.223 949.235 258.544C950.537 263.744 953.961 267.691 957.046 271.671C956.984 271.907 956.932 272.103 956.882 272.298C956.901 272.324 956.921 272.349 956.94 272.375C956.908 272.393 956.878 272.413 956.847 272.431C956.792 272.641 956.735 272.859 956.664 273.13C953.891 275.04 950.971 274.154 948.164 272.947C945.322 271.725 943.557 269.152 941.557 266.772C940.523 269.011 940.458 269.456 940.537 270.854C940.852 276.435 945.309 278.932 949.639 278.491ZM946.058 243.803C944.809 244.188 944.16 244.387 943.707 244.527C942.578 245.834 942.102 247.14 942.064 248.619C941.945 253.246 941.82 257.874 941.706 262.203C943.119 264.071 944.343 265.587 945.451 267.183C946.738 269.038 948.493 270.168 950.624 270.724C951.026 270.829 951.538 270.515 952.257 270.326C949.57 266.302 947.016 262.476 945.894 257.87C944.777 253.29 945.343 248.729 946.058 243.803ZM938.999 283.496C940.493 283.498 940.487 282.676 940.626 282.049C940.737 281.548 940.708 281.009 940.695 280.489C940.678 279.797 940.616 279.105 940.554 278.103C939.897 277.91 939.584 277.817 939.112 277.679C938.585 279.676 938.576 281.6 938.999 283.496ZM936.515 279.356C936.88 270.941 937.172 262.524 937.494 254.108C937.563 252.317 937.636 250.526 937.738 248.737C937.909 245.734 939.027 243.187 941.39 241.239C942.067 240.681 942.683 240.051 943.286 239.492C942.662 238.2 942.125 237.091 941.647 236.102C941.938 233.377 943.728 232.351 945.501 231.548C947.584 231.847 948.731 232.879 949.706 234.634C949.641 235.78 949.562 237.17 949.481 238.615C951.236 239.114 952.978 239.138 954.718 238.502C955.765 237.033 955.341 235.377 955.402 233.811C955.472 232.021 955.447 230.226 955.41 228.435C955.377 226.848 955.27 225.262 955.213 224.049C954.365 222.826 953.433 222.843 952.555 222.833C949.329 222.798 946.102 222.798 942.875 222.798C924.591 222.798 906.307 222.794 888.023 222.815C886.269 222.817 884.478 222.574 882.74 223.145C882.947 224.858 884.545 226.063 883.501 228.949C883.308 229.436 882.115 230.436 880.607 231.015C878.52 231.33 876.995 229.879 875.977 226.56C876.478 225.586 877.042 224.487 877.774 223.063C876.589 223.118 875.62 223.162 874.581 223.21C873.217 227.974 873.23 232.607 873.114 237.355C873.736 237.828 874.28 238.25 874.833 238.66C875.263 238.978 875.706 239.28 875.846 239.38C876.311 244.218 875.861 252.44 874.9 258.034C874.898 258.184 874.895 258.334 874.895 258.485C874.866 258.506 874.838 258.526 874.809 258.547C874.768 258.771 874.727 258.992 874.684 259.206C873.94 259.733 873.083 260.342 872.225 260.95C872.082 261.273 871.844 261.587 871.813 261.921C871.532 264.952 871.286 267.986 871.033 271.019C870.881 272.848 871.304 274.578 871.949 276.269C873.339 279.907 875.967 282.156 879.748 282.948C881.312 283.276 882.948 283.387 884.551 283.391C900.146 283.42 915.741 283.415 931.337 283.39C932.746 283.388 934.154 283.183 935.81 283.053C936.072 281.727 936.463 280.549 936.515 279.356ZM872.536 242.192C871.95 245.255 871.762 253.625 872.153 257.019C872.419 256.843 872.864 256.71 872.921 256.481C873.69 253.395 873.974 247.193 873.634 241.168C872.992 241.751 872.585 241.937 872.536 242.192ZM863.67 349.692C863.165 359.171 862.728 368.653 862.257 378.133C862.088 381.532 861.985 384.937 861.702 388.326C861.52 390.505 861.7 392.62 862.194 394.721C863.51 400.313 867.237 403.732 872.947 404.525C874.361 404.721 875.805 404.762 877.236 404.762C891.03 404.77 904.825 404.754 918.62 404.741C919.515 404.74 920.415 404.75 921.305 404.67C929.743 403.914 932.738 399.169 933.842 392.936C934.121 391.365 934.041 389.722 934.04 388.112C934.023 366.615 933.991 345.118 933.962 323.621C933.953 316.993 933.949 310.365 933.93 303.737C933.925 301.957 933.876 300.178 933.846 298.355C932.912 297.847 932.613 297.552 932.298 297.533C911.563 296.277 890.827 295.038 870.089 293.822C869.217 293.771 868.331 293.949 867.231 294.038C867.007 294.923 866.657 295.743 866.609 296.581C866.185 303.912 865.83 311.247 865.424 318.579C864.849 328.951 864.223 339.32 863.67 349.692ZM859.143 269.635C856.229 268.873 853.366 267.914 850.326 266.995C849.746 267.891 849.279 268.615 848.679 269.543C852.802 272.294 857.07 274.557 860.452 278.08C863.847 281.616 866.484 285.616 868.525 290.223C878.944 291.671 889.333 291.747 899.667 292.383C909.843 293.009 920.014 294.018 930.361 293.919C932.033 291.358 933.664 288.859 935.254 286.423C934.916 285.361 934.088 285.544 933.434 285.539C928.593 285.506 923.751 285.511 918.91 285.511C908.689 285.511 898.469 285.516 888.248 285.517C886.634 285.517 885.019 285.546 883.407 285.503C876.213 285.314 871.336 281.526 869.283 274.561C869.031 273.707 868.779 272.853 868.445 271.721C865.07 270.974 862.081 270.403 859.143 269.635ZM868.056 240.597C867.527 240.563 867.203 240.543 866.693 240.51C865.896 244.383 866.223 248.274 866.495 252.469C867.299 252.612 867.621 252.669 868.187 252.77C868.507 248.675 868.662 244.626 868.056 240.597ZM851.032 246.068C852.739 248.993 854.447 251.919 856.27 254.771C856.832 255.651 857.648 256.439 858.506 257.047C861.254 258.997 864.096 260.81 867.865 262.768C868.07 261.058 868.191 260.037 868.317 258.98C863.735 254.359 859.231 249.816 854.519 245.063C853.624 244.56 852.45 244.411 851.256 245.11C851.171 245.444 850.914 245.866 851.032 246.068ZM849.289 242.028C850.493 243.069 851.969 242.61 853.34 242.713C854.74 242.819 856.144 242.874 857.209 242.934C859.842 244.699 860.596 247.846 863.895 249.416C864.07 245.951 864.199 243.322 863.819 240.84C863.403 240.478 863.169 240.099 862.877 240.047C858.494 239.268 854.11 239.536 849.855 239.901C849.548 240.405 849.288 240.682 849.211 241.003C849.139 241.313 849.255 241.67 849.289 242.028ZM835.33 247.05C839.095 250.43 843.557 251.677 848.84 251.401C848.448 248.637 846.943 246.764 845.462 244.841C841.865 244.642 838.365 244.445 835.128 244.888C834.315 246.002 834.849 246.618 835.33 247.05ZM843.674 240.645C841.596 239.597 841.121 239.581 836.128 240.487C838.601 240.715 841.082 240.665 843.674 240.645ZM830.576 227.179C830.857 227.383 831.125 227.738 831.422 227.765C833.02 227.909 834.63 227.93 836.226 228.09C836.695 228.137 837.134 228.496 837.579 228.708C837.419 229.127 837.299 229.44 837.074 230.028C835.309 230.193 833.411 230.371 831.337 230.565C830.788 232.845 830.639 234.876 831.485 237.165C832.575 237.276 833.611 237.452 834.65 237.476C851.45 237.868 864.339 237.684 869.139 236.97C869.315 236.433 869.655 235.798 869.718 235.136C870.058 231.605 870.625 228.077 870.308 224.282C869.356 224.024 868.537 223.628 867.707 223.607C864.311 223.519 860.913 223.534 857.515 223.531C850.183 223.525 842.851 223.524 835.518 223.539C833.933 223.542 832.315 223.39 830.47 224.226C830.375 225.119 830.269 225.648 830.281 226.176C830.289 226.512 830.472 226.845 830.576 227.179ZM784.92 182.943C785.483 183.584 785.948 184.113 786.355 184.576C786.479 185.224 786.666 185.749 786.668 186.274C786.695 194.703 786.717 203.132 786.689 211.561C786.685 212.8 786.55 214.07 786.251 215.27C785.205 219.468 785.095 221.394 785.862 226.312C786.178 226.435 786.524 226.711 786.805 226.656C798.806 224.32 810.935 223.254 823.144 223.037C825.338 222.998 827.428 222.751 829.316 221.378C831.115 221.378 832.904 221.378 834.692 221.378C844.736 221.38 854.781 221.394 864.825 221.378C868.225 221.373 871.623 221.511 875 220.74C876.543 220.388 878.213 220.552 879.825 220.552C903.501 220.545 927.178 220.539 950.854 220.572C952.993 220.575 955.129 220.918 957.271 220.982C959.763 221.058 962.26 221 964.987 221C965.261 219.837 965.675 218.843 965.7 217.839C965.788 214.254 965.75 210.666 965.75 207.079C965.75 193.09 965.761 179.101 965.726 165.112C965.721 163.171 966.094 161.162 965.004 159.084C964.287 158.934 963.442 158.637 962.587 158.601C960.617 158.517 958.642 158.552 956.669 158.552C915.594 158.551 874.519 158.552 833.444 158.551C829.857 158.551 826.269 158.51 822.682 158.536C809.716 158.626 796.93 157.059 784.239 154.505C777.736 153.196 771.211 151.982 764.557 151.723C763.312 151.675 762.064 151.716 760.56 151.716C760.287 152.792 759.925 153.768 759.808 154.773C759.52 157.242 760.174 159.796 759.256 162.042C758.149 163.546 756.682 163.507 755.245 163.51C750.043 163.521 744.842 163.496 739.64 163.529C738.053 163.539 736.467 163.691 735.153 163.763C734.076 164.976 734.371 166.062 734.553 167.076C736.339 177.055 742.602 182.418 752.746 182.682C754.001 182.714 755.257 182.702 756.512 182.695C764.762 182.653 773.011 182.59 781.261 182.58C782.497 182.576 783.731 182.818 784.92 182.943ZM784.366 212.291C784.65 208.764 784.442 189.15 784.125 185.982C783.443 184.905 782.323 184.912 781.263 184.902C777.137 184.864 773.011 184.87 768.886 184.862C763.504 184.851 758.123 184.886 752.742 184.821C746.473 184.747 741.268 182.34 737.178 177.544C734.796 174.752 733.13 171.638 732.642 167.966C731.981 162.991 731.353 158.012 730.694 153.036C730.579 152.169 730.383 151.313 730.257 150.63C729.734 150.305 729.439 149.963 729.143 149.962C720.905 149.933 712.667 149.939 704.399 149.939C703.61 150.89 702.865 151.905 702.003 152.809C698.402 156.585 694.615 157.364 689.814 155.359C689.319 155.152 688.867 154.841 688.37 154.641C688.054 154.514 687.691 154.505 687.34 154.442C686.274 155.18 686.554 156.33 686.564 157.326C686.599 160.738 686.293 164.111 685.923 167.504C685.034 175.636 676.874 183.854 668.849 184.528C666.887 184.693 664.917 184.833 662.949 184.84C652.904 184.873 642.858 184.849 632.813 184.868C630.867 184.872 628.89 184.699 626.808 185.371C626.583 186.039 626.178 186.687 626.175 187.336C626.133 195.583 626.141 203.831 626.171 212.079C626.173 212.579 626.464 213.079 626.6 213.517C628.006 214.821 629.68 214.546 631.254 214.552C638.608 214.578 645.962 214.544 653.316 214.553C676.097 214.581 698.877 214.628 721.658 214.647C730.267 214.654 738.877 214.626 747.486 214.56C749.249 214.547 751.087 214.862 752.739 213.9C753.34 212.41 752.5 211.541 751.46 210.773C751.279 210.685 751.122 210.595 750.955 210.533C750.789 210.471 750.615 210.407 750.441 210.396C749.548 210.339 748.653 210.257 747.759 210.257C713.857 210.25 679.955 210.251 646.087 210.251C645.044 210.738 644.09 211.231 643.101 211.638C639.957 212.93 637.229 212.265 634.648 210.077C628.973 205.267 628.967 195.281 634.507 190.426C637.202 188.064 640.076 187.305 643.403 188.916C644.207 189.305 645.02 189.675 645.973 190.122H659.118C660.457 190.758 661.584 191.293 662.944 191.939C664.167 191.939 665.599 191.939 667.032 191.939C670.978 191.938 674.925 191.892 678.871 191.953C681.086 191.987 683.144 191.61 684.845 190.231H697.447C698.495 190.746 699.61 191.293 700.937 191.945H719.118C720.382 191.375 721.678 190.791 723.032 190.182H735.007C735.997 190.661 737.116 191.201 738.583 191.91C743.968 191.91 749.708 192.013 755.439 191.847C757.152 191.797 758.844 190.99 761.78 190.196C764.246 190.196 768.024 189.979 771.766 190.253C776.137 190.573 779.035 193.268 780.432 197.27C782.397 202.896 778.284 209.332 772.343 210.054C769.864 210.355 767.328 210.158 764.82 210.256C763.056 210.325 761.228 209.871 759.279 210.941C759.407 211.839 759.546 212.818 759.674 213.72C760.435 214.023 760.919 214.383 761.405 214.386C768.218 214.442 775.031 214.465 781.845 214.445C782.513 214.443 783.18 214.108 783.827 213.933C784.049 213.28 784.326 212.795 784.366 212.291ZM640.565 182.447C640.565 182.377 640.565 182.307 640.564 182.237H639.533C639.533 182.307 639.534 182.377 639.534 182.447H640.565ZM644.001 236.784C644.001 284.31 644.001 331.418 644.001 378.921C644.281 378.286 644.492 378.032 644.492 377.778C644.505 331.172 644.504 284.566 644.488 237.96C644.487 237.703 644.283 237.446 644.001 236.784ZM753.708 203.446C754.734 205.119 756.338 206.522 758.01 208.132C762.225 208.418 766.505 208.371 770.781 208.187C771.833 208.142 772.911 207.84 773.903 207.464C776.037 206.654 777.517 205.127 778.019 202.872C778.286 201.669 778.43 200.384 778.324 199.163C777.983 195.238 775.715 193.003 771.766 192.668C769.988 192.517 768.19 192.591 766.4 192.578C764.792 192.566 763.183 192.575 761.895 192.575C760.09 193.261 758.643 193.975 757.113 194.345C755.592 194.713 753.923 194.295 752.137 194.952C752.71 196.406 753.413 197.634 753.651 198.945C753.902 200.326 753.708 201.786 753.708 203.446ZM751.398 204.336C748.217 202.272 744.842 200.696 741.039 200.126C734.667 199.172 728.306 198.15 721.937 197.172C717.869 196.547 713.798 195.94 709.725 195.342C707.789 195.058 705.855 194.555 703.284 195.318C703.241 198.428 703.177 201.271 703.178 204.114C703.179 204.802 703.396 205.49 703.497 206.088C707.089 207.475 710.629 207.484 714.221 207.237C722.439 206.673 730.657 206.099 738.884 205.717C741.358 205.602 743.876 206.001 746.345 206.359C750.086 206.901 753.046 208.744 754.971 212.086C755.306 212.668 755.666 213.236 756.261 214.216C756.625 213.348 757.001 212.904 756.937 212.536C756.326 208.985 754.397 206.282 751.398 204.336ZM749.486 197.383C746.235 196.366 742.779 196.879 739.279 197.492C740.443 197.729 741.628 197.89 742.764 198.222C744.114 198.617 745.426 199.144 746.743 199.644C747.873 200.073 748.987 200.545 750.019 200.963C751.422 199.436 750.377 198.541 749.486 197.383ZM733.441 193.102C729.969 192.708 726.453 192.322 722.938 192.849C722.598 193.332 722.314 193.734 722.062 194.091C722.769 195.627 724.168 195.271 725.508 195.681C727.891 194.433 730.394 193.091 733.441 193.102ZM691.421 201.186C691.055 202.336 690.797 203.521 690.414 204.987C691.48 205.097 692.319 205.258 693.159 205.255C695.458 205.248 697.776 205.441 700.188 205.009C701.416 202.564 701.1 200.126 700.937 197.495C697.924 196.324 694.921 197.173 692.124 196.898C690.819 198.381 691.838 199.875 691.421 201.186ZM663.859 195.322C662.037 194.395 660.345 193.535 658.756 192.726H652.56C652.355 194.457 654.07 195.147 654.265 196.421C654.774 198.206 654.194 199.632 653.011 200.886C652.122 201.828 651.097 202.497 649.751 202.548C648.633 202.59 647.629 202.305 646.764 201.576C645.323 200.363 644.309 198.957 644.722 196.499C645.258 195.649 646.013 194.453 646.836 193.149C645.423 192.431 644.062 191.603 642.603 191.027C639.102 189.646 635.706 190.922 633.988 194.338C632.018 198.258 632.007 202.297 633.936 206.238C635.572 209.579 638.44 210.778 641.992 209.727C643.012 209.425 643.965 208.896 645.044 208.43C655.159 207.95 665.373 208.785 675.553 207.918C675.657 207.91 675.741 207.668 675.89 207.457C675.175 206.377 674.047 206.956 673.131 206.858C672.068 206.744 670.981 206.86 669.907 206.817C668.838 206.774 667.772 206.658 666.955 206.594C664.463 205.496 662.825 203.925 662.085 201.548C661.364 199.234 662.657 197.392 663.859 195.322ZM665.776 202.436C666.099 202.69 666.349 203.04 666.656 203.102C668.031 203.377 669.422 203.755 670.806 203.752C673.61 203.747 676.455 204.153 679.297 203.315C680.465 201.497 680.022 199.611 679.772 197.495C675.376 196.343 671.034 196.835 666.72 197.066C664.846 199.128 664.879 200.759 665.776 202.436ZM764.322 231.213C766.763 231.758 769.196 232.344 771.646 232.85C772.69 233.066 773.766 233.245 774.827 233.235C778.702 233.2 781.713 230.965 782.75 227.219C783.566 224.272 783.494 221.281 782.73 218.067C777.965 217.606 735.344 217.381 724.194 217.72C723.318 217.746 722.447 217.925 721.674 218.02C721.427 218.49 721.154 218.79 721.127 219.111C721.084 219.627 721.203 220.157 721.249 220.631C722.417 222.055 724.05 222.222 725.606 222.569C738.512 225.45 751.417 228.331 764.322 231.213ZM713.055 230.399C724.092 230.385 735.131 230.482 747.303 230.341C743.689 228.407 740.785 228.355 738.087 227.614C735.329 226.856 732.491 226.398 729.699 225.762C726.915 225.127 724.144 224.433 721.524 223.803C720.312 222.661 719.276 221.687 718.104 220.584C717.546 220.493 716.848 220.281 716.149 220.279C707.373 220.257 698.597 220.264 689.781 220.264C688.642 220.752 687.498 221.242 686.337 221.739C684.205 221.925 682.178 221.93 680.107 220.863C678.764 220.17 676.996 220.167 675.41 220.108C672.311 219.993 669.327 219.673 667.289 217.395C660.176 216.946 649.907 217.074 645.816 217.672C645.614 218.391 645.217 219.207 645.184 220.036C645.101 222.169 645.179 224.309 645.193 226.449C646.155 227.01 646.914 227.453 647.699 227.912C653.739 227.905 659.738 227.029 665.767 227.334C667.733 227.433 669.697 227.57 671.664 227.669C674.401 227.807 676.974 228.445 679.373 230.375C690.502 230.384 701.779 230.414 713.055 230.399ZM645.976 359.661C645.976 365.221 645.987 370.78 645.97 376.339C645.967 377.489 645.932 378.639 645.896 379.796C646.207 379.728 646.515 379.652 646.818 379.567C646.786 330.614 646.828 281.542 646.529 232.46C646.469 232.483 646.409 232.505 646.35 232.53C646.272 232.563 646.194 232.596 646.116 232.629C645.839 233.889 645.989 235.185 645.989 236.455C645.972 277.525 645.976 318.593 645.976 359.661ZM648.374 232.825C648.374 281.479 648.374 329.975 648.374 378.544C648.573 378.413 648.708 378.373 648.742 378.292C648.808 378.132 648.846 377.949 648.846 377.776C648.827 329.609 648.805 281.442 648.771 233.275C648.771 233.177 648.605 233.08 648.374 232.825ZM651.112 305.196C651.067 281.281 651.099 257.366 650.856 233.435C650.736 233.411 650.615 233.392 650.495 233.384C650.486 233.383 650.477 233.382 650.468 233.381C650.352 234.216 650.413 235.069 650.413 235.909C650.41 281.998 650.417 328.088 650.413 374.177C650.412 375.394 650.385 376.611 650.35 377.837C650.646 377.592 650.921 377.325 651.17 377.028C650.982 353.15 651.156 329.173 651.112 305.196ZM598.468 247.508C599.898 249.343 601.544 251.008 603.076 252.764C607.647 258.005 610.809 264.007 612.102 270.831C612.765 274.329 612.993 277.952 613.02 281.521C613.122 295.505 613.067 309.489 613.069 323.473C613.072 338.892 613.068 354.31 613.087 369.729C613.089 371.519 613.093 373.324 613.309 375.096C614.116 381.724 617.525 385.43 624.037 386.834C625.081 387.059 626.168 387.176 627.235 387.182C633.511 387.212 639.786 387.194 646.062 387.189C646.42 387.189 646.781 387.177 647.136 387.134C654.53 386.236 659.234 382.634 659.953 374.454C660.125 372.494 660.108 370.515 660.109 368.544C660.121 339.858 660.123 311.172 660.12 282.487C660.119 278.356 660.268 274.238 661.187 270.193C662.688 263.592 665.755 257.782 670.179 252.678C671.588 251.053 673.127 249.532 674.452 247.843C678.445 242.753 679.159 237.195 676.688 231.058C670.986 229.297 664.629 228.956 656.229 229.879C656.049 230.593 655.714 231.406 655.662 232.236C655.561 233.844 655.612 235.461 655.612 237.075C655.611 281.359 655.611 325.643 655.611 369.927C655.61 372.254 655.61 374.581 655.61 376.569C654.754 378.372 654.176 379.98 652.279 380.206C650.588 380.407 650.589 382.539 647.932 382.849C647.776 382.815 647.102 382.668 646.379 382.51C645.783 382.73 645.124 382.973 644.143 383.334C643.569 383.174 642.727 382.939 641.686 382.648C641.218 382.773 640.638 382.929 639.97 383.108C639.907 383.175 639.848 383.239 639.783 383.309C639.727 383.271 639.678 383.237 639.624 383.201C639.48 383.239 639.335 383.278 639.185 383.318C638.626 383.149 637.949 382.944 637.214 382.721C636.078 382.858 634.805 383.314 633.697 383.057C632.608 382.805 631.714 382.575 630.661 383.088C630.231 383.297 629.484 383.361 629.125 383.123C627.725 382.198 626.376 383.016 625.042 383.072C624.842 382.999 624.635 382.98 624.512 382.868C623.855 382.274 623.219 381.658 622.474 380.954C620.854 380.947 619.54 380.184 618.405 377.957C618.343 376.495 618.176 374.364 618.175 372.233C618.159 341.216 618.165 310.199 618.165 279.183C618.165 266.095 618.173 253.007 618.144 239.919C618.14 237.983 618.417 235.992 617.49 233.888C612.77 232.742 607.941 233.47 603.17 233.338C600.703 233.27 598.159 233.135 595.707 234.393C594.394 239.274 595.436 243.618 598.468 247.508ZM642.267 315.724C642.268 314.12 642.267 312.515 641.802 310.902C641.767 314.921 641.703 318.94 641.7 322.958C641.689 340.532 641.701 358.105 641.689 375.678C641.688 377.153 641.616 378.632 641.55 380.35C641.87 380.329 642.195 380.305 642.521 380.277C642.387 379.205 642.299 378.125 642.293 377.05C642.243 368.264 642.242 359.477 642.242 350.69C642.242 339.036 642.258 327.38 642.267 315.724ZM641.832 254.694C641.832 266.453 641.832 278.212 641.832 289.972C641.942 289.972 642.052 289.972 642.162 289.972C642.162 278.213 642.162 266.453 642.162 254.694C642.052 254.694 641.942 254.694 641.832 254.694ZM642.08 246.758C642.08 243.377 642.08 239.997 642.08 236.616C641.987 236.632 641.893 236.647 641.8 236.663C641.8 240.026 641.8 243.389 641.8 246.751C641.893 246.754 641.987 246.756 642.08 246.758ZM641.954 296.618C641.954 298.99 641.954 301.362 641.954 303.734C642.005 303.732 642.056 303.729 642.107 303.726C642.107 301.354 642.107 298.981 642.107 296.609C642.055 296.612 642.005 296.615 641.954 296.618ZM637.166 375.407C637.141 353.707 637.148 332.007 637.148 310.307C637.149 287.531 637.152 264.755 637.155 241.979C637.155 240.02 637.155 238.061 637.155 235.316C636.164 236.842 636.432 237.804 636.381 238.684C636.33 239.578 636.365 240.477 636.365 241.374C636.366 282.263 636.366 323.152 636.366 364.042C636.366 369.063 636.376 374.085 636.347 379.106C636.344 379.617 636.366 380.141 636.299 380.661C636.643 380.641 636.985 380.621 637.324 380.599C636.973 378.849 637.168 377.114 637.166 375.407ZM634.859 237.662C634.859 237.408 634.631 237.154 634.331 236.525C634.331 284.21 634.331 331.508 634.331 379.197C634.631 378.566 634.856 378.314 634.856 378.061C634.872 331.261 634.873 284.461 634.859 237.662ZM632.82 376.957C632.792 363.686 632.794 350.415 632.794 337.144C632.795 304.864 632.802 272.584 632.798 240.304C632.798 238.716 632.718 237.128 632.392 235.543C631.782 238.549 631.994 241.58 631.948 244.595C631.901 247.643 631.955 250.692 631.959 253.741C631.963 256.789 631.96 259.838 631.958 262.887C631.956 265.936 631.95 268.984 631.948 272.033C631.946 275.082 631.947 278.13 631.948 281.179C631.95 284.228 631.954 287.277 631.958 290.325C631.962 293.374 631.968 296.422 631.97 299.471C631.973 302.52 631.979 305.568 631.973 308.617C631.968 311.665 631.941 314.714 631.941 317.763C631.941 320.812 631.969 323.861 631.972 326.909C631.976 329.958 631.961 333.006 631.96 336.055C631.959 339.104 631.968 342.153 631.968 345.202C631.968 348.25 631.959 351.299 631.957 354.348C631.955 357.397 631.956 360.446 631.954 363.494C631.952 366.543 632 369.593 631.932 372.64C631.87 375.361 632.165 378.1 631.777 380.764C632.16 380.775 632.544 380.779 632.927 380.778C632.671 379.471 632.822 378.198 632.82 376.957ZM630.342 378.22C630.342 331.374 630.342 284.527 630.342 237.681C630.27 237.67 630.198 237.659 630.127 237.648C630.068 238.485 629.957 239.321 629.957 240.158C629.959 284.937 629.969 329.716 629.979 374.495C629.979 375.737 629.979 376.979 629.979 378.22C630.099 378.221 630.221 378.221 630.342 378.22ZM625.061 237.702C624.978 237.645 624.895 237.588 624.811 237.53C624.766 237.7 624.681 237.869 624.681 238.039C624.66 284.083 624.645 330.128 624.63 376.172C624.63 376.874 624.63 377.576 624.63 378.278C625.325 372.936 625.505 254.975 625.061 237.702ZM623.172 242.14C623.172 240.009 623.104 237.879 623.047 234.5C622.063 237.172 622.318 238.712 622.318 240.2C622.306 269.97 622.316 299.74 622.321 329.51C622.323 344.574 622.326 359.638 622.314 374.702C622.313 375.731 622.271 376.762 622.226 377.819C622.454 378.107 622.726 378.355 623.026 378.542C623.106 378.591 623.188 378.638 623.269 378.686C623.209 377.656 623.16 376.611 623.16 375.566C623.153 331.09 623.168 286.615 623.172 242.14ZM620.656 260.076C620.499 262.938 620.728 265.817 620.476 268.688C620.389 269.675 620.3 270.661 620.213 271.648C620.208 287.718 620.205 303.787 620.206 319.856C620.311 320.706 620.345 321.557 620.213 322.413C620.209 322.436 620.209 322.46 620.206 322.483C620.206 322.859 620.206 323.236 620.206 323.612C620.238 323.837 620.281 324.057 620.353 324.266C620.297 324.867 620.249 325.468 620.207 326.07C620.207 329.052 620.208 332.034 620.209 335.016C620.212 335.285 620.212 335.553 620.209 335.822C620.21 342.638 620.211 349.455 620.213 356.272C620.277 357.044 620.314 357.818 620.3 358.595C620.286 359.326 620.252 360.054 620.214 360.783C620.215 364.542 620.214 368.302 620.216 372.062C620.283 372.429 620.369 372.793 620.485 373.15C620.592 373.476 620.725 373.785 620.877 374.082C620.892 373.673 620.902 373.263 620.902 372.854C620.928 329.27 620.923 285.686 620.922 242.101C620.922 240.748 620.9 239.395 620.876 237.74C620.605 238.381 620.421 239.089 620.329 239.854C620.047 242.209 620.613 244.501 620.663 246.845C620.759 251.252 620.604 255.667 620.656 260.076ZM588.137 175.392C588.137 192.772 588.131 210.152 588.145 227.532C588.146 229.304 588.267 231.076 588.353 233.414C589.929 233.625 590.958 233.762 592.095 233.914C595.435 231.412 599.284 230.988 603.306 231.104C607.066 231.212 610.833 231.189 614.594 231.097C617.593 231.023 620.553 231.985 623.562 231.365C624.961 232.31 626.323 231.177 627.685 231.3C628.887 231.408 629.956 231.904 631.306 231.515C632.57 231.151 634.11 231.809 635.422 231.526C636.746 231.241 637.876 231.388 639.216 231.892C640.267 231.531 641.435 231.129 642.783 230.666C643.455 226.407 643.417 222.201 642.79 217.735C641.621 217.528 640.61 217.214 639.593 217.194C636.01 217.121 632.426 217.156 628.842 217.137C627.401 217.129 625.959 217.097 624.536 215.787C624.38 215.057 623.977 214.035 623.97 213.011C623.918 204.411 623.934 195.81 623.939 187.21C623.94 185.767 623.958 184.313 625.519 183.163C628.043 182.237 630.961 182.987 634.032 182.517C634.739 181.799 635.595 180.93 636.628 179.881C638.384 179.696 640.32 179.491 642.17 179.296C642.466 178.933 642.85 178.681 642.879 178.394C643.498 172.151 643.118 165.907 643.133 160.13C641.67 157.872 639.352 159.106 637.745 157.562C636.143 154.916 637.738 151.485 636.564 148.263C635.948 148.104 635.284 147.784 634.619 147.782C620.105 147.744 605.59 147.736 591.075 147.746C590.383 147.747 589.691 147.961 589.164 148.049C587.898 149.386 588.147 150.874 588.143 152.28C588.124 159.983 588.137 167.688 588.137 175.392ZM566.539 236.047C572.283 236.157 577.638 236.172 582.994 236.003C583.666 235.982 584.329 235.675 584.933 235.518C586.046 233.71 585.711 231.882 585.717 230.134C585.752 218.503 585.748 206.872 585.749 195.241C585.75 180.926 585.753 166.611 585.725 152.296C585.721 150.344 586.002 148.356 585.175 146.174C584.509 145.995 583.691 145.596 582.87 145.585C578.218 145.527 573.565 145.549 568.912 145.578C568.228 145.582 567.546 145.77 567.18 145.826C566.083 146.721 566.173 147.663 566.137 148.53C566.08 149.959 566.097 151.392 566.097 152.824C566.097 178.412 566.093 204 566.105 229.588C566.106 231.528 565.93 233.491 566.539 236.047Z");
			attr(path16, "fill", "white");
			attr(path16, "fill-opacity", path16_fill_opacity_value = /*highlightParts*/ ctx[0].barrel);
			attr(path17, "d", "M593.986 113.639C597.327 115.345 600.828 116.577 604.526 115.886C605.468 114.855 604.971 114.024 604.624 113.255C602.798 109.207 600.932 105.177 598.683 100.279C598.489 100.101 597.469 99.3565 596.707 98.4075C596.108 97.6605 595.827 96.6595 595.249 95.4435C592.65 98.2075 590.874 101.019 589.953 104.295C588.755 108.555 590.064 111.636 593.986 113.639ZM599.361 91.1935C597.737 93.3055 597.72 93.7305 599.024 97.1255C600.068 95.1115 599.841 93.3055 599.361 91.1935ZM593.569 55.3125C595.537 60.3475 596.283 65.6635 597.247 70.9285C597.403 71.7785 597.269 72.6815 597.269 73.4035C595.932 74.6475 595.382 72.9765 594.459 72.9695C589.07 78.6865 586.739 89.6495 590.486 94.7555C590.884 94.4475 591.485 94.2225 591.64 93.8245C592.546 91.5045 593.356 89.1465 594.18 86.7945C594.421 86.1065 594.699 85.4875 595.839 85.3235C596.089 85.7985 596.389 86.3675 596.703 86.9655C596.986 86.9025 597.398 86.9385 597.544 86.7595C600.272 83.4155 602.465 79.7795 603.826 75.6425C605.126 71.6925 604.873 67.8745 603.085 64.1845C600.871 59.6135 597.641 55.8535 593.536 52.8575C593.433 52.7815 593.264 52.7945 593.109 52.7895C593.246 53.6375 593.264 54.5315 593.569 55.3125ZM601.485 45.4415C598.459 43.7555 595.235 42.7755 591.737 42.9375C591.239 42.9605 590.753 43.2415 590.175 43.4315C590.23 43.9985 590.127 44.5985 590.362 45.0025C590.807 45.7665 591.387 46.4755 592.014 47.1055C594.919 50.0235 597.853 52.9115 600.796 55.7905C601.034 56.0235 601.419 56.1055 602.232 56.4965C603.462 54.6825 604.554 53.0735 605.497 51.6835C605.398 48.5345 603.802 46.7315 601.485 45.4415ZM616.214 77.5105C616.204 73.0455 615.9 68.5645 616.189 64.1205C616.467 59.8575 614.985 56.4765 612.419 53.4575C610.62 52.4315 608.914 52.4855 607.112 53.2605C605.533 54.6925 604.442 56.4975 603.634 58.7615C604.221 59.9135 604.843 61.1785 605.505 62.4225C608.295 67.6645 608.437 73.0115 606.061 78.4125C605.129 80.5305 604.013 82.5665 602.903 84.7965V99.4315C603.784 100.885 604.691 102.631 605.831 104.207C607.934 107.114 611.409 107.083 613.407 104.158C614.408 102.693 615.194 101.082 616.219 99.2905C616.219 91.7925 616.231 84.6515 616.214 77.5105ZM629.9 60.8315C629.9 59.9385 629.877 59.0455 629.858 58.1515C629.818 56.2745 629.126 54.6835 627.555 53.1925C625.782 52.2795 624.239 52.3375 622.182 53.3305C621.002 55.1455 619.558 57.3665 618.254 59.3725V99.0005C619.29 101.557 620.87 103.885 622.78 106.108C624.116 106.197 625.333 106.278 626.358 106.347C628.828 104.967 629.803 102.991 629.868 100.491C629.891 99.5975 629.904 98.7045 629.904 97.8115C629.906 85.4855 629.905 73.1585 629.9 60.8315ZM634.145 58.5555C634.135 58.4165 633.952 58.2715 633.82 58.1675C633.683 58.0585 633.51 57.9945 633.352 57.9105C633.056 58.0665 632.759 58.2225 632.464 58.3785C631.901 63.0195 631.906 95.9555 632.518 100.839C633.241 100.71 633.568 100.651 634.109 100.555C634.921 98.4035 634.523 96.0555 634.489 93.7975C634.318 82.0515 635.019 70.2945 634.145 58.5555ZM609.053 4.68451C604.245 3.22851 598.896 3.51451 593.568 3.54151C592.084 3.54851 590.736 3.88151 589.412 5.08851C589.24 5.51051 588.756 6.15851 588.74 6.81751C588.584 13.2455 588.461 19.6755 588.439 26.1055C588.434 27.4955 588.864 28.8865 589.164 30.6985C594.066 32.9255 598.713 31.5655 603.775 31.6105C604.817 31.9555 606.331 32.4565 607.972 33.0005C609.907 32.5695 610.634 30.9915 611.048 29.1805C611.166 28.6645 611.174 28.1145 611.175 27.5805C611.185 21.6795 611.177 15.7775 611.187 9.87651C611.191 8.02751 610.843 6.32151 609.053 4.68451ZM763.925 52.0415C765.464 53.0605 767.016 52.7875 768.687 52.3835C768.88 51.9615 769.275 51.4955 769.278 51.0285C769.32 44.0735 769.316 37.1185 769.297 30.1635C769.296 29.8445 769.049 29.5275 768.808 28.9475C767.262 28.1535 765.626 28.2495 764.113 29.0495C763.86 29.6005 763.592 29.9135 763.59 30.2285C763.543 37.0055 763.517 43.7825 763.522 50.5595C763.522 51.0625 763.789 51.5645 763.925 52.0415ZM739.617 64.6095C743.32 64.7095 747.023 64.7825 750.726 64.8105C751.404 64.8155 752.083 64.5855 752.981 64.4255C753.038 63.6815 753.088 63.0505 753.127 62.5445C751.617 61.3455 744.149 61.2385 738.752 62.2455C738.678 62.8135 738.595 63.4495 738.521 64.0105C739.007 64.2865 739.308 64.6015 739.617 64.6095ZM748.264 54.4945C747.318 53.6635 746.326 53.8395 744.795 54.5415V57.1475C745.705 58.2625 746.74 58.0965 747.794 57.8075C749 56.8355 748.885 55.6955 748.264 54.4945ZM755.304 41.2105C755.134 36.6525 752.071 33.0345 747.627 32.1795C745.478 31.7665 743.384 31.9185 741.402 32.9425C739.12 34.1215 738.25 35.1695 736.4 39.0235V44.1115C737.475 47.1155 739.267 49.2065 742.03 50.4485C743.896 51.2875 745.792 51.3745 747.764 50.9165C752.39 49.8415 755.478 45.8875 755.304 41.2105ZM731.977 42.8745C731.769 45.1875 731.87 47.5335 731.914 49.8635C731.961 52.3475 731.668 54.8555 732.254 57.5485C734.867 58.5485 737.412 58.3805 740.203 57.6875C740.292 56.1445 740.373 54.7555 740.437 53.6525C740.103 53.0445 739.993 52.6745 739.752 52.4365C738.733 51.4295 737.594 50.5355 736.646 49.4685C732.486 44.7875 732.66 37.9115 737.059 33.3895C740.598 29.7515 747.113 28.0355 752.706 32.2715C758.5 36.6585 759.414 43.5945 754.945 49.2975C754.284 50.1405 753.522 50.9035 752.772 51.7415C752.468 53.6895 752.341 55.6035 752.888 57.7175C755.07 58.3605 757.085 58.4535 759.129 57.6335C759.312 56.9475 759.566 56.4425 759.565 55.9365C759.553 42.1325 759.518 28.3285 759.463 14.5235C759.462 14.2095 759.187 13.8965 758.972 13.4405C758.596 13.2945 758.116 12.9465 757.634 12.9445C749.746 12.9065 741.857 12.9035 733.969 12.9295C733.481 12.9305 732.996 13.2445 732.269 13.4965C731.647 15.9215 731.982 18.4275 731.921 20.8925C731.864 23.2225 731.908 25.5545 731.913 27.8855C731.919 30.3955 731.703 32.9345 732.007 35.4085C732.314 37.9295 732.202 40.3735 731.977 42.8745ZM639.591 138.137C638.932 143.569 639.489 149.609 639.323 155.224C640.76 157.193 642.748 156.089 644.466 157.41C644.8 158.267 645.3 159.546 645.749 160.693C646.264 160.897 646.586 161.133 646.909 161.135C653.165 161.188 659.422 161.217 665.678 161.244C668 161.254 670.322 161.245 672.6 161.245C674.127 161.953 675.558 162.616 676.962 163.267C677.247 162.944 677.642 162.704 677.643 162.463C677.686 154.063 677.698 145.663 677.687 137.263C677.686 136.751 677.463 136.238 677.219 135.195C676.07 135.049 675.206 134.846 674.342 134.844C664.866 134.821 655.39 134.833 645.914 134.827C643.499 134.827 641.258 135.177 639.591 138.137ZM681.841 144.315C681.759 141.494 682.201 138.631 681.547 135.771C681.018 135.96 680.511 136.023 680.486 136.17C680.333 137.042 680.225 137.934 680.224 138.82C680.208 149.575 680.2 160.33 680.236 171.085C680.239 172.068 679.835 173.194 680.787 174.028C683.085 171.684 683.181 171.415 683.879 165.261C683.36 164.257 682.789 163.15 682.01 161.64C681.955 159.173 681.86 156.314 681.835 153.455C681.81 150.408 681.929 147.359 681.841 144.315ZM680.945 132.565C681.323 131.639 681.537 131.327 681.555 131.005C681.574 130.676 681.401 130.336 681.312 130C681.026 129.809 680.741 129.453 680.455 129.452C674.435 129.42 668.415 129.428 662.257 129.428C661.901 130.206 661.55 130.975 661.16 131.83C661.834 132.131 662.288 132.497 662.759 132.519C668.777 132.81 674.795 132.748 680.945 132.565ZM645.255 180.65C645.259 181.138 645.628 181.622 645.916 182.321C646.715 182.436 647.568 182.66 648.421 182.664C654.318 182.694 660.216 182.734 666.112 182.659C670.324 182.606 674.193 181.443 677.817 178.367C677.816 173.21 678.981 168.063 674.551 164.108C673.452 163.914 672.413 163.624 671.361 163.563C666.28 163.266 649.616 163.507 645.949 163.905C645.736 164.407 645.253 165.025 645.246 165.648C645.189 170.647 645.206 175.649 645.255 180.65ZM647.577 25.6855C647.567 24.2795 647.279 22.8425 646.902 21.4795C645.517 16.4605 642.093 13.7075 637.023 12.9185C635.967 12.7545 634.887 12.6805 633.818 12.6765C628.278 12.6575 622.738 12.6565 617.198 12.6995C616.171 12.7075 615.145 12.9445 613.761 13.1225C613.405 16.7595 613.215 19.7545 613.854 22.9885C614.752 23.1605 615.588 23.4455 616.429 23.4595C620.182 23.5235 623.935 23.5205 627.688 23.5215C630.752 23.5225 633.169 24.8505 635.215 27.0445C636.605 28.5355 637.491 30.2495 637.701 32.2695C637.848 33.6875 637.925 35.1185 637.937 36.5435C637.97 40.4745 637.925 44.4065 637.971 48.3375C637.987 49.7425 638.175 51.1455 638.287 52.5875C641.242 53.7795 644.002 53.5065 646.483 53.0145C647.573 52.1425 647.592 51.2305 647.593 50.3455C647.607 42.1255 647.637 33.9055 647.577 25.6855ZM648.313 58.9165C648.311 58.2235 648.058 57.5305 647.933 56.8955C644.676 55.7535 643.039 55.6925 637.638 56.5375C637.494 57.2665 637.188 58.1025 637.186 58.9405C637.153 72.2005 637.154 85.4605 637.169 98.7205C637.17 99.5875 637.356 100.455 637.445 101.234C640.892 102.264 642.215 102.315 647.913 101.636C648.125 100.793 648.365 100.281 648.365 99.7695C648.369 86.1515 648.353 72.5335 648.313 58.9165ZM648.001 105.257C644.029 104.352 642.583 104.328 637.944 105.043C636.934 108.309 636.887 109.334 637.505 115.798C638.206 116.119 638.707 116.315 639.173 116.572C639.479 116.741 639.737 116.997 640.248 117.393C640.483 118.162 640.788 119.158 641.15 120.341C641.934 120.404 642.786 120.474 643.786 120.555C644.12 119.422 644.404 118.46 644.753 117.275C645.71 116.769 646.777 116.205 648.065 115.523C648.452 112.16 648.766 108.68 648.001 105.257ZM647.56 128.288C646.458 128.389 645.464 128.48 644.697 128.55C643.79 129.757 643.822 130.745 644.354 131.921C645.631 132.939 647.112 132.795 649.277 132.053C648.626 130.627 648.132 129.545 647.56 128.288ZM650.382 126.948C650.001 128.799 650.538 130.478 652.333 131.908C652.735 132.034 653.396 132.371 654.083 132.436C657.988 132.803 659.795 131.154 659.733 127.294C659.722 126.598 659.481 125.905 659.389 125.427C658.289 123.802 656.95 123.042 655.229 122.958C653.919 122.894 652.661 123.22 651.816 124.183C651.145 124.947 650.585 125.962 650.382 126.948ZM673.82 67.0725C673.82 64.9215 673.845 62.7695 673.786 60.6205C673.762 59.7615 673.544 58.9065 673.44 58.2225C672.887 57.9125 672.582 57.5955 672.274 57.5905C666.362 57.5065 660.451 57.4475 654.539 57.4175C653.672 57.4135 652.805 57.5875 652.334 57.6365C651.119 58.5465 651.165 59.4915 651.163 60.3575C651.142 72.9055 651.129 85.4535 651.174 98.0005C651.178 98.9895 651.625 99.9775 651.844 100.875C657.869 101.449 668.972 101.345 673.016 100.705C674.141 99.5355 673.792 98.0305 673.797 96.6495C673.835 86.7905 673.82 76.9315 673.82 67.0725ZM671.192 103.452C666.193 103.49 661.194 103.455 656.196 103.483C654.795 103.491 653.395 103.622 652.184 103.687C651.801 104.197 651.44 104.456 651.411 104.749C650.957 109.358 650.961 113.964 651.415 118.56C658.91 118.488 660.066 119.12 664.587 125.641C668.875 126.292 676.584 126.278 681.341 125.564C681.486 124.838 681.771 124.01 681.799 123.173C681.881 120.676 681.864 118.176 681.882 115.678C681.912 111.567 681.91 111.567 684.078 107.126C683.921 104.915 684.533 102.745 683.316 100.689C681.187 100.108 679.083 100.281 677.005 100.498C676.261 101.375 675.581 102.177 674.764 103.14C673.638 103.243 672.416 103.443 671.192 103.452ZM726.099 43.0435C724.749 42.2515 723.564 41.5555 722.231 40.7725C722.16 39.7195 722.091 38.6915 722.012 37.5235C723.297 36.7425 724.481 36.0225 725.635 35.3215C726.14 34.2155 726.245 33.2265 725.096 32.3965C724.627 32.3965 724.059 32.2705 723.573 32.4145C710.039 36.4395 696.512 40.4925 683.535 44.3765C681.852 45.8455 681.728 47.2745 681.716 48.7205C681.689 51.9425 681.736 55.1655 681.666 58.3865C681.64 59.6045 681.373 60.8175 681.252 61.7535C679.093 63.4385 678.371 60.8805 676.975 60.7485C676.709 61.0695 676.317 61.3225 676.315 61.5795C676.22 72.6715 676.153 83.7635 676.112 94.8555C676.109 95.7105 676.332 96.5665 676.463 97.5195C679.455 98.4925 682.28 98.1155 685.248 97.9665C686.36 96.8945 687.438 95.7085 688.663 94.7025C692.646 91.4355 696.869 91.5375 700.825 94.9115C701.778 95.7245 702.725 96.5435 704.085 97.7125C707.807 98.3655 721.078 98.3495 725.372 97.5535C726.5 95.9815 726.109 94.2315 725.804 92.3295C724.817 91.7085 723.794 91.0655 722.887 90.4965C722.012 88.6465 721.557 86.9675 722.502 84.9375C723.414 84.4455 724.493 83.8645 725.752 83.1865C725.853 82.4325 726.07 81.5615 726.072 80.6895C726.099 70.4855 726.095 60.2815 726.098 50.0775C726.1 47.7605 726.099 45.4435 726.099 43.0435ZM703.549 139.796C704.493 137.779 703.499 135.511 704.379 133.603C705.397 131.398 705.255 129.086 705.255 126.779C705.255 124.657 705.19 122.536 705.143 119.699C703.103 122.452 703.299 125.727 700.676 127.366C699.661 127.63 698.647 127.895 697.464 128.204C696.676 128.846 695.744 129.606 694.614 130.527C692.393 128.584 690.467 126.595 688.83 124.337C688.012 124.28 687.336 124.232 686.752 124.191C686.478 124.681 686.153 124.988 686.165 125.28C686.338 129.34 686.557 133.397 686.768 137.532C697.598 133.45 697.066 135.615 703.549 139.796ZM687.718 145.883C687.887 150.054 690.379 152.215 694.771 151.999C698.891 151.797 701.139 149.198 700.908 144.901C700.686 140.757 698.202 138.633 693.792 138.813C689.629 138.983 687.536 141.419 687.718 145.883ZM707.854 106.176C709.152 105.231 710.471 104.316 711.837 103.348C713.094 103.27 714.333 103.192 715.76 103.103C716.51 102.72 717.444 102.245 718.551 101.68C719.08 102.238 719.763 102.655 719.964 103.238C720.305 104.234 720.344 105.333 720.499 106.325C721.599 107.958 723.002 108.787 725.174 108.752C725.278 105.821 725.121 103.212 723.927 100.796C719.581 100.16 708.644 100.129 703.681 100.771C702.875 103.168 703.271 105.328 703.201 107.448C703.18 108.104 702.98 108.877 703.951 109.467C705.528 108.822 706.457 107.194 707.854 106.176ZM707.269 111.79C709.551 110.528 711.835 109.264 714.27 107.918C713.963 107.452 713.72 107.083 713.367 106.548C710.647 107.634 708.223 108.837 707.269 111.79ZM688.46 104.653C688.373 107.334 688.376 110.021 688.451 112.703C688.525 115.356 688.104 118.055 689.029 120.82C691.94 121.986 694.995 121.274 697.973 121.367C698.781 121.392 699.603 120.949 700.32 120.748C700.929 115.284 700.852 100.974 700.221 96.9455C698.878 95.3405 697.07 94.6875 695.029 94.6035C692.805 94.5125 690.772 95.0075 689.045 96.8855C688.013 99.2915 688.546 102.008 688.46 104.653ZM728.472 89.7765C729.783 88.4345 729.783 88.4345 728.767 86.6035C727.649 86.8715 726.48 87.1525 725.403 87.4105C725.292 87.9505 725.225 88.2675 725.102 88.8665C726.242 89.1745 727.397 89.4865 728.472 89.7765ZM728.835 116.703C728.827 115.837 728.485 114.974 728.271 113.988C725.36 111.551 722.019 110.001 718.353 108.996C714.786 109.796 711.702 111.521 708.514 113.613C706.433 119.241 708.005 125.1 707.361 131.146C711.606 131.71 723.476 131.775 728.084 131.365C728.308 130.972 728.78 130.527 728.787 130.075C728.856 125.618 728.878 121.16 728.835 116.703ZM729.839 134.874C728.971 134.679 728.301 134.401 727.628 134.396C721.761 134.348 715.893 134.329 710.026 134.355C708.993 134.36 707.961 134.614 707.195 134.717C705.885 136.271 706.436 137.64 706.57 138.908C707.011 139.174 707.299 139.486 707.611 139.513C710.723 139.783 726.564 139.649 729.43 139.365C730.601 138.184 730.357 136.801 729.839 134.874ZM730.482 143.92C730.183 143.646 729.953 143.242 729.669 143.201C722.934 142.232 716.164 142.786 709.406 142.805C708.391 142.808 707.377 143.215 706.17 143.477C706.222 144.651 706.265 145.64 706.307 146.61C707.065 146.84 707.563 147.122 708.062 147.122C715.187 147.115 722.311 147.078 729.435 147.013C729.74 147.01 730.042 146.676 730.481 146.417V143.92H730.482ZM757.525 141.949C757.511 139.237 757.474 139.237 755.856 136.117C754.938 135.771 753.819 135.172 752.629 134.942C750.681 134.566 736.157 134.887 733.346 135.199C732.129 136.095 732.301 137.455 732.453 138.639C732.935 142.374 733.019 146.07 732.76 149.85C732.555 152.838 733.284 155.896 733.677 158.913C733.763 159.575 734.185 160.194 734.411 160.737C738.483 161.357 750.652 161.471 756.628 160.966C757.689 159.692 757.514 158.583 757.519 157.539C757.546 152.341 757.552 147.145 757.525 141.949ZM640.57 182.447C640.57 182.377 640.57 182.307 640.569 182.237H639.538C639.538 182.307 639.539 182.377 639.539 182.447H640.57Z");
			attr(path17, "fill", "white");
			attr(path17, "fill-opacity", path17_fill_opacity_value = /*highlightParts*/ ctx[0].sight);
			attr(svg, "viewBox", "0 0 1703 407");
			attr(svg, "class", "blueprint-weapon-rpg__svg");
			attr(svg, "fill", "none");
			attr(svg, "xmlns", "http://www.w3.org/2000/svg");
			attr(div, "class", "blueprint-weapon-rpg svelte-1tce1vq");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, svg);
			append(svg, path0);
			append(svg, path1);
			append(svg, path2);
			append(svg, path3);
			append(svg, path4);
			append(svg, path5);
			append(svg, path6);
			append(svg, path7);
			append(svg, path8);
			append(svg, path9);
			append(svg, path10);
			append(svg, path11);
			append(svg, path12);
			append(svg, path13);
			append(svg, path14);
			append(svg, path15);
			append(svg, path16);
			append(svg, path17);
			append(div, t);
			if (if_block) if_block.m(div, null);
		},
		p(ctx, [dirty]) {
			if (dirty & /*highlightParts*/ 1 && path14_fill_opacity_value !== (path14_fill_opacity_value = /*highlightParts*/ ctx[0].tube)) {
				attr(path14, "fill-opacity", path14_fill_opacity_value);
			}

			if (dirty & /*highlightParts*/ 1 && path15_fill_opacity_value !== (path15_fill_opacity_value = /*highlightParts*/ ctx[0].missile)) {
				attr(path15, "fill-opacity", path15_fill_opacity_value);
			}

			if (dirty & /*highlightParts*/ 1 && path16_fill_opacity_value !== (path16_fill_opacity_value = /*highlightParts*/ ctx[0].barrel)) {
				attr(path16, "fill-opacity", path16_fill_opacity_value);
			}

			if (dirty & /*highlightParts*/ 1 && path17_fill_opacity_value !== (path17_fill_opacity_value = /*highlightParts*/ ctx[0].sight)) {
				attr(path17, "fill-opacity", path17_fill_opacity_value);
			}

			if (/*currentZoneIndex*/ ctx[4] >= 0) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = rpg_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			if (if_block) if_block.d();
		}
	};
}

function rpg_index_svelte_instance($$self, $$props, $$invalidate) {
	const Zones = {
		Tube: 'tube',
		Barrel: 'barrel',
		Sight: 'sight',
		Missile: 'missile'
	};

	const highlightParts = {
		[Zones.Tube]: 0,
		[Zones.Barrel]: 0,
		[Zones.Sight]: 0,
		[Zones.Missile]: 0
	};

	const zonesOrder = (0,lodash.shuffle)(Object.values(Zones));
	let zoneWidth = 0;
	let zoneHeight = 0;
	let zoneNode = null;
	let currentZoneIndex = 0;

	const fillZone = () => {
		$$invalidate(0, highlightParts[zonesOrder[currentZoneIndex]] = 0.5, highlightParts);

		if (currentZoneIndex + 1 >= zonesOrder.length) {
			$$invalidate(4, currentZoneIndex = -1);
			sendClientMessage('blueprint.complete');
			return;
		}

		$$invalidate(4, currentZoneIndex += 1);
	};

	afterUpdate(() => {
		if (!(0,lodash.isNil)(zoneNode) && !(0,lodash.isNil)(zoneNode.offsetWidth) && !(0,lodash.isNil)(zoneNode.offsetHeight)) {
			$$invalidate(1, zoneWidth = zoneNode.offsetWidth);
			$$invalidate(2, zoneHeight = zoneNode.offsetHeight);
		}
	});

	function div_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			zoneNode = $$value;
			$$invalidate(3, zoneNode);
		});
	}

	return [
		highlightParts,
		zoneWidth,
		zoneHeight,
		zoneNode,
		currentZoneIndex,
		zonesOrder,
		fillZone,
		div_binding
	];
}

class Rpg extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, rpg_index_svelte_instance, rpg_index_svelte_create_fragment, safe_not_equal, {}, rpg_index_svelte_add_css);
	}
}

/* harmony default export */ const rpg_index_svelte = (Rpg);
;// CONCATENATED MODULE: ./src/views/blueprint/components/pm/index.svelte
/* src\views\blueprint\components\pm\index.svelte generated by Svelte v3.49.0 */






function pm_index_svelte_add_css(target) {
	append_styles(target, "svelte-146lvs", "@keyframes svelte-146lvs-blinking{50%{opacity:0}}@keyframes svelte-146lvs-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-146lvs-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-146lvs-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-146lvs-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-146lvs-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-146lvs-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-146lvs-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-146lvs-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-146lvs-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-146lvs-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-146lvs-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-146lvs-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-146lvs-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-146lvs-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.blueprint-weapon-pm.svelte-146lvs{position:relative;width:100%;height:100%}.blueprint-weapon-pm__target-zone.svelte-146lvs{position:absolute;background:rgba(255, 219, 108, 0.2);border-width:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-pm__target-zone.svelte-146lvs{border-width:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-pm__target-zone.svelte-146lvs{border-width:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-pm__target-zone.svelte-146lvs{border-width:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-pm__target-zone.svelte-146lvs{border-width:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-pm__target-zone.svelte-146lvs{border-width:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-pm__target-zone.svelte-146lvs{border-width:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-pm__target-zone.svelte-146lvs{border-width:calc(0.0028645833 * 100vw + 0px)}}.blueprint-weapon-pm__target-zone--handle.svelte-146lvs{bottom:calc(0 * 100vw + 0px);left:calc(0.0036458333 * 100vw + 0px);width:calc(0.1541666667 * 100vw + 0px);height:calc(0.1921875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-pm__target-zone--handle.svelte-146lvs{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-pm__target-zone--handle.svelte-146lvs{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-pm__target-zone--handle.svelte-146lvs{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-pm__target-zone--handle.svelte-146lvs{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-pm__target-zone--handle.svelte-146lvs{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-pm__target-zone--handle.svelte-146lvs{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-pm__target-zone--handle.svelte-146lvs{bottom:calc(0 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-pm__target-zone--handle.svelte-146lvs{left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-pm__target-zone--handle.svelte-146lvs{left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-pm__target-zone--handle.svelte-146lvs{left:calc(0.0028072917 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-pm__target-zone--handle.svelte-146lvs{left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-pm__target-zone--handle.svelte-146lvs{left:calc(0.0025520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-pm__target-zone--handle.svelte-146lvs{left:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-pm__target-zone--handle.svelte-146lvs{left:calc(0.0040104167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-pm__target-zone--handle.svelte-146lvs{width:calc(0.1541666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-pm__target-zone--handle.svelte-146lvs{width:calc(0.1541666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-pm__target-zone--handle.svelte-146lvs{width:calc(0.1187083333 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-pm__target-zone--handle.svelte-146lvs{width:calc(0.1695833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-pm__target-zone--handle.svelte-146lvs{width:calc(0.1079166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-pm__target-zone--handle.svelte-146lvs{width:calc(0.13875 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-pm__target-zone--handle.svelte-146lvs{width:calc(0.1695833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-pm__target-zone--handle.svelte-146lvs{height:calc(0.1921875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-pm__target-zone--handle.svelte-146lvs{height:calc(0.1921875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-pm__target-zone--handle.svelte-146lvs{height:calc(0.147984375 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-pm__target-zone--handle.svelte-146lvs{height:calc(0.21140625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-pm__target-zone--handle.svelte-146lvs{height:calc(0.13453125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-pm__target-zone--handle.svelte-146lvs{height:calc(0.17296875 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-pm__target-zone--handle.svelte-146lvs{height:calc(0.21140625 * 100vw + 0px)}}.blueprint-weapon-pm__target-zone--barrel.svelte-146lvs{top:calc(0 * 100vw + 0px);left:calc(0.0015625 * 100vw + 0px);width:calc(0.3859375 * 100vw + 0px);height:calc(0.0848958333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-pm__target-zone--barrel.svelte-146lvs{top:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-pm__target-zone--barrel.svelte-146lvs{top:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-pm__target-zone--barrel.svelte-146lvs{top:calc(0 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-pm__target-zone--barrel.svelte-146lvs{top:calc(0 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-pm__target-zone--barrel.svelte-146lvs{top:calc(0 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-pm__target-zone--barrel.svelte-146lvs{top:calc(0 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-pm__target-zone--barrel.svelte-146lvs{top:calc(0 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-pm__target-zone--barrel.svelte-146lvs{left:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-pm__target-zone--barrel.svelte-146lvs{left:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-pm__target-zone--barrel.svelte-146lvs{left:calc(0.001203125 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-pm__target-zone--barrel.svelte-146lvs{left:calc(0.00171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-pm__target-zone--barrel.svelte-146lvs{left:calc(0.00109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-pm__target-zone--barrel.svelte-146lvs{left:calc(0.00140625 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-pm__target-zone--barrel.svelte-146lvs{left:calc(0.00171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-pm__target-zone--barrel.svelte-146lvs{width:calc(0.3859375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-pm__target-zone--barrel.svelte-146lvs{width:calc(0.3859375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-pm__target-zone--barrel.svelte-146lvs{width:calc(0.297171875 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-pm__target-zone--barrel.svelte-146lvs{width:calc(0.42453125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-pm__target-zone--barrel.svelte-146lvs{width:calc(0.27015625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-pm__target-zone--barrel.svelte-146lvs{width:calc(0.34734375 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-pm__target-zone--barrel.svelte-146lvs{width:calc(0.42453125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-pm__target-zone--barrel.svelte-146lvs{height:calc(0.0848958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-pm__target-zone--barrel.svelte-146lvs{height:calc(0.0848958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-pm__target-zone--barrel.svelte-146lvs{height:calc(0.0653697917 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-pm__target-zone--barrel.svelte-146lvs{height:calc(0.0933854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-pm__target-zone--barrel.svelte-146lvs{height:calc(0.0594270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-pm__target-zone--barrel.svelte-146lvs{height:calc(0.07640625 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-pm__target-zone--barrel.svelte-146lvs{height:calc(0.0933854167 * 100vw + 0px)}}.blueprint-weapon-pm__target-zone--trigger.svelte-146lvs{top:calc(0.0666666667 * 100vw + 0px);right:calc(0.0713541667 * 100vw + 0px);width:calc(0.1307291667 * 100vw + 0px);height:calc(0.0848958333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-pm__target-zone--trigger.svelte-146lvs{top:calc(0.0666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-pm__target-zone--trigger.svelte-146lvs{top:calc(0.0666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-pm__target-zone--trigger.svelte-146lvs{top:calc(0.0513333333 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-pm__target-zone--trigger.svelte-146lvs{top:calc(0.0733333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-pm__target-zone--trigger.svelte-146lvs{top:calc(0.0466666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-pm__target-zone--trigger.svelte-146lvs{top:calc(0.06 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-pm__target-zone--trigger.svelte-146lvs{top:calc(0.0733333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-pm__target-zone--trigger.svelte-146lvs{right:calc(0.0713541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-pm__target-zone--trigger.svelte-146lvs{right:calc(0.0713541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-pm__target-zone--trigger.svelte-146lvs{right:calc(0.0549427083 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-pm__target-zone--trigger.svelte-146lvs{right:calc(0.0784895833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-pm__target-zone--trigger.svelte-146lvs{right:calc(0.0499479167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-pm__target-zone--trigger.svelte-146lvs{right:calc(0.06421875 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-pm__target-zone--trigger.svelte-146lvs{right:calc(0.0784895833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-pm__target-zone--trigger.svelte-146lvs{width:calc(0.1307291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-pm__target-zone--trigger.svelte-146lvs{width:calc(0.1307291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-pm__target-zone--trigger.svelte-146lvs{width:calc(0.1006614583 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-pm__target-zone--trigger.svelte-146lvs{width:calc(0.1438020833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-pm__target-zone--trigger.svelte-146lvs{width:calc(0.0915104167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-pm__target-zone--trigger.svelte-146lvs{width:calc(0.11765625 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-pm__target-zone--trigger.svelte-146lvs{width:calc(0.1438020833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-pm__target-zone--trigger.svelte-146lvs{height:calc(0.0848958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-pm__target-zone--trigger.svelte-146lvs{height:calc(0.0848958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-pm__target-zone--trigger.svelte-146lvs{height:calc(0.0653697917 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-pm__target-zone--trigger.svelte-146lvs{height:calc(0.0933854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-pm__target-zone--trigger.svelte-146lvs{height:calc(0.0594270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-pm__target-zone--trigger.svelte-146lvs{height:calc(0.07640625 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-pm__target-zone--trigger.svelte-146lvs{height:calc(0.0933854167 * 100vw + 0px)}}.blueprint-weapon-pm__target-zone-icon.svelte-146lvs{position:absolute;color:#FFDB6C;animation-name:svelte-146lvs-pulse;animation-duration:0.7s;animation-timing-function:linear;animation-iteration-count:infinite;animation-direction:alternate;top:calc(0.0078125 * 100vw + 0px);right:calc(0.0078125 * 100vw + 0px);font-size:calc(0.0229166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-pm__target-zone-icon.svelte-146lvs{top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-pm__target-zone-icon.svelte-146lvs{top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-pm__target-zone-icon.svelte-146lvs{top:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-pm__target-zone-icon.svelte-146lvs{top:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-pm__target-zone-icon.svelte-146lvs{top:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-pm__target-zone-icon.svelte-146lvs{top:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-pm__target-zone-icon.svelte-146lvs{top:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-pm__target-zone-icon.svelte-146lvs{right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-pm__target-zone-icon.svelte-146lvs{right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-pm__target-zone-icon.svelte-146lvs{right:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-pm__target-zone-icon.svelte-146lvs{right:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-pm__target-zone-icon.svelte-146lvs{right:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-pm__target-zone-icon.svelte-146lvs{right:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-pm__target-zone-icon.svelte-146lvs{right:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-pm__target-zone-icon.svelte-146lvs{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-pm__target-zone-icon.svelte-146lvs{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-pm__target-zone-icon.svelte-146lvs{font-size:calc(0.0176458333 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-pm__target-zone-icon.svelte-146lvs{font-size:calc(0.0252083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-pm__target-zone-icon.svelte-146lvs{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-pm__target-zone-icon.svelte-146lvs{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-pm__target-zone-icon.svelte-146lvs{font-size:calc(0.0252083333 * 100vw + 0px)}}.blueprint-weapon-pm__target-zone-border.svelte-146lvs{stroke:#FFDB6C;stroke-width:calc(0.0015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-pm__target-zone-border.svelte-146lvs{stroke-width:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-pm__target-zone-border.svelte-146lvs{stroke-width:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-pm__target-zone-border.svelte-146lvs{stroke-width:calc(0.001203125 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-pm__target-zone-border.svelte-146lvs{stroke-width:calc(0.00171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-pm__target-zone-border.svelte-146lvs{stroke-width:calc(0.00109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-pm__target-zone-border.svelte-146lvs{stroke-width:calc(0.00140625 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-pm__target-zone-border.svelte-146lvs{stroke-width:calc(0.00171875 * 100vw + 0px)}}");
}

// (848:4) {#if currentZoneIndex >= 0}
function pm_index_svelte_create_if_block(ctx) {
	let div;
	let i;
	let t;
	let svg;
	let rect;
	let rect_viewBox_value;
	let svg_viewBox_value;
	let div_class_value;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			i = internal_element("i");
			t = space();
			svg = svg_element("svg");
			rect = svg_element("rect");
			attr(i, "class", "blueprint-weapon-pm__target-zone-icon icon-click svelte-146lvs");
			attr(rect, "x", "0");
			attr(rect, "y", "0");
			attr(rect, "width", /*zoneWidth*/ ctx[1]);
			attr(rect, "height", /*zoneHeight*/ ctx[2]);
			attr(rect, "viewBox", rect_viewBox_value = "0 0 " + /*zoneWidth*/ ctx[1] + " " + /*zoneHeight*/ ctx[2]);
			attr(rect, "stroke", "#FFDB6C");
			attr(rect, "stroke-width", "3");
			attr(rect, "stroke-dasharray", "16 16");
			attr(svg, "class", "blueprint-weapon-pm__target-zone-border svelte-146lvs");
			attr(svg, "width", /*zoneWidth*/ ctx[1]);
			attr(svg, "height", /*zoneHeight*/ ctx[2]);
			attr(svg, "viewBox", svg_viewBox_value = "0 0 " + /*zoneWidth*/ ctx[1] + " " + /*zoneHeight*/ ctx[2]);
			attr(svg, "fill", "none");
			attr(svg, "xmlns", "http://www.w3.org/2000/svg");
			attr(div, "class", div_class_value = "blueprint-weapon-pm__target-zone blueprint-weapon-pm__target-zone--" + /*zonesOrder*/ ctx[6][/*currentZoneIndex*/ ctx[4]] + " svelte-146lvs");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, i);
			append(div, t);
			append(div, svg);
			append(svg, rect);
			/*div_binding*/ ctx[8](div);

			if (!mounted) {
				dispose = listen(div, "click", /*fillZone*/ ctx[7]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*zoneWidth*/ 2) {
				attr(rect, "width", /*zoneWidth*/ ctx[1]);
			}

			if (dirty & /*zoneHeight*/ 4) {
				attr(rect, "height", /*zoneHeight*/ ctx[2]);
			}

			if (dirty & /*zoneWidth, zoneHeight*/ 6 && rect_viewBox_value !== (rect_viewBox_value = "0 0 " + /*zoneWidth*/ ctx[1] + " " + /*zoneHeight*/ ctx[2])) {
				attr(rect, "viewBox", rect_viewBox_value);
			}

			if (dirty & /*zoneWidth*/ 2) {
				attr(svg, "width", /*zoneWidth*/ ctx[1]);
			}

			if (dirty & /*zoneHeight*/ 4) {
				attr(svg, "height", /*zoneHeight*/ ctx[2]);
			}

			if (dirty & /*zoneWidth, zoneHeight*/ 6 && svg_viewBox_value !== (svg_viewBox_value = "0 0 " + /*zoneWidth*/ ctx[1] + " " + /*zoneHeight*/ ctx[2])) {
				attr(svg, "viewBox", svg_viewBox_value);
			}

			if (dirty & /*currentZoneIndex*/ 16 && div_class_value !== (div_class_value = "blueprint-weapon-pm__target-zone blueprint-weapon-pm__target-zone--" + /*zonesOrder*/ ctx[6][/*currentZoneIndex*/ ctx[4]] + " svelte-146lvs")) {
				attr(div, "class", div_class_value);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			/*div_binding*/ ctx[8](null);
			mounted = false;
			dispose();
		}
	};
}

function pm_index_svelte_create_fragment(ctx) {
	let div;
	let svg;
	let path0;
	let path1;
	let path1_fill_opacity_value;
	let path2;
	let path2_fill_opacity_value;
	let path3;
	let path3_fill_opacity_value;
	let t;
	let if_block = /*currentZoneIndex*/ ctx[4] >= 0 && pm_index_svelte_create_if_block(ctx);

	return {
		c() {
			div = internal_element("div");
			svg = svg_element("svg");
			path0 = svg_element("path");
			path1 = svg_element("path");
			path2 = svg_element("path");
			path3 = svg_element("path");
			t = space();
			if (if_block) if_block.c();
			attr(path0, "fill-rule", "evenodd");
			attr(path0, "clip-rule", "evenodd");
			attr(path0, "d", "M115.659 0.573732C117.815 0.960418 119.465 2.49142 125.653 9.8422L133.066 18.6475H372.544C599.862 18.6475 612.055 18.5809 612.693 17.3361C613.062 16.6152 613.57 14.1954 613.823 11.9607C614.074 9.7253 614.541 7.64798 614.861 7.34448C615.182 7.04173 619.271 7.24032 623.949 7.78587C631.394 8.65517 632.796 9.0486 635.18 10.9408C636.678 12.1293 638.835 14.9261 639.973 17.1548C641.111 19.3834 643.06 21.8527 644.305 22.6411C647.442 24.6292 648.759 27.5758 648.759 32.608C648.759 36.5573 648.969 37.0938 651.38 39.3038L654 41.7063V64.8565C654 84.597 653.829 88.2525 652.834 89.6726C652.193 90.5891 651.183 91.3385 650.588 91.3385C649.994 91.3385 649.456 91.7604 649.394 92.2752C649.331 92.7908 649.202 93.5492 649.106 93.9614C649.01 94.3735 648.893 96.4898 648.845 98.6638C648.764 102.414 648.528 102.866 644.267 107.45L639.775 112.284V117.573C639.775 122.432 639.597 123.038 637.587 125.005L635.398 127.146L604.832 127.468C577.512 127.757 572.937 127.984 561.759 129.604L549.252 131.417L549.031 134.767L548.81 138.118L540.949 139.048C536.625 139.559 530.393 140.318 527.098 140.735C523.804 141.152 518.077 141.855 514.371 142.297C497.367 144.326 494.582 144.663 489.664 145.289C486.782 145.657 482.428 146.177 479.99 146.446C475.924 146.893 475.206 147.268 471.337 150.961C464.89 157.117 463.456 160.528 463.482 169.65C463.502 176.666 463.698 177.621 466.555 184.638C472.895 200.206 473.557 215.585 468.557 231.1C464.079 244.994 453.463 258.465 441.469 265.473C429.957 272.198 422.497 274.555 406.935 276.382C403.023 276.841 397.296 277.538 394.208 277.931C391.119 278.324 385.729 278.988 382.229 279.408C378.729 279.828 370.137 280.893 363.137 281.775C353.618 282.974 346.353 283.374 334.313 283.365C319.962 283.355 317.242 283.147 309.232 281.451C304.291 280.404 299.237 279.155 298.002 278.677C296.767 278.197 292.892 276.958 289.392 275.923C278.321 272.648 268.104 274.382 259.22 281.041C253.531 285.305 249.627 290.279 247.125 296.45C245.007 301.677 244.412 304.854 241.48 326.647C240.232 335.921 238.898 345.532 238.516 348.005C237.639 353.687 236.621 360.856 234.738 374.608C233.303 385.092 232.434 391.252 230.932 401.586C230.543 404.266 229.558 411.347 228.743 417.324C227.04 429.808 225.952 437.527 224.989 443.927C224.617 446.4 223.608 453.65 222.747 460.039C221.885 466.428 220.721 474.519 220.159 478.02L219.136 484.384L223.194 488.642C225.426 490.985 227.252 493.402 227.252 494.014C227.252 494.626 226.253 495.969 225.031 496.997C222.836 498.846 222.652 498.867 208.63 498.874C196.555 498.88 194.161 499.07 192.508 500.155C190.73 501.321 190.414 501.328 188.766 500.247C187.179 499.207 181.387 499.055 139.979 498.975C95.14 498.889 92.9584 498.947 92.2659 500.257C89.9008 504.731 84.7371 508 80.0361 508C76.6776 508 71.2174 505.368 68.9294 502.646C67.2673 500.669 65.5513 496.288 65.5409 493.995C65.5386 493.505 64.1042 492.919 62.3545 492.691C60.6049 492.465 54.9613 491.761 49.8141 491.127C29.9883 488.684 28.9521 488.411 26.1288 484.87C24.1268 482.36 20.2217 469.859 17.9038 458.54C16.4221 451.306 16.1376 447.673 16.1317 435.908C16.1271 428.2 16.4312 420.276 16.8077 418.297C17.1843 416.319 17.8836 411.666 18.3613 407.956C19.2806 400.824 20.4545 394.271 22.7897 383.226C23.5743 379.517 24.4585 375.302 24.7557 373.859C28.1099 357.557 39.0728 323.594 45.5623 309.399C46.6022 307.124 48.173 303.434 49.0534 301.198C51.5159 294.944 65.0093 268.255 67.0637 265.572C69.0215 263.017 74.6194 250.397 76.0104 245.401C78.1906 237.576 79.84 226.598 79.3975 222.857C79.2028 221.208 78.8592 218.267 78.6353 216.32C78.1082 211.747 75.127 201.516 72.7806 196.229C71.6846 193.76 68.8164 189.807 65.6876 186.453C57.7621 177.959 47.2641 172.354 36.2322 170.73C33.2023 170.283 28.7013 169.61 26.2307 169.234C18.8441 168.11 8.5835 163.261 3.56879 158.525C0.606262 155.728 -0.804993 151.322 0.470764 148.857C0.952148 147.928 3.60699 144.808 6.37036 141.922C12.8195 135.188 16.119 128.569 16.1346 122.331C16.1489 116.542 17.1252 114.955 22.4767 112.019C26.6192 109.747 27.5094 108.742 34.2258 98.7635C38.2223 92.8253 41.512 87.4484 41.5359 86.8144C41.5591 86.1812 39.9382 84.4374 37.934 82.9393C33.0609 79.298 29.3294 74.5312 27.8336 70.0348C26.447 65.8682 26.2179 60.9417 27.3768 60.2245C27.8208 59.9495 27.9473 58.6748 27.6741 57.218C27.2773 55.0994 27.5273 54.3853 29.2164 52.8183C30.3251 51.7901 31.02 50.6031 30.7594 50.1819C30.0377 49.0129 32.5794 45.6256 34.1779 45.6256C34.9542 45.6256 35.5892 45.1273 35.5892 44.5188C35.5892 42.9998 39.0421 40.8573 40.5544 41.438C41.3435 41.7415 42.1925 41.3354 42.9083 40.3117C43.8246 39.0025 44.5546 38.7814 46.9212 39.0992C48.5121 39.3128 50.002 39.1824 50.2326 38.8099C50.8982 37.7308 54.0913 38.0238 55.3446 39.2783C56.0626 39.997 57.1579 40.2562 58.2809 39.9737C60.1721 39.4994 62.46 41.5954 65.2953 46.399C66.017 47.622 67.0322 48.6232 67.5511 48.6232C68.0699 48.6232 70.0187 46.0168 71.8823 42.8312C75.1929 37.1702 75.2693 36.8922 75.2693 30.5531V24.0679L78.2662 21.3573L81.2632 18.6475H89.4044C95.0307 18.6475 97.7709 18.3583 98.274 17.7108C98.6745 17.196 100.062 13.739 101.359 10.0295C104.761 0.29271 106.753 -1.02547 115.659 0.573732ZM106.496 2.34829C105.807 2.86387 104.585 5.13977 103.781 7.40668C102.977 9.67359 101.287 14.349 100.024 17.7962C96.3686 27.7834 94.8308 26.8909 115.698 26.8909C135.945 26.8909 135.072 27.1929 132.356 21.1355C130.75 17.5527 118.272 2.36852 116.561 1.91439C113.862 1.19723 107.679 1.46401 106.496 2.34829ZM615.541 9.46751C615.334 10.1892 615.058 12.4651 614.929 14.5259L614.694 18.2729L626.241 18.4804C633.085 18.6033 638.088 18.3883 638.523 17.9529C639.591 16.8835 635.918 12.3751 632.754 10.8726C631.316 10.1899 627.17 9.34461 623.54 8.99464C619.91 8.64468 616.71 8.31269 616.429 8.25724C616.148 8.20179 615.748 8.74584 615.541 9.46751ZM517.271 33.6324C515.058 40.0194 513.248 45.3311 513.248 45.4353C513.248 45.5402 541.827 45.6256 576.757 45.6256H640.267L641.101 42.0061C641.754 39.1764 641.695 36.9304 640.832 31.7019C640.226 28.0254 639.409 24.2567 639.017 23.3267L638.305 21.6361L579.8 21.828L521.293 22.0198L517.271 33.6324ZM505.507 34.1667C503.103 41.0476 501.081 47.5373 501.015 48.5872C500.905 50.3318 501.181 50.5169 504.204 50.7335C508.837 51.0647 511.002 50.3918 511.002 48.6202C511.002 47.383 517.049 29.3728 519.216 24.1556C520.146 21.9171 519.627 21.6444 514.433 21.6504L509.879 21.6549L505.507 34.1667ZM502.87 24.0806C502.477 25.4205 500.776 30.4902 499.092 35.347C497.407 40.2045 496.028 44.5038 496.028 44.9017C496.028 45.2996 496.87 45.6256 497.9 45.6256C498.929 45.6256 499.772 45.4982 499.772 45.3424C499.772 45.1865 501.456 40.2555 503.515 34.3848C505.574 28.514 507.258 23.2458 507.258 22.6778C507.258 22.0813 506.483 21.6451 505.422 21.6451C503.996 21.6451 503.426 22.1892 502.87 24.0806ZM491.327 24.268C490.94 25.5045 488.809 31.6937 486.591 38.0216C484.374 44.3502 482.746 49.8297 482.974 50.1992C483.471 51.0033 490.823 51.0835 491.957 50.2981C492.657 49.8132 502.018 23.6243 502.018 22.151C502.018 21.8347 499.77 21.6766 497.024 21.798C492.205 22.0123 492.005 22.0985 491.327 24.268ZM482.043 33.2607C479.91 39.4432 478.141 44.7766 478.112 45.1131C478.084 45.4495 478.955 45.6181 480.048 45.4877C481.891 45.2682 482.303 44.4776 485.636 34.7595C489.808 22.5938 489.983 21.4428 487.606 21.78C486.155 21.9868 485.381 23.5845 482.043 33.2607ZM469.347 35.7659C466.726 43.3257 464.748 49.781 464.951 50.1107C465.567 51.1089 474.184 50.9403 474.831 49.9166C475.469 48.9065 484.025 23.1319 484.04 22.1727C484.045 21.8452 481.814 21.6766 479.081 21.798L474.113 22.0198L469.347 35.7659ZM464.123 33.2607C461.949 39.4432 460.153 44.7766 460.131 45.1131C460.109 45.4495 460.976 45.6181 462.057 45.4877C463.856 45.2712 464.329 44.3929 467.637 35.1387C472.626 21.1797 472.569 21.4877 470.101 21.78C468.21 22.0041 467.814 22.7655 464.123 33.2607ZM454.982 26.3288C454.154 28.9052 452.079 35.0105 450.371 39.8965C448.662 44.7833 447.428 49.2062 447.627 49.7263C448.118 51.0078 456.066 51.1854 456.84 49.9316C457.156 49.4198 458.662 45.2907 460.187 40.7561C461.712 36.2215 463.794 30.2541 464.813 27.4956C465.832 24.7371 466.478 22.2918 466.249 22.0625C466.019 21.8332 463.729 21.6451 461.159 21.6451H456.487L454.982 26.3288ZM446.528 32.823C444.517 38.7657 442.872 44.0766 442.872 44.6259C442.872 45.185 443.674 45.6256 444.693 45.6256C446.381 45.6256 446.793 44.7736 450.309 34.0191C452.395 27.6357 454.102 22.2176 454.102 21.9793C454.102 21.741 453.221 21.6526 452.144 21.783C450.335 22.0018 449.906 22.8464 446.528 32.823ZM433.736 35.6962C429.696 47.4077 429.07 49.8552 429.977 50.3948C431.007 51.0078 438.847 50.7282 439.374 50.0605C440.056 49.1957 448.536 22.3188 448.225 22.0078C448.026 21.8085 445.775 21.6451 443.224 21.6451H438.585L433.736 35.6962ZM432.39 21.9052C432.39 22.0483 430.706 26.9898 428.647 32.886C426.588 38.7822 424.903 44.0609 424.903 44.6162C424.903 45.1715 425.681 45.6256 426.632 45.6256C428.03 45.6256 428.588 44.9437 429.543 42.066C430.193 40.1086 431.938 35.1342 433.421 31.0125C434.904 26.8909 436.121 23.0974 436.125 22.5819C436.13 22.067 435.291 21.6451 434.262 21.6451C433.233 21.6451 432.39 21.762 432.39 21.9052ZM417.648 31.3872C412.275 46.7729 411.43 49.5202 411.857 50.2119C412.318 50.9583 418.917 51.1104 420.724 50.4165C421.376 50.1662 421.909 49.5315 421.909 49.0054C421.909 48.4801 423.728 42.8679 425.952 36.5333C428.176 30.1994 430.225 24.2425 430.506 23.2953C431.007 21.6054 430.925 21.5777 425.968 21.7965L420.92 22.0198L417.648 31.3872ZM411.18 32.5113C409.151 38.2816 407.45 43.6397 407.4 44.4176C407.297 46.0258 409.505 46.6928 410.542 45.3671C411.125 44.6207 418.914 22.7632 418.914 21.8714C418.914 21.6923 418.004 21.6526 416.891 21.783C415.01 22.0033 414.61 22.7557 411.18 32.5113ZM398.536 35.3672C396.087 42.7075 394.268 49.1995 394.496 49.793C395.027 51.1786 402.682 51.297 403.728 49.9346C404.124 49.4198 404.98 47.1432 405.631 44.8762C406.282 42.6093 408.19 36.9297 409.87 32.2542C411.55 27.5788 412.925 23.2638 412.925 22.665C412.925 21.8002 411.903 21.6219 407.957 21.798L402.99 22.0198L398.536 35.3672ZM134.768 23.3312C135.057 24.2582 135.349 25.6918 135.417 26.5162C135.535 27.9805 135.079 28.0149 115.698 28.0149C96.317 28.0149 95.861 27.9805 95.9792 26.5162C96.0466 25.6918 96.3386 24.259 96.6284 23.3312C97.1547 21.6481 97.1398 21.6451 88.33 21.6451C76.9343 21.6451 76.7666 21.774 76.7666 30.5059C76.7666 36.241 76.5345 37.2984 74.4712 40.9569C73.2089 43.1961 72.3037 45.155 72.4587 45.3101C72.9573 45.81 76.2687 45.8182 235.581 45.7208L392.524 45.6256L396.657 34.1974C398.931 27.9115 400.638 22.5167 400.45 22.2072C400.262 21.8977 340.288 21.6451 267.174 21.6451H134.241L134.768 23.3312ZM640.524 22.6868C640.524 22.8471 641.064 25.7975 641.725 29.2439C642.563 33.6091 642.77 37.0998 642.407 40.7546C641.758 47.308 641.758 47.03 642.418 54.2676C642.904 59.598 642.783 60.6479 641.359 63.4402C639.811 66.4774 639.759 67.3805 639.951 87.9273L640.149 109.26L643.299 106.482C645.032 104.953 646.8 102.754 647.23 101.594C648.311 98.6735 648.297 31.4929 647.214 28.6257C646.256 26.0875 642.874 22.3945 641.507 22.3945C640.966 22.3945 640.524 22.5256 640.524 22.6868ZM50.2034 40.3552C49.9571 40.7538 48.7495 40.879 47.5187 40.6324C45.9164 40.3117 44.8384 40.5845 43.7213 41.5939C42.8633 42.3688 41.2798 43.0028 40.2025 43.0028C38.8062 43.0028 37.9587 43.594 37.2498 45.0636C36.68 46.2454 35.6461 47.1244 34.8262 47.1244C33.1649 47.1244 31.6555 49.5037 32.2814 51.1359C32.5487 51.8336 31.9581 52.7531 30.722 53.5639C29.03 54.673 28.8001 55.2351 29.1887 57.3079C29.447 58.6875 29.3099 59.9547 28.8742 60.2245C27.6793 60.9634 27.9623 66.972 29.3594 70.5279C31.1315 75.0377 33.6927 78.2039 38.667 82.0348L42.9734 85.3524L54.6296 68.1358C61.0398 58.6665 66.2851 50.7207 66.2851 50.4794C66.2851 50.2374 64.9105 48.0139 63.2312 45.538C60.4664 41.4628 59.9805 41.0791 58.1095 41.4905C56.7147 41.7977 55.7302 41.5692 55.0826 40.7876C54.0172 39.5031 50.9005 39.2266 50.2034 40.3552ZM648.936 64.7493C648.814 79.4816 649.016 88.8977 649.465 89.3474C649.937 89.8195 650.6 89.7378 651.348 89.1166C652.343 88.29 652.503 84.9237 652.503 64.7059C652.503 41.0221 652.398 40.0629 649.882 40.6916C649.408 40.8108 649.061 49.6266 648.936 64.7493ZM511.863 49.3726L511.08 51.6208H504.723H498.366L498.508 49.5599C498.625 47.8333 498.351 47.4991 496.811 47.4991C495.467 47.4991 494.854 48.0027 494.532 49.3726C494.107 51.1839 493.862 51.2536 487.166 51.4619L480.24 51.6777L480.46 49.5884C480.763 46.7078 478.094 46.6875 476.719 49.5599C475.758 51.5653 475.564 51.6208 469.459 51.6208H463.186L462.948 49.5599C462.779 48.0829 462.29 47.4991 461.224 47.4991C460.341 47.4991 459.337 48.3347 458.751 49.5599C457.789 51.5691 457.604 51.6208 451.394 51.6208C445.775 51.6208 445.039 51.4656 445.157 50.3093C445.416 47.7606 445.101 47.1244 443.582 47.1244C442.548 47.1244 441.789 47.8596 441.262 49.3726L440.479 51.6208H433.864H427.249L427.012 49.5667C426.663 46.5391 424.33 46.3975 423.304 49.3419L422.491 51.677L416.036 51.4611C409.71 51.2506 409.58 51.2086 409.568 49.3726C409.558 47.8865 409.176 47.4991 407.718 47.4991C406.374 47.4991 405.76 48.0035 405.438 49.3726C405.007 51.1981 404.825 51.2461 398.306 51.2461C391.673 51.2461 391.616 51.2303 391.601 49.3726L391.587 47.4991L231.237 47.3103L70.8857 47.1207L65.2212 55.032C56.5305 67.1691 55.8387 65.8614 70.9382 65.8457C85.05 65.8315 96.7624 64.879 97.9948 63.6455C99.1133 62.5259 106.882 62.6773 111.847 63.9153C115.072 64.7186 124.626 65.0499 152.214 65.3144C172.238 65.5055 188.534 65.3698 188.756 65.0101C189.317 64.1026 200.856 64.1933 201.422 65.1098C202.022 66.0818 205.314 66.0818 205.914 65.1098C206.518 64.1326 218.038 64.1326 218.642 65.1098C218.896 65.522 220.075 65.8592 221.262 65.8592C222.449 65.8592 223.628 65.522 223.883 65.1098C224.486 64.1326 236.007 64.1326 236.61 65.1098C237.211 66.0825 241.25 66.0825 241.851 65.1098C242.5 64.0584 251.71 64.1738 254.742 65.2709C256.717 65.9858 257.572 65.9858 258.716 65.2709C260.474 64.1731 271.886 64.0397 272.547 65.1098C272.853 65.6059 334.789 65.8592 455.926 65.8592H638.842L640.407 62.2179C641.785 59.0105 641.883 58.0063 641.227 53.7873C640.817 51.1531 640.334 48.5767 640.152 48.0612C639.892 47.3215 626.429 47.1244 576.234 47.1244H512.646L511.863 49.3726ZM96.5618 65.9326C90.8366 68.6095 87.2482 74.6593 87.2482 81.6324C87.2482 86.3535 89.3976 89.9671 96.4877 97.168C105.947 106.777 117.426 113.639 130.297 117.379C135.987 119.032 141.902 120.076 141.902 119.426C141.902 119.203 140.643 117.934 139.103 116.607C137.563 115.281 134.095 112.172 131.394 109.699C116.087 95.679 107.82 88.8378 101.473 84.9387C92.9351 79.6937 93.6299 80.2048 94.2281 79.606C94.4984 79.3355 96.4293 80.1786 98.5203 81.4795C100.611 82.7804 102.482 83.8446 102.678 83.8446C103.378 83.8446 110.921 89.7333 115.996 94.2431C118.837 96.7671 121.869 98.8429 122.734 98.8549C123.6 98.8676 126.329 100.752 128.8 103.043C131.271 105.334 135.12 108.781 137.355 110.702C139.591 112.623 142.875 115.666 144.655 117.463C147.661 120.5 148.09 120.694 150.699 120.21C158.812 118.705 162.667 111.933 159.597 104.58C158.714 102.463 158.198 102.122 155.776 102.053C154.236 102.01 152.607 101.604 152.156 101.153C151.704 100.701 150.729 100.331 149.988 100.331C149.246 100.331 148.64 100.076 148.64 99.7654C148.64 99.4544 146.534 98.4172 143.961 97.461C141.387 96.5048 138.057 95.0735 136.559 94.2799C135.062 93.4863 133.329 92.8373 132.708 92.8373C132.087 92.8373 130.476 91.8061 129.129 90.5464C127.781 89.2867 122.999 86.7103 118.502 84.8218C114.005 82.9341 109.38 80.5922 108.225 79.6188C107.069 78.6461 105.929 77.8495 105.692 77.8495C104.832 77.8495 98.4784 73.0474 98.4784 72.3984C98.4784 71.7119 101.064 73.1515 108.211 77.8195C113.1 81.0119 114.782 81.807 129.923 88.0869C136.305 90.7337 143.637 93.7808 146.216 94.8584C150.855 96.7963 153.339 96.6869 150.578 94.6665C149.792 94.0918 148.108 92.6859 146.836 91.5431C145.564 90.4003 143.006 88.1588 141.153 86.5626C139.3 84.9664 135.763 81.8917 133.292 79.7297C122.329 70.1352 120.371 68.614 117.195 67.2216C112.515 65.1698 105.347 63.6935 102.222 64.1386C100.781 64.3432 98.2336 65.151 96.5618 65.9326ZM256.76 77.8495C250.684 100.288 243.723 127.288 243.723 128.417C243.723 129.328 244.765 129.557 248.913 129.557C253.205 129.557 254.173 129.33 254.503 128.246C254.722 127.524 257.962 115.3 261.702 101.081C265.442 86.8609 268.991 73.6454 269.589 71.7134C271.422 65.785 271.407 65.7633 265.291 66.0136L259.906 66.2339L256.76 77.8495ZM242.327 67.1706C241.942 67.8923 240.393 73.2032 238.885 78.9735C237.375 84.7439 235.635 91.3198 235.016 93.5867C234.398 95.8536 233.099 100.743 232.13 104.453C231.161 108.162 229.452 114.57 228.33 118.691C225.038 130.797 224.75 129.557 230.857 129.557C235.697 129.557 236.172 129.418 236.586 127.871C238.073 122.312 238.72 119.983 239.242 118.317C239.564 117.286 240.577 113.577 241.492 110.073C243.058 104.077 245.083 96.5363 246.723 90.5891C247.121 89.1465 248.425 84.4254 249.621 80.0976C250.818 75.7699 252 71.3327 252.249 70.2379C252.497 69.1423 252.907 67.7094 253.158 67.053C253.872 65.1885 243.324 65.3031 242.327 67.1706ZM224.206 68.1074C220.247 82.1674 207.786 128.258 207.786 128.843C207.786 129.332 209.79 129.541 213.154 129.403C218.143 129.198 218.562 129.051 219.091 127.309C219.405 126.279 221.537 118.354 223.83 109.699C226.123 101.043 229.632 87.8111 231.627 80.2932C233.622 72.7761 235.069 66.4392 234.841 66.2114C234.613 65.9843 232.246 65.8959 229.581 66.0158C225.134 66.2159 224.69 66.3883 224.206 68.1074ZM205.91 69.2315C205.084 71.7809 201.028 87.0752 192.295 120.565C191.274 124.48 190.383 128.021 190.315 128.433C190.243 128.873 192.345 129.183 195.4 129.183H200.61L208.652 99.6695C213.075 83.4377 216.91 69.1745 217.174 67.974L217.653 65.791L212.267 66.0121L206.881 66.2339L205.91 69.2315ZM189.11 67.2815C188.691 68.0632 187.312 72.7004 186.043 77.5857C184.776 82.4702 183.06 88.9967 182.232 92.0879C181.403 95.1791 179.935 100.743 178.969 104.453C178.003 108.162 176.296 114.57 175.174 118.691C171.883 130.793 171.6 129.557 177.66 129.557H182.897L183.648 126.747C184.06 125.202 185.611 119.384 187.093 113.82C188.575 108.256 190.647 100.5 191.697 96.5842C195.08 83.9727 199.55 66.724 199.55 66.2856C199.55 66.051 197.372 65.8592 194.71 65.8592C190.723 65.8592 189.736 66.1102 189.11 67.2815ZM121.064 67.2725C121.201 67.6383 124.008 70.2124 127.303 72.9941C133.723 78.4152 140.879 84.6097 146.364 89.495C148.234 91.1601 151.844 94.2918 154.389 96.4546C161.429 102.439 163.88 109.292 160.975 114.869C159.312 118.06 160.06 117.994 163.048 114.683C169.765 107.241 172.629 98.2839 173.031 83.4699C173.176 78.1117 173.095 72.1256 172.85 70.1682L172.405 66.6086H146.61C131.932 66.6086 120.922 66.8949 121.064 67.2725ZM87.2482 69.2315C87.2482 70.674 87.3769 71.8543 87.5334 71.8543C87.6906 71.8543 88.7186 70.674 89.8176 69.2315L91.8166 66.6086H89.5324C87.4211 66.6086 87.2482 66.8072 87.2482 69.2315ZM269.423 77.1001C264.66 95.3732 262.435 103.821 259.849 113.446C258.409 118.804 257.224 123.61 257.215 124.124C257.202 124.87 283.632 125.061 386.912 125.061H516.624L524.482 120.471C538.524 112.267 556.438 105.441 571.271 102.639C578.647 101.245 582.324 101.083 606.53 101.082C636.464 101.081 634.348 101.428 637.064 96.0597C638.046 94.1195 638.278 91.1481 638.278 80.5083V67.355L455.071 67.5438L271.864 67.7327L269.423 77.1001ZM254.199 69.0441C253.801 69.9711 252.583 74.1025 251.492 78.2242C249.01 87.599 247.821 91.9845 243.05 109.385C240.949 117.044 239.23 123.705 239.23 124.186C239.23 125.554 242.092 125.212 242.872 123.75C243.258 123.028 245.121 116.537 247.015 109.324C249.787 98.7657 253.948 83.021 257.662 69.0441C258.023 67.6832 257.802 67.358 256.515 67.358C255.575 67.358 254.624 68.0497 254.199 69.0441ZM236.251 69.0441C235.534 70.7722 234.16 75.7069 230.232 90.6745C229 95.368 226.618 104.434 224.938 110.823C223.259 117.211 221.829 122.931 221.761 123.534C221.621 124.766 224.08 125.543 225.038 124.569C225.381 124.222 226.838 119.384 228.276 113.82C229.714 108.256 232.072 99.3195 233.514 93.9614C238.471 75.5533 239.979 69.6106 239.979 68.4851C239.979 66.7075 237.04 67.1481 236.251 69.0441ZM211.507 94.3361C207.538 108.968 204.054 121.89 203.765 123.053C203.277 125.016 203.384 125.149 205.279 124.926C207.298 124.689 207.394 124.409 214.6 98.083C223.756 64.6309 223.241 67.2014 220.732 67.4966C218.752 67.7289 218.618 68.1209 211.507 94.3361ZM198.718 75.2266C191.854 101.208 189.597 109.698 187.96 115.694C185.694 123.997 185.647 125.061 187.545 125.061C189.903 125.061 189.044 127.77 200.336 84.7034C202.32 77.1383 204.135 70.4477 204.369 69.8347C204.992 68.21 204.131 67.2396 202.3 67.5026C200.947 67.6967 200.39 68.898 198.718 75.2266ZM174.346 75.7886C175.266 91.9852 172.443 104.453 165.881 113.16C163.051 116.917 161.277 118.493 158.57 119.659C153.661 121.773 146.813 122.428 140.641 121.375C129.539 119.48 112.22 112.477 105.079 106.993C100.918 103.798 89.4942 92.6941 89.4942 91.8451C89.4942 91.4876 88.7635 90.1679 87.871 88.9135C86.4643 86.9358 86.2007 85.3441 85.8998 76.9944L85.5524 67.358H71.0587H56.5657L43.0827 87.581L29.5997 107.805V116.436V125.069L100.848 124.877L172.097 124.686L174.135 117.192C175.928 110.598 182.854 84.609 185.778 73.5037C187.455 67.1294 187.658 67.358 180.345 67.358H173.867L174.346 75.7886ZM159.387 70.6943C161.805 72.938 161.88 74.3146 159.697 76.3507C154.37 81.3184 141.153 80.5877 141.153 75.3255C141.153 73.1036 143.004 71.4422 147.087 70.0003C152.137 68.2168 157.013 68.4918 159.387 70.6943ZM147.013 71.5875C140.968 73.485 140.42 76.4413 145.841 77.9027C149.134 78.7899 152.331 78.4212 156.515 76.6714C159.759 75.3143 160.48 73.7713 158.76 71.8686C156.612 69.4922 153.891 69.427 147.013 71.5875ZM168.619 71.9008C172.283 73.2864 172.561 77.6067 169.129 79.8571C167.388 80.9991 167.145 80.9819 165.256 79.5746C164.147 78.7495 163.129 77.3301 162.994 76.4219C162.56 73.4835 165.836 70.8486 168.619 71.9008ZM164.737 75.976C164.737 77.9446 165.027 78.2526 167.072 78.452C168.935 78.6333 169.493 78.353 169.828 77.0678C170.528 74.3903 169.647 73.2497 167.074 73.5C165.026 73.6993 164.737 74.0066 164.737 75.976ZM636.219 100.112C635.233 102.237 634.846 122.876 635.776 123.806C636.047 124.077 636.72 123.923 637.273 123.464C638.039 122.828 638.278 119.71 638.278 110.357C638.278 103.606 638.025 98.086 637.716 98.089C637.407 98.092 636.733 99.0025 636.219 100.112ZM571.271 103.936C563.596 105.406 550.232 109.467 545.067 111.897C543.832 112.478 541.016 113.664 538.81 114.532C532.898 116.858 520.29 124.012 517.178 126.807C512.936 130.617 517.572 130.499 526.386 126.571C533.082 123.589 533.097 123.586 542.858 123.574C553.218 123.562 554.425 123.928 554.425 127.084C554.425 129.219 555.746 129.278 565.656 127.591C570.988 126.684 580.45 126.262 603.464 125.908L634.16 125.436L634.369 114.604C634.483 108.646 634.399 103.306 634.18 102.737C633.849 101.874 629.265 101.757 606.645 102.029C583.054 102.314 578.43 102.564 571.271 103.936ZM343.297 106.326C343.931 107.513 343.866 107.825 342.985 107.825C342.146 107.825 341.806 108.982 341.605 112.509C341.36 116.829 341.328 116.713 341.196 111.01C341.052 104.849 341.716 103.368 343.297 106.326ZM336.529 105.916C337.026 106.514 337.225 107.656 336.972 108.452C336.719 109.249 336.908 110.769 337.391 111.83C338.11 113.41 338.043 114.103 337.022 115.663C334.934 118.854 331.069 117.813 331.169 114.087C331.339 107.767 331.476 106.664 332.204 105.786C333.265 104.507 335.414 104.57 336.529 105.916ZM326.8 106.277C327.226 107.074 327.575 109.289 327.575 111.197C327.575 115.884 326.567 117.567 323.761 117.567C322.443 117.567 321.69 117.254 321.96 116.818C322.214 116.406 323.245 116.068 324.25 116.068C325.47 116.068 326.097 115.632 326.135 114.757C326.167 114.035 326.271 112.265 326.367 110.823C326.617 107.06 326.19 106.326 323.751 106.326C322.56 106.326 321.585 105.989 321.585 105.577C321.585 104.164 325.986 104.756 326.8 106.277ZM316.205 108.762C315.252 110.514 314.101 112.284 313.646 112.696C313.192 113.108 312.266 114.28 311.588 115.299C309.925 117.798 310.079 116.328 311.82 113.071C313.199 110.492 313.198 110.404 311.723 107.825C310.227 105.21 310.227 105.207 311.719 106.888C313.565 108.968 314.561 109.014 315.77 107.076C317.563 104.202 317.924 105.602 316.205 108.762ZM304.227 108.712C303.273 110.437 301.736 112.677 300.81 113.693C299.883 114.708 299.125 115.826 299.125 116.178C299.125 116.53 298.812 116.818 298.429 116.818C298.046 116.818 298.554 115.348 299.556 113.552L301.38 110.287L299.793 108.267C298.92 107.156 298.389 106.064 298.614 105.839C298.837 105.614 299.463 106.138 300.002 107.003C301.236 108.98 302.587 109.005 303.791 107.076C305.579 104.21 305.948 105.596 304.227 108.712ZM292.222 108.667C291.283 110.367 289.758 112.543 288.831 113.504C287.904 114.465 287.146 115.604 287.146 116.035C287.146 116.466 286.795 116.818 286.366 116.818C285.937 116.818 286.445 115.35 287.496 113.556L289.406 110.293L287.816 108.27C286.942 107.157 286.406 106.068 286.626 105.848C286.845 105.629 287.401 106.152 287.86 107.011C288.917 108.987 290.603 109.014 291.812 107.076C293.582 104.239 293.927 105.581 292.222 108.667ZM280.243 108.667C279.304 110.367 277.779 112.543 276.852 113.504C275.925 114.465 275.167 115.604 275.167 116.035C275.167 116.466 274.821 116.818 274.396 116.818C273.972 116.818 274.393 115.47 275.332 113.822C276.999 110.898 277.008 110.773 275.706 108.476C274.972 107.182 274.523 105.972 274.709 105.786C274.894 105.6 275.422 106.152 275.881 107.011C276.939 108.988 278.622 109.017 279.659 107.076C280.1 106.251 280.796 105.577 281.205 105.577C281.615 105.577 281.182 106.968 280.243 108.667ZM332.618 106.774C331.779 107.613 332.971 109.324 334.393 109.324C335.311 109.324 335.81 108.796 335.81 107.825C335.81 106.396 333.692 105.699 332.618 106.774ZM151.267 107.833C152.59 109.296 152.578 109.394 150.86 111.226L149.089 113.112L147.226 111.246C145.406 109.424 145.395 109.345 146.743 107.854C148.48 105.933 149.545 105.928 151.267 107.833ZM148.64 109.324C148.64 109.736 148.977 110.073 149.389 110.073C149.801 110.073 150.137 109.736 150.137 109.324C150.137 108.912 149.801 108.574 149.389 108.574C148.977 108.574 148.64 108.912 148.64 109.324ZM332.015 112.01C330.685 113.613 332.023 115.694 334.384 115.694C336.218 115.694 337.069 113.983 336.272 111.903C335.721 110.465 333.244 110.527 332.015 112.01ZM23.8917 112.817C18.2684 115.888 17.6208 116.657 17.6208 120.263V123.476L20.8027 123.707C23.7936 123.924 24.0266 124.106 24.6779 126.747C26.2382 133.068 28.1024 128.452 28.1024 118.268C28.1024 114.173 27.9765 110.823 27.8223 110.823C27.6681 110.823 25.8997 111.72 23.8917 112.817ZM549.042 125.454C548.827 125.669 548.81 126.681 549.005 127.702C549.264 129.058 549.839 129.557 551.144 129.557C552.627 129.557 552.928 129.178 552.928 127.309C552.928 125.454 552.623 125.061 551.181 125.061C550.22 125.061 549.258 125.238 549.042 125.454ZM529 126.877L525.662 128.624L529.749 129.185C535.83 130.019 539.694 131.357 543.553 133.964C545.456 135.25 547.165 136.302 547.35 136.302C547.857 136.302 547.755 127.61 547.233 126.247C546.861 125.275 545.473 125.067 539.559 125.095C533.491 125.123 531.806 125.408 529 126.877ZM17.6208 125.831C17.6208 126.256 16.4244 129.127 14.9615 132.212C13.1235 136.088 10.5802 139.664 6.72595 143.789C3.65936 147.071 1.14978 150.02 1.14978 150.341C1.14978 157.993 14.668 166.284 30.7227 168.48C40.0423 169.754 49.2787 172.642 55.1058 176.104C57.8527 177.737 62.794 181.86 66.3 185.447L72.5762 191.868L91.33 191.625C112.432 191.351 111.466 191.576 119.891 184.988C134.137 173.847 151.87 165.686 168.005 162.846C184.206 159.994 197.852 159.933 217.519 162.626C235.049 165.026 247.083 172.414 254.892 185.572C258.783 192.128 260.652 198.126 261.326 206.222C261.819 212.15 261.617 214.382 258.703 235.222C258.329 237.901 257.816 242.116 257.564 244.589C257.312 247.062 256.57 251.049 255.916 253.448C254.66 258.05 253.644 259.163 242.974 267.628C238.291 271.344 232.717 279.181 230.684 284.91C229.927 287.044 229.012 290.985 228.652 293.667C228.291 296.35 227.66 301.074 227.252 304.166C226.843 307.257 226.192 311.978 225.807 314.657C225.422 317.336 224.736 322.226 224.283 325.523C223.829 328.821 223.156 333.71 222.784 336.389C221.568 345.17 220.479 353.156 219.716 358.871C219.304 361.962 218.663 366.684 218.292 369.363C217.379 375.952 216.238 384.24 215.247 391.47C214.795 394.767 214.096 399.825 213.696 402.711C213.295 405.596 212.674 410.317 212.317 413.202C211.386 420.725 209.402 434.915 208.531 440.266C207.78 444.885 207.53 450.064 208.086 449.485C208.251 449.313 208.949 445.126 209.637 440.18C210.64 432.964 213.807 410.708 215.607 398.214C216.09 394.867 220.392 364.6 221.307 358.122C221.743 355.031 222.396 350.478 222.759 348.005C223.123 345.532 223.796 340.811 224.257 337.514C224.717 334.216 225.401 329.495 225.775 327.022C226.149 324.549 226.995 318.479 227.654 313.533C230.019 295.797 232.217 289.804 239.095 282.33C243.927 277.079 253.665 271.943 258.79 271.943C263.608 271.941 265.385 271.108 265.78 268.667C266.118 266.581 267.565 255.895 269.954 237.844C270.39 234.547 271.057 229.826 271.436 227.353C271.815 224.88 272.675 218.81 273.348 213.864C275.911 195.012 281.776 182.854 293.997 171.056C304.789 160.637 316.777 155.012 333.752 152.403C335.952 152.065 336.559 151.636 336.559 150.421C336.559 145.336 343.512 139.418 347.75 140.896C350.252 141.77 353.526 145.101 353.914 147.168C354.173 148.546 354.748 148.659 361.026 148.567C364.782 148.513 370.753 148.091 374.293 147.631C377.834 147.17 383.679 146.444 387.282 146.017C397.732 144.778 406.133 143.763 412.176 143.009C415.264 142.624 422.087 141.8 427.337 141.178C432.586 140.557 441.178 139.541 446.428 138.92C451.678 138.298 458.501 137.464 461.589 137.066C466.933 136.378 473.05 135.643 486.857 134.028C509.247 131.407 510.246 131.438 397.202 131.238C337.289 131.133 287.848 131.206 287.333 131.402C286.665 131.656 286.395 134.07 286.39 139.838C286.384 146.757 286.129 148.456 284.618 151.664C281.428 158.434 279.718 159.255 261.087 162.957C249.692 165.222 245.771 165.028 242.202 162.021C237.911 158.407 237.535 156.811 237.836 143.482L238.107 131.431L131.325 131.241L24.5424 131.051L23.5451 133.489C22.9963 134.83 20.9105 138.625 18.9108 141.922C15.6009 147.38 15.2961 148.27 15.5117 151.853C15.6562 154.251 15.4564 155.686 15.0004 155.525C14.5886 155.38 14.2809 153.25 14.3161 150.793C14.373 146.841 14.7391 145.795 17.4852 141.747C22.1465 134.877 24.7977 127.249 23.1109 125.561C22.3076 124.756 17.6208 124.988 17.6208 125.831ZM256.45 126.873C256.45 127.045 256.246 127.72 255.996 128.372C255.582 129.45 267.162 129.557 383.904 129.557C511.316 129.557 512.277 129.546 513.622 128.059C514.977 126.561 514.93 126.56 385.714 126.56C314.619 126.56 256.45 126.701 256.45 126.873ZM238.107 128.059C238.107 129.747 241.765 129.524 242.093 127.815C242.306 126.71 241.95 126.494 240.232 126.691C238.951 126.838 238.107 127.38 238.107 128.059ZM220.513 128.059C220.513 129.158 221.013 129.557 222.385 129.557C223.757 129.557 224.257 129.158 224.257 128.059C224.257 126.959 223.757 126.56 222.385 126.56C221.013 126.56 220.513 126.959 220.513 128.059ZM202.545 128.111C202.545 129.288 202.949 129.604 204.222 129.423C206.711 129.067 206.929 126.56 204.471 126.56C203.023 126.56 202.545 126.944 202.545 128.111ZM184.715 128.246C184.531 129.219 184.963 129.557 186.394 129.557C187.453 129.557 188.32 129.417 188.32 129.244C188.32 129.072 188.535 128.37 188.798 127.685C189.186 126.674 188.87 126.486 187.119 126.687C185.788 126.84 184.869 127.436 184.715 128.246ZM28.5695 127.712C28.3262 128.346 28.5433 129.023 29.0509 129.217C29.5585 129.411 61.6388 129.482 100.34 129.376C166.671 129.194 170.72 129.108 170.958 127.871C171.197 126.63 167.421 126.56 100.11 126.56C36.8237 126.56 28.9626 126.687 28.5695 127.712ZM519.119 131.454C506.395 133.035 482.622 135.899 466.268 137.822C462.665 138.245 457.19 138.911 454.102 139.3C451.014 139.688 445.455 140.363 441.749 140.798C438.043 141.234 432.484 141.898 429.396 142.275C426.307 142.652 420.748 143.327 417.042 143.774C413.336 144.222 407.777 144.897 404.689 145.273C390.098 147.052 375.928 148.737 366.506 149.813C354.352 151.201 354.527 151.153 354.527 153.117C354.527 155.263 353.899 155.524 346.93 156.268C337.875 157.235 336.966 157.143 336.694 155.224C336.397 153.131 335.462 153.112 326.921 155.016C303.513 160.235 285.518 176.227 277.993 198.501C276.137 203.994 275.36 208.042 273.677 220.983C273.221 224.487 272.548 229.376 272.181 231.849C271.49 236.504 270.471 243.87 269.178 253.582C268.766 256.673 268.039 261.763 267.563 264.893C266.549 271.545 266.8 271.913 272.36 271.931C275.239 271.94 275.922 271.692 275.949 270.63C275.992 268.899 277.15 259.973 278.064 254.331C278.464 251.858 279.655 243.765 280.709 236.346C285.149 205.11 285.701 202.362 288.973 195.175C295.405 181.047 309.706 168.483 323.457 164.878C326.336 164.123 338.524 162.248 345.543 161.48C347.396 161.277 351.608 160.743 354.902 160.292C358.196 159.842 363.586 159.14 366.881 158.731C370.175 158.323 375.228 157.695 378.111 157.336C384.645 156.522 402.001 154.51 411.427 153.474C415.339 153.044 420.898 152.394 423.78 152.029C426.663 151.664 432.053 151.002 435.759 150.557C439.465 150.112 445.024 149.43 448.113 149.041C451.201 148.652 456.76 147.975 460.466 147.537C474.905 145.827 480.125 145.194 485.172 144.539C488.055 144.165 493.614 143.485 497.526 143.028C501.437 142.571 506.828 141.894 509.504 141.524C512.181 141.154 520.772 140.131 528.596 139.252C544.109 137.506 544.693 137.404 544.693 136.448C544.693 135.342 536.803 131.736 532.976 131.093C530.979 130.757 529.123 130.443 528.852 130.395C528.581 130.347 524.201 130.823 519.119 131.454ZM239.375 142.11L239.145 152.789H241.102C242.179 152.789 244.472 152.475 246.198 152.09C247.925 151.706 251.359 151.035 253.83 150.6C256.3 150.164 261.691 149.156 265.809 148.36C269.926 147.564 275.654 146.488 278.536 145.971C281.419 145.454 284.198 144.711 284.713 144.321C285.331 143.853 285.649 141.477 285.649 137.323V131.034L262.627 131.233L239.605 131.431L239.375 142.11ZM212.381 139.055C213.177 140.022 213.196 140.361 212.465 140.608C211.857 140.813 211.529 142.478 211.529 145.357C211.529 147.813 211.195 149.791 210.781 149.791C209.849 149.791 209.768 138.802 210.696 138.228C211.061 138.002 211.819 138.374 212.381 139.055ZM205.356 138.737C205.767 139.253 206.34 141.631 206.629 144.023C207.215 148.871 206.456 150.54 203.668 150.54C200.88 150.54 200.121 148.871 200.707 144.023C201.253 139.507 202.064 137.801 203.668 137.801C204.185 137.801 204.945 138.223 205.356 138.737ZM195.751 138.857C196.287 139.503 196.541 141.906 196.404 145.04L196.181 150.166L193.561 150.295C191.01 150.421 191 150.411 193.187 149.913C195.399 149.41 195.433 149.329 195.433 144.538C195.433 139.789 195.384 139.669 193.374 139.437C192.241 139.307 191.315 138.885 191.315 138.501C191.315 137.404 194.777 137.682 195.751 138.857ZM185.935 141.735C184.982 143.487 183.781 145.19 183.267 145.519C182.751 145.849 181.801 147.145 181.152 148.399C180.505 149.653 179.812 150.518 179.615 150.32C179.417 150.122 179.946 148.826 180.79 147.44C182.711 144.286 182.71 143.437 180.782 140.726C179.93 139.53 179.513 138.55 179.853 138.55C180.195 138.55 180.894 139.225 181.408 140.049C181.923 140.873 182.843 141.548 183.454 141.548C184.065 141.548 184.985 140.873 185.499 140.049C187.292 137.175 187.654 138.575 185.935 141.735ZM173.931 141.641C172.992 143.34 171.465 145.516 170.539 146.477C169.613 147.438 168.854 148.577 168.854 149.008C168.854 149.439 168.49 149.791 168.044 149.791C167.6 149.791 167.937 148.655 168.793 147.267C170.733 144.126 170.734 143.44 168.804 140.726C167.952 139.53 167.534 138.55 167.874 138.55C168.216 138.55 168.915 139.225 169.429 140.049C169.944 140.873 170.864 141.548 171.475 141.548C172.086 141.548 173.006 140.873 173.52 140.049C175.29 137.212 175.635 138.554 173.931 141.641ZM162.039 141.36C161.106 142.906 159.563 145.124 158.609 146.289C157.656 147.454 156.876 148.719 156.876 149.099C156.876 149.48 156.511 149.791 156.065 149.791C155.621 149.791 155.958 148.655 156.814 147.267C158.754 144.126 158.755 143.44 156.825 140.726C155.973 139.53 155.555 138.55 155.896 138.55C156.237 138.55 156.936 139.225 157.451 140.049C157.965 140.873 158.876 141.548 159.476 141.548C160.075 141.548 160.927 140.873 161.368 140.049C161.809 139.225 162.521 138.55 162.953 138.55C163.383 138.55 162.972 139.815 162.039 141.36ZM150.847 139.127C150.894 140.271 148.008 144.813 145.262 147.918L143.273 150.166L144.833 147.454C146.785 144.064 146.779 143.461 144.763 140.539L143.134 138.175L144.999 139.862C146.025 140.789 147.224 141.548 147.661 141.548C148.099 141.548 148.986 140.789 149.633 139.862C150.279 138.934 150.825 138.603 150.847 139.127ZM201.984 140.61C201.574 141.841 203.92 142.72 204.926 141.713C205.356 141.282 205.471 140.544 205.18 140.073C204.519 139.001 202.4 139.358 201.984 140.61ZM121.937 139.799C122.212 140.074 122.373 142.519 122.295 145.232L122.153 150.166L121.892 145.669C121.714 142.598 121.238 140.876 120.393 140.236C119.34 139.439 119.325 139.3 120.296 139.3C120.925 139.3 121.663 139.524 121.937 139.799ZM117.785 140.169C116.9 140.862 116.417 142.566 116.223 145.669C115.963 149.839 115.947 149.785 116.007 144.927C116.065 140.304 116.248 139.659 117.57 139.427C118.953 139.185 118.97 139.241 117.785 140.169ZM94.0334 140.481C94.7402 141.333 94.7792 141.807 94.1735 142.182C93.7115 142.467 93.2047 144.38 93.046 146.433C92.8109 149.495 92.7345 149.189 92.6237 144.733C92.5496 141.744 92.6162 139.3 92.7719 139.3C92.9269 139.3 93.4952 139.831 94.0334 140.481ZM85.5449 140.504C84.3792 141.888 84.3523 142.195 85.3248 143.004C86.7661 144.201 88.2304 143.274 87.7573 141.462C87.5544 140.684 87.6562 140.213 87.9841 140.415C88.312 140.618 88.7133 141.925 88.8758 143.32C89.1326 145.523 89.0098 145.754 87.9347 145.082C86.0323 143.893 84.2549 144.976 84.2422 147.332C84.2332 148.885 84.0558 149.14 83.5452 148.333C83.1229 147.663 83.1528 146.702 83.6245 145.821C84.0446 145.035 84.2257 143.771 84.0273 143.013C83.8117 142.188 84.3118 141.088 85.2701 140.279C86.8618 138.935 86.8641 138.936 85.5449 140.504ZM79.1684 139.937C78.6361 140.275 77.9069 141.534 77.5483 142.735C76.9104 144.87 76.8939 144.876 76.831 143.009C76.7958 141.958 76.3623 140.693 75.8682 140.199C75.1697 139.5 75.544 139.302 77.5527 139.311C79.1871 139.318 79.7808 139.548 79.1684 139.937ZM105.965 140.899C105.965 141.671 102.566 145.295 101.843 145.295C101.22 145.295 97.7297 141.45 97.7297 140.765C97.7297 139.557 98.8168 139.968 99.8021 141.548C100.316 142.372 101.228 143.046 101.827 143.046C102.427 143.046 103.278 142.372 103.719 141.548C104.588 139.923 105.965 139.526 105.965 140.899ZM201.946 144.695C200.696 145.947 200.825 147.924 202.234 149.094C204.567 151.033 207.492 147.275 205.51 144.884C204.413 143.561 203.146 143.494 201.946 144.695ZM351.441 146.55C352.093 147.673 352.24 147.705 352.259 146.731C352.283 145.469 351.495 144.332 350.965 144.864C350.79 145.039 351.004 145.798 351.441 146.55ZM342.421 145.786C340.752 147.297 340.609 151.489 342.183 152.796C344.419 154.653 347.588 154.405 349.29 152.24C352.981 147.543 346.844 141.778 342.421 145.786ZM279.151 147.193C277.577 147.461 272.247 148.466 267.306 149.426C262.365 150.386 254.279 151.913 249.338 152.819C244.396 153.725 240.072 154.725 239.728 155.04C238.852 155.845 241.162 160.041 243.225 161.395C246.598 163.607 251.034 163.533 263.188 161.065C277.529 158.152 276.948 158.329 279.682 156.027C283.557 152.763 286.18 145.104 283.006 146.324C282.459 146.533 280.725 146.925 279.151 147.193ZM465.283 148.221C463.045 148.593 457.677 149.287 453.353 149.762C449.03 150.237 443.134 150.942 440.251 151.33C437.369 151.718 430.823 152.546 425.706 153.17C420.589 153.794 416.245 154.461 416.053 154.653C415.667 155.04 416.134 155.194 421.534 156.458C430.605 158.581 444.464 167.433 451.243 175.433C465.489 192.246 468.368 217.173 458.357 237.024C456.024 241.649 453.617 244.826 448.223 250.397C444.332 254.416 440.838 257.703 440.46 257.703C440.082 257.703 438.364 258.657 436.643 259.824C434.922 260.99 431.229 262.848 428.437 263.952C422.83 266.168 418.003 267.014 393.833 270.011C388.48 270.675 381.489 271.55 378.298 271.955C375.107 272.36 369.801 273.028 366.506 273.441C363.212 273.853 357.738 274.591 354.34 275.081C350.943 275.571 344.121 275.95 339.179 275.922C331.55 275.879 329.251 275.567 323.933 273.847C317.313 271.707 311.892 268.764 307.039 264.677C305.421 263.315 303.699 262.2 303.212 262.2C302.689 262.2 302.135 263.961 301.858 266.509C301.6 268.879 301.179 272.365 300.922 274.257L300.455 277.696L304.843 278.557C312.387 280.034 322.373 280.93 331.318 280.931C339.805 280.931 349.474 280.055 381.293 276.398C384.69 276.008 390.249 275.37 393.646 274.979C397.044 274.589 403.023 273.915 406.935 273.482C429.613 270.971 444.718 263.23 455.691 248.494C464.738 236.346 468.689 224.77 468.58 210.728C468.498 200.137 467.299 193.708 464.002 186.168C460.865 178.993 459.567 170.397 460.771 164.773C461.602 160.895 465.705 154.439 469.263 151.41C471.435 149.562 471.996 147.543 470.336 147.543C469.794 147.543 467.52 147.848 465.283 148.221ZM77.4562 148.729C77.4202 149.602 77.2428 149.78 77.004 149.182C76.7876 148.641 76.8145 147.995 77.0631 147.746C77.3116 147.497 77.4883 147.939 77.4562 148.729ZM350.495 152.935C349.372 153.676 350.489 154.561 351.875 154.029C352.542 153.773 353.02 152.705 353.008 151.5C352.986 149.562 352.925 149.521 352.135 150.915C351.668 151.739 350.931 152.648 350.495 152.935ZM338.056 152.789C338.056 155.486 338.244 155.786 339.928 155.786C340.958 155.786 341.8 155.637 341.8 155.454C341.8 154.915 338.685 149.791 338.357 149.791C338.192 149.791 338.056 151.14 338.056 152.789ZM69.467 150.287C68.9519 150.495 68.1096 150.495 67.5953 150.287C67.0802 150.08 67.5017 149.909 68.5311 149.909C69.5605 149.909 69.9813 150.08 69.467 150.287ZM394.089 156.917C380.762 158.548 373.127 159.569 371.079 159.994C369.321 160.358 369.294 160.483 369.708 166.506C369.941 169.884 369.852 174.502 369.513 176.769C369.16 179.129 369.207 183.293 369.623 186.511C372.723 210.478 391.637 228.85 415.545 231.113C423.599 231.876 426.768 236.047 422.096 239.736C420.188 241.242 419.515 241.323 412.925 240.844C399.52 239.869 389.56 236.484 379.084 229.345C367.508 221.455 356.943 207.169 353.782 195.129C351.459 186.283 350.059 183.544 347.264 182.375C345.805 181.765 343.487 181.265 342.111 181.265C336.532 181.265 326.946 176.154 321.324 170.18C319.228 167.952 319.146 167.934 316.496 169.042C301.725 175.219 289.859 190.392 286.437 207.475C284.63 216.5 284.569 219.201 285.982 227.728C288.706 244.17 301.718 261.748 315.471 267.564C317.393 268.376 319.639 269.329 320.462 269.679C325.838 271.971 340.562 273.731 346.156 272.75C348.496 272.34 353.779 271.64 357.896 271.194C362.014 270.748 367.91 270.069 370.998 269.685C377.32 268.898 387.165 267.728 396.079 266.704C399.373 266.326 405.438 265.626 409.556 265.149C424.722 263.39 435.103 258.603 445.067 248.769C452.17 241.76 455.277 236.812 458.283 227.728C461.648 217.554 461.97 208.271 459.382 196.012C456.72 183.403 445.014 169.026 432.016 162.403C418.99 155.764 411.891 154.738 394.089 156.917ZM363.805 161.038C363.328 161.515 363.262 163.777 363.626 167.187C363.943 170.153 364.047 172.737 363.857 172.926C363.064 173.721 362.591 172.07 362.13 166.892C361.663 161.663 361.552 161.407 359.768 161.428C355.087 161.482 322.781 165.913 321.559 166.669C320.358 167.411 321.626 169.047 326.308 172.799C331.493 176.953 337.219 179.477 343.15 180.222C349.943 181.074 351.527 182.724 354.252 191.782C357.006 200.935 359.238 205.674 364.259 213.023C368.783 219.646 372.744 223.492 380.043 228.352C390.67 235.427 400.382 238.699 413.092 239.484C421.006 239.973 422.657 239.431 422.657 236.346C422.657 233.879 421.344 233.147 415.912 232.589C403.182 231.279 393.243 226.685 384.07 217.871C377.316 211.38 373.717 205.789 370.396 196.628C368.631 191.761 368.481 190.317 368.323 176.63C368.229 168.518 367.931 161.52 367.659 161.081C367.036 160.071 364.796 160.046 363.805 161.038ZM169.623 164.039C159.707 165.759 150.954 168.53 142.098 172.754C130.276 178.392 126.548 183.76 126.562 195.129C126.57 200.946 126.822 202.286 128.393 204.871C132.814 212.141 148.407 226.317 157.25 231.104C160.132 232.664 162.828 234.184 163.239 234.481C164.613 235.473 179.159 240.382 185.841 242.109C191.427 243.552 194.388 243.815 205.165 243.826C227.782 243.85 238.289 240.723 249.1 230.752C253.583 226.618 255.435 224.24 257.619 219.816C260.4 214.181 260.408 214.141 259.917 207.269C259.314 198.812 258.138 194.231 255.071 188.385C248.656 176.156 239.372 169.056 225.124 165.482C210.524 161.82 186.084 161.185 169.623 164.039ZM121.313 185.493C112.241 192.797 112.053 192.845 91.4752 193.118L73.6161 193.355L74.0122 194.991C74.2293 195.891 75.4692 199.663 76.7666 203.372C80.1649 213.091 81.4616 224.008 80.1918 232.224C77.8687 247.253 76.0179 251.837 61.4291 278.686C58.629 283.838 54.5031 292.269 52.2593 297.421C50.0155 302.573 47.4894 308.306 46.6464 310.161C40.6255 323.408 29.1362 359.22 26.3309 373.484C26.0876 374.721 25.1922 378.936 24.3417 382.852C21.8643 394.254 20.7825 400.355 18.6959 414.701C16.9889 426.438 16.7972 429.601 17.2172 439.056C17.483 445.032 18.362 453.51 19.1706 457.894C21.0587 468.133 25.5479 482.408 27.5677 484.595C29.9598 487.185 40.0812 489.791 40.0812 487.817C40.0812 487.434 39.0458 484.314 37.7798 480.886C31.0798 462.736 27.9683 437.917 30.2997 421.215C30.6845 418.456 31.5665 411.816 32.2583 406.457C32.9508 401.099 34.1592 393.68 34.9438 389.971C35.7277 386.261 37.0416 380.023 37.8629 376.107C40.338 364.312 46.3634 344.403 54.2515 321.955C55.5206 318.344 59.0843 309.638 62.1711 302.61C65.2571 295.581 67.7825 289.678 67.7825 289.493C67.7825 289.164 73.8191 277.941 83.0848 261.043C87.2946 253.364 90.9138 243.497 93.1763 233.525C94.2147 228.949 94.2206 215.815 93.1867 210.068C92.7473 207.622 91.7365 203.477 90.9407 200.858C89.1318 194.902 89.0555 193.457 90.6172 194.754C91.2349 195.268 91.7402 195.973 91.7402 196.323C91.7402 196.672 92.6296 198.904 93.716 201.282C99.9076 214.831 100.856 230.186 96.5483 247.099C95.563 250.966 91.6556 259.222 83.7278 274.19C73.4222 293.648 67.7241 306.226 61.3715 323.538C57.2709 334.712 55.5992 339.744 51.2471 354C50.8698 355.237 49.8912 358.401 49.0721 361.032C47.2454 366.903 42.0682 392.257 40.4084 403.46C39.7368 407.994 38.8864 413.727 38.5187 416.2C38.1511 418.673 37.6323 424.298 37.3651 428.699L36.8792 436.704L58.5303 436.943C79.9426 437.18 80.2211 437.204 83.8222 439.059C85.8242 440.092 88.4109 442.115 89.5698 443.555C93.3372 448.24 93.9863 452.887 93.9863 475.17V495.232L95.7675 495.679C96.7474 495.925 98.5158 496.017 99.698 495.881C101.674 495.655 101.923 495.272 102.782 491.139C103.421 488.059 103.657 480.5 103.53 467.158C103.315 444.516 103.279 444.38 95.3204 435.686C87.5087 427.153 84.5582 426.216 63.6647 425.632L47.9424 425.192L48.1333 422.195C48.2381 420.546 48.6431 417.174 49.034 414.701C49.424 412.228 50.124 407.338 50.5905 403.835C51.0562 400.331 51.7322 396.116 52.0923 394.467C52.4532 392.819 53.4489 388.097 54.3069 383.976C56.7626 372.171 58.8289 363.371 60.2903 358.496C61.0316 356.023 62.4069 351.134 63.3465 347.63C64.8581 341.993 73.7509 317.269 76.4193 311.285C79.8587 303.571 86.4995 288.296 86.4995 288.098C86.4995 287.967 87.9579 285.207 89.7397 281.963C91.5224 278.718 94.6069 273.028 96.5939 269.319C101.081 260.945 112.646 242.174 116.555 236.919C122.575 228.826 126.588 228.783 137.102 236.693C153.341 248.911 171.323 256.32 191.689 259.185C194.572 259.59 202.206 259.928 208.655 259.937L220.38 259.952L222.319 262.257C224.526 264.883 224.697 266.279 223.14 268.944C219.22 275.651 217.624 280.644 216.076 291.051C215.585 294.349 214.883 299.07 214.516 301.543C214.148 304.016 213.478 308.905 213.027 312.409C212.575 315.912 211.896 320.802 211.517 323.275C211.139 325.748 209.795 335.359 208.531 344.633C207.266 353.906 205.761 364.529 205.184 368.239C204.608 371.948 203.912 377.006 203.639 379.479C203.366 381.952 202.492 388.36 201.697 393.718C200.902 399.076 199.408 409.53 198.377 416.949C197.346 424.368 195.84 435.159 195.029 440.93C194.219 446.7 193.187 454.119 192.737 457.416C192.287 460.713 191.614 465.03 191.242 467.008C190.87 468.986 190.566 471.538 190.566 472.68C190.566 477.194 188.363 482.412 185.549 484.561L182.823 486.642L143.856 487.017L104.889 487.392L104.248 490.639C103.1 496.452 99.4958 496.01 148.055 496.005C175.515 496.003 192.713 495.717 194.45 495.234C199.782 493.752 199.86 493.445 205.527 451.608C205.932 448.62 206.599 443.815 207.009 440.93C207.42 438.044 208.445 430.457 209.289 424.068C210.132 417.68 211.148 410.429 211.546 407.956C211.944 405.483 213.113 397.053 214.144 389.221C215.176 381.39 216.346 372.96 216.745 370.487C217.365 366.647 219.04 354.53 220.216 345.382C220.402 343.94 220.887 340.399 221.295 337.514C221.702 334.628 222.362 329.907 222.759 327.022C223.157 324.137 223.811 319.416 224.213 316.531C224.615 313.645 225.682 305.889 226.585 299.295C227.521 292.442 228.818 286.04 229.61 284.353C230.371 282.73 230.995 281.11 230.995 280.752C230.995 279.622 236.729 271.667 239.342 269.171C240.722 267.854 244.209 264.969 247.092 262.761C249.974 260.553 252.778 257.825 253.322 256.699C254.789 253.665 257.261 239.111 258.463 226.437L258.834 222.522L251.259 230.037C242.54 238.684 238.201 241.071 226.503 243.655C220.73 244.93 216.783 245.23 205.54 245.248C192.638 245.268 191.188 245.128 184.38 243.198C168.996 238.838 157.338 233.601 148.654 227.148C142.978 222.932 128.148 207.51 126.637 204.252C125.906 202.676 125.123 198.956 124.899 195.985C124.55 191.363 124.762 189.913 126.371 185.925C127.526 183.063 127.924 181.267 127.403 181.27C126.936 181.272 124.196 183.173 121.313 185.493ZM95.0322 221.198C94.9079 238.532 92.3579 247.152 81.7229 266.185C78.5851 271.8 76.0179 276.543 76.0179 276.724C76.0179 276.905 74.713 279.36 73.1176 282.178C71.5228 284.998 68.7842 290.677 67.0322 294.798C65.2803 298.92 62.9991 304.147 61.963 306.414C57.8512 315.406 48.2261 342.504 45.3287 353.245C44.5493 356.133 43.2055 360.857 42.3423 363.742C41.479 366.627 40.4504 370.505 40.0551 372.36C35.3616 394.4 34.4586 399.342 33.3483 409.08C32.8542 413.408 32.1459 418.781 31.7739 421.021C30.8552 426.549 30.9188 443.911 31.8817 450.527C33.2353 459.821 35.6049 469.822 38.7089 479.337C41.908 489.145 41.3892 488.503 47.0058 489.614C49.302 490.069 49.1485 488.784 46.1298 482.273C38.3884 465.579 34.002 436.253 36.7496 419.572C37.3268 416.068 38.3435 409.155 39.0091 404.209C40.4308 393.65 45.3984 368.847 47.4894 361.869C48.2928 359.19 49.838 353.963 50.9244 350.253C53.0903 342.857 55.5392 335.355 56.55 333.017C56.9064 332.193 58.5602 327.529 60.2245 322.652C64.084 311.349 68.9579 300.528 79.691 279.436C96.2735 246.848 95.4724 248.852 97.3718 235.222C98.2305 229.061 98.298 225.97 97.6803 220.983C97.0492 215.884 95.7772 210.492 95.2059 210.492C95.1528 210.492 95.0748 215.31 95.0322 221.198ZM282.262 234.909C280.767 244.653 279.711 252.515 279.682 254.132C279.661 255.344 279.828 255.35 282.16 254.237C284.455 253.142 284.854 253.145 287.033 254.273C289.534 255.568 291.624 259.404 291.049 261.647C290.562 263.543 286.567 266.697 284.655 266.693C283.761 266.692 281.938 266.025 280.605 265.212L278.182 263.733L277.834 265.402C276.236 273.068 276.888 273.878 283.972 273.034C293.004 271.958 297.235 267.729 297.141 259.87C297.095 255.949 296.677 254.79 293.324 249.279C288.557 241.442 285.994 235.765 285.285 231.475C284.189 224.846 283.727 225.372 282.262 234.909ZM122.216 233.091C119.919 234.322 117.115 237.84 114.33 242.985C112.961 245.516 111.249 248.261 110.525 249.085C108.681 251.188 101.077 263.517 99.1664 267.501C98.292 269.325 96.6052 272.504 95.4193 274.565C93.5086 277.884 87.0505 290.925 83.7308 298.17C83.0698 299.613 82.1204 301.636 81.6211 302.667C81.1217 303.697 80.4733 305.552 80.1791 306.788C79.8849 308.025 79.2283 309.542 78.7192 310.161C78.2108 310.779 76.8475 313.814 75.6907 316.905C74.5341 319.996 72.9446 324.129 72.16 326.088C68.9976 333.984 65.7603 344.043 62.5746 355.874C61.2981 360.613 59.943 365.503 59.5634 366.74C58.8589 369.033 56.1727 381.256 55.0347 387.348C54.688 389.203 54.0276 392.406 53.5679 394.467C53.1075 396.528 52.5872 399.621 52.412 401.341C52.236 403.06 51.7419 406.033 51.3137 407.947C50.8854 409.86 50.6728 411.657 50.842 411.939C51.0112 412.222 50.705 414.596 50.1615 417.216C49.6179 419.836 49.3536 422.45 49.5738 423.024C50.0215 424.192 49.576 424.16 65.5364 424.154C84.3799 424.147 91.2686 427.037 99.7242 438.496C104.766 445.328 105.216 447.726 105.216 467.707V485.515L144.134 485.329L183.052 485.144L185.396 482.796C188.026 480.164 189.239 475.246 190.918 460.414C191.058 459.177 191.546 455.468 192.003 452.17C192.459 448.873 192.994 444.995 193.193 443.552C193.39 442.11 193.857 438.906 194.231 436.433C194.605 433.96 195.29 428.902 195.756 425.192C196.221 421.483 196.946 416.487 197.369 414.089C197.791 411.692 198.422 407.308 198.771 404.347C199.12 401.386 199.943 395.254 200.599 390.72C201.255 386.186 202.147 379.779 202.58 376.482C203.012 373.185 203.667 368.463 204.036 365.99C204.405 363.517 205.054 358.965 205.478 355.874C205.902 352.782 207.428 341.654 208.868 331.144C213.536 297.07 213.859 294.914 215.619 286.13C217.189 278.297 218.317 275.09 221.714 268.794C223.072 266.276 222.429 263.402 220.269 262.345C219.374 261.907 212.241 261.359 204.417 261.127C191.194 260.735 186.14 260.188 180.459 258.531C179.224 258.17 176.192 257.443 173.721 256.914C171.25 256.386 168.892 255.701 168.48 255.393C168.068 255.086 165.537 254.007 162.855 252.996C158.354 251.301 152.305 248.351 146.754 245.145C145.511 244.426 141.303 241.479 137.402 238.594C133.502 235.709 129.892 233.18 129.382 232.973C127.529 232.226 123.714 232.288 122.216 233.091ZM454.987 238.594C454.518 239.624 454.41 240.467 454.747 240.467C455.084 240.467 455.743 239.624 456.212 238.594C456.681 237.563 456.789 236.72 456.452 236.72C456.115 236.72 455.456 237.563 454.987 238.594ZM448.017 248.523C447.086 249.712 447.112 249.738 448.3 248.807C449.547 247.827 449.943 247.212 449.327 247.212C449.172 247.212 448.582 247.802 448.017 248.523ZM440.126 255.658C439.33 256.948 443.796 253.599 445.492 251.634C446.504 250.461 445.962 250.696 443.818 252.357C442.074 253.709 440.412 255.194 440.126 255.658ZM281.029 256.695C279.474 258.104 279.194 262.183 280.558 263.549C281.541 264.533 286.284 264.753 287.59 263.875C289.04 262.898 289.4 258.797 288.186 257.063C286.812 255.099 283.007 254.904 281.029 256.695ZM298.608 260.567C298.525 266.036 295.377 271.064 290.955 272.791C289.923 273.194 289.442 273.763 289.832 274.118C290.496 274.724 297.381 277.188 298.407 277.188C298.873 277.188 299.752 272.297 301.005 262.715C301.312 260.37 301.164 258.732 300.583 258.032C299.094 256.235 298.665 256.787 298.608 260.567ZM254.264 274.494C244.903 277.665 239.527 282.086 234.591 290.677C232.472 294.364 230.839 300.511 229.516 309.786C229.045 313.083 228.363 317.805 228 320.278C227.637 322.75 226.96 327.472 226.495 330.769C226.031 334.066 225.332 338.956 224.943 341.635C224.553 344.314 223.568 351.396 222.754 357.372C221.205 368.729 220.126 376.405 219.016 383.976C218.653 386.449 217.979 391.17 217.519 394.467C217.058 397.765 216.377 402.486 216.005 404.959C215.633 407.432 214.63 414.682 213.775 421.071C212.921 427.459 211.918 434.71 211.546 437.183C210.657 443.092 209.849 448.726 206.243 474.183C204.586 485.878 203.421 495.637 203.654 495.871C204.621 496.839 206.151 493.827 207.01 489.265C207.514 486.586 208.273 483.973 208.696 483.457C209.152 482.903 211.25 482.521 213.833 482.521C218.178 482.521 218.202 482.509 218.6 480.085C218.992 477.696 219.537 473.822 224.264 439.805C225.554 430.532 227.426 417.211 228.426 410.204C229.426 403.198 230.425 396.116 230.647 394.467C231.797 385.91 232.649 379.776 233.249 375.732C233.617 373.259 234.287 368.37 234.738 364.866C235.19 361.363 235.86 356.473 236.228 354C236.595 351.527 237.273 346.806 237.733 343.509C238.194 340.211 238.867 335.49 239.23 333.017C239.594 330.544 240.246 325.992 240.682 322.9C244.105 298.619 244.877 295.786 250.027 288.611C253.605 283.625 263.06 275.983 266.944 274.936C271.498 273.709 270.507 272.691 264.758 272.691C261.272 272.691 257.854 273.279 254.264 274.494ZM349.099 273.937C349.614 274.145 350.456 274.145 350.971 273.937C351.486 273.729 351.065 273.559 350.035 273.559C349.006 273.559 348.584 273.729 349.099 273.937ZM135.538 335.987C135.95 336.141 138.709 336.992 141.669 337.875C148.139 339.808 151.455 342.103 157.314 348.701C164.567 356.869 167.301 365.788 165.904 376.72C164.746 385.773 161.407 392.487 155.163 398.313C150.203 402.941 142.945 407.032 137.585 408.219C125.903 410.807 109.961 405.503 102.5 396.545C96.1627 388.934 93.731 382.093 93.7363 371.887C93.74 365.655 94.0574 363.506 95.5084 359.896C99.2398 350.614 104.072 345.051 112.381 340.471C114.411 339.353 116.409 338.187 116.821 337.882C118.509 336.631 133.272 335.136 135.538 335.987ZM121.054 338.359C118.726 339.03 114.968 340.586 112.703 341.817C108.34 344.19 101.794 349.995 100.659 352.501C100.285 353.326 99.6628 354.506 99.2765 355.124C93.3948 364.528 93.3687 378.843 99.2128 389.292C104.241 398.28 111.067 403.46 121.356 406.094C131.676 408.736 138.829 407.657 148.461 402.007C155.065 398.133 160.976 390.861 162.915 384.226C167.085 369.957 164.031 357.013 154.162 347.134C149.258 342.226 148.776 341.939 140.405 338.959C134.492 336.855 127.073 336.624 121.054 338.359ZM134.667 341.359C157.149 345.556 168.098 368.811 156.85 388.472C151.618 397.618 140.716 403.835 129.911 403.835C125.824 403.835 118.306 401.835 113.98 399.598C111.138 398.128 105.132 392.136 102.825 388.468C98.4058 381.443 97.2505 370.715 100.026 362.469C105.013 347.651 119.873 338.596 134.667 341.359ZM123.014 343.117C115.657 344.974 113.691 346.015 109.098 350.494C104.573 354.905 101.714 360.324 100.28 367.207C99.3453 371.695 99.3476 373.035 100.295 377.586C101.836 384.981 103.365 387.787 108.933 393.441C114.676 399.272 119.729 401.559 128.169 402.149C140.789 403.032 151.482 396.563 157.425 384.45C159.294 380.641 159.494 379.461 159.476 372.36C159.458 365.069 159.278 364.112 157.028 359.315C154.392 353.701 153.233 352.353 147.458 348.186C143.059 345.013 140.979 344.119 134.789 342.749C128.962 341.458 129.681 341.436 123.014 343.117ZM132.591 354.121C136.782 363.795 135.757 362.873 143.378 363.816C147.118 364.279 150.422 364.905 150.719 365.207C151.017 365.509 148.986 367.864 146.207 370.44C143.428 373.015 141.153 375.696 141.153 376.396C141.153 377.096 141.68 380.222 142.324 383.343C143.878 390.875 143.525 391.666 139.687 389.241C138.039 388.2 136.498 387.348 136.262 387.348C136.026 387.348 134.603 386.512 133.1 385.489L130.367 383.63L124.086 387.03C120.631 388.899 117.389 390.325 116.88 390.199C116.17 390.024 116.282 388.315 117.362 382.852L118.769 375.732L113.313 370.727C110.313 367.973 108.096 365.481 108.388 365.189C108.68 364.897 112.044 364.283 115.865 363.825L122.811 362.993L125.972 356.63C127.711 353.13 129.486 350.149 129.915 350.006C130.345 349.863 131.548 351.714 132.591 354.121ZM131.048 368.491C131.493 368.935 135.087 364.944 135.137 363.951C135.152 363.654 134.238 361.462 133.106 359.08L131.047 354.75L130.829 361.401C130.709 365.06 130.808 368.25 131.048 368.491ZM126.256 359.235C125.391 360.877 124.682 362.68 124.682 363.241C124.682 364.543 127.556 368.613 128.477 368.613C128.861 368.613 129.174 365.511 129.174 361.719C129.174 354.447 128.902 354.215 126.256 359.235ZM132.918 369.522C132.918 370.464 134.539 370.223 139.698 368.515C147.116 366.059 147.057 365.776 138.907 364.633C137.568 364.446 136.449 365.02 134.977 366.651C133.844 367.905 132.918 369.197 132.918 369.522ZM114.478 365.837C114.208 366.108 114.456 366.495 115.029 366.696C127.404 371.04 128.831 371.032 124.83 366.648C122.849 364.477 122.512 364.376 118.852 364.846C116.717 365.12 114.749 365.566 114.478 365.837ZM139.469 370.063C136.69 370.982 134.415 371.986 134.415 372.296C134.415 372.605 135.656 373.239 137.172 373.705C139.802 374.513 140.073 374.424 143.09 371.77C146.225 369.013 147.261 367.384 145.458 368.049C144.943 368.239 142.248 369.145 139.469 370.063ZM115.778 371.297L119.208 374.729L122.367 373.878C124.124 373.404 125.401 372.646 125.243 372.171C124.97 371.349 115.75 368.018 113.462 367.914C112.846 367.886 113.88 369.397 115.778 371.297ZM136.312 379.982C141.307 386.795 142.025 386.704 140.157 379.491C139.269 376.062 138.947 375.685 136.24 374.915C134.619 374.453 133.189 374.337 133.062 374.656C132.936 374.976 134.398 377.373 136.312 379.982ZM121.708 375.626C120.324 376.266 119.717 377.305 119.301 379.745C118.995 381.539 118.542 383.647 118.294 384.428C118.046 385.21 118.128 385.849 118.475 385.849C119.284 385.849 126.928 375.652 126.928 374.572C126.928 373.716 124.996 374.106 121.708 375.626ZM130.672 379.408C130.672 382.626 130.774 382.766 134.778 385.029C137.037 386.304 139.066 387.348 139.287 387.348C139.749 387.348 138.173 384.796 134.546 379.667C133.161 377.709 131.724 376.107 131.35 376.107C130.977 376.107 130.672 377.592 130.672 379.408ZM124.029 381.353C119.8 386.802 120.248 387.717 125.662 384.688C129.034 382.801 129.174 382.589 129.174 379.353C129.174 377.499 128.867 376.094 128.492 376.232C128.116 376.369 126.108 378.674 124.029 381.353ZM37.8374 441.866C37.8434 452.11 42.8686 472.295 48.2449 483.672L51.143 489.805L57.2163 490.659C60.5569 491.129 66.0695 491.862 69.467 492.287C72.8645 492.712 78.002 493.376 80.8843 493.761C83.7668 494.146 87.4728 494.554 89.1199 494.67L92.1146 494.879V472.775V450.672L90.0497 446.751C86.0525 439.16 83.1948 438.424 57.4881 438.357L37.8352 438.307L37.8374 441.866ZM62.9811 454.237C66.6512 458.052 72.9393 464.752 76.9538 469.125C83.3333 476.074 84.2534 477.411 84.2534 479.743C84.2534 482.84 81.5395 485.518 78.4025 485.518C76.2186 485.518 70.1512 479.592 56.6503 464.272C47.5651 453.963 46.7385 452.042 50.0492 448.928C53.4736 445.709 55.6298 446.594 62.9811 454.237ZM51.3115 449.547C48.0614 452.801 48.7982 454.064 62.8748 469.406C66.6572 473.528 71.2039 478.502 72.9798 480.46C75.3 483.018 76.7733 484.02 78.2161 484.02C81.4541 484.02 82.9006 482.485 82.6235 479.346C82.4124 476.953 80.6815 474.791 68.9908 462.327C60.8893 453.688 55.0489 448.049 54.2043 448.049C53.437 448.049 52.135 448.723 51.3115 449.547ZM206.452 457.041C206.464 460.068 206.524 460.184 207.037 458.165C207.352 456.929 207.615 454.568 207.623 452.92C207.635 450.368 207.548 450.201 207.037 451.796C206.708 452.826 206.444 455.187 206.452 457.041ZM204.954 467.908C204.968 470.759 204.996 470.796 205.54 468.657C205.854 467.42 206.118 465.229 206.125 463.786C206.138 461.419 206.08 461.346 205.54 463.037C205.21 464.067 204.947 466.259 204.954 467.908ZM204.28 473.669C204.519 474.266 204.696 474.089 204.732 473.216C204.764 472.426 204.587 471.984 204.339 472.232C204.09 472.481 204.063 473.128 204.28 473.669ZM203.294 476.944C203.294 477.587 203.631 477.904 204.042 477.65C204.454 477.395 204.791 476.87 204.791 476.481C204.791 476.093 204.454 475.776 204.042 475.776C203.631 475.776 203.294 476.302 203.294 476.944ZM203.531 480.413C203.77 481.011 203.947 480.833 203.983 479.96C204.016 479.17 203.839 478.728 203.59 478.977C203.342 479.226 203.315 479.872 203.531 480.413ZM213.775 485.933C213.775 486.969 222.291 496.759 223.191 496.759C224.096 496.759 225.754 494.588 225.754 493.404C225.754 493.153 224.192 491.277 222.283 489.233C219.453 486.205 218.346 485.518 216.293 485.518C214.908 485.518 213.775 485.705 213.775 485.933ZM208.568 488.703C208.142 490.454 207.466 492.865 207.065 494.059C206.664 495.253 206.513 496.517 206.731 496.869C207.351 497.873 219.765 497.67 219.765 496.655C219.765 495.274 211.564 485.518 210.402 485.518C209.774 485.518 209.026 486.817 208.568 488.703ZM201.547 489.014C201.279 490.667 200.137 492.757 198.682 494.26C196.211 496.812 196.52 497.305 199.803 496.056C201.233 495.512 201.763 494.625 202.152 492.122C202.428 490.344 202.821 488.3 203.024 487.579C203.228 486.858 203.079 486.268 202.693 486.268C202.308 486.268 201.792 487.503 201.547 489.014ZM72.2745 495.667C72.2745 497.951 76.304 501.336 79.5383 501.77C82.3406 502.147 82.9395 501.937 85.0269 499.847C86.316 498.557 87.2317 497.081 87.061 496.568C86.8753 496.008 84.5357 495.415 81.1981 495.083C78.1427 494.78 75.1382 494.417 74.5206 494.279C73.0023 493.936 72.2745 494.387 72.2745 495.667ZM67.4231 496.197C68.6517 502.087 73.9478 506.501 79.7875 506.501C85.157 506.501 90.3282 503.109 91.3712 498.902C92.2419 495.387 90.2893 495.55 87.1246 499.255C83.5557 503.435 80.534 504.297 76.3766 502.322C73.5293 500.969 70.7847 497.415 70.7802 495.073C70.778 494.164 70.185 493.762 68.8463 493.762C67.0623 493.762 66.9537 493.947 67.4231 496.197Z");
			attr(path0, "fill", "white");
			attr(path1, "fill-rule", "evenodd");
			attr(path1, "clip-rule", "evenodd");
			attr(path1, "d", "M169.623 164.039C159.707 165.759 150.954 168.53 142.098 172.754C130.276 178.392 126.548 183.76 126.562 195.129C126.57 200.946 126.822 202.286 128.393 204.871C132.814 212.141 148.407 226.317 157.25 231.104C160.132 232.664 162.828 234.184 163.239 234.481C164.613 235.473 179.159 240.382 185.841 242.109C191.427 243.552 194.388 243.815 205.166 243.826C227.782 243.85 238.289 240.723 249.1 230.752C253.583 226.618 255.435 224.24 257.619 219.816C260.4 214.181 260.408 214.141 259.917 207.269C259.314 198.812 258.138 194.231 255.071 188.385C248.656 176.156 239.372 169.056 225.124 165.482C210.524 161.82 186.084 161.185 169.623 164.039ZM121.313 185.493C112.241 192.797 112.053 192.845 91.4753 193.118L73.6162 193.355L74.0122 194.991C74.2294 195.891 75.4692 199.663 76.7666 203.373C80.1649 213.091 81.4616 224.008 80.1919 232.224C77.8687 247.253 76.018 251.837 61.4292 278.686C58.6291 283.838 54.5031 292.269 52.2593 297.421C50.0155 302.573 47.4895 308.306 46.6465 310.161C40.6256 323.409 29.1363 359.22 26.331 373.484C26.0876 374.721 25.1922 378.936 24.3417 382.852C21.8643 394.254 20.7825 400.355 18.6959 414.701C16.9889 426.438 16.7972 429.601 17.2173 439.056C17.483 445.032 18.362 453.51 19.1706 457.894C21.0588 468.133 25.5478 482.408 27.5678 484.595C29.9598 487.185 40.0813 489.791 40.0813 487.817C40.0813 487.434 39.0458 484.314 37.7798 480.886C31.0799 462.736 27.9683 437.917 30.2997 421.215C30.6845 418.456 31.5665 411.816 32.2583 406.458C32.9509 401.099 34.1592 393.68 34.9438 389.971C35.7277 386.261 37.0416 380.023 37.8629 376.107C40.338 364.312 46.3634 344.403 54.2516 321.955C55.5206 318.344 59.0843 309.638 62.1711 302.61C65.2572 295.581 67.7825 289.678 67.7825 289.493C67.7825 289.164 73.8191 277.941 83.0848 261.043C87.2946 253.364 90.9138 243.497 93.1763 233.525C94.2147 228.949 94.2207 215.815 93.1867 210.068C92.7473 207.622 91.7366 203.477 90.9407 200.858C89.1319 194.902 89.0555 193.457 90.6173 194.755C91.2349 195.268 91.7403 195.973 91.7403 196.323C91.7403 196.672 92.6297 198.904 93.716 201.282C99.9076 214.831 100.856 230.186 96.5483 247.099C95.563 250.966 91.6557 259.222 83.7279 274.19C73.4223 293.648 67.7241 306.226 61.3716 323.538C57.271 334.712 55.5992 339.744 51.2471 354C50.8698 355.237 49.8912 358.401 49.0722 361.032C47.2454 366.903 42.0682 392.257 40.4084 403.46C39.7368 407.994 38.8864 413.727 38.5188 416.2C38.1512 418.673 37.6324 424.298 37.3651 428.699L36.8792 436.704L58.5303 436.943C79.9426 437.18 80.2211 437.204 83.8222 439.059C85.8242 440.092 88.4109 442.115 89.5699 443.555C93.3372 448.24 93.9863 452.887 93.9863 475.17V495.232L95.7675 495.679C96.7475 495.925 98.5159 496.017 99.698 495.881C101.674 495.655 101.923 495.272 102.782 491.139C103.421 488.059 103.657 480.5 103.53 467.158C103.315 444.516 103.279 444.38 95.3205 435.686C87.5087 427.153 84.5582 426.216 63.6647 425.632L47.9424 425.192L48.1333 422.195C48.2381 420.546 48.6432 417.174 49.034 414.701C49.4241 412.228 50.1241 407.338 50.5905 403.835C51.0562 400.331 51.7323 396.116 52.0924 394.467C52.4532 392.819 53.4489 388.097 54.3069 383.976C56.7626 372.171 58.8289 363.371 60.2904 358.496C61.0316 356.023 62.4069 351.134 63.3465 347.63C64.8581 341.993 73.751 317.269 76.4193 311.285C79.8587 303.571 86.4995 288.296 86.4995 288.098C86.4995 287.968 87.9579 285.207 89.7398 281.963C91.5224 278.718 94.607 273.028 96.594 269.319C101.081 260.945 112.646 242.174 116.555 236.919C122.575 228.826 126.588 228.783 137.102 236.693C153.341 248.911 171.323 256.32 191.689 259.185C194.572 259.59 202.206 259.928 208.655 259.937L220.38 259.952L222.319 262.257C224.526 264.883 224.697 266.279 223.14 268.944C219.22 275.651 217.624 280.644 216.076 291.051C215.585 294.349 214.883 299.07 214.516 301.543C214.148 304.016 213.478 308.906 213.027 312.409C212.575 315.912 211.896 320.802 211.517 323.275C211.139 325.748 209.795 335.359 208.531 344.633C207.266 353.906 205.761 364.529 205.184 368.239C204.608 371.948 203.912 377.006 203.639 379.479C203.366 381.952 202.492 388.36 201.697 393.718C200.902 399.076 199.408 409.53 198.377 416.949C197.346 424.368 195.84 435.159 195.029 440.93C194.219 446.7 193.187 454.119 192.737 457.416C192.287 460.713 191.614 465.03 191.242 467.008C190.87 468.986 190.566 471.538 190.566 472.68C190.566 477.194 188.363 482.412 185.549 484.561L182.823 486.642L143.856 487.017L104.889 487.392L104.248 490.639C103.1 496.452 99.4958 496.011 148.055 496.005C175.515 496.003 192.713 495.717 194.45 495.234C199.782 493.752 199.86 493.445 205.527 451.608C205.932 448.621 206.599 443.815 207.01 440.93C207.42 438.044 208.445 430.457 209.289 424.068C210.132 417.68 211.148 410.429 211.546 407.956C211.944 405.483 213.114 397.053 214.144 389.222C215.176 381.39 216.346 372.96 216.745 370.487C217.365 366.647 219.04 354.53 220.216 345.382C220.402 343.94 220.887 340.399 221.295 337.514C221.702 334.628 222.362 329.907 222.76 327.022C223.157 324.137 223.811 319.416 224.213 316.531C224.616 313.645 225.682 305.889 226.585 299.295C227.521 292.442 228.818 286.04 229.61 284.353C230.371 282.73 230.995 281.11 230.995 280.752C230.995 279.622 236.729 271.667 239.342 269.171C240.722 267.854 244.209 264.969 247.092 262.761C249.974 260.553 252.778 257.825 253.322 256.699C254.789 253.665 257.261 239.111 258.463 226.437L258.834 222.522L251.259 230.037C242.54 238.684 238.201 241.071 226.503 243.655C220.73 244.93 216.783 245.23 205.54 245.248C192.638 245.268 191.188 245.128 184.38 243.198C168.996 238.838 157.338 233.601 148.654 227.148C142.978 222.932 128.148 207.51 126.637 204.252C125.906 202.676 125.123 198.956 124.899 195.985C124.55 191.364 124.762 189.913 126.371 185.925C127.526 183.063 127.924 181.267 127.403 181.27C126.936 181.272 124.196 183.173 121.313 185.493ZM95.0322 221.198C94.9079 238.532 92.358 247.152 81.7229 266.185C78.5852 271.8 76.018 276.543 76.018 276.724C76.018 276.905 74.713 279.36 73.1176 282.178C71.5229 284.998 68.7842 290.677 67.0323 294.798C65.2803 298.92 62.9992 304.147 61.963 306.414C57.8512 315.406 48.2262 342.504 45.3288 353.245C44.5494 356.133 43.2056 360.857 42.3423 363.742C41.4791 366.627 40.4504 370.505 40.0551 372.36C35.3616 394.4 34.4586 399.342 33.3484 409.08C32.8542 413.408 32.146 418.781 31.7739 421.021C30.8553 426.549 30.9189 443.911 31.8817 450.527C33.2353 459.821 35.6049 469.822 38.7089 479.337C41.908 489.145 41.3892 488.503 47.0058 489.614C49.302 490.069 49.1485 488.784 46.1299 482.273C38.3885 465.579 34.0019 436.253 36.7496 419.572C37.3268 416.068 38.3436 409.155 39.0091 404.209C40.4309 393.65 45.3984 368.847 47.4895 361.869C48.2928 359.19 49.8381 353.963 50.9244 350.253C53.0903 342.857 55.5393 335.355 56.55 333.017C56.9064 332.193 58.5603 327.529 60.2246 322.652C64.084 311.349 68.9579 300.528 79.691 279.436C96.2736 246.848 95.4725 248.852 97.3719 235.222C98.2306 229.061 98.298 225.97 97.6803 220.983C97.0492 215.884 95.7772 210.492 95.206 210.492C95.1528 210.492 95.0749 215.31 95.0322 221.198ZM122.216 233.091C119.919 234.322 117.115 237.84 114.33 242.985C112.961 245.516 111.249 248.261 110.525 249.085C108.681 251.188 101.077 263.517 99.1665 267.501C98.292 269.325 96.6052 272.504 95.4193 274.565C93.5087 277.884 87.0505 290.925 83.7309 298.171C83.0698 299.613 82.1205 301.636 81.6211 302.667C81.1217 303.697 80.4733 305.552 80.1791 306.789C79.8849 308.025 79.2283 309.543 78.7192 310.161C78.2108 310.779 76.8475 313.814 75.6908 316.905C74.5341 319.997 72.9446 324.129 72.16 326.088C68.9976 333.984 65.7603 344.043 62.5747 355.874C61.2982 360.614 59.943 365.503 59.5634 366.74C58.8589 369.033 56.1727 381.256 55.0347 387.348C54.6881 389.203 54.0276 392.406 53.568 394.467C53.1075 396.528 52.5872 399.621 52.412 401.341C52.2361 403.06 51.742 406.033 51.3138 407.947C50.8855 409.86 50.6729 411.657 50.8421 411.939C51.0113 412.222 50.7051 414.596 50.1615 417.216C49.618 419.836 49.3537 422.45 49.5738 423.024C50.0215 424.192 49.576 424.16 65.5364 424.154C84.38 424.147 91.2686 427.037 99.7242 438.496C104.766 445.328 105.217 447.726 105.217 467.707V485.515L144.134 485.329L183.052 485.144L185.396 482.797C188.026 480.164 189.239 475.246 190.918 460.414C191.058 459.177 191.546 455.468 192.003 452.17C192.459 448.873 192.994 444.995 193.193 443.552C193.39 442.11 193.857 438.906 194.231 436.433C194.605 433.96 195.29 428.902 195.756 425.192C196.221 421.483 196.946 416.487 197.369 414.089C197.791 411.692 198.422 407.308 198.771 404.347C199.12 401.386 199.943 395.254 200.599 390.72C201.255 386.186 202.147 379.779 202.58 376.482C203.012 373.185 203.667 368.463 204.036 365.99C204.405 363.517 205.054 358.965 205.478 355.874C205.902 352.782 207.428 341.654 208.868 331.144C213.536 297.07 213.859 294.914 215.619 286.13C217.189 278.297 218.317 275.09 221.714 268.794C223.072 266.276 222.429 263.402 220.269 262.345C219.374 261.907 212.241 261.359 204.417 261.127C191.194 260.735 186.14 260.188 180.459 258.531C179.224 258.17 176.192 257.443 173.721 256.914C171.25 256.386 168.892 255.701 168.48 255.393C168.068 255.086 165.537 254.007 162.855 252.996C158.354 251.301 152.305 248.351 146.754 245.145C145.511 244.426 141.303 241.479 137.402 238.594C133.502 235.709 129.892 233.18 129.382 232.973C127.529 232.226 123.714 232.289 122.216 233.091ZM254.264 274.494C244.903 277.665 239.527 282.086 234.591 290.677C232.472 294.364 230.839 300.511 229.516 309.786C229.045 313.083 228.363 317.805 228 320.278C227.637 322.751 226.96 327.472 226.495 330.769C226.031 334.066 225.332 338.956 224.943 341.635C224.553 344.314 223.568 351.396 222.754 357.372C221.205 368.729 220.126 376.405 219.016 383.976C218.653 386.449 217.979 391.17 217.519 394.467C217.058 397.765 216.377 402.486 216.005 404.959C215.633 407.432 214.63 414.682 213.775 421.071C212.921 427.459 211.918 434.71 211.546 437.183C210.657 443.092 209.849 448.726 206.243 474.183C204.586 485.878 203.421 495.637 203.654 495.871C204.621 496.839 206.152 493.827 207.01 489.265C207.514 486.586 208.273 483.973 208.696 483.457C209.152 482.903 211.25 482.521 213.833 482.521C218.178 482.521 218.202 482.509 218.6 480.085C218.992 477.696 219.537 473.822 224.264 439.805C225.554 430.532 227.426 417.211 228.426 410.204C229.427 403.198 230.425 396.116 230.647 394.467C231.797 385.91 232.649 379.776 233.249 375.732C233.617 373.259 234.287 368.37 234.738 364.866C235.19 361.363 235.86 356.473 236.228 354C236.595 351.527 237.273 346.806 237.733 343.509C238.194 340.211 238.867 335.49 239.231 333.017C239.594 330.544 240.246 325.992 240.682 322.9C244.105 298.619 244.877 295.786 250.027 288.611C253.605 283.625 263.06 275.983 266.944 274.936C271.498 273.709 270.507 272.691 264.758 272.691C261.272 272.691 257.854 273.279 254.264 274.494ZM135.538 335.987C135.95 336.141 138.709 336.992 141.669 337.875C148.139 339.808 151.455 342.103 157.314 348.701C164.567 356.869 167.301 365.788 165.904 376.72C164.746 385.773 161.407 392.487 155.163 398.313C150.203 402.941 142.945 407.032 137.585 408.219C125.903 410.807 109.961 405.503 102.5 396.545C96.1628 388.935 93.7311 382.093 93.7363 371.887C93.74 365.655 94.0574 363.506 95.5084 359.896C99.2398 350.614 104.072 345.051 112.381 340.471C114.411 339.353 116.409 338.187 116.821 337.882C118.509 336.631 133.272 335.136 135.538 335.987ZM121.054 338.359C118.726 339.03 114.968 340.586 112.703 341.817C108.34 344.19 101.794 349.995 100.659 352.501C100.285 353.326 99.6628 354.506 99.2765 355.124C93.3949 364.528 93.3687 378.843 99.2129 389.292C104.241 398.28 111.067 403.46 121.356 406.094C131.676 408.736 138.829 407.657 148.461 402.007C155.065 398.132 160.976 390.861 162.915 384.226C167.085 369.957 164.031 357.013 154.162 347.134C149.258 342.226 148.776 341.939 140.405 338.959C134.492 336.855 127.073 336.624 121.054 338.359ZM134.667 341.359C157.149 345.556 168.098 368.811 156.85 388.472C151.618 397.618 140.716 403.835 129.911 403.835C125.824 403.835 118.307 401.835 113.98 399.598C111.138 398.128 105.132 392.136 102.825 388.468C98.4058 381.443 97.2506 370.715 100.026 362.469C105.013 347.651 119.873 338.596 134.667 341.359ZM123.014 343.117C115.657 344.974 113.691 346.015 109.098 350.494C104.573 354.905 101.714 360.324 100.28 367.207C99.3454 371.695 99.3476 373.035 100.295 377.586C101.836 384.981 103.365 387.787 108.933 393.441C114.676 399.272 119.729 401.559 128.169 402.149C140.789 403.032 151.482 396.563 157.425 384.45C159.294 380.641 159.494 379.461 159.476 372.36C159.458 365.069 159.278 364.112 157.028 359.315C154.392 353.701 153.233 352.353 147.458 348.186C143.059 345.013 140.979 344.119 134.789 342.749C128.962 341.458 129.681 341.436 123.014 343.117ZM132.591 354.121C136.782 363.795 135.757 362.873 143.378 363.816C147.118 364.279 150.422 364.905 150.719 365.207C151.017 365.509 148.986 367.864 146.207 370.44C143.428 373.015 141.153 375.696 141.153 376.396C141.153 377.096 141.68 380.222 142.324 383.343C143.878 390.875 143.525 391.666 139.687 389.241C138.039 388.2 136.498 387.348 136.262 387.348C136.026 387.348 134.603 386.512 133.1 385.489L130.367 383.63L124.086 387.03C120.631 388.899 117.389 390.325 116.88 390.199C116.17 390.024 116.282 388.316 117.362 382.852L118.769 375.732L113.314 370.727C110.313 367.973 108.096 365.481 108.388 365.189C108.68 364.897 112.045 364.283 115.865 363.825L122.811 362.993L125.972 356.63C127.711 353.13 129.486 350.149 129.915 350.006C130.345 349.863 131.548 351.715 132.591 354.121ZM131.048 368.491C131.493 368.936 135.087 364.944 135.137 363.951C135.152 363.654 134.238 361.462 133.106 359.08L131.047 354.75L130.829 361.401C130.709 365.06 130.808 368.25 131.048 368.491ZM126.256 359.235C125.391 360.877 124.682 362.68 124.682 363.241C124.682 364.543 127.556 368.613 128.477 368.613C128.861 368.613 129.174 365.511 129.174 361.719C129.174 354.448 128.902 354.215 126.256 359.235ZM132.918 369.522C132.918 370.464 134.539 370.223 139.698 368.515C147.116 366.059 147.057 365.776 138.907 364.633C137.568 364.446 136.449 365.02 134.977 366.651C133.844 367.905 132.918 369.197 132.918 369.522ZM114.478 365.837C114.208 366.108 114.456 366.495 115.03 366.696C127.404 371.04 128.831 371.032 124.83 366.648C122.849 364.477 122.512 364.376 118.852 364.846C116.717 365.12 114.75 365.566 114.478 365.837ZM139.469 370.063C136.69 370.982 134.415 371.986 134.415 372.296C134.415 372.605 135.656 373.239 137.172 373.705C139.802 374.513 140.073 374.424 143.09 371.77C146.225 369.013 147.261 367.384 145.458 368.049C144.943 368.239 142.248 369.145 139.469 370.063ZM115.778 371.297L119.208 374.729L122.367 373.878C124.124 373.404 125.401 372.646 125.243 372.171C124.97 371.349 115.75 368.018 113.462 367.914C112.846 367.886 113.88 369.397 115.778 371.297ZM136.312 379.982C141.308 386.795 142.025 386.704 140.157 379.491C139.269 376.062 138.947 375.685 136.24 374.915C134.619 374.453 133.189 374.337 133.062 374.656C132.936 374.976 134.398 377.373 136.312 379.982ZM121.709 375.626C120.324 376.266 119.717 377.305 119.301 379.745C118.995 381.54 118.542 383.647 118.294 384.428C118.046 385.21 118.128 385.849 118.475 385.849C119.284 385.849 126.928 375.652 126.928 374.572C126.928 373.716 124.996 374.106 121.709 375.626ZM130.672 379.408C130.672 382.626 130.774 382.766 134.778 385.029C137.037 386.304 139.066 387.348 139.288 387.348C139.749 387.348 138.173 384.796 134.546 379.667C133.161 377.709 131.724 376.107 131.35 376.107C130.977 376.107 130.672 377.592 130.672 379.408ZM124.029 381.353C119.8 386.803 120.248 387.717 125.662 384.688C129.034 382.801 129.174 382.589 129.174 379.353C129.174 377.499 128.867 376.094 128.492 376.232C128.116 376.369 126.108 378.674 124.029 381.353ZM37.8374 441.866C37.8434 452.11 42.8686 472.295 48.2449 483.672L51.143 489.805L57.2163 490.659C60.557 491.129 66.0695 491.862 69.467 492.287C72.8645 492.712 78.002 493.376 80.8844 493.761C83.7668 494.146 87.4728 494.554 89.1199 494.67L92.1146 494.879V472.775V450.672L90.0498 446.751C86.0526 439.16 83.1949 438.424 57.4881 438.357L37.8352 438.307L37.8374 441.866ZM62.9812 454.237C66.6512 458.052 72.9394 464.752 76.9538 469.125C83.3333 476.074 84.2534 477.411 84.2534 479.743C84.2534 482.84 81.5395 485.518 78.4025 485.518C76.2186 485.518 70.1513 479.592 56.6503 464.272C47.565 453.963 46.7386 452.042 50.0492 448.929C53.4737 445.709 55.6299 446.594 62.9812 454.237ZM51.3115 449.547C48.0615 452.801 48.7981 454.064 62.8748 469.406C66.6572 473.528 71.2039 478.503 72.9798 480.46C75.3 483.018 76.7734 484.02 78.2161 484.02C81.4541 484.02 82.9006 482.486 82.6236 479.346C82.4124 476.953 80.6815 474.791 68.9909 462.327C60.8894 453.688 55.0489 448.049 54.2044 448.049C53.437 448.049 52.135 448.723 51.3115 449.547ZM206.452 457.041C206.464 460.068 206.524 460.184 207.037 458.166C207.352 456.929 207.615 454.568 207.623 452.92C207.635 450.368 207.548 450.201 207.037 451.796C206.708 452.826 206.444 455.187 206.452 457.041ZM204.954 467.908C204.968 470.759 204.996 470.796 205.54 468.657C205.854 467.421 206.118 465.229 206.125 463.786C206.138 461.419 206.08 461.346 205.54 463.037C205.21 464.067 204.947 466.259 204.954 467.908ZM204.28 473.669C204.519 474.266 204.696 474.089 204.732 473.216C204.764 472.426 204.588 471.983 204.339 472.232C204.09 472.481 204.063 473.128 204.28 473.669ZM203.294 476.945C203.294 477.587 203.631 477.904 204.042 477.65C204.454 477.395 204.791 476.87 204.791 476.481C204.791 476.093 204.454 475.776 204.042 475.776C203.631 475.776 203.294 476.302 203.294 476.945ZM203.531 480.413C203.77 481.011 203.947 480.833 203.983 479.96C204.016 479.17 203.839 478.728 203.59 478.977C203.342 479.226 203.315 479.872 203.531 480.413ZM213.775 485.933C213.775 486.969 222.291 496.759 223.192 496.759C224.096 496.759 225.754 494.588 225.754 493.404C225.754 493.153 224.192 491.277 222.283 489.233C219.453 486.205 218.346 485.518 216.293 485.518C214.908 485.518 213.775 485.705 213.775 485.933ZM208.568 488.703C208.142 490.454 207.466 492.865 207.065 494.059C206.664 495.253 206.513 496.517 206.731 496.869C207.351 497.874 219.765 497.67 219.765 496.655C219.765 495.274 211.564 485.518 210.403 485.518C209.774 485.518 209.026 486.817 208.568 488.703ZM201.547 489.014C201.279 490.667 200.137 492.757 198.682 494.26C196.211 496.812 196.52 497.305 199.803 496.056C201.233 495.512 201.763 494.625 202.152 492.122C202.428 490.344 202.821 488.3 203.024 487.579C203.228 486.858 203.079 486.268 202.693 486.268C202.308 486.268 201.792 487.503 201.547 489.014ZM72.2746 495.667C72.2746 497.951 76.304 501.336 79.5383 501.77C82.3406 502.147 82.9396 501.937 85.0269 499.847C86.3161 498.557 87.2317 497.081 87.061 496.568C86.8753 496.008 84.5357 495.415 81.1981 495.083C78.1427 494.78 75.1383 494.417 74.5206 494.279C73.0023 493.936 72.2746 494.387 72.2746 495.667ZM67.4231 496.197C68.6517 502.087 73.9478 506.501 79.7876 506.501C85.1571 506.501 90.3283 503.109 91.3712 498.902C92.2419 495.387 90.2893 495.55 87.1247 499.255C83.5557 503.435 80.534 504.296 76.3766 502.322C73.5294 500.969 70.7847 497.415 70.7802 495.073C70.778 494.164 70.185 493.762 68.8463 493.762C67.0622 493.762 66.9537 493.947 67.4231 496.197Z");
			attr(path1, "fill", "white");
			attr(path1, "fill-opacity", path1_fill_opacity_value = /*highlightParts*/ ctx[0][/*Zones*/ ctx[5].Handle]);
			attr(path2, "fill-rule", "evenodd");
			attr(path2, "clip-rule", "evenodd");
			attr(path2, "d", "M106.535 2.34829C105.846 2.86387 104.624 5.13977 103.82 7.40668C103.016 9.67359 101.326 14.349 100.063 17.7962C96.4077 27.7834 94.8699 26.8909 115.737 26.8909C135.984 26.8909 135.111 27.1929 132.395 21.1355C130.789 17.5527 118.311 2.36852 116.6 1.91439C113.901 1.19723 107.718 1.46401 106.535 2.34829ZM615.58 9.46751C615.373 10.1892 615.097 12.4651 614.968 14.5259L614.733 18.2729L626.28 18.4804C633.124 18.6033 638.127 18.3883 638.562 17.9529C639.63 16.8835 635.957 12.3751 632.793 10.8726C631.356 10.1899 627.209 9.34461 623.579 8.99464C619.949 8.64468 616.749 8.3127 616.468 8.25724C616.187 8.20179 615.787 8.74584 615.58 9.46751ZM517.31 33.6324C515.097 40.0194 513.287 45.3311 513.287 45.4353C513.287 45.5402 541.866 45.6256 576.796 45.6256H640.306L641.14 42.0061C641.793 39.1764 641.734 36.9304 640.871 31.7019C640.265 28.0254 639.448 24.2567 639.056 23.3267L638.344 21.6361L579.839 21.828L521.332 22.0198L517.31 33.6324ZM505.546 34.1667C503.142 41.0476 501.12 47.5373 501.054 48.5872C500.944 50.3318 501.22 50.5169 504.243 50.7335C508.876 51.0647 511.041 50.3918 511.041 48.6202C511.041 47.383 517.088 29.3728 519.255 24.1556C520.185 21.9171 519.666 21.6444 514.472 21.6504L509.918 21.6549L505.546 34.1667ZM502.909 24.0806C502.516 25.4205 500.815 30.4902 499.131 35.347C497.446 40.2045 496.067 44.5038 496.067 44.9017C496.067 45.2996 496.91 45.6256 497.939 45.6256C498.968 45.6256 499.811 45.4982 499.811 45.3424C499.811 45.1865 501.495 40.2555 503.554 34.3848C505.613 28.514 507.298 23.2458 507.298 22.6778C507.298 22.0813 506.522 21.6451 505.461 21.6451C504.035 21.6451 503.465 22.1892 502.909 24.0806ZM491.366 24.268C490.979 25.5045 488.848 31.6937 486.63 38.0216C484.413 44.3502 482.785 49.8297 483.013 50.1992C483.51 51.0033 490.862 51.0835 491.996 50.2981C492.696 49.8132 502.057 23.6243 502.057 22.151C502.057 21.8347 499.809 21.6766 497.063 21.798C492.244 22.0123 492.044 22.0985 491.366 24.268ZM482.082 33.2607C479.949 39.4432 478.181 44.7766 478.151 45.1131C478.123 45.4495 478.994 45.6181 480.087 45.4877C481.93 45.2682 482.342 44.4776 485.675 34.7595C489.847 22.5938 490.022 21.4428 487.645 21.78C486.194 21.9868 485.42 23.5845 482.082 33.2607ZM469.386 35.7659C466.765 43.3258 464.787 49.781 464.99 50.1107C465.606 51.1089 474.223 50.9403 474.87 49.9166C475.508 48.9065 484.064 23.1319 484.079 22.1727C484.084 21.8452 481.853 21.6766 479.12 21.798L474.152 22.0198L469.386 35.7659ZM464.162 33.2607C461.988 39.4432 460.192 44.7766 460.17 45.1131C460.149 45.4495 461.015 45.6181 462.096 45.4877C463.895 45.2712 464.368 44.3929 467.676 35.1387C472.665 21.1797 472.608 21.4877 470.14 21.78C468.249 22.0041 467.853 22.7655 464.162 33.2607ZM455.021 26.3288C454.194 28.9052 452.118 35.0105 450.41 39.8965C448.701 44.7833 447.467 49.2062 447.666 49.7263C448.157 51.0078 456.105 51.1854 456.879 49.9316C457.195 49.4198 458.701 45.2907 460.226 40.7561C461.751 36.2215 463.833 30.2541 464.852 27.4956C465.871 24.7371 466.517 22.2918 466.288 22.0625C466.058 21.8332 463.768 21.6451 461.198 21.6451H456.526L455.021 26.3288ZM446.567 32.823C444.557 38.7657 442.911 44.0766 442.911 44.6259C442.911 45.185 443.714 45.6256 444.732 45.6256C446.42 45.6256 446.832 44.7736 450.348 34.0191C452.434 27.6357 454.141 22.2176 454.141 21.9793C454.141 21.741 453.26 21.6526 452.183 21.783C450.374 22.0018 449.945 22.8464 446.567 32.823ZM433.775 35.6962C429.735 47.4077 429.109 49.8552 430.016 50.3948C431.046 51.0078 438.886 50.7282 439.413 50.0605C440.095 49.1957 448.575 22.3188 448.264 22.0078C448.065 21.8085 445.814 21.6451 443.263 21.6451H438.624L433.775 35.6962ZM432.429 21.9052C432.429 22.0483 430.745 26.9898 428.686 32.886C426.627 38.7822 424.943 44.0609 424.943 44.6162C424.943 45.1715 425.72 45.6256 426.671 45.6256C428.069 45.6256 428.627 44.9437 429.582 42.066C430.232 40.1086 431.977 35.1342 433.46 31.0125C434.943 26.8909 436.16 23.0974 436.165 22.5819C436.169 22.067 435.331 21.6451 434.301 21.6451C433.272 21.6451 432.429 21.762 432.429 21.9052ZM417.687 31.3872C412.314 46.7729 411.469 49.5202 411.896 50.2119C412.357 50.9583 418.956 51.1104 420.763 50.4165C421.415 50.1662 421.948 49.5315 421.948 49.0054C421.948 48.4801 423.767 42.8679 425.991 36.5333C428.215 30.1994 430.264 24.2425 430.545 23.2953C431.047 21.6054 430.964 21.5777 426.007 21.7965L420.959 22.0198L417.687 31.3872ZM411.219 32.5113C409.19 38.2816 407.489 43.6397 407.439 44.4176C407.336 46.0258 409.544 46.6928 410.581 45.3671C411.165 44.6207 418.953 22.7632 418.953 21.8714C418.953 21.6923 418.043 21.6526 416.93 21.783C415.049 22.0033 414.649 22.7557 411.219 32.5113ZM398.576 35.3672C396.126 42.7075 394.307 49.1995 394.535 49.793C395.066 51.1786 402.721 51.297 403.767 49.9346C404.163 49.4198 405.019 47.1431 405.67 44.8762C406.321 42.6093 408.229 36.9297 409.909 32.2542C411.589 27.5788 412.964 23.2638 412.964 22.665C412.964 21.8002 411.942 21.6219 407.996 21.798L403.029 22.0198L398.576 35.3672ZM134.807 23.3312C135.096 24.2582 135.388 25.6918 135.456 26.5162C135.574 27.9805 135.118 28.0149 115.737 28.0149C96.356 28.0149 95.9 27.9805 96.0183 26.5162C96.0857 25.6918 96.3777 24.259 96.6674 23.3312C97.1937 21.6481 97.1788 21.6451 88.3691 21.6451C76.9734 21.6451 76.8057 21.774 76.8057 30.5059C76.8057 36.241 76.5736 37.2984 74.5103 40.9569C73.248 43.1961 72.3428 45.155 72.4977 45.3101C72.9963 45.81 76.3078 45.8182 235.62 45.7208L392.563 45.6256L396.696 34.1974C398.97 27.9115 400.677 22.5167 400.489 22.2072C400.301 21.8977 340.327 21.6451 267.213 21.6451H134.28L134.807 23.3312ZM640.563 22.6868C640.563 22.8471 641.103 25.7975 641.764 29.2439C642.602 33.6091 642.809 37.0998 642.446 40.7546C641.797 47.308 641.797 47.03 642.457 54.2676C642.943 59.598 642.822 60.6479 641.398 63.4402C639.85 66.4774 639.798 67.3805 639.99 87.9273L640.188 109.26L643.338 106.482C645.071 104.953 646.839 102.754 647.269 101.594C648.35 98.6735 648.336 31.4929 647.253 28.6257C646.295 26.0875 642.913 22.3945 641.546 22.3945C641.005 22.3945 640.563 22.5256 640.563 22.6868ZM50.2425 40.3552C49.9962 40.7538 48.7886 40.879 47.5577 40.6324C45.9556 40.3117 44.8774 40.5845 43.7604 41.5939C42.9024 42.3688 41.3189 43.0028 40.2416 43.0028C38.8453 43.0028 37.9978 43.594 37.2888 45.0636C36.7191 46.2454 35.6851 47.1244 34.8653 47.1244C33.204 47.1244 31.6946 49.5037 32.3205 51.1359C32.5878 51.8336 31.9971 52.7531 30.761 53.5639C29.069 54.673 28.8392 55.2351 29.2277 57.3079C29.486 58.6875 29.349 59.9547 28.9133 60.2245C27.7184 60.9634 28.0014 66.972 29.3984 70.5279C31.1706 75.0377 33.7318 78.2039 38.7061 82.0348L43.0125 85.3524L54.6687 68.1358C61.0789 58.6665 66.3242 50.7207 66.3242 50.4794C66.3242 50.2374 64.9496 48.0139 63.2703 45.538C60.5054 41.4628 60.0195 41.0791 58.1486 41.4905C56.7538 41.7977 55.7692 41.5692 55.1216 40.7876C54.0563 39.5031 50.9395 39.2266 50.2425 40.3552ZM648.975 64.7493C648.853 79.4816 649.055 88.8977 649.504 89.3474C649.976 89.8195 650.639 89.7378 651.387 89.1166C652.382 88.29 652.542 84.9237 652.542 64.7059C652.542 41.0221 652.437 40.0629 649.921 40.6916C649.447 40.8108 649.1 49.6266 648.975 64.7493ZM511.902 49.3726L511.119 51.6208H504.762H498.405L498.547 49.5599C498.664 47.8333 498.39 47.4991 496.85 47.4991C495.506 47.4991 494.893 48.0027 494.571 49.3726C494.146 51.1839 493.901 51.2536 487.205 51.4619L480.279 51.6777L480.499 49.5884C480.802 46.7078 478.133 46.6875 476.758 49.5599C475.797 51.5653 475.603 51.6208 469.498 51.6208H463.225L462.988 49.5599C462.818 48.0829 462.329 47.4991 461.263 47.4991C460.38 47.4991 459.376 48.3347 458.79 49.5599C457.828 51.5691 457.643 51.6208 451.433 51.6208C445.814 51.6208 445.078 51.4656 445.196 50.3093C445.455 47.7606 445.14 47.1244 443.621 47.1244C442.587 47.1244 441.828 47.8596 441.301 49.3726L440.518 51.6208H433.904H427.288L427.051 49.5667C426.702 46.5391 424.369 46.3975 423.343 49.3419L422.53 51.677L416.075 51.4611C409.75 51.2506 409.619 51.2086 409.607 49.3726C409.597 47.8865 409.215 47.4991 407.757 47.4991C406.413 47.4991 405.799 48.0035 405.477 49.3726C405.046 51.1981 404.864 51.2461 398.345 51.2461C391.712 51.2461 391.655 51.2303 391.64 49.3726L391.626 47.4991L231.276 47.3103L70.9248 47.1207L65.2603 55.032C56.5696 67.1691 55.8778 65.8615 70.9772 65.8457C85.0891 65.8315 96.8015 64.879 98.0338 63.6455C99.1523 62.5259 106.921 62.6773 111.886 63.9153C115.111 64.7186 124.665 65.0499 152.253 65.3144C172.278 65.5055 188.573 65.3698 188.795 65.0101C189.356 64.1026 200.895 64.1933 201.461 65.1098C202.061 66.0818 205.354 66.0818 205.953 65.1098C206.557 64.1326 218.077 64.1326 218.681 65.1098C218.935 65.522 220.115 65.8592 221.301 65.8592C222.488 65.8592 223.667 65.522 223.922 65.1098C224.525 64.1326 236.046 64.1326 236.649 65.1098C237.25 66.0825 241.289 66.0825 241.89 65.1098C242.539 64.0584 251.749 64.1738 254.781 65.2709C256.757 65.9858 257.611 65.9858 258.755 65.2709C260.513 64.1731 271.925 64.0397 272.586 65.1098C272.892 65.6059 334.828 65.8592 455.965 65.8592H638.881L640.446 62.2179C641.824 59.0105 641.922 58.0063 641.267 53.7873C640.856 51.1531 640.373 48.5767 640.191 48.0612C639.931 47.3215 626.468 47.1244 576.273 47.1244H512.685L511.902 49.3726ZM96.6008 65.9326C90.8757 68.6095 87.2872 74.6593 87.2872 81.6324C87.2872 86.3535 89.4367 89.9671 96.5267 97.168C105.986 106.777 117.465 113.639 130.336 117.379C136.026 119.032 141.941 120.076 141.941 119.426C141.941 119.203 140.682 117.934 139.142 116.607C137.602 115.281 134.134 112.172 131.433 109.699C116.126 95.679 107.859 88.8378 101.512 84.9387C92.9742 79.6937 93.6689 80.2048 94.2672 79.606C94.5374 79.3355 96.4683 80.1786 98.5594 81.4795C100.65 82.7804 102.521 83.8446 102.717 83.8446C103.418 83.8446 110.96 89.7333 116.035 94.2431C118.876 96.7671 121.908 98.8429 122.773 98.8549C123.639 98.8676 126.368 100.752 128.839 103.043C131.31 105.334 135.159 108.781 137.394 110.702C139.63 112.623 142.914 115.666 144.694 117.463C147.701 120.5 148.129 120.694 150.738 120.21C158.851 118.705 162.706 111.933 159.636 104.58C158.753 102.463 158.237 102.122 155.815 102.053C154.276 102.01 152.646 101.604 152.195 101.153C151.743 100.701 150.768 100.331 150.027 100.331C149.286 100.331 148.679 100.076 148.679 99.7654C148.679 99.4544 146.573 98.4172 144 97.461C141.426 96.5048 138.096 95.0735 136.598 94.2799C135.101 93.4863 133.368 92.8373 132.747 92.8373C132.126 92.8373 130.515 91.8061 129.168 90.5464C127.82 89.2867 123.038 86.7103 118.541 84.8218C114.044 82.9341 109.419 80.5922 108.264 79.6188C107.108 78.6461 105.968 77.8495 105.731 77.8495C104.872 77.8495 98.5175 73.0474 98.5175 72.3984C98.5175 71.7119 101.103 73.1515 108.25 77.8195C113.139 81.0119 114.821 81.807 129.962 88.0869C136.345 90.7337 143.676 93.7808 146.255 94.8584C150.894 96.7963 153.378 96.6869 150.617 94.6665C149.831 94.0918 148.148 92.6859 146.875 91.5431C145.603 90.4003 143.045 88.1588 141.192 86.5626C139.339 84.9664 135.802 81.8917 133.331 79.7297C122.368 70.1352 120.41 68.614 117.234 67.2216C112.554 65.1698 105.386 63.6935 102.261 64.1386C100.82 64.3432 98.2726 65.151 96.6008 65.9326ZM256.799 77.8495C250.723 100.288 243.762 127.288 243.762 128.417C243.762 129.328 244.804 129.557 248.952 129.557C253.244 129.557 254.212 129.33 254.542 128.246C254.761 127.524 258.001 115.3 261.741 101.081C265.481 86.8609 269.03 73.6454 269.628 71.7134C271.461 65.785 271.446 65.7633 265.33 66.0136L259.945 66.2339L256.799 77.8495ZM242.366 67.1706C241.981 67.8923 240.432 73.2032 238.924 78.9735C237.414 84.7439 235.674 91.3198 235.055 93.5867C234.437 95.8536 233.138 100.743 232.169 104.453C231.2 108.162 229.491 114.57 228.369 118.691C225.078 130.797 224.789 129.557 230.896 129.557C235.737 129.557 236.211 129.418 236.625 127.871C238.112 122.312 238.759 119.983 239.281 118.317C239.603 117.286 240.616 113.577 241.531 110.073C243.097 104.077 245.122 96.5363 246.762 90.5891C247.16 89.1465 248.464 84.4254 249.661 80.0976C250.857 75.7699 252.039 71.3328 252.288 70.2379C252.536 69.1423 252.946 67.7094 253.197 67.053C253.912 65.1885 243.363 65.3031 242.366 67.1706ZM224.245 68.1074C220.286 82.1674 207.825 128.258 207.825 128.843C207.825 129.332 209.829 129.541 213.193 129.403C218.182 129.198 218.601 129.051 219.13 127.309C219.444 126.279 221.576 118.354 223.869 109.699C226.162 101.043 229.671 87.8111 231.666 80.2932C233.661 72.7761 235.108 66.4392 234.88 66.2114C234.652 65.9843 232.285 65.8959 229.62 66.0158C225.173 66.2159 224.729 66.3883 224.245 68.1074ZM205.949 69.2315C205.123 71.7809 201.067 87.0752 192.334 120.565C191.313 124.48 190.422 128.021 190.354 128.433C190.282 128.873 192.384 129.183 195.439 129.183H200.649L208.691 99.6695C213.114 83.4377 216.949 69.1745 217.213 67.974L217.692 65.791L212.306 66.0121L206.92 66.2339L205.949 69.2315ZM189.149 67.2815C188.731 68.0632 187.351 72.7004 186.082 77.5857C184.815 82.4702 183.099 88.9967 182.271 92.0879C181.442 95.1791 179.974 100.743 179.008 104.453C178.042 108.162 176.335 114.57 175.213 118.691C171.922 130.793 171.639 129.557 177.699 129.557H182.937L183.687 126.747C184.099 125.202 185.65 119.384 187.132 113.82C188.614 108.256 190.686 100.5 191.737 96.5842C195.119 83.9727 199.589 66.724 199.589 66.2856C199.589 66.051 197.412 65.8592 194.749 65.8592C190.762 65.8592 189.775 66.1102 189.149 67.2815ZM121.103 67.2725C121.24 67.6382 124.047 70.2124 127.342 72.9941C133.762 78.4152 140.918 84.6097 146.403 89.495C148.273 91.1601 151.883 94.2918 154.428 96.4546C161.468 102.439 163.919 109.292 161.014 114.869C159.352 118.06 160.099 117.994 163.087 114.683C169.804 107.241 172.668 98.2839 173.07 83.4699C173.215 78.1117 173.134 72.1256 172.889 70.1682L172.444 66.6086H146.649C131.972 66.6086 120.961 66.8949 121.103 67.2725ZM87.2872 69.2315C87.2872 70.674 87.416 71.8543 87.5724 71.8543C87.7297 71.8543 88.7576 70.674 89.8567 69.2315L91.8557 66.6086H89.5715C87.4602 66.6086 87.2872 66.8072 87.2872 69.2315ZM269.462 77.1001C264.699 95.3732 262.474 103.821 259.888 113.446C258.448 118.804 257.263 123.61 257.254 124.124C257.241 124.87 283.671 125.061 386.951 125.061H516.663L524.521 120.471C538.563 112.267 556.477 105.441 571.31 102.639C578.687 101.245 582.363 101.083 606.569 101.082C636.503 101.081 634.387 101.428 637.103 96.0597C638.085 94.1195 638.317 91.1481 638.317 80.5083V67.355L455.11 67.5438L271.903 67.7327L269.462 77.1001ZM254.238 69.0441C253.84 69.9711 252.622 74.1025 251.531 78.2242C249.049 87.599 247.86 91.9845 243.089 109.385C240.988 117.044 239.27 123.705 239.27 124.186C239.27 125.554 242.131 125.212 242.911 123.75C243.297 123.028 245.16 116.537 247.054 109.324C249.826 98.7657 253.987 83.021 257.701 69.0441C258.062 67.6832 257.841 67.358 256.554 67.358C255.614 67.358 254.663 68.0497 254.238 69.0441ZM236.291 69.0441C235.573 70.7722 234.199 75.7069 230.271 90.6745C229.039 95.368 226.657 104.434 224.977 110.823C223.298 117.211 221.868 122.931 221.8 123.534C221.66 124.766 224.119 125.543 225.078 124.569C225.42 124.222 226.877 119.384 228.315 113.82C229.753 108.256 232.111 99.3195 233.553 93.9614C238.51 75.5533 240.018 69.6106 240.018 68.4851C240.018 66.7075 237.079 67.1481 236.291 69.0441ZM211.546 94.3361C207.577 108.968 204.093 121.89 203.804 123.053C203.316 125.016 203.423 125.149 205.318 124.926C207.337 124.689 207.433 124.409 214.639 98.083C223.795 64.6309 223.28 67.2014 220.771 67.4966C218.791 67.7289 218.657 68.1209 211.546 94.3361ZM198.757 75.2266C191.893 101.208 189.636 109.698 187.999 115.694C185.733 123.997 185.686 125.061 187.584 125.061C189.942 125.061 189.083 127.77 200.375 84.7034C202.359 77.1383 204.174 70.4477 204.408 69.8347C205.031 68.21 204.17 67.2396 202.339 67.5026C200.986 67.6967 200.429 68.898 198.757 75.2266ZM174.385 75.7886C175.305 91.9852 172.482 104.453 165.92 113.16C163.09 116.917 161.316 118.493 158.609 119.659C153.7 121.773 146.852 122.428 140.68 121.375C129.578 119.48 112.259 112.477 105.118 106.993C100.957 103.798 89.5333 92.6941 89.5333 91.8451C89.5333 91.4876 88.8026 90.1679 87.9101 88.9135C86.5033 86.9358 86.2398 85.3441 85.9388 76.9944L85.5914 67.358H71.0977H56.6047L43.1218 87.581L29.6387 107.805V116.436V125.069L100.887 124.877L172.136 124.686L174.174 117.192C175.967 110.598 182.893 84.609 185.817 73.5037C187.495 67.1294 187.697 67.358 180.384 67.358H173.906L174.385 75.7886ZM159.426 70.6943C161.844 72.9379 161.92 74.3146 159.736 76.3507C154.409 81.3184 141.192 80.5877 141.192 75.3255C141.192 73.1036 143.043 71.4422 147.126 70.0003C152.176 68.2168 157.052 68.4918 159.426 70.6943ZM147.052 71.5875C141.007 73.485 140.459 76.4413 145.881 77.9027C149.173 78.7899 152.37 78.4212 156.554 76.6714C159.799 75.3143 160.52 73.7713 158.799 71.8686C156.651 69.4922 153.93 69.427 147.052 71.5875ZM168.658 71.9008C172.322 73.2864 172.6 77.6067 169.168 79.8571C167.427 80.9991 167.184 80.9819 165.295 79.5746C164.186 78.7495 163.168 77.3301 163.034 76.4219C162.599 73.4835 165.876 70.8486 168.658 71.9008ZM164.776 75.976C164.776 77.9446 165.066 78.2526 167.111 78.452C168.974 78.6333 169.532 78.3531 169.868 77.0678C170.567 74.3903 169.686 73.2497 167.113 73.5C165.065 73.6993 164.776 74.0066 164.776 75.976ZM636.258 100.112C635.272 102.237 634.886 122.876 635.815 123.806C636.086 124.077 636.759 123.923 637.312 123.464C638.078 122.828 638.317 119.71 638.317 110.357C638.317 103.606 638.064 98.086 637.755 98.089C637.446 98.092 636.772 99.0025 636.258 100.112ZM571.31 103.936C563.635 105.406 550.271 109.467 545.106 111.897C543.871 112.478 541.055 113.664 538.849 114.532C532.937 116.858 520.329 124.012 517.218 126.807C512.975 130.617 517.611 130.499 526.426 126.571C533.121 123.589 533.136 123.586 542.897 123.574C553.258 123.562 554.464 123.928 554.464 127.084C554.464 129.219 555.785 129.278 565.695 127.591C571.028 126.684 580.489 126.262 603.503 125.908L634.199 125.436L634.408 114.604C634.522 108.646 634.438 103.306 634.219 102.737C633.888 101.874 629.304 101.757 606.684 102.029C583.093 102.314 578.469 102.564 571.31 103.936ZM343.336 106.326C343.97 107.513 343.905 107.825 343.024 107.825C342.186 107.825 341.845 108.982 341.644 112.509C341.399 116.829 341.367 116.713 341.235 111.01C341.091 104.849 341.755 103.368 343.336 106.326ZM336.568 105.916C337.065 106.514 337.264 107.656 337.011 108.452C336.758 109.249 336.947 110.769 337.43 111.83C338.149 113.41 338.082 114.103 337.062 115.663C334.973 118.854 331.108 117.813 331.208 114.087C331.378 107.767 331.515 106.664 332.243 105.786C333.304 104.507 335.453 104.57 336.568 105.916ZM326.839 106.277C327.265 107.074 327.614 109.289 327.614 111.197C327.614 115.884 326.606 117.567 323.8 117.567C322.482 117.567 321.729 117.254 321.999 116.818C322.253 116.406 323.284 116.068 324.289 116.068C325.509 116.068 326.136 115.632 326.174 114.757C326.206 114.035 326.311 112.265 326.406 110.823C326.656 107.06 326.229 106.326 323.79 106.326C322.599 106.326 321.625 105.989 321.625 105.577C321.625 104.164 326.025 104.756 326.839 106.277ZM316.244 108.762C315.291 110.514 314.14 112.284 313.685 112.696C313.231 113.108 312.305 114.28 311.627 115.299C309.965 117.798 310.118 116.328 311.859 113.071C313.239 110.492 313.237 110.404 311.762 107.825C310.266 105.21 310.266 105.207 311.758 106.888C313.604 108.968 314.6 109.014 315.809 107.076C317.602 104.202 317.963 105.602 316.244 108.762ZM304.266 108.712C303.312 110.437 301.775 112.677 300.849 113.693C299.922 114.708 299.164 115.826 299.164 116.178C299.164 116.53 298.851 116.818 298.468 116.818C298.085 116.818 298.593 115.348 299.595 113.552L301.419 110.287L299.832 108.267C298.959 107.156 298.428 106.064 298.653 105.839C298.877 105.614 299.502 106.138 300.041 107.003C301.275 108.98 302.626 109.005 303.83 107.076C305.618 104.21 305.987 105.596 304.266 108.712ZM292.261 108.667C291.322 110.367 289.797 112.543 288.87 113.504C287.943 114.465 287.185 115.604 287.185 116.035C287.185 116.466 286.834 116.818 286.405 116.818C285.976 116.818 286.484 115.35 287.535 113.556L289.445 110.293L287.855 108.27C286.981 107.157 286.445 106.068 286.665 105.848C286.884 105.629 287.44 106.152 287.899 107.011C288.956 108.987 290.642 109.014 291.851 107.076C293.621 104.239 293.966 105.581 292.261 108.667ZM280.282 108.667C279.343 110.367 277.818 112.543 276.891 113.504C275.964 114.465 275.206 115.604 275.206 116.035C275.206 116.466 274.86 116.818 274.435 116.818C274.011 116.818 274.432 115.47 275.371 113.822C277.038 110.898 277.047 110.773 275.745 108.476C275.011 107.182 274.562 105.972 274.748 105.786C274.933 105.6 275.461 106.152 275.921 107.011C276.978 108.988 278.661 109.017 279.698 107.076C280.139 106.251 280.835 105.577 281.244 105.577C281.654 105.577 281.221 106.968 280.282 108.667ZM332.657 106.774C331.819 107.613 333.01 109.324 334.432 109.324C335.35 109.324 335.849 108.796 335.849 107.825C335.849 106.396 333.731 105.699 332.657 106.774ZM151.306 107.833C152.629 109.296 152.617 109.394 150.899 111.226L149.128 113.112L147.265 111.246C145.445 109.424 145.434 109.345 146.782 107.854C148.519 105.933 149.584 105.928 151.306 107.833ZM148.679 109.324C148.679 109.736 149.016 110.073 149.428 110.073C149.84 110.073 150.176 109.736 150.176 109.324C150.176 108.912 149.84 108.574 149.428 108.574C149.016 108.574 148.679 108.912 148.679 109.324ZM332.054 112.01C330.724 113.613 332.062 115.694 334.423 115.694C336.257 115.694 337.108 113.983 336.311 111.903C335.76 110.465 333.283 110.527 332.054 112.01ZM23.9308 112.817C18.3074 115.888 17.6599 116.657 17.6599 120.263V123.476L20.8417 123.707C23.8327 123.924 24.0656 124.106 24.7169 126.747C26.2772 133.068 28.1414 128.452 28.1414 118.268C28.1414 114.173 28.0156 110.823 27.8614 110.823C27.7072 110.823 25.9387 111.72 23.9308 112.817ZM549.081 125.454C548.866 125.669 548.849 126.681 549.044 127.702C549.303 129.058 549.878 129.557 551.183 129.557C552.666 129.557 552.967 129.178 552.967 127.309C552.967 125.454 552.662 125.061 551.22 125.061C550.259 125.061 549.297 125.238 549.081 125.454ZM529.039 126.877L525.701 128.624L529.788 129.185C535.869 130.019 539.733 131.357 543.592 133.964C545.495 135.25 547.204 136.302 547.389 136.302C547.896 136.302 547.794 127.61 547.272 126.247C546.9 125.275 545.512 125.067 539.598 125.095C533.531 125.123 531.845 125.408 529.039 126.877ZM256.489 126.873C256.489 127.045 256.285 127.72 256.035 128.372C255.622 129.45 267.201 129.557 383.943 129.557C511.355 129.557 512.316 129.546 513.661 128.059C515.016 126.561 514.969 126.56 385.753 126.56C314.658 126.56 256.489 126.701 256.489 126.873ZM238.147 128.059C238.147 129.747 241.804 129.524 242.132 127.815C242.345 126.71 241.989 126.494 240.271 126.691C238.99 126.838 238.147 127.38 238.147 128.059ZM220.553 128.059C220.553 129.158 221.052 129.557 222.424 129.557C223.797 129.557 224.296 129.158 224.296 128.059C224.296 126.959 223.797 126.56 222.424 126.56C221.052 126.56 220.553 126.959 220.553 128.059ZM202.584 128.111C202.584 129.288 202.988 129.604 204.261 129.423C206.75 129.067 206.968 126.56 204.511 126.56C203.062 126.56 202.584 126.944 202.584 128.111ZM184.754 128.246C184.57 129.219 185.002 129.557 186.433 129.557C187.492 129.557 188.359 129.417 188.359 129.244C188.359 129.072 188.574 128.37 188.837 127.685C189.225 126.674 188.909 126.486 187.158 126.687C185.827 126.84 184.908 127.436 184.754 128.246ZM28.6086 127.712C28.3652 128.346 28.5823 129.023 29.09 129.217C29.5976 129.411 61.6778 129.482 100.379 129.376C166.71 129.194 170.759 129.108 170.997 127.871C171.236 126.63 167.46 126.56 100.15 126.56C36.8627 126.56 29.0016 126.687 28.6086 127.712Z");
			attr(path2, "fill", "white");
			attr(path2, "fill-opacity", path2_fill_opacity_value = /*highlightParts*/ ctx[0][/*Zones*/ ctx[5].Barrel]);
			attr(path3, "fill-rule", "evenodd");
			attr(path3, "clip-rule", "evenodd");
			attr(path3, "d", "M549.144 127.606C548.949 126.584 548.966 125.573 549.181 125.358C549.397 125.142 550.359 124.965 551.32 124.965C552.762 124.965 553.067 125.358 553.067 127.213C553.067 129.082 552.766 129.461 551.283 129.461C549.978 129.461 549.403 128.962 549.144 127.606ZM525.801 128.528L529.139 126.781C531.945 125.312 533.631 125.027 539.698 124.999C545.612 124.971 547 125.179 547.372 126.151C547.894 127.514 547.996 136.206 547.489 136.206C547.304 136.206 545.595 135.154 543.692 133.868C539.833 131.261 535.969 129.923 529.888 129.089L525.801 128.528ZM466.407 137.726C482.761 135.803 506.534 132.939 519.258 131.358C524.34 130.727 528.72 130.25 528.991 130.299C529.262 130.347 531.118 130.661 533.115 130.997C536.942 131.64 544.832 135.246 544.832 136.352C544.832 137.308 544.248 137.41 528.735 139.155C520.911 140.035 512.32 141.058 509.644 141.428C506.967 141.798 501.577 142.475 497.665 142.932C493.753 143.389 488.194 144.068 485.311 144.442C480.265 145.098 475.044 145.731 460.605 147.441C456.899 147.879 451.34 148.556 448.252 148.945C445.163 149.334 439.604 150.016 435.898 150.461C432.192 150.906 426.802 151.568 423.92 151.933C421.037 152.298 415.478 152.948 411.566 153.377C402.14 154.414 384.784 156.426 378.25 157.24C375.368 157.599 370.314 158.227 367.02 158.635C363.726 159.044 358.335 159.746 355.041 160.196C351.747 160.646 347.535 161.181 345.682 161.384C338.663 162.152 326.475 164.027 323.596 164.782C309.845 168.387 295.544 180.951 289.112 195.079C285.84 202.265 285.288 205.014 280.848 236.25C279.794 243.669 278.603 251.762 278.203 254.235C277.29 259.877 276.131 268.803 276.088 270.534C276.061 271.596 275.378 271.843 272.499 271.834C266.939 271.816 266.688 271.449 267.702 264.797C268.178 261.667 268.905 256.577 269.317 253.486C270.611 243.773 271.629 236.408 272.32 231.753C272.687 229.28 273.36 224.39 273.816 220.887C275.499 207.946 276.276 203.898 278.132 198.405C285.658 176.13 303.652 160.138 327.06 154.92C335.601 153.015 336.536 153.035 336.833 155.128C337.105 157.046 338.014 157.139 347.069 156.172C354.038 155.428 354.667 155.167 354.667 153.021C354.667 152.575 354.657 152.232 354.786 151.954C355.223 151.005 357.252 150.79 366.645 149.717C376.068 148.641 390.237 146.956 404.828 145.177C407.916 144.801 413.475 144.126 417.181 143.678C420.887 143.231 426.446 142.555 429.535 142.179C432.623 141.802 438.182 141.138 441.888 140.702C445.594 140.267 451.153 139.592 454.241 139.203C457.329 138.814 462.804 138.149 466.407 137.726ZM352.398 146.635C352.379 147.609 352.233 147.577 351.58 146.454C351.143 145.701 350.929 144.943 351.104 144.768C351.634 144.236 352.422 145.373 352.398 146.635ZM342.322 152.7C340.749 151.393 340.891 147.201 342.56 145.689C346.984 141.682 353.12 147.447 349.429 152.144C347.727 154.309 344.558 154.557 342.322 152.7ZM453.492 149.666C457.816 149.191 463.184 148.497 465.422 148.125C467.659 147.752 469.934 147.447 470.476 147.447C472.135 147.447 471.574 149.466 469.402 151.314C465.844 154.343 461.741 160.799 460.91 164.677C459.706 170.301 461.004 178.897 464.141 186.072C467.438 193.612 468.637 200.041 468.719 210.632C468.828 224.674 464.877 236.25 455.831 248.398C444.857 263.134 429.752 270.875 407.074 273.386C403.162 273.819 397.183 274.493 393.785 274.883L381.432 276.302C349.613 279.959 339.944 280.835 331.457 280.835C322.512 280.834 312.526 279.938 304.983 278.461L300.594 277.6L301.061 274.161C301.318 272.269 301.739 268.783 301.997 266.413C302.275 263.865 302.828 262.104 303.351 262.104C303.838 262.104 305.56 263.219 307.178 264.581C312.031 268.668 317.453 271.611 324.072 273.751C329.39 275.47 331.689 275.783 339.319 275.826C344.26 275.853 351.082 275.475 354.479 274.985C357.877 274.495 363.351 273.757 366.645 273.344C369.94 272.932 375.246 272.264 378.437 271.858C381.628 271.454 388.619 270.579 393.972 269.915C418.142 266.918 422.969 266.072 428.576 263.856C431.368 262.752 435.061 260.894 436.782 259.728C438.503 258.561 440.221 257.607 440.599 257.607C440.977 257.607 444.471 254.32 448.362 250.301C453.756 244.73 456.163 241.553 458.496 236.928C468.507 217.076 465.628 192.149 451.382 175.337C444.603 167.337 430.744 158.484 421.674 156.361C416.273 155.098 415.806 154.944 416.192 154.557C416.384 154.365 420.728 153.697 425.845 153.074C430.962 152.45 437.508 151.622 440.391 151.234C443.273 150.846 449.169 150.141 453.492 149.666ZM352.014 153.933C350.628 154.465 349.511 153.58 350.634 152.839C351.07 152.552 351.807 151.643 352.274 150.819C353.064 149.425 353.125 149.466 353.147 151.404C353.159 152.609 352.681 153.676 352.014 153.933ZM340.067 155.69C338.383 155.69 338.195 155.39 338.195 152.692C338.195 151.044 338.331 149.695 338.496 149.695C338.824 149.695 341.939 154.819 341.939 155.358C341.939 155.541 341.097 155.69 340.067 155.69ZM363.765 167.091C363.401 163.681 363.467 161.419 363.944 160.942C364.935 159.95 367.175 159.975 367.798 160.984C368.07 161.424 368.368 168.421 368.462 176.534C368.62 190.22 368.77 191.665 370.535 196.532C373.856 205.693 377.455 211.284 384.209 217.775C393.382 226.589 403.321 231.183 416.051 232.493C421.483 233.051 422.797 233.783 422.797 236.25C422.797 239.335 421.145 239.877 413.231 239.388C400.521 238.603 390.809 235.331 380.182 228.256C372.883 223.396 368.922 219.549 364.398 212.927C359.377 205.578 357.145 200.839 354.391 191.686C351.666 182.628 350.082 180.978 343.29 180.125C337.358 179.381 331.632 176.857 326.447 172.703C321.765 168.951 320.497 167.315 321.698 166.573C322.92 165.817 355.226 161.385 359.907 161.332C361.691 161.311 361.802 161.567 362.269 166.796C362.731 171.974 363.203 173.624 363.996 172.83C364.186 172.641 364.082 170.057 363.765 167.091ZM279.822 254.036C279.85 252.418 280.906 244.557 282.402 234.813C283.866 225.276 284.328 224.75 285.424 231.379C286.133 235.669 288.696 241.346 293.463 249.183C296.816 254.694 297.234 255.853 297.28 259.774C297.374 267.633 293.143 271.862 284.111 272.938C277.027 273.782 276.375 272.972 277.973 265.306L278.321 263.637L280.744 265.115C282.077 265.929 283.9 266.595 284.794 266.597C286.706 266.601 290.701 263.447 291.188 261.551C291.763 259.308 289.673 255.471 287.172 254.177C284.993 253.049 284.594 253.046 282.299 254.141C279.967 255.254 279.8 255.247 279.822 254.036ZM454.886 240.371C454.549 240.371 454.657 239.528 455.126 238.498C455.595 237.467 456.254 236.624 456.591 236.624C456.928 236.624 456.82 237.467 456.351 238.498C455.882 239.528 455.223 240.371 454.886 240.371ZM448.439 248.71C447.251 249.642 447.225 249.616 448.156 248.427C448.721 247.706 449.311 247.116 449.466 247.116C450.082 247.116 449.686 247.731 448.439 248.71ZM445.631 251.538C443.936 253.503 439.469 256.852 440.266 255.561C440.552 255.098 442.213 253.613 443.957 252.261C446.101 250.6 446.644 250.365 445.631 251.538ZM280.697 263.452C279.333 262.087 279.613 258.007 281.168 256.599C283.146 254.808 286.951 255.003 288.325 256.967C289.539 258.701 289.179 262.802 287.729 263.778C286.423 264.657 281.681 264.437 280.697 263.452ZM291.094 272.695C295.516 270.968 298.664 265.94 298.747 260.471C298.804 256.691 299.233 256.139 300.723 257.935C301.303 258.635 301.451 260.274 301.144 262.619C299.891 272.201 299.013 277.091 298.546 277.091C297.52 277.091 290.636 274.627 289.971 274.022C289.581 273.667 290.062 273.098 291.094 272.695ZM351.11 273.841C350.595 274.049 349.753 274.049 349.239 273.841C348.723 273.633 349.145 273.463 350.174 273.463C351.204 273.463 351.625 273.633 351.11 273.841Z");
			attr(path3, "fill", "white");
			attr(path3, "fill-opacity", path3_fill_opacity_value = /*highlightParts*/ ctx[0][/*Zones*/ ctx[5].Trigger]);
			attr(svg, "viewBox", "0 0 654 508");
			attr(svg, "class", "blueprint-weapon-pm__svg");
			attr(svg, "fill", "none");
			attr(svg, "xmlns", "http://www.w3.org/2000/svg");
			attr(div, "class", "blueprint-weapon-pm svelte-146lvs");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, svg);
			append(svg, path0);
			append(svg, path1);
			append(svg, path2);
			append(svg, path3);
			append(div, t);
			if (if_block) if_block.m(div, null);
		},
		p(ctx, [dirty]) {
			if (dirty & /*highlightParts*/ 1 && path1_fill_opacity_value !== (path1_fill_opacity_value = /*highlightParts*/ ctx[0][/*Zones*/ ctx[5].Handle])) {
				attr(path1, "fill-opacity", path1_fill_opacity_value);
			}

			if (dirty & /*highlightParts*/ 1 && path2_fill_opacity_value !== (path2_fill_opacity_value = /*highlightParts*/ ctx[0][/*Zones*/ ctx[5].Barrel])) {
				attr(path2, "fill-opacity", path2_fill_opacity_value);
			}

			if (dirty & /*highlightParts*/ 1 && path3_fill_opacity_value !== (path3_fill_opacity_value = /*highlightParts*/ ctx[0][/*Zones*/ ctx[5].Trigger])) {
				attr(path3, "fill-opacity", path3_fill_opacity_value);
			}

			if (/*currentZoneIndex*/ ctx[4] >= 0) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = pm_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			if (if_block) if_block.d();
		}
	};
}

function pm_index_svelte_instance($$self, $$props, $$invalidate) {
	const Zones = {
		Handle: 'handle',
		Barrel: 'barrel',
		Trigger: 'trigger'
	};

	const highlightParts = {
		[Zones.Handle]: 0,
		[Zones.Barrel]: 0,
		[Zones.Trigger]: 0
	};

	const zonesOrder = (0,lodash.shuffle)(Object.values(Zones));
	let zoneWidth = 0;
	let zoneHeight = 0;
	let zoneNode = null;
	let currentZoneIndex = 0;

	const fillZone = () => {
		$$invalidate(0, highlightParts[zonesOrder[currentZoneIndex]] = 0.5, highlightParts);

		if (currentZoneIndex + 1 >= zonesOrder.length) {
			$$invalidate(4, currentZoneIndex = -1);
			sendClientMessage('blueprint.complete');
			return;
		}

		$$invalidate(4, currentZoneIndex += 1);
	};

	afterUpdate(() => {
		if (!(0,lodash.isNil)(zoneNode) && !(0,lodash.isNil)(zoneNode.offsetWidth) && !(0,lodash.isNil)(zoneNode.offsetHeight)) {
			$$invalidate(1, zoneWidth = zoneNode.offsetWidth);
			$$invalidate(2, zoneHeight = zoneNode.offsetHeight);
		}
	});

	function div_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			zoneNode = $$value;
			$$invalidate(3, zoneNode);
		});
	}

	return [
		highlightParts,
		zoneWidth,
		zoneHeight,
		zoneNode,
		currentZoneIndex,
		Zones,
		zonesOrder,
		fillZone,
		div_binding
	];
}

class Pm extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, pm_index_svelte_instance, pm_index_svelte_create_fragment, safe_not_equal, {}, pm_index_svelte_add_css);
	}
}

/* harmony default export */ const pm_index_svelte = (Pm);
;// CONCATENATED MODULE: ./src/views/blueprint/components/ak/index.svelte
/* src\views\blueprint\components\ak\index.svelte generated by Svelte v3.49.0 */






function ak_index_svelte_add_css(target) {
	append_styles(target, "svelte-1vmv3jl", "@keyframes svelte-1vmv3jl-blinking{50%{opacity:0}}@keyframes svelte-1vmv3jl-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1vmv3jl-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1vmv3jl-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1vmv3jl-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1vmv3jl-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1vmv3jl-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1vmv3jl-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1vmv3jl-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1vmv3jl-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1vmv3jl-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1vmv3jl-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1vmv3jl-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1vmv3jl-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1vmv3jl-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.blueprint-weapon-ak.svelte-1vmv3jl{position:relative;width:100%;height:100%}.blueprint-weapon-ak__target-zone.svelte-1vmv3jl{position:absolute;background:rgba(255, 219, 108, 0.2);border-width:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-ak__target-zone.svelte-1vmv3jl{border-width:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone.svelte-1vmv3jl{border-width:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-ak__target-zone.svelte-1vmv3jl{border-width:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-ak__target-zone.svelte-1vmv3jl{border-width:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone.svelte-1vmv3jl{border-width:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-ak__target-zone.svelte-1vmv3jl{border-width:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-ak__target-zone.svelte-1vmv3jl{border-width:calc(0.0028645833 * 100vw + 0px)}}.blueprint-weapon-ak__target-zone--buttstock.svelte-1vmv3jl{top:calc(0.0270833333 * 100vw + 0px);left:calc(-0.0098958333 * 100vw + 0px);width:calc(0.2515625 * 100vw + 0px);height:calc(0.1541666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-ak__target-zone--buttstock.svelte-1vmv3jl{top:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--buttstock.svelte-1vmv3jl{top:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-ak__target-zone--buttstock.svelte-1vmv3jl{top:calc(0.0208541667 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-ak__target-zone--buttstock.svelte-1vmv3jl{top:calc(0.0297916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--buttstock.svelte-1vmv3jl{top:calc(0.0189583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-ak__target-zone--buttstock.svelte-1vmv3jl{top:calc(0.024375 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-ak__target-zone--buttstock.svelte-1vmv3jl{top:calc(0.0297916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-ak__target-zone--buttstock.svelte-1vmv3jl{left:calc(-0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--buttstock.svelte-1vmv3jl{left:calc(-0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-ak__target-zone--buttstock.svelte-1vmv3jl{left:calc(-0.0076197917 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-ak__target-zone--buttstock.svelte-1vmv3jl{left:calc(-0.0108854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--buttstock.svelte-1vmv3jl{left:calc(-0.0069270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-ak__target-zone--buttstock.svelte-1vmv3jl{left:calc(-0.00890625 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-ak__target-zone--buttstock.svelte-1vmv3jl{left:calc(-0.0108854167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-ak__target-zone--buttstock.svelte-1vmv3jl{width:calc(0.2515625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--buttstock.svelte-1vmv3jl{width:calc(0.2515625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-ak__target-zone--buttstock.svelte-1vmv3jl{width:calc(0.193703125 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-ak__target-zone--buttstock.svelte-1vmv3jl{width:calc(0.27671875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--buttstock.svelte-1vmv3jl{width:calc(0.17609375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-ak__target-zone--buttstock.svelte-1vmv3jl{width:calc(0.22640625 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-ak__target-zone--buttstock.svelte-1vmv3jl{width:calc(0.27671875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-ak__target-zone--buttstock.svelte-1vmv3jl{height:calc(0.1541666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--buttstock.svelte-1vmv3jl{height:calc(0.1541666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-ak__target-zone--buttstock.svelte-1vmv3jl{height:calc(0.1187083333 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-ak__target-zone--buttstock.svelte-1vmv3jl{height:calc(0.1695833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--buttstock.svelte-1vmv3jl{height:calc(0.1079166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-ak__target-zone--buttstock.svelte-1vmv3jl{height:calc(0.13875 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-ak__target-zone--buttstock.svelte-1vmv3jl{height:calc(0.1695833333 * 100vw + 0px)}}.blueprint-weapon-ak__target-zone--handle.svelte-1vmv3jl{bottom:calc(-0.015625 * 100vw + 0px);left:calc(0.2140625 * 100vw + 0px);width:calc(0.3208333333 * 100vw + 0px);height:calc(0.2046875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-ak__target-zone--handle.svelte-1vmv3jl{bottom:calc(-0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--handle.svelte-1vmv3jl{bottom:calc(-0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-ak__target-zone--handle.svelte-1vmv3jl{bottom:calc(-0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-ak__target-zone--handle.svelte-1vmv3jl{bottom:calc(-0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--handle.svelte-1vmv3jl{bottom:calc(-0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-ak__target-zone--handle.svelte-1vmv3jl{bottom:calc(-0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-ak__target-zone--handle.svelte-1vmv3jl{bottom:calc(-0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-ak__target-zone--handle.svelte-1vmv3jl{left:calc(0.2140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--handle.svelte-1vmv3jl{left:calc(0.2140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-ak__target-zone--handle.svelte-1vmv3jl{left:calc(0.164828125 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-ak__target-zone--handle.svelte-1vmv3jl{left:calc(0.23546875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--handle.svelte-1vmv3jl{left:calc(0.14984375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-ak__target-zone--handle.svelte-1vmv3jl{left:calc(0.19265625 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-ak__target-zone--handle.svelte-1vmv3jl{left:calc(0.23546875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-ak__target-zone--handle.svelte-1vmv3jl{width:calc(0.3208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--handle.svelte-1vmv3jl{width:calc(0.3208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-ak__target-zone--handle.svelte-1vmv3jl{width:calc(0.2470416667 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-ak__target-zone--handle.svelte-1vmv3jl{width:calc(0.3529166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--handle.svelte-1vmv3jl{width:calc(0.2245833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-ak__target-zone--handle.svelte-1vmv3jl{width:calc(0.28875 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-ak__target-zone--handle.svelte-1vmv3jl{width:calc(0.3529166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-ak__target-zone--handle.svelte-1vmv3jl{height:calc(0.2046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--handle.svelte-1vmv3jl{height:calc(0.2046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-ak__target-zone--handle.svelte-1vmv3jl{height:calc(0.157609375 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-ak__target-zone--handle.svelte-1vmv3jl{height:calc(0.22515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--handle.svelte-1vmv3jl{height:calc(0.14328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-ak__target-zone--handle.svelte-1vmv3jl{height:calc(0.18421875 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-ak__target-zone--handle.svelte-1vmv3jl{height:calc(0.22515625 * 100vw + 0px)}}.blueprint-weapon-ak__target-zone--cover.svelte-1vmv3jl{top:calc(-0.0046875 * 100vw + 0px);left:calc(0.20625 * 100vw + 0px);width:calc(0.3208333333 * 100vw + 0px);height:calc(0.0588541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-ak__target-zone--cover.svelte-1vmv3jl{top:calc(-0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--cover.svelte-1vmv3jl{top:calc(-0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-ak__target-zone--cover.svelte-1vmv3jl{top:calc(-0.003609375 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-ak__target-zone--cover.svelte-1vmv3jl{top:calc(-0.00515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--cover.svelte-1vmv3jl{top:calc(-0.00328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-ak__target-zone--cover.svelte-1vmv3jl{top:calc(-0.00421875 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-ak__target-zone--cover.svelte-1vmv3jl{top:calc(-0.00515625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-ak__target-zone--cover.svelte-1vmv3jl{left:calc(0.20625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--cover.svelte-1vmv3jl{left:calc(0.20625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-ak__target-zone--cover.svelte-1vmv3jl{left:calc(0.1588125 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-ak__target-zone--cover.svelte-1vmv3jl{left:calc(0.226875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--cover.svelte-1vmv3jl{left:calc(0.144375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-ak__target-zone--cover.svelte-1vmv3jl{left:calc(0.185625 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-ak__target-zone--cover.svelte-1vmv3jl{left:calc(0.226875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-ak__target-zone--cover.svelte-1vmv3jl{width:calc(0.3208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--cover.svelte-1vmv3jl{width:calc(0.3208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-ak__target-zone--cover.svelte-1vmv3jl{width:calc(0.2470416667 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-ak__target-zone--cover.svelte-1vmv3jl{width:calc(0.3529166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--cover.svelte-1vmv3jl{width:calc(0.2245833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-ak__target-zone--cover.svelte-1vmv3jl{width:calc(0.28875 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-ak__target-zone--cover.svelte-1vmv3jl{width:calc(0.3529166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-ak__target-zone--cover.svelte-1vmv3jl{height:calc(0.0588541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--cover.svelte-1vmv3jl{height:calc(0.0588541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-ak__target-zone--cover.svelte-1vmv3jl{height:calc(0.0453177083 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-ak__target-zone--cover.svelte-1vmv3jl{height:calc(0.0647395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--cover.svelte-1vmv3jl{height:calc(0.0411979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-ak__target-zone--cover.svelte-1vmv3jl{height:calc(0.05296875 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-ak__target-zone--cover.svelte-1vmv3jl{height:calc(0.0647395833 * 100vw + 0px)}}.blueprint-weapon-ak__target-zone--receiver.svelte-1vmv3jl{top:calc(0 * 100vw + 0px);right:calc(0.2166666667 * 100vw + 0px);width:calc(0.4510416667 * 100vw + 0px);height:calc(0.0916666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-ak__target-zone--receiver.svelte-1vmv3jl{top:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--receiver.svelte-1vmv3jl{top:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-ak__target-zone--receiver.svelte-1vmv3jl{top:calc(0 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-ak__target-zone--receiver.svelte-1vmv3jl{top:calc(0 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--receiver.svelte-1vmv3jl{top:calc(0 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-ak__target-zone--receiver.svelte-1vmv3jl{top:calc(0 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-ak__target-zone--receiver.svelte-1vmv3jl{top:calc(0 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-ak__target-zone--receiver.svelte-1vmv3jl{right:calc(0.2166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--receiver.svelte-1vmv3jl{right:calc(0.2166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-ak__target-zone--receiver.svelte-1vmv3jl{right:calc(0.1668333333 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-ak__target-zone--receiver.svelte-1vmv3jl{right:calc(0.2383333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--receiver.svelte-1vmv3jl{right:calc(0.1516666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-ak__target-zone--receiver.svelte-1vmv3jl{right:calc(0.195 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-ak__target-zone--receiver.svelte-1vmv3jl{right:calc(0.2383333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-ak__target-zone--receiver.svelte-1vmv3jl{width:calc(0.4510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--receiver.svelte-1vmv3jl{width:calc(0.4510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-ak__target-zone--receiver.svelte-1vmv3jl{width:calc(0.3473020833 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-ak__target-zone--receiver.svelte-1vmv3jl{width:calc(0.4961458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--receiver.svelte-1vmv3jl{width:calc(0.3157291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-ak__target-zone--receiver.svelte-1vmv3jl{width:calc(0.4059375 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-ak__target-zone--receiver.svelte-1vmv3jl{width:calc(0.4961458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-ak__target-zone--receiver.svelte-1vmv3jl{height:calc(0.0916666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--receiver.svelte-1vmv3jl{height:calc(0.0916666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-ak__target-zone--receiver.svelte-1vmv3jl{height:calc(0.0705833333 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-ak__target-zone--receiver.svelte-1vmv3jl{height:calc(0.1008333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--receiver.svelte-1vmv3jl{height:calc(0.0641666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-ak__target-zone--receiver.svelte-1vmv3jl{height:calc(0.0825 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-ak__target-zone--receiver.svelte-1vmv3jl{height:calc(0.1008333333 * 100vw + 0px)}}.blueprint-weapon-ak__target-zone--barrel.svelte-1vmv3jl{top:calc(-0.0083333333 * 100vw + 0px);right:calc(-0.0296875 * 100vw + 0px);width:calc(0.2671875 * 100vw + 0px);height:calc(0.0916666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-ak__target-zone--barrel.svelte-1vmv3jl{top:calc(-0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--barrel.svelte-1vmv3jl{top:calc(-0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-ak__target-zone--barrel.svelte-1vmv3jl{top:calc(-0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-ak__target-zone--barrel.svelte-1vmv3jl{top:calc(-0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--barrel.svelte-1vmv3jl{top:calc(-0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-ak__target-zone--barrel.svelte-1vmv3jl{top:calc(-0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-ak__target-zone--barrel.svelte-1vmv3jl{top:calc(-0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-ak__target-zone--barrel.svelte-1vmv3jl{right:calc(-0.0296875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--barrel.svelte-1vmv3jl{right:calc(-0.0296875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-ak__target-zone--barrel.svelte-1vmv3jl{right:calc(-0.022859375 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-ak__target-zone--barrel.svelte-1vmv3jl{right:calc(-0.03265625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--barrel.svelte-1vmv3jl{right:calc(-0.02078125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-ak__target-zone--barrel.svelte-1vmv3jl{right:calc(-0.02671875 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-ak__target-zone--barrel.svelte-1vmv3jl{right:calc(-0.03265625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-ak__target-zone--barrel.svelte-1vmv3jl{width:calc(0.2671875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--barrel.svelte-1vmv3jl{width:calc(0.2671875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-ak__target-zone--barrel.svelte-1vmv3jl{width:calc(0.205734375 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-ak__target-zone--barrel.svelte-1vmv3jl{width:calc(0.29390625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--barrel.svelte-1vmv3jl{width:calc(0.18703125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-ak__target-zone--barrel.svelte-1vmv3jl{width:calc(0.24046875 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-ak__target-zone--barrel.svelte-1vmv3jl{width:calc(0.29390625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-ak__target-zone--barrel.svelte-1vmv3jl{height:calc(0.0916666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--barrel.svelte-1vmv3jl{height:calc(0.0916666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-ak__target-zone--barrel.svelte-1vmv3jl{height:calc(0.0705833333 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-ak__target-zone--barrel.svelte-1vmv3jl{height:calc(0.1008333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone--barrel.svelte-1vmv3jl{height:calc(0.0641666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-ak__target-zone--barrel.svelte-1vmv3jl{height:calc(0.0825 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-ak__target-zone--barrel.svelte-1vmv3jl{height:calc(0.1008333333 * 100vw + 0px)}}.blueprint-weapon-ak__target-zone-icon.svelte-1vmv3jl{position:absolute;color:#FFDB6C;animation-name:svelte-1vmv3jl-pulse;animation-duration:0.7s;animation-timing-function:linear;animation-iteration-count:infinite;animation-direction:alternate;top:calc(0.0078125 * 100vw + 0px);right:calc(0.0078125 * 100vw + 0px);font-size:calc(0.0229166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-ak__target-zone-icon.svelte-1vmv3jl{top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone-icon.svelte-1vmv3jl{top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-ak__target-zone-icon.svelte-1vmv3jl{top:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-ak__target-zone-icon.svelte-1vmv3jl{top:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone-icon.svelte-1vmv3jl{top:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-ak__target-zone-icon.svelte-1vmv3jl{top:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-ak__target-zone-icon.svelte-1vmv3jl{top:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-ak__target-zone-icon.svelte-1vmv3jl{right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone-icon.svelte-1vmv3jl{right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-ak__target-zone-icon.svelte-1vmv3jl{right:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-ak__target-zone-icon.svelte-1vmv3jl{right:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone-icon.svelte-1vmv3jl{right:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-ak__target-zone-icon.svelte-1vmv3jl{right:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-ak__target-zone-icon.svelte-1vmv3jl{right:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-ak__target-zone-icon.svelte-1vmv3jl{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone-icon.svelte-1vmv3jl{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-ak__target-zone-icon.svelte-1vmv3jl{font-size:calc(0.0176458333 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-ak__target-zone-icon.svelte-1vmv3jl{font-size:calc(0.0252083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone-icon.svelte-1vmv3jl{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-ak__target-zone-icon.svelte-1vmv3jl{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-ak__target-zone-icon.svelte-1vmv3jl{font-size:calc(0.0252083333 * 100vw + 0px)}}.blueprint-weapon-ak__target-zone-border.svelte-1vmv3jl{stroke:#FFDB6C;stroke-width:calc(0.0015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.blueprint-weapon-ak__target-zone-border.svelte-1vmv3jl{stroke-width:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone-border.svelte-1vmv3jl{stroke-width:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.blueprint-weapon-ak__target-zone-border.svelte-1vmv3jl{stroke-width:calc(0.001203125 * 100vw + 0px)}}@media(min-width: 3440px){.blueprint-weapon-ak__target-zone-border.svelte-1vmv3jl{stroke-width:calc(0.00171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.blueprint-weapon-ak__target-zone-border.svelte-1vmv3jl{stroke-width:calc(0.00109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.blueprint-weapon-ak__target-zone-border.svelte-1vmv3jl{stroke-width:calc(0.00140625 * 100vw + 0px)}}@media(min-width: 4096px){.blueprint-weapon-ak__target-zone-border.svelte-1vmv3jl{stroke-width:calc(0.00171875 * 100vw + 0px)}}");
}

// (1172:4) {#if currentZoneIndex >= 0}
function ak_index_svelte_create_if_block(ctx) {
	let div;
	let i;
	let t;
	let svg;
	let rect;
	let rect_viewBox_value;
	let svg_viewBox_value;
	let div_class_value;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			i = internal_element("i");
			t = space();
			svg = svg_element("svg");
			rect = svg_element("rect");
			attr(i, "class", "blueprint-weapon-ak__target-zone-icon icon-click svelte-1vmv3jl");
			attr(rect, "x", "0");
			attr(rect, "y", "0");
			attr(rect, "width", /*zoneWidth*/ ctx[1]);
			attr(rect, "height", /*zoneHeight*/ ctx[2]);
			attr(rect, "viewBox", rect_viewBox_value = "0 0 " + /*zoneWidth*/ ctx[1] + " " + /*zoneHeight*/ ctx[2]);
			attr(rect, "stroke", "#FFDB6C");
			attr(rect, "stroke-width", "3");
			attr(rect, "stroke-dasharray", "16 16");
			attr(svg, "class", "blueprint-weapon-ak__target-zone-border svelte-1vmv3jl");
			attr(svg, "width", /*zoneWidth*/ ctx[1]);
			attr(svg, "height", /*zoneHeight*/ ctx[2]);
			attr(svg, "viewBox", svg_viewBox_value = "0 0 " + /*zoneWidth*/ ctx[1] + " " + /*zoneHeight*/ ctx[2]);
			attr(svg, "fill", "none");
			attr(svg, "xmlns", "http://www.w3.org/2000/svg");
			attr(div, "class", div_class_value = "blueprint-weapon-ak__target-zone blueprint-weapon-ak__target-zone--" + /*zonesOrder*/ ctx[6][/*currentZoneIndex*/ ctx[4]] + " svelte-1vmv3jl");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, i);
			append(div, t);
			append(div, svg);
			append(svg, rect);
			/*div_binding*/ ctx[8](div);

			if (!mounted) {
				dispose = listen(div, "click", /*fillZone*/ ctx[7]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*zoneWidth*/ 2) {
				attr(rect, "width", /*zoneWidth*/ ctx[1]);
			}

			if (dirty & /*zoneHeight*/ 4) {
				attr(rect, "height", /*zoneHeight*/ ctx[2]);
			}

			if (dirty & /*zoneWidth, zoneHeight*/ 6 && rect_viewBox_value !== (rect_viewBox_value = "0 0 " + /*zoneWidth*/ ctx[1] + " " + /*zoneHeight*/ ctx[2])) {
				attr(rect, "viewBox", rect_viewBox_value);
			}

			if (dirty & /*zoneWidth*/ 2) {
				attr(svg, "width", /*zoneWidth*/ ctx[1]);
			}

			if (dirty & /*zoneHeight*/ 4) {
				attr(svg, "height", /*zoneHeight*/ ctx[2]);
			}

			if (dirty & /*zoneWidth, zoneHeight*/ 6 && svg_viewBox_value !== (svg_viewBox_value = "0 0 " + /*zoneWidth*/ ctx[1] + " " + /*zoneHeight*/ ctx[2])) {
				attr(svg, "viewBox", svg_viewBox_value);
			}

			if (dirty & /*currentZoneIndex*/ 16 && div_class_value !== (div_class_value = "blueprint-weapon-ak__target-zone blueprint-weapon-ak__target-zone--" + /*zonesOrder*/ ctx[6][/*currentZoneIndex*/ ctx[4]] + " svelte-1vmv3jl")) {
				attr(div, "class", div_class_value);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			/*div_binding*/ ctx[8](null);
			mounted = false;
			dispose();
		}
	};
}

function ak_index_svelte_create_fragment(ctx) {
	let div;
	let svg;
	let path0;
	let path1;
	let path2;
	let path3;
	let path4;
	let path5;
	let path6;
	let path7;
	let path8;
	let path9;
	let path10;
	let path11;
	let path12;
	let path13;
	let path14;
	let path15;
	let path16;
	let path17;
	let path18;
	let path19;
	let path20;
	let path21;
	let path22;
	let path23;
	let path24;
	let path24_fill_opacity_value;
	let path25;
	let path25_fill_opacity_value;
	let path26;
	let path26_fill_opacity_value;
	let path27;
	let path27_fill_opacity_value;
	let path28;
	let path28_fill_opacity_value;
	let path29;
	let path29_fill_opacity_value;
	let path30;
	let path30_fill_opacity_value;
	let t;
	let if_block = /*currentZoneIndex*/ ctx[4] >= 0 && ak_index_svelte_create_if_block(ctx);

	return {
		c() {
			div = internal_element("div");
			svg = svg_element("svg");
			path0 = svg_element("path");
			path1 = svg_element("path");
			path2 = svg_element("path");
			path3 = svg_element("path");
			path4 = svg_element("path");
			path5 = svg_element("path");
			path6 = svg_element("path");
			path7 = svg_element("path");
			path8 = svg_element("path");
			path9 = svg_element("path");
			path10 = svg_element("path");
			path11 = svg_element("path");
			path12 = svg_element("path");
			path13 = svg_element("path");
			path14 = svg_element("path");
			path15 = svg_element("path");
			path16 = svg_element("path");
			path17 = svg_element("path");
			path18 = svg_element("path");
			path19 = svg_element("path");
			path20 = svg_element("path");
			path21 = svg_element("path");
			path22 = svg_element("path");
			path23 = svg_element("path");
			path24 = svg_element("path");
			path25 = svg_element("path");
			path26 = svg_element("path");
			path27 = svg_element("path");
			path28 = svg_element("path");
			path29 = svg_element("path");
			path30 = svg_element("path");
			t = space();
			if (if_block) if_block.c();
			attr(path0, "d", "M1631.85 96.7829C1631.32 90.6493 1630.43 87.3957 1628.96 86.2208C1627.52 85.0733 1622.84 84.3531 1620.69 84.9919C1620.64 84.9972 1620.59 85.0192 1620.54 85.0408C1620.29 85.1274 1620.07 85.2355 1619.91 85.3709C1618.64 86.4539 1617.34 86.2534 1616.84 86.118C1616.73 86.0907 1616.61 86.0366 1616.5 85.9878C1616.49 85.9553 1616.48 85.9285 1616.47 85.9012C1616.36 85.6251 1616.05 85.4844 1615.77 85.5873C1615.14 85.2245 1614.34 84.8403 1612.91 84.7915C1610.98 84.7321 1604.71 84.9809 1603 85.0513C1602.4 83.4381 1600.76 82.8261 1599.61 82.6854C1599.56 80.363 1599.35 70.4451 1598.95 63.3257C1598.51 55.3727 1597.34 28.6454 1597.34 24.0327C1597.34 21.7534 1597.76 19.5013 1598.17 17.3249C1598.6 15.0619 1599 12.9237 1598.95 10.7961C1598.87 7.06584 1598.44 2.0961 1595.72 1.97168C1593.38 1.86879 1572.8 0.959542 1571.21 1.00261C1570.96 1.01362 1570.72 1.07824 1570.51 1.18113C1570.5 1.1864 1570.49 1.19217 1570.49 1.19743C1569.38 1.75494 1568.77 3.42263 1568.52 4.27253C1567.03 4.1103 1564.14 3.91508 1562.53 4.60275C1562.45 4.62429 1562.38 4.65681 1562.33 4.70563C1561.9 4.92767 1561.58 5.22006 1561.45 5.6206C1560.84 7.5099 1560.95 15.9716 1561.36 20.0048C1561.42 20.6546 1561.49 21.2663 1561.55 21.8348C1561.88 24.8448 1562.1 26.8265 1561.4 28.4449C1560.52 30.4749 1532.3 82.1331 1532.01 82.6528C1531.97 82.7342 1531.95 82.8208 1531.95 82.9127V86.3123L1422.43 86.6099C1422.14 85.9926 1421.44 84.6393 1420.32 83.3836C1419.17 82.0733 1416.32 81.3536 1413.03 80.5199C1411.87 80.2275 1410.68 79.9241 1409.49 79.5777C1389.19 74.608 1378.3 56.4447 1374.2 49.6072C1373.94 49.1851 1373.71 48.8114 1373.52 48.4922L1373.39 48.2812C1370.27 43.1975 1368.38 40.1282 1360.73 39.9386C1357.66 39.863 1336.91 39.8033 1313.6 39.7602C1313.48 39.6736 1313.32 39.641 1313.16 39.6788C1313.1 39.6951 1313.05 39.7276 1313 39.7602C1281.53 39.7008 1245.65 39.6683 1242.44 39.6625L1239.78 37.0099C1239.69 36.9123 1239.55 36.8582 1239.41 36.853L1219.3 36.4467C1218.72 34.5359 1216.49 27.3572 1215.14 25.9981C1213.66 24.5309 1209.71 24.5146 1205.06 24.6395C1202.15 24.7209 1200.9 26.1934 1200.47 26.8753L1025.89 25.3325C1025.73 25.3109 1025.58 25.4028 1025.48 25.5272L1025.07 26.0034C1024.42 25.4401 1023.1 24.5146 1021.31 24.4118C1020.6 24.3682 1012.61 24.3198 1011.79 25.6296V25.6349C1011.57 25.9813 1011.09 27.3132 1010.59 28.7589C1010.09 30.2098 1009.58 31.7689 1009.32 32.5753L1004.38 32.6944L1003.54 30.2419C1003.51 29.3216 1003.29 21.1844 1003.03 17.6331C1002.72 13.486 999.876 11.467 994.072 11.2775C989.103 11.1153 976.299 11.2072 973.495 11.2287V9.74521C973.495 9.44755 973.251 9.20398 972.954 9.20398H969.105C961.893 7.29266 957.33 9.23124 956.512 9.62078L918.621 9.97829C918.156 5.30623 914.204 1.65203 909.418 1.65203C904.318 1.65203 900.166 5.79913 900.166 10.8985C900.166 10.9741 900.177 11.0445 900.177 11.1153L883.751 11.1531C883.827 10.2817 883.897 8.81442 883.578 8.11574C883.562 8.07794 883.535 8.04015 883.508 8.00761C882.517 6.76243 877.867 3.67674 877.336 3.33027C877.207 3.23839 877.039 3.21639 876.887 3.25994C876.735 3.30301 876.611 3.41167 876.546 3.55763L875.528 5.83692C875.528 5.83692 875.528 5.83692 875.523 5.83692L874.196 8.8092C874.164 8.87955 874.147 8.9499 874.147 9.02598L873.974 21.0987C873.974 21.2394 874.028 21.3801 874.131 21.483C874.234 21.5859 874.37 21.6453 874.515 21.6453H881.174C881.359 21.6453 881.532 21.5534 881.629 21.3964L882.523 19.9942C882.571 19.9239 882.642 19.8966 882.674 19.8914C882.712 19.8861 882.782 19.8804 882.853 19.9344L883.438 20.3623C883.497 20.4111 883.535 20.4762 883.535 20.5465V25.3482C882.728 27.3457 882.534 31.9962 882.485 33.5826C869.232 33.6582 619.437 35.1039 605.664 35.3097C596.645 35.4394 565.17 35.4073 542.183 35.38C528.34 35.3637 517.409 35.3527 514.367 35.3748C506.247 35.4451 503.577 37.6594 498.261 42.0663L497.509 42.6889C493.649 45.8885 490.141 48.8875 486.752 51.7894C483.644 54.4477 480.715 56.9596 477.96 59.2279C477.153 59.8883 474.722 61.9782 471.718 64.6202C471.69 64.6417 471.664 64.658 471.642 64.6853C464.777 70.7322 454.979 79.6432 454.773 81.132C454.594 82.4313 454.361 85.7121 454.264 87.2009C452.96 86.719 450.285 85.9395 448.894 87.0004C447.73 87.8881 445.992 88.7217 445.283 89.0467C444.985 88.7816 444.471 88.3753 443.799 88.0182C443.778 88.0072 443.761 87.991 443.739 87.9805C443.728 87.9752 443.718 87.9752 443.707 87.9695C442.424 87.3196 440.589 86.8812 438.52 87.9154C435.169 89.5936 431.044 91.2992 417.52 93.7187C413.466 94.4442 409.535 95.0453 405.372 95.6841C396.358 97.0595 386.148 98.6238 372.57 101.872C353.173 106.517 340.683 107.259 324.869 108.195L324.42 108.223C315.52 108.753 306.853 106.788 298.472 104.893C291.58 103.334 285.067 101.862 278.869 101.862H278.852C270.602 101.732 246.836 104.422 227.351 106.983C219.469 108.017 203.093 110.345 185.752 112.808C166.241 115.585 146.059 118.455 137.37 119.559C120.993 121.638 46.8522 132.574 27.1896 135.801C10.8563 138.486 7.35911 141.068 6.61737 142.124C3.13115 142.6 0.597247 144.652 0.386208 146.341L0.375196 146.412C-0.193317 150.959 -0.111957 156.27 0.613521 162.182C1.66393 170.708 3.91597 182.532 7.1208 196.38C10.0495 209.021 14.6948 235.029 16.7898 248.178C18.7715 260.646 24.5476 295.159 26.6048 306.788C28.8516 319.526 30.8869 324.588 34.3846 326.131C34.4549 326.158 34.5468 326.191 34.6066 326.174L44.189 326.131C44.2484 326.131 44.3135 326.12 44.3676 326.098L247.843 251.827L463.808 169.657C464.674 169.603 472.253 169.138 475.085 169.566C475.48 169.625 475.783 169.82 476.021 170.161C476.893 171.411 476.649 174.216 476.417 175.607C470.001 175.975 469.612 176.322 469.465 176.452C468.68 177.145 468.166 183.706 469.514 186.667C471.084 190.122 473.623 199.909 473.748 211.468C473.878 222.956 467.381 240.388 461.903 252.985C458.73 260.3 446.961 283.124 439.176 298.228C435.825 304.724 433.177 309.857 432.339 311.573C429.41 317.572 429.041 330.023 432.95 337.088C438.965 347.98 449.197 356.285 462.542 361.114C479.161 367.123 499.745 362.982 510.042 355.511C518.249 349.556 519.943 338.458 522.504 321.664C522.937 318.827 523.386 315.893 523.895 312.775C526.304 298.06 534.934 278.268 549.535 253.949C554.142 246.261 562.376 235.602 567.828 228.547C569.809 225.981 571.374 223.957 572.137 222.879C574.091 220.102 576.327 217.368 577.437 216.047C578.048 218.608 579.77 225.007 582.179 227.459C585.141 230.475 591.588 232.272 596.109 232.272C596.726 232.272 598.269 232.277 600.488 232.288C613.72 232.348 648.86 232.51 656.504 231.996C665.172 231.416 667.641 228.742 670.509 225.64L671.008 225.099C673.985 221.91 674.186 210.536 674.196 208.246C675.647 207.764 681.851 205.994 694.184 206.427C708.038 206.914 709.613 228.916 709.624 229.143C709.645 229.425 709.878 229.647 710.165 229.647H713.093C713.386 229.647 713.624 229.419 713.635 229.127C713.651 228.683 715.34 184.832 715.383 179.954C715.416 176.673 715.448 173.29 715.859 172.672C716.027 172.786 716.672 173.463 717.267 177.187C724.251 227.931 739.663 276.47 763.072 321.464C781.798 357.454 805.657 391.263 833.987 421.959C882.223 474.223 927.314 499.646 927.763 499.895C927.85 499.944 927.937 499.965 928.029 499.965C928.174 499.965 928.316 499.906 928.424 499.797L933.94 493.972C938.147 497.848 941.752 495.428 941.791 495.401C941.856 495.358 941.91 495.299 941.948 495.234L983.087 425.126C983.135 425.153 983.184 425.18 983.238 425.213L983.769 424.27C983.72 424.243 983.677 424.216 983.634 424.189L997.098 401.24C997.244 400.986 997.168 400.666 996.924 400.509C995.847 399.817 994.775 399.118 993.709 398.42C993.687 398.257 993.606 398.106 993.46 398.014C993.319 397.933 993.162 397.922 993.016 397.965C849.438 303.544 836.786 174.524 835.812 160.004L835.801 159.831C835.681 158.099 836.028 156.783 836.829 155.917C837.81 154.866 839.255 154.71 840.029 154.71C841.735 154.71 915.247 152.235 919.567 152.09L938.635 158.196C941.179 165.629 950.864 168.444 958.887 167.908C966.715 167.378 972.936 166.799 981.685 164.108C989.621 161.661 1001.47 158.607 1008.75 158.05C1012.49 157.763 1033.48 156.09 1053.77 154.471C1072.84 152.95 1090.85 151.515 1095.09 151.185C1100.2 150.785 1132.86 147.639 1192.17 141.836L1197.89 141.278C1201.59 140.921 1202.72 139.855 1203.07 139.188C1204.77 139.129 1211.7 138.858 1213.83 138.696C1216.23 138.512 1218.16 133.363 1218.69 131.793L1350.38 133.076L1353.45 137.629C1353.54 137.77 1353.7 137.857 1353.87 137.868C1354.25 137.889 1363.28 138.376 1365.61 138.144C1367.86 137.916 1369.86 134.256 1370.45 133.076L1568.33 133.352L1570.81 135.188C1570.9 135.258 1571.02 135.296 1571.14 135.291L1597.91 134.825C1598.18 134.82 1598.41 134.624 1598.44 134.359C1598.5 133.894 1599.99 122.958 1600.19 120.229C1600.27 119.26 1600.58 118.627 1600.99 118.216C1601.15 118.172 1601.28 118.064 1601.35 117.918C1601.88 117.566 1602.49 117.48 1602.95 117.48C1603.51 117.48 1606.54 117.36 1609.49 117.236C1612.44 117.112 1615.31 116.987 1615.55 116.976C1615.59 116.976 1615.63 116.965 1615.67 116.955H1615.68C1615.73 116.938 1615.77 116.922 1615.81 116.895C1615.82 116.884 1615.83 116.874 1615.84 116.868C1615.87 116.846 1615.9 116.825 1615.92 116.803C1615.93 116.787 1615.94 116.776 1615.95 116.76C1615.96 116.749 1615.97 116.733 1615.99 116.722C1616.78 115.45 1617.52 115.466 1617.77 115.515L1618.98 116.987C1618.98 116.992 1618.99 116.992 1619 116.998C1619.04 117.058 1619.1 117.101 1619.17 117.134C1619.18 117.134 1619.18 117.134 1619.19 117.134C1619.25 117.166 1619.33 117.182 1619.4 117.182H1619.4C1621.03 117.166 1622.83 117.145 1624.28 117.107C1625.73 117.069 1626.82 117.02 1627.02 116.955C1632.25 115.336 1632.26 101.498 1631.85 96.7829ZM1571.29 13.1515C1571.7 7.66211 1571.45 3.45567 1571.34 2.08559C1573.07 2.08033 1587.36 2.68666 1595.67 3.05466C1596.43 3.0872 1597.72 4.14289 1597.87 10.8181C1597.91 12.8376 1597.52 14.9164 1597.11 17.1249C1596.88 18.3265 1596.66 19.5502 1596.49 20.7954H1570.72C1570.85 19.0147 1571.05 16.4377 1571.29 13.1515ZM1570.3 2.85459C1570.39 4.28927 1570.51 7.0122 1570.36 10.4989C1570.11 8.25786 1569.59 5.49142 1569.47 4.87936C1569.61 4.32711 1569.91 3.47143 1570.3 2.85459ZM1563.21 5.48566C1564.31 5.16647 1566.47 5.13919 1568.47 5.35598C1568.72 6.72031 1569.54 11.3058 1569.4 12.8271C1569.03 16.6057 1567.68 21.7433 1566.09 21.7433H1566.02C1564.23 21.5864 1563.37 20.0923 1563.21 16.909C1563.11 14.7374 1563.19 7.21274 1563.21 5.48566ZM1532.49 87.3952C1532.71 87.3952 1532.9 87.2598 1532.99 87.0703C1534.45 87.3301 1538.57 88.6078 1540.06 94.7902C1541.45 100.561 1540.29 108.763 1537.48 113.083C1536.47 114.637 1535.33 115.562 1534.1 115.839L1533.81 114.393C1533.77 114.138 1533.54 113.955 1533.28 113.955C1533.28 113.955 1533.28 113.955 1533.28 113.955L1422.42 114.68C1424.29 104.459 1424.4 95.6181 1422.75 87.6924L1532.49 87.3952ZM1534.58 121.675C1535.02 121.686 1545.34 121.973 1546.94 121.973C1547 121.973 1547.06 121.989 1547.12 121.994C1547.16 122.005 1547.2 122.021 1547.25 122.021H1547.33C1548.3 122.227 1549.37 123.142 1549.84 123.694C1547.37 124.203 1536.69 125.086 1531.46 125.086C1526.24 125.086 1430.93 123.943 1420.2 123.819C1420.99 122.443 1422.29 119.607 1422.32 115.763L1532.84 115.043L1534.06 121.237C1534.11 121.485 1534.33 121.67 1534.58 121.675ZM1405.15 79.4155C1406.46 79.8758 1407.81 80.2816 1409.21 80.6228C1410.4 80.9693 1411.6 81.2727 1412.76 81.5703C1415.75 82.3283 1418.58 83.0428 1419.51 84.0985C1420.75 85.4954 1421.45 87.0545 1421.56 87.3143C1423.34 95.3051 1423.26 104.259 1421.32 114.681H1362.62C1366.84 105.045 1366.78 94.5256 1362.43 83.4113V79.4485H1405.15V79.4155ZM1356.92 96.7613C1356.56 87.1952 1352.55 84.7048 1352.06 84.4344C1352.02 84.299 1351.96 84.1531 1351.91 84.0066H1354.49C1354.79 84.0066 1355.03 83.7683 1355.03 83.4654V79.0317H1361.34V83.5142C1361.34 83.5793 1361.36 83.6496 1361.38 83.7147C1365.79 94.9051 1365.81 105.039 1361.45 114.681L1356.34 114.67C1356.56 112.531 1357.23 104.995 1356.92 96.7613ZM1356.62 115.752L1363.66 115.763V119.282C1363.66 119.607 1363.4 119.867 1363.08 119.867H1357.2C1356.88 119.867 1356.62 119.607 1356.62 119.282V115.752H1356.62ZM1360.7 41.0211C1367.77 41.1943 1369.34 43.7551 1372.47 48.8492L1372.6 49.055C1372.79 49.3742 1373.02 49.7426 1373.27 50.1647C1376.95 56.3093 1386.04 71.4409 1402.42 78.365H1362.4C1362.34 78.1267 1362.14 77.9482 1361.88 77.9482H1354.49C1354.19 77.9482 1353.95 78.1918 1353.95 78.4894V82.9232H1351.51C1349.87 78.6679 1346.62 72.2961 1341.51 70.7858C1335.03 68.8639 1318.62 68.2954 1313.89 68.1657C1316.4 59.7256 1316.44 50.5385 1314.02 40.8426C1337.14 40.8857 1357.66 40.9455 1360.7 41.0211ZM1345.1 79.2422C1342.54 73.4226 1321.97 71.5223 1315.17 71.5223C1314.47 71.5223 1313.19 71.5275 1311.48 71.5385L1312.91 69.2267C1315.55 69.286 1334.38 69.8004 1341.2 71.8199C1347.35 73.6446 1350.75 83.73 1351.56 86.4477H1345.72C1345.85 86.318 1345.96 86.1826 1346.06 86.0309C1346.89 84.7048 1346.59 82.6097 1345.1 79.2422ZM1244.69 68.5936C1244.75 68.507 1244.77 68.4093 1244.77 68.3065V66.3142C1249.72 66.2817 1284.65 66.0596 1289.36 66.3142C1293.18 66.52 1294.95 70.2771 1295.47 71.6467C1275.77 71.7931 1248.07 72.0204 1242.54 72.0688L1244.69 68.5936ZM1244.22 59.7529H1236.59C1233.48 59.7529 1230.95 57.2248 1230.95 54.1171C1230.95 51.0094 1233.48 48.487 1236.59 48.487H1244.22C1244.23 48.487 1244.23 48.487 1244.23 48.487C1244.24 48.487 1244.24 48.487 1244.24 48.487H1294.27C1297.38 48.487 1299.9 51.0099 1299.9 54.1171C1299.9 57.2243 1297.38 59.7529 1294.27 59.7529H1244.24C1244.24 59.7529 1244.24 59.7476 1244.23 59.7476C1244.23 59.7476 1244.23 59.7529 1244.22 59.7529ZM1315.17 72.6052C1322.52 72.6052 1341.92 74.7113 1344.11 79.6758C1345.41 82.6045 1345.74 84.4938 1345.14 85.4523C1344.76 86.0749 1343.89 86.3998 1342.51 86.4487C1338.97 86.5841 1241.97 85.826 1233.81 85.7667V75.6158L1240.63 75.199C1240.83 75.1827 1241 75.0635 1241.08 74.8903L1241.91 73.1579C1247.05 73.1139 1308.33 72.6052 1315.17 72.6052ZM1312.9 40.8426C1315.37 50.5385 1315.34 59.7093 1312.78 68.1064V68.139C1312.71 68.139 1312.65 68.1389 1312.62 68.1337C1312.43 68.1337 1312.25 68.2313 1312.15 68.3936L1310.35 71.2955C1310.3 71.3711 1310.29 71.4577 1310.28 71.5443C1306.86 71.5658 1302.08 71.5984 1296.62 71.6362C1296.25 70.5212 1294.35 65.5022 1289.42 65.2318C1284.62 64.9719 1249.92 65.194 1244.77 65.2318V60.8358H1294.27C1297.98 60.8358 1300.98 57.8205 1300.98 54.1175C1300.98 50.4145 1297.98 47.4045 1294.27 47.4045H1244.77V44.8926H1290.01C1293.1 44.8926 1295.65 41.5954 1296.22 40.8106C1301.78 40.8211 1307.41 40.8316 1312.9 40.8426ZM1294.84 40.8101C1293.93 41.9093 1292.05 43.8091 1290.01 43.8091H1244.57L1243.08 40.745C1247.76 40.7508 1270.53 40.7723 1294.84 40.8101ZM1239.17 37.9302L1241.76 40.5235L1242.02 41.0484C1234.61 41.0757 1232.14 38.7691 1231.42 37.7732L1239.17 37.9302ZM1230.16 37.7459C1230.39 38.3197 1232.31 42.1366 1241.94 42.1366C1242.14 42.1366 1242.34 42.1314 1242.54 42.1256L1243.69 44.4753V47.404H1236.59C1232.89 47.404 1229.87 50.4141 1229.87 54.1171C1229.87 57.8201 1232.89 60.8354 1236.59 60.8354H1243.69V65.5615C1243.66 65.6266 1243.65 65.7022 1243.65 65.7783C1243.65 65.8539 1243.66 65.9242 1243.69 65.9893V68.1548L1241.1 72.3286C1241.1 72.3339 1241.1 72.3449 1241.1 72.3502C1241.09 72.3612 1241.08 72.3717 1241.07 72.3827L1240.24 74.1366L1233.24 74.5644C1232.95 74.5807 1232.73 74.819 1232.73 75.1057V114.095L1230.66 118.242H1219.58L1220.13 108.617L1219.44 37.5291L1230.16 37.7459ZM1219.52 119.326H1230.99C1231.2 119.326 1231.38 119.207 1231.47 119.028L1233.6 114.768L1344.08 115.52L1345.47 124.047L1344.8 124.459L1219.3 123.225L1219.52 119.326ZM1026.14 26.4207L1200.78 27.9582H1200.79C1201 27.9582 1201.2 27.8286 1201.29 27.628C1201.3 27.6065 1201.37 27.4333 1201.56 27.206C1204.14 28.2506 1204.5 31.5043 1205.41 39.6793L1205.46 40.0798C1206.38 48.352 1206.05 71.1385 1205.99 74.9118H1185.91C1184.94 72.2267 1181.15 67.6465 1176.99 67.2407C1173.64 66.9105 1154.61 66.7536 1144.38 66.6722C1141.67 66.6507 1139.59 66.6344 1138.59 66.6181H1138.52C1134.07 66.6181 1130.26 72.665 1129.43 74.0782L1105.74 73.8777C1105.01 72.5569 1101.8 67.403 1095.8 66.8938C1094.33 66.8938 1091.05 66.856 1086.89 66.8071C1076.11 66.6775 1059.83 66.4879 1056.21 66.7531C1051.6 67.0943 1049.03 71.9018 1048.4 73.2441L1028.68 72.9302C1028.6 69.7201 1028.2 52.3091 1028.2 42.5539C1028.2 33.1284 1026.31 28.164 1025.75 26.881L1026.14 26.4207ZM1184.91 75.3555C1183.53 77.1907 1179.24 78.8689 1176.27 79.1288C1173.19 79.3939 1152.67 79.5404 1142.94 79.47C1135.04 79.4159 1131.28 75.61 1130.39 74.5759C1131.22 73.2005 1134.75 67.7006 1138.52 67.7006H1138.58C1139.57 67.7169 1141.66 67.7331 1144.38 67.7547C1154.58 67.836 1173.59 67.993 1176.89 68.3179C1180.61 68.6802 1184.12 73.0058 1184.91 75.3555ZM1104.78 74.3754C1103.48 76.1676 1099.93 78.5656 1097.13 78.5005C1096.21 78.4789 1093.25 78.522 1089.15 78.5818C1079.41 78.7172 1063.1 78.9445 1058.89 78.5062C1054.01 77.9975 1050.33 74.6247 1049.39 73.6825C1049.98 72.4646 1052.34 68.128 1056.29 67.8356C1059.86 67.5704 1076.12 67.7599 1086.88 67.8896C1091.04 67.9384 1094.3 67.9762 1095.76 67.971C1101.09 68.4256 1104.1 73.179 1104.78 74.3754ZM1021.25 25.4947C1023.14 25.6028 1024.42 26.859 1024.66 27.1026C1024.93 27.6874 1027.12 32.6135 1027.12 42.5534C1027.12 52.2713 1027.52 69.5789 1027.59 72.9139L1016.87 72.7407C1016.82 68.9563 1016.58 45.921 1016.46 38.7423C1016.34 32.1158 1013.91 27.563 1013.02 26.1068C1014.4 25.6895 1019.01 25.3592 1021.25 25.4947ZM1012.34 27.0916C1013.3 28.8077 1015.27 33.0036 1015.37 38.7638C1015.5 45.921 1015.74 68.8587 1015.78 72.7244L1014.46 72.7029C1014.55 68.5453 1015.01 43.3765 1014.17 38.6557C1013.45 34.6009 1011.4 33.215 1010.39 32.771C1011 30.9137 1011.83 28.4234 1012.34 27.0916ZM1004.55 33.7778L1009.66 33.6481C1010 33.7458 1012.34 34.5468 1013.1 38.8452C1013.91 43.4091 1013.46 68.6697 1013.38 72.6866L1004.55 72.5459V33.7778ZM956.645 10.7042C956.731 10.7042 956.818 10.6827 956.894 10.6392C956.937 10.6176 961.479 8.2842 968.89 10.2711C968.939 10.2821 968.982 10.2874 969.031 10.2874H972.409V11.7762C972.409 11.9226 972.469 12.0575 972.572 12.1604C972.675 12.2633 972.837 12.3174 972.956 12.3174C973.021 12.3174 975.636 12.2959 979.09 12.2796V18.5706C979.09 20.4331 978.359 22.1817 977.037 23.4972C975.727 24.7965 973.99 25.511 972.149 25.511H972.1L884.614 24.9209V21.0877C886.996 21.0987 896.334 21.1255 897.677 21.0877C898.354 21.0825 898.792 21.4505 899.323 21.8888C899.794 22.2788 900.287 22.6847 900.947 22.8091C901.391 22.8957 902.874 22.923 904.639 22.923C907.773 22.923 911.796 22.8363 912.467 22.8201H912.472C912.667 22.8148 932.033 22.0353 937.413 21.7156C942.448 21.4179 943.515 19.1008 943.72 18.4079C944.261 17.8341 946.627 15.0892 946.671 10.7961L956.645 10.7042ZM934.914 26.3446C932.727 27.4055 929.181 28.9541 926.799 29.0785C923.313 29.2628 888.827 29.1058 883.868 29.0838C883.998 27.9037 884.182 26.7719 884.447 26.0034L934.914 26.3446ZM913.698 21.6888L915.744 19.3607L942.38 18.695C941.876 19.3989 940.582 20.4436 937.35 20.6331C932.781 20.9039 918.104 21.5103 913.698 21.6888ZM918.657 11.0617L945.59 10.8071C945.573 12.1011 945.325 13.2434 944.972 14.2067L917.714 14.9485C918.294 13.7684 918.63 12.4528 918.657 11.0617ZM914.835 4.80902C916.513 6.30879 917.579 8.47944 917.579 10.8995C917.579 13.3195 916.513 15.4902 914.835 16.9899V4.80902ZM912.371 3.2982C912.859 3.4877 913.319 3.72033 913.752 3.99645V17.8068C913.319 18.0777 912.859 18.3155 912.371 18.505V3.2982ZM909.551 2.74073C910.146 2.75174 910.731 2.82735 911.288 2.95752V18.8415C910.731 18.9711 910.146 19.0525 909.551 19.0582V2.74073ZM908.468 2.79477V19.0089C907.856 18.9333 907.266 18.7922 906.698 18.5921C906.698 18.5869 906.703 18.5758 906.703 18.5706V3.29294C906.703 3.26567 906.692 3.2389 906.687 3.21163C907.255 3.01159 907.851 2.86511 908.468 2.79477ZM903.953 4.84682C904.456 4.3922 905.014 3.99162 905.62 3.67195V18.1265C905.014 17.8073 904.456 17.412 903.953 16.9516V4.84682ZM902.919 17.4771C904.592 19.1281 906.887 20.1517 909.415 20.1517C912.615 20.1517 915.436 18.517 917.098 16.0372C917.119 16.0424 917.135 16.0482 917.152 16.0482H917.168L944.513 15.3011C943.928 16.4922 943.273 17.2881 942.991 17.5967L915.479 18.2844C915.332 18.2897 915.186 18.3547 915.089 18.4686L912.203 21.7438C908.126 21.8357 901.982 21.906 901.154 21.7491C900.764 21.6735 900.417 21.3863 900.017 21.0561C899.99 21.0399 899.968 21.0183 899.946 20.9968C901.468 20.1297 902.443 18.4677 902.919 17.4771ZM902.87 6.03793V15.7663C901.852 14.402 901.246 12.7237 901.246 10.8995C901.246 9.07524 901.852 7.39652 902.87 6.03793ZM884.22 12.2365L900.266 12.1987C900.461 13.563 900.948 14.835 901.668 15.9395L884.041 15.5768L884.22 12.2365ZM877.269 4.58698C878.882 5.66993 881.859 7.75399 882.612 8.62542C882.802 9.1614 882.731 10.6827 882.612 11.6302C882.591 11.7819 882.639 11.9389 882.742 12.0523C882.845 12.1662 882.985 12.2308 883.131 12.2365L882.963 15.539L876.9 15.2251L876.575 6.1408L877.269 4.58698ZM883.495 19.063C883.202 18.8462 882.834 18.7596 882.477 18.8247C882.119 18.895 881.805 19.1061 881.61 19.4095L880.874 20.5628H875.065L875.227 9.15035L875.574 8.3761L875.839 15.7548C875.844 16.0362 876.071 16.2635 876.347 16.2798L883.445 16.6478H883.461L901.932 17.0268C901.456 18.0121 900.427 19.7282 898.911 20.2914C898.549 20.1129 898.137 19.988 897.65 20.0043C896.313 20.0421 886.611 20.0153 884.489 20.0043C884.397 19.8095 884.262 19.6306 884.078 19.4956L883.495 19.063ZM883.018 34.6603C883.311 34.6603 883.549 34.4219 883.554 34.1295C883.554 34.0917 883.587 32.2078 883.76 30.1668C884.886 30.172 887.69 30.183 891.372 30.1993C889.558 30.5893 888.2 32.2078 888.2 34.1349C888.2 36.3544 890.008 38.1628 892.227 38.1628C894.453 38.1628 896.261 36.3548 896.261 34.1349C896.261 32.213 894.907 30.6051 893.11 30.2046C899.222 30.2261 907.137 30.2476 913.801 30.2476C920.276 30.2476 925.571 30.2261 926.859 30.161C930.492 29.9715 936.312 26.8748 937.264 26.3603L972.091 26.593H972.151C974.284 26.593 976.287 25.7699 977.803 24.2648C979.329 22.7435 980.174 20.7241 980.174 18.5696V12.2734C984.998 12.2571 990.996 12.2624 994.038 12.36C999.246 12.5332 1001.69 14.1789 1001.94 17.7087C1002.22 21.4332 1002.45 30.2629 1002.45 30.3553C1002.45 30.4093 1002.46 30.4634 1002.48 30.5175L1003.46 33.3381V72.5282L945.624 71.6022H945.57C944.628 71.6022 943.745 71.965 943.074 72.6254C942.674 73.0206 942.381 73.4968 942.202 74.0165C941.807 73.7566 941.341 73.6159 940.854 73.6159H928.684C928.202 73.6159 927.818 73.2369 927.807 72.755L927.628 63.297C927.58 61.0014 925.69 59.1557 923.401 59.1557H923.346L900.414 59.4911C900.154 58.4029 899.169 57.5908 898.01 57.5908C896.824 57.5908 895.834 58.4302 895.595 59.5615L890.193 59.6371C889.998 59.6481 889.852 59.572 889.727 59.4529C889.603 59.3285 889.538 59.1605 889.538 58.9872C889.543 57.9966 889.532 56.6213 889.5 54.8889C889.451 52.155 889.24 49.3612 888.395 46.79C888.449 46.7087 888.487 46.6168 888.487 46.5086C888.487 46.2761 888.33 46.0808 888.113 46.0052C887.577 44.6303 886.847 43.3306 885.818 42.1452C883.75 39.7687 882.218 36.1739 881.628 34.6689C882.439 34.6656 882.915 34.6603 883.018 34.6603ZM892.227 31.1846C893.851 31.1846 895.178 32.5111 895.178 34.1353C895.178 35.7595 893.851 37.0803 892.227 37.0803C890.603 37.0803 889.282 35.7595 889.282 34.1353C889.282 32.5107 890.603 31.1846 892.227 31.1846ZM928.818 141.473L927.828 74.4998C928.087 74.6242 928.375 74.7003 928.683 74.7003H940.853C941.232 74.7003 941.59 74.8463 941.855 75.1171C942.12 75.388 942.266 75.745 942.266 76.124L941.849 147.628C941.849 147.639 941.844 147.645 941.844 147.65L941.313 150.844C941.248 151.218 941.026 151.532 940.696 151.716C940.371 151.894 939.982 151.916 939.635 151.77L930.237 147.834C929.387 147.471 928.834 146.643 928.834 145.718V141.544C928.834 141.516 928.824 141.495 928.818 141.473ZM872.05 86.0797H884.659L748.509 87.1139V84.1473L852.322 84.6077C852.328 84.6077 852.328 84.6077 852.328 84.6077C852.609 84.6077 852.847 84.3856 852.869 84.1042C852.874 84.0392 853.594 77.8784 871.508 78.869V85.5384C871.508 85.8413 871.747 86.0797 872.05 86.0797ZM872.591 84.9972V66.6607H886.304C886.71 66.6607 887.095 66.823 887.382 67.1153C887.669 67.4077 887.82 67.7973 887.815 68.2088L887.452 83.4377C887.43 84.2986 886.71 84.9967 885.85 84.9967L872.591 84.9972ZM888.535 83.4596L888.897 68.2361C888.914 67.5321 888.648 66.8665 888.156 66.3573C887.663 65.8539 887.008 65.5778 886.304 65.5778H872.591V61.9561C872.591 60.8464 871.795 59.8826 870.696 59.6715C870.247 59.5849 869.673 59.4931 868.996 59.428C869.024 59.3686 869.04 59.2983 869.04 59.2222L869.37 47.1279L870.583 47.1226V57.387C870.583 57.6899 870.826 57.9282 871.124 57.9282H887.3C887.441 57.9282 887.582 57.8741 887.685 57.766C887.787 57.6631 887.842 57.5224 887.842 57.3759L887.641 48.0754C888.215 50.2624 888.372 52.6068 888.415 54.9129C888.448 56.6347 888.458 58.0043 888.453 58.9786C888.448 59.4495 888.632 59.8936 888.962 60.2238C889.297 60.554 889.736 60.7167 890.212 60.722L898.533 60.6028L899.952 60.5812C899.957 60.5812 899.957 60.5812 899.957 60.5812L923.355 60.24C924.876 60.2185 926.187 61.312 926.478 62.7682L892.795 62.7467C892.789 62.7467 892.789 62.7467 892.789 62.7467C892.102 62.7467 891.452 63.0118 890.965 63.4994C890.478 63.9866 890.212 64.6365 890.212 65.3237V85.0513C890.212 85.5983 889.768 86.0419 889.222 86.0476L885.946 86.0749C887.349 86.0204 888.502 84.8723 888.535 83.4596ZM871.665 56.8458V47.1173L886.537 47.0633L886.742 56.8458H871.665ZM896.72 59.5418C896.926 59.0384 897.429 58.6757 898.009 58.6757C898.577 58.6757 899.07 59.0169 899.287 59.5093L898.252 59.5203L896.72 59.5418ZM498.199 43.5225L498.952 42.8999C504.23 38.5202 506.634 36.5223 514.375 36.4577C517.412 36.4362 528.343 36.4467 542.18 36.463C565.167 36.4903 596.648 36.5223 605.678 36.3926C618.996 36.1978 853.302 34.8335 880.469 34.6766C880.929 35.9217 882.591 40.0904 885 42.8621C885.828 43.8149 886.451 44.8653 886.927 45.9803L869.1 46.0454C869.029 46.0076 868.948 45.975 868.861 45.975C868.759 45.9698 868.667 46.0023 868.585 46.0454L753.019 46.4785C749.603 46.4948 746.495 47.8534 744.205 50.0571L488.726 51.5243C491.719 48.9631 494.821 46.3158 498.199 43.5225ZM741.947 55.5407C743.517 50.928 747.886 47.5825 753.023 47.5609L868.287 47.1279L867.973 58.6537L741.947 55.5407ZM863.534 59.6285C862.906 59.7314 862.257 59.8668 861.585 60.0453C856.421 61.4206 853.93 63.9541 853.27 64.7226L741.325 63.7105V59.3093C741.325 58.3838 741.433 57.485 741.639 56.6189L863.534 59.6285ZM478.645 60.0616C481.406 57.788 484.34 55.2756 487.453 52.612L743.187 51.1448C742.061 52.5039 741.211 54.0955 740.724 55.8384C740.724 55.8436 740.724 55.8436 740.719 55.8436C740.41 56.9481 740.242 58.1067 740.242 59.3084V62.5404L473.486 64.4838C475.559 62.6653 477.383 61.101 478.645 60.0616ZM455.295 88.0178C455.295 88.0178 455.295 88.0178 455.295 88.0125C455.295 87.9637 455.614 82.9074 455.836 81.3105C456.231 80.1031 465.24 71.7716 472.245 65.5782L740.241 63.6239V64.2465C740.241 66.5473 738.368 68.4419 736.068 68.4639L617.317 69.8172C616.418 69.8282 615.557 70.1637 614.897 70.7753L595.998 88.0829C595.635 88.4131 595.164 88.5973 594.671 88.6026L455.294 90.0157L455.295 88.0178ZM453.086 87.9527C453.487 88.0719 453.871 88.2073 454.212 88.3428V90.5622C454.212 90.7082 454.267 90.8436 454.369 90.9465C454.472 91.0494 454.608 91.1035 454.754 91.1035C454.754 91.1035 454.754 91.1035 454.759 91.1035L460.806 91.0441C460.205 92.5219 459.263 94.0106 458.695 94.0269C457.26 94.081 454.97 93.8752 453.622 93.4531C453.168 93.3124 452.864 90.936 453.086 87.9527ZM449.551 87.8608C450.055 87.4765 451.019 87.4929 452.025 87.6876C451.836 89.8856 451.712 93.9949 453.303 94.4873C454.662 94.9151 456.757 95.1209 458.257 95.1209C458.425 95.1209 458.582 95.1156 458.733 95.1099C460.395 95.0558 461.695 91.7696 461.938 91.1092C461.949 91.082 461.949 91.0551 461.954 91.0336L594.683 89.6855C595.441 89.6803 596.166 89.3932 596.729 88.8787L615.628 71.5711C616.094 71.1433 616.7 70.9054 617.334 70.8997L736.084 69.5463C738.786 69.5191 741.021 67.4297 741.292 64.7929L853.519 65.8108C853.524 65.8108 853.524 65.8108 853.524 65.8108C853.698 65.8108 853.86 65.7294 853.963 65.5888C853.984 65.5615 856.247 62.584 861.867 61.0899C865.705 60.0721 868.921 60.4296 870.491 60.7325C871.081 60.8464 871.509 61.3603 871.509 61.9561V77.7807C860.454 77.1744 855.614 79.2695 853.503 81.1483C852.463 82.0795 852.052 82.9782 851.889 83.5247L748.509 83.0644V72.41C748.509 72.1123 748.271 71.8688 747.968 71.8688H720.601C720.59 71.8688 720.579 71.874 720.568 71.874C720.152 71.6194 719.67 71.484 719.161 71.4787L693.495 71.8362C692.06 71.8577 690.896 73.0436 690.896 74.4725V75.9828C690.896 77.4338 692.076 78.6191 693.532 78.6191H708.718L712.751 93.3172L695.303 98.1463C695.016 98.2276 694.843 98.52 694.924 98.8066L696.256 103.82C690.902 105.076 678.385 108.005 663.118 111.556L659.67 108.227C659.009 107.583 658.078 107.323 657.18 107.529C648.935 109.418 576.336 126.027 567.09 127.532C563.019 128.193 558.254 127.007 554.958 124.506C552.007 122.27 550.22 119.065 549.787 115.243C549.24 110.371 551.357 106.711 553.23 104.502C556.576 100.55 561.264 98.5851 564.21 98.4281C569.683 98.1357 592.258 97.8491 596.73 97.7945C597.336 97.7835 597.91 97.5457 598.343 97.1178L616.934 78.6139C617.161 78.3813 617.508 78.2564 617.805 78.2564L687.556 78.7383C688.411 78.7435 689.223 78.4133 689.835 77.807C690.441 77.2007 690.783 76.3939 690.783 75.5334V72.6373C690.783 72.4966 690.723 72.3559 690.62 72.253C690.518 72.1554 690.388 72.1123 690.236 72.096L617.178 72.5507C616.458 72.556 615.781 72.8431 615.278 73.3518L596.005 92.8468C595.896 92.955 595.75 93.0091 595.609 93.0091C592.014 92.955 573.602 92.7329 564.226 93.5723C557.8 94.1461 551.119 97.9845 547.194 103.355C544.168 107.507 543.102 112.093 544.114 116.618C545.841 124.311 553.274 134.597 564.22 134.597C565.162 134.597 566.131 134.522 567.122 134.359C578.984 132.442 698.097 104.502 699.304 104.22L728.609 97.215C728.815 97.1662 728.972 97.004 729.009 96.7929C729.297 95.3582 730.498 91.6012 732.572 91.471C734.873 91.3251 743.107 91.0652 746.544 90.9623C747.649 90.9298 748.51 90.0363 748.51 88.9266V88.1958L889.235 87.1292C890.371 87.1181 891.297 86.1869 891.297 85.0504V65.3227C891.297 64.9274 891.454 64.5484 891.736 64.267C892.017 63.9856 892.391 63.8287 892.791 63.8287L926.557 63.8502L926.708 71.9927V71.998L927.748 142.43C927.78 144.39 926.264 145.993 924.304 146.074L715.318 154.779C713.808 154.844 712.509 155.857 712.086 157.308L710.939 161.184C710.565 162.461 709.417 163.349 708.085 163.398L668.738 164.882L666.671 162.375C667.255 159.11 664.819 157.427 663.401 156.988C663.341 156.972 663.276 156.967 663.211 156.967C662.35 157.01 576.77 161.206 575.146 161.206C573.538 161.206 468.355 163.572 459.227 163.778L448.194 88.7596C448.663 88.4782 449.134 88.1748 449.551 87.8608ZM725.733 90.5407C723.654 91.0168 715.853 92.6358 713.801 93.0636L709.838 78.6196H719.199C720.65 78.6196 721.835 77.4338 721.835 75.9833V74.1155C721.835 73.704 721.727 73.3087 721.554 72.9517H747.426V88.9275C747.426 89.4472 747.025 89.864 746.506 89.8803C743.068 89.9832 734.823 90.2431 732.5 90.389C731.066 90.4809 730.032 91.6016 729.317 92.8631C728.748 91.6777 727.627 90.1129 725.733 90.5407ZM728.684 94.1896C728.342 95.0395 728.126 95.8138 728.023 96.2416L699.054 103.166C698.973 103.187 698.367 103.328 697.311 103.577L696.104 99.0512L713.541 94.2221C713.899 94.1465 723.611 92.1381 725.971 91.5964C727.606 91.2226 728.478 93.5455 728.684 94.1896ZM693.532 77.5371C692.677 77.5371 691.978 76.839 691.978 75.9833V74.473C691.978 73.6284 692.666 72.9354 693.51 72.9191L719.177 72.5617C719.577 72.5454 719.989 72.7134 720.286 73.011C720.584 73.3034 720.752 73.6987 720.752 74.1155V75.9833C720.752 76.8385 720.054 77.5371 719.198 77.5371H693.532ZM548.714 115.363C549.175 119.488 551.107 122.947 554.302 125.373C557.88 128.079 562.845 129.319 567.262 128.599C576.541 127.089 649.172 110.474 657.422 108.584C657.958 108.46 658.521 108.617 658.916 109.001L661.861 111.849C625.481 120.311 574.478 132.075 566.948 133.293C555.102 135.209 546.949 124.333 545.168 116.386C543.977 111.058 546.088 106.706 548.07 103.994C551.757 98.9426 558.285 95.1855 564.317 94.6495C570.028 94.1408 579.129 94.0269 586.15 94.0269C590.59 94.0269 594.2 94.07 595.592 94.092C596.025 94.0867 596.463 93.924 596.772 93.6048L616.045 74.1155C616.349 73.8068 616.754 73.6394 617.182 73.6336L689.699 73.1843V75.5339C689.699 76.1024 689.472 76.6384 689.071 77.039C688.666 77.4395 688.13 77.6668 687.561 77.6563L617.816 77.1744C617.22 77.1797 616.603 77.4127 616.165 77.8458L597.574 96.3498C597.347 96.5771 597.038 96.7073 596.719 96.7125C592.242 96.7666 569.65 97.059 564.15 97.3461C560.88 97.5194 555.975 99.5819 552.402 103.805C550.393 106.176 548.119 110.106 548.714 115.363ZM814.589 151.732C824.874 241.892 876.559 338.04 940.404 385.703C941.963 386.867 942.282 389.076 941.124 390.629C940.447 391.528 939.419 392.043 938.298 392.043C937.854 392.043 937.427 391.951 937.02 391.793C934.86 390.093 932.847 388.54 930.881 387.121L930.827 387.192C901.154 363.566 873.144 328.918 851.451 288.873C827.88 245.368 812.705 198.063 807.54 152.024L814.589 151.732ZM726.88 155.386C727.454 162.938 728.212 170.437 729.132 177.869L725.954 174.583C725.056 167.67 723.767 157.665 723.529 155.521L726.88 155.386ZM714.44 165.163C712.918 164.99 712.009 164.481 711.668 164.248C711.63 163.826 711.554 163.301 711.424 162.657C711.663 162.305 711.852 161.915 711.977 161.493L713.119 157.611C713.281 157.064 713.633 156.61 714.083 156.296L714.44 165.163ZM584.023 190.716C583.893 184.804 583.238 169.446 583.168 167.768C583.91 166.398 585.03 164.991 585.583 165.006C586.433 165.039 586.839 165.699 587.748 167.34L587.986 167.773C588.81 169.24 590.872 171.865 595.43 172.965C598.408 173.679 600.308 174.795 600.92 175.19C600.963 176.787 601.369 184.658 604.969 192.541C609.019 201.409 621.86 210.958 629.141 212.269C636.201 213.541 640.37 210.574 640.543 210.45C640.711 210.325 640.792 210.125 640.76 209.919C640.727 209.719 640.581 209.551 640.386 209.491C623.923 204.419 615.764 196.249 613.924 183.007C612.213 170.718 620.869 164.584 621.979 163.853L665.847 163.074L667.953 165.629C668.012 168.888 668.765 212.474 668.505 219.599C668.229 227.064 658.582 227.752 655.631 227.784C652.036 227.822 603.421 228.163 595.273 228.093C587.099 228.022 583.829 222.495 583.591 219.978C583.439 218.375 583.612 211.884 583.775 205.61C583.931 199.758 584.088 193.71 584.023 190.716ZM443.905 89.3281C444.419 89.6855 444.733 90.01 444.765 90.0483C444.922 90.2215 445.166 90.2756 445.377 90.1837C445.436 90.1622 446.222 89.821 447.18 89.3176L458.224 164.406C458.229 164.427 458.24 164.444 458.245 164.465C458.256 164.509 458.272 164.552 458.294 164.59C458.299 164.601 458.299 164.617 458.31 164.627L459.712 166.734L458.706 166.95L456.968 164.655C456.416 161.666 446.606 108.346 444.917 99.5383C443.731 93.356 443.775 90.4756 443.905 89.3281ZM34.7181 325.091C31.7081 323.673 29.7862 318.627 27.6696 306.603C25.6123 294.975 19.8415 260.473 17.8599 248.005C15.7595 234.845 11.1038 208.799 8.1693 196.136C4.975 182.326 2.73396 170.54 1.68355 162.051C0.969078 156.226 0.887728 151.008 1.45098 146.546L1.45624 146.471C1.5864 145.431 3.41589 143.84 6.18237 143.299C5.7981 144.841 5.21331 148.593 5.67894 156.254C6.3178 166.773 12.1752 192.12 12.2298 192.353C12.3327 192.878 22.4889 244.796 25.2175 262.368C27.7892 278.886 32.3637 307.714 34.1664 315.212C35.4225 320.441 37.7775 323.614 39.0983 325.07L34.7181 325.091ZM577.234 214.613C576.736 215.192 573.769 218.678 571.246 222.252C570.499 223.313 568.94 225.327 566.97 227.882C561.502 234.958 553.241 245.65 548.601 253.391C533.929 277.829 525.257 297.746 522.82 312.601C522.312 315.72 521.862 318.659 521.429 321.501C518.912 338.024 517.244 348.944 509.4 354.634C500.895 360.811 480.848 366.582 462.907 360.096C449.811 355.359 439.779 347.222 433.894 336.568C430.202 329.887 430.554 317.695 433.309 312.049C434.143 310.338 436.785 305.212 440.131 298.721C447.927 283.605 459.707 260.765 462.896 253.418C468.412 240.723 474.963 223.134 474.827 211.457C474.698 199.73 472.104 189.753 470.496 186.223C469.262 183.506 469.874 178.216 470.204 177.28C470.919 177.085 474.048 176.819 476.857 176.662C478.481 176.792 559.671 183.137 569.714 184.767C573.265 185.34 576.091 187.062 578.105 189.872C580.568 193.299 581.207 197.635 580.877 199.622C580.363 202.703 577.559 213.384 577.234 214.613ZM673.447 207.369C673.241 207.451 673.111 207.651 673.111 207.873C673.111 208.002 673.165 221.196 670.215 224.363L669.712 224.91C666.891 227.958 664.666 230.367 656.426 230.914C648.826 231.428 613.706 231.266 600.491 231.206C598.272 231.195 596.723 231.19 596.106 231.19C591.9 231.19 585.674 229.474 582.946 226.702C580.369 224.082 578.523 215.999 578.279 214.889C578.62 213.595 581.414 202.973 581.944 199.801C582.28 197.782 581.776 193.126 578.988 189.244C576.796 186.186 573.732 184.323 569.888 183.695C560.208 182.131 484.973 176.214 477.508 175.629C477.713 174.313 478.049 171.179 476.912 169.544C476.495 168.948 475.938 168.596 475.245 168.493C472.137 168.027 464.001 168.558 463.654 168.58C463.605 168.585 463.551 168.596 463.502 168.618L247.462 250.809L44.0842 325.047L40.6138 325.064C39.9262 324.436 36.7266 321.22 35.2163 314.956C33.4241 307.496 28.855 278.701 26.289 262.199C23.5551 244.605 13.3936 192.665 13.2907 192.124C13.2314 191.875 7.39501 166.614 6.75615 156.187C6.13356 145.95 7.43281 142.88 7.44908 142.853V142.832C7.46009 142.815 7.47062 142.799 7.47637 142.783C7.57399 142.582 9.24651 139.848 27.361 136.871C47.0235 133.639 121.138 122.714 137.509 120.629C146.203 119.525 166.386 116.655 185.907 113.878C203.242 111.415 219.613 109.087 227.49 108.053C246.936 105.503 270.637 102.829 278.839 102.943H278.856C284.941 102.943 291.399 104.405 298.231 105.948C306.688 107.864 315.431 109.84 324.483 109.304L324.932 109.277C340.794 108.335 353.327 107.588 372.816 102.921C386.351 99.6891 396.539 98.13 405.532 96.7493C409.7 96.1105 413.642 95.5095 417.713 94.784C431.371 92.3372 435.578 90.5938 439.005 88.883C440.515 88.125 441.868 88.3308 442.886 88.7639C442.691 89.8248 442.507 92.7319 443.855 99.7374C445.582 108.757 455.819 164.415 455.922 164.978C455.939 165.06 455.971 165.14 456.025 165.206L458.05 167.88C458.153 168.016 458.315 168.091 458.483 168.091C458.521 168.091 458.559 168.091 458.597 168.08L460.719 167.62C460.893 167.582 461.038 167.458 461.104 167.295C461.174 167.127 461.152 166.937 461.055 166.791L459.755 164.842C470.956 164.593 573.59 162.287 575.144 162.287C576.784 162.287 658.375 158.286 663.16 158.053C663.653 158.232 666.013 159.25 665.634 161.994L621.804 162.769C621.713 162.774 621.62 162.801 621.539 162.844C621.431 162.909 610.934 169.363 612.85 183.151C614.707 196.539 622.752 204.903 638.869 210.149C637.288 210.902 633.959 212.039 629.33 211.205C622.362 209.949 609.776 200.453 605.953 192.089C602.045 183.53 601.996 174.981 601.996 174.9C601.996 174.727 601.915 174.565 601.774 174.467C601.687 174.397 599.571 172.843 595.683 171.907C591.526 170.905 589.669 168.555 588.933 167.24L588.689 166.807C587.741 165.101 587.114 163.975 585.62 163.921C584.115 163.856 582.572 166.563 582.139 167.391C582.096 167.472 582.073 167.57 582.079 167.667C582.085 167.835 582.805 184.525 582.94 190.735C583.005 193.702 582.848 199.738 582.697 205.58C582.518 212.179 582.355 218.41 582.512 220.078C582.854 223.705 587.147 229.103 595.262 229.173C596.015 229.178 597.102 229.184 598.472 229.184C611.979 229.184 652.376 228.897 655.641 228.865C658.835 228.827 669.273 228.064 669.587 219.635C669.668 217.388 669.652 211.552 669.587 204.498C670.788 205.093 673.458 205.856 679.223 205.856C679.608 205.856 680.014 205.851 680.425 205.845C675.748 206.443 673.593 207.304 673.447 207.369ZM669.571 203.222C669.43 188.529 669.1 169.359 669.04 165.954L708.127 164.481C709.01 164.449 709.833 164.14 710.498 163.632C710.677 164.785 710.59 165.337 710.487 165.943C710.455 166.149 710.417 166.365 710.384 166.615C710.298 167.378 710.504 174.687 710.801 184.929C710.92 188.973 711.029 192.671 711.072 194.75C711.191 200.039 703.715 203.027 686.829 204.424C672.992 205.572 669.966 203.552 669.571 203.222ZM714.299 179.943C714.261 184.518 712.761 223.572 712.572 228.564H710.661C710.326 225.165 707.813 205.821 694.22 205.345C692.482 205.285 690.868 205.269 689.369 205.279C705.431 203.715 712.285 200.516 712.155 194.723C712.112 192.644 712.004 188.946 711.885 184.897C711.668 177.55 711.376 167.48 711.463 166.739C711.49 166.517 711.522 166.317 711.554 166.122C711.592 165.916 711.625 165.71 711.652 165.488C712.275 165.802 713.233 166.154 714.559 166.268L715.68 171.584C714.44 171.747 714.359 173.739 714.299 179.943ZM716.93 172.277L715.544 165.689L715.149 155.89C715.219 155.879 715.289 155.869 715.36 155.863L722.446 155.57C722.722 158.072 724.341 170.577 724.834 174.362C722.349 174.67 718.905 175.082 717.985 175.174C717.683 173.809 717.336 172.856 716.93 172.277ZM927.93 498.742C923.545 496.219 880.576 470.85 834.754 421.196C790.351 373.078 734.113 291.661 718.337 177.025C718.294 176.749 718.245 176.489 718.202 176.235C719.599 176.094 723.81 175.579 725.24 175.401L729.354 179.651C732.711 205.843 738.206 231.184 745.78 255.259C755.698 286.8 769.454 317.051 786.659 345.17C820.852 401.067 870.122 450.9 933.095 493.295L927.93 498.742ZM934.308 492.824C934.281 492.798 934.248 492.781 934.221 492.765L934.226 492.754C807.956 407.932 738.563 294.411 727.963 155.338L806.457 152.068C811.627 198.269 826.85 245.742 850.497 289.393C873.57 331.982 903.774 368.498 935.547 392.21C935.828 392.422 936.137 392.584 936.451 392.725C937.609 393.64 938.811 394.593 940.073 395.594C941.995 397.121 944.003 398.724 946.136 400.385L902.203 460.067C901.05 461.631 901.386 463.835 902.95 464.987C903.557 465.437 904.276 465.67 905.034 465.67C906.149 465.67 907.211 465.134 907.871 464.24L951.722 404.668C954.462 406.72 957.396 408.858 960.59 411.072L920.361 470.97C919.836 471.755 919.646 472.691 919.83 473.612C920.009 474.532 920.539 475.333 921.319 475.853C921.904 476.248 922.58 476.454 923.279 476.454C924.453 476.454 925.547 475.869 926.202 474.895L966.426 415.008C970.01 417.358 973.891 419.778 978.125 422.273L935 493.464C934.773 493.269 934.541 493.063 934.308 492.824ZM950.863 404.018L907.001 463.596C906.54 464.218 905.804 464.586 905.036 464.586C904.511 464.586 904.013 464.424 903.59 464.116C902.513 463.32 902.28 461.787 903.076 460.71L946.992 401.051C948.238 402.02 949.526 403.005 950.863 404.018ZM947.637 400.179L957.073 387.359C957.457 386.835 958.025 386.493 958.669 386.39C958.794 386.374 958.918 386.363 959.043 386.363C959.558 386.363 960.055 386.525 960.478 386.84C961.003 387.224 961.344 387.793 961.447 388.437C961.544 389.081 961.382 389.72 960.998 390.245L951.502 403.146C950.17 402.134 948.882 401.143 947.637 400.179ZM965.523 414.406L925.305 474.293C924.85 474.965 924.092 475.371 923.28 475.371C922.798 475.371 922.327 475.225 921.927 474.954C921.385 474.591 921.017 474.044 920.892 473.406C920.768 472.767 920.898 472.117 921.26 471.576L961.484 411.684C962.79 412.582 964.132 413.491 965.523 414.406ZM962.086 410.785L971.018 397.489C971.489 396.791 972.258 396.412 973.043 396.412C973.514 396.412 973.985 396.547 974.402 396.823C974.938 397.186 975.306 397.738 975.431 398.377C975.56 399.016 975.425 399.665 975.063 400.207L966.13 413.509C964.738 412.588 963.39 411.684 962.086 410.785ZM941.08 494.568C940.621 494.839 938.547 495.84 935.878 494.108L979.063 422.819C980.07 423.404 981.093 423.994 982.143 424.59L941.08 494.568ZM993.247 399.411C994.124 399.985 995.012 400.564 995.9 401.138L982.69 423.659C981.645 423.064 980.628 422.479 979.626 421.894L993.247 399.411ZM919.81 151.029C919.75 151.007 919.686 151.001 919.626 151.001C918.846 151.029 841.727 153.627 840.028 153.627C839.08 153.627 837.299 153.828 836.037 155.181C835.02 156.269 834.576 157.861 834.717 159.907L834.728 160.075C835.708 174.649 848.392 304.113 992.338 398.815L978.689 421.347C974.472 418.862 970.602 416.448 967.033 414.109L975.961 400.808C976.486 400.028 976.675 399.092 976.497 398.166C976.312 397.245 975.782 396.449 975.003 395.924C973.395 394.841 971.202 395.274 970.12 396.882L961.198 410.173C958.02 407.97 955.091 405.842 952.368 403.796L961.869 390.889C963.022 389.325 962.686 387.116 961.122 385.968C960.364 385.411 959.438 385.184 958.507 385.324C957.576 385.465 956.759 385.958 956.201 386.715L946.781 399.514C944.659 397.857 942.656 396.265 940.745 394.744C940.036 394.181 939.354 393.639 938.677 393.103C939.992 392.995 941.183 392.351 941.99 391.279C943.511 389.249 943.089 386.358 941.053 384.837C877.447 337.353 825.946 241.551 815.671 151.683L924.346 147.157C925.727 147.103 926.934 146.464 927.751 145.484V145.717C927.751 147.081 928.564 148.305 929.82 148.83L939.218 152.771C939.505 152.89 939.808 152.949 940.111 152.949C940.49 152.949 940.875 152.852 941.221 152.662C941.454 152.533 941.654 152.354 941.822 152.159L941.817 153.182L938.861 157.129L919.81 151.029ZM1202.25 138.322C1202.2 138.382 1202.17 138.458 1202.15 138.544C1202.15 138.555 1202.15 138.571 1202.15 138.582C1202.15 138.587 1202.14 138.587 1202.14 138.593C1202.14 138.609 1201.83 139.806 1197.78 140.201L1192.06 140.758C1132.76 146.562 1100.11 149.707 1095 150.103C1090.77 150.433 1072.75 151.873 1053.68 153.389C1033.39 155.008 1012.41 156.68 1008.66 156.967C1001.3 157.536 989.354 160.611 981.364 163.074C972.729 165.732 966.568 166.306 958.811 166.826C951.204 167.34 942.033 164.742 939.668 157.855L942.792 153.687C942.862 153.595 942.9 153.481 942.9 153.368L943.349 76.1298C943.349 75.7507 943.263 75.3937 943.106 75.0578C943.132 74.4299 943.382 73.8452 943.836 73.3958C944.313 72.9302 944.93 72.6756 945.607 72.6866L1013.9 73.7801C1013.9 73.7801 1013.91 73.7801 1013.91 73.7801L1048.51 74.327C1049.35 75.2095 1053.29 79.0101 1058.78 79.5839C1063.05 80.028 1078.76 79.8112 1089.16 79.6652C1093.1 79.6112 1096.21 79.5676 1097.11 79.5839C1100.35 79.6542 1104.27 76.9365 1105.7 74.9554L1129.47 75.1612C1130.32 76.2278 1134.26 80.4883 1142.94 80.5534C1152.91 80.6237 1173.2 80.4831 1176.37 80.2069C1179.62 79.9255 1184.21 78.0903 1185.8 75.9948H1205.99C1206.07 80.1744 1206.54 107.687 1206.37 115.201C1206.18 123.716 1204.59 134.663 1202.25 138.322ZM1218.19 123.537C1218.17 123.608 1218.14 123.678 1218.14 123.754C1218.14 123.803 1218.16 123.852 1218.17 123.895L1217.76 131.144C1216.97 133.613 1215.2 137.505 1213.74 137.613C1211.85 137.759 1205.95 137.998 1203.62 138.084C1205.81 133.661 1207.27 123.332 1207.46 115.222C1207.64 107.14 1207.07 76.0158 1207.06 75.4531C1207.07 74.9281 1207.53 48.9688 1206.53 39.9607L1206.49 39.5601C1205.58 31.3693 1205.18 27.8396 1202.45 26.4264C1203.04 26.0637 1203.89 25.755 1205.11 25.7224C1208.11 25.6411 1213.11 25.5057 1214.36 26.7672C1215.33 27.731 1217.27 33.4261 1218.35 37.0588L1219.04 108.591L1218.19 123.537ZM1218.87 130.71L1219.23 124.306L1344.95 125.546C1344.95 125.546 1344.95 125.546 1344.96 125.546C1345.05 125.546 1345.16 125.513 1345.24 125.465L1345.86 125.069L1349.74 131.983L1218.87 130.71ZM1351.13 132.254L1346.58 124.133L1345.07 114.897C1345.03 114.632 1344.81 114.443 1344.54 114.443L1233.81 113.685V86.8487C1242.11 86.9138 1323.86 87.5469 1339.93 87.5469C1341.34 87.5469 1342.24 87.5417 1342.55 87.5307H1352.28C1352.45 87.5307 1352.6 87.455 1352.71 87.3249C1352.81 87.1894 1352.84 87.0214 1352.81 86.8592C1352.79 86.8051 1352.75 86.6319 1352.67 86.3668C1353.87 87.7254 1355.61 90.7192 1355.84 96.8044C1356.2 106.414 1355.21 115.065 1355.2 115.151C1355.18 115.303 1355.23 115.455 1355.33 115.573C1355.39 115.639 1355.46 115.682 1355.54 115.709V115.893H1350.28C1349.97 115.893 1349.74 116.137 1349.74 116.434V126.526C1349.74 126.585 1349.75 126.65 1349.77 126.71L1352.51 134.305L1351.13 132.254ZM1369.65 132.248C1369.64 132.259 1369.64 132.264 1369.64 132.275C1369.63 132.286 1369.62 132.297 1369.62 132.308C1369.03 133.575 1367.13 136.904 1365.5 137.066C1363.61 137.256 1356.73 136.931 1354.57 136.818L1350.82 126.429V116.977H1355.54V119.283C1355.54 120.203 1356.29 120.95 1357.2 120.95H1363.08C1364 120.95 1364.74 120.203 1364.74 119.283V115.764H1421.23C1421.2 120.013 1419.53 122.905 1418.93 123.804H1375.18C1374.99 123.804 1374.82 123.901 1374.72 124.063L1369.65 132.248ZM1371.08 131.994L1375.48 124.886H1419.21C1420.28 124.902 1525.95 126.169 1531.46 126.169C1534.78 126.169 1550.22 125.308 1551.03 124.35C1551.13 124.23 1551.19 124.036 1551.16 123.879C1551.09 123.424 1550.46 122.661 1549.62 122.022H1555.06L1567.24 132.27L1371.08 131.994ZM1600.31 117.377C1599.67 117.972 1599.21 118.871 1599.11 120.148C1598.93 122.531 1597.72 131.599 1597.43 133.753L1571.3 134.208L1569.32 132.74C1569.29 132.638 1569.24 132.54 1569.16 132.47L1555.61 121.063C1555.51 120.982 1555.39 120.938 1555.26 120.938H1547.4C1547.24 120.911 1547.09 120.89 1546.94 120.89C1546.16 120.89 1543.15 120.819 1540.3 120.744V115.698C1540.3 114.81 1541.01 114.095 1541.9 114.095H1598.29C1599.41 114.095 1600.31 114.999 1600.31 116.109L1600.31 117.377ZM1602.51 116.424C1602.14 116.456 1601.76 116.543 1601.39 116.689V116.11C1601.39 114.404 1600 113.013 1598.29 113.013H1541.9C1540.42 113.013 1539.22 114.215 1539.22 115.698V120.717C1537.4 120.668 1535.78 120.625 1535.04 120.603L1534.31 116.9C1535.83 116.565 1537.21 115.487 1538.39 113.674C1541.34 109.142 1542.57 100.556 1541.11 94.5361C1539.44 87.6172 1534.64 86.2477 1533.03 85.9826V83.0539C1534.91 79.616 1561.51 30.9195 1562.39 28.8785C1563.2 26.9945 1562.98 24.8994 1562.63 21.7213C1562.57 21.1475 1562.5 20.5412 1562.44 19.8971C1562.4 19.5994 1562.38 19.2798 1562.35 18.9496C1562.71 20.8284 1563.6 22.6148 1565.93 22.8205C1565.98 22.8258 1566.03 22.8258 1566.08 22.8258C1568.24 22.8258 1569.41 18.9874 1569.99 16.0912C1569.67 20.3412 1569.47 22.9071 1569.42 23.4594L1539.74 78.7445C1539.7 78.8096 1539.68 78.8852 1539.68 78.9613L1539.63 79.7083C1539.4 79.9356 1534.08 85.1925 1534.08 85.1925C1533.92 85.3442 1533.87 85.5767 1533.95 85.7825C1534.04 85.983 1534.23 86.118 1534.46 86.118H1539.22C1539.23 86.2477 1539.27 86.3726 1539.36 86.4644C1539.46 86.5726 1539.61 86.6376 1539.76 86.6376C1539.76 86.6376 1539.76 86.6376 1539.76 86.6376L1597.54 86.0802C1597.84 86.0802 1598.08 85.8366 1598.07 85.5332C1598.07 85.2355 1597.83 84.9972 1597.53 84.9972H1597.53L1540.39 85.5442C1540.38 85.4849 1540.37 85.4198 1540.35 85.3657L1540.75 79.1508L1570.43 23.871C1570.46 23.8059 1570.49 23.7355 1570.49 23.6599C1570.49 23.6599 1570.55 23.0426 1570.63 21.8788H1596.37C1596.3 22.588 1596.25 23.3082 1596.25 24.0332C1596.25 28.7756 1597.41 55.211 1597.87 63.3855C1598.32 71.4409 1598.53 83.0806 1598.53 83.1998C1598.54 83.4922 1598.78 83.7305 1599.08 83.7305C1599.1 83.7305 1601.62 83.752 1602.07 85.7279C1602.07 85.7495 1602.09 85.7605 1602.09 85.782C1602.1 85.793 1602.1 85.8093 1602.1 85.8198C1603.36 88.7921 1604.17 92.0725 1604.53 95.5755H1602.6C1602.3 95.5755 1602.06 95.8138 1602.06 96.1168V102.055C1602.06 102.358 1602.3 102.597 1602.6 102.597H1604.68C1604.47 106.776 1603.76 111.308 1602.51 116.424ZM1539.53 81.332L1539.28 85.035H1535.78C1536.82 84.0008 1538.5 82.3442 1539.53 81.332ZM1612.15 96.6584V101.515H1603.14V96.6584H1612.15ZM1615.15 115.909C1613.47 115.985 1606.06 116.305 1603.63 116.38C1604.86 111.297 1605.56 106.776 1605.77 102.597H1612.69C1612.99 102.597 1613.23 102.358 1613.23 102.055V96.1168C1613.23 95.8134 1612.99 95.5755 1612.69 95.5755H1605.62C1605.28 92.2027 1604.53 89.0247 1603.39 86.1175C1605.45 86.0361 1611.12 85.8198 1612.88 85.8739C1614.2 85.9174 1614.84 86.2907 1615.45 86.6482C1615.51 86.6808 1615.57 86.7185 1615.62 86.7511C1619.28 96.6852 1619.12 106.49 1615.15 115.909ZM1619.5 115.92L1618.5 114.708C1618.45 114.643 1618.39 114.594 1618.32 114.562C1618.27 114.54 1617.66 114.264 1616.86 114.54C1620.14 105.683 1620.16 96.5235 1616.95 87.2445C1618.24 87.4718 1619.55 87.1037 1620.61 86.194C1620.63 86.1725 1620.68 86.1563 1620.71 86.14C1621.48 86.7085 1624 88.771 1624.32 91.6835C1624.72 95.3271 1624.53 102.635 1624.32 106.382C1624.13 109.592 1622.18 114.047 1619.5 115.92ZM1626.72 115.915C1626.39 115.98 1623.77 116.039 1621.01 116.083C1623.54 113.728 1625.22 109.543 1625.4 106.441C1625.61 102.662 1625.8 95.2726 1625.39 91.5638C1625.1 88.873 1623.27 86.8807 1622.09 85.8523C1624.03 85.7442 1627.21 86.2099 1628.28 87.065C1630.04 88.4724 1630.58 94.796 1630.77 96.8748C1631.29 102.916 1630.64 114.702 1626.72 115.915Z");
			attr(path0, "fill", "white");
			attr(path1, "d", "M915.484 134.137L914.504 110.419C914.396 107.875 912.241 105.893 909.702 106.002L779.041 111.416C776.502 111.524 774.521 113.679 774.624 116.217L775.609 139.935C775.658 141.169 776.189 142.306 777.093 143.14C777.954 143.931 779.052 144.358 780.211 144.358C780.276 144.358 780.341 144.358 780.411 144.353L911.067 138.939C913.541 138.836 915.49 136.79 915.49 134.337C915.49 134.267 915.49 134.202 915.484 134.137ZM911.023 137.856L780.363 143.27C779.421 143.313 778.522 142.983 777.829 142.345C777.131 141.706 776.73 140.834 776.692 139.892L775.707 116.174C775.626 114.231 777.142 112.579 779.09 112.499L909.746 107.085C909.794 107.08 909.843 107.08 909.891 107.08C911.775 107.08 913.34 108.568 913.421 110.463L914.401 134.181C914.483 136.124 912.967 137.775 911.023 137.856Z");
			attr(path1, "fill", "white");
			attr(path2, "d", "M603.431 143.699C600.822 143.699 598.7 145.821 598.7 148.43C598.7 151.045 600.822 153.167 603.431 153.167C606.046 153.167 608.168 151.045 608.168 148.43C608.168 145.821 606.046 143.699 603.431 143.699ZM603.431 152.085C601.423 152.085 599.782 150.444 599.782 148.431C599.782 146.417 601.423 144.782 603.431 144.782C605.445 144.782 607.085 146.417 607.085 148.431C607.085 150.444 605.445 152.085 603.431 152.085Z");
			attr(path2, "fill", "white");
			attr(path3, "d", "M677.615 134.484C675.179 134.484 673.203 136.459 673.203 138.896C673.203 141.326 675.179 143.308 677.615 143.308C680.046 143.308 682.022 141.326 682.022 138.896C682.022 136.459 680.046 134.484 677.615 134.484ZM677.615 142.225C675.78 142.225 674.286 140.731 674.286 138.896C674.286 137.061 675.78 135.567 677.615 135.567C679.45 135.567 680.939 137.061 680.939 138.896C680.939 140.731 679.45 142.225 677.615 142.225Z");
			attr(path3, "fill", "white");
			attr(path4, "d", "M698.415 149.274C695.41 149.274 692.969 151.716 692.969 154.721C692.969 157.726 695.41 160.167 698.415 160.167C701.42 160.167 703.866 157.726 703.866 154.721C703.866 151.716 701.42 149.274 698.415 149.274ZM698.415 159.084C696.011 159.084 694.051 157.13 694.051 154.721C694.051 152.312 696.011 150.357 698.415 150.357C700.824 150.357 702.784 152.312 702.784 154.721C702.784 157.13 700.824 159.084 698.415 159.084Z");
			attr(path4, "fill", "white");
			attr(path5, "d", "M701.068 186.548C699.189 186.548 697.668 188.069 697.668 189.942C697.668 191.821 699.19 193.342 701.068 193.342C702.941 193.342 704.462 191.82 704.462 189.942C704.462 188.069 702.941 186.548 701.068 186.548ZM701.068 192.259C699.79 192.259 698.751 191.22 698.751 189.942C698.751 188.67 699.79 187.63 701.068 187.63C702.341 187.63 703.38 188.67 703.38 189.942C703.379 191.22 702.34 192.259 701.068 192.259Z");
			attr(path5, "fill", "white");
			attr(path6, "d", "M565.578 101.633C559.38 101.633 554.334 106.673 554.334 112.872C554.334 119.07 559.38 124.111 565.578 124.111C571.772 124.111 576.818 119.07 576.818 112.872C576.818 106.673 571.772 101.633 565.578 101.633ZM565.578 123.028C559.975 123.028 555.417 118.475 555.417 112.872C555.417 107.274 559.975 102.716 565.578 102.716C571.176 102.716 575.735 107.274 575.735 112.872C575.735 118.475 571.176 123.028 565.578 123.028Z");
			attr(path6, "fill", "white");
			attr(path7, "d", "M724.402 81.9924C722.94 81.9924 721.754 83.1835 721.754 84.6397C721.754 86.1017 722.94 87.2923 724.402 87.2923C725.863 87.2923 727.054 86.1012 727.054 84.6397C727.054 83.1835 725.863 81.9924 724.402 81.9924ZM724.402 86.2099C723.541 86.2099 722.837 85.5059 722.837 84.6397C722.837 83.7788 723.541 83.0754 724.402 83.0754C725.268 83.0754 725.972 83.7793 725.972 84.6397C725.972 85.5059 725.268 86.2099 724.402 86.2099Z");
			attr(path7, "fill", "white");
			attr(path8, "d", "M964.056 12.6161H963.228C961.555 12.6161 960.196 13.9747 960.196 15.6477V18.977C960.196 20.65 961.555 22.0086 963.228 22.0086H964.056C965.729 22.0086 967.088 20.65 967.088 18.977V15.6477C967.088 13.9747 965.729 12.6161 964.056 12.6161ZM966.005 18.977C966.005 20.0489 965.128 20.9261 964.056 20.9261H963.227C962.155 20.9261 961.278 20.0489 961.278 18.977V15.6477C961.278 14.5705 962.155 13.6986 963.227 13.6986H964.056C965.128 13.6986 966.005 14.57 966.005 15.6477V18.977Z");
			attr(path8, "fill", "white");
			attr(path9, "d", "M964.792 46.9875C963.303 46.9875 962.085 48.2001 962.085 49.6941C962.085 51.1882 963.303 52.4008 964.792 52.4008C966.286 52.4008 967.499 51.1882 967.499 49.6941C967.499 48.2001 966.287 46.9875 964.792 46.9875ZM964.792 51.3183C963.899 51.3183 963.168 50.5876 963.168 49.6941C963.168 48.8007 963.899 48.0699 964.792 48.0699C965.691 48.0699 966.416 48.8007 966.416 49.6941C966.416 50.5876 965.691 51.3183 964.792 51.3183Z");
			attr(path9, "fill", "white");
			attr(path10, "d", "M973.731 63.6675C971.43 63.6675 969.551 65.5406 969.551 67.8472C969.551 70.1533 971.43 72.0321 973.731 72.0321C976.037 72.0321 977.916 70.1533 977.916 67.8472C977.916 65.5406 976.037 63.6675 973.731 63.6675ZM973.731 70.9491C972.025 70.9491 970.634 69.558 970.634 67.8472C970.634 66.1416 972.025 64.7505 973.731 64.7505C975.442 64.7505 976.833 66.1416 976.833 67.8472C976.833 69.5575 975.442 70.9491 973.731 70.9491Z");
			attr(path10, "fill", "white");
			attr(path11, "d", "M1002.1 23.5194C1002.02 17.0336 998.303 13.1358 992.169 13.076C989.506 13.0545 986.891 14.1753 984.974 16.1512C983.28 17.905 982.36 20.1303 982.451 22.2579C982.636 26.5347 982.912 36.2526 982.912 36.3444L983.204 49.9222C983.204 49.9222 983.204 49.9223 983.204 49.9275L983.269 53.1376C981.217 53.5114 980.275 54.9566 980.232 55.0269C980.178 55.1135 980.151 55.2112 980.151 55.314C980.146 55.3954 980.102 63.5048 980.151 67.2944L980.129 68.4855C980.124 68.632 980.184 68.7727 980.286 68.8756C980.389 68.9785 980.525 69.0325 980.671 69.0325C980.671 69.0325 980.671 69.0325 980.676 69.0325L1000.65 68.8483C1000.93 68.8483 1001.17 68.6157 1001.18 68.3233C1001.18 68.1879 1001.32 63.2613 1001.48 56.6894C1001.49 56.6516 1001.51 56.6243 1001.52 56.5865C1001.54 56.4783 1001.52 56.3807 1001.49 56.2831C1001.65 49.7323 1001.84 41.6391 1001.97 35.0016C1001.97 34.9964 1001.97 34.9964 1001.97 34.9964C1002.07 29.7721 1002.13 25.4522 1002.1 23.5194ZM981.223 67.95L981.234 67.3059V67.2897C981.19 63.825 981.223 56.7004 981.228 55.493C981.488 55.1681 982.328 54.2804 983.87 54.1502C984.152 54.1287 984.369 53.8851 984.363 53.5979L984.298 50.4635H984.525V53.0835C984.525 53.3812 984.769 53.6248 985.067 53.6248C986.014 53.6248 986.783 54.3933 986.783 55.3408V67.5002C986.783 67.6572 986.848 67.7926 986.956 67.8955L981.223 67.95ZM990.637 66.7154C990.518 66.8724 990.34 66.959 990.144 66.959H987.865V55.3413C987.865 53.9823 986.891 52.8457 985.607 52.5911V50.4635H998.887C998.985 50.4635 999.082 50.485 999.18 50.5175C998.903 53.4735 997.885 53.82 996.803 54.1828C996.673 54.2263 996.505 54.2746 996.321 54.3287C994.605 54.8431 991.043 55.9041 990.231 59.3635C989.684 61.6806 990.204 64.3495 990.734 66.1794C990.789 66.3689 990.751 66.5637 990.637 66.7154ZM990.919 67.8577C991.146 67.7438 991.347 67.5763 991.504 67.3653C991.666 67.1485 991.769 66.9049 991.818 66.6451C991.85 66.7369 991.888 66.8236 991.931 66.9049C992.354 67.717 992.949 67.8362 993.268 67.8362L990.919 67.8577ZM1000.14 66.7532H993.268C993.139 66.7532 993.009 66.634 992.889 66.4015C992.456 65.5731 992.413 63.8786 992.744 62.2707C992.83 63.7542 994.054 64.9395 995.559 64.9395C997.124 64.9395 998.396 63.6676 998.396 62.108C998.396 60.5436 997.124 59.2711 995.559 59.2711C994.671 59.2711 993.881 59.6932 993.361 60.3431C993.496 60.0617 993.642 59.7961 993.805 59.5635C994.671 58.3236 996.609 58.1341 998.315 57.9666C999.089 57.891 999.809 57.8149 1000.37 57.6417C1000.27 61.6428 1000.19 64.9342 1000.14 66.7532ZM993.81 62.1085C993.81 61.1394 994.594 60.3546 995.558 60.3546C996.527 60.3546 997.313 61.1394 997.313 62.1085C997.313 63.0722 996.528 63.857 995.558 63.857C994.594 63.857 993.81 63.0722 993.81 62.1085ZM1000.4 56.4348C1000.15 56.6946 999.002 56.8138 998.206 56.8894C996.365 57.0679 994.07 57.2952 992.917 58.9467C991.861 60.4517 991.39 62.7253 991.444 64.5768C991.304 63.9327 991.184 63.1909 991.125 62.4219C991.851 56.5482 995.516 56.5913 997.318 56.6185C998.315 56.6295 999.533 56.5644 1000.41 56.0936C1000.41 56.2074 1000.4 56.3213 1000.4 56.4348ZM1000.45 54.4856C1000.24 55.2164 999.235 55.5576 997.291 55.5361C996.944 55.5308 996.484 55.5251 995.965 55.5686C996.203 55.493 996.43 55.4279 996.63 55.3681C996.831 55.3087 997.004 55.2542 997.15 55.2059C998.552 54.7402 999.754 54.0961 1000.18 51.3187C1000.34 51.5675 1000.46 51.8493 1000.51 52.158C1000.49 52.9485 1000.47 53.7224 1000.45 54.4856ZM1000.56 50.117C1000.4 49.9816 1000.25 49.8624 1000.07 49.7543C1000.04 49.727 999.998 49.7002 999.949 49.6839C999.614 49.4997 999.251 49.3805 998.888 49.3805H984.277L983.995 36.3172C983.995 36.3009 983.99 36.0195 983.974 35.5428H1000.88C1000.79 40.0799 1000.67 45.2502 1000.56 50.117ZM1000.9 34.4604H983.941C983.854 31.4073 983.67 25.3489 983.535 22.2144C983.459 20.3792 984.266 18.4463 985.754 16.9035C987.46 15.1386 989.782 14.1423 992.159 14.1585C997.713 14.2126 1000.95 17.6289 1001.02 23.5299C1001.04 25.3924 1000.99 29.4797 1000.9 34.4604Z");
			attr(path11, "fill", "white");
			attr(path12, "d", "M992.9 14.3698C989.424 14.3698 986.599 17.1957 986.599 20.6661V24.7208C986.599 28.1965 989.424 31.0223 992.9 31.0223C996.376 31.0223 999.202 28.1965 999.202 24.7208V20.6661C999.202 17.1957 996.375 14.3698 992.9 14.3698ZM998.119 24.7208C998.119 27.6007 995.775 29.9398 992.9 29.9398C990.019 29.9398 987.681 27.6012 987.681 24.7208V20.6661C987.681 17.7915 990.019 15.4528 992.9 15.4528C995.774 15.4528 998.119 17.7915 998.119 20.6661V24.7208Z");
			attr(path12, "fill", "white");
			attr(path13, "d", "M992.901 18.0077C990.67 18.0077 988.856 19.8214 988.856 22.0519C988.856 24.2771 990.67 26.0903 992.901 26.0903C995.131 26.0903 996.945 24.2766 996.945 22.0519C996.944 19.8214 995.131 18.0077 992.901 18.0077ZM992.901 25.0079C991.265 25.0079 989.939 23.6813 989.939 22.0519C989.939 20.4172 991.266 19.0906 992.901 19.0906C994.53 19.0906 995.862 20.4172 995.862 22.0519C995.862 23.6813 994.53 25.0079 992.901 25.0079Z");
			attr(path13, "fill", "white");
			attr(path14, "d", "M1581.53 26.2527C1576.16 26.2527 1571.79 30.6219 1571.79 35.9868C1571.79 41.3571 1576.16 45.7205 1581.53 45.7205C1586.89 45.7205 1591.25 41.3571 1591.25 35.9868C1591.25 30.6214 1586.89 26.2527 1581.53 26.2527ZM1581.53 44.6375C1576.75 44.6375 1572.87 40.756 1572.87 35.9863C1572.87 31.2166 1576.75 27.3351 1581.53 27.3351C1586.3 27.3351 1590.17 31.2166 1590.17 35.9863C1590.17 40.756 1586.3 44.6375 1581.53 44.6375Z");
			attr(path14, "fill", "white");
			attr(path15, "d", "M1592.79 51.324C1592.74 49.673 1591.4 48.3895 1589.75 48.3895H1589.73L1563.34 48.579C1563.19 48.579 1563.05 48.6441 1562.95 48.7522L1560.87 51.0369C1560.84 51.0747 1560.81 51.1125 1560.79 51.1613C1560.69 51.3455 1551.52 69.9739 1550.83 71.3382C1550.36 72.2963 1549.88 74.0937 1550.53 75.1331C1550.81 75.5988 1551.29 75.8534 1551.87 75.8534H1587.05C1587.2 75.8534 1587.34 75.7935 1587.44 75.6854C1587.5 75.6313 1587.53 75.5662 1587.56 75.4906L1591.09 75.3714C1592.49 75.3226 1593.59 74.1426 1593.54 72.7404L1592.79 51.324ZM1551.87 74.7708C1551.61 74.7708 1551.51 74.668 1551.45 74.5651C1551.14 74.0727 1551.31 72.8165 1551.8 71.8201C1552.44 70.5534 1560.42 54.3661 1561.61 51.9408H1585.63L1586.49 74.7704L1551.87 74.7708ZM1591.05 74.289L1587.56 74.4081L1586.7 51.3781C1586.68 51.0857 1586.45 50.8583 1586.15 50.8583H1562.5L1563.59 49.6567L1589.74 49.4725H1589.75C1590.82 49.4725 1591.67 50.2956 1591.71 51.3618L1592.46 72.7787C1592.48 73.585 1591.85 74.2617 1591.05 74.289Z");
			attr(path15, "fill", "white");
			attr(path16, "d", "M1228.23 75.3931H1224.84C1222.79 75.3931 1221.12 77.0603 1221.12 79.1123V98.2552C1221.12 100.307 1222.79 101.98 1224.84 101.98H1228.23C1230.28 101.98 1231.94 100.307 1231.94 98.2552V79.1123C1231.94 77.0603 1230.28 75.3931 1228.23 75.3931ZM1230.86 98.2552C1230.86 99.7114 1229.68 100.897 1228.23 100.897H1224.84C1223.39 100.897 1222.2 99.7114 1222.2 98.2552V79.1123C1222.2 77.6561 1223.39 76.476 1224.84 76.476H1228.23C1229.68 76.476 1230.86 77.6561 1230.86 79.1123V98.2552Z");
			attr(path16, "fill", "white");
			attr(path17, "d", "M1226.53 77.0663C1224.34 77.0663 1222.55 78.8528 1222.55 81.0508C1222.55 83.2435 1224.34 85.0298 1226.53 85.0298C1228.73 85.0298 1230.51 83.2435 1230.51 81.0508C1230.51 78.8533 1228.73 77.0663 1226.53 77.0663ZM1226.53 78.1493C1227.97 78.1493 1229.15 79.205 1229.38 80.5746H1223.68C1223.91 79.205 1225.1 78.1493 1226.53 78.1493ZM1226.53 83.9474C1225.14 83.9474 1223.99 82.962 1223.71 81.6575H1229.36C1229.08 82.962 1227.92 83.9474 1226.53 83.9474Z");
			attr(path17, "fill", "white");
			attr(path18, "d", "M736.744 122.698C736.744 122.677 736.739 122.65 736.728 122.628C736.717 122.595 736.707 122.569 736.69 122.541C736.669 122.504 736.653 122.476 736.625 122.444C736.598 122.411 736.571 122.379 736.539 122.352C736.274 122.151 731.991 118.416 729.181 115.958C729.062 115.85 728.894 115.801 728.737 115.829L718.717 117.491C718.684 117.496 718.652 117.507 718.625 117.518C718.608 117.523 718.592 117.523 718.582 117.534C718.528 117.556 718.474 117.594 718.43 117.637C718.419 117.642 718.414 117.659 718.403 117.67C718.37 117.708 718.343 117.751 718.321 117.794C718.316 117.805 718.305 117.81 718.3 117.821V117.843C718.295 117.859 718.284 117.87 718.284 117.881C718.267 117.93 718.262 117.978 718.262 118.032C718.262 118.032 718.262 118.033 718.262 118.038C718.262 118.097 718.278 118.157 718.3 118.216C718.311 118.233 718.316 118.249 718.327 118.265C718.343 118.303 718.37 118.341 718.403 118.379C718.414 118.39 718.424 118.406 718.435 118.417C718.446 118.422 718.446 118.433 718.457 118.438L726.058 124.864C726.155 124.946 726.28 124.994 726.404 124.994C726.431 124.994 726.458 124.989 726.485 124.983C733.241 123.96 735.504 123.592 736.295 123.321C736.403 123.305 736.506 123.261 736.582 123.185C736.707 123.104 736.728 123.018 736.75 122.915C736.755 122.904 736.75 122.887 736.755 122.877C736.755 122.872 736.755 122.872 736.755 122.866C736.761 122.812 736.761 122.753 736.744 122.698ZM726.567 123.879L721.71 119.77L726.967 121.876C727.005 121.892 727.043 121.903 727.081 121.909L733.085 122.85C731.114 123.175 728.532 123.581 726.567 123.879ZM727.308 120.847L720.801 118.243L728.662 116.939C730.421 118.481 732.863 120.614 734.422 121.962L727.308 120.847Z");
			attr(path18, "fill", "white");
			attr(path19, "d", "M732.765 145.398C732.754 145.36 732.738 145.328 732.722 145.29C732.701 145.257 732.679 145.219 732.647 145.187C732.425 144.943 728.862 140.515 726.524 137.602C726.426 137.478 726.269 137.402 726.107 137.402L715.951 137.283C715.929 137.283 715.907 137.288 715.885 137.294C715.772 137.305 715.669 137.353 715.583 137.434C715.561 137.456 715.539 137.478 715.517 137.505C715.506 137.516 715.496 137.521 715.485 137.537C715.48 137.543 715.48 137.554 715.48 137.559C715.469 137.57 715.463 137.58 715.458 137.591C715.437 137.634 715.42 137.689 715.409 137.737C715.409 137.759 715.404 137.786 715.404 137.808C715.404 137.845 715.409 137.883 715.42 137.922C715.42 137.943 715.426 137.959 715.431 137.976C715.448 138.019 715.464 138.062 715.491 138.1C715.496 138.116 715.507 138.133 715.518 138.149C715.523 138.154 715.523 138.16 715.529 138.17L721.89 145.825C721.993 145.944 722.139 146.015 722.297 146.02C726.313 146.123 728.766 146.177 730.265 146.177C731.299 146.177 731.884 146.15 732.225 146.101C732.236 146.101 732.247 146.107 732.263 146.107C732.371 146.107 732.485 146.069 732.571 146.004C732.691 145.944 732.723 145.868 732.761 145.776C732.766 145.765 732.766 145.755 732.772 145.744V145.739C732.772 145.733 732.772 145.733 732.772 145.728C732.788 145.674 732.799 145.619 732.793 145.565V145.49C732.787 145.458 732.776 145.43 732.765 145.398ZM722.566 144.943L718.5 140.049L723.308 143.043C723.34 143.064 723.378 143.086 723.416 143.097L729.16 145.073C727.162 145.046 724.553 144.992 722.566 144.943ZM723.827 142.095L717.878 138.387L725.841 138.479C727.303 140.303 729.333 142.831 730.632 144.434L723.827 142.095Z");
			attr(path19, "fill", "white");
			attr(path20, "d", "M899.579 446.585C899.481 445.357 898.913 444.247 897.982 443.445C807.513 366.262 757.36 273.914 744.665 161.141C744.378 158.618 742.093 156.794 739.576 157.08C737.053 157.367 735.234 159.646 735.516 162.169C748.492 277.379 799.679 371.675 892.005 450.445C892.838 451.16 893.899 451.55 894.987 451.55C896.341 451.55 897.619 450.96 898.49 449.931C899.292 449 899.676 447.809 899.579 446.585ZM897.668 449.233C897.002 450.018 896.022 450.467 894.988 450.467C894.154 450.467 893.348 450.169 892.709 449.622C800.599 371.037 749.532 276.967 736.593 162.05C736.376 160.123 737.768 158.374 739.695 158.158C739.83 158.141 739.96 158.136 740.09 158.136C741.86 158.136 743.387 159.468 743.587 161.26C756.315 274.326 806.592 366.895 897.278 444.268C897.992 444.88 898.425 445.73 898.501 446.667C898.578 447.609 898.279 448.518 897.668 449.233Z");
			attr(path20, "fill", "white");
			attr(path21, "d", "M907.938 430.523C824.956 356.096 777.726 271.711 763.553 172.548C763.375 171.331 762.741 170.253 761.756 169.517C760.776 168.78 759.563 168.466 758.345 168.645C757.127 168.819 756.05 169.452 755.314 170.438C754.578 171.423 754.269 172.636 754.442 173.848C768.935 275.242 817.133 361.44 901.793 437.372C902.643 438.136 903.731 438.553 904.868 438.553C906.173 438.553 907.424 437.995 908.295 437.021C909.984 435.131 909.827 432.218 907.938 430.523ZM907.488 436.3C906.823 437.042 905.864 437.47 904.868 437.47C903.997 437.47 903.163 437.15 902.519 436.571C818.054 360.811 769.969 274.825 755.514 173.696C755.379 172.765 755.617 171.839 756.18 171.086C756.743 170.334 757.566 169.847 758.497 169.717C758.67 169.69 758.838 169.679 759.006 169.679C759.758 169.679 760.494 169.923 761.106 170.383C761.859 170.946 762.346 171.769 762.481 172.7C776.692 272.124 824.035 356.724 907.217 431.33C908.663 432.624 908.782 434.854 907.488 436.3Z");
			attr(path21, "fill", "white");
			attr(path22, "d", "M918.364 417.611C838.885 346.253 796.214 270.732 780.016 172.743C779.815 171.53 779.155 170.469 778.153 169.754C777.152 169.04 775.934 168.753 774.721 168.953C772.22 169.37 770.52 171.741 770.932 174.248C779.642 226.907 795.813 272.924 820.381 314.929C842.821 353.296 872.856 389.125 912.214 424.46C913.059 425.218 914.152 425.64 915.289 425.64C916.594 425.64 917.845 425.083 918.716 424.113C920.41 422.224 920.253 419.306 918.364 417.611ZM917.909 423.388C917.243 424.129 916.285 424.557 915.289 424.557C914.417 424.557 913.584 424.238 912.939 423.653C873.663 388.393 843.698 352.652 821.317 314.382C796.815 272.496 780.687 226.599 772.004 174.069C771.684 172.158 772.984 170.339 774.9 170.025C775.094 169.992 775.29 169.976 775.484 169.976C776.21 169.976 776.919 170.203 777.525 170.631C778.289 171.183 778.792 171.995 778.944 172.921C795.191 271.169 837.965 346.88 917.638 418.417C919.084 419.712 919.203 421.942 917.909 423.388Z");
			attr(path22, "fill", "white");
			attr(path23, "d", "M930.816 407.808C930.746 406.584 930.199 405.458 929.284 404.635C852.658 336.319 813.246 267.034 797.487 172.982C797.286 171.769 796.62 170.708 795.619 169.993C794.617 169.279 793.399 168.997 792.192 169.203C790.979 169.403 789.918 170.069 789.203 171.07C788.488 172.072 788.207 173.29 788.413 174.503C796.809 224.634 812.228 268.258 835.539 307.853C856.832 344.017 885.492 377.923 923.155 411.505C924 412.258 925.088 412.674 926.219 412.674C927.529 412.674 928.78 412.111 929.657 411.137C930.475 410.217 930.886 409.036 930.816 407.808ZM928.845 410.411C928.179 411.164 927.221 411.591 926.22 411.591C925.353 411.591 924.525 411.272 923.881 410.698C886.299 377.193 857.709 343.373 836.476 307.306C813.23 267.824 797.855 224.324 789.48 174.324C789.323 173.392 789.539 172.461 790.086 171.698C790.633 170.929 791.439 170.425 792.37 170.268C792.565 170.236 792.766 170.22 792.961 170.22C793.686 170.22 794.39 170.442 794.99 170.875C795.759 171.422 796.263 172.228 796.42 173.159C812.217 267.477 851.738 336.946 928.564 405.446C929.262 406.069 929.679 406.93 929.733 407.872C929.787 408.809 929.473 409.713 928.845 410.411Z");
			attr(path23, "fill", "white");
			attr(path24, "d", "M443.903 89.2887C444.417 89.6462 444.731 89.9707 444.764 90.009C444.92 90.1822 445.164 90.2363 445.375 90.1444C445.434 90.1228 446.22 89.7817 447.178 89.2782L458.222 164.367C458.227 164.388 458.238 164.404 458.243 164.426C458.254 164.469 458.27 164.512 458.292 164.55C458.297 164.561 458.297 164.578 458.308 164.588L459.71 166.694L458.704 166.911L456.966 164.615C456.414 161.627 446.604 108.307 444.915 99.499C443.729 93.3167 443.773 90.4363 443.903 89.2887ZM34.7162 325.052C31.7061 323.633 29.7843 318.587 27.6677 306.564C25.6104 294.935 19.8396 260.433 17.8579 247.966C15.7576 234.805 11.1018 208.759 8.16735 196.097C4.97305 182.287 2.73201 170.501 1.6816 162.012C0.967124 156.187 0.885775 150.968 1.44902 146.507L1.45428 146.432C1.58445 145.392 3.41394 143.801 6.18042 143.259C5.79614 144.802 5.21136 148.554 5.67698 156.214C6.31584 166.733 12.1733 192.081 12.2278 192.313C12.3307 192.838 22.4869 244.756 25.2156 262.329C27.7873 278.846 32.3617 307.674 34.1644 315.173C35.4206 320.402 37.7755 323.574 39.0963 325.031L34.7162 325.052Z");
			attr(path24, "fill", "white");
			attr(path24, "fill-opacity", path24_fill_opacity_value = /*highlightParts*/ ctx[0][/*Zones*/ ctx[5].Buttstock]);
			attr(path25, "d", "M247.46 250.77L463.501 168.578L458.595 168.041C458.557 168.052 458.519 168.052 458.481 168.052C458.313 168.052 458.151 167.976 458.048 167.841L456.023 165.166C455.969 165.101 455.937 165.02 455.92 164.939C455.817 164.376 445.58 108.717 443.853 99.6981C442.505 92.6926 442.689 89.7855 442.884 88.7246C441.866 88.2915 440.513 88.0857 439.003 88.8437C435.576 90.5545 431.369 92.2979 417.711 94.7447C413.754 95.4498 409.919 96.0374 405.879 96.6565L405.53 96.71L405.411 96.7283C396.447 98.1044 386.289 99.6641 372.814 102.882C353.325 107.548 340.792 108.296 324.93 109.237L324.481 109.265C315.429 109.801 306.686 107.825 298.23 105.908L298.177 105.896C291.364 104.358 284.923 102.903 278.854 102.903H278.837C270.636 102.789 246.935 105.464 227.488 108.014C219.787 109.025 203.965 111.273 187.062 113.675L185.905 113.839C166.384 116.616 146.201 119.486 137.507 120.59C121.136 122.675 47.0215 133.599 27.359 136.831C9.24456 139.809 7.57204 142.543 7.47441 142.743C7.46867 142.76 7.45814 142.776 7.44713 142.792V142.814C7.43086 142.841 6.13161 145.91 6.7542 156.148C7.39306 166.575 13.2294 191.836 13.2888 192.084C13.3916 192.626 23.5531 244.565 26.287 262.16C28.853 278.661 33.4222 307.457 35.2143 314.917C36.7246 321.181 39.9242 324.396 40.6119 325.024L44.0823 325.008L247.46 250.77Z");
			attr(path25, "fill", "white");
			attr(path25, "fill-opacity", path25_fill_opacity_value = /*highlightParts*/ ctx[0][/*Zones*/ ctx[5].Buttstock]);
			attr(path26, "d", "M871.529 56.8522V47.1237L886.4 47.0697L886.606 56.8522H871.529ZM498.063 43.5289L498.815 42.9063C504.094 38.5267 506.497 36.5288 514.239 36.4642C517.276 36.4426 528.206 36.4531 542.044 36.4694C565.03 36.4967 596.512 36.5287 605.542 36.399C618.86 36.2043 853.166 34.8399 880.332 34.683C880.793 35.9282 882.455 40.0968 884.864 42.8685C885.692 43.8213 886.314 44.8717 886.791 45.9867L868.963 46.0518C868.893 46.014 868.812 45.9815 868.725 45.9815C868.622 45.9762 868.53 46.0087 868.449 46.0518L752.882 46.4849C749.466 46.5012 746.359 47.8598 744.069 50.0635L488.589 51.5307C491.582 48.9695 494.684 46.3222 498.063 43.5289ZM741.81 55.5472C743.381 50.9344 747.749 47.5889 752.887 47.5674L868.151 47.1343L867.837 58.6601L741.81 55.5472ZM863.398 59.6349C862.769 59.7378 862.12 59.8732 861.449 60.0517C856.284 61.427 853.794 63.9605 853.133 64.729L741.188 63.7169V59.3157C741.188 58.3902 741.296 57.4915 741.502 56.6253L863.398 59.6349ZM478.508 60.068C481.269 57.7944 484.203 55.282 487.316 52.6184L743.05 51.1512C741.924 52.5103 741.074 54.1019 740.587 55.8448C740.587 55.85 740.587 55.85 740.582 55.85C740.273 56.9545 740.106 58.1131 740.106 59.3148V62.5468L473.349 64.4902C475.422 62.6718 477.247 61.1074 478.508 60.068ZM455.158 88.0242C455.158 88.0242 455.158 88.0242 455.158 88.0189C455.158 87.9701 455.478 82.9138 455.7 81.3169C456.095 80.1095 465.103 71.778 472.109 65.5847L740.105 63.6303V64.2529C740.105 66.5537 738.232 68.4483 735.931 68.4703L617.181 69.8237C616.282 69.8347 615.421 70.1701 614.76 70.7817L595.861 88.0893C595.499 88.4195 595.028 88.6037 594.535 88.609L455.158 90.0222L455.158 88.0242Z");
			attr(path26, "fill", "white");
			attr(path26, "fill-opacity", path26_fill_opacity_value = /*highlightParts*/ ctx[0][/*Zones*/ ctx[5].Cover]);
			attr(path27, "d", "M814.505 151.013C824.791 241.173 876.476 337.322 940.32 384.984C941.879 386.148 942.199 388.357 941.04 389.911C940.364 390.809 939.335 391.324 938.215 391.324C937.771 391.324 937.343 391.232 936.937 391.074C934.777 389.375 932.763 387.821 930.798 386.402L930.743 386.473C901.071 362.847 873.06 328.199 851.367 288.154C827.796 244.649 812.621 197.344 807.456 151.305L814.505 151.013ZM726.797 154.667C727.371 162.219 728.129 169.718 729.049 177.15L725.871 173.864C724.972 166.951 723.684 156.946 723.446 154.802L726.797 154.667ZM714.356 164.445C712.835 164.271 711.926 163.763 711.584 163.53C711.546 163.107 711.47 162.582 711.341 161.938C711.579 161.586 711.769 161.196 711.893 160.774L713.035 156.893C713.197 156.346 713.55 155.891 713.999 155.577L714.356 164.445ZM583.94 189.997C583.81 184.086 583.155 168.727 583.084 167.049C583.826 165.679 584.947 164.272 585.499 164.288C586.349 164.32 586.755 164.98 587.664 166.621L587.903 167.054C588.726 168.521 590.788 171.147 595.347 172.246C598.324 172.96 600.224 174.076 600.836 174.471C600.88 176.068 601.285 183.94 604.885 191.822C608.935 200.69 621.776 210.24 629.058 211.55C636.117 212.822 640.286 209.855 640.459 209.731C640.627 209.606 640.708 209.406 640.676 209.2C640.643 209 640.497 208.832 640.302 208.772C623.839 203.7 615.681 195.53 613.84 182.288C612.129 169.999 620.786 163.865 621.895 163.134L665.763 162.355L667.869 164.91C667.928 168.169 668.681 211.755 668.421 218.88C668.145 226.345 658.498 227.033 655.547 227.065C651.953 227.103 603.337 227.444 595.19 227.374C587.015 227.304 583.745 221.776 583.507 219.259C583.355 217.656 583.528 211.165 583.691 204.891C583.847 199.039 584.004 192.991 583.94 189.997ZM577.15 213.894C576.652 214.473 573.686 217.96 571.163 221.533C570.416 222.594 568.857 224.608 566.886 227.163C561.418 234.239 553.157 244.931 548.517 252.672C533.846 277.11 525.173 297.027 522.737 311.882C522.228 315.001 521.779 317.94 521.346 320.783C518.828 337.305 517.161 348.225 509.316 353.915C500.811 360.092 480.764 365.863 462.823 359.377C449.727 354.64 439.696 346.503 433.811 335.849C430.119 329.169 430.47 316.977 433.226 311.33C434.059 309.619 436.702 304.493 440.047 298.002C447.843 282.886 459.623 260.046 462.812 252.7C468.329 240.004 474.879 222.415 474.744 210.738C474.614 199.011 472.021 189.034 470.413 185.504C469.179 182.787 469.79 177.497 470.12 176.561C470.835 176.366 473.964 176.101 476.774 175.944C478.398 176.073 559.588 182.418 569.63 184.048C573.181 184.622 576.008 186.343 578.021 189.153C580.484 192.58 581.123 196.916 580.793 198.903C580.28 201.984 577.475 212.665 577.15 213.894ZM669.487 202.503C669.346 187.811 669.016 168.64 668.956 165.235L708.043 163.763C708.926 163.73 709.749 163.421 710.415 162.913C710.593 164.066 710.507 164.618 710.404 165.225C710.371 165.43 710.333 165.647 710.301 165.896C710.214 166.659 710.42 173.968 710.718 184.21C710.837 188.255 710.945 191.952 710.988 194.031C711.108 199.32 703.631 202.308 686.746 203.705C672.909 204.853 669.882 202.834 669.487 202.503ZM714.215 179.224C714.177 183.799 712.678 222.854 712.488 227.845H710.577C710.242 224.446 707.73 205.102 694.136 204.626C692.398 204.566 690.785 204.55 689.285 204.561C705.348 202.996 712.202 199.797 712.072 194.004C712.029 191.925 711.92 188.227 711.801 184.178C711.584 176.831 711.292 166.762 711.379 166.02C711.406 165.798 711.438 165.598 711.471 165.403C711.509 165.197 711.541 164.991 711.568 164.769C712.191 165.083 713.149 165.435 714.476 165.549L715.596 170.865C714.356 171.028 714.275 173.02 714.215 179.224ZM716.846 171.559L715.46 164.97L715.065 155.171C715.136 155.16 715.206 155.15 715.276 155.144L722.363 154.852C722.639 157.353 724.258 169.858 724.75 173.643C722.265 173.951 718.822 174.363 717.902 174.455C717.599 173.09 717.253 172.138 716.846 171.559ZM927.847 498.023C923.461 495.5 880.493 470.131 834.671 420.477C790.267 372.359 734.03 290.942 718.254 176.306C718.211 176.03 718.162 175.77 718.118 175.516C719.515 175.375 723.727 174.861 725.156 174.682L729.271 178.932C732.627 205.124 738.122 230.465 745.696 254.54C755.614 286.081 769.37 316.333 786.575 344.451C820.768 400.348 870.038 450.182 933.011 492.577L927.847 498.023ZM934.224 492.106C934.197 492.079 934.165 492.063 934.137 492.046L934.143 492.035C807.873 407.213 738.48 293.692 727.879 154.619L806.373 151.349C811.543 197.55 826.767 245.023 850.414 288.674C873.487 331.264 903.69 367.779 935.463 391.492C935.745 391.703 936.053 391.865 936.367 392.006C937.526 392.921 938.728 393.874 939.989 394.875C941.911 396.402 943.919 398.005 946.052 399.667L902.12 459.348C900.966 460.913 901.302 463.116 902.867 464.269C903.473 464.718 904.193 464.951 904.951 464.951C906.066 464.951 907.127 464.415 907.788 463.522L951.639 403.949C954.378 406.001 957.312 408.139 960.507 410.353L920.277 470.251C919.752 471.036 919.563 471.972 919.746 472.893C919.925 473.813 920.456 474.614 921.235 475.134C921.82 475.529 922.497 475.735 923.195 475.735C924.37 475.735 925.463 475.15 926.118 474.176L966.343 414.289C969.926 416.639 973.808 419.059 978.042 421.554L934.916 492.745C934.69 492.55 934.457 492.344 934.224 492.106ZM950.779 403.299L906.917 462.877C906.457 463.5 905.721 463.868 904.952 463.868C904.427 463.868 903.929 463.705 903.506 463.397C902.429 462.601 902.196 461.069 902.992 459.991L946.908 400.332C948.154 401.301 949.442 402.286 950.779 403.299ZM947.553 399.46L956.989 386.641C957.373 386.116 957.942 385.774 958.586 385.672C958.71 385.655 958.835 385.644 958.96 385.644C959.474 385.644 959.972 385.807 960.394 386.121C960.919 386.505 961.26 387.074 961.363 387.718C961.461 388.362 961.298 389.001 960.914 389.526L951.418 402.427C950.086 401.415 948.798 400.424 947.553 399.46ZM965.44 413.688L925.221 473.574C924.766 474.246 924.008 474.652 923.196 474.652C922.714 474.652 922.243 474.506 921.843 474.235C921.302 473.872 920.933 473.326 920.809 472.687C920.684 472.048 920.814 471.398 921.177 470.857L961.401 410.965C962.706 411.863 964.048 412.773 965.44 413.688ZM962.002 410.066L970.935 396.77C971.406 396.072 972.175 395.693 972.959 395.693C973.43 395.693 973.902 395.828 974.318 396.104C974.854 396.467 975.223 397.019 975.347 397.658C975.477 398.297 975.342 398.947 974.979 399.488L966.046 412.79C964.655 411.869 963.307 410.965 962.002 410.066ZM940.997 493.849C940.537 494.12 938.463 495.121 935.794 493.389L978.98 422.1C979.986 422.685 981.009 423.275 982.06 423.871L940.997 493.849ZM993.164 398.692C994.041 399.266 994.929 399.845 995.816 400.419L982.606 422.94C981.562 422.345 980.544 421.76 979.542 421.175L993.164 398.692ZM919.726 150.31C919.667 150.288 919.602 150.282 919.542 150.282C918.763 150.31 841.644 152.908 839.944 152.908C838.996 152.908 837.215 153.109 835.954 154.462C834.936 155.55 834.492 157.142 834.633 159.188L834.644 159.356C835.624 173.93 848.308 303.394 992.254 398.097L978.606 420.628C974.388 418.143 970.518 415.729 966.95 413.39L975.877 400.089C976.402 399.309 976.592 398.373 976.413 397.447C976.229 396.526 975.699 395.731 974.919 395.205C973.311 394.122 971.118 394.555 970.036 396.163L961.114 409.454C957.936 407.251 955.007 405.123 952.284 403.077L961.785 390.17C962.939 388.606 962.603 386.397 961.038 385.249C960.28 384.692 959.355 384.465 958.424 384.605C957.492 384.746 956.675 385.239 956.117 385.997L946.698 398.795C944.575 397.138 942.573 395.546 940.661 394.025C939.952 393.462 939.27 392.921 938.593 392.385C939.909 392.276 941.1 391.632 941.906 390.56C943.427 388.53 943.005 385.639 940.969 384.118C877.363 336.634 825.863 240.833 815.587 150.964L924.263 146.438C925.643 146.384 926.85 145.745 927.668 144.765V144.998C927.668 146.362 928.48 147.586 929.736 148.111L939.134 152.052C939.421 152.171 939.724 152.231 940.028 152.231C940.407 152.231 940.791 152.133 941.138 151.943C941.371 151.814 941.571 151.635 941.739 151.44L941.733 152.463L938.777 156.41L919.726 150.31Z");
			attr(path27, "fill", "white");
			attr(path27, "fill-opacity", path27_fill_opacity_value = /*highlightParts*/ ctx[0][/*Zones*/ ctx[5].Handle]);
			attr(path28, "d", "M673.363 206.65C673.157 206.732 673.028 206.932 673.028 207.154V207.161C673.028 207.528 673.054 220.507 670.132 223.644L669.628 224.191L669.624 224.196C666.805 227.242 664.578 229.648 656.343 230.195C648.809 230.705 614.243 230.55 600.764 230.489L600.408 230.487C598.188 230.476 596.64 230.471 596.023 230.471C591.816 230.471 585.59 228.755 582.862 225.983C580.285 223.363 578.439 215.281 578.195 214.17C578.537 212.876 581.33 202.255 581.861 199.082C582.196 197.063 581.693 192.407 578.905 188.526C576.712 185.467 573.648 183.605 569.804 182.976C560.125 181.412 484.89 175.495 477.424 174.91C477.63 173.594 477.965 170.46 476.829 168.825C476.412 168.229 475.854 167.877 475.161 167.774C472.054 167.309 463.917 167.839 463.571 167.861C463.522 167.866 463.468 167.877 463.419 167.899L460.636 166.901C460.809 166.863 460.955 166.739 461.02 166.576C461.09 166.408 461.069 166.218 460.971 166.073L459.672 164.123C470.873 163.875 573.506 161.568 575.06 161.568C576.701 161.568 658.291 157.567 663.076 157.334C663.569 157.513 665.929 158.531 665.55 161.276L621.721 162.05C621.629 162.055 621.537 162.082 621.456 162.126C621.348 162.191 610.85 168.644 612.767 182.432C614.623 195.82 622.668 204.185 638.785 209.43C637.205 210.183 633.875 211.32 629.246 210.486C622.279 209.23 609.692 199.735 605.87 191.37C601.961 182.811 601.912 174.262 601.912 174.182C601.912 174.008 601.831 173.846 601.69 173.748C601.604 173.678 599.487 172.124 595.6 171.188C591.442 170.186 589.585 167.836 588.849 166.521L588.605 166.088C587.658 164.382 587.03 163.256 585.536 163.202C584.031 163.137 582.488 165.844 582.055 166.672C582.012 166.754 581.99 166.851 581.996 166.948C582.001 167.116 582.721 183.807 582.857 190.016C582.922 192.98 582.765 199.007 582.613 204.843L582.613 204.861C582.434 211.46 582.272 217.691 582.429 219.359C582.77 222.986 587.063 228.384 595.178 228.454C595.931 228.459 597.019 228.465 598.388 228.465C611.896 228.465 652.293 228.178 655.557 228.146C658.752 228.108 669.189 227.345 669.503 218.916C669.585 216.669 669.568 210.833 669.503 203.779C670.705 204.374 673.374 205.137 679.14 205.137C679.524 205.137 679.93 205.132 680.341 205.126C675.664 205.724 673.51 206.585 673.363 206.65Z");
			attr(path28, "fill", "white");
			attr(path28, "fill-opacity", path28_fill_opacity_value = /*highlightParts*/ ctx[0][/*Zones*/ ctx[5].Handle]);
			attr(path29, "d", "M1571.26 13.0793C1571.67 7.58985 1571.42 3.38341 1571.31 2.01333C1573.04 2.00806 1587.33 2.61439 1595.64 2.9824C1596.4 3.01494 1597.69 4.07062 1597.84 10.7459C1597.88 12.7653 1597.49 14.8441 1597.08 17.0526C1596.85 18.2543 1596.63 19.4779 1596.46 20.7231H1570.69C1570.83 18.9424 1571.02 16.3654 1571.26 13.0793ZM1570.27 2.78232C1570.36 4.217 1570.48 6.93994 1570.33 10.4266C1570.08 8.18559 1569.56 5.41915 1569.44 4.80709C1569.59 4.25485 1569.88 3.39917 1570.27 2.78232ZM1563.18 5.41339C1564.28 5.0942 1566.44 5.06693 1568.44 5.28371C1568.69 6.64805 1569.51 11.2335 1569.37 12.7548C1569 16.5334 1567.65 21.6711 1566.06 21.6711H1565.99C1564.2 21.5141 1563.34 20.0201 1563.18 16.8368C1563.08 14.6651 1563.16 7.14047 1563.18 5.41339ZM1532.46 87.3229C1532.68 87.3229 1532.87 87.1875 1532.96 86.998C1534.42 87.2579 1538.54 88.5356 1540.03 94.7179C1541.42 100.489 1540.26 108.691 1537.45 113.011C1536.44 114.565 1535.3 115.49 1534.07 115.766L1533.78 114.321C1533.74 114.066 1533.51 113.882 1533.25 113.882C1533.25 113.882 1533.25 113.882 1533.25 113.882L1422.39 114.608C1424.26 104.386 1424.37 95.5458 1422.72 87.6201L1532.46 87.3229ZM1534.55 121.603C1534.99 121.614 1545.31 121.9 1546.91 121.9C1546.97 121.9 1547.03 121.917 1547.09 121.922C1547.13 121.933 1547.17 121.949 1547.22 121.949H1547.3C1548.27 122.155 1549.34 123.07 1549.81 123.622C1547.34 124.131 1536.66 125.013 1531.43 125.013C1526.21 125.013 1430.9 123.871 1420.17 123.747C1420.96 122.371 1422.26 119.535 1422.29 115.691L1532.81 114.971L1534.03 121.164C1534.08 121.413 1534.3 121.597 1534.55 121.603ZM1405.12 79.3432C1406.43 79.8036 1407.79 80.2093 1409.18 80.5505C1410.37 80.897 1411.57 81.2004 1412.73 81.498C1415.72 82.2561 1418.55 82.9706 1419.48 84.0262C1420.72 85.4231 1421.42 86.9822 1421.53 87.2421C1423.31 95.2328 1423.23 104.187 1421.29 114.609H1362.59C1366.81 104.972 1366.75 94.4533 1362.4 83.339V79.3762H1405.12V79.3432ZM1356.89 96.689C1356.53 87.1229 1352.52 84.6325 1352.03 84.3621C1351.99 84.2267 1351.93 84.0808 1351.88 83.9344H1354.46C1354.76 83.9344 1355 83.6961 1355 83.3931V78.9594H1361.31V83.4419C1361.31 83.507 1361.33 83.5774 1361.35 83.6425C1365.76 94.8328 1365.78 104.967 1361.42 114.609L1356.31 114.598C1356.53 112.459 1357.2 104.923 1356.89 96.689ZM1356.59 115.68L1363.63 115.691V119.21C1363.63 119.535 1363.37 119.795 1363.05 119.795H1357.17C1356.85 119.795 1356.59 119.535 1356.59 119.21L1356.59 115.68ZM1360.67 40.9488C1367.74 41.1221 1369.31 43.6828 1372.44 48.7769L1372.57 48.9827C1372.76 49.3019 1372.99 49.6704 1373.24 50.0925C1376.92 56.237 1386.01 71.3686 1402.39 78.2927H1362.37C1362.31 78.0544 1362.11 77.8759 1361.86 77.8759H1354.46C1354.16 77.8759 1353.92 78.1195 1353.92 78.4172V82.8509H1351.48C1349.84 78.5957 1346.59 72.2238 1341.48 70.7135C1335 68.7917 1318.59 68.2232 1313.86 68.0935C1316.37 59.6533 1316.41 50.4662 1313.99 40.7704C1337.11 40.8134 1357.63 40.8732 1360.67 40.9488ZM1345.07 79.1699C1342.51 73.3503 1321.94 71.45 1315.14 71.45C1314.44 71.45 1313.16 71.4552 1311.45 71.4663L1312.88 69.1544C1315.52 69.2138 1334.35 69.7282 1341.17 71.7477C1347.32 73.5723 1350.72 83.6577 1351.53 86.3754H1345.69C1345.82 86.2457 1345.93 86.1103 1346.03 85.9586C1346.86 84.6325 1346.56 82.5375 1345.07 79.1699ZM1244.66 68.5213C1244.72 68.4347 1244.75 68.3371 1244.75 68.2342V66.242C1249.69 66.2094 1284.62 65.9874 1289.33 66.242C1293.16 66.4477 1294.92 70.2048 1295.44 71.5744C1275.74 71.7209 1248.04 71.9482 1242.52 71.9965L1244.66 68.5213ZM1244.19 59.6806H1236.56C1233.45 59.6806 1230.92 57.1525 1230.92 54.0448C1230.92 50.9371 1233.45 48.4147 1236.56 48.4147H1244.19C1244.2 48.4147 1244.2 48.4147 1244.2 48.4147C1244.21 48.4147 1244.21 48.4147 1244.21 48.4147H1294.24C1297.35 48.4147 1299.87 50.9376 1299.87 54.0448C1299.87 57.152 1297.35 59.6806 1294.24 59.6806H1244.21C1244.21 59.6806 1244.21 59.6754 1244.2 59.6754C1244.2 59.6754 1244.2 59.6806 1244.19 59.6806ZM1315.14 72.5329C1322.49 72.5329 1341.89 74.639 1344.08 79.6035C1345.38 82.5322 1345.71 84.4215 1345.11 85.3801C1344.73 86.0026 1343.87 86.3276 1342.48 86.3764C1338.94 86.5118 1241.94 85.7538 1233.78 85.6944V75.5435L1240.6 75.1267C1240.8 75.1104 1240.97 74.9912 1241.05 74.818L1241.88 73.0857C1247.02 73.0416 1308.3 72.5329 1315.14 72.5329ZM1312.87 40.7704C1315.34 50.4662 1315.31 59.6371 1312.75 68.0341V68.0667C1312.68 68.0667 1312.62 68.0667 1312.59 68.0614C1312.4 68.0614 1312.22 68.1591 1312.12 68.3213L1310.32 71.2232C1310.27 71.2988 1310.26 71.3854 1310.25 71.472C1306.83 71.4936 1302.05 71.5261 1296.59 71.5639C1296.22 70.4489 1294.32 65.4299 1289.39 65.1595C1284.59 64.8997 1249.89 65.1217 1244.74 65.1595V60.7636H1294.24C1297.95 60.7636 1300.96 57.7483 1300.96 54.0453C1300.96 50.3423 1297.95 47.3322 1294.24 47.3322H1244.75V44.8203H1289.98C1293.07 44.8203 1295.62 41.5231 1296.19 40.7383C1301.75 40.7488 1307.38 40.7594 1312.87 40.7704ZM1294.81 40.7378C1293.9 41.8371 1292.02 43.7369 1289.98 43.7369H1244.54L1243.05 40.6728C1247.73 40.6785 1270.5 40.7 1294.81 40.7378ZM1239.14 37.8579L1241.73 40.4512L1241.99 40.9761C1234.58 41.0034 1232.11 38.6968 1231.39 37.7009L1239.14 37.8579ZM1230.13 37.6737C1230.36 38.2474 1232.28 42.0644 1241.91 42.0644C1242.11 42.0644 1242.31 42.0591 1242.51 42.0534L1243.66 44.403V47.3317H1236.56C1232.86 47.3317 1229.84 50.3418 1229.84 54.0448C1229.84 57.7478 1232.86 60.7631 1236.56 60.7631H1243.66V65.4892C1243.63 65.5543 1243.62 65.6299 1243.62 65.706C1243.62 65.7816 1243.63 65.852 1243.66 65.9171V68.0825L1241.07 72.2563C1241.07 72.2616 1241.07 72.2726 1241.07 72.2779C1241.06 72.2889 1241.05 72.2994 1241.04 72.3104L1240.21 74.0643L1233.21 74.4921C1232.92 74.5084 1232.7 74.7467 1232.7 75.0334V114.023L1230.63 118.17H1219.55L1220.1 108.545L1219.41 37.4569L1230.13 37.6737ZM1219.49 119.253H1230.96C1231.17 119.253 1231.35 119.134 1231.44 118.956L1233.57 114.695L1344.05 115.448L1345.44 123.975L1344.77 124.386L1219.27 123.152L1219.49 119.253ZM1218.16 123.465C1218.14 123.536 1218.11 123.606 1218.11 123.682C1218.11 123.731 1218.13 123.78 1218.14 123.823L1217.73 131.072C1216.94 133.541 1215.17 137.433 1213.71 137.541C1211.82 137.687 1205.92 137.925 1203.59 138.012C1205.78 133.589 1207.24 123.259 1207.43 115.15C1207.61 107.067 1207.04 75.9436 1207.03 75.3808C1207.04 74.8558 1207.5 48.8966 1206.5 39.8884L1206.46 39.4878C1205.55 31.297 1205.15 27.7673 1202.42 26.3541C1203.01 25.9914 1203.86 25.6827 1205.08 25.6502C1208.08 25.5688 1213.08 25.4334 1214.33 26.6949C1215.3 27.6587 1217.24 33.3539 1218.32 36.9865L1219.01 108.518L1218.16 123.465ZM1218.84 130.638L1219.2 124.234L1344.92 125.474C1344.92 125.474 1344.92 125.474 1344.93 125.474C1345.02 125.474 1345.13 125.441 1345.21 125.392L1345.84 124.997L1349.71 131.911L1218.84 130.638ZM1351.1 132.181L1346.55 124.061L1345.04 114.825C1345 114.56 1344.78 114.37 1344.51 114.37L1233.78 113.612V86.7764C1242.08 86.8415 1323.83 87.4746 1339.9 87.4746C1341.31 87.4746 1342.21 87.4694 1342.52 87.4584H1352.25C1352.42 87.4584 1352.57 87.3828 1352.68 87.2526C1352.78 87.1172 1352.81 86.9492 1352.78 86.7869C1352.76 86.7329 1352.72 86.5597 1352.64 86.2946C1353.84 87.6532 1355.58 90.647 1355.81 96.7322C1356.17 106.341 1355.18 114.993 1355.17 115.079C1355.15 115.231 1355.2 115.383 1355.3 115.501C1355.36 115.566 1355.43 115.609 1355.51 115.637V115.821H1350.25C1349.94 115.821 1349.71 116.064 1349.71 116.362V126.453C1349.71 126.513 1349.72 126.578 1349.74 126.637L1352.48 134.233L1351.1 132.181ZM1369.62 132.176C1369.61 132.187 1369.61 132.192 1369.61 132.203C1369.6 132.214 1369.59 132.225 1369.59 132.236C1369 133.502 1367.1 136.832 1365.47 136.994C1363.58 137.184 1356.7 136.859 1354.54 136.745L1350.79 126.357V116.904H1355.51V119.21C1355.51 120.131 1356.26 120.878 1357.17 120.878H1363.05C1363.97 120.878 1364.71 120.131 1364.71 119.21V115.692H1421.2C1421.17 119.941 1419.5 122.833 1418.9 123.731H1375.15C1374.96 123.731 1374.79 123.829 1374.69 123.991L1369.62 132.176ZM1371.05 131.922L1375.45 124.813H1419.18C1420.25 124.83 1525.92 126.096 1531.43 126.096C1534.75 126.096 1550.19 125.235 1551 124.277C1551.1 124.158 1551.16 123.963 1551.13 123.806C1551.06 123.352 1550.43 122.589 1549.59 121.95H1555.03L1567.21 132.198L1371.05 131.922ZM1600.28 117.304C1599.64 117.9 1599.18 118.798 1599.08 120.076C1598.9 122.458 1597.69 131.526 1597.4 133.681L1571.27 134.135L1569.29 132.668C1569.26 132.565 1569.21 132.468 1569.13 132.397L1555.58 120.991C1555.48 120.909 1555.36 120.866 1555.23 120.866H1547.37C1547.21 120.839 1547.06 120.817 1546.91 120.817C1546.13 120.817 1543.12 120.747 1540.27 120.671V115.626C1540.27 114.738 1540.98 114.023 1541.87 114.023H1598.26C1599.38 114.023 1600.28 114.927 1600.28 116.037L1600.28 117.304ZM1602.48 116.352C1602.11 116.384 1601.73 116.471 1601.36 116.617V116.038C1601.36 114.332 1599.97 112.941 1598.26 112.941H1541.87C1540.39 112.941 1539.19 114.143 1539.19 115.626V120.645C1537.37 120.596 1535.75 120.553 1535.01 120.531L1534.28 116.828C1535.8 116.492 1537.18 115.415 1538.36 113.601C1541.31 109.07 1542.54 100.484 1541.08 94.4638C1539.41 87.545 1534.61 86.1754 1533 85.9103V82.9816C1534.88 79.5437 1561.48 30.8472 1562.36 28.8062C1563.18 26.9222 1562.95 24.8271 1562.6 21.6491C1562.54 21.0753 1562.47 20.469 1562.41 19.8248C1562.37 19.5272 1562.35 19.2075 1562.32 18.8773C1562.68 20.7561 1563.57 22.5425 1565.9 22.7483C1565.95 22.7535 1566 22.7535 1566.05 22.7535C1568.21 22.7535 1569.38 18.9151 1569.96 16.0189C1569.64 20.2689 1569.44 22.8349 1569.39 23.3871L1539.71 78.6723C1539.67 78.7374 1539.65 78.813 1539.65 78.8891L1539.6 79.636C1539.37 79.8633 1534.05 85.1202 1534.05 85.1202C1533.89 85.2719 1533.84 85.5044 1533.92 85.7102C1534.01 85.9107 1534.21 86.0457 1534.43 86.0457H1539.19C1539.2 86.1754 1539.24 86.3003 1539.33 86.3922C1539.43 86.5003 1539.58 86.5654 1539.73 86.5654C1539.73 86.5654 1539.73 86.5654 1539.73 86.5654L1597.51 86.0079C1597.81 86.0079 1598.05 85.7643 1598.04 85.4609C1598.04 85.1632 1597.8 84.9249 1597.5 84.9249H1597.5L1540.36 85.4719C1540.35 85.4126 1540.34 85.3475 1540.32 85.2934L1540.72 79.0786L1570.4 23.7987C1570.43 23.7336 1570.46 23.6633 1570.46 23.5877C1570.46 23.5877 1570.52 22.9703 1570.6 21.8065H1596.34C1596.27 22.5157 1596.22 23.2359 1596.22 23.9609C1596.22 28.7033 1597.38 55.1387 1597.84 63.3133C1598.29 71.3686 1598.5 83.0084 1598.5 83.1275C1598.51 83.4199 1598.75 83.6582 1599.05 83.6582C1599.07 83.6582 1601.59 83.6797 1602.04 85.6557C1602.04 85.6772 1602.06 85.6882 1602.06 85.7097C1602.07 85.7208 1602.07 85.737 1602.07 85.7475C1603.33 88.7198 1604.14 92.0002 1604.5 95.5032H1602.57C1602.27 95.5032 1602.03 95.7416 1602.03 96.0445V101.983C1602.03 102.286 1602.27 102.524 1602.57 102.524H1604.65C1604.44 106.704 1603.73 111.235 1602.48 116.352ZM1539.5 81.2598L1539.25 84.9627H1535.75C1536.79 83.9286 1538.47 82.2719 1539.5 81.2598ZM1612.12 96.5862V101.442H1603.11V96.5862H1612.12ZM1615.12 115.837C1613.44 115.913 1606.03 116.232 1603.6 116.308C1604.83 111.224 1605.53 106.704 1605.74 102.524H1612.66C1612.96 102.524 1613.2 102.286 1613.2 101.983V96.0445C1613.2 95.7411 1612.96 95.5032 1612.66 95.5032H1605.59C1605.25 92.1304 1604.5 88.9524 1603.36 86.0452C1605.42 85.9639 1611.09 85.7476 1612.85 85.8016C1614.17 85.8452 1614.81 86.2185 1615.42 86.576C1615.48 86.6085 1615.54 86.6463 1615.59 86.6788C1619.25 96.613 1619.09 106.417 1615.12 115.837ZM1619.47 115.848L1618.47 114.636C1618.42 114.57 1618.36 114.522 1618.29 114.49C1618.24 114.468 1617.63 114.192 1616.83 114.468C1620.11 105.611 1620.13 96.4512 1616.92 87.1722C1618.21 87.3995 1619.52 87.0315 1620.58 86.1218C1620.6 86.1002 1620.65 86.084 1620.68 86.0677C1621.45 86.6362 1623.97 88.6988 1624.29 91.6112C1624.69 95.2549 1624.5 102.563 1624.29 106.309C1624.1 109.519 1622.15 113.975 1619.47 115.848ZM1626.69 115.842C1626.36 115.908 1623.74 115.967 1620.98 116.01C1623.51 113.655 1625.19 109.471 1625.37 106.369C1625.58 102.59 1625.77 95.2003 1625.36 91.4916C1625.07 88.8007 1623.24 86.8085 1622.06 85.7801C1624 85.6719 1627.18 86.1376 1628.25 86.9928C1630.01 88.4002 1630.56 94.7237 1630.74 96.8025C1631.26 102.844 1630.61 114.63 1626.69 115.842Z");
			attr(path29, "fill", "white");
			attr(path29, "fill-opacity", path29_fill_opacity_value = /*highlightParts*/ ctx[0][/*Zones*/ ctx[5].Barrel]);
			attr(path30, "d", "M1239.06 37.8867L1241.66 40.48L1241.91 41.0049C1234.5 41.0322 1232.03 38.7256 1231.31 37.7297L1239.06 37.8867ZM1230.05 37.7025C1230.28 38.2762 1232.2 42.0931 1241.83 42.0931C1242.03 42.0931 1242.23 42.0879 1242.44 42.0822L1243.58 44.4318V47.3605H1236.48C1232.78 47.3605 1229.76 50.3706 1229.76 54.0736C1229.76 57.7766 1232.78 60.7919 1236.48 60.7919H1243.58V65.518C1243.56 65.5831 1243.54 65.6587 1243.54 65.7348C1243.54 65.8104 1243.56 65.8808 1243.58 65.9458V68.1113L1241 72.2851C1240.99 72.2904 1240.99 72.3014 1240.99 72.3067C1240.98 72.3177 1240.97 72.3282 1240.96 72.3392L1240.13 74.0931L1233.13 74.5209C1232.84 74.5372 1232.62 74.7755 1232.62 75.0622V114.052L1230.55 118.199H1219.47L1220.02 108.573L1219.34 37.4857L1230.05 37.7025ZM1026.03 26.3772L1200.67 27.9147H1200.68C1200.9 27.9147 1201.09 27.7851 1201.18 27.5846C1201.19 27.563 1201.26 27.3898 1201.45 27.1625C1204.03 28.2072 1204.39 31.4608 1205.3 39.6358L1205.35 40.0364C1206.27 48.3085 1205.94 71.095 1205.88 74.8684H1185.8C1184.83 72.1832 1181.04 67.6031 1176.89 67.1972C1173.53 66.867 1154.5 66.7101 1144.27 66.6287C1141.56 66.6072 1139.48 66.5909 1138.49 66.5746H1138.42C1133.96 66.5746 1130.15 72.6216 1129.32 74.0347L1105.63 73.8342C1104.9 72.5134 1101.69 67.3595 1095.7 66.8503C1094.22 66.8503 1090.94 66.8125 1086.78 66.7637C1076.01 66.634 1059.72 66.4445 1056.1 66.7096C1051.49 67.0508 1048.92 71.8583 1048.29 73.2006L1028.57 72.8867C1028.5 69.6766 1028.09 52.2656 1028.09 42.5104C1028.09 33.085 1026.2 28.1205 1025.64 26.8375L1026.03 26.3772ZM1184.81 75.312C1183.43 77.1472 1179.13 78.8255 1176.17 79.0853C1173.09 79.3504 1152.56 79.4969 1142.83 79.4265C1134.93 79.3725 1131.17 75.5666 1130.28 74.5324C1131.11 73.1571 1134.64 67.6572 1138.42 67.6572H1138.47C1139.46 67.6734 1141.55 67.6897 1144.27 67.7112C1154.47 67.7925 1173.48 67.9495 1176.78 68.2744C1180.5 68.6367 1184.01 72.9623 1184.81 75.312ZM1104.67 74.3319C1103.37 76.1241 1099.82 78.5221 1097.02 78.457C1096.1 78.4355 1093.14 78.4785 1089.04 78.5383C1079.3 78.6737 1062.99 78.9011 1058.78 78.4627C1053.9 77.954 1050.23 74.5813 1049.28 73.639C1049.87 72.4211 1052.23 68.0845 1056.18 67.7921C1059.75 67.527 1076.01 67.7164 1086.77 67.8461C1090.93 67.8949 1094.2 67.9328 1095.65 67.9275C1100.98 68.3821 1103.99 73.1356 1104.67 74.3319ZM1021.14 25.4512C1023.03 25.5594 1024.31 26.8155 1024.55 27.0591C1024.82 27.6439 1027.01 32.57 1027.01 42.5099C1027.01 52.2278 1027.41 69.5354 1027.48 72.8704L1016.76 72.6972C1016.71 68.9129 1016.47 45.8775 1016.35 38.6988C1016.23 32.0724 1013.8 27.5195 1012.91 26.0633C1014.29 25.646 1018.9 25.3158 1021.14 25.4512ZM1012.23 27.0481C1013.19 28.7642 1015.16 32.9601 1015.26 38.7204C1015.39 45.8775 1015.63 68.8152 1015.68 72.6809L1014.35 72.6594C1014.44 68.5018 1014.9 43.333 1014.06 38.6122C1013.34 34.5574 1011.29 33.1716 1010.28 32.7275C1010.89 30.8702 1011.72 28.3799 1012.23 27.0481ZM1004.44 33.7343L1009.55 33.6047C1009.89 33.7023 1012.23 34.5034 1012.99 38.8017C1013.8 43.3656 1013.35 68.6262 1013.27 72.6431L1004.44 72.5024V33.7343ZM956.536 10.6608C956.622 10.6608 956.709 10.6392 956.784 10.5957C956.828 10.5741 961.37 8.24073 968.781 10.2277C968.83 10.2387 968.873 10.244 968.922 10.244H972.3V11.7327C972.3 11.8791 972.36 12.0141 972.463 12.117C972.565 12.2198 972.728 12.2739 972.847 12.2739C972.912 12.2739 975.527 12.2524 978.98 12.2361V18.5271C978.98 20.3896 978.25 22.1382 976.928 23.4538C975.618 24.753 973.88 25.4675 972.04 25.4675H971.991L884.505 24.8774V21.0443C886.887 21.0553 896.225 21.0821 897.568 21.0443C898.245 21.039 898.683 21.407 899.214 21.8453C899.685 22.2353 900.178 22.6412 900.838 22.7656C901.282 22.8522 902.765 22.8795 904.53 22.8795C907.664 22.8795 911.687 22.7929 912.358 22.7766H912.363C912.558 22.7713 931.923 21.9918 937.304 21.6721C942.339 21.3745 943.406 19.0574 943.611 18.3644C944.152 17.7906 946.518 15.0457 946.562 10.7526L956.536 10.6608ZM934.805 26.3011C932.618 27.362 929.072 28.9106 926.69 29.035C923.204 29.2193 888.718 29.0623 883.759 29.0403C883.889 27.8602 884.073 26.7284 884.338 25.9599L934.805 26.3011ZM913.589 21.6453L915.635 19.3172L942.271 18.6515C941.767 19.3555 940.473 20.4001 937.241 20.5896C932.672 20.8605 917.995 21.4668 913.589 21.6453ZM918.547 11.0182L945.481 10.7636C945.464 12.0576 945.216 13.1999 944.863 14.1632L917.605 14.905C918.185 13.7249 918.521 12.4093 918.547 11.0182ZM914.725 4.76555C916.404 6.26531 917.47 8.43597 917.47 10.856C917.47 13.276 916.404 15.4467 914.725 16.9465V4.76555ZM912.262 3.25472C912.75 3.44423 913.21 3.67685 913.643 3.95298V17.7634C913.21 18.0342 912.75 18.2721 912.262 18.4616V3.25472ZM909.442 2.69726C910.037 2.70826 910.622 2.78388 911.179 2.91404V18.798C910.622 18.9277 910.037 19.009 909.442 19.0148V2.69726ZM908.359 2.75129V18.9655C907.747 18.8899 907.157 18.7487 906.589 18.5487C906.589 18.5434 906.594 18.5324 906.594 18.5271V3.24947C906.594 3.22219 906.583 3.19543 906.578 3.16815C907.146 2.96812 907.742 2.82164 908.359 2.75129ZM903.844 4.80334C904.347 4.34872 904.905 3.94814 905.511 3.62847V18.083C904.905 17.7638 904.347 17.3685 903.844 16.9082V4.80334ZM902.81 17.4336C904.483 19.0846 906.778 20.1082 909.306 20.1082C912.506 20.1082 915.327 18.4735 916.989 15.9937C917.01 15.999 917.026 16.0047 917.042 16.0047H917.059L944.403 15.2577C943.819 16.4488 943.164 17.2446 942.882 17.5532L915.37 18.2409C915.223 18.2462 915.077 18.3113 914.98 18.4252L912.094 21.7003C908.017 21.7922 901.873 21.8626 901.045 21.7056C900.655 21.63 900.308 21.3429 899.908 21.0127C899.88 20.9964 899.859 20.9748 899.837 20.9533C901.359 20.0862 902.333 18.4242 902.81 17.4336ZM902.761 5.99445V15.7228C901.743 14.3585 901.137 12.6802 901.137 10.856C901.137 9.03176 901.743 7.35305 902.761 5.99445ZM884.111 12.1931L900.157 12.1552C900.352 13.5196 900.839 14.7915 901.559 15.896L883.932 15.5333L884.111 12.1931ZM877.16 4.54351C878.773 5.62646 881.75 7.71051 882.503 8.58195C882.692 9.11792 882.622 10.6392 882.503 11.5867C882.481 11.7384 882.53 11.8954 882.633 12.0088C882.736 12.1227 882.876 12.1873 883.022 12.1931L882.854 15.4955L876.791 15.1816L876.466 6.09732L877.16 4.54351ZM883.385 19.0196C883.093 18.8028 882.725 18.7161 882.367 18.7812C882.01 18.8516 881.696 19.0626 881.501 19.366L880.765 20.5193H874.956L875.118 9.10688L875.464 8.33263L875.73 15.7113C875.735 15.9927 875.962 16.22 876.238 16.2363L883.336 16.6043H883.352L901.823 16.9833C901.347 17.9687 900.318 19.6847 898.802 20.2479C898.44 20.0694 898.028 19.9445 897.541 19.9608C896.204 19.9986 886.502 19.9718 884.38 19.9608C884.288 19.766 884.153 19.5871 883.969 19.4521L883.385 19.0196ZM882.909 34.6168C883.202 34.6168 883.44 34.3785 883.445 34.0861C883.445 34.0483 883.478 32.1643 883.651 30.1233C884.777 30.1285 887.581 30.1396 891.263 30.1558C889.449 30.5458 888.09 32.1643 888.09 34.0914C888.09 36.3109 889.899 38.1193 892.118 38.1193C894.344 38.1193 896.152 36.3114 896.152 34.0914C896.152 32.1695 894.798 30.5616 893.001 30.1611C899.113 30.1826 907.028 30.2041 913.692 30.2041C920.167 30.2041 925.462 30.1826 926.75 30.1175C930.383 29.928 936.203 26.8313 937.155 26.3169L971.982 26.5495H972.042C974.174 26.5495 976.177 25.7264 977.693 24.2214C979.22 22.7001 980.065 20.6806 980.065 18.5262V12.2299C984.888 12.2136 990.887 12.2189 993.929 12.3165C999.137 12.4897 1001.58 14.1355 1001.83 17.6652C1002.11 21.3898 1002.34 30.2194 1002.34 30.3118C1002.34 30.3659 1002.35 30.4199 1002.37 30.474L1003.35 33.2946V72.4847L945.515 71.5587H945.461C944.519 71.5587 943.636 71.9215 942.965 72.5819C942.564 72.9772 942.272 73.4533 942.093 73.973C941.698 73.7132 941.232 73.5725 940.745 73.5725H928.575C928.093 73.5725 927.709 73.1935 927.698 72.7116L927.519 63.2535C927.471 60.958 925.581 59.1122 923.291 59.1122H923.237L900.305 59.4477C900.045 58.3594 899.06 57.5473 897.901 57.5473C896.715 57.5473 895.725 58.3867 895.486 59.518L890.084 59.5936C889.889 59.6046 889.742 59.5286 889.618 59.4094C889.494 59.285 889.428 59.117 889.428 58.9438C889.434 57.9532 889.423 56.5778 889.391 54.8454C889.342 52.1115 889.131 49.3178 888.286 46.7465C888.34 46.6652 888.378 46.5733 888.378 46.4651C888.378 46.2326 888.221 46.0373 888.004 45.9617C887.468 44.5868 886.738 43.2871 885.709 42.1017C883.64 39.7253 882.109 36.1305 881.519 34.6254C882.33 34.6221 882.806 34.6168 882.909 34.6168ZM892.118 31.1411C893.742 31.1411 895.069 32.4677 895.069 34.0919C895.069 35.716 893.742 37.0368 892.118 37.0368C890.494 37.0368 889.173 35.716 889.173 34.0919C889.173 32.4672 890.494 31.1411 892.118 31.1411ZM928.709 141.429L927.718 74.4564C927.978 74.5808 928.265 74.6568 928.574 74.6568H940.744C941.123 74.6568 941.48 74.8028 941.746 75.0736C942.011 75.3445 942.157 75.7015 942.157 76.0805L941.74 147.585C941.74 147.596 941.735 147.601 941.735 147.607L941.204 150.801C941.139 151.175 940.917 151.489 940.587 151.672C940.262 151.851 939.873 151.873 939.526 151.726L930.127 147.791C929.278 147.428 928.725 146.6 928.725 145.674V141.5C928.725 141.473 928.715 141.451 928.709 141.429ZM871.941 86.0362H884.55L748.4 87.0704V84.1038L852.213 84.5642C852.219 84.5642 852.219 84.5642 852.219 84.5642C852.5 84.5642 852.738 84.3422 852.76 84.0608C852.765 83.9957 853.485 77.8349 871.399 78.8255V85.4949C871.399 85.7979 871.638 86.0362 871.941 86.0362ZM872.482 84.9537V66.6172H886.195C886.601 66.6172 886.986 66.7795 887.273 67.0719C887.56 67.3643 887.711 67.7538 887.706 68.1654L887.343 83.3942C887.321 84.2551 886.601 84.9533 885.741 84.9533L872.482 84.9537ZM888.425 83.4161L888.788 68.1926C888.804 67.4887 888.539 66.823 888.047 66.3139C887.554 65.8104 886.899 65.5343 886.195 65.5343H872.482V61.9127C872.482 60.8029 871.686 59.8391 870.587 59.6281C870.138 59.5414 869.564 59.4496 868.887 59.3845C868.915 59.3252 868.931 59.2548 868.931 59.1787L869.261 47.0844L870.474 47.0791V57.3435C870.474 57.6464 870.717 57.8847 871.015 57.8847H887.191C887.332 57.8847 887.473 57.8307 887.576 57.7225C887.678 57.6196 887.733 57.4789 887.733 57.3325L887.532 48.0319C888.106 50.2189 888.263 52.5633 888.306 54.8694C888.339 56.5912 888.349 57.9608 888.344 58.9351C888.339 59.406 888.523 59.8501 888.853 60.1803C889.188 60.5105 889.627 60.6732 890.103 60.6785L898.424 60.5593L899.843 60.5378C899.848 60.5378 899.848 60.5378 899.848 60.5378L923.246 60.1966C924.767 60.175 926.077 61.2685 926.369 62.7248L892.685 62.7032C892.68 62.7032 892.68 62.7032 892.68 62.7032C891.992 62.7032 891.343 62.9683 890.856 63.456C890.369 63.9431 890.103 64.593 890.103 65.2802V85.0078C890.103 85.5548 889.659 85.9984 889.113 86.0042L885.837 86.0314C887.24 85.9769 888.393 84.8288 888.425 83.4161ZM896.611 59.4984C896.817 58.9949 897.32 58.6322 897.9 58.6322C898.468 58.6322 898.961 58.9734 899.177 59.4658L898.143 59.4769L896.611 59.4984ZM452.977 87.9092C453.378 88.0284 453.762 88.1639 454.103 88.2993V90.5188C454.103 90.6647 454.157 90.8001 454.26 90.903C454.363 91.0059 454.499 91.06 454.645 91.06C454.645 91.06 454.645 91.06 454.65 91.06L460.697 91.0006C460.096 92.4784 459.154 93.9672 458.585 93.9834C457.151 94.0375 454.861 93.8317 453.513 93.4097C453.059 93.269 452.755 90.8925 452.977 87.9092ZM449.442 87.8174C449.946 87.4331 450.909 87.4494 451.916 87.6441C451.727 89.8421 451.602 93.9514 453.194 94.4438C454.553 94.8716 456.648 95.0774 458.148 95.0774C458.316 95.0774 458.473 95.0722 458.624 95.0664C460.286 95.0123 461.585 91.7262 461.829 91.0658C461.84 91.0385 461.84 91.0117 461.845 90.9901L594.574 89.642C595.332 89.6368 596.057 89.3497 596.62 88.8353L615.519 71.5276C615.985 71.0998 616.591 70.862 617.225 70.8562L735.975 69.5029C738.677 69.4756 740.912 67.3863 741.183 64.7495L853.41 65.7673C853.415 65.7673 853.415 65.7673 853.415 65.7673C853.589 65.7673 853.751 65.686 853.854 65.5453C853.875 65.518 856.138 62.5405 861.758 61.0465C865.596 60.0286 868.812 60.3861 870.382 60.689C870.972 60.8029 871.4 61.3169 871.4 61.9127V77.7373C860.345 77.1309 855.505 79.226 853.393 81.1048C852.354 82.036 851.942 82.9348 851.78 83.4813L748.4 83.0209V72.3665C748.4 72.0689 748.161 71.8253 747.858 71.8253H720.492C720.481 71.8253 720.47 71.8305 720.459 71.8305C720.042 71.576 719.561 71.4405 719.052 71.4352L693.385 71.7927C691.951 71.8143 690.787 73.0001 690.787 74.4291V75.9394C690.787 77.3903 691.967 78.5756 693.423 78.5756H708.609L712.642 93.2737L695.194 98.1028C694.907 98.1841 694.734 98.4765 694.815 98.7632L696.147 103.776C690.793 105.033 678.276 107.961 663.009 111.513L659.561 108.183C658.9 107.539 657.969 107.279 657.07 107.485C648.826 109.374 576.227 125.984 566.981 127.489C562.91 128.149 558.145 126.964 554.848 124.463C551.898 122.227 550.111 119.021 549.678 115.2C549.131 110.327 551.248 106.668 553.121 104.459C556.467 100.507 561.155 98.5416 564.101 98.3846C569.574 98.0922 592.149 97.8056 596.621 97.7511C597.227 97.74 597.801 97.5022 598.234 97.0744L616.825 78.5704C617.052 78.3378 617.398 78.2129 617.696 78.2129L687.447 78.6948C688.302 78.7001 689.114 78.3699 689.726 77.7635C690.332 77.1572 690.673 76.3504 690.673 75.49V72.5938C690.673 72.4531 690.614 72.3124 690.511 72.2095C690.408 72.1119 690.279 72.0688 690.127 72.0526L617.069 72.5072C616.348 72.5125 615.672 72.7996 615.168 73.3083L595.895 92.8034C595.787 92.9115 595.641 92.9656 595.5 92.9656C591.905 92.9115 573.493 92.6895 564.117 93.5288C557.691 94.1026 551.01 97.941 547.085 103.311C544.059 107.464 542.993 112.049 544.005 116.575C545.732 124.268 553.165 134.554 564.111 134.554C565.053 134.554 566.022 134.478 567.013 134.315C578.874 132.399 697.988 104.459 699.195 104.177L728.5 97.1715C728.706 97.1227 728.862 96.9605 728.9 96.7495C729.187 95.3148 730.389 91.5577 732.463 91.4275C734.764 91.2816 742.998 91.0217 746.435 90.9188C747.54 90.8863 748.401 89.9928 748.401 88.8831V88.1524L889.125 87.0857C890.262 87.0747 891.188 86.1434 891.188 85.0069V65.2793C891.188 64.884 891.345 64.5049 891.626 64.2236C891.908 63.9422 892.282 63.7852 892.682 63.7852L926.447 63.8068L926.599 71.9492V71.9545L927.639 142.387C927.671 144.347 926.155 145.949 924.195 146.031L715.209 154.736C713.699 154.801 712.4 155.813 711.977 157.264L710.829 161.14C710.456 162.418 709.308 163.306 707.976 163.355L668.629 164.838L666.561 162.331C667.146 159.067 664.71 157.383 663.292 156.945C663.232 156.929 663.167 156.923 663.102 156.923C662.241 156.966 576.661 161.162 575.037 161.162C573.429 161.162 468.246 163.528 459.118 163.734L448.085 88.7161C448.554 88.4347 449.025 88.1313 449.442 87.8174ZM725.624 90.4972C723.545 90.9734 715.744 92.5923 713.692 93.0201L709.729 78.5762H719.09C720.541 78.5762 721.726 77.3903 721.726 75.9398V74.072C721.726 73.6605 721.618 73.2652 721.445 72.9082H747.317V88.884C747.317 89.4037 746.916 89.8205 746.397 89.8368C742.959 89.9397 734.714 90.1996 732.391 90.3456C730.957 90.4374 729.923 91.5582 729.208 92.8196C728.639 91.6342 727.518 90.0694 725.624 90.4972ZM728.574 94.1461C728.233 94.996 728.017 95.7704 727.914 96.1982L698.945 103.122C698.864 103.144 698.258 103.284 697.202 103.534L695.994 99.0077L713.432 94.1787C713.79 94.1031 723.502 92.0946 725.862 91.5529C727.497 91.1792 728.369 93.502 728.574 94.1461ZM693.423 77.4937C692.568 77.4937 691.869 76.7955 691.869 75.9398V74.4295C691.869 73.5849 692.557 72.8919 693.401 72.8757L719.068 72.5182C719.468 72.5019 719.88 72.6699 720.177 72.9676C720.475 73.2599 720.643 73.6552 720.643 74.072V75.9398C720.643 76.795 719.945 77.4937 719.089 77.4937H693.423ZM548.605 115.319C549.066 119.445 550.998 122.904 554.192 125.329C557.771 128.036 562.735 129.276 567.153 128.556C576.432 127.045 649.063 110.431 657.313 108.541C657.849 108.416 658.412 108.573 658.807 108.958L661.752 111.806C625.372 120.267 574.369 132.031 566.838 133.249C554.993 135.166 546.84 124.289 545.059 116.342C543.868 111.015 545.979 106.663 547.961 103.95C551.648 98.8991 558.176 95.142 564.207 94.606C569.919 94.0973 579.019 93.9834 586.041 93.9834C590.481 93.9834 594.091 94.0265 595.483 94.0485C595.916 94.0432 596.354 93.8806 596.663 93.5614L615.936 74.072C616.239 73.7634 616.645 73.5959 617.073 73.5902L689.59 73.1408V75.4904C689.59 76.059 689.363 76.5949 688.962 76.9955C688.556 77.396 688.021 77.6234 687.452 77.6128L617.707 77.131C617.111 77.1362 616.494 77.3692 616.056 77.8023L597.465 96.3063C597.238 96.5336 596.929 96.6638 596.61 96.6691C592.133 96.7231 569.541 97.0155 564.041 97.3027C560.771 97.4759 555.866 99.5384 552.293 103.761C550.284 106.132 548.01 110.063 548.605 115.319ZM714.331 165.12C712.809 164.947 711.9 164.438 711.559 164.205C711.521 163.783 711.445 163.257 711.315 162.613C711.553 162.262 711.743 161.872 711.867 161.449L713.01 157.568C713.172 157.021 713.524 156.566 713.974 156.252L714.331 165.12ZM443.795 89.2846C444.31 89.6421 444.624 89.9665 444.656 90.0048C444.813 90.178 445.057 90.2321 445.268 90.1402C445.327 90.1187 446.113 89.7775 447.071 89.2741L458.115 164.362C458.12 164.384 458.131 164.4 458.136 164.422C458.147 164.465 458.163 164.508 458.185 164.546C458.19 164.557 458.19 164.573 458.201 164.584L459.603 166.69L458.596 166.907L456.859 164.611C456.307 161.623 446.497 108.303 444.808 99.4948C443.622 93.3125 443.666 90.4321 443.795 89.2846ZM1202.14 138.279C1202.09 138.338 1202.06 138.414 1202.04 138.501C1202.04 138.512 1202.04 138.528 1202.04 138.539C1202.04 138.544 1202.03 138.544 1202.03 138.55C1202.03 138.566 1201.72 139.762 1197.67 140.157L1191.95 140.715C1132.66 146.518 1100 149.664 1094.89 150.059C1090.66 150.389 1072.64 151.829 1053.57 153.345C1033.28 154.964 1012.3 156.637 1008.55 156.924C1001.19 157.492 989.245 160.568 981.255 163.031C972.62 165.689 966.459 166.263 958.702 166.782C951.095 167.297 941.924 164.698 939.559 157.812L942.683 153.643C942.753 153.552 942.791 153.438 942.791 153.324L943.24 76.0863C943.24 75.7073 943.154 75.3502 942.997 75.0143C943.023 74.3864 943.273 73.8017 943.727 73.3523C944.204 72.8867 944.821 72.6321 945.497 72.6431L1013.79 73.7366C1013.79 73.7366 1013.8 73.7366 1013.8 73.7366L1048.4 74.2836C1049.24 75.166 1053.18 78.9666 1058.67 79.5404C1062.94 79.9845 1078.65 79.7677 1089.05 79.6218C1092.99 79.5677 1096.1 79.5241 1097 79.5404C1100.24 79.6107 1104.16 76.8931 1105.59 74.9119L1129.36 75.1177C1130.21 76.1844 1134.15 80.4448 1142.83 80.5099C1152.81 80.5803 1173.09 80.4396 1176.26 80.1635C1179.51 79.8821 1184.1 78.0468 1185.69 75.9513H1205.88C1205.96 80.1309 1206.43 107.644 1206.27 115.158C1206.07 123.673 1204.48 134.619 1202.14 138.279ZM1218.08 123.494C1218.06 123.564 1218.04 123.635 1218.04 123.711C1218.04 123.76 1218.05 123.808 1218.06 123.851L1217.65 131.1C1216.86 133.569 1215.1 137.462 1213.63 137.57C1211.74 137.716 1205.84 137.954 1203.51 138.041C1205.7 133.618 1207.16 123.288 1207.35 115.179C1207.53 107.096 1206.96 75.9724 1206.95 75.4096C1206.96 74.8846 1207.42 48.9254 1206.42 39.9172L1206.38 39.5166C1205.47 31.3258 1205.07 27.7961 1202.34 26.3829C1202.93 26.0202 1203.78 25.7115 1205 25.679C1208 25.5976 1213 25.4622 1214.26 26.7237C1215.22 27.6875 1217.16 33.3827 1218.25 37.0153L1218.93 108.547L1218.08 123.494Z");
			attr(path30, "fill", "white");
			attr(path30, "fill-opacity", path30_fill_opacity_value = /*highlightParts*/ ctx[0][/*Zones*/ ctx[5].Receiver]);
			attr(svg, "viewBox", "0 0 1632 500");
			attr(svg, "fill", "none");
			attr(svg, "xmlns", "http://www.w3.org/2000/svg");
			attr(div, "class", "blueprint-weapon-ak svelte-1vmv3jl");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, svg);
			append(svg, path0);
			append(svg, path1);
			append(svg, path2);
			append(svg, path3);
			append(svg, path4);
			append(svg, path5);
			append(svg, path6);
			append(svg, path7);
			append(svg, path8);
			append(svg, path9);
			append(svg, path10);
			append(svg, path11);
			append(svg, path12);
			append(svg, path13);
			append(svg, path14);
			append(svg, path15);
			append(svg, path16);
			append(svg, path17);
			append(svg, path18);
			append(svg, path19);
			append(svg, path20);
			append(svg, path21);
			append(svg, path22);
			append(svg, path23);
			append(svg, path24);
			append(svg, path25);
			append(svg, path26);
			append(svg, path27);
			append(svg, path28);
			append(svg, path29);
			append(svg, path30);
			append(div, t);
			if (if_block) if_block.m(div, null);
		},
		p(ctx, [dirty]) {
			if (dirty & /*highlightParts*/ 1 && path24_fill_opacity_value !== (path24_fill_opacity_value = /*highlightParts*/ ctx[0][/*Zones*/ ctx[5].Buttstock])) {
				attr(path24, "fill-opacity", path24_fill_opacity_value);
			}

			if (dirty & /*highlightParts*/ 1 && path25_fill_opacity_value !== (path25_fill_opacity_value = /*highlightParts*/ ctx[0][/*Zones*/ ctx[5].Buttstock])) {
				attr(path25, "fill-opacity", path25_fill_opacity_value);
			}

			if (dirty & /*highlightParts*/ 1 && path26_fill_opacity_value !== (path26_fill_opacity_value = /*highlightParts*/ ctx[0][/*Zones*/ ctx[5].Cover])) {
				attr(path26, "fill-opacity", path26_fill_opacity_value);
			}

			if (dirty & /*highlightParts*/ 1 && path27_fill_opacity_value !== (path27_fill_opacity_value = /*highlightParts*/ ctx[0][/*Zones*/ ctx[5].Handle])) {
				attr(path27, "fill-opacity", path27_fill_opacity_value);
			}

			if (dirty & /*highlightParts*/ 1 && path28_fill_opacity_value !== (path28_fill_opacity_value = /*highlightParts*/ ctx[0][/*Zones*/ ctx[5].Handle])) {
				attr(path28, "fill-opacity", path28_fill_opacity_value);
			}

			if (dirty & /*highlightParts*/ 1 && path29_fill_opacity_value !== (path29_fill_opacity_value = /*highlightParts*/ ctx[0][/*Zones*/ ctx[5].Barrel])) {
				attr(path29, "fill-opacity", path29_fill_opacity_value);
			}

			if (dirty & /*highlightParts*/ 1 && path30_fill_opacity_value !== (path30_fill_opacity_value = /*highlightParts*/ ctx[0][/*Zones*/ ctx[5].Receiver])) {
				attr(path30, "fill-opacity", path30_fill_opacity_value);
			}

			if (/*currentZoneIndex*/ ctx[4] >= 0) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = ak_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			if (if_block) if_block.d();
		}
	};
}

function ak_index_svelte_instance($$self, $$props, $$invalidate) {
	const Zones = {
		Buttstock: 'buttstock',
		Handle: 'handle',
		Cover: 'cover',
		Receiver: 'receiver',
		Barrel: 'barrel'
	};

	const highlightParts = {
		[Zones.Buttstock]: 0,
		[Zones.Handle]: 0,
		[Zones.Cover]: 0,
		[Zones.Receiver]: 0,
		[Zones.Barrel]: 0
	};

	const zonesOrder = (0,lodash.shuffle)(Object.values(Zones));
	let zoneWidth = 0;
	let zoneHeight = 0;
	let zoneNode = null;
	let currentZoneIndex = 0;

	const fillZone = () => {
		$$invalidate(0, highlightParts[zonesOrder[currentZoneIndex]] = 0.5, highlightParts);

		if (currentZoneIndex + 1 >= zonesOrder.length) {
			$$invalidate(4, currentZoneIndex = -1);
			sendClientMessage('blueprint.complete');
			return;
		}

		$$invalidate(4, currentZoneIndex += 1);
	};

	afterUpdate(() => {
		if (!(0,lodash.isNil)(zoneNode) && !(0,lodash.isNil)(zoneNode.offsetWidth) && !(0,lodash.isNil)(zoneNode.offsetHeight)) {
			$$invalidate(1, zoneWidth = zoneNode.offsetWidth);
			$$invalidate(2, zoneHeight = zoneNode.offsetHeight);
		}
	});

	function div_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			zoneNode = $$value;
			$$invalidate(3, zoneNode);
		});
	}

	return [
		highlightParts,
		zoneWidth,
		zoneHeight,
		zoneNode,
		currentZoneIndex,
		Zones,
		zonesOrder,
		fillZone,
		div_binding
	];
}

class Ak extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, ak_index_svelte_instance, ak_index_svelte_create_fragment, safe_not_equal, {}, ak_index_svelte_add_css);
	}
}

/* harmony default export */ const ak_index_svelte = (Ak);
;// CONCATENATED MODULE: ./src/views/blueprint/constants.js
function blueprint_constants_typeof(o) { "@babel/helpers - typeof"; return blueprint_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, blueprint_constants_typeof(o); }
function blueprint_constants_defineProperty(e, r, t) { return (r = blueprint_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function blueprint_constants_toPropertyKey(t) { var i = blueprint_constants_toPrimitive(t, "string"); return "symbol" == blueprint_constants_typeof(i) ? i : i + ""; }
function blueprint_constants_toPrimitive(t, r) { if ("object" != blueprint_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != blueprint_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }



var BlueprintWeaponId = {
  Rpg: 'rpg',
  Pm: 'pm',
  Ak: 'ak'
};
var MAP_WEAPON_ID_TO_SVG = blueprint_constants_defineProperty(blueprint_constants_defineProperty(blueprint_constants_defineProperty({}, BlueprintWeaponId.Rpg, rpg_index_svelte), BlueprintWeaponId.Pm, pm_index_svelte), BlueprintWeaponId.Ak, ak_index_svelte);
;// CONCATENATED MODULE: ./src/views/blueprint/index.svelte
/* src\views\blueprint\index.svelte generated by Svelte v3.49.0 */









function blueprint_index_svelte_create_fragment(ctx) {
	let div14;
	let div0;
	let t0_value = /*information*/ ctx[0].title + "";
	let t0;
	let t1;
	let div4;
	let t6;
	let div11;
	let div5;
	let t8;
	let div10;
	let div7;
	let i1;
	let t9;
	let div6;
	let t10_value = formatMoney(/*information*/ ctx[0].money) + "";
	let t10;
	let t11;
	let div9;
	let img;
	let img_src_value;
	let t12;
	let div8;
	let t13_value = /*information*/ ctx[0].drafts + "";
	let t13;
	let t14;
	let span;
	let t16;
	let div12;
	let t17;
	let div13;
	let switch_instance;
	let div13_class_value;
	let current;
	var switch_value = MAP_WEAPON_ID_TO_SVG[/*information*/ ctx[0].weaponId];

	function switch_props(ctx) {
		return {};
	}

	if (switch_value) {
		switch_instance = new switch_value(switch_props(ctx));
	}

	return {
		c() {
			div14 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			div4 = internal_element("div");

			div4.innerHTML = `<div class="blueprint__info-title"><i class="blueprint__info-title-icon icon-information-cirlce"></i> 
            <div class="blueprint__info-title-caption">ИНФОРМАЦИЯ</div></div> 
        <div class="blueprint__info-description">Кликайте на выделенную область для восстановления чертежа</div>`;

			t6 = space();
			div11 = internal_element("div");
			div5 = internal_element("div");
			div5.textContent = "Вы получаете";
			t8 = space();
			div10 = internal_element("div");
			div7 = internal_element("div");
			i1 = internal_element("i");
			t9 = space();
			div6 = internal_element("div");
			t10 = internal_text(t10_value);
			t11 = space();
			div9 = internal_element("div");
			img = internal_element("img");
			t12 = space();
			div8 = internal_element("div");
			t13 = internal_text(t13_value);
			t14 = space();
			span = internal_element("span");
			span.textContent = "чертёж";
			t16 = space();
			div12 = internal_element("div");
			t17 = space();
			div13 = internal_element("div");
			if (switch_instance) create_component(switch_instance.$$.fragment);
			attr(div0, "class", "blueprint__title");
			attr(div4, "class", "blueprint__info");
			attr(div5, "class", "blueprint__reward-title");
			attr(i1, "class", "blueprint__reward-icon icon-rub-circle");
			attr(div6, "class", "blueprint__reward-value");
			attr(div7, "class", "blueprint__reward");
			attr(img, "class", "blueprint__drafts-image");
			if (!src_url_equal(img.src, img_src_value = drafts_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "draft");
			attr(span, "class", "blueprint__reward-value blueprint__reward-value--grey");
			attr(div8, "class", "blueprint__reward-value");
			attr(div9, "class", "blueprint__reward");
			attr(div10, "class", "blueprint__rewards-row");
			attr(div11, "class", "blueprint__rewards");
			attr(div12, "class", "blueprint__cells");
			attr(div13, "class", div13_class_value = "blueprint__weapon blueprint__weapon--" + /*information*/ ctx[0].weaponId);
			attr(div14, "class", "blueprint");
		},
		m(target, anchor) {
			insert(target, div14, anchor);
			append(div14, div0);
			append(div0, t0);
			append(div14, t1);
			append(div14, div4);
			append(div14, t6);
			append(div14, div11);
			append(div11, div5);
			append(div11, t8);
			append(div11, div10);
			append(div10, div7);
			append(div7, i1);
			append(div7, t9);
			append(div7, div6);
			append(div6, t10);
			append(div10, t11);
			append(div10, div9);
			append(div9, img);
			append(div9, t12);
			append(div9, div8);
			append(div8, t13);
			append(div8, t14);
			append(div8, span);
			append(div14, t16);
			append(div14, div12);
			append(div14, t17);
			append(div14, div13);

			if (switch_instance) {
				mount_component(switch_instance, div13, null);
			}

			current = true;
		},
		p(ctx, [dirty]) {
			if ((!current || dirty & /*information*/ 1) && t0_value !== (t0_value = /*information*/ ctx[0].title + "")) set_data(t0, t0_value);
			if ((!current || dirty & /*information*/ 1) && t10_value !== (t10_value = formatMoney(/*information*/ ctx[0].money) + "")) set_data(t10, t10_value);
			if ((!current || dirty & /*information*/ 1) && t13_value !== (t13_value = /*information*/ ctx[0].drafts + "")) set_data(t13, t13_value);

			if (switch_value !== (switch_value = MAP_WEAPON_ID_TO_SVG[/*information*/ ctx[0].weaponId])) {
				if (switch_instance) {
					group_outros();
					const old_component = switch_instance;

					transition_out(old_component.$$.fragment, 1, 0, () => {
						destroy_component(old_component, 1);
					});

					check_outros();
				}

				if (switch_value) {
					switch_instance = new switch_value(switch_props(ctx));
					create_component(switch_instance.$$.fragment);
					transition_in(switch_instance.$$.fragment, 1);
					mount_component(switch_instance, div13, null);
				} else {
					switch_instance = null;
				}
			} else if (switch_value) {
				
			}

			if (!current || dirty & /*information*/ 1 && div13_class_value !== (div13_class_value = "blueprint__weapon blueprint__weapon--" + /*information*/ ctx[0].weaponId)) {
				attr(div13, "class", div13_class_value);
			}
		},
		i(local) {
			if (current) return;
			if (switch_instance) transition_in(switch_instance.$$.fragment, local);
			current = true;
		},
		o(local) {
			if (switch_instance) transition_out(switch_instance.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div14);
			if (switch_instance) destroy_component(switch_instance);
		}
	};
}

function blueprint_index_svelte_instance($$self, $$props, $$invalidate) {
	let information = {};

	const initializeInformation = informationDto => {
		$$invalidate(0, information = informationDto);
	};

	const unregisterFadeScreenInitialize = registerEvent('event.blueprint.initializeInformation', initializeInformation);

	onDestroy(() => {
		unregisterFadeScreenInitialize();
	});

	return [information];
}

class Blueprint extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, blueprint_index_svelte_instance, blueprint_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const blueprint_index_svelte = (Blueprint);
;// CONCATENATED MODULE: ./src/views/daily-reward/img/rarity.svelte
/* src\views\daily-reward\img\rarity.svelte generated by Svelte v3.49.0 */


function rarity_svelte_create_fragment(ctx) {
	let svg;
	let mask;
	let foreignObject;
	let div;
	let rect0;
	let g1;
	let g0;
	let ellipse;
	let defs;
	let clipPath;
	let rect1;
	let filter;
	let feFlood;
	let feBlend;
	let feGaussianBlur;

	return {
		c() {
			svg = svg_element("svg");
			mask = svg_element("mask");
			foreignObject = svg_element("foreignObject");
			div = document.createElementNS("http://www.w3.org/1999/xhtml", "div");
			rect0 = svg_element("rect");
			g1 = svg_element("g");
			g0 = svg_element("g");
			ellipse = svg_element("ellipse");
			defs = svg_element("defs");
			clipPath = svg_element("clipPath");
			rect1 = svg_element("rect");
			filter = svg_element("filter");
			feFlood = svg_element("feFlood");
			feBlend = svg_element("feBlend");
			feGaussianBlur = svg_element("feGaussianBlur");
			attr(div, "xmlns", "http://www.w3.org/1999/xhtml");
			set_style(div, "backdrop-filter", "blur(25.8px)");
			set_style(div, "clip-path", "url(#bgblur_0_450_5138_clip_path)");
			set_style(div, "height", "100%");
			set_style(div, "width", "100%");
			attr(foreignObject, "x", "0");
			attr(foreignObject, "y", "0");
			attr(foreignObject, "width", "0");
			attr(foreignObject, "height", "0");
			attr(rect0, "data-figma-bg-blur-radius", "51.6062");
			attr(rect0, "width", "136");
			attr(rect0, "height", "136");
			attr(rect0, "rx", "0");
			attr(rect0, "fill", "#111111");
			attr(rect0, "fill-opacity", "0.6");
			attr(mask, "id", "mask0_450_5138");
			set_style(mask, "mask-type", "alpha");
			attr(mask, "maskUnits", "userSpaceOnUse");
			attr(mask, "x", "0");
			attr(mask, "y", "0");
			attr(mask, "width", "136");
			attr(mask, "height", "136");
			attr(ellipse, "cx", "68.6661");
			attr(ellipse, "cy", "153");
			attr(ellipse, "rx", "66.0001");
			attr(ellipse, "ry", "66");
			attr(ellipse, "fill", /*color*/ ctx[0]);
			attr(g0, "filter", "url(#filter0_f_450_5138)");
			attr(g1, "mask", "url(#mask0_450_5138)");
			attr(rect1, "width", "136");
			attr(rect1, "height", "136");
			attr(rect1, "rx", "16");
			attr(clipPath, "id", "bgblur_0_450_5138_clip_path");
			attr(clipPath, "transform", "translate(0 0)");
			attr(feFlood, "flood-opacity", "0");
			attr(feFlood, "result", "BackgroundImageFix");
			attr(feBlend, "mode", "normal");
			attr(feBlend, "in", "SourceGraphic");
			attr(feBlend, "in2", "BackgroundImageFix");
			attr(feBlend, "result", "shape");
			attr(feGaussianBlur, "stdDeviation", "51.6062");
			attr(feGaussianBlur, "result", "effect1_foregroundBlur_450_5138");
			attr(filter, "id", "filter0_f_450_5138");
			attr(filter, "x", "-85.5464");
			attr(filter, "y", "-1.21243");
			attr(filter, "width", "308.425");
			attr(filter, "height", "308.425");
			attr(filter, "filterUnits", "userSpaceOnUse");
			attr(filter, "color-interpolation-filters", "sRGB");
			attr(svg, "width", "100%");
			attr(svg, "viewBox", "0 0 136 136");
			attr(svg, "fill", "none");
			attr(svg, "xmlns", "http://www.w3.org/2000/svg");
		},
		m(target, anchor) {
			insert(target, svg, anchor);
			append(svg, mask);
			append(mask, foreignObject);
			append(foreignObject, div);
			append(mask, rect0);
			append(svg, g1);
			append(g1, g0);
			append(g0, ellipse);
			append(svg, defs);
			append(defs, clipPath);
			append(clipPath, rect1);
			append(defs, filter);
			append(filter, feFlood);
			append(filter, feBlend);
			append(filter, feGaussianBlur);
		},
		p(ctx, [dirty]) {
			if (dirty & /*color*/ 1) {
				attr(ellipse, "fill", /*color*/ ctx[0]);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(svg);
		}
	};
}

function rarity_svelte_instance($$self, $$props, $$invalidate) {
	let { color = '#FFFFFF' } = $$props;

	$$self.$$set = $$props => {
		if ('color' in $$props) $$invalidate(0, color = $$props.color);
	};

	return [color];
}

class rarity_svelte_Rarity extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, rarity_svelte_instance, rarity_svelte_create_fragment, safe_not_equal, { color: 0 });
	}
}

/* harmony default export */ const rarity_svelte = (rarity_svelte_Rarity);
;// CONCATENATED MODULE: ./src/views/daily-reward/index.svelte
/* src\views\daily-reward\index.svelte generated by Svelte v3.49.0 */








// import DailyRewardImage from './img/daily-reward-img.png';
// import DailyRewardInfo from './img/daily-reward-info.svg';




function daily_reward_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[11] = list[i];
	return child_ctx;
}

// (105:91) 
function daily_reward_index_svelte_create_if_block_6(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "daily-reward__item-state-icon ui-time");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (103:24) {#if reward.interacted && reward.played >= reward.needToPlay && reward.received}
function daily_reward_index_svelte_create_if_block_5(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "daily-reward__item-state-icon ui-accepte");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (115:20) {#if reward.rarityColor}
function daily_reward_index_svelte_create_if_block_4(ctx) {
	let div;
	let rarityimage;
	let current;

	rarityimage = new rarity_svelte({
			props: { color: /*reward*/ ctx[11].rarityColor }
		});

	return {
		c() {
			div = internal_element("div");
			create_component(rarityimage.$$.fragment);
			attr(div, "class", "daily-reward__item-rarity");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(rarityimage, div, null);
			current = true;
		},
		p(ctx, dirty) {
			const rarityimage_changes = {};
			if (dirty & /*rewards*/ 1) rarityimage_changes.color = /*reward*/ ctx[11].rarityColor;
			rarityimage.$set(rarityimage_changes);
		},
		i(local) {
			if (current) return;
			transition_in(rarityimage.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(rarityimage.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(rarityimage);
		}
	};
}

// (127:20) {#if reward.amount > 0}
function daily_reward_index_svelte_create_if_block_3(ctx) {
	let div;
	let p;
	let t0;
	let t1_value = /*reward*/ ctx[11].amount + "";
	let t1;

	return {
		c() {
			div = internal_element("div");
			p = internal_element("p");
			t0 = internal_text("x");
			t1 = internal_text(t1_value);
			attr(p, "class", "daily-reward__item-count-value");
			attr(div, "class", "daily-reward__item-count");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p);
			append(p, t0);
			append(p, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*rewards*/ 1 && t1_value !== (t1_value = /*reward*/ ctx[11].amount + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (156:46) 
function daily_reward_index_svelte_create_if_block_2(ctx) {
	return { c: internal_noop, m: internal_noop, p: internal_noop, d: internal_noop };
}

// (144:106) 
function daily_reward_index_svelte_create_if_block_1(ctx) {
	let div2;
	let div1;
	let div0;
	let div0_style_value;
	let t0;
	let p;
	let t1;
	let t2_value = Math.max(0, Math.floor((/*reward*/ ctx[11].needToPlay - /*reward*/ ctx[11].played) / 60 / 60)) + "";
	let t2;
	let t3;
	let t4_value = Math.max(0, Math.floor((/*reward*/ ctx[11].needToPlay - /*reward*/ ctx[11].played) / 60 % 60)) + "";
	let t4;
	let t5;

	return {
		c() {
			div2 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text("Осталось отыграть ");
			t2 = internal_text(t2_value);
			t3 = internal_text(" ч. ");
			t4 = internal_text(t4_value);
			t5 = internal_text(" мин.");
			attr(div0, "class", "daily-reward__item-progress-value");

			attr(div0, "style", div0_style_value = `width: ${/*reward*/ ctx[11].played / (/*reward*/ ctx[11].needToPlay / 100)}%; background-color: ${/*reward*/ ctx[11].played >= /*reward*/ ctx[11].needToPlay / 2
			? '#3AC746'
			: '#F2C94C'}`);

			attr(div1, "class", "daily-reward__item-progress");
			attr(p, "class", "daily-reward__item-progress-time");
			attr(div2, "class", "daily-reward__item-progress-wrapper");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div1);
			append(div1, div0);
			append(div2, t0);
			append(div2, p);
			append(p, t1);
			append(p, t2);
			append(p, t3);
			append(p, t4);
			append(p, t5);
		},
		p(ctx, dirty) {
			if (dirty & /*rewards*/ 1 && div0_style_value !== (div0_style_value = `width: ${/*reward*/ ctx[11].played / (/*reward*/ ctx[11].needToPlay / 100)}%; background-color: ${/*reward*/ ctx[11].played >= /*reward*/ ctx[11].needToPlay / 2
			? '#3AC746'
			: '#F2C94C'}`)) {
				attr(div0, "style", div0_style_value);
			}

			if (dirty & /*rewards*/ 1 && t2_value !== (t2_value = Math.max(0, Math.floor((/*reward*/ ctx[11].needToPlay - /*reward*/ ctx[11].played) / 60 / 60)) + "")) set_data(t2, t2_value);
			if (dirty & /*rewards*/ 1 && t4_value !== (t4_value = Math.max(0, Math.floor((/*reward*/ ctx[11].needToPlay - /*reward*/ ctx[11].played) / 60 % 60)) + "")) set_data(t4, t4_value);
		},
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

// (135:20) {#if reward.interacted && reward.played >= reward.needToPlay && !reward.received}
function daily_reward_index_svelte_create_if_block(ctx) {
	let div;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="daily-reward__item-button-title">ЗАБРАТЬ</p>`;
			attr(div, "class", "daily-reward__item-button");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = listen(div, "click", /*takeReward*/ ctx[2]);
				mounted = true;
			}
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (95:12) {#each rewards as reward}
function daily_reward_index_svelte_create_each_block(ctx) {
	let div1;
	let div0;
	let t0;
	let p0;
	let t1;
	let t2_value = /*reward*/ ctx[11].day + "";
	let t2;
	let t3;
	let p1;
	let t4_value = /*reward*/ ctx[11].title + "";
	let t4;
	let t5;
	let t6;
	let img;
	let img_src_value;
	let t7;
	let t8;
	let t9;
	let current;

	function select_block_type(ctx, dirty) {
		if (/*reward*/ ctx[11].interacted && /*reward*/ ctx[11].played >= /*reward*/ ctx[11].needToPlay && /*reward*/ ctx[11].received) return daily_reward_index_svelte_create_if_block_5;
		if (/*reward*/ ctx[11].played > 0 && /*reward*/ ctx[11].played !== /*reward*/ ctx[11].needToPlay) return daily_reward_index_svelte_create_if_block_6;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block0 = current_block_type && current_block_type(ctx);
	let if_block1 = /*reward*/ ctx[11].rarityColor && daily_reward_index_svelte_create_if_block_4(ctx);
	let if_block2 = /*reward*/ ctx[11].amount > 0 && daily_reward_index_svelte_create_if_block_3(ctx);

	function select_block_type_1(ctx, dirty) {
		if (/*reward*/ ctx[11].interacted && /*reward*/ ctx[11].played >= /*reward*/ ctx[11].needToPlay && !/*reward*/ ctx[11].received) return daily_reward_index_svelte_create_if_block;
		if (/*reward*/ ctx[11].interacted && /*reward*/ ctx[11].played < /*reward*/ ctx[11].needToPlay && /*reward*/ ctx[11].played > 0) return daily_reward_index_svelte_create_if_block_1;
		if (/*reward*/ ctx[11].received) return daily_reward_index_svelte_create_if_block_2;
	}

	let current_block_type_1 = select_block_type_1(ctx, -1);
	let if_block3 = current_block_type_1 && current_block_type_1(ctx);

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			p0 = internal_element("p");
			t1 = internal_text("ДЕНЬ ");
			t2 = internal_text(t2_value);
			t3 = space();
			p1 = internal_element("p");
			t4 = internal_text(t4_value);
			t5 = space();
			if (if_block1) if_block1.c();
			t6 = space();
			img = internal_element("img");
			t7 = space();
			if (if_block2) if_block2.c();
			t8 = space();
			if (if_block3) if_block3.c();
			t9 = space();
			attr(p0, "class", "daily-reward__item-day-text");
			attr(div0, "class", "daily-reward__item-day");
			attr(p1, "class", "daily-reward__item-title");
			attr(img, "class", "daily-reward__item-img");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*reward*/ ctx[11].image}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "reward");
			attr(div1, "class", "daily-reward__item");
			toggle_class(div1, "daily-reward__item--maxProgress", /*reward*/ ctx[11].interacted && /*reward*/ ctx[11].played >= /*reward*/ ctx[11].needToPlay && !/*reward*/ ctx[11].received);
			toggle_class(div1, "daily-reward__item--completed", /*reward*/ ctx[11].interacted && /*reward*/ ctx[11].played >= /*reward*/ ctx[11].needToPlay && /*reward*/ ctx[11].received);
			toggle_class(div1, "daily-reward__item--in-progress", /*reward*/ ctx[11].played > 0 && /*reward*/ ctx[11].played !== /*reward*/ ctx[11].needToPlay);
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			if (if_block0) if_block0.m(div0, null);
			append(div0, t0);
			append(div0, p0);
			append(p0, t1);
			append(p0, t2);
			append(div1, t3);
			append(div1, p1);
			append(p1, t4);
			append(div1, t5);
			if (if_block1) if_block1.m(div1, null);
			append(div1, t6);
			append(div1, img);
			append(div1, t7);
			if (if_block2) if_block2.m(div1, null);
			append(div1, t8);
			if (if_block3) if_block3.m(div1, null);
			append(div1, t9);
			current = true;
		},
		p(ctx, dirty) {
			if (current_block_type !== (current_block_type = select_block_type(ctx, dirty))) {
				if (if_block0) if_block0.d(1);
				if_block0 = current_block_type && current_block_type(ctx);

				if (if_block0) {
					if_block0.c();
					if_block0.m(div0, t0);
				}
			}

			if ((!current || dirty & /*rewards*/ 1) && t2_value !== (t2_value = /*reward*/ ctx[11].day + "")) set_data(t2, t2_value);
			if ((!current || dirty & /*rewards*/ 1) && t4_value !== (t4_value = /*reward*/ ctx[11].title + "")) set_data(t4, t4_value);

			if (/*reward*/ ctx[11].rarityColor) {
				if (if_block1) {
					if_block1.p(ctx, dirty);

					if (dirty & /*rewards*/ 1) {
						transition_in(if_block1, 1);
					}
				} else {
					if_block1 = daily_reward_index_svelte_create_if_block_4(ctx);
					if_block1.c();
					transition_in(if_block1, 1);
					if_block1.m(div1, t6);
				}
			} else if (if_block1) {
				group_outros();

				transition_out(if_block1, 1, 1, () => {
					if_block1 = null;
				});

				check_outros();
			}

			if (!current || dirty & /*rewards*/ 1 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*reward*/ ctx[11].image}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (/*reward*/ ctx[11].amount > 0) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = daily_reward_index_svelte_create_if_block_3(ctx);
					if_block2.c();
					if_block2.m(div1, t8);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			if (current_block_type_1 === (current_block_type_1 = select_block_type_1(ctx, dirty)) && if_block3) {
				if_block3.p(ctx, dirty);
			} else {
				if (if_block3) if_block3.d(1);
				if_block3 = current_block_type_1 && current_block_type_1(ctx);

				if (if_block3) {
					if_block3.c();
					if_block3.m(div1, t9);
				}
			}

			if (dirty & /*rewards*/ 1) {
				toggle_class(div1, "daily-reward__item--maxProgress", /*reward*/ ctx[11].interacted && /*reward*/ ctx[11].played >= /*reward*/ ctx[11].needToPlay && !/*reward*/ ctx[11].received);
			}

			if (dirty & /*rewards*/ 1) {
				toggle_class(div1, "daily-reward__item--completed", /*reward*/ ctx[11].interacted && /*reward*/ ctx[11].played >= /*reward*/ ctx[11].needToPlay && /*reward*/ ctx[11].received);
			}

			if (dirty & /*rewards*/ 1) {
				toggle_class(div1, "daily-reward__item--in-progress", /*reward*/ ctx[11].played > 0 && /*reward*/ ctx[11].played !== /*reward*/ ctx[11].needToPlay);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block1);
			current = true;
		},
		o(local) {
			transition_out(if_block1);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);

			if (if_block0) {
				if_block0.d();
			}

			if (if_block1) if_block1.d();
			if (if_block2) if_block2.d();

			if (if_block3) {
				if_block3.d();
			}
		}
	};
}

function daily_reward_index_svelte_create_fragment(ctx) {
	let div4;
	let div0;
	let t0;
	let div1;
	let exitbutton;
	let t1;
	let div3;
	let p0;
	let t3;
	let p1;
	let t5;
	let div2;
	let current;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[1],
				fixedPosition: true
			}
		});

	let each_value = /*rewards*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = daily_reward_index_svelte_create_each_block(daily_reward_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			div4 = internal_element("div");
			div0 = internal_element("div");
			t0 = space();
			div1 = internal_element("div");
			create_component(exitbutton.$$.fragment);
			t1 = space();
			div3 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Осенний календарь";
			t3 = space();
			p1 = internal_element("p");
			p1.textContent = "Играй каждый день и получай награду каждый раз после выполнения всех условий";
			t5 = space();
			div2 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div0, "class", "daily-reward__background");
			attr(div1, "class", "daily-reward__exit-wrapper");
			attr(p0, "class", "daily-reward__list-wrapper-title");
			attr(p1, "class", "daily-reward__list-wrapper-description");
			attr(div2, "class", "daily-reward__list");
			attr(div3, "class", "daily-reward__list-wrapper");
			attr(div4, "class", "daily-reward");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div0);
			append(div4, t0);
			append(div4, div1);
			mount_component(exitbutton, div1, null);
			append(div4, t1);
			append(div4, div3);
			append(div3, p0);
			append(div3, t3);
			append(div3, p1);
			append(div3, t5);
			append(div3, div2);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div2, null);
			}

			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*rewards, takeReward, Math, CDN_URL_RODINA*/ 5) {
				each_value = /*rewards*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = daily_reward_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = daily_reward_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div2, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div4);
			destroy_component(exitbutton);
			destroy_each(each_blocks, detaching);
		}
	};
}

function daily_reward_index_svelte_instance($$self, $$props, $$invalidate) {
	let rewards = [];

	const initializeRewards = rewardsDto => {
		$$invalidate(0, rewards = rewardsDto);
	};

	const updateRewards = rewardsDto => {
		$$invalidate(0, rewards = [...rewards, rewardsDto]);
	};

	const updateRewardsItem = (rewardDto, id) => {
		const index = rewards.findIndex(el => el.id === id);
		$$invalidate(0, rewards[index] = { ...rewards[index], ...rewardDto }, rewards);
		$$invalidate(0, rewards);
	};

	const initializePlayerDay = dayDto => {
		$$invalidate(0, rewards = rewards.map(item => {
			let cache = item;
			cache.received = cache.day < dayDto.currentDay;
			cache.interacted = cache.day <= dayDto.currentDay;

			cache = cache.day === dayDto.currentDay
			? { ...item, ...dayDto }
			: item;

			return cache;
		}));
	};

	const handleClose = () => {
		
	}; // exec close event

	const takeReward = () => {
		sendClientMessage('dailyReward.takeReward');
	};

	const unregisterRewardsEvent = registerEvent('event.dailyReward.rewards', initializeRewards);
	const unregisterUpdateRewardsEvent = registerEvent('event.dailyReward.updateRewards', updateRewards);
	const unregisterUpdateRewardsItemEvent = registerEvent('event.dailyReward.updateRewards.item', updateRewardsItem);
	const unregisterInitializePlayerDay = registerEvent('event.dailyReward.initializePlayerDay', initializePlayerDay);

	onDestroy(() => {
		unregisterRewardsEvent();
		unregisterUpdateRewardsEvent();
		unregisterUpdateRewardsItemEvent();
		unregisterInitializePlayerDay();
	});

	return [rewards, handleClose, takeReward];
}

class Daily_reward extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, daily_reward_index_svelte_instance, daily_reward_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const daily_reward_index_svelte = (Daily_reward);
;// CONCATENATED MODULE: ./src/views/npc-dialog/index.svelte
/* src\views\npc-dialog\index.svelte generated by Svelte v3.49.0 */










function npc_dialog_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[10] = list[i];
	return child_ctx;
}

function npc_dialog_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[13] = list[i];
	return child_ctx;
}

function npc_dialog_index_svelte_get_each_context_2(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[16] = list[i];
	return child_ctx;
}

// (49:1) {#if !isEmpty(dialogData.title)}
function npc_dialog_index_svelte_create_if_block_3(ctx) {
	let div;
	let t_value = /*dialogData*/ ctx[0].title + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "npc-dialog__title");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*dialogData*/ 1 && t_value !== (t_value = /*dialogData*/ ctx[0].title + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (57:3) {#if !isEmpty(dialogData.npcName)}
function npc_dialog_index_svelte_create_if_block_2(ctx) {
	let div;
	let t_value = /*dialogData*/ ctx[0].npcName + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "npc-dialog__npc-name");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*dialogData*/ 1 && t_value !== (t_value = /*dialogData*/ ctx[0].npcName + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (68:7) {#if answer.icon}
function npc_dialog_index_svelte_create_if_block_1(ctx) {
	let div;
	let raw_value = /*answer*/ ctx[16].icon + "";

	return {
		c() {
			div = internal_element("div");
			attr(div, "class", "npc-dialog__answer-item-icon");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			div.innerHTML = raw_value;
		},
		p(ctx, dirty) {
			if (dirty & /*dialogData*/ 1 && raw_value !== (raw_value = /*answer*/ ctx[16].icon + "")) div.innerHTML = raw_value;;
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (66:5) {#each row as answer}
function npc_dialog_index_svelte_create_each_block_2(ctx) {
	let div1;
	let t0;
	let div0;
	let t1_value = /*answer*/ ctx[16].text + "";
	let t1;
	let mounted;
	let dispose;
	let if_block = /*answer*/ ctx[16].icon && npc_dialog_index_svelte_create_if_block_1(ctx);

	function click_handler() {
		return /*click_handler*/ ctx[4](/*answer*/ ctx[16]);
	}

	return {
		c() {
			div1 = internal_element("div");
			if (if_block) if_block.c();
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			attr(div0, "class", "npc-dialog__answer-item-text");
			attr(div1, "class", "npc-dialog__answer-item");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			if (if_block) if_block.m(div1, null);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);

			if (!mounted) {
				dispose = listen(div1, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (/*answer*/ ctx[16].icon) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = npc_dialog_index_svelte_create_if_block_1(ctx);
					if_block.c();
					if_block.m(div1, t0);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (dirty & /*dialogData*/ 1 && t1_value !== (t1_value = /*answer*/ ctx[16].text + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
			if (if_block) if_block.d();
			mounted = false;
			dispose();
		}
	};
}

// (64:3) {#each dialogData.keyboard || [] as row}
function npc_dialog_index_svelte_create_each_block_1(ctx) {
	let div;
	let t;
	let each_value_2 = /*row*/ ctx[13];
	let each_blocks = [];

	for (let i = 0; i < each_value_2.length; i += 1) {
		each_blocks[i] = npc_dialog_index_svelte_create_each_block_2(npc_dialog_index_svelte_get_each_context_2(ctx, each_value_2, i));
	}

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t = space();
			attr(div, "class", "npc-dialog__answers-row");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}

			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*sendAnswer, dialogData*/ 5) {
				each_value_2 = /*row*/ ctx[13];
				let i;

				for (i = 0; i < each_value_2.length; i += 1) {
					const child_ctx = npc_dialog_index_svelte_get_each_context_2(ctx, each_value_2, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = npc_dialog_index_svelte_create_each_block_2(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div, t);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_2.length;
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (77:2) {#if !isEmpty(rewards)}
function npc_dialog_index_svelte_create_if_block(ctx) {
	let div2;
	let div0;
	let t1;
	let div1;
	let each_value = /*rewards*/ ctx[1];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = npc_dialog_index_svelte_create_each_block(npc_dialog_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "Награда";
			t1 = space();
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div0, "class", "npc-dialog__rewards-caption");
			attr(div1, "class", "npc-dialog__rewards-row");
			attr(div2, "class", "npc-dialog__rewards");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div2, t1);
			append(div2, div1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}
		},
		p(ctx, dirty) {
			if (dirty & /*rewards, CDN_URL_RODINA*/ 2) {
				each_value = /*rewards*/ ctx[1];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = npc_dialog_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = npc_dialog_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div1, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		d(detaching) {
			if (detaching) detach(div2);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (81:5) {#each rewards as reward}
function npc_dialog_index_svelte_create_each_block(ctx) {
	let div1;
	let img;
	let img_src_value;
	let t0;
	let div0;
	let t1_value = /*reward*/ ctx[10].name + "";
	let t1;
	let t2;

	return {
		c() {
			div1 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/assets/images/items/${/*reward*/ ctx[10].image}.webp `)) attr(img, "src", img_src_value);
			attr(img, "alt", "reward");
			attr(img, "class", "npc-dialog__reward-image");
			attr(div0, "class", "npc-dialog__reward-name");
			attr(div1, "class", "npc-dialog__reward");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, img);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
			append(div1, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*rewards*/ 2 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/assets/images/items/${/*reward*/ ctx[10].image}.webp `)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*rewards*/ 2 && t1_value !== (t1_value = /*reward*/ ctx[10].name + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

function npc_dialog_index_svelte_create_fragment(ctx) {
	let div5;
	let show_if_2 = !(0,lodash.isEmpty)(/*dialogData*/ ctx[0].title);
	let t0;
	let div0;
	let exitbutton;
	let t1;
	let div4;
	let div2;
	let show_if_1 = !(0,lodash.isEmpty)(/*dialogData*/ ctx[0].npcName);
	let t2;
	let div1;
	let raw_value = /*dialogData*/ ctx[0].text + "";
	let t3;
	let div3;
	let t4;
	let show_if = !(0,lodash.isEmpty)(/*rewards*/ ctx[1]);
	let current;
	let if_block0 = show_if_2 && npc_dialog_index_svelte_create_if_block_3(ctx);

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[3],
				fixedPosition: true
			}
		});

	let if_block1 = show_if_1 && npc_dialog_index_svelte_create_if_block_2(ctx);
	let each_value_1 = /*dialogData*/ ctx[0].keyboard || [];
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = npc_dialog_index_svelte_create_each_block_1(npc_dialog_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	let if_block2 = show_if && npc_dialog_index_svelte_create_if_block(ctx);

	return {
		c() {
			div5 = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			div0 = internal_element("div");
			create_component(exitbutton.$$.fragment);
			t1 = space();
			div4 = internal_element("div");
			div2 = internal_element("div");
			if (if_block1) if_block1.c();
			t2 = space();
			div1 = internal_element("div");
			t3 = space();
			div3 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t4 = space();
			if (if_block2) if_block2.c();
			attr(div0, "class", "npc-dialog__close");
			attr(div1, "class", "npc-dialog__text");
			attr(div2, "class", "npc-dialog__text-wrapper");
			attr(div3, "class", "npc-dialog__answers");
			attr(div4, "class", "npc-dialog__content");
			attr(div5, "class", "npc-dialog");
			set_style(div5, "--overlay-color", /*dialogData*/ ctx[0].backgroundColor);
			set_style(div5, "--hover-color", /*dialogData*/ ctx[0].hoverColor);
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			if (if_block0) if_block0.m(div5, null);
			append(div5, t0);
			append(div5, div0);
			mount_component(exitbutton, div0, null);
			append(div5, t1);
			append(div5, div4);
			append(div4, div2);
			if (if_block1) if_block1.m(div2, null);
			append(div2, t2);
			append(div2, div1);
			div1.innerHTML = raw_value;
			append(div4, t3);
			append(div4, div3);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div3, null);
			}

			append(div4, t4);
			if (if_block2) if_block2.m(div4, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*dialogData*/ 1) show_if_2 = !(0,lodash.isEmpty)(/*dialogData*/ ctx[0].title);

			if (show_if_2) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = npc_dialog_index_svelte_create_if_block_3(ctx);
					if_block0.c();
					if_block0.m(div5, t0);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty & /*dialogData*/ 1) show_if_1 = !(0,lodash.isEmpty)(/*dialogData*/ ctx[0].npcName);

			if (show_if_1) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = npc_dialog_index_svelte_create_if_block_2(ctx);
					if_block1.c();
					if_block1.m(div2, t2);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if ((!current || dirty & /*dialogData*/ 1) && raw_value !== (raw_value = /*dialogData*/ ctx[0].text + "")) div1.innerHTML = raw_value;;

			if (dirty & /*dialogData, sendAnswer*/ 5) {
				each_value_1 = /*dialogData*/ ctx[0].keyboard || [];
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = npc_dialog_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = npc_dialog_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div3, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}

			if (dirty & /*rewards*/ 2) show_if = !(0,lodash.isEmpty)(/*rewards*/ ctx[1]);

			if (show_if) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = npc_dialog_index_svelte_create_if_block(ctx);
					if_block2.c();
					if_block2.m(div4, null);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			if (!current || dirty & /*dialogData*/ 1) {
				set_style(div5, "--overlay-color", /*dialogData*/ ctx[0].backgroundColor);
			}

			if (!current || dirty & /*dialogData*/ 1) {
				set_style(div5, "--hover-color", /*dialogData*/ ctx[0].hoverColor);
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div5);
			if (if_block0) if_block0.d();
			destroy_component(exitbutton);
			if (if_block1) if_block1.d();
			destroy_each(each_blocks, detaching);
			if (if_block2) if_block2.d();
		}
	};
}

function npc_dialog_index_svelte_instance($$self, $$props, $$invalidate) {
	let dialogData = {};
	let rewards = [];
	let disabledButtons = false;

	const initializeDialog = data => {
		$$invalidate(0, dialogData = data);
		disabledButtons = false;
	};

	const initializeRewards = data => {
		$$invalidate(1, rewards = data);
	};

	const unregisterInitializeDialog = registerEvent('event.npcDialog.initializeDialog', initializeDialog);
	const unregisterInitializeRewards = registerEvent('event.npcDialog.initializeRewards', initializeRewards);

	const sendAnswer = answerId => {
		if (disabledButtons) {
			return;
		}

		sendClientMessage('answer.npcDialog', answerId);
		disabledButtons = true;
	};

	const handleClose = () => {
		sendClientMessage('close.npcDialog');
	};

	onDestroy(() => {
		unregisterInitializeDialog();
		unregisterInitializeRewards();
	});

	const click_handler = answer => sendAnswer(answer.id);
	return [dialogData, rewards, sendAnswer, handleClose, click_handler];
}

class Npc_dialog extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, npc_dialog_index_svelte_instance, npc_dialog_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const npc_dialog_index_svelte = (Npc_dialog);
;// CONCATENATED MODULE: ./src/views/street-food/img/hotdog.png
const hotdog_namespaceObject = __webpack_require__.p + "assets/7596db8c8d1c12feacbc.webp";
;// CONCATENATED MODULE: ./src/views/street-food/img/pizza.png
const pizza_namespaceObject = __webpack_require__.p + "assets/459aee0008bb99d29452.webp";
;// CONCATENATED MODULE: ./src/views/street-food/index.svelte
/* src\views\street-food\index.svelte generated by Svelte v3.49.0 */










function street_food_index_svelte_create_fragment(ctx) {
	let div13;
	let i0;
	let t0;
	let div1;
	let t3;
	let div12;
	let div6;
	let div2;
	let t5;
	let div4;
	let img0;
	let img0_src_value;
	let t6;
	let div3;

	let t7_value = (/*hotdogPrice*/ ctx[0] === 0
	? 'FREE'
	: `${formatMoney(/*hotdogPrice*/ ctx[0])}р.`) + "";

	let t7;
	let t8;
	let div5;
	let t10;
	let div11;
	let div7;
	let t12;
	let div9;
	let img1;
	let img1_src_value;
	let t13;
	let div8;

	let t14_value = (/*pizzaPrice*/ ctx[1] === 0
	? 'FREE'
	: `${formatMoney(/*pizzaPrice*/ ctx[1])}р.`) + "";

	let t14;
	let t15;
	let div10;
	let mounted;
	let dispose;

	return {
		c() {
			div13 = internal_element("div");
			i0 = internal_element("i");
			t0 = space();
			div1 = internal_element("div");

			div1.innerHTML = `<i class="street-food__title-icon ui-burger"></i> 
		<div class="street-food__title">Лавка с едой</div>`;

			t3 = space();
			div12 = internal_element("div");
			div6 = internal_element("div");
			div2 = internal_element("div");
			div2.textContent = "Хот-дог";
			t5 = space();
			div4 = internal_element("div");
			img0 = internal_element("img");
			t6 = space();
			div3 = internal_element("div");
			t7 = internal_text(t7_value);
			t8 = space();
			div5 = internal_element("div");
			div5.textContent = "Купить";
			t10 = space();
			div11 = internal_element("div");
			div7 = internal_element("div");
			div7.textContent = "Пицца";
			t12 = space();
			div9 = internal_element("div");
			img1 = internal_element("img");
			t13 = space();
			div8 = internal_element("div");
			t14 = internal_text(t14_value);
			t15 = space();
			div10 = internal_element("div");
			div10.textContent = "Купить";
			attr(i0, "class", "street-food__close ui-close");
			attr(div1, "class", "street-food__title-wrapper");
			attr(div2, "class", "street-food__item-name");
			if (!src_url_equal(img0.src, img0_src_value = hotdog_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "hotdog");
			attr(img0, "class", "street-food__item-image");
			attr(div3, "class", "street-food__item-price");
			attr(div4, "class", "street-food__item-content");
			attr(div5, "class", "street-food__button");
			attr(div6, "class", "street-food__item");
			attr(div7, "class", "street-food__item-name");
			if (!src_url_equal(img1.src, img1_src_value = pizza_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "hotdog");
			attr(img1, "class", "street-food__item-image");
			attr(div8, "class", "street-food__item-price");
			attr(div9, "class", "street-food__item-content");
			attr(div10, "class", "street-food__button");
			attr(div11, "class", "street-food__item");
			attr(div12, "class", "street-food__items-wrapper");
			attr(div13, "class", "street-food");
		},
		m(target, anchor) {
			insert(target, div13, anchor);
			append(div13, i0);
			append(div13, t0);
			append(div13, div1);
			append(div13, t3);
			append(div13, div12);
			append(div12, div6);
			append(div6, div2);
			append(div6, t5);
			append(div6, div4);
			append(div4, img0);
			append(div4, t6);
			append(div4, div3);
			append(div3, t7);
			append(div6, t8);
			append(div6, div5);
			append(div12, t10);
			append(div12, div11);
			append(div11, div7);
			append(div11, t12);
			append(div11, div9);
			append(div9, img1);
			append(div9, t13);
			append(div9, div8);
			append(div8, t14);
			append(div11, t15);
			append(div11, div10);

			if (!mounted) {
				dispose = [
					listen(i0, "click", /*click_handler*/ ctx[4]),
					listen(div5, "click", /*click_handler_1*/ ctx[5]),
					listen(div10, "click", /*click_handler_2*/ ctx[6])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*hotdogPrice*/ 1 && t7_value !== (t7_value = (/*hotdogPrice*/ ctx[0] === 0
			? 'FREE'
			: `${formatMoney(/*hotdogPrice*/ ctx[0])}р.`) + "")) set_data(t7, t7_value);

			if (dirty & /*pizzaPrice*/ 2 && t14_value !== (t14_value = (/*pizzaPrice*/ ctx[1] === 0
			? 'FREE'
			: `${formatMoney(/*pizzaPrice*/ ctx[1])}р.`) + "")) set_data(t14, t14_value);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div13);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function street_food_index_svelte_instance($$self, $$props, $$invalidate) {
	let hotdogPrice = 0;
	let pizzaPrice = 0;

	const purchase = itemName => {
		sendClientMessage('streetFood.purchase', itemName);
	};

	const close = () => {
		sendClientMessage('streetFood.close');
	};

	const initializeHotdogPrice = price => {
		$$invalidate(0, hotdogPrice = price);
	};

	const unregisterInitializeHotdogPrice = registerEvent('event.streetFood.initializeHotdogPrice', initializeHotdogPrice);

	const initializePizzaPrice = price => {
		$$invalidate(1, pizzaPrice = price);
	};

	const unregisterInitializePizzaPrice = registerEvent('event.streetFood.initializePizzaPrice', initializePizzaPrice);

	onDestroy(() => {
		unregisterInitializeHotdogPrice();
		unregisterInitializePizzaPrice();
	});

	const click_handler = () => close();
	const click_handler_1 = () => purchase('hotdog');
	const click_handler_2 = () => purchase('pizza');

	return [
		hotdogPrice,
		pizzaPrice,
		purchase,
		close,
		click_handler,
		click_handler_1,
		click_handler_2
	];
}

class Street_food extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, street_food_index_svelte_instance, street_food_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const street_food_index_svelte = (Street_food);
;// CONCATENATED MODULE: ./src/views/board-job/img/board-job-logo.svg
const board_job_logo_namespaceObject = __webpack_require__.p + "assets/c06f04ab2835b2ec6cc9.svg";
;// CONCATENATED MODULE: ./src/views/board-job/img/board-job-challenge-background.png
const board_job_challenge_background_namespaceObject = __webpack_require__.p + "assets/86d48b7c30b1ba48be7c.webp";
;// CONCATENATED MODULE: ./src/views/board-job/menu/img/board-job-menu-info.svg
const board_job_menu_info_namespaceObject = __webpack_require__.p + "assets/2d8eb21f4463a09ec234.svg";
;// CONCATENATED MODULE: ./src/views/board-job/menu/img/board-job-menu-card.png
const board_job_menu_card_namespaceObject = __webpack_require__.p + "assets/0bbf4a80a339ad3a2e6f.webp";
;// CONCATENATED MODULE: ./src/views/board-job/menu/index.svelte
/* src\views\board-job\menu\index.svelte generated by Svelte v3.49.0 */












function board_job_menu_index_svelte_add_css(target) {
	append_styles(target, "svelte-17nsvkc", "@keyframes svelte-17nsvkc-blinking{50%{opacity:0}}@keyframes svelte-17nsvkc-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-17nsvkc-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-17nsvkc-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-17nsvkc-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-17nsvkc-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-17nsvkc-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-17nsvkc-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-17nsvkc-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-17nsvkc-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-17nsvkc-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-17nsvkc-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-17nsvkc-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-17nsvkc-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-17nsvkc-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.board-job-menu.svelte-17nsvkc.svelte-17nsvkc{display:flex;align-items:center;justify-content:center;position:relative;width:100vw;height:100vh;background:radial-gradient(50% 50% at 50% 50%, rgba(32, 39, 49, 0) 0%, rgba(32, 39, 49, 0.95) 100%)}.board-job-menu__background.svelte-17nsvkc.svelte-17nsvkc{background:rgba(32, 39, 49, 0.85);pointer-events:none;width:100%;height:100%}.board-job-menu__background.svelte-17nsvkc.svelte-17nsvkc::after{content:\"\";position:absolute;background:radial-gradient(80.13% 72.83% at 33.53% 84.63%, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%), radial-gradient(74.02% 202.1% at 77.94% 50%, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%), radial-gradient(46.1% 43.15% at 50% 97.41%, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 100%);width:100%;height:100%}.board-job-menu__logo.svelte-17nsvkc.svelte-17nsvkc{display:flex;align-items:center;position:absolute;gap:calc(0.0078125 * 100vw + 0px);top:calc(0.0260416667 * 100vw + 0px);left:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__logo.svelte-17nsvkc.svelte-17nsvkc{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__logo.svelte-17nsvkc.svelte-17nsvkc{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__logo.svelte-17nsvkc.svelte-17nsvkc{gap:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__logo.svelte-17nsvkc.svelte-17nsvkc{gap:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__logo.svelte-17nsvkc.svelte-17nsvkc{gap:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__logo.svelte-17nsvkc.svelte-17nsvkc{gap:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__logo.svelte-17nsvkc.svelte-17nsvkc{gap:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__logo.svelte-17nsvkc.svelte-17nsvkc{top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__logo.svelte-17nsvkc.svelte-17nsvkc{top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__logo.svelte-17nsvkc.svelte-17nsvkc{top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__logo.svelte-17nsvkc.svelte-17nsvkc{top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__logo.svelte-17nsvkc.svelte-17nsvkc{top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__logo.svelte-17nsvkc.svelte-17nsvkc{top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__logo.svelte-17nsvkc.svelte-17nsvkc{top:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__logo.svelte-17nsvkc.svelte-17nsvkc{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__logo.svelte-17nsvkc.svelte-17nsvkc{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__logo.svelte-17nsvkc.svelte-17nsvkc{left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__logo.svelte-17nsvkc.svelte-17nsvkc{left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__logo.svelte-17nsvkc.svelte-17nsvkc{left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__logo.svelte-17nsvkc.svelte-17nsvkc{left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__logo.svelte-17nsvkc.svelte-17nsvkc{left:calc(0.0286458333 * 100vw + 0px)}}.board-job-menu__logo-img.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.0390625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__logo-img.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__logo-img.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__logo-img.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.030078125 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__logo-img.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.04296875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__logo-img.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.02734375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__logo-img.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.03515625 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__logo-img.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.04296875 * 100vw + 0px)}}.board-job-menu__logo-title.svelte-17nsvkc.svelte-17nsvkc{font-family:\"GothamPro-Bold\";color:#FFFFFF;text-transform:uppercase;font-size:calc(0.0166666667 * 100vw + 0px);width:calc(0.1161458333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__logo-title.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__logo-title.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__logo-title.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__logo-title.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__logo-title.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__logo-title.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__logo-title.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__logo-title.svelte-17nsvkc.svelte-17nsvkc{width:calc(0.1161458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__logo-title.svelte-17nsvkc.svelte-17nsvkc{width:calc(0.1161458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__logo-title.svelte-17nsvkc.svelte-17nsvkc{width:calc(0.0894322917 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__logo-title.svelte-17nsvkc.svelte-17nsvkc{width:calc(0.1277604167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__logo-title.svelte-17nsvkc.svelte-17nsvkc{width:calc(0.0813020833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__logo-title.svelte-17nsvkc.svelte-17nsvkc{width:calc(0.10453125 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__logo-title.svelte-17nsvkc.svelte-17nsvkc{width:calc(0.1277604167 * 100vw + 0px)}}.board-job-menu__info.svelte-17nsvkc.svelte-17nsvkc{position:absolute;text-align:center;top:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__info.svelte-17nsvkc.svelte-17nsvkc{top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__info.svelte-17nsvkc.svelte-17nsvkc{top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__info.svelte-17nsvkc.svelte-17nsvkc{top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__info.svelte-17nsvkc.svelte-17nsvkc{top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__info.svelte-17nsvkc.svelte-17nsvkc{top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__info.svelte-17nsvkc.svelte-17nsvkc{top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__info.svelte-17nsvkc.svelte-17nsvkc{top:calc(0.0286458333 * 100vw + 0px)}}.board-job-menu__info-img.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.0125 * 100vw + 0px);margin-bottom:calc(0.003125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__info-img.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__info-img.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__info-img.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__info-img.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__info-img.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__info-img.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__info-img.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__info-img.svelte-17nsvkc.svelte-17nsvkc{margin-bottom:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__info-img.svelte-17nsvkc.svelte-17nsvkc{margin-bottom:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__info-img.svelte-17nsvkc.svelte-17nsvkc{margin-bottom:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__info-img.svelte-17nsvkc.svelte-17nsvkc{margin-bottom:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__info-img.svelte-17nsvkc.svelte-17nsvkc{margin-bottom:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__info-img.svelte-17nsvkc.svelte-17nsvkc{margin-bottom:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__info-img.svelte-17nsvkc.svelte-17nsvkc{margin-bottom:calc(0.0034375 * 100vw + 0px)}}.board-job-menu__info-title.svelte-17nsvkc.svelte-17nsvkc{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.009375 * 100vw + 0px);width:calc(0.2838541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__info-title.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__info-title.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__info-title.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__info-title.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__info-title.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__info-title.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__info-title.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__info-title.svelte-17nsvkc.svelte-17nsvkc{width:calc(0.2838541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__info-title.svelte-17nsvkc.svelte-17nsvkc{width:calc(0.2838541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__info-title.svelte-17nsvkc.svelte-17nsvkc{width:calc(0.2185677083 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__info-title.svelte-17nsvkc.svelte-17nsvkc{width:calc(0.3122395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__info-title.svelte-17nsvkc.svelte-17nsvkc{width:calc(0.1986979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__info-title.svelte-17nsvkc.svelte-17nsvkc{width:calc(0.25546875 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__info-title.svelte-17nsvkc.svelte-17nsvkc{width:calc(0.3122395833 * 100vw + 0px)}}.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{display:flex;align-items:center;justify-content:center;position:absolute;padding-left:calc(0.0260416667 * 100vw + 0px);padding-right:calc(0.0260416667 * 100vw + 0px);top:calc(0.1052083333 * 100vw + 0px);width:calc(0.4713541667 * 100vw + 0px);height:calc(0.3739583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{padding-left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{padding-left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{padding-left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{padding-left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{padding-left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{padding-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{padding-left:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{padding-right:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{padding-right:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{padding-right:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{padding-right:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{padding-right:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{padding-right:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{padding-right:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{top:calc(0.1052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{top:calc(0.1052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{top:calc(0.0810104167 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{top:calc(0.1157291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{top:calc(0.0736458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{top:calc(0.0946875 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{top:calc(0.1157291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{width:calc(0.4713541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{width:calc(0.4713541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{width:calc(0.3629427083 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{width:calc(0.5184895833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{width:calc(0.3299479167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{width:calc(0.42421875 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{width:calc(0.5184895833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.3739583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.3739583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.2879479167 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.4113541667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.2617708333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.3365625 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__cards.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.4113541667 * 100vw + 0px)}}.board-job-menu__cards.svelte-17nsvkc:has(.board-job-menu__card-item:nth-child(2):hover) .board-job-menu__card-item.svelte-17nsvkc:nth-child(1){opacity:40%;transform:rotate(350deg) scale(0.9)}.board-job-menu__card-item.svelte-17nsvkc.svelte-17nsvkc{z-index:2;display:flex;justify-content:center;position:relative;transform:rotate(350deg);transition-duration:0.3s;transition-timing-function:linear;transition-delay:0s;cursor:pointer}.board-job-menu__card-item.svelte-17nsvkc.svelte-17nsvkc:nth-child(1){left:calc(0.0270833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__card-item.svelte-17nsvkc.svelte-17nsvkc:nth-child(1){left:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__card-item.svelte-17nsvkc.svelte-17nsvkc:nth-child(1){left:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__card-item.svelte-17nsvkc.svelte-17nsvkc:nth-child(1){left:calc(0.0208541667 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__card-item.svelte-17nsvkc.svelte-17nsvkc:nth-child(1){left:calc(0.0297916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__card-item.svelte-17nsvkc.svelte-17nsvkc:nth-child(1){left:calc(0.0189583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__card-item.svelte-17nsvkc.svelte-17nsvkc:nth-child(1){left:calc(0.024375 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__card-item.svelte-17nsvkc.svelte-17nsvkc:nth-child(1){left:calc(0.0297916667 * 100vw + 0px)}}.board-job-menu__card-item.svelte-17nsvkc.svelte-17nsvkc:nth-child(2){z-index:1;opacity:40%;transform:rotate(10deg) scale(0.9);top:calc(-0.0104166667 * 100vw + 0px);right:calc(0.0270833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__card-item.svelte-17nsvkc.svelte-17nsvkc:nth-child(2){top:calc(-0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__card-item.svelte-17nsvkc.svelte-17nsvkc:nth-child(2){top:calc(-0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__card-item.svelte-17nsvkc.svelte-17nsvkc:nth-child(2){top:calc(-0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__card-item.svelte-17nsvkc.svelte-17nsvkc:nth-child(2){top:calc(-0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__card-item.svelte-17nsvkc.svelte-17nsvkc:nth-child(2){top:calc(-0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__card-item.svelte-17nsvkc.svelte-17nsvkc:nth-child(2){top:calc(-0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__card-item.svelte-17nsvkc.svelte-17nsvkc:nth-child(2){top:calc(-0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__card-item.svelte-17nsvkc.svelte-17nsvkc:nth-child(2){right:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__card-item.svelte-17nsvkc.svelte-17nsvkc:nth-child(2){right:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__card-item.svelte-17nsvkc.svelte-17nsvkc:nth-child(2){right:calc(0.0208541667 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__card-item.svelte-17nsvkc.svelte-17nsvkc:nth-child(2){right:calc(0.0297916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__card-item.svelte-17nsvkc.svelte-17nsvkc:nth-child(2){right:calc(0.0189583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__card-item.svelte-17nsvkc.svelte-17nsvkc:nth-child(2){right:calc(0.024375 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__card-item.svelte-17nsvkc.svelte-17nsvkc:nth-child(2){right:calc(0.0297916667 * 100vw + 0px)}}.board-job-menu__card-item.svelte-17nsvkc.svelte-17nsvkc:nth-child(2):hover{z-index:2;opacity:100%;transform:rotate(10deg) scale(1);right:calc(0 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__card-item.svelte-17nsvkc.svelte-17nsvkc:nth-child(2):hover{right:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__card-item.svelte-17nsvkc.svelte-17nsvkc:nth-child(2):hover{right:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__card-item.svelte-17nsvkc.svelte-17nsvkc:nth-child(2):hover{right:calc(0 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__card-item.svelte-17nsvkc.svelte-17nsvkc:nth-child(2):hover{right:calc(0 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__card-item.svelte-17nsvkc.svelte-17nsvkc:nth-child(2):hover{right:calc(0 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__card-item.svelte-17nsvkc.svelte-17nsvkc:nth-child(2):hover{right:calc(0 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__card-item.svelte-17nsvkc.svelte-17nsvkc:nth-child(2):hover{right:calc(0 * 100vw + 0px)}}.board-job-menu__card-item-img.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.3385416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__card-item-img.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.3385416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__card-item-img.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.3385416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__card-item-img.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.2606770833 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__card-item-img.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.3723958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__card-item-img.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.2369791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__card-item-img.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.3046875 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__card-item-img.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.3723958333 * 100vw + 0px)}}.board-job-menu__card-item-body.svelte-17nsvkc.svelte-17nsvkc{display:flex;flex-direction:column;align-items:center;position:absolute;text-align:center;top:calc(0.0442708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__card-item-body.svelte-17nsvkc.svelte-17nsvkc{top:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__card-item-body.svelte-17nsvkc.svelte-17nsvkc{top:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__card-item-body.svelte-17nsvkc.svelte-17nsvkc{top:calc(0.0340885417 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__card-item-body.svelte-17nsvkc.svelte-17nsvkc{top:calc(0.0486979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__card-item-body.svelte-17nsvkc.svelte-17nsvkc{top:calc(0.0309895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__card-item-body.svelte-17nsvkc.svelte-17nsvkc{top:calc(0.03984375 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__card-item-body.svelte-17nsvkc.svelte-17nsvkc{top:calc(0.0486979167 * 100vw + 0px)}}.board-job-menu__card-item-body-logo.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.1041666667 * 100vw + 0px);margin-bottom:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__card-item-body-logo.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__card-item-body-logo.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__card-item-body-logo.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__card-item-body-logo.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__card-item-body-logo.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__card-item-body-logo.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__card-item-body-logo.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.1145833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__card-item-body-logo.svelte-17nsvkc.svelte-17nsvkc{margin-bottom:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__card-item-body-logo.svelte-17nsvkc.svelte-17nsvkc{margin-bottom:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__card-item-body-logo.svelte-17nsvkc.svelte-17nsvkc{margin-bottom:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__card-item-body-logo.svelte-17nsvkc.svelte-17nsvkc{margin-bottom:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__card-item-body-logo.svelte-17nsvkc.svelte-17nsvkc{margin-bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__card-item-body-logo.svelte-17nsvkc.svelte-17nsvkc{margin-bottom:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__card-item-body-logo.svelte-17nsvkc.svelte-17nsvkc{margin-bottom:calc(0.0171875 * 100vw + 0px)}}.board-job-menu__card-item-body-number.svelte-17nsvkc.svelte-17nsvkc{display:flex;justify-content:center;margin-bottom:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__card-item-body-number.svelte-17nsvkc.svelte-17nsvkc{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__card-item-body-number.svelte-17nsvkc.svelte-17nsvkc{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__card-item-body-number.svelte-17nsvkc.svelte-17nsvkc{margin-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__card-item-body-number.svelte-17nsvkc.svelte-17nsvkc{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__card-item-body-number.svelte-17nsvkc.svelte-17nsvkc{margin-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__card-item-body-number.svelte-17nsvkc.svelte-17nsvkc{margin-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__card-item-body-number.svelte-17nsvkc.svelte-17nsvkc{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}.board-job-menu__card-item-body-number-img.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__card-item-body-number-img.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__card-item-body-number-img.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__card-item-body-number-img.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__card-item-body-number-img.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__card-item-body-number-img.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__card-item-body-number-img.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__card-item-body-number-img.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.0286458333 * 100vw + 0px)}}.board-job-menu__card-item-body-number-value.svelte-17nsvkc.svelte-17nsvkc{position:absolute;font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.009375 * 100vw + 0px);margin-top:calc(0.0067708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__card-item-body-number-value.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__card-item-body-number-value.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__card-item-body-number-value.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__card-item-body-number-value.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__card-item-body-number-value.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__card-item-body-number-value.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__card-item-body-number-value.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__card-item-body-number-value.svelte-17nsvkc.svelte-17nsvkc{margin-top:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__card-item-body-number-value.svelte-17nsvkc.svelte-17nsvkc{margin-top:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__card-item-body-number-value.svelte-17nsvkc.svelte-17nsvkc{margin-top:calc(0.0052135417 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__card-item-body-number-value.svelte-17nsvkc.svelte-17nsvkc{margin-top:calc(0.0074479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__card-item-body-number-value.svelte-17nsvkc.svelte-17nsvkc{margin-top:calc(0.0047395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__card-item-body-number-value.svelte-17nsvkc.svelte-17nsvkc{margin-top:calc(0.00609375 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__card-item-body-number-value.svelte-17nsvkc.svelte-17nsvkc{margin-top:calc(0.0074479167 * 100vw + 0px)}}.board-job-menu__card-item-body-title.svelte-17nsvkc.svelte-17nsvkc{font-family:\"GothamPro-Bold\";font-size:calc(0.0333333333 * 100vw + 0px);letter-spacing:calc(-0.0026041667 * 100vw + 0px);line-height:calc(0.0317708333 * 100vw + 0px);margin-bottom:calc(0.0098958333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__card-item-body-title.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__card-item-body-title.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__card-item-body-title.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__card-item-body-title.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__card-item-body-title.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__card-item-body-title.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__card-item-body-title.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0366666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__card-item-body-title.svelte-17nsvkc.svelte-17nsvkc{letter-spacing:calc(-0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__card-item-body-title.svelte-17nsvkc.svelte-17nsvkc{letter-spacing:calc(-0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__card-item-body-title.svelte-17nsvkc.svelte-17nsvkc{letter-spacing:calc(-0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__card-item-body-title.svelte-17nsvkc.svelte-17nsvkc{letter-spacing:calc(-0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__card-item-body-title.svelte-17nsvkc.svelte-17nsvkc{letter-spacing:calc(-0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__card-item-body-title.svelte-17nsvkc.svelte-17nsvkc{letter-spacing:calc(-0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__card-item-body-title.svelte-17nsvkc.svelte-17nsvkc{letter-spacing:calc(-0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__card-item-body-title.svelte-17nsvkc.svelte-17nsvkc{line-height:calc(0.0317708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__card-item-body-title.svelte-17nsvkc.svelte-17nsvkc{line-height:calc(0.0317708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__card-item-body-title.svelte-17nsvkc.svelte-17nsvkc{line-height:calc(0.0244635417 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__card-item-body-title.svelte-17nsvkc.svelte-17nsvkc{line-height:calc(0.0349479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__card-item-body-title.svelte-17nsvkc.svelte-17nsvkc{line-height:calc(0.0222395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__card-item-body-title.svelte-17nsvkc.svelte-17nsvkc{line-height:calc(0.02859375 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__card-item-body-title.svelte-17nsvkc.svelte-17nsvkc{line-height:calc(0.0349479167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__card-item-body-title.svelte-17nsvkc.svelte-17nsvkc{margin-bottom:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__card-item-body-title.svelte-17nsvkc.svelte-17nsvkc{margin-bottom:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__card-item-body-title.svelte-17nsvkc.svelte-17nsvkc{margin-bottom:calc(0.0076197917 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__card-item-body-title.svelte-17nsvkc.svelte-17nsvkc{margin-bottom:calc(0.0108854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__card-item-body-title.svelte-17nsvkc.svelte-17nsvkc{margin-bottom:calc(0.0069270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__card-item-body-title.svelte-17nsvkc.svelte-17nsvkc{margin-bottom:calc(0.00890625 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__card-item-body-title.svelte-17nsvkc.svelte-17nsvkc{margin-bottom:calc(0.0108854167 * 100vw + 0px)}}.board-job-menu__card-item-body-time.svelte-17nsvkc.svelte-17nsvkc{display:flex;align-items:center;gap:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__card-item-body-time.svelte-17nsvkc.svelte-17nsvkc{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__card-item-body-time.svelte-17nsvkc.svelte-17nsvkc{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__card-item-body-time.svelte-17nsvkc.svelte-17nsvkc{gap:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__card-item-body-time.svelte-17nsvkc.svelte-17nsvkc{gap:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__card-item-body-time.svelte-17nsvkc.svelte-17nsvkc{gap:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__card-item-body-time.svelte-17nsvkc.svelte-17nsvkc{gap:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__card-item-body-time.svelte-17nsvkc.svelte-17nsvkc{gap:calc(0.0028645833 * 100vw + 0px)}}.board-job-menu__card-item-body-time-title.svelte-17nsvkc.svelte-17nsvkc{font-family:\"GothamPro-Bold\";font-size:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__card-item-body-time-title.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__card-item-body-time-title.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__card-item-body-time-title.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__card-item-body-time-title.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__card-item-body-time-title.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__card-item-body-time-title.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__card-item-body-time-title.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0143229167 * 100vw + 0px)}}.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{display:flex;align-items:center;justify-content:center;position:absolute;background-color:rgba(255, 255, 255, 0.15);border-radius:calc(0.0130208333 * 100vw + 0px);gap:calc(0.0052083333 * 100vw + 0px);bottom:calc(0.0265625 * 100vw + 0px);width:calc(0.2125 * 100vw + 0px);height:calc(0.0286458333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{bottom:calc(0.0265625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{bottom:calc(0.0265625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{bottom:calc(0.020453125 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{bottom:calc(0.02921875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{bottom:calc(0.01859375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{bottom:calc(0.02390625 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{bottom:calc(0.02921875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{width:calc(0.2125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{width:calc(0.2125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{width:calc(0.163625 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{width:calc(0.23375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{width:calc(0.14875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{width:calc(0.19125 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{width:calc(0.23375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.0220572917 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.0315104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__time-info.svelte-17nsvkc.svelte-17nsvkc{height:calc(0.0315104167 * 100vw + 0px)}}.board-job-menu__time-info-img.svelte-17nsvkc.svelte-17nsvkc{color:rgba(255, 255, 255, 0.5);font-size:calc(0.0098958333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__time-info-img.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__time-info-img.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__time-info-img.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0076197917 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__time-info-img.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0108854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__time-info-img.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0069270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__time-info-img.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.00890625 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__time-info-img.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0108854167 * 100vw + 0px)}}.board-job-menu__time-info-title.svelte-17nsvkc.svelte-17nsvkc{font-family:\"GothamPro-Medium\";color:rgba(255, 255, 255, 0.5);font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-menu__time-info-title.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-menu__time-info-title.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-menu__time-info-title.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-menu__time-info-title.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-menu__time-info-title.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-menu__time-info-title.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-menu__time-info-title.svelte-17nsvkc.svelte-17nsvkc{font-size:calc(0.0103125 * 100vw + 0px)}}");
}

function menu_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[6] = list[i];
	return child_ctx;
}

// (1819:8) {#each jobs as job}
function menu_index_svelte_create_each_block(ctx) {
	let div3;
	let img0;
	let img0_src_value;
	let t0;
	let div2;
	let img1;
	let img1_src_value;
	let t1;
	let div0;
	let img2;
	let img2_src_value;
	let t2;
	let p0;
	let t3_value = /*job*/ ctx[6].challengeNumber + "";
	let t3;
	let t4;
	let p1;
	let t5_value = /*job*/ ctx[6].title + "";
	let t5;
	let t6;
	let div1;
	let p2;
	let t7_value = /*job*/ ctx[6].name + "";
	let t7;
	let t8;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[3](/*job*/ ctx[6]);
	}

	return {
		c() {
			div3 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			div2 = internal_element("div");
			img1 = internal_element("img");
			t1 = space();
			div0 = internal_element("div");
			img2 = internal_element("img");
			t2 = space();
			p0 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = space();
			p1 = internal_element("p");
			t5 = internal_text(t5_value);
			t6 = space();
			div1 = internal_element("div");
			p2 = internal_element("p");
			t7 = internal_text(t7_value);
			t8 = space();
			attr(img0, "class", "board-job-menu__card-item-img svelte-17nsvkc");
			if (!src_url_equal(img0.src, img0_src_value = board_job_menu_card_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "card-img");
			attr(img1, "class", "board-job-menu__card-item-body-logo svelte-17nsvkc");
			if (!src_url_equal(img1.src, img1_src_value = `${CDN_ITEMS_URL}/${/*job*/ ctx[6].img}.webp`)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "body-logo");
			attr(img2, "class", "board-job-menu__card-item-body-number-img svelte-17nsvkc");
			if (!src_url_equal(img2.src, img2_src_value = board_job_challenge_background_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "number-img");
			attr(p0, "class", "board-job-menu__card-item-body-number-value svelte-17nsvkc");
			attr(div0, "class", "board-job-menu__card-item-body-number svelte-17nsvkc");
			attr(p1, "class", "board-job-menu__card-item-body-title svelte-17nsvkc");
			attr(p2, "class", "board-job-menu__card-item-body-time-title svelte-17nsvkc");
			attr(div1, "class", "board-job-menu__card-item-body-time svelte-17nsvkc");
			attr(div2, "class", "board-job-menu__card-item-body svelte-17nsvkc");
			attr(div3, "class", "board-job-menu__card-item svelte-17nsvkc");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, img0);
			append(div3, t0);
			append(div3, div2);
			append(div2, img1);
			append(div2, t1);
			append(div2, div0);
			append(div0, img2);
			append(div0, t2);
			append(div0, p0);
			append(p0, t3);
			append(div2, t4);
			append(div2, p1);
			append(p1, t5);
			append(div2, t6);
			append(div2, div1);
			append(div1, p2);
			append(p2, t7);
			append(div3, t8);

			if (!mounted) {
				dispose = listen(div3, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*jobs*/ 1 && !src_url_equal(img1.src, img1_src_value = `${CDN_ITEMS_URL}/${/*job*/ ctx[6].img}.webp`)) {
				attr(img1, "src", img1_src_value);
			}

			if (dirty & /*jobs*/ 1 && t3_value !== (t3_value = /*job*/ ctx[6].challengeNumber + "")) set_data(t3, t3_value);
			if (dirty & /*jobs*/ 1 && t5_value !== (t5_value = /*job*/ ctx[6].title + "")) set_data(t5, t5_value);
			if (dirty & /*jobs*/ 1 && t7_value !== (t7_value = /*job*/ ctx[6].name + "")) set_data(t7, t7_value);
		},
		d(detaching) {
			if (detaching) detach(div3);
			mounted = false;
			dispose();
		}
	};
}

function board_job_menu_index_svelte_create_fragment(ctx) {
	let div5;
	let div0;
	let t0;
	let exitbutton;
	let t1;
	let div1;
	let img0;
	let img0_src_value;
	let t2;
	let p0;
	let t4;
	let div2;
	let img1;
	let img1_src_value;
	let t5;
	let p1;
	let t7;
	let div3;
	let t8;
	let div4;
	let current;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[2],
				fixedPosition: true
			}
		});

	let each_value = /*jobs*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = menu_index_svelte_create_each_block(menu_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div5 = internal_element("div");
			div0 = internal_element("div");
			t0 = space();
			create_component(exitbutton.$$.fragment);
			t1 = space();
			div1 = internal_element("div");
			img0 = internal_element("img");
			t2 = space();
			p0 = internal_element("p");
			p0.textContent = "Доска испытаний";
			t4 = space();
			div2 = internal_element("div");
			img1 = internal_element("img");
			t5 = space();
			p1 = internal_element("p");
			p1.textContent = "Выбирай испытание, чтобы повысить ваш навык работы и получить дополнительные награды";
			t7 = space();
			div3 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t8 = space();
			div4 = internal_element("div");

			div4.innerHTML = `<p class="board-job-menu__time-info-img icon-board-job-timer svelte-17nsvkc"></p> 
        <p class="board-job-menu__time-info-title svelte-17nsvkc">Испытания обновляются раз в час</p>`;

			attr(div0, "class", "board-job-menu__background svelte-17nsvkc");
			attr(img0, "class", "board-job-menu__logo-img svelte-17nsvkc");
			if (!src_url_equal(img0.src, img0_src_value = board_job_logo_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "logo");
			attr(p0, "class", "board-job-menu__logo-title svelte-17nsvkc");
			attr(div1, "class", "board-job-menu__logo svelte-17nsvkc");
			attr(img1, "class", "board-job-menu__info-img svelte-17nsvkc");
			if (!src_url_equal(img1.src, img1_src_value = board_job_menu_info_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "info-img");
			attr(p1, "class", "board-job-menu__info-title svelte-17nsvkc");
			attr(div2, "class", "board-job-menu__info svelte-17nsvkc");
			attr(div3, "class", "board-job-menu__cards svelte-17nsvkc");
			attr(div4, "class", "board-job-menu__time-info svelte-17nsvkc");
			attr(div5, "class", "board-job-menu svelte-17nsvkc");
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			append(div5, div0);
			append(div5, t0);
			mount_component(exitbutton, div5, null);
			append(div5, t1);
			append(div5, div1);
			append(div1, img0);
			append(div1, t2);
			append(div1, p0);
			append(div5, t4);
			append(div5, div2);
			append(div2, img1);
			append(div2, t5);
			append(div2, p1);
			append(div5, t7);
			append(div5, div3);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div3, null);
			}

			append(div5, t8);
			append(div5, div4);
			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*selectJob, jobs, ChallengeBackground, CDN_ITEMS_URL, Card*/ 3) {
				each_value = /*jobs*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = menu_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = menu_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div3, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div5);
			destroy_component(exitbutton);
			destroy_each(each_blocks, detaching);
		}
	};
}

function board_job_menu_index_svelte_instance($$self, $$props, $$invalidate) {
	let jobs = [];

	const initializeJobInformation = jobsDto => {
		$$invalidate(0, jobs = jobsDto);
	};

	const selectJob = jobId => {
		sendClientMessage('boardJob.menu.selectJob', jobId);
	};

	const handleClose = () => {
		
	}; // exec close event

	const unregisterJobInformationEvent = registerEvent('event.boardJob.menu.initialize', initializeJobInformation);

	onDestroy(() => {
		unregisterJobInformationEvent();
	});

	const click_handler = job => selectJob(job.id);
	return [jobs, selectJob, handleClose, click_handler];
}

class board_job_menu_index_svelte_Menu extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, board_job_menu_index_svelte_instance, board_job_menu_index_svelte_create_fragment, safe_not_equal, {}, board_job_menu_index_svelte_add_css);
	}
}

/* harmony default export */ const board_job_menu_index_svelte = (board_job_menu_index_svelte_Menu);
;// CONCATENATED MODULE: ./src/views/board-job/challenge/img/board-job-challenge-img.png
const board_job_challenge_img_namespaceObject = __webpack_require__.p + "assets/3d297b62d5fcd02167f0.webp";
;// CONCATENATED MODULE: ./src/views/board-job/challenge/index.svelte
/* src\views\board-job\challenge\index.svelte generated by Svelte v3.49.0 */














function board_job_challenge_index_svelte_add_css(target) {
	append_styles(target, "svelte-1crszqo", "@keyframes svelte-1crszqo-blinking{50%{opacity:0}}@keyframes svelte-1crszqo-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1crszqo-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1crszqo-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1crszqo-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1crszqo-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1crszqo-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1crszqo-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1crszqo-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1crszqo-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1crszqo-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1crszqo-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1crszqo-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1crszqo-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1crszqo-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.board-job-challenge.svelte-1crszqo{display:flex;align-items:center;justify-content:center;position:relative;width:100vw;height:100vh;background:radial-gradient(50% 50% at 50% 50%, rgba(32, 39, 49, 0) 0%, rgba(32, 39, 49, 0.95) 100%)}.board-job-challenge__background.svelte-1crszqo{background:rgba(32, 39, 49, 0.85);width:100%;height:100%}.board-job-challenge__logo.svelte-1crszqo{display:flex;align-items:center;position:absolute;gap:calc(0.0078125 * 100vw + 0px);top:calc(0.0260416667 * 100vw + 0px);left:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__logo.svelte-1crszqo{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__logo.svelte-1crszqo{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__logo.svelte-1crszqo{gap:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__logo.svelte-1crszqo{gap:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__logo.svelte-1crszqo{gap:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__logo.svelte-1crszqo{gap:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__logo.svelte-1crszqo{gap:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__logo.svelte-1crszqo{top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__logo.svelte-1crszqo{top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__logo.svelte-1crszqo{top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__logo.svelte-1crszqo{top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__logo.svelte-1crszqo{top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__logo.svelte-1crszqo{top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__logo.svelte-1crszqo{top:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__logo.svelte-1crszqo{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__logo.svelte-1crszqo{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__logo.svelte-1crszqo{left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__logo.svelte-1crszqo{left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__logo.svelte-1crszqo{left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__logo.svelte-1crszqo{left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__logo.svelte-1crszqo{left:calc(0.0286458333 * 100vw + 0px)}}.board-job-challenge__logo-img.svelte-1crszqo{height:calc(0.0390625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__logo-img.svelte-1crszqo{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__logo-img.svelte-1crszqo{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__logo-img.svelte-1crszqo{height:calc(0.030078125 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__logo-img.svelte-1crszqo{height:calc(0.04296875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__logo-img.svelte-1crszqo{height:calc(0.02734375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__logo-img.svelte-1crszqo{height:calc(0.03515625 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__logo-img.svelte-1crszqo{height:calc(0.04296875 * 100vw + 0px)}}.board-job-challenge__logo-title.svelte-1crszqo{font-family:\"GothamPro-Bold\";color:#FFFFFF;text-transform:uppercase;font-size:calc(0.0166666667 * 100vw + 0px);width:calc(0.1161458333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__logo-title.svelte-1crszqo{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__logo-title.svelte-1crszqo{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__logo-title.svelte-1crszqo{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__logo-title.svelte-1crszqo{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__logo-title.svelte-1crszqo{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__logo-title.svelte-1crszqo{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__logo-title.svelte-1crszqo{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__logo-title.svelte-1crszqo{width:calc(0.1161458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__logo-title.svelte-1crszqo{width:calc(0.1161458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__logo-title.svelte-1crszqo{width:calc(0.0894322917 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__logo-title.svelte-1crszqo{width:calc(0.1277604167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__logo-title.svelte-1crszqo{width:calc(0.0813020833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__logo-title.svelte-1crszqo{width:calc(0.10453125 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__logo-title.svelte-1crszqo{width:calc(0.1277604167 * 100vw + 0px)}}.board-job-challenge__background-challenge.svelte-1crszqo{display:flex;align-items:center;position:absolute;right:0;pointer-events:none;top:calc(0.0651041667 * 100vw + 0px);height:calc(0.4322916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__background-challenge.svelte-1crszqo{top:calc(0.0651041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__background-challenge.svelte-1crszqo{top:calc(0.0651041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__background-challenge.svelte-1crszqo{top:calc(0.0501302083 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__background-challenge.svelte-1crszqo{top:calc(0.0716145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__background-challenge.svelte-1crszqo{top:calc(0.0455729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__background-challenge.svelte-1crszqo{top:calc(0.05859375 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__background-challenge.svelte-1crszqo{top:calc(0.0716145833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__background-challenge.svelte-1crszqo{height:calc(0.4322916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__background-challenge.svelte-1crszqo{height:calc(0.4322916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__background-challenge.svelte-1crszqo{height:calc(0.3328645833 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__background-challenge.svelte-1crszqo{height:calc(0.4755208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__background-challenge.svelte-1crszqo{height:calc(0.3026041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__background-challenge.svelte-1crszqo{height:calc(0.3890625 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__background-challenge.svelte-1crszqo{height:calc(0.4755208333 * 100vw + 0px)}}.board-job-challenge__background-challenge-img.svelte-1crszqo{height:calc(0.5520833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__background-challenge-img.svelte-1crszqo{height:calc(0.5520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__background-challenge-img.svelte-1crszqo{height:calc(0.5520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__background-challenge-img.svelte-1crszqo{height:calc(0.4251041667 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__background-challenge-img.svelte-1crszqo{height:calc(0.6072916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__background-challenge-img.svelte-1crszqo{height:calc(0.3864583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__background-challenge-img.svelte-1crszqo{height:calc(0.496875 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__background-challenge-img.svelte-1crszqo{height:calc(0.6072916667 * 100vw + 0px)}}.board-job-challenge__background-challenge-logo.svelte-1crszqo{position:absolute;transform:rotate(355deg);right:calc(-0.0442708333 * 100vw + 0px);height:calc(0.15625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__background-challenge-logo.svelte-1crszqo{right:calc(-0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__background-challenge-logo.svelte-1crszqo{right:calc(-0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__background-challenge-logo.svelte-1crszqo{right:calc(-0.0340885417 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__background-challenge-logo.svelte-1crszqo{right:calc(-0.0486979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__background-challenge-logo.svelte-1crszqo{right:calc(-0.0309895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__background-challenge-logo.svelte-1crszqo{right:calc(-0.03984375 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__background-challenge-logo.svelte-1crszqo{right:calc(-0.0486979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__background-challenge-logo.svelte-1crszqo{height:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__background-challenge-logo.svelte-1crszqo{height:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__background-challenge-logo.svelte-1crszqo{height:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__background-challenge-logo.svelte-1crszqo{height:calc(0.171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__background-challenge-logo.svelte-1crszqo{height:calc(0.109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__background-challenge-logo.svelte-1crszqo{height:calc(0.140625 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__background-challenge-logo.svelte-1crszqo{height:calc(0.171875 * 100vw + 0px)}}.board-job-challenge__start-challenge.svelte-1crszqo{position:absolute;display:flex;flex-direction:column;right:calc(0.1625 * 100vw + 0px);top:calc(0.2380208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__start-challenge.svelte-1crszqo{right:calc(0.1625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__start-challenge.svelte-1crszqo{right:calc(0.1625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__start-challenge.svelte-1crszqo{right:calc(0.125125 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__start-challenge.svelte-1crszqo{right:calc(0.17875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__start-challenge.svelte-1crszqo{right:calc(0.11375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__start-challenge.svelte-1crszqo{right:calc(0.14625 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__start-challenge.svelte-1crszqo{right:calc(0.17875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__start-challenge.svelte-1crszqo{top:calc(0.2380208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__start-challenge.svelte-1crszqo{top:calc(0.2380208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__start-challenge.svelte-1crszqo{top:calc(0.1832760417 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__start-challenge.svelte-1crszqo{top:calc(0.2618229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__start-challenge.svelte-1crszqo{top:calc(0.1666145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__start-challenge.svelte-1crszqo{top:calc(0.21421875 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__start-challenge.svelte-1crszqo{top:calc(0.2618229167 * 100vw + 0px)}}.board-job-challenge__start-challenge-title.svelte-1crszqo{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__start-challenge-title.svelte-1crszqo{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__start-challenge-title.svelte-1crszqo{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__start-challenge-title.svelte-1crszqo{font-size:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__start-challenge-title.svelte-1crszqo{font-size:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__start-challenge-title.svelte-1crszqo{font-size:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__start-challenge-title.svelte-1crszqo{font-size:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__start-challenge-title.svelte-1crszqo{font-size:calc(0.0275 * 100vw + 0px)}}.board-job-challenge__start-challenge-title--bold.svelte-1crszqo{font-family:\"GothamPro-Bold\"}.board-job-challenge__start-challenge-btn.svelte-1crszqo{display:flex;justify-content:center;align-items:center;cursor:pointer;font-size:calc(0.009375 * 100vw + 0px);width:calc(0.0520833333 * 100vw + 0px);height:calc(0.0234375 * 100vw + 0px);margin-top:calc(0.0083333333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__start-challenge-btn.svelte-1crszqo{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__start-challenge-btn.svelte-1crszqo{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__start-challenge-btn.svelte-1crszqo{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__start-challenge-btn.svelte-1crszqo{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__start-challenge-btn.svelte-1crszqo{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__start-challenge-btn.svelte-1crszqo{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__start-challenge-btn.svelte-1crszqo{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__start-challenge-btn.svelte-1crszqo{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__start-challenge-btn.svelte-1crszqo{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__start-challenge-btn.svelte-1crszqo{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__start-challenge-btn.svelte-1crszqo{width:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__start-challenge-btn.svelte-1crszqo{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__start-challenge-btn.svelte-1crszqo{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__start-challenge-btn.svelte-1crszqo{width:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__start-challenge-btn.svelte-1crszqo{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__start-challenge-btn.svelte-1crszqo{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__start-challenge-btn.svelte-1crszqo{height:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__start-challenge-btn.svelte-1crszqo{height:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__start-challenge-btn.svelte-1crszqo{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__start-challenge-btn.svelte-1crszqo{height:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__start-challenge-btn.svelte-1crszqo{height:calc(0.02578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__start-challenge-btn.svelte-1crszqo{margin-top:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__start-challenge-btn.svelte-1crszqo{margin-top:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__start-challenge-btn.svelte-1crszqo{margin-top:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__start-challenge-btn.svelte-1crszqo{margin-top:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__start-challenge-btn.svelte-1crszqo{margin-top:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__start-challenge-btn.svelte-1crszqo{margin-top:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__start-challenge-btn.svelte-1crszqo{margin-top:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__start-challenge-btn.svelte-1crszqo{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__start-challenge-btn.svelte-1crszqo{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__start-challenge-btn.svelte-1crszqo{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__start-challenge-btn.svelte-1crszqo{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__start-challenge-btn.svelte-1crszqo{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__start-challenge-btn.svelte-1crszqo{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__start-challenge-btn.svelte-1crszqo{border-radius:calc(0.0057291667 * 100vw + 0px)}}.board-job-challenge__info.svelte-1crszqo{position:absolute;top:calc(0.1192708333 * 100vw + 0px);left:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__info.svelte-1crszqo{top:calc(0.1192708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__info.svelte-1crszqo{top:calc(0.1192708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__info.svelte-1crszqo{top:calc(0.0918385417 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__info.svelte-1crszqo{top:calc(0.1311979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__info.svelte-1crszqo{top:calc(0.0834895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__info.svelte-1crszqo{top:calc(0.10734375 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__info.svelte-1crszqo{top:calc(0.1311979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__info.svelte-1crszqo{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__info.svelte-1crszqo{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__info.svelte-1crszqo{left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__info.svelte-1crszqo{left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__info.svelte-1crszqo{left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__info.svelte-1crszqo{left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__info.svelte-1crszqo{left:calc(0.0286458333 * 100vw + 0px)}}.board-job-challenge__info-number.svelte-1crszqo{display:flex;justify-content:center;margin-bottom:calc(0.0078125 * 100vw + 0px);width:calc(0.1822916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__info-number.svelte-1crszqo{margin-bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__info-number.svelte-1crszqo{margin-bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__info-number.svelte-1crszqo{margin-bottom:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__info-number.svelte-1crszqo{margin-bottom:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__info-number.svelte-1crszqo{margin-bottom:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__info-number.svelte-1crszqo{margin-bottom:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__info-number.svelte-1crszqo{margin-bottom:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__info-number.svelte-1crszqo{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__info-number.svelte-1crszqo{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__info-number.svelte-1crszqo{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__info-number.svelte-1crszqo{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__info-number.svelte-1crszqo{width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__info-number.svelte-1crszqo{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__info-number.svelte-1crszqo{width:calc(0.2005208333 * 100vw + 0px)}}.board-job-challenge__info-number-img.svelte-1crszqo{width:calc(0.1822916667 * 100vw + 0px);height:calc(0.0338541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__info-number-img.svelte-1crszqo{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__info-number-img.svelte-1crszqo{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__info-number-img.svelte-1crszqo{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__info-number-img.svelte-1crszqo{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__info-number-img.svelte-1crszqo{width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__info-number-img.svelte-1crszqo{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__info-number-img.svelte-1crszqo{width:calc(0.2005208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__info-number-img.svelte-1crszqo{height:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__info-number-img.svelte-1crszqo{height:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__info-number-img.svelte-1crszqo{height:calc(0.0260677083 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__info-number-img.svelte-1crszqo{height:calc(0.0372395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__info-number-img.svelte-1crszqo{height:calc(0.0236979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__info-number-img.svelte-1crszqo{height:calc(0.03046875 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__info-number-img.svelte-1crszqo{height:calc(0.0372395833 * 100vw + 0px)}}.board-job-challenge__info-number-value.svelte-1crszqo{position:absolute;font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0125 * 100vw + 0px);margin-top:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__info-number-value.svelte-1crszqo{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__info-number-value.svelte-1crszqo{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__info-number-value.svelte-1crszqo{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__info-number-value.svelte-1crszqo{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__info-number-value.svelte-1crszqo{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__info-number-value.svelte-1crszqo{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__info-number-value.svelte-1crszqo{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__info-number-value.svelte-1crszqo{margin-top:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__info-number-value.svelte-1crszqo{margin-top:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__info-number-value.svelte-1crszqo{margin-top:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__info-number-value.svelte-1crszqo{margin-top:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__info-number-value.svelte-1crszqo{margin-top:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__info-number-value.svelte-1crszqo{margin-top:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__info-number-value.svelte-1crszqo{margin-top:calc(0.0091666667 * 100vw + 0px)}}.board-job-challenge__info-title.svelte-1crszqo{font-family:\"GothamPro-Bold\";color:#FFFFFF;letter-spacing:calc(-0.0036458333 * 100vw + 0px);font-size:calc(0.05 * 100vw + 0px);margin-bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__info-title.svelte-1crszqo{letter-spacing:calc(-0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__info-title.svelte-1crszqo{letter-spacing:calc(-0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__info-title.svelte-1crszqo{letter-spacing:calc(-0.0028072917 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__info-title.svelte-1crszqo{letter-spacing:calc(-0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__info-title.svelte-1crszqo{letter-spacing:calc(-0.0025520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__info-title.svelte-1crszqo{letter-spacing:calc(-0.00328125 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__info-title.svelte-1crszqo{letter-spacing:calc(-0.0040104167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__info-title.svelte-1crszqo{font-size:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__info-title.svelte-1crszqo{font-size:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__info-title.svelte-1crszqo{font-size:calc(0.0385 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__info-title.svelte-1crszqo{font-size:calc(0.055 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__info-title.svelte-1crszqo{font-size:calc(0.035 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__info-title.svelte-1crszqo{font-size:calc(0.045 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__info-title.svelte-1crszqo{font-size:calc(0.055 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__info-title.svelte-1crszqo{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__info-title.svelte-1crszqo{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__info-title.svelte-1crszqo{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__info-title.svelte-1crszqo{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__info-title.svelte-1crszqo{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__info-title.svelte-1crszqo{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__info-title.svelte-1crszqo{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.board-job-challenge__info-description.svelte-1crszqo{font-family:\"GothamPro-Light\";color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px);margin-bottom:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__info-description.svelte-1crszqo{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__info-description.svelte-1crszqo{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__info-description.svelte-1crszqo{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__info-description.svelte-1crszqo{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__info-description.svelte-1crszqo{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__info-description.svelte-1crszqo{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__info-description.svelte-1crszqo{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__info-description.svelte-1crszqo{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__info-description.svelte-1crszqo{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__info-description.svelte-1crszqo{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__info-description.svelte-1crszqo{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__info-description.svelte-1crszqo{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__info-description.svelte-1crszqo{margin-bottom:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__info-description.svelte-1crszqo{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}.board-job-challenge__progress-bar-exp-wrapper.svelte-1crszqo{display:flex;align-items:center;justify-content:space-between;width:calc(0.2864583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__progress-bar-exp-wrapper.svelte-1crszqo{width:calc(0.2864583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__progress-bar-exp-wrapper.svelte-1crszqo{width:calc(0.2864583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__progress-bar-exp-wrapper.svelte-1crszqo{width:calc(0.2205729167 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__progress-bar-exp-wrapper.svelte-1crszqo{width:calc(0.3151041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__progress-bar-exp-wrapper.svelte-1crszqo{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__progress-bar-exp-wrapper.svelte-1crszqo{width:calc(0.2578125 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__progress-bar-exp-wrapper.svelte-1crszqo{width:calc(0.3151041667 * 100vw + 0px)}}.board-job-challenge__progress-bar-exp.svelte-1crszqo{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__progress-bar-exp.svelte-1crszqo{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__progress-bar-exp.svelte-1crszqo{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__progress-bar-exp.svelte-1crszqo{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__progress-bar-exp.svelte-1crszqo{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__progress-bar-exp.svelte-1crszqo{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__progress-bar-exp.svelte-1crszqo{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__progress-bar-exp.svelte-1crszqo{font-size:calc(0.0114583333 * 100vw + 0px)}}.board-job-challenge__progress-bar-exp-dark.svelte-1crszqo{color:rgba(255, 255, 255, 0.6)}.board-job-challenge__progress-bar-percents.svelte-1crszqo{font-family:\"GothamPro-Bold\";color:#F2C94C;border:1px solid rgba(255, 255, 255, 0.25);border-radius:calc(0.0041666667 * 100vw + 0px);font-size:calc(0.0104166667 * 100vw + 0px);padding:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__progress-bar-percents.svelte-1crszqo{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__progress-bar-percents.svelte-1crszqo{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__progress-bar-percents.svelte-1crszqo{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__progress-bar-percents.svelte-1crszqo{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__progress-bar-percents.svelte-1crszqo{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__progress-bar-percents.svelte-1crszqo{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__progress-bar-percents.svelte-1crszqo{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__progress-bar-percents.svelte-1crszqo{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__progress-bar-percents.svelte-1crszqo{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__progress-bar-percents.svelte-1crszqo{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__progress-bar-percents.svelte-1crszqo{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__progress-bar-percents.svelte-1crszqo{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__progress-bar-percents.svelte-1crszqo{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__progress-bar-percents.svelte-1crszqo{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__progress-bar-percents.svelte-1crszqo{padding:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__progress-bar-percents.svelte-1crszqo{padding:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__progress-bar-percents.svelte-1crszqo{padding:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__progress-bar-percents.svelte-1crszqo{padding:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__progress-bar-percents.svelte-1crszqo{padding:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__progress-bar-percents.svelte-1crszqo{padding:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__progress-bar-percents.svelte-1crszqo{padding:calc(0.0057291667 * 100vw + 0px)}}.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{display:flex;align-items:center;position:relative;background-color:rgba(255, 255, 255, 0.25);overflow:hidden;margin-top:calc(0.0078125 * 100vw + 0px);margin-bottom:calc(0.078125 * 100vw + 0px);width:calc(0.2864583333 * 100vw + 0px);height:calc(0.0026041667 * 100vw + 0px);border-radius:calc(0.003125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{margin-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{margin-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{margin-top:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{margin-top:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{margin-top:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{margin-top:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{margin-top:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{margin-bottom:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{margin-bottom:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{margin-bottom:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{margin-bottom:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{margin-bottom:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{margin-bottom:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{margin-bottom:calc(0.0859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{width:calc(0.2864583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{width:calc(0.2864583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{width:calc(0.2205729167 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{width:calc(0.3151041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{width:calc(0.2578125 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{width:calc(0.3151041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{height:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{height:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{height:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{height:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{height:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{height:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{height:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{border-radius:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{border-radius:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{border-radius:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{border-radius:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{border-radius:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{border-radius:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__progress-bar-value-wrapper.svelte-1crszqo{border-radius:calc(0.0034375 * 100vw + 0px)}}.board-job-challenge__progress-bar-value.svelte-1crszqo{background-color:#F2C94C;position:absolute;left:0;height:100%;width:0}.board-job-challenge__info-reward-title.svelte-1crszqo{font-family:\"GothamPro-Medium\";color:#F2C94C;font-size:calc(0.009375 * 100vw + 0px);margin-bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__info-reward-title.svelte-1crszqo{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__info-reward-title.svelte-1crszqo{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__info-reward-title.svelte-1crszqo{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__info-reward-title.svelte-1crszqo{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__info-reward-title.svelte-1crszqo{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__info-reward-title.svelte-1crszqo{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__info-reward-title.svelte-1crszqo{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__info-reward-title.svelte-1crszqo{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__info-reward-title.svelte-1crszqo{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__info-reward-title.svelte-1crszqo{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__info-reward-title.svelte-1crszqo{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__info-reward-title.svelte-1crszqo{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__info-reward-title.svelte-1crszqo{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__info-reward-title.svelte-1crszqo{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.board-job-challenge__info-reward-list.svelte-1crszqo{display:flex;gap:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__info-reward-list.svelte-1crszqo{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__info-reward-list.svelte-1crszqo{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__info-reward-list.svelte-1crszqo{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__info-reward-list.svelte-1crszqo{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__info-reward-list.svelte-1crszqo{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__info-reward-list.svelte-1crszqo{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__info-reward-list.svelte-1crszqo{gap:calc(0.0057291667 * 100vw + 0px)}}.board-job-challenge__info-reward-item.svelte-1crszqo{display:flex;flex-direction:column;align-items:center;justify-content:space-between;background-color:rgba(0, 0, 0, 0.35);text-align:center;line-height:calc(0.0072916667 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);padding-top:calc(0.0130208333 * 100vw + 0px);padding-bottom:calc(0.0130208333 * 100vw + 0px);width:calc(0.078125 * 100vw + 0px);height:calc(0.078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__info-reward-item.svelte-1crszqo{line-height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__info-reward-item.svelte-1crszqo{line-height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__info-reward-item.svelte-1crszqo{line-height:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__info-reward-item.svelte-1crszqo{line-height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__info-reward-item.svelte-1crszqo{line-height:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__info-reward-item.svelte-1crszqo{line-height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__info-reward-item.svelte-1crszqo{line-height:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__info-reward-item.svelte-1crszqo{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__info-reward-item.svelte-1crszqo{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__info-reward-item.svelte-1crszqo{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__info-reward-item.svelte-1crszqo{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__info-reward-item.svelte-1crszqo{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__info-reward-item.svelte-1crszqo{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__info-reward-item.svelte-1crszqo{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__info-reward-item.svelte-1crszqo{padding-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__info-reward-item.svelte-1crszqo{padding-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__info-reward-item.svelte-1crszqo{padding-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__info-reward-item.svelte-1crszqo{padding-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__info-reward-item.svelte-1crszqo{padding-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__info-reward-item.svelte-1crszqo{padding-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__info-reward-item.svelte-1crszqo{padding-top:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__info-reward-item.svelte-1crszqo{padding-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__info-reward-item.svelte-1crszqo{padding-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__info-reward-item.svelte-1crszqo{padding-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__info-reward-item.svelte-1crszqo{padding-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__info-reward-item.svelte-1crszqo{padding-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__info-reward-item.svelte-1crszqo{padding-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__info-reward-item.svelte-1crszqo{padding-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__info-reward-item.svelte-1crszqo{width:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__info-reward-item.svelte-1crszqo{width:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__info-reward-item.svelte-1crszqo{width:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__info-reward-item.svelte-1crszqo{width:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__info-reward-item.svelte-1crszqo{width:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__info-reward-item.svelte-1crszqo{width:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__info-reward-item.svelte-1crszqo{width:calc(0.0859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__info-reward-item.svelte-1crszqo{height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__info-reward-item.svelte-1crszqo{height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__info-reward-item.svelte-1crszqo{height:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__info-reward-item.svelte-1crszqo{height:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__info-reward-item.svelte-1crszqo{height:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__info-reward-item.svelte-1crszqo{height:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__info-reward-item.svelte-1crszqo{height:calc(0.0859375 * 100vw + 0px)}}.board-job-challenge__info-reward-item-img.svelte-1crszqo{height:calc(0.0333333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__info-reward-item-img.svelte-1crszqo{height:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__info-reward-item-img.svelte-1crszqo{height:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__info-reward-item-img.svelte-1crszqo{height:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__info-reward-item-img.svelte-1crszqo{height:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__info-reward-item-img.svelte-1crszqo{height:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__info-reward-item-img.svelte-1crszqo{height:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__info-reward-item-img.svelte-1crszqo{height:calc(0.0366666667 * 100vw + 0px)}}.board-job-challenge__info-reward-item-title.svelte-1crszqo{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.board-job-challenge__info-reward-item-title.svelte-1crszqo{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.board-job-challenge__info-reward-item-title.svelte-1crszqo{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.board-job-challenge__info-reward-item-title.svelte-1crszqo{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.board-job-challenge__info-reward-item-title.svelte-1crszqo{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.board-job-challenge__info-reward-item-title.svelte-1crszqo{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.board-job-challenge__info-reward-item-title.svelte-1crszqo{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.board-job-challenge__info-reward-item-title.svelte-1crszqo{font-size:calc(0.006875 * 100vw + 0px)}}");
}

function challenge_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[5] = list[i];
	return child_ctx;
}

// (2279:8) {:else}
function challenge_index_svelte_create_else_block(ctx) {
	let p;
	let t3;
	let div;
	let actionbutton;
	let current;

	actionbutton = new index_svelte({
			props: {
				onPress: /*startChallenge*/ ctx[2],
				keyTitle: "Enter",
				keyCode: 13,
				size: ActionButtonSize.FillFree
			}
		});

	return {
		c() {
			p = internal_element("p");

			p.innerHTML = `Отменить
                <br/> 
                <span class="board-job-challenge__start-challenge-title--bold svelte-1crszqo">испытание</span>`;

			t3 = space();
			div = internal_element("div");
			create_component(actionbutton.$$.fragment);
			attr(p, "class", "board-job-challenge__start-challenge-title svelte-1crszqo");
			attr(div, "class", "board-job-challenge__start-challenge-btn svelte-1crszqo");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			insert(target, t3, anchor);
			insert(target, div, anchor);
			mount_component(actionbutton, div, null);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(actionbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(actionbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(p);
			if (detaching) detach(t3);
			if (detaching) detach(div);
			destroy_component(actionbutton);
		}
	};
}

// (2263:8) {#if challengeInformation.isProgress !== 1}
function challenge_index_svelte_create_if_block_1(ctx) {
	let p;
	let t3;
	let div;
	let actionbutton;
	let current;

	actionbutton = new index_svelte({
			props: {
				onPress: /*startChallenge*/ ctx[2],
				keyTitle: "Enter",
				keyCode: 13,
				size: ActionButtonSize.FillFree
			}
		});

	return {
		c() {
			p = internal_element("p");

			p.innerHTML = `Начать
                <br/> 
                <span class="board-job-challenge__start-challenge-title--bold svelte-1crszqo">испытание</span>`;

			t3 = space();
			div = internal_element("div");
			create_component(actionbutton.$$.fragment);
			attr(p, "class", "board-job-challenge__start-challenge-title svelte-1crszqo");
			attr(div, "class", "board-job-challenge__start-challenge-btn svelte-1crszqo");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			insert(target, t3, anchor);
			insert(target, div, anchor);
			mount_component(actionbutton, div, null);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(actionbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(actionbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(p);
			if (detaching) detach(t3);
			if (detaching) detach(div);
			destroy_component(actionbutton);
		}
	};
}

// (2338:16) {#if !isEmpty(challengeInformation)}
function board_job_challenge_index_svelte_create_if_block(ctx) {
	let each_1_anchor;
	let each_value = /*challengeInformation*/ ctx[0].rewards;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = challenge_index_svelte_create_each_block(challenge_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*challengeInformation, CDN_ITEMS_URL*/ 1) {
				each_value = /*challengeInformation*/ ctx[0].rewards;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = challenge_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = challenge_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		d(detaching) {
			destroy_each(each_blocks, detaching);
			if (detaching) detach(each_1_anchor);
		}
	};
}

// (2339:20) {#each challengeInformation.rewards as reward}
function challenge_index_svelte_create_each_block(ctx) {
	let div;
	let img;
	let img_src_value;
	let t0;
	let p;
	let t1_value = /*reward*/ ctx[5].title + "";
	let t1;
	let t2;

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(img, "class", "board-job-challenge__info-reward-item-img svelte-1crszqo");
			if (!src_url_equal(img.src, img_src_value = `${CDN_ITEMS_URL}/${/*reward*/ ctx[5].img}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "reward-img");
			attr(p, "class", "board-job-challenge__info-reward-item-title svelte-1crszqo");
			attr(div, "class", "board-job-challenge__info-reward-item svelte-1crszqo");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
			append(div, t0);
			append(div, p);
			append(p, t1);
			append(div, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*challengeInformation*/ 1 && !src_url_equal(img.src, img_src_value = `${CDN_ITEMS_URL}/${/*reward*/ ctx[5].img}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*challengeInformation*/ 1 && t1_value !== (t1_value = /*reward*/ ctx[5].title + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function board_job_challenge_index_svelte_create_fragment(ctx) {
	let div12;
	let div0;
	let t0;
	let exitbutton;
	let t1;
	let div1;
	let img0;
	let img0_src_value;
	let t2;
	let p0;
	let t4;
	let div2;
	let img1;
	let img1_src_value;
	let t5;
	let img2;
	let img2_src_value;
	let t6;
	let div3;
	let current_block_type_index;
	let if_block0;
	let t7;
	let div11;
	let div4;
	let img3;
	let img3_src_value;
	let t8;
	let p1;
	let t9_value = /*challengeInformation*/ ctx[0].challengeNumber + "";
	let t9;
	let t10;
	let p2;
	let t11_value = /*challengeInformation*/ ctx[0].title + "";
	let t11;
	let t12;
	let p3;
	let t13_value = /*challengeInformation*/ ctx[0].description + "";
	let t13;
	let t14;
	let div8;
	let div5;
	let p4;
	let t15_value = /*challengeInformation*/ ctx[0].exp + "";
	let t15;
	let t16;
	let span;
	let t17;
	let t18_value = /*challengeInformation*/ ctx[0].maxExp + "";
	let t18;
	let t19;
	let p5;
	let t20_value = /*challengeInformation*/ ctx[0].percent + "";
	let t20;
	let t21;
	let t22;
	let div7;
	let div6;
	let div6_style_value;
	let t23;
	let div10;
	let p6;
	let t25;
	let div9;
	let show_if = !(0,lodash.isEmpty)(/*challengeInformation*/ ctx[0]);
	let current;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[1],
				fixedPosition: true
			}
		});

	const if_block_creators = [challenge_index_svelte_create_if_block_1, challenge_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (/*challengeInformation*/ ctx[0].isProgress !== 1) return 0;
		return 1;
	}

	current_block_type_index = select_block_type(ctx, -1);
	if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
	let if_block1 = show_if && board_job_challenge_index_svelte_create_if_block(ctx);

	return {
		c() {
			div12 = internal_element("div");
			div0 = internal_element("div");
			t0 = space();
			create_component(exitbutton.$$.fragment);
			t1 = space();
			div1 = internal_element("div");
			img0 = internal_element("img");
			t2 = space();
			p0 = internal_element("p");
			p0.textContent = "Доска испытаний";
			t4 = space();
			div2 = internal_element("div");
			img1 = internal_element("img");
			t5 = space();
			img2 = internal_element("img");
			t6 = space();
			div3 = internal_element("div");
			if_block0.c();
			t7 = space();
			div11 = internal_element("div");
			div4 = internal_element("div");
			img3 = internal_element("img");
			t8 = space();
			p1 = internal_element("p");
			t9 = internal_text(t9_value);
			t10 = space();
			p2 = internal_element("p");
			t11 = internal_text(t11_value);
			t12 = space();
			p3 = internal_element("p");
			t13 = internal_text(t13_value);
			t14 = space();
			div8 = internal_element("div");
			div5 = internal_element("div");
			p4 = internal_element("p");
			t15 = internal_text(t15_value);
			t16 = space();
			span = internal_element("span");
			t17 = internal_text("/ ");
			t18 = internal_text(t18_value);
			t19 = space();
			p5 = internal_element("p");
			t20 = internal_text(t20_value);
			t21 = internal_text("%");
			t22 = space();
			div7 = internal_element("div");
			div6 = internal_element("div");
			t23 = space();
			div10 = internal_element("div");
			p6 = internal_element("p");
			p6.textContent = "Награда за испытание";
			t25 = space();
			div9 = internal_element("div");
			if (if_block1) if_block1.c();
			attr(div0, "class", "board-job-challenge__background svelte-1crszqo");
			attr(img0, "class", "board-job-challenge__logo-img svelte-1crszqo");
			if (!src_url_equal(img0.src, img0_src_value = board_job_logo_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "logo");
			attr(p0, "class", "board-job-challenge__logo-title svelte-1crszqo");
			attr(div1, "class", "board-job-challenge__logo svelte-1crszqo");
			attr(img1, "class", "board-job-challenge__background-challenge-img svelte-1crszqo");
			if (!src_url_equal(img1.src, img1_src_value = board_job_challenge_img_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "questBackground");
			attr(img2, "class", "board-job-challenge__background-challenge-logo svelte-1crszqo");
			if (!src_url_equal(img2.src, img2_src_value = `${cdn_CDN_URL_RODINA}/systems/board-job/${/*challengeInformation*/ ctx[0].img}.webp`)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "questBackground");
			attr(div2, "class", "board-job-challenge__background-challenge svelte-1crszqo");
			attr(div3, "class", "board-job-challenge__start-challenge svelte-1crszqo");
			attr(img3, "class", "board-job-challenge__info-number-img svelte-1crszqo");
			if (!src_url_equal(img3.src, img3_src_value = board_job_challenge_background_namespaceObject)) attr(img3, "src", img3_src_value);
			attr(img3, "alt", "challenge-img");
			attr(p1, "class", "board-job-challenge__info-number-value svelte-1crszqo");
			attr(div4, "class", "board-job-challenge__info-number svelte-1crszqo");
			attr(p2, "class", "board-job-challenge__info-title svelte-1crszqo");
			attr(p3, "class", "board-job-challenge__info-description svelte-1crszqo");
			attr(span, "class", "board-job-challenge__progress-bar-exp-dark svelte-1crszqo");
			attr(p4, "class", "board-job-challenge__progress-bar-exp svelte-1crszqo");
			attr(p5, "class", "board-job-challenge__progress-bar-percents svelte-1crszqo");
			attr(div5, "class", "board-job-challenge__progress-bar-exp-wrapper svelte-1crszqo");
			attr(div6, "class", "board-job-challenge__progress-bar-value svelte-1crszqo");
			attr(div6, "style", div6_style_value = `width: ${/*challengeInformation*/ ctx[0].exp / (/*challengeInformation*/ ctx[0].maxExp / 100)}%;`);
			attr(div7, "class", "board-job-challenge__progress-bar-value-wrapper svelte-1crszqo");
			attr(div8, "class", "board-job-challenge__progress-bar");
			attr(p6, "class", "board-job-challenge__info-reward-title svelte-1crszqo");
			attr(div9, "class", "board-job-challenge__info-reward-list svelte-1crszqo");
			attr(div10, "class", "board-job-challenge__info-reward");
			attr(div11, "class", "board-job-challenge__info svelte-1crszqo");
			attr(div12, "class", "board-job-challenge svelte-1crszqo");
		},
		m(target, anchor) {
			insert(target, div12, anchor);
			append(div12, div0);
			append(div12, t0);
			mount_component(exitbutton, div12, null);
			append(div12, t1);
			append(div12, div1);
			append(div1, img0);
			append(div1, t2);
			append(div1, p0);
			append(div12, t4);
			append(div12, div2);
			append(div2, img1);
			append(div2, t5);
			append(div2, img2);
			append(div12, t6);
			append(div12, div3);
			if_blocks[current_block_type_index].m(div3, null);
			append(div12, t7);
			append(div12, div11);
			append(div11, div4);
			append(div4, img3);
			append(div4, t8);
			append(div4, p1);
			append(p1, t9);
			append(div11, t10);
			append(div11, p2);
			append(p2, t11);
			append(div11, t12);
			append(div11, p3);
			append(p3, t13);
			append(div11, t14);
			append(div11, div8);
			append(div8, div5);
			append(div5, p4);
			append(p4, t15);
			append(p4, t16);
			append(p4, span);
			append(span, t17);
			append(span, t18);
			append(div5, t19);
			append(div5, p5);
			append(p5, t20);
			append(p5, t21);
			append(div8, t22);
			append(div8, div7);
			append(div7, div6);
			append(div11, t23);
			append(div11, div10);
			append(div10, p6);
			append(div10, t25);
			append(div10, div9);
			if (if_block1) if_block1.m(div9, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if (!current || dirty & /*challengeInformation*/ 1 && !src_url_equal(img2.src, img2_src_value = `${cdn_CDN_URL_RODINA}/systems/board-job/${/*challengeInformation*/ ctx[0].img}.webp`)) {
				attr(img2, "src", img2_src_value);
			}

			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block0 = if_blocks[current_block_type_index];

				if (!if_block0) {
					if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block0.c();
				} else {
					if_block0.p(ctx, dirty);
				}

				transition_in(if_block0, 1);
				if_block0.m(div3, null);
			}

			if ((!current || dirty & /*challengeInformation*/ 1) && t9_value !== (t9_value = /*challengeInformation*/ ctx[0].challengeNumber + "")) set_data(t9, t9_value);
			if ((!current || dirty & /*challengeInformation*/ 1) && t11_value !== (t11_value = /*challengeInformation*/ ctx[0].title + "")) set_data(t11, t11_value);
			if ((!current || dirty & /*challengeInformation*/ 1) && t13_value !== (t13_value = /*challengeInformation*/ ctx[0].description + "")) set_data(t13, t13_value);
			if ((!current || dirty & /*challengeInformation*/ 1) && t15_value !== (t15_value = /*challengeInformation*/ ctx[0].exp + "")) set_data(t15, t15_value);
			if ((!current || dirty & /*challengeInformation*/ 1) && t18_value !== (t18_value = /*challengeInformation*/ ctx[0].maxExp + "")) set_data(t18, t18_value);
			if ((!current || dirty & /*challengeInformation*/ 1) && t20_value !== (t20_value = /*challengeInformation*/ ctx[0].percent + "")) set_data(t20, t20_value);

			if (!current || dirty & /*challengeInformation*/ 1 && div6_style_value !== (div6_style_value = `width: ${/*challengeInformation*/ ctx[0].exp / (/*challengeInformation*/ ctx[0].maxExp / 100)}%;`)) {
				attr(div6, "style", div6_style_value);
			}

			if (dirty & /*challengeInformation*/ 1) show_if = !(0,lodash.isEmpty)(/*challengeInformation*/ ctx[0]);

			if (show_if) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = board_job_challenge_index_svelte_create_if_block(ctx);
					if_block1.c();
					if_block1.m(div9, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			transition_in(if_block0);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			transition_out(if_block0);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div12);
			destroy_component(exitbutton);
			if_blocks[current_block_type_index].d();
			if (if_block1) if_block1.d();
		}
	};
}

function board_job_challenge_index_svelte_instance($$self, $$props, $$invalidate) {
	let challengeInformation = {};

	const initializeChallengeInformation = challengeInformationDto => {
		$$invalidate(0, challengeInformation = challengeInformationDto);
	};

	const handleClose = () => {
		
	}; // exec close event

	const startChallenge = () => {
		sendClientMessage('boardJob.challenge.startChallenge');
	};

	const unregisterChallengeInformationEvent = registerEvent('event.boardJob.challenge.initialize', initializeChallengeInformation);

	onDestroy(() => {
		unregisterChallengeInformationEvent();
	});

	return [challengeInformation, handleClose, startChallenge];
}

class index_svelte_Challenge extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, board_job_challenge_index_svelte_instance, board_job_challenge_index_svelte_create_fragment, safe_not_equal, {}, board_job_challenge_index_svelte_add_css);
	}
}

/* harmony default export */ const board_job_challenge_index_svelte = (index_svelte_Challenge);
;// CONCATENATED MODULE: ./src/views/car-numbers/img/usa-decorate-plate.png
const usa_decorate_plate_namespaceObject = __webpack_require__.p + "assets/5d4ad2f22b2898bb097e.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/cis-decorate-plate.png
const cis_decorate_plate_namespaceObject = __webpack_require__.p + "assets/419253dc3f5c76df197c.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/bg/usa-bg.png
const usa_bg_namespaceObject = __webpack_require__.p + "assets/ffc2e62f1ac682835a7b.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/bg/cis-bg.png
const cis_bg_namespaceObject = __webpack_require__.p + "assets/10ea0b7c7b198333c122.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/bg/rus-bg.png
const rus_bg_namespaceObject = __webpack_require__.p + "assets/1f39ba865aae8ea9a313.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/bg/ua-bg.png
const ua_bg_namespaceObject = __webpack_require__.p + "assets/3569c4a59cc764c8b0af.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/bg/by-bg.png
const by_bg_namespaceObject = __webpack_require__.p + "assets/b8a703607336d18c9f81.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/bg/kz-bg.png
const kz_bg_namespaceObject = __webpack_require__.p + "assets/06ebf96e0f381b7317f5.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/pallet-rus.png
const pallet_rus_namespaceObject = __webpack_require__.p + "assets/cbcf98ed5e55a385c484.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/pallet-ua.png
const pallet_ua_namespaceObject = __webpack_require__.p + "assets/c24658cca3546f28d75f.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/pallet-kz.png
const pallet_kz_namespaceObject = __webpack_require__.p + "assets/61a7636ffbfdccb4cd0d.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/pallet-by.png
const pallet_by_namespaceObject = __webpack_require__.p + "assets/01692ead78b6b47218d6.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/alabama.png
const alabama_namespaceObject = __webpack_require__.p + "assets/45d0e80e61fbce7362b6.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/alaska.png
const alaska_namespaceObject = __webpack_require__.p + "assets/2e15f59627b4bed3464b.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/arizona.png
const arizona_namespaceObject = __webpack_require__.p + "assets/c50b1e222a92036d951f.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/arkansas.png
const arkansas_namespaceObject = __webpack_require__.p + "assets/ad1a604b1d94d94ade69.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/california.png
const california_namespaceObject = __webpack_require__.p + "assets/ea667c3adfad8b46a475.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/colorado.png
const colorado_namespaceObject = __webpack_require__.p + "assets/bfb0b42724f6ebb99d0f.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/connecticut.png
const connecticut_namespaceObject = __webpack_require__.p + "assets/e02a8af82fd4f6e382c4.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/delaware.png
const delaware_namespaceObject = __webpack_require__.p + "assets/4ab986b7b7b4879effa4.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/florida.png
const florida_namespaceObject = __webpack_require__.p + "assets/7e6932709d70d3c718cc.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/georgia.png
const georgia_namespaceObject = __webpack_require__.p + "assets/2ec187485ddd90538e55.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/hawaii.png
const hawaii_namespaceObject = __webpack_require__.p + "assets/d4135ef3b0d72d4bfe7a.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/idaho.png
const idaho_namespaceObject = __webpack_require__.p + "assets/07b73f7d2524025fee83.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/illinois.png
const illinois_namespaceObject = __webpack_require__.p + "assets/98020ff25e6ef797d752.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/indiana.png
const indiana_namespaceObject = __webpack_require__.p + "assets/d0df398da807593cf91c.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/iowa.png
const iowa_namespaceObject = __webpack_require__.p + "assets/71bf05a9b4fb5b3030ec.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/kansas.png
const kansas_namespaceObject = __webpack_require__.p + "assets/4af0bbc78dc4bdd96115.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/louisiane.png
const louisiane_namespaceObject = __webpack_require__.p + "assets/d750a1683f39724093aa.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/maine.png
const maine_namespaceObject = __webpack_require__.p + "assets/920193a954e0cd587aa7.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/maryland.png
const maryland_namespaceObject = __webpack_require__.p + "assets/43a76011ce5d0544ef9f.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/massachusetts.png
const massachusetts_namespaceObject = __webpack_require__.p + "assets/9b41658f0f89bd0592a1.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/michigan.png
const michigan_namespaceObject = __webpack_require__.p + "assets/1696617897c2d7bd4f11.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/minnesota.png
const minnesota_namespaceObject = __webpack_require__.p + "assets/6a798c202414506e7fbb.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/mississippi.png
const mississippi_namespaceObject = __webpack_require__.p + "assets/0fbd7fde6ab9a4c6813f.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/missouri.png
const missouri_namespaceObject = __webpack_require__.p + "assets/aa469b63c8d033c8b34b.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/montana.png
const montana_namespaceObject = __webpack_require__.p + "assets/942615ea5308741c73e7.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/nebraska.png
const nebraska_namespaceObject = __webpack_require__.p + "assets/7dbca523958f9d3c3324.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/nevada.png
const nevada_namespaceObject = __webpack_require__.p + "assets/77e76344ccfc93d6ecc7.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/new-hampshire.png
const new_hampshire_namespaceObject = __webpack_require__.p + "assets/e4707eaea0636c7f41d8.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/new-jersey.png
const new_jersey_namespaceObject = __webpack_require__.p + "assets/aa264bafbc3eda6a9d35.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/new-mexico.png
const new_mexico_namespaceObject = __webpack_require__.p + "assets/86a1b3d48fc91f7c5a24.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/new-york.png
const new_york_namespaceObject = __webpack_require__.p + "assets/a13920e336dfa93970ea.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/north-carolina.png
const north_carolina_namespaceObject = __webpack_require__.p + "assets/30ae987a253be8c67a5a.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/north-dakota.png
const north_dakota_namespaceObject = __webpack_require__.p + "assets/e5cec4e14e9bb085ab17.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/ohio.png
const ohio_namespaceObject = __webpack_require__.p + "assets/cd9041f0fc8cf5f80d07.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/oklahoma.png
const oklahoma_namespaceObject = __webpack_require__.p + "assets/ccedc29a5c50a3b2441b.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/oregon.png
const oregon_namespaceObject = __webpack_require__.p + "assets/5f81b03b08c74358df35.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/pennsylvania.png
const pennsylvania_namespaceObject = __webpack_require__.p + "assets/3ff919a25335ce12c9d1.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/rhode-island.png
const rhode_island_namespaceObject = __webpack_require__.p + "assets/c4113df9d44d1cddfb65.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/south-carolina.png
const south_carolina_namespaceObject = __webpack_require__.p + "assets/962fedd114aefb40b6a6.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/south-dakota.png
const south_dakota_namespaceObject = __webpack_require__.p + "assets/0e7b3aa8c6f917dcccda.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/tennessee.png
const tennessee_namespaceObject = __webpack_require__.p + "assets/7f373d641118ce519b35.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/texas.png
const texas_namespaceObject = __webpack_require__.p + "assets/e8c0459c1891a46514f8.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/utah.png
const utah_namespaceObject = __webpack_require__.p + "assets/acb1fae0052b59d0634f.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/vermont.png
const vermont_namespaceObject = __webpack_require__.p + "assets/b05f5272eda03f8bb0aa.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/virginia.png
const virginia_namespaceObject = __webpack_require__.p + "assets/98eeddf2a2c7d2f3aeae.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/washington.png
const washington_namespaceObject = __webpack_require__.p + "assets/50c2658be2defe60c605.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/west-virginia.png
const west_virginia_namespaceObject = __webpack_require__.p + "assets/3eb7b855c3e997c1de58.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/wisconsin.png
const wisconsin_namespaceObject = __webpack_require__.p + "assets/21dc3ffefd931e112f9c.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/pallets/wyoming.png
const wyoming_namespaceObject = __webpack_require__.p + "assets/3124d3fc267f705096b4.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/bg-flags/flag-bg-rus.png
const flag_bg_rus_namespaceObject = __webpack_require__.p + "assets/2097717edbffaf5dc2ba.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/bg-flags/flag-bg-ua.png
const flag_bg_ua_namespaceObject = __webpack_require__.p + "assets/df0318dd9cd805c06340.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/bg-flags/flag-bg-by.png
const flag_bg_by_namespaceObject = __webpack_require__.p + "assets/91a05e5af254d83364e8.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/bg-flags/flag-bg-kz.png
const flag_bg_kz_namespaceObject = __webpack_require__.p + "assets/3fd5f0f2512785bc010b.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/icon-flags/icon-rus.png
const icon_rus_namespaceObject = __webpack_require__.p + "assets/193179285f85c4aeb97d.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/icon-flags/icon-ua.png
const icon_ua_namespaceObject = __webpack_require__.p + "assets/73fea52ee472a1f99a9c.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/icon-flags/icon-by.png
const icon_by_namespaceObject = __webpack_require__.p + "assets/5dd4e534b1774395fe09.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/img/icon-flags/icon-kz.png
const icon_kz_namespaceObject = __webpack_require__.p + "assets/ce23fa4da9a18ef9827c.webp";
;// CONCATENATED MODULE: ./src/views/car-numbers/store.js

var car_numbers_store_selectedScreen = writable('cis');
var carNumber = writable('');
var selectedRegion = writable('cis');
var selectedRegionIndex = writable(0);
var regionNumber = writable('');
var spinnerBands = writable([]);
var carNumberRevealed = writable(false);
var disabledButtons = writable(false);
;// CONCATENATED MODULE: ./src/views/car-numbers/components/plate-usa/index.svelte
/* src\views\car-numbers\components\plate-usa\index.svelte generated by Svelte v3.49.0 */




// eslint-disable-next-line import/no-cycle






function plate_usa_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[11] = list[i];
	child_ctx[5] = i;
	return child_ctx;
}

// (79:4) {#each $spinnerBands as symbol, index}
function plate_usa_index_svelte_create_each_block(ctx) {
	let div1;
	let div0;
	let t0_value = /*symbol*/ ctx[11] + "";
	let t0;
	let t1;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			attr(div0, "class", "car-numbers-plate-usa__spinner");
			toggle_class(div0, "car-numbers-plate-usa__spinner--unrevealed", !/*$carNumberRevealed*/ ctx[1]);
			attr(div1, "class", "car-numbers-plate-usa__char");
			set_style(div1, "--duration", SPINNING_DURATION_MS * (/*index*/ ctx[5] + 1) / 1000 + "s ease-out");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, t0);
			append(div1, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*$spinnerBands*/ 16 && t0_value !== (t0_value = /*symbol*/ ctx[11] + "")) set_data(t0, t0_value);

			if (dirty & /*$carNumberRevealed*/ 2) {
				toggle_class(div0, "car-numbers-plate-usa__spinner--unrevealed", !/*$carNumberRevealed*/ ctx[1]);
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (77:2) {#key $carNumberRevealed}
function plate_usa_index_svelte_create_key_block(ctx) {
	let div;
	let each_value = /*$spinnerBands*/ ctx[4];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = plate_usa_index_svelte_create_each_block(plate_usa_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "car-numbers-plate-usa__number");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}

			/*div_binding*/ ctx[9](div);
		},
		p(ctx, dirty) {
			if (dirty & /*SPINNING_DURATION_MS, $carNumberRevealed, $spinnerBands*/ 18) {
				each_value = /*$spinnerBands*/ ctx[4];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = plate_usa_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = plate_usa_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
			/*div_binding*/ ctx[9](null);
		}
	};
}

function plate_usa_index_svelte_create_fragment(ctx) {
	let div3;
	let div0;
	let t0;
	let div1;
	let previous_key = /*$carNumberRevealed*/ ctx[1];
	let t1;
	let div2;
	let mounted;
	let dispose;
	let key_block = plate_usa_index_svelte_create_key_block(ctx);

	return {
		c() {
			div3 = internal_element("div");
			div0 = internal_element("div");
			div0.innerHTML = `<i class="car-numbers-plate-usa__arrow-icon ui-arrow-left"></i>`;
			t0 = space();
			div1 = internal_element("div");
			key_block.c();
			t1 = space();
			div2 = internal_element("div");
			div2.innerHTML = `<i class="car-numbers-plate-usa__arrow-icon ui-arrow-right"></i>`;
			attr(div0, "class", "car-numbers-plate-usa__arrow car-numbers-plate-usa__arrow--left");
			toggle_class(div0, "car-numbers-plate-usa__arrow--disabled", /*$disabledButtons*/ ctx[3] || /*$carNumberRevealed*/ ctx[1]);
			attr(div1, "class", "car-numbers-plate-usa__background");
			set_style(div1, "--background", "url(" + MAP_REGION_TO_PALLET_IMAGE[/*$selectedRegion*/ ctx[2]] + ")");
			attr(div2, "class", "car-numbers-plate-usa__arrow car-numbers-plate-usa__arrow--right");
			toggle_class(div2, "car-numbers-plate-usa__arrow--disabled", /*$disabledButtons*/ ctx[3] || /*$carNumberRevealed*/ ctx[1]);
			attr(div3, "class", "car-numbers-plate-usa");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div0);
			append(div3, t0);
			append(div3, div1);
			key_block.m(div1, null);
			append(div3, t1);
			append(div3, div2);

			if (!mounted) {
				dispose = [
					listen(window, "keydown", /*arrowsHandler*/ ctx[8]),
					listen(div0, "click", /*prev*/ ctx[7]),
					listen(div2, "click", /*next*/ ctx[6])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*$disabledButtons, $carNumberRevealed*/ 10) {
				toggle_class(div0, "car-numbers-plate-usa__arrow--disabled", /*$disabledButtons*/ ctx[3] || /*$carNumberRevealed*/ ctx[1]);
			}

			if (dirty & /*$carNumberRevealed*/ 2 && safe_not_equal(previous_key, previous_key = /*$carNumberRevealed*/ ctx[1])) {
				key_block.d(1);
				key_block = plate_usa_index_svelte_create_key_block(ctx);
				key_block.c();
				key_block.m(div1, null);
			} else {
				key_block.p(ctx, dirty);
			}

			if (dirty & /*$selectedRegion*/ 4) {
				set_style(div1, "--background", "url(" + MAP_REGION_TO_PALLET_IMAGE[/*$selectedRegion*/ ctx[2]] + ")");
			}

			if (dirty & /*$disabledButtons, $carNumberRevealed*/ 10) {
				toggle_class(div2, "car-numbers-plate-usa__arrow--disabled", /*$disabledButtons*/ ctx[3] || /*$carNumberRevealed*/ ctx[1]);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div3);
			key_block.d(detaching);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function plate_usa_index_svelte_instance($$self, $$props, $$invalidate) {
	let $carNumberRevealed;
	let $selectedRegionIndex;
	let $selectedRegion;
	let $disabledButtons;
	let $spinnerBands;
	component_subscribe($$self, carNumberRevealed, $$value => $$invalidate(1, $carNumberRevealed = $$value));
	component_subscribe($$self, selectedRegionIndex, $$value => $$invalidate(10, $selectedRegionIndex = $$value));
	component_subscribe($$self, selectedRegion, $$value => $$invalidate(2, $selectedRegion = $$value));
	component_subscribe($$self, disabledButtons, $$value => $$invalidate(3, $disabledButtons = $$value));
	component_subscribe($$self, spinnerBands, $$value => $$invalidate(4, $spinnerBands = $$value));
	let index = 0;
	let spinnerNode = null;
	set_store_value(selectedRegion, $selectedRegion = USARegions[index], $selectedRegion);
	set_store_value(selectedRegionIndex, $selectedRegionIndex = index, $selectedRegionIndex);

	const next = () => {
		if ($disabledButtons || $carNumberRevealed) {
			return;
		}

		if (index + 1 >= USARegions.length) {
			$$invalidate(5, index = 0);
		} else {
			$$invalidate(5, index += 1);
		}

		set_store_value(selectedRegion, $selectedRegion = USARegions[index], $selectedRegion);
		set_store_value(selectedRegionIndex, $selectedRegionIndex = index, $selectedRegionIndex);
	};

	const prev = () => {
		if ($disabledButtons || $carNumberRevealed) {
			return;
		}

		if (index - 1 < 0) {
			$$invalidate(5, index = USARegions.length - 1);
		} else {
			$$invalidate(5, index -= 1);
		}

		set_store_value(selectedRegion, $selectedRegion = USARegions[index], $selectedRegion);
		set_store_value(selectedRegionIndex, $selectedRegionIndex = index, $selectedRegionIndex);
	};

	const arrowsHandler = event => {
		if (event.keyCode === 39) {
			next();
			return;
		}

		if (event.keyCode === 37) {
			prev();
		}
	};

	function div_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			spinnerNode = $$value;
			$$invalidate(0, spinnerNode);
		});
	}

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*$carNumberRevealed, spinnerNode*/ 3) {
			$: {
				if ($carNumberRevealed) {
					if (!(0,lodash.isNil)(spinnerNode)) {
						spinnerNode.childNodes.forEach(char => {
							setTimeout(
								() => {
									if ($carNumberRevealed) {
										char.firstChild.classList.add('car-numbers-plate-usa__spinner--rolled');
									}
								},
								200
							);
						});
					}
				}
			}
		}
	};

	return [
		spinnerNode,
		$carNumberRevealed,
		$selectedRegion,
		$disabledButtons,
		$spinnerBands,
		index,
		next,
		prev,
		arrowsHandler,
		div_binding
	];
}

class Plate_usa extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, plate_usa_index_svelte_instance, plate_usa_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const plate_usa_index_svelte = (Plate_usa);
;// CONCATENATED MODULE: ./src/views/car-numbers/components/plate-cis/index.svelte
/* src\views\car-numbers\components\plate-cis\index.svelte generated by Svelte v3.49.0 */




// eslint-disable-next-line import/no-cycle






function plate_cis_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[10] = list[i];
	child_ctx[12] = i;
	return child_ctx;
}

// (38:4) {#each $spinnerBands as symbol, index}
function plate_cis_index_svelte_create_each_block(ctx) {
	let div1;
	let div0;
	let t0_value = /*symbol*/ ctx[10] + "";
	let t0;
	let t1;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			attr(div0, "class", "car-numbers-plate-cis__spinner");
			toggle_class(div0, "car-numbers-plate-cis__spinner--unrevealed", !/*$carNumberRevealed*/ ctx[2]);
			attr(div1, "class", "car-numbers-plate-cis__char");
			set_style(div1, "--duration", SPINNING_DURATION_MS * (/*index*/ ctx[12] + 1) / 1000 + "s ease-out");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, t0);
			append(div1, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*$spinnerBands*/ 16 && t0_value !== (t0_value = /*symbol*/ ctx[10] + "")) set_data(t0, t0_value);

			if (dirty & /*$carNumberRevealed*/ 4) {
				toggle_class(div0, "car-numbers-plate-cis__spinner--unrevealed", !/*$carNumberRevealed*/ ctx[2]);
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (36:2) {#key $carNumberRevealed}
function plate_cis_index_svelte_create_key_block(ctx) {
	let div;
	let div_class_value;
	let each_value = /*$spinnerBands*/ ctx[4];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = plate_cis_index_svelte_create_each_block(plate_cis_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", div_class_value = "car-numbers-plate-cis__number car-numbers-plate-cis__number--" + /*$selectedRegion*/ ctx[3]);
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}

			/*div_binding*/ ctx[7](div);
		},
		p(ctx, dirty) {
			if (dirty & /*SPINNING_DURATION_MS, $carNumberRevealed, $spinnerBands*/ 20) {
				each_value = /*$spinnerBands*/ ctx[4];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = plate_cis_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = plate_cis_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if (dirty & /*$selectedRegion*/ 8 && div_class_value !== (div_class_value = "car-numbers-plate-cis__number car-numbers-plate-cis__number--" + /*$selectedRegion*/ ctx[3])) {
				attr(div, "class", div_class_value);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
			/*div_binding*/ ctx[7](null);
		}
	};
}

// (45:2) {#if $selectedRegion === Regions.By}
function plate_cis_index_svelte_create_if_block(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "-";
			attr(div, "class", "car-numbers-plate-cis__separator");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function plate_cis_index_svelte_create_fragment(ctx) {
	let div2;
	let div1;
	let previous_key = /*$carNumberRevealed*/ ctx[2];
	let t0;
	let t1;
	let div0;
	let input;
	let input_maxlength_value;
	let input_class_value;
	let input_disabled_value;
	let div0_class_value;
	let div1_class_value;
	let mounted;
	let dispose;
	let key_block = plate_cis_index_svelte_create_key_block(ctx);
	let if_block = /*$selectedRegion*/ ctx[3] === Regions.By && plate_cis_index_svelte_create_if_block(ctx);

	return {
		c() {
			div2 = internal_element("div");
			div1 = internal_element("div");
			key_block.c();
			t0 = space();
			if (if_block) if_block.c();
			t1 = space();
			div0 = internal_element("div");
			input = internal_element("input");
			attr(input, "type", "text");
			attr(input, "maxlength", input_maxlength_value = MAP_REGION_TO_LENGTH[/*$selectedRegion*/ ctx[3]]);
			attr(input, "class", input_class_value = "car-numbers-plate-cis__region-input car-numbers-plate-cis__region-input--" + /*$selectedRegion*/ ctx[3]);
			input.disabled = input_disabled_value = /*$disabledButtons*/ ctx[5] || /*$carNumberRevealed*/ ctx[2];
			attr(input, "draggable", "false");
			attr(div0, "class", div0_class_value = "car-numbers-plate-cis__region car-numbers-plate-cis__region--" + /*$selectedRegion*/ ctx[3]);
			attr(div1, "class", div1_class_value = "car-numbers-plate-cis__background car-numbers-plate-cis__background--" + /*$selectedRegion*/ ctx[3]);
			attr(div2, "class", "car-numbers-plate-cis");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div1);
			key_block.m(div1, null);
			append(div1, t0);
			if (if_block) if_block.m(div1, null);
			append(div1, t1);
			append(div1, div0);
			append(div0, input);
			set_input_value(input, /*$regionNumber*/ ctx[6]);
			/*input_binding*/ ctx[9](input);

			if (!mounted) {
				dispose = listen(input, "input", /*input_input_handler*/ ctx[8]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*$carNumberRevealed*/ 4 && safe_not_equal(previous_key, previous_key = /*$carNumberRevealed*/ ctx[2])) {
				key_block.d(1);
				key_block = plate_cis_index_svelte_create_key_block(ctx);
				key_block.c();
				key_block.m(div1, t0);
			} else {
				key_block.p(ctx, dirty);
			}

			if (/*$selectedRegion*/ ctx[3] === Regions.By) {
				if (if_block) {
					
				} else {
					if_block = plate_cis_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div1, t1);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (dirty & /*$selectedRegion*/ 8 && input_maxlength_value !== (input_maxlength_value = MAP_REGION_TO_LENGTH[/*$selectedRegion*/ ctx[3]])) {
				attr(input, "maxlength", input_maxlength_value);
			}

			if (dirty & /*$selectedRegion*/ 8 && input_class_value !== (input_class_value = "car-numbers-plate-cis__region-input car-numbers-plate-cis__region-input--" + /*$selectedRegion*/ ctx[3])) {
				attr(input, "class", input_class_value);
			}

			if (dirty & /*$disabledButtons, $carNumberRevealed*/ 36 && input_disabled_value !== (input_disabled_value = /*$disabledButtons*/ ctx[5] || /*$carNumberRevealed*/ ctx[2])) {
				input.disabled = input_disabled_value;
			}

			if (dirty & /*$regionNumber*/ 64 && input.value !== /*$regionNumber*/ ctx[6]) {
				set_input_value(input, /*$regionNumber*/ ctx[6]);
			}

			if (dirty & /*$selectedRegion*/ 8 && div0_class_value !== (div0_class_value = "car-numbers-plate-cis__region car-numbers-plate-cis__region--" + /*$selectedRegion*/ ctx[3])) {
				attr(div0, "class", div0_class_value);
			}

			if (dirty & /*$selectedRegion*/ 8 && div1_class_value !== (div1_class_value = "car-numbers-plate-cis__background car-numbers-plate-cis__background--" + /*$selectedRegion*/ ctx[3])) {
				attr(div1, "class", div1_class_value);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div2);
			key_block.d(detaching);
			if (if_block) if_block.d();
			/*input_binding*/ ctx[9](null);
			mounted = false;
			dispose();
		}
	};
}

function plate_cis_index_svelte_instance($$self, $$props, $$invalidate) {
	let $carNumberRevealed;
	let $selectedRegion;
	let $spinnerBands;
	let $disabledButtons;
	let $regionNumber;
	component_subscribe($$self, carNumberRevealed, $$value => $$invalidate(2, $carNumberRevealed = $$value));
	component_subscribe($$self, selectedRegion, $$value => $$invalidate(3, $selectedRegion = $$value));
	component_subscribe($$self, spinnerBands, $$value => $$invalidate(4, $spinnerBands = $$value));
	component_subscribe($$self, disabledButtons, $$value => $$invalidate(5, $disabledButtons = $$value));
	component_subscribe($$self, regionNumber, $$value => $$invalidate(6, $regionNumber = $$value));
	let spinnerNode = null;
	let inputNode = null;

	function div_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			spinnerNode = $$value;
			$$invalidate(0, spinnerNode);
		});
	}

	function input_input_handler() {
		$regionNumber = this.value;
		regionNumber.set($regionNumber);
	}

	function input_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			inputNode = $$value;
			$$invalidate(1, inputNode);
		});
	}

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*$carNumberRevealed, spinnerNode, inputNode*/ 7) {
			$: {
				if ($carNumberRevealed) {
					if (!(0,lodash.isNil)(spinnerNode)) {
						spinnerNode.childNodes.forEach(char => {
							setTimeout(
								() => {
									if ($carNumberRevealed) {
										char.firstChild.classList.add('car-numbers-plate-cis__spinner--rolled');
									}
								},
								200
							);
						});
					}
				} else if (!(0,lodash.isNil)(inputNode)) {
					inputNode.focus();
				}
			}
		}
	};

	return [
		spinnerNode,
		inputNode,
		$carNumberRevealed,
		$selectedRegion,
		$spinnerBands,
		$disabledButtons,
		$regionNumber,
		div_binding,
		input_input_handler,
		input_binding
	];
}

class Plate_cis extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, plate_cis_index_svelte_instance, plate_cis_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const plate_cis_index_svelte = (Plate_cis);
;// CONCATENATED MODULE: ./src/views/car-numbers/components/cis-region-selector/index.svelte
/* src\views\car-numbers\components\cis-region-selector\index.svelte generated by Svelte v3.49.0 */




// eslint-disable-next-line import/no-cycle






function cis_region_selector_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[6] = list[i];
	return child_ctx;
}

// (24:1) {#each CISRegions as region}
function cis_region_selector_index_svelte_create_each_block(ctx) {
	let div1;
	let div0;
	let img;
	let img_src_value;
	let img_alt_value;
	let t0;
	let span;
	let t1_value = /*region*/ ctx[6] + "";
	let t1;
	let t2;
	let div1_intro;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[1](/*region*/ ctx[6]);
	}

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			span = internal_element("span");
			t1 = internal_text(t1_value);
			t2 = space();
			if (!src_url_equal(img.src, img_src_value = MAP_REGION_TO_FLAG_ICON[/*region*/ ctx[6]])) attr(img, "src", img_src_value);
			attr(img, "alt", img_alt_value = /*region*/ ctx[6]);
			attr(img, "class", "car-numbers-cis-region__icon");
			attr(span, "class", "car-numbers-cis-region__abbreviation");
			attr(div0, "class", "car-numbers-cis-region__wrapper");
			attr(div1, "class", "car-numbers-cis-region__region-item");
			set_style(div1, "--flag-bg", "url(" + MAP_REGION_TO_BG_IMAGE[/*region*/ ctx[6]] + ")");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, img);
			append(div0, t0);
			append(div0, span);
			append(span, t1);
			append(div1, t2);

			if (!mounted) {
				dispose = listen(div1, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
		},
		i(local) {
			if (!div1_intro) {
				add_render_callback(() => {
					div1_intro = create_in_transition(div1, fade, {});
					div1_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
			mounted = false;
			dispose();
		}
	};
}

function cis_region_selector_index_svelte_create_fragment(ctx) {
	let div;
	let each_value = CISRegions;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = cis_region_selector_index_svelte_create_each_block(cis_region_selector_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "car-numbers-cis-region");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*MAP_REGION_TO_BG_IMAGE, CISRegions, selectRegion, MAP_REGION_TO_FLAG_ICON*/ 1) {
				each_value = CISRegions;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = cis_region_selector_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = cis_region_selector_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i(local) {
			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

function cis_region_selector_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedScreen;
	let $selectedRegion;
	let $carNumber;
	let $spinnerBands;
	component_subscribe($$self, car_numbers_store_selectedScreen, $$value => $$invalidate(2, $selectedScreen = $$value));
	component_subscribe($$self, selectedRegion, $$value => $$invalidate(3, $selectedRegion = $$value));
	component_subscribe($$self, carNumber, $$value => $$invalidate(4, $carNumber = $$value));
	component_subscribe($$self, spinnerBands, $$value => $$invalidate(5, $spinnerBands = $$value));

	const selectRegion = region => {
		set_store_value(carNumber, $carNumber = MAP_REGION_TO_HOLDER[region], $carNumber);
		set_store_value(spinnerBands, $spinnerBands = $carNumber.split(''), $spinnerBands);
		set_store_value(selectedRegion, $selectedRegion = region, $selectedRegion);
		set_store_value(car_numbers_store_selectedScreen, $selectedScreen = region, $selectedScreen);
	};

	const click_handler = region => selectRegion(region);
	return [selectRegion, click_handler];
}

class Cis_region_selector extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, cis_region_selector_index_svelte_instance, cis_region_selector_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const cis_region_selector_index_svelte = (Cis_region_selector);
;// CONCATENATED MODULE: ./src/views/car-numbers/constants.js
var _MAP_REGION_TO_PALLET;
function car_numbers_constants_typeof(o) { "@babel/helpers - typeof"; return car_numbers_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, car_numbers_constants_typeof(o); }
function car_numbers_constants_defineProperty(e, r, t) { return (r = car_numbers_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function car_numbers_constants_toPropertyKey(t) { var i = car_numbers_constants_toPrimitive(t, "string"); return "symbol" == car_numbers_constants_typeof(i) ? i : i + ""; }
function car_numbers_constants_toPrimitive(t, r) { if ("object" != car_numbers_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != car_numbers_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
































































var DIGITALS_POOL = '1234567890';
var ENG_POOL = 'abcdefghijklmnopqrstuvwxyz';
var RUS_POOL = 'авекмеорстух';
var SPINNING_DURATION_MS = 2000;
var PriceTypes = {
  Regular: 'regular',
  Donation: 'az'
};
var car_numbers_constants_Screens = {
  Main: '',
  USA: 'usa',
  CIS: 'cis',
  Rus: 'rus',
  Ua: 'ua',
  By: 'by',
  Kz: 'kz'
};
var Regions = {
  USA: 'usa',
  CIS: 'cis',
  Rus: 'rus',
  Ua: 'ua',
  By: 'by',
  Kz: 'kz',
  California: 'california',
  Alabama: 'alabama',
  Alaska: 'alaska',
  Arizona: 'arizona',
  Arkansas: 'arkansas',
  Colorado: 'colorado',
  Connecticut: 'connecticut',
  Delaware: 'delaware',
  Florida: 'florida',
  Georgia: 'georgia',
  Hawaii: 'hawaii',
  Idaho: 'idaho',
  Illinois: 'illinois',
  Indiana: 'indiana',
  Iowa: 'iowa',
  Kansas: 'kansas',
  Louisiane: 'louisiane',
  Maine: 'maine',
  Maryland: 'maryland',
  Massachusetts: 'massachusetts',
  Michigan: 'michigan',
  Minnesota: 'minnesota',
  Mississippi: 'mississippi',
  Missouri: 'missouri',
  Montana: 'montana',
  Nebraska: 'nebraska',
  Nevada: 'nevada',
  NewHampshire: 'new-hampshire',
  NewJersey: 'new-jersey',
  NewMexico: 'new-mexico',
  NewYork: 'new-york',
  NorthCarolina: 'north-carolina',
  NorthDakota: 'north-dakota',
  Ohio: 'ohio',
  Oklahoma: 'oklahoma',
  Oregon: 'oregon',
  Pennsylvania: 'pennsylvania',
  RhodeIsland: 'rhode-island',
  SouthCarolina: 'south-carolina',
  SouthDakota: 'south-dakota',
  Tennessee: 'tennessee',
  Texas: 'texas',
  Utah: 'utah',
  Vermont: 'vermont',
  Virginia: 'virginia',
  Washington: 'washington',
  WestVirginia: 'west-virginia',
  Wisconsin: 'wisconsin',
  Wyoming: 'wyoming'
};
var CISRegions = [Regions.Rus, Regions.Ua, Regions.By, Regions.Kz];
var USARegions = [Regions.California, Regions.Alabama, Regions.Alaska, Regions.Arizona, Regions.Arkansas, Regions.Colorado, Regions.Connecticut, Regions.Delaware, Regions.Florida, Regions.Georgia, Regions.Hawaii, Regions.Idaho, Regions.Illinois, Regions.Indiana, Regions.Iowa, Regions.Kansas, Regions.Louisiane, Regions.Maine, Regions.Maryland, Regions.Massachusetts, Regions.Michigan, Regions.Minnesota, Regions.Mississippi, Regions.Missouri, Regions.Montana, Regions.Nebraska, Regions.Nevada, Regions.NewHampshire, Regions.NewJersey, Regions.NewMexico, Regions.NewYork, Regions.NorthCarolina, Regions.NorthDakota, Regions.Ohio, Regions.Oklahoma, Regions.Oregon, Regions.Pennsylvania, Regions.RhodeIsland, Regions.SouthCarolina, Regions.SouthDakota, Regions.Tennessee, Regions.Texas, Regions.Utah, Regions.Vermont, Regions.Virginia, Regions.Washington, Regions.WestVirginia, Regions.Wisconsin, Regions.Wyoming];
var MAP_PRICE_TYPE_TO_ABBREVIATION = car_numbers_constants_defineProperty(car_numbers_constants_defineProperty({}, PriceTypes.Regular, '$'), PriceTypes.Donation, 'AZ-coin');
var constants_MAP_SCREEN_TO_COMPONENT = car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty({}, car_numbers_constants_Screens.USA, plate_usa_index_svelte), car_numbers_constants_Screens.CIS, cis_region_selector_index_svelte), car_numbers_constants_Screens.Rus, plate_cis_index_svelte), car_numbers_constants_Screens.Ua, plate_cis_index_svelte), car_numbers_constants_Screens.By, plate_cis_index_svelte), car_numbers_constants_Screens.Kz, plate_cis_index_svelte);
var MAP_REGION_TO_PALLET_IMAGE = (_MAP_REGION_TO_PALLET = {}, car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(_MAP_REGION_TO_PALLET, Regions.California, california_namespaceObject), Regions.Rus, pallet_rus_namespaceObject), Regions.Ua, pallet_ua_namespaceObject), Regions.Kz, pallet_kz_namespaceObject), Regions.By, pallet_by_namespaceObject), Regions.Alabama, alabama_namespaceObject), Regions.Alaska, alaska_namespaceObject), Regions.Arizona, arizona_namespaceObject), Regions.Arkansas, arkansas_namespaceObject), Regions.Colorado, colorado_namespaceObject), car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(_MAP_REGION_TO_PALLET, Regions.Connecticut, connecticut_namespaceObject), Regions.Delaware, delaware_namespaceObject), Regions.Florida, florida_namespaceObject), Regions.Georgia, georgia_namespaceObject), Regions.Hawaii, hawaii_namespaceObject), Regions.Idaho, idaho_namespaceObject), Regions.Illinois, illinois_namespaceObject), Regions.Indiana, indiana_namespaceObject), Regions.Iowa, iowa_namespaceObject), Regions.Kansas, kansas_namespaceObject), car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(_MAP_REGION_TO_PALLET, Regions.Louisiane, louisiane_namespaceObject), Regions.Maine, maine_namespaceObject), Regions.Maryland, maryland_namespaceObject), Regions.Massachusetts, massachusetts_namespaceObject), Regions.Michigan, michigan_namespaceObject), Regions.Minnesota, minnesota_namespaceObject), Regions.Mississippi, mississippi_namespaceObject), Regions.Missouri, missouri_namespaceObject), Regions.Montana, montana_namespaceObject), Regions.Nebraska, nebraska_namespaceObject), car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(_MAP_REGION_TO_PALLET, Regions.Nevada, nevada_namespaceObject), Regions.NewHampshire, new_hampshire_namespaceObject), Regions.NewJersey, new_jersey_namespaceObject), Regions.NewMexico, new_mexico_namespaceObject), Regions.NewYork, new_york_namespaceObject), Regions.NorthCarolina, north_carolina_namespaceObject), Regions.NorthDakota, north_dakota_namespaceObject), Regions.Ohio, ohio_namespaceObject), Regions.Oklahoma, oklahoma_namespaceObject), Regions.Oregon, oregon_namespaceObject), car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(_MAP_REGION_TO_PALLET, Regions.Pennsylvania, pennsylvania_namespaceObject), Regions.RhodeIsland, rhode_island_namespaceObject), Regions.SouthCarolina, south_carolina_namespaceObject), Regions.SouthDakota, south_dakota_namespaceObject), Regions.Tennessee, tennessee_namespaceObject), Regions.Texas, texas_namespaceObject), Regions.Utah, utah_namespaceObject), Regions.Vermont, vermont_namespaceObject), Regions.Virginia, virginia_namespaceObject), Regions.Washington, washington_namespaceObject), car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(_MAP_REGION_TO_PALLET, Regions.WestVirginia, west_virginia_namespaceObject), Regions.Wisconsin, wisconsin_namespaceObject), Regions.Wyoming, wyoming_namespaceObject));
var MAP_REGION_TO_BG_IMAGE = car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty({}, Regions.Rus, flag_bg_rus_namespaceObject), Regions.Ua, flag_bg_ua_namespaceObject), Regions.Kz, flag_bg_kz_namespaceObject), Regions.By, flag_bg_by_namespaceObject);
var MAP_REGION_TO_LENGTH = car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty({}, Regions.Rus, 3), Regions.Ua, 2), Regions.Kz, 2), Regions.By, 1);
var MAP_REGION_TO_FLAG_ICON = car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty({}, Regions.Rus, icon_rus_namespaceObject), Regions.Ua, icon_ua_namespaceObject), Regions.Kz, icon_kz_namespaceObject), Regions.By, icon_by_namespaceObject);
var MAP_REGION_TO_ALLOWED_VALUES = car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty({}, Regions.Rus, ['01', '02', '102', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '113', '14', '15', '16', '116', '17', '18', '19', '21', '121', '22', '23', '93', '123', '24', '84', '88', '124', '25', '125', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '136', '37', '38', '85', '39', '91', '40', '41', '82', '42', '142', '43', '44', '45', '46', '47', '48', '49', '50', '90', '150', '190', '51', '52', '152', '53', '54', '154', '55', '56', '57', '58', '59', '81', '159', '60', '61', '161', '62', '63', '163', '64', '164', '65', '66', '96', '67', '68', '69', '70', '71', '72', '73', '173', '74', '174', '75', '80', '76', '77', '97', '99', '177', '193', '199', '197', '777', '78', '98', '178', '79', '83', '86', '87', '89', '94', '95', '193', '196', '189', '92', '192', '792', '194', '195', '179', '180', '181', '183', '184', '185']), Regions.Ua, ['AK', 'KK', 'AB', 'KB', 'AC', 'KC', 'AE', 'KE', 'AH', 'KH', 'AM', 'KM', 'AO', 'KO', 'AP', 'KP', 'AT', 'KT', 'AA', 'KA', 'AI', 'KI', 'BA', 'HA', 'BB', 'HB', 'BC', 'HC', 'BE', 'HE', 'BH', 'HH', 'BI', 'HI', 'BK', 'HK', 'CH', 'IH', 'BM', 'HM', 'BO', 'HO', 'AX', 'KX', 'BT', 'HT', 'BX', 'HX', 'CA', 'IA', 'CB', 'IB', 'CE', 'IE']), Regions.Kz, ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20']), Regions.By, ['1', '2', '3', '4', '5', '6', '7']);
var MAP_SCREEN_TO_TIP_CAPTION = car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty({}, car_numbers_constants_Screens.Main, 'Выберите страну получаемых номеров'), car_numbers_constants_Screens.CIS, 'Выберите доступный регион получаемых номеров'), car_numbers_constants_Screens.USA, 'Вы можете изменить название штата номера'), car_numbers_constants_Screens.Rus, 'Вы можете изменить регион получаемых номеров'), car_numbers_constants_Screens.Ua, 'Вы можете изменить регион получаемых номеров'), car_numbers_constants_Screens.By, 'Вы можете изменить регион получаемых номеров'), car_numbers_constants_Screens.Kz, 'Вы можете изменить регион получаемых номеров');
var MAP_SCREEN_TO_TIP_PREFIX = car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty({}, car_numbers_constants_Screens.Main, 'Подсказка:'), car_numbers_constants_Screens.CIS, ''), car_numbers_constants_Screens.USA, 'Подсказка:'), car_numbers_constants_Screens.Rus, 'Доступные символы:'), car_numbers_constants_Screens.Ua, 'Доступные символы:'), car_numbers_constants_Screens.By, 'Доступные символы:'), car_numbers_constants_Screens.Kz, 'Доступные символы:');
var MAP_SCREEN_TO_TIP_TEXT = car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty({}, car_numbers_constants_Screens.Main, 'От выбранного региона будет зависеть дизайн номеров'), car_numbers_constants_Screens.CIS, 'Дизайн номеров зависит от выбранного региона'), car_numbers_constants_Screens.USA, 'Дизайн номеров зависит от выбранного штата'), car_numbers_constants_Screens.Rus, '1234567890'), car_numbers_constants_Screens.Ua, 'KABCEHIMOPTX'), car_numbers_constants_Screens.By, '1234567'), car_numbers_constants_Screens.Kz, '0123456789');
var MAP_REGION_TO_HOLDER = car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty(car_numbers_constants_defineProperty({}, car_numbers_constants_Screens.USA, '???????'), car_numbers_constants_Screens.Rus, '??????'), car_numbers_constants_Screens.Ua, '??????'), car_numbers_constants_Screens.By, '??????'), car_numbers_constants_Screens.Kz, '??????');
;// CONCATENATED MODULE: ./src/views/car-numbers/components/tip/index.svelte
/* src\views\car-numbers\components\tip\index.svelte generated by Svelte v3.49.0 */




function tip_index_svelte_create_fragment(ctx) {
	let div3;
	let div0;
	let t0;
	let div1;
	let t1;
	let t2;
	let div2;
	let t3;
	let mounted;
	let dispose;

	return {
		c() {
			div3 = internal_element("div");
			div0 = internal_element("div");
			div0.innerHTML = `<i class="car-numbers-tip__icon ui-info-italic"></i>`;
			t0 = space();
			div1 = internal_element("div");
			t1 = internal_text(/*prefix*/ ctx[0]);
			t2 = space();
			div2 = internal_element("div");
			t3 = internal_text(/*text*/ ctx[1]);
			attr(div1, "class", "car-numbers-tip__prefix");
			attr(div2, "class", "car-numbers-tip__text");
			attr(div3, "class", "car-numbers-tip");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div0);
			append(div3, t0);
			append(div3, div1);
			append(div1, t1);
			append(div3, t2);
			append(div3, div2);
			append(div2, t3);

			if (!mounted) {
				dispose = listen(div0, "click", /*test*/ ctx[2]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*prefix*/ 1) set_data(t1, /*prefix*/ ctx[0]);
			if (dirty & /*text*/ 2) set_data(t3, /*text*/ ctx[1]);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div3);
			mounted = false;
			dispose();
		}
	};
}

function tip_index_svelte_instance($$self, $$props, $$invalidate) {
	let { prefix = '' } = $$props;
	let { text = '' } = $$props;

	const test = () => {
		// eslint-disable-next-line no-console
		console.log('test');
	};

	$$self.$$set = $$props => {
		if ('prefix' in $$props) $$invalidate(0, prefix = $$props.prefix);
		if ('text' in $$props) $$invalidate(1, text = $$props.text);
	};

	return [prefix, text, test];
}

class Tip extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, tip_index_svelte_instance, tip_index_svelte_create_fragment, safe_not_equal, { prefix: 0, text: 1 });
	}
}

/* harmony default export */ const tip_index_svelte = (Tip);
;// CONCATENATED MODULE: ./src/views/car-numbers/mock.js
var USA_NUMBER = 'X4kM23L';
var RUS_NUMBER = 'м777мм';
var UA_NUMBER = '7777мм';
var BY_NUMBER = '1111мм';
var KZ_NUMBER = '777мм';
var REGULAR_PRICE_MOCK = {
  type: '',
  value: 0
};
var DONATION_PRICE_MOCK = {
  type: '',
  value: 0
};
;// CONCATENATED MODULE: ./src/views/car-numbers/index.svelte
/* src\views\car-numbers\index.svelte generated by Svelte v3.49.0 */


























function car_numbers_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[28] = list[i];
	return child_ctx;
}

// (186:1) {#each Object.values(MAP_REGION_TO_PALLET_IMAGE) as image}
function car_numbers_index_svelte_create_each_block(ctx) {
	let link;
	let link_href_value;

	return {
		c() {
			link = internal_element("link");
			attr(link, "rel", "preload");
			attr(link, "as", "image");
			attr(link, "href", link_href_value = /*image*/ ctx[28]);
		},
		m(target, anchor) {
			insert(target, link, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(link);
		}
	};
}

// (242:1) {:else}
function car_numbers_index_svelte_create_else_block_1(ctx) {
	let div;
	let switch_instance;
	let div_class_value;
	let current;
	var switch_value = constants_MAP_SCREEN_TO_COMPONENT[/*$selectedScreen*/ ctx[3]];

	function switch_props(ctx) {
		return {};
	}

	if (switch_value) {
		switch_instance = new switch_value(switch_props(ctx));
	}

	return {
		c() {
			div = internal_element("div");
			if (switch_instance) create_component(switch_instance.$$.fragment);
			attr(div, "class", div_class_value = "car-numbers__plate-preview car-numbers__plate-preview--" + /*$selectedRegion*/ ctx[6]);
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (switch_instance) {
				mount_component(switch_instance, div, null);
			}

			current = true;
		},
		p(ctx, dirty) {
			if (switch_value !== (switch_value = constants_MAP_SCREEN_TO_COMPONENT[/*$selectedScreen*/ ctx[3]])) {
				if (switch_instance) {
					group_outros();
					const old_component = switch_instance;

					transition_out(old_component.$$.fragment, 1, 0, () => {
						destroy_component(old_component, 1);
					});

					check_outros();
				}

				if (switch_value) {
					switch_instance = new switch_value(switch_props(ctx));
					create_component(switch_instance.$$.fragment);
					transition_in(switch_instance.$$.fragment, 1);
					mount_component(switch_instance, div, null);
				} else {
					switch_instance = null;
				}
			} else if (switch_value) {
				
			}

			if (!current || dirty & /*$selectedRegion*/ 64 && div_class_value !== (div_class_value = "car-numbers__plate-preview car-numbers__plate-preview--" + /*$selectedRegion*/ ctx[6])) {
				attr(div, "class", div_class_value);
			}
		},
		i(local) {
			if (current) return;
			if (switch_instance) transition_in(switch_instance.$$.fragment, local);
			current = true;
		},
		o(local) {
			if (switch_instance) transition_out(switch_instance.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (switch_instance) destroy_component(switch_instance);
		}
	};
}

// (215:1) {#if isEmpty($selectedScreen)}
function car_numbers_index_svelte_create_if_block_5(ctx) {
	let div8;
	let div3;
	let img0;
	let img0_src_value;
	let t0;
	let div2;
	let div0;
	let t2;
	let div1;
	let t5;
	let t6;
	let div7;
	let img1;
	let img1_src_value;
	let t7;
	let div6;
	let div4;
	let t9;
	let div5;
	let t11;
	let mounted;
	let dispose;
	let if_block0 = /*USAPrice*/ ctx[0].value > 0 && car_numbers_index_svelte_create_if_block_7(ctx);
	let if_block1 = /*CISPrice*/ ctx[1].value > 0 && car_numbers_index_svelte_create_if_block_6(ctx);

	return {
		c() {
			div8 = internal_element("div");
			div3 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			div2 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "Американский ГОСТ";
			t2 = space();
			div1 = internal_element("div");
			div1.innerHTML = `Общий дизайн государственных номеров, <br/> используемый во всех штатах USA`;
			t5 = space();
			if (if_block0) if_block0.c();
			t6 = space();
			div7 = internal_element("div");
			img1 = internal_element("img");
			t7 = space();
			div6 = internal_element("div");
			div4 = internal_element("div");
			div4.textContent = "ГОСт СТРан СНГ";
			t9 = space();
			div5 = internal_element("div");
			div5.textContent = "Дизайн государственных номеров, используемых в странах СНГ";
			t11 = space();
			if (if_block1) if_block1.c();
			if (!src_url_equal(img0.src, img0_src_value = usa_decorate_plate_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "usa");
			attr(img0, "class", "car-numbers__country-button-image");
			attr(img0, "draggable", "false");
			attr(div0, "class", "car-numbers__country-button-title");
			attr(div1, "class", "car-numbers__country-button-description");
			attr(div2, "class", "car-numbers__text-wrapper");
			attr(div3, "class", "car-numbers__country-button");
			if (!src_url_equal(img1.src, img1_src_value = cis_decorate_plate_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "cis");
			attr(img1, "class", "car-numbers__country-button-image car-numbers__country-button-image--cis");
			attr(img1, "draggable", "false");
			attr(div4, "class", "car-numbers__country-button-title");
			attr(div5, "class", "car-numbers__country-button-description");
			attr(div6, "class", "car-numbers__text-wrapper car-numbers__text-wrapper--cis");
			attr(div7, "class", "car-numbers__country-button car-numbers__country-button--cis");
			attr(div8, "class", "car-numbers__country-buttons");
		},
		m(target, anchor) {
			insert(target, div8, anchor);
			append(div8, div3);
			append(div3, img0);
			append(div3, t0);
			append(div3, div2);
			append(div2, div0);
			append(div2, t2);
			append(div2, div1);
			append(div2, t5);
			if (if_block0) if_block0.m(div2, null);
			append(div8, t6);
			append(div8, div7);
			append(div7, img1);
			append(div7, t7);
			append(div7, div6);
			append(div6, div4);
			append(div6, t9);
			append(div6, div5);
			append(div6, t11);
			if (if_block1) if_block1.m(div6, null);

			if (!mounted) {
				dispose = [
					listen(div3, "click", /*click_handler*/ ctx[12]),
					listen(div7, "click", /*click_handler_1*/ ctx[13])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (/*USAPrice*/ ctx[0].value > 0) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = car_numbers_index_svelte_create_if_block_7(ctx);
					if_block0.c();
					if_block0.m(div2, null);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (/*CISPrice*/ ctx[1].value > 0) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = car_numbers_index_svelte_create_if_block_6(ctx);
					if_block1.c();
					if_block1.m(div6, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div8);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (222:5) {#if USAPrice.value > 0}
function car_numbers_index_svelte_create_if_block_7(ctx) {
	let div;
	let t0;
	let t1_value = formatMoney(/*USAPrice*/ ctx[0].value) + "";
	let t1;
	let t2;
	let t3_value = MAP_PRICE_TYPE_TO_ABBREVIATION[/*USAPrice*/ ctx[0].type] + "";
	let t3;
	let div_class_value;

	return {
		c() {
			div = internal_element("div");
			t0 = internal_text("от ");
			t1 = internal_text(t1_value);
			t2 = space();
			t3 = internal_text(t3_value);
			attr(div, "class", div_class_value = "car-numbers__country-button-price car-numbers__country-button-price--" + /*USAPrice*/ ctx[0].type);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t0);
			append(div, t1);
			append(div, t2);
			append(div, t3);
		},
		p(ctx, dirty) {
			if (dirty & /*USAPrice*/ 1 && t1_value !== (t1_value = formatMoney(/*USAPrice*/ ctx[0].value) + "")) set_data(t1, t1_value);
			if (dirty & /*USAPrice*/ 1 && t3_value !== (t3_value = MAP_PRICE_TYPE_TO_ABBREVIATION[/*USAPrice*/ ctx[0].type] + "")) set_data(t3, t3_value);

			if (dirty & /*USAPrice*/ 1 && div_class_value !== (div_class_value = "car-numbers__country-button-price car-numbers__country-button-price--" + /*USAPrice*/ ctx[0].type)) {
				attr(div, "class", div_class_value);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (234:5) {#if CISPrice.value > 0}
function car_numbers_index_svelte_create_if_block_6(ctx) {
	let div;
	let t0;
	let t1_value = formatMoney(/*CISPrice*/ ctx[1].value) + "";
	let t1;
	let t2;
	let t3_value = MAP_PRICE_TYPE_TO_ABBREVIATION[/*CISPrice*/ ctx[1].type] + "";
	let t3;
	let div_class_value;

	return {
		c() {
			div = internal_element("div");
			t0 = internal_text("от ");
			t1 = internal_text(t1_value);
			t2 = space();
			t3 = internal_text(t3_value);
			attr(div, "class", div_class_value = "car-numbers__country-button-price car-numbers__country-button-price--" + /*CISPrice*/ ctx[1].type);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t0);
			append(div, t1);
			append(div, t2);
			append(div, t3);
		},
		p(ctx, dirty) {
			if (dirty & /*CISPrice*/ 2 && t1_value !== (t1_value = formatMoney(/*CISPrice*/ ctx[1].value) + "")) set_data(t1, t1_value);
			if (dirty & /*CISPrice*/ 2 && t3_value !== (t3_value = MAP_PRICE_TYPE_TO_ABBREVIATION[/*CISPrice*/ ctx[1].type] + "")) set_data(t3, t3_value);

			if (dirty & /*CISPrice*/ 2 && div_class_value !== (div_class_value = "car-numbers__country-button-price car-numbers__country-button-price--" + /*CISPrice*/ ctx[1].type)) {
				attr(div, "class", div_class_value);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (248:1) {#if !isEmpty(errorMessage)}
function car_numbers_index_svelte_create_if_block_4(ctx) {
	let div;
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(/*errorMessage*/ ctx[2]);
			attr(div, "class", "car-numbers__error-message");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*errorMessage*/ 4) set_data(t, /*errorMessage*/ ctx[2]);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (256:2) {#if !isEmpty($selectedScreen)}
function car_numbers_index_svelte_create_if_block(ctx) {
	let div;
	let t;
	let if_block0 = /*$selectedScreen*/ ctx[3] !== car_numbers_constants_Screens.CIS && car_numbers_index_svelte_create_if_block_3(ctx);
	let if_block1 = /*$selectedScreen*/ ctx[3] !== car_numbers_constants_Screens.CIS && car_numbers_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			div = internal_element("div");
			if (if_block0) if_block0.c();
			t = space();
			if (if_block1) if_block1.c();
			attr(div, "class", "car-numbers__control-buttons");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block0) if_block0.m(div, null);
			append(div, t);
			if (if_block1) if_block1.m(div, null);
		},
		p(ctx, dirty) {
			if (/*$selectedScreen*/ ctx[3] !== car_numbers_constants_Screens.CIS) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = car_numbers_index_svelte_create_if_block_3(ctx);
					if_block0.c();
					if_block0.m(div, t);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (/*$selectedScreen*/ ctx[3] !== car_numbers_constants_Screens.CIS) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = car_numbers_index_svelte_create_if_block_1(ctx);
					if_block1.c();
					if_block1.m(div, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
		}
	};
}

// (258:4) {#if $selectedScreen !== Screens.CIS}
function car_numbers_index_svelte_create_if_block_3(ctx) {
	let div;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "Вернуться назад";
			attr(div, "class", "car-numbers__control-button");
			toggle_class(div, "car-numbers__control-button--disabled", /*$disabledButtons*/ ctx[4]);
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = listen(div, "click", /*back*/ ctx[10]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*$disabledButtons*/ 16) {
				toggle_class(div, "car-numbers__control-button--disabled", /*$disabledButtons*/ ctx[4]);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (261:4) {#if $selectedScreen !== Screens.CIS}
function car_numbers_index_svelte_create_if_block_1(ctx) {
	let if_block_anchor;

	function select_block_type_1(ctx, dirty) {
		if (/*$carNumberRevealed*/ ctx[5]) return car_numbers_index_svelte_create_if_block_2;
		return car_numbers_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type_1(ctx, -1);
	let if_block = current_block_type(ctx);

	return {
		c() {
			if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
		},
		p(ctx, dirty) {
			if (current_block_type === (current_block_type = select_block_type_1(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			}
		},
		d(detaching) {
			if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

// (267:5) {:else}
function car_numbers_index_svelte_create_else_block(ctx) {
	let div;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "Оформить";
			attr(div, "class", "car-numbers__control-button car-numbers__control-button--purchase");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = listen(div, "click", /*purchase*/ ctx[8]);
				mounted = true;
			}
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (262:5) {#if $carNumberRevealed}
function car_numbers_index_svelte_create_if_block_2(ctx) {
	let div;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "Оформить другой";
			attr(div, "class", "car-numbers__control-button car-numbers__control-button--purchase");
			toggle_class(div, "car-numbers__control-button--disabled", /*$disabledButtons*/ ctx[4]);
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = listen(div, "click", /*reroll*/ ctx[9]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*$disabledButtons*/ 16) {
				toggle_class(div, "car-numbers__control-button--disabled", /*$disabledButtons*/ ctx[4]);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

function car_numbers_index_svelte_create_fragment(ctx) {
	let link0;
	let link1;
	let link2;
	let link3;
	let link4;
	let link5;
	let t0;
	let div9;
	let div0;
	let actionbutton;
	let t1;
	let div5;
	let t7;
	let div6;
	let t8_value = MAP_SCREEN_TO_TIP_CAPTION[/*$selectedScreen*/ ctx[3]] + "";
	let t8;
	let t9;
	let show_if_2;
	let current_block_type_index;
	let if_block0;
	let t10;
	let show_if_1 = !(0,lodash.isEmpty)(/*errorMessage*/ ctx[2]);
	let t11;
	let div8;
	let div7;
	let tip;
	let t12;
	let show_if = !(0,lodash.isEmpty)(/*$selectedScreen*/ ctx[3]);
	let div9_class_value;
	let current;
	let each_value = Object.values(MAP_REGION_TO_PALLET_IMAGE);
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = car_numbers_index_svelte_create_each_block(car_numbers_index_svelte_get_each_context(ctx, each_value, i));
	}

	actionbutton = new index_svelte({
			props: {
				onPress: /*close*/ ctx[11],
				keyTitle: "Esc",
				postActionTitle: "Закрыть",
				keyCode: ESCAPE_BUTTON_CODE
			}
		});

	const if_block_creators = [car_numbers_index_svelte_create_if_block_5, car_numbers_index_svelte_create_else_block_1];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (dirty & /*$selectedScreen*/ 8) show_if_2 = null;
		if (show_if_2 == null) show_if_2 = !!(0,lodash.isEmpty)(/*$selectedScreen*/ ctx[3]);
		if (show_if_2) return 0;
		return 1;
	}

	current_block_type_index = select_block_type(ctx, -1);
	if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
	let if_block1 = show_if_1 && car_numbers_index_svelte_create_if_block_4(ctx);

	tip = new tip_index_svelte({
			props: {
				prefix: MAP_SCREEN_TO_TIP_PREFIX[/*$selectedScreen*/ ctx[3]],
				text: MAP_SCREEN_TO_TIP_TEXT[/*$selectedScreen*/ ctx[3]]
			}
		});

	let if_block2 = show_if && car_numbers_index_svelte_create_if_block(ctx);

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			link0 = internal_element("link");
			link1 = internal_element("link");
			link2 = internal_element("link");
			link3 = internal_element("link");
			link4 = internal_element("link");
			link5 = internal_element("link");
			t0 = space();
			div9 = internal_element("div");
			div0 = internal_element("div");
			create_component(actionbutton.$$.fragment);
			t1 = space();
			div5 = internal_element("div");

			div5.innerHTML = `<div class="car-numbers__head-icon"><i class="ui-car-tokken"></i></div> 
		<div class="car-numbers__head-text"><div class="car-numbers__head-caption">регистрация</div> 
			<div class="car-numbers__head-title">автомобильных <br/> номеров</div></div>`;

			t7 = space();
			div6 = internal_element("div");
			t8 = internal_text(t8_value);
			t9 = space();
			if_block0.c();
			t10 = space();
			if (if_block1) if_block1.c();
			t11 = space();
			div8 = internal_element("div");
			div7 = internal_element("div");
			create_component(tip.$$.fragment);
			t12 = space();
			if (if_block2) if_block2.c();
			attr(link0, "rel", "preload");
			attr(link0, "as", "image");
			attr(link0, "href", usa_bg_namespaceObject);
			attr(link1, "rel", "preload");
			attr(link1, "as", "image");
			attr(link1, "href", cis_bg_namespaceObject);
			attr(link2, "rel", "preload");
			attr(link2, "as", "image");
			attr(link2, "href", rus_bg_namespaceObject);
			attr(link3, "rel", "preload");
			attr(link3, "as", "image");
			attr(link3, "href", ua_bg_namespaceObject);
			attr(link4, "rel", "preload");
			attr(link4, "as", "image");
			attr(link4, "href", by_bg_namespaceObject);
			attr(link5, "rel", "preload");
			attr(link5, "as", "image");
			attr(link5, "href", kz_bg_namespaceObject);
			attr(div0, "class", "car-numbers__exit");
			attr(div5, "class", "car-numbers__head");
			attr(div6, "class", "car-numbers__select-caption");
			attr(div7, "class", "car-numbers__tip");
			attr(div8, "class", "car-numbers__bottom-menu");
			attr(div9, "class", div9_class_value = "car-numbers car-numbers car-numbers car-numbers car-numbers car-numbers--" + /*$selectedScreen*/ ctx[3]);
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(document.head, null);
			}

			append(document.head, link0);
			append(document.head, link1);
			append(document.head, link2);
			append(document.head, link3);
			append(document.head, link4);
			append(document.head, link5);
			insert(target, t0, anchor);
			insert(target, div9, anchor);
			append(div9, div0);
			mount_component(actionbutton, div0, null);
			append(div9, t1);
			append(div9, div5);
			append(div9, t7);
			append(div9, div6);
			append(div6, t8);
			append(div9, t9);
			if_blocks[current_block_type_index].m(div9, null);
			append(div9, t10);
			if (if_block1) if_block1.m(div9, null);
			append(div9, t11);
			append(div9, div8);
			append(div8, div7);
			mount_component(tip, div7, null);
			append(div8, t12);
			if (if_block2) if_block2.m(div8, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*Object, MAP_REGION_TO_PALLET_IMAGE*/ 0) {
				each_value = Object.values(MAP_REGION_TO_PALLET_IMAGE);
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = car_numbers_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = car_numbers_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(link0.parentNode, link0);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if ((!current || dirty & /*$selectedScreen*/ 8) && t8_value !== (t8_value = MAP_SCREEN_TO_TIP_CAPTION[/*$selectedScreen*/ ctx[3]] + "")) set_data(t8, t8_value);
			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block0 = if_blocks[current_block_type_index];

				if (!if_block0) {
					if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block0.c();
				} else {
					if_block0.p(ctx, dirty);
				}

				transition_in(if_block0, 1);
				if_block0.m(div9, t10);
			}

			if (dirty & /*errorMessage*/ 4) show_if_1 = !(0,lodash.isEmpty)(/*errorMessage*/ ctx[2]);

			if (show_if_1) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = car_numbers_index_svelte_create_if_block_4(ctx);
					if_block1.c();
					if_block1.m(div9, t11);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			const tip_changes = {};
			if (dirty & /*$selectedScreen*/ 8) tip_changes.prefix = MAP_SCREEN_TO_TIP_PREFIX[/*$selectedScreen*/ ctx[3]];
			if (dirty & /*$selectedScreen*/ 8) tip_changes.text = MAP_SCREEN_TO_TIP_TEXT[/*$selectedScreen*/ ctx[3]];
			tip.$set(tip_changes);
			if (dirty & /*$selectedScreen*/ 8) show_if = !(0,lodash.isEmpty)(/*$selectedScreen*/ ctx[3]);

			if (show_if) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = car_numbers_index_svelte_create_if_block(ctx);
					if_block2.c();
					if_block2.m(div8, null);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			if (!current || dirty & /*$selectedScreen*/ 8 && div9_class_value !== (div9_class_value = "car-numbers car-numbers car-numbers car-numbers car-numbers car-numbers--" + /*$selectedScreen*/ ctx[3])) {
				attr(div9, "class", div9_class_value);
			}
		},
		i(local) {
			if (current) return;
			transition_in(actionbutton.$$.fragment, local);
			transition_in(if_block0);
			transition_in(tip.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(actionbutton.$$.fragment, local);
			transition_out(if_block0);
			transition_out(tip.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_each(each_blocks, detaching);
			detach(link0);
			detach(link1);
			detach(link2);
			detach(link3);
			detach(link4);
			detach(link5);
			if (detaching) detach(t0);
			if (detaching) detach(div9);
			destroy_component(actionbutton);
			if_blocks[current_block_type_index].d();
			if (if_block1) if_block1.d();
			destroy_component(tip);
			if (if_block2) if_block2.d();
		}
	};
}

function car_numbers_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedScreen;
	let $disabledButtons;
	let $carNumber;
	let $carNumberRevealed;
	let $spinnerBands;
	let $selectedRegion;
	let $selectedRegionIndex;
	let $regionNumber;
	component_subscribe($$self, car_numbers_store_selectedScreen, $$value => $$invalidate(3, $selectedScreen = $$value));
	component_subscribe($$self, disabledButtons, $$value => $$invalidate(4, $disabledButtons = $$value));
	component_subscribe($$self, carNumber, $$value => $$invalidate(14, $carNumber = $$value));
	component_subscribe($$self, carNumberRevealed, $$value => $$invalidate(5, $carNumberRevealed = $$value));
	component_subscribe($$self, spinnerBands, $$value => $$invalidate(15, $spinnerBands = $$value));
	component_subscribe($$self, selectedRegion, $$value => $$invalidate(6, $selectedRegion = $$value));
	component_subscribe($$self, selectedRegionIndex, $$value => $$invalidate(16, $selectedRegionIndex = $$value));
	component_subscribe($$self, regionNumber, $$value => $$invalidate(17, $regionNumber = $$value));
	let USAPrice = null;
	let CISPrice = null;
	let errorMessage = '';

	const changeScreen = (screen, region) => {
		if (screen === car_numbers_constants_Screens.USA) {
			set_store_value(carNumber, $carNumber = MAP_REGION_TO_HOLDER[region], $carNumber);
			set_store_value(spinnerBands, $spinnerBands = $carNumber.split(''), $spinnerBands);
		}

		set_store_value(regionNumber, $regionNumber = '', $regionNumber);
		set_store_value(car_numbers_store_selectedScreen, $selectedScreen = screen, $selectedScreen);
		set_store_value(selectedRegion, $selectedRegion = region, $selectedRegion);
		$$invalidate(2, errorMessage = '');
	};

	const purchase = () => {
		if ($selectedScreen === car_numbers_constants_Screens.USA) {
			sendClientMessage('carNumbers.purchase', 'usa', $selectedRegionIndex);
		} else {
			if (!MAP_REGION_TO_ALLOWED_VALUES[$selectedRegion].includes($regionNumber.toUpperCase())) {
				$$invalidate(2, errorMessage = 'Введите существующий регион!');
				return;
			}

			$$invalidate(2, errorMessage = '');
			sendClientMessage('carNumbers.purchase', $selectedRegion, $regionNumber);
		}
	};

	const reroll = () => {
		if ($disabledButtons) {
			return;
		}

		if ($selectedScreen === car_numbers_constants_Screens.USA) {
			set_store_value(carNumber, $carNumber = MAP_REGION_TO_HOLDER[Regions.USA], $carNumber);
		} else {
			set_store_value(carNumber, $carNumber = MAP_REGION_TO_HOLDER[$selectedRegion], $carNumber);
		}

		set_store_value(regionNumber, $regionNumber = '', $regionNumber);
		set_store_value(spinnerBands, $spinnerBands = $carNumber.split(''), $spinnerBands);
		set_store_value(carNumberRevealed, $carNumberRevealed = false, $carNumberRevealed);
	};

	const randomizeString = (pool, last) => {
		let result = '';
		let count = 0;

		while (count < 23) {
			result += `${pool.charAt(Math.floor(Math.random() * pool.length))}\n`;
			count += 1;
		}

		result = `${last}\n${result}?`;
		return result;
	};

	const refresh = () => {
		set_store_value(selectedRegionIndex, $selectedRegionIndex = 0, $selectedRegionIndex);
		set_store_value(carNumberRevealed, $carNumberRevealed = false, $carNumberRevealed);
		$$invalidate(2, errorMessage = '');
	};

	const back = () => {
		if ($disabledButtons) {
			return;
		}

		if (CISRegions.includes($selectedRegion)) {
			set_store_value(car_numbers_store_selectedScreen, $selectedScreen = car_numbers_constants_Screens.CIS, $selectedScreen);
		}

		refresh();
	};

	const initializeCarNumber = number => {
		set_store_value(carNumber, $carNumber = number, $carNumber);
		set_store_value(spinnerBands, $spinnerBands = $carNumber.split(''), $spinnerBands);

		$spinnerBands.forEach((item, i) => {
			if (DIGITALS_POOL.includes($carNumber.charAt(i))) {
				set_store_value(spinnerBands, $spinnerBands[i] = randomizeString(DIGITALS_POOL, $carNumber.charAt(i)), $spinnerBands);
			} else if ($selectedScreen === car_numbers_constants_Screens.USA) {
				set_store_value(spinnerBands, $spinnerBands[i] = randomizeString(ENG_POOL, $carNumber.charAt(i)), $spinnerBands);
			} else {
				set_store_value(spinnerBands, $spinnerBands[i] = randomizeString(RUS_POOL, $carNumber.charAt(i)), $spinnerBands);
			}
		});

		set_store_value(disabledButtons, $disabledButtons = true, $disabledButtons);
		set_store_value(carNumberRevealed, $carNumberRevealed = true, $carNumberRevealed);

		setTimeout(
			() => {
				sendClientMessage('carNumbers.onNumberInitialized', number);
				set_store_value(disabledButtons, $disabledButtons = false, $disabledButtons);
			},
			SPINNING_DURATION_MS * $carNumber.length
		);
	};

	const setErrorMessage = error => {
		$$invalidate(2, errorMessage = error);
	};

	const close = () => {
		if ($disabledButtons) {
			return;
		}

		sendClientMessage('carNumbers.close');
	};

	const unregisterInitializeCarNumber = registerEvent('event.carNumbers.initializeCarNumber', initializeCarNumber);
	const unregisterSetErrorMessage = registerEvent('event.carNumbers.setErrorMessage', setErrorMessage);

	const initializeUSAPrice = price => {
		$$invalidate(0, USAPrice = price);
	};

	const unregisterInitializeUSAPrice = registerEvent('event.carNumbers.initializeUSAPrice', initializeUSAPrice);

	const initializeCISPrice = price => {
		$$invalidate(1, CISPrice = price);
	};

	const unregisterInitializeCISPrice = registerEvent('event.carNumbers.initializeCISPrice', initializeCISPrice);
	initializeUSAPrice(REGULAR_PRICE_MOCK);
	initializeCISPrice(DONATION_PRICE_MOCK);

	onDestroy(() => {
		unregisterSetErrorMessage();
		unregisterInitializeCarNumber();
		unregisterInitializeUSAPrice();
		unregisterInitializeCISPrice();
		set_store_value(car_numbers_store_selectedScreen, $selectedScreen = car_numbers_constants_Screens.CIS, $selectedScreen);
		refresh();
	});

	const click_handler = () => changeScreen(car_numbers_constants_Screens.USA, Regions.USA);
	const click_handler_1 = () => changeScreen(car_numbers_constants_Screens.CIS, Regions.CIS);

	return [
		USAPrice,
		CISPrice,
		errorMessage,
		$selectedScreen,
		$disabledButtons,
		$carNumberRevealed,
		$selectedRegion,
		changeScreen,
		purchase,
		reroll,
		back,
		close,
		click_handler,
		click_handler_1
	];
}

class Car_numbers extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, car_numbers_index_svelte_instance, car_numbers_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const car_numbers_index_svelte = (Car_numbers);
;// CONCATENATED MODULE: ./src/components/gv-action-button/key-hoc/index.svelte
/* src\components\gv-action-button\key-hoc\index.svelte generated by Svelte v3.49.0 */




function key_hoc_index_svelte_create_fragment(ctx) {
	let div1;
	let div0;
	let current;
	let mounted;
	let dispose;
	const default_slot_template = /*#slots*/ ctx[15].default;
	const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[14], null);

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			if (default_slot) default_slot.c();
			attr(div0, "class", "key-hoc__layer key-hoc__key-layer");
			attr(div1, "class", "key-hoc");
			toggle_class(div1, "key-hoc--small", /*small*/ ctx[3]);
			toggle_class(div1, "key-hoc--active", /*pressed*/ ctx[0] || /*active*/ ctx[1]);
			toggle_class(div1, "key-hoc--disabled", /*disabled*/ ctx[2]);
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);

			if (default_slot) {
				default_slot.m(div0, null);
			}

			/*div1_binding*/ ctx[16](div1);
			current = true;

			if (!mounted) {
				dispose = [
					listen(window, "keydown", /*handleKeydown*/ ctx[5]),
					listen(window, "keyup", /*handleKeyup*/ ctx[6]),
					listen(div1, "click", /*handleClick*/ ctx[7])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (default_slot) {
				if (default_slot.p && (!current || dirty & /*$$scope*/ 16384)) {
					update_slot_base(
						default_slot,
						default_slot_template,
						ctx,
						/*$$scope*/ ctx[14],
						!current
						? get_all_dirty_from_scope(/*$$scope*/ ctx[14])
						: get_slot_changes(default_slot_template, /*$$scope*/ ctx[14], dirty, null),
						null
					);
				}
			}

			if (dirty & /*small*/ 8) {
				toggle_class(div1, "key-hoc--small", /*small*/ ctx[3]);
			}

			if (dirty & /*pressed, active*/ 3) {
				toggle_class(div1, "key-hoc--active", /*pressed*/ ctx[0] || /*active*/ ctx[1]);
			}

			if (dirty & /*disabled*/ 4) {
				toggle_class(div1, "key-hoc--disabled", /*disabled*/ ctx[2]);
			}
		},
		i(local) {
			if (current) return;
			transition_in(default_slot, local);
			current = true;
		},
		o(local) {
			transition_out(default_slot, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			if (default_slot) default_slot.d(detaching);
			/*div1_binding*/ ctx[16](null);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function key_hoc_index_svelte_instance($$self, $$props, $$invalidate) {
	let { $$slots: slots = {}, $$scope } = $$props;
	let { keyCode = 0 } = $$props;
	let { keyLocation = 0 } = $$props;
	let { active = false } = $$props;
	let { disabled = false } = $$props;
	let { preventMouseClick = false } = $$props;
	let { small = false } = $$props;
	let { pressed = false } = $$props;

	let { onSubmit = () => {
		
	} } = $$props;

	let { onClick = () => {
		
	} } = $$props;

	let { onKeyUp = () => {
		
	} } = $$props;

	let buttonRef = null;

	const handleKeydown = event => {
		const eventValid = !disabled && !pressed && keyCode === event.keyCode && keyLocation === event.location;

		if (!eventValid) {
			return;
		}

		if (onSubmit) {
			// 27 это клавиша Esc, мы отправляем её только после отжатия, чтобы не открывалась меню паузы gta
			if (keyCode !== 27) {
				onSubmit(keyCode, false);
			}
		}

		$$invalidate(0, pressed = true);
	};

	const handleKeyup = event => {
		if (pressed && keyCode === event.keyCode) {
			// 27 это клавиша Esc, мы отправляем её только после отжатия, чтобы не открывалась меню паузы gta
			if (keyCode === 27 && onSubmit) {
				onSubmit(keyCode, false);
			}

			if (onKeyUp) {
				onKeyUp();
			}

			$$invalidate(0, pressed = false);
		}
	};

	const handleClick = () => {
		if (preventMouseClick) {
			return;
		}

		if (onClick) {
			onClick();
		}
	};

	function div1_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			buttonRef = $$value;
			$$invalidate(4, buttonRef);
		});
	}

	$$self.$$set = $$props => {
		if ('keyCode' in $$props) $$invalidate(8, keyCode = $$props.keyCode);
		if ('keyLocation' in $$props) $$invalidate(9, keyLocation = $$props.keyLocation);
		if ('active' in $$props) $$invalidate(1, active = $$props.active);
		if ('disabled' in $$props) $$invalidate(2, disabled = $$props.disabled);
		if ('preventMouseClick' in $$props) $$invalidate(10, preventMouseClick = $$props.preventMouseClick);
		if ('small' in $$props) $$invalidate(3, small = $$props.small);
		if ('pressed' in $$props) $$invalidate(0, pressed = $$props.pressed);
		if ('onSubmit' in $$props) $$invalidate(11, onSubmit = $$props.onSubmit);
		if ('onClick' in $$props) $$invalidate(12, onClick = $$props.onClick);
		if ('onKeyUp' in $$props) $$invalidate(13, onKeyUp = $$props.onKeyUp);
		if ('$$scope' in $$props) $$invalidate(14, $$scope = $$props.$$scope);
	};

	return [
		pressed,
		active,
		disabled,
		small,
		buttonRef,
		handleKeydown,
		handleKeyup,
		handleClick,
		keyCode,
		keyLocation,
		preventMouseClick,
		onSubmit,
		onClick,
		onKeyUp,
		$$scope,
		slots,
		div1_binding
	];
}

class Key_hoc extends SvelteComponent {
	constructor(options) {
		super();

		init(this, options, key_hoc_index_svelte_instance, key_hoc_index_svelte_create_fragment, safe_not_equal, {
			keyCode: 8,
			keyLocation: 9,
			active: 1,
			disabled: 2,
			preventMouseClick: 10,
			small: 3,
			pressed: 0,
			onSubmit: 11,
			onClick: 12,
			onKeyUp: 13
		});
	}
}

/* harmony default export */ const key_hoc_index_svelte = (Key_hoc);
;// CONCATENATED MODULE: ./src/components/gv-action-button/constants.js
var BUTTONS_ALIASES = {
  37: {
    icon: true,
    value: 'ui-left-arrow'
  },
  38: {
    icon: true,
    value: 'ui-up-arrow'
  },
  39: {
    icon: true,
    value: 'ui-right-arrow'
  },
  40: {
    icon: true,
    value: 'ui-down-arrow'
  }
};
var DEFAULT_ACTION_BUTTON_PALETTE = {
  textColor: '#ffffff',
  backgroundColor: 'rgba(17, 17, 17, 0.7)',
  textColorHover: '#111111',
  backgroundColorHover: '#ffffff'
};
var FALURED_ACTION_BUTTON_PALETTE = {
  textColor: '#ffffff',
  backgroundColor: '#222222',
  textColorHover: '#ffffff',
  backgroundColorHover: '#8a1718'
};
;// CONCATENATED MODULE: ./src/components/gv-action-button/index.svelte
/* src\components\gv-action-button\index.svelte generated by Svelte v3.49.0 */







function gv_action_button_index_svelte_create_if_block_6(ctx) {
	let div;
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(/*beforeButtonText*/ ctx[3]);
			attr(div, "class", "control__text");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*beforeButtonText*/ 8) set_data(t, /*beforeButtonText*/ ctx[3]);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (49:4) {#if textFirst && !isEmpty(buttonText)}
function gv_action_button_index_svelte_create_if_block_4(ctx) {
	let div;
	let show_if = !(0,lodash.isEmpty)(/*buttonDescriptionText*/ ctx[4]);
	let t;
	let html_tag;
	let if_block = show_if && gv_action_button_index_svelte_create_if_block_5(ctx);

	return {
		c() {
			div = internal_element("div");
			if (if_block) if_block.c();
			t = space();
			html_tag = new HtmlTag(false);
			html_tag.a = null;
			attr(div, "class", "control__text");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block) if_block.m(div, null);
			append(div, t);
			html_tag.m(/*buttonText*/ ctx[2], div);
		},
		p(ctx, dirty) {
			if (dirty & /*buttonDescriptionText*/ 16) show_if = !(0,lodash.isEmpty)(/*buttonDescriptionText*/ ctx[4]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = gv_action_button_index_svelte_create_if_block_5(ctx);
					if_block.c();
					if_block.m(div, t);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (dirty & /*buttonText*/ 4) html_tag.p(/*buttonText*/ ctx[2]);
		},
		d(detaching) {
			if (detaching) detach(div);
			if (if_block) if_block.d();
		}
	};
}

// (51:12) {#if !isEmpty(buttonDescriptionText)}
function gv_action_button_index_svelte_create_if_block_5(ctx) {
	let span;
	let t0;
	let t1;

	return {
		c() {
			span = internal_element("span");
			t0 = internal_text(/*buttonDescriptionText*/ ctx[4]);
			t1 = internal_text(" ");
			attr(span, "class", "control__text control__text--gray");
		},
		m(target, anchor) {
			insert(target, span, anchor);
			append(span, t0);
			append(span, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*buttonDescriptionText*/ 16) set_data(t0, /*buttonDescriptionText*/ ctx[4]);
		},
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

// (76:8) {:else}
function gv_action_button_index_svelte_create_else_block(ctx) {
	let t_value = BUTTONS_ALIASES[/*buttonCode*/ ctx[5]].value + "";
	let t;

	return {
		c() {
			t = internal_text(t_value);
		},
		m(target, anchor) {
			insert(target, t, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*buttonCode*/ 32 && t_value !== (t_value = BUTTONS_ALIASES[/*buttonCode*/ ctx[5]].value + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(t);
		}
	};
}

// (74:51) 
function gv_action_button_index_svelte_create_if_block_3(ctx) {
	let span;
	let span_class_value;

	return {
		c() {
			span = internal_element("span");
			attr(span, "class", span_class_value = `control__icon ${BUTTONS_ALIASES[/*buttonCode*/ ctx[5]].value}`);
		},
		m(target, anchor) {
			insert(target, span, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*buttonCode*/ 32 && span_class_value !== (span_class_value = `control__icon ${BUTTONS_ALIASES[/*buttonCode*/ ctx[5]].value}`)) {
				attr(span, "class", span_class_value);
			}
		},
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

// (72:8) {#if isNil(BUTTONS_ALIASES[buttonCode])}
function gv_action_button_index_svelte_create_if_block_2(ctx) {
	let t;

	return {
		c() {
			t = internal_text(/*buttonName*/ ctx[1]);
		},
		m(target, anchor) {
			insert(target, t, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*buttonName*/ 2) set_data(t, /*buttonName*/ ctx[1]);
		},
		d(detaching) {
			if (detaching) detach(t);
		}
	};
}

// (59:4) <KeyHoc          keyCode={buttonCode}          keyLocation={buttonLocation}          onSubmit={onSubmit}          click={onClick}          preventMouseClick={preventMouseClick}          checkInput={disableIfInputFocused}          active={active}          disabled={disabled}          small={small}          onKeyUp={onKeyUp}          bind:pressed={pressed}      >
function index_svelte_create_default_slot(ctx) {
	let show_if;
	let if_block_anchor;

	function select_block_type(ctx, dirty) {
		if (dirty & /*buttonCode*/ 32) show_if = null;
		if (show_if == null) show_if = !!(0,lodash.isNil)(BUTTONS_ALIASES[/*buttonCode*/ ctx[5]]);
		if (show_if) return gv_action_button_index_svelte_create_if_block_2;
		if (BUTTONS_ALIASES[/*buttonCode*/ ctx[5]].icon) return gv_action_button_index_svelte_create_if_block_3;
		return gv_action_button_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block = current_block_type(ctx);

	return {
		c() {
			if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
		},
		p(ctx, dirty) {
			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			}
		},
		d(detaching) {
			if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

// (80:4) {#if !textFirst && !isEmpty(buttonText)}
function gv_action_button_index_svelte_create_if_block(ctx) {
	let div;
	let show_if = !(0,lodash.isEmpty)(/*buttonDescriptionText*/ ctx[4]);
	let t;
	let html_tag;
	let if_block = show_if && gv_action_button_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			div = internal_element("div");
			if (if_block) if_block.c();
			t = space();
			html_tag = new HtmlTag(false);
			html_tag.a = null;
			attr(div, "class", "control__text");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block) if_block.m(div, null);
			append(div, t);
			html_tag.m(/*buttonText*/ ctx[2], div);
		},
		p(ctx, dirty) {
			if (dirty & /*buttonDescriptionText*/ 16) show_if = !(0,lodash.isEmpty)(/*buttonDescriptionText*/ ctx[4]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = gv_action_button_index_svelte_create_if_block_1(ctx);
					if_block.c();
					if_block.m(div, t);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (dirty & /*buttonText*/ 4) html_tag.p(/*buttonText*/ ctx[2]);
		},
		d(detaching) {
			if (detaching) detach(div);
			if (if_block) if_block.d();
		}
	};
}

// (82:12) {#if !isEmpty(buttonDescriptionText)}
function gv_action_button_index_svelte_create_if_block_1(ctx) {
	let span;
	let t0;
	let t1;

	return {
		c() {
			span = internal_element("span");
			t0 = internal_text(/*buttonDescriptionText*/ ctx[4]);
			t1 = internal_text(" ");
			attr(span, "class", "control__text control__text--gray");
		},
		m(target, anchor) {
			insert(target, span, anchor);
			append(span, t0);
			append(span, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*buttonDescriptionText*/ 16) set_data(t0, /*buttonDescriptionText*/ ctx[4]);
		},
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

function gv_action_button_index_svelte_create_fragment(ctx) {
	let div;
	let show_if_2 = !(0,lodash.isEmpty)(/*beforeButtonText*/ ctx[3]);
	let t0;
	let show_if_1 = /*textFirst*/ ctx[11] && !(0,lodash.isEmpty)(/*buttonText*/ ctx[2]);
	let t1;
	let keyhoc;
	let updating_pressed;
	let t2;
	let show_if = !/*textFirst*/ ctx[11] && !(0,lodash.isEmpty)(/*buttonText*/ ctx[2]);
	let div_class_value;
	let div_style_value;
	let current;
	let if_block0 = show_if_2 && gv_action_button_index_svelte_create_if_block_6(ctx);
	let if_block1 = show_if_1 && gv_action_button_index_svelte_create_if_block_4(ctx);

	function keyhoc_pressed_binding(value) {
		/*keyhoc_pressed_binding*/ ctx[19](value);
	}

	let keyhoc_props = {
		keyCode: /*buttonCode*/ ctx[5],
		keyLocation: /*buttonLocation*/ ctx[6],
		onSubmit: /*onSubmit*/ ctx[16],
		click: /*onClick*/ ctx[17],
		preventMouseClick: /*preventMouseClick*/ ctx[12],
		checkInput: /*disableIfInputFocused*/ ctx[13],
		active: /*active*/ ctx[8],
		disabled: /*disabled*/ ctx[9],
		small: /*small*/ ctx[10],
		onKeyUp: /*onKeyUp*/ ctx[18],
		$$slots: { default: [index_svelte_create_default_slot] },
		$$scope: { ctx }
	};

	if (/*pressed*/ ctx[0] !== void 0) {
		keyhoc_props.pressed = /*pressed*/ ctx[0];
	}

	keyhoc = new key_hoc_index_svelte({ props: keyhoc_props });
	binding_callbacks.push(() => bind(keyhoc, 'pressed', keyhoc_pressed_binding));
	let if_block2 = show_if && gv_action_button_index_svelte_create_if_block(ctx);

	return {
		c() {
			div = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			if (if_block1) if_block1.c();
			t1 = space();
			create_component(keyhoc.$$.fragment);
			t2 = space();
			if (if_block2) if_block2.c();
			attr(div, "class", div_class_value = `control ${/*className*/ ctx[7]}`);

			attr(div, "style", div_style_value = `
        --action-button-text-color: ${/*palette*/ ctx[14].textColor};
        --action-button-background-color: ${/*palette*/ ctx[14].backgroundColor};
        --action-button-text-color-hover: ${/*palette*/ ctx[14].textColorHover};
         --action-button-background-color-hover: ${/*palette*/ ctx[14].backgroundColorHover};
     `);

			toggle_class(div, "control--disabled", /*disabled*/ ctx[9]);
			toggle_class(div, "control--active", /*pressed*/ ctx[0]);
			toggle_class(div, "control--small", /*small*/ ctx[10]);
			toggle_class(div, "control--without-text", !/*buttonText*/ ctx[2]);
			toggle_class(div, "control--fill-available-height", /*fillAvailableHeight*/ ctx[15]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block0) if_block0.m(div, null);
			append(div, t0);
			if (if_block1) if_block1.m(div, null);
			append(div, t1);
			mount_component(keyhoc, div, null);
			append(div, t2);
			if (if_block2) if_block2.m(div, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*beforeButtonText*/ 8) show_if_2 = !(0,lodash.isEmpty)(/*beforeButtonText*/ ctx[3]);

			if (show_if_2) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = gv_action_button_index_svelte_create_if_block_6(ctx);
					if_block0.c();
					if_block0.m(div, t0);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty & /*textFirst, buttonText*/ 2052) show_if_1 = /*textFirst*/ ctx[11] && !(0,lodash.isEmpty)(/*buttonText*/ ctx[2]);

			if (show_if_1) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = gv_action_button_index_svelte_create_if_block_4(ctx);
					if_block1.c();
					if_block1.m(div, t1);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			const keyhoc_changes = {};
			if (dirty & /*buttonCode*/ 32) keyhoc_changes.keyCode = /*buttonCode*/ ctx[5];
			if (dirty & /*buttonLocation*/ 64) keyhoc_changes.keyLocation = /*buttonLocation*/ ctx[6];
			if (dirty & /*onSubmit*/ 65536) keyhoc_changes.onSubmit = /*onSubmit*/ ctx[16];
			if (dirty & /*onClick*/ 131072) keyhoc_changes.click = /*onClick*/ ctx[17];
			if (dirty & /*preventMouseClick*/ 4096) keyhoc_changes.preventMouseClick = /*preventMouseClick*/ ctx[12];
			if (dirty & /*disableIfInputFocused*/ 8192) keyhoc_changes.checkInput = /*disableIfInputFocused*/ ctx[13];
			if (dirty & /*active*/ 256) keyhoc_changes.active = /*active*/ ctx[8];
			if (dirty & /*disabled*/ 512) keyhoc_changes.disabled = /*disabled*/ ctx[9];
			if (dirty & /*small*/ 1024) keyhoc_changes.small = /*small*/ ctx[10];
			if (dirty & /*onKeyUp*/ 262144) keyhoc_changes.onKeyUp = /*onKeyUp*/ ctx[18];

			if (dirty & /*$$scope, buttonName, buttonCode*/ 1048610) {
				keyhoc_changes.$$scope = { dirty, ctx };
			}

			if (!updating_pressed && dirty & /*pressed*/ 1) {
				updating_pressed = true;
				keyhoc_changes.pressed = /*pressed*/ ctx[0];
				add_flush_callback(() => updating_pressed = false);
			}

			keyhoc.$set(keyhoc_changes);
			if (dirty & /*textFirst, buttonText*/ 2052) show_if = !/*textFirst*/ ctx[11] && !(0,lodash.isEmpty)(/*buttonText*/ ctx[2]);

			if (show_if) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = gv_action_button_index_svelte_create_if_block(ctx);
					if_block2.c();
					if_block2.m(div, null);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			if (!current || dirty & /*className*/ 128 && div_class_value !== (div_class_value = `control ${/*className*/ ctx[7]}`)) {
				attr(div, "class", div_class_value);
			}

			if (!current || dirty & /*palette*/ 16384 && div_style_value !== (div_style_value = `
        --action-button-text-color: ${/*palette*/ ctx[14].textColor};
        --action-button-background-color: ${/*palette*/ ctx[14].backgroundColor};
        --action-button-text-color-hover: ${/*palette*/ ctx[14].textColorHover};
         --action-button-background-color-hover: ${/*palette*/ ctx[14].backgroundColorHover};
     `)) {
				attr(div, "style", div_style_value);
			}

			if (dirty & /*className, disabled*/ 640) {
				toggle_class(div, "control--disabled", /*disabled*/ ctx[9]);
			}

			if (dirty & /*className, pressed*/ 129) {
				toggle_class(div, "control--active", /*pressed*/ ctx[0]);
			}

			if (dirty & /*className, small*/ 1152) {
				toggle_class(div, "control--small", /*small*/ ctx[10]);
			}

			if (dirty & /*className, buttonText*/ 132) {
				toggle_class(div, "control--without-text", !/*buttonText*/ ctx[2]);
			}

			if (dirty & /*className, fillAvailableHeight*/ 32896) {
				toggle_class(div, "control--fill-available-height", /*fillAvailableHeight*/ ctx[15]);
			}
		},
		i(local) {
			if (current) return;
			transition_in(keyhoc.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(keyhoc.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			destroy_component(keyhoc);
			if (if_block2) if_block2.d();
		}
	};
}

function gv_action_button_index_svelte_instance($$self, $$props, $$invalidate) {
	let { buttonName = 'ENTER' } = $$props;
	let { buttonText = '' } = $$props;
	let { beforeButtonText = '' } = $$props;
	let { buttonDescriptionText = '' } = $$props;
	let { buttonCode = 13 } = $$props;
	let { buttonLocation = 0 } = $$props;
	let { className = '' } = $$props;
	let { active = false } = $$props;
	let { disabled = false } = $$props;
	let { small = false } = $$props;
	let { textFirst = false } = $$props;
	let { preventMouseClick = false } = $$props;
	let { disableIfInputFocused = false } = $$props;
	let { pressed = false } = $$props;
	let { palette = DEFAULT_ACTION_BUTTON_PALETTE } = $$props;
	let { fillAvailableHeight = false } = $$props;

	let { onSubmit = () => {
		
	} } = $$props;

	let { onClick = () => {
		
	} } = $$props;

	let { onKeyUp = () => {
		
	} } = $$props;

	function keyhoc_pressed_binding(value) {
		pressed = value;
		$$invalidate(0, pressed);
	}

	$$self.$$set = $$props => {
		if ('buttonName' in $$props) $$invalidate(1, buttonName = $$props.buttonName);
		if ('buttonText' in $$props) $$invalidate(2, buttonText = $$props.buttonText);
		if ('beforeButtonText' in $$props) $$invalidate(3, beforeButtonText = $$props.beforeButtonText);
		if ('buttonDescriptionText' in $$props) $$invalidate(4, buttonDescriptionText = $$props.buttonDescriptionText);
		if ('buttonCode' in $$props) $$invalidate(5, buttonCode = $$props.buttonCode);
		if ('buttonLocation' in $$props) $$invalidate(6, buttonLocation = $$props.buttonLocation);
		if ('className' in $$props) $$invalidate(7, className = $$props.className);
		if ('active' in $$props) $$invalidate(8, active = $$props.active);
		if ('disabled' in $$props) $$invalidate(9, disabled = $$props.disabled);
		if ('small' in $$props) $$invalidate(10, small = $$props.small);
		if ('textFirst' in $$props) $$invalidate(11, textFirst = $$props.textFirst);
		if ('preventMouseClick' in $$props) $$invalidate(12, preventMouseClick = $$props.preventMouseClick);
		if ('disableIfInputFocused' in $$props) $$invalidate(13, disableIfInputFocused = $$props.disableIfInputFocused);
		if ('pressed' in $$props) $$invalidate(0, pressed = $$props.pressed);
		if ('palette' in $$props) $$invalidate(14, palette = $$props.palette);
		if ('fillAvailableHeight' in $$props) $$invalidate(15, fillAvailableHeight = $$props.fillAvailableHeight);
		if ('onSubmit' in $$props) $$invalidate(16, onSubmit = $$props.onSubmit);
		if ('onClick' in $$props) $$invalidate(17, onClick = $$props.onClick);
		if ('onKeyUp' in $$props) $$invalidate(18, onKeyUp = $$props.onKeyUp);
	};

	return [
		pressed,
		buttonName,
		buttonText,
		beforeButtonText,
		buttonDescriptionText,
		buttonCode,
		buttonLocation,
		className,
		active,
		disabled,
		small,
		textFirst,
		preventMouseClick,
		disableIfInputFocused,
		palette,
		fillAvailableHeight,
		onSubmit,
		onClick,
		onKeyUp,
		keyhoc_pressed_binding
	];
}

class Gv_action_button extends SvelteComponent {
	constructor(options) {
		super();

		init(this, options, gv_action_button_index_svelte_instance, gv_action_button_index_svelte_create_fragment, safe_not_equal, {
			buttonName: 1,
			buttonText: 2,
			beforeButtonText: 3,
			buttonDescriptionText: 4,
			buttonCode: 5,
			buttonLocation: 6,
			className: 7,
			active: 8,
			disabled: 9,
			small: 10,
			textFirst: 11,
			preventMouseClick: 12,
			disableIfInputFocused: 13,
			pressed: 0,
			palette: 14,
			fillAvailableHeight: 15,
			onSubmit: 16,
			onClick: 17,
			onKeyUp: 18
		});
	}
}

/* harmony default export */ const gv_action_button_index_svelte = (Gv_action_button);
;// CONCATENATED MODULE: ./src/views/casino/components/game-start-timer/utils.js
var formatSecondsForView = function formatSecondsForView(seconds) {
  return seconds >= 10 ? seconds : "0".concat(seconds);
};
;// CONCATENATED MODULE: ./src/views/casino/components/game-start-timer/index.svelte
/* src\views\casino\components\game-start-timer\index.svelte generated by Svelte v3.49.0 */







function game_start_timer_index_svelte_create_if_block(ctx) {
	let div;
	let p0;
	let t0;
	let t1;
	let p1;

	let t2_value = (!(0,lodash.isEmpty)(/*timer*/ ctx[1])
	? /*timer*/ ctx[1]
	: `00 : ${formatSecondsForView(/*seconds*/ ctx[0])}`) + "";

	let t2;
	let t3;
	let span;

	let t4_value = (!(0,lodash.isEmpty)(/*timer*/ ctx[1])
	? /*timer*/ ctx[1]
	: `00 : ${formatSecondsForView(/*seconds*/ ctx[0])}`) + "";

	let t4;
	let span_class_value;
	let p1_class_value;

	return {
		c() {
			div = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(/*title*/ ctx[2]);
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = space();
			span = internal_element("span");
			t4 = internal_text(t4_value);
			attr(p0, "class", "casino-game-start-timer__title");
			attr(span, "class", span_class_value = `casino-game-start-timer__timer casino-game-start-timer__timer--${/*color*/ ctx[3]} casino-game-start-timer__timer--shadowed`);
			attr(p1, "class", p1_class_value = `casino-game-start-timer__timer casino-game-start-timer__timer--${/*color*/ ctx[3]}`);
			attr(div, "class", "casino-game-start-timer");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p0);
			append(p0, t0);
			append(div, t1);
			append(div, p1);
			append(p1, t2);
			append(p1, t3);
			append(p1, span);
			append(span, t4);
		},
		p(ctx, dirty) {
			if (dirty & /*title*/ 4) set_data(t0, /*title*/ ctx[2]);

			if (dirty & /*timer, seconds*/ 3 && t2_value !== (t2_value = (!(0,lodash.isEmpty)(/*timer*/ ctx[1])
			? /*timer*/ ctx[1]
			: `00 : ${formatSecondsForView(/*seconds*/ ctx[0])}`) + "")) set_data(t2, t2_value);

			if (dirty & /*timer, seconds*/ 3 && t4_value !== (t4_value = (!(0,lodash.isEmpty)(/*timer*/ ctx[1])
			? /*timer*/ ctx[1]
			: `00 : ${formatSecondsForView(/*seconds*/ ctx[0])}`) + "")) set_data(t4, t4_value);

			if (dirty & /*color*/ 8 && span_class_value !== (span_class_value = `casino-game-start-timer__timer casino-game-start-timer__timer--${/*color*/ ctx[3]} casino-game-start-timer__timer--shadowed`)) {
				attr(span, "class", span_class_value);
			}

			if (dirty & /*color*/ 8 && p1_class_value !== (p1_class_value = `casino-game-start-timer__timer casino-game-start-timer__timer--${/*color*/ ctx[3]}`)) {
				attr(p1, "class", p1_class_value);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function game_start_timer_index_svelte_create_fragment(ctx) {
	let show_if = !(0,lodash.isNil)(/*seconds*/ ctx[0]) || !(0,lodash.isEmpty)(/*timer*/ ctx[1]);
	let if_block_anchor;
	let if_block = show_if && game_start_timer_index_svelte_create_if_block(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
		},
		p(ctx, [dirty]) {
			if (dirty & /*seconds, timer*/ 3) show_if = !(0,lodash.isNil)(/*seconds*/ ctx[0]) || !(0,lodash.isEmpty)(/*timer*/ ctx[1]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = game_start_timer_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

function game_start_timer_index_svelte_instance($$self, $$props, $$invalidate) {
	let { seconds = 0 } = $$props;
	let { timer = null } = $$props;
	let { title = 'До начала игры' } = $$props;
	let { removeTimerColor = false } = $$props;
	let color = 'white';

	const updateTimerColor = newSeconds => {
		if (removeTimerColor || newSeconds > 60) {
			$$invalidate(3, color = 'white');
			return;
		}

		if (newSeconds <= 10) {
			$$invalidate(3, color = 'red');
			return;
		}

		$$invalidate(3, color = 'yellow');
	};

	onMount(() => {
		updateTimerColor(seconds);
	});

	$$self.$$set = $$props => {
		if ('seconds' in $$props) $$invalidate(0, seconds = $$props.seconds);
		if ('timer' in $$props) $$invalidate(1, timer = $$props.timer);
		if ('title' in $$props) $$invalidate(2, title = $$props.title);
		if ('removeTimerColor' in $$props) $$invalidate(4, removeTimerColor = $$props.removeTimerColor);
	};

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*seconds*/ 1) {
			$: {
				updateTimerColor(seconds);
			}
		}
	};

	return [seconds, timer, title, color, removeTimerColor];
}

class Game_start_timer extends SvelteComponent {
	constructor(options) {
		super();

		init(this, options, game_start_timer_index_svelte_instance, game_start_timer_index_svelte_create_fragment, safe_not_equal, {
			seconds: 0,
			timer: 1,
			title: 2,
			removeTimerColor: 4
		});
	}
}

/* harmony default export */ const game_start_timer_index_svelte = (Game_start_timer);
;// CONCATENATED MODULE: ./src/views/casino/features/roulette/components/rules/components/roulette-icon/index.svelte
/* src\views\casino\features\roulette\components\rules\components\roulette-icon\index.svelte generated by Svelte v3.49.0 */


function roulette_icon_index_svelte_create_fragment(ctx) {
	let svg;
	let path0;
	let path1;
	let path2;
	let path3;
	let path4;
	let path5;
	let path6;
	let path7;
	let path8;
	let path9;
	let path10;
	let path11;
	let path12;
	let path13;
	let rect0;
	let path14;
	let rect1;
	let path15;
	let rect2;
	let path16;
	let rect3;
	let path17;
	let rect4;
	let path18;
	let rect5;
	let path19;
	let rect6;
	let path20;
	let rect7;
	let path21;
	let rect8;
	let path22;
	let rect9;
	let path23;
	let rect10;
	let path24;
	let rect11;
	let path25;
	let rect12;
	let path26;
	let rect13;
	let path27;
	let rect14;
	let path28;
	let rect15;
	let path29;
	let rect16;
	let path30;
	let rect17;
	let path31;
	let rect18;
	let path32;
	let rect19;
	let path33;
	let rect20;
	let path34;
	let rect21;
	let path35;
	let rect22;
	let path36;
	let rect23;
	let path37;
	let rect24;
	let path38;
	let rect25;
	let path39;
	let rect26;
	let path40;
	let rect27;
	let path41;
	let rect28;
	let path42;
	let rect29;
	let path43;
	let rect30;
	let path44;
	let rect31;
	let path45;
	let rect32;
	let path46;
	let rect33;
	let path47;
	let rect34;
	let path48;
	let rect35;
	let path49;
	let path50;
	let path51;
	let path52;

	return {
		c() {
			svg = svg_element("svg");
			path0 = svg_element("path");
			path1 = svg_element("path");
			path2 = svg_element("path");
			path3 = svg_element("path");
			path4 = svg_element("path");
			path5 = svg_element("path");
			path6 = svg_element("path");
			path7 = svg_element("path");
			path8 = svg_element("path");
			path9 = svg_element("path");
			path10 = svg_element("path");
			path11 = svg_element("path");
			path12 = svg_element("path");
			path13 = svg_element("path");
			rect0 = svg_element("rect");
			path14 = svg_element("path");
			rect1 = svg_element("rect");
			path15 = svg_element("path");
			rect2 = svg_element("rect");
			path16 = svg_element("path");
			rect3 = svg_element("rect");
			path17 = svg_element("path");
			rect4 = svg_element("rect");
			path18 = svg_element("path");
			rect5 = svg_element("rect");
			path19 = svg_element("path");
			rect6 = svg_element("rect");
			path20 = svg_element("path");
			rect7 = svg_element("rect");
			path21 = svg_element("path");
			rect8 = svg_element("rect");
			path22 = svg_element("path");
			rect9 = svg_element("rect");
			path23 = svg_element("path");
			rect10 = svg_element("rect");
			path24 = svg_element("path");
			rect11 = svg_element("rect");
			path25 = svg_element("path");
			rect12 = svg_element("rect");
			path26 = svg_element("path");
			rect13 = svg_element("rect");
			path27 = svg_element("path");
			rect14 = svg_element("rect");
			path28 = svg_element("path");
			rect15 = svg_element("rect");
			path29 = svg_element("path");
			rect16 = svg_element("rect");
			path30 = svg_element("path");
			rect17 = svg_element("rect");
			path31 = svg_element("path");
			rect18 = svg_element("rect");
			path32 = svg_element("path");
			rect19 = svg_element("rect");
			path33 = svg_element("path");
			rect20 = svg_element("rect");
			path34 = svg_element("path");
			rect21 = svg_element("rect");
			path35 = svg_element("path");
			rect22 = svg_element("rect");
			path36 = svg_element("path");
			rect23 = svg_element("rect");
			path37 = svg_element("path");
			rect24 = svg_element("rect");
			path38 = svg_element("path");
			rect25 = svg_element("rect");
			path39 = svg_element("path");
			rect26 = svg_element("rect");
			path40 = svg_element("path");
			rect27 = svg_element("rect");
			path41 = svg_element("path");
			rect28 = svg_element("rect");
			path42 = svg_element("path");
			rect29 = svg_element("rect");
			path43 = svg_element("path");
			rect30 = svg_element("rect");
			path44 = svg_element("path");
			rect31 = svg_element("rect");
			path45 = svg_element("path");
			rect32 = svg_element("rect");
			path46 = svg_element("path");
			rect33 = svg_element("rect");
			path47 = svg_element("path");
			rect34 = svg_element("rect");
			path48 = svg_element("path");
			rect35 = svg_element("rect");
			path49 = svg_element("path");
			path50 = svg_element("path");
			path51 = svg_element("path");
			path52 = svg_element("path");
			attr(path0, "opacity", "0.15");
			attr(path0, "fill-rule", "evenodd");
			attr(path0, "clip-rule", "evenodd");
			attr(path0, "d", "M0 221V115V110V5V0H5H58H63H111H116H164H169H217H222H270H275H323H328H376H381H429H434H482H487H535H540H587H592H640H645H694H699H752H757V5V74V79V148V153V221V226H752H699V279V284V337V342H694H593H588H487H482H381H376H275H270H169H164H63H58V337V284V279V226H5H0V221ZM593 337H694V284H593V337ZM588 284V337H487V284H588ZM588 279H593H694V226H645H640H592H587H540H535H487V279H588ZM482 337H381V284H482V337ZM381 279H376H275V226H323H328H376H381H429H434H482V279H381ZM376 337V284H275V337H376ZM169 337H270V284H169V337ZM164 284V337H63V284H164ZM164 279H169H270V226H222H217H169H164H116H111H63V279H164ZM5 221V115H58V148V153V221H5ZM63 115V110V79H111V148H63V115ZM5 110H58V79V74V5H5V110ZM640 5H592V74H640V5ZM645 74V5H694V74H645ZM640 79H592V148H640V79ZM645 148V79H694V148H645ZM640 153H592V221H640V153ZM645 221V153H694V221H645ZM540 5H587V74H540V5ZM540 79H587V148H540V79ZM540 153H587V221H540V153ZM535 5H487V74H535V5ZM535 79H487V148H535V79ZM535 153H487V221H535V153ZM381 5H429V74H381V5ZM381 79H429V148H381V79ZM434 79V148H482V79H434ZM381 153H429V221H381V153ZM434 153V221H482V153H434ZM434 5V74H482V5H434ZM376 5H328V74H376V5ZM376 79H328V148H376V79ZM376 153H328V221H376V153ZM275 5H323V74H275V5ZM275 79H323V148H275V79ZM275 153H323V221H275V153ZM217 5H169V74H217V5ZM222 74V5H270V74H222ZM217 79H169V148H217V79ZM222 148V79H270V148H222ZM217 153H169V221H217V153ZM222 221V153H270V221H222ZM116 5H164V74H116V5ZM116 79H164V148H116V79ZM116 153H164V221H116V153ZM111 5H63V74H111V5ZM111 153H63V221H111V153ZM752 153V221H699V153H752ZM699 148H752V79H699V148ZM752 5V74H699V5H752Z");
			attr(path0, "fill", "white");
			attr(path1, "d", "M36.872 163.96C37.544 163.96 38.144 164.112 38.672 164.416C39.2 164.704 39.648 165.088 40.016 165.568C40.368 166.048 40.64 166.592 40.832 167.2C41.024 167.792 41.12 168.392 41.12 169C41.12 169.624 41.024 170.24 40.832 170.848C40.64 171.44 40.368 171.976 40.016 172.456C39.648 172.92 39.2 173.304 38.672 173.608C38.144 173.896 37.544 174.04 36.872 174.04H28.616C27.944 174.04 27.344 173.896 26.816 173.608C26.272 173.304 25.816 172.912 25.448 172.432C25.064 171.952 24.776 171.416 24.584 170.824C24.392 170.216 24.296 169.608 24.296 169C24.296 168.392 24.392 167.792 24.584 167.2C24.776 166.592 25.064 166.048 25.448 165.568C25.816 165.088 26.272 164.704 26.816 164.416C27.344 164.112 27.944 163.96 28.616 163.96H36.872ZM29.144 166.048C28.616 166.048 28.168 166.144 27.8 166.336C27.432 166.528 27.136 166.768 26.912 167.056C26.672 167.344 26.504 167.664 26.408 168.016C26.312 168.352 26.264 168.68 26.264 169C26.264 169.32 26.312 169.656 26.408 170.008C26.504 170.344 26.672 170.656 26.912 170.944C27.136 171.232 27.432 171.472 27.8 171.664C28.168 171.84 28.616 171.928 29.144 171.928H36.344C36.872 171.928 37.32 171.84 37.688 171.664C38.04 171.472 38.336 171.232 38.576 170.944C38.8 170.656 38.96 170.344 39.056 170.008C39.152 169.656 39.2 169.32 39.2 169C39.2 168.68 39.152 168.352 39.056 168.016C38.96 167.664 38.8 167.344 38.576 167.056C38.336 166.768 38.04 166.528 37.688 166.336C37.32 166.144 36.872 166.048 36.344 166.048H29.144Z");
			attr(path1, "fill", "white");
			attr(path2, "d", "M36.872 57.96C37.544 57.96 38.144 58.112 38.672 58.416C39.2 58.704 39.648 59.088 40.016 59.568C40.368 60.048 40.64 60.592 40.832 61.2C41.024 61.792 41.12 62.392 41.12 63C41.12 63.624 41.024 64.24 40.832 64.848C40.64 65.44 40.368 65.976 40.016 66.456C39.648 66.92 39.2 67.304 38.672 67.608C38.144 67.896 37.544 68.04 36.872 68.04H28.616C27.944 68.04 27.344 67.896 26.816 67.608C26.272 67.304 25.816 66.912 25.448 66.432C25.064 65.952 24.776 65.416 24.584 64.824C24.392 64.216 24.296 63.608 24.296 63C24.296 62.392 24.392 61.792 24.584 61.2C24.776 60.592 25.064 60.048 25.448 59.568C25.816 59.088 26.272 58.704 26.816 58.416C27.344 58.112 27.944 57.96 28.616 57.96H36.872ZM29.144 60.048C28.616 60.048 28.168 60.144 27.8 60.336C27.432 60.528 27.136 60.768 26.912 61.056C26.672 61.344 26.504 61.664 26.408 62.016C26.312 62.352 26.264 62.68 26.264 63C26.264 63.32 26.312 63.656 26.408 64.008C26.504 64.344 26.672 64.656 26.912 64.944C27.136 65.232 27.432 65.472 27.8 65.664C28.168 65.84 28.616 65.928 29.144 65.928H36.344C36.872 65.928 37.32 65.84 37.688 65.664C38.04 65.472 38.336 65.232 38.576 64.944C38.8 64.656 38.96 64.344 39.056 64.008C39.152 63.656 39.2 63.32 39.2 63C39.2 62.68 39.152 62.352 39.056 62.016C38.96 61.664 38.8 61.344 38.576 61.056C38.336 60.768 38.04 60.528 37.688 60.336C37.32 60.144 36.872 60.048 36.344 60.048H29.144ZM36.872 45.96C37.544 45.96 38.144 46.112 38.672 46.416C39.2 46.704 39.648 47.088 40.016 47.568C40.368 48.048 40.64 48.592 40.832 49.2C41.024 49.792 41.12 50.392 41.12 51C41.12 51.624 41.024 52.24 40.832 52.848C40.64 53.44 40.368 53.976 40.016 54.456C39.648 54.92 39.2 55.304 38.672 55.608C38.144 55.896 37.544 56.04 36.872 56.04H28.616C27.944 56.04 27.344 55.896 26.816 55.608C26.272 55.304 25.816 54.912 25.448 54.432C25.064 53.952 24.776 53.416 24.584 52.824C24.392 52.216 24.296 51.608 24.296 51C24.296 50.392 24.392 49.792 24.584 49.2C24.776 48.592 25.064 48.048 25.448 47.568C25.816 47.088 26.272 46.704 26.816 46.416C27.344 46.112 27.944 45.96 28.616 45.96H36.872ZM29.144 48.048C28.616 48.048 28.168 48.144 27.8 48.336C27.432 48.528 27.136 48.768 26.912 49.056C26.672 49.344 26.504 49.664 26.408 50.016C26.312 50.352 26.264 50.68 26.264 51C26.264 51.32 26.312 51.656 26.408 52.008C26.504 52.344 26.672 52.656 26.912 52.944C27.136 53.232 27.432 53.472 27.8 53.664C28.168 53.84 28.616 53.928 29.144 53.928H36.344C36.872 53.928 37.32 53.84 37.688 53.664C38.04 53.472 38.336 53.232 38.576 52.944C38.8 52.656 38.96 52.344 39.056 52.008C39.152 51.656 39.2 51.32 39.2 51C39.2 50.68 39.152 50.352 39.056 50.016C38.96 49.664 38.8 49.344 38.576 49.056C38.336 48.768 38.04 48.528 37.688 48.336C37.32 48.144 36.872 48.048 36.344 48.048H29.144Z");
			attr(path2, "fill", "white");
			attr(path3, "d", "M139.066 260V246.008L136.81 247.856L135.706 246.344L139.186 243.464H141.13V260H139.066ZM161.391 256.592C161.391 257.152 161.271 257.648 161.031 258.08C160.791 258.512 160.463 258.888 160.047 259.208C159.631 259.512 159.135 259.744 158.559 259.904C157.983 260.064 157.351 260.144 156.663 260.144C155.831 260.144 155.023 260.04 154.239 259.832C153.455 259.608 152.663 259.192 151.863 258.584L152.991 257.072C153.583 257.568 154.191 257.912 154.815 258.104C155.439 258.28 156.119 258.368 156.855 258.368C157.143 258.368 157.431 258.336 157.719 258.272C158.023 258.192 158.287 258.08 158.511 257.936C158.751 257.792 158.943 257.608 159.087 257.384C159.231 257.144 159.303 256.864 159.303 256.544C159.303 256.032 159.119 255.664 158.751 255.44C158.383 255.216 157.919 255.056 157.359 254.96C156.751 254.864 156.143 254.76 155.535 254.648C154.943 254.52 154.407 254.336 153.927 254.096C153.447 253.856 153.055 253.536 152.751 253.136C152.447 252.736 152.295 252.208 152.295 251.552C152.295 251.008 152.407 250.512 152.631 250.064C152.855 249.616 153.167 249.24 153.567 248.936C153.967 248.632 154.423 248.4 154.935 248.24C155.463 248.064 156.031 247.976 156.639 247.976C157.535 247.976 158.327 248.072 159.015 248.264C159.703 248.44 160.367 248.76 161.007 249.224L159.975 250.76C159.415 250.408 158.871 250.16 158.343 250.016C157.815 249.872 157.247 249.8 156.639 249.8C155.935 249.8 155.367 249.968 154.935 250.304C154.503 250.624 154.287 251.032 154.287 251.528C154.287 251.944 154.463 252.256 154.815 252.464C155.167 252.672 155.607 252.84 156.135 252.968C156.663 253.08 157.231 253.192 157.839 253.304C158.447 253.4 159.015 253.568 159.543 253.808C160.071 254.048 160.511 254.384 160.863 254.816C161.215 255.248 161.391 255.84 161.391 256.592ZM170.634 259.712C170.17 259.872 169.682 259.976 169.17 260.024C168.674 260.088 168.306 260.12 168.066 260.12C166.802 260.12 165.89 259.832 165.33 259.256C164.77 258.68 164.49 257.72 164.49 256.376V249.944H162.81V248.096H164.538L165.018 245.336H166.53V248.096H169.842V249.944H166.53V255.752C166.53 256.232 166.57 256.632 166.65 256.952C166.746 257.256 166.866 257.504 167.01 257.696C167.17 257.872 167.362 257.992 167.586 258.056C167.81 258.12 168.066 258.152 168.354 258.152C168.626 258.152 168.922 258.136 169.242 258.104C169.578 258.056 169.93 258.008 170.298 257.96L170.634 259.712ZM182.214 260V246.008L179.958 247.856L178.854 246.344L182.334 243.464H184.278V260H182.214ZM199.566 247.64C199.566 248.248 199.414 248.832 199.11 249.392C198.822 249.952 198.454 250.48 198.006 250.976C197.574 251.456 197.102 251.896 196.59 252.296C196.094 252.696 195.63 253.04 195.198 253.328C194.894 253.536 194.542 253.784 194.142 254.072C193.758 254.36 193.382 254.68 193.014 255.032C192.662 255.384 192.358 255.768 192.102 256.184C191.862 256.6 191.742 257.048 191.742 257.528V258.152H199.518V260H189.582V258.056C189.582 257.384 189.694 256.76 189.918 256.184C190.142 255.608 190.446 255.072 190.83 254.576C191.214 254.08 191.654 253.624 192.15 253.208C192.646 252.776 193.166 252.376 193.71 252.008C194.174 251.72 194.622 251.408 195.054 251.072C195.502 250.736 195.902 250.392 196.254 250.04C196.606 249.672 196.886 249.296 197.094 248.912C197.302 248.528 197.406 248.136 197.406 247.736C197.406 247.304 197.31 246.936 197.118 246.632C196.942 246.312 196.702 246.056 196.398 245.864C196.094 245.656 195.75 245.504 195.366 245.408C194.998 245.312 194.622 245.264 194.238 245.264C193.566 245.264 192.942 245.384 192.366 245.624C191.79 245.848 191.286 246.144 190.854 246.512L189.774 244.952C190.318 244.488 190.966 244.096 191.718 243.776C192.47 243.456 193.31 243.296 194.238 243.296C194.91 243.296 195.566 243.376 196.206 243.536C196.846 243.696 197.414 243.952 197.91 244.304C198.406 244.64 198.806 245.088 199.11 245.648C199.414 246.192 199.566 246.856 199.566 247.64Z");
			attr(path3, "fill", "white");
			attr(path4, "d", "M356.418 247.64C356.418 248.248 356.266 248.832 355.962 249.392C355.674 249.952 355.306 250.48 354.858 250.976C354.426 251.456 353.954 251.896 353.442 252.296C352.946 252.696 352.482 253.04 352.05 253.328C351.746 253.536 351.394 253.784 350.994 254.072C350.61 254.36 350.234 254.68 349.866 255.032C349.514 255.384 349.21 255.768 348.954 256.184C348.714 256.6 348.594 257.048 348.594 257.528V258.152H356.37V260H346.434V258.056C346.434 257.384 346.546 256.76 346.77 256.184C346.994 255.608 347.298 255.072 347.682 254.576C348.066 254.08 348.506 253.624 349.002 253.208C349.498 252.776 350.018 252.376 350.562 252.008C351.026 251.72 351.474 251.408 351.906 251.072C352.354 250.736 352.754 250.392 353.106 250.04C353.458 249.672 353.738 249.296 353.946 248.912C354.154 248.528 354.258 248.136 354.258 247.736C354.258 247.304 354.162 246.936 353.97 246.632C353.794 246.312 353.554 246.056 353.25 245.864C352.946 245.656 352.602 245.504 352.218 245.408C351.85 245.312 351.474 245.264 351.09 245.264C350.418 245.264 349.794 245.384 349.218 245.624C348.642 245.848 348.138 246.144 347.706 246.512L346.626 244.952C347.17 244.488 347.818 244.096 348.57 243.776C349.322 243.456 350.162 243.296 351.09 243.296C351.762 243.296 352.418 243.376 353.058 243.536C353.698 243.696 354.266 243.952 354.762 244.304C355.258 244.64 355.658 245.088 355.962 245.648C356.266 246.192 356.418 246.856 356.418 247.64ZM373.391 256.592C373.391 257.152 373.271 257.648 373.031 258.08C372.791 258.512 372.463 258.888 372.047 259.208C371.631 259.512 371.135 259.744 370.559 259.904C369.983 260.064 369.351 260.144 368.663 260.144C367.831 260.144 367.023 260.04 366.239 259.832C365.455 259.608 364.663 259.192 363.863 258.584L364.991 257.072C365.583 257.568 366.191 257.912 366.815 258.104C367.439 258.28 368.119 258.368 368.855 258.368C369.143 258.368 369.431 258.336 369.719 258.272C370.023 258.192 370.287 258.08 370.511 257.936C370.751 257.792 370.943 257.608 371.087 257.384C371.231 257.144 371.303 256.864 371.303 256.544C371.303 256.032 371.119 255.664 370.751 255.44C370.383 255.216 369.919 255.056 369.359 254.96C368.751 254.864 368.143 254.76 367.535 254.648C366.943 254.52 366.407 254.336 365.927 254.096C365.447 253.856 365.055 253.536 364.751 253.136C364.447 252.736 364.295 252.208 364.295 251.552C364.295 251.008 364.407 250.512 364.631 250.064C364.855 249.616 365.167 249.24 365.567 248.936C365.967 248.632 366.423 248.4 366.935 248.24C367.463 248.064 368.031 247.976 368.639 247.976C369.535 247.976 370.327 248.072 371.015 248.264C371.703 248.44 372.367 248.76 373.007 249.224L371.975 250.76C371.415 250.408 370.871 250.16 370.343 250.016C369.815 249.872 369.247 249.8 368.639 249.8C367.935 249.8 367.367 249.968 366.935 250.304C366.503 250.624 366.287 251.032 366.287 251.528C366.287 251.944 366.463 252.256 366.815 252.464C367.167 252.672 367.607 252.84 368.135 252.968C368.663 253.08 369.231 253.192 369.839 253.304C370.447 253.4 371.015 253.568 371.543 253.808C372.071 254.048 372.511 254.384 372.863 254.816C373.215 255.248 373.391 255.84 373.391 256.592ZM382.634 259.712C382.17 259.872 381.682 259.976 381.17 260.024C380.674 260.088 380.306 260.12 380.066 260.12C378.802 260.12 377.89 259.832 377.33 259.256C376.77 258.68 376.49 257.72 376.49 256.376V249.944H374.81V248.096H376.538L377.018 245.336H378.53V248.096H381.842V249.944H378.53V255.752C378.53 256.232 378.57 256.632 378.65 256.952C378.746 257.256 378.866 257.504 379.01 257.696C379.17 257.872 379.362 257.992 379.586 258.056C379.81 258.12 380.066 258.152 380.354 258.152C380.626 258.152 380.922 258.136 381.242 258.104C381.578 258.056 381.93 258.008 382.298 257.96L382.634 259.712ZM394.214 260V246.008L391.958 247.856L390.854 246.344L394.334 243.464H396.278V260H394.214ZM411.566 247.64C411.566 248.248 411.414 248.832 411.11 249.392C410.822 249.952 410.454 250.48 410.006 250.976C409.574 251.456 409.102 251.896 408.59 252.296C408.094 252.696 407.63 253.04 407.198 253.328C406.894 253.536 406.542 253.784 406.142 254.072C405.758 254.36 405.382 254.68 405.014 255.032C404.662 255.384 404.358 255.768 404.102 256.184C403.862 256.6 403.742 257.048 403.742 257.528V258.152H411.518V260H401.582V258.056C401.582 257.384 401.694 256.76 401.918 256.184C402.142 255.608 402.446 255.072 402.83 254.576C403.214 254.08 403.654 253.624 404.15 253.208C404.646 252.776 405.166 252.376 405.71 252.008C406.174 251.72 406.622 251.408 407.054 251.072C407.502 250.736 407.902 250.392 408.254 250.04C408.606 249.672 408.886 249.296 409.094 248.912C409.302 248.528 409.406 248.136 409.406 247.736C409.406 247.304 409.31 246.936 409.118 246.632C408.942 246.312 408.702 246.056 408.398 245.864C408.094 245.656 407.75 245.504 407.366 245.408C406.998 245.312 406.622 245.264 406.238 245.264C405.566 245.264 404.942 245.384 404.366 245.624C403.79 245.848 403.286 246.144 402.854 246.512L401.774 244.952C402.318 244.488 402.966 244.096 403.718 243.776C404.47 243.456 405.31 243.296 406.238 243.296C406.91 243.296 407.566 243.376 408.206 243.536C408.846 243.696 409.414 243.952 409.91 244.304C410.406 244.64 410.806 245.088 411.11 245.648C411.414 246.192 411.566 246.856 411.566 247.64Z");
			attr(path4, "fill", "white");
			attr(path5, "d", "M561.85 243.32C562.442 243.32 563.026 243.392 563.602 243.536C564.194 243.68 564.722 243.92 565.186 244.256C565.666 244.576 566.05 245.008 566.338 245.552C566.626 246.096 566.77 246.76 566.77 247.544C566.77 248.36 566.57 249.112 566.17 249.8C565.786 250.472 565.21 250.952 564.442 251.24C564.826 251.4 565.162 251.624 565.45 251.912C565.754 252.184 566.002 252.496 566.194 252.848C566.402 253.2 566.554 253.576 566.65 253.976C566.762 254.376 566.818 254.768 566.818 255.152C566.818 255.984 566.666 256.712 566.362 257.336C566.074 257.96 565.682 258.488 565.186 258.92C564.706 259.336 564.138 259.648 563.482 259.856C562.842 260.064 562.162 260.168 561.442 260.168C560.434 260.168 559.514 260.008 558.682 259.688C557.866 259.352 557.202 258.96 556.69 258.512L557.794 256.88C558.258 257.296 558.81 257.624 559.45 257.864C560.106 258.104 560.73 258.224 561.322 258.224C562.346 258.224 563.162 257.976 563.77 257.48C564.394 256.968 564.706 256.256 564.706 255.344C564.706 254.432 564.458 253.696 563.962 253.136C563.466 252.576 562.818 252.296 562.018 252.296H560.146V250.448H562.066C562.37 250.448 562.674 250.392 562.978 250.28C563.298 250.168 563.578 250 563.818 249.776C564.074 249.536 564.274 249.24 564.418 248.888C564.578 248.536 564.658 248.12 564.658 247.64C564.658 247.208 564.57 246.84 564.394 246.536C564.218 246.232 563.978 245.984 563.674 245.792C563.386 245.6 563.058 245.464 562.69 245.384C562.322 245.304 561.946 245.264 561.562 245.264C560.97 245.264 560.362 245.392 559.738 245.648C559.13 245.904 558.61 246.216 558.178 246.584L557.05 245C557.562 244.552 558.234 244.16 559.066 243.824C559.914 243.488 560.842 243.32 561.85 243.32ZM584.391 256.592C584.391 257.152 584.271 257.648 584.031 258.08C583.791 258.512 583.463 258.888 583.047 259.208C582.631 259.512 582.135 259.744 581.559 259.904C580.983 260.064 580.351 260.144 579.663 260.144C578.831 260.144 578.023 260.04 577.239 259.832C576.455 259.608 575.663 259.192 574.863 258.584L575.991 257.072C576.583 257.568 577.191 257.912 577.815 258.104C578.439 258.28 579.119 258.368 579.855 258.368C580.143 258.368 580.431 258.336 580.719 258.272C581.023 258.192 581.287 258.08 581.511 257.936C581.751 257.792 581.943 257.608 582.087 257.384C582.231 257.144 582.303 256.864 582.303 256.544C582.303 256.032 582.119 255.664 581.751 255.44C581.383 255.216 580.919 255.056 580.359 254.96C579.751 254.864 579.143 254.76 578.535 254.648C577.943 254.52 577.407 254.336 576.927 254.096C576.447 253.856 576.055 253.536 575.751 253.136C575.447 252.736 575.295 252.208 575.295 251.552C575.295 251.008 575.407 250.512 575.631 250.064C575.855 249.616 576.167 249.24 576.567 248.936C576.967 248.632 577.423 248.4 577.935 248.24C578.463 248.064 579.031 247.976 579.639 247.976C580.535 247.976 581.327 248.072 582.015 248.264C582.703 248.44 583.367 248.76 584.007 249.224L582.975 250.76C582.415 250.408 581.871 250.16 581.343 250.016C580.815 249.872 580.247 249.8 579.639 249.8C578.935 249.8 578.367 249.968 577.935 250.304C577.503 250.624 577.287 251.032 577.287 251.528C577.287 251.944 577.463 252.256 577.815 252.464C578.167 252.672 578.607 252.84 579.135 252.968C579.663 253.08 580.231 253.192 580.839 253.304C581.447 253.4 582.015 253.568 582.543 253.808C583.071 254.048 583.511 254.384 583.863 254.816C584.215 255.248 584.391 255.84 584.391 256.592ZM593.634 259.712C593.17 259.872 592.682 259.976 592.17 260.024C591.674 260.088 591.306 260.12 591.066 260.12C589.802 260.12 588.89 259.832 588.33 259.256C587.77 258.68 587.49 257.72 587.49 256.376V249.944H585.81V248.096H587.538L588.018 245.336H589.53V248.096H592.842V249.944H589.53V255.752C589.53 256.232 589.57 256.632 589.65 256.952C589.746 257.256 589.866 257.504 590.01 257.696C590.17 257.872 590.362 257.992 590.586 258.056C590.81 258.12 591.066 258.152 591.354 258.152C591.626 258.152 591.922 258.136 592.242 258.104C592.578 258.056 592.93 258.008 593.298 257.96L593.634 259.712ZM605.214 260V246.008L602.958 247.856L601.854 246.344L605.334 243.464H607.278V260H605.214ZM622.566 247.64C622.566 248.248 622.414 248.832 622.11 249.392C621.822 249.952 621.454 250.48 621.006 250.976C620.574 251.456 620.102 251.896 619.59 252.296C619.094 252.696 618.63 253.04 618.198 253.328C617.894 253.536 617.542 253.784 617.142 254.072C616.758 254.36 616.382 254.68 616.014 255.032C615.662 255.384 615.358 255.768 615.102 256.184C614.862 256.6 614.742 257.048 614.742 257.528V258.152H622.518V260H612.582V258.056C612.582 257.384 612.694 256.76 612.918 256.184C613.142 255.608 613.446 255.072 613.83 254.576C614.214 254.08 614.654 253.624 615.15 253.208C615.646 252.776 616.166 252.376 616.71 252.008C617.174 251.72 617.622 251.408 618.054 251.072C618.502 250.736 618.902 250.392 619.254 250.04C619.606 249.672 619.886 249.296 620.094 248.912C620.302 248.528 620.406 248.136 620.406 247.736C620.406 247.304 620.31 246.936 620.118 246.632C619.942 246.312 619.702 246.056 619.398 245.864C619.094 245.656 618.75 245.504 618.366 245.408C617.998 245.312 617.622 245.264 617.238 245.264C616.566 245.264 615.942 245.384 615.366 245.624C614.79 245.848 614.286 246.144 613.854 246.512L612.774 244.952C613.318 244.488 613.966 244.096 614.718 243.776C615.47 243.456 616.31 243.296 617.238 243.296C617.91 243.296 618.566 243.376 619.206 243.536C619.846 243.696 620.414 243.952 620.91 244.304C621.406 244.64 621.806 245.088 622.11 245.648C622.414 246.192 622.566 246.856 622.566 247.64Z");
			attr(path5, "fill", "white");
			attr(path6, "d", "M91.5923 317V306.506L89.9003 307.892L89.0723 306.758L91.6823 304.598H93.1403V317H91.5923ZM107.095 316.784C106.747 316.904 106.381 316.982 105.997 317.018C105.625 317.066 105.349 317.09 105.169 317.09C104.221 317.09 103.537 316.874 103.117 316.442C102.697 316.01 102.487 315.29 102.487 314.282V309.458H101.227V308.072H102.523L102.883 306.002H104.017V308.072H106.501V309.458H104.017V313.814C104.017 314.174 104.047 314.474 104.107 314.714C104.179 314.942 104.269 315.128 104.377 315.272C104.497 315.404 104.641 315.494 104.809 315.542C104.977 315.59 105.169 315.614 105.385 315.614C105.589 315.614 105.811 315.602 106.051 315.578C106.303 315.542 106.567 315.506 106.843 315.47L107.095 316.784ZM115.47 313.85C115.47 314.366 115.368 314.828 115.164 315.236C114.972 315.632 114.702 315.968 114.354 316.244C114.018 316.52 113.628 316.73 113.184 316.874C112.74 317.018 112.266 317.09 111.762 317.09C111.246 317.09 110.766 317.018 110.322 316.874C109.878 316.73 109.488 316.52 109.152 316.244C108.828 315.968 108.57 315.632 108.378 315.236C108.186 314.828 108.09 314.366 108.09 313.85V311.258C108.09 310.742 108.186 310.286 108.378 309.89C108.582 309.482 108.846 309.14 109.17 308.864C109.506 308.576 109.896 308.36 110.34 308.216C110.796 308.06 111.276 307.982 111.78 307.982C112.32 307.982 112.812 308.06 113.256 308.216C113.712 308.36 114.102 308.576 114.426 308.864C114.762 309.14 115.02 309.482 115.2 309.89C115.38 310.286 115.47 310.742 115.47 311.258V313.85ZM113.94 311.528C113.94 311.144 113.874 310.82 113.742 310.556C113.61 310.28 113.436 310.058 113.22 309.89C113.016 309.722 112.788 309.602 112.536 309.53C112.284 309.458 112.038 309.422 111.798 309.422C111.546 309.422 111.294 309.458 111.042 309.53C110.79 309.602 110.556 309.722 110.34 309.89C110.136 310.058 109.968 310.28 109.836 310.556C109.704 310.82 109.638 311.144 109.638 311.528V313.544C109.638 313.928 109.692 314.258 109.8 314.534C109.92 314.798 110.076 315.014 110.268 315.182C110.46 315.35 110.688 315.47 110.952 315.542C111.216 315.614 111.498 315.65 111.798 315.65C112.038 315.65 112.284 315.614 112.536 315.542C112.788 315.47 113.016 315.35 113.22 315.182C113.436 315.014 113.61 314.798 113.742 314.534C113.874 314.258 113.94 313.928 113.94 313.544V311.528ZM124.868 317V306.506L123.176 307.892L122.348 306.758L124.958 304.598H126.416V317H124.868ZM134.12 304.49C134.576 304.49 135.02 304.562 135.452 304.706C135.896 304.85 136.292 305.072 136.64 305.372C136.988 305.672 137.264 306.044 137.468 306.488C137.684 306.92 137.792 307.43 137.792 308.018C137.792 308.594 137.666 309.128 137.414 309.62C137.162 310.1 136.79 310.454 136.298 310.682C136.61 310.814 136.874 310.982 137.09 311.186C137.318 311.39 137.498 311.618 137.63 311.87C137.774 312.122 137.876 312.392 137.936 312.68C138.008 312.956 138.044 313.226 138.044 313.49C138.044 314.114 137.93 314.654 137.702 315.11C137.474 315.566 137.174 315.944 136.802 316.244C136.43 316.532 136.004 316.748 135.524 316.892C135.056 317.036 134.582 317.108 134.102 317.108C133.574 317.108 133.07 317.036 132.59 316.892C132.122 316.748 131.708 316.532 131.348 316.244C131 315.956 130.718 315.596 130.502 315.164C130.298 314.72 130.196 314.198 130.196 313.598C130.196 313.286 130.244 312.98 130.34 312.68C130.436 312.38 130.562 312.104 130.718 311.852C130.886 311.588 131.078 311.354 131.294 311.15C131.522 310.946 131.762 310.79 132.014 310.682C131.51 310.49 131.126 310.148 130.862 309.656C130.598 309.164 130.466 308.612 130.466 308C130.466 307.424 130.568 306.92 130.772 306.488C130.988 306.044 131.27 305.678 131.618 305.39C131.966 305.09 132.356 304.868 132.788 304.724C133.22 304.568 133.664 304.49 134.12 304.49ZM134.138 305.984C133.874 305.984 133.61 306.026 133.346 306.11C133.094 306.194 132.866 306.32 132.662 306.488C132.47 306.656 132.314 306.866 132.194 307.118C132.074 307.37 132.014 307.664 132.014 308C132.014 308.312 132.074 308.594 132.194 308.846C132.314 309.098 132.47 309.314 132.662 309.494C132.866 309.662 133.094 309.794 133.346 309.89C133.598 309.986 133.862 310.034 134.138 310.034C134.402 310.034 134.66 309.986 134.912 309.89C135.176 309.794 135.404 309.656 135.596 309.476C135.788 309.296 135.944 309.08 136.064 308.828C136.184 308.576 136.244 308.294 136.244 307.982C136.244 307.658 136.184 307.37 136.064 307.118C135.956 306.866 135.806 306.656 135.614 306.488C135.422 306.32 135.194 306.194 134.93 306.11C134.678 306.026 134.414 305.984 134.138 305.984ZM134.138 311.474C133.826 311.474 133.532 311.522 133.256 311.618C132.98 311.714 132.74 311.852 132.536 312.032C132.332 312.212 132.164 312.434 132.032 312.698C131.912 312.95 131.852 313.238 131.852 313.562C131.852 314.222 132.05 314.732 132.446 315.092C132.854 315.452 133.418 315.632 134.138 315.632C134.834 315.632 135.386 315.452 135.794 315.092C136.202 314.732 136.406 314.21 136.406 313.526C136.406 313.214 136.346 312.932 136.226 312.68C136.106 312.428 135.944 312.212 135.74 312.032C135.536 311.852 135.296 311.714 135.02 311.618C134.744 311.522 134.45 311.474 134.138 311.474Z");
			attr(path6, "fill", "white");
			attr(path7, "d", "M202.151 317V304.598H210.431V306.11H203.807V310.052H209.477V311.546H203.807V315.506H210.431V317H202.151ZM215.284 314.912L216.292 311.618L217.444 308.09H219.118L215.95 317H214.438L211.252 308.09H212.944L214.114 311.582L215.176 314.912H215.284ZM221.693 313.112V313.706C221.693 314.066 221.753 314.372 221.873 314.624C221.993 314.864 222.155 315.068 222.359 315.236C222.575 315.392 222.815 315.506 223.079 315.578C223.355 315.65 223.637 315.686 223.925 315.686C224.225 315.686 224.573 315.626 224.969 315.506C225.365 315.386 225.749 315.152 226.121 314.804L227.093 315.866C226.637 316.334 226.127 316.658 225.563 316.838C225.011 317.006 224.453 317.09 223.889 317.09C223.385 317.09 222.905 317.024 222.449 316.892C221.993 316.748 221.591 316.544 221.243 316.28C220.907 316.004 220.637 315.662 220.433 315.254C220.241 314.846 220.145 314.372 220.145 313.832V311.474C220.145 310.946 220.235 310.466 220.415 310.034C220.595 309.602 220.841 309.236 221.153 308.936C221.477 308.636 221.855 308.408 222.287 308.252C222.731 308.084 223.217 308 223.745 308C224.273 308 224.759 308.078 225.203 308.234C225.647 308.39 226.025 308.612 226.337 308.9C226.661 309.188 226.907 309.542 227.075 309.962C227.255 310.37 227.345 310.832 227.345 311.348V313.112H221.693ZM225.779 311.51C225.779 311.138 225.725 310.82 225.617 310.556C225.509 310.292 225.359 310.076 225.167 309.908C224.987 309.728 224.771 309.602 224.519 309.53C224.279 309.446 224.021 309.404 223.745 309.404C223.469 309.404 223.211 309.446 222.971 309.53C222.731 309.614 222.515 309.74 222.323 309.908C222.131 310.076 221.981 310.292 221.873 310.556C221.765 310.808 221.711 311.108 221.711 311.456V311.852H225.779V311.51ZM233.364 307.982C234.24 307.982 234.924 308.258 235.416 308.81C235.908 309.362 236.154 310.148 236.154 311.168V317H234.606V311.366C234.606 310.67 234.456 310.184 234.156 309.908C233.856 309.62 233.478 309.482 233.022 309.494C232.662 309.494 232.236 309.59 231.744 309.782C231.264 309.962 230.796 310.196 230.34 310.484V317H228.792V308.072H230.16L230.34 309.062C230.724 308.822 231.066 308.63 231.366 308.486C231.678 308.342 231.954 308.234 232.194 308.162C232.434 308.09 232.65 308.042 232.842 308.018C233.034 307.994 233.208 307.982 233.364 307.982Z");
			attr(path7, "fill", "white");
			attr(path8, "d", "M532.561 312.95C532.561 313.586 532.441 314.162 532.201 314.678C531.973 315.194 531.649 315.632 531.229 315.992C530.821 316.352 530.335 316.634 529.771 316.838C529.219 317.03 528.619 317.126 527.971 317.126C527.299 317.126 526.681 317.03 526.117 316.838C525.553 316.634 525.067 316.352 524.659 315.992C524.263 315.632 523.951 315.194 523.723 314.678C523.507 314.162 523.399 313.586 523.399 312.95V308.666C523.399 308.042 523.507 307.472 523.723 306.956C523.951 306.44 524.263 306.002 524.659 305.642C525.067 305.27 525.553 304.982 526.117 304.778C526.681 304.574 527.299 304.472 527.971 304.472C528.631 304.472 529.243 304.574 529.807 304.778C530.371 304.982 530.857 305.27 531.265 305.642C531.673 306.002 531.991 306.44 532.219 306.956C532.447 307.472 532.561 308.042 532.561 308.666V312.95ZM530.887 308.864C530.887 308.36 530.809 307.928 530.653 307.568C530.497 307.208 530.287 306.914 530.023 306.686C529.759 306.446 529.447 306.272 529.087 306.164C528.739 306.056 528.367 306.002 527.971 306.002C527.575 306.002 527.197 306.056 526.837 306.164C526.489 306.272 526.183 306.446 525.919 306.686C525.667 306.914 525.463 307.208 525.307 307.568C525.151 307.928 525.073 308.36 525.073 308.864V312.752C525.073 313.256 525.151 313.688 525.307 314.048C525.463 314.408 525.673 314.702 525.937 314.93C526.201 315.158 526.507 315.326 526.855 315.434C527.215 315.542 527.587 315.596 527.971 315.596C528.367 315.596 528.739 315.542 529.087 315.434C529.435 315.326 529.741 315.158 530.005 314.93C530.281 314.702 530.497 314.408 530.653 314.048C530.809 313.688 530.887 313.256 530.887 312.752V308.864ZM540.342 317L540.162 316.064C539.454 316.484 538.884 316.76 538.452 316.892C538.032 317.024 537.66 317.09 537.336 317.09C536.904 317.09 536.502 317.03 536.13 316.91C535.77 316.778 535.458 316.586 535.194 316.334C534.93 316.07 534.72 315.74 534.564 315.344C534.42 314.936 534.348 314.456 534.348 313.904V311.168C534.348 310.664 534.426 310.214 534.582 309.818C534.75 309.422 534.972 309.092 535.248 308.828C535.536 308.552 535.872 308.342 536.256 308.198C536.64 308.054 537.048 307.982 537.48 307.982C537.804 307.982 538.182 308.018 538.614 308.09C539.058 308.162 539.574 308.294 540.162 308.486V304.112H541.692V317H540.342ZM540.162 309.998C539.682 309.83 539.232 309.698 538.812 309.602C538.392 309.494 537.996 309.44 537.624 309.44C537.144 309.428 536.736 309.572 536.4 309.872C536.064 310.16 535.896 310.652 535.896 311.348V313.814C535.896 314.498 536.04 314.972 536.328 315.236C536.616 315.488 537 315.614 537.48 315.614C537.648 315.614 537.846 315.59 538.074 315.542C538.302 315.482 538.536 315.404 538.776 315.308C539.016 315.212 539.256 315.104 539.496 314.984C539.736 314.852 539.958 314.714 540.162 314.57V309.998ZM549.36 317L549.18 316.064C548.472 316.484 547.902 316.76 547.47 316.892C547.05 317.024 546.678 317.09 546.354 317.09C545.922 317.09 545.52 317.03 545.148 316.91C544.788 316.778 544.476 316.586 544.212 316.334C543.948 316.07 543.738 315.74 543.582 315.344C543.438 314.936 543.366 314.456 543.366 313.904V311.168C543.366 310.664 543.444 310.214 543.6 309.818C543.768 309.422 543.99 309.092 544.266 308.828C544.554 308.552 544.89 308.342 545.274 308.198C545.658 308.054 546.066 307.982 546.498 307.982C546.822 307.982 547.2 308.018 547.632 308.09C548.076 308.162 548.592 308.294 549.18 308.486V304.112H550.71V317H549.36ZM549.18 309.998C548.7 309.83 548.25 309.698 547.83 309.602C547.41 309.494 547.014 309.44 546.642 309.44C546.162 309.428 545.754 309.572 545.418 309.872C545.082 310.16 544.914 310.652 544.914 311.348V313.814C544.914 314.498 545.058 314.972 545.346 315.236C545.634 315.488 546.018 315.614 546.498 315.614C546.666 315.614 546.864 315.59 547.092 315.542C547.32 315.482 547.554 315.404 547.794 315.308C548.034 315.212 548.274 315.104 548.514 314.984C548.754 314.852 548.976 314.714 549.18 314.57V309.998Z");
			attr(path8, "fill", "white");
			attr(path9, "d", "M616.092 317V306.506L614.4 307.892L613.572 306.758L616.182 304.598H617.64V317H616.092ZM628.908 313.814C628.908 314.33 628.806 314.792 628.602 315.2C628.398 315.608 628.122 315.95 627.774 316.226C627.438 316.502 627.036 316.718 626.568 316.874C626.112 317.018 625.632 317.09 625.128 317.09C624.336 317.09 623.67 316.97 623.13 316.73C622.59 316.478 622.122 316.178 621.726 315.83L622.626 314.57C622.998 314.906 623.382 315.164 623.778 315.344C624.186 315.512 624.618 315.596 625.074 315.596C625.302 315.596 625.542 315.56 625.794 315.488C626.058 315.416 626.298 315.296 626.514 315.128C626.742 314.96 626.928 314.744 627.072 314.48C627.228 314.204 627.306 313.868 627.306 313.472V311.384C626.718 311.732 626.184 311.984 625.704 312.14C625.236 312.296 624.822 312.374 624.462 312.374C623.538 312.374 622.812 312.098 622.284 311.546C621.756 310.994 621.492 310.208 621.492 309.188V307.802C621.492 307.286 621.594 306.824 621.798 306.416C622.002 305.996 622.272 305.642 622.608 305.354C622.956 305.066 623.352 304.85 623.796 304.706C624.252 304.55 624.726 304.472 625.218 304.472C625.698 304.472 626.16 304.544 626.604 304.688C627.048 304.832 627.438 305.042 627.774 305.318C628.122 305.594 628.398 305.936 628.602 306.344C628.806 306.74 628.908 307.196 628.908 307.712V313.814ZM623.058 309.044C623.058 309.68 623.214 310.142 623.526 310.43C623.838 310.706 624.222 310.844 624.678 310.844C625.098 310.844 625.518 310.754 625.938 310.574C626.37 310.382 626.826 310.136 627.306 309.836V308.054C627.306 307.67 627.24 307.346 627.108 307.082C626.988 306.818 626.826 306.602 626.622 306.434C626.418 306.266 626.19 306.146 625.938 306.074C625.698 305.99 625.458 305.948 625.218 305.948C624.978 305.948 624.732 305.99 624.48 306.074C624.228 306.146 623.994 306.266 623.778 306.434C623.574 306.602 623.4 306.824 623.256 307.1C623.124 307.364 623.058 307.682 623.058 308.054V309.044ZM640.595 316.784C640.247 316.904 639.881 316.982 639.497 317.018C639.125 317.066 638.849 317.09 638.669 317.09C637.721 317.09 637.037 316.874 636.617 316.442C636.197 316.01 635.987 315.29 635.987 314.282V309.458H634.727V308.072H636.023L636.383 306.002H637.517V308.072H640.001V309.458H637.517V313.814C637.517 314.174 637.547 314.474 637.607 314.714C637.679 314.942 637.769 315.128 637.877 315.272C637.997 315.404 638.141 315.494 638.309 315.542C638.477 315.59 638.669 315.614 638.885 315.614C639.089 315.614 639.311 315.602 639.551 315.578C639.803 315.542 640.067 315.506 640.343 315.47L640.595 316.784ZM648.97 313.85C648.97 314.366 648.868 314.828 648.664 315.236C648.472 315.632 648.202 315.968 647.854 316.244C647.518 316.52 647.128 316.73 646.684 316.874C646.24 317.018 645.766 317.09 645.262 317.09C644.746 317.09 644.266 317.018 643.822 316.874C643.378 316.73 642.988 316.52 642.652 316.244C642.328 315.968 642.07 315.632 641.878 315.236C641.686 314.828 641.59 314.366 641.59 313.85V311.258C641.59 310.742 641.686 310.286 641.878 309.89C642.082 309.482 642.346 309.14 642.67 308.864C643.006 308.576 643.396 308.36 643.84 308.216C644.296 308.06 644.776 307.982 645.28 307.982C645.82 307.982 646.312 308.06 646.756 308.216C647.212 308.36 647.602 308.576 647.926 308.864C648.262 309.14 648.52 309.482 648.7 309.89C648.88 310.286 648.97 310.742 648.97 311.258V313.85ZM647.44 311.528C647.44 311.144 647.374 310.82 647.242 310.556C647.11 310.28 646.936 310.058 646.72 309.89C646.516 309.722 646.288 309.602 646.036 309.53C645.784 309.458 645.538 309.422 645.298 309.422C645.046 309.422 644.794 309.458 644.542 309.53C644.29 309.602 644.056 309.722 643.84 309.89C643.636 310.058 643.468 310.28 643.336 310.556C643.204 310.82 643.138 311.144 643.138 311.528V313.544C643.138 313.928 643.192 314.258 643.3 314.534C643.42 314.798 643.576 315.014 643.768 315.182C643.96 315.35 644.188 315.47 644.452 315.542C644.716 315.614 644.998 315.65 645.298 315.65C645.538 315.65 645.784 315.614 646.036 315.542C646.288 315.47 646.516 315.35 646.72 315.182C646.936 315.014 647.11 314.798 647.242 314.534C647.374 314.258 647.44 313.928 647.44 313.544V311.528ZM658.206 304.49C658.65 304.49 659.088 304.544 659.52 304.652C659.964 304.76 660.36 304.94 660.708 305.192C661.068 305.432 661.356 305.756 661.572 306.164C661.788 306.572 661.896 307.07 661.896 307.658C661.896 308.27 661.746 308.834 661.446 309.35C661.158 309.854 660.726 310.214 660.15 310.43C660.438 310.55 660.69 310.718 660.906 310.934C661.134 311.138 661.32 311.372 661.464 311.636C661.62 311.9 661.734 312.182 661.806 312.482C661.89 312.782 661.932 313.076 661.932 313.364C661.932 313.988 661.818 314.534 661.59 315.002C661.374 315.47 661.08 315.866 660.708 316.19C660.348 316.502 659.922 316.736 659.43 316.892C658.95 317.048 658.44 317.126 657.9 317.126C657.144 317.126 656.454 317.006 655.83 316.766C655.218 316.514 654.72 316.22 654.336 315.884L655.164 314.66C655.512 314.972 655.926 315.218 656.406 315.398C656.898 315.578 657.366 315.668 657.81 315.668C658.578 315.668 659.19 315.482 659.646 315.11C660.114 314.726 660.348 314.192 660.348 313.508C660.348 312.824 660.162 312.272 659.79 311.852C659.418 311.432 658.932 311.222 658.332 311.222H656.928V309.836H658.368C658.596 309.836 658.824 309.794 659.052 309.71C659.292 309.626 659.502 309.5 659.682 309.332C659.874 309.152 660.024 308.93 660.132 308.666C660.252 308.402 660.312 308.09 660.312 307.73C660.312 307.406 660.246 307.13 660.114 306.902C659.982 306.674 659.802 306.488 659.574 306.344C659.358 306.2 659.112 306.098 658.836 306.038C658.56 305.978 658.278 305.948 657.99 305.948C657.546 305.948 657.09 306.044 656.622 306.236C656.166 306.428 655.776 306.662 655.452 306.938L654.606 305.75C654.99 305.414 655.494 305.12 656.118 304.868C656.754 304.616 657.45 304.49 658.206 304.49ZM663.93 307.766C663.93 307.25 664.032 306.788 664.236 306.38C664.44 305.972 664.71 305.63 665.046 305.354C665.394 305.066 665.796 304.85 666.252 304.706C666.72 304.55 667.206 304.472 667.71 304.472C668.49 304.472 669.15 304.598 669.69 304.85C670.242 305.09 670.716 305.384 671.112 305.732L670.212 306.992C669.84 306.656 669.45 306.404 669.042 306.236C668.646 306.056 668.214 305.966 667.746 305.966C667.518 305.966 667.272 306.002 667.008 306.074C666.756 306.146 666.516 306.266 666.288 306.434C666.072 306.602 665.886 306.824 665.73 307.1C665.586 307.364 665.514 307.694 665.514 308.09V310.124C666.09 309.752 666.618 309.494 667.098 309.35C667.59 309.194 668.016 309.116 668.376 309.116C668.832 309.116 669.24 309.194 669.6 309.35C669.972 309.506 670.284 309.728 670.536 310.016C670.8 310.292 670.998 310.628 671.13 311.024C671.274 311.408 671.346 311.834 671.346 312.302V313.778C671.346 314.294 671.244 314.756 671.04 315.164C670.836 315.572 670.56 315.92 670.212 316.208C669.876 316.496 669.48 316.718 669.024 316.874C668.58 317.018 668.112 317.09 667.62 317.09C667.092 317.09 666.606 317.018 666.162 316.874C665.718 316.73 665.328 316.52 664.992 316.244C664.656 315.968 664.392 315.632 664.2 315.236C664.02 314.828 663.93 314.366 663.93 313.85V307.766ZM669.762 312.446C669.762 311.822 669.606 311.366 669.294 311.078C668.994 310.79 668.616 310.646 668.16 310.646C667.74 310.646 667.314 310.736 666.882 310.916C666.462 311.096 666.006 311.348 665.514 311.672V313.508C665.514 313.892 665.58 314.222 665.712 314.498C665.844 314.762 666.012 314.978 666.216 315.146C666.42 315.314 666.642 315.44 666.882 315.524C667.134 315.596 667.38 315.632 667.62 315.632C667.848 315.632 668.088 315.596 668.34 315.524C668.604 315.44 668.838 315.314 669.042 315.146C669.246 314.966 669.414 314.744 669.546 314.48C669.69 314.216 669.762 313.892 669.762 313.508V312.446Z");
			attr(path9, "fill", "white");
			attr(path10, "opacity", "0.1");
			attr(path10, "d", "M324.5 329L296 310.5L324.5 292.5L352.5 310.5L324.5 329Z");
			attr(path10, "fill", "white");
			attr(path11, "d", "M324.15 322L307 310.849L324.15 300L341 310.849L324.15 322Z");
			attr(path11, "fill", "#DA4453");
			attr(path12, "opacity", "0.1");
			attr(path12, "d", "M430.5 329L402 310.5L430.5 292.5L458.5 310.5L430.5 329Z");
			attr(path12, "fill", "white");
			attr(path13, "d", "M430.15 322L413 310.849L430.15 300L447 310.849L430.15 322Z");
			attr(path13, "fill", "#0D0D0D");
			attr(rect0, "x", "69");
			attr(rect0, "y", "159");
			attr(rect0, "width", "36");
			attr(rect0, "height", "56");
			attr(rect0, "fill", "#DA4453");
			attr(path14, "d", "M95 187.36H81.008L82.856 189.616L81.344 190.72L78.464 187.24V185.296H95V187.36Z");
			attr(path14, "fill", "white");
			attr(rect1, "x", "122");
			attr(rect1, "y", "159");
			attr(rect1, "width", "36");
			attr(rect1, "height", "56");
			attr(rect1, "fill", "#0D0D0D");
			attr(path15, "d", "M145.456 183.064H148V185.176H145.456V192.376H143.68C141.664 191.464 139.632 190.552 137.584 189.64C135.536 188.712 133.496 187.792 131.464 186.88V184.672L143.584 190.048V185.176H138.64V183.064H143.584V181.648H145.456V183.064Z");
			attr(path15, "fill", "white");
			attr(rect2, "x", "175");
			attr(rect2, "y", "159");
			attr(rect2, "width", "36");
			attr(rect2, "height", "56");
			attr(rect2, "fill", "#DA4453");
			attr(path16, "d", "M201 188.128V190.384L186.384 184.432V189.928H188.856V191.92H184.464V182.08H186.312L201 188.128Z");
			attr(path16, "fill", "white");
			attr(rect3, "x", "228");
			attr(rect3, "y", "159");
			attr(rect3, "width", "36");
			attr(rect3, "height", "56");
			attr(rect3, "fill", "#0D0D0D");
			attr(path17, "d", "M254 193.36H240.008L241.856 195.616L240.344 196.72L237.464 193.24V191.296H254V193.36ZM249.872 175.96C250.544 175.96 251.144 176.112 251.672 176.416C252.2 176.704 252.648 177.088 253.016 177.568C253.368 178.048 253.64 178.592 253.832 179.2C254.024 179.792 254.12 180.392 254.12 181C254.12 181.624 254.024 182.24 253.832 182.848C253.64 183.44 253.368 183.976 253.016 184.456C252.648 184.92 252.2 185.304 251.672 185.608C251.144 185.896 250.544 186.04 249.872 186.04H241.616C240.944 186.04 240.344 185.896 239.816 185.608C239.272 185.304 238.816 184.912 238.448 184.432C238.064 183.952 237.776 183.416 237.584 182.824C237.392 182.216 237.296 181.608 237.296 181C237.296 180.392 237.392 179.792 237.584 179.2C237.776 178.592 238.064 178.048 238.448 177.568C238.816 177.088 239.272 176.704 239.816 176.416C240.344 176.112 240.944 175.96 241.616 175.96H249.872ZM242.144 178.048C241.616 178.048 241.168 178.144 240.8 178.336C240.432 178.528 240.136 178.768 239.912 179.056C239.672 179.344 239.504 179.664 239.408 180.016C239.312 180.352 239.264 180.68 239.264 181C239.264 181.32 239.312 181.656 239.408 182.008C239.504 182.344 239.672 182.656 239.912 182.944C240.136 183.232 240.432 183.472 240.8 183.664C241.168 183.84 241.616 183.928 242.144 183.928H249.344C249.872 183.928 250.32 183.84 250.688 183.664C251.04 183.472 251.336 183.232 251.576 182.944C251.8 182.656 251.96 182.344 252.056 182.008C252.152 181.656 252.2 181.32 252.2 181C252.2 180.68 252.152 180.352 252.056 180.016C251.96 179.664 251.8 179.344 251.576 179.056C251.336 178.768 251.04 178.528 250.688 178.336C250.32 178.144 249.872 178.048 249.344 178.048H242.144Z");
			attr(path17, "fill", "white");
			attr(rect4, "x", "281");
			attr(rect4, "y", "159");
			attr(rect4, "width", "36");
			attr(rect4, "height", "56");
			attr(rect4, "fill", "#0D0D0D");
			attr(path18, "d", "M307 193.36H293.008L294.856 195.616L293.344 196.72L290.464 193.24V191.296H307V193.36ZM290.32 181.576C290.32 180.984 290.392 180.4 290.536 179.824C290.68 179.232 290.92 178.704 291.256 178.24C291.576 177.76 292.008 177.376 292.552 177.088C293.096 176.8 293.76 176.656 294.544 176.656C295.36 176.656 296.112 176.856 296.8 177.256C297.472 177.64 297.952 178.216 298.24 178.984C298.4 178.6 298.624 178.264 298.912 177.976C299.184 177.672 299.496 177.424 299.848 177.232C300.2 177.024 300.576 176.872 300.976 176.776C301.376 176.664 301.768 176.608 302.152 176.608C302.984 176.608 303.712 176.76 304.336 177.064C304.96 177.352 305.488 177.744 305.92 178.24C306.336 178.72 306.648 179.288 306.856 179.944C307.064 180.584 307.168 181.264 307.168 181.984C307.168 182.992 307.008 183.912 306.688 184.744C306.352 185.56 305.96 186.224 305.512 186.736L303.88 185.632C304.296 185.168 304.624 184.616 304.864 183.976C305.104 183.32 305.224 182.696 305.224 182.104C305.224 181.08 304.976 180.264 304.48 179.656C303.968 179.032 303.256 178.72 302.344 178.72C301.432 178.72 300.696 178.968 300.136 179.464C299.576 179.96 299.296 180.608 299.296 181.408V183.28H297.448V181.36C297.448 181.056 297.392 180.752 297.28 180.448C297.168 180.128 297 179.848 296.776 179.608C296.536 179.352 296.24 179.152 295.888 179.008C295.536 178.848 295.12 178.768 294.64 178.768C294.208 178.768 293.84 178.856 293.536 179.032C293.232 179.208 292.984 179.448 292.792 179.752C292.6 180.04 292.464 180.368 292.384 180.736C292.304 181.104 292.264 181.48 292.264 181.864C292.264 182.456 292.392 183.064 292.648 183.688C292.904 184.296 293.216 184.816 293.584 185.248L292 186.376C291.552 185.864 291.16 185.192 290.824 184.36C290.488 183.512 290.32 182.584 290.32 181.576Z");
			attr(path18, "fill", "white");
			attr(rect5, "x", "334");
			attr(rect5, "y", "159");
			attr(rect5, "width", "36");
			attr(rect5, "height", "56");
			attr(rect5, "fill", "#DA4453");
			attr(path19, "d", "M360 193.36H346.008L347.856 195.616L346.344 196.72L343.464 193.24V191.296H360V193.36ZM347.688 185.944C347 185.944 346.384 185.808 345.84 185.536C345.296 185.264 344.84 184.904 344.472 184.456C344.088 183.992 343.8 183.456 343.608 182.848C343.4 182.224 343.296 181.576 343.296 180.904C343.296 179.864 343.464 178.984 343.8 178.264C344.12 177.528 344.512 176.896 344.976 176.368L346.656 177.568C346.208 178.064 345.872 178.584 345.648 179.128C345.408 179.656 345.288 180.232 345.288 180.856C345.288 181.16 345.336 181.488 345.432 181.84C345.528 182.176 345.688 182.496 345.912 182.8C346.136 183.088 346.432 183.336 346.8 183.544C347.152 183.736 347.592 183.832 348.12 183.832H350.832C350.336 183.064 349.992 182.36 349.8 181.72C349.592 181.064 349.488 180.496 349.488 180.016C349.488 179.408 349.592 178.864 349.8 178.384C350.008 177.888 350.304 177.472 350.688 177.136C351.056 176.784 351.504 176.52 352.032 176.344C352.544 176.152 353.112 176.056 353.736 176.056H355.704C356.392 176.056 357.008 176.192 357.552 176.464C358.096 176.736 358.56 177.104 358.944 177.568C359.328 178.016 359.624 178.544 359.832 179.152C360.024 179.744 360.12 180.368 360.12 181.024C360.12 181.728 360.024 182.376 359.832 182.968C359.64 183.56 359.36 184.08 358.992 184.528C358.624 184.976 358.176 185.328 357.648 185.584C357.104 185.824 356.488 185.944 355.8 185.944H347.688ZM353.928 178.168C353.096 178.168 352.488 178.376 352.104 178.792C351.72 179.192 351.528 179.696 351.528 180.304C351.528 180.864 351.648 181.432 351.888 182.008C352.128 182.568 352.464 183.176 352.896 183.832H355.344C355.856 183.832 356.296 183.744 356.664 183.568C357.016 183.392 357.304 183.168 357.528 182.896C357.752 182.624 357.92 182.328 358.032 182.008C358.128 181.672 358.176 181.344 358.176 181.024C358.176 180.72 358.128 180.4 358.032 180.064C357.92 179.712 357.752 179.4 357.528 179.128C357.288 178.856 356.992 178.632 356.64 178.456C356.288 178.264 355.856 178.168 355.344 178.168H353.928Z");
			attr(path19, "fill", "white");
			attr(rect6, "x", "387");
			attr(rect6, "y", "159");
			attr(rect6, "width", "36");
			attr(rect6, "height", "56");
			attr(rect6, "fill", "#DA4453");
			attr(path20, "d", "M413 193.36H399.008L400.856 195.616L399.344 196.72L396.464 193.24V191.296H413V193.36ZM408.752 176.272C409.44 176.272 410.056 176.408 410.6 176.68C411.144 176.952 411.6 177.32 411.968 177.784C412.336 178.232 412.624 178.768 412.832 179.392C413.024 180 413.12 180.64 413.12 181.312C413.12 182.368 412.96 183.256 412.64 183.976C412.304 184.696 411.904 185.32 411.44 185.848L409.76 184.648C410.208 184.152 410.552 183.64 410.792 183.112C411.016 182.568 411.128 181.992 411.128 181.384C411.128 181.08 411.08 180.76 410.984 180.424C410.888 180.072 410.728 179.752 410.504 179.464C410.28 179.16 409.992 178.912 409.64 178.72C409.272 178.512 408.824 178.408 408.296 178.408H405.512C405.976 179.192 406.312 179.904 406.52 180.544C406.728 181.168 406.832 181.72 406.832 182.2C406.832 183.432 406.464 184.4 405.728 185.104C404.992 185.808 403.944 186.16 402.584 186.16H400.736C400.048 186.16 399.432 186.024 398.888 185.752C398.328 185.48 397.856 185.12 397.472 184.672C397.088 184.208 396.8 183.68 396.608 183.088C396.4 182.48 396.296 181.848 396.296 181.192C396.296 180.552 396.392 179.936 396.584 179.344C396.776 178.752 397.056 178.232 397.424 177.784C397.792 177.32 398.248 176.952 398.792 176.68C399.32 176.408 399.928 176.272 400.616 176.272H408.752ZM402.392 184.072C403.24 184.072 403.856 183.864 404.24 183.448C404.608 183.032 404.792 182.52 404.792 181.912C404.792 181.352 404.672 180.792 404.432 180.232C404.176 179.656 403.848 179.048 403.448 178.408H401.072C400.56 178.408 400.128 178.496 399.776 178.672C399.424 178.832 399.136 179.048 398.912 179.32C398.688 179.592 398.528 179.896 398.432 180.232C398.32 180.552 398.264 180.872 398.264 181.192C398.264 181.512 398.32 181.84 398.432 182.176C398.528 182.512 398.688 182.824 398.912 183.112C399.136 183.384 399.432 183.616 399.8 183.808C400.152 183.984 400.576 184.072 401.072 184.072H402.392Z");
			attr(path20, "fill", "white");
			attr(rect7, "x", "440");
			attr(rect7, "y", "159");
			attr(rect7, "width", "36");
			attr(rect7, "height", "56");
			attr(rect7, "fill", "#0D0D0D");
			attr(path21, "d", "M453.64 188.008C454.248 188.008 454.832 188.16 455.392 188.464C455.952 188.752 456.48 189.12 456.976 189.568C457.456 190 457.896 190.472 458.296 190.984C458.696 191.48 459.04 191.944 459.328 192.376C459.536 192.68 459.784 193.032 460.072 193.432C460.36 193.816 460.68 194.192 461.032 194.56C461.384 194.912 461.768 195.216 462.184 195.472C462.6 195.712 463.048 195.832 463.528 195.832H464.152V188.056H466V197.992H464.056C463.384 197.992 462.76 197.88 462.184 197.656C461.608 197.432 461.072 197.128 460.576 196.744C460.08 196.36 459.624 195.92 459.208 195.424C458.776 194.928 458.376 194.408 458.008 193.864C457.72 193.4 457.408 192.952 457.072 192.52C456.736 192.072 456.392 191.672 456.04 191.32C455.672 190.968 455.296 190.688 454.912 190.48C454.528 190.272 454.136 190.168 453.736 190.168C453.304 190.168 452.936 190.264 452.632 190.456C452.312 190.632 452.056 190.872 451.864 191.176C451.656 191.48 451.504 191.824 451.408 192.208C451.312 192.576 451.264 192.952 451.264 193.336C451.264 194.008 451.384 194.632 451.624 195.208C451.848 195.784 452.144 196.288 452.512 196.72L450.952 197.8C450.488 197.256 450.096 196.608 449.776 195.856C449.456 195.104 449.296 194.264 449.296 193.336C449.296 192.664 449.376 192.008 449.536 191.368C449.696 190.728 449.952 190.16 450.304 189.664C450.64 189.168 451.088 188.768 451.648 188.464C452.192 188.16 452.856 188.008 453.64 188.008ZM453.64 176.008C454.248 176.008 454.832 176.16 455.392 176.464C455.952 176.752 456.48 177.12 456.976 177.568C457.456 178 457.896 178.472 458.296 178.984C458.696 179.48 459.04 179.944 459.328 180.376C459.536 180.68 459.784 181.032 460.072 181.432C460.36 181.816 460.68 182.192 461.032 182.56C461.384 182.912 461.768 183.216 462.184 183.472C462.6 183.712 463.048 183.832 463.528 183.832H464.152V176.056H466V185.992H464.056C463.384 185.992 462.76 185.88 462.184 185.656C461.608 185.432 461.072 185.128 460.576 184.744C460.08 184.36 459.624 183.92 459.208 183.424C458.776 182.928 458.376 182.408 458.008 181.864C457.72 181.4 457.408 180.952 457.072 180.52C456.736 180.072 456.392 179.672 456.04 179.32C455.672 178.968 455.296 178.688 454.912 178.48C454.528 178.272 454.136 178.168 453.736 178.168C453.304 178.168 452.936 178.264 452.632 178.456C452.312 178.632 452.056 178.872 451.864 179.176C451.656 179.48 451.504 179.824 451.408 180.208C451.312 180.576 451.264 180.952 451.264 181.336C451.264 182.008 451.384 182.632 451.624 183.208C451.848 183.784 452.144 184.288 452.512 184.72L450.952 185.8C450.488 185.256 450.096 184.608 449.776 183.856C449.456 183.104 449.296 182.264 449.296 181.336C449.296 180.664 449.376 180.008 449.536 179.368C449.696 178.728 449.952 178.16 450.304 177.664C450.64 177.168 451.088 176.768 451.648 176.464C452.192 176.16 452.856 176.008 453.64 176.008Z");
			attr(path21, "fill", "white");
			attr(rect8, "x", "493");
			attr(rect8, "y", "159");
			attr(rect8, "width", "36");
			attr(rect8, "height", "56");
			attr(rect8, "fill", "#DA4453");
			attr(path22, "d", "M506.64 188.008C507.248 188.008 507.832 188.16 508.392 188.464C508.952 188.752 509.48 189.12 509.976 189.568C510.456 190 510.896 190.472 511.296 190.984C511.696 191.48 512.04 191.944 512.328 192.376C512.536 192.68 512.784 193.032 513.072 193.432C513.36 193.816 513.68 194.192 514.032 194.56C514.384 194.912 514.768 195.216 515.184 195.472C515.6 195.712 516.048 195.832 516.528 195.832H517.152V188.056H519V197.992H517.056C516.384 197.992 515.76 197.88 515.184 197.656C514.608 197.432 514.072 197.128 513.576 196.744C513.08 196.36 512.624 195.92 512.208 195.424C511.776 194.928 511.376 194.408 511.008 193.864C510.72 193.4 510.408 192.952 510.072 192.52C509.736 192.072 509.392 191.672 509.04 191.32C508.672 190.968 508.296 190.688 507.912 190.48C507.528 190.272 507.136 190.168 506.736 190.168C506.304 190.168 505.936 190.264 505.632 190.456C505.312 190.632 505.056 190.872 504.864 191.176C504.656 191.48 504.504 191.824 504.408 192.208C504.312 192.576 504.264 192.952 504.264 193.336C504.264 194.008 504.384 194.632 504.624 195.208C504.848 195.784 505.144 196.288 505.512 196.72L503.952 197.8C503.488 197.256 503.096 196.608 502.776 195.856C502.456 195.104 502.296 194.264 502.296 193.336C502.296 192.664 502.376 192.008 502.536 191.368C502.696 190.728 502.952 190.16 503.304 189.664C503.64 189.168 504.088 188.768 504.648 188.464C505.192 188.16 505.856 188.008 506.64 188.008ZM514.752 176.128C515.424 176.128 516.032 176.272 516.576 176.56C517.104 176.832 517.56 177.208 517.944 177.688C518.328 178.152 518.624 178.696 518.832 179.32C519.024 179.944 519.12 180.6 519.12 181.288C519.12 182.328 518.96 183.224 518.64 183.976C518.304 184.712 517.904 185.344 517.44 185.872L515.784 184.672C516.712 183.664 517.176 182.552 517.176 181.336C517.176 181.112 517.144 180.824 517.08 180.472C517 180.12 516.864 179.776 516.672 179.44C516.464 179.104 516.184 178.816 515.832 178.576C515.48 178.336 515.024 178.216 514.464 178.216H512.328C511.528 178.216 510.936 178.416 510.552 178.816C510.168 179.216 509.976 179.736 509.976 180.376C509.976 180.632 510.024 180.92 510.12 181.24C510.216 181.56 510.336 181.88 510.48 182.2C510.608 182.52 510.76 182.824 510.936 183.112C511.096 183.384 511.248 183.608 511.392 183.784L510.624 185.728H502.464V176.608H504.408V183.592H509.112C508.696 182.984 508.384 182.376 508.176 181.768C507.968 181.16 507.864 180.624 507.864 180.16C507.864 179.536 507.968 178.976 508.176 178.48C508.368 177.984 508.656 177.568 509.04 177.232C509.408 176.88 509.856 176.608 510.384 176.416C510.896 176.224 511.464 176.128 512.088 176.128H514.752Z");
			attr(path22, "fill", "white");
			attr(rect9, "x", "546");
			attr(rect9, "y", "159");
			attr(rect9, "width", "36");
			attr(rect9, "height", "56");
			attr(rect9, "fill", "#0D0D0D");
			attr(path23, "d", "M559.64 188.008C560.248 188.008 560.832 188.16 561.392 188.464C561.952 188.752 562.48 189.12 562.976 189.568C563.456 190 563.896 190.472 564.296 190.984C564.696 191.48 565.04 191.944 565.328 192.376C565.536 192.68 565.784 193.032 566.072 193.432C566.36 193.816 566.68 194.192 567.032 194.56C567.384 194.912 567.768 195.216 568.184 195.472C568.6 195.712 569.048 195.832 569.528 195.832H570.152V188.056H572V197.992H570.056C569.384 197.992 568.76 197.88 568.184 197.656C567.608 197.432 567.072 197.128 566.576 196.744C566.08 196.36 565.624 195.92 565.208 195.424C564.776 194.928 564.376 194.408 564.008 193.864C563.72 193.4 563.408 192.952 563.072 192.52C562.736 192.072 562.392 191.672 562.04 191.32C561.672 190.968 561.296 190.688 560.912 190.48C560.528 190.272 560.136 190.168 559.736 190.168C559.304 190.168 558.936 190.264 558.632 190.456C558.312 190.632 558.056 190.872 557.864 191.176C557.656 191.48 557.504 191.824 557.408 192.208C557.312 192.576 557.264 192.952 557.264 193.336C557.264 194.008 557.384 194.632 557.624 195.208C557.848 195.784 558.144 196.288 558.512 196.72L556.952 197.8C556.488 197.256 556.096 196.608 555.776 195.856C555.456 195.104 555.296 194.264 555.296 193.336C555.296 192.664 555.376 192.008 555.536 191.368C555.696 190.728 555.952 190.16 556.304 189.664C556.64 189.168 557.088 188.768 557.648 188.464C558.192 188.16 558.856 188.008 559.64 188.008ZM555.32 181.024C555.32 180.416 555.416 179.824 555.608 179.248C555.8 178.656 556.096 178.128 556.496 177.664C556.896 177.2 557.392 176.832 557.984 176.56C558.56 176.272 559.24 176.128 560.024 176.128C560.792 176.128 561.504 176.296 562.16 176.632C562.8 176.968 563.272 177.464 563.576 178.12C563.752 177.704 563.976 177.352 564.248 177.064C564.52 176.76 564.824 176.52 565.16 176.344C565.496 176.152 565.856 176.016 566.24 175.936C566.608 175.84 566.968 175.792 567.32 175.792C568.152 175.792 568.872 175.944 569.48 176.248C570.088 176.552 570.592 176.952 570.992 177.448C571.376 177.944 571.664 178.512 571.856 179.152C572.048 179.776 572.144 180.408 572.144 181.048C572.144 181.752 572.048 182.424 571.856 183.064C571.664 183.688 571.376 184.24 570.992 184.72C570.608 185.184 570.128 185.56 569.552 185.848C568.96 186.12 568.264 186.256 567.464 186.256C567.048 186.256 566.64 186.192 566.24 186.064C565.84 185.936 565.472 185.768 565.136 185.56C564.784 185.336 564.472 185.08 564.2 184.792C563.928 184.488 563.72 184.168 563.576 183.832C563.32 184.504 562.864 185.016 562.208 185.368C561.552 185.72 560.816 185.896 560 185.896C559.232 185.896 558.56 185.76 557.984 185.488C557.392 185.2 556.904 184.824 556.52 184.36C556.12 183.896 555.824 183.376 555.632 182.8C555.424 182.224 555.32 181.632 555.32 181.024ZM557.312 181C557.312 181.352 557.368 181.704 557.48 182.056C557.592 182.392 557.76 182.696 557.984 182.968C558.208 183.224 558.488 183.432 558.824 183.592C559.16 183.752 559.552 183.832 560 183.832C560.416 183.832 560.792 183.752 561.128 183.592C561.464 183.432 561.752 183.224 561.992 182.968C562.216 182.696 562.392 182.392 562.52 182.056C562.648 181.72 562.712 181.368 562.712 181C562.712 180.648 562.648 180.304 562.52 179.968C562.392 179.616 562.208 179.312 561.968 179.056C561.728 178.8 561.44 178.592 561.104 178.432C560.768 178.272 560.392 178.192 559.976 178.192C559.544 178.192 559.16 178.272 558.824 178.432C558.488 178.576 558.208 178.776 557.984 179.032C557.76 179.288 557.592 179.592 557.48 179.944C557.368 180.28 557.312 180.632 557.312 181ZM564.632 181C564.632 181.416 564.696 181.808 564.824 182.176C564.952 182.544 565.136 182.864 565.376 183.136C565.616 183.408 565.912 183.632 566.264 183.808C566.6 183.968 566.984 184.048 567.416 184.048C568.296 184.048 568.976 183.784 569.456 183.256C569.936 182.712 570.176 181.96 570.176 181C570.176 180.072 569.936 179.336 569.456 178.792C568.976 178.248 568.28 177.976 567.368 177.976C566.952 177.976 566.576 178.056 566.24 178.216C565.904 178.376 565.616 178.592 565.376 178.864C565.136 179.136 564.952 179.456 564.824 179.824C564.696 180.192 564.632 180.584 564.632 181Z");
			attr(path23, "fill", "white");
			attr(rect10, "x", "599");
			attr(rect10, "y", "159");
			attr(rect10, "width", "36");
			attr(rect10, "height", "56");
			attr(rect10, "fill", "#0D0D0D");
			attr(path24, "d", "M608.32 193.576C608.32 192.984 608.392 192.4 608.536 191.824C608.68 191.232 608.92 190.704 609.256 190.24C609.576 189.76 610.008 189.376 610.552 189.088C611.096 188.8 611.76 188.656 612.544 188.656C613.36 188.656 614.112 188.856 614.8 189.256C615.472 189.64 615.952 190.216 616.24 190.984C616.4 190.6 616.624 190.264 616.912 189.976C617.184 189.672 617.496 189.424 617.848 189.232C618.2 189.024 618.576 188.872 618.976 188.776C619.376 188.664 619.768 188.608 620.152 188.608C620.984 188.608 621.712 188.76 622.336 189.064C622.96 189.352 623.488 189.744 623.92 190.24C624.336 190.72 624.648 191.288 624.856 191.944C625.064 192.584 625.168 193.264 625.168 193.984C625.168 194.992 625.008 195.912 624.688 196.744C624.352 197.56 623.96 198.224 623.512 198.736L621.88 197.632C622.296 197.168 622.624 196.616 622.864 195.976C623.104 195.32 623.224 194.696 623.224 194.104C623.224 193.08 622.976 192.264 622.48 191.656C621.968 191.032 621.256 190.72 620.344 190.72C619.432 190.72 618.696 190.968 618.136 191.464C617.576 191.96 617.296 192.608 617.296 193.408V195.28H615.448V193.36C615.448 193.056 615.392 192.752 615.28 192.448C615.168 192.128 615 191.848 614.776 191.608C614.536 191.352 614.24 191.152 613.888 191.008C613.536 190.848 613.12 190.768 612.64 190.768C612.208 190.768 611.84 190.856 611.536 191.032C611.232 191.208 610.984 191.448 610.792 191.752C610.6 192.04 610.464 192.368 610.384 192.736C610.304 193.104 610.264 193.48 610.264 193.864C610.264 194.456 610.392 195.064 610.648 195.688C610.904 196.296 611.216 196.816 611.584 197.248L610 198.376C609.552 197.864 609.16 197.192 608.824 196.36C608.488 195.512 608.32 194.584 608.32 193.576ZM625 181.36H611.008L612.856 183.616L611.344 184.72L608.464 181.24V179.296H625V181.36Z");
			attr(path24, "fill", "white");
			attr(rect11, "x", "652");
			attr(rect11, "y", "159");
			attr(rect11, "width", "36");
			attr(rect11, "height", "56");
			attr(rect11, "fill", "#DA4453");
			attr(path25, "d", "M661.32 193.576C661.32 192.984 661.392 192.4 661.536 191.824C661.68 191.232 661.92 190.704 662.256 190.24C662.576 189.76 663.008 189.376 663.552 189.088C664.096 188.8 664.76 188.656 665.544 188.656C666.36 188.656 667.112 188.856 667.8 189.256C668.472 189.64 668.952 190.216 669.24 190.984C669.4 190.6 669.624 190.264 669.912 189.976C670.184 189.672 670.496 189.424 670.848 189.232C671.2 189.024 671.576 188.872 671.976 188.776C672.376 188.664 672.768 188.608 673.152 188.608C673.984 188.608 674.712 188.76 675.336 189.064C675.96 189.352 676.488 189.744 676.92 190.24C677.336 190.72 677.648 191.288 677.856 191.944C678.064 192.584 678.168 193.264 678.168 193.984C678.168 194.992 678.008 195.912 677.688 196.744C677.352 197.56 676.96 198.224 676.512 198.736L674.88 197.632C675.296 197.168 675.624 196.616 675.864 195.976C676.104 195.32 676.224 194.696 676.224 194.104C676.224 193.08 675.976 192.264 675.48 191.656C674.968 191.032 674.256 190.72 673.344 190.72C672.432 190.72 671.696 190.968 671.136 191.464C670.576 191.96 670.296 192.608 670.296 193.408V195.28H668.448V193.36C668.448 193.056 668.392 192.752 668.28 192.448C668.168 192.128 668 191.848 667.776 191.608C667.536 191.352 667.24 191.152 666.888 191.008C666.536 190.848 666.12 190.768 665.64 190.768C665.208 190.768 664.84 190.856 664.536 191.032C664.232 191.208 663.984 191.448 663.792 191.752C663.6 192.04 663.464 192.368 663.384 192.736C663.304 193.104 663.264 193.48 663.264 193.864C663.264 194.456 663.392 195.064 663.648 195.688C663.904 196.296 664.216 196.816 664.584 197.248L663 198.376C662.552 197.864 662.16 197.192 661.824 196.36C661.488 195.512 661.32 194.584 661.32 193.576ZM675.456 177.064H678V179.176H675.456V186.376H673.68C671.664 185.464 669.632 184.552 667.584 183.64C665.536 182.712 663.496 181.792 661.464 180.88V178.672L673.584 184.048V179.176H668.64V177.064H673.584V175.648H675.456V177.064Z");
			attr(path25, "fill", "white");
			attr(rect12, "x", "69");
			attr(rect12, "y", "85");
			attr(rect12, "width", "36");
			attr(rect12, "height", "56");
			attr(rect12, "fill", "#0D0D0D");
			attr(path26, "d", "M82.64 108.008C83.248 108.008 83.832 108.16 84.392 108.464C84.952 108.752 85.48 109.12 85.976 109.568C86.456 110 86.896 110.472 87.296 110.984C87.696 111.48 88.04 111.944 88.328 112.376C88.536 112.68 88.784 113.032 89.072 113.432C89.36 113.816 89.68 114.192 90.032 114.56C90.384 114.912 90.768 115.216 91.184 115.472C91.6 115.712 92.048 115.832 92.528 115.832H93.152V108.056H95V117.992H93.056C92.384 117.992 91.76 117.88 91.184 117.656C90.608 117.432 90.072 117.128 89.576 116.744C89.08 116.36 88.624 115.92 88.208 115.424C87.776 114.928 87.376 114.408 87.008 113.864C86.72 113.4 86.408 112.952 86.072 112.52C85.736 112.072 85.392 111.672 85.04 111.32C84.672 110.968 84.296 110.688 83.912 110.48C83.528 110.272 83.136 110.168 82.736 110.168C82.304 110.168 81.936 110.264 81.632 110.456C81.312 110.632 81.056 110.872 80.864 111.176C80.656 111.48 80.504 111.824 80.408 112.208C80.312 112.576 80.264 112.952 80.264 113.336C80.264 114.008 80.384 114.632 80.624 115.208C80.848 115.784 81.144 116.288 81.512 116.72L79.952 117.8C79.488 117.256 79.096 116.608 78.776 115.856C78.456 115.104 78.296 114.264 78.296 113.336C78.296 112.664 78.376 112.008 78.536 111.368C78.696 110.728 78.952 110.16 79.304 109.664C79.64 109.168 80.088 108.768 80.648 108.464C81.192 108.16 81.856 108.008 82.64 108.008Z");
			attr(path26, "fill", "white");
			attr(rect13, "x", "122");
			attr(rect13, "y", "85");
			attr(rect13, "width", "36");
			attr(rect13, "height", "56");
			attr(rect13, "fill", "#DA4453");
			attr(path27, "d", "M143.752 108.128C144.424 108.128 145.032 108.272 145.576 108.56C146.104 108.832 146.56 109.208 146.944 109.688C147.328 110.152 147.624 110.696 147.832 111.32C148.024 111.944 148.12 112.6 148.12 113.288C148.12 114.328 147.96 115.224 147.64 115.976C147.304 116.712 146.904 117.344 146.44 117.872L144.784 116.672C145.712 115.664 146.176 114.552 146.176 113.336C146.176 113.112 146.144 112.824 146.08 112.472C146 112.12 145.864 111.776 145.672 111.44C145.464 111.104 145.184 110.816 144.832 110.576C144.48 110.336 144.024 110.216 143.464 110.216H141.328C140.528 110.216 139.936 110.416 139.552 110.816C139.168 111.216 138.976 111.736 138.976 112.376C138.976 112.632 139.024 112.92 139.12 113.24C139.216 113.56 139.336 113.88 139.48 114.2C139.608 114.52 139.76 114.824 139.936 115.112C140.096 115.384 140.248 115.608 140.392 115.784L139.624 117.728H131.464V108.608H133.408V115.592H138.112C137.696 114.984 137.384 114.376 137.176 113.768C136.968 113.16 136.864 112.624 136.864 112.16C136.864 111.536 136.968 110.976 137.176 110.48C137.368 109.984 137.656 109.568 138.04 109.232C138.408 108.88 138.856 108.608 139.384 108.416C139.896 108.224 140.464 108.128 141.088 108.128H143.752Z");
			attr(path27, "fill", "white");
			attr(rect14, "x", "175");
			attr(rect14, "y", "85");
			attr(rect14, "width", "36");
			attr(rect14, "height", "56");
			attr(rect14, "fill", "#0D0D0D");
			attr(path28, "d", "M184.32 113.024C184.32 112.416 184.416 111.824 184.608 111.248C184.8 110.656 185.096 110.128 185.496 109.664C185.896 109.2 186.392 108.832 186.984 108.56C187.56 108.272 188.24 108.128 189.024 108.128C189.792 108.128 190.504 108.296 191.16 108.632C191.8 108.968 192.272 109.464 192.576 110.12C192.752 109.704 192.976 109.352 193.248 109.064C193.52 108.76 193.824 108.52 194.16 108.344C194.496 108.152 194.856 108.016 195.24 107.936C195.608 107.84 195.968 107.792 196.32 107.792C197.152 107.792 197.872 107.944 198.48 108.248C199.088 108.552 199.592 108.952 199.992 109.448C200.376 109.944 200.664 110.512 200.856 111.152C201.048 111.776 201.144 112.408 201.144 113.048C201.144 113.752 201.048 114.424 200.856 115.064C200.664 115.688 200.376 116.24 199.992 116.72C199.608 117.184 199.128 117.56 198.552 117.848C197.96 118.12 197.264 118.256 196.464 118.256C196.048 118.256 195.64 118.192 195.24 118.064C194.84 117.936 194.472 117.768 194.136 117.56C193.784 117.336 193.472 117.08 193.2 116.792C192.928 116.488 192.72 116.168 192.576 115.832C192.32 116.504 191.864 117.016 191.208 117.368C190.552 117.72 189.816 117.896 189 117.896C188.232 117.896 187.56 117.76 186.984 117.488C186.392 117.2 185.904 116.824 185.52 116.36C185.12 115.896 184.824 115.376 184.632 114.8C184.424 114.224 184.32 113.632 184.32 113.024ZM186.312 113C186.312 113.352 186.368 113.704 186.48 114.056C186.592 114.392 186.76 114.696 186.984 114.968C187.208 115.224 187.488 115.432 187.824 115.592C188.16 115.752 188.552 115.832 189 115.832C189.416 115.832 189.792 115.752 190.128 115.592C190.464 115.432 190.752 115.224 190.992 114.968C191.216 114.696 191.392 114.392 191.52 114.056C191.648 113.72 191.712 113.368 191.712 113C191.712 112.648 191.648 112.304 191.52 111.968C191.392 111.616 191.208 111.312 190.968 111.056C190.728 110.8 190.44 110.592 190.104 110.432C189.768 110.272 189.392 110.192 188.976 110.192C188.544 110.192 188.16 110.272 187.824 110.432C187.488 110.576 187.208 110.776 186.984 111.032C186.76 111.288 186.592 111.592 186.48 111.944C186.368 112.28 186.312 112.632 186.312 113ZM193.632 113C193.632 113.416 193.696 113.808 193.824 114.176C193.952 114.544 194.136 114.864 194.376 115.136C194.616 115.408 194.912 115.632 195.264 115.808C195.6 115.968 195.984 116.048 196.416 116.048C197.296 116.048 197.976 115.784 198.456 115.256C198.936 114.712 199.176 113.96 199.176 113C199.176 112.072 198.936 111.336 198.456 110.792C197.976 110.248 197.28 109.976 196.368 109.976C195.952 109.976 195.576 110.056 195.24 110.216C194.904 110.376 194.616 110.592 194.376 110.864C194.136 111.136 193.952 111.456 193.824 111.824C193.696 112.192 193.632 112.584 193.632 113Z");
			attr(path28, "fill", "white");
			attr(rect15, "x", "228");
			attr(rect15, "y", "85");
			attr(rect15, "width", "36");
			attr(rect15, "height", "56");
			attr(rect15, "fill", "#0D0D0D");
			attr(path29, "d", "M254 119.36H240.008L241.856 121.616L240.344 122.72L237.464 119.24V117.296H254V119.36ZM254 107.36H240.008L241.856 109.616L240.344 110.72L237.464 107.24V105.296H254V107.36Z");
			attr(path29, "fill", "white");
			attr(rect16, "x", "281");
			attr(rect16, "y", "85");
			attr(rect16, "width", "36");
			attr(rect16, "height", "56");
			attr(rect16, "fill", "#DA4453");
			attr(path30, "d", "M307 119.36H293.008L294.856 121.616L293.344 122.72L290.464 119.24V117.296H307V119.36ZM304.456 103.064H307V105.176H304.456V112.376H302.68C300.664 111.464 298.632 110.552 296.584 109.64C294.536 108.712 292.496 107.792 290.464 106.88V104.672L302.584 110.048V105.176H297.64V103.064H302.584V101.648H304.456V103.064Z");
			attr(path30, "fill", "white");
			attr(rect17, "x", "334");
			attr(rect17, "y", "85");
			attr(rect17, "width", "36");
			attr(rect17, "height", "56");
			attr(rect17, "fill", "#0D0D0D");
			attr(path31, "d", "M360 119.36H346.008L347.856 121.616L346.344 122.72L343.464 119.24V117.296H360V119.36ZM360 108.128V110.384L345.384 104.432V109.928H347.856V111.92H343.464V102.08H345.312L360 108.128Z");
			attr(path31, "fill", "white");
			attr(rect18, "x", "387");
			attr(rect18, "y", "85");
			attr(rect18, "width", "36");
			attr(rect18, "height", "56");
			attr(rect18, "fill", "#0D0D0D");
			attr(path32, "d", "M400.64 114.008C401.248 114.008 401.832 114.16 402.392 114.464C402.952 114.752 403.48 115.12 403.976 115.568C404.456 116 404.896 116.472 405.296 116.984C405.696 117.48 406.04 117.944 406.328 118.376C406.536 118.68 406.784 119.032 407.072 119.432C407.36 119.816 407.68 120.192 408.032 120.56C408.384 120.912 408.768 121.216 409.184 121.472C409.6 121.712 410.048 121.832 410.528 121.832H411.152V114.056H413V123.992H411.056C410.384 123.992 409.76 123.88 409.184 123.656C408.608 123.432 408.072 123.128 407.576 122.744C407.08 122.36 406.624 121.92 406.208 121.424C405.776 120.928 405.376 120.408 405.008 119.864C404.72 119.4 404.408 118.952 404.072 118.52C403.736 118.072 403.392 117.672 403.04 117.32C402.672 116.968 402.296 116.688 401.912 116.48C401.528 116.272 401.136 116.168 400.736 116.168C400.304 116.168 399.936 116.264 399.632 116.456C399.312 116.632 399.056 116.872 398.864 117.176C398.656 117.48 398.504 117.824 398.408 118.208C398.312 118.576 398.264 118.952 398.264 119.336C398.264 120.008 398.384 120.632 398.624 121.208C398.848 121.784 399.144 122.288 399.512 122.72L397.952 123.8C397.488 123.256 397.096 122.608 396.776 121.856C396.456 121.104 396.296 120.264 396.296 119.336C396.296 118.664 396.376 118.008 396.536 117.368C396.696 116.728 396.952 116.16 397.304 115.664C397.64 115.168 398.088 114.768 398.648 114.464C399.192 114.16 399.856 114.008 400.64 114.008ZM408.872 101.96C409.544 101.96 410.144 102.112 410.672 102.416C411.2 102.704 411.648 103.088 412.016 103.568C412.368 104.048 412.64 104.592 412.832 105.2C413.024 105.792 413.12 106.392 413.12 107C413.12 107.624 413.024 108.24 412.832 108.848C412.64 109.44 412.368 109.976 412.016 110.456C411.648 110.92 411.2 111.304 410.672 111.608C410.144 111.896 409.544 112.04 408.872 112.04H400.616C399.944 112.04 399.344 111.896 398.816 111.608C398.272 111.304 397.816 110.912 397.448 110.432C397.064 109.952 396.776 109.416 396.584 108.824C396.392 108.216 396.296 107.608 396.296 107C396.296 106.392 396.392 105.792 396.584 105.2C396.776 104.592 397.064 104.048 397.448 103.568C397.816 103.088 398.272 102.704 398.816 102.416C399.344 102.112 399.944 101.96 400.616 101.96H408.872ZM401.144 104.048C400.616 104.048 400.168 104.144 399.8 104.336C399.432 104.528 399.136 104.768 398.912 105.056C398.672 105.344 398.504 105.664 398.408 106.016C398.312 106.352 398.264 106.68 398.264 107C398.264 107.32 398.312 107.656 398.408 108.008C398.504 108.344 398.672 108.656 398.912 108.944C399.136 109.232 399.432 109.472 399.8 109.664C400.168 109.84 400.616 109.928 401.144 109.928H408.344C408.872 109.928 409.32 109.84 409.688 109.664C410.04 109.472 410.336 109.232 410.576 108.944C410.8 108.656 410.96 108.344 411.056 108.008C411.152 107.656 411.2 107.32 411.2 107C411.2 106.68 411.152 106.352 411.056 106.016C410.96 105.664 410.8 105.344 410.576 105.056C410.336 104.768 410.04 104.528 409.688 104.336C409.32 104.144 408.872 104.048 408.344 104.048H401.144Z");
			attr(path32, "fill", "white");
			attr(rect19, "x", "440");
			attr(rect19, "y", "85");
			attr(rect19, "width", "36");
			attr(rect19, "height", "56");
			attr(rect19, "fill", "#DA4453");
			attr(path33, "d", "M453.64 114.008C454.248 114.008 454.832 114.16 455.392 114.464C455.952 114.752 456.48 115.12 456.976 115.568C457.456 116 457.896 116.472 458.296 116.984C458.696 117.48 459.04 117.944 459.328 118.376C459.536 118.68 459.784 119.032 460.072 119.432C460.36 119.816 460.68 120.192 461.032 120.56C461.384 120.912 461.768 121.216 462.184 121.472C462.6 121.712 463.048 121.832 463.528 121.832H464.152V114.056H466V123.992H464.056C463.384 123.992 462.76 123.88 462.184 123.656C461.608 123.432 461.072 123.128 460.576 122.744C460.08 122.36 459.624 121.92 459.208 121.424C458.776 120.928 458.376 120.408 458.008 119.864C457.72 119.4 457.408 118.952 457.072 118.52C456.736 118.072 456.392 117.672 456.04 117.32C455.672 116.968 455.296 116.688 454.912 116.48C454.528 116.272 454.136 116.168 453.736 116.168C453.304 116.168 452.936 116.264 452.632 116.456C452.312 116.632 452.056 116.872 451.864 117.176C451.656 117.48 451.504 117.824 451.408 118.208C451.312 118.576 451.264 118.952 451.264 119.336C451.264 120.008 451.384 120.632 451.624 121.208C451.848 121.784 452.144 122.288 452.512 122.72L450.952 123.8C450.488 123.256 450.096 122.608 449.776 121.856C449.456 121.104 449.296 120.264 449.296 119.336C449.296 118.664 449.376 118.008 449.536 117.368C449.696 116.728 449.952 116.16 450.304 115.664C450.64 115.168 451.088 114.768 451.648 114.464C452.192 114.16 452.856 114.008 453.64 114.008ZM449.32 107.576C449.32 106.984 449.392 106.4 449.536 105.824C449.68 105.232 449.92 104.704 450.256 104.24C450.576 103.76 451.008 103.376 451.552 103.088C452.096 102.8 452.76 102.656 453.544 102.656C454.36 102.656 455.112 102.856 455.8 103.256C456.472 103.64 456.952 104.216 457.24 104.984C457.4 104.6 457.624 104.264 457.912 103.976C458.184 103.672 458.496 103.424 458.848 103.232C459.2 103.024 459.576 102.872 459.976 102.776C460.376 102.664 460.768 102.608 461.152 102.608C461.984 102.608 462.712 102.76 463.336 103.064C463.96 103.352 464.488 103.744 464.92 104.24C465.336 104.72 465.648 105.288 465.856 105.944C466.064 106.584 466.168 107.264 466.168 107.984C466.168 108.992 466.008 109.912 465.688 110.744C465.352 111.56 464.96 112.224 464.512 112.736L462.88 111.632C463.296 111.168 463.624 110.616 463.864 109.976C464.104 109.32 464.224 108.696 464.224 108.104C464.224 107.08 463.976 106.264 463.48 105.656C462.968 105.032 462.256 104.72 461.344 104.72C460.432 104.72 459.696 104.968 459.136 105.464C458.576 105.96 458.296 106.608 458.296 107.408V109.28H456.448V107.36C456.448 107.056 456.392 106.752 456.28 106.448C456.168 106.128 456 105.848 455.776 105.608C455.536 105.352 455.24 105.152 454.888 105.008C454.536 104.848 454.12 104.768 453.64 104.768C453.208 104.768 452.84 104.856 452.536 105.032C452.232 105.208 451.984 105.448 451.792 105.752C451.6 106.04 451.464 106.368 451.384 106.736C451.304 107.104 451.264 107.48 451.264 107.864C451.264 108.456 451.392 109.064 451.648 109.688C451.904 110.296 452.216 110.816 452.584 111.248L451 112.376C450.552 111.864 450.16 111.192 449.824 110.36C449.488 109.512 449.32 108.584 449.32 107.576Z");
			attr(path33, "fill", "white");
			attr(rect20, "x", "493");
			attr(rect20, "y", "85");
			attr(rect20, "width", "36");
			attr(rect20, "height", "56");
			attr(rect20, "fill", "#0D0D0D");
			attr(path34, "d", "M506.64 114.008C507.248 114.008 507.832 114.16 508.392 114.464C508.952 114.752 509.48 115.12 509.976 115.568C510.456 116 510.896 116.472 511.296 116.984C511.696 117.48 512.04 117.944 512.328 118.376C512.536 118.68 512.784 119.032 513.072 119.432C513.36 119.816 513.68 120.192 514.032 120.56C514.384 120.912 514.768 121.216 515.184 121.472C515.6 121.712 516.048 121.832 516.528 121.832H517.152V114.056H519V123.992H517.056C516.384 123.992 515.76 123.88 515.184 123.656C514.608 123.432 514.072 123.128 513.576 122.744C513.08 122.36 512.624 121.92 512.208 121.424C511.776 120.928 511.376 120.408 511.008 119.864C510.72 119.4 510.408 118.952 510.072 118.52C509.736 118.072 509.392 117.672 509.04 117.32C508.672 116.968 508.296 116.688 507.912 116.48C507.528 116.272 507.136 116.168 506.736 116.168C506.304 116.168 505.936 116.264 505.632 116.456C505.312 116.632 505.056 116.872 504.864 117.176C504.656 117.48 504.504 117.824 504.408 118.208C504.312 118.576 504.264 118.952 504.264 119.336C504.264 120.008 504.384 120.632 504.624 121.208C504.848 121.784 505.144 122.288 505.512 122.72L503.952 123.8C503.488 123.256 503.096 122.608 502.776 121.856C502.456 121.104 502.296 120.264 502.296 119.336C502.296 118.664 502.376 118.008 502.536 117.368C502.696 116.728 502.952 116.16 503.304 115.664C503.64 115.168 504.088 114.768 504.648 114.464C505.192 114.16 505.856 114.008 506.64 114.008ZM506.688 111.944C506 111.944 505.384 111.808 504.84 111.536C504.296 111.264 503.84 110.904 503.472 110.456C503.088 109.992 502.8 109.456 502.608 108.848C502.4 108.224 502.296 107.576 502.296 106.904C502.296 105.864 502.464 104.984 502.8 104.264C503.12 103.528 503.512 102.896 503.976 102.368L505.656 103.568C505.208 104.064 504.872 104.584 504.648 105.128C504.408 105.656 504.288 106.232 504.288 106.856C504.288 107.16 504.336 107.488 504.432 107.84C504.528 108.176 504.688 108.496 504.912 108.8C505.136 109.088 505.432 109.336 505.8 109.544C506.152 109.736 506.592 109.832 507.12 109.832H509.832C509.336 109.064 508.992 108.36 508.8 107.72C508.592 107.064 508.488 106.496 508.488 106.016C508.488 105.408 508.592 104.864 508.8 104.384C509.008 103.888 509.304 103.472 509.688 103.136C510.056 102.784 510.504 102.52 511.032 102.344C511.544 102.152 512.112 102.056 512.736 102.056H514.704C515.392 102.056 516.008 102.192 516.552 102.464C517.096 102.736 517.56 103.104 517.944 103.568C518.328 104.016 518.624 104.544 518.832 105.152C519.024 105.744 519.12 106.368 519.12 107.024C519.12 107.728 519.024 108.376 518.832 108.968C518.64 109.56 518.36 110.08 517.992 110.528C517.624 110.976 517.176 111.328 516.648 111.584C516.104 111.824 515.488 111.944 514.8 111.944H506.688ZM512.928 104.168C512.096 104.168 511.488 104.376 511.104 104.792C510.72 105.192 510.528 105.696 510.528 106.304C510.528 106.864 510.648 107.432 510.888 108.008C511.128 108.568 511.464 109.176 511.896 109.832H514.344C514.856 109.832 515.296 109.744 515.664 109.568C516.016 109.392 516.304 109.168 516.528 108.896C516.752 108.624 516.92 108.328 517.032 108.008C517.128 107.672 517.176 107.344 517.176 107.024C517.176 106.72 517.128 106.4 517.032 106.064C516.92 105.712 516.752 105.4 516.528 105.128C516.288 104.856 515.992 104.632 515.64 104.456C515.288 104.264 514.856 104.168 514.344 104.168H512.928Z");
			attr(path34, "fill", "white");
			attr(rect21, "x", "546");
			attr(rect21, "y", "85");
			attr(rect21, "width", "36");
			attr(rect21, "height", "56");
			attr(rect21, "fill", "#0D0D0D");
			attr(path35, "d", "M559.64 114.008C560.248 114.008 560.832 114.16 561.392 114.464C561.952 114.752 562.48 115.12 562.976 115.568C563.456 116 563.896 116.472 564.296 116.984C564.696 117.48 565.04 117.944 565.328 118.376C565.536 118.68 565.784 119.032 566.072 119.432C566.36 119.816 566.68 120.192 567.032 120.56C567.384 120.912 567.768 121.216 568.184 121.472C568.6 121.712 569.048 121.832 569.528 121.832H570.152V114.056H572V123.992H570.056C569.384 123.992 568.76 123.88 568.184 123.656C567.608 123.432 567.072 123.128 566.576 122.744C566.08 122.36 565.624 121.92 565.208 121.424C564.776 120.928 564.376 120.408 564.008 119.864C563.72 119.4 563.408 118.952 563.072 118.52C562.736 118.072 562.392 117.672 562.04 117.32C561.672 116.968 561.296 116.688 560.912 116.48C560.528 116.272 560.136 116.168 559.736 116.168C559.304 116.168 558.936 116.264 558.632 116.456C558.312 116.632 558.056 116.872 557.864 117.176C557.656 117.48 557.504 117.824 557.408 118.208C557.312 118.576 557.264 118.952 557.264 119.336C557.264 120.008 557.384 120.632 557.624 121.208C557.848 121.784 558.144 122.288 558.512 122.72L556.952 123.8C556.488 123.256 556.096 122.608 555.776 121.856C555.456 121.104 555.296 120.264 555.296 119.336C555.296 118.664 555.376 118.008 555.536 117.368C555.696 116.728 555.952 116.16 556.304 115.664C556.64 115.168 557.088 114.768 557.648 114.464C558.192 114.16 558.856 114.008 559.64 114.008ZM567.752 102.272C568.44 102.272 569.056 102.408 569.6 102.68C570.144 102.952 570.6 103.32 570.968 103.784C571.336 104.232 571.624 104.768 571.832 105.392C572.024 106 572.12 106.64 572.12 107.312C572.12 108.368 571.96 109.256 571.64 109.976C571.304 110.696 570.904 111.32 570.44 111.848L568.76 110.648C569.208 110.152 569.552 109.64 569.792 109.112C570.016 108.568 570.128 107.992 570.128 107.384C570.128 107.08 570.08 106.76 569.984 106.424C569.888 106.072 569.728 105.752 569.504 105.464C569.28 105.16 568.992 104.912 568.64 104.72C568.272 104.512 567.824 104.408 567.296 104.408H564.512C564.976 105.192 565.312 105.904 565.52 106.544C565.728 107.168 565.832 107.72 565.832 108.2C565.832 109.432 565.464 110.4 564.728 111.104C563.992 111.808 562.944 112.16 561.584 112.16H559.736C559.048 112.16 558.432 112.024 557.888 111.752C557.328 111.48 556.856 111.12 556.472 110.672C556.088 110.208 555.8 109.68 555.608 109.088C555.4 108.48 555.296 107.848 555.296 107.192C555.296 106.552 555.392 105.936 555.584 105.344C555.776 104.752 556.056 104.232 556.424 103.784C556.792 103.32 557.248 102.952 557.792 102.68C558.32 102.408 558.928 102.272 559.616 102.272H567.752ZM561.392 110.072C562.24 110.072 562.856 109.864 563.24 109.448C563.608 109.032 563.792 108.52 563.792 107.912C563.792 107.352 563.672 106.792 563.432 106.232C563.176 105.656 562.848 105.048 562.448 104.408H560.072C559.56 104.408 559.128 104.496 558.776 104.672C558.424 104.832 558.136 105.048 557.912 105.32C557.688 105.592 557.528 105.896 557.432 106.232C557.32 106.552 557.264 106.872 557.264 107.192C557.264 107.512 557.32 107.84 557.432 108.176C557.528 108.512 557.688 108.824 557.912 109.112C558.136 109.384 558.432 109.616 558.8 109.808C559.152 109.984 559.576 110.072 560.072 110.072H561.392Z");
			attr(path35, "fill", "white");
			attr(rect22, "x", "599");
			attr(rect22, "y", "85");
			attr(rect22, "width", "36");
			attr(rect22, "height", "56");
			attr(rect22, "fill", "#DA4453");
			attr(path36, "d", "M608.32 119.576C608.32 118.984 608.392 118.4 608.536 117.824C608.68 117.232 608.92 116.704 609.256 116.24C609.576 115.76 610.008 115.376 610.552 115.088C611.096 114.8 611.76 114.656 612.544 114.656C613.36 114.656 614.112 114.856 614.8 115.256C615.472 115.64 615.952 116.216 616.24 116.984C616.4 116.6 616.624 116.264 616.912 115.976C617.184 115.672 617.496 115.424 617.848 115.232C618.2 115.024 618.576 114.872 618.976 114.776C619.376 114.664 619.768 114.608 620.152 114.608C620.984 114.608 621.712 114.76 622.336 115.064C622.96 115.352 623.488 115.744 623.92 116.24C624.336 116.72 624.648 117.288 624.856 117.944C625.064 118.584 625.168 119.264 625.168 119.984C625.168 120.992 625.008 121.912 624.688 122.744C624.352 123.56 623.96 124.224 623.512 124.736L621.88 123.632C622.296 123.168 622.624 122.616 622.864 121.976C623.104 121.32 623.224 120.696 623.224 120.104C623.224 119.08 622.976 118.264 622.48 117.656C621.968 117.032 621.256 116.72 620.344 116.72C619.432 116.72 618.696 116.968 618.136 117.464C617.576 117.96 617.296 118.608 617.296 119.408V121.28H615.448V119.36C615.448 119.056 615.392 118.752 615.28 118.448C615.168 118.128 615 117.848 614.776 117.608C614.536 117.352 614.24 117.152 613.888 117.008C613.536 116.848 613.12 116.768 612.64 116.768C612.208 116.768 611.84 116.856 611.536 117.032C611.232 117.208 610.984 117.448 610.792 117.752C610.6 118.04 610.464 118.368 610.384 118.736C610.304 119.104 610.264 119.48 610.264 119.864C610.264 120.456 610.392 121.064 610.648 121.688C610.904 122.296 611.216 122.816 611.584 123.248L610 124.376C609.552 123.864 609.16 123.192 608.824 122.36C608.488 121.512 608.32 120.584 608.32 119.576ZM612.64 102.008C613.248 102.008 613.832 102.16 614.392 102.464C614.952 102.752 615.48 103.12 615.976 103.568C616.456 104 616.896 104.472 617.296 104.984C617.696 105.48 618.04 105.944 618.328 106.376C618.536 106.68 618.784 107.032 619.072 107.432C619.36 107.816 619.68 108.192 620.032 108.56C620.384 108.912 620.768 109.216 621.184 109.472C621.6 109.712 622.048 109.832 622.528 109.832H623.152V102.056H625V111.992H623.056C622.384 111.992 621.76 111.88 621.184 111.656C620.608 111.432 620.072 111.128 619.576 110.744C619.08 110.36 618.624 109.92 618.208 109.424C617.776 108.928 617.376 108.408 617.008 107.864C616.72 107.4 616.408 106.952 616.072 106.52C615.736 106.072 615.392 105.672 615.04 105.32C614.672 104.968 614.296 104.688 613.912 104.48C613.528 104.272 613.136 104.168 612.736 104.168C612.304 104.168 611.936 104.264 611.632 104.456C611.312 104.632 611.056 104.872 610.864 105.176C610.656 105.48 610.504 105.824 610.408 106.208C610.312 106.576 610.264 106.952 610.264 107.336C610.264 108.008 610.384 108.632 610.624 109.208C610.848 109.784 611.144 110.288 611.512 110.72L609.952 111.8C609.488 111.256 609.096 110.608 608.776 109.856C608.456 109.104 608.296 108.264 608.296 107.336C608.296 106.664 608.376 106.008 608.536 105.368C608.696 104.728 608.952 104.16 609.304 103.664C609.64 103.168 610.088 102.768 610.648 102.464C611.192 102.16 611.856 102.008 612.64 102.008Z");
			attr(path36, "fill", "white");
			attr(rect23, "x", "652");
			attr(rect23, "y", "85");
			attr(rect23, "width", "36");
			attr(rect23, "height", "56");
			attr(rect23, "fill", "#0D0D0D");
			attr(path37, "d", "M661.32 119.576C661.32 118.984 661.392 118.4 661.536 117.824C661.68 117.232 661.92 116.704 662.256 116.24C662.576 115.76 663.008 115.376 663.552 115.088C664.096 114.8 664.76 114.656 665.544 114.656C666.36 114.656 667.112 114.856 667.8 115.256C668.472 115.64 668.952 116.216 669.24 116.984C669.4 116.6 669.624 116.264 669.912 115.976C670.184 115.672 670.496 115.424 670.848 115.232C671.2 115.024 671.576 114.872 671.976 114.776C672.376 114.664 672.768 114.608 673.152 114.608C673.984 114.608 674.712 114.76 675.336 115.064C675.96 115.352 676.488 115.744 676.92 116.24C677.336 116.72 677.648 117.288 677.856 117.944C678.064 118.584 678.168 119.264 678.168 119.984C678.168 120.992 678.008 121.912 677.688 122.744C677.352 123.56 676.96 124.224 676.512 124.736L674.88 123.632C675.296 123.168 675.624 122.616 675.864 121.976C676.104 121.32 676.224 120.696 676.224 120.104C676.224 119.08 675.976 118.264 675.48 117.656C674.968 117.032 674.256 116.72 673.344 116.72C672.432 116.72 671.696 116.968 671.136 117.464C670.576 117.96 670.296 118.608 670.296 119.408V121.28H668.448V119.36C668.448 119.056 668.392 118.752 668.28 118.448C668.168 118.128 668 117.848 667.776 117.608C667.536 117.352 667.24 117.152 666.888 117.008C666.536 116.848 666.12 116.768 665.64 116.768C665.208 116.768 664.84 116.856 664.536 117.032C664.232 117.208 663.984 117.448 663.792 117.752C663.6 118.04 663.464 118.368 663.384 118.736C663.304 119.104 663.264 119.48 663.264 119.864C663.264 120.456 663.392 121.064 663.648 121.688C663.904 122.296 664.216 122.816 664.584 123.248L663 124.376C662.552 123.864 662.16 123.192 661.824 122.36C661.488 121.512 661.32 120.584 661.32 119.576ZM673.752 102.128C674.424 102.128 675.032 102.272 675.576 102.56C676.104 102.832 676.56 103.208 676.944 103.688C677.328 104.152 677.624 104.696 677.832 105.32C678.024 105.944 678.12 106.6 678.12 107.288C678.12 108.328 677.96 109.224 677.64 109.976C677.304 110.712 676.904 111.344 676.44 111.872L674.784 110.672C675.712 109.664 676.176 108.552 676.176 107.336C676.176 107.112 676.144 106.824 676.08 106.472C676 106.12 675.864 105.776 675.672 105.44C675.464 105.104 675.184 104.816 674.832 104.576C674.48 104.336 674.024 104.216 673.464 104.216H671.328C670.528 104.216 669.936 104.416 669.552 104.816C669.168 105.216 668.976 105.736 668.976 106.376C668.976 106.632 669.024 106.92 669.12 107.24C669.216 107.56 669.336 107.88 669.48 108.2C669.608 108.52 669.76 108.824 669.936 109.112C670.096 109.384 670.248 109.608 670.392 109.784L669.624 111.728H661.464V102.608H663.408V109.592H668.112C667.696 108.984 667.384 108.376 667.176 107.768C666.968 107.16 666.864 106.624 666.864 106.16C666.864 105.536 666.968 104.976 667.176 104.48C667.368 103.984 667.656 103.568 668.04 103.232C668.408 102.88 668.856 102.608 669.384 102.416C669.896 102.224 670.464 102.128 671.088 102.128H673.752Z");
			attr(path37, "fill", "white");
			attr(rect24, "x", "69");
			attr(rect24, "y", "11");
			attr(rect24, "width", "36");
			attr(rect24, "height", "56");
			attr(rect24, "fill", "#DA4453");
			attr(path38, "d", "M78.32 39.576C78.32 38.984 78.392 38.4 78.536 37.824C78.68 37.232 78.92 36.704 79.256 36.24C79.576 35.76 80.008 35.376 80.552 35.088C81.096 34.8 81.76 34.656 82.544 34.656C83.36 34.656 84.112 34.856 84.8 35.256C85.472 35.64 85.952 36.216 86.24 36.984C86.4 36.6 86.624 36.264 86.912 35.976C87.184 35.672 87.496 35.424 87.848 35.232C88.2 35.024 88.576 34.872 88.976 34.776C89.376 34.664 89.768 34.608 90.152 34.608C90.984 34.608 91.712 34.76 92.336 35.064C92.96 35.352 93.488 35.744 93.92 36.24C94.336 36.72 94.648 37.288 94.856 37.944C95.064 38.584 95.168 39.264 95.168 39.984C95.168 40.992 95.008 41.912 94.688 42.744C94.352 43.56 93.96 44.224 93.512 44.736L91.88 43.632C92.296 43.168 92.624 42.616 92.864 41.976C93.104 41.32 93.224 40.696 93.224 40.104C93.224 39.08 92.976 38.264 92.48 37.656C91.968 37.032 91.256 36.72 90.344 36.72C89.432 36.72 88.696 36.968 88.136 37.464C87.576 37.96 87.296 38.608 87.296 39.408V41.28H85.448V39.36C85.448 39.056 85.392 38.752 85.28 38.448C85.168 38.128 85 37.848 84.776 37.608C84.536 37.352 84.24 37.152 83.888 37.008C83.536 36.848 83.12 36.768 82.64 36.768C82.208 36.768 81.84 36.856 81.536 37.032C81.232 37.208 80.984 37.448 80.792 37.752C80.6 38.04 80.464 38.368 80.384 38.736C80.304 39.104 80.264 39.48 80.264 39.864C80.264 40.456 80.392 41.064 80.648 41.688C80.904 42.296 81.216 42.816 81.584 43.248L80 44.376C79.552 43.864 79.16 43.192 78.824 42.36C78.488 41.512 78.32 40.584 78.32 39.576Z");
			attr(path38, "fill", "white");
			attr(rect25, "x", "122");
			attr(rect25, "y", "11");
			attr(rect25, "width", "36");
			attr(rect25, "height", "56");
			attr(rect25, "fill", "#0D0D0D");
			attr(path39, "d", "M135.688 43.944C135 43.944 134.384 43.808 133.84 43.536C133.296 43.264 132.84 42.904 132.472 42.456C132.088 41.992 131.8 41.456 131.608 40.848C131.4 40.224 131.296 39.576 131.296 38.904C131.296 37.864 131.464 36.984 131.8 36.264C132.12 35.528 132.512 34.896 132.976 34.368L134.656 35.568C134.208 36.064 133.872 36.584 133.648 37.128C133.408 37.656 133.288 38.232 133.288 38.856C133.288 39.16 133.336 39.488 133.432 39.84C133.528 40.176 133.688 40.496 133.912 40.8C134.136 41.088 134.432 41.336 134.8 41.544C135.152 41.736 135.592 41.832 136.12 41.832H138.832C138.336 41.064 137.992 40.36 137.8 39.72C137.592 39.064 137.488 38.496 137.488 38.016C137.488 37.408 137.592 36.864 137.8 36.384C138.008 35.888 138.304 35.472 138.688 35.136C139.056 34.784 139.504 34.52 140.032 34.344C140.544 34.152 141.112 34.056 141.736 34.056H143.704C144.392 34.056 145.008 34.192 145.552 34.464C146.096 34.736 146.56 35.104 146.944 35.568C147.328 36.016 147.624 36.544 147.832 37.152C148.024 37.744 148.12 38.368 148.12 39.024C148.12 39.728 148.024 40.376 147.832 40.968C147.64 41.56 147.36 42.08 146.992 42.528C146.624 42.976 146.176 43.328 145.648 43.584C145.104 43.824 144.488 43.944 143.8 43.944H135.688ZM141.928 36.168C141.096 36.168 140.488 36.376 140.104 36.792C139.72 37.192 139.528 37.696 139.528 38.304C139.528 38.864 139.648 39.432 139.888 40.008C140.128 40.568 140.464 41.176 140.896 41.832H143.344C143.856 41.832 144.296 41.744 144.664 41.568C145.016 41.392 145.304 41.168 145.528 40.896C145.752 40.624 145.92 40.328 146.032 40.008C146.128 39.672 146.176 39.344 146.176 39.024C146.176 38.72 146.128 38.4 146.032 38.064C145.92 37.712 145.752 37.4 145.528 37.128C145.288 36.856 144.992 36.632 144.64 36.456C144.288 36.264 143.856 36.168 143.344 36.168H141.928Z");
			attr(path39, "fill", "white");
			attr(rect26, "x", "175");
			attr(rect26, "y", "11");
			attr(rect26, "width", "36");
			attr(rect26, "height", "56");
			attr(rect26, "fill", "#DA4453");
			attr(path40, "d", "M196.752 34.272C197.44 34.272 198.056 34.408 198.6 34.68C199.144 34.952 199.6 35.32 199.968 35.784C200.336 36.232 200.624 36.768 200.832 37.392C201.024 38 201.12 38.64 201.12 39.312C201.12 40.368 200.96 41.256 200.64 41.976C200.304 42.696 199.904 43.32 199.44 43.848L197.76 42.648C198.208 42.152 198.552 41.64 198.792 41.112C199.016 40.568 199.128 39.992 199.128 39.384C199.128 39.08 199.08 38.76 198.984 38.424C198.888 38.072 198.728 37.752 198.504 37.464C198.28 37.16 197.992 36.912 197.64 36.72C197.272 36.512 196.824 36.408 196.296 36.408H193.512C193.976 37.192 194.312 37.904 194.52 38.544C194.728 39.168 194.832 39.72 194.832 40.2C194.832 41.432 194.464 42.4 193.728 43.104C192.992 43.808 191.944 44.16 190.584 44.16H188.736C188.048 44.16 187.432 44.024 186.888 43.752C186.328 43.48 185.856 43.12 185.472 42.672C185.088 42.208 184.8 41.68 184.608 41.088C184.4 40.48 184.296 39.848 184.296 39.192C184.296 38.552 184.392 37.936 184.584 37.344C184.776 36.752 185.056 36.232 185.424 35.784C185.792 35.32 186.248 34.952 186.792 34.68C187.32 34.408 187.928 34.272 188.616 34.272H196.752ZM190.392 42.072C191.24 42.072 191.856 41.864 192.24 41.448C192.608 41.032 192.792 40.52 192.792 39.912C192.792 39.352 192.672 38.792 192.432 38.232C192.176 37.656 191.848 37.048 191.448 36.408H189.072C188.56 36.408 188.128 36.496 187.776 36.672C187.424 36.832 187.136 37.048 186.912 37.32C186.688 37.592 186.528 37.896 186.432 38.232C186.32 38.552 186.264 38.872 186.264 39.192C186.264 39.512 186.32 39.84 186.432 40.176C186.528 40.512 186.688 40.824 186.912 41.112C187.136 41.384 187.432 41.616 187.8 41.808C188.152 41.984 188.576 42.072 189.072 42.072H190.392Z");
			attr(path40, "fill", "white");
			attr(rect27, "x", "228");
			attr(rect27, "y", "11");
			attr(rect27, "width", "36");
			attr(rect27, "height", "56");
			attr(rect27, "fill", "#DA4453");
			attr(path41, "d", "M254 45.36H240.008L241.856 47.616L240.344 48.72L237.464 45.24V43.296H254V45.36ZM241.64 28.008C242.248 28.008 242.832 28.16 243.392 28.464C243.952 28.752 244.48 29.12 244.976 29.568C245.456 30 245.896 30.472 246.296 30.984C246.696 31.48 247.04 31.944 247.328 32.376C247.536 32.68 247.784 33.032 248.072 33.432C248.36 33.816 248.68 34.192 249.032 34.56C249.384 34.912 249.768 35.216 250.184 35.472C250.6 35.712 251.048 35.832 251.528 35.832H252.152V28.056H254V37.992H252.056C251.384 37.992 250.76 37.88 250.184 37.656C249.608 37.432 249.072 37.128 248.576 36.744C248.08 36.36 247.624 35.92 247.208 35.424C246.776 34.928 246.376 34.408 246.008 33.864C245.72 33.4 245.408 32.952 245.072 32.52C244.736 32.072 244.392 31.672 244.04 31.32C243.672 30.968 243.296 30.688 242.912 30.48C242.528 30.272 242.136 30.168 241.736 30.168C241.304 30.168 240.936 30.264 240.632 30.456C240.312 30.632 240.056 30.872 239.864 31.176C239.656 31.48 239.504 31.824 239.408 32.208C239.312 32.576 239.264 32.952 239.264 33.336C239.264 34.008 239.384 34.632 239.624 35.208C239.848 35.784 240.144 36.288 240.512 36.72L238.952 37.8C238.488 37.256 238.096 36.608 237.776 35.856C237.456 35.104 237.296 34.264 237.296 33.336C237.296 32.664 237.376 32.008 237.536 31.368C237.696 30.728 237.952 30.16 238.304 29.664C238.64 29.168 239.088 28.768 239.648 28.464C240.192 28.16 240.856 28.008 241.64 28.008Z");
			attr(path41, "fill", "white");
			attr(rect28, "x", "281");
			attr(rect28, "y", "11");
			attr(rect28, "width", "36");
			attr(rect28, "height", "56");
			attr(rect28, "fill", "#0D0D0D");
			attr(path42, "d", "M307 45.36H293.008L294.856 47.616L293.344 48.72L290.464 45.24V43.296H307V45.36ZM302.752 28.128C303.424 28.128 304.032 28.272 304.576 28.56C305.104 28.832 305.56 29.208 305.944 29.688C306.328 30.152 306.624 30.696 306.832 31.32C307.024 31.944 307.12 32.6 307.12 33.288C307.12 34.328 306.96 35.224 306.64 35.976C306.304 36.712 305.904 37.344 305.44 37.872L303.784 36.672C304.712 35.664 305.176 34.552 305.176 33.336C305.176 33.112 305.144 32.824 305.08 32.472C305 32.12 304.864 31.776 304.672 31.44C304.464 31.104 304.184 30.816 303.832 30.576C303.48 30.336 303.024 30.216 302.464 30.216H300.328C299.528 30.216 298.936 30.416 298.552 30.816C298.168 31.216 297.976 31.736 297.976 32.376C297.976 32.632 298.024 32.92 298.12 33.24C298.216 33.56 298.336 33.88 298.48 34.2C298.608 34.52 298.76 34.824 298.936 35.112C299.096 35.384 299.248 35.608 299.392 35.784L298.624 37.728H290.464V28.608H292.408V35.592H297.112C296.696 34.984 296.384 34.376 296.176 33.768C295.968 33.16 295.864 32.624 295.864 32.16C295.864 31.536 295.968 30.976 296.176 30.48C296.368 29.984 296.656 29.568 297.04 29.232C297.408 28.88 297.856 28.608 298.384 28.416C298.896 28.224 299.464 28.128 300.088 28.128H302.752Z");
			attr(path42, "fill", "white");
			attr(rect29, "x", "334");
			attr(rect29, "y", "11");
			attr(rect29, "width", "36");
			attr(rect29, "height", "56");
			attr(rect29, "fill", "#DA4453");
			attr(path43, "d", "M360 45.36H346.008L347.856 47.616L346.344 48.72L343.464 45.24V43.296H360V45.36ZM343.32 33.024C343.32 32.416 343.416 31.824 343.608 31.248C343.8 30.656 344.096 30.128 344.496 29.664C344.896 29.2 345.392 28.832 345.984 28.56C346.56 28.272 347.24 28.128 348.024 28.128C348.792 28.128 349.504 28.296 350.16 28.632C350.8 28.968 351.272 29.464 351.576 30.12C351.752 29.704 351.976 29.352 352.248 29.064C352.52 28.76 352.824 28.52 353.16 28.344C353.496 28.152 353.856 28.016 354.24 27.936C354.608 27.84 354.968 27.792 355.32 27.792C356.152 27.792 356.872 27.944 357.48 28.248C358.088 28.552 358.592 28.952 358.992 29.448C359.376 29.944 359.664 30.512 359.856 31.152C360.048 31.776 360.144 32.408 360.144 33.048C360.144 33.752 360.048 34.424 359.856 35.064C359.664 35.688 359.376 36.24 358.992 36.72C358.608 37.184 358.128 37.56 357.552 37.848C356.96 38.12 356.264 38.256 355.464 38.256C355.048 38.256 354.64 38.192 354.24 38.064C353.84 37.936 353.472 37.768 353.136 37.56C352.784 37.336 352.472 37.08 352.2 36.792C351.928 36.488 351.72 36.168 351.576 35.832C351.32 36.504 350.864 37.016 350.208 37.368C349.552 37.72 348.816 37.896 348 37.896C347.232 37.896 346.56 37.76 345.984 37.488C345.392 37.2 344.904 36.824 344.52 36.36C344.12 35.896 343.824 35.376 343.632 34.8C343.424 34.224 343.32 33.632 343.32 33.024ZM345.312 33C345.312 33.352 345.368 33.704 345.48 34.056C345.592 34.392 345.76 34.696 345.984 34.968C346.208 35.224 346.488 35.432 346.824 35.592C347.16 35.752 347.552 35.832 348 35.832C348.416 35.832 348.792 35.752 349.128 35.592C349.464 35.432 349.752 35.224 349.992 34.968C350.216 34.696 350.392 34.392 350.52 34.056C350.648 33.72 350.712 33.368 350.712 33C350.712 32.648 350.648 32.304 350.52 31.968C350.392 31.616 350.208 31.312 349.968 31.056C349.728 30.8 349.44 30.592 349.104 30.432C348.768 30.272 348.392 30.192 347.976 30.192C347.544 30.192 347.16 30.272 346.824 30.432C346.488 30.576 346.208 30.776 345.984 31.032C345.76 31.288 345.592 31.592 345.48 31.944C345.368 32.28 345.312 32.632 345.312 33ZM352.632 33C352.632 33.416 352.696 33.808 352.824 34.176C352.952 34.544 353.136 34.864 353.376 35.136C353.616 35.408 353.912 35.632 354.264 35.808C354.6 35.968 354.984 36.048 355.416 36.048C356.296 36.048 356.976 35.784 357.456 35.256C357.936 34.712 358.176 33.96 358.176 33C358.176 32.072 357.936 31.336 357.456 30.792C356.976 30.248 356.28 29.976 355.368 29.976C354.952 29.976 354.576 30.056 354.24 30.216C353.904 30.376 353.616 30.592 353.376 30.864C353.136 31.136 352.952 31.456 352.824 31.824C352.696 32.192 352.632 32.584 352.632 33Z");
			attr(path43, "fill", "white");
			attr(rect30, "x", "387");
			attr(rect30, "y", "11");
			attr(rect30, "width", "36");
			attr(rect30, "height", "56");
			attr(rect30, "fill", "#DA4453");
			attr(path44, "d", "M400.64 40.008C401.248 40.008 401.832 40.16 402.392 40.464C402.952 40.752 403.48 41.12 403.976 41.568C404.456 42 404.896 42.472 405.296 42.984C405.696 43.48 406.04 43.944 406.328 44.376C406.536 44.68 406.784 45.032 407.072 45.432C407.36 45.816 407.68 46.192 408.032 46.56C408.384 46.912 408.768 47.216 409.184 47.472C409.6 47.712 410.048 47.832 410.528 47.832H411.152V40.056H413V49.992H411.056C410.384 49.992 409.76 49.88 409.184 49.656C408.608 49.432 408.072 49.128 407.576 48.744C407.08 48.36 406.624 47.92 406.208 47.424C405.776 46.928 405.376 46.408 405.008 45.864C404.72 45.4 404.408 44.952 404.072 44.52C403.736 44.072 403.392 43.672 403.04 43.32C402.672 42.968 402.296 42.688 401.912 42.48C401.528 42.272 401.136 42.168 400.736 42.168C400.304 42.168 399.936 42.264 399.632 42.456C399.312 42.632 399.056 42.872 398.864 43.176C398.656 43.48 398.504 43.824 398.408 44.208C398.312 44.576 398.264 44.952 398.264 45.336C398.264 46.008 398.384 46.632 398.624 47.208C398.848 47.784 399.144 48.288 399.512 48.72L397.952 49.8C397.488 49.256 397.096 48.608 396.776 47.856C396.456 47.104 396.296 46.264 396.296 45.336C396.296 44.664 396.376 44.008 396.536 43.368C396.696 42.728 396.952 42.16 397.304 41.664C397.64 41.168 398.088 40.768 398.648 40.464C399.192 40.16 399.856 40.008 400.64 40.008ZM413 33.36H399.008L400.856 35.616L399.344 36.72L396.464 33.24V31.296H413V33.36Z");
			attr(path44, "fill", "white");
			attr(rect31, "x", "440");
			attr(rect31, "y", "11");
			attr(rect31, "width", "36");
			attr(rect31, "height", "56");
			attr(rect31, "fill", "#0D0D0D");
			attr(path45, "d", "M453.64 40.008C454.248 40.008 454.832 40.16 455.392 40.464C455.952 40.752 456.48 41.12 456.976 41.568C457.456 42 457.896 42.472 458.296 42.984C458.696 43.48 459.04 43.944 459.328 44.376C459.536 44.68 459.784 45.032 460.072 45.432C460.36 45.816 460.68 46.192 461.032 46.56C461.384 46.912 461.768 47.216 462.184 47.472C462.6 47.712 463.048 47.832 463.528 47.832H464.152V40.056H466V49.992H464.056C463.384 49.992 462.76 49.88 462.184 49.656C461.608 49.432 461.072 49.128 460.576 48.744C460.08 48.36 459.624 47.92 459.208 47.424C458.776 46.928 458.376 46.408 458.008 45.864C457.72 45.4 457.408 44.952 457.072 44.52C456.736 44.072 456.392 43.672 456.04 43.32C455.672 42.968 455.296 42.688 454.912 42.48C454.528 42.272 454.136 42.168 453.736 42.168C453.304 42.168 452.936 42.264 452.632 42.456C452.312 42.632 452.056 42.872 451.864 43.176C451.656 43.48 451.504 43.824 451.408 44.208C451.312 44.576 451.264 44.952 451.264 45.336C451.264 46.008 451.384 46.632 451.624 47.208C451.848 47.784 452.144 48.288 452.512 48.72L450.952 49.8C450.488 49.256 450.096 48.608 449.776 47.856C449.456 47.104 449.296 46.264 449.296 45.336C449.296 44.664 449.376 44.008 449.536 43.368C449.696 42.728 449.952 42.16 450.304 41.664C450.64 41.168 451.088 40.768 451.648 40.464C452.192 40.16 452.856 40.008 453.64 40.008ZM463.456 29.064H466V31.176H463.456V38.376H461.68C459.664 37.464 457.632 36.552 455.584 35.64C453.536 34.712 451.496 33.792 449.464 32.88V30.672L461.584 36.048V31.176H456.64V29.064H461.584V27.648H463.456V29.064Z");
			attr(path45, "fill", "white");
			attr(rect32, "x", "493");
			attr(rect32, "y", "11");
			attr(rect32, "width", "36");
			attr(rect32, "height", "56");
			attr(rect32, "fill", "#DA4453");
			attr(path46, "d", "M506.64 40.008C507.248 40.008 507.832 40.16 508.392 40.464C508.952 40.752 509.48 41.12 509.976 41.568C510.456 42 510.896 42.472 511.296 42.984C511.696 43.48 512.04 43.944 512.328 44.376C512.536 44.68 512.784 45.032 513.072 45.432C513.36 45.816 513.68 46.192 514.032 46.56C514.384 46.912 514.768 47.216 515.184 47.472C515.6 47.712 516.048 47.832 516.528 47.832H517.152V40.056H519V49.992H517.056C516.384 49.992 515.76 49.88 515.184 49.656C514.608 49.432 514.072 49.128 513.576 48.744C513.08 48.36 512.624 47.92 512.208 47.424C511.776 46.928 511.376 46.408 511.008 45.864C510.72 45.4 510.408 44.952 510.072 44.52C509.736 44.072 509.392 43.672 509.04 43.32C508.672 42.968 508.296 42.688 507.912 42.48C507.528 42.272 507.136 42.168 506.736 42.168C506.304 42.168 505.936 42.264 505.632 42.456C505.312 42.632 505.056 42.872 504.864 43.176C504.656 43.48 504.504 43.824 504.408 44.208C504.312 44.576 504.264 44.952 504.264 45.336C504.264 46.008 504.384 46.632 504.624 47.208C504.848 47.784 505.144 48.288 505.512 48.72L503.952 49.8C503.488 49.256 503.096 48.608 502.776 47.856C502.456 47.104 502.296 46.264 502.296 45.336C502.296 44.664 502.376 44.008 502.536 43.368C502.696 42.728 502.952 42.16 503.304 41.664C503.64 41.168 504.088 40.768 504.648 40.464C505.192 40.16 505.856 40.008 506.64 40.008ZM519 34.128V36.384L504.384 30.432V35.928H506.856V37.92H502.464V28.08H504.312L519 34.128Z");
			attr(path46, "fill", "white");
			attr(rect33, "x", "546");
			attr(rect33, "y", "11");
			attr(rect33, "width", "36");
			attr(rect33, "height", "56");
			attr(rect33, "fill", "#DA4453");
			attr(path47, "d", "M555.32 45.576C555.32 44.984 555.392 44.4 555.536 43.824C555.68 43.232 555.92 42.704 556.256 42.24C556.576 41.76 557.008 41.376 557.552 41.088C558.096 40.8 558.76 40.656 559.544 40.656C560.36 40.656 561.112 40.856 561.8 41.256C562.472 41.64 562.952 42.216 563.24 42.984C563.4 42.6 563.624 42.264 563.912 41.976C564.184 41.672 564.496 41.424 564.848 41.232C565.2 41.024 565.576 40.872 565.976 40.776C566.376 40.664 566.768 40.608 567.152 40.608C567.984 40.608 568.712 40.76 569.336 41.064C569.96 41.352 570.488 41.744 570.92 42.24C571.336 42.72 571.648 43.288 571.856 43.944C572.064 44.584 572.168 45.264 572.168 45.984C572.168 46.992 572.008 47.912 571.688 48.744C571.352 49.56 570.96 50.224 570.512 50.736L568.88 49.632C569.296 49.168 569.624 48.616 569.864 47.976C570.104 47.32 570.224 46.696 570.224 46.104C570.224 45.08 569.976 44.264 569.48 43.656C568.968 43.032 568.256 42.72 567.344 42.72C566.432 42.72 565.696 42.968 565.136 43.464C564.576 43.96 564.296 44.608 564.296 45.408V47.28H562.448V45.36C562.448 45.056 562.392 44.752 562.28 44.448C562.168 44.128 562 43.848 561.776 43.608C561.536 43.352 561.24 43.152 560.888 43.008C560.536 42.848 560.12 42.768 559.64 42.768C559.208 42.768 558.84 42.856 558.536 43.032C558.232 43.208 557.984 43.448 557.792 43.752C557.6 44.04 557.464 44.368 557.384 44.736C557.304 45.104 557.264 45.48 557.264 45.864C557.264 46.456 557.392 47.064 557.648 47.688C557.904 48.296 558.216 48.816 558.584 49.248L557 50.376C556.552 49.864 556.16 49.192 555.824 48.36C555.488 47.512 555.32 46.584 555.32 45.576ZM567.872 27.96C568.544 27.96 569.144 28.112 569.672 28.416C570.2 28.704 570.648 29.088 571.016 29.568C571.368 30.048 571.64 30.592 571.832 31.2C572.024 31.792 572.12 32.392 572.12 33C572.12 33.624 572.024 34.24 571.832 34.848C571.64 35.44 571.368 35.976 571.016 36.456C570.648 36.92 570.2 37.304 569.672 37.608C569.144 37.896 568.544 38.04 567.872 38.04H559.616C558.944 38.04 558.344 37.896 557.816 37.608C557.272 37.304 556.816 36.912 556.448 36.432C556.064 35.952 555.776 35.416 555.584 34.824C555.392 34.216 555.296 33.608 555.296 33C555.296 32.392 555.392 31.792 555.584 31.2C555.776 30.592 556.064 30.048 556.448 29.568C556.816 29.088 557.272 28.704 557.816 28.416C558.344 28.112 558.944 27.96 559.616 27.96H567.872ZM560.144 30.048C559.616 30.048 559.168 30.144 558.8 30.336C558.432 30.528 558.136 30.768 557.912 31.056C557.672 31.344 557.504 31.664 557.408 32.016C557.312 32.352 557.264 32.68 557.264 33C557.264 33.32 557.312 33.656 557.408 34.008C557.504 34.344 557.672 34.656 557.912 34.944C558.136 35.232 558.432 35.472 558.8 35.664C559.168 35.84 559.616 35.928 560.144 35.928H567.344C567.872 35.928 568.32 35.84 568.688 35.664C569.04 35.472 569.336 35.232 569.576 34.944C569.8 34.656 569.96 34.344 570.056 34.008C570.152 33.656 570.2 33.32 570.2 33C570.2 32.68 570.152 32.352 570.056 32.016C569.96 31.664 569.8 31.344 569.576 31.056C569.336 30.768 569.04 30.528 568.688 30.336C568.32 30.144 567.872 30.048 567.344 30.048H560.144Z");
			attr(path47, "fill", "white");
			attr(rect34, "x", "599");
			attr(rect34, "y", "11");
			attr(rect34, "width", "36");
			attr(rect34, "height", "56");
			attr(rect34, "fill", "#0D0D0D");
			attr(path48, "d", "M608.32 45.576C608.32 44.984 608.392 44.4 608.536 43.824C608.68 43.232 608.92 42.704 609.256 42.24C609.576 41.76 610.008 41.376 610.552 41.088C611.096 40.8 611.76 40.656 612.544 40.656C613.36 40.656 614.112 40.856 614.8 41.256C615.472 41.64 615.952 42.216 616.24 42.984C616.4 42.6 616.624 42.264 616.912 41.976C617.184 41.672 617.496 41.424 617.848 41.232C618.2 41.024 618.576 40.872 618.976 40.776C619.376 40.664 619.768 40.608 620.152 40.608C620.984 40.608 621.712 40.76 622.336 41.064C622.96 41.352 623.488 41.744 623.92 42.24C624.336 42.72 624.648 43.288 624.856 43.944C625.064 44.584 625.168 45.264 625.168 45.984C625.168 46.992 625.008 47.912 624.688 48.744C624.352 49.56 623.96 50.224 623.512 50.736L621.88 49.632C622.296 49.168 622.624 48.616 622.864 47.976C623.104 47.32 623.224 46.696 623.224 46.104C623.224 45.08 622.976 44.264 622.48 43.656C621.968 43.032 621.256 42.72 620.344 42.72C619.432 42.72 618.696 42.968 618.136 43.464C617.576 43.96 617.296 44.608 617.296 45.408V47.28H615.448V45.36C615.448 45.056 615.392 44.752 615.28 44.448C615.168 44.128 615 43.848 614.776 43.608C614.536 43.352 614.24 43.152 613.888 43.008C613.536 42.848 613.12 42.768 612.64 42.768C612.208 42.768 611.84 42.856 611.536 43.032C611.232 43.208 610.984 43.448 610.792 43.752C610.6 44.04 610.464 44.368 610.384 44.736C610.304 45.104 610.264 45.48 610.264 45.864C610.264 46.456 610.392 47.064 610.648 47.688C610.904 48.296 611.216 48.816 611.584 49.248L610 50.376C609.552 49.864 609.16 49.192 608.824 48.36C608.488 47.512 608.32 46.584 608.32 45.576ZM608.32 33.576C608.32 32.984 608.392 32.4 608.536 31.824C608.68 31.232 608.92 30.704 609.256 30.24C609.576 29.76 610.008 29.376 610.552 29.088C611.096 28.8 611.76 28.656 612.544 28.656C613.36 28.656 614.112 28.856 614.8 29.256C615.472 29.64 615.952 30.216 616.24 30.984C616.4 30.6 616.624 30.264 616.912 29.976C617.184 29.672 617.496 29.424 617.848 29.232C618.2 29.024 618.576 28.872 618.976 28.776C619.376 28.664 619.768 28.608 620.152 28.608C620.984 28.608 621.712 28.76 622.336 29.064C622.96 29.352 623.488 29.744 623.92 30.24C624.336 30.72 624.648 31.288 624.856 31.944C625.064 32.584 625.168 33.264 625.168 33.984C625.168 34.992 625.008 35.912 624.688 36.744C624.352 37.56 623.96 38.224 623.512 38.736L621.88 37.632C622.296 37.168 622.624 36.616 622.864 35.976C623.104 35.32 623.224 34.696 623.224 34.104C623.224 33.08 622.976 32.264 622.48 31.656C621.968 31.032 621.256 30.72 620.344 30.72C619.432 30.72 618.696 30.968 618.136 31.464C617.576 31.96 617.296 32.608 617.296 33.408V35.28H615.448V33.36C615.448 33.056 615.392 32.752 615.28 32.448C615.168 32.128 615 31.848 614.776 31.608C614.536 31.352 614.24 31.152 613.888 31.008C613.536 30.848 613.12 30.768 612.64 30.768C612.208 30.768 611.84 30.856 611.536 31.032C611.232 31.208 610.984 31.448 610.792 31.752C610.6 32.04 610.464 32.368 610.384 32.736C610.304 33.104 610.264 33.48 610.264 33.864C610.264 34.456 610.392 35.064 610.648 35.688C610.904 36.296 611.216 36.816 611.584 37.248L610 38.376C609.552 37.864 609.16 37.192 608.824 36.36C608.488 35.512 608.32 34.584 608.32 33.576Z");
			attr(path48, "fill", "white");
			attr(rect35, "x", "652");
			attr(rect35, "y", "11");
			attr(rect35, "width", "36");
			attr(rect35, "height", "56");
			attr(rect35, "fill", "#DA4453");
			attr(path49, "d", "M661.32 45.576C661.32 44.984 661.392 44.4 661.536 43.824C661.68 43.232 661.92 42.704 662.256 42.24C662.576 41.76 663.008 41.376 663.552 41.088C664.096 40.8 664.76 40.656 665.544 40.656C666.36 40.656 667.112 40.856 667.8 41.256C668.472 41.64 668.952 42.216 669.24 42.984C669.4 42.6 669.624 42.264 669.912 41.976C670.184 41.672 670.496 41.424 670.848 41.232C671.2 41.024 671.576 40.872 671.976 40.776C672.376 40.664 672.768 40.608 673.152 40.608C673.984 40.608 674.712 40.76 675.336 41.064C675.96 41.352 676.488 41.744 676.92 42.24C677.336 42.72 677.648 43.288 677.856 43.944C678.064 44.584 678.168 45.264 678.168 45.984C678.168 46.992 678.008 47.912 677.688 48.744C677.352 49.56 676.96 50.224 676.512 50.736L674.88 49.632C675.296 49.168 675.624 48.616 675.864 47.976C676.104 47.32 676.224 46.696 676.224 46.104C676.224 45.08 675.976 44.264 675.48 43.656C674.968 43.032 674.256 42.72 673.344 42.72C672.432 42.72 671.696 42.968 671.136 43.464C670.576 43.96 670.296 44.608 670.296 45.408V47.28H668.448V45.36C668.448 45.056 668.392 44.752 668.28 44.448C668.168 44.128 668 43.848 667.776 43.608C667.536 43.352 667.24 43.152 666.888 43.008C666.536 42.848 666.12 42.768 665.64 42.768C665.208 42.768 664.84 42.856 664.536 43.032C664.232 43.208 663.984 43.448 663.792 43.752C663.6 44.04 663.464 44.368 663.384 44.736C663.304 45.104 663.264 45.48 663.264 45.864C663.264 46.456 663.392 47.064 663.648 47.688C663.904 48.296 664.216 48.816 664.584 49.248L663 50.376C662.552 49.864 662.16 49.192 661.824 48.36C661.488 47.512 661.32 46.584 661.32 45.576ZM665.688 37.944C665 37.944 664.384 37.808 663.84 37.536C663.296 37.264 662.84 36.904 662.472 36.456C662.088 35.992 661.8 35.456 661.608 34.848C661.4 34.224 661.296 33.576 661.296 32.904C661.296 31.864 661.464 30.984 661.8 30.264C662.12 29.528 662.512 28.896 662.976 28.368L664.656 29.568C664.208 30.064 663.872 30.584 663.648 31.128C663.408 31.656 663.288 32.232 663.288 32.856C663.288 33.16 663.336 33.488 663.432 33.84C663.528 34.176 663.688 34.496 663.912 34.8C664.136 35.088 664.432 35.336 664.8 35.544C665.152 35.736 665.592 35.832 666.12 35.832H668.832C668.336 35.064 667.992 34.36 667.8 33.72C667.592 33.064 667.488 32.496 667.488 32.016C667.488 31.408 667.592 30.864 667.8 30.384C668.008 29.888 668.304 29.472 668.688 29.136C669.056 28.784 669.504 28.52 670.032 28.344C670.544 28.152 671.112 28.056 671.736 28.056H673.704C674.392 28.056 675.008 28.192 675.552 28.464C676.096 28.736 676.56 29.104 676.944 29.568C677.328 30.016 677.624 30.544 677.832 31.152C678.024 31.744 678.12 32.368 678.12 33.024C678.12 33.728 678.024 34.376 677.832 34.968C677.64 35.56 677.36 36.08 676.992 36.528C676.624 36.976 676.176 37.328 675.648 37.584C675.104 37.824 674.488 37.944 673.8 37.944H665.688ZM671.928 30.168C671.096 30.168 670.488 30.376 670.104 30.792C669.72 31.192 669.528 31.696 669.528 32.304C669.528 32.864 669.648 33.432 669.888 34.008C670.128 34.568 670.464 35.176 670.896 35.832H673.344C673.856 35.832 674.296 35.744 674.664 35.568C675.016 35.392 675.304 35.168 675.528 34.896C675.752 34.624 675.92 34.328 676.032 34.008C676.128 33.672 676.176 33.344 676.176 33.024C676.176 32.72 676.128 32.4 676.032 32.064C675.92 31.712 675.752 31.4 675.528 31.128C675.288 30.856 674.992 30.632 674.64 30.456C674.288 30.264 673.856 30.168 673.344 30.168H671.928Z");
			attr(path49, "fill", "white");
			attr(path50, "d", "M722.73 199.894C723.186 199.894 723.624 200.008 724.044 200.236C724.464 200.452 724.86 200.728 725.232 201.064C725.592 201.388 725.922 201.742 726.222 202.126C726.522 202.498 726.78 202.846 726.996 203.17C727.152 203.398 727.338 203.662 727.554 203.962C727.77 204.25 728.01 204.532 728.274 204.808C728.538 205.072 728.826 205.3 729.138 205.492C729.45 205.672 729.786 205.762 730.146 205.762H730.614V199.93H732V207.382H730.542C730.038 207.382 729.57 207.298 729.138 207.13C728.706 206.962 728.304 206.734 727.932 206.446C727.56 206.158 727.218 205.828 726.906 205.456C726.582 205.084 726.282 204.694 726.006 204.286C725.79 203.938 725.556 203.602 725.304 203.278C725.052 202.942 724.794 202.642 724.53 202.378C724.254 202.114 723.972 201.904 723.684 201.748C723.396 201.592 723.102 201.514 722.802 201.514C722.478 201.514 722.202 201.586 721.974 201.73C721.734 201.862 721.542 202.042 721.398 202.27C721.242 202.498 721.128 202.756 721.056 203.044C720.984 203.32 720.948 203.602 720.948 203.89C720.948 204.394 721.038 204.862 721.218 205.294C721.386 205.726 721.608 206.104 721.884 206.428L720.714 207.238C720.366 206.83 720.072 206.344 719.832 205.78C719.592 205.216 719.472 204.586 719.472 203.89C719.472 203.386 719.532 202.894 719.652 202.414C719.772 201.934 719.964 201.508 720.228 201.136C720.48 200.764 720.816 200.464 721.236 200.236C721.644 200.008 722.142 199.894 722.73 199.894ZM731.784 188.405C731.904 188.753 731.982 189.119 732.018 189.503C732.066 189.875 732.09 190.151 732.09 190.331C732.09 191.279 731.874 191.963 731.442 192.383C731.01 192.803 730.29 193.013 729.282 193.013H724.458V194.273H723.072V192.977L721.002 192.617V191.483H723.072V188.999H724.458V191.483H728.814C729.174 191.483 729.474 191.453 729.714 191.393C729.942 191.321 730.128 191.231 730.272 191.123C730.404 191.003 730.494 190.859 730.542 190.691C730.59 190.523 730.614 190.331 730.614 190.115C730.614 189.911 730.602 189.689 730.578 189.449C730.542 189.197 730.506 188.933 730.47 188.657L731.784 188.405ZM728.85 180.03C729.366 180.03 729.828 180.132 730.236 180.336C730.632 180.528 730.968 180.798 731.244 181.146C731.52 181.482 731.73 181.872 731.874 182.316C732.018 182.76 732.09 183.234 732.09 183.738C732.09 184.254 732.018 184.734 731.874 185.178C731.73 185.622 731.52 186.012 731.244 186.348C730.968 186.672 730.632 186.93 730.236 187.122C729.828 187.314 729.366 187.41 728.85 187.41H726.258C725.742 187.41 725.286 187.314 724.89 187.122C724.482 186.918 724.14 186.654 723.864 186.33C723.576 185.994 723.36 185.604 723.216 185.16C723.06 184.704 722.982 184.224 722.982 183.72C722.982 183.18 723.06 182.688 723.216 182.244C723.36 181.788 723.576 181.398 723.864 181.074C724.14 180.738 724.482 180.48 724.89 180.3C725.286 180.12 725.742 180.03 726.258 180.03H728.85ZM726.528 181.56C726.144 181.56 725.82 181.626 725.556 181.758C725.28 181.89 725.058 182.064 724.89 182.28C724.722 182.484 724.602 182.712 724.53 182.964C724.458 183.216 724.422 183.462 724.422 183.702C724.422 183.954 724.458 184.206 724.53 184.458C724.602 184.71 724.722 184.944 724.89 185.16C725.058 185.364 725.28 185.532 725.556 185.664C725.82 185.796 726.144 185.862 726.528 185.862H728.544C728.928 185.862 729.258 185.808 729.534 185.7C729.798 185.58 730.014 185.424 730.182 185.232C730.35 185.04 730.47 184.812 730.542 184.548C730.614 184.284 730.65 184.002 730.65 183.702C730.65 183.462 730.614 183.216 730.542 182.964C730.47 182.712 730.35 182.484 730.182 182.28C730.014 182.064 729.798 181.89 729.534 181.758C729.258 181.626 728.928 181.56 728.544 181.56H726.528ZM732 170.632H721.506L722.892 172.324L721.758 173.152L719.598 170.542V169.084H732V170.632Z");
			attr(path50, "fill", "white");
			attr(path51, "d", "M722.73 125.894C723.186 125.894 723.624 126.008 724.044 126.236C724.464 126.452 724.86 126.728 725.232 127.064C725.592 127.388 725.922 127.742 726.222 128.126C726.522 128.498 726.78 128.846 726.996 129.17C727.152 129.398 727.338 129.662 727.554 129.962C727.77 130.25 728.01 130.532 728.274 130.808C728.538 131.072 728.826 131.3 729.138 131.492C729.45 131.672 729.786 131.762 730.146 131.762H730.614V125.93H732V133.382H730.542C730.038 133.382 729.57 133.298 729.138 133.13C728.706 132.962 728.304 132.734 727.932 132.446C727.56 132.158 727.218 131.828 726.906 131.456C726.582 131.084 726.282 130.694 726.006 130.286C725.79 129.938 725.556 129.602 725.304 129.278C725.052 128.942 724.794 128.642 724.53 128.378C724.254 128.114 723.972 127.904 723.684 127.748C723.396 127.592 723.102 127.514 722.802 127.514C722.478 127.514 722.202 127.586 721.974 127.73C721.734 127.862 721.542 128.042 721.398 128.27C721.242 128.498 721.128 128.756 721.056 129.044C720.984 129.32 720.948 129.602 720.948 129.89C720.948 130.394 721.038 130.862 721.218 131.294C721.386 131.726 721.608 132.104 721.884 132.428L720.714 133.238C720.366 132.83 720.072 132.344 719.832 131.78C719.592 131.216 719.472 130.586 719.472 129.89C719.472 129.386 719.532 128.894 719.652 128.414C719.772 127.934 719.964 127.508 720.228 127.136C720.48 126.764 720.816 126.464 721.236 126.236C721.644 126.008 722.142 125.894 722.73 125.894ZM731.784 114.405C731.904 114.753 731.982 115.119 732.018 115.503C732.066 115.875 732.09 116.151 732.09 116.331C732.09 117.279 731.874 117.963 731.442 118.383C731.01 118.803 730.29 119.013 729.282 119.013H724.458V120.273H723.072V118.977L721.002 118.617V117.483H723.072V114.999H724.458V117.483H728.814C729.174 117.483 729.474 117.453 729.714 117.393C729.942 117.321 730.128 117.231 730.272 117.123C730.404 117.003 730.494 116.859 730.542 116.691C730.59 116.523 730.614 116.331 730.614 116.115C730.614 115.911 730.602 115.689 730.578 115.449C730.542 115.197 730.506 114.933 730.47 114.657L731.784 114.405ZM728.85 106.03C729.366 106.03 729.828 106.132 730.236 106.336C730.632 106.528 730.968 106.798 731.244 107.146C731.52 107.482 731.73 107.872 731.874 108.316C732.018 108.76 732.09 109.234 732.09 109.738C732.09 110.254 732.018 110.734 731.874 111.178C731.73 111.622 731.52 112.012 731.244 112.348C730.968 112.672 730.632 112.93 730.236 113.122C729.828 113.314 729.366 113.41 728.85 113.41H726.258C725.742 113.41 725.286 113.314 724.89 113.122C724.482 112.918 724.14 112.654 723.864 112.33C723.576 111.994 723.36 111.604 723.216 111.16C723.06 110.704 722.982 110.224 722.982 109.72C722.982 109.18 723.06 108.688 723.216 108.244C723.36 107.788 723.576 107.398 723.864 107.074C724.14 106.738 724.482 106.48 724.89 106.3C725.286 106.12 725.742 106.03 726.258 106.03H728.85ZM726.528 107.56C726.144 107.56 725.82 107.626 725.556 107.758C725.28 107.89 725.058 108.064 724.89 108.28C724.722 108.484 724.602 108.712 724.53 108.964C724.458 109.216 724.422 109.462 724.422 109.702C724.422 109.954 724.458 110.206 724.53 110.458C724.602 110.71 724.722 110.944 724.89 111.16C725.058 111.364 725.28 111.532 725.556 111.664C725.82 111.796 726.144 111.862 726.528 111.862H728.544C728.928 111.862 729.258 111.808 729.534 111.7C729.798 111.58 730.014 111.424 730.182 111.232C730.35 111.04 730.47 110.812 730.542 110.548C730.614 110.284 730.65 110.002 730.65 109.702C730.65 109.462 730.614 109.216 730.542 108.964C730.47 108.712 730.35 108.484 730.182 108.28C730.014 108.064 729.798 107.89 729.534 107.758C729.258 107.626 728.928 107.56 728.544 107.56H726.528ZM732 96.6323H721.506L722.892 98.3243L721.758 99.1523L719.598 96.5423V95.0843H732V96.6323Z");
			attr(path51, "fill", "white");
			attr(path52, "d", "M722.73 51.8937C723.186 51.8937 723.624 52.0077 724.044 52.2357C724.464 52.4517 724.86 52.7277 725.232 53.0637C725.592 53.3877 725.922 53.7417 726.222 54.1257C726.522 54.4977 726.78 54.8457 726.996 55.1697C727.152 55.3977 727.338 55.6617 727.554 55.9617C727.77 56.2497 728.01 56.5317 728.274 56.8077C728.538 57.0717 728.826 57.2997 729.138 57.4917C729.45 57.6717 729.786 57.7617 730.146 57.7617H730.614V51.9297H732V59.3817H730.542C730.038 59.3817 729.57 59.2977 729.138 59.1297C728.706 58.9617 728.304 58.7337 727.932 58.4457C727.56 58.1577 727.218 57.8277 726.906 57.4557C726.582 57.0837 726.282 56.6937 726.006 56.2857C725.79 55.9377 725.556 55.6017 725.304 55.2777C725.052 54.9417 724.794 54.6417 724.53 54.3777C724.254 54.1137 723.972 53.9037 723.684 53.7477C723.396 53.5917 723.102 53.5137 722.802 53.5137C722.478 53.5137 722.202 53.5857 721.974 53.7297C721.734 53.8617 721.542 54.0417 721.398 54.2697C721.242 54.4977 721.128 54.7557 721.056 55.0437C720.984 55.3197 720.948 55.6017 720.948 55.8897C720.948 56.3937 721.038 56.8617 721.218 57.2937C721.386 57.7257 721.608 58.1037 721.884 58.4277L720.714 59.2377C720.366 58.8297 720.072 58.3437 719.832 57.7797C719.592 57.2157 719.472 56.5857 719.472 55.8897C719.472 55.3857 719.532 54.8937 719.652 54.4137C719.772 53.9337 719.964 53.5077 720.228 53.1357C720.48 52.7637 720.816 52.4637 721.236 52.2357C721.644 52.0077 722.142 51.8937 722.73 51.8937ZM731.784 40.4055C731.904 40.7535 731.982 41.1195 732.018 41.5035C732.066 41.8755 732.09 42.1515 732.09 42.3315C732.09 43.2795 731.874 43.9635 731.442 44.3835C731.01 44.8035 730.29 45.0135 729.282 45.0135H724.458V46.2735H723.072V44.9775L721.002 44.6175V43.4835H723.072V40.9995H724.458V43.4835H728.814C729.174 43.4835 729.474 43.4535 729.714 43.3935C729.942 43.3215 730.128 43.2315 730.272 43.1235C730.404 43.0035 730.494 42.8595 730.542 42.6915C730.59 42.5235 730.614 42.3315 730.614 42.1155C730.614 41.9115 730.602 41.6895 730.578 41.4495C730.542 41.1975 730.506 40.9335 730.47 40.6575L731.784 40.4055ZM728.85 32.0304C729.366 32.0304 729.828 32.1324 730.236 32.3364C730.632 32.5284 730.968 32.7984 731.244 33.1464C731.52 33.4824 731.73 33.8724 731.874 34.3164C732.018 34.7604 732.09 35.2344 732.09 35.7384C732.09 36.2544 732.018 36.7344 731.874 37.1784C731.73 37.6224 731.52 38.0124 731.244 38.3484C730.968 38.6724 730.632 38.9304 730.236 39.1224C729.828 39.3144 729.366 39.4104 728.85 39.4104H726.258C725.742 39.4104 725.286 39.3144 724.89 39.1224C724.482 38.9184 724.14 38.6544 723.864 38.3304C723.576 37.9944 723.36 37.6044 723.216 37.1604C723.06 36.7044 722.982 36.2244 722.982 35.7204C722.982 35.1804 723.06 34.6884 723.216 34.2444C723.36 33.7884 723.576 33.3984 723.864 33.0744C724.14 32.7384 724.482 32.4804 724.89 32.3004C725.286 32.1204 725.742 32.0304 726.258 32.0304H728.85ZM726.528 33.5604C726.144 33.5604 725.82 33.6264 725.556 33.7584C725.28 33.8904 725.058 34.0644 724.89 34.2804C724.722 34.4844 724.602 34.7124 724.53 34.9644C724.458 35.2164 724.422 35.4624 724.422 35.7024C724.422 35.9544 724.458 36.2064 724.53 36.4584C724.602 36.7104 724.722 36.9444 724.89 37.1604C725.058 37.3644 725.28 37.5324 725.556 37.6644C725.82 37.7964 726.144 37.8624 726.528 37.8624H728.544C728.928 37.8624 729.258 37.8084 729.534 37.7004C729.798 37.5804 730.014 37.4244 730.182 37.2324C730.35 37.0404 730.47 36.8124 730.542 36.5484C730.614 36.2844 730.65 36.0024 730.65 35.7024C730.65 35.4624 730.614 35.2164 730.542 34.9644C730.47 34.7124 730.35 34.4844 730.182 34.2804C730.014 34.0644 729.798 33.8904 729.534 33.7584C729.258 33.6264 728.928 33.5604 728.544 33.5604H726.528ZM732 22.6323H721.506L722.892 24.3243L721.758 25.1523L719.598 22.5423V21.0843H732V22.6323Z");
			attr(path52, "fill", "white");
			attr(svg, "class", /*className*/ ctx[0]);
			attr(svg, "viewBox", "0 0 757 342");
			attr(svg, "fill", "none");
			attr(svg, "xmlns", "http://www.w3.org/2000/svg");
		},
		m(target, anchor) {
			insert(target, svg, anchor);
			append(svg, path0);
			append(svg, path1);
			append(svg, path2);
			append(svg, path3);
			append(svg, path4);
			append(svg, path5);
			append(svg, path6);
			append(svg, path7);
			append(svg, path8);
			append(svg, path9);
			append(svg, path10);
			append(svg, path11);
			append(svg, path12);
			append(svg, path13);
			append(svg, rect0);
			append(svg, path14);
			append(svg, rect1);
			append(svg, path15);
			append(svg, rect2);
			append(svg, path16);
			append(svg, rect3);
			append(svg, path17);
			append(svg, rect4);
			append(svg, path18);
			append(svg, rect5);
			append(svg, path19);
			append(svg, rect6);
			append(svg, path20);
			append(svg, rect7);
			append(svg, path21);
			append(svg, rect8);
			append(svg, path22);
			append(svg, rect9);
			append(svg, path23);
			append(svg, rect10);
			append(svg, path24);
			append(svg, rect11);
			append(svg, path25);
			append(svg, rect12);
			append(svg, path26);
			append(svg, rect13);
			append(svg, path27);
			append(svg, rect14);
			append(svg, path28);
			append(svg, rect15);
			append(svg, path29);
			append(svg, rect16);
			append(svg, path30);
			append(svg, rect17);
			append(svg, path31);
			append(svg, rect18);
			append(svg, path32);
			append(svg, rect19);
			append(svg, path33);
			append(svg, rect20);
			append(svg, path34);
			append(svg, rect21);
			append(svg, path35);
			append(svg, rect22);
			append(svg, path36);
			append(svg, rect23);
			append(svg, path37);
			append(svg, rect24);
			append(svg, path38);
			append(svg, rect25);
			append(svg, path39);
			append(svg, rect26);
			append(svg, path40);
			append(svg, rect27);
			append(svg, path41);
			append(svg, rect28);
			append(svg, path42);
			append(svg, rect29);
			append(svg, path43);
			append(svg, rect30);
			append(svg, path44);
			append(svg, rect31);
			append(svg, path45);
			append(svg, rect32);
			append(svg, path46);
			append(svg, rect33);
			append(svg, path47);
			append(svg, rect34);
			append(svg, path48);
			append(svg, rect35);
			append(svg, path49);
			append(svg, path50);
			append(svg, path51);
			append(svg, path52);
		},
		p(ctx, [dirty]) {
			if (dirty & /*className*/ 1) {
				attr(svg, "class", /*className*/ ctx[0]);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(svg);
		}
	};
}

function roulette_icon_index_svelte_instance($$self, $$props, $$invalidate) {
	let { className = '' } = $$props;

	$$self.$$set = $$props => {
		if ('className' in $$props) $$invalidate(0, className = $$props.className);
	};

	return [className];
}

class Roulette_icon extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, roulette_icon_index_svelte_instance, roulette_icon_index_svelte_create_fragment, safe_not_equal, { className: 0 });
	}
}

/* harmony default export */ const roulette_icon_index_svelte = (Roulette_icon);
;// CONCATENATED MODULE: ./src/views/casino/features/roulette/components/rules/constants.js
var ROULETTE_PAYOUTS = ['Прямая ставка: <span class="casino-roulette-rules__payout-rule">ставка на отдельный номер</span>. Выплата 35 к 1', 'Сплит: <span class="casino-roulette-rules__payout-rule">ставка делается на линию, разделяющую два номера</span>. Выплата 17 к 1', 'Трио: <span class="casino-roulette-rules__payout-rule">ставка на три номера, один из которых зеро, двойное зеро или оба</span>. Выплата 11 к 1', 'Каре: <span class="casino-roulette-rules__payout-rule">ставка на четыре смежных номера</span>. <span class="casino-roulette-rules__payout-description">Фишка ставится в точку пересечения этих четырех номеров</span>. Выплата 8 к 1', 'Стрит: <span class="casino-roulette-rules__payout-rule">ставка на ряд в три номера</span>. <span class="casino-roulette-rules__payout-description">Фишка ставится в конце ряда</span>. Выплата 11 к 1', '6 номеров: <span class="casino-roulette-rules__payout-rule">ставка на шесть номеров</span>. <span class="casino-roulette-rules__payout-description">Фишка ставится в конце ряда на линию между двумя стритами</span>. Выплата 5 к 1', '5 номеров: <span class="casino-roulette-rules__payout-rule">ставка на пять номеров - 0, 00, 1, 2 и 3</span>. Выплата 6 к 1', 'Красное: <span class="casino-roulette-rules__payout-rule">ставка на 18 номеров на красном поле</span>. Выплата 1 к 1', 'Черное: <span class="casino-roulette-rules__payout-rule">ставка на 18 номеров на черном поле</span>. Выплата 1 к 1', 'Чет: <span class="casino-roulette-rules__payout-rule">ставка на 18 четных номеров</span>. Выплата 1 к 1', 'Нечет: <span class="casino-roulette-rules__payout-rule">ставка на 18 нечетных номеров</span>. Выплата 1 к 1', 'Малые/большие: <span class="casino-roulette-rules__payout-rule">ставка на 18 малых номеров (1-18) или больших номеров (19-36)</span>. Выплата 1 к 1', 'Колонна: <span class="casino-roulette-rules__payout-rule">ставка на 12 номеров в одной из колонок</span>. Выплата 2 к 1', 'Дюжина: <span class="casino-roulette-rules__payout-rule">ставка на 12 номеров, 1-12, 13-24 или 25-36</span>. Выплата 2 к 1'];
;// CONCATENATED MODULE: ./src/views/casino/features/roulette/components/rules/index.svelte
/* src\views\casino\features\roulette\components\rules\index.svelte generated by Svelte v3.49.0 */






function rules_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[0] = list[i];
	return child_ctx;
}

// (19:12) {#each ROULETTE_PAYOUTS as payout}
function rules_index_svelte_create_each_block(ctx) {
	let div;
	let html_tag;
	let raw_value = /*payout*/ ctx[0] + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			html_tag = new HtmlTag(false);
			t = space();
			html_tag.a = t;
			attr(div, "class", "casino-roulette-rules__payouts-item");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			html_tag.m(raw_value, div);
			append(div, t);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function rules_index_svelte_create_fragment(ctx) {
	let div3;
	let p0;
	let t1;
	let div1;
	let p1;
	let t3;
	let p2;
	let t5;
	let div0;
	let t6;
	let div2;
	let p3;
	let t8;
	let rouletteicon;
	let t9;
	let p4;
	let current;
	let each_value = ROULETTE_PAYOUTS;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = rules_index_svelte_create_each_block(rules_index_svelte_get_each_context(ctx, each_value, i));
	}

	rouletteicon = new roulette_icon_index_svelte({
			props: {
				className: "casino-roulette-rules__board-image"
			}
		});

	return {
		c() {
			div3 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Правила";
			t1 = space();
			div1 = internal_element("div");
			p1 = internal_element("p");
			p1.textContent = "Выплаты";
			t3 = space();
			p2 = internal_element("p");
			p2.textContent = "Информация о Payouts в деталях.";
			t5 = space();
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t6 = space();
			div2 = internal_element("div");
			p3 = internal_element("p");
			p3.textContent = "Цель игры в рулетку - угадать на каком номере и/или цвете остановится шарик.";
			t8 = space();
			create_component(rouletteicon.$$.fragment);
			t9 = space();
			p4 = internal_element("p");
			p4.textContent = "Для этого вы можете поместить ставку на цвет, отдельный номер, группу номеров или на четный/нечетный номер.";
			attr(p0, "class", "casino-roulette-rules__title");
			attr(p1, "class", "casino-roulette-rules__payouts-title");
			attr(p2, "class", "casino-roulette-rules__payouts-description");
			attr(div0, "class", "casino-roulette-rules__payouts-list vertical-scrollbar vertical-scrollbar--left");
			attr(div1, "class", "casino-roulette-rules__payouts-wrapper");
			attr(p3, "class", "casino-roulette-rules__board-title");
			attr(p4, "class", "casino-roulette-rules__board-description");
			attr(div2, "class", "casino-roulette-rules__board");
			attr(div3, "class", "casino-roulette-rules");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, p0);
			append(div3, t1);
			append(div3, div1);
			append(div1, p1);
			append(div1, t3);
			append(div1, p2);
			append(div1, t5);
			append(div1, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			append(div3, t6);
			append(div3, div2);
			append(div2, p3);
			append(div2, t8);
			mount_component(rouletteicon, div2, null);
			append(div2, t9);
			append(div2, p4);
			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*ROULETTE_PAYOUTS*/ 0) {
				each_value = ROULETTE_PAYOUTS;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = rules_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = rules_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div0, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i(local) {
			if (current) return;
			transition_in(rouletteicon.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(rouletteicon.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div3);
			destroy_each(each_blocks, detaching);
			destroy_component(rouletteicon);
		}
	};
}

class Rules extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, rules_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const rules_index_svelte = (Rules);
;// CONCATENATED MODULE: ./src/views/casino/components/bet-info/index.svelte
/* src\views\casino\components\bet-info\index.svelte generated by Svelte v3.49.0 */






function bet_info_index_svelte_create_if_block_6(ctx) {
	let div1;
	let div0;
	let p0;
	let t1;
	let p1;
	let t2_value = formatMoney(/*currentBet*/ ctx[3]) + "";
	let t2;
	let t3;
	let span;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Ставка";
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = space();
			span = internal_element("span");
			attr(p0, "class", "casino-bet-info__item-title bet-info__item-title--light");
			attr(span, "class", "casino-bet-info__item-icon icon-casino-chips");
			attr(p1, "class", "casino-bet-info__item-value bet-info__item-value--big");
			attr(div0, "class", "casino-bet-info__item");
			attr(div1, "class", "casino-bet-info__row");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, p0);
			append(div0, t1);
			append(div0, p1);
			append(p1, t2);
			append(p1, t3);
			append(p1, span);
		},
		p(ctx, dirty) {
			if (dirty & /*currentBet*/ 8 && t2_value !== (t2_value = formatMoney(/*currentBet*/ ctx[3]) + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (32:8) {#if !isNil(startBet)}
function bet_info_index_svelte_create_if_block_5(ctx) {
	let div;
	let p0;
	let t1;
	let p1;
	let t2_value = formatMoney(/*startBet*/ ctx[0]) + "";
	let t2;
	let t3;
	let span;

	return {
		c() {
			div = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Начальная ставка";
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = space();
			span = internal_element("span");
			attr(p0, "class", "casino-bet-info__item-title");
			attr(span, "class", "casino-bet-info__item-icon icon-casino-chips");
			attr(p1, "class", "casino-bet-info__item-value");
			attr(div, "class", "casino-bet-info__item");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p0);
			append(div, t1);
			append(div, p1);
			append(p1, t2);
			append(p1, t3);
			append(p1, span);
		},
		p(ctx, dirty) {
			if (dirty & /*startBet*/ 1 && t2_value !== (t2_value = formatMoney(/*startBet*/ ctx[0]) + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (43:8) {#if !isNil(pairPlusBet)}
function bet_info_index_svelte_create_if_block_4(ctx) {
	let div;
	let p0;
	let t1;
	let p1;
	let t2_value = formatMoney(/*pairPlusBet*/ ctx[1]) + "";
	let t2;
	let t3;
	let span;

	return {
		c() {
			div = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Ставка “Pair Plus”";
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = space();
			span = internal_element("span");
			attr(p0, "class", "casino-bet-info__item-title");
			attr(span, "class", "casino-bet-info__item-icon icon-casino-chips");
			attr(p1, "class", "casino-bet-info__item-value");
			attr(div, "class", "casino-bet-info__item");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p0);
			append(div, t1);
			append(div, p1);
			append(p1, t2);
			append(p1, t3);
			append(p1, span);
		},
		p(ctx, dirty) {
			if (dirty & /*pairPlusBet*/ 2 && t2_value !== (t2_value = formatMoney(/*pairPlusBet*/ ctx[1]) + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (54:8) {#if !isNil(returnRate)}
function bet_info_index_svelte_create_if_block_3(ctx) {
	let div;
	let p0;
	let t1;
	let p1;
	let t2_value = formatMoney(/*returnRate*/ ctx[2]) + "";
	let t2;
	let t3;
	let span;

	return {
		c() {
			div = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Ответная ставка";
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = space();
			span = internal_element("span");
			attr(p0, "class", "casino-bet-info__item-title");
			attr(span, "class", "casino-bet-info__item-icon icon-casino-chips");
			attr(p1, "class", "casino-bet-info__item-value");
			attr(div, "class", "casino-bet-info__item");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p0);
			append(div, t1);
			append(div, p1);
			append(p1, t2);
			append(p1, t3);
			append(p1, span);
		},
		p(ctx, dirty) {
			if (dirty & /*returnRate*/ 4 && t2_value !== (t2_value = formatMoney(/*returnRate*/ ctx[2]) + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (65:8) {#if !isNil(selectedBet)}
function bet_info_index_svelte_create_if_block_2(ctx) {
	let div;
	let p0;
	let t1;
	let p1;
	let t2_value = formatMoney(/*selectedBet*/ ctx[4]) + "";
	let t2;
	let t3;
	let span;

	return {
		c() {
			div = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Эта ставка";
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = space();
			span = internal_element("span");
			attr(p0, "class", "casino-bet-info__item-title");
			attr(span, "class", "casino-bet-info__item-icon icon-casino-chips");
			attr(p1, "class", "casino-bet-info__item-value");
			attr(div, "class", "casino-bet-info__item");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p0);
			append(div, t1);
			append(div, p1);
			append(p1, t2);
			append(p1, t3);
			append(p1, span);
		},
		p(ctx, dirty) {
			if (dirty & /*selectedBet*/ 16 && t2_value !== (t2_value = formatMoney(/*selectedBet*/ ctx[4]) + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (76:8) {#if !isNil(possiblePrize)}
function bet_info_index_svelte_create_if_block_1(ctx) {
	let div;
	let p0;
	let t1;
	let p1;
	let t2_value = formatMoney(/*possiblePrize*/ ctx[5]) + "";
	let t2;
	let t3;
	let span;

	return {
		c() {
			div = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Возможный выигрыш";
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = space();
			span = internal_element("span");
			attr(p0, "class", "casino-bet-info__item-title");
			attr(span, "class", "casino-bet-info__item-icon icon-casino-chips");
			attr(p1, "class", "casino-bet-info__item-value");
			attr(div, "class", "casino-bet-info__item");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p0);
			append(div, t1);
			append(div, p1);
			append(p1, t2);
			append(p1, t3);
			append(p1, span);
		},
		p(ctx, dirty) {
			if (dirty & /*possiblePrize*/ 32 && t2_value !== (t2_value = formatMoney(/*possiblePrize*/ ctx[5]) + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (88:4) {#if !isNil(betsLeft)}
function bet_info_index_svelte_create_if_block(ctx) {
	return { c: internal_noop, m: internal_noop, d: internal_noop };
}

function bet_info_index_svelte_create_fragment(ctx) {
	let div1;
	let show_if_6 = !(0,lodash.isNil)(/*currentBet*/ ctx[3]);
	let t0;
	let div0;
	let show_if_5 = !(0,lodash.isNil)(/*startBet*/ ctx[0]);
	let t1;
	let show_if_4 = !(0,lodash.isNil)(/*pairPlusBet*/ ctx[1]);
	let t2;
	let show_if_3 = !(0,lodash.isNil)(/*returnRate*/ ctx[2]);
	let t3;
	let show_if_2 = !(0,lodash.isNil)(/*selectedBet*/ ctx[4]);
	let t4;
	let show_if_1 = !(0,lodash.isNil)(/*possiblePrize*/ ctx[5]);
	let t5;
	let show_if = !(0,lodash.isNil)(/*betsLeft*/ ctx[6]);
	let if_block0 = show_if_6 && bet_info_index_svelte_create_if_block_6(ctx);
	let if_block1 = show_if_5 && bet_info_index_svelte_create_if_block_5(ctx);
	let if_block2 = show_if_4 && bet_info_index_svelte_create_if_block_4(ctx);
	let if_block3 = show_if_3 && bet_info_index_svelte_create_if_block_3(ctx);
	let if_block4 = show_if_2 && bet_info_index_svelte_create_if_block_2(ctx);
	let if_block5 = show_if_1 && bet_info_index_svelte_create_if_block_1(ctx);
	let if_block6 = show_if && bet_info_index_svelte_create_if_block(ctx);

	return {
		c() {
			div1 = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			div0 = internal_element("div");
			if (if_block1) if_block1.c();
			t1 = space();
			if (if_block2) if_block2.c();
			t2 = space();
			if (if_block3) if_block3.c();
			t3 = space();
			if (if_block4) if_block4.c();
			t4 = space();
			if (if_block5) if_block5.c();
			t5 = space();
			if (if_block6) if_block6.c();
			attr(div0, "class", "casino-bet-info__row");
			attr(div1, "class", "casino-bet-info");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			if (if_block0) if_block0.m(div1, null);
			append(div1, t0);
			append(div1, div0);
			if (if_block1) if_block1.m(div0, null);
			append(div0, t1);
			if (if_block2) if_block2.m(div0, null);
			append(div0, t2);
			if (if_block3) if_block3.m(div0, null);
			append(div0, t3);
			if (if_block4) if_block4.m(div0, null);
			append(div0, t4);
			if (if_block5) if_block5.m(div0, null);
			append(div1, t5);
			if (if_block6) if_block6.m(div1, null);
		},
		p(ctx, [dirty]) {
			if (dirty & /*currentBet*/ 8) show_if_6 = !(0,lodash.isNil)(/*currentBet*/ ctx[3]);

			if (show_if_6) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = bet_info_index_svelte_create_if_block_6(ctx);
					if_block0.c();
					if_block0.m(div1, t0);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty & /*startBet*/ 1) show_if_5 = !(0,lodash.isNil)(/*startBet*/ ctx[0]);

			if (show_if_5) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = bet_info_index_svelte_create_if_block_5(ctx);
					if_block1.c();
					if_block1.m(div0, t1);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty & /*pairPlusBet*/ 2) show_if_4 = !(0,lodash.isNil)(/*pairPlusBet*/ ctx[1]);

			if (show_if_4) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = bet_info_index_svelte_create_if_block_4(ctx);
					if_block2.c();
					if_block2.m(div0, t2);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			if (dirty & /*returnRate*/ 4) show_if_3 = !(0,lodash.isNil)(/*returnRate*/ ctx[2]);

			if (show_if_3) {
				if (if_block3) {
					if_block3.p(ctx, dirty);
				} else {
					if_block3 = bet_info_index_svelte_create_if_block_3(ctx);
					if_block3.c();
					if_block3.m(div0, t3);
				}
			} else if (if_block3) {
				if_block3.d(1);
				if_block3 = null;
			}

			if (dirty & /*selectedBet*/ 16) show_if_2 = !(0,lodash.isNil)(/*selectedBet*/ ctx[4]);

			if (show_if_2) {
				if (if_block4) {
					if_block4.p(ctx, dirty);
				} else {
					if_block4 = bet_info_index_svelte_create_if_block_2(ctx);
					if_block4.c();
					if_block4.m(div0, t4);
				}
			} else if (if_block4) {
				if_block4.d(1);
				if_block4 = null;
			}

			if (dirty & /*possiblePrize*/ 32) show_if_1 = !(0,lodash.isNil)(/*possiblePrize*/ ctx[5]);

			if (show_if_1) {
				if (if_block5) {
					if_block5.p(ctx, dirty);
				} else {
					if_block5 = bet_info_index_svelte_create_if_block_1(ctx);
					if_block5.c();
					if_block5.m(div0, null);
				}
			} else if (if_block5) {
				if_block5.d(1);
				if_block5 = null;
			}

			if (dirty & /*betsLeft*/ 64) show_if = !(0,lodash.isNil)(/*betsLeft*/ ctx[6]);

			if (show_if) {
				if (if_block6) {
					
				} else {
					if_block6 = bet_info_index_svelte_create_if_block(ctx);
					if_block6.c();
					if_block6.m(div1, null);
				}
			} else if (if_block6) {
				if_block6.d(1);
				if_block6 = null;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			if (if_block2) if_block2.d();
			if (if_block3) if_block3.d();
			if (if_block4) if_block4.d();
			if (if_block5) if_block5.d();
			if (if_block6) if_block6.d();
		}
	};
}

function bet_info_index_svelte_instance($$self, $$props, $$invalidate) {
	let { startBet = null } = $$props;
	let { pairPlusBet = null } = $$props;
	let { returnRate = null } = $$props;
	let { currentBet = null } = $$props;
	let { selectedBet = null } = $$props;
	let { possiblePrize = null } = $$props;
	let { betsLeft = null } = $$props;

	$$self.$$set = $$props => {
		if ('startBet' in $$props) $$invalidate(0, startBet = $$props.startBet);
		if ('pairPlusBet' in $$props) $$invalidate(1, pairPlusBet = $$props.pairPlusBet);
		if ('returnRate' in $$props) $$invalidate(2, returnRate = $$props.returnRate);
		if ('currentBet' in $$props) $$invalidate(3, currentBet = $$props.currentBet);
		if ('selectedBet' in $$props) $$invalidate(4, selectedBet = $$props.selectedBet);
		if ('possiblePrize' in $$props) $$invalidate(5, possiblePrize = $$props.possiblePrize);
		if ('betsLeft' in $$props) $$invalidate(6, betsLeft = $$props.betsLeft);
	};

	return [
		startBet,
		pairPlusBet,
		returnRate,
		currentBet,
		selectedBet,
		possiblePrize,
		betsLeft
	];
}

class Bet_info extends SvelteComponent {
	constructor(options) {
		super();

		init(this, options, bet_info_index_svelte_instance, bet_info_index_svelte_create_fragment, safe_not_equal, {
			startBet: 0,
			pairPlusBet: 1,
			returnRate: 2,
			currentBet: 3,
			selectedBet: 4,
			possiblePrize: 5,
			betsLeft: 6
		});
	}
}

/* harmony default export */ const bet_info_index_svelte = (Bet_info);
;// CONCATENATED MODULE: ./src/views/casino/components/wallet/index.svelte
/* src\views\casino\components\wallet\index.svelte generated by Svelte v3.49.0 */







function wallet_index_svelte_create_if_block_1(ctx) {
	let div;
	let t0;
	let t1_value = formatMoney(/*money*/ ctx[1]) + "";
	let t1;
	let t2;
	let span;
	let if_block = /*moneyChange*/ ctx[2] !== 0 && wallet_index_svelte_create_if_block_2(ctx);

	return {
		c() {
			div = internal_element("div");
			if (if_block) if_block.c();
			t0 = space();
			t1 = internal_text(t1_value);
			t2 = space();
			span = internal_element("span");
			attr(span, "class", "casino-wallet__icon casino-wallet__icon--wallet icon-money");
			attr(div, "class", "casino-wallet__row");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block) if_block.m(div, null);
			append(div, t0);
			append(div, t1);
			append(div, t2);
			append(div, span);
		},
		p(ctx, dirty) {
			if (/*moneyChange*/ ctx[2] !== 0) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = wallet_index_svelte_create_if_block_2(ctx);
					if_block.c();
					if_block.m(div, t0);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (dirty & /*money*/ 2 && t1_value !== (t1_value = formatMoney(/*money*/ ctx[1]) + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div);
			if (if_block) if_block.d();
		}
	};
}

// (75:12) {#if moneyChange !== 0}
function wallet_index_svelte_create_if_block_2(ctx) {
	let span;
	let t0_value = (/*moneyChange*/ ctx[2] > 0 ? '+' : '-') + "";
	let t0;
	let t1;
	let t2_value = formatMoney(Math.abs(/*moneyChange*/ ctx[2])) + "";
	let t2;
	let span_class_value;

	return {
		c() {
			span = internal_element("span");
			t0 = internal_text(t0_value);
			t1 = internal_text(" \r\n                    ");
			t2 = internal_text(t2_value);
			attr(span, "class", span_class_value = `casino-wallet__change casino-wallet__change--${/*moneyChange*/ ctx[2] > 0 ? 'positive' : 'negative'}`);
		},
		m(target, anchor) {
			insert(target, span, anchor);
			append(span, t0);
			append(span, t1);
			append(span, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*moneyChange*/ 4 && t0_value !== (t0_value = (/*moneyChange*/ ctx[2] > 0 ? '+' : '-') + "")) set_data(t0, t0_value);
			if (dirty & /*moneyChange*/ 4 && t2_value !== (t2_value = formatMoney(Math.abs(/*moneyChange*/ ctx[2])) + "")) set_data(t2, t2_value);

			if (dirty & /*moneyChange*/ 4 && span_class_value !== (span_class_value = `casino-wallet__change casino-wallet__change--${/*moneyChange*/ ctx[2] > 0 ? 'positive' : 'negative'}`)) {
				attr(span, "class", span_class_value);
			}
		},
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

// (86:8) {#if chipsChange !== 0}
function wallet_index_svelte_create_if_block(ctx) {
	let span;
	let t0_value = (/*chipsChange*/ ctx[4] > 0 ? '+' : '-') + "";
	let t0;
	let t1;
	let t2_value = formatMoney(Math.abs(/*chipsChange*/ ctx[4])) + "";
	let t2;
	let span_class_value;

	return {
		c() {
			span = internal_element("span");
			t0 = internal_text(t0_value);
			t1 = internal_text(" \r\n                ");
			t2 = internal_text(t2_value);
			attr(span, "class", span_class_value = `casino-wallet__change casino-wallet__change--${/*chipsChange*/ ctx[4] > 0 ? 'positive' : 'negative'}`);
		},
		m(target, anchor) {
			insert(target, span, anchor);
			append(span, t0);
			append(span, t1);
			append(span, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*chipsChange*/ 16 && t0_value !== (t0_value = (/*chipsChange*/ ctx[4] > 0 ? '+' : '-') + "")) set_data(t0, t0_value);
			if (dirty & /*chipsChange*/ 16 && t2_value !== (t2_value = formatMoney(Math.abs(/*chipsChange*/ ctx[4])) + "")) set_data(t2, t2_value);

			if (dirty & /*chipsChange*/ 16 && span_class_value !== (span_class_value = `casino-wallet__change casino-wallet__change--${/*chipsChange*/ ctx[4] > 0 ? 'positive' : 'negative'}`)) {
				attr(span, "class", span_class_value);
			}
		},
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

function wallet_index_svelte_create_fragment(ctx) {
	let div1;
	let t0;
	let div0;
	let t1;
	let t2_value = formatMoney(/*chips*/ ctx[3]) + "";
	let t2;
	let t3;
	let span;
	let if_block0 = /*showMoney*/ ctx[0] && wallet_index_svelte_create_if_block_1(ctx);
	let if_block1 = /*chipsChange*/ ctx[4] !== 0 && wallet_index_svelte_create_if_block(ctx);

	return {
		c() {
			div1 = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			div0 = internal_element("div");
			if (if_block1) if_block1.c();
			t1 = space();
			t2 = internal_text(t2_value);
			t3 = space();
			span = internal_element("span");
			attr(span, "class", "casino-wallet__icon casino-wallet__icon--chip icon-casino-chips");
			attr(div0, "class", "casino-wallet__row");
			attr(div1, "class", "casino-wallet");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			if (if_block0) if_block0.m(div1, null);
			append(div1, t0);
			append(div1, div0);
			if (if_block1) if_block1.m(div0, null);
			append(div0, t1);
			append(div0, t2);
			append(div0, t3);
			append(div0, span);
		},
		p(ctx, [dirty]) {
			if (/*showMoney*/ ctx[0]) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = wallet_index_svelte_create_if_block_1(ctx);
					if_block0.c();
					if_block0.m(div1, t0);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (/*chipsChange*/ ctx[4] !== 0) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = wallet_index_svelte_create_if_block(ctx);
					if_block1.c();
					if_block1.m(div0, t1);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty & /*chips*/ 8 && t2_value !== (t2_value = formatMoney(/*chips*/ ctx[3]) + "")) set_data(t2, t2_value);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
		}
	};
}

function wallet_index_svelte_instance($$self, $$props, $$invalidate) {
	let { showMoney = true } = $$props;
	let moneyInitialized = false;
	let money = 0;
	let moneyChange = 0;
	let moneyChangeTimer;
	let chipsInitialized = false;
	let chips = 0;
	let chipsChange = 0;
	let chipsChangeTimer;

	const handleUpdateMoney = (newMoney, updateIndicator) => {
		if (!moneyInitialized) {
			$$invalidate(1, money = newMoney);
			moneyInitialized = true;
			return;
		}

		if (moneyChangeTimer !== undefined) {
			clearTimeout(moneyChangeTimer);
			moneyChangeTimer = undefined;
		}

		$$invalidate(2, moneyChange = updateIndicator ? 0 - (money - newMoney) : 0);
		$$invalidate(1, money = newMoney);

		moneyChangeTimer = setTimeout(
			() => {
				moneyChangeTimer = undefined;
				$$invalidate(2, moneyChange = 0);
			},
			5000
		);
	};

	const handleUpdateCasinoChips = (newChips, updateIndicator) => {
		if (!chipsInitialized) {
			$$invalidate(3, chips = newChips);
			chipsInitialized = true;
			return;
		}

		if (chipsChangeTimer !== undefined) {
			clearTimeout(chipsChangeTimer);
			chipsChangeTimer = undefined;
		}

		$$invalidate(4, chipsChange = updateIndicator ? 0 - (chips - newChips) : 0);
		$$invalidate(3, chips = newChips);

		chipsChangeTimer = setTimeout(
			() => {
				chipsChangeTimer = undefined;
				$$invalidate(4, chipsChange = 0);
			},
			5000
		);
	};

	const moneySubscribe = playerMoney.subscribe(value => handleUpdateMoney(value, true));
	const chipsSubscribe = playerCasinoChips.subscribe(value => handleUpdateCasinoChips(value, true));

	onDestroy(() => {
		moneySubscribe();
		chipsSubscribe();
	});

	$$self.$$set = $$props => {
		if ('showMoney' in $$props) $$invalidate(0, showMoney = $$props.showMoney);
	};

	return [showMoney, money, moneyChange, chips, chipsChange];
}

class Wallet extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, wallet_index_svelte_instance, wallet_index_svelte_create_fragment, safe_not_equal, { showMoney: 0 });
	}
}

/* harmony default export */ const wallet_index_svelte = (Wallet);
;// CONCATENATED MODULE: ./src/views/casino/features/roulette/constants.js
function roulette_constants_typeof(o) { "@babel/helpers - typeof"; return roulette_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, roulette_constants_typeof(o); }
function roulette_constants_defineProperty(e, r, t) { return (r = roulette_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function roulette_constants_toPropertyKey(t) { var i = roulette_constants_toPrimitive(t, "string"); return "symbol" == roulette_constants_typeof(i) ? i : i + ""; }
function roulette_constants_toPrimitive(t, r) { if ("object" != roulette_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != roulette_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
var ROULETTE_RED_COLOR_NUMBERS = [1, 3, 5, 7, 9, 12, 14, 16, 18, 19, 21, 23, 25, 27, 30, 32, 34, 36];
var RouletteColor = {
  Red: 'red',
  Green: 'green',
  Black: 'black'
};
var RouletteView = {
  FirstPerson: 'first',
  ThirdPerson: 'third',
  Layout: 'layout',
  Wheel: 'wheel'
};
var BetsView = {
  My: 'my',
  All: 'all'
};
var MAP_BET_VIEW_TO_NAME = roulette_constants_defineProperty(roulette_constants_defineProperty({}, BetsView.My, 'Все'), BetsView.All, 'Своя');
var MAP_ROULETTE_VIEW_TO_NAME = roulette_constants_defineProperty(roulette_constants_defineProperty(roulette_constants_defineProperty(roulette_constants_defineProperty({}, RouletteView.FirstPerson, 'Первое лицо'), RouletteView.ThirdPerson, 'Третье лицо'), RouletteView.Layout, 'Стол'), RouletteView.Wheel, 'Рулетка');
;// CONCATENATED MODULE: ./src/views/casino/features/roulette/utils.js

var getRouletteColorByNumber = function getRouletteColorByNumber(itemNumber) {
  if (itemNumber === 0) {
    return RouletteColor.Green;
  }
  if (ROULETTE_RED_COLOR_NUMBERS.includes(itemNumber)) {
    return RouletteColor.Red;
  }
  return RouletteColor.Black;
};
;// CONCATENATED MODULE: ./src/views/casino/features/roulette/mocks.js
var ROULETTE_INFO_MOCK = {
  secondsToStart: null,
  betInfo: {
    currentBet: 0,
    selectedBet: 0,
    possiblePrize: 0,
    betsLeft: 0
  }
};
;// CONCATENATED MODULE: ./src/views/casino/features/roulette/index.svelte
/* src\views\casino\features\roulette\index.svelte generated by Svelte v3.49.0 */
















function features_roulette_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[30] = list[i];
	return child_ctx;
}

// (139:4) {:else}
function features_roulette_index_svelte_create_else_block(ctx) {
	let div0;
	let show_if = !(0,lodash.isEmpty)(/*lastSpinsItems*/ ctx[1]);
	let t0;
	let gamestarttimer;
	let t1;
	let t2;
	let div3;
	let t3;
	let div1;
	let actionbutton0;
	let t4;
	let div2;
	let actionbutton1;
	let t5;
	let t6;
	let actionbutton2;
	let current;
	let if_block0 = show_if && features_roulette_index_svelte_create_if_block_4(ctx);

	gamestarttimer = new game_start_timer_index_svelte({
			props: {
				seconds: /*rouletteInfo*/ ctx[0].secondsToStart
			}
		});

	let if_block1 = /*rouletteView*/ ctx[3] === RouletteView.Layout && features_roulette_index_svelte_create_if_block_3(ctx);
	let if_block2 = /*rouletteView*/ ctx[3] === RouletteView.Layout && features_roulette_index_svelte_create_if_block_2(ctx);

	actionbutton0 = new gv_action_button_index_svelte({
			props: {
				buttonText: "Правила игры",
				buttonCode: 17,
				buttonLocation: 1,
				buttonName: "L CTRL",
				onSubmit: /*toggleRulesOpenedStatus*/ ctx[7]
			}
		});

	actionbutton1 = new gv_action_button_index_svelte({
			props: {
				buttonText: MAP_ROULETTE_VIEW_TO_NAME[/*rouletteView*/ ctx[3]],
				buttonDescriptionText: "Камера",
				buttonCode: 86,
				buttonName: "V",
				onSubmit: /*changeRouletteView*/ ctx[6]
			}
		});

	let if_block3 = /*rouletteView*/ ctx[3] === RouletteView.Layout && features_roulette_index_svelte_create_if_block_1(ctx);

	actionbutton2 = new gv_action_button_index_svelte({
			props: {
				buttonText: "Покинуть стол",
				buttonCode: 13,
				buttonName: "ENTER",
				onSubmit: /*handleRouletteExit*/ ctx[8],
				className: "casino-roulette__exit-button"
			}
		});

	return {
		c() {
			div0 = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			create_component(gamestarttimer.$$.fragment);
			t1 = space();
			if (if_block1) if_block1.c();
			t2 = space();
			div3 = internal_element("div");
			if (if_block2) if_block2.c();
			t3 = space();
			div1 = internal_element("div");
			create_component(actionbutton0.$$.fragment);
			t4 = space();
			div2 = internal_element("div");
			create_component(actionbutton1.$$.fragment);
			t5 = space();
			if (if_block3) if_block3.c();
			t6 = space();
			create_component(actionbutton2.$$.fragment);
			attr(div0, "class", "casino-roulette__roulette-info");
			attr(div1, "class", "casino-roulette__key-control-row");
			attr(div2, "class", "casino-roulette__key-control-row");
			attr(div3, "class", "casino-roulette__keys-controls-wrapper");
		},
		m(target, anchor) {
			insert(target, div0, anchor);
			if (if_block0) if_block0.m(div0, null);
			append(div0, t0);
			mount_component(gamestarttimer, div0, null);
			insert(target, t1, anchor);
			if (if_block1) if_block1.m(target, anchor);
			insert(target, t2, anchor);
			insert(target, div3, anchor);
			if (if_block2) if_block2.m(div3, null);
			append(div3, t3);
			append(div3, div1);
			mount_component(actionbutton0, div1, null);
			append(div3, t4);
			append(div3, div2);
			mount_component(actionbutton1, div2, null);
			insert(target, t5, anchor);
			if (if_block3) if_block3.m(target, anchor);
			insert(target, t6, anchor);
			mount_component(actionbutton2, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty[0] & /*lastSpinsItems*/ 2) show_if = !(0,lodash.isEmpty)(/*lastSpinsItems*/ ctx[1]);

			if (show_if) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = features_roulette_index_svelte_create_if_block_4(ctx);
					if_block0.c();
					if_block0.m(div0, t0);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			const gamestarttimer_changes = {};
			if (dirty[0] & /*rouletteInfo*/ 1) gamestarttimer_changes.seconds = /*rouletteInfo*/ ctx[0].secondsToStart;
			gamestarttimer.$set(gamestarttimer_changes);

			if (/*rouletteView*/ ctx[3] === RouletteView.Layout) {
				if (if_block1) {
					if_block1.p(ctx, dirty);

					if (dirty[0] & /*rouletteView*/ 8) {
						transition_in(if_block1, 1);
					}
				} else {
					if_block1 = features_roulette_index_svelte_create_if_block_3(ctx);
					if_block1.c();
					transition_in(if_block1, 1);
					if_block1.m(t2.parentNode, t2);
				}
			} else if (if_block1) {
				group_outros();

				transition_out(if_block1, 1, 1, () => {
					if_block1 = null;
				});

				check_outros();
			}

			if (/*rouletteView*/ ctx[3] === RouletteView.Layout) {
				if (if_block2) {
					if_block2.p(ctx, dirty);

					if (dirty[0] & /*rouletteView*/ 8) {
						transition_in(if_block2, 1);
					}
				} else {
					if_block2 = features_roulette_index_svelte_create_if_block_2(ctx);
					if_block2.c();
					transition_in(if_block2, 1);
					if_block2.m(div3, t3);
				}
			} else if (if_block2) {
				group_outros();

				transition_out(if_block2, 1, 1, () => {
					if_block2 = null;
				});

				check_outros();
			}

			const actionbutton1_changes = {};
			if (dirty[0] & /*rouletteView*/ 8) actionbutton1_changes.buttonText = MAP_ROULETTE_VIEW_TO_NAME[/*rouletteView*/ ctx[3]];
			actionbutton1.$set(actionbutton1_changes);

			if (/*rouletteView*/ ctx[3] === RouletteView.Layout) {
				if (if_block3) {
					
				} else {
					if_block3 = features_roulette_index_svelte_create_if_block_1(ctx);
					if_block3.c();
					if_block3.m(t6.parentNode, t6);
				}
			} else if (if_block3) {
				if_block3.d(1);
				if_block3 = null;
			}
		},
		i(local) {
			if (current) return;
			transition_in(gamestarttimer.$$.fragment, local);
			transition_in(if_block1);
			transition_in(if_block2);
			transition_in(actionbutton0.$$.fragment, local);
			transition_in(actionbutton1.$$.fragment, local);
			transition_in(actionbutton2.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(gamestarttimer.$$.fragment, local);
			transition_out(if_block1);
			transition_out(if_block2);
			transition_out(actionbutton0.$$.fragment, local);
			transition_out(actionbutton1.$$.fragment, local);
			transition_out(actionbutton2.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div0);
			if (if_block0) if_block0.d();
			destroy_component(gamestarttimer);
			if (detaching) detach(t1);
			if (if_block1) if_block1.d(detaching);
			if (detaching) detach(t2);
			if (detaching) detach(div3);
			if (if_block2) if_block2.d();
			destroy_component(actionbutton0);
			destroy_component(actionbutton1);
			if (detaching) detach(t5);
			if (if_block3) if_block3.d(detaching);
			if (detaching) detach(t6);
			destroy_component(actionbutton2, detaching);
		}
	};
}

// (137:4) {#if rulesOpened}
function features_roulette_index_svelte_create_if_block(ctx) {
	let rouletterules;
	let current;
	rouletterules = new rules_index_svelte({});

	return {
		c() {
			create_component(rouletterules.$$.fragment);
		},
		m(target, anchor) {
			mount_component(rouletterules, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(rouletterules.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(rouletterules.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(rouletterules, detaching);
		}
	};
}

// (141:12) {#if !isEmpty(lastSpinsItems)}
function features_roulette_index_svelte_create_if_block_4(ctx) {
	let div1;
	let p;
	let t1;
	let div0;
	let t2;
	let show_if = !(0,lodash.isNil)(/*currentSpinNumber*/ ctx[2]);
	let each_value = /*lastSpinsItems*/ ctx[1];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = features_roulette_index_svelte_create_each_block(features_roulette_index_svelte_get_each_context(ctx, each_value, i));
	}

	let if_block = show_if && features_roulette_index_svelte_create_if_block_5(ctx);

	return {
		c() {
			div1 = internal_element("div");
			p = internal_element("p");
			p.textContent = "Последние выпадения";
			t1 = space();
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t2 = space();
			if (if_block) if_block.c();
			attr(p, "class", "casino-roulette__roulette-last-spins-title");
			attr(div0, "class", "casino-roulette__roulette-last-spins-items");
			attr(div1, "class", "casino-roulette__roulette-last-spins");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, p);
			append(div1, t1);
			append(div1, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			append(div0, t2);
			if (if_block) if_block.m(div0, null);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*lastSpinsItems*/ 2) {
				each_value = /*lastSpinsItems*/ ctx[1];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = features_roulette_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = features_roulette_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div0, t2);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if (dirty[0] & /*currentSpinNumber*/ 4) show_if = !(0,lodash.isNil)(/*currentSpinNumber*/ ctx[2]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = features_roulette_index_svelte_create_if_block_5(ctx);
					if_block.c();
					if_block.m(div0, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			destroy_each(each_blocks, detaching);
			if (if_block) if_block.d();
		}
	};
}

// (147:24) {#each lastSpinsItems as spinItem}
function features_roulette_index_svelte_create_each_block(ctx) {
	let p;
	let t_value = /*spinItem*/ ctx[30] + "";
	let t;
	let p_class_value;

	return {
		c() {
			p = internal_element("p");
			t = internal_text(t_value);
			attr(p, "class", p_class_value = `casino-roulette__roulette-last-spin casino-roulette__roulette-last-spin--${getRouletteColorByNumber(parseInt(/*spinItem*/ ctx[30], 10))}`);
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*lastSpinsItems*/ 2 && t_value !== (t_value = /*spinItem*/ ctx[30] + "")) set_data(t, t_value);

			if (dirty[0] & /*lastSpinsItems*/ 2 && p_class_value !== (p_class_value = `casino-roulette__roulette-last-spin casino-roulette__roulette-last-spin--${getRouletteColorByNumber(parseInt(/*spinItem*/ ctx[30], 10))}`)) {
				attr(p, "class", p_class_value);
			}
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (150:24) {#if !isNil(currentSpinNumber)}
function features_roulette_index_svelte_create_if_block_5(ctx) {
	let p;
	let t;
	let p_class_value;

	return {
		c() {
			p = internal_element("p");
			t = internal_text(/*currentSpinNumber*/ ctx[2]);
			attr(p, "class", p_class_value = 'casino-roulette__roulette-last-spin casino-roulette__roulette-last-spin--orange');
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*currentSpinNumber*/ 4) set_data(t, /*currentSpinNumber*/ ctx[2]);
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (158:8) {#if rouletteView === RouletteView.Layout}
function features_roulette_index_svelte_create_if_block_3(ctx) {
	let betinfo;
	let current;
	const betinfo_spread_levels = [/*rouletteInfo*/ ctx[0].betInfo];
	let betinfo_props = {};

	for (let i = 0; i < betinfo_spread_levels.length; i += 1) {
		betinfo_props = internal_assign(betinfo_props, betinfo_spread_levels[i]);
	}

	betinfo = new bet_info_index_svelte({ props: betinfo_props });

	return {
		c() {
			create_component(betinfo.$$.fragment);
		},
		m(target, anchor) {
			mount_component(betinfo, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const betinfo_changes = (dirty[0] & /*rouletteInfo*/ 1)
			? get_spread_update(betinfo_spread_levels, [get_spread_object(/*rouletteInfo*/ ctx[0].betInfo)])
			: {};

			betinfo.$set(betinfo_changes);
		},
		i(local) {
			if (current) return;
			transition_in(betinfo.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(betinfo.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(betinfo, detaching);
		}
	};
}

// (162:12) {#if rouletteView === RouletteView.Layout}
function features_roulette_index_svelte_create_if_block_2(ctx) {
	let div0;
	let actionbutton0;
	let t0;
	let actionbutton1;
	let t1;
	let div1;
	let actionbutton2;
	let t2;
	let actionbutton3;
	let current;

	actionbutton0 = new gv_action_button_index_svelte({
			props: {
				buttonCode: 16,
				buttonLocation: 1,
				buttonName: "↕",
				onSubmit: /*func*/ ctx[9]
			}
		});

	actionbutton1 = new gv_action_button_index_svelte({
			props: {
				buttonText: "Выбор ставки",
				buttonCode: 16,
				buttonLocation: 1,
				buttonName: "↔",
				onSubmit: /*func_1*/ ctx[10]
			}
		});

	actionbutton2 = new gv_action_button_index_svelte({
			props: {
				buttonCode: 16,
				buttonLocation: 1,
				buttonName: "↑ SPACE",
				onSubmit: /*func_2*/ ctx[11]
			}
		});

	actionbutton3 = new gv_action_button_index_svelte({
			props: {
				buttonText: "Размер ставки",
				buttonCode: 32,
				buttonLocation: 1,
				buttonName: "↓ L.SHIFT",
				onSubmit: /*func_3*/ ctx[12]
			}
		});

	return {
		c() {
			div0 = internal_element("div");
			create_component(actionbutton0.$$.fragment);
			t0 = space();
			create_component(actionbutton1.$$.fragment);
			t1 = space();
			div1 = internal_element("div");
			create_component(actionbutton2.$$.fragment);
			t2 = space();
			create_component(actionbutton3.$$.fragment);
			attr(div0, "class", "casino-roulette__key-control-row");
			attr(div1, "class", "casino-roulette__key-control-row");
		},
		m(target, anchor) {
			insert(target, div0, anchor);
			mount_component(actionbutton0, div0, null);
			append(div0, t0);
			mount_component(actionbutton1, div0, null);
			insert(target, t1, anchor);
			insert(target, div1, anchor);
			mount_component(actionbutton2, div1, null);
			append(div1, t2);
			mount_component(actionbutton3, div1, null);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(actionbutton0.$$.fragment, local);
			transition_in(actionbutton1.$$.fragment, local);
			transition_in(actionbutton2.$$.fragment, local);
			transition_in(actionbutton3.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(actionbutton0.$$.fragment, local);
			transition_out(actionbutton1.$$.fragment, local);
			transition_out(actionbutton2.$$.fragment, local);
			transition_out(actionbutton3.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div0);
			destroy_component(actionbutton0);
			destroy_component(actionbutton1);
			if (detaching) detach(t1);
			if (detaching) detach(div1);
			destroy_component(actionbutton2);
			destroy_component(actionbutton3);
		}
	};
}

// (222:8) {#if rouletteView === RouletteView.Layout}
function features_roulette_index_svelte_create_if_block_1(ctx) {
	return { c: internal_noop, m: internal_noop, d: internal_noop };
}

function features_roulette_index_svelte_create_fragment(ctx) {
	let div;
	let wallet;
	let t;
	let current_block_type_index;
	let if_block;
	let current;
	wallet = new wallet_index_svelte({});
	const if_block_creators = [features_roulette_index_svelte_create_if_block, features_roulette_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (/*rulesOpened*/ ctx[4]) return 0;
		return 1;
	}

	current_block_type_index = select_block_type(ctx, [-1, -1]);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div = internal_element("div");
			create_component(wallet.$$.fragment);
			t = space();
			if_block.c();
			attr(div, "class", "casino-roulette");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(wallet, div, null);
			append(div, t);
			if_blocks[current_block_type_index].m(div, null);
			current = true;
		},
		p(ctx, dirty) {
			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(div, null);
			}
		},
		i(local) {
			if (current) return;
			transition_in(wallet.$$.fragment, local);
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(wallet.$$.fragment, local);
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(wallet);
			if_blocks[current_block_type_index].d();
		}
	};
}

function features_roulette_index_svelte_instance($$self, $$props, $$invalidate) {
	const rouletteInfo = ROULETTE_INFO_MOCK;

	// let lastSpinsItems = [];
	// let currentSpinNumber = null;
	let lastSpinsItems = [1, 2, 3, 4, 5];

	let currentSpinNumber = 5;
	rouletteInfo.secondsToStart = 3;

	/*
const getRandomTableNumber = () => {
    const maxNumber = 36;
    return Math.floor(Math.random() * (maxNumber + 1)); // Генерируем случайное целое число от 0 до 34
}let timerIntervalId = setInterval(() => {
    currentSpinNumber = getRandomTableNumber();
}, 100); */
	let rouletteView = RouletteView.Layout;

	// let betView = BetsView.All;
	let canCreateBet = false;

	let canRemoveBet = false;
	let rulesOpened = false;

	const onInit = (lastWins, time) => {
		$$invalidate(1, lastSpinsItems = lastWins);
		$$invalidate(0, rouletteInfo.secondsToStart = time, rouletteInfo);
	};

	const updateLastWins = lastWins => {
		$$invalidate(1, lastSpinsItems = lastWins);
	};

	const updateCurrentSpinNumber = number => {
		$$invalidate(2, currentSpinNumber = number);
	};

	const updateBet = isUp => {
		sendClientMessage('client.roulette.ChangeBet', isUp);
	};

	/* const changeBetView = () => {
    if (BetsView.My === betView) {
        betView = BetsView.All;
        sendClientMessage('client.roulette.ChangeChipsView', true);
        return;
    }

    sendClientMessage('client.roulette.ChangeChipsView', false);
    betView = BetsView.My;
}; */
	const changeRouletteView = () => {
		sendClientMessage('client.roulette.NextCamView', rouletteView);
	};

	const updateBetInfo = (currentBet, selectedBet, possiblePrize, betsLeft) => {
		$$invalidate(
			0,
			rouletteInfo.betInfo = {
				currentBet,
				selectedBet,
				possiblePrize,
				betsLeft
			},
			rouletteInfo
		);
	};

	const updateButtonsInfo = (canCreate, canRemove) => {
		canCreateBet = canCreate;
		canRemoveBet = canRemove;
	};

	const updateCam = camName => {
		$$invalidate(3, rouletteView = RouletteView[camName]);
	};

	const updateTime = seconds => {
		$$invalidate(0, rouletteInfo.secondsToStart = seconds, rouletteInfo);
	};

	const toggleRulesOpenedStatus = () => {
		$$invalidate(4, rulesOpened = !rulesOpened);
	};

	const handleRouletteExit = () => {
		sendClientMessage('client.roulette.Exit');
	};

	const destroyInitEvent = registerEvent('cef.roulette.onInit', onInit);
	const destroyUpdateLastWinsEvent = registerEvent('cef.roulette.updateLastWins', updateLastWins);
	const destroyUpdateCurrentSpinNumber = registerEvent('cef.roulette.updateCurrentSpinNumber', updateCurrentSpinNumber);
	const destroyUpdateBetInfoEvent = registerEvent('cef.roulette.updateBetInfo', updateBetInfo);
	const destroyUpdateButtonsInfoEvent = registerEvent('cef.roulette.updateButtonsInfo', updateButtonsInfo);
	const destroyUpdateCamEvent = registerEvent('cef.roulette.updateCam', updateCam);
	const destroyUpdateTimeEvent = registerEvent('cef.roulette.updateTime', updateTime);
	const destroyToggleRulesOpenedStatus = registerEvent('cef.roulette.toggleRulesOpenedStatus', toggleRulesOpenedStatus);

	onDestroy(() => {
		destroyInitEvent();
		destroyUpdateLastWinsEvent();
		destroyUpdateCurrentSpinNumber();
		destroyUpdateBetInfoEvent();
		destroyUpdateButtonsInfoEvent();
		destroyUpdateCamEvent();
		destroyUpdateTimeEvent();
		destroyToggleRulesOpenedStatus();
	});

	const func = () => updateBet(true);
	const func_1 = () => updateBet(false);
	const func_2 = () => updateBet(true);
	const func_3 = () => updateBet(false);

	return [
		rouletteInfo,
		lastSpinsItems,
		currentSpinNumber,
		rouletteView,
		rulesOpened,
		updateBet,
		changeRouletteView,
		toggleRulesOpenedStatus,
		handleRouletteExit,
		func,
		func_1,
		func_2,
		func_3
	];
}

class index_svelte_Roulette extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, features_roulette_index_svelte_instance, features_roulette_index_svelte_create_fragment, safe_not_equal, {}, null, [-1, -1]);
	}
}

/* harmony default export */ const features_roulette_index_svelte = (index_svelte_Roulette);
;// CONCATENATED MODULE: ./src/views/casino/features/slots-machine/constants.js
function slots_machine_constants_typeof(o) { "@babel/helpers - typeof"; return slots_machine_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, slots_machine_constants_typeof(o); }
function slots_machine_constants_defineProperty(e, r, t) { return (r = slots_machine_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function slots_machine_constants_toPropertyKey(t) { var i = slots_machine_constants_toPrimitive(t, "string"); return "symbol" == slots_machine_constants_typeof(i) ? i : i + ""; }
function slots_machine_constants_toPrimitive(t, r) { if ("object" != slots_machine_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != slots_machine_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
var BETS_LIST = (/* unused pure expression or super */ null && ([10, 100, 1000, 2500, 5000, 10000]));
var SlotsMachineViews = {
  FirstPerson: 'first',
  ThirdPerson: 'third'
};
var MAP_SLOTS_MACHINE_VIEW_TO_NAME = slots_machine_constants_defineProperty(slots_machine_constants_defineProperty({}, SlotsMachineViews.FirstPerson, 'Первое лицо'), SlotsMachineViews.ThirdPerson, 'Третье лицо');
var SlotsMachineTypes = {
  DiamondMiner: 1
};
var MAP_SLOTS_MACHINE_TYPE_TO_COLORS = slots_machine_constants_defineProperty({}, SlotsMachineTypes.DiamondMiner, {
  main: '#5FE2FF',
  border: ['#4CB1C8', '#16D5FF'],
  bottomPart: '#5FE2FF',
  shadow: '#004352'
});
var MAP_SLOTS_MACHINE_TYPE_TO_RULES = slots_machine_constants_defineProperty({}, SlotsMachineTypes.DiamondMiner, [{
  title: '3 Листочка',
  count: 3,
  multiplies: 1
}, {
  title: '3 Колокольчика',
  count: 3,
  multiplies: 3
}, {
  title: '3 Вишенки',
  count: 3,
  multiplies: 5
}, {
  title: '3 Монеты $',
  count: 3,
  multiplies: 10
}, {
  title: '3 Лимона',
  count: 3,
  multiplies: 100
}, {
  title: '3 Бриллианта',
  count: 3,
  prizeText: '10 спинов'
}]);
;// CONCATENATED MODULE: ./src/views/casino/features/slots-machine/index.svelte
/* src\views\casino\features\slots-machine\index.svelte generated by Svelte v3.49.0 */













function slots_machine_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[52] = list[i];
	return child_ctx;
}

function slots_machine_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[55] = list[i];
	return child_ctx;
}

function slots_machine_index_svelte_get_each_context_2(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[58] = list[i];
	return child_ctx;
}

// (235:4) {#if slotsMachineInfo.prize}
function slots_machine_index_svelte_create_if_block_5(ctx) {
	let div;

	function select_block_type(ctx, dirty) {
		if (/*slotsMachineInfo*/ ctx[0].prize.value !== 0) return slots_machine_index_svelte_create_if_block_6;
		return slots_machine_index_svelte_create_else_block_1;
	}

	let current_block_type = select_block_type(ctx, [-1, -1]);
	let if_block = current_block_type(ctx);

	return {
		c() {
			div = internal_element("div");
			if_block.c();
			attr(div, "class", "casino-slots-machine__win");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if_block.m(div, null);
		},
		p(ctx, dirty) {
			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div, null);
				}
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			if_block.d();
		}
	};
}

// (245:12) {:else}
function slots_machine_index_svelte_create_else_block_1(ctx) {
	let p;

	return {
		c() {
			p = internal_element("p");
			p.textContent = "Вы ничего не выиграли";
			attr(p, "class", "casino-slots-machine__win-text");
		},
		m(target, anchor) {
			insert(target, p, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (237:12) {#if slotsMachineInfo.prize.value !== 0}
function slots_machine_index_svelte_create_if_block_6(ctx) {
	let p0;
	let t0;

	let t1_value = (/*slotsMachineInfo*/ ctx[0].prize.jackpot
	? 'сорвали джекпот'
	: 'выиграли') + "";

	let t1;
	let t2;
	let t3;
	let p1;
	let t4_value = formatMoney(/*slotsMachineInfo*/ ctx[0].prize.value) + "";
	let t4;
	let t5;
	let span;

	return {
		c() {
			p0 = internal_element("p");
			t0 = internal_text("Отлично, вы ");
			t1 = internal_text(t1_value);
			t2 = internal_text("!");
			t3 = space();
			p1 = internal_element("p");
			t4 = internal_text(t4_value);
			t5 = space();
			span = internal_element("span");
			attr(p0, "class", "casino-slots-machine__win-text");
			attr(span, "class", "casino-slots-machine__win-value-icon ui-casino-chips");
			attr(p1, "class", "casino-slots-machine__win-value");
		},
		m(target, anchor) {
			insert(target, p0, anchor);
			append(p0, t0);
			append(p0, t1);
			append(p0, t2);
			insert(target, t3, anchor);
			insert(target, p1, anchor);
			append(p1, t4);
			append(p1, t5);
			append(p1, span);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*slotsMachineInfo*/ 1 && t1_value !== (t1_value = (/*slotsMachineInfo*/ ctx[0].prize.jackpot
			? 'сорвали джекпот'
			: 'выиграли') + "")) set_data(t1, t1_value);

			if (dirty[0] & /*slotsMachineInfo*/ 1 && t4_value !== (t4_value = formatMoney(/*slotsMachineInfo*/ ctx[0].prize.value) + "")) set_data(t4, t4_value);
		},
		d(detaching) {
			if (detaching) detach(p0);
			if (detaching) detach(t3);
			if (detaching) detach(p1);
		}
	};
}

// (260:8) {#if freeSpins > 0}
function slots_machine_index_svelte_create_if_block_4(ctx) {
	let p;
	let t0;
	let t1;

	return {
		c() {
			p = internal_element("p");
			t0 = internal_text("Осталось бесплатных прокруток: ");
			t1 = internal_text(/*freeSpins*/ ctx[10]);
			attr(p, "class", "casino-slots-machine__bet-info-title");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t0);
			append(p, t1);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*freeSpins*/ 1024) set_data(t1, /*freeSpins*/ ctx[10]);
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (266:4) {#if slotsMachineInfo.prize && slotsMachineInfo.prize.jackpot}
function slots_machine_index_svelte_create_if_block_3(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");

			div.innerHTML = `<span class="casino-slots-machine__jackpot-background-char ui-jackpot"></span> 
            <span class="casino-slots-machine__jackpot-background-char ui-jackpot"></span> 
            <span class="casino-slots-machine__jackpot-background-char ui-jackpot"></span>`;

			attr(div, "class", "casino-slots-machine__jackpot-background");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (285:12) {#each formatMoney(slotsMachineInfo.jackpotValue).replaceAll(' ', '.').split('') as char}
function slots_machine_index_svelte_create_each_block_2(ctx) {
	let span;
	let t_value = /*char*/ ctx[58] + "";
	let t;
	let span_class_value;

	return {
		c() {
			span = internal_element("span");
			t = internal_text(t_value);

			attr(span, "class", span_class_value = `casino-slots-machine__jackpot-value-char${/*char*/ ctx[58] === '.'
			? ' casino-slots-machine__jackpot-value-char--pure'
			: ''}`);
		},
		m(target, anchor) {
			insert(target, span, anchor);
			append(span, t);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*slotsMachineInfo*/ 1 && t_value !== (t_value = /*char*/ ctx[58] + "")) set_data(t, t_value);

			if (dirty[0] & /*slotsMachineInfo*/ 1 && span_class_value !== (span_class_value = `casino-slots-machine__jackpot-value-char${/*char*/ ctx[58] === '.'
			? ' casino-slots-machine__jackpot-value-char--pure'
			: ''}`)) {
				attr(span, "class", span_class_value);
			}
		},
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

// (298:4) {#if rulesOpened}
function slots_machine_index_svelte_create_if_block_1(ctx) {
	let div2;
	let t0;
	let div1;
	let p0;
	let t2;
	let div0;
	let t5;
	let p1;
	let t6;
	let p1_style_value;
	let each_value = MAP_SLOTS_MACHINE_TYPE_TO_RULES[/*slotsMachineInfo*/ ctx[0].type];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = slots_machine_index_svelte_create_each_block(slots_machine_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div2 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t0 = space();
			div1 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "3 BAR";
			t2 = space();
			div0 = internal_element("div");

			div0.innerHTML = `<span class="casino-slots-machine__rule-indicator-icon ui-jackpot"></span> 
                    <span class="casino-slots-machine__rule-indicator-icon ui-jackpot"></span> 
                    <span class="casino-slots-machine__rule-indicator-icon ui-jackpot"></span>`;

			t5 = space();
			p1 = internal_element("p");
			t6 = internal_text("Jackpot");
			attr(p0, "class", "casino-slots-machine__rule-title");
			attr(div0, "class", "casino-slots-machine__rule-indicator");
			attr(p1, "class", "casino-slots-machine__multiplier casino-slots-machine__multiplier--jackpot");
			attr(p1, "style", p1_style_value = `background: ${/*currentSlotsMachineColors*/ ctx[9].main}; box-shadow: 0 0 20px 0px ${/*currentSlotsMachineColors*/ ctx[9].main};`);
			attr(div1, "class", "casino-slots-machine__rules-row casino-slots-machine__rules-row--jackpot");
			attr(div2, "class", "casino-slots-machine__rules");
		},
		m(target, anchor) {
			insert(target, div2, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div2, null);
			}

			append(div2, t0);
			append(div2, div1);
			append(div1, p0);
			append(div1, t2);
			append(div1, div0);
			append(div1, t5);
			append(div1, p1);
			append(p1, t6);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*slotsMachineInfo, currentSlotsMachineColors*/ 513) {
				each_value = MAP_SLOTS_MACHINE_TYPE_TO_RULES[/*slotsMachineInfo*/ ctx[0].type];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = slots_machine_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = slots_machine_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div2, t0);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if (dirty[0] & /*currentSlotsMachineColors*/ 512 && p1_style_value !== (p1_style_value = `background: ${/*currentSlotsMachineColors*/ ctx[9].main}; box-shadow: 0 0 20px 0px ${/*currentSlotsMachineColors*/ ctx[9].main};`)) {
				attr(p1, "style", p1_style_value);
			}
		},
		d(detaching) {
			if (detaching) detach(div2);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (306:24) {#each [...new Array(rule.count).fill(true), ...new Array(3).fill(false)].slice(0, 3).reverse() as item}
function slots_machine_index_svelte_create_each_block_1(ctx) {
	let span;
	let span_style_value;

	return {
		c() {
			span = internal_element("span");
			attr(span, "class", "casino-slots-machine__rule-counter-item");

			attr(span, "style", span_style_value = /*item*/ ctx[55]
			? `border-color: ${/*currentSlotsMachineColors*/ ctx[9].main};`
			: '');
		},
		m(target, anchor) {
			insert(target, span, anchor);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*slotsMachineInfo, currentSlotsMachineColors*/ 513 && span_style_value !== (span_style_value = /*item*/ ctx[55]
			? `border-color: ${/*currentSlotsMachineColors*/ ctx[9].main};`
			: '')) {
				attr(span, "style", span_style_value);
			}
		},
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

// (313:24) {:else}
function slots_machine_index_svelte_create_else_block(ctx) {
	let t0;
	let t1_value = /*rule*/ ctx[52].multiplies + "";
	let t1;

	return {
		c() {
			t0 = internal_text("x");
			t1 = internal_text(t1_value);
		},
		m(target, anchor) {
			insert(target, t0, anchor);
			insert(target, t1, anchor);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*slotsMachineInfo*/ 1 && t1_value !== (t1_value = /*rule*/ ctx[52].multiplies + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(t0);
			if (detaching) detach(t1);
		}
	};
}

// (311:24) {#if rule.prizeText !== undefined}
function slots_machine_index_svelte_create_if_block_2(ctx) {
	let t_value = /*rule*/ ctx[52].prizeText + "";
	let t;

	return {
		c() {
			t = internal_text(t_value);
		},
		m(target, anchor) {
			insert(target, t, anchor);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*slotsMachineInfo*/ 1 && t_value !== (t_value = /*rule*/ ctx[52].prizeText + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(t);
		}
	};
}

// (300:12) {#each MAP_SLOTS_MACHINE_TYPE_TO_RULES[slotsMachineInfo.type] as rule}
function slots_machine_index_svelte_create_each_block(ctx) {
	let div1;
	let p0;
	let t0_value = /*rule*/ ctx[52].title + "";
	let t0;
	let t1;
	let div0;
	let t2;
	let p1;
	let each_value_1 = [...new Array(/*rule*/ ctx[52].count).fill(true), ...new Array(3).fill(false)].slice(0, 3).reverse();
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = slots_machine_index_svelte_create_each_block_1(slots_machine_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	function select_block_type_1(ctx, dirty) {
		if (/*rule*/ ctx[52].prizeText !== undefined) return slots_machine_index_svelte_create_if_block_2;
		return slots_machine_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type_1(ctx, [-1, -1]);
	let if_block = current_block_type(ctx);

	return {
		c() {
			div1 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t2 = space();
			p1 = internal_element("p");
			if_block.c();
			attr(p0, "class", "casino-slots-machine__rule-title");
			attr(div0, "class", "casino-slots-machine__rule-indicator casino-slots-machine__rule-counter");
			attr(p1, "class", "casino-slots-machine__multiplier");
			attr(div1, "class", "casino-slots-machine__rules-row");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, p0);
			append(p0, t0);
			append(div1, t1);
			append(div1, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			append(div1, t2);
			append(div1, p1);
			if_block.m(p1, null);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*slotsMachineInfo*/ 1 && t0_value !== (t0_value = /*rule*/ ctx[52].title + "")) set_data(t0, t0_value);

			if (dirty[0] & /*slotsMachineInfo, currentSlotsMachineColors*/ 513) {
				each_value_1 = [
					...new Array(/*rule*/ ctx[52].count).fill(true),
					...new Array(3).fill(false)
				].slice(0, 3).reverse();

				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = slots_machine_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = slots_machine_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div0, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}

			if (current_block_type === (current_block_type = select_block_type_1(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(p1, null);
				}
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			destroy_each(each_blocks, detaching);
			if_block.d();
		}
	};
}

// (439:4) {#if isCanExit}
function slots_machine_index_svelte_create_if_block(ctx) {
	let actionbutton;
	let current;

	actionbutton = new gv_action_button_index_svelte({
			props: {
				buttonText: "Покинуть автомат",
				buttonCode: 13,
				buttonName: "ENTER",
				className: "casino-slots-machine__exit-button",
				onSubmit: /*handleExit*/ ctx[19]
			}
		});

	return {
		c() {
			create_component(actionbutton.$$.fragment);
		},
		m(target, anchor) {
			mount_component(actionbutton, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(actionbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(actionbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(actionbutton, detaching);
		}
	};
}

function slots_machine_index_svelte_create_fragment(ctx) {
	let div0;
	let div0_style_value;
	let t0;
	let div20;
	let wallet;
	let t1;
	let t2;
	let div1;
	let p0;
	let t4;
	let p1;
	let t5_value = formatMoney((/*selectedBet*/ ctx[11] + 1) * /*slotsMachineInfo*/ ctx[0].baseCost) + "";
	let t5;
	let t6;
	let span0;
	let t7;
	let t8;
	let t9;
	let div3;
	let p2;
	let t12;
	let p3;
	let t15;
	let div2;
	let t16;
	let span4;
	let t17;
	let p4;
	let div3_class_value;
	let t20;
	let t21;
	let div14;
	let div6;
	let t24;
	let div10;
	let div7;
	let div7_style_value;
	let t25;
	let div8;
	let div8_style_value;
	let t26;
	let div9;
	let t27;
	let div9_style_value;
	let t28;
	let div13;
	let t31;
	let div19;
	let div15;
	let actionbutton0;
	let t32;
	let actionbutton1;
	let t33;
	let div16;
	let actionbutton2;
	let t34;
	let actionbutton3;
	let t35;
	let div17;
	let actionbutton4;
	let t36;
	let div18;
	let actionbutton5;
	let t37;
	let current;
	let mounted;
	let dispose;
	wallet = new wallet_index_svelte({ props: { showMoney: false } });
	let if_block0 = /*slotsMachineInfo*/ ctx[0].prize && slots_machine_index_svelte_create_if_block_5(ctx);
	let if_block1 = /*freeSpins*/ ctx[10] > 0 && slots_machine_index_svelte_create_if_block_4(ctx);
	let if_block2 = /*slotsMachineInfo*/ ctx[0].prize && /*slotsMachineInfo*/ ctx[0].prize.jackpot && slots_machine_index_svelte_create_if_block_3(ctx);
	let each_value_2 = formatMoney(/*slotsMachineInfo*/ ctx[0].jackpotValue).replaceAll(' ', '.').split('');
	let each_blocks = [];

	for (let i = 0; i < each_value_2.length; i += 1) {
		each_blocks[i] = slots_machine_index_svelte_create_each_block_2(slots_machine_index_svelte_get_each_context_2(ctx, each_value_2, i));
	}

	let if_block3 = /*rulesOpened*/ ctx[7] && slots_machine_index_svelte_create_if_block_1(ctx);

	actionbutton0 = new gv_action_button_index_svelte({
			props: {
				buttonName: "↑",
				buttonCode: 16,
				onSubmit: /*increaseBet*/ ctx[16]
			}
		});

	actionbutton1 = new gv_action_button_index_svelte({
			props: {
				buttonName: "↓",
				buttonText: "Размер ставки",
				buttonCode: 16,
				onSubmit: /*decreaseBet*/ ctx[17]
			}
		});

	actionbutton2 = new gv_action_button_index_svelte({
			props: {
				buttonCode: 32,
				buttonName: "SPACE",
				buttonText: "Крутить",
				onSubmit: /*startGame*/ ctx[12]
			}
		});

	actionbutton3 = new gv_action_button_index_svelte({
			props: {
				buttonCode: 16,
				buttonName: "L.SHIFT",
				buttonText: "Авто",
				onSubmit: /*startGame*/ ctx[12]
			}
		});

	actionbutton4 = new gv_action_button_index_svelte({
			props: {
				buttonText: "Правила игры",
				buttonCode: 17,
				buttonLocation: 1,
				buttonName: "L CTRL",
				onSubmit: /*toggleRulesOpenedStatus*/ ctx[18]
			}
		});

	actionbutton5 = new gv_action_button_index_svelte({
			props: {
				buttonText: MAP_SLOTS_MACHINE_VIEW_TO_NAME[/*slotsMachineView*/ ctx[8]],
				buttonDescriptionText: "Камера:",
				buttonCode: 86,
				buttonName: "V",
				onSubmit: /*changeView*/ ctx[15]
			}
		});

	let if_block4 = /*isCanExit*/ ctx[6] && slots_machine_index_svelte_create_if_block(ctx);

	return {
		c() {
			div0 = internal_element("div");
			t0 = space();
			div20 = internal_element("div");
			create_component(wallet.$$.fragment);
			t1 = space();
			if (if_block0) if_block0.c();
			t2 = space();
			div1 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Ставка";
			t4 = space();
			p1 = internal_element("p");
			t5 = internal_text(t5_value);
			t6 = space();
			span0 = internal_element("span");
			t7 = space();
			if (if_block1) if_block1.c();
			t8 = space();
			if (if_block2) if_block2.c();
			t9 = space();
			div3 = internal_element("div");
			p2 = internal_element("p");

			p2.innerHTML = `<span class="casino-slots-machine__jackpot-icon ui-jackpot"></span> 
            <span class="casino-slots-machine__jackpot-icon ui-jackpot"></span> 
            <span class="casino-slots-machine__jackpot-icon ui-jackpot"></span>`;

			t12 = space();
			p3 = internal_element("p");

			p3.innerHTML = `Джекпот
            <br/>
            составляет`;

			t15 = space();
			div2 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t16 = space();
			span4 = internal_element("span");
			t17 = space();
			p4 = internal_element("p");

			p4.innerHTML = `С каждой игрой сумма джекпота
            <br/>
            растет на +5% фишек с игры.`;

			t20 = space();
			if (if_block3) if_block3.c();
			t21 = space();
			div14 = internal_element("div");
			div6 = internal_element("div");

			div6.innerHTML = `<div class="casino-slots-machine__additional-button-shadow"></div> 
            <div class="casino-slots-machine__additional-button">Правила</div>`;

			t24 = space();
			div10 = internal_element("div");
			div7 = internal_element("div");
			t25 = space();
			div8 = internal_element("div");
			t26 = space();
			div9 = internal_element("div");
			t27 = internal_text("Крутить");
			t28 = space();
			div13 = internal_element("div");

			div13.innerHTML = `<div class="casino-slots-machine__additional-button-shadow"></div> 
            <div class="casino-slots-machine__additional-button">Авто</div>`;

			t31 = space();
			div19 = internal_element("div");
			div15 = internal_element("div");
			create_component(actionbutton0.$$.fragment);
			t32 = space();
			create_component(actionbutton1.$$.fragment);
			t33 = space();
			div16 = internal_element("div");
			create_component(actionbutton2.$$.fragment);
			t34 = space();
			create_component(actionbutton3.$$.fragment);
			t35 = space();
			div17 = internal_element("div");
			create_component(actionbutton4.$$.fragment);
			t36 = space();
			div18 = internal_element("div");
			create_component(actionbutton5.$$.fragment);
			t37 = space();
			if (if_block4) if_block4.c();
			attr(div0, "class", "casino-slots-machine-background-shadow");
			attr(div0, "style", div0_style_value = `box-shadow: 0px -20px 250px 100px ${/*currentSlotsMachineColors*/ ctx[9].main};`);
			attr(p0, "class", "casino-slots-machine__bet-info-title");
			attr(span0, "class", "casino-slots-machine__bet-info-icon ui-casino-chips");
			attr(p1, "class", "casino-slots-machine__bet-info-value");
			attr(div1, "class", "casino-slots-machine__bet-info");
			attr(p2, "class", "casino-slots-machine__jackpot-icons-wrapper");
			attr(p3, "class", "casino-slots-machine__jackpot-title");
			attr(span4, "class", "casino-slots-machine__jackpot-value-char casino-slots-machine__jackpot-value-char--icon casino-slots-machine__jackpot-value-icon ui-casino-chips");
			attr(div2, "class", "casino-slots-machine__jackpot-value");
			attr(p4, "class", "casino-slots-machine__jackpot-description");

			attr(div3, "class", div3_class_value = `casino-slots-machine__jackpot-info${/*rulesOpened*/ ctx[7]
			? ' casino-slots-machine__jackpot-info--left'
			: ''}`);

			attr(div6, "class", "casino-slots-machine__additional-button-wrapper casino-slots-machine__additional-button-wrapper--left");
			attr(div7, "class", "casino-slots-machine__start-button-shadow");
			attr(div7, "style", div7_style_value = `background: ${/*currentSlotsMachineColors*/ ctx[9].shadow}; border-top: 5px solid ${/*currentSlotsMachineColors*/ ctx[9].shadow};`);
			attr(div8, "class", "casino-slots-machine__start-button-bottom");

			attr(div8, "style", div8_style_value = `
                    width: ${/*startButtonRef*/ ctx[2] && /*startButtonRef*/ ctx[2].getBoundingClientRect().width}px;
                    background: linear-gradient(180deg, ${/*currentSlotsMachineColors*/ ctx[9].bottomPart} 0%, rgba(255, 255, 255, 0) 100%);
                `);

			attr(div9, "class", "casino-slots-machine__start-button");

			attr(div9, "style", div9_style_value = `
                    background: ${/*currentSlotsMachineColors*/ ctx[9].main};
                    border-image: linear-gradient(30deg, ${/*currentSlotsMachineColors*/ ctx[9].border[0]} 0%, ${/*currentSlotsMachineColors*/ ctx[9].border[1]} 100%);
                    border-image-slice: 1 1 1 1;
                `);

			attr(div10, "class", "casino-slots-machine__start-button-wrapper");
			attr(div13, "class", "casino-slots-machine__additional-button-wrapper");
			attr(div14, "class", "casino-slots-machine__buttons");
			attr(div15, "class", "casino-slots-machine__key-control-row");
			attr(div16, "class", "casino-slots-machine__key-control-row");
			attr(div17, "class", "casino-slots-machine__key-control-row");
			attr(div18, "class", "casino-slots-machine__key-control-row");
			attr(div19, "class", "casino-slots-machine__keys-controls-wrapper");
			attr(div20, "class", "casino-slots-machine");
		},
		m(target, anchor) {
			insert(target, div0, anchor);
			insert(target, t0, anchor);
			insert(target, div20, anchor);
			mount_component(wallet, div20, null);
			append(div20, t1);
			if (if_block0) if_block0.m(div20, null);
			append(div20, t2);
			append(div20, div1);
			append(div1, p0);
			append(div1, t4);
			append(div1, p1);
			append(p1, t5);
			append(p1, t6);
			append(p1, span0);
			append(div1, t7);
			if (if_block1) if_block1.m(div1, null);
			append(div20, t8);
			if (if_block2) if_block2.m(div20, null);
			append(div20, t9);
			append(div20, div3);
			append(div3, p2);
			append(div3, t12);
			append(div3, p3);
			append(div3, t15);
			append(div3, div2);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div2, null);
			}

			append(div2, t16);
			append(div2, span4);
			append(div3, t17);
			append(div3, p4);
			append(div20, t20);
			if (if_block3) if_block3.m(div20, null);
			append(div20, t21);
			append(div20, div14);
			append(div14, div6);
			/*div6_binding*/ ctx[20](div6);
			append(div14, t24);
			append(div14, div10);
			append(div10, div7);
			append(div10, t25);
			append(div10, div8);
			/*div8_binding*/ ctx[21](div8);
			append(div10, t26);
			append(div10, div9);
			append(div9, t27);
			/*div9_binding*/ ctx[22](div9);
			/*div10_binding*/ ctx[23](div10);
			append(div14, t28);
			append(div14, div13);
			/*div13_binding*/ ctx[24](div13);
			append(div20, t31);
			append(div20, div19);
			append(div19, div15);
			mount_component(actionbutton0, div15, null);
			append(div15, t32);
			mount_component(actionbutton1, div15, null);
			append(div19, t33);
			append(div19, div16);
			mount_component(actionbutton2, div16, null);
			append(div16, t34);
			mount_component(actionbutton3, div16, null);
			append(div19, t35);
			append(div19, div17);
			mount_component(actionbutton4, div17, null);
			append(div19, t36);
			append(div19, div18);
			mount_component(actionbutton5, div18, null);
			append(div20, t37);
			if (if_block4) if_block4.m(div20, null);
			current = true;

			if (!mounted) {
				dispose = [
					listen(div6, "click", /*handleOpenRulesButtonClick*/ ctx[14]),
					listen(div10, "click", /*startGame*/ ctx[12]),
					listen(div13, "click", /*handleAutoButtonClick*/ ctx[13])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (!current || dirty[0] & /*currentSlotsMachineColors*/ 512 && div0_style_value !== (div0_style_value = `box-shadow: 0px -20px 250px 100px ${/*currentSlotsMachineColors*/ ctx[9].main};`)) {
				attr(div0, "style", div0_style_value);
			}

			if (/*slotsMachineInfo*/ ctx[0].prize) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = slots_machine_index_svelte_create_if_block_5(ctx);
					if_block0.c();
					if_block0.m(div20, t2);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if ((!current || dirty[0] & /*selectedBet, slotsMachineInfo*/ 2049) && t5_value !== (t5_value = formatMoney((/*selectedBet*/ ctx[11] + 1) * /*slotsMachineInfo*/ ctx[0].baseCost) + "")) set_data(t5, t5_value);

			if (/*freeSpins*/ ctx[10] > 0) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = slots_machine_index_svelte_create_if_block_4(ctx);
					if_block1.c();
					if_block1.m(div1, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (/*slotsMachineInfo*/ ctx[0].prize && /*slotsMachineInfo*/ ctx[0].prize.jackpot) {
				if (if_block2) {
					
				} else {
					if_block2 = slots_machine_index_svelte_create_if_block_3(ctx);
					if_block2.c();
					if_block2.m(div20, t9);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			if (dirty[0] & /*slotsMachineInfo*/ 1) {
				each_value_2 = formatMoney(/*slotsMachineInfo*/ ctx[0].jackpotValue).replaceAll(' ', '.').split('');
				let i;

				for (i = 0; i < each_value_2.length; i += 1) {
					const child_ctx = slots_machine_index_svelte_get_each_context_2(ctx, each_value_2, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = slots_machine_index_svelte_create_each_block_2(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div2, t16);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_2.length;
			}

			if (!current || dirty[0] & /*rulesOpened*/ 128 && div3_class_value !== (div3_class_value = `casino-slots-machine__jackpot-info${/*rulesOpened*/ ctx[7]
			? ' casino-slots-machine__jackpot-info--left'
			: ''}`)) {
				attr(div3, "class", div3_class_value);
			}

			if (/*rulesOpened*/ ctx[7]) {
				if (if_block3) {
					if_block3.p(ctx, dirty);
				} else {
					if_block3 = slots_machine_index_svelte_create_if_block_1(ctx);
					if_block3.c();
					if_block3.m(div20, t21);
				}
			} else if (if_block3) {
				if_block3.d(1);
				if_block3 = null;
			}

			if (!current || dirty[0] & /*currentSlotsMachineColors*/ 512 && div7_style_value !== (div7_style_value = `background: ${/*currentSlotsMachineColors*/ ctx[9].shadow}; border-top: 5px solid ${/*currentSlotsMachineColors*/ ctx[9].shadow};`)) {
				attr(div7, "style", div7_style_value);
			}

			if (!current || dirty[0] & /*startButtonRef, currentSlotsMachineColors*/ 516 && div8_style_value !== (div8_style_value = `
                    width: ${/*startButtonRef*/ ctx[2] && /*startButtonRef*/ ctx[2].getBoundingClientRect().width}px;
                    background: linear-gradient(180deg, ${/*currentSlotsMachineColors*/ ctx[9].bottomPart} 0%, rgba(255, 255, 255, 0) 100%);
                `)) {
				attr(div8, "style", div8_style_value);
			}

			if (!current || dirty[0] & /*currentSlotsMachineColors*/ 512 && div9_style_value !== (div9_style_value = `
                    background: ${/*currentSlotsMachineColors*/ ctx[9].main};
                    border-image: linear-gradient(30deg, ${/*currentSlotsMachineColors*/ ctx[9].border[0]} 0%, ${/*currentSlotsMachineColors*/ ctx[9].border[1]} 100%);
                    border-image-slice: 1 1 1 1;
                `)) {
				attr(div9, "style", div9_style_value);
			}

			const actionbutton5_changes = {};
			if (dirty[0] & /*slotsMachineView*/ 256) actionbutton5_changes.buttonText = MAP_SLOTS_MACHINE_VIEW_TO_NAME[/*slotsMachineView*/ ctx[8]];
			actionbutton5.$set(actionbutton5_changes);

			if (/*isCanExit*/ ctx[6]) {
				if (if_block4) {
					if_block4.p(ctx, dirty);

					if (dirty[0] & /*isCanExit*/ 64) {
						transition_in(if_block4, 1);
					}
				} else {
					if_block4 = slots_machine_index_svelte_create_if_block(ctx);
					if_block4.c();
					transition_in(if_block4, 1);
					if_block4.m(div20, null);
				}
			} else if (if_block4) {
				group_outros();

				transition_out(if_block4, 1, 1, () => {
					if_block4 = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(wallet.$$.fragment, local);
			transition_in(actionbutton0.$$.fragment, local);
			transition_in(actionbutton1.$$.fragment, local);
			transition_in(actionbutton2.$$.fragment, local);
			transition_in(actionbutton3.$$.fragment, local);
			transition_in(actionbutton4.$$.fragment, local);
			transition_in(actionbutton5.$$.fragment, local);
			transition_in(if_block4);
			current = true;
		},
		o(local) {
			transition_out(wallet.$$.fragment, local);
			transition_out(actionbutton0.$$.fragment, local);
			transition_out(actionbutton1.$$.fragment, local);
			transition_out(actionbutton2.$$.fragment, local);
			transition_out(actionbutton3.$$.fragment, local);
			transition_out(actionbutton4.$$.fragment, local);
			transition_out(actionbutton5.$$.fragment, local);
			transition_out(if_block4);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div0);
			if (detaching) detach(t0);
			if (detaching) detach(div20);
			destroy_component(wallet);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			if (if_block2) if_block2.d();
			destroy_each(each_blocks, detaching);
			if (if_block3) if_block3.d();
			/*div6_binding*/ ctx[20](null);
			/*div8_binding*/ ctx[21](null);
			/*div9_binding*/ ctx[22](null);
			/*div10_binding*/ ctx[23](null);
			/*div13_binding*/ ctx[24](null);
			destroy_component(actionbutton0);
			destroy_component(actionbutton1);
			destroy_component(actionbutton2);
			destroy_component(actionbutton3);
			destroy_component(actionbutton4);
			destroy_component(actionbutton5);
			if (if_block4) if_block4.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function slots_machine_index_svelte_instance($$self, $$props, $$invalidate) {
	let buttonRef = null;
	let startButtonRef = null;
	let bottomRef = null;
	let autoButtonRef = null;
	let rulesButtonRef = null;
	let isCanBet = true;
	let isCanExit = true;
	let rulesOpened = false;
	let autoSpinToggled = false;
	let resultTimer;
	let slotsMachineView = SlotsMachineViews.ThirdPerson;
	let currentSlotsMachineColors = MAP_SLOTS_MACHINE_TYPE_TO_COLORS[1];
	let freeSpins = 0;
	let selectedBet = 0;

	const slotsMachineInfo = {
		type: 1,
		title: 'Diamond Miner',
		baseCost: 0,
		jackpotValue: 0,
		prize: undefined,
		gameInProgress: false
	};

	const setBetText = baseCost => {
		$$invalidate(0, slotsMachineInfo.baseCost = baseCost, slotsMachineInfo);
	};

	const setBetInfo = (baseCost, spins) => {
		$$invalidate(0, slotsMachineInfo.baseCost = baseCost, slotsMachineInfo);
		$$invalidate(10, freeSpins = spins);
	};

	const setJackpotText = jackpot => {
		$$invalidate(0, slotsMachineInfo.jackpotValue = jackpot, slotsMachineInfo);
	};

	const setCameraMode = camName => {
		$$invalidate(8, slotsMachineView = SlotsMachineViews[camName]);
	};

	const onInit = (type, title, jackpot, baseCost) => {
		$$invalidate(0, slotsMachineInfo.type = type, slotsMachineInfo);
		$$invalidate(0, slotsMachineInfo.title = title, slotsMachineInfo);
		$$invalidate(0, slotsMachineInfo.jackpotValue = jackpot, slotsMachineInfo);
		$$invalidate(0, slotsMachineInfo.baseCost = baseCost, slotsMachineInfo);
	};

	const onResult = (jackpot, winChips, isJackpot) => {
		$$invalidate(0, slotsMachineInfo.jackpotValue = jackpot, slotsMachineInfo);
		$$invalidate(0, slotsMachineInfo.prize = { value: winChips, jackpot: isJackpot }, slotsMachineInfo);

		resultTimer = setTimeout(
			() => {
				$$invalidate(0, slotsMachineInfo.prize = undefined, slotsMachineInfo);
				resultTimer = undefined;
			},
			10000
		);
	};

	const setCanBet = toggle => {
		isCanBet = toggle;
	};

	const setCanExit = toggle => {
		$$invalidate(6, isCanExit = toggle);
	};

	const startGame = () => {
		if (!isCanBet) {
			
		} // return;

		if (slotsMachineInfo.gameInProgress) {
			return;
		}

		if (resultTimer) {
			$$invalidate(0, slotsMachineInfo.prize = undefined, slotsMachineInfo);
			clearTimeout(resultTimer);
		}

		bottomRef.classList.add('casino-slots-machine__start-button-bottom--anim');
		startButtonRef.classList.add('casino-slots-machine__start-button--anim');
		sendClientMessage(1000, 'server.casino.games.spin.OnSpin', selectedBet);
	};

	const removeButtonAnimation = () => {
		setTimeout(
			() => {
				bottomRef.classList.remove('casino-slots-machine__start-button-bottom--anim');
				startButtonRef.classList.remove('casino-slots-machine__start-button--anim');
			},
			500
		);

		isCanBet = false;
	};

	const handleAutoButtonClick = () => {
		
	}; // autoButtonRef.classList.add('casino-slots-machine__additional-button--anim');
	// setTimeout(() => {
	//     autoButtonRef.classList.remove('casino-slots-machine__additional-button--anim');
	//     // вызов event`a

	// }, 500);
	const handleOpenRulesButtonClick = () => {
		rulesButtonRef.classList.add('casino-slots-machine__additional-button--anim');

		setTimeout(
			() => {
				rulesButtonRef.classList.remove('casino-slots-machine__additional-button--anim');
				$$invalidate(7, rulesOpened = !rulesOpened);
			},
			500
		);
	};

	const changeView = () => {
		
	}; // slotsMachineView = slotsMachineView === SlotsMachineViews.FirstPerson
	//   ? SlotsMachineViews.ThirdPerson
	//   : SlotsMachineViews.FirstPerson;
	// sendClientMessage('client.slotsMachine.ChangeView', slotsMachineView === SlotsMachineViews.FirstPerson);

	const increaseBet = () => {
		// eslint-disable-next-line no-plusplus
		if ($$invalidate(11, ++selectedBet) > 4) {
			$$invalidate(11, selectedBet = 0);
		}
	};

	const decreaseBet = () => {
		// eslint-disable-next-line no-plusplus
		if ($$invalidate(11, --selectedBet) < 0) {
			$$invalidate(11, selectedBet = 4);
		}
	};

	const toggleRulesOpenedStatus = () => handleOpenRulesButtonClick();

	const setFreeSpins = spins => {
		$$invalidate(10, freeSpins = spins);
	};

	const toggleAutospin = toggle => {
		if (autoSpinToggled === toggle) {
			return;
		}

		autoSpinToggled = toggle;

		if (toggle) {
			autoButtonRef.classList.add('casino-slots-machine__additional-button--anim');
			return;
		}

		autoButtonRef.classList.remove('casino-slots-machine__additional-button--anim');
	};

	const handleExit = () => sendClientMessage('client.slotsMachine.Exit');
	const destroyStartGame = registerEvent('cef.slotsMachine.startGame', startGame);
	const destroySetBetText = registerEvent('cef.slotsMachine.setBetText', setBetText);
	const destroySetBetInfo = registerEvent('cef.slotsMachine.setBetInfo', setBetInfo);
	const destroySetJackpotText = registerEvent('cef.slotsMachine.setJackpotText', setJackpotText);
	const destroySetCameraMode = registerEvent('cef.slotsMachine.setCameraMode', setCameraMode);
	const destroyToggleRulesOpenedStatus = registerEvent('cef.slotsMachine.toggleRulesOpenedStatus', toggleRulesOpenedStatus);
	const destroyToggleAutospin = registerEvent('cef.slotsMachine.toggleAutospin', toggleAutospin);
	const destroySetFreeSpins = registerEvent('cef.slotsMachine.setFreeSpins', setFreeSpins);
	const destroyInitEvent = registerEvent('cef.slotsMachine.onInit', onInit);
	const destroyResultEvent = registerEvent('cef.slotsMachine.onResult', onResult);
	const destroySetCanBetEvent = registerEvent('cef.slotsMachine.setCanBet', setCanBet);
	const destroySetCanExitEvent = registerEvent('cef.slotsMachine.setCanExit', setCanExit);
	const destroyOnSpinEvent = registerEvent('cef.events.slotsMachine.onSpin', removeButtonAnimation);

	onDestroy(() => {
		if (resultTimer) {
			clearTimeout(resultTimer);
		}

		destroyStartGame();
		destroySetBetText();
		destroySetBetInfo();
		destroySetJackpotText();
		destroySetCameraMode();
		destroyToggleRulesOpenedStatus();
		destroyToggleAutospin();
		destroySetFreeSpins();
		destroyInitEvent();
		destroyResultEvent();
		destroySetCanBetEvent();
		destroySetCanExitEvent();
		destroyOnSpinEvent();
	});

	function div6_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			rulesButtonRef = $$value;
			$$invalidate(5, rulesButtonRef);
		});
	}

	function div8_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			bottomRef = $$value;
			$$invalidate(3, bottomRef);
		});
	}

	function div9_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			startButtonRef = $$value;
			$$invalidate(2, startButtonRef);
		});
	}

	function div10_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			buttonRef = $$value;
			$$invalidate(1, buttonRef);
		});
	}

	function div13_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			autoButtonRef = $$value;
			$$invalidate(4, autoButtonRef);
		});
	}

	$$self.$$.update = () => {
		if ($$self.$$.dirty[0] & /*slotsMachineInfo*/ 1) {
			$: {
				$$invalidate(9, currentSlotsMachineColors = MAP_SLOTS_MACHINE_TYPE_TO_COLORS[slotsMachineInfo.type]);
			}
		}
	};

	return [
		slotsMachineInfo,
		buttonRef,
		startButtonRef,
		bottomRef,
		autoButtonRef,
		rulesButtonRef,
		isCanExit,
		rulesOpened,
		slotsMachineView,
		currentSlotsMachineColors,
		freeSpins,
		selectedBet,
		startGame,
		handleAutoButtonClick,
		handleOpenRulesButtonClick,
		changeView,
		increaseBet,
		decreaseBet,
		toggleRulesOpenedStatus,
		handleExit,
		div6_binding,
		div8_binding,
		div9_binding,
		div10_binding,
		div13_binding
	];
}

class Slots_machine extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, slots_machine_index_svelte_instance, slots_machine_index_svelte_create_fragment, safe_not_equal, {}, null, [-1, -1]);
	}
}

/* harmony default export */ const slots_machine_index_svelte = (Slots_machine);
;// CONCATENATED MODULE: ./src/views/mountain-test-drive/img/logo.svg
const mountain_test_drive_img_logo_namespaceObject = __webpack_require__.p + "assets/80e71a7d2fa676b3f07c.svg";
;// CONCATENATED MODULE: ./src/views/mountain-test-drive/img/info-img.svg
const info_img_namespaceObject = __webpack_require__.p + "assets/05443b090f9aba6d0ce6.svg";
;// CONCATENATED MODULE: ./src/views/mountain-test-drive/index.svelte
/* src\views\mountain-test-drive\index.svelte generated by Svelte v3.49.0 */











function mountain_test_drive_index_svelte_add_css(target) {
	append_styles(target, "svelte-n0ne6q", "@keyframes svelte-n0ne6q-blinking{50%{opacity:0}}@keyframes svelte-n0ne6q-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-n0ne6q-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-n0ne6q-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-n0ne6q-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-n0ne6q-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-n0ne6q-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-n0ne6q-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-n0ne6q-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-n0ne6q-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-n0ne6q-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-n0ne6q-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-n0ne6q-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-n0ne6q-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-n0ne6q-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.mountain-test-drive.svelte-n0ne6q.svelte-n0ne6q{display:flex;align-items:center;justify-content:center;width:100vw;height:100vh}.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q{position:relative;background:linear-gradient(243.96deg, rgba(22, 25, 30, 0.95) 0%, rgba(41, 51, 67, 0.95) 99.61%);border-radius:calc(0.0130208333 * 100vw + 0px);width:calc(0.6666666667 * 100vw + 0px);height:calc(0.4166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q{width:calc(0.6666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q{width:calc(0.6666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q{width:calc(0.5133333333 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q{width:calc(0.7333333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q{width:calc(0.4666666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q{width:calc(0.6 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q{width:calc(0.7333333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.3208333333 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.4583333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.2916666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.375 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.4583333333 * 100vw + 0px)}}.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q::after{content:\"\";pointer-events:none;position:absolute;background:linear-gradient(0deg, #1f2631 11%, rgba(255, 255, 255, 0) 65%);left:0;bottom:0;border-radius:calc(0.0130208333 * 100vw + 0px);width:calc(0.6666666667 * 100vw + 0px);height:calc(0.15625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q::after{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q::after{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q::after{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q::after{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q::after{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q::after{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q::after{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q::after{width:calc(0.6666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q::after{width:calc(0.6666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q::after{width:calc(0.5133333333 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q::after{width:calc(0.7333333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q::after{width:calc(0.4666666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q::after{width:calc(0.6 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q::after{width:calc(0.7333333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q::after{height:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q::after{height:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q::after{height:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q::after{height:calc(0.171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q::after{height:calc(0.109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q::after{height:calc(0.140625 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body.svelte-n0ne6q.svelte-n0ne6q::after{height:calc(0.171875 * 100vw + 0px)}}.mountain-test-drive__body-header.svelte-n0ne6q.svelte-n0ne6q{display:flex;align-items:center;justify-content:space-between;border-color:rgba(255, 255, 255, 0.1);border-style:solid;border-width:calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0005208333 * 100vw + 0px) calc(0 * 100vw + 0px);padding:calc(0 * 100vw + 0px) calc(0.0130208333 * 100vw + 0px);height:calc(0.0651041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body-header.svelte-n0ne6q.svelte-n0ne6q{border-width:calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0005208333 * 100vw + 0px) calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body-header.svelte-n0ne6q.svelte-n0ne6q{border-width:calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0005208333 * 100vw + 0px) calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body-header.svelte-n0ne6q.svelte-n0ne6q{border-width:calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0004010417 * 100vw + 0px) calc(0 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body-header.svelte-n0ne6q.svelte-n0ne6q{border-width:calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0005729167 * 100vw + 0px) calc(0 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body-header.svelte-n0ne6q.svelte-n0ne6q{border-width:calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0003645833 * 100vw + 0px) calc(0 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body-header.svelte-n0ne6q.svelte-n0ne6q{border-width:calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.00046875 * 100vw + 0px) calc(0 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body-header.svelte-n0ne6q.svelte-n0ne6q{border-width:calc(0 * 100vw + 0px) calc(0 * 100vw + 0px) calc(0.0005729167 * 100vw + 0px) calc(0 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body-header.svelte-n0ne6q.svelte-n0ne6q{padding:calc(0 * 100vw + 0px) calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body-header.svelte-n0ne6q.svelte-n0ne6q{padding:calc(0 * 100vw + 0px) calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body-header.svelte-n0ne6q.svelte-n0ne6q{padding:calc(0 * 100vw + 0px) calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body-header.svelte-n0ne6q.svelte-n0ne6q{padding:calc(0 * 100vw + 0px) calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body-header.svelte-n0ne6q.svelte-n0ne6q{padding:calc(0 * 100vw + 0px) calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body-header.svelte-n0ne6q.svelte-n0ne6q{padding:calc(0 * 100vw + 0px) calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body-header.svelte-n0ne6q.svelte-n0ne6q{padding:calc(0 * 100vw + 0px) calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body-header.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.0651041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body-header.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.0651041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body-header.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.0501302083 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body-header.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.0716145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body-header.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.0455729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body-header.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.05859375 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body-header.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.0716145833 * 100vw + 0px)}}.mountain-test-drive__body-header-logo.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.046875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body-header-logo.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body-header-logo.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body-header-logo.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body-header-logo.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body-header-logo.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body-header-logo.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.0421875 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body-header-logo.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.0515625 * 100vw + 0px)}}.mountain-test-drive__body-header-info.svelte-n0ne6q.svelte-n0ne6q{display:flex;align-items:center}.mountain-test-drive__body-header-title-text.svelte-n0ne6q.svelte-n0ne6q{font-family:\"GothamPro-Bold\";color:#FFFFFF;font-size:calc(0.0166666667 * 100vw + 0px);width:calc(0.1822916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body-header-title-text.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body-header-title-text.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body-header-title-text.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body-header-title-text.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body-header-title-text.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body-header-title-text.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body-header-title-text.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body-header-title-text.svelte-n0ne6q.svelte-n0ne6q{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body-header-title-text.svelte-n0ne6q.svelte-n0ne6q{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body-header-title-text.svelte-n0ne6q.svelte-n0ne6q{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body-header-title-text.svelte-n0ne6q.svelte-n0ne6q{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body-header-title-text.svelte-n0ne6q.svelte-n0ne6q{width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body-header-title-text.svelte-n0ne6q.svelte-n0ne6q{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body-header-title-text.svelte-n0ne6q.svelte-n0ne6q{width:calc(0.2005208333 * 100vw + 0px)}}.mountain-test-drive__body-header-info-img.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.0182291667 * 100vw + 0px);margin-right:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body-header-info-img.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body-header-info-img.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body-header-info-img.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body-header-info-img.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body-header-info-img.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body-header-info-img.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body-header-info-img.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.0200520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body-header-info-img.svelte-n0ne6q.svelte-n0ne6q{margin-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body-header-info-img.svelte-n0ne6q.svelte-n0ne6q{margin-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body-header-info-img.svelte-n0ne6q.svelte-n0ne6q{margin-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body-header-info-img.svelte-n0ne6q.svelte-n0ne6q{margin-right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body-header-info-img.svelte-n0ne6q.svelte-n0ne6q{margin-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body-header-info-img.svelte-n0ne6q.svelte-n0ne6q{margin-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body-header-info-img.svelte-n0ne6q.svelte-n0ne6q{margin-right:calc(0.0057291667 * 100vw + 0px)}}.mountain-test-drive__body-header-info-button.svelte-n0ne6q.svelte-n0ne6q{display:flex;align-items:center;justify-content:center;background-color:#FFFFFF;transition:background-color 0.2s linear;cursor:pointer;margin-left:calc(0.0130208333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.0364583333 * 100vw + 0px);height:calc(0.0234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body-header-info-button.svelte-n0ne6q.svelte-n0ne6q{margin-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body-header-info-button.svelte-n0ne6q.svelte-n0ne6q{margin-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body-header-info-button.svelte-n0ne6q.svelte-n0ne6q{margin-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body-header-info-button.svelte-n0ne6q.svelte-n0ne6q{margin-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body-header-info-button.svelte-n0ne6q.svelte-n0ne6q{margin-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body-header-info-button.svelte-n0ne6q.svelte-n0ne6q{margin-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body-header-info-button.svelte-n0ne6q.svelte-n0ne6q{margin-left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body-header-info-button.svelte-n0ne6q.svelte-n0ne6q{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body-header-info-button.svelte-n0ne6q.svelte-n0ne6q{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body-header-info-button.svelte-n0ne6q.svelte-n0ne6q{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body-header-info-button.svelte-n0ne6q.svelte-n0ne6q{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body-header-info-button.svelte-n0ne6q.svelte-n0ne6q{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body-header-info-button.svelte-n0ne6q.svelte-n0ne6q{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body-header-info-button.svelte-n0ne6q.svelte-n0ne6q{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body-header-info-button.svelte-n0ne6q.svelte-n0ne6q{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body-header-info-button.svelte-n0ne6q.svelte-n0ne6q{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body-header-info-button.svelte-n0ne6q.svelte-n0ne6q{width:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body-header-info-button.svelte-n0ne6q.svelte-n0ne6q{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body-header-info-button.svelte-n0ne6q.svelte-n0ne6q{width:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body-header-info-button.svelte-n0ne6q.svelte-n0ne6q{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body-header-info-button.svelte-n0ne6q.svelte-n0ne6q{width:calc(0.0401041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body-header-info-button.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body-header-info-button.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body-header-info-button.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body-header-info-button.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body-header-info-button.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body-header-info-button.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body-header-info-button.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.02578125 * 100vw + 0px)}}.mountain-test-drive__body-header-info-button.svelte-n0ne6q.svelte-n0ne6q:hover{background-color:rgba(255, 255, 255, 0.2)}.mountain-test-drive__body-header-info-button.svelte-n0ne6q:hover .mountain-test-drive__body-header-info-button-key.svelte-n0ne6q{color:#FFFFFF}.mountain-test-drive__body-header-info-button-key.svelte-n0ne6q.svelte-n0ne6q{font-family:\"GothamPro-Bold\";color:#111111;transition:color 0.2s linear;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body-header-info-button-key.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body-header-info-button-key.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body-header-info-button-key.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body-header-info-button-key.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body-header-info-button-key.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body-header-info-button-key.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body-header-info-button-key.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0103125 * 100vw + 0px)}}.mountain-test-drive__body-header-info-title.svelte-n0ne6q.svelte-n0ne6q{font-family:\"GothamPro-Light\";color:#FFFFFF;font-size:calc(0.0083333333 * 100vw + 0px);width:calc(0.153125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body-header-info-title.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body-header-info-title.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body-header-info-title.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body-header-info-title.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body-header-info-title.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body-header-info-title.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body-header-info-title.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body-header-info-title.svelte-n0ne6q.svelte-n0ne6q{width:calc(0.153125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body-header-info-title.svelte-n0ne6q.svelte-n0ne6q{width:calc(0.153125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body-header-info-title.svelte-n0ne6q.svelte-n0ne6q{width:calc(0.11790625 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body-header-info-title.svelte-n0ne6q.svelte-n0ne6q{width:calc(0.1684375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body-header-info-title.svelte-n0ne6q.svelte-n0ne6q{width:calc(0.1071875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body-header-info-title.svelte-n0ne6q.svelte-n0ne6q{width:calc(0.1378125 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body-header-info-title.svelte-n0ne6q.svelte-n0ne6q{width:calc(0.1684375 * 100vw + 0px)}}.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q{position:relative;display:flex;flex-wrap:wrap;overflow:auto;gap:calc(0.0119791667 * 100vw + 0px);padding-top:calc(0.0171875 * 100vw + 0px);padding-left:calc(0.0130208333 * 100vw + 0px);height:calc(0.334375 * 100vw + 0px)}.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q{gap:calc(0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q{gap:calc(0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q{gap:calc(0.0092239583 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q{gap:calc(0.0131770833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q{gap:calc(0.0083854167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q{gap:calc(0.01078125 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q{gap:calc(0.0131770833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q{padding-top:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q{padding-top:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q{padding-top:calc(0.013234375 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q{padding-top:calc(0.01890625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q{padding-top:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q{padding-top:calc(0.01546875 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q{padding-top:calc(0.01890625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.334375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.334375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.25746875 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.3678125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.2340625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.3009375 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.3678125 * 100vw + 0px)}}.mountain-test-drive__body-list.svelte-n0ne6q.svelte-n0ne6q::-webkit-scrollbar{width:0px}.mountain-test-drive__body-item.svelte-n0ne6q.svelte-n0ne6q{position:relative;display:flex;justify-content:center;align-items:center;background:rgba(255, 255, 255, 0.02);border:1px solid rgba(255, 255, 255, 0.1);overflow:hidden;cursor:pointer;transition:background 0.2s linear, border-color 0.2s linear;border-radius:calc(0.0104166667 * 100vw + 0px);width:calc(0.1458333333 * 100vw + 0px);height:calc(0.1041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body-item.svelte-n0ne6q.svelte-n0ne6q{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body-item.svelte-n0ne6q.svelte-n0ne6q{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body-item.svelte-n0ne6q.svelte-n0ne6q{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body-item.svelte-n0ne6q.svelte-n0ne6q{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body-item.svelte-n0ne6q.svelte-n0ne6q{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body-item.svelte-n0ne6q.svelte-n0ne6q{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body-item.svelte-n0ne6q.svelte-n0ne6q{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body-item.svelte-n0ne6q.svelte-n0ne6q{width:calc(0.1458333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body-item.svelte-n0ne6q.svelte-n0ne6q{width:calc(0.1458333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body-item.svelte-n0ne6q.svelte-n0ne6q{width:calc(0.1122916667 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body-item.svelte-n0ne6q.svelte-n0ne6q{width:calc(0.1604166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body-item.svelte-n0ne6q.svelte-n0ne6q{width:calc(0.1020833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body-item.svelte-n0ne6q.svelte-n0ne6q{width:calc(0.13125 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body-item.svelte-n0ne6q.svelte-n0ne6q{width:calc(0.1604166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body-item.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body-item.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body-item.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body-item.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body-item.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body-item.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body-item.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.1145833333 * 100vw + 0px)}}.mountain-test-drive__body-item.svelte-n0ne6q.svelte-n0ne6q:hover{background:linear-gradient(0deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.15)), radial-gradient(45.7% 51.5% at 50% 56%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);border-color:rgba(255, 255, 255, 0.25)}.mountain-test-drive__body-item-title.svelte-n0ne6q.svelte-n0ne6q{position:absolute;font-family:\"GothamPro-Light\";color:#FFFFFF;font-size:calc(0.0072916667 * 100vw + 0px);top:calc(0.0088541667 * 100vw + 0px);left:calc(0.0098958333 * 100vw + 0px);text-shadow:0 0 5px rgb(0, 0, 0), 0 0 4px rgb(0, 0, 0), 0 0 3px rgb(0, 0, 0), 0 0 2px rgb(0, 0, 0), 0 0 1px rgb(0, 0, 0)}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body-item-title.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body-item-title.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body-item-title.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body-item-title.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body-item-title.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body-item-title.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body-item-title.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body-item-title.svelte-n0ne6q.svelte-n0ne6q{top:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body-item-title.svelte-n0ne6q.svelte-n0ne6q{top:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body-item-title.svelte-n0ne6q.svelte-n0ne6q{top:calc(0.0068177083 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body-item-title.svelte-n0ne6q.svelte-n0ne6q{top:calc(0.0097395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body-item-title.svelte-n0ne6q.svelte-n0ne6q{top:calc(0.0061979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body-item-title.svelte-n0ne6q.svelte-n0ne6q{top:calc(0.00796875 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body-item-title.svelte-n0ne6q.svelte-n0ne6q{top:calc(0.0097395833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body-item-title.svelte-n0ne6q.svelte-n0ne6q{left:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body-item-title.svelte-n0ne6q.svelte-n0ne6q{left:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body-item-title.svelte-n0ne6q.svelte-n0ne6q{left:calc(0.0076197917 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body-item-title.svelte-n0ne6q.svelte-n0ne6q{left:calc(0.0108854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body-item-title.svelte-n0ne6q.svelte-n0ne6q{left:calc(0.0069270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body-item-title.svelte-n0ne6q.svelte-n0ne6q{left:calc(0.00890625 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body-item-title.svelte-n0ne6q.svelte-n0ne6q{left:calc(0.0108854167 * 100vw + 0px)}}.mountain-test-drive__body-item-img.svelte-n0ne6q.svelte-n0ne6q{position:absolute;height:calc(0.1041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body-item-img.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body-item-img.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body-item-img.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body-item-img.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body-item-img.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body-item-img.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body-item-img.svelte-n0ne6q.svelte-n0ne6q{height:calc(0.1145833333 * 100vw + 0px)}}.mountain-test-drive__body-item-price.svelte-n0ne6q.svelte-n0ne6q{position:absolute;font-family:\"GothamPro-Bold\";color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px);left:calc(0.0098958333 * 100vw + 0px);bottom:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body-item-price.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body-item-price.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body-item-price.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body-item-price.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body-item-price.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body-item-price.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body-item-price.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body-item-price.svelte-n0ne6q.svelte-n0ne6q{left:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body-item-price.svelte-n0ne6q.svelte-n0ne6q{left:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body-item-price.svelte-n0ne6q.svelte-n0ne6q{left:calc(0.0076197917 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body-item-price.svelte-n0ne6q.svelte-n0ne6q{left:calc(0.0108854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body-item-price.svelte-n0ne6q.svelte-n0ne6q{left:calc(0.0069270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body-item-price.svelte-n0ne6q.svelte-n0ne6q{left:calc(0.00890625 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body-item-price.svelte-n0ne6q.svelte-n0ne6q{left:calc(0.0108854167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body-item-price.svelte-n0ne6q.svelte-n0ne6q{bottom:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body-item-price.svelte-n0ne6q.svelte-n0ne6q{bottom:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body-item-price.svelte-n0ne6q.svelte-n0ne6q{bottom:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body-item-price.svelte-n0ne6q.svelte-n0ne6q{bottom:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body-item-price.svelte-n0ne6q.svelte-n0ne6q{bottom:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body-item-price.svelte-n0ne6q.svelte-n0ne6q{bottom:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body-item-price.svelte-n0ne6q.svelte-n0ne6q{bottom:calc(0.006875 * 100vw + 0px)}}.mountain-test-drive__body-item-price-decorative.svelte-n0ne6q.svelte-n0ne6q{font-family:\"GothamPro-Bold\";color:#57C92F;font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.mountain-test-drive__body-item-price-decorative.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.mountain-test-drive__body-item-price-decorative.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.mountain-test-drive__body-item-price-decorative.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.mountain-test-drive__body-item-price-decorative.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.mountain-test-drive__body-item-price-decorative.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.mountain-test-drive__body-item-price-decorative.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.mountain-test-drive__body-item-price-decorative.svelte-n0ne6q.svelte-n0ne6q{font-size:calc(0.0114583333 * 100vw + 0px)}}");
}

function mountain_test_drive_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[13] = list[i];
	return child_ctx;
}

// (1776:12) {:else}
function mountain_test_drive_index_svelte_create_else_block(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "mountain-test-drive__body-header-logo svelte-n0ne6q");
			if (!src_url_equal(img.src, img_src_value = mountain_test_drive_img_logo_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "logo");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (1772:12) {#if !isEmpty(interfaceText.title)}
function mountain_test_drive_index_svelte_create_if_block_1(ctx) {
	let p;
	let t_value = /*interfaceText*/ ctx[1].title + "";
	let t;

	return {
		c() {
			p = internal_element("p");
			t = internal_text(t_value);
			attr(p, "class", "mountain-test-drive__body-header-title-text svelte-n0ne6q");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t);
		},
		p(ctx, dirty) {
			if (dirty & /*interfaceText*/ 2 && t_value !== (t_value = /*interfaceText*/ ctx[1].title + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (1817:20) {#if list.price > 0}
function mountain_test_drive_index_svelte_create_if_block(ctx) {
	let p;
	let t0_value = formatMoney(/*list*/ ctx[13].price) + "";
	let t0;
	let t1;
	let span;
	let t2_value = /*list*/ ctx[13].currency + "";
	let t2;

	return {
		c() {
			p = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			span = internal_element("span");
			t2 = internal_text(t2_value);
			attr(span, "class", "mountain-test-drive__body-item-price-decorative svelte-n0ne6q");
			attr(p, "class", "mountain-test-drive__body-item-price svelte-n0ne6q");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t0);
			append(p, t1);
			append(p, span);
			append(span, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*vehicleList*/ 1 && t0_value !== (t0_value = formatMoney(/*list*/ ctx[13].price) + "")) set_data(t0, t0_value);
			if (dirty & /*vehicleList*/ 1 && t2_value !== (t2_value = /*list*/ ctx[13].currency + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (1803:12) {#each vehicleList as list}
function mountain_test_drive_index_svelte_create_each_block(ctx) {
	let div;
	let img;
	let img_src_value;
	let t0;
	let p;
	let t1_value = /*list*/ ctx[13].title + "";
	let t1;
	let t2;
	let t3;
	let mounted;
	let dispose;
	let if_block = /*list*/ ctx[13].price > 0 && mountain_test_drive_index_svelte_create_if_block(ctx);

	function click_handler() {
		return /*click_handler*/ ctx[4](/*list*/ ctx[13]);
	}

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			if (if_block) if_block.c();
			t3 = space();
			attr(img, "class", "mountain-test-drive__body-item-img svelte-n0ne6q");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*list*/ ctx[13].img}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "item-img");
			attr(p, "class", "mountain-test-drive__body-item-title svelte-n0ne6q");
			attr(div, "class", "mountain-test-drive__body-item svelte-n0ne6q");
			set_style(div, "--item-color", intToRGBA(/*list*/ ctx[13].color, 0.15));
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
			append(div, t0);
			append(div, p);
			append(p, t1);
			append(div, t2);
			if (if_block) if_block.m(div, null);
			append(div, t3);

			if (!mounted) {
				dispose = listen(div, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*vehicleList*/ 1 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*list*/ ctx[13].img}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*vehicleList*/ 1 && t1_value !== (t1_value = /*list*/ ctx[13].title + "")) set_data(t1, t1_value);

			if (/*list*/ ctx[13].price > 0) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = mountain_test_drive_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div, t3);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (dirty & /*vehicleList*/ 1) {
				set_style(div, "--item-color", intToRGBA(/*list*/ ctx[13].color, 0.15));
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			if (if_block) if_block.d();
			mounted = false;
			dispose();
		}
	};
}

function mountain_test_drive_index_svelte_create_fragment(ctx) {
	let div5;
	let div4;
	let div2;
	let show_if;
	let t0;
	let div1;
	let img;
	let img_src_value;
	let t1;
	let p0;
	let t2_value = /*interfaceText*/ ctx[1].desc + "";
	let t2;
	let t3;
	let div0;
	let t5;
	let div3;
	let mounted;
	let dispose;

	function select_block_type(ctx, dirty) {
		if (dirty & /*interfaceText*/ 2) show_if = null;
		if (show_if == null) show_if = !!!(0,lodash.isEmpty)(/*interfaceText*/ ctx[1].title);
		if (show_if) return mountain_test_drive_index_svelte_create_if_block_1;
		return mountain_test_drive_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block = current_block_type(ctx);
	let each_value = /*vehicleList*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = mountain_test_drive_index_svelte_create_each_block(mountain_test_drive_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div5 = internal_element("div");
			div4 = internal_element("div");
			div2 = internal_element("div");
			if_block.c();
			t0 = space();
			div1 = internal_element("div");
			img = internal_element("img");
			t1 = space();
			p0 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = space();
			div0 = internal_element("div");
			div0.innerHTML = `<p class="mountain-test-drive__body-header-info-button-key svelte-n0ne6q">Esc</p>`;
			t5 = space();
			div3 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(img, "class", "mountain-test-drive__body-header-info-img svelte-n0ne6q");
			if (!src_url_equal(img.src, img_src_value = info_img_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "info-img");
			attr(p0, "class", "mountain-test-drive__body-header-info-title svelte-n0ne6q");
			attr(div0, "class", "mountain-test-drive__body-header-info-button svelte-n0ne6q");
			attr(div1, "class", "mountain-test-drive__body-header-info svelte-n0ne6q");
			attr(div2, "class", "mountain-test-drive__body-header svelte-n0ne6q");
			attr(div3, "class", "mountain-test-drive__body-list svelte-n0ne6q");
			attr(div4, "class", "mountain-test-drive__body svelte-n0ne6q");
			attr(div5, "class", "mountain-test-drive svelte-n0ne6q");
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			append(div5, div4);
			append(div4, div2);
			if_block.m(div2, null);
			append(div2, t0);
			append(div2, div1);
			append(div1, img);
			append(div1, t1);
			append(div1, p0);
			append(p0, t2);
			append(div1, t3);
			append(div1, div0);
			append(div4, t5);
			append(div4, div3);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div3, null);
			}

			if (!mounted) {
				dispose = listen(div0, "click", /*handleClose*/ ctx[3]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div2, t0);
				}
			}

			if (dirty & /*interfaceText*/ 2 && t2_value !== (t2_value = /*interfaceText*/ ctx[1].desc + "")) set_data(t2, t2_value);

			if (dirty & /*intToRGBA, vehicleList, selectVehicle, formatMoney, CDN_URL_RODINA*/ 5) {
				each_value = /*vehicleList*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = mountain_test_drive_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = mountain_test_drive_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div3, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div5);
			if_block.d();
			destroy_each(each_blocks, detaching);
			mounted = false;
			dispose();
		}
	};
}

function mountain_test_drive_index_svelte_instance($$self, $$props, $$invalidate) {
	let vehicleList = [];
	let interfaceText = { title: '', desc: '' };

	const initializeText = textDto => {
		$$invalidate(1, interfaceText = textDto);
	};

	const initializeVehicleList = vehicleListDto => {
		$$invalidate(0, vehicleList = vehicleListDto);
	};

	const addVehiclesToList = newVehicles => {
		$$invalidate(0, vehicleList = [...vehicleList, ...newVehicles]);
	};

	const removeVehicleFromList = id => {
		$$invalidate(0, vehicleList = vehicleList.filter(vehicle => vehicle.id !== id));
	};

	const selectVehicle = vehicleId => {
		sendClientMessage('mountain.testDrive.selectVehicle', vehicleId);
	};

	const handleClose = () => {
		
	}; // exec close event

	const unregisterInitializeTextEvent = registerEvent('event.mountain.testDrive.initializeText', initializeText);
	const unregisterVehicleListEvent = registerEvent('event.mountain.testDrive.initialize', initializeVehicleList);
	const unregisterAddVehiclesEvent = registerEvent('event.mountain.testDrive.addVehicles', addVehiclesToList);
	const unregisterRemoveVehicleEvent = registerEvent('event.mountain.testDrive.removeVehicle', removeVehicleFromList);

	onDestroy(() => {
		unregisterVehicleListEvent();
		unregisterAddVehiclesEvent();
		unregisterInitializeTextEvent();
		unregisterRemoveVehicleEvent();
	});

	const click_handler = list => selectVehicle(list.id);
	return [vehicleList, interfaceText, selectVehicle, handleClose, click_handler];
}

class Mountain_test_drive extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, mountain_test_drive_index_svelte_instance, mountain_test_drive_index_svelte_create_fragment, safe_not_equal, {}, mountain_test_drive_index_svelte_add_css);
	}
}

/* harmony default export */ const mountain_test_drive_index_svelte = (Mountain_test_drive);
;// CONCATENATED MODULE: ./src/views/birthday-event/img/birthday-event-logo.png
const birthday_event_logo_namespaceObject = __webpack_require__.p + "assets/6a2dbae519f7afd5df97.webp";
;// CONCATENATED MODULE: ./src/views/birthday-event/img/birthday-event-flowers.png
const birthday_event_flowers_namespaceObject = __webpack_require__.p + "assets/ae0be424989e039db6d3.webp";
;// CONCATENATED MODULE: ./src/views/birthday-event/menu/img/birthday-event-playerLogo.svg
const birthday_event_playerLogo_namespaceObject = __webpack_require__.p + "assets/765568ee564ee05c2c17.svg";
;// CONCATENATED MODULE: ./src/views/birthday-event/menu/img/birthday-event-girl.png
const birthday_event_girl_namespaceObject = __webpack_require__.p + "assets/a854b6c6e14f6d0311cc.webp";
;// CONCATENATED MODULE: ./src/views/birthday-event/menu/img/birthday-event-quests.png
const birthday_event_quests_namespaceObject = __webpack_require__.p + "assets/7c48f21fc30326c57d0c.webp";
;// CONCATENATED MODULE: ./src/views/birthday-event/menu/img/birthday-event-background.png
const birthday_event_background_namespaceObject = __webpack_require__.p + "assets/e4502914f0a6191f51d1.webp";
;// CONCATENATED MODULE: ./src/views/birthday-event/menu/components/background/index.svelte
/* src\views\birthday-event\menu\components\background\index.svelte generated by Svelte v3.49.0 */




function menu_components_background_index_svelte_add_css(target) {
	append_styles(target, "svelte-1hpdnuq", "@keyframes svelte-1hpdnuq-blinking{50%{opacity:0}}@keyframes svelte-1hpdnuq-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1hpdnuq-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1hpdnuq-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1hpdnuq-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1hpdnuq-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1hpdnuq-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1hpdnuq-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1hpdnuq-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1hpdnuq-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1hpdnuq-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1hpdnuq-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1hpdnuq-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1hpdnuq-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1hpdnuq-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.birthday-event-background.svelte-1hpdnuq{width:100vw;height:100vh}");
}

function menu_components_background_index_svelte_create_fragment(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "birthday-event-background svelte-1hpdnuq");
			if (!src_url_equal(img.src, img_src_value = birthday_event_background_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "BirthDayBackground");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

class menu_components_background_index_svelte_Background extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, menu_components_background_index_svelte_create_fragment, safe_not_equal, {}, menu_components_background_index_svelte_add_css);
	}
}

/* harmony default export */ const menu_components_background_index_svelte = (menu_components_background_index_svelte_Background);
;// CONCATENATED MODULE: ./src/views/birthday-event/menu/index.svelte
/* src\views\birthday-event\menu\index.svelte generated by Svelte v3.49.0 */









// import { PLAYER_STATS } from './mocks';








function birthday_event_menu_index_svelte_add_css(target) {
	append_styles(target, "svelte-mr683q", "@keyframes svelte-mr683q-blinking{50%{opacity:0}}@keyframes svelte-mr683q-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-mr683q-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-mr683q-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-mr683q-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-mr683q-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-mr683q-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-mr683q-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-mr683q-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-mr683q-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-mr683q-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-mr683q-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-mr683q-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-mr683q-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-mr683q-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.birthday-event-menu.svelte-mr683q{display:flex;align-items:center;flex-direction:column;width:100vw;height:100vh;background:linear-gradient(0deg, rgba(0, 22, 32, 0.9), rgba(0, 22, 32, 0.9)), radial-gradient(117.53% 91.62% at 50% 50%, rgba(0, 0, 0, 0) 0%, #000000 100%)}.birthday-event-menu__girl-img.svelte-mr683q{position:absolute;z-index:1;left:0;bottom:0;height:calc(0.4427083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__girl-img.svelte-mr683q{height:calc(0.4427083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__girl-img.svelte-mr683q{height:calc(0.4427083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__girl-img.svelte-mr683q{height:calc(0.3408854167 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__girl-img.svelte-mr683q{height:calc(0.4869791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__girl-img.svelte-mr683q{height:calc(0.3098958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__girl-img.svelte-mr683q{height:calc(0.3984375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__girl-img.svelte-mr683q{height:calc(0.4869791667 * 100vw + 0px)}}.birthday-event-menu__flowers-img.svelte-mr683q{z-index:-1;position:absolute;width:100%;height:100%}.birthday-event-menu__background-quests.svelte-mr683q{position:absolute;right:0;pointer-events:none;top:calc(0.1072916667 * 100vw + 0px);height:calc(0.3875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__background-quests.svelte-mr683q{top:calc(0.1072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__background-quests.svelte-mr683q{top:calc(0.1072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__background-quests.svelte-mr683q{top:calc(0.0826145833 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__background-quests.svelte-mr683q{top:calc(0.1180208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__background-quests.svelte-mr683q{top:calc(0.0751041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__background-quests.svelte-mr683q{top:calc(0.0965625 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__background-quests.svelte-mr683q{top:calc(0.1180208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__background-quests.svelte-mr683q{height:calc(0.3875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__background-quests.svelte-mr683q{height:calc(0.3875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__background-quests.svelte-mr683q{height:calc(0.298375 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__background-quests.svelte-mr683q{height:calc(0.42625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__background-quests.svelte-mr683q{height:calc(0.27125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__background-quests.svelte-mr683q{height:calc(0.34875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__background-quests.svelte-mr683q{height:calc(0.42625 * 100vw + 0px)}}.birthday-event-menu__logo.svelte-mr683q{z-index:1;position:absolute;display:flex;align-items:center;left:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__logo.svelte-mr683q{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__logo.svelte-mr683q{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__logo.svelte-mr683q{left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__logo.svelte-mr683q{left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__logo.svelte-mr683q{left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__logo.svelte-mr683q{left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__logo.svelte-mr683q{left:calc(0.0286458333 * 100vw + 0px)}}.birthday-event-menu__logo-icon.svelte-mr683q{height:calc(0.1145833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__logo-icon.svelte-mr683q{height:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__logo-icon.svelte-mr683q{height:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__logo-icon.svelte-mr683q{height:calc(0.0882291667 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__logo-icon.svelte-mr683q{height:calc(0.1260416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__logo-icon.svelte-mr683q{height:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__logo-icon.svelte-mr683q{height:calc(0.103125 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__logo-icon.svelte-mr683q{height:calc(0.1260416667 * 100vw + 0px)}}.birthday-event-menu__take-contract.svelte-mr683q{position:absolute;display:flex;flex-direction:column;right:calc(0.1125 * 100vw + 0px);top:calc(0.2515625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__take-contract.svelte-mr683q{right:calc(0.1125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__take-contract.svelte-mr683q{right:calc(0.1125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__take-contract.svelte-mr683q{right:calc(0.086625 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__take-contract.svelte-mr683q{right:calc(0.12375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__take-contract.svelte-mr683q{right:calc(0.07875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__take-contract.svelte-mr683q{right:calc(0.10125 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__take-contract.svelte-mr683q{right:calc(0.12375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__take-contract.svelte-mr683q{top:calc(0.2515625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__take-contract.svelte-mr683q{top:calc(0.2515625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__take-contract.svelte-mr683q{top:calc(0.193703125 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__take-contract.svelte-mr683q{top:calc(0.27671875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__take-contract.svelte-mr683q{top:calc(0.17609375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__take-contract.svelte-mr683q{top:calc(0.22640625 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__take-contract.svelte-mr683q{top:calc(0.27671875 * 100vw + 0px)}}.birthday-event-menu__take-contract-title.svelte-mr683q{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0333333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__take-contract-title.svelte-mr683q{font-size:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__take-contract-title.svelte-mr683q{font-size:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__take-contract-title.svelte-mr683q{font-size:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__take-contract-title.svelte-mr683q{font-size:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__take-contract-title.svelte-mr683q{font-size:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__take-contract-title.svelte-mr683q{font-size:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__take-contract-title.svelte-mr683q{font-size:calc(0.0366666667 * 100vw + 0px)}}.birthday-event-menu__take-contract-title--bold.svelte-mr683q{font-family:\"GothamPro-Bold\"}.birthday-event-menu__take-contract-btn.svelte-mr683q{display:flex;justify-content:center;align-items:center;cursor:pointer;font-size:calc(0.009375 * 100vw + 0px);width:calc(0.0520833333 * 100vw + 0px);height:calc(0.0234375 * 100vw + 0px);margin-top:calc(0.0083333333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__take-contract-btn.svelte-mr683q{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__take-contract-btn.svelte-mr683q{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__take-contract-btn.svelte-mr683q{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__take-contract-btn.svelte-mr683q{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__take-contract-btn.svelte-mr683q{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__take-contract-btn.svelte-mr683q{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__take-contract-btn.svelte-mr683q{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__take-contract-btn.svelte-mr683q{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__take-contract-btn.svelte-mr683q{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__take-contract-btn.svelte-mr683q{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__take-contract-btn.svelte-mr683q{width:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__take-contract-btn.svelte-mr683q{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__take-contract-btn.svelte-mr683q{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__take-contract-btn.svelte-mr683q{width:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__take-contract-btn.svelte-mr683q{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__take-contract-btn.svelte-mr683q{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__take-contract-btn.svelte-mr683q{height:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__take-contract-btn.svelte-mr683q{height:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__take-contract-btn.svelte-mr683q{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__take-contract-btn.svelte-mr683q{height:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__take-contract-btn.svelte-mr683q{height:calc(0.02578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__take-contract-btn.svelte-mr683q{margin-top:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__take-contract-btn.svelte-mr683q{margin-top:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__take-contract-btn.svelte-mr683q{margin-top:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__take-contract-btn.svelte-mr683q{margin-top:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__take-contract-btn.svelte-mr683q{margin-top:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__take-contract-btn.svelte-mr683q{margin-top:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__take-contract-btn.svelte-mr683q{margin-top:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__take-contract-btn.svelte-mr683q{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__take-contract-btn.svelte-mr683q{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__take-contract-btn.svelte-mr683q{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__take-contract-btn.svelte-mr683q{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__take-contract-btn.svelte-mr683q{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__take-contract-btn.svelte-mr683q{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__take-contract-btn.svelte-mr683q{border-radius:calc(0.0057291667 * 100vw + 0px)}}.birthday-event-menu__player-title-wrapper.svelte-mr683q{z-index:1;position:absolute;bottom:calc(0.1104166667 * 100vw + 0px);left:calc(0.4234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__player-title-wrapper.svelte-mr683q{bottom:calc(0.1104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__player-title-wrapper.svelte-mr683q{bottom:calc(0.1104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__player-title-wrapper.svelte-mr683q{bottom:calc(0.0850208333 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__player-title-wrapper.svelte-mr683q{bottom:calc(0.1214583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__player-title-wrapper.svelte-mr683q{bottom:calc(0.0772916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__player-title-wrapper.svelte-mr683q{bottom:calc(0.099375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__player-title-wrapper.svelte-mr683q{bottom:calc(0.1214583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__player-title-wrapper.svelte-mr683q{left:calc(0.4234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__player-title-wrapper.svelte-mr683q{left:calc(0.4234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__player-title-wrapper.svelte-mr683q{left:calc(0.326046875 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__player-title-wrapper.svelte-mr683q{left:calc(0.46578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__player-title-wrapper.svelte-mr683q{left:calc(0.29640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__player-title-wrapper.svelte-mr683q{left:calc(0.38109375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__player-title-wrapper.svelte-mr683q{left:calc(0.46578125 * 100vw + 0px)}}.birthday-event-menu__player-title.svelte-mr683q{font-family:\"GothamPro-Bold\";color:#FFFFFF;font-size:calc(0.0208333333 * 100vw + 0px);width:calc(0.1822916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__player-title.svelte-mr683q{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__player-title.svelte-mr683q{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__player-title.svelte-mr683q{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__player-title.svelte-mr683q{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__player-title.svelte-mr683q{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__player-title.svelte-mr683q{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__player-title.svelte-mr683q{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__player-title.svelte-mr683q{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__player-title.svelte-mr683q{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__player-title.svelte-mr683q{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__player-title.svelte-mr683q{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__player-title.svelte-mr683q{width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__player-title.svelte-mr683q{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__player-title.svelte-mr683q{width:calc(0.2005208333 * 100vw + 0px)}}.birthday-event-menu__player-name.svelte-mr683q{display:flex;align-items:center;color:#FFFFFF;background:#343434;font-family:\"GothamPro-Bold\";width:calc(0.1822916667 * 100vw + 0px);height:calc(0.0520833333 * 100vw + 0px);border-radius:calc(0.0078125 * 100vw + 0px);font-size:calc(0.0166666667 * 100vw + 0px);margin-top:calc(0.0182291667 * 100vw + 0px);margin-bottom:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__player-name.svelte-mr683q{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__player-name.svelte-mr683q{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__player-name.svelte-mr683q{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__player-name.svelte-mr683q{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__player-name.svelte-mr683q{width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__player-name.svelte-mr683q{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__player-name.svelte-mr683q{width:calc(0.2005208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__player-name.svelte-mr683q{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__player-name.svelte-mr683q{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__player-name.svelte-mr683q{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__player-name.svelte-mr683q{height:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__player-name.svelte-mr683q{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__player-name.svelte-mr683q{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__player-name.svelte-mr683q{height:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__player-name.svelte-mr683q{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__player-name.svelte-mr683q{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__player-name.svelte-mr683q{border-radius:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__player-name.svelte-mr683q{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__player-name.svelte-mr683q{border-radius:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__player-name.svelte-mr683q{border-radius:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__player-name.svelte-mr683q{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__player-name.svelte-mr683q{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__player-name.svelte-mr683q{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__player-name.svelte-mr683q{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__player-name.svelte-mr683q{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__player-name.svelte-mr683q{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__player-name.svelte-mr683q{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__player-name.svelte-mr683q{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__player-name.svelte-mr683q{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__player-name.svelte-mr683q{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__player-name.svelte-mr683q{margin-top:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__player-name.svelte-mr683q{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__player-name.svelte-mr683q{margin-top:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__player-name.svelte-mr683q{margin-top:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__player-name.svelte-mr683q{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__player-name.svelte-mr683q{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__player-name.svelte-mr683q{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__player-name.svelte-mr683q{margin-bottom:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__player-name.svelte-mr683q{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__player-name.svelte-mr683q{margin-bottom:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__player-name.svelte-mr683q{margin-bottom:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__player-name.svelte-mr683q{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}.birthday-event-menu__player-icon-wrapper.svelte-mr683q{height:calc(0.015625 * 100vw + 0px);margin-right:calc(0.0104166667 * 100vw + 0px);margin-left:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__player-icon-wrapper.svelte-mr683q{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__player-icon-wrapper.svelte-mr683q{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__player-icon-wrapper.svelte-mr683q{height:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__player-icon-wrapper.svelte-mr683q{height:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__player-icon-wrapper.svelte-mr683q{height:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__player-icon-wrapper.svelte-mr683q{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__player-icon-wrapper.svelte-mr683q{height:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__player-icon-wrapper.svelte-mr683q{margin-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__player-icon-wrapper.svelte-mr683q{margin-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__player-icon-wrapper.svelte-mr683q{margin-right:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__player-icon-wrapper.svelte-mr683q{margin-right:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__player-icon-wrapper.svelte-mr683q{margin-right:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__player-icon-wrapper.svelte-mr683q{margin-right:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__player-icon-wrapper.svelte-mr683q{margin-right:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__player-icon-wrapper.svelte-mr683q{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__player-icon-wrapper.svelte-mr683q{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__player-icon-wrapper.svelte-mr683q{margin-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__player-icon-wrapper.svelte-mr683q{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__player-icon-wrapper.svelte-mr683q{margin-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__player-icon-wrapper.svelte-mr683q{margin-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__player-icon-wrapper.svelte-mr683q{margin-left:calc(0.0114583333 * 100vw + 0px)}}.birthday-event-menu__player-icon.svelte-mr683q{width:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__player-icon.svelte-mr683q{width:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__player-icon.svelte-mr683q{width:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__player-icon.svelte-mr683q{width:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__player-icon.svelte-mr683q{width:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__player-icon.svelte-mr683q{width:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__player-icon.svelte-mr683q{width:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__player-icon.svelte-mr683q{width:calc(0.0171875 * 100vw + 0px)}}.birthday-event-menu__player-stats.svelte-mr683q{display:flex;justify-content:space-between;border-radius:15px;background:#343434;width:calc(0.1822916667 * 100vw + 0px);padding-bottom:calc(0.0119791667 * 100vw + 0px);padding-left:calc(0.0234375 * 100vw + 0px);padding-right:calc(0.0234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__player-stats.svelte-mr683q{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__player-stats.svelte-mr683q{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__player-stats.svelte-mr683q{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__player-stats.svelte-mr683q{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__player-stats.svelte-mr683q{width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__player-stats.svelte-mr683q{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__player-stats.svelte-mr683q{width:calc(0.2005208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__player-stats.svelte-mr683q{padding-bottom:calc(0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__player-stats.svelte-mr683q{padding-bottom:calc(0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__player-stats.svelte-mr683q{padding-bottom:calc(0.0092239583 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__player-stats.svelte-mr683q{padding-bottom:calc(0.0131770833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__player-stats.svelte-mr683q{padding-bottom:calc(0.0083854167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__player-stats.svelte-mr683q{padding-bottom:calc(0.01078125 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__player-stats.svelte-mr683q{padding-bottom:calc(0.0131770833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__player-stats.svelte-mr683q{padding-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__player-stats.svelte-mr683q{padding-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__player-stats.svelte-mr683q{padding-left:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__player-stats.svelte-mr683q{padding-left:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__player-stats.svelte-mr683q{padding-left:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__player-stats.svelte-mr683q{padding-left:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__player-stats.svelte-mr683q{padding-left:calc(0.02578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__player-stats.svelte-mr683q{padding-right:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__player-stats.svelte-mr683q{padding-right:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__player-stats.svelte-mr683q{padding-right:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__player-stats.svelte-mr683q{padding-right:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__player-stats.svelte-mr683q{padding-right:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__player-stats.svelte-mr683q{padding-right:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__player-stats.svelte-mr683q{padding-right:calc(0.02578125 * 100vw + 0px)}}.birthday-event-menu__player-quest-count.svelte-mr683q{font-family:\"GothamPro-Bold\";color:#FFFFFF;font-size:calc(0.0125 * 100vw + 0px);padding-top:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__player-quest-count.svelte-mr683q{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__player-quest-count.svelte-mr683q{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__player-quest-count.svelte-mr683q{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__player-quest-count.svelte-mr683q{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__player-quest-count.svelte-mr683q{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__player-quest-count.svelte-mr683q{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__player-quest-count.svelte-mr683q{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__player-quest-count.svelte-mr683q{padding-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__player-quest-count.svelte-mr683q{padding-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__player-quest-count.svelte-mr683q{padding-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__player-quest-count.svelte-mr683q{padding-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__player-quest-count.svelte-mr683q{padding-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__player-quest-count.svelte-mr683q{padding-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__player-quest-count.svelte-mr683q{padding-top:calc(0.0143229167 * 100vw + 0px)}}.birthday-event-menu__player-quest-title.svelte-mr683q{font-family:\"GothamPro\";color:#FFFFFF;width:fit-content;padding-top:calc(0.0052083333 * 100vw + 0px);font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__player-quest-title.svelte-mr683q{padding-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__player-quest-title.svelte-mr683q{padding-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__player-quest-title.svelte-mr683q{padding-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__player-quest-title.svelte-mr683q{padding-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__player-quest-title.svelte-mr683q{padding-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__player-quest-title.svelte-mr683q{padding-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__player-quest-title.svelte-mr683q{padding-top:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__player-quest-title.svelte-mr683q{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__player-quest-title.svelte-mr683q{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__player-quest-title.svelte-mr683q{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__player-quest-title.svelte-mr683q{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__player-quest-title.svelte-mr683q{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__player-quest-title.svelte-mr683q{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__player-quest-title.svelte-mr683q{font-size:calc(0.006875 * 100vw + 0px)}}.birthday-event-menu__player-stats-left.svelte-mr683q{width:calc(0.0479166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__player-stats-left.svelte-mr683q{width:calc(0.0479166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__player-stats-left.svelte-mr683q{width:calc(0.0479166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__player-stats-left.svelte-mr683q{width:calc(0.0368958333 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__player-stats-left.svelte-mr683q{width:calc(0.0527083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__player-stats-left.svelte-mr683q{width:calc(0.0335416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__player-stats-left.svelte-mr683q{width:calc(0.043125 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__player-stats-left.svelte-mr683q{width:calc(0.0527083333 * 100vw + 0px)}}.birthday-event-menu__player-stats-right.svelte-mr683q{width:calc(0.0578125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-menu__player-stats-right.svelte-mr683q{width:calc(0.0578125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-menu__player-stats-right.svelte-mr683q{width:calc(0.0578125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-menu__player-stats-right.svelte-mr683q{width:calc(0.044515625 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-menu__player-stats-right.svelte-mr683q{width:calc(0.06359375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-menu__player-stats-right.svelte-mr683q{width:calc(0.04046875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-menu__player-stats-right.svelte-mr683q{width:calc(0.05203125 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-menu__player-stats-right.svelte-mr683q{width:calc(0.06359375 * 100vw + 0px)}}");
}

function birthday_event_menu_index_svelte_create_fragment(ctx) {
	let div11;
	let exitbutton;
	let t0;
	let img0;
	let img0_src_value;
	let t1;
	let img1;
	let img1_src_value;
	let t2;
	let birthdayeventbackground;
	let t3;
	let img2;
	let img2_src_value;
	let t4;
	let div0;
	let img3;
	let img3_src_value;
	let t5;
	let div2;
	let p0;
	let t9;
	let div1;
	let actionbutton;
	let t10;
	let div10;
	let p1;
	let t12;
	let div4;
	let div3;
	let img4;
	let img4_src_value;
	let t13;
	let p2;
	let t14_value = /*stats*/ ctx[0].name + "";
	let t14;
	let t15;
	let div9;
	let div6;
	let div5;
	let p3;
	let t16_value = /*stats*/ ctx[0].completedQuests + "";
	let t16;
	let t17;
	let p4;
	let t19;
	let div8;
	let div7;
	let p5;
	let t20_value = /*stats*/ ctx[0].earnedAzCoins + "";
	let t20;
	let t21;
	let p6;
	let current;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[1],
				fixedPosition: true
			}
		});

	birthdayeventbackground = new menu_components_background_index_svelte({});

	actionbutton = new index_svelte({
			props: {
				onPress: /*onTakeQuest*/ ctx[2],
				keyTitle: "Enter",
				keyCode: 13,
				size: ActionButtonSize.FillFree
			}
		});

	return {
		c() {
			div11 = internal_element("div");
			create_component(exitbutton.$$.fragment);
			t0 = space();
			img0 = internal_element("img");
			t1 = space();
			img1 = internal_element("img");
			t2 = space();
			create_component(birthdayeventbackground.$$.fragment);
			t3 = space();
			img2 = internal_element("img");
			t4 = space();
			div0 = internal_element("div");
			img3 = internal_element("img");
			t5 = space();
			div2 = internal_element("div");
			p0 = internal_element("p");

			p0.innerHTML = `Взять
            <br/> 
            <span class="birthday-event-menu__take-contract-title--bold svelte-mr683q">задание</span>`;

			t9 = space();
			div1 = internal_element("div");
			create_component(actionbutton.$$.fragment);
			t10 = space();
			div10 = internal_element("div");
			p1 = internal_element("p");
			p1.textContent = "Активность на мероприятии";
			t12 = space();
			div4 = internal_element("div");
			div3 = internal_element("div");
			img4 = internal_element("img");
			t13 = space();
			p2 = internal_element("p");
			t14 = internal_text(t14_value);
			t15 = space();
			div9 = internal_element("div");
			div6 = internal_element("div");
			div5 = internal_element("div");
			p3 = internal_element("p");
			t16 = internal_text(t16_value);
			t17 = space();
			p4 = internal_element("p");
			p4.textContent = "Выполнено заданий";
			t19 = space();
			div8 = internal_element("div");
			div7 = internal_element("div");
			p5 = internal_element("p");
			t20 = internal_text(t20_value);
			t21 = space();
			p6 = internal_element("p");
			p6.textContent = "Заработано AZ-Coins";
			attr(img0, "class", "birthday-event-menu__flowers-img svelte-mr683q");
			if (!src_url_equal(img0.src, img0_src_value = birthday_event_flowers_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "flowers");
			attr(img1, "class", "birthday-event-menu__girl-img svelte-mr683q");
			if (!src_url_equal(img1.src, img1_src_value = birthday_event_girl_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "girl");
			attr(img2, "class", "birthday-event-menu__background-quests svelte-mr683q");
			if (!src_url_equal(img2.src, img2_src_value = birthday_event_quests_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "questBackground");
			attr(img3, "class", "birthday-event-menu__logo-icon svelte-mr683q");
			if (!src_url_equal(img3.src, img3_src_value = birthday_event_logo_namespaceObject)) attr(img3, "src", img3_src_value);
			attr(img3, "alt", "logo");
			attr(div0, "class", "birthday-event-menu__logo svelte-mr683q");
			attr(p0, "class", "birthday-event-menu__take-contract-title svelte-mr683q");
			attr(div1, "class", "birthday-event-menu__take-contract-btn svelte-mr683q");
			attr(div2, "class", "birthday-event-menu__take-contract svelte-mr683q");
			attr(p1, "class", "birthday-event-menu__player-title svelte-mr683q");
			attr(img4, "class", "birthday-event-menu__player-icon svelte-mr683q");
			if (!src_url_equal(img4.src, img4_src_value = birthday_event_playerLogo_namespaceObject)) attr(img4, "src", img4_src_value);
			attr(img4, "alt", "playerLogo");
			attr(div3, "class", "birthday-event-menu__player-icon-wrapper svelte-mr683q");
			attr(p2, "class", "birthday-event-menu__player");
			attr(div4, "class", "birthday-event-menu__player-name svelte-mr683q");
			attr(p3, "class", "birthday-event-menu__player-quest-count svelte-mr683q");
			attr(p4, "class", "birthday-event-menu__player-quest-title svelte-mr683q");
			attr(div5, "class", "birthday-event-menu__player-completed-quests");
			attr(div6, "class", "birthday-event-menu__player-stats-left svelte-mr683q");
			attr(p5, "class", "birthday-event-menu__player-quest-count svelte-mr683q");
			attr(p6, "class", "birthday-event-menu__player-quest-title svelte-mr683q");
			attr(div7, "class", "birthday-event-menu__player-az-coins");
			attr(div8, "class", "birthday-event-menu__player-stats-right svelte-mr683q");
			attr(div9, "class", "birthday-event-menu__player-stats svelte-mr683q");
			attr(div10, "class", "birthday-event-menu__player-title-wrapper svelte-mr683q");
			attr(div11, "class", "birthday-event-menu svelte-mr683q");
		},
		m(target, anchor) {
			insert(target, div11, anchor);
			mount_component(exitbutton, div11, null);
			append(div11, t0);
			append(div11, img0);
			append(div11, t1);
			append(div11, img1);
			append(div11, t2);
			mount_component(birthdayeventbackground, div11, null);
			append(div11, t3);
			append(div11, img2);
			append(div11, t4);
			append(div11, div0);
			append(div0, img3);
			append(div11, t5);
			append(div11, div2);
			append(div2, p0);
			append(div2, t9);
			append(div2, div1);
			mount_component(actionbutton, div1, null);
			append(div11, t10);
			append(div11, div10);
			append(div10, p1);
			append(div10, t12);
			append(div10, div4);
			append(div4, div3);
			append(div3, img4);
			append(div4, t13);
			append(div4, p2);
			append(p2, t14);
			append(div10, t15);
			append(div10, div9);
			append(div9, div6);
			append(div6, div5);
			append(div5, p3);
			append(p3, t16);
			append(div5, t17);
			append(div5, p4);
			append(div9, t19);
			append(div9, div8);
			append(div8, div7);
			append(div7, p5);
			append(p5, t20);
			append(div7, t21);
			append(div7, p6);
			current = true;
		},
		p(ctx, [dirty]) {
			if ((!current || dirty & /*stats*/ 1) && t14_value !== (t14_value = /*stats*/ ctx[0].name + "")) set_data(t14, t14_value);
			if ((!current || dirty & /*stats*/ 1) && t16_value !== (t16_value = /*stats*/ ctx[0].completedQuests + "")) set_data(t16, t16_value);
			if ((!current || dirty & /*stats*/ 1) && t20_value !== (t20_value = /*stats*/ ctx[0].earnedAzCoins + "")) set_data(t20, t20_value);
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			transition_in(birthdayeventbackground.$$.fragment, local);
			transition_in(actionbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			transition_out(birthdayeventbackground.$$.fragment, local);
			transition_out(actionbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div11);
			destroy_component(exitbutton);
			destroy_component(birthdayeventbackground);
			destroy_component(actionbutton);
		}
	};
}

function birthday_event_menu_index_svelte_instance($$self, $$props, $$invalidate) {
	let stats = {};

	const initStats = statsDto => {
		$$invalidate(0, stats = statsDto);
	};

	const handleClose = () => {
		
	}; // exec close event

	const onTakeQuest = () => {
		sendClientMessage('birthdayEvent.stats.openQuests');
	};

	const unregisterInitStatsEvent = registerEvent('birthdayEvent.stats.initialize', initStats);

	onDestroy(() => {
		unregisterInitStatsEvent();
	});

	return [stats, handleClose, onTakeQuest];
}

class birthday_event_menu_index_svelte_Menu extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, birthday_event_menu_index_svelte_instance, birthday_event_menu_index_svelte_create_fragment, safe_not_equal, {}, birthday_event_menu_index_svelte_add_css);
	}
}

/* harmony default export */ const birthday_event_menu_index_svelte = (birthday_event_menu_index_svelte_Menu);
;// CONCATENATED MODULE: ./src/views/birthday-event/quests/img/birthday-event-girl.png
const quests_img_birthday_event_girl_namespaceObject = __webpack_require__.p + "assets/cab8f4d29bcef4dcf154.webp";
;// CONCATENATED MODULE: ./src/views/birthday-event/quests/img/birthday-event-background.png
const quests_img_birthday_event_background_namespaceObject = __webpack_require__.p + "assets/dc94874a660fe8a7031b.webp";
;// CONCATENATED MODULE: ./src/views/birthday-event/quests/components/background/index.svelte
/* src\views\birthday-event\quests\components\background\index.svelte generated by Svelte v3.49.0 */




function quests_components_background_index_svelte_add_css(target) {
	append_styles(target, "svelte-1hpdnuq", "@keyframes svelte-1hpdnuq-blinking{50%{opacity:0}}@keyframes svelte-1hpdnuq-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1hpdnuq-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1hpdnuq-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1hpdnuq-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1hpdnuq-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1hpdnuq-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1hpdnuq-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1hpdnuq-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1hpdnuq-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1hpdnuq-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1hpdnuq-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1hpdnuq-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1hpdnuq-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1hpdnuq-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.birthday-event-background.svelte-1hpdnuq{width:100vw;height:100vh}");
}

function quests_components_background_index_svelte_create_fragment(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "birthday-event-background svelte-1hpdnuq");
			if (!src_url_equal(img.src, img_src_value = quests_img_birthday_event_background_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "BirthDayBackground");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

class quests_components_background_index_svelte_Background extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, quests_components_background_index_svelte_create_fragment, safe_not_equal, {}, quests_components_background_index_svelte_add_css);
	}
}

/* harmony default export */ const quests_components_background_index_svelte = (quests_components_background_index_svelte_Background);
;// CONCATENATED MODULE: ./src/views/birthday-event/quests/components/accordion/img/arrow.svg
const birthday_event_quests_components_accordion_img_arrow_namespaceObject = __webpack_require__.p + "assets/5d593ca0a42ce89d531a.svg";
;// CONCATENATED MODULE: ./src/views/birthday-event/quests/components/accordion/index.svelte
/* src\views\birthday-event\quests\components\accordion\index.svelte generated by Svelte v3.49.0 */







function birthday_event_quests_components_accordion_index_svelte_add_css(target) {
	append_styles(target, "svelte-1tqrctk", "@keyframes svelte-1tqrctk-blinking{50%{opacity:0}}@keyframes svelte-1tqrctk-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1tqrctk-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1tqrctk-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1tqrctk-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1tqrctk-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1tqrctk-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1tqrctk-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1tqrctk-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1tqrctk-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1tqrctk-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1tqrctk-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1tqrctk-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1tqrctk-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1tqrctk-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.birthday-event-quests__items-block.svelte-1tqrctk{background:#343434;overflow:hidden;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.3125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-block.svelte-1tqrctk{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-block.svelte-1tqrctk{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-block.svelte-1tqrctk{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-block.svelte-1tqrctk{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-block.svelte-1tqrctk{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-block.svelte-1tqrctk{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-block.svelte-1tqrctk{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-block.svelte-1tqrctk{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-block.svelte-1tqrctk{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-block.svelte-1tqrctk{width:calc(0.240625 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-block.svelte-1tqrctk{width:calc(0.34375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-block.svelte-1tqrctk{width:calc(0.21875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-block.svelte-1tqrctk{width:calc(0.28125 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-block.svelte-1tqrctk{width:calc(0.34375 * 100vw + 0px)}}.birthday-event-quests__items-block.svelte-1tqrctk:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-block.svelte-1tqrctk:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-block.svelte-1tqrctk:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-block.svelte-1tqrctk:not(:first-child){margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-block.svelte-1tqrctk:not(:first-child){margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-block.svelte-1tqrctk:not(:first-child){margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-block.svelte-1tqrctk:not(:first-child){margin-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-block.svelte-1tqrctk:not(:first-child){margin-top:calc(0.0114583333 * 100vw + 0px)}}.birthday-event-quests__items-block-upper.svelte-1tqrctk{display:flex;align-items:center;justify-content:space-between;position:relative}.birthday-event-quests__items-block-text.svelte-1tqrctk{padding-top:calc(0.0152604167 * 100vw + 0px);padding-bottom:calc(0.0151041667 * 100vw + 0px);padding-left:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-block-text.svelte-1tqrctk{padding-top:calc(0.0152604167 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-block-text.svelte-1tqrctk{padding-top:calc(0.0152604167 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-block-text.svelte-1tqrctk{padding-top:calc(0.0117505208 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-block-text.svelte-1tqrctk{padding-top:calc(0.0167864583 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-block-text.svelte-1tqrctk{padding-top:calc(0.0106822917 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-block-text.svelte-1tqrctk{padding-top:calc(0.013734375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-block-text.svelte-1tqrctk{padding-top:calc(0.0167864583 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-block-text.svelte-1tqrctk{padding-bottom:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-block-text.svelte-1tqrctk{padding-bottom:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-block-text.svelte-1tqrctk{padding-bottom:calc(0.0116302083 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-block-text.svelte-1tqrctk{padding-bottom:calc(0.0166145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-block-text.svelte-1tqrctk{padding-bottom:calc(0.0105729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-block-text.svelte-1tqrctk{padding-bottom:calc(0.01359375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-block-text.svelte-1tqrctk{padding-bottom:calc(0.0166145833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-block-text.svelte-1tqrctk{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-block-text.svelte-1tqrctk{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-block-text.svelte-1tqrctk{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-block-text.svelte-1tqrctk{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-block-text.svelte-1tqrctk{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-block-text.svelte-1tqrctk{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-block-text.svelte-1tqrctk{padding-left:calc(0.0143229167 * 100vw + 0px)}}.birthday-event-quests__items-block-title-wrapper.svelte-1tqrctk{display:flex;align-items:center}.birthday-event-quests__items-block-arrow--opened.svelte-1tqrctk{transform:rotate(180deg)}.birthday-event-quests__items-block-title.svelte-1tqrctk{color:#FFFFFF;font-family:\"GothamPro-Medium\";margin-left:calc(0.003125 * 100vw + 0px);font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-block-title.svelte-1tqrctk{margin-left:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-block-title.svelte-1tqrctk{margin-left:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-block-title.svelte-1tqrctk{margin-left:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-block-title.svelte-1tqrctk{margin-left:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-block-title.svelte-1tqrctk{margin-left:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-block-title.svelte-1tqrctk{margin-left:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-block-title.svelte-1tqrctk{margin-left:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-block-title.svelte-1tqrctk{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-block-title.svelte-1tqrctk{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-block-title.svelte-1tqrctk{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-block-title.svelte-1tqrctk{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-block-title.svelte-1tqrctk{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-block-title.svelte-1tqrctk{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-block-title.svelte-1tqrctk{font-size:calc(0.0103125 * 100vw + 0px)}}.birthday-event-quests__items-block-descr.svelte-1tqrctk{color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.00625 * 100vw + 0px);margin-top:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-block-descr.svelte-1tqrctk{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-block-descr.svelte-1tqrctk{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-block-descr.svelte-1tqrctk{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-block-descr.svelte-1tqrctk{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-block-descr.svelte-1tqrctk{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-block-descr.svelte-1tqrctk{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-block-descr.svelte-1tqrctk{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-block-descr.svelte-1tqrctk{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-block-descr.svelte-1tqrctk{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-block-descr.svelte-1tqrctk{margin-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-block-descr.svelte-1tqrctk{margin-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-block-descr.svelte-1tqrctk{margin-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-block-descr.svelte-1tqrctk{margin-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-block-descr.svelte-1tqrctk{margin-top:calc(0.0057291667 * 100vw + 0px)}}.birthday-event-quests__items-progress-body.svelte-1tqrctk{display:flex;flex-direction:row;font-family:\"GothamPro-Medium\";font-size:calc(0.009375 * 100vw + 0px);padding-right:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-progress-body.svelte-1tqrctk{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-progress-body.svelte-1tqrctk{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-progress-body.svelte-1tqrctk{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-progress-body.svelte-1tqrctk{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-progress-body.svelte-1tqrctk{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-progress-body.svelte-1tqrctk{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-progress-body.svelte-1tqrctk{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-progress-body.svelte-1tqrctk{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-progress-body.svelte-1tqrctk{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-progress-body.svelte-1tqrctk{padding-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-progress-body.svelte-1tqrctk{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-progress-body.svelte-1tqrctk{padding-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-progress-body.svelte-1tqrctk{padding-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-progress-body.svelte-1tqrctk{padding-right:calc(0.0143229167 * 100vw + 0px)}}.birthday-event-quests__items-progress-body--maxProgress.svelte-1tqrctk{display:flex;justify-content:center;align-items:center;background:#83BD6F;border-radius:calc(0.0130208333 * 100vw + 0px);width:calc(0.0442708333 * 100vw + 0px);height:calc(0.0130208333 * 100vw + 0px);margin-right:calc(0.0083333333 * 100vw + 0px);padding-right:0}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-progress-body--maxProgress.svelte-1tqrctk{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-progress-body--maxProgress.svelte-1tqrctk{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-progress-body--maxProgress.svelte-1tqrctk{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-progress-body--maxProgress.svelte-1tqrctk{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-progress-body--maxProgress.svelte-1tqrctk{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-progress-body--maxProgress.svelte-1tqrctk{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-progress-body--maxProgress.svelte-1tqrctk{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-progress-body--maxProgress.svelte-1tqrctk{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-progress-body--maxProgress.svelte-1tqrctk{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-progress-body--maxProgress.svelte-1tqrctk{width:calc(0.0340885417 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-progress-body--maxProgress.svelte-1tqrctk{width:calc(0.0486979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-progress-body--maxProgress.svelte-1tqrctk{width:calc(0.0309895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-progress-body--maxProgress.svelte-1tqrctk{width:calc(0.03984375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-progress-body--maxProgress.svelte-1tqrctk{width:calc(0.0486979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-progress-body--maxProgress.svelte-1tqrctk{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-progress-body--maxProgress.svelte-1tqrctk{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-progress-body--maxProgress.svelte-1tqrctk{height:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-progress-body--maxProgress.svelte-1tqrctk{height:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-progress-body--maxProgress.svelte-1tqrctk{height:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-progress-body--maxProgress.svelte-1tqrctk{height:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-progress-body--maxProgress.svelte-1tqrctk{height:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-progress-body--maxProgress.svelte-1tqrctk{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-progress-body--maxProgress.svelte-1tqrctk{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-progress-body--maxProgress.svelte-1tqrctk{margin-right:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-progress-body--maxProgress.svelte-1tqrctk{margin-right:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-progress-body--maxProgress.svelte-1tqrctk{margin-right:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-progress-body--maxProgress.svelte-1tqrctk{margin-right:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-progress-body--maxProgress.svelte-1tqrctk{margin-right:calc(0.0091666667 * 100vw + 0px)}}.birthday-event-quests__items-progress-body--rewardReceived.svelte-1tqrctk{text-align:center;display:flex;justify-content:center;align-items:center;background:#F2C94C;border-radius:calc(0.0130208333 * 100vw + 0px);width:calc(0.0442708333 * 100vw + 0px);height:calc(0.0130208333 * 100vw + 0px);margin-right:calc(0.0083333333 * 100vw + 0px);padding-right:0}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-progress-body--rewardReceived.svelte-1tqrctk{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-progress-body--rewardReceived.svelte-1tqrctk{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-progress-body--rewardReceived.svelte-1tqrctk{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-progress-body--rewardReceived.svelte-1tqrctk{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-progress-body--rewardReceived.svelte-1tqrctk{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-progress-body--rewardReceived.svelte-1tqrctk{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-progress-body--rewardReceived.svelte-1tqrctk{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-progress-body--rewardReceived.svelte-1tqrctk{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-progress-body--rewardReceived.svelte-1tqrctk{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-progress-body--rewardReceived.svelte-1tqrctk{width:calc(0.0340885417 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-progress-body--rewardReceived.svelte-1tqrctk{width:calc(0.0486979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-progress-body--rewardReceived.svelte-1tqrctk{width:calc(0.0309895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-progress-body--rewardReceived.svelte-1tqrctk{width:calc(0.03984375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-progress-body--rewardReceived.svelte-1tqrctk{width:calc(0.0486979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-progress-body--rewardReceived.svelte-1tqrctk{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-progress-body--rewardReceived.svelte-1tqrctk{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-progress-body--rewardReceived.svelte-1tqrctk{height:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-progress-body--rewardReceived.svelte-1tqrctk{height:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-progress-body--rewardReceived.svelte-1tqrctk{height:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-progress-body--rewardReceived.svelte-1tqrctk{height:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-progress-body--rewardReceived.svelte-1tqrctk{height:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-progress-body--rewardReceived.svelte-1tqrctk{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-progress-body--rewardReceived.svelte-1tqrctk{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-progress-body--rewardReceived.svelte-1tqrctk{margin-right:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-progress-body--rewardReceived.svelte-1tqrctk{margin-right:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-progress-body--rewardReceived.svelte-1tqrctk{margin-right:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-progress-body--rewardReceived.svelte-1tqrctk{margin-right:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-progress-body--rewardReceived.svelte-1tqrctk{margin-right:calc(0.0091666667 * 100vw + 0px)}}.birthday-event-quests__items-progress.svelte-1tqrctk{color:#FFFFFF}.birthday-event-quests__items-progress--completed.svelte-1tqrctk{font-family:\"GothamPro-Light\";color:#111111;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-progress--completed.svelte-1tqrctk{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-progress--completed.svelte-1tqrctk{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-progress--completed.svelte-1tqrctk{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-progress--completed.svelte-1tqrctk{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-progress--completed.svelte-1tqrctk{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-progress--completed.svelte-1tqrctk{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-progress--completed.svelte-1tqrctk{font-size:calc(0.0057291667 * 100vw + 0px)}}.birthday-event-quests__items-progress--rewardReceived.svelte-1tqrctk{font-family:\"GothamPro-Light\";color:#111111;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-progress--rewardReceived.svelte-1tqrctk{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-progress--rewardReceived.svelte-1tqrctk{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-progress--rewardReceived.svelte-1tqrctk{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-progress--rewardReceived.svelte-1tqrctk{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-progress--rewardReceived.svelte-1tqrctk{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-progress--rewardReceived.svelte-1tqrctk{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-progress--rewardReceived.svelte-1tqrctk{font-size:calc(0.0057291667 * 100vw + 0px)}}.birthday-event-quests__items-progress-descr.svelte-1tqrctk{font-family:\"GothamPro-Light\";color:#FFFFFF;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-progress-descr.svelte-1tqrctk{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-progress-descr.svelte-1tqrctk{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-progress-descr.svelte-1tqrctk{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-progress-descr.svelte-1tqrctk{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-progress-descr.svelte-1tqrctk{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-progress-descr.svelte-1tqrctk{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-progress-descr.svelte-1tqrctk{font-size:calc(0.0057291667 * 100vw + 0px)}}.birthday-event-quests__items-block-reward.svelte-1tqrctk{display:flex;flex-direction:column;align-items:center}.birthday-event-quests__items-block-reward-title.svelte-1tqrctk{color:#FFFFFF;font-family:\"GothamPro-Medium\";font-size:calc(0.0072916667 * 100vw + 0px);margin-bottom:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-block-reward-title.svelte-1tqrctk{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-block-reward-title.svelte-1tqrctk{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-block-reward-title.svelte-1tqrctk{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-block-reward-title.svelte-1tqrctk{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-block-reward-title.svelte-1tqrctk{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-block-reward-title.svelte-1tqrctk{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-block-reward-title.svelte-1tqrctk{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-block-reward-title.svelte-1tqrctk{margin-bottom:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-block-reward-title.svelte-1tqrctk{margin-bottom:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-block-reward-title.svelte-1tqrctk{margin-bottom:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-block-reward-title.svelte-1tqrctk{margin-bottom:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-block-reward-title.svelte-1tqrctk{margin-bottom:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-block-reward-title.svelte-1tqrctk{margin-bottom:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-block-reward-title.svelte-1tqrctk{margin-bottom:calc(0.006875 * 100vw + 0px)}}.birthday-event-quests__items-block-reward-items-title.svelte-1tqrctk{font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.0052083333 * 100vw + 0px);height:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-block-reward-items-title.svelte-1tqrctk{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-block-reward-items-title.svelte-1tqrctk{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-block-reward-items-title.svelte-1tqrctk{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-block-reward-items-title.svelte-1tqrctk{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-block-reward-items-title.svelte-1tqrctk{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-block-reward-items-title.svelte-1tqrctk{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-block-reward-items-title.svelte-1tqrctk{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-block-reward-items-title.svelte-1tqrctk{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-block-reward-items-title.svelte-1tqrctk{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-block-reward-items-title.svelte-1tqrctk{height:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-block-reward-items-title.svelte-1tqrctk{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-block-reward-items-title.svelte-1tqrctk{height:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-block-reward-items-title.svelte-1tqrctk{height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-block-reward-items-title.svelte-1tqrctk{height:calc(0.0080208333 * 100vw + 0px)}}.birthday-event-quests__items-block-reward-body.svelte-1tqrctk{display:flex;text-align:center;margin-bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-block-reward-body.svelte-1tqrctk{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-block-reward-body.svelte-1tqrctk{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-block-reward-body.svelte-1tqrctk{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-block-reward-body.svelte-1tqrctk{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-block-reward-body.svelte-1tqrctk{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-block-reward-body.svelte-1tqrctk{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-block-reward-body.svelte-1tqrctk{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.birthday-event-quests__items-block-reward-items.svelte-1tqrctk{display:flex;flex-direction:column;align-items:center;width:calc(0.046875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-block-reward-items.svelte-1tqrctk{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-block-reward-items.svelte-1tqrctk{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-block-reward-items.svelte-1tqrctk{width:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-block-reward-items.svelte-1tqrctk{width:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-block-reward-items.svelte-1tqrctk{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-block-reward-items.svelte-1tqrctk{width:calc(0.0421875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-block-reward-items.svelte-1tqrctk{width:calc(0.0515625 * 100vw + 0px)}}.birthday-event-quests__items-block-reward-items.svelte-1tqrctk:not(:first-child){margin-left:calc(0.0234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-block-reward-items.svelte-1tqrctk:not(:first-child){margin-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-block-reward-items.svelte-1tqrctk:not(:first-child){margin-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-block-reward-items.svelte-1tqrctk:not(:first-child){margin-left:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-block-reward-items.svelte-1tqrctk:not(:first-child){margin-left:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-block-reward-items.svelte-1tqrctk:not(:first-child){margin-left:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-block-reward-items.svelte-1tqrctk:not(:first-child){margin-left:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-block-reward-items.svelte-1tqrctk:not(:first-child){margin-left:calc(0.02578125 * 100vw + 0px)}}.birthday-event-quests__items-block-reward-items-img.svelte-1tqrctk{width:calc(0.0260416667 * 100vw + 0px);padding-bottom:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-block-reward-items-img.svelte-1tqrctk{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-block-reward-items-img.svelte-1tqrctk{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-block-reward-items-img.svelte-1tqrctk{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-block-reward-items-img.svelte-1tqrctk{width:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-block-reward-items-img.svelte-1tqrctk{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-block-reward-items-img.svelte-1tqrctk{width:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-block-reward-items-img.svelte-1tqrctk{width:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-block-reward-items-img.svelte-1tqrctk{padding-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-block-reward-items-img.svelte-1tqrctk{padding-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-block-reward-items-img.svelte-1tqrctk{padding-bottom:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-block-reward-items-img.svelte-1tqrctk{padding-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-block-reward-items-img.svelte-1tqrctk{padding-bottom:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-block-reward-items-img.svelte-1tqrctk{padding-bottom:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-block-reward-items-img.svelte-1tqrctk{padding-bottom:calc(0.0057291667 * 100vw + 0px)}}.birthday-event-quests__items-block-reward-btn.svelte-1tqrctk{display:flex;align-items:center;justify-content:center;cursor:pointer;background-color:#FFFFFF;transition:background-color 0.2s linear;width:calc(0.1041666667 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);margin-bottom:calc(0.0109375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-block-reward-btn.svelte-1tqrctk{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-block-reward-btn.svelte-1tqrctk{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-block-reward-btn.svelte-1tqrctk{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-block-reward-btn.svelte-1tqrctk{width:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-block-reward-btn.svelte-1tqrctk{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-block-reward-btn.svelte-1tqrctk{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-block-reward-btn.svelte-1tqrctk{width:calc(0.1145833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-block-reward-btn.svelte-1tqrctk{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-block-reward-btn.svelte-1tqrctk{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-block-reward-btn.svelte-1tqrctk{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-block-reward-btn.svelte-1tqrctk{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-block-reward-btn.svelte-1tqrctk{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-block-reward-btn.svelte-1tqrctk{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-block-reward-btn.svelte-1tqrctk{height:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-block-reward-btn.svelte-1tqrctk{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-block-reward-btn.svelte-1tqrctk{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-block-reward-btn.svelte-1tqrctk{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-block-reward-btn.svelte-1tqrctk{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-block-reward-btn.svelte-1tqrctk{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-block-reward-btn.svelte-1tqrctk{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-block-reward-btn.svelte-1tqrctk{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-block-reward-btn.svelte-1tqrctk{margin-bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-block-reward-btn.svelte-1tqrctk{margin-bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-block-reward-btn.svelte-1tqrctk{margin-bottom:calc(0.008421875 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-block-reward-btn.svelte-1tqrctk{margin-bottom:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-block-reward-btn.svelte-1tqrctk{margin-bottom:calc(0.00765625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-block-reward-btn.svelte-1tqrctk{margin-bottom:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-block-reward-btn.svelte-1tqrctk{margin-bottom:calc(0.01203125 * 100vw + 0px)}}.birthday-event-quests__items-block-reward-btn.svelte-1tqrctk:hover{background-color:rgba(255, 255, 255, 0.2)}.birthday-event-quests__items-block-reward-btn--completed.svelte-1tqrctk{background-color:rgba(118, 211, 85, 0.25);cursor:default}.birthday-event-quests__items-block-reward-btn--completed.svelte-1tqrctk:hover{background-color:rgba(118, 211, 85, 0.25)}.birthday-event-quests__items-block-reward-btn--rewardReceived.svelte-1tqrctk{background-color:#F2C94C}.birthday-event-quests__items-block-reward-btn--rewardReceived.svelte-1tqrctk:hover{background-color:#FEB000}.birthday-event-quests__items-block-reward-btn-key.svelte-1tqrctk{color:#111111;font-family:\"GothamPro-Medium\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-block-reward-btn-key.svelte-1tqrctk{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-block-reward-btn-key.svelte-1tqrctk{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-block-reward-btn-key.svelte-1tqrctk{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-block-reward-btn-key.svelte-1tqrctk{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-block-reward-btn-key.svelte-1tqrctk{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-block-reward-btn-key.svelte-1tqrctk{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-block-reward-btn-key.svelte-1tqrctk{font-size:calc(0.006875 * 100vw + 0px)}}.birthday-event-quests__items-block-reward-btn-key--completed.svelte-1tqrctk{color:#76D355}.birthday-event-quests__items-block-reward-btn-key--rewardReceived.svelte-1tqrctk{color:#3B4447}");
}

function birthday_event_quests_components_accordion_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[6] = list[i];
	return child_ctx;
}

// (1660:12) {#if accordionOpened}
function birthday_event_quests_components_accordion_index_svelte_create_if_block_5(ctx) {
	let p;
	let t_value = /*quest*/ ctx[0].description + "";
	let t;
	let p_transition;
	let current;

	return {
		c() {
			p = internal_element("p");
			t = internal_text(t_value);
			attr(p, "class", "birthday-event-quests__items-block-descr svelte-1tqrctk");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t);
			current = true;
		},
		p(ctx, dirty) {
			if ((!current || dirty & /*quest*/ 1) && t_value !== (t_value = /*quest*/ ctx[0].description + "")) set_data(t, t_value);
		},
		i(local) {
			if (current) return;

			if (local) {
				add_render_callback(() => {
					if (!p_transition) p_transition = create_bidirectional_transition(p, slide, {}, true);
					p_transition.run(1);
				});
			}

			current = true;
		},
		o(local) {
			if (local) {
				if (!p_transition) p_transition = create_bidirectional_transition(p, slide, {}, false);
				p_transition.run(0);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(p);
			if (detaching && p_transition) p_transition.end();
		}
	};
}

// (1688:8) {:else}
function birthday_event_quests_components_accordion_index_svelte_create_else_block_1(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="birthday-event-quests__items-progress birthday-event-quests__items-progress--rewardReceived svelte-1tqrctk">Получите награду</p>`;
			attr(div, "class", "birthday-event-quests__items-progress-body birthday-event-quests__items-progress-body--rewardReceived svelte-1tqrctk");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1682:81) 
function birthday_event_quests_components_accordion_index_svelte_create_if_block_4(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="birthday-event-quests__items-progress birthday-event-quests__items-progress--completed svelte-1tqrctk">Завершено</p>`;
			attr(div, "class", "birthday-event-quests__items-progress-body birthday-event-quests__items-progress-body--maxProgress svelte-1tqrctk");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1669:8) {#if (quest.progress !== quest.maxProgress) && !quest.rewardReceived}
function birthday_event_quests_components_accordion_index_svelte_create_if_block_3(ctx) {
	let div1;
	let div0;
	let p0;
	let t0_value = /*quest*/ ctx[0].progress + "";
	let t0;
	let t1;
	let t2_value = /*quest*/ ctx[0].maxProgress + "";
	let t2;
	let t3;
	let p1;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = internal_text("\r\n                        /\r\n                        ");
			t2 = internal_text(t2_value);
			t3 = space();
			p1 = internal_element("p");
			p1.textContent = "Прогресс";
			attr(p0, "class", "birthday-event-quests__items-progress svelte-1tqrctk");
			attr(div0, "class", "birthday-event-quests__items-progress-body svelte-1tqrctk");
			attr(p1, "class", "birthday-event-quests__items-progress-descr svelte-1tqrctk");
			attr(div1, "class", "birthday-event-quests__items-progress-wrapper--incomplete");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, p0);
			append(p0, t0);
			append(p0, t1);
			append(p0, t2);
			append(div1, t3);
			append(div1, p1);
		},
		p(ctx, dirty) {
			if (dirty & /*quest*/ 1 && t0_value !== (t0_value = /*quest*/ ctx[0].progress + "")) set_data(t0, t0_value);
			if (dirty & /*quest*/ 1 && t2_value !== (t2_value = /*quest*/ ctx[0].maxProgress + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (1696:4) {#if accordionOpened}
function birthday_event_quests_components_accordion_index_svelte_create_if_block(ctx) {
	let div1;
	let p;
	let t1;
	let div0;
	let t2;
	let current_block_type_index;
	let if_block;
	let div1_transition;
	let current;
	let each_value = /*quest*/ ctx[0].rewards;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = birthday_event_quests_components_accordion_index_svelte_create_each_block(birthday_event_quests_components_accordion_index_svelte_get_each_context(ctx, each_value, i));
	}

	const if_block_creators = [birthday_event_quests_components_accordion_index_svelte_create_if_block_1, birthday_event_quests_components_accordion_index_svelte_create_if_block_2, birthday_event_quests_components_accordion_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type_1(ctx, dirty) {
		if (/*quest*/ ctx[0].progress !== /*quest*/ ctx[0].maxProgress && !/*quest*/ ctx[0].rewardReceived) return 0;
		if (/*quest*/ ctx[0].progress === /*quest*/ ctx[0].maxProgress && /*quest*/ ctx[0].rewardReceived) return 1;
		return 2;
	}

	current_block_type_index = select_block_type_1(ctx, -1);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div1 = internal_element("div");
			p = internal_element("p");
			p.textContent = "Награда";
			t1 = space();
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t2 = space();
			if_block.c();
			attr(p, "class", "birthday-event-quests__items-block-reward-title svelte-1tqrctk");
			attr(div0, "class", "birthday-event-quests__items-block-reward-body svelte-1tqrctk");
			attr(div1, "class", "birthday-event-quests__items-block-reward svelte-1tqrctk");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, p);
			append(div1, t1);
			append(div1, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			append(div1, t2);
			if_blocks[current_block_type_index].m(div1, null);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty & /*quest, CDN_URL_RODINA*/ 1) {
				each_value = /*quest*/ ctx[0].rewards;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = birthday_event_quests_components_accordion_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = birthday_event_quests_components_accordion_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div0, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type_1(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(div1, null);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);

			if (local) {
				add_render_callback(() => {
					if (!div1_transition) div1_transition = create_bidirectional_transition(div1, slide, {}, true);
					div1_transition.run(1);
				});
			}

			current = true;
		},
		o(local) {
			transition_out(if_block);

			if (local) {
				if (!div1_transition) div1_transition = create_bidirectional_transition(div1, slide, {}, false);
				div1_transition.run(0);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			destroy_each(each_blocks, detaching);
			if_blocks[current_block_type_index].d();
			if (detaching && div1_transition) div1_transition.end();
		}
	};
}

// (1705:16) {#each quest.rewards as reward }
function birthday_event_quests_components_accordion_index_svelte_create_each_block(ctx) {
	let div;
	let img;
	let img_src_value;
	let t0;
	let p;
	let t1_value = /*reward*/ ctx[6].title + "";
	let t1;
	let t2;

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(img, "class", "birthday-event-quests__items-block-reward-items-img svelte-1tqrctk");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/${/*reward*/ ctx[6].icon}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "Reward");
			attr(p, "class", "birthday-event-quests__items-block-reward-items-title svelte-1tqrctk");
			attr(div, "class", "birthday-event-quests__items-block-reward-items svelte-1tqrctk");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
			append(div, t0);
			append(div, p);
			append(p, t1);
			append(div, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*quest*/ 1 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/${/*reward*/ ctx[6].icon}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*quest*/ 1 && t1_value !== (t1_value = /*reward*/ ctx[6].title + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1732:12) {:else}
function birthday_event_quests_components_accordion_index_svelte_create_else_block(ctx) {
	let div;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="birthday-event-quests__items-block-reward-btn-key birthday-event-quests__items-block-reward-btn-key--rewardReceived svelte-1tqrctk">Получить награду</p>`;
			attr(div, "class", "birthday-event-quests__items-block-reward-btn birthday-event-quests__items-block-reward-btn--rewardReceived svelte-1tqrctk");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = listen(div, "click", /*receiveReward*/ ctx[4]);
				mounted = true;
			}
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (1726:85) 
function birthday_event_quests_components_accordion_index_svelte_create_if_block_2(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="birthday-event-quests__items-block-reward-btn-key birthday-event-quests__items-block-reward-btn-key--completed svelte-1tqrctk">Получено</p>`;
			attr(div, "class", "birthday-event-quests__items-block-reward-btn birthday-event-quests__items-block-reward-btn--completed svelte-1tqrctk");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1717:12) {#if (quest.progress !== quest.maxProgress) && !quest.rewardReceived}
function birthday_event_quests_components_accordion_index_svelte_create_if_block_1(ctx) {
	let div;
	let p;
	let div_style_value;
	let div_transition;
	let current;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			p = internal_element("p");
			p.textContent = "Отследить по GPS";
			attr(p, "class", "birthday-event-quests__items-block-reward-btn-key svelte-1tqrctk");
			attr(div, "class", "birthday-event-quests__items-block-reward-btn svelte-1tqrctk");
			attr(div, "style", div_style_value = `display: ${/*quest*/ ctx[0].hasLocation ? '' : 'none'}`);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p);
			current = true;

			if (!mounted) {
				dispose = listen(div, "click", /*drawLocation*/ ctx[3]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (!current || dirty & /*quest*/ 1 && div_style_value !== (div_style_value = `display: ${/*quest*/ ctx[0].hasLocation ? '' : 'none'}`)) {
				attr(div, "style", div_style_value);
			}
		},
		i(local) {
			if (current) return;

			if (local) {
				add_render_callback(() => {
					if (!div_transition) div_transition = create_bidirectional_transition(div, slide, {}, true);
					div_transition.run(1);
				});
			}

			current = true;
		},
		o(local) {
			if (local) {
				if (!div_transition) div_transition = create_bidirectional_transition(div, slide, {}, false);
				div_transition.run(0);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (detaching && div_transition) div_transition.end();
			mounted = false;
			dispose();
		}
	};
}

function birthday_event_quests_components_accordion_index_svelte_create_fragment(ctx) {
	let div3;
	let div2;
	let div1;
	let div0;
	let img;
	let img_src_value;
	let t0;
	let p;
	let t1_value = /*quest*/ ctx[0].title + "";
	let t1;
	let t2;
	let t3;
	let t4;
	let mounted;
	let dispose;
	let if_block0 = /*accordionOpened*/ ctx[1] && birthday_event_quests_components_accordion_index_svelte_create_if_block_5(ctx);

	function select_block_type(ctx, dirty) {
		if (/*quest*/ ctx[0].progress !== /*quest*/ ctx[0].maxProgress && !/*quest*/ ctx[0].rewardReceived) return birthday_event_quests_components_accordion_index_svelte_create_if_block_3;
		if (/*quest*/ ctx[0].progress === /*quest*/ ctx[0].maxProgress && /*quest*/ ctx[0].rewardReceived) return birthday_event_quests_components_accordion_index_svelte_create_if_block_4;
		return birthday_event_quests_components_accordion_index_svelte_create_else_block_1;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block1 = current_block_type(ctx);
	let if_block2 = /*accordionOpened*/ ctx[1] && birthday_event_quests_components_accordion_index_svelte_create_if_block(ctx);

	return {
		c() {
			div3 = internal_element("div");
			div2 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			if (if_block0) if_block0.c();
			t3 = space();
			if_block1.c();
			t4 = space();
			if (if_block2) if_block2.c();
			attr(img, "class", "birthday-event-quests__items-block-arrow svelte-1tqrctk");
			if (!src_url_equal(img.src, img_src_value = birthday_event_quests_components_accordion_img_arrow_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "arrow");
			toggle_class(img, "birthday-event-quests__items-block-arrow--opened", /*accordionOpened*/ ctx[1]);
			attr(p, "class", "birthday-event-quests__items-block-title svelte-1tqrctk");
			attr(div0, "class", "birthday-event-quests__items-block-title-wrapper svelte-1tqrctk");
			attr(div1, "class", "birthday-event-quests__items-block-text svelte-1tqrctk");
			attr(div2, "class", "birthday-event-quests__items-block-upper svelte-1tqrctk");
			toggle_class(div2, "birthday-event-quests__items-block-upper--opened", /*accordionOpened*/ ctx[1]);
			attr(div3, "class", "birthday-event-quests__items-block svelte-1tqrctk");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div2);
			append(div2, div1);
			append(div1, div0);
			append(div0, img);
			append(div0, t0);
			append(div0, p);
			append(p, t1);
			append(div1, t2);
			if (if_block0) if_block0.m(div1, null);
			append(div2, t3);
			if_block1.m(div2, null);
			append(div3, t4);
			if (if_block2) if_block2.m(div3, null);

			if (!mounted) {
				dispose = listen(div2, "click", /*handleClick*/ ctx[2]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*accordionOpened*/ 2) {
				toggle_class(img, "birthday-event-quests__items-block-arrow--opened", /*accordionOpened*/ ctx[1]);
			}

			if (dirty & /*quest*/ 1 && t1_value !== (t1_value = /*quest*/ ctx[0].title + "")) set_data(t1, t1_value);

			if (/*accordionOpened*/ ctx[1]) {
				if (if_block0) {
					if_block0.p(ctx, dirty);

					if (dirty & /*accordionOpened*/ 2) {
						transition_in(if_block0, 1);
					}
				} else {
					if_block0 = birthday_event_quests_components_accordion_index_svelte_create_if_block_5(ctx);
					if_block0.c();
					transition_in(if_block0, 1);
					if_block0.m(div1, null);
				}
			} else if (if_block0) {
				group_outros();

				transition_out(if_block0, 1, 1, () => {
					if_block0 = null;
				});

				check_outros();
			}

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block1) {
				if_block1.p(ctx, dirty);
			} else {
				if_block1.d(1);
				if_block1 = current_block_type(ctx);

				if (if_block1) {
					if_block1.c();
					if_block1.m(div2, null);
				}
			}

			if (dirty & /*accordionOpened*/ 2) {
				toggle_class(div2, "birthday-event-quests__items-block-upper--opened", /*accordionOpened*/ ctx[1]);
			}

			if (/*accordionOpened*/ ctx[1]) {
				if (if_block2) {
					if_block2.p(ctx, dirty);

					if (dirty & /*accordionOpened*/ 2) {
						transition_in(if_block2, 1);
					}
				} else {
					if_block2 = birthday_event_quests_components_accordion_index_svelte_create_if_block(ctx);
					if_block2.c();
					transition_in(if_block2, 1);
					if_block2.m(div3, null);
				}
			} else if (if_block2) {
				group_outros();

				transition_out(if_block2, 1, 1, () => {
					if_block2 = null;
				});

				check_outros();
			}
		},
		i(local) {
			transition_in(if_block0);
			transition_in(if_block2);
		},
		o(local) {
			transition_out(if_block0);
			transition_out(if_block2);
		},
		d(detaching) {
			if (detaching) detach(div3);
			if (if_block0) if_block0.d();
			if_block1.d();
			if (if_block2) if_block2.d();
			mounted = false;
			dispose();
		}
	};
}

function birthday_event_quests_components_accordion_index_svelte_instance($$self, $$props, $$invalidate) {
	let { quest } = $$props;
	let { categoryId } = $$props;
	let accordionOpened = false;

	const handleClick = () => {
		$$invalidate(1, accordionOpened = !accordionOpened);
	};

	const drawLocation = () => {
		sendClientMessage('birthdayEvent.quest.drawLocation', quest.id, categoryId);
	};

	const receiveReward = () => {
		sendClientMessage('birthdayEvent.quest.receiveReward', quest.id, categoryId);
	};

	$$self.$$set = $$props => {
		if ('quest' in $$props) $$invalidate(0, quest = $$props.quest);
		if ('categoryId' in $$props) $$invalidate(5, categoryId = $$props.categoryId);
	};

	return [quest, accordionOpened, handleClick, drawLocation, receiveReward, categoryId];
}

class birthday_event_quests_components_accordion_index_svelte_Accordion extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, birthday_event_quests_components_accordion_index_svelte_instance, birthday_event_quests_components_accordion_index_svelte_create_fragment, safe_not_equal, { quest: 0, categoryId: 5 }, birthday_event_quests_components_accordion_index_svelte_add_css);
	}
}

/* harmony default export */ const birthday_event_quests_components_accordion_index_svelte = (birthday_event_quests_components_accordion_index_svelte_Accordion);
;// CONCATENATED MODULE: ./src/views/birthday-event/quests/index.svelte
/* src\views\birthday-event\quests\index.svelte generated by Svelte v3.49.0 */












function birthday_event_quests_index_svelte_add_css(target) {
	append_styles(target, "svelte-iqrjyg", "@keyframes svelte-iqrjyg-blinking{50%{opacity:0}}@keyframes svelte-iqrjyg-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-iqrjyg-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-iqrjyg-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-iqrjyg-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-iqrjyg-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-iqrjyg-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-iqrjyg-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-iqrjyg-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-iqrjyg-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-iqrjyg-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-iqrjyg-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-iqrjyg-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-iqrjyg-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-iqrjyg-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.birthday-event-quests.svelte-iqrjyg.svelte-iqrjyg{display:flex;align-items:center;flex-direction:column;width:100vw;height:100vh;background:linear-gradient(0deg, rgba(0, 22, 32, 0.9), rgba(0, 22, 32, 0.9)), radial-gradient(117.53% 91.62% at 50% 50%, rgba(0, 0, 0, 0) 0%, #000000 100%)}.birthday-event-quests__title.svelte-iqrjyg.svelte-iqrjyg{position:absolute;z-index:1;font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.01875 * 100vw + 0px);top:calc(0.0447916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__title.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__title.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__title.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__title.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__title.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__title.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__title.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.020625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__title.svelte-iqrjyg.svelte-iqrjyg{top:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__title.svelte-iqrjyg.svelte-iqrjyg{top:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__title.svelte-iqrjyg.svelte-iqrjyg{top:calc(0.0344895833 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__title.svelte-iqrjyg.svelte-iqrjyg{top:calc(0.0492708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__title.svelte-iqrjyg.svelte-iqrjyg{top:calc(0.0313541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__title.svelte-iqrjyg.svelte-iqrjyg{top:calc(0.0403125 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__title.svelte-iqrjyg.svelte-iqrjyg{top:calc(0.0492708333 * 100vw + 0px)}}.birthday-event-quests__flowers-img.svelte-iqrjyg.svelte-iqrjyg{z-index:-1;position:absolute;width:100%;height:100%}.birthday-event-quests__girl-img.svelte-iqrjyg.svelte-iqrjyg{position:absolute;right:0;bottom:0;height:calc(0.3958333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__girl-img.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.3958333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__girl-img.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.3958333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__girl-img.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.3047916667 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__girl-img.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.4354166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__girl-img.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.2770833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__girl-img.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.35625 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__girl-img.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.4354166667 * 100vw + 0px)}}.birthday-event-quests__logo.svelte-iqrjyg.svelte-iqrjyg{position:absolute;display:flex;align-items:center;left:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__logo.svelte-iqrjyg.svelte-iqrjyg{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__logo.svelte-iqrjyg.svelte-iqrjyg{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__logo.svelte-iqrjyg.svelte-iqrjyg{left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__logo.svelte-iqrjyg.svelte-iqrjyg{left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__logo.svelte-iqrjyg.svelte-iqrjyg{left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__logo.svelte-iqrjyg.svelte-iqrjyg{left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__logo.svelte-iqrjyg.svelte-iqrjyg{left:calc(0.0286458333 * 100vw + 0px)}}.birthday-event-quests__logo-icon.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.1145833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__logo-icon.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__logo-icon.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__logo-icon.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.0882291667 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__logo-icon.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.1260416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__logo-icon.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__logo-icon.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.103125 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__logo-icon.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.1260416667 * 100vw + 0px)}}.birthday-event-quests__category.svelte-iqrjyg.svelte-iqrjyg{position:absolute;top:calc(0.1302083333 * 100vw + 0px);left:calc(0.1484375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__category.svelte-iqrjyg.svelte-iqrjyg{top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__category.svelte-iqrjyg.svelte-iqrjyg{top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__category.svelte-iqrjyg.svelte-iqrjyg{top:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__category.svelte-iqrjyg.svelte-iqrjyg{top:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__category.svelte-iqrjyg.svelte-iqrjyg{top:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__category.svelte-iqrjyg.svelte-iqrjyg{top:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__category.svelte-iqrjyg.svelte-iqrjyg{top:calc(0.1432291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__category.svelte-iqrjyg.svelte-iqrjyg{left:calc(0.1484375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__category.svelte-iqrjyg.svelte-iqrjyg{left:calc(0.1484375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__category.svelte-iqrjyg.svelte-iqrjyg{left:calc(0.114296875 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__category.svelte-iqrjyg.svelte-iqrjyg{left:calc(0.16328125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__category.svelte-iqrjyg.svelte-iqrjyg{left:calc(0.10390625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__category.svelte-iqrjyg.svelte-iqrjyg{left:calc(0.13359375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__category.svelte-iqrjyg.svelte-iqrjyg{left:calc(0.16328125 * 100vw + 0px)}}.birthday-event-quests__category-title.svelte-iqrjyg.svelte-iqrjyg{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px);margin-bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__category-title.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__category-title.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__category-title.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__category-title.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__category-title.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__category-title.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__category-title.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__category-title.svelte-iqrjyg.svelte-iqrjyg{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__category-title.svelte-iqrjyg.svelte-iqrjyg{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__category-title.svelte-iqrjyg.svelte-iqrjyg{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__category-title.svelte-iqrjyg.svelte-iqrjyg{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__category-title.svelte-iqrjyg.svelte-iqrjyg{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__category-title.svelte-iqrjyg.svelte-iqrjyg{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__category-title.svelte-iqrjyg.svelte-iqrjyg{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg{width:fit-content;overflow:auto;height:calc(0.378125 * 100vw + 0px);padding-right:calc(0.0130208333 * 100vw + 0px)}.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.378125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.378125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.29115625 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.4159375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.2646875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.3403125 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.4159375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg{padding-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg{padding-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg{padding-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg{padding-right:calc(0.0143229167 * 100vw + 0px)}}.birthday-event-quests__categories-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar{width:0px}.birthday-event-quests__category-quest.svelte-iqrjyg.svelte-iqrjyg{display:flex;align-items:center;justify-content:space-between;cursor:pointer;background:rgba(0, 0, 0, 0.8);transition:background-color 0.2s linear;position:relative;overflow:hidden;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.3125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__category-quest.svelte-iqrjyg.svelte-iqrjyg{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__category-quest.svelte-iqrjyg.svelte-iqrjyg{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__category-quest.svelte-iqrjyg.svelte-iqrjyg{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__category-quest.svelte-iqrjyg.svelte-iqrjyg{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__category-quest.svelte-iqrjyg.svelte-iqrjyg{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__category-quest.svelte-iqrjyg.svelte-iqrjyg{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__category-quest.svelte-iqrjyg.svelte-iqrjyg{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__category-quest.svelte-iqrjyg.svelte-iqrjyg{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__category-quest.svelte-iqrjyg.svelte-iqrjyg{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__category-quest.svelte-iqrjyg.svelte-iqrjyg{width:calc(0.240625 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__category-quest.svelte-iqrjyg.svelte-iqrjyg{width:calc(0.34375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__category-quest.svelte-iqrjyg.svelte-iqrjyg{width:calc(0.21875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__category-quest.svelte-iqrjyg.svelte-iqrjyg{width:calc(0.28125 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__category-quest.svelte-iqrjyg.svelte-iqrjyg{width:calc(0.34375 * 100vw + 0px)}}.birthday-event-quests__category-quest.svelte-iqrjyg.svelte-iqrjyg:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__category-quest.svelte-iqrjyg.svelte-iqrjyg:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__category-quest.svelte-iqrjyg.svelte-iqrjyg:not(:first-child){margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__category-quest.svelte-iqrjyg.svelte-iqrjyg:not(:first-child){margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__category-quest.svelte-iqrjyg.svelte-iqrjyg:not(:first-child){margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__category-quest.svelte-iqrjyg.svelte-iqrjyg:not(:first-child){margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__category-quest.svelte-iqrjyg.svelte-iqrjyg:not(:first-child){margin-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__category-quest.svelte-iqrjyg.svelte-iqrjyg:not(:first-child){margin-top:calc(0.0114583333 * 100vw + 0px)}}.birthday-event-quests__category-quest.svelte-iqrjyg.svelte-iqrjyg:hover,.birthday-event-quests__category-quest--selected.svelte-iqrjyg.svelte-iqrjyg,.birthday-event-quests__category-quest--completed.svelte-iqrjyg.svelte-iqrjyg{background-color:#343434}.birthday-event-quests__category-quest.svelte-iqrjyg:hover .birthday-event-quests__category-quest-title.svelte-iqrjyg,.birthday-event-quests__category-quest.svelte-iqrjyg:hover .birthday-event-quests__category-quest-descr.svelte-iqrjyg,.birthday-event-quests__category-quest.svelte-iqrjyg:hover .birthday-event-quests__category-exp.svelte-iqrjyg,.birthday-event-quests__category-quest.svelte-iqrjyg:hover .birthday-event-quests__category-exp-descr.svelte-iqrjyg,.birthday-event-quests__category-quest--selected.svelte-iqrjyg .birthday-event-quests__category-quest-title.svelte-iqrjyg,.birthday-event-quests__category-quest--selected.svelte-iqrjyg .birthday-event-quests__category-quest-descr.svelte-iqrjyg,.birthday-event-quests__category-quest--selected.svelte-iqrjyg .birthday-event-quests__category-exp.svelte-iqrjyg,.birthday-event-quests__category-quest--selected.svelte-iqrjyg .birthday-event-quests__category-exp-descr.svelte-iqrjyg,.birthday-event-quests__category-quest--completed.svelte-iqrjyg .birthday-event-quests__category-quest-title.svelte-iqrjyg,.birthday-event-quests__category-quest--completed.svelte-iqrjyg .birthday-event-quests__category-quest-descr.svelte-iqrjyg,.birthday-event-quests__category-quest--completed.svelte-iqrjyg .birthday-event-quests__category-exp.svelte-iqrjyg,.birthday-event-quests__category-quest--completed.svelte-iqrjyg .birthday-event-quests__category-exp-descr.svelte-iqrjyg{color:#FFFFFF}.birthday-event-quests__category-quest-body.svelte-iqrjyg.svelte-iqrjyg{padding-left:calc(0.0130208333 * 100vw + 0px);padding-top:calc(0.0114583333 * 100vw + 0px);padding-bottom:calc(0.0109375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__category-quest-body.svelte-iqrjyg.svelte-iqrjyg{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__category-quest-body.svelte-iqrjyg.svelte-iqrjyg{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__category-quest-body.svelte-iqrjyg.svelte-iqrjyg{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__category-quest-body.svelte-iqrjyg.svelte-iqrjyg{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__category-quest-body.svelte-iqrjyg.svelte-iqrjyg{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__category-quest-body.svelte-iqrjyg.svelte-iqrjyg{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__category-quest-body.svelte-iqrjyg.svelte-iqrjyg{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__category-quest-body.svelte-iqrjyg.svelte-iqrjyg{padding-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__category-quest-body.svelte-iqrjyg.svelte-iqrjyg{padding-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__category-quest-body.svelte-iqrjyg.svelte-iqrjyg{padding-top:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__category-quest-body.svelte-iqrjyg.svelte-iqrjyg{padding-top:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__category-quest-body.svelte-iqrjyg.svelte-iqrjyg{padding-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__category-quest-body.svelte-iqrjyg.svelte-iqrjyg{padding-top:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__category-quest-body.svelte-iqrjyg.svelte-iqrjyg{padding-top:calc(0.0126041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__category-quest-body.svelte-iqrjyg.svelte-iqrjyg{padding-bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__category-quest-body.svelte-iqrjyg.svelte-iqrjyg{padding-bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__category-quest-body.svelte-iqrjyg.svelte-iqrjyg{padding-bottom:calc(0.008421875 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__category-quest-body.svelte-iqrjyg.svelte-iqrjyg{padding-bottom:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__category-quest-body.svelte-iqrjyg.svelte-iqrjyg{padding-bottom:calc(0.00765625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__category-quest-body.svelte-iqrjyg.svelte-iqrjyg{padding-bottom:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__category-quest-body.svelte-iqrjyg.svelte-iqrjyg{padding-bottom:calc(0.01203125 * 100vw + 0px)}}.birthday-event-quests__category-quest-title.svelte-iqrjyg.svelte-iqrjyg{font-family:\"GothamPro-Medium\";color:#858585;font-size:calc(0.009375 * 100vw + 0px);margin-bottom:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__category-quest-title.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__category-quest-title.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__category-quest-title.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__category-quest-title.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__category-quest-title.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__category-quest-title.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__category-quest-title.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__category-quest-title.svelte-iqrjyg.svelte-iqrjyg{margin-bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__category-quest-title.svelte-iqrjyg.svelte-iqrjyg{margin-bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__category-quest-title.svelte-iqrjyg.svelte-iqrjyg{margin-bottom:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__category-quest-title.svelte-iqrjyg.svelte-iqrjyg{margin-bottom:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__category-quest-title.svelte-iqrjyg.svelte-iqrjyg{margin-bottom:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__category-quest-title.svelte-iqrjyg.svelte-iqrjyg{margin-bottom:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__category-quest-title.svelte-iqrjyg.svelte-iqrjyg{margin-bottom:calc(0.0028645833 * 100vw + 0px)}}.birthday-event-quests__category-quest-descr.svelte-iqrjyg.svelte-iqrjyg{font-family:\"GothamPro\";color:#858585;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__category-quest-descr.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__category-quest-descr.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__category-quest-descr.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__category-quest-descr.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__category-quest-descr.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__category-quest-descr.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__category-quest-descr.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0057291667 * 100vw + 0px)}}.birthday-event-quests__category-quest-progress.svelte-iqrjyg.svelte-iqrjyg{display:flex;flex-direction:column;width:calc(0.046875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__category-quest-progress.svelte-iqrjyg.svelte-iqrjyg{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__category-quest-progress.svelte-iqrjyg.svelte-iqrjyg{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__category-quest-progress.svelte-iqrjyg.svelte-iqrjyg{width:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__category-quest-progress.svelte-iqrjyg.svelte-iqrjyg{width:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__category-quest-progress.svelte-iqrjyg.svelte-iqrjyg{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__category-quest-progress.svelte-iqrjyg.svelte-iqrjyg{width:calc(0.0421875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__category-quest-progress.svelte-iqrjyg.svelte-iqrjyg{width:calc(0.0515625 * 100vw + 0px)}}.birthday-event-quests__category-quest-progress--completed.svelte-iqrjyg.svelte-iqrjyg{display:flex;justify-content:center;align-items:center;background:#83BD6F;border-radius:calc(0.0130208333 * 100vw + 0px);width:calc(0.0442708333 * 100vw + 0px);height:calc(0.0130208333 * 100vw + 0px);margin-right:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__category-quest-progress--completed.svelte-iqrjyg.svelte-iqrjyg{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__category-quest-progress--completed.svelte-iqrjyg.svelte-iqrjyg{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__category-quest-progress--completed.svelte-iqrjyg.svelte-iqrjyg{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__category-quest-progress--completed.svelte-iqrjyg.svelte-iqrjyg{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__category-quest-progress--completed.svelte-iqrjyg.svelte-iqrjyg{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__category-quest-progress--completed.svelte-iqrjyg.svelte-iqrjyg{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__category-quest-progress--completed.svelte-iqrjyg.svelte-iqrjyg{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__category-quest-progress--completed.svelte-iqrjyg.svelte-iqrjyg{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__category-quest-progress--completed.svelte-iqrjyg.svelte-iqrjyg{width:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__category-quest-progress--completed.svelte-iqrjyg.svelte-iqrjyg{width:calc(0.0340885417 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__category-quest-progress--completed.svelte-iqrjyg.svelte-iqrjyg{width:calc(0.0486979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__category-quest-progress--completed.svelte-iqrjyg.svelte-iqrjyg{width:calc(0.0309895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__category-quest-progress--completed.svelte-iqrjyg.svelte-iqrjyg{width:calc(0.03984375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__category-quest-progress--completed.svelte-iqrjyg.svelte-iqrjyg{width:calc(0.0486979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__category-quest-progress--completed.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__category-quest-progress--completed.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__category-quest-progress--completed.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__category-quest-progress--completed.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__category-quest-progress--completed.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__category-quest-progress--completed.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__category-quest-progress--completed.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__category-quest-progress--completed.svelte-iqrjyg.svelte-iqrjyg{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__category-quest-progress--completed.svelte-iqrjyg.svelte-iqrjyg{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__category-quest-progress--completed.svelte-iqrjyg.svelte-iqrjyg{margin-right:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__category-quest-progress--completed.svelte-iqrjyg.svelte-iqrjyg{margin-right:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__category-quest-progress--completed.svelte-iqrjyg.svelte-iqrjyg{margin-right:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__category-quest-progress--completed.svelte-iqrjyg.svelte-iqrjyg{margin-right:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__category-quest-progress--completed.svelte-iqrjyg.svelte-iqrjyg{margin-right:calc(0.0091666667 * 100vw + 0px)}}.birthday-event-quests__category-exp.svelte-iqrjyg.svelte-iqrjyg{font-family:\"GothamPro-Medium\";color:#858585;font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__category-exp.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__category-exp.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__category-exp.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__category-exp.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__category-exp.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__category-exp.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__category-exp.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0114583333 * 100vw + 0px)}}.birthday-event-quests__category-exp--completed.svelte-iqrjyg.svelte-iqrjyg{font-family:\"GothamPro-Light\";color:#343434;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__category-exp--completed.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__category-exp--completed.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__category-exp--completed.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__category-exp--completed.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__category-exp--completed.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__category-exp--completed.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__category-exp--completed.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0057291667 * 100vw + 0px)}}.birthday-event-quests__category-exp-descr.svelte-iqrjyg.svelte-iqrjyg{font-family:\"GothamPro\";color:#858585;font-size:calc(0.00625 * 100vw + 0px);margin-top:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__category-exp-descr.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__category-exp-descr.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__category-exp-descr.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__category-exp-descr.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__category-exp-descr.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__category-exp-descr.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__category-exp-descr.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__category-exp-descr.svelte-iqrjyg.svelte-iqrjyg{margin-top:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__category-exp-descr.svelte-iqrjyg.svelte-iqrjyg{margin-top:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__category-exp-descr.svelte-iqrjyg.svelte-iqrjyg{margin-top:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__category-exp-descr.svelte-iqrjyg.svelte-iqrjyg{margin-top:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__category-exp-descr.svelte-iqrjyg.svelte-iqrjyg{margin-top:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__category-exp-descr.svelte-iqrjyg.svelte-iqrjyg{margin-top:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__category-exp-descr.svelte-iqrjyg.svelte-iqrjyg{margin-top:calc(0.0028645833 * 100vw + 0px)}}.birthday-event-quests__items.svelte-iqrjyg.svelte-iqrjyg{position:absolute;top:calc(0.1302083333 * 100vw + 0px);right:calc(0.1328125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items.svelte-iqrjyg.svelte-iqrjyg{top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items.svelte-iqrjyg.svelte-iqrjyg{top:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items.svelte-iqrjyg.svelte-iqrjyg{top:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items.svelte-iqrjyg.svelte-iqrjyg{top:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items.svelte-iqrjyg.svelte-iqrjyg{top:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items.svelte-iqrjyg.svelte-iqrjyg{top:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items.svelte-iqrjyg.svelte-iqrjyg{top:calc(0.1432291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items.svelte-iqrjyg.svelte-iqrjyg{right:calc(0.1328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items.svelte-iqrjyg.svelte-iqrjyg{right:calc(0.1328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items.svelte-iqrjyg.svelte-iqrjyg{right:calc(0.102265625 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items.svelte-iqrjyg.svelte-iqrjyg{right:calc(0.14609375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items.svelte-iqrjyg.svelte-iqrjyg{right:calc(0.09296875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items.svelte-iqrjyg.svelte-iqrjyg{right:calc(0.11953125 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items.svelte-iqrjyg.svelte-iqrjyg{right:calc(0.14609375 * 100vw + 0px)}}.birthday-event-quests__items-title.svelte-iqrjyg.svelte-iqrjyg{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px);margin-bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-title.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-title.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-title.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-title.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-title.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-title.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-title.svelte-iqrjyg.svelte-iqrjyg{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-title.svelte-iqrjyg.svelte-iqrjyg{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-title.svelte-iqrjyg.svelte-iqrjyg{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-title.svelte-iqrjyg.svelte-iqrjyg{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-title.svelte-iqrjyg.svelte-iqrjyg{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-title.svelte-iqrjyg.svelte-iqrjyg{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-title.svelte-iqrjyg.svelte-iqrjyg{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-title.svelte-iqrjyg.svelte-iqrjyg{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg{overflow:auto;height:calc(0.378125 * 100vw + 0px);padding-right:calc(0.0130208333 * 100vw + 0px)}.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.378125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.378125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.29115625 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.4159375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.2646875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.3403125 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg{height:calc(0.4159375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg{padding-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg{padding-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg{padding-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg{padding-right:calc(0.0143229167 * 100vw + 0px)}}.birthday-event-quests__items-wrapper.svelte-iqrjyg.svelte-iqrjyg::-webkit-scrollbar{width:0px}");
}

function birthday_event_quests_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[15] = list[i];
	return child_ctx;
}

function birthday_event_quests_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[18] = list[i];
	return child_ctx;
}

// (1947:20) {:else}
function birthday_event_quests_index_svelte_create_else_block(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="birthday-event-quests__category-exp--completed svelte-iqrjyg">Получено</p>`;
			attr(div, "class", "birthday-event-quests__category-quest-progress--completed svelte-iqrjyg");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1941:73) 
function birthday_event_quests_index_svelte_create_if_block_2(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="birthday-event-quests__category-exp--completed svelte-iqrjyg">Выполнено</p>`;
			attr(div, "class", "birthday-event-quests__category-quest-progress--completed svelte-iqrjyg");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1930:20) {#if category.progress < category.maxProgress}
function birthday_event_quests_index_svelte_create_if_block_1(ctx) {
	let div;
	let p0;
	let t0_value = /*category*/ ctx[18].progress + "";
	let t0;
	let t1;
	let t2_value = /*category*/ ctx[18].maxProgress + "";
	let t2;
	let t3;
	let p1;

	return {
		c() {
			div = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = internal_text("\r\n                                /\r\n                                ");
			t2 = internal_text(t2_value);
			t3 = space();
			p1 = internal_element("p");
			p1.textContent = "Прогресс";
			attr(p0, "class", "birthday-event-quests__category-exp svelte-iqrjyg");
			attr(p1, "class", "birthday-event-quests__category-exp-descr svelte-iqrjyg");
			attr(div, "class", "birthday-event-quests__category-quest-progress svelte-iqrjyg");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p0);
			append(p0, t0);
			append(p0, t1);
			append(p0, t2);
			append(div, t3);
			append(div, p1);
		},
		p(ctx, dirty) {
			if (dirty & /*categoriesTabs*/ 2 && t0_value !== (t0_value = /*category*/ ctx[18].progress + "")) set_data(t0, t0_value);
			if (dirty & /*categoriesTabs*/ 2 && t2_value !== (t2_value = /*category*/ ctx[18].maxProgress + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1916:12) {#each categoriesTabs as category}
function birthday_event_quests_index_svelte_create_each_block_1(ctx) {
	let div1;
	let div0;
	let p0;
	let t0_value = /*category*/ ctx[18].title + "";
	let t0;
	let t1;
	let p1;
	let t2_value = /*category*/ ctx[18].description + "";
	let t2;
	let t3;
	let t4;
	let mounted;
	let dispose;

	function select_block_type(ctx, dirty) {
		if (/*category*/ ctx[18].progress < /*category*/ ctx[18].maxProgress) return birthday_event_quests_index_svelte_create_if_block_1;
		if (/*category*/ ctx[18].progress === /*category*/ ctx[18].maxProgress) return birthday_event_quests_index_svelte_create_if_block_2;
		return birthday_event_quests_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block = current_block_type(ctx);

	function click_handler() {
		return /*click_handler*/ ctx[5](/*category*/ ctx[18]);
	}

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = space();
			if_block.c();
			t4 = space();
			attr(p0, "class", "birthday-event-quests__category-quest-title svelte-iqrjyg");
			attr(p1, "class", "birthday-event-quests__category-quest-descr svelte-iqrjyg");
			attr(div0, "class", "birthday-event-quests__category-quest-body svelte-iqrjyg");
			attr(div1, "class", "birthday-event-quests__category-quest svelte-iqrjyg");
			toggle_class(div1, "birthday-event-quests__category-quest--selected", /*category*/ ctx[18].id === /*selectedTabId*/ ctx[2]);
			toggle_class(div1, "birthday-event-quests__category-quest--completed", /*category*/ ctx[18].progress === /*category*/ ctx[18].maxProgress);
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, p0);
			append(p0, t0);
			append(div0, t1);
			append(div0, p1);
			append(p1, t2);
			append(div1, t3);
			if_block.m(div1, null);
			append(div1, t4);

			if (!mounted) {
				dispose = listen(div1, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if (dirty & /*categoriesTabs*/ 2 && t0_value !== (t0_value = /*category*/ ctx[18].title + "")) set_data(t0, t0_value);
			if (dirty & /*categoriesTabs*/ 2 && t2_value !== (t2_value = /*category*/ ctx[18].description + "")) set_data(t2, t2_value);

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div1, t4);
				}
			}

			if (dirty & /*categoriesTabs, selectedTabId*/ 6) {
				toggle_class(div1, "birthday-event-quests__category-quest--selected", /*category*/ ctx[18].id === /*selectedTabId*/ ctx[2]);
			}

			if (dirty & /*categoriesTabs*/ 2) {
				toggle_class(div1, "birthday-event-quests__category-quest--completed", /*category*/ ctx[18].progress === /*category*/ ctx[18].maxProgress);
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			if_block.d();
			mounted = false;
			dispose();
		}
	};
}

// (1959:8) {#if !isEmpty(categoriesQuests[selectedTabId])}
function birthday_event_quests_index_svelte_create_if_block(ctx) {
	let p;
	let t1;
	let div;
	let previous_key = /*selectedTabId*/ ctx[2];
	let current;
	let key_block = birthday_event_quests_index_svelte_create_key_block(ctx);

	return {
		c() {
			p = internal_element("p");
			p.textContent = "Задания";
			t1 = space();
			div = internal_element("div");
			key_block.c();
			attr(p, "class", "birthday-event-quests__items-title svelte-iqrjyg");
			attr(div, "class", "birthday-event-quests__items-wrapper svelte-iqrjyg");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			insert(target, t1, anchor);
			insert(target, div, anchor);
			key_block.m(div, null);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty & /*selectedTabId*/ 4 && safe_not_equal(previous_key, previous_key = /*selectedTabId*/ ctx[2])) {
				group_outros();
				transition_out(key_block, 1, 1, internal_noop);
				check_outros();
				key_block = birthday_event_quests_index_svelte_create_key_block(ctx);
				key_block.c();
				transition_in(key_block, 1);
				key_block.m(div, null);
			} else {
				key_block.p(ctx, dirty);
			}
		},
		i(local) {
			if (current) return;
			transition_in(key_block);
			current = true;
		},
		o(local) {
			transition_out(key_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(p);
			if (detaching) detach(t1);
			if (detaching) detach(div);
			key_block.d(detaching);
		}
	};
}

// (1965:20) {#each categoriesQuests[selectedTabId] as quest}
function birthday_event_quests_index_svelte_create_each_block(ctx) {
	let accordion;
	let current;

	accordion = new birthday_event_quests_components_accordion_index_svelte({
			props: {
				quest: /*quest*/ ctx[15],
				categoryId: /*selectedTabId*/ ctx[2]
			}
		});

	return {
		c() {
			create_component(accordion.$$.fragment);
		},
		m(target, anchor) {
			mount_component(accordion, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const accordion_changes = {};
			if (dirty & /*categoriesQuests, selectedTabId*/ 5) accordion_changes.quest = /*quest*/ ctx[15];
			if (dirty & /*selectedTabId*/ 4) accordion_changes.categoryId = /*selectedTabId*/ ctx[2];
			accordion.$set(accordion_changes);
		},
		i(local) {
			if (current) return;
			transition_in(accordion.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(accordion.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(accordion, detaching);
		}
	};
}

// (1964:16) {#key selectedTabId}
function birthday_event_quests_index_svelte_create_key_block(ctx) {
	let each_1_anchor;
	let current;
	let each_value = /*categoriesQuests*/ ctx[0][/*selectedTabId*/ ctx[2]];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = birthday_event_quests_index_svelte_create_each_block(birthday_event_quests_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty & /*categoriesQuests, selectedTabId*/ 5) {
				each_value = /*categoriesQuests*/ ctx[0][/*selectedTabId*/ ctx[2]];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = birthday_event_quests_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = birthday_event_quests_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			destroy_each(each_blocks, detaching);
			if (detaching) detach(each_1_anchor);
		}
	};
}

function birthday_event_quests_index_svelte_create_fragment(ctx) {
	let div4;
	let p0;
	let t1;
	let img0;
	let img0_src_value;
	let t2;
	let img1;
	let img1_src_value;
	let t3;
	let birthdayeventbackground;
	let t4;
	let exitbutton;
	let t5;
	let div0;
	let img2;
	let img2_src_value;
	let t6;
	let div2;
	let p1;
	let t8;
	let div1;
	let t9;
	let div3;
	let show_if = !(0,lodash.isEmpty)(/*categoriesQuests*/ ctx[0][/*selectedTabId*/ ctx[2]]);
	let current;
	birthdayeventbackground = new quests_components_background_index_svelte({});

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[4],
				title: "Вернутся назад",
				fixedPosition: true
			}
		});

	let each_value_1 = /*categoriesTabs*/ ctx[1];
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = birthday_event_quests_index_svelte_create_each_block_1(birthday_event_quests_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	let if_block = show_if && birthday_event_quests_index_svelte_create_if_block(ctx);

	return {
		c() {
			div4 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Список заданий";
			t1 = space();
			img0 = internal_element("img");
			t2 = space();
			img1 = internal_element("img");
			t3 = space();
			create_component(birthdayeventbackground.$$.fragment);
			t4 = space();
			create_component(exitbutton.$$.fragment);
			t5 = space();
			div0 = internal_element("div");
			img2 = internal_element("img");
			t6 = space();
			div2 = internal_element("div");
			p1 = internal_element("p");
			p1.textContent = "Этапы";
			t8 = space();
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t9 = space();
			div3 = internal_element("div");
			if (if_block) if_block.c();
			attr(p0, "class", "birthday-event-quests__title svelte-iqrjyg");
			attr(img0, "class", "birthday-event-quests__flowers-img svelte-iqrjyg");
			if (!src_url_equal(img0.src, img0_src_value = birthday_event_flowers_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "flowers");
			attr(img1, "class", "birthday-event-quests__girl-img svelte-iqrjyg");
			if (!src_url_equal(img1.src, img1_src_value = quests_img_birthday_event_girl_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "girl");
			attr(img2, "class", "birthday-event-quests__logo-icon svelte-iqrjyg");
			if (!src_url_equal(img2.src, img2_src_value = birthday_event_logo_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "logo");
			attr(div0, "class", "birthday-event-quests__logo svelte-iqrjyg");
			attr(p1, "class", "birthday-event-quests__category-title svelte-iqrjyg");
			attr(div1, "class", "birthday-event-quests__categories-wrapper svelte-iqrjyg");
			attr(div2, "class", "birthday-event-quests__category svelte-iqrjyg");
			attr(div3, "class", "birthday-event-quests__items svelte-iqrjyg");
			attr(div4, "class", "birthday-event-quests svelte-iqrjyg");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, p0);
			append(div4, t1);
			append(div4, img0);
			append(div4, t2);
			append(div4, img1);
			append(div4, t3);
			mount_component(birthdayeventbackground, div4, null);
			append(div4, t4);
			mount_component(exitbutton, div4, null);
			append(div4, t5);
			append(div4, div0);
			append(div0, img2);
			append(div4, t6);
			append(div4, div2);
			append(div2, p1);
			append(div2, t8);
			append(div2, div1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}

			append(div4, t9);
			append(div4, div3);
			if (if_block) if_block.m(div3, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*categoriesTabs, selectedTabId, selectCategory*/ 14) {
				each_value_1 = /*categoriesTabs*/ ctx[1];
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = birthday_event_quests_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = birthday_event_quests_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div1, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}

			if (dirty & /*categoriesQuests, selectedTabId*/ 5) show_if = !(0,lodash.isEmpty)(/*categoriesQuests*/ ctx[0][/*selectedTabId*/ ctx[2]]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*categoriesQuests, selectedTabId*/ 5) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = birthday_event_quests_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(div3, null);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(birthdayeventbackground.$$.fragment, local);
			transition_in(exitbutton.$$.fragment, local);
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(birthdayeventbackground.$$.fragment, local);
			transition_out(exitbutton.$$.fragment, local);
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div4);
			destroy_component(birthdayeventbackground);
			destroy_component(exitbutton);
			destroy_each(each_blocks, detaching);
			if (if_block) if_block.d();
		}
	};
}

function birthday_event_quests_index_svelte_instance($$self, $$props, $$invalidate) {
	let categoriesQuests = {};
	let categoriesTabs = [];
	let selectedTabId = null;

	const setCategoryQuests = (categoryId, quests) => {
		$$invalidate(0, categoriesQuests[categoryId] = quests, categoriesQuests);
	};

	const pushCategoryQuests = (categoryId, quests) => {
		$$invalidate(0, categoriesQuests[categoryId] = [...categoriesQuests[categoryId] || [], ...quests], categoriesQuests);
	};

	const selectCategory = tabId => {
		$$invalidate(2, selectedTabId = tabId);
	};

	const handleClose = () => {
		
	}; // exec close event

	const initQuests = categoriesQuestsDto => {
		$$invalidate(0, categoriesQuests = categoriesQuestsDto);
	};

	const initTabs = categoriesTabsDto => {
		$$invalidate(1, categoriesTabs = categoriesTabsDto);
	};

	const unregisterInitQuestsEvent = registerEvent('birthdayEvent.quests.initialize', initQuests);
	const unregisterInitTabsEvent = registerEvent('birthdayEvent.categories.initialize', initTabs);
	const unregisterSetCategoryQuestEvent = registerEvent('birthdayEvent.quests.update', setCategoryQuests);
	const unregisterSelectCategoryQuestEvent = registerEvent('birthdayEvent.categories.select', selectCategory);
	const unregisterPushQuestsEvent = registerEvent('birthdayEvent.quests.push', pushCategoryQuests);

	onDestroy(() => {
		unregisterInitQuestsEvent();
		unregisterInitTabsEvent();
		unregisterSetCategoryQuestEvent();
		unregisterSelectCategoryQuestEvent();
		unregisterPushQuestsEvent();
	});

	const click_handler = category => selectCategory(category.id);

	return [
		categoriesQuests,
		categoriesTabs,
		selectedTabId,
		selectCategory,
		handleClose,
		click_handler
	];
}

class birthday_event_quests_index_svelte_Quests extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, birthday_event_quests_index_svelte_instance, birthday_event_quests_index_svelte_create_fragment, safe_not_equal, {}, birthday_event_quests_index_svelte_add_css);
	}
}

/* harmony default export */ const birthday_event_quests_index_svelte = (birthday_event_quests_index_svelte_Quests);
;// CONCATENATED MODULE: ./src/views/crate-roulette/utils.js


var getItemUrl = function getItemUrl(itemName) {
  return "".concat(cdn_CDN_URL_RODINA, "/systems/battlepass/items/").concat(itemName);
};
var openWithoutAnimation = writable(false);
;// CONCATENATED MODULE: ./src/views/crate-roulette/constants.js
var RouletteItemRarity = {
  Common: 'common',
  Rare: 'rare',
  Mythical: 'mythical',
  Ancient: 'ancient',
  Legendary: 'legendary'
};
var ROULETTE_ITEM_RARITIES = [RouletteItemRarity.Common, RouletteItemRarity.Rare, RouletteItemRarity.Mythical, RouletteItemRarity.Ancient, RouletteItemRarity.Legendary];
var MAP_ROULETTE_ITEM_RARITIES_TO_STRING = {
  0: 'Обычный приз',
  1: 'Превосходный приз',
  2: 'Секретный приз',
  3: 'Тайный приз',
  4: 'Легендарный приз'
};
var ROULETTE_ITEMS_COUNT = 100;
var MAP_RARITY_TO_JOKES = {
  0: ['Еще бы чуть-чуть!', 'Давай по новой...', 'Хоть что-то!'],
  1: ['Вот это да!', 'Скрин в студию!', 'Достойный приз!'],
  2: ['Повезло повезло...', 'Сегодня в ударе...', 'Парам-пам'],
  3: ['Невероятно!', 'Сюда...', 'Великолепно!'],
  4: ['АААААА!!!', 'СУПЕР ПРИЗ!', 'ШОК!!!']
};
;// CONCATENATED MODULE: ./src/views/crate-roulette/audio/click.mp3
const click_namespaceObject = __webpack_require__.p + "assets/6154b621b41810c7f1c5.mp3";
;// CONCATENATED MODULE: ./src/views/crate-roulette/partials/prize.svelte
/* src\views\crate-roulette\partials\prize.svelte generated by Svelte v3.49.0 */












function prize_svelte_create_if_block(ctx) {
	let div3;
	let div0;
	let p0;
	let t1;
	let p1;
	let t2_value = MAP_ROULETTE_ITEM_RARITIES_TO_STRING[/*item*/ ctx[0].rarity] + "";
	let t2;
	let p1_class_value;
	let t3;
	let div2;
	let p2;
	let t4_value = /*getRandomJokeAccordingToRarity*/ ctx[3](/*item*/ ctx[0].rarity) + "";
	let t4;
	let t5;
	let div1;
	let img;
	let img_src_value;
	let div1_class_value;
	let t6;
	let p3;
	let t7;
	let show_if_1;
	let t8;
	let div4;
	let actionbutton;
	let t9;
	let show_if = !(0,lodash.isNil)(/*item*/ ctx[0].price);
	let current;

	function select_block_type(ctx, dirty) {
		if (/*item*/ ctx[0].sysName === 'reward_money') return prize_svelte_create_if_block_3;
		return prize_svelte_create_else_block_1;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block0 = current_block_type(ctx);

	function select_block_type_1(ctx, dirty) {
		if (dirty & /*item*/ 1) show_if_1 = null;
		if (show_if_1 == null) show_if_1 = !!(0,lodash.isNil)(/*item*/ ctx[0].price);
		if (show_if_1) return prize_svelte_create_if_block_2;
		return prize_svelte_create_else_block;
	}

	let current_block_type_1 = select_block_type_1(ctx, -1);
	let if_block1 = current_block_type_1(ctx);

	actionbutton = new index_svelte({
			props: {
				keyTitle: "Y",
				postActionTitle: "Забрать приз",
				onPress: /*takePrize*/ ctx[1],
				keyCode: "keyy"
			}
		});

	let if_block2 = show_if && prize_svelte_create_if_block_1(ctx);

	return {
		c() {
			div3 = internal_element("div");
			div0 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Поздравляем!";
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = space();
			div2 = internal_element("div");
			p2 = internal_element("p");
			t4 = internal_text(t4_value);
			t5 = space();
			div1 = internal_element("div");
			img = internal_element("img");
			t6 = space();
			p3 = internal_element("p");
			if_block0.c();
			t7 = space();
			if_block1.c();
			t8 = space();
			div4 = internal_element("div");
			create_component(actionbutton.$$.fragment);
			t9 = space();
			if (if_block2) if_block2.c();
			attr(p0, "class", "crate-roulette-prize__title");
			attr(p1, "class", p1_class_value = `crate-roulette-prize__prize-type crate-roulette-prize__prize-type--${ROULETTE_ITEM_RARITIES[/*item*/ ctx[0].rarity]}`);
			attr(div0, "class", "crate-roulette-prize__main-info");
			attr(p2, "class", "crate-roulette-prize__prize-preview-joke");
			attr(img, "class", "crate-item-preview__image");
			if (!src_url_equal(img.src, img_src_value = getItemUrl(/*item*/ ctx[0].url))) attr(img, "src", img_src_value);
			attr(img, "alt", "icon");
			attr(div1, "class", div1_class_value = `crate-roulette-prize__prize-preview crate-item-preview crate-item-preview--${ROULETTE_ITEM_RARITIES[/*item*/ ctx[0].rarity]}`);
			attr(p3, "class", "crate-roulette-prize__prize-preview-name");
			attr(div2, "class", "crate-roulette-prize__prize-preview-wrapper");
			attr(div3, "class", "crate-roulette-prize");
			attr(div4, "class", "crate-roulette__prize-submit-controls");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div0);
			append(div0, p0);
			append(div0, t1);
			append(div0, p1);
			append(p1, t2);
			append(div3, t3);
			append(div3, div2);
			append(div2, p2);
			append(p2, t4);
			append(div2, t5);
			append(div2, div1);
			append(div1, img);
			append(div2, t6);
			append(div2, p3);
			if_block0.m(p3, null);
			append(div3, t7);
			if_block1.m(div3, null);
			insert(target, t8, anchor);
			insert(target, div4, anchor);
			mount_component(actionbutton, div4, null);
			append(div4, t9);
			if (if_block2) if_block2.m(div4, null);
			current = true;
		},
		p(ctx, dirty) {
			if ((!current || dirty & /*item*/ 1) && t2_value !== (t2_value = MAP_ROULETTE_ITEM_RARITIES_TO_STRING[/*item*/ ctx[0].rarity] + "")) set_data(t2, t2_value);

			if (!current || dirty & /*item*/ 1 && p1_class_value !== (p1_class_value = `crate-roulette-prize__prize-type crate-roulette-prize__prize-type--${ROULETTE_ITEM_RARITIES[/*item*/ ctx[0].rarity]}`)) {
				attr(p1, "class", p1_class_value);
			}

			if ((!current || dirty & /*item*/ 1) && t4_value !== (t4_value = /*getRandomJokeAccordingToRarity*/ ctx[3](/*item*/ ctx[0].rarity) + "")) set_data(t4, t4_value);

			if (!current || dirty & /*item*/ 1 && !src_url_equal(img.src, img_src_value = getItemUrl(/*item*/ ctx[0].url))) {
				attr(img, "src", img_src_value);
			}

			if (!current || dirty & /*item*/ 1 && div1_class_value !== (div1_class_value = `crate-roulette-prize__prize-preview crate-item-preview crate-item-preview--${ROULETTE_ITEM_RARITIES[/*item*/ ctx[0].rarity]}`)) {
				attr(div1, "class", div1_class_value);
			}

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block0) {
				if_block0.p(ctx, dirty);
			} else {
				if_block0.d(1);
				if_block0 = current_block_type(ctx);

				if (if_block0) {
					if_block0.c();
					if_block0.m(p3, null);
				}
			}

			if (current_block_type_1 !== (current_block_type_1 = select_block_type_1(ctx, dirty))) {
				if_block1.d(1);
				if_block1 = current_block_type_1(ctx);

				if (if_block1) {
					if_block1.c();
					if_block1.m(div3, null);
				}
			}

			const actionbutton_changes = {};
			if (dirty & /*takePrize*/ 2) actionbutton_changes.onPress = /*takePrize*/ ctx[1];
			actionbutton.$set(actionbutton_changes);
			if (dirty & /*item*/ 1) show_if = !(0,lodash.isNil)(/*item*/ ctx[0].price);

			if (show_if) {
				if (if_block2) {
					if_block2.p(ctx, dirty);

					if (dirty & /*item*/ 1) {
						transition_in(if_block2, 1);
					}
				} else {
					if_block2 = prize_svelte_create_if_block_1(ctx);
					if_block2.c();
					transition_in(if_block2, 1);
					if_block2.m(div4, null);
				}
			} else if (if_block2) {
				group_outros();

				transition_out(if_block2, 1, 1, () => {
					if_block2 = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(actionbutton.$$.fragment, local);
			transition_in(if_block2);
			current = true;
		},
		o(local) {
			transition_out(actionbutton.$$.fragment, local);
			transition_out(if_block2);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div3);
			if_block0.d();
			if_block1.d();
			if (detaching) detach(t8);
			if (detaching) detach(div4);
			destroy_component(actionbutton);
			if (if_block2) if_block2.d();
		}
	};
}

// (60:16) {:else}
function prize_svelte_create_else_block_1(ctx) {
	let html_tag;
	let raw_value = /*item*/ ctx[0].description + "";
	let html_anchor;

	return {
		c() {
			html_tag = new HtmlTag(false);
			html_anchor = empty();
			html_tag.a = html_anchor;
		},
		m(target, anchor) {
			html_tag.m(raw_value, target, anchor);
			insert(target, html_anchor, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*item*/ 1 && raw_value !== (raw_value = /*item*/ ctx[0].description + "")) html_tag.p(raw_value);
		},
		d(detaching) {
			if (detaching) detach(html_anchor);
			if (detaching) html_tag.d();
		}
	};
}

// (58:16) {#if item.sysName === 'reward_money'}
function prize_svelte_create_if_block_3(ctx) {
	let span1;
	let t0_value = /*item*/ ctx[0].data + "";
	let t0;
	let t1;
	let span0;

	return {
		c() {
			span1 = internal_element("span");
			t0 = internal_text(t0_value);
			t1 = space();
			span0 = internal_element("span");
			attr(span0, "class", "icon-money crate-roulette-prize__prize-preview-name-icon");
			attr(span1, "class", "roulette-item-data-details");
		},
		m(target, anchor) {
			insert(target, span1, anchor);
			append(span1, t0);
			append(span1, t1);
			append(span1, span0);
		},
		p(ctx, dirty) {
			if (dirty & /*item*/ 1 && t0_value !== (t0_value = /*item*/ ctx[0].data + "")) set_data(t0, t0_value);
		},
		d(detaching) {
			if (detaching) detach(span1);
		}
	};
}

// (69:8) {:else}
function prize_svelte_create_else_block(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");

			div.innerHTML = `Выберите один из вариантов действия
                <p class="crate-roulette-prize__action-information">Забрать приз</p>
                или
                <p class="crate-roulette-prize__action-information">Продать его за 
                    <span class="az-coin">AZ</span></p>`;

			attr(div, "class", "crate-roulette-prize__actions-description");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (65:8) {#if isNil(item.price)}
function prize_svelte_create_if_block_2(ctx) {
	let p;

	return {
		c() {
			p = internal_element("p");
			p.textContent = "Поздравляем! Забрать свой приз Вы можете через клавишу Y.";
			attr(p, "class", "crate-roulette-prize__description");
		},
		m(target, anchor) {
			insert(target, p, anchor);
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (90:8) {#if !isNil(item.price)}
function prize_svelte_create_if_block_1(ctx) {
	let actionbutton;
	let current;

	actionbutton = new index_svelte({
			props: {
				keyTitle: "N",
				postActionTitle: `Продать за <span class="az-coins-wrapper">${/*item*/ ctx[0].price}</span> <span class="az-coin">AZ</span>`,
				onPress: /*sellPrize*/ ctx[2],
				keyCode: "keyn"
			}
		});

	return {
		c() {
			create_component(actionbutton.$$.fragment);
		},
		m(target, anchor) {
			mount_component(actionbutton, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const actionbutton_changes = {};
			if (dirty & /*item*/ 1) actionbutton_changes.postActionTitle = `Продать за <span class="az-coins-wrapper">${/*item*/ ctx[0].price}</span> <span class="az-coin">AZ</span>`;
			if (dirty & /*sellPrize*/ 4) actionbutton_changes.onPress = /*sellPrize*/ ctx[2];
			actionbutton.$set(actionbutton_changes);
		},
		i(local) {
			if (current) return;
			transition_in(actionbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(actionbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(actionbutton, detaching);
		}
	};
}

function prize_svelte_create_fragment(ctx) {
	let show_if = !(0,lodash.isEmpty)(/*item*/ ctx[0]);
	let if_block_anchor;
	let current;
	let mounted;
	let dispose;
	let if_block = show_if && prize_svelte_create_if_block(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
			current = true;

			if (!mounted) {
				dispose = listen(window, "keydown", /*keydown_handler*/ ctx[5]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*item*/ 1) show_if = !(0,lodash.isEmpty)(/*item*/ ctx[0]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*item*/ 1) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = prize_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
			mounted = false;
			dispose();
		}
	};
}

function prize_svelte_instance($$self, $$props, $$invalidate) {
	let { item = {} } = $$props;

	let { takePrize = () => {
		
	} } = $$props;

	let { sellPrize = () => {
		
	} } = $$props;

	const audio = new Audio(click_namespaceObject);

	const getRandomJokeAccordingToRarity = rarity => {
		const rarityJokes = MAP_RARITY_TO_JOKES[rarity];
		const selectedJokeIndex = _randomHelper(0, rarityJokes.length - 1);
		return rarityJokes[selectedJokeIndex];
	};

	const arrowsHandler = event => {
		switch (event.keyCode) {
			case 89:
				// Y
				audio.play();
				takePrize();
				break;
			default:
				break;
		}
	};

	const keydown_handler = event => arrowsHandler(event);

	$$self.$$set = $$props => {
		if ('item' in $$props) $$invalidate(0, item = $$props.item);
		if ('takePrize' in $$props) $$invalidate(1, takePrize = $$props.takePrize);
		if ('sellPrize' in $$props) $$invalidate(2, sellPrize = $$props.sellPrize);
	};

	return [
		item,
		takePrize,
		sellPrize,
		getRandomJokeAccordingToRarity,
		arrowsHandler,
		keydown_handler
	];
}

class Prize extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, prize_svelte_instance, prize_svelte_create_fragment, safe_not_equal, { item: 0, takePrize: 1, sellPrize: 2 });
	}
}

/* harmony default export */ const prize_svelte = (Prize);
;// CONCATENATED MODULE: ./src/components/tooltip/index.svelte
/* src\components\tooltip\index.svelte generated by Svelte v3.49.0 */


function tooltip_index_svelte_add_css(target) {
	append_styles(target, "svelte-s3xo3f", ".tooltip.svelte-s3xo3f{border:1px solid #ddd;box-shadow:1px 1px 1px #ddd;background:white;border-radius:4px;padding:4px;position:absolute;pointer-events:none;white-space:pre-wrap}");
}

// (7:0) {#if title}
function tooltip_index_svelte_create_if_block(ctx) {
	let previous_key = /*title*/ ctx[0];
	let key_block_anchor;
	let key_block = tooltip_index_svelte_create_key_block(ctx);

	return {
		c() {
			key_block.c();
			key_block_anchor = empty();
		},
		m(target, anchor) {
			key_block.m(target, anchor);
			insert(target, key_block_anchor, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*title*/ 1 && safe_not_equal(previous_key, previous_key = /*title*/ ctx[0])) {
				key_block.d(1);
				key_block = tooltip_index_svelte_create_key_block(ctx);
				key_block.c();
				key_block.m(key_block_anchor.parentNode, key_block_anchor);
			} else {
				key_block.p(ctx, dirty);
			}
		},
		d(detaching) {
			if (detaching) detach(key_block_anchor);
			key_block.d(detaching);
		}
	};
}

// (8:4) {#key title}
function tooltip_index_svelte_create_key_block(ctx) {
	let div;
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(/*title*/ ctx[0]);
			attr(div, "class", "tooltip svelte-s3xo3f");
			set_style(div, "top", /*y*/ ctx[2] + 5 + "px");
			set_style(div, "left", /*x*/ ctx[1] + 5 + "px");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*title*/ 1) set_data(t, /*title*/ ctx[0]);

			if (dirty & /*y*/ 4) {
				set_style(div, "top", /*y*/ ctx[2] + 5 + "px");
			}

			if (dirty & /*x*/ 2) {
				set_style(div, "left", /*x*/ ctx[1] + 5 + "px");
			}
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function tooltip_index_svelte_create_fragment(ctx) {
	let if_block_anchor;
	let if_block = /*title*/ ctx[0] && tooltip_index_svelte_create_if_block(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
		},
		p(ctx, [dirty]) {
			if (/*title*/ ctx[0]) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = tooltip_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

function tooltip_index_svelte_instance($$self, $$props, $$invalidate) {
	let { title } = $$props;
	let { x } = $$props;
	let { y } = $$props;

	$$self.$$set = $$props => {
		if ('title' in $$props) $$invalidate(0, title = $$props.title);
		if ('x' in $$props) $$invalidate(1, x = $$props.x);
		if ('y' in $$props) $$invalidate(2, y = $$props.y);
	};

	return [title, x, y];
}

class Tooltip extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, tooltip_index_svelte_instance, tooltip_index_svelte_create_fragment, safe_not_equal, { title: 0, x: 1, y: 2 }, tooltip_index_svelte_add_css);
	}
}

/* harmony default export */ const tooltip_index_svelte = (Tooltip);
;// CONCATENATED MODULE: ./src/components/tooltip/index.js


function tooltip_tooltip(element, _ref) {
  var title = _ref.title;
  var tooltipComponent;
  function mouseOver(event) {
    if (event.target !== event.currentTarget) {
      return;
    }
    element.removeAttribute('title');
    tooltipComponent = new tooltip_index_svelte({
      props: {
        title: title,
        x: event.pageX,
        y: event.pageY
      },
      target: document.body
    });
  }
  function mouseMove(event) {
    if (!tooltipComponent) {
      return;
    }
    tooltipComponent.$set({
      x: event.pageX,
      y: event.pageY
    });
  }
  function deleteTooltip() {
    if ((0,lodash.isNil)(tooltipComponent)) {
      return;
    }
    tooltipComponent.$destroy();
  }
  element.addEventListener('mouseover', mouseOver);
  element.addEventListener('mouseleave', deleteTooltip);
  element.addEventListener('mousemove', mouseMove);
  return {
    destroy: function destroy() {
      deleteTooltip();
      element.removeEventListener('mouseover', mouseOver);
      element.removeEventListener('mouseleave', deleteTooltip);
      element.removeEventListener('mousemove', mouseMove);
    }
  };
}
;// CONCATENATED MODULE: ./src/views/crate-roulette/partials/crate-preview.svelte
/* src\views\crate-roulette\partials\crate-preview.svelte generated by Svelte v3.49.0 */













function crate_preview_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[14] = list[i];
	child_ctx[16] = i;
	return child_ctx;
}

// (106:20) {#if crateInfo.items}
function crate_preview_svelte_create_if_block(ctx) {
	let each_blocks = [];
	let each_1_lookup = new Map();
	let each_1_anchor;
	let each_value = /*crateInfo*/ ctx[0].items;
	const get_key = ctx => `${/*item*/ ctx[14].name} ${/*item*/ ctx[14].data}`;

	for (let i = 0; i < each_value.length; i += 1) {
		let child_ctx = crate_preview_svelte_get_each_context(ctx, each_value, i);
		let key = get_key(child_ctx);
		each_1_lookup.set(key, each_blocks[i] = crate_preview_svelte_create_each_block(key, child_ctx));
	}

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*ROULETTE_ITEM_RARITIES, crateInfo, getItemData, getItemUrl*/ 17) {
				each_value = /*crateInfo*/ ctx[0].items;
				each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, each_1_anchor.parentNode, destroy_block, crate_preview_svelte_create_each_block, each_1_anchor, crate_preview_svelte_get_each_context);
			}
		},
		d(detaching) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].d(detaching);
			}

			if (detaching) detach(each_1_anchor);
		}
	};
}

// (107:24) {#each crateInfo.items as item, index (`${item.name}
function crate_preview_svelte_create_each_block(key_1, ctx) {
	let div;
	let img;
	let img_src_value;
	let t;
	let div_class_value;
	let tooltip_action;
	let mounted;
	let dispose;

	return {
		key: key_1,
		first: null,
		c() {
			div = internal_element("div");
			img = internal_element("img");
			t = space();
			attr(img, "class", "crate-item-preview__image");
			if (!src_url_equal(img.src, img_src_value = getItemUrl(/*item*/ ctx[14].url))) attr(img, "src", img_src_value);
			attr(img, "alt", "icon");
			attr(div, "class", div_class_value = `crate-drop-preview__item crate-item-preview crate-item-preview--${ROULETTE_ITEM_RARITIES[/*item*/ ctx[14].rarity]}`);
			this.first = div;
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
			append(div, t);

			if (!mounted) {
				dispose = action_destroyer(tooltip_action = tooltip_tooltip.call(null, div, {
					title: /*item*/ ctx[14].name
					? `${/*item*/ ctx[14].name}\n${/*getItemData*/ ctx[4](/*item*/ ctx[14].data)}`
					: '',
					className: 'crate-drop-preview__item-tooltip',
					fixedPosition: true
				}));

				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*crateInfo*/ 1 && !src_url_equal(img.src, img_src_value = getItemUrl(/*item*/ ctx[14].url))) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*crateInfo*/ 1 && div_class_value !== (div_class_value = `crate-drop-preview__item crate-item-preview crate-item-preview--${ROULETTE_ITEM_RARITIES[/*item*/ ctx[14].rarity]}`)) {
				attr(div, "class", div_class_value);
			}

			if (tooltip_action && internal_is_function(tooltip_action.update) && dirty & /*crateInfo*/ 1) tooltip_action.update.call(null, {
				title: /*item*/ ctx[14].name
				? `${/*item*/ ctx[14].name}\n${/*getItemData*/ ctx[4](/*item*/ ctx[14].data)}`
				: '',
				className: 'crate-drop-preview__item-tooltip',
				fixedPosition: true
			});
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

function crate_preview_svelte_create_fragment(ctx) {
	let div11;
	let div1;
	let p0;
	let t0_value = `${/*crateInfo*/ ctx[0].name}` + "";
	let t0;
	let t1;
	let div0;
	let t2;
	let div10;
	let div9;
	let div6;
	let div2;
	let t3;
	let img;
	let img_src_value;
	let t4;
	let div5;
	let div3;
	let t6;
	let div4;
	let t8;
	let div8;
	let p1;
	let t10;
	let div7;
	let div11_class_value;
	let t11;
	let p2;
	let t13;
	let div12;
	let actionbutton;
	let current;
	let mounted;
	let dispose;
	let if_block = /*crateInfo*/ ctx[0].items && crate_preview_svelte_create_if_block(ctx);

	actionbutton = new index_svelte({
			props: {
				keyTitle: "ENTER",
				keyCode: "enter",
				postActionTitle: "Открыть кейс",
				onPress: /*startExitAnimation*/ ctx[6]
			}
		});

	return {
		c() {
			div11 = internal_element("div");
			div1 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			div0 = internal_element("div");
			t2 = space();
			div10 = internal_element("div");
			div9 = internal_element("div");
			div6 = internal_element("div");
			div2 = internal_element("div");
			t3 = space();
			img = internal_element("img");
			t4 = space();
			div5 = internal_element("div");
			div3 = internal_element("div");
			div3.innerHTML = `<span class="crate-preview__open-crate-button-text">Открыть</span>`;
			t6 = space();
			div4 = internal_element("div");
			div4.textContent = "Открывать моментально";
			t8 = space();
			div8 = internal_element("div");
			p1 = internal_element("p");
			p1.textContent = "Содержимое";
			t10 = space();
			div7 = internal_element("div");
			if (if_block) if_block.c();
			t11 = space();
			p2 = internal_element("p");
			p2.textContent = "Жизнь, как известно, у человека одна. И желательно прожить ее достойно и интересно и не тратить на всякую ерунду.";
			t13 = space();
			div12 = internal_element("div");
			create_component(actionbutton.$$.fragment);
			attr(p0, "class", "crate-preview__crate-name");
			attr(div0, "class", "crate-preview__logo");
			attr(div1, "class", "crate-preview__crate-name-wrapper");
			attr(div2, "class", "crate-preview__crate-image-background");
			attr(img, "class", "crate-preview__crate-image");
			if (!src_url_equal(img.src, img_src_value = getItemUrl(`${/*crateInfo*/ ctx[0].sysName}.webp`))) attr(img, "src", img_src_value);
			attr(img, "alt", "icon");
			attr(div3, "class", "crate-preview__open-crate-button");
			attr(div4, "class", "checkbox crate-preview__open-crate-animation-toggle");
			toggle_class(div4, "active", /*$openWithoutAnimation*/ ctx[2]);
			attr(div5, "class", "crate-preview__controls");
			attr(div6, "class", "crate-preview__crate-image-wrapper");
			attr(p1, "class", "crate-preview__crate-drop-preview-title");
			attr(div7, "class", "crate-preview__crate-drop-preview crate-drop-preview");
			attr(div8, "class", "crate-preview__crate-drop-preview-wrapper");
			attr(div9, "class", "crate-preview__crate-main-info");
			attr(div10, "class", "crate-preview__crate-main-info-wrapper");

			attr(div11, "class", div11_class_value = `crate-preview crate-preview--${/*crateInfo*/ ctx[0].sysName}${/*exitAnimationStarted*/ ctx[1]
			? ' crate-preview--exiting'
			: ''}`);

			attr(p2, "class", "crate-roulette__wisdom");
			attr(div12, "class", "crate-preview__open-crate-action-button");
		},
		m(target, anchor) {
			insert(target, div11, anchor);
			append(div11, div1);
			append(div1, p0);
			append(p0, t0);
			append(div1, t1);
			append(div1, div0);
			append(div11, t2);
			append(div11, div10);
			append(div10, div9);
			append(div9, div6);
			append(div6, div2);
			append(div6, t3);
			append(div6, img);
			append(div6, t4);
			append(div6, div5);
			append(div5, div3);
			append(div5, t6);
			append(div5, div4);
			append(div9, t8);
			append(div9, div8);
			append(div8, p1);
			append(div8, t10);
			append(div8, div7);
			if (if_block) if_block.m(div7, null);
			insert(target, t11, anchor);
			insert(target, p2, anchor);
			insert(target, t13, anchor);
			insert(target, div12, anchor);
			mount_component(actionbutton, div12, null);
			current = true;

			if (!mounted) {
				dispose = [
					listen(window, "keydown", /*keydown_handler*/ ctx[10]),
					listen(div3, "click", /*startExitAnimation*/ ctx[6]),
					listen(div4, "click", /*toggleCaseOpeningAnimation*/ ctx[3]),
					listen(div8, "animationend", /*handleCrateOpen*/ ctx[5])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if ((!current || dirty & /*crateInfo*/ 1) && t0_value !== (t0_value = `${/*crateInfo*/ ctx[0].name}` + "")) set_data(t0, t0_value);

			if (!current || dirty & /*crateInfo*/ 1 && !src_url_equal(img.src, img_src_value = getItemUrl(`${/*crateInfo*/ ctx[0].sysName}.webp`))) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*$openWithoutAnimation*/ 4) {
				toggle_class(div4, "active", /*$openWithoutAnimation*/ ctx[2]);
			}

			if (/*crateInfo*/ ctx[0].items) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = crate_preview_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div7, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (!current || dirty & /*crateInfo, exitAnimationStarted*/ 3 && div11_class_value !== (div11_class_value = `crate-preview crate-preview--${/*crateInfo*/ ctx[0].sysName}${/*exitAnimationStarted*/ ctx[1]
			? ' crate-preview--exiting'
			: ''}`)) {
				attr(div11, "class", div11_class_value);
			}
		},
		i(local) {
			if (current) return;
			transition_in(actionbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(actionbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div11);
			if (if_block) if_block.d();
			if (detaching) detach(t11);
			if (detaching) detach(p2);
			if (detaching) detach(t13);
			if (detaching) detach(div12);
			destroy_component(actionbutton);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function crate_preview_svelte_instance($$self, $$props, $$invalidate) {
	let $openWithoutAnimation;
	component_subscribe($$self, openWithoutAnimation, $$value => $$invalidate(2, $openWithoutAnimation = $$value));
	let { crateInfo = {} } = $$props;

	let { onCrateOpenStart = () => {
		
	} } = $$props;

	let { hideCratePreview = () => {
		
	} } = $$props;

	const audio = new Audio(click_namespaceObject);
	let exitAnimationStarted = false;

	const toggleCaseOpeningAnimation = () => {
		sendClientMessage('toggle.roulette.OpeningAnimation');
	};

	const getCaseRouletteOpeningAnimation = animation => {
		set_store_value(openWithoutAnimation, $openWithoutAnimation = animation, $openWithoutAnimation);
	};

	const getItemData = data => {
		if ((0,lodash.isNil)(data) || data.startsWith('{')) {
			return '';
		}

		return data;
	};

	const handleCrateOpen = () => {
		if (!$openWithoutAnimation) {
			hideCratePreview();
		}

		onCrateOpenStart($openWithoutAnimation);
	};

	const startExitAnimation = () => {
		audio.play();

		if (!$openWithoutAnimation) {
			$$invalidate(1, exitAnimationStarted = true);
		} else {
			handleCrateOpen();
		}
	};

	const arrowsHandler = event => {
		switch (event.keyCode) {
			case 13:
				// enter
				startExitAnimation();
				break;
			default:
				break;
		}
	};

	const destroyInitAnimationRoulette = registerEvent('event.status.roulette.OpenAnimation', getCaseRouletteOpeningAnimation);

	onDestroy(() => {
		destroyInitAnimationRoulette();
	});

	const keydown_handler = event => arrowsHandler(event);

	$$self.$$set = $$props => {
		if ('crateInfo' in $$props) $$invalidate(0, crateInfo = $$props.crateInfo);
		if ('onCrateOpenStart' in $$props) $$invalidate(8, onCrateOpenStart = $$props.onCrateOpenStart);
		if ('hideCratePreview' in $$props) $$invalidate(9, hideCratePreview = $$props.hideCratePreview);
	};

	return [
		crateInfo,
		exitAnimationStarted,
		$openWithoutAnimation,
		toggleCaseOpeningAnimation,
		getItemData,
		handleCrateOpen,
		startExitAnimation,
		arrowsHandler,
		onCrateOpenStart,
		hideCratePreview,
		keydown_handler
	];
}

class Crate_preview extends SvelteComponent {
	constructor(options) {
		super();

		init(this, options, crate_preview_svelte_instance, crate_preview_svelte_create_fragment, safe_not_equal, {
			crateInfo: 0,
			onCrateOpenStart: 8,
			hideCratePreview: 9
		});
	}
}

/* harmony default export */ const crate_preview_svelte = (Crate_preview);
;// CONCATENATED MODULE: ./src/views/crate-roulette/index.svelte
/* src\views\crate-roulette\index.svelte generated by Svelte v3.49.0 */


const { window: crate_roulette_index_svelte_window_1 } = globals;













function crate_roulette_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[32] = list[i];
	child_ctx[34] = i;
	return child_ctx;
}

// (180:8) {#if rouletteItems}
function crate_roulette_index_svelte_create_if_block_2(ctx) {
	let each_1_anchor;
	let each_value = /*rouletteItems*/ ctx[4];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = crate_roulette_index_svelte_create_each_block(crate_roulette_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*rouletteItems, rouletteItemRef*/ 48) {
				each_value = /*rouletteItems*/ ctx[4];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = crate_roulette_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = crate_roulette_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		d(detaching) {
			destroy_each(each_blocks, detaching);
			if (detaching) detach(each_1_anchor);
		}
	};
}

// (181:12) {#each rouletteItems as item, index}
function crate_roulette_index_svelte_create_each_block(ctx) {
	let div1;
	let img;
	let img_src_value;
	let t0;
	let div0;
	let span0;
	let raw_value = /*item*/ ctx[32].description + "";
	let t1;
	let span1;
	let t2_value = /*item*/ ctx[32].name + "";
	let t2;
	let t3;
	let div1_class_value;

	return {
		c() {
			div1 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div0 = internal_element("div");
			span0 = internal_element("span");
			t1 = space();
			span1 = internal_element("span");
			t2 = internal_text(t2_value);
			t3 = space();
			attr(img, "class", "crate-item-preview__image");
			attr(img, "alt", "icon");
			if (!src_url_equal(img.src, img_src_value = getItemUrl(/*item*/ ctx[32].url))) attr(img, "src", img_src_value);
			attr(span0, "class", "crate-roulette__roulette-item-data");
			attr(span1, "class", "crate-roulette__roulette-item-name");
			attr(div0, "class", "crate-roulette__roulette-item-info");
			attr(div1, "class", div1_class_value = `crate-roulette__roulette-item crate-item-preview crate-item-preview--${ROULETTE_ITEM_RARITIES[/*item*/ ctx[32].rarity]}`);
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, img);
			append(div1, t0);
			append(div1, div0);
			append(div0, span0);
			span0.innerHTML = raw_value;
			append(div0, t1);
			append(div0, span1);
			append(span1, t2);
			append(div1, t3);
			/*div1_binding*/ ctx[15](div1);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*rouletteItems*/ 16 && !src_url_equal(img.src, img_src_value = getItemUrl(/*item*/ ctx[32].url))) {
				attr(img, "src", img_src_value);
			}

			if (dirty[0] & /*rouletteItems*/ 16 && raw_value !== (raw_value = /*item*/ ctx[32].description + "")) span0.innerHTML = raw_value;;
			if (dirty[0] & /*rouletteItems*/ 16 && t2_value !== (t2_value = /*item*/ ctx[32].name + "")) set_data(t2, t2_value);

			if (dirty[0] & /*rouletteItems*/ 16 && div1_class_value !== (div1_class_value = `crate-roulette__roulette-item crate-item-preview crate-item-preview--${ROULETTE_ITEM_RARITIES[/*item*/ ctx[32].rarity]}`)) {
				attr(div1, "class", div1_class_value);
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			/*div1_binding*/ ctx[15](null);
		}
	};
}

// (213:8) {:else}
function crate_roulette_index_svelte_create_else_block(ctx) {
	let cratepreview;
	let t;
	let div;
	let actionbutton;
	let current;

	cratepreview = new crate_preview_svelte({
			props: {
				crateInfo: /*crateInfo*/ ctx[1],
				onCrateOpenStart: /*handleCrateOpen*/ ctx[12],
				hideCratePreview: /*hideCratePreview*/ ctx[11]
			}
		});

	actionbutton = new index_svelte({
			props: {
				keyTitle: "Esc",
				postActionTitle: "закрыть",
				keyCode: ESCAPE_BUTTON_CODE,
				onPress: /*takePrizeAndExit*/ ctx[9]
			}
		});

	return {
		c() {
			create_component(cratepreview.$$.fragment);
			t = space();
			div = internal_element("div");
			create_component(actionbutton.$$.fragment);
			attr(div, "class", "roulette-exit-button");
		},
		m(target, anchor) {
			mount_component(cratepreview, target, anchor);
			insert(target, t, anchor);
			insert(target, div, anchor);
			mount_component(actionbutton, div, null);
			current = true;
		},
		p(ctx, dirty) {
			const cratepreview_changes = {};
			if (dirty[0] & /*crateInfo*/ 2) cratepreview_changes.crateInfo = /*crateInfo*/ ctx[1];
			cratepreview.$set(cratepreview_changes);
		},
		i(local) {
			if (current) return;
			transition_in(cratepreview.$$.fragment, local);
			transition_in(actionbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(cratepreview.$$.fragment, local);
			transition_out(actionbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(cratepreview, detaching);
			if (detaching) detach(t);
			if (detaching) detach(div);
			destroy_component(actionbutton);
		}
	};
}

// (206:8) {#if !cratePreviewOpened}
function crate_roulette_index_svelte_create_if_block_1(ctx) {
	let div0;
	let t0;
	let div1;

	return {
		c() {
			div0 = internal_element("div");
			t0 = space();
			div1 = internal_element("div");
			div1.innerHTML = `<p class="crate-roulette__opening-text">Идет открытие...</p>`;
			attr(div0, "class", "crate-roulette__item-arrow");
			attr(div1, "class", "crate-roulette__controls");
		},
		m(target, anchor) {
			insert(target, div0, anchor);
			insert(target, t0, anchor);
			insert(target, div1, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div0);
			if (detaching) detach(t0);
			if (detaching) detach(div1);
		}
	};
}

// (199:4) {#if prizeReceived}
function crate_roulette_index_svelte_create_if_block(ctx) {
	let prize;
	let current;

	prize = new prize_svelte({
			props: {
				item: /*selectedPrizeItem*/ ctx[0],
				takePrize: /*takePrizeAndExit*/ ctx[9],
				sellPrize: /*sellPrizeAndExit*/ ctx[10]
			}
		});

	return {
		c() {
			create_component(prize.$$.fragment);
		},
		m(target, anchor) {
			mount_component(prize, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const prize_changes = {};
			if (dirty[0] & /*selectedPrizeItem*/ 1) prize_changes.item = /*selectedPrizeItem*/ ctx[0];
			prize.$set(prize_changes);
		},
		i(local) {
			if (current) return;
			transition_in(prize.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(prize.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(prize, detaching);
		}
	};
}

function crate_roulette_index_svelte_create_fragment(ctx) {
	let div0;
	let t0;
	let div1;
	let t1;
	let div4;
	let div2;
	let t2;
	let div3;
	let div3_class_value;
	let t3;
	let current_block_type_index;
	let if_block1;
	let div4_class_value;
	let current;
	let mounted;
	let dispose;
	let if_block0 = /*rouletteItems*/ ctx[4] && crate_roulette_index_svelte_create_if_block_2(ctx);
	const if_block_creators = [crate_roulette_index_svelte_create_if_block, crate_roulette_index_svelte_create_if_block_1, crate_roulette_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (/*prizeReceived*/ ctx[3]) return 0;
		if (!/*cratePreviewOpened*/ ctx[2]) return 1;
		return 2;
	}

	current_block_type_index = select_block_type(ctx, [-1, -1]);
	if_block1 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div0 = internal_element("div");
			t0 = space();
			div1 = internal_element("div");
			t1 = space();
			div4 = internal_element("div");
			div2 = internal_element("div");
			t2 = space();
			div3 = internal_element("div");
			if (if_block0) if_block0.c();
			t3 = space();
			if_block1.c();
			attr(div0, "class", "crate-roulette-overlay");
			attr(div1, "class", "crate-roulette-background");
			attr(div2, "class", "crate-roulette-background-image");
			attr(div3, "style", /*rouletteStyle*/ ctx[7]);

			attr(div3, "class", div3_class_value = `crate-roulette__roulette${/*cratePreviewOpened*/ ctx[2] || /*prizeReceived*/ ctx[3]
			? ''
			: ' crate-roulette__roulette--active'}`);

			attr(div4, "class", div4_class_value = `crate-roulette crate-roulette--${/*crateInfo*/ ctx[1].sysName}`);
		},
		m(target, anchor) {
			insert(target, div0, anchor);
			insert(target, t0, anchor);
			insert(target, div1, anchor);
			insert(target, t1, anchor);
			insert(target, div4, anchor);
			append(div4, div2);
			append(div4, t2);
			append(div4, div3);
			if (if_block0) if_block0.m(div3, null);
			/*div3_binding*/ ctx[16](div3);
			append(div4, t3);
			if_blocks[current_block_type_index].m(div4, null);
			current = true;

			if (!mounted) {
				dispose = [
					listen(crate_roulette_index_svelte_window_1, "keydown", /*keydown_handler*/ ctx[14]),
					listen(div3, "transitionend", /*showPrize*/ ctx[8])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (/*rouletteItems*/ ctx[4]) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = crate_roulette_index_svelte_create_if_block_2(ctx);
					if_block0.c();
					if_block0.m(div3, null);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (!current || dirty[0] & /*rouletteStyle*/ 128) {
				attr(div3, "style", /*rouletteStyle*/ ctx[7]);
			}

			if (!current || dirty[0] & /*cratePreviewOpened, prizeReceived*/ 12 && div3_class_value !== (div3_class_value = `crate-roulette__roulette${/*cratePreviewOpened*/ ctx[2] || /*prizeReceived*/ ctx[3]
			? ''
			: ' crate-roulette__roulette--active'}`)) {
				attr(div3, "class", div3_class_value);
			}

			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block1 = if_blocks[current_block_type_index];

				if (!if_block1) {
					if_block1 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block1.c();
				} else {
					if_block1.p(ctx, dirty);
				}

				transition_in(if_block1, 1);
				if_block1.m(div4, null);
			}

			if (!current || dirty[0] & /*crateInfo*/ 2 && div4_class_value !== (div4_class_value = `crate-roulette crate-roulette--${/*crateInfo*/ ctx[1].sysName}`)) {
				attr(div4, "class", div4_class_value);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block1);
			current = true;
		},
		o(local) {
			transition_out(if_block1);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div0);
			if (detaching) detach(t0);
			if (detaching) detach(div1);
			if (detaching) detach(t1);
			if (detaching) detach(div4);
			if (if_block0) if_block0.d();
			/*div3_binding*/ ctx[16](null);
			if_blocks[current_block_type_index].d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function crate_roulette_index_svelte_instance($$self, $$props, $$invalidate) {
	let $openWithoutAnimation;
	component_subscribe($$self, openWithoutAnimation, $$value => $$invalidate(19, $openWithoutAnimation = $$value));
	let selectedPrizeItem = {};
	let crateInfo = {};
	let cratePreviewOpened = true;
	let prizeReceived = false;
	let crateAnimation = false;
	let rouletteItems;
	let rouletteItemRef;
	let rouletteRef;
	let rouletteSpinSoundTimerId = null;
	let rouletteStyle = '';
	const audio = new Audio(click_namespaceObject);

	const addPrizes = data => {
		crateInfo.items.push(data);
		$$invalidate(1, crateInfo);
	};

	const shuffleCrateItems = () => {
		$$invalidate(4, rouletteItems = Array(ROULETTE_ITEMS_COUNT).fill({}).map(() => crateInfo.items[_randomHelper(0, crateInfo.items.length)]));
	};

	const finishInitialize = () => {
		shuffleCrateItems();
	};

	const handleRouletteExit = () => {
		sendClientMessage('crate.roulette.exit');
	};

	const showPrize = () => {
		if (selectedPrizeItem) {
			$$invalidate(3, prizeReceived = true);
			$$invalidate(7, rouletteStyle += 'transition: none');
		}
	};

	const showPrizeButton = () => {
		if (selectedPrizeItem && $openWithoutAnimation === true) {
			showPrize();
		}
	};

	const takePrizeAndExit = () => {
		audio.play();
		sendClientMessage('crate.roulette.takePrize');
		handleRouletteExit();
	};

	const sellPrizeAndExit = () => {
		sendClientMessage('crate.roulette.sellPrize');
		handleRouletteExit();
	};

	const hideCratePreview = () => {
		$$invalidate(2, cratePreviewOpened = false);
	};

	const handleCrateOpen = (withoutAnimation = false) => {
		// onCreateOpen(3);
		sendClientMessage('crate.roulette.open');

		crateAnimation = withoutAnimation;
	};

	const onCreateOpen = winIndex => {
		$$invalidate(0, selectedPrizeItem = crateInfo.items[winIndex]);

		if (crateAnimation) {
			showPrize();
			return;
		}

		const selectedPrizeIndex = _randomHelper(ROULETTE_ITEMS_COUNT - 40, ROULETTE_ITEMS_COUNT - 15);
		$$invalidate(4, rouletteItems[selectedPrizeIndex] = selectedPrizeItem, rouletteItems);
		const itemStyle = getComputedStyle(rouletteItemRef);
		const itemMarginRight = parseFloat(itemStyle.marginRight);
		const itemWidth = parseFloat(itemStyle.width) + itemMarginRight;
		const halfWindowWidth = window.innerWidth / 2;
		let offset = itemWidth * selectedPrizeIndex - halfWindowWidth + itemWidth / 2 - itemMarginRight / 2;
		offset += _randomHelper(-itemWidth / 2 + 20, itemWidth / 2 - 20);
		$$invalidate(7, rouletteStyle = `transform: translateX(-${offset}px);`);
		let lastClickedItem = 0;

		// расстояние, которое нужно добавить для того, чтобы элемент помещался в левой половине экрана
		const itemCenterOffset = halfWindowWidth - parseInt(halfWindowWidth / itemWidth, 10) * itemWidth;

		rouletteSpinSoundTimerId = setInterval(
			() => {
				if (prizeReceived) {
					clearInterval(rouletteSpinSoundTimerId);
					return;
				}

				const currentItem = parseInt((rouletteRef.getBoundingClientRect().x - itemCenterOffset) / itemWidth, 10);

				if (currentItem !== lastClickedItem) {
					lastClickedItem = currentItem;
				} // executeClient("client.roulette.SpinTick")
			},
			50
		);
	};

	const arrowsHandler = event => {
		switch (event.keyCode) {
			case 13:
				// enter
				if (!cratePreviewOpened) {
					showPrizeButton();
				}
				break;
			default:
				break;
		}
	};

	const onInit = data => {
		$$invalidate(1, crateInfo = data);

		if (data && data.openOnInitialize) {
			hideCratePreview();
			handleCrateOpen(false);
		}
	};

	const destroyInitEvent = registerEvent('event.crate.roulette.initialize', onInit);
	const destroyCrateOpenEvent = registerEvent('event.crate.roulette.onCrateOpen', onCreateOpen);
	const destroyAddPrizesEvent = registerEvent('event.crate.roulette.addPrizes', addPrizes);
	const destroyFinishInitializeEvent = registerEvent('event.crate.roulette.finishInitialize', finishInitialize);

	onDestroy(() => {
		destroyInitEvent();
		destroyCrateOpenEvent();
		destroyAddPrizesEvent();
		destroyFinishInitializeEvent();
		clearInterval(rouletteSpinSoundTimerId);
	});

	const keydown_handler = event => arrowsHandler(event);

	function div1_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			rouletteItemRef = $$value;
			$$invalidate(5, rouletteItemRef);
		});
	}

	function div3_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			rouletteRef = $$value;
			$$invalidate(6, rouletteRef);
		});
	}

	return [
		selectedPrizeItem,
		crateInfo,
		cratePreviewOpened,
		prizeReceived,
		rouletteItems,
		rouletteItemRef,
		rouletteRef,
		rouletteStyle,
		showPrize,
		takePrizeAndExit,
		sellPrizeAndExit,
		hideCratePreview,
		handleCrateOpen,
		arrowsHandler,
		keydown_handler,
		div1_binding,
		div3_binding
	];
}

class Crate_roulette extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, crate_roulette_index_svelte_instance, crate_roulette_index_svelte_create_fragment, safe_not_equal, {}, null, [-1, -1]);
	}
}

/* harmony default export */ const crate_roulette_index_svelte = (Crate_roulette);
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/bpstock.png
const bpstock_namespaceObject = __webpack_require__.p + "assets/6db674b5936a50c2dce3.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/CARBON_RING.png
const CARBON_RING_namespaceObject = __webpack_require__.p + "assets/9ef029af8935b5fbe19f.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/CARBON_TWO.png
const CARBON_TWO_namespaceObject = __webpack_require__.p + "assets/d176871c761a59377794.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/CURSE.png
const CURSE_namespaceObject = __webpack_require__.p + "assets/06dfb14ceec8b6e3802c.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/DAYTONA.png
const DAYTONA_namespaceObject = __webpack_require__.p + "assets/37e4b4f0aea1aa241188.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/differentsial.png
const differentsial_namespaceObject = __webpack_require__.p + "assets/9f3c18799886ab600e3f.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/DOUBLE-V.png
const DOUBLE_V_namespaceObject = __webpack_require__.p + "assets/29054c1169e6be6fb30f.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/DUCKTAIL.png
const DUCKTAIL_namespaceObject = __webpack_require__.p + "assets/757829e24baffe96cc9c.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/dvoynoy-turbo.png
const dvoynoy_turbo_namespaceObject = __webpack_require__.p + "assets/cd48d78214e37b73e1ef.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/FOUR-SLOT.png
const FOUR_SLOT_namespaceObject = __webpack_require__.p + "assets/e0d48207853f7afb4eb3.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/front-left-light.png
const front_left_light_namespaceObject = __webpack_require__.p + "assets/a65597cb8a157daf71d6.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/front-left-window.png
const front_left_window_namespaceObject = __webpack_require__.p + "assets/89205a754b66e5b76382.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/front-right-light.png
const front_right_light_namespaceObject = __webpack_require__.p + "assets/7dd0bb9083ca04077119.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/front-right-window.png
const front_right_window_namespaceObject = __webpack_require__.p + "assets/2606172b93090d02c0ca.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/GRADIENT_STOCK.png
const GRADIENT_STOCK_namespaceObject = __webpack_require__.p + "assets/5757fe0866fe78ea2110.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/GRADIENT_TWO.png
const GRADIENT_TWO_namespaceObject = __webpack_require__.p + "assets/3b0782b90448ed78457b.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/GRID.png
const GRID_namespaceObject = __webpack_require__.p + "assets/3cd4447dc7156600b117.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/kolenval.png
const kolenval_namespaceObject = __webpack_require__.p + "assets/2956a66a010cd3b6ec6f.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/kpp.png
const kpp_namespaceObject = __webpack_require__.p + "assets/e5e6d5b1eb00b21bc239.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/nagnetatel.png
const nagnetatel_namespaceObject = __webpack_require__.p + "assets/b87153a2b8d54baa5333.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/none.png
const none_namespaceObject = __webpack_require__.p + "assets/477075f070a7b1132e58.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/okhlazhdenie.png
const okhlazhdenie_namespaceObject = __webpack_require__.p + "assets/19d92dfcba1c4bd1781f.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/podveska.png
const podveska_namespaceObject = __webpack_require__.p + "assets/846086f90fae12ae4a65.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/proshitvka.png
const proshitvka_namespaceObject = __webpack_require__.p + "assets/881c7c662d33291f6f63.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/pryamotok.png
const pryamotok_namespaceObject = __webpack_require__.p + "assets/0ac76195f60000165f3b.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/raspredval.png
const raspredval_namespaceObject = __webpack_require__.p + "assets/ba2ef640566eb98ff10e.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/REAPER.png
const REAPER_namespaceObject = __webpack_require__.p + "assets/a9045d3c9169f1c0f047.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/rear-left-light.png
const rear_left_light_namespaceObject = __webpack_require__.p + "assets/64d1fd9813e28ef92f64.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/rear-left-window.png
const rear_left_window_namespaceObject = __webpack_require__.p + "assets/2606172b93090d02c0ca.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/rear-right-light.png
const rear_right_light_namespaceObject = __webpack_require__.p + "assets/d7984faf80aaba7b824d.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/rear-right-window.png
const rear_right_window_namespaceObject = __webpack_require__.p + "assets/89205a754b66e5b76382.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/SPEEDLINE.png
const SPEEDLINE_namespaceObject = __webpack_require__.p + "assets/9ac34174f6d87f27296f.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/STOCK.png
const STOCK_namespaceObject = __webpack_require__.p + "assets/4ec535c04f43b1903981.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/STOCK1.png
const STOCK1_namespaceObject = __webpack_require__.p + "assets/5ef89d860c4128ad1905.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/stseplenie.png
const stseplenie_namespaceObject = __webpack_require__.p + "assets/3f224978937ba7f5ef75.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/tormoza.png
const tormoza_namespaceObject = __webpack_require__.p + "assets/7623afc81c6a6ecbbe1b.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/TREMOR.png
const TREMOR_namespaceObject = __webpack_require__.p + "assets/bf050b378af3fc7dfff4.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/turbokompressor.png
const turbokompressor_namespaceObject = __webpack_require__.p + "assets/afde69b2460abd9a1d8a.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/TWISTER.png
const TWISTER_namespaceObject = __webpack_require__.p + "assets/9d7fe57c9f2a4bd83c9d.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/vykhlop.png
const vykhlop_namespaceObject = __webpack_require__.p + "assets/ddcacf4002fc41acb346.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/wad0.png
const wad0_namespaceObject = __webpack_require__.p + "assets/ce9dc81e9c8c2d96e12b.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/wad1.png
const wad1_namespaceObject = __webpack_require__.p + "assets/ea228d295c3616ec06b0.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/wad10.png
const wad10_namespaceObject = __webpack_require__.p + "assets/5a3343478b3d58cb112c.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/wad11.png
const wad11_namespaceObject = __webpack_require__.p + "assets/1f57c10694fa58fb3c43.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/wad12.png
const wad12_namespaceObject = __webpack_require__.p + "assets/4eb65bd53731e5e0c982.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/wad13.png
const wad13_namespaceObject = __webpack_require__.p + "assets/5f14fd4c51d7460b4da2.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/wad14.png
const wad14_namespaceObject = __webpack_require__.p + "assets/21524dbdbd4edb608e4c.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/wad15.png
const wad15_namespaceObject = __webpack_require__.p + "assets/19acfb01ca63307d6280.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/wad16.png
const wad16_namespaceObject = __webpack_require__.p + "assets/641986f40fd36d87ee58.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/wad17.png
const wad17_namespaceObject = __webpack_require__.p + "assets/6192c64e8c4435099570.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/wad2.png
const wad2_namespaceObject = __webpack_require__.p + "assets/5da4581b3ad636b84bcc.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/wad3.png
const wad3_namespaceObject = __webpack_require__.p + "assets/fd0131daab7e3d2456b3.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/wad4.png
const wad4_namespaceObject = __webpack_require__.p + "assets/187bb512e31334f4b3d7.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/wad5.png
const wad5_namespaceObject = __webpack_require__.p + "assets/bc75aa8d6df9587b29ab.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/wad6.png
const wad6_namespaceObject = __webpack_require__.p + "assets/5547a02e8cb6f11b7670.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/wad7.png
const wad7_namespaceObject = __webpack_require__.p + "assets/5181344971a8979e67e4.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/wad8.png
const wad8_namespaceObject = __webpack_require__.p + "assets/0a20ffcffdd8ad5482c1.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/wad9.png
const wad9_namespaceObject = __webpack_require__.p + "assets/8d01799618736b349df3.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/wheel1.png
const wheel1_namespaceObject = __webpack_require__.p + "assets/da4fd80422c85cfff584.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/wheel10.png
const wheel10_namespaceObject = __webpack_require__.p + "assets/b85a5962f25291059b17.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/wheel11.png
const wheel11_namespaceObject = __webpack_require__.p + "assets/5184ff5d15bc32b770fa.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/wheel12.png
const wheel12_namespaceObject = __webpack_require__.p + "assets/5ff230dc1a8a021d31eb.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/wheel13.png
const wheel13_namespaceObject = __webpack_require__.p + "assets/8a068d5a3f2e473cba79.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/wheel14.png
const wheel14_namespaceObject = __webpack_require__.p + "assets/44cc411bd259cb7798a7.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/wheel15.png
const wheel15_namespaceObject = __webpack_require__.p + "assets/bec5de111192d4f145f1.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/wheel16.png
const wheel16_namespaceObject = __webpack_require__.p + "assets/6005d74683b0df0617ee.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/wheel17.png
const wheel17_namespaceObject = __webpack_require__.p + "assets/9d5480493f57e17dbd73.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/wheel2.png
const wheel2_namespaceObject = __webpack_require__.p + "assets/82864085d30dfbf57625.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/wheel3.png
const wheel3_namespaceObject = __webpack_require__.p + "assets/57cbc227a81117fd688d.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/wheel4.png
const wheel4_namespaceObject = __webpack_require__.p + "assets/5a670fcb864ac8ab7725.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/wheel5.png
const wheel5_namespaceObject = __webpack_require__.p + "assets/a7cff6c9fe6754ba7de1.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/wheel6.png
const wheel6_namespaceObject = __webpack_require__.p + "assets/c0b15e5f6295655dcca5.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/wheel7.png
const wheel7_namespaceObject = __webpack_require__.p + "assets/f8bfa0d7ecd0c07f7b7e.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/wheel8.png
const wheel8_namespaceObject = __webpack_require__.p + "assets/d8843eca5b3017bc62a8.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/wheel9.png
const wheel9_namespaceObject = __webpack_require__.p + "assets/c3ea22b9552b374ee504.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/windscreen.png
const windscreen_namespaceObject = __webpack_require__.p + "assets/683e46f1e81bbfeb0d15.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/windshield.png
const windshield_namespaceObject = __webpack_require__.p + "assets/c21620a807a37bcc65ab.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/exhaust_color_2.png
const exhaust_color_2_namespaceObject = __webpack_require__.p + "assets/e74776578b738f51c197.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/head_lights.png
const head_lights_namespaceObject = __webpack_require__.p + "assets/21524dbdbd4edb608e4c.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/roof.png
const roof_namespaceObject = __webpack_require__.p + "assets/bfacdd61423b1825d3bb.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/7171.png
const _7171_namespaceObject = __webpack_require__.p + "assets/7d24a4d70de6730637c8.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/7172.png
const _7172_namespaceObject = __webpack_require__.p + "assets/83045de22ed4d149f85d.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/7173.png
const _7173_namespaceObject = __webpack_require__.p + "assets/d0b02f9faa7f05f2a300.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/7174.png
const _7174_namespaceObject = __webpack_require__.p + "assets/247946b2521800a1bb33.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/7175.png
const _7175_namespaceObject = __webpack_require__.p + "assets/32cf434eb28bff6acabe.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/7176.png
const _7176_namespaceObject = __webpack_require__.p + "assets/3dfeb849f38d11f4c812.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/7177.png
const _7177_namespaceObject = __webpack_require__.p + "assets/9cf26807903abfd4753e.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/7178.png
const _7178_namespaceObject = __webpack_require__.p + "assets/1eb4c97f80faf51d818a.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/7179.png
const _7179_namespaceObject = __webpack_require__.p + "assets/398072886e94d9735e07.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/7180.png
const _7180_namespaceObject = __webpack_require__.p + "assets/2676f29b7c0d9fcbf8b7.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/7181.png
const _7181_namespaceObject = __webpack_require__.p + "assets/cc309c1ebb9b95e306f2.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/7182.png
const _7182_namespaceObject = __webpack_require__.p + "assets/fa08dda60b4fcaf9d602.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/7183.png
const _7183_namespaceObject = __webpack_require__.p + "assets/e04b2079d2b267798150.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/7184.png
const _7184_namespaceObject = __webpack_require__.p + "assets/219e7e766d4d37c5f283.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/7185.png
const _7185_namespaceObject = __webpack_require__.p + "assets/bcb7b76650e3ad204eb0.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/7186.png
const _7186_namespaceObject = __webpack_require__.p + "assets/91886d63bfbc41067b96.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/7187.png
const _7187_namespaceObject = __webpack_require__.p + "assets/620f4f77b84a2561d8dc.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/7188.png
const _7188_namespaceObject = __webpack_require__.p + "assets/bf8213ac794718fc907f.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/7189.png
const _7189_namespaceObject = __webpack_require__.p + "assets/b9d092f064b21f593bb7.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/7190.png
const _7190_namespaceObject = __webpack_require__.p + "assets/2d4d61696e382975710e.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/7191.png
const _7191_namespaceObject = __webpack_require__.p + "assets/8b1d294b3cefae7004ff.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/7192.png
const _7192_namespaceObject = __webpack_require__.p + "assets/6fa4d46492397088bbfc.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/7193.png
const _7193_namespaceObject = __webpack_require__.p + "assets/47a69cc681aaf8e93c2b.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/7194.png
const _7194_namespaceObject = __webpack_require__.p + "assets/138b75e2d18e7c1ea9da.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/7195.png
const _7195_namespaceObject = __webpack_require__.p + "assets/17c2b073bb6fa8198f3b.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/7196.png
const _7196_namespaceObject = __webpack_require__.p + "assets/8cdd612230656d8c459d.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/7197.png
const _7197_namespaceObject = __webpack_require__.p + "assets/669d9f5d72c5b9b82f93.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/img/gears/7198.png
const _7198_namespaceObject = __webpack_require__.p + "assets/73dbe7c8c3b6dcd44ff7.webp";
;// CONCATENATED MODULE: ./src/views/tuning-station/constant.js
function constant_typeof(o) { "@babel/helpers - typeof"; return constant_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, constant_typeof(o); }
function constant_defineProperty(e, r, t) { return (r = constant_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function constant_toPropertyKey(t) { var i = constant_toPrimitive(t, "string"); return "symbol" == constant_typeof(i) ? i : i + ""; }
function constant_toPrimitive(t, r) { if ("object" != constant_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != constant_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }












































































































var CategorySettings = {
  СomponentList: 'componentList',
  WheelsAlignment: 'sliderList',
  TintedWindow: 'tintedWindow',
  ColorList: 'colorList'
};
var NavigationZones = {
  Category: 'category',
  SubCategory: 'subcategory',
  Gear: 'gear'
};
var MAP_ZONE_TO_NEXT_ZONE = constant_defineProperty(constant_defineProperty(constant_defineProperty({}, NavigationZones.Category, NavigationZones.SubCategory), NavigationZones.SubCategory, NavigationZones.Gear), NavigationZones.Gear, NavigationZones.Gear);
var MAP_ZONE_TO_PREV_ZONE = constant_defineProperty(constant_defineProperty(constant_defineProperty({}, NavigationZones.Category, NavigationZones.Category), NavigationZones.SubCategory, NavigationZones.Category), NavigationZones.Gear, NavigationZones.SubCategory);
var MAP_NAME_TO_IMAGE = {
  'bpstock': bpstock_namespaceObject,
  'CARBON_RING': CARBON_RING_namespaceObject,
  'CARBON_TWO': CARBON_TWO_namespaceObject,
  'CURSE': CURSE_namespaceObject,
  'DAYTONA': DAYTONA_namespaceObject,
  'differentsial': differentsial_namespaceObject,
  'DOUBLE-V': DOUBLE_V_namespaceObject,
  'DUCKTAIL': DUCKTAIL_namespaceObject,
  'dvoynoy-turbo': dvoynoy_turbo_namespaceObject,
  'FOUR-SLOT': FOUR_SLOT_namespaceObject,
  'front-left-light': front_left_light_namespaceObject,
  'front-left-window': front_left_window_namespaceObject,
  'front-right-light': front_right_light_namespaceObject,
  'front-right-window': front_right_window_namespaceObject,
  'GRADIENT_STOCK': GRADIENT_STOCK_namespaceObject,
  'GRADIENT_TWO': GRADIENT_TWO_namespaceObject,
  'GRID': GRID_namespaceObject,
  'kolenval': kolenval_namespaceObject,
  'kpp': kpp_namespaceObject,
  'nagnetatel': nagnetatel_namespaceObject,
  'none': none_namespaceObject,
  'okhlazhdenie': okhlazhdenie_namespaceObject,
  'podveska': podveska_namespaceObject,
  'proshitvka': proshitvka_namespaceObject,
  'pryamotok': pryamotok_namespaceObject,
  'raspredval': raspredval_namespaceObject,
  'REAPER': REAPER_namespaceObject,
  'rear-left-light': rear_left_light_namespaceObject,
  'rear-left-window': rear_left_window_namespaceObject,
  'rear-right-light': rear_right_light_namespaceObject,
  'rear-right-window': rear_right_window_namespaceObject,
  'SPEEDLINE': SPEEDLINE_namespaceObject,
  'STOCK': STOCK_namespaceObject,
  'STOCK1': STOCK1_namespaceObject,
  'stseplenie': stseplenie_namespaceObject,
  'tormoza': tormoza_namespaceObject,
  'TREMOR': TREMOR_namespaceObject,
  'turbokompressor': turbokompressor_namespaceObject,
  'TWISTER': TWISTER_namespaceObject,
  'vykhlop': vykhlop_namespaceObject,
  'wad0': wad0_namespaceObject,
  'wad1': wad1_namespaceObject,
  'wad10': wad10_namespaceObject,
  'wad11': wad11_namespaceObject,
  'wad12': wad12_namespaceObject,
  'wad13': wad13_namespaceObject,
  'wad14': wad14_namespaceObject,
  'wad15': wad15_namespaceObject,
  'wad16': wad16_namespaceObject,
  'wad17': wad17_namespaceObject,
  'wad2': wad2_namespaceObject,
  'wad3': wad3_namespaceObject,
  'wad4': wad4_namespaceObject,
  'wad5': wad5_namespaceObject,
  'wad6': wad6_namespaceObject,
  'wad7': wad7_namespaceObject,
  'wad8': wad8_namespaceObject,
  'wad9': wad9_namespaceObject,
  'wheel1': wheel1_namespaceObject,
  'wheel10': wheel10_namespaceObject,
  'wheel11': wheel11_namespaceObject,
  'wheel12': wheel12_namespaceObject,
  'wheel13': wheel13_namespaceObject,
  'wheel14': wheel14_namespaceObject,
  'wheel15': wheel15_namespaceObject,
  'wheel16': wheel16_namespaceObject,
  'wheel17': wheel17_namespaceObject,
  'wheel2': wheel2_namespaceObject,
  'wheel3': wheel3_namespaceObject,
  'wheel4': wheel4_namespaceObject,
  'wheel5': wheel5_namespaceObject,
  'wheel6': wheel6_namespaceObject,
  'wheel7': wheel7_namespaceObject,
  'wheel8': wheel8_namespaceObject,
  'wheel9': wheel9_namespaceObject,
  'windscreen': windscreen_namespaceObject,
  'windshield': windshield_namespaceObject,
  'exhaust_color_2': exhaust_color_2_namespaceObject,
  'head_lights': head_lights_namespaceObject,
  'roof': roof_namespaceObject,
  '7171': _7171_namespaceObject,
  '7172': _7172_namespaceObject,
  '7173': _7173_namespaceObject,
  '7174': _7174_namespaceObject,
  '7175': _7175_namespaceObject,
  '7176': _7176_namespaceObject,
  '7177': _7177_namespaceObject,
  '7178': _7178_namespaceObject,
  '7179': _7179_namespaceObject,
  '7180': _7180_namespaceObject,
  '7181': _7181_namespaceObject,
  '7182': _7182_namespaceObject,
  '7183': _7183_namespaceObject,
  '7184': _7184_namespaceObject,
  '7185': _7185_namespaceObject,
  '7186': _7186_namespaceObject,
  '7187': _7187_namespaceObject,
  '7188': _7188_namespaceObject,
  '7189': _7189_namespaceObject,
  '7190': _7190_namespaceObject,
  '7191': _7191_namespaceObject,
  '7192': _7192_namespaceObject,
  '7193': _7193_namespaceObject,
  '7194': _7194_namespaceObject,
  '7195': _7195_namespaceObject,
  '7196': _7196_namespaceObject,
  '7197': _7197_namespaceObject,
  '7198': _7198_namespaceObject
};
var COLORS = [{
  id: 0,
  hex: '#000000ff'
}, {
  id: 1,
  hex: '#f5f5f5ff'
}, {
  id: 2,
  hex: '#2a77a1ff'
}, {
  id: 3,
  hex: '#840410ff'
}, {
  id: 4,
  hex: '#263739ff'
}, {
  id: 5,
  hex: '#86446eff'
}, {
  id: 6,
  hex: '#d78e10ff'
}, {
  id: 7,
  hex: '#4c75b7ff'
}, {
  id: 8,
  hex: '#bdbec6ff'
}, {
  id: 9,
  hex: '#5e7072ff'
}, {
  id: 10,
  hex: '#46597aff'
}, {
  id: 11,
  hex: '#656a79ff'
}, {
  id: 12,
  hex: '#5d7e8dff'
}, {
  id: 13,
  hex: '#58595aff'
}, {
  id: 14,
  hex: '#d6dad6ff'
}, {
  id: 15,
  hex: '#9ca1a3ff'
}, {
  id: 16,
  hex: '#335f3fff'
}, {
  id: 17,
  hex: '#730e1aff'
}, {
  id: 18,
  hex: '#7b0a2aff'
}, {
  id: 19,
  hex: '#9f9d94ff'
}, {
  id: 20,
  hex: '#3b4e78ff'
}, {
  id: 21,
  hex: '#732e3eff'
}, {
  id: 22,
  hex: '#691e3bff'
}, {
  id: 23,
  hex: '#96918cff'
}, {
  id: 24,
  hex: '#515459ff'
}, {
  id: 25,
  hex: '#3f3e45ff'
}, {
  id: 26,
  hex: '#a5a9a7ff'
}, {
  id: 27,
  hex: '#635c5aff'
}, {
  id: 28,
  hex: '#3d4a68ff'
}, {
  id: 29,
  hex: '#979592ff'
}, {
  id: 30,
  hex: '#421f21ff'
}, {
  id: 31,
  hex: '#5f272bff'
}, {
  id: 32,
  hex: '#8494abff'
}, {
  id: 33,
  hex: '#767b7cff'
}, {
  id: 34,
  hex: '#646464ff'
}, {
  id: 35,
  hex: '#5a5752ff'
}, {
  id: 36,
  hex: '#252527ff'
}, {
  id: 37,
  hex: '#2d3a35ff'
}, {
  id: 38,
  hex: '#93a396ff'
}, {
  id: 39,
  hex: '#6d7a88ff'
}, {
  id: 40,
  hex: '#221918ff'
}, {
  id: 41,
  hex: '#6f675fff'
}, {
  id: 42,
  value: 2082220799,
  hex: '#7c1c2aff'
}, {
  id: 43,
  hex: '#5f0a15ff'
}, {
  id: 44,
  hex: '#193826ff'
}, {
  id: 45,
  hex: '#5d1b20ff'
}, {
  id: 46,
  hex: '#9d9872ff'
}, {
  id: 47,
  hex: '#7a7560ff'
}, {
  id: 48,
  hex: '#989586ff'
}, {
  id: 49,
  hex: '#adb0b0ff'
}, {
  id: 50,
  hex: '#848988ff'
}, {
  id: 51,
  hex: '#304f45ff'
}, {
  id: 52,
  hex: '#4d6268ff'
}, {
  id: 53,
  hex: '#162248ff'
}, {
  id: 54,
  hex: '#272f4bff'
}, {
  id: 55,
  hex: '#7d6256ff'
}, {
  id: 56,
  hex: '#9ea4abff'
}, {
  id: 57,
  hex: '#9c8d71ff'
}, {
  id: 58,
  hex: '#6d1822ff'
}, {
  id: 59,
  hex: '#4e6881ff'
}, {
  id: 60,
  hex: '#9c9c98ff'
}, {
  id: 61,
  hex: '#917347ff'
}, {
  id: 62,
  hex: '#661c26ff'
}, {
  id: 63,
  hex: '#949d9fff'
}, {
  id: 64,
  hex: '#a4a7a5ff'
}, {
  id: 65,
  hex: '#8e8c46ff'
}, {
  id: 66,
  hex: '#341a1eff'
}, {
  id: 67,
  hex: '#6a7a8cff'
}, {
  id: 68,
  hex: '#aaad8eff'
}, {
  id: 69,
  hex: '#ab988fff'
}, {
  id: 70,
  hex: '#851f2eff'
}, {
  id: 71,
  hex: '#6f8297ff'
}, {
  id: 72,
  hex: '#585853ff'
}, {
  id: 73,
  hex: '#9aa790ff'
}, {
  id: 74,
  hex: '#601a23ff'
}, {
  id: 75,
  hex: '#20202cff'
}, {
  id: 76,
  hex: '#a4a096ff'
}, {
  id: 77,
  hex: '#aa9d84ff'
}, {
  id: 78,
  hex: '#78222bff'
}, {
  id: 79,
  hex: '#0e316dff'
}, {
  id: 80,
  hex: '#722a3fff'
}, {
  id: 81,
  hex: '#7b715eff'
}, {
  id: 82,
  hex: '#741d28ff'
}, {
  id: 83,
  hex: '#1e2e32ff'
}, {
  id: 84,
  hex: '#4d322fff'
}, {
  id: 85,
  hex: '#7c1b44ff'
}, {
  id: 86,
  hex: '#2e5b20ff'
}, {
  id: 87,
  hex: '#395a83ff'
}, {
  id: 88,
  hex: '#6d2837ff'
}, {
  id: 89,
  hex: '#a7a28fff'
}, {
  id: 90,
  hex: '#afb1b1ff'
}, {
  id: 91,
  hex: '#364155ff'
}, {
  id: 92,
  hex: '#6d6c6eff'
}, {
  id: 93,
  hex: '#0f6a89ff'
}, {
  id: 94,
  hex: '#204b6bff'
}, {
  id: 95,
  hex: '#2b3e57ff'
}, {
  id: 96,
  hex: '#9b9f9dff'
}, {
  id: 97,
  hex: '#6c8495ff'
}, {
  id: 98,
  hex: '#4d8495ff'
}, {
  id: 99,
  hex: '#ae9b7fff'
}, {
  id: 100,
  hex: '#406c8fff'
}, {
  id: 101,
  hex: '#1f253bff'
}, {
  id: 102,
  hex: '#ab9276ff'
}, {
  id: 103,
  hex: '#134573ff'
}, {
  id: 104,
  hex: '#96816cff'
}, {
  id: 105,
  hex: '#64686aff'
}, {
  id: 106,
  hex: '#105082ff'
}, {
  id: 107,
  hex: '#a19983ff'
}, {
  id: 108,
  hex: '#385694ff'
}, {
  id: 109,
  hex: '#525661ff'
}, {
  id: 110,
  hex: '#7f6956ff'
}, {
  id: 111,
  hex: '#8c929aff'
}, {
  id: 112,
  hex: '#596e87ff'
}, {
  id: 113,
  hex: '#473532ff'
}, {
  id: 114,
  hex: '#44624fff'
}, {
  id: 115,
  hex: '#730a27ff'
}, {
  id: 116,
  hex: '#223457ff'
}, {
  id: 117,
  hex: '#640d1bff'
}, {
  id: 118,
  hex: '#a3adc6ff'
}, {
  id: 119,
  hex: '#695853ff'
}, {
  id: 120,
  hex: '#9b8b80ff'
}, {
  id: 121,
  hex: '#620b1cff'
}, {
  id: 122,
  hex: '#5b5d5eff'
}, {
  id: 123,
  hex: '#624428ff'
}, {
  id: 124,
  hex: '#731827ff'
}, {
  id: 125,
  hex: '#1b376dff'
}, {
  id: 126,
  hex: '#ec6aaeff'
}, {
  id: 127,
  hex: '#000000ff'
}, {
  id: 128,
  hex: '#177517ff'
}, {
  id: 129,
  hex: '#210606ff'
}, {
  id: 130,
  hex: '#125478ff'
}, {
  id: 131,
  hex: '#452a0dff'
}, {
  id: 132,
  hex: '#571e1eff'
}, {
  id: 133,
  hex: '#010701ff'
}, {
  id: 134,
  hex: '#25225aff'
}, {
  id: 135,
  hex: '#2c89aaff'
}, {
  id: 136,
  hex: '#8a4dbdff'
}, {
  id: 137,
  hex: '#35963aff'
}, {
  id: 138,
  hex: '#b7b7b7ff'
}, {
  id: 139,
  hex: '#464c8dff'
}, {
  id: 140,
  hex: '#84888cff'
}, {
  id: 141,
  hex: '#817867ff'
}, {
  id: 142,
  hex: '#817a26ff'
}, {
  id: 143,
  hex: '#6a506fff'
}, {
  id: 144,
  hex: '#583e6fff'
}, {
  id: 145,
  hex: '#8cb972ff'
}, {
  id: 146,
  hex: '#824f78ff'
}, {
  id: 147,
  hex: '#6d276aff'
}, {
  id: 148,
  hex: '#1e1d13ff'
}, {
  id: 149,
  hex: '#1e1306ff'
}, {
  id: 150,
  hex: '#1f2518ff'
}, {
  id: 151,
  hex: '#2c4531ff'
}, {
  id: 152,
  hex: '#1e4c99ff'
}, {
  id: 153,
  hex: '#2e5f43ff'
}, {
  id: 154,
  hex: '#1e9948ff'
}, {
  id: 155,
  hex: '#1e9999ff'
}, {
  id: 156,
  hex: '#999976ff'
}, {
  id: 157,
  hex: '#7c8499ff'
}, {
  id: 158,
  hex: '#992e1eff'
}, {
  id: 159,
  hex: '#2c1e08ff'
}, {
  id: 160,
  hex: '#142407ff'
}, {
  id: 161,
  hex: '#993e4dff'
}, {
  id: 162,
  hex: '#1e4c99ff'
}, {
  id: 163,
  hex: '#198181ff'
}, {
  id: 164,
  hex: '#1a292aff'
}, {
  id: 165,
  hex: '#16616fff'
}, {
  id: 166,
  hex: '#1b6687ff'
}, {
  id: 167,
  hex: '#6c3f99ff'
}, {
  id: 168,
  hex: '#481a0eff'
}, {
  id: 169,
  hex: '#7a7399ff'
}, {
  id: 170,
  hex: '#746d99ff'
}, {
  id: 171,
  hex: '#53387eff'
}, {
  id: 172,
  hex: '#222407ff'
}, {
  id: 173,
  hex: '#3e190cff'
}, {
  id: 174,
  hex: '#46210eff'
}, {
  id: 175,
  hex: '#991e1eff'
}, {
  id: 176,
  hex: '#8d4c8dff'
}, {
  id: 177,
  hex: '#805b80ff'
}, {
  id: 178,
  hex: '#7b3e7eff'
}, {
  id: 179,
  hex: '#3c1737ff'
}, {
  id: 180,
  hex: '#733517ff'
}, {
  id: 181,
  hex: '#781818ff'
}, {
  id: 182,
  hex: '#83341aff'
}, {
  id: 183,
  hex: '#8e2f1cff'
}, {
  id: 184,
  value: 2118013951,
  hex: '#7e3e53ff'
}, {
  id: 185,
  hex: '#7c6d7cff'
}, {
  id: 186,
  hex: '#020c02ff'
}, {
  id: 187,
  hex: '#072407ff'
}, {
  id: 188,
  hex: '#163012ff'
}, {
  id: 189,
  hex: '#16301bff'
}, {
  id: 190,
  hex: '#642b4fff'
}, {
  id: 191,
  hex: '#368452ff'
}, {
  id: 192,
  hex: '#999590ff'
}, {
  id: 193,
  hex: '#818d96ff'
}, {
  id: 194,
  hex: '#99991eff'
}, {
  id: 195,
  hex: '#7f994cff'
}, {
  id: 196,
  hex: '#839292ff'
}, {
  id: 197,
  hex: '#788222ff'
}, {
  id: 198,
  hex: '#2b3c99ff'
}, {
  id: 199,
  hex: '#3a3a0bff'
}, {
  id: 200,
  hex: '#8a794eff'
}, {
  id: 201,
  hex: '#0e1f49ff'
}, {
  id: 202,
  hex: '#15371cff'
}, {
  id: 203,
  hex: '#15273aff'
}, {
  id: 204,
  hex: '#375775ff'
}, {
  id: 205,
  hex: '#060820ff'
}, {
  id: 206,
  hex: '#071326ff'
}, {
  id: 207,
  hex: '#20394bff'
}, {
  id: 208,
  hex: '#2c5089ff'
}, {
  id: 209,
  hex: '#15426cff'
}, {
  id: 210,
  hex: '#103250ff'
}, {
  id: 211,
  hex: '#241663ff'
}, {
  id: 212,
  hex: '#692015ff'
}, {
  id: 213,
  hex: '#8c8d94ff'
}, {
  id: 214,
  hex: '#516013ff'
}, {
  id: 215,
  hex: '#090f02ff'
}, {
  id: 216,
  hex: '#8c573aff'
}, {
  id: 217,
  hex: '#52888eff'
}, {
  id: 218,
  hex: '#995c52ff'
}, {
  id: 219,
  hex: '#99581eff'
}, {
  id: 220,
  hex: '#993a63ff'
}, {
  id: 221,
  hex: '#998f4eff'
}, {
  id: 222,
  hex: '#99311eff'
}, {
  id: 223,
  hex: '#0d1842ff'
}, {
  id: 224,
  hex: '#521e1eff'
}, {
  id: 225,
  hex: '#42420dff'
}, {
  id: 226,
  hex: '#4c991eff'
}, {
  id: 227,
  hex: '#082a1dff'
}, {
  id: 228,
  hex: '#96821dff'
}, {
  id: 229,
  hex: '#197f19ff'
}, {
  id: 230,
  hex: '#3b141fff'
}, {
  id: 231,
  hex: '#745217ff'
}, {
  id: 232,
  hex: '#893f8dff'
}, {
  id: 233,
  hex: '#7e1a6cff'
}, {
  id: 234,
  hex: '#0b370bff'
}, {
  id: 235,
  hex: '#27450dff'
}, {
  id: 236,
  hex: '#071f24ff'
}, {
  id: 237,
  hex: '#784573ff'
}, {
  id: 238,
  value: 2321890047,
  hex: '#8a653aff'
}, {
  id: 239,
  hex: '#732617ff'
}, {
  id: 240,
  hex: '#319490ff'
}, {
  id: 241,
  hex: '#56941dff'
}, {
  id: 242,
  hex: '#59163dff'
}, {
  id: 243,
  hex: '#1b8a2fff'
}, {
  id: 244,
  hex: '#38160bff'
}, {
  id: 245,
  hex: '#041804ff'
}, {
  id: 246,
  hex: '#355d8eff'
}, {
  id: 247,
  hex: '#2e3f5bff'
}, {
  id: 248,
  hex: '#561a28ff'
}, {
  id: 249,
  hex: '#4e0e27ff'
}, {
  id: 250,
  hex: '#706c67ff'
}, {
  id: 251,
  hex: '#3b3e42ff'
}, {
  id: 252,
  hex: '#2e2d33ff'
}, {
  id: 253,
  hex: '#7b7e7dff'
}, {
  id: 254,
  hex: '#4a4442ff'
}, {
  id: 255,
  hex: '#28344eff'
}];
;// CONCATENATED MODULE: ./src/views/tuning-station/components/tuning-gear-item/index.svelte
/* src\views\tuning-station\components\tuning-gear-item\index.svelte generated by Svelte v3.49.0 */








function tuning_gear_item_index_svelte_create_if_block_6(ctx) {
	let div1;
	let div0;
	let t_value = /*gear*/ ctx[0].header + "";
	let t;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			t = internal_text(t_value);
			attr(div0, "class", "tuning-gear-item__badge");
			set_style(div0, "--tag-color", /*intToRGBA*/ ctx[5](/*gear*/ ctx[0].color));
			set_style(div0, "color", /*gear*/ ctx[0].color === -1 ? '#000' : '#FFF');
			attr(div1, "class", "tuning-gear-item__badges");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, t);
		},
		p(ctx, dirty) {
			if (dirty & /*gear*/ 1 && t_value !== (t_value = /*gear*/ ctx[0].header + "")) set_data(t, t_value);

			if (dirty & /*gear*/ 1) {
				set_style(div0, "--tag-color", /*intToRGBA*/ ctx[5](/*gear*/ ctx[0].color));
			}

			if (dirty & /*gear*/ 1) {
				set_style(div0, "color", /*gear*/ ctx[0].color === -1 ? '#000' : '#FFF');
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (45:12) {#if gear.inCart}
function tuning_gear_item_index_svelte_create_if_block_5(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");

			div.innerHTML = `<i class="tuning-gear-item__in-cart-icon ui-cart"></i> 
                    <span class="tuning-gear-item__in-cart-text">В корзине</span>`;

			attr(div, "class", "tuning-gear-item__in-cart");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (59:16) {:else}
function tuning_gear_item_index_svelte_create_else_block(ctx) {
	let span0;
	let t1;
	let span1;

	return {
		c() {
			span0 = internal_element("span");
			span0.textContent = "$";
			t1 = space();
			span1 = internal_element("span");
			span1.textContent = "Нет в продаже";
			attr(span0, "class", "tuning-gear-item__icon tuning-gear-item__icon--unavailable");
			attr(span1, "class", "tuning-gear-item__text tuning-gear-item__text--unavailable");
		},
		m(target, anchor) {
			insert(target, span0, anchor);
			insert(target, t1, anchor);
			insert(target, span1, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(span0);
			if (detaching) detach(t1);
			if (detaching) detach(span1);
		}
	};
}

// (56:41) 
function tuning_gear_item_index_svelte_create_if_block_4(ctx) {
	let span0;
	let t1;
	let span1;
	let t2_value = formatMoney(/*gear*/ ctx[0].price) + "";
	let t2;

	return {
		c() {
			span0 = internal_element("span");
			span0.textContent = "$";
			t1 = space();
			span1 = internal_element("span");
			t2 = internal_text(t2_value);
			attr(span0, "class", "tuning-gear-item__icon tuning-gear-item__icon--dollar");
			attr(span1, "class", "tuning-gear-item__text");
		},
		m(target, anchor) {
			insert(target, span0, anchor);
			insert(target, t1, anchor);
			insert(target, span1, anchor);
			append(span1, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*gear*/ 1 && t2_value !== (t2_value = formatMoney(/*gear*/ ctx[0].price) + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(span0);
			if (detaching) detach(t1);
			if (detaching) detach(span1);
		}
	};
}

// (53:16) {#if gear.installed}
function tuning_gear_item_index_svelte_create_if_block_3(ctx) {
	let i;
	let t0;
	let span;

	return {
		c() {
			i = internal_element("i");
			t0 = space();
			span = internal_element("span");
			span.textContent = "Установлено";
			attr(i, "class", "tuning-gear-item__icon tuning-gear-item__icon--installed ui-installed");
			attr(span, "class", "tuning-gear-item__text tuning-gear-item__text--installed");
		},
		m(target, anchor) {
			insert(target, i, anchor);
			insert(target, t0, anchor);
			insert(target, span, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(i);
			if (detaching) detach(t0);
			if (detaching) detach(span);
		}
	};
}

// (67:4) {#if active}
function tuning_gear_item_index_svelte_create_if_block(ctx) {
	let if_block_anchor;

	function select_block_type_1(ctx, dirty) {
		if (/*gear*/ ctx[0].available && !/*gear*/ ctx[0].inCart && !/*gear*/ ctx[0].installed) return tuning_gear_item_index_svelte_create_if_block_1;
		if (/*gear*/ ctx[0].available && /*gear*/ ctx[0].inCart && !/*gear*/ ctx[0].installed) return tuning_gear_item_index_svelte_create_if_block_2;
	}

	let current_block_type = select_block_type_1(ctx, -1);
	let if_block = current_block_type && current_block_type(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
		},
		p(ctx, dirty) {
			if (current_block_type === (current_block_type = select_block_type_1(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if (if_block) if_block.d(1);
				if_block = current_block_type && current_block_type(ctx);

				if (if_block) {
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			}
		},
		i(local) {
			transition_in(if_block);
		},
		o: internal_noop,
		d(detaching) {
			if (if_block) {
				if_block.d(detaching);
			}

			if (detaching) detach(if_block_anchor);
		}
	};
}

// (70:67) 
function tuning_gear_item_index_svelte_create_if_block_2(ctx) {
	let div;
	let div_intro;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "Удалить из корзины";
			attr(div, "class", "tuning-gear-item__button tuning-gear-item__button--remove");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = listen(div, "click", function () {
					if (internal_is_function(/*removeFromCart*/ ctx[4])) /*removeFromCart*/ ctx[4].apply(this, arguments);
				});

				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
		},
		i(local) {
			if (!div_intro) {
				add_render_callback(() => {
					div_intro = create_in_transition(div, fade, {});
					div_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (68:8) {#if gear.available && !gear.inCart && !gear.installed}
function tuning_gear_item_index_svelte_create_if_block_1(ctx) {
	let div;
	let div_intro;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "Добавить в корзину";
			attr(div, "class", "tuning-gear-item__button");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = listen(div, "click", function () {
					if (internal_is_function(/*addToCart*/ ctx[3])) /*addToCart*/ ctx[3].apply(this, arguments);
				});

				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
		},
		i(local) {
			if (!div_intro) {
				add_render_callback(() => {
					div_intro = create_in_transition(div, fade, {});
					div_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

function tuning_gear_item_index_svelte_create_fragment(ctx) {
	let div4;
	let div3;
	let show_if = !(0,lodash.isEmpty)(/*gear*/ ctx[0].header);
	let t0;
	let div0;
	let img;
	let img_src_value;
	let t1;
	let div2;
	let t2;
	let span;
	let t3_value = /*gear*/ ctx[0].name + "";
	let t3;
	let t4;
	let div1;
	let t5;
	let mounted;
	let dispose;
	let if_block0 = show_if && tuning_gear_item_index_svelte_create_if_block_6(ctx);
	let if_block1 = /*gear*/ ctx[0].inCart && tuning_gear_item_index_svelte_create_if_block_5(ctx);

	function select_block_type(ctx, dirty) {
		if (/*gear*/ ctx[0].installed) return tuning_gear_item_index_svelte_create_if_block_3;
		if (/*gear*/ ctx[0].available) return tuning_gear_item_index_svelte_create_if_block_4;
		return tuning_gear_item_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block2 = current_block_type(ctx);
	let if_block3 = /*active*/ ctx[1] && tuning_gear_item_index_svelte_create_if_block(ctx);

	return {
		c() {
			div4 = internal_element("div");
			div3 = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			div0 = internal_element("div");
			img = internal_element("img");
			t1 = space();
			div2 = internal_element("div");
			if (if_block1) if_block1.c();
			t2 = space();
			span = internal_element("span");
			t3 = internal_text(t3_value);
			t4 = space();
			div1 = internal_element("div");
			if_block2.c();
			t5 = space();
			if (if_block3) if_block3.c();
			if (!src_url_equal(img.src, img_src_value = MAP_NAME_TO_IMAGE[/*gear*/ ctx[0].icon.split('.')[0]])) attr(img, "src", img_src_value);
			attr(img, "alt", "gear-icon");
			attr(img, "class", "tuning-gear-item__image");
			attr(div0, "class", "tuning-gear-item__image-wrapper");
			attr(span, "class", "tuning-gear-item__name");
			attr(div1, "class", "tuning-gear-item__price-wrapper");
			attr(div2, "class", "tuning-gear-item__text-wrapper");
			attr(div3, "class", "tuning-gear-item__content");
			set_style(div3, "--rare-color", /*gear*/ ctx[0].color || 'rgba(255, 255, 255, 0.3)');
			toggle_class(div3, "tuning-gear-item__content--active", /*active*/ ctx[1]);
			toggle_class(div3, "tuning-gear-item__content--installed", /*gear*/ ctx[0].installed);
			toggle_class(div3, "tuning-gear-item__content--available", /*gear*/ ctx[0].available && !/*gear*/ ctx[0].installed);
			toggle_class(div3, "tuning-gear-item__content--unavailable", !/*gear*/ ctx[0].unavailable);
			toggle_class(div3, "tuning-gear-item__content--in-cart", /*gear*/ ctx[0].inCart);
			attr(div4, "class", "tuning-gear-item");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div3);
			if (if_block0) if_block0.m(div3, null);
			append(div3, t0);
			append(div3, div0);
			append(div0, img);
			append(div3, t1);
			append(div3, div2);
			if (if_block1) if_block1.m(div2, null);
			append(div2, t2);
			append(div2, span);
			append(span, t3);
			append(div2, t4);
			append(div2, div1);
			if_block2.m(div1, null);
			append(div4, t5);
			if (if_block3) if_block3.m(div4, null);

			if (!mounted) {
				dispose = listen(div3, "click", function () {
					if (internal_is_function(/*select*/ ctx[2])) /*select*/ ctx[2].apply(this, arguments);
				});

				mounted = true;
			}
		},
		p(new_ctx, [dirty]) {
			ctx = new_ctx;
			if (dirty & /*gear*/ 1) show_if = !(0,lodash.isEmpty)(/*gear*/ ctx[0].header);

			if (show_if) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = tuning_gear_item_index_svelte_create_if_block_6(ctx);
					if_block0.c();
					if_block0.m(div3, t0);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty & /*gear*/ 1 && !src_url_equal(img.src, img_src_value = MAP_NAME_TO_IMAGE[/*gear*/ ctx[0].icon.split('.')[0]])) {
				attr(img, "src", img_src_value);
			}

			if (/*gear*/ ctx[0].inCart) {
				if (if_block1) {
					
				} else {
					if_block1 = tuning_gear_item_index_svelte_create_if_block_5(ctx);
					if_block1.c();
					if_block1.m(div2, t2);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty & /*gear*/ 1 && t3_value !== (t3_value = /*gear*/ ctx[0].name + "")) set_data(t3, t3_value);

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block2) {
				if_block2.p(ctx, dirty);
			} else {
				if_block2.d(1);
				if_block2 = current_block_type(ctx);

				if (if_block2) {
					if_block2.c();
					if_block2.m(div1, null);
				}
			}

			if (dirty & /*gear*/ 1) {
				set_style(div3, "--rare-color", /*gear*/ ctx[0].color || 'rgba(255, 255, 255, 0.3)');
			}

			if (dirty & /*active*/ 2) {
				toggle_class(div3, "tuning-gear-item__content--active", /*active*/ ctx[1]);
			}

			if (dirty & /*gear*/ 1) {
				toggle_class(div3, "tuning-gear-item__content--installed", /*gear*/ ctx[0].installed);
			}

			if (dirty & /*gear*/ 1) {
				toggle_class(div3, "tuning-gear-item__content--available", /*gear*/ ctx[0].available && !/*gear*/ ctx[0].installed);
			}

			if (dirty & /*gear*/ 1) {
				toggle_class(div3, "tuning-gear-item__content--unavailable", !/*gear*/ ctx[0].unavailable);
			}

			if (dirty & /*gear*/ 1) {
				toggle_class(div3, "tuning-gear-item__content--in-cart", /*gear*/ ctx[0].inCart);
			}

			if (/*active*/ ctx[1]) {
				if (if_block3) {
					if_block3.p(ctx, dirty);

					if (dirty & /*active*/ 2) {
						transition_in(if_block3, 1);
					}
				} else {
					if_block3 = tuning_gear_item_index_svelte_create_if_block(ctx);
					if_block3.c();
					transition_in(if_block3, 1);
					if_block3.m(div4, null);
				}
			} else if (if_block3) {
				if_block3.d(1);
				if_block3 = null;
			}
		},
		i(local) {
			transition_in(if_block3);
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div4);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			if_block2.d();
			if (if_block3) if_block3.d();
			mounted = false;
			dispose();
		}
	};
}

function tuning_gear_item_index_svelte_instance($$self, $$props, $$invalidate) {
	let { gear = {} } = $$props;
	let { active = false } = $$props;

	let { select = () => {
		
	} } = $$props;

	let { addToCart = () => {
		
	} } = $$props;

	let { removeFromCart = () => {
		
	} } = $$props;

	const intToRGBA = num => {
		let cachedNum = num;

		/* eslint-disable no-bitwise */
		cachedNum >>>= 0;

		const r = (cachedNum & 0xFF000000) >>> 24;
		const g = (cachedNum & 0xFF0000) >>> 16;
		const b = (cachedNum & 0xFF00) >>> 8;
		const a = cachedNum & 0xFF / 255;
		return `rgba(${r}, ${g}, ${b}, ${a})`;
	}; /* eslint-enable no-bitwise */

	$$self.$$set = $$props => {
		if ('gear' in $$props) $$invalidate(0, gear = $$props.gear);
		if ('active' in $$props) $$invalidate(1, active = $$props.active);
		if ('select' in $$props) $$invalidate(2, select = $$props.select);
		if ('addToCart' in $$props) $$invalidate(3, addToCart = $$props.addToCart);
		if ('removeFromCart' in $$props) $$invalidate(4, removeFromCart = $$props.removeFromCart);
	};

	return [gear, active, select, addToCart, removeFromCart, intToRGBA];
}

class Tuning_gear_item extends SvelteComponent {
	constructor(options) {
		super();

		init(this, options, tuning_gear_item_index_svelte_instance, tuning_gear_item_index_svelte_create_fragment, safe_not_equal, {
			gear: 0,
			active: 1,
			select: 2,
			addToCart: 3,
			removeFromCart: 4
		});
	}
}

/* harmony default export */ const tuning_gear_item_index_svelte = (Tuning_gear_item);
;// CONCATENATED MODULE: ./src/views/tuning-station/components/cart/index.svelte
/* src\views\tuning-station\components\cart\index.svelte generated by Svelte v3.49.0 */









function cart_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[7] = list[i];
	return child_ctx;
}

// (44:12) {#each cart as item}
function cart_index_svelte_create_each_block(ctx) {
	let div;
	let span0;
	let t0_value = /*item*/ ctx[7].name + "";
	let t0;
	let t1;
	let span1;
	let t3;
	let span2;
	let t4_value = formatMoney(/*item*/ ctx[7].price) + "";
	let t4;
	let t5;
	let i;
	let t6;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[6](/*item*/ ctx[7]);
	}

	return {
		c() {
			div = internal_element("div");
			span0 = internal_element("span");
			t0 = internal_text(t0_value);
			t1 = space();
			span1 = internal_element("span");
			span1.textContent = "$";
			t3 = space();
			span2 = internal_element("span");
			t4 = internal_text(t4_value);
			t5 = space();
			i = internal_element("i");
			t6 = space();
			attr(span0, "class", "tuning-station-cart__item-name");
			attr(span1, "class", "tuning-station-cart__item-dollar");
			attr(span2, "class", "tuning-station-cart__item-price");
			attr(i, "class", "tuning-station-cart__item-icon ui-trash");
			attr(div, "class", "tuning-station-cart__item");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, span0);
			append(span0, t0);
			append(div, t1);
			append(div, span1);
			append(div, t3);
			append(div, span2);
			append(span2, t4);
			append(div, t5);
			append(div, i);
			append(div, t6);

			if (!mounted) {
				dispose = listen(i, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if (dirty & /*cart*/ 1 && t0_value !== (t0_value = /*item*/ ctx[7].name + "")) set_data(t0, t0_value);
			if (dirty & /*cart*/ 1 && t4_value !== (t4_value = formatMoney(/*item*/ ctx[7].price) + "")) set_data(t4, t4_value);
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

function cart_index_svelte_create_fragment(ctx) {
	let div11;
	let div0;
	let t0;
	let div1;
	let actionbutton;
	let t1;
	let div10;
	let div4;
	let div2;
	let t5;
	let div3;
	let t8;
	let div5;
	let t9;
	let div9;
	let div7;
	let div6;
	let span1;
	let t11;
	let span2;
	let t12_value = formatMoney(/*total*/ ctx[1]) + "";
	let t12;
	let t13;
	let span3;
	let t15;
	let div8;
	let span4;
	let div11_transition;
	let current;
	let mounted;
	let dispose;

	actionbutton = new index_svelte({
			props: {
				keyTitle: "Esc",
				keyCode: 27,
				postActionTitle: "Вернуться назад",
				onPress: /*closeCart*/ ctx[2]
			}
		});

	let each_value = /*cart*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = cart_index_svelte_create_each_block(cart_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div11 = internal_element("div");
			div0 = internal_element("div");
			t0 = space();
			div1 = internal_element("div");
			create_component(actionbutton.$$.fragment);
			t1 = space();
			div10 = internal_element("div");
			div4 = internal_element("div");
			div2 = internal_element("div");

			div2.innerHTML = `<p class="tuning-station-cart__title">Корзина</p> 
                <p class="tuning-station-cart__sub-title">Ваши актуальные покупки</p>`;

			t5 = space();
			div3 = internal_element("div");

			div3.innerHTML = `<i class="tuning-station-cart__remove-all-icon ui-trash"></i> 
                <span class="tuning-station-cart__remove-all-text">Очистить корзину</span>`;

			t8 = space();
			div5 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t9 = space();
			div9 = internal_element("div");
			div7 = internal_element("div");
			div6 = internal_element("div");
			span1 = internal_element("span");
			span1.textContent = "$";
			t11 = space();
			span2 = internal_element("span");
			t12 = internal_text(t12_value);
			t13 = space();
			span3 = internal_element("span");
			span3.textContent = "Итого к оплате";
			t15 = space();
			div8 = internal_element("div");
			span4 = internal_element("span");
			span4.textContent = "Купить";
			attr(div0, "class", "tuning-station-cart__fast-colse");
			attr(div1, "class", "tuning-station-cart__close-cart");
			attr(div2, "class", "tuning-station-cart__title-wrapper");
			attr(div3, "class", "tuning-station-cart__remove-all-button");
			attr(div4, "class", "tuning-station-cart__header");
			attr(div5, "class", "tuning-station-cart__items-list");
			attr(span1, "class", "tuning-station-cart__total-dollar");
			attr(span2, "class", "tuning-station-cart__total-value");
			attr(div6, "class", "tuning-station-cart__total");
			attr(span3, "class", "tuning-station-cart__total-caption");
			attr(div7, "class", "tuning-station-cart__total-value-wrapper");
			attr(span4, "class", "tuning-station-cart__purchase");
			attr(div8, "class", "tuning-station-cart__purchase-wrapper");
			attr(div9, "class", "tuning-station-cart__total-wrapper");
			attr(div10, "class", "tuning-station-cart__content");
			attr(div11, "class", "tuning-station-cart");
		},
		m(target, anchor) {
			insert(target, div11, anchor);
			append(div11, div0);
			append(div11, t0);
			append(div11, div1);
			mount_component(actionbutton, div1, null);
			append(div11, t1);
			append(div11, div10);
			append(div10, div4);
			append(div4, div2);
			append(div4, t5);
			append(div4, div3);
			append(div10, t8);
			append(div10, div5);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div5, null);
			}

			append(div10, t9);
			append(div10, div9);
			append(div9, div7);
			append(div7, div6);
			append(div6, span1);
			append(div6, t11);
			append(div6, span2);
			append(span2, t12);
			append(div7, t13);
			append(div7, span3);
			append(div9, t15);
			append(div9, div8);
			append(div8, span4);
			current = true;

			if (!mounted) {
				dispose = [
					listen(div0, "click", function () {
						if (internal_is_function(/*closeCart*/ ctx[2])) /*closeCart*/ ctx[2].apply(this, arguments);
					}),
					listen(div3, "click", function () {
						if (internal_is_function(/*clearCart*/ ctx[3])) /*clearCart*/ ctx[3].apply(this, arguments);
					}),
					listen(span4, "click", /*completePurchasing*/ ctx[5])
				];

				mounted = true;
			}
		},
		p(new_ctx, [dirty]) {
			ctx = new_ctx;
			const actionbutton_changes = {};
			if (dirty & /*closeCart*/ 4) actionbutton_changes.onPress = /*closeCart*/ ctx[2];
			actionbutton.$set(actionbutton_changes);

			if (dirty & /*removeFromCart, cart, formatMoney*/ 17) {
				each_value = /*cart*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = cart_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = cart_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div5, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if ((!current || dirty & /*total*/ 2) && t12_value !== (t12_value = formatMoney(/*total*/ ctx[1]) + "")) set_data(t12, t12_value);
		},
		i(local) {
			if (current) return;
			transition_in(actionbutton.$$.fragment, local);

			add_render_callback(() => {
				if (!div11_transition) div11_transition = create_bidirectional_transition(div11, fly, { duration: 200 }, true);
				div11_transition.run(1);
			});

			current = true;
		},
		o(local) {
			transition_out(actionbutton.$$.fragment, local);
			if (!div11_transition) div11_transition = create_bidirectional_transition(div11, fly, { duration: 200 }, false);
			div11_transition.run(0);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div11);
			destroy_component(actionbutton);
			destroy_each(each_blocks, detaching);
			if (detaching && div11_transition) div11_transition.end();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function cart_index_svelte_instance($$self, $$props, $$invalidate) {
	let { cart = [] } = $$props;
	let { total = 0 } = $$props;

	let { closeCart = () => {
		
	} } = $$props;

	let { clearCart = () => {
		
	} } = $$props;

	let { removeFromCart = () => {
		
	} } = $$props;

	const completePurchasing = () => {
		if ((0,lodash.isEmpty)(cart)) {
			return;
		}

		sendClientMessage('purchase');
	};

	const click_handler = item => removeFromCart(item.id);

	$$self.$$set = $$props => {
		if ('cart' in $$props) $$invalidate(0, cart = $$props.cart);
		if ('total' in $$props) $$invalidate(1, total = $$props.total);
		if ('closeCart' in $$props) $$invalidate(2, closeCart = $$props.closeCart);
		if ('clearCart' in $$props) $$invalidate(3, clearCart = $$props.clearCart);
		if ('removeFromCart' in $$props) $$invalidate(4, removeFromCart = $$props.removeFromCart);
	};

	return [
		cart,
		total,
		closeCart,
		clearCart,
		removeFromCart,
		completePurchasing,
		click_handler
	];
}

class Cart extends SvelteComponent {
	constructor(options) {
		super();

		init(this, options, cart_index_svelte_instance, cart_index_svelte_create_fragment, safe_not_equal, {
			cart: 0,
			total: 1,
			closeCart: 2,
			clearCart: 3,
			removeFromCart: 4
		});
	}
}

/* harmony default export */ const cart_index_svelte = (Cart);
;// CONCATENATED MODULE: ./src/views/tuning-station/components/car-characteristic/index.svelte
/* src\views\tuning-station\components\car-characteristic\index.svelte generated by Svelte v3.49.0 */




function car_characteristic_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[8] = list[i];
	child_ctx[10] = i;
	return child_ctx;
}

// (33:8) {#each new Array(10) as item, index}
function car_characteristic_index_svelte_create_each_block(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			attr(div, "class", "tuning-station-car-characteristic__point");
			toggle_class(div, "tuning-station-car-characteristic__point--active", /*index*/ ctx[10] < /*currentParts*/ ctx[3]);
			toggle_class(div, "tuning-station-car-characteristic__point--decrease", /*index*/ ctx[10] >= /*offsetParts*/ ctx[4] && /*index*/ ctx[10] < /*currentParts*/ ctx[3]);
			toggle_class(div, "tuning-station-car-characteristic__point--increase", /*index*/ ctx[10] < /*offsetParts*/ ctx[4] && /*index*/ ctx[10] >= /*currentParts*/ ctx[3]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*currentParts*/ 8) {
				toggle_class(div, "tuning-station-car-characteristic__point--active", /*index*/ ctx[10] < /*currentParts*/ ctx[3]);
			}

			if (dirty & /*offsetParts, currentParts*/ 24) {
				toggle_class(div, "tuning-station-car-characteristic__point--decrease", /*index*/ ctx[10] >= /*offsetParts*/ ctx[4] && /*index*/ ctx[10] < /*currentParts*/ ctx[3]);
			}

			if (dirty & /*offsetParts, currentParts*/ 24) {
				toggle_class(div, "tuning-station-car-characteristic__point--increase", /*index*/ ctx[10] < /*offsetParts*/ ctx[4] && /*index*/ ctx[10] >= /*currentParts*/ ctx[3]);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function car_characteristic_index_svelte_create_fragment(ctx) {
	let div6;
	let div4;
	let div0;
	let t0;
	let t1;
	let div3;
	let div1;
	let t2;
	let t3;
	let div2;
	let t4;
	let t5_value = /*offset*/ ctx[2].toFixed(1) + "";
	let t5;
	let t6;
	let t7;
	let div5;
	let each_value = new Array(10);
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = car_characteristic_index_svelte_create_each_block(car_characteristic_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div6 = internal_element("div");
			div4 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(/*name*/ ctx[0]);
			t1 = space();
			div3 = internal_element("div");
			div1 = internal_element("div");
			t2 = internal_text(/*value*/ ctx[1]);
			t3 = space();
			div2 = internal_element("div");
			t4 = internal_text("(");
			t5 = internal_text(t5_value);
			t6 = internal_text(")");
			t7 = space();
			div5 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div0, "class", "tuning-station-car-characteristic__name");
			attr(div1, "class", "tuning-station-car-characteristic__value");
			attr(div2, "class", "tuning-station-car-characteristic__value-changing");
			toggle_class(div2, "tuning-station-car-characteristic__value-changing--increase", /*offset*/ ctx[2] > 0);
			toggle_class(div2, "tuning-station-car-characteristic__value-changing--decrease", /*offset*/ ctx[2] < 0);
			attr(div3, "class", "tuning-station-car-characteristic__value-group");
			attr(div4, "class", "tuning-station-car-characteristic__caption-row");
			attr(div5, "class", "tuning-station-car-characteristic__points");
			attr(div6, "class", "tuning-station-car-characteristic");
		},
		m(target, anchor) {
			insert(target, div6, anchor);
			append(div6, div4);
			append(div4, div0);
			append(div0, t0);
			append(div4, t1);
			append(div4, div3);
			append(div3, div1);
			append(div1, t2);
			append(div3, t3);
			append(div3, div2);
			append(div2, t4);
			append(div2, t5);
			append(div2, t6);
			append(div6, t7);
			append(div6, div5);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div5, null);
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*name*/ 1) set_data(t0, /*name*/ ctx[0]);
			if (dirty & /*value*/ 2) set_data(t2, /*value*/ ctx[1]);
			if (dirty & /*offset*/ 4 && t5_value !== (t5_value = /*offset*/ ctx[2].toFixed(1) + "")) set_data(t5, t5_value);

			if (dirty & /*offset*/ 4) {
				toggle_class(div2, "tuning-station-car-characteristic__value-changing--increase", /*offset*/ ctx[2] > 0);
			}

			if (dirty & /*offset*/ 4) {
				toggle_class(div2, "tuning-station-car-characteristic__value-changing--decrease", /*offset*/ ctx[2] < 0);
			}

			if (dirty & /*currentParts, offsetParts*/ 24) {
				each_value = new Array(10);
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = car_characteristic_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = car_characteristic_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div5, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div6);
			destroy_each(each_blocks, detaching);
		}
	};
}

function car_characteristic_index_svelte_instance($$self, $$props, $$invalidate) {
	let { name = '' } = $$props;
	let { max = 0 } = $$props;
	let { value = 0 } = $$props;
	let { offset = 0 } = $$props;
	const part = max / 10;
	let difference = value + offset;
	let currentParts = Math.round(value / part);
	let offsetParts = Math.round(difference / part);

	$$self.$$set = $$props => {
		if ('name' in $$props) $$invalidate(0, name = $$props.name);
		if ('max' in $$props) $$invalidate(5, max = $$props.max);
		if ('value' in $$props) $$invalidate(1, value = $$props.value);
		if ('offset' in $$props) $$invalidate(2, offset = $$props.offset);
	};

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*value, offset, difference*/ 70) {
			$: {
				$$invalidate(6, difference = value + offset);
				$$invalidate(3, currentParts = Math.round(value / part));
				$$invalidate(4, offsetParts = Math.round(difference / part));
			}
		}
	};

	return [name, value, offset, currentParts, offsetParts, max, difference];
}

class Car_characteristic extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, car_characteristic_index_svelte_instance, car_characteristic_index_svelte_create_fragment, safe_not_equal, { name: 0, max: 5, value: 1, offset: 2 });
	}
}

/* harmony default export */ const car_characteristic_index_svelte = (Car_characteristic);
;// CONCATENATED MODULE: ./src/forked-libs/pips-range-slider/index.js

;// CONCATENATED MODULE: ./src/views/tuning-station/components/tuning-range-input/index.svelte
/* src\views\tuning-station\components\tuning-range-input\index.svelte generated by Svelte v3.49.0 */





function tuning_range_input_index_svelte_create_fragment(ctx) {
	let div6;
	let div2;
	let div0;
	let t1;
	let rangeslider;
	let updating_values;
	let t2;
	let div1;
	let t4;
	let div5;
	let div3;
	let t5;
	let t6;
	let t7;
	let t8;
	let span;
	let t9;
	let t10;
	let div4;
	let t11;
	let t12;
	let t13;
	let current;
	let mounted;
	let dispose;

	function rangeslider_values_binding(value) {
		/*rangeslider_values_binding*/ ctx[9](value);
	}

	let rangeslider_props = {
		id: "tuning-range-input",
		range: "min",
		min: /*min*/ ctx[1],
		max: /*max*/ ctx[2],
		step: /*step*/ ctx[3],
		pipstep: /*step*/ ctx[3],
		hoverable: false,
		float: /*float*/ ctx[6],
		springValues: { stiffness: 1, damping: 1 }
	};

	if (/*value*/ ctx[0] !== void 0) {
		rangeslider_props.values = /*value*/ ctx[0];
	}

	rangeslider = new RangeSlider_svelte({ props: rangeslider_props });
	binding_callbacks.push(() => bind(rangeslider, 'values', rangeslider_values_binding));

	rangeslider.$on("change", function () {
		if (internal_is_function(/*onChange*/ ctx[5])) /*onChange*/ ctx[5].apply(this, arguments);
	});

	return {
		c() {
			div6 = internal_element("div");
			div2 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "-";
			t1 = space();
			create_component(rangeslider.$$.fragment);
			t2 = space();
			div1 = internal_element("div");
			div1.textContent = "+";
			t4 = space();
			div5 = internal_element("div");
			div3 = internal_element("div");
			t5 = internal_text(/*min*/ ctx[1]);
			t6 = space();
			t7 = internal_text(/*units*/ ctx[4]);
			t8 = space();
			span = internal_element("span");
			t9 = internal_text(/*value*/ ctx[0]);
			t10 = space();
			div4 = internal_element("div");
			t11 = internal_text(/*max*/ ctx[2]);
			t12 = space();
			t13 = internal_text(/*units*/ ctx[4]);
			attr(div0, "class", "tuning-range-input__regulator tuning-range-input__regulator--decrease");
			attr(div1, "class", "tuning-range-input__regulator tuning-range-input__regulator--increase");
			attr(div2, "class", "tuning-range-input__controls");
			set_style(div2, "--range-slider", "rgba(255, 255, 255, .1)");
			set_style(div2, "--range-handle-inactive", "rgba(255, 255, 255, .1)");
			set_style(div2, "--range-handle-focus", "rgba(255, 255, 255, .1)");
			attr(div3, "class", "tuning-range-input__min-caption");
			attr(span, "class", "tuning-range-input__value");
			attr(div4, "class", "tuning-range-input__max-caption");
			attr(div5, "class", "tuning-range-input__details");
			attr(div6, "class", "tuning-range-input");
		},
		m(target, anchor) {
			insert(target, div6, anchor);
			append(div6, div2);
			append(div2, div0);
			append(div2, t1);
			mount_component(rangeslider, div2, null);
			append(div2, t2);
			append(div2, div1);
			append(div6, t4);
			append(div6, div5);
			append(div5, div3);
			append(div3, t5);
			append(div3, t6);
			append(div3, t7);
			append(div5, t8);
			append(div5, span);
			append(span, t9);
			append(div5, t10);
			append(div5, div4);
			append(div4, t11);
			append(div4, t12);
			append(div4, t13);
			current = true;

			if (!mounted) {
				dispose = [
					listen(div0, "click", /*decrease*/ ctx[7]),
					listen(div1, "click", /*increase*/ ctx[8])
				];

				mounted = true;
			}
		},
		p(new_ctx, [dirty]) {
			ctx = new_ctx;
			const rangeslider_changes = {};
			if (dirty & /*min*/ 2) rangeslider_changes.min = /*min*/ ctx[1];
			if (dirty & /*max*/ 4) rangeslider_changes.max = /*max*/ ctx[2];
			if (dirty & /*step*/ 8) rangeslider_changes.step = /*step*/ ctx[3];
			if (dirty & /*step*/ 8) rangeslider_changes.pipstep = /*step*/ ctx[3];
			if (dirty & /*float*/ 64) rangeslider_changes.float = /*float*/ ctx[6];

			if (!updating_values && dirty & /*value*/ 1) {
				updating_values = true;
				rangeslider_changes.values = /*value*/ ctx[0];
				add_flush_callback(() => updating_values = false);
			}

			rangeslider.$set(rangeslider_changes);
			if (!current || dirty & /*min*/ 2) set_data(t5, /*min*/ ctx[1]);
			if (!current || dirty & /*units*/ 16) set_data(t7, /*units*/ ctx[4]);
			if (!current || dirty & /*value*/ 1) set_data(t9, /*value*/ ctx[0]);
			if (!current || dirty & /*max*/ 4) set_data(t11, /*max*/ ctx[2]);
			if (!current || dirty & /*units*/ 16) set_data(t13, /*units*/ ctx[4]);
		},
		i(local) {
			if (current) return;
			transition_in(rangeslider.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(rangeslider.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div6);
			destroy_component(rangeslider);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function tuning_range_input_index_svelte_instance($$self, $$props, $$invalidate) {
	let { min = -1 } = $$props;
	let { max = 1 } = $$props;
	let { step = 1 } = $$props;
	let { value = [0] } = $$props;
	let { units = '' } = $$props;

	let { onChange = () => {
		
	} } = $$props;

	let { float = false } = $$props;

	// value = [value]; // RangeSlider requires array format of init value
	const decrease = () => {
		if (value[0] - step < min) {
			return;
		}

		$$invalidate(0, value[0] -= step, value);
		onChange();
	};

	const increase = () => {
		if (value[0] + step > max) {
			return;
		}

		$$invalidate(0, value[0] += step, value);
		onChange();
	};

	function rangeslider_values_binding(value$1) {
		value = value$1;
		$$invalidate(0, value);
	}

	$$self.$$set = $$props => {
		if ('min' in $$props) $$invalidate(1, min = $$props.min);
		if ('max' in $$props) $$invalidate(2, max = $$props.max);
		if ('step' in $$props) $$invalidate(3, step = $$props.step);
		if ('value' in $$props) $$invalidate(0, value = $$props.value);
		if ('units' in $$props) $$invalidate(4, units = $$props.units);
		if ('onChange' in $$props) $$invalidate(5, onChange = $$props.onChange);
		if ('float' in $$props) $$invalidate(6, float = $$props.float);
	};

	return [
		value,
		min,
		max,
		step,
		units,
		onChange,
		float,
		decrease,
		increase,
		rangeslider_values_binding
	];
}

class Tuning_range_input extends SvelteComponent {
	constructor(options) {
		super();

		init(this, options, tuning_range_input_index_svelte_instance, tuning_range_input_index_svelte_create_fragment, safe_not_equal, {
			min: 1,
			max: 2,
			step: 3,
			value: 0,
			units: 4,
			onChange: 5,
			float: 6
		});
	}
}

/* harmony default export */ const tuning_range_input_index_svelte = (Tuning_range_input);
;// CONCATENATED MODULE: ./src/views/tuning-station/store.js

var firstColor = writable(-1);
var secondColor = writable(-1);
var colorsCount = writable(1);
var sliders = writable([]);
var tintingSelectedColor = writable({});
var tintingWindows = writable([]);
var tintingColors = writable([]);
var tintingOpacity = writable([0]);
var selectedTintingWindowId = writable(-1);
var tintingSliderValues = writable({});
;// CONCATENATED MODULE: ./src/views/tuning-station/components/wheel-alignment/index.svelte
/* src\views\tuning-station\components\wheel-alignment\index.svelte generated by Svelte v3.49.0 */







function wheel_alignment_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[4] = list[i];
	child_ctx[5] = list;
	child_ctx[6] = i;
	return child_ctx;
}

// (20:4) {#each $sliders as slider}
function wheel_alignment_index_svelte_create_each_block(ctx) {
	let p;
	let t0_value = /*slider*/ ctx[4].title + "";
	let t0;
	let t1;
	let tuningrangeinput;
	let updating_value;
	let current;

	function func() {
		return /*func*/ ctx[2](/*slider*/ ctx[4]);
	}

	function tuningrangeinput_value_binding(value) {
		/*tuningrangeinput_value_binding*/ ctx[3](value, /*slider*/ ctx[4]);
	}

	let tuningrangeinput_props = {
		min: /*slider*/ ctx[4].min,
		max: /*slider*/ ctx[4].max,
		step: /*slider*/ ctx[4].step,
		float: true,
		onChange: func
	};

	if (/*slider*/ ctx[4].value !== void 0) {
		tuningrangeinput_props.value = /*slider*/ ctx[4].value;
	}

	tuningrangeinput = new tuning_range_input_index_svelte({ props: tuningrangeinput_props });
	binding_callbacks.push(() => bind(tuningrangeinput, 'value', tuningrangeinput_value_binding));

	return {
		c() {
			p = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			create_component(tuningrangeinput.$$.fragment);
			attr(p, "class", "wheel-alignment__rear-caption");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t0);
			insert(target, t1, anchor);
			mount_component(tuningrangeinput, target, anchor);
			current = true;
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if ((!current || dirty & /*$sliders*/ 1) && t0_value !== (t0_value = /*slider*/ ctx[4].title + "")) set_data(t0, t0_value);
			const tuningrangeinput_changes = {};
			if (dirty & /*$sliders*/ 1) tuningrangeinput_changes.min = /*slider*/ ctx[4].min;
			if (dirty & /*$sliders*/ 1) tuningrangeinput_changes.max = /*slider*/ ctx[4].max;
			if (dirty & /*$sliders*/ 1) tuningrangeinput_changes.step = /*slider*/ ctx[4].step;
			if (dirty & /*$sliders*/ 1) tuningrangeinput_changes.onChange = func;

			if (!updating_value && dirty & /*$sliders*/ 1) {
				updating_value = true;
				tuningrangeinput_changes.value = /*slider*/ ctx[4].value;
				add_flush_callback(() => updating_value = false);
			}

			tuningrangeinput.$set(tuningrangeinput_changes);
		},
		i(local) {
			if (current) return;
			transition_in(tuningrangeinput.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(tuningrangeinput.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(p);
			if (detaching) detach(t1);
			destroy_component(tuningrangeinput, detaching);
		}
	};
}

function wheel_alignment_index_svelte_create_fragment(ctx) {
	let div;
	let p;
	let t1;
	let current;
	let each_value = /*$sliders*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = wheel_alignment_index_svelte_create_each_block(wheel_alignment_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			div = internal_element("div");
			p = internal_element("p");
			p.textContent = "Сход-развал";
			t1 = space();

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(p, "class", "wheel-alignment__title");
			attr(div, "class", "wheel-alignment");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p);
			append(div, t1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}

			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*$sliders, changeRearWheels*/ 3) {
				each_value = /*$sliders*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = wheel_alignment_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = wheel_alignment_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

function wheel_alignment_index_svelte_instance($$self, $$props, $$invalidate) {
	let $sliders;
	component_subscribe($$self, sliders, $$value => $$invalidate(0, $sliders = $$value));

	const changeRearWheels = (id, value) => {
		$sliders.forEach((sliderItem, index) => {
			if (sliderItem.id === id) {
				set_store_value(sliders, $sliders[index] = { ...sliderItem, value }, $sliders);
			}
		});

		sendClientMessage('updateDashboardSlider', `{"slider": ${id}, "value":${value[0].toFixed(6)}}`);
	};

	const func = slider => changeRearWheels(slider.id, slider.value);

	function tuningrangeinput_value_binding(value, slider) {
		if ($$self.$$.not_equal(slider.value, value)) {
			slider.value = value;
			sliders.set($sliders);
		}
	}

	return [$sliders, changeRearWheels, func, tuningrangeinput_value_binding];
}

class Wheel_alignment extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, wheel_alignment_index_svelte_instance, wheel_alignment_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const wheel_alignment_index_svelte = (Wheel_alignment);
;// CONCATENATED MODULE: ./src/views/tuning-station/components/color-picker/index.svelte
/* src\views\tuning-station\components\color-picker\index.svelte generated by Svelte v3.49.0 */




function color_picker_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[3] = list[i];
	return child_ctx;
}

// (11:2) {#each colors as colorItem}
function color_picker_index_svelte_create_each_block(ctx) {
	let div;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			attr(div, "class", "color-picker__color-item");
			set_style(div, "--color", /*colorItem*/ ctx[3].hex);
			toggle_class(div, "color-picker__color-item--active", /*colorItem*/ ctx[3].id === /*selectedColor*/ ctx[1]);
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = listen(div, "click", function () {
					if (internal_is_function(/*selectColor*/ ctx[2](/*colorItem*/ ctx[3].id))) /*selectColor*/ ctx[2](/*colorItem*/ ctx[3].id).apply(this, arguments);
				});

				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*colors*/ 1) {
				set_style(div, "--color", /*colorItem*/ ctx[3].hex);
			}

			if (dirty & /*colors, selectedColor*/ 3) {
				toggle_class(div, "color-picker__color-item--active", /*colorItem*/ ctx[3].id === /*selectedColor*/ ctx[1]);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

function color_picker_index_svelte_create_fragment(ctx) {
	let div1;
	let div0;
	let each_value = /*colors*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = color_picker_index_svelte_create_each_block(color_picker_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div0, "class", "color-picker__grid");
			attr(div1, "class", "color-picker");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*colors, selectedColor, selectColor*/ 7) {
				each_value = /*colors*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = color_picker_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = color_picker_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div0, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
			destroy_each(each_blocks, detaching);
		}
	};
}

function color_picker_index_svelte_instance($$self, $$props, $$invalidate) {
	let { colors = [] } = $$props;
	let { selectedColor = 0 } = $$props;

	let { selectColor = () => {
		
	} } = $$props;

	$$self.$$set = $$props => {
		if ('colors' in $$props) $$invalidate(0, colors = $$props.colors);
		if ('selectedColor' in $$props) $$invalidate(1, selectedColor = $$props.selectedColor);
		if ('selectColor' in $$props) $$invalidate(2, selectColor = $$props.selectColor);
	};

	return [colors, selectedColor, selectColor];
}

class Color_picker extends SvelteComponent {
	constructor(options) {
		super();

		init(this, options, color_picker_index_svelte_instance, color_picker_index_svelte_create_fragment, safe_not_equal, {
			colors: 0,
			selectedColor: 1,
			selectColor: 2
		});
	}
}

/* harmony default export */ const color_picker_index_svelte = (Color_picker);
;// CONCATENATED MODULE: ./src/views/tuning-station/components/tuning-tinting/index.svelte
/* src\views\tuning-station\components\tuning-tinting\index.svelte generated by Svelte v3.49.0 */










function tuning_tinting_index_svelte_create_fragment(ctx) {
	let div2;
	let p0;
	let t1;
	let div0;
	let colorpicker;
	let updating_selectedColor;
	let t2;
	let p1;
	let t4;
	let div1;
	let tuningrangeinput;
	let updating_value;
	let current;

	function colorpicker_selectedColor_binding(value) {
		/*colorpicker_selectedColor_binding*/ ctx[5](value);
	}

	let colorpicker_props = {
		colors: /*$tintingColors*/ ctx[2],
		selectColor: /*changeTintingColor*/ ctx[4]
	};

	if (/*$tintingSelectedColor*/ ctx[0] !== void 0) {
		colorpicker_props.selectedColor = /*$tintingSelectedColor*/ ctx[0];
	}

	colorpicker = new color_picker_index_svelte({ props: colorpicker_props });
	binding_callbacks.push(() => bind(colorpicker, 'selectedColor', colorpicker_selectedColor_binding));

	function tuningrangeinput_value_binding(value) {
		/*tuningrangeinput_value_binding*/ ctx[6](value);
	}

	let tuningrangeinput_props = {
		min: 0,
		max: 100,
		step: 5,
		units: "%",
		onChange: /*sendChanges*/ ctx[3]
	};

	if (/*$tintingOpacity*/ ctx[1] !== void 0) {
		tuningrangeinput_props.value = /*$tintingOpacity*/ ctx[1];
	}

	tuningrangeinput = new tuning_range_input_index_svelte({ props: tuningrangeinput_props });
	binding_callbacks.push(() => bind(tuningrangeinput, 'value', tuningrangeinput_value_binding));

	return {
		c() {
			div2 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Выберите цвет";
			t1 = space();
			div0 = internal_element("div");
			create_component(colorpicker.$$.fragment);
			t2 = space();
			p1 = internal_element("p");
			p1.textContent = "Светопропускаемость";
			t4 = space();
			div1 = internal_element("div");
			create_component(tuningrangeinput.$$.fragment);
			attr(p0, "class", "tuning-tinting__color-caption");
			attr(div0, "class", "tuning-tinting__color");
			attr(p1, "class", "tuning-tinting__transmittance-caption");
			attr(div1, "class", "tuning-tinting__transmittance");
			attr(div2, "class", "tuning-tinting");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, p0);
			append(div2, t1);
			append(div2, div0);
			mount_component(colorpicker, div0, null);
			append(div2, t2);
			append(div2, p1);
			append(div2, t4);
			append(div2, div1);
			mount_component(tuningrangeinput, div1, null);
			current = true;
		},
		p(ctx, [dirty]) {
			const colorpicker_changes = {};
			if (dirty & /*$tintingColors*/ 4) colorpicker_changes.colors = /*$tintingColors*/ ctx[2];

			if (!updating_selectedColor && dirty & /*$tintingSelectedColor*/ 1) {
				updating_selectedColor = true;
				colorpicker_changes.selectedColor = /*$tintingSelectedColor*/ ctx[0];
				add_flush_callback(() => updating_selectedColor = false);
			}

			colorpicker.$set(colorpicker_changes);
			const tuningrangeinput_changes = {};

			if (!updating_value && dirty & /*$tintingOpacity*/ 2) {
				updating_value = true;
				tuningrangeinput_changes.value = /*$tintingOpacity*/ ctx[1];
				add_flush_callback(() => updating_value = false);
			}

			tuningrangeinput.$set(tuningrangeinput_changes);
		},
		i(local) {
			if (current) return;
			transition_in(colorpicker.$$.fragment, local);
			transition_in(tuningrangeinput.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(colorpicker.$$.fragment, local);
			transition_out(tuningrangeinput.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div2);
			destroy_component(colorpicker);
			destroy_component(tuningrangeinput);
		}
	};
}

function tuning_tinting_index_svelte_instance($$self, $$props, $$invalidate) {
	let $tintingSelectedColor;
	let $tintingOpacity;
	let $selectedTintingWindowId;
	let $tintingWindows;
	let $tintingColors;
	component_subscribe($$self, tintingSelectedColor, $$value => $$invalidate(0, $tintingSelectedColor = $$value));
	component_subscribe($$self, tintingOpacity, $$value => $$invalidate(1, $tintingOpacity = $$value));
	component_subscribe($$self, selectedTintingWindowId, $$value => $$invalidate(7, $selectedTintingWindowId = $$value));
	component_subscribe($$self, tintingWindows, $$value => $$invalidate(8, $tintingWindows = $$value));
	component_subscribe($$self, tintingColors, $$value => $$invalidate(2, $tintingColors = $$value));

	const sendChanges = () => {
		$tintingWindows.forEach((windowItem, index) => {
			if (windowItem.id === $selectedTintingWindowId) {
				set_store_value(
					tintingWindows,
					$tintingWindows[index] = {
						...windowItem,
						opacity: $tintingOpacity[0]
					},
					$tintingWindows
				);
			}
		});

		sendClientMessage('updateTintedWindowColor', `{"id": ${$selectedTintingWindowId}, "color_id": ${$tintingSelectedColor}, "opacity": ${$tintingOpacity}}`);
	};

	const changeTintingColor = color => {
		set_store_value(tintingSelectedColor, $tintingSelectedColor = color, $tintingSelectedColor);
		sendChanges();
	};

	function colorpicker_selectedColor_binding(value) {
		$tintingSelectedColor = value;
		tintingSelectedColor.set($tintingSelectedColor);
	}

	function tuningrangeinput_value_binding(value) {
		$tintingOpacity = value;
		tintingOpacity.set($tintingOpacity);
	}

	return [
		$tintingSelectedColor,
		$tintingOpacity,
		$tintingColors,
		sendChanges,
		changeTintingColor,
		colorpicker_selectedColor_binding,
		tuningrangeinput_value_binding
	];
}

class Tuning_tinting extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, tuning_tinting_index_svelte_instance, tuning_tinting_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const tuning_tinting_index_svelte = (Tuning_tinting);
;// CONCATENATED MODULE: ./src/views/tuning-station/components/tuning-color/index.svelte
/* src\views\tuning-station\components\tuning-color\index.svelte generated by Svelte v3.49.0 */








function tuning_color_index_svelte_create_if_block_2(ctx) {
	let div;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "Цвет 2";
			attr(div, "class", "tuning-color__tab");
			toggle_class(div, "tuning-color__tab--active", /*selectedTabId*/ ctx[1] === 2);
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = listen(div, "click", /*click_handler_1*/ ctx[7]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*selectedTabId*/ 2) {
				toggle_class(div, "tuning-color__tab--active", /*selectedTabId*/ ctx[1] === 2);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (63:38) 
function tuning_color_index_svelte_create_if_block_1(ctx) {
	let colorpicker;
	let updating_selectedColor;
	let current;

	function colorpicker_selectedColor_binding_1(value) {
		/*colorpicker_selectedColor_binding_1*/ ctx[9](value);
	}

	let colorpicker_props = {
		colors: COLORS,
		selectColor: /*selectSecondColor*/ ctx[5]
	};

	if (/*$secondColor*/ ctx[2] !== void 0) {
		colorpicker_props.selectedColor = /*$secondColor*/ ctx[2];
	}

	colorpicker = new color_picker_index_svelte({ props: colorpicker_props });
	binding_callbacks.push(() => bind(colorpicker, 'selectedColor', colorpicker_selectedColor_binding_1));

	return {
		c() {
			create_component(colorpicker.$$.fragment);
		},
		m(target, anchor) {
			mount_component(colorpicker, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const colorpicker_changes = {};

			if (!updating_selectedColor && dirty & /*$secondColor*/ 4) {
				updating_selectedColor = true;
				colorpicker_changes.selectedColor = /*$secondColor*/ ctx[2];
				add_flush_callback(() => updating_selectedColor = false);
			}

			colorpicker.$set(colorpicker_changes);
		},
		i(local) {
			if (current) return;
			transition_in(colorpicker.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(colorpicker.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(colorpicker, detaching);
		}
	};
}

// (61:8) {#if selectedTabId === 1}
function tuning_color_index_svelte_create_if_block(ctx) {
	let colorpicker;
	let updating_selectedColor;
	let current;

	function colorpicker_selectedColor_binding(value) {
		/*colorpicker_selectedColor_binding*/ ctx[8](value);
	}

	let colorpicker_props = {
		colors: COLORS,
		selectColor: /*selectFirstColor*/ ctx[4]
	};

	if (/*$firstColor*/ ctx[3] !== void 0) {
		colorpicker_props.selectedColor = /*$firstColor*/ ctx[3];
	}

	colorpicker = new color_picker_index_svelte({ props: colorpicker_props });
	binding_callbacks.push(() => bind(colorpicker, 'selectedColor', colorpicker_selectedColor_binding));

	return {
		c() {
			create_component(colorpicker.$$.fragment);
		},
		m(target, anchor) {
			mount_component(colorpicker, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const colorpicker_changes = {};

			if (!updating_selectedColor && dirty & /*$firstColor*/ 8) {
				updating_selectedColor = true;
				colorpicker_changes.selectedColor = /*$firstColor*/ ctx[3];
				add_flush_callback(() => updating_selectedColor = false);
			}

			colorpicker.$set(colorpicker_changes);
		},
		i(local) {
			if (current) return;
			transition_in(colorpicker.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(colorpicker.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(colorpicker, detaching);
		}
	};
}

function tuning_color_index_svelte_create_fragment(ctx) {
	let div3;
	let span;
	let t1;
	let div1;
	let div0;
	let t3;
	let t4;
	let div2;
	let current_block_type_index;
	let if_block1;
	let current;
	let mounted;
	let dispose;
	let if_block0 = /*$colorsCount*/ ctx[0] > 1 && tuning_color_index_svelte_create_if_block_2(ctx);
	const if_block_creators = [tuning_color_index_svelte_create_if_block, tuning_color_index_svelte_create_if_block_1];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (/*selectedTabId*/ ctx[1] === 1) return 0;
		if (/*selectedTabId*/ ctx[1] === 2) return 1;
		return -1;
	}

	if (~(current_block_type_index = select_block_type(ctx, -1))) {
		if_block1 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
	}

	return {
		c() {
			div3 = internal_element("div");
			span = internal_element("span");
			span.textContent = "Выберите цвет";
			t1 = space();
			div1 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "Цвет 1";
			t3 = space();
			if (if_block0) if_block0.c();
			t4 = space();
			div2 = internal_element("div");
			if (if_block1) if_block1.c();
			attr(span, "class", "tuning-color__title");
			attr(div0, "class", "tuning-color__tab");
			toggle_class(div0, "tuning-color__tab--active", /*selectedTabId*/ ctx[1] === 1);
			attr(div1, "class", "tuning-color__tabs");
			attr(div2, "class", "tuning-color__tab-content");
			attr(div3, "class", "tuning-color");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, span);
			append(div3, t1);
			append(div3, div1);
			append(div1, div0);
			append(div1, t3);
			if (if_block0) if_block0.m(div1, null);
			append(div3, t4);
			append(div3, div2);

			if (~current_block_type_index) {
				if_blocks[current_block_type_index].m(div2, null);
			}

			current = true;

			if (!mounted) {
				dispose = listen(div0, "click", /*click_handler*/ ctx[6]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*selectedTabId*/ 2) {
				toggle_class(div0, "tuning-color__tab--active", /*selectedTabId*/ ctx[1] === 1);
			}

			if (/*$colorsCount*/ ctx[0] > 1) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = tuning_color_index_svelte_create_if_block_2(ctx);
					if_block0.c();
					if_block0.m(div1, null);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if (~current_block_type_index) {
					if_blocks[current_block_type_index].p(ctx, dirty);
				}
			} else {
				if (if_block1) {
					group_outros();

					transition_out(if_blocks[previous_block_index], 1, 1, () => {
						if_blocks[previous_block_index] = null;
					});

					check_outros();
				}

				if (~current_block_type_index) {
					if_block1 = if_blocks[current_block_type_index];

					if (!if_block1) {
						if_block1 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
						if_block1.c();
					} else {
						if_block1.p(ctx, dirty);
					}

					transition_in(if_block1, 1);
					if_block1.m(div2, null);
				} else {
					if_block1 = null;
				}
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block1);
			current = true;
		},
		o(local) {
			transition_out(if_block1);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div3);
			if (if_block0) if_block0.d();

			if (~current_block_type_index) {
				if_blocks[current_block_type_index].d();
			}

			mounted = false;
			dispose();
		}
	};
}

function tuning_color_index_svelte_instance($$self, $$props, $$invalidate) {
	let $colorsCount;
	let $secondColor;
	let $firstColor;
	component_subscribe($$self, colorsCount, $$value => $$invalidate(0, $colorsCount = $$value));
	component_subscribe($$self, secondColor, $$value => $$invalidate(2, $secondColor = $$value));
	component_subscribe($$self, firstColor, $$value => $$invalidate(3, $firstColor = $$value));
	let selectedTabId = 1;
	const sendChanges = () => sendClientMessage('updateColor', `{"color1": ${$firstColor}, "color2": ${$secondColor}}`);

	const selectFirstColor = colorId => {
		if ($firstColor === colorId) {
			return;
		}

		set_store_value(firstColor, $firstColor = colorId, $firstColor);
		sendChanges();
	};

	const selectSecondColor = colorId => {
		if ($secondColor === colorId) {
			return;
		}

		set_store_value(secondColor, $secondColor = colorId, $secondColor);
		sendChanges();
	};

	const click_handler = () => {
		$$invalidate(1, selectedTabId = 1);
	};

	const click_handler_1 = () => {
		$$invalidate(1, selectedTabId = 2);
	};

	function colorpicker_selectedColor_binding(value) {
		$firstColor = value;
		firstColor.set($firstColor);
	}

	function colorpicker_selectedColor_binding_1(value) {
		$secondColor = value;
		secondColor.set($secondColor);
	}

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*$colorsCount*/ 1) {
			$: {
				if ($colorsCount === 1) {
					$$invalidate(1, selectedTabId = 1);
				}
			}
		}
	};

	return [
		$colorsCount,
		selectedTabId,
		$secondColor,
		$firstColor,
		selectFirstColor,
		selectSecondColor,
		click_handler,
		click_handler_1,
		colorpicker_selectedColor_binding,
		colorpicker_selectedColor_binding_1
	];
}

class Tuning_color extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, tuning_color_index_svelte_instance, tuning_color_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const tuning_color_index_svelte = (Tuning_color);
;// CONCATENATED MODULE: ./src/views/tuning-station/routs.js
function tuning_station_routs_typeof(o) { "@babel/helpers - typeof"; return tuning_station_routs_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, tuning_station_routs_typeof(o); }
function tuning_station_routs_defineProperty(e, r, t) { return (r = tuning_station_routs_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function tuning_station_routs_toPropertyKey(t) { var i = tuning_station_routs_toPrimitive(t, "string"); return "symbol" == tuning_station_routs_typeof(i) ? i : i + ""; }
function tuning_station_routs_toPrimitive(t, r) { if ("object" != tuning_station_routs_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != tuning_station_routs_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }




var MAP_CATEGORY_SETTING_TO_COMPONENT = tuning_station_routs_defineProperty(tuning_station_routs_defineProperty(tuning_station_routs_defineProperty(tuning_station_routs_defineProperty({}, CategorySettings["СomponentList"], null), CategorySettings.WheelsAlignment, wheel_alignment_index_svelte), CategorySettings.TintedWindow, tuning_tinting_index_svelte), CategorySettings.ColorList, tuning_color_index_svelte);
;// CONCATENATED MODULE: ./src/views/tuning-station/mock.js
var MENU_MOCK = [{
  id: 0,
  name: 'Двигатель',
  icon: 'engine.svg'
}, {
  id: 1,
  name: 'Трансмиссия',
  icon: 'transmission.svg'
}, {
  id: 2,
  name: 'Шасси',
  icon: 'chassis.svg'
}, {
  id: 3,
  name: 'Стайлинг',
  icon: 'bucket.svg'
}, {
  id: 4,
  parentId: 0,
  name: 'Коленвал',
  icon: 'colenval.svg',
  type: 'componentList'
}, {
  id: 5,
  parentId: 0,
  name: 'Распредвал',
  icon: 'raspredval.svg',
  type: 'componentList'
}, {
  id: 6,
  parentId: 0,
  name: 'Турбина',
  icon: 'turbina.svg',
  type: 'componentList'
}, {
  id: 7,
  parentId: 0,
  name: 'Прошивка',
  icon: 'chip.svg',
  type: 'componentList'
}, {
  id: 8,
  parentId: 1,
  name: 'Сцепление',
  icon: 'sceplenie.svg',
  type: 'componentList'
}, {
  id: 9,
  parentId: 1,
  name: 'КПП',
  icon: 'transmission.svg',
  type: 'componentList'
}, {
  id: 10,
  parentId: 1,
  name: 'Дифференциал',
  icon: 'differential.svg',
  type: 'componentList'
}, {
  id: 11,
  parentId: 2,
  name: 'Подвеска',
  icon: 'suspension.svg',
  type: 'componentList'
}, {
  id: 12,
  parentId: 2,
  name: 'Тормоза',
  icon: 'brake.svg',
  type: 'componentList'
}, {
  id: 13,
  parentId: 3,
  name: 'Диски',
  icon: 'wheel.svg',
  type: 'colorList'
}, {
  id: 14,
  parentId: 3,
  name: 'Капот',
  icon: 'hood.svg',
  type: 'componentList'
}, {
  id: 15,
  parentId: 3,
  name: 'Спойлер',
  icon: 'spoiler.svg',
  type: 'componentList'
}, {
  id: 16,
  parentId: 3,
  name: 'Выхлоп',
  icon: 'exhaust.svg',
  type: 'componentList'
}, {
  id: 17,
  parentId: 3,
  name: 'Плёнка',
  icon: 'vinil.svg',
  type: 'colorList'
}, {
  id: 18,
  parentId: 3,
  name: 'Тонировка',
  icon: 'glass.svg',
  type: 'tintedWindow'
}, {
  id: 19,
  parentId: 3,
  name: 'Подвеска',
  icon: 'suspension.svg',
  type: 'sliderList'
}, {
  id: 20,
  parentId: 3,
  name: 'Цвет фар',
  icon: 'lights.svg',
  type: 'colorList'
}, {
  id: 21,
  parentId: 3,
  name: 'Цвет выхлопа',
  icon: 'exhaust_color.svg',
  type: 'colorList'
}];
var GEARS_MOCK = [{
  "id": 0,
  "categoryId": 4,
  "header": "improv",
  "color": -16711681,
  "name": "Коленвал",
  "text": "",
  "icon": "kolenval.png",
  "price": 135000,
  "installed": true,
  "inCart": false,
  "available": true,
  "statusText": "135000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 1,
  "categoryId": 4,
  "header": "sport",
  "color": -16776961,
  "name": "Коленвал",
  "text": "",
  "icon": "kolenval.png",
  "price": 225000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "225000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 2,
  "categoryId": 4,
  "header": "sport+",
  "color": -6029057,
  "name": "Коленвал",
  "text": "",
  "icon": "kolenval.png",
  "price": 450000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "450000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 3,
  "categoryId": 5,
  "header": "improv",
  "color": -16711681,
  "name": "Распредвал",
  "text": "",
  "icon": "raspredval.png",
  "price": 90000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "90000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 4,
  "categoryId": 5,
  "header": "sport",
  "color": -16776961,
  "name": "Распредвал",
  "text": "",
  "icon": "raspredval.png",
  "price": 180000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "180000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 5,
  "categoryId": 5,
  "header": "sport+",
  "color": -6029057,
  "name": "Распредвал",
  "text": "",
  "icon": "raspredval.png",
  "price": 240000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "240000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 6,
  "categoryId": 6,
  "header": "improv",
  "color": -16711681,
  "name": "Турбокомпрессор",
  "text": "",
  "icon": "turbokompressor.png",
  "price": 450000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "450000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 7,
  "categoryId": 6,
  "header": "improv",
  "color": -16711681,
  "name": "Нагнетатель",
  "text": "",
  "icon": "nagnetatel.png",
  "price": 450000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "450000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 8,
  "categoryId": 6,
  "header": "sport",
  "color": -16776961,
  "name": "Турбокомпрессор",
  "text": "",
  "icon": "turbokompressor.png",
  "price": 900000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "900000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 9,
  "categoryId": 6,
  "header": "sport",
  "color": -16776961,
  "name": "Нагнетатель",
  "text": "",
  "icon": "nagnetatel.png",
  "price": 900000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "900000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 10,
  "categoryId": 6,
  "header": "sport+",
  "color": -6029057,
  "name": "Турбокомпрессор",
  "text": "",
  "icon": "turbokompressor.png",
  "price": 1350000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "1350000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 11,
  "categoryId": 6,
  "header": "sport+",
  "color": -6029057,
  "name": "Нагнетатель",
  "text": "",
  "icon": "nagnetatel.png",
  "price": 1350000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "1350000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 12,
  "categoryId": 7,
  "header": "STAGE-1",
  "color": -16711681,
  "name": "Чип-тюнинг",
  "text": "",
  "icon": "proshitvka.png",
  "price": 450000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "450000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 13,
  "categoryId": 7,
  "header": "STAGE-2",
  "color": -16776961,
  "name": "Чип-тюнинг",
  "text": "",
  "icon": "proshitvka.png",
  "price": 675000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "675000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 14,
  "categoryId": 7,
  "header": "STAGE-3",
  "color": -6029057,
  "name": "Чип-тюнинг",
  "text": "",
  "icon": "proshitvka.png",
  "price": 900000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "900000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 15,
  "categoryId": 8,
  "header": "improv",
  "color": -16711681,
  "name": "Сцепление",
  "text": "",
  "icon": "stseplenie.png",
  "price": 90000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "90000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 16,
  "categoryId": 8,
  "header": "sport",
  "color": -16776961,
  "name": "Сцепление",
  "text": "",
  "icon": "stseplenie.png",
  "price": 225000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "225000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 17,
  "categoryId": 8,
  "header": "sport+",
  "color": -6029057,
  "name": "Сцепление",
  "text": "",
  "icon": "stseplenie.png",
  "price": 450000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "450000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 18,
  "categoryId": 9,
  "header": "improv",
  "color": -16711681,
  "name": "КПП",
  "text": "",
  "icon": "kpp.png",
  "price": 450000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "450000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 19,
  "categoryId": 9,
  "header": "sport",
  "color": -16776961,
  "name": "КПП",
  "text": "",
  "icon": "kpp.png",
  "price": 675000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "675000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 20,
  "categoryId": 9,
  "header": "sport+",
  "color": -6029057,
  "name": "КПП",
  "text": "",
  "icon": "kpp.png",
  "price": 900000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "900000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 21,
  "categoryId": 10,
  "header": "improv",
  "color": -16711681,
  "name": "Дифференциал",
  "text": "",
  "icon": "differentsial.png",
  "price": 90000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "90000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 22,
  "categoryId": 10,
  "header": "sport",
  "color": -16776961,
  "name": "Дифференциал",
  "text": "",
  "icon": "differentsial.png",
  "price": 225000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "225000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 23,
  "categoryId": 10,
  "header": "sport+",
  "color": -6029057,
  "name": "Дифференциал",
  "text": "",
  "icon": "differentsial.png",
  "price": 450000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "450000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 24,
  "categoryId": 11,
  "header": "improv",
  "color": -16711681,
  "name": "Подвеска",
  "text": "",
  "icon": "podveska.png",
  "price": 450000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "450000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 25,
  "categoryId": 11,
  "header": "sport",
  "color": -16776961,
  "name": "Подвеска",
  "text": "",
  "icon": "podveska.png",
  "price": 900000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "900000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 26,
  "categoryId": 11,
  "header": "sport+",
  "color": -6029057,
  "name": "Подвеска",
  "text": "",
  "icon": "podveska.png",
  "price": 1350000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "1350000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 27,
  "categoryId": 12,
  "header": "improv",
  "color": -16711681,
  "name": "Тормоза",
  "text": "",
  "icon": "tormoza.png",
  "price": 90000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "90000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 28,
  "categoryId": 12,
  "header": "sport",
  "color": -16776961,
  "name": "Тормоза",
  "text": "",
  "icon": "tormoza.png",
  "price": 270000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "270000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 29,
  "categoryId": 12,
  "header": "sport+",
  "color": -6029057,
  "name": "Тормоза",
  "text": "",
  "icon": "tormoza.png",
  "price": 900000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "900000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 30,
  "categoryId": 17,
  "header": "",
  "color": -1,
  "name": "Без винила",
  "text": "",
  "icon": "wad0.png",
  "price": 4500000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "4500000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 31,
  "categoryId": 17,
  "header": "",
  "color": -16776961,
  "name": "Винил-1",
  "text": "",
  "icon": "wad1.png",
  "price": 4500000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "4500000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 32,
  "categoryId": 17,
  "header": "",
  "color": -16776961,
  "name": "Винил-2",
  "text": "",
  "icon": "wad2.png",
  "price": 4500000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "4500000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 33,
  "categoryId": 17,
  "header": "",
  "color": -16776961,
  "name": "Винил-3",
  "text": "",
  "icon": "wad3.png",
  "price": 4500000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "4500000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 34,
  "categoryId": 17,
  "header": "",
  "color": -16776961,
  "name": "Винил-4",
  "text": "",
  "icon": "wad4.png",
  "price": 4500000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "4500000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 35,
  "categoryId": 17,
  "header": "",
  "color": -16776961,
  "name": "Винил-5",
  "text": "",
  "icon": "wad5.png",
  "price": 4500000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "4500000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 36,
  "categoryId": 17,
  "header": "",
  "color": -16776961,
  "name": "Винил-6",
  "text": "",
  "icon": "wad6.png",
  "price": 4500000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "4500000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 37,
  "categoryId": 17,
  "header": "",
  "color": -16776961,
  "name": "Винил-7",
  "text": "",
  "icon": "wad7.png",
  "price": 4500000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "4500000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 38,
  "categoryId": 17,
  "header": "",
  "color": -16776961,
  "name": "Винил-8",
  "text": "",
  "icon": "wad8.png",
  "price": 4500000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "4500000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 39,
  "categoryId": 17,
  "header": "",
  "color": -16776961,
  "name": "Винил-9",
  "text": "",
  "icon": "wad9.png",
  "price": 4500000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "4500000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 40,
  "categoryId": 17,
  "header": "",
  "color": -16776961,
  "name": "Винил-10",
  "text": "",
  "icon": "wad10.png",
  "price": 4500000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "4500000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 41,
  "categoryId": 17,
  "header": "",
  "color": -16776961,
  "name": "Винил-11",
  "text": "",
  "icon": "wad11.png",
  "price": 4500000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "4500000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 42,
  "categoryId": 17,
  "header": "",
  "color": -16776961,
  "name": "Винил-12",
  "text": "",
  "icon": "wad12.png",
  "price": 4500000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "4500000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 43,
  "categoryId": 17,
  "header": "",
  "color": -16776961,
  "name": "Винил-13",
  "text": "",
  "icon": "wad13.png",
  "price": 4500000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "4500000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 44,
  "categoryId": 17,
  "header": "",
  "color": -16776961,
  "name": "Винил-14",
  "text": "",
  "icon": "wad14.png",
  "price": 4500000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "4500000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 45,
  "categoryId": 17,
  "header": "",
  "color": -16776961,
  "name": "Винил-15",
  "text": "",
  "icon": "wad15.png",
  "price": 4500000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "4500000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 46,
  "categoryId": 17,
  "header": "",
  "color": -16776961,
  "name": "Винил-16",
  "text": "",
  "icon": "wad16.png",
  "price": 4500000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "4500000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 47,
  "categoryId": 17,
  "header": "",
  "color": -16776961,
  "name": "Винил-17",
  "text": "",
  "icon": "wad17.png",
  "price": 4500000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "4500000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 48,
  "categoryId": 19,
  "header": "",
  "color": -1,
  "name": "Передняя подвеска",
  "text": "",
  "icon": "podveska.png",
  "price": 2250000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "2250000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 49,
  "categoryId": 19,
  "header": "",
  "color": -1,
  "name": "Задняя подвеска",
  "text": "",
  "icon": "podveska.png",
  "price": 2250000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "2250000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 50,
  "categoryId": 13,
  "header": "",
  "color": -1,
  "name": "Диски-1",
  "text": "",
  "icon": "7189.png",
  "price": 450000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "450000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 51,
  "categoryId": 13,
  "header": "",
  "color": -1,
  "name": "Диски-2",
  "text": "",
  "icon": "wheel10.png",
  "price": 900000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "900000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 52,
  "categoryId": 13,
  "header": "",
  "color": -1,
  "name": "Диски-3",
  "text": "",
  "icon": "wheel7.png",
  "price": 1350000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "1350000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 53,
  "categoryId": 13,
  "header": "",
  "color": -1,
  "name": "Диски-4",
  "text": "",
  "icon": "wheel14.png",
  "price": 1800000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "1800000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 54,
  "categoryId": 13,
  "header": "",
  "color": -1,
  "name": "Диски-5",
  "text": "",
  "icon": "wheel12.png",
  "price": 2250000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "2250000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 55,
  "categoryId": 13,
  "header": "",
  "color": -1,
  "name": "Диски-6",
  "text": "",
  "icon": "wheel5.png",
  "price": 2700000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "2700000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 56,
  "categoryId": 13,
  "header": "",
  "color": -1,
  "name": "Диски-7",
  "text": "",
  "icon": "wheel4.png",
  "price": 3150000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "3150000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 57,
  "categoryId": 13,
  "header": "",
  "color": -1,
  "name": "Диски-8",
  "text": "",
  "icon": "wheel1.png",
  "price": 3600000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "3600000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 58,
  "categoryId": 13,
  "header": "",
  "color": -1,
  "name": "Диски-9",
  "text": "",
  "icon": "wheel17.png",
  "price": 4050000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "4050000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 59,
  "categoryId": 13,
  "header": "",
  "color": -1,
  "name": "Диски-10",
  "text": "",
  "icon": "wheel13.png",
  "price": 4500000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "4500000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 60,
  "categoryId": 13,
  "header": "",
  "color": -1,
  "name": "Диски-11",
  "text": "",
  "icon": "wheel9.png",
  "price": 4950000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "4950000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 61,
  "categoryId": 13,
  "header": "",
  "color": -1,
  "name": "Диски-12",
  "text": "",
  "icon": "wheel6.png",
  "price": 5400000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "5400000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 62,
  "categoryId": 13,
  "header": "",
  "color": -1,
  "name": "Диски-13",
  "text": "",
  "icon": "wheel15.png",
  "price": 5850000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "5850000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 63,
  "categoryId": 13,
  "header": "",
  "color": -1,
  "name": "Диски-14",
  "text": "",
  "icon": "wheel16.png",
  "price": 6300000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "6300000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 64,
  "categoryId": 13,
  "header": "",
  "color": -1,
  "name": "Диски-15",
  "text": "",
  "icon": "wheel11.png",
  "price": 6750000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "6750000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 65,
  "categoryId": 13,
  "header": "",
  "color": -1,
  "name": "Диски-16",
  "text": "",
  "icon": "wheel8.png",
  "price": 7200000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "7200000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 66,
  "categoryId": 13,
  "header": "",
  "color": -1,
  "name": "Диски-17",
  "text": "",
  "icon": "wheel3.png",
  "price": 7650000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "7650000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 67,
  "categoryId": 18,
  "header": "",
  "color": -1,
  "name": "Лобовое стекло",
  "text": "",
  "icon": "windshield.png",
  "price": 225000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "225000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 68,
  "categoryId": 18,
  "header": "",
  "color": -1,
  "name": "Боковые стёкла",
  "text": "",
  "icon": "front-right-window.png",
  "price": 180000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "180000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 69,
  "categoryId": 18,
  "header": "",
  "color": -1,
  "name": "Боковые стёкла",
  "text": "",
  "icon": "front-left-window.png",
  "price": 180000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "180000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 70,
  "categoryId": 18,
  "header": "",
  "color": -1,
  "name": "Заднее стекло",
  "text": "",
  "icon": "windscreen.png",
  "price": 225000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "225000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 71,
  "categoryId": 18,
  "header": "",
  "color": -1,
  "name": "Передние фары",
  "text": "",
  "icon": "front-right-light.png",
  "price": 135000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "135000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 72,
  "categoryId": 18,
  "header": "",
  "color": -1,
  "name": "Задние фары",
  "text": "",
  "icon": "rear-right-light.png",
  "price": 135000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "135000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 73,
  "categoryId": 14,
  "header": "FOUR-SLOT",
  "color": -1,
  "name": "Капот",
  "text": "",
  "icon": "FOUR-SLOT.png",
  "price": 2250000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "2250000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 74,
  "categoryId": 14,
  "header": "SPEEDLINE",
  "color": -1,
  "name": "Капот",
  "text": "",
  "icon": "SPEEDLINE.png",
  "price": 2700000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "2700000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 75,
  "categoryId": 14,
  "header": "TREMOR",
  "color": -1,
  "name": "Капот",
  "text": "",
  "icon": "TREMOR.png",
  "price": 3150000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "3150000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 76,
  "categoryId": 14,
  "header": "DOUBLE-V",
  "color": -1,
  "name": "Капот",
  "text": "",
  "icon": "DOUBLE-V.png",
  "price": 3600000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "3600000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 77,
  "categoryId": 15,
  "header": "STOCK",
  "color": -1,
  "name": "Спойлер",
  "text": "",
  "icon": "STOCK1.png",
  "price": 1575000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "1575000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 78,
  "categoryId": 15,
  "header": "DUCKTAIL",
  "color": -1,
  "name": "Спойлер",
  "text": "",
  "icon": "DUCKTAIL.png",
  "price": 2250000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "2250000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 79,
  "categoryId": 15,
  "header": "REAPER",
  "color": -1,
  "name": "Спойлер",
  "text": "",
  "icon": "REAPER.png",
  "price": 2925000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "2925000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 80,
  "categoryId": 15,
  "header": "DAYTONA",
  "color": -1,
  "name": "Спойлер",
  "text": "",
  "icon": "DAYTONA.png",
  "price": 3600000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "3600000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 81,
  "categoryId": 15,
  "header": "CURSE",
  "color": -1,
  "name": "Спойлер",
  "text": "",
  "icon": "CURSE.png",
  "price": 4275000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "4275000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 82,
  "categoryId": 16,
  "header": "GRADIENT STOCK",
  "color": -1,
  "name": "Выхлоп",
  "text": "",
  "icon": "GRADIENT_STOCK.png",
  "price": 675000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "675000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 83,
  "categoryId": 16,
  "header": "CARBON RING",
  "color": -1,
  "name": "Выхлоп",
  "text": "",
  "icon": "CARBON_RING.png",
  "price": 900000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "900000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 84,
  "categoryId": 16,
  "header": "CARBON TWO",
  "color": -1,
  "name": "Выхлоп",
  "text": "",
  "icon": "CARBON_TWO.png",
  "price": 1125000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "1125000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 85,
  "categoryId": 16,
  "header": "GRADIENT TWO",
  "color": -1,
  "name": "Выхлоп",
  "text": "",
  "icon": "GRADIENT_TWO.png",
  "price": 1350000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "1350000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 86,
  "categoryId": 16,
  "header": "GRID",
  "color": -1,
  "name": "Выхлоп",
  "text": "",
  "icon": "GRID.png",
  "price": 1575000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "1575000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 87,
  "categoryId": 18,
  "header": "",
  "color": -1,
  "name": "Крыша",
  "text": "",
  "icon": "roof.png",
  "price": 180000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "180000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 88,
  "categoryId": 20,
  "header": "",
  "color": -1,
  "name": "Передние фары",
  "text": "",
  "icon": "front-left-light.png",
  "price": 2500000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "2500000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 90,
  "categoryId": 19,
  "header": "",
  "color": -1,
  "name": "Диаметр колес",
  "text": "",
  "icon": "podveska.png",
  "price": 2000000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "2000000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 91,
  "categoryId": 21,
  "header": "",
  "color": -1,
  "name": "Цвет дыма",
  "text": "",
  "icon": "exhaust_color_2.png",
  "price": 2500000,
  "installed": false,
  "inCart": false,
  "available": true,
  "statusText": "2500000",
  "statusColor": -1,
  "hidePriceButton": false,
  "scale": 1
}, {
  "id": 0,
  "name": "Двигатель",
  "icon": "engine.svg"
}, {
  "id": 1,
  "name": "Трансмиссия",
  "icon": "transmission.svg"
}, {
  "id": 2,
  "name": "Шасси",
  "icon": "chassis.svg"
}, {
  "id": 3,
  "name": "Стайлинг",
  "icon": "bucket.svg"
}, {
  "id": 4,
  "parentId": 0,
  "name": "Коленвал",
  "icon": "colenval.svg",
  "type": "componentList"
}, {
  "id": 5,
  "parentId": 0,
  "name": "Распредвал",
  "icon": "raspredval.svg",
  "type": "componentList"
}, {
  "id": 6,
  "parentId": 0,
  "name": "Турбина",
  "icon": "turbina.svg",
  "type": "componentList"
}, {
  "id": 7,
  "parentId": 0,
  "name": "Прошивка",
  "icon": "chip.svg",
  "type": "componentList"
}, {
  "id": 8,
  "parentId": 1,
  "name": "Сцепление",
  "icon": "sceplenie.svg",
  "type": "componentList"
}, {
  "id": 9,
  "parentId": 1,
  "name": "КПП",
  "icon": "transmission.svg",
  "type": "componentList"
}, {
  "id": 10,
  "parentId": 1,
  "name": "Дифференциал",
  "icon": "differential.svg",
  "type": "componentList"
}, {
  "id": 11,
  "parentId": 2,
  "name": "Подвеска",
  "icon": "suspension.svg",
  "type": "componentList"
}, {
  "id": 12,
  "parentId": 2,
  "name": "Тормоза",
  "icon": "brake.svg",
  "type": "componentList"
}, {
  "id": 13,
  "parentId": 3,
  "name": "Диски",
  "icon": "wheel.svg",
  "type": "colorList"
}, {
  "id": 14,
  "parentId": 3,
  "name": "Капот",
  "icon": "hood.svg",
  "type": "componentList"
}, {
  "id": 15,
  "parentId": 3,
  "name": "Спойлер",
  "icon": "spoiler.svg",
  "type": "componentList"
}, {
  "id": 16,
  "parentId": 3,
  "name": "Выхлоп",
  "icon": "exhaust.svg",
  "type": "componentList"
}, {
  "id": 17,
  "parentId": 3,
  "name": "Плёнка",
  "icon": "vinil.svg",
  "type": "colorList"
}, {
  "id": 18,
  "parentId": 3,
  "name": "Тонировка",
  "icon": "glass.svg",
  "type": "tintedWindow"
}, {
  "id": 19,
  "parentId": 3,
  "name": "Подвеска",
  "icon": "suspension.svg",
  "type": "sliderList"
}, {
  "id": 20,
  "parentId": 3,
  "name": "Цвет фар",
  "icon": "lights.svg",
  "type": "colorList"
}, {
  "id": 21,
  "parentId": 3,
  "name": "Цвет выхлопа",
  "icon": "exhaust_color.svg",
  "type": "colorList"
}];
var CHARACTERISTICS_MOCK = [{
  "type": 0,
  "name": "Мощность",
  "value": 50,
  "valueOffset": 1,
  "valueMax": 240
}, {
  "type": 1,
  "name": "Устойчивость",
  "value": 250,
  "valueOffset": 0,
  "valueMax": 350
}, {
  "type": 2,
  "name": "Ускорение",
  "value": 38,
  "valueOffset": 0,
  "valueMax": 75
}, {
  "type": 3,
  "name": "Макс. Скорость",
  "value": 278,
  "valueOffset": 0,
  "valueMax": 800
}];
var TINTED_WINDOWS_MOCK = [{
  "id": 67,
  "color": 255,
  "opacity": 79
}, {
  "id": 68,
  "color": 255,
  "opacity": 22
}, {
  "id": 69,
  "color": 255,
  "opacity": 79
}, {
  "id": 70,
  "color": 68813055,
  "opacity": 59
}, {
  "id": 71,
  "color": 255,
  "opacity": 33
}, {
  "id": 72,
  "color": 68813055,
  "opacity": 79
}, {
  "id": 87,
  "color": 531199,
  "opacity": 19
}];
var CAR_INFO_MOCK = {
  "carName": "BMW M5 F90",
  "carNameScale": 1,
  "playerMoney": 1398,
  "cartCount": 0,
  "cartColor": "#FFFFFF"
};
var DASHBOARD_SLIDERS_MOCK = [{
  "id": 0,
  "title": "Угол передних колёс",
  "min": -15.000000,
  "step": 0.5,
  "max": 15.000000,
  "value": 15.000000
}, {
  "id": 1,
  "title": "Выпад передних колёс",
  "min": -0.100000,
  "step": 0.01,
  "max": 0.100000,
  "value": 0.100000
}];
var COLORS_MOCK = (/* unused pure expression or super */ null && ([255, 436797695, 437453055, 387580159, 236585215, 68813055, 1705471, 1707775, 1710335, 1186559, 531199, 16784127, 167779071, 335551231, 436213503]));
;// CONCATENATED MODULE: ./src/views/tuning-station/index.svelte
/* src\views\tuning-station\index.svelte generated by Svelte v3.49.0 */























function tuning_station_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[74] = list[i];
	return child_ctx;
}

function tuning_station_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[77] = list[i];
	return child_ctx;
}

function tuning_station_index_svelte_get_each_context_2(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[80] = list[i];
	return child_ctx;
}

function tuning_station_index_svelte_get_each_context_3(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[83] = list[i];
	child_ctx[85] = i;
	return child_ctx;
}

function tuning_station_index_svelte_get_each_context_4(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[86] = list[i];
	return child_ctx;
}

function get_each_context_5(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[89] = list[i];
	return child_ctx;
}

// (500:8) {#each menuItems as category}
function create_each_block_5(ctx) {
	let div;
	let i;
	let i_class_value;
	let t0;
	let span;
	let t1_value = /*category*/ ctx[89].name + "";
	let t1;
	let t2;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[27](/*category*/ ctx[89]);
	}

	return {
		c() {
			div = internal_element("div");
			i = internal_element("i");
			t0 = space();
			span = internal_element("span");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(i, "class", i_class_value = "tuning-station__navigation-icon ui-" + /*category*/ ctx[89].icon);
			attr(span, "class", "tuning-station__navigation-text");
			attr(div, "class", "tuning-station__navigation-item");
			toggle_class(div, "tuning-station__navigation-item--active", /*category*/ ctx[89].id === /*selectedCategory*/ ctx[4].id);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, i);
			append(div, t0);
			append(div, span);
			append(span, t1);
			append(div, t2);

			if (!mounted) {
				dispose = listen(div, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty[0] & /*menuItems, selectedCategory*/ 16400) {
				toggle_class(div, "tuning-station__navigation-item--active", /*category*/ ctx[89].id === /*selectedCategory*/ ctx[4].id);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (511:4) {#if selectedNavigationZone !== NavigationZones.Category}
function tuning_station_index_svelte_create_if_block_3(ctx) {
	let div;
	let each_value_3 = /*subMenuItems*/ ctx[0][/*selectedCategory*/ ctx[4].id];
	let each_blocks = [];

	for (let i = 0; i < each_value_3.length; i += 1) {
		each_blocks[i] = tuning_station_index_svelte_create_each_block_3(tuning_station_index_svelte_get_each_context_3(ctx, each_value_3, i));
	}

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "tuning-station__navigation-sub-categories");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}
		},
		p(ctx, dirty) {
			if (dirty[0] & /*subMenuItems, selectedCategory, selectedSubCategory, onSubCategoryClick*/ 65585) {
				each_value_3 = /*subMenuItems*/ ctx[0][/*selectedCategory*/ ctx[4].id];
				let i;

				for (i = 0; i < each_value_3.length; i += 1) {
					const child_ctx = tuning_station_index_svelte_get_each_context_3(ctx, each_value_3, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = tuning_station_index_svelte_create_each_block_3(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_3.length;
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (515:20) {#if !subCategory.empty}
function tuning_station_index_svelte_create_if_block_4(ctx) {
	let div;
	let i;
	let i_class_value;
	let t0;
	let span;
	let t1_value = /*subCategory*/ ctx[86].name + "";
	let t1;
	let t2;
	let mounted;
	let dispose;

	function click_handler_1() {
		return /*click_handler_1*/ ctx[28](/*subCategory*/ ctx[86], /*index*/ ctx[85]);
	}

	return {
		c() {
			div = internal_element("div");
			i = internal_element("i");
			t0 = space();
			span = internal_element("span");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(i, "class", i_class_value = "tuning-station__navigation-button-icon tuning-station__navigation-button-icon ui-" + /*subCategory*/ ctx[86].icon);
			attr(span, "class", "tuning-station__navigation-button-text");
			attr(div, "class", "tuning-station__navigation-button");
			toggle_class(div, "tuning-station__navigation-button--active", /*subCategory*/ ctx[86].id === /*selectedSubCategory*/ ctx[5].id);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, i);
			append(div, t0);
			append(div, span);
			append(span, t1);
			append(div, t2);

			if (!mounted) {
				dispose = listen(div, "click", click_handler_1);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty[0] & /*subMenuItems, selectedCategory*/ 17 && i_class_value !== (i_class_value = "tuning-station__navigation-button-icon tuning-station__navigation-button-icon ui-" + /*subCategory*/ ctx[86].icon)) {
				attr(i, "class", i_class_value);
			}

			if (dirty[0] & /*subMenuItems, selectedCategory*/ 17 && t1_value !== (t1_value = /*subCategory*/ ctx[86].name + "")) set_data(t1, t1_value);

			if (dirty[0] & /*subMenuItems, selectedCategory, selectedSubCategory*/ 49) {
				toggle_class(div, "tuning-station__navigation-button--active", /*subCategory*/ ctx[86].id === /*selectedSubCategory*/ ctx[5].id);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (514:16) {#each row as subCategory}
function tuning_station_index_svelte_create_each_block_4(ctx) {
	let if_block_anchor;
	let if_block = !/*subCategory*/ ctx[86].empty && tuning_station_index_svelte_create_if_block_4(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
		},
		p(ctx, dirty) {
			if (!/*subCategory*/ ctx[86].empty) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = tuning_station_index_svelte_create_if_block_4(ctx);
					if_block.c();
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

// (513:12) {#each subMenuItems[selectedCategory.id] as row, index}
function tuning_station_index_svelte_create_each_block_3(ctx) {
	let each_1_anchor;
	let each_value_4 = /*row*/ ctx[83];
	let each_blocks = [];

	for (let i = 0; i < each_value_4.length; i += 1) {
		each_blocks[i] = tuning_station_index_svelte_create_each_block_4(tuning_station_index_svelte_get_each_context_4(ctx, each_value_4, i));
	}

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*subMenuItems, selectedCategory, selectedSubCategory, onSubCategoryClick*/ 65585) {
				each_value_4 = /*row*/ ctx[83];
				let i;

				for (i = 0; i < each_value_4.length; i += 1) {
					const child_ctx = tuning_station_index_svelte_get_each_context_4(ctx, each_value_4, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = tuning_station_index_svelte_create_each_block_4(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_4.length;
			}
		},
		d(detaching) {
			destroy_each(each_blocks, detaching);
			if (detaching) detach(each_1_anchor);
		}
	};
}

// (543:8) {#each carCharacteristics as characteristicItem}
function tuning_station_index_svelte_create_each_block_2(ctx) {
	let div;
	let carcharacteristic;
	let t;
	let current;

	carcharacteristic = new car_characteristic_index_svelte({
			props: {
				name: /*characteristicItem*/ ctx[80].name,
				max: /*characteristicItem*/ ctx[80].valueMax,
				value: /*characteristicItem*/ ctx[80].value,
				offset: /*characteristicItem*/ ctx[80].valueOffset
			}
		});

	return {
		c() {
			div = internal_element("div");
			create_component(carcharacteristic.$$.fragment);
			t = space();
			attr(div, "class", "tuning-station__characteristic-group");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(carcharacteristic, div, null);
			append(div, t);
			current = true;
		},
		p(ctx, dirty) {
			const carcharacteristic_changes = {};
			if (dirty[0] & /*carCharacteristics*/ 1024) carcharacteristic_changes.name = /*characteristicItem*/ ctx[80].name;
			if (dirty[0] & /*carCharacteristics*/ 1024) carcharacteristic_changes.max = /*characteristicItem*/ ctx[80].valueMax;
			if (dirty[0] & /*carCharacteristics*/ 1024) carcharacteristic_changes.value = /*characteristicItem*/ ctx[80].value;
			if (dirty[0] & /*carCharacteristics*/ 1024) carcharacteristic_changes.offset = /*characteristicItem*/ ctx[80].valueOffset;
			carcharacteristic.$set(carcharacteristic_changes);
		},
		i(local) {
			if (current) return;
			transition_in(carcharacteristic.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(carcharacteristic.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(carcharacteristic);
		}
	};
}

// (554:4) {#if !isNil(MAP_CATEGORY_SETTING_TO_COMPONENT[selectedSubCategory.type]) && selectedNavigationZone === NavigationZones.Gear}
function tuning_station_index_svelte_create_if_block_2(ctx) {
	let div;
	let switch_instance;
	let current;
	var switch_value = MAP_CATEGORY_SETTING_TO_COMPONENT[/*selectedSubCategory*/ ctx[5].type];

	function switch_props(ctx) {
		return {};
	}

	if (switch_value) {
		switch_instance = new switch_value(switch_props(ctx));
	}

	return {
		c() {
			div = internal_element("div");
			if (switch_instance) create_component(switch_instance.$$.fragment);
			attr(div, "class", "tuning-station__additional");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (switch_instance) {
				mount_component(switch_instance, div, null);
			}

			current = true;
		},
		p(ctx, dirty) {
			if (switch_value !== (switch_value = MAP_CATEGORY_SETTING_TO_COMPONENT[/*selectedSubCategory*/ ctx[5].type])) {
				if (switch_instance) {
					group_outros();
					const old_component = switch_instance;

					transition_out(old_component.$$.fragment, 1, 0, () => {
						destroy_component(old_component, 1);
					});

					check_outros();
				}

				if (switch_value) {
					switch_instance = new switch_value(switch_props(ctx));
					create_component(switch_instance.$$.fragment);
					transition_in(switch_instance.$$.fragment, 1);
					mount_component(switch_instance, div, null);
				} else {
					switch_instance = null;
				}
			} else if (switch_value) {
				
			}
		},
		i(local) {
			if (current) return;
			if (switch_instance) transition_in(switch_instance.$$.fragment, local);
			current = true;
		},
		o(local) {
			if (switch_instance) transition_out(switch_instance.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (switch_instance) destroy_component(switch_instance);
		}
	};
}

// (560:8) {#if selectedNavigationZone === NavigationZones.Gear}
function tuning_station_index_svelte_create_if_block_1(ctx) {
	let div;
	let current;
	let mounted;
	let dispose;
	let each_value_1 = /*shopItems*/ ctx[6];
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = tuning_station_index_svelte_create_each_block_1(tuning_station_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "tuning-station__gear-list");
			toggle_class(div, "tuning-station__gear-list--scrollable", /*shopItems*/ ctx[6].length > 7);
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}

			/*div_binding*/ ctx[34](div);
			current = true;

			if (!mounted) {
				dispose = [
					listen(div, "wheel", /*scrollHander*/ ctx[21]),
					listen(div, "mouseenter", /*mouseenter_handler*/ ctx[32]),
					listen(div, "mouseleave", /*mouseleave_handler*/ ctx[33])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty[0] & /*shopItems, selectedGear, selectGear, addToCart, removeFromCart*/ 17334592) {
				each_value_1 = /*shopItems*/ ctx[6];
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = tuning_station_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = tuning_station_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div, null);
					}
				}

				group_outros();

				for (i = each_value_1.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}

			if (dirty[0] & /*shopItems*/ 64) {
				toggle_class(div, "tuning-station__gear-list--scrollable", /*shopItems*/ ctx[6].length > 7);
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value_1.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
			/*div_binding*/ ctx[34](null);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (569:16) {#each shopItems as gear}
function tuning_station_index_svelte_create_each_block_1(ctx) {
	let gearitem;
	let current;

	function func() {
		return /*func*/ ctx[29](/*gear*/ ctx[77]);
	}

	function func_1() {
		return /*func_1*/ ctx[30](/*gear*/ ctx[77]);
	}

	function func_2() {
		return /*func_2*/ ctx[31](/*gear*/ ctx[77]);
	}

	gearitem = new tuning_gear_item_index_svelte({
			props: {
				gear: /*gear*/ ctx[77],
				active: !(0,lodash.isNil)(/*selectedGear*/ ctx[8])
				? /*gear*/ ctx[77].id === /*selectedGear*/ ctx[8].id
				: false,
				select: func,
				addToCart: func_1,
				removeFromCart: func_2
			}
		});

	return {
		c() {
			create_component(gearitem.$$.fragment);
		},
		m(target, anchor) {
			mount_component(gearitem, target, anchor);
			current = true;
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			const gearitem_changes = {};
			if (dirty[0] & /*shopItems*/ 64) gearitem_changes.gear = /*gear*/ ctx[77];

			if (dirty[0] & /*selectedGear, shopItems*/ 320) gearitem_changes.active = !(0,lodash.isNil)(/*selectedGear*/ ctx[8])
			? /*gear*/ ctx[77].id === /*selectedGear*/ ctx[8].id
			: false;

			if (dirty[0] & /*shopItems*/ 64) gearitem_changes.select = func;
			if (dirty[0] & /*shopItems*/ 64) gearitem_changes.addToCart = func_1;
			if (dirty[0] & /*shopItems*/ 64) gearitem_changes.removeFromCart = func_2;
			gearitem.$set(gearitem_changes);
		},
		i(local) {
			if (current) return;
			transition_in(gearitem.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(gearitem.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(gearitem, detaching);
		}
	};
}

// (581:12) {#each scrollKeys as key}
function tuning_station_index_svelte_create_each_block(ctx) {
	let actionbutton;
	let current;

	actionbutton = new index_svelte({
			props: {
				keyIcon: /*key*/ ctx[74].keycapIcon,
				keyCode: /*key*/ ctx[74].code,
				postActionTitle: /*key*/ ctx[74].text
			}
		});

	return {
		c() {
			create_component(actionbutton.$$.fragment);
		},
		m(target, anchor) {
			mount_component(actionbutton, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(actionbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(actionbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(actionbutton, detaching);
		}
	};
}

// (590:4) {#if cartVisible}
function tuning_station_index_svelte_create_if_block(ctx) {
	let cart_1;
	let current;

	cart_1 = new cart_index_svelte({
			props: {
				cart: /*cart*/ ctx[1],
				total: /*total*/ ctx[2],
				closeCart: /*showCart*/ ctx[22],
				clearCart: /*clearCart*/ ctx[23],
				removeFromCart: /*removeFromCart*/ ctx[24]
			}
		});

	return {
		c() {
			create_component(cart_1.$$.fragment);
		},
		m(target, anchor) {
			mount_component(cart_1, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const cart_1_changes = {};
			if (dirty[0] & /*cart*/ 2) cart_1_changes.cart = /*cart*/ ctx[1];
			if (dirty[0] & /*total*/ 4) cart_1_changes.total = /*total*/ ctx[2];
			cart_1.$set(cart_1_changes);
		},
		i(local) {
			if (current) return;
			transition_in(cart_1.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(cart_1.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(cart_1, detaching);
		}
	};
}

function tuning_station_index_svelte_create_fragment(ctx) {
	let div11;
	let div0;
	let t0;
	let div1;
	let i0;
	let t1;
	let span0;
	let t2;
	let t3;
	let div2;
	let t4;
	let t5;
	let div5;
	let actionbutton0;
	let t6;
	let div3;
	let span1;
	let t7_value = /*cart*/ ctx[1].length + "";
	let t7;
	let t8;
	let span2;
	let t9_value = formatMoney(/*total*/ ctx[2]) + "";
	let t9;
	let t10;
	let i1;
	let t11;
	let div4;
	let span3;
	let t13;
	let span4;
	let t14_value = formatMoney(/*$playerMoney*/ ctx[13]) + "";
	let t14;
	let t15;
	let div7;
	let div6;
	let t17;
	let t18;
	let show_if = !(0,lodash.isNil)(MAP_CATEGORY_SETTING_TO_COMPONENT[/*selectedSubCategory*/ ctx[5].type]) && /*selectedNavigationZone*/ ctx[3] === NavigationZones.Gear;
	let t19;
	let div10;
	let t20;
	let div8;
	let t21;
	let div9;
	let actionbutton1;
	let t22;
	let current;
	let mounted;
	let dispose;
	let each_value_5 = /*menuItems*/ ctx[14];
	let each_blocks_2 = [];

	for (let i = 0; i < each_value_5.length; i += 1) {
		each_blocks_2[i] = create_each_block_5(get_each_context_5(ctx, each_value_5, i));
	}

	let if_block0 = /*selectedNavigationZone*/ ctx[3] !== NavigationZones.Category && tuning_station_index_svelte_create_if_block_3(ctx);

	actionbutton0 = new index_svelte({
			props: {
				keyTitle: "Esc",
				keyCode: 27,
				postActionTitle: "Закрыть",
				onPressed: /*exit*/ ctx[25]
			}
		});

	let each_value_2 = /*carCharacteristics*/ ctx[10];
	let each_blocks_1 = [];

	for (let i = 0; i < each_value_2.length; i += 1) {
		each_blocks_1[i] = tuning_station_index_svelte_create_each_block_2(tuning_station_index_svelte_get_each_context_2(ctx, each_value_2, i));
	}

	const out = i => transition_out(each_blocks_1[i], 1, 1, () => {
		each_blocks_1[i] = null;
	});

	let if_block1 = show_if && tuning_station_index_svelte_create_if_block_2(ctx);
	let if_block2 = /*selectedNavigationZone*/ ctx[3] === NavigationZones.Gear && tuning_station_index_svelte_create_if_block_1(ctx);
	let each_value = /*scrollKeys*/ ctx[18];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = tuning_station_index_svelte_create_each_block(tuning_station_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out_1 = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	actionbutton1 = new index_svelte({
			props: {
				keyTitle: 'Enter',
				keyCode: 13,
				postActionTitle: 'Добавить в корзину / выбрать'
			}
		});

	let if_block3 = /*cartVisible*/ ctx[7] && tuning_station_index_svelte_create_if_block(ctx);

	return {
		c() {
			div11 = internal_element("div");
			div0 = internal_element("div");
			t0 = space();
			div1 = internal_element("div");
			i0 = internal_element("i");
			t1 = space();
			span0 = internal_element("span");
			t2 = internal_text(/*carName*/ ctx[9]);
			t3 = space();
			div2 = internal_element("div");

			for (let i = 0; i < each_blocks_2.length; i += 1) {
				each_blocks_2[i].c();
			}

			t4 = space();
			if (if_block0) if_block0.c();
			t5 = space();
			div5 = internal_element("div");
			create_component(actionbutton0.$$.fragment);
			t6 = space();
			div3 = internal_element("div");
			span1 = internal_element("span");
			t7 = internal_text(t7_value);
			t8 = space();
			span2 = internal_element("span");
			t9 = internal_text(t9_value);
			t10 = space();
			i1 = internal_element("i");
			t11 = space();
			div4 = internal_element("div");
			span3 = internal_element("span");
			span3.textContent = "$";
			t13 = space();
			span4 = internal_element("span");
			t14 = internal_text(t14_value);
			t15 = space();
			div7 = internal_element("div");
			div6 = internal_element("div");
			div6.textContent = "Характеристики";
			t17 = space();

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].c();
			}

			t18 = space();
			if (if_block1) if_block1.c();
			t19 = space();
			div10 = internal_element("div");
			if (if_block2) if_block2.c();
			t20 = space();
			div8 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t21 = space();
			div9 = internal_element("div");
			create_component(actionbutton1.$$.fragment);
			t22 = space();
			if (if_block3) if_block3.c();
			attr(div0, "class", "tuning-station__bg-gradient");
			attr(i0, "class", "tuning-station__title-icon ui-car");
			attr(span0, "class", "tuning-station__title");
			attr(div1, "class", "tuning-station__title-wrapper");
			attr(div2, "class", "tuning-station__navigation-categories");
			attr(span1, "class", "tuning-station__cart-button-badge");
			attr(span2, "class", "tuning-station__cart-button-total");
			attr(i1, "class", "tuning-station__cart-button-icon ui-cart");
			attr(div3, "class", "tuning-station__cart-button");
			toggle_class(div3, "tuning-station__cart-button--available", /*$playerMoney*/ ctx[13] >= /*total*/ ctx[2]);
			attr(span3, "class", "tuning-station__player-money-dollar");
			attr(span4, "class", "tuning-station__player-money-value");
			attr(div4, "class", "tuning-station__player-money");
			attr(div5, "class", "tuning-station__money-info");
			attr(div6, "class", "tuning-station__characteristic-caption");
			attr(div7, "class", "tuning-station__characteristic");
			attr(div8, "class", "tuning-station__scroll-buttons");
			attr(div9, "class", "tuning-station__add-to-cart-button");
			attr(div10, "class", "tuning-station__bottom-bar");
			attr(div11, "class", "tuning-station");
		},
		m(target, anchor) {
			insert(target, div11, anchor);
			append(div11, div0);
			append(div11, t0);
			append(div11, div1);
			append(div1, i0);
			append(div1, t1);
			append(div1, span0);
			append(span0, t2);
			append(div11, t3);
			append(div11, div2);

			for (let i = 0; i < each_blocks_2.length; i += 1) {
				each_blocks_2[i].m(div2, null);
			}

			append(div11, t4);
			if (if_block0) if_block0.m(div11, null);
			append(div11, t5);
			append(div11, div5);
			mount_component(actionbutton0, div5, null);
			append(div5, t6);
			append(div5, div3);
			append(div3, span1);
			append(span1, t7);
			append(div3, t8);
			append(div3, span2);
			append(span2, t9);
			append(div3, t10);
			append(div3, i1);
			append(div5, t11);
			append(div5, div4);
			append(div4, span3);
			append(div4, t13);
			append(div4, span4);
			append(span4, t14);
			append(div11, t15);
			append(div11, div7);
			append(div7, div6);
			append(div7, t17);

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].m(div7, null);
			}

			append(div11, t18);
			if (if_block1) if_block1.m(div11, null);
			append(div11, t19);
			append(div11, div10);
			if (if_block2) if_block2.m(div10, null);
			append(div10, t20);
			append(div10, div8);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div8, null);
			}

			append(div10, t21);
			append(div10, div9);
			mount_component(actionbutton1, div9, null);
			append(div11, t22);
			if (if_block3) if_block3.m(div11, null);
			current = true;

			if (!mounted) {
				dispose = [
					listen(window, "keydown", /*keydown_handler*/ ctx[26]),
					listen(div3, "click", /*showCart*/ ctx[22])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (!current || dirty[0] & /*carName*/ 512) set_data(t2, /*carName*/ ctx[9]);

			if (dirty[0] & /*menuItems, selectedCategory, onCategoryClick*/ 147472) {
				each_value_5 = /*menuItems*/ ctx[14];
				let i;

				for (i = 0; i < each_value_5.length; i += 1) {
					const child_ctx = get_each_context_5(ctx, each_value_5, i);

					if (each_blocks_2[i]) {
						each_blocks_2[i].p(child_ctx, dirty);
					} else {
						each_blocks_2[i] = create_each_block_5(child_ctx);
						each_blocks_2[i].c();
						each_blocks_2[i].m(div2, null);
					}
				}

				for (; i < each_blocks_2.length; i += 1) {
					each_blocks_2[i].d(1);
				}

				each_blocks_2.length = each_value_5.length;
			}

			if (/*selectedNavigationZone*/ ctx[3] !== NavigationZones.Category) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = tuning_station_index_svelte_create_if_block_3(ctx);
					if_block0.c();
					if_block0.m(div11, t5);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if ((!current || dirty[0] & /*cart*/ 2) && t7_value !== (t7_value = /*cart*/ ctx[1].length + "")) set_data(t7, t7_value);
			if ((!current || dirty[0] & /*total*/ 4) && t9_value !== (t9_value = formatMoney(/*total*/ ctx[2]) + "")) set_data(t9, t9_value);

			if (dirty[0] & /*$playerMoney, total*/ 8196) {
				toggle_class(div3, "tuning-station__cart-button--available", /*$playerMoney*/ ctx[13] >= /*total*/ ctx[2]);
			}

			if ((!current || dirty[0] & /*$playerMoney*/ 8192) && t14_value !== (t14_value = formatMoney(/*$playerMoney*/ ctx[13]) + "")) set_data(t14, t14_value);

			if (dirty[0] & /*carCharacteristics*/ 1024) {
				each_value_2 = /*carCharacteristics*/ ctx[10];
				let i;

				for (i = 0; i < each_value_2.length; i += 1) {
					const child_ctx = tuning_station_index_svelte_get_each_context_2(ctx, each_value_2, i);

					if (each_blocks_1[i]) {
						each_blocks_1[i].p(child_ctx, dirty);
						transition_in(each_blocks_1[i], 1);
					} else {
						each_blocks_1[i] = tuning_station_index_svelte_create_each_block_2(child_ctx);
						each_blocks_1[i].c();
						transition_in(each_blocks_1[i], 1);
						each_blocks_1[i].m(div7, null);
					}
				}

				group_outros();

				for (i = each_value_2.length; i < each_blocks_1.length; i += 1) {
					out(i);
				}

				check_outros();
			}

			if (dirty[0] & /*selectedSubCategory, selectedNavigationZone*/ 40) show_if = !(0,lodash.isNil)(MAP_CATEGORY_SETTING_TO_COMPONENT[/*selectedSubCategory*/ ctx[5].type]) && /*selectedNavigationZone*/ ctx[3] === NavigationZones.Gear;

			if (show_if) {
				if (if_block1) {
					if_block1.p(ctx, dirty);

					if (dirty[0] & /*selectedSubCategory, selectedNavigationZone*/ 40) {
						transition_in(if_block1, 1);
					}
				} else {
					if_block1 = tuning_station_index_svelte_create_if_block_2(ctx);
					if_block1.c();
					transition_in(if_block1, 1);
					if_block1.m(div11, t19);
				}
			} else if (if_block1) {
				group_outros();

				transition_out(if_block1, 1, 1, () => {
					if_block1 = null;
				});

				check_outros();
			}

			if (/*selectedNavigationZone*/ ctx[3] === NavigationZones.Gear) {
				if (if_block2) {
					if_block2.p(ctx, dirty);

					if (dirty[0] & /*selectedNavigationZone*/ 8) {
						transition_in(if_block2, 1);
					}
				} else {
					if_block2 = tuning_station_index_svelte_create_if_block_1(ctx);
					if_block2.c();
					transition_in(if_block2, 1);
					if_block2.m(div10, t20);
				}
			} else if (if_block2) {
				group_outros();

				transition_out(if_block2, 1, 1, () => {
					if_block2 = null;
				});

				check_outros();
			}

			if (dirty[0] & /*scrollKeys*/ 262144) {
				each_value = /*scrollKeys*/ ctx[18];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = tuning_station_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = tuning_station_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div8, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out_1(i);
				}

				check_outros();
			}

			if (/*cartVisible*/ ctx[7]) {
				if (if_block3) {
					if_block3.p(ctx, dirty);

					if (dirty[0] & /*cartVisible*/ 128) {
						transition_in(if_block3, 1);
					}
				} else {
					if_block3 = tuning_station_index_svelte_create_if_block(ctx);
					if_block3.c();
					transition_in(if_block3, 1);
					if_block3.m(div11, null);
				}
			} else if (if_block3) {
				group_outros();

				transition_out(if_block3, 1, 1, () => {
					if_block3 = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(actionbutton0.$$.fragment, local);

			for (let i = 0; i < each_value_2.length; i += 1) {
				transition_in(each_blocks_1[i]);
			}

			transition_in(if_block1);
			transition_in(if_block2);

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			transition_in(actionbutton1.$$.fragment, local);
			transition_in(if_block3);
			current = true;
		},
		o(local) {
			transition_out(actionbutton0.$$.fragment, local);
			each_blocks_1 = each_blocks_1.filter(Boolean);

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				transition_out(each_blocks_1[i]);
			}

			transition_out(if_block1);
			transition_out(if_block2);
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			transition_out(actionbutton1.$$.fragment, local);
			transition_out(if_block3);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div11);
			destroy_each(each_blocks_2, detaching);
			if (if_block0) if_block0.d();
			destroy_component(actionbutton0);
			destroy_each(each_blocks_1, detaching);
			if (if_block1) if_block1.d();
			if (if_block2) if_block2.d();
			destroy_each(each_blocks, detaching);
			destroy_component(actionbutton1);
			if (if_block3) if_block3.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function tuning_station_index_svelte_instance($$self, $$props, $$invalidate) {
	let $sliders;
	let $tintingWindows;
	let $colorsCount;
	let $secondColor;
	let $firstColor;
	let $tintingColors;
	let $tintingSelectedColor;
	let $tintingOpacity;
	let $selectedTintingWindowId;
	let $playerMoney;
	component_subscribe($$self, sliders, $$value => $$invalidate(38, $sliders = $$value));
	component_subscribe($$self, tintingWindows, $$value => $$invalidate(39, $tintingWindows = $$value));
	component_subscribe($$self, colorsCount, $$value => $$invalidate(40, $colorsCount = $$value));
	component_subscribe($$self, secondColor, $$value => $$invalidate(41, $secondColor = $$value));
	component_subscribe($$self, firstColor, $$value => $$invalidate(42, $firstColor = $$value));
	component_subscribe($$self, tintingColors, $$value => $$invalidate(43, $tintingColors = $$value));
	component_subscribe($$self, tintingSelectedColor, $$value => $$invalidate(44, $tintingSelectedColor = $$value));
	component_subscribe($$self, tintingOpacity, $$value => $$invalidate(45, $tintingOpacity = $$value));
	component_subscribe($$self, selectedTintingWindowId, $$value => $$invalidate(46, $selectedTintingWindowId = $$value));
	component_subscribe($$self, playerMoney, $$value => $$invalidate(13, $playerMoney = $$value));
	const tintedWindowsIds = [];
	const menuItems = [];
	const subMenuItems = [];
	let cart = [];
	let total = 0;
	let selectedNavigationZone = NavigationZones.Category;
	let selectedCategory = {};
	let selectedSubCategory = {};
	let currentSubCategoryRow = 0;
	let shopCollection = [];
	let shopItems = [];
	let allMenuItems = [];
	let cartVisible = false;
	let selectedGear = {};
	let carName = '';
	let carCharacteristics = [];
	let scrollableGearList = null;
	let gearListHovered = false;

	const selectGear = gear => {
		if ((0,lodash.isNil)(gear)) {
			$$invalidate(8, [selectedGear] = shopItems, selectedGear);
			return;
		}

		if ((0,lodash.isNil)(gear.id)) {
			$$invalidate(8, [selectedGear] = shopItems, selectedGear);
			return;
		}

		if (gear.id === selectedGear.id) {
			return;
		}

		if (tintedWindowsIds.includes(gear.id)) {
			$tintingWindows.forEach(windowItem => {
				if (windowItem.id === gear.id) {
					set_store_value(selectedTintingWindowId, $selectedTintingWindowId = gear.id, $selectedTintingWindowId);
					set_store_value(tintingOpacity, $tintingOpacity = [windowItem.opacity], $tintingOpacity);

					$tintingColors.forEach(color => {
						if (windowItem.color === color.int) {
							set_store_value(tintingSelectedColor, $tintingSelectedColor = color.id, $tintingSelectedColor);
						}
					});
				}
			});
		}

		sendClientMessage('updateDashboard', `{"component": ${gear.id}}`);
		$$invalidate(8, selectedGear = gear);
	};

	const selectSubCategory = subCategory => {
		sendClientMessage('updateCategory', `{"category": ${subCategory.id}}`);
		$$invalidate(5, selectedSubCategory = subCategory);
		$$invalidate(6, shopItems = shopCollection.filter(item => item.categoryId === selectedSubCategory.id));

		shopItems.forEach((item, i) => {
			$$invalidate(6, shopItems[i].index = i, shopItems);
		});
	};

	const onSubCategoryClick = (subCategory, rowIndex) => {
		currentSubCategoryRow = rowIndex;
		selectSubCategory(subCategory);
		$$invalidate(3, selectedNavigationZone = NavigationZones.Gear);

		if (!(0,lodash.isEmpty)(shopItems)) {
			selectGear(shopItems[0]);
		}
	};

	const selectCategory = category => {
		$$invalidate(4, selectedCategory = category);
		sendClientMessage('updateCategory', `{"category": ${category.id}}`);
	};

	const onCategoryClick = category => {
		selectCategory(category);
		onSubCategoryClick(subMenuItems[category.id][0][0], 0);
	}; // selectedNavigationZone = NavigationZones.SubCategory;

	const scrollKeys = [
		{
			code: 37,
			keycapIcon: 'ui-left-chevron',
			onPressed: () => {
				switch (selectedNavigationZone) {
					case NavigationZones.Category:
						if (selectedCategory.index - 1 < 0) {
							selectCategory(menuItems[menuItems.length - 1]);
							return;
						}
						// const prevCategory = menuItems[selectedCategory.index - 1];
						selectCategory(menuItems[selectedCategory.index - 1]);
						break;
					case NavigationZones.SubCategory:
						if (selectedSubCategory.index - 1 < 0) {
							// eslint-disable-next-line max-len
							const lastItemOfSubCategoryRow = subMenuItems[selectedCategory.id][currentSubCategoryRow][subMenuItems[selectedCategory.id][currentSubCategoryRow].length - 1];

							selectSubCategory(lastItemOfSubCategoryRow);
							return;
						}
						$$invalidate(6, shopItems = []);
						// const prevSubCategory = subMenuItems[selectedCategory.id][currentSubCategoryRow][selectedSubCategory.index - 1];
						selectSubCategory(subMenuItems[selectedCategory.id][currentSubCategoryRow][selectedSubCategory.index - 1]);
						break;
					case NavigationZones.Gear:
						if ((0,lodash.isNil)(selectedGear) || (0,lodash.isEmpty)(shopItems)) {
							return;
						}
						if (selectedGear.index - 1 < 0) {
							return;
						}
						// const previousGear = shopItems[selectedGear.index - 1];
						selectGear(shopItems[selectedGear.index - 1]);
						if (selectedGear.index < shopItems.length - 6) {
							// scrollableGearList.scrollLeft = scrollableGearList.childNodes[0].offsetWidth * selectedGear.index;
							$$invalidate(11, scrollableGearList.scrollLeft -= scrollableGearList.childNodes[0].offsetWidth, scrollableGearList);
						}
						break;
					default:
						break;
				}
			}
		},
		{
			code: 39,
			keycapIcon: 'ui-right-chevron',
			onPressed: () => {
				switch (selectedNavigationZone) {
					case NavigationZones.Category:
						if (selectedCategory.index + 1 >= menuItems.length) {
							selectCategory(menuItems[0]);
							return;
						}
						// const nextCategory = menuItems[selectedCategory.index + 1];
						selectCategory(menuItems[selectedCategory.index + 1]);
						break;
					case NavigationZones.SubCategory:
						if (selectedSubCategory.index + 1 >= subMenuItems[selectedCategory.id][currentSubCategoryRow].length) {
							selectSubCategory(subMenuItems[selectedCategory.id][currentSubCategoryRow][0]);
							return;
						}
						// const nextSubCategory = subMenuItems[selectedCategory.id][currentSubCategoryRow][selectedSubCategory.index + 1];
						selectSubCategory(subMenuItems[selectedCategory.id][currentSubCategoryRow][selectedSubCategory.index + 1]);
						break;
					case NavigationZones.Gear:
						if ((0,lodash.isNil)(selectedGear) || (0,lodash.isEmpty)(shopItems)) {
							return;
						}
						if (selectedGear.index + 1 >= shopItems.length) {
							return;
						}
						// const nextGear = shopItems[selectedGear.index + 1];
						selectGear(shopItems[selectedGear.index + 1]);
						if (selectedGear.index > 6) {
							$$invalidate(11, scrollableGearList.scrollLeft += scrollableGearList.childNodes[0].offsetWidth, scrollableGearList);
						}
						break;
					default:
						break;
				}
			},
			text: 'Листать'
		}
	];

	const nextZone = () => {
		switch (selectedNavigationZone) {
			case NavigationZones.Category:
				if ((0,lodash.isEmpty)(subMenuItems[selectedCategory.id])) {
					return;
				}
				$$invalidate(3, selectedNavigationZone = NavigationZones.SubCategory);
				selectSubCategory(subMenuItems[selectedCategory.id][currentSubCategoryRow][0]);
				break;
			case NavigationZones.SubCategory:
				if (currentSubCategoryRow + 1 < subMenuItems[selectedCategory.id].length) {
					currentSubCategoryRow += 1;
					const lastRowIndex = subMenuItems[selectedCategory.id][currentSubCategoryRow].length;

					if (selectedSubCategory.index + 1 >= lastRowIndex) {
						selectSubCategory(subMenuItems[selectedCategory.id][currentSubCategoryRow][lastRowIndex - 1]);
					} else {
						selectSubCategory(subMenuItems[selectedCategory.id][currentSubCategoryRow][selectedSubCategory.index]);
					}

					return;
				}
				$$invalidate(3, selectedNavigationZone = NavigationZones.Gear);
				if (!(0,lodash.isEmpty)(shopItems)) {
					selectGear(shopItems[0]);
				}
				break;
			default:
				break;
		}
	};

	const prevZone = () => {
		switch (selectedNavigationZone) {
			case NavigationZones.SubCategory:
				if (currentSubCategoryRow !== 0) {
					currentSubCategoryRow -= 1;
					$$invalidate(5, selectedSubCategory = subMenuItems[selectedCategory.id][currentSubCategoryRow][selectedSubCategory.index]);
					sendClientMessage('updateCategory', `{"category": ${selectedSubCategory.id}}`);
					return;
				}
				$$invalidate(3, selectedNavigationZone = NavigationZones.Category);
				break;
			case NavigationZones.Gear:
				sendClientMessage('updateCategory', `{"category": ${selectedSubCategory.id}}`);
				$$invalidate(3, selectedNavigationZone = NavigationZones.SubCategory);
				break;
			default:
				break;
		}
	};

	const addToCart = gear => {
		if (selectedNavigationZone !== NavigationZones.Gear) {
			return;
		}

		if ((0,lodash.isNil)(gear)) {
			return;
		}

		if (gear.installed) {
			return;
		}

		if (gear.inCart) {
			sendClientMessage('cartRemove', `{"component": ${gear.id}}`);
			$$invalidate(8, selectedGear.inCart = false, selectedGear);
		} else {
			sendClientMessage('cartAdd', `{"component": ${gear.id}}`);
			$$invalidate(8, selectedGear.inCart = true, selectedGear);
		}
	};

	const keyDonwHandler = event => {
		switch (event.keyCode) {
			case 37:
				scrollKeys[0].onPressed();
				break;
			case 38:
				prevZone();
				break;
			case 39:
				scrollKeys[1].onPressed();
				break;
			case 40:
				nextZone();
				break;
			case 13:
				if (selectedNavigationZone === NavigationZones.Category) {
					onCategoryClick(selectedCategory);
				} else if (selectedNavigationZone === NavigationZones.SubCategory) {
					onSubCategoryClick(selectedSubCategory, currentSubCategoryRow);
				} else {
					addToCart(selectedGear);
				}
				break;
			default:
				break;
		}
	};

	const scrollHander = event => {
		const scrollOffset = scrollableGearList.childNodes[0].offsetWidth;

		if (event.wheelDelta < 0) {
			$$invalidate(11, scrollableGearList.scrollLeft += scrollOffset, scrollableGearList);
		} else {
			$$invalidate(11, scrollableGearList.scrollLeft -= scrollOffset, scrollableGearList);
		}
	};

	const showCart = () => {
		$$invalidate(7, cartVisible = !cartVisible);
	};

	const clearCart = () => {
		sendClientMessage('cartClear');
		showCart();
	};

	const removeFromCart = gearId => {
		sendClientMessage('cartRemove', `{"component": ${gearId}}`);
	};

	const initializeGearsItems = items => {
		shopCollection = [...shopCollection, ...items];
	};

	const initializeColors = colorsData => {
		set_store_value(tintingColors, $tintingColors = [], $tintingColors);

		colorsData.forEach((color, index) => {
			$tintingColors.push({
				id: index,
				int: color,
				hex: `#${color.toString(16).padStart(8, '0')}`
			});
		});
	};

	const initializeTintedWindows = windowsData => {
		set_store_value(tintingWindows, $tintingWindows = windowsData, $tintingWindows);

		windowsData.forEach(windowItem => {
			tintedWindowsIds.push(windowItem.id);
		});
	};

	const initializeMenu = menu => {
		allMenuItems = [...allMenuItems, ...menu];

		allMenuItems.forEach((item, index) => {
			if ((0,lodash.isNil)(item.parentId)) {
				menuItems.push({
					index,
					...item,
					icon: item.icon.split('.')[0]
				});

				$$invalidate(0, subMenuItems[item.id] = [], subMenuItems);
			}
		});

		menuItems.forEach(parentItem => {
			let index = 0;
			$$invalidate(0, subMenuItems[parentItem.id] = [], subMenuItems);

			allMenuItems.forEach(menuItem => {
				if (parentItem.id === menuItem.parentId) {
					const empty = (0,lodash.isEmpty)(shopCollection.filter(item => item.categoryId === menuItem.id));

					if (!empty) {
						subMenuItems[parentItem.id].push({
							index,
							...menuItem,
							empty,
							icon: menuItem.icon.split('.')[0]
						});

						index += 1;
					}
				}

				if (index === 5) {
					index = 0;
				}
			});

			$$invalidate(0, subMenuItems[parentItem.id] = (0,lodash.chunk)(subMenuItems[parentItem.id], 5), subMenuItems);
		});

		// selectCategory(menuItems[0]);
		onCategoryClick(menuItems[0]);
	};

	const initializeCarInfo = carData => {
		$$invalidate(9, carName = carData.carName);
		$$invalidate(2, total = Number(carData.cartCount));
	};

	const initializeColorsSelected = colorsData => {
		set_store_value(firstColor, [$firstColor] = colorsData, $firstColor);
		set_store_value(secondColor, $secondColor = colorsData[2] > 1 ? colorsData[1] : -1, $secondColor);
		set_store_value(colorsCount, [,,$colorsCount] = colorsData, $colorsCount);
	};

	const updateTintedWindow = tintedWindowData => {
		set_store_value(tintingWindows, $tintingWindows = tintedWindowData, $tintingWindows);
	};

	const initializeDashboardSliders = dashboardData => {
		set_store_value(sliders, $sliders = [], $sliders);

		dashboardData.forEach((sliderDtoItem, index) => {
			set_store_value(
				sliders,
				$sliders[index] = {
					...sliderDtoItem,
					value: [sliderDtoItem.value]
				},
				$sliders
			);
		});
	};

	const initializeDashboardProperties = dashboardData => {
		$$invalidate(10, carCharacteristics = dashboardData);
	};

	const updateCart = cartData => {
		if ((0,lodash.isEmpty)(cartData)) {
			$$invalidate(2, total = 0);
		}

		$$invalidate(1, cart = shopCollection.filter(gearItem => cartData.includes(gearItem.id)));
	};

	const updateCategoryComponent = updatedComponent => {
		shopCollection = shopCollection.map((gear, i) => {
			if (gear.id === updatedComponent.id) {
				// gear = { ...updatedComponent, index: gear.index };
				shopCollection[i] = { ...updatedComponent, index: gear.index };
			}

			return shopCollection[i];
		});

		$$invalidate(6, shopItems = shopItems.map((gear, i) => {
			if (gear.id === updatedComponent.id) {
				// gear = { ...updatedComponent, index: gear.index };
				$$invalidate(6, shopItems[i] = { ...updatedComponent, index: gear.index }, shopItems);
			}

			return shopItems[i];
		}));
	};

	const exit = () => {
		if (cartVisible) {
			return;
		}

		sendClientMessage('exit');
	};

	const unregisterInitializeMenu = registerEvent('event.tuning.loadCategories', initializeMenu);
	const unregisterInitializeGearsItems = registerEvent('event.tuning.loadCategoryComponents', initializeGearsItems);
	const unregisterInitializeTintedColors = registerEvent('event.tuning.loadTintedWindowColors', initializeColors);
	const unregisterInitializeTintedWindows = registerEvent('event.tuning.loadTintedWindows', initializeTintedWindows);
	const unregisterInitializeVisualData = registerEvent('event.tuning.setClientVisualData', initializeCarInfo);
	const unregisterInitializeColorsSelected = registerEvent('event.tuning.setColorsSelected', initializeColorsSelected);
	const unregisterUpdateTintedWindow = registerEvent('event.tuning.updateTintedWindow', updateTintedWindow);
	const unregisterSetDashboardProperties = registerEvent('event.tuning.setDashboardProperties', initializeDashboardProperties);
	const unregisterUpdateDashboardSliders = registerEvent('event.tuning.setDashboardSliders', initializeDashboardSliders);
	const unregisterUpdateCart = registerEvent('event.tuning.updateCart', updateCart);
	const unregisterUpdateCategoryComponent = registerEvent('event.tuning.updateCategoryComponent', updateCategoryComponent);

	// initializeGearsItems(GEARS_MOCK);
	// initializeMenu(MENU_MOCK);
	// initializeCarInfo(CAR_INFO_MOCK);
	// initializeColors(COLORS_MOCK);
	// initializeDashboardProperties(CHARACTERISTICS_MOCK);
	// initializeTintedWindows(TINTED_WINDOWS_MOCK);
	// initializeColorsSelected([0, 0, 2]);
	// initializeDashboardSliders(DASHBOARD_SLIDERS_MOCK);
	onDestroy(() => {
		unregisterInitializeMenu();
		unregisterInitializeGearsItems();
		unregisterInitializeTintedColors();
		unregisterInitializeTintedWindows();
		unregisterInitializeVisualData();
		unregisterInitializeColorsSelected();
		unregisterUpdateTintedWindow();
		unregisterUpdateDashboardSliders();
		unregisterSetDashboardProperties();
		unregisterUpdateCart();
		unregisterUpdateCategoryComponent();
	});

	const keydown_handler = event => keyDonwHandler(event);
	const click_handler = category => onCategoryClick(category);
	const click_handler_1 = (subCategory, index) => onSubCategoryClick(subCategory, index);
	const func = gear => selectGear(gear);
	const func_1 = gear => addToCart(gear);
	const func_2 = gear => removeFromCart(gear.id);

	const mouseenter_handler = () => {
		$$invalidate(12, gearListHovered = true);
	};

	const mouseleave_handler = () => {
		$$invalidate(12, gearListHovered = false);
	};

	function div_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			scrollableGearList = $$value;
			$$invalidate(11, scrollableGearList);
		});
	}

	return [
		subMenuItems,
		cart,
		total,
		selectedNavigationZone,
		selectedCategory,
		selectedSubCategory,
		shopItems,
		cartVisible,
		selectedGear,
		carName,
		carCharacteristics,
		scrollableGearList,
		gearListHovered,
		$playerMoney,
		menuItems,
		selectGear,
		onSubCategoryClick,
		onCategoryClick,
		scrollKeys,
		addToCart,
		keyDonwHandler,
		scrollHander,
		showCart,
		clearCart,
		removeFromCart,
		exit,
		keydown_handler,
		click_handler,
		click_handler_1,
		func,
		func_1,
		func_2,
		mouseenter_handler,
		mouseleave_handler,
		div_binding
	];
}

class Tuning_station extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, tuning_station_index_svelte_instance, tuning_station_index_svelte_create_fragment, safe_not_equal, {}, null, [-1, -1, -1]);
	}
}

/* harmony default export */ const tuning_station_index_svelte = (Tuning_station);
;// CONCATENATED MODULE: ./src/views/inventory/components/search/index.svelte
/* src\views\inventory\components\search\index.svelte generated by Svelte v3.49.0 */






function search_index_svelte_create_else_block(ctx) {
	let i;
	let i_class_value;

	return {
		c() {
			i = internal_element("i");

			attr(i, "class", i_class_value = "inventory-search__search-icon ui-azpotify-magnifier " + (/*focused*/ ctx[3]
			? "inventory-search__search-icon--focused"
			: ""));
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*focused*/ 8 && i_class_value !== (i_class_value = "inventory-search__search-icon ui-azpotify-magnifier " + (/*focused*/ ctx[3]
			? "inventory-search__search-icon--focused"
			: ""))) {
				attr(i, "class", i_class_value);
			}
		},
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (79:4) {#if searchQuery.length}
function search_index_svelte_create_if_block(ctx) {
	let i;
	let mounted;
	let dispose;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "inventory-search__search-close ui-close");
		},
		m(target, anchor) {
			insert(target, i, anchor);

			if (!mounted) {
				dispose = listen(i, "click", /*clearQuery*/ ctx[4]);
				mounted = true;
			}
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(i);
			mounted = false;
			dispose();
		}
	};
}

function components_search_index_svelte_create_fragment(ctx) {
	let div1;
	let div0;
	let input;
	let t;
	let div1_class_value;
	let mounted;
	let dispose;

	function select_block_type(ctx, dirty) {
		if (/*searchQuery*/ ctx[0].length) return search_index_svelte_create_if_block;
		return search_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block = current_block_type(ctx);

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			input = internal_element("input");
			t = space();
			if_block.c();
			attr(input, "type", "text");
			attr(input, "class", "inventory-search__search-field");
			attr(input, "spellcheck", "false");
			attr(input, "placeholder", "ПОИСК");
			input.value = /*inputValue*/ ctx[2];
			attr(div0, "class", "inventory-search__search");

			attr(div1, "class", div1_class_value = "inventory-search " + (/*inventoryId*/ ctx[1] === -1
			? ''
			: `inventory-search__inventory${/*inventoryId*/ ctx[1]}`));
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, input);
			append(div0, t);
			if_block.m(div0, null);

			if (!mounted) {
				dispose = [
					listen(input, "input", /*handleInput*/ ctx[5]),
					listen(input, "focus", /*focus_handler*/ ctx[9]),
					listen(input, "blur", /*blur_handler*/ ctx[10])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*inputValue*/ 4 && input.value !== /*inputValue*/ ctx[2]) {
				input.value = /*inputValue*/ ctx[2];
			}

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div0, null);
				}
			}

			if (dirty & /*inventoryId*/ 2 && div1_class_value !== (div1_class_value = "inventory-search " + (/*inventoryId*/ ctx[1] === -1
			? ''
			: `inventory-search__inventory${/*inventoryId*/ ctx[1]}`))) {
				attr(div1, "class", div1_class_value);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
			if_block.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function components_search_index_svelte_instance($$self, $$props, $$invalidate) {
	let previousSearchQuery;
	let { inventoryId = -1 } = $$props;
	let { loading = false } = $$props;
	let { searchQuery = '' } = $$props;
	let focused = false;
	let inputValue = '';

	const clearQuery = () => {
		$$invalidate(2, inputValue = '');
		$$invalidate(0, searchQuery = '');
		$$invalidate(7, loading = false);
	};

	const doSearch = value => {
		if ((0,lodash.isEmpty)(value)) {
			clearQuery();
			return;
		}

		$$invalidate(0, searchQuery = value);
		$$invalidate(7, loading = false);
	};

	const debounce = (fn, delay) => {
		let timeout;

		return (...args) => {
			clearTimeout(timeout);

			timeout = setTimeout(
				() => {
					fn(...args);
				},
				delay
			);
		};
	};

	const debouncedSearch = debounce(
		value => {
			doSearch(value);
		},
		500
	);

	const handleInput = event => {
		$$invalidate(2, inputValue = event.target.value);
		$$invalidate(7, loading = true);
		debouncedSearch(inputValue);
	};

	const onFocus = focus => {
		$$invalidate(3, focused = focus);
	};

	onMount(() => {
		clearQuery();
	});

	const focus_handler = () => onFocus(true);
	const blur_handler = () => onFocus(false);

	$$self.$$set = $$props => {
		if ('inventoryId' in $$props) $$invalidate(1, inventoryId = $$props.inventoryId);
		if ('loading' in $$props) $$invalidate(7, loading = $$props.loading);
		if ('searchQuery' in $$props) $$invalidate(0, searchQuery = $$props.searchQuery);
	};

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*searchQuery, previousSearchQuery, inputValue*/ 261) {
			$: {
				if (searchQuery === '' && previousSearchQuery !== '' && inputValue !== '') {
					$$invalidate(2, inputValue = '');
				}

				$$invalidate(8, previousSearchQuery = searchQuery);
			}
		}
	};

	$: $$invalidate(8, previousSearchQuery = '');

	return [
		searchQuery,
		inventoryId,
		inputValue,
		focused,
		clearQuery,
		handleInput,
		onFocus,
		loading,
		previousSearchQuery,
		focus_handler,
		blur_handler
	];
}

class index_svelte_Search extends SvelteComponent {
	constructor(options) {
		super();

		init(this, options, components_search_index_svelte_instance, components_search_index_svelte_create_fragment, safe_not_equal, {
			inventoryId: 1,
			loading: 7,
			searchQuery: 0
		});
	}
}

/* harmony default export */ const components_search_index_svelte = (index_svelte_Search);
;// CONCATENATED MODULE: ./src/views/inventory/components/loader/index.svelte
/* src\views\inventory\components\loader\index.svelte generated by Svelte v3.49.0 */




function components_loader_index_svelte_create_fragment(ctx) {
	let div;
	let div_class_value;

	return {
		c() {
			div = internal_element("div");
			attr(div, "class", div_class_value = "loader loader--" + /*type*/ ctx[0] + " loader--" + /*size*/ ctx[1]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p(ctx, [dirty]) {
			if (dirty & /*type, size*/ 3 && div_class_value !== (div_class_value = "loader loader--" + /*type*/ ctx[0] + " loader--" + /*size*/ ctx[1])) {
				attr(div, "class", div_class_value);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function components_loader_index_svelte_instance($$self, $$props, $$invalidate) {
	let { type = '' } = $$props;
	let { size = '' } = $$props;

	$$self.$$set = $$props => {
		if ('type' in $$props) $$invalidate(0, type = $$props.type);
		if ('size' in $$props) $$invalidate(1, size = $$props.size);
	};

	return [type, size];
}

class index_svelte_Loader extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, components_loader_index_svelte_instance, components_loader_index_svelte_create_fragment, safe_not_equal, { type: 0, size: 1 });
	}
}

/* harmony default export */ const components_loader_index_svelte = (index_svelte_Loader);
;// CONCATENATED MODULE: ./src/views/inventory/components/workshop/constants.js
function workshop_constants_typeof(o) { "@babel/helpers - typeof"; return workshop_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, workshop_constants_typeof(o); }
function workshop_constants_defineProperty(e, r, t) { return (r = workshop_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function workshop_constants_toPropertyKey(t) { var i = workshop_constants_toPrimitive(t, "string"); return "symbol" == workshop_constants_typeof(i) ? i : i + ""; }
function workshop_constants_toPrimitive(t, r) { if ("object" != workshop_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != workshop_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
var MAX_ENCHANT_LEVEL = 13;
var WorkshopTabs = {
  Enchant: 'enchant',
  Repaint: 'repaint',
  Repair: 'repair',
  Disassemble: 'disassemble'
};
var MAP_TAB_TO_TITLE = workshop_constants_defineProperty(workshop_constants_defineProperty(workshop_constants_defineProperty(workshop_constants_defineProperty({}, WorkshopTabs.Repaint, 'Покраска'), WorkshopTabs.Enchant, 'Заточка'), WorkshopTabs.Repair, 'Ремонт'), WorkshopTabs.Disassemble, 'Разобрать');
var MAP_TAB_TO_BUTTON_TEXT = workshop_constants_defineProperty(workshop_constants_defineProperty(workshop_constants_defineProperty(workshop_constants_defineProperty({}, WorkshopTabs.Repaint, 'Покрасить'), WorkshopTabs.Enchant, 'Заточить предмет'), WorkshopTabs.Repair, 'Починить'), WorkshopTabs.Disassemble, 'Разобрать предмет');
var MAP_TAB_TO_DESCRIPTION = workshop_constants_defineProperty(workshop_constants_defineProperty(workshop_constants_defineProperty(workshop_constants_defineProperty({}, WorkshopTabs.Repaint, 'Перенесите предмет, краску и камень заточки в необходимые ячейки.'), WorkshopTabs.Enchant, 'Перенесите предмет и камень заточки в необходимые ячейки.'), WorkshopTabs.Repair, 'Перенесите предмет в ячейку.'), WorkshopTabs.Disassemble, 'Перенесите предмет в ячейку.');
var MAP_TAB_TO_ACTION = workshop_constants_defineProperty(workshop_constants_defineProperty(workshop_constants_defineProperty(workshop_constants_defineProperty({}, WorkshopTabs.Repaint, 'Перенесите предмет, краску и камень заточки в необходимые ячейки.'), WorkshopTabs.Enchant, 'Перенесите предмет и камень заточки в необходимые ячейки.'), WorkshopTabs.Repair, 'Перенесите предмет в ячейку.'), WorkshopTabs.Disassemble, 'Перенесите предмет в ячейку.');
var MAP_TAB_TO_START = workshop_constants_defineProperty(workshop_constants_defineProperty(workshop_constants_defineProperty(workshop_constants_defineProperty({}, WorkshopTabs.Repaint, 'Перенесите предмет, краску и камень заточки в необходимые ячейки.'), WorkshopTabs.Enchant, 'Перенесите предмет и камень заточки в необходимые ячейки.'), WorkshopTabs.Repair, 'Перенесите предмет в ячейку.'), WorkshopTabs.Disassemble, 'Перенесите предмет в ячейку.');
var MAP_TAB_TO_AMOUNT = workshop_constants_defineProperty(workshop_constants_defineProperty(workshop_constants_defineProperty({}, WorkshopTabs.Repaint, 7), WorkshopTabs.Enchant, 1), WorkshopTabs.Disassemble, 1);
var MAP_TAB_TO_CAPTION = workshop_constants_defineProperty(workshop_constants_defineProperty(workshop_constants_defineProperty(workshop_constants_defineProperty({}, WorkshopTabs.Repaint, 'Краска'), WorkshopTabs.Enchant, 'Недоступно'), WorkshopTabs.Repair, 'Недоступно'), WorkshopTabs.Disassemble, 'Недоступно');
var MAP_TAB_TO_MESSAGE = workshop_constants_defineProperty(workshop_constants_defineProperty(workshop_constants_defineProperty(workshop_constants_defineProperty({}, WorkshopTabs.Repaint, {
  update: 'updatePaintSlots',
  start: 'startPaint'
}), WorkshopTabs.Enchant, {
  update: 'updateEnchantSlots',
  start: 'startEnchant'
}), WorkshopTabs.Repair, {
  update: 'updateRepairSlots',
  start: 'startRepair'
}), WorkshopTabs.Disassemble, {
  update: 'updateDisassembleSlots',
  start: 'startDisassemble'
});
var constants_COLORS = [-858993409, -870045953, -864541441, -423878913, -707314433, 1020739839, 1020778495, 1010751487, -683879169, -683901185];
;// CONCATENATED MODULE: ./src/views/inventory/constants.js
var _MAP_BIT_TO_REQUEST_I, _MAP_WAREHOUSE_TO_NAM, _MAP_ACTION_TO_NAME, _MAP_ACTION_TO_ICON, _MAP_ITEM_TYPE_TO_DES, _MAP_ITEM_TYPE_TO_ICO, _MAP_ITEM_TYPE_TO_NAM;
function inventory_constants_typeof(o) { "@babel/helpers - typeof"; return inventory_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, inventory_constants_typeof(o); }
function inventory_constants_defineProperty(e, r, t) { return (r = inventory_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function inventory_constants_toPropertyKey(t) { var i = inventory_constants_toPrimitive(t, "string"); return "symbol" == inventory_constants_typeof(i) ? i : i + ""; }
function inventory_constants_toPrimitive(t, r) { if ("object" != inventory_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != inventory_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
var DndStatuses = {
  Selected: 'selected',
  Hold: 'hold',
  Drag: 'drag',
  ContextMenuInteraction: 'contextMenuInteraction'
};
var NavigationTabs = {
  Character: 'character',
  Guard: 'security',
  Vehicle: 'vehicle',
  Warehouse: 'warehouse'
};
var REQUIRED_MIN_DISTANCE_FOR_ITEM_DRAG = 5;
var SCHEME_ID = 10000;
var ITEM_TYPES = {
  ITEM_TYPE_OTHER: 1,
  ITEM_TYPE_ATTACH: 2,
  ITEM_TYPE_IMPROV: 3,
  ITEM_TYPE_SKIN: 4,
  ITEM_TYPE_IMPROV_GUN: 5,
  ITEM_TYPE_VISUAL_TUNING: 14,
  ITEM_TYPE_TECH_TUNING: 15,
  ITEM_TYPE_VEH_SKIN: 16,
  ITEM_TYPE_COOK: 17,
  ITEM_TYPE_IMPERMANENT: 18,
  ITEM_TYPE_CERTIFICATE_EXP: 19,
  ITEM_TYPE_CERTIFICATE_MONEY: 20,
  ITEM_TYPE_CERTIFICATE_AZ: 21,
  ITEM_TYPE_CERTIFICATE_CAR: 22,
  ITEM_TYPE_VEH_NUMBER: 23,
  ITEM_TYPE_PROPERTY_OBJECT: 24,
  ITEM_TYPE_LICENSE: 25,
  ITEM_TYPE_MEDCARD: 26,
  ITEM_TYPE_SEED: 27,
  ITEM_TYPE_UNIVERSAL_TUNING: 28,
  ITEM_TYPE_PLAN: 29,
  ITEM_TYPE_FISH_BAIT: 30,
  ITEM_TYPE_FISH: 31,
  ITEM_TYPE_BEAST: 32,
  ITEM_TYPE_BEAST_FUR: 33,
  ITEM_TYPE_BOX: 34,
  ITEM_TYPE_CASKET: 35,
  ITEM_TYPE_PHONE: 36,
  ITEM_TYPE_CERTIFICATE_SECURITY: 37,
  ITEM_TYPE_ENCHANT: 38,
  ITEM_TYPE_GARDENING_SEED: 39,
  ITEM_TYPE_GARDENING_HARV: 40,
  ITEM_TYPE_PERSONAL_CAR: 41,
  ITEM_TYPE_PROPERTY_ACTOR: 42,
  ITEM_TYPE_AMMO: 43,
  ITEM_TYPE_CERTIFICATE_TRAILER: 44,
  ITEM_TYPE_NEWYEAR_TOY: 45,
  ITEM_TYPE_START_PACK: 46,
  ITEM_TYPE_CASES: 47,
  ITEM_TYPE_SHARD: 48,
  ITEM_TYPE_NFT: 49,
  ITEM_TYPE_VIP: 50,
  ITEM_TYPE_NULL: -1
};
var BLOCK_TYPE = {
  BLOCK_TYPE_MENU: 1,
  BLOCK_TYPE_ATTACH: 2,
  BLOCK_TYPE_IMPROV: 3,
  BLOCK_TYPE_SKIN: 4,
  BLOCK_TYPE_IMPROV_GUN: 5,
  BLOCK_TYPE_WALLET: 6,
  BLOCK_TYPE_TRADE: 7,
  BLOCK_TYPE_FOR_TRADE: 8,
  BLOCK_TYPE_SHOP: 9,
  BLOCK_TYPE_SHOP_SELL: 10,
  BLOCK_TYPE_MAGAZINE: 11,
  BLOCK_TYPE_TRASH: 12,
  BLOCK_TYPE_TRUNK: 13,
  BLOCK_TYPE_VISUAL_TUNING: 14,
  BLOCK_TYPE_TECH_TUNING: 15,
  BLOCK_TYPE_VEH_SKIN: 16,
  BLOCK_TYPE_HOUSE: 17,
  BLOCK_TYPE_DRAWER: 18,
  BLOCK_TYPE_SHIP: 19,
  BLOCK_TYPE_WORKSHOP: 20,
  BLOCK_TYPE_SKIN_REPAIR: 21,
  BLOCK_TYPE_LOMBARD_SHOP: 22,
  BLOCK_TYPE_LOMBARD_MENU: 23,
  BLOCK_TYPE_LOMBARD_SHOP_SELL: 24,
  BLOCK_TYPE_CAMPER_CUPBOARD: 25,
  BLOCK_TYPE_BANK_VAULT: 26,
  BLOCK_TYPE_FRACTION_WAREHOUSE: 27,
  BLOCK_TYPE_ACTOR_INVENTORY: 28,
  BLOCK_TYPE_ACTOR_WEAPON: 29,
  BLOCK_TYPE_ACTOR_ATTACH: 30,
  BLOCK_TYPE_FAMILY_WAREHOUSE: 31,
  BLOCK_TYPE_GARDENING_BARN: 32,
  BLOCK_TYPE_GARDENING_MARKET: 33,
  BLOCK_TYPE_GARAGE: 34,
  BLOCK_TYPE_FAMILY_VISUAL_TUNING: 35,
  BLOCK_TYPE_FAMILY_TECH_TUNING: 36,
  BLOCK_TYPE_FAMILY_VEHICLE_SKIN: 37,
  BLOCK_TYPE_STALL: 38,
  BLOCK_TYPE_TRAILER: 39,
  BLOCK_TYPE_FAMILY_AIRDROP: 40,
  BLOCK_TYPE_VEH_NUMBER: 41
};
var VIEW_IDS = {
  Menu: 0,
  Trade: 67,
  Warehouse: 70,
  Vehicle: 65,
  Shop: 4,
  Workshop: 66,
  Character: 62,
  Security: 63,
  Repair: 7,
  ArmourSsharpening: 8,
  ACSColor: 9,
  Enchant: 10,
  ACSDisassembly: 11,
  SetCharacteristics: 12,
  HouseFreeze: 13,
  Wallet: 64
};
var ACTIONS_BITS = {
  Use: 1,
  Put: 32768,
  Put_on: 2,
  Take: 65536,
  Take_on: 256,
  Item_open: 64,
  Item_close: 128,
  Drop: 4,
  Split: 8,
  Clear: 512,
  Install: 1024,
  Edit: 2048,
  Open: 4096,
  Rent: 8192,
  Color: 16384,
  Info: 16,
  Close: 32,
  Sell: 131072,
  PutInGift: 262144
};
var BUTTONS_BITS = {
  Inventory: 1,
  Security: 4,
  CarInventory: 2,
  Trash: 8,
  Trunk: 16,
  House: 32,
  Drawer: 64,
  Ship: 128,
  Camper: 256,
  BankVault: 512,
  FractionWarehouse: 1024,
  FamilyWarehouse: 2048,
  GardeningBarn: 4096,
  Garage: 8192,
  Trailer: 131072,
  AirDrop: 262144
};
var MAP_BIT_TO_REQUEST_ID = (_MAP_BIT_TO_REQUEST_I = {}, inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(_MAP_BIT_TO_REQUEST_I, BUTTONS_BITS.Inventory, VIEW_IDS.Character), BUTTONS_BITS.Security, VIEW_IDS.Security), BUTTONS_BITS.CarInventory, VIEW_IDS.Vehicle), BUTTONS_BITS.Trash, BLOCK_TYPE.BLOCK_TYPE_TRASH), BUTTONS_BITS.Trunk, BLOCK_TYPE.BLOCK_TYPE_TRUNK), BUTTONS_BITS.House, BLOCK_TYPE.BLOCK_TYPE_HOUSE), BUTTONS_BITS.Drawer, BLOCK_TYPE.BLOCK_TYPE_DRAWER), BUTTONS_BITS.Ship, BLOCK_TYPE.BLOCK_TYPE_SHIP), BUTTONS_BITS.Camper, BLOCK_TYPE.BLOCK_TYPE_CAMPER_CUPBOARD), BUTTONS_BITS.BankVault, BLOCK_TYPE.BLOCK_TYPE_BANK_VAULT), inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(_MAP_BIT_TO_REQUEST_I, BUTTONS_BITS.FractionWarehouse, BLOCK_TYPE.BLOCK_TYPE_FRACTION_WAREHOUSE), BUTTONS_BITS.FamilyWarehouse, BLOCK_TYPE.BLOCK_TYPE_FAMILY_WAREHOUSE), BUTTONS_BITS.GardeningBarn, BLOCK_TYPE.BLOCK_TYPE_GARDENING_BARN), BUTTONS_BITS.Garage, BLOCK_TYPE.BLOCK_TYPE_GARAGE), BUTTONS_BITS.Trailer, BLOCK_TYPE.BLOCK_TYPE_TRAILER), BUTTONS_BITS.AirDrop, BLOCK_TYPE.BLOCK_TYPE_FAMILY_AIRDROP));
var SECURITY_STUFF = [BLOCK_TYPE.BLOCK_TYPE_ACTOR_ATTACH, BLOCK_TYPE.BLOCK_TYPE_ACTOR_WEAPON, BLOCK_TYPE.BLOCK_TYPE_ACTOR_INVENTORY];
var WAREHOUSES = [BLOCK_TYPE.BLOCK_TYPE_TRASH, BLOCK_TYPE.BLOCK_TYPE_TRUNK, BLOCK_TYPE.BLOCK_TYPE_HOUSE, BLOCK_TYPE.BLOCK_TYPE_DRAWER, BLOCK_TYPE.BLOCK_TYPE_SHIP, BLOCK_TYPE.BLOCK_TYPE_CAMPER_CUPBOARD, BLOCK_TYPE.BLOCK_TYPE_BANK_VAULT, BLOCK_TYPE.BLOCK_TYPE_FRACTION_WAREHOUSE, BLOCK_TYPE.BLOCK_TYPE_FAMILY_WAREHOUSE, BLOCK_TYPE.BLOCK_TYPE_GARDENING_BARN, BLOCK_TYPE.BLOCK_TYPE_GARAGE, BLOCK_TYPE.BLOCK_TYPE_TRAILER, BLOCK_TYPE.BLOCK_TYPE_LOMBARD_MENU, BLOCK_TYPE.BLOCK_TYPE_FAMILY_AIRDROP];
var BAGS = [BLOCK_TYPE.BLOCK_TYPE_WALLET];
var MAP_WAREHOUSE_TO_NAME = (_MAP_WAREHOUSE_TO_NAM = {}, inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(_MAP_WAREHOUSE_TO_NAM, BLOCK_TYPE.BLOCK_TYPE_TRASH, 'Мусорка'), BLOCK_TYPE.BLOCK_TYPE_TRUNK, 'Багажник'), BLOCK_TYPE.BLOCK_TYPE_HOUSE, 'Шкаф'), BLOCK_TYPE.BLOCK_TYPE_DRAWER, 'Тумбочка'), BLOCK_TYPE.BLOCK_TYPE_SHIP, 'Трюм корабля'), BLOCK_TYPE.BLOCK_TYPE_CAMPER_CUPBOARD, 'Дом на колесах'), BLOCK_TYPE.BLOCK_TYPE_BANK_VAULT, 'Банковское хранилище'), BLOCK_TYPE.BLOCK_TYPE_FRACTION_WAREHOUSE, 'Общак фракции'), BLOCK_TYPE.BLOCK_TYPE_FAMILY_WAREHOUSE, 'Общак семьи'), BLOCK_TYPE.BLOCK_TYPE_GARDENING_BARN, 'Амбар'), inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(_MAP_WAREHOUSE_TO_NAM, BLOCK_TYPE.BLOCK_TYPE_GARAGE, 'Гараж'), BLOCK_TYPE.BLOCK_TYPE_STALL, 'Киоск'), BLOCK_TYPE.BLOCK_TYPE_TRAILER, 'Трейлер'), BLOCK_TYPE.BLOCK_TYPE_LOMBARD_MENU, 'Ломбард'), BLOCK_TYPE.BLOCK_TYPE_FAMILY_AIRDROP, 'AirDrop'));
var MAP_BAG_TO_NAME = inventory_constants_defineProperty({}, BLOCK_TYPE.BLOCK_TYPE_WALLET, 'Бумажник');
var MAP_ACTION_TO_NAME = (_MAP_ACTION_TO_NAME = {}, inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(_MAP_ACTION_TO_NAME, ACTIONS_BITS.Use, 'Использовать'), ACTIONS_BITS.Put_on, 'Надеть'), ACTIONS_BITS.Item_open, 'Открыть'), ACTIONS_BITS.Drop, 'Выкинуть'), ACTIONS_BITS.Split, 'Разделить'), ACTIONS_BITS.Info, 'Информация'), ACTIONS_BITS.Close, 'Закрыть'), ACTIONS_BITS.Item_close, 'Закрыть'), ACTIONS_BITS.Take_on, 'Снять'), ACTIONS_BITS.Clear, 'Очистить'), inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(_MAP_ACTION_TO_NAME, ACTIONS_BITS.Install, 'Установить'), ACTIONS_BITS.Edit, 'Изменить'), ACTIONS_BITS.Open, 'Открыть'), ACTIONS_BITS.Rent, 'Сдать в аренду'), ACTIONS_BITS.Color, 'Выбрать цвет'), ACTIONS_BITS.Put, 'Положить'), ACTIONS_BITS.PutInGift, 'Поместить'), ACTIONS_BITS.Take, 'Забрать'), ACTIONS_BITS.Sell, 'Продать'));
var MAP_ACTION_TO_ICON = (_MAP_ACTION_TO_ICON = {}, inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(_MAP_ACTION_TO_ICON, ACTIONS_BITS.Use, 'check'), ACTIONS_BITS.Put_on, 'take-on'), ACTIONS_BITS.Drop, 'drop'), ACTIONS_BITS.Split, 'split'), ACTIONS_BITS.Info, 'information'), ACTIONS_BITS.Close, 'close'), ACTIONS_BITS.Item_open, 'open'), ACTIONS_BITS.Item_close, 'lock'), ACTIONS_BITS.Take_on, 'put-on'), ACTIONS_BITS.Clear, 'clear'), inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(_MAP_ACTION_TO_ICON, ACTIONS_BITS.Install, 'setup'), ACTIONS_BITS.Edit, 'edit'), ACTIONS_BITS.Open, 'check'), ACTIONS_BITS.Rent, 'rent'), ACTIONS_BITS.Color, 'color'), ACTIONS_BITS.Put, 'put'), ACTIONS_BITS.PutInGift, 'put-in-gift'), ACTIONS_BITS.Take, 'take-from'), ACTIONS_BITS.Sell, 'sell'));
var MAP_ITEM_TYPE_TO_DESCRIPTION = (_MAP_ITEM_TYPE_TO_DES = {}, inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(_MAP_ITEM_TYPE_TO_DES, ITEM_TYPES.ITEM_TYPE_OTHER, 'Обычный предмет.'), ITEM_TYPES.ITEM_TYPE_ATTACH, 'Наденьте данный аксессуар для дополнения внешнего образа вашего персонажа.'), ITEM_TYPES.ITEM_TYPE_IMPROV, 'Наденьте данный аксессуар для дополнения внешнего образа вашего персонажа.'), ITEM_TYPES.ITEM_TYPE_SKIN, 'Наденьте, чтобы изменить внешность Вашего персонажа'), ITEM_TYPES.ITEM_TYPE_IMPROV_GUN, 'Используйте, чтобы улучшить характеристики вашего оружия'), ITEM_TYPES.ITEM_TYPE_VISUAL_TUNING, 'Используется для изменения внешних деталей тюнинга вашего транспорта.'), ITEM_TYPES.ITEM_TYPE_TECH_TUNING, 'Используется для модификации характеристик вашего транспорта.'), ITEM_TYPES.ITEM_TYPE_VEH_SKIN, 'Используйте, чтобы изменить окраску вашего транспорта.'), ITEM_TYPES.ITEM_TYPE_COOK, 'Используйте, чтобы восполнить сытость персонажа.'), ITEM_TYPES.ITEM_TYPE_IMPERMANENT, 'Испытайте удачу и откройте ящик'), inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(_MAP_ITEM_TYPE_TO_DES, ITEM_TYPES.ITEM_TYPE_CERTIFICATE_EXP, 'Используйте, чтобы получить очки опыта'), ITEM_TYPES.ITEM_TYPE_CERTIFICATE_MONEY, 'Используйте, чтобы получить игровую валюту'), ITEM_TYPES.ITEM_TYPE_CERTIFICATE_AZ, 'Используйте, чтобы получить донат валюту'), ITEM_TYPES.ITEM_TYPE_CERTIFICATE_CAR, 'Используйте для получения указанного транспорта'), ITEM_TYPES.ITEM_TYPE_VEH_NUMBER, 'Регистрационный номер транспортного средства'), ITEM_TYPES.ITEM_TYPE_PROPERTY_OBJECT, 'Используйте, чтобы установить данный объект рядом с вашей недвижимостью.'), ITEM_TYPES.ITEM_TYPE_LICENSE, 'Документация государственного стандарта.'), ITEM_TYPES.ITEM_TYPE_MEDCARD, 'Позволяет трудоустроиться в организацию.'), ITEM_TYPES.ITEM_TYPE_SEED, 'Используется для занятия садоводством в теплице своего дома.'), ITEM_TYPES.ITEM_TYPE_UNIVERSAL_TUNING, 'Универсальная деталь тюнинга.'), inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(_MAP_ITEM_TYPE_TO_DES, ITEM_TYPES.ITEM_TYPE_PLAN, 'Чертеж для крафта.'), ITEM_TYPES.ITEM_TYPE_FISH_BAIT, 'Наживка для рыбалки.'), ITEM_TYPES.ITEM_TYPE_FISH, 'Пойманная рыба.'), ITEM_TYPES.ITEM_TYPE_BEAST, 'Звериная туша, можно обработать на мясокомбинате.'), ITEM_TYPES.ITEM_TYPE_BEAST_FUR, 'Звериная шкура, можно использовать для крафта.'), ITEM_TYPES.ITEM_TYPE_BOX, 'Используйте, чтобы заглянуть во внутрь и получить что-то из содерджимого.'), ITEM_TYPES.ITEM_TYPE_CASKET, 'Используйте, чтобы заглянуть во внутрь и получить что-то из содерджимого.'), ITEM_TYPES.ITEM_TYPE_PHONE, 'Используйте, чтобы кому-то позвонить или воспользоваться другими полезными функциями.'), ITEM_TYPES.ITEM_TYPE_CERTIFICATE_SECURITY, 'Используйте, чтобы получить личного охранника.'), ITEM_TYPES.ITEM_TYPE_ENCHANT, 'Используется для улучшения и заточки аксессуаров.'), inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(_MAP_ITEM_TYPE_TO_DES, ITEM_TYPES.ITEM_TYPE_GARDENING_SEED, 'Используйте на садовом участке для посадки.'), ITEM_TYPES.ITEM_TYPE_GARDENING_HARV, 'Можно продать в фермерском магазине.'), ITEM_TYPES.ITEM_TYPE_PERSONAL_CAR, 'Временный транспорт'), ITEM_TYPES.ITEM_TYPE_PROPERTY_ACTOR, 'Установите актера у себя дома или в бизнесе'), ITEM_TYPES.ITEM_TYPE_AMMO, 'Патроны для оружия'), ITEM_TYPES.ITEM_TYPE_CERTIFICATE_TRAILER, 'Позволяет получить собственный трейлер'), ITEM_TYPES.ITEM_TYPE_NEWYEAR_TOY, ' '), ITEM_TYPES.ITEM_TYPE_START_PACK, 'Используйте, чтобы получить призы из данного набора'), ITEM_TYPES.ITEM_TYPE_CASES, 'Используйте, чтобы открыть награды'), ITEM_TYPES.ITEM_TYPE_SHARD, 'Используйте для изготовления предметов'), inventory_constants_defineProperty(inventory_constants_defineProperty(_MAP_ITEM_TYPE_TO_DES, ITEM_TYPES.ITEM_TYPE_NFT, 'Можно использовать раз в 5 дней для получения наград'), ITEM_TYPES.ITEM_TYPE_VIP, 'Можно активировать для получения статуса'));
var MAP_ITEM_TYPE_TO_ICON = (_MAP_ITEM_TYPE_TO_ICO = {}, inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(_MAP_ITEM_TYPE_TO_ICO, ITEM_TYPES.ITEM_TYPE_OTHER, 'icon-type-other'), ITEM_TYPES.ITEM_TYPE_ATTACH, 'icon-type-accessories'), ITEM_TYPES.ITEM_TYPE_IMPROV, 'icon-type-accessories'), ITEM_TYPES.ITEM_TYPE_SKIN, 'icon-type-cloth'), ITEM_TYPES.ITEM_TYPE_IMPROV_GUN, 'icon-type-gun'), ITEM_TYPES.ITEM_TYPE_VISUAL_TUNING, 'icon-type-tuning'), ITEM_TYPES.ITEM_TYPE_TECH_TUNING, 'icon-type-tuning'), ITEM_TYPES.ITEM_TYPE_VEH_SKIN, 'icon-type-tuning'), ITEM_TYPES.ITEM_TYPE_COOK, 'icon-type-food'), ITEM_TYPES.ITEM_TYPE_IMPERMANENT, 'icon-type-box'), inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(_MAP_ITEM_TYPE_TO_ICO, ITEM_TYPES.ITEM_TYPE_CERTIFICATE_EXP, 'icon-type-other'), ITEM_TYPES.ITEM_TYPE_CERTIFICATE_MONEY, 'icon-type-other'), ITEM_TYPES.ITEM_TYPE_CERTIFICATE_AZ, 'icon-type-other'), ITEM_TYPES.ITEM_TYPE_CERTIFICATE_CAR, 'icon-type-vehicle'), ITEM_TYPES.ITEM_TYPE_VEH_NUMBER, 'icon-type-other'), ITEM_TYPES.ITEM_TYPE_PROPERTY_OBJECT, 'icon-type-property'), ITEM_TYPES.ITEM_TYPE_LICENSE, 'icon-type-license'), ITEM_TYPES.ITEM_TYPE_MEDCARD, 'icon-type-med'), ITEM_TYPES.ITEM_TYPE_SEED, 'icon-type-other'), ITEM_TYPES.ITEM_TYPE_UNIVERSAL_TUNING, 'icon-type-tuning'), inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(_MAP_ITEM_TYPE_TO_ICO, ITEM_TYPES.ITEM_TYPE_PLAN, 'icon-type-other'), ITEM_TYPES.ITEM_TYPE_FISH_BAIT, 'icon-type-other'), ITEM_TYPES.ITEM_TYPE_FISH, 'icon-type-other'), ITEM_TYPES.ITEM_TYPE_BEAST, 'icon-type-other'), ITEM_TYPES.ITEM_TYPE_BEAST_FUR, 'icon-type-other'), ITEM_TYPES.ITEM_TYPE_BOX, 'icon-type-box'), ITEM_TYPES.ITEM_TYPE_CASKET, 'icon-type-box'), ITEM_TYPES.ITEM_TYPE_PHONE, 'icon-type-other'), ITEM_TYPES.ITEM_TYPE_CERTIFICATE_SECURITY, 'icon-type-other'), ITEM_TYPES.ITEM_TYPE_ENCHANT, 'icon-type-other'), inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(_MAP_ITEM_TYPE_TO_ICO, ITEM_TYPES.ITEM_TYPE_GARDENING_SEED, 'icon-type-other'), ITEM_TYPES.ITEM_TYPE_GARDENING_HARV, 'icon-type-other'), ITEM_TYPES.ITEM_TYPE_PERSONAL_CAR, 'icon-type-vehicle'), ITEM_TYPES.ITEM_TYPE_PROPERTY_ACTOR, 'icon-type-property'), ITEM_TYPES.ITEM_TYPE_AMMO, 'icon-type-gun'), ITEM_TYPES.ITEM_TYPE_CERTIFICATE_TRAILER, 'icon-type-property'), ITEM_TYPES.ITEM_TYPE_START_PACK, 'icon-type-box'), ITEM_TYPES.ITEM_TYPE_CASES, 'icon-type-box'), ITEM_TYPES.ITEM_TYPE_SHARD, 'icon-type-other'), ITEM_TYPES.ITEM_TYPE_NFT, 'icon-type-box'), inventory_constants_defineProperty(_MAP_ITEM_TYPE_TO_ICO, ITEM_TYPES.ITEM_TYPE_VIP, 'icon-type-other'));
var MAP_ITEM_TYPE_TO_NAME = (_MAP_ITEM_TYPE_TO_NAM = {}, inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(_MAP_ITEM_TYPE_TO_NAM, ITEM_TYPES.ITEM_TYPE_OTHER, 'Предмет'), ITEM_TYPES.ITEM_TYPE_ATTACH, 'Аксессуар'), ITEM_TYPES.ITEM_TYPE_IMPROV, 'Улучшение'), ITEM_TYPES.ITEM_TYPE_SKIN, 'Одежда'), ITEM_TYPES.ITEM_TYPE_IMPROV_GUN, 'Улучшение оружия'), ITEM_TYPES.ITEM_TYPE_VISUAL_TUNING, 'Визуальный тюнинг'), ITEM_TYPES.ITEM_TYPE_TECH_TUNING, 'Тех. тюнинг'), ITEM_TYPES.ITEM_TYPE_VEH_SKIN, 'Винил'), ITEM_TYPES.ITEM_TYPE_COOK, 'Еда'), ITEM_TYPES.ITEM_TYPE_IMPERMANENT, 'Ящик пандоры'), inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(_MAP_ITEM_TYPE_TO_NAM, ITEM_TYPES.ITEM_TYPE_CERTIFICATE_EXP, 'Сертификат на очки репутации'), ITEM_TYPES.ITEM_TYPE_CERTIFICATE_MONEY, 'Сертификат на деньги'), ITEM_TYPES.ITEM_TYPE_CERTIFICATE_AZ, 'Сертификат на AZ Coins'), ITEM_TYPES.ITEM_TYPE_CERTIFICATE_CAR, 'Сертификат на транспорт'), ITEM_TYPES.ITEM_TYPE_VEH_NUMBER, 'Номерной знак'), ITEM_TYPES.ITEM_TYPE_PROPERTY_OBJECT, 'Объект к дому'), ITEM_TYPES.ITEM_TYPE_LICENSE, 'Лицензия'), ITEM_TYPES.ITEM_TYPE_MEDCARD, 'Мед.карта'), ITEM_TYPES.ITEM_TYPE_SEED, 'Семена'), ITEM_TYPES.ITEM_TYPE_UNIVERSAL_TUNING, 'Универсальный тюнинг'), inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(_MAP_ITEM_TYPE_TO_NAM, ITEM_TYPES.ITEM_TYPE_PLAN, 'Чертеж'), ITEM_TYPES.ITEM_TYPE_FISH_BAIT, 'Наживка'), ITEM_TYPES.ITEM_TYPE_FISH, 'Рыба'), ITEM_TYPES.ITEM_TYPE_BEAST, 'Туша зверя'), ITEM_TYPES.ITEM_TYPE_BEAST_FUR, 'Шкура зверя'), ITEM_TYPES.ITEM_TYPE_BOX, 'Ящик'), ITEM_TYPES.ITEM_TYPE_CASKET, 'Ларец'), ITEM_TYPES.ITEM_TYPE_PHONE, 'Телефон'), ITEM_TYPES.ITEM_TYPE_CERTIFICATE_SECURITY, 'Сертификат на охранника'), ITEM_TYPES.ITEM_TYPE_ENCHANT, 'Заточка'), inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty(_MAP_ITEM_TYPE_TO_NAM, ITEM_TYPES.ITEM_TYPE_GARDENING_SEED, 'Семена'), ITEM_TYPES.ITEM_TYPE_GARDENING_HARV, 'Урожай'), ITEM_TYPES.ITEM_TYPE_PERSONAL_CAR, 'Персональный транспорт'), ITEM_TYPES.ITEM_TYPE_PROPERTY_ACTOR, 'Актер к дому'), ITEM_TYPES.ITEM_TYPE_AMMO, 'Патроны'), ITEM_TYPES.ITEM_TYPE_CERTIFICATE_TRAILER, 'Сертификат на трейлер'), ITEM_TYPES.ITEM_TYPE_START_PACK, 'Стартер-пак'), ITEM_TYPES.ITEM_TYPE_CASES, 'Кейс'), ITEM_TYPES.ITEM_TYPE_SHARD, 'Осколок'), ITEM_TYPES.ITEM_TYPE_NFT, 'NFT контейнер'), inventory_constants_defineProperty(_MAP_ITEM_TYPE_TO_NAM, ITEM_TYPES.ITEM_TYPE_VIP, 'VIP'));
var MAP_TAB_ID_TO_ICON = inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty({}, NavigationTabs.Character, 'character'), NavigationTabs.Guard, 'shield'), NavigationTabs.Vehicle, 'vehicle');
var MAP_TAB_ID_TO_NAME = inventory_constants_defineProperty(inventory_constants_defineProperty(inventory_constants_defineProperty({}, NavigationTabs.Character, 'Персонаж'), NavigationTabs.Guard, 'Охранники'), NavigationTabs.Vehicle, 'Транспорт');
var MAP_CURRENCY_TO_TEXT = {
  0: 'RUB',
  1: 'BTC',
  2: 'AZC'
};
var DEFAULT_TRADE_CONFIRMATION_STATE = {
  self: {
    accept: false,
    confirm: false
  },
  target: {
    accept: false,
    confirm: false
  }
};
var DEFAULT_TRADE_MONEY = {
  self: {
    value: 0,
    type: 0
  },
  target: {
    value: 0,
    type: 0
  }
};
var WindowsIds = {
  Main: 'main',
  Character: 'character',
  Trade: 'trade',
  Wallet: 'wallet',
  Shop: 'shop',
  Overview: 'overview',
  Trunk: 'trunk',
  Workshop: 'workshop',
  Craft: 'craft',
  Info: 'info',
  Potions: 'potions'
};
var MAP_WINDOW_ID_TO_SORT_ACTION = inventory_constants_defineProperty(inventory_constants_defineProperty({}, WindowsIds.Main, 'inventory.sort'), WindowsIds.Character, 'inventory.warehouse_sort');
var MAP_ID_TO_CRAFT_CATEGORY_NAME = {
  0: 'Аксессуары',
  1: 'Одежда',
  2: 'Химия',
  3: 'Обработка',
  4: 'Теплица',
  5: 'Транспорт',
  6: 'Чертежи',
  7: 'Оружие',
  8: 'Телефон',
  9: 'Актеры',
  10: 'Побег',
  11: 'Семена',
  12: 'Транспорт',
  13: 'Садоводство'
};
var ButtonColors = {
  Red: 'red',
  Green: 'green',
  Yellow: 'yellow',
  White: 'white',
  BlueRed: 'blue-red',
  WhiteGrey: 'white-grey',
  Grey: 'grey',
  Gradient: 'gradient',
  Default: 'default'
};
;// CONCATENATED MODULE: ./src/views/inventory/store.js
function inventory_store_typeof(o) { "@babel/helpers - typeof"; return inventory_store_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, inventory_store_typeof(o); }
function inventory_store_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function inventory_store_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? inventory_store_ownKeys(Object(t), !0).forEach(function (r) { inventory_store_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : inventory_store_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function inventory_store_defineProperty(e, r, t) { return (r = inventory_store_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function inventory_store_toPropertyKey(t) { var i = inventory_store_toPrimitive(t, "string"); return "symbol" == inventory_store_typeof(i) ? i : i + ""; }
function inventory_store_toPrimitive(t, r) { if ("object" != inventory_store_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != inventory_store_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






var inventories = writable({});
var inventoryCurrentItem = writable({});
var inventoryHoveredSlot = writable({});
var characterInventorySelectedTab = writable('character');
var currentTab = writable('accessories');
var inCarNow = writable(false);
var nearWarehouse = writable(false);
var buttonsBits = writable(0);
var tradeMoney = writable(DEFAULT_TRADE_MONEY);
var tradeConfirmation = writable(DEFAULT_TRADE_CONFIRMATION_STATE);
var selectedGuardId = writable(-1);
var securityHovered = writable(false);
var additionalInfo = writable({});
var securityAdditionalInfo = writable({});
var warehouseTypeId = writable(-1);
var warehouseMoney = writable(-1);
var bagBlockType = writable(-1);
var infoData = writable({});
var craftCategories = writable({});
var craftCategoriesData = writable({});
var craftTimer = writable(-1);
var craftResult = writable(null);
var craftProgressVisibile = writable(false);
var selectedCategoryId = writable(-1);
var workshopTimer = writable(-1);
var workshopResult = writable(null);
var workshopCurrentTab = writable('');
var potionsTimer = writable(-1);
var potionsResult = writable(null);
var shopOpened = writable(false);
var workShopOpened = writable(false);
var potionsOpened = writable(false);
var enchantItem = writable({});
var enchantStuff = writable({});
var colorItem = writable({});
var firstPotion = writable({});
var secondPotion = writable({});
var itemsInInterval = writable([]);
var windowPositions = writable({});
var store_searchQuery = writable('');
var calculateTime = function calculateTime(targetTime) {
  if (targetTime <= 0) {
    return '';
  }
  var diff = new (moment_default()).duration(targetTime * 1000);
  if (Math.floor(diff.asDays()) > 0) {
    return "".concat(Math.floor(diff.asDays()), " \u0434\u043D\u0435\u0439");
  }
  return "".concat((Math.floor(diff.asHours()) % 24).toString().padStart(2, '0'), ":").concat((Math.floor(diff.asMinutes()) % 60).toString().padStart(2, '0'), ":").concat((Math.floor(diff.asSeconds()) % 60).toString().padStart(2, '0'));
};
var setInventory = function setInventory(itemsDto) {
  var itemsCache = itemsDto;
  itemsCache.items = itemsCache.items.map(function (item, index) {
    if (!(0,lodash.isNil)(item.item)) {
      if (!(0,lodash.isNil)(ITEMS[item.item])) {
        itemsCache.items[index].name = ITEMS[item.item].name;
        itemsCache.items[index].item_type = ITEMS[item.item].type;
        itemsCache.items[index].icon = ITEMS[item.item].icon;
        itemsCache.items[index].acs_slot = ITEMS[item.item].acs_slot;
        itemsCache.items[index].active = ITEMS[item.item].active;
      }
      if ((0,lodash.isNil)(item.background)) {
        itemsCache.items[index].background = null;
      }
    }
    return item;
  });
  var itemsInIntervalCache = get_store_value(itemsInInterval);
  var cache = get_store_value(inventories);
  var securityStaff = [];
  if (!(0,lodash.isNil)(cache[itemsCache.type])) {
    securityStaff = cache[itemsCache.type];
  }
  if (SECURITY_STUFF.includes(itemsCache.type)) {
    itemsCache.items.forEach(function (item, index) {
      if ((0,lodash.isNil)(securityStaff[item.id])) {
        securityStaff[item.id] = [];
      }
      var intervalItemIndex = itemsInIntervalCache.findIndex(function (intervalItem) {
        return item.slot === intervalItem.slotId && itemsCache.type === intervalItem.inventoryId && item.id === intervalItem.guardId;
      });
      if (!(0,lodash.isNil)(item.time) && item.time > 0 && intervalItemIndex < 0) {
        var timeLeft = item.time - Math.floor(Date.now() / 1000);
        itemsCache.items[index].text = calculateTime(timeLeft);
        itemsInIntervalCache.push({
          guardId: item.id,
          inventoryId: itemsCache.type,
          item: item.item,
          slotId: item.slot,
          time: item.time,
          timeDifference: timeLeft
        });
      } else if (!(0,lodash.isNil)(item.time) && item.time > 0 && intervalItemIndex >= 0) {
        var _timeLeft = item.time - Math.floor(Date.now() / 1000);
        itemsCache.items[index].text = calculateTime(_timeLeft);
        itemsInIntervalCache[intervalItemIndex].time = item.item;
        itemsInIntervalCache[intervalItemIndex].timeDifference = _timeLeft;
      }
      securityStaff[item.id][item.slot] = inventory_store_objectSpread(inventory_store_objectSpread({
        available: true,
        blackout: false
      }, item), {}, {
        inventoryId: itemsCache.type,
        highlight: false
      });
    });
    cache[itemsCache.type] = securityStaff;
  } else {
    if ((0,lodash.isNil)(cache[itemsCache.type])) {
      cache[itemsCache.type] = [];
    }
    itemsCache.items.forEach(function (item, index) {
      var intervalItemIndex = itemsInIntervalCache.findIndex(function (intervalItem) {
        return item.slot === intervalItem.slotId && itemsCache.type === intervalItem.inventoryId;
      });
      if (!(0,lodash.isNil)(item.time) && item.time > 0 && intervalItemIndex < 0) {
        var timeLeft = item.time - Math.floor(Date.now() / 1000);
        itemsCache.items[index].text = calculateTime(timeLeft);
        itemsInIntervalCache.push({
          guardId: -1,
          inventoryId: itemsCache.type,
          item: item.item,
          slotId: item.slot,
          time: item.time,
          timeDifference: timeLeft
        });
      } else if (!(0,lodash.isNil)(item.time) && item.time > 0 && intervalItemIndex >= 0) {
        var _timeLeft2 = item.time - Math.floor(Date.now() / 1000);
        itemsCache.items[index].text = calculateTime(_timeLeft2);
        itemsInIntervalCache[intervalItemIndex].time = item.item;
        itemsInIntervalCache[intervalItemIndex].timeDifference = _timeLeft2;
      }
      cache[itemsCache.type][item.slot] = inventory_store_objectSpread(inventory_store_objectSpread({
        available: true,
        blackout: false
      }, item), {}, {
        inventoryId: itemsCache.type,
        highlight: false
      });
    });
  }
  inventories.set(cache);
};
var commitChanges = function commitChanges(changesDto) {
  var changesDtoCache = changesDto;
  var cache = get_store_value(inventories);
  var itemsInIntervalCache = get_store_value(itemsInInterval);
  if (!SECURITY_STUFF.includes(changesDtoCache.type)) {
    changesDtoCache.items.forEach(function (item, index) {
      var intervalItemIndex = itemsInIntervalCache.findIndex(function (intervalItem) {
        return item.slot === intervalItem.slotId && changesDto.type === intervalItem.inventoryId;
      });
      if ((0,lodash.isNil)(item.item)) {
        cache[changesDtoCache.type][item.slot] = item;
        cache[changesDtoCache.type][item.slot].available = 1;
        cache[changesDtoCache.type][item.slot].blackout = 0;
      } else {
        if (!(0,lodash.isNil)(item.time) && item.time > 0 && intervalItemIndex < 0) {
          var timeLeft = item.time - Math.floor(Date.now() / 1000);
          changesDtoCache.items[index].text = calculateTime(timeLeft);
          itemsInIntervalCache.push({
            guardId: -1,
            inventoryId: changesDtoCache.type,
            item: item.item,
            slotId: item.slot,
            time: item.time,
            timeDifference: timeLeft
          });
        } else if (!(0,lodash.isNil)(item.time) && item.time > 0 && intervalItemIndex >= 0) {
          var _timeLeft3 = item.time - Math.floor(Date.now() / 1000);
          changesDtoCache.items[index].text = calculateTime(_timeLeft3);
          itemsInIntervalCache[intervalItemIndex].time = item.item;
          itemsInIntervalCache[intervalItemIndex].timeDifference = _timeLeft3;
        }
        if ((0,lodash.isNil)(item.background)) {
          changesDtoCache.items[index].background = null;
        }
        cache[changesDtoCache.type][item.slot] = inventory_store_objectSpread(inventory_store_objectSpread({}, cache[changesDtoCache.type][item.slot]), item);
        cache[changesDtoCache.type][item.slot].name = ITEMS[item.item].name;
        cache[changesDtoCache.type][item.slot].icon = ITEMS[item.item].icon;
        cache[changesDtoCache.type][item.slot].item_type = ITEMS[item.item].type;
        cache[changesDtoCache.type][item.slot].acs_slot = ITEMS[item.item].acs_slot;
        cache[changesDtoCache.type][item.slot].active = ITEMS[item.item].active;
      }
      itemsInInterval.set(itemsInIntervalCache);
    });
  } else {
    changesDtoCache.items.forEach(function (item, index) {
      var intervalItemIndex = itemsInIntervalCache.findIndex(function (intervalItem) {
        return item.slot === intervalItem.slotId && changesDtoCache.type === intervalItem.inventoryId && item.id === intervalItem.guardId;
      });
      if ((0,lodash.isNil)(item.item)) {
        cache[changesDtoCache.type][item.id][item.slot] = item;
        cache[changesDtoCache.type][item.id][item.slot].available = 1;
        cache[changesDtoCache.type][item.id][item.slot].blackout = 0;
      } else {
        if (!(0,lodash.isNil)(item.time) && item.time > 0 && intervalItemIndex < 0) {
          var timeLeft = item.time - Math.floor(Date.now() / 1000);
          changesDtoCache.items[index].text = calculateTime(timeLeft);
          itemsInIntervalCache.push({
            guardId: item.id,
            inventoryId: changesDtoCache.type,
            item: item.item,
            slotId: item.slot,
            time: item.time,
            timeDifference: timeLeft
          });
        } else if (!(0,lodash.isNil)(item.time) && item.time > 0 && intervalItemIndex >= 0) {
          var _timeLeft4 = item.time - Math.floor(Date.now() / 1000);
          changesDtoCache.items[index].text = calculateTime(_timeLeft4);
          itemsInIntervalCache[intervalItemIndex].time = item.item;
          itemsInIntervalCache[intervalItemIndex].timeDifference = _timeLeft4;
        }
        if ((0,lodash.isNil)(item.background)) {
          changesDtoCache.items[index].background = null;
        }
        cache[changesDtoCache.type][item.id][item.slot] = inventory_store_objectSpread(inventory_store_objectSpread({}, cache[changesDtoCache.type][item.id][item.slot]), item);
        cache[changesDtoCache.type][item.id][item.slot].item_type = ITEMS[item.item].type;
        cache[changesDtoCache.type][item.id][item.slot].acs_slot = ITEMS[item.item].acs_slot;
        cache[changesDtoCache.type][item.id][item.slot].active = ITEMS[item.item].active;
        cache[changesDtoCache.type][item.id][item.slot].icon = ITEMS[item.item].icon;
        cache[changesDtoCache.type][item.id][item.slot].name = ITEMS[item.item].name;
      }
      itemsInInterval.set(itemsInIntervalCache);
    });
  }
  inventories.set(cache);
};
var setAdditionalInfo = function setAdditionalInfo(additionalDto) {
  if (!additionalDto.securities) {
    additionalInfo.set(additionalDto);
    return;
  }
  var securityAdditionalInfoCache = get_store_value(securityAdditionalInfo);
  if ((0,lodash.isEmpty)(securityAdditionalInfoCache) || additionalDto.securities.length > 1) {
    securityAdditionalInfo.set(additionalDto.securities);
    return;
  }
  var curSecurities = securityAdditionalInfoCache.map(function (curSecurity) {
    var changedSecurity = additionalDto.securities.find(function (changedSecurityFind) {
      return changedSecurityFind.id === curSecurity.id;
    });
    if (changedSecurity) {
      return inventory_store_objectSpread(inventory_store_objectSpread({}, changedSecurity), {}, {
        slot: curSecurity.slot,
        spawned: changedSecurity.spawned
      });
    }
    return curSecurity;
  });
  securityAdditionalInfo.set(curSecurities);
};
var playerInventoryHandler = function playerInventoryHandler(playerInventoryData) {
  switch (playerInventoryData.action) {
    case 0:
      if (!(0,lodash.isNil)(playerInventoryData.data.name)) {
        additionalInfo.set(playerInventoryData.data);
        return;
      }
      if (WAREHOUSES.includes(playerInventoryData.data.type)) {
        warehouseTypeId.set(playerInventoryData.data.type);
      }
      if (BAGS.includes(playerInventoryData.data.type)) {
        bagBlockType.set(playerInventoryData.data.type);
      }
      setInventory(playerInventoryData.data);
      break;
    case 1:
      setAdditionalInfo(playerInventoryData.data);
      if (!(0,lodash.isNil)(playerInventoryData.data.vehicle)) {
        inCarNow.set(playerInventoryData.data.vehicle > 0);
      }
      if (!(0,lodash.isNil)(playerInventoryData.data.buttons)) {
        buttonsBits.set(playerInventoryData.data.buttons);
      }
      if (!(0,lodash.isNil)(playerInventoryData.data.money)) {
        warehouseMoney.set(playerInventoryData.data.money);
      }
      break;
    case 2:
      commitChanges(playerInventoryData.data);
      break;
    case 3:
      infoData.set(inventory_store_objectSpread({}, playerInventoryData.data));
      break;
    case 4:
      tradeConfirmation.set(playerInventoryData.data);
      break;
    case 6:
      tradeMoney.set(playerInventoryData.data);
      break;
    default:
      break;
  }
};
var initializeCraftCategories = function initializeCraftCategories(craftData) {
  craftCategories.set(craftData);
  selectedCategoryId.set(craftData[0]);
};
var initializeCraft = function initializeCraft(craftDto) {
  switch (craftDto.action) {
    case 0:
      initializeCraftCategories(craftDto.data);
      break;
    case 1:
      additionalInfo.set(craftDto.data);
      break;
    case 2:
      craftTimer.set(craftDto.data.time);
      craftProgressVisibile.set(true);
      break;
    case 3:
      craftTimer.set(-1);
      craftResult.set(null);
      craftProgressVisibile.set(false);
      break;
    case 4:
      craftResult.set(craftDto.data.success);
      craftProgressVisibile.set(false);
      break;
    case 5:
      {
        var additionalInfoCache = get_store_value(additionalInfo);
        additionalInfoCache.cost = craftDto.data.cost;
        additionalInfo.set(additionalInfoCache);
        break;
      }
    default:
      break;
  }
};
var initializeWorkShop = function initializeWorkShop(workShopDto) {
  switch (workShopDto.action) {
    case 0:
      workshopTimer.set(workShopDto.data.time);
      break;
    case 1:
      workshopResult.set(workShopDto.data.success);
      break;
    case 2:
      additionalInfo.set(workShopDto.data);
      break;
    default:
      break;
  }
};
var initializePotions = function initializePotions(potionsDto) {
  switch (potionsDto.action) {
    case 0:
      potionsTimer.set(potionsDto.data.time);
      break;
    case 1:
      potionsResult.set(potionsDto.data.success);
      break;
    case 2:
      additionalInfo.set(potionsDto.data);
      break;
    default:
      break;
  }
};
var initializeWindowPositions = function initializeWindowPositions(positionsDto) {
  windowPositions.set(positionsDto);
};
registerEvent('event.inventory.playerInventory', playerInventoryHandler);
registerEvent('event.inventory.craft', initializeCraft);
registerEvent('event.inventory.workShop', initializeWorkShop);
registerEvent('event.inventory.potions', initializePotions);
registerEvent('event.inventory.windowPositions', initializeWindowPositions);
;// CONCATENATED MODULE: ./src/views/inventory/components/inventory-info-button/index.svelte
/* src\views\inventory\components\inventory-info-button\index.svelte generated by Svelte v3.49.0 */




function inventory_info_button_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[1] = list[i];
	return child_ctx;
}

function inventory_info_button_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[4] = list[i];
	child_ctx[6] = i;
	return child_ctx;
}

// (21:12) {#if index !== 0}
function inventory_info_button_index_svelte_create_if_block(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "+";
			attr(div, "class", "inventory-info-button__text--plus inventory-info-button__text");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (20:10) {#each line.buttons as btn, index}
function inventory_info_button_index_svelte_create_each_block_1(ctx) {
	let t0;
	let div;
	let t1_value = /*btn*/ ctx[4] + "";
	let t1;
	let if_block = /*index*/ ctx[6] !== 0 && inventory_info_button_index_svelte_create_if_block(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			t0 = space();
			div = internal_element("div");
			t1 = internal_text(t1_value);
			attr(div, "class", "inventory-info-button__button");
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, t0, anchor);
			insert(target, div, anchor);
			append(div, t1);
		},
		p: internal_noop,
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(t0);
			if (detaching) detach(div);
		}
	};
}

// (17:4) {#each lines as line}
function inventory_info_button_index_svelte_create_each_block(ctx) {
	let div2;
	let div0;
	let t0;
	let div1;
	let t1_value = /*line*/ ctx[1].text + "";
	let t1;
	let t2;
	let each_value_1 = /*line*/ ctx[1].buttons;
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = inventory_info_button_index_svelte_create_each_block_1(inventory_info_button_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t0 = space();
			div1 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(div0, "class", "inventory-info-button__buttons");
			attr(div1, "class", "inventory-info-button__text");
			attr(div2, "class", "inventory-info-button__line");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			append(div2, t0);
			append(div2, div1);
			append(div1, t1);
			append(div2, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*lines*/ 1) {
				each_value_1 = /*line*/ ctx[1].buttons;
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = inventory_info_button_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = inventory_info_button_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div0, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}
		},
		d(detaching) {
			if (detaching) detach(div2);
			destroy_each(each_blocks, detaching);
		}
	};
}

function inventory_info_button_index_svelte_create_fragment(ctx) {
	let div1;
	let i;
	let t;
	let div0;
	let each_value = /*lines*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = inventory_info_button_index_svelte_create_each_block(inventory_info_button_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div1 = internal_element("div");
			i = internal_element("i");
			t = space();
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(i, "class", "inventory-info-button__icon icon-inventory-info-button");
			attr(div0, "class", "inventory-info-button__context");
			attr(div1, "class", "inventory-info-button");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, i);
			append(div1, t);
			append(div1, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*lines*/ 1) {
				each_value = /*lines*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = inventory_info_button_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = inventory_info_button_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div0, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
			destroy_each(each_blocks, detaching);
		}
	};
}

function inventory_info_button_index_svelte_instance($$self) {
	const lines = [
		{
			buttons: ['ЛКМ'],
			text: 'Выделить/переместить предмет'
		},
		{
			buttons: ['ЛКМ (зажать)'],
			text: 'Перенос предмета'
		},
		{ buttons: ['ПКМ'], text: 'Меню предмета' },
		{
			buttons: ['CTRL (зажать)', 'ЛКМ'],
			text: 'Быстрый перенос/USE'
		},
		{
			buttons: ['КОЛЕСО МЫШИ (прокрут)'],
			text: '(При переносе)\nВыбор количества'
		}
	];

	return [lines];
}

class Inventory_info_button extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, inventory_info_button_index_svelte_instance, inventory_info_button_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const inventory_info_button_index_svelte = (Inventory_info_button);
;// CONCATENATED MODULE: ./src/views/inventory/components/inventory-window/index.svelte
/* src\views\inventory\components\inventory-window\index.svelte generated by Svelte v3.49.0 */


const { window: inventory_window_index_svelte_window_1 } = globals;





// import sortingSound from '../../audio/sort-item.wav';
// import Search from '../search/index.svelte';






function inventory_window_index_svelte_add_css(target) {
	append_styles(target, "svelte-1g70i3z", "@keyframes svelte-1g70i3z-blinking{50%{opacity:0}}@keyframes svelte-1g70i3z-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1g70i3z-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1g70i3z-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1g70i3z-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1g70i3z-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1g70i3z-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1g70i3z-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1g70i3z-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1g70i3z-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1g70i3z-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1g70i3z-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1g70i3z-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1g70i3z-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1g70i3z-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.inventory-window.svelte-1g70i3z{position:fixed;border-style:solid;border-bottm-left-radius:calc(0.0052083333 * 100vw + 0px);border-bottm-right-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-window.svelte-1g70i3z{border-bottm-left-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-window.svelte-1g70i3z{border-bottm-left-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-window.svelte-1g70i3z{border-bottm-left-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-window.svelte-1g70i3z{border-bottm-left-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-window.svelte-1g70i3z{border-bottm-left-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-window.svelte-1g70i3z{border-bottm-left-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-window.svelte-1g70i3z{border-bottm-left-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-window.svelte-1g70i3z{border-bottm-right-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-window.svelte-1g70i3z{border-bottm-right-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-window.svelte-1g70i3z{border-bottm-right-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-window.svelte-1g70i3z{border-bottm-right-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-window.svelte-1g70i3z{border-bottm-right-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-window.svelte-1g70i3z{border-bottm-right-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-window.svelte-1g70i3z{border-bottm-right-radius:calc(0.0057291667 * 100vw + 0px)}}.inventory-window__header.svelte-1g70i3z{width:100%;display:flex;align-items:center;justify-content:space-between;border-color:#1B1B1B;border-style:solid;background-color:#131516;background-image:linear-gradient(90deg, rgba(19, 21, 22, 0) 0%, #364B84 84.5%, #CC3048 100%);border-bottom-width:calc(0.0005208333 * 100vw + 0px);height:calc(0.0270833333 * 100vw + 0px);padding-left:calc(0.0104166667 * 100vw + 0px);padding-right:calc(0.0104166667 * 100vw + 0px);border-top-left-radius:calc(0.0052083333 * 100vw + 0px);border-top-right-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-window__header.svelte-1g70i3z{border-bottom-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-window__header.svelte-1g70i3z{border-bottom-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-window__header.svelte-1g70i3z{border-bottom-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-window__header.svelte-1g70i3z{border-bottom-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-window__header.svelte-1g70i3z{border-bottom-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-window__header.svelte-1g70i3z{border-bottom-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-window__header.svelte-1g70i3z{border-bottom-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-window__header.svelte-1g70i3z{height:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-window__header.svelte-1g70i3z{height:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-window__header.svelte-1g70i3z{height:calc(0.0208541667 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-window__header.svelte-1g70i3z{height:calc(0.0297916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-window__header.svelte-1g70i3z{height:calc(0.0189583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-window__header.svelte-1g70i3z{height:calc(0.024375 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-window__header.svelte-1g70i3z{height:calc(0.0297916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-window__header.svelte-1g70i3z{padding-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-window__header.svelte-1g70i3z{padding-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-window__header.svelte-1g70i3z{padding-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-window__header.svelte-1g70i3z{padding-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-window__header.svelte-1g70i3z{padding-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-window__header.svelte-1g70i3z{padding-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-window__header.svelte-1g70i3z{padding-left:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-window__header.svelte-1g70i3z{padding-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-window__header.svelte-1g70i3z{padding-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-window__header.svelte-1g70i3z{padding-right:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-window__header.svelte-1g70i3z{padding-right:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-window__header.svelte-1g70i3z{padding-right:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-window__header.svelte-1g70i3z{padding-right:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-window__header.svelte-1g70i3z{padding-right:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-window__header.svelte-1g70i3z{border-top-left-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-window__header.svelte-1g70i3z{border-top-left-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-window__header.svelte-1g70i3z{border-top-left-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-window__header.svelte-1g70i3z{border-top-left-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-window__header.svelte-1g70i3z{border-top-left-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-window__header.svelte-1g70i3z{border-top-left-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-window__header.svelte-1g70i3z{border-top-left-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-window__header.svelte-1g70i3z{border-top-right-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-window__header.svelte-1g70i3z{border-top-right-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-window__header.svelte-1g70i3z{border-top-right-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-window__header.svelte-1g70i3z{border-top-right-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-window__header.svelte-1g70i3z{border-top-right-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-window__header.svelte-1g70i3z{border-top-right-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-window__header.svelte-1g70i3z{border-top-right-radius:calc(0.0057291667 * 100vw + 0px)}}.inventory-window__header--gold.svelte-1g70i3z{background:linear-gradient(0deg, #BE8636, #BE8636), radial-gradient(29.34% 24.46% at 46.36% 108.15%, #FEB752 0%, rgba(254, 183, 82, 0) 100%), radial-gradient(43.69% 36.41% at 46.36% -17.39%, #FEB752 0%, rgba(255, 255, 255, 0) 100%), radial-gradient(84.77% 70.65% at 46.36% -8.7%, #FEB752 0%, rgba(255, 255, 255, 0) 100%), radial-gradient(93.9% 78.26% at 46.36% -71.74%, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%)}.inventory-window__header-title.svelte-1g70i3z{width:100%;display:flex;align-items:center}.inventory-window__header-title-icon.svelte-1g70i3z{color:rgba(255, 255, 255, 0.45);font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-window__header-title-icon.svelte-1g70i3z{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-window__header-title-icon.svelte-1g70i3z{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-window__header-title-icon.svelte-1g70i3z{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-window__header-title-icon.svelte-1g70i3z{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-window__header-title-icon.svelte-1g70i3z{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-window__header-title-icon.svelte-1g70i3z{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-window__header-title-icon.svelte-1g70i3z{font-size:calc(0.0103125 * 100vw + 0px)}}.inventory-window__header-title-text.svelte-1g70i3z{position:absolute;font-family:\"HeadingNowBold\";color:#FFFFFF;font-weight:700;text-transform:uppercase;left:50%;transform:translateX(-50%);font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-window__header-title-text.svelte-1g70i3z{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-window__header-title-text.svelte-1g70i3z{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-window__header-title-text.svelte-1g70i3z{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-window__header-title-text.svelte-1g70i3z{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-window__header-title-text.svelte-1g70i3z{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-window__header-title-text.svelte-1g70i3z{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-window__header-title-text.svelte-1g70i3z{font-size:calc(0.0091666667 * 100vw + 0px)}}.inventory-window__header-controls.svelte-1g70i3z{display:flex;align-items:center;gap:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-window__header-controls.svelte-1g70i3z{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-window__header-controls.svelte-1g70i3z{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-window__header-controls.svelte-1g70i3z{gap:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-window__header-controls.svelte-1g70i3z{gap:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-window__header-controls.svelte-1g70i3z{gap:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-window__header-controls.svelte-1g70i3z{gap:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-window__header-controls.svelte-1g70i3z{gap:calc(0.00859375 * 100vw + 0px)}}.inventory-window__header-control-close.svelte-1g70i3z{color:rgba(255, 255, 255, 0.45);transition:0.2s ease-out;transition-property:color;object-fit:contain;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-window__header-control-close.svelte-1g70i3z{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-window__header-control-close.svelte-1g70i3z{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-window__header-control-close.svelte-1g70i3z{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-window__header-control-close.svelte-1g70i3z{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-window__header-control-close.svelte-1g70i3z{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-window__header-control-close.svelte-1g70i3z{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-window__header-control-close.svelte-1g70i3z{font-size:calc(0.0103125 * 100vw + 0px)}}.inventory-window__header-control-close.svelte-1g70i3z:hover{color:#FFFFFF}.inventory-window__header-control-sort.svelte-1g70i3z{font-family:\"HeadingNowBold\";color:rgba(255, 255, 255, 0.45);text-transform:uppercase;transition:0.14s ease-out;transition-property:color, transform;font-size:calc(0.009375 * 100vw + 0px);padding-top:calc(0.0020833333 * 100vw + 0px);padding-bottom:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-window__header-control-sort.svelte-1g70i3z{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-window__header-control-sort.svelte-1g70i3z{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-window__header-control-sort.svelte-1g70i3z{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-window__header-control-sort.svelte-1g70i3z{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-window__header-control-sort.svelte-1g70i3z{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-window__header-control-sort.svelte-1g70i3z{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-window__header-control-sort.svelte-1g70i3z{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-window__header-control-sort.svelte-1g70i3z{padding-top:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-window__header-control-sort.svelte-1g70i3z{padding-top:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-window__header-control-sort.svelte-1g70i3z{padding-top:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-window__header-control-sort.svelte-1g70i3z{padding-top:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-window__header-control-sort.svelte-1g70i3z{padding-top:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-window__header-control-sort.svelte-1g70i3z{padding-top:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-window__header-control-sort.svelte-1g70i3z{padding-top:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-window__header-control-sort.svelte-1g70i3z{padding-bottom:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-window__header-control-sort.svelte-1g70i3z{padding-bottom:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-window__header-control-sort.svelte-1g70i3z{padding-bottom:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-window__header-control-sort.svelte-1g70i3z{padding-bottom:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-window__header-control-sort.svelte-1g70i3z{padding-bottom:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-window__header-control-sort.svelte-1g70i3z{padding-bottom:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-window__header-control-sort.svelte-1g70i3z{padding-bottom:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-window__header-control-sort.svelte-1g70i3z{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-window__header-control-sort.svelte-1g70i3z{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-window__header-control-sort.svelte-1g70i3z{border-radius:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-window__header-control-sort.svelte-1g70i3z{border-radius:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-window__header-control-sort.svelte-1g70i3z{border-radius:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-window__header-control-sort.svelte-1g70i3z{border-radius:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-window__header-control-sort.svelte-1g70i3z{border-radius:calc(0.0022916667 * 100vw + 0px)}}.inventory-window__header-control-sort.svelte-1g70i3z:hover{color:#FFFFFF}.inventory-window__header-control-sort.svelte-1g70i3z:active{transform:translateY(5%)}");
}

// (967:4) {#if !contextMenu}
function inventory_window_index_svelte_create_if_block(ctx) {
	let div4;
	let div2;
	let i;
	let i_class_value;
	let t0;
	let div1;
	let t1;
	let div0;
	let t2;
	let t3;
	let div3;
	let t4;
	let t5;
	let div4_class_value;
	let current;
	let mounted;
	let dispose;
	let if_block0 = /*infoButtonEnabled*/ ctx[12] && inventory_window_index_svelte_create_if_block_4(ctx);
	let if_block1 = /*sortingButtonVisibility*/ ctx[11] && inventory_window_index_svelte_create_if_block_2(ctx);
	let if_block2 = /*exitButtonVisibility*/ ctx[10] && inventory_window_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			div4 = internal_element("div");
			div2 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div1 = internal_element("div");
			t1 = internal_text(/*title*/ ctx[4]);
			div0 = internal_element("div");
			t2 = internal_text(/*subtitle*/ ctx[5]);
			t3 = space();
			div3 = internal_element("div");
			if (if_block0) if_block0.c();
			t4 = space();
			if (if_block1) if_block1.c();
			t5 = space();
			if (if_block2) if_block2.c();
			attr(i, "class", i_class_value = "inventory-window__header-title-icon icon-" + /*headerIcon*/ ctx[6] + " svelte-1g70i3z");
			attr(div0, "class", "inventory-window__header-subtitle-text");
			attr(div1, "class", "inventory-window__header-title-text svelte-1g70i3z");
			attr(div2, "class", "inventory-window__header-title svelte-1g70i3z");
			attr(div3, "class", "inventory-window__header-controls svelte-1g70i3z");

			attr(div4, "class", div4_class_value = "inventory-window__header " + (/*headerStyle*/ ctx[7]
			? `inventory-window__header--${/*headerStyle*/ ctx[7]}`
			: '') + " svelte-1g70i3z");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div2);
			append(div2, i);
			append(div2, t0);
			append(div2, div1);
			append(div1, t1);
			append(div1, div0);
			append(div0, t2);
			append(div4, t3);
			append(div4, div3);
			if (if_block0) if_block0.m(div3, null);
			append(div3, t4);
			if (if_block1) if_block1.m(div3, null);
			append(div3, t5);
			if (if_block2) if_block2.m(div3, null);
			current = true;

			if (!mounted) {
				dispose = [
					listen(div4, "mouseup", /*stopMoving*/ ctx[21]),
					listen(div4, "mousedown", stop_propagation(/*startMoving*/ ctx[20]))
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (!current || dirty[0] & /*headerIcon*/ 64 && i_class_value !== (i_class_value = "inventory-window__header-title-icon icon-" + /*headerIcon*/ ctx[6] + " svelte-1g70i3z")) {
				attr(i, "class", i_class_value);
			}

			if (!current || dirty[0] & /*title*/ 16) set_data(t1, /*title*/ ctx[4]);
			if (!current || dirty[0] & /*subtitle*/ 32) set_data(t2, /*subtitle*/ ctx[5]);

			if (/*infoButtonEnabled*/ ctx[12]) {
				if (if_block0) {
					if (dirty[0] & /*infoButtonEnabled*/ 4096) {
						transition_in(if_block0, 1);
					}
				} else {
					if_block0 = inventory_window_index_svelte_create_if_block_4(ctx);
					if_block0.c();
					transition_in(if_block0, 1);
					if_block0.m(div3, t4);
				}
			} else if (if_block0) {
				group_outros();

				transition_out(if_block0, 1, 1, () => {
					if_block0 = null;
				});

				check_outros();
			}

			if (/*sortingButtonVisibility*/ ctx[11]) {
				if (if_block1) {
					if_block1.p(ctx, dirty);

					if (dirty[0] & /*sortingButtonVisibility*/ 2048) {
						transition_in(if_block1, 1);
					}
				} else {
					if_block1 = inventory_window_index_svelte_create_if_block_2(ctx);
					if_block1.c();
					transition_in(if_block1, 1);
					if_block1.m(div3, t5);
				}
			} else if (if_block1) {
				group_outros();

				transition_out(if_block1, 1, 1, () => {
					if_block1 = null;
				});

				check_outros();
			}

			if (/*exitButtonVisibility*/ ctx[10]) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = inventory_window_index_svelte_create_if_block_1(ctx);
					if_block2.c();
					if_block2.m(div3, null);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			if (!current || dirty[0] & /*headerStyle*/ 128 && div4_class_value !== (div4_class_value = "inventory-window__header " + (/*headerStyle*/ ctx[7]
			? `inventory-window__header--${/*headerStyle*/ ctx[7]}`
			: '') + " svelte-1g70i3z")) {
				attr(div4, "class", div4_class_value);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block0);
			transition_in(if_block1);
			current = true;
		},
		o(local) {
			transition_out(if_block0);
			transition_out(if_block1);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div4);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			if (if_block2) if_block2.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (978:16) {#if infoButtonEnabled}
function inventory_window_index_svelte_create_if_block_4(ctx) {
	let infobutton;
	let current;
	infobutton = new inventory_info_button_index_svelte({});

	return {
		c() {
			create_component(infobutton.$$.fragment);
		},
		m(target, anchor) {
			mount_component(infobutton, target, anchor);
			current = true;
		},
		i(local) {
			if (current) return;
			transition_in(infobutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(infobutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(infobutton, detaching);
		}
	};
}

// (981:16) {#if sortingButtonVisibility}
function inventory_window_index_svelte_create_if_block_2(ctx) {
	let i;
	let t;
	let if_block_anchor;
	let current;
	let mounted;
	let dispose;
	let if_block = /*hovered*/ ctx[17] && inventory_window_index_svelte_create_if_block_3(ctx);

	return {
		c() {
			i = internal_element("i");
			t = space();
			if (if_block) if_block.c();
			if_block_anchor = empty();
			attr(i, "class", "inventory-window__header-control-sort icon-refresh-arrows svelte-1g70i3z");
			attr(i, "id", "inventory-sort");
		},
		m(target, anchor) {
			insert(target, i, anchor);
			insert(target, t, anchor);
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
			current = true;

			if (!mounted) {
				dispose = listen(i, "click", stop_propagation(/*sort*/ ctx[23]));
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (/*hovered*/ ctx[17]) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty[0] & /*hovered*/ 131072) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = inventory_window_index_svelte_create_if_block_3(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(i);
			if (detaching) detach(t);
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
			mounted = false;
			dispose();
		}
	};
}

// (989:20) {#if hovered}
function inventory_window_index_svelte_create_if_block_3(ctx) {
	let portal;
	let current;

	portal = new portal_svelte({
			props: {
				$$slots: { default: [inventory_window_index_svelte_create_default_slot] },
				$$scope: { ctx }
			}
		});

	return {
		c() {
			create_component(portal.$$.fragment);
		},
		m(target, anchor) {
			mount_component(portal, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const portal_changes = {};

			if (dirty[0] & /*left, top*/ 786432 | dirty[1] & /*$$scope*/ 8) {
				portal_changes.$$scope = { dirty, ctx };
			}

			portal.$set(portal_changes);
		},
		i(local) {
			if (current) return;
			transition_in(portal.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(portal.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(portal, detaching);
		}
	};
}

// (990:24) <Portal>
function inventory_window_index_svelte_create_default_slot(ctx) {
	let div3;
	let div0;
	let t0;
	let div1;
	let t2;
	let div2;

	return {
		c() {
			div3 = internal_element("div");
			div0 = internal_element("div");
			t0 = space();
			div1 = internal_element("div");
			div1.textContent = "Сортировка";
			t2 = space();
			div2 = internal_element("div");
			attr(div0, "class", "inventory-item__tooltip-arrow");
			attr(div1, "class", "inventory-item__tooltip-name");
			attr(div2, "class", "inventory-item__tooltip-background");
			attr(div3, "class", "inventory-item__tooltip");
			set_style(div3, "left", /*left*/ ctx[18] + "px");
			set_style(div3, "top", /*top*/ ctx[19] + "px");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div0);
			append(div3, t0);
			append(div3, div1);
			append(div3, t2);
			append(div3, div2);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*left*/ 262144) {
				set_style(div3, "left", /*left*/ ctx[18] + "px");
			}

			if (dirty[0] & /*top*/ 524288) {
				set_style(div3, "top", /*top*/ ctx[19] + "px");
			}
		},
		d(detaching) {
			if (detaching) detach(div3);
		}
	};
}

// (999:16) {#if exitButtonVisibility}
function inventory_window_index_svelte_create_if_block_1(ctx) {
	let i;
	let mounted;
	let dispose;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "inventory-window__header-control-close ui-close svelte-1g70i3z");
		},
		m(target, anchor) {
			insert(target, i, anchor);

			if (!mounted) {
				dispose = listen(i, "click", function () {
					if (internal_is_function(/*onClose*/ ctx[8])) /*onClose*/ ctx[8].apply(this, arguments);
				});

				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
		},
		d(detaching) {
			if (detaching) detach(i);
			mounted = false;
			dispose();
		}
	};
}

function inventory_window_index_svelte_create_fragment(ctx) {
	let div;
	let t;
	let current;
	let mounted;
	let dispose;
	let if_block = !/*contextMenu*/ ctx[13] && inventory_window_index_svelte_create_if_block(ctx);
	const default_slot_template = /*#slots*/ ctx[28].default;
	const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[34], null);

	return {
		c() {
			div = internal_element("div");
			if (if_block) if_block.c();
			t = space();
			if (default_slot) default_slot.c();
			attr(div, "class", "inventory-window svelte-1g70i3z");
			set_style(div, "left", `${/*windowLeft*/ ctx[0]}px`);
			set_style(div, "top", `${/*windowTop*/ ctx[1]}px`);
			set_style(div, "z-index", Number(/*selectedWindow*/ ctx[3] === /*windowId*/ ctx[2]));
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block) if_block.m(div, null);
			append(div, t);

			if (default_slot) {
				default_slot.m(div, null);
			}

			/*div_binding*/ ctx[30](div);
			current = true;

			if (!mounted) {
				dispose = [
					listen(inventory_window_index_svelte_window_1, "click", /*click_handler*/ ctx[29]),
					listen(inventory_window_index_svelte_window_1, "mousemove", /*moving*/ ctx[22]),
					listen(div, "mouseenter", /*mouseenter_handler*/ ctx[31]),
					listen(div, "mouseleave", /*mouseleave_handler*/ ctx[32]),
					listen(div, "mousedown", /*mousedown_handler*/ ctx[33])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (!/*contextMenu*/ ctx[13]) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty[0] & /*contextMenu*/ 8192) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = inventory_window_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(div, t);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}

			if (default_slot) {
				if (default_slot.p && (!current || dirty[1] & /*$$scope*/ 8)) {
					update_slot_base(
						default_slot,
						default_slot_template,
						ctx,
						/*$$scope*/ ctx[34],
						!current
						? get_all_dirty_from_scope(/*$$scope*/ ctx[34])
						: get_slot_changes(default_slot_template, /*$$scope*/ ctx[34], dirty, null),
						null
					);
				}
			}

			if (!current || dirty[0] & /*windowLeft*/ 1) {
				set_style(div, "left", `${/*windowLeft*/ ctx[0]}px`);
			}

			if (!current || dirty[0] & /*windowTop*/ 2) {
				set_style(div, "top", `${/*windowTop*/ ctx[1]}px`);
			}

			if (!current || dirty[0] & /*selectedWindow, windowId*/ 12) {
				set_style(div, "z-index", Number(/*selectedWindow*/ ctx[3] === /*windowId*/ ctx[2]));
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			transition_in(default_slot, local);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			transition_out(default_slot, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (if_block) if_block.d();
			if (default_slot) default_slot.d(detaching);
			/*div_binding*/ ctx[30](null);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function inventory_window_index_svelte_instance($$self, $$props, $$invalidate) {
	let $windowPositions;
	let $inventoryCurrentItem;
	component_subscribe($$self, windowPositions, $$value => $$invalidate(36, $windowPositions = $$value));
	component_subscribe($$self, inventoryCurrentItem, $$value => $$invalidate(27, $inventoryCurrentItem = $$value));
	let { $$slots: slots = {}, $$scope } = $$props;
	let movingAvailable = false;
	let windowNode = null;
	let windowHovered = false;
	let parentCoords = null;

	// let windowCoords = null;
	let hovered = false;

	let left = 0;
	let top = 0;
	let { windowId = '' } = $$props;
	let { selectedWindow = '' } = $$props;
	let { windowLeft = 0 } = $$props;
	let { windowTop = 0 } = $$props;
	let { title = '' } = $$props;
	let { subtitle = '' } = $$props;
	let { headerIcon = '' } = $$props;
	let { headerStyle = '' } = $$props;
	let { centeredX = false } = $$props;
	let { centeredY = false } = $$props;

	let { onClose = () => {
		
	} } = $$props;

	let { onFocus = () => {
		
	} } = $$props;

	let { savedPositionsEnabled = true } = $$props;
	let { exitButtonVisibility = true } = $$props;
	let { sortingButtonVisibility = false } = $$props;
	let { infoButtonEnabled = false } = $$props;
	let { contextMenu = false } = $$props;

	// const sortingAudio = new Audio(sortingSound);
	const startMoving = () => {
		onFocus();
		$$invalidate(15, movingAvailable = true);
	};

	const stopMoving = () => {
		$$invalidate(15, movingAvailable = false);

		if (savedPositionsEnabled && windowHovered) {
			const { x, y } = windowNode.getBoundingClientRect();

			if ((0,lodash.isNil)($windowPositions[windowId])) {
				set_store_value(
					windowPositions,
					$windowPositions[windowId] = {
						windowId,
						left: Math.floor(x),
						top: Math.floor(y)
					},
					$windowPositions
				);

				sendClientMessage('inventory.saveWindowPositions', JSON.stringify($windowPositions[windowId]));
			}

			if ($windowPositions[windowId].left === Math.floor(x) && $windowPositions[windowId].top === Math.floor(y)) {
				return;
			}

			set_store_value(
				windowPositions,
				$windowPositions[windowId] = {
					windowId,
					left: Math.floor(x),
					top: Math.floor(y)
				},
				$windowPositions
			);

			sendClientMessage('inventory.saveWindowPositions', JSON.stringify($windowPositions[windowId]));
		}
	};

	const moving = event => {
		if (movingAvailable) {
			$$invalidate(0, windowLeft += event.movementX);
			$$invalidate(1, windowTop += event.movementY);
		}

		if (event.target && event.target.id === 'inventory-sort') {
			$$invalidate(17, hovered = true);
			$$invalidate(18, left = event.clientX);
			$$invalidate(19, top = event.clientY);
		} else {
			$$invalidate(17, hovered = false);
		}
	};

	const sort = () => {
		// sortingAudio.play();
		$$invalidate(15, movingAvailable = false);

		sendClientMessage(MAP_WINDOW_ID_TO_SORT_ACTION[windowId]);
	};

	onMount(() => {
		parentCoords = windowNode.parentNode.getBoundingClientRect();

		if (!(0,lodash.isNil)($windowPositions[windowId]) && savedPositionsEnabled && (!centeredX || !centeredY)) {
			$$invalidate(1, windowTop = $windowPositions[windowId].top);
			$$invalidate(0, windowLeft = $windowPositions[windowId].left);
		} else {
			$$invalidate(0, windowLeft = parentCoords.x);
			$$invalidate(1, windowTop = parentCoords.y);

			if (!(0,lodash.isNil)(windowNode) && centeredX && !centeredY) {
				$$invalidate(1, windowTop = parentCoords.y);
				$$invalidate(0, windowLeft = window.innerWidth / 2 - windowNode.scrollWidth / 2);
			}

			if (!(0,lodash.isNil)(windowNode) && !centeredX && centeredY) {
				$$invalidate(1, windowTop = window.innerHeight / 2 - windowNode.scrollHeight / 2);
				$$invalidate(0, windowLeft = parentCoords.x);
			}

			if (!(0,lodash.isNil)(windowNode) && centeredX && centeredY) {
				$$invalidate(1, windowTop = window.innerHeight / 2 - windowNode.scrollHeight / 2);
				$$invalidate(0, windowLeft = window.innerWidth / 2 - windowNode.scrollWidth / 2);
			}
		}

		if (savedPositionsEnabled && !(0,lodash.isNil)(windowNode)) {
			const { x, y } = parentCoords;

			if ((0,lodash.isNil)($windowPositions[windowId])) {
				set_store_value(
					windowPositions,
					$windowPositions[windowId] = {
						windowId,
						left: Math.floor(x),
						top: Math.floor(y)
					},
					$windowPositions
				);
			}
		}
	});

	const click_handler = () => {
		$$invalidate(15, movingAvailable = false);
	};

	function div_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			windowNode = $$value;
			$$invalidate(14, windowNode);
		});
	}

	const mouseenter_handler = () => {
		$$invalidate(16, windowHovered = true);
	};

	const mouseleave_handler = () => {
		$$invalidate(16, windowHovered = false);
	};

	const mousedown_handler = () => {
		onFocus();
	};

	$$self.$$set = $$props => {
		if ('windowId' in $$props) $$invalidate(2, windowId = $$props.windowId);
		if ('selectedWindow' in $$props) $$invalidate(3, selectedWindow = $$props.selectedWindow);
		if ('windowLeft' in $$props) $$invalidate(0, windowLeft = $$props.windowLeft);
		if ('windowTop' in $$props) $$invalidate(1, windowTop = $$props.windowTop);
		if ('title' in $$props) $$invalidate(4, title = $$props.title);
		if ('subtitle' in $$props) $$invalidate(5, subtitle = $$props.subtitle);
		if ('headerIcon' in $$props) $$invalidate(6, headerIcon = $$props.headerIcon);
		if ('headerStyle' in $$props) $$invalidate(7, headerStyle = $$props.headerStyle);
		if ('centeredX' in $$props) $$invalidate(24, centeredX = $$props.centeredX);
		if ('centeredY' in $$props) $$invalidate(25, centeredY = $$props.centeredY);
		if ('onClose' in $$props) $$invalidate(8, onClose = $$props.onClose);
		if ('onFocus' in $$props) $$invalidate(9, onFocus = $$props.onFocus);
		if ('savedPositionsEnabled' in $$props) $$invalidate(26, savedPositionsEnabled = $$props.savedPositionsEnabled);
		if ('exitButtonVisibility' in $$props) $$invalidate(10, exitButtonVisibility = $$props.exitButtonVisibility);
		if ('sortingButtonVisibility' in $$props) $$invalidate(11, sortingButtonVisibility = $$props.sortingButtonVisibility);
		if ('infoButtonEnabled' in $$props) $$invalidate(12, infoButtonEnabled = $$props.infoButtonEnabled);
		if ('contextMenu' in $$props) $$invalidate(13, contextMenu = $$props.contextMenu);
		if ('$$scope' in $$props) $$invalidate(34, $$scope = $$props.$$scope);
	};

	$$self.$$.update = () => {
		if ($$self.$$.dirty[0] & /*$inventoryCurrentItem, savedPositionsEnabled*/ 201326592) {
			$: {
				if (($inventoryCurrentItem.top || $inventoryCurrentItem.left) && !savedPositionsEnabled) {
					$$invalidate(0, windowLeft = $inventoryCurrentItem.left);
					$$invalidate(1, windowTop = $inventoryCurrentItem.top);
				}
			}
		}

		if ($$self.$$.dirty[0] & /*windowNode, windowLeft, windowTop*/ 16387) {
			$: {
				if (!(0,lodash.isNil)(windowNode)) {
					const { x, y } = windowNode.getBoundingClientRect();
					const nodeWidth = windowNode.children[0].clientWidth;
					const nodeHeight = windowNode.children[0].clientHeight;

					if (x > window.innerWidth * 0.9) {
						$$invalidate(0, windowLeft -= nodeWidth * 0.3);
					}

					if (x < nodeWidth * 0.9 * -1) {
						$$invalidate(0, windowLeft += nodeWidth * 0.3);
					}

					if (y < -10) {
						$$invalidate(1, windowTop += nodeHeight);
					}

					if (y > window.innerHeight * 0.9) {
						$$invalidate(1, windowTop -= nodeHeight * 0.3);
					}
				}
			}
		}
	};

	return [
		windowLeft,
		windowTop,
		windowId,
		selectedWindow,
		title,
		subtitle,
		headerIcon,
		headerStyle,
		onClose,
		onFocus,
		exitButtonVisibility,
		sortingButtonVisibility,
		infoButtonEnabled,
		contextMenu,
		windowNode,
		movingAvailable,
		windowHovered,
		hovered,
		left,
		top,
		startMoving,
		stopMoving,
		moving,
		sort,
		centeredX,
		centeredY,
		savedPositionsEnabled,
		$inventoryCurrentItem,
		slots,
		click_handler,
		div_binding,
		mouseenter_handler,
		mouseleave_handler,
		mousedown_handler,
		$$scope
	];
}

class Inventory_window extends SvelteComponent {
	constructor(options) {
		super();

		init(
			this,
			options,
			inventory_window_index_svelte_instance,
			inventory_window_index_svelte_create_fragment,
			safe_not_equal,
			{
				windowId: 2,
				selectedWindow: 3,
				windowLeft: 0,
				windowTop: 1,
				title: 4,
				subtitle: 5,
				headerIcon: 6,
				headerStyle: 7,
				centeredX: 24,
				centeredY: 25,
				onClose: 8,
				onFocus: 9,
				savedPositionsEnabled: 26,
				exitButtonVisibility: 10,
				sortingButtonVisibility: 11,
				infoButtonEnabled: 12,
				contextMenu: 13
			},
			inventory_window_index_svelte_add_css,
			[-1, -1]
		);
	}
}

/* harmony default export */ const inventory_window_index_svelte = (Inventory_window);
;// CONCATENATED MODULE: ./src/views/inventory/components/inventory-button/index.svelte
/* src\views\inventory\components\inventory-button\index.svelte generated by Svelte v3.49.0 */






function inventory_button_index_svelte_create_if_block(ctx) {
	let i;
	let i_class_value;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", i_class_value = "inventory-button__icon icon-" + /*icon*/ ctx[1] + " inventory-button__icon--" + /*iconSize*/ ctx[7]);
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*icon, iconSize*/ 130 && i_class_value !== (i_class_value = "inventory-button__icon icon-" + /*icon*/ ctx[1] + " inventory-button__icon--" + /*iconSize*/ ctx[7])) {
				attr(i, "class", i_class_value);
			}
		},
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

function inventory_button_index_svelte_create_fragment(ctx) {
	let div1;
	let show_if = !(0,lodash.isEmpty)(/*icon*/ ctx[1]);
	let t0;
	let div0;
	let t1;
	let div0_class_value;
	let div1_class_value;
	let mounted;
	let dispose;
	let if_block = show_if && inventory_button_index_svelte_create_if_block(ctx);

	return {
		c() {
			div1 = internal_element("div");
			if (if_block) if_block.c();
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(/*text*/ ctx[0]);
			attr(div0, "class", div0_class_value = "inventory-button__text inventory-button__text--" + /*fontSize*/ ctx[5]);
			attr(div1, "class", div1_class_value = "inventory-button inventory-button--" + /*color*/ ctx[4] + " inventory-button--" + /*type*/ ctx[6]);
			toggle_class(div1, "inventory-button--active", /*active*/ ctx[2]);
			toggle_class(div1, "inventory-button--disabled", /*disabled*/ ctx[3]);
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			if (if_block) if_block.m(div1, null);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);

			if (!mounted) {
				dispose = listen(div1, "click", /*clickHandler*/ ctx[8]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*icon*/ 2) show_if = !(0,lodash.isEmpty)(/*icon*/ ctx[1]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = inventory_button_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div1, t0);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (dirty & /*text*/ 1) set_data(t1, /*text*/ ctx[0]);

			if (dirty & /*fontSize*/ 32 && div0_class_value !== (div0_class_value = "inventory-button__text inventory-button__text--" + /*fontSize*/ ctx[5])) {
				attr(div0, "class", div0_class_value);
			}

			if (dirty & /*color, type*/ 80 && div1_class_value !== (div1_class_value = "inventory-button inventory-button--" + /*color*/ ctx[4] + " inventory-button--" + /*type*/ ctx[6])) {
				attr(div1, "class", div1_class_value);
			}

			if (dirty & /*color, type, active*/ 84) {
				toggle_class(div1, "inventory-button--active", /*active*/ ctx[2]);
			}

			if (dirty & /*color, type, disabled*/ 88) {
				toggle_class(div1, "inventory-button--disabled", /*disabled*/ ctx[3]);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
			if (if_block) if_block.d();
			mounted = false;
			dispose();
		}
	};
}

function inventory_button_index_svelte_instance($$self, $$props, $$invalidate) {
	let { text = '' } = $$props;
	let { icon = '' } = $$props;
	let { active = false } = $$props;
	let { disabled = false } = $$props;
	let { color = ButtonColors.Default } = $$props;

	let { onClick = () => {
		
	} } = $$props;

	let { fontSize = '' } = $$props;
	let { type = '' } = $$props;
	let { iconSize = '' } = $$props;

	const clickHandler = () => {
		if (disabled) {
			return;
		}

		onClick();
	};

	$$self.$$set = $$props => {
		if ('text' in $$props) $$invalidate(0, text = $$props.text);
		if ('icon' in $$props) $$invalidate(1, icon = $$props.icon);
		if ('active' in $$props) $$invalidate(2, active = $$props.active);
		if ('disabled' in $$props) $$invalidate(3, disabled = $$props.disabled);
		if ('color' in $$props) $$invalidate(4, color = $$props.color);
		if ('onClick' in $$props) $$invalidate(9, onClick = $$props.onClick);
		if ('fontSize' in $$props) $$invalidate(5, fontSize = $$props.fontSize);
		if ('type' in $$props) $$invalidate(6, type = $$props.type);
		if ('iconSize' in $$props) $$invalidate(7, iconSize = $$props.iconSize);
	};

	return [
		text,
		icon,
		active,
		disabled,
		color,
		fontSize,
		type,
		iconSize,
		clickHandler,
		onClick
	];
}

class Inventory_button extends SvelteComponent {
	constructor(options) {
		super();

		init(this, options, inventory_button_index_svelte_instance, inventory_button_index_svelte_create_fragment, safe_not_equal, {
			text: 0,
			icon: 1,
			active: 2,
			disabled: 3,
			color: 4,
			onClick: 9,
			fontSize: 5,
			type: 6,
			iconSize: 7
		});
	}
}

/* harmony default export */ const inventory_button_index_svelte = (Inventory_button);
;// CONCATENATED MODULE: ./src/views/inventory/components/inventory-info/index.svelte
/* src\views\inventory\components\inventory-info\index.svelte generated by Svelte v3.49.0 */











function inventory_info_index_svelte_add_css(target) {
	append_styles(target, "svelte-185hbvu", "@keyframes svelte-185hbvu-blinking{50%{opacity:0}}@keyframes svelte-185hbvu-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-185hbvu-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-185hbvu-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-185hbvu-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-185hbvu-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-185hbvu-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-185hbvu-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-185hbvu-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-185hbvu-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-185hbvu-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-185hbvu-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-185hbvu-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-185hbvu-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-185hbvu-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.inventory-info.svelte-185hbvu{background-color:rgba(19, 21, 22, 0.95);overflow:hidden;z-index:2;border-radius:calc(0.0083333333 * 100vw + 0px);width:calc(0.103125 * 100vw + 0px);min-height:calc(0.0208333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-info.svelte-185hbvu{border-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-info.svelte-185hbvu{border-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-info.svelte-185hbvu{border-radius:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-info.svelte-185hbvu{border-radius:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-info.svelte-185hbvu{border-radius:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-info.svelte-185hbvu{border-radius:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-info.svelte-185hbvu{border-radius:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-info.svelte-185hbvu{width:calc(0.103125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-info.svelte-185hbvu{width:calc(0.103125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-info.svelte-185hbvu{width:calc(0.07940625 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-info.svelte-185hbvu{width:calc(0.1134375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-info.svelte-185hbvu{width:calc(0.0721875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-info.svelte-185hbvu{width:calc(0.0928125 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-info.svelte-185hbvu{width:calc(0.1134375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-info.svelte-185hbvu{min-height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-info.svelte-185hbvu{min-height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-info.svelte-185hbvu{min-height:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-info.svelte-185hbvu{min-height:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-info.svelte-185hbvu{min-height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-info.svelte-185hbvu{min-height:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-info.svelte-185hbvu{min-height:calc(0.0229166667 * 100vw + 0px)}}.inventory-info__buttons.svelte-185hbvu{display:grid;grid-template-columns:repeat(1, 1fr);grid-gap:calc(0.003125 * 100vw + 0px);padding:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-info__buttons.svelte-185hbvu{grid-gap:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-info__buttons.svelte-185hbvu{grid-gap:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-info__buttons.svelte-185hbvu{grid-gap:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-info__buttons.svelte-185hbvu{grid-gap:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-info__buttons.svelte-185hbvu{grid-gap:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-info__buttons.svelte-185hbvu{grid-gap:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-info__buttons.svelte-185hbvu{grid-gap:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-info__buttons.svelte-185hbvu{padding:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-info__buttons.svelte-185hbvu{padding:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-info__buttons.svelte-185hbvu{padding:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-info__buttons.svelte-185hbvu{padding:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-info__buttons.svelte-185hbvu{padding:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-info__buttons.svelte-185hbvu{padding:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-info__buttons.svelte-185hbvu{padding:calc(0.0045833333 * 100vw + 0px)}}.inventory-info__button.svelte-185hbvu{height:calc(0.0145833333 * 100vw + 0px);border-radius:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-info__button.svelte-185hbvu{height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-info__button.svelte-185hbvu{height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-info__button.svelte-185hbvu{height:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-info__button.svelte-185hbvu{height:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-info__button.svelte-185hbvu{height:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-info__button.svelte-185hbvu{height:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-info__button.svelte-185hbvu{height:calc(0.0160416667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-info__button.svelte-185hbvu{border-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-info__button.svelte-185hbvu{border-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-info__button.svelte-185hbvu{border-radius:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-info__button.svelte-185hbvu{border-radius:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-info__button.svelte-185hbvu{border-radius:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-info__button.svelte-185hbvu{border-radius:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-info__button.svelte-185hbvu{border-radius:calc(0.0091666667 * 100vw + 0px)}}");
}

function inventory_info_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[8] = list[i];
	return child_ctx;
}

// (472:0) {#if informationLoaded}
function inventory_info_index_svelte_create_if_block(ctx) {
	let div1;
	let div0;
	let current;
	let each_value = Object.values(ACTIONS_BITS);
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = inventory_info_index_svelte_create_each_block(inventory_info_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div0, "class", "inventory-info__buttons svelte-185hbvu");
			attr(div1, "class", "inventory-info svelte-185hbvu");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			current = true;
		},
		p(ctx, dirty) {
			if (dirty & /*doAction, Object, ACTIONS_BITS, MAP_ACTION_TO_ICON, MAP_ACTION_TO_NAME, compareButtonBits, $infoData*/ 14) {
				each_value = Object.values(ACTIONS_BITS);
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = inventory_info_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = inventory_info_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div0, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (480:16) {#if compareButtonBits(ACTION, $infoData.bits)}
function inventory_info_index_svelte_create_if_block_1(ctx) {
	let div;
	let inventorybutton;
	let t;
	let current;
	let mounted;
	let dispose;

	inventorybutton = new inventory_button_index_svelte({
			props: {
				icon: MAP_ACTION_TO_ICON[/*ACTION*/ ctx[8]],
				text: MAP_ACTION_TO_NAME[/*ACTION*/ ctx[8]],
				fontSize: 'absolute',
				type: "context",
				iconSize: "small"
			}
		});

	function click_handler() {
		return /*click_handler*/ ctx[4](/*ACTION*/ ctx[8]);
	}

	return {
		c() {
			div = internal_element("div");
			create_component(inventorybutton.$$.fragment);
			t = space();
			attr(div, "class", "inventory-info__button svelte-185hbvu");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(inventorybutton, div, null);
			append(div, t);
			current = true;

			if (!mounted) {
				dispose = listen(div, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
		},
		i(local) {
			if (current) return;
			transition_in(inventorybutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(inventorybutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(inventorybutton);
			mounted = false;
			dispose();
		}
	};
}

// (479:12) {#each Object.values(ACTIONS_BITS) as ACTION}
function inventory_info_index_svelte_create_each_block(ctx) {
	let show_if = /*compareButtonBits*/ ctx[3](/*ACTION*/ ctx[8], /*$infoData*/ ctx[1].bits);
	let if_block_anchor;
	let current;
	let if_block = show_if && inventory_info_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty & /*$infoData*/ 2) show_if = /*compareButtonBits*/ ctx[3](/*ACTION*/ ctx[8], /*$infoData*/ ctx[1].bits);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*$infoData*/ 2) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = inventory_info_index_svelte_create_if_block_1(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

function inventory_info_index_svelte_create_fragment(ctx) {
	let if_block_anchor;
	let current;
	let if_block = /*informationLoaded*/ ctx[0] && inventory_info_index_svelte_create_if_block(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
			current = true;
		},
		p(ctx, [dirty]) {
			if (/*informationLoaded*/ ctx[0]) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*informationLoaded*/ 1) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = inventory_info_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

function inventory_info_index_svelte_instance($$self, $$props, $$invalidate) {
	let $infoData;
	let $inventoryCurrentItem;
	let $selectedGuardId;
	let $characterInventorySelectedTab;
	component_subscribe($$self, infoData, $$value => $$invalidate(1, $infoData = $$value));
	component_subscribe($$self, inventoryCurrentItem, $$value => $$invalidate(5, $inventoryCurrentItem = $$value));
	component_subscribe($$self, selectedGuardId, $$value => $$invalidate(6, $selectedGuardId = $$value));
	component_subscribe($$self, characterInventorySelectedTab, $$value => $$invalidate(7, $characterInventorySelectedTab = $$value));
	let { informationLoaded = false } = $$props;

	const doAction = action => {
		if ($characterInventorySelectedTab === NavigationTabs.Guard) {
			sendClientMessage('clickOnButton', `{"type": ${$infoData.type},"slot": ${$infoData.slot}, "action": ${action}, "id": ${$selectedGuardId}}`);
		} else {
			sendClientMessage('clickOnButton', `{"type": ${$infoData.type},"slot": ${$infoData.slot}, "action": ${action}}`);
		}

		set_store_value(inventoryCurrentItem, $inventoryCurrentItem = {}, $inventoryCurrentItem);
	};

	/* eslint-disable no-bitwise */
	const compareButtonBits = (staticBits, currentButtonsBits) => staticBits & currentButtonsBits;

	onDestroy(() => {
		set_store_value(inventoryCurrentItem, $inventoryCurrentItem = {}, $inventoryCurrentItem);
		set_store_value(infoData, $infoData = {}, $infoData);
		$$invalidate(0, informationLoaded = false);
	});

	const click_handler = ACTION => doAction(ACTION);

	$$self.$$set = $$props => {
		if ('informationLoaded' in $$props) $$invalidate(0, informationLoaded = $$props.informationLoaded);
	};

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*informationLoaded, $infoData*/ 3) {
			/* eslint-enable no-bitwise */
			$: {
				if (!informationLoaded && !(0,lodash.isEmpty)($infoData)) {
					$$invalidate(0, informationLoaded = true);
				}
			}
		}
	};

	return [informationLoaded, $infoData, doAction, compareButtonBits, click_handler];
}

class Inventory_info extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, inventory_info_index_svelte_instance, inventory_info_index_svelte_create_fragment, safe_not_equal, { informationLoaded: 0 }, inventory_info_index_svelte_add_css);
	}
}

/* harmony default export */ const inventory_info_index_svelte = (Inventory_info);
;// CONCATENATED MODULE: ./src/views/inventory/components/inventory-item-hoc/index.svelte
/* src\views\inventory\components\inventory-item-hoc\index.svelte generated by Svelte v3.49.0 */


const { window: inventory_item_hoc_index_svelte_window_1 } = globals;




// import clickAudio from '../../audio/click.mp3';
// import selectAcsAudio from '../../audio/select-acs.wav';









/* eslint-disable */




function inventory_item_hoc_index_svelte_add_css(target) {
	append_styles(target, "svelte-rww1b7", "@keyframes svelte-rww1b7-blinking{50%{opacity:0}}@keyframes svelte-rww1b7-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-rww1b7-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-rww1b7-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-rww1b7-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-rww1b7-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-rww1b7-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-rww1b7-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-rww1b7-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-rww1b7-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-rww1b7-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-rww1b7-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-rww1b7-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-rww1b7-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-rww1b7-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.inventory-item-hoc.svelte-rww1b7{background-color:#131516;border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-item-hoc.svelte-rww1b7{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item-hoc.svelte-rww1b7{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item-hoc.svelte-rww1b7{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item-hoc.svelte-rww1b7{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item-hoc.svelte-rww1b7{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item-hoc.svelte-rww1b7{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item-hoc.svelte-rww1b7{border-radius:calc(0.0057291667 * 100vw + 0px)}}.inventory-item-hoc--dragged.svelte-rww1b7{position:fixed;pointer-events:none;z-index:1}.inventory-item-hoc--hidden.svelte-rww1b7{display:none}.inventory-item-hoc__amount.svelte-rww1b7{position:absolute;font-family:\"HeadingNowRegular\";color:#FFFFFF;text-shadow:2px 2px 3px #111111, 2px 2px 4px #111111;font-size:calc(0.0052083333 * 100vw + 0px);bottom:calc(0.0026041667 * 100vw + 0px);right:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-item-hoc__amount.svelte-rww1b7{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item-hoc__amount.svelte-rww1b7{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item-hoc__amount.svelte-rww1b7{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item-hoc__amount.svelte-rww1b7{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item-hoc__amount.svelte-rww1b7{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item-hoc__amount.svelte-rww1b7{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item-hoc__amount.svelte-rww1b7{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-item-hoc__amount.svelte-rww1b7{bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item-hoc__amount.svelte-rww1b7{bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item-hoc__amount.svelte-rww1b7{bottom:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item-hoc__amount.svelte-rww1b7{bottom:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item-hoc__amount.svelte-rww1b7{bottom:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item-hoc__amount.svelte-rww1b7{bottom:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item-hoc__amount.svelte-rww1b7{bottom:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-item-hoc__amount.svelte-rww1b7{right:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item-hoc__amount.svelte-rww1b7{right:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item-hoc__amount.svelte-rww1b7{right:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item-hoc__amount.svelte-rww1b7{right:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item-hoc__amount.svelte-rww1b7{right:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item-hoc__amount.svelte-rww1b7{right:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item-hoc__amount.svelte-rww1b7{right:calc(0.0045833333 * 100vw + 0px)}}.inventory-item-hoc__amount--dragged.svelte-rww1b7{z-index:100}.inventory-item-hoc__amount--pulled.svelte-rww1b7{right:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-item-hoc__amount--pulled.svelte-rww1b7{right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item-hoc__amount--pulled.svelte-rww1b7{right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item-hoc__amount--pulled.svelte-rww1b7{right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item-hoc__amount--pulled.svelte-rww1b7{right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item-hoc__amount--pulled.svelte-rww1b7{right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item-hoc__amount--pulled.svelte-rww1b7{right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item-hoc__amount--pulled.svelte-rww1b7{right:calc(0.0143229167 * 100vw + 0px)}}.inventory-item-context-menu-wrapper.svelte-rww1b7{width:fit-content;height:fit-content;position:fixed;z-index:1}");
}

const get_default_slot_changes_1 = dirty => ({ item: dirty[0] & /*item*/ 1 });

const get_default_slot_context_1 = ctx => ({
	item: /*item*/ ctx[0],
	currentItemIsDragMock: true
});

const get_default_slot_changes = dirty => ({ item: dirty[0] & /*item*/ 1 });

const get_default_slot_context = ctx => ({
	selected: false,
	item: /*item*/ ctx[0],
	currentItemIsDragMock: false,
	empty: true
});

// (932:0) {#if currentItemDragged && !disableItemDrag}
function inventory_item_hoc_index_svelte_create_if_block_1(ctx) {
	let portal;
	let current;

	portal = new portal_svelte({
			props: {
				$$slots: { default: [create_default_slot_1] },
				$$scope: { ctx }
			}
		});

	return {
		c() {
			create_component(portal.$$.fragment);
		},
		m(target, anchor) {
			mount_component(portal, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const portal_changes = {};

			if (dirty[0] & /*$$scope, $inventoryCurrentItem, item*/ 268435585) {
				portal_changes.$$scope = { dirty, ctx };
			}

			portal.$set(portal_changes);
		},
		i(local) {
			if (current) return;
			transition_in(portal.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(portal.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(portal, detaching);
		}
	};
}

// (938:12) {#if $inventoryCurrentItem.dragAmount && $inventoryCurrentItem.dragAmount !== -1}
function inventory_item_hoc_index_svelte_create_if_block_2(ctx) {
	let div;
	let t_value = /*$inventoryCurrentItem*/ ctx[7].dragAmount + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "inventory-item-hoc__amount inventory-item-hoc__amount--dragged svelte-rww1b7");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$inventoryCurrentItem*/ 128 && t_value !== (t_value = /*$inventoryCurrentItem*/ ctx[7].dragAmount + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (933:4) <Portal>
function create_default_slot_1(ctx) {
	let div;
	let t;
	let div_style_value;
	let current;
	let if_block = /*$inventoryCurrentItem*/ ctx[7].dragAmount && /*$inventoryCurrentItem*/ ctx[7].dragAmount !== -1 && inventory_item_hoc_index_svelte_create_if_block_2(ctx);
	const default_slot_template = /*#slots*/ ctx[18].default;
	const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[28], get_default_slot_context_1);

	return {
		c() {
			div = internal_element("div");
			if (if_block) if_block.c();
			t = space();
			if (default_slot) default_slot.c();
			attr(div, "class", "inventory-item-hoc inventory-item-hoc--dragged svelte-rww1b7");
			attr(div, "style", div_style_value = `left: ${/*$inventoryCurrentItem*/ ctx[7].left}px; top: ${/*$inventoryCurrentItem*/ ctx[7].top}px;`);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block) if_block.m(div, null);
			append(div, t);

			if (default_slot) {
				default_slot.m(div, null);
			}

			current = true;
		},
		p(ctx, dirty) {
			if (/*$inventoryCurrentItem*/ ctx[7].dragAmount && /*$inventoryCurrentItem*/ ctx[7].dragAmount !== -1) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = inventory_item_hoc_index_svelte_create_if_block_2(ctx);
					if_block.c();
					if_block.m(div, t);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (default_slot) {
				if (default_slot.p && (!current || dirty[0] & /*$$scope, item*/ 268435457)) {
					update_slot_base(
						default_slot,
						default_slot_template,
						ctx,
						/*$$scope*/ ctx[28],
						!current
						? get_all_dirty_from_scope(/*$$scope*/ ctx[28])
						: get_slot_changes(default_slot_template, /*$$scope*/ ctx[28], dirty, get_default_slot_changes_1),
						get_default_slot_context_1
					);
				}
			}

			if (!current || dirty[0] & /*$inventoryCurrentItem*/ 128 && div_style_value !== (div_style_value = `left: ${/*$inventoryCurrentItem*/ ctx[7].left}px; top: ${/*$inventoryCurrentItem*/ ctx[7].top}px;`)) {
				attr(div, "style", div_style_value);
			}
		},
		i(local) {
			if (current) return;
			transition_in(default_slot, local);
			current = true;
		},
		o(local) {
			transition_out(default_slot, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (if_block) if_block.d();
			if (default_slot) default_slot.d(detaching);
		}
	};
}

// (945:0) {#if contextMenuForCurrentItemOpened && !isEmpty($infoData)}
function inventory_item_hoc_index_svelte_create_if_block(ctx) {
	let div;
	let inventorywindow;
	let div_style_value;
	let current;
	let mounted;
	let dispose;

	inventorywindow = new inventory_window_index_svelte({
			props: {
				savedPositionsEnabled: false,
				headerStyle: 'gold',
				onClose: /*func*/ ctx[25],
				contextMenu: true,
				title: /*$inventoryCurrentItem*/ ctx[7].item.name,
				$$slots: { default: [inventory_item_hoc_index_svelte_create_default_slot] },
				$$scope: { ctx }
			}
		});

	return {
		c() {
			div = internal_element("div");
			create_component(inventorywindow.$$.fragment);
			attr(div, "class", "inventory-item-context-menu-wrapper svelte-rww1b7");
			attr(div, "style", div_style_value = `left: ${/*$inventoryCurrentItem*/ ctx[7].left}px; top: ${/*$inventoryCurrentItem*/ ctx[7].top - /*contextMenuOffset*/ ctx[8]}px;`);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(inventorywindow, div, null);
			/*div_binding*/ ctx[27](div);
			current = true;

			if (!mounted) {
				dispose = listen(div, "mouseup", stop_propagation(/*mouseup_handler*/ ctx[26]));
				mounted = true;
			}
		},
		p(ctx, dirty) {
			const inventorywindow_changes = {};
			if (dirty[0] & /*contextMenuForCurrentItemOpened*/ 64) inventorywindow_changes.onClose = /*func*/ ctx[25];
			if (dirty[0] & /*$inventoryCurrentItem*/ 128) inventorywindow_changes.title = /*$inventoryCurrentItem*/ ctx[7].item.name;

			if (dirty[0] & /*$$scope, contextMenuInformationLoaded*/ 268435488) {
				inventorywindow_changes.$$scope = { dirty, ctx };
			}

			inventorywindow.$set(inventorywindow_changes);

			if (!current || dirty[0] & /*$inventoryCurrentItem, contextMenuOffset*/ 384 && div_style_value !== (div_style_value = `left: ${/*$inventoryCurrentItem*/ ctx[7].left}px; top: ${/*$inventoryCurrentItem*/ ctx[7].top - /*contextMenuOffset*/ ctx[8]}px;`)) {
				attr(div, "style", div_style_value);
			}
		},
		i(local) {
			if (current) return;
			transition_in(inventorywindow.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(inventorywindow.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(inventorywindow);
			/*div_binding*/ ctx[27](null);
			mounted = false;
			dispose();
		}
	};
}

// (952:8) <InventoryWindow           savedPositionsEnabled={false}           headerStyle={'gold'}           onClose={() => { contextMenuForCurrentItemOpened = false; }}           contextMenu           title={$inventoryCurrentItem.item.name}>
function inventory_item_hoc_index_svelte_create_default_slot(ctx) {
	let info;
	let updating_informationLoaded;
	let current;

	function info_informationLoaded_binding(value) {
		/*info_informationLoaded_binding*/ ctx[24](value);
	}

	let info_props = {};

	if (/*contextMenuInformationLoaded*/ ctx[5] !== void 0) {
		info_props.informationLoaded = /*contextMenuInformationLoaded*/ ctx[5];
	}

	info = new inventory_info_index_svelte({ props: info_props });
	binding_callbacks.push(() => bind(info, 'informationLoaded', info_informationLoaded_binding));

	return {
		c() {
			create_component(info.$$.fragment);
		},
		m(target, anchor) {
			mount_component(info, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const info_changes = {};

			if (!updating_informationLoaded && dirty[0] & /*contextMenuInformationLoaded*/ 32) {
				updating_informationLoaded = true;
				info_changes.informationLoaded = /*contextMenuInformationLoaded*/ ctx[5];
				add_flush_callback(() => updating_informationLoaded = false);
			}

			info.$set(info_changes);
		},
		i(local) {
			if (current) return;
			transition_in(info.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(info.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(info, detaching);
		}
	};
}

function inventory_item_hoc_index_svelte_create_fragment(ctx) {
	let div;
	let div_class_value;
	let t0;
	let t1;
	let show_if = /*contextMenuForCurrentItemOpened*/ ctx[6] && !(0,lodash.isEmpty)(/*$infoData*/ ctx[9]);
	let if_block1_anchor;
	let current;
	let mounted;
	let dispose;
	const default_slot_template = /*#slots*/ ctx[18].default;
	const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[28], get_default_slot_context);
	let if_block0 = /*currentItemDragged*/ ctx[3] && !/*disableItemDrag*/ ctx[2] && inventory_item_hoc_index_svelte_create_if_block_1(ctx);
	let if_block1 = show_if && inventory_item_hoc_index_svelte_create_if_block(ctx);

	return {
		c() {
			div = internal_element("div");
			if (default_slot) default_slot.c();
			t0 = space();
			if (if_block0) if_block0.c();
			t1 = space();
			if (if_block1) if_block1.c();
			if_block1_anchor = empty();

			attr(div, "class", div_class_value = "" + (null_to_empty(`inventory-item-hoc ${/*item*/ ctx[0].forceHide
			? 'inventory-item-hoc--hidden'
			: ''}`) + " svelte-rww1b7"));
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (default_slot) {
				default_slot.m(div, null);
			}

			insert(target, t0, anchor);
			if (if_block0) if_block0.m(target, anchor);
			insert(target, t1, anchor);
			if (if_block1) if_block1.m(target, anchor);
			insert(target, if_block1_anchor, anchor);
			current = true;

			if (!mounted) {
				dispose = [
					listen(inventory_item_hoc_index_svelte_window_1, "mouseup", handleMouseUp),
					listen(div, "mouseenter", /*mouseenter_handler*/ ctx[19]),
					listen(div, "mouseleave", /*mouseleave_handler*/ ctx[20]),
					listen(div, "mousedown", /*mousedown_handler*/ ctx[21]),
					listen(div, "click", /*click_handler*/ ctx[22]),
					listen(div, "contextmenu", /*contextmenu_handler*/ ctx[23])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (default_slot) {
				if (default_slot.p && (!current || dirty[0] & /*$$scope, item*/ 268435457)) {
					update_slot_base(
						default_slot,
						default_slot_template,
						ctx,
						/*$$scope*/ ctx[28],
						!current
						? get_all_dirty_from_scope(/*$$scope*/ ctx[28])
						: get_slot_changes(default_slot_template, /*$$scope*/ ctx[28], dirty, get_default_slot_changes),
						get_default_slot_context
					);
				}
			}

			if (!current || dirty[0] & /*item*/ 1 && div_class_value !== (div_class_value = "" + (null_to_empty(`inventory-item-hoc ${/*item*/ ctx[0].forceHide
			? 'inventory-item-hoc--hidden'
			: ''}`) + " svelte-rww1b7"))) {
				attr(div, "class", div_class_value);
			}

			if (/*currentItemDragged*/ ctx[3] && !/*disableItemDrag*/ ctx[2]) {
				if (if_block0) {
					if_block0.p(ctx, dirty);

					if (dirty[0] & /*currentItemDragged, disableItemDrag*/ 12) {
						transition_in(if_block0, 1);
					}
				} else {
					if_block0 = inventory_item_hoc_index_svelte_create_if_block_1(ctx);
					if_block0.c();
					transition_in(if_block0, 1);
					if_block0.m(t1.parentNode, t1);
				}
			} else if (if_block0) {
				group_outros();

				transition_out(if_block0, 1, 1, () => {
					if_block0 = null;
				});

				check_outros();
			}

			if (dirty[0] & /*contextMenuForCurrentItemOpened, $infoData*/ 576) show_if = /*contextMenuForCurrentItemOpened*/ ctx[6] && !(0,lodash.isEmpty)(/*$infoData*/ ctx[9]);

			if (show_if) {
				if (if_block1) {
					if_block1.p(ctx, dirty);

					if (dirty[0] & /*contextMenuForCurrentItemOpened, $infoData*/ 576) {
						transition_in(if_block1, 1);
					}
				} else {
					if_block1 = inventory_item_hoc_index_svelte_create_if_block(ctx);
					if_block1.c();
					transition_in(if_block1, 1);
					if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
				}
			} else if (if_block1) {
				group_outros();

				transition_out(if_block1, 1, 1, () => {
					if_block1 = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(default_slot, local);
			transition_in(if_block0);
			transition_in(if_block1);
			current = true;
		},
		o(local) {
			transition_out(default_slot, local);
			transition_out(if_block0);
			transition_out(if_block1);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (default_slot) default_slot.d(detaching);
			if (detaching) detach(t0);
			if (if_block0) if_block0.d(detaching);
			if (detaching) detach(t1);
			if (if_block1) if_block1.d(detaching);
			if (detaching) detach(if_block1_anchor);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

let prevInteractedSlotId = -1;

// const audio = {
//     click: new Audio(clickAudio),
//     selectAcs: new Audio(selectAcsAudio),
// };
const moveItem = (currentItem, hoveredSlot) => {
	const curItemInventoryId = currentItem.inventoryId;
	const curItemSlotId = currentItem.slotId;
	const hovSlotInventoryId = hoveredSlot.inventoryId;
	const hovSlotSlotId = hoveredSlot.slotId;

	let movingProperties = {
		from: {
			slot: curItemSlotId,
			type: curItemInventoryId
		},
		to: {
			slot: hovSlotSlotId,
			type: hovSlotInventoryId
		}
	};

	const isMovedFromSecurity = SECURITY_STUFF.includes(curItemInventoryId);
	const isMovedToSecurity = SECURITY_STUFF.includes(hovSlotInventoryId);

	/* eslint-disable no-bitwise */
	const isMovedIntoSecurity = isMovedFromSecurity & isMovedToSecurity;

	if (isMovedIntoSecurity) {
		movingProperties = {
			from: {
				slot: curItemSlotId,
				type: curItemInventoryId,
				id: get_store_value(selectedGuardId)
			},
			to: {
				slot: hovSlotSlotId,
				type: hovSlotInventoryId,
				id: get_store_value(selectedGuardId)
			}
		};
	} else if (isMovedToSecurity) {
		movingProperties = {
			from: {
				slot: curItemSlotId,
				type: curItemInventoryId
			},
			to: {
				slot: hovSlotSlotId,
				type: hovSlotInventoryId,
				id: get_store_value(selectedGuardId)
			}
		};
	} else if (isMovedFromSecurity) {
		movingProperties = {
			from: {
				slot: curItemSlotId,
				type: curItemInventoryId,
				id: get_store_value(selectedGuardId)
			},
			to: {
				slot: hovSlotSlotId,
				type: hovSlotInventoryId
			}
		};
	}

	if (get_store_value(securityHovered)) {
		movingProperties = {
			from: {
				amount: currentItem.item.amount,
				slot: curItemSlotId,
				type: curItemInventoryId
			},
			id: get_store_value(selectedGuardId)
		};

		sendClientMessage('useItemOnSecurity', JSON.stringify(movingProperties));
	} else {
		if (currentItem.dragAmount) {
			movingProperties.from.amount = currentItem.dragAmount;
		}

		sendClientMessage('inventory.moveItem', JSON.stringify(movingProperties));
	}

	prevInteractedSlotId = -1;
};

const moveItemForce = currentItem => {
	const curItemInventoryId = currentItem.inventoryId;
	const curItemSlotId = currentItem.slotId;
	let movingProperties = `{"slot": ${curItemSlotId}, "type": ${curItemInventoryId}, "amount": ${currentItem.item.amount}}`;
	const isMovedFromSecurity = SECURITY_STUFF.includes(curItemInventoryId);

	if (isMovedFromSecurity) {
		movingProperties = `{"slot": ${curItemSlotId}, "type": ${curItemInventoryId}, "id": ${get_store_value(selectedGuardId)}}`;
	}

	sendClientMessage('inventory.moveItemForce', movingProperties);
	prevInteractedSlotId = -1;
};

const handleMouseMove = event => {
	const currentItem = get_store_value(inventoryCurrentItem);

	if ((0,lodash.isEmpty)(currentItem) || currentItem.status === DndStatuses.Selected || currentItem.status === DndStatuses.ContextMenuInteraction || event.ctrlKey) {
		return;
	}

	const { clientX } = event;
	const { clientY } = event;
	const { initialMousePosition } = currentItem;

	if ((0,lodash.isEmpty)(initialMousePosition)) {
		return;
	}

	const mouseNotMovedEnough = Math.abs(clientX - initialMousePosition.x) < REQUIRED_MIN_DISTANCE_FOR_ITEM_DRAG && Math.abs(clientY - initialMousePosition.y) < REQUIRED_MIN_DISTANCE_FOR_ITEM_DRAG;

	if (mouseNotMovedEnough) {
		return;
	}

	inventoryCurrentItem.update(curItem => ({
		...curItem,
		status: DndStatuses.Drag,
		top: clientY - currentItem.yOffset,
		left: clientX - currentItem.xOffset,
		dragAmount: !currentItem.dragAmount
		? currentItem.item.amount
		: currentItem.dragAmount
	}));

	prevInteractedSlotId = currentItem.slotId;
};

const handleMouseUp = event => {
	const currentItem = get_store_value(inventoryCurrentItem);
	const hoveredSlot = get_store_value(inventoryHoveredSlot);

	if (event.which === 3 && currentItem.status === DndStatuses.ContextMenuInteraction) {
		return;
	}

	if (event.which === 1 && event.ctrlKey) {
		if (currentItem.status === DndStatuses.Drag) {
			inventoryCurrentItem.set({});
			prevInteractedSlotId = -1;
		}

		return;
	}

	if (currentItem.slotId === hoveredSlot.slotId && currentItem.inventoryId === hoveredSlot.inventoryId) {
		inventoryCurrentItem.set({});
		return;
	}

	if ((0,lodash.isEmpty)(currentItem) || currentItem.status === DndStatuses.Selected) {
		return;
	}

	if (event.which !== 1 || !(0,lodash.isEmpty)(currentItem) && (currentItem.status === DndStatuses.Selected || currentItem.status === DndStatuses.ContextMenuInteraction)) {
		inventoryCurrentItem.set({});
		prevInteractedSlotId = -1;
		return;
	}

	const canPasteDraggedItem = currentItem.status === DndStatuses.Drag && !(0,lodash.isEmpty)(hoveredSlot) && !(currentItem.slotId === hoveredSlot.slotId && currentItem.inventoryId === hoveredSlot.inventoryId);
	inventoryCurrentItem.set({});

	if (!canPasteDraggedItem && !get_store_value(securityHovered)) {
		prevInteractedSlotId = -1;
		return;
	}

	// if (!isNil(currentItem.onItemMoved)) {
	//     currentItem.onItemMoved(currentItemInventoryId, currentItemSlotId, hoveredSlotInventoryId, hoveredSlotId);
	//     return;
	// }
	moveItem(currentItem, hoveredSlot);
};

const handleMouseWheel = event => {
	const currentItem = get_store_value(inventoryCurrentItem);

	if ((0,lodash.isEmpty)(currentItem) || currentItem.status !== DndStatuses.Drag) {
		return;
	}

	event.preventDefault();
	const curAmount = currentItem.item.amount;

	if (!currentItem.dragAmount || !curAmount || curAmount <= 1) {
		return;
	}

	const inc = event.deltaY < 0 ? -1 : 1;
	currentItem.dragAmount = Math.max(Math.min(currentItem.dragAmount - inc, curAmount), 1);

	inventoryCurrentItem.set({
		...currentItem,
		dragAmount: currentItem.dragAmount
	});
};

const handleKeyUp = event => {
	if (event.key !== 'Control') {
		return;
	}

	const currentItem = get_store_value(inventoryCurrentItem);

	if (!(0,lodash.isEmpty)(currentItem)) {
		prevInteractedSlotId = -1;
		inventoryCurrentItem.set({});
	}
};

window.addEventListener('mousemove', handleMouseMove);
window.addEventListener('mouseup', handleMouseUp);
window.addEventListener('keyup', handleKeyUp);
window.addEventListener('mousewheel', handleMouseWheel, { passive: false });

function inventory_item_hoc_index_svelte_instance($$self, $$props, $$invalidate) {
	let $inventoryHoveredSlot;
	let $itemsInInterval;
	let $inventories;
	let $selectedGuardId;
	let $inventoryCurrentItem;
	let $workshopTimer;
	let $shopOpened;
	let $characterInventorySelectedTab;
	let $secondPotion;
	let $firstPotion;
	let $potionsOpened;
	let $enchantItem;
	let $enchantStuff;
	let $colorItem;
	let $workshopCurrentTab;
	let $workShopOpened;
	let $potionsTimer;
	let $infoData;
	component_subscribe($$self, inventoryHoveredSlot, $$value => $$invalidate(29, $inventoryHoveredSlot = $$value));
	component_subscribe($$self, itemsInInterval, $$value => $$invalidate(30, $itemsInInterval = $$value));
	component_subscribe($$self, inventories, $$value => $$invalidate(17, $inventories = $$value));
	component_subscribe($$self, selectedGuardId, $$value => $$invalidate(31, $selectedGuardId = $$value));
	component_subscribe($$self, inventoryCurrentItem, $$value => $$invalidate(7, $inventoryCurrentItem = $$value));
	component_subscribe($$self, workshopTimer, $$value => $$invalidate(32, $workshopTimer = $$value));
	component_subscribe($$self, shopOpened, $$value => $$invalidate(33, $shopOpened = $$value));
	component_subscribe($$self, characterInventorySelectedTab, $$value => $$invalidate(34, $characterInventorySelectedTab = $$value));
	component_subscribe($$self, secondPotion, $$value => $$invalidate(35, $secondPotion = $$value));
	component_subscribe($$self, firstPotion, $$value => $$invalidate(36, $firstPotion = $$value));
	component_subscribe($$self, potionsOpened, $$value => $$invalidate(37, $potionsOpened = $$value));
	component_subscribe($$self, enchantItem, $$value => $$invalidate(38, $enchantItem = $$value));
	component_subscribe($$self, enchantStuff, $$value => $$invalidate(39, $enchantStuff = $$value));
	component_subscribe($$self, colorItem, $$value => $$invalidate(40, $colorItem = $$value));
	component_subscribe($$self, workshopCurrentTab, $$value => $$invalidate(41, $workshopCurrentTab = $$value));
	component_subscribe($$self, workShopOpened, $$value => $$invalidate(42, $workShopOpened = $$value));
	component_subscribe($$self, potionsTimer, $$value => $$invalidate(43, $potionsTimer = $$value));
	component_subscribe($$self, infoData, $$value => $$invalidate(9, $infoData = $$value));
	let { $$slots: slots = {}, $$scope } = $$props;
	let { item = null } = $$props;
	let { slotId = null } = $$props;
	let { disabled = false } = $$props;
	let { inventoryId = '' } = $$props;
	let { disableItemDrag = false } = $$props;

	// export let onItemMoved = null;
	// export let fillAvailable = false;
	// let highlight;
	// export const itemTypeHighlight = false;
	let slotOfCurrentItem = false;

	let currentItemDragged = false;
	let contextMenuRef = null;
	let contextMenuOffset = 0;
	let contextMenuInformationLoaded = false;
	let contextMenuForCurrentItemOpened = false;

	const handleContextmenu = (event, slotId, item) => {
		if (event.which === 2 || event.which === 1) {
			return;
		}

		if (!(0,lodash.isEmpty)($inventoryCurrentItem) && $inventoryCurrentItem.status === DndStatuses.ContextMenuInteraction) {
			set_store_value(inventoryCurrentItem, $inventoryCurrentItem = {}, $inventoryCurrentItem);
			prevInteractedSlotId = -1;
			return;
		}

		if ((0,lodash.isNil)(item.item) || !item.available || disabled) {
			return;
		}

		set_store_value(
			inventoryCurrentItem,
			$inventoryCurrentItem = {
				slotId,
				inventoryId,
				item,
				status: DndStatuses.ContextMenuInteraction,
				top: event.clientY,
				left: event.clientX
			},
			$inventoryCurrentItem
		);

		if (SECURITY_STUFF.includes(inventoryId)) {
			sendClientMessage('rightClickOnBlock', `{"slot": ${slotId}, "type": ${inventoryId}, "id": ${$selectedGuardId}}`);
		} else {
			sendClientMessage('rightClickOnBlock', `{"slot": ${slotId}, "type": ${inventoryId}}`);
		}
	};

	const handleMouseClick = (event, slotId, item) => {
		if ($inventoryCurrentItem.status !== DndStatuses.Selected) {
			if ((0,lodash.isNil)(item.item) || !item.available || disabled) {
				prevInteractedSlotId = -1;
				return;
			}
		}

		if (prevInteractedSlotId === slotId) {
			prevInteractedSlotId = -1;
			return;
		}

		// если происходит процесс крафта
		if ($workshopTimer >= 0 || $potionsTimer >= 0) {
			return;
		}

		// оброботка кликов во время открытого воркшопа
		if ($workShopOpened && inventoryId === BLOCK_TYPE.BLOCK_TYPE_MENU) {
			switch ($workshopCurrentTab) {
				case WorkshopTabs.Repaint:
					if (item.item_type === ITEM_TYPES.ITEM_TYPE_ENCHANT || item.item_type === ITEM_TYPES.ITEM_TYPE_ARMOUR_SHARPENING) {
						set_store_value(enchantStuff, $enchantStuff = item, $enchantStuff);
					} else if (item.item_type === ITEM_TYPES.ITEM_TYPE_DYE) {
						set_store_value(colorItem, $colorItem = item, $colorItem);
					} else if (item.item_type !== ITEM_TYPES.ITEM_TYPE_SUPER_ENCHANTED) {
						set_store_value(enchantItem, $enchantItem = item, $enchantItem);
					}
					break;
				case WorkshopTabs.Enchant:
					if (item.item_type === ITEM_TYPES.ITEM_TYPE_ENCHANT || item.item_type === ITEM_TYPES.ITEM_TYPE_ARMOUR_SHARPENING) {
						set_store_value(enchantStuff, $enchantStuff = item, $enchantStuff);
					} else if (item.item_type === ITEM_TYPES.ITEM_TYPE_SUPER_ENCHANTED) {
						set_store_value(colorItem, $colorItem = item, $colorItem);
					} else if (item.item_type !== ITEM_TYPES.ITEM_TYPE_DYE && item.item_type !== ITEM_TYPES.ITEM_TYPE_SUPER_ENCHANTED) {
						set_store_value(enchantItem, $enchantItem = item, $enchantItem);
					}
					break;
				case WorkshopTabs.Repair:
					set_store_value(enchantItem, $enchantItem = item, $enchantItem);
					break;
				case WorkshopTabs.Disassemble:
					if (item.item === SCHEME_ID) {
						// Инструкция для разбора
						set_store_value(enchantStuff, $enchantStuff = item, $enchantStuff);
					} else if (item.item_type !== ITEM_TYPES.ITEM_TYPE_DYE && item.item_type !== ITEM_TYPES.ITEM_TYPE_SUPER_ENCHANTED) {
						set_store_value(enchantItem, $enchantItem = item, $enchantItem);
					}
					break;
			}

			return;
		}

		// оброботка кликов во время открытого улучшения зелий
		if ($potionsOpened && inventoryId === BLOCK_TYPE.BLOCK_TYPE_MENU) {
			if (item.item_type === ITEM_TYPES.ITEM_TYPE_SYRUP_ACTOR && (0,lodash.isEmpty)($firstPotion)) {
				set_store_value(firstPotion, $firstPotion = item, $firstPotion);
			} else if (item.item === $firstPotion.item && item.item_type === ITEM_TYPES.ITEM_TYPE_SYRUP_ACTOR && item.slot !== $firstPotion.slot || item.slot === $firstPotion.slot && item.amount > 1) {
				set_store_value(secondPotion, $secondPotion = item, $secondPotion);
			}

			return;
		}

		if (event.which !== 1 || (0,lodash.isNil)(item.item) && $inventoryCurrentItem.status !== DndStatuses.Selected || $shopOpened) {
			return;
		}

		const ctrlPressed = event.ctrlKey;
		let wirehouseOpened = $characterInventorySelectedTab === NavigationTabs.Warehouse;

		if (wirehouseOpened && !ctrlPressed) {
			sendClientMessage('clickOnBlock', `{"slot": ${slotId}, "type": ${inventoryId}}`);
			return;
		}

		if ($inventoryCurrentItem && ($inventoryCurrentItem.status === DndStatuses.Selected || ctrlPressed)) {
			if (!$inventoryHoveredSlot && !ctrlPressed) {
				return;
			}

			if (ctrlPressed) {
				moveItemForce($inventoryCurrentItem);
			} else {
				moveItem($inventoryCurrentItem, $inventoryHoveredSlot);
			}

			set_store_value(inventoryCurrentItem, $inventoryCurrentItem = {}, $inventoryCurrentItem);
			return;
		}

		set_store_value(
			inventoryCurrentItem,
			$inventoryCurrentItem = {
				slotId,
				inventoryId,
				item,
				status: DndStatuses.Selected,
				top: event.clientY,
				left: event.clientX
			},
			$inventoryCurrentItem
		);

		prevInteractedSlotId = slotId;
		return;
	};

	const handleMouseDown = (event, slotId, item) => {
		if ((0,lodash.isNil)(item.item) || !item.available || event.which !== 1 || (0,lodash.isEmpty)(item) || disabled || $inventoryCurrentItem.status === DndStatuses.ContextMenuInteraction || $inventoryCurrentItem.status === DndStatuses.Selected) {
			return;
		}

		// IN SHOP
		if (event.which === 1 && !(0,lodash.isEmpty)(item) && $shopOpened) {
			// audio.click.play();
			sendClientMessage('clickOnBlock', `{"slot": ${slotId}, "type": ${inventoryId}}`);
		}

		// если происходит процесс крафта
		if ($workshopTimer >= 0) {
			return;
		}

		const rect = event.target.getBoundingClientRect();

		set_store_value(
			inventoryCurrentItem,
			$inventoryCurrentItem = {
				slotId,
				inventoryId,
				item,
				// onItemMoved: onItemMoved,
				status: DndStatuses.Hold,
				xOffset: rect.width - (rect.right - event.clientX),
				yOffset: rect.height - (rect.bottom - event.clientY),
				// For RAGE mousemove event on click fix..........
				initialMousePosition: { x: event.clientX, y: event.clientY }
			},
			$inventoryCurrentItem
		);
	};

	const handleItemHover = (hovered, slot) => {
		if (disabled) {
			return;
		}

		if (hovered) {
			set_store_value(inventoryHoveredSlot, $inventoryHoveredSlot = { slotId, inventoryId }, $inventoryHoveredSlot);
			return;
		}

		set_store_value(inventoryHoveredSlot, $inventoryHoveredSlot = {}, $inventoryHoveredSlot);
	};

	onMount(() => {
		if ((0,lodash.isNil)(item.time)) {
			return;
		}

		if (item.time === 0) {
			return;
		}

		// добавляем в обсчёт таймера только предметы с остатком времени менее суток
		const timeDifference = item.time - moment_default()().unix();

		if (timeDifference >= 0 && timeDifference < 86400) {
			// < 24 часов
			let hasInterval = false;

			const intervalItem = {
				inventoryId,
				guardId: $selectedGuardId,
				slotId,
				time: item.time,
				timeDifference: timeDifference - 1
			};

			const intervalItemIndex = $itemsInInterval.findIndex(intervalItem => {
				return slotId === intervalItem.slotId && inventoryId === intervalItem.inventoryId && item.id === intervalItem.guardId;
			});

			if (intervalItemIndex >= 0) {
				set_store_value(itemsInInterval, $itemsInInterval[intervalItemIndex] = { ...intervalItem }, $itemsInInterval);
			} else {
				set_store_value(itemsInInterval, $itemsInInterval = [...$itemsInInterval, intervalItem], $itemsInInterval);
			}
		}

		if (timeDifference === 0) {
			if ($selectedGuardId > 0 && SECURITY_STUFF.includes(inventoryId)) {
				set_store_value(inventories, $inventories[inventoryId][$selectedGuardId][slotId].text = '', $inventories);
			} else {
				set_store_value(inventories, $inventories[inventoryId][slotId].text = '', $inventories);
			}

			return;
		}

		if (timeDifference > 0) {
			const timeString = calculateTime(timeDifference);

			if ($selectedGuardId >= 0 && SECURITY_STUFF.includes(inventoryId)) {
				set_store_value(inventories, $inventories[inventoryId][$selectedGuardId][slotId].text = timeString, $inventories);
			} else {
				set_store_value(inventories, $inventories[inventoryId][slotId].text = timeString, $inventories);
			}
		}
	});

	onDestroy(() => {
		set_store_value(itemsInInterval, $itemsInInterval = $itemsInInterval.filter(item => item.inventoryId !== inventoryId), $itemsInInterval);
		const howeredSlot = $inventoryHoveredSlot;
		if ((0,lodash.isEmpty)(howeredSlot) || slotId !== howeredSlot.id || inventoryId !== howeredSlot.inventoryId) return;
		set_store_value(inventoryHoveredSlot, $inventoryHoveredSlot = {}, $inventoryHoveredSlot);
	});

	const mouseenter_handler = () => handleItemHover(true, slotId);
	const mouseleave_handler = () => handleItemHover(false, slotId);
	const mousedown_handler = event => handleMouseDown(event, slotId, item);
	const click_handler = event => handleMouseClick(event, slotId, item);
	const contextmenu_handler = event => handleContextmenu(event, slotId, item);

	function info_informationLoaded_binding(value) {
		contextMenuInformationLoaded = value;
		$$invalidate(5, contextMenuInformationLoaded);
	}

	const func = () => {
		$$invalidate(6, contextMenuForCurrentItemOpened = false);
	};

	const mouseup_handler = () => {
		prevInteractedSlotId = -1;
	};

	function div_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			contextMenuRef = $$value;
			$$invalidate(4, contextMenuRef);
		});
	}

	$$self.$$set = $$props => {
		if ('item' in $$props) $$invalidate(0, item = $$props.item);
		if ('slotId' in $$props) $$invalidate(1, slotId = $$props.slotId);
		if ('disabled' in $$props) $$invalidate(14, disabled = $$props.disabled);
		if ('inventoryId' in $$props) $$invalidate(15, inventoryId = $$props.inventoryId);
		if ('disableItemDrag' in $$props) $$invalidate(2, disableItemDrag = $$props.disableItemDrag);
		if ('$$scope' in $$props) $$invalidate(28, $$scope = $$props.$$scope);
	};

	$$self.$$.update = () => {
		if ($$self.$$.dirty[0] & /*contextMenuRef, $inventoryCurrentItem*/ 144) {
			$: {
				if (!(0,lodash.isNil)(contextMenuRef)) {
					const nodeWidth = contextMenuRef.children[0].clientWidth;
					const nodeHeight = contextMenuRef.children[0].clientHeight;

					if ($inventoryCurrentItem.left > window.innerWidth - nodeWidth) {
						set_store_value(inventoryCurrentItem, $inventoryCurrentItem.left -= nodeWidth, $inventoryCurrentItem);
					}

					if ($inventoryCurrentItem.top > window.innerHeight - nodeHeight) {
						set_store_value(inventoryCurrentItem, $inventoryCurrentItem.top -= nodeHeight, $inventoryCurrentItem);
					}
				}
			}
		}

		if ($$self.$$.dirty[0] & /*$inventories, inventoryId, slotOfCurrentItem, $inventoryCurrentItem, slotId*/ 229506) {
			$: {
				const currentItemIsEmpty = (0,lodash.isNil)($inventories[inventoryId]);

				if (currentItemIsEmpty && (slotOfCurrentItem && $inventoryCurrentItem.status === DndStatuses.Drag)) {
					set_store_value(inventoryCurrentItem, $inventoryCurrentItem = {}, $inventoryCurrentItem);
				}

				$$invalidate(16, slotOfCurrentItem = !(0,lodash.isEmpty)($inventoryCurrentItem) && slotId === $inventoryCurrentItem.slotId && $inventoryCurrentItem.inventoryId === inventoryId);
			}
		}

		if ($$self.$$.dirty[0] & /*slotOfCurrentItem, $inventoryCurrentItem, currentItemDragged, disableItemDrag*/ 65676) {
			$: {
				$$invalidate(3, currentItemDragged = slotOfCurrentItem && $inventoryCurrentItem.status === DndStatuses.Drag);

				if (currentItemDragged && disableItemDrag) {
					$$invalidate(3, currentItemDragged = false);
					set_store_value(inventoryCurrentItem, $inventoryCurrentItem = {}, $inventoryCurrentItem);
				}
			}
		}

		if ($$self.$$.dirty[0] & /*slotOfCurrentItem, $inventoryCurrentItem*/ 65664) {
			$: {
				$$invalidate(6, contextMenuForCurrentItemOpened = slotOfCurrentItem && $inventoryCurrentItem.status === DndStatuses.ContextMenuInteraction);
			}
		}

		if ($$self.$$.dirty[0] & /*contextMenuForCurrentItemOpened, contextMenuRef, contextMenuInformationLoaded, $inventoryCurrentItem*/ 240) {
			$: {
				if (contextMenuForCurrentItemOpened && contextMenuRef && contextMenuInformationLoaded) {
					const height = contextMenuRef.getBoundingClientRect().height;
					const fullHeight = $inventoryCurrentItem.top + height;

					$$invalidate(8, contextMenuOffset = fullHeight > window.innerHeight
					? fullHeight - window.innerHeight + 80
					: 0);
				}
			}
		}
	};

	return [
		item,
		slotId,
		disableItemDrag,
		currentItemDragged,
		contextMenuRef,
		contextMenuInformationLoaded,
		contextMenuForCurrentItemOpened,
		$inventoryCurrentItem,
		contextMenuOffset,
		$infoData,
		handleContextmenu,
		handleMouseClick,
		handleMouseDown,
		handleItemHover,
		disabled,
		inventoryId,
		slotOfCurrentItem,
		$inventories,
		slots,
		mouseenter_handler,
		mouseleave_handler,
		mousedown_handler,
		click_handler,
		contextmenu_handler,
		info_informationLoaded_binding,
		func,
		mouseup_handler,
		div_binding,
		$$scope
	];
}

class Inventory_item_hoc extends SvelteComponent {
	constructor(options) {
		super();

		init(
			this,
			options,
			inventory_item_hoc_index_svelte_instance,
			inventory_item_hoc_index_svelte_create_fragment,
			safe_not_equal,
			{
				item: 0,
				slotId: 1,
				disabled: 14,
				inventoryId: 15,
				disableItemDrag: 2
			},
			inventory_item_hoc_index_svelte_add_css,
			[-1, -1]
		);
	}
}

/* harmony default export */ const inventory_item_hoc_index_svelte = (Inventory_item_hoc);

;// CONCATENATED MODULE: ./src/views/inventory/img/question-placeholder.png
const question_placeholder_namespaceObject = __webpack_require__.p + "assets/89f044c345dbac4cfad5.webp";
;// CONCATENATED MODULE: ./src/views/inventory/components/inventory-item/index.svelte
/* src\views\inventory\components\inventory-item\index.svelte generated by Svelte v3.49.0 */














function inventory_item_index_svelte_add_css(target) {
	append_styles(target, "svelte-1imkvsx", "@keyframes svelte-1imkvsx-blinking{50%{opacity:0}}@keyframes svelte-1imkvsx-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1imkvsx-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1imkvsx-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1imkvsx-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1imkvsx-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1imkvsx-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1imkvsx-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1imkvsx-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1imkvsx-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1imkvsx-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1imkvsx-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1imkvsx-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1imkvsx-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1imkvsx-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.inventory-item.svelte-1imkvsx.svelte-1imkvsx{position:relative;background:radial-gradient(circle, rgba(255, 255, 255, 0.1) 2%, #131516 66%);background:var(--bg);display:flex;align-items:center;justify-content:center;transition:0.1s ease-out;transition-property:background-color;border-color:rgba(255, 255, 255, 0.25);border-style:solid;border-width:calc(0.0005208333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.0416666667 * 100vw + 0px);height:calc(0.0416666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-item.svelte-1imkvsx.svelte-1imkvsx{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item.svelte-1imkvsx.svelte-1imkvsx{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item.svelte-1imkvsx.svelte-1imkvsx{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item.svelte-1imkvsx.svelte-1imkvsx{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item.svelte-1imkvsx.svelte-1imkvsx{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item.svelte-1imkvsx.svelte-1imkvsx{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item.svelte-1imkvsx.svelte-1imkvsx{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-item.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-item.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.0458333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-item.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.0458333333 * 100vw + 0px)}}.inventory-item--hoverable.svelte-1imkvsx.svelte-1imkvsx:hover{background-color:rgba(255, 255, 255, 0.3)}.inventory-item--hoverable.svelte-1imkvsx:hover .inventory-item__hover-overlay.svelte-1imkvsx{opacity:1}.inventory-item--active.svelte-1imkvsx.svelte-1imkvsx{background:radial-gradient(circle, rgba(255, 255, 255, 0.1) 2%, #131516 66%)}.inventory-item--highlight.svelte-1imkvsx.svelte-1imkvsx{border:none;border-color:transparent}.inventory-item--big.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.0625 * 100vw + 0px);height:calc(0.0625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-item--big.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item--big.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item--big.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item--big.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.06875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item--big.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.04375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item--big.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.05625 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item--big.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.06875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-item--big.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item--big.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item--big.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item--big.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.06875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item--big.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.04375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item--big.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.05625 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item--big.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.06875 * 100vw + 0px)}}.inventory-item--disabled.svelte-1imkvsx.svelte-1imkvsx{opacity:0.5}.inventory-item--blackout.svelte-1imkvsx.svelte-1imkvsx{opacity:0.5}.inventory-item--selected.svelte-1imkvsx .inventory-item__hover-overlay.svelte-1imkvsx{opacity:1;border:2px solid #FFFFFF;background:transparent}.inventory-item__gradient.svelte-1imkvsx.svelte-1imkvsx{position:absolute;width:100%;height:100%;pointer-events:none;background:radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%)}.inventory-item__hover-overlay.svelte-1imkvsx.svelte-1imkvsx{position:absolute;opacity:0;background:rgba(255, 255, 255, 0.1);pointer-events:none;transition:0.1s ease-out;transition-property:opacity;border-color:rgba(255, 255, 255, 0.25);border-style:solid;border-radius:calc(0.0052083333 * 100vw + 0px);border-width:calc(0.0005208333 * 100vw + 0px);width:calc(0.0416666667 * 100vw + 0px);height:calc(0.0416666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__hover-overlay.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__hover-overlay.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__hover-overlay.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__hover-overlay.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__hover-overlay.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__hover-overlay.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__hover-overlay.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__hover-overlay.svelte-1imkvsx.svelte-1imkvsx{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__hover-overlay.svelte-1imkvsx.svelte-1imkvsx{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__hover-overlay.svelte-1imkvsx.svelte-1imkvsx{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__hover-overlay.svelte-1imkvsx.svelte-1imkvsx{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__hover-overlay.svelte-1imkvsx.svelte-1imkvsx{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__hover-overlay.svelte-1imkvsx.svelte-1imkvsx{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__hover-overlay.svelte-1imkvsx.svelte-1imkvsx{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__hover-overlay.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__hover-overlay.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__hover-overlay.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__hover-overlay.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__hover-overlay.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__hover-overlay.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__hover-overlay.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.0458333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__hover-overlay.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__hover-overlay.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__hover-overlay.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__hover-overlay.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__hover-overlay.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__hover-overlay.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__hover-overlay.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.0458333333 * 100vw + 0px)}}.inventory-item__background.svelte-1imkvsx.svelte-1imkvsx{position:absolute;background:var(--bg);pointer-events:none;border-color:rgba(255, 255, 255, 0.25);border-style:solid;border-radius:calc(0.0052083333 * 100vw + 0px);border-width:calc(0.0005208333 * 100vw + 0px);width:calc(0.0416666667 * 100vw + 0px);height:calc(0.0416666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__background.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__background.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__background.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__background.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__background.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__background.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__background.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__background.svelte-1imkvsx.svelte-1imkvsx{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__background.svelte-1imkvsx.svelte-1imkvsx{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__background.svelte-1imkvsx.svelte-1imkvsx{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__background.svelte-1imkvsx.svelte-1imkvsx{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__background.svelte-1imkvsx.svelte-1imkvsx{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__background.svelte-1imkvsx.svelte-1imkvsx{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__background.svelte-1imkvsx.svelte-1imkvsx{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__background.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__background.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__background.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__background.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__background.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__background.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__background.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.0458333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__background.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__background.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__background.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__background.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__background.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__background.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__background.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.0458333333 * 100vw + 0px)}}.inventory-item__background--highlight.svelte-1imkvsx.svelte-1imkvsx{background:unset;background-color:rgba(255, 255, 255, 0.65);-webkit-animation-name:svelte-1imkvsx-blinking;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:cubic-bezier(0.5, 0.5, 1, 0.75);-webkit-animation-duration:1.5s}.inventory-item__activity-icon.svelte-1imkvsx.svelte-1imkvsx{position:absolute;color:#FFFFFF;text-shadow:2px 2px 3px #111111, 2px 2px 4px #111111;font-size:calc(0.0072916667 * 100vw + 0px);top:calc(0.0041666667 * 100vw + 0px);right:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__activity-icon.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__activity-icon.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__activity-icon.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__activity-icon.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__activity-icon.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__activity-icon.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__activity-icon.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__activity-icon.svelte-1imkvsx.svelte-1imkvsx{top:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__activity-icon.svelte-1imkvsx.svelte-1imkvsx{top:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__activity-icon.svelte-1imkvsx.svelte-1imkvsx{top:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__activity-icon.svelte-1imkvsx.svelte-1imkvsx{top:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__activity-icon.svelte-1imkvsx.svelte-1imkvsx{top:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__activity-icon.svelte-1imkvsx.svelte-1imkvsx{top:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__activity-icon.svelte-1imkvsx.svelte-1imkvsx{top:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__activity-icon.svelte-1imkvsx.svelte-1imkvsx{right:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__activity-icon.svelte-1imkvsx.svelte-1imkvsx{right:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__activity-icon.svelte-1imkvsx.svelte-1imkvsx{right:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__activity-icon.svelte-1imkvsx.svelte-1imkvsx{right:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__activity-icon.svelte-1imkvsx.svelte-1imkvsx{right:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__activity-icon.svelte-1imkvsx.svelte-1imkvsx{right:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__activity-icon.svelte-1imkvsx.svelte-1imkvsx{right:calc(0.0045833333 * 100vw + 0px)}}.inventory-item__image.svelte-1imkvsx.svelte-1imkvsx{font-family:\"HeadingNowBold\";text-align:right;color:#FFFFFF;position:absolute;height:85%;width:90%;max-height:100%;object-fit:contain;pointer-events:none}.inventory-item__item-id.svelte-1imkvsx.svelte-1imkvsx{position:absolute;top:50%;left:50%;transform:translateX(-50%) translateY(-30%);font-family:\"HeadingNowBold\";color:#FFFFFF;font-weight:bold;font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__item-id.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__item-id.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__item-id.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__item-id.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__item-id.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__item-id.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__item-id.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.006875 * 100vw + 0px)}}.inventory-item__amount.svelte-1imkvsx.svelte-1imkvsx{position:absolute;font-family:\"HeadingNowRegular\";color:#FFFFFF;text-shadow:2px 2px 3px #111111, 2px 2px 4px #111111;font-size:calc(0.0052083333 * 100vw + 0px);bottom:calc(0.0026041667 * 100vw + 0px);right:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__amount.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__amount.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__amount.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__amount.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__amount.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__amount.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__amount.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__amount.svelte-1imkvsx.svelte-1imkvsx{bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__amount.svelte-1imkvsx.svelte-1imkvsx{bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__amount.svelte-1imkvsx.svelte-1imkvsx{bottom:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__amount.svelte-1imkvsx.svelte-1imkvsx{bottom:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__amount.svelte-1imkvsx.svelte-1imkvsx{bottom:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__amount.svelte-1imkvsx.svelte-1imkvsx{bottom:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__amount.svelte-1imkvsx.svelte-1imkvsx{bottom:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__amount.svelte-1imkvsx.svelte-1imkvsx{right:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__amount.svelte-1imkvsx.svelte-1imkvsx{right:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__amount.svelte-1imkvsx.svelte-1imkvsx{right:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__amount.svelte-1imkvsx.svelte-1imkvsx{right:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__amount.svelte-1imkvsx.svelte-1imkvsx{right:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__amount.svelte-1imkvsx.svelte-1imkvsx{right:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__amount.svelte-1imkvsx.svelte-1imkvsx{right:calc(0.0045833333 * 100vw + 0px)}}.inventory-item__amount--dragged.svelte-1imkvsx.svelte-1imkvsx{z-index:100}.inventory-item__amount--pulled.svelte-1imkvsx.svelte-1imkvsx{right:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__amount--pulled.svelte-1imkvsx.svelte-1imkvsx{right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__amount--pulled.svelte-1imkvsx.svelte-1imkvsx{right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__amount--pulled.svelte-1imkvsx.svelte-1imkvsx{right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__amount--pulled.svelte-1imkvsx.svelte-1imkvsx{right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__amount--pulled.svelte-1imkvsx.svelte-1imkvsx{right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__amount--pulled.svelte-1imkvsx.svelte-1imkvsx{right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__amount--pulled.svelte-1imkvsx.svelte-1imkvsx{right:calc(0.0143229167 * 100vw + 0px)}}.inventory-item__placeholder.svelte-1imkvsx.svelte-1imkvsx{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.inventory-item__placeholder-icon.svelte-1imkvsx.svelte-1imkvsx{color:rgba(255, 255, 255, 0.45);font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__placeholder-icon.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__placeholder-icon.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__placeholder-icon.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__placeholder-icon.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__placeholder-icon.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__placeholder-icon.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__placeholder-icon.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0114583333 * 100vw + 0px)}}.inventory-item__placeholder-text.svelte-1imkvsx.svelte-1imkvsx{font-family:\"HeadingNowRegular\";color:rgba(255, 255, 255, 0.45);font-size:calc(0.0052083333 * 100vw + 0px);margin-top:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__placeholder-text.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__placeholder-text.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__placeholder-text.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__placeholder-text.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__placeholder-text.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__placeholder-text.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__placeholder-text.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__placeholder-text.svelte-1imkvsx.svelte-1imkvsx{margin-top:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__placeholder-text.svelte-1imkvsx.svelte-1imkvsx{margin-top:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__placeholder-text.svelte-1imkvsx.svelte-1imkvsx{margin-top:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__placeholder-text.svelte-1imkvsx.svelte-1imkvsx{margin-top:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__placeholder-text.svelte-1imkvsx.svelte-1imkvsx{margin-top:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__placeholder-text.svelte-1imkvsx.svelte-1imkvsx{margin-top:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__placeholder-text.svelte-1imkvsx.svelte-1imkvsx{margin-top:calc(0.0045833333 * 100vw + 0px)}}.inventory-item__index.svelte-1imkvsx.svelte-1imkvsx{position:absolute;bottom:0;right:0;display:flex;align-items:center;justify-content:center;font-family:\"HeadingNowRegular\";color:#FFFFFF;background-color:#333333;font-size:calc(0.0052083333 * 100vw + 0px);width:calc(0.0114583333 * 100vw + 0px);height:calc(0.0114583333 * 100vw + 0px);border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__index.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__index.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__index.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__index.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__index.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__index.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__index.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__index.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__index.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__index.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__index.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__index.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__index.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__index.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.0126041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__index.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__index.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__index.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__index.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__index.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__index.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__index.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.0126041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__index.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__index.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__index.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__index.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__index.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__index.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__index.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0028645833 * 100vw + 0px)}}.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{position:absolute;background-color:var(--item-color);top:calc(0.0052083333 * 100vw + 0px);left:calc(0.0052083333 * 100vw + 0px);width:calc(0.00625 * 100vw + 0px);height:calc(0.00625 * 100vw + 0px);border-radius:calc(0.0010416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{top:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{left:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{width:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{height:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__color.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0011458333 * 100vw + 0px)}}.inventory-item__tooltip.svelte-1imkvsx.svelte-1imkvsx{position:absolute;left:50%;top:0;transform:translateX(-50%) translateY(100%);font-family:\"HeadingNowRegular\";color:#FFFFFF;white-space:pre;pointer-events:none;display:flex;align-items:center;justify-content:center;font-size:calc(0.0052083333 * 100vw + 0px);padding:calc(0.0026041667 * 100vw + 0px);padding-left:calc(0.0052083333 * 100vw + 0px);padding-right:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__tooltip.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__tooltip.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__tooltip.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__tooltip.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__tooltip.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__tooltip.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__tooltip.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__tooltip.svelte-1imkvsx.svelte-1imkvsx{padding:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__tooltip.svelte-1imkvsx.svelte-1imkvsx{padding:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__tooltip.svelte-1imkvsx.svelte-1imkvsx{padding:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__tooltip.svelte-1imkvsx.svelte-1imkvsx{padding:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__tooltip.svelte-1imkvsx.svelte-1imkvsx{padding:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__tooltip.svelte-1imkvsx.svelte-1imkvsx{padding:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__tooltip.svelte-1imkvsx.svelte-1imkvsx{padding:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__tooltip.svelte-1imkvsx.svelte-1imkvsx{padding-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__tooltip.svelte-1imkvsx.svelte-1imkvsx{padding-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__tooltip.svelte-1imkvsx.svelte-1imkvsx{padding-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__tooltip.svelte-1imkvsx.svelte-1imkvsx{padding-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__tooltip.svelte-1imkvsx.svelte-1imkvsx{padding-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__tooltip.svelte-1imkvsx.svelte-1imkvsx{padding-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__tooltip.svelte-1imkvsx.svelte-1imkvsx{padding-left:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__tooltip.svelte-1imkvsx.svelte-1imkvsx{padding-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__tooltip.svelte-1imkvsx.svelte-1imkvsx{padding-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__tooltip.svelte-1imkvsx.svelte-1imkvsx{padding-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__tooltip.svelte-1imkvsx.svelte-1imkvsx{padding-right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__tooltip.svelte-1imkvsx.svelte-1imkvsx{padding-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__tooltip.svelte-1imkvsx.svelte-1imkvsx{padding-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__tooltip.svelte-1imkvsx.svelte-1imkvsx{padding-right:calc(0.0057291667 * 100vw + 0px)}}.inventory-item__tooltip-background.svelte-1imkvsx.svelte-1imkvsx{position:absolute;top:0;left:0;right:0;bottom:0;background-color:#131516;background-image:radial-gradient(circle, rgba(255, 255, 255, 0.1) 2%, #131516 66%);border-color:rgba(255, 255, 255, 0.25);border-style:solid;border-width:calc(0.0005208333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__tooltip-background.svelte-1imkvsx.svelte-1imkvsx{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__tooltip-background.svelte-1imkvsx.svelte-1imkvsx{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__tooltip-background.svelte-1imkvsx.svelte-1imkvsx{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__tooltip-background.svelte-1imkvsx.svelte-1imkvsx{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__tooltip-background.svelte-1imkvsx.svelte-1imkvsx{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__tooltip-background.svelte-1imkvsx.svelte-1imkvsx{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__tooltip-background.svelte-1imkvsx.svelte-1imkvsx{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__tooltip-background.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__tooltip-background.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__tooltip-background.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__tooltip-background.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__tooltip-background.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__tooltip-background.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__tooltip-background.svelte-1imkvsx.svelte-1imkvsx{border-radius:calc(0.0057291667 * 100vw + 0px)}}.inventory-item__tooltip-name.svelte-1imkvsx.svelte-1imkvsx{font-family:\"HeadingNowRegular\";color:#FFFFFF;z-index:1;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__tooltip-name.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__tooltip-name.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__tooltip-name.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__tooltip-name.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__tooltip-name.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__tooltip-name.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__tooltip-name.svelte-1imkvsx.svelte-1imkvsx{font-size:calc(0.0057291667 * 100vw + 0px)}}.inventory-item__tooltip-arrow.svelte-1imkvsx.svelte-1imkvsx{position:absolute;left:50%;top:0;transform:translateX(-50%) translateY(-70%);border:20px solid transparent;border-bottom:20px solid #131516;border-bottom-width:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-item__tooltip-arrow.svelte-1imkvsx.svelte-1imkvsx{border-bottom-width:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-item__tooltip-arrow.svelte-1imkvsx.svelte-1imkvsx{border-bottom-width:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-item__tooltip-arrow.svelte-1imkvsx.svelte-1imkvsx{border-bottom-width:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-item__tooltip-arrow.svelte-1imkvsx.svelte-1imkvsx{border-bottom-width:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-item__tooltip-arrow.svelte-1imkvsx.svelte-1imkvsx{border-bottom-width:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-item__tooltip-arrow.svelte-1imkvsx.svelte-1imkvsx{border-bottom-width:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-item__tooltip-arrow.svelte-1imkvsx.svelte-1imkvsx{border-bottom-width:calc(0.0114583333 * 100vw + 0px)}}");
}

// (1926:8) {#if (!isEmpty(item.item) && $inventoryCurrentItem.status !== DndStatuses.Drag) || item.highlight}
function inventory_item_index_svelte_create_if_block_10(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			attr(div, "class", "inventory-item__background svelte-1imkvsx");
			toggle_class(div, "inventory-item__background--highlight", /*item*/ ctx[0].highlight);
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*item*/ 1) {
				toggle_class(div, "inventory-item__background--highlight", /*item*/ ctx[0].highlight);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1932:8) {#if !isNil(item.name) && hovered}
function inventory_item_index_svelte_create_if_block_9(ctx) {
	let portal;
	let current;

	portal = new portal_svelte({
			props: {
				$$slots: { default: [index_svelte_create_default_slot_1] },
				$$scope: { ctx }
			}
		});

	return {
		c() {
			create_component(portal.$$.fragment);
		},
		m(target, anchor) {
			mount_component(portal, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const portal_changes = {};

			if (dirty & /*$$scope, left, top, item*/ 134242305) {
				portal_changes.$$scope = { dirty, ctx };
			}

			portal.$set(portal_changes);
		},
		i(local) {
			if (current) return;
			transition_in(portal.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(portal.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(portal, detaching);
		}
	};
}

// (1933:12) <Portal>
function index_svelte_create_default_slot_1(ctx) {
	let div3;
	let div0;
	let t0;
	let div1;
	let t1_value = /*item*/ ctx[0].name + "";
	let t1;
	let t2;

	let t3_value = ((0,lodash.isNil)(MAP_ITEM_TYPE_TO_NAME[/*item*/ ctx[0].item_type])
	? ''
	: `(${MAP_ITEM_TYPE_TO_NAME[/*item*/ ctx[0].item_type]})`) + "";

	let t3;
	let t4;
	let div2;

	return {
		c() {
			div3 = internal_element("div");
			div0 = internal_element("div");
			t0 = space();
			div1 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			t3 = internal_text(t3_value);
			t4 = space();
			div2 = internal_element("div");
			attr(div0, "class", "inventory-item__tooltip-arrow svelte-1imkvsx");
			attr(div1, "class", "inventory-item__tooltip-name svelte-1imkvsx");
			attr(div2, "class", "inventory-item__tooltip-background svelte-1imkvsx");
			attr(div3, "class", "inventory-item__tooltip svelte-1imkvsx");
			set_style(div3, "left", /*left*/ ctx[13] + "px");
			set_style(div3, "top", /*top*/ ctx[14] + "px");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div0);
			append(div3, t0);
			append(div3, div1);
			append(div1, t1);
			append(div1, t2);
			append(div1, t3);
			append(div3, t4);
			append(div3, div2);
		},
		p(ctx, dirty) {
			if (dirty & /*item*/ 1 && t1_value !== (t1_value = /*item*/ ctx[0].name + "")) set_data(t1, t1_value);

			if (dirty & /*item*/ 1 && t3_value !== (t3_value = ((0,lodash.isNil)(MAP_ITEM_TYPE_TO_NAME[/*item*/ ctx[0].item_type])
			? ''
			: `(${MAP_ITEM_TYPE_TO_NAME[/*item*/ ctx[0].item_type]})`) + "")) set_data(t3, t3_value);

			if (dirty & /*left*/ 8192) {
				set_style(div3, "left", /*left*/ ctx[13] + "px");
			}

			if (dirty & /*top*/ 16384) {
				set_style(div3, "top", /*top*/ ctx[14] + "px");
			}
		},
		d(detaching) {
			if (detaching) detach(div3);
		}
	};
}

// (1970:73) 
function inventory_item_index_svelte_create_if_block_6(ctx) {
	let div;
	let show_if_1 = !(0,lodash.isEmpty)(/*placeholderIcon*/ ctx[3]);
	let t;
	let show_if = !(0,lodash.isEmpty)(/*placeholderText*/ ctx[4]);
	let if_block0 = show_if_1 && inventory_item_index_svelte_create_if_block_8(ctx);
	let if_block1 = show_if && inventory_item_index_svelte_create_if_block_7(ctx);

	return {
		c() {
			div = internal_element("div");
			if (if_block0) if_block0.c();
			t = space();
			if (if_block1) if_block1.c();
			attr(div, "class", "inventory-item__placeholder svelte-1imkvsx");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block0) if_block0.m(div, null);
			append(div, t);
			if (if_block1) if_block1.m(div, null);
		},
		p(ctx, dirty) {
			if (dirty & /*placeholderIcon*/ 8) show_if_1 = !(0,lodash.isEmpty)(/*placeholderIcon*/ ctx[3]);

			if (show_if_1) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = inventory_item_index_svelte_create_if_block_8(ctx);
					if_block0.c();
					if_block0.m(div, t);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty & /*placeholderText*/ 16) show_if = !(0,lodash.isEmpty)(/*placeholderText*/ ctx[4]);

			if (show_if) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = inventory_item_index_svelte_create_if_block_7(ctx);
					if_block1.c();
					if_block1.m(div, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
		}
	};
}

// (1943:8) {#if (!isNil(item.item)              && !($inventoryCurrentItem.status === DndStatuses.Drag              && $inventoryCurrentItem.slotId === slotId              && $inventoryCurrentItem.inventoryId === inventoryId))              || currentItemIsDragMock          }
function inventory_item_index_svelte_create_if_block_1(ctx) {
	let div;
	let t0;
	let show_if_2 = !(0,lodash.isNil)(/*item*/ ctx[0].background);
	let t1;
	let img;
	let img_src_value;
	let img_alt_value;
	let t2;
	let t3;
	let show_if_1 = !(0,lodash.isNil)(/*item*/ ctx[0].text) && !/*currentItemIsDragMock*/ ctx[24];
	let t4;
	let show_if = !(0,lodash.isNil)(/*item*/ ctx[0].color);
	let t5;
	let i;
	let i_class_value;
	let mounted;
	let dispose;
	let if_block0 = show_if_2 && inventory_item_index_svelte_create_if_block_5(ctx);
	let if_block1 = /*hasError*/ ctx[12] && inventory_item_index_svelte_create_if_block_4(ctx);
	let if_block2 = show_if_1 && inventory_item_index_svelte_create_if_block_3(ctx);
	let if_block3 = show_if && inventory_item_index_svelte_create_if_block_2(ctx);

	return {
		c() {
			div = internal_element("div");
			t0 = space();
			if (if_block0) if_block0.c();
			t1 = space();
			img = internal_element("img");
			t2 = space();
			if (if_block1) if_block1.c();
			t3 = space();
			if (if_block2) if_block2.c();
			t4 = space();
			if (if_block3) if_block3.c();
			t5 = space();
			i = internal_element("i");
			attr(div, "class", "inventory-item__background svelte-1imkvsx");
			toggle_class(div, "inventory-item__background--highlight", /*item*/ ctx[0].highlight);
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*item*/ ctx[0].icon}`)) attr(img, "src", img_src_value);
			attr(img, "class", "inventory-item__image svelte-1imkvsx");
			attr(img, "alt", img_alt_value = `ID:${/*item*/ ctx[0].item}`);

			attr(i, "class", i_class_value = "inventory-item__activity-icon " + (/*item*/ ctx[0].active
			? 'icon-activity'
			: MAP_ITEM_TYPE_TO_ICON[/*item*/ ctx[0].item_type]) + " svelte-1imkvsx");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			insert(target, t0, anchor);
			if (if_block0) if_block0.m(target, anchor);
			insert(target, t1, anchor);
			insert(target, img, anchor);
			/*img_binding*/ ctx[19](img);
			insert(target, t2, anchor);
			if (if_block1) if_block1.m(target, anchor);
			insert(target, t3, anchor);
			if (if_block2) if_block2.m(target, anchor);
			insert(target, t4, anchor);
			if (if_block3) if_block3.m(target, anchor);
			insert(target, t5, anchor);
			insert(target, i, anchor);

			if (!mounted) {
				dispose = listen(img, "error", /*handleError*/ ctx[17]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*item*/ 1) {
				toggle_class(div, "inventory-item__background--highlight", /*item*/ ctx[0].highlight);
			}

			if (dirty & /*item*/ 1) show_if_2 = !(0,lodash.isNil)(/*item*/ ctx[0].background);

			if (show_if_2) {
				if (if_block0) {
					
				} else {
					if_block0 = inventory_item_index_svelte_create_if_block_5(ctx);
					if_block0.c();
					if_block0.m(t1.parentNode, t1);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty & /*item*/ 1 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*item*/ ctx[0].icon}`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*item*/ 1 && img_alt_value !== (img_alt_value = `ID:${/*item*/ ctx[0].item}`)) {
				attr(img, "alt", img_alt_value);
			}

			if (/*hasError*/ ctx[12]) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = inventory_item_index_svelte_create_if_block_4(ctx);
					if_block1.c();
					if_block1.m(t3.parentNode, t3);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty & /*item, currentItemIsDragMock*/ 16777217) show_if_1 = !(0,lodash.isNil)(/*item*/ ctx[0].text) && !/*currentItemIsDragMock*/ ctx[24];

			if (show_if_1) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = inventory_item_index_svelte_create_if_block_3(ctx);
					if_block2.c();
					if_block2.m(t4.parentNode, t4);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			if (dirty & /*item*/ 1) show_if = !(0,lodash.isNil)(/*item*/ ctx[0].color);

			if (show_if) {
				if (if_block3) {
					if_block3.p(ctx, dirty);
				} else {
					if_block3 = inventory_item_index_svelte_create_if_block_2(ctx);
					if_block3.c();
					if_block3.m(t5.parentNode, t5);
				}
			} else if (if_block3) {
				if_block3.d(1);
				if_block3 = null;
			}

			if (dirty & /*item*/ 1 && i_class_value !== (i_class_value = "inventory-item__activity-icon " + (/*item*/ ctx[0].active
			? 'icon-activity'
			: MAP_ITEM_TYPE_TO_ICON[/*item*/ ctx[0].item_type]) + " svelte-1imkvsx")) {
				attr(i, "class", i_class_value);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			if (detaching) detach(t0);
			if (if_block0) if_block0.d(detaching);
			if (detaching) detach(t1);
			if (detaching) detach(img);
			/*img_binding*/ ctx[19](null);
			if (detaching) detach(t2);
			if (if_block1) if_block1.d(detaching);
			if (detaching) detach(t3);
			if (if_block2) if_block2.d(detaching);
			if (detaching) detach(t4);
			if (if_block3) if_block3.d(detaching);
			if (detaching) detach(t5);
			if (detaching) detach(i);
			mounted = false;
			dispose();
		}
	};
}

// (1972:16) {#if !isEmpty(placeholderIcon)}
function inventory_item_index_svelte_create_if_block_8(ctx) {
	let i;
	let i_class_value;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", i_class_value = "inventory-item__placeholder-icon icon-" + /*placeholderIcon*/ ctx[3] + " svelte-1imkvsx");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*placeholderIcon*/ 8 && i_class_value !== (i_class_value = "inventory-item__placeholder-icon icon-" + /*placeholderIcon*/ ctx[3] + " svelte-1imkvsx")) {
				attr(i, "class", i_class_value);
			}
		},
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (1975:16) {#if !isEmpty(placeholderText)}
function inventory_item_index_svelte_create_if_block_7(ctx) {
	let div;
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(/*placeholderText*/ ctx[4]);
			attr(div, "class", "inventory-item__placeholder-text svelte-1imkvsx");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*placeholderText*/ 16) set_data(t, /*placeholderText*/ ctx[4]);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1950:12) {#if !isNil(item.background)}
function inventory_item_index_svelte_create_if_block_5(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			attr(div, "class", "inventory-item__gradient svelte-1imkvsx");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1960:12) {#if hasError}
function inventory_item_index_svelte_create_if_block_4(ctx) {
	let span;
	let t_value = `ID:${/*item*/ ctx[0].item}` + "";
	let t;

	return {
		c() {
			span = internal_element("span");
			t = internal_text(t_value);
			attr(span, "class", "inventory-item__item-id svelte-1imkvsx");
		},
		m(target, anchor) {
			insert(target, span, anchor);
			append(span, t);
		},
		p(ctx, dirty) {
			if (dirty & /*item*/ 1 && t_value !== (t_value = `ID:${/*item*/ ctx[0].item}` + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

// (1963:12) {#if !isNil(item.text) && !currentItemIsDragMock}
function inventory_item_index_svelte_create_if_block_3(ctx) {
	let div;
	let t_value = /*item*/ ctx[0].text + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "inventory-item__amount svelte-1imkvsx");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*item*/ 1 && t_value !== (t_value = /*item*/ ctx[0].text + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1966:12) {#if !isNil(item.color)}
function inventory_item_index_svelte_create_if_block_2(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			attr(div, "class", "inventory-item__color svelte-1imkvsx");
			set_style(div, "--item-color", intToRGBA(/*item*/ ctx[0].color));
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*item*/ 1) {
				set_style(div, "--item-color", intToRGBA(/*item*/ ctx[0].color));
			}
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1980:8) {#if showIndex && isNil(item.item)}
function inventory_item_index_svelte_create_if_block(ctx) {
	let div;
	let t_value = /*slotId*/ ctx[1] + 1 + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "inventory-item__index svelte-1imkvsx");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*slotId*/ 2 && t_value !== (t_value = /*slotId*/ ctx[1] + 1 + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1897:0) <InventoryItemHoc      item={item}      slotId={slotId}      inventoryId={inventoryId}      disabled={disabled}      disableItemDrag={disableItemDrag}      itemTypeHighlight={itemTypeHighlight}      blockTypeHighlight={blockTypeHighlight}      let:selected={selected}      let:currentItemDragged={currentItemDragged}      let:currentItemIsDragMock={currentItemIsDragMock}      let:empty={empty}      let:highlight={highlight}  >
function inventory_item_index_svelte_create_default_slot(ctx) {
	let div1;
	let show_if_4 = !(0,lodash.isEmpty)(/*item*/ ctx[0].item) && /*$inventoryCurrentItem*/ ctx[16].status !== DndStatuses.Drag || /*item*/ ctx[0].highlight;
	let t0;
	let show_if_3 = !(0,lodash.isNil)(/*item*/ ctx[0].name) && /*hovered*/ ctx[15];
	let t1;
	let show_if_1;
	let show_if_2;
	let t2;
	let show_if = /*showIndex*/ ctx[7] && (0,lodash.isNil)(/*item*/ ctx[0].item);
	let t3;
	let div0;
	let current;
	let mounted;
	let dispose;
	let if_block0 = show_if_4 && inventory_item_index_svelte_create_if_block_10(ctx);
	let if_block1 = show_if_3 && inventory_item_index_svelte_create_if_block_9(ctx);

	function select_block_type(ctx, dirty) {
		if (dirty & /*item, $inventoryCurrentItem, slotId, inventoryId, currentItemIsDragMock*/ 16842759) show_if_1 = null;
		if (dirty & /*placeholderIcon, placeholderText*/ 24) show_if_2 = null;
		if (show_if_1 == null) show_if_1 = !!(!(0,lodash.isNil)(/*item*/ ctx[0].item) && !(/*$inventoryCurrentItem*/ ctx[16].status === DndStatuses.Drag && /*$inventoryCurrentItem*/ ctx[16].slotId === /*slotId*/ ctx[1] && /*$inventoryCurrentItem*/ ctx[16].inventoryId === /*inventoryId*/ ctx[2]) || /*currentItemIsDragMock*/ ctx[24]);
		if (show_if_1) return inventory_item_index_svelte_create_if_block_1;
		if (show_if_2 == null) show_if_2 = !!(!(0,lodash.isEmpty)(/*placeholderIcon*/ ctx[3]) || !(0,lodash.isEmpty)(/*placeholderText*/ ctx[4]));
		if (show_if_2) return inventory_item_index_svelte_create_if_block_6;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block2 = current_block_type && current_block_type(ctx);
	let if_block3 = show_if && inventory_item_index_svelte_create_if_block(ctx);

	return {
		c() {
			div1 = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			if (if_block1) if_block1.c();
			t1 = space();
			if (if_block2) if_block2.c();
			t2 = space();
			if (if_block3) if_block3.c();
			t3 = space();
			div0 = internal_element("div");
			attr(div0, "class", "inventory-item__hover-overlay svelte-1imkvsx");
			attr(div1, "class", "inventory-item svelte-1imkvsx");

			set_style(div1, "--bg", (0,lodash.isNil)(/*item*/ ctx[0].background)
			? 'radial-gradient(circle, rgba(255, 255, 255, 0.1) 2%, #131516 66%)'
			: intToRGBA(/*item*/ ctx[0].background));

			toggle_class(div1, "inventory-item--active", !(0,lodash.isEmpty)(/*$inventoryCurrentItem*/ ctx[16])
			? /*$inventoryCurrentItem*/ ctx[16].item.slot === /*slotId*/ ctx[1] && /*$inventoryCurrentItem*/ ctx[16].inventoryId === /*inventoryId*/ ctx[2]
			: false);

			toggle_class(div1, "inventory-item--big", /*bigSize*/ ctx[8]);
			toggle_class(div1, "inventory-item--hoverable", !(0,lodash.isNil)(/*item*/ ctx[0].item) || /*$inventoryCurrentItem*/ ctx[16].status === DndStatuses.Drag);
			toggle_class(div1, "inventory-item--selected", /*$inventoryCurrentItem*/ ctx[16].status === DndStatuses.Selected && /*$inventoryCurrentItem*/ ctx[16].item.slot === /*slotId*/ ctx[1] && /*$inventoryCurrentItem*/ ctx[16].inventoryId === /*inventoryId*/ ctx[2]);
			toggle_class(div1, "inventory-item--highlight", /*item*/ ctx[0].highlight);
			toggle_class(div1, "inventory-item--disabled", /*disabled*/ ctx[5]);
			toggle_class(div1, "inventory-item--blackout", /*item*/ ctx[0].blackout || !/*item*/ ctx[0].available);
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			if (if_block0) if_block0.m(div1, null);
			append(div1, t0);
			if (if_block1) if_block1.m(div1, null);
			append(div1, t1);
			if (if_block2) if_block2.m(div1, null);
			append(div1, t2);
			if (if_block3) if_block3.m(div1, null);
			append(div1, t3);
			append(div1, div0);
			current = true;

			if (!mounted) {
				dispose = [
					listen(div1, "mouseenter", /*mouseenter_handler*/ ctx[20]),
					listen(div1, "mouseleave", /*mouseleave_handler*/ ctx[21])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*item, $inventoryCurrentItem*/ 65537) show_if_4 = !(0,lodash.isEmpty)(/*item*/ ctx[0].item) && /*$inventoryCurrentItem*/ ctx[16].status !== DndStatuses.Drag || /*item*/ ctx[0].highlight;

			if (show_if_4) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = inventory_item_index_svelte_create_if_block_10(ctx);
					if_block0.c();
					if_block0.m(div1, t0);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty & /*item, hovered*/ 32769) show_if_3 = !(0,lodash.isNil)(/*item*/ ctx[0].name) && /*hovered*/ ctx[15];

			if (show_if_3) {
				if (if_block1) {
					if_block1.p(ctx, dirty);

					if (dirty & /*item, hovered*/ 32769) {
						transition_in(if_block1, 1);
					}
				} else {
					if_block1 = inventory_item_index_svelte_create_if_block_9(ctx);
					if_block1.c();
					transition_in(if_block1, 1);
					if_block1.m(div1, t1);
				}
			} else if (if_block1) {
				group_outros();

				transition_out(if_block1, 1, 1, () => {
					if_block1 = null;
				});

				check_outros();
			}

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block2) {
				if_block2.p(ctx, dirty);
			} else {
				if (if_block2) if_block2.d(1);
				if_block2 = current_block_type && current_block_type(ctx);

				if (if_block2) {
					if_block2.c();
					if_block2.m(div1, t2);
				}
			}

			if (dirty & /*showIndex, item*/ 129) show_if = /*showIndex*/ ctx[7] && (0,lodash.isNil)(/*item*/ ctx[0].item);

			if (show_if) {
				if (if_block3) {
					if_block3.p(ctx, dirty);
				} else {
					if_block3 = inventory_item_index_svelte_create_if_block(ctx);
					if_block3.c();
					if_block3.m(div1, t3);
				}
			} else if (if_block3) {
				if_block3.d(1);
				if_block3 = null;
			}

			if (!current || dirty & /*item*/ 1) {
				set_style(div1, "--bg", (0,lodash.isNil)(/*item*/ ctx[0].background)
				? 'radial-gradient(circle, rgba(255, 255, 255, 0.1) 2%, #131516 66%)'
				: intToRGBA(/*item*/ ctx[0].background));
			}

			if (dirty & /*isEmpty, $inventoryCurrentItem, slotId, inventoryId*/ 65542) {
				toggle_class(div1, "inventory-item--active", !(0,lodash.isEmpty)(/*$inventoryCurrentItem*/ ctx[16])
				? /*$inventoryCurrentItem*/ ctx[16].item.slot === /*slotId*/ ctx[1] && /*$inventoryCurrentItem*/ ctx[16].inventoryId === /*inventoryId*/ ctx[2]
				: false);
			}

			if (dirty & /*bigSize*/ 256) {
				toggle_class(div1, "inventory-item--big", /*bigSize*/ ctx[8]);
			}

			if (dirty & /*isNil, item, $inventoryCurrentItem, DndStatuses*/ 65537) {
				toggle_class(div1, "inventory-item--hoverable", !(0,lodash.isNil)(/*item*/ ctx[0].item) || /*$inventoryCurrentItem*/ ctx[16].status === DndStatuses.Drag);
			}

			if (dirty & /*$inventoryCurrentItem, DndStatuses, slotId, inventoryId*/ 65542) {
				toggle_class(div1, "inventory-item--selected", /*$inventoryCurrentItem*/ ctx[16].status === DndStatuses.Selected && /*$inventoryCurrentItem*/ ctx[16].item.slot === /*slotId*/ ctx[1] && /*$inventoryCurrentItem*/ ctx[16].inventoryId === /*inventoryId*/ ctx[2]);
			}

			if (dirty & /*item*/ 1) {
				toggle_class(div1, "inventory-item--highlight", /*item*/ ctx[0].highlight);
			}

			if (dirty & /*disabled*/ 32) {
				toggle_class(div1, "inventory-item--disabled", /*disabled*/ ctx[5]);
			}

			if (dirty & /*item*/ 1) {
				toggle_class(div1, "inventory-item--blackout", /*item*/ ctx[0].blackout || !/*item*/ ctx[0].available);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block1);
			current = true;
		},
		o(local) {
			transition_out(if_block1);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();

			if (if_block2) {
				if_block2.d();
			}

			if (if_block3) if_block3.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function inventory_item_index_svelte_create_fragment(ctx) {
	let inventoryitemhoc;
	let current;
	let mounted;
	let dispose;

	inventoryitemhoc = new inventory_item_hoc_index_svelte({
			props: {
				item: /*item*/ ctx[0],
				slotId: /*slotId*/ ctx[1],
				inventoryId: /*inventoryId*/ ctx[2],
				disabled: /*disabled*/ ctx[5],
				disableItemDrag: /*disableItemDrag*/ ctx[6],
				itemTypeHighlight: /*itemTypeHighlight*/ ctx[9],
				blockTypeHighlight: /*blockTypeHighlight*/ ctx[10],
				$$slots: {
					default: [
						inventory_item_index_svelte_create_default_slot,
						({ selected, currentItemDragged, currentItemIsDragMock, empty, highlight }) => ({
							22: selected,
							23: currentItemDragged,
							24: currentItemIsDragMock,
							25: empty,
							26: highlight
						}),
						({ selected, currentItemDragged, currentItemIsDragMock, empty, highlight }) => (selected ? 4194304 : 0) | (currentItemDragged ? 8388608 : 0) | (currentItemIsDragMock ? 16777216 : 0) | (empty ? 33554432 : 0) | (highlight ? 67108864 : 0)
					]
				},
				$$scope: { ctx }
			}
		});

	return {
		c() {
			create_component(inventoryitemhoc.$$.fragment);
		},
		m(target, anchor) {
			mount_component(inventoryitemhoc, target, anchor);
			current = true;

			if (!mounted) {
				dispose = listen(window, "mousemove", /*handleMouseMove*/ ctx[18]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			const inventoryitemhoc_changes = {};
			if (dirty & /*item*/ 1) inventoryitemhoc_changes.item = /*item*/ ctx[0];
			if (dirty & /*slotId*/ 2) inventoryitemhoc_changes.slotId = /*slotId*/ ctx[1];
			if (dirty & /*inventoryId*/ 4) inventoryitemhoc_changes.inventoryId = /*inventoryId*/ ctx[2];
			if (dirty & /*disabled*/ 32) inventoryitemhoc_changes.disabled = /*disabled*/ ctx[5];
			if (dirty & /*disableItemDrag*/ 64) inventoryitemhoc_changes.disableItemDrag = /*disableItemDrag*/ ctx[6];
			if (dirty & /*itemTypeHighlight*/ 512) inventoryitemhoc_changes.itemTypeHighlight = /*itemTypeHighlight*/ ctx[9];
			if (dirty & /*blockTypeHighlight*/ 1024) inventoryitemhoc_changes.blockTypeHighlight = /*blockTypeHighlight*/ ctx[10];

			if (dirty & /*$$scope, item, $inventoryCurrentItem, slotId, inventoryId, bigSize, disabled, hovered, showIndex, currentItemIsDragMock, hasError, imageNode, placeholderText, placeholderIcon, left, top*/ 151124415) {
				inventoryitemhoc_changes.$$scope = { dirty, ctx };
			}

			inventoryitemhoc.$set(inventoryitemhoc_changes);
		},
		i(local) {
			if (current) return;
			transition_in(inventoryitemhoc.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(inventoryitemhoc.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(inventoryitemhoc, detaching);
			mounted = false;
			dispose();
		}
	};
}

function inventory_item_index_svelte_instance($$self, $$props, $$invalidate) {
	let $inventoryCurrentItem;
	component_subscribe($$self, inventoryCurrentItem, $$value => $$invalidate(16, $inventoryCurrentItem = $$value));
	let { item = null } = $$props;
	let { slotId = null } = $$props;
	let { inventoryId = '' } = $$props;
	let { placeholderIcon = '' } = $$props;
	let { placeholderText = '' } = $$props;
	let { disabled = false } = $$props;
	let { disableItemDrag = false } = $$props;
	let { showIndex = false } = $$props;
	let { bigSize = false } = $$props;
	let { itemTypeHighlight = null } = $$props;
	let { blockTypeHighlight = [] } = $$props;
	let imageNode = null;
	let hasError = false;
	let left = 0;
	let top = 0;
	let hovered = false;

	const handleError = () => {
		if (!(0,lodash.isNil)(imageNode)) {
			$$invalidate(12, hasError = true);
			$$invalidate(11, imageNode.src = question_placeholder_namespaceObject, imageNode);
		}
	};

	const handleMouseMove = event => {
		if (!(0,lodash.isEmpty)($inventoryCurrentItem)) {
			$$invalidate(15, hovered = false);
			return;
		}

		$$invalidate(13, left = event.clientX);
		$$invalidate(14, top = event.clientY);
	};

	function img_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			imageNode = $$value;
			$$invalidate(11, imageNode);
		});
	}

	const mouseenter_handler = () => {
		$$invalidate(15, hovered = true);
	};

	const mouseleave_handler = () => {
		$$invalidate(15, hovered = false);
	};

	$$self.$$set = $$props => {
		if ('item' in $$props) $$invalidate(0, item = $$props.item);
		if ('slotId' in $$props) $$invalidate(1, slotId = $$props.slotId);
		if ('inventoryId' in $$props) $$invalidate(2, inventoryId = $$props.inventoryId);
		if ('placeholderIcon' in $$props) $$invalidate(3, placeholderIcon = $$props.placeholderIcon);
		if ('placeholderText' in $$props) $$invalidate(4, placeholderText = $$props.placeholderText);
		if ('disabled' in $$props) $$invalidate(5, disabled = $$props.disabled);
		if ('disableItemDrag' in $$props) $$invalidate(6, disableItemDrag = $$props.disableItemDrag);
		if ('showIndex' in $$props) $$invalidate(7, showIndex = $$props.showIndex);
		if ('bigSize' in $$props) $$invalidate(8, bigSize = $$props.bigSize);
		if ('itemTypeHighlight' in $$props) $$invalidate(9, itemTypeHighlight = $$props.itemTypeHighlight);
		if ('blockTypeHighlight' in $$props) $$invalidate(10, blockTypeHighlight = $$props.blockTypeHighlight);
	};

	return [
		item,
		slotId,
		inventoryId,
		placeholderIcon,
		placeholderText,
		disabled,
		disableItemDrag,
		showIndex,
		bigSize,
		itemTypeHighlight,
		blockTypeHighlight,
		imageNode,
		hasError,
		left,
		top,
		hovered,
		$inventoryCurrentItem,
		handleError,
		handleMouseMove,
		img_binding,
		mouseenter_handler,
		mouseleave_handler
	];
}

class Inventory_item extends SvelteComponent {
	constructor(options) {
		super();

		init(
			this,
			options,
			inventory_item_index_svelte_instance,
			inventory_item_index_svelte_create_fragment,
			safe_not_equal,
			{
				item: 0,
				slotId: 1,
				inventoryId: 2,
				placeholderIcon: 3,
				placeholderText: 4,
				disabled: 5,
				disableItemDrag: 6,
				showIndex: 7,
				bigSize: 8,
				itemTypeHighlight: 9,
				blockTypeHighlight: 10
			},
			inventory_item_index_svelte_add_css
		);
	}
}

/* harmony default export */ const inventory_item_index_svelte = (Inventory_item);
;// CONCATENATED MODULE: ./src/views/inventory/components/inventory-grid/index.svelte
/* src\views\inventory\components\inventory-grid\index.svelte generated by Svelte v3.49.0 */










function inventory_grid_index_svelte_add_css(target) {
	append_styles(target, "svelte-8d0obn", "@keyframes svelte-8d0obn-blinking{50%{opacity:0}}@keyframes svelte-8d0obn-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-8d0obn-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-8d0obn-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-8d0obn-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-8d0obn-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-8d0obn-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-8d0obn-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-8d0obn-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-8d0obn-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-8d0obn-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-8d0obn-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-8d0obn-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-8d0obn-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-8d0obn-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.inventory-grid__grid.svelte-8d0obn{position:relative;display:grid;grid-template-columns:repeat(var(--columns-count), 1fr);grid-template-rows:auto;width:fit-content;grid-gap:calc(0.0052083333 * 100vw + 0px);padding:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-grid__grid.svelte-8d0obn{grid-gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-grid__grid.svelte-8d0obn{grid-gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-grid__grid.svelte-8d0obn{grid-gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-grid__grid.svelte-8d0obn{grid-gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-grid__grid.svelte-8d0obn{grid-gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-grid__grid.svelte-8d0obn{grid-gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-grid__grid.svelte-8d0obn{grid-gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-grid__grid.svelte-8d0obn{padding:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-grid__grid.svelte-8d0obn{padding:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-grid__grid.svelte-8d0obn{padding:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-grid__grid.svelte-8d0obn{padding:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-grid__grid.svelte-8d0obn{padding:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-grid__grid.svelte-8d0obn{padding:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-grid__grid.svelte-8d0obn{padding:calc(0.0028645833 * 100vw + 0px)}}.inventory-grid__item-bg.svelte-8d0obn{background-color:#131516;border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-grid__item-bg.svelte-8d0obn{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-grid__item-bg.svelte-8d0obn{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-grid__item-bg.svelte-8d0obn{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-grid__item-bg.svelte-8d0obn{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-grid__item-bg.svelte-8d0obn{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-grid__item-bg.svelte-8d0obn{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-grid__item-bg.svelte-8d0obn{border-radius:calc(0.0057291667 * 100vw + 0px)}}.inventory-grid__loader.svelte-8d0obn{position:absolute;display:flex;align-items:center;justify-content:center;width:100%;height:100%;top:0;left:0;right:0;max-height:calc(0.38125 * 100vw + 0px);pointer-events:none}@media(max-width: 1920px) and (max-height: 768px){.inventory-grid__loader.svelte-8d0obn{max-height:calc(0.38125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-grid__loader.svelte-8d0obn{max-height:calc(0.38125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-grid__loader.svelte-8d0obn{max-height:calc(0.2935625 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-grid__loader.svelte-8d0obn{max-height:calc(0.419375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-grid__loader.svelte-8d0obn{max-height:calc(0.266875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-grid__loader.svelte-8d0obn{max-height:calc(0.343125 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-grid__loader.svelte-8d0obn{max-height:calc(0.419375 * 100vw + 0px)}}.inventory-grid__loader_invisible.svelte-8d0obn{opacity:0;visibility:hidden}.inventory-grid__item-mock.svelte-8d0obn{position:relative;background:radial-gradient(circle, rgba(255, 255, 255, 0.1) 2%, #131516 66%);border-color:rgba(255, 255, 255, 0.25);border-style:solid;display:flex;align-items:center;justify-content:center;overflow:hidden;transition:0.1s ease-out;transition-property:background-color;opacity:0.5;border-radius:calc(0.0052083333 * 100vw + 0px);border-width:calc(0.0005208333 * 100vw + 0px);width:calc(0.0416666667 * 100vw + 0px);height:calc(0.0416666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-grid__item-mock.svelte-8d0obn{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-grid__item-mock.svelte-8d0obn{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-grid__item-mock.svelte-8d0obn{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-grid__item-mock.svelte-8d0obn{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-grid__item-mock.svelte-8d0obn{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-grid__item-mock.svelte-8d0obn{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-grid__item-mock.svelte-8d0obn{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-grid__item-mock.svelte-8d0obn{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-grid__item-mock.svelte-8d0obn{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-grid__item-mock.svelte-8d0obn{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-grid__item-mock.svelte-8d0obn{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-grid__item-mock.svelte-8d0obn{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-grid__item-mock.svelte-8d0obn{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-grid__item-mock.svelte-8d0obn{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-grid__item-mock.svelte-8d0obn{width:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-grid__item-mock.svelte-8d0obn{width:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-grid__item-mock.svelte-8d0obn{width:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-grid__item-mock.svelte-8d0obn{width:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-grid__item-mock.svelte-8d0obn{width:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-grid__item-mock.svelte-8d0obn{width:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-grid__item-mock.svelte-8d0obn{width:calc(0.0458333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-grid__item-mock.svelte-8d0obn{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-grid__item-mock.svelte-8d0obn{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-grid__item-mock.svelte-8d0obn{height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-grid__item-mock.svelte-8d0obn{height:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-grid__item-mock.svelte-8d0obn{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-grid__item-mock.svelte-8d0obn{height:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-grid__item-mock.svelte-8d0obn{height:calc(0.0458333333 * 100vw + 0px)}}.inventory-grid__item-mock.svelte-8d0obn::before{content:\"\";display:block;color:rgba(255, 255, 255, 0.3);position:absolute;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-grid__item-mock.svelte-8d0obn::before{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-grid__item-mock.svelte-8d0obn::before{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-grid__item-mock.svelte-8d0obn::before{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-grid__item-mock.svelte-8d0obn::before{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-grid__item-mock.svelte-8d0obn::before{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-grid__item-mock.svelte-8d0obn::before{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-grid__item-mock.svelte-8d0obn::before{font-size:calc(0.0103125 * 100vw + 0px)}}.inventory-grid__item-mock--lock.svelte-8d0obn::before{content:\"\\e92d\"}");
}

function inventory_grid_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[22] = list[i];
	return child_ctx;
}

function inventory_grid_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[22] = list[i];
	return child_ctx;
}

function inventory_grid_index_svelte_get_each_context_2(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[22] = list[i];
	return child_ctx;
}

function inventory_grid_index_svelte_get_each_context_3(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[22] = list[i];
	child_ctx[30] = i;
	return child_ctx;
}

// (610:4) {#if searchEnabled}
function inventory_grid_index_svelte_create_if_block_4(ctx) {
	let search;
	let updating_loading;
	let updating_searchQuery;
	let t;
	let div;
	let loader;
	let div_class_value;
	let current;

	function search_loading_binding(value) {
		/*search_loading_binding*/ ctx[19](value);
	}

	function search_searchQuery_binding(value) {
		/*search_searchQuery_binding*/ ctx[20](value);
	}

	let search_props = { inventoryId: BLOCK_TYPE.BLOCK_TYPE_MENU };

	if (/*loading*/ ctx[14] !== void 0) {
		search_props.loading = /*loading*/ ctx[14];
	}

	if (/*$searchQuery*/ ctx[13] !== void 0) {
		search_props.searchQuery = /*$searchQuery*/ ctx[13];
	}

	search = new components_search_index_svelte({ props: search_props });
	binding_callbacks.push(() => bind(search, 'loading', search_loading_binding));
	binding_callbacks.push(() => bind(search, 'searchQuery', search_searchQuery_binding));
	loader = new components_loader_index_svelte({ props: { type: 'fade', size: 'small' } });

	return {
		c() {
			create_component(search.$$.fragment);
			t = space();
			div = internal_element("div");
			create_component(loader.$$.fragment);

			attr(div, "class", div_class_value = "inventory-grid__loader " + (!/*loading*/ ctx[14]
			? 'inventory-grid__loader_invisible'
			: '') + " svelte-8d0obn");
		},
		m(target, anchor) {
			mount_component(search, target, anchor);
			insert(target, t, anchor);
			insert(target, div, anchor);
			mount_component(loader, div, null);
			current = true;
		},
		p(ctx, dirty) {
			const search_changes = {};

			if (!updating_loading && dirty & /*loading*/ 16384) {
				updating_loading = true;
				search_changes.loading = /*loading*/ ctx[14];
				add_flush_callback(() => updating_loading = false);
			}

			if (!updating_searchQuery && dirty & /*$searchQuery*/ 8192) {
				updating_searchQuery = true;
				search_changes.searchQuery = /*$searchQuery*/ ctx[13];
				add_flush_callback(() => updating_searchQuery = false);
			}

			search.$set(search_changes);

			if (!current || dirty & /*loading*/ 16384 && div_class_value !== (div_class_value = "inventory-grid__loader " + (!/*loading*/ ctx[14]
			? 'inventory-grid__loader_invisible'
			: '') + " svelte-8d0obn")) {
				attr(div, "class", div_class_value);
			}
		},
		i(local) {
			if (current) return;
			transition_in(search.$$.fragment, local);
			transition_in(loader.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(search.$$.fragment, local);
			transition_out(loader.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(search, detaching);
			if (detaching) detach(t);
			if (detaching) detach(div);
			destroy_component(loader);
		}
	};
}

// (632:12) {:else}
function inventory_grid_index_svelte_create_else_block(ctx) {
	let inventoryitem;
	let current;

	inventoryitem = new inventory_item_index_svelte({
			props: {
				item: { slot: /*slotId*/ ctx[30] },
				availableItemsIds: /*availableItemsIds*/ ctx[3],
				slotId: /*slotId*/ ctx[30],
				withContextMenu: /*withContextMenu*/ ctx[4],
				inventoryId: /*inventoryId*/ ctx[2],
				disabled: /*disableAllItems*/ ctx[5],
				disableItemDrag: /*disableItemsDrag*/ ctx[7],
				disableItemsUsage: /*disableItemsUsage*/ ctx[8],
				showIndex: /*showSlotsIndex*/ ctx[9],
				itemTypeHighlight: /*itemTypeHighlight*/ ctx[10],
				blockTypeHighlight: /*blockTypeHighlight*/ ctx[11]
			}
		});

	return {
		c() {
			create_component(inventoryitem.$$.fragment);
		},
		m(target, anchor) {
			mount_component(inventoryitem, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const inventoryitem_changes = {};
			if (dirty & /*availableItemsIds*/ 8) inventoryitem_changes.availableItemsIds = /*availableItemsIds*/ ctx[3];
			if (dirty & /*withContextMenu*/ 16) inventoryitem_changes.withContextMenu = /*withContextMenu*/ ctx[4];
			if (dirty & /*inventoryId*/ 4) inventoryitem_changes.inventoryId = /*inventoryId*/ ctx[2];
			if (dirty & /*disableAllItems*/ 32) inventoryitem_changes.disabled = /*disableAllItems*/ ctx[5];
			if (dirty & /*disableItemsDrag*/ 128) inventoryitem_changes.disableItemDrag = /*disableItemsDrag*/ ctx[7];
			if (dirty & /*disableItemsUsage*/ 256) inventoryitem_changes.disableItemsUsage = /*disableItemsUsage*/ ctx[8];
			if (dirty & /*showSlotsIndex*/ 512) inventoryitem_changes.showIndex = /*showSlotsIndex*/ ctx[9];
			if (dirty & /*itemTypeHighlight*/ 1024) inventoryitem_changes.itemTypeHighlight = /*itemTypeHighlight*/ ctx[10];
			if (dirty & /*blockTypeHighlight*/ 2048) inventoryitem_changes.blockTypeHighlight = /*blockTypeHighlight*/ ctx[11];
			inventoryitem.$set(inventoryitem_changes);
		},
		i(local) {
			if (current) return;
			transition_in(inventoryitem.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(inventoryitem.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(inventoryitem, detaching);
		}
	};
}

// (618:12) {#if !isNil(actualItems[slotId])}
function inventory_grid_index_svelte_create_if_block_3(ctx) {
	let inventoryitem;
	let current;

	inventoryitem = new inventory_item_index_svelte({
			props: {
				item: /*actualItems*/ ctx[16][/*slotId*/ ctx[30]],
				availableItemsIds: /*availableItemsIds*/ ctx[3],
				slotId: /*slotId*/ ctx[30],
				withContextMenu: /*withContextMenu*/ ctx[4],
				inventoryId: /*inventoryId*/ ctx[2],
				disabled: /*disableAllItems*/ ctx[5],
				disableItemDrag: /*disableItemsDrag*/ ctx[7],
				disableItemsUsage: /*disableItemsUsage*/ ctx[8],
				showIndex: /*showSlotsIndex*/ ctx[9],
				itemTypeHighlight: /*itemTypeHighlight*/ ctx[10],
				blockTypeHighlight: /*blockTypeHighlight*/ ctx[11]
			}
		});

	return {
		c() {
			create_component(inventoryitem.$$.fragment);
		},
		m(target, anchor) {
			mount_component(inventoryitem, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const inventoryitem_changes = {};
			if (dirty & /*actualItems*/ 65536) inventoryitem_changes.item = /*actualItems*/ ctx[16][/*slotId*/ ctx[30]];
			if (dirty & /*availableItemsIds*/ 8) inventoryitem_changes.availableItemsIds = /*availableItemsIds*/ ctx[3];
			if (dirty & /*withContextMenu*/ 16) inventoryitem_changes.withContextMenu = /*withContextMenu*/ ctx[4];
			if (dirty & /*inventoryId*/ 4) inventoryitem_changes.inventoryId = /*inventoryId*/ ctx[2];
			if (dirty & /*disableAllItems*/ 32) inventoryitem_changes.disabled = /*disableAllItems*/ ctx[5];
			if (dirty & /*disableItemsDrag*/ 128) inventoryitem_changes.disableItemDrag = /*disableItemsDrag*/ ctx[7];
			if (dirty & /*disableItemsUsage*/ 256) inventoryitem_changes.disableItemsUsage = /*disableItemsUsage*/ ctx[8];
			if (dirty & /*showSlotsIndex*/ 512) inventoryitem_changes.showIndex = /*showSlotsIndex*/ ctx[9];
			if (dirty & /*itemTypeHighlight*/ 1024) inventoryitem_changes.itemTypeHighlight = /*itemTypeHighlight*/ ctx[10];
			if (dirty & /*blockTypeHighlight*/ 2048) inventoryitem_changes.blockTypeHighlight = /*blockTypeHighlight*/ ctx[11];
			inventoryitem.$set(inventoryitem_changes);
		},
		i(local) {
			if (current) return;
			transition_in(inventoryitem.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(inventoryitem.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(inventoryitem, detaching);
		}
	};
}

// (617:8) {#each new Array(slotsCount) as slot, slotId}
function inventory_grid_index_svelte_create_each_block_3(ctx) {
	let show_if;
	let current_block_type_index;
	let if_block;
	let if_block_anchor;
	let current;
	const if_block_creators = [inventory_grid_index_svelte_create_if_block_3, inventory_grid_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (dirty & /*actualItems*/ 65536) show_if = null;
		if (show_if == null) show_if = !!!(0,lodash.isNil)(/*actualItems*/ ctx[16][/*slotId*/ ctx[30]]);
		if (show_if) return 0;
		return 1;
	}

	current_block_type_index = select_block_type(ctx, -1);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if_blocks[current_block_type_index].m(target, anchor);
			insert(target, if_block_anchor, anchor);
			current = true;
		},
		p(ctx, dirty) {
			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(if_block_anchor.parentNode, if_block_anchor);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if_blocks[current_block_type_index].d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

// (648:8) {#if searchRestSlotsCount !== 0}
function inventory_grid_index_svelte_create_if_block_2(ctx) {
	let each_1_anchor;
	let each_value_2 = new Array(/*searchRestSlotsCount*/ ctx[15]);
	let each_blocks = [];

	for (let i = 0; i < each_value_2.length; i += 1) {
		each_blocks[i] = inventory_grid_index_svelte_create_each_block_2(inventory_grid_index_svelte_get_each_context_2(ctx, each_value_2, i));
	}

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*searchRestSlotsCount*/ 32768) {
				each_value_2 = new Array(/*searchRestSlotsCount*/ ctx[15]);
				let i;

				for (i = 0; i < each_value_2.length; i += 1) {
					const child_ctx = inventory_grid_index_svelte_get_each_context_2(ctx, each_value_2, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = inventory_grid_index_svelte_create_each_block_2(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_2.length;
			}
		},
		d(detaching) {
			destroy_each(each_blocks, detaching);
			if (detaching) detach(each_1_anchor);
		}
	};
}

// (649:12) {#each new Array(searchRestSlotsCount) as slot}
function inventory_grid_index_svelte_create_each_block_2(ctx) {
	let div1;

	return {
		c() {
			div1 = internal_element("div");

			div1.innerHTML = `<div class="inventory-grid__item-mock svelte-8d0obn"></div> 
                `;

			attr(div1, "class", "inventory-grid__item-bg svelte-8d0obn");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (661:80) 
function inventory_grid_index_svelte_create_if_block_1(ctx) {
	let each_1_anchor;
	let each_value_1 = new Array(Math.ceil(/*slotsCount*/ ctx[1] / /*columnsCount*/ ctx[0]) * /*columnsCount*/ ctx[0] - /*slotsCount*/ ctx[1]);
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = inventory_grid_index_svelte_create_each_block_1(inventory_grid_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*slotsCount, columnsCount*/ 3) {
				each_value_1 = new Array(Math.ceil(/*slotsCount*/ ctx[1] / /*columnsCount*/ ctx[0]) * /*columnsCount*/ ctx[0] - /*slotsCount*/ ctx[1]);
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = inventory_grid_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = inventory_grid_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}
		},
		d(detaching) {
			destroy_each(each_blocks, detaching);
			if (detaching) detach(each_1_anchor);
		}
	};
}

// (655:8) {#if fillWholeColumn && inventoryId === BLOCK_TYPE.BLOCK_TYPE_MENU}
function inventory_grid_index_svelte_create_if_block(ctx) {
	let each_1_anchor;
	let each_value = new Array(Math.ceil(/*slotsCount*/ ctx[1] / /*columnsCount*/ ctx[0]) * /*columnsCount*/ ctx[0] - /*slotsCount*/ ctx[1]);
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = inventory_grid_index_svelte_create_each_block(inventory_grid_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*slotsCount, columnsCount*/ 3) {
				each_value = new Array(Math.ceil(/*slotsCount*/ ctx[1] / /*columnsCount*/ ctx[0]) * /*columnsCount*/ ctx[0] - /*slotsCount*/ ctx[1]);
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = inventory_grid_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = inventory_grid_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		d(detaching) {
			destroy_each(each_blocks, detaching);
			if (detaching) detach(each_1_anchor);
		}
	};
}

// (662:12) {#each new Array((Math.ceil(slotsCount / columnsCount) * columnsCount) - slotsCount) as slot}
function inventory_grid_index_svelte_create_each_block_1(ctx) {
	let div1;

	return {
		c() {
			div1 = internal_element("div");

			div1.innerHTML = `<div class="inventory-grid__item-mock svelte-8d0obn"></div> 
                `;

			attr(div1, "class", "inventory-grid__item-bg svelte-8d0obn");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (656:12) {#each new Array((Math.ceil(slotsCount / columnsCount) * columnsCount) - slotsCount) as slot}
function inventory_grid_index_svelte_create_each_block(ctx) {
	let div1;

	return {
		c() {
			div1 = internal_element("div");

			div1.innerHTML = `<div class="inventory-grid__item-mock inventory-grid__item-mock--lock svelte-8d0obn"></div> 
                `;

			attr(div1, "class", "inventory-grid__item-bg svelte-8d0obn");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

function inventory_grid_index_svelte_create_fragment(ctx) {
	let div1;
	let t0;
	let div0;
	let t1;
	let t2;
	let div0_class_value;
	let div1_style_value;
	let current;
	let if_block0 = /*searchEnabled*/ ctx[12] && inventory_grid_index_svelte_create_if_block_4(ctx);
	let each_value_3 = new Array(/*slotsCount*/ ctx[1]);
	let each_blocks = [];

	for (let i = 0; i < each_value_3.length; i += 1) {
		each_blocks[i] = inventory_grid_index_svelte_create_each_block_3(inventory_grid_index_svelte_get_each_context_3(ctx, each_value_3, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	let if_block1 = /*searchRestSlotsCount*/ ctx[15] !== 0 && inventory_grid_index_svelte_create_if_block_2(ctx);

	function select_block_type_1(ctx, dirty) {
		if (/*fillWholeColumn*/ ctx[6] && /*inventoryId*/ ctx[2] === BLOCK_TYPE.BLOCK_TYPE_MENU) return inventory_grid_index_svelte_create_if_block;
		if (/*fillWholeColumn*/ ctx[6] && /*inventoryId*/ ctx[2] !== BLOCK_TYPE.BLOCK_TYPE_MENU) return inventory_grid_index_svelte_create_if_block_1;
	}

	let current_block_type = select_block_type_1(ctx, -1);
	let if_block2 = current_block_type && current_block_type(ctx);

	return {
		c() {
			div1 = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t1 = space();
			if (if_block1) if_block1.c();
			t2 = space();
			if (if_block2) if_block2.c();

			attr(div0, "class", div0_class_value = "inventory-grid__grid " + (/*searchEnabled*/ ctx[12] && /*loading*/ ctx[14]
			? 'inventory-grid__loader_invisible'
			: '') + " svelte-8d0obn");

			attr(div1, "class", "inventory-grid");
			attr(div1, "style", div1_style_value = `--columns-count: ${/*columnsCount*/ ctx[0]};`);
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			if (if_block0) if_block0.m(div1, null);
			append(div1, t0);
			append(div1, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			append(div0, t1);
			if (if_block1) if_block1.m(div0, null);
			append(div0, t2);
			if (if_block2) if_block2.m(div0, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if (/*searchEnabled*/ ctx[12]) {
				if (if_block0) {
					if_block0.p(ctx, dirty);

					if (dirty & /*searchEnabled*/ 4096) {
						transition_in(if_block0, 1);
					}
				} else {
					if_block0 = inventory_grid_index_svelte_create_if_block_4(ctx);
					if_block0.c();
					transition_in(if_block0, 1);
					if_block0.m(div1, t0);
				}
			} else if (if_block0) {
				group_outros();

				transition_out(if_block0, 1, 1, () => {
					if_block0 = null;
				});

				check_outros();
			}

			if (dirty & /*actualItems, availableItemsIds, withContextMenu, inventoryId, disableAllItems, disableItemsDrag, disableItemsUsage, showSlotsIndex, itemTypeHighlight, blockTypeHighlight, isNil, slotsCount*/ 69566) {
				each_value_3 = new Array(/*slotsCount*/ ctx[1]);
				let i;

				for (i = 0; i < each_value_3.length; i += 1) {
					const child_ctx = inventory_grid_index_svelte_get_each_context_3(ctx, each_value_3, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = inventory_grid_index_svelte_create_each_block_3(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div0, t1);
					}
				}

				group_outros();

				for (i = each_value_3.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}

			if (/*searchRestSlotsCount*/ ctx[15] !== 0) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = inventory_grid_index_svelte_create_if_block_2(ctx);
					if_block1.c();
					if_block1.m(div0, t2);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (current_block_type === (current_block_type = select_block_type_1(ctx, dirty)) && if_block2) {
				if_block2.p(ctx, dirty);
			} else {
				if (if_block2) if_block2.d(1);
				if_block2 = current_block_type && current_block_type(ctx);

				if (if_block2) {
					if_block2.c();
					if_block2.m(div0, null);
				}
			}

			if (!current || dirty & /*searchEnabled, loading*/ 20480 && div0_class_value !== (div0_class_value = "inventory-grid__grid " + (/*searchEnabled*/ ctx[12] && /*loading*/ ctx[14]
			? 'inventory-grid__loader_invisible'
			: '') + " svelte-8d0obn")) {
				attr(div0, "class", div0_class_value);
			}

			if (!current || dirty & /*columnsCount*/ 1 && div1_style_value !== (div1_style_value = `--columns-count: ${/*columnsCount*/ ctx[0]};`)) {
				attr(div1, "style", div1_style_value);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block0);

			for (let i = 0; i < each_value_3.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			transition_out(if_block0);
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			if (if_block0) if_block0.d();
			destroy_each(each_blocks, detaching);
			if (if_block1) if_block1.d();

			if (if_block2) {
				if_block2.d();
			}
		}
	};
}

function inventory_grid_index_svelte_instance($$self, $$props, $$invalidate) {
	let actualItems;
	let $searchQuery;
	let $inventories;
	component_subscribe($$self, store_searchQuery, $$value => $$invalidate(13, $searchQuery = $$value));
	component_subscribe($$self, inventories, $$value => $$invalidate(21, $inventories = $$value));
	let { items = [] } = $$props;
	let { columnsCount = 6 } = $$props;
	let { slotsCount = 0 } = $$props;
	let { inventoryId = -1 } = $$props;
	let { availableItemsIds = null } = $$props;
	let { withContextMenu = false } = $$props;
	let { disableAllItems = false } = $$props;
	let { fillWholeColumn = false } = $$props;
	let { disableItemsDrag = false } = $$props;
	let { disableItemsUsage = false } = $$props;
	let { showSlotsIndex = false } = $$props;
	let { itemTypeHighlight = null } = $$props;
	let { blockTypeHighlight = [] } = $$props;
	let { searchEnabled = false } = $$props;
	let loading = false;
	let searchResults = false;
	let searchRestSlotsCount = 0;

	onDestroy(() => {
		if ((0,lodash.isNil)($inventories[inventoryId])) {
			return;
		}

		// else {
		$inventories[inventoryId].forEach((item, index) => {
			if (SECURITY_STUFF.includes(inventoryId)) {
				item.forEach((securityItem, securityIndex) => {
					set_store_value(inventories, $inventories[inventoryId][index][securityIndex].available = true, $inventories);
					set_store_value(inventories, $inventories[inventoryId][index][securityIndex].blackout = false, $inventories);
				});
			} else {
				set_store_value(inventories, $inventories[inventoryId][index].available = true, $inventories);
				set_store_value(inventories, $inventories[inventoryId][index].blackout = false, $inventories);
			}
		});
	}); // }

	onMount(() => {
		set_store_value(store_searchQuery, $searchQuery = '', $searchQuery);
	});

	function search_loading_binding(value) {
		loading = value;
		$$invalidate(14, loading);
	}

	function search_searchQuery_binding(value) {
		$searchQuery = value;
		store_searchQuery.set($searchQuery);
	}

	$$self.$$set = $$props => {
		if ('items' in $$props) $$invalidate(17, items = $$props.items);
		if ('columnsCount' in $$props) $$invalidate(0, columnsCount = $$props.columnsCount);
		if ('slotsCount' in $$props) $$invalidate(1, slotsCount = $$props.slotsCount);
		if ('inventoryId' in $$props) $$invalidate(2, inventoryId = $$props.inventoryId);
		if ('availableItemsIds' in $$props) $$invalidate(3, availableItemsIds = $$props.availableItemsIds);
		if ('withContextMenu' in $$props) $$invalidate(4, withContextMenu = $$props.withContextMenu);
		if ('disableAllItems' in $$props) $$invalidate(5, disableAllItems = $$props.disableAllItems);
		if ('fillWholeColumn' in $$props) $$invalidate(6, fillWholeColumn = $$props.fillWholeColumn);
		if ('disableItemsDrag' in $$props) $$invalidate(7, disableItemsDrag = $$props.disableItemsDrag);
		if ('disableItemsUsage' in $$props) $$invalidate(8, disableItemsUsage = $$props.disableItemsUsage);
		if ('showSlotsIndex' in $$props) $$invalidate(9, showSlotsIndex = $$props.showSlotsIndex);
		if ('itemTypeHighlight' in $$props) $$invalidate(10, itemTypeHighlight = $$props.itemTypeHighlight);
		if ('blockTypeHighlight' in $$props) $$invalidate(11, blockTypeHighlight = $$props.blockTypeHighlight);
		if ('searchEnabled' in $$props) $$invalidate(12, searchEnabled = $$props.searchEnabled);
	};

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*searchEnabled, $searchQuery, items, searchRestSlotsCount, searchResults*/ 438272) {
			$: {
				$$invalidate(15, searchRestSlotsCount = 0);

				if (searchEnabled && $searchQuery.length >= 1 && items.length) {
					$$invalidate(18, searchResults = items.map(item => {
						if (item.name && item.name.toLowerCase().includes($searchQuery.toLowerCase())) {
							return item;
						}

						$$invalidate(15, searchRestSlotsCount += 1);
						return { ...item, forceHide: true };
					}));

					if (!searchResults.length) {
						$$invalidate(18, searchResults = []);
						$$invalidate(15, searchRestSlotsCount = 0);
					}
				} else {
					$$invalidate(18, searchResults = false);
					$$invalidate(15, searchRestSlotsCount = 0);
				}
			}
		}

		if ($$self.$$.dirty & /*searchEnabled, searchResults, items*/ 397312) {
			$: $$invalidate(16, actualItems = searchEnabled ? searchResults || items : items);
		}
	};

	return [
		columnsCount,
		slotsCount,
		inventoryId,
		availableItemsIds,
		withContextMenu,
		disableAllItems,
		fillWholeColumn,
		disableItemsDrag,
		disableItemsUsage,
		showSlotsIndex,
		itemTypeHighlight,
		blockTypeHighlight,
		searchEnabled,
		$searchQuery,
		loading,
		searchRestSlotsCount,
		actualItems,
		items,
		searchResults,
		search_loading_binding,
		search_searchQuery_binding
	];
}

class Inventory_grid extends SvelteComponent {
	constructor(options) {
		super();

		init(
			this,
			options,
			inventory_grid_index_svelte_instance,
			inventory_grid_index_svelte_create_fragment,
			safe_not_equal,
			{
				items: 17,
				columnsCount: 0,
				slotsCount: 1,
				inventoryId: 2,
				availableItemsIds: 3,
				withContextMenu: 4,
				disableAllItems: 5,
				fillWholeColumn: 6,
				disableItemsDrag: 7,
				disableItemsUsage: 8,
				showSlotsIndex: 9,
				itemTypeHighlight: 10,
				blockTypeHighlight: 11,
				searchEnabled: 12
			},
			inventory_grid_index_svelte_add_css
		);
	}
}

/* harmony default export */ const inventory_grid_index_svelte = (Inventory_grid);
;// CONCATENATED MODULE: ./src/views/inventory/components/inventory-main/index.svelte
/* src\views\inventory\components\inventory-main\index.svelte generated by Svelte v3.49.0 */





function inventory_main_index_svelte_add_css(target) {
	append_styles(target, "svelte-xhwwij", "@keyframes svelte-xhwwij-blinking{50%{opacity:0}}@keyframes svelte-xhwwij-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-xhwwij-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-xhwwij-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-xhwwij-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-xhwwij-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-xhwwij-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-xhwwij-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-xhwwij-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-xhwwij-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-xhwwij-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-xhwwij-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-xhwwij-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-xhwwij-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-xhwwij-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.inventory-main.svelte-xhwwij{background-color:rgba(19, 21, 22, 0.95);overflow:hidden;border-bottom-left-radius:calc(0.0052083333 * 100vw + 0px);border-bottom-right-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-main.svelte-xhwwij{border-bottom-left-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-main.svelte-xhwwij{border-bottom-left-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-main.svelte-xhwwij{border-bottom-left-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-main.svelte-xhwwij{border-bottom-left-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-main.svelte-xhwwij{border-bottom-left-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-main.svelte-xhwwij{border-bottom-left-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-main.svelte-xhwwij{border-bottom-left-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-main.svelte-xhwwij{border-bottom-right-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-main.svelte-xhwwij{border-bottom-right-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-main.svelte-xhwwij{border-bottom-right-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-main.svelte-xhwwij{border-bottom-right-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-main.svelte-xhwwij{border-bottom-right-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-main.svelte-xhwwij{border-bottom-right-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-main.svelte-xhwwij{border-bottom-right-radius:calc(0.0057291667 * 100vw + 0px)}}.inventory-main__grid.svelte-xhwwij{overflow:auto;border-bottom-left-radius:calc(0.0052083333 * 100vw + 0px);border-bottom-right-radius:calc(0.0052083333 * 100vw + 0px);max-height:calc(0.4072916667 * 100vw + 0px);margin:calc(0.0078125 * 100vw + 0px);margin-right:calc(0.0052083333 * 100vw + 0px);margin-bottom:calc(0.0078125 * 100vw + 0px);padding-right:calc(0.0078125 * 100vw + 0px)}.inventory-main__grid.svelte-xhwwij::-webkit-scrollbar{height:0;width:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-main__grid.svelte-xhwwij::-webkit-scrollbar{width:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-main__grid.svelte-xhwwij::-webkit-scrollbar{width:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-main__grid.svelte-xhwwij::-webkit-scrollbar{width:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-main__grid.svelte-xhwwij::-webkit-scrollbar{width:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-main__grid.svelte-xhwwij::-webkit-scrollbar{width:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-main__grid.svelte-xhwwij::-webkit-scrollbar{width:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-main__grid.svelte-xhwwij::-webkit-scrollbar{width:calc(0.0045833333 * 100vw + 0px)}}.inventory-main__grid.svelte-xhwwij::-webkit-scrollbar-button{display:none}.inventory-main__grid.svelte-xhwwij::-webkit-scrollbar-track{background-color:rgba(0, 0, 0, 0.5)}.inventory-main__grid.svelte-xhwwij::-webkit-scrollbar-track-piece{background:rgba(0, 0, 0, 0.5);border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-main__grid.svelte-xhwwij::-webkit-scrollbar-track-piece{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-main__grid.svelte-xhwwij::-webkit-scrollbar-track-piece{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-main__grid.svelte-xhwwij::-webkit-scrollbar-track-piece{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-main__grid.svelte-xhwwij::-webkit-scrollbar-track-piece{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-main__grid.svelte-xhwwij::-webkit-scrollbar-track-piece{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-main__grid.svelte-xhwwij::-webkit-scrollbar-track-piece{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-main__grid.svelte-xhwwij::-webkit-scrollbar-track-piece{border-radius:calc(0.0028645833 * 100vw + 0px)}}.inventory-main__grid.svelte-xhwwij::-webkit-scrollbar-thumb{background:rgba(255, 255, 255, 0.5);border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory-main__grid.svelte-xhwwij::-webkit-scrollbar-thumb{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-main__grid.svelte-xhwwij::-webkit-scrollbar-thumb{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-main__grid.svelte-xhwwij::-webkit-scrollbar-thumb{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-main__grid.svelte-xhwwij::-webkit-scrollbar-thumb{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-main__grid.svelte-xhwwij::-webkit-scrollbar-thumb{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-main__grid.svelte-xhwwij::-webkit-scrollbar-thumb{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-main__grid.svelte-xhwwij::-webkit-scrollbar-thumb{border-radius:calc(0.0028645833 * 100vw + 0px)}}.inventory-main__grid.svelte-xhwwij::-webkit-scrollbar-corner{background-color:rgba(0, 0, 0, 0.5)}.inventory-main__grid.svelte-xhwwij::-webkit-resizer{background-color:rgba(0, 0, 0, 0.5)}@media(max-width: 1920px) and (max-height: 768px){.inventory-main__grid.svelte-xhwwij{border-bottom-left-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-main__grid.svelte-xhwwij{border-bottom-left-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-main__grid.svelte-xhwwij{border-bottom-left-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-main__grid.svelte-xhwwij{border-bottom-left-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-main__grid.svelte-xhwwij{border-bottom-left-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-main__grid.svelte-xhwwij{border-bottom-left-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-main__grid.svelte-xhwwij{border-bottom-left-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-main__grid.svelte-xhwwij{border-bottom-right-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-main__grid.svelte-xhwwij{border-bottom-right-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-main__grid.svelte-xhwwij{border-bottom-right-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-main__grid.svelte-xhwwij{border-bottom-right-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-main__grid.svelte-xhwwij{border-bottom-right-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-main__grid.svelte-xhwwij{border-bottom-right-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-main__grid.svelte-xhwwij{border-bottom-right-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-main__grid.svelte-xhwwij{max-height:calc(0.4072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-main__grid.svelte-xhwwij{max-height:calc(0.4072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-main__grid.svelte-xhwwij{max-height:calc(0.3136145833 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-main__grid.svelte-xhwwij{max-height:calc(0.4480208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-main__grid.svelte-xhwwij{max-height:calc(0.2851041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-main__grid.svelte-xhwwij{max-height:calc(0.3665625 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-main__grid.svelte-xhwwij{max-height:calc(0.4480208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-main__grid.svelte-xhwwij{margin:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-main__grid.svelte-xhwwij{margin:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-main__grid.svelte-xhwwij{margin:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-main__grid.svelte-xhwwij{margin:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-main__grid.svelte-xhwwij{margin:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-main__grid.svelte-xhwwij{margin:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-main__grid.svelte-xhwwij{margin:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-main__grid.svelte-xhwwij{margin-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-main__grid.svelte-xhwwij{margin-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-main__grid.svelte-xhwwij{margin-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-main__grid.svelte-xhwwij{margin-right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-main__grid.svelte-xhwwij{margin-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-main__grid.svelte-xhwwij{margin-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-main__grid.svelte-xhwwij{margin-right:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-main__grid.svelte-xhwwij{margin-bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-main__grid.svelte-xhwwij{margin-bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-main__grid.svelte-xhwwij{margin-bottom:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-main__grid.svelte-xhwwij{margin-bottom:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-main__grid.svelte-xhwwij{margin-bottom:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-main__grid.svelte-xhwwij{margin-bottom:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-main__grid.svelte-xhwwij{margin-bottom:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory-main__grid.svelte-xhwwij{padding-right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory-main__grid.svelte-xhwwij{padding-right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory-main__grid.svelte-xhwwij{padding-right:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.inventory-main__grid.svelte-xhwwij{padding-right:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory-main__grid.svelte-xhwwij{padding-right:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory-main__grid.svelte-xhwwij{padding-right:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.inventory-main__grid.svelte-xhwwij{padding-right:calc(0.00859375 * 100vw + 0px)}}");
}

function inventory_main_index_svelte_create_fragment(ctx) {
	let div1;
	let div0;
	let inventorygrid;
	let current;

	inventorygrid = new inventory_grid_index_svelte({
			props: {
				items: /*$inventories*/ ctx[4][/*inventoryId*/ ctx[0]],
				columnsCount: /*columnsCount*/ ctx[1],
				slotsCount: /*slotsCount*/ ctx[2],
				inventoryId: /*inventoryId*/ ctx[0],
				disableAllItems: false,
				fillWholeColumn: /*fillWholeColumn*/ ctx[3],
				disableItemsDrag: /*$shopOpened*/ ctx[5],
				disableItemsUsage: false,
				searchEnabled: true
			}
		});

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			create_component(inventorygrid.$$.fragment);
			attr(div0, "class", "inventory-main__grid svelte-xhwwij");
			attr(div1, "class", "inventory-main svelte-xhwwij");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			mount_component(inventorygrid, div0, null);
			current = true;
		},
		p(ctx, [dirty]) {
			const inventorygrid_changes = {};
			if (dirty & /*$inventories, inventoryId*/ 17) inventorygrid_changes.items = /*$inventories*/ ctx[4][/*inventoryId*/ ctx[0]];
			if (dirty & /*columnsCount*/ 2) inventorygrid_changes.columnsCount = /*columnsCount*/ ctx[1];
			if (dirty & /*slotsCount*/ 4) inventorygrid_changes.slotsCount = /*slotsCount*/ ctx[2];
			if (dirty & /*inventoryId*/ 1) inventorygrid_changes.inventoryId = /*inventoryId*/ ctx[0];
			if (dirty & /*fillWholeColumn*/ 8) inventorygrid_changes.fillWholeColumn = /*fillWholeColumn*/ ctx[3];
			if (dirty & /*$shopOpened*/ 32) inventorygrid_changes.disableItemsDrag = /*$shopOpened*/ ctx[5];
			inventorygrid.$set(inventorygrid_changes);
		},
		i(local) {
			if (current) return;
			transition_in(inventorygrid.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(inventorygrid.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			destroy_component(inventorygrid);
		}
	};
}

function inventory_main_index_svelte_instance($$self, $$props, $$invalidate) {
	let $inventories;
	let $shopOpened;
	component_subscribe($$self, inventories, $$value => $$invalidate(4, $inventories = $$value));
	component_subscribe($$self, shopOpened, $$value => $$invalidate(5, $shopOpened = $$value));
	let { inventoryId = '' } = $$props;
	let { columnsCount = 5 } = $$props;
	let { slotsCount = 5 } = $$props;
	let { fillWholeColumn = false } = $$props;

	$$self.$$set = $$props => {
		if ('inventoryId' in $$props) $$invalidate(0, inventoryId = $$props.inventoryId);
		if ('columnsCount' in $$props) $$invalidate(1, columnsCount = $$props.columnsCount);
		if ('slotsCount' in $$props) $$invalidate(2, slotsCount = $$props.slotsCount);
		if ('fillWholeColumn' in $$props) $$invalidate(3, fillWholeColumn = $$props.fillWholeColumn);
	};

	return [
		inventoryId,
		columnsCount,
		slotsCount,
		fillWholeColumn,
		$inventories,
		$shopOpened
	];
}

class Inventory_main extends SvelteComponent {
	constructor(options) {
		super();

		init(
			this,
			options,
			inventory_main_index_svelte_instance,
			inventory_main_index_svelte_create_fragment,
			safe_not_equal,
			{
				inventoryId: 0,
				columnsCount: 1,
				slotsCount: 2,
				fillWholeColumn: 3
			},
			inventory_main_index_svelte_add_css
		);
	}
}

/* harmony default export */ const inventory_main_index_svelte = (Inventory_main);
;// CONCATENATED MODULE: ./src/views/inventory/components/character/components/main/constants.js
var LoadoutTabs = {
  Accessories: 'accessories',
  Improvements: 'improvements'
};
;// CONCATENATED MODULE: ./src/views/inventory/components/character/components/main/index.svelte
/* src\views\inventory\components\character\components\main\index.svelte generated by Svelte v3.49.0 */

















function character_components_main_index_svelte_create_if_block(ctx) {
	let div20;
	let div1;
	let img;
	let img_src_value;
	let t0;
	let current_block_type_index;
	let if_block;
	let t1;
	let div0;
	let inventoryitem0;
	let t2;
	let inventoryitem1;
	let t3;
	let inventoryitem2;
	let t4;
	let div19;
	let div5;
	let div2;
	let inventorybutton0;
	let t5;
	let div3;
	let inventorybutton1;
	let t6;
	let div4;
	let inventorybutton2;
	let t7;
	let div15;
	let div6;
	let inventorybutton3;
	let t8;
	let div7;
	let inventorybutton4;
	let t9;
	let div8;
	let inventorybutton5;
	let t10;
	let div9;
	let inventorybutton6;
	let t11;
	let div10;
	let inventorybutton7;
	let t12;
	let div11;
	let inventorybutton8;
	let t13;
	let div12;
	let inventorybutton9;
	let t14;
	let div13;
	let inventorybutton10;
	let t15;
	let div14;
	let inventorybutton11;
	let t16;
	let div18;
	let div16;
	let inventorybutton12;
	let t17;
	let div17;
	let inventorybutton13;
	let current;
	let mounted;
	let dispose;
	const if_block_creators = [character_components_main_index_svelte_create_if_block_1, components_main_index_svelte_create_if_block_2];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (/*$currentTab*/ ctx[1] === LoadoutTabs.Accessories) return 0;
		if (/*$currentTab*/ ctx[1] === LoadoutTabs.Improvements) return 1;
		return -1;
	}

	if (~(current_block_type_index = select_block_type(ctx, -1))) {
		if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
	}

	inventoryitem0 = new inventory_item_index_svelte({
			props: {
				placeholderIcon: 'clothes',
				placeholderText: 'Скин',
				item: /*$inventories*/ ctx[2][BLOCK_TYPE.BLOCK_TYPE_SKIN][0],
				slotId: 0,
				inventoryId: BLOCK_TYPE.BLOCK_TYPE_SKIN
			}
		});

	inventoryitem1 = new inventory_item_index_svelte({
			props: {
				placeholderIcon: 'case',
				placeholderText: 'Кейс',
				item: /*$inventories*/ ctx[2][BLOCK_TYPE.BLOCK_TYPE_IMPROV][0],
				slotId: 0,
				inventoryId: BLOCK_TYPE.BLOCK_TYPE_IMPROV
			}
		});

	inventoryitem2 = new inventory_item_index_svelte({
			props: {
				placeholderIcon: 'armour',
				placeholderText: 'Броня',
				item: /*$inventories*/ ctx[2][BLOCK_TYPE.BLOCK_TYPE_IMPROV][1],
				slotId: 1,
				inventoryId: BLOCK_TYPE.BLOCK_TYPE_IMPROV
			}
		});

	inventorybutton0 = new inventory_button_index_svelte({
			props: {
				text: 'Аксессуары',
				active: /*$currentTab*/ ctx[1] === LoadoutTabs.Accessories,
				color: /*$currentTab*/ ctx[1] === LoadoutTabs.Accessories
				? ButtonColors.BlueRed
				: ButtonColors.WhiteGrey,
				onClick: /*func*/ ctx[11]
			}
		});

	inventorybutton1 = new inventory_button_index_svelte({
			props: {
				text: 'Документы',
				color: ButtonColors.WhiteGrey,
				onClick: /*func_1*/ ctx[12]
			}
		});

	inventorybutton2 = new inventory_button_index_svelte({
			props: {
				text: 'Улучшения',
				color: /*$currentTab*/ ctx[1] === LoadoutTabs.Improvements
				? ButtonColors.BlueRed
				: ButtonColors.WhiteGrey,
				active: /*$currentTab*/ ctx[1] === LoadoutTabs.Improvements,
				onClick: /*func_2*/ ctx[13]
			}
		});

	inventorybutton3 = new inventory_button_index_svelte({
			props: {
				text: 'Меню',
				icon: 'dash',
				onClick: /*func_3*/ ctx[14]
			}
		});

	inventorybutton4 = new inventory_button_index_svelte({
			props: {
				icon: 'inv-house',
				text: 'Дом',
				onClick: /*func_4*/ ctx[15]
			}
		});

	inventorybutton5 = new inventory_button_index_svelte({
			props: {
				icon: 'vehicle',
				text: 'Транспорт',
				onClick: /*func_5*/ ctx[16]
			}
		});

	inventorybutton6 = new inventory_button_index_svelte({
			props: {
				icon: 'aparts',
				text: 'Бизнес',
				onClick: /*func_6*/ ctx[17]
			}
		});

	inventorybutton7 = new inventory_button_index_svelte({
			props: {
				icon: 'pyramid',
				text: 'Семья',
				onClick: /*func_7*/ ctx[18]
			}
		});

	inventorybutton8 = new inventory_button_index_svelte({
			props: {
				icon: 'store',
				text: 'Донат',
				onClick: /*func_8*/ ctx[19]
			}
		});

	inventorybutton9 = new inventory_button_index_svelte({
			props: {
				icon: 'target',
				text: 'Квесты',
				onClick: /*func_9*/ ctx[20]
			}
		});

	inventorybutton10 = new inventory_button_index_svelte({
			props: {
				icon: 'gift',
				text: 'Достижения',
				onClick: /*func_10*/ ctx[21]
			}
		});

	inventorybutton11 = new inventory_button_index_svelte({
			props: {
				icon: 'settings',
				text: 'Настройки',
				onClick: /*func_11*/ ctx[22]
			}
		});

	inventorybutton12 = new inventory_button_index_svelte({
			props: {
				text: 'Помощь',
				color: ButtonColors.WhiteGrey,
				onClick: /*func_12*/ ctx[23]
			}
		});

	inventorybutton13 = new inventory_button_index_svelte({
			props: {
				text: 'GPS',
				color: ButtonColors.WhiteGrey,
				onClick: /*func_13*/ ctx[24]
			}
		});

	return {
		c() {
			div20 = internal_element("div");
			div1 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			if (if_block) if_block.c();
			t1 = space();
			div0 = internal_element("div");
			create_component(inventoryitem0.$$.fragment);
			t2 = space();
			create_component(inventoryitem1.$$.fragment);
			t3 = space();
			create_component(inventoryitem2.$$.fragment);
			t4 = space();
			div19 = internal_element("div");
			div5 = internal_element("div");
			div2 = internal_element("div");
			create_component(inventorybutton0.$$.fragment);
			t5 = space();
			div3 = internal_element("div");
			create_component(inventorybutton1.$$.fragment);
			t6 = space();
			div4 = internal_element("div");
			create_component(inventorybutton2.$$.fragment);
			t7 = space();
			div15 = internal_element("div");
			div6 = internal_element("div");
			create_component(inventorybutton3.$$.fragment);
			t8 = space();
			div7 = internal_element("div");
			create_component(inventorybutton4.$$.fragment);
			t9 = space();
			div8 = internal_element("div");
			create_component(inventorybutton5.$$.fragment);
			t10 = space();
			div9 = internal_element("div");
			create_component(inventorybutton6.$$.fragment);
			t11 = space();
			div10 = internal_element("div");
			create_component(inventorybutton7.$$.fragment);
			t12 = space();
			div11 = internal_element("div");
			create_component(inventorybutton8.$$.fragment);
			t13 = space();
			div12 = internal_element("div");
			create_component(inventorybutton9.$$.fragment);
			t14 = space();
			div13 = internal_element("div");
			create_component(inventorybutton10.$$.fragment);
			t15 = space();
			div14 = internal_element("div");
			create_component(inventorybutton11.$$.fragment);
			t16 = space();
			div18 = internal_element("div");
			div16 = internal_element("div");
			create_component(inventorybutton12.$$.fragment);
			t17 = space();
			div17 = internal_element("div");
			create_component(inventorybutton13.$$.fragment);
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/assets/images/inventory/skins/512/${/*$additionalInfo*/ ctx[3].skin.model}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "skin");
			attr(img, "class", "character-main__skin-image");
			attr(div0, "class", "character-main__loadout-ammunition");
			attr(div1, "class", "character-main__loadout");
			attr(div2, "class", "character-main__loadout-button");
			attr(div3, "class", "character-main__loadout-button");
			attr(div4, "class", "character-main__loadout-button");
			attr(div5, "class", "character-main__loadout-buttons");
			attr(div6, "class", "character-main__menu-button");
			attr(div7, "class", "character-main__menu-button");
			attr(div8, "class", "character-main__menu-button");
			attr(div9, "class", "character-main__menu-button");
			attr(div10, "class", "character-main__menu-button");
			attr(div11, "class", "character-main__menu-button");
			attr(div12, "class", "character-main__menu-button");
			attr(div13, "class", "character-main__menu-button");
			attr(div14, "class", "character-main__menu-button");
			attr(div15, "class", "character-main__menu");
			attr(div16, "class", "character-main__bottom-button");
			attr(div17, "class", "character-main__bottom-button");
			attr(div18, "class", "character-main__bottom-buttons");
			attr(div19, "class", "character-main__button-panel");
			attr(div20, "class", "character-main");
		},
		m(target, anchor) {
			insert(target, div20, anchor);
			append(div20, div1);
			append(div1, img);
			/*img_binding*/ ctx[10](img);
			append(div1, t0);

			if (~current_block_type_index) {
				if_blocks[current_block_type_index].m(div1, null);
			}

			append(div1, t1);
			append(div1, div0);
			mount_component(inventoryitem0, div0, null);
			append(div0, t2);
			mount_component(inventoryitem1, div0, null);
			append(div0, t3);
			mount_component(inventoryitem2, div0, null);
			append(div20, t4);
			append(div20, div19);
			append(div19, div5);
			append(div5, div2);
			mount_component(inventorybutton0, div2, null);
			append(div5, t5);
			append(div5, div3);
			mount_component(inventorybutton1, div3, null);
			append(div5, t6);
			append(div5, div4);
			mount_component(inventorybutton2, div4, null);
			append(div19, t7);
			append(div19, div15);
			append(div15, div6);
			mount_component(inventorybutton3, div6, null);
			append(div15, t8);
			append(div15, div7);
			mount_component(inventorybutton4, div7, null);
			append(div15, t9);
			append(div15, div8);
			mount_component(inventorybutton5, div8, null);
			append(div15, t10);
			append(div15, div9);
			mount_component(inventorybutton6, div9, null);
			append(div15, t11);
			append(div15, div10);
			mount_component(inventorybutton7, div10, null);
			append(div15, t12);
			append(div15, div11);
			mount_component(inventorybutton8, div11, null);
			append(div15, t13);
			append(div15, div12);
			mount_component(inventorybutton9, div12, null);
			append(div15, t14);
			append(div15, div13);
			mount_component(inventorybutton10, div13, null);
			append(div15, t15);
			append(div15, div14);
			mount_component(inventorybutton11, div14, null);
			append(div19, t16);
			append(div19, div18);
			append(div18, div16);
			mount_component(inventorybutton12, div16, null);
			append(div18, t17);
			append(div18, div17);
			mount_component(inventorybutton13, div17, null);
			current = true;

			if (!mounted) {
				dispose = listen(img, "error", /*handleError*/ ctx[4]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (!current || dirty & /*$additionalInfo*/ 8 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/assets/images/inventory/skins/512/${/*$additionalInfo*/ ctx[3].skin.model}.webp`)) {
				attr(img, "src", img_src_value);
			}

			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if (~current_block_type_index) {
					if_blocks[current_block_type_index].p(ctx, dirty);
				}
			} else {
				if (if_block) {
					group_outros();

					transition_out(if_blocks[previous_block_index], 1, 1, () => {
						if_blocks[previous_block_index] = null;
					});

					check_outros();
				}

				if (~current_block_type_index) {
					if_block = if_blocks[current_block_type_index];

					if (!if_block) {
						if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
						if_block.c();
					} else {
						if_block.p(ctx, dirty);
					}

					transition_in(if_block, 1);
					if_block.m(div1, t1);
				} else {
					if_block = null;
				}
			}

			const inventoryitem0_changes = {};
			if (dirty & /*$inventories*/ 4) inventoryitem0_changes.item = /*$inventories*/ ctx[2][BLOCK_TYPE.BLOCK_TYPE_SKIN][0];
			inventoryitem0.$set(inventoryitem0_changes);
			const inventoryitem1_changes = {};
			if (dirty & /*$inventories*/ 4) inventoryitem1_changes.item = /*$inventories*/ ctx[2][BLOCK_TYPE.BLOCK_TYPE_IMPROV][0];
			inventoryitem1.$set(inventoryitem1_changes);
			const inventoryitem2_changes = {};
			if (dirty & /*$inventories*/ 4) inventoryitem2_changes.item = /*$inventories*/ ctx[2][BLOCK_TYPE.BLOCK_TYPE_IMPROV][1];
			inventoryitem2.$set(inventoryitem2_changes);
			const inventorybutton0_changes = {};
			if (dirty & /*$currentTab*/ 2) inventorybutton0_changes.active = /*$currentTab*/ ctx[1] === LoadoutTabs.Accessories;

			if (dirty & /*$currentTab*/ 2) inventorybutton0_changes.color = /*$currentTab*/ ctx[1] === LoadoutTabs.Accessories
			? ButtonColors.BlueRed
			: ButtonColors.WhiteGrey;

			if (dirty & /*$currentTab*/ 2) inventorybutton0_changes.onClick = /*func*/ ctx[11];
			inventorybutton0.$set(inventorybutton0_changes);
			const inventorybutton2_changes = {};

			if (dirty & /*$currentTab*/ 2) inventorybutton2_changes.color = /*$currentTab*/ ctx[1] === LoadoutTabs.Improvements
			? ButtonColors.BlueRed
			: ButtonColors.WhiteGrey;

			if (dirty & /*$currentTab*/ 2) inventorybutton2_changes.active = /*$currentTab*/ ctx[1] === LoadoutTabs.Improvements;
			if (dirty & /*$currentTab*/ 2) inventorybutton2_changes.onClick = /*func_2*/ ctx[13];
			inventorybutton2.$set(inventorybutton2_changes);
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			transition_in(inventoryitem0.$$.fragment, local);
			transition_in(inventoryitem1.$$.fragment, local);
			transition_in(inventoryitem2.$$.fragment, local);
			transition_in(inventorybutton0.$$.fragment, local);
			transition_in(inventorybutton1.$$.fragment, local);
			transition_in(inventorybutton2.$$.fragment, local);
			transition_in(inventorybutton3.$$.fragment, local);
			transition_in(inventorybutton4.$$.fragment, local);
			transition_in(inventorybutton5.$$.fragment, local);
			transition_in(inventorybutton6.$$.fragment, local);
			transition_in(inventorybutton7.$$.fragment, local);
			transition_in(inventorybutton8.$$.fragment, local);
			transition_in(inventorybutton9.$$.fragment, local);
			transition_in(inventorybutton10.$$.fragment, local);
			transition_in(inventorybutton11.$$.fragment, local);
			transition_in(inventorybutton12.$$.fragment, local);
			transition_in(inventorybutton13.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			transition_out(inventoryitem0.$$.fragment, local);
			transition_out(inventoryitem1.$$.fragment, local);
			transition_out(inventoryitem2.$$.fragment, local);
			transition_out(inventorybutton0.$$.fragment, local);
			transition_out(inventorybutton1.$$.fragment, local);
			transition_out(inventorybutton2.$$.fragment, local);
			transition_out(inventorybutton3.$$.fragment, local);
			transition_out(inventorybutton4.$$.fragment, local);
			transition_out(inventorybutton5.$$.fragment, local);
			transition_out(inventorybutton6.$$.fragment, local);
			transition_out(inventorybutton7.$$.fragment, local);
			transition_out(inventorybutton8.$$.fragment, local);
			transition_out(inventorybutton9.$$.fragment, local);
			transition_out(inventorybutton10.$$.fragment, local);
			transition_out(inventorybutton11.$$.fragment, local);
			transition_out(inventorybutton12.$$.fragment, local);
			transition_out(inventorybutton13.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div20);
			/*img_binding*/ ctx[10](null);

			if (~current_block_type_index) {
				if_blocks[current_block_type_index].d();
			}

			destroy_component(inventoryitem0);
			destroy_component(inventoryitem1);
			destroy_component(inventoryitem2);
			destroy_component(inventorybutton0);
			destroy_component(inventorybutton1);
			destroy_component(inventorybutton2);
			destroy_component(inventorybutton3);
			destroy_component(inventorybutton4);
			destroy_component(inventorybutton5);
			destroy_component(inventorybutton6);
			destroy_component(inventorybutton7);
			destroy_component(inventorybutton8);
			destroy_component(inventorybutton9);
			destroy_component(inventorybutton10);
			destroy_component(inventorybutton11);
			destroy_component(inventorybutton12);
			destroy_component(inventorybutton13);
			mounted = false;
			dispose();
		}
	};
}

// (164:63) 
function components_main_index_svelte_create_if_block_2(ctx) {
	let div;
	let inventorygrid;
	let current;

	inventorygrid = new inventory_grid_index_svelte({
			props: {
				items: /*$inventories*/ ctx[2][BLOCK_TYPE.BLOCK_TYPE_IMPROV_GUN],
				slotsCount: /*$inventories*/ ctx[2][BLOCK_TYPE.BLOCK_TYPE_IMPROV_GUN].length,
				inventoryId: BLOCK_TYPE.BLOCK_TYPE_IMPROV_GUN,
				columnsCount: 3,
				fillWholeColumn: true,
				showSlotsIndex: false
			}
		});

	return {
		c() {
			div = internal_element("div");
			create_component(inventorygrid.$$.fragment);
			attr(div, "class", "character-main__loadout-improvements");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(inventorygrid, div, null);
			current = true;
		},
		p(ctx, dirty) {
			const inventorygrid_changes = {};
			if (dirty & /*$inventories*/ 4) inventorygrid_changes.items = /*$inventories*/ ctx[2][BLOCK_TYPE.BLOCK_TYPE_IMPROV_GUN];
			if (dirty & /*$inventories*/ 4) inventorygrid_changes.slotsCount = /*$inventories*/ ctx[2][BLOCK_TYPE.BLOCK_TYPE_IMPROV_GUN].length;
			inventorygrid.$set(inventorygrid_changes);
		},
		i(local) {
			if (current) return;
			transition_in(inventorygrid.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(inventorygrid.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(inventorygrid);
		}
	};
}

// (153:12) {#if $currentTab === LoadoutTabs.Accessories}
function character_components_main_index_svelte_create_if_block_1(ctx) {
	let div;
	let inventorygrid;
	let current;

	inventorygrid = new inventory_grid_index_svelte({
			props: {
				items: /*$inventories*/ ctx[2][BLOCK_TYPE.BLOCK_TYPE_ATTACH],
				slotsCount: 6,
				inventoryId: BLOCK_TYPE.BLOCK_TYPE_ATTACH,
				columnsCount: 3,
				fillWholeColumn: true,
				showSlotsIndex: true
			}
		});

	return {
		c() {
			div = internal_element("div");
			create_component(inventorygrid.$$.fragment);
			attr(div, "class", "character-main__loadout-accessories");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(inventorygrid, div, null);
			current = true;
		},
		p(ctx, dirty) {
			const inventorygrid_changes = {};
			if (dirty & /*$inventories*/ 4) inventorygrid_changes.items = /*$inventories*/ ctx[2][BLOCK_TYPE.BLOCK_TYPE_ATTACH];
			inventorygrid.$set(inventorygrid_changes);
		},
		i(local) {
			if (current) return;
			transition_in(inventorygrid.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(inventorygrid.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(inventorygrid);
		}
	};
}

function character_components_main_index_svelte_create_fragment(ctx) {
	let show_if = !(0,lodash.isNil)(/*$additionalInfo*/ ctx[3].skin);
	let if_block_anchor;
	let current;
	let mounted;
	let dispose;
	let if_block = show_if && character_components_main_index_svelte_create_if_block(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
			current = true;

			if (!mounted) {
				dispose = listen(window, "mouseup", /*clearHighlight*/ ctx[5]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*$additionalInfo*/ 8) show_if = !(0,lodash.isNil)(/*$additionalInfo*/ ctx[3].skin);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*$additionalInfo*/ 8) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = character_components_main_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
			mounted = false;
			dispose();
		}
	};
}

function character_components_main_index_svelte_instance($$self, $$props, $$invalidate) {
	let $currentTab;
	let $inventoryCurrentItem;
	let $infoData;
	let $inventories;
	let $additionalInfo;
	component_subscribe($$self, currentTab, $$value => $$invalidate(1, $currentTab = $$value));
	component_subscribe($$self, inventoryCurrentItem, $$value => $$invalidate(8, $inventoryCurrentItem = $$value));
	component_subscribe($$self, infoData, $$value => $$invalidate(9, $infoData = $$value));
	component_subscribe($$self, inventories, $$value => $$invalidate(2, $inventories = $$value));
	component_subscribe($$self, additionalInfo, $$value => $$invalidate(3, $additionalInfo = $$value));

	let { resetSlotsState = () => {
		
	} } = $$props;

	let highlightedSlotRout = [];
	let imageNode = null;
	let highlightActive = false;

	const handleError = () => {
		if (!(0,lodash.isNil)(imageNode)) {
			$$invalidate(0, imageNode.src = `${cdn_CDN_URL_RODINA}/assets/images/inventory/skins/512/1-noneskins.webp`, imageNode);
		}
	};

	// на случай, если скин или мод скина не придут
	// if (isNil($inventories[BLOCK_TYPE.BLOCK_TYPE_MOD_SKIN])) {
	//     $inventories[BLOCK_TYPE.BLOCK_TYPE_MOD_SKIN] = [];
	//     $inventories[BLOCK_TYPE.BLOCK_TYPE_MOD_SKIN][0] = { slot: 0 };
	// }
	if ((0,lodash.isNil)($inventories[BLOCK_TYPE.BLOCK_TYPE_SKIN])) {
		set_store_value(inventories, $inventories[BLOCK_TYPE.BLOCK_TYPE_SKIN] = [], $inventories);
		set_store_value(inventories, $inventories[BLOCK_TYPE.BLOCK_TYPE_SKIN][0] = { slot: 0 }, $inventories);
	}

	const clearHighlight = () => {
		if ((0,lodash.isNil)($inventories[highlightedSlotRout[0]])) {
			return;
		}

		$inventories[highlightedSlotRout[0]].forEach((item, index) => {
			set_store_value(inventories, $inventories[highlightedSlotRout[0]][index].highlight = false, $inventories);
		});

		$$invalidate(7, highlightActive = false);
	};

	const setHighlight = () => {
		if ((0,lodash.isEmpty)($inventoryCurrentItem)) {
			return;
		}

		if ($inventoryCurrentItem.inventoryId !== BLOCK_TYPE.BLOCK_TYPE_MENU) {
			return;
		}

		switch ($inventoryCurrentItem.item.item_type) {
			case ITEM_TYPES.ITEM_TYPE_ACCESSORIES:
				set_store_value(currentTab, $currentTab = LoadoutTabs.Accessories, $currentTab);
				if ($inventoryCurrentItem.item.acs_slot === -1) {
					$inventories[BLOCK_TYPE.BLOCK_TYPE_ATTACH].forEach((actorAttachItem, index) => {
						highlightedSlotRout = [BLOCK_TYPE.BLOCK_TYPE_ATTACH];
						set_store_value(inventories, $inventories[BLOCK_TYPE.BLOCK_TYPE_ATTACH][index].highlight = true, $inventories);
					});
				} else {
					highlightedSlotRout = [BLOCK_TYPE.BLOCK_TYPE_ATTACH];
					set_store_value(inventories, $inventories[BLOCK_TYPE.BLOCK_TYPE_ATTACH][$inventoryCurrentItem.item.acs_slot].highlight = true, $inventories);
				}
				break;
			case ITEM_TYPES.ITEM_TYPE_IMPROV:
				highlightedSlotRout = [BLOCK_TYPE.BLOCK_TYPE_IMPROV];
				set_store_value(inventories, $inventories[BLOCK_TYPE.BLOCK_TYPE_IMPROV][$inventoryCurrentItem.item.acs_slot].highlight = true, $inventories);
				break;
			case ITEM_TYPES.ITEM_TYPE_SKIN:
				// case ITEM_TYPES.ITEM_TYPE_MOD_SKIN:
				//     if (!isNil($inventories[BLOCK_TYPE.BLOCK_TYPE_MOD_SKIN][$inventoryCurrentItem.item.acs_slot].item)) {
				//         highlightedSlotRout = [BLOCK_TYPE.BLOCK_TYPE_MOD_SKIN];
				//         $inventories[BLOCK_TYPE.BLOCK_TYPE_MOD_SKIN][$inventoryCurrentItem.item.acs_slot].highlight = true;
				//         return;
				//     }
				highlightedSlotRout = [BLOCK_TYPE.BLOCK_TYPE_SKIN];
				if ($inventories[BLOCK_TYPE.BLOCK_TYPE_SKIN][$inventoryCurrentItem.item.acs_slot]) {
					set_store_value(inventories, $inventories[BLOCK_TYPE.BLOCK_TYPE_SKIN][$inventoryCurrentItem.item.acs_slot].highlight = true, $inventories);
				}
				break;
			case ITEM_TYPES.ITEM_TYPE_IMPROV_GUN:
			case ITEM_TYPES.ITEM_TYPE_CROSSHAIR:
			case ITEM_TYPES.ITEM_TYPE_INCREASED_MAGAZINE:
				set_store_value(currentTab, $currentTab = LoadoutTabs.Improvements, $currentTab);
				$inventories[BLOCK_TYPE.BLOCK_TYPE_IMPROV_GUN].some((gunImproveItem, index) => {
					highlightedSlotRout = [BLOCK_TYPE.BLOCK_TYPE_IMPROV_GUN, index];

					if ((0,lodash.isNil)(gunImproveItem.item)) {
						set_store_value(inventories, $inventories[BLOCK_TYPE.BLOCK_TYPE_IMPROV_GUN][index].highlight = true, $inventories);
						return true;
					}

					return false;
				});
				break;
			default:
				break;
		}
	};

	onDestroy(() => {
		resetSlotsState(BLOCK_TYPE.BLOCK_TYPE_IMPROV);
		resetSlotsState(BLOCK_TYPE.BLOCK_TYPE_SKIN);

		// resetSlotsState(BLOCK_TYPE.BLOCK_TYPE_MOD_SKIN);
		clearHighlight();

		set_store_value(currentTab, $currentTab = LoadoutTabs.Accessories, $currentTab);
	});

	function img_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			imageNode = $$value;
			$$invalidate(0, imageNode);
		});
	}

	const func = () => {
		set_store_value(currentTab, $currentTab = LoadoutTabs.Accessories, $currentTab);
	};

	const func_1 = () => sendClientMessage('inventory.openDocuments');

	const func_2 = () => {
		set_store_value(currentTab, $currentTab = LoadoutTabs.Improvements, $currentTab);
	};

	const func_3 = () => sendClientMessage('inventory.openMenu');
	const func_4 = () => sendClientMessage('inventory.openHouse');
	const func_5 = () => sendClientMessage('inventory.openVehicle');
	const func_6 = () => sendClientMessage('inventory.openBusiness');
	const func_7 = () => sendClientMessage('inventory.openFamily');
	const func_8 = () => sendClientMessage('inventory.openDonat');
	const func_9 = () => sendClientMessage('inventory.openQuests');
	const func_10 = () => sendClientMessage('inventory.openAchivments');
	const func_11 = () => sendClientMessage('inventory.openSettings');
	const func_12 = () => sendClientMessage('inventory.openHelp');
	const func_13 = () => sendClientMessage('inventory.openGPS');

	$$self.$$set = $$props => {
		if ('resetSlotsState' in $$props) $$invalidate(6, resetSlotsState = $$props.resetSlotsState);
	};

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*$inventoryCurrentItem, $infoData, highlightActive*/ 896) {
			$: {
				if ((0,lodash.isEmpty)($inventoryCurrentItem)) {
					clearHighlight();
				}

				if (!(0,lodash.isEmpty)($infoData) && $inventoryCurrentItem.status === DndStatuses.ContextMenuInteraction) {
					setHighlight();
				}

				if (!(0,lodash.isEmpty)($inventoryCurrentItem) && ($inventoryCurrentItem.status === DndStatuses.Drag || $inventoryCurrentItem.status === DndStatuses.Selected) && !highlightActive) {
					$$invalidate(7, highlightActive = true);
					setHighlight();
				}
			}
		}
	};

	return [
		imageNode,
		$currentTab,
		$inventories,
		$additionalInfo,
		handleError,
		clearHighlight,
		resetSlotsState,
		highlightActive,
		$inventoryCurrentItem,
		$infoData,
		img_binding,
		func,
		func_1,
		func_2,
		func_3,
		func_4,
		func_5,
		func_6,
		func_7,
		func_8,
		func_9,
		func_10,
		func_11,
		func_12,
		func_13
	];
}

class components_main_index_svelte_Main extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, character_components_main_index_svelte_instance, character_components_main_index_svelte_create_fragment, safe_not_equal, { resetSlotsState: 6 });
	}
}

/* harmony default export */ const character_components_main_index_svelte = (components_main_index_svelte_Main);
;// CONCATENATED MODULE: ./src/views/inventory/components/character/components/guard/index.svelte
/* src\views\inventory\components\character\components\guard\index.svelte generated by Svelte v3.49.0 */















function guard_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[22] = list[i];
	child_ctx[24] = i;
	return child_ctx;
}

// (124:0) {#if isArray($securityAdditionalInfo)}
function guard_index_svelte_create_if_block(ctx) {
	let div33;
	let div29;
	let div0;
	let t0;
	let div8;
	let div5;
	let div1;
	let t1;
	let div2;
	let t2_value = /*$securityAdditionalInfo*/ ctx[4][/*selectedGuardSlot*/ ctx[0]].quality + "";
	let t2;
	let t3;
	let img;
	let img_src_value;
	let t4;
	let div3;
	let t5_value = `${/*$securityAdditionalInfo*/ ctx[4][/*selectedGuardSlot*/ ctx[0]].level} Уровень` + "";
	let t5;
	let t6;
	let div4;
	let t7_value = /*$securityAdditionalInfo*/ ctx[4][/*selectedGuardSlot*/ ctx[0]].exp + "";
	let t7;
	let t8;
	let t9_value = /*$securityAdditionalInfo*/ ctx[4][/*selectedGuardSlot*/ ctx[0]].max_exp + "";
	let t9;
	let t10;
	let div6;
	let inventorygrid;
	let t11;
	let div7;
	let show_if_1 = !(0,lodash.isNil)(/*$inventories*/ ctx[3][BLOCK_TYPE.BLOCK_TYPE_ACTOR_WEAPON]);
	let t12;
	let div26;
	let div25;
	let div12;
	let div10;
	let t15;
	let div11;
	let t16_value = /*$securityAdditionalInfo*/ ctx[4][/*selectedGuardSlot*/ ctx[0]].health + "";
	let t16;
	let t17;
	let div16;
	let div14;
	let t20;
	let div15;
	let t21_value = /*$securityAdditionalInfo*/ ctx[4][/*selectedGuardSlot*/ ctx[0]].defence + "";
	let t21;
	let t22;
	let div20;
	let div18;
	let t25;
	let div19;
	let t26_value = /*$securityAdditionalInfo*/ ctx[4][/*selectedGuardSlot*/ ctx[0]].satiety + "";
	let t26;
	let t27;
	let div24;
	let div22;
	let t30;
	let div23;
	let t31_value = /*$securityAdditionalInfo*/ ctx[4][/*selectedGuardSlot*/ ctx[0]].damage + "";
	let t31;
	let t32;
	let div28;
	let div27;
	let t34;
	let div30;
	let t36;
	let div31;
	let show_if = !(0,lodash.isNil)(/*$inventories*/ ctx[3][BLOCK_TYPE.BLOCK_TYPE_ACTOR_INVENTORY]);
	let t37;
	let div32;
	let current;
	let mounted;
	let dispose;

	inventorygrid = new inventory_grid_index_svelte({
			props: {
				items: /*$inventories*/ ctx[3][BLOCK_TYPE.BLOCK_TYPE_ACTOR_ATTACH][/*$selectedGuardId*/ ctx[2]],
				slotsCount: /*$inventories*/ ctx[3][BLOCK_TYPE.BLOCK_TYPE_ACTOR_ATTACH][/*$selectedGuardId*/ ctx[2]].length,
				inventoryId: BLOCK_TYPE.BLOCK_TYPE_ACTOR_ATTACH,
				columnsCount: 2,
				disableAllItems: !/*$securityAdditionalInfo*/ ctx[4][/*selectedGuardSlot*/ ctx[0]].spawned,
				fillWholeColumn: true,
				showSlotsIndex: true
			}
		});

	let if_block0 = show_if_1 && guard_index_svelte_create_if_block_5(ctx);
	let if_block1 = show_if && guard_index_svelte_create_if_block_4(ctx);
	let each_value = /*$securityAdditionalInfo*/ ctx[4];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = guard_index_svelte_create_each_block(guard_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div33 = internal_element("div");
			div29 = internal_element("div");
			div0 = internal_element("div");
			t0 = space();
			div8 = internal_element("div");
			div5 = internal_element("div");
			div1 = internal_element("div");
			t1 = space();
			div2 = internal_element("div");
			t2 = internal_text(t2_value);
			t3 = space();
			img = internal_element("img");
			t4 = space();
			div3 = internal_element("div");
			t5 = internal_text(t5_value);
			t6 = space();
			div4 = internal_element("div");
			t7 = internal_text(t7_value);
			t8 = internal_text(" / ");
			t9 = internal_text(t9_value);
			t10 = space();
			div6 = internal_element("div");
			create_component(inventorygrid.$$.fragment);
			t11 = space();
			div7 = internal_element("div");
			if (if_block0) if_block0.c();
			t12 = space();
			div26 = internal_element("div");
			div25 = internal_element("div");
			div12 = internal_element("div");
			div10 = internal_element("div");

			div10.innerHTML = `<i class="character-guard__stat-icon character-guard__stat-icon--health icon-hp"></i> 
                            <div class="character-guard__stat-caption">Здоровье</div>`;

			t15 = space();
			div11 = internal_element("div");
			t16 = internal_text(t16_value);
			t17 = space();
			div16 = internal_element("div");
			div14 = internal_element("div");

			div14.innerHTML = `<i class="character-guard__stat-icon character-guard__stat-icon--armor icon-ar"></i> 
                            <div class="character-guard__stat-caption">Защита</div>`;

			t20 = space();
			div15 = internal_element("div");
			t21 = internal_text(t21_value);
			t22 = space();
			div20 = internal_element("div");
			div18 = internal_element("div");

			div18.innerHTML = `<i class="character-guard__stat-icon character-guard__stat-icon--satiety icon-satiety"></i> 
                            <div class="character-guard__stat-caption">Сытость</div>`;

			t25 = space();
			div19 = internal_element("div");
			t26 = internal_text(t26_value);
			t27 = space();
			div24 = internal_element("div");
			div22 = internal_element("div");

			div22.innerHTML = `<i class="character-guard__stat-icon character-guard__stat-icon--damage icon-weapon"></i> 
                            <div class="character-guard__stat-caption">Урон</div>`;

			t30 = space();
			div23 = internal_element("div");
			t31 = internal_text(t31_value);
			t32 = space();
			div28 = internal_element("div");
			div27 = internal_element("div");
			div27.textContent = "Меню";
			t34 = space();
			div30 = internal_element("div");
			div30.textContent = "Инвентарь";
			t36 = space();
			div31 = internal_element("div");
			if (if_block1) if_block1.c();
			t37 = space();
			div32 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div0, "class", "character-guard__gradient");
			attr(div1, "class", "character-guard__overlay");
			attr(div2, "class", "character-guard__loadout-rarity");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/assets/images/inventory/skins/512/${/*$securityAdditionalInfo*/ ctx[4][/*selectedGuardSlot*/ ctx[0]].skin}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "skin");
			attr(img, "class", "character-guard__loadout-image");
			attr(div3, "class", "character-guard__loadout-level");
			attr(div4, "class", "character-guard__loadout-exp");
			attr(div5, "class", "character-guard__loadout-image-wrapper");
			set_style(div5, "--rarity-color", intToRGBA(/*$securityAdditionalInfo*/ ctx[4][/*selectedGuardSlot*/ ctx[0]].skin_background));
			attr(div6, "class", "character-guard__loadout-accessories");
			attr(div7, "class", "character-guard__loadout-weapon");
			attr(div8, "class", "character-guard__loadout");
			attr(div10, "class", "character-guard__stat-caption-wrapper");
			attr(div11, "class", "character-guard__stat-value");
			attr(div12, "class", "character-guard__stat");
			attr(div14, "class", "character-guard__stat-caption-wrapper");
			attr(div15, "class", "character-guard__stat-value");
			attr(div16, "class", "character-guard__stat");
			attr(div18, "class", "character-guard__stat-caption-wrapper");
			attr(div19, "class", "character-guard__stat-value");
			attr(div20, "class", "character-guard__stat");
			attr(div22, "class", "character-guard__stat-caption-wrapper");
			attr(div23, "class", "character-guard__stat-value");
			attr(div24, "class", "character-guard__stat");
			attr(div25, "class", "character-guard__stats");
			attr(div26, "class", "character-guard__stats-wrapper");
			attr(div27, "class", "character-guard__menu-button");
			attr(div28, "class", "character-guard__menu-button-wrapper");
			attr(div29, "class", "character-guard__loadout-wrapper");
			attr(div30, "class", "character-guard__inventory-caption");
			attr(div31, "class", "character-guard__inventory");
			attr(div32, "class", "character-guard__tabs");
			set_style(div32, "--securityCount", /*$securityAdditionalInfo*/ ctx[4].filter(/*func*/ ctx[18]).length);
			attr(div33, "class", "character-guard");
		},
		m(target, anchor) {
			insert(target, div33, anchor);
			append(div33, div29);
			append(div29, div0);
			append(div29, t0);
			append(div29, div8);
			append(div8, div5);
			append(div5, div1);
			append(div5, t1);
			append(div5, div2);
			append(div2, t2);
			append(div5, t3);
			append(div5, img);
			/*img_binding*/ ctx[15](img);
			append(div5, t4);
			append(div5, div3);
			append(div3, t5);
			append(div5, t6);
			append(div5, div4);
			append(div4, t7);
			append(div4, t8);
			append(div4, t9);
			append(div8, t10);
			append(div8, div6);
			mount_component(inventorygrid, div6, null);
			append(div8, t11);
			append(div8, div7);
			if (if_block0) if_block0.m(div7, null);
			append(div29, t12);
			append(div29, div26);
			append(div26, div25);
			append(div25, div12);
			append(div12, div10);
			append(div12, t15);
			append(div12, div11);
			append(div11, t16);
			append(div25, t17);
			append(div25, div16);
			append(div16, div14);
			append(div16, t20);
			append(div16, div15);
			append(div15, t21);
			append(div25, t22);
			append(div25, div20);
			append(div20, div18);
			append(div20, t25);
			append(div20, div19);
			append(div19, t26);
			append(div25, t27);
			append(div25, div24);
			append(div24, div22);
			append(div24, t30);
			append(div24, div23);
			append(div23, t31);
			append(div29, t32);
			append(div29, div28);
			append(div28, div27);
			append(div33, t34);
			append(div33, div30);
			append(div33, t36);
			append(div33, div31);
			if (if_block1) if_block1.m(div31, null);
			append(div33, t37);
			append(div33, div32);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div32, null);
			}

			current = true;

			if (!mounted) {
				dispose = [
					listen(img, "error", /*handleError*/ ctx[5]),
					listen(div5, "mouseenter", /*onHovered*/ ctx[7]),
					listen(div5, "mouseleave", /*onHoverOut*/ ctx[8]),
					listen(div5, "click", /*showSecurityInfo*/ ctx[10]),
					listen(div27, "click", /*click_handler*/ ctx[16])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if ((!current || dirty & /*$securityAdditionalInfo, selectedGuardSlot*/ 17) && t2_value !== (t2_value = /*$securityAdditionalInfo*/ ctx[4][/*selectedGuardSlot*/ ctx[0]].quality + "")) set_data(t2, t2_value);

			if (!current || dirty & /*$securityAdditionalInfo, selectedGuardSlot*/ 17 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/assets/images/inventory/skins/512/${/*$securityAdditionalInfo*/ ctx[4][/*selectedGuardSlot*/ ctx[0]].skin}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if ((!current || dirty & /*$securityAdditionalInfo, selectedGuardSlot*/ 17) && t5_value !== (t5_value = `${/*$securityAdditionalInfo*/ ctx[4][/*selectedGuardSlot*/ ctx[0]].level} Уровень` + "")) set_data(t5, t5_value);
			if ((!current || dirty & /*$securityAdditionalInfo, selectedGuardSlot*/ 17) && t7_value !== (t7_value = /*$securityAdditionalInfo*/ ctx[4][/*selectedGuardSlot*/ ctx[0]].exp + "")) set_data(t7, t7_value);
			if ((!current || dirty & /*$securityAdditionalInfo, selectedGuardSlot*/ 17) && t9_value !== (t9_value = /*$securityAdditionalInfo*/ ctx[4][/*selectedGuardSlot*/ ctx[0]].max_exp + "")) set_data(t9, t9_value);

			if (!current || dirty & /*$securityAdditionalInfo, selectedGuardSlot*/ 17) {
				set_style(div5, "--rarity-color", intToRGBA(/*$securityAdditionalInfo*/ ctx[4][/*selectedGuardSlot*/ ctx[0]].skin_background));
			}

			const inventorygrid_changes = {};
			if (dirty & /*$inventories, $selectedGuardId*/ 12) inventorygrid_changes.items = /*$inventories*/ ctx[3][BLOCK_TYPE.BLOCK_TYPE_ACTOR_ATTACH][/*$selectedGuardId*/ ctx[2]];
			if (dirty & /*$inventories, $selectedGuardId*/ 12) inventorygrid_changes.slotsCount = /*$inventories*/ ctx[3][BLOCK_TYPE.BLOCK_TYPE_ACTOR_ATTACH][/*$selectedGuardId*/ ctx[2]].length;
			if (dirty & /*$securityAdditionalInfo, selectedGuardSlot*/ 17) inventorygrid_changes.disableAllItems = !/*$securityAdditionalInfo*/ ctx[4][/*selectedGuardSlot*/ ctx[0]].spawned;
			inventorygrid.$set(inventorygrid_changes);
			if (dirty & /*$inventories*/ 8) show_if_1 = !(0,lodash.isNil)(/*$inventories*/ ctx[3][BLOCK_TYPE.BLOCK_TYPE_ACTOR_WEAPON]);

			if (show_if_1) {
				if (if_block0) {
					if_block0.p(ctx, dirty);

					if (dirty & /*$inventories*/ 8) {
						transition_in(if_block0, 1);
					}
				} else {
					if_block0 = guard_index_svelte_create_if_block_5(ctx);
					if_block0.c();
					transition_in(if_block0, 1);
					if_block0.m(div7, null);
				}
			} else if (if_block0) {
				group_outros();

				transition_out(if_block0, 1, 1, () => {
					if_block0 = null;
				});

				check_outros();
			}

			if ((!current || dirty & /*$securityAdditionalInfo, selectedGuardSlot*/ 17) && t16_value !== (t16_value = /*$securityAdditionalInfo*/ ctx[4][/*selectedGuardSlot*/ ctx[0]].health + "")) set_data(t16, t16_value);
			if ((!current || dirty & /*$securityAdditionalInfo, selectedGuardSlot*/ 17) && t21_value !== (t21_value = /*$securityAdditionalInfo*/ ctx[4][/*selectedGuardSlot*/ ctx[0]].defence + "")) set_data(t21, t21_value);
			if ((!current || dirty & /*$securityAdditionalInfo, selectedGuardSlot*/ 17) && t26_value !== (t26_value = /*$securityAdditionalInfo*/ ctx[4][/*selectedGuardSlot*/ ctx[0]].satiety + "")) set_data(t26, t26_value);
			if ((!current || dirty & /*$securityAdditionalInfo, selectedGuardSlot*/ 17) && t31_value !== (t31_value = /*$securityAdditionalInfo*/ ctx[4][/*selectedGuardSlot*/ ctx[0]].damage + "")) set_data(t31, t31_value);
			if (dirty & /*$inventories*/ 8) show_if = !(0,lodash.isNil)(/*$inventories*/ ctx[3][BLOCK_TYPE.BLOCK_TYPE_ACTOR_INVENTORY]);

			if (show_if) {
				if (if_block1) {
					if_block1.p(ctx, dirty);

					if (dirty & /*$inventories*/ 8) {
						transition_in(if_block1, 1);
					}
				} else {
					if_block1 = guard_index_svelte_create_if_block_4(ctx);
					if_block1.c();
					transition_in(if_block1, 1);
					if_block1.m(div31, null);
				}
			} else if (if_block1) {
				group_outros();

				transition_out(if_block1, 1, 1, () => {
					if_block1 = null;
				});

				check_outros();
			}

			if (dirty & /*$selectedGuardId, $securityAdditionalInfo, intToRGBA, selectGuard, isNil*/ 84) {
				each_value = /*$securityAdditionalInfo*/ ctx[4];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = guard_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = guard_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div32, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if (!current || dirty & /*$securityAdditionalInfo*/ 16) {
				set_style(div32, "--securityCount", /*$securityAdditionalInfo*/ ctx[4].filter(/*func*/ ctx[18]).length);
			}
		},
		i(local) {
			if (current) return;
			transition_in(inventorygrid.$$.fragment, local);
			transition_in(if_block0);
			transition_in(if_block1);
			current = true;
		},
		o(local) {
			transition_out(inventorygrid.$$.fragment, local);
			transition_out(if_block0);
			transition_out(if_block1);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div33);
			/*img_binding*/ ctx[15](null);
			destroy_component(inventorygrid);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			destroy_each(each_blocks, detaching);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (160:20) {#if !isNil($inventories[BLOCK_TYPE.BLOCK_TYPE_ACTOR_WEAPON])}
function guard_index_svelte_create_if_block_5(ctx) {
	let inventoryitem;
	let current;

	inventoryitem = new inventory_item_index_svelte({
			props: {
				item: /*$inventories*/ ctx[3][BLOCK_TYPE.BLOCK_TYPE_ACTOR_WEAPON][/*$selectedGuardId*/ ctx[2]][0],
				slotId: 0,
				inventoryId: BLOCK_TYPE.BLOCK_TYPE_ACTOR_WEAPON,
				placeholderText: 'Оружие',
				placeholderIcon: 'weapon'
			}
		});

	return {
		c() {
			create_component(inventoryitem.$$.fragment);
		},
		m(target, anchor) {
			mount_component(inventoryitem, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const inventoryitem_changes = {};
			if (dirty & /*$inventories, $selectedGuardId*/ 12) inventoryitem_changes.item = /*$inventories*/ ctx[3][BLOCK_TYPE.BLOCK_TYPE_ACTOR_WEAPON][/*$selectedGuardId*/ ctx[2]][0];
			inventoryitem.$set(inventoryitem_changes);
		},
		i(local) {
			if (current) return;
			transition_in(inventoryitem.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(inventoryitem.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(inventoryitem, detaching);
		}
	};
}

// (209:12) {#if !isNil($inventories[BLOCK_TYPE.BLOCK_TYPE_ACTOR_INVENTORY])}
function guard_index_svelte_create_if_block_4(ctx) {
	let inventorygrid;
	let current;

	inventorygrid = new inventory_grid_index_svelte({
			props: {
				items: /*$inventories*/ ctx[3][BLOCK_TYPE.BLOCK_TYPE_ACTOR_INVENTORY][/*$selectedGuardId*/ ctx[2]],
				slotsCount: /*$inventories*/ ctx[3][BLOCK_TYPE.BLOCK_TYPE_ACTOR_INVENTORY][/*$selectedGuardId*/ ctx[2]].length,
				inventoryId: BLOCK_TYPE.BLOCK_TYPE_ACTOR_INVENTORY,
				columnsCount: 5,
				disableAllItems: !/*$securityAdditionalInfo*/ ctx[4][/*selectedGuardSlot*/ ctx[0]].spawned,
				fillWholeColumn: true,
				showSlotsIndex: false
			}
		});

	return {
		c() {
			create_component(inventorygrid.$$.fragment);
		},
		m(target, anchor) {
			mount_component(inventorygrid, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const inventorygrid_changes = {};
			if (dirty & /*$inventories, $selectedGuardId*/ 12) inventorygrid_changes.items = /*$inventories*/ ctx[3][BLOCK_TYPE.BLOCK_TYPE_ACTOR_INVENTORY][/*$selectedGuardId*/ ctx[2]];
			if (dirty & /*$inventories, $selectedGuardId*/ 12) inventorygrid_changes.slotsCount = /*$inventories*/ ctx[3][BLOCK_TYPE.BLOCK_TYPE_ACTOR_INVENTORY][/*$selectedGuardId*/ ctx[2]].length;
			if (dirty & /*$securityAdditionalInfo, selectedGuardSlot*/ 17) inventorygrid_changes.disableAllItems = !/*$securityAdditionalInfo*/ ctx[4][/*selectedGuardSlot*/ ctx[0]].spawned;
			inventorygrid.$set(inventorygrid_changes);
		},
		i(local) {
			if (current) return;
			transition_in(inventorygrid.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(inventorygrid.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(inventorygrid, detaching);
		}
	};
}

// (224:16) {#if !isNil(guard.id)}
function guard_index_svelte_create_if_block_1(ctx) {
	let div2;
	let div1;
	let div0;
	let t0_value = /*guard*/ ctx[22].name + "";
	let t0;
	let t1;
	let t2;
	let mounted;
	let dispose;

	function click_handler_1() {
		return /*click_handler_1*/ ctx[17](/*index*/ ctx[24]);
	}

	function select_block_type(ctx, dirty) {
		if (/*$securityAdditionalInfo*/ ctx[4][/*index*/ ctx[24]].died) return guard_index_svelte_create_if_block_2;
		if (/*$securityAdditionalInfo*/ ctx[4][/*index*/ ctx[24]].spawned) return guard_index_svelte_create_if_block_3;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block = current_block_type && current_block_type(ctx);

	return {
		c() {
			div2 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			if (if_block) if_block.c();
			t2 = space();
			attr(div0, "class", "character-guard__tab-caption");
			attr(div1, "class", "character-guard__tab");
			set_style(div1, "background-color", intToRGBA(/*guard*/ ctx[22].skin_background));
			toggle_class(div1, "character-guard__tab--active", /*$selectedGuardId*/ ctx[2] === /*guard*/ ctx[22].id);
			attr(div2, "class", "character-guard__tab-wrapper");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div1);
			append(div1, div0);
			append(div0, t0);
			append(div2, t1);
			if (if_block) if_block.m(div2, null);
			append(div2, t2);

			if (!mounted) {
				dispose = listen(div1, "click", click_handler_1);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if (dirty & /*$securityAdditionalInfo*/ 16 && t0_value !== (t0_value = /*guard*/ ctx[22].name + "")) set_data(t0, t0_value);

			if (dirty & /*$securityAdditionalInfo*/ 16) {
				set_style(div1, "background-color", intToRGBA(/*guard*/ ctx[22].skin_background));
			}

			if (dirty & /*$selectedGuardId, $securityAdditionalInfo*/ 20) {
				toggle_class(div1, "character-guard__tab--active", /*$selectedGuardId*/ ctx[2] === /*guard*/ ctx[22].id);
			}

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if (if_block) if_block.d(1);
				if_block = current_block_type && current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div2, t2);
				}
			}
		},
		d(detaching) {
			if (detaching) detach(div2);

			if (if_block) {
				if_block.d();
			}

			mounted = false;
			dispose();
		}
	};
}

// (236:73) 
function guard_index_svelte_create_if_block_3(ctx) {
	let span;

	return {
		c() {
			span = internal_element("span");
			attr(span, "class", "character-guard__tab-state character-guard__tab-state--spawned");
			toggle_class(span, "character-guard__tab-state--active", /*$selectedGuardId*/ ctx[2] === /*guard*/ ctx[22].id);
		},
		m(target, anchor) {
			insert(target, span, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*$selectedGuardId, $securityAdditionalInfo*/ 20) {
				toggle_class(span, "character-guard__tab-state--active", /*$selectedGuardId*/ ctx[2] === /*guard*/ ctx[22].id);
			}
		},
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

// (234:24) {#if $securityAdditionalInfo[index].died}
function guard_index_svelte_create_if_block_2(ctx) {
	let span;

	return {
		c() {
			span = internal_element("span");
			attr(span, "class", "character-guard__tab-state character-guard__tab-state--died");
			toggle_class(span, "character-guard__tab-state--active", /*$selectedGuardId*/ ctx[2] === /*guard*/ ctx[22].id);
		},
		m(target, anchor) {
			insert(target, span, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*$selectedGuardId, $securityAdditionalInfo*/ 20) {
				toggle_class(span, "character-guard__tab-state--active", /*$selectedGuardId*/ ctx[2] === /*guard*/ ctx[22].id);
			}
		},
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

// (223:12) {#each $securityAdditionalInfo as guard, index}
function guard_index_svelte_create_each_block(ctx) {
	let show_if = !(0,lodash.isNil)(/*guard*/ ctx[22].id);
	let if_block_anchor;
	let if_block = show_if && guard_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*$securityAdditionalInfo*/ 16) show_if = !(0,lodash.isNil)(/*guard*/ ctx[22].id);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = guard_index_svelte_create_if_block_1(ctx);
					if_block.c();
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

function guard_index_svelte_create_fragment(ctx) {
	let show_if = (0,lodash.isArray)(/*$securityAdditionalInfo*/ ctx[4]);
	let if_block_anchor;
	let current;
	let mounted;
	let dispose;
	let if_block = show_if && guard_index_svelte_create_if_block(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
			current = true;

			if (!mounted) {
				dispose = listen(window, "mouseup", /*clearHighlight*/ ctx[9]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*$securityAdditionalInfo*/ 16) show_if = (0,lodash.isArray)(/*$securityAdditionalInfo*/ ctx[4]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*$securityAdditionalInfo*/ 16) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = guard_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
			mounted = false;
			dispose();
		}
	};
}

function guard_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedGuardId;
	let $inventoryCurrentItem;
	let $infoData;
	let $inventories;
	let $securityHovered;
	let $securityAdditionalInfo;
	component_subscribe($$self, selectedGuardId, $$value => $$invalidate(2, $selectedGuardId = $$value));
	component_subscribe($$self, inventoryCurrentItem, $$value => $$invalidate(13, $inventoryCurrentItem = $$value));
	component_subscribe($$self, infoData, $$value => $$invalidate(14, $infoData = $$value));
	component_subscribe($$self, inventories, $$value => $$invalidate(3, $inventories = $$value));
	component_subscribe($$self, securityHovered, $$value => $$invalidate(20, $securityHovered = $$value));
	component_subscribe($$self, securityAdditionalInfo, $$value => $$invalidate(4, $securityAdditionalInfo = $$value));

	let { resetSlotsState = () => {
		
	} } = $$props;

	let selectedGuardSlot = -1;
	let imageNode = null;
	let highlightActive = false;

	// if (!isNil($securityAdditionalInfo.securities)) {
	//  $securityAdditionalInfo = $securityAdditionalInfo.securities;
	// }
	const handleError = () => {
		if (!(0,lodash.isNil)(imageNode)) {
			$$invalidate(1, imageNode.src = `${cdn_CDN_URL_RODINA}/assets/images/inventory/skins/256/1-noneskins.webp`, imageNode);
		}
	};

	const selectGuard = slot => {
		if ((0,lodash.isNil)($securityAdditionalInfo[slot].id)) {
			return;
		}

		set_store_value(selectedGuardId, $selectedGuardId = $securityAdditionalInfo[slot].id, $selectedGuardId);
		$$invalidate(0, selectedGuardSlot = slot);
		sendClientMessage('selectSecurity', `{"id":${$selectedGuardId}}`);
	};

	selectGuard($securityAdditionalInfo[0].slot);

	const onHovered = () => {
		set_store_value(securityHovered, $securityHovered = true, $securityHovered);
	};

	const onHoverOut = () => {
		set_store_value(securityHovered, $securityHovered = false, $securityHovered);
	};

	let highlightedSlotRout = [];

	const clearHighlight = () => {
		if ((0,lodash.isNil)($inventories[highlightedSlotRout[0]]) || (0,lodash.isNil)($inventoryCurrentItem) || (0,lodash.isEmpty)(highlightedSlotRout)) {
			return;
		}

		set_store_value(inventories, $inventories[highlightedSlotRout[0]][highlightedSlotRout[1]][highlightedSlotRout[2]].highlight = false, $inventories);
		$$invalidate(12, highlightActive = false);
	};

	const showSecurityInfo = () => {
		sendClientMessage('requestShowingInfo', `{"id":${$selectedGuardId}}`);
	};

	const setHighlight = () => {
		clearHighlight();

		if ((0,lodash.isEmpty)($inventoryCurrentItem)) {
			return;
		}

		if ($inventoryCurrentItem.inventoryId !== BLOCK_TYPE.BLOCK_TYPE_MENU) {
			return;
		}

		switch ($inventoryCurrentItem.item.item_type) {
			case ITEM_TYPES.ITEM_TYPE_ACCESSORIES:
				$inventories[BLOCK_TYPE.BLOCK_TYPE_ACTOR_ATTACH][$selectedGuardId].some((actorAttachItem, index) => {
					highlightedSlotRout = [BLOCK_TYPE.BLOCK_TYPE_ACTOR_ATTACH, $selectedGuardId, index];

					if ((0,lodash.isNil)(actorAttachItem.item)) {
						set_store_value(inventories, $inventories[BLOCK_TYPE.BLOCK_TYPE_ACTOR_ATTACH][$selectedGuardId][index].highlight = true, $inventories);
						return true;
					}

					return false;
				});
				break;
			case ITEM_TYPES.ITEM_TYPE_GUN:
				set_store_value(inventories, $inventories[BLOCK_TYPE.BLOCK_TYPE_ACTOR_WEAPON][$selectedGuardId][0].highlight = true, $inventories);
				highlightedSlotRout = [BLOCK_TYPE.BLOCK_TYPE_ACTOR_WEAPON, $selectedGuardId, 0];
				break;
			default:
				break;
		}
	};

	onDestroy(() => {
		set_store_value(selectedGuardId, $selectedGuardId = -1, $selectedGuardId);
		resetSlotsState(BLOCK_TYPE.BLOCK_TYPE_ACTOR_WEAPON);
		clearHighlight();
	});

	function img_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			imageNode = $$value;
			$$invalidate(1, imageNode);
		});
	}

	const click_handler = () => sendClientMessage('clickOnMenu', `{"id": ${$selectedGuardId}}`);
	const click_handler_1 = index => selectGuard(index);
	const func = item => !(0,lodash.isNil)(item.id);

	$$self.$$set = $$props => {
		if ('resetSlotsState' in $$props) $$invalidate(11, resetSlotsState = $$props.resetSlotsState);
	};

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*$inventoryCurrentItem, $infoData, highlightActive*/ 28672) {
			$: {
				if ((0,lodash.isEmpty)($inventoryCurrentItem)) {
					clearHighlight();
				}

				if (!(0,lodash.isEmpty)($infoData) && $inventoryCurrentItem.status === DndStatuses.ContextMenuInteraction) {
					setHighlight();
				}

				if (!(0,lodash.isEmpty)($inventoryCurrentItem) && $inventoryCurrentItem.status === DndStatuses.Drag && !highlightActive) {
					$$invalidate(12, highlightActive = true);
					setHighlight();
				}
			}
		}
	};

	return [
		selectedGuardSlot,
		imageNode,
		$selectedGuardId,
		$inventories,
		$securityAdditionalInfo,
		handleError,
		selectGuard,
		onHovered,
		onHoverOut,
		clearHighlight,
		showSecurityInfo,
		resetSlotsState,
		highlightActive,
		$inventoryCurrentItem,
		$infoData,
		img_binding,
		click_handler,
		click_handler_1,
		func
	];
}

class Guard extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, guard_index_svelte_instance, guard_index_svelte_create_fragment, safe_not_equal, { resetSlotsState: 11 });
	}
}

/* harmony default export */ const guard_index_svelte = (Guard);
;// CONCATENATED MODULE: ./src/views/inventory/components/character/components/vehicle/index.svelte
/* src\views\inventory\components\character\components\vehicle\index.svelte generated by Svelte v3.49.0 */










// import VehicleImageMock from '../../img/vehicle.png';






function vehicle_index_svelte_add_css(target) {
	append_styles(target, "svelte-19czm3a", "@keyframes svelte-19czm3a-blinking{50%{opacity:0}}@keyframes svelte-19czm3a-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-19czm3a-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-19czm3a-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-19czm3a-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-19czm3a-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-19czm3a-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-19czm3a-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-19czm3a-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-19czm3a-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-19czm3a-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-19czm3a-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-19czm3a-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-19czm3a-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-19czm3a-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.character-vehicle__loadout.svelte-19czm3a{display:flex;align-items:center;justify-content:space-between;width:100%;background:linear-gradient(59deg, rgba(0, 0, 0, 0.5) 0%, rgba(255, 255, 255, 0.3) 65%, rgba(255, 255, 255, 0.45) 100%);height:calc(0.0625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.character-vehicle__loadout.svelte-19czm3a{height:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character-vehicle__loadout.svelte-19czm3a{height:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character-vehicle__loadout.svelte-19czm3a{height:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px){.character-vehicle__loadout.svelte-19czm3a{height:calc(0.06875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character-vehicle__loadout.svelte-19czm3a{height:calc(0.04375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character-vehicle__loadout.svelte-19czm3a{height:calc(0.05625 * 100vw + 0px)}}@media(min-width: 4096px){.character-vehicle__loadout.svelte-19czm3a{height:calc(0.06875 * 100vw + 0px)}}.character-vehicle__loadout-items.svelte-19czm3a{display:grid;grid-template-columns:1fr 1fr 1fr;grid-gap:calc(0.0052083333 * 100vw + 0px);padding-left:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.character-vehicle__loadout-items.svelte-19czm3a{grid-gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character-vehicle__loadout-items.svelte-19czm3a{grid-gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character-vehicle__loadout-items.svelte-19czm3a{grid-gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.character-vehicle__loadout-items.svelte-19czm3a{grid-gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character-vehicle__loadout-items.svelte-19czm3a{grid-gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character-vehicle__loadout-items.svelte-19czm3a{grid-gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.character-vehicle__loadout-items.svelte-19czm3a{grid-gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.character-vehicle__loadout-items.svelte-19czm3a{padding-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character-vehicle__loadout-items.svelte-19czm3a{padding-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character-vehicle__loadout-items.svelte-19czm3a{padding-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.character-vehicle__loadout-items.svelte-19czm3a{padding-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character-vehicle__loadout-items.svelte-19czm3a{padding-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character-vehicle__loadout-items.svelte-19czm3a{padding-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.character-vehicle__loadout-items.svelte-19czm3a{padding-left:calc(0.0114583333 * 100vw + 0px)}}.character-vehicle__loadout-image.svelte-19czm3a{height:100%;width:auto}.character-vehicle__info-button-wrapper.svelte-19czm3a{border-style:solid;border-color:rgba(255, 255, 255, 0.1);padding:calc(0.0104166667 * 100vw + 0px);height:calc(0.0416666667 * 100vw + 0px);border-bottom-width:calc(0.0005208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.character-vehicle__info-button-wrapper.svelte-19czm3a{padding:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character-vehicle__info-button-wrapper.svelte-19czm3a{padding:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character-vehicle__info-button-wrapper.svelte-19czm3a{padding:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.character-vehicle__info-button-wrapper.svelte-19czm3a{padding:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character-vehicle__info-button-wrapper.svelte-19czm3a{padding:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character-vehicle__info-button-wrapper.svelte-19czm3a{padding:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.character-vehicle__info-button-wrapper.svelte-19czm3a{padding:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.character-vehicle__info-button-wrapper.svelte-19czm3a{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character-vehicle__info-button-wrapper.svelte-19czm3a{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character-vehicle__info-button-wrapper.svelte-19czm3a{height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.character-vehicle__info-button-wrapper.svelte-19czm3a{height:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character-vehicle__info-button-wrapper.svelte-19czm3a{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character-vehicle__info-button-wrapper.svelte-19czm3a{height:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.character-vehicle__info-button-wrapper.svelte-19czm3a{height:calc(0.0458333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.character-vehicle__info-button-wrapper.svelte-19czm3a{border-bottom-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character-vehicle__info-button-wrapper.svelte-19czm3a{border-bottom-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character-vehicle__info-button-wrapper.svelte-19czm3a{border-bottom-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.character-vehicle__info-button-wrapper.svelte-19czm3a{border-bottom-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character-vehicle__info-button-wrapper.svelte-19czm3a{border-bottom-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character-vehicle__info-button-wrapper.svelte-19czm3a{border-bottom-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.character-vehicle__info-button-wrapper.svelte-19czm3a{border-bottom-width:calc(0.0005729167 * 100vw + 0px)}}.character-vehicle__indicators.svelte-19czm3a{display:flex;padding:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.character-vehicle__indicators.svelte-19czm3a{padding:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character-vehicle__indicators.svelte-19czm3a{padding:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character-vehicle__indicators.svelte-19czm3a{padding:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.character-vehicle__indicators.svelte-19czm3a{padding:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character-vehicle__indicators.svelte-19czm3a{padding:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character-vehicle__indicators.svelte-19czm3a{padding:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.character-vehicle__indicators.svelte-19czm3a{padding:calc(0.0114583333 * 100vw + 0px)}}.character-vehicle__indicator.svelte-19czm3a{width:100%;display:flex;align-items:center;transition:0.1s ease;transition-property:opacity, transform;opacity:0.7;height:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.character-vehicle__indicator.svelte-19czm3a{height:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character-vehicle__indicator.svelte-19czm3a{height:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character-vehicle__indicator.svelte-19czm3a{height:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.character-vehicle__indicator.svelte-19czm3a{height:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character-vehicle__indicator.svelte-19czm3a{height:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character-vehicle__indicator.svelte-19czm3a{height:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.character-vehicle__indicator.svelte-19czm3a{height:calc(0.0091666667 * 100vw + 0px)}}.character-vehicle__indicator.svelte-19czm3a:nth-child(1){padding-right:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.character-vehicle__indicator.svelte-19czm3a:nth-child(1){padding-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character-vehicle__indicator.svelte-19czm3a:nth-child(1){padding-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character-vehicle__indicator.svelte-19czm3a:nth-child(1){padding-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.character-vehicle__indicator.svelte-19czm3a:nth-child(1){padding-right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character-vehicle__indicator.svelte-19czm3a:nth-child(1){padding-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character-vehicle__indicator.svelte-19czm3a:nth-child(1){padding-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.character-vehicle__indicator.svelte-19czm3a:nth-child(1){padding-right:calc(0.0057291667 * 100vw + 0px)}}.character-vehicle__indicator.svelte-19czm3a:nth-child(2){padding-left:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.character-vehicle__indicator.svelte-19czm3a:nth-child(2){padding-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character-vehicle__indicator.svelte-19czm3a:nth-child(2){padding-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character-vehicle__indicator.svelte-19czm3a:nth-child(2){padding-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.character-vehicle__indicator.svelte-19czm3a:nth-child(2){padding-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character-vehicle__indicator.svelte-19czm3a:nth-child(2){padding-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character-vehicle__indicator.svelte-19czm3a:nth-child(2){padding-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.character-vehicle__indicator.svelte-19czm3a:nth-child(2){padding-left:calc(0.0057291667 * 100vw + 0px)}}.character-vehicle__indicator.svelte-19czm3a:hover{transform:translateY(-10%) scale(1.03);opacity:1}.character-vehicle__indicator.svelte-19czm3a:active{transform:translateY(5%)}.character-vehicle__indicator-icon.svelte-19czm3a{transition:0.14s ease-out;transition-property:opacity;font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.character-vehicle__indicator-icon.svelte-19czm3a{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character-vehicle__indicator-icon.svelte-19czm3a{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character-vehicle__indicator-icon.svelte-19czm3a{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.character-vehicle__indicator-icon.svelte-19czm3a{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character-vehicle__indicator-icon.svelte-19czm3a{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character-vehicle__indicator-icon.svelte-19czm3a{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.character-vehicle__indicator-icon.svelte-19czm3a{font-size:calc(0.0080208333 * 100vw + 0px)}}.character-vehicle__indicator-icon--fuel.svelte-19czm3a{opacity:0.8;color:#D4F54D}.character-vehicle__indicator-icon--engine.svelte-19czm3a{opacity:0.8;color:#38AFE8}.character-vehicle__indicator-bar.svelte-19czm3a{width:100%;height:100%;border-style:solid;border-color:rgba(255, 255, 255, 0.1);background-color:#131516;overflow:hidden;border-width:calc(0.0005208333 * 100vw + 0px);padding:calc(0.0015625 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);margin-left:calc(0.0052083333 * 100vw + 0px);margin-right:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.character-vehicle__indicator-bar.svelte-19czm3a{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character-vehicle__indicator-bar.svelte-19czm3a{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character-vehicle__indicator-bar.svelte-19czm3a{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.character-vehicle__indicator-bar.svelte-19czm3a{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character-vehicle__indicator-bar.svelte-19czm3a{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character-vehicle__indicator-bar.svelte-19czm3a{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.character-vehicle__indicator-bar.svelte-19czm3a{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.character-vehicle__indicator-bar.svelte-19czm3a{padding:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character-vehicle__indicator-bar.svelte-19czm3a{padding:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character-vehicle__indicator-bar.svelte-19czm3a{padding:calc(0.001203125 * 100vw + 0px)}}@media(min-width: 3440px){.character-vehicle__indicator-bar.svelte-19czm3a{padding:calc(0.00171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character-vehicle__indicator-bar.svelte-19czm3a{padding:calc(0.00109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character-vehicle__indicator-bar.svelte-19czm3a{padding:calc(0.00140625 * 100vw + 0px)}}@media(min-width: 4096px){.character-vehicle__indicator-bar.svelte-19czm3a{padding:calc(0.00171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.character-vehicle__indicator-bar.svelte-19czm3a{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character-vehicle__indicator-bar.svelte-19czm3a{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character-vehicle__indicator-bar.svelte-19czm3a{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.character-vehicle__indicator-bar.svelte-19czm3a{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character-vehicle__indicator-bar.svelte-19czm3a{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character-vehicle__indicator-bar.svelte-19czm3a{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.character-vehicle__indicator-bar.svelte-19czm3a{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.character-vehicle__indicator-bar.svelte-19czm3a{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character-vehicle__indicator-bar.svelte-19czm3a{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character-vehicle__indicator-bar.svelte-19czm3a{margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.character-vehicle__indicator-bar.svelte-19czm3a{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character-vehicle__indicator-bar.svelte-19czm3a{margin-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character-vehicle__indicator-bar.svelte-19czm3a{margin-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.character-vehicle__indicator-bar.svelte-19czm3a{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.character-vehicle__indicator-bar.svelte-19czm3a{margin-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character-vehicle__indicator-bar.svelte-19czm3a{margin-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character-vehicle__indicator-bar.svelte-19czm3a{margin-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.character-vehicle__indicator-bar.svelte-19czm3a{margin-right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character-vehicle__indicator-bar.svelte-19czm3a{margin-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character-vehicle__indicator-bar.svelte-19czm3a{margin-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.character-vehicle__indicator-bar.svelte-19czm3a{margin-right:calc(0.0057291667 * 100vw + 0px)}}.character-vehicle__indicator-bar-current.svelte-19czm3a{width:var(--current-value);border-style:solid;border-color:rgba(255, 255, 255, 0.1);transition:0.14s ease-out;transition-property:width;border-width:calc(0.0005208333 * 100vw + 0px);padding:calc(0.0015625 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.character-vehicle__indicator-bar-current.svelte-19czm3a{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character-vehicle__indicator-bar-current.svelte-19czm3a{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character-vehicle__indicator-bar-current.svelte-19czm3a{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.character-vehicle__indicator-bar-current.svelte-19czm3a{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character-vehicle__indicator-bar-current.svelte-19czm3a{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character-vehicle__indicator-bar-current.svelte-19czm3a{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.character-vehicle__indicator-bar-current.svelte-19czm3a{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.character-vehicle__indicator-bar-current.svelte-19czm3a{padding:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character-vehicle__indicator-bar-current.svelte-19czm3a{padding:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character-vehicle__indicator-bar-current.svelte-19czm3a{padding:calc(0.001203125 * 100vw + 0px)}}@media(min-width: 3440px){.character-vehicle__indicator-bar-current.svelte-19czm3a{padding:calc(0.00171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character-vehicle__indicator-bar-current.svelte-19czm3a{padding:calc(0.00109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character-vehicle__indicator-bar-current.svelte-19czm3a{padding:calc(0.00140625 * 100vw + 0px)}}@media(min-width: 4096px){.character-vehicle__indicator-bar-current.svelte-19czm3a{padding:calc(0.00171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.character-vehicle__indicator-bar-current.svelte-19czm3a{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character-vehicle__indicator-bar-current.svelte-19czm3a{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character-vehicle__indicator-bar-current.svelte-19czm3a{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.character-vehicle__indicator-bar-current.svelte-19czm3a{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character-vehicle__indicator-bar-current.svelte-19czm3a{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character-vehicle__indicator-bar-current.svelte-19czm3a{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.character-vehicle__indicator-bar-current.svelte-19czm3a{border-radius:calc(0.0057291667 * 100vw + 0px)}}.character-vehicle__indicator-bar-current--fuel.svelte-19czm3a{background-color:#D4F54D}.character-vehicle__indicator-bar-current--engine.svelte-19czm3a{background-color:#38AFE8}.character-vehicle__indicator-value.svelte-19czm3a{font-family:\"HeadingNowBold\";color:#FFFFFF;font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.character-vehicle__indicator-value.svelte-19czm3a{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character-vehicle__indicator-value.svelte-19czm3a{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character-vehicle__indicator-value.svelte-19czm3a{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.character-vehicle__indicator-value.svelte-19czm3a{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character-vehicle__indicator-value.svelte-19czm3a{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character-vehicle__indicator-value.svelte-19czm3a{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.character-vehicle__indicator-value.svelte-19czm3a{font-size:calc(0.0080208333 * 100vw + 0px)}}.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{background-color:#131516;font-family:\"HeadingNowBold\";color:#FFFFFF;text-transform:uppercase;border-style:solid;border-color:rgba(255, 255, 255, 0.1);border-top-width:calc(0.0005208333 * 100vw + 0px);border-bottom-width:calc(0.0005208333 * 100vw + 0px);font-size:calc(0.0072916667 * 100vw + 0px);line-height:calc(0.0098958333 * 100vw + 0px);padding:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{border-top-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{border-top-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{border-top-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{border-top-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{border-top-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{border-top-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{border-top-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{border-bottom-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{border-bottom-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{border-bottom-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{border-bottom-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{border-bottom-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{border-bottom-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{border-bottom-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{line-height:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{line-height:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{line-height:calc(0.0076197917 * 100vw + 0px)}}@media(min-width: 3440px){.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{line-height:calc(0.0108854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{line-height:calc(0.0069270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{line-height:calc(0.00890625 * 100vw + 0px)}}@media(min-width: 4096px){.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{line-height:calc(0.0108854167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{padding:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{padding:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{padding:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{padding:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{padding:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{padding:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.character-vehicle__visual-improves-caption.svelte-19czm3a,.character-vehicle__technical-improves-caption.svelte-19czm3a{padding:calc(0.0080208333 * 100vw + 0px)}}.character-vehicle__visual-improves.svelte-19czm3a,.character-vehicle__technical-improves.svelte-19czm3a{width:100%;overflow:auto;height:calc(0.109375 * 100vw + 0px);padding:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.character-vehicle__visual-improves.svelte-19czm3a,.character-vehicle__technical-improves.svelte-19czm3a{height:calc(0.109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character-vehicle__visual-improves.svelte-19czm3a,.character-vehicle__technical-improves.svelte-19czm3a{height:calc(0.109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character-vehicle__visual-improves.svelte-19czm3a,.character-vehicle__technical-improves.svelte-19czm3a{height:calc(0.08421875 * 100vw + 0px)}}@media(min-width: 3440px){.character-vehicle__visual-improves.svelte-19czm3a,.character-vehicle__technical-improves.svelte-19czm3a{height:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character-vehicle__visual-improves.svelte-19czm3a,.character-vehicle__technical-improves.svelte-19czm3a{height:calc(0.0765625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character-vehicle__visual-improves.svelte-19czm3a,.character-vehicle__technical-improves.svelte-19czm3a{height:calc(0.0984375 * 100vw + 0px)}}@media(min-width: 4096px){.character-vehicle__visual-improves.svelte-19czm3a,.character-vehicle__technical-improves.svelte-19czm3a{height:calc(0.1203125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.character-vehicle__visual-improves.svelte-19czm3a,.character-vehicle__technical-improves.svelte-19czm3a{padding:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character-vehicle__visual-improves.svelte-19czm3a,.character-vehicle__technical-improves.svelte-19czm3a{padding:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character-vehicle__visual-improves.svelte-19czm3a,.character-vehicle__technical-improves.svelte-19czm3a{padding:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.character-vehicle__visual-improves.svelte-19czm3a,.character-vehicle__technical-improves.svelte-19czm3a{padding:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character-vehicle__visual-improves.svelte-19czm3a,.character-vehicle__technical-improves.svelte-19czm3a{padding:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character-vehicle__visual-improves.svelte-19czm3a,.character-vehicle__technical-improves.svelte-19czm3a{padding:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.character-vehicle__visual-improves.svelte-19czm3a,.character-vehicle__technical-improves.svelte-19czm3a{padding:calc(0.00859375 * 100vw + 0px)}}.character-vehicle__visual-improves.svelte-19czm3a::-webkit-scrollbar,.character-vehicle__technical-improves.svelte-19czm3a::-webkit-scrollbar{height:0;width:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.character-vehicle__visual-improves.svelte-19czm3a::-webkit-scrollbar,.character-vehicle__technical-improves.svelte-19czm3a::-webkit-scrollbar{width:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character-vehicle__visual-improves.svelte-19czm3a::-webkit-scrollbar,.character-vehicle__technical-improves.svelte-19czm3a::-webkit-scrollbar{width:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character-vehicle__visual-improves.svelte-19czm3a::-webkit-scrollbar,.character-vehicle__technical-improves.svelte-19czm3a::-webkit-scrollbar{width:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.character-vehicle__visual-improves.svelte-19czm3a::-webkit-scrollbar,.character-vehicle__technical-improves.svelte-19czm3a::-webkit-scrollbar{width:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character-vehicle__visual-improves.svelte-19czm3a::-webkit-scrollbar,.character-vehicle__technical-improves.svelte-19czm3a::-webkit-scrollbar{width:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character-vehicle__visual-improves.svelte-19czm3a::-webkit-scrollbar,.character-vehicle__technical-improves.svelte-19czm3a::-webkit-scrollbar{width:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.character-vehicle__visual-improves.svelte-19czm3a::-webkit-scrollbar,.character-vehicle__technical-improves.svelte-19czm3a::-webkit-scrollbar{width:calc(0.0045833333 * 100vw + 0px)}}.character-vehicle__visual-improves.svelte-19czm3a::-webkit-scrollbar-button,.character-vehicle__technical-improves.svelte-19czm3a::-webkit-scrollbar-button{display:none}.character-vehicle__visual-improves.svelte-19czm3a::-webkit-scrollbar-track,.character-vehicle__technical-improves.svelte-19czm3a::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.1)}.character-vehicle__visual-improves.svelte-19czm3a::-webkit-scrollbar-track-piece,.character-vehicle__technical-improves.svelte-19czm3a::-webkit-scrollbar-track-piece{background:rgba(255, 255, 255, 0.1);border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.character-vehicle__visual-improves.svelte-19czm3a::-webkit-scrollbar-track-piece,.character-vehicle__technical-improves.svelte-19czm3a::-webkit-scrollbar-track-piece{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character-vehicle__visual-improves.svelte-19czm3a::-webkit-scrollbar-track-piece,.character-vehicle__technical-improves.svelte-19czm3a::-webkit-scrollbar-track-piece{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character-vehicle__visual-improves.svelte-19czm3a::-webkit-scrollbar-track-piece,.character-vehicle__technical-improves.svelte-19czm3a::-webkit-scrollbar-track-piece{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.character-vehicle__visual-improves.svelte-19czm3a::-webkit-scrollbar-track-piece,.character-vehicle__technical-improves.svelte-19czm3a::-webkit-scrollbar-track-piece{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character-vehicle__visual-improves.svelte-19czm3a::-webkit-scrollbar-track-piece,.character-vehicle__technical-improves.svelte-19czm3a::-webkit-scrollbar-track-piece{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character-vehicle__visual-improves.svelte-19czm3a::-webkit-scrollbar-track-piece,.character-vehicle__technical-improves.svelte-19czm3a::-webkit-scrollbar-track-piece{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.character-vehicle__visual-improves.svelte-19czm3a::-webkit-scrollbar-track-piece,.character-vehicle__technical-improves.svelte-19czm3a::-webkit-scrollbar-track-piece{border-radius:calc(0.0028645833 * 100vw + 0px)}}.character-vehicle__visual-improves.svelte-19czm3a::-webkit-scrollbar-thumb,.character-vehicle__technical-improves.svelte-19czm3a::-webkit-scrollbar-thumb{background:rgba(255, 255, 255, 0.3);border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.character-vehicle__visual-improves.svelte-19czm3a::-webkit-scrollbar-thumb,.character-vehicle__technical-improves.svelte-19czm3a::-webkit-scrollbar-thumb{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character-vehicle__visual-improves.svelte-19czm3a::-webkit-scrollbar-thumb,.character-vehicle__technical-improves.svelte-19czm3a::-webkit-scrollbar-thumb{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character-vehicle__visual-improves.svelte-19czm3a::-webkit-scrollbar-thumb,.character-vehicle__technical-improves.svelte-19czm3a::-webkit-scrollbar-thumb{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.character-vehicle__visual-improves.svelte-19czm3a::-webkit-scrollbar-thumb,.character-vehicle__technical-improves.svelte-19czm3a::-webkit-scrollbar-thumb{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character-vehicle__visual-improves.svelte-19czm3a::-webkit-scrollbar-thumb,.character-vehicle__technical-improves.svelte-19czm3a::-webkit-scrollbar-thumb{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character-vehicle__visual-improves.svelte-19czm3a::-webkit-scrollbar-thumb,.character-vehicle__technical-improves.svelte-19czm3a::-webkit-scrollbar-thumb{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.character-vehicle__visual-improves.svelte-19czm3a::-webkit-scrollbar-thumb,.character-vehicle__technical-improves.svelte-19czm3a::-webkit-scrollbar-thumb{border-radius:calc(0.0028645833 * 100vw + 0px)}}.character-vehicle__visual-improves.svelte-19czm3a::-webkit-scrollbar-corner,.character-vehicle__technical-improves.svelte-19czm3a::-webkit-scrollbar-corner{background-color:rgba(255, 255, 255, 0.1)}.character-vehicle__visual-improves.svelte-19czm3a::-webkit-resizer,.character-vehicle__technical-improves.svelte-19czm3a::-webkit-resizer{background-color:rgba(255, 255, 255, 0.1)}");
}

// (1492:0) {#if !isNil($additionalInfo.oil)}
function vehicle_index_svelte_create_if_block(ctx) {
	let div16;
	let div1;
	let div0;
	let inventoryitem0;
	let t0;
	let inventoryitem1;
	let t1;
	let img;
	let img_src_value;
	let t2;
	let div2;
	let inventorybutton;
	let t3;
	let div11;
	let div6;
	let i0;
	let t4;
	let div4;
	let div3;
	let t5;
	let div5;
	let t6_value = /*$additionalInfo*/ ctx[2].oil + "";
	let t6;
	let t7;
	let div10;
	let i1;
	let t8;
	let div8;
	let div7;
	let t9;
	let div9;
	let t10_value = /*$additionalInfo*/ ctx[2].health + "";
	let t10;
	let t11;
	let div12;
	let t13;
	let div13;
	let show_if_1 = !(0,lodash.isNil)(/*$inventories*/ ctx[1][BLOCK_TYPE.BLOCK_TYPE_TECH_TUNING]);
	let t14;
	let div14;
	let t16;
	let div15;
	let show_if = !(0,lodash.isNil)(/*$inventories*/ ctx[1][BLOCK_TYPE.BLOCK_TYPE_VISUAL_TUNING]);
	let current;
	let mounted;
	let dispose;

	inventoryitem0 = new inventory_item_index_svelte({
			props: {
				item: /*$inventories*/ ctx[1][BLOCK_TYPE.BLOCK_TYPE_VEH_SKIN][0],
				slotId: 0,
				inventoryId: BLOCK_TYPE.BLOCK_TYPE_VEH_SKIN
			}
		});

	inventoryitem1 = new inventory_item_index_svelte({
			props: {
				item: /*$inventories*/ ctx[1][BLOCK_TYPE.BLOCK_TYPE_VEH_NUMBER][0],
				slotId: 0,
				inventoryId: BLOCK_TYPE.BLOCK_TYPE_VEH_NUMBER
			}
		});

	inventorybutton = new inventory_button_index_svelte({
			props: {
				text: `Информация о ${/*$additionalInfo*/ ctx[2].name}`,
				onClick: /*func*/ ctx[10]
			}
		});

	let if_block0 = show_if_1 && vehicle_index_svelte_create_if_block_2(ctx);
	let if_block1 = show_if && vehicle_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			div16 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");
			create_component(inventoryitem0.$$.fragment);
			t0 = space();
			create_component(inventoryitem1.$$.fragment);
			t1 = space();
			img = internal_element("img");
			t2 = space();
			div2 = internal_element("div");
			create_component(inventorybutton.$$.fragment);
			t3 = space();
			div11 = internal_element("div");
			div6 = internal_element("div");
			i0 = internal_element("i");
			t4 = space();
			div4 = internal_element("div");
			div3 = internal_element("div");
			t5 = space();
			div5 = internal_element("div");
			t6 = internal_text(t6_value);
			t7 = space();
			div10 = internal_element("div");
			i1 = internal_element("i");
			t8 = space();
			div8 = internal_element("div");
			div7 = internal_element("div");
			t9 = space();
			div9 = internal_element("div");
			t10 = internal_text(t10_value);
			t11 = space();
			div12 = internal_element("div");
			div12.textContent = "Технические модификации";
			t13 = space();
			div13 = internal_element("div");
			if (if_block0) if_block0.c();
			t14 = space();
			div14 = internal_element("div");
			div14.textContent = "Визуальные модификации";
			t16 = space();
			div15 = internal_element("div");
			if (if_block1) if_block1.c();
			attr(div0, "class", "character-vehicle__loadout-items svelte-19czm3a");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/assets/images/inventory/skins/512/${/*$additionalInfo*/ ctx[2].skin.model}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "car");
			attr(img, "class", "character-vehicle__loadout-image svelte-19czm3a");
			attr(div1, "class", "character-vehicle__loadout svelte-19czm3a");
			attr(div2, "class", "character-vehicle__info-button-wrapper svelte-19czm3a");
			attr(i0, "class", "character-vehicle__indicator-icon character-vehicle__indicator-icon--fuel icon-oil svelte-19czm3a");
			attr(div3, "class", "character-vehicle__indicator-bar-current character-vehicle__indicator-bar-current--fuel svelte-19czm3a");
			attr(div4, "class", "character-vehicle__indicator-bar svelte-19czm3a");
			set_style(div4, "--current-value", `${/*$additionalInfo*/ ctx[2].oil}%`);
			attr(div5, "class", "character-vehicle__indicator-value svelte-19czm3a");
			attr(div6, "class", "character-vehicle__indicator svelte-19czm3a");
			attr(i1, "class", "character-vehicle__indicator-icon character-vehicle__indicator-icon--engine icon-engine-motor svelte-19czm3a");
			attr(div7, "class", "character-vehicle__indicator-bar-current character-vehicle__indicator-bar-current--engine svelte-19czm3a");
			attr(div8, "class", "character-vehicle__indicator-bar svelte-19czm3a");
			set_style(div8, "--current-value", `${/*$additionalInfo*/ ctx[2].health}%`);
			attr(div9, "class", "character-vehicle__indicator-value svelte-19czm3a");
			attr(div10, "class", "character-vehicle__indicator svelte-19czm3a");
			attr(div11, "class", "character-vehicle__indicators svelte-19czm3a");
			attr(div12, "class", "character-vehicle__technical-improves-caption svelte-19czm3a");
			attr(div13, "class", "character-vehicle__technical-improves svelte-19czm3a");
			attr(div14, "class", "character-vehicle__visual-improves-caption svelte-19czm3a");
			attr(div15, "class", "character-vehicle__visual-improves svelte-19czm3a");
			attr(div16, "class", "character-vehicle");
		},
		m(target, anchor) {
			insert(target, div16, anchor);
			append(div16, div1);
			append(div1, div0);
			mount_component(inventoryitem0, div0, null);
			append(div0, t0);
			mount_component(inventoryitem1, div0, null);
			append(div1, t1);
			append(div1, img);
			/*img_binding*/ ctx[9](img);
			append(div16, t2);
			append(div16, div2);
			mount_component(inventorybutton, div2, null);
			append(div16, t3);
			append(div16, div11);
			append(div11, div6);
			append(div6, i0);
			append(div6, t4);
			append(div6, div4);
			append(div4, div3);
			append(div6, t5);
			append(div6, div5);
			append(div5, t6);
			append(div11, t7);
			append(div11, div10);
			append(div10, i1);
			append(div10, t8);
			append(div10, div8);
			append(div8, div7);
			append(div10, t9);
			append(div10, div9);
			append(div9, t10);
			append(div16, t11);
			append(div16, div12);
			append(div16, t13);
			append(div16, div13);
			if (if_block0) if_block0.m(div13, null);
			append(div16, t14);
			append(div16, div14);
			append(div16, t16);
			append(div16, div15);
			if (if_block1) if_block1.m(div15, null);
			current = true;

			if (!mounted) {
				dispose = [
					listen(img, "error", /*handleError*/ ctx[4]),
					listen(div6, "click", /*click_handler*/ ctx[11]),
					listen(div10, "click", /*click_handler_1*/ ctx[12])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			const inventoryitem0_changes = {};
			if (dirty & /*$inventories*/ 2) inventoryitem0_changes.item = /*$inventories*/ ctx[1][BLOCK_TYPE.BLOCK_TYPE_VEH_SKIN][0];
			inventoryitem0.$set(inventoryitem0_changes);
			const inventoryitem1_changes = {};
			if (dirty & /*$inventories*/ 2) inventoryitem1_changes.item = /*$inventories*/ ctx[1][BLOCK_TYPE.BLOCK_TYPE_VEH_NUMBER][0];
			inventoryitem1.$set(inventoryitem1_changes);

			if (!current || dirty & /*$additionalInfo*/ 4 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/assets/images/inventory/skins/512/${/*$additionalInfo*/ ctx[2].skin.model}.webp`)) {
				attr(img, "src", img_src_value);
			}

			const inventorybutton_changes = {};
			if (dirty & /*$additionalInfo*/ 4) inventorybutton_changes.text = `Информация о ${/*$additionalInfo*/ ctx[2].name}`;
			inventorybutton.$set(inventorybutton_changes);

			if (!current || dirty & /*$additionalInfo*/ 4) {
				set_style(div4, "--current-value", `${/*$additionalInfo*/ ctx[2].oil}%`);
			}

			if ((!current || dirty & /*$additionalInfo*/ 4) && t6_value !== (t6_value = /*$additionalInfo*/ ctx[2].oil + "")) set_data(t6, t6_value);

			if (!current || dirty & /*$additionalInfo*/ 4) {
				set_style(div8, "--current-value", `${/*$additionalInfo*/ ctx[2].health}%`);
			}

			if ((!current || dirty & /*$additionalInfo*/ 4) && t10_value !== (t10_value = /*$additionalInfo*/ ctx[2].health + "")) set_data(t10, t10_value);
			if (dirty & /*$inventories*/ 2) show_if_1 = !(0,lodash.isNil)(/*$inventories*/ ctx[1][BLOCK_TYPE.BLOCK_TYPE_TECH_TUNING]);

			if (show_if_1) {
				if (if_block0) {
					if_block0.p(ctx, dirty);

					if (dirty & /*$inventories*/ 2) {
						transition_in(if_block0, 1);
					}
				} else {
					if_block0 = vehicle_index_svelte_create_if_block_2(ctx);
					if_block0.c();
					transition_in(if_block0, 1);
					if_block0.m(div13, null);
				}
			} else if (if_block0) {
				group_outros();

				transition_out(if_block0, 1, 1, () => {
					if_block0 = null;
				});

				check_outros();
			}

			if (dirty & /*$inventories*/ 2) show_if = !(0,lodash.isNil)(/*$inventories*/ ctx[1][BLOCK_TYPE.BLOCK_TYPE_VISUAL_TUNING]);

			if (show_if) {
				if (if_block1) {
					if_block1.p(ctx, dirty);

					if (dirty & /*$inventories*/ 2) {
						transition_in(if_block1, 1);
					}
				} else {
					if_block1 = vehicle_index_svelte_create_if_block_1(ctx);
					if_block1.c();
					transition_in(if_block1, 1);
					if_block1.m(div15, null);
				}
			} else if (if_block1) {
				group_outros();

				transition_out(if_block1, 1, 1, () => {
					if_block1 = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(inventoryitem0.$$.fragment, local);
			transition_in(inventoryitem1.$$.fragment, local);
			transition_in(inventorybutton.$$.fragment, local);
			transition_in(if_block0);
			transition_in(if_block1);
			current = true;
		},
		o(local) {
			transition_out(inventoryitem0.$$.fragment, local);
			transition_out(inventoryitem1.$$.fragment, local);
			transition_out(inventorybutton.$$.fragment, local);
			transition_out(if_block0);
			transition_out(if_block1);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div16);
			destroy_component(inventoryitem0);
			destroy_component(inventoryitem1);
			/*img_binding*/ ctx[9](null);
			destroy_component(inventorybutton);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (1544:12) {#if !isNil($inventories[BLOCK_TYPE.BLOCK_TYPE_TECH_TUNING])}
function vehicle_index_svelte_create_if_block_2(ctx) {
	let inventorygrid;
	let current;

	inventorygrid = new inventory_grid_index_svelte({
			props: {
				items: /*$inventories*/ ctx[1][BLOCK_TYPE.BLOCK_TYPE_TECH_TUNING],
				slotsCount: /*$inventories*/ ctx[1][BLOCK_TYPE.BLOCK_TYPE_TECH_TUNING].length,
				inventoryId: BLOCK_TYPE.BLOCK_TYPE_TECH_TUNING,
				columnsCount: 5,
				fillWholeColumn: true,
				showSlotsIndex: false
			}
		});

	return {
		c() {
			create_component(inventorygrid.$$.fragment);
		},
		m(target, anchor) {
			mount_component(inventorygrid, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const inventorygrid_changes = {};
			if (dirty & /*$inventories*/ 2) inventorygrid_changes.items = /*$inventories*/ ctx[1][BLOCK_TYPE.BLOCK_TYPE_TECH_TUNING];
			if (dirty & /*$inventories*/ 2) inventorygrid_changes.slotsCount = /*$inventories*/ ctx[1][BLOCK_TYPE.BLOCK_TYPE_TECH_TUNING].length;
			inventorygrid.$set(inventorygrid_changes);
		},
		i(local) {
			if (current) return;
			transition_in(inventorygrid.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(inventorygrid.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(inventorygrid, detaching);
		}
	};
}

// (1557:12) {#if !isNil($inventories[BLOCK_TYPE.BLOCK_TYPE_VISUAL_TUNING])}
function vehicle_index_svelte_create_if_block_1(ctx) {
	let inventorygrid;
	let current;

	inventorygrid = new inventory_grid_index_svelte({
			props: {
				items: /*$inventories*/ ctx[1][BLOCK_TYPE.BLOCK_TYPE_VISUAL_TUNING],
				slotsCount: /*$inventories*/ ctx[1][BLOCK_TYPE.BLOCK_TYPE_VISUAL_TUNING].length,
				inventoryId: BLOCK_TYPE.BLOCK_TYPE_VISUAL_TUNING,
				columnsCount: 5,
				fillWholeColumn: true,
				showSlotsIndex: false
			}
		});

	return {
		c() {
			create_component(inventorygrid.$$.fragment);
		},
		m(target, anchor) {
			mount_component(inventorygrid, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const inventorygrid_changes = {};
			if (dirty & /*$inventories*/ 2) inventorygrid_changes.items = /*$inventories*/ ctx[1][BLOCK_TYPE.BLOCK_TYPE_VISUAL_TUNING];
			if (dirty & /*$inventories*/ 2) inventorygrid_changes.slotsCount = /*$inventories*/ ctx[1][BLOCK_TYPE.BLOCK_TYPE_VISUAL_TUNING].length;
			inventorygrid.$set(inventorygrid_changes);
		},
		i(local) {
			if (current) return;
			transition_in(inventorygrid.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(inventorygrid.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(inventorygrid, detaching);
		}
	};
}

function vehicle_index_svelte_create_fragment(ctx) {
	let show_if = !(0,lodash.isNil)(/*$additionalInfo*/ ctx[2].oil);
	let if_block_anchor;
	let current;
	let mounted;
	let dispose;
	let if_block = show_if && vehicle_index_svelte_create_if_block(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
			current = true;

			if (!mounted) {
				dispose = listen(window, "mouseup", /*clearHighlight*/ ctx[3]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*$additionalInfo*/ 4) show_if = !(0,lodash.isNil)(/*$additionalInfo*/ ctx[2].oil);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*$additionalInfo*/ 4) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = vehicle_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
			mounted = false;
			dispose();
		}
	};
}

function vehicle_index_svelte_instance($$self, $$props, $$invalidate) {
	let $inventoryCurrentItem;
	let $infoData;
	let $inventories;
	let $additionalInfo;
	component_subscribe($$self, inventoryCurrentItem, $$value => $$invalidate(7, $inventoryCurrentItem = $$value));
	component_subscribe($$self, infoData, $$value => $$invalidate(8, $infoData = $$value));
	component_subscribe($$self, inventories, $$value => $$invalidate(1, $inventories = $$value));
	component_subscribe($$self, additionalInfo, $$value => $$invalidate(2, $additionalInfo = $$value));

	let { resetSlotsState = () => {
		
	} } = $$props;

	let imageNode = null;
	let highlightActive = false;

	if ((0,lodash.isNil)($inventories[BLOCK_TYPE.BLOCK_TYPE_VEH_NUMBER])) {
		set_store_value(inventories, $inventories[BLOCK_TYPE.BLOCK_TYPE_VEH_NUMBER] = [{ slot: 0 }], $inventories);
	}

	// if (isNil($inventories[BLOCK_TYPE.BLOCK_TYPE_VEH_MODIFICATION])) {
	//     $inventories[BLOCK_TYPE.BLOCK_TYPE_VEH_MODIFICATION] = [{ slot: 0 }];
	// }
	if ((0,lodash.isNil)($inventories[BLOCK_TYPE.BLOCK_TYPE_VEH_SKIN])) {
		set_store_value(inventories, $inventories[BLOCK_TYPE.BLOCK_TYPE_VEH_SKIN] = [{ slot: 0 }], $inventories);
	}

	let highlightedSlotRout = [];

	const clearHighlight = () => {
		if ((0,lodash.isNil)($inventories[highlightedSlotRout[0]]) || (0,lodash.isEmpty)(highlightedSlotRout)) {
			return;
		}

		$inventories[highlightedSlotRout[0]].forEach((item, index) => {
			set_store_value(inventories, $inventories[highlightedSlotRout[0]][index].highlight = false, $inventories);
		});

		highlightedSlotRout = [];
		$$invalidate(6, highlightActive = false);
	};

	const handleError = () => {
		if (!(0,lodash.isNil)(imageNode)) {
			$$invalidate(0, imageNode.src = `${cdn_CDN_URL_RODINA}/assets/images/inventory/vehicles/512/none.webp`, imageNode);
		}
	};

	const setHighlight = () => {
		if ((0,lodash.isEmpty)($inventoryCurrentItem)) {
			return;
		}

		if ($inventoryCurrentItem.inventoryId !== BLOCK_TYPE.BLOCK_TYPE_MENU) {
			return;
		}

		let highlitedIndex = -1;

		switch ($inventoryCurrentItem.item.item_type) {
			case ITEM_TYPES.ITEM_TYPE_TECH_TUNING:
				highlitedIndex = $inventories[BLOCK_TYPE.BLOCK_TYPE_TECH_TUNING].findIndex(techTinungItem => (0,lodash.isNil)(techTinungItem.item));
				if (highlitedIndex > -1) {
					set_store_value(inventories, $inventories[BLOCK_TYPE.BLOCK_TYPE_TECH_TUNING][highlitedIndex].highlight = true, $inventories);
				} else {
					set_store_value(inventories, $inventories[BLOCK_TYPE.BLOCK_TYPE_TECH_TUNING][$inventoryCurrentItem.item.acs_slot].highlight = true, $inventories);
				}
				highlightedSlotRout = [BLOCK_TYPE.BLOCK_TYPE_TECH_TUNING, highlitedIndex];
				break;
			case ITEM_TYPES.ITEM_TYPE_VISUAL_TUNING:
				highlitedIndex = $inventories[BLOCK_TYPE.BLOCK_TYPE_VISUAL_TUNING].findIndex(visualTinungItem => (0,lodash.isNil)(visualTinungItem.item));
				if (highlitedIndex > -1) {
					set_store_value(inventories, $inventories[BLOCK_TYPE.BLOCK_TYPE_VISUAL_TUNING][highlitedIndex].highlight = true, $inventories);
					highlightedSlotRout = [BLOCK_TYPE.BLOCK_TYPE_VISUAL_TUNING, highlitedIndex];
				} else {
					set_store_value(inventories, $inventories[BLOCK_TYPE.BLOCK_TYPE_VISUAL_TUNING][$inventoryCurrentItem.item.acs_slot].highlight = true, $inventories);

					highlightedSlotRout = [
						BLOCK_TYPE.BLOCK_TYPE_VISUAL_TUNING,
						$inventoryCurrentItem.item.acs_slot
					];
				}
				break;
			case ITEM_TYPES.ITEM_TYPE_VEH_ACCESSORIES:
				if ($inventoryCurrentItem.item.acs_slot > -1) {
					highlitedIndex = $inventories[BLOCK_TYPE.BLOCK_TYPE_VISUAL_TUNING].findIndex(techTinungItem => (0,lodash.isNil)(techTinungItem.item));

					if (highlitedIndex > -1) {
						set_store_value(inventories, $inventories[BLOCK_TYPE.BLOCK_TYPE_VISUAL_TUNING][highlitedIndex].highlight = true, $inventories);
						highlightedSlotRout = [BLOCK_TYPE.BLOCK_TYPE_VISUAL_TUNING, highlitedIndex];
					} else {
						set_store_value(inventories, $inventories[BLOCK_TYPE.BLOCK_TYPE_VISUAL_TUNING][$inventoryCurrentItem.item.acs_slot].highlight = true, $inventories);

						highlightedSlotRout = [
							BLOCK_TYPE.BLOCK_TYPE_VISUAL_TUNING,
							$inventoryCurrentItem.item.acs_slot
						];
					}
				}
				break;
			case ITEM_TYPES.ITEM_TYPE_VEH_SKIN:
				highlightedSlotRout = [BLOCK_TYPE.BLOCK_TYPE_VEH_SKIN];
				set_store_value(inventories, $inventories[BLOCK_TYPE.BLOCK_TYPE_VEH_SKIN][$inventoryCurrentItem.item.acs_slot + 1].highlight = true, $inventories);
				break;
			case ITEM_TYPES.ITEM_TYPE_VEH_NUMBER:
				highlightedSlotRout = [BLOCK_TYPE.BLOCK_TYPE_VEH_NUMBER];
				set_store_value(inventories, $inventories[BLOCK_TYPE.BLOCK_TYPE_VEH_NUMBER][$inventoryCurrentItem.item.acs_slot].highlight = true, $inventories);
				break;
			default:
				break;
		} // acs_slot -1
	};

	onDestroy(() => {
		resetSlotsState(BLOCK_TYPE.BLOCK_TYPE_VEH_SKIN);

		// resetSlotsState(BLOCK_TYPE.BLOCK_TYPE_VEH_MODIFICATION);
		resetSlotsState(BLOCK_TYPE.BLOCK_TYPE_VEH_NUMBER);

		clearHighlight();
	});

	function img_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			imageNode = $$value;
			$$invalidate(0, imageNode);
		});
	}

	const func = () => sendClientMessage('inventory.carInfo');
	const click_handler = () => sendClientMessage('inventory.oilInfo');
	const click_handler_1 = () => sendClientMessage('inventory.engineInfo');

	$$self.$$set = $$props => {
		if ('resetSlotsState' in $$props) $$invalidate(5, resetSlotsState = $$props.resetSlotsState);
	};

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*$inventoryCurrentItem, $infoData, highlightActive*/ 448) {
			$: {
				if ((0,lodash.isEmpty)($inventoryCurrentItem)) {
					clearHighlight();
				}

				if (!(0,lodash.isEmpty)($infoData) && $inventoryCurrentItem.status === DndStatuses.ContextMenuInteraction) {
					setHighlight();
				}

				if (!(0,lodash.isEmpty)($inventoryCurrentItem) && $inventoryCurrentItem.status === DndStatuses.Drag && !highlightActive) {
					$$invalidate(6, highlightActive = true);
					setHighlight();
				}
			}
		}
	};

	return [
		imageNode,
		$inventories,
		$additionalInfo,
		clearHighlight,
		handleError,
		resetSlotsState,
		highlightActive,
		$inventoryCurrentItem,
		$infoData,
		img_binding,
		func,
		click_handler,
		click_handler_1
	];
}

class Vehicle extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, vehicle_index_svelte_instance, vehicle_index_svelte_create_fragment, safe_not_equal, { resetSlotsState: 5 }, vehicle_index_svelte_add_css);
	}
}

/* harmony default export */ const vehicle_index_svelte = (Vehicle);
;// CONCATENATED MODULE: ./src/views/inventory/components/character/components/warehouse/index.svelte
/* src\views\inventory\components\character\components\warehouse\index.svelte generated by Svelte v3.49.0 */










function warehouse_index_svelte_add_css(target) {
	append_styles(target, "svelte-1qni0mb", "@keyframes svelte-1qni0mb-blinking{50%{opacity:0}}@keyframes svelte-1qni0mb-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1qni0mb-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1qni0mb-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1qni0mb-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1qni0mb-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1qni0mb-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1qni0mb-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1qni0mb-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1qni0mb-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1qni0mb-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1qni0mb-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1qni0mb-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1qni0mb-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1qni0mb-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.warehouse.svelte-1qni0mb{background-color:rgba(19, 21, 22, 0.95);overflow:hidden;border-bottm-left-radius:calc(0.0052083333 * 100vw + 0px);border-bottm-right-radius:calc(0.0052083333 * 100vw + 0px);padding-top:calc(0.0078125 * 100vw + 0px);padding-left:calc(0.0052083333 * 100vw + 0px);padding-right:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.warehouse.svelte-1qni0mb{border-bottm-left-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.warehouse.svelte-1qni0mb{border-bottm-left-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.warehouse.svelte-1qni0mb{border-bottm-left-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.warehouse.svelte-1qni0mb{border-bottm-left-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.warehouse.svelte-1qni0mb{border-bottm-left-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.warehouse.svelte-1qni0mb{border-bottm-left-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.warehouse.svelte-1qni0mb{border-bottm-left-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.warehouse.svelte-1qni0mb{border-bottm-right-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.warehouse.svelte-1qni0mb{border-bottm-right-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.warehouse.svelte-1qni0mb{border-bottm-right-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.warehouse.svelte-1qni0mb{border-bottm-right-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.warehouse.svelte-1qni0mb{border-bottm-right-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.warehouse.svelte-1qni0mb{border-bottm-right-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.warehouse.svelte-1qni0mb{border-bottm-right-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.warehouse.svelte-1qni0mb{padding-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.warehouse.svelte-1qni0mb{padding-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.warehouse.svelte-1qni0mb{padding-top:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.warehouse.svelte-1qni0mb{padding-top:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.warehouse.svelte-1qni0mb{padding-top:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.warehouse.svelte-1qni0mb{padding-top:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.warehouse.svelte-1qni0mb{padding-top:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.warehouse.svelte-1qni0mb{padding-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.warehouse.svelte-1qni0mb{padding-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.warehouse.svelte-1qni0mb{padding-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.warehouse.svelte-1qni0mb{padding-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.warehouse.svelte-1qni0mb{padding-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.warehouse.svelte-1qni0mb{padding-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.warehouse.svelte-1qni0mb{padding-left:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.warehouse.svelte-1qni0mb{padding-right:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.warehouse.svelte-1qni0mb{padding-right:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.warehouse.svelte-1qni0mb{padding-right:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.warehouse.svelte-1qni0mb{padding-right:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.warehouse.svelte-1qni0mb{padding-right:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.warehouse.svelte-1qni0mb{padding-right:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.warehouse.svelte-1qni0mb{padding-right:calc(0.0028645833 * 100vw + 0px)}}.warehouse__grid.svelte-1qni0mb{height:98%;width:100%;overflow:auto;max-height:calc(0.3229166667 * 100vw + 0px);margin-bottom:calc(0.0052083333 * 100vw + 0px);padding-right:calc(0.0052083333 * 100vw + 0px);max-height:calc(0.3776041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.warehouse__grid.svelte-1qni0mb{max-height:calc(0.3229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.warehouse__grid.svelte-1qni0mb{max-height:calc(0.3229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.warehouse__grid.svelte-1qni0mb{max-height:calc(0.2486458333 * 100vw + 0px)}}@media(min-width: 3440px){.warehouse__grid.svelte-1qni0mb{max-height:calc(0.3552083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.warehouse__grid.svelte-1qni0mb{max-height:calc(0.2260416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.warehouse__grid.svelte-1qni0mb{max-height:calc(0.290625 * 100vw + 0px)}}@media(min-width: 4096px){.warehouse__grid.svelte-1qni0mb{max-height:calc(0.3552083333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.warehouse__grid.svelte-1qni0mb{margin-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.warehouse__grid.svelte-1qni0mb{margin-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.warehouse__grid.svelte-1qni0mb{margin-bottom:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.warehouse__grid.svelte-1qni0mb{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.warehouse__grid.svelte-1qni0mb{margin-bottom:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.warehouse__grid.svelte-1qni0mb{margin-bottom:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.warehouse__grid.svelte-1qni0mb{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.warehouse__grid.svelte-1qni0mb{padding-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.warehouse__grid.svelte-1qni0mb{padding-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.warehouse__grid.svelte-1qni0mb{padding-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.warehouse__grid.svelte-1qni0mb{padding-right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.warehouse__grid.svelte-1qni0mb{padding-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.warehouse__grid.svelte-1qni0mb{padding-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.warehouse__grid.svelte-1qni0mb{padding-right:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.warehouse__grid.svelte-1qni0mb{max-height:calc(0.3776041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.warehouse__grid.svelte-1qni0mb{max-height:calc(0.3776041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.warehouse__grid.svelte-1qni0mb{max-height:calc(0.2907552083 * 100vw + 0px)}}@media(min-width: 3440px){.warehouse__grid.svelte-1qni0mb{max-height:calc(0.4153645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.warehouse__grid.svelte-1qni0mb{max-height:calc(0.2643229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.warehouse__grid.svelte-1qni0mb{max-height:calc(0.33984375 * 100vw + 0px)}}@media(min-width: 4096px){.warehouse__grid.svelte-1qni0mb{max-height:calc(0.4153645833 * 100vw + 0px)}}.warehouse__grid.svelte-1qni0mb::-webkit-scrollbar{height:0;width:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.warehouse__grid.svelte-1qni0mb::-webkit-scrollbar{width:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.warehouse__grid.svelte-1qni0mb::-webkit-scrollbar{width:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.warehouse__grid.svelte-1qni0mb::-webkit-scrollbar{width:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.warehouse__grid.svelte-1qni0mb::-webkit-scrollbar{width:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.warehouse__grid.svelte-1qni0mb::-webkit-scrollbar{width:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.warehouse__grid.svelte-1qni0mb::-webkit-scrollbar{width:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.warehouse__grid.svelte-1qni0mb::-webkit-scrollbar{width:calc(0.0045833333 * 100vw + 0px)}}.warehouse__grid.svelte-1qni0mb::-webkit-scrollbar-button{display:none}.warehouse__grid.svelte-1qni0mb::-webkit-scrollbar-track{background-color:rgba(0, 0, 0, 0.5)}.warehouse__grid.svelte-1qni0mb::-webkit-scrollbar-track-piece{background:rgba(0, 0, 0, 0.5);border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.warehouse__grid.svelte-1qni0mb::-webkit-scrollbar-track-piece{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.warehouse__grid.svelte-1qni0mb::-webkit-scrollbar-track-piece{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.warehouse__grid.svelte-1qni0mb::-webkit-scrollbar-track-piece{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.warehouse__grid.svelte-1qni0mb::-webkit-scrollbar-track-piece{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.warehouse__grid.svelte-1qni0mb::-webkit-scrollbar-track-piece{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.warehouse__grid.svelte-1qni0mb::-webkit-scrollbar-track-piece{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.warehouse__grid.svelte-1qni0mb::-webkit-scrollbar-track-piece{border-radius:calc(0.0028645833 * 100vw + 0px)}}.warehouse__grid.svelte-1qni0mb::-webkit-scrollbar-thumb{background:rgba(255, 255, 255, 0.75);border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.warehouse__grid.svelte-1qni0mb::-webkit-scrollbar-thumb{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.warehouse__grid.svelte-1qni0mb::-webkit-scrollbar-thumb{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.warehouse__grid.svelte-1qni0mb::-webkit-scrollbar-thumb{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.warehouse__grid.svelte-1qni0mb::-webkit-scrollbar-thumb{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.warehouse__grid.svelte-1qni0mb::-webkit-scrollbar-thumb{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.warehouse__grid.svelte-1qni0mb::-webkit-scrollbar-thumb{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.warehouse__grid.svelte-1qni0mb::-webkit-scrollbar-thumb{border-radius:calc(0.0028645833 * 100vw + 0px)}}.warehouse__grid.svelte-1qni0mb::-webkit-scrollbar-corner{background-color:rgba(0, 0, 0, 0.5)}.warehouse__grid.svelte-1qni0mb::-webkit-resizer{background-color:rgba(0, 0, 0, 0.5)}.warehouse__money.svelte-1qni0mb{padding:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.warehouse__money.svelte-1qni0mb{padding:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.warehouse__money.svelte-1qni0mb{padding:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.warehouse__money.svelte-1qni0mb{padding:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.warehouse__money.svelte-1qni0mb{padding:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.warehouse__money.svelte-1qni0mb{padding:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.warehouse__money.svelte-1qni0mb{padding:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.warehouse__money.svelte-1qni0mb{padding:calc(0.0028645833 * 100vw + 0px)}}.warehouse__balance.svelte-1qni0mb{display:flex;align-items:stretch;justify-content:space-between;height:calc(0.021875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.warehouse__balance.svelte-1qni0mb{height:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.warehouse__balance.svelte-1qni0mb{height:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.warehouse__balance.svelte-1qni0mb{height:calc(0.01684375 * 100vw + 0px)}}@media(min-width: 3440px){.warehouse__balance.svelte-1qni0mb{height:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.warehouse__balance.svelte-1qni0mb{height:calc(0.0153125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.warehouse__balance.svelte-1qni0mb{height:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 4096px){.warehouse__balance.svelte-1qni0mb{height:calc(0.0240625 * 100vw + 0px)}}.warehouse__balance-caption.svelte-1qni0mb{color:rgba(255, 255, 255, 0.5);font-family:\"HeadingNowRegular\";font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.warehouse__balance-caption.svelte-1qni0mb{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.warehouse__balance-caption.svelte-1qni0mb{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.warehouse__balance-caption.svelte-1qni0mb{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.warehouse__balance-caption.svelte-1qni0mb{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.warehouse__balance-caption.svelte-1qni0mb{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.warehouse__balance-caption.svelte-1qni0mb{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.warehouse__balance-caption.svelte-1qni0mb{font-size:calc(0.0080208333 * 100vw + 0px)}}.warehouse__balance-value-wrapper.svelte-1qni0mb{align-items:center;display:flex;gap:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.warehouse__balance-value-wrapper.svelte-1qni0mb{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.warehouse__balance-value-wrapper.svelte-1qni0mb{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.warehouse__balance-value-wrapper.svelte-1qni0mb{gap:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.warehouse__balance-value-wrapper.svelte-1qni0mb{gap:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.warehouse__balance-value-wrapper.svelte-1qni0mb{gap:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.warehouse__balance-value-wrapper.svelte-1qni0mb{gap:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.warehouse__balance-value-wrapper.svelte-1qni0mb{gap:calc(0.0028645833 * 100vw + 0px)}}.warehouse__balance-icon.svelte-1qni0mb{color:#95FF00}.warehouse__balance-value.svelte-1qni0mb{color:#FFFFFF;font-family:\"HeadingNowBold\";font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.warehouse__balance-value.svelte-1qni0mb{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.warehouse__balance-value.svelte-1qni0mb{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.warehouse__balance-value.svelte-1qni0mb{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.warehouse__balance-value.svelte-1qni0mb{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.warehouse__balance-value.svelte-1qni0mb{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.warehouse__balance-value.svelte-1qni0mb{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.warehouse__balance-value.svelte-1qni0mb{font-size:calc(0.0103125 * 100vw + 0px)}}.warehouse__controls.svelte-1qni0mb{display:flex;gap:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.warehouse__controls.svelte-1qni0mb{gap:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.warehouse__controls.svelte-1qni0mb{gap:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.warehouse__controls.svelte-1qni0mb{gap:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.warehouse__controls.svelte-1qni0mb{gap:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.warehouse__controls.svelte-1qni0mb{gap:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.warehouse__controls.svelte-1qni0mb{gap:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.warehouse__controls.svelte-1qni0mb{gap:calc(0.0045833333 * 100vw + 0px)}}.warehouse__control.svelte-1qni0mb{display:flex;align-items:center;background-color:#1B1B1B;gap:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.warehouse__control.svelte-1qni0mb{gap:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.warehouse__control.svelte-1qni0mb{gap:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.warehouse__control.svelte-1qni0mb{gap:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.warehouse__control.svelte-1qni0mb{gap:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.warehouse__control.svelte-1qni0mb{gap:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.warehouse__control.svelte-1qni0mb{gap:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.warehouse__control.svelte-1qni0mb{gap:calc(0.006875 * 100vw + 0px)}}");
}

// (934:4) {#if $warehouseTypeId === BLOCK_TYPE.BLOCK_TYPE_HOUSE}
function warehouse_index_svelte_create_if_block(ctx) {
	let div8;
	let div7;
	let div3;
	let div0;
	let t1;
	let div2;
	let i;
	let t2;
	let div1;
	let t3_value = formatMoney(/*$additionalInfo*/ ctx[3].money || 0) + "";
	let t3;
	let t4;
	let div6;
	let div4;
	let inventorybutton0;
	let t5;
	let div5;
	let inventorybutton1;
	let current;

	inventorybutton0 = new inventory_button_index_svelte({
			props: {
				icon: 'plus',
				text: 'Пополнить',
				onClick: /*func*/ ctx[4]
			}
		});

	inventorybutton1 = new inventory_button_index_svelte({
			props: {
				icon: 'minus',
				text: 'Снять',
				onClick: /*func_1*/ ctx[5]
			}
		});

	return {
		c() {
			div8 = internal_element("div");
			div7 = internal_element("div");
			div3 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "В шкафу:";
			t1 = space();
			div2 = internal_element("div");
			i = internal_element("i");
			t2 = space();
			div1 = internal_element("div");
			t3 = internal_text(t3_value);
			t4 = space();
			div6 = internal_element("div");
			div4 = internal_element("div");
			create_component(inventorybutton0.$$.fragment);
			t5 = space();
			div5 = internal_element("div");
			create_component(inventorybutton1.$$.fragment);
			attr(div0, "class", "warehouse__balance-caption svelte-1qni0mb");
			attr(i, "class", "warehouse__balance-icon icon-dollar svelte-1qni0mb");
			attr(div1, "class", "warehouse__balance-value svelte-1qni0mb");
			attr(div2, "class", "warehouse__balance-value-wrapper svelte-1qni0mb");
			attr(div3, "class", "warehouse__balance-wrapper");
			attr(div4, "class", "warehouse__control svelte-1qni0mb");
			attr(div5, "class", "warehouse__control svelte-1qni0mb");
			attr(div6, "class", "warehouse__controls svelte-1qni0mb");
			attr(div7, "class", "warehouse__balance svelte-1qni0mb");
			attr(div8, "class", "warehouse__money svelte-1qni0mb");
		},
		m(target, anchor) {
			insert(target, div8, anchor);
			append(div8, div7);
			append(div7, div3);
			append(div3, div0);
			append(div3, t1);
			append(div3, div2);
			append(div2, i);
			append(div2, t2);
			append(div2, div1);
			append(div1, t3);
			append(div7, t4);
			append(div7, div6);
			append(div6, div4);
			mount_component(inventorybutton0, div4, null);
			append(div6, t5);
			append(div6, div5);
			mount_component(inventorybutton1, div5, null);
			current = true;
		},
		p(ctx, dirty) {
			if ((!current || dirty & /*$additionalInfo*/ 8) && t3_value !== (t3_value = formatMoney(/*$additionalInfo*/ ctx[3].money || 0) + "")) set_data(t3, t3_value);
		},
		i(local) {
			if (current) return;
			transition_in(inventorybutton0.$$.fragment, local);
			transition_in(inventorybutton1.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(inventorybutton0.$$.fragment, local);
			transition_out(inventorybutton1.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div8);
			destroy_component(inventorybutton0);
			destroy_component(inventorybutton1);
		}
	};
}

function warehouse_index_svelte_create_fragment(ctx) {
	let div1;
	let div0;
	let inventorygrid;
	let t;
	let current;

	inventorygrid = new inventory_grid_index_svelte({
			props: {
				items: /*$inventories*/ ctx[1][/*$warehouseTypeId*/ ctx[0]],
				slotsCount: /*counts*/ ctx[2],
				inventoryId: /*$warehouseTypeId*/ ctx[0],
				columnsCount: 5,
				fillWholeColumn: false
			}
		});

	let if_block = /*$warehouseTypeId*/ ctx[0] === BLOCK_TYPE.BLOCK_TYPE_HOUSE && warehouse_index_svelte_create_if_block(ctx);

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			create_component(inventorygrid.$$.fragment);
			t = space();
			if (if_block) if_block.c();
			attr(div0, "class", "warehouse__grid svelte-1qni0mb");
			attr(div1, "class", "warehouse svelte-1qni0mb");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			mount_component(inventorygrid, div0, null);
			append(div1, t);
			if (if_block) if_block.m(div1, null);
			current = true;
		},
		p(ctx, [dirty]) {
			const inventorygrid_changes = {};
			if (dirty & /*$inventories, $warehouseTypeId*/ 3) inventorygrid_changes.items = /*$inventories*/ ctx[1][/*$warehouseTypeId*/ ctx[0]];
			if (dirty & /*counts*/ 4) inventorygrid_changes.slotsCount = /*counts*/ ctx[2];
			if (dirty & /*$warehouseTypeId*/ 1) inventorygrid_changes.inventoryId = /*$warehouseTypeId*/ ctx[0];
			inventorygrid.$set(inventorygrid_changes);

			if (/*$warehouseTypeId*/ ctx[0] === BLOCK_TYPE.BLOCK_TYPE_HOUSE) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*$warehouseTypeId*/ 1) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = warehouse_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(div1, null);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(inventorygrid.$$.fragment, local);
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(inventorygrid.$$.fragment, local);
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			destroy_component(inventorygrid);
			if (if_block) if_block.d();
		}
	};
}

function warehouse_index_svelte_instance($$self, $$props, $$invalidate) {
	let $warehouseTypeId;
	let $inventories;
	let $additionalInfo;
	component_subscribe($$self, warehouseTypeId, $$value => $$invalidate(0, $warehouseTypeId = $$value));
	component_subscribe($$self, inventories, $$value => $$invalidate(1, $inventories = $$value));
	component_subscribe($$self, additionalInfo, $$value => $$invalidate(3, $additionalInfo = $$value));
	let counts = 45;

	onDestroy(() => {
		set_store_value(inventories, $inventories[$warehouseTypeId] = null, $inventories);
	});

	const func = () => sendClientMessage('inventory.warehouse.putmoney');
	const func_1 = () => sendClientMessage('inventory.warehouse.takemoney');

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*$inventories, $warehouseTypeId*/ 3) {
			$: {
				$$invalidate(2, counts = $inventories[$warehouseTypeId].length);
			}
		}
	};

	return [$warehouseTypeId, $inventories, counts, $additionalInfo, func, func_1];
}

class Warehouse extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, warehouse_index_svelte_instance, warehouse_index_svelte_create_fragment, safe_not_equal, {}, warehouse_index_svelte_add_css);
	}
}

/* harmony default export */ const warehouse_index_svelte = (Warehouse);
;// CONCATENATED MODULE: ./src/views/inventory/components/character/constants.js
var _MAP_BIT_TO_ICON, _MAP_BIT_TO_TAB_NAME, _MAP_BIT_TO_NAME;
function character_constants_typeof(o) { "@babel/helpers - typeof"; return character_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, character_constants_typeof(o); }
function character_constants_defineProperty(e, r, t) { return (r = character_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function character_constants_toPropertyKey(t) { var i = character_constants_toPrimitive(t, "string"); return "symbol" == character_constants_typeof(i) ? i : i + ""; }
function character_constants_toPrimitive(t, r) { if ("object" != character_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != character_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }





var constants_NavigationTabs = {
  Character: 'character',
  Guard: 'security',
  Vehicle: 'vehicle',
  Warehouse: 'warehouse'
};
var constants_LoadoutTabs = {
  Accessories: 'accessories',
  Improvements: 'improvements'
};
var MAP_TAB_ID_TO_COMPONENT = character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty({}, constants_NavigationTabs.Character, character_components_main_index_svelte), constants_NavigationTabs.Guard, guard_index_svelte), constants_NavigationTabs.Vehicle, vehicle_index_svelte), constants_NavigationTabs.Warehouse, warehouse_index_svelte);
var MAP_BIT_TO_ICON = (_MAP_BIT_TO_ICON = {}, character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(_MAP_BIT_TO_ICON, BUTTONS_BITS.Inventory, 'icon-person'), BUTTONS_BITS.CarInventory, 'icon-vehicle'), BUTTONS_BITS.Trash, 'icon-drop'), BUTTONS_BITS.Trunk, 'icon-trunk'), BUTTONS_BITS.House, 'icon-clothes'), BUTTONS_BITS.Drawer, 'icon-clothes'), BUTTONS_BITS.Ship, 'icon-clothes'), BUTTONS_BITS.Camper, 'icon-clothes'), BUTTONS_BITS.BankVault, 'icon-clothes'), BUTTONS_BITS.FractionWarehouse, 'icon-clothes'), character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(_MAP_BIT_TO_ICON, BUTTONS_BITS.FamilyWarehouse, 'icon-clothes'), BUTTONS_BITS.GardeningBarn, 'icon-clothes'), BUTTONS_BITS.Garage, 'icon-clothes'), BUTTONS_BITS.Security, 'icon-shield'), BUTTONS_BITS.Cars, 'icon-clothes'), BUTTONS_BITS.Biz, 'icon-clothes'), BUTTONS_BITS.Houses, 'icon-clothes'), BUTTONS_BITS.Trailer, 'icon-clothes'));
var MAP_BIT_TO_TAB_NAME = (_MAP_BIT_TO_TAB_NAME = {}, character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(_MAP_BIT_TO_TAB_NAME, BUTTONS_BITS.Inventory, constants_NavigationTabs.Character), BUTTONS_BITS.CarInventory, constants_NavigationTabs.Vehicle), BUTTONS_BITS.Trash, constants_NavigationTabs.Warehouse), BUTTONS_BITS.Trunk, constants_NavigationTabs.Warehouse), BUTTONS_BITS.House, constants_NavigationTabs.Warehouse), BUTTONS_BITS.Drawer, constants_NavigationTabs.Warehouse), BUTTONS_BITS.Ship, constants_NavigationTabs.Warehouse), BUTTONS_BITS.Camper, constants_NavigationTabs.Warehouse), BUTTONS_BITS.BankVault, constants_NavigationTabs.Warehouse), BUTTONS_BITS.FractionWarehouse, constants_NavigationTabs.Warehouse), character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(_MAP_BIT_TO_TAB_NAME, BUTTONS_BITS.FamilyWarehouse, constants_NavigationTabs.Warehouse), BUTTONS_BITS.GardeningBarn, constants_NavigationTabs.Warehouse), BUTTONS_BITS.Garage, constants_NavigationTabs.Warehouse), BUTTONS_BITS.Security, constants_NavigationTabs.Guard), BUTTONS_BITS.Cars, constants_NavigationTabs.Warehouse), BUTTONS_BITS.Biz, constants_NavigationTabs.Warehouse), BUTTONS_BITS.Houses, constants_NavigationTabs.Warehouse), BUTTONS_BITS.Trailer, constants_NavigationTabs.Warehouse));
var MAP_BIT_TO_NAME = (_MAP_BIT_TO_NAME = {}, character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(_MAP_BIT_TO_NAME, BUTTONS_BITS.Inventory, 'Персонаж'), BUTTONS_BITS.CarInventory, 'Транспорт'), BUTTONS_BITS.Chest, 'Сундук'), BUTTONS_BITS.HotelRoom, 'Шкаф'), BUTTONS_BITS.Trunk, 'Багажник'), BUTTONS_BITS.FamFlat, 'Общак'), BUTTONS_BITS.House, 'Шкаф'), BUTTONS_BITS.Trailer, 'Шкаф'), BUTTONS_BITS.Storehouse, 'Склад'), BUTTONS_BITS.Pawnshop, 'Меню ломбарда'), character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(character_constants_defineProperty(_MAP_BIT_TO_NAME, BUTTONS_BITS.Trash, 'Мусорка'), BUTTONS_BITS.Security, 'Охранники'), BUTTONS_BITS.Cars, 'Мой транспорт'), BUTTONS_BITS.Biz, 'Мои бизнесы'), BUTTONS_BITS.Houses, 'Мои дома'), BUTTONS_BITS.SocialHouse, 'Мусорный пакет'));
;// CONCATENATED MODULE: ./src/views/inventory/components/character/index.svelte
/* src\views\inventory\components\character\index.svelte generated by Svelte v3.49.0 */













function character_index_svelte_add_css(target) {
	append_styles(target, "svelte-11mvvzu", "@keyframes svelte-11mvvzu-blinking{50%{opacity:0}}@keyframes svelte-11mvvzu-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-11mvvzu-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-11mvvzu-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-11mvvzu-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-11mvvzu-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-11mvvzu-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-11mvvzu-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-11mvvzu-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-11mvvzu-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-11mvvzu-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-11mvvzu-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-11mvvzu-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-11mvvzu-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-11mvvzu-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.character.svelte-11mvvzu{position:relative;background-color:#131516;display:flex;flex-direction:column;height:fit-content;border-bottom-left-radius:calc(0.0052083333 * 100vw + 0px);border-bottom-right-radius:calc(0.0052083333 * 100vw + 0px);padding-bottom:calc(0.0052083333 * 100vw + 0px);width:calc(0.25 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.character.svelte-11mvvzu{border-bottom-left-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character.svelte-11mvvzu{border-bottom-left-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character.svelte-11mvvzu{border-bottom-left-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.character.svelte-11mvvzu{border-bottom-left-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character.svelte-11mvvzu{border-bottom-left-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character.svelte-11mvvzu{border-bottom-left-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.character.svelte-11mvvzu{border-bottom-left-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.character.svelte-11mvvzu{border-bottom-right-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character.svelte-11mvvzu{border-bottom-right-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character.svelte-11mvvzu{border-bottom-right-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.character.svelte-11mvvzu{border-bottom-right-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character.svelte-11mvvzu{border-bottom-right-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character.svelte-11mvvzu{border-bottom-right-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.character.svelte-11mvvzu{border-bottom-right-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.character.svelte-11mvvzu{padding-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character.svelte-11mvvzu{padding-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character.svelte-11mvvzu{padding-bottom:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.character.svelte-11mvvzu{padding-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character.svelte-11mvvzu{padding-bottom:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character.svelte-11mvvzu{padding-bottom:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.character.svelte-11mvvzu{padding-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.character.svelte-11mvvzu{width:calc(0.25 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character.svelte-11mvvzu{width:calc(0.25 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character.svelte-11mvvzu{width:calc(0.1925 * 100vw + 0px)}}@media(min-width: 3440px){.character.svelte-11mvvzu{width:calc(0.275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character.svelte-11mvvzu{width:calc(0.175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character.svelte-11mvvzu{width:calc(0.225 * 100vw + 0px)}}@media(min-width: 4096px){.character.svelte-11mvvzu{width:calc(0.275 * 100vw + 0px)}}.character__tabs-navigation.svelte-11mvvzu{position:absolute;left:0;transform:translateX(-100%);top:calc(0.0864583333 * 100vw + 0px);width:calc(0.0270833333 * 100vw + 0px);height:calc(0.0833333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.character__tabs-navigation.svelte-11mvvzu{top:calc(0.0864583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character__tabs-navigation.svelte-11mvvzu{top:calc(0.0864583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character__tabs-navigation.svelte-11mvvzu{top:calc(0.0665729167 * 100vw + 0px)}}@media(min-width: 3440px){.character__tabs-navigation.svelte-11mvvzu{top:calc(0.0951041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character__tabs-navigation.svelte-11mvvzu{top:calc(0.0605208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character__tabs-navigation.svelte-11mvvzu{top:calc(0.0778125 * 100vw + 0px)}}@media(min-width: 4096px){.character__tabs-navigation.svelte-11mvvzu{top:calc(0.0951041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.character__tabs-navigation.svelte-11mvvzu{width:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character__tabs-navigation.svelte-11mvvzu{width:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character__tabs-navigation.svelte-11mvvzu{width:calc(0.0208541667 * 100vw + 0px)}}@media(min-width: 3440px){.character__tabs-navigation.svelte-11mvvzu{width:calc(0.0297916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character__tabs-navigation.svelte-11mvvzu{width:calc(0.0189583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character__tabs-navigation.svelte-11mvvzu{width:calc(0.024375 * 100vw + 0px)}}@media(min-width: 4096px){.character__tabs-navigation.svelte-11mvvzu{width:calc(0.0297916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.character__tabs-navigation.svelte-11mvvzu{height:calc(0.0833333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character__tabs-navigation.svelte-11mvvzu{height:calc(0.0833333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character__tabs-navigation.svelte-11mvvzu{height:calc(0.0641666667 * 100vw + 0px)}}@media(min-width: 3440px){.character__tabs-navigation.svelte-11mvvzu{height:calc(0.0916666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character__tabs-navigation.svelte-11mvvzu{height:calc(0.0583333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character__tabs-navigation.svelte-11mvvzu{height:calc(0.075 * 100vw + 0px)}}@media(min-width: 4096px){.character__tabs-navigation.svelte-11mvvzu{height:calc(0.0916666667 * 100vw + 0px)}}.character__tab-navigation-item.svelte-11mvvzu{background-color:rgba(19, 21, 22, 0.95);color:#FFFFFF;display:flex;align-items:center;justify-content:center;transition:0.14s ease-out;transition-property:background-color color;margin-bottom:calc(0.0010416667 * 100vw + 0px);width:calc(0.0270833333 * 100vw + 0px);height:calc(0.0270833333 * 100vw + 0px);border-top-left-radius:calc(0.0052083333 * 100vw + 0px);border-bottom-left-radius:calc(0.0052083333 * 100vw + 0px);font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.character__tab-navigation-item.svelte-11mvvzu{margin-bottom:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character__tab-navigation-item.svelte-11mvvzu{margin-bottom:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character__tab-navigation-item.svelte-11mvvzu{margin-bottom:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.character__tab-navigation-item.svelte-11mvvzu{margin-bottom:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character__tab-navigation-item.svelte-11mvvzu{margin-bottom:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character__tab-navigation-item.svelte-11mvvzu{margin-bottom:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.character__tab-navigation-item.svelte-11mvvzu{margin-bottom:calc(0.0011458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.character__tab-navigation-item.svelte-11mvvzu{width:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character__tab-navigation-item.svelte-11mvvzu{width:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character__tab-navigation-item.svelte-11mvvzu{width:calc(0.0208541667 * 100vw + 0px)}}@media(min-width: 3440px){.character__tab-navigation-item.svelte-11mvvzu{width:calc(0.0297916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character__tab-navigation-item.svelte-11mvvzu{width:calc(0.0189583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character__tab-navigation-item.svelte-11mvvzu{width:calc(0.024375 * 100vw + 0px)}}@media(min-width: 4096px){.character__tab-navigation-item.svelte-11mvvzu{width:calc(0.0297916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.character__tab-navigation-item.svelte-11mvvzu{height:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character__tab-navigation-item.svelte-11mvvzu{height:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character__tab-navigation-item.svelte-11mvvzu{height:calc(0.0208541667 * 100vw + 0px)}}@media(min-width: 3440px){.character__tab-navigation-item.svelte-11mvvzu{height:calc(0.0297916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character__tab-navigation-item.svelte-11mvvzu{height:calc(0.0189583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character__tab-navigation-item.svelte-11mvvzu{height:calc(0.024375 * 100vw + 0px)}}@media(min-width: 4096px){.character__tab-navigation-item.svelte-11mvvzu{height:calc(0.0297916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.character__tab-navigation-item.svelte-11mvvzu{border-top-left-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character__tab-navigation-item.svelte-11mvvzu{border-top-left-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character__tab-navigation-item.svelte-11mvvzu{border-top-left-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.character__tab-navigation-item.svelte-11mvvzu{border-top-left-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character__tab-navigation-item.svelte-11mvvzu{border-top-left-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character__tab-navigation-item.svelte-11mvvzu{border-top-left-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.character__tab-navigation-item.svelte-11mvvzu{border-top-left-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.character__tab-navigation-item.svelte-11mvvzu{border-bottom-left-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character__tab-navigation-item.svelte-11mvvzu{border-bottom-left-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character__tab-navigation-item.svelte-11mvvzu{border-bottom-left-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.character__tab-navigation-item.svelte-11mvvzu{border-bottom-left-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character__tab-navigation-item.svelte-11mvvzu{border-bottom-left-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character__tab-navigation-item.svelte-11mvvzu{border-bottom-left-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.character__tab-navigation-item.svelte-11mvvzu{border-bottom-left-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.character__tab-navigation-item.svelte-11mvvzu{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.character__tab-navigation-item.svelte-11mvvzu{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.character__tab-navigation-item.svelte-11mvvzu{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.character__tab-navigation-item.svelte-11mvvzu{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.character__tab-navigation-item.svelte-11mvvzu{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.character__tab-navigation-item.svelte-11mvvzu{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.character__tab-navigation-item.svelte-11mvvzu{font-size:calc(0.0103125 * 100vw + 0px)}}.character__tab-navigation-item.svelte-11mvvzu:hover,.character__tab-navigation-item--active.svelte-11mvvzu{background-image:linear-gradient(90deg, #364B84 0%, #CC3048 100%)}");
}

function character_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[21] = list[i];
	return child_ctx;
}

// (751:12) {#if compareButtonBits(BITS, $buttonsBits)}
function character_index_svelte_create_if_block_2(ctx) {
	let div;
	let t;
	let i;
	let i_class_value;
	let current;
	let mounted;
	let dispose;
	let if_block = /*hovered*/ ctx[2] && character_index_svelte_create_if_block_3(ctx);

	function click_handler() {
		return /*click_handler*/ ctx[13](/*BITS*/ ctx[21]);
	}

	function mouseenter_handler() {
		return /*mouseenter_handler*/ ctx[14](/*BITS*/ ctx[21]);
	}

	function mouseleave_handler() {
		return /*mouseleave_handler*/ ctx[15](/*BITS*/ ctx[21]);
	}

	return {
		c() {
			div = internal_element("div");
			if (if_block) if_block.c();
			t = space();
			i = internal_element("i");
			attr(i, "class", i_class_value = "character__tab-navigation-item-icon " + MAP_BIT_TO_ICON[/*BITS*/ ctx[21]] + " svelte-11mvvzu");
			attr(div, "class", "character__tab-navigation-item svelte-11mvvzu");
			toggle_class(div, "character__tab-navigation-item--active", /*$characterInventorySelectedTab*/ ctx[6] === MAP_BIT_TO_TAB_NAME[/*BITS*/ ctx[21]]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block) if_block.m(div, null);
			append(div, t);
			append(div, i);
			current = true;

			if (!mounted) {
				dispose = [
					listen(div, "click", click_handler),
					listen(div, "mousemove", /*handleMouseMove*/ ctx[10]),
					listen(div, "mouseenter", mouseenter_handler),
					listen(div, "mouseleave", mouseleave_handler)
				];

				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (/*hovered*/ ctx[2]) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*hovered*/ 4) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = character_index_svelte_create_if_block_3(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(div, t);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}

			if (dirty & /*$characterInventorySelectedTab, MAP_BIT_TO_TAB_NAME, Object, BUTTONS_BITS*/ 64) {
				toggle_class(div, "character__tab-navigation-item--active", /*$characterInventorySelectedTab*/ ctx[6] === MAP_BIT_TO_TAB_NAME[/*BITS*/ ctx[21]]);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (if_block) if_block.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (760:20) {#if hovered}
function character_index_svelte_create_if_block_3(ctx) {
	let portal;
	let current;

	portal = new portal_svelte({
			props: {
				$$slots: { default: [character_index_svelte_create_default_slot_1] },
				$$scope: { ctx }
			}
		});

	return {
		c() {
			create_component(portal.$$.fragment);
		},
		m(target, anchor) {
			mount_component(portal, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const portal_changes = {};

			if (dirty & /*$$scope, left, top, itemName*/ 16777227) {
				portal_changes.$$scope = { dirty, ctx };
			}

			portal.$set(portal_changes);
		},
		i(local) {
			if (current) return;
			transition_in(portal.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(portal.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(portal, detaching);
		}
	};
}

// (761:24) <Portal>
function character_index_svelte_create_default_slot_1(ctx) {
	let div3;
	let div0;
	let t0;
	let div1;
	let t1;
	let t2;
	let div2;

	return {
		c() {
			div3 = internal_element("div");
			div0 = internal_element("div");
			t0 = space();
			div1 = internal_element("div");
			t1 = internal_text(/*itemName*/ ctx[3]);
			t2 = space();
			div2 = internal_element("div");
			attr(div0, "class", "inventory-item__tooltip-arrow");
			attr(div1, "class", "inventory-item__tooltip-name");
			attr(div2, "class", "inventory-item__tooltip-background");
			attr(div3, "class", "inventory-item__tooltip");
			set_style(div3, "left", /*left*/ ctx[0] + "px");
			set_style(div3, "top", /*top*/ ctx[1] + "px");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div0);
			append(div3, t0);
			append(div3, div1);
			append(div1, t1);
			append(div3, t2);
			append(div3, div2);
		},
		p(ctx, dirty) {
			if (dirty & /*itemName*/ 8) set_data(t1, /*itemName*/ ctx[3]);

			if (dirty & /*left*/ 1) {
				set_style(div3, "left", /*left*/ ctx[0] + "px");
			}

			if (dirty & /*top*/ 2) {
				set_style(div3, "top", /*top*/ ctx[1] + "px");
			}
		},
		d(detaching) {
			if (detaching) detach(div3);
		}
	};
}

// (750:8) {#each Object.values(BUTTONS_BITS) as BITS}
function character_index_svelte_create_each_block(ctx) {
	let show_if = /*compareButtonBits*/ ctx[12](/*BITS*/ ctx[21], /*$buttonsBits*/ ctx[5]);
	let if_block_anchor;
	let current;
	let if_block = show_if && character_index_svelte_create_if_block_2(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty & /*$buttonsBits*/ 32) show_if = /*compareButtonBits*/ ctx[12](/*BITS*/ ctx[21], /*$buttonsBits*/ ctx[5]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*$buttonsBits*/ 32) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = character_index_svelte_create_if_block_2(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

// (773:8) {#if $characterInventorySelectedTab === NavigationTabs.Character}
function character_index_svelte_create_if_block(ctx) {
	let div;
	let t;
	let i;
	let current;
	let mounted;
	let dispose;
	let if_block = /*walletHovered*/ ctx[4] && character_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			div = internal_element("div");
			if (if_block) if_block.c();
			t = space();
			i = internal_element("i");
			attr(i, "class", "character__tab-navigation-item-icon icon-wallet");
			attr(div, "class", "character__tab-navigation-item svelte-11mvvzu");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block) if_block.m(div, null);
			append(div, t);
			append(div, i);
			current = true;

			if (!mounted) {
				dispose = [
					listen(div, "click", /*openWallet*/ ctx[8]),
					listen(div, "mousemove", /*handleMouseMove*/ ctx[10]),
					listen(div, "mouseenter", /*mouseenter_handler_1*/ ctx[16]),
					listen(div, "mouseleave", /*mouseleave_handler_1*/ ctx[17])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (/*walletHovered*/ ctx[4]) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*walletHovered*/ 16) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = character_index_svelte_create_if_block_1(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(div, t);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (if_block) if_block.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (781:16) {#if walletHovered}
function character_index_svelte_create_if_block_1(ctx) {
	let portal;
	let current;

	portal = new portal_svelte({
			props: {
				$$slots: { default: [character_index_svelte_create_default_slot] },
				$$scope: { ctx }
			}
		});

	return {
		c() {
			create_component(portal.$$.fragment);
		},
		m(target, anchor) {
			mount_component(portal, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const portal_changes = {};

			if (dirty & /*$$scope, left, top*/ 16777219) {
				portal_changes.$$scope = { dirty, ctx };
			}

			portal.$set(portal_changes);
		},
		i(local) {
			if (current) return;
			transition_in(portal.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(portal.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(portal, detaching);
		}
	};
}

// (782:20) <Portal>
function character_index_svelte_create_default_slot(ctx) {
	let div3;
	let div0;
	let t0;
	let div1;
	let t2;
	let div2;

	return {
		c() {
			div3 = internal_element("div");
			div0 = internal_element("div");
			t0 = space();
			div1 = internal_element("div");
			div1.textContent = "Кошелёк";
			t2 = space();
			div2 = internal_element("div");
			attr(div0, "class", "inventory-item__tooltip-arrow");
			attr(div1, "class", "inventory-item__tooltip-name");
			attr(div2, "class", "inventory-item__tooltip-background");
			attr(div3, "class", "inventory-item__tooltip");
			set_style(div3, "left", /*left*/ ctx[0] + "px");
			set_style(div3, "top", /*top*/ ctx[1] + "px");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div0);
			append(div3, t0);
			append(div3, div1);
			append(div3, t2);
			append(div3, div2);
		},
		p(ctx, dirty) {
			if (dirty & /*left*/ 1) {
				set_style(div3, "left", /*left*/ ctx[0] + "px");
			}

			if (dirty & /*top*/ 2) {
				set_style(div3, "top", /*top*/ ctx[1] + "px");
			}
		},
		d(detaching) {
			if (detaching) detach(div3);
		}
	};
}

function character_index_svelte_create_fragment(ctx) {
	let div1;
	let switch_instance;
	let t0;
	let div0;
	let t1;
	let current;
	var switch_value = MAP_TAB_ID_TO_COMPONENT[/*$characterInventorySelectedTab*/ ctx[6]];

	function switch_props(ctx) {
		return {
			props: {
				resetSlotsState: /*resetSlotsState*/ ctx[7]
			}
		};
	}

	if (switch_value) {
		switch_instance = new switch_value(switch_props(ctx));
	}

	let each_value = Object.values(BUTTONS_BITS);
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = character_index_svelte_create_each_block(character_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	let if_block = /*$characterInventorySelectedTab*/ ctx[6] === constants_NavigationTabs.Character && character_index_svelte_create_if_block(ctx);

	return {
		c() {
			div1 = internal_element("div");
			if (switch_instance) create_component(switch_instance.$$.fragment);
			t0 = space();
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t1 = space();
			if (if_block) if_block.c();
			attr(div0, "class", "character__tabs-navigation svelte-11mvvzu");
			attr(div1, "class", "character svelte-11mvvzu");
		},
		m(target, anchor) {
			insert(target, div1, anchor);

			if (switch_instance) {
				mount_component(switch_instance, div1, null);
			}

			append(div1, t0);
			append(div1, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			append(div0, t1);
			if (if_block) if_block.m(div0, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if (switch_value !== (switch_value = MAP_TAB_ID_TO_COMPONENT[/*$characterInventorySelectedTab*/ ctx[6]])) {
				if (switch_instance) {
					group_outros();
					const old_component = switch_instance;

					transition_out(old_component.$$.fragment, 1, 0, () => {
						destroy_component(old_component, 1);
					});

					check_outros();
				}

				if (switch_value) {
					switch_instance = new switch_value(switch_props(ctx));
					create_component(switch_instance.$$.fragment);
					transition_in(switch_instance.$$.fragment, 1);
					mount_component(switch_instance, div1, t0);
				} else {
					switch_instance = null;
				}
			} else if (switch_value) {
				
			}

			if (dirty & /*$characterInventorySelectedTab, MAP_BIT_TO_TAB_NAME, Object, BUTTONS_BITS, changeTab, handleMouseMove, handleHovered, MAP_BIT_TO_ICON, left, top, itemName, hovered, compareButtonBits, $buttonsBits*/ 7791) {
				each_value = Object.values(BUTTONS_BITS);
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = character_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = character_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div0, t1);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}

			if (/*$characterInventorySelectedTab*/ ctx[6] === constants_NavigationTabs.Character) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*$characterInventorySelectedTab*/ 64) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = character_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(div0, null);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			if (switch_instance) transition_in(switch_instance.$$.fragment, local);

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			transition_in(if_block);
			current = true;
		},
		o(local) {
			if (switch_instance) transition_out(switch_instance.$$.fragment, local);
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			if (switch_instance) destroy_component(switch_instance);
			destroy_each(each_blocks, detaching);
			if (if_block) if_block.d();
		}
	};
}

function character_index_svelte_instance($$self, $$props, $$invalidate) {
	let $buttonsBits;
	let $characterInventorySelectedTab;
	let $searchQuery;
	let $inventories;
	component_subscribe($$self, buttonsBits, $$value => $$invalidate(5, $buttonsBits = $$value));
	component_subscribe($$self, characterInventorySelectedTab, $$value => $$invalidate(6, $characterInventorySelectedTab = $$value));
	component_subscribe($$self, store_searchQuery, $$value => $$invalidate(19, $searchQuery = $$value));
	component_subscribe($$self, inventories, $$value => $$invalidate(20, $inventories = $$value));
	let disabled = false;
	let left = 0;
	let top = 0;
	let hovered = false;
	let itemName = '';
	let walletHovered = false;

	const resetSlotsState = inventoryId => {
		if ((0,lodash.isNil)($inventories[inventoryId])) {
			return;
		}

		$inventories[inventoryId].forEach((item, index) => {
			if (SECURITY_STUFF.includes(inventoryId)) {
				item.forEach((securityItem, securityIndex) => {
					set_store_value(inventories, $inventories[inventoryId][index][securityIndex].available = true, $inventories);
					set_store_value(inventories, $inventories[inventoryId][index][securityIndex].blackout = false, $inventories);
				});
			} else {
				set_store_value(inventories, $inventories[inventoryId][index].available = true, $inventories);
				set_store_value(inventories, $inventories[inventoryId][index].blackout = false, $inventories);
			}
		});
	};

	const openWallet = () => sendClientMessage('openWallet');

	const changeTab = bits => {
		const tabName = MAP_BIT_TO_TAB_NAME[bits];
		const tabId = MAP_BIT_TO_REQUEST_ID[bits];
		set_store_value(store_searchQuery, $searchQuery = '', $searchQuery);

		if ($characterInventorySelectedTab === tabName || disabled) {
			return;
		}

		if (bits === BUTTONS_BITS.Inventory || bits === BUTTONS_BITS.CarInventory || bits === BUTTONS_BITS.Security) {
			sendClientMessage('requestShowingInventory', tabId);
		} else {
			sendClientMessage('openWarehouse', `{"type":${tabId}}`);
		}

		disabled = true;

		setTimeout(
			() => {
				disabled = false;
			},
			300
		);
	};

	const handleMouseMove = event => {
		if (!hovered && !walletHovered) {
			return;
		}

		$$invalidate(0, left = event.clientX);
		$$invalidate(1, top = event.clientY);
	};

	const handleHovered = (hov, bits) => {
		$$invalidate(2, hovered = hov);
		$$invalidate(3, itemName = MAP_BIT_TO_NAME[bits] || '');
	};

	/* eslint-disable no-bitwise */
	const compareButtonBits = (staticBits, currentButtonsBits) => staticBits & currentButtonsBits;

	/* eslint-enable no-bitwise */
	onDestroy(() => {
		set_store_value(buttonsBits, $buttonsBits = 0, $buttonsBits);
	});

	const click_handler = BITS => changeTab(BITS);
	const mouseenter_handler = BITS => handleHovered(true, BITS);
	const mouseleave_handler = BITS => handleHovered(false, BITS);

	const mouseenter_handler_1 = () => {
		$$invalidate(4, walletHovered = true);
	};

	const mouseleave_handler_1 = () => {
		$$invalidate(4, walletHovered = false);
	};

	return [
		left,
		top,
		hovered,
		itemName,
		walletHovered,
		$buttonsBits,
		$characterInventorySelectedTab,
		resetSlotsState,
		openWallet,
		changeTab,
		handleMouseMove,
		handleHovered,
		compareButtonBits,
		click_handler,
		mouseenter_handler,
		mouseleave_handler,
		mouseenter_handler_1,
		mouseleave_handler_1
	];
}

class Character extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, character_index_svelte_instance, character_index_svelte_create_fragment, safe_not_equal, {}, character_index_svelte_add_css);
	}
}

/* harmony default export */ const character_index_svelte = (Character);
;// CONCATENATED MODULE: ./src/views/inventory/components/inventory-overview/index.svelte
/* src\views\inventory\components\inventory-overview\index.svelte generated by Svelte v3.49.0 */











function inventory_overview_index_svelte_create_fragment(ctx) {
	let div6;
	let div4;
	let div0;
	let t0;
	let div1;
	let inventorygrid0;
	let t1;
	let div2;
	let inventorygrid1;
	let t2;
	let div3;
	let inventoryitem0;
	let t3;
	let inventoryitem1;
	let t4;
	let inventoryitem2;
	let t5;
	let div5;
	let inventorybutton;
	let current;

	inventorygrid0 = new inventory_grid_index_svelte({
			props: {
				items: /*$inventories*/ ctx[1][BLOCK_TYPE.BLOCK_TYPE_VIEW_ATTACH],
				slotsCount: /*$inventories*/ ctx[1][BLOCK_TYPE.BLOCK_TYPE_VIEW_ATTACH].length,
				inventoryId: BLOCK_TYPE.BLOCK_TYPE_VIEW_ATTACH,
				columnsCount: 3,
				fillWholeColumn: true,
				showSlotsIndex: false
			}
		});

	inventorygrid1 = new inventory_grid_index_svelte({
			props: {
				items: /*$inventories*/ ctx[1][BLOCK_TYPE.BLOCK_TYPE_VIEW_GUN_IMPROV],
				slotsCount: /*$inventories*/ ctx[1][BLOCK_TYPE.BLOCK_TYPE_VIEW_GUN_IMPROV].length,
				inventoryId: BLOCK_TYPE.BLOCK_TYPE_VIEW_GUN_IMPROV,
				columnsCount: 3,
				fillWholeColumn: true,
				showSlotsIndex: false
			}
		});

	inventoryitem0 = new inventory_item_index_svelte({
			props: {
				item: /*$inventories*/ ctx[1][BLOCK_TYPE.BLOCK_TYPE_VIEW_SKIN],
				placeholderIcon: 'clothes',
				slot: 0,
				placeholderText: 'Скин',
				inventoryId: BLOCK_TYPE.BLOCK_TYPE_VIEW_SKIN
			}
		});

	inventoryitem1 = new inventory_item_index_svelte({
			props: {
				item: /*$inventories*/ ctx[1][BLOCK_TYPE.BLOCK_TYPE_VIEW_IMPROV][0],
				placeholderIcon: 'case',
				slot: 0,
				placeholderText: 'Кейс',
				inventoryId: BLOCK_TYPE.BLOCK_TYPE_VIEW_IMPROV
			}
		});

	inventoryitem2 = new inventory_item_index_svelte({
			props: {
				item: /*$inventories*/ ctx[1][BLOCK_TYPE.BLOCK_TYPE_VIEW_IMPROV][1],
				placeholderIcon: 'armour',
				slot: 1,
				placeholderText: 'Броня',
				inventoryId: BLOCK_TYPE.BLOCK_TYPE_VIEW_IMPROV
			}
		});

	inventorybutton = new inventory_button_index_svelte({
			props: {
				text: 'Закрыть',
				onClick: /*func*/ ctx[2]
			}
		});

	return {
		c() {
			div6 = internal_element("div");
			div4 = internal_element("div");
			div0 = internal_element("div");
			t0 = space();
			div1 = internal_element("div");
			create_component(inventorygrid0.$$.fragment);
			t1 = space();
			div2 = internal_element("div");
			create_component(inventorygrid1.$$.fragment);
			t2 = space();
			div3 = internal_element("div");
			create_component(inventoryitem0.$$.fragment);
			t3 = space();
			create_component(inventoryitem1.$$.fragment);
			t4 = space();
			create_component(inventoryitem2.$$.fragment);
			t5 = space();
			div5 = internal_element("div");
			create_component(inventorybutton.$$.fragment);
			attr(div0, "class", "inventory-overview__character-skin");
			attr(div1, "class", "inventory-overview__loadout-accessories");
			attr(div2, "class", "inventory-overview__loadout-improvements");
			attr(div3, "class", "inventory-overview__loadout-ammunition");
			attr(div4, "class", "inventory-overview__loadout");
			set_style(div4, "--character-skin", `url(${cdn_CDN_URL_RODINA}/assets/images/inventory/skins/512/${/*$additionalInfo*/ ctx[0].skin.model}.webp)`);
			attr(div5, "class", "inventory-overview__bottom-button");
			attr(div6, "class", "inventory-overview");
		},
		m(target, anchor) {
			insert(target, div6, anchor);
			append(div6, div4);
			append(div4, div0);
			append(div4, t0);
			append(div4, div1);
			mount_component(inventorygrid0, div1, null);
			append(div4, t1);
			append(div4, div2);
			mount_component(inventorygrid1, div2, null);
			append(div4, t2);
			append(div4, div3);
			mount_component(inventoryitem0, div3, null);
			append(div3, t3);
			mount_component(inventoryitem1, div3, null);
			append(div3, t4);
			mount_component(inventoryitem2, div3, null);
			append(div6, t5);
			append(div6, div5);
			mount_component(inventorybutton, div5, null);
			current = true;
		},
		p(ctx, [dirty]) {
			const inventorygrid0_changes = {};
			if (dirty & /*$inventories*/ 2) inventorygrid0_changes.items = /*$inventories*/ ctx[1][BLOCK_TYPE.BLOCK_TYPE_VIEW_ATTACH];
			if (dirty & /*$inventories*/ 2) inventorygrid0_changes.slotsCount = /*$inventories*/ ctx[1][BLOCK_TYPE.BLOCK_TYPE_VIEW_ATTACH].length;
			inventorygrid0.$set(inventorygrid0_changes);
			const inventorygrid1_changes = {};
			if (dirty & /*$inventories*/ 2) inventorygrid1_changes.items = /*$inventories*/ ctx[1][BLOCK_TYPE.BLOCK_TYPE_VIEW_GUN_IMPROV];
			if (dirty & /*$inventories*/ 2) inventorygrid1_changes.slotsCount = /*$inventories*/ ctx[1][BLOCK_TYPE.BLOCK_TYPE_VIEW_GUN_IMPROV].length;
			inventorygrid1.$set(inventorygrid1_changes);
			const inventoryitem0_changes = {};
			if (dirty & /*$inventories*/ 2) inventoryitem0_changes.item = /*$inventories*/ ctx[1][BLOCK_TYPE.BLOCK_TYPE_VIEW_SKIN];
			inventoryitem0.$set(inventoryitem0_changes);
			const inventoryitem1_changes = {};
			if (dirty & /*$inventories*/ 2) inventoryitem1_changes.item = /*$inventories*/ ctx[1][BLOCK_TYPE.BLOCK_TYPE_VIEW_IMPROV][0];
			inventoryitem1.$set(inventoryitem1_changes);
			const inventoryitem2_changes = {};
			if (dirty & /*$inventories*/ 2) inventoryitem2_changes.item = /*$inventories*/ ctx[1][BLOCK_TYPE.BLOCK_TYPE_VIEW_IMPROV][1];
			inventoryitem2.$set(inventoryitem2_changes);

			if (!current || dirty & /*$additionalInfo*/ 1) {
				set_style(div4, "--character-skin", `url(${cdn_CDN_URL_RODINA}/assets/images/inventory/skins/512/${/*$additionalInfo*/ ctx[0].skin.model}.webp)`);
			}
		},
		i(local) {
			if (current) return;
			transition_in(inventorygrid0.$$.fragment, local);
			transition_in(inventorygrid1.$$.fragment, local);
			transition_in(inventoryitem0.$$.fragment, local);
			transition_in(inventoryitem1.$$.fragment, local);
			transition_in(inventoryitem2.$$.fragment, local);
			transition_in(inventorybutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(inventorygrid0.$$.fragment, local);
			transition_out(inventorygrid1.$$.fragment, local);
			transition_out(inventoryitem0.$$.fragment, local);
			transition_out(inventoryitem1.$$.fragment, local);
			transition_out(inventoryitem2.$$.fragment, local);
			transition_out(inventorybutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div6);
			destroy_component(inventorygrid0);
			destroy_component(inventorygrid1);
			destroy_component(inventoryitem0);
			destroy_component(inventoryitem1);
			destroy_component(inventoryitem2);
			destroy_component(inventorybutton);
		}
	};
}

function inventory_overview_index_svelte_instance($$self, $$props, $$invalidate) {
	let $additionalInfo;
	let $inventories;
	component_subscribe($$self, additionalInfo, $$value => $$invalidate(0, $additionalInfo = $$value));
	component_subscribe($$self, inventories, $$value => $$invalidate(1, $inventories = $$value));
	const func = () => sendClientMessage('closePlayerView');
	return [$additionalInfo, $inventories, func];
}

class Inventory_overview extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, inventory_overview_index_svelte_instance, inventory_overview_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const inventory_overview_index_svelte = (Inventory_overview);
;// CONCATENATED MODULE: ./src/views/inventory/components/wallet/index.svelte
/* src\views\inventory\components\wallet\index.svelte generated by Svelte v3.49.0 */





function wallet_index_svelte_add_css(target) {
	append_styles(target, "svelte-1pwjy2s", "@keyframes svelte-1pwjy2s-blinking{50%{opacity:0}}@keyframes svelte-1pwjy2s-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1pwjy2s-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1pwjy2s-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1pwjy2s-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1pwjy2s-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1pwjy2s-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1pwjy2s-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1pwjy2s-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1pwjy2s-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1pwjy2s-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1pwjy2s-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1pwjy2s-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1pwjy2s-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1pwjy2s-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.wallet.svelte-1pwjy2s{background-color:rgba(19, 21, 22, 0.95);overflow:hidden;border-bottm-left-radius:calc(0.0052083333 * 100vw + 0px);border-bottm-right-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.wallet.svelte-1pwjy2s{border-bottm-left-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.wallet.svelte-1pwjy2s{border-bottm-left-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.wallet.svelte-1pwjy2s{border-bottm-left-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.wallet.svelte-1pwjy2s{border-bottm-left-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.wallet.svelte-1pwjy2s{border-bottm-left-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.wallet.svelte-1pwjy2s{border-bottm-left-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.wallet.svelte-1pwjy2s{border-bottm-left-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.wallet.svelte-1pwjy2s{border-bottm-right-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.wallet.svelte-1pwjy2s{border-bottm-right-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.wallet.svelte-1pwjy2s{border-bottm-right-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.wallet.svelte-1pwjy2s{border-bottm-right-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.wallet.svelte-1pwjy2s{border-bottm-right-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.wallet.svelte-1pwjy2s{border-bottm-right-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.wallet.svelte-1pwjy2s{border-bottm-right-radius:calc(0.0057291667 * 100vw + 0px)}}.wallet__grid.svelte-1pwjy2s{padding:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.wallet__grid.svelte-1pwjy2s{padding:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.wallet__grid.svelte-1pwjy2s{padding:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.wallet__grid.svelte-1pwjy2s{padding:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.wallet__grid.svelte-1pwjy2s{padding:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.wallet__grid.svelte-1pwjy2s{padding:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.wallet__grid.svelte-1pwjy2s{padding:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.wallet__grid.svelte-1pwjy2s{padding:calc(0.00859375 * 100vw + 0px)}}");
}

// (294:4) {#if $bagBlockType > -1}
function components_wallet_index_svelte_create_if_block(ctx) {
	let div;
	let inventorygrid;
	let current;

	inventorygrid = new inventory_grid_index_svelte({
			props: {
				items: /*$inventories*/ ctx[2][/*$bagBlockType*/ ctx[1]],
				columnsCount: 6,
				slotsCount: /*counts*/ ctx[0],
				inventoryId: /*$bagBlockType*/ ctx[1],
				fillWholeColumn: false,
				disableItemsDrag: false,
				disableItemsUsage: false
			}
		});

	return {
		c() {
			div = internal_element("div");
			create_component(inventorygrid.$$.fragment);
			attr(div, "class", "wallet__grid svelte-1pwjy2s");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(inventorygrid, div, null);
			current = true;
		},
		p(ctx, dirty) {
			const inventorygrid_changes = {};
			if (dirty & /*$inventories, $bagBlockType*/ 6) inventorygrid_changes.items = /*$inventories*/ ctx[2][/*$bagBlockType*/ ctx[1]];
			if (dirty & /*counts*/ 1) inventorygrid_changes.slotsCount = /*counts*/ ctx[0];
			if (dirty & /*$bagBlockType*/ 2) inventorygrid_changes.inventoryId = /*$bagBlockType*/ ctx[1];
			inventorygrid.$set(inventorygrid_changes);
		},
		i(local) {
			if (current) return;
			transition_in(inventorygrid.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(inventorygrid.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(inventorygrid);
		}
	};
}

function components_wallet_index_svelte_create_fragment(ctx) {
	let div;
	let current;
	let if_block = /*$bagBlockType*/ ctx[1] > -1 && components_wallet_index_svelte_create_if_block(ctx);

	return {
		c() {
			div = internal_element("div");
			if (if_block) if_block.c();
			attr(div, "class", "wallet svelte-1pwjy2s");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block) if_block.m(div, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if (/*$bagBlockType*/ ctx[1] > -1) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*$bagBlockType*/ 2) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = components_wallet_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(div, null);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (if_block) if_block.d();
		}
	};
}

function components_wallet_index_svelte_instance($$self, $$props, $$invalidate) {
	let $bagBlockType;
	let $inventories;
	component_subscribe($$self, bagBlockType, $$value => $$invalidate(1, $bagBlockType = $$value));
	component_subscribe($$self, inventories, $$value => $$invalidate(2, $inventories = $$value));
	let { counts = 6 } = $$props;

	$$self.$$set = $$props => {
		if ('counts' in $$props) $$invalidate(0, counts = $$props.counts);
	};

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*$bagBlockType, $inventories*/ 6) {
			$: {
				if ($bagBlockType > -1) {
					$$invalidate(0, counts = $inventories[$bagBlockType].length);
				}
			}
		}
	};

	return [counts, $bagBlockType, $inventories];
}

class index_svelte_Wallet extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, components_wallet_index_svelte_instance, components_wallet_index_svelte_create_fragment, safe_not_equal, { counts: 0 }, wallet_index_svelte_add_css);
	}
}

/* harmony default export */ const components_wallet_index_svelte = (index_svelte_Wallet);
;// CONCATENATED MODULE: ./src/views/inventory/components/shop/index.svelte
/* src\views\inventory\components\shop\index.svelte generated by Svelte v3.49.0 */










function components_shop_index_svelte_add_css(target) {
	append_styles(target, "svelte-r86vgd", "@keyframes svelte-r86vgd-blinking{50%{opacity:0}}@keyframes svelte-r86vgd-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-r86vgd-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-r86vgd-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-r86vgd-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-r86vgd-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-r86vgd-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-r86vgd-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-r86vgd-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-r86vgd-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-r86vgd-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-r86vgd-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-r86vgd-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-r86vgd-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-r86vgd-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.shop.svelte-r86vgd{background-color:rgba(19, 21, 22, 0.95);border-bottom-left-radius:calc(0.0052083333 * 100vw + 0px);border-bottom-right-radius:calc(0.0052083333 * 100vw + 0px);padding-top:calc(0.0078125 * 100vw + 0px);padding-bottom:calc(0.0052083333 * 100vw + 0px);padding-left:calc(0.0052083333 * 100vw + 0px);padding-right:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop.svelte-r86vgd{border-bottom-left-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop.svelte-r86vgd{border-bottom-left-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop.svelte-r86vgd{border-bottom-left-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.shop.svelte-r86vgd{border-bottom-left-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop.svelte-r86vgd{border-bottom-left-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop.svelte-r86vgd{border-bottom-left-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.shop.svelte-r86vgd{border-bottom-left-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop.svelte-r86vgd{border-bottom-right-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop.svelte-r86vgd{border-bottom-right-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop.svelte-r86vgd{border-bottom-right-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.shop.svelte-r86vgd{border-bottom-right-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop.svelte-r86vgd{border-bottom-right-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop.svelte-r86vgd{border-bottom-right-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.shop.svelte-r86vgd{border-bottom-right-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop.svelte-r86vgd{padding-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop.svelte-r86vgd{padding-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop.svelte-r86vgd{padding-top:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.shop.svelte-r86vgd{padding-top:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop.svelte-r86vgd{padding-top:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop.svelte-r86vgd{padding-top:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.shop.svelte-r86vgd{padding-top:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop.svelte-r86vgd{padding-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop.svelte-r86vgd{padding-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop.svelte-r86vgd{padding-bottom:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.shop.svelte-r86vgd{padding-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop.svelte-r86vgd{padding-bottom:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop.svelte-r86vgd{padding-bottom:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.shop.svelte-r86vgd{padding-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop.svelte-r86vgd{padding-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop.svelte-r86vgd{padding-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop.svelte-r86vgd{padding-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.shop.svelte-r86vgd{padding-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop.svelte-r86vgd{padding-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop.svelte-r86vgd{padding-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.shop.svelte-r86vgd{padding-left:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop.svelte-r86vgd{padding-right:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop.svelte-r86vgd{padding-right:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop.svelte-r86vgd{padding-right:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.shop.svelte-r86vgd{padding-right:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop.svelte-r86vgd{padding-right:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop.svelte-r86vgd{padding-right:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.shop.svelte-r86vgd{padding-right:calc(0.0028645833 * 100vw + 0px)}}.shop__grid.svelte-r86vgd{overflow-y:scroll;max-height:calc(0.4072916667 * 100vw + 0px);margin-bottom:calc(0.0026041667 * 100vw + 0px);padding-right:calc(0.0052083333 * 100vw + 0px)}.shop__grid.svelte-r86vgd::-webkit-scrollbar{height:0;width:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__grid.svelte-r86vgd::-webkit-scrollbar{width:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__grid.svelte-r86vgd::-webkit-scrollbar{width:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__grid.svelte-r86vgd::-webkit-scrollbar{width:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.shop__grid.svelte-r86vgd::-webkit-scrollbar{width:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__grid.svelte-r86vgd::-webkit-scrollbar{width:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__grid.svelte-r86vgd::-webkit-scrollbar{width:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.shop__grid.svelte-r86vgd::-webkit-scrollbar{width:calc(0.0045833333 * 100vw + 0px)}}.shop__grid.svelte-r86vgd::-webkit-scrollbar-button{display:none}.shop__grid.svelte-r86vgd::-webkit-scrollbar-track{background-color:rgba(0, 0, 0, 0.5)}.shop__grid.svelte-r86vgd::-webkit-scrollbar-track-piece{background:rgba(0, 0, 0, 0.5);border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__grid.svelte-r86vgd::-webkit-scrollbar-track-piece{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__grid.svelte-r86vgd::-webkit-scrollbar-track-piece{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__grid.svelte-r86vgd::-webkit-scrollbar-track-piece{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.shop__grid.svelte-r86vgd::-webkit-scrollbar-track-piece{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__grid.svelte-r86vgd::-webkit-scrollbar-track-piece{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__grid.svelte-r86vgd::-webkit-scrollbar-track-piece{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.shop__grid.svelte-r86vgd::-webkit-scrollbar-track-piece{border-radius:calc(0.0028645833 * 100vw + 0px)}}.shop__grid.svelte-r86vgd::-webkit-scrollbar-thumb{background:rgba(255, 255, 255, 0.75);border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__grid.svelte-r86vgd::-webkit-scrollbar-thumb{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__grid.svelte-r86vgd::-webkit-scrollbar-thumb{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__grid.svelte-r86vgd::-webkit-scrollbar-thumb{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.shop__grid.svelte-r86vgd::-webkit-scrollbar-thumb{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__grid.svelte-r86vgd::-webkit-scrollbar-thumb{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__grid.svelte-r86vgd::-webkit-scrollbar-thumb{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.shop__grid.svelte-r86vgd::-webkit-scrollbar-thumb{border-radius:calc(0.0028645833 * 100vw + 0px)}}.shop__grid.svelte-r86vgd::-webkit-scrollbar-corner{background-color:rgba(0, 0, 0, 0.5)}.shop__grid.svelte-r86vgd::-webkit-resizer{background-color:rgba(0, 0, 0, 0.5)}@media(max-width: 1920px) and (max-height: 768px){.shop__grid.svelte-r86vgd{max-height:calc(0.4072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__grid.svelte-r86vgd{max-height:calc(0.4072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__grid.svelte-r86vgd{max-height:calc(0.3136145833 * 100vw + 0px)}}@media(min-width: 3440px){.shop__grid.svelte-r86vgd{max-height:calc(0.4480208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__grid.svelte-r86vgd{max-height:calc(0.2851041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__grid.svelte-r86vgd{max-height:calc(0.3665625 * 100vw + 0px)}}@media(min-width: 4096px){.shop__grid.svelte-r86vgd{max-height:calc(0.4480208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__grid.svelte-r86vgd{margin-bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__grid.svelte-r86vgd{margin-bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__grid.svelte-r86vgd{margin-bottom:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.shop__grid.svelte-r86vgd{margin-bottom:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__grid.svelte-r86vgd{margin-bottom:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__grid.svelte-r86vgd{margin-bottom:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.shop__grid.svelte-r86vgd{margin-bottom:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__grid.svelte-r86vgd{padding-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__grid.svelte-r86vgd{padding-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__grid.svelte-r86vgd{padding-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.shop__grid.svelte-r86vgd{padding-right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__grid.svelte-r86vgd{padding-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__grid.svelte-r86vgd{padding-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.shop__grid.svelte-r86vgd{padding-right:calc(0.0057291667 * 100vw + 0px)}}.shop__grid--lavka.svelte-r86vgd{max-height:calc(0.365625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__grid--lavka.svelte-r86vgd{max-height:calc(0.365625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__grid--lavka.svelte-r86vgd{max-height:calc(0.365625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__grid--lavka.svelte-r86vgd{max-height:calc(0.28153125 * 100vw + 0px)}}@media(min-width: 3440px){.shop__grid--lavka.svelte-r86vgd{max-height:calc(0.4021875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__grid--lavka.svelte-r86vgd{max-height:calc(0.2559375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__grid--lavka.svelte-r86vgd{max-height:calc(0.3290625 * 100vw + 0px)}}@media(min-width: 4096px){.shop__grid--lavka.svelte-r86vgd{max-height:calc(0.4021875 * 100vw + 0px)}}.shop__buttons.svelte-r86vgd{display:flex;grid-gap:calc(0.0052083333 * 100vw + 0px);padding:calc(0.0104166667 * 100vw + 0px);height:calc(0.0416666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.shop__buttons.svelte-r86vgd{grid-gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__buttons.svelte-r86vgd{grid-gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__buttons.svelte-r86vgd{grid-gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.shop__buttons.svelte-r86vgd{grid-gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__buttons.svelte-r86vgd{grid-gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__buttons.svelte-r86vgd{grid-gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.shop__buttons.svelte-r86vgd{grid-gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__buttons.svelte-r86vgd{padding:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__buttons.svelte-r86vgd{padding:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__buttons.svelte-r86vgd{padding:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.shop__buttons.svelte-r86vgd{padding:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__buttons.svelte-r86vgd{padding:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__buttons.svelte-r86vgd{padding:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.shop__buttons.svelte-r86vgd{padding:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.shop__buttons.svelte-r86vgd{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.shop__buttons.svelte-r86vgd{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.shop__buttons.svelte-r86vgd{height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.shop__buttons.svelte-r86vgd{height:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.shop__buttons.svelte-r86vgd{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.shop__buttons.svelte-r86vgd{height:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.shop__buttons.svelte-r86vgd{height:calc(0.0458333333 * 100vw + 0px)}}");
}

// (820:12) {#if !isNil($inventories[inventoryId])}
function components_shop_index_svelte_create_if_block_1(ctx) {
	let inventorygrid;
	let current;

	inventorygrid = new inventory_grid_index_svelte({
			props: {
				items: /*$inventories*/ ctx[4][/*inventoryId*/ ctx[0]],
				slotsCount: /*$inventories*/ ctx[4][/*inventoryId*/ ctx[0]].length <= /*slotsCount*/ ctx[5]
				? /*slotsCount*/ ctx[5]
				: /*$inventories*/ ctx[4][/*inventoryId*/ ctx[0]].length,
				inventoryId: /*inventoryId*/ ctx[0],
				columnsCount: /*columnsCount*/ ctx[1],
				disableItemsDrag: true,
				fillWholeColumn: true
			}
		});

	return {
		c() {
			create_component(inventorygrid.$$.fragment);
		},
		m(target, anchor) {
			mount_component(inventorygrid, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const inventorygrid_changes = {};
			if (dirty & /*$inventories, inventoryId*/ 17) inventorygrid_changes.items = /*$inventories*/ ctx[4][/*inventoryId*/ ctx[0]];

			if (dirty & /*$inventories, inventoryId*/ 17) inventorygrid_changes.slotsCount = /*$inventories*/ ctx[4][/*inventoryId*/ ctx[0]].length <= /*slotsCount*/ ctx[5]
			? /*slotsCount*/ ctx[5]
			: /*$inventories*/ ctx[4][/*inventoryId*/ ctx[0]].length;

			if (dirty & /*inventoryId*/ 1) inventorygrid_changes.inventoryId = /*inventoryId*/ ctx[0];
			if (dirty & /*columnsCount*/ 2) inventorygrid_changes.columnsCount = /*columnsCount*/ ctx[1];
			inventorygrid.$set(inventorygrid_changes);
		},
		i(local) {
			if (current) return;
			transition_in(inventorygrid.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(inventorygrid.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(inventorygrid, detaching);
		}
	};
}

// (832:4) {#if buyButtonVisible && sellButtonVisible}
function inventory_components_shop_index_svelte_create_if_block(ctx) {
	let div;
	let inventorybutton0;
	let t;
	let inventorybutton1;
	let current;

	inventorybutton0 = new inventory_button_index_svelte({
			props: {
				text: 'Купить',
				onClick: /*func*/ ctx[12],
				color: /*inventoryId*/ ctx[0] === BLOCK_TYPE.BLOCK_TYPE_SHOP
				? 'green'
				: 'default'
			}
		});

	inventorybutton1 = new inventory_button_index_svelte({
			props: {
				text: 'Продать',
				onClick: /*func_1*/ ctx[13],
				color: /*inventoryId*/ ctx[0] === BLOCK_TYPE.BLOCK_TYPE_SHOP_SELL
				? 'red'
				: 'default'
			}
		});

	return {
		c() {
			div = internal_element("div");
			create_component(inventorybutton0.$$.fragment);
			t = space();
			create_component(inventorybutton1.$$.fragment);
			attr(div, "class", "shop__buttons svelte-r86vgd");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(inventorybutton0, div, null);
			append(div, t);
			mount_component(inventorybutton1, div, null);
			current = true;
		},
		p(ctx, dirty) {
			const inventorybutton0_changes = {};

			if (dirty & /*inventoryId*/ 1) inventorybutton0_changes.color = /*inventoryId*/ ctx[0] === BLOCK_TYPE.BLOCK_TYPE_SHOP
			? 'green'
			: 'default';

			inventorybutton0.$set(inventorybutton0_changes);
			const inventorybutton1_changes = {};

			if (dirty & /*inventoryId*/ 1) inventorybutton1_changes.color = /*inventoryId*/ ctx[0] === BLOCK_TYPE.BLOCK_TYPE_SHOP_SELL
			? 'red'
			: 'default';

			inventorybutton1.$set(inventorybutton1_changes);
		},
		i(local) {
			if (current) return;
			transition_in(inventorybutton0.$$.fragment, local);
			transition_in(inventorybutton1.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(inventorybutton0.$$.fragment, local);
			transition_out(inventorybutton1.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(inventorybutton0);
			destroy_component(inventorybutton1);
		}
	};
}

function inventory_components_shop_index_svelte_create_fragment(ctx) {
	let div2;
	let div1;
	let div0;
	let show_if = !(0,lodash.isNil)(/*$inventories*/ ctx[4][/*inventoryId*/ ctx[0]]);
	let t;
	let current;
	let mounted;
	let dispose;
	let if_block0 = show_if && components_shop_index_svelte_create_if_block_1(ctx);
	let if_block1 = /*buyButtonVisible*/ ctx[6] && /*sellButtonVisible*/ ctx[7] && inventory_components_shop_index_svelte_create_if_block(ctx);

	return {
		c() {
			div2 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");
			if (if_block0) if_block0.c();
			t = space();
			if (if_block1) if_block1.c();
			attr(div0, "class", "shop__grid-wrapper");
			attr(div1, "class", "shop__grid svelte-r86vgd");
			toggle_class(div1, "shop__grid--lavka", /*buyButtonVisible*/ ctx[6] && /*sellButtonVisible*/ ctx[7]);
			attr(div2, "class", "shop svelte-r86vgd");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div1);
			append(div1, div0);
			if (if_block0) if_block0.m(div0, null);
			/*div0_binding*/ ctx[10](div0);
			/*div1_binding*/ ctx[11](div1);
			append(div2, t);
			if (if_block1) if_block1.m(div2, null);
			current = true;

			if (!mounted) {
				dispose = listen(div1, "scroll", /*scrollHandler*/ ctx[9]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*$inventories, inventoryId*/ 17) show_if = !(0,lodash.isNil)(/*$inventories*/ ctx[4][/*inventoryId*/ ctx[0]]);

			if (show_if) {
				if (if_block0) {
					if_block0.p(ctx, dirty);

					if (dirty & /*$inventories, inventoryId*/ 17) {
						transition_in(if_block0, 1);
					}
				} else {
					if_block0 = components_shop_index_svelte_create_if_block_1(ctx);
					if_block0.c();
					transition_in(if_block0, 1);
					if_block0.m(div0, null);
				}
			} else if (if_block0) {
				group_outros();

				transition_out(if_block0, 1, 1, () => {
					if_block0 = null;
				});

				check_outros();
			}

			if (/*buyButtonVisible*/ ctx[6] && /*sellButtonVisible*/ ctx[7]) if_block1.p(ctx, dirty);
		},
		i(local) {
			if (current) return;
			transition_in(if_block0);
			transition_in(if_block1);
			current = true;
		},
		o(local) {
			transition_out(if_block0);
			transition_out(if_block1);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div2);
			if (if_block0) if_block0.d();
			/*div0_binding*/ ctx[10](null);
			/*div1_binding*/ ctx[11](null);
			if (if_block1) if_block1.d();
			mounted = false;
			dispose();
		}
	};
}

function inventory_components_shop_index_svelte_instance($$self, $$props, $$invalidate) {
	let $shopOpened;
	let $inventories;
	component_subscribe($$self, shopOpened, $$value => $$invalidate(15, $shopOpened = $$value));
	component_subscribe($$self, inventories, $$value => $$invalidate(4, $inventories = $$value));
	let { inventoryId = -1 } = $$props;
	let { columnsCount = 5 } = $$props;
	let scrollNode = null;
	let gridWrapper = null;
	let disabled = false;
	const isLavka = inventoryId === BLOCK_TYPE.BLOCK_TYPE_SHOP || inventoryId === BLOCK_TYPE.BLOCK_TYPE_SHOP_SELL;

	const slotsCount = $inventories[inventoryId].length > 45
	? $inventories[inventoryId].length
	: 45;

	const buyButtonVisible = !(0,lodash.isNil)($inventories[BLOCK_TYPE.BLOCK_TYPE_SHOP]);
	const sellButtonVisible = !(0,lodash.isNil)($inventories[BLOCK_TYPE.BLOCK_TYPE_SHOP_SELL]);

	const selectInventoryType = inventoryType => {
		sendClientMessage('updateCategory', `{"category":${Number(inventoryType === BLOCK_TYPE.BLOCK_TYPE_SHOP_SELL)}}`);
		$$invalidate(0, inventoryId = inventoryType);
	};

	const scrollHandler = () => {
		if (disabled) {
			return;
		}

		if (!isLavka) {
			const total = scrollNode.scrollTop + scrollNode.clientHeight;

			if (total >= gridWrapper.clientHeight - 10) {
				sendClientMessage('requestAppendList', `{"count": ${$inventories[BLOCK_TYPE.BLOCK_TYPE_MAGAZINE].length}}`);
				disabled = true;

				setTimeout(
					() => {
						disabled = false;
					},
					200
				);
			}
		}
	};

	onDestroy(() => {
		set_store_value(inventories, $inventories[BLOCK_TYPE.BLOCK_TYPE_SHOP] = null, $inventories);
		set_store_value(inventories, $inventories[BLOCK_TYPE.BLOCK_TYPE_SHOP_SELL] = null, $inventories);
		set_store_value(inventories, $inventories[inventoryId] = null, $inventories);
		set_store_value(shopOpened, $shopOpened = false, $shopOpened);
	});

	function div0_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			gridWrapper = $$value;
			$$invalidate(3, gridWrapper);
		});
	}

	function div1_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			scrollNode = $$value;
			$$invalidate(2, scrollNode);
		});
	}

	const func = () => selectInventoryType(BLOCK_TYPE.BLOCK_TYPE_SHOP);
	const func_1 = () => selectInventoryType(BLOCK_TYPE.BLOCK_TYPE_SHOP_SELL);

	$$self.$$set = $$props => {
		if ('inventoryId' in $$props) $$invalidate(0, inventoryId = $$props.inventoryId);
		if ('columnsCount' in $$props) $$invalidate(1, columnsCount = $$props.columnsCount);
	};

	return [
		inventoryId,
		columnsCount,
		scrollNode,
		gridWrapper,
		$inventories,
		slotsCount,
		buyButtonVisible,
		sellButtonVisible,
		selectInventoryType,
		scrollHandler,
		div0_binding,
		div1_binding,
		func,
		func_1
	];
}

class components_shop_index_svelte_Shop extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, inventory_components_shop_index_svelte_instance, inventory_components_shop_index_svelte_create_fragment, safe_not_equal, { inventoryId: 0, columnsCount: 1 }, components_shop_index_svelte_add_css);
	}
}

/* harmony default export */ const inventory_components_shop_index_svelte = (components_shop_index_svelte_Shop);
;// CONCATENATED MODULE: ./src/views/inventory/components/trade/index.svelte
/* src\views\inventory\components\trade\index.svelte generated by Svelte v3.49.0 */














function trade_index_svelte_add_css(target) {
	append_styles(target, "svelte-c8sgji", "@keyframes svelte-c8sgji-blinking{50%{opacity:0}}@keyframes svelte-c8sgji-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-c8sgji-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-c8sgji-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-c8sgji-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-c8sgji-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-c8sgji-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-c8sgji-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-c8sgji-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-c8sgji-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-c8sgji-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-c8sgji-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-c8sgji-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-c8sgji-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-c8sgji-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.trade.svelte-c8sgji{background-color:rgba(19, 21, 22, 0.95);overflow:auto;border-bottm-left-radius:calc(0.0052083333 * 100vw + 0px);border-bottm-right-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.trade.svelte-c8sgji{border-bottm-left-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.trade.svelte-c8sgji{border-bottm-left-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.trade.svelte-c8sgji{border-bottm-left-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.trade.svelte-c8sgji{border-bottm-left-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.trade.svelte-c8sgji{border-bottm-left-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.trade.svelte-c8sgji{border-bottm-left-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.trade.svelte-c8sgji{border-bottm-left-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.trade.svelte-c8sgji{border-bottm-right-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.trade.svelte-c8sgji{border-bottm-right-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.trade.svelte-c8sgji{border-bottm-right-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.trade.svelte-c8sgji{border-bottm-right-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.trade.svelte-c8sgji{border-bottm-right-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.trade.svelte-c8sgji{border-bottm-right-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.trade.svelte-c8sgji{border-bottm-right-radius:calc(0.0057291667 * 100vw + 0px)}}.trade__receive-caption.svelte-c8sgji,.trade__give-caption.svelte-c8sgji{background-color:#131516;font-family:PFDinDisplayProRegular;color:#FFFFFF;font-style:italic;text-transform:uppercase;font-size:calc(0.0083333333 * 100vw + 0px);line-height:calc(0.0098958333 * 100vw + 0px);padding:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.trade__receive-caption.svelte-c8sgji,.trade__give-caption.svelte-c8sgji{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.trade__receive-caption.svelte-c8sgji,.trade__give-caption.svelte-c8sgji{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.trade__receive-caption.svelte-c8sgji,.trade__give-caption.svelte-c8sgji{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.trade__receive-caption.svelte-c8sgji,.trade__give-caption.svelte-c8sgji{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.trade__receive-caption.svelte-c8sgji,.trade__give-caption.svelte-c8sgji{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.trade__receive-caption.svelte-c8sgji,.trade__give-caption.svelte-c8sgji{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.trade__receive-caption.svelte-c8sgji,.trade__give-caption.svelte-c8sgji{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.trade__receive-caption.svelte-c8sgji,.trade__give-caption.svelte-c8sgji{line-height:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.trade__receive-caption.svelte-c8sgji,.trade__give-caption.svelte-c8sgji{line-height:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.trade__receive-caption.svelte-c8sgji,.trade__give-caption.svelte-c8sgji{line-height:calc(0.0076197917 * 100vw + 0px)}}@media(min-width: 3440px){.trade__receive-caption.svelte-c8sgji,.trade__give-caption.svelte-c8sgji{line-height:calc(0.0108854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.trade__receive-caption.svelte-c8sgji,.trade__give-caption.svelte-c8sgji{line-height:calc(0.0069270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.trade__receive-caption.svelte-c8sgji,.trade__give-caption.svelte-c8sgji{line-height:calc(0.00890625 * 100vw + 0px)}}@media(min-width: 4096px){.trade__receive-caption.svelte-c8sgji,.trade__give-caption.svelte-c8sgji{line-height:calc(0.0108854167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.trade__receive-caption.svelte-c8sgji,.trade__give-caption.svelte-c8sgji{padding:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.trade__receive-caption.svelte-c8sgji,.trade__give-caption.svelte-c8sgji{padding:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.trade__receive-caption.svelte-c8sgji,.trade__give-caption.svelte-c8sgji{padding:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.trade__receive-caption.svelte-c8sgji,.trade__give-caption.svelte-c8sgji{padding:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.trade__receive-caption.svelte-c8sgji,.trade__give-caption.svelte-c8sgji{padding:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.trade__receive-caption.svelte-c8sgji,.trade__give-caption.svelte-c8sgji{padding:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.trade__receive-caption.svelte-c8sgji,.trade__give-caption.svelte-c8sgji{padding:calc(0.0114583333 * 100vw + 0px)}}.trade__receive-money-field-wrapper.svelte-c8sgji{position:relative;opacity:0.75;margin-top:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.trade__receive-money-field-wrapper.svelte-c8sgji{margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.trade__receive-money-field-wrapper.svelte-c8sgji{margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.trade__receive-money-field-wrapper.svelte-c8sgji{margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.trade__receive-money-field-wrapper.svelte-c8sgji{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.trade__receive-money-field-wrapper.svelte-c8sgji{margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.trade__receive-money-field-wrapper.svelte-c8sgji{margin-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.trade__receive-money-field-wrapper.svelte-c8sgji{margin-top:calc(0.0114583333 * 100vw + 0px)}}.trade__give-money-field-wrapper.svelte-c8sgji{position:relative;opacity:0.75;transition:0.14s ease-out;transition-property:opacity;margin-top:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.trade__give-money-field-wrapper.svelte-c8sgji{margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.trade__give-money-field-wrapper.svelte-c8sgji{margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.trade__give-money-field-wrapper.svelte-c8sgji{margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.trade__give-money-field-wrapper.svelte-c8sgji{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.trade__give-money-field-wrapper.svelte-c8sgji{margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.trade__give-money-field-wrapper.svelte-c8sgji{margin-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.trade__give-money-field-wrapper.svelte-c8sgji{margin-top:calc(0.0114583333 * 100vw + 0px)}}.trade__give-money-field-wrapper.svelte-c8sgji:hover{opacity:1}.trade__receive-money-field.svelte-c8sgji{position:relative;display:flex;align-items:center;justify-content:space-between;width:100%;background:radial-gradient(rgba(255, 255, 255, 0.1) 2%, #131516 66%);background-color:#131516;border-style:solid;border-color:rgba(255, 255, 255, 0.1);padding:calc(0.0083333333 * 100vw + 0px);border-width:calc(0.0005208333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.trade__receive-money-field.svelte-c8sgji{padding:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.trade__receive-money-field.svelte-c8sgji{padding:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.trade__receive-money-field.svelte-c8sgji{padding:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.trade__receive-money-field.svelte-c8sgji{padding:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.trade__receive-money-field.svelte-c8sgji{padding:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.trade__receive-money-field.svelte-c8sgji{padding:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.trade__receive-money-field.svelte-c8sgji{padding:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.trade__receive-money-field.svelte-c8sgji{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.trade__receive-money-field.svelte-c8sgji{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.trade__receive-money-field.svelte-c8sgji{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.trade__receive-money-field.svelte-c8sgji{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.trade__receive-money-field.svelte-c8sgji{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.trade__receive-money-field.svelte-c8sgji{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.trade__receive-money-field.svelte-c8sgji{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.trade__receive-money-field.svelte-c8sgji{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.trade__receive-money-field.svelte-c8sgji{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.trade__receive-money-field.svelte-c8sgji{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.trade__receive-money-field.svelte-c8sgji{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.trade__receive-money-field.svelte-c8sgji{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.trade__receive-money-field.svelte-c8sgji{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.trade__receive-money-field.svelte-c8sgji{border-radius:calc(0.0057291667 * 100vw + 0px)}}.trade__give-money-field.svelte-c8sgji{position:relative;display:flex;align-items:center;justify-content:space-between;width:100%;background:radial-gradient(rgba(255, 255, 255, 0.1) 2%, #131516 66%);background-color:#131516;border-style:solid;border-color:rgba(255, 255, 255, 0.1);transition:0.14s ease-out;transition-property:border-color;padding:calc(0.0083333333 * 100vw + 0px);border-width:calc(0.0005208333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.trade__give-money-field.svelte-c8sgji{padding:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.trade__give-money-field.svelte-c8sgji{padding:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.trade__give-money-field.svelte-c8sgji{padding:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.trade__give-money-field.svelte-c8sgji{padding:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.trade__give-money-field.svelte-c8sgji{padding:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.trade__give-money-field.svelte-c8sgji{padding:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.trade__give-money-field.svelte-c8sgji{padding:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.trade__give-money-field.svelte-c8sgji{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.trade__give-money-field.svelte-c8sgji{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.trade__give-money-field.svelte-c8sgji{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.trade__give-money-field.svelte-c8sgji{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.trade__give-money-field.svelte-c8sgji{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.trade__give-money-field.svelte-c8sgji{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.trade__give-money-field.svelte-c8sgji{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.trade__give-money-field.svelte-c8sgji{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.trade__give-money-field.svelte-c8sgji{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.trade__give-money-field.svelte-c8sgji{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.trade__give-money-field.svelte-c8sgji{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.trade__give-money-field.svelte-c8sgji{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.trade__give-money-field.svelte-c8sgji{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.trade__give-money-field.svelte-c8sgji{border-radius:calc(0.0057291667 * 100vw + 0px)}}.trade__give-money-field.svelte-c8sgji:hover{border-color:rgba(255, 255, 255, 0.3)}.trade__receive-money-value.svelte-c8sgji,.trade__give-money-value.svelte-c8sgji{font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.trade__receive-money-value.svelte-c8sgji,.trade__give-money-value.svelte-c8sgji{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.trade__receive-money-value.svelte-c8sgji,.trade__give-money-value.svelte-c8sgji{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.trade__receive-money-value.svelte-c8sgji,.trade__give-money-value.svelte-c8sgji{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.trade__receive-money-value.svelte-c8sgji,.trade__give-money-value.svelte-c8sgji{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.trade__receive-money-value.svelte-c8sgji,.trade__give-money-value.svelte-c8sgji{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.trade__receive-money-value.svelte-c8sgji,.trade__give-money-value.svelte-c8sgji{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.trade__receive-money-value.svelte-c8sgji,.trade__give-money-value.svelte-c8sgji{font-size:calc(0.0091666667 * 100vw + 0px)}}.trade__receive-grid-wrapper.svelte-c8sgji,.trade__give-grid-wrapper.svelte-c8sgji{position:relative;overflow:hidden;padding:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.trade__receive-grid-wrapper.svelte-c8sgji,.trade__give-grid-wrapper.svelte-c8sgji{padding:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.trade__receive-grid-wrapper.svelte-c8sgji,.trade__give-grid-wrapper.svelte-c8sgji{padding:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.trade__receive-grid-wrapper.svelte-c8sgji,.trade__give-grid-wrapper.svelte-c8sgji{padding:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.trade__receive-grid-wrapper.svelte-c8sgji,.trade__give-grid-wrapper.svelte-c8sgji{padding:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.trade__receive-grid-wrapper.svelte-c8sgji,.trade__give-grid-wrapper.svelte-c8sgji{padding:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.trade__receive-grid-wrapper.svelte-c8sgji,.trade__give-grid-wrapper.svelte-c8sgji{padding:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.trade__receive-grid-wrapper.svelte-c8sgji,.trade__give-grid-wrapper.svelte-c8sgji{padding:calc(0.00859375 * 100vw + 0px)}}.trade__grid-wrapper.svelte-c8sgji{position:relative}.trade__loader.svelte-c8sgji{position:absolute;top:50%;left:50%;transform:translateX(-50%) translateY(-50%);width:calc(0.0572916667 * 100vw + 0px);height:calc(0.0572916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.trade__loader.svelte-c8sgji{width:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.trade__loader.svelte-c8sgji{width:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.trade__loader.svelte-c8sgji{width:calc(0.0441145833 * 100vw + 0px)}}@media(min-width: 3440px){.trade__loader.svelte-c8sgji{width:calc(0.0630208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.trade__loader.svelte-c8sgji{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.trade__loader.svelte-c8sgji{width:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 4096px){.trade__loader.svelte-c8sgji{width:calc(0.0630208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.trade__loader.svelte-c8sgji{height:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.trade__loader.svelte-c8sgji{height:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.trade__loader.svelte-c8sgji{height:calc(0.0441145833 * 100vw + 0px)}}@media(min-width: 3440px){.trade__loader.svelte-c8sgji{height:calc(0.0630208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.trade__loader.svelte-c8sgji{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.trade__loader.svelte-c8sgji{height:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 4096px){.trade__loader.svelte-c8sgji{height:calc(0.0630208333 * 100vw + 0px)}}.trade__gradient.svelte-c8sgji{position:absolute;display:block;left:50%;bottom:0;width:75%;height:75%;opacity:0.75;background:radial-gradient(49.98% 50.07% at 49.98% 50.13%, #C1FF3C 0%, #AFFF05 21.88%, rgba(0, 0, 0, 0) 100%);background-position:center bottom;background-size:contain;transform:translateX(-50%) translateY(50%)}.trade__info-button.svelte-c8sgji{padding:calc(0.0104166667 * 100vw + 0px);height:calc(0.0208333333 * 100vw + 0px);padding-top:calc(0 * 100vw + 0px);padding-bottom:calc(0 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.trade__info-button.svelte-c8sgji{padding:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.trade__info-button.svelte-c8sgji{padding:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.trade__info-button.svelte-c8sgji{padding:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.trade__info-button.svelte-c8sgji{padding:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.trade__info-button.svelte-c8sgji{padding:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.trade__info-button.svelte-c8sgji{padding:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.trade__info-button.svelte-c8sgji{padding:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.trade__info-button.svelte-c8sgji{height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.trade__info-button.svelte-c8sgji{height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.trade__info-button.svelte-c8sgji{height:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.trade__info-button.svelte-c8sgji{height:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.trade__info-button.svelte-c8sgji{height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.trade__info-button.svelte-c8sgji{height:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.trade__info-button.svelte-c8sgji{height:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.trade__info-button.svelte-c8sgji{padding-top:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.trade__info-button.svelte-c8sgji{padding-top:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.trade__info-button.svelte-c8sgji{padding-top:calc(0 * 100vw + 0px)}}@media(min-width: 3440px){.trade__info-button.svelte-c8sgji{padding-top:calc(0 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.trade__info-button.svelte-c8sgji{padding-top:calc(0 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.trade__info-button.svelte-c8sgji{padding-top:calc(0 * 100vw + 0px)}}@media(min-width: 4096px){.trade__info-button.svelte-c8sgji{padding-top:calc(0 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.trade__info-button.svelte-c8sgji{padding-bottom:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.trade__info-button.svelte-c8sgji{padding-bottom:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.trade__info-button.svelte-c8sgji{padding-bottom:calc(0 * 100vw + 0px)}}@media(min-width: 3440px){.trade__info-button.svelte-c8sgji{padding-bottom:calc(0 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.trade__info-button.svelte-c8sgji{padding-bottom:calc(0 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.trade__info-button.svelte-c8sgji{padding-bottom:calc(0 * 100vw + 0px)}}@media(min-width: 4096px){.trade__info-button.svelte-c8sgji{padding-bottom:calc(0 * 100vw + 0px)}}.trade__buttons.svelte-c8sgji{display:grid;grid-template-columns:repeat(2, 1fr);grid-gap:calc(0.0052083333 * 100vw + 0px);padding:calc(0.0104166667 * 100vw + 0px);height:calc(0.0416666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.trade__buttons.svelte-c8sgji{grid-gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.trade__buttons.svelte-c8sgji{grid-gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.trade__buttons.svelte-c8sgji{grid-gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.trade__buttons.svelte-c8sgji{grid-gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.trade__buttons.svelte-c8sgji{grid-gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.trade__buttons.svelte-c8sgji{grid-gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.trade__buttons.svelte-c8sgji{grid-gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.trade__buttons.svelte-c8sgji{padding:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.trade__buttons.svelte-c8sgji{padding:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.trade__buttons.svelte-c8sgji{padding:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.trade__buttons.svelte-c8sgji{padding:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.trade__buttons.svelte-c8sgji{padding:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.trade__buttons.svelte-c8sgji{padding:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.trade__buttons.svelte-c8sgji{padding:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.trade__buttons.svelte-c8sgji{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.trade__buttons.svelte-c8sgji{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.trade__buttons.svelte-c8sgji{height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.trade__buttons.svelte-c8sgji{height:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.trade__buttons.svelte-c8sgji{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.trade__buttons.svelte-c8sgji{height:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.trade__buttons.svelte-c8sgji{height:calc(0.0458333333 * 100vw + 0px)}}");
}

// (1174:8) {#if $tradeConfirmation.self.confirm}
function trade_index_svelte_create_if_block_5(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			attr(div, "class", "trade__gradient svelte-c8sgji");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1178:12) {#if !isNil($inventories[BLOCK_TYPE.BLOCK_TYPE_TRADE])}
function trade_index_svelte_create_if_block_4(ctx) {
	let inventorygrid;
	let current;

	inventorygrid = new inventory_grid_index_svelte({
			props: {
				items: /*$inventories*/ ctx[2][BLOCK_TYPE.BLOCK_TYPE_TRADE],
				columnsCount: 5,
				slotsCount: 10,
				inventoryId: BLOCK_TYPE.BLOCK_TYPE_TRADE,
				disableAllItems: /*$tradeConfirmation*/ ctx[1].self.confirm,
				fillWholeColumn: false,
				disableItemsDrag: false,
				disableItemsUsage: false
			}
		});

	return {
		c() {
			create_component(inventorygrid.$$.fragment);
		},
		m(target, anchor) {
			mount_component(inventorygrid, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const inventorygrid_changes = {};
			if (dirty & /*$inventories*/ 4) inventorygrid_changes.items = /*$inventories*/ ctx[2][BLOCK_TYPE.BLOCK_TYPE_TRADE];
			if (dirty & /*$tradeConfirmation*/ 2) inventorygrid_changes.disableAllItems = /*$tradeConfirmation*/ ctx[1].self.confirm;
			inventorygrid.$set(inventorygrid_changes);
		},
		i(local) {
			if (current) return;
			transition_in(inventorygrid.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(inventorygrid.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(inventorygrid, detaching);
		}
	};
}

// (1190:12) {#if $tradeConfirmation.self.accept}
function trade_index_svelte_create_if_block_3(ctx) {
	let div;
	let loader;
	let current;
	loader = new loader_index_svelte({});

	return {
		c() {
			div = internal_element("div");
			create_component(loader.$$.fragment);
			attr(div, "class", "trade__loader svelte-c8sgji");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(loader, div, null);
			current = true;
		},
		i(local) {
			if (current) return;
			transition_in(loader.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(loader.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(loader);
		}
	};
}

// (1205:8) {#if $tradeConfirmation.target.confirm}
function trade_index_svelte_create_if_block_2(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			attr(div, "class", "trade__gradient svelte-c8sgji");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1209:12) {#if !isNil($inventories[BLOCK_TYPE.BLOCK_TYPE_FOR_TRADE])}
function trade_index_svelte_create_if_block_1(ctx) {
	let inventorygrid;
	let current;

	inventorygrid = new inventory_grid_index_svelte({
			props: {
				items: /*$inventories*/ ctx[2][BLOCK_TYPE.BLOCK_TYPE_FOR_TRADE],
				columnsCount: 5,
				slotsCount: 10,
				inventoryId: BLOCK_TYPE.BLOCK_TYPE_FOR_TRADE,
				disableAllItems: false,
				fillWholeColumn: false,
				disableItemsDrag: true,
				disableItemsUsage: false
			}
		});

	return {
		c() {
			create_component(inventorygrid.$$.fragment);
		},
		m(target, anchor) {
			mount_component(inventorygrid, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const inventorygrid_changes = {};
			if (dirty & /*$inventories*/ 4) inventorygrid_changes.items = /*$inventories*/ ctx[2][BLOCK_TYPE.BLOCK_TYPE_FOR_TRADE];
			inventorygrid.$set(inventorygrid_changes);
		},
		i(local) {
			if (current) return;
			transition_in(inventorygrid.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(inventorygrid.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(inventorygrid, detaching);
		}
	};
}

// (1221:12) {#if $tradeConfirmation.target.accept}
function trade_index_svelte_create_if_block(ctx) {
	let div;
	let loader;
	let current;
	loader = new loader_index_svelte({});

	return {
		c() {
			div = internal_element("div");
			create_component(loader.$$.fragment);
			attr(div, "class", "trade__loader svelte-c8sgji");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(loader, div, null);
			current = true;
		},
		i(local) {
			if (current) return;
			transition_in(loader.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(loader.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(loader);
		}
	};
}

function trade_index_svelte_create_fragment(ctx) {
	let div16;
	let div0;
	let t1;
	let div6;
	let t2;
	let div1;
	let show_if_1 = !(0,lodash.isNil)(/*$inventories*/ ctx[2][BLOCK_TYPE.BLOCK_TYPE_TRADE]);
	let t3;
	let t4;
	let div5;
	let div4;
	let div2;
	let t5_value = formatMoney(/*$tradeMoney*/ ctx[0].self.value) + "";
	let t5;
	let t6;
	let div3;
	let t7_value = MAP_CURRENCY_TO_TEXT[/*$tradeMoney*/ ctx[0].self.type] + "";
	let t7;
	let t8;
	let div7;
	let t10;
	let div13;
	let t11;
	let div8;
	let show_if = !(0,lodash.isNil)(/*$inventories*/ ctx[2][BLOCK_TYPE.BLOCK_TYPE_FOR_TRADE]);
	let t12;
	let t13;
	let div12;
	let div11;
	let div9;
	let t14_value = formatMoney(/*$tradeMoney*/ ctx[0].target.value) + "";
	let t14;
	let t15;
	let div10;
	let t16_value = MAP_CURRENCY_TO_TEXT[/*$tradeMoney*/ ctx[0].target.type] + "";
	let t16;
	let t17;
	let div14;
	let inventorybutton0;
	let t18;
	let div15;
	let inventorybutton1;
	let t19;
	let inventorybutton2;
	let current;
	let mounted;
	let dispose;
	let if_block0 = /*$tradeConfirmation*/ ctx[1].self.confirm && trade_index_svelte_create_if_block_5(ctx);
	let if_block1 = show_if_1 && trade_index_svelte_create_if_block_4(ctx);
	let if_block2 = /*$tradeConfirmation*/ ctx[1].self.accept && trade_index_svelte_create_if_block_3(ctx);
	let if_block3 = /*$tradeConfirmation*/ ctx[1].target.confirm && trade_index_svelte_create_if_block_2(ctx);
	let if_block4 = show_if && trade_index_svelte_create_if_block_1(ctx);
	let if_block5 = /*$tradeConfirmation*/ ctx[1].target.accept && trade_index_svelte_create_if_block(ctx);

	inventorybutton0 = new inventory_button_index_svelte({
			props: {
				text: 'Информация',
				onClick: /*func*/ ctx[6]
			}
		});

	inventorybutton1 = new inventory_button_index_svelte({
			props: {
				text: /*$tradeConfirmation*/ ctx[1].self.confirm && /*$tradeConfirmation*/ ctx[1].target.confirm
				? 'Завершить обмен'
				: 'Готов к обмену',
				onClick: /*confrimTrade*/ ctx[3],
				active: /*$tradeConfirmation*/ ctx[1].self.confirm && !/*$tradeConfirmation*/ ctx[1].self.accept || /*$tradeConfirmation*/ ctx[1].self.confirm && /*$tradeConfirmation*/ ctx[1].self.accept,
				disabled: /*$tradeConfirmation*/ ctx[1].self.confirm && !/*$tradeConfirmation*/ ctx[1].target.confirm
			}
		});

	inventorybutton2 = new inventory_button_index_svelte({
			props: {
				text: 'Отмена',
				onClick: /*declineTrade*/ ctx[5]
			}
		});

	return {
		c() {
			div16 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "Вы отдаете";
			t1 = space();
			div6 = internal_element("div");
			if (if_block0) if_block0.c();
			t2 = space();
			div1 = internal_element("div");
			if (if_block1) if_block1.c();
			t3 = space();
			if (if_block2) if_block2.c();
			t4 = space();
			div5 = internal_element("div");
			div4 = internal_element("div");
			div2 = internal_element("div");
			t5 = internal_text(t5_value);
			t6 = space();
			div3 = internal_element("div");
			t7 = internal_text(t7_value);
			t8 = space();
			div7 = internal_element("div");
			div7.textContent = "Вы получаете";
			t10 = space();
			div13 = internal_element("div");
			if (if_block3) if_block3.c();
			t11 = space();
			div8 = internal_element("div");
			if (if_block4) if_block4.c();
			t12 = space();
			if (if_block5) if_block5.c();
			t13 = space();
			div12 = internal_element("div");
			div11 = internal_element("div");
			div9 = internal_element("div");
			t14 = internal_text(t14_value);
			t15 = space();
			div10 = internal_element("div");
			t16 = internal_text(t16_value);
			t17 = space();
			div14 = internal_element("div");
			create_component(inventorybutton0.$$.fragment);
			t18 = space();
			div15 = internal_element("div");
			create_component(inventorybutton1.$$.fragment);
			t19 = space();
			create_component(inventorybutton2.$$.fragment);
			attr(div0, "class", "trade__give-caption svelte-c8sgji");
			attr(div1, "class", "trade__grid-wrapper svelte-c8sgji");
			attr(div2, "class", "trade__give-money-value svelte-c8sgji");
			attr(div3, "class", "trade__give-money-value svelte-c8sgji");
			attr(div4, "class", "trade__give-money-field svelte-c8sgji");
			attr(div5, "class", "trade__give-money-field-wrapper svelte-c8sgji");
			attr(div6, "class", "trade__give-grid-wrapper svelte-c8sgji");
			attr(div7, "class", "trade__receive-caption svelte-c8sgji");
			attr(div8, "class", "trade__grid-wrapper svelte-c8sgji");
			attr(div9, "class", "trade__receive-money-value svelte-c8sgji");
			attr(div10, "class", "trade__give-money-value svelte-c8sgji");
			attr(div11, "class", "trade__receive-money-field svelte-c8sgji");
			attr(div12, "class", "trade__receive-money-field-wrapper svelte-c8sgji");
			attr(div13, "class", "trade__receive-grid-wrapper svelte-c8sgji");
			attr(div14, "class", "trade__info-button svelte-c8sgji");
			attr(div15, "class", "trade__buttons svelte-c8sgji");
			attr(div16, "class", "trade svelte-c8sgji");
		},
		m(target, anchor) {
			insert(target, div16, anchor);
			append(div16, div0);
			append(div16, t1);
			append(div16, div6);
			if (if_block0) if_block0.m(div6, null);
			append(div6, t2);
			append(div6, div1);
			if (if_block1) if_block1.m(div1, null);
			append(div1, t3);
			if (if_block2) if_block2.m(div1, null);
			append(div6, t4);
			append(div6, div5);
			append(div5, div4);
			append(div4, div2);
			append(div2, t5);
			append(div4, t6);
			append(div4, div3);
			append(div3, t7);
			append(div16, t8);
			append(div16, div7);
			append(div16, t10);
			append(div16, div13);
			if (if_block3) if_block3.m(div13, null);
			append(div13, t11);
			append(div13, div8);
			if (if_block4) if_block4.m(div8, null);
			append(div8, t12);
			if (if_block5) if_block5.m(div8, null);
			append(div13, t13);
			append(div13, div12);
			append(div12, div11);
			append(div11, div9);
			append(div9, t14);
			append(div11, t15);
			append(div11, div10);
			append(div10, t16);
			append(div16, t17);
			append(div16, div14);
			mount_component(inventorybutton0, div14, null);
			append(div16, t18);
			append(div16, div15);
			mount_component(inventorybutton1, div15, null);
			append(div15, t19);
			mount_component(inventorybutton2, div15, null);
			current = true;

			if (!mounted) {
				dispose = listen(div4, "click", /*changeMoney*/ ctx[4]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (/*$tradeConfirmation*/ ctx[1].self.confirm) {
				if (if_block0) {
					
				} else {
					if_block0 = trade_index_svelte_create_if_block_5(ctx);
					if_block0.c();
					if_block0.m(div6, t2);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty & /*$inventories*/ 4) show_if_1 = !(0,lodash.isNil)(/*$inventories*/ ctx[2][BLOCK_TYPE.BLOCK_TYPE_TRADE]);

			if (show_if_1) {
				if (if_block1) {
					if_block1.p(ctx, dirty);

					if (dirty & /*$inventories*/ 4) {
						transition_in(if_block1, 1);
					}
				} else {
					if_block1 = trade_index_svelte_create_if_block_4(ctx);
					if_block1.c();
					transition_in(if_block1, 1);
					if_block1.m(div1, t3);
				}
			} else if (if_block1) {
				group_outros();

				transition_out(if_block1, 1, 1, () => {
					if_block1 = null;
				});

				check_outros();
			}

			if (/*$tradeConfirmation*/ ctx[1].self.accept) {
				if (if_block2) {
					if (dirty & /*$tradeConfirmation*/ 2) {
						transition_in(if_block2, 1);
					}
				} else {
					if_block2 = trade_index_svelte_create_if_block_3(ctx);
					if_block2.c();
					transition_in(if_block2, 1);
					if_block2.m(div1, null);
				}
			} else if (if_block2) {
				group_outros();

				transition_out(if_block2, 1, 1, () => {
					if_block2 = null;
				});

				check_outros();
			}

			if ((!current || dirty & /*$tradeMoney*/ 1) && t5_value !== (t5_value = formatMoney(/*$tradeMoney*/ ctx[0].self.value) + "")) set_data(t5, t5_value);
			if ((!current || dirty & /*$tradeMoney*/ 1) && t7_value !== (t7_value = MAP_CURRENCY_TO_TEXT[/*$tradeMoney*/ ctx[0].self.type] + "")) set_data(t7, t7_value);

			if (/*$tradeConfirmation*/ ctx[1].target.confirm) {
				if (if_block3) {
					
				} else {
					if_block3 = trade_index_svelte_create_if_block_2(ctx);
					if_block3.c();
					if_block3.m(div13, t11);
				}
			} else if (if_block3) {
				if_block3.d(1);
				if_block3 = null;
			}

			if (dirty & /*$inventories*/ 4) show_if = !(0,lodash.isNil)(/*$inventories*/ ctx[2][BLOCK_TYPE.BLOCK_TYPE_FOR_TRADE]);

			if (show_if) {
				if (if_block4) {
					if_block4.p(ctx, dirty);

					if (dirty & /*$inventories*/ 4) {
						transition_in(if_block4, 1);
					}
				} else {
					if_block4 = trade_index_svelte_create_if_block_1(ctx);
					if_block4.c();
					transition_in(if_block4, 1);
					if_block4.m(div8, t12);
				}
			} else if (if_block4) {
				group_outros();

				transition_out(if_block4, 1, 1, () => {
					if_block4 = null;
				});

				check_outros();
			}

			if (/*$tradeConfirmation*/ ctx[1].target.accept) {
				if (if_block5) {
					if (dirty & /*$tradeConfirmation*/ 2) {
						transition_in(if_block5, 1);
					}
				} else {
					if_block5 = trade_index_svelte_create_if_block(ctx);
					if_block5.c();
					transition_in(if_block5, 1);
					if_block5.m(div8, null);
				}
			} else if (if_block5) {
				group_outros();

				transition_out(if_block5, 1, 1, () => {
					if_block5 = null;
				});

				check_outros();
			}

			if ((!current || dirty & /*$tradeMoney*/ 1) && t14_value !== (t14_value = formatMoney(/*$tradeMoney*/ ctx[0].target.value) + "")) set_data(t14, t14_value);
			if ((!current || dirty & /*$tradeMoney*/ 1) && t16_value !== (t16_value = MAP_CURRENCY_TO_TEXT[/*$tradeMoney*/ ctx[0].target.type] + "")) set_data(t16, t16_value);
			const inventorybutton1_changes = {};

			if (dirty & /*$tradeConfirmation*/ 2) inventorybutton1_changes.text = /*$tradeConfirmation*/ ctx[1].self.confirm && /*$tradeConfirmation*/ ctx[1].target.confirm
			? 'Завершить обмен'
			: 'Готов к обмену';

			if (dirty & /*$tradeConfirmation*/ 2) inventorybutton1_changes.active = /*$tradeConfirmation*/ ctx[1].self.confirm && !/*$tradeConfirmation*/ ctx[1].self.accept || /*$tradeConfirmation*/ ctx[1].self.confirm && /*$tradeConfirmation*/ ctx[1].self.accept;
			if (dirty & /*$tradeConfirmation*/ 2) inventorybutton1_changes.disabled = /*$tradeConfirmation*/ ctx[1].self.confirm && !/*$tradeConfirmation*/ ctx[1].target.confirm;
			inventorybutton1.$set(inventorybutton1_changes);
		},
		i(local) {
			if (current) return;
			transition_in(if_block1);
			transition_in(if_block2);
			transition_in(if_block4);
			transition_in(if_block5);
			transition_in(inventorybutton0.$$.fragment, local);
			transition_in(inventorybutton1.$$.fragment, local);
			transition_in(inventorybutton2.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(if_block1);
			transition_out(if_block2);
			transition_out(if_block4);
			transition_out(if_block5);
			transition_out(inventorybutton0.$$.fragment, local);
			transition_out(inventorybutton1.$$.fragment, local);
			transition_out(inventorybutton2.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div16);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			if (if_block2) if_block2.d();
			if (if_block3) if_block3.d();
			if (if_block4) if_block4.d();
			if (if_block5) if_block5.d();
			destroy_component(inventorybutton0);
			destroy_component(inventorybutton1);
			destroy_component(inventorybutton2);
			mounted = false;
			dispose();
		}
	};
}

function trade_index_svelte_instance($$self, $$props, $$invalidate) {
	let $tradeMoney;
	let $tradeConfirmation;
	let $inventories;
	component_subscribe($$self, tradeMoney, $$value => $$invalidate(0, $tradeMoney = $$value));
	component_subscribe($$self, tradeConfirmation, $$value => $$invalidate(1, $tradeConfirmation = $$value));
	component_subscribe($$self, inventories, $$value => $$invalidate(2, $inventories = $$value));

	const confrimTrade = () => {
		if ($tradeConfirmation.target.confirm) {
			sendClientMessage('acceptTrade');
		} else {
			sendClientMessage('confirmTrade');
		}
	};

	const resetTradeItems = () => {
		set_store_value(tradeConfirmation, $tradeConfirmation = DEFAULT_TRADE_CONFIRMATION_STATE, $tradeConfirmation);
		set_store_value(tradeMoney, $tradeMoney = DEFAULT_TRADE_MONEY, $tradeMoney);
		set_store_value(inventories, $inventories[BLOCK_TYPE.BLOCK_TYPE_TRADE] = [], $inventories);
		set_store_value(inventories, $inventories[BLOCK_TYPE.BLOCK_TYPE_FOR_TRADE] = [], $inventories);

		for (let i = 0; i < 10; i += 1) {
			set_store_value(inventories, $inventories[BLOCK_TYPE.BLOCK_TYPE_TRADE][i] = { slot: i, available: true }, $inventories);
			set_store_value(inventories, $inventories[BLOCK_TYPE.BLOCK_TYPE_FOR_TRADE][i] = { slot: i, available: false }, $inventories);
		}
	};

	const changeMoney = () => {
		sendClientMessage('changeMoney');
	};

	const declineTrade = () => {
		sendClientMessage('declineTrade');
	};

	resetTradeItems();

	onDestroy(() => {
		set_store_value(tradeConfirmation, $tradeConfirmation = DEFAULT_TRADE_CONFIRMATION_STATE, $tradeConfirmation);
		set_store_value(tradeMoney, $tradeMoney = DEFAULT_TRADE_MONEY, $tradeMoney);
	});

	const func = () => sendClientMessage('trade.info');

	return [
		$tradeMoney,
		$tradeConfirmation,
		$inventories,
		confrimTrade,
		changeMoney,
		declineTrade,
		func
	];
}

class Trade extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, trade_index_svelte_instance, trade_index_svelte_create_fragment, safe_not_equal, {}, trade_index_svelte_add_css);
	}
}

/* harmony default export */ const trade_index_svelte = (Trade);
;// CONCATENATED MODULE: ./src/views/inventory/components/workshop/index.svelte
/* src\views\inventory\components\workshop\index.svelte generated by Svelte v3.49.0 */
















function workshop_index_svelte_add_css(target) {
	append_styles(target, "svelte-1l4vnad", "@keyframes svelte-1l4vnad-blinking{50%{opacity:0}}@keyframes svelte-1l4vnad-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1l4vnad-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1l4vnad-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1l4vnad-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1l4vnad-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1l4vnad-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1l4vnad-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1l4vnad-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1l4vnad-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1l4vnad-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1l4vnad-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1l4vnad-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1l4vnad-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1l4vnad-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.workshop.svelte-1l4vnad{position:relative;display:flex;flex-direction:column;overflow:hidden;border-bottm-left-radius:calc(0.0052083333 * 100vw + 0px);border-bottm-right-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.25 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.workshop.svelte-1l4vnad{border-bottm-left-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop.svelte-1l4vnad{border-bottm-left-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop.svelte-1l4vnad{border-bottm-left-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.workshop.svelte-1l4vnad{border-bottm-left-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop.svelte-1l4vnad{border-bottm-left-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop.svelte-1l4vnad{border-bottm-left-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.workshop.svelte-1l4vnad{border-bottm-left-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.workshop.svelte-1l4vnad{border-bottm-right-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop.svelte-1l4vnad{border-bottm-right-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop.svelte-1l4vnad{border-bottm-right-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.workshop.svelte-1l4vnad{border-bottm-right-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop.svelte-1l4vnad{border-bottm-right-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop.svelte-1l4vnad{border-bottm-right-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.workshop.svelte-1l4vnad{border-bottm-right-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.workshop.svelte-1l4vnad{width:calc(0.25 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop.svelte-1l4vnad{width:calc(0.25 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop.svelte-1l4vnad{width:calc(0.1925 * 100vw + 0px)}}@media(min-width: 3440px){.workshop.svelte-1l4vnad{width:calc(0.275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop.svelte-1l4vnad{width:calc(0.175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop.svelte-1l4vnad{width:calc(0.225 * 100vw + 0px)}}@media(min-width: 4096px){.workshop.svelte-1l4vnad{width:calc(0.275 * 100vw + 0px)}}.workshop__main-info.svelte-1l4vnad{padding-top:calc(0.0260416667 * 100vw + 0px);background-color:rgba(19, 21, 22, 0.95)}@media(max-width: 1920px) and (max-height: 768px){.workshop__main-info.svelte-1l4vnad{padding-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__main-info.svelte-1l4vnad{padding-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__main-info.svelte-1l4vnad{padding-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__main-info.svelte-1l4vnad{padding-top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__main-info.svelte-1l4vnad{padding-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__main-info.svelte-1l4vnad{padding-top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__main-info.svelte-1l4vnad{padding-top:calc(0.0286458333 * 100vw + 0px)}}.workshop__gradient-wrapper.svelte-1l4vnad{position:relative;overflow:hidden}.workshop__gradient.svelte-1l4vnad{position:absolute;left:50%;bottom:0;width:100%;height:100%;opacity:0;background-position:center bottom;background-size:contain;transition:0.3s ease-in-out;transition-property:opacity;transform:translateX(-50%) translateY(50%);padding:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.workshop__gradient.svelte-1l4vnad{padding:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__gradient.svelte-1l4vnad{padding:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__gradient.svelte-1l4vnad{padding:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__gradient.svelte-1l4vnad{padding:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__gradient.svelte-1l4vnad{padding:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__gradient.svelte-1l4vnad{padding:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__gradient.svelte-1l4vnad{padding:calc(0.0091666667 * 100vw + 0px)}}.workshop__gradient--green.svelte-1l4vnad{opacity:0.5;background:radial-gradient(49.98% 50.07% at 49.98% 50.13%, #C1FF3C 0%, #AFFF05 14.88%, rgba(0, 0, 0, 0) 100%)}.workshop__gradient--red.svelte-1l4vnad{opacity:0.5;background:radial-gradient(49.98% 50.07% at 49.98% 50.13%, #88000A 0%, #88000A 33.88%, rgba(0, 0, 0, 0) 100%)}.workshop__title-wrapper.svelte-1l4vnad{width:100%;text-align:center}.workshop__title.svelte-1l4vnad{font-family:PFDinDisplayProRegular;font-style:italic;color:#FFFFFF;text-transform:uppercase;font-weight:700;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.workshop__title.svelte-1l4vnad{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__title.svelte-1l4vnad{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__title.svelte-1l4vnad{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__title.svelte-1l4vnad{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__title.svelte-1l4vnad{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__title.svelte-1l4vnad{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__title.svelte-1l4vnad{font-size:calc(0.0103125 * 100vw + 0px)}}.workshop__caption.svelte-1l4vnad{font-family:PFDinDisplayProRegular;color:rgba(255, 255, 255, 0.45);font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.workshop__caption.svelte-1l4vnad{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__caption.svelte-1l4vnad{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__caption.svelte-1l4vnad{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__caption.svelte-1l4vnad{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__caption.svelte-1l4vnad{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__caption.svelte-1l4vnad{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__caption.svelte-1l4vnad{font-size:calc(0.0080208333 * 100vw + 0px)}}.workshop__ingredients.svelte-1l4vnad{display:flex;align-items:center;justify-content:space-evenly;padding:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.workshop__ingredients.svelte-1l4vnad{padding:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__ingredients.svelte-1l4vnad{padding:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__ingredients.svelte-1l4vnad{padding:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__ingredients.svelte-1l4vnad{padding:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__ingredients.svelte-1l4vnad{padding:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__ingredients.svelte-1l4vnad{padding:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__ingredients.svelte-1l4vnad{padding:calc(0.0114583333 * 100vw + 0px)}}.workshop__ingredient.svelte-1l4vnad{margin:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.workshop__ingredient.svelte-1l4vnad{margin:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__ingredient.svelte-1l4vnad{margin:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__ingredient.svelte-1l4vnad{margin:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__ingredient.svelte-1l4vnad{margin:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__ingredient.svelte-1l4vnad{margin:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__ingredient.svelte-1l4vnad{margin:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__ingredient.svelte-1l4vnad{margin:calc(0.00859375 * 100vw + 0px)}}.workshop__ingredient-caption.svelte-1l4vnad{text-align:center;text-transform:uppercase;font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.0052083333 * 100vw + 0px);margin-top:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.workshop__ingredient-caption.svelte-1l4vnad{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__ingredient-caption.svelte-1l4vnad{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__ingredient-caption.svelte-1l4vnad{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__ingredient-caption.svelte-1l4vnad{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__ingredient-caption.svelte-1l4vnad{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__ingredient-caption.svelte-1l4vnad{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__ingredient-caption.svelte-1l4vnad{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.workshop__ingredient-caption.svelte-1l4vnad{margin-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__ingredient-caption.svelte-1l4vnad{margin-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__ingredient-caption.svelte-1l4vnad{margin-top:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__ingredient-caption.svelte-1l4vnad{margin-top:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__ingredient-caption.svelte-1l4vnad{margin-top:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__ingredient-caption.svelte-1l4vnad{margin-top:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__ingredient-caption.svelte-1l4vnad{margin-top:calc(0.00859375 * 100vw + 0px)}}.workshop__ingredient-caption--disabled.svelte-1l4vnad{color:rgba(255, 255, 255, 0.3)}.workshop__ingredient-item.svelte-1l4vnad{position:relative;background-color:#131516;background:radial-gradient(circle, rgba(255, 255, 255, 0.1) 2%, #131516 66%);border-color:rgba(255, 255, 255, 0.3);border-style:solid;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:calc(0.0052083333 * 100vw + 0px);border-width:calc(0.0005208333 * 100vw + 0px);width:calc(0.0416666667 * 100vw + 0px);height:calc(0.0416666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.workshop__ingredient-item.svelte-1l4vnad{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__ingredient-item.svelte-1l4vnad{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__ingredient-item.svelte-1l4vnad{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__ingredient-item.svelte-1l4vnad{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__ingredient-item.svelte-1l4vnad{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__ingredient-item.svelte-1l4vnad{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__ingredient-item.svelte-1l4vnad{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.workshop__ingredient-item.svelte-1l4vnad{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__ingredient-item.svelte-1l4vnad{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__ingredient-item.svelte-1l4vnad{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__ingredient-item.svelte-1l4vnad{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__ingredient-item.svelte-1l4vnad{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__ingredient-item.svelte-1l4vnad{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__ingredient-item.svelte-1l4vnad{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.workshop__ingredient-item.svelte-1l4vnad{width:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__ingredient-item.svelte-1l4vnad{width:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__ingredient-item.svelte-1l4vnad{width:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__ingredient-item.svelte-1l4vnad{width:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__ingredient-item.svelte-1l4vnad{width:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__ingredient-item.svelte-1l4vnad{width:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__ingredient-item.svelte-1l4vnad{width:calc(0.0458333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.workshop__ingredient-item.svelte-1l4vnad{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__ingredient-item.svelte-1l4vnad{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__ingredient-item.svelte-1l4vnad{height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__ingredient-item.svelte-1l4vnad{height:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__ingredient-item.svelte-1l4vnad{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__ingredient-item.svelte-1l4vnad{height:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__ingredient-item.svelte-1l4vnad{height:calc(0.0458333333 * 100vw + 0px)}}.workshop__ingredient-item--highlight.svelte-1l4vnad{background:unset;background-color:rgba(255, 255, 255, 0.65);-webkit-animation-name:svelte-1l4vnad-blinking;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:cubic-bezier(0.5, 0.5, 1, 0.75);-webkit-animation-duration:1.5s}.workshop__ingredient-item--lock.svelte-1l4vnad{opacity:0.5}.workshop__ingredient-item--big.svelte-1l4vnad{width:calc(0.0625 * 100vw + 0px);height:calc(0.0625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.workshop__ingredient-item--big.svelte-1l4vnad{width:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__ingredient-item--big.svelte-1l4vnad{width:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__ingredient-item--big.svelte-1l4vnad{width:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__ingredient-item--big.svelte-1l4vnad{width:calc(0.06875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__ingredient-item--big.svelte-1l4vnad{width:calc(0.04375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__ingredient-item--big.svelte-1l4vnad{width:calc(0.05625 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__ingredient-item--big.svelte-1l4vnad{width:calc(0.06875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.workshop__ingredient-item--big.svelte-1l4vnad{height:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__ingredient-item--big.svelte-1l4vnad{height:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__ingredient-item--big.svelte-1l4vnad{height:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__ingredient-item--big.svelte-1l4vnad{height:calc(0.06875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__ingredient-item--big.svelte-1l4vnad{height:calc(0.04375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__ingredient-item--big.svelte-1l4vnad{height:calc(0.05625 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__ingredient-item--big.svelte-1l4vnad{height:calc(0.06875 * 100vw + 0px)}}.workshop__lock-icon.svelte-1l4vnad{color:#FFFFFF;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.workshop__lock-icon.svelte-1l4vnad{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__lock-icon.svelte-1l4vnad{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__lock-icon.svelte-1l4vnad{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__lock-icon.svelte-1l4vnad{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__lock-icon.svelte-1l4vnad{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__lock-icon.svelte-1l4vnad{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__lock-icon.svelte-1l4vnad{font-size:calc(0.0103125 * 100vw + 0px)}}.workshop__sharpening-item.svelte-1l4vnad{position:relative;background-color:#131516;background:radial-gradient(circle, rgba(255, 255, 255, 0.1) 2%, #131516 66%);border-color:rgba(255, 255, 255, 0.3);border-style:solid;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:calc(0.0052083333 * 100vw + 0px);border-width:calc(0.0005208333 * 100vw + 0px);width:calc(0.0625 * 100vw + 0px);height:calc(0.0625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.workshop__sharpening-item.svelte-1l4vnad{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__sharpening-item.svelte-1l4vnad{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__sharpening-item.svelte-1l4vnad{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__sharpening-item.svelte-1l4vnad{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__sharpening-item.svelte-1l4vnad{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__sharpening-item.svelte-1l4vnad{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__sharpening-item.svelte-1l4vnad{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.workshop__sharpening-item.svelte-1l4vnad{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__sharpening-item.svelte-1l4vnad{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__sharpening-item.svelte-1l4vnad{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__sharpening-item.svelte-1l4vnad{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__sharpening-item.svelte-1l4vnad{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__sharpening-item.svelte-1l4vnad{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__sharpening-item.svelte-1l4vnad{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.workshop__sharpening-item.svelte-1l4vnad{width:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__sharpening-item.svelte-1l4vnad{width:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__sharpening-item.svelte-1l4vnad{width:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__sharpening-item.svelte-1l4vnad{width:calc(0.06875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__sharpening-item.svelte-1l4vnad{width:calc(0.04375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__sharpening-item.svelte-1l4vnad{width:calc(0.05625 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__sharpening-item.svelte-1l4vnad{width:calc(0.06875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.workshop__sharpening-item.svelte-1l4vnad{height:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__sharpening-item.svelte-1l4vnad{height:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__sharpening-item.svelte-1l4vnad{height:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__sharpening-item.svelte-1l4vnad{height:calc(0.06875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__sharpening-item.svelte-1l4vnad{height:calc(0.04375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__sharpening-item.svelte-1l4vnad{height:calc(0.05625 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__sharpening-item.svelte-1l4vnad{height:calc(0.06875 * 100vw + 0px)}}.workshop__ingredient-item-color.svelte-1l4vnad{position:absolute;background-color:var(--item-color);pointer-events:none;width:calc(0.00625 * 100vw + 0px);height:calc(0.00625 * 100vw + 0px);border-radius:calc(0.0010416667 * 100vw + 0px);top:calc(0.0052083333 * 100vw + 0px);left:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.workshop__ingredient-item-color.svelte-1l4vnad{width:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__ingredient-item-color.svelte-1l4vnad{width:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__ingredient-item-color.svelte-1l4vnad{width:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__ingredient-item-color.svelte-1l4vnad{width:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__ingredient-item-color.svelte-1l4vnad{width:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__ingredient-item-color.svelte-1l4vnad{width:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__ingredient-item-color.svelte-1l4vnad{width:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.workshop__ingredient-item-color.svelte-1l4vnad{height:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__ingredient-item-color.svelte-1l4vnad{height:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__ingredient-item-color.svelte-1l4vnad{height:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__ingredient-item-color.svelte-1l4vnad{height:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__ingredient-item-color.svelte-1l4vnad{height:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__ingredient-item-color.svelte-1l4vnad{height:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__ingredient-item-color.svelte-1l4vnad{height:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.workshop__ingredient-item-color.svelte-1l4vnad{border-radius:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__ingredient-item-color.svelte-1l4vnad{border-radius:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__ingredient-item-color.svelte-1l4vnad{border-radius:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__ingredient-item-color.svelte-1l4vnad{border-radius:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__ingredient-item-color.svelte-1l4vnad{border-radius:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__ingredient-item-color.svelte-1l4vnad{border-radius:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__ingredient-item-color.svelte-1l4vnad{border-radius:calc(0.0011458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.workshop__ingredient-item-color.svelte-1l4vnad{top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__ingredient-item-color.svelte-1l4vnad{top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__ingredient-item-color.svelte-1l4vnad{top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__ingredient-item-color.svelte-1l4vnad{top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__ingredient-item-color.svelte-1l4vnad{top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__ingredient-item-color.svelte-1l4vnad{top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__ingredient-item-color.svelte-1l4vnad{top:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.workshop__ingredient-item-color.svelte-1l4vnad{left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__ingredient-item-color.svelte-1l4vnad{left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__ingredient-item-color.svelte-1l4vnad{left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__ingredient-item-color.svelte-1l4vnad{left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__ingredient-item-color.svelte-1l4vnad{left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__ingredient-item-color.svelte-1l4vnad{left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__ingredient-item-color.svelte-1l4vnad{left:calc(0.0057291667 * 100vw + 0px)}}.workshop__ingredient-item-image.svelte-1l4vnad{height:70%;object-fit:contain;pointer-events:none}.workshop__ingredient-item-image--placeholder.svelte-1l4vnad{opacity:0.5}.workshop__ingredient-item-amount.svelte-1l4vnad{position:absolute;display:flex;font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.00625 * 100vw + 0px);bottom:calc(0.00625 * 100vw + 0px);right:calc(0.0057291667 * 100vw + 0px);gap:calc(0.0015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.workshop__ingredient-item-amount.svelte-1l4vnad{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__ingredient-item-amount.svelte-1l4vnad{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__ingredient-item-amount.svelte-1l4vnad{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__ingredient-item-amount.svelte-1l4vnad{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__ingredient-item-amount.svelte-1l4vnad{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__ingredient-item-amount.svelte-1l4vnad{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__ingredient-item-amount.svelte-1l4vnad{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.workshop__ingredient-item-amount.svelte-1l4vnad{bottom:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__ingredient-item-amount.svelte-1l4vnad{bottom:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__ingredient-item-amount.svelte-1l4vnad{bottom:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__ingredient-item-amount.svelte-1l4vnad{bottom:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__ingredient-item-amount.svelte-1l4vnad{bottom:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__ingredient-item-amount.svelte-1l4vnad{bottom:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__ingredient-item-amount.svelte-1l4vnad{bottom:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.workshop__ingredient-item-amount.svelte-1l4vnad{right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__ingredient-item-amount.svelte-1l4vnad{right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__ingredient-item-amount.svelte-1l4vnad{right:calc(0.0044114583 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__ingredient-item-amount.svelte-1l4vnad{right:calc(0.0063020833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__ingredient-item-amount.svelte-1l4vnad{right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__ingredient-item-amount.svelte-1l4vnad{right:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__ingredient-item-amount.svelte-1l4vnad{right:calc(0.0063020833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.workshop__ingredient-item-amount.svelte-1l4vnad{gap:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__ingredient-item-amount.svelte-1l4vnad{gap:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__ingredient-item-amount.svelte-1l4vnad{gap:calc(0.001203125 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__ingredient-item-amount.svelte-1l4vnad{gap:calc(0.00171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__ingredient-item-amount.svelte-1l4vnad{gap:calc(0.00109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__ingredient-item-amount.svelte-1l4vnad{gap:calc(0.00140625 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__ingredient-item-amount.svelte-1l4vnad{gap:calc(0.00171875 * 100vw + 0px)}}.workshop__next-counter.svelte-1l4vnad,.workshop__current-counter.svelte-1l4vnad{font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.workshop__next-counter.svelte-1l4vnad,.workshop__current-counter.svelte-1l4vnad{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__next-counter.svelte-1l4vnad,.workshop__current-counter.svelte-1l4vnad{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__next-counter.svelte-1l4vnad,.workshop__current-counter.svelte-1l4vnad{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__next-counter.svelte-1l4vnad,.workshop__current-counter.svelte-1l4vnad{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__next-counter.svelte-1l4vnad,.workshop__current-counter.svelte-1l4vnad{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__next-counter.svelte-1l4vnad,.workshop__current-counter.svelte-1l4vnad{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__next-counter.svelte-1l4vnad,.workshop__current-counter.svelte-1l4vnad{font-size:calc(0.0080208333 * 100vw + 0px)}}.workshop__progress-wrapper.svelte-1l4vnad{display:flex;align-items:center;justify-content:space-evenly;padding:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.workshop__progress-wrapper.svelte-1l4vnad{padding:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__progress-wrapper.svelte-1l4vnad{padding:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__progress-wrapper.svelte-1l4vnad{padding:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__progress-wrapper.svelte-1l4vnad{padding:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__progress-wrapper.svelte-1l4vnad{padding:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__progress-wrapper.svelte-1l4vnad{padding:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__progress-wrapper.svelte-1l4vnad{padding:calc(0.0114583333 * 100vw + 0px)}}.workshop__colors.svelte-1l4vnad{display:flex;align-items:center;justify-content:center;padding:calc(0.0104166667 * 100vw + 0px);gap:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.workshop__colors.svelte-1l4vnad{padding:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__colors.svelte-1l4vnad{padding:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__colors.svelte-1l4vnad{padding:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__colors.svelte-1l4vnad{padding:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__colors.svelte-1l4vnad{padding:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__colors.svelte-1l4vnad{padding:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__colors.svelte-1l4vnad{padding:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.workshop__colors.svelte-1l4vnad{gap:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__colors.svelte-1l4vnad{gap:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__colors.svelte-1l4vnad{gap:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__colors.svelte-1l4vnad{gap:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__colors.svelte-1l4vnad{gap:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__colors.svelte-1l4vnad{gap:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__colors.svelte-1l4vnad{gap:calc(0.0022916667 * 100vw + 0px)}}.workshop__color.svelte-1l4vnad{display:flex;align-items:center;justify-content:center;background-color:var(--color);transition:0.14s ease-out;transition-property:transform, opacity;opacity:0.6;width:calc(0.0182291667 * 100vw + 0px);height:calc(0.0182291667 * 100vw + 0px);border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.workshop__color.svelte-1l4vnad{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__color.svelte-1l4vnad{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__color.svelte-1l4vnad{width:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__color.svelte-1l4vnad{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__color.svelte-1l4vnad{width:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__color.svelte-1l4vnad{width:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__color.svelte-1l4vnad{width:calc(0.0200520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.workshop__color.svelte-1l4vnad{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__color.svelte-1l4vnad{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__color.svelte-1l4vnad{height:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__color.svelte-1l4vnad{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__color.svelte-1l4vnad{height:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__color.svelte-1l4vnad{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__color.svelte-1l4vnad{height:calc(0.0200520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.workshop__color.svelte-1l4vnad{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__color.svelte-1l4vnad{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__color.svelte-1l4vnad{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__color.svelte-1l4vnad{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__color.svelte-1l4vnad{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__color.svelte-1l4vnad{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__color.svelte-1l4vnad{border-radius:calc(0.0028645833 * 100vw + 0px)}}.workshop__color.svelte-1l4vnad:hover,.workshop__color--active.svelte-1l4vnad{transform:scale(1.1) translateY(-10%);opacity:1}.workshop__color-icon.svelte-1l4vnad{color:#FF3737;font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.workshop__color-icon.svelte-1l4vnad{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__color-icon.svelte-1l4vnad{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__color-icon.svelte-1l4vnad{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__color-icon.svelte-1l4vnad{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__color-icon.svelte-1l4vnad{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__color-icon.svelte-1l4vnad{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__color-icon.svelte-1l4vnad{font-size:calc(0.0080208333 * 100vw + 0px)}}.workshop__progress-bar.svelte-1l4vnad{width:90%;height:100%;border-style:solid;border-color:rgba(255, 255, 255, 0.1);background-color:#131516;overflow:hidden;border-width:calc(0.0005208333 * 100vw + 0px);padding:calc(0.0015625 * 100vw + 0px);height:calc(0.009375 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);margin-left:calc(0.0052083333 * 100vw + 0px);margin-right:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.workshop__progress-bar.svelte-1l4vnad{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__progress-bar.svelte-1l4vnad{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__progress-bar.svelte-1l4vnad{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__progress-bar.svelte-1l4vnad{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__progress-bar.svelte-1l4vnad{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__progress-bar.svelte-1l4vnad{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__progress-bar.svelte-1l4vnad{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.workshop__progress-bar.svelte-1l4vnad{padding:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__progress-bar.svelte-1l4vnad{padding:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__progress-bar.svelte-1l4vnad{padding:calc(0.001203125 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__progress-bar.svelte-1l4vnad{padding:calc(0.00171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__progress-bar.svelte-1l4vnad{padding:calc(0.00109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__progress-bar.svelte-1l4vnad{padding:calc(0.00140625 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__progress-bar.svelte-1l4vnad{padding:calc(0.00171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.workshop__progress-bar.svelte-1l4vnad{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__progress-bar.svelte-1l4vnad{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__progress-bar.svelte-1l4vnad{height:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__progress-bar.svelte-1l4vnad{height:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__progress-bar.svelte-1l4vnad{height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__progress-bar.svelte-1l4vnad{height:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__progress-bar.svelte-1l4vnad{height:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.workshop__progress-bar.svelte-1l4vnad{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__progress-bar.svelte-1l4vnad{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__progress-bar.svelte-1l4vnad{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__progress-bar.svelte-1l4vnad{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__progress-bar.svelte-1l4vnad{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__progress-bar.svelte-1l4vnad{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__progress-bar.svelte-1l4vnad{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.workshop__progress-bar.svelte-1l4vnad{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__progress-bar.svelte-1l4vnad{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__progress-bar.svelte-1l4vnad{margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__progress-bar.svelte-1l4vnad{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__progress-bar.svelte-1l4vnad{margin-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__progress-bar.svelte-1l4vnad{margin-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__progress-bar.svelte-1l4vnad{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.workshop__progress-bar.svelte-1l4vnad{margin-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__progress-bar.svelte-1l4vnad{margin-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__progress-bar.svelte-1l4vnad{margin-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__progress-bar.svelte-1l4vnad{margin-right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__progress-bar.svelte-1l4vnad{margin-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__progress-bar.svelte-1l4vnad{margin-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__progress-bar.svelte-1l4vnad{margin-right:calc(0.0057291667 * 100vw + 0px)}}.workshop__progress-bar-current.svelte-1l4vnad{height:100%;width:0%;border-style:solid;border-color:rgba(255, 255, 255, 0.1);background-color:#FFCB5A;transition:var(--transition-time);transition-timing-function:linear;transition-property:width;border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.workshop__progress-bar-current.svelte-1l4vnad{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__progress-bar-current.svelte-1l4vnad{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__progress-bar-current.svelte-1l4vnad{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__progress-bar-current.svelte-1l4vnad{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__progress-bar-current.svelte-1l4vnad{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__progress-bar-current.svelte-1l4vnad{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__progress-bar-current.svelte-1l4vnad{border-radius:calc(0.0057291667 * 100vw + 0px)}}.workshop__progress-bar-current--filled.svelte-1l4vnad{width:100%}.workshop__menu-panel.svelte-1l4vnad{display:grid;grid-template-columns:repeat(2, 1fr);grid-auto-flow:row;background-color:rgba(19, 21, 22, 0.9);padding:calc(0.0104166667 * 100vw + 0px);grid-gap:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.workshop__menu-panel.svelte-1l4vnad{padding:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__menu-panel.svelte-1l4vnad{padding:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__menu-panel.svelte-1l4vnad{padding:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__menu-panel.svelte-1l4vnad{padding:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__menu-panel.svelte-1l4vnad{padding:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__menu-panel.svelte-1l4vnad{padding:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__menu-panel.svelte-1l4vnad{padding:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.workshop__menu-panel.svelte-1l4vnad{grid-gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__menu-panel.svelte-1l4vnad{grid-gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__menu-panel.svelte-1l4vnad{grid-gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__menu-panel.svelte-1l4vnad{grid-gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__menu-panel.svelte-1l4vnad{grid-gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__menu-panel.svelte-1l4vnad{grid-gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__menu-panel.svelte-1l4vnad{grid-gap:calc(0.0057291667 * 100vw + 0px)}}.workshop__menu-item.svelte-1l4vnad{height:calc(0.0208333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.workshop__menu-item.svelte-1l4vnad{height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__menu-item.svelte-1l4vnad{height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__menu-item.svelte-1l4vnad{height:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__menu-item.svelte-1l4vnad{height:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__menu-item.svelte-1l4vnad{height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__menu-item.svelte-1l4vnad{height:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__menu-item.svelte-1l4vnad{height:calc(0.0229166667 * 100vw + 0px)}}.workshop__menu-item.svelte-1l4vnad:nth-child(3n+1),.workshop__menu-item.svelte-1l4vnad:nth-child(3n+4){grid-column:span 2}.workshop__menu-item--button.svelte-1l4vnad{opacity:0.8}.workshop__menu-item--button.svelte-1l4vnad:hover{opacity:1}.workshop__chance.svelte-1l4vnad,.workshop__price.svelte-1l4vnad{height:100%;display:flex;align-items:center;justify-content:space-between;background-color:rgba(255, 255, 255, 0.3);padding-left:calc(0.0104166667 * 100vw + 0px);padding-right:calc(0.0104166667 * 100vw + 0px);border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.workshop__chance.svelte-1l4vnad,.workshop__price.svelte-1l4vnad{padding-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__chance.svelte-1l4vnad,.workshop__price.svelte-1l4vnad{padding-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__chance.svelte-1l4vnad,.workshop__price.svelte-1l4vnad{padding-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__chance.svelte-1l4vnad,.workshop__price.svelte-1l4vnad{padding-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__chance.svelte-1l4vnad,.workshop__price.svelte-1l4vnad{padding-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__chance.svelte-1l4vnad,.workshop__price.svelte-1l4vnad{padding-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__chance.svelte-1l4vnad,.workshop__price.svelte-1l4vnad{padding-left:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.workshop__chance.svelte-1l4vnad,.workshop__price.svelte-1l4vnad{padding-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__chance.svelte-1l4vnad,.workshop__price.svelte-1l4vnad{padding-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__chance.svelte-1l4vnad,.workshop__price.svelte-1l4vnad{padding-right:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__chance.svelte-1l4vnad,.workshop__price.svelte-1l4vnad{padding-right:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__chance.svelte-1l4vnad,.workshop__price.svelte-1l4vnad{padding-right:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__chance.svelte-1l4vnad,.workshop__price.svelte-1l4vnad{padding-right:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__chance.svelte-1l4vnad,.workshop__price.svelte-1l4vnad{padding-right:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.workshop__chance.svelte-1l4vnad,.workshop__price.svelte-1l4vnad{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__chance.svelte-1l4vnad,.workshop__price.svelte-1l4vnad{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__chance.svelte-1l4vnad,.workshop__price.svelte-1l4vnad{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__chance.svelte-1l4vnad,.workshop__price.svelte-1l4vnad{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__chance.svelte-1l4vnad,.workshop__price.svelte-1l4vnad{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__chance.svelte-1l4vnad,.workshop__price.svelte-1l4vnad{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__chance.svelte-1l4vnad,.workshop__price.svelte-1l4vnad{border-radius:calc(0.0028645833 * 100vw + 0px)}}.workshop__chance-caption.svelte-1l4vnad,.workshop__price-caption.svelte-1l4vnad{text-transform:uppercase;font-style:italic;font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.workshop__chance-caption.svelte-1l4vnad,.workshop__price-caption.svelte-1l4vnad{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__chance-caption.svelte-1l4vnad,.workshop__price-caption.svelte-1l4vnad{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__chance-caption.svelte-1l4vnad,.workshop__price-caption.svelte-1l4vnad{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__chance-caption.svelte-1l4vnad,.workshop__price-caption.svelte-1l4vnad{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__chance-caption.svelte-1l4vnad,.workshop__price-caption.svelte-1l4vnad{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__chance-caption.svelte-1l4vnad,.workshop__price-caption.svelte-1l4vnad{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__chance-caption.svelte-1l4vnad,.workshop__price-caption.svelte-1l4vnad{font-size:calc(0.0080208333 * 100vw + 0px)}}.workshop__chance-value-wrapper.svelte-1l4vnad,.workshop__price-value-wrapper.svelte-1l4vnad{display:flex;align-items:center}.workshop__chance-value.svelte-1l4vnad,.workshop__price-value.svelte-1l4vnad{text-transform:uppercase;font-style:italic;font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.workshop__chance-value.svelte-1l4vnad,.workshop__price-value.svelte-1l4vnad{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__chance-value.svelte-1l4vnad,.workshop__price-value.svelte-1l4vnad{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__chance-value.svelte-1l4vnad,.workshop__price-value.svelte-1l4vnad{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__chance-value.svelte-1l4vnad,.workshop__price-value.svelte-1l4vnad{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__chance-value.svelte-1l4vnad,.workshop__price-value.svelte-1l4vnad{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__chance-value.svelte-1l4vnad,.workshop__price-value.svelte-1l4vnad{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__chance-value.svelte-1l4vnad,.workshop__price-value.svelte-1l4vnad{font-size:calc(0.0080208333 * 100vw + 0px)}}.workshop__chance-icon.svelte-1l4vnad,.workshop__price-icon.svelte-1l4vnad{display:flex;align-items:center;justify-content:center;font-family:PFDinDisplayProRegular;color:#FFFFFF;font-weight:700;font-size:calc(0.0072916667 * 100vw + 0px);margin-left:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.workshop__chance-icon.svelte-1l4vnad,.workshop__price-icon.svelte-1l4vnad{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__chance-icon.svelte-1l4vnad,.workshop__price-icon.svelte-1l4vnad{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__chance-icon.svelte-1l4vnad,.workshop__price-icon.svelte-1l4vnad{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__chance-icon.svelte-1l4vnad,.workshop__price-icon.svelte-1l4vnad{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__chance-icon.svelte-1l4vnad,.workshop__price-icon.svelte-1l4vnad{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__chance-icon.svelte-1l4vnad,.workshop__price-icon.svelte-1l4vnad{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__chance-icon.svelte-1l4vnad,.workshop__price-icon.svelte-1l4vnad{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.workshop__chance-icon.svelte-1l4vnad,.workshop__price-icon.svelte-1l4vnad{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__chance-icon.svelte-1l4vnad,.workshop__price-icon.svelte-1l4vnad{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__chance-icon.svelte-1l4vnad,.workshop__price-icon.svelte-1l4vnad{margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__chance-icon.svelte-1l4vnad,.workshop__price-icon.svelte-1l4vnad{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__chance-icon.svelte-1l4vnad,.workshop__price-icon.svelte-1l4vnad{margin-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__chance-icon.svelte-1l4vnad,.workshop__price-icon.svelte-1l4vnad{margin-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__chance-icon.svelte-1l4vnad,.workshop__price-icon.svelte-1l4vnad{margin-left:calc(0.0057291667 * 100vw + 0px)}}.workshop__chance-icon--money.svelte-1l4vnad,.workshop__price-icon--money.svelte-1l4vnad{color:#131516;border-radius:50%;background-color:#FFFFFF;width:calc(0.0072916667 * 100vw + 0px);height:calc(0.0072916667 * 100vw + 0px);font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.workshop__chance-icon--money.svelte-1l4vnad,.workshop__price-icon--money.svelte-1l4vnad{width:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__chance-icon--money.svelte-1l4vnad,.workshop__price-icon--money.svelte-1l4vnad{width:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__chance-icon--money.svelte-1l4vnad,.workshop__price-icon--money.svelte-1l4vnad{width:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__chance-icon--money.svelte-1l4vnad,.workshop__price-icon--money.svelte-1l4vnad{width:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__chance-icon--money.svelte-1l4vnad,.workshop__price-icon--money.svelte-1l4vnad{width:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__chance-icon--money.svelte-1l4vnad,.workshop__price-icon--money.svelte-1l4vnad{width:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__chance-icon--money.svelte-1l4vnad,.workshop__price-icon--money.svelte-1l4vnad{width:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.workshop__chance-icon--money.svelte-1l4vnad,.workshop__price-icon--money.svelte-1l4vnad{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__chance-icon--money.svelte-1l4vnad,.workshop__price-icon--money.svelte-1l4vnad{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__chance-icon--money.svelte-1l4vnad,.workshop__price-icon--money.svelte-1l4vnad{height:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__chance-icon--money.svelte-1l4vnad,.workshop__price-icon--money.svelte-1l4vnad{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__chance-icon--money.svelte-1l4vnad,.workshop__price-icon--money.svelte-1l4vnad{height:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__chance-icon--money.svelte-1l4vnad,.workshop__price-icon--money.svelte-1l4vnad{height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__chance-icon--money.svelte-1l4vnad,.workshop__price-icon--money.svelte-1l4vnad{height:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.workshop__chance-icon--money.svelte-1l4vnad,.workshop__price-icon--money.svelte-1l4vnad{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__chance-icon--money.svelte-1l4vnad,.workshop__price-icon--money.svelte-1l4vnad{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__chance-icon--money.svelte-1l4vnad,.workshop__price-icon--money.svelte-1l4vnad{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__chance-icon--money.svelte-1l4vnad,.workshop__price-icon--money.svelte-1l4vnad{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__chance-icon--money.svelte-1l4vnad,.workshop__price-icon--money.svelte-1l4vnad{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__chance-icon--money.svelte-1l4vnad,.workshop__price-icon--money.svelte-1l4vnad{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__chance-icon--money.svelte-1l4vnad,.workshop__price-icon--money.svelte-1l4vnad{font-size:calc(0.0057291667 * 100vw + 0px)}}.workshop__tabs-control.svelte-1l4vnad{background-color:#131516;display:grid;grid-template-columns:1fr 1fr;justify-content:center;gap:calc(0.0052083333 * 100vw + 0px);padding:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.workshop__tabs-control.svelte-1l4vnad{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__tabs-control.svelte-1l4vnad{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__tabs-control.svelte-1l4vnad{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__tabs-control.svelte-1l4vnad{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__tabs-control.svelte-1l4vnad{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__tabs-control.svelte-1l4vnad{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__tabs-control.svelte-1l4vnad{gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.workshop__tabs-control.svelte-1l4vnad{padding:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__tabs-control.svelte-1l4vnad{padding:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__tabs-control.svelte-1l4vnad{padding:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__tabs-control.svelte-1l4vnad{padding:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__tabs-control.svelte-1l4vnad{padding:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__tabs-control.svelte-1l4vnad{padding:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__tabs-control.svelte-1l4vnad{padding:calc(0.0114583333 * 100vw + 0px)}}.workshop__tab-control-button.svelte-1l4vnad{width:100%;height:calc(0.0208333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.workshop__tab-control-button.svelte-1l4vnad{height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.workshop__tab-control-button.svelte-1l4vnad{height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.workshop__tab-control-button.svelte-1l4vnad{height:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.workshop__tab-control-button.svelte-1l4vnad{height:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.workshop__tab-control-button.svelte-1l4vnad{height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.workshop__tab-control-button.svelte-1l4vnad{height:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.workshop__tab-control-button.svelte-1l4vnad{height:calc(0.0229166667 * 100vw + 0px)}}.workshop__tab-control-button--wide.svelte-1l4vnad{grid-column:span 3}");
}

function workshop_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[43] = list[i];
	child_ctx[45] = i;
	return child_ctx;
}

// (2995:20) {#if $workshopCurrentTab !== WorkshopTabs.Repair}
function create_if_block_15(ctx) {
	let div2;
	let div0;
	let show_if;
	let show_if_1;
	let t0;
	let div1;
	let t1_value = MAP_TAB_TO_CAPTION[/*$workshopCurrentTab*/ ctx[5]] + "";
	let t1;
	let mounted;
	let dispose;

	function select_block_type(ctx, dirty) {
		if (dirty[0] & /*$colorItem*/ 4) show_if = null;
		if (dirty[0] & /*$workshopCurrentTab, $colorItem*/ 36) show_if_1 = null;
		if (show_if == null) show_if = !!!(0,lodash.isEmpty)(/*$colorItem*/ ctx[2]);
		if (show_if) return create_if_block_16;
		if (show_if_1 == null) show_if_1 = !!(/*$workshopCurrentTab*/ ctx[5] === WorkshopTabs.Repaint && (0,lodash.isEmpty)(/*$colorItem*/ ctx[2]));
		if (show_if_1) return create_if_block_17;
		if (/*$workshopCurrentTab*/ ctx[5] === WorkshopTabs.Enchant) return create_if_block_18;
		if (/*$workshopCurrentTab*/ ctx[5] !== WorkshopTabs.Repaint) return create_if_block_19;
	}

	let current_block_type = select_block_type(ctx, [-1, -1]);
	let if_block = current_block_type && current_block_type(ctx);

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			if (if_block) if_block.c();
			t0 = space();
			div1 = internal_element("div");
			t1 = internal_text(t1_value);
			attr(div0, "class", "workshop__ingredient-item workshop__ingredient-item--lock svelte-1l4vnad");
			toggle_class(div0, "workshop__ingredient-item--highlight", /*colorHighlight*/ ctx[14]);
			attr(div1, "class", "workshop__ingredient-caption svelte-1l4vnad");
			toggle_class(div1, "workshop__ingredient-caption--disabled", true);
			attr(div2, "class", "workshop__ingredient svelte-1l4vnad");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			if (if_block) if_block.m(div0, null);
			append(div2, t0);
			append(div2, div1);
			append(div1, t1);

			if (!mounted) {
				dispose = [
					listen(div2, "mouseenter", /*mouseenter_handler*/ ctx[29]),
					listen(div2, "mouseleave", /*mouseleave_handler*/ ctx[30]),
					listen(div2, "mouseup", /*handleMouseUp*/ ctx[21]),
					listen(div2, "click", /*clearColorItem*/ ctx[18])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if (if_block) if_block.d(1);
				if_block = current_block_type && current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div0, null);
				}
			}

			if (dirty[0] & /*colorHighlight*/ 16384) {
				toggle_class(div0, "workshop__ingredient-item--highlight", /*colorHighlight*/ ctx[14]);
			}

			if (dirty[0] & /*$workshopCurrentTab*/ 32 && t1_value !== (t1_value = MAP_TAB_TO_CAPTION[/*$workshopCurrentTab*/ ctx[5]] + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div2);

			if (if_block) {
				if_block.d();
			}

			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (3015:87) 
function create_if_block_19(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "workshop__lock-icon ui-lock svelte-1l4vnad");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (3012:87) 
function create_if_block_18(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "workshop__lock-icon ui-lock svelte-1l4vnad");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (3010:110) 
function create_if_block_17(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/809.webp`)) attr(img, "src", img_src_value);
			attr(img, "class", "workshop__ingredient-item-image workshop__ingredient-item-image--placeholder svelte-1l4vnad");
			attr(img, "alt", "icon");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (3008:32) {#if !isEmpty($colorItem)}
function create_if_block_16(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*$colorItem*/ ctx[2].item}.webp`)) attr(img, "src", img_src_value);
			attr(img, "class", "workshop__ingredient-item-image svelte-1l4vnad");
			attr(img, "alt", "icon");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$colorItem*/ 4 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*$colorItem*/ ctx[2].item}.webp`)) {
				attr(img, "src", img_src_value);
			}
		},
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (3038:28) {#if !isEmpty($enchantItem)}
function workshop_index_svelte_create_if_block_12(ctx) {
	let show_if = !(0,lodash.isNil)(/*$enchantItem*/ ctx[4].color);
	let t0;
	let img;
	let img_src_value;
	let t1;
	let if_block1_anchor;
	let if_block0 = show_if && create_if_block_14(ctx);
	let if_block1 = /*$workshopCurrentTab*/ ctx[5] !== WorkshopTabs.Disassemble && create_if_block_13(ctx);

	return {
		c() {
			if (if_block0) if_block0.c();
			t0 = space();
			img = internal_element("img");
			t1 = space();
			if (if_block1) if_block1.c();
			if_block1_anchor = empty();
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*$enchantItem*/ ctx[4].item}.webp`)) attr(img, "src", img_src_value);
			attr(img, "class", "workshop__ingredient-item-image svelte-1l4vnad");
			attr(img, "alt", "icon");
		},
		m(target, anchor) {
			if (if_block0) if_block0.m(target, anchor);
			insert(target, t0, anchor);
			insert(target, img, anchor);
			insert(target, t1, anchor);
			if (if_block1) if_block1.m(target, anchor);
			insert(target, if_block1_anchor, anchor);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$enchantItem*/ 16) show_if = !(0,lodash.isNil)(/*$enchantItem*/ ctx[4].color);

			if (show_if) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = create_if_block_14(ctx);
					if_block0.c();
					if_block0.m(t0.parentNode, t0);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty[0] & /*$enchantItem*/ 16 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*$enchantItem*/ ctx[4].item}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (/*$workshopCurrentTab*/ ctx[5] !== WorkshopTabs.Disassemble) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = create_if_block_13(ctx);
					if_block1.c();
					if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}
		},
		d(detaching) {
			if (if_block0) if_block0.d(detaching);
			if (detaching) detach(t0);
			if (detaching) detach(img);
			if (detaching) detach(t1);
			if (if_block1) if_block1.d(detaching);
			if (detaching) detach(if_block1_anchor);
		}
	};
}

// (3039:32) {#if !isNil($enchantItem.color)}
function create_if_block_14(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			attr(div, "class", "workshop__ingredient-item-color svelte-1l4vnad");
			set_style(div, "--item-color", constants_COLORS[/*$enchantItem*/ ctx[4].color]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$enchantItem*/ 16) {
				set_style(div, "--item-color", constants_COLORS[/*$enchantItem*/ ctx[4].color]);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (3043:32) {#if $workshopCurrentTab !== WorkshopTabs.Disassemble}
function create_if_block_13(ctx) {
	let div;
	let t_value = `+${/*$enchantItem*/ ctx[4].enchant || 0}` + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "workshop__ingredient-item-amount svelte-1l4vnad");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$enchantItem*/ 16 && t_value !== (t_value = `+${/*$enchantItem*/ ctx[4].enchant || 0}` + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (3050:20) {#if $workshopCurrentTab !== WorkshopTabs.Repair}
function workshop_index_svelte_create_if_block_6(ctx) {
	let div2;
	let div0;
	let show_if;
	let show_if_1;
	let show_if_2;
	let t0;
	let t1;
	let div1;

	let t2_value = (/*$workshopCurrentTab*/ ctx[5] === WorkshopTabs.Disassemble
	? 'Схема'
	: 'Заточка') + "";

	let t2;
	let mounted;
	let dispose;

	function select_block_type_1(ctx, dirty) {
		if (dirty[0] & /*$enchantStuff*/ 8) show_if = null;
		if (dirty[0] & /*$workshopCurrentTab, $enchantStuff*/ 40) show_if_1 = null;
		if (dirty[0] & /*$workshopCurrentTab, $enchantStuff*/ 40) show_if_2 = null;
		if (show_if == null) show_if = !!!(0,lodash.isEmpty)(/*$enchantStuff*/ ctx[3]);
		if (show_if) return workshop_index_svelte_create_if_block_8;
		if (show_if_1 == null) show_if_1 = !!((/*$workshopCurrentTab*/ ctx[5] === WorkshopTabs.Repaint || /*$workshopCurrentTab*/ ctx[5] === WorkshopTabs.Enchant) && (0,lodash.isEmpty)(/*$enchantStuff*/ ctx[3]));
		if (show_if_1) return workshop_index_svelte_create_if_block_9;
		if (show_if_2 == null) show_if_2 = !!(/*$workshopCurrentTab*/ ctx[5] === WorkshopTabs.Disassemble && (0,lodash.isEmpty)(/*$enchantStuff*/ ctx[3]));
		if (show_if_2) return workshop_index_svelte_create_if_block_10;
		if (/*$workshopCurrentTab*/ ctx[5] === WorkshopTabs.Repair) return workshop_index_svelte_create_if_block_11;
	}

	let current_block_type = select_block_type_1(ctx, [-1, -1]);
	let if_block0 = current_block_type && current_block_type(ctx);
	let if_block1 = (/*$workshopCurrentTab*/ ctx[5] === WorkshopTabs.Repaint || /*$workshopCurrentTab*/ ctx[5] === WorkshopTabs.Enchant || /*$workshopCurrentTab*/ ctx[5] === WorkshopTabs.Disassemble) && workshop_index_svelte_create_if_block_7(ctx);

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			if (if_block1) if_block1.c();
			t1 = space();
			div1 = internal_element("div");
			t2 = internal_text(t2_value);
			attr(div0, "class", "workshop__ingredient-item svelte-1l4vnad");
			toggle_class(div0, "workshop__ingredient-item--highlight", /*enchantStuffHighlight*/ ctx[13]);
			toggle_class(div0, "workshop__ingredient-item--lock", /*$workshopCurrentTab*/ ctx[5] === WorkshopTabs.Repair);
			attr(div1, "class", "workshop__ingredient-caption svelte-1l4vnad");
			attr(div2, "class", "workshop__ingredient svelte-1l4vnad");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			if (if_block0) if_block0.m(div0, null);
			append(div0, t0);
			if (if_block1) if_block1.m(div0, null);
			append(div2, t1);
			append(div2, div1);
			append(div1, t2);

			if (!mounted) {
				dispose = [
					listen(div2, "mouseenter", /*mouseenter_handler_2*/ ctx[34]),
					listen(div2, "mouseleave", /*mouseleave_handler_2*/ ctx[35]),
					listen(div2, "mouseup", /*handleMouseUp*/ ctx[21]),
					listen(div2, "click", /*clearEnchantStuff*/ ctx[17])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (current_block_type === (current_block_type = select_block_type_1(ctx, dirty)) && if_block0) {
				if_block0.p(ctx, dirty);
			} else {
				if (if_block0) if_block0.d(1);
				if_block0 = current_block_type && current_block_type(ctx);

				if (if_block0) {
					if_block0.c();
					if_block0.m(div0, t0);
				}
			}

			if (/*$workshopCurrentTab*/ ctx[5] === WorkshopTabs.Repaint || /*$workshopCurrentTab*/ ctx[5] === WorkshopTabs.Enchant || /*$workshopCurrentTab*/ ctx[5] === WorkshopTabs.Disassemble) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = workshop_index_svelte_create_if_block_7(ctx);
					if_block1.c();
					if_block1.m(div0, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty[0] & /*enchantStuffHighlight*/ 8192) {
				toggle_class(div0, "workshop__ingredient-item--highlight", /*enchantStuffHighlight*/ ctx[13]);
			}

			if (dirty[0] & /*$workshopCurrentTab*/ 32) {
				toggle_class(div0, "workshop__ingredient-item--lock", /*$workshopCurrentTab*/ ctx[5] === WorkshopTabs.Repair);
			}

			if (dirty[0] & /*$workshopCurrentTab*/ 32 && t2_value !== (t2_value = (/*$workshopCurrentTab*/ ctx[5] === WorkshopTabs.Disassemble
			? 'Схема'
			: 'Заточка') + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div2);

			if (if_block0) {
				if_block0.d();
			}

			if (if_block1) if_block1.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (3069:90) 
function workshop_index_svelte_create_if_block_11(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "workshop__lock-icon ui-lock svelte-1l4vnad");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (3067:123) 
function workshop_index_svelte_create_if_block_10(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${SCHEME_ID}.webp`)) attr(img, "src", img_src_value);
			attr(img, "class", "workshop__ingredient-item-image workshop__ingredient-item-image--placeholder svelte-1l4vnad");
			attr(img, "alt", "icon");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (3065:167) 
function workshop_index_svelte_create_if_block_9(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/3578.webp`)) attr(img, "src", img_src_value);
			attr(img, "class", "workshop__ingredient-item-image workshop__ingredient-item-image--placeholder svelte-1l4vnad");
			attr(img, "alt", "icon");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (3063:36) {#if !isEmpty($enchantStuff)}
function workshop_index_svelte_create_if_block_8(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*$enchantStuff*/ ctx[3].item}.webp`)) attr(img, "src", img_src_value);
			attr(img, "class", "workshop__ingredient-item-image svelte-1l4vnad");
			attr(img, "alt", "icon");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$enchantStuff*/ 8 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*$enchantStuff*/ ctx[3].item}.webp`)) {
				attr(img, "src", img_src_value);
			}
		},
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (3072:36) {#if ($workshopCurrentTab === WorkshopTabs.Repaint || $workshopCurrentTab === WorkshopTabs.Enchant) || $workshopCurrentTab === WorkshopTabs.Disassemble}
function workshop_index_svelte_create_if_block_7(ctx) {
	let div2;
	let div0;

	let t0_value = ((0,lodash.isNil)(/*$enchantStuff*/ ctx[3].amount)
	? 0
	: /*$enchantStuff*/ ctx[3].amount) + "";

	let t0;
	let t1;
	let div1;

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			div1 = internal_element("div");
			div1.textContent = "/ 1";
			attr(div0, "class", "workshop__ingredient-item-amount-current");
			attr(div1, "class", "workshop__ingredient-item-amount-total");
			attr(div2, "class", "workshop__ingredient-item-amount svelte-1l4vnad");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div0, t0);
			append(div2, t1);
			append(div2, div1);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$enchantStuff*/ 8 && t0_value !== (t0_value = ((0,lodash.isNil)(/*$enchantStuff*/ ctx[3].amount)
			? 0
			: /*$enchantStuff*/ ctx[3].amount) + "")) set_data(t0, t0_value);
		},
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

// (3100:115) 
function workshop_index_svelte_create_if_block_3(ctx) {
	let div2;
	let show_if_1 = !(0,lodash.isEmpty)(/*$enchantItem*/ ctx[4]) && !(0,lodash.isNil)(/*$enchantItem*/ ctx[4].enchant) && /*$workshopCurrentTab*/ ctx[5] !== WorkshopTabs.Disassemble;
	let t0;
	let div1;
	let div0;
	let t1;
	let show_if = !(0,lodash.isEmpty)(/*$enchantItem*/ ctx[4]) && /*$enchantItem*/ ctx[4].enchant < MAX_ENCHANT_LEVEL && /*$workshopCurrentTab*/ ctx[5] !== WorkshopTabs.Disassemble;
	let if_block0 = show_if_1 && workshop_index_svelte_create_if_block_5(ctx);
	let if_block1 = show_if && workshop_index_svelte_create_if_block_4(ctx);

	return {
		c() {
			div2 = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			div1 = internal_element("div");
			div0 = internal_element("div");
			t1 = space();
			if (if_block1) if_block1.c();
			attr(div0, "class", "workshop__progress-bar-current svelte-1l4vnad");
			set_style(div0, "--transition-time", `${/*transitionTime*/ ctx[1]}ms`);
			toggle_class(div0, "workshop__progress-bar-current--filled", /*progressFilled*/ ctx[10]);
			attr(div1, "class", "workshop__progress-bar svelte-1l4vnad");
			attr(div2, "class", "workshop__progress-wrapper svelte-1l4vnad");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			if (if_block0) if_block0.m(div2, null);
			append(div2, t0);
			append(div2, div1);
			append(div1, div0);
			append(div2, t1);
			if (if_block1) if_block1.m(div2, null);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$enchantItem, $workshopCurrentTab*/ 48) show_if_1 = !(0,lodash.isEmpty)(/*$enchantItem*/ ctx[4]) && !(0,lodash.isNil)(/*$enchantItem*/ ctx[4].enchant) && /*$workshopCurrentTab*/ ctx[5] !== WorkshopTabs.Disassemble;

			if (show_if_1) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = workshop_index_svelte_create_if_block_5(ctx);
					if_block0.c();
					if_block0.m(div2, t0);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty[0] & /*transitionTime*/ 2) {
				set_style(div0, "--transition-time", `${/*transitionTime*/ ctx[1]}ms`);
			}

			if (dirty[0] & /*progressFilled*/ 1024) {
				toggle_class(div0, "workshop__progress-bar-current--filled", /*progressFilled*/ ctx[10]);
			}

			if (dirty[0] & /*$enchantItem, $workshopCurrentTab*/ 48) show_if = !(0,lodash.isEmpty)(/*$enchantItem*/ ctx[4]) && /*$enchantItem*/ ctx[4].enchant < MAX_ENCHANT_LEVEL && /*$workshopCurrentTab*/ ctx[5] !== WorkshopTabs.Disassemble;

			if (show_if) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = workshop_index_svelte_create_if_block_4(ctx);
					if_block1.c();
					if_block1.m(div2, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}
		},
		d(detaching) {
			if (detaching) detach(div2);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
		}
	};
}

// (3085:8) {#if $workshopCurrentTab === WorkshopTabs.Repaint}
function workshop_index_svelte_create_if_block_1(ctx) {
	let div;
	let each_value = constants_COLORS;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = workshop_index_svelte_create_each_block(workshop_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "workshop__colors svelte-1l4vnad");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}
		},
		p(ctx, dirty) {
			if (dirty[0] & /*colorIndex, selectColor*/ 1048577) {
				each_value = constants_COLORS;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = workshop_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = workshop_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (3102:16) {#if !isEmpty($enchantItem) && !isNil($enchantItem.enchant) && $workshopCurrentTab !== WorkshopTabs.Disassemble}
function workshop_index_svelte_create_if_block_5(ctx) {
	let div;
	let t_value = /*$enchantItem*/ ctx[4].enchant + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "workshop__current-counter svelte-1l4vnad");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$enchantItem*/ 16 && t_value !== (t_value = /*$enchantItem*/ ctx[4].enchant + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (3112:16) {#if !isEmpty($enchantItem) && $enchantItem.enchant < MAX_ENCHANT_LEVEL && $workshopCurrentTab !== WorkshopTabs.Disassemble}
function workshop_index_svelte_create_if_block_4(ctx) {
	let div;
	let t_value = /*$enchantItem*/ ctx[4].enchant + 1 + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "workshop__next-counter svelte-1l4vnad");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$enchantItem*/ 16 && t_value !== (t_value = /*$enchantItem*/ ctx[4].enchant + 1 + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (3094:24) {#if index === 0}
function workshop_index_svelte_create_if_block_2(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "workshop__color-icon ui-close svelte-1l4vnad");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (3087:16) {#each COLORS as color, index}
function workshop_index_svelte_create_each_block(ctx) {
	let div;
	let t;
	let mounted;
	let dispose;
	let if_block = /*index*/ ctx[45] === 0 && workshop_index_svelte_create_if_block_2(ctx);

	function click_handler_1() {
		return /*click_handler_1*/ ctx[36](/*index*/ ctx[45]);
	}

	return {
		c() {
			div = internal_element("div");
			if (if_block) if_block.c();
			t = space();
			attr(div, "class", "workshop__color svelte-1l4vnad");
			set_style(div, "--color", intToRGBA(/*color*/ ctx[43]));
			toggle_class(div, "workshop__color--active", /*colorIndex*/ ctx[0] === /*index*/ ctx[45]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block) if_block.m(div, null);
			append(div, t);

			if (!mounted) {
				dispose = listen(div, "click", click_handler_1);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty[0] & /*colorIndex*/ 1) {
				toggle_class(div, "workshop__color--active", /*colorIndex*/ ctx[0] === /*index*/ ctx[45]);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			if (if_block) if_block.d();
			mounted = false;
			dispose();
		}
	};
}

// (3122:8) {#if $workshopCurrentTab === WorkshopTabs.Enchant || $workshopCurrentTab === WorkshopTabs.Disassemble}
function workshop_index_svelte_create_if_block(ctx) {
	let div5;
	let div4;
	let div0;
	let t1;
	let div3;
	let div1;

	let t2_value = (/*$additionalInfo*/ ctx[15].chance
	? /*$additionalInfo*/ ctx[15].chance
	: 0) + "";

	let t2;
	let t3;
	let div2;

	return {
		c() {
			div5 = internal_element("div");
			div4 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "Шанс успеха";
			t1 = space();
			div3 = internal_element("div");
			div1 = internal_element("div");
			t2 = internal_text(t2_value);
			t3 = space();
			div2 = internal_element("div");
			div2.textContent = "%";
			attr(div0, "class", "workshop__chance-caption svelte-1l4vnad");
			attr(div1, "class", "workshop__chance-value svelte-1l4vnad");
			attr(div2, "class", "workshop__chance-icon svelte-1l4vnad");
			attr(div3, "class", "workshop__chance-value-wrapper svelte-1l4vnad");
			attr(div4, "class", "workshop__chance svelte-1l4vnad");
			attr(div5, "class", "workshop__menu-item svelte-1l4vnad");
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			append(div5, div4);
			append(div4, div0);
			append(div4, t1);
			append(div4, div3);
			append(div3, div1);
			append(div1, t2);
			append(div3, t3);
			append(div3, div2);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$additionalInfo*/ 32768 && t2_value !== (t2_value = (/*$additionalInfo*/ ctx[15].chance
			? /*$additionalInfo*/ ctx[15].chance
			: 0) + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div5);
		}
	};
}

function workshop_index_svelte_create_fragment(ctx) {
	let div23;
	let div2;
	let div0;
	let inventorybutton0;
	let t0;
	let div1;
	let inventorybutton1;
	let t1;
	let div13;
	let div12;
	let div3;
	let div3_class_value;
	let t2;
	let div6;
	let div4;
	let t3_value = MAP_TAB_TO_TITLE[/*$workshopCurrentTab*/ ctx[5]] + "";
	let t3;
	let t4;
	let div5;
	let t5_value = MAP_TAB_TO_DESCRIPTION[/*$workshopCurrentTab*/ ctx[5]] + "";
	let t5;
	let t6;
	let div11;
	let div10;
	let t7;
	let div9;
	let div7;
	let show_if = !(0,lodash.isEmpty)(/*$enchantItem*/ ctx[4]);
	let t8;
	let div8;
	let t10;
	let t11;
	let t12;
	let div22;
	let div14;
	let inventorybutton2;
	let t13;
	let t14;
	let div20;
	let div19;
	let div15;
	let t16;
	let div18;
	let div16;

	let t17_value = (/*$additionalInfo*/ ctx[15].cost
	? formatMoney(/*$additionalInfo*/ ctx[15].cost)
	: 0) + "";

	let t17;
	let t18;
	let div17;
	let t20;
	let div21;
	let inventorybutton3;
	let current;
	let mounted;
	let dispose;

	inventorybutton0 = new inventory_button_index_svelte({
			props: {
				text: MAP_TAB_TO_TITLE[WorkshopTabs.Enchant],
				color: 'grey',
				onClick: /*func*/ ctx[27],
				active: /*$workshopCurrentTab*/ ctx[5] === WorkshopTabs.Enchant
			}
		});

	inventorybutton1 = new inventory_button_index_svelte({
			props: {
				text: MAP_TAB_TO_TITLE[WorkshopTabs.Repair],
				color: 'grey',
				onClick: /*func_1*/ ctx[28],
				active: /*$workshopCurrentTab*/ ctx[5] === WorkshopTabs.Repair
			}
		});

	let if_block0 = /*$workshopCurrentTab*/ ctx[5] !== WorkshopTabs.Repair && create_if_block_15(ctx);
	let if_block1 = show_if && workshop_index_svelte_create_if_block_12(ctx);
	let if_block2 = /*$workshopCurrentTab*/ ctx[5] !== WorkshopTabs.Repair && workshop_index_svelte_create_if_block_6(ctx);

	function select_block_type_2(ctx, dirty) {
		if (/*$workshopCurrentTab*/ ctx[5] === WorkshopTabs.Repaint) return workshop_index_svelte_create_if_block_1;
		if (/*$workshopCurrentTab*/ ctx[5] === WorkshopTabs.Enchant || /*$workshopCurrentTab*/ ctx[5] === WorkshopTabs.Disassemble) return workshop_index_svelte_create_if_block_3;
	}

	let current_block_type = select_block_type_2(ctx, [-1, -1]);
	let if_block3 = current_block_type && current_block_type(ctx);

	inventorybutton2 = new inventory_button_index_svelte({
			props: {
				text: 'Информация',
				color: 'grey',
				onClick: /*func_2*/ ctx[37]
			}
		});

	let if_block4 = (/*$workshopCurrentTab*/ ctx[5] === WorkshopTabs.Enchant || /*$workshopCurrentTab*/ ctx[5] === WorkshopTabs.Disassemble) && workshop_index_svelte_create_if_block(ctx);

	inventorybutton3 = new inventory_button_index_svelte({
			props: {
				text: MAP_TAB_TO_BUTTON_TEXT[/*$workshopCurrentTab*/ ctx[5]],
				onClick: /*start*/ ctx[22],
				disabled: !/*$additionalInfo*/ ctx[15].available || /*disabledButton*/ ctx[9],
				color: 'yellow'
			}
		});

	return {
		c() {
			div23 = internal_element("div");
			div2 = internal_element("div");
			div0 = internal_element("div");
			create_component(inventorybutton0.$$.fragment);
			t0 = space();
			div1 = internal_element("div");
			create_component(inventorybutton1.$$.fragment);
			t1 = space();
			div13 = internal_element("div");
			div12 = internal_element("div");
			div3 = internal_element("div");
			t2 = space();
			div6 = internal_element("div");
			div4 = internal_element("div");
			t3 = internal_text(t3_value);
			t4 = space();
			div5 = internal_element("div");
			t5 = internal_text(t5_value);
			t6 = space();
			div11 = internal_element("div");
			div10 = internal_element("div");
			if (if_block0) if_block0.c();
			t7 = space();
			div9 = internal_element("div");
			div7 = internal_element("div");
			if (if_block1) if_block1.c();
			t8 = space();
			div8 = internal_element("div");
			div8.textContent = "Предмет";
			t10 = space();
			if (if_block2) if_block2.c();
			t11 = space();
			if (if_block3) if_block3.c();
			t12 = space();
			div22 = internal_element("div");
			div14 = internal_element("div");
			create_component(inventorybutton2.$$.fragment);
			t13 = space();
			if (if_block4) if_block4.c();
			t14 = space();
			div20 = internal_element("div");
			div19 = internal_element("div");
			div15 = internal_element("div");
			div15.textContent = "Стоимость";
			t16 = space();
			div18 = internal_element("div");
			div16 = internal_element("div");
			t17 = internal_text(t17_value);
			t18 = space();
			div17 = internal_element("div");
			div17.textContent = "₽";
			t20 = space();
			div21 = internal_element("div");
			create_component(inventorybutton3.$$.fragment);
			attr(div0, "class", "workshop__tab-control-button svelte-1l4vnad");
			attr(div1, "class", "workshop__tab-control-button svelte-1l4vnad");
			attr(div2, "class", "workshop__tabs-control svelte-1l4vnad");
			attr(div3, "class", div3_class_value = "workshop__gradient workshop__gradient--" + /*resultClass*/ ctx[11] + " svelte-1l4vnad");
			attr(div4, "class", "workshop__title svelte-1l4vnad");
			attr(div5, "class", "workshop__caption svelte-1l4vnad");
			attr(div6, "class", "workshop__title-wrapper svelte-1l4vnad");
			attr(div7, "class", "workshop__ingredient-item workshop__ingredient-item--big svelte-1l4vnad");
			toggle_class(div7, "workshop__ingredient-item--highlight", /*enchantItemHighlight*/ ctx[12]);
			attr(div8, "class", "workshop__ingredient-caption svelte-1l4vnad");
			attr(div9, "class", "workshop__ingredient svelte-1l4vnad");
			attr(div10, "class", "workshop__ingredients svelte-1l4vnad");
			attr(div11, "class", "workshop__ingredients svelte-1l4vnad");
			attr(div12, "class", "workshop__gradient-wrapper svelte-1l4vnad");
			attr(div13, "class", "workshop__main-info svelte-1l4vnad");
			attr(div14, "class", "workshop__menu-item svelte-1l4vnad");
			attr(div15, "class", "workshop__price-caption svelte-1l4vnad");
			attr(div16, "class", "workshop__price-value svelte-1l4vnad");
			attr(div17, "class", "workshop__price-icon workshop__price-icon--money svelte-1l4vnad");
			attr(div18, "class", "workshop__price-value-wrapper svelte-1l4vnad");
			attr(div19, "class", "workshop__price svelte-1l4vnad");
			attr(div20, "class", "workshop__menu-item svelte-1l4vnad");
			attr(div21, "class", "workshop__menu-item svelte-1l4vnad");
			toggle_class(div21, "workshop__menu-item--button", /*$additionalInfo*/ ctx[15].available || /*disabledButton*/ ctx[9]);
			attr(div22, "class", "workshop__menu-panel svelte-1l4vnad");
			attr(div23, "class", "workshop svelte-1l4vnad");
		},
		m(target, anchor) {
			insert(target, div23, anchor);
			append(div23, div2);
			append(div2, div0);
			mount_component(inventorybutton0, div0, null);
			append(div2, t0);
			append(div2, div1);
			mount_component(inventorybutton1, div1, null);
			append(div23, t1);
			append(div23, div13);
			append(div13, div12);
			append(div12, div3);
			append(div12, t2);
			append(div12, div6);
			append(div6, div4);
			append(div4, t3);
			append(div6, t4);
			append(div6, div5);
			append(div5, t5);
			append(div12, t6);
			append(div12, div11);
			append(div11, div10);
			if (if_block0) if_block0.m(div10, null);
			append(div10, t7);
			append(div10, div9);
			append(div9, div7);
			if (if_block1) if_block1.m(div7, null);
			append(div9, t8);
			append(div9, div8);
			append(div10, t10);
			if (if_block2) if_block2.m(div10, null);
			append(div13, t11);
			if (if_block3) if_block3.m(div13, null);
			append(div23, t12);
			append(div23, div22);
			append(div22, div14);
			mount_component(inventorybutton2, div14, null);
			append(div22, t13);
			if (if_block4) if_block4.m(div22, null);
			append(div22, t14);
			append(div22, div20);
			append(div20, div19);
			append(div19, div15);
			append(div19, t16);
			append(div19, div18);
			append(div18, div16);
			append(div16, t17);
			append(div18, t18);
			append(div18, div17);
			append(div22, t20);
			append(div22, div21);
			mount_component(inventorybutton3, div21, null);
			current = true;

			if (!mounted) {
				dispose = [
					listen(div9, "mouseenter", /*mouseenter_handler_1*/ ctx[31]),
					listen(div9, "mouseleave", /*mouseleave_handler_1*/ ctx[32]),
					listen(div9, "mouseup", /*handleMouseUp*/ ctx[21]),
					listen(div9, "click", /*click_handler*/ ctx[33])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			const inventorybutton0_changes = {};
			if (dirty[0] & /*$workshopCurrentTab*/ 32) inventorybutton0_changes.active = /*$workshopCurrentTab*/ ctx[5] === WorkshopTabs.Enchant;
			inventorybutton0.$set(inventorybutton0_changes);
			const inventorybutton1_changes = {};
			if (dirty[0] & /*$workshopCurrentTab*/ 32) inventorybutton1_changes.active = /*$workshopCurrentTab*/ ctx[5] === WorkshopTabs.Repair;
			inventorybutton1.$set(inventorybutton1_changes);

			if (!current || dirty[0] & /*resultClass*/ 2048 && div3_class_value !== (div3_class_value = "workshop__gradient workshop__gradient--" + /*resultClass*/ ctx[11] + " svelte-1l4vnad")) {
				attr(div3, "class", div3_class_value);
			}

			if ((!current || dirty[0] & /*$workshopCurrentTab*/ 32) && t3_value !== (t3_value = MAP_TAB_TO_TITLE[/*$workshopCurrentTab*/ ctx[5]] + "")) set_data(t3, t3_value);
			if ((!current || dirty[0] & /*$workshopCurrentTab*/ 32) && t5_value !== (t5_value = MAP_TAB_TO_DESCRIPTION[/*$workshopCurrentTab*/ ctx[5]] + "")) set_data(t5, t5_value);

			if (/*$workshopCurrentTab*/ ctx[5] !== WorkshopTabs.Repair) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = create_if_block_15(ctx);
					if_block0.c();
					if_block0.m(div10, t7);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty[0] & /*$enchantItem*/ 16) show_if = !(0,lodash.isEmpty)(/*$enchantItem*/ ctx[4]);

			if (show_if) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = workshop_index_svelte_create_if_block_12(ctx);
					if_block1.c();
					if_block1.m(div7, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty[0] & /*enchantItemHighlight*/ 4096) {
				toggle_class(div7, "workshop__ingredient-item--highlight", /*enchantItemHighlight*/ ctx[12]);
			}

			if (/*$workshopCurrentTab*/ ctx[5] !== WorkshopTabs.Repair) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = workshop_index_svelte_create_if_block_6(ctx);
					if_block2.c();
					if_block2.m(div10, null);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			if (current_block_type === (current_block_type = select_block_type_2(ctx, dirty)) && if_block3) {
				if_block3.p(ctx, dirty);
			} else {
				if (if_block3) if_block3.d(1);
				if_block3 = current_block_type && current_block_type(ctx);

				if (if_block3) {
					if_block3.c();
					if_block3.m(div13, null);
				}
			}

			if (/*$workshopCurrentTab*/ ctx[5] === WorkshopTabs.Enchant || /*$workshopCurrentTab*/ ctx[5] === WorkshopTabs.Disassemble) {
				if (if_block4) {
					if_block4.p(ctx, dirty);
				} else {
					if_block4 = workshop_index_svelte_create_if_block(ctx);
					if_block4.c();
					if_block4.m(div22, t14);
				}
			} else if (if_block4) {
				if_block4.d(1);
				if_block4 = null;
			}

			if ((!current || dirty[0] & /*$additionalInfo*/ 32768) && t17_value !== (t17_value = (/*$additionalInfo*/ ctx[15].cost
			? formatMoney(/*$additionalInfo*/ ctx[15].cost)
			: 0) + "")) set_data(t17, t17_value);

			const inventorybutton3_changes = {};
			if (dirty[0] & /*$workshopCurrentTab*/ 32) inventorybutton3_changes.text = MAP_TAB_TO_BUTTON_TEXT[/*$workshopCurrentTab*/ ctx[5]];
			if (dirty[0] & /*$additionalInfo, disabledButton*/ 33280) inventorybutton3_changes.disabled = !/*$additionalInfo*/ ctx[15].available || /*disabledButton*/ ctx[9];
			inventorybutton3.$set(inventorybutton3_changes);

			if (dirty[0] & /*$additionalInfo, disabledButton*/ 33280) {
				toggle_class(div21, "workshop__menu-item--button", /*$additionalInfo*/ ctx[15].available || /*disabledButton*/ ctx[9]);
			}
		},
		i(local) {
			if (current) return;
			transition_in(inventorybutton0.$$.fragment, local);
			transition_in(inventorybutton1.$$.fragment, local);
			transition_in(inventorybutton2.$$.fragment, local);
			transition_in(inventorybutton3.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(inventorybutton0.$$.fragment, local);
			transition_out(inventorybutton1.$$.fragment, local);
			transition_out(inventorybutton2.$$.fragment, local);
			transition_out(inventorybutton3.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div23);
			destroy_component(inventorybutton0);
			destroy_component(inventorybutton1);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			if (if_block2) if_block2.d();

			if (if_block3) {
				if_block3.d();
			}

			destroy_component(inventorybutton2);
			if (if_block4) if_block4.d();
			destroy_component(inventorybutton3);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function workshop_index_svelte_instance($$self, $$props, $$invalidate) {
	let $workshopResult;
	let $workshopTimer;
	let $colorItem;
	let $enchantStuff;
	let $enchantItem;
	let $workShopOpened;
	let $inventories;
	let $workshopCurrentTab;
	let $inventoryCurrentItem;
	let $additionalInfo;
	component_subscribe($$self, workshopResult, $$value => $$invalidate(23, $workshopResult = $$value));
	component_subscribe($$self, workshopTimer, $$value => $$invalidate(24, $workshopTimer = $$value));
	component_subscribe($$self, colorItem, $$value => $$invalidate(2, $colorItem = $$value));
	component_subscribe($$self, enchantStuff, $$value => $$invalidate(3, $enchantStuff = $$value));
	component_subscribe($$self, enchantItem, $$value => $$invalidate(4, $enchantItem = $$value));
	component_subscribe($$self, workShopOpened, $$value => $$invalidate(39, $workShopOpened = $$value));
	component_subscribe($$self, inventories, $$value => $$invalidate(25, $inventories = $$value));
	component_subscribe($$self, workshopCurrentTab, $$value => $$invalidate(5, $workshopCurrentTab = $$value));
	component_subscribe($$self, inventoryCurrentItem, $$value => $$invalidate(26, $inventoryCurrentItem = $$value));
	component_subscribe($$self, additionalInfo, $$value => $$invalidate(15, $additionalInfo = $$value));
	set_store_value(workshopCurrentTab, $workshopCurrentTab = WorkshopTabs.Enchant, $workshopCurrentTab);
	let enchantItemHovered = false;
	let enchantStuffHovered = false;
	let colorSlotHovered = false;
	let disabledButton = false;
	let progressFilled = false;
	let resultClass = '';

	let enchantProperties = {
		index: -1,
		left: -1,
		right: -1,
		color: -1
	};

	let colorIndex = -1;
	let transitionTime = -1;
	let enchantItemHighlight = false;
	let enchantStuffHighlight = 1;
	let colorHighlight = false;
	set_store_value(workShopOpened, $workShopOpened = true, $workShopOpened);
	set_store_value(enchantItem, $enchantItem = {}, $enchantItem);
	set_store_value(enchantStuff, $enchantStuff = {}, $enchantStuff);
	set_store_value(colorItem, $colorItem = {}, $colorItem);
	set_store_value(workshopTimer, $workshopTimer = -1, $workshopTimer);
	set_store_value(workshopResult, $workshopResult = null, $workshopResult);
	transitionTime = 0;
	progressFilled = false;

	setTimeout(
		() => {
			$$invalidate(10, progressFilled = false);
		},
		5
	);

	const enchantItemsPool = [
		ITEM_TYPES.ITEM_TYPE_ATTACH,
		ITEM_TYPES.ITEM_TYPE_SKIN,
		ITEM_TYPES.ITEM_TYPE_IMPROV
	];

	const enchantStuffPool = [ITEM_TYPES.ITEM_TYPE_ENCHANT, ITEM_TYPES.ITEM_TYPE_ARMOUR_SHARPENING];

	const clearEnchantItem = () => {
		if ($workshopTimer > 0) {
			return;
		}

		set_store_value(enchantItem, $enchantItem = {}, $enchantItem);
		set_store_value(enchantStuff, $enchantStuff = {}, $enchantStuff);
		set_store_value(colorItem, $colorItem = {}, $colorItem);

		enchantProperties = {
			index: -1,
			left: -1,
			right: -1,
			color: -1
		};
	};

	const clearEnchantStuff = () => {
		if ($workshopTimer > 0) {
			return;
		}

		set_store_value(enchantStuff, $enchantStuff = {}, $enchantStuff);
		enchantProperties.right = -1;
	};

	const clearColorItem = () => {
		if ($workshopTimer > 0) {
			return;
		}

		set_store_value(colorItem, $colorItem = {}, $colorItem);
		$$invalidate(0, colorIndex = -1);
		enchantProperties.left = -1;
		enchantProperties.color = -1;
	};

	const changeTab = tabId => {
		if ($workshopCurrentTab === tabId) {
			return;
		}

		if ($workshopTimer > 0) {
			return;
		}

		set_store_value(workshopCurrentTab, $workshopCurrentTab = tabId, $workshopCurrentTab);
		clearEnchantItem();
		clearColorItem();
		clearEnchantStuff();
		const categoryIndex = Object.values(WorkshopTabs).findIndex(item => $workshopCurrentTab === item);
		sendClientMessage('updateCategory', `{"category": ${categoryIndex}}`);
	};

	const selectColor = index => {
		if (colorIndex === index) {
			$$invalidate(0, colorIndex = -1);
			return;
		}

		if ((0,lodash.isEmpty)($colorItem)) {
			return;
		}

		$$invalidate(0, colorIndex = index);
		enchantProperties.color = index;
		sendClientMessage('updatePaintSlots', JSON.stringify(enchantProperties));
	};

	const handleMouseUp = () => {
		if ((0,lodash.isNil)($inventoryCurrentItem.item)) {
			return;
		}

		if (enchantItemHovered && enchantItemsPool.includes($inventoryCurrentItem.item.item_type) && $inventoryCurrentItem.item.item !== SCHEME_ID) {
			set_store_value(enchantItem, $enchantItem = $inventoryCurrentItem.item, $enchantItem);
			enchantProperties.index = $enchantItem.slot;
		}

		if (enchantStuffHovered && enchantStuffPool.includes($inventoryCurrentItem.item.item_type)) {
			set_store_value(enchantStuff, $enchantStuff = $inventoryCurrentItem.item, $enchantStuff);
			enchantProperties.right = $enchantStuff.slot;
		}

		if ($workshopCurrentTab === WorkshopTabs.Repaint && colorSlotHovered && $inventoryCurrentItem.item.item_type === ITEM_TYPES.ITEM_TYPE_DYE) {
			set_store_value(colorItem, $colorItem = $inventoryCurrentItem.item, $colorItem);
			enchantProperties.left = $colorItem.slot;
			selectColor(0);
		}

		if ($workshopCurrentTab === WorkshopTabs.Enchant && colorSlotHovered && $inventoryCurrentItem.item.item_type === ITEM_TYPES.ITEM_TYPE_SUPER_ENCHANTED) {
			set_store_value(colorItem, $colorItem = $inventoryCurrentItem.item, $colorItem);
			enchantProperties.left = $colorItem.slot;
			selectColor(0);
		}

		if ($workshopCurrentTab === WorkshopTabs.Disassemble && enchantStuffHovered && $inventoryCurrentItem.item.item === SCHEME_ID) {
			set_store_value(enchantStuff, $enchantStuff = $inventoryCurrentItem.item, $enchantStuff);
			enchantProperties.right = $colorItem.slot;
			selectColor(0);
		}
	};

	const start = () => {
		if (disabledButton) {
			return;
		}

		sendClientMessage(MAP_TAB_TO_MESSAGE[$workshopCurrentTab].start);
	}; // if ($workshopCurrentTab === WorkshopTabs.Repair) {
	//     clearEnchantItem();
	// }

	const sendUpdateMessage = () => {
		if ($workshopCurrentTab === WorkshopTabs.Repair && !(0,lodash.isEmpty)($enchantItem)) {
			sendClientMessage(MAP_TAB_TO_MESSAGE[$workshopCurrentTab].update, `{"index": ${$enchantItem.slot}}`);
		} else if ($workshopCurrentTab !== WorkshopTabs.Repair) {
			sendClientMessage(MAP_TAB_TO_MESSAGE[$workshopCurrentTab].update, JSON.stringify(enchantProperties));
		}
	};

	onDestroy(() => {
		$inventories[BLOCK_TYPE.BLOCK_TYPE_MENU].forEach((item, index) => {
			set_store_value(inventories, $inventories[BLOCK_TYPE.BLOCK_TYPE_MENU][index].available = true, $inventories);
		});

		set_store_value(workShopOpened, $workShopOpened = false, $workShopOpened);
		set_store_value(enchantItem, $enchantItem = {}, $enchantItem);
		set_store_value(enchantStuff, $enchantStuff = {}, $enchantStuff);
		set_store_value(colorItem, $colorItem = {}, $colorItem);
		set_store_value(workshopTimer, $workshopTimer = -1, $workshopTimer);
		set_store_value(workshopResult, $workshopResult = null, $workshopResult);
		$$invalidate(10, progressFilled = false);
		$$invalidate(1, transitionTime = 0);
	});

	const func = () => changeTab(WorkshopTabs.Enchant);
	const func_1 = () => changeTab(WorkshopTabs.Repair);

	const mouseenter_handler = () => {
		$$invalidate(8, colorSlotHovered = true);
	};

	const mouseleave_handler = () => {
		$$invalidate(8, colorSlotHovered = false);
	};

	const mouseenter_handler_1 = () => {
		$$invalidate(6, enchantItemHovered = true);
	};

	const mouseleave_handler_1 = () => {
		$$invalidate(6, enchantItemHovered = false);
	};

	const click_handler = () => clearEnchantItem();

	const mouseenter_handler_2 = () => {
		$$invalidate(7, enchantStuffHovered = true);
	};

	const mouseleave_handler_2 = () => {
		$$invalidate(7, enchantStuffHovered = false);
	};

	const click_handler_1 = index => selectColor(index);
	const func_2 = () => sendClientMessage('workshop.info');

	$$self.$$.update = () => {
		if ($$self.$$.dirty[0] & /*$workshopTimer, $workshopCurrentTab, transitionTime*/ 16777250) {
			$: {
				if ($workshopTimer > 0 && $workshopCurrentTab === WorkshopTabs.Repaint) {
					set_store_value(workshopTimer, $workshopTimer = -1, $workshopTimer);
					$$invalidate(1, transitionTime = 0);
					$$invalidate(10, progressFilled = false);
				}

				if ($workshopTimer > 0 && $workshopCurrentTab !== WorkshopTabs.Repaint) {
					$$invalidate(9, disabledButton = true);
					$$invalidate(1, transitionTime = $workshopTimer - moment_default()().unix() - 150);

					setTimeout(
						() => {
							$$invalidate(10, progressFilled = true);
						},
						25
					);

					setTimeout(
						() => {
							$$invalidate(10, progressFilled = false);
							$$invalidate(9, disabledButton = false);
							set_store_value(workshopTimer, $workshopTimer = -1, $workshopTimer);
							$$invalidate(1, transitionTime = 0);
						},
						transitionTime
					);
				}
			}
		}

		if ($$self.$$.dirty[0] & /*$inventoryCurrentItem, $workshopCurrentTab*/ 67108896) {
			$: {
				if (!(0,lodash.isEmpty)($inventoryCurrentItem) && $inventoryCurrentItem.status === DndStatuses.Drag) {
					switch ($workshopCurrentTab) {
						case WorkshopTabs.Repaint:
							if ($inventoryCurrentItem.item.item_type === ITEM_TYPES.ITEM_TYPE_ENCHANT || $inventoryCurrentItem.item.item_type === ITEM_TYPES.ITEM_TYPE_ARMOUR_SHARPENING) {
								$$invalidate(13, enchantStuffHighlight = true);
							} else if ($inventoryCurrentItem.item.item_type === ITEM_TYPES.ITEM_TYPE_DYE) {
								$$invalidate(14, colorHighlight = true);
							} else if ($inventoryCurrentItem.item.item_type !== ITEM_TYPES.ITEM_TYPE_SUPER_ENCHANTED) {
								$$invalidate(12, enchantItemHighlight = true);
							}
							break;
						case WorkshopTabs.Enchant:
							if ($inventoryCurrentItem.item.item_type === ITEM_TYPES.ITEM_TYPE_ENCHANT || $inventoryCurrentItem.item.item_type === ITEM_TYPES.ITEM_TYPE_ARMOUR_SHARPENING) {
								$$invalidate(13, enchantStuffHighlight = true);
							} else if ($inventoryCurrentItem.item.item_type === ITEM_TYPES.ITEM_TYPE_SUPER_ENCHANTED) {
								$$invalidate(14, colorHighlight = true);
							} else if ($inventoryCurrentItem.item.item_type !== ITEM_TYPES.ITEM_TYPE_DYE) {
								$$invalidate(12, enchantItemHighlight = true);
							}
							break;
						case WorkshopTabs.Repair:
							$$invalidate(12, enchantItemHighlight = true);
							break;
						case WorkshopTabs.Disassemble:
							if ($inventoryCurrentItem.item.item === SCHEME_ID) {
								$$invalidate(13, enchantStuffHighlight = true);
							} else if ($inventoryCurrentItem.item.item !== SCHEME_ID) {
								$$invalidate(12, enchantItemHighlight = true);
							}
							break;
						default:
							break;
					}
				} else {
					$$invalidate(12, enchantItemHighlight = false);
					$$invalidate(13, enchantStuffHighlight = false);
					$$invalidate(14, colorHighlight = false);
				}
			}
		}

		if ($$self.$$.dirty[0] & /*$workshopResult, $workshopCurrentTab, $enchantItem, $inventories, $enchantStuff, $colorItem*/ 41943100) {
			$: {
				if (!(0,lodash.isNil)($workshopResult)) {
					if ($workshopCurrentTab === WorkshopTabs.Repair || $workshopCurrentTab === WorkshopTabs.Disassemble && $workshopResult) {
						set_store_value(enchantItem, $enchantItem = {}, $enchantItem);
						set_store_value(enchantItem, $enchantItem = {}, $enchantItem);
					}

					if (!(0,lodash.isEmpty)($enchantItem)) {
						set_store_value(enchantItem, $enchantItem = $inventories[BLOCK_TYPE.BLOCK_TYPE_MENU][$enchantItem.slot], $enchantItem);
					}

					if (!(0,lodash.isEmpty)($enchantStuff)) {
						set_store_value(
							enchantStuff,
							$enchantStuff = $enchantStuff.amount > 0
							? $inventories[BLOCK_TYPE.BLOCK_TYPE_MENU][$enchantStuff.slot]
							: {},
							$enchantStuff
						);
					}

					if (!(0,lodash.isEmpty)($colorItem)) {
						set_store_value(
							colorItem,
							$colorItem = $colorItem.amount > 0
							? $inventories[BLOCK_TYPE.BLOCK_TYPE_MENU][$colorItem.slot]
							: {},
							$colorItem
						);
					}

					setTimeout(
						() => {
							$$invalidate(11, resultClass = $workshopResult === 1 ? 'green' : 'red');
						},
						420
					);

					setTimeout(
						() => {
							set_store_value(workshopResult, $workshopResult = null, $workshopResult);
							$$invalidate(11, resultClass = '');
						},
						2400
					);
				}
			}
		}

		if ($$self.$$.dirty[0] & /*$workshopTimer, $enchantItem, $enchantStuff, $colorItem, colorIndex*/ 16777245) {
			$: {
				if ($workshopTimer < 0) {
					enchantProperties.index = (0,lodash.isEmpty)($enchantItem) ? -1 : $enchantItem.slot;
					enchantProperties.right = (0,lodash.isEmpty)($enchantStuff) ? -1 : $enchantStuff.slot;
					enchantProperties.left = (0,lodash.isEmpty)($colorItem) ? -1 : $colorItem.slot;
					enchantProperties.color = (0,lodash.isEmpty)($colorItem) ? -1 : colorIndex;
					sendUpdateMessage();
				}
			}
		}
	};

	return [
		colorIndex,
		transitionTime,
		$colorItem,
		$enchantStuff,
		$enchantItem,
		$workshopCurrentTab,
		enchantItemHovered,
		enchantStuffHovered,
		colorSlotHovered,
		disabledButton,
		progressFilled,
		resultClass,
		enchantItemHighlight,
		enchantStuffHighlight,
		colorHighlight,
		$additionalInfo,
		clearEnchantItem,
		clearEnchantStuff,
		clearColorItem,
		changeTab,
		selectColor,
		handleMouseUp,
		start,
		$workshopResult,
		$workshopTimer,
		$inventories,
		$inventoryCurrentItem,
		func,
		func_1,
		mouseenter_handler,
		mouseleave_handler,
		mouseenter_handler_1,
		mouseleave_handler_1,
		click_handler,
		mouseenter_handler_2,
		mouseleave_handler_2,
		click_handler_1,
		func_2
	];
}

class Workshop extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, workshop_index_svelte_instance, workshop_index_svelte_create_fragment, safe_not_equal, {}, workshop_index_svelte_add_css, [-1, -1]);
	}
}

/* harmony default export */ const workshop_index_svelte = (Workshop);
;// CONCATENATED MODULE: ./src/views/inventory/components/craft/index.svelte
/* src\views\inventory\components\craft\index.svelte generated by Svelte v3.49.0 */




















function craft_index_svelte_add_css(target) {
	append_styles(target, "svelte-yddno4", "@keyframes svelte-yddno4-blinking{50%{opacity:0}}@keyframes svelte-yddno4-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-yddno4-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-yddno4-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-yddno4-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-yddno4-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-yddno4-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-yddno4-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-yddno4-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-yddno4-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-yddno4-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-yddno4-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-yddno4-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-yddno4-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-yddno4-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.craft.svelte-yddno4{position:relative;width:calc(0.6182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft.svelte-yddno4{width:calc(0.6182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft.svelte-yddno4{width:calc(0.6182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft.svelte-yddno4{width:calc(0.4760364583 * 100vw + 0px)}}@media(min-width: 3440px){.craft.svelte-yddno4{width:calc(0.6800520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft.svelte-yddno4{width:calc(0.4327604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft.svelte-yddno4{width:calc(0.55640625 * 100vw + 0px)}}@media(min-width: 4096px){.craft.svelte-yddno4{width:calc(0.6800520833 * 100vw + 0px)}}.craft__categories.svelte-yddno4{width:100%;display:flex;align-items:stretch;justify-content:stretch;flex-wrap:wrap;background-color:#131516;padding:calc(0.0052083333 * 100vw + 0px);padding-bottom:calc(0.0104166667 * 100vw + 0px);gap:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__categories.svelte-yddno4{padding:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__categories.svelte-yddno4{padding:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__categories.svelte-yddno4{padding:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.craft__categories.svelte-yddno4{padding:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__categories.svelte-yddno4{padding:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__categories.svelte-yddno4{padding:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.craft__categories.svelte-yddno4{padding:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__categories.svelte-yddno4{padding-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__categories.svelte-yddno4{padding-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__categories.svelte-yddno4{padding-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.craft__categories.svelte-yddno4{padding-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__categories.svelte-yddno4{padding-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__categories.svelte-yddno4{padding-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.craft__categories.svelte-yddno4{padding-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__categories.svelte-yddno4{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__categories.svelte-yddno4{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__categories.svelte-yddno4{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.craft__categories.svelte-yddno4{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__categories.svelte-yddno4{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__categories.svelte-yddno4{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.craft__categories.svelte-yddno4{gap:calc(0.0057291667 * 100vw + 0px)}}.craft__category.svelte-yddno4{height:calc(0.0208333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__category.svelte-yddno4{height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__category.svelte-yddno4{height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__category.svelte-yddno4{height:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.craft__category.svelte-yddno4{height:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__category.svelte-yddno4{height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__category.svelte-yddno4{height:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.craft__category.svelte-yddno4{height:calc(0.0229166667 * 100vw + 0px)}}.craft__content.svelte-yddno4{display:flex;height:calc(0.3229166667 * 100vw + 0px);border-bottm-left-radius:calc(0.0052083333 * 100vw + 0px);border-bottm-right-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__content.svelte-yddno4{height:calc(0.3229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__content.svelte-yddno4{height:calc(0.3229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__content.svelte-yddno4{height:calc(0.2486458333 * 100vw + 0px)}}@media(min-width: 3440px){.craft__content.svelte-yddno4{height:calc(0.3552083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__content.svelte-yddno4{height:calc(0.2260416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__content.svelte-yddno4{height:calc(0.290625 * 100vw + 0px)}}@media(min-width: 4096px){.craft__content.svelte-yddno4{height:calc(0.3552083333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__content.svelte-yddno4{border-bottm-left-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__content.svelte-yddno4{border-bottm-left-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__content.svelte-yddno4{border-bottm-left-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.craft__content.svelte-yddno4{border-bottm-left-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__content.svelte-yddno4{border-bottm-left-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__content.svelte-yddno4{border-bottm-left-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.craft__content.svelte-yddno4{border-bottm-left-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__content.svelte-yddno4{border-bottm-right-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__content.svelte-yddno4{border-bottm-right-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__content.svelte-yddno4{border-bottm-right-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.craft__content.svelte-yddno4{border-bottm-right-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__content.svelte-yddno4{border-bottm-right-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__content.svelte-yddno4{border-bottm-right-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.craft__content.svelte-yddno4{border-bottm-right-radius:calc(0.0057291667 * 100vw + 0px)}}.craft__items-list-wrapper.svelte-yddno4{position:relative;height:100%;background-color:#131516;padding-left:calc(0.0052083333 * 100vw + 0px);padding-bottom:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__items-list-wrapper.svelte-yddno4{padding-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__items-list-wrapper.svelte-yddno4{padding-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__items-list-wrapper.svelte-yddno4{padding-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.craft__items-list-wrapper.svelte-yddno4{padding-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__items-list-wrapper.svelte-yddno4{padding-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__items-list-wrapper.svelte-yddno4{padding-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.craft__items-list-wrapper.svelte-yddno4{padding-left:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__items-list-wrapper.svelte-yddno4{padding-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__items-list-wrapper.svelte-yddno4{padding-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__items-list-wrapper.svelte-yddno4{padding-bottom:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.craft__items-list-wrapper.svelte-yddno4{padding-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__items-list-wrapper.svelte-yddno4{padding-bottom:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__items-list-wrapper.svelte-yddno4{padding-bottom:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.craft__items-list-wrapper.svelte-yddno4{padding-bottom:calc(0.0057291667 * 100vw + 0px)}}.craft__items-list.svelte-yddno4{height:100%;overflow:auto;width:calc(0.2083333333 * 100vw + 0px);padding-right:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__items-list.svelte-yddno4{width:calc(0.2083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__items-list.svelte-yddno4{width:calc(0.2083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__items-list.svelte-yddno4{width:calc(0.1604166667 * 100vw + 0px)}}@media(min-width: 3440px){.craft__items-list.svelte-yddno4{width:calc(0.2291666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__items-list.svelte-yddno4{width:calc(0.1458333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__items-list.svelte-yddno4{width:calc(0.1875 * 100vw + 0px)}}@media(min-width: 4096px){.craft__items-list.svelte-yddno4{width:calc(0.2291666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__items-list.svelte-yddno4{padding-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__items-list.svelte-yddno4{padding-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__items-list.svelte-yddno4{padding-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.craft__items-list.svelte-yddno4{padding-right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__items-list.svelte-yddno4{padding-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__items-list.svelte-yddno4{padding-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.craft__items-list.svelte-yddno4{padding-right:calc(0.0057291667 * 100vw + 0px)}}.craft__items-list.svelte-yddno4::-webkit-scrollbar{height:0;width:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__items-list.svelte-yddno4::-webkit-scrollbar{width:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__items-list.svelte-yddno4::-webkit-scrollbar{width:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__items-list.svelte-yddno4::-webkit-scrollbar{width:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.craft__items-list.svelte-yddno4::-webkit-scrollbar{width:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__items-list.svelte-yddno4::-webkit-scrollbar{width:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__items-list.svelte-yddno4::-webkit-scrollbar{width:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.craft__items-list.svelte-yddno4::-webkit-scrollbar{width:calc(0.0045833333 * 100vw + 0px)}}.craft__items-list.svelte-yddno4::-webkit-scrollbar-button{display:none}.craft__items-list.svelte-yddno4::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.25)}.craft__items-list.svelte-yddno4::-webkit-scrollbar-track-piece{background:rgba(255, 255, 255, 0.25);border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__items-list.svelte-yddno4::-webkit-scrollbar-track-piece{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__items-list.svelte-yddno4::-webkit-scrollbar-track-piece{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__items-list.svelte-yddno4::-webkit-scrollbar-track-piece{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.craft__items-list.svelte-yddno4::-webkit-scrollbar-track-piece{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__items-list.svelte-yddno4::-webkit-scrollbar-track-piece{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__items-list.svelte-yddno4::-webkit-scrollbar-track-piece{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.craft__items-list.svelte-yddno4::-webkit-scrollbar-track-piece{border-radius:calc(0.0028645833 * 100vw + 0px)}}.craft__items-list.svelte-yddno4::-webkit-scrollbar-thumb{background:#FFFFFF;border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__items-list.svelte-yddno4::-webkit-scrollbar-thumb{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__items-list.svelte-yddno4::-webkit-scrollbar-thumb{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__items-list.svelte-yddno4::-webkit-scrollbar-thumb{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.craft__items-list.svelte-yddno4::-webkit-scrollbar-thumb{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__items-list.svelte-yddno4::-webkit-scrollbar-thumb{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__items-list.svelte-yddno4::-webkit-scrollbar-thumb{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.craft__items-list.svelte-yddno4::-webkit-scrollbar-thumb{border-radius:calc(0.0028645833 * 100vw + 0px)}}.craft__items-list.svelte-yddno4::-webkit-scrollbar-corner{background-color:rgba(255, 255, 255, 0.25)}.craft__items-list.svelte-yddno4::-webkit-resizer{background-color:rgba(255, 255, 255, 0.25)}.craft__item.svelte-yddno4{width:100%;display:flex;align-items:center;border-style:solid;border-color:rgba(255, 255, 255, 0.05);border-radius:calc(0.0052083333 * 100vw + 0px);margin-bottom:calc(0.0052083333 * 100vw + 0px);padding-right:calc(0.0078125 * 100vw + 0px);gap:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__item.svelte-yddno4{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__item.svelte-yddno4{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__item.svelte-yddno4{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.craft__item.svelte-yddno4{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__item.svelte-yddno4{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__item.svelte-yddno4{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.craft__item.svelte-yddno4{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__item.svelte-yddno4{margin-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__item.svelte-yddno4{margin-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__item.svelte-yddno4{margin-bottom:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.craft__item.svelte-yddno4{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__item.svelte-yddno4{margin-bottom:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__item.svelte-yddno4{margin-bottom:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.craft__item.svelte-yddno4{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__item.svelte-yddno4{padding-right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__item.svelte-yddno4{padding-right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__item.svelte-yddno4{padding-right:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.craft__item.svelte-yddno4{padding-right:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__item.svelte-yddno4{padding-right:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__item.svelte-yddno4{padding-right:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.craft__item.svelte-yddno4{padding-right:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__item.svelte-yddno4{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__item.svelte-yddno4{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__item.svelte-yddno4{gap:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.craft__item.svelte-yddno4{gap:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__item.svelte-yddno4{gap:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__item.svelte-yddno4{gap:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.craft__item.svelte-yddno4{gap:calc(0.00859375 * 100vw + 0px)}}.craft__item--active.svelte-yddno4,.craft__item.svelte-yddno4:hover{background-color:rgba(255, 255, 255, 0.3)}.craft__item.svelte-yddno4:last-child{margin:0}.craft__item--hidden.svelte-yddno4{display:none}.craft__item_cell.svelte-yddno4{position:relative;background:radial-gradient(circle, rgba(255, 255, 255, 0.1) 2%, #131516 66%);background:var(--bg);display:flex;align-items:center;justify-content:center;transition:0.1s ease-out;transition-property:background-color;border-color:rgba(255, 255, 255, 0.25);border-style:solid;border-width:calc(0.0005208333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.0416666667 * 100vw + 0px);height:calc(0.0416666667 * 100vw + 0px);min-width:calc(0.0416666667 * 100vw + 0px);min-height:calc(0.0416666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__item_cell.svelte-yddno4{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__item_cell.svelte-yddno4{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__item_cell.svelte-yddno4{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.craft__item_cell.svelte-yddno4{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__item_cell.svelte-yddno4{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__item_cell.svelte-yddno4{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.craft__item_cell.svelte-yddno4{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__item_cell.svelte-yddno4{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__item_cell.svelte-yddno4{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__item_cell.svelte-yddno4{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.craft__item_cell.svelte-yddno4{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__item_cell.svelte-yddno4{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__item_cell.svelte-yddno4{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.craft__item_cell.svelte-yddno4{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__item_cell.svelte-yddno4{width:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__item_cell.svelte-yddno4{width:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__item_cell.svelte-yddno4{width:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.craft__item_cell.svelte-yddno4{width:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__item_cell.svelte-yddno4{width:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__item_cell.svelte-yddno4{width:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.craft__item_cell.svelte-yddno4{width:calc(0.0458333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__item_cell.svelte-yddno4{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__item_cell.svelte-yddno4{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__item_cell.svelte-yddno4{height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.craft__item_cell.svelte-yddno4{height:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__item_cell.svelte-yddno4{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__item_cell.svelte-yddno4{height:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.craft__item_cell.svelte-yddno4{height:calc(0.0458333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__item_cell.svelte-yddno4{min-width:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__item_cell.svelte-yddno4{min-width:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__item_cell.svelte-yddno4{min-width:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.craft__item_cell.svelte-yddno4{min-width:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__item_cell.svelte-yddno4{min-width:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__item_cell.svelte-yddno4{min-width:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.craft__item_cell.svelte-yddno4{min-width:calc(0.0458333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__item_cell.svelte-yddno4{min-height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__item_cell.svelte-yddno4{min-height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__item_cell.svelte-yddno4{min-height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.craft__item_cell.svelte-yddno4{min-height:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__item_cell.svelte-yddno4{min-height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__item_cell.svelte-yddno4{min-height:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.craft__item_cell.svelte-yddno4{min-height:calc(0.0458333333 * 100vw + 0px)}}.craft__item-image.svelte-yddno4{object-fit:contain;width:calc(0.0291666667 * 100vw + 0px);height:calc(0.0291666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__item-image.svelte-yddno4{width:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__item-image.svelte-yddno4{width:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__item-image.svelte-yddno4{width:calc(0.0224583333 * 100vw + 0px)}}@media(min-width: 3440px){.craft__item-image.svelte-yddno4{width:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__item-image.svelte-yddno4{width:calc(0.0204166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__item-image.svelte-yddno4{width:calc(0.02625 * 100vw + 0px)}}@media(min-width: 4096px){.craft__item-image.svelte-yddno4{width:calc(0.0320833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__item-image.svelte-yddno4{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__item-image.svelte-yddno4{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__item-image.svelte-yddno4{height:calc(0.0224583333 * 100vw + 0px)}}@media(min-width: 3440px){.craft__item-image.svelte-yddno4{height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__item-image.svelte-yddno4{height:calc(0.0204166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__item-image.svelte-yddno4{height:calc(0.02625 * 100vw + 0px)}}@media(min-width: 4096px){.craft__item-image.svelte-yddno4{height:calc(0.0320833333 * 100vw + 0px)}}.craft__item-name.svelte-yddno4{font-family:PFDinDisplayProRegular;color:#FFFFFF;text-transform:uppercase;font-weight:700;font-style:italic;font-size:calc(0.009375 * 100vw + 0px);line-height:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__item-name.svelte-yddno4{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__item-name.svelte-yddno4{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__item-name.svelte-yddno4{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.craft__item-name.svelte-yddno4{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__item-name.svelte-yddno4{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__item-name.svelte-yddno4{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.craft__item-name.svelte-yddno4{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__item-name.svelte-yddno4{line-height:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__item-name.svelte-yddno4{line-height:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__item-name.svelte-yddno4{line-height:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.craft__item-name.svelte-yddno4{line-height:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__item-name.svelte-yddno4{line-height:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__item-name.svelte-yddno4{line-height:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.craft__item-name.svelte-yddno4{line-height:calc(0.0091666667 * 100vw + 0px)}}.craft__details.svelte-yddno4{position:relative;width:100%;display:flex;flex-direction:column;justify-content:space-between;background-color:#131516;padding:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__details.svelte-yddno4{padding:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__details.svelte-yddno4{padding:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__details.svelte-yddno4{padding:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.craft__details.svelte-yddno4{padding:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__details.svelte-yddno4{padding:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__details.svelte-yddno4{padding:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.craft__details.svelte-yddno4{padding:calc(0.0114583333 * 100vw + 0px)}}.craft__details-header.svelte-yddno4{display:flex;align-items:center}.craft__header-image.svelte-yddno4{object-fit:contain;width:100%;height:100%;border:0;padding:calc(0.0052083333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__header-image.svelte-yddno4{padding:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__header-image.svelte-yddno4{padding:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__header-image.svelte-yddno4{padding:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.craft__header-image.svelte-yddno4{padding:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__header-image.svelte-yddno4{padding:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__header-image.svelte-yddno4{padding:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.craft__header-image.svelte-yddno4{padding:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__header-image.svelte-yddno4{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__header-image.svelte-yddno4{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__header-image.svelte-yddno4{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.craft__header-image.svelte-yddno4{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__header-image.svelte-yddno4{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__header-image.svelte-yddno4{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.craft__header-image.svelte-yddno4{border-radius:calc(0.0057291667 * 100vw + 0px)}}.craft__header-image__wrapper.svelte-yddno4{position:relative;overflow:hidden;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.078125 * 100vw + 0px);height:calc(0.078125 * 100vw + 0px);min-width:calc(0.078125 * 100vw + 0px);min-height:calc(0.078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__header-image__wrapper.svelte-yddno4{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__header-image__wrapper.svelte-yddno4{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__header-image__wrapper.svelte-yddno4{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.craft__header-image__wrapper.svelte-yddno4{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__header-image__wrapper.svelte-yddno4{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__header-image__wrapper.svelte-yddno4{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.craft__header-image__wrapper.svelte-yddno4{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__header-image__wrapper.svelte-yddno4{width:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__header-image__wrapper.svelte-yddno4{width:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__header-image__wrapper.svelte-yddno4{width:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.craft__header-image__wrapper.svelte-yddno4{width:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__header-image__wrapper.svelte-yddno4{width:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__header-image__wrapper.svelte-yddno4{width:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.craft__header-image__wrapper.svelte-yddno4{width:calc(0.0859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__header-image__wrapper.svelte-yddno4{height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__header-image__wrapper.svelte-yddno4{height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__header-image__wrapper.svelte-yddno4{height:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.craft__header-image__wrapper.svelte-yddno4{height:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__header-image__wrapper.svelte-yddno4{height:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__header-image__wrapper.svelte-yddno4{height:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.craft__header-image__wrapper.svelte-yddno4{height:calc(0.0859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__header-image__wrapper.svelte-yddno4{min-width:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__header-image__wrapper.svelte-yddno4{min-width:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__header-image__wrapper.svelte-yddno4{min-width:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.craft__header-image__wrapper.svelte-yddno4{min-width:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__header-image__wrapper.svelte-yddno4{min-width:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__header-image__wrapper.svelte-yddno4{min-width:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.craft__header-image__wrapper.svelte-yddno4{min-width:calc(0.0859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__header-image__wrapper.svelte-yddno4{min-height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__header-image__wrapper.svelte-yddno4{min-height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__header-image__wrapper.svelte-yddno4{min-height:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.craft__header-image__wrapper.svelte-yddno4{min-height:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__header-image__wrapper.svelte-yddno4{min-height:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__header-image__wrapper.svelte-yddno4{min-height:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.craft__header-image__wrapper.svelte-yddno4{min-height:calc(0.0859375 * 100vw + 0px)}}.craft__header-image__wrapper.svelte-yddno4:hover{border-color:#FFFFFF}.craft__header-text-wrapper.svelte-yddno4{margin-left:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__header-text-wrapper.svelte-yddno4{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__header-text-wrapper.svelte-yddno4{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__header-text-wrapper.svelte-yddno4{margin-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.craft__header-text-wrapper.svelte-yddno4{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__header-text-wrapper.svelte-yddno4{margin-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__header-text-wrapper.svelte-yddno4{margin-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.craft__header-text-wrapper.svelte-yddno4{margin-left:calc(0.0114583333 * 100vw + 0px)}}.craft__header-title.svelte-yddno4{font-family:PFDinDisplayProRegular;color:#FFFFFF;text-transform:uppercase;font-weight:700;font-style:italic;font-size:calc(0.015625 * 100vw + 0px);line-height:calc(0.0177083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__header-title.svelte-yddno4{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__header-title.svelte-yddno4{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__header-title.svelte-yddno4{font-size:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.craft__header-title.svelte-yddno4{font-size:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__header-title.svelte-yddno4{font-size:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__header-title.svelte-yddno4{font-size:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.craft__header-title.svelte-yddno4{font-size:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__header-title.svelte-yddno4{line-height:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__header-title.svelte-yddno4{line-height:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__header-title.svelte-yddno4{line-height:calc(0.0136354167 * 100vw + 0px)}}@media(min-width: 3440px){.craft__header-title.svelte-yddno4{line-height:calc(0.0194791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__header-title.svelte-yddno4{line-height:calc(0.0123958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__header-title.svelte-yddno4{line-height:calc(0.0159375 * 100vw + 0px)}}@media(min-width: 4096px){.craft__header-title.svelte-yddno4{line-height:calc(0.0194791667 * 100vw + 0px)}}.craft__header-description.svelte-yddno4{font-family:PFDinDisplayProRegular;color:rgba(255, 255, 255, 0.45);font-size:calc(0.009375 * 100vw + 0px);line-height:calc(0.0114583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__header-description.svelte-yddno4{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__header-description.svelte-yddno4{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__header-description.svelte-yddno4{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.craft__header-description.svelte-yddno4{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__header-description.svelte-yddno4{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__header-description.svelte-yddno4{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.craft__header-description.svelte-yddno4{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__header-description.svelte-yddno4{line-height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__header-description.svelte-yddno4{line-height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__header-description.svelte-yddno4{line-height:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.craft__header-description.svelte-yddno4{line-height:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__header-description.svelte-yddno4{line-height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__header-description.svelte-yddno4{line-height:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.craft__header-description.svelte-yddno4{line-height:calc(0.0126041667 * 100vw + 0px)}}.craft__details-ingridients.svelte-yddno4{display:flex;align-items:center;justify-content:space-between}.craft__ingridients-caption.svelte-yddno4,.craft__color-caption.svelte-yddno4{font-family:PFDinDisplayProRegular;color:#FFFFFF;text-transform:uppercase;font-weight:700;font-style:italic;font-size:calc(0.009375 * 100vw + 0px);line-height:calc(0.0104166667 * 100vw + 0px);margin-bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__ingridients-caption.svelte-yddno4,.craft__color-caption.svelte-yddno4{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__ingridients-caption.svelte-yddno4,.craft__color-caption.svelte-yddno4{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__ingridients-caption.svelte-yddno4,.craft__color-caption.svelte-yddno4{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.craft__ingridients-caption.svelte-yddno4,.craft__color-caption.svelte-yddno4{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__ingridients-caption.svelte-yddno4,.craft__color-caption.svelte-yddno4{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__ingridients-caption.svelte-yddno4,.craft__color-caption.svelte-yddno4{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.craft__ingridients-caption.svelte-yddno4,.craft__color-caption.svelte-yddno4{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__ingridients-caption.svelte-yddno4,.craft__color-caption.svelte-yddno4{line-height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__ingridients-caption.svelte-yddno4,.craft__color-caption.svelte-yddno4{line-height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__ingridients-caption.svelte-yddno4,.craft__color-caption.svelte-yddno4{line-height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.craft__ingridients-caption.svelte-yddno4,.craft__color-caption.svelte-yddno4{line-height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__ingridients-caption.svelte-yddno4,.craft__color-caption.svelte-yddno4{line-height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__ingridients-caption.svelte-yddno4,.craft__color-caption.svelte-yddno4{line-height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.craft__ingridients-caption.svelte-yddno4,.craft__color-caption.svelte-yddno4{line-height:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__ingridients-caption.svelte-yddno4,.craft__color-caption.svelte-yddno4{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__ingridients-caption.svelte-yddno4,.craft__color-caption.svelte-yddno4{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__ingridients-caption.svelte-yddno4,.craft__color-caption.svelte-yddno4{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.craft__ingridients-caption.svelte-yddno4,.craft__color-caption.svelte-yddno4{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__ingridients-caption.svelte-yddno4,.craft__color-caption.svelte-yddno4{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__ingridients-caption.svelte-yddno4,.craft__color-caption.svelte-yddno4{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.craft__ingridients-caption.svelte-yddno4,.craft__color-caption.svelte-yddno4{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.craft__ingridients-list.svelte-yddno4{display:flex;gap:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__ingridients-list.svelte-yddno4{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__ingridients-list.svelte-yddno4{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__ingridients-list.svelte-yddno4{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.craft__ingridients-list.svelte-yddno4{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__ingridients-list.svelte-yddno4{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__ingridients-list.svelte-yddno4{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.craft__ingridients-list.svelte-yddno4{gap:calc(0.0057291667 * 100vw + 0px)}}.craft__ingridient.svelte-yddno4{position:relative;background-color:#131516;background-image:radial-gradient(circle, rgba(255, 255, 255, 0.1) 2%, #131516 66%);border-color:rgba(255, 255, 255, 0.3);border-style:solid;display:flex;align-items:center;justify-content:center;overflow:hidden;transition:0.14s ease-out;transition-property:border-color;border-radius:calc(0.0052083333 * 100vw + 0px);border-width:calc(0.0005208333 * 100vw + 0px);width:calc(0.0494791667 * 100vw + 0px);height:calc(0.0494791667 * 100vw + 0px);background:var(--bg)}@media(max-width: 1920px) and (max-height: 768px){.craft__ingridient.svelte-yddno4{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__ingridient.svelte-yddno4{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__ingridient.svelte-yddno4{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.craft__ingridient.svelte-yddno4{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__ingridient.svelte-yddno4{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__ingridient.svelte-yddno4{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.craft__ingridient.svelte-yddno4{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__ingridient.svelte-yddno4{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__ingridient.svelte-yddno4{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__ingridient.svelte-yddno4{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.craft__ingridient.svelte-yddno4{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__ingridient.svelte-yddno4{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__ingridient.svelte-yddno4{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.craft__ingridient.svelte-yddno4{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__ingridient.svelte-yddno4{width:calc(0.0494791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__ingridient.svelte-yddno4{width:calc(0.0494791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__ingridient.svelte-yddno4{width:calc(0.0380989583 * 100vw + 0px)}}@media(min-width: 3440px){.craft__ingridient.svelte-yddno4{width:calc(0.0544270833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__ingridient.svelte-yddno4{width:calc(0.0346354167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__ingridient.svelte-yddno4{width:calc(0.04453125 * 100vw + 0px)}}@media(min-width: 4096px){.craft__ingridient.svelte-yddno4{width:calc(0.0544270833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__ingridient.svelte-yddno4{height:calc(0.0494791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__ingridient.svelte-yddno4{height:calc(0.0494791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__ingridient.svelte-yddno4{height:calc(0.0380989583 * 100vw + 0px)}}@media(min-width: 3440px){.craft__ingridient.svelte-yddno4{height:calc(0.0544270833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__ingridient.svelte-yddno4{height:calc(0.0346354167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__ingridient.svelte-yddno4{height:calc(0.04453125 * 100vw + 0px)}}@media(min-width: 4096px){.craft__ingridient.svelte-yddno4{height:calc(0.0544270833 * 100vw + 0px)}}.craft__ingridient.svelte-yddno4:hover{border-color:#FFFFFF}.craft__ingridient-image.svelte-yddno4{height:80%;object-fit:contain;pointer-events:none}.craft__ingridient-amount.svelte-yddno4{position:absolute;font-family:PFDinDisplayProRegular;color:#FF3737;font-size:calc(0.00625 * 100vw + 0px);bottom:calc(0.00625 * 100vw + 0px);right:calc(0.0057291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__ingridient-amount.svelte-yddno4{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__ingridient-amount.svelte-yddno4{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__ingridient-amount.svelte-yddno4{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.craft__ingridient-amount.svelte-yddno4{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__ingridient-amount.svelte-yddno4{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__ingridient-amount.svelte-yddno4{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.craft__ingridient-amount.svelte-yddno4{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__ingridient-amount.svelte-yddno4{bottom:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__ingridient-amount.svelte-yddno4{bottom:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__ingridient-amount.svelte-yddno4{bottom:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.craft__ingridient-amount.svelte-yddno4{bottom:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__ingridient-amount.svelte-yddno4{bottom:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__ingridient-amount.svelte-yddno4{bottom:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.craft__ingridient-amount.svelte-yddno4{bottom:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__ingridient-amount.svelte-yddno4{right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__ingridient-amount.svelte-yddno4{right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__ingridient-amount.svelte-yddno4{right:calc(0.0044114583 * 100vw + 0px)}}@media(min-width: 3440px){.craft__ingridient-amount.svelte-yddno4{right:calc(0.0063020833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__ingridient-amount.svelte-yddno4{right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__ingridient-amount.svelte-yddno4{right:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 4096px){.craft__ingridient-amount.svelte-yddno4{right:calc(0.0063020833 * 100vw + 0px)}}.craft__ingridient-amount--available.svelte-yddno4{color:#FFFFFF}.craft__color-picker.svelte-yddno4{position:relative;background-color:#131516;background:radial-gradient(circle, rgba(255, 255, 255, 0.1) 2%, #131516 66%);border-color:rgba(255, 255, 255, 0.3);border-style:solid;display:flex;align-items:center;justify-content:center;overflow:hidden;transition:0.14s ease-out;transition-property:background-color;border-radius:calc(0.0052083333 * 100vw + 0px);border-width:calc(0.0005208333 * 100vw + 0px);width:calc(0.0416666667 * 100vw + 0px);height:calc(0.0416666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__color-picker.svelte-yddno4{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__color-picker.svelte-yddno4{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__color-picker.svelte-yddno4{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.craft__color-picker.svelte-yddno4{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__color-picker.svelte-yddno4{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__color-picker.svelte-yddno4{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.craft__color-picker.svelte-yddno4{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__color-picker.svelte-yddno4{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__color-picker.svelte-yddno4{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__color-picker.svelte-yddno4{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.craft__color-picker.svelte-yddno4{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__color-picker.svelte-yddno4{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__color-picker.svelte-yddno4{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.craft__color-picker.svelte-yddno4{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__color-picker.svelte-yddno4{width:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__color-picker.svelte-yddno4{width:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__color-picker.svelte-yddno4{width:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.craft__color-picker.svelte-yddno4{width:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__color-picker.svelte-yddno4{width:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__color-picker.svelte-yddno4{width:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.craft__color-picker.svelte-yddno4{width:calc(0.0458333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__color-picker.svelte-yddno4{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__color-picker.svelte-yddno4{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__color-picker.svelte-yddno4{height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.craft__color-picker.svelte-yddno4{height:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__color-picker.svelte-yddno4{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__color-picker.svelte-yddno4{height:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.craft__color-picker.svelte-yddno4{height:calc(0.0458333333 * 100vw + 0px)}}.craft__color-picker.svelte-yddno4:hover{background-color:#FFFFFF}.craft__color-example.svelte-yddno4{display:flex;align-items:center;justify-content:center;background:var(--selected-color);border-color:rgba(255, 255, 255, 0.3);font-size:calc(0.0052083333 * 100vw + 0px);border-radius:calc(0.0026041667 * 100vw + 0px);width:calc(0.0104166667 * 100vw + 0px);height:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__color-example.svelte-yddno4{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__color-example.svelte-yddno4{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__color-example.svelte-yddno4{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.craft__color-example.svelte-yddno4{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__color-example.svelte-yddno4{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__color-example.svelte-yddno4{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.craft__color-example.svelte-yddno4{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__color-example.svelte-yddno4{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__color-example.svelte-yddno4{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__color-example.svelte-yddno4{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.craft__color-example.svelte-yddno4{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__color-example.svelte-yddno4{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__color-example.svelte-yddno4{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.craft__color-example.svelte-yddno4{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__color-example.svelte-yddno4{width:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__color-example.svelte-yddno4{width:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__color-example.svelte-yddno4{width:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.craft__color-example.svelte-yddno4{width:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__color-example.svelte-yddno4{width:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__color-example.svelte-yddno4{width:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.craft__color-example.svelte-yddno4{width:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__color-example.svelte-yddno4{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__color-example.svelte-yddno4{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__color-example.svelte-yddno4{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.craft__color-example.svelte-yddno4{height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__color-example.svelte-yddno4{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__color-example.svelte-yddno4{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.craft__color-example.svelte-yddno4{height:calc(0.0114583333 * 100vw + 0px)}}.craft__controls.svelte-yddno4{position:relative;display:grid;grid-template-columns:repeat(14, 1fr);grid-auto-flow:row;grid-gap:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__controls.svelte-yddno4{grid-gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__controls.svelte-yddno4{grid-gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__controls.svelte-yddno4{grid-gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.craft__controls.svelte-yddno4{grid-gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__controls.svelte-yddno4{grid-gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__controls.svelte-yddno4{grid-gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.craft__controls.svelte-yddno4{grid-gap:calc(0.0057291667 * 100vw + 0px)}}.craft__amount.svelte-yddno4{width:100%;grid-column:span 3;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(297deg, rgba(255, 255, 255, 0.3) -6.47%, rgba(255, 255, 255, 0) 47.31%), linear-gradient(318.45deg, rgba(255, 255, 255, 0.25) 6.27%, rgba(255, 255, 255, 0) 64.19%), linear-gradient(0deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1));border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__amount.svelte-yddno4{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__amount.svelte-yddno4{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__amount.svelte-yddno4{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.craft__amount.svelte-yddno4{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__amount.svelte-yddno4{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__amount.svelte-yddno4{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.craft__amount.svelte-yddno4{border-radius:calc(0.0028645833 * 100vw + 0px)}}.craft__amount-minus.svelte-yddno4,.craft__amount-plus.svelte-yddno4{display:flex;align-items:center;justify-content:center;font-family:PFDinDisplayProRegular;color:#111111;background-color:rgba(255, 255, 255, 0.45);transition:0.14s ease;transition-property:background-color;width:calc(0.0208333333 * 100vw + 0px);height:calc(0.0208333333 * 100vw + 0px);border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__amount-minus.svelte-yddno4,.craft__amount-plus.svelte-yddno4{width:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__amount-minus.svelte-yddno4,.craft__amount-plus.svelte-yddno4{width:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__amount-minus.svelte-yddno4,.craft__amount-plus.svelte-yddno4{width:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.craft__amount-minus.svelte-yddno4,.craft__amount-plus.svelte-yddno4{width:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__amount-minus.svelte-yddno4,.craft__amount-plus.svelte-yddno4{width:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__amount-minus.svelte-yddno4,.craft__amount-plus.svelte-yddno4{width:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.craft__amount-minus.svelte-yddno4,.craft__amount-plus.svelte-yddno4{width:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__amount-minus.svelte-yddno4,.craft__amount-plus.svelte-yddno4{height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__amount-minus.svelte-yddno4,.craft__amount-plus.svelte-yddno4{height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__amount-minus.svelte-yddno4,.craft__amount-plus.svelte-yddno4{height:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.craft__amount-minus.svelte-yddno4,.craft__amount-plus.svelte-yddno4{height:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__amount-minus.svelte-yddno4,.craft__amount-plus.svelte-yddno4{height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__amount-minus.svelte-yddno4,.craft__amount-plus.svelte-yddno4{height:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.craft__amount-minus.svelte-yddno4,.craft__amount-plus.svelte-yddno4{height:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__amount-minus.svelte-yddno4,.craft__amount-plus.svelte-yddno4{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__amount-minus.svelte-yddno4,.craft__amount-plus.svelte-yddno4{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__amount-minus.svelte-yddno4,.craft__amount-plus.svelte-yddno4{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.craft__amount-minus.svelte-yddno4,.craft__amount-plus.svelte-yddno4{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__amount-minus.svelte-yddno4,.craft__amount-plus.svelte-yddno4{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__amount-minus.svelte-yddno4,.craft__amount-plus.svelte-yddno4{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.craft__amount-minus.svelte-yddno4,.craft__amount-plus.svelte-yddno4{border-radius:calc(0.0028645833 * 100vw + 0px)}}.craft__amount-minus.svelte-yddno4:hover,.craft__amount-plus.svelte-yddno4:hover{background-color:#FFFFFF}.craft__amount-count.svelte-yddno4{display:flex;align-items:center;justify-content:center;color:#FFFFFF;font-family:PFDinDisplayProRegular;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__amount-count.svelte-yddno4{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__amount-count.svelte-yddno4{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__amount-count.svelte-yddno4{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.craft__amount-count.svelte-yddno4{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__amount-count.svelte-yddno4{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__amount-count.svelte-yddno4{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.craft__amount-count.svelte-yddno4{font-size:calc(0.0091666667 * 100vw + 0px)}}.craft__chance.svelte-yddno4,.craft__price.svelte-yddno4{height:100%;grid-column:span 4;display:flex;align-items:center;justify-content:space-between;background-color:rgba(255, 255, 255, 0.3);padding-left:calc(0.0052083333 * 100vw + 0px);padding-right:calc(0.0052083333 * 100vw + 0px);border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__chance.svelte-yddno4,.craft__price.svelte-yddno4{padding-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__chance.svelte-yddno4,.craft__price.svelte-yddno4{padding-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__chance.svelte-yddno4,.craft__price.svelte-yddno4{padding-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.craft__chance.svelte-yddno4,.craft__price.svelte-yddno4{padding-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__chance.svelte-yddno4,.craft__price.svelte-yddno4{padding-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__chance.svelte-yddno4,.craft__price.svelte-yddno4{padding-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.craft__chance.svelte-yddno4,.craft__price.svelte-yddno4{padding-left:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__chance.svelte-yddno4,.craft__price.svelte-yddno4{padding-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__chance.svelte-yddno4,.craft__price.svelte-yddno4{padding-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__chance.svelte-yddno4,.craft__price.svelte-yddno4{padding-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.craft__chance.svelte-yddno4,.craft__price.svelte-yddno4{padding-right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__chance.svelte-yddno4,.craft__price.svelte-yddno4{padding-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__chance.svelte-yddno4,.craft__price.svelte-yddno4{padding-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.craft__chance.svelte-yddno4,.craft__price.svelte-yddno4{padding-right:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__chance.svelte-yddno4,.craft__price.svelte-yddno4{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__chance.svelte-yddno4,.craft__price.svelte-yddno4{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__chance.svelte-yddno4,.craft__price.svelte-yddno4{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.craft__chance.svelte-yddno4,.craft__price.svelte-yddno4{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__chance.svelte-yddno4,.craft__price.svelte-yddno4{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__chance.svelte-yddno4,.craft__price.svelte-yddno4{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.craft__chance.svelte-yddno4,.craft__price.svelte-yddno4{border-radius:calc(0.0028645833 * 100vw + 0px)}}.craft__exp.svelte-yddno4{height:100%;grid-column:span 3;display:flex;align-items:center;justify-content:space-between;background-color:rgba(255, 255, 255, 0.3);padding-left:calc(0.0052083333 * 100vw + 0px);padding-right:calc(0.0052083333 * 100vw + 0px);border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__exp.svelte-yddno4{padding-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__exp.svelte-yddno4{padding-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__exp.svelte-yddno4{padding-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.craft__exp.svelte-yddno4{padding-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__exp.svelte-yddno4{padding-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__exp.svelte-yddno4{padding-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.craft__exp.svelte-yddno4{padding-left:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__exp.svelte-yddno4{padding-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__exp.svelte-yddno4{padding-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__exp.svelte-yddno4{padding-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.craft__exp.svelte-yddno4{padding-right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__exp.svelte-yddno4{padding-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__exp.svelte-yddno4{padding-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.craft__exp.svelte-yddno4{padding-right:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__exp.svelte-yddno4{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__exp.svelte-yddno4{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__exp.svelte-yddno4{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.craft__exp.svelte-yddno4{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__exp.svelte-yddno4{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__exp.svelte-yddno4{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.craft__exp.svelte-yddno4{border-radius:calc(0.0028645833 * 100vw + 0px)}}.craft__chance-caption.svelte-yddno4,.craft__price-caption.svelte-yddno4{text-transform:uppercase;font-style:italic;font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__chance-caption.svelte-yddno4,.craft__price-caption.svelte-yddno4{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__chance-caption.svelte-yddno4,.craft__price-caption.svelte-yddno4{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__chance-caption.svelte-yddno4,.craft__price-caption.svelte-yddno4{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.craft__chance-caption.svelte-yddno4,.craft__price-caption.svelte-yddno4{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__chance-caption.svelte-yddno4,.craft__price-caption.svelte-yddno4{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__chance-caption.svelte-yddno4,.craft__price-caption.svelte-yddno4{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.craft__chance-caption.svelte-yddno4,.craft__price-caption.svelte-yddno4{font-size:calc(0.0091666667 * 100vw + 0px)}}.craft__chance-value-wrapper.svelte-yddno4,.craft__price-value-wrapper.svelte-yddno4{display:flex;align-items:center}.craft__chance-value.svelte-yddno4,.craft__price-value.svelte-yddno4{text-transform:uppercase;font-style:italic;font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__chance-value.svelte-yddno4,.craft__price-value.svelte-yddno4{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__chance-value.svelte-yddno4,.craft__price-value.svelte-yddno4{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__chance-value.svelte-yddno4,.craft__price-value.svelte-yddno4{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.craft__chance-value.svelte-yddno4,.craft__price-value.svelte-yddno4{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__chance-value.svelte-yddno4,.craft__price-value.svelte-yddno4{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__chance-value.svelte-yddno4,.craft__price-value.svelte-yddno4{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.craft__chance-value.svelte-yddno4,.craft__price-value.svelte-yddno4{font-size:calc(0.0091666667 * 100vw + 0px)}}.craft__chance-icon.svelte-yddno4{display:flex;align-items:center;justify-content:center;font-family:PFDinDisplayProRegular;color:#FFFFFF;font-weight:700;font-size:calc(0.0072916667 * 100vw + 0px);margin-left:calc(0.003125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__chance-icon.svelte-yddno4{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__chance-icon.svelte-yddno4{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__chance-icon.svelte-yddno4{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.craft__chance-icon.svelte-yddno4{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__chance-icon.svelte-yddno4{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__chance-icon.svelte-yddno4{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.craft__chance-icon.svelte-yddno4{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__chance-icon.svelte-yddno4{margin-left:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__chance-icon.svelte-yddno4{margin-left:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__chance-icon.svelte-yddno4{margin-left:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.craft__chance-icon.svelte-yddno4{margin-left:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__chance-icon.svelte-yddno4{margin-left:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__chance-icon.svelte-yddno4{margin-left:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.craft__chance-icon.svelte-yddno4{margin-left:calc(0.0034375 * 100vw + 0px)}}.craft__exp-icon.svelte-yddno4{display:flex;align-items:center;justify-content:center;font-family:PFDinDisplayProRegular;color:#FFFFFF;font-weight:700;font-size:calc(0.0072916667 * 100vw + 0px);margin-right:calc(0.003125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__exp-icon.svelte-yddno4{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__exp-icon.svelte-yddno4{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__exp-icon.svelte-yddno4{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.craft__exp-icon.svelte-yddno4{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__exp-icon.svelte-yddno4{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__exp-icon.svelte-yddno4{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.craft__exp-icon.svelte-yddno4{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__exp-icon.svelte-yddno4{margin-right:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__exp-icon.svelte-yddno4{margin-right:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__exp-icon.svelte-yddno4{margin-right:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.craft__exp-icon.svelte-yddno4{margin-right:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__exp-icon.svelte-yddno4{margin-right:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__exp-icon.svelte-yddno4{margin-right:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.craft__exp-icon.svelte-yddno4{margin-right:calc(0.0034375 * 100vw + 0px)}}.craft__price-icon.svelte-yddno4{display:flex;align-items:center;justify-content:center;font-family:PFDinDisplayProRegular;color:#FFFFFF;font-weight:700;font-size:calc(0.0072916667 * 100vw + 0px);margin-left:calc(0.003125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__price-icon.svelte-yddno4{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__price-icon.svelte-yddno4{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__price-icon.svelte-yddno4{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.craft__price-icon.svelte-yddno4{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__price-icon.svelte-yddno4{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__price-icon.svelte-yddno4{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.craft__price-icon.svelte-yddno4{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__price-icon.svelte-yddno4{margin-left:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__price-icon.svelte-yddno4{margin-left:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__price-icon.svelte-yddno4{margin-left:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.craft__price-icon.svelte-yddno4{margin-left:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__price-icon.svelte-yddno4{margin-left:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__price-icon.svelte-yddno4{margin-left:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.craft__price-icon.svelte-yddno4{margin-left:calc(0.0034375 * 100vw + 0px)}}.craft__price-icon--money.svelte-yddno4{color:#FFFFFF;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__price-icon--money.svelte-yddno4{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__price-icon--money.svelte-yddno4{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__price-icon--money.svelte-yddno4{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.craft__price-icon--money.svelte-yddno4{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__price-icon--money.svelte-yddno4{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__price-icon--money.svelte-yddno4{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.craft__price-icon--money.svelte-yddno4{font-size:calc(0.0103125 * 100vw + 0px)}}.craft__details-color.svelte-yddno4{position:relative}.craft__color-list.svelte-yddno4{position:absolute;left:50%;bottom:0;display:flex;background-color:rgba(19, 21, 22, 0.9);transform:translateX(-50%) translateY(100%);gap:calc(0.0026041667 * 100vw + 0px);padding:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__color-list.svelte-yddno4{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__color-list.svelte-yddno4{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__color-list.svelte-yddno4{gap:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.craft__color-list.svelte-yddno4{gap:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__color-list.svelte-yddno4{gap:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__color-list.svelte-yddno4{gap:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.craft__color-list.svelte-yddno4{gap:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__color-list.svelte-yddno4{padding:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__color-list.svelte-yddno4{padding:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__color-list.svelte-yddno4{padding:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.craft__color-list.svelte-yddno4{padding:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__color-list.svelte-yddno4{padding:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__color-list.svelte-yddno4{padding:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.craft__color-list.svelte-yddno4{padding:calc(0.0057291667 * 100vw + 0px)}}.craft__color.svelte-yddno4{display:flex;align-items:center;justify-content:center;background-color:var(--color);transition:0.14s ease-out;width:calc(0.0182291667 * 100vw + 0px);height:calc(0.0182291667 * 100vw + 0px);border-radius:calc(0.0026041667 * 100vw + 0px);margin-left:calc(0.0010416667 * 100vw + 0px);margin-right:calc(0.0010416667 * 100vw + 0px);font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__color.svelte-yddno4{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__color.svelte-yddno4{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__color.svelte-yddno4{width:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.craft__color.svelte-yddno4{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__color.svelte-yddno4{width:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__color.svelte-yddno4{width:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.craft__color.svelte-yddno4{width:calc(0.0200520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__color.svelte-yddno4{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__color.svelte-yddno4{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__color.svelte-yddno4{height:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.craft__color.svelte-yddno4{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__color.svelte-yddno4{height:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__color.svelte-yddno4{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.craft__color.svelte-yddno4{height:calc(0.0200520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__color.svelte-yddno4{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__color.svelte-yddno4{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__color.svelte-yddno4{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.craft__color.svelte-yddno4{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__color.svelte-yddno4{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__color.svelte-yddno4{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.craft__color.svelte-yddno4{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__color.svelte-yddno4{margin-left:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__color.svelte-yddno4{margin-left:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__color.svelte-yddno4{margin-left:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.craft__color.svelte-yddno4{margin-left:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__color.svelte-yddno4{margin-left:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__color.svelte-yddno4{margin-left:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.craft__color.svelte-yddno4{margin-left:calc(0.0011458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__color.svelte-yddno4{margin-right:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__color.svelte-yddno4{margin-right:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__color.svelte-yddno4{margin-right:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.craft__color.svelte-yddno4{margin-right:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__color.svelte-yddno4{margin-right:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__color.svelte-yddno4{margin-right:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.craft__color.svelte-yddno4{margin-right:calc(0.0011458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__color.svelte-yddno4{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__color.svelte-yddno4{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__color.svelte-yddno4{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.craft__color.svelte-yddno4{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__color.svelte-yddno4{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__color.svelte-yddno4{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.craft__color.svelte-yddno4{font-size:calc(0.0080208333 * 100vw + 0px)}}.craft__color.svelte-yddno4:hover{transform:translateY(-10%)}.craft__color-icon.svelte-yddno4{font-size:inherit;color:#FF3737}.craft__create.svelte-yddno4{grid-column:span 14;opacity:0.8;transition:0.14s ease-out;transition-property:opacity;height:calc(0.0208333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__create.svelte-yddno4{height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__create.svelte-yddno4{height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__create.svelte-yddno4{height:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.craft__create.svelte-yddno4{height:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__create.svelte-yddno4{height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__create.svelte-yddno4{height:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.craft__create.svelte-yddno4{height:calc(0.0229166667 * 100vw + 0px)}}.craft__create.svelte-yddno4:hover{opacity:1}.craft__progress-bar.svelte-yddno4{grid-column:span 11;width:100%;background-color:rgba(255, 255, 255, 0.25);overflow:hidden;height:calc(0.0208333333 * 100vw + 0px);border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__progress-bar.svelte-yddno4{height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__progress-bar.svelte-yddno4{height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__progress-bar.svelte-yddno4{height:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.craft__progress-bar.svelte-yddno4{height:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__progress-bar.svelte-yddno4{height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__progress-bar.svelte-yddno4{height:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.craft__progress-bar.svelte-yddno4{height:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__progress-bar.svelte-yddno4{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__progress-bar.svelte-yddno4{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__progress-bar.svelte-yddno4{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.craft__progress-bar.svelte-yddno4{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__progress-bar.svelte-yddno4{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__progress-bar.svelte-yddno4{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.craft__progress-bar.svelte-yddno4{border-radius:calc(0.0028645833 * 100vw + 0px)}}.craft__progress-bar-current.svelte-yddno4{width:0;background-color:#FFCB5A;transition-duration:1s;transition-timing-function:linear;transition-property:width;height:calc(0.0208333333 * 100vw + 0px);border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__progress-bar-current.svelte-yddno4{height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__progress-bar-current.svelte-yddno4{height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__progress-bar-current.svelte-yddno4{height:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.craft__progress-bar-current.svelte-yddno4{height:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__progress-bar-current.svelte-yddno4{height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__progress-bar-current.svelte-yddno4{height:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.craft__progress-bar-current.svelte-yddno4{height:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__progress-bar-current.svelte-yddno4{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__progress-bar-current.svelte-yddno4{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__progress-bar-current.svelte-yddno4{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.craft__progress-bar-current.svelte-yddno4{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__progress-bar-current.svelte-yddno4{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__progress-bar-current.svelte-yddno4{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.craft__progress-bar-current.svelte-yddno4{border-radius:calc(0.0028645833 * 100vw + 0px)}}.craft__stop.svelte-yddno4{grid-column:span 3}.craft__gradient-wrapper.svelte-yddno4{position:absolute;top:0;left:0;right:0;bottom:0;overflow:hidden;pointer-events:none}.craft__available-gradient.svelte-yddno4{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0.5;transform:translateY(50%);transition:1s ease-out;background-image:radial-gradient(70% 50% at 50% 50%, rgba(255, 255, 255, 0.5) 20%, rgba(255, 255, 255, 0.3) 35%, rgba(0, 0, 0, 0) 100%)}.craft__success-gradient.svelte-yddno4{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0.5;transform:translateY(50%);transition:1s ease-out;background-image:radial-gradient(70% 50% at 50% 50%, #C1FF3C 20%, #AFFF05 35%, rgba(0, 0, 0, 0) 100%)}.craft__fail-gradient.svelte-yddno4{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0.5;transform:translateY(50%);transition:1s ease-out;background-image:radial-gradient(70% 50% at 50% 50%, #88000A 20%, #88000A 45%, rgba(0, 0, 0, 0) 100%)}.craft__search.svelte-yddno4{position:relative;background-color:#131516;padding:calc(0.0052083333 * 100vw + 0px);padding-bottom:calc(0 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__search.svelte-yddno4{padding:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__search.svelte-yddno4{padding:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__search.svelte-yddno4{padding:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.craft__search.svelte-yddno4{padding:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__search.svelte-yddno4{padding:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__search.svelte-yddno4{padding:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.craft__search.svelte-yddno4{padding:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.craft__search.svelte-yddno4{padding-bottom:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__search.svelte-yddno4{padding-bottom:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__search.svelte-yddno4{padding-bottom:calc(0 * 100vw + 0px)}}@media(min-width: 3440px){.craft__search.svelte-yddno4{padding-bottom:calc(0 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__search.svelte-yddno4{padding-bottom:calc(0 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__search.svelte-yddno4{padding-bottom:calc(0 * 100vw + 0px)}}@media(min-width: 4096px){.craft__search.svelte-yddno4{padding-bottom:calc(0 * 100vw + 0px)}}.craft__loader.svelte-yddno4{position:absolute;display:flex;align-items:center;justify-content:center;width:100%;height:100%;top:0;left:0;right:0;max-height:calc(0.38125 * 100vw + 0px);pointer-events:none}@media(max-width: 1920px) and (max-height: 768px){.craft__loader.svelte-yddno4{max-height:calc(0.38125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__loader.svelte-yddno4{max-height:calc(0.38125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__loader.svelte-yddno4{max-height:calc(0.2935625 * 100vw + 0px)}}@media(min-width: 3440px){.craft__loader.svelte-yddno4{max-height:calc(0.419375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__loader.svelte-yddno4{max-height:calc(0.266875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__loader.svelte-yddno4{max-height:calc(0.343125 * 100vw + 0px)}}@media(min-width: 4096px){.craft__loader.svelte-yddno4{max-height:calc(0.419375 * 100vw + 0px)}}.craft__loader_invisible.svelte-yddno4{opacity:0;visibility:hidden}.craft__empty.svelte-yddno4{position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);font-family:PFDinDisplayProRegular;color:rgba(255, 255, 255, 0.6);align-items:center;justify-content:center;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.craft__empty.svelte-yddno4{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.craft__empty.svelte-yddno4{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.craft__empty.svelte-yddno4{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.craft__empty.svelte-yddno4{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.craft__empty.svelte-yddno4{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.craft__empty.svelte-yddno4{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.craft__empty.svelte-yddno4{font-size:calc(0.0091666667 * 100vw + 0px)}}");
}

function craft_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[52] = list[i];
	child_ctx[54] = i;
	return child_ctx;
}

function craft_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[55] = list[i];
	return child_ctx;
}

function craft_index_svelte_get_each_context_2(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[55] = list[i];
	child_ctx[54] = i;
	return child_ctx;
}

function craft_index_svelte_get_each_context_3(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[59] = list[i];
	return child_ctx;
}

// (4418:8) {#if !isNil($craftCategories.categories)}
function craft_index_svelte_create_if_block_12(ctx) {
	let each_1_anchor;
	let current;
	let each_value_3 = Object.values(/*$craftCategories*/ ctx[3].categories);
	let each_blocks = [];

	for (let i = 0; i < each_value_3.length; i += 1) {
		each_blocks[i] = craft_index_svelte_create_each_block_3(craft_index_svelte_get_each_context_3(ctx, each_value_3, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$craftCategories, $selectedCategoryId, changeCategory*/ 131084) {
				each_value_3 = Object.values(/*$craftCategories*/ ctx[3].categories);
				let i;

				for (i = 0; i < each_value_3.length; i += 1) {
					const child_ctx = craft_index_svelte_get_each_context_3(ctx, each_value_3, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = craft_index_svelte_create_each_block_3(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
					}
				}

				group_outros();

				for (i = each_value_3.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value_3.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			destroy_each(each_blocks, detaching);
			if (detaching) detach(each_1_anchor);
		}
	};
}

// (4419:12) {#each Object.values($craftCategories.categories) as category}
function craft_index_svelte_create_each_block_3(ctx) {
	let div;
	let inventorybutton;
	let t;
	let current;

	function func() {
		return /*func*/ ctx[34](/*category*/ ctx[59]);
	}

	inventorybutton = new inventory_button_index_svelte({
			props: {
				text: MAP_ID_TO_CRAFT_CATEGORY_NAME[/*category*/ ctx[59].category],
				active: /*$selectedCategoryId*/ ctx[2] === /*category*/ ctx[59].category,
				onClick: func,
				fontSize: 'medium',
				type: 'category'
			}
		});

	return {
		c() {
			div = internal_element("div");
			create_component(inventorybutton.$$.fragment);
			t = space();
			attr(div, "class", "craft__category svelte-yddno4");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(inventorybutton, div, null);
			append(div, t);
			current = true;
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			const inventorybutton_changes = {};
			if (dirty[0] & /*$craftCategories*/ 8) inventorybutton_changes.text = MAP_ID_TO_CRAFT_CATEGORY_NAME[/*category*/ ctx[59].category];
			if (dirty[0] & /*$selectedCategoryId, $craftCategories*/ 12) inventorybutton_changes.active = /*$selectedCategoryId*/ ctx[2] === /*category*/ ctx[59].category;
			if (dirty[0] & /*$craftCategories*/ 8) inventorybutton_changes.onClick = func;
			inventorybutton.$set(inventorybutton_changes);
		},
		i(local) {
			if (current) return;
			transition_in(inventorybutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(inventorybutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(inventorybutton);
		}
	};
}

// (4440:16) {#each actualData as item, index}
function craft_index_svelte_create_each_block_2(ctx) {
	let div2;
	let div0;
	let img;
	let img_src_value;
	let t0;
	let div1;
	let t1_value = /*item*/ ctx[55].name + "";
	let t1;
	let t2;
	let div2_class_value;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[35](/*item*/ ctx[55]);
	}

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div1 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*item*/ ctx[55].icon}`)) attr(img, "src", img_src_value);
			attr(img, "alt", "craft-item");
			attr(img, "class", "craft__item-image svelte-yddno4");
			attr(div0, "class", "craft__item_cell craft__item-image-wrapper svelte-yddno4");
			set_style(div0, "background-color", /*item*/ ctx[55].background);
			attr(div1, "class", "craft__item-name svelte-yddno4");
			attr(div2, "class", div2_class_value = "" + (null_to_empty(`craft__item ${/*item*/ ctx[55].forceHide ? 'craft__item--hidden' : ''}`) + " svelte-yddno4"));
			toggle_class(div2, "craft__item--active", /*selectedItem*/ ctx[13].index === /*index*/ ctx[54]);
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div0, img);
			append(div2, t0);
			append(div2, div1);
			append(div1, t1);
			append(div2, t2);

			if (!mounted) {
				dispose = listen(div2, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty[0] & /*actualData*/ 16384 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*item*/ ctx[55].icon}`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty[0] & /*actualData*/ 16384) {
				set_style(div0, "background-color", /*item*/ ctx[55].background);
			}

			if (dirty[0] & /*actualData*/ 16384 && t1_value !== (t1_value = /*item*/ ctx[55].name + "")) set_data(t1, t1_value);

			if (dirty[0] & /*actualData*/ 16384 && div2_class_value !== (div2_class_value = "" + (null_to_empty(`craft__item ${/*item*/ ctx[55].forceHide ? 'craft__item--hidden' : ''}`) + " svelte-yddno4"))) {
				attr(div2, "class", div2_class_value);
			}

			if (dirty[0] & /*actualData, selectedItem*/ 24576) {
				toggle_class(div2, "craft__item--active", /*selectedItem*/ ctx[13].index === /*index*/ ctx[54]);
			}
		},
		d(detaching) {
			if (detaching) detach(div2);
			mounted = false;
			dispose();
		}
	};
}

// (4454:12) {#if !isNil($additionalInfo.needs)}
function craft_index_svelte_create_if_block_1(ctx) {
	let t;
	let show_if = !(0,lodash.isEmpty)(/*actualData*/ ctx[14]);
	let if_block1_anchor;
	let current;
	let if_block0 = /*craftAvailable*/ ctx[11] && craft_index_svelte_create_if_block_9(ctx);
	let if_block1 = show_if && craft_index_svelte_create_if_block_2(ctx);

	return {
		c() {
			if (if_block0) if_block0.c();
			t = space();
			if (if_block1) if_block1.c();
			if_block1_anchor = empty();
		},
		m(target, anchor) {
			if (if_block0) if_block0.m(target, anchor);
			insert(target, t, anchor);
			if (if_block1) if_block1.m(target, anchor);
			insert(target, if_block1_anchor, anchor);
			current = true;
		},
		p(ctx, dirty) {
			if (/*craftAvailable*/ ctx[11]) {
				if (if_block0) {
					if_block0.p(ctx, dirty);

					if (dirty[0] & /*craftAvailable*/ 2048) {
						transition_in(if_block0, 1);
					}
				} else {
					if_block0 = craft_index_svelte_create_if_block_9(ctx);
					if_block0.c();
					transition_in(if_block0, 1);
					if_block0.m(t.parentNode, t);
				}
			} else if (if_block0) {
				group_outros();

				transition_out(if_block0, 1, 1, () => {
					if_block0 = null;
				});

				check_outros();
			}

			if (dirty[0] & /*actualData*/ 16384) show_if = !(0,lodash.isEmpty)(/*actualData*/ ctx[14]);

			if (show_if) {
				if (if_block1) {
					if_block1.p(ctx, dirty);

					if (dirty[0] & /*actualData*/ 16384) {
						transition_in(if_block1, 1);
					}
				} else {
					if_block1 = craft_index_svelte_create_if_block_2(ctx);
					if_block1.c();
					transition_in(if_block1, 1);
					if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
				}
			} else if (if_block1) {
				group_outros();

				transition_out(if_block1, 1, 1, () => {
					if_block1 = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block0);
			transition_in(if_block1);
			current = true;
		},
		o(local) {
			transition_out(if_block0);
			transition_out(if_block1);
			current = false;
		},
		d(detaching) {
			if (if_block0) if_block0.d(detaching);
			if (detaching) detach(t);
			if (if_block1) if_block1.d(detaching);
			if (detaching) detach(if_block1_anchor);
		}
	};
}

// (4455:16) {#if craftAvailable}
function craft_index_svelte_create_if_block_9(ctx) {
	let div;
	let show_if;
	let current_block_type_index;
	let if_block;
	let current;
	const if_block_creators = [craft_index_svelte_create_if_block_10, craft_index_svelte_create_if_block_11, craft_index_svelte_create_else_block_1];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (dirty[0] & /*$craftResult*/ 32) show_if = null;
		if (show_if == null) show_if = !!(0,lodash.isNil)(/*$craftResult*/ ctx[5]);
		if (show_if) return 0;
		if (/*$craftResult*/ ctx[5]) return 1;
		return 2;
	}

	current_block_type_index = select_block_type(ctx, [-1, -1]);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div = internal_element("div");
			if_block.c();
			attr(div, "class", "craft__gradient-wrapper svelte-yddno4");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if_blocks[current_block_type_index].m(div, null);
			current = true;
		},
		p(ctx, dirty) {
			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index !== previous_block_index) {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					
				}

				transition_in(if_block, 1);
				if_block.m(div, null);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if_blocks[current_block_type_index].d();
		}
	};
}

// (4461:24) {:else}
function craft_index_svelte_create_else_block_1(ctx) {
	let div;
	let div_intro;
	let div_outro;
	let current;

	return {
		c() {
			div = internal_element("div");
			attr(div, "class", "craft__fail-gradient svelte-yddno4");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			current = true;
		},
		i(local) {
			if (current) return;

			add_render_callback(() => {
				if (div_outro) div_outro.end(1);
				div_intro = create_in_transition(div, fade, { duration: 1000 });
				div_intro.start();
			});

			current = true;
		},
		o(local) {
			if (div_intro) div_intro.invalidate();
			div_outro = create_out_transition(div, fade, { duration: 0 });
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (detaching && div_outro) div_outro.end();
		}
	};
}

// (4459:49) 
function craft_index_svelte_create_if_block_11(ctx) {
	let div;
	let div_intro;
	let div_outro;
	let current;

	return {
		c() {
			div = internal_element("div");
			attr(div, "class", "craft__success-gradient svelte-yddno4");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			current = true;
		},
		i(local) {
			if (current) return;

			add_render_callback(() => {
				if (div_outro) div_outro.end(1);
				div_intro = create_in_transition(div, fade, { duration: 1000 });
				div_intro.start();
			});

			current = true;
		},
		o(local) {
			if (div_intro) div_intro.invalidate();
			div_outro = create_out_transition(div, fade, { duration: 0 });
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (detaching && div_outro) div_outro.end();
		}
	};
}

// (4457:24) {#if isNil($craftResult)}
function craft_index_svelte_create_if_block_10(ctx) {
	let div;
	let div_intro;
	let div_outro;
	let current;

	return {
		c() {
			div = internal_element("div");
			attr(div, "class", "craft__available-gradient svelte-yddno4");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			current = true;
		},
		i(local) {
			if (current) return;

			add_render_callback(() => {
				if (div_outro) div_outro.end(1);
				div_intro = create_in_transition(div, fade, { duration: 1000 });
				div_intro.start();
			});

			current = true;
		},
		o(local) {
			if (div_intro) div_intro.invalidate();
			div_outro = create_out_transition(div, fade, { duration: 0 });
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (detaching && div_outro) div_outro.end();
		}
	};
}

// (4466:16) {#if !isEmpty(actualData)}
function craft_index_svelte_create_if_block_2(ctx) {
	let div3;
	let div0;
	let img;
	let img_src_value;
	let t0;
	let div2;
	let div1;
	let t1_value = /*selectedItem*/ ctx[13].name + "";
	let t1;
	let t2;
	let show_if = !(0,lodash.isNil)(/*$additionalInfo*/ ctx[4].item_type);
	let t3;
	let div7;
	let div6;
	let div4;
	let t5;
	let div5;
	let t6;
	let t7;
	let div26;
	let div11;
	let div8;
	let t9;
	let div9;
	let t10_value = /*$additionalInfo*/ ctx[4].count + "";
	let t10;
	let t11;
	let div10;
	let t13;
	let div16;
	let div12;
	let t15;
	let div15;
	let div13;
	let t17;
	let div14;
	let t18_value = /*$additionalInfo*/ ctx[4].exp + "";
	let t18;
	let t19;
	let div21;
	let div17;
	let t21;
	let div20;
	let div18;
	let t22_value = /*$additionalInfo*/ ctx[4].chance + "";
	let t22;
	let t23;
	let div19;
	let t25;
	let div25;
	let div22;
	let t27;
	let div24;
	let div23;
	let t28_value = formatMoney(/*$additionalInfo*/ ctx[4].cost) + "";
	let t28;
	let t29;
	let i;
	let t30;
	let current_block_type_index;
	let if_block2;
	let current;
	let mounted;
	let dispose;
	let if_block0 = show_if && craft_index_svelte_create_if_block_8(ctx);
	let each_value_1 = /*$additionalInfo*/ ctx[4].needs;
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = craft_index_svelte_create_each_block_1(craft_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	let if_block1 = /*$additionalInfo*/ ctx[4].has_color && craft_index_svelte_create_if_block_4(ctx);
	const if_block_creators = [craft_index_svelte_create_if_block_3, craft_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type_1(ctx, dirty) {
		if (/*$craftTimer*/ ctx[6] > 0 && /*$craftProgressVisibile*/ ctx[7]) return 0;
		return 1;
	}

	current_block_type_index = select_block_type_1(ctx, [-1, -1]);
	if_block2 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div3 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div2 = internal_element("div");
			div1 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			if (if_block0) if_block0.c();
			t3 = space();
			div7 = internal_element("div");
			div6 = internal_element("div");
			div4 = internal_element("div");
			div4.textContent = "Необходимые ресурсы";
			t5 = space();
			div5 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t6 = space();
			if (if_block1) if_block1.c();
			t7 = space();
			div26 = internal_element("div");
			div11 = internal_element("div");
			div8 = internal_element("div");
			div8.textContent = "-";
			t9 = space();
			div9 = internal_element("div");
			t10 = internal_text(t10_value);
			t11 = space();
			div10 = internal_element("div");
			div10.textContent = "+";
			t13 = space();
			div16 = internal_element("div");
			div12 = internal_element("div");
			div12.textContent = "Опыт";
			t15 = space();
			div15 = internal_element("div");
			div13 = internal_element("div");
			div13.textContent = "+";
			t17 = space();
			div14 = internal_element("div");
			t18 = internal_text(t18_value);
			t19 = space();
			div21 = internal_element("div");
			div17 = internal_element("div");
			div17.textContent = "Шанс успеха";
			t21 = space();
			div20 = internal_element("div");
			div18 = internal_element("div");
			t22 = internal_text(t22_value);
			t23 = space();
			div19 = internal_element("div");
			div19.textContent = "%";
			t25 = space();
			div25 = internal_element("div");
			div22 = internal_element("div");
			div22.textContent = "Цена";
			t27 = space();
			div24 = internal_element("div");
			div23 = internal_element("div");
			t28 = internal_text(t28_value);
			t29 = space();
			i = internal_element("i");
			t30 = space();
			if_block2.c();
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*selectedItem*/ ctx[13].icon}`)) attr(img, "src", img_src_value);
			attr(img, "class", "craft__header-image svelte-yddno4");
			attr(img, "alt", "ingridient");
			attr(div0, "class", "inventory-item craft__header-image__wrapper svelte-yddno4");
			set_style(div0, "background-color", /*selectedItem*/ ctx[13].background);
			attr(div1, "class", "craft__header-title svelte-yddno4");
			attr(div2, "class", "craft__header-text-wrapper svelte-yddno4");
			attr(div3, "class", "craft__details-header svelte-yddno4");
			attr(div4, "class", "craft__ingridients-caption svelte-yddno4");
			attr(div5, "class", "craft__ingridients-list svelte-yddno4");
			attr(div6, "class", "craft__ingridients");
			attr(div7, "class", "craft__details-ingridients svelte-yddno4");
			attr(div8, "class", "craft__amount-minus svelte-yddno4");
			attr(div9, "class", "craft__amount-count svelte-yddno4");
			attr(div10, "class", "craft__amount-plus svelte-yddno4");
			attr(div11, "class", "craft__amount svelte-yddno4");
			attr(div12, "class", "craft__chance-caption svelte-yddno4");
			attr(div13, "class", "craft__exp-icon svelte-yddno4");
			attr(div14, "class", "craft__chance-value svelte-yddno4");
			attr(div15, "class", "craft__chance-value-wrapper svelte-yddno4");
			attr(div16, "class", "craft__exp svelte-yddno4");
			attr(div17, "class", "craft__chance-caption svelte-yddno4");
			attr(div18, "class", "craft__chance-value svelte-yddno4");
			attr(div19, "class", "craft__chance-icon svelte-yddno4");
			attr(div20, "class", "craft__chance-value-wrapper svelte-yddno4");
			attr(div21, "class", "craft__chance svelte-yddno4");
			attr(div22, "class", "craft__price-caption svelte-yddno4");
			attr(div23, "class", "craft__price-value svelte-yddno4");
			attr(i, "class", "craft__price-icon craft__price-icon--money icon-rub-circle svelte-yddno4");
			attr(div24, "class", "craft__price-value-wrapper svelte-yddno4");
			attr(div25, "class", "craft__price svelte-yddno4");
			attr(div26, "class", "craft__controls svelte-yddno4");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div0);
			append(div0, img);
			append(div3, t0);
			append(div3, div2);
			append(div2, div1);
			append(div1, t1);
			append(div2, t2);
			if (if_block0) if_block0.m(div2, null);
			insert(target, t3, anchor);
			insert(target, div7, anchor);
			append(div7, div6);
			append(div6, div4);
			append(div6, t5);
			append(div6, div5);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div5, null);
			}

			append(div7, t6);
			if (if_block1) if_block1.m(div7, null);
			insert(target, t7, anchor);
			insert(target, div26, anchor);
			append(div26, div11);
			append(div11, div8);
			append(div11, t9);
			append(div11, div9);
			append(div9, t10);
			append(div11, t11);
			append(div11, div10);
			append(div26, t13);
			append(div26, div16);
			append(div16, div12);
			append(div16, t15);
			append(div16, div15);
			append(div15, div13);
			append(div15, t17);
			append(div15, div14);
			append(div14, t18);
			append(div26, t19);
			append(div26, div21);
			append(div21, div17);
			append(div21, t21);
			append(div21, div20);
			append(div20, div18);
			append(div18, t22);
			append(div20, t23);
			append(div20, div19);
			append(div26, t25);
			append(div26, div25);
			append(div25, div22);
			append(div25, t27);
			append(div25, div24);
			append(div24, div23);
			append(div23, t28);
			append(div24, t29);
			append(div24, i);
			append(div26, t30);
			if_blocks[current_block_type_index].m(div26, null);
			current = true;

			if (!mounted) {
				dispose = [
					listen(img, "click", /*click_handler_1*/ ctx[36]),
					listen(div8, "click", stop_propagation(/*decreaseAmount*/ ctx[21])),
					listen(div10, "click", stop_propagation(/*increaseAmount*/ ctx[22])),
					listen(div11, "click", /*inputAmount*/ ctx[23])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (!current || dirty[0] & /*selectedItem*/ 8192 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*selectedItem*/ ctx[13].icon}`)) {
				attr(img, "src", img_src_value);
			}

			if (!current || dirty[0] & /*selectedItem*/ 8192) {
				set_style(div0, "background-color", /*selectedItem*/ ctx[13].background);
			}

			if ((!current || dirty[0] & /*selectedItem*/ 8192) && t1_value !== (t1_value = /*selectedItem*/ ctx[13].name + "")) set_data(t1, t1_value);
			if (dirty[0] & /*$additionalInfo*/ 16) show_if = !(0,lodash.isNil)(/*$additionalInfo*/ ctx[4].item_type);

			if (show_if) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = craft_index_svelte_create_if_block_8(ctx);
					if_block0.c();
					if_block0.m(div2, null);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty[0] & /*$additionalInfo, needsInventoryItems, checkItemInfo, handleHovered*/ 17825809) {
				each_value_1 = /*$additionalInfo*/ ctx[4].needs;
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = craft_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = craft_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div5, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}

			if (/*$additionalInfo*/ ctx[4].has_color) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = craft_index_svelte_create_if_block_4(ctx);
					if_block1.c();
					if_block1.m(div7, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if ((!current || dirty[0] & /*$additionalInfo*/ 16) && t10_value !== (t10_value = /*$additionalInfo*/ ctx[4].count + "")) set_data(t10, t10_value);
			if ((!current || dirty[0] & /*$additionalInfo*/ 16) && t18_value !== (t18_value = /*$additionalInfo*/ ctx[4].exp + "")) set_data(t18, t18_value);
			if ((!current || dirty[0] & /*$additionalInfo*/ 16) && t22_value !== (t22_value = /*$additionalInfo*/ ctx[4].chance + "")) set_data(t22, t22_value);
			if ((!current || dirty[0] & /*$additionalInfo*/ 16) && t28_value !== (t28_value = formatMoney(/*$additionalInfo*/ ctx[4].cost) + "")) set_data(t28, t28_value);
			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type_1(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block2 = if_blocks[current_block_type_index];

				if (!if_block2) {
					if_block2 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block2.c();
				} else {
					if_block2.p(ctx, dirty);
				}

				transition_in(if_block2, 1);
				if_block2.m(div26, null);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block2);
			current = true;
		},
		o(local) {
			transition_out(if_block2);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div3);
			if (if_block0) if_block0.d();
			if (detaching) detach(t3);
			if (detaching) detach(div7);
			destroy_each(each_blocks, detaching);
			if (if_block1) if_block1.d();
			if (detaching) detach(t7);
			if (detaching) detach(div26);
			if_blocks[current_block_type_index].d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (4478:28) {#if !isNil($additionalInfo.item_type)}
function craft_index_svelte_create_if_block_8(ctx) {
	let div;
	let t_value = MAP_ITEM_TYPE_TO_DESCRIPTION[/*$additionalInfo*/ ctx[4].item_type] + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "craft__header-description svelte-yddno4");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$additionalInfo*/ 16 && t_value !== (t_value = MAP_ITEM_TYPE_TO_DESCRIPTION[/*$additionalInfo*/ ctx[4].item_type] + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (4487:32) {#each $additionalInfo.needs as item}
function craft_index_svelte_create_each_block_1(ctx) {
	let div1;
	let img;
	let img_src_value;
	let t0;
	let div0;
	let t1_value = /*needsInventoryItems*/ ctx[0][/*item*/ ctx[55].item].amount + "";
	let t1;
	let t2;
	let t3_value = /*item*/ ctx[55].amount + "";
	let t3;
	let div0_class_value;
	let t4;
	let mounted;
	let dispose;

	function click_handler_2() {
		return /*click_handler_2*/ ctx[37](/*item*/ ctx[55]);
	}

	function mouseenter_handler() {
		return /*mouseenter_handler*/ ctx[38](/*item*/ ctx[55]);
	}

	function mouseleave_handler() {
		return /*mouseleave_handler*/ ctx[39](/*item*/ ctx[55]);
	}

	return {
		c() {
			div1 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = internal_text(" / ");
			t3 = internal_text(t3_value);
			t4 = space();
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${ITEMS[/*item*/ ctx[55].item]?.icon}`)) attr(img, "src", img_src_value);
			attr(img, "class", "craft__ingridient-image svelte-yddno4");
			attr(img, "alt", "icon");

			attr(div0, "class", div0_class_value = "craft__ingridient-amount " + (/*needsInventoryItems*/ ctx[0][/*item*/ ctx[55].item].amount >= /*item*/ ctx[55].amount
			? 'craft__ingridient-amount--available'
			: '') + " svelte-yddno4");

			attr(div1, "class", "craft__ingridient svelte-yddno4");

			set_style(div1, "--bg", (0,lodash.isNil)(/*item*/ ctx[55].background)
			? 'radial-gradient(circle, rgba(255, 255, 255, 0.1) 2%, #131516 66%)'
			: intToRGBA(/*item*/ ctx[55].background));

			toggle_class(div1, "craft__ingridient--not-enough", !/*needsInventoryItems*/ ctx[0][/*item*/ ctx[55].item].enough);
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, img);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
			append(div0, t2);
			append(div0, t3);
			append(div1, t4);

			if (!mounted) {
				dispose = [
					listen(div1, "click", click_handler_2),
					listen(div1, "mouseenter", mouseenter_handler),
					listen(div1, "mouseleave", mouseleave_handler)
				];

				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty[0] & /*$additionalInfo*/ 16 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${ITEMS[/*item*/ ctx[55].item]?.icon}`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty[0] & /*needsInventoryItems, $additionalInfo*/ 17 && t1_value !== (t1_value = /*needsInventoryItems*/ ctx[0][/*item*/ ctx[55].item].amount + "")) set_data(t1, t1_value);
			if (dirty[0] & /*$additionalInfo*/ 16 && t3_value !== (t3_value = /*item*/ ctx[55].amount + "")) set_data(t3, t3_value);

			if (dirty[0] & /*needsInventoryItems, $additionalInfo*/ 17 && div0_class_value !== (div0_class_value = "craft__ingridient-amount " + (/*needsInventoryItems*/ ctx[0][/*item*/ ctx[55].item].amount >= /*item*/ ctx[55].amount
			? 'craft__ingridient-amount--available'
			: '') + " svelte-yddno4")) {
				attr(div0, "class", div0_class_value);
			}

			if (dirty[0] & /*$additionalInfo*/ 16) {
				set_style(div1, "--bg", (0,lodash.isNil)(/*item*/ ctx[55].background)
				? 'radial-gradient(circle, rgba(255, 255, 255, 0.1) 2%, #131516 66%)'
				: intToRGBA(/*item*/ ctx[55].background));
			}

			if (dirty[0] & /*needsInventoryItems, $additionalInfo*/ 17) {
				toggle_class(div1, "craft__ingridient--not-enough", !/*needsInventoryItems*/ ctx[0][/*item*/ ctx[55].item].enough);
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (4510:24) {#if $additionalInfo.has_color}
function craft_index_svelte_create_if_block_4(ctx) {
	let div3;
	let div0;
	let t1;
	let div2;
	let div1;
	let t2;
	let mounted;
	let dispose;
	let if_block0 = /*selectedColorIndex*/ ctx[8] === 0 && craft_index_svelte_create_if_block_7(ctx);
	let if_block1 = /*colorsVisible*/ ctx[9] && craft_index_svelte_create_if_block_5(ctx);

	return {
		c() {
			div3 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "Цвет";
			t1 = space();
			div2 = internal_element("div");
			div1 = internal_element("div");
			if (if_block0) if_block0.c();
			t2 = space();
			if (if_block1) if_block1.c();
			attr(div0, "class", "craft__color-caption svelte-yddno4");
			attr(div1, "class", "craft__color-example svelte-yddno4");
			set_style(div1, "--selected-color", intToRGBA(/*$craftCategories*/ ctx[3].colors[/*selectedColorIndex*/ ctx[8]].color));
			attr(div2, "class", "craft__color-picker svelte-yddno4");
			attr(div3, "class", "craft__details-color svelte-yddno4");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div0);
			append(div3, t1);
			append(div3, div2);
			append(div2, div1);
			if (if_block0) if_block0.m(div1, null);
			append(div3, t2);
			if (if_block1) if_block1.m(div3, null);

			if (!mounted) {
				dispose = listen(div2, "click", /*click_handler_3*/ ctx[40]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (/*selectedColorIndex*/ ctx[8] === 0) {
				if (if_block0) {
					
				} else {
					if_block0 = craft_index_svelte_create_if_block_7(ctx);
					if_block0.c();
					if_block0.m(div1, null);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty[0] & /*$craftCategories, selectedColorIndex*/ 264) {
				set_style(div1, "--selected-color", intToRGBA(/*$craftCategories*/ ctx[3].colors[/*selectedColorIndex*/ ctx[8]].color));
			}

			if (/*colorsVisible*/ ctx[9]) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = craft_index_svelte_create_if_block_5(ctx);
					if_block1.c();
					if_block1.m(div3, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}
		},
		d(detaching) {
			if (detaching) detach(div3);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			mounted = false;
			dispose();
		}
	};
}

// (4515:40) {#if selectedColorIndex === 0}
function craft_index_svelte_create_if_block_7(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "craft__color-icon ui-close svelte-yddno4");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (4520:32) {#if colorsVisible}
function craft_index_svelte_create_if_block_5(ctx) {
	let div;
	let each_value = /*$craftCategories*/ ctx[3].colors;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = craft_index_svelte_create_each_block(craft_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "craft__color-list svelte-yddno4");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$craftCategories, selectColor*/ 32776) {
				each_value = /*$craftCategories*/ ctx[3].colors;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = craft_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = craft_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (4524:48) {#if index === 0}
function craft_index_svelte_create_if_block_6(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "craft__color-icon ui-close svelte-yddno4");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (4522:40) {#each $craftCategories.colors as color, index}
function craft_index_svelte_create_each_block(ctx) {
	let div;
	let t;
	let mounted;
	let dispose;
	let if_block = /*index*/ ctx[54] === 0 && craft_index_svelte_create_if_block_6(ctx);

	function click_handler_4() {
		return /*click_handler_4*/ ctx[41](/*index*/ ctx[54]);
	}

	return {
		c() {
			div = internal_element("div");
			if (if_block) if_block.c();
			t = space();
			attr(div, "class", "craft__color svelte-yddno4");
			set_style(div, "--color", intToRGBA(/*color*/ ctx[52].color));
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block) if_block.m(div, null);
			append(div, t);

			if (!mounted) {
				dispose = listen(div, "click", click_handler_4);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty[0] & /*$craftCategories*/ 8) {
				set_style(div, "--color", intToRGBA(/*color*/ ctx[52].color));
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			if (if_block) if_block.d();
			mounted = false;
			dispose();
		}
	};
}

// (4572:24) {:else}
function craft_index_svelte_create_else_block(ctx) {
	let div;
	let inventorybutton;
	let current;

	inventorybutton = new inventory_button_index_svelte({
			props: {
				text: 'Создать предмет',
				onClick: /*startCraft*/ ctx[18],
				disabled: !/*craftAvailable*/ ctx[11],
				color: !/*craftAvailable*/ ctx[11]
				? ButtonColors.Grey
				: ButtonColors.Yellow,
				fontSize: 'medium'
			}
		});

	return {
		c() {
			div = internal_element("div");
			create_component(inventorybutton.$$.fragment);
			attr(div, "class", "craft__create svelte-yddno4");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(inventorybutton, div, null);
			current = true;
		},
		p(ctx, dirty) {
			const inventorybutton_changes = {};
			if (dirty[0] & /*craftAvailable*/ 2048) inventorybutton_changes.disabled = !/*craftAvailable*/ ctx[11];

			if (dirty[0] & /*craftAvailable*/ 2048) inventorybutton_changes.color = !/*craftAvailable*/ ctx[11]
			? ButtonColors.Grey
			: ButtonColors.Yellow;

			inventorybutton.$set(inventorybutton_changes);
		},
		i(local) {
			if (current) return;
			transition_in(inventorybutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(inventorybutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(inventorybutton);
		}
	};
}

// (4562:24) {#if $craftTimer > 0 && $craftProgressVisibile}
function craft_index_svelte_create_if_block_3(ctx) {
	let div1;
	let div0;
	let t;
	let div2;
	let inventorybutton;
	let current;

	inventorybutton = new inventory_button_index_svelte({
			props: {
				text: 'Отменить',
				onClick: /*stopCraft*/ ctx[19],
				color: 'white'
			}
		});

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			t = space();
			div2 = internal_element("div");
			create_component(inventorybutton.$$.fragment);
			set_style(div0, "width", `${/*progressFilled*/ ctx[10]}%`);
			attr(div0, "class", "craft__progress-bar-current svelte-yddno4");
			attr(div1, "class", "craft__progress-bar svelte-yddno4");
			attr(div2, "class", "craft__stop svelte-yddno4");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			insert(target, t, anchor);
			insert(target, div2, anchor);
			mount_component(inventorybutton, div2, null);
			current = true;
		},
		p(ctx, dirty) {
			if (!current || dirty[0] & /*progressFilled*/ 1024) {
				set_style(div0, "width", `${/*progressFilled*/ ctx[10]}%`);
			}
		},
		i(local) {
			if (current) return;
			transition_in(inventorybutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(inventorybutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			if (detaching) detach(t);
			if (detaching) detach(div2);
			destroy_component(inventorybutton);
		}
	};
}

// (4587:8) {#if isEmpty(actualData) && searchQuery.length >= 1 && !loading}
function craft_index_svelte_create_if_block(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "Ничего не найдено";
			attr(div, "class", "craft__empty svelte-yddno4");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function craft_index_svelte_create_fragment(ctx) {
	let div8;
	let div0;
	let search;
	let updating_loading;
	let updating_searchQuery;
	let t0;
	let div1;
	let show_if_2 = !(0,lodash.isNil)(/*$craftCategories*/ ctx[3].categories);
	let t1;
	let div7;
	let div5;
	let div3;
	let div2;
	let loader;
	let div2_class_value;
	let t2;
	let div4;
	let div4_class_value;
	let t3;
	let div6;
	let show_if_1 = !(0,lodash.isNil)(/*$additionalInfo*/ ctx[4].needs);
	let t4;
	let show_if = (0,lodash.isEmpty)(/*actualData*/ ctx[14]) && /*searchQuery*/ ctx[1].length >= 1 && !/*loading*/ ctx[12];
	let current;
	let mounted;
	let dispose;

	function search_loading_binding(value) {
		/*search_loading_binding*/ ctx[32](value);
	}

	function search_searchQuery_binding(value) {
		/*search_searchQuery_binding*/ ctx[33](value);
	}

	let search_props = { inventoryId: 11 };

	if (/*loading*/ ctx[12] !== void 0) {
		search_props.loading = /*loading*/ ctx[12];
	}

	if (/*searchQuery*/ ctx[1] !== void 0) {
		search_props.searchQuery = /*searchQuery*/ ctx[1];
	}

	search = new components_search_index_svelte({ props: search_props });
	binding_callbacks.push(() => bind(search, 'loading', search_loading_binding));
	binding_callbacks.push(() => bind(search, 'searchQuery', search_searchQuery_binding));
	let if_block0 = show_if_2 && craft_index_svelte_create_if_block_12(ctx);
	loader = new components_loader_index_svelte({ props: { type: 'fade', size: 'small' } });
	let each_value_2 = /*actualData*/ ctx[14];
	let each_blocks = [];

	for (let i = 0; i < each_value_2.length; i += 1) {
		each_blocks[i] = craft_index_svelte_create_each_block_2(craft_index_svelte_get_each_context_2(ctx, each_value_2, i));
	}

	let if_block1 = show_if_1 && craft_index_svelte_create_if_block_1(ctx);
	let if_block2 = show_if && craft_index_svelte_create_if_block(ctx);

	return {
		c() {
			div8 = internal_element("div");
			div0 = internal_element("div");
			create_component(search.$$.fragment);
			t0 = space();
			div1 = internal_element("div");
			if (if_block0) if_block0.c();
			t1 = space();
			div7 = internal_element("div");
			div5 = internal_element("div");
			div3 = internal_element("div");
			div2 = internal_element("div");
			create_component(loader.$$.fragment);
			t2 = space();
			div4 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t3 = space();
			div6 = internal_element("div");
			if (if_block1) if_block1.c();
			t4 = space();
			if (if_block2) if_block2.c();
			attr(div0, "class", "craft__search svelte-yddno4");
			attr(div1, "class", "craft__categories svelte-yddno4");
			attr(div2, "class", div2_class_value = "craft__loader " + (!/*loading*/ ctx[12] ? 'craft__loader_invisible' : '') + " svelte-yddno4");
			attr(div3, "class", "craft__loader svelte-yddno4");
			attr(div4, "class", div4_class_value = "craft__items-list " + (/*loading*/ ctx[12] ? 'craft__loader_invisible' : '') + " svelte-yddno4");
			attr(div5, "class", "craft__items-list-wrapper svelte-yddno4");
			attr(div6, "class", "craft__details svelte-yddno4");
			attr(div7, "class", "craft__content svelte-yddno4");
			attr(div8, "class", "craft svelte-yddno4");
		},
		m(target, anchor) {
			insert(target, div8, anchor);
			append(div8, div0);
			mount_component(search, div0, null);
			append(div8, t0);
			append(div8, div1);
			if (if_block0) if_block0.m(div1, null);
			append(div8, t1);
			append(div8, div7);
			append(div7, div5);
			append(div5, div3);
			append(div3, div2);
			mount_component(loader, div2, null);
			append(div5, t2);
			append(div5, div4);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div4, null);
			}

			append(div7, t3);
			append(div7, div6);
			if (if_block1) if_block1.m(div6, null);
			append(div7, t4);
			if (if_block2) if_block2.m(div7, null);
			current = true;

			if (!mounted) {
				dispose = listen(window, "mousemove", /*handleMouseMove*/ ctx[25]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			const search_changes = {};

			if (!updating_loading && dirty[0] & /*loading*/ 4096) {
				updating_loading = true;
				search_changes.loading = /*loading*/ ctx[12];
				add_flush_callback(() => updating_loading = false);
			}

			if (!updating_searchQuery && dirty[0] & /*searchQuery*/ 2) {
				updating_searchQuery = true;
				search_changes.searchQuery = /*searchQuery*/ ctx[1];
				add_flush_callback(() => updating_searchQuery = false);
			}

			search.$set(search_changes);
			if (dirty[0] & /*$craftCategories*/ 8) show_if_2 = !(0,lodash.isNil)(/*$craftCategories*/ ctx[3].categories);

			if (show_if_2) {
				if (if_block0) {
					if_block0.p(ctx, dirty);

					if (dirty[0] & /*$craftCategories*/ 8) {
						transition_in(if_block0, 1);
					}
				} else {
					if_block0 = craft_index_svelte_create_if_block_12(ctx);
					if_block0.c();
					transition_in(if_block0, 1);
					if_block0.m(div1, null);
				}
			} else if (if_block0) {
				group_outros();

				transition_out(if_block0, 1, 1, () => {
					if_block0 = null;
				});

				check_outros();
			}

			if (!current || dirty[0] & /*loading*/ 4096 && div2_class_value !== (div2_class_value = "craft__loader " + (!/*loading*/ ctx[12] ? 'craft__loader_invisible' : '') + " svelte-yddno4")) {
				attr(div2, "class", div2_class_value);
			}

			if (dirty[0] & /*actualData, selectedItem, selectItem*/ 90112) {
				each_value_2 = /*actualData*/ ctx[14];
				let i;

				for (i = 0; i < each_value_2.length; i += 1) {
					const child_ctx = craft_index_svelte_get_each_context_2(ctx, each_value_2, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = craft_index_svelte_create_each_block_2(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div4, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_2.length;
			}

			if (!current || dirty[0] & /*loading*/ 4096 && div4_class_value !== (div4_class_value = "craft__items-list " + (/*loading*/ ctx[12] ? 'craft__loader_invisible' : '') + " svelte-yddno4")) {
				attr(div4, "class", div4_class_value);
			}

			if (dirty[0] & /*$additionalInfo*/ 16) show_if_1 = !(0,lodash.isNil)(/*$additionalInfo*/ ctx[4].needs);

			if (show_if_1) {
				if (if_block1) {
					if_block1.p(ctx, dirty);

					if (dirty[0] & /*$additionalInfo*/ 16) {
						transition_in(if_block1, 1);
					}
				} else {
					if_block1 = craft_index_svelte_create_if_block_1(ctx);
					if_block1.c();
					transition_in(if_block1, 1);
					if_block1.m(div6, null);
				}
			} else if (if_block1) {
				group_outros();

				transition_out(if_block1, 1, 1, () => {
					if_block1 = null;
				});

				check_outros();
			}

			if (dirty[0] & /*actualData, searchQuery, loading*/ 20482) show_if = (0,lodash.isEmpty)(/*actualData*/ ctx[14]) && /*searchQuery*/ ctx[1].length >= 1 && !/*loading*/ ctx[12];

			if (show_if) {
				if (if_block2) {
					
				} else {
					if_block2 = craft_index_svelte_create_if_block(ctx);
					if_block2.c();
					if_block2.m(div7, null);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}
		},
		i(local) {
			if (current) return;
			transition_in(search.$$.fragment, local);
			transition_in(if_block0);
			transition_in(loader.$$.fragment, local);
			transition_in(if_block1);
			current = true;
		},
		o(local) {
			transition_out(search.$$.fragment, local);
			transition_out(if_block0);
			transition_out(loader.$$.fragment, local);
			transition_out(if_block1);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div8);
			destroy_component(search);
			if (if_block0) if_block0.d();
			destroy_component(loader);
			destroy_each(each_blocks, detaching);
			if (if_block1) if_block1.d();
			if (if_block2) if_block2.d();
			mounted = false;
			dispose();
		}
	};
}

function craft_index_svelte_instance($$self, $$props, $$invalidate) {
	let searchQuery;
	let selectedItem;
	let actualData;
	let $selectedCategoryId;
	let $craftCategories;
	let $additionalInfo;
	let $craftCategoriesData;
	let $serverApiToken;
	let $serverApiServerId;
	let $inventories;
	let $craftResult;
	let $craftTimer;
	let $craftProgressVisibile;
	component_subscribe($$self, selectedCategoryId, $$value => $$invalidate(2, $selectedCategoryId = $$value));
	component_subscribe($$self, craftCategories, $$value => $$invalidate(3, $craftCategories = $$value));
	component_subscribe($$self, additionalInfo, $$value => $$invalidate(4, $additionalInfo = $$value));
	component_subscribe($$self, craftCategoriesData, $$value => $$invalidate(47, $craftCategoriesData = $$value));
	component_subscribe($$self, serverApiToken, $$value => $$invalidate(48, $serverApiToken = $$value));
	component_subscribe($$self, serverApiServerId, $$value => $$invalidate(49, $serverApiServerId = $$value));
	component_subscribe($$self, inventories, $$value => $$invalidate(31, $inventories = $$value));
	component_subscribe($$self, craftResult, $$value => $$invalidate(5, $craftResult = $$value));
	component_subscribe($$self, craftTimer, $$value => $$invalidate(6, $craftTimer = $$value));
	component_subscribe($$self, craftProgressVisibile, $$value => $$invalidate(7, $craftProgressVisibile = $$value));
	let selectedColorIndex = 0;
	let needsInventoryItems = {};
	let colorsVisible = false;
	let progressFilled = 0;
	let durationTime = -1;
	let craftAvailable = false;
	let scrollableElement = document.querySelector('.craft__items-list');
	let progressPart = 0;
	let progressSeconds = 0;
	let transitionInterval = null;
	let searchResult = false;
	let loading = false;

	const resetProgressBar = () => {
		clearInterval(transitionInterval);
		$$invalidate(29, transitionInterval = null);
		set_store_value(craftProgressVisibile, $craftProgressVisibile = false, $craftProgressVisibile);
		set_store_value(craftTimer, $craftTimer = -1, $craftTimer);
		$$invalidate(28, progressSeconds = 0);
		$$invalidate(10, progressFilled = 0);
	};

	const selectColor = colorIndex => {
		$$invalidate(8, selectedColorIndex = colorIndex);
		$$invalidate(9, colorsVisible = false);
		sendClientMessage('selectColor', `${selectedItem.index}|${colorIndex}`);
	};

	const selectItem = (item, categoryId) => {
		if (!item) {
			return;
		}

		selectColor(0);

		if (!(0,lodash.isNil)(categoryId)) {
			set_store_value(selectedCategoryId, $selectedCategoryId = categoryId, $selectedCategoryId);
		}

		$$invalidate(13, selectedItem = item);
		set_store_value(additionalInfo, $additionalInfo.count = 1, $additionalInfo);
		sendClientMessage('selectItemInCategory', `${$selectedCategoryId}|${selectedItem.index}`);
	};

	const changeCategory = (categoryId, item) => {
		if ($selectedCategoryId !== categoryId) {
			scrollableElement.scrollTop = 0;
		} else {
			return;
		}

		$$invalidate(1, searchQuery = '');
		set_store_value(selectedCategoryId, $selectedCategoryId = categoryId, $selectedCategoryId);
		set_store_value(additionalInfo, $additionalInfo.count = 1, $additionalInfo);
		sendClientMessage('selectCategory', `${$selectedCategoryId}`);
		selectItem(item);
	};

	const startCraft = () => {
		sendClientMessage('startCraft', `${$selectedCategoryId}|${selectedColorIndex}|${selectedItem.index}`);
	};

	const stopCraft = () => {
		sendClientMessage('stopCraft');
		resetProgressBar();
	};

	const checkItemInfo = itemId => {
		sendClientMessage('getItemInfo', `${itemId}`);
	};

	const decreaseAmount = () => {
		if ($additionalInfo.count - 1 <= 0) {
			return;
		}

		set_store_value(additionalInfo, $additionalInfo.count -= 1, $additionalInfo);
		sendClientMessage('updateCount', `${$selectedCategoryId}|${selectedItem.index}|${$additionalInfo.count}`);
	};

	const increaseAmount = () => {
		set_store_value(additionalInfo, $additionalInfo.count += 1, $additionalInfo);
		sendClientMessage('updateCount', `${$selectedCategoryId}|${selectedItem.index}|${$additionalInfo.count}`);
	};

	const inputAmount = () => {
		sendClientMessage('inputCount', selectedItem.index);
	};

	const getCraftData = async () => {
		$$invalidate(12, loading = true);

		if ((0,lodash.isEmpty)($craftCategoriesData)) {
			const { data } = await lib_axios.get(
				`
            https://api.ko-rista.com/v1/getLauncherMobileDonate?launcher_key=CHANGEMEKEY777&project=rodina&server=1&key=craft
            `,
				{
					headers: {
						Authorization: `Bearer ${$serverApiToken}`
					}
				}
			);

			set_store_value(craftCategoriesData, [$craftCategoriesData] = data, $craftCategoriesData);
		}

		const curCategories = Object.values($craftCategoriesData.categories).reduce(
			(acc, category) => {
				const categoryId = category.category;

				if ($craftCategories.includes(categoryId)) {
					const items = category.items.map((dataItem, index) => {
						const [id, color] = dataItem;

						return {
							...ITEMS[id],
							background: !color || color === 0
							? 'rgba(51, 51, 51, 1)'
							: intToRGBA(color),
							index
						};
					});

					acc[categoryId] = { ...category, items };
				}

				return acc;
			},
			{}
		);

		set_store_value(craftCategories, $craftCategories = {}, $craftCategories);
		set_store_value(craftCategories, $craftCategories.categories = curCategories, $craftCategories);
		set_store_value(craftCategories, $craftCategories.colors = $craftCategoriesData.colors, $craftCategories);
		selectItem($craftCategories.categories[$selectedCategoryId]?.items[0]);
		$$invalidate(12, loading = false);
	};

	onMount(() => {
		getCraftData();
		scrollableElement = document.querySelector('.craft__items-list');
		$$invalidate(1, searchQuery = '');
		set_store_value(additionalInfo, $additionalInfo.count = 1, $additionalInfo);
	});

	onDestroy(() => {
		clearInterval(transitionInterval);
		$$invalidate(29, transitionInterval = null);
		resetProgressBar();
		set_store_value(craftCategories, $craftCategories = {}, $craftCategories);
		set_store_value(selectedCategoryId, $selectedCategoryId = -1, $selectedCategoryId);
		$$invalidate(13, selectedItem = { index: 0 });
		$$invalidate(1, searchQuery = '');
	});

	let left = 0;
	let top = 0;
	let hovered = false;
	let itemName = '';

	const handleHovered = (hov, id) => {
		hovered = hov;
		itemName = ITEMS[id] ? ITEMS[id].name : '';
	};

	const handleMouseMove = event => {
		left = event.clientX;
		top = event.clientY;
	};

	function search_loading_binding(value) {
		loading = value;
		$$invalidate(12, loading);
	}

	function search_searchQuery_binding(value) {
		searchQuery = value;
		$$invalidate(1, searchQuery);
	}

	const func = category => changeCategory(category.category, category.items[0]);
	const click_handler = item => selectItem(item);
	const click_handler_1 = () => checkItemInfo(selectedItem.id);
	const click_handler_2 = item => checkItemInfo(item.item);
	const mouseenter_handler = item => handleHovered(true, item.item);
	const mouseleave_handler = item => handleHovered(false, item.item);

	const click_handler_3 = () => {
		$$invalidate(9, colorsVisible = !colorsVisible);
	};

	const click_handler_4 = index => selectColor(index);

	$$self.$$.update = () => {
		if ($$self.$$.dirty[0] & /*searchQuery, $craftCategories*/ 10) {
			$: {
				if (searchQuery.length >= 1) {
					const findedItems = [];

					const curSearchResult = Object.values($craftCategories.categories).flatMap(category => category.items.map((item, index) => {
						if (item.name.toLowerCase().includes(searchQuery.toLowerCase())) {
							const findedItem = { ...item, category: category.category };
							findedItems.push(findedItem);
							return findedItem;
						}

						return { ...item, forceHide: true, index };
					}));

					if (findedItems.length) {
						const firstItem = findedItems[0];
						const selectedIndex = firstItem.index;
						const selectedCategory = firstItem.category;

						if (selectedIndex >= 0 && selectedCategory !== undefined) {
							selectItem(firstItem, selectedCategory);
							$$invalidate(30, searchResult = curSearchResult);
						}
					} else {
						$$invalidate(30, searchResult = []);
					}
				} else {
					$$invalidate(30, searchResult = false);
				}
			}
		}

		if ($$self.$$.dirty[0] & /*searchResult, $craftCategories, $selectedCategoryId*/ 1073741836) {
			$: $$invalidate(14, actualData = searchResult || ($craftCategories.categories
			? $craftCategories.categories[$selectedCategoryId]?.items
			: []));
		}

		if ($$self.$$.dirty[0] & /*$craftTimer, $craftProgressVisibile, durationTime, transitionInterval, progressFilled, progressPart, progressSeconds, $additionalInfo*/ 1006634192) {
			$: {
				if ($craftTimer > 0 && $craftProgressVisibile) {
					$$invalidate(26, durationTime = ($craftTimer - moment_default()().unix() - 60) / 1000);
					$$invalidate(27, progressPart = 100 / durationTime);

					if ((0,lodash.isNil)(transitionInterval)) {
						setTimeout(
							() => {
								$$invalidate(10, progressFilled += progressPart);
							},
							50
						); // for first progress bar animation

						$$invalidate(29, transitionInterval = setInterval(
							() => {
								if (progressSeconds <= durationTime) {
									$$invalidate(28, progressSeconds += 1);
									$$invalidate(10, progressFilled += progressPart);
								} else {
									resetProgressBar();
								}
							},
							1000
						));
					}
				} else {
					if ($additionalInfo.count > 1 && $craftTimer > 0) {
						set_store_value(additionalInfo, $additionalInfo.count -= 1, $additionalInfo);
					}

					resetProgressBar();
				}
			}
		}

		if ($$self.$$.dirty[0] & /*$craftResult*/ 32) {
			$: {
				if (!(0,lodash.isNil)($craftResult)) {
					setTimeout(
						() => {
							set_store_value(craftResult, $craftResult = null, $craftResult);
						},
						1500
					);
				}
			}
		}

		if ($$self.$$.dirty[0] & /*$additionalInfo, needsInventoryItems*/ 17 | $$self.$$.dirty[1] & /*$inventories*/ 1) {
			$: {
				if (!(0,lodash.isNil)($additionalInfo.needs)) {
					$$invalidate(0, needsInventoryItems = {});
					$$invalidate(11, craftAvailable = false);

					$additionalInfo.needs.forEach(needItem => {
						$inventories[BLOCK_TYPE.BLOCK_TYPE_MENU].forEach(inventoryItem => {
							if ((0,lodash.isNil)(needsInventoryItems[needItem.item])) {
								$$invalidate(0, needsInventoryItems[needItem.item] = { enough: false, amount: 0 }, needsInventoryItems);
							}

							if (needItem.item === inventoryItem.item) {
								$$invalidate(0, needsInventoryItems[needItem.item].amount += Number(inventoryItem.amount), needsInventoryItems);
								$$invalidate(0, needsInventoryItems[needItem.item].enough = needsInventoryItems[needItem.item].amount >= needItem.amount, needsInventoryItems);
							}
						});
					});

					/* eslint-disable no-bitwise */
					$$invalidate(11, craftAvailable = Object.values(needsInventoryItems).reduce((totalState, itemState) => totalState & itemState.enough, true));
				}
			}
		}
	};

	$: $$invalidate(1, searchQuery = '');
	$: $$invalidate(13, selectedItem = { index: 0 });

	return [
		needsInventoryItems,
		searchQuery,
		$selectedCategoryId,
		$craftCategories,
		$additionalInfo,
		$craftResult,
		$craftTimer,
		$craftProgressVisibile,
		selectedColorIndex,
		colorsVisible,
		progressFilled,
		craftAvailable,
		loading,
		selectedItem,
		actualData,
		selectColor,
		selectItem,
		changeCategory,
		startCraft,
		stopCraft,
		checkItemInfo,
		decreaseAmount,
		increaseAmount,
		inputAmount,
		handleHovered,
		handleMouseMove,
		durationTime,
		progressPart,
		progressSeconds,
		transitionInterval,
		searchResult,
		$inventories,
		search_loading_binding,
		search_searchQuery_binding,
		func,
		click_handler,
		click_handler_1,
		click_handler_2,
		mouseenter_handler,
		mouseleave_handler,
		click_handler_3,
		click_handler_4
	];
}

class Craft extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, craft_index_svelte_instance, craft_index_svelte_create_fragment, safe_not_equal, {}, craft_index_svelte_add_css, [-1, -1]);
	}
}

/* harmony default export */ const craft_index_svelte = (Craft);
;// CONCATENATED MODULE: ./src/views/inventory/components/potions/constants.js
var constants_MAX_ENCHANT_LEVEL = 13;
;// CONCATENATED MODULE: ./src/views/inventory/components/potions/index.svelte
/* src\views\inventory\components\potions\index.svelte generated by Svelte v3.49.0 */















function potions_index_svelte_add_css(target) {
	append_styles(target, "svelte-mjimyc", "@keyframes svelte-mjimyc-blinking{50%{opacity:0}}@keyframes svelte-mjimyc-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-mjimyc-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-mjimyc-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-mjimyc-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-mjimyc-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-mjimyc-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-mjimyc-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-mjimyc-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-mjimyc-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-mjimyc-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-mjimyc-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-mjimyc-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-mjimyc-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-mjimyc-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.potions.svelte-mjimyc{position:relative;display:flex;flex-direction:column;overflow:hidden;border-bottm-left-radius:calc(0.0052083333 * 100vw + 0px);border-bottm-right-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.25 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.potions.svelte-mjimyc{border-bottm-left-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions.svelte-mjimyc{border-bottm-left-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions.svelte-mjimyc{border-bottm-left-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.potions.svelte-mjimyc{border-bottm-left-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions.svelte-mjimyc{border-bottm-left-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions.svelte-mjimyc{border-bottm-left-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.potions.svelte-mjimyc{border-bottm-left-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.potions.svelte-mjimyc{border-bottm-right-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions.svelte-mjimyc{border-bottm-right-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions.svelte-mjimyc{border-bottm-right-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.potions.svelte-mjimyc{border-bottm-right-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions.svelte-mjimyc{border-bottm-right-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions.svelte-mjimyc{border-bottm-right-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.potions.svelte-mjimyc{border-bottm-right-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.potions.svelte-mjimyc{width:calc(0.25 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions.svelte-mjimyc{width:calc(0.25 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions.svelte-mjimyc{width:calc(0.1925 * 100vw + 0px)}}@media(min-width: 3440px){.potions.svelte-mjimyc{width:calc(0.275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions.svelte-mjimyc{width:calc(0.175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions.svelte-mjimyc{width:calc(0.225 * 100vw + 0px)}}@media(min-width: 4096px){.potions.svelte-mjimyc{width:calc(0.275 * 100vw + 0px)}}.potions__main-info.svelte-mjimyc{padding-top:calc(0.0260416667 * 100vw + 0px);background-color:rgba(19, 21, 22, 0.95)}@media(max-width: 1920px) and (max-height: 768px){.potions__main-info.svelte-mjimyc{padding-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__main-info.svelte-mjimyc{padding-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__main-info.svelte-mjimyc{padding-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.potions__main-info.svelte-mjimyc{padding-top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__main-info.svelte-mjimyc{padding-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__main-info.svelte-mjimyc{padding-top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.potions__main-info.svelte-mjimyc{padding-top:calc(0.0286458333 * 100vw + 0px)}}.potions__gradient-wrapper.svelte-mjimyc{position:relative;overflow:hidden}.potions__gradient.svelte-mjimyc{position:absolute;left:50%;bottom:0;width:100%;height:100%;opacity:0;background-position:center bottom;background-size:contain;transition:0.3s ease-in-out;transition-property:opacity;transform:translateX(-50%) translateY(50%);padding:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.potions__gradient.svelte-mjimyc{padding:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__gradient.svelte-mjimyc{padding:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__gradient.svelte-mjimyc{padding:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.potions__gradient.svelte-mjimyc{padding:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__gradient.svelte-mjimyc{padding:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__gradient.svelte-mjimyc{padding:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.potions__gradient.svelte-mjimyc{padding:calc(0.0091666667 * 100vw + 0px)}}.potions__gradient--green.svelte-mjimyc{opacity:0.5;background:radial-gradient(49.98% 50.07% at 49.98% 50.13%, #C1FF3C 0%, #AFFF05 14.88%, rgba(0, 0, 0, 0) 100%)}.potions__gradient--red.svelte-mjimyc{opacity:0.5;background:radial-gradient(49.98% 50.07% at 49.98% 50.13%, #88000A 0%, #88000A 33.88%, rgba(0, 0, 0, 0) 100%)}.potions__title-wrapper.svelte-mjimyc{width:100%;text-align:center}.potions__title.svelte-mjimyc{font-family:PFDinDisplayProRegular;font-style:italic;color:#FFFFFF;text-transform:uppercase;font-weight:700;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.potions__title.svelte-mjimyc{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__title.svelte-mjimyc{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__title.svelte-mjimyc{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.potions__title.svelte-mjimyc{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__title.svelte-mjimyc{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__title.svelte-mjimyc{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.potions__title.svelte-mjimyc{font-size:calc(0.0103125 * 100vw + 0px)}}.potions__caption.svelte-mjimyc{font-family:PFDinDisplayProRegular;color:rgba(255, 255, 255, 0.45);font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.potions__caption.svelte-mjimyc{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__caption.svelte-mjimyc{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__caption.svelte-mjimyc{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.potions__caption.svelte-mjimyc{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__caption.svelte-mjimyc{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__caption.svelte-mjimyc{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.potions__caption.svelte-mjimyc{font-size:calc(0.0080208333 * 100vw + 0px)}}.potions__ingredients.svelte-mjimyc{display:flex;align-items:center;justify-content:space-evenly;padding:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.potions__ingredients.svelte-mjimyc{padding:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__ingredients.svelte-mjimyc{padding:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__ingredients.svelte-mjimyc{padding:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.potions__ingredients.svelte-mjimyc{padding:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__ingredients.svelte-mjimyc{padding:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__ingredients.svelte-mjimyc{padding:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.potions__ingredients.svelte-mjimyc{padding:calc(0.0114583333 * 100vw + 0px)}}.potions__ingredient.svelte-mjimyc{margin:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.potions__ingredient.svelte-mjimyc{margin:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__ingredient.svelte-mjimyc{margin:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__ingredient.svelte-mjimyc{margin:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.potions__ingredient.svelte-mjimyc{margin:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__ingredient.svelte-mjimyc{margin:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__ingredient.svelte-mjimyc{margin:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.potions__ingredient.svelte-mjimyc{margin:calc(0.00859375 * 100vw + 0px)}}.potions__ingredient-caption.svelte-mjimyc{text-align:center;text-transform:uppercase;font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.0052083333 * 100vw + 0px);margin-top:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.potions__ingredient-caption.svelte-mjimyc{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__ingredient-caption.svelte-mjimyc{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__ingredient-caption.svelte-mjimyc{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.potions__ingredient-caption.svelte-mjimyc{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__ingredient-caption.svelte-mjimyc{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__ingredient-caption.svelte-mjimyc{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.potions__ingredient-caption.svelte-mjimyc{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.potions__ingredient-caption.svelte-mjimyc{margin-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__ingredient-caption.svelte-mjimyc{margin-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__ingredient-caption.svelte-mjimyc{margin-top:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.potions__ingredient-caption.svelte-mjimyc{margin-top:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__ingredient-caption.svelte-mjimyc{margin-top:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__ingredient-caption.svelte-mjimyc{margin-top:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.potions__ingredient-caption.svelte-mjimyc{margin-top:calc(0.00859375 * 100vw + 0px)}}.potions__ingredient-caption--disabled.svelte-mjimyc{color:rgba(255, 255, 255, 0.3)}.potions__ingredient-item.svelte-mjimyc{position:relative;background-color:#131516;background:radial-gradient(circle, rgba(255, 255, 255, 0.1) 2%, #131516 66%);border-color:rgba(255, 255, 255, 0.3);border-style:solid;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:calc(0.0052083333 * 100vw + 0px);border-width:calc(0.0005208333 * 100vw + 0px);width:calc(0.0416666667 * 100vw + 0px);height:calc(0.0416666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.potions__ingredient-item.svelte-mjimyc{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__ingredient-item.svelte-mjimyc{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__ingredient-item.svelte-mjimyc{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.potions__ingredient-item.svelte-mjimyc{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__ingredient-item.svelte-mjimyc{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__ingredient-item.svelte-mjimyc{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.potions__ingredient-item.svelte-mjimyc{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.potions__ingredient-item.svelte-mjimyc{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__ingredient-item.svelte-mjimyc{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__ingredient-item.svelte-mjimyc{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.potions__ingredient-item.svelte-mjimyc{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__ingredient-item.svelte-mjimyc{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__ingredient-item.svelte-mjimyc{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.potions__ingredient-item.svelte-mjimyc{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.potions__ingredient-item.svelte-mjimyc{width:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__ingredient-item.svelte-mjimyc{width:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__ingredient-item.svelte-mjimyc{width:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.potions__ingredient-item.svelte-mjimyc{width:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__ingredient-item.svelte-mjimyc{width:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__ingredient-item.svelte-mjimyc{width:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.potions__ingredient-item.svelte-mjimyc{width:calc(0.0458333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.potions__ingredient-item.svelte-mjimyc{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__ingredient-item.svelte-mjimyc{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__ingredient-item.svelte-mjimyc{height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.potions__ingredient-item.svelte-mjimyc{height:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__ingredient-item.svelte-mjimyc{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__ingredient-item.svelte-mjimyc{height:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.potions__ingredient-item.svelte-mjimyc{height:calc(0.0458333333 * 100vw + 0px)}}.potions__ingredient-item--highlight.svelte-mjimyc{background:unset;background-color:rgba(255, 255, 255, 0.65);-webkit-animation-name:svelte-mjimyc-blinking;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:cubic-bezier(0.5, 0.5, 1, 0.75);-webkit-animation-duration:1.5s}.potions__ingredient-item--lock.svelte-mjimyc{opacity:0.5}.potions__ingredient-item--big.svelte-mjimyc{width:calc(0.0625 * 100vw + 0px);height:calc(0.0625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.potions__ingredient-item--big.svelte-mjimyc{width:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__ingredient-item--big.svelte-mjimyc{width:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__ingredient-item--big.svelte-mjimyc{width:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px){.potions__ingredient-item--big.svelte-mjimyc{width:calc(0.06875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__ingredient-item--big.svelte-mjimyc{width:calc(0.04375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__ingredient-item--big.svelte-mjimyc{width:calc(0.05625 * 100vw + 0px)}}@media(min-width: 4096px){.potions__ingredient-item--big.svelte-mjimyc{width:calc(0.06875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.potions__ingredient-item--big.svelte-mjimyc{height:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__ingredient-item--big.svelte-mjimyc{height:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__ingredient-item--big.svelte-mjimyc{height:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px){.potions__ingredient-item--big.svelte-mjimyc{height:calc(0.06875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__ingredient-item--big.svelte-mjimyc{height:calc(0.04375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__ingredient-item--big.svelte-mjimyc{height:calc(0.05625 * 100vw + 0px)}}@media(min-width: 4096px){.potions__ingredient-item--big.svelte-mjimyc{height:calc(0.06875 * 100vw + 0px)}}.potions__lock-icon.svelte-mjimyc{color:#FFFFFF;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.potions__lock-icon.svelte-mjimyc{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__lock-icon.svelte-mjimyc{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__lock-icon.svelte-mjimyc{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.potions__lock-icon.svelte-mjimyc{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__lock-icon.svelte-mjimyc{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__lock-icon.svelte-mjimyc{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.potions__lock-icon.svelte-mjimyc{font-size:calc(0.0103125 * 100vw + 0px)}}.potions__sharpening-item.svelte-mjimyc{position:relative;background-color:#131516;background:radial-gradient(circle, rgba(255, 255, 255, 0.1) 2%, #131516 66%);border-color:rgba(255, 255, 255, 0.3);border-style:solid;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:calc(0.0052083333 * 100vw + 0px);border-width:calc(0.0005208333 * 100vw + 0px);width:calc(0.0625 * 100vw + 0px);height:calc(0.0625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.potions__sharpening-item.svelte-mjimyc{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__sharpening-item.svelte-mjimyc{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__sharpening-item.svelte-mjimyc{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.potions__sharpening-item.svelte-mjimyc{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__sharpening-item.svelte-mjimyc{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__sharpening-item.svelte-mjimyc{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.potions__sharpening-item.svelte-mjimyc{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.potions__sharpening-item.svelte-mjimyc{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__sharpening-item.svelte-mjimyc{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__sharpening-item.svelte-mjimyc{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.potions__sharpening-item.svelte-mjimyc{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__sharpening-item.svelte-mjimyc{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__sharpening-item.svelte-mjimyc{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.potions__sharpening-item.svelte-mjimyc{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.potions__sharpening-item.svelte-mjimyc{width:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__sharpening-item.svelte-mjimyc{width:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__sharpening-item.svelte-mjimyc{width:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px){.potions__sharpening-item.svelte-mjimyc{width:calc(0.06875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__sharpening-item.svelte-mjimyc{width:calc(0.04375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__sharpening-item.svelte-mjimyc{width:calc(0.05625 * 100vw + 0px)}}@media(min-width: 4096px){.potions__sharpening-item.svelte-mjimyc{width:calc(0.06875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.potions__sharpening-item.svelte-mjimyc{height:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__sharpening-item.svelte-mjimyc{height:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__sharpening-item.svelte-mjimyc{height:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px){.potions__sharpening-item.svelte-mjimyc{height:calc(0.06875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__sharpening-item.svelte-mjimyc{height:calc(0.04375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__sharpening-item.svelte-mjimyc{height:calc(0.05625 * 100vw + 0px)}}@media(min-width: 4096px){.potions__sharpening-item.svelte-mjimyc{height:calc(0.06875 * 100vw + 0px)}}.potions__ingredient-item-color.svelte-mjimyc{position:absolute;background-color:var(--item-color);pointer-events:none;width:calc(0.00625 * 100vw + 0px);height:calc(0.00625 * 100vw + 0px);border-radius:calc(0.0010416667 * 100vw + 0px);top:calc(0.0052083333 * 100vw + 0px);left:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.potions__ingredient-item-color.svelte-mjimyc{width:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__ingredient-item-color.svelte-mjimyc{width:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__ingredient-item-color.svelte-mjimyc{width:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.potions__ingredient-item-color.svelte-mjimyc{width:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__ingredient-item-color.svelte-mjimyc{width:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__ingredient-item-color.svelte-mjimyc{width:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.potions__ingredient-item-color.svelte-mjimyc{width:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.potions__ingredient-item-color.svelte-mjimyc{height:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__ingredient-item-color.svelte-mjimyc{height:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__ingredient-item-color.svelte-mjimyc{height:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.potions__ingredient-item-color.svelte-mjimyc{height:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__ingredient-item-color.svelte-mjimyc{height:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__ingredient-item-color.svelte-mjimyc{height:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.potions__ingredient-item-color.svelte-mjimyc{height:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.potions__ingredient-item-color.svelte-mjimyc{border-radius:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__ingredient-item-color.svelte-mjimyc{border-radius:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__ingredient-item-color.svelte-mjimyc{border-radius:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.potions__ingredient-item-color.svelte-mjimyc{border-radius:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__ingredient-item-color.svelte-mjimyc{border-radius:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__ingredient-item-color.svelte-mjimyc{border-radius:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.potions__ingredient-item-color.svelte-mjimyc{border-radius:calc(0.0011458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.potions__ingredient-item-color.svelte-mjimyc{top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__ingredient-item-color.svelte-mjimyc{top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__ingredient-item-color.svelte-mjimyc{top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.potions__ingredient-item-color.svelte-mjimyc{top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__ingredient-item-color.svelte-mjimyc{top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__ingredient-item-color.svelte-mjimyc{top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.potions__ingredient-item-color.svelte-mjimyc{top:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.potions__ingredient-item-color.svelte-mjimyc{left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__ingredient-item-color.svelte-mjimyc{left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__ingredient-item-color.svelte-mjimyc{left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.potions__ingredient-item-color.svelte-mjimyc{left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__ingredient-item-color.svelte-mjimyc{left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__ingredient-item-color.svelte-mjimyc{left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.potions__ingredient-item-color.svelte-mjimyc{left:calc(0.0057291667 * 100vw + 0px)}}.potions__ingredient-item-image.svelte-mjimyc{height:70%;object-fit:contain;pointer-events:none}.potions__ingredient-item-image--placeholder.svelte-mjimyc{opacity:0.5}.potions__ingredient-item-amount.svelte-mjimyc{position:absolute;display:flex;font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.00625 * 100vw + 0px);bottom:calc(0.00625 * 100vw + 0px);right:calc(0.0057291667 * 100vw + 0px);gap:calc(0.0015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.potions__ingredient-item-amount.svelte-mjimyc{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__ingredient-item-amount.svelte-mjimyc{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__ingredient-item-amount.svelte-mjimyc{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.potions__ingredient-item-amount.svelte-mjimyc{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__ingredient-item-amount.svelte-mjimyc{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__ingredient-item-amount.svelte-mjimyc{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.potions__ingredient-item-amount.svelte-mjimyc{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.potions__ingredient-item-amount.svelte-mjimyc{bottom:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__ingredient-item-amount.svelte-mjimyc{bottom:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__ingredient-item-amount.svelte-mjimyc{bottom:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.potions__ingredient-item-amount.svelte-mjimyc{bottom:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__ingredient-item-amount.svelte-mjimyc{bottom:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__ingredient-item-amount.svelte-mjimyc{bottom:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.potions__ingredient-item-amount.svelte-mjimyc{bottom:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.potions__ingredient-item-amount.svelte-mjimyc{right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__ingredient-item-amount.svelte-mjimyc{right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__ingredient-item-amount.svelte-mjimyc{right:calc(0.0044114583 * 100vw + 0px)}}@media(min-width: 3440px){.potions__ingredient-item-amount.svelte-mjimyc{right:calc(0.0063020833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__ingredient-item-amount.svelte-mjimyc{right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__ingredient-item-amount.svelte-mjimyc{right:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 4096px){.potions__ingredient-item-amount.svelte-mjimyc{right:calc(0.0063020833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.potions__ingredient-item-amount.svelte-mjimyc{gap:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__ingredient-item-amount.svelte-mjimyc{gap:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__ingredient-item-amount.svelte-mjimyc{gap:calc(0.001203125 * 100vw + 0px)}}@media(min-width: 3440px){.potions__ingredient-item-amount.svelte-mjimyc{gap:calc(0.00171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__ingredient-item-amount.svelte-mjimyc{gap:calc(0.00109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__ingredient-item-amount.svelte-mjimyc{gap:calc(0.00140625 * 100vw + 0px)}}@media(min-width: 4096px){.potions__ingredient-item-amount.svelte-mjimyc{gap:calc(0.00171875 * 100vw + 0px)}}.potions__next-counter.svelte-mjimyc,.potions__current-counter.svelte-mjimyc{font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.potions__next-counter.svelte-mjimyc,.potions__current-counter.svelte-mjimyc{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__next-counter.svelte-mjimyc,.potions__current-counter.svelte-mjimyc{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__next-counter.svelte-mjimyc,.potions__current-counter.svelte-mjimyc{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.potions__next-counter.svelte-mjimyc,.potions__current-counter.svelte-mjimyc{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__next-counter.svelte-mjimyc,.potions__current-counter.svelte-mjimyc{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__next-counter.svelte-mjimyc,.potions__current-counter.svelte-mjimyc{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.potions__next-counter.svelte-mjimyc,.potions__current-counter.svelte-mjimyc{font-size:calc(0.0080208333 * 100vw + 0px)}}.potions__progress-wrapper.svelte-mjimyc{display:flex;align-items:center;justify-content:space-evenly;padding:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.potions__progress-wrapper.svelte-mjimyc{padding:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__progress-wrapper.svelte-mjimyc{padding:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__progress-wrapper.svelte-mjimyc{padding:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.potions__progress-wrapper.svelte-mjimyc{padding:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__progress-wrapper.svelte-mjimyc{padding:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__progress-wrapper.svelte-mjimyc{padding:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.potions__progress-wrapper.svelte-mjimyc{padding:calc(0.0114583333 * 100vw + 0px)}}.potions__progress-bar.svelte-mjimyc{width:90%;height:100%;border-style:solid;border-color:rgba(255, 255, 255, 0.1);background-color:#131516;overflow:hidden;border-width:calc(0.0005208333 * 100vw + 0px);padding:calc(0.0015625 * 100vw + 0px);height:calc(0.009375 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);margin-left:calc(0.0052083333 * 100vw + 0px);margin-right:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.potions__progress-bar.svelte-mjimyc{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__progress-bar.svelte-mjimyc{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__progress-bar.svelte-mjimyc{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.potions__progress-bar.svelte-mjimyc{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__progress-bar.svelte-mjimyc{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__progress-bar.svelte-mjimyc{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.potions__progress-bar.svelte-mjimyc{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.potions__progress-bar.svelte-mjimyc{padding:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__progress-bar.svelte-mjimyc{padding:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__progress-bar.svelte-mjimyc{padding:calc(0.001203125 * 100vw + 0px)}}@media(min-width: 3440px){.potions__progress-bar.svelte-mjimyc{padding:calc(0.00171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__progress-bar.svelte-mjimyc{padding:calc(0.00109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__progress-bar.svelte-mjimyc{padding:calc(0.00140625 * 100vw + 0px)}}@media(min-width: 4096px){.potions__progress-bar.svelte-mjimyc{padding:calc(0.00171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.potions__progress-bar.svelte-mjimyc{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__progress-bar.svelte-mjimyc{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__progress-bar.svelte-mjimyc{height:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.potions__progress-bar.svelte-mjimyc{height:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__progress-bar.svelte-mjimyc{height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__progress-bar.svelte-mjimyc{height:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.potions__progress-bar.svelte-mjimyc{height:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.potions__progress-bar.svelte-mjimyc{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__progress-bar.svelte-mjimyc{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__progress-bar.svelte-mjimyc{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.potions__progress-bar.svelte-mjimyc{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__progress-bar.svelte-mjimyc{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__progress-bar.svelte-mjimyc{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.potions__progress-bar.svelte-mjimyc{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.potions__progress-bar.svelte-mjimyc{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__progress-bar.svelte-mjimyc{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__progress-bar.svelte-mjimyc{margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.potions__progress-bar.svelte-mjimyc{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__progress-bar.svelte-mjimyc{margin-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__progress-bar.svelte-mjimyc{margin-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.potions__progress-bar.svelte-mjimyc{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.potions__progress-bar.svelte-mjimyc{margin-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__progress-bar.svelte-mjimyc{margin-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__progress-bar.svelte-mjimyc{margin-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.potions__progress-bar.svelte-mjimyc{margin-right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__progress-bar.svelte-mjimyc{margin-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__progress-bar.svelte-mjimyc{margin-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.potions__progress-bar.svelte-mjimyc{margin-right:calc(0.0057291667 * 100vw + 0px)}}.potions__progress-bar-current.svelte-mjimyc{height:100%;width:0%;border-style:solid;border-color:rgba(255, 255, 255, 0.1);background-color:#FFCB5A;transition:var(--transition-time);transition-timing-function:linear;transition-property:width;border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.potions__progress-bar-current.svelte-mjimyc{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__progress-bar-current.svelte-mjimyc{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__progress-bar-current.svelte-mjimyc{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.potions__progress-bar-current.svelte-mjimyc{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__progress-bar-current.svelte-mjimyc{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__progress-bar-current.svelte-mjimyc{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.potions__progress-bar-current.svelte-mjimyc{border-radius:calc(0.0057291667 * 100vw + 0px)}}.potions__progress-bar-current--filled.svelte-mjimyc{width:100%}.potions__menu-panel.svelte-mjimyc{display:grid;grid-template-columns:repeat(2, 1fr);grid-auto-flow:row;background-color:rgba(19, 21, 22, 0.9);padding:calc(0.0104166667 * 100vw + 0px);grid-gap:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.potions__menu-panel.svelte-mjimyc{padding:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__menu-panel.svelte-mjimyc{padding:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__menu-panel.svelte-mjimyc{padding:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.potions__menu-panel.svelte-mjimyc{padding:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__menu-panel.svelte-mjimyc{padding:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__menu-panel.svelte-mjimyc{padding:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.potions__menu-panel.svelte-mjimyc{padding:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.potions__menu-panel.svelte-mjimyc{grid-gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__menu-panel.svelte-mjimyc{grid-gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__menu-panel.svelte-mjimyc{grid-gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.potions__menu-panel.svelte-mjimyc{grid-gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__menu-panel.svelte-mjimyc{grid-gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__menu-panel.svelte-mjimyc{grid-gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.potions__menu-panel.svelte-mjimyc{grid-gap:calc(0.0057291667 * 100vw + 0px)}}.potions__menu-item.svelte-mjimyc{height:calc(0.0208333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.potions__menu-item.svelte-mjimyc{height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__menu-item.svelte-mjimyc{height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__menu-item.svelte-mjimyc{height:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.potions__menu-item.svelte-mjimyc{height:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__menu-item.svelte-mjimyc{height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__menu-item.svelte-mjimyc{height:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.potions__menu-item.svelte-mjimyc{height:calc(0.0229166667 * 100vw + 0px)}}.potions__menu-item.svelte-mjimyc:nth-child(3n+1),.potions__menu-item.svelte-mjimyc:nth-child(3n+4){grid-column:span 2}.potions__menu-item--button.svelte-mjimyc{opacity:0.8}.potions__menu-item--button.svelte-mjimyc:hover{opacity:1}.potions__chance.svelte-mjimyc,.potions__price.svelte-mjimyc{height:100%;display:flex;align-items:center;justify-content:space-between;background-color:rgba(255, 255, 255, 0.3);padding-left:calc(0.0104166667 * 100vw + 0px);padding-right:calc(0.0104166667 * 100vw + 0px);border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.potions__chance.svelte-mjimyc,.potions__price.svelte-mjimyc{padding-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__chance.svelte-mjimyc,.potions__price.svelte-mjimyc{padding-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__chance.svelte-mjimyc,.potions__price.svelte-mjimyc{padding-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.potions__chance.svelte-mjimyc,.potions__price.svelte-mjimyc{padding-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__chance.svelte-mjimyc,.potions__price.svelte-mjimyc{padding-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__chance.svelte-mjimyc,.potions__price.svelte-mjimyc{padding-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.potions__chance.svelte-mjimyc,.potions__price.svelte-mjimyc{padding-left:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.potions__chance.svelte-mjimyc,.potions__price.svelte-mjimyc{padding-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__chance.svelte-mjimyc,.potions__price.svelte-mjimyc{padding-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__chance.svelte-mjimyc,.potions__price.svelte-mjimyc{padding-right:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.potions__chance.svelte-mjimyc,.potions__price.svelte-mjimyc{padding-right:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__chance.svelte-mjimyc,.potions__price.svelte-mjimyc{padding-right:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__chance.svelte-mjimyc,.potions__price.svelte-mjimyc{padding-right:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.potions__chance.svelte-mjimyc,.potions__price.svelte-mjimyc{padding-right:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.potions__chance.svelte-mjimyc,.potions__price.svelte-mjimyc{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__chance.svelte-mjimyc,.potions__price.svelte-mjimyc{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__chance.svelte-mjimyc,.potions__price.svelte-mjimyc{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.potions__chance.svelte-mjimyc,.potions__price.svelte-mjimyc{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__chance.svelte-mjimyc,.potions__price.svelte-mjimyc{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__chance.svelte-mjimyc,.potions__price.svelte-mjimyc{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.potions__chance.svelte-mjimyc,.potions__price.svelte-mjimyc{border-radius:calc(0.0028645833 * 100vw + 0px)}}.potions__chance-caption.svelte-mjimyc,.potions__price-caption.svelte-mjimyc{text-transform:uppercase;font-style:italic;font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.potions__chance-caption.svelte-mjimyc,.potions__price-caption.svelte-mjimyc{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__chance-caption.svelte-mjimyc,.potions__price-caption.svelte-mjimyc{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__chance-caption.svelte-mjimyc,.potions__price-caption.svelte-mjimyc{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.potions__chance-caption.svelte-mjimyc,.potions__price-caption.svelte-mjimyc{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__chance-caption.svelte-mjimyc,.potions__price-caption.svelte-mjimyc{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__chance-caption.svelte-mjimyc,.potions__price-caption.svelte-mjimyc{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.potions__chance-caption.svelte-mjimyc,.potions__price-caption.svelte-mjimyc{font-size:calc(0.0080208333 * 100vw + 0px)}}.potions__chance-value-wrapper.svelte-mjimyc,.potions__price-value-wrapper.svelte-mjimyc{display:flex;align-items:center}.potions__chance-value.svelte-mjimyc,.potions__price-value.svelte-mjimyc{text-transform:uppercase;font-style:italic;font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.potions__chance-value.svelte-mjimyc,.potions__price-value.svelte-mjimyc{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__chance-value.svelte-mjimyc,.potions__price-value.svelte-mjimyc{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__chance-value.svelte-mjimyc,.potions__price-value.svelte-mjimyc{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.potions__chance-value.svelte-mjimyc,.potions__price-value.svelte-mjimyc{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__chance-value.svelte-mjimyc,.potions__price-value.svelte-mjimyc{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__chance-value.svelte-mjimyc,.potions__price-value.svelte-mjimyc{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.potions__chance-value.svelte-mjimyc,.potions__price-value.svelte-mjimyc{font-size:calc(0.0080208333 * 100vw + 0px)}}.potions__chance-icon.svelte-mjimyc,.potions__price-icon.svelte-mjimyc{display:flex;align-items:center;justify-content:center;font-family:PFDinDisplayProRegular;color:#FFFFFF;font-weight:700;font-size:calc(0.0072916667 * 100vw + 0px);margin-left:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.potions__chance-icon.svelte-mjimyc,.potions__price-icon.svelte-mjimyc{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__chance-icon.svelte-mjimyc,.potions__price-icon.svelte-mjimyc{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__chance-icon.svelte-mjimyc,.potions__price-icon.svelte-mjimyc{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.potions__chance-icon.svelte-mjimyc,.potions__price-icon.svelte-mjimyc{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__chance-icon.svelte-mjimyc,.potions__price-icon.svelte-mjimyc{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__chance-icon.svelte-mjimyc,.potions__price-icon.svelte-mjimyc{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.potions__chance-icon.svelte-mjimyc,.potions__price-icon.svelte-mjimyc{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.potions__chance-icon.svelte-mjimyc,.potions__price-icon.svelte-mjimyc{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__chance-icon.svelte-mjimyc,.potions__price-icon.svelte-mjimyc{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__chance-icon.svelte-mjimyc,.potions__price-icon.svelte-mjimyc{margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.potions__chance-icon.svelte-mjimyc,.potions__price-icon.svelte-mjimyc{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__chance-icon.svelte-mjimyc,.potions__price-icon.svelte-mjimyc{margin-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__chance-icon.svelte-mjimyc,.potions__price-icon.svelte-mjimyc{margin-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.potions__chance-icon.svelte-mjimyc,.potions__price-icon.svelte-mjimyc{margin-left:calc(0.0057291667 * 100vw + 0px)}}.potions__chance-icon--money.svelte-mjimyc,.potions__price-icon--money.svelte-mjimyc{color:#131516;border-radius:50%;background-color:#FFFFFF;width:calc(0.0072916667 * 100vw + 0px);height:calc(0.0072916667 * 100vw + 0px);font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.potions__chance-icon--money.svelte-mjimyc,.potions__price-icon--money.svelte-mjimyc{width:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__chance-icon--money.svelte-mjimyc,.potions__price-icon--money.svelte-mjimyc{width:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__chance-icon--money.svelte-mjimyc,.potions__price-icon--money.svelte-mjimyc{width:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.potions__chance-icon--money.svelte-mjimyc,.potions__price-icon--money.svelte-mjimyc{width:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__chance-icon--money.svelte-mjimyc,.potions__price-icon--money.svelte-mjimyc{width:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__chance-icon--money.svelte-mjimyc,.potions__price-icon--money.svelte-mjimyc{width:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.potions__chance-icon--money.svelte-mjimyc,.potions__price-icon--money.svelte-mjimyc{width:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.potions__chance-icon--money.svelte-mjimyc,.potions__price-icon--money.svelte-mjimyc{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__chance-icon--money.svelte-mjimyc,.potions__price-icon--money.svelte-mjimyc{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__chance-icon--money.svelte-mjimyc,.potions__price-icon--money.svelte-mjimyc{height:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.potions__chance-icon--money.svelte-mjimyc,.potions__price-icon--money.svelte-mjimyc{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__chance-icon--money.svelte-mjimyc,.potions__price-icon--money.svelte-mjimyc{height:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__chance-icon--money.svelte-mjimyc,.potions__price-icon--money.svelte-mjimyc{height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.potions__chance-icon--money.svelte-mjimyc,.potions__price-icon--money.svelte-mjimyc{height:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.potions__chance-icon--money.svelte-mjimyc,.potions__price-icon--money.svelte-mjimyc{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.potions__chance-icon--money.svelte-mjimyc,.potions__price-icon--money.svelte-mjimyc{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.potions__chance-icon--money.svelte-mjimyc,.potions__price-icon--money.svelte-mjimyc{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.potions__chance-icon--money.svelte-mjimyc,.potions__price-icon--money.svelte-mjimyc{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.potions__chance-icon--money.svelte-mjimyc,.potions__price-icon--money.svelte-mjimyc{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.potions__chance-icon--money.svelte-mjimyc,.potions__price-icon--money.svelte-mjimyc{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.potions__chance-icon--money.svelte-mjimyc,.potions__price-icon--money.svelte-mjimyc{font-size:calc(0.0057291667 * 100vw + 0px)}}");
}

// (2471:28) {#if !isEmpty($firstPotion)}
function potions_index_svelte_create_if_block_4(ctx) {
	let img;
	let img_src_value;
	let t0;
	let div;
	let t1_value = `${/*$firstPotion*/ ctx[2].lvl || 0} lvl` + "";
	let t1;

	return {
		c() {
			img = internal_element("img");
			t0 = space();
			div = internal_element("div");
			t1 = internal_text(t1_value);
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*$firstPotion*/ ctx[2].item}.webp`)) attr(img, "src", img_src_value);
			attr(img, "class", "potions__ingredient-item-image svelte-mjimyc");
			attr(img, "alt", "icon");
			attr(div, "class", "potions__ingredient-item-amount svelte-mjimyc");
		},
		m(target, anchor) {
			insert(target, img, anchor);
			insert(target, t0, anchor);
			insert(target, div, anchor);
			append(div, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*$firstPotion*/ 4 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*$firstPotion*/ ctx[2].item}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*$firstPotion*/ 4 && t1_value !== (t1_value = `${/*$firstPotion*/ ctx[2].lvl || 0} lvl` + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(img);
			if (detaching) detach(t0);
			if (detaching) detach(div);
		}
	};
}

// (2491:87) 
function potions_index_svelte_create_if_block_3(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*$firstPotion*/ ctx[2].item}.webp`)) attr(img, "src", img_src_value);
			attr(img, "class", "potions__ingredient-item-image potions__ingredient-item-image--placeholder svelte-mjimyc");
			attr(img, "alt", "icon");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*$firstPotion*/ 4 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*$firstPotion*/ ctx[2].item}.webp`)) {
				attr(img, "src", img_src_value);
			}
		},
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (2489:28) {#if !isEmpty($secondPotion)}
function potions_index_svelte_create_if_block_2(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*$secondPotion*/ ctx[1].item}.webp`)) attr(img, "src", img_src_value);
			attr(img, "class", "potions__ingredient-item-image svelte-mjimyc");
			attr(img, "alt", "icon");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*$secondPotion*/ 2 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*$secondPotion*/ ctx[1].item}.webp`)) {
				attr(img, "src", img_src_value);
			}
		},
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (2501:12) {#if !isEmpty($firstPotion)}
function potions_index_svelte_create_if_block_1(ctx) {
	let div;
	let t_value = /*$firstPotion*/ ctx[2].lvl + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "potions__current-counter svelte-mjimyc");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*$firstPotion*/ 4 && t_value !== (t_value = /*$firstPotion*/ ctx[2].lvl + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (2511:12) {#if !isEmpty($firstPotion) && $firstPotion.lvl < MAX_ENCHANT_LEVEL}
function potions_index_svelte_create_if_block(ctx) {
	let div;
	let t_value = /*$firstPotion*/ ctx[2].lvl + 1 + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "potions__next-counter svelte-mjimyc");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*$firstPotion*/ 4 && t_value !== (t_value = /*$firstPotion*/ ctx[2].lvl + 1 + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function potions_index_svelte_create_fragment(ctx) {
	let div34;
	let div18;
	let div14;
	let div0;
	let div0_class_value;
	let t0;
	let div3;
	let t4;
	let div13;
	let div12;
	let div5;
	let t5;
	let div8;
	let div6;
	let show_if_4 = !(0,lodash.isEmpty)(/*$firstPotion*/ ctx[2]);
	let t6;
	let div7;
	let t8;
	let div11;
	let div9;
	let show_if_2;
	let show_if_3;
	let t9;
	let div10;
	let t11;
	let div17;
	let show_if_1 = !(0,lodash.isEmpty)(/*$firstPotion*/ ctx[2]);
	let t12;
	let div16;
	let div15;
	let t13;
	let show_if = !(0,lodash.isEmpty)(/*$firstPotion*/ ctx[2]) && /*$firstPotion*/ ctx[2].lvl < constants_MAX_ENCHANT_LEVEL;
	let t14;
	let div33;
	let div19;
	let inventorybutton0;
	let t15;
	let div25;
	let div24;
	let div20;
	let t17;
	let div23;
	let div21;

	let t18_value = (/*$additionalInfo*/ ctx[10].chance
	? /*$additionalInfo*/ ctx[10].chance
	: 0) + "";

	let t18;
	let t19;
	let div22;
	let t21;
	let div31;
	let div30;
	let div26;
	let t23;
	let div29;
	let div27;

	let t24_value = (/*$additionalInfo*/ ctx[10].cost
	? formatMoney(/*$additionalInfo*/ ctx[10].cost)
	: 0) + "";

	let t24;
	let t25;
	let div28;
	let t27;
	let div32;
	let inventorybutton1;
	let current;
	let mounted;
	let dispose;
	let if_block0 = show_if_4 && potions_index_svelte_create_if_block_4(ctx);

	function select_block_type(ctx, dirty) {
		if (dirty & /*$secondPotion*/ 2) show_if_2 = null;
		if (dirty & /*$firstPotion, $secondPotion*/ 6) show_if_3 = null;
		if (show_if_2 == null) show_if_2 = !!!(0,lodash.isEmpty)(/*$secondPotion*/ ctx[1]);
		if (show_if_2) return potions_index_svelte_create_if_block_2;
		if (show_if_3 == null) show_if_3 = !!(!(0,lodash.isEmpty)(/*$firstPotion*/ ctx[2]) && (0,lodash.isEmpty)(/*$secondPotion*/ ctx[1]));
		if (show_if_3) return potions_index_svelte_create_if_block_3;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block1 = current_block_type && current_block_type(ctx);
	let if_block2 = show_if_1 && potions_index_svelte_create_if_block_1(ctx);
	let if_block3 = show_if && potions_index_svelte_create_if_block(ctx);

	inventorybutton0 = new inventory_button_index_svelte({
			props: {
				text: 'Информация',
				color: 'grey',
				onClick: /*func*/ ctx[24]
			}
		});

	inventorybutton1 = new inventory_button_index_svelte({
			props: {
				text: 'Улучшить зелье',
				onClick: /*start*/ ctx[14],
				disabled: !/*$additionalInfo*/ ctx[10].available || /*disabledButton*/ ctx[5],
				color: 'yellow'
			}
		});

	return {
		c() {
			div34 = internal_element("div");
			div18 = internal_element("div");
			div14 = internal_element("div");
			div0 = internal_element("div");
			t0 = space();
			div3 = internal_element("div");

			div3.innerHTML = `<div class="potions__title svelte-mjimyc">Улучшение зелий</div> 
                <div class="potions__caption svelte-mjimyc">Перенесите два одинаковых зелья в ячейки</div>`;

			t4 = space();
			div13 = internal_element("div");
			div12 = internal_element("div");
			div5 = internal_element("div");
			div5.innerHTML = `<div class="potions__ingredient-item potions__ingredient-item--lock svelte-mjimyc"><i class="potions__lock-icon ui-lock svelte-mjimyc"></i></div>`;
			t5 = space();
			div8 = internal_element("div");
			div6 = internal_element("div");
			if (if_block0) if_block0.c();
			t6 = space();
			div7 = internal_element("div");
			div7.textContent = "Зелье";
			t8 = space();
			div11 = internal_element("div");
			div9 = internal_element("div");
			if (if_block1) if_block1.c();
			t9 = space();
			div10 = internal_element("div");
			div10.textContent = "Зелье";
			t11 = space();
			div17 = internal_element("div");
			if (if_block2) if_block2.c();
			t12 = space();
			div16 = internal_element("div");
			div15 = internal_element("div");
			t13 = space();
			if (if_block3) if_block3.c();
			t14 = space();
			div33 = internal_element("div");
			div19 = internal_element("div");
			create_component(inventorybutton0.$$.fragment);
			t15 = space();
			div25 = internal_element("div");
			div24 = internal_element("div");
			div20 = internal_element("div");
			div20.textContent = "Шанс успеха";
			t17 = space();
			div23 = internal_element("div");
			div21 = internal_element("div");
			t18 = internal_text(t18_value);
			t19 = space();
			div22 = internal_element("div");
			div22.textContent = "%";
			t21 = space();
			div31 = internal_element("div");
			div30 = internal_element("div");
			div26 = internal_element("div");
			div26.textContent = "Стоимость";
			t23 = space();
			div29 = internal_element("div");
			div27 = internal_element("div");
			t24 = internal_text(t24_value);
			t25 = space();
			div28 = internal_element("div");
			div28.textContent = "$";
			t27 = space();
			div32 = internal_element("div");
			create_component(inventorybutton1.$$.fragment);
			attr(div0, "class", div0_class_value = "potions__gradient potions__gradient--" + /*resultClass*/ ctx[7] + " svelte-mjimyc");
			attr(div3, "class", "potions__title-wrapper svelte-mjimyc");
			attr(div5, "class", "potions__ingredient svelte-mjimyc");
			attr(div6, "class", "potions__ingredient-item potions__ingredient-item--big svelte-mjimyc");
			toggle_class(div6, "potions__ingredient-item--highlight", /*firstPotionHighlight*/ ctx[8]);
			attr(div7, "class", "potions__ingredient-caption svelte-mjimyc");
			attr(div8, "class", "potions__ingredient svelte-mjimyc");
			attr(div9, "class", "potions__ingredient-item svelte-mjimyc");
			toggle_class(div9, "potions__ingredient-item--highlight", /*secondPotionHighlight*/ ctx[9]);
			attr(div10, "class", "potions__ingredient-caption svelte-mjimyc");
			attr(div11, "class", "potions__ingredient svelte-mjimyc");
			attr(div12, "class", "potions__ingredients svelte-mjimyc");
			attr(div13, "class", "potions__ingredients svelte-mjimyc");
			attr(div14, "class", "potions__gradient-wrapper svelte-mjimyc");
			attr(div15, "class", "potions__progress-bar-current svelte-mjimyc");
			set_style(div15, "--transition-time", `${/*transitionTime*/ ctx[0]}ms`);
			toggle_class(div15, "potions__progress-bar-current--filled", /*progressFilled*/ ctx[6]);
			attr(div16, "class", "potions__progress-bar svelte-mjimyc");
			attr(div17, "class", "potions__progress-wrapper svelte-mjimyc");
			attr(div18, "class", "potions__main-info svelte-mjimyc");
			attr(div19, "class", "potions__menu-item svelte-mjimyc");
			attr(div20, "class", "potions__chance-caption svelte-mjimyc");
			attr(div21, "class", "potions__chance-value svelte-mjimyc");
			attr(div22, "class", "potions__chance-icon svelte-mjimyc");
			attr(div23, "class", "potions__chance-value-wrapper svelte-mjimyc");
			attr(div24, "class", "potions__chance svelte-mjimyc");
			attr(div25, "class", "potions__menu-item svelte-mjimyc");
			attr(div26, "class", "potions__price-caption svelte-mjimyc");
			attr(div27, "class", "potions__price-value svelte-mjimyc");
			attr(div28, "class", "potions__price-icon potions__price-icon--money svelte-mjimyc");
			attr(div29, "class", "potions__price-value-wrapper svelte-mjimyc");
			attr(div30, "class", "potions__price svelte-mjimyc");
			attr(div31, "class", "potions__menu-item svelte-mjimyc");
			attr(div32, "class", "potions__menu-item svelte-mjimyc");
			toggle_class(div32, "potions__menu-item--button", /*$additionalInfo*/ ctx[10].available || /*disabledButton*/ ctx[5]);
			attr(div33, "class", "potions__menu-panel svelte-mjimyc");
			attr(div34, "class", "potions svelte-mjimyc");
		},
		m(target, anchor) {
			insert(target, div34, anchor);
			append(div34, div18);
			append(div18, div14);
			append(div14, div0);
			append(div14, t0);
			append(div14, div3);
			append(div14, t4);
			append(div14, div13);
			append(div13, div12);
			append(div12, div5);
			append(div12, t5);
			append(div12, div8);
			append(div8, div6);
			if (if_block0) if_block0.m(div6, null);
			append(div8, t6);
			append(div8, div7);
			append(div12, t8);
			append(div12, div11);
			append(div11, div9);
			if (if_block1) if_block1.m(div9, null);
			append(div11, t9);
			append(div11, div10);
			append(div18, t11);
			append(div18, div17);
			if (if_block2) if_block2.m(div17, null);
			append(div17, t12);
			append(div17, div16);
			append(div16, div15);
			append(div17, t13);
			if (if_block3) if_block3.m(div17, null);
			append(div34, t14);
			append(div34, div33);
			append(div33, div19);
			mount_component(inventorybutton0, div19, null);
			append(div33, t15);
			append(div33, div25);
			append(div25, div24);
			append(div24, div20);
			append(div24, t17);
			append(div24, div23);
			append(div23, div21);
			append(div21, t18);
			append(div23, t19);
			append(div23, div22);
			append(div33, t21);
			append(div33, div31);
			append(div31, div30);
			append(div30, div26);
			append(div30, t23);
			append(div30, div29);
			append(div29, div27);
			append(div27, t24);
			append(div29, t25);
			append(div29, div28);
			append(div33, t27);
			append(div33, div32);
			mount_component(inventorybutton1, div32, null);
			current = true;

			if (!mounted) {
				dispose = [
					listen(div8, "mouseenter", /*mouseenter_handler*/ ctx[19]),
					listen(div8, "mouseleave", /*mouseleave_handler*/ ctx[20]),
					listen(div8, "mouseup", /*handleMouseUp*/ ctx[11]),
					listen(div8, "click", /*click_handler*/ ctx[21]),
					listen(div11, "mouseenter", /*mouseenter_handler_1*/ ctx[22]),
					listen(div11, "mouseleave", /*mouseleave_handler_1*/ ctx[23]),
					listen(div11, "mouseup", /*handleMouseUp*/ ctx[11]),
					listen(div11, "click", /*clearSecondPotion*/ ctx[13])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (!current || dirty & /*resultClass*/ 128 && div0_class_value !== (div0_class_value = "potions__gradient potions__gradient--" + /*resultClass*/ ctx[7] + " svelte-mjimyc")) {
				attr(div0, "class", div0_class_value);
			}

			if (dirty & /*$firstPotion*/ 4) show_if_4 = !(0,lodash.isEmpty)(/*$firstPotion*/ ctx[2]);

			if (show_if_4) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = potions_index_svelte_create_if_block_4(ctx);
					if_block0.c();
					if_block0.m(div6, null);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty & /*firstPotionHighlight*/ 256) {
				toggle_class(div6, "potions__ingredient-item--highlight", /*firstPotionHighlight*/ ctx[8]);
			}

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block1) {
				if_block1.p(ctx, dirty);
			} else {
				if (if_block1) if_block1.d(1);
				if_block1 = current_block_type && current_block_type(ctx);

				if (if_block1) {
					if_block1.c();
					if_block1.m(div9, null);
				}
			}

			if (dirty & /*secondPotionHighlight*/ 512) {
				toggle_class(div9, "potions__ingredient-item--highlight", /*secondPotionHighlight*/ ctx[9]);
			}

			if (dirty & /*$firstPotion*/ 4) show_if_1 = !(0,lodash.isEmpty)(/*$firstPotion*/ ctx[2]);

			if (show_if_1) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = potions_index_svelte_create_if_block_1(ctx);
					if_block2.c();
					if_block2.m(div17, t12);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			if (!current || dirty & /*transitionTime*/ 1) {
				set_style(div15, "--transition-time", `${/*transitionTime*/ ctx[0]}ms`);
			}

			if (dirty & /*progressFilled*/ 64) {
				toggle_class(div15, "potions__progress-bar-current--filled", /*progressFilled*/ ctx[6]);
			}

			if (dirty & /*$firstPotion*/ 4) show_if = !(0,lodash.isEmpty)(/*$firstPotion*/ ctx[2]) && /*$firstPotion*/ ctx[2].lvl < constants_MAX_ENCHANT_LEVEL;

			if (show_if) {
				if (if_block3) {
					if_block3.p(ctx, dirty);
				} else {
					if_block3 = potions_index_svelte_create_if_block(ctx);
					if_block3.c();
					if_block3.m(div17, null);
				}
			} else if (if_block3) {
				if_block3.d(1);
				if_block3 = null;
			}

			if ((!current || dirty & /*$additionalInfo*/ 1024) && t18_value !== (t18_value = (/*$additionalInfo*/ ctx[10].chance
			? /*$additionalInfo*/ ctx[10].chance
			: 0) + "")) set_data(t18, t18_value);

			if ((!current || dirty & /*$additionalInfo*/ 1024) && t24_value !== (t24_value = (/*$additionalInfo*/ ctx[10].cost
			? formatMoney(/*$additionalInfo*/ ctx[10].cost)
			: 0) + "")) set_data(t24, t24_value);

			const inventorybutton1_changes = {};
			if (dirty & /*$additionalInfo, disabledButton*/ 1056) inventorybutton1_changes.disabled = !/*$additionalInfo*/ ctx[10].available || /*disabledButton*/ ctx[5];
			inventorybutton1.$set(inventorybutton1_changes);

			if (dirty & /*$additionalInfo, disabledButton*/ 1056) {
				toggle_class(div32, "potions__menu-item--button", /*$additionalInfo*/ ctx[10].available || /*disabledButton*/ ctx[5]);
			}
		},
		i(local) {
			if (current) return;
			transition_in(inventorybutton0.$$.fragment, local);
			transition_in(inventorybutton1.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(inventorybutton0.$$.fragment, local);
			transition_out(inventorybutton1.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div34);
			if (if_block0) if_block0.d();

			if (if_block1) {
				if_block1.d();
			}

			if (if_block2) if_block2.d();
			if (if_block3) if_block3.d();
			destroy_component(inventorybutton0);
			destroy_component(inventorybutton1);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function potions_index_svelte_instance($$self, $$props, $$invalidate) {
	let $potionsResult;
	let $potionsTimer;
	let $secondPotion;
	let $firstPotion;
	let $potionsOpened;
	let $inventories;
	let $inventoryCurrentItem;
	let $additionalInfo;
	component_subscribe($$self, potionsResult, $$value => $$invalidate(15, $potionsResult = $$value));
	component_subscribe($$self, potionsTimer, $$value => $$invalidate(16, $potionsTimer = $$value));
	component_subscribe($$self, secondPotion, $$value => $$invalidate(1, $secondPotion = $$value));
	component_subscribe($$self, firstPotion, $$value => $$invalidate(2, $firstPotion = $$value));
	component_subscribe($$self, potionsOpened, $$value => $$invalidate(26, $potionsOpened = $$value));
	component_subscribe($$self, inventories, $$value => $$invalidate(17, $inventories = $$value));
	component_subscribe($$self, inventoryCurrentItem, $$value => $$invalidate(18, $inventoryCurrentItem = $$value));
	component_subscribe($$self, additionalInfo, $$value => $$invalidate(10, $additionalInfo = $$value));
	let firstPotionHovered = false;
	let secondPotionHovered = false;
	let disabledButton = false;
	let progressFilled = false;
	let resultClass = '';
	let potionProperties = { index: -1, left: -1, right: -1 };
	let transitionTime = -1;
	let firstPotionHighlight = false;
	let secondPotionHighlight = 1;
	set_store_value(potionsOpened, $potionsOpened = true, $potionsOpened);
	set_store_value(firstPotion, $firstPotion = {}, $firstPotion);
	set_store_value(secondPotion, $secondPotion = {}, $secondPotion);
	set_store_value(potionsTimer, $potionsTimer = -1, $potionsTimer);
	set_store_value(potionsResult, $potionsResult = null, $potionsResult);
	transitionTime = 0;
	progressFilled = false;

	setTimeout(
		() => {
			$$invalidate(6, progressFilled = false);
		},
		5
	);

	const handleMouseUp = () => {
		if ((0,lodash.isNil)($inventoryCurrentItem.item)) {
			return;
		}

		if (firstPotionHovered && $inventoryCurrentItem.item.item_type === ITEM_TYPES.ITEM_TYPE_SYRUP_ACTOR) {
			set_store_value(firstPotion, $firstPotion = $inventoryCurrentItem.item, $firstPotion);
			potionProperties.index = $firstPotion.slot;
		}

		if (secondPotionHovered && $inventoryCurrentItem.item.item === $firstPotion.item && $inventoryCurrentItem.item.slot !== $firstPotion.slot || $inventoryCurrentItem.item.slot === $firstPotion.slot && $inventoryCurrentItem.item.amount > 1) {
			set_store_value(secondPotion, $secondPotion = $inventoryCurrentItem.item, $secondPotion);
			potionProperties.right = $secondPotion.slot;
		}
	};

	const clearFirstPotion = () => {
		if ($potionsTimer > 0) {
			return;
		}

		set_store_value(firstPotion, $firstPotion = {}, $firstPotion);
		set_store_value(secondPotion, $secondPotion = {}, $secondPotion);
		potionProperties = { index: -1, left: -1, right: -1 };
	};

	const clearSecondPotion = () => {
		if ($potionsTimer > 0) {
			return;
		}

		set_store_value(secondPotion, $secondPotion = {}, $secondPotion);
		potionProperties.right = -1;
	};

	const start = () => {
		if (disabledButton) {
			return;
		}

		sendClientMessage('startPotionUpgrade');
	};

	const sendUpdateMessage = () => {
		sendClientMessage('updatePotionSlots', JSON.stringify(potionProperties));
	};

	onDestroy(() => {
		$inventories[BLOCK_TYPE.BLOCK_TYPE_MENU].forEach((item, index) => {
			set_store_value(inventories, $inventories[BLOCK_TYPE.BLOCK_TYPE_MENU][index].available = true, $inventories);
		});

		set_store_value(potionsOpened, $potionsOpened = false, $potionsOpened);
		set_store_value(firstPotion, $firstPotion = {}, $firstPotion);
		set_store_value(secondPotion, $secondPotion = {}, $secondPotion);
		set_store_value(potionsTimer, $potionsTimer = -1, $potionsTimer);
		set_store_value(potionsResult, $potionsResult = null, $potionsResult);
		$$invalidate(6, progressFilled = false);
		$$invalidate(0, transitionTime = 0);
	});

	const mouseenter_handler = () => {
		$$invalidate(3, firstPotionHovered = true);
	};

	const mouseleave_handler = () => {
		$$invalidate(3, firstPotionHovered = false);
	};

	const click_handler = () => clearFirstPotion();

	const mouseenter_handler_1 = () => {
		$$invalidate(4, secondPotionHovered = true);
	};

	const mouseleave_handler_1 = () => {
		$$invalidate(4, secondPotionHovered = false);
	};

	const func = () => sendClientMessage('potions.info');

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*$potionsTimer, transitionTime*/ 65537) {
			$: {
				if ($potionsTimer > 0) {
					$$invalidate(5, disabledButton = true);
					$$invalidate(0, transitionTime = $potionsTimer - moment_default()().unix() - 150);

					setTimeout(
						() => {
							$$invalidate(6, progressFilled = true);
						},
						25
					);

					setTimeout(
						() => {
							$$invalidate(6, progressFilled = false);
							$$invalidate(5, disabledButton = false);
							set_store_value(potionsTimer, $potionsTimer = -1, $potionsTimer);
							$$invalidate(0, transitionTime = 0);
						},
						transitionTime
					);
				}
			}
		}

		if ($$self.$$.dirty & /*$potionsResult, $firstPotion, $inventories, $secondPotion*/ 163846) {
			$: {
				if (!(0,lodash.isNil)($potionsResult)) {
					if (!(0,lodash.isEmpty)($firstPotion)) {
						set_store_value(firstPotion, $firstPotion = $inventories[BLOCK_TYPE.BLOCK_TYPE_MENU][$firstPotion.slot], $firstPotion);
					}

					if (!(0,lodash.isEmpty)($secondPotion)) {
						set_store_value(
							secondPotion,
							$secondPotion = $secondPotion.amount > 0
							? $inventories[BLOCK_TYPE.BLOCK_TYPE_MENU][$secondPotion.slot]
							: {},
							$secondPotion
						);
					}

					setTimeout(
						() => {
							$$invalidate(7, resultClass = $potionsResult === 1 ? 'green' : 'red');
						},
						370
					);

					setTimeout(
						() => {
							set_store_value(potionsResult, $potionsResult = null, $potionsResult);
							$$invalidate(7, resultClass = '');
						},
						2400
					);
				}
			}
		}

		if ($$self.$$.dirty & /*$inventoryCurrentItem, $firstPotion*/ 262148) {
			$: {
				if (!(0,lodash.isEmpty)($inventoryCurrentItem) && $inventoryCurrentItem.status === DndStatuses.Drag) {
					if ($inventoryCurrentItem.item.item_type === ITEM_TYPES.ITEM_TYPE_SYRUP_ACTOR && (0,lodash.isEmpty)($firstPotion)) {
						$$invalidate(8, firstPotionHighlight = true);
					} else if ($inventoryCurrentItem.item.item === $firstPotion.item && $inventoryCurrentItem.item.item_type === ITEM_TYPES.ITEM_TYPE_SYRUP_ACTOR && $inventoryCurrentItem.item.slot !== $firstPotion.slot || $inventoryCurrentItem.item.slot === $firstPotion.slot && $inventoryCurrentItem.item.amount > 1) {
						$$invalidate(9, secondPotionHighlight = true);
					}
				} else {
					$$invalidate(8, firstPotionHighlight = false);
					$$invalidate(9, secondPotionHighlight = false);
				}
			}
		}

		if ($$self.$$.dirty & /*$potionsTimer, $firstPotion, $secondPotion*/ 65542) {
			$: {
				if ($potionsTimer < 0) {
					potionProperties.index = (0,lodash.isEmpty)($firstPotion) ? -1 : $firstPotion.slot;
					potionProperties.right = (0,lodash.isEmpty)($secondPotion) ? -1 : $secondPotion.slot;
					sendUpdateMessage();
				}
			}
		}
	};

	return [
		transitionTime,
		$secondPotion,
		$firstPotion,
		firstPotionHovered,
		secondPotionHovered,
		disabledButton,
		progressFilled,
		resultClass,
		firstPotionHighlight,
		secondPotionHighlight,
		$additionalInfo,
		handleMouseUp,
		clearFirstPotion,
		clearSecondPotion,
		start,
		$potionsResult,
		$potionsTimer,
		$inventories,
		$inventoryCurrentItem,
		mouseenter_handler,
		mouseleave_handler,
		click_handler,
		mouseenter_handler_1,
		mouseleave_handler_1,
		func
	];
}

class Potions extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, potions_index_svelte_instance, potions_index_svelte_create_fragment, safe_not_equal, {}, potions_index_svelte_add_css);
	}
}

/* harmony default export */ const potions_index_svelte = (Potions);
;// CONCATENATED MODULE: ./src/views/inventory/index.svelte
/* src\views\inventory\index.svelte generated by Svelte v3.49.0 */























function inventory_index_svelte_add_css(target) {
	append_styles(target, "svelte-94pcmp", "@keyframes svelte-94pcmp-blinking{50%{opacity:0}}@keyframes svelte-94pcmp-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-94pcmp-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-94pcmp-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-94pcmp-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-94pcmp-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-94pcmp-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-94pcmp-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-94pcmp-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-94pcmp-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-94pcmp-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-94pcmp-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-94pcmp-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-94pcmp-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-94pcmp-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.inventory.svelte-94pcmp{position:absolute;width:100%;height:100vh;pointer-events:none;background-size:cover;top:0;left:0;z-index:-1}.inventory__main-inventory-wrapper.svelte-94pcmp{position:absolute;top:calc(0.0328125 * 100vw + 0px);left:calc(0.640625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory__main-inventory-wrapper.svelte-94pcmp{top:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory__main-inventory-wrapper.svelte-94pcmp{top:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory__main-inventory-wrapper.svelte-94pcmp{top:calc(0.025265625 * 100vw + 0px)}}@media(min-width: 3440px){.inventory__main-inventory-wrapper.svelte-94pcmp{top:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory__main-inventory-wrapper.svelte-94pcmp{top:calc(0.02296875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory__main-inventory-wrapper.svelte-94pcmp{top:calc(0.02953125 * 100vw + 0px)}}@media(min-width: 4096px){.inventory__main-inventory-wrapper.svelte-94pcmp{top:calc(0.03609375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory__main-inventory-wrapper.svelte-94pcmp{left:calc(0.640625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory__main-inventory-wrapper.svelte-94pcmp{left:calc(0.640625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory__main-inventory-wrapper.svelte-94pcmp{left:calc(0.49328125 * 100vw + 0px)}}@media(min-width: 3440px){.inventory__main-inventory-wrapper.svelte-94pcmp{left:calc(0.7046875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory__main-inventory-wrapper.svelte-94pcmp{left:calc(0.4484375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory__main-inventory-wrapper.svelte-94pcmp{left:calc(0.5765625 * 100vw + 0px)}}@media(min-width: 4096px){.inventory__main-inventory-wrapper.svelte-94pcmp{left:calc(0.7046875 * 100vw + 0px)}}.inventory__character-wrapper.svelte-94pcmp{position:absolute;top:calc(0.0338541667 * 100vw + 0px);left:calc(0.375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory__character-wrapper.svelte-94pcmp{top:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory__character-wrapper.svelte-94pcmp{top:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory__character-wrapper.svelte-94pcmp{top:calc(0.0260677083 * 100vw + 0px)}}@media(min-width: 3440px){.inventory__character-wrapper.svelte-94pcmp{top:calc(0.0372395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory__character-wrapper.svelte-94pcmp{top:calc(0.0236979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory__character-wrapper.svelte-94pcmp{top:calc(0.03046875 * 100vw + 0px)}}@media(min-width: 4096px){.inventory__character-wrapper.svelte-94pcmp{top:calc(0.0372395833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory__character-wrapper.svelte-94pcmp{left:calc(0.375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory__character-wrapper.svelte-94pcmp{left:calc(0.375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory__character-wrapper.svelte-94pcmp{left:calc(0.28875 * 100vw + 0px)}}@media(min-width: 3440px){.inventory__character-wrapper.svelte-94pcmp{left:calc(0.4125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory__character-wrapper.svelte-94pcmp{left:calc(0.2625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory__character-wrapper.svelte-94pcmp{left:calc(0.3375 * 100vw + 0px)}}@media(min-width: 4096px){.inventory__character-wrapper.svelte-94pcmp{left:calc(0.4125 * 100vw + 0px)}}.inventory__wallet-wrapper.svelte-94pcmp{position:absolute;top:calc(0.1640625 * 100vw + 0px);left:calc(0.0390625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory__wallet-wrapper.svelte-94pcmp{top:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory__wallet-wrapper.svelte-94pcmp{top:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory__wallet-wrapper.svelte-94pcmp{top:calc(0.126328125 * 100vw + 0px)}}@media(min-width: 3440px){.inventory__wallet-wrapper.svelte-94pcmp{top:calc(0.18046875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory__wallet-wrapper.svelte-94pcmp{top:calc(0.11484375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory__wallet-wrapper.svelte-94pcmp{top:calc(0.14765625 * 100vw + 0px)}}@media(min-width: 4096px){.inventory__wallet-wrapper.svelte-94pcmp{top:calc(0.18046875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory__wallet-wrapper.svelte-94pcmp{left:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory__wallet-wrapper.svelte-94pcmp{left:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory__wallet-wrapper.svelte-94pcmp{left:calc(0.030078125 * 100vw + 0px)}}@media(min-width: 3440px){.inventory__wallet-wrapper.svelte-94pcmp{left:calc(0.04296875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory__wallet-wrapper.svelte-94pcmp{left:calc(0.02734375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory__wallet-wrapper.svelte-94pcmp{left:calc(0.03515625 * 100vw + 0px)}}@media(min-width: 4096px){.inventory__wallet-wrapper.svelte-94pcmp{left:calc(0.04296875 * 100vw + 0px)}}.inventory__shop-wrapper.svelte-94pcmp{position:absolute;top:calc(0.0328125 * 100vw + 0px);left:calc(0.375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory__shop-wrapper.svelte-94pcmp{top:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory__shop-wrapper.svelte-94pcmp{top:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory__shop-wrapper.svelte-94pcmp{top:calc(0.025265625 * 100vw + 0px)}}@media(min-width: 3440px){.inventory__shop-wrapper.svelte-94pcmp{top:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory__shop-wrapper.svelte-94pcmp{top:calc(0.02296875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory__shop-wrapper.svelte-94pcmp{top:calc(0.02953125 * 100vw + 0px)}}@media(min-width: 4096px){.inventory__shop-wrapper.svelte-94pcmp{top:calc(0.03609375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory__shop-wrapper.svelte-94pcmp{left:calc(0.375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory__shop-wrapper.svelte-94pcmp{left:calc(0.375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory__shop-wrapper.svelte-94pcmp{left:calc(0.28875 * 100vw + 0px)}}@media(min-width: 3440px){.inventory__shop-wrapper.svelte-94pcmp{left:calc(0.4125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory__shop-wrapper.svelte-94pcmp{left:calc(0.2625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory__shop-wrapper.svelte-94pcmp{left:calc(0.3375 * 100vw + 0px)}}@media(min-width: 4096px){.inventory__shop-wrapper.svelte-94pcmp{left:calc(0.4125 * 100vw + 0px)}}.inventory__trade-wrapper.svelte-94pcmp{position:absolute;width:auto;top:calc(0.0328125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory__trade-wrapper.svelte-94pcmp{top:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory__trade-wrapper.svelte-94pcmp{top:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory__trade-wrapper.svelte-94pcmp{top:calc(0.025265625 * 100vw + 0px)}}@media(min-width: 3440px){.inventory__trade-wrapper.svelte-94pcmp{top:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory__trade-wrapper.svelte-94pcmp{top:calc(0.02296875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory__trade-wrapper.svelte-94pcmp{top:calc(0.02953125 * 100vw + 0px)}}@media(min-width: 4096px){.inventory__trade-wrapper.svelte-94pcmp{top:calc(0.03609375 * 100vw + 0px)}}.inventory__workshop-wrapper.svelte-94pcmp{position:absolute;width:auto;left:calc(0.375 * 100vw + 0px);top:calc(0.0328125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.inventory__workshop-wrapper.svelte-94pcmp{left:calc(0.375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory__workshop-wrapper.svelte-94pcmp{left:calc(0.375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory__workshop-wrapper.svelte-94pcmp{left:calc(0.28875 * 100vw + 0px)}}@media(min-width: 3440px){.inventory__workshop-wrapper.svelte-94pcmp{left:calc(0.4125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory__workshop-wrapper.svelte-94pcmp{left:calc(0.2625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory__workshop-wrapper.svelte-94pcmp{left:calc(0.3375 * 100vw + 0px)}}@media(min-width: 4096px){.inventory__workshop-wrapper.svelte-94pcmp{left:calc(0.4125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.inventory__workshop-wrapper.svelte-94pcmp{top:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.inventory__workshop-wrapper.svelte-94pcmp{top:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.inventory__workshop-wrapper.svelte-94pcmp{top:calc(0.025265625 * 100vw + 0px)}}@media(min-width: 3440px){.inventory__workshop-wrapper.svelte-94pcmp{top:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.inventory__workshop-wrapper.svelte-94pcmp{top:calc(0.02296875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.inventory__workshop-wrapper.svelte-94pcmp{top:calc(0.02953125 * 100vw + 0px)}}@media(min-width: 4096px){.inventory__workshop-wrapper.svelte-94pcmp{top:calc(0.03609375 * 100vw + 0px)}}");
}

// (796:0) {#if characterVisible}
function inventory_index_svelte_create_if_block_8(ctx) {
	let div;
	let inventorywindow;
	let current;

	inventorywindow = new inventory_window_index_svelte({
			props: {
				title: /*$characterInventorySelectedTab*/ ctx[12] === constants_NavigationTabs.Warehouse
				? MAP_WAREHOUSE_TO_NAME[/*$warehouseTypeId*/ ctx[13]]
				: MAP_TAB_ID_TO_NAME[/*$characterInventorySelectedTab*/ ctx[12]],
				headerIcon: MAP_TAB_ID_TO_ICON[/*$characterInventorySelectedTab*/ ctx[12]],
				onClose: /*closeInventory*/ ctx[19],
				inventoryId: 'character',
				selectedWindow: /*selectedWindow*/ ctx[11],
				windowId: WindowsIds.Character,
				onFocus: /*func*/ ctx[24],
				exitButtonVisibility: false,
				sortingButtonVisibility: false,
				moneyButtonVisibility: /*$warehouseMoney*/ ctx[14] >= 0 && /*$characterInventorySelectedTab*/ ctx[12] === constants_NavigationTabs.Warehouse,
				$$slots: { default: [create_default_slot_8] },
				$$scope: { ctx }
			}
		});

	return {
		c() {
			div = internal_element("div");
			create_component(inventorywindow.$$.fragment);
			attr(div, "class", "inventory__character-wrapper svelte-94pcmp");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(inventorywindow, div, null);
			current = true;
		},
		p(ctx, dirty) {
			const inventorywindow_changes = {};

			if (dirty[0] & /*$characterInventorySelectedTab, $warehouseTypeId*/ 12288) inventorywindow_changes.title = /*$characterInventorySelectedTab*/ ctx[12] === constants_NavigationTabs.Warehouse
			? MAP_WAREHOUSE_TO_NAME[/*$warehouseTypeId*/ ctx[13]]
			: MAP_TAB_ID_TO_NAME[/*$characterInventorySelectedTab*/ ctx[12]];

			if (dirty[0] & /*$characterInventorySelectedTab*/ 4096) inventorywindow_changes.headerIcon = MAP_TAB_ID_TO_ICON[/*$characterInventorySelectedTab*/ ctx[12]];
			if (dirty[0] & /*selectedWindow*/ 2048) inventorywindow_changes.selectedWindow = /*selectedWindow*/ ctx[11];
			if (dirty[0] & /*$warehouseMoney, $characterInventorySelectedTab*/ 20480) inventorywindow_changes.moneyButtonVisibility = /*$warehouseMoney*/ ctx[14] >= 0 && /*$characterInventorySelectedTab*/ ctx[12] === constants_NavigationTabs.Warehouse;

			if (dirty[1] & /*$$scope*/ 4194304) {
				inventorywindow_changes.$$scope = { dirty, ctx };
			}

			inventorywindow.$set(inventorywindow_changes);
		},
		i(local) {
			if (current) return;
			transition_in(inventorywindow.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(inventorywindow.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(inventorywindow);
		}
	};
}

// (798:8) <InventoryWindow              title={$characterInventorySelectedTab === NavigationTabs.Warehouse              ? MAP_WAREHOUSE_TO_NAME[$warehouseTypeId] : MAP_TAB_ID_TO_NAME[$characterInventorySelectedTab]}              headerIcon={MAP_TAB_ID_TO_ICON[$characterInventorySelectedTab]}              onClose={closeInventory}              inventoryId={'character'}              selectedWindow={selectedWindow}              windowId={WindowsIds.Character}              onFocus={() => setPriority(WindowsIds.Character)}              exitButtonVisibility={false}              sortingButtonVisibility={false}              moneyButtonVisibility={$warehouseMoney >= 0 && $characterInventorySelectedTab === NavigationTabs.Warehouse}          >
function create_default_slot_8(ctx) {
	let character;
	let current;
	character = new character_index_svelte({});

	return {
		c() {
			create_component(character.$$.fragment);
		},
		m(target, anchor) {
			mount_component(character, target, anchor);
			current = true;
		},
		i(local) {
			if (current) return;
			transition_in(character.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(character.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(character, detaching);
		}
	};
}

// (816:0) {#if mainInventoryVisible && !isNil($inventories[BLOCK_TYPE.BLOCK_TYPE_MENU])}
function inventory_index_svelte_create_if_block_7(ctx) {
	let div;
	let inventorywindow;
	let current;

	inventorywindow = new inventory_window_index_svelte({
			props: {
				title: 'Инвентарь',
				headerIcon: 'bag',
				onClose: /*closeInventory*/ ctx[19],
				inventoryId: 'main',
				selectedWindow: /*selectedWindow*/ ctx[11],
				windowId: WindowsIds.Main,
				onFocus: /*func_1*/ ctx[25],
				sortingButtonVisibility: true,
				infoButtonEnabled: true,
				$$slots: { default: [create_default_slot_7] },
				$$scope: { ctx }
			}
		});

	return {
		c() {
			div = internal_element("div");
			create_component(inventorywindow.$$.fragment);
			attr(div, "class", "inventory__main-inventory-wrapper svelte-94pcmp");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(inventorywindow, div, null);
			current = true;
		},
		p(ctx, dirty) {
			const inventorywindow_changes = {};
			if (dirty[0] & /*selectedWindow*/ 2048) inventorywindow_changes.selectedWindow = /*selectedWindow*/ ctx[11];

			if (dirty[0] & /*$inventories*/ 1 | dirty[1] & /*$$scope*/ 4194304) {
				inventorywindow_changes.$$scope = { dirty, ctx };
			}

			inventorywindow.$set(inventorywindow_changes);
		},
		i(local) {
			if (current) return;
			transition_in(inventorywindow.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(inventorywindow.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(inventorywindow);
		}
	};
}

// (818:8) <InventoryWindow           title={'Инвентарь'}           headerIcon={'bag'}           onClose={closeInventory}           inventoryId={'main'}           selectedWindow={selectedWindow}           windowId={WindowsIds.Main}           onFocus={() => setPriority(WindowsIds.Main)}           sortingButtonVisibility={true}           infoButtonEnabled          >
function create_default_slot_7(ctx) {
	let inventorymain;
	let current;

	inventorymain = new inventory_main_index_svelte({
			props: {
				inventoryId: BLOCK_TYPE.BLOCK_TYPE_MENU,
				slotsCount: /*$inventories*/ ctx[0][BLOCK_TYPE.BLOCK_TYPE_MENU].length,
				fillWholeColumn: true,
				columnsCount: 6
			}
		});

	return {
		c() {
			create_component(inventorymain.$$.fragment);
		},
		m(target, anchor) {
			mount_component(inventorymain, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const inventorymain_changes = {};
			if (dirty[0] & /*$inventories*/ 1) inventorymain_changes.slotsCount = /*$inventories*/ ctx[0][BLOCK_TYPE.BLOCK_TYPE_MENU].length;
			inventorymain.$set(inventorymain_changes);
		},
		i(local) {
			if (current) return;
			transition_in(inventorymain.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(inventorymain.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(inventorymain, detaching);
		}
	};
}

// (839:0) {#if overviewVisible}
function inventory_index_svelte_create_if_block_6(ctx) {
	let div;
	let inventorywindow;
	let current;

	inventorywindow = new inventory_window_index_svelte({
			props: {
				title: 'Обзор',
				headerIcon: 'character',
				centeredX: true,
				centeredY: true,
				onClose: /*closeInventory*/ ctx[19],
				inventoryId: 'overview',
				$$slots: { default: [create_default_slot_6] },
				$$scope: { ctx }
			}
		});

	return {
		c() {
			div = internal_element("div");
			create_component(inventorywindow.$$.fragment);
			attr(div, "class", "inventory__overview-wrapper");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(inventorywindow, div, null);
			current = true;
		},
		p(ctx, dirty) {
			const inventorywindow_changes = {};

			if (dirty[1] & /*$$scope*/ 4194304) {
				inventorywindow_changes.$$scope = { dirty, ctx };
			}

			inventorywindow.$set(inventorywindow_changes);
		},
		i(local) {
			if (current) return;
			transition_in(inventorywindow.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(inventorywindow.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(inventorywindow);
		}
	};
}

// (841:8) <InventoryWindow title={'Обзор'} headerIcon={'character'} centeredX={true} centeredY={true} onClose={closeInventory} inventoryId={'overview'}>
function create_default_slot_6(ctx) {
	let overview;
	let current;
	overview = new inventory_overview_index_svelte({});

	return {
		c() {
			create_component(overview.$$.fragment);
		},
		m(target, anchor) {
			mount_component(overview, target, anchor);
			current = true;
		},
		i(local) {
			if (current) return;
			transition_in(overview.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(overview.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(overview, detaching);
		}
	};
}

// (847:0) {#if walletVisible && $bagBlockType > -1 && $characterInventorySelectedTab === NavigationTabs.Character}
function inventory_index_svelte_create_if_block_5(ctx) {
	let div;
	let inventorywindow;
	let current;

	inventorywindow = new inventory_window_index_svelte({
			props: {
				title: MAP_BAG_TO_NAME[/*$bagBlockType*/ ctx[15]],
				headerIcon: 'wallet',
				onClose: /*closeWallet*/ ctx[18],
				selectedWindow: /*selectedWindow*/ ctx[11],
				windowId: WindowsIds.Wallet,
				onFocus: /*func_2*/ ctx[26],
				$$slots: { default: [create_default_slot_5] },
				$$scope: { ctx }
			}
		});

	return {
		c() {
			div = internal_element("div");
			create_component(inventorywindow.$$.fragment);
			attr(div, "class", "inventory__wallet-wrapper svelte-94pcmp");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(inventorywindow, div, null);
			current = true;
		},
		p(ctx, dirty) {
			const inventorywindow_changes = {};
			if (dirty[0] & /*$bagBlockType*/ 32768) inventorywindow_changes.title = MAP_BAG_TO_NAME[/*$bagBlockType*/ ctx[15]];
			if (dirty[0] & /*selectedWindow*/ 2048) inventorywindow_changes.selectedWindow = /*selectedWindow*/ ctx[11];

			if (dirty[0] & /*$bagBlockType, $inventories*/ 32769 | dirty[1] & /*$$scope*/ 4194304) {
				inventorywindow_changes.$$scope = { dirty, ctx };
			}

			inventorywindow.$set(inventorywindow_changes);
		},
		i(local) {
			if (current) return;
			transition_in(inventorywindow.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(inventorywindow.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(inventorywindow);
		}
	};
}

// (849:8) <InventoryWindow title={MAP_BAG_TO_NAME[$bagBlockType]} headerIcon={'wallet'} onClose={closeWallet}               selectedWindow={selectedWindow}               windowId={WindowsIds.Wallet}               onFocus={() => setPriority(WindowsIds.Wallet)}>
function create_default_slot_5(ctx) {
	let wallet;
	let current;

	wallet = new components_wallet_index_svelte({
			props: {
				inventoryId: /*$bagBlockType*/ ctx[15],
				slotsCount: /*$inventories*/ ctx[0][/*$bagBlockType*/ ctx[15]].length || 6,
				fillWholeColumn: true,
				columnsCount: 6
			}
		});

	return {
		c() {
			create_component(wallet.$$.fragment);
		},
		m(target, anchor) {
			mount_component(wallet, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const wallet_changes = {};
			if (dirty[0] & /*$bagBlockType*/ 32768) wallet_changes.inventoryId = /*$bagBlockType*/ ctx[15];
			if (dirty[0] & /*$inventories, $bagBlockType*/ 32769) wallet_changes.slotsCount = /*$inventories*/ ctx[0][/*$bagBlockType*/ ctx[15]].length || 6;
			wallet.$set(wallet_changes);
		},
		i(local) {
			if (current) return;
			transition_in(wallet.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(wallet.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(wallet, detaching);
		}
	};
}

// (863:0) {#if shopVisible}
function inventory_index_svelte_create_if_block_4(ctx) {
	let div;
	let inventorywindow;
	let current;

	inventorywindow = new inventory_window_index_svelte({
			props: {
				title: /*$additionalInfo*/ ctx[16].name,
				centeredX: false,
				centeredY: false,
				onClose: /*closeInventory*/ ctx[19],
				selectedWindow: /*selectedWindow*/ ctx[11],
				windowId: WindowsIds.Shop,
				onFocus: /*func_3*/ ctx[27],
				$$slots: { default: [create_default_slot_4] },
				$$scope: { ctx }
			}
		});

	return {
		c() {
			div = internal_element("div");
			create_component(inventorywindow.$$.fragment);
			attr(div, "class", "inventory__shop-wrapper svelte-94pcmp");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(inventorywindow, div, null);
			current = true;
		},
		p(ctx, dirty) {
			const inventorywindow_changes = {};
			if (dirty[0] & /*$additionalInfo*/ 65536) inventorywindow_changes.title = /*$additionalInfo*/ ctx[16].name;
			if (dirty[0] & /*selectedWindow*/ 2048) inventorywindow_changes.selectedWindow = /*selectedWindow*/ ctx[11];

			if (dirty[0] & /*storeType*/ 1024 | dirty[1] & /*$$scope*/ 4194304) {
				inventorywindow_changes.$$scope = { dirty, ctx };
			}

			inventorywindow.$set(inventorywindow_changes);
		},
		i(local) {
			if (current) return;
			transition_in(inventorywindow.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(inventorywindow.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(inventorywindow);
		}
	};
}

// (865:8) <InventoryWindow           title={$additionalInfo.name}           centeredX={false}           centeredY={false}           onClose={closeInventory}           selectedWindow={selectedWindow}           windowId={WindowsIds.Shop}           onFocus={() => setPriority(WindowsIds.Shop)}          >
function create_default_slot_4(ctx) {
	let shop;
	let current;

	shop = new inventory_components_shop_index_svelte({
			props: {
				inventoryId: /*storeType*/ ctx[10],
				columnsCount: 5,
				centeredX: false,
				centeredY: true
			}
		});

	return {
		c() {
			create_component(shop.$$.fragment);
		},
		m(target, anchor) {
			mount_component(shop, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const shop_changes = {};
			if (dirty[0] & /*storeType*/ 1024) shop_changes.inventoryId = /*storeType*/ ctx[10];
			shop.$set(shop_changes);
		},
		i(local) {
			if (current) return;
			transition_in(shop.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(shop.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(shop, detaching);
		}
	};
}

// (884:0) {#if tradeVisible}
function inventory_index_svelte_create_if_block_3(ctx) {
	let div;
	let inventorywindow;
	let current;

	inventorywindow = new inventory_window_index_svelte({
			props: {
				icon: 'recycle',
				title: `Обмен с ${/*$additionalInfo*/ ctx[16].name}`,
				centeredX: true,
				centeredY: false,
				onClose: /*closeInventory*/ ctx[19],
				selectedWindow: /*selectedWindow*/ ctx[11],
				windowId: WindowsIds.Trade,
				onFocus: /*func_4*/ ctx[28],
				$$slots: { default: [create_default_slot_3] },
				$$scope: { ctx }
			}
		});

	return {
		c() {
			div = internal_element("div");
			create_component(inventorywindow.$$.fragment);
			attr(div, "class", "inventory__trade-wrapper svelte-94pcmp");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(inventorywindow, div, null);
			current = true;
		},
		p(ctx, dirty) {
			const inventorywindow_changes = {};
			if (dirty[0] & /*$additionalInfo*/ 65536) inventorywindow_changes.title = `Обмен с ${/*$additionalInfo*/ ctx[16].name}`;
			if (dirty[0] & /*selectedWindow*/ 2048) inventorywindow_changes.selectedWindow = /*selectedWindow*/ ctx[11];

			if (dirty[1] & /*$$scope*/ 4194304) {
				inventorywindow_changes.$$scope = { dirty, ctx };
			}

			inventorywindow.$set(inventorywindow_changes);
		},
		i(local) {
			if (current) return;
			transition_in(inventorywindow.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(inventorywindow.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(inventorywindow);
		}
	};
}

// (886:8) <InventoryWindow           icon={'recycle'}           title={`Обмен с ${$additionalInfo.name}`}           centeredX={true}           centeredY={false}           onClose={closeInventory}           selectedWindow={selectedWindow}           windowId={WindowsIds.Trade}           onFocus={() => setPriority(WindowsIds.Trade)}          >
function create_default_slot_3(ctx) {
	let trade;
	let current;

	trade = new trade_index_svelte({
			props: {
				slotsGiveCount: 10,
				slotsReceiveCount: 10,
				inventoryId: BLOCK_TYPE.BLOCK_TYPE_TRADE,
				columnsCount: 5
			}
		});

	return {
		c() {
			create_component(trade.$$.fragment);
		},
		m(target, anchor) {
			mount_component(trade, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(trade.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(trade.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(trade, detaching);
		}
	};
}

// (906:0) {#if workshopVisible}
function inventory_index_svelte_create_if_block_2(ctx) {
	let div;
	let inventorywindow;
	let current;

	inventorywindow = new inventory_window_index_svelte({
			props: {
				icon: 'workbrench',
				title: 'Верстак',
				centeredX: false,
				centeredY: false,
				onClose: /*closeInventory*/ ctx[19],
				selectedWindow: /*selectedWindow*/ ctx[11],
				windowId: WindowsIds.Workshop,
				onFocus: /*func_5*/ ctx[29],
				$$slots: { default: [create_default_slot_2] },
				$$scope: { ctx }
			}
		});

	return {
		c() {
			div = internal_element("div");
			create_component(inventorywindow.$$.fragment);
			attr(div, "class", "inventory__workshop-wrapper svelte-94pcmp");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(inventorywindow, div, null);
			current = true;
		},
		p(ctx, dirty) {
			const inventorywindow_changes = {};
			if (dirty[0] & /*selectedWindow*/ 2048) inventorywindow_changes.selectedWindow = /*selectedWindow*/ ctx[11];

			if (dirty[1] & /*$$scope*/ 4194304) {
				inventorywindow_changes.$$scope = { dirty, ctx };
			}

			inventorywindow.$set(inventorywindow_changes);
		},
		i(local) {
			if (current) return;
			transition_in(inventorywindow.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(inventorywindow.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(inventorywindow);
		}
	};
}

// (908:8) <InventoryWindow           icon={'workbrench'}           title={'Верстак'}           centeredX={false}           centeredY={false}           onClose={closeInventory}           selectedWindow={selectedWindow}           windowId={WindowsIds.Workshop}           onFocus={() => setPriority(WindowsIds.Workshop)}          >
function create_default_slot_2(ctx) {
	let workshop;
	let current;
	workshop = new workshop_index_svelte({});

	return {
		c() {
			create_component(workshop.$$.fragment);
		},
		m(target, anchor) {
			mount_component(workshop, target, anchor);
			current = true;
		},
		i(local) {
			if (current) return;
			transition_in(workshop.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(workshop.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(workshop, detaching);
		}
	};
}

// (923:0) {#if craftVisible}
function inventory_index_svelte_create_if_block_1(ctx) {
	let div;
	let inventorywindow;
	let current;

	inventorywindow = new inventory_window_index_svelte({
			props: {
				title: 'Создание',
				headerIcon: 'cube',
				centeredX: true,
				centeredY: true,
				onClose: /*closeCraft*/ ctx[20],
				selectedWindow: /*selectedWindow*/ ctx[11],
				windowId: WindowsIds.Craft,
				onFocus: /*func_6*/ ctx[30],
				$$slots: { default: [inventory_index_svelte_create_default_slot_1] },
				$$scope: { ctx }
			}
		});

	return {
		c() {
			div = internal_element("div");
			create_component(inventorywindow.$$.fragment);
			attr(div, "class", "inventory__craft-wrapper");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(inventorywindow, div, null);
			current = true;
		},
		p(ctx, dirty) {
			const inventorywindow_changes = {};
			if (dirty[0] & /*selectedWindow*/ 2048) inventorywindow_changes.selectedWindow = /*selectedWindow*/ ctx[11];

			if (dirty[1] & /*$$scope*/ 4194304) {
				inventorywindow_changes.$$scope = { dirty, ctx };
			}

			inventorywindow.$set(inventorywindow_changes);
		},
		i(local) {
			if (current) return;
			transition_in(inventorywindow.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(inventorywindow.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(inventorywindow);
		}
	};
}

// (925:8) <InventoryWindow           title={'Создание'}           headerIcon={'cube'}           centeredX={true}           centeredY={true}           onClose={closeCraft}           selectedWindow={selectedWindow}           windowId={WindowsIds.Craft}           onFocus={() => setPriority(WindowsIds.Craft)}          >
function inventory_index_svelte_create_default_slot_1(ctx) {
	let craft;
	let current;
	craft = new craft_index_svelte({});

	return {
		c() {
			create_component(craft.$$.fragment);
		},
		m(target, anchor) {
			mount_component(craft, target, anchor);
			current = true;
		},
		i(local) {
			if (current) return;
			transition_in(craft.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(craft.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(craft, detaching);
		}
	};
}

// (940:0) {#if potionsVisible}
function inventory_index_svelte_create_if_block(ctx) {
	let div;
	let inventorywindow;
	let current;

	inventorywindow = new inventory_window_index_svelte({
			props: {
				title: 'Создание',
				centeredX: true,
				centeredY: true,
				onClose: /*closeInventory*/ ctx[19],
				selectedWindow: /*selectedWindow*/ ctx[11],
				windowId: WindowsIds.Potions,
				onFocus: /*func_7*/ ctx[31],
				$$slots: { default: [inventory_index_svelte_create_default_slot] },
				$$scope: { ctx }
			}
		});

	return {
		c() {
			div = internal_element("div");
			create_component(inventorywindow.$$.fragment);
			attr(div, "class", "inventory__craft-wrapper");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(inventorywindow, div, null);
			current = true;
		},
		p(ctx, dirty) {
			const inventorywindow_changes = {};
			if (dirty[0] & /*selectedWindow*/ 2048) inventorywindow_changes.selectedWindow = /*selectedWindow*/ ctx[11];

			if (dirty[1] & /*$$scope*/ 4194304) {
				inventorywindow_changes.$$scope = { dirty, ctx };
			}

			inventorywindow.$set(inventorywindow_changes);
		},
		i(local) {
			if (current) return;
			transition_in(inventorywindow.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(inventorywindow.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(inventorywindow);
		}
	};
}

// (942:8) <InventoryWindow           title={'Создание'}           centeredX={true}           centeredY={true}           onClose={closeInventory}           selectedWindow={selectedWindow}           windowId={WindowsIds.Potions}           onFocus={() => setPriority(WindowsIds.Potions)}          >
function inventory_index_svelte_create_default_slot(ctx) {
	let potions;
	let current;
	potions = new potions_index_svelte({});

	return {
		c() {
			create_component(potions.$$.fragment);
		},
		m(target, anchor) {
			mount_component(potions, target, anchor);
			current = true;
		},
		i(local) {
			if (current) return;
			transition_in(potions.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(potions.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(potions, detaching);
		}
	};
}

function inventory_index_svelte_create_fragment(ctx) {
	let t0;
	let show_if = /*mainInventoryVisible*/ ctx[1] && !(0,lodash.isNil)(/*$inventories*/ ctx[0][BLOCK_TYPE.BLOCK_TYPE_MENU]);
	let t1;
	let t2;
	let t3;
	let t4;
	let t5;
	let t6;
	let t7;
	let t8;
	let div;
	let current;
	let if_block0 = /*characterVisible*/ ctx[2] && inventory_index_svelte_create_if_block_8(ctx);
	let if_block1 = show_if && inventory_index_svelte_create_if_block_7(ctx);
	let if_block2 = /*overviewVisible*/ ctx[3] && inventory_index_svelte_create_if_block_6(ctx);
	let if_block3 = /*walletVisible*/ ctx[4] && /*$bagBlockType*/ ctx[15] > -1 && /*$characterInventorySelectedTab*/ ctx[12] === constants_NavigationTabs.Character && inventory_index_svelte_create_if_block_5(ctx);
	let if_block4 = /*shopVisible*/ ctx[5] && inventory_index_svelte_create_if_block_4(ctx);
	let if_block5 = /*tradeVisible*/ ctx[6] && inventory_index_svelte_create_if_block_3(ctx);
	let if_block6 = /*workshopVisible*/ ctx[7] && inventory_index_svelte_create_if_block_2(ctx);
	let if_block7 = /*craftVisible*/ ctx[8] && inventory_index_svelte_create_if_block_1(ctx);
	let if_block8 = /*potionsVisible*/ ctx[9] && inventory_index_svelte_create_if_block(ctx);

	return {
		c() {
			if (if_block0) if_block0.c();
			t0 = space();
			if (if_block1) if_block1.c();
			t1 = space();
			if (if_block2) if_block2.c();
			t2 = space();
			if (if_block3) if_block3.c();
			t3 = space();
			if (if_block4) if_block4.c();
			t4 = space();
			if (if_block5) if_block5.c();
			t5 = space();
			if (if_block6) if_block6.c();
			t6 = space();
			if (if_block7) if_block7.c();
			t7 = space();
			if (if_block8) if_block8.c();
			t8 = space();
			div = internal_element("div");
			attr(div, "class", "inventory svelte-94pcmp");
		},
		m(target, anchor) {
			if (if_block0) if_block0.m(target, anchor);
			insert(target, t0, anchor);
			if (if_block1) if_block1.m(target, anchor);
			insert(target, t1, anchor);
			if (if_block2) if_block2.m(target, anchor);
			insert(target, t2, anchor);
			if (if_block3) if_block3.m(target, anchor);
			insert(target, t3, anchor);
			if (if_block4) if_block4.m(target, anchor);
			insert(target, t4, anchor);
			if (if_block5) if_block5.m(target, anchor);
			insert(target, t5, anchor);
			if (if_block6) if_block6.m(target, anchor);
			insert(target, t6, anchor);
			if (if_block7) if_block7.m(target, anchor);
			insert(target, t7, anchor);
			if (if_block8) if_block8.m(target, anchor);
			insert(target, t8, anchor);
			insert(target, div, anchor);
			current = true;
		},
		p(ctx, dirty) {
			if (/*characterVisible*/ ctx[2]) {
				if (if_block0) {
					if_block0.p(ctx, dirty);

					if (dirty[0] & /*characterVisible*/ 4) {
						transition_in(if_block0, 1);
					}
				} else {
					if_block0 = inventory_index_svelte_create_if_block_8(ctx);
					if_block0.c();
					transition_in(if_block0, 1);
					if_block0.m(t0.parentNode, t0);
				}
			} else if (if_block0) {
				group_outros();

				transition_out(if_block0, 1, 1, () => {
					if_block0 = null;
				});

				check_outros();
			}

			if (dirty[0] & /*mainInventoryVisible, $inventories*/ 3) show_if = /*mainInventoryVisible*/ ctx[1] && !(0,lodash.isNil)(/*$inventories*/ ctx[0][BLOCK_TYPE.BLOCK_TYPE_MENU]);

			if (show_if) {
				if (if_block1) {
					if_block1.p(ctx, dirty);

					if (dirty[0] & /*mainInventoryVisible, $inventories*/ 3) {
						transition_in(if_block1, 1);
					}
				} else {
					if_block1 = inventory_index_svelte_create_if_block_7(ctx);
					if_block1.c();
					transition_in(if_block1, 1);
					if_block1.m(t1.parentNode, t1);
				}
			} else if (if_block1) {
				group_outros();

				transition_out(if_block1, 1, 1, () => {
					if_block1 = null;
				});

				check_outros();
			}

			if (/*overviewVisible*/ ctx[3]) {
				if (if_block2) {
					if_block2.p(ctx, dirty);

					if (dirty[0] & /*overviewVisible*/ 8) {
						transition_in(if_block2, 1);
					}
				} else {
					if_block2 = inventory_index_svelte_create_if_block_6(ctx);
					if_block2.c();
					transition_in(if_block2, 1);
					if_block2.m(t2.parentNode, t2);
				}
			} else if (if_block2) {
				group_outros();

				transition_out(if_block2, 1, 1, () => {
					if_block2 = null;
				});

				check_outros();
			}

			if (/*walletVisible*/ ctx[4] && /*$bagBlockType*/ ctx[15] > -1 && /*$characterInventorySelectedTab*/ ctx[12] === constants_NavigationTabs.Character) {
				if (if_block3) {
					if_block3.p(ctx, dirty);

					if (dirty[0] & /*walletVisible, $bagBlockType, $characterInventorySelectedTab*/ 36880) {
						transition_in(if_block3, 1);
					}
				} else {
					if_block3 = inventory_index_svelte_create_if_block_5(ctx);
					if_block3.c();
					transition_in(if_block3, 1);
					if_block3.m(t3.parentNode, t3);
				}
			} else if (if_block3) {
				group_outros();

				transition_out(if_block3, 1, 1, () => {
					if_block3 = null;
				});

				check_outros();
			}

			if (/*shopVisible*/ ctx[5]) {
				if (if_block4) {
					if_block4.p(ctx, dirty);

					if (dirty[0] & /*shopVisible*/ 32) {
						transition_in(if_block4, 1);
					}
				} else {
					if_block4 = inventory_index_svelte_create_if_block_4(ctx);
					if_block4.c();
					transition_in(if_block4, 1);
					if_block4.m(t4.parentNode, t4);
				}
			} else if (if_block4) {
				group_outros();

				transition_out(if_block4, 1, 1, () => {
					if_block4 = null;
				});

				check_outros();
			}

			if (/*tradeVisible*/ ctx[6]) {
				if (if_block5) {
					if_block5.p(ctx, dirty);

					if (dirty[0] & /*tradeVisible*/ 64) {
						transition_in(if_block5, 1);
					}
				} else {
					if_block5 = inventory_index_svelte_create_if_block_3(ctx);
					if_block5.c();
					transition_in(if_block5, 1);
					if_block5.m(t5.parentNode, t5);
				}
			} else if (if_block5) {
				group_outros();

				transition_out(if_block5, 1, 1, () => {
					if_block5 = null;
				});

				check_outros();
			}

			if (/*workshopVisible*/ ctx[7]) {
				if (if_block6) {
					if_block6.p(ctx, dirty);

					if (dirty[0] & /*workshopVisible*/ 128) {
						transition_in(if_block6, 1);
					}
				} else {
					if_block6 = inventory_index_svelte_create_if_block_2(ctx);
					if_block6.c();
					transition_in(if_block6, 1);
					if_block6.m(t6.parentNode, t6);
				}
			} else if (if_block6) {
				group_outros();

				transition_out(if_block6, 1, 1, () => {
					if_block6 = null;
				});

				check_outros();
			}

			if (/*craftVisible*/ ctx[8]) {
				if (if_block7) {
					if_block7.p(ctx, dirty);

					if (dirty[0] & /*craftVisible*/ 256) {
						transition_in(if_block7, 1);
					}
				} else {
					if_block7 = inventory_index_svelte_create_if_block_1(ctx);
					if_block7.c();
					transition_in(if_block7, 1);
					if_block7.m(t7.parentNode, t7);
				}
			} else if (if_block7) {
				group_outros();

				transition_out(if_block7, 1, 1, () => {
					if_block7 = null;
				});

				check_outros();
			}

			if (/*potionsVisible*/ ctx[9]) {
				if (if_block8) {
					if_block8.p(ctx, dirty);

					if (dirty[0] & /*potionsVisible*/ 512) {
						transition_in(if_block8, 1);
					}
				} else {
					if_block8 = inventory_index_svelte_create_if_block(ctx);
					if_block8.c();
					transition_in(if_block8, 1);
					if_block8.m(t8.parentNode, t8);
				}
			} else if (if_block8) {
				group_outros();

				transition_out(if_block8, 1, 1, () => {
					if_block8 = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block0);
			transition_in(if_block1);
			transition_in(if_block2);
			transition_in(if_block3);
			transition_in(if_block4);
			transition_in(if_block5);
			transition_in(if_block6);
			transition_in(if_block7);
			transition_in(if_block8);
			current = true;
		},
		o(local) {
			transition_out(if_block0);
			transition_out(if_block1);
			transition_out(if_block2);
			transition_out(if_block3);
			transition_out(if_block4);
			transition_out(if_block5);
			transition_out(if_block6);
			transition_out(if_block7);
			transition_out(if_block8);
			current = false;
		},
		d(detaching) {
			if (if_block0) if_block0.d(detaching);
			if (detaching) detach(t0);
			if (if_block1) if_block1.d(detaching);
			if (detaching) detach(t1);
			if (if_block2) if_block2.d(detaching);
			if (detaching) detach(t2);
			if (if_block3) if_block3.d(detaching);
			if (detaching) detach(t3);
			if (if_block4) if_block4.d(detaching);
			if (detaching) detach(t4);
			if (if_block5) if_block5.d(detaching);
			if (detaching) detach(t5);
			if (if_block6) if_block6.d(detaching);
			if (detaching) detach(t6);
			if (if_block7) if_block7.d(detaching);
			if (detaching) detach(t7);
			if (if_block8) if_block8.d(detaching);
			if (detaching) detach(t8);
			if (detaching) detach(div);
		}
	};
}

const infoWindowNode = null;

function inventory_index_svelte_instance($$self, $$props, $$invalidate) {
	let $itemsInInterval;
	let $inventories;
	let $inventoryCurrentItem;
	let $potionsOpened;
	let $workShopOpened;
	let $shopOpened;
	let $characterInventorySelectedTab;
	let $warehouseTypeId;
	let $warehouseMoney;
	let $bagBlockType;
	let $additionalInfo;
	component_subscribe($$self, itemsInInterval, $$value => $$invalidate(22, $itemsInInterval = $$value));
	component_subscribe($$self, inventories, $$value => $$invalidate(0, $inventories = $$value));
	component_subscribe($$self, inventoryCurrentItem, $$value => $$invalidate(23, $inventoryCurrentItem = $$value));
	component_subscribe($$self, potionsOpened, $$value => $$invalidate(32, $potionsOpened = $$value));
	component_subscribe($$self, workShopOpened, $$value => $$invalidate(33, $workShopOpened = $$value));
	component_subscribe($$self, shopOpened, $$value => $$invalidate(34, $shopOpened = $$value));
	component_subscribe($$self, characterInventorySelectedTab, $$value => $$invalidate(12, $characterInventorySelectedTab = $$value));
	component_subscribe($$self, warehouseTypeId, $$value => $$invalidate(13, $warehouseTypeId = $$value));
	component_subscribe($$self, warehouseMoney, $$value => $$invalidate(14, $warehouseMoney = $$value));
	component_subscribe($$self, bagBlockType, $$value => $$invalidate(15, $bagBlockType = $$value));
	component_subscribe($$self, additionalInfo, $$value => $$invalidate(16, $additionalInfo = $$value));
	let mainInventoryVisible = false;
	let characterVisible = false;
	let overviewVisible = false;
	let walletVisible = false;
	let shopVisible = false;
	let tradeVisible = false;
	let workshopVisible = false;
	let craftVisible = false;
	let potionsVisible = false;
	let interval = null;
	let storeType = -1;
	let selectedWindow = '';

	const setPriority = windowId => {
		$$invalidate(11, selectedWindow = windowId);
	};

	const closeWallet = () => {
		sendClientMessage('walletClose');
		$$invalidate(4, walletVisible = false);
	};

	const closeInventory = () => {
		sendClientMessage('inventoryClose');
		$$invalidate(1, mainInventoryVisible = false);
		$$invalidate(2, characterVisible = false);
		$$invalidate(3, overviewVisible = false);
		$$invalidate(4, walletVisible = false);
		$$invalidate(5, shopVisible = false);
		$$invalidate(6, tradeVisible = false);
		$$invalidate(7, workshopVisible = false);
		$$invalidate(9, potionsVisible = false);
		set_store_value(workShopOpened, $workShopOpened = false, $workShopOpened);
		set_store_value(potionsOpened, $potionsOpened = false, $potionsOpened);
	};

	const closeCraft = () => {
		sendClientMessage('craftClose');
		$$invalidate(8, craftVisible = false);
	};

	const updateMainInventoryVisible = visibleState => {
		$$invalidate(1, mainInventoryVisible = visibleState);
	};

	const unregisterUpdateMainmainInventoryVisible = registerEvent('event.inventory.setPlayerInventoryVisible', updateMainInventoryVisible);

	const updatePlayerAmunitionTab = selectedTab => {
		set_store_value(characterInventorySelectedTab, $characterInventorySelectedTab = selectedTab, $characterInventorySelectedTab);
		$$invalidate(2, characterVisible = true);
	};

	const unregisterUpdatePlayerAmunitionTab = registerEvent('event.inventory.updateCharacterTab', updatePlayerAmunitionTab);

	const updateWalletVisibleVisible = visibleState => {
		$$invalidate(4, walletVisible = visibleState);
		$$invalidate(1, mainInventoryVisible = true);
		$$invalidate(2, characterVisible = true);
	};

	const unregisterUpdateWalletVisibleVisible = registerEvent('event.inventory.setWalletVisible', updateWalletVisibleVisible);

	const setStoreVisible = (visibleState, blockType) => {
		$$invalidate(10, storeType = blockType);
		set_store_value(shopOpened, $shopOpened = true, $shopOpened);
		$$invalidate(1, mainInventoryVisible = true);
		$$invalidate(5, shopVisible = visibleState);
	};

	const unregisterUpdateShopVisible = registerEvent('event.inventory.setStoreVisible', setStoreVisible);

	const updateTradeVisible = visibleState => {
		$$invalidate(6, tradeVisible = visibleState);
		$$invalidate(1, mainInventoryVisible = true);
	};

	const unregisterUpdateTradeVisible = registerEvent('event.inventory.setTradeVisible', updateTradeVisible);

	const updateWorkshopVisible = visibleState => {
		$$invalidate(7, workshopVisible = visibleState);
		set_store_value(workShopOpened, $workShopOpened = true, $workShopOpened);
		$$invalidate(1, mainInventoryVisible = true);
	};

	const unregisterUpdateWorkshopVisible = registerEvent('event.inventory.setWorkshopVisible', updateWorkshopVisible);

	const updateCraftVisible = visibleState => {
		$$invalidate(8, craftVisible = visibleState);
	};

	const unregisterUpdateCraftVisible = registerEvent('event.inventory.setCraftVisible', updateCraftVisible);

	const updatePotionsVisible = visibleState => {
		$$invalidate(9, potionsVisible = visibleState);
		set_store_value(potionsOpened, $potionsOpened = true, $potionsOpened);
		$$invalidate(1, mainInventoryVisible = true);
	};

	const unregisterUpdatePotionsVisible = registerEvent('event.inventory.setPotionsVisible', updatePotionsVisible);

	const updateOverviewVisible = visibleState => {
		$$invalidate(3, overviewVisible = visibleState);
	};

	const unregisterUpdateOverviewVisible = registerEvent('event.inventory.setPlayerViewVisible', updateOverviewVisible);

	onDestroy(() => {
		clearInterval(interval);
		$$invalidate(21, interval = null);
		unregisterUpdateMainmainInventoryVisible();
		unregisterUpdateWalletVisibleVisible();
		unregisterUpdatePlayerAmunitionTab();
		unregisterUpdateWalletVisibleVisible();
		unregisterUpdateWorkshopVisible();
		unregisterUpdateCraftVisible();
		unregisterUpdateOverviewVisible();
		unregisterUpdateShopVisible();
		unregisterUpdatePotionsVisible();
		unregisterUpdateTradeVisible();
	});

	const func = () => setPriority(WindowsIds.Character);
	const func_1 = () => setPriority(WindowsIds.Main);
	const func_2 = () => setPriority(WindowsIds.Wallet);
	const func_3 = () => setPriority(WindowsIds.Shop);
	const func_4 = () => setPriority(WindowsIds.Trade);
	const func_5 = () => setPriority(WindowsIds.Workshop);
	const func_6 = () => setPriority(WindowsIds.Craft);
	const func_7 = () => setPriority(WindowsIds.Potions);

	$$self.$$.update = () => {
		if ($$self.$$.dirty[0] & /*$inventoryCurrentItem*/ 8388608) {
			$: {
				if (!(0,lodash.isNil)(infoWindowNode)) {
					const nodeWidth = infoWindowNode.children[0].clientWidth;
					const nodeHeight = infoWindowNode.children[0].clientHeight;

					if ($inventoryCurrentItem.left > window.innerWidth - nodeWidth) {
						set_store_value(inventoryCurrentItem, $inventoryCurrentItem.left -= nodeWidth, $inventoryCurrentItem);
					}

					if ($inventoryCurrentItem.top > window.innerHeight - nodeHeight) {
						set_store_value(inventoryCurrentItem, $inventoryCurrentItem.top -= nodeHeight, $inventoryCurrentItem);
					}
				}
			}
		}

		if ($$self.$$.dirty[0] & /*$itemsInInterval, interval, $inventories*/ 6291457) {
			$: {
				if (!(0,lodash.isEmpty)($itemsInInterval)) {
					if ((0,lodash.isNil)(interval)) {
						$$invalidate(21, interval = setInterval(
							() => {
								$itemsInInterval.forEach((item, index) => {
									const timeString = calculateTime(item.timeDifference);

									if (!(0,lodash.isNil)($itemsInInterval[index])) {
										set_store_value(itemsInInterval, $itemsInInterval[index].timeDifference -= 1, $itemsInInterval);
									}

									if (item.guardId >= 0 && SECURITY_STUFF.includes(item.inventoryId)) {
										if ($inventories[item.inventoryId][item.guardId][item.slotId].time <= 0) {
											// проверка при перемещении предметов
											(0,lodash.remove)($itemsInInterval, (removeItem, removeIndex) => removeIndex === index);

											return;
										}

										set_store_value(inventories, $inventories[item.inventoryId][item.guardId][item.slotId].text = timeString, $inventories);
									} else {
										if ($inventories[item.inventoryId][item.slotId].time <= 0) {
											// проверка при перемещении предметов
											(0,lodash.remove)($itemsInInterval, (removeItem, removeIndex) => removeIndex === index);

											return;
										}

										set_store_value(inventories, $inventories[item.inventoryId][item.slotId].text = timeString, $inventories);
									}

									if (item.timeDifference < 0) {
										set_store_value(itemsInInterval, $itemsInInterval = $itemsInInterval.filter(filterItem => filterItem.timeDifference >= 0), $itemsInInterval);
									}
								});
							},
							1000
						));
					}
				} else {
					clearInterval(interval);
					$$invalidate(21, interval = null);
				}
			}
		}
	};

	return [
		$inventories,
		mainInventoryVisible,
		characterVisible,
		overviewVisible,
		walletVisible,
		shopVisible,
		tradeVisible,
		workshopVisible,
		craftVisible,
		potionsVisible,
		storeType,
		selectedWindow,
		$characterInventorySelectedTab,
		$warehouseTypeId,
		$warehouseMoney,
		$bagBlockType,
		$additionalInfo,
		setPriority,
		closeWallet,
		closeInventory,
		closeCraft,
		interval,
		$itemsInInterval,
		$inventoryCurrentItem,
		func,
		func_1,
		func_2,
		func_3,
		func_4,
		func_5,
		func_6,
		func_7
	];
}

class Inventory extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, inventory_index_svelte_instance, inventory_index_svelte_create_fragment, safe_not_equal, {}, inventory_index_svelte_add_css, [-1, -1]);
	}
}

/* harmony default export */ const inventory_index_svelte = (Inventory);
;// CONCATENATED MODULE: ./src/views/reward-banner/index.svelte
/* src\views\reward-banner\index.svelte generated by Svelte v3.49.0 */








// import { BANNER_DATA_MOCK } from './mock';
// import bgImageMock from './img/bg-mock.png';


function reward_banner_index_svelte_add_css(target) {
	append_styles(target, "svelte-50t6iq", "@keyframes svelte-50t6iq-blinking{50%{opacity:0}}@keyframes svelte-50t6iq-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-50t6iq-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-50t6iq-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-50t6iq-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-50t6iq-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-50t6iq-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-50t6iq-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-50t6iq-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-50t6iq-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-50t6iq-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-50t6iq-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-50t6iq-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-50t6iq-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-50t6iq-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.reward-banner.svelte-50t6iq{position:fixed;top:50%;left:50%;display:flex;align-items:stretch;justify-content:flex-end;transform:translateX(-50%) translateY(-50%);border-style:solid;border-color:rgba(255, 255, 255, 0.5);background-image:var(--bg);background-repeat:no-repeat;background-size:cover;background-position:center left;width:calc(0.6166666667 * 100vw + 0px);height:calc(0.346875 * 100vw + 0px);padding-top:calc(0.0234375 * 100vw + 0px);padding-bottom:calc(0.0234375 * 100vw + 0px);padding-right:calc(0.0208333333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);border-width:calc(0.0005208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.reward-banner.svelte-50t6iq{width:calc(0.6166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner.svelte-50t6iq{width:calc(0.6166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner.svelte-50t6iq{width:calc(0.4748333333 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner.svelte-50t6iq{width:calc(0.6783333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner.svelte-50t6iq{width:calc(0.4316666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner.svelte-50t6iq{width:calc(0.555 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner.svelte-50t6iq{width:calc(0.6783333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.reward-banner.svelte-50t6iq{height:calc(0.346875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner.svelte-50t6iq{height:calc(0.346875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner.svelte-50t6iq{height:calc(0.26709375 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner.svelte-50t6iq{height:calc(0.3815625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner.svelte-50t6iq{height:calc(0.2428125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner.svelte-50t6iq{height:calc(0.3121875 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner.svelte-50t6iq{height:calc(0.3815625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.reward-banner.svelte-50t6iq{padding-top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner.svelte-50t6iq{padding-top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner.svelte-50t6iq{padding-top:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner.svelte-50t6iq{padding-top:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner.svelte-50t6iq{padding-top:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner.svelte-50t6iq{padding-top:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner.svelte-50t6iq{padding-top:calc(0.02578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.reward-banner.svelte-50t6iq{padding-bottom:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner.svelte-50t6iq{padding-bottom:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner.svelte-50t6iq{padding-bottom:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner.svelte-50t6iq{padding-bottom:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner.svelte-50t6iq{padding-bottom:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner.svelte-50t6iq{padding-bottom:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner.svelte-50t6iq{padding-bottom:calc(0.02578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.reward-banner.svelte-50t6iq{padding-right:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner.svelte-50t6iq{padding-right:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner.svelte-50t6iq{padding-right:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner.svelte-50t6iq{padding-right:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner.svelte-50t6iq{padding-right:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner.svelte-50t6iq{padding-right:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner.svelte-50t6iq{padding-right:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.reward-banner.svelte-50t6iq{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner.svelte-50t6iq{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner.svelte-50t6iq{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner.svelte-50t6iq{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner.svelte-50t6iq{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner.svelte-50t6iq{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner.svelte-50t6iq{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.reward-banner.svelte-50t6iq{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner.svelte-50t6iq{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner.svelte-50t6iq{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner.svelte-50t6iq{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner.svelte-50t6iq{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner.svelte-50t6iq{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner.svelte-50t6iq{border-width:calc(0.0005729167 * 100vw + 0px)}}.reward-banner__exit.svelte-50t6iq{position:absolute;top:calc(0.0104166667 * 100vw + 0px);right:calc(0.0088541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.reward-banner__exit.svelte-50t6iq{top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner__exit.svelte-50t6iq{top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner__exit.svelte-50t6iq{top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner__exit.svelte-50t6iq{top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner__exit.svelte-50t6iq{top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner__exit.svelte-50t6iq{top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner__exit.svelte-50t6iq{top:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.reward-banner__exit.svelte-50t6iq{right:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner__exit.svelte-50t6iq{right:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner__exit.svelte-50t6iq{right:calc(0.0068177083 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner__exit.svelte-50t6iq{right:calc(0.0097395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner__exit.svelte-50t6iq{right:calc(0.0061979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner__exit.svelte-50t6iq{right:calc(0.00796875 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner__exit.svelte-50t6iq{right:calc(0.0097395833 * 100vw + 0px)}}.reward-banner__content.svelte-50t6iq{height:100%;flex:1 1 auto;display:flex;flex-direction:column;justify-content:space-between;max-width:calc(0.3489583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.reward-banner__content.svelte-50t6iq{max-width:calc(0.3489583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner__content.svelte-50t6iq{max-width:calc(0.3489583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner__content.svelte-50t6iq{max-width:calc(0.2686979167 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner__content.svelte-50t6iq{max-width:calc(0.3838541667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner__content.svelte-50t6iq{max-width:calc(0.2442708333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner__content.svelte-50t6iq{max-width:calc(0.3140625 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner__content.svelte-50t6iq{max-width:calc(0.3838541667 * 100vw + 0px)}}.reward-banner__title-caption.svelte-50t6iq{color:#FFFFFF;font-family:\"GothamPro\";font-weight:700;font-size:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.reward-banner__title-caption.svelte-50t6iq{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner__title-caption.svelte-50t6iq{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner__title-caption.svelte-50t6iq{font-size:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner__title-caption.svelte-50t6iq{font-size:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner__title-caption.svelte-50t6iq{font-size:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner__title-caption.svelte-50t6iq{font-size:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner__title-caption.svelte-50t6iq{font-size:calc(0.0275 * 100vw + 0px)}}.reward-banner__title-value.svelte-50t6iq{color:var(--accentColor);font-family:\"GothamPro\";font-weight:700;font-size:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.reward-banner__title-value.svelte-50t6iq{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner__title-value.svelte-50t6iq{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner__title-value.svelte-50t6iq{font-size:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner__title-value.svelte-50t6iq{font-size:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner__title-value.svelte-50t6iq{font-size:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner__title-value.svelte-50t6iq{font-size:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner__title-value.svelte-50t6iq{font-size:calc(0.0275 * 100vw + 0px)}}.reward-banner__rewards-grid.svelte-50t6iq{display:grid;grid-template-columns:2fr 3fr;gap:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.reward-banner__rewards-grid.svelte-50t6iq{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner__rewards-grid.svelte-50t6iq{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner__rewards-grid.svelte-50t6iq{gap:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner__rewards-grid.svelte-50t6iq{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner__rewards-grid.svelte-50t6iq{gap:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner__rewards-grid.svelte-50t6iq{gap:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner__rewards-grid.svelte-50t6iq{gap:calc(0.0080208333 * 100vw + 0px)}}.reward-banner__reward-cell.svelte-50t6iq{display:grid}.reward-banner__reward.svelte-50t6iq{position:relative;display:flex;align-items:center;border-style:solid;border-color:rgba(255, 255, 255, 0.1);height:calc(0.0520833333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);border-width:calc(0.0005208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.reward-banner__reward.svelte-50t6iq{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner__reward.svelte-50t6iq{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner__reward.svelte-50t6iq{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner__reward.svelte-50t6iq{height:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner__reward.svelte-50t6iq{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner__reward.svelte-50t6iq{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner__reward.svelte-50t6iq{height:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.reward-banner__reward.svelte-50t6iq{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner__reward.svelte-50t6iq{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner__reward.svelte-50t6iq{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner__reward.svelte-50t6iq{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner__reward.svelte-50t6iq{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner__reward.svelte-50t6iq{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner__reward.svelte-50t6iq{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.reward-banner__reward.svelte-50t6iq{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner__reward.svelte-50t6iq{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner__reward.svelte-50t6iq{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner__reward.svelte-50t6iq{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner__reward.svelte-50t6iq{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner__reward.svelte-50t6iq{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner__reward.svelte-50t6iq{border-width:calc(0.0005729167 * 100vw + 0px)}}.reward-banner__reward-badge.svelte-50t6iq{position:absolute;background-color:var(--accentColor);color:#111111;display:flex;align-items:center;justify-content:center;font-family:\"GothamPro\";font-weight:700;font-size:calc(0.0083333333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);gap:calc(0.0036458333 * 100vw + 0px);top:calc(-0.0005208333 * 100vw + 0px);right:calc(-0.0005208333 * 100vw + 0px);height:calc(0.0135416667 * 100vw + 0px);padding-left:calc(0.0052083333 * 100vw + 0px);padding-right:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.reward-banner__reward-badge.svelte-50t6iq{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner__reward-badge.svelte-50t6iq{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner__reward-badge.svelte-50t6iq{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner__reward-badge.svelte-50t6iq{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner__reward-badge.svelte-50t6iq{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner__reward-badge.svelte-50t6iq{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner__reward-badge.svelte-50t6iq{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.reward-banner__reward-badge.svelte-50t6iq{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner__reward-badge.svelte-50t6iq{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner__reward-badge.svelte-50t6iq{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner__reward-badge.svelte-50t6iq{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner__reward-badge.svelte-50t6iq{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner__reward-badge.svelte-50t6iq{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner__reward-badge.svelte-50t6iq{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.reward-banner__reward-badge.svelte-50t6iq{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner__reward-badge.svelte-50t6iq{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner__reward-badge.svelte-50t6iq{gap:calc(0.0028072917 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner__reward-badge.svelte-50t6iq{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner__reward-badge.svelte-50t6iq{gap:calc(0.0025520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner__reward-badge.svelte-50t6iq{gap:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner__reward-badge.svelte-50t6iq{gap:calc(0.0040104167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.reward-banner__reward-badge.svelte-50t6iq{top:calc(-0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner__reward-badge.svelte-50t6iq{top:calc(-0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner__reward-badge.svelte-50t6iq{top:calc(-0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner__reward-badge.svelte-50t6iq{top:calc(-0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner__reward-badge.svelte-50t6iq{top:calc(-0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner__reward-badge.svelte-50t6iq{top:calc(-0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner__reward-badge.svelte-50t6iq{top:calc(-0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.reward-banner__reward-badge.svelte-50t6iq{right:calc(-0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner__reward-badge.svelte-50t6iq{right:calc(-0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner__reward-badge.svelte-50t6iq{right:calc(-0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner__reward-badge.svelte-50t6iq{right:calc(-0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner__reward-badge.svelte-50t6iq{right:calc(-0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner__reward-badge.svelte-50t6iq{right:calc(-0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner__reward-badge.svelte-50t6iq{right:calc(-0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.reward-banner__reward-badge.svelte-50t6iq{height:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner__reward-badge.svelte-50t6iq{height:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner__reward-badge.svelte-50t6iq{height:calc(0.0104270833 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner__reward-badge.svelte-50t6iq{height:calc(0.0148958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner__reward-badge.svelte-50t6iq{height:calc(0.0094791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner__reward-badge.svelte-50t6iq{height:calc(0.0121875 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner__reward-badge.svelte-50t6iq{height:calc(0.0148958333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.reward-banner__reward-badge.svelte-50t6iq{padding-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner__reward-badge.svelte-50t6iq{padding-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner__reward-badge.svelte-50t6iq{padding-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner__reward-badge.svelte-50t6iq{padding-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner__reward-badge.svelte-50t6iq{padding-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner__reward-badge.svelte-50t6iq{padding-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner__reward-badge.svelte-50t6iq{padding-left:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.reward-banner__reward-badge.svelte-50t6iq{padding-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner__reward-badge.svelte-50t6iq{padding-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner__reward-badge.svelte-50t6iq{padding-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner__reward-badge.svelte-50t6iq{padding-right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner__reward-badge.svelte-50t6iq{padding-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner__reward-badge.svelte-50t6iq{padding-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner__reward-badge.svelte-50t6iq{padding-right:calc(0.0057291667 * 100vw + 0px)}}.reward-banner__reward-image-wrapper.svelte-50t6iq{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:#333333;overflow:hidden;max-width:calc(0.0520833333 * 100vw + 0px);max-height:calc(0.0520833333 * 100vw + 0px);border-radius:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.reward-banner__reward-image-wrapper.svelte-50t6iq{max-width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner__reward-image-wrapper.svelte-50t6iq{max-width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner__reward-image-wrapper.svelte-50t6iq{max-width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner__reward-image-wrapper.svelte-50t6iq{max-width:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner__reward-image-wrapper.svelte-50t6iq{max-width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner__reward-image-wrapper.svelte-50t6iq{max-width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner__reward-image-wrapper.svelte-50t6iq{max-width:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.reward-banner__reward-image-wrapper.svelte-50t6iq{max-height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner__reward-image-wrapper.svelte-50t6iq{max-height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner__reward-image-wrapper.svelte-50t6iq{max-height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner__reward-image-wrapper.svelte-50t6iq{max-height:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner__reward-image-wrapper.svelte-50t6iq{max-height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner__reward-image-wrapper.svelte-50t6iq{max-height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner__reward-image-wrapper.svelte-50t6iq{max-height:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.reward-banner__reward-image-wrapper.svelte-50t6iq{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner__reward-image-wrapper.svelte-50t6iq{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner__reward-image-wrapper.svelte-50t6iq{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner__reward-image-wrapper.svelte-50t6iq{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner__reward-image-wrapper.svelte-50t6iq{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner__reward-image-wrapper.svelte-50t6iq{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner__reward-image-wrapper.svelte-50t6iq{border-radius:calc(0.0045833333 * 100vw + 0px)}}.reward-banner__reward-image.svelte-50t6iq{height:100%;width:auto}.reward-banner__reward-info.svelte-50t6iq{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;height:100%;background:radial-gradient(79.61% 116.04% at 50% 56.13%, rgba(255, 255, 255, 0.1) 0%, transparent 100%);padding-left:calc(0.0104166667 * 100vw + 0px);padding-right:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.reward-banner__reward-info.svelte-50t6iq{padding-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner__reward-info.svelte-50t6iq{padding-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner__reward-info.svelte-50t6iq{padding-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner__reward-info.svelte-50t6iq{padding-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner__reward-info.svelte-50t6iq{padding-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner__reward-info.svelte-50t6iq{padding-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner__reward-info.svelte-50t6iq{padding-left:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.reward-banner__reward-info.svelte-50t6iq{padding-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner__reward-info.svelte-50t6iq{padding-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner__reward-info.svelte-50t6iq{padding-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner__reward-info.svelte-50t6iq{padding-right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner__reward-info.svelte-50t6iq{padding-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner__reward-info.svelte-50t6iq{padding-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner__reward-info.svelte-50t6iq{padding-right:calc(0.0057291667 * 100vw + 0px)}}.reward-banner__reward-title.svelte-50t6iq{font-family:\"GothamPro\";color:#FFFFFF;font-weight:700;display:-webkit-box;overflow:hidden;-webkit-line-clamp:1;-webkit-box-orient:vertical;font-size:calc(0.0125 * 100vw + 0px);line-height:calc(0.0145833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.reward-banner__reward-title.svelte-50t6iq{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner__reward-title.svelte-50t6iq{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner__reward-title.svelte-50t6iq{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner__reward-title.svelte-50t6iq{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner__reward-title.svelte-50t6iq{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner__reward-title.svelte-50t6iq{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner__reward-title.svelte-50t6iq{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.reward-banner__reward-title.svelte-50t6iq{line-height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner__reward-title.svelte-50t6iq{line-height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner__reward-title.svelte-50t6iq{line-height:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner__reward-title.svelte-50t6iq{line-height:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner__reward-title.svelte-50t6iq{line-height:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner__reward-title.svelte-50t6iq{line-height:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner__reward-title.svelte-50t6iq{line-height:calc(0.0160416667 * 100vw + 0px)}}.reward-banner__reward-value.svelte-50t6iq{font-family:\"GothamPro\";color:var(--accentColor);font-weight:700;display:-webkit-box;overflow:hidden;-webkit-line-clamp:1;-webkit-box-orient:vertical;font-size:calc(0.0125 * 100vw + 0px);line-height:calc(0.0145833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.reward-banner__reward-value.svelte-50t6iq{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner__reward-value.svelte-50t6iq{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner__reward-value.svelte-50t6iq{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner__reward-value.svelte-50t6iq{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner__reward-value.svelte-50t6iq{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner__reward-value.svelte-50t6iq{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner__reward-value.svelte-50t6iq{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.reward-banner__reward-value.svelte-50t6iq{line-height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner__reward-value.svelte-50t6iq{line-height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner__reward-value.svelte-50t6iq{line-height:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner__reward-value.svelte-50t6iq{line-height:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner__reward-value.svelte-50t6iq{line-height:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner__reward-value.svelte-50t6iq{line-height:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner__reward-value.svelte-50t6iq{line-height:calc(0.0160416667 * 100vw + 0px)}}.reward-banner__description.svelte-50t6iq{font-family:\"GothamPro\";color:#FFFFFF;font-weight:700;font-size:calc(0.0083333333 * 100vw + 0px);line-height:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.reward-banner__description.svelte-50t6iq{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner__description.svelte-50t6iq{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner__description.svelte-50t6iq{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner__description.svelte-50t6iq{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner__description.svelte-50t6iq{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner__description.svelte-50t6iq{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner__description.svelte-50t6iq{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.reward-banner__description.svelte-50t6iq{line-height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner__description.svelte-50t6iq{line-height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner__description.svelte-50t6iq{line-height:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner__description.svelte-50t6iq{line-height:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner__description.svelte-50t6iq{line-height:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner__description.svelte-50t6iq{line-height:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner__description.svelte-50t6iq{line-height:calc(0.0143229167 * 100vw + 0px)}}.reward-banner__button.svelte-50t6iq{width:100%;display:flex;align-items:center;justify-content:center;background-color:rgba(255, 255, 255, 0.1);font-family:\"GothamPro\";color:rgba(255, 255, 255, 0.5);transition:0.14s ease-out;transition-property:transform;font-size:calc(0.0104166667 * 100vw + 0px);height:calc(0.0416666667 * 100vw + 0px);border-radius:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.reward-banner__button.svelte-50t6iq{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner__button.svelte-50t6iq{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner__button.svelte-50t6iq{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner__button.svelte-50t6iq{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner__button.svelte-50t6iq{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner__button.svelte-50t6iq{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner__button.svelte-50t6iq{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.reward-banner__button.svelte-50t6iq{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner__button.svelte-50t6iq{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner__button.svelte-50t6iq{height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner__button.svelte-50t6iq{height:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner__button.svelte-50t6iq{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner__button.svelte-50t6iq{height:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner__button.svelte-50t6iq{height:calc(0.0458333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.reward-banner__button.svelte-50t6iq{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-banner__button.svelte-50t6iq{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-banner__button.svelte-50t6iq{border-radius:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.reward-banner__button.svelte-50t6iq{border-radius:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-banner__button.svelte-50t6iq{border-radius:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-banner__button.svelte-50t6iq{border-radius:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.reward-banner__button.svelte-50t6iq{border-radius:calc(0.0103125 * 100vw + 0px)}}.reward-banner__button--active.svelte-50t6iq{font-weight:700;background-color:#FFFFFF;color:#111111}.reward-banner__button--active.svelte-50t6iq:active{transform:scale(0.98)}");
}

function reward_banner_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[10] = list[i];
	return child_ctx;
}

// (1729:0) {#if !isEmpty(bannerData)}
function reward_banner_index_svelte_create_if_block(ctx) {
	let div8;
	let div0;
	let exitbutton;
	let t0;
	let div7;
	let div3;
	let div1;
	let t1_value = /*bannerData*/ ctx[0].titleHeaders + "";
	let t1;
	let t2;
	let div2;
	let t3_value = /*bannerData*/ ctx[0].title + "";
	let t3;
	let t4;
	let div4;
	let t5_value = /*bannerData*/ ctx[0].description + "";
	let t5;
	let t6;
	let div5;
	let t7;
	let div6;

	let t8_value = (/*bannerData*/ ctx[0].time > 0
	? `Доступно через ${/*formatSecondsToDHhMmSs*/ ctx[4](/*bannerData*/ ctx[0].time)}`
	: 'Получить') + "";

	let t8;
	let div8_style_value;
	let current;
	let mounted;
	let dispose;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*closeReward*/ ctx[3],
				fixedPosition: true
			}
		});

	let each_value = /*rewards*/ ctx[1];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = reward_banner_index_svelte_create_each_block(reward_banner_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div8 = internal_element("div");
			div0 = internal_element("div");
			create_component(exitbutton.$$.fragment);
			t0 = space();
			div7 = internal_element("div");
			div3 = internal_element("div");
			div1 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			div2 = internal_element("div");
			t3 = internal_text(t3_value);
			t4 = space();
			div4 = internal_element("div");
			t5 = internal_text(t5_value);
			t6 = space();
			div5 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t7 = space();
			div6 = internal_element("div");
			t8 = internal_text(t8_value);
			attr(div0, "class", "reward-banner__exit svelte-50t6iq");
			attr(div1, "class", "reward-banner__title-caption svelte-50t6iq");
			attr(div2, "class", "reward-banner__title-value svelte-50t6iq");
			attr(div3, "class", "reward-banner__title");
			attr(div4, "class", "reward-banner__description svelte-50t6iq");
			attr(div5, "class", "reward-banner__rewards-grid svelte-50t6iq");
			attr(div6, "class", "reward-banner__button svelte-50t6iq");
			toggle_class(div6, "reward-banner__button--active", /*bannerData*/ ctx[0].time <= 0);
			attr(div7, "class", "reward-banner__content svelte-50t6iq");
			attr(div8, "class", "reward-banner svelte-50t6iq");
			attr(div8, "style", div8_style_value = `--bg: url(${CDN_URL}/projects/rodina-rp/systems/reward_banner/background/${/*bannerData*/ ctx[0].background}); --accentColor: ${/*bannerData*/ ctx[0].color}`);
		},
		m(target, anchor) {
			insert(target, div8, anchor);
			append(div8, div0);
			mount_component(exitbutton, div0, null);
			append(div8, t0);
			append(div8, div7);
			append(div7, div3);
			append(div3, div1);
			append(div1, t1);
			append(div3, t2);
			append(div3, div2);
			append(div2, t3);
			append(div7, t4);
			append(div7, div4);
			append(div4, t5);
			append(div7, t6);
			append(div7, div5);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div5, null);
			}

			append(div7, t7);
			append(div7, div6);
			append(div6, t8);
			current = true;

			if (!mounted) {
				dispose = listen(div6, "click", /*getReward*/ ctx[2]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if ((!current || dirty & /*bannerData*/ 1) && t1_value !== (t1_value = /*bannerData*/ ctx[0].titleHeaders + "")) set_data(t1, t1_value);
			if ((!current || dirty & /*bannerData*/ 1) && t3_value !== (t3_value = /*bannerData*/ ctx[0].title + "")) set_data(t3, t3_value);
			if ((!current || dirty & /*bannerData*/ 1) && t5_value !== (t5_value = /*bannerData*/ ctx[0].description + "")) set_data(t5, t5_value);

			if (dirty & /*rewards, CDN_URL, isEmpty*/ 2) {
				each_value = /*rewards*/ ctx[1];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = reward_banner_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = reward_banner_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div5, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if ((!current || dirty & /*bannerData*/ 1) && t8_value !== (t8_value = (/*bannerData*/ ctx[0].time > 0
			? `Доступно через ${/*formatSecondsToDHhMmSs*/ ctx[4](/*bannerData*/ ctx[0].time)}`
			: 'Получить') + "")) set_data(t8, t8_value);

			if (dirty & /*bannerData*/ 1) {
				toggle_class(div6, "reward-banner__button--active", /*bannerData*/ ctx[0].time <= 0);
			}

			if (!current || dirty & /*bannerData*/ 1 && div8_style_value !== (div8_style_value = `--bg: url(${CDN_URL}/projects/rodina-rp/systems/reward_banner/background/${/*bannerData*/ ctx[0].background}); --accentColor: ${/*bannerData*/ ctx[0].color}`)) {
				attr(div8, "style", div8_style_value);
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div8);
			destroy_component(exitbutton);
			destroy_each(each_blocks, detaching);
			mounted = false;
			dispose();
		}
	};
}

// (1746:7) {#if !isEmpty(reward.badge)}
function reward_banner_index_svelte_create_if_block_1(ctx) {
	let div1;
	let i;
	let t0;
	let div0;
	let t1_value = /*reward*/ ctx[10].badge + "";
	let t1;

	return {
		c() {
			div1 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			attr(i, "class", "reward-banner__reward-badge-icon icon-timeout");
			attr(div0, "class", "reward-banner__reward-badge-text");
			attr(div1, "class", "reward-banner__reward-badge svelte-50t6iq");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, i);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*rewards*/ 2 && t1_value !== (t1_value = /*reward*/ ctx[10].badge + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (1743:4) {#each rewards as reward}
function reward_banner_index_svelte_create_each_block(ctx) {
	let div5;
	let div4;
	let show_if = !(0,lodash.isEmpty)(/*reward*/ ctx[10].badge);
	let t0;
	let div0;
	let img;
	let img_src_value;
	let t1;
	let div3;
	let div1;
	let t2_value = /*reward*/ ctx[10].title + "";
	let t2;
	let t3;
	let div2;
	let t4_value = /*reward*/ ctx[10].value + "";
	let t4;
	let t5;
	let if_block = show_if && reward_banner_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			div5 = internal_element("div");
			div4 = internal_element("div");
			if (if_block) if_block.c();
			t0 = space();
			div0 = internal_element("div");
			img = internal_element("img");
			t1 = space();
			div3 = internal_element("div");
			div1 = internal_element("div");
			t2 = internal_text(t2_value);
			t3 = space();
			div2 = internal_element("div");
			t4 = internal_text(t4_value);
			t5 = space();
			if (!src_url_equal(img.src, img_src_value = `${CDN_URL}/projects/rodina-rp/systems/reward_banner/items/${/*reward*/ ctx[10].image}`)) attr(img, "src", img_src_value);
			attr(img, "alt", "reward-icon");
			attr(img, "class", "reward-banner__reward-image svelte-50t6iq");
			attr(div0, "class", "reward-banner__reward-image-wrapper svelte-50t6iq");
			attr(div1, "class", "reward-banner__reward-title svelte-50t6iq");
			attr(div2, "class", "reward-banner__reward-value svelte-50t6iq");
			attr(div3, "class", "reward-banner__reward-info svelte-50t6iq");
			attr(div4, "class", "reward-banner__reward svelte-50t6iq");
			attr(div5, "class", "reward-banner__reward-cell svelte-50t6iq");
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			append(div5, div4);
			if (if_block) if_block.m(div4, null);
			append(div4, t0);
			append(div4, div0);
			append(div0, img);
			append(div4, t1);
			append(div4, div3);
			append(div3, div1);
			append(div1, t2);
			append(div3, t3);
			append(div3, div2);
			append(div2, t4);
			append(div5, t5);
		},
		p(ctx, dirty) {
			if (dirty & /*rewards*/ 2) show_if = !(0,lodash.isEmpty)(/*reward*/ ctx[10].badge);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = reward_banner_index_svelte_create_if_block_1(ctx);
					if_block.c();
					if_block.m(div4, t0);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (dirty & /*rewards*/ 2 && !src_url_equal(img.src, img_src_value = `${CDN_URL}/projects/rodina-rp/systems/reward_banner/items/${/*reward*/ ctx[10].image}`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*rewards*/ 2 && t2_value !== (t2_value = /*reward*/ ctx[10].title + "")) set_data(t2, t2_value);
			if (dirty & /*rewards*/ 2 && t4_value !== (t4_value = /*reward*/ ctx[10].value + "")) set_data(t4, t4_value);
		},
		d(detaching) {
			if (detaching) detach(div5);
			if (if_block) if_block.d();
		}
	};
}

function reward_banner_index_svelte_create_fragment(ctx) {
	let show_if = !(0,lodash.isEmpty)(/*bannerData*/ ctx[0]);
	let if_block_anchor;
	let current;
	let if_block = show_if && reward_banner_index_svelte_create_if_block(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*bannerData*/ 1) show_if = !(0,lodash.isEmpty)(/*bannerData*/ ctx[0]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*bannerData*/ 1) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = reward_banner_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

function reward_banner_index_svelte_instance($$self, $$props, $$invalidate) {
	let bannerData = {};
	let rewards = [];
	let timerIntervalId = null;

	const getReward = () => {
		if (bannerData.time > 0) {
			return;
		}

		sendClientMessage('rewardBanner.getReward');
	};

	const closeReward = () => {
		sendClientMessage('rewardBanner.close');
	};

	const initializeBannerData = bannerDto => {
		$$invalidate(0, bannerData = { ...bannerData, ...bannerDto });

		if (bannerData.time > 0) {
			timerIntervalId = setInterval(
				() => {
					if (bannerData.time > 0) {
						$$invalidate(0, bannerData.time -= 1, bannerData);
					} else {
						clearInterval(timerIntervalId);
						timerIntervalId = null;
					}
				},
				1000
			);
		}
	};

	const initializeRewards = rewardsDto => {
		if ((0,lodash.isNil)(rewards)) {
			$$invalidate(1, rewards = rewardsDto);
		} else {
			$$invalidate(1, rewards = [...rewards, ...rewardsDto]);
		}
	};

	const formatSecondsToDHhMmSs = seconds => {
		if (seconds <= 0) {
			return '00:00:00';
		}

		const days = Math.floor(seconds / (3600 * 24));
		const hours = Math.floor(seconds / 3600);
		const minutes = Math.floor(seconds / 60);
		const formattedHours = Math.floor(hours - days * 24);
		const formattedMinutes = Math.floor(minutes - hours * 60);
		const formattedSeconds = (seconds % 60).toString().padStart(2, '0');

		// eslint-disable-next-line max-len
		return `${days > 0 ? `${days}:` : ''}${formattedHours > 0 ? `${formattedHours}:` : ''}${formattedMinutes > 0 ? `${formattedMinutes}:` : ''}${formattedSeconds}`;
	};

	const unregisterInitializeBannerData = registerEvent('event.rewardBanner.initializeData', initializeBannerData);
	const unregisterInitializeBannerRewards = registerEvent('event.rewardBanner.initializeRewards', initializeRewards);

	onDestroy(() => {
		unregisterInitializeBannerData();
		unregisterInitializeBannerRewards();

		if (!(0,lodash.isNil)(timerIntervalId)) {
			clearInterval(timerIntervalId);
			timerIntervalId = null;
		}
	});

	return [bannerData, rewards, getReward, closeReward, formatSecondsToDHhMmSs];
}

class Reward_banner extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, reward_banner_index_svelte_instance, reward_banner_index_svelte_create_fragment, safe_not_equal, {}, reward_banner_index_svelte_add_css);
	}
}

/* harmony default export */ const reward_banner_index_svelte = (Reward_banner);
;// CONCATENATED MODULE: ./src/views/container-content/components/containers-background/index.svelte
/* src\views\container-content\components\containers-background\index.svelte generated by Svelte v3.49.0 */


function containers_background_index_svelte_create_fragment(ctx) {
	let svg;
	let g0;
	let path0;
	let g1;
	let path1;
	let g2;
	let ellipse;
	let defs;
	let filter0;
	let feFlood0;
	let feBlend0;
	let feGaussianBlur0;
	let filter1;
	let feFlood1;
	let feBlend1;
	let feGaussianBlur1;
	let filter2;
	let feFlood2;
	let feBlend2;
	let feGaussianBlur2;
	let radialGradient0;
	let stop0;
	let stop1;
	let radialGradient1;
	let stop2;
	let stop3;

	return {
		c() {
			svg = svg_element("svg");
			g0 = svg_element("g");
			path0 = svg_element("path");
			g1 = svg_element("g");
			path1 = svg_element("path");
			g2 = svg_element("g");
			ellipse = svg_element("ellipse");
			defs = svg_element("defs");
			filter0 = svg_element("filter");
			feFlood0 = svg_element("feFlood");
			feBlend0 = svg_element("feBlend");
			feGaussianBlur0 = svg_element("feGaussianBlur");
			filter1 = svg_element("filter");
			feFlood1 = svg_element("feFlood");
			feBlend1 = svg_element("feBlend");
			feGaussianBlur1 = svg_element("feGaussianBlur");
			filter2 = svg_element("filter");
			feFlood2 = svg_element("feFlood");
			feBlend2 = svg_element("feBlend");
			feGaussianBlur2 = svg_element("feGaussianBlur");
			radialGradient0 = svg_element("radialGradient");
			stop0 = svg_element("stop");
			stop1 = svg_element("stop");
			radialGradient1 = svg_element("radialGradient");
			stop2 = svg_element("stop");
			stop3 = svg_element("stop");
			attr(path0, "d", "M-200.747 -565.962C-32.783 -662.936 332.439 -339.354 611.505 157.151C890.571 653.656 981.636 1133.54 810.825 1232.15C642.862 1329.13 277.64 1005.54 -1.42596 509.04C-280.492 12.535 -368.71 -468.989 -200.747 -565.962Z");
			attr(path0, "fill", /*mainColor*/ ctx[0]);
			attr(path0, "fill-opacity", "0.5");
			attr(g0, "filter", "url(#filter0_f_2001_9)");
			attr(path1, "d", "M-106.24 -715.445C-38.9176 -754.314 246.133 -384.444 528.61 110.091C811.087 604.626 985.736 1036.25 917.273 1075.78C849.951 1114.65 564.9 744.776 282.423 250.24C-0.0540556 -244.295 -173.562 -676.577 -106.24 -715.445Z");
			attr(path1, "fill", /*mainColor*/ ctx[0]);
			attr(path1, "fill-opacity", "0.5");
			attr(g1, "filter", "url(#filter1_f_2001_9)");
			attr(ellipse, "cx", "715.329");
			attr(ellipse, "cy", "442.196");
			attr(ellipse, "rx", "715.329");
			attr(ellipse, "ry", "442.196");
			attr(ellipse, "transform", "matrix(-0.895485 0.445092 0.445092 0.895485 810.132 249.426)");
			attr(ellipse, "fill", "black");
			attr(ellipse, "fill-opacity", "0.5");
			attr(g2, "filter", "url(#filter2_f_2001_9)");
			attr(feFlood0, "flood-opacity", "0");
			attr(feFlood0, "result", "BackgroundImageFix");
			attr(feBlend0, "mode", "normal");
			attr(feBlend0, "in", "SourceGraphic");
			attr(feBlend0, "in2", "BackgroundImageFix");
			attr(feBlend0, "result", "shape");
			attr(feGaussianBlur0, "stdDeviation", "125");
			attr(feGaussianBlur0, "result", "effect1_foregroundBlur_2001_9");
			attr(filter0, "id", "filter0_f_2001_9");
			attr(filter0, "x", "-535.799");
			attr(filter0, "y", "-833.133");
			attr(filter0, "width", "1682.94");
			attr(filter0, "height", "2332.46");
			attr(filter0, "filterUnits", "userSpaceOnUse");
			attr(filter0, "color-interpolation-filters", "sRGB");
			attr(feFlood1, "flood-opacity", "0");
			attr(feFlood1, "result", "BackgroundImageFix");
			attr(feBlend1, "mode", "normal");
			attr(feBlend1, "in", "SourceGraphic");
			attr(feBlend1, "in2", "BackgroundImageFix");
			attr(feBlend1, "result", "shape");
			attr(feGaussianBlur1, "stdDeviation", "125");
			attr(feGaussianBlur1, "result", "effect1_foregroundBlur_2001_9");
			attr(filter1, "id", "filter1_f_2001_9");
			attr(filter1, "x", "-370.737");
			attr(filter1, "y", "-968.249");
			attr(filter1, "width", "1552.87");
			attr(filter1, "height", "2296.83");
			attr(filter1, "filterUnits", "userSpaceOnUse");
			attr(filter1, "color-interpolation-filters", "sRGB");
			attr(feFlood2, "flood-opacity", "0");
			attr(feFlood2, "result", "BackgroundImageFix");
			attr(feBlend2, "mode", "normal");
			attr(feBlend2, "in", "SourceGraphic");
			attr(feBlend2, "in2", "BackgroundImageFix");
			attr(feBlend2, "result", "shape");
			attr(feGaussianBlur2, "stdDeviation", "44.05");
			attr(feGaussianBlur2, "result", "effect1_foregroundBlur_2001_9");
			attr(filter2, "id", "filter2_f_2001_9");
			attr(filter2, "x", "-392.015");
			attr(filter2, "y", "367.57");
			attr(filter2, "width", "1516.8");
			attr(filter2, "height", "1192.45");
			attr(filter2, "filterUnits", "userSpaceOnUse");
			attr(filter2, "color-interpolation-filters", "sRGB");
			attr(stop0, "stop-color", "#86CD7F");
			attr(stop1, "offset", "1");
			attr(stop1, "stop-opacity", "0");
			attr(radialGradient0, "id", "paint0_radial_2001_9");
			attr(radialGradient0, "cx", "0");
			attr(radialGradient0, "cy", "0");
			attr(radialGradient0, "r", "1");
			attr(radialGradient0, "gradientUnits", "userSpaceOnUse");
			attr(radialGradient0, "gradientTransform", "translate(306.009 333.006) rotate(-119.324) scale(1031.13 354.052)");
			attr(stop2, "stop-color", "#86CD7F");
			attr(stop3, "offset", "1");
			attr(stop3, "stop-opacity", "0");
			attr(radialGradient1, "id", "paint1_radial_2001_9");
			attr(radialGradient1, "cx", "0");
			attr(radialGradient1, "cy", "0");
			attr(radialGradient1, "r", "1");
			attr(radialGradient1, "gradientUnits", "userSpaceOnUse");
			attr(radialGradient1, "gradientTransform", "translate(406.027 180.341) rotate(-119.729) scale(1031.07 141.917)");
			attr(svg, "width", "");
			attr(svg, "height", "");
			attr(svg, "viewBox", "0 0 1204 1080");
			attr(svg, "fill", "none");
			attr(svg, "xmlns", "http://www.w3.org/2000/svg");
		},
		m(target, anchor) {
			insert(target, svg, anchor);
			append(svg, g0);
			append(g0, path0);
			append(svg, g1);
			append(g1, path1);
			append(svg, g2);
			append(g2, ellipse);
			append(svg, defs);
			append(defs, filter0);
			append(filter0, feFlood0);
			append(filter0, feBlend0);
			append(filter0, feGaussianBlur0);
			append(defs, filter1);
			append(filter1, feFlood1);
			append(filter1, feBlend1);
			append(filter1, feGaussianBlur1);
			append(defs, filter2);
			append(filter2, feFlood2);
			append(filter2, feBlend2);
			append(filter2, feGaussianBlur2);
			append(defs, radialGradient0);
			append(radialGradient0, stop0);
			append(radialGradient0, stop1);
			append(defs, radialGradient1);
			append(radialGradient1, stop2);
			append(radialGradient1, stop3);
		},
		p(ctx, [dirty]) {
			if (dirty & /*mainColor*/ 1) {
				attr(path0, "fill", /*mainColor*/ ctx[0]);
			}

			if (dirty & /*mainColor*/ 1) {
				attr(path1, "fill", /*mainColor*/ ctx[0]);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(svg);
		}
	};
}

function containers_background_index_svelte_instance($$self, $$props, $$invalidate) {
	let { mainColor } = $$props;

	$$self.$$set = $$props => {
		if ('mainColor' in $$props) $$invalidate(0, mainColor = $$props.mainColor);
	};

	return [mainColor];
}

class Containers_background extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, containers_background_index_svelte_instance, containers_background_index_svelte_create_fragment, safe_not_equal, { mainColor: 0 });
	}
}

/* harmony default export */ const containers_background_index_svelte = (Containers_background);
;// CONCATENATED MODULE: ./src/views/container-content/index.svelte
/* src\views\container-content\index.svelte generated by Svelte v3.49.0 */









// import { CONTAINER_MOCK } from './mocks';


function container_content_index_svelte_add_css(target) {
	append_styles(target, "svelte-9roq7a", "@keyframes svelte-9roq7a-blinking{50%{opacity:0}}@keyframes svelte-9roq7a-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-9roq7a-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-9roq7a-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-9roq7a-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-9roq7a-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-9roq7a-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-9roq7a-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-9roq7a-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-9roq7a-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-9roq7a-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-9roq7a-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-9roq7a-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-9roq7a-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-9roq7a-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.container-content.svelte-9roq7a{display:flex;align-items:center;justify-content:center;width:100vw;height:100vh;background:rgba(19, 21, 22, 0.95)}.container-content__background-wrapper.svelte-9roq7a{position:absolute;left:0;top:0;height:100vh;width:calc(0.6270833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__background-wrapper.svelte-9roq7a{width:calc(0.6270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__background-wrapper.svelte-9roq7a{width:calc(0.6270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__background-wrapper.svelte-9roq7a{width:calc(0.4828541667 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__background-wrapper.svelte-9roq7a{width:calc(0.6897916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__background-wrapper.svelte-9roq7a{width:calc(0.4389583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__background-wrapper.svelte-9roq7a{width:calc(0.564375 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__background-wrapper.svelte-9roq7a{width:calc(0.6897916667 * 100vw + 0px)}}.container-content__img.svelte-9roq7a{position:absolute;left:0;pointer-events:none;height:calc(0.5625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__img.svelte-9roq7a{height:calc(0.5625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__img.svelte-9roq7a{height:calc(0.5625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__img.svelte-9roq7a{height:calc(0.433125 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__img.svelte-9roq7a{height:calc(0.61875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__img.svelte-9roq7a{height:calc(0.39375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__img.svelte-9roq7a{height:calc(0.50625 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__img.svelte-9roq7a{height:calc(0.61875 * 100vw + 0px)}}.container-content__reward.svelte-9roq7a{position:absolute;right:calc(0.1645833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__reward.svelte-9roq7a{right:calc(0.1645833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__reward.svelte-9roq7a{right:calc(0.1645833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__reward.svelte-9roq7a{right:calc(0.1267291667 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__reward.svelte-9roq7a{right:calc(0.1810416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__reward.svelte-9roq7a{right:calc(0.1152083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__reward.svelte-9roq7a{right:calc(0.148125 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__reward.svelte-9roq7a{right:calc(0.1810416667 * 100vw + 0px)}}.container-content__reward-title.svelte-9roq7a{color:#FFFFFF;font-family:PFDinDisplayProRegular;font-weight:700;font-size:calc(0.05 * 100vw + 0px);margin-bottom:calc(0.0208333333 * 100vw + 0px);width:calc(0.2770833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__reward-title.svelte-9roq7a{font-size:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__reward-title.svelte-9roq7a{font-size:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__reward-title.svelte-9roq7a{font-size:calc(0.0385 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__reward-title.svelte-9roq7a{font-size:calc(0.055 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__reward-title.svelte-9roq7a{font-size:calc(0.035 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__reward-title.svelte-9roq7a{font-size:calc(0.045 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__reward-title.svelte-9roq7a{font-size:calc(0.055 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__reward-title.svelte-9roq7a{margin-bottom:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__reward-title.svelte-9roq7a{margin-bottom:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__reward-title.svelte-9roq7a{margin-bottom:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__reward-title.svelte-9roq7a{margin-bottom:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__reward-title.svelte-9roq7a{margin-bottom:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__reward-title.svelte-9roq7a{margin-bottom:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__reward-title.svelte-9roq7a{margin-bottom:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__reward-title.svelte-9roq7a{width:calc(0.2770833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__reward-title.svelte-9roq7a{width:calc(0.2770833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__reward-title.svelte-9roq7a{width:calc(0.2133541667 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__reward-title.svelte-9roq7a{width:calc(0.3047916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__reward-title.svelte-9roq7a{width:calc(0.1939583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__reward-title.svelte-9roq7a{width:calc(0.249375 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__reward-title.svelte-9roq7a{width:calc(0.3047916667 * 100vw + 0px)}}.container-content__reward-title-highlight.svelte-9roq7a{color:var(--mainColor)}.container-content__reward-item-wrapper.svelte-9roq7a{display:flex;flex-wrap:wrap;gap:calc(0.0104166667 * 100vw + 0px);width:calc(0.2770833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__reward-item-wrapper.svelte-9roq7a{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__reward-item-wrapper.svelte-9roq7a{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__reward-item-wrapper.svelte-9roq7a{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__reward-item-wrapper.svelte-9roq7a{gap:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__reward-item-wrapper.svelte-9roq7a{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__reward-item-wrapper.svelte-9roq7a{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__reward-item-wrapper.svelte-9roq7a{gap:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__reward-item-wrapper.svelte-9roq7a{width:calc(0.2770833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__reward-item-wrapper.svelte-9roq7a{width:calc(0.2770833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__reward-item-wrapper.svelte-9roq7a{width:calc(0.2133541667 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__reward-item-wrapper.svelte-9roq7a{width:calc(0.3047916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__reward-item-wrapper.svelte-9roq7a{width:calc(0.1939583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__reward-item-wrapper.svelte-9roq7a{width:calc(0.249375 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__reward-item-wrapper.svelte-9roq7a{width:calc(0.3047916667 * 100vw + 0px)}}.container-content__reward-item.svelte-9roq7a{position:relative;display:flex;flex-direction:column;justify-content:space-between;text-align:right;background-color:rgba(255, 255, 255, 0.15);border:solid rgba(255, 255, 255, 0.15);border-width:calc(0.0010416667 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.0854166667 * 100vw + 0px);height:calc(0.0854166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__reward-item.svelte-9roq7a{border-width:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__reward-item.svelte-9roq7a{border-width:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__reward-item.svelte-9roq7a{border-width:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__reward-item.svelte-9roq7a{border-width:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__reward-item.svelte-9roq7a{border-width:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__reward-item.svelte-9roq7a{border-width:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__reward-item.svelte-9roq7a{border-width:calc(0.0011458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__reward-item.svelte-9roq7a{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__reward-item.svelte-9roq7a{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__reward-item.svelte-9roq7a{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__reward-item.svelte-9roq7a{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__reward-item.svelte-9roq7a{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__reward-item.svelte-9roq7a{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__reward-item.svelte-9roq7a{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__reward-item.svelte-9roq7a{width:calc(0.0854166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__reward-item.svelte-9roq7a{width:calc(0.0854166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__reward-item.svelte-9roq7a{width:calc(0.0657708333 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__reward-item.svelte-9roq7a{width:calc(0.0939583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__reward-item.svelte-9roq7a{width:calc(0.0597916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__reward-item.svelte-9roq7a{width:calc(0.076875 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__reward-item.svelte-9roq7a{width:calc(0.0939583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__reward-item.svelte-9roq7a{height:calc(0.0854166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__reward-item.svelte-9roq7a{height:calc(0.0854166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__reward-item.svelte-9roq7a{height:calc(0.0657708333 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__reward-item.svelte-9roq7a{height:calc(0.0939583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__reward-item.svelte-9roq7a{height:calc(0.0597916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__reward-item.svelte-9roq7a{height:calc(0.076875 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__reward-item.svelte-9roq7a{height:calc(0.0939583333 * 100vw + 0px)}}.container-content__reward-item-count.svelte-9roq7a{color:#FFFFFF;font-family:PFDinDisplayProRegular;font-weight:700;font-size:calc(0.0125 * 100vw + 0px);margin-top:calc(0.003125 * 100vw + 0px);margin-right:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__reward-item-count.svelte-9roq7a{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__reward-item-count.svelte-9roq7a{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__reward-item-count.svelte-9roq7a{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__reward-item-count.svelte-9roq7a{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__reward-item-count.svelte-9roq7a{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__reward-item-count.svelte-9roq7a{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__reward-item-count.svelte-9roq7a{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__reward-item-count.svelte-9roq7a{margin-top:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__reward-item-count.svelte-9roq7a{margin-top:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__reward-item-count.svelte-9roq7a{margin-top:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__reward-item-count.svelte-9roq7a{margin-top:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__reward-item-count.svelte-9roq7a{margin-top:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__reward-item-count.svelte-9roq7a{margin-top:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__reward-item-count.svelte-9roq7a{margin-top:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__reward-item-count.svelte-9roq7a{margin-right:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__reward-item-count.svelte-9roq7a{margin-right:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__reward-item-count.svelte-9roq7a{margin-right:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__reward-item-count.svelte-9roq7a{margin-right:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__reward-item-count.svelte-9roq7a{margin-right:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__reward-item-count.svelte-9roq7a{margin-right:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__reward-item-count.svelte-9roq7a{margin-right:calc(0.0045833333 * 100vw + 0px)}}.container-content__reward-item-img-wrapper.svelte-9roq7a{position:absolute;display:flex;justify-content:center;align-items:center;width:calc(0.0854166667 * 100vw + 0px);height:calc(0.0854166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__reward-item-img-wrapper.svelte-9roq7a{width:calc(0.0854166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__reward-item-img-wrapper.svelte-9roq7a{width:calc(0.0854166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__reward-item-img-wrapper.svelte-9roq7a{width:calc(0.0657708333 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__reward-item-img-wrapper.svelte-9roq7a{width:calc(0.0939583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__reward-item-img-wrapper.svelte-9roq7a{width:calc(0.0597916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__reward-item-img-wrapper.svelte-9roq7a{width:calc(0.076875 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__reward-item-img-wrapper.svelte-9roq7a{width:calc(0.0939583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__reward-item-img-wrapper.svelte-9roq7a{height:calc(0.0854166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__reward-item-img-wrapper.svelte-9roq7a{height:calc(0.0854166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__reward-item-img-wrapper.svelte-9roq7a{height:calc(0.0657708333 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__reward-item-img-wrapper.svelte-9roq7a{height:calc(0.0939583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__reward-item-img-wrapper.svelte-9roq7a{height:calc(0.0597916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__reward-item-img-wrapper.svelte-9roq7a{height:calc(0.076875 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__reward-item-img-wrapper.svelte-9roq7a{height:calc(0.0939583333 * 100vw + 0px)}}.container-content__reward-item-img.svelte-9roq7a{pointer-events:none;height:calc(0.0666666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__reward-item-img.svelte-9roq7a{height:calc(0.0666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__reward-item-img.svelte-9roq7a{height:calc(0.0666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__reward-item-img.svelte-9roq7a{height:calc(0.0513333333 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__reward-item-img.svelte-9roq7a{height:calc(0.0733333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__reward-item-img.svelte-9roq7a{height:calc(0.0466666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__reward-item-img.svelte-9roq7a{height:calc(0.06 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__reward-item-img.svelte-9roq7a{height:calc(0.0733333333 * 100vw + 0px)}}.container-content__reward-item-title.svelte-9roq7a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#FFFFFF;font-family:PFDinDisplayProRegular;font-weight:700;z-index:1;font-size:calc(0.0104166667 * 100vw + 0px);margin-bottom:calc(0.0057291667 * 100vw + 0px);margin-right:calc(0.0041666667 * 100vw + 0px);margin-left:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__reward-item-title.svelte-9roq7a{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__reward-item-title.svelte-9roq7a{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__reward-item-title.svelte-9roq7a{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__reward-item-title.svelte-9roq7a{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__reward-item-title.svelte-9roq7a{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__reward-item-title.svelte-9roq7a{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__reward-item-title.svelte-9roq7a{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__reward-item-title.svelte-9roq7a{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__reward-item-title.svelte-9roq7a{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__reward-item-title.svelte-9roq7a{margin-bottom:calc(0.0044114583 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__reward-item-title.svelte-9roq7a{margin-bottom:calc(0.0063020833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__reward-item-title.svelte-9roq7a{margin-bottom:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__reward-item-title.svelte-9roq7a{margin-bottom:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__reward-item-title.svelte-9roq7a{margin-bottom:calc(0.0063020833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__reward-item-title.svelte-9roq7a{margin-right:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__reward-item-title.svelte-9roq7a{margin-right:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__reward-item-title.svelte-9roq7a{margin-right:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__reward-item-title.svelte-9roq7a{margin-right:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__reward-item-title.svelte-9roq7a{margin-right:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__reward-item-title.svelte-9roq7a{margin-right:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__reward-item-title.svelte-9roq7a{margin-right:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__reward-item-title.svelte-9roq7a{margin-left:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__reward-item-title.svelte-9roq7a{margin-left:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__reward-item-title.svelte-9roq7a{margin-left:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__reward-item-title.svelte-9roq7a{margin-left:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__reward-item-title.svelte-9roq7a{margin-left:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__reward-item-title.svelte-9roq7a{margin-left:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__reward-item-title.svelte-9roq7a{margin-left:calc(0.0045833333 * 100vw + 0px)}}.container-content__reward-button.svelte-9roq7a{display:flex;align-items:center;justify-content:center;cursor:pointer;background-color:var(--mainColor);box-shadow:0 0 20px 0 var(--mainColor);transition:background-color 0.2s linear;border-radius:calc(0.00625 * 100vw + 0px);width:calc(0.2770833333 * 100vw + 0px);height:calc(0.0354166667 * 100vw + 0px);margin-top:calc(0.03125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__reward-button.svelte-9roq7a{border-radius:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__reward-button.svelte-9roq7a{border-radius:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__reward-button.svelte-9roq7a{border-radius:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__reward-button.svelte-9roq7a{border-radius:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__reward-button.svelte-9roq7a{border-radius:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__reward-button.svelte-9roq7a{border-radius:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__reward-button.svelte-9roq7a{border-radius:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__reward-button.svelte-9roq7a{width:calc(0.2770833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__reward-button.svelte-9roq7a{width:calc(0.2770833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__reward-button.svelte-9roq7a{width:calc(0.2133541667 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__reward-button.svelte-9roq7a{width:calc(0.3047916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__reward-button.svelte-9roq7a{width:calc(0.1939583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__reward-button.svelte-9roq7a{width:calc(0.249375 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__reward-button.svelte-9roq7a{width:calc(0.3047916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__reward-button.svelte-9roq7a{height:calc(0.0354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__reward-button.svelte-9roq7a{height:calc(0.0354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__reward-button.svelte-9roq7a{height:calc(0.0272708333 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__reward-button.svelte-9roq7a{height:calc(0.0389583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__reward-button.svelte-9roq7a{height:calc(0.0247916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__reward-button.svelte-9roq7a{height:calc(0.031875 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__reward-button.svelte-9roq7a{height:calc(0.0389583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__reward-button.svelte-9roq7a{margin-top:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__reward-button.svelte-9roq7a{margin-top:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__reward-button.svelte-9roq7a{margin-top:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__reward-button.svelte-9roq7a{margin-top:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__reward-button.svelte-9roq7a{margin-top:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__reward-button.svelte-9roq7a{margin-top:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__reward-button.svelte-9roq7a{margin-top:calc(0.034375 * 100vw + 0px)}}.container-content__reward-button.svelte-9roq7a:hover{background-color:var(--hoverColor)}.container-content__reward-button-title.svelte-9roq7a{color:#111111;font-family:PFDinDisplayProRegular;font-weight:700;font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__reward-button-title.svelte-9roq7a{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__reward-button-title.svelte-9roq7a{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__reward-button-title.svelte-9roq7a{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__reward-button-title.svelte-9roq7a{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__reward-button-title.svelte-9roq7a{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__reward-button-title.svelte-9roq7a{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__reward-button-title.svelte-9roq7a{font-size:calc(0.0114583333 * 100vw + 0px)}}");
}

function container_content_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[5] = list[i];
	return child_ctx;
}

// (1255:4) {#if !isEmpty(container)}
function container_content_index_svelte_create_if_block(ctx) {
	let div0;
	let background;
	let t0;
	let img;
	let img_src_value;
	let t1;
	let div3;
	let p0;
	let t4;
	let div1;
	let t5;
	let div2;
	let current;
	let mounted;
	let dispose;

	background = new containers_background_index_svelte({
			props: {
				mainColor: /*container*/ ctx[0].mainColor
			}
		});

	let each_value = /*container*/ ctx[0].items;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = container_content_index_svelte_create_each_block(container_content_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div0 = internal_element("div");
			create_component(background.$$.fragment);
			t0 = space();
			img = internal_element("img");
			t1 = space();
			div3 = internal_element("div");
			p0 = internal_element("p");

			p0.innerHTML = `Заберите содержимое
                <span class="container-content__reward-title-highlight svelte-9roq7a">контейнера</span>`;

			t4 = space();
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t5 = space();
			div2 = internal_element("div");
			div2.innerHTML = `<p class="container-content__reward-button-title svelte-9roq7a">Забрать предметы</p>`;
			attr(div0, "class", "container-content__background-wrapper svelte-9roq7a");
			attr(img, "class", "container-content__img svelte-9roq7a");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/nft_container/${/*container*/ ctx[0].logo}`)) attr(img, "src", img_src_value);
			attr(img, "alt", "logo");
			attr(p0, "class", "container-content__reward-title svelte-9roq7a");
			attr(div1, "class", "container-content__reward-item-wrapper svelte-9roq7a");
			attr(div2, "class", "container-content__reward-button svelte-9roq7a");
			attr(div3, "class", "container-content__reward svelte-9roq7a");
		},
		m(target, anchor) {
			insert(target, div0, anchor);
			mount_component(background, div0, null);
			insert(target, t0, anchor);
			insert(target, img, anchor);
			insert(target, t1, anchor);
			insert(target, div3, anchor);
			append(div3, p0);
			append(div3, t4);
			append(div3, div1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}

			append(div3, t5);
			append(div3, div2);
			current = true;

			if (!mounted) {
				dispose = listen(div2, "click", /*takeItems*/ ctx[2]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			const background_changes = {};
			if (dirty & /*container*/ 1) background_changes.mainColor = /*container*/ ctx[0].mainColor;
			background.$set(background_changes);

			if (!current || dirty & /*container*/ 1 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/nft_container/${/*container*/ ctx[0].logo}`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*container, CDN_ITEMS_URL*/ 1) {
				each_value = /*container*/ ctx[0].items;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = container_content_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = container_content_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div1, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i(local) {
			if (current) return;
			transition_in(background.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(background.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div0);
			destroy_component(background);
			if (detaching) detach(t0);
			if (detaching) detach(img);
			if (detaching) detach(t1);
			if (detaching) detach(div3);
			destroy_each(each_blocks, detaching);
			mounted = false;
			dispose();
		}
	};
}

// (1272:20) {#each container.items as item}
function container_content_index_svelte_create_each_block(ctx) {
	let div1;
	let p0;
	let t0_value = /*item*/ ctx[5].count + "";
	let t0;
	let t1;
	let div0;
	let img;
	let img_src_value;
	let t2;
	let p1;
	let t3_value = /*item*/ ctx[5].title + "";
	let t3;
	let t4;

	return {
		c() {
			div1 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			div0 = internal_element("div");
			img = internal_element("img");
			t2 = space();
			p1 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = space();
			attr(p0, "class", "container-content__reward-item-count svelte-9roq7a");
			attr(img, "class", "container-content__reward-item-img svelte-9roq7a");
			if (!src_url_equal(img.src, img_src_value = `${CDN_ITEMS_URL}/${/*item*/ ctx[5].sysName}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "item");
			attr(div0, "class", "container-content__reward-item-img-wrapper svelte-9roq7a");
			attr(p1, "class", "container-content__reward-item-title svelte-9roq7a");
			attr(div1, "class", "container-content__reward-item svelte-9roq7a");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, p0);
			append(p0, t0);
			append(div1, t1);
			append(div1, div0);
			append(div0, img);
			append(div1, t2);
			append(div1, p1);
			append(p1, t3);
			append(div1, t4);
		},
		p(ctx, dirty) {
			if (dirty & /*container*/ 1 && t0_value !== (t0_value = /*item*/ ctx[5].count + "")) set_data(t0, t0_value);

			if (dirty & /*container*/ 1 && !src_url_equal(img.src, img_src_value = `${CDN_ITEMS_URL}/${/*item*/ ctx[5].sysName}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*container*/ 1 && t3_value !== (t3_value = /*item*/ ctx[5].title + "")) set_data(t3, t3_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

function container_content_index_svelte_create_fragment(ctx) {
	let div;
	let exitbutton;
	let t;
	let show_if = !(0,lodash.isEmpty)(/*container*/ ctx[0]);
	let div_style_value;
	let current;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[1],
				fixedPosition: true
			}
		});

	let if_block = show_if && container_content_index_svelte_create_if_block(ctx);

	return {
		c() {
			div = internal_element("div");
			create_component(exitbutton.$$.fragment);
			t = space();
			if (if_block) if_block.c();
			attr(div, "class", "container-content svelte-9roq7a");
			attr(div, "style", div_style_value = `--mainColor: ${/*container*/ ctx[0].mainColor}; --hoverColor: ${/*container*/ ctx[0].mainColor}95`);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(exitbutton, div, null);
			append(div, t);
			if (if_block) if_block.m(div, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*container*/ 1) show_if = !(0,lodash.isEmpty)(/*container*/ ctx[0]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*container*/ 1) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = container_content_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(div, null);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}

			if (!current || dirty & /*container*/ 1 && div_style_value !== (div_style_value = `--mainColor: ${/*container*/ ctx[0].mainColor}; --hoverColor: ${/*container*/ ctx[0].mainColor}95`)) {
				attr(div, "style", div_style_value);
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(exitbutton);
			if (if_block) if_block.d();
		}
	};
}

function container_content_index_svelte_instance($$self, $$props, $$invalidate) {
	let container = {};

	const initContainer = containerDto => {
		$$invalidate(0, container = containerDto);
	};

	const handleClose = () => {
		sendClientMessage('containerContent.closeMenu');
	};

	const takeItems = () => {
		handleClose();
	};

	const unregisterInitContainerEvent = registerEvent('containerContent.initialize', initContainer);

	onDestroy(() => {
		unregisterInitContainerEvent();
	});

	return [container, handleClose, takeItems];
}

class Container_content extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, container_content_index_svelte_instance, container_content_index_svelte_create_fragment, safe_not_equal, {}, container_content_index_svelte_add_css);
	}
}

/* harmony default export */ const container_content_index_svelte = (Container_content);
;// CONCATENATED MODULE: ./src/views/containers-auction/img/masked-containers.png
const masked_containers_namespaceObject = __webpack_require__.p + "assets/deafa680b15034fc034b.webp";
;// CONCATENATED MODULE: ./src/views/containers-auction/components/container-item/index.svelte
/* src\views\containers-auction\components\container-item\index.svelte generated by Svelte v3.49.0 */




function container_item_index_svelte_add_css(target) {
	append_styles(target, "svelte-1ypkd1a", "@keyframes svelte-1ypkd1a-blinking{50%{opacity:0}}@keyframes svelte-1ypkd1a-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1ypkd1a-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1ypkd1a-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1ypkd1a-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1ypkd1a-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1ypkd1a-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1ypkd1a-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1ypkd1a-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1ypkd1a-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1ypkd1a-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1ypkd1a-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1ypkd1a-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1ypkd1a-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1ypkd1a-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.container-auction-item.svelte-1ypkd1a{position:relative;display:flex;flex-direction:column;border-style:solid;border-color:rgba(255, 255, 255, 0.45);cursor:pointer;border-width:calc(0.0005208333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.1171875 * 100vw + 0px);height:calc(0.1171875 * 100vw + 0px);margin-right:calc(0.0130208333 * 100vw + 0px);padding-top:calc(0.0078125 * 100vw + 0px);padding-bottom:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-auction-item.svelte-1ypkd1a{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-item.svelte-1ypkd1a{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-item.svelte-1ypkd1a{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-item.svelte-1ypkd1a{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-item.svelte-1ypkd1a{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-item.svelte-1ypkd1a{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-item.svelte-1ypkd1a{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-item.svelte-1ypkd1a{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-item.svelte-1ypkd1a{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-item.svelte-1ypkd1a{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-item.svelte-1ypkd1a{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-item.svelte-1ypkd1a{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-item.svelte-1ypkd1a{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-item.svelte-1ypkd1a{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-item.svelte-1ypkd1a{width:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-item.svelte-1ypkd1a{width:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-item.svelte-1ypkd1a{width:calc(0.090234375 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-item.svelte-1ypkd1a{width:calc(0.12890625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-item.svelte-1ypkd1a{width:calc(0.08203125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-item.svelte-1ypkd1a{width:calc(0.10546875 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-item.svelte-1ypkd1a{width:calc(0.12890625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-item.svelte-1ypkd1a{height:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-item.svelte-1ypkd1a{height:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-item.svelte-1ypkd1a{height:calc(0.090234375 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-item.svelte-1ypkd1a{height:calc(0.12890625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-item.svelte-1ypkd1a{height:calc(0.08203125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-item.svelte-1ypkd1a{height:calc(0.10546875 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-item.svelte-1ypkd1a{height:calc(0.12890625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-item.svelte-1ypkd1a{margin-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-item.svelte-1ypkd1a{margin-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-item.svelte-1ypkd1a{margin-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-item.svelte-1ypkd1a{margin-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-item.svelte-1ypkd1a{margin-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-item.svelte-1ypkd1a{margin-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-item.svelte-1ypkd1a{margin-right:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-item.svelte-1ypkd1a{padding-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-item.svelte-1ypkd1a{padding-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-item.svelte-1ypkd1a{padding-top:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-item.svelte-1ypkd1a{padding-top:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-item.svelte-1ypkd1a{padding-top:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-item.svelte-1ypkd1a{padding-top:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-item.svelte-1ypkd1a{padding-top:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-item.svelte-1ypkd1a{padding-bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-item.svelte-1ypkd1a{padding-bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-item.svelte-1ypkd1a{padding-bottom:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-item.svelte-1ypkd1a{padding-bottom:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-item.svelte-1ypkd1a{padding-bottom:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-item.svelte-1ypkd1a{padding-bottom:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-item.svelte-1ypkd1a{padding-bottom:calc(0.00859375 * 100vw + 0px)}}.container-auction-item__badge-wrapper.svelte-1ypkd1a{width:100%;display:flex;justify-content:end;align-items:center;padding-right:calc(0.0078125 * 100vw + 0px);height:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-auction-item__badge-wrapper.svelte-1ypkd1a{padding-right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-item__badge-wrapper.svelte-1ypkd1a{padding-right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-item__badge-wrapper.svelte-1ypkd1a{padding-right:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-item__badge-wrapper.svelte-1ypkd1a{padding-right:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-item__badge-wrapper.svelte-1ypkd1a{padding-right:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-item__badge-wrapper.svelte-1ypkd1a{padding-right:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-item__badge-wrapper.svelte-1ypkd1a{padding-right:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-item__badge-wrapper.svelte-1ypkd1a{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-item__badge-wrapper.svelte-1ypkd1a{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-item__badge-wrapper.svelte-1ypkd1a{height:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-item__badge-wrapper.svelte-1ypkd1a{height:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-item__badge-wrapper.svelte-1ypkd1a{height:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-item__badge-wrapper.svelte-1ypkd1a{height:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-item__badge-wrapper.svelte-1ypkd1a{height:calc(0.0143229167 * 100vw + 0px)}}.container-auction-item__badge.svelte-1ypkd1a{margin-left:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-auction-item__badge.svelte-1ypkd1a{margin-left:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-item__badge.svelte-1ypkd1a{margin-left:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-item__badge.svelte-1ypkd1a{margin-left:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-item__badge.svelte-1ypkd1a{margin-left:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-item__badge.svelte-1ypkd1a{margin-left:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-item__badge.svelte-1ypkd1a{margin-left:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-item__badge.svelte-1ypkd1a{margin-left:calc(0.0028645833 * 100vw + 0px)}}.container-auction-item__badge--hot.svelte-1ypkd1a{color:#FFCB5A;font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-auction-item__badge--hot.svelte-1ypkd1a{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-item__badge--hot.svelte-1ypkd1a{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-item__badge--hot.svelte-1ypkd1a{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-item__badge--hot.svelte-1ypkd1a{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-item__badge--hot.svelte-1ypkd1a{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-item__badge--hot.svelte-1ypkd1a{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-item__badge--hot.svelte-1ypkd1a{font-size:calc(0.0114583333 * 100vw + 0px)}}.container-auction-item__badge--scale.svelte-1ypkd1a{display:flex;align-items:center;justify-content:center;background-color:rgba(255, 255, 255, 0.45);border-color:rgba(255, 255, 255, 0.45);color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.00625 * 100vw + 0px);border-radius:calc(0.0026041667 * 100vw + 0px);width:calc(0.0130208333 * 100vw + 0px);height:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-auction-item__badge--scale.svelte-1ypkd1a{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-item__badge--scale.svelte-1ypkd1a{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-item__badge--scale.svelte-1ypkd1a{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-item__badge--scale.svelte-1ypkd1a{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-item__badge--scale.svelte-1ypkd1a{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-item__badge--scale.svelte-1ypkd1a{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-item__badge--scale.svelte-1ypkd1a{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-item__badge--scale.svelte-1ypkd1a{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-item__badge--scale.svelte-1ypkd1a{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-item__badge--scale.svelte-1ypkd1a{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-item__badge--scale.svelte-1ypkd1a{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-item__badge--scale.svelte-1ypkd1a{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-item__badge--scale.svelte-1ypkd1a{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-item__badge--scale.svelte-1ypkd1a{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-item__badge--scale.svelte-1ypkd1a{width:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-item__badge--scale.svelte-1ypkd1a{width:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-item__badge--scale.svelte-1ypkd1a{width:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-item__badge--scale.svelte-1ypkd1a{width:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-item__badge--scale.svelte-1ypkd1a{width:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-item__badge--scale.svelte-1ypkd1a{width:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-item__badge--scale.svelte-1ypkd1a{width:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-item__badge--scale.svelte-1ypkd1a{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-item__badge--scale.svelte-1ypkd1a{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-item__badge--scale.svelte-1ypkd1a{height:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-item__badge--scale.svelte-1ypkd1a{height:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-item__badge--scale.svelte-1ypkd1a{height:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-item__badge--scale.svelte-1ypkd1a{height:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-item__badge--scale.svelte-1ypkd1a{height:calc(0.0143229167 * 100vw + 0px)}}.container-auction-item__image.svelte-1ypkd1a{width:100%;height:auto}.container-auction-item__title.svelte-1ypkd1a{display:flex;justify-content:center;align-items:end;height:100%;color:#FFFFFF;font-family:\"GothamPro\";text-align:center;justify-self:end;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-auction-item__title.svelte-1ypkd1a{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-item__title.svelte-1ypkd1a{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-item__title.svelte-1ypkd1a{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-item__title.svelte-1ypkd1a{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-item__title.svelte-1ypkd1a{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-item__title.svelte-1ypkd1a{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-item__title.svelte-1ypkd1a{font-size:calc(0.0091666667 * 100vw + 0px)}}");
}

// (786:2) {#if container.hot}
function container_item_index_svelte_create_if_block_1(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "container-auction-item__badge container-auction-item__badge--hot ui-fire svelte-1ypkd1a");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (789:2) {#if container.multiplyer}
function container_item_index_svelte_create_if_block(ctx) {
	let span;
	let t_value = `X${/*container*/ ctx[0].multiplyer}` + "";
	let t;

	return {
		c() {
			span = internal_element("span");
			t = internal_text(t_value);
			attr(span, "class", "container-auction-item__badge container-auction-item__badge--scale svelte-1ypkd1a");
		},
		m(target, anchor) {
			insert(target, span, anchor);
			append(span, t);
		},
		p(ctx, dirty) {
			if (dirty & /*container*/ 1 && t_value !== (t_value = `X${/*container*/ ctx[0].multiplyer}` + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

function container_item_index_svelte_create_fragment(ctx) {
	let div1;
	let div0;
	let t0;
	let t1;
	let img;
	let img_src_value;
	let t2;
	let span;
	let t3_value = /*container*/ ctx[0].title + "";
	let t3;
	let if_block0 = /*container*/ ctx[0].hot && container_item_index_svelte_create_if_block_1(ctx);
	let if_block1 = /*container*/ ctx[0].multiplyer && container_item_index_svelte_create_if_block(ctx);

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			if (if_block1) if_block1.c();
			t1 = space();
			img = internal_element("img");
			t2 = space();
			span = internal_element("span");
			t3 = internal_text(t3_value);
			attr(div0, "class", "container-auction-item__badge-wrapper svelte-1ypkd1a");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/container/${/*container*/ ctx[0].image}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "");
			attr(img, "class", "container-auction-item__image svelte-1ypkd1a");
			attr(span, "class", "container-auction-item__title svelte-1ypkd1a");
			attr(div1, "class", "container-auction-item svelte-1ypkd1a");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			if (if_block0) if_block0.m(div0, null);
			append(div0, t0);
			if (if_block1) if_block1.m(div0, null);
			append(div1, t1);
			append(div1, img);
			append(div1, t2);
			append(div1, span);
			append(span, t3);
		},
		p(ctx, [dirty]) {
			if (/*container*/ ctx[0].hot) {
				if (if_block0) {
					
				} else {
					if_block0 = container_item_index_svelte_create_if_block_1(ctx);
					if_block0.c();
					if_block0.m(div0, t0);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (/*container*/ ctx[0].multiplyer) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = container_item_index_svelte_create_if_block(ctx);
					if_block1.c();
					if_block1.m(div0, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty & /*container*/ 1 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/container/${/*container*/ ctx[0].image}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*container*/ 1 && t3_value !== (t3_value = /*container*/ ctx[0].title + "")) set_data(t3, t3_value);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
		}
	};
}

function container_item_index_svelte_instance($$self, $$props, $$invalidate) {
	let { container } = $$props;

	$$self.$$set = $$props => {
		if ('container' in $$props) $$invalidate(0, container = $$props.container);
	};

	return [container];
}

class Container_item extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, container_item_index_svelte_instance, container_item_index_svelte_create_fragment, safe_not_equal, { container: 0 }, container_item_index_svelte_add_css);
	}
}

/* harmony default export */ const container_item_index_svelte = (Container_item);
;// CONCATENATED MODULE: ./src/views/containers-auction/components/preview-screen/index.svelte
/* src\views\containers-auction\components\preview-screen\index.svelte generated by Svelte v3.49.0 */







function preview_screen_index_svelte_add_css(target) {
	append_styles(target, "svelte-11spkyy", "@keyframes svelte-11spkyy-blinking{50%{opacity:0}}@keyframes svelte-11spkyy-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-11spkyy-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-11spkyy-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-11spkyy-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-11spkyy-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-11spkyy-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-11spkyy-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-11spkyy-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-11spkyy-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-11spkyy-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-11spkyy-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-11spkyy-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-11spkyy-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-11spkyy-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.container-auction-preveiw.svelte-11spkyy{position:relative;width:100%;height:100vh;display:flex;flex-direction:row;align-items:center;background-color:rgba(32, 39, 49, 0.85);background-image:url(\"../../img/bg-blue-light.png\"), url(\"../../img/bg-red-light.png\"), url(\"../../img/container-auction-bg-logo.png\");background-repeat:no-repeat;background-size:contain}.container-auction-preveiw__image-wrapper.svelte-11spkyy{min-width:50%;height:100%}.container-auction-preveiw__image.svelte-11spkyy{height:100%;object-fit:cover}.container-auction-preveiw__info.svelte-11spkyy{display:flex;flex-direction:column}.container-auction-preveiw__title.svelte-11spkyy{color:#FFFFFF;font-family:\"GothamPro-Bold\";text-shadow:0px 0.25rem 5.625rem #FFFFFF;font-size:calc(0.05 * 100vw + 0px);margin-bottom:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-auction-preveiw__title.svelte-11spkyy{font-size:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-preveiw__title.svelte-11spkyy{font-size:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-preveiw__title.svelte-11spkyy{font-size:calc(0.0385 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-preveiw__title.svelte-11spkyy{font-size:calc(0.055 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-preveiw__title.svelte-11spkyy{font-size:calc(0.035 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-preveiw__title.svelte-11spkyy{font-size:calc(0.045 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-preveiw__title.svelte-11spkyy{font-size:calc(0.055 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-preveiw__title.svelte-11spkyy{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-preveiw__title.svelte-11spkyy{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-preveiw__title.svelte-11spkyy{margin-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-preveiw__title.svelte-11spkyy{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-preveiw__title.svelte-11spkyy{margin-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-preveiw__title.svelte-11spkyy{margin-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-preveiw__title.svelte-11spkyy{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}.container-auction-preveiw__description.svelte-11spkyy{color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.0104166667 * 100vw + 0px);line-height:calc(0.015625 * 100vw + 0px);margin-bottom:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-auction-preveiw__description.svelte-11spkyy{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-preveiw__description.svelte-11spkyy{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-preveiw__description.svelte-11spkyy{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-preveiw__description.svelte-11spkyy{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-preveiw__description.svelte-11spkyy{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-preveiw__description.svelte-11spkyy{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-preveiw__description.svelte-11spkyy{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-preveiw__description.svelte-11spkyy{line-height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-preveiw__description.svelte-11spkyy{line-height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-preveiw__description.svelte-11spkyy{line-height:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-preveiw__description.svelte-11spkyy{line-height:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-preveiw__description.svelte-11spkyy{line-height:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-preveiw__description.svelte-11spkyy{line-height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-preveiw__description.svelte-11spkyy{line-height:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-preveiw__description.svelte-11spkyy{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-preveiw__description.svelte-11spkyy{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-preveiw__description.svelte-11spkyy{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-preveiw__description.svelte-11spkyy{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-preveiw__description.svelte-11spkyy{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-preveiw__description.svelte-11spkyy{margin-bottom:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-preveiw__description.svelte-11spkyy{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}.container-auction-preveiw__active-auctions.svelte-11spkyy{color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.0125 * 100vw + 0px);line-height:calc(0.01875 * 100vw + 0px);margin-bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-auction-preveiw__active-auctions.svelte-11spkyy{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-preveiw__active-auctions.svelte-11spkyy{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-preveiw__active-auctions.svelte-11spkyy{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-preveiw__active-auctions.svelte-11spkyy{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-preveiw__active-auctions.svelte-11spkyy{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-preveiw__active-auctions.svelte-11spkyy{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-preveiw__active-auctions.svelte-11spkyy{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-preveiw__active-auctions.svelte-11spkyy{line-height:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-preveiw__active-auctions.svelte-11spkyy{line-height:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-preveiw__active-auctions.svelte-11spkyy{line-height:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-preveiw__active-auctions.svelte-11spkyy{line-height:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-preveiw__active-auctions.svelte-11spkyy{line-height:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-preveiw__active-auctions.svelte-11spkyy{line-height:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-preveiw__active-auctions.svelte-11spkyy{line-height:calc(0.020625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-preveiw__active-auctions.svelte-11spkyy{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-preveiw__active-auctions.svelte-11spkyy{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-preveiw__active-auctions.svelte-11spkyy{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-preveiw__active-auctions.svelte-11spkyy{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-preveiw__active-auctions.svelte-11spkyy{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-preveiw__active-auctions.svelte-11spkyy{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-preveiw__active-auctions.svelte-11spkyy{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.container-auction-preveiw__container-scroller-wrapper.svelte-11spkyy{max-width:50vw;position:relative;overflow-x:auto;overflow-y:hidden;margin-bottom:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-auction-preveiw__container-scroller-wrapper.svelte-11spkyy{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-preveiw__container-scroller-wrapper.svelte-11spkyy{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-preveiw__container-scroller-wrapper.svelte-11spkyy{margin-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-preveiw__container-scroller-wrapper.svelte-11spkyy{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-preveiw__container-scroller-wrapper.svelte-11spkyy{margin-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-preveiw__container-scroller-wrapper.svelte-11spkyy{margin-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-preveiw__container-scroller-wrapper.svelte-11spkyy{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}.container-auction-preveiw__container-scroller.svelte-11spkyy{overflow-x:auto;overflow-y:hidden;display:flex;flex-direction:row}.container-auction-preveiw__container-scroller.svelte-11spkyy::-webkit-scrollbar{width:0;height:0}.container-auction-preveiw__container-scroller-fade.svelte-11spkyy{content:\"\";position:absolute;background:linear-gradient(270deg, rgba(32, 39, 49, 0.85) 0%, transparent 15%);top:0;left:0;right:0;bottom:0;pointer-events:none;z-index:1000}.container-auction-preveiw__participate.svelte-11spkyy{display:flex;justify-content:space-between;align-items:center;background-color:#FF2323;cursor:pointer;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.1171875 * 100vw + 0px);height:calc(0.0338541667 * 100vw + 0px);padding-left:calc(0.0145833333 * 100vw + 0px);padding-right:calc(0.0145833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-auction-preveiw__participate.svelte-11spkyy{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-preveiw__participate.svelte-11spkyy{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-preveiw__participate.svelte-11spkyy{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-preveiw__participate.svelte-11spkyy{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-preveiw__participate.svelte-11spkyy{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-preveiw__participate.svelte-11spkyy{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-preveiw__participate.svelte-11spkyy{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-preveiw__participate.svelte-11spkyy{width:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-preveiw__participate.svelte-11spkyy{width:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-preveiw__participate.svelte-11spkyy{width:calc(0.090234375 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-preveiw__participate.svelte-11spkyy{width:calc(0.12890625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-preveiw__participate.svelte-11spkyy{width:calc(0.08203125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-preveiw__participate.svelte-11spkyy{width:calc(0.10546875 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-preveiw__participate.svelte-11spkyy{width:calc(0.12890625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-preveiw__participate.svelte-11spkyy{height:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-preveiw__participate.svelte-11spkyy{height:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-preveiw__participate.svelte-11spkyy{height:calc(0.0260677083 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-preveiw__participate.svelte-11spkyy{height:calc(0.0372395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-preveiw__participate.svelte-11spkyy{height:calc(0.0236979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-preveiw__participate.svelte-11spkyy{height:calc(0.03046875 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-preveiw__participate.svelte-11spkyy{height:calc(0.0372395833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-preveiw__participate.svelte-11spkyy{padding-left:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-preveiw__participate.svelte-11spkyy{padding-left:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-preveiw__participate.svelte-11spkyy{padding-left:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-preveiw__participate.svelte-11spkyy{padding-left:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-preveiw__participate.svelte-11spkyy{padding-left:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-preveiw__participate.svelte-11spkyy{padding-left:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-preveiw__participate.svelte-11spkyy{padding-left:calc(0.0160416667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-preveiw__participate.svelte-11spkyy{padding-right:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-preveiw__participate.svelte-11spkyy{padding-right:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-preveiw__participate.svelte-11spkyy{padding-right:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-preveiw__participate.svelte-11spkyy{padding-right:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-preveiw__participate.svelte-11spkyy{padding-right:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-preveiw__participate.svelte-11spkyy{padding-right:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-preveiw__participate.svelte-11spkyy{padding-right:calc(0.0160416667 * 100vw + 0px)}}.container-auction-preveiw__participate.svelte-11spkyy:hover{box-shadow:0px 0.25rem 3.125rem #FF2323}.container-auction-preveiw__participate-text.svelte-11spkyy{color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-auction-preveiw__participate-text.svelte-11spkyy{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-preveiw__participate-text.svelte-11spkyy{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-preveiw__participate-text.svelte-11spkyy{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-preveiw__participate-text.svelte-11spkyy{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-preveiw__participate-text.svelte-11spkyy{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-preveiw__participate-text.svelte-11spkyy{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-preveiw__participate-text.svelte-11spkyy{font-size:calc(0.0091666667 * 100vw + 0px)}}.container-auction-preveiw__participate-icon.svelte-11spkyy{color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-auction-preveiw__participate-icon.svelte-11spkyy{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-preveiw__participate-icon.svelte-11spkyy{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-preveiw__participate-icon.svelte-11spkyy{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-preveiw__participate-icon.svelte-11spkyy{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-preveiw__participate-icon.svelte-11spkyy{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-preveiw__participate-icon.svelte-11spkyy{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-preveiw__participate-icon.svelte-11spkyy{font-size:calc(0.0091666667 * 100vw + 0px)}}");
}

function preview_screen_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[7] = list[i];
	return child_ctx;
}

// (852:4) {#each containers as container}
function preview_screen_index_svelte_create_each_block(ctx) {
	let div;
	let containeritem;
	let t;
	let current;
	let mounted;
	let dispose;

	containeritem = new container_item_index_svelte({
			props: { container: /*container*/ ctx[7] }
		});

	function click_handler() {
		return /*click_handler*/ ctx[4](/*container*/ ctx[7]);
	}

	return {
		c() {
			div = internal_element("div");
			create_component(containeritem.$$.fragment);
			t = space();
			attr(div, "class", "container-auction-preveiw__container");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(containeritem, div, null);
			append(div, t);
			current = true;

			if (!mounted) {
				dispose = listen(div, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			const containeritem_changes = {};
			if (dirty & /*containers*/ 1) containeritem_changes.container = /*container*/ ctx[7];
			containeritem.$set(containeritem_changes);
		},
		i(local) {
			if (current) return;
			transition_in(containeritem.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(containeritem.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(containeritem);
			mounted = false;
			dispose();
		}
	};
}

function preview_screen_index_svelte_create_fragment(ctx) {
	let div6;
	let div0;
	let img;
	let img_src_value;
	let img_intro;
	let t0;
	let div5;
	let span0;
	let t2;
	let p;
	let t5;
	let span1;
	let t7;
	let div3;
	let div1;
	let t8;
	let div2;
	let t10;
	let div4;
	let current;
	let mounted;
	let dispose;
	let each_value = /*containers*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = preview_screen_index_svelte_create_each_block(preview_screen_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			div6 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div5 = internal_element("div");
			span0 = internal_element("span");
			span0.textContent = "Контейнеры";
			t2 = space();
			p = internal_element("p");
			p.innerHTML = `Заброшенные контейнеры из разных стран поступают в порт <br/> города Los-Santos и торгуются между жителями штата на аукционе!`;
			t5 = space();
			span1 = internal_element("span");
			span1.textContent = "Активные аукционы";
			t7 = space();
			div3 = internal_element("div");
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t8 = space();
			div2 = internal_element("div");
			div2.textContent = " ";
			t10 = space();
			div4 = internal_element("div");

			div4.innerHTML = `<span class="container-auction-preveiw__participate-text svelte-11spkyy">Участвовать</span> 
			<i class="container-auction-preveiw__participate-icon ui-arrow-right svelte-11spkyy"></i>`;

			if (!src_url_equal(img.src, img_src_value = masked_containers_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "");
			attr(img, "class", "container-auction-preveiw__image svelte-11spkyy");
			attr(div0, "class", "container-auction-preveiw__image-wrapper svelte-11spkyy");
			attr(span0, "class", "container-auction-preveiw__title svelte-11spkyy");
			attr(p, "class", "container-auction-preveiw__description svelte-11spkyy");
			attr(span1, "class", "container-auction-preveiw__active-auctions svelte-11spkyy");
			attr(div1, "class", "container-auction-preveiw__container-scroller svelte-11spkyy");
			attr(div2, "class", "container-auction-preveiw__container-scroller-fade svelte-11spkyy");
			attr(div3, "class", "container-auction-preveiw__container-scroller-wrapper svelte-11spkyy");
			attr(div4, "class", "container-auction-preveiw__participate svelte-11spkyy");
			attr(div5, "class", "container-auction-preveiw__info svelte-11spkyy");
			attr(div6, "class", "container-auction-preveiw svelte-11spkyy");
		},
		m(target, anchor) {
			insert(target, div6, anchor);
			append(div6, div0);
			append(div0, img);
			append(div6, t0);
			append(div6, div5);
			append(div5, span0);
			append(div5, t2);
			append(div5, p);
			append(div5, t5);
			append(div5, span1);
			append(div5, t7);
			append(div5, div3);
			append(div3, div1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}

			/*div1_binding*/ ctx[5](div1);
			append(div3, t8);
			append(div3, div2);
			append(div5, t10);
			append(div5, div4);
			current = true;

			if (!mounted) {
				dispose = [
					listen(div1, "wheel", /*handleWheel*/ ctx[2]),
					listen(div4, "click", /*click_handler_1*/ ctx[6])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*pickContainer, containers*/ 9) {
				each_value = /*containers*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = preview_screen_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = preview_screen_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div1, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			if (!img_intro) {
				add_render_callback(() => {
					img_intro = create_in_transition(img, fade, {});
					img_intro.start();
				});
			}

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div6);
			destroy_each(each_blocks, detaching);
			/*div1_binding*/ ctx[5](null);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function preview_screen_index_svelte_instance($$self, $$props, $$invalidate) {
	let { containers } = $$props;
	let scrollTarget;

	const handleWheel = e => {
		if (e.wheelDelta < 0) {
			$$invalidate(1, scrollTarget.scrollLeft += e.offsetY, scrollTarget);
		} else {
			$$invalidate(1, scrollTarget.scrollLeft -= e.offsetY, scrollTarget);
		}
	};

	const pickContainer = container => {
		sendClientMessage('pickContainer', container.id);
	};

	const click_handler = container => pickContainer(container);

	function div1_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			scrollTarget = $$value;
			$$invalidate(1, scrollTarget);
		});
	}

	const click_handler_1 = () => pickContainer(containers[0]);

	$$self.$$set = $$props => {
		if ('containers' in $$props) $$invalidate(0, containers = $$props.containers);
	};

	return [
		containers,
		scrollTarget,
		handleWheel,
		pickContainer,
		click_handler,
		div1_binding,
		click_handler_1
	];
}

class Preview_screen extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, preview_screen_index_svelte_instance, preview_screen_index_svelte_create_fragment, safe_not_equal, { containers: 0 }, preview_screen_index_svelte_add_css);
	}
}

/* harmony default export */ const preview_screen_index_svelte = (Preview_screen);
;// CONCATENATED MODULE: ./src/views/containers-auction/components/reward-item/index.svelte
/* src\views\containers-auction\components\reward-item\index.svelte generated by Svelte v3.49.0 */




function reward_item_index_svelte_add_css(target) {
	append_styles(target, "svelte-1dfm2av", "@keyframes svelte-1dfm2av-blinking{50%{opacity:0}}@keyframes svelte-1dfm2av-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1dfm2av-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1dfm2av-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1dfm2av-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1dfm2av-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1dfm2av-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1dfm2av-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1dfm2av-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1dfm2av-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1dfm2av-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1dfm2av-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1dfm2av-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1dfm2av-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1dfm2av-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.reward-item.svelte-1dfm2av{display:flex;flex-direction:column;align-items:center}.reward-item__image-wrapper.svelte-1dfm2av{width:calc(0.0666666667 * 100vw + 0px);height:calc(0.0666666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.reward-item__image-wrapper.svelte-1dfm2av{width:calc(0.0666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-item__image-wrapper.svelte-1dfm2av{width:calc(0.0666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-item__image-wrapper.svelte-1dfm2av{width:calc(0.0513333333 * 100vw + 0px)}}@media(min-width: 3440px){.reward-item__image-wrapper.svelte-1dfm2av{width:calc(0.0733333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-item__image-wrapper.svelte-1dfm2av{width:calc(0.0466666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-item__image-wrapper.svelte-1dfm2av{width:calc(0.06 * 100vw + 0px)}}@media(min-width: 4096px){.reward-item__image-wrapper.svelte-1dfm2av{width:calc(0.0733333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.reward-item__image-wrapper.svelte-1dfm2av{height:calc(0.0666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-item__image-wrapper.svelte-1dfm2av{height:calc(0.0666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-item__image-wrapper.svelte-1dfm2av{height:calc(0.0513333333 * 100vw + 0px)}}@media(min-width: 3440px){.reward-item__image-wrapper.svelte-1dfm2av{height:calc(0.0733333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-item__image-wrapper.svelte-1dfm2av{height:calc(0.0466666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-item__image-wrapper.svelte-1dfm2av{height:calc(0.06 * 100vw + 0px)}}@media(min-width: 4096px){.reward-item__image-wrapper.svelte-1dfm2av{height:calc(0.0733333333 * 100vw + 0px)}}.reward-item__image.svelte-1dfm2av{width:100%;height:auto}.reward-item__title.svelte-1dfm2av{color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.reward-item__title.svelte-1dfm2av{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.reward-item__title.svelte-1dfm2av{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.reward-item__title.svelte-1dfm2av{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.reward-item__title.svelte-1dfm2av{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.reward-item__title.svelte-1dfm2av{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.reward-item__title.svelte-1dfm2av{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.reward-item__title.svelte-1dfm2av{font-size:calc(0.00859375 * 100vw + 0px)}}");
}

function reward_item_index_svelte_create_fragment(ctx) {
	let div1;
	let div0;
	let img;
	let img_src_value;
	let t0;
	let span;
	let t1_value = /*reward*/ ctx[0].title + "";
	let t1;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			span = internal_element("span");
			t1 = internal_text(t1_value);
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*reward*/ ctx[0].image}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "");
			attr(img, "class", "reward-item__image svelte-1dfm2av");
			attr(div0, "class", "reward-item__image-wrapper svelte-1dfm2av");
			attr(span, "class", "reward-item__title svelte-1dfm2av");
			attr(div1, "class", "reward-item svelte-1dfm2av");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, img);
			append(div1, t0);
			append(div1, span);
			append(span, t1);
		},
		p(ctx, [dirty]) {
			if (dirty & /*reward*/ 1 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*reward*/ ctx[0].image}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*reward*/ 1 && t1_value !== (t1_value = /*reward*/ ctx[0].title + "")) set_data(t1, t1_value);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

function reward_item_index_svelte_instance($$self, $$props, $$invalidate) {
	let { reward } = $$props;

	$$self.$$set = $$props => {
		if ('reward' in $$props) $$invalidate(0, reward = $$props.reward);
	};

	return [reward];
}

class Reward_item extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, reward_item_index_svelte_instance, reward_item_index_svelte_create_fragment, safe_not_equal, { reward: 0 }, reward_item_index_svelte_add_css);
	}
}

/* harmony default export */ const reward_item_index_svelte = (Reward_item);
;// CONCATENATED MODULE: ./src/views/containers-auction/components/get-rewards/index.svelte
/* src\views\containers-auction\components\get-rewards\index.svelte generated by Svelte v3.49.0 */







function get_rewards_index_svelte_add_css(target) {
	append_styles(target, "svelte-1cpds8n", "@keyframes svelte-1cpds8n-blinking{50%{opacity:0}}@keyframes svelte-1cpds8n-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1cpds8n-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1cpds8n-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1cpds8n-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1cpds8n-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1cpds8n-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1cpds8n-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1cpds8n-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1cpds8n-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1cpds8n-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1cpds8n-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1cpds8n-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1cpds8n-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1cpds8n-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.container-content-get-rewards.svelte-1cpds8n{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100vh;background-color:rgba(32, 39, 49, 0.85)}.container-content-get-rewards__escape-button.svelte-1cpds8n{position:absolute;top:calc(0.0260416667 * 100vw + 0px);right:calc(0.0354166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content-get-rewards__escape-button.svelte-1cpds8n{top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content-get-rewards__escape-button.svelte-1cpds8n{top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content-get-rewards__escape-button.svelte-1cpds8n{top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.container-content-get-rewards__escape-button.svelte-1cpds8n{top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content-get-rewards__escape-button.svelte-1cpds8n{top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content-get-rewards__escape-button.svelte-1cpds8n{top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.container-content-get-rewards__escape-button.svelte-1cpds8n{top:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content-get-rewards__escape-button.svelte-1cpds8n{right:calc(0.0354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content-get-rewards__escape-button.svelte-1cpds8n{right:calc(0.0354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content-get-rewards__escape-button.svelte-1cpds8n{right:calc(0.0272708333 * 100vw + 0px)}}@media(min-width: 3440px){.container-content-get-rewards__escape-button.svelte-1cpds8n{right:calc(0.0389583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content-get-rewards__escape-button.svelte-1cpds8n{right:calc(0.0247916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content-get-rewards__escape-button.svelte-1cpds8n{right:calc(0.031875 * 100vw + 0px)}}@media(min-width: 4096px){.container-content-get-rewards__escape-button.svelte-1cpds8n{right:calc(0.0389583333 * 100vw + 0px)}}.container-content-get-rewards__title.svelte-1cpds8n{position:absolute;color:#FFFFFF;font-family:\"GothamPro-Bold\";text-transform:uppercase;left:50%;transform:translateX(-50%);font-size:calc(0.0166666667 * 100vw + 0px);top:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content-get-rewards__title.svelte-1cpds8n{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content-get-rewards__title.svelte-1cpds8n{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content-get-rewards__title.svelte-1cpds8n{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.container-content-get-rewards__title.svelte-1cpds8n{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content-get-rewards__title.svelte-1cpds8n{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content-get-rewards__title.svelte-1cpds8n{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.container-content-get-rewards__title.svelte-1cpds8n{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content-get-rewards__title.svelte-1cpds8n{top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content-get-rewards__title.svelte-1cpds8n{top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content-get-rewards__title.svelte-1cpds8n{top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.container-content-get-rewards__title.svelte-1cpds8n{top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content-get-rewards__title.svelte-1cpds8n{top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content-get-rewards__title.svelte-1cpds8n{top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.container-content-get-rewards__title.svelte-1cpds8n{top:calc(0.0286458333 * 100vw + 0px)}}.container-content-get-rewards__rewards.svelte-1cpds8n{position:absolute;text-align:center}.container-content-get-rewards__rewards-title.svelte-1cpds8n{color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.0078125 * 100vw + 0px);margin-bottom:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content-get-rewards__rewards-title.svelte-1cpds8n{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content-get-rewards__rewards-title.svelte-1cpds8n{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content-get-rewards__rewards-title.svelte-1cpds8n{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.container-content-get-rewards__rewards-title.svelte-1cpds8n{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content-get-rewards__rewards-title.svelte-1cpds8n{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content-get-rewards__rewards-title.svelte-1cpds8n{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.container-content-get-rewards__rewards-title.svelte-1cpds8n{font-size:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content-get-rewards__rewards-title.svelte-1cpds8n{margin-bottom:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content-get-rewards__rewards-title.svelte-1cpds8n{margin-bottom:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content-get-rewards__rewards-title.svelte-1cpds8n{margin-bottom:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.container-content-get-rewards__rewards-title.svelte-1cpds8n{margin-bottom:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content-get-rewards__rewards-title.svelte-1cpds8n{margin-bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content-get-rewards__rewards-title.svelte-1cpds8n{margin-bottom:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.container-content-get-rewards__rewards-title.svelte-1cpds8n{margin-bottom:calc(0.0171875 * 100vw + 0px)}}.container-content-get-rewards__rewards-grid.svelte-1cpds8n{display:grid;grid-template-columns:1fr 1fr 1fr;max-height:calc(0.3125 * 100vw + 0px);grid-gap:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content-get-rewards__rewards-grid.svelte-1cpds8n{max-height:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content-get-rewards__rewards-grid.svelte-1cpds8n{max-height:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content-get-rewards__rewards-grid.svelte-1cpds8n{max-height:calc(0.240625 * 100vw + 0px)}}@media(min-width: 3440px){.container-content-get-rewards__rewards-grid.svelte-1cpds8n{max-height:calc(0.34375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content-get-rewards__rewards-grid.svelte-1cpds8n{max-height:calc(0.21875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content-get-rewards__rewards-grid.svelte-1cpds8n{max-height:calc(0.28125 * 100vw + 0px)}}@media(min-width: 4096px){.container-content-get-rewards__rewards-grid.svelte-1cpds8n{max-height:calc(0.34375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content-get-rewards__rewards-grid.svelte-1cpds8n{grid-gap:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content-get-rewards__rewards-grid.svelte-1cpds8n{grid-gap:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content-get-rewards__rewards-grid.svelte-1cpds8n{grid-gap:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.container-content-get-rewards__rewards-grid.svelte-1cpds8n{grid-gap:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content-get-rewards__rewards-grid.svelte-1cpds8n{grid-gap:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content-get-rewards__rewards-grid.svelte-1cpds8n{grid-gap:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.container-content-get-rewards__rewards-grid.svelte-1cpds8n{grid-gap:calc(0.0286458333 * 100vw + 0px)}}.container-content-get-rewards__reward-item.svelte-1cpds8n{display:flex;justify-content:center;align-items:center;border-style:solid;border-color:rgba(255, 255, 255, 0.3);cursor:pointer;width:calc(0.1041666667 * 100vw + 0px);height:calc(0.1041666667 * 100vw + 0px);border-radius:calc(0.0078125 * 100vw + 0px);border-width:calc(0.0005208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content-get-rewards__reward-item.svelte-1cpds8n{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content-get-rewards__reward-item.svelte-1cpds8n{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content-get-rewards__reward-item.svelte-1cpds8n{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.container-content-get-rewards__reward-item.svelte-1cpds8n{width:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content-get-rewards__reward-item.svelte-1cpds8n{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content-get-rewards__reward-item.svelte-1cpds8n{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.container-content-get-rewards__reward-item.svelte-1cpds8n{width:calc(0.1145833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content-get-rewards__reward-item.svelte-1cpds8n{height:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content-get-rewards__reward-item.svelte-1cpds8n{height:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content-get-rewards__reward-item.svelte-1cpds8n{height:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.container-content-get-rewards__reward-item.svelte-1cpds8n{height:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content-get-rewards__reward-item.svelte-1cpds8n{height:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content-get-rewards__reward-item.svelte-1cpds8n{height:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.container-content-get-rewards__reward-item.svelte-1cpds8n{height:calc(0.1145833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content-get-rewards__reward-item.svelte-1cpds8n{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content-get-rewards__reward-item.svelte-1cpds8n{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content-get-rewards__reward-item.svelte-1cpds8n{border-radius:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.container-content-get-rewards__reward-item.svelte-1cpds8n{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content-get-rewards__reward-item.svelte-1cpds8n{border-radius:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content-get-rewards__reward-item.svelte-1cpds8n{border-radius:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.container-content-get-rewards__reward-item.svelte-1cpds8n{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content-get-rewards__reward-item.svelte-1cpds8n{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content-get-rewards__reward-item.svelte-1cpds8n{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content-get-rewards__reward-item.svelte-1cpds8n{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.container-content-get-rewards__reward-item.svelte-1cpds8n{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content-get-rewards__reward-item.svelte-1cpds8n{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content-get-rewards__reward-item.svelte-1cpds8n{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.container-content-get-rewards__reward-item.svelte-1cpds8n{border-width:calc(0.0005729167 * 100vw + 0px)}}.container-content-get-rewards__reward-item.svelte-1cpds8n:hover{background-color:rgba(255, 35, 35, 0.35);border-color:#E00000}.container-content-get-rewards__reward-item--active.svelte-1cpds8n{background-color:rgba(255, 35, 35, 0.35);border-color:#E00000}");
}

function get_rewards_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[4] = list[i];
	return child_ctx;
}

// (669:3) {#each rewards as reward}
function get_rewards_index_svelte_create_each_block(ctx) {
	let div;
	let rewarditem;
	let t;
	let current;
	let mounted;
	let dispose;
	rewarditem = new reward_item_index_svelte({ props: { reward: /*reward*/ ctx[4] } });

	function click_handler() {
		return /*click_handler*/ ctx[3](/*reward*/ ctx[4]);
	}

	return {
		c() {
			div = internal_element("div");
			create_component(rewarditem.$$.fragment);
			t = space();
			attr(div, "class", "container-content-get-rewards__reward-item svelte-1cpds8n");
			toggle_class(div, "container-content-get-rewards__reward-item--active", /*reward*/ ctx[4].status);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(rewarditem, div, null);
			append(div, t);
			current = true;

			if (!mounted) {
				dispose = listen(div, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			const rewarditem_changes = {};
			if (dirty & /*rewards*/ 1) rewarditem_changes.reward = /*reward*/ ctx[4];
			rewarditem.$set(rewarditem_changes);

			if (dirty & /*rewards*/ 1) {
				toggle_class(div, "container-content-get-rewards__reward-item--active", /*reward*/ ctx[4].status);
			}
		},
		i(local) {
			if (current) return;
			transition_in(rewarditem.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(rewarditem.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(rewarditem);
			mounted = false;
			dispose();
		}
	};
}

function get_rewards_index_svelte_create_fragment(ctx) {
	let div4;
	let div0;
	let exitbutton;
	let t0;
	let span;
	let t2;
	let div3;
	let div1;
	let t5;
	let div2;
	let div4_intro;
	let current;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[2],
				fixedPosition: true
			}
		});

	let each_value = /*rewards*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = get_rewards_index_svelte_create_each_block(get_rewards_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			div4 = internal_element("div");
			div0 = internal_element("div");
			create_component(exitbutton.$$.fragment);
			t0 = space();
			span = internal_element("span");
			span.textContent = "Заберите содержимое контейнера";
			t2 = space();
			div3 = internal_element("div");
			div1 = internal_element("div");
			div1.innerHTML = `Вы можете забрать не более <b>6 предметов</b>`;
			t5 = space();
			div2 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div0, "class", "container-content-get-rewards__escape-button svelte-1cpds8n");
			attr(span, "class", "container-content-get-rewards__title svelte-1cpds8n");
			attr(div1, "class", "container-content-get-rewards__rewards-title svelte-1cpds8n");
			attr(div2, "class", "container-content-get-rewards__rewards-grid svelte-1cpds8n");
			attr(div3, "class", "container-content-get-rewards__rewards svelte-1cpds8n");
			attr(div4, "class", "container-content-get-rewards svelte-1cpds8n");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div0);
			mount_component(exitbutton, div0, null);
			append(div4, t0);
			append(div4, span);
			append(div4, t2);
			append(div4, div3);
			append(div3, div1);
			append(div3, t5);
			append(div3, div2);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div2, null);
			}

			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*rewards, pickReward*/ 3) {
				each_value = /*rewards*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = get_rewards_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = get_rewards_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div2, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			if (!div4_intro) {
				add_render_callback(() => {
					div4_intro = create_in_transition(div4, fade, {});
					div4_intro.start();
				});
			}

			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div4);
			destroy_component(exitbutton);
			destroy_each(each_blocks, detaching);
		}
	};
}

function get_rewards_index_svelte_instance($$self, $$props, $$invalidate) {
	let { rewards = [] } = $$props;

	const pickReward = id => {
		sendClientMessage('pickedContainerRewards', id);
	};

	const handleClose = () => {
		
	}; // exec close event

	const click_handler = reward => pickReward(reward.id);

	$$self.$$set = $$props => {
		if ('rewards' in $$props) $$invalidate(0, rewards = $$props.rewards);
	};

	return [rewards, pickReward, handleClose, click_handler];
}

class Get_rewards extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, get_rewards_index_svelte_instance, get_rewards_index_svelte_create_fragment, safe_not_equal, { rewards: 0 }, get_rewards_index_svelte_add_css);
	}
}

/* harmony default export */ const get_rewards_index_svelte = (Get_rewards);
;// CONCATENATED MODULE: ./src/views/containers-auction/components/modal/index.svelte
/* src\views\containers-auction\components\modal\index.svelte generated by Svelte v3.49.0 */







function modal_index_svelte_add_css(target) {
	append_styles(target, "svelte-1gibrot", "@keyframes svelte-1gibrot-blinking{50%{opacity:0}}@keyframes svelte-1gibrot-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1gibrot-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1gibrot-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1gibrot-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1gibrot-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1gibrot-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1gibrot-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1gibrot-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1gibrot-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1gibrot-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1gibrot-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1gibrot-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1gibrot-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1gibrot-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.container-auction-modal.svelte-1gibrot{position:absolute;top:0;left:0;right:0;bottom:0;background-color:rgba(32, 39, 49, 0.85);display:flex;flex-direction:column;justify-content:center;align-items:center}.container-auction-modal__escape.svelte-1gibrot{position:absolute;top:calc(0.0260416667 * 100vw + 0px);right:calc(0.0354166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-auction-modal__escape.svelte-1gibrot{top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-modal__escape.svelte-1gibrot{top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-modal__escape.svelte-1gibrot{top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-modal__escape.svelte-1gibrot{top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-modal__escape.svelte-1gibrot{top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-modal__escape.svelte-1gibrot{top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-modal__escape.svelte-1gibrot{top:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-modal__escape.svelte-1gibrot{right:calc(0.0354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-modal__escape.svelte-1gibrot{right:calc(0.0354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-modal__escape.svelte-1gibrot{right:calc(0.0272708333 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-modal__escape.svelte-1gibrot{right:calc(0.0389583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-modal__escape.svelte-1gibrot{right:calc(0.0247916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-modal__escape.svelte-1gibrot{right:calc(0.031875 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-modal__escape.svelte-1gibrot{right:calc(0.0389583333 * 100vw + 0px)}}.container-auction-modal__title.svelte-1gibrot{color:#FFFFFF;font-family:\"GothamPro-Bold\";text-transform:uppercase;font-size:calc(0.0166666667 * 100vw + 0px);margin-bottom:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-auction-modal__title.svelte-1gibrot{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-modal__title.svelte-1gibrot{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-modal__title.svelte-1gibrot{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-modal__title.svelte-1gibrot{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-modal__title.svelte-1gibrot{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-modal__title.svelte-1gibrot{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-modal__title.svelte-1gibrot{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-modal__title.svelte-1gibrot{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-modal__title.svelte-1gibrot{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-modal__title.svelte-1gibrot{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-modal__title.svelte-1gibrot{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-modal__title.svelte-1gibrot{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-modal__title.svelte-1gibrot{margin-bottom:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-modal__title.svelte-1gibrot{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}.container-auction-modal__input.svelte-1gibrot{background-color:#FFFFFF;display:flex;flex-direction:row;align-items:center;border:none;color:#111111;font-family:\"GothamPro-Bold\";font-size:calc(0.0166666667 * 100vw + 0px);width:calc(0.2604166667 * 100vw + 0px);height:calc(0.0390625 * 100vw + 0px);padding-left:calc(0.0130208333 * 100vw + 0px);padding-right:calc(0.0130208333 * 100vw + 0px);margin-bottom:calc(0.0260416667 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-auction-modal__input.svelte-1gibrot{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-modal__input.svelte-1gibrot{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-modal__input.svelte-1gibrot{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-modal__input.svelte-1gibrot{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-modal__input.svelte-1gibrot{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-modal__input.svelte-1gibrot{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-modal__input.svelte-1gibrot{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-modal__input.svelte-1gibrot{width:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-modal__input.svelte-1gibrot{width:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-modal__input.svelte-1gibrot{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-modal__input.svelte-1gibrot{width:calc(0.2864583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-modal__input.svelte-1gibrot{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-modal__input.svelte-1gibrot{width:calc(0.234375 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-modal__input.svelte-1gibrot{width:calc(0.2864583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-modal__input.svelte-1gibrot{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-modal__input.svelte-1gibrot{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-modal__input.svelte-1gibrot{height:calc(0.030078125 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-modal__input.svelte-1gibrot{height:calc(0.04296875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-modal__input.svelte-1gibrot{height:calc(0.02734375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-modal__input.svelte-1gibrot{height:calc(0.03515625 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-modal__input.svelte-1gibrot{height:calc(0.04296875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-modal__input.svelte-1gibrot{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-modal__input.svelte-1gibrot{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-modal__input.svelte-1gibrot{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-modal__input.svelte-1gibrot{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-modal__input.svelte-1gibrot{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-modal__input.svelte-1gibrot{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-modal__input.svelte-1gibrot{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-modal__input.svelte-1gibrot{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-modal__input.svelte-1gibrot{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-modal__input.svelte-1gibrot{padding-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-modal__input.svelte-1gibrot{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-modal__input.svelte-1gibrot{padding-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-modal__input.svelte-1gibrot{padding-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-modal__input.svelte-1gibrot{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-modal__input.svelte-1gibrot{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-modal__input.svelte-1gibrot{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-modal__input.svelte-1gibrot{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-modal__input.svelte-1gibrot{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-modal__input.svelte-1gibrot{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-modal__input.svelte-1gibrot{margin-bottom:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-modal__input.svelte-1gibrot{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-modal__input.svelte-1gibrot{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-modal__input.svelte-1gibrot{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-modal__input.svelte-1gibrot{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-modal__input.svelte-1gibrot{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-modal__input.svelte-1gibrot{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-modal__input.svelte-1gibrot{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-modal__input.svelte-1gibrot{border-radius:calc(0.0057291667 * 100vw + 0px)}}.container-auction-modal__input--invalid.svelte-1gibrot{border-style:solid;border-color:#FF2323;border-width:calc(0.0010416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-auction-modal__input--invalid.svelte-1gibrot{border-width:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-modal__input--invalid.svelte-1gibrot{border-width:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-modal__input--invalid.svelte-1gibrot{border-width:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-modal__input--invalid.svelte-1gibrot{border-width:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-modal__input--invalid.svelte-1gibrot{border-width:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-modal__input--invalid.svelte-1gibrot{border-width:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-modal__input--invalid.svelte-1gibrot{border-width:calc(0.0011458333 * 100vw + 0px)}}.container-auction-modal__current-bet-caption.svelte-1gibrot{color:rgba(255, 255, 255, 0.75);font-family:\"GothamPro\";font-size:calc(0.0078125 * 100vw + 0px);margin-bottom:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-auction-modal__current-bet-caption.svelte-1gibrot{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-modal__current-bet-caption.svelte-1gibrot{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-modal__current-bet-caption.svelte-1gibrot{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-modal__current-bet-caption.svelte-1gibrot{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-modal__current-bet-caption.svelte-1gibrot{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-modal__current-bet-caption.svelte-1gibrot{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-modal__current-bet-caption.svelte-1gibrot{font-size:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-modal__current-bet-caption.svelte-1gibrot{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-modal__current-bet-caption.svelte-1gibrot{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-modal__current-bet-caption.svelte-1gibrot{margin-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-modal__current-bet-caption.svelte-1gibrot{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-modal__current-bet-caption.svelte-1gibrot{margin-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-modal__current-bet-caption.svelte-1gibrot{margin-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-modal__current-bet-caption.svelte-1gibrot{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}.container-auction-modal__current-bet.svelte-1gibrot{display:flex;flex-direction:row;justify-content:space-between;align-items:center;background-color:#202731;width:calc(0.1822916667 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);padding-left:calc(0.0130208333 * 100vw + 0px);padding-right:calc(0.0130208333 * 100vw + 0px);margin-bottom:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-auction-modal__current-bet.svelte-1gibrot{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-modal__current-bet.svelte-1gibrot{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-modal__current-bet.svelte-1gibrot{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-modal__current-bet.svelte-1gibrot{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-modal__current-bet.svelte-1gibrot{width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-modal__current-bet.svelte-1gibrot{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-modal__current-bet.svelte-1gibrot{width:calc(0.2005208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-modal__current-bet.svelte-1gibrot{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-modal__current-bet.svelte-1gibrot{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-modal__current-bet.svelte-1gibrot{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-modal__current-bet.svelte-1gibrot{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-modal__current-bet.svelte-1gibrot{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-modal__current-bet.svelte-1gibrot{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-modal__current-bet.svelte-1gibrot{height:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-modal__current-bet.svelte-1gibrot{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-modal__current-bet.svelte-1gibrot{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-modal__current-bet.svelte-1gibrot{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-modal__current-bet.svelte-1gibrot{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-modal__current-bet.svelte-1gibrot{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-modal__current-bet.svelte-1gibrot{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-modal__current-bet.svelte-1gibrot{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-modal__current-bet.svelte-1gibrot{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-modal__current-bet.svelte-1gibrot{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-modal__current-bet.svelte-1gibrot{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-modal__current-bet.svelte-1gibrot{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-modal__current-bet.svelte-1gibrot{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-modal__current-bet.svelte-1gibrot{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-modal__current-bet.svelte-1gibrot{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-modal__current-bet.svelte-1gibrot{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-modal__current-bet.svelte-1gibrot{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-modal__current-bet.svelte-1gibrot{padding-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-modal__current-bet.svelte-1gibrot{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-modal__current-bet.svelte-1gibrot{padding-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-modal__current-bet.svelte-1gibrot{padding-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-modal__current-bet.svelte-1gibrot{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-modal__current-bet.svelte-1gibrot{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-modal__current-bet.svelte-1gibrot{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-modal__current-bet.svelte-1gibrot{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-modal__current-bet.svelte-1gibrot{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-modal__current-bet.svelte-1gibrot{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-modal__current-bet.svelte-1gibrot{margin-bottom:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-modal__current-bet.svelte-1gibrot{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}.container-auction-modal__current-bet-user.svelte-1gibrot{color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-auction-modal__current-bet-user.svelte-1gibrot{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-modal__current-bet-user.svelte-1gibrot{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-modal__current-bet-user.svelte-1gibrot{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-modal__current-bet-user.svelte-1gibrot{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-modal__current-bet-user.svelte-1gibrot{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-modal__current-bet-user.svelte-1gibrot{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-modal__current-bet-user.svelte-1gibrot{font-size:calc(0.006875 * 100vw + 0px)}}.container-auction-modal__current-bet-value.svelte-1gibrot{color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-auction-modal__current-bet-value.svelte-1gibrot{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-modal__current-bet-value.svelte-1gibrot{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-modal__current-bet-value.svelte-1gibrot{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-modal__current-bet-value.svelte-1gibrot{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-modal__current-bet-value.svelte-1gibrot{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-modal__current-bet-value.svelte-1gibrot{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-modal__current-bet-value.svelte-1gibrot{font-size:calc(0.006875 * 100vw + 0px)}}.container-auction-modal__participate.svelte-1gibrot{display:flex;justify-content:space-between;align-items:center;background-color:#FFFFFF;cursor:pointer;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.1171875 * 100vw + 0px);height:calc(0.0338541667 * 100vw + 0px);padding-left:calc(0.0145833333 * 100vw + 0px);padding-right:calc(0.0145833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-auction-modal__participate.svelte-1gibrot{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-modal__participate.svelte-1gibrot{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-modal__participate.svelte-1gibrot{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-modal__participate.svelte-1gibrot{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-modal__participate.svelte-1gibrot{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-modal__participate.svelte-1gibrot{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-modal__participate.svelte-1gibrot{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-modal__participate.svelte-1gibrot{width:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-modal__participate.svelte-1gibrot{width:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-modal__participate.svelte-1gibrot{width:calc(0.090234375 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-modal__participate.svelte-1gibrot{width:calc(0.12890625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-modal__participate.svelte-1gibrot{width:calc(0.08203125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-modal__participate.svelte-1gibrot{width:calc(0.10546875 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-modal__participate.svelte-1gibrot{width:calc(0.12890625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-modal__participate.svelte-1gibrot{height:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-modal__participate.svelte-1gibrot{height:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-modal__participate.svelte-1gibrot{height:calc(0.0260677083 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-modal__participate.svelte-1gibrot{height:calc(0.0372395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-modal__participate.svelte-1gibrot{height:calc(0.0236979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-modal__participate.svelte-1gibrot{height:calc(0.03046875 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-modal__participate.svelte-1gibrot{height:calc(0.0372395833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-modal__participate.svelte-1gibrot{padding-left:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-modal__participate.svelte-1gibrot{padding-left:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-modal__participate.svelte-1gibrot{padding-left:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-modal__participate.svelte-1gibrot{padding-left:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-modal__participate.svelte-1gibrot{padding-left:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-modal__participate.svelte-1gibrot{padding-left:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-modal__participate.svelte-1gibrot{padding-left:calc(0.0160416667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-auction-modal__participate.svelte-1gibrot{padding-right:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-modal__participate.svelte-1gibrot{padding-right:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-modal__participate.svelte-1gibrot{padding-right:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-modal__participate.svelte-1gibrot{padding-right:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-modal__participate.svelte-1gibrot{padding-right:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-modal__participate.svelte-1gibrot{padding-right:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-modal__participate.svelte-1gibrot{padding-right:calc(0.0160416667 * 100vw + 0px)}}.container-auction-modal__participate.svelte-1gibrot:hover{box-shadow:0px 0.25rem 3.125rem #52FF4F}.container-auction-modal__participate-text.svelte-1gibrot{color:#111111;font-family:\"GothamPro\";font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-auction-modal__participate-text.svelte-1gibrot{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-modal__participate-text.svelte-1gibrot{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-modal__participate-text.svelte-1gibrot{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-modal__participate-text.svelte-1gibrot{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-modal__participate-text.svelte-1gibrot{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-modal__participate-text.svelte-1gibrot{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-modal__participate-text.svelte-1gibrot{font-size:calc(0.0091666667 * 100vw + 0px)}}.container-auction-modal__participate-icon.svelte-1gibrot{color:#111111;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-auction-modal__participate-icon.svelte-1gibrot{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-auction-modal__participate-icon.svelte-1gibrot{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-auction-modal__participate-icon.svelte-1gibrot{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.container-auction-modal__participate-icon.svelte-1gibrot{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-auction-modal__participate-icon.svelte-1gibrot{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-auction-modal__participate-icon.svelte-1gibrot{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.container-auction-modal__participate-icon.svelte-1gibrot{font-size:calc(0.0091666667 * 100vw + 0px)}}");
}

// (1335:37) 
function modal_index_svelte_create_if_block_5(ctx) {
	let input;
	let mounted;
	let dispose;

	return {
		c() {
			input = internal_element("input");
			attr(input, "type", "text");
			attr(input, "class", "container-auction-modal__input svelte-1gibrot");
			toggle_class(input, "container-auction-modal__input--invalid", /*validationError*/ ctx[5]);
		},
		m(target, anchor) {
			insert(target, input, anchor);
			set_input_value(input, /*betBtc*/ ctx[4]);

			if (!mounted) {
				dispose = [
					listen(input, "input", /*input_input_handler_2*/ ctx[11]),
					listen(input, "change", /*change_handler_2*/ ctx[12])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*betBtc*/ 16 && input.value !== /*betBtc*/ ctx[4]) {
				set_input_value(input, /*betBtc*/ ctx[4]);
			}

			if (dirty & /*validationError*/ 32) {
				toggle_class(input, "container-auction-modal__input--invalid", /*validationError*/ ctx[5]);
			}
		},
		d(detaching) {
			if (detaching) detach(input);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (1330:37) 
function modal_index_svelte_create_if_block_4(ctx) {
	let input;
	let mounted;
	let dispose;

	return {
		c() {
			input = internal_element("input");
			attr(input, "type", "text");
			attr(input, "class", "container-auction-modal__input svelte-1gibrot");
			toggle_class(input, "container-auction-modal__input--invalid", /*validationError*/ ctx[5]);
		},
		m(target, anchor) {
			insert(target, input, anchor);
			set_input_value(input, /*bet*/ ctx[2]);

			if (!mounted) {
				dispose = [
					listen(input, "input", /*input_input_handler_1*/ ctx[9]),
					listen(input, "change", /*change_handler_1*/ ctx[10])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*bet*/ 4 && input.value !== /*bet*/ ctx[2]) {
				set_input_value(input, /*bet*/ ctx[2]);
			}

			if (dirty & /*validationError*/ 32) {
				toggle_class(input, "container-auction-modal__input--invalid", /*validationError*/ ctx[5]);
			}
		},
		d(detaching) {
			if (detaching) detach(input);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (1325:1) {#if container.typePrice === 1}
function modal_index_svelte_create_if_block_3(ctx) {
	let input;
	let mounted;
	let dispose;

	return {
		c() {
			input = internal_element("input");
			attr(input, "type", "text");
			attr(input, "class", "container-auction-modal__input svelte-1gibrot");
			toggle_class(input, "container-auction-modal__input--invalid", /*validationError*/ ctx[5]);
		},
		m(target, anchor) {
			insert(target, input, anchor);
			set_input_value(input, /*betAz*/ ctx[3]);

			if (!mounted) {
				dispose = [
					listen(input, "input", /*input_input_handler*/ ctx[7]),
					listen(input, "change", /*change_handler*/ ctx[8])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*betAz*/ 8 && input.value !== /*betAz*/ ctx[3]) {
				set_input_value(input, /*betAz*/ ctx[3]);
			}

			if (dirty & /*validationError*/ 32) {
				toggle_class(input, "container-auction-modal__input--invalid", /*validationError*/ ctx[5]);
			}
		},
		d(detaching) {
			if (detaching) detach(input);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (1352:38) 
function modal_index_svelte_create_if_block_2(ctx) {
	let span;
	let t0_value = formatMoney(/*container*/ ctx[1].currentBet) + "";
	let t0;
	let t1;

	return {
		c() {
			span = internal_element("span");
			t0 = internal_text(t0_value);
			t1 = internal_text("BTC");
			attr(span, "class", "container-auction-modal__current-bet-value svelte-1gibrot");
		},
		m(target, anchor) {
			insert(target, span, anchor);
			append(span, t0);
			append(span, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*container*/ 2 && t0_value !== (t0_value = formatMoney(/*container*/ ctx[1].currentBet) + "")) set_data(t0, t0_value);
		},
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

// (1350:38) 
function modal_index_svelte_create_if_block_1(ctx) {
	let span;
	let t0_value = formatMoney(/*container*/ ctx[1].currentBet) + "";
	let t0;
	let t1;

	return {
		c() {
			span = internal_element("span");
			t0 = internal_text(t0_value);
			t1 = internal_text("руб.");
			attr(span, "class", "container-auction-modal__current-bet-value svelte-1gibrot");
		},
		m(target, anchor) {
			insert(target, span, anchor);
			append(span, t0);
			append(span, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*container*/ 2 && t0_value !== (t0_value = formatMoney(/*container*/ ctx[1].currentBet) + "")) set_data(t0, t0_value);
		},
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

// (1348:2) {#if container.typePrice === 1}
function modal_index_svelte_create_if_block(ctx) {
	let span;
	let t0_value = formatMoney(/*container*/ ctx[1].currentBet) + "";
	let t0;
	let t1;

	return {
		c() {
			span = internal_element("span");
			t0 = internal_text(t0_value);
			t1 = internal_text("AZ");
			attr(span, "class", "container-auction-modal__current-bet-value svelte-1gibrot");
		},
		m(target, anchor) {
			insert(target, span, anchor);
			append(span, t0);
			append(span, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*container*/ 2 && t0_value !== (t0_value = formatMoney(/*container*/ ctx[1].currentBet) + "")) set_data(t0, t0_value);
		},
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

function modal_index_svelte_create_fragment(ctx) {
	let div3;
	let div0;
	let exitbutton;
	let t0;
	let span0;
	let t2;
	let t3;
	let span1;
	let t5;
	let div1;
	let span2;
	let t6_value = /*container*/ ctx[1].currentBetUser + "";
	let t6;
	let t7;
	let t8;
	let div2;
	let div3_intro;
	let current;
	let mounted;
	let dispose;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*close*/ ctx[0],
				fixedPosition: true
			}
		});

	function select_block_type(ctx, dirty) {
		if (/*container*/ ctx[1].typePrice === 1) return modal_index_svelte_create_if_block_3;
		if (/*container*/ ctx[1].typePrice === 0) return modal_index_svelte_create_if_block_4;
		if (/*container*/ ctx[1].typePrice === 3) return modal_index_svelte_create_if_block_5;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block0 = current_block_type && current_block_type(ctx);

	function select_block_type_1(ctx, dirty) {
		if (/*container*/ ctx[1].typePrice === 1) return modal_index_svelte_create_if_block;
		if (/*container*/ ctx[1].typePrice === 0) return modal_index_svelte_create_if_block_1;
		if (/*container*/ ctx[1].typePrice === 3) return modal_index_svelte_create_if_block_2;
	}

	let current_block_type_1 = select_block_type_1(ctx, -1);
	let if_block1 = current_block_type_1 && current_block_type_1(ctx);

	return {
		c() {
			div3 = internal_element("div");
			div0 = internal_element("div");
			create_component(exitbutton.$$.fragment);
			t0 = space();
			span0 = internal_element("span");
			span0.textContent = "Введите сумму ставки";
			t2 = space();
			if (if_block0) if_block0.c();
			t3 = space();
			span1 = internal_element("span");
			span1.textContent = "Последняя ставка";
			t5 = space();
			div1 = internal_element("div");
			span2 = internal_element("span");
			t6 = internal_text(t6_value);
			t7 = space();
			if (if_block1) if_block1.c();
			t8 = space();
			div2 = internal_element("div");

			div2.innerHTML = `<span class="container-auction-modal__participate-text svelte-1gibrot">Участвовать</span> 
		<i class="container-auction-modal__participate-icon ui-arrow-right svelte-1gibrot"></i>`;

			attr(div0, "class", "container-auction-modal__escape svelte-1gibrot");
			attr(span0, "class", "container-auction-modal__title svelte-1gibrot");
			attr(span1, "class", "container-auction-modal__current-bet-caption svelte-1gibrot");
			attr(span2, "class", "container-auction-modal__current-bet-user svelte-1gibrot");
			attr(div1, "class", "container-auction-modal__current-bet svelte-1gibrot");
			attr(div2, "class", "container-auction-modal__participate svelte-1gibrot");
			attr(div3, "class", "container-auction-modal svelte-1gibrot");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div0);
			mount_component(exitbutton, div0, null);
			append(div3, t0);
			append(div3, span0);
			append(div3, t2);
			if (if_block0) if_block0.m(div3, null);
			append(div3, t3);
			append(div3, span1);
			append(div3, t5);
			append(div3, div1);
			append(div1, span2);
			append(span2, t6);
			append(div1, t7);
			if (if_block1) if_block1.m(div1, null);
			append(div3, t8);
			append(div3, div2);
			current = true;

			if (!mounted) {
				dispose = listen(div2, "click", /*placeBet*/ ctx[6]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			const exitbutton_changes = {};
			if (dirty & /*close*/ 1) exitbutton_changes.onClick = /*close*/ ctx[0];
			exitbutton.$set(exitbutton_changes);

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block0) {
				if_block0.p(ctx, dirty);
			} else {
				if (if_block0) if_block0.d(1);
				if_block0 = current_block_type && current_block_type(ctx);

				if (if_block0) {
					if_block0.c();
					if_block0.m(div3, t3);
				}
			}

			if ((!current || dirty & /*container*/ 2) && t6_value !== (t6_value = /*container*/ ctx[1].currentBetUser + "")) set_data(t6, t6_value);

			if (current_block_type_1 === (current_block_type_1 = select_block_type_1(ctx, dirty)) && if_block1) {
				if_block1.p(ctx, dirty);
			} else {
				if (if_block1) if_block1.d(1);
				if_block1 = current_block_type_1 && current_block_type_1(ctx);

				if (if_block1) {
					if_block1.c();
					if_block1.m(div1, null);
				}
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);

			if (!div3_intro) {
				add_render_callback(() => {
					div3_intro = create_in_transition(div3, fade, { duration: 150 });
					div3_intro.start();
				});
			}

			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div3);
			destroy_component(exitbutton);

			if (if_block0) {
				if_block0.d();
			}

			if (if_block1) {
				if_block1.d();
			}

			mounted = false;
			dispose();
		}
	};
}

function modal_index_svelte_instance($$self, $$props, $$invalidate) {
	let { close = null } = $$props;
	let { container = {} } = $$props;

	const minbet = container.currentBet > 0
	? container.currentBet
	: container.startPrice - container.minBet;

	let bet = formatMoney(minbet + container.minBet);
	let betAz = formatMoney(minbet + container.minBet);
	let betBtc = formatMoney(minbet + container.minBet);
	let validationError = false;

	const placeBet = () => {
		let betFinal;

		if (container.typePrice === 1) {
			$$invalidate(3, betAz = parseInt(betAz.replaceAll(/\s/g, ''), 10));
			betFinal = betAz;
		} else if (container.typePrice === 0) {
			$$invalidate(2, bet = parseInt(bet.replaceAll(/\s/g, ''), 10));
			betFinal = bet;
		} else if (container.typePrice === 3) {
			$$invalidate(4, betBtc = parseInt(betBtc.replaceAll(/\s/g, ''), 10));
			betFinal = betBtc;
		}

		if (betFinal <= container.currentBet) {
			$$invalidate(5, validationError = true);

			setTimeout(
				() => {
					$$invalidate(5, validationError = false);
				},
				5000
			);

			sendClientMessage('lowerThenCurrentBet', betFinal);
			return;
		}

		sendClientMessage('sendBetContainer', betFinal);
		close();
	};

	function input_input_handler() {
		betAz = this.value;
		$$invalidate(3, betAz);
	}

	const change_handler = () => {
		$$invalidate(3, betAz = formatMoney(betAz.replace(/\D/g, '')));
	};

	function input_input_handler_1() {
		bet = this.value;
		$$invalidate(2, bet);
	}

	const change_handler_1 = () => {
		$$invalidate(2, bet = formatMoney(bet.replace(/\D/g, '')));
	};

	function input_input_handler_2() {
		betBtc = this.value;
		$$invalidate(4, betBtc);
	}

	const change_handler_2 = () => {
		$$invalidate(4, betBtc = formatMoney(betBtc.replace(/\D/g, '')));
	};

	$$self.$$set = $$props => {
		if ('close' in $$props) $$invalidate(0, close = $$props.close);
		if ('container' in $$props) $$invalidate(1, container = $$props.container);
	};

	return [
		close,
		container,
		bet,
		betAz,
		betBtc,
		validationError,
		placeBet,
		input_input_handler,
		change_handler,
		input_input_handler_1,
		change_handler_1,
		input_input_handler_2,
		change_handler_2
	];
}

class Modal extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, modal_index_svelte_instance, modal_index_svelte_create_fragment, safe_not_equal, { close: 0, container: 1 }, modal_index_svelte_add_css);
	}
}

/* harmony default export */ const modal_index_svelte = (Modal);
;// CONCATENATED MODULE: ./src/views/containers-auction/components/container-content/index.svelte
/* src\views\containers-auction\components\container-content\index.svelte generated by Svelte v3.49.0 */












function components_container_content_index_svelte_add_css(target) {
	append_styles(target, "svelte-hq4hj3", "@keyframes svelte-hq4hj3-blinking{50%{opacity:0}}@keyframes svelte-hq4hj3-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-hq4hj3-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-hq4hj3-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-hq4hj3-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-hq4hj3-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-hq4hj3-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-hq4hj3-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-hq4hj3-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-hq4hj3-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-hq4hj3-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-hq4hj3-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-hq4hj3-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-hq4hj3-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-hq4hj3-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.container-content.svelte-hq4hj3{position:relative;display:flex;align-items:center;width:100%;height:100vh;background-color:rgba(32, 39, 49, 0.85)}.container-content__bg-containers.svelte-hq4hj3{position:absolute;top:0;left:0;width:50%;height:100%;background-image:url(\"../../img/bg-containers-dark.png\");background-position:left top;background-size:contain;background-repeat:no-repeat}.container-content__escape-button.svelte-hq4hj3{position:absolute;top:calc(0.0260416667 * 100vw + 0px);right:calc(0.0354166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__escape-button.svelte-hq4hj3{top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__escape-button.svelte-hq4hj3{top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__escape-button.svelte-hq4hj3{top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__escape-button.svelte-hq4hj3{top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__escape-button.svelte-hq4hj3{top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__escape-button.svelte-hq4hj3{top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__escape-button.svelte-hq4hj3{top:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__escape-button.svelte-hq4hj3{right:calc(0.0354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__escape-button.svelte-hq4hj3{right:calc(0.0354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__escape-button.svelte-hq4hj3{right:calc(0.0272708333 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__escape-button.svelte-hq4hj3{right:calc(0.0389583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__escape-button.svelte-hq4hj3{right:calc(0.0247916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__escape-button.svelte-hq4hj3{right:calc(0.031875 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__escape-button.svelte-hq4hj3{right:calc(0.0389583333 * 100vw + 0px)}}.container-content__title.svelte-hq4hj3{position:absolute;color:#FFFFFF;font-family:\"GothamPro-Bold\";text-transform:uppercase;left:50%;transform:translateX(-50%);font-size:calc(0.0166666667 * 100vw + 0px);top:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__title.svelte-hq4hj3{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__title.svelte-hq4hj3{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__title.svelte-hq4hj3{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__title.svelte-hq4hj3{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__title.svelte-hq4hj3{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__title.svelte-hq4hj3{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__title.svelte-hq4hj3{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__title.svelte-hq4hj3{top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__title.svelte-hq4hj3{top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__title.svelte-hq4hj3{top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__title.svelte-hq4hj3{top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__title.svelte-hq4hj3{top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__title.svelte-hq4hj3{top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__title.svelte-hq4hj3{top:calc(0.0286458333 * 100vw + 0px)}}.container-content__information.svelte-hq4hj3{position:absolute;display:flex;flex-direction:column;align-items:center;left:calc(0.0520833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__information.svelte-hq4hj3{left:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__information.svelte-hq4hj3{left:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__information.svelte-hq4hj3{left:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__information.svelte-hq4hj3{left:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__information.svelte-hq4hj3{left:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__information.svelte-hq4hj3{left:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__information.svelte-hq4hj3{left:calc(0.0572916667 * 100vw + 0px)}}.container-content__information-title.svelte-hq4hj3{color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.0145833333 * 100vw + 0px);margin-bottom:calc(0.0088541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__information-title.svelte-hq4hj3{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__information-title.svelte-hq4hj3{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__information-title.svelte-hq4hj3{font-size:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__information-title.svelte-hq4hj3{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__information-title.svelte-hq4hj3{font-size:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__information-title.svelte-hq4hj3{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__information-title.svelte-hq4hj3{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__information-title.svelte-hq4hj3{margin-bottom:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__information-title.svelte-hq4hj3{margin-bottom:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__information-title.svelte-hq4hj3{margin-bottom:calc(0.0068177083 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__information-title.svelte-hq4hj3{margin-bottom:calc(0.0097395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__information-title.svelte-hq4hj3{margin-bottom:calc(0.0061979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__information-title.svelte-hq4hj3{margin-bottom:calc(0.00796875 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__information-title.svelte-hq4hj3{margin-bottom:calc(0.0097395833 * 100vw + 0px)}}.container-content__price-caption.svelte-hq4hj3{color:rgba(255, 255, 255, 0.75);font-family:\"GothamPro\";font-size:calc(0.0078125 * 100vw + 0px);margin-bottom:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__price-caption.svelte-hq4hj3{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__price-caption.svelte-hq4hj3{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__price-caption.svelte-hq4hj3{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__price-caption.svelte-hq4hj3{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__price-caption.svelte-hq4hj3{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__price-caption.svelte-hq4hj3{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__price-caption.svelte-hq4hj3{font-size:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__price-caption.svelte-hq4hj3{margin-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__price-caption.svelte-hq4hj3{margin-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__price-caption.svelte-hq4hj3{margin-bottom:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__price-caption.svelte-hq4hj3{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__price-caption.svelte-hq4hj3{margin-bottom:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__price-caption.svelte-hq4hj3{margin-bottom:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__price-caption.svelte-hq4hj3{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}.container-content__price.svelte-hq4hj3{color:#FFFFFF;font-family:\"GothamPro-Bold\";font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__price.svelte-hq4hj3{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__price.svelte-hq4hj3{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__price.svelte-hq4hj3{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__price.svelte-hq4hj3{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__price.svelte-hq4hj3{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__price.svelte-hq4hj3{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__price.svelte-hq4hj3{font-size:calc(0.01375 * 100vw + 0px)}}.container-content__information-price-icon.svelte-hq4hj3{color:#52FF4F;font-family:\"GothamPro-Bold\";font-size:calc(0.0125 * 100vw + 0px);margin-left:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__information-price-icon.svelte-hq4hj3{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__information-price-icon.svelte-hq4hj3{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__information-price-icon.svelte-hq4hj3{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__information-price-icon.svelte-hq4hj3{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__information-price-icon.svelte-hq4hj3{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__information-price-icon.svelte-hq4hj3{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__information-price-icon.svelte-hq4hj3{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__information-price-icon.svelte-hq4hj3{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__information-price-icon.svelte-hq4hj3{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__information-price-icon.svelte-hq4hj3{margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__information-price-icon.svelte-hq4hj3{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__information-price-icon.svelte-hq4hj3{margin-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__information-price-icon.svelte-hq4hj3{margin-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__information-price-icon.svelte-hq4hj3{margin-left:calc(0.0057291667 * 100vw + 0px)}}.container-content__information-image-wrapper.svelte-hq4hj3{display:flex;align-items:center;background-image:url(\"../../img/white-light.png\");background-position:center center;background-size:contain;background-repeat:no-repeat;width:calc(0.2604166667 * 100vw + 0px);height:calc(0.2604166667 * 100vw + 0px);margin-top:calc(-0.0651041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__information-image-wrapper.svelte-hq4hj3{width:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__information-image-wrapper.svelte-hq4hj3{width:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__information-image-wrapper.svelte-hq4hj3{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__information-image-wrapper.svelte-hq4hj3{width:calc(0.2864583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__information-image-wrapper.svelte-hq4hj3{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__information-image-wrapper.svelte-hq4hj3{width:calc(0.234375 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__information-image-wrapper.svelte-hq4hj3{width:calc(0.2864583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__information-image-wrapper.svelte-hq4hj3{height:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__information-image-wrapper.svelte-hq4hj3{height:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__information-image-wrapper.svelte-hq4hj3{height:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__information-image-wrapper.svelte-hq4hj3{height:calc(0.2864583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__information-image-wrapper.svelte-hq4hj3{height:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__information-image-wrapper.svelte-hq4hj3{height:calc(0.234375 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__information-image-wrapper.svelte-hq4hj3{height:calc(0.2864583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__information-image-wrapper.svelte-hq4hj3{margin-top:calc(-0.0651041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__information-image-wrapper.svelte-hq4hj3{margin-top:calc(-0.0651041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__information-image-wrapper.svelte-hq4hj3{margin-top:calc(-0.0501302083 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__information-image-wrapper.svelte-hq4hj3{margin-top:calc(-0.0716145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__information-image-wrapper.svelte-hq4hj3{margin-top:calc(-0.0455729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__information-image-wrapper.svelte-hq4hj3{margin-top:calc(-0.05859375 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__information-image-wrapper.svelte-hq4hj3{margin-top:calc(-0.0716145833 * 100vw + 0px)}}.container-content__information-image.svelte-hq4hj3{width:100%;height:auto}.container-content__time-caption.svelte-hq4hj3{color:rgba(255, 255, 255, 0.75);font-family:\"GothamPro\";margin-top:calc(-0.0651041667 * 100vw + 0px);font-size:calc(0.0078125 * 100vw + 0px);font-size:calc(0.0078125 * 100vw + 0px);margin-bottom:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__time-caption.svelte-hq4hj3{margin-top:calc(-0.0651041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__time-caption.svelte-hq4hj3{margin-top:calc(-0.0651041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__time-caption.svelte-hq4hj3{margin-top:calc(-0.0501302083 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__time-caption.svelte-hq4hj3{margin-top:calc(-0.0716145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__time-caption.svelte-hq4hj3{margin-top:calc(-0.0455729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__time-caption.svelte-hq4hj3{margin-top:calc(-0.05859375 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__time-caption.svelte-hq4hj3{margin-top:calc(-0.0716145833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__time-caption.svelte-hq4hj3{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__time-caption.svelte-hq4hj3{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__time-caption.svelte-hq4hj3{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__time-caption.svelte-hq4hj3{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__time-caption.svelte-hq4hj3{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__time-caption.svelte-hq4hj3{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__time-caption.svelte-hq4hj3{font-size:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__time-caption.svelte-hq4hj3{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__time-caption.svelte-hq4hj3{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__time-caption.svelte-hq4hj3{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__time-caption.svelte-hq4hj3{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__time-caption.svelte-hq4hj3{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__time-caption.svelte-hq4hj3{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__time-caption.svelte-hq4hj3{font-size:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__time-caption.svelte-hq4hj3{margin-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__time-caption.svelte-hq4hj3{margin-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__time-caption.svelte-hq4hj3{margin-bottom:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__time-caption.svelte-hq4hj3{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__time-caption.svelte-hq4hj3{margin-bottom:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__time-caption.svelte-hq4hj3{margin-bottom:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__time-caption.svelte-hq4hj3{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}.container-content__timer-wrapper.svelte-hq4hj3{border-style:solid;border-color:rgba(255, 255, 255, 0.75);border-radius:calc(0.0260416667 * 100vw + 0px);border-width:calc(0.0005208333 * 100vw + 0px);padding-left:calc(0.021875 * 100vw + 0px);padding-right:calc(0.021875 * 100vw + 0px);margin-bottom:calc(0.0177083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__timer-wrapper.svelte-hq4hj3{border-radius:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__timer-wrapper.svelte-hq4hj3{border-radius:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__timer-wrapper.svelte-hq4hj3{border-radius:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__timer-wrapper.svelte-hq4hj3{border-radius:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__timer-wrapper.svelte-hq4hj3{border-radius:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__timer-wrapper.svelte-hq4hj3{border-radius:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__timer-wrapper.svelte-hq4hj3{border-radius:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__timer-wrapper.svelte-hq4hj3{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__timer-wrapper.svelte-hq4hj3{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__timer-wrapper.svelte-hq4hj3{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__timer-wrapper.svelte-hq4hj3{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__timer-wrapper.svelte-hq4hj3{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__timer-wrapper.svelte-hq4hj3{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__timer-wrapper.svelte-hq4hj3{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__timer-wrapper.svelte-hq4hj3{padding-left:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__timer-wrapper.svelte-hq4hj3{padding-left:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__timer-wrapper.svelte-hq4hj3{padding-left:calc(0.01684375 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__timer-wrapper.svelte-hq4hj3{padding-left:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__timer-wrapper.svelte-hq4hj3{padding-left:calc(0.0153125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__timer-wrapper.svelte-hq4hj3{padding-left:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__timer-wrapper.svelte-hq4hj3{padding-left:calc(0.0240625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__timer-wrapper.svelte-hq4hj3{padding-right:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__timer-wrapper.svelte-hq4hj3{padding-right:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__timer-wrapper.svelte-hq4hj3{padding-right:calc(0.01684375 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__timer-wrapper.svelte-hq4hj3{padding-right:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__timer-wrapper.svelte-hq4hj3{padding-right:calc(0.0153125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__timer-wrapper.svelte-hq4hj3{padding-right:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__timer-wrapper.svelte-hq4hj3{padding-right:calc(0.0240625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__timer-wrapper.svelte-hq4hj3{margin-bottom:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__timer-wrapper.svelte-hq4hj3{margin-bottom:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__timer-wrapper.svelte-hq4hj3{margin-bottom:calc(0.0136354167 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__timer-wrapper.svelte-hq4hj3{margin-bottom:calc(0.0194791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__timer-wrapper.svelte-hq4hj3{margin-bottom:calc(0.0123958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__timer-wrapper.svelte-hq4hj3{margin-bottom:calc(0.0159375 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__timer-wrapper.svelte-hq4hj3{margin-bottom:calc(0.0194791667 * 100vw + 0px)}}.container-content__timer-counter.svelte-hq4hj3{color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.0125 * 100vw + 0px);line-height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__timer-counter.svelte-hq4hj3{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__timer-counter.svelte-hq4hj3{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__timer-counter.svelte-hq4hj3{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__timer-counter.svelte-hq4hj3{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__timer-counter.svelte-hq4hj3{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__timer-counter.svelte-hq4hj3{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__timer-counter.svelte-hq4hj3{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__timer-counter.svelte-hq4hj3{line-height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__timer-counter.svelte-hq4hj3{line-height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__timer-counter.svelte-hq4hj3{line-height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__timer-counter.svelte-hq4hj3{line-height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__timer-counter.svelte-hq4hj3{line-height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__timer-counter.svelte-hq4hj3{line-height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__timer-counter.svelte-hq4hj3{line-height:calc(0.0286458333 * 100vw + 0px)}}.container-content__current-bet-caption.svelte-hq4hj3{color:rgba(255, 255, 255, 0.75);font-family:\"GothamPro\";font-size:calc(0.0078125 * 100vw + 0px);margin-bottom:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__current-bet-caption.svelte-hq4hj3{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__current-bet-caption.svelte-hq4hj3{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__current-bet-caption.svelte-hq4hj3{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__current-bet-caption.svelte-hq4hj3{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__current-bet-caption.svelte-hq4hj3{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__current-bet-caption.svelte-hq4hj3{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__current-bet-caption.svelte-hq4hj3{font-size:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__current-bet-caption.svelte-hq4hj3{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__current-bet-caption.svelte-hq4hj3{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__current-bet-caption.svelte-hq4hj3{margin-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__current-bet-caption.svelte-hq4hj3{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__current-bet-caption.svelte-hq4hj3{margin-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__current-bet-caption.svelte-hq4hj3{margin-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__current-bet-caption.svelte-hq4hj3{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}.container-content__current-bet.svelte-hq4hj3{display:flex;flex-direction:row;justify-content:space-between;align-items:center;background-color:#202731;width:calc(0.1822916667 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);padding-left:calc(0.0130208333 * 100vw + 0px);padding-right:calc(0.0130208333 * 100vw + 0px);margin-bottom:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__current-bet.svelte-hq4hj3{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__current-bet.svelte-hq4hj3{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__current-bet.svelte-hq4hj3{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__current-bet.svelte-hq4hj3{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__current-bet.svelte-hq4hj3{width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__current-bet.svelte-hq4hj3{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__current-bet.svelte-hq4hj3{width:calc(0.2005208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__current-bet.svelte-hq4hj3{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__current-bet.svelte-hq4hj3{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__current-bet.svelte-hq4hj3{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__current-bet.svelte-hq4hj3{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__current-bet.svelte-hq4hj3{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__current-bet.svelte-hq4hj3{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__current-bet.svelte-hq4hj3{height:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__current-bet.svelte-hq4hj3{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__current-bet.svelte-hq4hj3{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__current-bet.svelte-hq4hj3{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__current-bet.svelte-hq4hj3{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__current-bet.svelte-hq4hj3{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__current-bet.svelte-hq4hj3{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__current-bet.svelte-hq4hj3{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__current-bet.svelte-hq4hj3{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__current-bet.svelte-hq4hj3{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__current-bet.svelte-hq4hj3{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__current-bet.svelte-hq4hj3{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__current-bet.svelte-hq4hj3{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__current-bet.svelte-hq4hj3{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__current-bet.svelte-hq4hj3{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__current-bet.svelte-hq4hj3{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__current-bet.svelte-hq4hj3{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__current-bet.svelte-hq4hj3{padding-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__current-bet.svelte-hq4hj3{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__current-bet.svelte-hq4hj3{padding-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__current-bet.svelte-hq4hj3{padding-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__current-bet.svelte-hq4hj3{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__current-bet.svelte-hq4hj3{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__current-bet.svelte-hq4hj3{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__current-bet.svelte-hq4hj3{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__current-bet.svelte-hq4hj3{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__current-bet.svelte-hq4hj3{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__current-bet.svelte-hq4hj3{margin-bottom:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__current-bet.svelte-hq4hj3{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}.container-content__current-bet-user.svelte-hq4hj3{color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__current-bet-user.svelte-hq4hj3{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__current-bet-user.svelte-hq4hj3{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__current-bet-user.svelte-hq4hj3{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__current-bet-user.svelte-hq4hj3{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__current-bet-user.svelte-hq4hj3{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__current-bet-user.svelte-hq4hj3{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__current-bet-user.svelte-hq4hj3{font-size:calc(0.006875 * 100vw + 0px)}}.container-content__current-bet-value.svelte-hq4hj3{color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__current-bet-value.svelte-hq4hj3{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__current-bet-value.svelte-hq4hj3{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__current-bet-value.svelte-hq4hj3{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__current-bet-value.svelte-hq4hj3{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__current-bet-value.svelte-hq4hj3{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__current-bet-value.svelte-hq4hj3{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__current-bet-value.svelte-hq4hj3{font-size:calc(0.006875 * 100vw + 0px)}}.container-content__current-bet-dollar.svelte-hq4hj3{padding-left:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__current-bet-dollar.svelte-hq4hj3{padding-left:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__current-bet-dollar.svelte-hq4hj3{padding-left:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__current-bet-dollar.svelte-hq4hj3{padding-left:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__current-bet-dollar.svelte-hq4hj3{padding-left:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__current-bet-dollar.svelte-hq4hj3{padding-left:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__current-bet-dollar.svelte-hq4hj3{padding-left:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__current-bet-dollar.svelte-hq4hj3{padding-left:calc(0.0028645833 * 100vw + 0px)}}.container-content__participate.svelte-hq4hj3{display:flex;justify-content:space-between;align-items:center;background-color:#FFFFFF;cursor:pointer;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.1171875 * 100vw + 0px);height:calc(0.0338541667 * 100vw + 0px);padding-left:calc(0.0145833333 * 100vw + 0px);padding-right:calc(0.0145833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__participate.svelte-hq4hj3{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__participate.svelte-hq4hj3{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__participate.svelte-hq4hj3{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__participate.svelte-hq4hj3{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__participate.svelte-hq4hj3{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__participate.svelte-hq4hj3{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__participate.svelte-hq4hj3{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__participate.svelte-hq4hj3{width:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__participate.svelte-hq4hj3{width:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__participate.svelte-hq4hj3{width:calc(0.090234375 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__participate.svelte-hq4hj3{width:calc(0.12890625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__participate.svelte-hq4hj3{width:calc(0.08203125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__participate.svelte-hq4hj3{width:calc(0.10546875 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__participate.svelte-hq4hj3{width:calc(0.12890625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__participate.svelte-hq4hj3{height:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__participate.svelte-hq4hj3{height:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__participate.svelte-hq4hj3{height:calc(0.0260677083 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__participate.svelte-hq4hj3{height:calc(0.0372395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__participate.svelte-hq4hj3{height:calc(0.0236979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__participate.svelte-hq4hj3{height:calc(0.03046875 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__participate.svelte-hq4hj3{height:calc(0.0372395833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__participate.svelte-hq4hj3{padding-left:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__participate.svelte-hq4hj3{padding-left:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__participate.svelte-hq4hj3{padding-left:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__participate.svelte-hq4hj3{padding-left:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__participate.svelte-hq4hj3{padding-left:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__participate.svelte-hq4hj3{padding-left:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__participate.svelte-hq4hj3{padding-left:calc(0.0160416667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__participate.svelte-hq4hj3{padding-right:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__participate.svelte-hq4hj3{padding-right:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__participate.svelte-hq4hj3{padding-right:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__participate.svelte-hq4hj3{padding-right:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__participate.svelte-hq4hj3{padding-right:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__participate.svelte-hq4hj3{padding-right:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__participate.svelte-hq4hj3{padding-right:calc(0.0160416667 * 100vw + 0px)}}.container-content__participate.svelte-hq4hj3:hover{box-shadow:0px 0.25rem 3.125rem #FFFFFF}.container-content__participate-text.svelte-hq4hj3{color:#111111;font-family:\"GothamPro\";font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__participate-text.svelte-hq4hj3{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__participate-text.svelte-hq4hj3{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__participate-text.svelte-hq4hj3{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__participate-text.svelte-hq4hj3{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__participate-text.svelte-hq4hj3{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__participate-text.svelte-hq4hj3{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__participate-text.svelte-hq4hj3{font-size:calc(0.0091666667 * 100vw + 0px)}}.container-content__participate-icon.svelte-hq4hj3{color:#111111;font-family:\"GothamPro\";font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__participate-icon.svelte-hq4hj3{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__participate-icon.svelte-hq4hj3{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__participate-icon.svelte-hq4hj3{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__participate-icon.svelte-hq4hj3{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__participate-icon.svelte-hq4hj3{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__participate-icon.svelte-hq4hj3{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__participate-icon.svelte-hq4hj3{font-size:calc(0.0091666667 * 100vw + 0px)}}.container-content__rewards.svelte-hq4hj3{position:absolute;right:calc(0.06875 * 100vw + 0px);width:calc(0.5625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__rewards.svelte-hq4hj3{right:calc(0.06875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__rewards.svelte-hq4hj3{right:calc(0.06875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__rewards.svelte-hq4hj3{right:calc(0.0529375 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__rewards.svelte-hq4hj3{right:calc(0.075625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__rewards.svelte-hq4hj3{right:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__rewards.svelte-hq4hj3{right:calc(0.061875 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__rewards.svelte-hq4hj3{right:calc(0.075625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__rewards.svelte-hq4hj3{width:calc(0.5625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__rewards.svelte-hq4hj3{width:calc(0.5625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__rewards.svelte-hq4hj3{width:calc(0.433125 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__rewards.svelte-hq4hj3{width:calc(0.61875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__rewards.svelte-hq4hj3{width:calc(0.39375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__rewards.svelte-hq4hj3{width:calc(0.50625 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__rewards.svelte-hq4hj3{width:calc(0.61875 * 100vw + 0px)}}.container-content__rewards-title.svelte-hq4hj3{color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.0104166667 * 100vw + 0px);margin-bottom:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__rewards-title.svelte-hq4hj3{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__rewards-title.svelte-hq4hj3{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__rewards-title.svelte-hq4hj3{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__rewards-title.svelte-hq4hj3{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__rewards-title.svelte-hq4hj3{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__rewards-title.svelte-hq4hj3{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__rewards-title.svelte-hq4hj3{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__rewards-title.svelte-hq4hj3{margin-bottom:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__rewards-title.svelte-hq4hj3{margin-bottom:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__rewards-title.svelte-hq4hj3{margin-bottom:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__rewards-title.svelte-hq4hj3{margin-bottom:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__rewards-title.svelte-hq4hj3{margin-bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__rewards-title.svelte-hq4hj3{margin-bottom:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__rewards-title.svelte-hq4hj3{margin-bottom:calc(0.0171875 * 100vw + 0px)}}.container-content__rewards-grid.svelte-hq4hj3{display:grid;grid-template-columns:1fr 1fr 1fr 1fr 1fr 1fr;overflow:auto;max-height:calc(0.3125 * 100vw + 0px);grid-gap:calc(0.0260416667 * 100vw + 0px)}.container-content__rewards-grid.svelte-hq4hj3::-webkit-scrollbar{height:0;width:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__rewards-grid.svelte-hq4hj3::-webkit-scrollbar{width:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__rewards-grid.svelte-hq4hj3::-webkit-scrollbar{width:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__rewards-grid.svelte-hq4hj3::-webkit-scrollbar{width:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__rewards-grid.svelte-hq4hj3::-webkit-scrollbar{width:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__rewards-grid.svelte-hq4hj3::-webkit-scrollbar{width:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__rewards-grid.svelte-hq4hj3::-webkit-scrollbar{width:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__rewards-grid.svelte-hq4hj3::-webkit-scrollbar{width:calc(0.0045833333 * 100vw + 0px)}}.container-content__rewards-grid.svelte-hq4hj3::-webkit-scrollbar-button{display:none}.container-content__rewards-grid.svelte-hq4hj3::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.3)}.container-content__rewards-grid.svelte-hq4hj3::-webkit-scrollbar-track-piece{background:rgba(255, 255, 255, 0.3);border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__rewards-grid.svelte-hq4hj3::-webkit-scrollbar-track-piece{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__rewards-grid.svelte-hq4hj3::-webkit-scrollbar-track-piece{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__rewards-grid.svelte-hq4hj3::-webkit-scrollbar-track-piece{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__rewards-grid.svelte-hq4hj3::-webkit-scrollbar-track-piece{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__rewards-grid.svelte-hq4hj3::-webkit-scrollbar-track-piece{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__rewards-grid.svelte-hq4hj3::-webkit-scrollbar-track-piece{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__rewards-grid.svelte-hq4hj3::-webkit-scrollbar-track-piece{border-radius:calc(0.0028645833 * 100vw + 0px)}}.container-content__rewards-grid.svelte-hq4hj3::-webkit-scrollbar-thumb{background:#FFFFFF;border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.container-content__rewards-grid.svelte-hq4hj3::-webkit-scrollbar-thumb{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__rewards-grid.svelte-hq4hj3::-webkit-scrollbar-thumb{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__rewards-grid.svelte-hq4hj3::-webkit-scrollbar-thumb{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__rewards-grid.svelte-hq4hj3::-webkit-scrollbar-thumb{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__rewards-grid.svelte-hq4hj3::-webkit-scrollbar-thumb{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__rewards-grid.svelte-hq4hj3::-webkit-scrollbar-thumb{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__rewards-grid.svelte-hq4hj3::-webkit-scrollbar-thumb{border-radius:calc(0.0028645833 * 100vw + 0px)}}.container-content__rewards-grid.svelte-hq4hj3::-webkit-scrollbar-corner{background-color:rgba(255, 255, 255, 0.3)}.container-content__rewards-grid.svelte-hq4hj3::-webkit-resizer{background-color:rgba(255, 255, 255, 0.3)}@media(max-width: 1920px) and (max-height: 768px){.container-content__rewards-grid.svelte-hq4hj3{max-height:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__rewards-grid.svelte-hq4hj3{max-height:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__rewards-grid.svelte-hq4hj3{max-height:calc(0.240625 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__rewards-grid.svelte-hq4hj3{max-height:calc(0.34375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__rewards-grid.svelte-hq4hj3{max-height:calc(0.21875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__rewards-grid.svelte-hq4hj3{max-height:calc(0.28125 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__rewards-grid.svelte-hq4hj3{max-height:calc(0.34375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.container-content__rewards-grid.svelte-hq4hj3{grid-gap:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.container-content__rewards-grid.svelte-hq4hj3{grid-gap:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.container-content__rewards-grid.svelte-hq4hj3{grid-gap:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.container-content__rewards-grid.svelte-hq4hj3{grid-gap:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.container-content__rewards-grid.svelte-hq4hj3{grid-gap:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.container-content__rewards-grid.svelte-hq4hj3{grid-gap:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.container-content__rewards-grid.svelte-hq4hj3{grid-gap:calc(0.0286458333 * 100vw + 0px)}}");
}

function components_container_content_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[10] = list[i];
	return child_ctx;
}

// (2278:38) 
function container_content_index_svelte_create_if_block_9(ctx) {
	let span1;
	let t0_value = formatMoney(/*container*/ ctx[0].startPrice) + "";
	let t0;
	let span0;

	return {
		c() {
			span1 = internal_element("span");
			t0 = internal_text(t0_value);
			span0 = internal_element("span");
			span0.textContent = "BTC";
			attr(span0, "class", "container-content__information-price-icon svelte-hq4hj3");
			attr(span1, "class", "container-content__price svelte-hq4hj3");
		},
		m(target, anchor) {
			insert(target, span1, anchor);
			append(span1, t0);
			append(span1, span0);
		},
		p(ctx, dirty) {
			if (dirty & /*container*/ 1 && t0_value !== (t0_value = formatMoney(/*container*/ ctx[0].startPrice) + "")) set_data(t0, t0_value);
		},
		d(detaching) {
			if (detaching) detach(span1);
		}
	};
}

// (2276:38) 
function container_content_index_svelte_create_if_block_8(ctx) {
	let span1;
	let t0_value = formatMoney(/*container*/ ctx[0].startPrice) + "";
	let t0;
	let span0;

	return {
		c() {
			span1 = internal_element("span");
			t0 = internal_text(t0_value);
			span0 = internal_element("span");
			span0.textContent = "руб.";
			attr(span0, "class", "container-content__information-price-icon svelte-hq4hj3");
			attr(span1, "class", "container-content__price svelte-hq4hj3");
		},
		m(target, anchor) {
			insert(target, span1, anchor);
			append(span1, t0);
			append(span1, span0);
		},
		p(ctx, dirty) {
			if (dirty & /*container*/ 1 && t0_value !== (t0_value = formatMoney(/*container*/ ctx[0].startPrice) + "")) set_data(t0, t0_value);
		},
		d(detaching) {
			if (detaching) detach(span1);
		}
	};
}

// (2274:2) {#if container.typePrice === 1}
function container_content_index_svelte_create_if_block_7(ctx) {
	let span1;
	let t0_value = formatMoney(/*container*/ ctx[0].startPrice) + "";
	let t0;
	let span0;

	return {
		c() {
			span1 = internal_element("span");
			t0 = internal_text(t0_value);
			span0 = internal_element("span");
			span0.textContent = "AZ";
			attr(span0, "class", "container-content__information-price-icon svelte-hq4hj3");
			attr(span1, "class", "container-content__price svelte-hq4hj3");
		},
		m(target, anchor) {
			insert(target, span1, anchor);
			append(span1, t0);
			append(span1, span0);
		},
		p(ctx, dirty) {
			if (dirty & /*container*/ 1 && t0_value !== (t0_value = formatMoney(/*container*/ ctx[0].startPrice) + "")) set_data(t0, t0_value);
		},
		d(detaching) {
			if (detaching) detach(span1);
		}
	};
}

// (2285:2) {#if container.time > 0}
function container_content_index_svelte_create_if_block_6(ctx) {
	let span0;
	let t1;
	let div;
	let span1;
	let t2_value = `${/*getMinutes*/ ctx[3](/*container*/ ctx[0].time)}:${/*addZero*/ ctx[5](/*getSeconds*/ ctx[4](/*container*/ ctx[0].time))}` + "";
	let t2;

	return {
		c() {
			span0 = internal_element("span");
			span0.textContent = "Времени осталось";
			t1 = space();
			div = internal_element("div");
			span1 = internal_element("span");
			t2 = internal_text(t2_value);
			attr(span0, "class", "container-content__time-caption svelte-hq4hj3");
			attr(span1, "class", "container-content__timer-counter svelte-hq4hj3");
			attr(div, "class", "container-content__timer-wrapper svelte-hq4hj3");
		},
		m(target, anchor) {
			insert(target, span0, anchor);
			insert(target, t1, anchor);
			insert(target, div, anchor);
			append(div, span1);
			append(span1, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*container*/ 1 && t2_value !== (t2_value = `${/*getMinutes*/ ctx[3](/*container*/ ctx[0].time)}:${/*addZero*/ ctx[5](/*getSeconds*/ ctx[4](/*container*/ ctx[0].time))}` + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(span0);
			if (detaching) detach(t1);
			if (detaching) detach(div);
		}
	};
}

// (2292:2) {#if container.time <= 0}
function container_content_index_svelte_create_if_block_5(ctx) {
	let span0;
	let t1;
	let div;
	let span1;
	let t2;
	let t3_value = /*container*/ ctx[0].hourStartTime + "";
	let t3;
	let t4;

	return {
		c() {
			span0 = internal_element("span");
			span0.textContent = "Аукцион не проводится";
			t1 = space();
			div = internal_element("div");
			span1 = internal_element("span");
			t2 = internal_text("Начало: ");
			t3 = internal_text(t3_value);
			t4 = internal_text(":00");
			attr(span0, "class", "container-content__time-caption svelte-hq4hj3");
			attr(span1, "class", "container-content__timer-counter svelte-hq4hj3");
			attr(div, "class", "container-content__timer-wrapper svelte-hq4hj3");
		},
		m(target, anchor) {
			insert(target, span0, anchor);
			insert(target, t1, anchor);
			insert(target, div, anchor);
			append(div, span1);
			append(span1, t2);
			append(span1, t3);
			append(span1, t4);
		},
		p(ctx, dirty) {
			if (dirty & /*container*/ 1 && t3_value !== (t3_value = /*container*/ ctx[0].hourStartTime + "")) set_data(t3, t3_value);
		},
		d(detaching) {
			if (detaching) detach(span0);
			if (detaching) detach(t1);
			if (detaching) detach(div);
		}
	};
}

// (2308:39) 
function container_content_index_svelte_create_if_block_4(ctx) {
	let span1;
	let t0_value = formatMoney(/*container*/ ctx[0].currentBet) + "";
	let t0;
	let span0;

	return {
		c() {
			span1 = internal_element("span");
			t0 = internal_text(t0_value);
			span0 = internal_element("span");
			span0.textContent = "BTC";
			attr(span0, "class", "container-content__current-bet-dollar svelte-hq4hj3");
			attr(span1, "class", "container-content__current-bet-value svelte-hq4hj3");
		},
		m(target, anchor) {
			insert(target, span1, anchor);
			append(span1, t0);
			append(span1, span0);
		},
		p(ctx, dirty) {
			if (dirty & /*container*/ 1 && t0_value !== (t0_value = formatMoney(/*container*/ ctx[0].currentBet) + "")) set_data(t0, t0_value);
		},
		d(detaching) {
			if (detaching) detach(span1);
		}
	};
}

// (2306:39) 
function container_content_index_svelte_create_if_block_3(ctx) {
	let span1;
	let t0_value = formatMoney(/*container*/ ctx[0].currentBet) + "";
	let t0;
	let span0;

	return {
		c() {
			span1 = internal_element("span");
			t0 = internal_text(t0_value);
			span0 = internal_element("span");
			span0.textContent = "руб.";
			attr(span0, "class", "container-content__current-bet-dollar svelte-hq4hj3");
			attr(span1, "class", "container-content__current-bet-value svelte-hq4hj3");
		},
		m(target, anchor) {
			insert(target, span1, anchor);
			append(span1, t0);
			append(span1, span0);
		},
		p(ctx, dirty) {
			if (dirty & /*container*/ 1 && t0_value !== (t0_value = formatMoney(/*container*/ ctx[0].currentBet) + "")) set_data(t0, t0_value);
		},
		d(detaching) {
			if (detaching) detach(span1);
		}
	};
}

// (2304:3) {#if container.typePrice === 1}
function container_content_index_svelte_create_if_block_2(ctx) {
	let span1;
	let t0_value = formatMoney(/*container*/ ctx[0].currentBet) + "";
	let t0;
	let span0;

	return {
		c() {
			span1 = internal_element("span");
			t0 = internal_text(t0_value);
			span0 = internal_element("span");
			span0.textContent = "AZ";
			attr(span0, "class", "container-content__current-bet-dollar svelte-hq4hj3");
			attr(span1, "class", "container-content__current-bet-value svelte-hq4hj3");
		},
		m(target, anchor) {
			insert(target, span1, anchor);
			append(span1, t0);
			append(span1, span0);
		},
		p(ctx, dirty) {
			if (dirty & /*container*/ 1 && t0_value !== (t0_value = formatMoney(/*container*/ ctx[0].currentBet) + "")) set_data(t0, t0_value);
		},
		d(detaching) {
			if (detaching) detach(span1);
		}
	};
}

// (2312:2) {#if container.time > 0}
function container_content_index_svelte_create_if_block_1(ctx) {
	let div;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");

			div.innerHTML = `<span class="container-content__participate-text svelte-hq4hj3">Участвовать</span> 
				<i class="container-content__participate-icon ui-arrow-right svelte-hq4hj3"></i>`;

			attr(div, "class", "container-content__participate svelte-hq4hj3");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = listen(div, "click", /*click_handler*/ ctx[7]);
				mounted = true;
			}
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (2323:4) {#each rewards as reward}
function components_container_content_index_svelte_create_each_block(ctx) {
	let rewarditem;
	let current;
	rewarditem = new reward_item_index_svelte({ props: { reward: /*reward*/ ctx[10] } });

	return {
		c() {
			create_component(rewarditem.$$.fragment);
		},
		m(target, anchor) {
			mount_component(rewarditem, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const rewarditem_changes = {};
			if (dirty & /*rewards*/ 2) rewarditem_changes.reward = /*reward*/ ctx[10];
			rewarditem.$set(rewarditem_changes);
		},
		i(local) {
			if (current) return;
			transition_in(rewarditem.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(rewarditem.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(rewarditem, detaching);
		}
	};
}

// (2329:0) {#if modalVisible && container.time > 0}
function components_container_content_index_svelte_create_if_block(ctx) {
	let modal;
	let current;

	modal = new modal_index_svelte({
			props: {
				close: /*func*/ ctx[8],
				container: /*container*/ ctx[0]
			}
		});

	return {
		c() {
			create_component(modal.$$.fragment);
		},
		m(target, anchor) {
			mount_component(modal, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const modal_changes = {};
			if (dirty & /*modalVisible*/ 4) modal_changes.close = /*func*/ ctx[8];
			if (dirty & /*container*/ 1) modal_changes.container = /*container*/ ctx[0];
			modal.$set(modal_changes);
		},
		i(local) {
			if (current) return;
			transition_in(modal.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(modal.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(modal, detaching);
		}
	};
}

function components_container_content_index_svelte_create_fragment(ctx) {
	let div8;
	let div0;
	let t0;
	let div1;
	let actionbutton;
	let t1;
	let span0;
	let t3;
	let div4;
	let span1;
	let t4_value = /*container*/ ctx[0].title + "";
	let t4;
	let t5;
	let span2;
	let t7;
	let t8;
	let div2;
	let img;
	let img_src_value;
	let t9;
	let t10;
	let t11;
	let span3;
	let t13;
	let div3;
	let span4;
	let t14_value = /*container*/ ctx[0].currentBetUser + "";
	let t14;
	let t15;
	let t16;
	let div4_intro;
	let t17;
	let div7;
	let div5;
	let t19;
	let div6;
	let div7_intro;
	let t20;
	let if_block5_anchor;
	let current;

	actionbutton = new index_svelte({
			props: {
				keyTitle: "Esc",
				postActionTitle: "закрыть",
				keyCode: ESCAPE_BUTTON_CODE,
				onPress: /*close*/ ctx[6]
			}
		});

	function select_block_type(ctx, dirty) {
		if (/*container*/ ctx[0].typePrice === 1) return container_content_index_svelte_create_if_block_7;
		if (/*container*/ ctx[0].typePrice === 0) return container_content_index_svelte_create_if_block_8;
		if (/*container*/ ctx[0].typePrice === 3) return container_content_index_svelte_create_if_block_9;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block0 = current_block_type && current_block_type(ctx);
	let if_block1 = /*container*/ ctx[0].time > 0 && container_content_index_svelte_create_if_block_6(ctx);
	let if_block2 = /*container*/ ctx[0].time <= 0 && container_content_index_svelte_create_if_block_5(ctx);

	function select_block_type_1(ctx, dirty) {
		if (/*container*/ ctx[0].typePrice === 1) return container_content_index_svelte_create_if_block_2;
		if (/*container*/ ctx[0].typePrice === 0) return container_content_index_svelte_create_if_block_3;
		if (/*container*/ ctx[0].typePrice === 3) return container_content_index_svelte_create_if_block_4;
	}

	let current_block_type_1 = select_block_type_1(ctx, -1);
	let if_block3 = current_block_type_1 && current_block_type_1(ctx);
	let if_block4 = /*container*/ ctx[0].time > 0 && container_content_index_svelte_create_if_block_1(ctx);
	let each_value = /*rewards*/ ctx[1];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = components_container_content_index_svelte_create_each_block(components_container_content_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	let if_block5 = /*modalVisible*/ ctx[2] && /*container*/ ctx[0].time > 0 && components_container_content_index_svelte_create_if_block(ctx);

	return {
		c() {
			div8 = internal_element("div");
			div0 = internal_element("div");
			t0 = space();
			div1 = internal_element("div");
			create_component(actionbutton.$$.fragment);
			t1 = space();
			span0 = internal_element("span");
			span0.textContent = "Аукцион за контейнер";
			t3 = space();
			div4 = internal_element("div");
			span1 = internal_element("span");
			t4 = internal_text(t4_value);
			t5 = space();
			span2 = internal_element("span");
			span2.textContent = "Начальная цена";
			t7 = space();
			if (if_block0) if_block0.c();
			t8 = space();
			div2 = internal_element("div");
			img = internal_element("img");
			t9 = space();
			if (if_block1) if_block1.c();
			t10 = space();
			if (if_block2) if_block2.c();
			t11 = space();
			span3 = internal_element("span");
			span3.textContent = "Последняя ставка";
			t13 = space();
			div3 = internal_element("div");
			span4 = internal_element("span");
			t14 = internal_text(t14_value);
			t15 = space();
			if (if_block3) if_block3.c();
			t16 = space();
			if (if_block4) if_block4.c();
			t17 = space();
			div7 = internal_element("div");
			div5 = internal_element("div");
			div5.textContent = "Возможное содержимое";
			t19 = space();
			div6 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t20 = space();
			if (if_block5) if_block5.c();
			if_block5_anchor = empty();
			attr(div0, "class", "container-content__bg-containers svelte-hq4hj3");
			attr(div1, "class", "container-content__escape-button svelte-hq4hj3");
			attr(span0, "class", "container-content__title svelte-hq4hj3");
			attr(span1, "class", "container-content__information-title svelte-hq4hj3");
			attr(span2, "class", "container-content__price-caption svelte-hq4hj3");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/container/${/*container*/ ctx[0].image}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "");
			attr(img, "class", "container-content__information-image svelte-hq4hj3");
			attr(div2, "class", "container-content__information-image-wrapper svelte-hq4hj3");
			attr(span3, "class", "container-content__current-bet-caption svelte-hq4hj3");
			attr(span4, "class", "container-content__current-bet-user svelte-hq4hj3");
			attr(div3, "class", "container-content__current-bet svelte-hq4hj3");
			attr(div4, "class", "container-content__information svelte-hq4hj3");
			attr(div5, "class", "container-content__rewards-title svelte-hq4hj3");
			attr(div6, "class", "container-content__rewards-grid svelte-hq4hj3");
			attr(div7, "class", "container-content__rewards svelte-hq4hj3");
			attr(div8, "class", "container-content svelte-hq4hj3");
		},
		m(target, anchor) {
			insert(target, div8, anchor);
			append(div8, div0);
			append(div8, t0);
			append(div8, div1);
			mount_component(actionbutton, div1, null);
			append(div8, t1);
			append(div8, span0);
			append(div8, t3);
			append(div8, div4);
			append(div4, span1);
			append(span1, t4);
			append(div4, t5);
			append(div4, span2);
			append(div4, t7);
			if (if_block0) if_block0.m(div4, null);
			append(div4, t8);
			append(div4, div2);
			append(div2, img);
			append(div4, t9);
			if (if_block1) if_block1.m(div4, null);
			append(div4, t10);
			if (if_block2) if_block2.m(div4, null);
			append(div4, t11);
			append(div4, span3);
			append(div4, t13);
			append(div4, div3);
			append(div3, span4);
			append(span4, t14);
			append(div3, t15);
			if (if_block3) if_block3.m(div3, null);
			append(div4, t16);
			if (if_block4) if_block4.m(div4, null);
			append(div8, t17);
			append(div8, div7);
			append(div7, div5);
			append(div7, t19);
			append(div7, div6);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div6, null);
			}

			insert(target, t20, anchor);
			if (if_block5) if_block5.m(target, anchor);
			insert(target, if_block5_anchor, anchor);
			current = true;
		},
		p(ctx, [dirty]) {
			if ((!current || dirty & /*container*/ 1) && t4_value !== (t4_value = /*container*/ ctx[0].title + "")) set_data(t4, t4_value);

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block0) {
				if_block0.p(ctx, dirty);
			} else {
				if (if_block0) if_block0.d(1);
				if_block0 = current_block_type && current_block_type(ctx);

				if (if_block0) {
					if_block0.c();
					if_block0.m(div4, t8);
				}
			}

			if (!current || dirty & /*container*/ 1 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/container/${/*container*/ ctx[0].image}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (/*container*/ ctx[0].time > 0) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = container_content_index_svelte_create_if_block_6(ctx);
					if_block1.c();
					if_block1.m(div4, t10);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (/*container*/ ctx[0].time <= 0) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = container_content_index_svelte_create_if_block_5(ctx);
					if_block2.c();
					if_block2.m(div4, t11);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			if ((!current || dirty & /*container*/ 1) && t14_value !== (t14_value = /*container*/ ctx[0].currentBetUser + "")) set_data(t14, t14_value);

			if (current_block_type_1 === (current_block_type_1 = select_block_type_1(ctx, dirty)) && if_block3) {
				if_block3.p(ctx, dirty);
			} else {
				if (if_block3) if_block3.d(1);
				if_block3 = current_block_type_1 && current_block_type_1(ctx);

				if (if_block3) {
					if_block3.c();
					if_block3.m(div3, null);
				}
			}

			if (/*container*/ ctx[0].time > 0) {
				if (if_block4) {
					if_block4.p(ctx, dirty);
				} else {
					if_block4 = container_content_index_svelte_create_if_block_1(ctx);
					if_block4.c();
					if_block4.m(div4, null);
				}
			} else if (if_block4) {
				if_block4.d(1);
				if_block4 = null;
			}

			if (dirty & /*rewards*/ 2) {
				each_value = /*rewards*/ ctx[1];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = components_container_content_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = components_container_content_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div6, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}

			if (/*modalVisible*/ ctx[2] && /*container*/ ctx[0].time > 0) {
				if (if_block5) {
					if_block5.p(ctx, dirty);

					if (dirty & /*modalVisible, container*/ 5) {
						transition_in(if_block5, 1);
					}
				} else {
					if_block5 = components_container_content_index_svelte_create_if_block(ctx);
					if_block5.c();
					transition_in(if_block5, 1);
					if_block5.m(if_block5_anchor.parentNode, if_block5_anchor);
				}
			} else if (if_block5) {
				group_outros();

				transition_out(if_block5, 1, 1, () => {
					if_block5 = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(actionbutton.$$.fragment, local);

			if (!div4_intro) {
				add_render_callback(() => {
					div4_intro = create_in_transition(div4, fade, {});
					div4_intro.start();
				});
			}

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			if (!div7_intro) {
				add_render_callback(() => {
					div7_intro = create_in_transition(div7, fade, {});
					div7_intro.start();
				});
			}

			transition_in(if_block5);
			current = true;
		},
		o(local) {
			transition_out(actionbutton.$$.fragment, local);
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			transition_out(if_block5);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div8);
			destroy_component(actionbutton);

			if (if_block0) {
				if_block0.d();
			}

			if (if_block1) if_block1.d();
			if (if_block2) if_block2.d();

			if (if_block3) {
				if_block3.d();
			}

			if (if_block4) if_block4.d();
			destroy_each(each_blocks, detaching);
			if (detaching) detach(t20);
			if (if_block5) if_block5.d(detaching);
			if (detaching) detach(if_block5_anchor);
		}
	};
}

function components_container_content_index_svelte_instance($$self, $$props, $$invalidate) {
	let { container = {} } = $$props;
	let { rewards = [] } = $$props;
	let modalVisible = false;
	let teimerInterval = null;
	const getMinutes = seconds => Math.floor(seconds / 60);
	const getSeconds = seconds => seconds % 60;
	const addZero = seconds => seconds.toString().padStart(2, '0');

	const close = () => {
		sendClientMessage('closeContainerAuction');
	};

	onMount(() => {
		if (container.time > 0) {
			teimerInterval = setInterval(
				() => {
					$$invalidate(0, container.time -= 1, container);

					if (container.time === 0) {
						clearInterval(teimerInterval);
						sendClientMessage('closeContainerAuction');
					}
				},
				1000
			);
		}
	});

	onDestroy(() => {
		clearInterval(teimerInterval);
	});

	const click_handler = () => {
		$$invalidate(2, modalVisible = true);
	};

	const func = () => {
		$$invalidate(2, modalVisible = false);
	};

	$$self.$$set = $$props => {
		if ('container' in $$props) $$invalidate(0, container = $$props.container);
		if ('rewards' in $$props) $$invalidate(1, rewards = $$props.rewards);
	};

	return [
		container,
		rewards,
		modalVisible,
		getMinutes,
		getSeconds,
		addZero,
		close,
		click_handler,
		func
	];
}

class index_svelte_Container_content extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, components_container_content_index_svelte_instance, components_container_content_index_svelte_create_fragment, safe_not_equal, { container: 0, rewards: 1 }, components_container_content_index_svelte_add_css);
	}
}

/* harmony default export */ const components_container_content_index_svelte = (index_svelte_Container_content);
;// CONCATENATED MODULE: ./src/views/containers-auction/index.svelte
/* src\views\containers-auction\index.svelte generated by Svelte v3.49.0 */









function containers_auction_index_svelte_create_if_block_2(ctx) {
	let getrewards;
	let current;

	getrewards = new get_rewards_index_svelte({
			props: { rewards: /*pickableRewards*/ ctx[3] }
		});

	return {
		c() {
			create_component(getrewards.$$.fragment);
		},
		m(target, anchor) {
			mount_component(getrewards, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const getrewards_changes = {};
			if (dirty & /*pickableRewards*/ 8) getrewards_changes.rewards = /*pickableRewards*/ ctx[3];
			getrewards.$set(getrewards_changes);
		},
		i(local) {
			if (current) return;
			transition_in(getrewards.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(getrewards.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(getrewards, detaching);
		}
	};
}

// (57:36) 
function containers_auction_index_svelte_create_if_block_1(ctx) {
	let containercontent;
	let current;

	containercontent = new components_container_content_index_svelte({
			props: {
				container: /*pickedContainer*/ ctx[1],
				rewards: /*containerRewards*/ ctx[2]
			}
		});

	return {
		c() {
			create_component(containercontent.$$.fragment);
		},
		m(target, anchor) {
			mount_component(containercontent, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const containercontent_changes = {};
			if (dirty & /*pickedContainer*/ 2) containercontent_changes.container = /*pickedContainer*/ ctx[1];
			if (dirty & /*containerRewards*/ 4) containercontent_changes.rewards = /*containerRewards*/ ctx[2];
			containercontent.$set(containercontent_changes);
		},
		i(local) {
			if (current) return;
			transition_in(containercontent.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(containercontent.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(containercontent, detaching);
		}
	};
}

// (55:0) {#if !isEmpty(containersCollection)}
function containers_auction_index_svelte_create_if_block(ctx) {
	let previewscreen;
	let current;

	previewscreen = new preview_screen_index_svelte({
			props: {
				containers: /*containersCollection*/ ctx[0]
			}
		});

	return {
		c() {
			create_component(previewscreen.$$.fragment);
		},
		m(target, anchor) {
			mount_component(previewscreen, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const previewscreen_changes = {};
			if (dirty & /*containersCollection*/ 1) previewscreen_changes.containers = /*containersCollection*/ ctx[0];
			previewscreen.$set(previewscreen_changes);
		},
		i(local) {
			if (current) return;
			transition_in(previewscreen.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(previewscreen.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(previewscreen, detaching);
		}
	};
}

function containers_auction_index_svelte_create_fragment(ctx) {
	let show_if;
	let show_if_1;
	let show_if_2;
	let current_block_type_index;
	let if_block;
	let if_block_anchor;
	let current;
	const if_block_creators = [containers_auction_index_svelte_create_if_block, containers_auction_index_svelte_create_if_block_1, containers_auction_index_svelte_create_if_block_2];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (dirty & /*containersCollection*/ 1) show_if = null;
		if (dirty & /*pickedContainer*/ 2) show_if_1 = null;
		if (dirty & /*pickableRewards*/ 8) show_if_2 = null;
		if (show_if == null) show_if = !!!(0,lodash.isEmpty)(/*containersCollection*/ ctx[0]);
		if (show_if) return 0;
		if (show_if_1 == null) show_if_1 = !!!(0,lodash.isEmpty)(/*pickedContainer*/ ctx[1]);
		if (show_if_1) return 1;
		if (show_if_2 == null) show_if_2 = !!!(0,lodash.isEmpty)(/*pickableRewards*/ ctx[3]);
		if (show_if_2) return 2;
		return -1;
	}

	if (~(current_block_type_index = select_block_type(ctx, -1))) {
		if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
	}

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (~current_block_type_index) {
				if_blocks[current_block_type_index].m(target, anchor);
			}

			insert(target, if_block_anchor, anchor);
			current = true;
		},
		p(ctx, [dirty]) {
			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if (~current_block_type_index) {
					if_blocks[current_block_type_index].p(ctx, dirty);
				}
			} else {
				if (if_block) {
					group_outros();

					transition_out(if_blocks[previous_block_index], 1, 1, () => {
						if_blocks[previous_block_index] = null;
					});

					check_outros();
				}

				if (~current_block_type_index) {
					if_block = if_blocks[current_block_type_index];

					if (!if_block) {
						if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
						if_block.c();
					} else {
						if_block.p(ctx, dirty);
					}

					transition_in(if_block, 1);
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				} else {
					if_block = null;
				}
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (~current_block_type_index) {
				if_blocks[current_block_type_index].d(detaching);
			}

			if (detaching) detach(if_block_anchor);
		}
	};
}

function containers_auction_index_svelte_instance($$self, $$props, $$invalidate) {
	let containersCollection = [];
	let pickedContainer = {};
	let containerRewards = [];
	let pickableRewards = [];

	const initializeContainers = containers => {
		$$invalidate(0, containersCollection = [...containersCollection, ...containers]);
	};

	const initializeContainer = container => {
		$$invalidate(1, pickedContainer = container);
	};

	const initializeContainerRewards = rewards => {
		$$invalidate(2, containerRewards = [...containerRewards, ...rewards]);
	};

	const initializePickableRewards = rewards => {
		$$invalidate(3, pickableRewards = []);
		$$invalidate(3, pickableRewards = rewards);
	};

	const unregisterContainerAuction = registerEvent('event.arizonapass.initializeContainer', initializeContainer);
	const unregisterContainerRewards = registerEvent('event.arizonapass.initializeContainerRewards', initializeContainerRewards);
	const unregisterContainersAuction = registerEvent('event.arizonapass.initializeContainers', initializeContainers);
	const unregisterPickableRewards = registerEvent('event.arizonapass.initializePickableRewards', initializePickableRewards);

	// initializeContainers(CONTAINERS);
	// initializeContainer(CONTAINER);
	// initializeContainerRewards(CONTAINER_REWARDS);
	// initializePickableRewards(PICKABLE_REWARDS);
	onDestroy(() => {
		unregisterContainerAuction();
		unregisterContainersAuction();
		unregisterContainerRewards();
		unregisterPickableRewards();
	});

	return [containersCollection, pickedContainer, containerRewards, pickableRewards];
}

class Containers_auction extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, containers_auction_index_svelte_instance, containers_auction_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const containers_auction_index_svelte = (Containers_auction);
;// CONCATENATED MODULE: ./src/views/neighbours-game/img/timer.svg
const timer_namespaceObject = __webpack_require__.p + "assets/4294dedc6d44b28ee084.svg";
;// CONCATENATED MODULE: ./src/views/neighbours-game/img/trick.png
const trick_namespaceObject = __webpack_require__.p + "assets/6b613ff8c5b9833e8d7d.webp";
;// CONCATENATED MODULE: ./src/views/neighbours-game/quests/img/line.svg
const line_namespaceObject = __webpack_require__.p + "assets/7be0e75d319a2b7e5fef.svg";
;// CONCATENATED MODULE: ./src/views/neighbours-game/quests/img/button-line.svg
const button_line_namespaceObject = __webpack_require__.p + "assets/988fc4596cee9f65b3cb.svg";
;// CONCATENATED MODULE: ./src/views/neighbours-game/quests/index.svelte
/* src\views\neighbours-game\quests\index.svelte generated by Svelte v3.49.0 */














function neighbours_game_quests_index_svelte_add_css(target) {
	append_styles(target, "svelte-1xraxto", "@keyframes svelte-1xraxto-blinking{50%{opacity:0}}@keyframes svelte-1xraxto-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1xraxto-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1xraxto-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1xraxto-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1xraxto-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1xraxto-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1xraxto-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1xraxto-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1xraxto-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1xraxto-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1xraxto-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1xraxto-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1xraxto-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1xraxto-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.neighbours-game-quests.svelte-1xraxto.svelte-1xraxto{display:flex;align-items:center;flex-direction:column;width:100vw;height:100vh;background-color:rgba(32, 39, 49, 0.9)}.neighbours-game-quests.svelte-1xraxto.svelte-1xraxto::before{content:\"\";position:absolute;background:radial-gradient(49.98% 50.07% at 49.98% 50.13%, rgba(255, 242, 210, 0.5) 0%, rgba(255, 46, 46, 0.5) 22.4%, rgba(0, 0, 0, 0) 100%);filter:blur(50px);pointer-events:none;width:100%;top:0;height:calc(1.1520833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests.svelte-1xraxto.svelte-1xraxto::before{height:calc(1.1520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests.svelte-1xraxto.svelte-1xraxto::before{height:calc(1.1520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests.svelte-1xraxto.svelte-1xraxto::before{height:calc(0.8871041667 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests.svelte-1xraxto.svelte-1xraxto::before{height:calc(1.2672916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests.svelte-1xraxto.svelte-1xraxto::before{height:calc(0.8064583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests.svelte-1xraxto.svelte-1xraxto::before{height:calc(1.036875 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests.svelte-1xraxto.svelte-1xraxto::before{height:calc(1.2672916667 * 100vw + 0px)}}.neighbours-game-quests__title-wrapper.svelte-1xraxto.svelte-1xraxto{position:absolute;display:flex;gap:calc(0.3270833333 * 100vw + 0px);top:calc(0.0333333333 * 100vw + 0px);left:calc(0.0364583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__title-wrapper.svelte-1xraxto.svelte-1xraxto{gap:calc(0.3270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__title-wrapper.svelte-1xraxto.svelte-1xraxto{gap:calc(0.3270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__title-wrapper.svelte-1xraxto.svelte-1xraxto{gap:calc(0.2518541667 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__title-wrapper.svelte-1xraxto.svelte-1xraxto{gap:calc(0.3597916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__title-wrapper.svelte-1xraxto.svelte-1xraxto{gap:calc(0.2289583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__title-wrapper.svelte-1xraxto.svelte-1xraxto{gap:calc(0.294375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__title-wrapper.svelte-1xraxto.svelte-1xraxto{gap:calc(0.3597916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__title-wrapper.svelte-1xraxto.svelte-1xraxto{top:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__title-wrapper.svelte-1xraxto.svelte-1xraxto{top:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__title-wrapper.svelte-1xraxto.svelte-1xraxto{top:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__title-wrapper.svelte-1xraxto.svelte-1xraxto{top:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__title-wrapper.svelte-1xraxto.svelte-1xraxto{top:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__title-wrapper.svelte-1xraxto.svelte-1xraxto{top:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__title-wrapper.svelte-1xraxto.svelte-1xraxto{top:calc(0.0366666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__title-wrapper.svelte-1xraxto.svelte-1xraxto{left:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__title-wrapper.svelte-1xraxto.svelte-1xraxto{left:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__title-wrapper.svelte-1xraxto.svelte-1xraxto{left:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__title-wrapper.svelte-1xraxto.svelte-1xraxto{left:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__title-wrapper.svelte-1xraxto.svelte-1xraxto{left:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__title-wrapper.svelte-1xraxto.svelte-1xraxto{left:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__title-wrapper.svelte-1xraxto.svelte-1xraxto{left:calc(0.0401041667 * 100vw + 0px)}}.neighbours-game-quests__title.svelte-1xraxto.svelte-1xraxto{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0183333333 * 100vw + 0px)}}.neighbours-game-quests__title--red.svelte-1xraxto.svelte-1xraxto{color:#F24C4C}.neighbours-game-quests__line.svelte-1xraxto.svelte-1xraxto{position:absolute;transform:rotate(90deg);bottom:0;width:calc(0.5619791667 * 100vw + 0px);height:calc(0.5619791667 * 100vw + 0px);left:calc(0.171875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__line.svelte-1xraxto.svelte-1xraxto{width:calc(0.5619791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__line.svelte-1xraxto.svelte-1xraxto{width:calc(0.5619791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__line.svelte-1xraxto.svelte-1xraxto{width:calc(0.4327239583 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__line.svelte-1xraxto.svelte-1xraxto{width:calc(0.6181770833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__line.svelte-1xraxto.svelte-1xraxto{width:calc(0.3933854167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__line.svelte-1xraxto.svelte-1xraxto{width:calc(0.50578125 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__line.svelte-1xraxto.svelte-1xraxto{width:calc(0.6181770833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__line.svelte-1xraxto.svelte-1xraxto{height:calc(0.5619791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__line.svelte-1xraxto.svelte-1xraxto{height:calc(0.5619791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__line.svelte-1xraxto.svelte-1xraxto{height:calc(0.4327239583 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__line.svelte-1xraxto.svelte-1xraxto{height:calc(0.6181770833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__line.svelte-1xraxto.svelte-1xraxto{height:calc(0.3933854167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__line.svelte-1xraxto.svelte-1xraxto{height:calc(0.50578125 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__line.svelte-1xraxto.svelte-1xraxto{height:calc(0.6181770833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__line.svelte-1xraxto.svelte-1xraxto{left:calc(0.171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__line.svelte-1xraxto.svelte-1xraxto{left:calc(0.171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__line.svelte-1xraxto.svelte-1xraxto{left:calc(0.13234375 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__line.svelte-1xraxto.svelte-1xraxto{left:calc(0.1890625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__line.svelte-1xraxto.svelte-1xraxto{left:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__line.svelte-1xraxto.svelte-1xraxto{left:calc(0.1546875 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__line.svelte-1xraxto.svelte-1xraxto{left:calc(0.1890625 * 100vw + 0px)}}.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto{position:absolute;overflow:auto;height:calc(0.4375 * 100vw + 0px);top:calc(0.0807291667 * 100vw + 0px);left:calc(0.0364583333 * 100vw + 0px);padding-right:calc(0.0260416667 * 100vw + 0px)}.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto{height:calc(0.4375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto{height:calc(0.4375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto{height:calc(0.336875 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto{height:calc(0.48125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto{height:calc(0.30625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto{height:calc(0.39375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto{height:calc(0.48125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto{top:calc(0.0807291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto{top:calc(0.0807291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto{top:calc(0.0621614583 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto{top:calc(0.0888020833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto{top:calc(0.0565104167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto{top:calc(0.07265625 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto{top:calc(0.0888020833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto{left:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto{left:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto{left:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto{left:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto{left:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto{left:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto{left:calc(0.0401041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto{padding-right:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto{padding-right:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto{padding-right:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto{padding-right:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto{padding-right:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto{padding-right:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__categories-wrapper.svelte-1xraxto.svelte-1xraxto{padding-right:calc(0.0286458333 * 100vw + 0px)}}.neighbours-game-quests__category.svelte-1xraxto.svelte-1xraxto{position:relative;display:flex;align-items:center;justify-content:center;background-color:rgba(0, 0, 0, 0.4);cursor:pointer;transition:background-color 0.2s linear;gap:calc(0.0479166667 * 100vw + 0px);height:calc(0.05 * 100vw + 0px);width:calc(0.3890625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__category.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0479166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__category.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0479166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__category.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0368958333 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__category.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0527083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__category.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0335416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__category.svelte-1xraxto.svelte-1xraxto{gap:calc(0.043125 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__category.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0527083333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__category.svelte-1xraxto.svelte-1xraxto{height:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__category.svelte-1xraxto.svelte-1xraxto{height:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__category.svelte-1xraxto.svelte-1xraxto{height:calc(0.0385 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__category.svelte-1xraxto.svelte-1xraxto{height:calc(0.055 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__category.svelte-1xraxto.svelte-1xraxto{height:calc(0.035 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__category.svelte-1xraxto.svelte-1xraxto{height:calc(0.045 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__category.svelte-1xraxto.svelte-1xraxto{height:calc(0.055 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__category.svelte-1xraxto.svelte-1xraxto{width:calc(0.3890625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__category.svelte-1xraxto.svelte-1xraxto{width:calc(0.3890625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__category.svelte-1xraxto.svelte-1xraxto{width:calc(0.299578125 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__category.svelte-1xraxto.svelte-1xraxto{width:calc(0.42796875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__category.svelte-1xraxto.svelte-1xraxto{width:calc(0.27234375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__category.svelte-1xraxto.svelte-1xraxto{width:calc(0.35015625 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__category.svelte-1xraxto.svelte-1xraxto{width:calc(0.42796875 * 100vw + 0px)}}.neighbours-game-quests__category.svelte-1xraxto.svelte-1xraxto:not(:first-child){margin-top:calc(0.0145833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__category.svelte-1xraxto.svelte-1xraxto:not(:first-child){margin-top:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__category.svelte-1xraxto.svelte-1xraxto:not(:first-child){margin-top:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__category.svelte-1xraxto.svelte-1xraxto:not(:first-child){margin-top:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__category.svelte-1xraxto.svelte-1xraxto:not(:first-child){margin-top:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__category.svelte-1xraxto.svelte-1xraxto:not(:first-child){margin-top:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__category.svelte-1xraxto.svelte-1xraxto:not(:first-child){margin-top:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__category.svelte-1xraxto.svelte-1xraxto:not(:first-child){margin-top:calc(0.0160416667 * 100vw + 0px)}}.neighbours-game-quests__category.svelte-1xraxto.svelte-1xraxto:hover{background-color:rgba(0, 0, 0, 0.6)}.neighbours-game-quests__category-title.svelte-1xraxto.svelte-1xraxto{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px);width:calc(0.2515625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__category-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__category-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__category-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__category-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__category-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__category-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__category-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__category-title.svelte-1xraxto.svelte-1xraxto{width:calc(0.2515625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__category-title.svelte-1xraxto.svelte-1xraxto{width:calc(0.2515625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__category-title.svelte-1xraxto.svelte-1xraxto{width:calc(0.193703125 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__category-title.svelte-1xraxto.svelte-1xraxto{width:calc(0.27671875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__category-title.svelte-1xraxto.svelte-1xraxto{width:calc(0.17609375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__category-title.svelte-1xraxto.svelte-1xraxto{width:calc(0.22640625 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__category-title.svelte-1xraxto.svelte-1xraxto{width:calc(0.27671875 * 100vw + 0px)}}.neighbours-game-quests__category-percents.svelte-1xraxto.svelte-1xraxto{display:flex;align-items:center;justify-content:center;border:1px solid rgba(255, 255, 255, 0.2);border-radius:calc(0.0041666667 * 100vw + 0px);width:calc(0.0307291667 * 100vw + 0px);height:calc(0.0192708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__category-percents.svelte-1xraxto.svelte-1xraxto{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__category-percents.svelte-1xraxto.svelte-1xraxto{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__category-percents.svelte-1xraxto.svelte-1xraxto{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__category-percents.svelte-1xraxto.svelte-1xraxto{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__category-percents.svelte-1xraxto.svelte-1xraxto{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__category-percents.svelte-1xraxto.svelte-1xraxto{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__category-percents.svelte-1xraxto.svelte-1xraxto{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__category-percents.svelte-1xraxto.svelte-1xraxto{width:calc(0.0307291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__category-percents.svelte-1xraxto.svelte-1xraxto{width:calc(0.0307291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__category-percents.svelte-1xraxto.svelte-1xraxto{width:calc(0.0236614583 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__category-percents.svelte-1xraxto.svelte-1xraxto{width:calc(0.0338020833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__category-percents.svelte-1xraxto.svelte-1xraxto{width:calc(0.0215104167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__category-percents.svelte-1xraxto.svelte-1xraxto{width:calc(0.02765625 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__category-percents.svelte-1xraxto.svelte-1xraxto{width:calc(0.0338020833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__category-percents.svelte-1xraxto.svelte-1xraxto{height:calc(0.0192708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__category-percents.svelte-1xraxto.svelte-1xraxto{height:calc(0.0192708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__category-percents.svelte-1xraxto.svelte-1xraxto{height:calc(0.0148385417 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__category-percents.svelte-1xraxto.svelte-1xraxto{height:calc(0.0211979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__category-percents.svelte-1xraxto.svelte-1xraxto{height:calc(0.0134895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__category-percents.svelte-1xraxto.svelte-1xraxto{height:calc(0.01734375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__category-percents.svelte-1xraxto.svelte-1xraxto{height:calc(0.0211979167 * 100vw + 0px)}}.neighbours-game-quests__category-percents-value.svelte-1xraxto.svelte-1xraxto{font-family:\"GothamPro-Bold\";color:#FFFFFF;font-size:calc(0.0098958333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__category-percents-value.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__category-percents-value.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__category-percents-value.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0076197917 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__category-percents-value.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0108854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__category-percents-value.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0069270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__category-percents-value.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.00890625 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__category-percents-value.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0108854167 * 100vw + 0px)}}.neighbours-game-quests__category-progress.svelte-1xraxto.svelte-1xraxto{position:absolute;display:flex;align-items:center;background-color:rgba(255, 255, 255, 0.4);overflow:hidden;bottom:calc(0 * 100vw + 0px);width:calc(0.3890625 * 100vw + 0px);height:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__category-progress.svelte-1xraxto.svelte-1xraxto{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__category-progress.svelte-1xraxto.svelte-1xraxto{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__category-progress.svelte-1xraxto.svelte-1xraxto{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__category-progress.svelte-1xraxto.svelte-1xraxto{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__category-progress.svelte-1xraxto.svelte-1xraxto{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__category-progress.svelte-1xraxto.svelte-1xraxto{bottom:calc(0 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__category-progress.svelte-1xraxto.svelte-1xraxto{bottom:calc(0 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__category-progress.svelte-1xraxto.svelte-1xraxto{width:calc(0.3890625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__category-progress.svelte-1xraxto.svelte-1xraxto{width:calc(0.3890625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__category-progress.svelte-1xraxto.svelte-1xraxto{width:calc(0.299578125 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__category-progress.svelte-1xraxto.svelte-1xraxto{width:calc(0.42796875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__category-progress.svelte-1xraxto.svelte-1xraxto{width:calc(0.27234375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__category-progress.svelte-1xraxto.svelte-1xraxto{width:calc(0.35015625 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__category-progress.svelte-1xraxto.svelte-1xraxto{width:calc(0.42796875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__category-progress.svelte-1xraxto.svelte-1xraxto{height:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__category-progress.svelte-1xraxto.svelte-1xraxto{height:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__category-progress.svelte-1xraxto.svelte-1xraxto{height:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__category-progress.svelte-1xraxto.svelte-1xraxto{height:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__category-progress.svelte-1xraxto.svelte-1xraxto{height:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__category-progress.svelte-1xraxto.svelte-1xraxto{height:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__category-progress.svelte-1xraxto.svelte-1xraxto{height:calc(0.0028645833 * 100vw + 0px)}}.neighbours-game-quests__category-progress-value.svelte-1xraxto.svelte-1xraxto{position:absolute;background-color:#FFFFFF;left:0;height:100%;width:0}.neighbours-game-quests__quest.svelte-1xraxto.svelte-1xraxto{position:absolute;top:calc(0.0770833333 * 100vw + 0px);right:calc(0.03125 * 100vw + 0px);width:calc(0.4885416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest.svelte-1xraxto.svelte-1xraxto{top:calc(0.0770833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest.svelte-1xraxto.svelte-1xraxto{top:calc(0.0770833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest.svelte-1xraxto.svelte-1xraxto{top:calc(0.0593541667 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest.svelte-1xraxto.svelte-1xraxto{top:calc(0.0847916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest.svelte-1xraxto.svelte-1xraxto{top:calc(0.0539583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest.svelte-1xraxto.svelte-1xraxto{top:calc(0.069375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest.svelte-1xraxto.svelte-1xraxto{top:calc(0.0847916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest.svelte-1xraxto.svelte-1xraxto{right:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest.svelte-1xraxto.svelte-1xraxto{right:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest.svelte-1xraxto.svelte-1xraxto{right:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest.svelte-1xraxto.svelte-1xraxto{right:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest.svelte-1xraxto.svelte-1xraxto{right:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest.svelte-1xraxto.svelte-1xraxto{right:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest.svelte-1xraxto.svelte-1xraxto{right:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest.svelte-1xraxto.svelte-1xraxto{width:calc(0.4885416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest.svelte-1xraxto.svelte-1xraxto{width:calc(0.4885416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest.svelte-1xraxto.svelte-1xraxto{width:calc(0.3761770833 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest.svelte-1xraxto.svelte-1xraxto{width:calc(0.5373958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest.svelte-1xraxto.svelte-1xraxto{width:calc(0.3419791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest.svelte-1xraxto.svelte-1xraxto{width:calc(0.4396875 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest.svelte-1xraxto.svelte-1xraxto{width:calc(0.5373958333 * 100vw + 0px)}}.neighbours-game-quests__quest-stats.svelte-1xraxto.svelte-1xraxto{display:flex;gap:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-stats.svelte-1xraxto.svelte-1xraxto{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-stats.svelte-1xraxto.svelte-1xraxto{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-stats.svelte-1xraxto.svelte-1xraxto{gap:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-stats.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-stats.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-stats.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-stats.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0103125 * 100vw + 0px)}}.neighbours-game-quests__quest-stats-title-wrapper.svelte-1xraxto.svelte-1xraxto{display:flex;align-items:center;justify-content:center;background-color:rgba(0, 0, 0, 0.4);width:calc(0.2447916667 * 100vw + 0px);height:calc(0.05 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-stats-title-wrapper.svelte-1xraxto.svelte-1xraxto{width:calc(0.2447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-title-wrapper.svelte-1xraxto.svelte-1xraxto{width:calc(0.2447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-stats-title-wrapper.svelte-1xraxto.svelte-1xraxto{width:calc(0.1884895833 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-stats-title-wrapper.svelte-1xraxto.svelte-1xraxto{width:calc(0.2692708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-title-wrapper.svelte-1xraxto.svelte-1xraxto{width:calc(0.1713541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-stats-title-wrapper.svelte-1xraxto.svelte-1xraxto{width:calc(0.2203125 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-stats-title-wrapper.svelte-1xraxto.svelte-1xraxto{width:calc(0.2692708333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-stats-title-wrapper.svelte-1xraxto.svelte-1xraxto{height:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-title-wrapper.svelte-1xraxto.svelte-1xraxto{height:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-stats-title-wrapper.svelte-1xraxto.svelte-1xraxto{height:calc(0.0385 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-stats-title-wrapper.svelte-1xraxto.svelte-1xraxto{height:calc(0.055 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-title-wrapper.svelte-1xraxto.svelte-1xraxto{height:calc(0.035 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-stats-title-wrapper.svelte-1xraxto.svelte-1xraxto{height:calc(0.045 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-stats-title-wrapper.svelte-1xraxto.svelte-1xraxto{height:calc(0.055 * 100vw + 0px)}}.neighbours-game-quests__quest-stats-title.svelte-1xraxto.svelte-1xraxto{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-stats-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-stats-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-stats-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-stats-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-stats-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0114583333 * 100vw + 0px)}}.neighbours-game-quests__quest-stats-percents-wrapper.svelte-1xraxto.svelte-1xraxto{display:flex;align-items:center;justify-content:center;background-color:rgba(0, 0, 0, 0.4);gap:calc(0.0052083333 * 100vw + 0px);width:calc(0.1125 * 100vw + 0px);height:calc(0.05 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-stats-percents-wrapper.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-percents-wrapper.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-stats-percents-wrapper.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-stats-percents-wrapper.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-percents-wrapper.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-stats-percents-wrapper.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-stats-percents-wrapper.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-stats-percents-wrapper.svelte-1xraxto.svelte-1xraxto{width:calc(0.1125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-percents-wrapper.svelte-1xraxto.svelte-1xraxto{width:calc(0.1125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-stats-percents-wrapper.svelte-1xraxto.svelte-1xraxto{width:calc(0.086625 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-stats-percents-wrapper.svelte-1xraxto.svelte-1xraxto{width:calc(0.12375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-percents-wrapper.svelte-1xraxto.svelte-1xraxto{width:calc(0.07875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-stats-percents-wrapper.svelte-1xraxto.svelte-1xraxto{width:calc(0.10125 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-stats-percents-wrapper.svelte-1xraxto.svelte-1xraxto{width:calc(0.12375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-stats-percents-wrapper.svelte-1xraxto.svelte-1xraxto{height:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-percents-wrapper.svelte-1xraxto.svelte-1xraxto{height:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-stats-percents-wrapper.svelte-1xraxto.svelte-1xraxto{height:calc(0.0385 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-stats-percents-wrapper.svelte-1xraxto.svelte-1xraxto{height:calc(0.055 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-percents-wrapper.svelte-1xraxto.svelte-1xraxto{height:calc(0.035 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-stats-percents-wrapper.svelte-1xraxto.svelte-1xraxto{height:calc(0.045 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-stats-percents-wrapper.svelte-1xraxto.svelte-1xraxto{height:calc(0.055 * 100vw + 0px)}}.neighbours-game-quests__quest-stats-percents-title.svelte-1xraxto.svelte-1xraxto{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-stats-percents-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-percents-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-stats-percents-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-stats-percents-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-percents-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-stats-percents-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-stats-percents-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0114583333 * 100vw + 0px)}}.neighbours-game-quests__quest-stats-percents.svelte-1xraxto.svelte-1xraxto{display:flex;align-items:center;justify-content:center;border:1px solid rgba(255, 255, 255, 0.2);border-radius:calc(0.0041666667 * 100vw + 0px);width:calc(0.0307291667 * 100vw + 0px);height:calc(0.0192708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-stats-percents.svelte-1xraxto.svelte-1xraxto{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-percents.svelte-1xraxto.svelte-1xraxto{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-stats-percents.svelte-1xraxto.svelte-1xraxto{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-stats-percents.svelte-1xraxto.svelte-1xraxto{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-percents.svelte-1xraxto.svelte-1xraxto{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-stats-percents.svelte-1xraxto.svelte-1xraxto{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-stats-percents.svelte-1xraxto.svelte-1xraxto{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-stats-percents.svelte-1xraxto.svelte-1xraxto{width:calc(0.0307291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-percents.svelte-1xraxto.svelte-1xraxto{width:calc(0.0307291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-stats-percents.svelte-1xraxto.svelte-1xraxto{width:calc(0.0236614583 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-stats-percents.svelte-1xraxto.svelte-1xraxto{width:calc(0.0338020833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-percents.svelte-1xraxto.svelte-1xraxto{width:calc(0.0215104167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-stats-percents.svelte-1xraxto.svelte-1xraxto{width:calc(0.02765625 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-stats-percents.svelte-1xraxto.svelte-1xraxto{width:calc(0.0338020833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-stats-percents.svelte-1xraxto.svelte-1xraxto{height:calc(0.0192708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-percents.svelte-1xraxto.svelte-1xraxto{height:calc(0.0192708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-stats-percents.svelte-1xraxto.svelte-1xraxto{height:calc(0.0148385417 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-stats-percents.svelte-1xraxto.svelte-1xraxto{height:calc(0.0211979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-percents.svelte-1xraxto.svelte-1xraxto{height:calc(0.0134895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-stats-percents.svelte-1xraxto.svelte-1xraxto{height:calc(0.01734375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-stats-percents.svelte-1xraxto.svelte-1xraxto{height:calc(0.0211979167 * 100vw + 0px)}}.neighbours-game-quests__quest-stats-percents-value.svelte-1xraxto.svelte-1xraxto{font-family:\"GothamPro-Bold\";color:#FFFFFF;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-stats-percents-value.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-percents-value.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-stats-percents-value.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-stats-percents-value.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-percents-value.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-stats-percents-value.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-stats-percents-value.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0103125 * 100vw + 0px)}}.neighbours-game-quests__quest-stats-conditions.svelte-1xraxto.svelte-1xraxto{display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:rgba(0, 0, 0, 0.4);gap:calc(0.0046875 * 100vw + 0px);width:calc(0.1125 * 100vw + 0px);height:calc(0.05 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-stats-conditions.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-conditions.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-stats-conditions.svelte-1xraxto.svelte-1xraxto{gap:calc(0.003609375 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-stats-conditions.svelte-1xraxto.svelte-1xraxto{gap:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-conditions.svelte-1xraxto.svelte-1xraxto{gap:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-stats-conditions.svelte-1xraxto.svelte-1xraxto{gap:calc(0.00421875 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-stats-conditions.svelte-1xraxto.svelte-1xraxto{gap:calc(0.00515625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-stats-conditions.svelte-1xraxto.svelte-1xraxto{width:calc(0.1125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-conditions.svelte-1xraxto.svelte-1xraxto{width:calc(0.1125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-stats-conditions.svelte-1xraxto.svelte-1xraxto{width:calc(0.086625 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-stats-conditions.svelte-1xraxto.svelte-1xraxto{width:calc(0.12375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-conditions.svelte-1xraxto.svelte-1xraxto{width:calc(0.07875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-stats-conditions.svelte-1xraxto.svelte-1xraxto{width:calc(0.10125 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-stats-conditions.svelte-1xraxto.svelte-1xraxto{width:calc(0.12375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-stats-conditions.svelte-1xraxto.svelte-1xraxto{height:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-conditions.svelte-1xraxto.svelte-1xraxto{height:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-stats-conditions.svelte-1xraxto.svelte-1xraxto{height:calc(0.0385 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-stats-conditions.svelte-1xraxto.svelte-1xraxto{height:calc(0.055 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-conditions.svelte-1xraxto.svelte-1xraxto{height:calc(0.035 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-stats-conditions.svelte-1xraxto.svelte-1xraxto{height:calc(0.045 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-stats-conditions.svelte-1xraxto.svelte-1xraxto{height:calc(0.055 * 100vw + 0px)}}.neighbours-game-quests__quest-stats-condition-time.svelte-1xraxto.svelte-1xraxto{display:flex;align-items:center;gap:calc(0.0078125 * 100vw + 0px);width:calc(0.084375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-stats-condition-time.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-condition-time.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-stats-condition-time.svelte-1xraxto.svelte-1xraxto{gap:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-stats-condition-time.svelte-1xraxto.svelte-1xraxto{gap:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-condition-time.svelte-1xraxto.svelte-1xraxto{gap:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-stats-condition-time.svelte-1xraxto.svelte-1xraxto{gap:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-stats-condition-time.svelte-1xraxto.svelte-1xraxto{gap:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-stats-condition-time.svelte-1xraxto.svelte-1xraxto{width:calc(0.084375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-condition-time.svelte-1xraxto.svelte-1xraxto{width:calc(0.084375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-stats-condition-time.svelte-1xraxto.svelte-1xraxto{width:calc(0.06496875 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-stats-condition-time.svelte-1xraxto.svelte-1xraxto{width:calc(0.0928125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-condition-time.svelte-1xraxto.svelte-1xraxto{width:calc(0.0590625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-stats-condition-time.svelte-1xraxto.svelte-1xraxto{width:calc(0.0759375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-stats-condition-time.svelte-1xraxto.svelte-1xraxto{width:calc(0.0928125 * 100vw + 0px)}}.neighbours-game-quests__quest-stats-condition-time-img.svelte-1xraxto.svelte-1xraxto{height:calc(0.0140625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-stats-condition-time-img.svelte-1xraxto.svelte-1xraxto{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-condition-time-img.svelte-1xraxto.svelte-1xraxto{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-stats-condition-time-img.svelte-1xraxto.svelte-1xraxto{height:calc(0.010828125 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-stats-condition-time-img.svelte-1xraxto.svelte-1xraxto{height:calc(0.01546875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-condition-time-img.svelte-1xraxto.svelte-1xraxto{height:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-stats-condition-time-img.svelte-1xraxto.svelte-1xraxto{height:calc(0.01265625 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-stats-condition-time-img.svelte-1xraxto.svelte-1xraxto{height:calc(0.01546875 * 100vw + 0px)}}.neighbours-game-quests__quest-stats-condition-time-title.svelte-1xraxto.svelte-1xraxto{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-stats-condition-time-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-condition-time-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-stats-condition-time-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-stats-condition-time-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-condition-time-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-stats-condition-time-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-stats-condition-time-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0114583333 * 100vw + 0px)}}.neighbours-game-quests__quest-stats-condition-tricks.svelte-1xraxto.svelte-1xraxto{display:flex;align-items:center;gap:calc(0.0078125 * 100vw + 0px);width:calc(0.0859375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-stats-condition-tricks.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-condition-tricks.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-stats-condition-tricks.svelte-1xraxto.svelte-1xraxto{gap:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-stats-condition-tricks.svelte-1xraxto.svelte-1xraxto{gap:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-condition-tricks.svelte-1xraxto.svelte-1xraxto{gap:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-stats-condition-tricks.svelte-1xraxto.svelte-1xraxto{gap:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-stats-condition-tricks.svelte-1xraxto.svelte-1xraxto{gap:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-stats-condition-tricks.svelte-1xraxto.svelte-1xraxto{width:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-condition-tricks.svelte-1xraxto.svelte-1xraxto{width:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-stats-condition-tricks.svelte-1xraxto.svelte-1xraxto{width:calc(0.066171875 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-stats-condition-tricks.svelte-1xraxto.svelte-1xraxto{width:calc(0.09453125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-condition-tricks.svelte-1xraxto.svelte-1xraxto{width:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-stats-condition-tricks.svelte-1xraxto.svelte-1xraxto{width:calc(0.07734375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-stats-condition-tricks.svelte-1xraxto.svelte-1xraxto{width:calc(0.09453125 * 100vw + 0px)}}.neighbours-game-quests__quest-stats-condition-tricks-img.svelte-1xraxto.svelte-1xraxto{height:calc(0.0161458333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-stats-condition-tricks-img.svelte-1xraxto.svelte-1xraxto{height:calc(0.0161458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-condition-tricks-img.svelte-1xraxto.svelte-1xraxto{height:calc(0.0161458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-stats-condition-tricks-img.svelte-1xraxto.svelte-1xraxto{height:calc(0.0124322917 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-stats-condition-tricks-img.svelte-1xraxto.svelte-1xraxto{height:calc(0.0177604167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-condition-tricks-img.svelte-1xraxto.svelte-1xraxto{height:calc(0.0113020833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-stats-condition-tricks-img.svelte-1xraxto.svelte-1xraxto{height:calc(0.01453125 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-stats-condition-tricks-img.svelte-1xraxto.svelte-1xraxto{height:calc(0.0177604167 * 100vw + 0px)}}.neighbours-game-quests__quest-stats-condition-tricks-title.svelte-1xraxto.svelte-1xraxto{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-stats-condition-tricks-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-condition-tricks-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-stats-condition-tricks-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-stats-condition-tricks-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-stats-condition-tricks-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-stats-condition-tricks-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-stats-condition-tricks-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0114583333 * 100vw + 0px)}}.neighbours-game-quests__quest-info.svelte-1xraxto.svelte-1xraxto{background-color:rgba(0, 0, 0, 0.4);margin-top:calc(0.0109375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-info.svelte-1xraxto.svelte-1xraxto{margin-top:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-info.svelte-1xraxto.svelte-1xraxto{margin-top:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-info.svelte-1xraxto.svelte-1xraxto{margin-top:calc(0.008421875 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-info.svelte-1xraxto.svelte-1xraxto{margin-top:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-info.svelte-1xraxto.svelte-1xraxto{margin-top:calc(0.00765625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-info.svelte-1xraxto.svelte-1xraxto{margin-top:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-info.svelte-1xraxto.svelte-1xraxto{margin-top:calc(0.01203125 * 100vw + 0px)}}.neighbours-game-quests__quest-info-img.svelte-1xraxto.svelte-1xraxto{height:calc(0.128125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-info-img.svelte-1xraxto.svelte-1xraxto{height:calc(0.128125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-info-img.svelte-1xraxto.svelte-1xraxto{height:calc(0.128125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-info-img.svelte-1xraxto.svelte-1xraxto{height:calc(0.09865625 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-info-img.svelte-1xraxto.svelte-1xraxto{height:calc(0.1409375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-info-img.svelte-1xraxto.svelte-1xraxto{height:calc(0.0896875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-info-img.svelte-1xraxto.svelte-1xraxto{height:calc(0.1153125 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-info-img.svelte-1xraxto.svelte-1xraxto{height:calc(0.1409375 * 100vw + 0px)}}.neighbours-game-quests__quest-info-description-wrapper.svelte-1xraxto.svelte-1xraxto{display:flex;flex-direction:column;align-items:center;gap:calc(0.0078125 * 100vw + 0px);padding-top:calc(0.0177083333 * 100vw + 0px);padding-bottom:calc(0.0171875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-info-description-wrapper.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-info-description-wrapper.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-info-description-wrapper.svelte-1xraxto.svelte-1xraxto{gap:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-info-description-wrapper.svelte-1xraxto.svelte-1xraxto{gap:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-info-description-wrapper.svelte-1xraxto.svelte-1xraxto{gap:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-info-description-wrapper.svelte-1xraxto.svelte-1xraxto{gap:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-info-description-wrapper.svelte-1xraxto.svelte-1xraxto{gap:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-info-description-wrapper.svelte-1xraxto.svelte-1xraxto{padding-top:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-info-description-wrapper.svelte-1xraxto.svelte-1xraxto{padding-top:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-info-description-wrapper.svelte-1xraxto.svelte-1xraxto{padding-top:calc(0.0136354167 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-info-description-wrapper.svelte-1xraxto.svelte-1xraxto{padding-top:calc(0.0194791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-info-description-wrapper.svelte-1xraxto.svelte-1xraxto{padding-top:calc(0.0123958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-info-description-wrapper.svelte-1xraxto.svelte-1xraxto{padding-top:calc(0.0159375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-info-description-wrapper.svelte-1xraxto.svelte-1xraxto{padding-top:calc(0.0194791667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-info-description-wrapper.svelte-1xraxto.svelte-1xraxto{padding-bottom:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-info-description-wrapper.svelte-1xraxto.svelte-1xraxto{padding-bottom:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-info-description-wrapper.svelte-1xraxto.svelte-1xraxto{padding-bottom:calc(0.013234375 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-info-description-wrapper.svelte-1xraxto.svelte-1xraxto{padding-bottom:calc(0.01890625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-info-description-wrapper.svelte-1xraxto.svelte-1xraxto{padding-bottom:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-info-description-wrapper.svelte-1xraxto.svelte-1xraxto{padding-bottom:calc(0.01546875 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-info-description-wrapper.svelte-1xraxto.svelte-1xraxto{padding-bottom:calc(0.01890625 * 100vw + 0px)}}.neighbours-game-quests__quest-info-description.svelte-1xraxto.svelte-1xraxto{font-family:\"GothamPro-Medium\";color:#FFFFFF;white-space:pre-line;font-size:calc(0.0104166667 * 100vw + 0px);width:calc(0.4463541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-info-description.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-info-description.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-info-description.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-info-description.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-info-description.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-info-description.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-info-description.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-info-description.svelte-1xraxto.svelte-1xraxto{width:calc(0.4463541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-info-description.svelte-1xraxto.svelte-1xraxto{width:calc(0.4463541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-info-description.svelte-1xraxto.svelte-1xraxto{width:calc(0.3436927083 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-info-description.svelte-1xraxto.svelte-1xraxto{width:calc(0.4909895833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-info-description.svelte-1xraxto.svelte-1xraxto{width:calc(0.3124479167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-info-description.svelte-1xraxto.svelte-1xraxto{width:calc(0.40171875 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-info-description.svelte-1xraxto.svelte-1xraxto{width:calc(0.4909895833 * 100vw + 0px)}}.neighbours-game-quests__quest-info-hint-wrapper.svelte-1xraxto.svelte-1xraxto{position:relative;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), radial-gradient(114.21% 114.21% at 50% 100%, rgba(0, 0, 0, 0.2) 0%, rgba(242, 76, 76, 0.2) 0.01%, rgba(242, 76, 76, 0) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));gap:calc(0.003125 * 100vw + 0px);width:calc(0.4885416667 * 100vw + 0px);height:calc(0.0625 * 100vw + 0px);padding-left:calc(0.0197916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-info-hint-wrapper.svelte-1xraxto.svelte-1xraxto{gap:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-info-hint-wrapper.svelte-1xraxto.svelte-1xraxto{gap:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-info-hint-wrapper.svelte-1xraxto.svelte-1xraxto{gap:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-info-hint-wrapper.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-info-hint-wrapper.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-info-hint-wrapper.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-info-hint-wrapper.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-info-hint-wrapper.svelte-1xraxto.svelte-1xraxto{width:calc(0.4885416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-info-hint-wrapper.svelte-1xraxto.svelte-1xraxto{width:calc(0.4885416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-info-hint-wrapper.svelte-1xraxto.svelte-1xraxto{width:calc(0.3761770833 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-info-hint-wrapper.svelte-1xraxto.svelte-1xraxto{width:calc(0.5373958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-info-hint-wrapper.svelte-1xraxto.svelte-1xraxto{width:calc(0.3419791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-info-hint-wrapper.svelte-1xraxto.svelte-1xraxto{width:calc(0.4396875 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-info-hint-wrapper.svelte-1xraxto.svelte-1xraxto{width:calc(0.5373958333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-info-hint-wrapper.svelte-1xraxto.svelte-1xraxto{height:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-info-hint-wrapper.svelte-1xraxto.svelte-1xraxto{height:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-info-hint-wrapper.svelte-1xraxto.svelte-1xraxto{height:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-info-hint-wrapper.svelte-1xraxto.svelte-1xraxto{height:calc(0.06875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-info-hint-wrapper.svelte-1xraxto.svelte-1xraxto{height:calc(0.04375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-info-hint-wrapper.svelte-1xraxto.svelte-1xraxto{height:calc(0.05625 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-info-hint-wrapper.svelte-1xraxto.svelte-1xraxto{height:calc(0.06875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-info-hint-wrapper.svelte-1xraxto.svelte-1xraxto{padding-left:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-info-hint-wrapper.svelte-1xraxto.svelte-1xraxto{padding-left:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-info-hint-wrapper.svelte-1xraxto.svelte-1xraxto{padding-left:calc(0.0152395833 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-info-hint-wrapper.svelte-1xraxto.svelte-1xraxto{padding-left:calc(0.0217708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-info-hint-wrapper.svelte-1xraxto.svelte-1xraxto{padding-left:calc(0.0138541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-info-hint-wrapper.svelte-1xraxto.svelte-1xraxto{padding-left:calc(0.0178125 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-info-hint-wrapper.svelte-1xraxto.svelte-1xraxto{padding-left:calc(0.0217708333 * 100vw + 0px)}}.neighbours-game-quests__quest-info-hint-title.svelte-1xraxto.svelte-1xraxto{font-family:\"GothamPro-Light\";color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-info-hint-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-info-hint-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-info-hint-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-info-hint-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-info-hint-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-info-hint-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-info-hint-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0114583333 * 100vw + 0px)}}.neighbours-game-quests__quest-info-hint.svelte-1xraxto.svelte-1xraxto{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-info-hint.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-info-hint.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-info-hint.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-info-hint.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-info-hint.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-info-hint.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-info-hint.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0114583333 * 100vw + 0px)}}.neighbours-game-quests__quest-info-hint-line-top.svelte-1xraxto.svelte-1xraxto{position:absolute;left:0;top:calc(-0.0005208333 * 100vw + 0px);width:calc(0.4885416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-info-hint-line-top.svelte-1xraxto.svelte-1xraxto{top:calc(-0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-info-hint-line-top.svelte-1xraxto.svelte-1xraxto{top:calc(-0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-info-hint-line-top.svelte-1xraxto.svelte-1xraxto{top:calc(-0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-info-hint-line-top.svelte-1xraxto.svelte-1xraxto{top:calc(-0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-info-hint-line-top.svelte-1xraxto.svelte-1xraxto{top:calc(-0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-info-hint-line-top.svelte-1xraxto.svelte-1xraxto{top:calc(-0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-info-hint-line-top.svelte-1xraxto.svelte-1xraxto{top:calc(-0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-info-hint-line-top.svelte-1xraxto.svelte-1xraxto{width:calc(0.4885416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-info-hint-line-top.svelte-1xraxto.svelte-1xraxto{width:calc(0.4885416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-info-hint-line-top.svelte-1xraxto.svelte-1xraxto{width:calc(0.3761770833 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-info-hint-line-top.svelte-1xraxto.svelte-1xraxto{width:calc(0.5373958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-info-hint-line-top.svelte-1xraxto.svelte-1xraxto{width:calc(0.3419791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-info-hint-line-top.svelte-1xraxto.svelte-1xraxto{width:calc(0.4396875 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-info-hint-line-top.svelte-1xraxto.svelte-1xraxto{width:calc(0.5373958333 * 100vw + 0px)}}.neighbours-game-quests__quest-info-hint-line-bottom.svelte-1xraxto.svelte-1xraxto{position:absolute;left:0;bottom:calc(-0.0005208333 * 100vw + 0px);width:calc(0.4885416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-info-hint-line-bottom.svelte-1xraxto.svelte-1xraxto{bottom:calc(-0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-info-hint-line-bottom.svelte-1xraxto.svelte-1xraxto{bottom:calc(-0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-info-hint-line-bottom.svelte-1xraxto.svelte-1xraxto{bottom:calc(-0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-info-hint-line-bottom.svelte-1xraxto.svelte-1xraxto{bottom:calc(-0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-info-hint-line-bottom.svelte-1xraxto.svelte-1xraxto{bottom:calc(-0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-info-hint-line-bottom.svelte-1xraxto.svelte-1xraxto{bottom:calc(-0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-info-hint-line-bottom.svelte-1xraxto.svelte-1xraxto{bottom:calc(-0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-info-hint-line-bottom.svelte-1xraxto.svelte-1xraxto{width:calc(0.4885416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-info-hint-line-bottom.svelte-1xraxto.svelte-1xraxto{width:calc(0.4885416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-info-hint-line-bottom.svelte-1xraxto.svelte-1xraxto{width:calc(0.3761770833 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-info-hint-line-bottom.svelte-1xraxto.svelte-1xraxto{width:calc(0.5373958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-info-hint-line-bottom.svelte-1xraxto.svelte-1xraxto{width:calc(0.3419791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-info-hint-line-bottom.svelte-1xraxto.svelte-1xraxto{width:calc(0.4396875 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-info-hint-line-bottom.svelte-1xraxto.svelte-1xraxto{width:calc(0.5373958333 * 100vw + 0px)}}.neighbours-game-quests__quest-info-buttons.svelte-1xraxto.svelte-1xraxto{display:flex;justify-content:center;gap:calc(0.0260416667 * 100vw + 0px);padding-top:calc(0.0177083333 * 100vw + 0px);padding-bottom:calc(0.0213541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-info-buttons.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-info-buttons.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-info-buttons.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-info-buttons.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-info-buttons.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-info-buttons.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-info-buttons.svelte-1xraxto.svelte-1xraxto{gap:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-info-buttons.svelte-1xraxto.svelte-1xraxto{padding-top:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-info-buttons.svelte-1xraxto.svelte-1xraxto{padding-top:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-info-buttons.svelte-1xraxto.svelte-1xraxto{padding-top:calc(0.0136354167 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-info-buttons.svelte-1xraxto.svelte-1xraxto{padding-top:calc(0.0194791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-info-buttons.svelte-1xraxto.svelte-1xraxto{padding-top:calc(0.0123958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-info-buttons.svelte-1xraxto.svelte-1xraxto{padding-top:calc(0.0159375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-info-buttons.svelte-1xraxto.svelte-1xraxto{padding-top:calc(0.0194791667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-info-buttons.svelte-1xraxto.svelte-1xraxto{padding-bottom:calc(0.0213541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-info-buttons.svelte-1xraxto.svelte-1xraxto{padding-bottom:calc(0.0213541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-info-buttons.svelte-1xraxto.svelte-1xraxto{padding-bottom:calc(0.0164427083 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-info-buttons.svelte-1xraxto.svelte-1xraxto{padding-bottom:calc(0.0234895833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-info-buttons.svelte-1xraxto.svelte-1xraxto{padding-bottom:calc(0.0149479167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-info-buttons.svelte-1xraxto.svelte-1xraxto{padding-bottom:calc(0.01921875 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-info-buttons.svelte-1xraxto.svelte-1xraxto{padding-bottom:calc(0.0234895833 * 100vw + 0px)}}.neighbours-game-quests__quest-info-button.svelte-1xraxto.svelte-1xraxto{display:flex;align-items:center;justify-content:center;background-color:rgba(255, 255, 255, 0.1);cursor:pointer;transition:background-color 0.2s linear;border-radius:calc(0.0026041667 * 100vw + 0px);width:calc(0.0536458333 * 100vw + 0px);height:calc(0.0338541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-info-button.svelte-1xraxto.svelte-1xraxto{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-info-button.svelte-1xraxto.svelte-1xraxto{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-info-button.svelte-1xraxto.svelte-1xraxto{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-info-button.svelte-1xraxto.svelte-1xraxto{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-info-button.svelte-1xraxto.svelte-1xraxto{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-info-button.svelte-1xraxto.svelte-1xraxto{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-info-button.svelte-1xraxto.svelte-1xraxto{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-info-button.svelte-1xraxto.svelte-1xraxto{width:calc(0.0536458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-info-button.svelte-1xraxto.svelte-1xraxto{width:calc(0.0536458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-info-button.svelte-1xraxto.svelte-1xraxto{width:calc(0.0413072917 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-info-button.svelte-1xraxto.svelte-1xraxto{width:calc(0.0590104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-info-button.svelte-1xraxto.svelte-1xraxto{width:calc(0.0375520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-info-button.svelte-1xraxto.svelte-1xraxto{width:calc(0.04828125 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-info-button.svelte-1xraxto.svelte-1xraxto{width:calc(0.0590104167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-info-button.svelte-1xraxto.svelte-1xraxto{height:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-info-button.svelte-1xraxto.svelte-1xraxto{height:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-info-button.svelte-1xraxto.svelte-1xraxto{height:calc(0.0260677083 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-info-button.svelte-1xraxto.svelte-1xraxto{height:calc(0.0372395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-info-button.svelte-1xraxto.svelte-1xraxto{height:calc(0.0236979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-info-button.svelte-1xraxto.svelte-1xraxto{height:calc(0.03046875 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-info-button.svelte-1xraxto.svelte-1xraxto{height:calc(0.0372395833 * 100vw + 0px)}}.neighbours-game-quests__quest-info-button.svelte-1xraxto.svelte-1xraxto:hover{background-color:rgba(255, 255, 255, 0.3)}.neighbours-game-quests__quest-info-button--start.svelte-1xraxto.svelte-1xraxto{background-color:rgba(76, 242, 83, 0.1)}.neighbours-game-quests__quest-info-button--start.svelte-1xraxto.svelte-1xraxto:hover{background-color:rgba(76, 242, 83, 0.3)}.neighbours-game-quests__quest-info-button--start.svelte-1xraxto .neighbours-game-quests__quest-info-button-title.svelte-1xraxto{color:#4CF267}.neighbours-game-quests__quest-info-button-title.svelte-1xraxto.svelte-1xraxto{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-info-button-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-info-button-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-info-button-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-info-button-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-info-button-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-info-button-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-info-button-title.svelte-1xraxto.svelte-1xraxto{font-size:calc(0.0091666667 * 100vw + 0px)}}.neighbours-game-quests__quest-info-button-img.svelte-1xraxto.svelte-1xraxto{width:calc(0.2802083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-quests__quest-info-button-img.svelte-1xraxto.svelte-1xraxto{width:calc(0.2802083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-quests__quest-info-button-img.svelte-1xraxto.svelte-1xraxto{width:calc(0.2802083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-quests__quest-info-button-img.svelte-1xraxto.svelte-1xraxto{width:calc(0.2157604167 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-quests__quest-info-button-img.svelte-1xraxto.svelte-1xraxto{width:calc(0.3082291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-quests__quest-info-button-img.svelte-1xraxto.svelte-1xraxto{width:calc(0.1961458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-quests__quest-info-button-img.svelte-1xraxto.svelte-1xraxto{width:calc(0.2521875 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-quests__quest-info-button-img.svelte-1xraxto.svelte-1xraxto{width:calc(0.3082291667 * 100vw + 0px)}}");
}

function neighbours_game_quests_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[11] = list[i];
	return child_ctx;
}

// (3329:8) {#each quests as quest}
function neighbours_game_quests_index_svelte_create_each_block(ctx) {
	let div3;
	let p0;
	let t0_value = /*quest*/ ctx[11].title + "";
	let t0;
	let t1;
	let div0;
	let p1;
	let t2_value = Math.round(/*quest*/ ctx[11].progress / (/*quest*/ ctx[11].tricks / 100)) + "";
	let t2;
	let t3;
	let t4;
	let div2;
	let div1;
	let div1_style_value;
	let t5;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[6](/*quest*/ ctx[11]);
	}

	return {
		c() {
			div3 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			div0 = internal_element("div");
			p1 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = internal_text("%");
			t4 = space();
			div2 = internal_element("div");
			div1 = internal_element("div");
			t5 = space();
			attr(p0, "class", "neighbours-game-quests__category-title svelte-1xraxto");
			attr(p1, "class", "neighbours-game-quests__category-percents-value svelte-1xraxto");
			attr(div0, "class", "neighbours-game-quests__category-percents svelte-1xraxto");
			attr(div1, "class", "neighbours-game-quests__category-progress-value svelte-1xraxto");
			attr(div1, "style", div1_style_value = `width: ${/*quest*/ ctx[11].progress / (/*quest*/ ctx[11].tricks / 100)}%;`);
			attr(div2, "class", "neighbours-game-quests__category-progress svelte-1xraxto");
			attr(div3, "class", "neighbours-game-quests__category svelte-1xraxto");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, p0);
			append(p0, t0);
			append(div3, t1);
			append(div3, div0);
			append(div0, p1);
			append(p1, t2);
			append(p1, t3);
			append(div3, t4);
			append(div3, div2);
			append(div2, div1);
			append(div3, t5);

			if (!mounted) {
				dispose = listen(div3, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if (dirty & /*quests*/ 1 && t0_value !== (t0_value = /*quest*/ ctx[11].title + "")) set_data(t0, t0_value);
			if (dirty & /*quests*/ 1 && t2_value !== (t2_value = Math.round(/*quest*/ ctx[11].progress / (/*quest*/ ctx[11].tricks / 100)) + "")) set_data(t2, t2_value);

			if (dirty & /*quests*/ 1 && div1_style_value !== (div1_style_value = `width: ${/*quest*/ ctx[11].progress / (/*quest*/ ctx[11].tricks / 100)}%;`)) {
				attr(div1, "style", div1_style_value);
			}
		},
		d(detaching) {
			if (detaching) detach(div3);
			mounted = false;
			dispose();
		}
	};
}

// (3351:4) {#if !isEmpty(quests[selectedTabId])}
function neighbours_game_quests_index_svelte_create_if_block(ctx) {
	let div13;
	let div6;
	let div0;
	let p0;
	let t0_value = /*quests*/ ctx[0][/*selectedTabId*/ ctx[1]].title + "";
	let t0;
	let t1;
	let div2;
	let p1;
	let t3;
	let div1;
	let p2;
	let t4_value = Math.round(/*quests*/ ctx[0][/*selectedTabId*/ ctx[1]].progress / (/*quests*/ ctx[0][/*selectedTabId*/ ctx[1]].tricks / 100)) + "";
	let t4;
	let t5;
	let t6;
	let div5;
	let div3;
	let img0;
	let img0_src_value;
	let t7;
	let p3;
	let t8_value = formatSecondsToMmSs(/*quests*/ ctx[0][/*selectedTabId*/ ctx[1]].timer) + "";
	let t8;
	let t9;
	let t10;
	let div4;
	let img1;
	let img1_src_value;
	let t11;
	let p4;
	let t12_value = /*quests*/ ctx[0][/*selectedTabId*/ ctx[1]].tricks + "";
	let t12;
	let t13;
	let t14;
	let div12;
	let img2;
	let img2_src_value;
	let t15;
	let div7;
	let p5;
	let t16_value = /*quests*/ ctx[0][/*selectedTabId*/ ctx[1]].desc + "";
	let t16;
	let t17;
	let div8;
	let img3;
	let img3_src_value;
	let t18;
	let p6;
	let t20;
	let p7;
	let t21_value = /*quests*/ ctx[0][/*selectedTabId*/ ctx[1]].hint + "";
	let t21;
	let t22;
	let img4;
	let img4_src_value;
	let t23;
	let div11;
	let div9;
	let t25;
	let img5;
	let img5_src_value;
	let t26;
	let div10;
	let mounted;
	let dispose;

	return {
		c() {
			div13 = internal_element("div");
			div6 = internal_element("div");
			div0 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			div2 = internal_element("div");
			p1 = internal_element("p");
			p1.textContent = "Прогресс";
			t3 = space();
			div1 = internal_element("div");
			p2 = internal_element("p");
			t4 = internal_text(t4_value);
			t5 = internal_text("%");
			t6 = space();
			div5 = internal_element("div");
			div3 = internal_element("div");
			img0 = internal_element("img");
			t7 = space();
			p3 = internal_element("p");
			t8 = internal_text(t8_value);
			t9 = internal_text(" мин.");
			t10 = space();
			div4 = internal_element("div");
			img1 = internal_element("img");
			t11 = space();
			p4 = internal_element("p");
			t12 = internal_text(t12_value);
			t13 = internal_text(" пакостей");
			t14 = space();
			div12 = internal_element("div");
			img2 = internal_element("img");
			t15 = space();
			div7 = internal_element("div");
			p5 = internal_element("p");
			t16 = internal_text(t16_value);
			t17 = space();
			div8 = internal_element("div");
			img3 = internal_element("img");
			t18 = space();
			p6 = internal_element("p");
			p6.textContent = "Подсказка:";
			t20 = space();
			p7 = internal_element("p");
			t21 = internal_text(t21_value);
			t22 = space();
			img4 = internal_element("img");
			t23 = space();
			div11 = internal_element("div");
			div9 = internal_element("div");
			div9.innerHTML = `<p class="neighbours-game-quests__quest-info-button-title svelte-1xraxto">Выйти</p>`;
			t25 = space();
			img5 = internal_element("img");
			t26 = space();
			div10 = internal_element("div");
			div10.innerHTML = `<p class="neighbours-game-quests__quest-info-button-title svelte-1xraxto">Начать</p>`;
			attr(p0, "class", "neighbours-game-quests__quest-stats-title svelte-1xraxto");
			attr(div0, "class", "neighbours-game-quests__quest-stats-title-wrapper svelte-1xraxto");
			attr(p1, "class", "neighbours-game-quests__quest-stats-percents-title svelte-1xraxto");
			attr(p2, "class", "neighbours-game-quests__quest-stats-percents-value svelte-1xraxto");
			attr(div1, "class", "neighbours-game-quests__quest-stats-percents svelte-1xraxto");
			attr(div2, "class", "neighbours-game-quests__quest-stats-percents-wrapper svelte-1xraxto");
			attr(img0, "class", "neighbours-game-quests__quest-stats-condition-time-img svelte-1xraxto");
			if (!src_url_equal(img0.src, img0_src_value = timer_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "timer");
			attr(p3, "class", "neighbours-game-quests__quest-stats-condition-time-title svelte-1xraxto");
			attr(div3, "class", "neighbours-game-quests__quest-stats-condition-time svelte-1xraxto");
			attr(img1, "class", "neighbours-game-quests__quest-stats-condition-tricks-img svelte-1xraxto");
			if (!src_url_equal(img1.src, img1_src_value = trick_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "tricks");
			attr(p4, "class", "neighbours-game-quests__quest-stats-condition-tricks-title svelte-1xraxto");
			attr(div4, "class", "neighbours-game-quests__quest-stats-condition-tricks svelte-1xraxto");
			attr(div5, "class", "neighbours-game-quests__quest-stats-conditions svelte-1xraxto");
			attr(div6, "class", "neighbours-game-quests__quest-stats svelte-1xraxto");
			attr(img2, "class", "neighbours-game-quests__quest-info-img svelte-1xraxto");
			if (!src_url_equal(img2.src, img2_src_value = `${cdn_CDN_URL_RODINA}/systems/neighbors_from_hell/bg/${/*quests*/ ctx[0][/*selectedTabId*/ ctx[1]].image}`)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "info-img");
			attr(p5, "class", "neighbours-game-quests__quest-info-description svelte-1xraxto");
			attr(div7, "class", "neighbours-game-quests__quest-info-description-wrapper svelte-1xraxto");
			attr(img3, "class", "neighbours-game-quests__quest-info-hint-line-top svelte-1xraxto");
			if (!src_url_equal(img3.src, img3_src_value = line_namespaceObject)) attr(img3, "src", img3_src_value);
			attr(img3, "alt", "line");
			attr(p6, "class", "neighbours-game-quests__quest-info-hint-title svelte-1xraxto");
			attr(p7, "class", "neighbours-game-quests__quest-info-hint svelte-1xraxto");
			attr(img4, "class", "neighbours-game-quests__quest-info-hint-line-bottom svelte-1xraxto");
			if (!src_url_equal(img4.src, img4_src_value = line_namespaceObject)) attr(img4, "src", img4_src_value);
			attr(img4, "alt", "line");
			attr(div8, "class", "neighbours-game-quests__quest-info-hint-wrapper svelte-1xraxto");
			attr(div9, "class", "neighbours-game-quests__quest-info-button svelte-1xraxto");
			attr(img5, "class", "neighbours-game-quests__quest-info-button-img svelte-1xraxto");
			if (!src_url_equal(img5.src, img5_src_value = button_line_namespaceObject)) attr(img5, "src", img5_src_value);
			attr(img5, "alt", "line");
			attr(div10, "class", "neighbours-game-quests__quest-info-button neighbours-game-quests__quest-info-button--start svelte-1xraxto");
			attr(div11, "class", "neighbours-game-quests__quest-info-buttons svelte-1xraxto");
			attr(div12, "class", "neighbours-game-quests__quest-info svelte-1xraxto");
			attr(div13, "class", "neighbours-game-quests__quest svelte-1xraxto");
		},
		m(target, anchor) {
			insert(target, div13, anchor);
			append(div13, div6);
			append(div6, div0);
			append(div0, p0);
			append(p0, t0);
			append(div6, t1);
			append(div6, div2);
			append(div2, p1);
			append(div2, t3);
			append(div2, div1);
			append(div1, p2);
			append(p2, t4);
			append(p2, t5);
			append(div6, t6);
			append(div6, div5);
			append(div5, div3);
			append(div3, img0);
			append(div3, t7);
			append(div3, p3);
			append(p3, t8);
			append(p3, t9);
			append(div5, t10);
			append(div5, div4);
			append(div4, img1);
			append(div4, t11);
			append(div4, p4);
			append(p4, t12);
			append(p4, t13);
			append(div13, t14);
			append(div13, div12);
			append(div12, img2);
			append(div12, t15);
			append(div12, div7);
			append(div7, p5);
			append(p5, t16);
			append(div12, t17);
			append(div12, div8);
			append(div8, img3);
			append(div8, t18);
			append(div8, p6);
			append(div8, t20);
			append(div8, p7);
			append(p7, t21);
			append(div8, t22);
			append(div8, img4);
			append(div12, t23);
			append(div12, div11);
			append(div11, div9);
			append(div11, t25);
			append(div11, img5);
			append(div11, t26);
			append(div11, div10);

			if (!mounted) {
				dispose = [
					listen(div9, "click", /*exitGame*/ ctx[4]),
					listen(div10, "click", /*click_handler_1*/ ctx[7])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*quests, selectedTabId*/ 3 && t0_value !== (t0_value = /*quests*/ ctx[0][/*selectedTabId*/ ctx[1]].title + "")) set_data(t0, t0_value);
			if (dirty & /*quests, selectedTabId*/ 3 && t4_value !== (t4_value = Math.round(/*quests*/ ctx[0][/*selectedTabId*/ ctx[1]].progress / (/*quests*/ ctx[0][/*selectedTabId*/ ctx[1]].tricks / 100)) + "")) set_data(t4, t4_value);
			if (dirty & /*quests, selectedTabId*/ 3 && t8_value !== (t8_value = formatSecondsToMmSs(/*quests*/ ctx[0][/*selectedTabId*/ ctx[1]].timer) + "")) set_data(t8, t8_value);
			if (dirty & /*quests, selectedTabId*/ 3 && t12_value !== (t12_value = /*quests*/ ctx[0][/*selectedTabId*/ ctx[1]].tricks + "")) set_data(t12, t12_value);

			if (dirty & /*quests, selectedTabId*/ 3 && !src_url_equal(img2.src, img2_src_value = `${cdn_CDN_URL_RODINA}/systems/neighbors_from_hell/bg/${/*quests*/ ctx[0][/*selectedTabId*/ ctx[1]].image}`)) {
				attr(img2, "src", img2_src_value);
			}

			if (dirty & /*quests, selectedTabId*/ 3 && t16_value !== (t16_value = /*quests*/ ctx[0][/*selectedTabId*/ ctx[1]].desc + "")) set_data(t16, t16_value);
			if (dirty & /*quests, selectedTabId*/ 3 && t21_value !== (t21_value = /*quests*/ ctx[0][/*selectedTabId*/ ctx[1]].hint + "")) set_data(t21, t21_value);
		},
		d(detaching) {
			if (detaching) detach(div13);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function neighbours_game_quests_index_svelte_create_fragment(ctx) {
	let div2;
	let exitbutton;
	let t0;
	let div0;
	let t6;
	let img;
	let img_src_value;
	let t7;
	let div1;
	let t8;
	let show_if = !(0,lodash.isEmpty)(/*quests*/ ctx[0][/*selectedTabId*/ ctx[1]]);
	let current;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[3],
				fixedPosition: true
			}
		});

	let each_value = /*quests*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = neighbours_game_quests_index_svelte_create_each_block(neighbours_game_quests_index_svelte_get_each_context(ctx, each_value, i));
	}

	let if_block = show_if && neighbours_game_quests_index_svelte_create_if_block(ctx);

	return {
		c() {
			div2 = internal_element("div");
			create_component(exitbutton.$$.fragment);
			t0 = space();
			div0 = internal_element("div");

			div0.innerHTML = `<p class="neighbours-game-quests__title svelte-1xraxto"><span class="neighbours-game-quests__title--red svelte-1xraxto">Список</span>
            серий</p> 
        <p class="neighbours-game-quests__title svelte-1xraxto">Как достать
            <span class="neighbours-game-quests__title--red svelte-1xraxto">соседа ?</span></p>`;

			t6 = space();
			img = internal_element("img");
			t7 = space();
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t8 = space();
			if (if_block) if_block.c();
			attr(div0, "class", "neighbours-game-quests__title-wrapper svelte-1xraxto");
			attr(img, "class", "neighbours-game-quests__line svelte-1xraxto");
			if (!src_url_equal(img.src, img_src_value = line_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "line");
			attr(div1, "class", "neighbours-game-quests__categories-wrapper svelte-1xraxto");
			attr(div2, "class", "neighbours-game-quests svelte-1xraxto");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			mount_component(exitbutton, div2, null);
			append(div2, t0);
			append(div2, div0);
			append(div2, t6);
			append(div2, img);
			append(div2, t7);
			append(div2, div1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}

			append(div2, t8);
			if (if_block) if_block.m(div2, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*selectQuest, quests, Math*/ 5) {
				each_value = /*quests*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = neighbours_game_quests_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = neighbours_game_quests_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div1, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if (dirty & /*quests, selectedTabId*/ 3) show_if = !(0,lodash.isEmpty)(/*quests*/ ctx[0][/*selectedTabId*/ ctx[1]]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = neighbours_game_quests_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div2, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div2);
			destroy_component(exitbutton);
			destroy_each(each_blocks, detaching);
			if (if_block) if_block.d();
		}
	};
}

function neighbours_game_quests_index_svelte_instance($$self, $$props, $$invalidate) {
	let quests = [];
	let selectedTabId = null;

	const initQuests = questsDto => {
		$$invalidate(0, quests = questsDto);
	};

	const selectQuest = tabId => {
		$$invalidate(1, selectedTabId = tabId);
	};

	const handleClose = () => {
		
	}; // exec close event

	const exitGame = () => {
		sendClientMessage('neighboursGame.quest.exit');
	};

	const startGame = questId => {
		sendClientMessage('neighboursGame.quest.start', questId);
	};

	const unregisterInitQuestsEvent = registerEvent('neighboursGame.quest.init', initQuests);
	const unregisterSelectQuestEvent = registerEvent('neighboursGame.quest.selectQuest', selectQuest);

	onDestroy(() => {
		unregisterInitQuestsEvent();
		unregisterSelectQuestEvent();
	});

	const click_handler = quest => selectQuest(quest.id);
	const click_handler_1 = () => startGame(quests[selectedTabId].id);

	return [
		quests,
		selectedTabId,
		selectQuest,
		handleClose,
		exitGame,
		startGame,
		click_handler,
		click_handler_1
	];
}

class neighbours_game_quests_index_svelte_Quests extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, neighbours_game_quests_index_svelte_instance, neighbours_game_quests_index_svelte_create_fragment, safe_not_equal, {}, neighbours_game_quests_index_svelte_add_css);
	}
}

/* harmony default export */ const neighbours_game_quests_index_svelte = (neighbours_game_quests_index_svelte_Quests);
;// CONCATENATED MODULE: ./src/views/neighbours-game/main/img/neighbour.png
const neighbour_namespaceObject = __webpack_require__.p + "assets/315eee905a8f9043618b.webp";
;// CONCATENATED MODULE: ./src/views/neighbours-game/main/img/cloud.png
const cloud_namespaceObject = __webpack_require__.p + "assets/82527721031d2cfadc03.webp";
;// CONCATENATED MODULE: ./src/views/neighbours-game/main/index.svelte
/* src\views\neighbours-game\main\index.svelte generated by Svelte v3.49.0 */












function main_index_svelte_add_css(target) {
	append_styles(target, "svelte-1e19ki4", "@keyframes svelte-1e19ki4-blinking{50%{opacity:0}}@keyframes svelte-1e19ki4-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1e19ki4-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1e19ki4-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1e19ki4-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1e19ki4-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1e19ki4-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1e19ki4-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1e19ki4-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1e19ki4-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1e19ki4-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1e19ki4-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1e19ki4-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1e19ki4-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1e19ki4-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.neighbours-game-main.svelte-1e19ki4.svelte-1e19ki4{display:flex;align-items:center;flex-direction:column;width:100vw;height:100vh}.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:rgba(0, 0, 0, 0.4);gap:calc(0.0078125 * 100vw + 0px);border-radius:calc(0.0078125 * 100vw + 0px);width:calc(0.0734375 * 100vw + 0px);height:calc(0.0416666667 * 100vw + 0px);top:calc(0.0130208333 * 100vw + 0px);right:calc(0.0145833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{gap:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{gap:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{gap:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{gap:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{gap:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{border-radius:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{border-radius:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{border-radius:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.0734375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.0734375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.056546875 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.08078125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.05140625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.06609375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.08078125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0458333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{top:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{right:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{right:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{right:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{right:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{right:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{right:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__stats.svelte-1e19ki4.svelte-1e19ki4{right:calc(0.0160416667 * 100vw + 0px)}}.neighbours-game-main__stats-time.svelte-1e19ki4.svelte-1e19ki4{display:flex;align-items:center;gap:calc(0.003125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__stats-time.svelte-1e19ki4.svelte-1e19ki4{gap:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__stats-time.svelte-1e19ki4.svelte-1e19ki4{gap:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__stats-time.svelte-1e19ki4.svelte-1e19ki4{gap:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__stats-time.svelte-1e19ki4.svelte-1e19ki4{gap:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__stats-time.svelte-1e19ki4.svelte-1e19ki4{gap:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__stats-time.svelte-1e19ki4.svelte-1e19ki4{gap:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__stats-time.svelte-1e19ki4.svelte-1e19ki4{gap:calc(0.0034375 * 100vw + 0px)}}.neighbours-game-main__stats-time-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__stats-time-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__stats-time-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__stats-time-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__stats-time-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__stats-time-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__stats-time-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__stats-time-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.01375 * 100vw + 0px)}}.neighbours-game-main__stats-time-value.svelte-1e19ki4.svelte-1e19ki4{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__stats-time-value.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__stats-time-value.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__stats-time-value.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__stats-time-value.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__stats-time-value.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__stats-time-value.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__stats-time-value.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.0091666667 * 100vw + 0px)}}.neighbours-game-main__stats-tricks.svelte-1e19ki4.svelte-1e19ki4{display:flex;align-items:center;gap:calc(0.0020833333 * 100vw + 0px);width:calc(0.0625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__stats-tricks.svelte-1e19ki4.svelte-1e19ki4{gap:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__stats-tricks.svelte-1e19ki4.svelte-1e19ki4{gap:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__stats-tricks.svelte-1e19ki4.svelte-1e19ki4{gap:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__stats-tricks.svelte-1e19ki4.svelte-1e19ki4{gap:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__stats-tricks.svelte-1e19ki4.svelte-1e19ki4{gap:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__stats-tricks.svelte-1e19ki4.svelte-1e19ki4{gap:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__stats-tricks.svelte-1e19ki4.svelte-1e19ki4{gap:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__stats-tricks.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__stats-tricks.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__stats-tricks.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__stats-tricks.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.06875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__stats-tricks.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.04375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__stats-tricks.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.05625 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__stats-tricks.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.06875 * 100vw + 0px)}}.neighbours-game-main__stats-tricks-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0119791667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__stats-tricks-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__stats-tricks-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__stats-tricks-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0092239583 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__stats-tricks-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0131770833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__stats-tricks-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0083854167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__stats-tricks-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.01078125 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__stats-tricks-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0131770833 * 100vw + 0px)}}.neighbours-game-main__stats-tricks-value.svelte-1e19ki4.svelte-1e19ki4{font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__stats-tricks-value.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__stats-tricks-value.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__stats-tricks-value.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__stats-tricks-value.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__stats-tricks-value.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__stats-tricks-value.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__stats-tricks-value.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.0091666667 * 100vw + 0px)}}.neighbours-game-main__stats-tricks-value--bold.svelte-1e19ki4.svelte-1e19ki4{font-family:\"GothamPro-Medium\"}.neighbours-game-main__inventory.svelte-1e19ki4.svelte-1e19ki4{position:absolute;display:flex;flex-direction:column;bottom:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__inventory.svelte-1e19ki4.svelte-1e19ki4{bottom:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__inventory.svelte-1e19ki4.svelte-1e19ki4{bottom:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__inventory.svelte-1e19ki4.svelte-1e19ki4{bottom:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__inventory.svelte-1e19ki4.svelte-1e19ki4{bottom:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__inventory.svelte-1e19ki4.svelte-1e19ki4{bottom:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__inventory.svelte-1e19ki4.svelte-1e19ki4{bottom:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__inventory.svelte-1e19ki4.svelte-1e19ki4{bottom:calc(0.0183333333 * 100vw + 0px)}}.neighbours-game-main__inventory-list-wrapper.svelte-1e19ki4.svelte-1e19ki4{display:flex;z-index:1}.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4{display:flex;overflow:auto;width:calc(0.1708333333 * 100vw + 0px)}.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.1708333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.1708333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.1315416667 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.1879166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.1195833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.15375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.1879166667 * 100vw + 0px)}}.neighbours-game-main__inventory-list.svelte-1e19ki4.svelte-1e19ki4::-webkit-scrollbar{height:0px}.neighbours-game-main__inventory-item.svelte-1e19ki4.svelte-1e19ki4{position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;background-color:rgba(0, 0, 0, 0.4);border-left:0.5px solid #6B6B6B;border-right:0.5px solid #6B6B6B;width:calc(0.0427083333 * 100vw + 0px);height:calc(0.0416666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__inventory-item.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.0427083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__inventory-item.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.0427083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__inventory-item.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.0328854167 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__inventory-item.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.0469791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__inventory-item.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.0298958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__inventory-item.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.0384375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__inventory-item.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.0469791667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__inventory-item.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__inventory-item.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__inventory-item.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__inventory-item.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__inventory-item.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__inventory-item.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__inventory-item.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0458333333 * 100vw + 0px)}}.neighbours-game-main__inventory-item--left.svelte-1e19ki4.svelte-1e19ki4{border-left:none}.neighbours-game-main__inventory-item--hidden.svelte-1e19ki4.svelte-1e19ki4{position:relative;border:none}.neighbours-game-main__inventory-item--right.svelte-1e19ki4.svelte-1e19ki4{border-right:none;width:calc(0.0463541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__inventory-item--right.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.0463541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__inventory-item--right.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.0463541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__inventory-item--right.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.0356927083 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__inventory-item--right.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.0509895833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__inventory-item--right.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.0324479167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__inventory-item--right.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.04171875 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__inventory-item--right.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.0509895833 * 100vw + 0px)}}.neighbours-game-main__inventory-item.svelte-1e19ki4:hover .neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4{display:flex}.neighbours-game-main__inventory-item-img.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.0364583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__inventory-item-img.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__inventory-item-img.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__inventory-item-img.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__inventory-item-img.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__inventory-item-img.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__inventory-item-img.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__inventory-item-img.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.0401041667 * 100vw + 0px)}}.neighbours-game-main__inventory-item-neighbour-img.svelte-1e19ki4.svelte-1e19ki4{position:absolute;right:0;height:calc(0.0588541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__inventory-item-neighbour-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0588541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__inventory-item-neighbour-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0588541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__inventory-item-neighbour-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0453177083 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__inventory-item-neighbour-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0647395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__inventory-item-neighbour-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0411979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__inventory-item-neighbour-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.05296875 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__inventory-item-neighbour-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0647395833 * 100vw + 0px)}}.neighbours-game-main__inventory-item-cloud-img.svelte-1e19ki4.svelte-1e19ki4{position:absolute;right:calc(0.0453125 * 100vw + 0px);bottom:calc(0.0255208333 * 100vw + 0px);height:calc(0.0578125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__inventory-item-cloud-img.svelte-1e19ki4.svelte-1e19ki4{right:calc(0.0453125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__inventory-item-cloud-img.svelte-1e19ki4.svelte-1e19ki4{right:calc(0.0453125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__inventory-item-cloud-img.svelte-1e19ki4.svelte-1e19ki4{right:calc(0.034890625 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__inventory-item-cloud-img.svelte-1e19ki4.svelte-1e19ki4{right:calc(0.04984375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__inventory-item-cloud-img.svelte-1e19ki4.svelte-1e19ki4{right:calc(0.03171875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__inventory-item-cloud-img.svelte-1e19ki4.svelte-1e19ki4{right:calc(0.04078125 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__inventory-item-cloud-img.svelte-1e19ki4.svelte-1e19ki4{right:calc(0.04984375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__inventory-item-cloud-img.svelte-1e19ki4.svelte-1e19ki4{bottom:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__inventory-item-cloud-img.svelte-1e19ki4.svelte-1e19ki4{bottom:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__inventory-item-cloud-img.svelte-1e19ki4.svelte-1e19ki4{bottom:calc(0.0196510417 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__inventory-item-cloud-img.svelte-1e19ki4.svelte-1e19ki4{bottom:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__inventory-item-cloud-img.svelte-1e19ki4.svelte-1e19ki4{bottom:calc(0.0178645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__inventory-item-cloud-img.svelte-1e19ki4.svelte-1e19ki4{bottom:calc(0.02296875 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__inventory-item-cloud-img.svelte-1e19ki4.svelte-1e19ki4{bottom:calc(0.0280729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__inventory-item-cloud-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0578125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__inventory-item-cloud-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0578125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__inventory-item-cloud-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.044515625 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__inventory-item-cloud-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.06359375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__inventory-item-cloud-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.04046875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__inventory-item-cloud-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.05203125 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__inventory-item-cloud-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.06359375 * 100vw + 0px)}}.neighbours-game-main__inventory-item-toilet-img.svelte-1e19ki4.svelte-1e19ki4{position:absolute;right:calc(0.0609375 * 100vw + 0px);bottom:calc(0.0390625 * 100vw + 0px);height:calc(0.0364583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__inventory-item-toilet-img.svelte-1e19ki4.svelte-1e19ki4{right:calc(0.0609375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__inventory-item-toilet-img.svelte-1e19ki4.svelte-1e19ki4{right:calc(0.0609375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__inventory-item-toilet-img.svelte-1e19ki4.svelte-1e19ki4{right:calc(0.046921875 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__inventory-item-toilet-img.svelte-1e19ki4.svelte-1e19ki4{right:calc(0.06703125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__inventory-item-toilet-img.svelte-1e19ki4.svelte-1e19ki4{right:calc(0.04265625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__inventory-item-toilet-img.svelte-1e19ki4.svelte-1e19ki4{right:calc(0.05484375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__inventory-item-toilet-img.svelte-1e19ki4.svelte-1e19ki4{right:calc(0.06703125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__inventory-item-toilet-img.svelte-1e19ki4.svelte-1e19ki4{bottom:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__inventory-item-toilet-img.svelte-1e19ki4.svelte-1e19ki4{bottom:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__inventory-item-toilet-img.svelte-1e19ki4.svelte-1e19ki4{bottom:calc(0.030078125 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__inventory-item-toilet-img.svelte-1e19ki4.svelte-1e19ki4{bottom:calc(0.04296875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__inventory-item-toilet-img.svelte-1e19ki4.svelte-1e19ki4{bottom:calc(0.02734375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__inventory-item-toilet-img.svelte-1e19ki4.svelte-1e19ki4{bottom:calc(0.03515625 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__inventory-item-toilet-img.svelte-1e19ki4.svelte-1e19ki4{bottom:calc(0.04296875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__inventory-item-toilet-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__inventory-item-toilet-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__inventory-item-toilet-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__inventory-item-toilet-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__inventory-item-toilet-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__inventory-item-toilet-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__inventory-item-toilet-img.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0401041667 * 100vw + 0px)}}.neighbours-game-main__inventory-item-left-arrow.svelte-1e19ki4.svelte-1e19ki4{color:#FFFFFF;cursor:pointer;font-size:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__inventory-item-left-arrow.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__inventory-item-left-arrow.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__inventory-item-left-arrow.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__inventory-item-left-arrow.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__inventory-item-left-arrow.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__inventory-item-left-arrow.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__inventory-item-left-arrow.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.0143229167 * 100vw + 0px)}}.neighbours-game-main__inventory-item-left-arrow--disabled.svelte-1e19ki4.svelte-1e19ki4{color:rgba(255, 255, 255, 0.4)}.neighbours-game-main__inventory-item-right-arrow.svelte-1e19ki4.svelte-1e19ki4{color:#FFFFFF;transform:rotate(180deg);cursor:pointer;font-size:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__inventory-item-right-arrow.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__inventory-item-right-arrow.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__inventory-item-right-arrow.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__inventory-item-right-arrow.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__inventory-item-right-arrow.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__inventory-item-right-arrow.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__inventory-item-right-arrow.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.0143229167 * 100vw + 0px)}}.neighbours-game-main__inventory-item-right-arrow--disabled.svelte-1e19ki4.svelte-1e19ki4{color:rgba(255, 255, 255, 0.4)}.neighbours-game-main__inventory-progress.svelte-1e19ki4.svelte-1e19ki4{position:relative;display:flex;align-items:center;justify-content:center;background-color:#202020;overflow:hidden;width:calc(0.2833333333 * 100vw + 0px);height:calc(0.0057291667 * 100vw + 0px);margin-left:calc(0.0197916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__inventory-progress.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.2833333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__inventory-progress.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.2833333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__inventory-progress.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.2181666667 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__inventory-progress.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.3116666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__inventory-progress.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.1983333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__inventory-progress.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.255 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__inventory-progress.svelte-1e19ki4.svelte-1e19ki4{width:calc(0.3116666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__inventory-progress.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__inventory-progress.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__inventory-progress.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0044114583 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__inventory-progress.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0063020833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__inventory-progress.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__inventory-progress.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__inventory-progress.svelte-1e19ki4.svelte-1e19ki4{height:calc(0.0063020833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__inventory-progress.svelte-1e19ki4.svelte-1e19ki4{margin-left:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__inventory-progress.svelte-1e19ki4.svelte-1e19ki4{margin-left:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__inventory-progress.svelte-1e19ki4.svelte-1e19ki4{margin-left:calc(0.0152395833 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__inventory-progress.svelte-1e19ki4.svelte-1e19ki4{margin-left:calc(0.0217708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__inventory-progress.svelte-1e19ki4.svelte-1e19ki4{margin-left:calc(0.0138541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__inventory-progress.svelte-1e19ki4.svelte-1e19ki4{margin-left:calc(0.0178125 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__inventory-progress.svelte-1e19ki4.svelte-1e19ki4{margin-left:calc(0.0217708333 * 100vw + 0px)}}.neighbours-game-main__inventory-progress-value.svelte-1e19ki4.svelte-1e19ki4{position:absolute;background-color:#A42929;left:0;height:100%;width:0}.neighbours-game-main__inventory-progress-percents.svelte-1e19ki4.svelte-1e19ki4{z-index:1;font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0046875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__inventory-progress-percents.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__inventory-progress-percents.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__inventory-progress-percents.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.003609375 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__inventory-progress-percents.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__inventory-progress-percents.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__inventory-progress-percents.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.00421875 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__inventory-progress-percents.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.00515625 * 100vw + 0px)}}.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{display:none;align-items:center;position:absolute;bottom:0;left:50%;background-color:#FFFFFF;color:#111111;font-family:PFDinDisplayProRegular;transform:translateY(-20%) translateX(-50%);z-index:10;font-size:calc(0.0052083333 * 100vw + 0px);border-radius:calc(0.0020833333 * 100vw + 0px);min-width:calc(0.0208333333 * 100vw + 0px);min-height:calc(0.0104166667 * 100vw + 0px);padding-left:calc(0.0052083333 * 100vw + 0px);padding-right:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{border-radius:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{border-radius:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{border-radius:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{border-radius:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{border-radius:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{min-width:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{min-width:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{min-width:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{min-width:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{min-width:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{min-width:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{min-width:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{min-height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{min-height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{min-height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{min-height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{min-height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{min-height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{min-height:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{padding-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{padding-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{padding-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{padding-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{padding-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{padding-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{padding-left:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{padding-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{padding-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{padding-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{padding-right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{padding-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{padding-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.neighbours-game-main__inventory-item-tooltip.svelte-1e19ki4.svelte-1e19ki4{padding-right:calc(0.0057291667 * 100vw + 0px)}}");
}

function neighbours_game_main_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[17] = list[i];
	return child_ctx;
}

// (1933:24) {#if inv.image}
function neighbours_game_main_index_svelte_create_if_block(ctx) {
	let img;
	let img_src_value;
	let t0;
	let div;
	let t1_value = /*inv*/ ctx[17].title + "";
	let t1;

	return {
		c() {
			img = internal_element("img");
			t0 = space();
			div = internal_element("div");
			t1 = internal_text(t1_value);
			attr(img, "class", "neighbours-game-main__inventory-item-img svelte-1e19ki4");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/neighbors_from_hell/items/${/*inv*/ ctx[17].image}`)) attr(img, "src", img_src_value);
			attr(img, "alt", "item-img");
			attr(div, "class", "neighbours-game-main__inventory-item-tooltip svelte-1e19ki4");
		},
		m(target, anchor) {
			insert(target, img, anchor);
			insert(target, t0, anchor);
			insert(target, div, anchor);
			append(div, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*inventory*/ 2 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/neighbors_from_hell/items/${/*inv*/ ctx[17].image}`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*inventory*/ 2 && t1_value !== (t1_value = /*inv*/ ctx[17].title + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(img);
			if (detaching) detach(t0);
			if (detaching) detach(div);
		}
	};
}

// (1927:16) {#each inventory as inv}
function neighbours_game_main_index_svelte_create_each_block(ctx) {
	let div;
	let t;
	let mounted;
	let dispose;
	let if_block = /*inv*/ ctx[17].image && neighbours_game_main_index_svelte_create_if_block(ctx);

	function click_handler_1() {
		return /*click_handler_1*/ ctx[9](/*inv*/ ctx[17]);
	}

	return {
		c() {
			div = internal_element("div");
			if (if_block) if_block.c();
			t = space();
			attr(div, "class", "neighbours-game-main__inventory-item svelte-1e19ki4");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block) if_block.m(div, null);
			append(div, t);
			/*div_binding*/ ctx[10](div);

			if (!mounted) {
				dispose = listen(div, "click", click_handler_1);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (/*inv*/ ctx[17].image) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = neighbours_game_main_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div, t);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			if (if_block) if_block.d();
			/*div_binding*/ ctx[10](null);
			mounted = false;
			dispose();
		}
	};
}

function neighbours_game_main_index_svelte_create_fragment(ctx) {
	let div11;
	let div2;
	let div0;
	let img0;
	let img0_src_value;
	let t0;
	let p0;
	let t1_value = formatSecondsToMmSs(/*information*/ ctx[0].timer) + "";
	let t1;
	let t2;
	let t3;
	let div1;
	let img1;
	let img1_src_value;
	let t4;
	let p1;
	let span;
	let t5_value = /*information*/ ctx[0].progress + "";
	let t5;
	let t6;
	let t7_value = /*information*/ ctx[0].maxProgress + "";
	let t7;
	let t8;
	let div10;
	let div7;
	let div3;
	let img2;
	let img2_src_value;
	let t9;
	let img3;
	let img3_src_value;
	let t10;
	let img4;
	let img4_src_value;
	let t11;
	let div4;
	let p2;
	let t12;
	let div5;
	let t13;
	let div6;
	let p3;
	let t14;
	let div9;
	let div8;
	let div8_style_value;
	let t15;
	let p4;
	let t16_value = Math.round(/*information*/ ctx[0].progress / (/*information*/ ctx[0].maxProgress / 100)) + "";
	let t16;
	let t17;
	let mounted;
	let dispose;
	let each_value = /*inventory*/ ctx[1];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = neighbours_game_main_index_svelte_create_each_block(neighbours_game_main_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div11 = internal_element("div");
			div2 = internal_element("div");
			div0 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = internal_text(" мин.");
			t3 = space();
			div1 = internal_element("div");
			img1 = internal_element("img");
			t4 = space();
			p1 = internal_element("p");
			span = internal_element("span");
			t5 = internal_text(t5_value);
			t6 = internal_text("\r\n                /");
			t7 = internal_text(t7_value);
			t8 = space();
			div10 = internal_element("div");
			div7 = internal_element("div");
			div3 = internal_element("div");
			img2 = internal_element("img");
			t9 = space();
			img3 = internal_element("img");
			t10 = space();
			img4 = internal_element("img");
			t11 = space();
			div4 = internal_element("div");
			p2 = internal_element("p");
			t12 = space();
			div5 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t13 = space();
			div6 = internal_element("div");
			p3 = internal_element("p");
			t14 = space();
			div9 = internal_element("div");
			div8 = internal_element("div");
			t15 = space();
			p4 = internal_element("p");
			t16 = internal_text(t16_value);
			t17 = internal_text("%");
			attr(img0, "class", "neighbours-game-main__stats-time-img svelte-1e19ki4");
			if (!src_url_equal(img0.src, img0_src_value = timer_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "time");
			attr(p0, "class", "neighbours-game-main__stats-time-value svelte-1e19ki4");
			attr(div0, "class", "neighbours-game-main__stats-time svelte-1e19ki4");
			attr(img1, "class", "neighbours-game-main__stats-tricks-img svelte-1e19ki4");
			if (!src_url_equal(img1.src, img1_src_value = trick_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "time");
			attr(span, "class", "neighbours-game-main__stats-tricks-value--bold svelte-1e19ki4");
			attr(p1, "class", "neighbours-game-main__stats-tricks-value svelte-1e19ki4");
			attr(div1, "class", "neighbours-game-main__stats-tricks svelte-1e19ki4");
			attr(div2, "class", "neighbours-game-main__stats svelte-1e19ki4");
			attr(img2, "class", "neighbours-game-main__inventory-item-neighbour-img svelte-1e19ki4");
			if (!src_url_equal(img2.src, img2_src_value = neighbour_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "neighbour-img");
			attr(img3, "class", "neighbours-game-main__inventory-item-cloud-img svelte-1e19ki4");
			if (!src_url_equal(img3.src, img3_src_value = cloud_namespaceObject)) attr(img3, "src", img3_src_value);
			attr(img3, "alt", "cloud-img");
			attr(img4, "class", "neighbours-game-main__inventory-item-toilet-img svelte-1e19ki4");
			if (!src_url_equal(img4.src, img4_src_value = `${cdn_CDN_URL_RODINA}/systems/neighbors_from_hell/wishes/${/*information*/ ctx[0].neighbourWish}`)) attr(img4, "src", img4_src_value);
			attr(img4, "alt", "toilet-img");
			attr(div3, "class", "neighbours-game-main__inventory-item neighbours-game-main__inventory-item--hidden svelte-1e19ki4");
			attr(p2, "class", "neighbours-game-main__inventory-item-left-arrow icon-rounded-left-arrow svelte-1e19ki4");
			toggle_class(p2, "neighbours-game-main__inventory-item-left-arrow--disabled", /*scrollLeft*/ ctx[5] === 0);
			attr(div4, "class", "neighbours-game-main__inventory-item neighbours-game-main__inventory-item--left svelte-1e19ki4");
			attr(div5, "class", "neighbours-game-main__inventory-list svelte-1e19ki4");
			attr(p3, "class", "neighbours-game-main__inventory-item-right-arrow icon-rounded-left-arrow svelte-1e19ki4");
			toggle_class(p3, "neighbours-game-main__inventory-item-right-arrow--disabled", /*maxScrollLeft*/ ctx[4] === /*scrollLeft*/ ctx[5] && /*maxScrollLeft*/ ctx[4] !== 0);
			attr(div6, "class", "neighbours-game-main__inventory-item neighbours-game-main__inventory-item--right svelte-1e19ki4");
			attr(div7, "class", "neighbours-game-main__inventory-list-wrapper svelte-1e19ki4");
			attr(div8, "class", "neighbours-game-main__inventory-progress-value svelte-1e19ki4");
			attr(div8, "style", div8_style_value = `width: ${/*information*/ ctx[0].progress / (/*information*/ ctx[0].maxProgress / 100)}%;`);
			attr(p4, "class", "neighbours-game-main__inventory-progress-percents svelte-1e19ki4");
			attr(div9, "class", "neighbours-game-main__inventory-progress svelte-1e19ki4");
			attr(div10, "class", "neighbours-game-main__inventory svelte-1e19ki4");
			attr(div11, "class", "neighbours-game-main svelte-1e19ki4");
		},
		m(target, anchor) {
			insert(target, div11, anchor);
			append(div11, div2);
			append(div2, div0);
			append(div0, img0);
			append(div0, t0);
			append(div0, p0);
			append(p0, t1);
			append(p0, t2);
			append(div2, t3);
			append(div2, div1);
			append(div1, img1);
			append(div1, t4);
			append(div1, p1);
			append(p1, span);
			append(span, t5);
			append(p1, t6);
			append(p1, t7);
			append(div11, t8);
			append(div11, div10);
			append(div10, div7);
			append(div7, div3);
			append(div3, img2);
			append(div3, t9);
			append(div3, img3);
			append(div3, t10);
			append(div3, img4);
			append(div7, t11);
			append(div7, div4);
			append(div4, p2);
			append(div7, t12);
			append(div7, div5);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div5, null);
			}

			/*div5_binding*/ ctx[11](div5);
			append(div7, t13);
			append(div7, div6);
			append(div6, p3);
			append(div10, t14);
			append(div10, div9);
			append(div9, div8);
			append(div9, t15);
			append(div9, p4);
			append(p4, t16);
			append(p4, t17);

			if (!mounted) {
				dispose = [
					listen(p2, "click", /*click_handler*/ ctx[8]),
					listen(p3, "click", /*click_handler_2*/ ctx[12])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*information*/ 1 && t1_value !== (t1_value = formatSecondsToMmSs(/*information*/ ctx[0].timer) + "")) set_data(t1, t1_value);
			if (dirty & /*information*/ 1 && t5_value !== (t5_value = /*information*/ ctx[0].progress + "")) set_data(t5, t5_value);
			if (dirty & /*information*/ 1 && t7_value !== (t7_value = /*information*/ ctx[0].maxProgress + "")) set_data(t7, t7_value);

			if (dirty & /*information*/ 1 && !src_url_equal(img4.src, img4_src_value = `${cdn_CDN_URL_RODINA}/systems/neighbors_from_hell/wishes/${/*information*/ ctx[0].neighbourWish}`)) {
				attr(img4, "src", img4_src_value);
			}

			if (dirty & /*scrollLeft*/ 32) {
				toggle_class(p2, "neighbours-game-main__inventory-item-left-arrow--disabled", /*scrollLeft*/ ctx[5] === 0);
			}

			if (dirty & /*itemRect, selectItem, inventory, CDN_URL_RODINA*/ 138) {
				each_value = /*inventory*/ ctx[1];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = neighbours_game_main_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = neighbours_game_main_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div5, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if (dirty & /*maxScrollLeft, scrollLeft*/ 48) {
				toggle_class(p3, "neighbours-game-main__inventory-item-right-arrow--disabled", /*maxScrollLeft*/ ctx[4] === /*scrollLeft*/ ctx[5] && /*maxScrollLeft*/ ctx[4] !== 0);
			}

			if (dirty & /*information*/ 1 && div8_style_value !== (div8_style_value = `width: ${/*information*/ ctx[0].progress / (/*information*/ ctx[0].maxProgress / 100)}%;`)) {
				attr(div8, "style", div8_style_value);
			}

			if (dirty & /*information*/ 1 && t16_value !== (t16_value = Math.round(/*information*/ ctx[0].progress / (/*information*/ ctx[0].maxProgress / 100)) + "")) set_data(t16, t16_value);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div11);
			destroy_each(each_blocks, detaching);
			/*div5_binding*/ ctx[11](null);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function neighbours_game_main_index_svelte_instance($$self, $$props, $$invalidate) {
	let information = {};
	let inventory = [];
	let containerRef;
	let itemRect;
	let maxScrollLeft = 0;
	let scrollLeft = 0;

	const initInformation = informationDto => {
		$$invalidate(0, information = informationDto);
	};

	const initInventory = inventoryDto => {
		$$invalidate(1, inventory = inventoryDto);
	};

	const scrollItems = direction => {
		if (direction === -1) {
			$$invalidate(2, containerRef.scrollLeft -= itemRect.getBoundingClientRect().width, containerRef);
			$$invalidate(5, scrollLeft = containerRef.scrollLeft);
			$$invalidate(4, maxScrollLeft = containerRef.scrollWidth - containerRef.clientWidth);
		} else if (direction === 1) {
			$$invalidate(2, containerRef.scrollLeft += itemRect.getBoundingClientRect().width, containerRef);
			$$invalidate(5, scrollLeft = containerRef.scrollLeft);
			$$invalidate(4, maxScrollLeft = containerRef.scrollWidth - containerRef.clientWidth);
		}
	};

	const selectItem = id => {
		sendClientMessage('neighboursGame.main.selectitem', id);
	};

	const unregisterInitInformationEvent = registerEvent('neighboursGame.main.init', initInformation);
	const unregisterInitInventoryEvent = registerEvent('neighboursGame.main.inventoryInit', initInventory);

	onDestroy(() => {
		unregisterInitInformationEvent();
		unregisterInitInventoryEvent();
	});

	const click_handler = () => scrollItems(-1);
	const click_handler_1 = inv => selectItem(inv.id);

	function div_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			itemRect = $$value;
			$$invalidate(3, itemRect);
		});
	}

	function div5_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			containerRef = $$value;
			$$invalidate(2, containerRef);
		});
	}

	const click_handler_2 = () => scrollItems(1);

	return [
		information,
		inventory,
		containerRef,
		itemRect,
		maxScrollLeft,
		scrollLeft,
		scrollItems,
		selectItem,
		click_handler,
		click_handler_1,
		div_binding,
		div5_binding,
		click_handler_2
	];
}

class neighbours_game_main_index_svelte_Main extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, neighbours_game_main_index_svelte_instance, neighbours_game_main_index_svelte_create_fragment, safe_not_equal, {}, main_index_svelte_add_css);
	}
}

/* harmony default export */ const neighbours_game_main_index_svelte = (neighbours_game_main_index_svelte_Main);
;// CONCATENATED MODULE: ./src/views/vip-improvement/img/background.png
const vip_improvement_img_background_namespaceObject = __webpack_require__.p + "assets/12288971f8d986f76c07.webp";
;// CONCATENATED MODULE: ./src/views/vip-improvement/img/lines.svg
const lines_namespaceObject = __webpack_require__.p + "assets/2053fdf030443532be55.svg";
;// CONCATENATED MODULE: ./src/views/vip-improvement/img/crown.svg
const crown_namespaceObject = __webpack_require__.p + "assets/2fb81504087571dc20a8.svg";
;// CONCATENATED MODULE: ./src/views/vip-improvement/img/arrow.png
const vip_improvement_img_arrow_namespaceObject = __webpack_require__.p + "assets/730a234e870ea1eebcee.webp";
;// CONCATENATED MODULE: ./src/views/vip-improvement/index.svelte
/* src\views\vip-improvement\index.svelte generated by Svelte v3.49.0 */











function vip_improvement_index_svelte_add_css(target) {
	append_styles(target, "svelte-39uvmc", "@keyframes svelte-39uvmc-blinking{50%{opacity:0}}@keyframes svelte-39uvmc-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-39uvmc-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-39uvmc-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-39uvmc-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-39uvmc-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-39uvmc-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-39uvmc-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-39uvmc-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-39uvmc-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-39uvmc-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-39uvmc-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-39uvmc-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-39uvmc-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-39uvmc-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.vip-improvement.svelte-39uvmc{display:flex;align-items:center;justify-content:center;width:100vw;height:100vh}.vip-improvement__body.svelte-39uvmc{position:relative;display:flex;flex-direction:column;align-items:center;background:linear-gradient(0deg, rgba(22, 25, 30, 0.8), rgba(22, 25, 30, 0.8)), radial-gradient(50% 50% at 50% 50%, rgba(22, 25, 30, 0) 0%, rgba(22, 25, 30, 0.8) 100%), radial-gradient(22.97% 14.3% at 4.22% -5.05%, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 100%), radial-gradient(13.55% 37.45% at 3.31% 2.96%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%), radial-gradient(27.63% 27.67% at 92.5% 77.69%, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 100%), radial-gradient(58.61% 17.64% at 91.54% 53.52%, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 100%), radial-gradient(43.23% 54.43% at 100% 35.37%, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 82.34%);border-radius:calc(0.0078125 * 100vw + 0px);width:calc(0.7234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body.svelte-39uvmc{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body.svelte-39uvmc{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body.svelte-39uvmc{border-radius:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body.svelte-39uvmc{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body.svelte-39uvmc{border-radius:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body.svelte-39uvmc{border-radius:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body.svelte-39uvmc{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body.svelte-39uvmc{width:calc(0.7234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body.svelte-39uvmc{width:calc(0.7234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body.svelte-39uvmc{width:calc(0.557046875 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body.svelte-39uvmc{width:calc(0.79578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body.svelte-39uvmc{width:calc(0.50640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body.svelte-39uvmc{width:calc(0.65109375 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body.svelte-39uvmc{width:calc(0.79578125 * 100vw + 0px)}}.vip-improvement__body-background.svelte-39uvmc{position:absolute;pointer-events:none;width:calc(0.7234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-background.svelte-39uvmc{width:calc(0.7234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-background.svelte-39uvmc{width:calc(0.7234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-background.svelte-39uvmc{width:calc(0.557046875 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-background.svelte-39uvmc{width:calc(0.79578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-background.svelte-39uvmc{width:calc(0.50640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-background.svelte-39uvmc{width:calc(0.65109375 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-background.svelte-39uvmc{width:calc(0.79578125 * 100vw + 0px)}}.vip-improvement__body-button-exit.svelte-39uvmc{position:absolute;display:flex;align-items:center;justify-content:center;background-color:rgba(0, 0, 0, 0.33);cursor:pointer;transition:background-color 0.2s linear;border-radius:calc(0.0046875 * 100vw + 0px);top:calc(0.0078125 * 100vw + 0px);right:calc(0.0088541667 * 100vw + 0px);width:calc(0.0213541667 * 100vw + 0px);height:calc(0.0213541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-button-exit.svelte-39uvmc{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-button-exit.svelte-39uvmc{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-button-exit.svelte-39uvmc{border-radius:calc(0.003609375 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-button-exit.svelte-39uvmc{border-radius:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-button-exit.svelte-39uvmc{border-radius:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-button-exit.svelte-39uvmc{border-radius:calc(0.00421875 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-button-exit.svelte-39uvmc{border-radius:calc(0.00515625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-button-exit.svelte-39uvmc{top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-button-exit.svelte-39uvmc{top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-button-exit.svelte-39uvmc{top:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-button-exit.svelte-39uvmc{top:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-button-exit.svelte-39uvmc{top:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-button-exit.svelte-39uvmc{top:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-button-exit.svelte-39uvmc{top:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-button-exit.svelte-39uvmc{right:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-button-exit.svelte-39uvmc{right:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-button-exit.svelte-39uvmc{right:calc(0.0068177083 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-button-exit.svelte-39uvmc{right:calc(0.0097395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-button-exit.svelte-39uvmc{right:calc(0.0061979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-button-exit.svelte-39uvmc{right:calc(0.00796875 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-button-exit.svelte-39uvmc{right:calc(0.0097395833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-button-exit.svelte-39uvmc{width:calc(0.0213541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-button-exit.svelte-39uvmc{width:calc(0.0213541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-button-exit.svelte-39uvmc{width:calc(0.0164427083 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-button-exit.svelte-39uvmc{width:calc(0.0234895833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-button-exit.svelte-39uvmc{width:calc(0.0149479167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-button-exit.svelte-39uvmc{width:calc(0.01921875 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-button-exit.svelte-39uvmc{width:calc(0.0234895833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-button-exit.svelte-39uvmc{height:calc(0.0213541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-button-exit.svelte-39uvmc{height:calc(0.0213541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-button-exit.svelte-39uvmc{height:calc(0.0164427083 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-button-exit.svelte-39uvmc{height:calc(0.0234895833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-button-exit.svelte-39uvmc{height:calc(0.0149479167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-button-exit.svelte-39uvmc{height:calc(0.01921875 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-button-exit.svelte-39uvmc{height:calc(0.0234895833 * 100vw + 0px)}}.vip-improvement__body-button-exit.svelte-39uvmc:hover{background-color:#111111}.vip-improvement__body-button-exit-icon.svelte-39uvmc{color:#FFFFFF;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-button-exit-icon.svelte-39uvmc{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-button-exit-icon.svelte-39uvmc{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-button-exit-icon.svelte-39uvmc{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-button-exit-icon.svelte-39uvmc{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-button-exit-icon.svelte-39uvmc{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-button-exit-icon.svelte-39uvmc{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-button-exit-icon.svelte-39uvmc{font-size:calc(0.0091666667 * 100vw + 0px)}}.vip-improvement__body-title.svelte-39uvmc{color:#FFFFFF;font-family:\"GothamPro-Medium\";font-size:calc(0.015625 * 100vw + 0px);margin-top:calc(0.0296875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-title.svelte-39uvmc{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-title.svelte-39uvmc{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-title.svelte-39uvmc{font-size:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-title.svelte-39uvmc{font-size:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-title.svelte-39uvmc{font-size:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-title.svelte-39uvmc{font-size:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-title.svelte-39uvmc{font-size:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-title.svelte-39uvmc{margin-top:calc(0.0296875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-title.svelte-39uvmc{margin-top:calc(0.0296875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-title.svelte-39uvmc{margin-top:calc(0.022859375 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-title.svelte-39uvmc{margin-top:calc(0.03265625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-title.svelte-39uvmc{margin-top:calc(0.02078125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-title.svelte-39uvmc{margin-top:calc(0.02671875 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-title.svelte-39uvmc{margin-top:calc(0.03265625 * 100vw + 0px)}}.vip-improvement__body-title--bold.svelte-39uvmc{font-family:\"GothamPro-Bold\";color:#F2C94C}.vip-improvement__body-lvl-wrapper.svelte-39uvmc{display:flex;align-items:center;gap:calc(0.0130208333 * 100vw + 0px);margin-top:calc(0.0255208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-lvl-wrapper.svelte-39uvmc{gap:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-lvl-wrapper.svelte-39uvmc{gap:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-lvl-wrapper.svelte-39uvmc{gap:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-lvl-wrapper.svelte-39uvmc{gap:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-lvl-wrapper.svelte-39uvmc{gap:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-lvl-wrapper.svelte-39uvmc{gap:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-lvl-wrapper.svelte-39uvmc{gap:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-lvl-wrapper.svelte-39uvmc{margin-top:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-lvl-wrapper.svelte-39uvmc{margin-top:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-lvl-wrapper.svelte-39uvmc{margin-top:calc(0.0196510417 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-lvl-wrapper.svelte-39uvmc{margin-top:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-lvl-wrapper.svelte-39uvmc{margin-top:calc(0.0178645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-lvl-wrapper.svelte-39uvmc{margin-top:calc(0.02296875 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-lvl-wrapper.svelte-39uvmc{margin-top:calc(0.0280729167 * 100vw + 0px)}}.vip-improvement__body-lvl.svelte-39uvmc{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;background-color:#F2C94C;overflow:hidden;box-shadow:0px 0px 54px 5px rgba(242, 201, 76, 0.34);border-radius:calc(0.0104166667 * 100vw + 0px);width:calc(0.1515625 * 100vw + 0px);height:calc(0.1307291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-lvl.svelte-39uvmc{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-lvl.svelte-39uvmc{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-lvl.svelte-39uvmc{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-lvl.svelte-39uvmc{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-lvl.svelte-39uvmc{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-lvl.svelte-39uvmc{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-lvl.svelte-39uvmc{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-lvl.svelte-39uvmc{width:calc(0.1515625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-lvl.svelte-39uvmc{width:calc(0.1515625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-lvl.svelte-39uvmc{width:calc(0.116703125 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-lvl.svelte-39uvmc{width:calc(0.16671875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-lvl.svelte-39uvmc{width:calc(0.10609375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-lvl.svelte-39uvmc{width:calc(0.13640625 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-lvl.svelte-39uvmc{width:calc(0.16671875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-lvl.svelte-39uvmc{height:calc(0.1307291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-lvl.svelte-39uvmc{height:calc(0.1307291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-lvl.svelte-39uvmc{height:calc(0.1006614583 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-lvl.svelte-39uvmc{height:calc(0.1438020833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-lvl.svelte-39uvmc{height:calc(0.0915104167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-lvl.svelte-39uvmc{height:calc(0.11765625 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-lvl.svelte-39uvmc{height:calc(0.1438020833 * 100vw + 0px)}}.vip-improvement__body-lvl-title.svelte-39uvmc{position:absolute;color:#292020;font-family:\"GothamPro-Medium\";top:0;font-size:calc(0.0104166667 * 100vw + 0px);margin-top:calc(0.0135416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-lvl-title.svelte-39uvmc{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-lvl-title.svelte-39uvmc{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-lvl-title.svelte-39uvmc{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-lvl-title.svelte-39uvmc{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-lvl-title.svelte-39uvmc{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-lvl-title.svelte-39uvmc{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-lvl-title.svelte-39uvmc{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-lvl-title.svelte-39uvmc{margin-top:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-lvl-title.svelte-39uvmc{margin-top:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-lvl-title.svelte-39uvmc{margin-top:calc(0.0104270833 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-lvl-title.svelte-39uvmc{margin-top:calc(0.0148958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-lvl-title.svelte-39uvmc{margin-top:calc(0.0094791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-lvl-title.svelte-39uvmc{margin-top:calc(0.0121875 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-lvl-title.svelte-39uvmc{margin-top:calc(0.0148958333 * 100vw + 0px)}}.vip-improvement__body-lvl-value.svelte-39uvmc{z-index:1;color:#292020;font-family:\"GothamPro-Bold\";font-size:calc(0.0520833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-lvl-value.svelte-39uvmc{font-size:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-lvl-value.svelte-39uvmc{font-size:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-lvl-value.svelte-39uvmc{font-size:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-lvl-value.svelte-39uvmc{font-size:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-lvl-value.svelte-39uvmc{font-size:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-lvl-value.svelte-39uvmc{font-size:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-lvl-value.svelte-39uvmc{font-size:calc(0.0572916667 * 100vw + 0px)}}.vip-improvement__body-lvl-lines-img.svelte-39uvmc{position:absolute;height:calc(0.1307291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-lvl-lines-img.svelte-39uvmc{height:calc(0.1307291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-lvl-lines-img.svelte-39uvmc{height:calc(0.1307291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-lvl-lines-img.svelte-39uvmc{height:calc(0.1006614583 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-lvl-lines-img.svelte-39uvmc{height:calc(0.1438020833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-lvl-lines-img.svelte-39uvmc{height:calc(0.0915104167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-lvl-lines-img.svelte-39uvmc{height:calc(0.11765625 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-lvl-lines-img.svelte-39uvmc{height:calc(0.1438020833 * 100vw + 0px)}}.vip-improvement__body-lvl-crown-img.svelte-39uvmc{position:absolute;height:calc(0.1078125 * 100vw + 0px);bottom:0}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-lvl-crown-img.svelte-39uvmc{height:calc(0.1078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-lvl-crown-img.svelte-39uvmc{height:calc(0.1078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-lvl-crown-img.svelte-39uvmc{height:calc(0.083015625 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-lvl-crown-img.svelte-39uvmc{height:calc(0.11859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-lvl-crown-img.svelte-39uvmc{height:calc(0.07546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-lvl-crown-img.svelte-39uvmc{height:calc(0.09703125 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-lvl-crown-img.svelte-39uvmc{height:calc(0.11859375 * 100vw + 0px)}}.vip-improvement__body-lvl-wrapper-img.svelte-39uvmc{height:calc(0.0484375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-lvl-wrapper-img.svelte-39uvmc{height:calc(0.0484375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-lvl-wrapper-img.svelte-39uvmc{height:calc(0.0484375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-lvl-wrapper-img.svelte-39uvmc{height:calc(0.037296875 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-lvl-wrapper-img.svelte-39uvmc{height:calc(0.05328125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-lvl-wrapper-img.svelte-39uvmc{height:calc(0.03390625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-lvl-wrapper-img.svelte-39uvmc{height:calc(0.04359375 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-lvl-wrapper-img.svelte-39uvmc{height:calc(0.05328125 * 100vw + 0px)}}.vip-improvement__body-progress-wrapper.svelte-39uvmc{display:flex;flex-direction:column;align-items:center;margin-top:calc(0.0197916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-progress-wrapper.svelte-39uvmc{margin-top:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-progress-wrapper.svelte-39uvmc{margin-top:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-progress-wrapper.svelte-39uvmc{margin-top:calc(0.0152395833 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-progress-wrapper.svelte-39uvmc{margin-top:calc(0.0217708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-progress-wrapper.svelte-39uvmc{margin-top:calc(0.0138541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-progress-wrapper.svelte-39uvmc{margin-top:calc(0.0178125 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-progress-wrapper.svelte-39uvmc{margin-top:calc(0.0217708333 * 100vw + 0px)}}.vip-improvement__body-progress-wrapper-title.svelte-39uvmc{color:#FFFFFF;font-family:\"GothamPro-Light\";font-size:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-progress-wrapper-title.svelte-39uvmc{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-progress-wrapper-title.svelte-39uvmc{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-progress-wrapper-title.svelte-39uvmc{font-size:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-progress-wrapper-title.svelte-39uvmc{font-size:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-progress-wrapper-title.svelte-39uvmc{font-size:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-progress-wrapper-title.svelte-39uvmc{font-size:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-progress-wrapper-title.svelte-39uvmc{font-size:calc(0.0171875 * 100vw + 0px)}}.vip-improvement__body-progress-wrapper-title--bold.svelte-39uvmc{font-family:\"GothamPro-Medium\"}.vip-improvement__body-progress.svelte-39uvmc{display:flex;align-items:center;position:relative;background-color:rgba(255, 255, 255, 0.2);overflow:hidden;margin-top:calc(0.0135416667 * 100vw + 0px);width:calc(0.6104166667 * 100vw + 0px);height:calc(0.0052083333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-progress.svelte-39uvmc{margin-top:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-progress.svelte-39uvmc{margin-top:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-progress.svelte-39uvmc{margin-top:calc(0.0104270833 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-progress.svelte-39uvmc{margin-top:calc(0.0148958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-progress.svelte-39uvmc{margin-top:calc(0.0094791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-progress.svelte-39uvmc{margin-top:calc(0.0121875 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-progress.svelte-39uvmc{margin-top:calc(0.0148958333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-progress.svelte-39uvmc{width:calc(0.6104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-progress.svelte-39uvmc{width:calc(0.6104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-progress.svelte-39uvmc{width:calc(0.4700208333 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-progress.svelte-39uvmc{width:calc(0.6714583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-progress.svelte-39uvmc{width:calc(0.4272916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-progress.svelte-39uvmc{width:calc(0.549375 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-progress.svelte-39uvmc{width:calc(0.6714583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-progress.svelte-39uvmc{height:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-progress.svelte-39uvmc{height:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-progress.svelte-39uvmc{height:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-progress.svelte-39uvmc{height:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-progress.svelte-39uvmc{height:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-progress.svelte-39uvmc{height:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-progress.svelte-39uvmc{height:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-progress.svelte-39uvmc{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-progress.svelte-39uvmc{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-progress.svelte-39uvmc{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-progress.svelte-39uvmc{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-progress.svelte-39uvmc{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-progress.svelte-39uvmc{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-progress.svelte-39uvmc{border-radius:calc(0.0057291667 * 100vw + 0px)}}.vip-improvement__body-progress-value.svelte-39uvmc{background-color:#F2C94C;position:absolute;left:0;height:100%;width:0;transition:width var(--transition-duration) linear}.vip-improvement__body-materials-list.svelte-39uvmc{display:flex;gap:calc(0.0416666667 * 100vw + 0px);margin-top:calc(0.0197916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-materials-list.svelte-39uvmc{gap:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-materials-list.svelte-39uvmc{gap:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-materials-list.svelte-39uvmc{gap:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-materials-list.svelte-39uvmc{gap:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-materials-list.svelte-39uvmc{gap:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-materials-list.svelte-39uvmc{gap:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-materials-list.svelte-39uvmc{gap:calc(0.0458333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-materials-list.svelte-39uvmc{margin-top:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-materials-list.svelte-39uvmc{margin-top:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-materials-list.svelte-39uvmc{margin-top:calc(0.0152395833 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-materials-list.svelte-39uvmc{margin-top:calc(0.0217708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-materials-list.svelte-39uvmc{margin-top:calc(0.0138541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-materials-list.svelte-39uvmc{margin-top:calc(0.0178125 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-materials-list.svelte-39uvmc{margin-top:calc(0.0217708333 * 100vw + 0px)}}.vip-improvement__body-materials-item.svelte-39uvmc{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;border:1px solid rgba(255, 255, 255, 0.1);border-radius:calc(0.0083333333 * 100vw + 0px);width:calc(0.1213541667 * 100vw + 0px);height:calc(0.1046875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-materials-item.svelte-39uvmc{border-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-materials-item.svelte-39uvmc{border-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-materials-item.svelte-39uvmc{border-radius:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-materials-item.svelte-39uvmc{border-radius:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-materials-item.svelte-39uvmc{border-radius:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-materials-item.svelte-39uvmc{border-radius:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-materials-item.svelte-39uvmc{border-radius:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-materials-item.svelte-39uvmc{width:calc(0.1213541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-materials-item.svelte-39uvmc{width:calc(0.1213541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-materials-item.svelte-39uvmc{width:calc(0.0934427083 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-materials-item.svelte-39uvmc{width:calc(0.1334895833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-materials-item.svelte-39uvmc{width:calc(0.0849479167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-materials-item.svelte-39uvmc{width:calc(0.10921875 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-materials-item.svelte-39uvmc{width:calc(0.1334895833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-materials-item.svelte-39uvmc{height:calc(0.1046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-materials-item.svelte-39uvmc{height:calc(0.1046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-materials-item.svelte-39uvmc{height:calc(0.080609375 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-materials-item.svelte-39uvmc{height:calc(0.11515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-materials-item.svelte-39uvmc{height:calc(0.07328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-materials-item.svelte-39uvmc{height:calc(0.09421875 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-materials-item.svelte-39uvmc{height:calc(0.11515625 * 100vw + 0px)}}.vip-improvement__body-materials-item--littleMaterials.svelte-39uvmc{box-shadow:0px 0px 54px 0px rgba(221, 0, 0, 0.3), inset 0px 0px 54px 10px rgba(221, 0, 0, 0.3);border-color:rgba(221, 0, 0, 0.3)}.vip-improvement__body-materials-item-img.svelte-39uvmc{height:calc(0.0572916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-materials-item-img.svelte-39uvmc{height:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-materials-item-img.svelte-39uvmc{height:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-materials-item-img.svelte-39uvmc{height:calc(0.0441145833 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-materials-item-img.svelte-39uvmc{height:calc(0.0630208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-materials-item-img.svelte-39uvmc{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-materials-item-img.svelte-39uvmc{height:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-materials-item-img.svelte-39uvmc{height:calc(0.0630208333 * 100vw + 0px)}}.vip-improvement__body-materials-item-title.svelte-39uvmc{position:absolute;color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.0072916667 * 100vw + 0px);top:calc(0.0088541667 * 100vw + 0px);left:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-materials-item-title.svelte-39uvmc{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-materials-item-title.svelte-39uvmc{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-materials-item-title.svelte-39uvmc{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-materials-item-title.svelte-39uvmc{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-materials-item-title.svelte-39uvmc{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-materials-item-title.svelte-39uvmc{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-materials-item-title.svelte-39uvmc{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-materials-item-title.svelte-39uvmc{top:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-materials-item-title.svelte-39uvmc{top:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-materials-item-title.svelte-39uvmc{top:calc(0.0068177083 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-materials-item-title.svelte-39uvmc{top:calc(0.0097395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-materials-item-title.svelte-39uvmc{top:calc(0.0061979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-materials-item-title.svelte-39uvmc{top:calc(0.00796875 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-materials-item-title.svelte-39uvmc{top:calc(0.0097395833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-materials-item-title.svelte-39uvmc{left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-materials-item-title.svelte-39uvmc{left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-materials-item-title.svelte-39uvmc{left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-materials-item-title.svelte-39uvmc{left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-materials-item-title.svelte-39uvmc{left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-materials-item-title.svelte-39uvmc{left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-materials-item-title.svelte-39uvmc{left:calc(0.0114583333 * 100vw + 0px)}}.vip-improvement__body-materials-item-value.svelte-39uvmc{position:absolute;color:#FFFFFF;font-family:\"GothamPro-Bold\";font-size:calc(0.0104166667 * 100vw + 0px);right:calc(0.0125 * 100vw + 0px);bottom:calc(0.0067708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-materials-item-value.svelte-39uvmc{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-materials-item-value.svelte-39uvmc{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-materials-item-value.svelte-39uvmc{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-materials-item-value.svelte-39uvmc{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-materials-item-value.svelte-39uvmc{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-materials-item-value.svelte-39uvmc{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-materials-item-value.svelte-39uvmc{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-materials-item-value.svelte-39uvmc{right:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-materials-item-value.svelte-39uvmc{right:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-materials-item-value.svelte-39uvmc{right:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-materials-item-value.svelte-39uvmc{right:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-materials-item-value.svelte-39uvmc{right:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-materials-item-value.svelte-39uvmc{right:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-materials-item-value.svelte-39uvmc{right:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-materials-item-value.svelte-39uvmc{bottom:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-materials-item-value.svelte-39uvmc{bottom:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-materials-item-value.svelte-39uvmc{bottom:calc(0.0052135417 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-materials-item-value.svelte-39uvmc{bottom:calc(0.0074479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-materials-item-value.svelte-39uvmc{bottom:calc(0.0047395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-materials-item-value.svelte-39uvmc{bottom:calc(0.00609375 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-materials-item-value.svelte-39uvmc{bottom:calc(0.0074479167 * 100vw + 0px)}}.vip-improvement__body-button.svelte-39uvmc{display:flex;justify-content:center;align-items:center;background-color:#F2C94C;transition:transform 0.2s linear;animation:svelte-39uvmc-disabledButton var(--duration-anim) linear 1;cursor:pointer;border-radius:calc(0.0109375 * 100vw + 0px);width:calc(0.1479166667 * 100vw + 0px);height:calc(0.0338541667 * 100vw + 0px);margin-top:calc(0.015625 * 100vw + 0px);margin-bottom:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-button.svelte-39uvmc{border-radius:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-button.svelte-39uvmc{border-radius:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-button.svelte-39uvmc{border-radius:calc(0.008421875 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-button.svelte-39uvmc{border-radius:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-button.svelte-39uvmc{border-radius:calc(0.00765625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-button.svelte-39uvmc{border-radius:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-button.svelte-39uvmc{border-radius:calc(0.01203125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-button.svelte-39uvmc{width:calc(0.1479166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-button.svelte-39uvmc{width:calc(0.1479166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-button.svelte-39uvmc{width:calc(0.1138958333 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-button.svelte-39uvmc{width:calc(0.1627083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-button.svelte-39uvmc{width:calc(0.1035416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-button.svelte-39uvmc{width:calc(0.133125 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-button.svelte-39uvmc{width:calc(0.1627083333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-button.svelte-39uvmc{height:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-button.svelte-39uvmc{height:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-button.svelte-39uvmc{height:calc(0.0260677083 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-button.svelte-39uvmc{height:calc(0.0372395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-button.svelte-39uvmc{height:calc(0.0236979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-button.svelte-39uvmc{height:calc(0.03046875 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-button.svelte-39uvmc{height:calc(0.0372395833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-button.svelte-39uvmc{margin-top:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-button.svelte-39uvmc{margin-top:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-button.svelte-39uvmc{margin-top:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-button.svelte-39uvmc{margin-top:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-button.svelte-39uvmc{margin-top:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-button.svelte-39uvmc{margin-top:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-button.svelte-39uvmc{margin-top:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-button.svelte-39uvmc{margin-bottom:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-button.svelte-39uvmc{margin-bottom:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-button.svelte-39uvmc{margin-bottom:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-button.svelte-39uvmc{margin-bottom:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-button.svelte-39uvmc{margin-bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-button.svelte-39uvmc{margin-bottom:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-button.svelte-39uvmc{margin-bottom:calc(0.0171875 * 100vw + 0px)}}.vip-improvement__body-button.svelte-39uvmc:hover{transform:scale(1.05)}.vip-improvement__body-button--disabled.svelte-39uvmc{pointer-events:none}.vip-improvement__body-button-title.svelte-39uvmc{color:#2B3037;font-family:\"GothamPro-Medium\";font-size:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.vip-improvement__body-button-title.svelte-39uvmc{font-size:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.vip-improvement__body-button-title.svelte-39uvmc{font-size:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.vip-improvement__body-button-title.svelte-39uvmc{font-size:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.vip-improvement__body-button-title.svelte-39uvmc{font-size:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.vip-improvement__body-button-title.svelte-39uvmc{font-size:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.vip-improvement__body-button-title.svelte-39uvmc{font-size:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.vip-improvement__body-button-title.svelte-39uvmc{font-size:calc(0.0143229167 * 100vw + 0px)}}@keyframes svelte-39uvmc-disabledButton{0%{pointer-events:none}100%{pointer-events:auto}}");
}

function vip_improvement_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[12] = list[i];
	return child_ctx;
}

// (2116:12) {#each materials as material}
function vip_improvement_index_svelte_create_each_block(ctx) {
	let div;
	let p0;
	let t0_value = /*material*/ ctx[12].title + "";
	let t0;
	let t1;
	let img;
	let img_src_value;
	let t2;
	let p1;
	let t3_value = /*material*/ ctx[12].number + "";
	let t3;
	let t4;
	let t5_value = /*material*/ ctx[12].maxNumber + "";
	let t5;
	let t6;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[6](/*material*/ ctx[12]);
	}

	return {
		c() {
			div = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			img = internal_element("img");
			t2 = space();
			p1 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = internal_text("/");
			t5 = internal_text(t5_value);
			t6 = space();
			attr(p0, "class", "vip-improvement__body-materials-item-title svelte-39uvmc");
			attr(img, "class", "vip-improvement__body-materials-item-img svelte-39uvmc");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*material*/ ctx[12].image}`)) attr(img, "src", img_src_value);
			attr(img, "alt", "materials-img");
			attr(p1, "class", "vip-improvement__body-materials-item-value svelte-39uvmc");
			attr(div, "class", "vip-improvement__body-materials-item svelte-39uvmc");
			toggle_class(div, "vip-improvement__body-materials-item--littleMaterials", /*material*/ ctx[12].number !== /*material*/ ctx[12].maxNumber);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p0);
			append(p0, t0);
			append(div, t1);
			append(div, img);
			append(div, t2);
			append(div, p1);
			append(p1, t3);
			append(p1, t4);
			append(p1, t5);
			append(div, t6);

			if (!mounted) {
				dispose = listen(div, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if (dirty & /*materials*/ 2 && t0_value !== (t0_value = /*material*/ ctx[12].title + "")) set_data(t0, t0_value);

			if (dirty & /*materials*/ 2 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*material*/ ctx[12].image}`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*materials*/ 2 && t3_value !== (t3_value = /*material*/ ctx[12].number + "")) set_data(t3, t3_value);
			if (dirty & /*materials*/ 2 && t5_value !== (t5_value = /*material*/ ctx[12].maxNumber + "")) set_data(t5, t5_value);

			if (dirty & /*materials*/ 2) {
				toggle_class(div, "vip-improvement__body-materials-item--littleMaterials", /*material*/ ctx[12].number !== /*material*/ ctx[12].maxNumber);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

function vip_improvement_index_svelte_create_fragment(ctx) {
	let div10;
	let div9;
	let img0;
	let img0_src_value;
	let t0;
	let div0;
	let t1;
	let p0;
	let t5;
	let div3;
	let div1;
	let p1;
	let t7;
	let p2;
	let t8_value = /*currentInformation*/ ctx[0].level + "";
	let t8;
	let t9;
	let img1;
	let img1_src_value;
	let t10;
	let img2;
	let img2_src_value;
	let t11;
	let img3;
	let img3_src_value;
	let t12;
	let div2;
	let p3;
	let t14;
	let p4;
	let t15_value = /*currentInformation*/ ctx[0].level + 1 + "";
	let t15;
	let t16;
	let img4;
	let img4_src_value;
	let t17;
	let div6;
	let p5;
	let t18;
	let span1;
	let t19_value = /*currentInformation*/ ctx[0].chance + "";
	let t19;
	let t20;
	let t21;
	let div5;
	let div4;
	let div4_style_value;
	let t22;
	let div7;
	let t23;
	let div8;
	let mounted;
	let dispose;
	let each_value = /*materials*/ ctx[1];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = vip_improvement_index_svelte_create_each_block(vip_improvement_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div10 = internal_element("div");
			div9 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			div0 = internal_element("div");
			div0.innerHTML = `<i class="vip-improvement__body-button-exit-icon icon-close svelte-39uvmc"></i>`;
			t1 = space();
			p0 = internal_element("p");

			p0.innerHTML = `Улучшение
            <span class="vip-improvement__body-title--bold svelte-39uvmc">PREMIUM</span>
            VIP`;

			t5 = space();
			div3 = internal_element("div");
			div1 = internal_element("div");
			p1 = internal_element("p");
			p1.textContent = "Ур. PREMIUM VIP";
			t7 = space();
			p2 = internal_element("p");
			t8 = internal_text(t8_value);
			t9 = space();
			img1 = internal_element("img");
			t10 = space();
			img2 = internal_element("img");
			t11 = space();
			img3 = internal_element("img");
			t12 = space();
			div2 = internal_element("div");
			p3 = internal_element("p");
			p3.textContent = "Ур. PREMIUM VIP";
			t14 = space();
			p4 = internal_element("p");
			t15 = internal_text(t15_value);
			t16 = space();
			img4 = internal_element("img");
			t17 = space();
			div6 = internal_element("div");
			p5 = internal_element("p");
			t18 = internal_text("Шанс:\r\n                ");
			span1 = internal_element("span");
			t19 = internal_text(t19_value);
			t20 = internal_text("%");
			t21 = space();
			div5 = internal_element("div");
			div4 = internal_element("div");
			t22 = space();
			div7 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t23 = space();
			div8 = internal_element("div");
			div8.innerHTML = `<p class="vip-improvement__body-button-title svelte-39uvmc">Улучшить</p>`;
			attr(img0, "class", "vip-improvement__body-background svelte-39uvmc");
			if (!src_url_equal(img0.src, img0_src_value = vip_improvement_img_background_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "background-img");
			attr(div0, "class", "vip-improvement__body-button-exit svelte-39uvmc");
			attr(p0, "class", "vip-improvement__body-title svelte-39uvmc");
			attr(p1, "class", "vip-improvement__body-lvl-title svelte-39uvmc");
			attr(p2, "class", "vip-improvement__body-lvl-value svelte-39uvmc");
			attr(img1, "class", "vip-improvement__body-lvl-lines-img svelte-39uvmc");
			if (!src_url_equal(img1.src, img1_src_value = lines_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "lines-img");
			attr(img2, "class", "vip-improvement__body-lvl-crown-img svelte-39uvmc");
			if (!src_url_equal(img2.src, img2_src_value = crown_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "crown-img");
			attr(div1, "class", "vip-improvement__body-lvl svelte-39uvmc");
			attr(img3, "class", "vip-improvement__body-lvl-wrapper-img svelte-39uvmc");
			if (!src_url_equal(img3.src, img3_src_value = vip_improvement_img_arrow_namespaceObject)) attr(img3, "src", img3_src_value);
			attr(img3, "alt", "arrow-img");
			attr(p3, "class", "vip-improvement__body-lvl-title svelte-39uvmc");
			attr(p4, "class", "vip-improvement__body-lvl-value svelte-39uvmc");
			attr(img4, "class", "vip-improvement__body-lvl-crown-img svelte-39uvmc");
			if (!src_url_equal(img4.src, img4_src_value = crown_namespaceObject)) attr(img4, "src", img4_src_value);
			attr(img4, "alt", "crown-img");
			attr(div2, "class", "vip-improvement__body-lvl svelte-39uvmc");
			attr(div3, "class", "vip-improvement__body-lvl-wrapper svelte-39uvmc");
			attr(span1, "class", "vip-improvement__body-progress-wrapper-title--bold svelte-39uvmc");
			attr(p5, "class", "vip-improvement__body-progress-wrapper-title svelte-39uvmc");
			attr(div4, "class", "vip-improvement__body-progress-value svelte-39uvmc");
			attr(div4, "style", div4_style_value = `--transition-duration: ${/*currentInformation*/ ctx[0].upgradeDuration}ms; width: ${/*upgradeStarted*/ ctx[2] ? '100%' : '0%'};`);
			attr(div5, "class", "vip-improvement__body-progress svelte-39uvmc");
			attr(div6, "class", "vip-improvement__body-progress-wrapper svelte-39uvmc");
			attr(div7, "class", "vip-improvement__body-materials-list svelte-39uvmc");
			attr(div8, "class", "vip-improvement__body-button svelte-39uvmc");
			toggle_class(div8, "vip-improvement__body-button--disabled", /*upgradeStarted*/ ctx[2] || !/*currentInformation*/ ctx[0].allIsFull);
			attr(div9, "class", "vip-improvement__body svelte-39uvmc");
			attr(div10, "class", "vip-improvement svelte-39uvmc");
		},
		m(target, anchor) {
			insert(target, div10, anchor);
			append(div10, div9);
			append(div9, img0);
			append(div9, t0);
			append(div9, div0);
			append(div9, t1);
			append(div9, p0);
			append(div9, t5);
			append(div9, div3);
			append(div3, div1);
			append(div1, p1);
			append(div1, t7);
			append(div1, p2);
			append(p2, t8);
			append(div1, t9);
			append(div1, img1);
			append(div1, t10);
			append(div1, img2);
			append(div3, t11);
			append(div3, img3);
			append(div3, t12);
			append(div3, div2);
			append(div2, p3);
			append(div2, t14);
			append(div2, p4);
			append(p4, t15);
			append(div2, t16);
			append(div2, img4);
			append(div9, t17);
			append(div9, div6);
			append(div6, p5);
			append(p5, t18);
			append(p5, span1);
			append(span1, t19);
			append(span1, t20);
			append(div6, t21);
			append(div6, div5);
			append(div5, div4);
			append(div9, t22);
			append(div9, div7);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div7, null);
			}

			append(div9, t23);
			append(div9, div8);

			if (!mounted) {
				dispose = [
					listen(div0, "click", /*close*/ ctx[5]),
					listen(div8, "click", /*startImprovement*/ ctx[3])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*currentInformation*/ 1 && t8_value !== (t8_value = /*currentInformation*/ ctx[0].level + "")) set_data(t8, t8_value);
			if (dirty & /*currentInformation*/ 1 && t15_value !== (t15_value = /*currentInformation*/ ctx[0].level + 1 + "")) set_data(t15, t15_value);
			if (dirty & /*currentInformation*/ 1 && t19_value !== (t19_value = /*currentInformation*/ ctx[0].chance + "")) set_data(t19, t19_value);

			if (dirty & /*currentInformation, upgradeStarted*/ 5 && div4_style_value !== (div4_style_value = `--transition-duration: ${/*currentInformation*/ ctx[0].upgradeDuration}ms; width: ${/*upgradeStarted*/ ctx[2] ? '100%' : '0%'};`)) {
				attr(div4, "style", div4_style_value);
			}

			if (dirty & /*materials, handleItemClick, CDN_URL_RODINA*/ 18) {
				each_value = /*materials*/ ctx[1];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = vip_improvement_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = vip_improvement_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div7, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if (dirty & /*upgradeStarted, currentInformation*/ 5) {
				toggle_class(div8, "vip-improvement__body-button--disabled", /*upgradeStarted*/ ctx[2] || !/*currentInformation*/ ctx[0].allIsFull);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div10);
			destroy_each(each_blocks, detaching);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function vip_improvement_index_svelte_instance($$self, $$props, $$invalidate) {
	let currentInformation = {};
	let materials = [];
	let upgradeStarted = false;
	let upgradeFinishIntervalId = null;

	const initCurrentInformation = currentInformationDto => {
		$$invalidate(0, currentInformation = currentInformationDto);
	};

	const initMaterials = materialsDto => {
		$$invalidate(1, materials = materialsDto);
	};

	const startImprovement = () => {
		if (upgradeStarted) {
			return;
		}

		$$invalidate(2, upgradeStarted = true);

		upgradeFinishIntervalId = setTimeout(
			() => {
				$$invalidate(2, upgradeStarted = false);
				const currentDuration = currentInformation.upgradeDuration;
				$$invalidate(0, currentInformation.upgradeDuration = 0, currentInformation);
				$$invalidate(0, currentInformation);

				setTimeout(
					() => {
						$$invalidate(0, currentInformation.upgradeDuration = currentDuration, currentInformation);
						$$invalidate(0, currentInformation);
						sendClientMessage('vip.improvement.upgradeFinished');
					},
					0
				);
			},
			currentInformation.upgradeDuration
		);

		sendClientMessage('vip.improvement.startImprovement');
	};

	const handleItemClick = itemId => {
		sendClientMessage('vip.improvement.showItemDetails', itemId);
	};

	const close = () => {
		sendClientMessage('vip.improvement.close');
	};

	const unregisterInitCurrentInformationEvent = registerEvent('event.vip.improvement.informationInit', initCurrentInformation);
	const unregisterInitMaterialsEvent = registerEvent('event.vip.improvement.materialsInit', initMaterials);

	onDestroy(() => {
		unregisterInitCurrentInformationEvent();
		unregisterInitMaterialsEvent();
		clearTimeout(upgradeFinishIntervalId);
	});

	const click_handler = material => handleItemClick(material.id);

	return [
		currentInformation,
		materials,
		upgradeStarted,
		startImprovement,
		handleItemClick,
		close,
		click_handler
	];
}

class Vip_improvement extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, vip_improvement_index_svelte_instance, vip_improvement_index_svelte_create_fragment, safe_not_equal, {}, vip_improvement_index_svelte_add_css);
	}
}

/* harmony default export */ const vip_improvement_index_svelte = (Vip_improvement);
;// CONCATENATED MODULE: ./src/views/business/constants.js
var _MAP_TYPE_TO_ICON;
function business_constants_typeof(o) { "@babel/helpers - typeof"; return business_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, business_constants_typeof(o); }
function business_constants_defineProperty(e, r, t) { return (r = business_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function business_constants_toPropertyKey(t) { var i = business_constants_toPrimitive(t, "string"); return "symbol" == business_constants_typeof(i) ? i : i + ""; }
function business_constants_toPrimitive(t, r) { if ("object" != business_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != business_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
var BusinessType = {
  Ammo: 'ammo',
  FuelStation: 'fuel-station',
  ElectronicsStore: 'electronics-store',
  ClothingWorkShop: 'clothing-workshop',
  AccessoriesStore: 'accessories-store',
  CarRent: 'car-rent',
  Bar: 'bar',
  ClothingShop: 'clothing-shop',
  ConvenienceStore: 'convenience-store',
  CarMarket: 'car-market',
  CarServiceLS: 'car-service-ls',
  CarServiceSF: 'car-service-sf',
  CarServiceLV: 'car-service-lv',
  CottonFarm: 'cotton-farm',
  Farm: 'farm',
  FoodStall: 'food-stall',
  OilRig: 'oil-rig',
  Container: 'container',
  DanceSchool: 'dance-school',
  Mine: 'mine',
  ConcertRoom: 'concert-room',
  PlaneBikeRent: 'plane-bike-rent',
  PawnShop: 'pawn-shop',
  FishingShop: 'fishing-shop',
  Cinema: 'cinema',
  InfoCenter: 'info-center',
  HorseRacing: 'horse-racing',
  Bookmaker: 'bookmaker',
  EconomCarShop: 'econom-car-shop',
  AverageCarShop: 'average-car-shop',
  LuxeCarShop: 'luxe-car-shop',
  StripClub: 'strip-club',
  SportPalace: 'sport-palace',
  TunningShopLS: 'tunning-shop-ls',
  TunningShopSF: 'tunning-shop-sf',
  TunningShopLV: 'tunning-shop-lv',
  Mechanics: 'mechanics',
  ADBanner: 'ad-banner',
  PhoneShop: 'phone-shop'
};
var MAP_TYPE_TO_ICON = (_MAP_TYPE_TO_ICON = {}, business_constants_defineProperty(business_constants_defineProperty(business_constants_defineProperty(business_constants_defineProperty(business_constants_defineProperty(business_constants_defineProperty(business_constants_defineProperty(business_constants_defineProperty(business_constants_defineProperty(business_constants_defineProperty(_MAP_TYPE_TO_ICON, BusinessType.Ammo, 'icon-ammo'), BusinessType.FuelStation, 'icon-fuel-station'), BusinessType.ElectronicsStore, 'icon-electronics-store'), BusinessType.ClothingWorkShop, 'icon-clothing-workshop'), BusinessType.AccessoriesStore, 'icon-accessories-store'), BusinessType.CarRent, 'icon-car-rent'), BusinessType.Bar, 'icon-bar'), BusinessType.ClothingShop, 'icon-clothing-shop'), BusinessType.ConvenienceStore, 'icon-convenience-store'), BusinessType.CarMarket, 'icon-car-market'), business_constants_defineProperty(business_constants_defineProperty(business_constants_defineProperty(business_constants_defineProperty(business_constants_defineProperty(business_constants_defineProperty(business_constants_defineProperty(business_constants_defineProperty(business_constants_defineProperty(business_constants_defineProperty(_MAP_TYPE_TO_ICON, BusinessType.CarServiceLS, 'icon-car-service-ls'), BusinessType.CarServiceSF, 'icon-car-service-sf'), BusinessType.CarServiceLV, 'icon-car-service-lv'), BusinessType.CottonFarm, 'icon-cotton-farm'), BusinessType.Farm, 'icon-farm'), BusinessType.FoodStall, 'icon-food-stall'), BusinessType.OilRig, 'icon-oil-rig'), BusinessType.Container, 'icon-container'), BusinessType.DanceSchool, 'icon-dance-school'), BusinessType.Mine, 'icon-mine'), business_constants_defineProperty(business_constants_defineProperty(business_constants_defineProperty(business_constants_defineProperty(business_constants_defineProperty(business_constants_defineProperty(business_constants_defineProperty(business_constants_defineProperty(business_constants_defineProperty(business_constants_defineProperty(_MAP_TYPE_TO_ICON, BusinessType.ConcertRoom, 'icon-concert-room'), BusinessType.PlaneBikeRent, 'icon-plane-bike-rent'), BusinessType.PawnShop, 'icon-pawn-shop'), BusinessType.FishingShop, 'icon-fishing-shop'), BusinessType.Cinema, 'icon-cinema'), BusinessType.InfoCenter, 'icon-info-center'), BusinessType.HorseRacing, 'icon-horse-racing'), BusinessType.Bookmaker, 'icon-bookmaker'), BusinessType.EconomCarShop, 'icon-econom-car-shop'), BusinessType.AverageCarShop, 'icon-average-car-shop'), business_constants_defineProperty(business_constants_defineProperty(business_constants_defineProperty(business_constants_defineProperty(business_constants_defineProperty(business_constants_defineProperty(business_constants_defineProperty(business_constants_defineProperty(business_constants_defineProperty(_MAP_TYPE_TO_ICON, BusinessType.LuxeCarShop, 'icon-luxe-car-shop'), BusinessType.StripClub, 'icon-strip-club'), BusinessType.SportPalace, 'icon-sport-palace'), BusinessType.TunningShopLS, 'icon-tunning-shop-ls'), BusinessType.TunningShopSF, 'icon-tunning-shop-sf'), BusinessType.TunningShopLV, 'icon-tunning-shop-lv'), BusinessType.Mechanics, 'icon-mechanics'), BusinessType.ADBanner, 'icon-ad-banner'), BusinessType.PhoneShop, 'icon-phone-shop'));
;// CONCATENATED MODULE: ./src/views/business/information/img/business-info-menu-logo.svg
const business_info_menu_logo_namespaceObject = __webpack_require__.p + "assets/a13dd71818a776cf27dc.svg";
;// CONCATENATED MODULE: ./src/views/business/information/index.svelte
/* src\views\business\information\index.svelte generated by Svelte v3.49.0 */











// import { BUSINESS_INFORMATION, MENU_MOCK } from './mocks';


function business_information_index_svelte_add_css(target) {
	append_styles(target, "svelte-c2na7y", "@keyframes svelte-c2na7y-blinking{50%{opacity:0}}@keyframes svelte-c2na7y-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-c2na7y-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-c2na7y-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-c2na7y-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-c2na7y-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-c2na7y-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-c2na7y-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-c2na7y-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-c2na7y-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-c2na7y-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-c2na7y-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-c2na7y-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-c2na7y-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-c2na7y-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.business-info.svelte-c2na7y.svelte-c2na7y{display:flex;width:100vw;height:100vh;background:radial-gradient(50% 50% at 50% 50%, rgba(19, 21, 22, 0) 0%, rgba(19, 21, 22, 0.75) 100%), rgba(19, 21, 22, 0.9)}.business-info__menu.svelte-c2na7y.svelte-c2na7y{display:flex;flex-direction:column;height:100%;background-color:#111111;width:calc(0.1875 * 100vw + 0px);border-top-right-radius:calc(0.0130208333 * 100vw + 0px);border-bottom-right-radius:calc(0.0130208333 * 100vw + 0px);padding-top:calc(0.0229166667 * 100vw + 0px);padding-left:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu.svelte-c2na7y.svelte-c2na7y{width:calc(0.1875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu.svelte-c2na7y.svelte-c2na7y{width:calc(0.1875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu.svelte-c2na7y.svelte-c2na7y{width:calc(0.144375 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu.svelte-c2na7y.svelte-c2na7y{width:calc(0.20625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu.svelte-c2na7y.svelte-c2na7y{width:calc(0.13125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu.svelte-c2na7y.svelte-c2na7y{width:calc(0.16875 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu.svelte-c2na7y.svelte-c2na7y{width:calc(0.20625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu.svelte-c2na7y.svelte-c2na7y{border-top-right-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu.svelte-c2na7y.svelte-c2na7y{border-top-right-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu.svelte-c2na7y.svelte-c2na7y{border-top-right-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu.svelte-c2na7y.svelte-c2na7y{border-top-right-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu.svelte-c2na7y.svelte-c2na7y{border-top-right-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu.svelte-c2na7y.svelte-c2na7y{border-top-right-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu.svelte-c2na7y.svelte-c2na7y{border-top-right-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu.svelte-c2na7y.svelte-c2na7y{border-bottom-right-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu.svelte-c2na7y.svelte-c2na7y{border-bottom-right-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu.svelte-c2na7y.svelte-c2na7y{border-bottom-right-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu.svelte-c2na7y.svelte-c2na7y{border-bottom-right-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu.svelte-c2na7y.svelte-c2na7y{border-bottom-right-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu.svelte-c2na7y.svelte-c2na7y{border-bottom-right-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu.svelte-c2na7y.svelte-c2na7y{border-bottom-right-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu.svelte-c2na7y.svelte-c2na7y{padding-top:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu.svelte-c2na7y.svelte-c2na7y{padding-top:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu.svelte-c2na7y.svelte-c2na7y{padding-top:calc(0.0176458333 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu.svelte-c2na7y.svelte-c2na7y{padding-top:calc(0.0252083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu.svelte-c2na7y.svelte-c2na7y{padding-top:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu.svelte-c2na7y.svelte-c2na7y{padding-top:calc(0.020625 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu.svelte-c2na7y.svelte-c2na7y{padding-top:calc(0.0252083333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu.svelte-c2na7y.svelte-c2na7y{padding-left:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu.svelte-c2na7y.svelte-c2na7y{padding-left:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu.svelte-c2na7y.svelte-c2na7y{padding-left:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu.svelte-c2na7y.svelte-c2na7y{padding-left:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu.svelte-c2na7y.svelte-c2na7y{padding-left:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu.svelte-c2na7y.svelte-c2na7y{padding-left:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu.svelte-c2na7y.svelte-c2na7y{padding-left:calc(0.0171875 * 100vw + 0px)}}.business-info__menu-logo.svelte-c2na7y.svelte-c2na7y{width:calc(0.0567708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu-logo.svelte-c2na7y.svelte-c2na7y{width:calc(0.0567708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu-logo.svelte-c2na7y.svelte-c2na7y{width:calc(0.0567708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu-logo.svelte-c2na7y.svelte-c2na7y{width:calc(0.0437135417 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu-logo.svelte-c2na7y.svelte-c2na7y{width:calc(0.0624479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu-logo.svelte-c2na7y.svelte-c2na7y{width:calc(0.0397395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu-logo.svelte-c2na7y.svelte-c2na7y{width:calc(0.05109375 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu-logo.svelte-c2na7y.svelte-c2na7y{width:calc(0.0624479167 * 100vw + 0px)}}.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{display:flex;flex-direction:column;justify-content:center;background:linear-gradient(270deg, rgba(96, 202, 93, 0.15) 0%, rgba(96, 202, 93, 0.65) 100%);border-radius:calc(0.0130208333 * 100vw + 0px);width:calc(0.15625 * 100vw + 0px);height:calc(0.078125 * 100vw + 0px);margin-top:calc(0.0229166667 * 100vw + 0px);padding-top:calc(0.009375 * 100vw + 0px);padding-bottom:calc(0.009375 * 100vw + 0px);padding-left:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{width:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{width:calc(0.171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{width:calc(0.109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{width:calc(0.140625 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{width:calc(0.171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{height:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{height:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{height:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{height:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{height:calc(0.0859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0176458333 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0252083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.020625 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0252083333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{padding-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{padding-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{padding-top:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{padding-top:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{padding-top:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{padding-top:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{padding-top:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{padding-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{padding-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{padding-bottom:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{padding-bottom:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{padding-bottom:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{padding-bottom:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{padding-bottom:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu-money.svelte-c2na7y.svelte-c2na7y{padding-left:calc(0.0143229167 * 100vw + 0px)}}.business-info__menu-money-title.svelte-c2na7y.svelte-c2na7y{color:#FFFFFF;font-family:\"GothamPro-Medium\";font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu-money-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu-money-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu-money-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu-money-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu-money-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu-money-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu-money-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0114583333 * 100vw + 0px)}}.business-info__menu-money-value.svelte-c2na7y.svelte-c2na7y{color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.0145833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu-money-value.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu-money-value.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu-money-value.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu-money-value.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu-money-value.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu-money-value.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu-money-value.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0160416667 * 100vw + 0px)}}.business-info__menu-money-value--small.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu-money-value--small.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu-money-value--small.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu-money-value--small.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu-money-value--small.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu-money-value--small.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu-money-value--small.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu-money-value--small.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.01375 * 100vw + 0px)}}.business-info__menu-money-buttons.svelte-c2na7y.svelte-c2na7y{display:flex;gap:calc(0.0052083333 * 100vw + 0px);margin-top:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu-money-buttons.svelte-c2na7y.svelte-c2na7y{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu-money-buttons.svelte-c2na7y.svelte-c2na7y{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu-money-buttons.svelte-c2na7y.svelte-c2na7y{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu-money-buttons.svelte-c2na7y.svelte-c2na7y{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu-money-buttons.svelte-c2na7y.svelte-c2na7y{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu-money-buttons.svelte-c2na7y.svelte-c2na7y{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu-money-buttons.svelte-c2na7y.svelte-c2na7y{gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu-money-buttons.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu-money-buttons.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu-money-buttons.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu-money-buttons.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu-money-buttons.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu-money-buttons.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu-money-buttons.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0057291667 * 100vw + 0px)}}.business-info__menu-money-button.svelte-c2na7y.svelte-c2na7y{display:flex;align-items:center;justify-content:center;background-color:#60CA5D;cursor:pointer;transition:box-shadow 0.2s, background-color 0.2s linear;border-radius:calc(0.0026041667 * 100vw + 0px);width:calc(0.0598958333 * 100vw + 0px);height:calc(0.0177083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu-money-button.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu-money-button.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu-money-button.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu-money-button.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu-money-button.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu-money-button.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu-money-button.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu-money-button.svelte-c2na7y.svelte-c2na7y{width:calc(0.0598958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu-money-button.svelte-c2na7y.svelte-c2na7y{width:calc(0.0598958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu-money-button.svelte-c2na7y.svelte-c2na7y{width:calc(0.0461197917 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu-money-button.svelte-c2na7y.svelte-c2na7y{width:calc(0.0658854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu-money-button.svelte-c2na7y.svelte-c2na7y{width:calc(0.0419270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu-money-button.svelte-c2na7y.svelte-c2na7y{width:calc(0.05390625 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu-money-button.svelte-c2na7y.svelte-c2na7y{width:calc(0.0658854167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu-money-button.svelte-c2na7y.svelte-c2na7y{height:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu-money-button.svelte-c2na7y.svelte-c2na7y{height:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu-money-button.svelte-c2na7y.svelte-c2na7y{height:calc(0.0136354167 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu-money-button.svelte-c2na7y.svelte-c2na7y{height:calc(0.0194791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu-money-button.svelte-c2na7y.svelte-c2na7y{height:calc(0.0123958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu-money-button.svelte-c2na7y.svelte-c2na7y{height:calc(0.0159375 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu-money-button.svelte-c2na7y.svelte-c2na7y{height:calc(0.0194791667 * 100vw + 0px)}}.business-info__menu-money-button.svelte-c2na7y.svelte-c2na7y:hover{background:#60CA5D;box-shadow:0 0 25px 0 rgba(96, 202, 93, 0.5);border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu-money-button.svelte-c2na7y.svelte-c2na7y:hover{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu-money-button.svelte-c2na7y.svelte-c2na7y:hover{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu-money-button.svelte-c2na7y.svelte-c2na7y:hover{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu-money-button.svelte-c2na7y.svelte-c2na7y:hover{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu-money-button.svelte-c2na7y.svelte-c2na7y:hover{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu-money-button.svelte-c2na7y.svelte-c2na7y:hover{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu-money-button.svelte-c2na7y.svelte-c2na7y:hover{border-radius:calc(0.0028645833 * 100vw + 0px)}}.business-info__menu-money-button--small.svelte-c2na7y.svelte-c2na7y{background-color:rgba(255, 255, 255, 0.15);width:calc(0.0489583333 * 100vw + 0px);height:calc(0.0177083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu-money-button--small.svelte-c2na7y.svelte-c2na7y{width:calc(0.0489583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu-money-button--small.svelte-c2na7y.svelte-c2na7y{width:calc(0.0489583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu-money-button--small.svelte-c2na7y.svelte-c2na7y{width:calc(0.0376979167 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu-money-button--small.svelte-c2na7y.svelte-c2na7y{width:calc(0.0538541667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu-money-button--small.svelte-c2na7y.svelte-c2na7y{width:calc(0.0342708333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu-money-button--small.svelte-c2na7y.svelte-c2na7y{width:calc(0.0440625 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu-money-button--small.svelte-c2na7y.svelte-c2na7y{width:calc(0.0538541667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu-money-button--small.svelte-c2na7y.svelte-c2na7y{height:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu-money-button--small.svelte-c2na7y.svelte-c2na7y{height:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu-money-button--small.svelte-c2na7y.svelte-c2na7y{height:calc(0.0136354167 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu-money-button--small.svelte-c2na7y.svelte-c2na7y{height:calc(0.0194791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu-money-button--small.svelte-c2na7y.svelte-c2na7y{height:calc(0.0123958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu-money-button--small.svelte-c2na7y.svelte-c2na7y{height:calc(0.0159375 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu-money-button--small.svelte-c2na7y.svelte-c2na7y{height:calc(0.0194791667 * 100vw + 0px)}}.business-info__menu-money-button--small.svelte-c2na7y .business-info__menu-money-button-title.svelte-c2na7y{color:#FFFFFF}.business-info__menu-money-button--small.svelte-c2na7y.svelte-c2na7y:hover{background-color:#FFFFFF;box-shadow:0 0 25px 0 rgba(255, 255, 255, 0.35);border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu-money-button--small.svelte-c2na7y.svelte-c2na7y:hover{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu-money-button--small.svelte-c2na7y.svelte-c2na7y:hover{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu-money-button--small.svelte-c2na7y.svelte-c2na7y:hover{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu-money-button--small.svelte-c2na7y.svelte-c2na7y:hover{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu-money-button--small.svelte-c2na7y.svelte-c2na7y:hover{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu-money-button--small.svelte-c2na7y.svelte-c2na7y:hover{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu-money-button--small.svelte-c2na7y.svelte-c2na7y:hover{border-radius:calc(0.0028645833 * 100vw + 0px)}}.business-info__menu-money-button--small.svelte-c2na7y:hover .business-info__menu-money-button-title.svelte-c2na7y{color:#111111}.business-info__menu-money-button-title.svelte-c2na7y.svelte-c2na7y{color:#111111;font-family:\"GothamPro\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu-money-button-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu-money-button-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu-money-button-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu-money-button-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu-money-button-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu-money-button-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu-money-button-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.006875 * 100vw + 0px)}}.business-info__menu-title.svelte-c2na7y.svelte-c2na7y{color:#FFFFFF;font-family:\"Inter\";font-size:calc(0.0125 * 100vw + 0px);margin-top:calc(0.0260416667 * 100vw + 0px);margin-bottom:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu-title.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu-title.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu-title.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu-title.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu-title.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu-title.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu-title.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu-title.svelte-c2na7y.svelte-c2na7y{margin-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu-title.svelte-c2na7y.svelte-c2na7y{margin-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu-title.svelte-c2na7y.svelte-c2na7y{margin-bottom:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu-title.svelte-c2na7y.svelte-c2na7y{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu-title.svelte-c2na7y.svelte-c2na7y{margin-bottom:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu-title.svelte-c2na7y.svelte-c2na7y{margin-bottom:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu-title.svelte-c2na7y.svelte-c2na7y{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}.business-info__menu-item-wrapper.svelte-c2na7y.svelte-c2na7y{overflow:auto;height:calc(0.3489583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu-item-wrapper.svelte-c2na7y.svelte-c2na7y{height:calc(0.3489583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu-item-wrapper.svelte-c2na7y.svelte-c2na7y{height:calc(0.3489583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu-item-wrapper.svelte-c2na7y.svelte-c2na7y{height:calc(0.2686979167 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu-item-wrapper.svelte-c2na7y.svelte-c2na7y{height:calc(0.3838541667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu-item-wrapper.svelte-c2na7y.svelte-c2na7y{height:calc(0.2442708333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu-item-wrapper.svelte-c2na7y.svelte-c2na7y{height:calc(0.3140625 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu-item-wrapper.svelte-c2na7y.svelte-c2na7y{height:calc(0.3838541667 * 100vw + 0px)}}.business-info__menu-item-wrapper.svelte-c2na7y.svelte-c2na7y::-webkit-scrollbar{display:none}.business-info__menu-item.svelte-c2na7y.svelte-c2na7y{cursor:pointer}.business-info__menu-item.svelte-c2na7y:hover .business-info__menu-item-title.svelte-c2na7y,.business-info__menu-item--opened.svelte-c2na7y .business-info__menu-item-title.svelte-c2na7y{color:#FFFFFF}.business-info__menu-item.svelte-c2na7y:hover .business-info__menu-item-title-icon.svelte-c2na7y,.business-info__menu-item--opened.svelte-c2na7y .business-info__menu-item-title-icon.svelte-c2na7y{color:#FFFFFF}.business-info__menu-item--opened.svelte-c2na7y .business-info__menu-item-title-icon.svelte-c2na7y{transform:rotate(180deg)}.business-info__menu-item-title-icon-wrapper.svelte-c2na7y.svelte-c2na7y{display:flex;align-items:center}.business-info__menu-item-title.svelte-c2na7y.svelte-c2na7y{display:flex;align-items:center;color:#999999;font-family:\"Inter\";transition:color 0.2s linear;font-size:calc(0.0083333333 * 100vw + 0px);width:calc(0.1484375 * 100vw + 0px);height:calc(0.0338541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu-item-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu-item-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu-item-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu-item-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu-item-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu-item-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu-item-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu-item-title.svelte-c2na7y.svelte-c2na7y{width:calc(0.1484375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu-item-title.svelte-c2na7y.svelte-c2na7y{width:calc(0.1484375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu-item-title.svelte-c2na7y.svelte-c2na7y{width:calc(0.114296875 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu-item-title.svelte-c2na7y.svelte-c2na7y{width:calc(0.16328125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu-item-title.svelte-c2na7y.svelte-c2na7y{width:calc(0.10390625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu-item-title.svelte-c2na7y.svelte-c2na7y{width:calc(0.13359375 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu-item-title.svelte-c2na7y.svelte-c2na7y{width:calc(0.16328125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu-item-title.svelte-c2na7y.svelte-c2na7y{height:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu-item-title.svelte-c2na7y.svelte-c2na7y{height:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu-item-title.svelte-c2na7y.svelte-c2na7y{height:calc(0.0260677083 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu-item-title.svelte-c2na7y.svelte-c2na7y{height:calc(0.0372395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu-item-title.svelte-c2na7y.svelte-c2na7y{height:calc(0.0236979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu-item-title.svelte-c2na7y.svelte-c2na7y{height:calc(0.03046875 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu-item-title.svelte-c2na7y.svelte-c2na7y{height:calc(0.0372395833 * 100vw + 0px)}}.business-info__menu-item-title-icon.svelte-c2na7y.svelte-c2na7y{color:#999999;transition:color 0.2s linear;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu-item-title-icon.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu-item-title-icon.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu-item-title-icon.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu-item-title-icon.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu-item-title-icon.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu-item-title-icon.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu-item-title-icon.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0091666667 * 100vw + 0px)}}.business-info__menu-item-subitem.svelte-c2na7y.svelte-c2na7y{display:flex;align-items:center;border-left:1px solid #1B1B1B;transition:border-left-color 0.2s linear;cursor:pointer;padding-left:calc(0.015625 * 100vw + 0px);margin-left:calc(0.0067708333 * 100vw + 0px);width:calc(0.1432291667 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu-item-subitem.svelte-c2na7y.svelte-c2na7y{padding-left:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu-item-subitem.svelte-c2na7y.svelte-c2na7y{padding-left:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu-item-subitem.svelte-c2na7y.svelte-c2na7y{padding-left:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu-item-subitem.svelte-c2na7y.svelte-c2na7y{padding-left:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu-item-subitem.svelte-c2na7y.svelte-c2na7y{padding-left:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu-item-subitem.svelte-c2na7y.svelte-c2na7y{padding-left:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu-item-subitem.svelte-c2na7y.svelte-c2na7y{padding-left:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu-item-subitem.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu-item-subitem.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu-item-subitem.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.0052135417 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu-item-subitem.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.0074479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu-item-subitem.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.0047395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu-item-subitem.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.00609375 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu-item-subitem.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.0074479167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu-item-subitem.svelte-c2na7y.svelte-c2na7y{width:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu-item-subitem.svelte-c2na7y.svelte-c2na7y{width:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu-item-subitem.svelte-c2na7y.svelte-c2na7y{width:calc(0.1102864583 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu-item-subitem.svelte-c2na7y.svelte-c2na7y{width:calc(0.1575520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu-item-subitem.svelte-c2na7y.svelte-c2na7y{width:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu-item-subitem.svelte-c2na7y.svelte-c2na7y{width:calc(0.12890625 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu-item-subitem.svelte-c2na7y.svelte-c2na7y{width:calc(0.1575520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu-item-subitem.svelte-c2na7y.svelte-c2na7y{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu-item-subitem.svelte-c2na7y.svelte-c2na7y{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu-item-subitem.svelte-c2na7y.svelte-c2na7y{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu-item-subitem.svelte-c2na7y.svelte-c2na7y{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu-item-subitem.svelte-c2na7y.svelte-c2na7y{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu-item-subitem.svelte-c2na7y.svelte-c2na7y{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu-item-subitem.svelte-c2na7y.svelte-c2na7y{height:calc(0.0286458333 * 100vw + 0px)}}.business-info__menu-item-subitem.svelte-c2na7y.svelte-c2na7y:hover{border-left-color:#FFFFFF}.business-info__menu-item-subitem.svelte-c2na7y:hover .business-info__menu-item-subitem-title.svelte-c2na7y{color:#FFFFFF}.business-info__menu-item-subitem-title.svelte-c2na7y.svelte-c2na7y{color:#999999;font-family:\"Inter\";transition:color 0.2s linear;font-size:calc(0.0067708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__menu-item-subitem-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__menu-item-subitem-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__menu-item-subitem-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0052135417 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__menu-item-subitem-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0074479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__menu-item-subitem-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0047395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__menu-item-subitem-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.00609375 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__menu-item-subitem-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0074479167 * 100vw + 0px)}}.business-info__info.svelte-c2na7y.svelte-c2na7y{display:flex;flex-direction:column;margin-bottom:0;margin-top:calc(0.0182291667 * 100vw + 0px);margin-left:calc(0.0182291667 * 100vw + 0px);margin-right:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__info.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.0200520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__info.svelte-c2na7y.svelte-c2na7y{margin-right:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info.svelte-c2na7y.svelte-c2na7y{margin-right:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info.svelte-c2na7y.svelte-c2na7y{margin-right:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info.svelte-c2na7y.svelte-c2na7y{margin-right:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info.svelte-c2na7y.svelte-c2na7y{margin-right:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info.svelte-c2na7y.svelte-c2na7y{margin-right:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info.svelte-c2na7y.svelte-c2na7y{margin-right:calc(0.0200520833 * 100vw + 0px)}}.business-info__info-title-wrapper.svelte-c2na7y.svelte-c2na7y{display:flex;align-items:center;margin-bottom:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-title-wrapper.svelte-c2na7y.svelte-c2na7y{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-title-wrapper.svelte-c2na7y.svelte-c2na7y{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-title-wrapper.svelte-c2na7y.svelte-c2na7y{margin-bottom:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-title-wrapper.svelte-c2na7y.svelte-c2na7y{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-title-wrapper.svelte-c2na7y.svelte-c2na7y{margin-bottom:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-title-wrapper.svelte-c2na7y.svelte-c2na7y{margin-bottom:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-title-wrapper.svelte-c2na7y.svelte-c2na7y{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}.business-info__info-logo-wrapper.svelte-c2na7y.svelte-c2na7y{display:flex;justify-content:center;align-items:center;background-color:rgba(255, 255, 255, 0.05);border-radius:calc(0.0026041667 * 100vw + 0px);width:calc(0.0322916667 * 100vw + 0px);height:calc(0.0322916667 * 100vw + 0px);margin-right:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-logo-wrapper.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-logo-wrapper.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-logo-wrapper.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-logo-wrapper.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-logo-wrapper.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-logo-wrapper.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-logo-wrapper.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-logo-wrapper.svelte-c2na7y.svelte-c2na7y{width:calc(0.0322916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-logo-wrapper.svelte-c2na7y.svelte-c2na7y{width:calc(0.0322916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-logo-wrapper.svelte-c2na7y.svelte-c2na7y{width:calc(0.0248645833 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-logo-wrapper.svelte-c2na7y.svelte-c2na7y{width:calc(0.0355208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-logo-wrapper.svelte-c2na7y.svelte-c2na7y{width:calc(0.0226041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-logo-wrapper.svelte-c2na7y.svelte-c2na7y{width:calc(0.0290625 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-logo-wrapper.svelte-c2na7y.svelte-c2na7y{width:calc(0.0355208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-logo-wrapper.svelte-c2na7y.svelte-c2na7y{height:calc(0.0322916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-logo-wrapper.svelte-c2na7y.svelte-c2na7y{height:calc(0.0322916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-logo-wrapper.svelte-c2na7y.svelte-c2na7y{height:calc(0.0248645833 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-logo-wrapper.svelte-c2na7y.svelte-c2na7y{height:calc(0.0355208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-logo-wrapper.svelte-c2na7y.svelte-c2na7y{height:calc(0.0226041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-logo-wrapper.svelte-c2na7y.svelte-c2na7y{height:calc(0.0290625 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-logo-wrapper.svelte-c2na7y.svelte-c2na7y{height:calc(0.0355208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-logo-wrapper.svelte-c2na7y.svelte-c2na7y{margin-right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-logo-wrapper.svelte-c2na7y.svelte-c2na7y{margin-right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-logo-wrapper.svelte-c2na7y.svelte-c2na7y{margin-right:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-logo-wrapper.svelte-c2na7y.svelte-c2na7y{margin-right:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-logo-wrapper.svelte-c2na7y.svelte-c2na7y{margin-right:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-logo-wrapper.svelte-c2na7y.svelte-c2na7y{margin-right:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-logo-wrapper.svelte-c2na7y.svelte-c2na7y{margin-right:calc(0.00859375 * 100vw + 0px)}}.business-info__info-logo.svelte-c2na7y.svelte-c2na7y{color:#FFFFFF;font-size:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-logo.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-logo.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-logo.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-logo.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-logo.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-logo.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-logo.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0200520833 * 100vw + 0px)}}.business-info__info-title.svelte-c2na7y.svelte-c2na7y{color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.01875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.020625 * 100vw + 0px)}}.business-info__info-id.svelte-c2na7y.svelte-c2na7y{display:flex;align-items:center;justify-content:center;background-color:rgba(255, 255, 255, 0.1);border-radius:calc(0.0130208333 * 100vw + 0px);margin-left:calc(0.0130208333 * 100vw + 0px);width:calc(0.040625 * 100vw + 0px);height:calc(0.01875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-id.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-id.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-id.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-id.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-id.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-id.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-id.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-id.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-id.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-id.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-id.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-id.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-id.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-id.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-id.svelte-c2na7y.svelte-c2na7y{width:calc(0.040625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-id.svelte-c2na7y.svelte-c2na7y{width:calc(0.040625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-id.svelte-c2na7y.svelte-c2na7y{width:calc(0.03128125 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-id.svelte-c2na7y.svelte-c2na7y{width:calc(0.0446875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-id.svelte-c2na7y.svelte-c2na7y{width:calc(0.0284375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-id.svelte-c2na7y.svelte-c2na7y{width:calc(0.0365625 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-id.svelte-c2na7y.svelte-c2na7y{width:calc(0.0446875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-id.svelte-c2na7y.svelte-c2na7y{height:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-id.svelte-c2na7y.svelte-c2na7y{height:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-id.svelte-c2na7y.svelte-c2na7y{height:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-id.svelte-c2na7y.svelte-c2na7y{height:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-id.svelte-c2na7y.svelte-c2na7y{height:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-id.svelte-c2na7y.svelte-c2na7y{height:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-id.svelte-c2na7y.svelte-c2na7y{height:calc(0.020625 * 100vw + 0px)}}.business-info__info-id-title.svelte-c2na7y.svelte-c2na7y{color:#999999;font-family:\"GothamPro\";font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-id-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-id-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-id-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-id-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-id-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-id-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-id-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0091666667 * 100vw + 0px)}}.business-info__info-id-title--bold.svelte-c2na7y.svelte-c2na7y{font-weight:700}.business-info__info-switch-wrapper.svelte-c2na7y.svelte-c2na7y{display:flex;align-items:center;cursor:pointer;gap:calc(0.0078125 * 100vw + 0px);margin-left:calc(0.2328125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-switch-wrapper.svelte-c2na7y.svelte-c2na7y{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-switch-wrapper.svelte-c2na7y.svelte-c2na7y{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-switch-wrapper.svelte-c2na7y.svelte-c2na7y{gap:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-switch-wrapper.svelte-c2na7y.svelte-c2na7y{gap:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-switch-wrapper.svelte-c2na7y.svelte-c2na7y{gap:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-switch-wrapper.svelte-c2na7y.svelte-c2na7y{gap:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-switch-wrapper.svelte-c2na7y.svelte-c2na7y{gap:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-switch-wrapper.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.2328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-switch-wrapper.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.2328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-switch-wrapper.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.179265625 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-switch-wrapper.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.25609375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-switch-wrapper.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.16296875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-switch-wrapper.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.20953125 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-switch-wrapper.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.25609375 * 100vw + 0px)}}.business-info__info-switch-wrapper--opened.svelte-c2na7y .business-info__info-switch.svelte-c2na7y{background-color:rgba(96, 202, 93, 0.5)}.business-info__info-switch-wrapper--opened.svelte-c2na7y .business-info__info-switch-circle.svelte-c2na7y{background-color:#60CA5D;left:0}.business-info__info-switch-wrapper--opened.svelte-c2na7y .business-info__info-switch-title.svelte-c2na7y{color:#60CA5D}.business-info__info-switch.svelte-c2na7y.svelte-c2na7y{position:relative;background-color:rgba(240, 42, 42, 0.5);border-radius:calc(0.0130208333 * 100vw + 0px);width:calc(0.0520833333 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-switch.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-switch.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-switch.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-switch.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-switch.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-switch.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-switch.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-switch.svelte-c2na7y.svelte-c2na7y{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-switch.svelte-c2na7y.svelte-c2na7y{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-switch.svelte-c2na7y.svelte-c2na7y{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-switch.svelte-c2na7y.svelte-c2na7y{width:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-switch.svelte-c2na7y.svelte-c2na7y{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-switch.svelte-c2na7y.svelte-c2na7y{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-switch.svelte-c2na7y.svelte-c2na7y{width:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-switch.svelte-c2na7y.svelte-c2na7y{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-switch.svelte-c2na7y.svelte-c2na7y{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-switch.svelte-c2na7y.svelte-c2na7y{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-switch.svelte-c2na7y.svelte-c2na7y{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-switch.svelte-c2na7y.svelte-c2na7y{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-switch.svelte-c2na7y.svelte-c2na7y{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-switch.svelte-c2na7y.svelte-c2na7y{height:calc(0.0286458333 * 100vw + 0px)}}.business-info__info-switch-circle.svelte-c2na7y.svelte-c2na7y{position:absolute;background-color:#F02A2A;right:0;border-radius:50%;width:calc(0.0260416667 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-switch-circle.svelte-c2na7y.svelte-c2na7y{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-switch-circle.svelte-c2na7y.svelte-c2na7y{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-switch-circle.svelte-c2na7y.svelte-c2na7y{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-switch-circle.svelte-c2na7y.svelte-c2na7y{width:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-switch-circle.svelte-c2na7y.svelte-c2na7y{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-switch-circle.svelte-c2na7y.svelte-c2na7y{width:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-switch-circle.svelte-c2na7y.svelte-c2na7y{width:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-switch-circle.svelte-c2na7y.svelte-c2na7y{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-switch-circle.svelte-c2na7y.svelte-c2na7y{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-switch-circle.svelte-c2na7y.svelte-c2na7y{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-switch-circle.svelte-c2na7y.svelte-c2na7y{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-switch-circle.svelte-c2na7y.svelte-c2na7y{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-switch-circle.svelte-c2na7y.svelte-c2na7y{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-switch-circle.svelte-c2na7y.svelte-c2na7y{height:calc(0.0286458333 * 100vw + 0px)}}.business-info__info-switch-title.svelte-c2na7y.svelte-c2na7y{color:#F02A2A;font-family:\"GothamPro\";font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-switch-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-switch-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-switch-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-switch-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-switch-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-switch-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-switch-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0091666667 * 100vw + 0px)}}.business-info__info-exit-wrapper.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-exit-wrapper.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-exit-wrapper.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-exit-wrapper.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-exit-wrapper.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-exit-wrapper.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-exit-wrapper.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-exit-wrapper.svelte-c2na7y.svelte-c2na7y{margin-left:calc(0.0143229167 * 100vw + 0px)}}.business-info__info-stats.svelte-c2na7y.svelte-c2na7y{display:flex;gap:calc(0.0333333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-stats.svelte-c2na7y.svelte-c2na7y{gap:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-stats.svelte-c2na7y.svelte-c2na7y{gap:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-stats.svelte-c2na7y.svelte-c2na7y{gap:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-stats.svelte-c2na7y.svelte-c2na7y{gap:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-stats.svelte-c2na7y.svelte-c2na7y{gap:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-stats.svelte-c2na7y.svelte-c2na7y{gap:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-stats.svelte-c2na7y.svelte-c2na7y{gap:calc(0.0366666667 * 100vw + 0px)}}.business-info__info-stats-item.svelte-c2na7y.svelte-c2na7y{display:flex;flex-direction:column;justify-content:center;background:radial-gradient(69.63% 170.91% at 0% 9.71%, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%), rgba(255, 255, 255, 0.05);border-radius:calc(0.0130208333 * 100vw + 0px);padding-left:calc(0.0130208333 * 100vw + 0px);width:calc(0.1692708333 * 100vw + 0px);height:calc(0.078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-stats-item.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-stats-item.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-stats-item.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-stats-item.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-stats-item.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-stats-item.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-stats-item.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-stats-item.svelte-c2na7y.svelte-c2na7y{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-stats-item.svelte-c2na7y.svelte-c2na7y{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-stats-item.svelte-c2na7y.svelte-c2na7y{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-stats-item.svelte-c2na7y.svelte-c2na7y{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-stats-item.svelte-c2na7y.svelte-c2na7y{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-stats-item.svelte-c2na7y.svelte-c2na7y{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-stats-item.svelte-c2na7y.svelte-c2na7y{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-stats-item.svelte-c2na7y.svelte-c2na7y{width:calc(0.1692708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-stats-item.svelte-c2na7y.svelte-c2na7y{width:calc(0.1692708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-stats-item.svelte-c2na7y.svelte-c2na7y{width:calc(0.1303385417 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-stats-item.svelte-c2na7y.svelte-c2na7y{width:calc(0.1861979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-stats-item.svelte-c2na7y.svelte-c2na7y{width:calc(0.1184895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-stats-item.svelte-c2na7y.svelte-c2na7y{width:calc(0.15234375 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-stats-item.svelte-c2na7y.svelte-c2na7y{width:calc(0.1861979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-stats-item.svelte-c2na7y.svelte-c2na7y{height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-stats-item.svelte-c2na7y.svelte-c2na7y{height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-stats-item.svelte-c2na7y.svelte-c2na7y{height:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-stats-item.svelte-c2na7y.svelte-c2na7y{height:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-stats-item.svelte-c2na7y.svelte-c2na7y{height:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-stats-item.svelte-c2na7y.svelte-c2na7y{height:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-stats-item.svelte-c2na7y.svelte-c2na7y{height:calc(0.0859375 * 100vw + 0px)}}.business-info__info-stats-item-title-wrapper.svelte-c2na7y.svelte-c2na7y{display:flex;align-items:center;gap:calc(0.0046875 * 100vw + 0px);margin-bottom:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-stats-item-title-wrapper.svelte-c2na7y.svelte-c2na7y{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-stats-item-title-wrapper.svelte-c2na7y.svelte-c2na7y{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-stats-item-title-wrapper.svelte-c2na7y.svelte-c2na7y{gap:calc(0.003609375 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-stats-item-title-wrapper.svelte-c2na7y.svelte-c2na7y{gap:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-stats-item-title-wrapper.svelte-c2na7y.svelte-c2na7y{gap:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-stats-item-title-wrapper.svelte-c2na7y.svelte-c2na7y{gap:calc(0.00421875 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-stats-item-title-wrapper.svelte-c2na7y.svelte-c2na7y{gap:calc(0.00515625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-stats-item-title-wrapper.svelte-c2na7y.svelte-c2na7y{margin-bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-stats-item-title-wrapper.svelte-c2na7y.svelte-c2na7y{margin-bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-stats-item-title-wrapper.svelte-c2na7y.svelte-c2na7y{margin-bottom:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-stats-item-title-wrapper.svelte-c2na7y.svelte-c2na7y{margin-bottom:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-stats-item-title-wrapper.svelte-c2na7y.svelte-c2na7y{margin-bottom:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-stats-item-title-wrapper.svelte-c2na7y.svelte-c2na7y{margin-bottom:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-stats-item-title-wrapper.svelte-c2na7y.svelte-c2na7y{margin-bottom:calc(0.00859375 * 100vw + 0px)}}.business-info__info-stats-item-title.svelte-c2na7y.svelte-c2na7y{color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-stats-item-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-stats-item-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-stats-item-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-stats-item-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-stats-item-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-stats-item-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-stats-item-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0114583333 * 100vw + 0px)}}.business-info__info-stats-item-description-wrapper.svelte-c2na7y.svelte-c2na7y{display:flex;align-items:center;justify-content:center;background-color:#FFFFFF;border-radius:calc(0.0130208333 * 100vw + 0px);width:calc(0.0479166667 * 100vw + 0px);height:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-stats-item-description-wrapper.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-stats-item-description-wrapper.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-stats-item-description-wrapper.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-stats-item-description-wrapper.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-stats-item-description-wrapper.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-stats-item-description-wrapper.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-stats-item-description-wrapper.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-stats-item-description-wrapper.svelte-c2na7y.svelte-c2na7y{width:calc(0.0479166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-stats-item-description-wrapper.svelte-c2na7y.svelte-c2na7y{width:calc(0.0479166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-stats-item-description-wrapper.svelte-c2na7y.svelte-c2na7y{width:calc(0.0368958333 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-stats-item-description-wrapper.svelte-c2na7y.svelte-c2na7y{width:calc(0.0527083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-stats-item-description-wrapper.svelte-c2na7y.svelte-c2na7y{width:calc(0.0335416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-stats-item-description-wrapper.svelte-c2na7y.svelte-c2na7y{width:calc(0.043125 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-stats-item-description-wrapper.svelte-c2na7y.svelte-c2na7y{width:calc(0.0527083333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-stats-item-description-wrapper.svelte-c2na7y.svelte-c2na7y{height:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-stats-item-description-wrapper.svelte-c2na7y.svelte-c2na7y{height:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-stats-item-description-wrapper.svelte-c2na7y.svelte-c2na7y{height:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-stats-item-description-wrapper.svelte-c2na7y.svelte-c2na7y{height:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-stats-item-description-wrapper.svelte-c2na7y.svelte-c2na7y{height:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-stats-item-description-wrapper.svelte-c2na7y.svelte-c2na7y{height:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-stats-item-description-wrapper.svelte-c2na7y.svelte-c2na7y{height:calc(0.01375 * 100vw + 0px)}}.business-info__info-stats-item-description.svelte-c2na7y.svelte-c2na7y{color:#111111;font-family:\"GothamPro\";font-weight:600;font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-stats-item-description.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-stats-item-description.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-stats-item-description.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-stats-item-description.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-stats-item-description.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-stats-item-description.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-stats-item-description.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0080208333 * 100vw + 0px)}}.business-info__info-stats-item-value.svelte-c2na7y.svelte-c2na7y{color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.0208333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-stats-item-value.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-stats-item-value.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-stats-item-value.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-stats-item-value.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-stats-item-value.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-stats-item-value.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-stats-item-value.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0229166667 * 100vw + 0px)}}.business-info__info-stats-item-value--small.svelte-c2na7y.svelte-c2na7y{vertical-align:top;color:#999999;font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-stats-item-value--small.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-stats-item-value--small.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-stats-item-value--small.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-stats-item-value--small.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-stats-item-value--small.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-stats-item-value--small.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-stats-item-value--small.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0114583333 * 100vw + 0px)}}.business-info__info-scrollbar.svelte-c2na7y.svelte-c2na7y{overflow:auto}.business-info__info-scrollbar.svelte-c2na7y.svelte-c2na7y::-webkit-scrollbar{display:none}.business-info__info-details.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-details.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-details.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-details.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-details.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-details.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-details.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-details.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0286458333 * 100vw + 0px)}}.business-info__info-details-item-wrapper.svelte-c2na7y.svelte-c2na7y{display:flex;flex-wrap:wrap;width:calc(0.78125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-details-item-wrapper.svelte-c2na7y.svelte-c2na7y{width:calc(0.78125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-details-item-wrapper.svelte-c2na7y.svelte-c2na7y{width:calc(0.78125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-details-item-wrapper.svelte-c2na7y.svelte-c2na7y{width:calc(0.6015625 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-details-item-wrapper.svelte-c2na7y.svelte-c2na7y{width:calc(0.859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-details-item-wrapper.svelte-c2na7y.svelte-c2na7y{width:calc(0.546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-details-item-wrapper.svelte-c2na7y.svelte-c2na7y{width:calc(0.703125 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-details-item-wrapper.svelte-c2na7y.svelte-c2na7y{width:calc(0.859375 * 100vw + 0px)}}.business-info__info-details-item.svelte-c2na7y.svelte-c2na7y{display:flex;flex-direction:column;justify-content:center;width:calc(0.1458333333 * 100vw + 0px);height:calc(0.0651041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-details-item.svelte-c2na7y.svelte-c2na7y{width:calc(0.1458333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-details-item.svelte-c2na7y.svelte-c2na7y{width:calc(0.1458333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-details-item.svelte-c2na7y.svelte-c2na7y{width:calc(0.1122916667 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-details-item.svelte-c2na7y.svelte-c2na7y{width:calc(0.1604166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-details-item.svelte-c2na7y.svelte-c2na7y{width:calc(0.1020833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-details-item.svelte-c2na7y.svelte-c2na7y{width:calc(0.13125 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-details-item.svelte-c2na7y.svelte-c2na7y{width:calc(0.1604166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-details-item.svelte-c2na7y.svelte-c2na7y{height:calc(0.0651041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-details-item.svelte-c2na7y.svelte-c2na7y{height:calc(0.0651041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-details-item.svelte-c2na7y.svelte-c2na7y{height:calc(0.0501302083 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-details-item.svelte-c2na7y.svelte-c2na7y{height:calc(0.0716145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-details-item.svelte-c2na7y.svelte-c2na7y{height:calc(0.0455729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-details-item.svelte-c2na7y.svelte-c2na7y{height:calc(0.05859375 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-details-item.svelte-c2na7y.svelte-c2na7y{height:calc(0.0716145833 * 100vw + 0px)}}.business-info__info-item-value.svelte-c2na7y.svelte-c2na7y{color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.0125 * 100vw + 0px);margin-bottom:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-item-value.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-item-value.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-item-value.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-item-value.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-item-value.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-item-value.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-item-value.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-item-value.svelte-c2na7y.svelte-c2na7y{margin-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-item-value.svelte-c2na7y.svelte-c2na7y{margin-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-item-value.svelte-c2na7y.svelte-c2na7y{margin-bottom:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-item-value.svelte-c2na7y.svelte-c2na7y{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-item-value.svelte-c2na7y.svelte-c2na7y{margin-bottom:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-item-value.svelte-c2na7y.svelte-c2na7y{margin-bottom:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-item-value.svelte-c2na7y.svelte-c2na7y{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}.business-info__info-item-title.svelte-c2na7y.svelte-c2na7y{color:#999999;font-family:\"GothamPro\";font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-item-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-item-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-item-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-item-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-item-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-item-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-item-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0091666667 * 100vw + 0px)}}.business-info__info-items.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-items.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-items.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-items.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-items.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-items.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-items.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-items.svelte-c2na7y.svelte-c2na7y{margin-top:calc(0.0286458333 * 100vw + 0px)}}.business-info__info-items-button-wrapper.svelte-c2na7y.svelte-c2na7y{display:flex;align-items:center;justify-content:space-between;margin-bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-items-button-wrapper.svelte-c2na7y.svelte-c2na7y{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-items-button-wrapper.svelte-c2na7y.svelte-c2na7y{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-items-button-wrapper.svelte-c2na7y.svelte-c2na7y{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-items-button-wrapper.svelte-c2na7y.svelte-c2na7y{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-items-button-wrapper.svelte-c2na7y.svelte-c2na7y{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-items-button-wrapper.svelte-c2na7y.svelte-c2na7y{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-items-button-wrapper.svelte-c2na7y.svelte-c2na7y{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.business-info__info-items-button.svelte-c2na7y.svelte-c2na7y{display:flex;align-items:center;justify-content:center;background-color:#FFFFFF;cursor:pointer;transition:box-shadow 0.2s linear;border-radius:calc(0.0026041667 * 100vw + 0px);width:calc(0.1052083333 * 100vw + 0px);height:calc(0.0291666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-items-button.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-items-button.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-items-button.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-items-button.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-items-button.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-items-button.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-items-button.svelte-c2na7y.svelte-c2na7y{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-items-button.svelte-c2na7y.svelte-c2na7y{width:calc(0.1052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-items-button.svelte-c2na7y.svelte-c2na7y{width:calc(0.1052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-items-button.svelte-c2na7y.svelte-c2na7y{width:calc(0.0810104167 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-items-button.svelte-c2na7y.svelte-c2na7y{width:calc(0.1157291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-items-button.svelte-c2na7y.svelte-c2na7y{width:calc(0.0736458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-items-button.svelte-c2na7y.svelte-c2na7y{width:calc(0.0946875 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-items-button.svelte-c2na7y.svelte-c2na7y{width:calc(0.1157291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-items-button.svelte-c2na7y.svelte-c2na7y{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-items-button.svelte-c2na7y.svelte-c2na7y{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-items-button.svelte-c2na7y.svelte-c2na7y{height:calc(0.0224583333 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-items-button.svelte-c2na7y.svelte-c2na7y{height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-items-button.svelte-c2na7y.svelte-c2na7y{height:calc(0.0204166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-items-button.svelte-c2na7y.svelte-c2na7y{height:calc(0.02625 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-items-button.svelte-c2na7y.svelte-c2na7y{height:calc(0.0320833333 * 100vw + 0px)}}.business-info__info-items-button.svelte-c2na7y.svelte-c2na7y:hover{background:#FFFFFF;box-shadow:0 0 25px 0 rgba(255, 255, 255, 0.35);border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-items-button.svelte-c2na7y.svelte-c2na7y:hover{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-items-button.svelte-c2na7y.svelte-c2na7y:hover{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-items-button.svelte-c2na7y.svelte-c2na7y:hover{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-items-button.svelte-c2na7y.svelte-c2na7y:hover{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-items-button.svelte-c2na7y.svelte-c2na7y:hover{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-items-button.svelte-c2na7y.svelte-c2na7y:hover{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-items-button.svelte-c2na7y.svelte-c2na7y:hover{border-radius:calc(0.0028645833 * 100vw + 0px)}}.business-info__info-items-button-title.svelte-c2na7y.svelte-c2na7y{color:#111111;font-family:\"GothamPro\";font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-items-button-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-items-button-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-items-button-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-items-button-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-items-button-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-items-button-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-items-button-title.svelte-c2na7y.svelte-c2na7y{font-size:calc(0.0091666667 * 100vw + 0px)}}.business-info__info-items-item-wrapper.svelte-c2na7y.svelte-c2na7y{display:flex;flex-wrap:wrap;width:calc(0.78125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-items-item-wrapper.svelte-c2na7y.svelte-c2na7y{width:calc(0.78125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-items-item-wrapper.svelte-c2na7y.svelte-c2na7y{width:calc(0.78125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-items-item-wrapper.svelte-c2na7y.svelte-c2na7y{width:calc(0.6015625 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-items-item-wrapper.svelte-c2na7y.svelte-c2na7y{width:calc(0.859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-items-item-wrapper.svelte-c2na7y.svelte-c2na7y{width:calc(0.546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-items-item-wrapper.svelte-c2na7y.svelte-c2na7y{width:calc(0.703125 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-items-item-wrapper.svelte-c2na7y.svelte-c2na7y{width:calc(0.859375 * 100vw + 0px)}}.business-info__info-items-item.svelte-c2na7y.svelte-c2na7y{display:flex;flex-direction:column;justify-content:center;gap:calc(0.0052083333 * 100vw + 0px);width:calc(0.1104166667 * 100vw + 0px);height:calc(0.0651041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-items-item.svelte-c2na7y.svelte-c2na7y{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-items-item.svelte-c2na7y.svelte-c2na7y{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-items-item.svelte-c2na7y.svelte-c2na7y{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-items-item.svelte-c2na7y.svelte-c2na7y{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-items-item.svelte-c2na7y.svelte-c2na7y{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-items-item.svelte-c2na7y.svelte-c2na7y{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-items-item.svelte-c2na7y.svelte-c2na7y{gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-items-item.svelte-c2na7y.svelte-c2na7y{width:calc(0.1104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-items-item.svelte-c2na7y.svelte-c2na7y{width:calc(0.1104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-items-item.svelte-c2na7y.svelte-c2na7y{width:calc(0.0850208333 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-items-item.svelte-c2na7y.svelte-c2na7y{width:calc(0.1214583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-items-item.svelte-c2na7y.svelte-c2na7y{width:calc(0.0772916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-items-item.svelte-c2na7y.svelte-c2na7y{width:calc(0.099375 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-items-item.svelte-c2na7y.svelte-c2na7y{width:calc(0.1214583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-info__info-items-item.svelte-c2na7y.svelte-c2na7y{height:calc(0.0651041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-info__info-items-item.svelte-c2na7y.svelte-c2na7y{height:calc(0.0651041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-info__info-items-item.svelte-c2na7y.svelte-c2na7y{height:calc(0.0501302083 * 100vw + 0px)}}@media(min-width: 3440px){.business-info__info-items-item.svelte-c2na7y.svelte-c2na7y{height:calc(0.0716145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-info__info-items-item.svelte-c2na7y.svelte-c2na7y{height:calc(0.0455729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-info__info-items-item.svelte-c2na7y.svelte-c2na7y{height:calc(0.05859375 * 100vw + 0px)}}@media(min-width: 4096px){.business-info__info-items-item.svelte-c2na7y.svelte-c2na7y{height:calc(0.0716145833 * 100vw + 0px)}}");
}

function business_information_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[22] = list[i];
	return child_ctx;
}

function business_information_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[25] = list[i];
	return child_ctx;
}

function business_information_index_svelte_get_each_context_2(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[28] = list[i];
	return child_ctx;
}

function information_index_svelte_get_each_context_3(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[31] = list[i];
	return child_ctx;
}

function information_index_svelte_get_each_context_4(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[34] = list[i];
	return child_ctx;
}

// (3952:0) {#if !isEmpty(businessInformation)}
function business_information_index_svelte_create_if_block(ctx) {
	let div14;
	let div5;
	let img;
	let img_src_value;
	let t0;
	let div3;
	let p0;
	let t2;
	let p1;
	let t3_value = formatMoney(/*businessInformation*/ ctx[0].balance || 0) + "";
	let t3;
	let t4;
	let span0;
	let t5_value = (/*businessInformation*/ ctx[0].currency || '₽') + "";
	let t5;
	let t6;
	let div2;
	let div0;
	let t8;
	let div1;
	let t10;
	let p4;
	let t12;
	let div4;
	let t13;
	let div13;
	let div12;
	let div6;
	let i;
	let i_class_value;
	let t14;
	let p5;
	let t15_value = /*businessInformation*/ ctx[0].title + "";
	let t15;
	let t16;
	let div7;
	let p6;
	let t17;
	let span1;
	let t18_value = /*businessInformation*/ ctx[0].id + "";
	let t18;
	let t19;
	let div10;
	let div9;
	let t20;
	let p7;

	let t21_value = (/*businessInformation*/ ctx[0].opened
	? 'Закрыто'
	: 'Открыто') + "";

	let t21;
	let t22;
	let div11;
	let exitbutton;
	let t23;
	let show_if_1 = !(0,lodash.isEmpty)(/*businessInformation*/ ctx[0].stats);
	let t24;
	let show_if = !(0,lodash.isEmpty)(/*businessInformation*/ ctx[0].detailsGroups);
	let current;
	let mounted;
	let dispose;
	let each_value_3 = /*menuTabs*/ ctx[1];
	let each_blocks = [];

	for (let i = 0; i < each_value_3.length; i += 1) {
		each_blocks[i] = information_index_svelte_create_each_block_3(information_index_svelte_get_each_context_3(ctx, each_value_3, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	exitbutton = new exit_button_index_svelte({
			props: { onClick: /*handleClose*/ ctx[9] }
		});

	let if_block0 = show_if_1 && information_index_svelte_create_if_block_3(ctx);
	let if_block1 = show_if && business_information_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			div14 = internal_element("div");
			div5 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div3 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Баланс";
			t2 = space();
			p1 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = space();
			span0 = internal_element("span");
			t5 = internal_text(t5_value);
			t6 = space();
			div2 = internal_element("div");
			div0 = internal_element("div");
			div0.innerHTML = `<p class="business-info__menu-money-button-title svelte-c2na7y">Вывести со счета</p>`;
			t8 = space();
			div1 = internal_element("div");
			div1.innerHTML = `<p class="business-info__menu-money-button-title svelte-c2na7y">Пополнить</p>`;
			t10 = space();
			p4 = internal_element("p");
			p4.textContent = "Панель управления";
			t12 = space();
			div4 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t13 = space();
			div13 = internal_element("div");
			div12 = internal_element("div");
			div6 = internal_element("div");
			i = internal_element("i");
			t14 = space();
			p5 = internal_element("p");
			t15 = internal_text(t15_value);
			t16 = space();
			div7 = internal_element("div");
			p6 = internal_element("p");
			t17 = internal_text("ID:\r\n                        ");
			span1 = internal_element("span");
			t18 = internal_text(t18_value);
			t19 = space();
			div10 = internal_element("div");
			div9 = internal_element("div");
			div9.innerHTML = `<div class="business-info__info-switch-circle svelte-c2na7y"></div>`;
			t20 = space();
			p7 = internal_element("p");
			t21 = internal_text(t21_value);
			t22 = space();
			div11 = internal_element("div");
			create_component(exitbutton.$$.fragment);
			t23 = space();
			if (if_block0) if_block0.c();
			t24 = space();
			if (if_block1) if_block1.c();
			attr(img, "class", "business-info__menu-logo svelte-c2na7y");
			if (!src_url_equal(img.src, img_src_value = business_info_menu_logo_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "menu-logo");
			attr(p0, "class", "business-info__menu-money-title svelte-c2na7y");
			attr(span0, "class", "business-info__menu-money-value--small svelte-c2na7y");
			attr(p1, "class", "business-info__menu-money-value svelte-c2na7y");
			attr(div0, "class", "business-info__menu-money-button svelte-c2na7y");
			attr(div1, "class", "business-info__menu-money-button business-info__menu-money-button--small svelte-c2na7y");
			attr(div2, "class", "business-info__menu-money-buttons svelte-c2na7y");
			attr(div3, "class", "business-info__menu-money svelte-c2na7y");
			attr(p4, "class", "business-info__menu-title svelte-c2na7y");
			attr(div4, "class", "business-info__menu-item-wrapper svelte-c2na7y");
			attr(div5, "class", "business-info__menu svelte-c2na7y");
			attr(i, "class", i_class_value = "business-info__info-logo " + MAP_TYPE_TO_ICON[/*businessInformation*/ ctx[0].type] + " svelte-c2na7y");
			attr(div6, "class", "business-info__info-logo-wrapper svelte-c2na7y");
			attr(p5, "class", "business-info__info-title svelte-c2na7y");
			attr(span1, "class", "business-info__info-id-title--bold svelte-c2na7y");
			attr(p6, "class", "business-info__info-id-title svelte-c2na7y");
			attr(div7, "class", "business-info__info-id svelte-c2na7y");
			attr(div9, "class", "business-info__info-switch svelte-c2na7y");
			attr(p7, "class", "business-info__info-switch-title svelte-c2na7y");
			attr(div10, "class", "business-info__info-switch-wrapper svelte-c2na7y");
			toggle_class(div10, "business-info__info-switch-wrapper--opened", !/*businessInformation*/ ctx[0].opened);
			attr(div11, "class", "business-info__info-exit-wrapper svelte-c2na7y");
			attr(div12, "class", "business-info__info-title-wrapper svelte-c2na7y");
			attr(div13, "class", "business-info__info svelte-c2na7y");
			attr(div14, "class", "business-info svelte-c2na7y");
		},
		m(target, anchor) {
			insert(target, div14, anchor);
			append(div14, div5);
			append(div5, img);
			append(div5, t0);
			append(div5, div3);
			append(div3, p0);
			append(div3, t2);
			append(div3, p1);
			append(p1, t3);
			append(p1, t4);
			append(p1, span0);
			append(span0, t5);
			append(div3, t6);
			append(div3, div2);
			append(div2, div0);
			append(div2, t8);
			append(div2, div1);
			append(div5, t10);
			append(div5, p4);
			append(div5, t12);
			append(div5, div4);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div4, null);
			}

			append(div14, t13);
			append(div14, div13);
			append(div13, div12);
			append(div12, div6);
			append(div6, i);
			append(div12, t14);
			append(div12, p5);
			append(p5, t15);
			append(div12, t16);
			append(div12, div7);
			append(div7, p6);
			append(p6, t17);
			append(p6, span1);
			append(span1, t18);
			append(div12, t19);
			append(div12, div10);
			append(div10, div9);
			append(div10, t20);
			append(div10, p7);
			append(p7, t21);
			append(div12, t22);
			append(div12, div11);
			mount_component(exitbutton, div11, null);
			append(div13, t23);
			if (if_block0) if_block0.m(div13, null);
			append(div13, t24);
			if (if_block1) if_block1.m(div13, null);
			current = true;

			if (!mounted) {
				dispose = [
					listen(div0, "click", /*withdrawMoney*/ ctx[6]),
					listen(div1, "click", /*refillBalance*/ ctx[7]),
					listen(div10, "click", /*click_handler_2*/ ctx[12])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if ((!current || dirty[0] & /*businessInformation*/ 1) && t3_value !== (t3_value = formatMoney(/*businessInformation*/ ctx[0].balance || 0) + "")) set_data(t3, t3_value);
			if ((!current || dirty[0] & /*businessInformation*/ 1) && t5_value !== (t5_value = (/*businessInformation*/ ctx[0].currency || '₽') + "")) set_data(t5, t5_value);

			if (dirty[0] & /*menuTabs, selectTab, openedAccordions, toggleAccordion*/ 46) {
				each_value_3 = /*menuTabs*/ ctx[1];
				let i;

				for (i = 0; i < each_value_3.length; i += 1) {
					const child_ctx = information_index_svelte_get_each_context_3(ctx, each_value_3, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = information_index_svelte_create_each_block_3(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div4, null);
					}
				}

				group_outros();

				for (i = each_value_3.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}

			if (!current || dirty[0] & /*businessInformation*/ 1 && i_class_value !== (i_class_value = "business-info__info-logo " + MAP_TYPE_TO_ICON[/*businessInformation*/ ctx[0].type] + " svelte-c2na7y")) {
				attr(i, "class", i_class_value);
			}

			if ((!current || dirty[0] & /*businessInformation*/ 1) && t15_value !== (t15_value = /*businessInformation*/ ctx[0].title + "")) set_data(t15, t15_value);
			if ((!current || dirty[0] & /*businessInformation*/ 1) && t18_value !== (t18_value = /*businessInformation*/ ctx[0].id + "")) set_data(t18, t18_value);

			if ((!current || dirty[0] & /*businessInformation*/ 1) && t21_value !== (t21_value = (/*businessInformation*/ ctx[0].opened
			? 'Закрыто'
			: 'Открыто') + "")) set_data(t21, t21_value);

			if (dirty[0] & /*businessInformation*/ 1) {
				toggle_class(div10, "business-info__info-switch-wrapper--opened", !/*businessInformation*/ ctx[0].opened);
			}

			if (dirty[0] & /*businessInformation*/ 1) show_if_1 = !(0,lodash.isEmpty)(/*businessInformation*/ ctx[0].stats);

			if (show_if_1) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = information_index_svelte_create_if_block_3(ctx);
					if_block0.c();
					if_block0.m(div13, t24);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty[0] & /*businessInformation*/ 1) show_if = !(0,lodash.isEmpty)(/*businessInformation*/ ctx[0].detailsGroups);

			if (show_if) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = business_information_index_svelte_create_if_block_1(ctx);
					if_block1.c();
					if_block1.m(div13, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value_3.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			transition_in(exitbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			transition_out(exitbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div14);
			destroy_each(each_blocks, detaching);
			destroy_component(exitbutton);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (4003:24) {:else}
function business_information_index_svelte_create_else_block(ctx) {
	let div;
	let p;
	let t0_value = /*tab*/ ctx[31].title + "";
	let t0;
	let t1;
	let i;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			p = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			i = internal_element("i");
			attr(p, "class", "business-info__menu-item-title svelte-c2na7y");
			attr(i, "class", "business-info__menu-item-title-icon icon-triangle-arrow-up svelte-c2na7y");
			attr(div, "class", "business-info__menu-item-title-icon-wrapper svelte-c2na7y");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p);
			append(p, t0);
			append(div, t1);
			append(div, i);

			if (!mounted) {
				dispose = listen(p, "click", /*toggleAccordion*/ ctx[3]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty[0] & /*menuTabs*/ 2 && t0_value !== (t0_value = /*tab*/ ctx[31].title + "")) set_data(t0, t0_value);
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (3999:24) {#if !tab.items}
function information_index_svelte_create_if_block_7(ctx) {
	let p;
	let t_value = /*tab*/ ctx[31].title + "";
	let t;

	return {
		c() {
			p = internal_element("p");
			t = internal_text(t_value);
			attr(p, "class", "business-info__menu-item-title svelte-c2na7y");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*menuTabs*/ 2 && t_value !== (t_value = /*tab*/ ctx[31].title + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (4015:20) {#if openedAccordions[tab.id]}
function information_index_svelte_create_if_block_6(ctx) {
	let each_1_anchor;
	let current;
	let each_value_4 = /*tab*/ ctx[31].items;
	let each_blocks = [];

	for (let i = 0; i < each_value_4.length; i += 1) {
		each_blocks[i] = information_index_svelte_create_each_block_4(information_index_svelte_get_each_context_4(ctx, each_value_4, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty[0] & /*selectTab, menuTabs*/ 34) {
				each_value_4 = /*tab*/ ctx[31].items;
				let i;

				for (i = 0; i < each_value_4.length; i += 1) {
					const child_ctx = information_index_svelte_get_each_context_4(ctx, each_value_4, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = information_index_svelte_create_each_block_4(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
					}
				}

				group_outros();

				for (i = each_value_4.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value_4.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			destroy_each(each_blocks, detaching);
			if (detaching) detach(each_1_anchor);
		}
	};
}

// (4016:24) {#each tab.items as tabItem}
function information_index_svelte_create_each_block_4(ctx) {
	let div;
	let p;
	let t0_value = /*tabItem*/ ctx[34].title + "";
	let t0;
	let t1;
	let div_transition;
	let current;
	let mounted;
	let dispose;

	function click_handler_1() {
		return /*click_handler_1*/ ctx[11](/*tabItem*/ ctx[34]);
	}

	return {
		c() {
			div = internal_element("div");
			p = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			attr(p, "class", "business-info__menu-item-subitem-title svelte-c2na7y");
			attr(div, "class", "business-info__menu-item-subitem svelte-c2na7y");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p);
			append(p, t0);
			append(div, t1);
			current = true;

			if (!mounted) {
				dispose = listen(div, "click", click_handler_1);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if ((!current || dirty[0] & /*menuTabs*/ 2) && t0_value !== (t0_value = /*tabItem*/ ctx[34].title + "")) set_data(t0, t0_value);
		},
		i(local) {
			if (current) return;

			add_render_callback(() => {
				if (!div_transition) div_transition = create_bidirectional_transition(div, slide, {}, true);
				div_transition.run(1);
			});

			current = true;
		},
		o(local) {
			if (!div_transition) div_transition = create_bidirectional_transition(div, slide, {}, false);
			div_transition.run(0);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (detaching && div_transition) div_transition.end();
			mounted = false;
			dispose();
		}
	};
}

// (3993:16) {#each menuTabs as tab}
function information_index_svelte_create_each_block_3(ctx) {
	let div;
	let t;
	let if_block1_anchor;
	let current;
	let mounted;
	let dispose;

	function select_block_type(ctx, dirty) {
		if (!/*tab*/ ctx[31].items) return information_index_svelte_create_if_block_7;
		return business_information_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, [-1, -1]);
	let if_block0 = current_block_type(ctx);

	function click_handler() {
		return /*click_handler*/ ctx[10](/*tab*/ ctx[31]);
	}

	let if_block1 = /*openedAccordions*/ ctx[2][/*tab*/ ctx[31].id] && information_index_svelte_create_if_block_6(ctx);

	return {
		c() {
			div = internal_element("div");
			if_block0.c();
			t = space();
			if (if_block1) if_block1.c();
			if_block1_anchor = empty();
			attr(div, "class", "business-info__menu-item svelte-c2na7y");
			toggle_class(div, "business-info__menu-item--opened", /*openedAccordions*/ ctx[2][/*tab*/ ctx[31].id]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if_block0.m(div, null);
			insert(target, t, anchor);
			if (if_block1) if_block1.m(target, anchor);
			insert(target, if_block1_anchor, anchor);
			current = true;

			if (!mounted) {
				dispose = listen(div, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block0) {
				if_block0.p(ctx, dirty);
			} else {
				if_block0.d(1);
				if_block0 = current_block_type(ctx);

				if (if_block0) {
					if_block0.c();
					if_block0.m(div, null);
				}
			}

			if (dirty[0] & /*openedAccordions, menuTabs*/ 6) {
				toggle_class(div, "business-info__menu-item--opened", /*openedAccordions*/ ctx[2][/*tab*/ ctx[31].id]);
			}

			if (/*openedAccordions*/ ctx[2][/*tab*/ ctx[31].id]) {
				if (if_block1) {
					if_block1.p(ctx, dirty);

					if (dirty[0] & /*openedAccordions, menuTabs*/ 6) {
						transition_in(if_block1, 1);
					}
				} else {
					if_block1 = information_index_svelte_create_if_block_6(ctx);
					if_block1.c();
					transition_in(if_block1, 1);
					if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
				}
			} else if (if_block1) {
				group_outros();

				transition_out(if_block1, 1, 1, () => {
					if_block1 = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block1);
			current = true;
		},
		o(local) {
			transition_out(if_block1);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if_block0.d();
			if (detaching) detach(t);
			if (if_block1) if_block1.d(detaching);
			if (detaching) detach(if_block1_anchor);
			mounted = false;
			dispose();
		}
	};
}

// (4063:12) {#if !isEmpty(businessInformation.stats)}
function information_index_svelte_create_if_block_3(ctx) {
	let div;
	let each_value_2 = /*businessInformation*/ ctx[0].stats;
	let each_blocks = [];

	for (let i = 0; i < each_value_2.length; i += 1) {
		each_blocks[i] = business_information_index_svelte_create_each_block_2(business_information_index_svelte_get_each_context_2(ctx, each_value_2, i));
	}

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "business-info__info-stats svelte-c2na7y");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}
		},
		p(ctx, dirty) {
			if (dirty[0] & /*businessInformation*/ 1) {
				each_value_2 = /*businessInformation*/ ctx[0].stats;
				let i;

				for (i = 0; i < each_value_2.length; i += 1) {
					const child_ctx = business_information_index_svelte_get_each_context_2(ctx, each_value_2, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = business_information_index_svelte_create_each_block_2(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_2.length;
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (4071:32) {#if stats.label}
function information_index_svelte_create_if_block_5(ctx) {
	let div;
	let p;
	let t_value = /*stats*/ ctx[28].label + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			p = internal_element("p");
			t = internal_text(t_value);
			attr(p, "class", "business-info__info-stats-item-description svelte-c2na7y");
			attr(div, "class", "business-info__info-stats-item-description-wrapper svelte-c2na7y");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p);
			append(p, t);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*businessInformation*/ 1 && t_value !== (t_value = /*stats*/ ctx[28].label + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (4081:32) {#if stats.maxValue}
function information_index_svelte_create_if_block_4(ctx) {
	let span;
	let t0;
	let t1_value = /*stats*/ ctx[28].maxValue + "";
	let t1;

	return {
		c() {
			span = internal_element("span");
			t0 = internal_text("/ ");
			t1 = internal_text(t1_value);
			attr(span, "class", "business-info__info-stats-item-value--small svelte-c2na7y");
		},
		m(target, anchor) {
			insert(target, span, anchor);
			append(span, t0);
			append(span, t1);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*businessInformation*/ 1 && t1_value !== (t1_value = /*stats*/ ctx[28].maxValue + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

// (4065:20) {#each businessInformation.stats as stats}
function business_information_index_svelte_create_each_block_2(ctx) {
	let div1;
	let div0;
	let p0;
	let t0_value = /*stats*/ ctx[28].title + "";
	let t0;
	let t1;
	let t2;
	let p1;
	let t3_value = /*stats*/ ctx[28].value + "";
	let t3;
	let t4;
	let t5;
	let if_block0 = /*stats*/ ctx[28].label && information_index_svelte_create_if_block_5(ctx);
	let if_block1 = /*stats*/ ctx[28].maxValue && information_index_svelte_create_if_block_4(ctx);

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			if (if_block0) if_block0.c();
			t2 = space();
			p1 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = space();
			if (if_block1) if_block1.c();
			t5 = space();
			attr(p0, "class", "business-info__info-stats-item-title svelte-c2na7y");
			attr(div0, "class", "business-info__info-stats-item-title-wrapper svelte-c2na7y");
			attr(p1, "class", "business-info__info-stats-item-value svelte-c2na7y");
			attr(div1, "class", "business-info__info-stats-item svelte-c2na7y");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, p0);
			append(p0, t0);
			append(div0, t1);
			if (if_block0) if_block0.m(div0, null);
			append(div1, t2);
			append(div1, p1);
			append(p1, t3);
			append(p1, t4);
			if (if_block1) if_block1.m(p1, null);
			append(div1, t5);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*businessInformation*/ 1 && t0_value !== (t0_value = /*stats*/ ctx[28].title + "")) set_data(t0, t0_value);

			if (/*stats*/ ctx[28].label) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = information_index_svelte_create_if_block_5(ctx);
					if_block0.c();
					if_block0.m(div0, null);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty[0] & /*businessInformation*/ 1 && t3_value !== (t3_value = /*stats*/ ctx[28].value + "")) set_data(t3, t3_value);

			if (/*stats*/ ctx[28].maxValue) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = information_index_svelte_create_if_block_4(ctx);
					if_block1.c();
					if_block1.m(p1, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
		}
	};
}

// (4091:12) {#if !isEmpty(businessInformation.detailsGroups)}
function business_information_index_svelte_create_if_block_1(ctx) {
	let div;
	let each_value = /*businessInformation*/ ctx[0].detailsGroups;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = business_information_index_svelte_create_each_block(business_information_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "business-info__info-scrollbar svelte-c2na7y");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}
		},
		p(ctx, dirty) {
			if (dirty[0] & /*businessInformation, editItems*/ 257) {
				each_value = /*businessInformation*/ ctx[0].detailsGroups;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = business_information_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = business_information_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (4099:32) {#if group.editable}
function information_index_svelte_create_if_block_2(ctx) {
	let div;
	let mounted;
	let dispose;

	function click_handler_3() {
		return /*click_handler_3*/ ctx[13](/*group*/ ctx[22]);
	}

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="business-info__info-items-button-title svelte-c2na7y">Редактировать</p>`;
			attr(div, "class", "business-info__info-items-button svelte-c2na7y");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = listen(div, "click", click_handler_3);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (4111:32) {#each group.items as item}
function business_information_index_svelte_create_each_block_1(ctx) {
	let div;
	let p0;
	let t0_value = /*item*/ ctx[25].value + "";
	let t0;
	let t1;
	let p1;
	let t2_value = /*item*/ ctx[25].title + "";
	let t2;
	let t3;

	return {
		c() {
			div = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = space();
			attr(p0, "class", "business-info__info-item-value svelte-c2na7y");
			attr(p1, "class", "business-info__info-item-title svelte-c2na7y");
			attr(div, "class", "business-info__info-items-item svelte-c2na7y");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p0);
			append(p0, t0);
			append(div, t1);
			append(div, p1);
			append(p1, t2);
			append(div, t3);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*businessInformation*/ 1 && t0_value !== (t0_value = /*item*/ ctx[25].value + "")) set_data(t0, t0_value);
			if (dirty[0] & /*businessInformation*/ 1 && t2_value !== (t2_value = /*item*/ ctx[25].title + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (4093:20) {#each businessInformation.detailsGroups as group}
function business_information_index_svelte_create_each_block(ctx) {
	let div2;
	let div0;
	let p;
	let t0_value = /*group*/ ctx[22].title + "";
	let t0;
	let t1;
	let t2;
	let div1;
	let t3;
	let if_block = /*group*/ ctx[22].editable && information_index_svelte_create_if_block_2(ctx);
	let each_value_1 = /*group*/ ctx[22].items;
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = business_information_index_svelte_create_each_block_1(business_information_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			p = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			if (if_block) if_block.c();
			t2 = space();
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t3 = space();
			attr(p, "class", "business-info__info-title svelte-c2na7y");
			attr(div0, "class", "business-info__info-items-button-wrapper svelte-c2na7y");
			attr(div1, "class", "business-info__info-items-item-wrapper svelte-c2na7y");
			attr(div2, "class", "business-info__info-items svelte-c2na7y");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div0, p);
			append(p, t0);
			append(div0, t1);
			if (if_block) if_block.m(div0, null);
			append(div2, t2);
			append(div2, div1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}

			append(div2, t3);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*businessInformation*/ 1 && t0_value !== (t0_value = /*group*/ ctx[22].title + "")) set_data(t0, t0_value);

			if (/*group*/ ctx[22].editable) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = information_index_svelte_create_if_block_2(ctx);
					if_block.c();
					if_block.m(div0, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (dirty[0] & /*businessInformation*/ 1) {
				each_value_1 = /*group*/ ctx[22].items;
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = business_information_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = business_information_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div1, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}
		},
		d(detaching) {
			if (detaching) detach(div2);
			if (if_block) if_block.d();
			destroy_each(each_blocks, detaching);
		}
	};
}

function business_information_index_svelte_create_fragment(ctx) {
	let show_if = !(0,lodash.isEmpty)(/*businessInformation*/ ctx[0]);
	let if_block_anchor;
	let current;
	let if_block = show_if && business_information_index_svelte_create_if_block(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty[0] & /*businessInformation*/ 1) show_if = !(0,lodash.isEmpty)(/*businessInformation*/ ctx[0]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty[0] & /*businessInformation*/ 1) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = business_information_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

function business_information_index_svelte_instance($$self, $$props, $$invalidate) {
	let businessInformation = {};
	let menuTabs = [];
	let openedAccordions = {};

	const initializeBusinessInformation = businessInformationDto => {
		$$invalidate(0, businessInformation = businessInformationDto);
	};

	const initializeMenuTabs = menuTabsDto => {
		$$invalidate(1, menuTabs = menuTabsDto);
	};

	const initializeOpenedAccordions = openedAccordionsDto => {
		$$invalidate(2, openedAccordions = openedAccordionsDto);
	};

	const toggleAccordion = tabId => {
		$$invalidate(2, openedAccordions[tabId] = !openedAccordions[tabId], openedAccordions);
	};

	const changeStatus = () => {
		$$invalidate(0, businessInformation.opened = !businessInformation.opened, businessInformation);
		sendClientMessage('business.info.panelchangeStatus', businessInformation.opened);
	};

	const selectTab = (tabId, items) => {
		if (!(0,lodash.isEmpty)(items)) {
			toggleAccordion(tabId);
			return;
		}

		sendClientMessage('business.info.selectTab', tabId);
	};

	const withdrawMoney = () => {
		sendClientMessage('business.info.widthdraw');
	};

	const refillBalance = () => {
		sendClientMessage('business.info.refill');
	};

	const editItems = groupId => {
		sendClientMessage('business.info.edit', groupId);
	};

	const setDetailsGroupData = groupDto => {
		if (!businessInformation.detailsGroups) {
			$$invalidate(0, businessInformation.detailsGroups = [], businessInformation);
		}

		const existedGroupIndex = businessInformation.detailsGroups.findIndex(({ id }) => id === groupDto.id);

		if (existedGroupIndex === -1) {
			businessInformation.detailsGroups.push(groupDto);
		} else {
			$$invalidate(0, businessInformation.detailsGroups[existedGroupIndex] = groupDto, businessInformation);
		}

		$$invalidate(0, businessInformation);
	};

	const handleClose = () => {
		sendClientMessage('business.info.exitlist');
	};

	const unregisterBusinessInformationEvent = registerEvent('event.business.info.initializeBusinessInformation', initializeBusinessInformation);
	const unregisterMenuTabsEvent = registerEvent('event.business.info.initializeMenuTabs', initializeMenuTabs);
	const unregisterOpenedAccordionsEvent = registerEvent('event.business.info.initializeOpenedAccordions', initializeOpenedAccordions);
	const unregisterSetDetailsGroupDataEvent = registerEvent('event.business.info.setDetailsGroupData', setDetailsGroupData);

	onDestroy(() => {
		unregisterBusinessInformationEvent();
		unregisterMenuTabsEvent();
		unregisterOpenedAccordionsEvent();
		unregisterSetDetailsGroupDataEvent();
	});

	const click_handler = tab => selectTab(tab.id, tab.items);
	const click_handler_1 = tabItem => selectTab(tabItem.id, tabItem.items);
	const click_handler_2 = () => changeStatus(businessInformation.opened);
	const click_handler_3 = group => editItems(group.id);

	return [
		businessInformation,
		menuTabs,
		openedAccordions,
		toggleAccordion,
		changeStatus,
		selectTab,
		withdrawMoney,
		refillBalance,
		editItems,
		handleClose,
		click_handler,
		click_handler_1,
		click_handler_2,
		click_handler_3
	];
}

class information_index_svelte_Information extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, business_information_index_svelte_instance, business_information_index_svelte_create_fragment, safe_not_equal, {}, business_information_index_svelte_add_css, [-1, -1]);
	}
}

/* harmony default export */ const business_information_index_svelte = (information_index_svelte_Information);
;// CONCATENATED MODULE: ./src/views/business/list/index.svelte
/* src\views\business\list\index.svelte generated by Svelte v3.49.0 */








function business_list_index_svelte_add_css(target) {
	append_styles(target, "svelte-yhq6ig", "@keyframes svelte-yhq6ig-blinking{50%{opacity:0}}@keyframes svelte-yhq6ig-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-yhq6ig-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-yhq6ig-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-yhq6ig-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-yhq6ig-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-yhq6ig-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-yhq6ig-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-yhq6ig-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-yhq6ig-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-yhq6ig-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-yhq6ig-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-yhq6ig-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-yhq6ig-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-yhq6ig-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.business-list.svelte-yhq6ig.svelte-yhq6ig{display:flex;align-items:center;flex-direction:column;width:100vw;height:100vh;background:radial-gradient(50% 50% at 50% 50%, rgba(19, 21, 22, 0) 0%, rgba(19, 21, 22, 0.65) 100%), rgba(19, 21, 22, 0.85)}.business-list__content-wrapper.svelte-yhq6ig.svelte-yhq6ig{box-sizing:border-box;position:absolute;overflow:auto;height:100vh;top:0;padding-top:calc(0.0833333333 * 100vw + 0px);padding-bottom:calc(0.0833333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-list__content-wrapper.svelte-yhq6ig.svelte-yhq6ig{padding-top:calc(0.0833333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-list__content-wrapper.svelte-yhq6ig.svelte-yhq6ig{padding-top:calc(0.0833333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-list__content-wrapper.svelte-yhq6ig.svelte-yhq6ig{padding-top:calc(0.0641666667 * 100vw + 0px)}}@media(min-width: 3440px){.business-list__content-wrapper.svelte-yhq6ig.svelte-yhq6ig{padding-top:calc(0.0916666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-list__content-wrapper.svelte-yhq6ig.svelte-yhq6ig{padding-top:calc(0.0583333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-list__content-wrapper.svelte-yhq6ig.svelte-yhq6ig{padding-top:calc(0.075 * 100vw + 0px)}}@media(min-width: 4096px){.business-list__content-wrapper.svelte-yhq6ig.svelte-yhq6ig{padding-top:calc(0.0916666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-list__content-wrapper.svelte-yhq6ig.svelte-yhq6ig{padding-bottom:calc(0.0833333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-list__content-wrapper.svelte-yhq6ig.svelte-yhq6ig{padding-bottom:calc(0.0833333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-list__content-wrapper.svelte-yhq6ig.svelte-yhq6ig{padding-bottom:calc(0.0641666667 * 100vw + 0px)}}@media(min-width: 3440px){.business-list__content-wrapper.svelte-yhq6ig.svelte-yhq6ig{padding-bottom:calc(0.0916666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-list__content-wrapper.svelte-yhq6ig.svelte-yhq6ig{padding-bottom:calc(0.0583333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-list__content-wrapper.svelte-yhq6ig.svelte-yhq6ig{padding-bottom:calc(0.075 * 100vw + 0px)}}@media(min-width: 4096px){.business-list__content-wrapper.svelte-yhq6ig.svelte-yhq6ig{padding-bottom:calc(0.0916666667 * 100vw + 0px)}}.business-list__content-wrapper.svelte-yhq6ig.svelte-yhq6ig::-webkit-scrollbar{display:none}.business-list__item.svelte-yhq6ig.svelte-yhq6ig{display:flex;justify-content:center;align-items:center;background-color:rgba(255, 255, 255, 0.05);transition:background-color 0.2s linear;cursor:pointer;border-radius:calc(0.0026041667 * 100vw + 0px);width:calc(0.3776041667 * 100vw + 0px);height:calc(0.078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-list__item.svelte-yhq6ig.svelte-yhq6ig{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-list__item.svelte-yhq6ig.svelte-yhq6ig{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-list__item.svelte-yhq6ig.svelte-yhq6ig{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.business-list__item.svelte-yhq6ig.svelte-yhq6ig{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-list__item.svelte-yhq6ig.svelte-yhq6ig{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-list__item.svelte-yhq6ig.svelte-yhq6ig{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.business-list__item.svelte-yhq6ig.svelte-yhq6ig{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-list__item.svelte-yhq6ig.svelte-yhq6ig{width:calc(0.3776041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-list__item.svelte-yhq6ig.svelte-yhq6ig{width:calc(0.3776041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-list__item.svelte-yhq6ig.svelte-yhq6ig{width:calc(0.2907552083 * 100vw + 0px)}}@media(min-width: 3440px){.business-list__item.svelte-yhq6ig.svelte-yhq6ig{width:calc(0.4153645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-list__item.svelte-yhq6ig.svelte-yhq6ig{width:calc(0.2643229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-list__item.svelte-yhq6ig.svelte-yhq6ig{width:calc(0.33984375 * 100vw + 0px)}}@media(min-width: 4096px){.business-list__item.svelte-yhq6ig.svelte-yhq6ig{width:calc(0.4153645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-list__item.svelte-yhq6ig.svelte-yhq6ig{height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-list__item.svelte-yhq6ig.svelte-yhq6ig{height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-list__item.svelte-yhq6ig.svelte-yhq6ig{height:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.business-list__item.svelte-yhq6ig.svelte-yhq6ig{height:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-list__item.svelte-yhq6ig.svelte-yhq6ig{height:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-list__item.svelte-yhq6ig.svelte-yhq6ig{height:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.business-list__item.svelte-yhq6ig.svelte-yhq6ig{height:calc(0.0859375 * 100vw + 0px)}}.business-list__item.svelte-yhq6ig.svelte-yhq6ig:not(:first-child){margin-top:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-list__item.svelte-yhq6ig.svelte-yhq6ig:not(:first-child){margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-list__item.svelte-yhq6ig.svelte-yhq6ig:not(:first-child){margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-list__item.svelte-yhq6ig.svelte-yhq6ig:not(:first-child){margin-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.business-list__item.svelte-yhq6ig.svelte-yhq6ig:not(:first-child){margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-list__item.svelte-yhq6ig.svelte-yhq6ig:not(:first-child){margin-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-list__item.svelte-yhq6ig.svelte-yhq6ig:not(:first-child){margin-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.business-list__item.svelte-yhq6ig.svelte-yhq6ig:not(:first-child){margin-top:calc(0.0143229167 * 100vw + 0px)}}.business-list__item.svelte-yhq6ig.svelte-yhq6ig:hover{background-color:rgba(255, 255, 255, 0.1)}.business-list__item-status-wrapper.svelte-yhq6ig.svelte-yhq6ig{display:flex;flex-direction:column;gap:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-list__item-status-wrapper.svelte-yhq6ig.svelte-yhq6ig{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-list__item-status-wrapper.svelte-yhq6ig.svelte-yhq6ig{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-list__item-status-wrapper.svelte-yhq6ig.svelte-yhq6ig{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.business-list__item-status-wrapper.svelte-yhq6ig.svelte-yhq6ig{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-list__item-status-wrapper.svelte-yhq6ig.svelte-yhq6ig{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-list__item-status-wrapper.svelte-yhq6ig.svelte-yhq6ig{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.business-list__item-status-wrapper.svelte-yhq6ig.svelte-yhq6ig{gap:calc(0.0057291667 * 100vw + 0px)}}.business-list__item-logo-wrapper.svelte-yhq6ig.svelte-yhq6ig{display:flex;justify-content:center;align-items:center;background-color:rgba(255, 255, 255, 0.05);border-radius:calc(0.0026041667 * 100vw + 0px);width:calc(0.0520833333 * 100vw + 0px);height:calc(0.0322916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-list__item-logo-wrapper.svelte-yhq6ig.svelte-yhq6ig{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-list__item-logo-wrapper.svelte-yhq6ig.svelte-yhq6ig{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-list__item-logo-wrapper.svelte-yhq6ig.svelte-yhq6ig{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.business-list__item-logo-wrapper.svelte-yhq6ig.svelte-yhq6ig{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-list__item-logo-wrapper.svelte-yhq6ig.svelte-yhq6ig{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-list__item-logo-wrapper.svelte-yhq6ig.svelte-yhq6ig{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.business-list__item-logo-wrapper.svelte-yhq6ig.svelte-yhq6ig{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-list__item-logo-wrapper.svelte-yhq6ig.svelte-yhq6ig{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-list__item-logo-wrapper.svelte-yhq6ig.svelte-yhq6ig{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-list__item-logo-wrapper.svelte-yhq6ig.svelte-yhq6ig{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.business-list__item-logo-wrapper.svelte-yhq6ig.svelte-yhq6ig{width:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-list__item-logo-wrapper.svelte-yhq6ig.svelte-yhq6ig{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-list__item-logo-wrapper.svelte-yhq6ig.svelte-yhq6ig{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.business-list__item-logo-wrapper.svelte-yhq6ig.svelte-yhq6ig{width:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-list__item-logo-wrapper.svelte-yhq6ig.svelte-yhq6ig{height:calc(0.0322916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-list__item-logo-wrapper.svelte-yhq6ig.svelte-yhq6ig{height:calc(0.0322916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-list__item-logo-wrapper.svelte-yhq6ig.svelte-yhq6ig{height:calc(0.0248645833 * 100vw + 0px)}}@media(min-width: 3440px){.business-list__item-logo-wrapper.svelte-yhq6ig.svelte-yhq6ig{height:calc(0.0355208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-list__item-logo-wrapper.svelte-yhq6ig.svelte-yhq6ig{height:calc(0.0226041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-list__item-logo-wrapper.svelte-yhq6ig.svelte-yhq6ig{height:calc(0.0290625 * 100vw + 0px)}}@media(min-width: 4096px){.business-list__item-logo-wrapper.svelte-yhq6ig.svelte-yhq6ig{height:calc(0.0355208333 * 100vw + 0px)}}.business-list__item-logo.svelte-yhq6ig.svelte-yhq6ig{color:#FFFFFF;font-size:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-list__item-logo.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-list__item-logo.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-list__item-logo.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.business-list__item-logo.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-list__item-logo.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-list__item-logo.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.business-list__item-logo.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0200520833 * 100vw + 0px)}}.business-list__item-status.svelte-yhq6ig.svelte-yhq6ig{display:flex;align-items:center;justify-content:center;background-color:rgba(96, 202, 93, 0.25);cursor:pointer;transition:transform 0.2s linear;border-radius:calc(0.0026041667 * 100vw + 0px);width:calc(0.0520833333 * 100vw + 0px);height:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-list__item-status.svelte-yhq6ig.svelte-yhq6ig{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-list__item-status.svelte-yhq6ig.svelte-yhq6ig{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-list__item-status.svelte-yhq6ig.svelte-yhq6ig{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.business-list__item-status.svelte-yhq6ig.svelte-yhq6ig{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-list__item-status.svelte-yhq6ig.svelte-yhq6ig{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-list__item-status.svelte-yhq6ig.svelte-yhq6ig{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.business-list__item-status.svelte-yhq6ig.svelte-yhq6ig{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-list__item-status.svelte-yhq6ig.svelte-yhq6ig{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-list__item-status.svelte-yhq6ig.svelte-yhq6ig{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-list__item-status.svelte-yhq6ig.svelte-yhq6ig{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.business-list__item-status.svelte-yhq6ig.svelte-yhq6ig{width:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-list__item-status.svelte-yhq6ig.svelte-yhq6ig{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-list__item-status.svelte-yhq6ig.svelte-yhq6ig{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.business-list__item-status.svelte-yhq6ig.svelte-yhq6ig{width:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-list__item-status.svelte-yhq6ig.svelte-yhq6ig{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-list__item-status.svelte-yhq6ig.svelte-yhq6ig{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-list__item-status.svelte-yhq6ig.svelte-yhq6ig{height:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.business-list__item-status.svelte-yhq6ig.svelte-yhq6ig{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-list__item-status.svelte-yhq6ig.svelte-yhq6ig{height:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-list__item-status.svelte-yhq6ig.svelte-yhq6ig{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.business-list__item-status.svelte-yhq6ig.svelte-yhq6ig{height:calc(0.0200520833 * 100vw + 0px)}}.business-list__item-status.svelte-yhq6ig.svelte-yhq6ig:active{transform:scale(1.05)}.business-list__item-status--opened.svelte-yhq6ig.svelte-yhq6ig{background-color:rgba(255, 29, 63, 0.25)}.business-list__item-status--opened.svelte-yhq6ig .business-list__item-status-title.svelte-yhq6ig{color:#FF546E}.business-list__item-status-title.svelte-yhq6ig.svelte-yhq6ig{font-family:\"GothamPro\";color:#60CA5D;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-list__item-status-title.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-list__item-status-title.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-list__item-status-title.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.business-list__item-status-title.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-list__item-status-title.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-list__item-status-title.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.business-list__item-status-title.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0091666667 * 100vw + 0px)}}.business-list__item-stats-wrapper.svelte-yhq6ig.svelte-yhq6ig{margin-left:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-list__item-stats-wrapper.svelte-yhq6ig.svelte-yhq6ig{margin-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-list__item-stats-wrapper.svelte-yhq6ig.svelte-yhq6ig{margin-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-list__item-stats-wrapper.svelte-yhq6ig.svelte-yhq6ig{margin-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.business-list__item-stats-wrapper.svelte-yhq6ig.svelte-yhq6ig{margin-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-list__item-stats-wrapper.svelte-yhq6ig.svelte-yhq6ig{margin-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-list__item-stats-wrapper.svelte-yhq6ig.svelte-yhq6ig{margin-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.business-list__item-stats-wrapper.svelte-yhq6ig.svelte-yhq6ig{margin-left:calc(0.0143229167 * 100vw + 0px)}}.business-list__item-title-wrapper.svelte-yhq6ig.svelte-yhq6ig{display:flex;align-items:center;gap:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-list__item-title-wrapper.svelte-yhq6ig.svelte-yhq6ig{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-list__item-title-wrapper.svelte-yhq6ig.svelte-yhq6ig{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-list__item-title-wrapper.svelte-yhq6ig.svelte-yhq6ig{gap:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.business-list__item-title-wrapper.svelte-yhq6ig.svelte-yhq6ig{gap:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-list__item-title-wrapper.svelte-yhq6ig.svelte-yhq6ig{gap:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-list__item-title-wrapper.svelte-yhq6ig.svelte-yhq6ig{gap:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.business-list__item-title-wrapper.svelte-yhq6ig.svelte-yhq6ig{gap:calc(0.00859375 * 100vw + 0px)}}.business-list__item-title.svelte-yhq6ig.svelte-yhq6ig{font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-list__item-title.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-list__item-title.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-list__item-title.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.business-list__item-title.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-list__item-title.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-list__item-title.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.business-list__item-title.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0183333333 * 100vw + 0px)}}.business-list__item-title-number-wrapper.svelte-yhq6ig.svelte-yhq6ig{display:flex;align-items:center;justify-content:center;background-color:rgba(255, 255, 255, 0.1);border-radius:calc(0.0026041667 * 100vw + 0px);width:calc(0.040625 * 100vw + 0px);height:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-list__item-title-number-wrapper.svelte-yhq6ig.svelte-yhq6ig{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-list__item-title-number-wrapper.svelte-yhq6ig.svelte-yhq6ig{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-list__item-title-number-wrapper.svelte-yhq6ig.svelte-yhq6ig{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.business-list__item-title-number-wrapper.svelte-yhq6ig.svelte-yhq6ig{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-list__item-title-number-wrapper.svelte-yhq6ig.svelte-yhq6ig{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-list__item-title-number-wrapper.svelte-yhq6ig.svelte-yhq6ig{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.business-list__item-title-number-wrapper.svelte-yhq6ig.svelte-yhq6ig{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-list__item-title-number-wrapper.svelte-yhq6ig.svelte-yhq6ig{width:calc(0.040625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-list__item-title-number-wrapper.svelte-yhq6ig.svelte-yhq6ig{width:calc(0.040625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-list__item-title-number-wrapper.svelte-yhq6ig.svelte-yhq6ig{width:calc(0.03128125 * 100vw + 0px)}}@media(min-width: 3440px){.business-list__item-title-number-wrapper.svelte-yhq6ig.svelte-yhq6ig{width:calc(0.0446875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-list__item-title-number-wrapper.svelte-yhq6ig.svelte-yhq6ig{width:calc(0.0284375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-list__item-title-number-wrapper.svelte-yhq6ig.svelte-yhq6ig{width:calc(0.0365625 * 100vw + 0px)}}@media(min-width: 4096px){.business-list__item-title-number-wrapper.svelte-yhq6ig.svelte-yhq6ig{width:calc(0.0446875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-list__item-title-number-wrapper.svelte-yhq6ig.svelte-yhq6ig{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-list__item-title-number-wrapper.svelte-yhq6ig.svelte-yhq6ig{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-list__item-title-number-wrapper.svelte-yhq6ig.svelte-yhq6ig{height:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.business-list__item-title-number-wrapper.svelte-yhq6ig.svelte-yhq6ig{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-list__item-title-number-wrapper.svelte-yhq6ig.svelte-yhq6ig{height:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-list__item-title-number-wrapper.svelte-yhq6ig.svelte-yhq6ig{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.business-list__item-title-number-wrapper.svelte-yhq6ig.svelte-yhq6ig{height:calc(0.0200520833 * 100vw + 0px)}}.business-list__item-title-number.svelte-yhq6ig.svelte-yhq6ig{font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-list__item-title-number.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-list__item-title-number.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-list__item-title-number.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.business-list__item-title-number.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-list__item-title-number.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-list__item-title-number.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.business-list__item-title-number.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0091666667 * 100vw + 0px)}}.business-list__item-stats.svelte-yhq6ig.svelte-yhq6ig{display:flex;gap:calc(0.0067708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-list__item-stats.svelte-yhq6ig.svelte-yhq6ig{gap:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-list__item-stats.svelte-yhq6ig.svelte-yhq6ig{gap:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-list__item-stats.svelte-yhq6ig.svelte-yhq6ig{gap:calc(0.0052135417 * 100vw + 0px)}}@media(min-width: 3440px){.business-list__item-stats.svelte-yhq6ig.svelte-yhq6ig{gap:calc(0.0074479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-list__item-stats.svelte-yhq6ig.svelte-yhq6ig{gap:calc(0.0047395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-list__item-stats.svelte-yhq6ig.svelte-yhq6ig{gap:calc(0.00609375 * 100vw + 0px)}}@media(min-width: 4096px){.business-list__item-stats.svelte-yhq6ig.svelte-yhq6ig{gap:calc(0.0074479167 * 100vw + 0px)}}.business-list__item-stats-item.svelte-yhq6ig.svelte-yhq6ig{display:flex;align-items:center;width:calc(0.0911458333 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px);margin-top:calc(0.0088541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-list__item-stats-item.svelte-yhq6ig.svelte-yhq6ig{width:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-list__item-stats-item.svelte-yhq6ig.svelte-yhq6ig{width:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-list__item-stats-item.svelte-yhq6ig.svelte-yhq6ig{width:calc(0.0701822917 * 100vw + 0px)}}@media(min-width: 3440px){.business-list__item-stats-item.svelte-yhq6ig.svelte-yhq6ig{width:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-list__item-stats-item.svelte-yhq6ig.svelte-yhq6ig{width:calc(0.0638020833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-list__item-stats-item.svelte-yhq6ig.svelte-yhq6ig{width:calc(0.08203125 * 100vw + 0px)}}@media(min-width: 4096px){.business-list__item-stats-item.svelte-yhq6ig.svelte-yhq6ig{width:calc(0.1002604167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-list__item-stats-item.svelte-yhq6ig.svelte-yhq6ig{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-list__item-stats-item.svelte-yhq6ig.svelte-yhq6ig{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-list__item-stats-item.svelte-yhq6ig.svelte-yhq6ig{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.business-list__item-stats-item.svelte-yhq6ig.svelte-yhq6ig{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-list__item-stats-item.svelte-yhq6ig.svelte-yhq6ig{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-list__item-stats-item.svelte-yhq6ig.svelte-yhq6ig{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.business-list__item-stats-item.svelte-yhq6ig.svelte-yhq6ig{height:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-list__item-stats-item.svelte-yhq6ig.svelte-yhq6ig{margin-top:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-list__item-stats-item.svelte-yhq6ig.svelte-yhq6ig{margin-top:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-list__item-stats-item.svelte-yhq6ig.svelte-yhq6ig{margin-top:calc(0.0068177083 * 100vw + 0px)}}@media(min-width: 3440px){.business-list__item-stats-item.svelte-yhq6ig.svelte-yhq6ig{margin-top:calc(0.0097395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-list__item-stats-item.svelte-yhq6ig.svelte-yhq6ig{margin-top:calc(0.0061979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-list__item-stats-item.svelte-yhq6ig.svelte-yhq6ig{margin-top:calc(0.00796875 * 100vw + 0px)}}@media(min-width: 4096px){.business-list__item-stats-item.svelte-yhq6ig.svelte-yhq6ig{margin-top:calc(0.0097395833 * 100vw + 0px)}}.business-list__item-stats-item-icon.svelte-yhq6ig.svelte-yhq6ig{color:#FFFFFF;font-size:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-list__item-stats-item-icon.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-list__item-stats-item-icon.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-list__item-stats-item-icon.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.business-list__item-stats-item-icon.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-list__item-stats-item-icon.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-list__item-stats-item-icon.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.business-list__item-stats-item-icon.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0143229167 * 100vw + 0px)}}.business-list__item-stats-item-value-wrapper.svelte-yhq6ig.svelte-yhq6ig{margin-left:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-list__item-stats-item-value-wrapper.svelte-yhq6ig.svelte-yhq6ig{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-list__item-stats-item-value-wrapper.svelte-yhq6ig.svelte-yhq6ig{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-list__item-stats-item-value-wrapper.svelte-yhq6ig.svelte-yhq6ig{margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.business-list__item-stats-item-value-wrapper.svelte-yhq6ig.svelte-yhq6ig{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-list__item-stats-item-value-wrapper.svelte-yhq6ig.svelte-yhq6ig{margin-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-list__item-stats-item-value-wrapper.svelte-yhq6ig.svelte-yhq6ig{margin-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.business-list__item-stats-item-value-wrapper.svelte-yhq6ig.svelte-yhq6ig{margin-left:calc(0.0057291667 * 100vw + 0px)}}.business-list__item-stats-item-value.svelte-yhq6ig.svelte-yhq6ig{font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-list__item-stats-item-value.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-list__item-stats-item-value.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-list__item-stats-item-value.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.business-list__item-stats-item-value.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-list__item-stats-item-value.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-list__item-stats-item-value.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.business-list__item-stats-item-value.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0091666667 * 100vw + 0px)}}.business-list__item-stats-item-value-title.svelte-yhq6ig.svelte-yhq6ig{font-family:\"GothamPro\";color:#999999;font-size:calc(0.0072916667 * 100vw + 0px);margin-top:calc(0.0010416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.business-list__item-stats-item-value-title.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-list__item-stats-item-value-title.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-list__item-stats-item-value-title.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.business-list__item-stats-item-value-title.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-list__item-stats-item-value-title.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-list__item-stats-item-value-title.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.business-list__item-stats-item-value-title.svelte-yhq6ig.svelte-yhq6ig{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.business-list__item-stats-item-value-title.svelte-yhq6ig.svelte-yhq6ig{margin-top:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.business-list__item-stats-item-value-title.svelte-yhq6ig.svelte-yhq6ig{margin-top:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.business-list__item-stats-item-value-title.svelte-yhq6ig.svelte-yhq6ig{margin-top:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.business-list__item-stats-item-value-title.svelte-yhq6ig.svelte-yhq6ig{margin-top:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.business-list__item-stats-item-value-title.svelte-yhq6ig.svelte-yhq6ig{margin-top:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.business-list__item-stats-item-value-title.svelte-yhq6ig.svelte-yhq6ig{margin-top:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.business-list__item-stats-item-value-title.svelte-yhq6ig.svelte-yhq6ig{margin-top:calc(0.0011458333 * 100vw + 0px)}}");
}

function business_list_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[10] = list[i];
	child_ctx[12] = i;
	return child_ctx;
}

function business_list_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[13] = list[i];
	return child_ctx;
}

// (1459:24) {#each item.stats as stat}
function business_list_index_svelte_create_each_block_1(ctx) {
	let div1;
	let i;
	let i_class_value;
	let t0;
	let div0;
	let p0;
	let t1_value = /*stat*/ ctx[13].value + "";
	let t1;
	let t2;
	let p1;
	let t3_value = /*stat*/ ctx[13].title + "";
	let t3;
	let t4;

	return {
		c() {
			div1 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div0 = internal_element("div");
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			p1 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = space();
			attr(i, "class", i_class_value = "business-list__item-stats-item-icon " + /*stat*/ ctx[13].icon + " svelte-yhq6ig");
			attr(p0, "class", "business-list__item-stats-item-value svelte-yhq6ig");
			attr(p1, "class", "business-list__item-stats-item-value-title svelte-yhq6ig");
			attr(div0, "class", "business-list__item-stats-item-value-wrapper svelte-yhq6ig");
			attr(div1, "class", "business-list__item-stats-item svelte-yhq6ig");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, i);
			append(div1, t0);
			append(div1, div0);
			append(div0, p0);
			append(p0, t1);
			append(div0, t2);
			append(div0, p1);
			append(p1, t3);
			append(div1, t4);
		},
		p(ctx, dirty) {
			if (dirty & /*businessList*/ 1 && i_class_value !== (i_class_value = "business-list__item-stats-item-icon " + /*stat*/ ctx[13].icon + " svelte-yhq6ig")) {
				attr(i, "class", i_class_value);
			}

			if (dirty & /*businessList*/ 1 && t1_value !== (t1_value = /*stat*/ ctx[13].value + "")) set_data(t1, t1_value);
			if (dirty & /*businessList*/ 1 && t3_value !== (t3_value = /*stat*/ ctx[13].title + "")) set_data(t3, t3_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (1431:8) {#each businessList as item, index}
function business_list_index_svelte_create_each_block(ctx) {
	let div7;
	let div2;
	let div0;
	let i;
	let i_class_value;
	let t0;
	let div1;
	let p0;
	let t1_value = (/*item*/ ctx[10].opened ? 'Закрыто' : 'Открыто') + "";
	let t1;
	let t2;
	let div6;
	let div4;
	let p1;
	let t3_value = /*item*/ ctx[10].title + "";
	let t3;
	let t4;
	let div3;
	let p2;
	let t5;
	let t6_value = /*item*/ ctx[10].id + "";
	let t6;
	let t7;
	let div5;
	let t8;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[4](/*item*/ ctx[10]);
	}

	let each_value_1 = /*item*/ ctx[10].stats;
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = business_list_index_svelte_create_each_block_1(business_list_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	function click_handler_1() {
		return /*click_handler_1*/ ctx[5](/*item*/ ctx[10]);
	}

	return {
		c() {
			div7 = internal_element("div");
			div2 = internal_element("div");
			div0 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div1 = internal_element("div");
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			div6 = internal_element("div");
			div4 = internal_element("div");
			p1 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = space();
			div3 = internal_element("div");
			p2 = internal_element("p");
			t5 = internal_text("№");
			t6 = internal_text(t6_value);
			t7 = space();
			div5 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t8 = space();
			attr(i, "class", i_class_value = "business-list__item-logo " + MAP_TYPE_TO_ICON[/*item*/ ctx[10].type] + " svelte-yhq6ig");
			attr(div0, "class", "business-list__item-logo-wrapper svelte-yhq6ig");
			attr(p0, "class", "business-list__item-status-title svelte-yhq6ig");
			attr(div1, "class", "business-list__item-status svelte-yhq6ig");
			toggle_class(div1, "business-list__item-status--opened", /*item*/ ctx[10].opened);
			attr(div2, "class", "business-list__item-status-wrapper svelte-yhq6ig");
			attr(p1, "class", "business-list__item-title svelte-yhq6ig");
			attr(p2, "class", "business-list__item-title-number svelte-yhq6ig");
			attr(div3, "class", "business-list__item-title-number-wrapper svelte-yhq6ig");
			attr(div4, "class", "business-list__item-title-wrapper svelte-yhq6ig");
			attr(div5, "class", "business-list__item-stats svelte-yhq6ig");
			attr(div6, "class", "business-list__item-stats-wrapper svelte-yhq6ig");
			attr(div7, "class", "business-list__item svelte-yhq6ig");
		},
		m(target, anchor) {
			insert(target, div7, anchor);
			append(div7, div2);
			append(div2, div0);
			append(div0, i);
			append(div2, t0);
			append(div2, div1);
			append(div1, p0);
			append(p0, t1);
			append(div7, t2);
			append(div7, div6);
			append(div6, div4);
			append(div4, p1);
			append(p1, t3);
			append(div4, t4);
			append(div4, div3);
			append(div3, p2);
			append(p2, t5);
			append(p2, t6);
			append(div6, t7);
			append(div6, div5);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div5, null);
			}

			append(div7, t8);

			if (!mounted) {
				dispose = [
					listen(div1, "click", stop_propagation(click_handler)),
					listen(div7, "click", click_handler_1)
				];

				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*businessList*/ 1 && i_class_value !== (i_class_value = "business-list__item-logo " + MAP_TYPE_TO_ICON[/*item*/ ctx[10].type] + " svelte-yhq6ig")) {
				attr(i, "class", i_class_value);
			}

			if (dirty & /*businessList*/ 1 && t1_value !== (t1_value = (/*item*/ ctx[10].opened ? 'Закрыто' : 'Открыто') + "")) set_data(t1, t1_value);

			if (dirty & /*businessList*/ 1) {
				toggle_class(div1, "business-list__item-status--opened", /*item*/ ctx[10].opened);
			}

			if (dirty & /*businessList*/ 1 && t3_value !== (t3_value = /*item*/ ctx[10].title + "")) set_data(t3, t3_value);
			if (dirty & /*businessList*/ 1 && t6_value !== (t6_value = /*item*/ ctx[10].id + "")) set_data(t6, t6_value);

			if (dirty & /*businessList*/ 1) {
				each_value_1 = /*item*/ ctx[10].stats;
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = business_list_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = business_list_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div5, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}
		},
		d(detaching) {
			if (detaching) detach(div7);
			destroy_each(each_blocks, detaching);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function business_list_index_svelte_create_fragment(ctx) {
	let div1;
	let exitbutton;
	let t;
	let div0;
	let current;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[3],
				fixedPosition: true
			}
		});

	let each_value = /*businessList*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = business_list_index_svelte_create_each_block(business_list_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div1 = internal_element("div");
			create_component(exitbutton.$$.fragment);
			t = space();
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div0, "class", "business-list__content-wrapper svelte-yhq6ig");
			attr(div1, "class", "business-list svelte-yhq6ig");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			mount_component(exitbutton, div1, null);
			append(div1, t);
			append(div1, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*handleBusinessSelect, businessList, changeOpenedStatus, MAP_TYPE_TO_ICON*/ 7) {
				each_value = /*businessList*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = business_list_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = business_list_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div0, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			destroy_component(exitbutton);
			destroy_each(each_blocks, detaching);
		}
	};
}

function business_list_index_svelte_instance($$self, $$props, $$invalidate) {
	let businessList = [];

	const initializeBusinessList = businessListDto => {
		$$invalidate(0, businessList = businessListDto);
	};

	const pushItemsInList = itemsDto => {
		$$invalidate(0, businessList = [...businessList, ...itemsDto]);
	};

	const changeOpenedStatus = id => {
		const index = businessList.findIndex(el => el.id === id);
		$$invalidate(0, businessList[index].opened = !businessList[index].opened, businessList);
		sendClientMessage('business.list.changeOpenedStatus', businessList[index].opened, id);
	};

	const handleBusinessSelect = id => {
		sendClientMessage('business.list.select', id);
	};

	const handleClose = () => {
		
	}; // exec close event

	const unregisterBusinessListEvent = registerEvent('event.business.list.initialize', initializeBusinessList);
	const unregisterBusinessListPushItemsEvent = registerEvent('event.business.list.pushItems', pushItemsInList);

	onDestroy(() => {
		unregisterBusinessListEvent();
		unregisterBusinessListPushItemsEvent();
	});

	const click_handler = item => changeOpenedStatus(item.id);
	const click_handler_1 = item => handleBusinessSelect(item.id);

	return [
		businessList,
		changeOpenedStatus,
		handleBusinessSelect,
		handleClose,
		click_handler,
		click_handler_1
	];
}

class list_index_svelte_List extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, business_list_index_svelte_instance, business_list_index_svelte_create_fragment, safe_not_equal, {}, business_list_index_svelte_add_css);
	}
}

/* harmony default export */ const business_list_index_svelte = (list_index_svelte_List);
;// CONCATENATED MODULE: ./src/views/excavations/img/shovel.svg
const shovel_namespaceObject = __webpack_require__.p + "assets/aeb3a8ff493fa80fdcea.svg";
;// CONCATENATED MODULE: ./src/views/excavations/img/arrow.svg
const excavations_img_arrow_namespaceObject = __webpack_require__.p + "assets/8b854c1f56df68e1eec5.svg";
;// CONCATENATED MODULE: ./src/views/excavations/img/info-img.svg
const excavations_img_info_img_namespaceObject = __webpack_require__.p + "assets/2e725ebd52073bce383e.svg";
;// CONCATENATED MODULE: ./src/views/excavations/img/mouse-img.svg
const mouse_img_namespaceObject = __webpack_require__.p + "assets/a545b83068afe7479d80.svg";
;// CONCATENATED MODULE: ./src/views/excavations/img/background.png
const excavations_img_background_namespaceObject = __webpack_require__.p + "assets/3417ba3c2725233e1e47.webp";
;// CONCATENATED MODULE: ./src/views/excavations/components/circle-progress/index.svelte
/* src\views\excavations\components\circle-progress\index.svelte generated by Svelte v3.49.0 */




function components_circle_progress_index_svelte_add_css(target) {
	append_styles(target, "svelte-1o20eab", "@keyframes svelte-1o20eab-blinking{50%{opacity:0}}@keyframes svelte-1o20eab-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1o20eab-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1o20eab-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1o20eab-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1o20eab-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1o20eab-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1o20eab-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1o20eab-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1o20eab-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1o20eab-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1o20eab-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1o20eab-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1o20eab-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1o20eab-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.bar-indicator.svelte-1o20eab{transform:rotate(270deg);vertical-align:middle;width:100%;height:100%;--stroke-width:7px}.bar-indicator__line.svelte-1o20eab{stroke:rgba(255, 255, 255, 0.25);fill:transparent;stroke-width:var(--stroke-width)}.bar-indicator__line-fill.svelte-1o20eab{fill:transparent;stroke-width:var(--stroke-width)}");
}

function components_circle_progress_index_svelte_create_fragment(ctx) {
	let svg;
	let circle0;
	let circle1;
	let circle1_stroke_value;
	let circle1_style_value;
	let svg_style_value;
	let mounted;
	let dispose;

	return {
		c() {
			svg = svg_element("svg");
			circle0 = svg_element("circle");
			circle1 = svg_element("circle");
			attr(circle0, "class", "bar-indicator__line svelte-1o20eab");
			attr(circle0, "cx", /*center*/ ctx[8]);
			attr(circle0, "cy", /*center*/ ctx[8]);
			attr(circle0, "r", /*radius*/ ctx[5]);
			attr(circle1, "class", "bar-indicator__line-fill svelte-1o20eab");
			attr(circle1, "cx", /*center*/ ctx[8]);
			attr(circle1, "cy", /*center*/ ctx[8]);
			attr(circle1, "r", /*radius*/ ctx[5]);

			attr(circle1, "stroke", circle1_stroke_value = /*percents*/ ctx[2] <= /*finalPercents*/ ctx[3]
			? /*color*/ ctx[0]
			: /*finalColor*/ ctx[1]);

			attr(circle1, "style", circle1_style_value = `stroke-dashoffset: ${/*progressOffset*/ ctx[9]}; stroke-dasharray: ${/*circumference*/ ctx[6]};`);
			attr(svg, "class", "bar-indicator svelte-1o20eab");
			attr(svg, "style", svg_style_value = `--stroke-width: ${/*strokeWidth*/ ctx[4]}`);
		},
		m(target, anchor) {
			insert(target, svg, anchor);
			append(svg, circle0);
			append(svg, circle1);
			/*svg_binding*/ ctx[12](svg);

			if (!mounted) {
				dispose = listen(window, "resize", /*calculateCircleWidthAndStrokeWidth*/ ctx[10]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*center*/ 256) {
				attr(circle0, "cx", /*center*/ ctx[8]);
			}

			if (dirty & /*center*/ 256) {
				attr(circle0, "cy", /*center*/ ctx[8]);
			}

			if (dirty & /*radius*/ 32) {
				attr(circle0, "r", /*radius*/ ctx[5]);
			}

			if (dirty & /*center*/ 256) {
				attr(circle1, "cx", /*center*/ ctx[8]);
			}

			if (dirty & /*center*/ 256) {
				attr(circle1, "cy", /*center*/ ctx[8]);
			}

			if (dirty & /*radius*/ 32) {
				attr(circle1, "r", /*radius*/ ctx[5]);
			}

			if (dirty & /*percents, finalPercents, color, finalColor*/ 15 && circle1_stroke_value !== (circle1_stroke_value = /*percents*/ ctx[2] <= /*finalPercents*/ ctx[3]
			? /*color*/ ctx[0]
			: /*finalColor*/ ctx[1])) {
				attr(circle1, "stroke", circle1_stroke_value);
			}

			if (dirty & /*progressOffset, circumference*/ 576 && circle1_style_value !== (circle1_style_value = `stroke-dashoffset: ${/*progressOffset*/ ctx[9]}; stroke-dasharray: ${/*circumference*/ ctx[6]};`)) {
				attr(circle1, "style", circle1_style_value);
			}

			if (dirty & /*strokeWidth*/ 16 && svg_style_value !== (svg_style_value = `--stroke-width: ${/*strokeWidth*/ ctx[4]}`)) {
				attr(svg, "style", svg_style_value);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(svg);
			/*svg_binding*/ ctx[12](null);
			mounted = false;
			dispose();
		}
	};
}

function components_circle_progress_index_svelte_instance($$self, $$props, $$invalidate) {
	let { color = '#FFFFFF' } = $$props;
	let { finalColor = '#76D355' } = $$props;
	let { percents = 0 } = $$props;
	let { finalPercents = 70 } = $$props;
	let { strokeWidth } = $$props;
	let svgContainerRef = null;
	let width = 0;
	let radius = 0;
	let center = 0;
	let circumference = 0;
	let progressOffset = 0;

	const calculateCircleWidthAndStrokeWidth = () => {
		$$invalidate(11, width = svgContainerRef.getBoundingClientRect().width);
	};

	onMount(() => calculateCircleWidthAndStrokeWidth());

	function svg_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			svgContainerRef = $$value;
			$$invalidate(7, svgContainerRef);
		});
	}

	$$self.$$set = $$props => {
		if ('color' in $$props) $$invalidate(0, color = $$props.color);
		if ('finalColor' in $$props) $$invalidate(1, finalColor = $$props.finalColor);
		if ('percents' in $$props) $$invalidate(2, percents = $$props.percents);
		if ('finalPercents' in $$props) $$invalidate(3, finalPercents = $$props.finalPercents);
		if ('strokeWidth' in $$props) $$invalidate(4, strokeWidth = $$props.strokeWidth);
	};

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*width, strokeWidth, radius, percents, circumference*/ 2164) {
			$: {
				$$invalidate(5, radius = Math.abs(width / 2 - Number(strokeWidth) / 2));
				$$invalidate(8, center = width / 2);
				$$invalidate(6, circumference = 2 * Math.PI * radius);
				$$invalidate(9, progressOffset = (100 - percents) / 100 * circumference);
			}
		}
	};

	return [
		color,
		finalColor,
		percents,
		finalPercents,
		strokeWidth,
		radius,
		circumference,
		svgContainerRef,
		center,
		progressOffset,
		calculateCircleWidthAndStrokeWidth,
		width,
		svg_binding
	];
}

class index_svelte_Circle_progress extends SvelteComponent {
	constructor(options) {
		super();

		init(
			this,
			options,
			components_circle_progress_index_svelte_instance,
			components_circle_progress_index_svelte_create_fragment,
			safe_not_equal,
			{
				color: 0,
				finalColor: 1,
				percents: 2,
				finalPercents: 3,
				strokeWidth: 4
			},
			components_circle_progress_index_svelte_add_css
		);
	}
}

/* harmony default export */ const components_circle_progress_index_svelte = (index_svelte_Circle_progress);
;// CONCATENATED MODULE: ./src/views/excavations/index.svelte
/* src\views\excavations\index.svelte generated by Svelte v3.49.0 */











function excavations_index_svelte_add_css(target) {
	append_styles(target, "svelte-jfkqdd", "@keyframes svelte-jfkqdd-blinking{50%{opacity:0}}@keyframes svelte-jfkqdd-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-jfkqdd-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-jfkqdd-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-jfkqdd-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-jfkqdd-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-jfkqdd-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-jfkqdd-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-jfkqdd-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-jfkqdd-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-jfkqdd-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-jfkqdd-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-jfkqdd-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-jfkqdd-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-jfkqdd-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.excavations.svelte-jfkqdd{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100vw;height:100vh}.excavations__background.svelte-jfkqdd{z-index:-1;position:absolute;width:100%;height:100%}.excavations__title.svelte-jfkqdd{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.01875 * 100vw + 0px);margin-bottom:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.excavations__title.svelte-jfkqdd{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.excavations__title.svelte-jfkqdd{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.excavations__title.svelte-jfkqdd{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.excavations__title.svelte-jfkqdd{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.excavations__title.svelte-jfkqdd{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.excavations__title.svelte-jfkqdd{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.excavations__title.svelte-jfkqdd{font-size:calc(0.020625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.excavations__title.svelte-jfkqdd{margin-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.excavations__title.svelte-jfkqdd{margin-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.excavations__title.svelte-jfkqdd{margin-bottom:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.excavations__title.svelte-jfkqdd{margin-bottom:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.excavations__title.svelte-jfkqdd{margin-bottom:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.excavations__title.svelte-jfkqdd{margin-bottom:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.excavations__title.svelte-jfkqdd{margin-bottom:calc(0.0103125 * 100vw + 0px)}}.excavations__description.svelte-jfkqdd{font-family:\"GothamPro-Light\";color:#FFFFFF;text-align:center;font-size:calc(0.009375 * 100vw + 0px);margin-bottom:calc(0.1072916667 * 100vw + 0px);width:calc(0.1291666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.excavations__description.svelte-jfkqdd{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.excavations__description.svelte-jfkqdd{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.excavations__description.svelte-jfkqdd{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.excavations__description.svelte-jfkqdd{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.excavations__description.svelte-jfkqdd{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.excavations__description.svelte-jfkqdd{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.excavations__description.svelte-jfkqdd{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.excavations__description.svelte-jfkqdd{margin-bottom:calc(0.1072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.excavations__description.svelte-jfkqdd{margin-bottom:calc(0.1072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.excavations__description.svelte-jfkqdd{margin-bottom:calc(0.0826145833 * 100vw + 0px)}}@media(min-width: 3440px){.excavations__description.svelte-jfkqdd{margin-bottom:calc(0.1180208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.excavations__description.svelte-jfkqdd{margin-bottom:calc(0.0751041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.excavations__description.svelte-jfkqdd{margin-bottom:calc(0.0965625 * 100vw + 0px)}}@media(min-width: 4096px){.excavations__description.svelte-jfkqdd{margin-bottom:calc(0.1180208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.excavations__description.svelte-jfkqdd{width:calc(0.1291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.excavations__description.svelte-jfkqdd{width:calc(0.1291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.excavations__description.svelte-jfkqdd{width:calc(0.0994583333 * 100vw + 0px)}}@media(min-width: 3440px){.excavations__description.svelte-jfkqdd{width:calc(0.1420833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.excavations__description.svelte-jfkqdd{width:calc(0.0904166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.excavations__description.svelte-jfkqdd{width:calc(0.11625 * 100vw + 0px)}}@media(min-width: 4096px){.excavations__description.svelte-jfkqdd{width:calc(0.1420833333 * 100vw + 0px)}}.excavations__description--bold.svelte-jfkqdd{font-family:\"GothamPro-Medium\"}.excavations__circle.svelte-jfkqdd{display:flex;align-items:center;justify-content:center;background-color:rgba(0, 0, 0, 0.35);border-radius:100%;width:calc(0.1822916667 * 100vw + 0px);height:calc(0.1822916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.excavations__circle.svelte-jfkqdd{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.excavations__circle.svelte-jfkqdd{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.excavations__circle.svelte-jfkqdd{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.excavations__circle.svelte-jfkqdd{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.excavations__circle.svelte-jfkqdd{width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.excavations__circle.svelte-jfkqdd{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.excavations__circle.svelte-jfkqdd{width:calc(0.2005208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.excavations__circle.svelte-jfkqdd{height:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.excavations__circle.svelte-jfkqdd{height:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.excavations__circle.svelte-jfkqdd{height:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.excavations__circle.svelte-jfkqdd{height:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.excavations__circle.svelte-jfkqdd{height:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.excavations__circle.svelte-jfkqdd{height:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.excavations__circle.svelte-jfkqdd{height:calc(0.2005208333 * 100vw + 0px)}}.excavations__circle--shadowTransition.svelte-jfkqdd::before{z-index:-1;content:\"\";position:absolute;background-color:#76D355;filter:blur(250px);opacity:100%;animation:svelte-jfkqdd-shadowOpacity 0.2s linear;width:calc(0.2083333333 * 100vw + 0px);height:calc(0.2083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.excavations__circle--shadowTransition.svelte-jfkqdd::before{width:calc(0.2083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.excavations__circle--shadowTransition.svelte-jfkqdd::before{width:calc(0.2083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.excavations__circle--shadowTransition.svelte-jfkqdd::before{width:calc(0.1604166667 * 100vw + 0px)}}@media(min-width: 3440px){.excavations__circle--shadowTransition.svelte-jfkqdd::before{width:calc(0.2291666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.excavations__circle--shadowTransition.svelte-jfkqdd::before{width:calc(0.1458333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.excavations__circle--shadowTransition.svelte-jfkqdd::before{width:calc(0.1875 * 100vw + 0px)}}@media(min-width: 4096px){.excavations__circle--shadowTransition.svelte-jfkqdd::before{width:calc(0.2291666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.excavations__circle--shadowTransition.svelte-jfkqdd::before{height:calc(0.2083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.excavations__circle--shadowTransition.svelte-jfkqdd::before{height:calc(0.2083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.excavations__circle--shadowTransition.svelte-jfkqdd::before{height:calc(0.1604166667 * 100vw + 0px)}}@media(min-width: 3440px){.excavations__circle--shadowTransition.svelte-jfkqdd::before{height:calc(0.2291666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.excavations__circle--shadowTransition.svelte-jfkqdd::before{height:calc(0.1458333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.excavations__circle--shadowTransition.svelte-jfkqdd::before{height:calc(0.1875 * 100vw + 0px)}}@media(min-width: 4096px){.excavations__circle--shadowTransition.svelte-jfkqdd::before{height:calc(0.2291666667 * 100vw + 0px)}}.excavations__circle-progress.svelte-jfkqdd{position:relative;width:calc(0.1333333333 * 100vw + 0px);height:calc(0.1333333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.excavations__circle-progress.svelte-jfkqdd{width:calc(0.1333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.excavations__circle-progress.svelte-jfkqdd{width:calc(0.1333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.excavations__circle-progress.svelte-jfkqdd{width:calc(0.1026666667 * 100vw + 0px)}}@media(min-width: 3440px){.excavations__circle-progress.svelte-jfkqdd{width:calc(0.1466666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.excavations__circle-progress.svelte-jfkqdd{width:calc(0.0933333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.excavations__circle-progress.svelte-jfkqdd{width:calc(0.12 * 100vw + 0px)}}@media(min-width: 4096px){.excavations__circle-progress.svelte-jfkqdd{width:calc(0.1466666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.excavations__circle-progress.svelte-jfkqdd{height:calc(0.1333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.excavations__circle-progress.svelte-jfkqdd{height:calc(0.1333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.excavations__circle-progress.svelte-jfkqdd{height:calc(0.1026666667 * 100vw + 0px)}}@media(min-width: 3440px){.excavations__circle-progress.svelte-jfkqdd{height:calc(0.1466666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.excavations__circle-progress.svelte-jfkqdd{height:calc(0.0933333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.excavations__circle-progress.svelte-jfkqdd{height:calc(0.12 * 100vw + 0px)}}@media(min-width: 4096px){.excavations__circle-progress.svelte-jfkqdd{height:calc(0.1466666667 * 100vw + 0px)}}.excavations__circle-progress-arrow.svelte-jfkqdd{position:absolute;top:calc(0.059375 * 100vw + 0px);left:calc(-0.0036458333 * 100vw + 0px);width:calc(0.01875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.excavations__circle-progress-arrow.svelte-jfkqdd{top:calc(0.059375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.excavations__circle-progress-arrow.svelte-jfkqdd{top:calc(0.059375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.excavations__circle-progress-arrow.svelte-jfkqdd{top:calc(0.04571875 * 100vw + 0px)}}@media(min-width: 3440px){.excavations__circle-progress-arrow.svelte-jfkqdd{top:calc(0.0653125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.excavations__circle-progress-arrow.svelte-jfkqdd{top:calc(0.0415625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.excavations__circle-progress-arrow.svelte-jfkqdd{top:calc(0.0534375 * 100vw + 0px)}}@media(min-width: 4096px){.excavations__circle-progress-arrow.svelte-jfkqdd{top:calc(0.0653125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.excavations__circle-progress-arrow.svelte-jfkqdd{left:calc(-0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.excavations__circle-progress-arrow.svelte-jfkqdd{left:calc(-0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.excavations__circle-progress-arrow.svelte-jfkqdd{left:calc(-0.0028072917 * 100vw + 0px)}}@media(min-width: 3440px){.excavations__circle-progress-arrow.svelte-jfkqdd{left:calc(-0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.excavations__circle-progress-arrow.svelte-jfkqdd{left:calc(-0.0025520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.excavations__circle-progress-arrow.svelte-jfkqdd{left:calc(-0.00328125 * 100vw + 0px)}}@media(min-width: 4096px){.excavations__circle-progress-arrow.svelte-jfkqdd{left:calc(-0.0040104167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.excavations__circle-progress-arrow.svelte-jfkqdd{width:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.excavations__circle-progress-arrow.svelte-jfkqdd{width:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.excavations__circle-progress-arrow.svelte-jfkqdd{width:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.excavations__circle-progress-arrow.svelte-jfkqdd{width:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.excavations__circle-progress-arrow.svelte-jfkqdd{width:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.excavations__circle-progress-arrow.svelte-jfkqdd{width:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.excavations__circle-progress-arrow.svelte-jfkqdd{width:calc(0.020625 * 100vw + 0px)}}.excavations__circle-shovel.svelte-jfkqdd{position:absolute;cursor:pointer;transition:opacity 0.2s linear;height:calc(0.0666666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.excavations__circle-shovel.svelte-jfkqdd{height:calc(0.0666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.excavations__circle-shovel.svelte-jfkqdd{height:calc(0.0666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.excavations__circle-shovel.svelte-jfkqdd{height:calc(0.0513333333 * 100vw + 0px)}}@media(min-width: 3440px){.excavations__circle-shovel.svelte-jfkqdd{height:calc(0.0733333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.excavations__circle-shovel.svelte-jfkqdd{height:calc(0.0466666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.excavations__circle-shovel.svelte-jfkqdd{height:calc(0.06 * 100vw + 0px)}}@media(min-width: 4096px){.excavations__circle-shovel.svelte-jfkqdd{height:calc(0.0733333333 * 100vw + 0px)}}.excavations__circle-shovel.svelte-jfkqdd:hover{opacity:60%}.excavations__info.svelte-jfkqdd{display:flex;align-items:center;gap:calc(0.00625 * 100vw + 0px);margin-top:calc(0.0645833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.excavations__info.svelte-jfkqdd{gap:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.excavations__info.svelte-jfkqdd{gap:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.excavations__info.svelte-jfkqdd{gap:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.excavations__info.svelte-jfkqdd{gap:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.excavations__info.svelte-jfkqdd{gap:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.excavations__info.svelte-jfkqdd{gap:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.excavations__info.svelte-jfkqdd{gap:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.excavations__info.svelte-jfkqdd{margin-top:calc(0.0645833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.excavations__info.svelte-jfkqdd{margin-top:calc(0.0645833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.excavations__info.svelte-jfkqdd{margin-top:calc(0.0497291667 * 100vw + 0px)}}@media(min-width: 3440px){.excavations__info.svelte-jfkqdd{margin-top:calc(0.0710416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.excavations__info.svelte-jfkqdd{margin-top:calc(0.0452083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.excavations__info.svelte-jfkqdd{margin-top:calc(0.058125 * 100vw + 0px)}}@media(min-width: 4096px){.excavations__info.svelte-jfkqdd{margin-top:calc(0.0710416667 * 100vw + 0px)}}.excavations__info-img.svelte-jfkqdd{height:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.excavations__info-img.svelte-jfkqdd{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.excavations__info-img.svelte-jfkqdd{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.excavations__info-img.svelte-jfkqdd{height:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.excavations__info-img.svelte-jfkqdd{height:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.excavations__info-img.svelte-jfkqdd{height:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.excavations__info-img.svelte-jfkqdd{height:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.excavations__info-img.svelte-jfkqdd{height:calc(0.0275 * 100vw + 0px)}}.excavations__info-title.svelte-jfkqdd{font-family:\"GothamPro-Light\";color:#FFFFFF;line-height:calc(0.0104166667 * 100vw + 0px);font-size:calc(0.0083333333 * 100vw + 0px);width:calc(0.1598958333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.excavations__info-title.svelte-jfkqdd{line-height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.excavations__info-title.svelte-jfkqdd{line-height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.excavations__info-title.svelte-jfkqdd{line-height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.excavations__info-title.svelte-jfkqdd{line-height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.excavations__info-title.svelte-jfkqdd{line-height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.excavations__info-title.svelte-jfkqdd{line-height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.excavations__info-title.svelte-jfkqdd{line-height:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.excavations__info-title.svelte-jfkqdd{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.excavations__info-title.svelte-jfkqdd{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.excavations__info-title.svelte-jfkqdd{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.excavations__info-title.svelte-jfkqdd{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.excavations__info-title.svelte-jfkqdd{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.excavations__info-title.svelte-jfkqdd{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.excavations__info-title.svelte-jfkqdd{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.excavations__info-title.svelte-jfkqdd{width:calc(0.1598958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.excavations__info-title.svelte-jfkqdd{width:calc(0.1598958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.excavations__info-title.svelte-jfkqdd{width:calc(0.1231197917 * 100vw + 0px)}}@media(min-width: 3440px){.excavations__info-title.svelte-jfkqdd{width:calc(0.1758854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.excavations__info-title.svelte-jfkqdd{width:calc(0.1119270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.excavations__info-title.svelte-jfkqdd{width:calc(0.14390625 * 100vw + 0px)}}@media(min-width: 4096px){.excavations__info-title.svelte-jfkqdd{width:calc(0.1758854167 * 100vw + 0px)}}.excavations__info-title--bold.svelte-jfkqdd{font-family:\"GothamPro-Medium\"}.excavations__buttons.svelte-jfkqdd{display:flex;gap:calc(0.025 * 100vw + 0px);margin-top:calc(0.0390625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.excavations__buttons.svelte-jfkqdd{gap:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.excavations__buttons.svelte-jfkqdd{gap:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.excavations__buttons.svelte-jfkqdd{gap:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.excavations__buttons.svelte-jfkqdd{gap:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.excavations__buttons.svelte-jfkqdd{gap:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.excavations__buttons.svelte-jfkqdd{gap:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.excavations__buttons.svelte-jfkqdd{gap:calc(0.0275 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.excavations__buttons.svelte-jfkqdd{margin-top:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.excavations__buttons.svelte-jfkqdd{margin-top:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.excavations__buttons.svelte-jfkqdd{margin-top:calc(0.030078125 * 100vw + 0px)}}@media(min-width: 3440px){.excavations__buttons.svelte-jfkqdd{margin-top:calc(0.04296875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.excavations__buttons.svelte-jfkqdd{margin-top:calc(0.02734375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.excavations__buttons.svelte-jfkqdd{margin-top:calc(0.03515625 * 100vw + 0px)}}@media(min-width: 4096px){.excavations__buttons.svelte-jfkqdd{margin-top:calc(0.04296875 * 100vw + 0px)}}.excavations__button-shovel.svelte-jfkqdd{display:flex;align-items:center;gap:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.excavations__button-shovel.svelte-jfkqdd{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.excavations__button-shovel.svelte-jfkqdd{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.excavations__button-shovel.svelte-jfkqdd{gap:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.excavations__button-shovel.svelte-jfkqdd{gap:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.excavations__button-shovel.svelte-jfkqdd{gap:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.excavations__button-shovel.svelte-jfkqdd{gap:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.excavations__button-shovel.svelte-jfkqdd{gap:calc(0.0103125 * 100vw + 0px)}}.excavations__button-shovel-key-wrapper.svelte-jfkqdd{display:flex;align-items:center;justify-content:center;background-color:#FFFFFF;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.0651041667 * 100vw + 0px);height:calc(0.0234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.excavations__button-shovel-key-wrapper.svelte-jfkqdd{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.excavations__button-shovel-key-wrapper.svelte-jfkqdd{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.excavations__button-shovel-key-wrapper.svelte-jfkqdd{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.excavations__button-shovel-key-wrapper.svelte-jfkqdd{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.excavations__button-shovel-key-wrapper.svelte-jfkqdd{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.excavations__button-shovel-key-wrapper.svelte-jfkqdd{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.excavations__button-shovel-key-wrapper.svelte-jfkqdd{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.excavations__button-shovel-key-wrapper.svelte-jfkqdd{width:calc(0.0651041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.excavations__button-shovel-key-wrapper.svelte-jfkqdd{width:calc(0.0651041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.excavations__button-shovel-key-wrapper.svelte-jfkqdd{width:calc(0.0501302083 * 100vw + 0px)}}@media(min-width: 3440px){.excavations__button-shovel-key-wrapper.svelte-jfkqdd{width:calc(0.0716145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.excavations__button-shovel-key-wrapper.svelte-jfkqdd{width:calc(0.0455729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.excavations__button-shovel-key-wrapper.svelte-jfkqdd{width:calc(0.05859375 * 100vw + 0px)}}@media(min-width: 4096px){.excavations__button-shovel-key-wrapper.svelte-jfkqdd{width:calc(0.0716145833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.excavations__button-shovel-key-wrapper.svelte-jfkqdd{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.excavations__button-shovel-key-wrapper.svelte-jfkqdd{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.excavations__button-shovel-key-wrapper.svelte-jfkqdd{height:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.excavations__button-shovel-key-wrapper.svelte-jfkqdd{height:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.excavations__button-shovel-key-wrapper.svelte-jfkqdd{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.excavations__button-shovel-key-wrapper.svelte-jfkqdd{height:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.excavations__button-shovel-key-wrapper.svelte-jfkqdd{height:calc(0.02578125 * 100vw + 0px)}}.excavations__button-shovel-key-wrapper--pressed.svelte-jfkqdd{background-color:rgba(255, 255, 255, 0.5)}.excavations__button-shovel-key.svelte-jfkqdd{font-family:\"GothamPro-Bold\";color:#111111;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.excavations__button-shovel-key.svelte-jfkqdd{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.excavations__button-shovel-key.svelte-jfkqdd{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.excavations__button-shovel-key.svelte-jfkqdd{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.excavations__button-shovel-key.svelte-jfkqdd{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.excavations__button-shovel-key.svelte-jfkqdd{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.excavations__button-shovel-key.svelte-jfkqdd{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.excavations__button-shovel-key.svelte-jfkqdd{font-size:calc(0.0103125 * 100vw + 0px)}}.excavations__button-shovel-title.svelte-jfkqdd{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.excavations__button-shovel-title.svelte-jfkqdd{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.excavations__button-shovel-title.svelte-jfkqdd{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.excavations__button-shovel-title.svelte-jfkqdd{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.excavations__button-shovel-title.svelte-jfkqdd{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.excavations__button-shovel-title.svelte-jfkqdd{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.excavations__button-shovel-title.svelte-jfkqdd{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.excavations__button-shovel-title.svelte-jfkqdd{font-size:calc(0.0091666667 * 100vw + 0px)}}.excavations__button-dig.svelte-jfkqdd{display:flex;align-items:center;gap:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.excavations__button-dig.svelte-jfkqdd{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.excavations__button-dig.svelte-jfkqdd{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.excavations__button-dig.svelte-jfkqdd{gap:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.excavations__button-dig.svelte-jfkqdd{gap:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.excavations__button-dig.svelte-jfkqdd{gap:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.excavations__button-dig.svelte-jfkqdd{gap:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.excavations__button-dig.svelte-jfkqdd{gap:calc(0.0103125 * 100vw + 0px)}}.excavations__button-dig-img.svelte-jfkqdd{height:calc(0.0145833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.excavations__button-dig-img.svelte-jfkqdd{height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.excavations__button-dig-img.svelte-jfkqdd{height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.excavations__button-dig-img.svelte-jfkqdd{height:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.excavations__button-dig-img.svelte-jfkqdd{height:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.excavations__button-dig-img.svelte-jfkqdd{height:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.excavations__button-dig-img.svelte-jfkqdd{height:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.excavations__button-dig-img.svelte-jfkqdd{height:calc(0.0160416667 * 100vw + 0px)}}.excavations__button-dig-title.svelte-jfkqdd{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.excavations__button-dig-title.svelte-jfkqdd{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.excavations__button-dig-title.svelte-jfkqdd{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.excavations__button-dig-title.svelte-jfkqdd{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.excavations__button-dig-title.svelte-jfkqdd{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.excavations__button-dig-title.svelte-jfkqdd{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.excavations__button-dig-title.svelte-jfkqdd{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.excavations__button-dig-title.svelte-jfkqdd{font-size:calc(0.0091666667 * 100vw + 0px)}}@keyframes svelte-jfkqdd-shadowOpacity{0%{opacity:0}50%{opacity:50%}100%{opacity:100%}}");
}

function excavations_index_svelte_create_fragment(ctx) {
	let div7;
	let exitbutton;
	let t0;
	let img0;
	let img0_src_value;
	let t1;
	let p0;
	let t3;
	let p1;
	let t6;
	let div1;
	let div0;
	let circleprogress;
	let t7;
	let img1;
	let img1_src_value;
	let t8;
	let img2;
	let img2_src_value;
	let t9;
	let div2;
	let img3;
	let img3_src_value;
	let t10;
	let p2;
	let t14;
	let div6;
	let div4;
	let div3;
	let t16;
	let p4;
	let t18;
	let div5;
	let img4;
	let img4_src_value;
	let t19;
	let p5;
	let current;
	let mounted;
	let dispose;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[3],
				fixedPosition: true
			}
		});

	circleprogress = new components_circle_progress_index_svelte({
			props: {
				color: "#FF3737",
				strokeWidth: "20",
				percents: /*percents*/ ctx[0] / (100 / 100)
			}
		});

	return {
		c() {
			div7 = internal_element("div");
			create_component(exitbutton.$$.fragment);
			t0 = space();
			img0 = internal_element("img");
			t1 = space();
			p0 = internal_element("p");
			p0.textContent = "Раскопки";
			t3 = space();
			p1 = internal_element("p");

			p1.innerHTML = `Чтобы начать капать грунт
        <span class="excavations__description--bold svelte-jfkqdd">нажимайте на мышку</span>`;

			t6 = space();
			div1 = internal_element("div");
			div0 = internal_element("div");
			create_component(circleprogress.$$.fragment);
			t7 = space();
			img1 = internal_element("img");
			t8 = space();
			img2 = internal_element("img");
			t9 = space();
			div2 = internal_element("div");
			img3 = internal_element("img");
			t10 = space();
			p2 = internal_element("p");

			p2.innerHTML = `Как только ползунок доберётся до зелёной отметки нажмите
            <span class="excavations__info-title--bold svelte-jfkqdd">пробел</span>
            чтобы вытащить лопату`;

			t14 = space();
			div6 = internal_element("div");
			div4 = internal_element("div");
			div3 = internal_element("div");
			div3.innerHTML = `<p class="excavations__button-shovel-key svelte-jfkqdd">Пробел</p>`;
			t16 = space();
			p4 = internal_element("p");
			p4.textContent = "Вытащить лопату";
			t18 = space();
			div5 = internal_element("div");
			img4 = internal_element("img");
			t19 = space();
			p5 = internal_element("p");
			p5.textContent = "Копать грунт";
			attr(img0, "class", "excavations__background svelte-jfkqdd");
			if (!src_url_equal(img0.src, img0_src_value = excavations_img_background_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "background");
			attr(p0, "class", "excavations__title svelte-jfkqdd");
			attr(p1, "class", "excavations__description svelte-jfkqdd");
			attr(img1, "class", "excavations__circle-progress-arrow svelte-jfkqdd");
			if (!src_url_equal(img1.src, img1_src_value = excavations_img_arrow_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "arrow");
			attr(div0, "class", "excavations__circle-progress svelte-jfkqdd");
			attr(img2, "class", "excavations__circle-shovel svelte-jfkqdd");
			if (!src_url_equal(img2.src, img2_src_value = shovel_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "shovel");
			attr(div1, "class", "excavations__circle svelte-jfkqdd");
			toggle_class(div1, "excavations__circle--shadowTransition", /*percents*/ ctx[0] >= 75 && /*percents*/ ctx[0] <= 100);
			attr(img3, "class", "excavations__info-img svelte-jfkqdd");
			if (!src_url_equal(img3.src, img3_src_value = excavations_img_info_img_namespaceObject)) attr(img3, "src", img3_src_value);
			attr(img3, "alt", "info");
			attr(p2, "class", "excavations__info-title svelte-jfkqdd");
			attr(div2, "class", "excavations__info svelte-jfkqdd");
			attr(div3, "class", "excavations__button-shovel-key-wrapper svelte-jfkqdd");
			toggle_class(div3, "excavations__button-shovel-key-wrapper--pressed", /*inPressState*/ ctx[1]);
			attr(p4, "class", "excavations__button-shovel-title svelte-jfkqdd");
			attr(div4, "class", "excavations__button-shovel svelte-jfkqdd");
			attr(img4, "class", "excavations__button-dig-img svelte-jfkqdd");
			if (!src_url_equal(img4.src, img4_src_value = mouse_img_namespaceObject)) attr(img4, "src", img4_src_value);
			attr(img4, "alt", "mouse-img");
			attr(p5, "class", "excavations__button-dig-title svelte-jfkqdd");
			attr(div5, "class", "excavations__button-dig svelte-jfkqdd");
			attr(div6, "class", "excavations__buttons svelte-jfkqdd");
			attr(div7, "class", "excavations svelte-jfkqdd");
		},
		m(target, anchor) {
			insert(target, div7, anchor);
			mount_component(exitbutton, div7, null);
			append(div7, t0);
			append(div7, img0);
			append(div7, t1);
			append(div7, p0);
			append(div7, t3);
			append(div7, p1);
			append(div7, t6);
			append(div7, div1);
			append(div1, div0);
			mount_component(circleprogress, div0, null);
			append(div0, t7);
			append(div0, img1);
			append(div1, t8);
			append(div1, img2);
			append(div7, t9);
			append(div7, div2);
			append(div2, img3);
			append(div2, t10);
			append(div2, p2);
			append(div7, t14);
			append(div7, div6);
			append(div6, div4);
			append(div4, div3);
			append(div4, t16);
			append(div4, p4);
			append(div6, t18);
			append(div6, div5);
			append(div5, img4);
			append(div5, t19);
			append(div5, p5);
			current = true;

			if (!mounted) {
				dispose = [
					listen(window, "keydown", /*handleKeyDown*/ ctx[4]),
					listen(window, "keyup", /*handleKeyUp*/ ctx[5]),
					listen(img2, "click", /*clickOnTrigger*/ ctx[2])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			const circleprogress_changes = {};
			if (dirty & /*percents*/ 1) circleprogress_changes.percents = /*percents*/ ctx[0] / (100 / 100);
			circleprogress.$set(circleprogress_changes);

			if (dirty & /*percents*/ 1) {
				toggle_class(div1, "excavations__circle--shadowTransition", /*percents*/ ctx[0] >= 75 && /*percents*/ ctx[0] <= 100);
			}

			if (dirty & /*inPressState*/ 2) {
				toggle_class(div3, "excavations__button-shovel-key-wrapper--pressed", /*inPressState*/ ctx[1]);
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			transition_in(circleprogress.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			transition_out(circleprogress.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div7);
			destroy_component(exitbutton);
			destroy_component(circleprogress);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function excavations_index_svelte_instance($$self, $$props, $$invalidate) {
	let percents = 0;
	let inPressState = false;

	const clickOnTrigger = () => {
		if (percents >= 0 && percents !== 100) {
			$$invalidate(0, percents += 5);
		}
	};

	const handleClose = () => {
		sendClientMessage('excavations.exit');
	};

	const handleKeyDown = event => {
		if (event.keyCode === 32 && (percents >= 75 && percents <= 100)) {
			$$invalidate(1, inPressState = true);
			sendClientMessage('excavations.successfulSpaceClick');
		} else if (percents >= 0 && percents < 75) {
			sendClientMessage('excavations.failedSpaceClick');
		}
	};

	const handleKeyUp = () => {
		$$invalidate(1, inPressState = false);
	};

	return [
		percents,
		inPressState,
		clickOnTrigger,
		handleClose,
		handleKeyDown,
		handleKeyUp
	];
}

class Excavations extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, excavations_index_svelte_instance, excavations_index_svelte_create_fragment, safe_not_equal, {}, excavations_index_svelte_add_css);
	}
}

/* harmony default export */ const excavations_index_svelte = (Excavations);
;// CONCATENATED MODULE: ./src/views/parking/img/logo.svg
const parking_img_logo_namespaceObject = __webpack_require__.p + "assets/e3f7ebeba27468fd7252.svg";
;// CONCATENATED MODULE: ./src/views/parking/img/price-decoration.svg
const price_decoration_namespaceObject = __webpack_require__.p + "assets/af60d5b8f900918d4633.svg";
;// CONCATENATED MODULE: ./src/views/parking/img/warning.svg
const parking_img_warning_namespaceObject = __webpack_require__.p + "assets/b1e686d35dc502d728e9.svg";
;// CONCATENATED MODULE: ./src/views/parking/img/button-img.svg
const button_img_namespaceObject = __webpack_require__.p + "assets/f7a40efc948530ef73d6.svg";
;// CONCATENATED MODULE: ./src/views/parking/img/background.png
const parking_img_background_namespaceObject = __webpack_require__.p + "assets/1d767edb5fbcaed605b0.webp";
;// CONCATENATED MODULE: ./src/views/parking/img/exit-button.png
const exit_button_namespaceObject = __webpack_require__.p + "assets/683fbae4fe9b53563365.webp";
;// CONCATENATED MODULE: ./src/views/parking/index.svelte
/* src\views\parking\index.svelte generated by Svelte v3.49.0 */













function parking_index_svelte_add_css(target) {
	append_styles(target, "svelte-1e991im", "@keyframes svelte-1e991im-blinking{50%{opacity:0}}@keyframes svelte-1e991im-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1e991im-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1e991im-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1e991im-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1e991im-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1e991im-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1e991im-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1e991im-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1e991im-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1e991im-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1e991im-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1e991im-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1e991im-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1e991im-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.parking.svelte-1e991im.svelte-1e991im{display:flex;align-items:center;justify-content:center;width:100vw;height:100vh;background:radial-gradient(50% 50% at 50% 50%, rgba(32, 39, 49, 0) 0%, rgba(32, 39, 49, 0.95) 100%)}.parking__header.svelte-1e991im.svelte-1e991im{display:flex;position:absolute;top:calc(0.0260416667 * 100vw + 0px);left:calc(0.0354166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.parking__header.svelte-1e991im.svelte-1e991im{top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__header.svelte-1e991im.svelte-1e991im{top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__header.svelte-1e991im.svelte-1e991im{top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.parking__header.svelte-1e991im.svelte-1e991im{top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__header.svelte-1e991im.svelte-1e991im{top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__header.svelte-1e991im.svelte-1e991im{top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.parking__header.svelte-1e991im.svelte-1e991im{top:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.parking__header.svelte-1e991im.svelte-1e991im{left:calc(0.0354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__header.svelte-1e991im.svelte-1e991im{left:calc(0.0354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__header.svelte-1e991im.svelte-1e991im{left:calc(0.0272708333 * 100vw + 0px)}}@media(min-width: 3440px){.parking__header.svelte-1e991im.svelte-1e991im{left:calc(0.0389583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__header.svelte-1e991im.svelte-1e991im{left:calc(0.0247916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__header.svelte-1e991im.svelte-1e991im{left:calc(0.031875 * 100vw + 0px)}}@media(min-width: 4096px){.parking__header.svelte-1e991im.svelte-1e991im{left:calc(0.0389583333 * 100vw + 0px)}}.parking__header-logo.svelte-1e991im.svelte-1e991im{display:flex;align-items:center;gap:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.parking__header-logo.svelte-1e991im.svelte-1e991im{gap:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__header-logo.svelte-1e991im.svelte-1e991im{gap:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__header-logo.svelte-1e991im.svelte-1e991im{gap:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.parking__header-logo.svelte-1e991im.svelte-1e991im{gap:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__header-logo.svelte-1e991im.svelte-1e991im{gap:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__header-logo.svelte-1e991im.svelte-1e991im{gap:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.parking__header-logo.svelte-1e991im.svelte-1e991im{gap:calc(0.0200520833 * 100vw + 0px)}}.parking__header-logo-img.svelte-1e991im.svelte-1e991im{height:calc(0.0390625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.parking__header-logo-img.svelte-1e991im.svelte-1e991im{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__header-logo-img.svelte-1e991im.svelte-1e991im{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__header-logo-img.svelte-1e991im.svelte-1e991im{height:calc(0.030078125 * 100vw + 0px)}}@media(min-width: 3440px){.parking__header-logo-img.svelte-1e991im.svelte-1e991im{height:calc(0.04296875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__header-logo-img.svelte-1e991im.svelte-1e991im{height:calc(0.02734375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__header-logo-img.svelte-1e991im.svelte-1e991im{height:calc(0.03515625 * 100vw + 0px)}}@media(min-width: 4096px){.parking__header-logo-img.svelte-1e991im.svelte-1e991im{height:calc(0.04296875 * 100vw + 0px)}}.parking__header-logo-title.svelte-1e991im.svelte-1e991im{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.01875 * 100vw + 0px);margin-bottom:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.parking__header-logo-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__header-logo-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__header-logo-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.parking__header-logo-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__header-logo-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__header-logo-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.parking__header-logo-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.020625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.parking__header-logo-title.svelte-1e991im.svelte-1e991im{margin-bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__header-logo-title.svelte-1e991im.svelte-1e991im{margin-bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__header-logo-title.svelte-1e991im.svelte-1e991im{margin-bottom:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.parking__header-logo-title.svelte-1e991im.svelte-1e991im{margin-bottom:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__header-logo-title.svelte-1e991im.svelte-1e991im{margin-bottom:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__header-logo-title.svelte-1e991im.svelte-1e991im{margin-bottom:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.parking__header-logo-title.svelte-1e991im.svelte-1e991im{margin-bottom:calc(0.0028645833 * 100vw + 0px)}}.parking__header-logo-description.svelte-1e991im.svelte-1e991im{font-family:\"GothamPro\";color:#95B6F7;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.parking__header-logo-description.svelte-1e991im.svelte-1e991im{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__header-logo-description.svelte-1e991im.svelte-1e991im{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__header-logo-description.svelte-1e991im.svelte-1e991im{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.parking__header-logo-description.svelte-1e991im.svelte-1e991im{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__header-logo-description.svelte-1e991im.svelte-1e991im{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__header-logo-description.svelte-1e991im.svelte-1e991im{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.parking__header-logo-description.svelte-1e991im.svelte-1e991im{font-size:calc(0.01375 * 100vw + 0px)}}.parking__header-title-wrapper.svelte-1e991im.svelte-1e991im{display:flex;align-items:center;gap:calc(0.0130208333 * 100vw + 0px);margin-left:calc(0.109375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.parking__header-title-wrapper.svelte-1e991im.svelte-1e991im{gap:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__header-title-wrapper.svelte-1e991im.svelte-1e991im{gap:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__header-title-wrapper.svelte-1e991im.svelte-1e991im{gap:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.parking__header-title-wrapper.svelte-1e991im.svelte-1e991im{gap:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__header-title-wrapper.svelte-1e991im.svelte-1e991im{gap:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__header-title-wrapper.svelte-1e991im.svelte-1e991im{gap:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.parking__header-title-wrapper.svelte-1e991im.svelte-1e991im{gap:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.parking__header-title-wrapper.svelte-1e991im.svelte-1e991im{margin-left:calc(0.109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__header-title-wrapper.svelte-1e991im.svelte-1e991im{margin-left:calc(0.109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__header-title-wrapper.svelte-1e991im.svelte-1e991im{margin-left:calc(0.08421875 * 100vw + 0px)}}@media(min-width: 3440px){.parking__header-title-wrapper.svelte-1e991im.svelte-1e991im{margin-left:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__header-title-wrapper.svelte-1e991im.svelte-1e991im{margin-left:calc(0.0765625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__header-title-wrapper.svelte-1e991im.svelte-1e991im{margin-left:calc(0.0984375 * 100vw + 0px)}}@media(min-width: 4096px){.parking__header-title-wrapper.svelte-1e991im.svelte-1e991im{margin-left:calc(0.1203125 * 100vw + 0px)}}.parking__header-title.svelte-1e991im.svelte-1e991im{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0333333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.parking__header-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__header-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__header-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.parking__header-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__header-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__header-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.parking__header-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.0366666667 * 100vw + 0px)}}.parking__header-number-wrapper.svelte-1e991im.svelte-1e991im{display:flex;justify-content:center;align-items:center;background-color:#6B94E3;width:calc(0.03125 * 100vw + 0px);height:calc(0.03125 * 100vw + 0px);border-radius:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.parking__header-number-wrapper.svelte-1e991im.svelte-1e991im{width:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__header-number-wrapper.svelte-1e991im.svelte-1e991im{width:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__header-number-wrapper.svelte-1e991im.svelte-1e991im{width:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.parking__header-number-wrapper.svelte-1e991im.svelte-1e991im{width:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__header-number-wrapper.svelte-1e991im.svelte-1e991im{width:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__header-number-wrapper.svelte-1e991im.svelte-1e991im{width:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.parking__header-number-wrapper.svelte-1e991im.svelte-1e991im{width:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.parking__header-number-wrapper.svelte-1e991im.svelte-1e991im{height:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__header-number-wrapper.svelte-1e991im.svelte-1e991im{height:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__header-number-wrapper.svelte-1e991im.svelte-1e991im{height:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.parking__header-number-wrapper.svelte-1e991im.svelte-1e991im{height:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__header-number-wrapper.svelte-1e991im.svelte-1e991im{height:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__header-number-wrapper.svelte-1e991im.svelte-1e991im{height:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.parking__header-number-wrapper.svelte-1e991im.svelte-1e991im{height:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.parking__header-number-wrapper.svelte-1e991im.svelte-1e991im{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__header-number-wrapper.svelte-1e991im.svelte-1e991im{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__header-number-wrapper.svelte-1e991im.svelte-1e991im{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.parking__header-number-wrapper.svelte-1e991im.svelte-1e991im{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__header-number-wrapper.svelte-1e991im.svelte-1e991im{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__header-number-wrapper.svelte-1e991im.svelte-1e991im{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.parking__header-number-wrapper.svelte-1e991im.svelte-1e991im{border-radius:calc(0.0143229167 * 100vw + 0px)}}.parking__header-number.svelte-1e991im.svelte-1e991im{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.parking__header-number.svelte-1e991im.svelte-1e991im{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__header-number.svelte-1e991im.svelte-1e991im{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__header-number.svelte-1e991im.svelte-1e991im{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.parking__header-number.svelte-1e991im.svelte-1e991im{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__header-number.svelte-1e991im.svelte-1e991im{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__header-number.svelte-1e991im.svelte-1e991im{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.parking__header-number.svelte-1e991im.svelte-1e991im{font-size:calc(0.01375 * 100vw + 0px)}}.parking__header-exit.svelte-1e991im.svelte-1e991im{display:flex;align-items:center;cursor:pointer;gap:calc(0.0130208333 * 100vw + 0px);margin-left:calc(0.2114583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.parking__header-exit.svelte-1e991im.svelte-1e991im{gap:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__header-exit.svelte-1e991im.svelte-1e991im{gap:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__header-exit.svelte-1e991im.svelte-1e991im{gap:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.parking__header-exit.svelte-1e991im.svelte-1e991im{gap:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__header-exit.svelte-1e991im.svelte-1e991im{gap:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__header-exit.svelte-1e991im.svelte-1e991im{gap:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.parking__header-exit.svelte-1e991im.svelte-1e991im{gap:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.parking__header-exit.svelte-1e991im.svelte-1e991im{margin-left:calc(0.2114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__header-exit.svelte-1e991im.svelte-1e991im{margin-left:calc(0.2114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__header-exit.svelte-1e991im.svelte-1e991im{margin-left:calc(0.1628229167 * 100vw + 0px)}}@media(min-width: 3440px){.parking__header-exit.svelte-1e991im.svelte-1e991im{margin-left:calc(0.2326041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__header-exit.svelte-1e991im.svelte-1e991im{margin-left:calc(0.1480208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__header-exit.svelte-1e991im.svelte-1e991im{margin-left:calc(0.1903125 * 100vw + 0px)}}@media(min-width: 4096px){.parking__header-exit.svelte-1e991im.svelte-1e991im{margin-left:calc(0.2326041667 * 100vw + 0px)}}.parking__header-exit.svelte-1e991im:hover .parking__header-exit-title.svelte-1e991im{opacity:0.5}.parking__header-exit.svelte-1e991im:hover .parking__header-exit-img.svelte-1e991im{opacity:0.5}.parking__header-exit-title.svelte-1e991im.svelte-1e991im{font-family:\"GothamPro\";color:rgba(255, 255, 255, 0.5);transition:opacity 0.2s linear;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.parking__header-exit-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__header-exit-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__header-exit-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.parking__header-exit-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__header-exit-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__header-exit-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.parking__header-exit-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.01375 * 100vw + 0px)}}.parking__header-exit-img.svelte-1e991im.svelte-1e991im{transition:opacity 0.2s linear;height:calc(0.0390625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.parking__header-exit-img.svelte-1e991im.svelte-1e991im{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__header-exit-img.svelte-1e991im.svelte-1e991im{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__header-exit-img.svelte-1e991im.svelte-1e991im{height:calc(0.030078125 * 100vw + 0px)}}@media(min-width: 3440px){.parking__header-exit-img.svelte-1e991im.svelte-1e991im{height:calc(0.04296875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__header-exit-img.svelte-1e991im.svelte-1e991im{height:calc(0.02734375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__header-exit-img.svelte-1e991im.svelte-1e991im{height:calc(0.03515625 * 100vw + 0px)}}@media(min-width: 4096px){.parking__header-exit-img.svelte-1e991im.svelte-1e991im{height:calc(0.04296875 * 100vw + 0px)}}.parking__body.svelte-1e991im.svelte-1e991im{display:flex;flex-direction:column;align-items:center;margin-top:calc(0.0416666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.parking__body.svelte-1e991im.svelte-1e991im{margin-top:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__body.svelte-1e991im.svelte-1e991im{margin-top:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__body.svelte-1e991im.svelte-1e991im{margin-top:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.parking__body.svelte-1e991im.svelte-1e991im{margin-top:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__body.svelte-1e991im.svelte-1e991im{margin-top:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__body.svelte-1e991im.svelte-1e991im{margin-top:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.parking__body.svelte-1e991im.svelte-1e991im{margin-top:calc(0.0458333333 * 100vw + 0px)}}.parking__body-title.svelte-1e991im.svelte-1e991im{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.01875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.parking__body-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__body-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__body-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.parking__body-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__body-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__body-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.parking__body-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.020625 * 100vw + 0px)}}.parking__body-card.svelte-1e991im.svelte-1e991im{display:flex;flex-direction:column;align-items:center;position:relative;width:calc(0.3869791667 * 100vw + 0px);height:calc(0.1822916667 * 100vw + 0px);margin-top:calc(0.0364583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.parking__body-card.svelte-1e991im.svelte-1e991im{width:calc(0.3869791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__body-card.svelte-1e991im.svelte-1e991im{width:calc(0.3869791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__body-card.svelte-1e991im.svelte-1e991im{width:calc(0.2979739583 * 100vw + 0px)}}@media(min-width: 3440px){.parking__body-card.svelte-1e991im.svelte-1e991im{width:calc(0.4256770833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__body-card.svelte-1e991im.svelte-1e991im{width:calc(0.2708854167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__body-card.svelte-1e991im.svelte-1e991im{width:calc(0.34828125 * 100vw + 0px)}}@media(min-width: 4096px){.parking__body-card.svelte-1e991im.svelte-1e991im{width:calc(0.4256770833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.parking__body-card.svelte-1e991im.svelte-1e991im{height:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__body-card.svelte-1e991im.svelte-1e991im{height:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__body-card.svelte-1e991im.svelte-1e991im{height:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.parking__body-card.svelte-1e991im.svelte-1e991im{height:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__body-card.svelte-1e991im.svelte-1e991im{height:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__body-card.svelte-1e991im.svelte-1e991im{height:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.parking__body-card.svelte-1e991im.svelte-1e991im{height:calc(0.2005208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.parking__body-card.svelte-1e991im.svelte-1e991im{margin-top:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__body-card.svelte-1e991im.svelte-1e991im{margin-top:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__body-card.svelte-1e991im.svelte-1e991im{margin-top:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.parking__body-card.svelte-1e991im.svelte-1e991im{margin-top:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__body-card.svelte-1e991im.svelte-1e991im{margin-top:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__body-card.svelte-1e991im.svelte-1e991im{margin-top:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.parking__body-card.svelte-1e991im.svelte-1e991im{margin-top:calc(0.0401041667 * 100vw + 0px)}}.parking__body-card-background.svelte-1e991im.svelte-1e991im{position:absolute;width:calc(0.3869791667 * 100vw + 0px);height:calc(0.1822916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.parking__body-card-background.svelte-1e991im.svelte-1e991im{width:calc(0.3869791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__body-card-background.svelte-1e991im.svelte-1e991im{width:calc(0.3869791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__body-card-background.svelte-1e991im.svelte-1e991im{width:calc(0.2979739583 * 100vw + 0px)}}@media(min-width: 3440px){.parking__body-card-background.svelte-1e991im.svelte-1e991im{width:calc(0.4256770833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__body-card-background.svelte-1e991im.svelte-1e991im{width:calc(0.2708854167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__body-card-background.svelte-1e991im.svelte-1e991im{width:calc(0.34828125 * 100vw + 0px)}}@media(min-width: 4096px){.parking__body-card-background.svelte-1e991im.svelte-1e991im{width:calc(0.4256770833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.parking__body-card-background.svelte-1e991im.svelte-1e991im{height:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__body-card-background.svelte-1e991im.svelte-1e991im{height:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__body-card-background.svelte-1e991im.svelte-1e991im{height:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.parking__body-card-background.svelte-1e991im.svelte-1e991im{height:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__body-card-background.svelte-1e991im.svelte-1e991im{height:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__body-card-background.svelte-1e991im.svelte-1e991im{height:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.parking__body-card-background.svelte-1e991im.svelte-1e991im{height:calc(0.2005208333 * 100vw + 0px)}}.parking__body-card-title.svelte-1e991im.svelte-1e991im{position:absolute;font-family:\"GothamPro\";color:#808080;font-size:calc(0.01875 * 100vw + 0px);top:calc(0.0515625 * 100vw + 0px);left:calc(0.0572916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.parking__body-card-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__body-card-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__body-card-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.parking__body-card-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__body-card-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__body-card-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.parking__body-card-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.020625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.parking__body-card-title.svelte-1e991im.svelte-1e991im{top:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__body-card-title.svelte-1e991im.svelte-1e991im{top:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__body-card-title.svelte-1e991im.svelte-1e991im{top:calc(0.039703125 * 100vw + 0px)}}@media(min-width: 3440px){.parking__body-card-title.svelte-1e991im.svelte-1e991im{top:calc(0.05671875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__body-card-title.svelte-1e991im.svelte-1e991im{top:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__body-card-title.svelte-1e991im.svelte-1e991im{top:calc(0.04640625 * 100vw + 0px)}}@media(min-width: 4096px){.parking__body-card-title.svelte-1e991im.svelte-1e991im{top:calc(0.05671875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.parking__body-card-title.svelte-1e991im.svelte-1e991im{left:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__body-card-title.svelte-1e991im.svelte-1e991im{left:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__body-card-title.svelte-1e991im.svelte-1e991im{left:calc(0.0441145833 * 100vw + 0px)}}@media(min-width: 3440px){.parking__body-card-title.svelte-1e991im.svelte-1e991im{left:calc(0.0630208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__body-card-title.svelte-1e991im.svelte-1e991im{left:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__body-card-title.svelte-1e991im.svelte-1e991im{left:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 4096px){.parking__body-card-title.svelte-1e991im.svelte-1e991im{left:calc(0.0630208333 * 100vw + 0px)}}.parking__body-card-price-wrapper.svelte-1e991im.svelte-1e991im{display:flex;align-items:center;position:absolute;gap:calc(0.0130208333 * 100vw + 0px);left:calc(0.0572916667 * 100vw + 0px);bottom:calc(0.0520833333 * 100vw + 0px);height:calc(0.0479166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.parking__body-card-price-wrapper.svelte-1e991im.svelte-1e991im{gap:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__body-card-price-wrapper.svelte-1e991im.svelte-1e991im{gap:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__body-card-price-wrapper.svelte-1e991im.svelte-1e991im{gap:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.parking__body-card-price-wrapper.svelte-1e991im.svelte-1e991im{gap:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__body-card-price-wrapper.svelte-1e991im.svelte-1e991im{gap:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__body-card-price-wrapper.svelte-1e991im.svelte-1e991im{gap:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.parking__body-card-price-wrapper.svelte-1e991im.svelte-1e991im{gap:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.parking__body-card-price-wrapper.svelte-1e991im.svelte-1e991im{left:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__body-card-price-wrapper.svelte-1e991im.svelte-1e991im{left:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__body-card-price-wrapper.svelte-1e991im.svelte-1e991im{left:calc(0.0441145833 * 100vw + 0px)}}@media(min-width: 3440px){.parking__body-card-price-wrapper.svelte-1e991im.svelte-1e991im{left:calc(0.0630208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__body-card-price-wrapper.svelte-1e991im.svelte-1e991im{left:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__body-card-price-wrapper.svelte-1e991im.svelte-1e991im{left:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 4096px){.parking__body-card-price-wrapper.svelte-1e991im.svelte-1e991im{left:calc(0.0630208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.parking__body-card-price-wrapper.svelte-1e991im.svelte-1e991im{bottom:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__body-card-price-wrapper.svelte-1e991im.svelte-1e991im{bottom:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__body-card-price-wrapper.svelte-1e991im.svelte-1e991im{bottom:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.parking__body-card-price-wrapper.svelte-1e991im.svelte-1e991im{bottom:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__body-card-price-wrapper.svelte-1e991im.svelte-1e991im{bottom:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__body-card-price-wrapper.svelte-1e991im.svelte-1e991im{bottom:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.parking__body-card-price-wrapper.svelte-1e991im.svelte-1e991im{bottom:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.parking__body-card-price-wrapper.svelte-1e991im.svelte-1e991im{height:calc(0.0479166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__body-card-price-wrapper.svelte-1e991im.svelte-1e991im{height:calc(0.0479166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__body-card-price-wrapper.svelte-1e991im.svelte-1e991im{height:calc(0.0368958333 * 100vw + 0px)}}@media(min-width: 3440px){.parking__body-card-price-wrapper.svelte-1e991im.svelte-1e991im{height:calc(0.0527083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__body-card-price-wrapper.svelte-1e991im.svelte-1e991im{height:calc(0.0335416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__body-card-price-wrapper.svelte-1e991im.svelte-1e991im{height:calc(0.043125 * 100vw + 0px)}}@media(min-width: 4096px){.parking__body-card-price-wrapper.svelte-1e991im.svelte-1e991im{height:calc(0.0527083333 * 100vw + 0px)}}.parking__body-card-price.svelte-1e991im.svelte-1e991im{font-family:\"GothamPro-Bold\";color:#111111;font-size:calc(0.05 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.parking__body-card-price.svelte-1e991im.svelte-1e991im{font-size:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__body-card-price.svelte-1e991im.svelte-1e991im{font-size:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__body-card-price.svelte-1e991im.svelte-1e991im{font-size:calc(0.0385 * 100vw + 0px)}}@media(min-width: 3440px){.parking__body-card-price.svelte-1e991im.svelte-1e991im{font-size:calc(0.055 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__body-card-price.svelte-1e991im.svelte-1e991im{font-size:calc(0.035 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__body-card-price.svelte-1e991im.svelte-1e991im{font-size:calc(0.045 * 100vw + 0px)}}@media(min-width: 4096px){.parking__body-card-price.svelte-1e991im.svelte-1e991im{font-size:calc(0.055 * 100vw + 0px)}}.parking__body-card-decoration.svelte-1e991im.svelte-1e991im{height:calc(0.0260416667 * 100vw + 0px);margin-bottom:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.parking__body-card-decoration.svelte-1e991im.svelte-1e991im{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__body-card-decoration.svelte-1e991im.svelte-1e991im{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__body-card-decoration.svelte-1e991im.svelte-1e991im{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.parking__body-card-decoration.svelte-1e991im.svelte-1e991im{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__body-card-decoration.svelte-1e991im.svelte-1e991im{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__body-card-decoration.svelte-1e991im.svelte-1e991im{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.parking__body-card-decoration.svelte-1e991im.svelte-1e991im{height:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.parking__body-card-decoration.svelte-1e991im.svelte-1e991im{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__body-card-decoration.svelte-1e991im.svelte-1e991im{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__body-card-decoration.svelte-1e991im.svelte-1e991im{margin-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.parking__body-card-decoration.svelte-1e991im.svelte-1e991im{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__body-card-decoration.svelte-1e991im.svelte-1e991im{margin-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__body-card-decoration.svelte-1e991im.svelte-1e991im{margin-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.parking__body-card-decoration.svelte-1e991im.svelte-1e991im{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}.parking__body-warning.svelte-1e991im.svelte-1e991im{display:flex;flex-direction:column;gap:calc(0.0130208333 * 100vw + 0px);margin-top:calc(0.0364583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.parking__body-warning.svelte-1e991im.svelte-1e991im{gap:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__body-warning.svelte-1e991im.svelte-1e991im{gap:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__body-warning.svelte-1e991im.svelte-1e991im{gap:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.parking__body-warning.svelte-1e991im.svelte-1e991im{gap:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__body-warning.svelte-1e991im.svelte-1e991im{gap:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__body-warning.svelte-1e991im.svelte-1e991im{gap:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.parking__body-warning.svelte-1e991im.svelte-1e991im{gap:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.parking__body-warning.svelte-1e991im.svelte-1e991im{margin-top:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__body-warning.svelte-1e991im.svelte-1e991im{margin-top:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__body-warning.svelte-1e991im.svelte-1e991im{margin-top:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.parking__body-warning.svelte-1e991im.svelte-1e991im{margin-top:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__body-warning.svelte-1e991im.svelte-1e991im{margin-top:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__body-warning.svelte-1e991im.svelte-1e991im{margin-top:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.parking__body-warning.svelte-1e991im.svelte-1e991im{margin-top:calc(0.0401041667 * 100vw + 0px)}}.parking__body-warning-img.svelte-1e991im.svelte-1e991im{height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.parking__body-warning-img.svelte-1e991im.svelte-1e991im{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__body-warning-img.svelte-1e991im.svelte-1e991im{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__body-warning-img.svelte-1e991im.svelte-1e991im{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.parking__body-warning-img.svelte-1e991im.svelte-1e991im{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__body-warning-img.svelte-1e991im.svelte-1e991im{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__body-warning-img.svelte-1e991im.svelte-1e991im{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.parking__body-warning-img.svelte-1e991im.svelte-1e991im{height:calc(0.0286458333 * 100vw + 0px)}}.parking__body-warning-title.svelte-1e991im.svelte-1e991im{font-family:\"GothamPro-Light\";color:#C4C4C4;text-align:center;font-size:calc(0.0125 * 100vw + 0px);line-height:calc(0.0166666667 * 100vw + 0px);width:calc(0.3145833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.parking__body-warning-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__body-warning-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__body-warning-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.parking__body-warning-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__body-warning-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__body-warning-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.parking__body-warning-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.parking__body-warning-title.svelte-1e991im.svelte-1e991im{line-height:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__body-warning-title.svelte-1e991im.svelte-1e991im{line-height:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__body-warning-title.svelte-1e991im.svelte-1e991im{line-height:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.parking__body-warning-title.svelte-1e991im.svelte-1e991im{line-height:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__body-warning-title.svelte-1e991im.svelte-1e991im{line-height:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__body-warning-title.svelte-1e991im.svelte-1e991im{line-height:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.parking__body-warning-title.svelte-1e991im.svelte-1e991im{line-height:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.parking__body-warning-title.svelte-1e991im.svelte-1e991im{width:calc(0.3145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__body-warning-title.svelte-1e991im.svelte-1e991im{width:calc(0.3145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__body-warning-title.svelte-1e991im.svelte-1e991im{width:calc(0.2422291667 * 100vw + 0px)}}@media(min-width: 3440px){.parking__body-warning-title.svelte-1e991im.svelte-1e991im{width:calc(0.3460416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__body-warning-title.svelte-1e991im.svelte-1e991im{width:calc(0.2202083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__body-warning-title.svelte-1e991im.svelte-1e991im{width:calc(0.283125 * 100vw + 0px)}}@media(min-width: 4096px){.parking__body-warning-title.svelte-1e991im.svelte-1e991im{width:calc(0.3460416667 * 100vw + 0px)}}.parking__body-button.svelte-1e991im.svelte-1e991im{display:flex;align-items:center;justify-content:center;background-color:#66B564;cursor:pointer;transition:background-color 0.2s linear;gap:calc(0.0130208333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);margin-top:calc(0.0260416667 * 100vw + 0px);width:calc(0.1822916667 * 100vw + 0px);height:calc(0.0520833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.parking__body-button.svelte-1e991im.svelte-1e991im{gap:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__body-button.svelte-1e991im.svelte-1e991im{gap:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__body-button.svelte-1e991im.svelte-1e991im{gap:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.parking__body-button.svelte-1e991im.svelte-1e991im{gap:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__body-button.svelte-1e991im.svelte-1e991im{gap:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__body-button.svelte-1e991im.svelte-1e991im{gap:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.parking__body-button.svelte-1e991im.svelte-1e991im{gap:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.parking__body-button.svelte-1e991im.svelte-1e991im{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__body-button.svelte-1e991im.svelte-1e991im{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__body-button.svelte-1e991im.svelte-1e991im{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.parking__body-button.svelte-1e991im.svelte-1e991im{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__body-button.svelte-1e991im.svelte-1e991im{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__body-button.svelte-1e991im.svelte-1e991im{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.parking__body-button.svelte-1e991im.svelte-1e991im{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.parking__body-button.svelte-1e991im.svelte-1e991im{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__body-button.svelte-1e991im.svelte-1e991im{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__body-button.svelte-1e991im.svelte-1e991im{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.parking__body-button.svelte-1e991im.svelte-1e991im{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__body-button.svelte-1e991im.svelte-1e991im{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__body-button.svelte-1e991im.svelte-1e991im{margin-top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.parking__body-button.svelte-1e991im.svelte-1e991im{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.parking__body-button.svelte-1e991im.svelte-1e991im{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__body-button.svelte-1e991im.svelte-1e991im{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__body-button.svelte-1e991im.svelte-1e991im{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.parking__body-button.svelte-1e991im.svelte-1e991im{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__body-button.svelte-1e991im.svelte-1e991im{width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__body-button.svelte-1e991im.svelte-1e991im{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.parking__body-button.svelte-1e991im.svelte-1e991im{width:calc(0.2005208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.parking__body-button.svelte-1e991im.svelte-1e991im{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__body-button.svelte-1e991im.svelte-1e991im{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__body-button.svelte-1e991im.svelte-1e991im{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.parking__body-button.svelte-1e991im.svelte-1e991im{height:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__body-button.svelte-1e991im.svelte-1e991im{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__body-button.svelte-1e991im.svelte-1e991im{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.parking__body-button.svelte-1e991im.svelte-1e991im{height:calc(0.0572916667 * 100vw + 0px)}}.parking__body-button.svelte-1e991im.svelte-1e991im:hover{background-color:#499148}.parking__body-button-img.svelte-1e991im.svelte-1e991im{height:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.parking__body-button-img.svelte-1e991im.svelte-1e991im{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__body-button-img.svelte-1e991im.svelte-1e991im{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__body-button-img.svelte-1e991im.svelte-1e991im{height:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.parking__body-button-img.svelte-1e991im.svelte-1e991im{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__body-button-img.svelte-1e991im.svelte-1e991im{height:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__body-button-img.svelte-1e991im.svelte-1e991im{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.parking__body-button-img.svelte-1e991im.svelte-1e991im{height:calc(0.0200520833 * 100vw + 0px)}}.parking__body-button-title.svelte-1e991im.svelte-1e991im{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.01875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.parking__body-button-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.parking__body-button-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.parking__body-button-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.parking__body-button-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.parking__body-button-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.parking__body-button-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.parking__body-button-title.svelte-1e991im.svelte-1e991im{font-size:calc(0.020625 * 100vw + 0px)}}");
}

function parking_index_svelte_create_fragment(ctx) {
	let div11;
	let div5;
	let div1;
	let img0;
	let img0_src_value;
	let t0;
	let div0;
	let t4;
	let div3;
	let p2;
	let t6;
	let div2;
	let p3;
	let t7;
	let t8_value = /*currentInformation*/ ctx[0].number + "";
	let t8;
	let t9;
	let div4;
	let p4;
	let t11;
	let img1;
	let img1_src_value;
	let t12;
	let div10;
	let p5;
	let t14;
	let div7;
	let img2;
	let img2_src_value;
	let t15;
	let p6;
	let t17;
	let div6;
	let p7;
	let t18_value = formatMoney(/*currentInformation*/ ctx[0].price) + "";
	let t18;
	let t19;
	let img3;
	let img3_src_value;
	let t20;
	let div8;
	let img4;
	let img4_src_value;
	let t21;
	let p8;
	let t23;
	let div9;
	let img5;
	let img5_src_value;
	let t24;
	let p9;
	let mounted;
	let dispose;

	return {
		c() {
			div11 = internal_element("div");
			div5 = internal_element("div");
			div1 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			div0 = internal_element("div");

			div0.innerHTML = `<p class="parking__header-logo-title svelte-1e991im">Городской паркинг</p> 
                <p class="parking__header-logo-description svelte-1e991im">Государственная служба</p>`;

			t4 = space();
			div3 = internal_element("div");
			p2 = internal_element("p");
			p2.textContent = "Паркомат";
			t6 = space();
			div2 = internal_element("div");
			p3 = internal_element("p");
			t7 = internal_text("№");
			t8 = internal_text(t8_value);
			t9 = space();
			div4 = internal_element("div");
			p4 = internal_element("p");
			p4.textContent = "Закрыть меню";
			t11 = space();
			img1 = internal_element("img");
			t12 = space();
			div10 = internal_element("div");
			p5 = internal_element("p");
			p5.textContent = "Оплата парковочного места";
			t14 = space();
			div7 = internal_element("div");
			img2 = internal_element("img");
			t15 = space();
			p6 = internal_element("p");
			p6.textContent = "К оплате:";
			t17 = space();
			div6 = internal_element("div");
			p7 = internal_element("p");
			t18 = internal_text(t18_value);
			t19 = space();
			img3 = internal_element("img");
			t20 = space();
			div8 = internal_element("div");
			img4 = internal_element("img");
			t21 = space();
			p8 = internal_element("p");
			p8.textContent = "В случае не уплаты парковки в течении 24 часов вам будет начисляться пеня";
			t23 = space();
			div9 = internal_element("div");
			img5 = internal_element("img");
			t24 = space();
			p9 = internal_element("p");
			p9.textContent = "Оплатить";
			attr(img0, "class", "parking__header-logo-img svelte-1e991im");
			if (!src_url_equal(img0.src, img0_src_value = parking_img_logo_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "logo");
			attr(div0, "class", "parking__header-logo-title-wrapper");
			attr(div1, "class", "parking__header-logo svelte-1e991im");
			attr(p2, "class", "parking__header-title svelte-1e991im");
			attr(p3, "class", "parking__header-number svelte-1e991im");
			attr(div2, "class", "parking__header-number-wrapper svelte-1e991im");
			attr(div3, "class", "parking__header-title-wrapper svelte-1e991im");
			attr(p4, "class", "parking__header-exit-title svelte-1e991im");
			attr(img1, "class", "parking__header-exit-img svelte-1e991im");
			if (!src_url_equal(img1.src, img1_src_value = exit_button_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "exit");
			attr(div4, "class", "parking__header-exit svelte-1e991im");
			attr(div5, "class", "parking__header svelte-1e991im");
			attr(p5, "class", "parking__body-title svelte-1e991im");
			attr(img2, "class", "parking__body-card-background svelte-1e991im");
			if (!src_url_equal(img2.src, img2_src_value = parking_img_background_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "background");
			attr(p6, "class", "parking__body-card-title svelte-1e991im");
			attr(p7, "class", "parking__body-card-price svelte-1e991im");
			attr(img3, "class", "parking__body-card-decoration svelte-1e991im");
			if (!src_url_equal(img3.src, img3_src_value = price_decoration_namespaceObject)) attr(img3, "src", img3_src_value);
			attr(img3, "alt", "price-decoration");
			attr(div6, "class", "parking__body-card-price-wrapper svelte-1e991im");
			attr(div7, "class", "parking__body-card svelte-1e991im");
			attr(img4, "class", "parking__body-warning-img svelte-1e991im");
			if (!src_url_equal(img4.src, img4_src_value = parking_img_warning_namespaceObject)) attr(img4, "src", img4_src_value);
			attr(img4, "alt", "warning");
			attr(p8, "class", "parking__body-warning-title svelte-1e991im");
			attr(div8, "class", "parking__body-warning svelte-1e991im");
			attr(img5, "class", "parking__body-button-img svelte-1e991im");
			if (!src_url_equal(img5.src, img5_src_value = button_img_namespaceObject)) attr(img5, "src", img5_src_value);
			attr(img5, "alt", "button-img");
			attr(p9, "class", "parking__body-button-title svelte-1e991im");
			attr(div9, "class", "parking__body-button svelte-1e991im");
			attr(div10, "class", "parking__body svelte-1e991im");
			attr(div11, "class", "parking svelte-1e991im");
		},
		m(target, anchor) {
			insert(target, div11, anchor);
			append(div11, div5);
			append(div5, div1);
			append(div1, img0);
			append(div1, t0);
			append(div1, div0);
			append(div5, t4);
			append(div5, div3);
			append(div3, p2);
			append(div3, t6);
			append(div3, div2);
			append(div2, p3);
			append(p3, t7);
			append(p3, t8);
			append(div5, t9);
			append(div5, div4);
			append(div4, p4);
			append(div4, t11);
			append(div4, img1);
			append(div11, t12);
			append(div11, div10);
			append(div10, p5);
			append(div10, t14);
			append(div10, div7);
			append(div7, img2);
			append(div7, t15);
			append(div7, p6);
			append(div7, t17);
			append(div7, div6);
			append(div6, p7);
			append(p7, t18);
			append(div6, t19);
			append(div6, img3);
			append(div10, t20);
			append(div10, div8);
			append(div8, img4);
			append(div8, t21);
			append(div8, p8);
			append(div10, t23);
			append(div10, div9);
			append(div9, img5);
			append(div9, t24);
			append(div9, p9);

			if (!mounted) {
				dispose = [
					listen(div4, "click", /*handleClose*/ ctx[1]),
					listen(div8, "click", /*payParking*/ ctx[2])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*currentInformation*/ 1 && t8_value !== (t8_value = /*currentInformation*/ ctx[0].number + "")) set_data(t8, t8_value);
			if (dirty & /*currentInformation*/ 1 && t18_value !== (t18_value = formatMoney(/*currentInformation*/ ctx[0].price) + "")) set_data(t18, t18_value);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div11);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function parking_index_svelte_instance($$self, $$props, $$invalidate) {
	let currentInformation = {};

	const initializeInformation = currentInformationDto => {
		$$invalidate(0, currentInformation = currentInformationDto);
	};

	const handleClose = () => {
		sendClientMessage('parking.exit');
	};

	const payParking = () => {
		sendClientMessage('parking.pay');
	};

	const unregisterInformationEvent = registerEvent('event.parking.currentInformation', initializeInformation);

	onDestroy(() => {
		unregisterInformationEvent();
	});

	return [currentInformation, handleClose, payParking];
}

class Parking extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, parking_index_svelte_instance, parking_index_svelte_create_fragment, safe_not_equal, {}, parking_index_svelte_add_css);
	}
}

/* harmony default export */ const parking_index_svelte = (Parking);
;// CONCATENATED MODULE: ./src/views/animations-menu/components/animation-item/index.svelte
/* src\views\animations-menu\components\animation-item\index.svelte generated by Svelte v3.49.0 */





function animation_item_index_svelte_add_css(target) {
	append_styles(target, "svelte-rty8f3", "@keyframes svelte-rty8f3-blinking{50%{opacity:0}}@keyframes svelte-rty8f3-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-rty8f3-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-rty8f3-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-rty8f3-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-rty8f3-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-rty8f3-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-rty8f3-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-rty8f3-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-rty8f3-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-rty8f3-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-rty8f3-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-rty8f3-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-rty8f3-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-rty8f3-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.animation-item.svelte-rty8f3{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;border-color:rgba(255, 255, 255, 0.75);border-style:solid;cursor:pointer;width:calc(0.0911458333 * 100vw + 0px);height:calc(0.0911458333 * 100vw + 0px);border-width:calc(0.0005208333 * 100vw + 0px);border-radius:calc(0.0026041667 * 100vw + 0px);padding:calc(0.0104166667 * 100vw + 0px);padding-bottom:calc(0.0052083333 * 100vw + 0px);padding-top:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.animation-item.svelte-rty8f3{width:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animation-item.svelte-rty8f3{width:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animation-item.svelte-rty8f3{width:calc(0.0701822917 * 100vw + 0px)}}@media(min-width: 3440px){.animation-item.svelte-rty8f3{width:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animation-item.svelte-rty8f3{width:calc(0.0638020833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animation-item.svelte-rty8f3{width:calc(0.08203125 * 100vw + 0px)}}@media(min-width: 4096px){.animation-item.svelte-rty8f3{width:calc(0.1002604167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.animation-item.svelte-rty8f3{height:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animation-item.svelte-rty8f3{height:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animation-item.svelte-rty8f3{height:calc(0.0701822917 * 100vw + 0px)}}@media(min-width: 3440px){.animation-item.svelte-rty8f3{height:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animation-item.svelte-rty8f3{height:calc(0.0638020833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animation-item.svelte-rty8f3{height:calc(0.08203125 * 100vw + 0px)}}@media(min-width: 4096px){.animation-item.svelte-rty8f3{height:calc(0.1002604167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.animation-item.svelte-rty8f3{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animation-item.svelte-rty8f3{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animation-item.svelte-rty8f3{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.animation-item.svelte-rty8f3{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animation-item.svelte-rty8f3{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animation-item.svelte-rty8f3{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.animation-item.svelte-rty8f3{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.animation-item.svelte-rty8f3{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animation-item.svelte-rty8f3{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animation-item.svelte-rty8f3{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.animation-item.svelte-rty8f3{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animation-item.svelte-rty8f3{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animation-item.svelte-rty8f3{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.animation-item.svelte-rty8f3{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.animation-item.svelte-rty8f3{padding:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animation-item.svelte-rty8f3{padding:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animation-item.svelte-rty8f3{padding:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.animation-item.svelte-rty8f3{padding:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animation-item.svelte-rty8f3{padding:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animation-item.svelte-rty8f3{padding:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.animation-item.svelte-rty8f3{padding:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.animation-item.svelte-rty8f3{padding-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animation-item.svelte-rty8f3{padding-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animation-item.svelte-rty8f3{padding-bottom:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.animation-item.svelte-rty8f3{padding-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animation-item.svelte-rty8f3{padding-bottom:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animation-item.svelte-rty8f3{padding-bottom:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.animation-item.svelte-rty8f3{padding-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.animation-item.svelte-rty8f3{padding-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animation-item.svelte-rty8f3{padding-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animation-item.svelte-rty8f3{padding-top:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.animation-item.svelte-rty8f3{padding-top:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animation-item.svelte-rty8f3{padding-top:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animation-item.svelte-rty8f3{padding-top:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.animation-item.svelte-rty8f3{padding-top:calc(0.00859375 * 100vw + 0px)}}.animation-item.svelte-rty8f3:hover,.animation-item--active.svelte-rty8f3{color:rgba(255, 255, 255, 0.75);border-color:#FFFFFF;background-color:rgba(255, 255, 255, 0.1)}.animation-item__image-wrapper.svelte-rty8f3{position:relative;height:80%;width:calc(0.078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.animation-item__image-wrapper.svelte-rty8f3{width:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animation-item__image-wrapper.svelte-rty8f3{width:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animation-item__image-wrapper.svelte-rty8f3{width:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.animation-item__image-wrapper.svelte-rty8f3{width:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animation-item__image-wrapper.svelte-rty8f3{width:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animation-item__image-wrapper.svelte-rty8f3{width:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.animation-item__image-wrapper.svelte-rty8f3{width:calc(0.0859375 * 100vw + 0px)}}.animation-item__image.svelte-rty8f3{position:absolute;width:100%;height:100%;margin-bottom:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.animation-item__image.svelte-rty8f3{margin-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animation-item__image.svelte-rty8f3{margin-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animation-item__image.svelte-rty8f3{margin-bottom:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.animation-item__image.svelte-rty8f3{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animation-item__image.svelte-rty8f3{margin-bottom:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animation-item__image.svelte-rty8f3{margin-bottom:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.animation-item__image.svelte-rty8f3{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}.animation-item__name.svelte-rty8f3{font-family:\"GothamPro\";color:#FFFFFF;text-align:center;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;vertical-align:baseline;font-size:calc(0.0083333333 * 100vw + 0px);line-height:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.animation-item__name.svelte-rty8f3{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animation-item__name.svelte-rty8f3{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animation-item__name.svelte-rty8f3{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.animation-item__name.svelte-rty8f3{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animation-item__name.svelte-rty8f3{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animation-item__name.svelte-rty8f3{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.animation-item__name.svelte-rty8f3{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.animation-item__name.svelte-rty8f3{line-height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animation-item__name.svelte-rty8f3{line-height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animation-item__name.svelte-rty8f3{line-height:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.animation-item__name.svelte-rty8f3{line-height:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animation-item__name.svelte-rty8f3{line-height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animation-item__name.svelte-rty8f3{line-height:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.animation-item__name.svelte-rty8f3{line-height:calc(0.0103125 * 100vw + 0px)}}.animation-item__like.svelte-rty8f3{position:absolute;font-size:calc(0.009375 * 100vw + 0px);top:calc(0.0078125 * 100vw + 0px);right:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.animation-item__like.svelte-rty8f3{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animation-item__like.svelte-rty8f3{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animation-item__like.svelte-rty8f3{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.animation-item__like.svelte-rty8f3{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animation-item__like.svelte-rty8f3{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animation-item__like.svelte-rty8f3{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.animation-item__like.svelte-rty8f3{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.animation-item__like.svelte-rty8f3{top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animation-item__like.svelte-rty8f3{top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animation-item__like.svelte-rty8f3{top:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.animation-item__like.svelte-rty8f3{top:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animation-item__like.svelte-rty8f3{top:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animation-item__like.svelte-rty8f3{top:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.animation-item__like.svelte-rty8f3{top:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.animation-item__like.svelte-rty8f3{right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animation-item__like.svelte-rty8f3{right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animation-item__like.svelte-rty8f3{right:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.animation-item__like.svelte-rty8f3{right:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animation-item__like.svelte-rty8f3{right:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animation-item__like.svelte-rty8f3{right:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.animation-item__like.svelte-rty8f3{right:calc(0.00859375 * 100vw + 0px)}}.animation-item__like--active.svelte-rty8f3{color:#FF2323}");
}

// (732:3) {:else}
function animation_item_index_svelte_create_else_block(ctx) {
	let img;
	let img_src_value;
	let img_outro;
	let current;

	return {
		c() {
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/assets/images/animation/img/animations/${/*animation*/ ctx[0].image}`)) attr(img, "src", img_src_value);
			attr(img, "alt", "preview");
			attr(img, "class", "animation-item__image svelte-rty8f3");
		},
		m(target, anchor) {
			insert(target, img, anchor);
			current = true;
		},
		p(ctx, dirty) {
			if (!current || dirty & /*animation*/ 1 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/assets/images/animation/img/animations/${/*animation*/ ctx[0].image}`)) {
				attr(img, "src", img_src_value);
			}
		},
		i(local) {
			if (current) return;
			if (img_outro) img_outro.end(1);
			current = true;
		},
		o(local) {
			img_outro = create_out_transition(img, fade, {});
			current = false;
		},
		d(detaching) {
			if (detaching) detach(img);
			if (detaching && img_outro) img_outro.end();
		}
	};
}

// (730:3) {#if hovered}
function animation_item_index_svelte_create_if_block_2(ctx) {
	let img;
	let img_src_value;
	let img_outro;
	let current;

	return {
		c() {
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/assets/images/animation/img/animations/${/*animation*/ ctx[0].imageHover}`)) attr(img, "src", img_src_value);
			attr(img, "alt", "preview");
			attr(img, "class", "animation-item__image svelte-rty8f3");
		},
		m(target, anchor) {
			insert(target, img, anchor);
			current = true;
		},
		p(ctx, dirty) {
			if (!current || dirty & /*animation*/ 1 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/assets/images/animation/img/animations/${/*animation*/ ctx[0].imageHover}`)) {
				attr(img, "src", img_src_value);
			}
		},
		i(local) {
			if (current) return;
			if (img_outro) img_outro.end(1);
			current = true;
		},
		o(local) {
			img_outro = create_out_transition(img, fade, {});
			current = false;
		},
		d(detaching) {
			if (detaching) detach(img);
			if (detaching && img_outro) img_outro.end();
		}
	};
}

// (727:52) 
function animation_item_index_svelte_create_if_block_1(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = `${CDN_URL}/projects/arizona-rp/systems/animation_pirate/rollSwapAnim1.gif`)) attr(img, "src", img_src_value);
			attr(img, "alt", "preview");
			attr(img, "class", "animation-item__image svelte-rty8f3");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (725:2) {#if animation.image === 'pirateSwapAnim.webp'}
function animation_item_index_svelte_create_if_block(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = `${CDN_URL}/projects/arizona-rp/systems/animation_pirate/pirateSwapAnim1.gif`)) attr(img, "src", img_src_value);
			attr(img, "alt", "preview");
			attr(img, "class", "animation-item__image svelte-rty8f3");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

function animation_item_index_svelte_create_fragment(ctx) {
	let div1;
	let div0;
	let current_block_type_index;
	let if_block;
	let t0;
	let span;
	let t1_value = /*animation*/ ctx[0].name + "";
	let t1;
	let t2;
	let i;
	let div1_outro;
	let current;
	let mounted;
	let dispose;
	const if_block_creators = [animation_item_index_svelte_create_if_block, animation_item_index_svelte_create_if_block_1, animation_item_index_svelte_create_if_block_2, animation_item_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (/*animation*/ ctx[0].image === 'pirateSwapAnim.webp') return 0;
		if (/*animation*/ ctx[0].image === 'rollSwapAnim.webp') return 1;
		if (/*hovered*/ ctx[5]) return 2;
		return 3;
	}

	current_block_type_index = select_block_type(ctx, -1);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			if_block.c();
			t0 = space();
			span = internal_element("span");
			t1 = internal_text(t1_value);
			t2 = space();
			i = internal_element("i");
			attr(div0, "class", "animation-item__image-wrapper svelte-rty8f3");
			attr(span, "class", "animation-item__name svelte-rty8f3");
			attr(i, "class", "animation-item__like ui-azpotify-like-filled svelte-rty8f3");
			toggle_class(i, "animation-item__like--active", /*favorited*/ ctx[4]);
			attr(div1, "class", "animation-item svelte-rty8f3");
			toggle_class(div1, "animation-item--active", /*active*/ ctx[3]);
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			if_blocks[current_block_type_index].m(div0, null);
			append(div1, t0);
			append(div1, span);
			append(span, t1);
			append(div1, t2);
			append(div1, i);
			current = true;

			if (!mounted) {
				dispose = [
					listen(i, "click", stop_propagation(function () {
						if (internal_is_function(/*onLike*/ ctx[1])) /*onLike*/ ctx[1].apply(this, arguments);
					})),
					listen(div1, "click", function () {
						if (internal_is_function(/*onSelect*/ ctx[2])) /*onSelect*/ ctx[2].apply(this, arguments);
					}),
					listen(div1, "mouseenter", /*mouseenter_handler*/ ctx[6]),
					listen(div1, "mouseleave", /*mouseleave_handler*/ ctx[7])
				];

				mounted = true;
			}
		},
		p(new_ctx, [dirty]) {
			ctx = new_ctx;
			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(div0, null);
			}

			if ((!current || dirty & /*animation*/ 1) && t1_value !== (t1_value = /*animation*/ ctx[0].name + "")) set_data(t1, t1_value);

			if (dirty & /*favorited*/ 16) {
				toggle_class(i, "animation-item__like--active", /*favorited*/ ctx[4]);
			}

			if (dirty & /*active*/ 8) {
				toggle_class(div1, "animation-item--active", /*active*/ ctx[3]);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			if (div1_outro) div1_outro.end(1);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			div1_outro = create_out_transition(div1, fade, {});
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			if_blocks[current_block_type_index].d();
			if (detaching && div1_outro) div1_outro.end();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function animation_item_index_svelte_instance($$self, $$props, $$invalidate) {
	let { animation = {} } = $$props;

	let { onLike = () => {
		
	} } = $$props;

	let { onSelect = () => {
		
	} } = $$props;

	let { active = false } = $$props;
	let { favorited = false } = $$props;
	let hovered = false;

	const mouseenter_handler = () => {
		$$invalidate(5, hovered = true);
	};

	const mouseleave_handler = () => {
		$$invalidate(5, hovered = false);
	};

	$$self.$$set = $$props => {
		if ('animation' in $$props) $$invalidate(0, animation = $$props.animation);
		if ('onLike' in $$props) $$invalidate(1, onLike = $$props.onLike);
		if ('onSelect' in $$props) $$invalidate(2, onSelect = $$props.onSelect);
		if ('active' in $$props) $$invalidate(3, active = $$props.active);
		if ('favorited' in $$props) $$invalidate(4, favorited = $$props.favorited);
	};

	return [
		animation,
		onLike,
		onSelect,
		active,
		favorited,
		hovered,
		mouseenter_handler,
		mouseleave_handler
	];
}

class Animation_item extends SvelteComponent {
	constructor(options) {
		super();

		init(
			this,
			options,
			animation_item_index_svelte_instance,
			animation_item_index_svelte_create_fragment,
			safe_not_equal,
			{
				animation: 0,
				onLike: 1,
				onSelect: 2,
				active: 3,
				favorited: 4
			},
			animation_item_index_svelte_add_css
		);
	}
}

/* harmony default export */ const animation_item_index_svelte = (Animation_item);
;// CONCATENATED MODULE: ./src/views/animations-menu/constants.js
function animations_menu_constants_typeof(o) { "@babel/helpers - typeof"; return animations_menu_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, animations_menu_constants_typeof(o); }
function animations_menu_constants_defineProperty(e, r, t) { return (r = animations_menu_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function animations_menu_constants_toPropertyKey(t) { var i = animations_menu_constants_toPrimitive(t, "string"); return "symbol" == animations_menu_constants_typeof(i) ? i : i + ""; }
function animations_menu_constants_toPrimitive(t, r) { if ("object" != animations_menu_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != animations_menu_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
var AnimationCategories = {
  Favorites: 0,
  Communication: 1,
  Actions: 2,
  Signs: 3,
  Stands: 4,
  Reactions: 5,
  Rest: 6,
  Fun: 7,
  States: 8
};
var ANIMATION_ID_TO_TITLE = animations_menu_constants_defineProperty(animations_menu_constants_defineProperty(animations_menu_constants_defineProperty(animations_menu_constants_defineProperty(animations_menu_constants_defineProperty(animations_menu_constants_defineProperty(animations_menu_constants_defineProperty(animations_menu_constants_defineProperty(animations_menu_constants_defineProperty({}, AnimationCategories.Favorites, 'Избранное'), AnimationCategories.Communication, 'Общение'), AnimationCategories.Actions, 'Действия'), AnimationCategories.Signs, 'Жесты'), AnimationCategories.Stands, 'Стойки'), AnimationCategories.Reactions, 'Реакции'), AnimationCategories.Rest, 'Отдых'), AnimationCategories.Fun, 'Развлечение'), AnimationCategories.States, 'Самочувствие');
;// CONCATENATED MODULE: ./src/views/animations-menu/index.svelte
/* src\views\animations-menu\index.svelte generated by Svelte v3.49.0 */















function animations_menu_index_svelte_add_css(target) {
	append_styles(target, "svelte-1ylzlp", "@keyframes svelte-1ylzlp-blinking{50%{opacity:0}}@keyframes svelte-1ylzlp-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1ylzlp-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1ylzlp-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1ylzlp-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1ylzlp-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1ylzlp-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1ylzlp-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1ylzlp-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1ylzlp-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1ylzlp-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1ylzlp-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1ylzlp-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1ylzlp-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1ylzlp-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.animations-menu.svelte-1ylzlp{position:absolute;right:0;height:100vh;width:calc(0.346875 * 100vw + 0px);padding-top:calc(0.0130208333 * 100vw + 0px);padding-left:calc(0.0208333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.animations-menu.svelte-1ylzlp{width:calc(0.346875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu.svelte-1ylzlp{width:calc(0.346875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu.svelte-1ylzlp{width:calc(0.26709375 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu.svelte-1ylzlp{width:calc(0.3815625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu.svelte-1ylzlp{width:calc(0.2428125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu.svelte-1ylzlp{width:calc(0.3121875 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu.svelte-1ylzlp{width:calc(0.3815625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.animations-menu.svelte-1ylzlp{padding-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu.svelte-1ylzlp{padding-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu.svelte-1ylzlp{padding-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu.svelte-1ylzlp{padding-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu.svelte-1ylzlp{padding-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu.svelte-1ylzlp{padding-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu.svelte-1ylzlp{padding-top:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.animations-menu.svelte-1ylzlp{padding-left:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu.svelte-1ylzlp{padding-left:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu.svelte-1ylzlp{padding-left:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu.svelte-1ylzlp{padding-left:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu.svelte-1ylzlp{padding-left:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu.svelte-1ylzlp{padding-left:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu.svelte-1ylzlp{padding-left:calc(0.0229166667 * 100vw + 0px)}}.animations-menu.svelte-1ylzlp:before{content:\"\";position:absolute;z-index:-1;top:0;right:0;width:100%;height:100%;background:linear-gradient(-90deg, rgba(32, 39, 49, 0.9) 75%, transparent);padding-left:calc(0.1041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.animations-menu.svelte-1ylzlp:before{padding-left:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu.svelte-1ylzlp:before{padding-left:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu.svelte-1ylzlp:before{padding-left:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu.svelte-1ylzlp:before{padding-left:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu.svelte-1ylzlp:before{padding-left:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu.svelte-1ylzlp:before{padding-left:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu.svelte-1ylzlp:before{padding-left:calc(0.1145833333 * 100vw + 0px)}}.animations-menu__header.svelte-1ylzlp{display:flex;justify-content:space-between;margin-bottom:calc(0.0260416667 * 100vw + 0px);padding-right:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.animations-menu__header.svelte-1ylzlp{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu__header.svelte-1ylzlp{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu__header.svelte-1ylzlp{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu__header.svelte-1ylzlp{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu__header.svelte-1ylzlp{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu__header.svelte-1ylzlp{margin-bottom:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu__header.svelte-1ylzlp{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.animations-menu__header.svelte-1ylzlp{padding-right:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu__header.svelte-1ylzlp{padding-right:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu__header.svelte-1ylzlp{padding-right:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu__header.svelte-1ylzlp{padding-right:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu__header.svelte-1ylzlp{padding-right:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu__header.svelte-1ylzlp{padding-right:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu__header.svelte-1ylzlp{padding-right:calc(0.0286458333 * 100vw + 0px)}}.animations-menu__header-title.svelte-1ylzlp{font-family:\"GothamPro\";color:#FFFFFF;font-weight:700;font-size:calc(0.0208333333 * 100vw + 0px);line-height:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.animations-menu__header-title.svelte-1ylzlp{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu__header-title.svelte-1ylzlp{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu__header-title.svelte-1ylzlp{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu__header-title.svelte-1ylzlp{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu__header-title.svelte-1ylzlp{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu__header-title.svelte-1ylzlp{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu__header-title.svelte-1ylzlp{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.animations-menu__header-title.svelte-1ylzlp{line-height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu__header-title.svelte-1ylzlp{line-height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu__header-title.svelte-1ylzlp{line-height:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu__header-title.svelte-1ylzlp{line-height:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu__header-title.svelte-1ylzlp{line-height:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu__header-title.svelte-1ylzlp{line-height:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu__header-title.svelte-1ylzlp{line-height:calc(0.0275 * 100vw + 0px)}}.animations-menu__filter-buttons.svelte-1ylzlp{display:flex;justify-content:space-between;flex-wrap:wrap;padding-right:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.animations-menu__filter-buttons.svelte-1ylzlp{padding-right:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu__filter-buttons.svelte-1ylzlp{padding-right:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu__filter-buttons.svelte-1ylzlp{padding-right:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu__filter-buttons.svelte-1ylzlp{padding-right:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu__filter-buttons.svelte-1ylzlp{padding-right:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu__filter-buttons.svelte-1ylzlp{padding-right:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu__filter-buttons.svelte-1ylzlp{padding-right:calc(0.0286458333 * 100vw + 0px)}}.animations-menu__filter-button.svelte-1ylzlp{display:flex;justify-content:center;align-items:center;font-family:\"GothamPro\";color:rgba(255, 255, 255, 0.75);border-color:rgba(255, 255, 255, 0.75);border-style:solid;cursor:pointer;transition:0.2s ease-in-out;transition-property:color, border-color, background-color;width:calc(0.0911458333 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px);border-width:calc(0.0005208333 * 100vw + 0px);border-radius:calc(0.0026041667 * 100vw + 0px);font-size:calc(0.0083333333 * 100vw + 0px);margin-bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.animations-menu__filter-button.svelte-1ylzlp{width:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu__filter-button.svelte-1ylzlp{width:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu__filter-button.svelte-1ylzlp{width:calc(0.0701822917 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu__filter-button.svelte-1ylzlp{width:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu__filter-button.svelte-1ylzlp{width:calc(0.0638020833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu__filter-button.svelte-1ylzlp{width:calc(0.08203125 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu__filter-button.svelte-1ylzlp{width:calc(0.1002604167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.animations-menu__filter-button.svelte-1ylzlp{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu__filter-button.svelte-1ylzlp{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu__filter-button.svelte-1ylzlp{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu__filter-button.svelte-1ylzlp{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu__filter-button.svelte-1ylzlp{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu__filter-button.svelte-1ylzlp{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu__filter-button.svelte-1ylzlp{height:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.animations-menu__filter-button.svelte-1ylzlp{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu__filter-button.svelte-1ylzlp{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu__filter-button.svelte-1ylzlp{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu__filter-button.svelte-1ylzlp{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu__filter-button.svelte-1ylzlp{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu__filter-button.svelte-1ylzlp{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu__filter-button.svelte-1ylzlp{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.animations-menu__filter-button.svelte-1ylzlp{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu__filter-button.svelte-1ylzlp{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu__filter-button.svelte-1ylzlp{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu__filter-button.svelte-1ylzlp{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu__filter-button.svelte-1ylzlp{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu__filter-button.svelte-1ylzlp{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu__filter-button.svelte-1ylzlp{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.animations-menu__filter-button.svelte-1ylzlp{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu__filter-button.svelte-1ylzlp{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu__filter-button.svelte-1ylzlp{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu__filter-button.svelte-1ylzlp{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu__filter-button.svelte-1ylzlp{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu__filter-button.svelte-1ylzlp{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu__filter-button.svelte-1ylzlp{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.animations-menu__filter-button.svelte-1ylzlp{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu__filter-button.svelte-1ylzlp{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu__filter-button.svelte-1ylzlp{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu__filter-button.svelte-1ylzlp{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu__filter-button.svelte-1ylzlp{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu__filter-button.svelte-1ylzlp{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu__filter-button.svelte-1ylzlp{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.animations-menu__filter-button.svelte-1ylzlp:hover,.animations-menu__filter-button--active.svelte-1ylzlp{color:#111111;border-color:#FFFFFF;background-color:#FFFFFF}.animations-menu__list-caption.svelte-1ylzlp{font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.0208333333 * 100vw + 0px);line-height:calc(0.025 * 100vw + 0px);margin-top:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.animations-menu__list-caption.svelte-1ylzlp{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu__list-caption.svelte-1ylzlp{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu__list-caption.svelte-1ylzlp{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu__list-caption.svelte-1ylzlp{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu__list-caption.svelte-1ylzlp{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu__list-caption.svelte-1ylzlp{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu__list-caption.svelte-1ylzlp{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.animations-menu__list-caption.svelte-1ylzlp{line-height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu__list-caption.svelte-1ylzlp{line-height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu__list-caption.svelte-1ylzlp{line-height:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu__list-caption.svelte-1ylzlp{line-height:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu__list-caption.svelte-1ylzlp{line-height:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu__list-caption.svelte-1ylzlp{line-height:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu__list-caption.svelte-1ylzlp{line-height:calc(0.0275 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.animations-menu__list-caption.svelte-1ylzlp{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu__list-caption.svelte-1ylzlp{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu__list-caption.svelte-1ylzlp{margin-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu__list-caption.svelte-1ylzlp{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu__list-caption.svelte-1ylzlp{margin-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu__list-caption.svelte-1ylzlp{margin-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu__list-caption.svelte-1ylzlp{margin-top:calc(0.0143229167 * 100vw + 0px)}}.animations-menu__search-container.svelte-1ylzlp{display:flex;border-color:#FFFFFF;border-style:solid;cursor:text;border-width:calc(0.0005208333 * 100vw + 0px);border-radius:calc(0.0026041667 * 100vw + 0px);padding:calc(0.0078125 * 100vw + 0px);margin-top:calc(0.0130208333 * 100vw + 0px);margin-right:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.animations-menu__search-container.svelte-1ylzlp{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu__search-container.svelte-1ylzlp{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu__search-container.svelte-1ylzlp{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu__search-container.svelte-1ylzlp{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu__search-container.svelte-1ylzlp{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu__search-container.svelte-1ylzlp{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu__search-container.svelte-1ylzlp{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.animations-menu__search-container.svelte-1ylzlp{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu__search-container.svelte-1ylzlp{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu__search-container.svelte-1ylzlp{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu__search-container.svelte-1ylzlp{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu__search-container.svelte-1ylzlp{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu__search-container.svelte-1ylzlp{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu__search-container.svelte-1ylzlp{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.animations-menu__search-container.svelte-1ylzlp{padding:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu__search-container.svelte-1ylzlp{padding:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu__search-container.svelte-1ylzlp{padding:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu__search-container.svelte-1ylzlp{padding:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu__search-container.svelte-1ylzlp{padding:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu__search-container.svelte-1ylzlp{padding:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu__search-container.svelte-1ylzlp{padding:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.animations-menu__search-container.svelte-1ylzlp{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu__search-container.svelte-1ylzlp{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu__search-container.svelte-1ylzlp{margin-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu__search-container.svelte-1ylzlp{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu__search-container.svelte-1ylzlp{margin-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu__search-container.svelte-1ylzlp{margin-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu__search-container.svelte-1ylzlp{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.animations-menu__search-container.svelte-1ylzlp{margin-right:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu__search-container.svelte-1ylzlp{margin-right:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu__search-container.svelte-1ylzlp{margin-right:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu__search-container.svelte-1ylzlp{margin-right:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu__search-container.svelte-1ylzlp{margin-right:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu__search-container.svelte-1ylzlp{margin-right:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu__search-container.svelte-1ylzlp{margin-right:calc(0.0286458333 * 100vw + 0px)}}.animations-menu__search-icon.svelte-1ylzlp{font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px);margin-right:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.animations-menu__search-icon.svelte-1ylzlp{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu__search-icon.svelte-1ylzlp{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu__search-icon.svelte-1ylzlp{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu__search-icon.svelte-1ylzlp{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu__search-icon.svelte-1ylzlp{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu__search-icon.svelte-1ylzlp{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu__search-icon.svelte-1ylzlp{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.animations-menu__search-icon.svelte-1ylzlp{margin-right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu__search-icon.svelte-1ylzlp{margin-right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu__search-icon.svelte-1ylzlp{margin-right:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu__search-icon.svelte-1ylzlp{margin-right:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu__search-icon.svelte-1ylzlp{margin-right:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu__search-icon.svelte-1ylzlp{margin-right:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu__search-icon.svelte-1ylzlp{margin-right:calc(0.00859375 * 100vw + 0px)}}.animations-menu__search-input.svelte-1ylzlp{width:100%;background-color:transparent;font-family:\"GothamPro\";color:#FFFFFF;border:none;outline:none;font-size:calc(0.0083333333 * 100vw + 0px);line-height:calc(0.0098958333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.animations-menu__search-input.svelte-1ylzlp{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu__search-input.svelte-1ylzlp{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu__search-input.svelte-1ylzlp{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu__search-input.svelte-1ylzlp{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu__search-input.svelte-1ylzlp{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu__search-input.svelte-1ylzlp{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu__search-input.svelte-1ylzlp{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.animations-menu__search-input.svelte-1ylzlp{line-height:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu__search-input.svelte-1ylzlp{line-height:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu__search-input.svelte-1ylzlp{line-height:calc(0.0076197917 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu__search-input.svelte-1ylzlp{line-height:calc(0.0108854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu__search-input.svelte-1ylzlp{line-height:calc(0.0069270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu__search-input.svelte-1ylzlp{line-height:calc(0.00890625 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu__search-input.svelte-1ylzlp{line-height:calc(0.0108854167 * 100vw + 0px)}}.animations-menu__search-input.svelte-1ylzlp:focus,.animations-menu__search-input.svelte-1ylzlp:active{border:none;outline:none}.animations-menu__search-input.svelte-1ylzlp::placeholder{font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.0083333333 * 100vw + 0px);line-height:calc(0.0098958333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.animations-menu__search-input.svelte-1ylzlp::placeholder{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu__search-input.svelte-1ylzlp::placeholder{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu__search-input.svelte-1ylzlp::placeholder{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu__search-input.svelte-1ylzlp::placeholder{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu__search-input.svelte-1ylzlp::placeholder{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu__search-input.svelte-1ylzlp::placeholder{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu__search-input.svelte-1ylzlp::placeholder{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.animations-menu__search-input.svelte-1ylzlp::placeholder{line-height:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu__search-input.svelte-1ylzlp::placeholder{line-height:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu__search-input.svelte-1ylzlp::placeholder{line-height:calc(0.0076197917 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu__search-input.svelte-1ylzlp::placeholder{line-height:calc(0.0108854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu__search-input.svelte-1ylzlp::placeholder{line-height:calc(0.0069270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu__search-input.svelte-1ylzlp::placeholder{line-height:calc(0.00890625 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu__search-input.svelte-1ylzlp::placeholder{line-height:calc(0.0108854167 * 100vw + 0px)}}.animations-menu__list.svelte-1ylzlp{display:grid;grid-template-columns:repeat(3, 1fr);align-content:baseline;overflow-y:scroll;grid-gap:calc(0.0130208333 * 100vw + 0px);margin-top:calc(0.0130208333 * 100vw + 0px);margin-right:calc(0.0130208333 * 100vw + 0px);padding-right:calc(0.0130208333 * 100vw + 0px);height:calc(0.234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.animations-menu__list.svelte-1ylzlp{grid-gap:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu__list.svelte-1ylzlp{grid-gap:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu__list.svelte-1ylzlp{grid-gap:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu__list.svelte-1ylzlp{grid-gap:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu__list.svelte-1ylzlp{grid-gap:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu__list.svelte-1ylzlp{grid-gap:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu__list.svelte-1ylzlp{grid-gap:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.animations-menu__list.svelte-1ylzlp{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu__list.svelte-1ylzlp{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu__list.svelte-1ylzlp{margin-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu__list.svelte-1ylzlp{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu__list.svelte-1ylzlp{margin-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu__list.svelte-1ylzlp{margin-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu__list.svelte-1ylzlp{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.animations-menu__list.svelte-1ylzlp{margin-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu__list.svelte-1ylzlp{margin-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu__list.svelte-1ylzlp{margin-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu__list.svelte-1ylzlp{margin-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu__list.svelte-1ylzlp{margin-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu__list.svelte-1ylzlp{margin-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu__list.svelte-1ylzlp{margin-right:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.animations-menu__list.svelte-1ylzlp{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu__list.svelte-1ylzlp{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu__list.svelte-1ylzlp{padding-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu__list.svelte-1ylzlp{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu__list.svelte-1ylzlp{padding-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu__list.svelte-1ylzlp{padding-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu__list.svelte-1ylzlp{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.animations-menu__list.svelte-1ylzlp{height:calc(0.234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu__list.svelte-1ylzlp{height:calc(0.234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu__list.svelte-1ylzlp{height:calc(0.18046875 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu__list.svelte-1ylzlp{height:calc(0.2578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu__list.svelte-1ylzlp{height:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu__list.svelte-1ylzlp{height:calc(0.2109375 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu__list.svelte-1ylzlp{height:calc(0.2578125 * 100vw + 0px)}}.animations-menu__list.svelte-1ylzlp::-webkit-scrollbar{height:0;width:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.animations-menu__list.svelte-1ylzlp::-webkit-scrollbar{width:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu__list.svelte-1ylzlp::-webkit-scrollbar{width:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu__list.svelte-1ylzlp::-webkit-scrollbar{width:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu__list.svelte-1ylzlp::-webkit-scrollbar{width:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu__list.svelte-1ylzlp::-webkit-scrollbar{width:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu__list.svelte-1ylzlp::-webkit-scrollbar{width:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu__list.svelte-1ylzlp::-webkit-scrollbar{width:calc(0.0045833333 * 100vw + 0px)}}.animations-menu__list.svelte-1ylzlp::-webkit-scrollbar-button{display:none}.animations-menu__list.svelte-1ylzlp::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.3)}.animations-menu__list.svelte-1ylzlp::-webkit-scrollbar-track-piece{background:rgba(255, 255, 255, 0.3);border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.animations-menu__list.svelte-1ylzlp::-webkit-scrollbar-track-piece{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu__list.svelte-1ylzlp::-webkit-scrollbar-track-piece{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu__list.svelte-1ylzlp::-webkit-scrollbar-track-piece{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu__list.svelte-1ylzlp::-webkit-scrollbar-track-piece{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu__list.svelte-1ylzlp::-webkit-scrollbar-track-piece{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu__list.svelte-1ylzlp::-webkit-scrollbar-track-piece{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu__list.svelte-1ylzlp::-webkit-scrollbar-track-piece{border-radius:calc(0.0028645833 * 100vw + 0px)}}.animations-menu__list.svelte-1ylzlp::-webkit-scrollbar-thumb{background:#FFFFFF;border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.animations-menu__list.svelte-1ylzlp::-webkit-scrollbar-thumb{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu__list.svelte-1ylzlp::-webkit-scrollbar-thumb{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu__list.svelte-1ylzlp::-webkit-scrollbar-thumb{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu__list.svelte-1ylzlp::-webkit-scrollbar-thumb{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu__list.svelte-1ylzlp::-webkit-scrollbar-thumb{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu__list.svelte-1ylzlp::-webkit-scrollbar-thumb{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu__list.svelte-1ylzlp::-webkit-scrollbar-thumb{border-radius:calc(0.0028645833 * 100vw + 0px)}}.animations-menu__list.svelte-1ylzlp::-webkit-scrollbar-corner{background-color:rgba(255, 255, 255, 0.3)}.animations-menu__list.svelte-1ylzlp::-webkit-resizer{background-color:rgba(255, 255, 255, 0.3)}.animations-menu__loader-wrapper.svelte-1ylzlp{position:absolute;top:65%;left:50%;transform:translateX(-50%) translateY(-50%);width:calc(0.0520833333 * 100vw + 0px);height:calc(0.0520833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.animations-menu__loader-wrapper.svelte-1ylzlp{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu__loader-wrapper.svelte-1ylzlp{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu__loader-wrapper.svelte-1ylzlp{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu__loader-wrapper.svelte-1ylzlp{width:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu__loader-wrapper.svelte-1ylzlp{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu__loader-wrapper.svelte-1ylzlp{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu__loader-wrapper.svelte-1ylzlp{width:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.animations-menu__loader-wrapper.svelte-1ylzlp{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.animations-menu__loader-wrapper.svelte-1ylzlp{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.animations-menu__loader-wrapper.svelte-1ylzlp{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.animations-menu__loader-wrapper.svelte-1ylzlp{height:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.animations-menu__loader-wrapper.svelte-1ylzlp{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.animations-menu__loader-wrapper.svelte-1ylzlp{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.animations-menu__loader-wrapper.svelte-1ylzlp{height:calc(0.0572916667 * 100vw + 0px)}}");
}

function animations_menu_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[27] = list[i];
	return child_ctx;
}

function animations_menu_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[30] = list[i];
	return child_ctx;
}

// (1824:8) {#each Object.values(AnimationCategories) as categoryId}
function animations_menu_index_svelte_create_each_block_1(ctx) {
	let span;
	let t0_value = ANIMATION_ID_TO_TITLE[/*categoryId*/ ctx[30]] + "";
	let t0;
	let t1;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[12](/*categoryId*/ ctx[30]);
	}

	return {
		c() {
			span = internal_element("span");
			t0 = internal_text(t0_value);
			t1 = space();
			attr(span, "class", "animations-menu__filter-button svelte-1ylzlp");
			toggle_class(span, "animations-menu__filter-button--active", /*selectedCategoryId*/ ctx[0] === /*categoryId*/ ctx[30]);
		},
		m(target, anchor) {
			insert(target, span, anchor);
			append(span, t0);
			append(span, t1);

			if (!mounted) {
				dispose = listen(span, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty[0] & /*selectedCategoryId*/ 1) {
				toggle_class(span, "animations-menu__filter-button--active", /*selectedCategoryId*/ ctx[0] === /*categoryId*/ ctx[30]);
			}
		},
		d(detaching) {
			if (detaching) detach(span);
			mounted = false;
			dispose();
		}
	};
}

// (1861:4) {:else}
function animations_menu_index_svelte_create_else_block(ctx) {
	let div;
	let loader;
	let current;
	loader = new loader_index_svelte({ props: { style: 'fade' } });

	return {
		c() {
			div = internal_element("div");
			create_component(loader.$$.fragment);
			attr(div, "class", "animations-menu__loader-wrapper svelte-1ylzlp");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(loader, div, null);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(loader.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(loader.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(loader);
		}
	};
}

// (1847:4) {#if initializeComplete}
function animations_menu_index_svelte_create_if_block(ctx) {
	let div;
	let each_blocks = [];
	let each_1_lookup = new Map();
	let current;
	let each_value = /*filteredAnimations*/ ctx[3];
	const get_key = ctx => /*animation*/ ctx[27].id;

	for (let i = 0; i < each_value.length; i += 1) {
		let child_ctx = animations_menu_index_svelte_get_each_context(ctx, each_value, i);
		let key = get_key(child_ctx);
		each_1_lookup.set(key, each_blocks[i] = animations_menu_index_svelte_create_each_block(key, child_ctx));
	}

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "animations-menu__list svelte-1ylzlp");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}

			current = true;
		},
		p(ctx, dirty) {
			if (dirty[0] & /*filteredAnimations, like, selectAnimation, selectedAnimationId*/ 396) {
				each_value = /*filteredAnimations*/ ctx[3];
				group_outros();
				each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, div, outro_and_destroy_block, animations_menu_index_svelte_create_each_block, null, animations_menu_index_svelte_get_each_context);
				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].d();
			}
		}
	};
}

// (1850:16) {#if animation.available}
function animations_menu_index_svelte_create_if_block_1(ctx) {
	let animationitem;
	let current;

	function func() {
		return /*func*/ ctx[16](/*animation*/ ctx[27]);
	}

	function func_1() {
		return /*func_1*/ ctx[17](/*animation*/ ctx[27]);
	}

	animationitem = new animation_item_index_svelte({
			props: {
				animation: /*animation*/ ctx[27],
				onLike: func,
				onSelect: func_1,
				active: /*selectedAnimationId*/ ctx[2] === /*animation*/ ctx[27].id,
				favorited: /*animation*/ ctx[27].favorited
			}
		});

	return {
		c() {
			create_component(animationitem.$$.fragment);
		},
		m(target, anchor) {
			mount_component(animationitem, target, anchor);
			current = true;
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			const animationitem_changes = {};
			if (dirty[0] & /*filteredAnimations*/ 8) animationitem_changes.animation = /*animation*/ ctx[27];
			if (dirty[0] & /*filteredAnimations*/ 8) animationitem_changes.onLike = func;
			if (dirty[0] & /*filteredAnimations*/ 8) animationitem_changes.onSelect = func_1;
			if (dirty[0] & /*selectedAnimationId, filteredAnimations*/ 12) animationitem_changes.active = /*selectedAnimationId*/ ctx[2] === /*animation*/ ctx[27].id;
			if (dirty[0] & /*filteredAnimations*/ 8) animationitem_changes.favorited = /*animation*/ ctx[27].favorited;
			animationitem.$set(animationitem_changes);
		},
		i(local) {
			if (current) return;
			transition_in(animationitem.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(animationitem.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(animationitem, detaching);
		}
	};
}

// (1849:12) {#each filteredAnimations as animation (animation.id)}
function animations_menu_index_svelte_create_each_block(key_1, ctx) {
	let first;
	let if_block_anchor;
	let current;
	let if_block = /*animation*/ ctx[27].available && animations_menu_index_svelte_create_if_block_1(ctx);

	return {
		key: key_1,
		first: null,
		c() {
			first = empty();
			if (if_block) if_block.c();
			if_block_anchor = empty();
			this.first = first;
		},
		m(target, anchor) {
			insert(target, first, anchor);
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
			current = true;
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (/*animation*/ ctx[27].available) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty[0] & /*filteredAnimations*/ 8) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = animations_menu_index_svelte_create_if_block_1(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(first);
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

function animations_menu_index_svelte_create_fragment(ctx) {
	let div3;
	let div0;
	let span;
	let t1;
	let exitbutton;
	let t2;
	let div1;
	let t3;
	let p;
	let t5;
	let div2;
	let i;
	let t6;
	let input;
	let t7;
	let current_block_type_index;
	let if_block;
	let div3_transition;
	let current;
	let mounted;
	let dispose;
	exitbutton = new exit_button_index_svelte({ props: { onClick: /*close*/ ctx[9] } });
	let each_value_1 = Object.values(AnimationCategories);
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = animations_menu_index_svelte_create_each_block_1(animations_menu_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	const if_block_creators = [animations_menu_index_svelte_create_if_block, animations_menu_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (/*initializeComplete*/ ctx[4]) return 0;
		return 1;
	}

	current_block_type_index = select_block_type(ctx, [-1, -1]);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div3 = internal_element("div");
			div0 = internal_element("div");
			span = internal_element("span");
			span.textContent = "Категории";
			t1 = space();
			create_component(exitbutton.$$.fragment);
			t2 = space();
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t3 = space();
			p = internal_element("p");
			p.textContent = "Список анимаций";
			t5 = space();
			div2 = internal_element("div");
			i = internal_element("i");
			t6 = space();
			input = internal_element("input");
			t7 = space();
			if_block.c();
			attr(span, "class", "animations-menu__header-title svelte-1ylzlp");
			attr(div0, "class", "animations-menu__header svelte-1ylzlp");
			attr(div1, "class", "animations-menu__filter-buttons svelte-1ylzlp");
			attr(p, "class", "animations-menu__list-caption svelte-1ylzlp");
			attr(i, "class", "animations-menu__search-icon ui-azpotify-magnifier svelte-1ylzlp");
			attr(input, "type", "text");
			attr(input, "class", "animations-menu__search-input svelte-1ylzlp");
			attr(input, "placeholder", "Поиск");
			attr(div2, "class", "animations-menu__search-container svelte-1ylzlp");
			attr(div3, "class", "animations-menu svelte-1ylzlp");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div0);
			append(div0, span);
			append(div0, t1);
			mount_component(exitbutton, div0, null);
			append(div3, t2);
			append(div3, div1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}

			append(div3, t3);
			append(div3, p);
			append(div3, t5);
			append(div3, div2);
			append(div2, i);
			append(div2, t6);
			append(div2, input);
			set_input_value(input, /*searchQuery*/ ctx[1]);
			append(div3, t7);
			if_blocks[current_block_type_index].m(div3, null);
			current = true;

			if (!mounted) {
				dispose = [
					listen(input, "input", /*input_input_handler*/ ctx[13]),
					listen(input, "keyup", /*searchAnimations*/ ctx[5]),
					listen(input, "focus", /*focus_handler*/ ctx[14]),
					listen(input, "blur", /*blur_handler*/ ctx[15])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty[0] & /*selectedCategoryId, selectCategory*/ 65) {
				each_value_1 = Object.values(AnimationCategories);
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = animations_menu_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = animations_menu_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div1, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}

			if (dirty[0] & /*searchQuery*/ 2 && input.value !== /*searchQuery*/ ctx[1]) {
				set_input_value(input, /*searchQuery*/ ctx[1]);
			}

			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(div3, null);
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			transition_in(if_block);

			add_render_callback(() => {
				if (!div3_transition) div3_transition = create_bidirectional_transition(div3, fly, {}, true);
				div3_transition.run(1);
			});

			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			transition_out(if_block);
			if (!div3_transition) div3_transition = create_bidirectional_transition(div3, fly, {}, false);
			div3_transition.run(0);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div3);
			destroy_component(exitbutton);
			destroy_each(each_blocks, detaching);
			if_blocks[current_block_type_index].d();
			if (detaching && div3_transition) div3_transition.end();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function animations_menu_index_svelte_instance($$self, $$props, $$invalidate) {
	let $serverApiToken;
	let $serverApiServerId;
	component_subscribe($$self, serverApiToken, $$value => $$invalidate(18, $serverApiToken = $$value));
	component_subscribe($$self, serverApiServerId, $$value => $$invalidate(19, $serverApiServerId = $$value));
	let selectedCategoryId = '';
	let searchQuery = '';
	let selectedAnimationId = '';
	let animationsList = [];
	let animationsUpdate = [];
	let filteredAnimations = [];
	let initializeComplete = false;

	const searchAnimations = () => {
		if (!searchQuery) {
			$$invalidate(3, filteredAnimations = animationsList);
			$$invalidate(0, selectedCategoryId = '');
			return;
		}

		$$invalidate(0, selectedCategoryId = '');
		$$invalidate(3, filteredAnimations = animationsList.filter(item => item.name.toLowerCase().includes(searchQuery.toLowerCase())));
	};

	const selectCategory = categoryId => {
		if (categoryId === selectedCategoryId) {
			$$invalidate(3, filteredAnimations = animationsList);
			$$invalidate(0, selectedCategoryId = '');
			return;
		}

		$$invalidate(0, selectedCategoryId = categoryId);

		if (categoryId === AnimationCategories.Favorites) {
			$$invalidate(3, filteredAnimations = animationsList.filter(item => item.favorited));
		} else {
			$$invalidate(3, filteredAnimations = animationsList.filter(item => item.categoryId === selectedCategoryId));
		}
	};

	const like = animationId => {
		sendClientMessage('addToFavorites', animationId);
	};

	const onFavoritesUpdate = data => {
		const { id, favorited } = data;
		const newFavorited = favorited === 1;

		$$invalidate(10, animationsList = animationsList.map(item => {
			if (item.id === id) {
				return { ...item, favorited: newFavorited };
			}

			return item;
		}));

		if (selectedCategoryId === AnimationCategories.Favorites) {
			$$invalidate(3, filteredAnimations = animationsList.filter(item => item.favorited));
		} else {
			$$invalidate(3, filteredAnimations = filteredAnimations.map(item => {
				if (item.id === id) {
					return { ...item, favorited: newFavorited };
				}

				return item;
			}));
		}
	};

	const selectAnimation = id => {
		$$invalidate(2, selectedAnimationId = id);
		sendClientMessage('playAnimation', id);
	};

	const initializeAnimations = _animations => {
		$$invalidate(11, animationsUpdate = [...animationsUpdate, ..._animations]);
	};

	const initializeClearAnimations = () => {
		$$invalidate(10, animationsList = []);
		$$invalidate(3, filteredAnimations = animationsList);
	}; // initializeAnimations(ANIMATIONS_MOCK);

	const getAnimation = () => {
		lib_axios.get(`https://api.ko-rista.com/v1/getLauncherMobileDonate?launcher_key=CHANGEMEKEY777&project=rodina&server=1&key=anims`, {
			headers: {
				Authorization: `Bearer ${$serverApiToken}`
			}
		}).then(response => {
			$$invalidate(10, animationsList = response.data);
		}).catch(error => {
			// eslint-disable-next-line no-console
			console.log('error from getAnimation', JSON.stringify(error));
		});
	};

	const unregisterAddAnimations = registerEvent('event.animationsMenu.initializeAnimations', initializeAnimations);
	const unregisterClearAnimations = registerEvent('event.animationsMenu.ClearAnimations', initializeClearAnimations);
	const unregisterFavoritesUpdate = registerEvent('event.animationsMenu.favoritesUpdate', onFavoritesUpdate);
	const close = () => sendClientMessage('closeAnimationsMenu');
	getAnimation();

	onDestroy(() => {
		unregisterAddAnimations();
		unregisterClearAnimations();
		unregisterFavoritesUpdate();
		$$invalidate(0, selectedCategoryId = '');
		$$invalidate(1, searchQuery = '');
		$$invalidate(2, selectedAnimationId = '');
		$$invalidate(10, animationsList = []);
		$$invalidate(3, filteredAnimations = []);
	});

	const click_handler = categoryId => selectCategory(categoryId);

	function input_input_handler() {
		searchQuery = this.value;
		$$invalidate(1, searchQuery);
	}

	const focus_handler = () => sendClientMessage('animationsMenu.searchModeActivated');
	const blur_handler = () => sendClientMessage('animationsMenu.searchModeDeactivated');
	const func = animation => like(animation.id);
	const func_1 = animation => selectAnimation(animation.id);

	$$self.$$.update = () => {
		if ($$self.$$.dirty[0] & /*animationsList, animationsUpdate*/ 3072) {
			$: {
				if (!(0,lodash.isEmpty)(animationsList) && !(0,lodash.isEmpty)(animationsUpdate)) {
					$$invalidate(10, animationsList = animationsList.map(listItem => {
						let updateItem = animationsUpdate.find(findItem => findItem.id === listItem.id);
						updateItem = (0,lodash.isNil)(updateItem) ? {} : updateItem;
						return { ...listItem, ...updateItem };
					}));

					$$invalidate(11, animationsUpdate = []);
					$$invalidate(3, filteredAnimations = animationsList);
					$$invalidate(0, selectedCategoryId = '');
					$$invalidate(4, initializeComplete = true);
				}
			}
		}
	};

	return [
		selectedCategoryId,
		searchQuery,
		selectedAnimationId,
		filteredAnimations,
		initializeComplete,
		searchAnimations,
		selectCategory,
		like,
		selectAnimation,
		close,
		animationsList,
		animationsUpdate,
		click_handler,
		input_input_handler,
		focus_handler,
		blur_handler,
		func,
		func_1
	];
}

class Animations_menu extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, animations_menu_index_svelte_instance, animations_menu_index_svelte_create_fragment, safe_not_equal, {}, animations_menu_index_svelte_add_css, [-1, -1]);
	}
}

/* harmony default export */ const animations_menu_index_svelte = (Animations_menu);
;// CONCATENATED MODULE: ./src/views/dice/img/done.svg
const done_namespaceObject = __webpack_require__.p + "assets/7ef7fe44fae5fca6540b.svg";
;// CONCATENATED MODULE: ./src/views/dice/img/wait.svg
const wait_namespaceObject = __webpack_require__.p + "assets/6788a5d4a1ae8ebea326.svg";
;// CONCATENATED MODULE: ./src/views/dice/img/host.svg
const host_namespaceObject = __webpack_require__.p + "assets/1c2b6f4550ce27f6f360.svg";
;// CONCATENATED MODULE: ./src/views/dice/img/dice1.svg
const dice1_namespaceObject = __webpack_require__.p + "assets/18ad566f94397de8cbb9.svg";
;// CONCATENATED MODULE: ./src/views/dice/img/dice2.svg
const dice2_namespaceObject = __webpack_require__.p + "assets/4ca4d869e63128c33eec.svg";
;// CONCATENATED MODULE: ./src/views/dice/img/dice3.svg
const dice3_namespaceObject = __webpack_require__.p + "assets/57645f0eaf122c29aa54.svg";
;// CONCATENATED MODULE: ./src/views/dice/img/dice4.svg
const dice4_namespaceObject = __webpack_require__.p + "assets/d4dbfc8e9a6df309a813.svg";
;// CONCATENATED MODULE: ./src/views/dice/img/dice5.svg
const dice5_namespaceObject = __webpack_require__.p + "assets/0db98c0cc69fb452d9f0.svg";
;// CONCATENATED MODULE: ./src/views/dice/img/dice6.svg
const dice6_namespaceObject = __webpack_require__.p + "assets/c0c4e4d777505f930faa.svg";
;// CONCATENATED MODULE: ./src/views/dice/constants.js
function dice_constants_typeof(o) { "@babel/helpers - typeof"; return dice_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, dice_constants_typeof(o); }
function dice_constants_defineProperty(e, r, t) { return (r = dice_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function dice_constants_toPropertyKey(t) { var i = dice_constants_toPrimitive(t, "string"); return "symbol" == dice_constants_typeof(i) ? i : i + ""; }
function dice_constants_toPrimitive(t, r) { if ("object" != dice_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != dice_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }









var PLAYER_STATUSES = {
  guest: 0,
  host: 1,
  wait: 2,
  done: 3
};
var MAP_DICE_TO_IMAGE = {
  1: dice1_namespaceObject,
  2: dice2_namespaceObject,
  3: dice3_namespaceObject,
  4: dice4_namespaceObject,
  5: dice5_namespaceObject,
  6: dice6_namespaceObject
};
var MAP_PLAYER_STATUSES_TO_IMAGE = dice_constants_defineProperty(dice_constants_defineProperty(dice_constants_defineProperty(dice_constants_defineProperty({}, PLAYER_STATUSES.guest, null), PLAYER_STATUSES.host, host_namespaceObject), PLAYER_STATUSES.wait, wait_namespaceObject), PLAYER_STATUSES.done, done_namespaceObject);
var MAX_CUBE_VALUE = 6;
var MIN_CUBE_VALUE = 1;
;// CONCATENATED MODULE: ./src/views/dice/index.svelte
/* src\views\dice\index.svelte generated by Svelte v3.49.0 */













function dice_index_svelte_add_css(target) {
	append_styles(target, "svelte-dhlhbh", "@keyframes svelte-dhlhbh-blinking{50%{opacity:0}}@keyframes svelte-dhlhbh-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-dhlhbh-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-dhlhbh-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-dhlhbh-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-dhlhbh-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-dhlhbh-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-dhlhbh-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-dhlhbh-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-dhlhbh-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-dhlhbh-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-dhlhbh-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-dhlhbh-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-dhlhbh-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-dhlhbh-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.dice.svelte-dhlhbh.svelte-dhlhbh{display:flex;align-items:center;justify-content:center;width:100vw;height:100vh;background:rgba(32, 39, 49, 0.9)}.dice__exit-button.svelte-dhlhbh.svelte-dhlhbh{position:absolute;right:calc(0.03125 * 100vw + 0px);top:calc(0.03125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__exit-button.svelte-dhlhbh.svelte-dhlhbh{right:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__exit-button.svelte-dhlhbh.svelte-dhlhbh{right:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__exit-button.svelte-dhlhbh.svelte-dhlhbh{right:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.dice__exit-button.svelte-dhlhbh.svelte-dhlhbh{right:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__exit-button.svelte-dhlhbh.svelte-dhlhbh{right:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__exit-button.svelte-dhlhbh.svelte-dhlhbh{right:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.dice__exit-button.svelte-dhlhbh.svelte-dhlhbh{right:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__exit-button.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__exit-button.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__exit-button.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.dice__exit-button.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__exit-button.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__exit-button.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.dice__exit-button.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.034375 * 100vw + 0px)}}.dice__title-wrapper.svelte-dhlhbh.svelte-dhlhbh{position:absolute;top:calc(0.03125 * 100vw + 0px);left:calc(0.0703125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__title-wrapper.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__title-wrapper.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__title-wrapper.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.dice__title-wrapper.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__title-wrapper.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__title-wrapper.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.dice__title-wrapper.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__title-wrapper.svelte-dhlhbh.svelte-dhlhbh{left:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__title-wrapper.svelte-dhlhbh.svelte-dhlhbh{left:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__title-wrapper.svelte-dhlhbh.svelte-dhlhbh{left:calc(0.054140625 * 100vw + 0px)}}@media(min-width: 3440px){.dice__title-wrapper.svelte-dhlhbh.svelte-dhlhbh{left:calc(0.07734375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__title-wrapper.svelte-dhlhbh.svelte-dhlhbh{left:calc(0.04921875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__title-wrapper.svelte-dhlhbh.svelte-dhlhbh{left:calc(0.06328125 * 100vw + 0px)}}@media(min-width: 4096px){.dice__title-wrapper.svelte-dhlhbh.svelte-dhlhbh{left:calc(0.07734375 * 100vw + 0px)}}.dice__title.svelte-dhlhbh.svelte-dhlhbh{color:#FFFFFF;font-family:\"GothamPro-Bold\";font-size:calc(0.01875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.dice__title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.dice__title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.020625 * 100vw + 0px)}}.dice__description.svelte-dhlhbh.svelte-dhlhbh{color:rgba(255, 255, 255, 0.7);font-family:\"GothamPro\";font-size:calc(0.0072916667 * 100vw + 0px);margin-top:calc(0.0145833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__description.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__description.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__description.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.dice__description.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__description.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__description.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.dice__description.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__description.svelte-dhlhbh.svelte-dhlhbh{margin-top:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__description.svelte-dhlhbh.svelte-dhlhbh{margin-top:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__description.svelte-dhlhbh.svelte-dhlhbh{margin-top:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.dice__description.svelte-dhlhbh.svelte-dhlhbh{margin-top:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__description.svelte-dhlhbh.svelte-dhlhbh{margin-top:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__description.svelte-dhlhbh.svelte-dhlhbh{margin-top:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.dice__description.svelte-dhlhbh.svelte-dhlhbh{margin-top:calc(0.0160416667 * 100vw + 0px)}}.dice__chat.svelte-dhlhbh.svelte-dhlhbh{position:absolute;top:calc(0.1328125 * 100vw + 0px);left:calc(0.0703125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__chat.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.1328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__chat.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.1328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__chat.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.102265625 * 100vw + 0px)}}@media(min-width: 3440px){.dice__chat.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.14609375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__chat.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.09296875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__chat.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.11953125 * 100vw + 0px)}}@media(min-width: 4096px){.dice__chat.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.14609375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__chat.svelte-dhlhbh.svelte-dhlhbh{left:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__chat.svelte-dhlhbh.svelte-dhlhbh{left:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__chat.svelte-dhlhbh.svelte-dhlhbh{left:calc(0.054140625 * 100vw + 0px)}}@media(min-width: 3440px){.dice__chat.svelte-dhlhbh.svelte-dhlhbh{left:calc(0.07734375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__chat.svelte-dhlhbh.svelte-dhlhbh{left:calc(0.04921875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__chat.svelte-dhlhbh.svelte-dhlhbh{left:calc(0.06328125 * 100vw + 0px)}}@media(min-width: 4096px){.dice__chat.svelte-dhlhbh.svelte-dhlhbh{left:calc(0.07734375 * 100vw + 0px)}}.dice__chat-title.svelte-dhlhbh.svelte-dhlhbh{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0125 * 100vw + 0px);margin-bottom:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__chat-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__chat-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__chat-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.dice__chat-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__chat-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__chat-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.dice__chat-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__chat-title.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__chat-title.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__chat-title.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.dice__chat-title.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__chat-title.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__chat-title.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.dice__chat-title.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.01375 * 100vw + 0px)}}.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{display:flex;flex-direction:column-reverse;overflow:auto;border:1px solid rgba(255, 255, 255, 0.1);border-width:calc(0.0005208333 * 100vw + 0px);padding:calc(0.0052083333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.234375 * 100vw + 0px);height:calc(0.2604166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{padding:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{padding:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{padding:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{padding:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{padding:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{padding:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{padding:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.18046875 * 100vw + 0px)}}@media(min-width: 3440px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.2578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.2109375 * 100vw + 0px)}}@media(min-width: 4096px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.2578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.2864583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.234375 * 100vw + 0px)}}@media(min-width: 4096px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.2864583333 * 100vw + 0px)}}.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.dice__chat-messages.svelte-dhlhbh.svelte-dhlhbh::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}.dice__chat-message.svelte-dhlhbh.svelte-dhlhbh:not(:first-child){margin-bottom:calc(0.0067708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__chat-message.svelte-dhlhbh.svelte-dhlhbh:not(:first-child){margin-bottom:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__chat-message.svelte-dhlhbh.svelte-dhlhbh:not(:first-child){margin-bottom:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__chat-message.svelte-dhlhbh.svelte-dhlhbh:not(:first-child){margin-bottom:calc(0.0052135417 * 100vw + 0px)}}@media(min-width: 3440px){.dice__chat-message.svelte-dhlhbh.svelte-dhlhbh:not(:first-child){margin-bottom:calc(0.0074479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__chat-message.svelte-dhlhbh.svelte-dhlhbh:not(:first-child){margin-bottom:calc(0.0047395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__chat-message.svelte-dhlhbh.svelte-dhlhbh:not(:first-child){margin-bottom:calc(0.00609375 * 100vw + 0px)}}@media(min-width: 4096px){.dice__chat-message.svelte-dhlhbh.svelte-dhlhbh:not(:first-child){margin-bottom:calc(0.0074479167 * 100vw + 0px)}}.dice__chat-message-title.svelte-dhlhbh.svelte-dhlhbh{font-family:\"GothamPro-Medium\";color:rgba(255, 255, 255, 0.5);font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__chat-message-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__chat-message-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__chat-message-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.dice__chat-message-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__chat-message-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__chat-message-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.dice__chat-message-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0080208333 * 100vw + 0px)}}.dice__chat-message-subTitle.svelte-dhlhbh.svelte-dhlhbh{font-family:\"GothamPro\";color:#FFFFFF}.dice__chat-input-wrapper.svelte-dhlhbh.svelte-dhlhbh{display:flex;align-items:center;margin-top:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__chat-input-wrapper.svelte-dhlhbh.svelte-dhlhbh{margin-top:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__chat-input-wrapper.svelte-dhlhbh.svelte-dhlhbh{margin-top:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__chat-input-wrapper.svelte-dhlhbh.svelte-dhlhbh{margin-top:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.dice__chat-input-wrapper.svelte-dhlhbh.svelte-dhlhbh{margin-top:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__chat-input-wrapper.svelte-dhlhbh.svelte-dhlhbh{margin-top:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__chat-input-wrapper.svelte-dhlhbh.svelte-dhlhbh{margin-top:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.dice__chat-input-wrapper.svelte-dhlhbh.svelte-dhlhbh{margin-top:calc(0.01375 * 100vw + 0px)}}.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{color:#FFFFFF;font-family:\"GothamPro-Light\";border:none;background-color:rgba(255, 255, 255, 0.1);font-size:calc(0.009375 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.2005208333 * 100vw + 0px);height:calc(0.0291666667 * 100vw + 0px);margin-right:calc(0.0026041667 * 100vw + 0px);padding-left:calc(0.009375 * 100vw + 0px);padding-right:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.1544010417 * 100vw + 0px)}}@media(min-width: 3440px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.2205729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.18046875 * 100vw + 0px)}}@media(min-width: 4096px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.2205729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0224583333 * 100vw + 0px)}}@media(min-width: 3440px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0204166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.02625 * 100vw + 0px)}}@media(min-width: 4096px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0320833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{margin-right:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{margin-right:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{margin-right:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{margin-right:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{margin-right:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{margin-right:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{margin-right:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{padding-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{padding-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{padding-left:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{padding-left:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{padding-left:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{padding-left:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{padding-left:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{padding-right:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{padding-right:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{padding-right:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{padding-right:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{padding-right:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{padding-right:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh{padding-right:calc(0.0103125 * 100vw + 0px)}}.dice__chat-input.svelte-dhlhbh.svelte-dhlhbh::placeholder{color:rgba(255, 255, 255, 0.5)}.dice__chat-input-button.svelte-dhlhbh.svelte-dhlhbh{display:flex;align-items:center;justify-content:center;background-color:#FFFFFF;cursor:pointer;transition:background-color 0.2s ease, color 0.2s ease;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.0286458333 * 100vw + 0px);height:calc(0.0270833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__chat-input-button.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__chat-input-button.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__chat-input-button.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.dice__chat-input-button.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__chat-input-button.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__chat-input-button.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.dice__chat-input-button.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__chat-input-button.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__chat-input-button.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__chat-input-button.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.0220572917 * 100vw + 0px)}}@media(min-width: 3440px){.dice__chat-input-button.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.0315104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__chat-input-button.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__chat-input-button.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 4096px){.dice__chat-input-button.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.0315104167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__chat-input-button.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__chat-input-button.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__chat-input-button.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0208541667 * 100vw + 0px)}}@media(min-width: 3440px){.dice__chat-input-button.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0297916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__chat-input-button.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0189583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__chat-input-button.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.024375 * 100vw + 0px)}}@media(min-width: 4096px){.dice__chat-input-button.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0297916667 * 100vw + 0px)}}.dice__chat-input-button.svelte-dhlhbh.svelte-dhlhbh:hover{background-color:#FF3737;color:#FFFFFF}.dice__chat-input-button-key.svelte-dhlhbh.svelte-dhlhbh{font-family:\"GothamPro-Bold\";font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__chat-input-button-key.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__chat-input-button-key.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__chat-input-button-key.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.dice__chat-input-button-key.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__chat-input-button-key.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__chat-input-button-key.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.dice__chat-input-button-key.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0114583333 * 100vw + 0px)}}.dice__session.svelte-dhlhbh.svelte-dhlhbh{display:flex;flex-direction:column;align-items:center;position:absolute;top:calc(0.0755208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__session.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.0755208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__session.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.0755208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__session.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.0581510417 * 100vw + 0px)}}@media(min-width: 3440px){.dice__session.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.0830729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__session.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.0528645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__session.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.06796875 * 100vw + 0px)}}@media(min-width: 4096px){.dice__session.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.0830729167 * 100vw + 0px)}}.dice__session-status.svelte-dhlhbh.svelte-dhlhbh{color:#FFFFFF;font-family:\"GothamPro-Medium\";font-size:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__session-status.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__session-status.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__session-status.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.dice__session-status.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__session-status.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__session-status.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.dice__session-status.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0183333333 * 100vw + 0px)}}.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{display:flex;align-items:center;justify-content:center;border:1px solid rgba(255, 255, 255, 0.1);border-width:calc(0.0005208333 * 100vw + 0px);width:calc(0.03125 * 100vw + 0px);height:calc(0.0208333333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);margin-top:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{margin-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{margin-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{margin-top:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{margin-top:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{margin-top:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{margin-top:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.dice__session-timer.svelte-dhlhbh.svelte-dhlhbh{margin-top:calc(0.00859375 * 100vw + 0px)}}.dice__session-timer-title.svelte-dhlhbh.svelte-dhlhbh{color:#FFFFFF;font-family:\"GothamPro\";font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__session-timer-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__session-timer-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__session-timer-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.dice__session-timer-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__session-timer-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__session-timer-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.dice__session-timer-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0091666667 * 100vw + 0px)}}.dice__session-field.svelte-dhlhbh.svelte-dhlhbh{display:flex;position:relative;top:calc(0.09375 * 100vw + 0px);gap:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__session-field.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.09375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__session-field.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.09375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__session-field.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.0721875 * 100vw + 0px)}}@media(min-width: 3440px){.dice__session-field.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__session-field.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__session-field.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.084375 * 100vw + 0px)}}@media(min-width: 4096px){.dice__session-field.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__session-field.svelte-dhlhbh.svelte-dhlhbh{gap:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__session-field.svelte-dhlhbh.svelte-dhlhbh{gap:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__session-field.svelte-dhlhbh.svelte-dhlhbh{gap:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.dice__session-field.svelte-dhlhbh.svelte-dhlhbh{gap:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__session-field.svelte-dhlhbh.svelte-dhlhbh{gap:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__session-field.svelte-dhlhbh.svelte-dhlhbh{gap:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.dice__session-field.svelte-dhlhbh.svelte-dhlhbh{gap:calc(0.0143229167 * 100vw + 0px)}}.dice__session-field-cube-img.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0416666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__session-field-cube-img.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__session-field-cube-img.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__session-field-cube-img.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.dice__session-field-cube-img.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__session-field-cube-img.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__session-field-cube-img.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.dice__session-field-cube-img.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0458333333 * 100vw + 0px)}}.dice__session-bet-wrapper.svelte-dhlhbh.svelte-dhlhbh{display:flex;flex-direction:column;align-items:center;position:fixed;bottom:calc(0.1015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__session-bet-wrapper.svelte-dhlhbh.svelte-dhlhbh{bottom:calc(0.1015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__session-bet-wrapper.svelte-dhlhbh.svelte-dhlhbh{bottom:calc(0.1015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__session-bet-wrapper.svelte-dhlhbh.svelte-dhlhbh{bottom:calc(0.078203125 * 100vw + 0px)}}@media(min-width: 3440px){.dice__session-bet-wrapper.svelte-dhlhbh.svelte-dhlhbh{bottom:calc(0.11171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__session-bet-wrapper.svelte-dhlhbh.svelte-dhlhbh{bottom:calc(0.07109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__session-bet-wrapper.svelte-dhlhbh.svelte-dhlhbh{bottom:calc(0.09140625 * 100vw + 0px)}}@media(min-width: 4096px){.dice__session-bet-wrapper.svelte-dhlhbh.svelte-dhlhbh{bottom:calc(0.11171875 * 100vw + 0px)}}.dice__session-bet.svelte-dhlhbh.svelte-dhlhbh{display:flex;margin-bottom:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__session-bet.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__session-bet.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__session-bet.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.dice__session-bet.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__session-bet.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__session-bet.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.dice__session-bet.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}.dice__session-bet-item.svelte-dhlhbh.svelte-dhlhbh{display:flex;flex-direction:column;align-items:center}.dice__session-bet-item.svelte-dhlhbh.svelte-dhlhbh:not(:first-child){margin-left:calc(0.03125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__session-bet-item.svelte-dhlhbh.svelte-dhlhbh:not(:first-child){margin-left:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__session-bet-item.svelte-dhlhbh.svelte-dhlhbh:not(:first-child){margin-left:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__session-bet-item.svelte-dhlhbh.svelte-dhlhbh:not(:first-child){margin-left:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.dice__session-bet-item.svelte-dhlhbh.svelte-dhlhbh:not(:first-child){margin-left:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__session-bet-item.svelte-dhlhbh.svelte-dhlhbh:not(:first-child){margin-left:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__session-bet-item.svelte-dhlhbh.svelte-dhlhbh:not(:first-child){margin-left:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.dice__session-bet-item.svelte-dhlhbh.svelte-dhlhbh:not(:first-child){margin-left:calc(0.034375 * 100vw + 0px)}}.dice__session-bet-item-title.svelte-dhlhbh.svelte-dhlhbh{color:rgba(255, 255, 255, 0.5);font-family:\"GothamPro\";font-size:calc(0.0083333333 * 100vw + 0px);margin-bottom:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__session-bet-item-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__session-bet-item-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__session-bet-item-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.dice__session-bet-item-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__session-bet-item-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__session-bet-item-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.dice__session-bet-item-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__session-bet-item-title.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__session-bet-item-title.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__session-bet-item-title.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.dice__session-bet-item-title.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__session-bet-item-title.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__session-bet-item-title.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.dice__session-bet-item-title.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}.dice__session-bet-item-value.svelte-dhlhbh.svelte-dhlhbh{color:#FFFFFF;font-family:\"GothamPro-Medium\";font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__session-bet-item-value.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__session-bet-item-value.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__session-bet-item-value.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.dice__session-bet-item-value.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__session-bet-item-value.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__session-bet-item-value.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.dice__session-bet-item-value.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.01375 * 100vw + 0px)}}.dice__session-bet-ready-wrapper.svelte-dhlhbh.svelte-dhlhbh{display:flex;flex-direction:column;align-items:center}.dice__session-bet-ready-value.svelte-dhlhbh.svelte-dhlhbh{color:#FFFFFF;font-family:\"GothamPro-Medium\";font-size:calc(0.0125 * 100vw + 0px);margin-bottom:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__session-bet-ready-value.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__session-bet-ready-value.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__session-bet-ready-value.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.dice__session-bet-ready-value.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__session-bet-ready-value.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__session-bet-ready-value.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.dice__session-bet-ready-value.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__session-bet-ready-value.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__session-bet-ready-value.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__session-bet-ready-value.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.dice__session-bet-ready-value.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__session-bet-ready-value.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__session-bet-ready-value.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.dice__session-bet-ready-value.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.0171875 * 100vw + 0px)}}.dice__session-bet-list-wrapper.svelte-dhlhbh.svelte-dhlhbh{display:flex;margin-bottom:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__session-bet-list-wrapper.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__session-bet-list-wrapper.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__session-bet-list-wrapper.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.dice__session-bet-list-wrapper.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__session-bet-list-wrapper.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__session-bet-list-wrapper.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.dice__session-bet-list-wrapper.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}.dice__session-bet-list-item.svelte-dhlhbh.svelte-dhlhbh{display:flex;align-items:center;width:fit-content;border:1px solid rgba(255, 255, 255, 0.5);border-width:calc(0.0005208333 * 100vw + 0px);height:calc(0.0182291667 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__session-bet-list-item.svelte-dhlhbh.svelte-dhlhbh{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__session-bet-list-item.svelte-dhlhbh.svelte-dhlhbh{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__session-bet-list-item.svelte-dhlhbh.svelte-dhlhbh{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.dice__session-bet-list-item.svelte-dhlhbh.svelte-dhlhbh{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__session-bet-list-item.svelte-dhlhbh.svelte-dhlhbh{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__session-bet-list-item.svelte-dhlhbh.svelte-dhlhbh{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.dice__session-bet-list-item.svelte-dhlhbh.svelte-dhlhbh{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__session-bet-list-item.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__session-bet-list-item.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__session-bet-list-item.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.dice__session-bet-list-item.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__session-bet-list-item.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__session-bet-list-item.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.dice__session-bet-list-item.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0200520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__session-bet-list-item.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__session-bet-list-item.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__session-bet-list-item.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.dice__session-bet-list-item.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__session-bet-list-item.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__session-bet-list-item.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.dice__session-bet-list-item.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0057291667 * 100vw + 0px)}}.dice__session-bet-list-item.svelte-dhlhbh.svelte-dhlhbh:not(:first-child){margin-left:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__session-bet-list-item.svelte-dhlhbh.svelte-dhlhbh:not(:first-child){margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__session-bet-list-item.svelte-dhlhbh.svelte-dhlhbh:not(:first-child){margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__session-bet-list-item.svelte-dhlhbh.svelte-dhlhbh:not(:first-child){margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.dice__session-bet-list-item.svelte-dhlhbh.svelte-dhlhbh:not(:first-child){margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__session-bet-list-item.svelte-dhlhbh.svelte-dhlhbh:not(:first-child){margin-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__session-bet-list-item.svelte-dhlhbh.svelte-dhlhbh:not(:first-child){margin-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.dice__session-bet-list-item.svelte-dhlhbh.svelte-dhlhbh:not(:first-child){margin-left:calc(0.0057291667 * 100vw + 0px)}}.dice__session-bet-list-item.svelte-dhlhbh.svelte-dhlhbh:hover{background-color:#FF3737;border-color:#FF3737;cursor:pointer}.dice__session-bet-list-item.svelte-dhlhbh:hover p.svelte-dhlhbh{color:#FFFFFF}.dice__session-bet-list-item-title.svelte-dhlhbh.svelte-dhlhbh{color:rgba(255, 255, 255, 0.5);font-family:\"GothamPro\";padding-left:calc(0.0052083333 * 100vw + 0px);padding-right:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__session-bet-list-item-title.svelte-dhlhbh.svelte-dhlhbh{padding-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__session-bet-list-item-title.svelte-dhlhbh.svelte-dhlhbh{padding-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__session-bet-list-item-title.svelte-dhlhbh.svelte-dhlhbh{padding-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.dice__session-bet-list-item-title.svelte-dhlhbh.svelte-dhlhbh{padding-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__session-bet-list-item-title.svelte-dhlhbh.svelte-dhlhbh{padding-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__session-bet-list-item-title.svelte-dhlhbh.svelte-dhlhbh{padding-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.dice__session-bet-list-item-title.svelte-dhlhbh.svelte-dhlhbh{padding-left:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__session-bet-list-item-title.svelte-dhlhbh.svelte-dhlhbh{padding-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__session-bet-list-item-title.svelte-dhlhbh.svelte-dhlhbh{padding-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__session-bet-list-item-title.svelte-dhlhbh.svelte-dhlhbh{padding-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.dice__session-bet-list-item-title.svelte-dhlhbh.svelte-dhlhbh{padding-right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__session-bet-list-item-title.svelte-dhlhbh.svelte-dhlhbh{padding-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__session-bet-list-item-title.svelte-dhlhbh.svelte-dhlhbh{padding-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.dice__session-bet-list-item-title.svelte-dhlhbh.svelte-dhlhbh{padding-right:calc(0.0057291667 * 100vw + 0px)}}.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{color:#FFFFFF;font-family:\"GothamPro-Light\";background-color:rgba(255, 255, 255, 0.1);border:none;text-align:center;font-size:calc(0.009375 * 100vw + 0px);width:calc(0.15625 * 100vw + 0px);height:calc(0.0291666667 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);margin-bottom:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px){.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.140625 * 100vw + 0px)}}@media(min-width: 4096px){.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0224583333 * 100vw + 0px)}}@media(min-width: 3440px){.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0204166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.02625 * 100vw + 0px)}}@media(min-width: 4096px){.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0320833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh::-webkit-inner-spin-button,.dice__session-bet-ready-input.svelte-dhlhbh.svelte-dhlhbh::-webkit-outer-spin-button{display:none}.dice__session-bet-button.svelte-dhlhbh.svelte-dhlhbh{display:flex;align-items:center;justify-content:center;background-color:#FF3737;cursor:pointer;transition:background-color 0.5s ease;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.0947916667 * 100vw + 0px);height:calc(0.0265625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__session-bet-button.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__session-bet-button.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__session-bet-button.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.dice__session-bet-button.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__session-bet-button.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__session-bet-button.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.dice__session-bet-button.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__session-bet-button.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.0947916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__session-bet-button.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.0947916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__session-bet-button.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.0729895833 * 100vw + 0px)}}@media(min-width: 3440px){.dice__session-bet-button.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.1042708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__session-bet-button.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.0663541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__session-bet-button.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.0853125 * 100vw + 0px)}}@media(min-width: 4096px){.dice__session-bet-button.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.1042708333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__session-bet-button.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0265625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__session-bet-button.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0265625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__session-bet-button.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.020453125 * 100vw + 0px)}}@media(min-width: 3440px){.dice__session-bet-button.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.02921875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__session-bet-button.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.01859375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__session-bet-button.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.02390625 * 100vw + 0px)}}@media(min-width: 4096px){.dice__session-bet-button.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.02921875 * 100vw + 0px)}}.dice__session-bet-button--disabled.svelte-dhlhbh.svelte-dhlhbh{opacity:0.6;cursor:not-allowed}.dice__session-bet-button.svelte-dhlhbh.svelte-dhlhbh:hover{background-color:#C70000}.dice__session-bet-button-key.svelte-dhlhbh.svelte-dhlhbh{color:#FFFFFF;font-family:\"GothamPro-Medium\";font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__session-bet-button-key.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__session-bet-button-key.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__session-bet-button-key.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.dice__session-bet-button-key.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__session-bet-button-key.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__session-bet-button-key.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.dice__session-bet-button-key.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0091666667 * 100vw + 0px)}}.dice__players.svelte-dhlhbh.svelte-dhlhbh{position:absolute;top:calc(0.1520833333 * 100vw + 0px);right:calc(0.0625 * 100vw + 0px);width:calc(0.1770833333 * 100vw + 0px);height:calc(0.2395833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__players.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.1520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__players.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.1520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__players.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.1171041667 * 100vw + 0px)}}@media(min-width: 3440px){.dice__players.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.1672916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__players.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.1064583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__players.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.136875 * 100vw + 0px)}}@media(min-width: 4096px){.dice__players.svelte-dhlhbh.svelte-dhlhbh{top:calc(0.1672916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__players.svelte-dhlhbh.svelte-dhlhbh{right:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__players.svelte-dhlhbh.svelte-dhlhbh{right:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__players.svelte-dhlhbh.svelte-dhlhbh{right:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px){.dice__players.svelte-dhlhbh.svelte-dhlhbh{right:calc(0.06875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__players.svelte-dhlhbh.svelte-dhlhbh{right:calc(0.04375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__players.svelte-dhlhbh.svelte-dhlhbh{right:calc(0.05625 * 100vw + 0px)}}@media(min-width: 4096px){.dice__players.svelte-dhlhbh.svelte-dhlhbh{right:calc(0.06875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__players.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.1770833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__players.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.1770833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__players.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.1363541667 * 100vw + 0px)}}@media(min-width: 3440px){.dice__players.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.1947916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__players.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.1239583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__players.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.159375 * 100vw + 0px)}}@media(min-width: 4096px){.dice__players.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.1947916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__players.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.2395833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__players.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.2395833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__players.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.1844791667 * 100vw + 0px)}}@media(min-width: 3440px){.dice__players.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.2635416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__players.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.1677083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__players.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.215625 * 100vw + 0px)}}@media(min-width: 4096px){.dice__players.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.2635416667 * 100vw + 0px)}}.dice__players-title.svelte-dhlhbh.svelte-dhlhbh{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0125 * 100vw + 0px);margin-bottom:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__players-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__players-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__players-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.dice__players-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__players-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__players-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.dice__players-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__players-title.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__players-title.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__players-title.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.dice__players-title.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__players-title.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__players-title.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.dice__players-title.svelte-dhlhbh.svelte-dhlhbh{margin-bottom:calc(0.01375 * 100vw + 0px)}}.dice__players-list-item.svelte-dhlhbh.svelte-dhlhbh{display:flex;align-items:center;justify-content:space-between}.dice__players-list-item.svelte-dhlhbh.svelte-dhlhbh:not(:last-child){margin-bottom:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__players-list-item.svelte-dhlhbh.svelte-dhlhbh:not(:last-child){margin-bottom:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__players-list-item.svelte-dhlhbh.svelte-dhlhbh:not(:last-child){margin-bottom:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__players-list-item.svelte-dhlhbh.svelte-dhlhbh:not(:last-child){margin-bottom:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.dice__players-list-item.svelte-dhlhbh.svelte-dhlhbh:not(:last-child){margin-bottom:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__players-list-item.svelte-dhlhbh.svelte-dhlhbh:not(:last-child){margin-bottom:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__players-list-item.svelte-dhlhbh.svelte-dhlhbh:not(:last-child){margin-bottom:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.dice__players-list-item.svelte-dhlhbh.svelte-dhlhbh:not(:last-child){margin-bottom:calc(0.006875 * 100vw + 0px)}}.dice__players-item-name-wrapper.svelte-dhlhbh.svelte-dhlhbh{display:flex;align-items:center}.dice__players-item-name-img.svelte-dhlhbh.svelte-dhlhbh{margin-right:calc(0.0036458333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__players-item-name-img.svelte-dhlhbh.svelte-dhlhbh{margin-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__players-item-name-img.svelte-dhlhbh.svelte-dhlhbh{margin-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__players-item-name-img.svelte-dhlhbh.svelte-dhlhbh{margin-right:calc(0.0028072917 * 100vw + 0px)}}@media(min-width: 3440px){.dice__players-item-name-img.svelte-dhlhbh.svelte-dhlhbh{margin-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__players-item-name-img.svelte-dhlhbh.svelte-dhlhbh{margin-right:calc(0.0025520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__players-item-name-img.svelte-dhlhbh.svelte-dhlhbh{margin-right:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 4096px){.dice__players-item-name-img.svelte-dhlhbh.svelte-dhlhbh{margin-right:calc(0.0040104167 * 100vw + 0px)}}.dice__players-item-name.svelte-dhlhbh.svelte-dhlhbh{color:rgba(255, 255, 255, 0.7);font-family:\"GothamPro\";font-size:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__players-item-name.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__players-item-name.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__players-item-name.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.dice__players-item-name.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__players-item-name.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__players-item-name.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.dice__players-item-name.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.00859375 * 100vw + 0px)}}.dice__players-item-name--current.svelte-dhlhbh.svelte-dhlhbh{color:#FFFFFF}.dice__players-item-score-wrapper.svelte-dhlhbh.svelte-dhlhbh{display:flex;align-items:center;justify-content:center;background-color:rgba(255, 255, 255, 0.1);width:calc(0.0520833333 * 100vw + 0px);height:calc(0.0161458333 * 100vw + 0px);border-radius:calc(0.0078125 * 100vw + 0px);margin-left:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__players-item-score-wrapper.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__players-item-score-wrapper.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__players-item-score-wrapper.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.dice__players-item-score-wrapper.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__players-item-score-wrapper.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__players-item-score-wrapper.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.dice__players-item-score-wrapper.svelte-dhlhbh.svelte-dhlhbh{width:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__players-item-score-wrapper.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0161458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__players-item-score-wrapper.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0161458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__players-item-score-wrapper.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0124322917 * 100vw + 0px)}}@media(min-width: 3440px){.dice__players-item-score-wrapper.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0177604167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__players-item-score-wrapper.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0113020833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__players-item-score-wrapper.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.01453125 * 100vw + 0px)}}@media(min-width: 4096px){.dice__players-item-score-wrapper.svelte-dhlhbh.svelte-dhlhbh{height:calc(0.0177604167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__players-item-score-wrapper.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__players-item-score-wrapper.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__players-item-score-wrapper.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.dice__players-item-score-wrapper.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__players-item-score-wrapper.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__players-item-score-wrapper.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.dice__players-item-score-wrapper.svelte-dhlhbh.svelte-dhlhbh{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.dice__players-item-score-wrapper.svelte-dhlhbh.svelte-dhlhbh{margin-left:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__players-item-score-wrapper.svelte-dhlhbh.svelte-dhlhbh{margin-left:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__players-item-score-wrapper.svelte-dhlhbh.svelte-dhlhbh{margin-left:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.dice__players-item-score-wrapper.svelte-dhlhbh.svelte-dhlhbh{margin-left:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__players-item-score-wrapper.svelte-dhlhbh.svelte-dhlhbh{margin-left:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__players-item-score-wrapper.svelte-dhlhbh.svelte-dhlhbh{margin-left:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.dice__players-item-score-wrapper.svelte-dhlhbh.svelte-dhlhbh{margin-left:calc(0.00859375 * 100vw + 0px)}}.dice__players-item-score-title.svelte-dhlhbh.svelte-dhlhbh{font-family:\"GothamPro\";color:rgba(255, 255, 255, 0.7);font-size:calc(0.0067708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__players-item-score-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__players-item-score-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__players-item-score-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0052135417 * 100vw + 0px)}}@media(min-width: 3440px){.dice__players-item-score-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0074479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__players-item-score-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0047395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__players-item-score-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.00609375 * 100vw + 0px)}}@media(min-width: 4096px){.dice__players-item-score-title.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0074479167 * 100vw + 0px)}}.dice__players-item-score-count.svelte-dhlhbh.svelte-dhlhbh{color:#FFFFFF;font-family:\"GothamPro-Medium\";font-size:calc(0.0067708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.dice__players-item-score-count.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.dice__players-item-score-count.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.dice__players-item-score-count.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0052135417 * 100vw + 0px)}}@media(min-width: 3440px){.dice__players-item-score-count.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0074479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.dice__players-item-score-count.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0047395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.dice__players-item-score-count.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.00609375 * 100vw + 0px)}}@media(min-width: 4096px){.dice__players-item-score-count.svelte-dhlhbh.svelte-dhlhbh{font-size:calc(0.0074479167 * 100vw + 0px)}}.dice__send-message-action-button.svelte-dhlhbh.svelte-dhlhbh{display:none;position:absolute}");
}

function dice_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[33] = list[i];
	return child_ctx;
}

function dice_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[36] = list[i];
	return child_ctx;
}

function dice_index_svelte_get_each_context_2(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[39] = list[i];
	child_ctx[41] = i;
	return child_ctx;
}

function dice_index_svelte_get_each_context_3(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[42] = list[i];
	return child_ctx;
}

// (3604:12) {#each messages as message}
function dice_index_svelte_create_each_block_3(ctx) {
	let div;
	let p;
	let t0_value = /*message*/ ctx[42].name + "";
	let t0;
	let t1;
	let span;
	let t2_value = /*message*/ ctx[42].text + "";
	let t2;
	let t3;

	return {
		c() {
			div = internal_element("div");
			p = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = internal_text(":\r\n                        ");
			span = internal_element("span");
			t2 = internal_text(t2_value);
			t3 = space();
			attr(span, "class", "dice__chat-message-subTitle svelte-dhlhbh");
			attr(p, "class", "dice__chat-message-title svelte-dhlhbh");
			attr(div, "class", "dice__chat-message svelte-dhlhbh");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p);
			append(p, t0);
			append(p, t1);
			append(p, span);
			append(span, t2);
			append(div, t3);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*messages*/ 8 && t0_value !== (t0_value = /*message*/ ctx[42].name + "")) set_data(t0, t0_value);
			if (dirty[0] & /*messages*/ 8 && t2_value !== (t2_value = /*message*/ ctx[42].text + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (3633:8) {#if !isNil(session.seconds)}
function dice_index_svelte_create_if_block_9(ctx) {
	let div;
	let p;
	let t_value = formatSecondsToMmSs(/*session*/ ctx[2].seconds) + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			p = internal_element("p");
			t = internal_text(t_value);
			attr(p, "class", "dice__session-timer-title svelte-dhlhbh");
			attr(div, "class", "dice__session-timer svelte-dhlhbh");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p);
			append(p, t);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*session*/ 4 && t_value !== (t_value = formatSecondsToMmSs(/*session*/ ctx[2].seconds) + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (3640:8) {#if session.cubes}
function dice_index_svelte_create_if_block_8(ctx) {
	let div;
	let each_value_2 = /*session*/ ctx[2].cubes;
	let each_blocks = [];

	for (let i = 0; i < each_value_2.length; i += 1) {
		each_blocks[i] = dice_index_svelte_create_each_block_2(dice_index_svelte_get_each_context_2(ctx, each_value_2, i));
	}

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "dice__session-field svelte-dhlhbh");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}
		},
		p(ctx, dirty) {
			if (dirty[0] & /*getSessionCube, randomCubes, session*/ 100) {
				each_value_2 = /*session*/ ctx[2].cubes;
				let i;

				for (i = 0; i < each_value_2.length; i += 1) {
					const child_ctx = dice_index_svelte_get_each_context_2(ctx, each_value_2, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = dice_index_svelte_create_each_block_2(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_2.length;
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (3642:16) {#each session.cubes as cub, index}
function dice_index_svelte_create_each_block_2(ctx) {
	let div;
	let img;
	let img_src_value;
	let t;

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			t = space();
			attr(img, "class", "dice__session-field-cube-img svelte-dhlhbh");
			if (!src_url_equal(img.src, img_src_value = MAP_DICE_TO_IMAGE[/*getSessionCube*/ ctx[6](/*index*/ ctx[41], /*randomCubes*/ ctx[5])])) attr(img, "src", img_src_value);
			attr(img, "alt", "cubes");
			attr(div, "class", "dice__session-field-cube");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*randomCubes*/ 32 && !src_url_equal(img.src, img_src_value = MAP_DICE_TO_IMAGE[/*getSessionCube*/ ctx[6](/*index*/ ctx[41], /*randomCubes*/ ctx[5])])) {
				attr(img, "src", img_src_value);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (3655:16) {#if isNil(session.bet) || session.bet > 0}
function dice_index_svelte_create_if_block_4(ctx) {
	let t;
	let if_block1_anchor;

	function select_block_type(ctx, dirty) {
		if (/*session*/ ctx[2].bet) return dice_index_svelte_create_if_block_6;
		return dice_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, [-1, -1]);
	let if_block0 = current_block_type(ctx);
	let if_block1 = /*session*/ ctx[2].sumBet && dice_index_svelte_create_if_block_5(ctx);

	return {
		c() {
			if_block0.c();
			t = space();
			if (if_block1) if_block1.c();
			if_block1_anchor = empty();
		},
		m(target, anchor) {
			if_block0.m(target, anchor);
			insert(target, t, anchor);
			if (if_block1) if_block1.m(target, anchor);
			insert(target, if_block1_anchor, anchor);
		},
		p(ctx, dirty) {
			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block0) {
				if_block0.p(ctx, dirty);
			} else {
				if_block0.d(1);
				if_block0 = current_block_type(ctx);

				if (if_block0) {
					if_block0.c();
					if_block0.m(t.parentNode, t);
				}
			}

			if (/*session*/ ctx[2].sumBet) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = dice_index_svelte_create_if_block_5(ctx);
					if_block1.c();
					if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}
		},
		d(detaching) {
			if_block0.d(detaching);
			if (detaching) detach(t);
			if (if_block1) if_block1.d(detaching);
			if (detaching) detach(if_block1_anchor);
		}
	};
}

// (3665:20) {:else}
function dice_index_svelte_create_else_block(ctx) {
	let div1;
	let p;
	let t1;
	let div0;
	let if_block = /*session*/ ctx[2].readyBets && dice_index_svelte_create_if_block_7(ctx);

	return {
		c() {
			div1 = internal_element("div");
			p = internal_element("p");
			p.textContent = "Ставка не указана";
			t1 = space();
			div0 = internal_element("div");
			if (if_block) if_block.c();
			attr(p, "class", "dice__session-bet-ready-value svelte-dhlhbh");
			attr(div0, "class", "dice__session-bet-list-wrapper svelte-dhlhbh");
			attr(div1, "class", "dice__session-bet-ready-wrapper svelte-dhlhbh");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, p);
			append(div1, t1);
			append(div1, div0);
			if (if_block) if_block.m(div0, null);
		},
		p(ctx, dirty) {
			if (/*session*/ ctx[2].readyBets) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = dice_index_svelte_create_if_block_7(ctx);
					if_block.c();
					if_block.m(div0, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			if (if_block) if_block.d();
		}
	};
}

// (3656:20) {#if session.bet}
function dice_index_svelte_create_if_block_6(ctx) {
	let div;
	let p0;
	let t1;
	let p1;
	let t2_value = formatMoney(/*session*/ ctx[2].bet) + "";
	let t2;
	let t3;

	return {
		c() {
			div = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Текущая ставка";
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = internal_text(" ₽");
			attr(p0, "class", "dice__session-bet-item-title svelte-dhlhbh");
			attr(p1, "class", "dice__session-bet-item-value svelte-dhlhbh");
			attr(div, "class", "dice__session-bet-item svelte-dhlhbh");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p0);
			append(div, t1);
			append(div, p1);
			append(p1, t2);
			append(p1, t3);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*session*/ 4 && t2_value !== (t2_value = formatMoney(/*session*/ ctx[2].bet) + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (3671:32) {#if session.readyBets}
function dice_index_svelte_create_if_block_7(ctx) {
	let each_1_anchor;
	let each_value_1 = /*session*/ ctx[2].readyBets;
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = dice_index_svelte_create_each_block_1(dice_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*setBet, session*/ 132) {
				each_value_1 = /*session*/ ctx[2].readyBets;
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = dice_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = dice_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}
		},
		d(detaching) {
			destroy_each(each_blocks, detaching);
			if (detaching) detach(each_1_anchor);
		}
	};
}

// (3672:36) {#each session.readyBets as bet}
function dice_index_svelte_create_each_block_1(ctx) {
	let div;
	let p;
	let t0_value = formatMoney(/*bet*/ ctx[36]) + "";
	let t0;
	let t1;
	let t2;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[12](/*bet*/ ctx[36]);
	}

	return {
		c() {
			div = internal_element("div");
			p = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = internal_text(" ₽");
			t2 = space();
			attr(p, "class", "dice__session-bet-list-item-title svelte-dhlhbh");
			attr(div, "class", "dice__session-bet-list-item svelte-dhlhbh");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p);
			append(p, t0);
			append(p, t1);
			append(div, t2);

			if (!mounted) {
				dispose = listen(div, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if (dirty[0] & /*session*/ 4 && t0_value !== (t0_value = formatMoney(/*bet*/ ctx[36]) + "")) set_data(t0, t0_value);
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (3686:20) {#if session.sumBet}
function dice_index_svelte_create_if_block_5(ctx) {
	let div;
	let p0;
	let t1;
	let p1;
	let t2_value = formatMoney(/*session*/ ctx[2].sumBet) + "";
	let t2;
	let t3;

	return {
		c() {
			div = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Сумма ставки";
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = internal_text(" ₽");
			attr(p0, "class", "dice__session-bet-item-title svelte-dhlhbh");
			attr(p1, "class", "dice__session-bet-item-value svelte-dhlhbh");
			attr(div, "class", "dice__session-bet-item svelte-dhlhbh");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p0);
			append(div, t1);
			append(div, p1);
			append(p1, t2);
			append(p1, t3);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*session*/ 4 && t2_value !== (t2_value = formatMoney(/*session*/ ctx[2].sumBet) + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (3698:12) {#if isNil(session.bet)}
function dice_index_svelte_create_if_block_3(ctx) {
	let input;
	let mounted;
	let dispose;

	return {
		c() {
			input = internal_element("input");
			attr(input, "class", "dice__session-bet-ready-input svelte-dhlhbh");
			attr(input, "type", "number");
			attr(input, "placeholder", "Введите значение ставки");
		},
		m(target, anchor) {
			insert(target, input, anchor);
			set_input_value(input, /*betInput*/ ctx[4]);

			if (!mounted) {
				dispose = listen(input, "input", /*input_input_handler_1*/ ctx[13]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty[0] & /*betInput*/ 16 && to_number(input.value) !== /*betInput*/ ctx[4]) {
				set_input_value(input, /*betInput*/ ctx[4]);
			}
		},
		d(detaching) {
			if (detaching) detach(input);
			mounted = false;
			dispose();
		}
	};
}

// (3706:12) {#if !isEmpty(session.buttonText)}
function dice_index_svelte_create_if_block_2(ctx) {
	let div;
	let p;
	let t_value = /*session*/ ctx[2].buttonText + "";
	let t;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			p = internal_element("p");
			t = internal_text(t_value);
			attr(p, "class", "dice__session-bet-button-key svelte-dhlhbh");
			attr(div, "class", "dice__session-bet-button svelte-dhlhbh");
			toggle_class(div, "dice__session-bet-button--disabled", !/*betInput*/ ctx[4] === null && /*session*/ ctx[2].bet === null);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p);
			append(p, t);

			if (!mounted) {
				dispose = listen(div, "click", /*click_handler_1*/ ctx[14]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty[0] & /*session*/ 4 && t_value !== (t_value = /*session*/ ctx[2].buttonText + "")) set_data(t, t_value);

			if (dirty[0] & /*betInput, session*/ 20) {
				toggle_class(div, "dice__session-bet-button--disabled", !/*betInput*/ ctx[4] === null && /*session*/ ctx[2].bet === null);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (3727:24) {#if !isNil(MAP_PLAYER_STATUSES_TO_IMAGE[player.status])}
function dice_index_svelte_create_if_block_1(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "dice__players-item-name-img svelte-dhlhbh");
			if (!src_url_equal(img.src, img_src_value = MAP_PLAYER_STATUSES_TO_IMAGE[/*player*/ ctx[33].status])) attr(img, "src", img_src_value);
			attr(img, "alt", "status");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*players*/ 1 && !src_url_equal(img.src, img_src_value = MAP_PLAYER_STATUSES_TO_IMAGE[/*player*/ ctx[33].status])) {
				attr(img, "src", img_src_value);
			}
		},
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (3741:20) {#if player.score}
function dice_index_svelte_create_if_block(ctx) {
	let div;
	let p;
	let t0;
	let span;
	let t1_value = /*player*/ ctx[33].score + "";
	let t1;

	return {
		c() {
			div = internal_element("div");
			p = internal_element("p");
			t0 = internal_text("Выпало:\r\n                                ");
			span = internal_element("span");
			t1 = internal_text(t1_value);
			attr(span, "class", "dice__players-item-score-count svelte-dhlhbh");
			attr(p, "class", "dice__players-item-score-title svelte-dhlhbh");
			attr(div, "class", "dice__players-item-score-wrapper svelte-dhlhbh");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p);
			append(p, t0);
			append(p, span);
			append(span, t1);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*players*/ 1 && t1_value !== (t1_value = /*player*/ ctx[33].score + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (3724:12) {#each players as player}
function dice_index_svelte_create_each_block(ctx) {
	let div1;
	let div0;
	let show_if = !(0,lodash.isNil)(MAP_PLAYER_STATUSES_TO_IMAGE[/*player*/ ctx[33].status]);
	let t0;
	let p;
	let t1_value = /*player*/ ctx[33].name + "";
	let t1;
	let t2;
	let t3;
	let if_block0 = show_if && dice_index_svelte_create_if_block_1(ctx);
	let if_block1 = /*player*/ ctx[33].score && dice_index_svelte_create_if_block(ctx);

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			if (if_block1) if_block1.c();
			t3 = space();
			attr(p, "class", "dice__players-item-name svelte-dhlhbh");
			toggle_class(p, "dice__players-item-name--current", /*player*/ ctx[33].isCurrent);
			attr(div0, "class", "dice__players-item-name-wrapper svelte-dhlhbh");
			attr(div1, "class", "dice__players-list-item svelte-dhlhbh");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			if (if_block0) if_block0.m(div0, null);
			append(div0, t0);
			append(div0, p);
			append(p, t1);
			append(div1, t2);
			if (if_block1) if_block1.m(div1, null);
			append(div1, t3);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*players*/ 1) show_if = !(0,lodash.isNil)(MAP_PLAYER_STATUSES_TO_IMAGE[/*player*/ ctx[33].status]);

			if (show_if) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = dice_index_svelte_create_if_block_1(ctx);
					if_block0.c();
					if_block0.m(div0, t0);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty[0] & /*players*/ 1 && t1_value !== (t1_value = /*player*/ ctx[33].name + "")) set_data(t1, t1_value);

			if (dirty[0] & /*players*/ 1) {
				toggle_class(p, "dice__players-item-name--current", /*player*/ ctx[33].isCurrent);
			}

			if (/*player*/ ctx[33].score) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = dice_index_svelte_create_if_block(ctx);
					if_block1.c();
					if_block1.m(div1, t3);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
		}
	};
}

function dice_index_svelte_create_fragment(ctx) {
	let div12;
	let div0;
	let exitbutton;
	let t0;
	let div1;
	let t5;
	let div5;
	let p2;
	let t7;
	let div2;
	let t8;
	let div4;
	let input;
	let t9;
	let div3;
	let t11;
	let div8;
	let p4;
	let t12_value = /*session*/ ctx[2].status + "";
	let t12;
	let t13;
	let show_if_3 = !(0,lodash.isNil)(/*session*/ ctx[2].seconds);
	let t14;
	let t15;
	let div7;
	let div6;
	let show_if_2 = (0,lodash.isNil)(/*session*/ ctx[2].bet) || /*session*/ ctx[2].bet > 0;
	let t16;
	let show_if_1 = (0,lodash.isNil)(/*session*/ ctx[2].bet);
	let t17;
	let show_if = !(0,lodash.isEmpty)(/*session*/ ctx[2].buttonText);
	let t18;
	let div10;
	let p5;
	let t20;
	let div9;
	let t21;
	let div11;
	let actionbutton;
	let current;
	let mounted;
	let dispose;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[9],
				fixedPosition: true
			}
		});

	let each_value_3 = /*messages*/ ctx[3];
	let each_blocks_1 = [];

	for (let i = 0; i < each_value_3.length; i += 1) {
		each_blocks_1[i] = dice_index_svelte_create_each_block_3(dice_index_svelte_get_each_context_3(ctx, each_value_3, i));
	}

	let if_block0 = show_if_3 && dice_index_svelte_create_if_block_9(ctx);
	let if_block1 = /*session*/ ctx[2].cubes && dice_index_svelte_create_if_block_8(ctx);
	let if_block2 = show_if_2 && dice_index_svelte_create_if_block_4(ctx);
	let if_block3 = show_if_1 && dice_index_svelte_create_if_block_3(ctx);
	let if_block4 = show_if && dice_index_svelte_create_if_block_2(ctx);
	let each_value = /*players*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = dice_index_svelte_create_each_block(dice_index_svelte_get_each_context(ctx, each_value, i));
	}

	actionbutton = new index_svelte({
			props: {
				onPress: /*sendChatMessage*/ ctx[10],
				keyTitle: "Enter",
				keyCode: 13,
				postActionTitle: "Отправить",
				size: ActionButtonSize.Regular
			}
		});

	return {
		c() {
			div12 = internal_element("div");
			div0 = internal_element("div");
			create_component(exitbutton.$$.fragment);
			t0 = space();
			div1 = internal_element("div");

			div1.innerHTML = `<p class="dice__title svelte-dhlhbh">Кости</p> 
        <p class="dice__description svelte-dhlhbh">Играйте в кости с другими игроками на любую сумму,
            <br/>
            делайте ставки и выигрывайте.</p>`;

			t5 = space();
			div5 = internal_element("div");
			p2 = internal_element("p");
			p2.textContent = "Чат";
			t7 = space();
			div2 = internal_element("div");

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].c();
			}

			t8 = space();
			div4 = internal_element("div");
			input = internal_element("input");
			t9 = space();
			div3 = internal_element("div");
			div3.innerHTML = `<p class="dice__chat-input-button-key svelte-dhlhbh">&gt;</p>`;
			t11 = space();
			div8 = internal_element("div");
			p4 = internal_element("p");
			t12 = internal_text(t12_value);
			t13 = space();
			if (if_block0) if_block0.c();
			t14 = space();
			if (if_block1) if_block1.c();
			t15 = space();
			div7 = internal_element("div");
			div6 = internal_element("div");
			if (if_block2) if_block2.c();
			t16 = space();
			if (if_block3) if_block3.c();
			t17 = space();
			if (if_block4) if_block4.c();
			t18 = space();
			div10 = internal_element("div");
			p5 = internal_element("p");
			p5.textContent = "Игроки";
			t20 = space();
			div9 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t21 = space();
			div11 = internal_element("div");
			create_component(actionbutton.$$.fragment);
			attr(div0, "class", "dice__exit-button svelte-dhlhbh");
			attr(div1, "class", "dice__title-wrapper svelte-dhlhbh");
			attr(p2, "class", "dice__chat-title svelte-dhlhbh");
			attr(div2, "class", "dice__chat-messages svelte-dhlhbh");
			attr(input, "class", "dice__chat-input svelte-dhlhbh");
			attr(input, "placeholder", "Наберите текст...");
			attr(input, "type", "text");
			attr(div3, "class", "dice__chat-input-button svelte-dhlhbh");
			attr(div4, "class", "dice__chat-input-wrapper svelte-dhlhbh");
			attr(div5, "class", "dice__chat svelte-dhlhbh");
			attr(p4, "class", "dice__session-status svelte-dhlhbh");
			attr(div6, "class", "dice__session-bet svelte-dhlhbh");
			attr(div7, "class", "dice__session-bet-wrapper svelte-dhlhbh");
			attr(div8, "class", "dice__session svelte-dhlhbh");
			attr(p5, "class", "dice__players-title svelte-dhlhbh");
			attr(div9, "class", "dice__players-list");
			attr(div10, "class", "dice__players svelte-dhlhbh");
			attr(div11, "class", "dice__send-message-action-button svelte-dhlhbh");
			attr(div12, "class", "dice svelte-dhlhbh");
		},
		m(target, anchor) {
			insert(target, div12, anchor);
			append(div12, div0);
			mount_component(exitbutton, div0, null);
			append(div12, t0);
			append(div12, div1);
			append(div12, t5);
			append(div12, div5);
			append(div5, p2);
			append(div5, t7);
			append(div5, div2);

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].m(div2, null);
			}

			append(div5, t8);
			append(div5, div4);
			append(div4, input);
			set_input_value(input, /*messageText*/ ctx[1]);
			append(div4, t9);
			append(div4, div3);
			append(div12, t11);
			append(div12, div8);
			append(div8, p4);
			append(p4, t12);
			append(div8, t13);
			if (if_block0) if_block0.m(div8, null);
			append(div8, t14);
			if (if_block1) if_block1.m(div8, null);
			append(div8, t15);
			append(div8, div7);
			append(div7, div6);
			if (if_block2) if_block2.m(div6, null);
			append(div7, t16);
			if (if_block3) if_block3.m(div7, null);
			append(div7, t17);
			if (if_block4) if_block4.m(div7, null);
			append(div12, t18);
			append(div12, div10);
			append(div10, p5);
			append(div10, t20);
			append(div10, div9);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div9, null);
			}

			append(div12, t21);
			append(div12, div11);
			mount_component(actionbutton, div11, null);
			current = true;

			if (!mounted) {
				dispose = [
					listen(input, "input", /*input_input_handler*/ ctx[11]),
					listen(div3, "click", /*sendChatMessage*/ ctx[10])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty[0] & /*messages*/ 8) {
				each_value_3 = /*messages*/ ctx[3];
				let i;

				for (i = 0; i < each_value_3.length; i += 1) {
					const child_ctx = dice_index_svelte_get_each_context_3(ctx, each_value_3, i);

					if (each_blocks_1[i]) {
						each_blocks_1[i].p(child_ctx, dirty);
					} else {
						each_blocks_1[i] = dice_index_svelte_create_each_block_3(child_ctx);
						each_blocks_1[i].c();
						each_blocks_1[i].m(div2, null);
					}
				}

				for (; i < each_blocks_1.length; i += 1) {
					each_blocks_1[i].d(1);
				}

				each_blocks_1.length = each_value_3.length;
			}

			if (dirty[0] & /*messageText*/ 2 && input.value !== /*messageText*/ ctx[1]) {
				set_input_value(input, /*messageText*/ ctx[1]);
			}

			if ((!current || dirty[0] & /*session*/ 4) && t12_value !== (t12_value = /*session*/ ctx[2].status + "")) set_data(t12, t12_value);
			if (dirty[0] & /*session*/ 4) show_if_3 = !(0,lodash.isNil)(/*session*/ ctx[2].seconds);

			if (show_if_3) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = dice_index_svelte_create_if_block_9(ctx);
					if_block0.c();
					if_block0.m(div8, t14);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (/*session*/ ctx[2].cubes) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = dice_index_svelte_create_if_block_8(ctx);
					if_block1.c();
					if_block1.m(div8, t15);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty[0] & /*session*/ 4) show_if_2 = (0,lodash.isNil)(/*session*/ ctx[2].bet) || /*session*/ ctx[2].bet > 0;

			if (show_if_2) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = dice_index_svelte_create_if_block_4(ctx);
					if_block2.c();
					if_block2.m(div6, null);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			if (dirty[0] & /*session*/ 4) show_if_1 = (0,lodash.isNil)(/*session*/ ctx[2].bet);

			if (show_if_1) {
				if (if_block3) {
					if_block3.p(ctx, dirty);
				} else {
					if_block3 = dice_index_svelte_create_if_block_3(ctx);
					if_block3.c();
					if_block3.m(div7, t17);
				}
			} else if (if_block3) {
				if_block3.d(1);
				if_block3 = null;
			}

			if (dirty[0] & /*session*/ 4) show_if = !(0,lodash.isEmpty)(/*session*/ ctx[2].buttonText);

			if (show_if) {
				if (if_block4) {
					if_block4.p(ctx, dirty);
				} else {
					if_block4 = dice_index_svelte_create_if_block_2(ctx);
					if_block4.c();
					if_block4.m(div7, null);
				}
			} else if (if_block4) {
				if_block4.d(1);
				if_block4 = null;
			}

			if (dirty[0] & /*players*/ 1) {
				each_value = /*players*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = dice_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = dice_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div9, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			transition_in(actionbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			transition_out(actionbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div12);
			destroy_component(exitbutton);
			destroy_each(each_blocks_1, detaching);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			if (if_block2) if_block2.d();
			if (if_block3) if_block3.d();
			if (if_block4) if_block4.d();
			destroy_each(each_blocks, detaching);
			destroy_component(actionbutton);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function dice_index_svelte_instance($$self, $$props, $$invalidate) {
	let messageText = '';

	let session = {
		status: '',
		seconds: null,
		bet: null,
		sumBet: null,
		buttonText: '',
		readyBets: [],
		cubes: null
	};

	let messages = [];
	let players = [];
	let betInput = null;
	let randomCubes = null;

	const getRandomValue = () => {
		const random = Math.floor(Math.random() * (MAX_CUBE_VALUE - MIN_CUBE_VALUE) + MIN_CUBE_VALUE);
		return random;
	};

	const updateRandomCube = () => {
		if (randomCubes === null) {
			return;
		}

		$$invalidate(5, randomCubes = [getRandomValue(), getRandomValue()]);
		setTimeout(() => updateRandomCube(), 300);
	};

	const initRandomCube = () => {
		if (randomCubes !== null) {
			return;
		}

		$$invalidate(5, randomCubes = []);
		updateRandomCube();
	};

	const disableRandomCube = () => {
		$$invalidate(5, randomCubes = null);
	};

	const getSessionCube = index => {
		if (session.cubes !== null && session.cubes[index] !== null) {
			disableRandomCube();
			return session.cubes[index];
		}

		initRandomCube();
		return randomCubes[index];
	};

	const setBet = bet => {
		$$invalidate(4, betInput = bet);
	};

	const addMessage = ({ name, text }) => {
		const message = { name, text };
		$$invalidate(3, messages = [message, ...messages]);
	};

	const resetMessage = () => {
		$$invalidate(3, messages = []);
	};

	const addPlayer = player => {
		$$invalidate(0, players = [...players, player]);
	};

	const updatePlayer = player => {
		const playerIndex = players.findIndex(el => el.id === player.id);

		if (playerIndex === -1) {
			return;
		}

		$$invalidate(0, players[playerIndex] = { ...players[playerIndex], ...player }, players);
		$$invalidate(0, players);
	};

	const updateSession = sessionDto => {
		$$invalidate(2, session = { ...session, ...sessionDto });
	};

	const resetPlayers = () => {
		$$invalidate(0, players = []);
	};

	const deletePlayer = id => {
		$$invalidate(0, players = players.filter(play => play.id !== id));
	};

	const submitBet = bet => {
		sendClientMessage('dice.clickButton', bet);
	}; // exec send event

	const handleClose = () => {
		sendClientMessage('dice.Close');
	};

	const sendChatMessage = () => {
		sendClientMessage('dice.sendChatMessage', messageText);
		$$invalidate(1, messageText = '');
	};

	const unregisterAddMessageEvent = registerEvent('event.Dice.addMessage', addMessage);
	const unregisterResetMessageEvent = registerEvent('event.Dice.resetMessage', resetMessage);
	const unregisterUpdateSessionEvent = registerEvent('event.Dice.updateSession', updateSession);
	const unregisterAddPlayerEvent = registerEvent('event.Dice.addPlayer', addPlayer);
	const unregisterUpdatePlayerEvent = registerEvent('event.Dice.updatePlayer', updatePlayer);
	const unregisterResetPlayersEvent = registerEvent('event.Dice.resetPlayers', resetPlayers);
	const unregisterDeletePlayersEvent = registerEvent('event.Dice.deletePlayers', deletePlayer);

	onDestroy(() => {
		unregisterResetMessageEvent();
		unregisterUpdateSessionEvent();
		unregisterAddPlayerEvent();
		unregisterDeletePlayersEvent();
		unregisterAddMessageEvent();
		unregisterResetPlayersEvent();
		unregisterUpdatePlayerEvent();
	});

	function input_input_handler() {
		messageText = this.value;
		$$invalidate(1, messageText);
	}

	const click_handler = bet => setBet(bet);

	function input_input_handler_1() {
		betInput = to_number(this.value);
		$$invalidate(4, betInput);
	}

	const click_handler_1 = () => submitBet(betInput);

	$$self.$$.update = () => {
		if ($$self.$$.dirty[0] & /*players*/ 1) {
			$: {
				$$invalidate(0, players = [...players].sort(a => {
					if (a.status === PLAYER_STATUSES.host) {
						return -1;
					}

					if (a.status === PLAYER_STATUSES.guest) {
						return 1;
					}

					return -1;
				}));
			}
		}
	};

	return [
		players,
		messageText,
		session,
		messages,
		betInput,
		randomCubes,
		getSessionCube,
		setBet,
		submitBet,
		handleClose,
		sendChatMessage,
		input_input_handler,
		click_handler,
		input_input_handler_1,
		click_handler_1
	];
}

class Dice extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, dice_index_svelte_instance, dice_index_svelte_create_fragment, safe_not_equal, {}, dice_index_svelte_add_css, [-1, -1]);
	}
}

/* harmony default export */ const dice_index_svelte = (Dice);
;// CONCATENATED MODULE: ./src/views/tutorial/img/background.png
const tutorial_img_background_namespaceObject = __webpack_require__.p + "assets/214b87f04963915aca54.webp";
;// CONCATENATED MODULE: ./src/views/tutorial/img/mans.png
const mans_namespaceObject = __webpack_require__.p + "assets/f289619b20022ccb8490.webp";
;// CONCATENATED MODULE: ./src/views/tutorial/index.svelte
/* src\views\tutorial\index.svelte generated by Svelte v3.49.0 */









function tutorial_index_svelte_add_css(target) {
	append_styles(target, "svelte-1phwi0r", "@keyframes svelte-1phwi0r-blinking{50%{opacity:0}}@keyframes svelte-1phwi0r-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1phwi0r-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1phwi0r-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1phwi0r-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1phwi0r-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1phwi0r-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1phwi0r-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1phwi0r-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1phwi0r-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1phwi0r-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1phwi0r-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1phwi0r-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1phwi0r-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1phwi0r-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.tutorial-wrapper.svelte-1phwi0r.svelte-1phwi0r{display:flex;align-items:center;justify-content:center;width:100vw;height:100vh}.tutorial.svelte-1phwi0r.svelte-1phwi0r{display:flex;justify-content:center;align-items:center;position:absolute;width:calc(1.0375 * 100vw + 0px);height:calc(0.5635416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.tutorial.svelte-1phwi0r.svelte-1phwi0r{width:calc(1.0375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tutorial.svelte-1phwi0r.svelte-1phwi0r{width:calc(1.0375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tutorial.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.798875 * 100vw + 0px)}}@media(min-width: 3440px){.tutorial.svelte-1phwi0r.svelte-1phwi0r{width:calc(1.14125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tutorial.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.72625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tutorial.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.93375 * 100vw + 0px)}}@media(min-width: 4096px){.tutorial.svelte-1phwi0r.svelte-1phwi0r{width:calc(1.14125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tutorial.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.5635416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tutorial.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.5635416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tutorial.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.4339270833 * 100vw + 0px)}}@media(min-width: 3440px){.tutorial.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.6198958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tutorial.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.3944791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tutorial.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.5071875 * 100vw + 0px)}}@media(min-width: 4096px){.tutorial.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.6198958333 * 100vw + 0px)}}.tutorial__background.svelte-1phwi0r.svelte-1phwi0r{position:absolute;height:100%;border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.tutorial__background.svelte-1phwi0r.svelte-1phwi0r{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tutorial__background.svelte-1phwi0r.svelte-1phwi0r{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tutorial__background.svelte-1phwi0r.svelte-1phwi0r{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.tutorial__background.svelte-1phwi0r.svelte-1phwi0r{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tutorial__background.svelte-1phwi0r.svelte-1phwi0r{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tutorial__background.svelte-1phwi0r.svelte-1phwi0r{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.tutorial__background.svelte-1phwi0r.svelte-1phwi0r{border-radius:calc(0.0057291667 * 100vw + 0px)}}.tutorial__mans.svelte-1phwi0r.svelte-1phwi0r{position:absolute;z-index:1;pointer-events:none;bottom:0;height:calc(0.5744791667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.tutorial__mans.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.5744791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tutorial__mans.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.5744791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tutorial__mans.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.4423489583 * 100vw + 0px)}}@media(min-width: 3440px){.tutorial__mans.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.6319270833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tutorial__mans.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.4021354167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tutorial__mans.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.51703125 * 100vw + 0px)}}@media(min-width: 4096px){.tutorial__mans.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.6319270833 * 100vw + 0px)}}.tutorial__side.svelte-1phwi0r.svelte-1phwi0r{position:absolute;left:calc(0.0942708333 * 100vw + 0px);width:calc(0.1776041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.tutorial__side.svelte-1phwi0r.svelte-1phwi0r{left:calc(0.0942708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tutorial__side.svelte-1phwi0r.svelte-1phwi0r{left:calc(0.0942708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tutorial__side.svelte-1phwi0r.svelte-1phwi0r{left:calc(0.0725885417 * 100vw + 0px)}}@media(min-width: 3440px){.tutorial__side.svelte-1phwi0r.svelte-1phwi0r{left:calc(0.1036979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tutorial__side.svelte-1phwi0r.svelte-1phwi0r{left:calc(0.0659895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tutorial__side.svelte-1phwi0r.svelte-1phwi0r{left:calc(0.08484375 * 100vw + 0px)}}@media(min-width: 4096px){.tutorial__side.svelte-1phwi0r.svelte-1phwi0r{left:calc(0.1036979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tutorial__side.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.1776041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tutorial__side.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.1776041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tutorial__side.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.1367552083 * 100vw + 0px)}}@media(min-width: 3440px){.tutorial__side.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.1953645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tutorial__side.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.1243229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tutorial__side.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.15984375 * 100vw + 0px)}}@media(min-width: 4096px){.tutorial__side.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.1953645833 * 100vw + 0px)}}.tutorial__side--right.svelte-1phwi0r.svelte-1phwi0r{left:calc(0.7036458333 * 100vw + 0px);width:calc(0.240625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.tutorial__side--right.svelte-1phwi0r.svelte-1phwi0r{left:calc(0.7036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tutorial__side--right.svelte-1phwi0r.svelte-1phwi0r{left:calc(0.7036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tutorial__side--right.svelte-1phwi0r.svelte-1phwi0r{left:calc(0.5418072917 * 100vw + 0px)}}@media(min-width: 3440px){.tutorial__side--right.svelte-1phwi0r.svelte-1phwi0r{left:calc(0.7740104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tutorial__side--right.svelte-1phwi0r.svelte-1phwi0r{left:calc(0.4925520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tutorial__side--right.svelte-1phwi0r.svelte-1phwi0r{left:calc(0.63328125 * 100vw + 0px)}}@media(min-width: 4096px){.tutorial__side--right.svelte-1phwi0r.svelte-1phwi0r{left:calc(0.7740104167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tutorial__side--right.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.240625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tutorial__side--right.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.240625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tutorial__side--right.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.18528125 * 100vw + 0px)}}@media(min-width: 3440px){.tutorial__side--right.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.2646875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tutorial__side--right.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.1684375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tutorial__side--right.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.2165625 * 100vw + 0px)}}@media(min-width: 4096px){.tutorial__side--right.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.2646875 * 100vw + 0px)}}.tutorial__side--right.svelte-1phwi0r .tutorial__side-title.svelte-1phwi0r,.tutorial__side--right.svelte-1phwi0r .tutorial__side-description.svelte-1phwi0r{color:#111111}.tutorial__side--right.svelte-1phwi0r .tutorial__side-button.svelte-1phwi0r{background:linear-gradient(90deg, #FF5959 0%, #A41414 88.94%);width:calc(0.2385416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.tutorial__side--right.svelte-1phwi0r .tutorial__side-button.svelte-1phwi0r{width:calc(0.2385416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tutorial__side--right.svelte-1phwi0r .tutorial__side-button.svelte-1phwi0r{width:calc(0.2385416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tutorial__side--right.svelte-1phwi0r .tutorial__side-button.svelte-1phwi0r{width:calc(0.1836770833 * 100vw + 0px)}}@media(min-width: 3440px){.tutorial__side--right.svelte-1phwi0r .tutorial__side-button.svelte-1phwi0r{width:calc(0.2623958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tutorial__side--right.svelte-1phwi0r .tutorial__side-button.svelte-1phwi0r{width:calc(0.1669791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tutorial__side--right.svelte-1phwi0r .tutorial__side-button.svelte-1phwi0r{width:calc(0.2146875 * 100vw + 0px)}}@media(min-width: 4096px){.tutorial__side--right.svelte-1phwi0r .tutorial__side-button.svelte-1phwi0r{width:calc(0.2623958333 * 100vw + 0px)}}.tutorial__side--right.svelte-1phwi0r .tutorial__side-button.svelte-1phwi0r:hover{background:#1B1B1B}.tutorial__side--right.svelte-1phwi0r .tutorial__side-button-title.svelte-1phwi0r{color:#FFFFFF}.tutorial__side-title.svelte-1phwi0r.svelte-1phwi0r{font-family:\"PFDinTextCompPro\";font-weight:500;color:#FFFFFF;font-size:calc(0.0270833333 * 100vw + 0px);height:calc(0.0270833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.tutorial__side-title.svelte-1phwi0r.svelte-1phwi0r{font-size:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tutorial__side-title.svelte-1phwi0r.svelte-1phwi0r{font-size:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tutorial__side-title.svelte-1phwi0r.svelte-1phwi0r{font-size:calc(0.0208541667 * 100vw + 0px)}}@media(min-width: 3440px){.tutorial__side-title.svelte-1phwi0r.svelte-1phwi0r{font-size:calc(0.0297916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tutorial__side-title.svelte-1phwi0r.svelte-1phwi0r{font-size:calc(0.0189583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tutorial__side-title.svelte-1phwi0r.svelte-1phwi0r{font-size:calc(0.024375 * 100vw + 0px)}}@media(min-width: 4096px){.tutorial__side-title.svelte-1phwi0r.svelte-1phwi0r{font-size:calc(0.0297916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tutorial__side-title.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tutorial__side-title.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tutorial__side-title.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.0208541667 * 100vw + 0px)}}@media(min-width: 3440px){.tutorial__side-title.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.0297916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tutorial__side-title.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.0189583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tutorial__side-title.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.024375 * 100vw + 0px)}}@media(min-width: 4096px){.tutorial__side-title.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.0297916667 * 100vw + 0px)}}.tutorial__side-description.svelte-1phwi0r.svelte-1phwi0r{font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.0151041667 * 100vw + 0px);margin-top:calc(0.0151041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.tutorial__side-description.svelte-1phwi0r.svelte-1phwi0r{font-size:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tutorial__side-description.svelte-1phwi0r.svelte-1phwi0r{font-size:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tutorial__side-description.svelte-1phwi0r.svelte-1phwi0r{font-size:calc(0.0116302083 * 100vw + 0px)}}@media(min-width: 3440px){.tutorial__side-description.svelte-1phwi0r.svelte-1phwi0r{font-size:calc(0.0166145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tutorial__side-description.svelte-1phwi0r.svelte-1phwi0r{font-size:calc(0.0105729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tutorial__side-description.svelte-1phwi0r.svelte-1phwi0r{font-size:calc(0.01359375 * 100vw + 0px)}}@media(min-width: 4096px){.tutorial__side-description.svelte-1phwi0r.svelte-1phwi0r{font-size:calc(0.0166145833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tutorial__side-description.svelte-1phwi0r.svelte-1phwi0r{margin-top:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tutorial__side-description.svelte-1phwi0r.svelte-1phwi0r{margin-top:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tutorial__side-description.svelte-1phwi0r.svelte-1phwi0r{margin-top:calc(0.0116302083 * 100vw + 0px)}}@media(min-width: 3440px){.tutorial__side-description.svelte-1phwi0r.svelte-1phwi0r{margin-top:calc(0.0166145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tutorial__side-description.svelte-1phwi0r.svelte-1phwi0r{margin-top:calc(0.0105729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tutorial__side-description.svelte-1phwi0r.svelte-1phwi0r{margin-top:calc(0.01359375 * 100vw + 0px)}}@media(min-width: 4096px){.tutorial__side-description.svelte-1phwi0r.svelte-1phwi0r{margin-top:calc(0.0166145833 * 100vw + 0px)}}.tutorial__side-rewards.svelte-1phwi0r.svelte-1phwi0r{display:flex;gap:calc(0.0234375 * 100vw + 0px);margin-top:calc(0.0151041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.tutorial__side-rewards.svelte-1phwi0r.svelte-1phwi0r{gap:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tutorial__side-rewards.svelte-1phwi0r.svelte-1phwi0r{gap:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tutorial__side-rewards.svelte-1phwi0r.svelte-1phwi0r{gap:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.tutorial__side-rewards.svelte-1phwi0r.svelte-1phwi0r{gap:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tutorial__side-rewards.svelte-1phwi0r.svelte-1phwi0r{gap:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tutorial__side-rewards.svelte-1phwi0r.svelte-1phwi0r{gap:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.tutorial__side-rewards.svelte-1phwi0r.svelte-1phwi0r{gap:calc(0.02578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tutorial__side-rewards.svelte-1phwi0r.svelte-1phwi0r{margin-top:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tutorial__side-rewards.svelte-1phwi0r.svelte-1phwi0r{margin-top:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tutorial__side-rewards.svelte-1phwi0r.svelte-1phwi0r{margin-top:calc(0.0116302083 * 100vw + 0px)}}@media(min-width: 3440px){.tutorial__side-rewards.svelte-1phwi0r.svelte-1phwi0r{margin-top:calc(0.0166145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tutorial__side-rewards.svelte-1phwi0r.svelte-1phwi0r{margin-top:calc(0.0105729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tutorial__side-rewards.svelte-1phwi0r.svelte-1phwi0r{margin-top:calc(0.01359375 * 100vw + 0px)}}@media(min-width: 4096px){.tutorial__side-rewards.svelte-1phwi0r.svelte-1phwi0r{margin-top:calc(0.0166145833 * 100vw + 0px)}}.tutorial__side-reward.svelte-1phwi0r.svelte-1phwi0r{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:#781D1D;box-shadow:0px 0px 10.66px 0px rgba(255, 177, 177, 0.2509803922);border-radius:calc(0.0046875 * 100vw + 0px);width:calc(0.04375 * 100vw + 0px);height:calc(0.04375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.tutorial__side-reward.svelte-1phwi0r.svelte-1phwi0r{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tutorial__side-reward.svelte-1phwi0r.svelte-1phwi0r{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tutorial__side-reward.svelte-1phwi0r.svelte-1phwi0r{border-radius:calc(0.003609375 * 100vw + 0px)}}@media(min-width: 3440px){.tutorial__side-reward.svelte-1phwi0r.svelte-1phwi0r{border-radius:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tutorial__side-reward.svelte-1phwi0r.svelte-1phwi0r{border-radius:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tutorial__side-reward.svelte-1phwi0r.svelte-1phwi0r{border-radius:calc(0.00421875 * 100vw + 0px)}}@media(min-width: 4096px){.tutorial__side-reward.svelte-1phwi0r.svelte-1phwi0r{border-radius:calc(0.00515625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tutorial__side-reward.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.04375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tutorial__side-reward.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.04375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tutorial__side-reward.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.0336875 * 100vw + 0px)}}@media(min-width: 3440px){.tutorial__side-reward.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tutorial__side-reward.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.030625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tutorial__side-reward.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.039375 * 100vw + 0px)}}@media(min-width: 4096px){.tutorial__side-reward.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.048125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tutorial__side-reward.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.04375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tutorial__side-reward.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.04375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tutorial__side-reward.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.0336875 * 100vw + 0px)}}@media(min-width: 3440px){.tutorial__side-reward.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tutorial__side-reward.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.030625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tutorial__side-reward.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.039375 * 100vw + 0px)}}@media(min-width: 4096px){.tutorial__side-reward.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.048125 * 100vw + 0px)}}.tutorial__side-reward.svelte-1phwi0r:hover .tutorial__side-reward-tooltip.svelte-1phwi0r{display:flex;flex-direction:column;justify-content:center}.tutorial__side-reward-img.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.04375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.tutorial__side-reward-img.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.04375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tutorial__side-reward-img.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.04375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tutorial__side-reward-img.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.0336875 * 100vw + 0px)}}@media(min-width: 3440px){.tutorial__side-reward-img.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tutorial__side-reward-img.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.030625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tutorial__side-reward-img.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.039375 * 100vw + 0px)}}@media(min-width: 4096px){.tutorial__side-reward-img.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.048125 * 100vw + 0px)}}.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{position:absolute;display:none;background-color:#1B1B1B;border-radius:calc(0.0041666667 * 100vw + 0px);padding-left:calc(0.0078125 * 100vw + 0px);top:calc(0.0546875 * 100vw + 0px);width:calc(0.1421875 * 100vw + 0px);height:calc(0.0385416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{padding-left:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{padding-left:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{padding-left:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{padding-left:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{padding-left:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{padding-left:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{padding-left:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{top:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{top:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{top:calc(0.042109375 * 100vw + 0px)}}@media(min-width: 3440px){.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{top:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{top:calc(0.03828125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{top:calc(0.04921875 * 100vw + 0px)}}@media(min-width: 4096px){.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{top:calc(0.06015625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.1421875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.1421875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.109484375 * 100vw + 0px)}}@media(min-width: 3440px){.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.15640625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.09953125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.12796875 * 100vw + 0px)}}@media(min-width: 4096px){.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.15640625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.0385416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.0385416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.0296770833 * 100vw + 0px)}}@media(min-width: 3440px){.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.0423958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.0269791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.0346875 * 100vw + 0px)}}@media(min-width: 4096px){.tutorial__side-reward-tooltip.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.0423958333 * 100vw + 0px)}}.tutorial__side-reward-tooltip-triangle.svelte-1phwi0r.svelte-1phwi0r{position:absolute;width:0;height:0;border-left:20px solid transparent;border-right:20px solid transparent;z-index:-1;border-bottom:30px solid #1B1B1B;left:calc(0.0598958333 * 100vw + 0px);top:calc(-0.0067708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.tutorial__side-reward-tooltip-triangle.svelte-1phwi0r.svelte-1phwi0r{left:calc(0.0598958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tutorial__side-reward-tooltip-triangle.svelte-1phwi0r.svelte-1phwi0r{left:calc(0.0598958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tutorial__side-reward-tooltip-triangle.svelte-1phwi0r.svelte-1phwi0r{left:calc(0.0461197917 * 100vw + 0px)}}@media(min-width: 3440px){.tutorial__side-reward-tooltip-triangle.svelte-1phwi0r.svelte-1phwi0r{left:calc(0.0658854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tutorial__side-reward-tooltip-triangle.svelte-1phwi0r.svelte-1phwi0r{left:calc(0.0419270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tutorial__side-reward-tooltip-triangle.svelte-1phwi0r.svelte-1phwi0r{left:calc(0.05390625 * 100vw + 0px)}}@media(min-width: 4096px){.tutorial__side-reward-tooltip-triangle.svelte-1phwi0r.svelte-1phwi0r{left:calc(0.0658854167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tutorial__side-reward-tooltip-triangle.svelte-1phwi0r.svelte-1phwi0r{top:calc(-0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tutorial__side-reward-tooltip-triangle.svelte-1phwi0r.svelte-1phwi0r{top:calc(-0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tutorial__side-reward-tooltip-triangle.svelte-1phwi0r.svelte-1phwi0r{top:calc(-0.0052135417 * 100vw + 0px)}}@media(min-width: 3440px){.tutorial__side-reward-tooltip-triangle.svelte-1phwi0r.svelte-1phwi0r{top:calc(-0.0074479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tutorial__side-reward-tooltip-triangle.svelte-1phwi0r.svelte-1phwi0r{top:calc(-0.0047395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tutorial__side-reward-tooltip-triangle.svelte-1phwi0r.svelte-1phwi0r{top:calc(-0.00609375 * 100vw + 0px)}}@media(min-width: 4096px){.tutorial__side-reward-tooltip-triangle.svelte-1phwi0r.svelte-1phwi0r{top:calc(-0.0074479167 * 100vw + 0px)}}.tutorial__side-reward-tooltip-title.svelte-1phwi0r.svelte-1phwi0r{font-family:\"DINPro-Medium\";color:#FFFFFF;text-transform:uppercase;font-size:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.tutorial__side-reward-tooltip-title.svelte-1phwi0r.svelte-1phwi0r{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tutorial__side-reward-tooltip-title.svelte-1phwi0r.svelte-1phwi0r{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tutorial__side-reward-tooltip-title.svelte-1phwi0r.svelte-1phwi0r{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.tutorial__side-reward-tooltip-title.svelte-1phwi0r.svelte-1phwi0r{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tutorial__side-reward-tooltip-title.svelte-1phwi0r.svelte-1phwi0r{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tutorial__side-reward-tooltip-title.svelte-1phwi0r.svelte-1phwi0r{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.tutorial__side-reward-tooltip-title.svelte-1phwi0r.svelte-1phwi0r{font-size:calc(0.00859375 * 100vw + 0px)}}.tutorial__side-reward-tooltip-description.svelte-1phwi0r.svelte-1phwi0r{font-family:PFDinDisplayProRegular;color:#FFFFFF;text-transform:uppercase;font-size:calc(0.0067708333 * 100vw + 0px);margin-top:calc(0.0057291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.tutorial__side-reward-tooltip-description.svelte-1phwi0r.svelte-1phwi0r{font-size:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tutorial__side-reward-tooltip-description.svelte-1phwi0r.svelte-1phwi0r{font-size:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tutorial__side-reward-tooltip-description.svelte-1phwi0r.svelte-1phwi0r{font-size:calc(0.0052135417 * 100vw + 0px)}}@media(min-width: 3440px){.tutorial__side-reward-tooltip-description.svelte-1phwi0r.svelte-1phwi0r{font-size:calc(0.0074479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tutorial__side-reward-tooltip-description.svelte-1phwi0r.svelte-1phwi0r{font-size:calc(0.0047395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tutorial__side-reward-tooltip-description.svelte-1phwi0r.svelte-1phwi0r{font-size:calc(0.00609375 * 100vw + 0px)}}@media(min-width: 4096px){.tutorial__side-reward-tooltip-description.svelte-1phwi0r.svelte-1phwi0r{font-size:calc(0.0074479167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tutorial__side-reward-tooltip-description.svelte-1phwi0r.svelte-1phwi0r{margin-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tutorial__side-reward-tooltip-description.svelte-1phwi0r.svelte-1phwi0r{margin-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tutorial__side-reward-tooltip-description.svelte-1phwi0r.svelte-1phwi0r{margin-top:calc(0.0044114583 * 100vw + 0px)}}@media(min-width: 3440px){.tutorial__side-reward-tooltip-description.svelte-1phwi0r.svelte-1phwi0r{margin-top:calc(0.0063020833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tutorial__side-reward-tooltip-description.svelte-1phwi0r.svelte-1phwi0r{margin-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tutorial__side-reward-tooltip-description.svelte-1phwi0r.svelte-1phwi0r{margin-top:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 4096px){.tutorial__side-reward-tooltip-description.svelte-1phwi0r.svelte-1phwi0r{margin-top:calc(0.0063020833 * 100vw + 0px)}}.tutorial__side-button.svelte-1phwi0r.svelte-1phwi0r{display:flex;align-items:center;justify-content:center;background:#FFFFFF;cursor:pointer;transition:background 0.2s linear;border-radius:calc(0.0046875 * 100vw + 0px);margin-top:calc(0.0229166667 * 100vw + 0px);width:calc(0.1770833333 * 100vw + 0px);height:calc(0.040625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.tutorial__side-button.svelte-1phwi0r.svelte-1phwi0r{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tutorial__side-button.svelte-1phwi0r.svelte-1phwi0r{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tutorial__side-button.svelte-1phwi0r.svelte-1phwi0r{border-radius:calc(0.003609375 * 100vw + 0px)}}@media(min-width: 3440px){.tutorial__side-button.svelte-1phwi0r.svelte-1phwi0r{border-radius:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tutorial__side-button.svelte-1phwi0r.svelte-1phwi0r{border-radius:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tutorial__side-button.svelte-1phwi0r.svelte-1phwi0r{border-radius:calc(0.00421875 * 100vw + 0px)}}@media(min-width: 4096px){.tutorial__side-button.svelte-1phwi0r.svelte-1phwi0r{border-radius:calc(0.00515625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tutorial__side-button.svelte-1phwi0r.svelte-1phwi0r{margin-top:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tutorial__side-button.svelte-1phwi0r.svelte-1phwi0r{margin-top:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tutorial__side-button.svelte-1phwi0r.svelte-1phwi0r{margin-top:calc(0.0176458333 * 100vw + 0px)}}@media(min-width: 3440px){.tutorial__side-button.svelte-1phwi0r.svelte-1phwi0r{margin-top:calc(0.0252083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tutorial__side-button.svelte-1phwi0r.svelte-1phwi0r{margin-top:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tutorial__side-button.svelte-1phwi0r.svelte-1phwi0r{margin-top:calc(0.020625 * 100vw + 0px)}}@media(min-width: 4096px){.tutorial__side-button.svelte-1phwi0r.svelte-1phwi0r{margin-top:calc(0.0252083333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tutorial__side-button.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.1770833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tutorial__side-button.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.1770833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tutorial__side-button.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.1363541667 * 100vw + 0px)}}@media(min-width: 3440px){.tutorial__side-button.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.1947916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tutorial__side-button.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.1239583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tutorial__side-button.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.159375 * 100vw + 0px)}}@media(min-width: 4096px){.tutorial__side-button.svelte-1phwi0r.svelte-1phwi0r{width:calc(0.1947916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tutorial__side-button.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.040625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tutorial__side-button.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.040625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tutorial__side-button.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.03128125 * 100vw + 0px)}}@media(min-width: 3440px){.tutorial__side-button.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.0446875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tutorial__side-button.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.0284375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tutorial__side-button.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.0365625 * 100vw + 0px)}}@media(min-width: 4096px){.tutorial__side-button.svelte-1phwi0r.svelte-1phwi0r{height:calc(0.0446875 * 100vw + 0px)}}.tutorial__side-button.svelte-1phwi0r.svelte-1phwi0r:hover{background-color:#FFD600}.tutorial__side-button-title.svelte-1phwi0r.svelte-1phwi0r{font-family:PFDinDisplayProRegular;font-weight:400;color:#111111;font-size:calc(0.0151041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.tutorial__side-button-title.svelte-1phwi0r.svelte-1phwi0r{font-size:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tutorial__side-button-title.svelte-1phwi0r.svelte-1phwi0r{font-size:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tutorial__side-button-title.svelte-1phwi0r.svelte-1phwi0r{font-size:calc(0.0116302083 * 100vw + 0px)}}@media(min-width: 3440px){.tutorial__side-button-title.svelte-1phwi0r.svelte-1phwi0r{font-size:calc(0.0166145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tutorial__side-button-title.svelte-1phwi0r.svelte-1phwi0r{font-size:calc(0.0105729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tutorial__side-button-title.svelte-1phwi0r.svelte-1phwi0r{font-size:calc(0.01359375 * 100vw + 0px)}}@media(min-width: 4096px){.tutorial__side-button-title.svelte-1phwi0r.svelte-1phwi0r{font-size:calc(0.0166145833 * 100vw + 0px)}}");
}

function tutorial_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[5] = list[i];
	return child_ctx;
}

// (1547:16) {#each rewards as reward}
function tutorial_index_svelte_create_each_block(ctx) {
	let div2;
	let img;
	let img_src_value;
	let t0;
	let div1;
	let div0;
	let t1;
	let p0;
	let t2_value = /*reward*/ ctx[5].title + "";
	let t2;
	let t3;
	let p1;
	let t4_value = /*reward*/ ctx[5].description + "";
	let t4;
	let t5;

	return {
		c() {
			div2 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div1 = internal_element("div");
			div0 = internal_element("div");
			t1 = space();
			p0 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = space();
			p1 = internal_element("p");
			t4 = internal_text(t4_value);
			t5 = space();
			attr(img, "class", "tutorial__side-reward-img svelte-1phwi0r");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*reward*/ ctx[5].img}`)) attr(img, "src", img_src_value);
			attr(img, "alt", "reward");
			attr(div0, "class", "tutorial__side-reward-tooltip-triangle svelte-1phwi0r");
			attr(p0, "class", "tutorial__side-reward-tooltip-title svelte-1phwi0r");
			attr(p1, "class", "tutorial__side-reward-tooltip-description svelte-1phwi0r");
			attr(div1, "class", "tutorial__side-reward-tooltip svelte-1phwi0r");
			attr(div2, "class", "tutorial__side-reward svelte-1phwi0r");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, img);
			append(div2, t0);
			append(div2, div1);
			append(div1, div0);
			append(div1, t1);
			append(div1, p0);
			append(p0, t2);
			append(div1, t3);
			append(div1, p1);
			append(p1, t4);
			append(div2, t5);
		},
		p(ctx, dirty) {
			if (dirty & /*rewards*/ 1 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*reward*/ ctx[5].img}`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*rewards*/ 1 && t2_value !== (t2_value = /*reward*/ ctx[5].title + "")) set_data(t2, t2_value);
			if (dirty & /*rewards*/ 1 && t4_value !== (t4_value = /*reward*/ ctx[5].description + "")) set_data(t4, t4_value);
		},
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

function tutorial_index_svelte_create_fragment(ctx) {
	let div6;
	let div5;
	let img0;
	let img0_src_value;
	let t0;
	let img1;
	let img1_src_value;
	let t1;
	let div2;
	let p0;
	let t3;
	let p1;
	let t5;
	let div0;
	let t6;
	let div1;
	let t8;
	let div4;
	let p3;
	let t10;
	let p4;
	let t12;
	let div3;
	let mounted;
	let dispose;
	let each_value = /*rewards*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = tutorial_index_svelte_create_each_block(tutorial_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div6 = internal_element("div");
			div5 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			img1 = internal_element("img");
			t1 = space();
			div2 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Я - новичок !";
			t3 = space();
			p1 = internal_element("p");
			p1.textContent = "Хочу пройти обучение по игре и получить дополнительные бонусы:";
			t5 = space();
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t6 = space();
			div1 = internal_element("div");
			div1.innerHTML = `<p class="tutorial__side-button-title svelte-1phwi0r">Пройти обучение</p>`;
			t8 = space();
			div4 = internal_element("div");
			p3 = internal_element("p");
			p3.textContent = "Я - опытный игрок !";
			t10 = space();
			p4 = internal_element("p");
			p4.textContent = "Мне не нужно проходить обучение, я уже знаком с основами игры";
			t12 = space();
			div3 = internal_element("div");
			div3.innerHTML = `<p class="tutorial__side-button-title svelte-1phwi0r">Отказаться от обучения</p>`;
			attr(img0, "class", "tutorial__background svelte-1phwi0r");
			if (!src_url_equal(img0.src, img0_src_value = tutorial_img_background_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "background");
			attr(img1, "class", "tutorial__mans svelte-1phwi0r");
			if (!src_url_equal(img1.src, img1_src_value = mans_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "mans");
			attr(p0, "class", "tutorial__side-title svelte-1phwi0r");
			attr(p1, "class", "tutorial__side-description svelte-1phwi0r");
			attr(div0, "class", "tutorial__side-rewards svelte-1phwi0r");
			attr(div1, "class", "tutorial__side-button svelte-1phwi0r");
			attr(div2, "class", "tutorial__side svelte-1phwi0r");
			attr(p3, "class", "tutorial__side-title svelte-1phwi0r");
			attr(p4, "class", "tutorial__side-description svelte-1phwi0r");
			attr(div3, "class", "tutorial__side-button svelte-1phwi0r");
			attr(div4, "class", "tutorial__side tutorial__side--right svelte-1phwi0r");
			attr(div5, "class", "tutorial svelte-1phwi0r");
			attr(div6, "class", "tutorial-wrapper svelte-1phwi0r");
		},
		m(target, anchor) {
			insert(target, div6, anchor);
			append(div6, div5);
			append(div5, img0);
			append(div5, t0);
			append(div5, img1);
			append(div5, t1);
			append(div5, div2);
			append(div2, p0);
			append(div2, t3);
			append(div2, p1);
			append(div2, t5);
			append(div2, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			append(div2, t6);
			append(div2, div1);
			append(div5, t8);
			append(div5, div4);
			append(div4, p3);
			append(div4, t10);
			append(div4, p4);
			append(div4, t12);
			append(div4, div3);

			if (!mounted) {
				dispose = [
					listen(div1, "click", /*startTutorial*/ ctx[1]),
					listen(div3, "click", /*cancelTutorial*/ ctx[2])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*rewards, CDN_URL_RODINA*/ 1) {
				each_value = /*rewards*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = tutorial_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = tutorial_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div0, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div6);
			destroy_each(each_blocks, detaching);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function tutorial_index_svelte_instance($$self, $$props, $$invalidate) {
	let rewards = [];

	const initializeRewards = rewardsDto => {
		$$invalidate(0, rewards = rewardsDto);
	};

	const startTutorial = () => {
		sendClientMessage('tutorial.start');
	};

	const cancelTutorial = () => {
		sendClientMessage('tutorial.cancel');
	};

	const unregisterInitializeRewardsEvent = registerEvent('event.tutorial.initialize', initializeRewards);

	onDestroy(() => {
		unregisterInitializeRewardsEvent();
	});

	return [rewards, startTutorial, cancelTutorial];
}

class Tutorial extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, tutorial_index_svelte_instance, tutorial_index_svelte_create_fragment, safe_not_equal, {}, tutorial_index_svelte_add_css);
	}
}

/* harmony default export */ const tutorial_index_svelte = (Tutorial);
;// CONCATENATED MODULE: ./src/views/train-job/img/logo.svg
const train_job_img_logo_namespaceObject = __webpack_require__.p + "assets/f3879202e646d24e3c69.svg";
;// CONCATENATED MODULE: ./src/views/train-job/main/img/machinist-img.png
const machinist_img_namespaceObject = __webpack_require__.p + "assets/a8e441a3c33049eae3f7.webp";
;// CONCATENATED MODULE: ./src/views/train-job/main/img/train-img.png
const train_img_namespaceObject = __webpack_require__.p + "assets/78bd2ecdf5b5c0f9f428.webp";
;// CONCATENATED MODULE: ./src/views/train-job/main/index.svelte
/* src\views\train-job\main\index.svelte generated by Svelte v3.49.0 */










function train_job_main_index_svelte_add_css(target) {
	append_styles(target, "svelte-1feh1li", "@keyframes svelte-1feh1li-blinking{50%{opacity:0}}@keyframes svelte-1feh1li-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1feh1li-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1feh1li-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1feh1li-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1feh1li-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1feh1li-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1feh1li-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1feh1li-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1feh1li-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1feh1li-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1feh1li-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1feh1li-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1feh1li-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1feh1li-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.train-job-main.svelte-1feh1li.svelte-1feh1li{position:relative;display:flex;align-items:center;justify-content:center;width:100vw;height:100vh;background:linear-gradient(0deg, rgba(22, 25, 29, 0.9), rgba(22, 25, 29, 0.9)), radial-gradient(50% 50% at 50% 50%, rgba(22, 25, 29, 0) 0%, #16191D 100%)}.train-job-main.svelte-1feh1li.svelte-1feh1li::after{content:\"\";position:absolute;pointer-events:none;background:linear-gradient(24.56deg, #16191D 24.72%, rgba(22, 25, 29, 0) 56.29%);left:0;bottom:0;width:100%;height:100%}.train-job-main__logo.svelte-1feh1li.svelte-1feh1li{z-index:3;position:absolute;display:flex;align-items:center;justify-content:center;gap:calc(0.0130208333 * 100vw + 0px);top:calc(0.0260416667 * 100vw + 0px);left:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__logo.svelte-1feh1li.svelte-1feh1li{gap:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__logo.svelte-1feh1li.svelte-1feh1li{gap:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__logo.svelte-1feh1li.svelte-1feh1li{gap:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__logo.svelte-1feh1li.svelte-1feh1li{gap:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__logo.svelte-1feh1li.svelte-1feh1li{gap:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__logo.svelte-1feh1li.svelte-1feh1li{gap:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__logo.svelte-1feh1li.svelte-1feh1li{gap:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__logo.svelte-1feh1li.svelte-1feh1li{top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__logo.svelte-1feh1li.svelte-1feh1li{top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__logo.svelte-1feh1li.svelte-1feh1li{top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__logo.svelte-1feh1li.svelte-1feh1li{top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__logo.svelte-1feh1li.svelte-1feh1li{top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__logo.svelte-1feh1li.svelte-1feh1li{top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__logo.svelte-1feh1li.svelte-1feh1li{top:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__logo.svelte-1feh1li.svelte-1feh1li{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__logo.svelte-1feh1li.svelte-1feh1li{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__logo.svelte-1feh1li.svelte-1feh1li{left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__logo.svelte-1feh1li.svelte-1feh1li{left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__logo.svelte-1feh1li.svelte-1feh1li{left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__logo.svelte-1feh1li.svelte-1feh1li{left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__logo.svelte-1feh1li.svelte-1feh1li{left:calc(0.0286458333 * 100vw + 0px)}}.train-job-main__logo-img.svelte-1feh1li.svelte-1feh1li{height:calc(0.0427083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__logo-img.svelte-1feh1li.svelte-1feh1li{height:calc(0.0427083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__logo-img.svelte-1feh1li.svelte-1feh1li{height:calc(0.0427083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__logo-img.svelte-1feh1li.svelte-1feh1li{height:calc(0.0328854167 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__logo-img.svelte-1feh1li.svelte-1feh1li{height:calc(0.0469791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__logo-img.svelte-1feh1li.svelte-1feh1li{height:calc(0.0298958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__logo-img.svelte-1feh1li.svelte-1feh1li{height:calc(0.0384375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__logo-img.svelte-1feh1li.svelte-1feh1li{height:calc(0.0469791667 * 100vw + 0px)}}.train-job-main__logo-title.svelte-1feh1li.svelte-1feh1li{font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__logo-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__logo-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__logo-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__logo-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__logo-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__logo-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__logo-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.01375 * 100vw + 0px)}}.train-job-main__machinist.svelte-1feh1li.svelte-1feh1li{position:absolute;left:0;bottom:0;height:calc(0.5729166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__machinist.svelte-1feh1li.svelte-1feh1li{height:calc(0.5729166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__machinist.svelte-1feh1li.svelte-1feh1li{height:calc(0.5729166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__machinist.svelte-1feh1li.svelte-1feh1li{height:calc(0.4411458333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__machinist.svelte-1feh1li.svelte-1feh1li{height:calc(0.6302083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__machinist.svelte-1feh1li.svelte-1feh1li{height:calc(0.4010416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__machinist.svelte-1feh1li.svelte-1feh1li{height:calc(0.515625 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__machinist.svelte-1feh1li.svelte-1feh1li{height:calc(0.6302083333 * 100vw + 0px)}}.train-job-main__train.svelte-1feh1li.svelte-1feh1li{position:absolute;right:0;height:calc(0.5208333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__train.svelte-1feh1li.svelte-1feh1li{height:calc(0.5208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__train.svelte-1feh1li.svelte-1feh1li{height:calc(0.5208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__train.svelte-1feh1li.svelte-1feh1li{height:calc(0.4010416667 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__train.svelte-1feh1li.svelte-1feh1li{height:calc(0.5729166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__train.svelte-1feh1li.svelte-1feh1li{height:calc(0.3645833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__train.svelte-1feh1li.svelte-1feh1li{height:calc(0.46875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__train.svelte-1feh1li.svelte-1feh1li{height:calc(0.5729166667 * 100vw + 0px)}}.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{position:absolute;display:flex;align-items:center;justify-content:center;background-color:#FFFFFF;cursor:pointer;transition:background-color 0.2s linear;border-radius:calc(0.0520833333 * 100vw + 0px);gap:calc(0.0260416667 * 100vw + 0px);top:calc(0.2557291667 * 100vw + 0px);right:calc(0.0536458333 * 100vw + 0px);width:calc(0.1989583333 * 100vw + 0px);height:calc(0.0520833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{gap:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{gap:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{gap:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{gap:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{gap:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{gap:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{gap:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{top:calc(0.2557291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{top:calc(0.2557291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{top:calc(0.1969114583 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{top:calc(0.2813020833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{top:calc(0.1790104167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{top:calc(0.23015625 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{top:calc(0.2813020833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{right:calc(0.0536458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{right:calc(0.0536458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{right:calc(0.0413072917 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{right:calc(0.0590104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{right:calc(0.0375520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{right:calc(0.04828125 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{right:calc(0.0590104167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{width:calc(0.1989583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{width:calc(0.1989583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{width:calc(0.1531979167 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{width:calc(0.2188541667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{width:calc(0.1392708333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{width:calc(0.1790625 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{width:calc(0.2188541667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{height:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li{height:calc(0.0572916667 * 100vw + 0px)}}.train-job-main__quests-button.svelte-1feh1li.svelte-1feh1li:hover{background-color:rgba(255, 255, 255, 0.5)}.train-job-main__quests-button-title.svelte-1feh1li.svelte-1feh1li{font-family:PFDinDisplayProRegular;color:#16191D;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__quests-button-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__quests-button-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__quests-button-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__quests-button-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__quests-button-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__quests-button-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__quests-button-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.01375 * 100vw + 0px)}}.train-job-main__quests-button-icon.svelte-1feh1li.svelte-1feh1li{color:#16191D;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__quests-button-icon.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__quests-button-icon.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__quests-button-icon.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__quests-button-icon.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__quests-button-icon.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__quests-button-icon.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__quests-button-icon.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.01375 * 100vw + 0px)}}.train-job-main__info.svelte-1feh1li.svelte-1feh1li{z-index:3;position:absolute;left:calc(0.0260416667 * 100vw + 0px);bottom:calc(0.03125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__info.svelte-1feh1li.svelte-1feh1li{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__info.svelte-1feh1li.svelte-1feh1li{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__info.svelte-1feh1li.svelte-1feh1li{left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__info.svelte-1feh1li.svelte-1feh1li{left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__info.svelte-1feh1li.svelte-1feh1li{left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__info.svelte-1feh1li.svelte-1feh1li{left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__info.svelte-1feh1li.svelte-1feh1li{left:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__info.svelte-1feh1li.svelte-1feh1li{bottom:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__info.svelte-1feh1li.svelte-1feh1li{bottom:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__info.svelte-1feh1li.svelte-1feh1li{bottom:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__info.svelte-1feh1li.svelte-1feh1li{bottom:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__info.svelte-1feh1li.svelte-1feh1li{bottom:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__info.svelte-1feh1li.svelte-1feh1li{bottom:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__info.svelte-1feh1li.svelte-1feh1li{bottom:calc(0.034375 * 100vw + 0px)}}.train-job-main__info-title.svelte-1feh1li.svelte-1feh1li{font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.0286458333 * 100vw + 0px);margin-bottom:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__info-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__info-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__info-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0220572917 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__info-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0315104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__info-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__info-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__info-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0315104167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__info-title.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__info-title.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__info-title.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__info-title.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__info-title.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__info-title.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__info-title.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}.train-job-main__info-lvl.svelte-1feh1li.svelte-1feh1li{display:flex;align-items:center}.train-job-main__info-lvl-icon.svelte-1feh1li.svelte-1feh1li{color:#F39639;font-size:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__info-lvl-icon.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__info-lvl-icon.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__info-lvl-icon.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__info-lvl-icon.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__info-lvl-icon.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__info-lvl-icon.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__info-lvl-icon.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0171875 * 100vw + 0px)}}.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{display:flex;align-items:center;justify-content:center;font-family:PFDinDisplayProRegular;color:#FFFFFF;background-color:rgba(0, 0, 0, 0.3);border:2px solid rgba(255, 255, 255, 0.2);border-radius:calc(0.0166666667 * 100vw + 0px);font-size:calc(0.0125 * 100vw + 0px);margin-left:calc(0.0104166667 * 100vw + 0px);margin-right:calc(0.0046875 * 100vw + 0px);width:calc(0.0317708333 * 100vw + 0px);height:calc(0.0192708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{margin-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{margin-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{margin-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{margin-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{margin-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{margin-right:calc(0.003609375 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{margin-right:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{margin-right:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{margin-right:calc(0.00421875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{margin-right:calc(0.00515625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{width:calc(0.0317708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{width:calc(0.0317708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{width:calc(0.0244635417 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{width:calc(0.0349479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{width:calc(0.0222395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{width:calc(0.02859375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{width:calc(0.0349479167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{height:calc(0.0192708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{height:calc(0.0192708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{height:calc(0.0148385417 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{height:calc(0.0211979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{height:calc(0.0134895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{height:calc(0.01734375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__info-lvl-value.svelte-1feh1li.svelte-1feh1li{height:calc(0.0211979167 * 100vw + 0px)}}.train-job-main__info-lvl-title.svelte-1feh1li.svelte-1feh1li{font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__info-lvl-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__info-lvl-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__info-lvl-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__info-lvl-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__info-lvl-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__info-lvl-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__info-lvl-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0103125 * 100vw + 0px)}}.train-job-main__info-lvl-title--dark.svelte-1feh1li.svelte-1feh1li{color:rgba(255, 255, 255, 0.5)}.train-job-main__info-stats.svelte-1feh1li.svelte-1feh1li{font-family:PFDinDisplayProRegular;color:#6C757D;font-size:calc(0.0145833333 * 100vw + 0px);margin-top:calc(0.0390625 * 100vw + 0px);margin-bottom:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__info-stats.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__info-stats.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__info-stats.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__info-stats.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__info-stats.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__info-stats.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__info-stats.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__info-stats.svelte-1feh1li.svelte-1feh1li{margin-top:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__info-stats.svelte-1feh1li.svelte-1feh1li{margin-top:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__info-stats.svelte-1feh1li.svelte-1feh1li{margin-top:calc(0.030078125 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__info-stats.svelte-1feh1li.svelte-1feh1li{margin-top:calc(0.04296875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__info-stats.svelte-1feh1li.svelte-1feh1li{margin-top:calc(0.02734375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__info-stats.svelte-1feh1li.svelte-1feh1li{margin-top:calc(0.03515625 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__info-stats.svelte-1feh1li.svelte-1feh1li{margin-top:calc(0.04296875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__info-stats.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__info-stats.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__info-stats.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__info-stats.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__info-stats.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__info-stats.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__info-stats.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}.train-job-main__info-stats-list.svelte-1feh1li.svelte-1feh1li{display:flex;align-items:center;flex-wrap:wrap;gap:calc(0.0260416667 * 100vw + 0px);width:calc(0.234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__info-stats-list.svelte-1feh1li.svelte-1feh1li{gap:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__info-stats-list.svelte-1feh1li.svelte-1feh1li{gap:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__info-stats-list.svelte-1feh1li.svelte-1feh1li{gap:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__info-stats-list.svelte-1feh1li.svelte-1feh1li{gap:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__info-stats-list.svelte-1feh1li.svelte-1feh1li{gap:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__info-stats-list.svelte-1feh1li.svelte-1feh1li{gap:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__info-stats-list.svelte-1feh1li.svelte-1feh1li{gap:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__info-stats-list.svelte-1feh1li.svelte-1feh1li{width:calc(0.234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__info-stats-list.svelte-1feh1li.svelte-1feh1li{width:calc(0.234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__info-stats-list.svelte-1feh1li.svelte-1feh1li{width:calc(0.18046875 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__info-stats-list.svelte-1feh1li.svelte-1feh1li{width:calc(0.2578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__info-stats-list.svelte-1feh1li.svelte-1feh1li{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__info-stats-list.svelte-1feh1li.svelte-1feh1li{width:calc(0.2109375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__info-stats-list.svelte-1feh1li.svelte-1feh1li{width:calc(0.2578125 * 100vw + 0px)}}.train-job-main__info-stats-item.svelte-1feh1li.svelte-1feh1li{min-width:calc(0.1041666667 * 100vw + 0px);height:calc(0.0255208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__info-stats-item.svelte-1feh1li.svelte-1feh1li{min-width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__info-stats-item.svelte-1feh1li.svelte-1feh1li{min-width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__info-stats-item.svelte-1feh1li.svelte-1feh1li{min-width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__info-stats-item.svelte-1feh1li.svelte-1feh1li{min-width:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__info-stats-item.svelte-1feh1li.svelte-1feh1li{min-width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__info-stats-item.svelte-1feh1li.svelte-1feh1li{min-width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__info-stats-item.svelte-1feh1li.svelte-1feh1li{min-width:calc(0.1145833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__info-stats-item.svelte-1feh1li.svelte-1feh1li{height:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__info-stats-item.svelte-1feh1li.svelte-1feh1li{height:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__info-stats-item.svelte-1feh1li.svelte-1feh1li{height:calc(0.0196510417 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__info-stats-item.svelte-1feh1li.svelte-1feh1li{height:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__info-stats-item.svelte-1feh1li.svelte-1feh1li{height:calc(0.0178645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__info-stats-item.svelte-1feh1li.svelte-1feh1li{height:calc(0.02296875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__info-stats-item.svelte-1feh1li.svelte-1feh1li{height:calc(0.0280729167 * 100vw + 0px)}}.train-job-main__info-stats-item-value.svelte-1feh1li.svelte-1feh1li{font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.0166666667 * 100vw + 0px);margin-bottom:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__info-stats-item-value.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__info-stats-item-value.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__info-stats-item-value.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__info-stats-item-value.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__info-stats-item-value.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__info-stats-item-value.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__info-stats-item-value.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__info-stats-item-value.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__info-stats-item-value.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__info-stats-item-value.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__info-stats-item-value.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__info-stats-item-value.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__info-stats-item-value.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__info-stats-item-value.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0028645833 * 100vw + 0px)}}.train-job-main__info-stats-item-title.svelte-1feh1li.svelte-1feh1li{font-family:PFDinDisplayProRegular;color:#6C757D;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__info-stats-item-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__info-stats-item-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__info-stats-item-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__info-stats-item-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__info-stats-item-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__info-stats-item-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__info-stats-item-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0103125 * 100vw + 0px)}}.train-job-main__progress.svelte-1feh1li.svelte-1feh1li{z-index:3;position:absolute;bottom:calc(0.0255208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress.svelte-1feh1li.svelte-1feh1li{bottom:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress.svelte-1feh1li.svelte-1feh1li{bottom:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress.svelte-1feh1li.svelte-1feh1li{bottom:calc(0.0196510417 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress.svelte-1feh1li.svelte-1feh1li{bottom:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress.svelte-1feh1li.svelte-1feh1li{bottom:calc(0.0178645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress.svelte-1feh1li.svelte-1feh1li{bottom:calc(0.02296875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress.svelte-1feh1li.svelte-1feh1li{bottom:calc(0.0280729167 * 100vw + 0px)}}.train-job-main__progress-title.svelte-1feh1li.svelte-1feh1li{font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.0145833333 * 100vw + 0px);margin-bottom:calc(0.0161458333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-title.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0161458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-title.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0161458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-title.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0124322917 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-title.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0177604167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-title.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0113020833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-title.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.01453125 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-title.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0177604167 * 100vw + 0px)}}.train-job-main__progress-item.svelte-1feh1li.svelte-1feh1li{display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:#22272E;border-radius:calc(0.0052083333 * 100vw + 0px);margin-bottom:calc(0.0260416667 * 100vw + 0px);width:calc(0.2604166667 * 100vw + 0px);height:calc(0.0604166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-item.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-item.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-item.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-item.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-item.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-item.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-item.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-item.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-item.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-item.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-item.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-item.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-item.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-item.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-item.svelte-1feh1li.svelte-1feh1li{width:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-item.svelte-1feh1li.svelte-1feh1li{width:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-item.svelte-1feh1li.svelte-1feh1li{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-item.svelte-1feh1li.svelte-1feh1li{width:calc(0.2864583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-item.svelte-1feh1li.svelte-1feh1li{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-item.svelte-1feh1li.svelte-1feh1li{width:calc(0.234375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-item.svelte-1feh1li.svelte-1feh1li{width:calc(0.2864583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-item.svelte-1feh1li.svelte-1feh1li{height:calc(0.0604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-item.svelte-1feh1li.svelte-1feh1li{height:calc(0.0604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-item.svelte-1feh1li.svelte-1feh1li{height:calc(0.0465208333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-item.svelte-1feh1li.svelte-1feh1li{height:calc(0.0664583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-item.svelte-1feh1li.svelte-1feh1li{height:calc(0.0422916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-item.svelte-1feh1li.svelte-1feh1li{height:calc(0.054375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-item.svelte-1feh1li.svelte-1feh1li{height:calc(0.0664583333 * 100vw + 0px)}}.train-job-main__progress-item-info.svelte-1feh1li.svelte-1feh1li{display:flex;align-items:center;justify-content:space-between;width:100%;padding-left:calc(0.0130208333 * 100vw + 0px);padding-right:calc(0.0130208333 * 100vw + 0px);margin-bottom:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-item-info.svelte-1feh1li.svelte-1feh1li{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-item-info.svelte-1feh1li.svelte-1feh1li{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-item-info.svelte-1feh1li.svelte-1feh1li{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-item-info.svelte-1feh1li.svelte-1feh1li{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-item-info.svelte-1feh1li.svelte-1feh1li{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-item-info.svelte-1feh1li.svelte-1feh1li{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-item-info.svelte-1feh1li.svelte-1feh1li{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-item-info.svelte-1feh1li.svelte-1feh1li{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-item-info.svelte-1feh1li.svelte-1feh1li{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-item-info.svelte-1feh1li.svelte-1feh1li{padding-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-item-info.svelte-1feh1li.svelte-1feh1li{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-item-info.svelte-1feh1li.svelte-1feh1li{padding-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-item-info.svelte-1feh1li.svelte-1feh1li{padding-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-item-info.svelte-1feh1li.svelte-1feh1li{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-item-info.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-item-info.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-item-info.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-item-info.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-item-info.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-item-info.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-item-info.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0091666667 * 100vw + 0px)}}.train-job-main__progress-item-info-lvl.svelte-1feh1li.svelte-1feh1li{display:flex;align-items:center;justify-content:center;gap:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-item-info-lvl.svelte-1feh1li.svelte-1feh1li{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-item-info-lvl.svelte-1feh1li.svelte-1feh1li{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-item-info-lvl.svelte-1feh1li.svelte-1feh1li{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-item-info-lvl.svelte-1feh1li.svelte-1feh1li{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-item-info-lvl.svelte-1feh1li.svelte-1feh1li{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-item-info-lvl.svelte-1feh1li.svelte-1feh1li{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-item-info-lvl.svelte-1feh1li.svelte-1feh1li{gap:calc(0.0057291667 * 100vw + 0px)}}.train-job-main__progress-item-info-lvl-icon.svelte-1feh1li.svelte-1feh1li{color:#6C757D;font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-item-info-lvl-icon.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-item-info-lvl-icon.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-item-info-lvl-icon.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-item-info-lvl-icon.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-item-info-lvl-icon.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-item-info-lvl-icon.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-item-info-lvl-icon.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0114583333 * 100vw + 0px)}}.train-job-main__progress-item-info-lvl-icon--nextLvl.svelte-1feh1li.svelte-1feh1li{color:#F39639}.train-job-main__progress-item-info-lvl-title.svelte-1feh1li.svelte-1feh1li{font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-item-info-lvl-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-item-info-lvl-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-item-info-lvl-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-item-info-lvl-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-item-info-lvl-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-item-info-lvl-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-item-info-lvl-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0103125 * 100vw + 0px)}}.train-job-main__progress-item-line-wrapper.svelte-1feh1li.svelte-1feh1li{display:flex;align-items:center;position:relative;background-color:#6C757D;overflow:hidden;margin-bottom:calc(0.0083333333 * 100vw + 0px);width:calc(0.234375 * 100vw + 0px);height:calc(0.0010416667 * 100vw + 0px);border-radius:calc(0.0010416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-item-line-wrapper.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-item-line-wrapper.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-item-line-wrapper.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-item-line-wrapper.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-item-line-wrapper.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-item-line-wrapper.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-item-line-wrapper.svelte-1feh1li.svelte-1feh1li{margin-bottom:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-item-line-wrapper.svelte-1feh1li.svelte-1feh1li{width:calc(0.234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-item-line-wrapper.svelte-1feh1li.svelte-1feh1li{width:calc(0.234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-item-line-wrapper.svelte-1feh1li.svelte-1feh1li{width:calc(0.18046875 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-item-line-wrapper.svelte-1feh1li.svelte-1feh1li{width:calc(0.2578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-item-line-wrapper.svelte-1feh1li.svelte-1feh1li{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-item-line-wrapper.svelte-1feh1li.svelte-1feh1li{width:calc(0.2109375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-item-line-wrapper.svelte-1feh1li.svelte-1feh1li{width:calc(0.2578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-item-line-wrapper.svelte-1feh1li.svelte-1feh1li{height:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-item-line-wrapper.svelte-1feh1li.svelte-1feh1li{height:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-item-line-wrapper.svelte-1feh1li.svelte-1feh1li{height:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-item-line-wrapper.svelte-1feh1li.svelte-1feh1li{height:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-item-line-wrapper.svelte-1feh1li.svelte-1feh1li{height:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-item-line-wrapper.svelte-1feh1li.svelte-1feh1li{height:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-item-line-wrapper.svelte-1feh1li.svelte-1feh1li{height:calc(0.0011458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-item-line-wrapper.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-item-line-wrapper.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-item-line-wrapper.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-item-line-wrapper.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-item-line-wrapper.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-item-line-wrapper.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-item-line-wrapper.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0011458333 * 100vw + 0px)}}.train-job-main__progress-item-line.svelte-1feh1li.svelte-1feh1li{background-color:#F39639;position:absolute;left:0;height:100%;width:0}.train-job-main__progress-item-exp.svelte-1feh1li.svelte-1feh1li{font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-item-exp.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-item-exp.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-item-exp.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-item-exp.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-item-exp.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-item-exp.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-item-exp.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0103125 * 100vw + 0px)}}.train-job-main__progress-item-exp--dark.svelte-1feh1li.svelte-1feh1li{color:#6C757D}.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{background-color:#22272E;overflow:auto;border-radius:calc(0.0052083333 * 100vw + 0px);padding-top:calc(0.0130208333 * 100vw + 0px);padding-left:calc(0.0130208333 * 100vw + 0px);padding-right:calc(0.0130208333 * 100vw + 0px);padding-bottom:calc(0.0130208333 * 100vw + 0px);width:calc(0.2604166667 * 100vw + 0px);height:calc(0.2515625 * 100vw + 0px)}.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{padding-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{padding-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{padding-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{padding-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{padding-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{padding-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{padding-top:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{padding-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{padding-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{padding-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{padding-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{padding-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{padding-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{padding-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{padding-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{padding-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{padding-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{width:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{width:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{width:calc(0.2864583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{width:calc(0.234375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{width:calc(0.2864583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{height:calc(0.2515625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{height:calc(0.2515625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{height:calc(0.193703125 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{height:calc(0.27671875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{height:calc(0.17609375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{height:calc(0.22640625 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li{height:calc(0.27671875 * 100vw + 0px)}}.train-job-main__progress-quests.svelte-1feh1li.svelte-1feh1li::-webkit-scrollbar{width:0px}.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;background-color:rgba(243, 150, 57, 0.1);border:1px solid transparent;cursor:pointer;transition:background-color 0.2s linear, border-color 0.2s linear;border-radius:calc(0.0052083333 * 100vw + 0px);padding-left:calc(0.0104166667 * 100vw + 0px);padding-right:calc(0.0104166667 * 100vw + 0px);width:calc(0.234375 * 100vw + 0px);height:calc(0.0364583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{padding-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{padding-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{padding-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{padding-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{padding-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{padding-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{padding-left:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{padding-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{padding-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{padding-right:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{padding-right:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{padding-right:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{padding-right:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{padding-right:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{width:calc(0.234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{width:calc(0.234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{width:calc(0.18046875 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{width:calc(0.2578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{width:calc(0.2109375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{width:calc(0.2578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{height:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{height:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{height:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li{height:calc(0.0401041667 * 100vw + 0px)}}.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li:not(:first-child){margin-top:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li:not(:first-child){margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li:not(:first-child){margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li:not(:first-child){margin-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li:not(:first-child){margin-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li:not(:first-child){margin-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li:not(:first-child){margin-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li:not(:first-child){margin-top:calc(0.0057291667 * 100vw + 0px)}}.train-job-main__progress-quest.svelte-1feh1li.svelte-1feh1li:hover{background-color:rgba(243, 150, 57, 0.2)}.train-job-main__progress-quest--completed.svelte-1feh1li.svelte-1feh1li{background-color:rgba(155, 220, 98, 0.1)}.train-job-main__progress-quest--completed.svelte-1feh1li .train-job-main__progress-quest-info-icon.svelte-1feh1li{color:#9BDC62}.train-job-main__progress-quest--completed.svelte-1feh1li .train-job-main__progress-quest-info-line.svelte-1feh1li{background-color:#9BDC62}.train-job-main__progress-quest--completed.svelte-1feh1li.svelte-1feh1li:hover{background-color:rgba(155, 220, 98, 0.2)}.train-job-main__progress-quest--notStarted.svelte-1feh1li.svelte-1feh1li{background-color:rgba(255, 255, 255, 0.1)}.train-job-main__progress-quest--notStarted.svelte-1feh1li .train-job-main__progress-quest-info-icon.svelte-1feh1li{color:#FFFFFF}.train-job-main__progress-quest--notStarted.svelte-1feh1li .train-job-main__progress-quest-info-line.svelte-1feh1li{background-color:#6C757D}.train-job-main__progress-quest--notStarted.svelte-1feh1li.svelte-1feh1li:hover{background-color:rgba(255, 255, 255, 0.2)}.train-job-main__progress-quest--disable.svelte-1feh1li.svelte-1feh1li{background-color:transparent;border:1px solid rgba(255, 255, 255, 0.1)}.train-job-main__progress-quest--disable.svelte-1feh1li .train-job-main__progress-quest-info-icon.svelte-1feh1li{color:#6C757D}.train-job-main__progress-quest--disable.svelte-1feh1li .train-job-main__progress-quest-info-line.svelte-1feh1li{background-color:#6C757D}.train-job-main__progress-quest--disable.svelte-1feh1li.svelte-1feh1li:hover{background-color:transparent;border-color:rgba(255, 255, 255, 0.2)}.train-job-main__progress-quest-info.svelte-1feh1li.svelte-1feh1li{display:flex;align-items:center;justify-content:center}.train-job-main__progress-quest-info-icon.svelte-1feh1li.svelte-1feh1li{color:#F39639;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-quest-info-icon.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-quest-info-icon.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-quest-info-icon.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-quest-info-icon.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-quest-info-icon.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-quest-info-icon.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-quest-info-icon.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0091666667 * 100vw + 0px)}}.train-job-main__progress-quest-info-title.svelte-1feh1li.svelte-1feh1li{font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.0083333333 * 100vw + 0px);margin-left:calc(0.0052083333 * 100vw + 0px);margin-right:calc(0.0052083333 * 100vw + 0px);width:calc(0.1671875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-quest-info-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-quest-info-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-quest-info-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-quest-info-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-quest-info-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-quest-info-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-quest-info-title.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-quest-info-title.svelte-1feh1li.svelte-1feh1li{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-quest-info-title.svelte-1feh1li.svelte-1feh1li{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-quest-info-title.svelte-1feh1li.svelte-1feh1li{margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-quest-info-title.svelte-1feh1li.svelte-1feh1li{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-quest-info-title.svelte-1feh1li.svelte-1feh1li{margin-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-quest-info-title.svelte-1feh1li.svelte-1feh1li{margin-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-quest-info-title.svelte-1feh1li.svelte-1feh1li{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-quest-info-title.svelte-1feh1li.svelte-1feh1li{margin-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-quest-info-title.svelte-1feh1li.svelte-1feh1li{margin-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-quest-info-title.svelte-1feh1li.svelte-1feh1li{margin-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-quest-info-title.svelte-1feh1li.svelte-1feh1li{margin-right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-quest-info-title.svelte-1feh1li.svelte-1feh1li{margin-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-quest-info-title.svelte-1feh1li.svelte-1feh1li{margin-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-quest-info-title.svelte-1feh1li.svelte-1feh1li{margin-right:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-quest-info-title.svelte-1feh1li.svelte-1feh1li{width:calc(0.1671875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-quest-info-title.svelte-1feh1li.svelte-1feh1li{width:calc(0.1671875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-quest-info-title.svelte-1feh1li.svelte-1feh1li{width:calc(0.128734375 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-quest-info-title.svelte-1feh1li.svelte-1feh1li{width:calc(0.18390625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-quest-info-title.svelte-1feh1li.svelte-1feh1li{width:calc(0.11703125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-quest-info-title.svelte-1feh1li.svelte-1feh1li{width:calc(0.15046875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-quest-info-title.svelte-1feh1li.svelte-1feh1li{width:calc(0.18390625 * 100vw + 0px)}}.train-job-main__progress-quest-info-value.svelte-1feh1li.svelte-1feh1li{font-family:PFDinDisplayProRegular;color:#8892A2;font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-quest-info-value.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-quest-info-value.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-quest-info-value.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-quest-info-value.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-quest-info-value.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-quest-info-value.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-quest-info-value.svelte-1feh1li.svelte-1feh1li{font-size:calc(0.0080208333 * 100vw + 0px)}}.train-job-main__progress-quest-info-line-wrapper.svelte-1feh1li.svelte-1feh1li{display:flex;align-items:center;position:relative;background-color:#6C757D;overflow:hidden;margin-top:calc(0.00625 * 100vw + 0px);width:calc(0.2135416667 * 100vw + 0px);height:calc(0.0010416667 * 100vw + 0px);border-radius:calc(0.0010416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-quest-info-line-wrapper.svelte-1feh1li.svelte-1feh1li{margin-top:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-quest-info-line-wrapper.svelte-1feh1li.svelte-1feh1li{margin-top:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-quest-info-line-wrapper.svelte-1feh1li.svelte-1feh1li{margin-top:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-quest-info-line-wrapper.svelte-1feh1li.svelte-1feh1li{margin-top:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-quest-info-line-wrapper.svelte-1feh1li.svelte-1feh1li{margin-top:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-quest-info-line-wrapper.svelte-1feh1li.svelte-1feh1li{margin-top:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-quest-info-line-wrapper.svelte-1feh1li.svelte-1feh1li{margin-top:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-quest-info-line-wrapper.svelte-1feh1li.svelte-1feh1li{width:calc(0.2135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-quest-info-line-wrapper.svelte-1feh1li.svelte-1feh1li{width:calc(0.2135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-quest-info-line-wrapper.svelte-1feh1li.svelte-1feh1li{width:calc(0.1644270833 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-quest-info-line-wrapper.svelte-1feh1li.svelte-1feh1li{width:calc(0.2348958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-quest-info-line-wrapper.svelte-1feh1li.svelte-1feh1li{width:calc(0.1494791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-quest-info-line-wrapper.svelte-1feh1li.svelte-1feh1li{width:calc(0.1921875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-quest-info-line-wrapper.svelte-1feh1li.svelte-1feh1li{width:calc(0.2348958333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-quest-info-line-wrapper.svelte-1feh1li.svelte-1feh1li{height:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-quest-info-line-wrapper.svelte-1feh1li.svelte-1feh1li{height:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-quest-info-line-wrapper.svelte-1feh1li.svelte-1feh1li{height:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-quest-info-line-wrapper.svelte-1feh1li.svelte-1feh1li{height:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-quest-info-line-wrapper.svelte-1feh1li.svelte-1feh1li{height:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-quest-info-line-wrapper.svelte-1feh1li.svelte-1feh1li{height:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-quest-info-line-wrapper.svelte-1feh1li.svelte-1feh1li{height:calc(0.0011458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-main__progress-quest-info-line-wrapper.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-main__progress-quest-info-line-wrapper.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-main__progress-quest-info-line-wrapper.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-main__progress-quest-info-line-wrapper.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-main__progress-quest-info-line-wrapper.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-main__progress-quest-info-line-wrapper.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-main__progress-quest-info-line-wrapper.svelte-1feh1li.svelte-1feh1li{border-radius:calc(0.0011458333 * 100vw + 0px)}}.train-job-main__progress-quest-info-line.svelte-1feh1li.svelte-1feh1li{background-color:#F39639;position:absolute;left:0;height:100%;width:0}");
}

function train_job_main_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[7] = list[i];
	return child_ctx;
}

// (3548:24) {:else}
function train_job_main_index_svelte_create_else_block(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "train-job-main__progress-quest-info-icon icon-train-warning svelte-1feh1li");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (3546:125) 
function train_job_main_index_svelte_create_if_block_3(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "train-job-main__progress-quest-info-icon icon-train-angle-right svelte-1feh1li");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (3544:50) 
function train_job_main_index_svelte_create_if_block_2(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "train-job-main__progress-quest-info-icon icon-train-circle-check svelte-1feh1li");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (3542:24) {#if quest.inProgress}
function train_job_main_index_svelte_create_if_block_1(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "train-job-main__progress-quest-info-icon icon-train-clock svelte-1feh1li");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (3552:24) {#if !quest.completed && quest.needLevel < currentPlayerInformation.level}
function train_job_main_index_svelte_create_if_block(ctx) {
	let p;
	let t_value = /*quest*/ ctx[7].info + "";
	let t;

	return {
		c() {
			p = internal_element("p");
			t = internal_text(t_value);
			attr(p, "class", "train-job-main__progress-quest-info-value svelte-1feh1li");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t);
		},
		p(ctx, dirty) {
			if (dirty & /*currentQuestsInformation*/ 2 && t_value !== (t_value = /*quest*/ ctx[7].info + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (3534:12) {#each currentQuestsInformation as quest}
function train_job_main_index_svelte_create_each_block(ctx) {
	let div3;
	let div0;
	let t0;
	let p;
	let t1_value = /*quest*/ ctx[7].title + "";
	let t1;
	let t2;
	let t3;
	let div2;
	let div1;
	let div1_style_value;
	let t4;

	function select_block_type(ctx, dirty) {
		if (/*quest*/ ctx[7].inProgress) return train_job_main_index_svelte_create_if_block_1;
		if (/*quest*/ ctx[7].completed) return train_job_main_index_svelte_create_if_block_2;
		if (!/*quest*/ ctx[7].inProgress && !/*quest*/ ctx[7].completed && /*quest*/ ctx[7].needLevel <= /*currentPlayerInformation*/ ctx[0].level) return train_job_main_index_svelte_create_if_block_3;
		return train_job_main_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block0 = current_block_type(ctx);
	let if_block1 = !/*quest*/ ctx[7].completed && /*quest*/ ctx[7].needLevel < /*currentPlayerInformation*/ ctx[0].level && train_job_main_index_svelte_create_if_block(ctx);

	return {
		c() {
			div3 = internal_element("div");
			div0 = internal_element("div");
			if_block0.c();
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			if (if_block1) if_block1.c();
			t3 = space();
			div2 = internal_element("div");
			div1 = internal_element("div");
			t4 = space();
			attr(p, "class", "train-job-main__progress-quest-info-title svelte-1feh1li");
			attr(div0, "class", "train-job-main__progress-quest-info svelte-1feh1li");
			attr(div1, "class", "train-job-main__progress-quest-info-line svelte-1feh1li");
			attr(div1, "style", div1_style_value = `width: ${/*quest*/ ctx[7].currentExp / (/*quest*/ ctx[7].maxExp / 100)}%;`);
			attr(div2, "class", "train-job-main__progress-quest-info-line-wrapper svelte-1feh1li");
			attr(div3, "class", "train-job-main__progress-quest svelte-1feh1li");
			toggle_class(div3, "train-job-main__progress-quest--completed", /*quest*/ ctx[7].completed);
			toggle_class(div3, "train-job-main__progress-quest--notStarted", !/*quest*/ ctx[7].inProgress && !/*quest*/ ctx[7].completed && /*quest*/ ctx[7].needLevel <= /*currentPlayerInformation*/ ctx[0].level);
			toggle_class(div3, "train-job-main__progress-quest--disable", /*quest*/ ctx[7].needLevel > /*currentPlayerInformation*/ ctx[0].level);
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div0);
			if_block0.m(div0, null);
			append(div0, t0);
			append(div0, p);
			append(p, t1);
			append(div0, t2);
			if (if_block1) if_block1.m(div0, null);
			append(div3, t3);
			append(div3, div2);
			append(div2, div1);
			append(div3, t4);
		},
		p(ctx, dirty) {
			if (current_block_type !== (current_block_type = select_block_type(ctx, dirty))) {
				if_block0.d(1);
				if_block0 = current_block_type(ctx);

				if (if_block0) {
					if_block0.c();
					if_block0.m(div0, t0);
				}
			}

			if (dirty & /*currentQuestsInformation*/ 2 && t1_value !== (t1_value = /*quest*/ ctx[7].title + "")) set_data(t1, t1_value);

			if (!/*quest*/ ctx[7].completed && /*quest*/ ctx[7].needLevel < /*currentPlayerInformation*/ ctx[0].level) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = train_job_main_index_svelte_create_if_block(ctx);
					if_block1.c();
					if_block1.m(div0, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty & /*currentQuestsInformation*/ 2 && div1_style_value !== (div1_style_value = `width: ${/*quest*/ ctx[7].currentExp / (/*quest*/ ctx[7].maxExp / 100)}%;`)) {
				attr(div1, "style", div1_style_value);
			}

			if (dirty & /*currentQuestsInformation*/ 2) {
				toggle_class(div3, "train-job-main__progress-quest--completed", /*quest*/ ctx[7].completed);
			}

			if (dirty & /*currentQuestsInformation, currentPlayerInformation*/ 3) {
				toggle_class(div3, "train-job-main__progress-quest--notStarted", !/*quest*/ ctx[7].inProgress && !/*quest*/ ctx[7].completed && /*quest*/ ctx[7].needLevel <= /*currentPlayerInformation*/ ctx[0].level);
			}

			if (dirty & /*currentQuestsInformation, currentPlayerInformation*/ 3) {
				toggle_class(div3, "train-job-main__progress-quest--disable", /*quest*/ ctx[7].needLevel > /*currentPlayerInformation*/ ctx[0].level);
			}
		},
		d(detaching) {
			if (detaching) detach(div3);
			if_block0.d();
			if (if_block1) if_block1.d();
		}
	};
}

function train_job_main_index_svelte_create_fragment(ctx) {
	let div17;
	let div0;
	let img0;
	let img0_src_value;
	let t0;
	let p0;
	let t2;
	let img1;
	let img1_src_value;
	let t3;
	let img2;
	let img2_src_value;
	let t4;
	let div1;
	let t7;
	let div8;
	let p2;
	let t8_value = /*currentPlayerInformation*/ ctx[0].name + "";
	let t8;
	let t9;
	let div2;
	let i1;
	let t10;
	let p3;
	let t11_value = /*currentPlayerInformation*/ ctx[0].level + "";
	let t11;
	let t12;
	let p4;
	let t15;
	let p5;
	let t17;
	let div7;
	let div3;
	let p6;
	let t18_value = /*currentPlayerInformation*/ ctx[0].completedTrip + "";
	let t18;
	let t19;
	let p7;
	let t21;
	let div4;
	let p8;
	let t22_value = /*currentPlayerInformation*/ ctx[0].transportedPassengers + "";
	let t22;
	let t23;
	let p9;
	let t25;
	let div5;
	let p10;
	let t26;
	let t27_value = formatMoney(/*currentPlayerInformation*/ ctx[0].earnedMoney) + "";
	let t27;
	let t28;
	let p11;
	let t30;
	let div6;
	let p12;
	let t31_value = formatMoney(/*currentPlayerInformation*/ ctx[0].totalPassed) + "";
	let t31;
	let t32;
	let t33;
	let p13;
	let t35;
	let div16;
	let p14;
	let t37;
	let div14;
	let div11;
	let div9;
	let i2;
	let t38;
	let p15;
	let t39_value = /*currentPlayerInformation*/ ctx[0].level + "";
	let t39;
	let t40;
	let t41;
	let div10;
	let i3;
	let t42;
	let p16;
	let t43_value = /*currentPlayerInformation*/ ctx[0].level + 1 + "";
	let t43;
	let t44;
	let t45;
	let div13;
	let div12;
	let div12_style_value;
	let t46;
	let p17;
	let t47_value = /*currentPlayerInformation*/ ctx[0].currentExp + "";
	let t47;
	let t48;
	let span1;
	let t49;
	let t50_value = /*currentPlayerInformation*/ ctx[0].maxExp + "";
	let t50;
	let t51;
	let t52;
	let p18;
	let t54;
	let div15;
	let mounted;
	let dispose;
	let each_value = /*currentQuestsInformation*/ ctx[1];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = train_job_main_index_svelte_create_each_block(train_job_main_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div17 = internal_element("div");
			div0 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			p0 = internal_element("p");
			p0.textContent = "Центральное депо";
			t2 = space();
			img1 = internal_element("img");
			t3 = space();
			img2 = internal_element("img");
			t4 = space();
			div1 = internal_element("div");

			div1.innerHTML = `<p class="train-job-main__quests-button-title svelte-1feh1li">Отправиться в рейс</p> 
        <i class="train-job-main__quests-button-icon icon-chevron-right svelte-1feh1li"></i>`;

			t7 = space();
			div8 = internal_element("div");
			p2 = internal_element("p");
			t8 = internal_text(t8_value);
			t9 = space();
			div2 = internal_element("div");
			i1 = internal_element("i");
			t10 = space();
			p3 = internal_element("p");
			t11 = internal_text(t11_value);
			t12 = space();
			p4 = internal_element("p");

			p4.innerHTML = `уровень
                <span class="train-job-main__info-lvl-title--dark svelte-1feh1li">машиниста</span>`;

			t15 = space();
			p5 = internal_element("p");
			p5.textContent = "Статистика";
			t17 = space();
			div7 = internal_element("div");
			div3 = internal_element("div");
			p6 = internal_element("p");
			t18 = internal_text(t18_value);
			t19 = space();
			p7 = internal_element("p");
			p7.textContent = "Выполнено рейсов";
			t21 = space();
			div4 = internal_element("div");
			p8 = internal_element("p");
			t22 = internal_text(t22_value);
			t23 = space();
			p9 = internal_element("p");
			p9.textContent = "Пассажиров перевезено";
			t25 = space();
			div5 = internal_element("div");
			p10 = internal_element("p");
			t26 = internal_text("$ ");
			t27 = internal_text(t27_value);
			t28 = space();
			p11 = internal_element("p");
			p11.textContent = "Заработано денег";
			t30 = space();
			div6 = internal_element("div");
			p12 = internal_element("p");
			t31 = internal_text(t31_value);
			t32 = internal_text(" км");
			t33 = space();
			p13 = internal_element("p");
			p13.textContent = "Пройденный путь";
			t35 = space();
			div16 = internal_element("div");
			p14 = internal_element("p");
			p14.textContent = "Прогресс";
			t37 = space();
			div14 = internal_element("div");
			div11 = internal_element("div");
			div9 = internal_element("div");
			i2 = internal_element("i");
			t38 = space();
			p15 = internal_element("p");
			t39 = internal_text(t39_value);
			t40 = internal_text(" уровень");
			t41 = space();
			div10 = internal_element("div");
			i3 = internal_element("i");
			t42 = space();
			p16 = internal_element("p");
			t43 = internal_text(t43_value);
			t44 = internal_text(" уровень");
			t45 = space();
			div13 = internal_element("div");
			div12 = internal_element("div");
			t46 = space();
			p17 = internal_element("p");
			t47 = internal_text(t47_value);
			t48 = space();
			span1 = internal_element("span");
			t49 = internal_text("/ ");
			t50 = internal_text(t50_value);
			t51 = internal_text(" exp");
			t52 = space();
			p18 = internal_element("p");
			p18.textContent = "Задания";
			t54 = space();
			div15 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(img0, "class", "train-job-main__logo-img svelte-1feh1li");
			if (!src_url_equal(img0.src, img0_src_value = train_job_img_logo_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "logo-img");
			attr(p0, "class", "train-job-main__logo-title svelte-1feh1li");
			attr(div0, "class", "train-job-main__logo svelte-1feh1li");
			attr(img1, "class", "train-job-main__machinist svelte-1feh1li");
			if (!src_url_equal(img1.src, img1_src_value = machinist_img_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "worker-img");
			attr(img2, "class", "train-job-main__train svelte-1feh1li");
			if (!src_url_equal(img2.src, img2_src_value = train_img_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "train-img");
			attr(div1, "class", "train-job-main__quests-button svelte-1feh1li");
			attr(p2, "class", "train-job-main__info-title svelte-1feh1li");
			attr(i1, "class", "train-job-main__info-lvl-icon icon-train-rank svelte-1feh1li");
			attr(p3, "class", "train-job-main__info-lvl-value svelte-1feh1li");
			attr(p4, "class", "train-job-main__info-lvl-title svelte-1feh1li");
			attr(div2, "class", "train-job-main__info-lvl svelte-1feh1li");
			attr(p5, "class", "train-job-main__info-stats svelte-1feh1li");
			attr(p6, "class", "train-job-main__info-stats-item-value svelte-1feh1li");
			attr(p7, "class", "train-job-main__info-stats-item-title svelte-1feh1li");
			attr(div3, "class", "train-job-main__info-stats-item svelte-1feh1li");
			attr(p8, "class", "train-job-main__info-stats-item-value svelte-1feh1li");
			attr(p9, "class", "train-job-main__info-stats-item-title svelte-1feh1li");
			attr(div4, "class", "train-job-main__info-stats-item svelte-1feh1li");
			attr(p10, "class", "train-job-main__info-stats-item-value svelte-1feh1li");
			attr(p11, "class", "train-job-main__info-stats-item-title svelte-1feh1li");
			attr(div5, "class", "train-job-main__info-stats-item svelte-1feh1li");
			attr(p12, "class", "train-job-main__info-stats-item-value svelte-1feh1li");
			attr(p13, "class", "train-job-main__info-stats-item-title svelte-1feh1li");
			attr(div6, "class", "train-job-main__info-stats-item svelte-1feh1li");
			attr(div7, "class", "train-job-main__info-stats-list svelte-1feh1li");
			attr(div8, "class", "train-job-main__info svelte-1feh1li");
			attr(p14, "class", "train-job-main__progress-title svelte-1feh1li");
			attr(i2, "class", "train-job-main__progress-item-info-lvl-icon icon-train-rank svelte-1feh1li");
			attr(p15, "class", "train-job-main__progress-item-info-lvl-title svelte-1feh1li");
			attr(div9, "class", "train-job-main__progress-item-info-lvl svelte-1feh1li");
			attr(i3, "class", "train-job-main__progress-item-info-lvl-icon train-job-main__progress-item-info-lvl-icon--nextLvl icon-train-rank svelte-1feh1li");
			attr(p16, "class", "train-job-main__progress-item-info-lvl-title svelte-1feh1li");
			attr(div10, "class", "train-job-main__progress-item-info-lvl svelte-1feh1li");
			attr(div11, "class", "train-job-main__progress-item-info svelte-1feh1li");
			attr(div12, "class", "train-job-main__progress-item-line svelte-1feh1li");
			attr(div12, "style", div12_style_value = `width: ${/*currentPlayerInformation*/ ctx[0].currentExp / (/*currentPlayerInformation*/ ctx[0].maxExp / 100)}%;`);
			attr(div13, "class", "train-job-main__progress-item-line-wrapper svelte-1feh1li");
			attr(span1, "class", "train-job-main__progress-item-exp--dark svelte-1feh1li");
			attr(p17, "class", "train-job-main__progress-item-exp svelte-1feh1li");
			attr(div14, "class", "train-job-main__progress-item svelte-1feh1li");
			attr(p18, "class", "train-job-main__progress-title svelte-1feh1li");
			attr(div15, "class", "train-job-main__progress-quests svelte-1feh1li");
			attr(div16, "class", "train-job-main__progress svelte-1feh1li");
			attr(div17, "class", "train-job-main svelte-1feh1li");
		},
		m(target, anchor) {
			insert(target, div17, anchor);
			append(div17, div0);
			append(div0, img0);
			append(div0, t0);
			append(div0, p0);
			append(div17, t2);
			append(div17, img1);
			append(div17, t3);
			append(div17, img2);
			append(div17, t4);
			append(div17, div1);
			append(div17, t7);
			append(div17, div8);
			append(div8, p2);
			append(p2, t8);
			append(div8, t9);
			append(div8, div2);
			append(div2, i1);
			append(div2, t10);
			append(div2, p3);
			append(p3, t11);
			append(div2, t12);
			append(div2, p4);
			append(div8, t15);
			append(div8, p5);
			append(div8, t17);
			append(div8, div7);
			append(div7, div3);
			append(div3, p6);
			append(p6, t18);
			append(div3, t19);
			append(div3, p7);
			append(div7, t21);
			append(div7, div4);
			append(div4, p8);
			append(p8, t22);
			append(div4, t23);
			append(div4, p9);
			append(div7, t25);
			append(div7, div5);
			append(div5, p10);
			append(p10, t26);
			append(p10, t27);
			append(div5, t28);
			append(div5, p11);
			append(div7, t30);
			append(div7, div6);
			append(div6, p12);
			append(p12, t31);
			append(p12, t32);
			append(div6, t33);
			append(div6, p13);
			append(div17, t35);
			append(div17, div16);
			append(div16, p14);
			append(div16, t37);
			append(div16, div14);
			append(div14, div11);
			append(div11, div9);
			append(div9, i2);
			append(div9, t38);
			append(div9, p15);
			append(p15, t39);
			append(p15, t40);
			append(div11, t41);
			append(div11, div10);
			append(div10, i3);
			append(div10, t42);
			append(div10, p16);
			append(p16, t43);
			append(p16, t44);
			append(div14, t45);
			append(div14, div13);
			append(div13, div12);
			append(div14, t46);
			append(div14, p17);
			append(p17, t47);
			append(p17, t48);
			append(p17, span1);
			append(span1, t49);
			append(span1, t50);
			append(span1, t51);
			append(div16, t52);
			append(div16, p18);
			append(div16, t54);
			append(div16, div15);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div15, null);
			}

			if (!mounted) {
				dispose = listen(div1, "click", /*toQuests*/ ctx[2]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*currentPlayerInformation*/ 1 && t8_value !== (t8_value = /*currentPlayerInformation*/ ctx[0].name + "")) set_data(t8, t8_value);
			if (dirty & /*currentPlayerInformation*/ 1 && t11_value !== (t11_value = /*currentPlayerInformation*/ ctx[0].level + "")) set_data(t11, t11_value);
			if (dirty & /*currentPlayerInformation*/ 1 && t18_value !== (t18_value = /*currentPlayerInformation*/ ctx[0].completedTrip + "")) set_data(t18, t18_value);
			if (dirty & /*currentPlayerInformation*/ 1 && t22_value !== (t22_value = /*currentPlayerInformation*/ ctx[0].transportedPassengers + "")) set_data(t22, t22_value);
			if (dirty & /*currentPlayerInformation*/ 1 && t27_value !== (t27_value = formatMoney(/*currentPlayerInformation*/ ctx[0].earnedMoney) + "")) set_data(t27, t27_value);
			if (dirty & /*currentPlayerInformation*/ 1 && t31_value !== (t31_value = formatMoney(/*currentPlayerInformation*/ ctx[0].totalPassed) + "")) set_data(t31, t31_value);
			if (dirty & /*currentPlayerInformation*/ 1 && t39_value !== (t39_value = /*currentPlayerInformation*/ ctx[0].level + "")) set_data(t39, t39_value);
			if (dirty & /*currentPlayerInformation*/ 1 && t43_value !== (t43_value = /*currentPlayerInformation*/ ctx[0].level + 1 + "")) set_data(t43, t43_value);

			if (dirty & /*currentPlayerInformation*/ 1 && div12_style_value !== (div12_style_value = `width: ${/*currentPlayerInformation*/ ctx[0].currentExp / (/*currentPlayerInformation*/ ctx[0].maxExp / 100)}%;`)) {
				attr(div12, "style", div12_style_value);
			}

			if (dirty & /*currentPlayerInformation*/ 1 && t47_value !== (t47_value = /*currentPlayerInformation*/ ctx[0].currentExp + "")) set_data(t47, t47_value);
			if (dirty & /*currentPlayerInformation*/ 1 && t50_value !== (t50_value = /*currentPlayerInformation*/ ctx[0].maxExp + "")) set_data(t50, t50_value);

			if (dirty & /*currentQuestsInformation, currentPlayerInformation*/ 3) {
				each_value = /*currentQuestsInformation*/ ctx[1];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = train_job_main_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = train_job_main_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div15, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div17);
			destroy_each(each_blocks, detaching);
			mounted = false;
			dispose();
		}
	};
}

function train_job_main_index_svelte_instance($$self, $$props, $$invalidate) {
	let currentPlayerInformation = {};
	let currentQuestsInformation = [];

	const initializePlayerInformation = currentPlayerInformationDto => {
		$$invalidate(0, currentPlayerInformation = currentPlayerInformationDto);
	};

	const initializeQuestsInformation = currentQuestsInformationDto => {
		$$invalidate(1, currentQuestsInformation = currentQuestsInformationDto);
	};

	const toQuests = () => {
		sendClientMessage('trainJob.main.toQuests');
	};

	const unregisterPlayerInformationEvent = registerEvent('trainJob.main.initializePlayerInformation', initializePlayerInformation);
	const unregisterQuestsInformationEvent = registerEvent('trainJob.main.initializeQuestsInformation', initializeQuestsInformation);

	onDestroy(() => {
		unregisterPlayerInformationEvent();
		unregisterQuestsInformationEvent();
	});

	return [currentPlayerInformation, currentQuestsInformation, toQuests];
}

class train_job_main_index_svelte_Main extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, train_job_main_index_svelte_instance, train_job_main_index_svelte_create_fragment, safe_not_equal, {}, train_job_main_index_svelte_add_css);
	}
}

/* harmony default export */ const train_job_main_index_svelte = (train_job_main_index_svelte_Main);
;// CONCATENATED MODULE: ./src/views/train-job/quests/img/machinist.png
const machinist_namespaceObject = __webpack_require__.p + "assets/873cbd3f46e218f2240c.webp";
;// CONCATENATED MODULE: ./src/views/train-job/quests/constants.js
var FilterTypes = {
  All: 'all',
  InProgress: 'inProgress',
  Completed: 'completed',
  Disable: 'disable'
};
var constants_FILTERS_TABS = [{
  id: 'all',
  title: 'Все',
  icon: 'icon-train-burger'
}, {
  id: 'inProgress',
  title: 'Выполняются',
  icon: 'icon-train-clock'
}, {
  id: 'completed',
  title: 'Завершенные',
  icon: 'icon-train-circle-check'
}, {
  id: 'disable',
  title: 'Недоступные',
  icon: 'icon-train-cross-circle'
}];
;// CONCATENATED MODULE: ./src/views/train-job/quests/index.svelte
/* src\views\train-job\quests\index.svelte generated by Svelte v3.49.0 */









function train_job_quests_index_svelte_add_css(target) {
	append_styles(target, "svelte-iylqir", "@keyframes svelte-iylqir-blinking{50%{opacity:0}}@keyframes svelte-iylqir-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-iylqir-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-iylqir-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-iylqir-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-iylqir-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-iylqir-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-iylqir-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-iylqir-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-iylqir-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-iylqir-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-iylqir-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-iylqir-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-iylqir-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-iylqir-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.train-job-quests.svelte-iylqir.svelte-iylqir{position:relative;display:flex;align-items:center;justify-content:center;width:100vw;height:100vh;background:linear-gradient(0deg, rgba(22, 25, 29, 0.9), rgba(22, 25, 29, 0.9)), radial-gradient(50% 50% at 50% 50%, rgba(22, 25, 29, 0) 0%, #16191D 100%)}.train-job-quests.svelte-iylqir.svelte-iylqir::after{z-index:2;content:\"\";position:absolute;pointer-events:none;background:linear-gradient(24.56deg, #16191D 24.72%, rgba(22, 25, 29, 0) 56.29%);transform:matrix(-1, 0, 0, 1, 0, 0);right:0;bottom:0;width:100%;height:100%}.train-job-quests__background-img.svelte-iylqir.svelte-iylqir{position:absolute;right:0;bottom:0;height:calc(0.5729166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__background-img.svelte-iylqir.svelte-iylqir{height:calc(0.5729166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__background-img.svelte-iylqir.svelte-iylqir{height:calc(0.5729166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__background-img.svelte-iylqir.svelte-iylqir{height:calc(0.4411458333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__background-img.svelte-iylqir.svelte-iylqir{height:calc(0.6302083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__background-img.svelte-iylqir.svelte-iylqir{height:calc(0.4010416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__background-img.svelte-iylqir.svelte-iylqir{height:calc(0.515625 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__background-img.svelte-iylqir.svelte-iylqir{height:calc(0.6302083333 * 100vw + 0px)}}.train-job-quests__header.svelte-iylqir.svelte-iylqir{z-index:3;position:absolute;display:flex;align-items:center;justify-content:center;top:calc(0.0260416667 * 100vw + 0px);left:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__header.svelte-iylqir.svelte-iylqir{top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__header.svelte-iylqir.svelte-iylqir{top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__header.svelte-iylqir.svelte-iylqir{top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__header.svelte-iylqir.svelte-iylqir{top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__header.svelte-iylqir.svelte-iylqir{top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__header.svelte-iylqir.svelte-iylqir{top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__header.svelte-iylqir.svelte-iylqir{top:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__header.svelte-iylqir.svelte-iylqir{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__header.svelte-iylqir.svelte-iylqir{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__header.svelte-iylqir.svelte-iylqir{left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__header.svelte-iylqir.svelte-iylqir{left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__header.svelte-iylqir.svelte-iylqir{left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__header.svelte-iylqir.svelte-iylqir{left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__header.svelte-iylqir.svelte-iylqir{left:calc(0.0286458333 * 100vw + 0px)}}.train-job-quests__header-logo.svelte-iylqir.svelte-iylqir{display:flex;align-items:center;justify-content:center;gap:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__header-logo.svelte-iylqir.svelte-iylqir{gap:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__header-logo.svelte-iylqir.svelte-iylqir{gap:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__header-logo.svelte-iylqir.svelte-iylqir{gap:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__header-logo.svelte-iylqir.svelte-iylqir{gap:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__header-logo.svelte-iylqir.svelte-iylqir{gap:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__header-logo.svelte-iylqir.svelte-iylqir{gap:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__header-logo.svelte-iylqir.svelte-iylqir{gap:calc(0.0143229167 * 100vw + 0px)}}.train-job-quests__header-logo-icon.svelte-iylqir.svelte-iylqir{display:flex;align-items:center;justify-content:center;color:#16191D;background-color:#FFFFFF;cursor:pointer;transition:background-color 0.2s linear;border-radius:calc(0.0052083333 * 100vw + 0px);font-size:calc(0.0145833333 * 100vw + 0px);width:calc(0.0260416667 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__header-logo-icon.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__header-logo-icon.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__header-logo-icon.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__header-logo-icon.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__header-logo-icon.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__header-logo-icon.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__header-logo-icon.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__header-logo-icon.svelte-iylqir.svelte-iylqir{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__header-logo-icon.svelte-iylqir.svelte-iylqir{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__header-logo-icon.svelte-iylqir.svelte-iylqir{font-size:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__header-logo-icon.svelte-iylqir.svelte-iylqir{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__header-logo-icon.svelte-iylqir.svelte-iylqir{font-size:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__header-logo-icon.svelte-iylqir.svelte-iylqir{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__header-logo-icon.svelte-iylqir.svelte-iylqir{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__header-logo-icon.svelte-iylqir.svelte-iylqir{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__header-logo-icon.svelte-iylqir.svelte-iylqir{width:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__header-logo-icon.svelte-iylqir.svelte-iylqir{width:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__header-logo-icon.svelte-iylqir.svelte-iylqir{width:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__header-logo-icon.svelte-iylqir.svelte-iylqir{width:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__header-logo-icon.svelte-iylqir.svelte-iylqir{width:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__header-logo-icon.svelte-iylqir.svelte-iylqir{width:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__header-logo-icon.svelte-iylqir.svelte-iylqir{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__header-logo-icon.svelte-iylqir.svelte-iylqir{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__header-logo-icon.svelte-iylqir.svelte-iylqir{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__header-logo-icon.svelte-iylqir.svelte-iylqir{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__header-logo-icon.svelte-iylqir.svelte-iylqir{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__header-logo-icon.svelte-iylqir.svelte-iylqir{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__header-logo-icon.svelte-iylqir.svelte-iylqir{height:calc(0.0286458333 * 100vw + 0px)}}.train-job-quests__header-logo-icon.svelte-iylqir.svelte-iylqir:hover{background-color:rgba(255, 255, 255, 0.5)}.train-job-quests__header-logo-img.svelte-iylqir.svelte-iylqir{height:calc(0.0427083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__header-logo-img.svelte-iylqir.svelte-iylqir{height:calc(0.0427083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__header-logo-img.svelte-iylqir.svelte-iylqir{height:calc(0.0427083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__header-logo-img.svelte-iylqir.svelte-iylqir{height:calc(0.0328854167 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__header-logo-img.svelte-iylqir.svelte-iylqir{height:calc(0.0469791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__header-logo-img.svelte-iylqir.svelte-iylqir{height:calc(0.0298958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__header-logo-img.svelte-iylqir.svelte-iylqir{height:calc(0.0384375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__header-logo-img.svelte-iylqir.svelte-iylqir{height:calc(0.0469791667 * 100vw + 0px)}}.train-job-quests__header-logo-title.svelte-iylqir.svelte-iylqir{font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__header-logo-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__header-logo-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__header-logo-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__header-logo-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__header-logo-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__header-logo-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__header-logo-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.01375 * 100vw + 0px)}}.train-job-quests__header-title.svelte-iylqir.svelte-iylqir{font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.0291666667 * 100vw + 0px);margin-left:calc(0.2010416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__header-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__header-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__header-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.0224583333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__header-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__header-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.0204166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__header-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.02625 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__header-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.0320833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__header-title.svelte-iylqir.svelte-iylqir{margin-left:calc(0.2010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__header-title.svelte-iylqir.svelte-iylqir{margin-left:calc(0.2010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__header-title.svelte-iylqir.svelte-iylqir{margin-left:calc(0.1548020833 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__header-title.svelte-iylqir.svelte-iylqir{margin-left:calc(0.2211458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__header-title.svelte-iylqir.svelte-iylqir{margin-left:calc(0.1407291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__header-title.svelte-iylqir.svelte-iylqir{margin-left:calc(0.1809375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__header-title.svelte-iylqir.svelte-iylqir{margin-left:calc(0.2211458333 * 100vw + 0px)}}.train-job-quests__quests.svelte-iylqir.svelte-iylqir{z-index:3;position:absolute;bottom:calc(0.0260416667 * 100vw + 0px);left:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests.svelte-iylqir.svelte-iylqir{bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests.svelte-iylqir.svelte-iylqir{bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests.svelte-iylqir.svelte-iylqir{bottom:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests.svelte-iylqir.svelte-iylqir{bottom:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests.svelte-iylqir.svelte-iylqir{bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests.svelte-iylqir.svelte-iylqir{bottom:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests.svelte-iylqir.svelte-iylqir{bottom:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests.svelte-iylqir.svelte-iylqir{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests.svelte-iylqir.svelte-iylqir{left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests.svelte-iylqir.svelte-iylqir{left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests.svelte-iylqir.svelte-iylqir{left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests.svelte-iylqir.svelte-iylqir{left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests.svelte-iylqir.svelte-iylqir{left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests.svelte-iylqir.svelte-iylqir{left:calc(0.0286458333 * 100vw + 0px)}}.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{display:flex;align-items:center;background-color:#22272E;gap:calc(0.0052083333 * 100vw + 0px);border-radius:calc(0.00625 * 100vw + 0px);padding-left:calc(0.00625 * 100vw + 0px);margin-bottom:calc(0.0130208333 * 100vw + 0px);width:calc(0.46875 * 100vw + 0px);height:calc(0.0333333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{border-radius:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{border-radius:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{border-radius:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{border-radius:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{border-radius:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{border-radius:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{padding-left:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{padding-left:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{padding-left:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{padding-left:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{padding-left:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{padding-left:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{padding-left:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{width:calc(0.46875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{width:calc(0.46875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{width:calc(0.3609375 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{width:calc(0.515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{width:calc(0.328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{width:calc(0.421875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{width:calc(0.515625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{height:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{height:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{height:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{height:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{height:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{height:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-header.svelte-iylqir.svelte-iylqir{height:calc(0.0366666667 * 100vw + 0px)}}.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color 0.2s linear;gap:calc(0.00625 * 100vw + 0px);border-radius:calc(0.003125 * 100vw + 0px);padding-left:calc(0.0083333333 * 100vw + 0px);padding-right:calc(0.0083333333 * 100vw + 0px);height:calc(0.0208333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{gap:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{gap:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{gap:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{gap:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{gap:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{gap:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{gap:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{border-radius:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{border-radius:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{border-radius:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{padding-left:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{padding-left:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{padding-left:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{padding-left:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{padding-left:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{padding-left:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{padding-left:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{padding-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{padding-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{padding-right:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{padding-right:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{padding-right:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{padding-right:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{padding-right:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{height:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{height:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{height:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir{height:calc(0.0229166667 * 100vw + 0px)}}.train-job-quests__quests-header-item--selected.svelte-iylqir.svelte-iylqir,.train-job-quests__quests-header-item.svelte-iylqir.svelte-iylqir:hover{background-color:rgba(255, 255, 255, 0.1)}.train-job-quests__quests-header-item--selected.svelte-iylqir .train-job-quests__quests-header-item-icon.svelte-iylqir,.train-job-quests__quests-header-item--selected.svelte-iylqir .train-job-quests__quests-header-item-title.svelte-iylqir,.train-job-quests__quests-header-item.svelte-iylqir:hover .train-job-quests__quests-header-item-icon.svelte-iylqir,.train-job-quests__quests-header-item.svelte-iylqir:hover .train-job-quests__quests-header-item-title.svelte-iylqir{color:#FFFFFF}.train-job-quests__quests-header-item-icon.svelte-iylqir.svelte-iylqir{color:#8892A2;transition:color 0.2s linear;font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-header-item-icon.svelte-iylqir.svelte-iylqir{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-header-item-icon.svelte-iylqir.svelte-iylqir{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-header-item-icon.svelte-iylqir.svelte-iylqir{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-header-item-icon.svelte-iylqir.svelte-iylqir{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-header-item-icon.svelte-iylqir.svelte-iylqir{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-header-item-icon.svelte-iylqir.svelte-iylqir{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-header-item-icon.svelte-iylqir.svelte-iylqir{font-size:calc(0.0080208333 * 100vw + 0px)}}.train-job-quests__quests-header-item-title.svelte-iylqir.svelte-iylqir{font-family:PFDinDisplayProRegular;color:#8892A2;transition:color 0.2s linear;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-header-item-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-header-item-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-header-item-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-header-item-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-header-item-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-header-item-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-header-item-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.0091666667 * 100vw + 0px)}}.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{background-color:#22272E;overflow:auto;border-radius:calc(0.0052083333 * 100vw + 0px);padding-top:calc(0.0130208333 * 100vw + 0px);padding-left:calc(0.0130208333 * 100vw + 0px);padding-right:calc(0.0130208333 * 100vw + 0px);padding-bottom:calc(0.0130208333 * 100vw + 0px);width:calc(0.46875 * 100vw + 0px);height:calc(0.3802083333 * 100vw + 0px)}.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{padding-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{padding-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{padding-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{padding-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{padding-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{padding-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{padding-top:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{padding-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{padding-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{padding-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{padding-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{padding-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{padding-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{padding-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{padding-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{padding-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{padding-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{width:calc(0.46875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{width:calc(0.46875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{width:calc(0.3609375 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{width:calc(0.515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{width:calc(0.328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{width:calc(0.421875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{width:calc(0.515625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{height:calc(0.3802083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{height:calc(0.3802083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{height:calc(0.2927604167 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{height:calc(0.4182291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{height:calc(0.2661458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{height:calc(0.3421875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir{height:calc(0.4182291667 * 100vw + 0px)}}.train-job-quests__quests-list.svelte-iylqir.svelte-iylqir::-webkit-scrollbar{width:0px}.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{display:flex;justify-content:flex-start;align-items:center;background-color:rgba(243, 150, 57, 0.1);border:1px solid transparent;cursor:pointer;transition:background-color 0.2s linear, border-color 0.2s linear;border-radius:calc(0.0052083333 * 100vw + 0px);padding-left:calc(0.0104166667 * 100vw + 0px);padding-right:calc(0.0104166667 * 100vw + 0px);width:calc(0.4427083333 * 100vw + 0px);height:calc(0.0364583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{padding-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{padding-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{padding-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{padding-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{padding-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{padding-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{padding-left:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{padding-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{padding-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{padding-right:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{padding-right:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{padding-right:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{padding-right:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{padding-right:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{width:calc(0.4427083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{width:calc(0.4427083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{width:calc(0.3408854167 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{width:calc(0.4869791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{width:calc(0.3098958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{width:calc(0.3984375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{width:calc(0.4869791667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{height:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{height:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{height:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir{height:calc(0.0401041667 * 100vw + 0px)}}.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir:not(:first-child){margin-top:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir:not(:first-child){margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir:not(:first-child){margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir:not(:first-child){margin-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir:not(:first-child){margin-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir:not(:first-child){margin-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir:not(:first-child){margin-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir:not(:first-child){margin-top:calc(0.0057291667 * 100vw + 0px)}}.train-job-quests__quests-item.svelte-iylqir.svelte-iylqir:hover{background-color:rgba(243, 150, 57, 0.2)}.train-job-quests__quests-item--completed.svelte-iylqir.svelte-iylqir{background-color:rgba(155, 220, 98, 0.1)}.train-job-quests__quests-item--completed.svelte-iylqir .train-job-quests__quests-item-info-icon.svelte-iylqir{color:#9BDC62}.train-job-quests__quests-item--completed.svelte-iylqir .train-job-quests__quests-item-info-line.svelte-iylqir{background-color:#9BDC62}.train-job-quests__quests-item--completed.svelte-iylqir .train-job-quests__quests-item-button.svelte-iylqir{background-color:#9BDC62;gap:calc(0.003125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-item--completed.svelte-iylqir .train-job-quests__quests-item-button.svelte-iylqir{gap:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-item--completed.svelte-iylqir .train-job-quests__quests-item-button.svelte-iylqir{gap:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-item--completed.svelte-iylqir .train-job-quests__quests-item-button.svelte-iylqir{gap:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-item--completed.svelte-iylqir .train-job-quests__quests-item-button.svelte-iylqir{gap:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-item--completed.svelte-iylqir .train-job-quests__quests-item-button.svelte-iylqir{gap:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-item--completed.svelte-iylqir .train-job-quests__quests-item-button.svelte-iylqir{gap:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-item--completed.svelte-iylqir .train-job-quests__quests-item-button.svelte-iylqir{gap:calc(0.0034375 * 100vw + 0px)}}.train-job-quests__quests-item--completed.svelte-iylqir .train-job-quests__quests-item-button.svelte-iylqir:hover{background-color:rgba(155, 220, 98, 0.5)}.train-job-quests__quests-item--completed.svelte-iylqir.svelte-iylqir:hover{background-color:rgba(155, 220, 98, 0.2)}.train-job-quests__quests-item--notStarted.svelte-iylqir.svelte-iylqir{background-color:rgba(255, 255, 255, 0.1)}.train-job-quests__quests-item--notStarted.svelte-iylqir .train-job-quests__quests-item-info-icon.svelte-iylqir{color:#FFFFFF}.train-job-quests__quests-item--notStarted.svelte-iylqir .train-job-quests__quests-item-info-line.svelte-iylqir{background-color:#6C757D}.train-job-quests__quests-item--notStarted.svelte-iylqir .train-job-quests__quests-item-button.svelte-iylqir{background-color:#FFFFFF;gap:calc(0.003125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-item--notStarted.svelte-iylqir .train-job-quests__quests-item-button.svelte-iylqir{gap:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-item--notStarted.svelte-iylqir .train-job-quests__quests-item-button.svelte-iylqir{gap:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-item--notStarted.svelte-iylqir .train-job-quests__quests-item-button.svelte-iylqir{gap:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-item--notStarted.svelte-iylqir .train-job-quests__quests-item-button.svelte-iylqir{gap:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-item--notStarted.svelte-iylqir .train-job-quests__quests-item-button.svelte-iylqir{gap:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-item--notStarted.svelte-iylqir .train-job-quests__quests-item-button.svelte-iylqir{gap:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-item--notStarted.svelte-iylqir .train-job-quests__quests-item-button.svelte-iylqir{gap:calc(0.0034375 * 100vw + 0px)}}.train-job-quests__quests-item--notStarted.svelte-iylqir .train-job-quests__quests-item-button.svelte-iylqir:hover{background-color:rgba(255, 255, 255, 0.5)}.train-job-quests__quests-item--notStarted.svelte-iylqir .train-job-quests__quests-item-button-icon.svelte-iylqir{font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-item--notStarted.svelte-iylqir .train-job-quests__quests-item-button-icon.svelte-iylqir{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-item--notStarted.svelte-iylqir .train-job-quests__quests-item-button-icon.svelte-iylqir{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-item--notStarted.svelte-iylqir .train-job-quests__quests-item-button-icon.svelte-iylqir{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-item--notStarted.svelte-iylqir .train-job-quests__quests-item-button-icon.svelte-iylqir{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-item--notStarted.svelte-iylqir .train-job-quests__quests-item-button-icon.svelte-iylqir{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-item--notStarted.svelte-iylqir .train-job-quests__quests-item-button-icon.svelte-iylqir{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-item--notStarted.svelte-iylqir .train-job-quests__quests-item-button-icon.svelte-iylqir{font-size:calc(0.0057291667 * 100vw + 0px)}}.train-job-quests__quests-item--notStarted.svelte-iylqir.svelte-iylqir:hover{background-color:rgba(255, 255, 255, 0.2)}.train-job-quests__quests-item--disable.svelte-iylqir.svelte-iylqir{background-color:transparent;border:1px solid rgba(255, 255, 255, 0.1)}.train-job-quests__quests-item--disable.svelte-iylqir .train-job-quests__quests-item-info-icon.svelte-iylqir{color:#6C757D}.train-job-quests__quests-item--disable.svelte-iylqir .train-job-quests__quests-item-info-line-wrapper.svelte-iylqir{width:calc(0.421875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-item--disable.svelte-iylqir .train-job-quests__quests-item-info-line-wrapper.svelte-iylqir{width:calc(0.421875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-item--disable.svelte-iylqir .train-job-quests__quests-item-info-line-wrapper.svelte-iylqir{width:calc(0.421875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-item--disable.svelte-iylqir .train-job-quests__quests-item-info-line-wrapper.svelte-iylqir{width:calc(0.32484375 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-item--disable.svelte-iylqir .train-job-quests__quests-item-info-line-wrapper.svelte-iylqir{width:calc(0.4640625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-item--disable.svelte-iylqir .train-job-quests__quests-item-info-line-wrapper.svelte-iylqir{width:calc(0.2953125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-item--disable.svelte-iylqir .train-job-quests__quests-item-info-line-wrapper.svelte-iylqir{width:calc(0.3796875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-item--disable.svelte-iylqir .train-job-quests__quests-item-info-line-wrapper.svelte-iylqir{width:calc(0.4640625 * 100vw + 0px)}}.train-job-quests__quests-item--disable.svelte-iylqir .train-job-quests__quests-item-info-line.svelte-iylqir{background-color:#6C757D}.train-job-quests__quests-item--disable.svelte-iylqir.svelte-iylqir:hover{background-color:transparent;border-color:rgba(255, 255, 255, 0.2)}.train-job-quests__quests-item-info.svelte-iylqir.svelte-iylqir{display:flex;align-items:center}.train-job-quests__quests-item-info-icon.svelte-iylqir.svelte-iylqir{color:#F39639;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-item-info-icon.svelte-iylqir.svelte-iylqir{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-item-info-icon.svelte-iylqir.svelte-iylqir{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-item-info-icon.svelte-iylqir.svelte-iylqir{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-item-info-icon.svelte-iylqir.svelte-iylqir{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-item-info-icon.svelte-iylqir.svelte-iylqir{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-item-info-icon.svelte-iylqir.svelte-iylqir{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-item-info-icon.svelte-iylqir.svelte-iylqir{font-size:calc(0.0091666667 * 100vw + 0px)}}.train-job-quests__quests-item-info-title.svelte-iylqir.svelte-iylqir{font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.0083333333 * 100vw + 0px);margin-left:calc(0.0052083333 * 100vw + 0px);margin-right:calc(0.0052083333 * 100vw + 0px);width:calc(0.1671875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-item-info-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-item-info-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-item-info-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-item-info-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-item-info-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-item-info-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-item-info-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-item-info-title.svelte-iylqir.svelte-iylqir{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-item-info-title.svelte-iylqir.svelte-iylqir{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-item-info-title.svelte-iylqir.svelte-iylqir{margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-item-info-title.svelte-iylqir.svelte-iylqir{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-item-info-title.svelte-iylqir.svelte-iylqir{margin-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-item-info-title.svelte-iylqir.svelte-iylqir{margin-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-item-info-title.svelte-iylqir.svelte-iylqir{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-item-info-title.svelte-iylqir.svelte-iylqir{margin-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-item-info-title.svelte-iylqir.svelte-iylqir{margin-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-item-info-title.svelte-iylqir.svelte-iylqir{margin-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-item-info-title.svelte-iylqir.svelte-iylqir{margin-right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-item-info-title.svelte-iylqir.svelte-iylqir{margin-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-item-info-title.svelte-iylqir.svelte-iylqir{margin-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-item-info-title.svelte-iylqir.svelte-iylqir{margin-right:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-item-info-title.svelte-iylqir.svelte-iylqir{width:calc(0.1671875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-item-info-title.svelte-iylqir.svelte-iylqir{width:calc(0.1671875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-item-info-title.svelte-iylqir.svelte-iylqir{width:calc(0.128734375 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-item-info-title.svelte-iylqir.svelte-iylqir{width:calc(0.18390625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-item-info-title.svelte-iylqir.svelte-iylqir{width:calc(0.11703125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-item-info-title.svelte-iylqir.svelte-iylqir{width:calc(0.15046875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-item-info-title.svelte-iylqir.svelte-iylqir{width:calc(0.18390625 * 100vw + 0px)}}.train-job-quests__quests-item-info-line-wrapper.svelte-iylqir.svelte-iylqir{display:flex;align-items:center;position:relative;background-color:#6C757D;overflow:hidden;border-radius:calc(0.0010416667 * 100vw + 0px);margin-top:calc(0.00625 * 100vw + 0px);width:calc(0.3375 * 100vw + 0px);height:calc(0.0010416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-item-info-line-wrapper.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-item-info-line-wrapper.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-item-info-line-wrapper.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-item-info-line-wrapper.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-item-info-line-wrapper.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-item-info-line-wrapper.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-item-info-line-wrapper.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0011458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-item-info-line-wrapper.svelte-iylqir.svelte-iylqir{margin-top:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-item-info-line-wrapper.svelte-iylqir.svelte-iylqir{margin-top:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-item-info-line-wrapper.svelte-iylqir.svelte-iylqir{margin-top:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-item-info-line-wrapper.svelte-iylqir.svelte-iylqir{margin-top:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-item-info-line-wrapper.svelte-iylqir.svelte-iylqir{margin-top:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-item-info-line-wrapper.svelte-iylqir.svelte-iylqir{margin-top:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-item-info-line-wrapper.svelte-iylqir.svelte-iylqir{margin-top:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-item-info-line-wrapper.svelte-iylqir.svelte-iylqir{width:calc(0.3375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-item-info-line-wrapper.svelte-iylqir.svelte-iylqir{width:calc(0.3375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-item-info-line-wrapper.svelte-iylqir.svelte-iylqir{width:calc(0.259875 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-item-info-line-wrapper.svelte-iylqir.svelte-iylqir{width:calc(0.37125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-item-info-line-wrapper.svelte-iylqir.svelte-iylqir{width:calc(0.23625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-item-info-line-wrapper.svelte-iylqir.svelte-iylqir{width:calc(0.30375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-item-info-line-wrapper.svelte-iylqir.svelte-iylqir{width:calc(0.37125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-item-info-line-wrapper.svelte-iylqir.svelte-iylqir{height:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-item-info-line-wrapper.svelte-iylqir.svelte-iylqir{height:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-item-info-line-wrapper.svelte-iylqir.svelte-iylqir{height:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-item-info-line-wrapper.svelte-iylqir.svelte-iylqir{height:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-item-info-line-wrapper.svelte-iylqir.svelte-iylqir{height:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-item-info-line-wrapper.svelte-iylqir.svelte-iylqir{height:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-item-info-line-wrapper.svelte-iylqir.svelte-iylqir{height:calc(0.0011458333 * 100vw + 0px)}}.train-job-quests__quests-item-info-line.svelte-iylqir.svelte-iylqir{background-color:#F39639;position:absolute;left:0;height:100%;width:0}.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{display:flex;align-items:center;justify-content:center;background-color:#F39639;border-radius:calc(0.003125 * 100vw + 0px);gap:calc(0.0015625 * 100vw + 0px);margin-left:calc(0.00625 * 100vw + 0px);width:calc(0.078125 * 100vw + 0px);height:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{border-radius:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{border-radius:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{border-radius:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{gap:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{gap:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{gap:calc(0.001203125 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{gap:calc(0.00171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{gap:calc(0.00109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{gap:calc(0.00140625 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{gap:calc(0.00171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{margin-left:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{margin-left:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{margin-left:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{margin-left:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{margin-left:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{margin-left:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{margin-left:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{width:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{width:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{width:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{width:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{width:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{width:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{width:calc(0.0859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{height:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{height:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{height:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{height:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{height:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{height:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir{height:calc(0.0183333333 * 100vw + 0px)}}.train-job-quests__quests-item-button.svelte-iylqir.svelte-iylqir:hover{background-color:rgba(243, 150, 57, 0.5)}.train-job-quests__quests-item-button-icon.svelte-iylqir.svelte-iylqir{color:#22272E;font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-item-button-icon.svelte-iylqir.svelte-iylqir{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-item-button-icon.svelte-iylqir.svelte-iylqir{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-item-button-icon.svelte-iylqir.svelte-iylqir{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-item-button-icon.svelte-iylqir.svelte-iylqir{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-item-button-icon.svelte-iylqir.svelte-iylqir{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-item-button-icon.svelte-iylqir.svelte-iylqir{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-item-button-icon.svelte-iylqir.svelte-iylqir{font-size:calc(0.006875 * 100vw + 0px)}}.train-job-quests__quests-item-button-title.svelte-iylqir.svelte-iylqir{font-family:PFDinDisplayProRegular;color:#22272E;font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-item-button-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-item-button-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-item-button-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-item-button-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-item-button-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-item-button-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-item-button-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.006875 * 100vw + 0px)}}.train-job-quests__quests-stats.svelte-iylqir.svelte-iylqir{z-index:3;position:absolute;display:flex;flex-direction:column;align-items:flex-end;right:calc(0.0260416667 * 100vw + 0px);bottom:calc(0.0338541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-stats.svelte-iylqir.svelte-iylqir{right:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-stats.svelte-iylqir.svelte-iylqir{right:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-stats.svelte-iylqir.svelte-iylqir{right:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-stats.svelte-iylqir.svelte-iylqir{right:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-stats.svelte-iylqir.svelte-iylqir{right:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-stats.svelte-iylqir.svelte-iylqir{right:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-stats.svelte-iylqir.svelte-iylqir{right:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-stats.svelte-iylqir.svelte-iylqir{bottom:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-stats.svelte-iylqir.svelte-iylqir{bottom:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-stats.svelte-iylqir.svelte-iylqir{bottom:calc(0.0260677083 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-stats.svelte-iylqir.svelte-iylqir{bottom:calc(0.0372395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-stats.svelte-iylqir.svelte-iylqir{bottom:calc(0.0236979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-stats.svelte-iylqir.svelte-iylqir{bottom:calc(0.03046875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-stats.svelte-iylqir.svelte-iylqir{bottom:calc(0.0372395833 * 100vw + 0px)}}.train-job-quests__quests-stats-name.svelte-iylqir.svelte-iylqir{font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.0442708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-stats-name.svelte-iylqir.svelte-iylqir{font-size:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-stats-name.svelte-iylqir.svelte-iylqir{font-size:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-stats-name.svelte-iylqir.svelte-iylqir{font-size:calc(0.0340885417 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-stats-name.svelte-iylqir.svelte-iylqir{font-size:calc(0.0486979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-stats-name.svelte-iylqir.svelte-iylqir{font-size:calc(0.0309895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-stats-name.svelte-iylqir.svelte-iylqir{font-size:calc(0.03984375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-stats-name.svelte-iylqir.svelte-iylqir{font-size:calc(0.0486979167 * 100vw + 0px)}}.train-job-quests__quests-stats-title.svelte-iylqir.svelte-iylqir{font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.0145833333 * 100vw + 0px);margin-top:calc(0.0260416667 * 100vw + 0px);margin-bottom:calc(0.0161458333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-stats-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-stats-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-stats-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-stats-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-stats-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-stats-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-stats-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-stats-title.svelte-iylqir.svelte-iylqir{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-stats-title.svelte-iylqir.svelte-iylqir{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-stats-title.svelte-iylqir.svelte-iylqir{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-stats-title.svelte-iylqir.svelte-iylqir{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-stats-title.svelte-iylqir.svelte-iylqir{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-stats-title.svelte-iylqir.svelte-iylqir{margin-top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-stats-title.svelte-iylqir.svelte-iylqir{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-stats-title.svelte-iylqir.svelte-iylqir{margin-bottom:calc(0.0161458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-stats-title.svelte-iylqir.svelte-iylqir{margin-bottom:calc(0.0161458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-stats-title.svelte-iylqir.svelte-iylqir{margin-bottom:calc(0.0124322917 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-stats-title.svelte-iylqir.svelte-iylqir{margin-bottom:calc(0.0177604167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-stats-title.svelte-iylqir.svelte-iylqir{margin-bottom:calc(0.0113020833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-stats-title.svelte-iylqir.svelte-iylqir{margin-bottom:calc(0.01453125 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-stats-title.svelte-iylqir.svelte-iylqir{margin-bottom:calc(0.0177604167 * 100vw + 0px)}}.train-job-quests__quests-stats-info-wrapper.svelte-iylqir.svelte-iylqir{display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:#22272E;border-radius:calc(0.0052083333 * 100vw + 0px);margin-bottom:calc(0.0260416667 * 100vw + 0px);width:calc(0.2604166667 * 100vw + 0px);height:calc(0.0604166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-stats-info-wrapper.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-stats-info-wrapper.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-stats-info-wrapper.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-stats-info-wrapper.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-stats-info-wrapper.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-stats-info-wrapper.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-stats-info-wrapper.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-stats-info-wrapper.svelte-iylqir.svelte-iylqir{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-stats-info-wrapper.svelte-iylqir.svelte-iylqir{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-stats-info-wrapper.svelte-iylqir.svelte-iylqir{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-stats-info-wrapper.svelte-iylqir.svelte-iylqir{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-stats-info-wrapper.svelte-iylqir.svelte-iylqir{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-stats-info-wrapper.svelte-iylqir.svelte-iylqir{margin-bottom:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-stats-info-wrapper.svelte-iylqir.svelte-iylqir{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-stats-info-wrapper.svelte-iylqir.svelte-iylqir{width:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-stats-info-wrapper.svelte-iylqir.svelte-iylqir{width:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-stats-info-wrapper.svelte-iylqir.svelte-iylqir{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-stats-info-wrapper.svelte-iylqir.svelte-iylqir{width:calc(0.2864583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-stats-info-wrapper.svelte-iylqir.svelte-iylqir{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-stats-info-wrapper.svelte-iylqir.svelte-iylqir{width:calc(0.234375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-stats-info-wrapper.svelte-iylqir.svelte-iylqir{width:calc(0.2864583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-stats-info-wrapper.svelte-iylqir.svelte-iylqir{height:calc(0.0604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-stats-info-wrapper.svelte-iylqir.svelte-iylqir{height:calc(0.0604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-stats-info-wrapper.svelte-iylqir.svelte-iylqir{height:calc(0.0465208333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-stats-info-wrapper.svelte-iylqir.svelte-iylqir{height:calc(0.0664583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-stats-info-wrapper.svelte-iylqir.svelte-iylqir{height:calc(0.0422916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-stats-info-wrapper.svelte-iylqir.svelte-iylqir{height:calc(0.054375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-stats-info-wrapper.svelte-iylqir.svelte-iylqir{height:calc(0.0664583333 * 100vw + 0px)}}.train-job-quests__quests-stats-info.svelte-iylqir.svelte-iylqir{display:flex;align-items:center;justify-content:space-between;width:100%;padding-left:calc(0.0130208333 * 100vw + 0px);padding-right:calc(0.0130208333 * 100vw + 0px);margin-bottom:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-stats-info.svelte-iylqir.svelte-iylqir{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-stats-info.svelte-iylqir.svelte-iylqir{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-stats-info.svelte-iylqir.svelte-iylqir{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-stats-info.svelte-iylqir.svelte-iylqir{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-stats-info.svelte-iylqir.svelte-iylqir{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-stats-info.svelte-iylqir.svelte-iylqir{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-stats-info.svelte-iylqir.svelte-iylqir{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-stats-info.svelte-iylqir.svelte-iylqir{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-stats-info.svelte-iylqir.svelte-iylqir{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-stats-info.svelte-iylqir.svelte-iylqir{padding-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-stats-info.svelte-iylqir.svelte-iylqir{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-stats-info.svelte-iylqir.svelte-iylqir{padding-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-stats-info.svelte-iylqir.svelte-iylqir{padding-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-stats-info.svelte-iylqir.svelte-iylqir{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-stats-info.svelte-iylqir.svelte-iylqir{margin-bottom:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-stats-info.svelte-iylqir.svelte-iylqir{margin-bottom:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-stats-info.svelte-iylqir.svelte-iylqir{margin-bottom:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-stats-info.svelte-iylqir.svelte-iylqir{margin-bottom:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-stats-info.svelte-iylqir.svelte-iylqir{margin-bottom:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-stats-info.svelte-iylqir.svelte-iylqir{margin-bottom:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-stats-info.svelte-iylqir.svelte-iylqir{margin-bottom:calc(0.0091666667 * 100vw + 0px)}}.train-job-quests__quests-stats-info-lvl.svelte-iylqir.svelte-iylqir{display:flex;align-items:center;justify-content:center;gap:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-stats-info-lvl.svelte-iylqir.svelte-iylqir{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-stats-info-lvl.svelte-iylqir.svelte-iylqir{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-stats-info-lvl.svelte-iylqir.svelte-iylqir{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-stats-info-lvl.svelte-iylqir.svelte-iylqir{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-stats-info-lvl.svelte-iylqir.svelte-iylqir{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-stats-info-lvl.svelte-iylqir.svelte-iylqir{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-stats-info-lvl.svelte-iylqir.svelte-iylqir{gap:calc(0.0057291667 * 100vw + 0px)}}.train-job-quests__quests-stats-info-lvl-icon.svelte-iylqir.svelte-iylqir{color:#6C757D;font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-stats-info-lvl-icon.svelte-iylqir.svelte-iylqir{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-stats-info-lvl-icon.svelte-iylqir.svelte-iylqir{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-stats-info-lvl-icon.svelte-iylqir.svelte-iylqir{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-stats-info-lvl-icon.svelte-iylqir.svelte-iylqir{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-stats-info-lvl-icon.svelte-iylqir.svelte-iylqir{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-stats-info-lvl-icon.svelte-iylqir.svelte-iylqir{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-stats-info-lvl-icon.svelte-iylqir.svelte-iylqir{font-size:calc(0.0114583333 * 100vw + 0px)}}.train-job-quests__quests-stats-info-lvl-icon--nextLvl.svelte-iylqir.svelte-iylqir{color:#F39639}.train-job-quests__quests-stats-info-lvl-title.svelte-iylqir.svelte-iylqir{font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-stats-info-lvl-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-stats-info-lvl-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-stats-info-lvl-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-stats-info-lvl-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-stats-info-lvl-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-stats-info-lvl-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-stats-info-lvl-title.svelte-iylqir.svelte-iylqir{font-size:calc(0.0103125 * 100vw + 0px)}}.train-job-quests__quests-stats-line-wrapper.svelte-iylqir.svelte-iylqir{display:flex;align-items:center;position:relative;background-color:#6C757D;overflow:hidden;margin-bottom:calc(0.0083333333 * 100vw + 0px);width:calc(0.234375 * 100vw + 0px);height:calc(0.0010416667 * 100vw + 0px);border-radius:calc(0.0010416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-stats-line-wrapper.svelte-iylqir.svelte-iylqir{margin-bottom:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-stats-line-wrapper.svelte-iylqir.svelte-iylqir{margin-bottom:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-stats-line-wrapper.svelte-iylqir.svelte-iylqir{margin-bottom:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-stats-line-wrapper.svelte-iylqir.svelte-iylqir{margin-bottom:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-stats-line-wrapper.svelte-iylqir.svelte-iylqir{margin-bottom:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-stats-line-wrapper.svelte-iylqir.svelte-iylqir{margin-bottom:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-stats-line-wrapper.svelte-iylqir.svelte-iylqir{margin-bottom:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-stats-line-wrapper.svelte-iylqir.svelte-iylqir{width:calc(0.234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-stats-line-wrapper.svelte-iylqir.svelte-iylqir{width:calc(0.234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-stats-line-wrapper.svelte-iylqir.svelte-iylqir{width:calc(0.18046875 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-stats-line-wrapper.svelte-iylqir.svelte-iylqir{width:calc(0.2578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-stats-line-wrapper.svelte-iylqir.svelte-iylqir{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-stats-line-wrapper.svelte-iylqir.svelte-iylqir{width:calc(0.2109375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-stats-line-wrapper.svelte-iylqir.svelte-iylqir{width:calc(0.2578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-stats-line-wrapper.svelte-iylqir.svelte-iylqir{height:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-stats-line-wrapper.svelte-iylqir.svelte-iylqir{height:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-stats-line-wrapper.svelte-iylqir.svelte-iylqir{height:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-stats-line-wrapper.svelte-iylqir.svelte-iylqir{height:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-stats-line-wrapper.svelte-iylqir.svelte-iylqir{height:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-stats-line-wrapper.svelte-iylqir.svelte-iylqir{height:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-stats-line-wrapper.svelte-iylqir.svelte-iylqir{height:calc(0.0011458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-stats-line-wrapper.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-stats-line-wrapper.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-stats-line-wrapper.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-stats-line-wrapper.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-stats-line-wrapper.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-stats-line-wrapper.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-stats-line-wrapper.svelte-iylqir.svelte-iylqir{border-radius:calc(0.0011458333 * 100vw + 0px)}}.train-job-quests__quests-stats-line.svelte-iylqir.svelte-iylqir{background-color:#F39639;position:absolute;left:0;height:100%;width:0}.train-job-quests__quests-stats-exp.svelte-iylqir.svelte-iylqir{font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-quests__quests-stats-exp.svelte-iylqir.svelte-iylqir{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-quests__quests-stats-exp.svelte-iylqir.svelte-iylqir{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-quests__quests-stats-exp.svelte-iylqir.svelte-iylqir{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-quests__quests-stats-exp.svelte-iylqir.svelte-iylqir{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-quests__quests-stats-exp.svelte-iylqir.svelte-iylqir{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-quests__quests-stats-exp.svelte-iylqir.svelte-iylqir{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-quests__quests-stats-exp.svelte-iylqir.svelte-iylqir{font-size:calc(0.0103125 * 100vw + 0px)}}.train-job-quests__quests-stats-exp--dark.svelte-iylqir.svelte-iylqir{color:#6C757D}");
}

function train_job_quests_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[19] = list[i];
	return child_ctx;
}

function train_job_quests_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[22] = list[i];
	return child_ctx;
}

// (3598:12) {#each FILTERS_TABS as tab}
function train_job_quests_index_svelte_create_each_block_1(ctx) {
	let div;
	let i;
	let i_class_value;
	let t0;
	let p;
	let t1_value = /*tab*/ ctx[22].title + "";
	let t1;
	let t2;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[10](/*tab*/ ctx[22]);
	}

	function click_handler_1() {
		return /*click_handler_1*/ ctx[11](/*tab*/ ctx[22]);
	}

	return {
		c() {
			div = internal_element("div");
			i = internal_element("i");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(i, "class", i_class_value = "train-job-quests__quests-header-item-icon " + /*tab*/ ctx[22].icon + " svelte-iylqir");
			attr(p, "class", "train-job-quests__quests-header-item-title svelte-iylqir");
			attr(div, "class", "train-job-quests__quests-header-item svelte-iylqir");
			toggle_class(div, "train-job-quests__quests-header-item--selected", /*selectedTabId*/ ctx[2] === /*tab*/ ctx[22].id);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, i);
			append(div, t0);
			append(div, p);
			append(p, t1);
			append(div, t2);

			if (!mounted) {
				dispose = [
					listen(div, "click", click_handler),
					listen(div, "click", click_handler_1)
				];

				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*selectedTabId, FILTERS_TABS*/ 4) {
				toggle_class(div, "train-job-quests__quests-header-item--selected", /*selectedTabId*/ ctx[2] === /*tab*/ ctx[22].id);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (3628:28) {:else}
function train_job_quests_index_svelte_create_else_block(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "train-job-quests__quests-item-info-icon icon-train-warning svelte-iylqir");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (3626:129) 
function train_job_quests_index_svelte_create_if_block_5(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "train-job-quests__quests-item-info-icon icon-train-angle-right svelte-iylqir");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (3624:54) 
function train_job_quests_index_svelte_create_if_block_4(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "train-job-quests__quests-item-info-icon icon-train-circle-check svelte-iylqir");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (3622:28) {#if quest.inProgress}
function train_job_quests_index_svelte_create_if_block_3(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "train-job-quests__quests-item-info-icon icon-train-clock svelte-iylqir");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (3662:121) 
function train_job_quests_index_svelte_create_if_block_2(ctx) {
	let div;
	let mounted;
	let dispose;

	function click_handler_4() {
		return /*click_handler_4*/ ctx[14](/*quest*/ ctx[19]);
	}

	return {
		c() {
			div = internal_element("div");

			div.innerHTML = `<i class="train-job-quests__quests-item-button-icon icon-chevron-right svelte-iylqir"></i> 
                            <p class="train-job-quests__quests-item-button-title svelte-iylqir">Начать выполнение</p>`;

			attr(div, "class", "train-job-quests__quests-item-button svelte-iylqir");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = listen(div, "click", click_handler_4);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (3652:46) 
function train_job_quests_index_svelte_create_if_block_1(ctx) {
	let div;
	let mounted;
	let dispose;

	function click_handler_3() {
		return /*click_handler_3*/ ctx[13](/*quest*/ ctx[19]);
	}

	return {
		c() {
			div = internal_element("div");

			div.innerHTML = `<i class="train-job-quests__quests-item-button-icon icon-train-circle-check svelte-iylqir"></i> 
                            <p class="train-job-quests__quests-item-button-title svelte-iylqir">Получить награду</p>`;

			attr(div, "class", "train-job-quests__quests-item-button svelte-iylqir");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = listen(div, "click", click_handler_3);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (3642:20) {#if quest.inProgress}
function train_job_quests_index_svelte_create_if_block(ctx) {
	let div;
	let mounted;
	let dispose;

	function click_handler_2() {
		return /*click_handler_2*/ ctx[12](/*quest*/ ctx[19]);
	}

	return {
		c() {
			div = internal_element("div");

			div.innerHTML = `<i class="train-job-quests__quests-item-button-icon icon-train-paste svelte-iylqir"></i> 
                            <p class="train-job-quests__quests-item-button-title svelte-iylqir">Посмотреть награды</p>`;

			attr(div, "class", "train-job-quests__quests-item-button svelte-iylqir");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = listen(div, "click", click_handler_2);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (3613:12) {#each actualList as quest}
function train_job_quests_index_svelte_create_each_block(ctx) {
	let div4;
	let div3;
	let div0;
	let t0;
	let p;
	let t1_value = /*quest*/ ctx[19].title + "";
	let t1;
	let t2;
	let div2;
	let div1;
	let div1_style_value;
	let t3;
	let t4;

	function select_block_type(ctx, dirty) {
		if (/*quest*/ ctx[19].inProgress) return train_job_quests_index_svelte_create_if_block_3;
		if (/*quest*/ ctx[19].completed) return train_job_quests_index_svelte_create_if_block_4;
		if (!/*quest*/ ctx[19].inProgress && !/*quest*/ ctx[19].completed && /*quest*/ ctx[19].needLevel <= /*currentPlayerInformation*/ ctx[0].level) return train_job_quests_index_svelte_create_if_block_5;
		return train_job_quests_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block0 = current_block_type(ctx);

	function select_block_type_1(ctx, dirty) {
		if (/*quest*/ ctx[19].inProgress) return train_job_quests_index_svelte_create_if_block;
		if (/*quest*/ ctx[19].completed) return train_job_quests_index_svelte_create_if_block_1;
		if (!/*quest*/ ctx[19].inProgress && !/*quest*/ ctx[19].completed && /*quest*/ ctx[19].needLevel <= /*currentPlayerInformation*/ ctx[0].level) return train_job_quests_index_svelte_create_if_block_2;
	}

	let current_block_type_1 = select_block_type_1(ctx, -1);
	let if_block1 = current_block_type_1 && current_block_type_1(ctx);

	return {
		c() {
			div4 = internal_element("div");
			div3 = internal_element("div");
			div0 = internal_element("div");
			if_block0.c();
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			div2 = internal_element("div");
			div1 = internal_element("div");
			t3 = space();
			if (if_block1) if_block1.c();
			t4 = space();
			attr(p, "class", "train-job-quests__quests-item-info-title svelte-iylqir");
			attr(div0, "class", "train-job-quests__quests-item-info svelte-iylqir");
			attr(div1, "class", "train-job-quests__quests-item-info-line svelte-iylqir");
			attr(div1, "style", div1_style_value = `width: ${/*quest*/ ctx[19].currentExp / (/*quest*/ ctx[19].maxExp / 100)}%;`);
			attr(div2, "class", "train-job-quests__quests-item-info-line-wrapper svelte-iylqir");
			attr(div3, "class", "train-job-quests__quests-item-info-wrapper");
			attr(div4, "class", "train-job-quests__quests-item svelte-iylqir");
			toggle_class(div4, "train-job-quests__quests-item--completed", /*quest*/ ctx[19].completed);
			toggle_class(div4, "train-job-quests__quests-item--notStarted", !/*quest*/ ctx[19].inProgress && !/*quest*/ ctx[19].completed && /*quest*/ ctx[19].needLevel <= /*currentPlayerInformation*/ ctx[0].level);
			toggle_class(div4, "train-job-quests__quests-item--disable", /*quest*/ ctx[19].needLevel > /*currentPlayerInformation*/ ctx[0].level);
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div3);
			append(div3, div0);
			if_block0.m(div0, null);
			append(div0, t0);
			append(div0, p);
			append(p, t1);
			append(div3, t2);
			append(div3, div2);
			append(div2, div1);
			append(div4, t3);
			if (if_block1) if_block1.m(div4, null);
			append(div4, t4);
		},
		p(ctx, dirty) {
			if (current_block_type !== (current_block_type = select_block_type(ctx, dirty))) {
				if_block0.d(1);
				if_block0 = current_block_type(ctx);

				if (if_block0) {
					if_block0.c();
					if_block0.m(div0, t0);
				}
			}

			if (dirty & /*actualList*/ 2 && t1_value !== (t1_value = /*quest*/ ctx[19].title + "")) set_data(t1, t1_value);

			if (dirty & /*actualList*/ 2 && div1_style_value !== (div1_style_value = `width: ${/*quest*/ ctx[19].currentExp / (/*quest*/ ctx[19].maxExp / 100)}%;`)) {
				attr(div1, "style", div1_style_value);
			}

			if (current_block_type_1 === (current_block_type_1 = select_block_type_1(ctx, dirty)) && if_block1) {
				if_block1.p(ctx, dirty);
			} else {
				if (if_block1) if_block1.d(1);
				if_block1 = current_block_type_1 && current_block_type_1(ctx);

				if (if_block1) {
					if_block1.c();
					if_block1.m(div4, t4);
				}
			}

			if (dirty & /*actualList*/ 2) {
				toggle_class(div4, "train-job-quests__quests-item--completed", /*quest*/ ctx[19].completed);
			}

			if (dirty & /*actualList, currentPlayerInformation*/ 3) {
				toggle_class(div4, "train-job-quests__quests-item--notStarted", !/*quest*/ ctx[19].inProgress && !/*quest*/ ctx[19].completed && /*quest*/ ctx[19].needLevel <= /*currentPlayerInformation*/ ctx[0].level);
			}

			if (dirty & /*actualList, currentPlayerInformation*/ 3) {
				toggle_class(div4, "train-job-quests__quests-item--disable", /*quest*/ ctx[19].needLevel > /*currentPlayerInformation*/ ctx[0].level);
			}
		},
		d(detaching) {
			if (detaching) detach(div4);
			if_block0.d();

			if (if_block1) {
				if_block1.d();
			}
		}
	};
}

function train_job_quests_index_svelte_create_fragment(ctx) {
	let div12;
	let img0;
	let img0_src_value;
	let t0;
	let div1;
	let div0;
	let i0;
	let t1;
	let img1;
	let img1_src_value;
	let t2;
	let p0;
	let t4;
	let p1;
	let t6;
	let div4;
	let div2;
	let t7;
	let div3;
	let t8;
	let div11;
	let p2;
	let t9_value = /*currentPlayerInformation*/ ctx[0].name + "";
	let t9;
	let t10;
	let p3;
	let t12;
	let div10;
	let div7;
	let div5;
	let i1;
	let t13;
	let p4;
	let t14_value = /*currentPlayerInformation*/ ctx[0].level + "";
	let t14;
	let t15;
	let t16;
	let div6;
	let i2;
	let t17;
	let p5;
	let t18_value = /*currentPlayerInformation*/ ctx[0].level + 1 + "";
	let t18;
	let t19;
	let t20;
	let div9;
	let div8;
	let div8_style_value;
	let t21;
	let p6;
	let t22_value = /*currentPlayerInformation*/ ctx[0].currentExp + "";
	let t22;
	let t23;
	let span;
	let t24;
	let t25_value = /*currentPlayerInformation*/ ctx[0].maxExp + "";
	let t25;
	let t26;
	let mounted;
	let dispose;
	let each_value_1 = constants_FILTERS_TABS;
	let each_blocks_1 = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks_1[i] = train_job_quests_index_svelte_create_each_block_1(train_job_quests_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	let each_value = /*actualList*/ ctx[1];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = train_job_quests_index_svelte_create_each_block(train_job_quests_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div12 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			div1 = internal_element("div");
			div0 = internal_element("div");
			i0 = internal_element("i");
			t1 = space();
			img1 = internal_element("img");
			t2 = space();
			p0 = internal_element("p");
			p0.textContent = "Центральное депо";
			t4 = space();
			p1 = internal_element("p");
			p1.textContent = "Достижения";
			t6 = space();
			div4 = internal_element("div");
			div2 = internal_element("div");

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].c();
			}

			t7 = space();
			div3 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t8 = space();
			div11 = internal_element("div");
			p2 = internal_element("p");
			t9 = internal_text(t9_value);
			t10 = space();
			p3 = internal_element("p");
			p3.textContent = "Прогресс";
			t12 = space();
			div10 = internal_element("div");
			div7 = internal_element("div");
			div5 = internal_element("div");
			i1 = internal_element("i");
			t13 = space();
			p4 = internal_element("p");
			t14 = internal_text(t14_value);
			t15 = internal_text(" уровень");
			t16 = space();
			div6 = internal_element("div");
			i2 = internal_element("i");
			t17 = space();
			p5 = internal_element("p");
			t18 = internal_text(t18_value);
			t19 = internal_text(" уровень");
			t20 = space();
			div9 = internal_element("div");
			div8 = internal_element("div");
			t21 = space();
			p6 = internal_element("p");
			t22 = internal_text(t22_value);
			t23 = space();
			span = internal_element("span");
			t24 = internal_text("/ ");
			t25 = internal_text(t25_value);
			t26 = internal_text(" exp");
			attr(img0, "class", "train-job-quests__background-img svelte-iylqir");
			if (!src_url_equal(img0.src, img0_src_value = machinist_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "machinist-img");
			attr(i0, "class", "train-job-quests__header-logo-icon icon-train-chevron-left svelte-iylqir");
			attr(img1, "class", "train-job-quests__header-logo-img svelte-iylqir");
			if (!src_url_equal(img1.src, img1_src_value = train_job_img_logo_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "logo-img");
			attr(p0, "class", "train-job-quests__header-logo-title svelte-iylqir");
			attr(div0, "class", "train-job-quests__header-logo svelte-iylqir");
			attr(p1, "class", "train-job-quests__header-title svelte-iylqir");
			attr(div1, "class", "train-job-quests__header svelte-iylqir");
			attr(div2, "class", "train-job-quests__quests-header svelte-iylqir");
			attr(div3, "class", "train-job-quests__quests-list svelte-iylqir");
			attr(div4, "class", "train-job-quests__quests svelte-iylqir");
			attr(p2, "class", "train-job-quests__quests-stats-name svelte-iylqir");
			attr(p3, "class", "train-job-quests__quests-stats-title svelte-iylqir");
			attr(i1, "class", "train-job-quests__quests-stats-info-lvl-icon icon-train-rank svelte-iylqir");
			attr(p4, "class", "train-job-quests__quests-stats-info-lvl-title svelte-iylqir");
			attr(div5, "class", "train-job-quests__quests-stats-info-lvl svelte-iylqir");
			attr(i2, "class", "train-job-quests__quests-stats-info-lvl-icon train-job-quests__quests-stats-info-lvl-icon--nextLvl icon-train-rank svelte-iylqir");
			attr(p5, "class", "train-job-quests__quests-stats-info-lvl-title svelte-iylqir");
			attr(div6, "class", "train-job-quests__quests-stats-info-lvl svelte-iylqir");
			attr(div7, "class", "train-job-quests__quests-stats-info svelte-iylqir");
			attr(div8, "class", "train-job-quests__quests-stats-line svelte-iylqir");
			attr(div8, "style", div8_style_value = `width: ${/*currentPlayerInformation*/ ctx[0].currentExp / (/*currentPlayerInformation*/ ctx[0].maxExp / 100)}%;`);
			attr(div9, "class", "train-job-quests__quests-stats-line-wrapper svelte-iylqir");
			attr(span, "class", "train-job-quests__quests-stats-exp--dark svelte-iylqir");
			attr(p6, "class", "train-job-quests__quests-stats-exp svelte-iylqir");
			attr(div10, "class", "train-job-quests__quests-stats-info-wrapper svelte-iylqir");
			attr(div11, "class", "train-job-quests__quests-stats svelte-iylqir");
			attr(div12, "class", "train-job-quests svelte-iylqir");
		},
		m(target, anchor) {
			insert(target, div12, anchor);
			append(div12, img0);
			append(div12, t0);
			append(div12, div1);
			append(div1, div0);
			append(div0, i0);
			append(div0, t1);
			append(div0, img1);
			append(div0, t2);
			append(div0, p0);
			append(div1, t4);
			append(div1, p1);
			append(div12, t6);
			append(div12, div4);
			append(div4, div2);

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].m(div2, null);
			}

			append(div4, t7);
			append(div4, div3);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div3, null);
			}

			append(div12, t8);
			append(div12, div11);
			append(div11, p2);
			append(p2, t9);
			append(div11, t10);
			append(div11, p3);
			append(div11, t12);
			append(div11, div10);
			append(div10, div7);
			append(div7, div5);
			append(div5, i1);
			append(div5, t13);
			append(div5, p4);
			append(p4, t14);
			append(p4, t15);
			append(div7, t16);
			append(div7, div6);
			append(div6, i2);
			append(div6, t17);
			append(div6, p5);
			append(p5, t18);
			append(p5, t19);
			append(div10, t20);
			append(div10, div9);
			append(div9, div8);
			append(div10, t21);
			append(div10, p6);
			append(p6, t22);
			append(p6, t23);
			append(p6, span);
			append(span, t24);
			append(span, t25);
			append(span, t26);

			if (!mounted) {
				dispose = listen(i0, "click", /*back*/ ctx[4]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*selectedTabId, FILTERS_TABS, selectTab, sort*/ 268) {
				each_value_1 = constants_FILTERS_TABS;
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = train_job_quests_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks_1[i]) {
						each_blocks_1[i].p(child_ctx, dirty);
					} else {
						each_blocks_1[i] = train_job_quests_index_svelte_create_each_block_1(child_ctx);
						each_blocks_1[i].c();
						each_blocks_1[i].m(div2, null);
					}
				}

				for (; i < each_blocks_1.length; i += 1) {
					each_blocks_1[i].d(1);
				}

				each_blocks_1.length = each_value_1.length;
			}

			if (dirty & /*actualList, currentPlayerInformation, lookReward, getReward, startQuest*/ 227) {
				each_value = /*actualList*/ ctx[1];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = train_job_quests_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = train_job_quests_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div3, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if (dirty & /*currentPlayerInformation*/ 1 && t9_value !== (t9_value = /*currentPlayerInformation*/ ctx[0].name + "")) set_data(t9, t9_value);
			if (dirty & /*currentPlayerInformation*/ 1 && t14_value !== (t14_value = /*currentPlayerInformation*/ ctx[0].level + "")) set_data(t14, t14_value);
			if (dirty & /*currentPlayerInformation*/ 1 && t18_value !== (t18_value = /*currentPlayerInformation*/ ctx[0].level + 1 + "")) set_data(t18, t18_value);

			if (dirty & /*currentPlayerInformation*/ 1 && div8_style_value !== (div8_style_value = `width: ${/*currentPlayerInformation*/ ctx[0].currentExp / (/*currentPlayerInformation*/ ctx[0].maxExp / 100)}%;`)) {
				attr(div8, "style", div8_style_value);
			}

			if (dirty & /*currentPlayerInformation*/ 1 && t22_value !== (t22_value = /*currentPlayerInformation*/ ctx[0].currentExp + "")) set_data(t22, t22_value);
			if (dirty & /*currentPlayerInformation*/ 1 && t25_value !== (t25_value = /*currentPlayerInformation*/ ctx[0].maxExp + "")) set_data(t25, t25_value);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div12);
			destroy_each(each_blocks_1, detaching);
			destroy_each(each_blocks, detaching);
			mounted = false;
			dispose();
		}
	};
}

function train_job_quests_index_svelte_instance($$self, $$props, $$invalidate) {
	let currentPlayerInformation = {};
	let currentQuestsInformation = [];
	let actualList = [];
	let selectedTabId = 'all';

	const initializePlayerInformation = currentPlayerInformationDto => {
		$$invalidate(0, currentPlayerInformation = currentPlayerInformationDto);
	};

	const initializeQuestsInformation = currentQuestsInformationDto => {
		$$invalidate(9, currentQuestsInformation = currentQuestsInformationDto);
	};

	const selectTab = id => {
		$$invalidate(2, selectedTabId = id);
	};

	const back = () => {
		sendClientMessage('trainJob.quests.back');
	};

	const getReward = id => {
		sendClientMessage('trainJob.quests.takeReward', id);
	};

	const lookReward = id => {
		sendClientMessage('trainJob.quests.lookReward', id);
	};

	const startQuest = id => {
		sendClientMessage('trainJob.quests.startQuest', id);
	};

	const sort = id => {
		if (selectedTabId === 'inProgress' || selectedTabId === 'completed') {
			$$invalidate(1, actualList = currentQuestsInformation);
			$$invalidate(1, actualList = actualList.filter((a, b) => !a[id] - !b[id]));
		} else if (selectedTabId === 'all') {
			$$invalidate(1, actualList = currentQuestsInformation);
		} else if (selectedTabId === 'disable') {
			$$invalidate(1, actualList = currentQuestsInformation);
			$$invalidate(1, actualList = actualList.filter(a => a.needLevel > currentPlayerInformation.level));
		}
	};

	const unregisterPlayerInformationEvent = registerEvent('trainJob.quests.initializePlayerInformation', initializePlayerInformation);
	const unregisterQuestsInformationEvent = registerEvent('trainJob.quests.initializeQuestsInformation', initializeQuestsInformation);

	onDestroy(() => {
		unregisterPlayerInformationEvent();
		unregisterQuestsInformationEvent();
	});

	const click_handler = tab => selectTab(tab.id);
	const click_handler_1 = tab => sort(tab.id);
	const click_handler_2 = quest => lookReward(quest.id);
	const click_handler_3 = quest => getReward(quest.id);
	const click_handler_4 = quest => startQuest(quest.id);

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*currentQuestsInformation*/ 512) {
			$: {
				$$invalidate(1, actualList = currentQuestsInformation);
			}
		}
	};

	return [
		currentPlayerInformation,
		actualList,
		selectedTabId,
		selectTab,
		back,
		getReward,
		lookReward,
		startQuest,
		sort,
		currentQuestsInformation,
		click_handler,
		click_handler_1,
		click_handler_2,
		click_handler_3,
		click_handler_4
	];
}

class train_job_quests_index_svelte_Quests extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, train_job_quests_index_svelte_instance, train_job_quests_index_svelte_create_fragment, safe_not_equal, {}, train_job_quests_index_svelte_add_css);
	}
}

/* harmony default export */ const train_job_quests_index_svelte = (train_job_quests_index_svelte_Quests);
;// CONCATENATED MODULE: ./src/views/train-job/routes/img/train-img.png
const routes_img_train_img_namespaceObject = __webpack_require__.p + "assets/785cff95131f728aaa27.webp";
;// CONCATENATED MODULE: ./src/views/train-job/routes/index.svelte
/* src\views\train-job\routes\index.svelte generated by Svelte v3.49.0 */












function routes_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[15] = list[i];
	return child_ctx;
}

function routes_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[18] = list[i];
	return child_ctx;
}

// (85:12) {#each transports as transport}
function routes_index_svelte_create_each_block_1(ctx) {
	let div11;
	let img;
	let img_src_value;
	let t0;
	let div10;
	let p0;
	let t1_value = /*transport*/ ctx[18].title + "";
	let t1;
	let t2;
	let div9;
	let div2;
	let p1;
	let t4;
	let div1;
	let div0;
	let div0_style_value;
	let t5;
	let div5;
	let p2;
	let t7;
	let div4;
	let div3;
	let div3_style_value;
	let t8;
	let div8;
	let p3;
	let t10;
	let div7;
	let div6;
	let div6_style_value;
	let t11;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[9](/*transport*/ ctx[18]);
	}

	return {
		c() {
			div11 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div10 = internal_element("div");
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			div9 = internal_element("div");
			div2 = internal_element("div");
			p1 = internal_element("p");
			p1.textContent = "Мощность";
			t4 = space();
			div1 = internal_element("div");
			div0 = internal_element("div");
			t5 = space();
			div5 = internal_element("div");
			p2 = internal_element("p");
			p2.textContent = "Тормоза";
			t7 = space();
			div4 = internal_element("div");
			div3 = internal_element("div");
			t8 = space();
			div8 = internal_element("div");
			p3 = internal_element("p");
			p3.textContent = "Вместительность";
			t10 = space();
			div7 = internal_element("div");
			div6 = internal_element("div");
			t11 = space();
			attr(img, "class", "train-job-routes__transport-item-img");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/railway/images/trains/${/*transport*/ ctx[18].image}`)) attr(img, "src", img_src_value);
			attr(img, "alt", "transport-img");
			attr(p0, "class", "train-job-routes__transport-item-info-title");
			attr(p1, "class", "train-job-routes__transport-item-info-stats-item-title");
			attr(div0, "class", "train-job-routes__transport-item-info-stats-item-progress-value");
			attr(div0, "style", div0_style_value = `width: ${/*transport*/ ctx[18].enginePower / (100 / 100)}%;`);
			attr(div1, "class", "train-job-routes__transport-item-info-stats-item-progress");
			attr(div2, "class", "train-job-routes__transport-item-info-stats-item");
			attr(p2, "class", "train-job-routes__transport-item-info-stats-item-title");
			attr(div3, "class", "train-job-routes__transport-item-info-stats-item-progress-value");
			attr(div3, "style", div3_style_value = `width: ${/*transport*/ ctx[18].brakes / (100 / 100)}%;`);
			attr(div4, "class", "train-job-routes__transport-item-info-stats-item-progress");
			attr(div5, "class", "train-job-routes__transport-item-info-stats-item");
			attr(p3, "class", "train-job-routes__transport-item-info-stats-item-title");
			attr(div6, "class", "train-job-routes__transport-item-info-stats-item-progress-value");
			attr(div6, "style", div6_style_value = `width: ${/*transport*/ ctx[18].capacity / (100 / 100)}%;`);
			attr(div7, "class", "train-job-routes__transport-item-info-stats-item-progress");
			attr(div8, "class", "train-job-routes__transport-item-info-stats-item");
			attr(div9, "class", "train-job-routes__transport-item-info-stats-list");
			attr(div10, "class", "train-job-routes__transport-item-info");
			attr(div11, "class", "train-job-routes__transport-item");
			toggle_class(div11, "train-job-routes__transport-item--selected", /*selectedTransportId*/ ctx[2] === /*transport*/ ctx[18].id);
		},
		m(target, anchor) {
			insert(target, div11, anchor);
			append(div11, img);
			append(div11, t0);
			append(div11, div10);
			append(div10, p0);
			append(p0, t1);
			append(div10, t2);
			append(div10, div9);
			append(div9, div2);
			append(div2, p1);
			append(div2, t4);
			append(div2, div1);
			append(div1, div0);
			append(div9, t5);
			append(div9, div5);
			append(div5, p2);
			append(div5, t7);
			append(div5, div4);
			append(div4, div3);
			append(div9, t8);
			append(div9, div8);
			append(div8, p3);
			append(div8, t10);
			append(div8, div7);
			append(div7, div6);
			append(div11, t11);

			if (!mounted) {
				dispose = listen(div11, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*transports*/ 1 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/railway/images/trains/${/*transport*/ ctx[18].image}`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*transports*/ 1 && t1_value !== (t1_value = /*transport*/ ctx[18].title + "")) set_data(t1, t1_value);

			if (dirty & /*transports*/ 1 && div0_style_value !== (div0_style_value = `width: ${/*transport*/ ctx[18].enginePower / (100 / 100)}%;`)) {
				attr(div0, "style", div0_style_value);
			}

			if (dirty & /*transports*/ 1 && div3_style_value !== (div3_style_value = `width: ${/*transport*/ ctx[18].brakes / (100 / 100)}%;`)) {
				attr(div3, "style", div3_style_value);
			}

			if (dirty & /*transports*/ 1 && div6_style_value !== (div6_style_value = `width: ${/*transport*/ ctx[18].capacity / (100 / 100)}%;`)) {
				attr(div6, "style", div6_style_value);
			}

			if (dirty & /*selectedTransportId, transports*/ 5) {
				toggle_class(div11, "train-job-routes__transport-item--selected", /*selectedTransportId*/ ctx[2] === /*transport*/ ctx[18].id);
			}
		},
		d(detaching) {
			if (detaching) detach(div11);
			mounted = false;
			dispose();
		}
	};
}

// (145:12) {#each routes as route}
function routes_index_svelte_create_each_block(ctx) {
	let div4;
	let p0;
	let t0_value = /*route*/ ctx[15].title + "";
	let t0;
	let t1;
	let div0;
	let raw_value = /*route*/ ctx[15].road + "";
	let t2;
	let div3;
	let div1;
	let p1;
	let t3;
	let t4_value = formatMoney(/*route*/ ctx[15].money) + "";
	let t4;
	let t5;
	let div2;
	let p2;
	let t6_value = /*route*/ ctx[15].distance + "";
	let t6;
	let t7;
	let t8;
	let mounted;
	let dispose;

	function click_handler_1() {
		return /*click_handler_1*/ ctx[10](/*route*/ ctx[15]);
	}

	return {
		c() {
			div4 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			div0 = internal_element("div");
			t2 = space();
			div3 = internal_element("div");
			div1 = internal_element("div");
			p1 = internal_element("p");
			t3 = internal_text("$ ");
			t4 = internal_text(t4_value);
			t5 = space();
			div2 = internal_element("div");
			p2 = internal_element("p");
			t6 = internal_text(t6_value);
			t7 = internal_text(" км");
			t8 = space();
			attr(p0, "class", "train-job-routes__routes-item-title");
			attr(div0, "class", "train-job-routes__routes-item-road");
			attr(p1, "class", "train-job-routes__routes-item-info-money-value");
			attr(div1, "class", "train-job-routes__routes-item-info-money");
			attr(p2, "class", "train-job-routes__routes-item-info-distance-value");
			attr(div2, "class", "train-job-routes__routes-item-info-distance");
			attr(div3, "class", "train-job-routes__routes-item-info");
			attr(div4, "class", "train-job-routes__routes-item");
			toggle_class(div4, "train-job-routes__routes-item--selected", /*selectedRouteId*/ ctx[3] === /*route*/ ctx[15].id);
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, p0);
			append(p0, t0);
			append(div4, t1);
			append(div4, div0);
			div0.innerHTML = raw_value;
			append(div4, t2);
			append(div4, div3);
			append(div3, div1);
			append(div1, p1);
			append(p1, t3);
			append(p1, t4);
			append(div3, t5);
			append(div3, div2);
			append(div2, p2);
			append(p2, t6);
			append(p2, t7);
			append(div4, t8);

			if (!mounted) {
				dispose = listen(div4, "click", click_handler_1);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if (dirty & /*routes*/ 2 && t0_value !== (t0_value = /*route*/ ctx[15].title + "")) set_data(t0, t0_value);
			if (dirty & /*routes*/ 2 && raw_value !== (raw_value = /*route*/ ctx[15].road + "")) div0.innerHTML = raw_value;;
			if (dirty & /*routes*/ 2 && t4_value !== (t4_value = formatMoney(/*route*/ ctx[15].money) + "")) set_data(t4, t4_value);
			if (dirty & /*routes*/ 2 && t6_value !== (t6_value = /*route*/ ctx[15].distance + "")) set_data(t6, t6_value);

			if (dirty & /*selectedRouteId, routes*/ 10) {
				toggle_class(div4, "train-job-routes__routes-item--selected", /*selectedRouteId*/ ctx[3] === /*route*/ ctx[15].id);
			}
		},
		d(detaching) {
			if (detaching) detach(div4);
			mounted = false;
			dispose();
		}
	};
}

// (173:4) {#if selectedTransportId !== null && selectedRouteId !== null}
function routes_index_svelte_create_if_block(ctx) {
	let div2;
	let img;
	let img_src_value;
	let t0;
	let div0;
	let t1;
	let div1;
	let div2_intro;
	let div2_outro;
	let current;
	let mounted;
	let dispose;

	return {
		c() {
			div2 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div0 = internal_element("div");
			div0.innerHTML = `<i class="train-job-routes__buttons-close-icon icon-cancel"></i>`;
			t1 = space();
			div1 = internal_element("div");

			div1.innerHTML = `<p class="train-job-routes__buttons-start-title">Отправиться в рейс</p> 
                <i class="train-job-routes__buttons-start-icon icon-chevron-right"></i>`;

			attr(img, "class", "train-job-routes__buttons-img");
			if (!src_url_equal(img.src, img_src_value = routes_img_train_img_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "train-img");
			attr(div0, "class", "train-job-routes__buttons-close");
			attr(div1, "class", "train-job-routes__buttons-start");
			attr(div2, "class", "train-job-routes__buttons");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, img);
			append(div2, t0);
			append(div2, div0);
			append(div2, t1);
			append(div2, div1);
			current = true;

			if (!mounted) {
				dispose = [
					listen(div0, "click", /*cancel*/ ctx[7]),
					listen(div1, "click", /*startRoad*/ ctx[8])
				];

				mounted = true;
			}
		},
		p: internal_noop,
		i(local) {
			if (current) return;

			add_render_callback(() => {
				if (div2_outro) div2_outro.end(1);
				div2_intro = create_in_transition(div2, fly, { x: 200, duration: 800 });
				div2_intro.start();
			});

			current = true;
		},
		o(local) {
			if (div2_intro) div2_intro.invalidate();

			if (local) {
				div2_outro = create_out_transition(div2, fly, { x: 200, duration: 800 });
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div2);
			if (detaching && div2_outro) div2_outro.end();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function routes_index_svelte_create_fragment(ctx) {
	let div6;
	let div1;
	let div0;
	let i;
	let t0;
	let img;
	let img_src_value;
	let t1;
	let p0;
	let t3;
	let p1;
	let t5;
	let div3;
	let p2;
	let t7;
	let div2;
	let t8;
	let div5;
	let p3;
	let t10;
	let div4;
	let t11;
	let mounted;
	let dispose;
	let each_value_1 = /*transports*/ ctx[0];
	let each_blocks_1 = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks_1[i] = routes_index_svelte_create_each_block_1(routes_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	let each_value = /*routes*/ ctx[1];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = routes_index_svelte_create_each_block(routes_index_svelte_get_each_context(ctx, each_value, i));
	}

	let if_block = /*selectedTransportId*/ ctx[2] !== null && /*selectedRouteId*/ ctx[3] !== null && routes_index_svelte_create_if_block(ctx);

	return {
		c() {
			div6 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			img = internal_element("img");
			t1 = space();
			p0 = internal_element("p");
			p0.textContent = "Центральное депо";
			t3 = space();
			p1 = internal_element("p");
			p1.textContent = "Отправление в рейс";
			t5 = space();
			div3 = internal_element("div");
			p2 = internal_element("p");
			p2.textContent = "Выберите поезд";
			t7 = space();
			div2 = internal_element("div");

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].c();
			}

			t8 = space();
			div5 = internal_element("div");
			p3 = internal_element("p");
			p3.textContent = "Выберите маршрут";
			t10 = space();
			div4 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t11 = space();
			if (if_block) if_block.c();
			attr(i, "class", "train-job-routes__header-logo-icon icon-train-chevron-left");
			attr(img, "class", "train-job-routes__header-logo-img");
			if (!src_url_equal(img.src, img_src_value = train_job_img_logo_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "logo-img");
			attr(p0, "class", "train-job-routes__header-logo-title");
			attr(div0, "class", "train-job-routes__header-logo");
			attr(p1, "class", "train-job-routes__header-title");
			attr(div1, "class", "train-job-routes__header");
			attr(p2, "class", "train-job-routes__transport-title");
			attr(div2, "class", "train-job-routes__transport-list");
			attr(div3, "class", "train-job-routes__transport");
			attr(p3, "class", "train-job-routes__routes-title");
			attr(div4, "class", "train-job-routes__routes-list");
			attr(div5, "class", "train-job-routes__routes");
			toggle_class(div5, "train-job-routes__routes--notSelected", /*selectedTransportId*/ ctx[2] === null);
			attr(div6, "class", "train-job-routes");
		},
		m(target, anchor) {
			insert(target, div6, anchor);
			append(div6, div1);
			append(div1, div0);
			append(div0, i);
			append(div0, t0);
			append(div0, img);
			append(div0, t1);
			append(div0, p0);
			append(div1, t3);
			append(div1, p1);
			append(div6, t5);
			append(div6, div3);
			append(div3, p2);
			append(div3, t7);
			append(div3, div2);

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].m(div2, null);
			}

			append(div6, t8);
			append(div6, div5);
			append(div5, p3);
			append(div5, t10);
			append(div5, div4);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div4, null);
			}

			append(div6, t11);
			if (if_block) if_block.m(div6, null);

			if (!mounted) {
				dispose = listen(i, "click", /*back*/ ctx[6]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*selectedTransportId, transports, selectTransport, CDN_URL_RODINA*/ 21) {
				each_value_1 = /*transports*/ ctx[0];
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = routes_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks_1[i]) {
						each_blocks_1[i].p(child_ctx, dirty);
					} else {
						each_blocks_1[i] = routes_index_svelte_create_each_block_1(child_ctx);
						each_blocks_1[i].c();
						each_blocks_1[i].m(div2, null);
					}
				}

				for (; i < each_blocks_1.length; i += 1) {
					each_blocks_1[i].d(1);
				}

				each_blocks_1.length = each_value_1.length;
			}

			if (dirty & /*selectedRouteId, routes, selectRoute, formatMoney*/ 42) {
				each_value = /*routes*/ ctx[1];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = routes_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = routes_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div4, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if (dirty & /*selectedTransportId*/ 4) {
				toggle_class(div5, "train-job-routes__routes--notSelected", /*selectedTransportId*/ ctx[2] === null);
			}

			if (/*selectedTransportId*/ ctx[2] !== null && /*selectedRouteId*/ ctx[3] !== null) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*selectedTransportId, selectedRouteId*/ 12) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = routes_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(div6, null);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			transition_in(if_block);
		},
		o(local) {
			transition_out(if_block);
		},
		d(detaching) {
			if (detaching) detach(div6);
			destroy_each(each_blocks_1, detaching);
			destroy_each(each_blocks, detaching);
			if (if_block) if_block.d();
			mounted = false;
			dispose();
		}
	};
}

function routes_index_svelte_instance($$self, $$props, $$invalidate) {
	let transports = [];
	let routes = [];
	let selectedTransportId = null;
	let selectedRouteId = null;

	const initializeTransports = transportsDto => {
		$$invalidate(0, transports = transportsDto);
	};

	const initializeRoutes = routesDto => {
		$$invalidate(1, routes = routesDto);
	};

	const selectTransport = transportId => {
		$$invalidate(2, selectedTransportId = transportId);
	};

	const selectRoute = routeId => {
		$$invalidate(3, selectedRouteId = routeId);
	};

	const back = () => {
		sendClientMessage('trainJob.routes.back');
	};

	const cancel = () => {
		$$invalidate(2, selectedTransportId = null);
		$$invalidate(3, selectedRouteId = null);
	};

	const startRoad = () => {
		sendClientMessage('trainJob.routes.startRoad', selectedTransportId, selectedRouteId);
	};

	const unregisterTransportsEvent = registerEvent('trainJob.routes.initializeTransports', initializeTransports);
	const unregisterRoutesEvent = registerEvent('trainJob.routes.initializeRoutes', initializeRoutes);

	onDestroy(() => {
		unregisterTransportsEvent();
		unregisterRoutesEvent();
	});

	const click_handler = transport => selectTransport(transport.id);
	const click_handler_1 = route => selectRoute(route.id);

	return [
		transports,
		routes,
		selectedTransportId,
		selectedRouteId,
		selectTransport,
		selectRoute,
		back,
		cancel,
		startRoad,
		click_handler,
		click_handler_1
	];
}

class index_svelte_Routes extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, routes_index_svelte_instance, routes_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const routes_index_svelte = (index_svelte_Routes);
;// CONCATENATED MODULE: ./src/views/train-job/work/img/road-progress.svg
const road_progress_namespaceObject = __webpack_require__.p + "assets/e04fe4c17827060df951.svg";
;// CONCATENATED MODULE: ./src/views/train-job/work/img/sign.svg
const sign_namespaceObject = __webpack_require__.p + "assets/d10e57f28852609b3e0c.svg";
;// CONCATENATED MODULE: ./src/views/train-job/work/img/speedometer.png
const img_speedometer_namespaceObject = __webpack_require__.p + "assets/3a308ae1501e630aebef.webp";
;// CONCATENATED MODULE: ./src/views/train-job/work/img/arrow.png
const work_img_arrow_namespaceObject = __webpack_require__.p + "assets/b57bea4a21f9e648285f.webp";
;// CONCATENATED MODULE: ./src/views/train-job/work/img/members.svg
const members_namespaceObject = __webpack_require__.p + "assets/6c1131fc46780be2a83e.svg";
;// CONCATENATED MODULE: ./src/views/train-job/work/index.svelte
/* src\views\train-job\work\index.svelte generated by Svelte v3.49.0 */













function work_index_svelte_add_css(target) {
	append_styles(target, "svelte-tj3x8n", "@keyframes svelte-tj3x8n-blinking{50%{opacity:0}}@keyframes svelte-tj3x8n-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-tj3x8n-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-tj3x8n-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-tj3x8n-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-tj3x8n-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-tj3x8n-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-tj3x8n-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-tj3x8n-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-tj3x8n-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-tj3x8n-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-tj3x8n-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-tj3x8n-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-tj3x8n-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-tj3x8n-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.train-job-work.svelte-tj3x8n{position:relative;display:flex;align-items:center;justify-content:center;width:100vw;height:100vh}.train-job-work__progress.svelte-tj3x8n{position:absolute;display:flex;flex-direction:column;align-items:center;top:calc(0.0296875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__progress.svelte-tj3x8n{top:calc(0.0296875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__progress.svelte-tj3x8n{top:calc(0.0296875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__progress.svelte-tj3x8n{top:calc(0.022859375 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__progress.svelte-tj3x8n{top:calc(0.03265625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__progress.svelte-tj3x8n{top:calc(0.02078125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__progress.svelte-tj3x8n{top:calc(0.02671875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__progress.svelte-tj3x8n{top:calc(0.03265625 * 100vw + 0px)}}.train-job-work__progress.svelte-tj3x8n::after{content:\"\";position:absolute;background-color:rgba(22, 25, 29, 0.8);border-radius:100%;filter:blur(80px);top:calc(-0.2083333333 * 100vw + 0px);width:calc(0.4166666667 * 100vw + 0px);height:calc(0.3125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__progress.svelte-tj3x8n::after{top:calc(-0.2083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__progress.svelte-tj3x8n::after{top:calc(-0.2083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__progress.svelte-tj3x8n::after{top:calc(-0.1604166667 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__progress.svelte-tj3x8n::after{top:calc(-0.2291666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__progress.svelte-tj3x8n::after{top:calc(-0.1458333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__progress.svelte-tj3x8n::after{top:calc(-0.1875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__progress.svelte-tj3x8n::after{top:calc(-0.2291666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__progress.svelte-tj3x8n::after{width:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__progress.svelte-tj3x8n::after{width:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__progress.svelte-tj3x8n::after{width:calc(0.3208333333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__progress.svelte-tj3x8n::after{width:calc(0.4583333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__progress.svelte-tj3x8n::after{width:calc(0.2916666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__progress.svelte-tj3x8n::after{width:calc(0.375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__progress.svelte-tj3x8n::after{width:calc(0.4583333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__progress.svelte-tj3x8n::after{height:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__progress.svelte-tj3x8n::after{height:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__progress.svelte-tj3x8n::after{height:calc(0.240625 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__progress.svelte-tj3x8n::after{height:calc(0.34375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__progress.svelte-tj3x8n::after{height:calc(0.21875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__progress.svelte-tj3x8n::after{height:calc(0.28125 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__progress.svelte-tj3x8n::after{height:calc(0.34375 * 100vw + 0px)}}.train-job-work__progress-title.svelte-tj3x8n{z-index:1;display:flex;align-items:center}.train-job-work__progress-title-text.svelte-tj3x8n{font-family:PFDinDisplayProRegular;color:#FFFFFF;text-align:center;font-size:calc(0.009375 * 100vw + 0px);width:calc(0.0848958333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__progress-title-text.svelte-tj3x8n{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__progress-title-text.svelte-tj3x8n{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__progress-title-text.svelte-tj3x8n{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__progress-title-text.svelte-tj3x8n{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__progress-title-text.svelte-tj3x8n{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__progress-title-text.svelte-tj3x8n{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__progress-title-text.svelte-tj3x8n{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__progress-title-text.svelte-tj3x8n{width:calc(0.0848958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__progress-title-text.svelte-tj3x8n{width:calc(0.0848958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__progress-title-text.svelte-tj3x8n{width:calc(0.0653697917 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__progress-title-text.svelte-tj3x8n{width:calc(0.0933854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__progress-title-text.svelte-tj3x8n{width:calc(0.0594270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__progress-title-text.svelte-tj3x8n{width:calc(0.07640625 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__progress-title-text.svelte-tj3x8n{width:calc(0.0933854167 * 100vw + 0px)}}.train-job-work__progress-title-text--final.svelte-tj3x8n{color:#F39639}.train-job-work__progress-title-distance.svelte-tj3x8n{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:calc(0.0010416667 * 100vw + 0px);margin-left:calc(0.0796875 * 100vw + 0px);margin-right:calc(0.0875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__progress-title-distance.svelte-tj3x8n{gap:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__progress-title-distance.svelte-tj3x8n{gap:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__progress-title-distance.svelte-tj3x8n{gap:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__progress-title-distance.svelte-tj3x8n{gap:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__progress-title-distance.svelte-tj3x8n{gap:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__progress-title-distance.svelte-tj3x8n{gap:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__progress-title-distance.svelte-tj3x8n{gap:calc(0.0011458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__progress-title-distance.svelte-tj3x8n{margin-left:calc(0.0796875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__progress-title-distance.svelte-tj3x8n{margin-left:calc(0.0796875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__progress-title-distance.svelte-tj3x8n{margin-left:calc(0.061359375 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__progress-title-distance.svelte-tj3x8n{margin-left:calc(0.08765625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__progress-title-distance.svelte-tj3x8n{margin-left:calc(0.05578125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__progress-title-distance.svelte-tj3x8n{margin-left:calc(0.07171875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__progress-title-distance.svelte-tj3x8n{margin-left:calc(0.08765625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__progress-title-distance.svelte-tj3x8n{margin-right:calc(0.0875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__progress-title-distance.svelte-tj3x8n{margin-right:calc(0.0875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__progress-title-distance.svelte-tj3x8n{margin-right:calc(0.067375 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__progress-title-distance.svelte-tj3x8n{margin-right:calc(0.09625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__progress-title-distance.svelte-tj3x8n{margin-right:calc(0.06125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__progress-title-distance.svelte-tj3x8n{margin-right:calc(0.07875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__progress-title-distance.svelte-tj3x8n{margin-right:calc(0.09625 * 100vw + 0px)}}.train-job-work__progress-title-distance-text.svelte-tj3x8n{font-family:PFDinDisplayProRegular;color:#8892A2;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__progress-title-distance-text.svelte-tj3x8n{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__progress-title-distance-text.svelte-tj3x8n{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__progress-title-distance-text.svelte-tj3x8n{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__progress-title-distance-text.svelte-tj3x8n{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__progress-title-distance-text.svelte-tj3x8n{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__progress-title-distance-text.svelte-tj3x8n{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__progress-title-distance-text.svelte-tj3x8n{font-size:calc(0.0103125 * 100vw + 0px)}}.train-job-work__progress-title-distance-value.svelte-tj3x8n{font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.0145833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__progress-title-distance-value.svelte-tj3x8n{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__progress-title-distance-value.svelte-tj3x8n{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__progress-title-distance-value.svelte-tj3x8n{font-size:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__progress-title-distance-value.svelte-tj3x8n{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__progress-title-distance-value.svelte-tj3x8n{font-size:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__progress-title-distance-value.svelte-tj3x8n{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__progress-title-distance-value.svelte-tj3x8n{font-size:calc(0.0160416667 * 100vw + 0px)}}.train-job-work__progress-bar.svelte-tj3x8n{z-index:1;display:flex;align-items:center;position:relative;margin-top:calc(0.0119791667 * 100vw + 0px);width:calc(0.3125 * 100vw + 0px);height:calc(0.0010416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__progress-bar.svelte-tj3x8n{margin-top:calc(0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__progress-bar.svelte-tj3x8n{margin-top:calc(0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__progress-bar.svelte-tj3x8n{margin-top:calc(0.0092239583 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__progress-bar.svelte-tj3x8n{margin-top:calc(0.0131770833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__progress-bar.svelte-tj3x8n{margin-top:calc(0.0083854167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__progress-bar.svelte-tj3x8n{margin-top:calc(0.01078125 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__progress-bar.svelte-tj3x8n{margin-top:calc(0.0131770833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__progress-bar.svelte-tj3x8n{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__progress-bar.svelte-tj3x8n{width:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__progress-bar.svelte-tj3x8n{width:calc(0.240625 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__progress-bar.svelte-tj3x8n{width:calc(0.34375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__progress-bar.svelte-tj3x8n{width:calc(0.21875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__progress-bar.svelte-tj3x8n{width:calc(0.28125 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__progress-bar.svelte-tj3x8n{width:calc(0.34375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__progress-bar.svelte-tj3x8n{height:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__progress-bar.svelte-tj3x8n{height:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__progress-bar.svelte-tj3x8n{height:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__progress-bar.svelte-tj3x8n{height:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__progress-bar.svelte-tj3x8n{height:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__progress-bar.svelte-tj3x8n{height:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__progress-bar.svelte-tj3x8n{height:calc(0.0011458333 * 100vw + 0px)}}.train-job-work__progress-bar.svelte-tj3x8n::after{content:\"\";position:absolute;right:0;background-color:#F39639;border-radius:100%;width:calc(0.0104166667 * 100vw + 0px);height:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__progress-bar.svelte-tj3x8n::after{width:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__progress-bar.svelte-tj3x8n::after{width:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__progress-bar.svelte-tj3x8n::after{width:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__progress-bar.svelte-tj3x8n::after{width:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__progress-bar.svelte-tj3x8n::after{width:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__progress-bar.svelte-tj3x8n::after{width:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__progress-bar.svelte-tj3x8n::after{width:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__progress-bar.svelte-tj3x8n::after{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__progress-bar.svelte-tj3x8n::after{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__progress-bar.svelte-tj3x8n::after{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__progress-bar.svelte-tj3x8n::after{height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__progress-bar.svelte-tj3x8n::after{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__progress-bar.svelte-tj3x8n::after{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__progress-bar.svelte-tj3x8n::after{height:calc(0.0114583333 * 100vw + 0px)}}.train-job-work__progress-bar.svelte-tj3x8n::before{content:\"\";position:absolute;left:0;background-color:#FFFFFF;border-radius:100%;width:calc(0.0104166667 * 100vw + 0px);height:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__progress-bar.svelte-tj3x8n::before{width:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__progress-bar.svelte-tj3x8n::before{width:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__progress-bar.svelte-tj3x8n::before{width:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__progress-bar.svelte-tj3x8n::before{width:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__progress-bar.svelte-tj3x8n::before{width:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__progress-bar.svelte-tj3x8n::before{width:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__progress-bar.svelte-tj3x8n::before{width:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__progress-bar.svelte-tj3x8n::before{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__progress-bar.svelte-tj3x8n::before{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__progress-bar.svelte-tj3x8n::before{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__progress-bar.svelte-tj3x8n::before{height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__progress-bar.svelte-tj3x8n::before{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__progress-bar.svelte-tj3x8n::before{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__progress-bar.svelte-tj3x8n::before{height:calc(0.0114583333 * 100vw + 0px)}}.train-job-work__progress-bar-img.svelte-tj3x8n{height:calc(0.0010416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__progress-bar-img.svelte-tj3x8n{height:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__progress-bar-img.svelte-tj3x8n{height:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__progress-bar-img.svelte-tj3x8n{height:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__progress-bar-img.svelte-tj3x8n{height:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__progress-bar-img.svelte-tj3x8n{height:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__progress-bar-img.svelte-tj3x8n{height:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__progress-bar-img.svelte-tj3x8n{height:calc(0.0011458333 * 100vw + 0px)}}.train-job-work__progress-bar-value.svelte-tj3x8n{background-color:#FFFFFF;position:absolute;left:0;width:0;border-radius:calc(0.0010416667 * 100vw + 0px);height:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__progress-bar-value.svelte-tj3x8n{border-radius:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__progress-bar-value.svelte-tj3x8n{border-radius:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__progress-bar-value.svelte-tj3x8n{border-radius:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__progress-bar-value.svelte-tj3x8n{border-radius:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__progress-bar-value.svelte-tj3x8n{border-radius:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__progress-bar-value.svelte-tj3x8n{border-radius:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__progress-bar-value.svelte-tj3x8n{border-radius:calc(0.0011458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__progress-bar-value.svelte-tj3x8n{height:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__progress-bar-value.svelte-tj3x8n{height:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__progress-bar-value.svelte-tj3x8n{height:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__progress-bar-value.svelte-tj3x8n{height:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__progress-bar-value.svelte-tj3x8n{height:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__progress-bar-value.svelte-tj3x8n{height:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__progress-bar-value.svelte-tj3x8n{height:calc(0.0022916667 * 100vw + 0px)}}.train-job-work__phone.svelte-tj3x8n{position:absolute;display:flex;align-items:center;justify-content:center;background-color:#22272E;border-radius:calc(0.0104166667 * 100vw + 0px);right:calc(0.03125 * 100vw + 0px);bottom:calc(0.2552083333 * 100vw + 0px);width:calc(0.1833333333 * 100vw + 0px);height:calc(0.0520833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__phone.svelte-tj3x8n{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__phone.svelte-tj3x8n{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__phone.svelte-tj3x8n{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__phone.svelte-tj3x8n{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__phone.svelte-tj3x8n{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__phone.svelte-tj3x8n{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__phone.svelte-tj3x8n{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__phone.svelte-tj3x8n{right:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__phone.svelte-tj3x8n{right:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__phone.svelte-tj3x8n{right:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__phone.svelte-tj3x8n{right:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__phone.svelte-tj3x8n{right:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__phone.svelte-tj3x8n{right:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__phone.svelte-tj3x8n{right:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__phone.svelte-tj3x8n{bottom:calc(0.2552083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__phone.svelte-tj3x8n{bottom:calc(0.2552083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__phone.svelte-tj3x8n{bottom:calc(0.1965104167 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__phone.svelte-tj3x8n{bottom:calc(0.2807291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__phone.svelte-tj3x8n{bottom:calc(0.1786458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__phone.svelte-tj3x8n{bottom:calc(0.2296875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__phone.svelte-tj3x8n{bottom:calc(0.2807291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__phone.svelte-tj3x8n{width:calc(0.1833333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__phone.svelte-tj3x8n{width:calc(0.1833333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__phone.svelte-tj3x8n{width:calc(0.1411666667 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__phone.svelte-tj3x8n{width:calc(0.2016666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__phone.svelte-tj3x8n{width:calc(0.1283333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__phone.svelte-tj3x8n{width:calc(0.165 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__phone.svelte-tj3x8n{width:calc(0.2016666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__phone.svelte-tj3x8n{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__phone.svelte-tj3x8n{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__phone.svelte-tj3x8n{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__phone.svelte-tj3x8n{height:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__phone.svelte-tj3x8n{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__phone.svelte-tj3x8n{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__phone.svelte-tj3x8n{height:calc(0.0572916667 * 100vw + 0px)}}.train-job-work__phone-title.svelte-tj3x8n{font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.009375 * 100vw + 0px);margin-right:calc(0.0078125 * 100vw + 0px);width:calc(0.1057291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__phone-title.svelte-tj3x8n{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__phone-title.svelte-tj3x8n{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__phone-title.svelte-tj3x8n{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__phone-title.svelte-tj3x8n{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__phone-title.svelte-tj3x8n{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__phone-title.svelte-tj3x8n{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__phone-title.svelte-tj3x8n{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__phone-title.svelte-tj3x8n{margin-right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__phone-title.svelte-tj3x8n{margin-right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__phone-title.svelte-tj3x8n{margin-right:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__phone-title.svelte-tj3x8n{margin-right:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__phone-title.svelte-tj3x8n{margin-right:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__phone-title.svelte-tj3x8n{margin-right:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__phone-title.svelte-tj3x8n{margin-right:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__phone-title.svelte-tj3x8n{width:calc(0.1057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__phone-title.svelte-tj3x8n{width:calc(0.1057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__phone-title.svelte-tj3x8n{width:calc(0.0814114583 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__phone-title.svelte-tj3x8n{width:calc(0.1163020833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__phone-title.svelte-tj3x8n{width:calc(0.0740104167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__phone-title.svelte-tj3x8n{width:calc(0.09515625 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__phone-title.svelte-tj3x8n{width:calc(0.1163020833 * 100vw + 0px)}}.train-job-work__phone-answer-icon.svelte-tj3x8n{color:#76D355;cursor:pointer;transition:opacity 0.2s linear;font-size:calc(0.0208333333 * 100vw + 0px);margin-right:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__phone-answer-icon.svelte-tj3x8n{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__phone-answer-icon.svelte-tj3x8n{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__phone-answer-icon.svelte-tj3x8n{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__phone-answer-icon.svelte-tj3x8n{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__phone-answer-icon.svelte-tj3x8n{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__phone-answer-icon.svelte-tj3x8n{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__phone-answer-icon.svelte-tj3x8n{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__phone-answer-icon.svelte-tj3x8n{margin-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__phone-answer-icon.svelte-tj3x8n{margin-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__phone-answer-icon.svelte-tj3x8n{margin-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__phone-answer-icon.svelte-tj3x8n{margin-right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__phone-answer-icon.svelte-tj3x8n{margin-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__phone-answer-icon.svelte-tj3x8n{margin-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__phone-answer-icon.svelte-tj3x8n{margin-right:calc(0.0057291667 * 100vw + 0px)}}.train-job-work__phone-answer-icon.svelte-tj3x8n:hover{opacity:85%}.train-job-work__phone-cancel-icon.svelte-tj3x8n{color:#FF3737;cursor:pointer;transition:opacity 0.2s linear;font-size:calc(0.0208333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__phone-cancel-icon.svelte-tj3x8n{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__phone-cancel-icon.svelte-tj3x8n{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__phone-cancel-icon.svelte-tj3x8n{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__phone-cancel-icon.svelte-tj3x8n{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__phone-cancel-icon.svelte-tj3x8n{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__phone-cancel-icon.svelte-tj3x8n{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__phone-cancel-icon.svelte-tj3x8n{font-size:calc(0.0229166667 * 100vw + 0px)}}.train-job-work__phone-cancel-icon.svelte-tj3x8n:hover{opacity:85%}.train-job-work__sign.svelte-tj3x8n{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:calc(0.0052083333 * 100vw + 0px);left:calc(0.3135416667 * 100vw + 0px);bottom:calc(0.0963541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__sign.svelte-tj3x8n{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__sign.svelte-tj3x8n{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__sign.svelte-tj3x8n{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__sign.svelte-tj3x8n{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__sign.svelte-tj3x8n{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__sign.svelte-tj3x8n{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__sign.svelte-tj3x8n{gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__sign.svelte-tj3x8n{left:calc(0.3135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__sign.svelte-tj3x8n{left:calc(0.3135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__sign.svelte-tj3x8n{left:calc(0.2414270833 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__sign.svelte-tj3x8n{left:calc(0.3448958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__sign.svelte-tj3x8n{left:calc(0.2194791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__sign.svelte-tj3x8n{left:calc(0.2821875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__sign.svelte-tj3x8n{left:calc(0.3448958333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__sign.svelte-tj3x8n{bottom:calc(0.0963541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__sign.svelte-tj3x8n{bottom:calc(0.0963541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__sign.svelte-tj3x8n{bottom:calc(0.0741927083 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__sign.svelte-tj3x8n{bottom:calc(0.1059895833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__sign.svelte-tj3x8n{bottom:calc(0.0674479167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__sign.svelte-tj3x8n{bottom:calc(0.08671875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__sign.svelte-tj3x8n{bottom:calc(0.1059895833 * 100vw + 0px)}}.train-job-work__sign-img-wrapper.svelte-tj3x8n{display:flex;align-items:center;justify-content:center}.train-job-work__sign-img.svelte-tj3x8n{height:calc(0.0416666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__sign-img.svelte-tj3x8n{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__sign-img.svelte-tj3x8n{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__sign-img.svelte-tj3x8n{height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__sign-img.svelte-tj3x8n{height:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__sign-img.svelte-tj3x8n{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__sign-img.svelte-tj3x8n{height:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__sign-img.svelte-tj3x8n{height:calc(0.0458333333 * 100vw + 0px)}}.train-job-work__sign-img-value.svelte-tj3x8n{position:absolute;font-family:PFDinDisplayProRegular;color:#111111;font-size:calc(0.0145833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__sign-img-value.svelte-tj3x8n{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__sign-img-value.svelte-tj3x8n{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__sign-img-value.svelte-tj3x8n{font-size:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__sign-img-value.svelte-tj3x8n{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__sign-img-value.svelte-tj3x8n{font-size:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__sign-img-value.svelte-tj3x8n{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__sign-img-value.svelte-tj3x8n{font-size:calc(0.0160416667 * 100vw + 0px)}}.train-job-work__sign-title.svelte-tj3x8n{font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__sign-title.svelte-tj3x8n{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__sign-title.svelte-tj3x8n{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__sign-title.svelte-tj3x8n{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__sign-title.svelte-tj3x8n{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__sign-title.svelte-tj3x8n{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__sign-title.svelte-tj3x8n{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__sign-title.svelte-tj3x8n{font-size:calc(0.0103125 * 100vw + 0px)}}.train-job-work__members.svelte-tj3x8n{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:calc(0.0104166667 * 100vw + 0px);right:calc(0.3390625 * 100vw + 0px);bottom:calc(0.1041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__members.svelte-tj3x8n{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__members.svelte-tj3x8n{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__members.svelte-tj3x8n{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__members.svelte-tj3x8n{gap:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__members.svelte-tj3x8n{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__members.svelte-tj3x8n{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__members.svelte-tj3x8n{gap:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__members.svelte-tj3x8n{right:calc(0.3390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__members.svelte-tj3x8n{right:calc(0.3390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__members.svelte-tj3x8n{right:calc(0.261078125 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__members.svelte-tj3x8n{right:calc(0.37296875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__members.svelte-tj3x8n{right:calc(0.23734375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__members.svelte-tj3x8n{right:calc(0.30515625 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__members.svelte-tj3x8n{right:calc(0.37296875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__members.svelte-tj3x8n{bottom:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__members.svelte-tj3x8n{bottom:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__members.svelte-tj3x8n{bottom:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__members.svelte-tj3x8n{bottom:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__members.svelte-tj3x8n{bottom:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__members.svelte-tj3x8n{bottom:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__members.svelte-tj3x8n{bottom:calc(0.1145833333 * 100vw + 0px)}}.train-job-work__members-img.svelte-tj3x8n{height:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__members-img.svelte-tj3x8n{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__members-img.svelte-tj3x8n{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__members-img.svelte-tj3x8n{height:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__members-img.svelte-tj3x8n{height:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__members-img.svelte-tj3x8n{height:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__members-img.svelte-tj3x8n{height:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__members-img.svelte-tj3x8n{height:calc(0.0143229167 * 100vw + 0px)}}.train-job-work__members-title.svelte-tj3x8n{font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.0208333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__members-title.svelte-tj3x8n{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__members-title.svelte-tj3x8n{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__members-title.svelte-tj3x8n{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__members-title.svelte-tj3x8n{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__members-title.svelte-tj3x8n{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__members-title.svelte-tj3x8n{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__members-title.svelte-tj3x8n{font-size:calc(0.0229166667 * 100vw + 0px)}}.train-job-work__speedometer.svelte-tj3x8n{position:absolute;display:flex;justify-content:center;align-items:flex-end;right:calc(0.4026041667 * 100vw + 0px);bottom:calc(0.0875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__speedometer.svelte-tj3x8n{right:calc(0.4026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__speedometer.svelte-tj3x8n{right:calc(0.4026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__speedometer.svelte-tj3x8n{right:calc(0.3100052083 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__speedometer.svelte-tj3x8n{right:calc(0.4428645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__speedometer.svelte-tj3x8n{right:calc(0.2818229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__speedometer.svelte-tj3x8n{right:calc(0.36234375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__speedometer.svelte-tj3x8n{right:calc(0.4428645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__speedometer.svelte-tj3x8n{bottom:calc(0.0875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__speedometer.svelte-tj3x8n{bottom:calc(0.0875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__speedometer.svelte-tj3x8n{bottom:calc(0.067375 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__speedometer.svelte-tj3x8n{bottom:calc(0.09625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__speedometer.svelte-tj3x8n{bottom:calc(0.06125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__speedometer.svelte-tj3x8n{bottom:calc(0.07875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__speedometer.svelte-tj3x8n{bottom:calc(0.09625 * 100vw + 0px)}}.train-job-work__speedometer-image.svelte-tj3x8n{position:relative;display:flex;align-items:center;justify-content:center}.train-job-work__speedometer-image-body.svelte-tj3x8n{width:calc(0.1796875 * 100vw + 0px);height:calc(0.0833333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__speedometer-image-body.svelte-tj3x8n{width:calc(0.1796875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__speedometer-image-body.svelte-tj3x8n{width:calc(0.1796875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__speedometer-image-body.svelte-tj3x8n{width:calc(0.138359375 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__speedometer-image-body.svelte-tj3x8n{width:calc(0.19765625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__speedometer-image-body.svelte-tj3x8n{width:calc(0.12578125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__speedometer-image-body.svelte-tj3x8n{width:calc(0.16171875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__speedometer-image-body.svelte-tj3x8n{width:calc(0.19765625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__speedometer-image-body.svelte-tj3x8n{height:calc(0.0833333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__speedometer-image-body.svelte-tj3x8n{height:calc(0.0833333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__speedometer-image-body.svelte-tj3x8n{height:calc(0.0641666667 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__speedometer-image-body.svelte-tj3x8n{height:calc(0.0916666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__speedometer-image-body.svelte-tj3x8n{height:calc(0.0583333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__speedometer-image-body.svelte-tj3x8n{height:calc(0.075 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__speedometer-image-body.svelte-tj3x8n{height:calc(0.0916666667 * 100vw + 0px)}}.train-job-work__speedometer-image-arrow-wrapper.svelte-tj3x8n{position:absolute;bottom:-10px;transform:rotate(274deg);width:calc(0.0104166667 * 100vw + 0px);height:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__speedometer-image-arrow-wrapper.svelte-tj3x8n{width:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__speedometer-image-arrow-wrapper.svelte-tj3x8n{width:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__speedometer-image-arrow-wrapper.svelte-tj3x8n{width:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__speedometer-image-arrow-wrapper.svelte-tj3x8n{width:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__speedometer-image-arrow-wrapper.svelte-tj3x8n{width:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__speedometer-image-arrow-wrapper.svelte-tj3x8n{width:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__speedometer-image-arrow-wrapper.svelte-tj3x8n{width:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__speedometer-image-arrow-wrapper.svelte-tj3x8n{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__speedometer-image-arrow-wrapper.svelte-tj3x8n{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__speedometer-image-arrow-wrapper.svelte-tj3x8n{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__speedometer-image-arrow-wrapper.svelte-tj3x8n{height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__speedometer-image-arrow-wrapper.svelte-tj3x8n{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__speedometer-image-arrow-wrapper.svelte-tj3x8n{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__speedometer-image-arrow-wrapper.svelte-tj3x8n{height:calc(0.0114583333 * 100vw + 0px)}}.train-job-work__speedometer-image-arrow.svelte-tj3x8n{position:absolute;bottom:0;height:calc(0.09375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__speedometer-image-arrow.svelte-tj3x8n{height:calc(0.09375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__speedometer-image-arrow.svelte-tj3x8n{height:calc(0.09375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__speedometer-image-arrow.svelte-tj3x8n{height:calc(0.0721875 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__speedometer-image-arrow.svelte-tj3x8n{height:calc(0.103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__speedometer-image-arrow.svelte-tj3x8n{height:calc(0.065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__speedometer-image-arrow.svelte-tj3x8n{height:calc(0.084375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__speedometer-image-arrow.svelte-tj3x8n{height:calc(0.103125 * 100vw + 0px)}}.train-job-work__speedometer-image-arrow-img.svelte-tj3x8n{rotate:20deg;bottom:0;height:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__speedometer-image-arrow-img.svelte-tj3x8n{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__speedometer-image-arrow-img.svelte-tj3x8n{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__speedometer-image-arrow-img.svelte-tj3x8n{height:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__speedometer-image-arrow-img.svelte-tj3x8n{height:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__speedometer-image-arrow-img.svelte-tj3x8n{height:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__speedometer-image-arrow-img.svelte-tj3x8n{height:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__speedometer-image-arrow-img.svelte-tj3x8n{height:calc(0.0143229167 * 100vw + 0px)}}.train-job-work__speedometer-speed.svelte-tj3x8n{position:absolute;font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.0208333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__speedometer-speed.svelte-tj3x8n{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__speedometer-speed.svelte-tj3x8n{font-size:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__speedometer-speed.svelte-tj3x8n{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__speedometer-speed.svelte-tj3x8n{font-size:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__speedometer-speed.svelte-tj3x8n{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__speedometer-speed.svelte-tj3x8n{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__speedometer-speed.svelte-tj3x8n{font-size:calc(0.0229166667 * 100vw + 0px)}}.train-job-work__speedometer-time.svelte-tj3x8n{position:absolute;display:flex;text-align:center;align-items:center;justify-content:center;top:100%;font-family:PFDinDisplayProRegular;color:#FFFFFF;gap:calc(0.0041666667 * 100vw + 0px);margin-top:calc(0.0052083333 * 100vw + 0px);font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__speedometer-time.svelte-tj3x8n{gap:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__speedometer-time.svelte-tj3x8n{gap:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__speedometer-time.svelte-tj3x8n{gap:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__speedometer-time.svelte-tj3x8n{gap:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__speedometer-time.svelte-tj3x8n{gap:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__speedometer-time.svelte-tj3x8n{gap:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__speedometer-time.svelte-tj3x8n{gap:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__speedometer-time.svelte-tj3x8n{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__speedometer-time.svelte-tj3x8n{margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__speedometer-time.svelte-tj3x8n{margin-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__speedometer-time.svelte-tj3x8n{margin-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__speedometer-time.svelte-tj3x8n{margin-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__speedometer-time.svelte-tj3x8n{margin-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__speedometer-time.svelte-tj3x8n{margin-top:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__speedometer-time.svelte-tj3x8n{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__speedometer-time.svelte-tj3x8n{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__speedometer-time.svelte-tj3x8n{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__speedometer-time.svelte-tj3x8n{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__speedometer-time.svelte-tj3x8n{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__speedometer-time.svelte-tj3x8n{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__speedometer-time.svelte-tj3x8n{font-size:calc(0.0103125 * 100vw + 0px)}}.train-job-work__speedometer-time-icon.svelte-tj3x8n{font-size:calc(0.0104166667 * 100vw + 0px);color:#FFFFFF}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__speedometer-time-icon.svelte-tj3x8n{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__speedometer-time-icon.svelte-tj3x8n{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__speedometer-time-icon.svelte-tj3x8n{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__speedometer-time-icon.svelte-tj3x8n{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__speedometer-time-icon.svelte-tj3x8n{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__speedometer-time-icon.svelte-tj3x8n{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__speedometer-time-icon.svelte-tj3x8n{font-size:calc(0.0114583333 * 100vw + 0px)}}.train-job-work__hint.svelte-tj3x8n{position:absolute;display:flex;align-items:center;justify-content:center;gap:calc(0.0052083333 * 100vw + 0px);right:calc(0.0286458333 * 100vw + 0px);bottom:calc(0.0286458333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__hint.svelte-tj3x8n{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__hint.svelte-tj3x8n{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__hint.svelte-tj3x8n{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__hint.svelte-tj3x8n{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__hint.svelte-tj3x8n{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__hint.svelte-tj3x8n{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__hint.svelte-tj3x8n{gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__hint.svelte-tj3x8n{right:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__hint.svelte-tj3x8n{right:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__hint.svelte-tj3x8n{right:calc(0.0220572917 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__hint.svelte-tj3x8n{right:calc(0.0315104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__hint.svelte-tj3x8n{right:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__hint.svelte-tj3x8n{right:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__hint.svelte-tj3x8n{right:calc(0.0315104167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__hint.svelte-tj3x8n{bottom:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__hint.svelte-tj3x8n{bottom:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__hint.svelte-tj3x8n{bottom:calc(0.0220572917 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__hint.svelte-tj3x8n{bottom:calc(0.0315104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__hint.svelte-tj3x8n{bottom:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__hint.svelte-tj3x8n{bottom:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__hint.svelte-tj3x8n{bottom:calc(0.0315104167 * 100vw + 0px)}}.train-job-work__hint-key.svelte-tj3x8n{display:flex;align-items:center;justify-content:center;background-color:#FFFFFF;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.046875 * 100vw + 0px);height:calc(0.0208333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__hint-key.svelte-tj3x8n{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__hint-key.svelte-tj3x8n{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__hint-key.svelte-tj3x8n{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__hint-key.svelte-tj3x8n{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__hint-key.svelte-tj3x8n{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__hint-key.svelte-tj3x8n{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__hint-key.svelte-tj3x8n{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__hint-key.svelte-tj3x8n{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__hint-key.svelte-tj3x8n{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__hint-key.svelte-tj3x8n{width:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__hint-key.svelte-tj3x8n{width:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__hint-key.svelte-tj3x8n{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__hint-key.svelte-tj3x8n{width:calc(0.0421875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__hint-key.svelte-tj3x8n{width:calc(0.0515625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__hint-key.svelte-tj3x8n{height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__hint-key.svelte-tj3x8n{height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__hint-key.svelte-tj3x8n{height:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__hint-key.svelte-tj3x8n{height:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__hint-key.svelte-tj3x8n{height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__hint-key.svelte-tj3x8n{height:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__hint-key.svelte-tj3x8n{height:calc(0.0229166667 * 100vw + 0px)}}.train-job-work__hint-key-title.svelte-tj3x8n{font-family:PFDinDisplayProRegular;color:#111111;font-weight:700;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__hint-key-title.svelte-tj3x8n{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__hint-key-title.svelte-tj3x8n{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__hint-key-title.svelte-tj3x8n{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__hint-key-title.svelte-tj3x8n{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__hint-key-title.svelte-tj3x8n{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__hint-key-title.svelte-tj3x8n{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__hint-key-title.svelte-tj3x8n{font-size:calc(0.0103125 * 100vw + 0px)}}.train-job-work__hint-title.svelte-tj3x8n{font-family:PFDinDisplayProRegular;color:#FFFFFF;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.train-job-work__hint-title.svelte-tj3x8n{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.train-job-work__hint-title.svelte-tj3x8n{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.train-job-work__hint-title.svelte-tj3x8n{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.train-job-work__hint-title.svelte-tj3x8n{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.train-job-work__hint-title.svelte-tj3x8n{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.train-job-work__hint-title.svelte-tj3x8n{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.train-job-work__hint-title.svelte-tj3x8n{font-size:calc(0.0103125 * 100vw + 0px)}}");
}

// (2741:4) {#if currentRoadInformation.voice}
function work_index_svelte_create_if_block_1(ctx) {
	let div2;
	let p;
	let t1;
	let div0;
	let t2;
	let div1;
	let mounted;
	let dispose;

	return {
		c() {
			div2 = internal_element("div");
			p = internal_element("p");
			p.textContent = "Входящий вызов от пассажира локомотива";
			t1 = space();
			div0 = internal_element("div");
			div0.innerHTML = `<i class="train-job-work__phone-answer-icon icon-train-phone-call svelte-tj3x8n"></i>`;
			t2 = space();
			div1 = internal_element("div");
			div1.innerHTML = `<i class="train-job-work__phone-cancel-icon icon-train-phone-cancel svelte-tj3x8n"></i>`;
			attr(p, "class", "train-job-work__phone-title svelte-tj3x8n");
			attr(div0, "class", "train-job-work__phone-answer");
			attr(div1, "class", "train-job-work__phone-cancel");
			attr(div2, "class", "train-job-work__phone svelte-tj3x8n");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, p);
			append(div2, t1);
			append(div2, div0);
			append(div2, t2);
			append(div2, div1);

			if (!mounted) {
				dispose = [
					listen(div0, "click", /*answerCall*/ ctx[2]),
					listen(div1, "click", /*cancelCall*/ ctx[3])
				];

				mounted = true;
			}
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div2);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (2760:4) {#if currentRoadInformation.speedLimit}
function work_index_svelte_create_if_block(ctx) {
	let div1;
	let div0;
	let img;
	let img_src_value;
	let t0;
	let p0;
	let t1_value = /*currentRoadInformation*/ ctx[1].speedLimit + "";
	let t1;
	let t2;
	let p1;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			p1 = internal_element("p");
			p1.textContent = "Ограничение";
			attr(img, "class", "train-job-work__sign-img svelte-tj3x8n");
			if (!src_url_equal(img.src, img_src_value = sign_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "sign-img");
			attr(p0, "class", "train-job-work__sign-img-value svelte-tj3x8n");
			attr(div0, "class", "train-job-work__sign-img-wrapper svelte-tj3x8n");
			attr(p1, "class", "train-job-work__sign-title svelte-tj3x8n");
			attr(div1, "class", "train-job-work__sign svelte-tj3x8n");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, img);
			append(div0, t0);
			append(div0, p0);
			append(p0, t1);
			append(div1, t2);
			append(div1, p1);
		},
		p(ctx, dirty) {
			if (dirty & /*currentRoadInformation*/ 2 && t1_value !== (t1_value = /*currentRoadInformation*/ ctx[1].speedLimit + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

function work_index_svelte_create_fragment(ctx) {
	let div12;
	let div4;
	let div1;
	let p0;
	let t0_value = /*currentRoadInformation*/ ctx[1].from + "";
	let t0;
	let t1;
	let div0;
	let p1;
	let t3;
	let p2;
	let t4_value = Math.round(/*currentRoadInformation*/ ctx[1].distance - /*currentRoadInformation*/ ctx[1].currentDistance) + "";
	let t4;
	let t5;
	let t6;
	let p3;
	let t7_value = /*currentRoadInformation*/ ctx[1].to + "";
	let t7;
	let t8;
	let div3;
	let img0;
	let img0_src_value;
	let t9;
	let div2;
	let div2_style_value;
	let t10;
	let t11;
	let t12;
	let div5;
	let img1;
	let img1_src_value;
	let t13;
	let p4;
	let t14_value = /*currentRoadInformation*/ ctx[1].members + "";
	let t14;
	let t15;
	let div9;
	let div8;
	let img2;
	let img2_src_value;
	let t16;
	let div7;
	let div6;
	let img3;
	let img3_style_value;
	let img3_src_value;
	let div7_style_value;
	let t17;
	let p5;
	let t18;
	let t19;
	let t20;
	let p6;
	let i;
	let t21;
	let t22_value = formatSecondsToMmSs(/*currentRoadInformation*/ ctx[1].currentTime) + "";
	let t22;
	let t23;
	let t24_value = formatSecondsToMmSs(/*currentRoadInformation*/ ctx[1].needTime) + "";
	let t24;
	let t25;
	let div11;
	let div10;
	let t27;
	let p8;

	let t28_value = (/*currentRoadInformation*/ ctx[1].doorsOpened
	? 'Закрыть двери'
	: 'Открыть двери') + "";

	let t28;
	let if_block0 = /*currentRoadInformation*/ ctx[1].voice && work_index_svelte_create_if_block_1(ctx);
	let if_block1 = /*currentRoadInformation*/ ctx[1].speedLimit && work_index_svelte_create_if_block(ctx);

	return {
		c() {
			div12 = internal_element("div");
			div4 = internal_element("div");
			div1 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			div0 = internal_element("div");
			p1 = internal_element("p");
			p1.textContent = "Осталось";
			t3 = space();
			p2 = internal_element("p");
			t4 = internal_text(t4_value);
			t5 = internal_text(" km");
			t6 = space();
			p3 = internal_element("p");
			t7 = internal_text(t7_value);
			t8 = space();
			div3 = internal_element("div");
			img0 = internal_element("img");
			t9 = space();
			div2 = internal_element("div");
			t10 = space();
			if (if_block0) if_block0.c();
			t11 = space();
			if (if_block1) if_block1.c();
			t12 = space();
			div5 = internal_element("div");
			img1 = internal_element("img");
			t13 = space();
			p4 = internal_element("p");
			t14 = internal_text(t14_value);
			t15 = space();
			div9 = internal_element("div");
			div8 = internal_element("div");
			img2 = internal_element("img");
			t16 = space();
			div7 = internal_element("div");
			div6 = internal_element("div");
			img3 = internal_element("img");
			t17 = space();
			p5 = internal_element("p");
			t18 = internal_text(/*speed*/ ctx[0]);
			t19 = internal_text(" km/h");
			t20 = space();
			p6 = internal_element("p");
			i = internal_element("i");
			t21 = space();
			t22 = internal_text(t22_value);
			t23 = internal_text(" / ");
			t24 = internal_text(t24_value);
			t25 = space();
			div11 = internal_element("div");
			div10 = internal_element("div");
			div10.innerHTML = `<p class="train-job-work__hint-key-title svelte-tj3x8n">SPACE</p>`;
			t27 = space();
			p8 = internal_element("p");
			t28 = internal_text(t28_value);
			attr(p0, "class", "train-job-work__progress-title-text svelte-tj3x8n");
			attr(p1, "class", "train-job-work__progress-title-distance-text svelte-tj3x8n");
			attr(p2, "class", "train-job-work__progress-title-distance-value svelte-tj3x8n");
			attr(div0, "class", "train-job-work__progress-title-distance svelte-tj3x8n");
			attr(p3, "class", "train-job-work__progress-title-text train-job-work__progress-title-text--final svelte-tj3x8n");
			attr(div1, "class", "train-job-work__progress-title svelte-tj3x8n");
			attr(img0, "class", "train-job-work__progress-bar-img svelte-tj3x8n");
			if (!src_url_equal(img0.src, img0_src_value = road_progress_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "progress-bar-img");
			attr(div2, "class", "train-job-work__progress-bar-value svelte-tj3x8n");
			attr(div2, "style", div2_style_value = `width: ${countPercents(/*currentRoadInformation*/ ctx[1].currentDistance, /*currentRoadInformation*/ ctx[1].distance)}%;`);
			attr(div3, "class", "train-job-work__progress-bar svelte-tj3x8n");
			attr(div4, "class", "train-job-work__progress svelte-tj3x8n");
			attr(img1, "class", "train-job-work__members-img svelte-tj3x8n");
			if (!src_url_equal(img1.src, img1_src_value = members_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "members-img");
			attr(p4, "class", "train-job-work__members-title svelte-tj3x8n");
			attr(div5, "class", "train-job-work__members svelte-tj3x8n");
			attr(img2, "class", "train-job-work__speedometer-image-body svelte-tj3x8n");
			if (!src_url_equal(img2.src, img2_src_value = img_speedometer_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "body-speedometer");
			attr(img3, "class", "train-job-work__speedometer-image-arrow-img svelte-tj3x8n");
			attr(img3, "style", img3_style_value = `transform: rotate(${/*speed*/ ctx[0] / 1.3 - (/*speed*/ ctx[0] - 360)}deg)`);
			if (!src_url_equal(img3.src, img3_src_value = work_img_arrow_namespaceObject)) attr(img3, "src", img3_src_value);
			attr(img3, "alt", "arrow-speedometer");
			attr(div6, "class", "train-job-work__speedometer-image-arrow svelte-tj3x8n");
			attr(div7, "class", "train-job-work__speedometer-image-arrow-wrapper svelte-tj3x8n");
			attr(div7, "style", div7_style_value = `transform: rotate(${274 + (/*speed*/ ctx[0] + 6)}deg)`);
			attr(div8, "class", "train-job-work__speedometer-image svelte-tj3x8n");
			attr(p5, "class", "train-job-work__speedometer-speed svelte-tj3x8n");
			attr(i, "class", "train-job-work__speedometer-time-icon icon-train-clock svelte-tj3x8n");
			attr(p6, "class", "train-job-work__speedometer-time svelte-tj3x8n");
			attr(div9, "class", "train-job-work__speedometer svelte-tj3x8n");
			attr(div10, "class", "train-job-work__hint-key svelte-tj3x8n");
			attr(p8, "class", "train-job-work__hint-title svelte-tj3x8n");
			attr(div11, "class", "train-job-work__hint svelte-tj3x8n");
			attr(div12, "class", "train-job-work svelte-tj3x8n");
		},
		m(target, anchor) {
			insert(target, div12, anchor);
			append(div12, div4);
			append(div4, div1);
			append(div1, p0);
			append(p0, t0);
			append(div1, t1);
			append(div1, div0);
			append(div0, p1);
			append(div0, t3);
			append(div0, p2);
			append(p2, t4);
			append(p2, t5);
			append(div1, t6);
			append(div1, p3);
			append(p3, t7);
			append(div4, t8);
			append(div4, div3);
			append(div3, img0);
			append(div3, t9);
			append(div3, div2);
			append(div12, t10);
			if (if_block0) if_block0.m(div12, null);
			append(div12, t11);
			if (if_block1) if_block1.m(div12, null);
			append(div12, t12);
			append(div12, div5);
			append(div5, img1);
			append(div5, t13);
			append(div5, p4);
			append(p4, t14);
			append(div12, t15);
			append(div12, div9);
			append(div9, div8);
			append(div8, img2);
			append(div8, t16);
			append(div8, div7);
			append(div7, div6);
			append(div6, img3);
			append(div9, t17);
			append(div9, p5);
			append(p5, t18);
			append(p5, t19);
			append(div9, t20);
			append(div9, p6);
			append(p6, i);
			append(p6, t21);
			append(p6, t22);
			append(p6, t23);
			append(p6, t24);
			append(div12, t25);
			append(div12, div11);
			append(div11, div10);
			append(div11, t27);
			append(div11, p8);
			append(p8, t28);
		},
		p(ctx, [dirty]) {
			if (dirty & /*currentRoadInformation*/ 2 && t0_value !== (t0_value = /*currentRoadInformation*/ ctx[1].from + "")) set_data(t0, t0_value);
			if (dirty & /*currentRoadInformation*/ 2 && t4_value !== (t4_value = Math.round(/*currentRoadInformation*/ ctx[1].distance - /*currentRoadInformation*/ ctx[1].currentDistance) + "")) set_data(t4, t4_value);
			if (dirty & /*currentRoadInformation*/ 2 && t7_value !== (t7_value = /*currentRoadInformation*/ ctx[1].to + "")) set_data(t7, t7_value);

			if (dirty & /*currentRoadInformation*/ 2 && div2_style_value !== (div2_style_value = `width: ${countPercents(/*currentRoadInformation*/ ctx[1].currentDistance, /*currentRoadInformation*/ ctx[1].distance)}%;`)) {
				attr(div2, "style", div2_style_value);
			}

			if (/*currentRoadInformation*/ ctx[1].voice) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = work_index_svelte_create_if_block_1(ctx);
					if_block0.c();
					if_block0.m(div12, t11);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (/*currentRoadInformation*/ ctx[1].speedLimit) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = work_index_svelte_create_if_block(ctx);
					if_block1.c();
					if_block1.m(div12, t12);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty & /*currentRoadInformation*/ 2 && t14_value !== (t14_value = /*currentRoadInformation*/ ctx[1].members + "")) set_data(t14, t14_value);

			if (dirty & /*speed*/ 1 && img3_style_value !== (img3_style_value = `transform: rotate(${/*speed*/ ctx[0] / 1.3 - (/*speed*/ ctx[0] - 360)}deg)`)) {
				attr(img3, "style", img3_style_value);
			}

			if (dirty & /*speed*/ 1 && div7_style_value !== (div7_style_value = `transform: rotate(${274 + (/*speed*/ ctx[0] + 6)}deg)`)) {
				attr(div7, "style", div7_style_value);
			}

			if (dirty & /*speed*/ 1) set_data(t18, /*speed*/ ctx[0]);
			if (dirty & /*currentRoadInformation*/ 2 && t22_value !== (t22_value = formatSecondsToMmSs(/*currentRoadInformation*/ ctx[1].currentTime) + "")) set_data(t22, t22_value);
			if (dirty & /*currentRoadInformation*/ 2 && t24_value !== (t24_value = formatSecondsToMmSs(/*currentRoadInformation*/ ctx[1].needTime) + "")) set_data(t24, t24_value);

			if (dirty & /*currentRoadInformation*/ 2 && t28_value !== (t28_value = (/*currentRoadInformation*/ ctx[1].doorsOpened
			? 'Закрыть двери'
			: 'Открыть двери') + "")) set_data(t28, t28_value);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div12);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
		}
	};
}

function work_index_svelte_instance($$self, $$props, $$invalidate) {
	let $vehicleSpeed;
	component_subscribe($$self, vehicleSpeed, $$value => $$invalidate(4, $vehicleSpeed = $$value));
	let speed = 0;
	let currentRoadInformation = {};

	const initializeRoadInformation = currentRoadInformationDto => {
		$$invalidate(1, currentRoadInformation = currentRoadInformationDto);
	};

	const answerCall = () => {
		sendClientMessage('trainJob.work.answerCall');
	};

	const cancelCall = () => {
		sendClientMessage('trainJob.work.cancelCall');
	};

	const unregisterRoadInformationEvent = registerEvent('trainJob.work.initialize', initializeRoadInformation);

	onDestroy(() => {
		unregisterRoadInformationEvent();
	});

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*$vehicleSpeed*/ 16) {
			$: {
				$$invalidate(0, speed = formatSpeed($vehicleSpeed));
			}
		}
	};

	return [speed, currentRoadInformation, answerCall, cancelCall, $vehicleSpeed];
}

class Work extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, work_index_svelte_instance, work_index_svelte_create_fragment, safe_not_equal, {}, work_index_svelte_add_css);
	}
}

/* harmony default export */ const work_index_svelte = (Work);
;// CONCATENATED MODULE: ./src/views/battle-pass-chose/index.svelte
/* src\views\battle-pass-chose\index.svelte generated by Svelte v3.49.0 */






function battle_pass_chose_index_svelte_create_fragment(ctx) {
	let div9;
	let div0;
	let exitbutton;
	let t0;
	let div1;
	let t2;
	let div8;
	let div4;
	let div2;
	let t3;
	let div3;
	let t4;
	let div7;
	let div5;
	let t5;
	let div6;
	let current;
	let mounted;
	let dispose;
	exitbutton = new exit_button_index_svelte({ props: { onClick: /*exit*/ ctx[1] } });

	return {
		c() {
			div9 = internal_element("div");
			div0 = internal_element("div");
			create_component(exitbutton.$$.fragment);
			t0 = space();
			div1 = internal_element("div");
			div1.textContent = "ВЫБОР ПРОПУСКА";
			t2 = space();
			div8 = internal_element("div");
			div4 = internal_element("div");
			div2 = internal_element("div");
			t3 = space();
			div3 = internal_element("div");
			t4 = space();
			div7 = internal_element("div");
			div5 = internal_element("div");
			t5 = space();
			div6 = internal_element("div");
			attr(div0, "class", "battle-pass-chose__exit");
			attr(div1, "class", "battle-pass-chose__title");
			attr(div2, "class", "battle-pass-chose__item battle-pass-chose__item--pixel");
			attr(div3, "class", "battle-pass-chose__highlight");
			attr(div4, "class", "battle-pass-chose__item-wrapper");
			attr(div5, "class", "battle-pass-chose__item battle-pass-chose__item--main");
			attr(div6, "class", "battle-pass-chose__highlight battle-pass-chose__highlight--pink");
			attr(div7, "class", "battle-pass-chose__item-wrapper");
			attr(div8, "class", "battle-pass-chose__row");
			attr(div9, "class", "battle-pass-chose");
		},
		m(target, anchor) {
			insert(target, div9, anchor);
			append(div9, div0);
			mount_component(exitbutton, div0, null);
			append(div9, t0);
			append(div9, div1);
			append(div9, t2);
			append(div9, div8);
			append(div8, div4);
			append(div4, div2);
			append(div4, t3);
			append(div4, div3);
			append(div8, t4);
			append(div8, div7);
			append(div7, div5);
			append(div7, t5);
			append(div7, div6);
			current = true;

			if (!mounted) {
				dispose = [
					listen(div2, "click", /*click_handler*/ ctx[2]),
					listen(div5, "click", /*click_handler_1*/ ctx[3])
				];

				mounted = true;
			}
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div9);
			destroy_component(exitbutton);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function battle_pass_chose_index_svelte_instance($$self) {
	const select = id => sendClientMessage('battlePassChose.select', id);
	const exit = () => sendClientMessage('battlePassChose.exit');
	const click_handler = () => select(0);
	const click_handler_1 = () => select(1);
	return [select, exit, click_handler, click_handler_1];
}

class Battle_pass_chose extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, battle_pass_chose_index_svelte_instance, battle_pass_chose_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const battle_pass_chose_index_svelte = (Battle_pass_chose);
;// CONCATENATED MODULE: ./src/views/event-pass/img/coin.svg
const img_coin_namespaceObject = __webpack_require__.p + "assets/a880056f38439f0c1076.svg";
;// CONCATENATED MODULE: ./src/views/event-pass/img/az-icon.svg
const az_icon_namespaceObject = __webpack_require__.p + "assets/05075edfd41572174b43.svg";
;// CONCATENATED MODULE: ./src/views/event-pass/img/logo.png
const event_pass_img_logo_namespaceObject = __webpack_require__.p + "assets/299aac4a3f17a82668b2.webp";
;// CONCATENATED MODULE: ./src/views/event-pass/img/star.svg
const event_pass_img_star_namespaceObject = __webpack_require__.p + "assets/de2c4eef0597076a0ffd.svg";
;// CONCATENATED MODULE: ./src/views/event-pass/img/time.svg
const time_namespaceObject = __webpack_require__.p + "assets/31ef78d488c6bd96d488.svg";
;// CONCATENATED MODULE: ./src/views/event-pass/components/main/rewards.js
var REWARDS = [{
  "level": 1,
  "count": 1000000,
  "title": "Игровая валюта",
  "sysName": 3660,
  "sellPrice": 0,
  "availableToReceive": false
}, {
  "level": 2,
  "title": "Одежда: Бомж Космонавт 1 (муж.) (id: 904)",
  "sysName": 7280,
  "sellPrice": 0,
  "availableToReceive": false
}, {
  "level": 3,
  "title": "Объект: Автомат с рамёном",
  "sysName": 7291,
  "sellPrice": 0,
  "availableToReceive": false
}, {
  "level": 4,
  "title": "Аксессуар: Космические наушники",
  "sysName": 7295,
  "sellPrice": 0,
  "availableToReceive": false
}, {
  "level": 5,
  "count": 200,
  "title": "Сертификат на AZ Coins",
  "sysName": 233,
  "sellPrice": 0,
  "availableToReceive": false
}, {
  "level": 6,
  "title": "Объект: Проектор земли",
  "sysName": 7263,
  "sellPrice": 0,
  "availableToReceive": false
}, {
  "level": 7,
  "count": 2000000,
  "title": "Игровая валюта",
  "sysName": 3660,
  "sellPrice": 0,
  "availableToReceive": false
}, {
  "level": 8,
  "title": "Аксессуар: Красный шлем десантника",
  "sysName": 7298,
  "sellPrice": 0,
  "availableToReceive": false
}, {
  "level": 9,
  "title": "Объект: Грибница",
  "sysName": 7290,
  "sellPrice": 0,
  "availableToReceive": false
}, {
  "level": 10,
  "count": 300,
  "title": "Сертификат на AZ Coins",
  "sysName": 233,
  "sellPrice": 0,
  "availableToReceive": false
}, {
  "level": 11,
  "title": "Одежда: Бомж Космонавт 2 (муж.) (id: 905)",
  "sysName": 7281,
  "sellPrice": 0,
  "availableToReceive": false
}, {
  "level": 12,
  "count": 30,
  "title": "Подарок",
  "sysName": 3,
  "sellPrice": 0,
  "availableToReceive": false
}, {
  "level": 13,
  "title": "Улучшение: Красный бронежилет десантника",
  "sysName": 7300,
  "sellPrice": 0,
  "availableToReceive": false
}, {
  "level": 14,
  "count": 100,
  "title": "Осколки",
  "sysName": 7194,
  "sellPrice": 0,
  "availableToReceive": false
}, {
  "level": 15,
  "title": "Объект: Робот помощник",
  "sysName": 7260,
  "sellPrice": 0,
  "availableToReceive": false
}, {
  "level": 16,
  "title": "Аксессуар: Красные наплечники десантника",
  "sysName": 7299,
  "sellPrice": 0,
  "availableToReceive": false
}, {
  "level": 17,
  "title": "Одежда: Космический бомж 3 (муж.) (id: 906)",
  "sysName": 7282,
  "sellPrice": 0,
  "availableToReceive": false
}, {
  "level": 18,
  "title": "Аксессуар: Меч Думгая",
  "sysName": 7313,
  "sellPrice": 0,
  "availableToReceive": false
}, {
  "level": 19,
  "count": 700,
  "title": "Сертификат на AZ Coins",
  "sysName": 233,
  "sellPrice": 0,
  "availableToReceive": false
}, {
  "level": 20,
  "title": "Одежда: Дум (муж.) (id: 901)",
  "sysName": 7277,
  "sellPrice": 0,
  "availableToReceive": false
}, {
  "level": 21,
  "title": "Аксессуар: Щит Думгая",
  "sysName": 7314,
  "sellPrice": 0,
  "availableToReceive": false
}, {
  "level": 22,
  "count": 7000000,
  "title": "Игровая валюта",
  "sysName": 3660,
  "sellPrice": 0,
  "availableToReceive": false
}, {
  "level": 23,
  "title": "Объект: Обелиск",
  "sysName": 7264,
  "sellPrice": 0,
  "availableToReceive": false
}, {
  "level": 24,
  "title": "Сертификат охранника Маленький Йода",
  "sysName": 7344,
  "sellPrice": 0,
  "availableToReceive": false
}, {
  "level": 25,
  "title": "Аксессуар: Космическая коса",
  "sysName": 7296,
  "sellPrice": 0,
  "availableToReceive": false
}, {
  "level": 26,
  "title": "Одежда: Райден (муж.) (id: 912)",
  "sysName": 7288,
  "sellPrice": 0,
  "availableToReceive": false
}, {
  "level": 27,
  "title": "Киберкейс",
  "sysName": 7343,
  "sellPrice": 0,
  "availableToReceive": false
}, {
  "level": 28,
  "title": "Аксессуар: Космическое сердце",
  "sysName": 7315,
  "sellPrice": 0,
  "availableToReceive": false
}, {
  "level": 29,
  "title": "Одежда: Солдат из Вархаммера 2 (муж.) (id: 913)",
  "sysName": 7289,
  "sellPrice": 0,
  "availableToReceive": false
}, {
  "level": 30,
  "count": 1300,
  "title": "Сертификат на AZ Coins",
  "sysName": 233,
  "sellPrice": 0,
  "availableToReceive": false
}, {
  "level": 31,
  "title": "Аксессуар: Красные меха-крылья",
  "sysName": 7308,
  "sellPrice": 0,
  "availableToReceive": false
}, {
  "level": 32,
  "title": "Сертификат: Nissan Skyline Vision GTR",
  "sysName": 7317,
  "sellPrice": 0,
  "availableToReceive": false
}];
;// CONCATENATED MODULE: ./src/views/event-pass/store.js
function event_pass_store_typeof(o) { "@babel/helpers - typeof"; return event_pass_store_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, event_pass_store_typeof(o); }
function event_pass_store_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function event_pass_store_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? event_pass_store_ownKeys(Object(t), !0).forEach(function (r) { event_pass_store_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : event_pass_store_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function event_pass_store_defineProperty(e, r, t) { return (r = event_pass_store_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function event_pass_store_toPropertyKey(t) { var i = event_pass_store_toPrimitive(t, "string"); return "symbol" == event_pass_store_typeof(i) ? i : i + ""; }
function event_pass_store_toPrimitive(t, r) { if ("object" != event_pass_store_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != event_pass_store_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function event_pass_store_toConsumableArray(r) { return event_pass_store_arrayWithoutHoles(r) || event_pass_store_iterableToArray(r) || event_pass_store_unsupportedIterableToArray(r) || event_pass_store_nonIterableSpread(); }
function event_pass_store_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 event_pass_store_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return event_pass_store_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? event_pass_store_arrayLikeToArray(r, a) : void 0; } }
function event_pass_store_iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
function event_pass_store_arrayWithoutHoles(r) { if (Array.isArray(r)) return event_pass_store_arrayLikeToArray(r); }
function event_pass_store_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }



var store_quests = writable([]);
var events = writable([]);
var rating = writable([]);
var store_battlePassData = writable({});
var passCoins = writable(0);
var purchaseItem = writable({});
var modal = writable({});
var store_shop = writable({});
var ship = writable({});
var selectedPageBit = writable(0);
var updatePageBit = function updatePageBit() {
  var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;
  return selectedPageBit.set(value);
};
registerEvent('event.eventPass.updatePageBit', updatePageBit);
var initializeQuests = function initializeQuests() {
  var dto = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
  return store_quests.set((0,lodash.isNil)(get_store_value(store_quests)) ? dto : [].concat(event_pass_store_toConsumableArray(get_store_value(store_quests)), event_pass_store_toConsumableArray(dto)));
};
registerEvent('event.eventPass.initializeQuests', initializeQuests);
var initializeRating = function initializeRating() {
  var dto = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
  return rating.set((0,lodash.isNil)(get_store_value(rating)) ? dto : [].concat(event_pass_store_toConsumableArray(get_store_value(rating)), event_pass_store_toConsumableArray(dto)));
};
registerEvent('event.eventPass.initializeRating', initializeRating);
var clearRating = function clearRating() {
  return rating.set([]);
};
var updateQuest = function updateQuest() {
  var dto = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  var questsCache = get_store_value(store_quests);
  var existingQuestIndex = questsCache.findIndex(function (item) {
    return item.id === dto.id;
  });
  questsCache[existingQuestIndex] = event_pass_store_objectSpread(event_pass_store_objectSpread({}, questsCache[existingQuestIndex]), dto);
  store_quests.set(questsCache);
};
registerEvent('event.eventPass.updateQuest', updateQuest);
var initializeEvents = function initializeEvents() {
  var dto = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
  return events.set((0,lodash.isNil)(get_store_value(events)) ? dto : [].concat(event_pass_store_toConsumableArray(get_store_value(events)), event_pass_store_toConsumableArray(dto)));
};
registerEvent('event.eventPass.initializeEvents', initializeEvents);
var updateEvent = function updateEvent() {
  var dto = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  var eventsCache = get_store_value(events);
  var existingEventIndex = eventsCache.findIndex(function (item) {
    return item.event_id === dto.event_id;
  });
  eventsCache[existingEventIndex] = event_pass_store_objectSpread(event_pass_store_objectSpread({}, eventsCache[existingEventIndex]), dto);
  events.set(eventsCache);
};
registerEvent('event.eventPass.updateEvent', updateEvent);
var initializeBattlePass = function initializeBattlePass() {
  var dto = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
  return store_battlePassData.set(dto);
};
registerEvent('event.eventPass.initializeBattlePass', initializeBattlePass);
var initializePassCoins = function initializePassCoins() {
  var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
  return passCoins.set(value);
};
registerEvent('event.eventPass.initializePassCoins', initializePassCoins);
var store_initializeShop = function initializeShop() {
  var dto = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  return store_shop.set(dto);
};
registerEvent('event.eventPass.initializePushShop', store_initializeShop);
var initializeShip = function initializeShip() {
  var dto = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  return ship.set(dto);
};
registerEvent('event.eventPass.initializeShip', initializeShip);
var store_pushShop = function pushShop() {
  var dto = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
  var shopCache = get_store_value(store_shop);
  shopCache.top = (0,lodash.isNil)(dto.top) ? shopCache.top : [].concat(event_pass_store_toConsumableArray(shopCache.top), event_pass_store_toConsumableArray(dto.top));
  shopCache.items = (0,lodash.isNil)(dto.items) ? shopCache.items : [].concat(event_pass_store_toConsumableArray(shopCache.items), event_pass_store_toConsumableArray(dto.items));
  store_shop.set(shopCache);
};
registerEvent('event.eventPass.pushShop', store_pushShop);
var initializePurchaseItem = function initializePurchaseItem() {
  var dto = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
  return purchaseItem.set(dto);
};
registerEvent('event.eventPass.initializePurchaseItem', initializePurchaseItem);
var initializeModal = function initializeModal() {
  var dto = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
  return modal.set(dto);
};
registerEvent('event.eventPass.initializeModal', initializeModal);
;// CONCATENATED MODULE: ./src/views/event-pass/sound/happ_sound_click.mp3
const happ_sound_click_namespaceObject = __webpack_require__.p + "assets/3881f637b19a8a53ba9f.mp3";
;// CONCATENATED MODULE: ./src/views/event-pass/components/button/index.svelte
/* src\views\event-pass\components\button\index.svelte generated by Svelte v3.49.0 */




function button_index_svelte_add_css(target) {
	append_styles(target, "svelte-1sw5sda", "@keyframes svelte-1sw5sda-blinking{50%{opacity:0}}@keyframes svelte-1sw5sda-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1sw5sda-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1sw5sda-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1sw5sda-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1sw5sda-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1sw5sda-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1sw5sda-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1sw5sda-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1sw5sda-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1sw5sda-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1sw5sda-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1sw5sda-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1sw5sda-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1sw5sda-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.event-pass-button.svelte-1sw5sda{width:100%;height:100%;background-color:#FFFFFF;color:#131516;display:flex;align-items:center;justify-content:center;overflow:hidden;transition:0.1s ease-out;transition-property:box-shadow, background-color, transform;cursor:pointer;border-radius:calc(0.0083333333 * 100vw + 0px);gap:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.event-pass-button.svelte-1sw5sda{border-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-button.svelte-1sw5sda{border-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-button.svelte-1sw5sda{border-radius:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-button.svelte-1sw5sda{border-radius:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-button.svelte-1sw5sda{border-radius:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-button.svelte-1sw5sda{border-radius:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-button.svelte-1sw5sda{border-radius:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.event-pass-button.svelte-1sw5sda{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-button.svelte-1sw5sda{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-button.svelte-1sw5sda{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-button.svelte-1sw5sda{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-button.svelte-1sw5sda{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-button.svelte-1sw5sda{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-button.svelte-1sw5sda{gap:calc(0.0057291667 * 100vw + 0px)}}.event-pass-button.svelte-1sw5sda:hover{background-color:rgba(255, 255, 255, 0.9)}.event-pass-button.svelte-1sw5sda:active{transform:translateY(5%);background-color:rgba(255, 255, 255, 0.6)}.event-pass-button--yellow.svelte-1sw5sda{background-color:#74FFF3;color:#131516}.event-pass-button--yellow.svelte-1sw5sda:hover{background-color:#2CBAAE}.event-pass-button--yellow.svelte-1sw5sda:active{transform:translateY(5%);background-color:#2CBAAE}.event-pass-button--disabled.svelte-1sw5sda{opacity:0.5}.event-pass-button--disabled.svelte-1sw5sda:hover{background-color:#FFFFFF}.event-pass-button--disabled.svelte-1sw5sda:active{transform:unset;background-color:#FFFFFF}.event-pass-button--yellow.event-pass-button--disabled.svelte-1sw5sda{background-color:rgba(116, 255, 243, 0.5)}.event-pass-button__icon.svelte-1sw5sda{color:inherit;font-size:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.event-pass-button__icon.svelte-1sw5sda{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-button__icon.svelte-1sw5sda{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-button__icon.svelte-1sw5sda{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-button__icon.svelte-1sw5sda{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-button__icon.svelte-1sw5sda{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-button__icon.svelte-1sw5sda{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-button__icon.svelte-1sw5sda{font-size:calc(0.00859375 * 100vw + 0px)}}.event-pass-button__text.svelte-1sw5sda{font-family:PFDinDisplayProRegular;color:inherit;font-size:inherit}");
}

// (335:4) {#if !isEmpty(icon)}
function button_index_svelte_create_if_block_1(ctx) {
	let i;
	let i_class_value;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", i_class_value = "event-pass-button__icon " + /*icon*/ ctx[0] + " svelte-1sw5sda");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*icon*/ 1 && i_class_value !== (i_class_value = "event-pass-button__icon " + /*icon*/ ctx[0] + " svelte-1sw5sda")) {
				attr(i, "class", i_class_value);
			}
		},
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (338:4) {#if !isEmpty(text)}
function button_index_svelte_create_if_block(ctx) {
	let div;
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(/*text*/ ctx[2]);
			attr(div, "class", "event-pass-button__text svelte-1sw5sda");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*text*/ 4) set_data(t, /*text*/ ctx[2]);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function components_button_index_svelte_create_fragment(ctx) {
	let div;
	let show_if_1 = !(0,lodash.isEmpty)(/*icon*/ ctx[0]);
	let t;
	let show_if = !(0,lodash.isEmpty)(/*text*/ ctx[2]);
	let div_class_value;
	let mounted;
	let dispose;
	let if_block0 = show_if_1 && button_index_svelte_create_if_block_1(ctx);
	let if_block1 = show_if && button_index_svelte_create_if_block(ctx);

	return {
		c() {
			div = internal_element("div");
			if (if_block0) if_block0.c();
			t = space();
			if (if_block1) if_block1.c();
			attr(div, "class", div_class_value = "event-pass-button event-pass-button--" + /*style*/ ctx[1] + " svelte-1sw5sda");
			toggle_class(div, "event-pass-button--disabled", /*disabled*/ ctx[3]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block0) if_block0.m(div, null);
			append(div, t);
			if (if_block1) if_block1.m(div, null);

			if (!mounted) {
				dispose = listen(div, "click", function () {
					if (internal_is_function(/*onClick*/ ctx[4])) /*onClick*/ ctx[4].apply(this, arguments);
				});

				mounted = true;
			}
		},
		p(new_ctx, [dirty]) {
			ctx = new_ctx;
			if (dirty & /*icon*/ 1) show_if_1 = !(0,lodash.isEmpty)(/*icon*/ ctx[0]);

			if (show_if_1) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = button_index_svelte_create_if_block_1(ctx);
					if_block0.c();
					if_block0.m(div, t);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty & /*text*/ 4) show_if = !(0,lodash.isEmpty)(/*text*/ ctx[2]);

			if (show_if) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = button_index_svelte_create_if_block(ctx);
					if_block1.c();
					if_block1.m(div, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty & /*style*/ 2 && div_class_value !== (div_class_value = "event-pass-button event-pass-button--" + /*style*/ ctx[1] + " svelte-1sw5sda")) {
				attr(div, "class", div_class_value);
			}

			if (dirty & /*style, disabled*/ 10) {
				toggle_class(div, "event-pass-button--disabled", /*disabled*/ ctx[3]);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			mounted = false;
			dispose();
		}
	};
}

function button_index_svelte_instance($$self, $$props, $$invalidate) {
	let { icon = '' } = $$props;
	let { style = '' } = $$props;
	let { text = '' } = $$props;
	let { disabled = false } = $$props;

	let { onClick = () => {
		
	} } = $$props;

	$$self.$$set = $$props => {
		if ('icon' in $$props) $$invalidate(0, icon = $$props.icon);
		if ('style' in $$props) $$invalidate(1, style = $$props.style);
		if ('text' in $$props) $$invalidate(2, text = $$props.text);
		if ('disabled' in $$props) $$invalidate(3, disabled = $$props.disabled);
		if ('onClick' in $$props) $$invalidate(4, onClick = $$props.onClick);
	};

	return [icon, style, text, disabled, onClick];
}

class index_svelte_Button extends SvelteComponent {
	constructor(options) {
		super();

		init(
			this,
			options,
			button_index_svelte_instance,
			components_button_index_svelte_create_fragment,
			safe_not_equal,
			{
				icon: 0,
				style: 1,
				text: 2,
				disabled: 3,
				onClick: 4
			},
			button_index_svelte_add_css
		);
	}
}

/* harmony default export */ const components_button_index_svelte = (index_svelte_Button);
;// CONCATENATED MODULE: ./src/views/event-pass/components/modal/index.svelte
/* src\views\event-pass\components\modal\index.svelte generated by Svelte v3.49.0 */








function components_modal_index_svelte_create_fragment(ctx) {
	let div5;
	let img;
	let img_src_value;
	let t0;
	let div0;
	let t1_value = /*$modal*/ ctx[0].name + "";
	let t1;
	let t2;
	let div1;
	let t3_value = `${formatMoney(/*$modal*/ ctx[0].count)} шт.` + "";
	let t3;
	let t4;
	let div2;
	let t5_value = /*$modal*/ ctx[0].caption + "";
	let t5;
	let t6;
	let div4;
	let i;
	let t7;
	let div3;
	let div5_intro;
	let mounted;
	let dispose;

	return {
		c() {
			div5 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			div1 = internal_element("div");
			t3 = internal_text(t3_value);
			t4 = space();
			div2 = internal_element("div");
			t5 = internal_text(t5_value);
			t6 = space();
			div4 = internal_element("div");
			i = internal_element("i");
			t7 = space();
			div3 = internal_element("div");
			div3.textContent = "ВЕРНУТЬСЯ НАЗАД";
			if (!src_url_equal(img.src, img_src_value = `${CDN_ITEMS_URL}/${/*$modal*/ ctx[0].image}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "modal");
			attr(img, "class", "event-pass-modal__image");
			attr(div0, "class", "event-pass-modal__name");
			attr(div1, "class", "event-pass-modal__count");
			attr(div2, "class", "event-pass-modal__caption");
			attr(i, "class", "event-pass-modal__button-icon icon-chevron-left-quad");
			attr(div3, "class", "event-pass-modal__button-text");
			attr(div4, "class", "event-pass-modal__button");
			attr(div5, "class", "event-pass-modal");
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			append(div5, img);
			append(div5, t0);
			append(div5, div0);
			append(div0, t1);
			append(div5, t2);
			append(div5, div1);
			append(div1, t3);
			append(div5, t4);
			append(div5, div2);
			append(div2, t5);
			append(div5, t6);
			append(div5, div4);
			append(div4, i);
			append(div4, t7);
			append(div4, div3);

			if (!mounted) {
				dispose = listen(div3, "click", /*close*/ ctx[1]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*$modal*/ 1 && !src_url_equal(img.src, img_src_value = `${CDN_ITEMS_URL}/${/*$modal*/ ctx[0].image}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*$modal*/ 1 && t1_value !== (t1_value = /*$modal*/ ctx[0].name + "")) set_data(t1, t1_value);
			if (dirty & /*$modal*/ 1 && t3_value !== (t3_value = `${formatMoney(/*$modal*/ ctx[0].count)} шт.` + "")) set_data(t3, t3_value);
			if (dirty & /*$modal*/ 1 && t5_value !== (t5_value = /*$modal*/ ctx[0].caption + "")) set_data(t5, t5_value);
		},
		i(local) {
			if (!div5_intro) {
				add_render_callback(() => {
					div5_intro = create_in_transition(div5, scale, { duration: 500 });
					div5_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div5);
			mounted = false;
			dispose();
		}
	};
}

function components_modal_index_svelte_instance($$self, $$props, $$invalidate) {
	let $modal;
	component_subscribe($$self, modal, $$value => $$invalidate(0, $modal = $$value));

	const close = () => {
		set_store_value(modal, $modal = {}, $modal);
	};

	return [$modal, close];
}

class index_svelte_Modal extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, components_modal_index_svelte_instance, components_modal_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const components_modal_index_svelte = (index_svelte_Modal);
;// CONCATENATED MODULE: ./src/views/event-pass/img/dollar.svg
const dollar_namespaceObject = __webpack_require__.p + "assets/cd2d2055981b97f2df22.svg";
;// CONCATENATED MODULE: ./src/views/event-pass/img/ruble.svg
const ruble_namespaceObject = __webpack_require__.p + "assets/46de393627e70fc0e404.svg";
;// CONCATENATED MODULE: ./src/views/event-pass/constants.js
function event_pass_constants_typeof(o) { "@babel/helpers - typeof"; return event_pass_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, event_pass_constants_typeof(o); }
function event_pass_constants_defineProperty(e, r, t) { return (r = event_pass_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function event_pass_constants_toPropertyKey(t) { var i = event_pass_constants_toPrimitive(t, "string"); return "symbol" == event_pass_constants_typeof(i) ? i : i + ""; }
function event_pass_constants_toPrimitive(t, r) { if ("object" != event_pass_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != event_pass_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }




var NAVIGATION_BITS = {
  Main: 1,
  Quests: 2,
  Events: 4,
  Shop: 8,
  Guide: 16,
  Ship: 32,
  Rating: 64
};
var CoinsType = {
  Coin: 'coin',
  AzCoin: 'az-coin',
  Dollar: 'dollar',
  Ruble: 'ruble'
};
var MAP_COINS_TYPE_TO_ICON = event_pass_constants_defineProperty(event_pass_constants_defineProperty(event_pass_constants_defineProperty(event_pass_constants_defineProperty({}, CoinsType.Coin, img_coin_namespaceObject), CoinsType.AzCoin, az_icon_namespaceObject), CoinsType.Dollar, dollar_namespaceObject), CoinsType.Ruble, ruble_namespaceObject);
var constants_MENU_ITEMS = [NAVIGATION_BITS.Main, NAVIGATION_BITS.Quests, NAVIGATION_BITS.Events, NAVIGATION_BITS.Shop, NAVIGATION_BITS.Ship];
var constants_MAP_BIT_TO_NAME = event_pass_constants_defineProperty(event_pass_constants_defineProperty(event_pass_constants_defineProperty(event_pass_constants_defineProperty(event_pass_constants_defineProperty({}, NAVIGATION_BITS.Main, 'Главная'), NAVIGATION_BITS.Quests, 'Задания'), NAVIGATION_BITS.Events, 'Игры'), NAVIGATION_BITS.Shop, 'Магазин'), NAVIGATION_BITS.Ship, 'Деревня');
var Buttons = {
  Accept: 'accept',
  Help: 'help',
  Reward: 'reward',
  Done: 'done',
  Join: 'join',
  PlayersLimit: 'players_limit',
  Cancel: 'cancel',
  NotAccept: 'not-accept'
};
var MAP_BUTTON_TO_NAME = event_pass_constants_defineProperty(event_pass_constants_defineProperty(event_pass_constants_defineProperty(event_pass_constants_defineProperty(event_pass_constants_defineProperty(event_pass_constants_defineProperty(event_pass_constants_defineProperty(event_pass_constants_defineProperty({}, Buttons.Accept, 'Принять задание'), Buttons.Help, 'Отслеживать'), Buttons.Reward, 'Получить награду'), Buttons.Done, 'Получено'), Buttons.Join, 'Присоединиться'), Buttons.PlayersLimit, 'Регистрация закрыта'), Buttons.Cancel, 'Отменить'), Buttons.NotAccept, 'Недоступно');
var MAP_BUTTON_TO_ICON = event_pass_constants_defineProperty(event_pass_constants_defineProperty(event_pass_constants_defineProperty(event_pass_constants_defineProperty(event_pass_constants_defineProperty(event_pass_constants_defineProperty(event_pass_constants_defineProperty(event_pass_constants_defineProperty({}, Buttons.Accept, ''), Buttons.Help, ''), Buttons.Reward, ''), Buttons.Done, 'icon-check-bold'), Buttons.Join, ''), Buttons.PlayersLimit, ''), Buttons.Cancel, ''), Buttons.NotAccept, '');
var MAP_BUTTON_TO_STYLE = event_pass_constants_defineProperty(event_pass_constants_defineProperty(event_pass_constants_defineProperty(event_pass_constants_defineProperty(event_pass_constants_defineProperty(event_pass_constants_defineProperty(event_pass_constants_defineProperty(event_pass_constants_defineProperty({}, Buttons.Accept, ''), Buttons.Help, ''), Buttons.Reward, 'yellow'), Buttons.Done, ''), Buttons.Join, 'yellow'), Buttons.PlayersLimit, 'yellow'), Buttons.Cancel, 'red'), Buttons.NotAccept, 'red');
;// CONCATENATED MODULE: ./src/views/event-pass/components/main/index.svelte
/* src\views\event-pass\components\main\index.svelte generated by Svelte v3.49.0 */



















function event_pass_components_main_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[20] = list[i];
	child_ctx[22] = i;
	return child_ctx;
}

function components_main_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[23] = list[i];
	child_ctx[22] = i;
	return child_ctx;
}

// (102:4) {#if !isEmpty($battlePassData)}
function event_pass_components_main_index_svelte_create_if_block_1(ctx) {
	let div12;
	let div8;
	let div2;
	let div0;
	let t0_value = /*$battlePassData*/ ctx[2].level + "";
	let t0;
	let t1;
	let div1;
	let t3;
	let div7;
	let div3;
	let t5;
	let div4;
	let t6_value = `${/*$battlePassData*/ ctx[2].exp} / ${/*$battlePassData*/ ctx[2].maxExp}` + "";
	let t6;
	let t7;
	let img0;
	let img0_src_value;
	let t8;
	let div6;
	let div5;
	let t9;
	let div11;
	let img1;
	let img1_src_value;
	let t10;
	let div9;
	let t12;
	let div10;
	let t13_value = /*calculateDaysLeft*/ ctx[5](/*$battlePassData*/ ctx[2].timestampEnd) + "";
	let t13;
	let t14;
	let t15;
	let div22;
	let div21;
	let div20;
	let div13;
	let t16;
	let div15;
	let div14;
	let t17;
	let div19;
	let div16;
	let t18;
	let div17;
	let t19;
	let t20;
	let span;
	let t23;
	let div18;
	let current;
	let mounted;
	let dispose;
	let each_value_1 = /*commonRewards*/ ctx[1];
	let each_blocks_1 = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks_1[i] = components_main_index_svelte_create_each_block_1(components_main_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	const out = i => transition_out(each_blocks_1[i], 1, 1, () => {
		each_blocks_1[i] = null;
	});

	let each_value = /*commonRewards*/ ctx[1];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = event_pass_components_main_index_svelte_create_each_block(event_pass_components_main_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div12 = internal_element("div");
			div8 = internal_element("div");
			div2 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			div1 = internal_element("div");
			div1.textContent = "ур.";
			t3 = space();
			div7 = internal_element("div");
			div3 = internal_element("div");
			div3.textContent = "Опыт пропуска:";
			t5 = space();
			div4 = internal_element("div");
			t6 = internal_text(t6_value);
			t7 = space();
			img0 = internal_element("img");
			t8 = space();
			div6 = internal_element("div");
			div5 = internal_element("div");
			t9 = space();
			div11 = internal_element("div");
			img1 = internal_element("img");
			t10 = space();
			div9 = internal_element("div");
			div9.textContent = "До окончания:";
			t12 = space();
			div10 = internal_element("div");
			t13 = internal_text(t13_value);
			t14 = internal_text(" дней");
			t15 = space();
			div22 = internal_element("div");
			div21 = internal_element("div");
			div20 = internal_element("div");
			div13 = internal_element("div");

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].c();
			}

			t16 = space();
			div15 = internal_element("div");
			div14 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t17 = space();
			div19 = internal_element("div");
			div16 = internal_element("div");
			div16.innerHTML = `<i class="event-pass-main__pagination-icon ui-arrow-left"></i>`;
			t18 = space();
			div17 = internal_element("div");
			t19 = internal_text(/*currentLevelPage*/ ctx[0]);
			t20 = space();
			span = internal_element("span");
			span.textContent = `/ ${/*PAGES_COUNT*/ ctx[4]}`;
			t23 = space();
			div18 = internal_element("div");
			div18.innerHTML = `<i class="event-pass-main__pagination-icon ui-arrow-right"></i>`;
			attr(div0, "class", "event-pass-main__level-current-value");
			attr(div1, "class", "event-pass-main__level-current-caption");
			attr(div2, "class", "event-pass-main__level-current");
			attr(div3, "class", "event-pass-main__level-counter-title");
			if (!src_url_equal(img0.src, img0_src_value = event_pass_img_star_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "bpCoins");
			attr(img0, "class", "event-pass-main__level-counter-icon");
			attr(div4, "class", "event-pass-main__level-counter-current");
			attr(div5, "class", "event-pass-main__level-counter-progress-bar-current");
			set_style(div5, "--currentProgress", countPercents(/*$battlePassData*/ ctx[2].exp, /*$battlePassData*/ ctx[2].maxExp) + "%");
			attr(div6, "class", "event-pass-main__level-counter-progress-bar");
			attr(div7, "class", "event-pass-main__level-counter");
			attr(div8, "class", "event-pass-main__level");
			if (!src_url_equal(img1.src, img1_src_value = time_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "time");
			attr(img1, "class", "event-pass-main__time-icon");
			attr(div9, "class", "event-pass-main__time-caption");
			attr(div10, "class", "event-pass-main__time-caption event-pass-main__time-caption--italic");
			attr(div11, "class", "event-pass-main__time");
			attr(div12, "class", "event-pass-main__left-bar");
			attr(div13, "class", "event-pass-main__line");
			attr(div14, "class", "event-pass-main__experience-line");
			attr(div15, "class", "event-pass-main__experience");
			attr(div16, "class", "event-pass-main__pagination-button");
			attr(span, "class", "event-pass-main__pagination-current--total");
			attr(div17, "class", "event-pass-main__pagination-current");
			attr(div18, "class", "event-pass-main__pagination-button");
			attr(div19, "class", "event-pass-main__pagination");
			attr(div20, "class", "event-pass-main__lines");
			attr(div21, "class", "event-pass-main__wrapper");
			attr(div22, "class", "event-pass-main__content");
		},
		m(target, anchor) {
			insert(target, div12, anchor);
			append(div12, div8);
			append(div8, div2);
			append(div2, div0);
			append(div0, t0);
			append(div2, t1);
			append(div2, div1);
			append(div8, t3);
			append(div8, div7);
			append(div7, div3);
			append(div7, t5);
			append(div7, div4);
			append(div4, t6);
			append(div4, t7);
			append(div4, img0);
			append(div7, t8);
			append(div7, div6);
			append(div6, div5);
			append(div12, t9);
			append(div12, div11);
			append(div11, img1);
			append(div11, t10);
			append(div11, div9);
			append(div11, t12);
			append(div11, div10);
			append(div10, t13);
			append(div10, t14);
			insert(target, t15, anchor);
			insert(target, div22, anchor);
			append(div22, div21);
			append(div21, div20);
			append(div20, div13);

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].m(div13, null);
			}

			append(div20, t16);
			append(div20, div15);
			append(div15, div14);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div14, null);
			}

			append(div20, t17);
			append(div20, div19);
			append(div19, div16);
			append(div19, t18);
			append(div19, div17);
			append(div17, t19);
			append(div17, t20);
			append(div17, span);
			append(div19, t23);
			append(div19, div18);
			current = true;

			if (!mounted) {
				dispose = [
					listen(div16, "click", /*click_handler_1*/ ctx[14]),
					listen(div18, "click", /*click_handler_2*/ ctx[15])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if ((!current || dirty & /*$battlePassData*/ 4) && t0_value !== (t0_value = /*$battlePassData*/ ctx[2].level + "")) set_data(t0, t0_value);
			if ((!current || dirty & /*$battlePassData*/ 4) && t6_value !== (t6_value = `${/*$battlePassData*/ ctx[2].exp} / ${/*$battlePassData*/ ctx[2].maxExp}` + "")) set_data(t6, t6_value);

			if (!current || dirty & /*$battlePassData*/ 4) {
				set_style(div5, "--currentProgress", countPercents(/*$battlePassData*/ ctx[2].exp, /*$battlePassData*/ ctx[2].maxExp) + "%");
			}

			if ((!current || dirty & /*$battlePassData*/ 4) && t13_value !== (t13_value = /*calculateDaysLeft*/ ctx[5](/*$battlePassData*/ ctx[2].timestampEnd) + "")) set_data(t13, t13_value);

			if (dirty & /*getCommonReward, commonRewards, $battlePassData, buyPremium, formatMoney, CDN_ITEMS_URL*/ 1286) {
				each_value_1 = /*commonRewards*/ ctx[1];
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = components_main_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks_1[i]) {
						each_blocks_1[i].p(child_ctx, dirty);
						transition_in(each_blocks_1[i], 1);
					} else {
						each_blocks_1[i] = components_main_index_svelte_create_each_block_1(child_ctx);
						each_blocks_1[i].c();
						transition_in(each_blocks_1[i], 1);
						each_blocks_1[i].m(div13, null);
					}
				}

				group_outros();

				for (i = each_value_1.length; i < each_blocks_1.length; i += 1) {
					out(i);
				}

				check_outros();
			}

			if (dirty & /*$battlePassData, currentLevelPage, PAGE_SIZE, REWARDS, commonRewards*/ 7) {
				each_value = /*commonRewards*/ ctx[1];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = event_pass_components_main_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = event_pass_components_main_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div14, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if (!current || dirty & /*currentLevelPage*/ 1) set_data(t19, /*currentLevelPage*/ ctx[0]);
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value_1.length; i += 1) {
				transition_in(each_blocks_1[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks_1 = each_blocks_1.filter(Boolean);

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				transition_out(each_blocks_1[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div12);
			if (detaching) detach(t15);
			if (detaching) detach(div22);
			destroy_each(each_blocks_1, detaching);
			destroy_each(each_blocks, detaching);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (137:36) {#if reward.sysName >= 0}
function components_main_index_svelte_create_if_block_3(ctx) {
	let div;
	let t0_value = /*reward*/ ctx[23].title + "";
	let t0;
	let t1;
	let img;
	let img_src_value;
	let t2;
	let t3;
	let t4;
	let current_block_type_index;
	let if_block2;
	let if_block2_anchor;
	let current;
	let if_block0 = /*reward*/ ctx[23].count > 0 && components_main_index_svelte_create_if_block_8(ctx);
	let if_block1 = (/*$battlePassData*/ ctx[2].level < /*reward*/ ctx[23].level || /*$battlePassData*/ ctx[2].availableToReceive[/*reward*/ ctx[23].level - 1]) && components_main_index_svelte_create_if_block_7(ctx);
	const if_block_creators = [components_main_index_svelte_create_if_block_4, components_main_index_svelte_create_if_block_5, components_main_index_svelte_create_if_block_6, event_pass_components_main_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (!/*$battlePassData*/ ctx[2].availableToReceive[/*reward*/ ctx[23].level - 1] && /*$battlePassData*/ ctx[2].level >= /*reward*/ ctx[23].level && /*$battlePassData*/ ctx[2].premium > 0) return 0;
		if (/*$battlePassData*/ ctx[2].availableToReceive[/*reward*/ ctx[23].level - 1] && /*$battlePassData*/ ctx[2].level >= /*reward*/ ctx[23].level && /*$battlePassData*/ ctx[2].premium > 0) return 1;
		if (/*$battlePassData*/ ctx[2].availableToReceive[/*reward*/ ctx[23].level - 1] && /*$battlePassData*/ ctx[2].level >= /*reward*/ ctx[23].level && /*$battlePassData*/ ctx[2].premium <= 0) return 2;
		return 3;
	}

	current_block_type_index = select_block_type(ctx, -1);
	if_block2 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			img = internal_element("img");
			t2 = space();
			if (if_block0) if_block0.c();
			t3 = space();
			if (if_block1) if_block1.c();
			t4 = space();
			if_block2.c();
			if_block2_anchor = empty();
			attr(div, "class", "event-pass-main__reward-title");
			if (!src_url_equal(img.src, img_src_value = `${CDN_ITEMS_URL}/${/*reward*/ ctx[23].sysName}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "reward-icon");
			attr(img, "class", "event-pass-main__reward-image");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t0);
			insert(target, t1, anchor);
			insert(target, img, anchor);
			insert(target, t2, anchor);
			if (if_block0) if_block0.m(target, anchor);
			insert(target, t3, anchor);
			if (if_block1) if_block1.m(target, anchor);
			insert(target, t4, anchor);
			if_blocks[current_block_type_index].m(target, anchor);
			insert(target, if_block2_anchor, anchor);
			current = true;
		},
		p(ctx, dirty) {
			if ((!current || dirty & /*commonRewards*/ 2) && t0_value !== (t0_value = /*reward*/ ctx[23].title + "")) set_data(t0, t0_value);

			if (!current || dirty & /*commonRewards*/ 2 && !src_url_equal(img.src, img_src_value = `${CDN_ITEMS_URL}/${/*reward*/ ctx[23].sysName}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (/*reward*/ ctx[23].count > 0) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = components_main_index_svelte_create_if_block_8(ctx);
					if_block0.c();
					if_block0.m(t3.parentNode, t3);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (/*$battlePassData*/ ctx[2].level < /*reward*/ ctx[23].level || /*$battlePassData*/ ctx[2].availableToReceive[/*reward*/ ctx[23].level - 1]) {
				if (if_block1) {
					
				} else {
					if_block1 = components_main_index_svelte_create_if_block_7(ctx);
					if_block1.c();
					if_block1.m(t4.parentNode, t4);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block2 = if_blocks[current_block_type_index];

				if (!if_block2) {
					if_block2 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block2.c();
				} else {
					if_block2.p(ctx, dirty);
				}

				transition_in(if_block2, 1);
				if_block2.m(if_block2_anchor.parentNode, if_block2_anchor);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block2);
			current = true;
		},
		o(local) {
			transition_out(if_block2);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (detaching) detach(t1);
			if (detaching) detach(img);
			if (detaching) detach(t2);
			if (if_block0) if_block0.d(detaching);
			if (detaching) detach(t3);
			if (if_block1) if_block1.d(detaching);
			if (detaching) detach(t4);
			if_blocks[current_block_type_index].d(detaching);
			if (detaching) detach(if_block2_anchor);
		}
	};
}

// (146:40) {#if reward.count > 0}
function components_main_index_svelte_create_if_block_8(ctx) {
	let div;
	let t_value = `${formatMoney(/*reward*/ ctx[23].count)} шт.` + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "event-pass-main__reward-count");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*commonRewards*/ 2 && t_value !== (t_value = `${formatMoney(/*reward*/ ctx[23].count)} шт.` + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (149:40) {#if ($battlePassData.level < reward.level) || $battlePassData.availableToReceive[reward.level - 1]}
function components_main_index_svelte_create_if_block_7(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			attr(div, "class", "event-pass-main__reward-overlay-lock");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (183:40) {:else}
function event_pass_components_main_index_svelte_create_else_block(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "event-pass-main__lock-icon icon-lock-bp");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (166:176) 
function components_main_index_svelte_create_if_block_6(ctx) {
	let div1;
	let p0;
	let t2;
	let div0;
	let mounted;
	let dispose;

	return {
		c() {
			div1 = internal_element("div");
			p0 = internal_element("p");

			p0.innerHTML = `Доступно со статусом
                                                    <span class="event-pass-main__premium-hint-title--bold">Premium</span>`;

			t2 = space();
			div0 = internal_element("div");
			div0.innerHTML = `<p class="event-pass-main__premium-hint-button-title">Купить Premium</p>`;
			attr(p0, "class", "event-pass-main__premium-hint-title");
			attr(div0, "class", "event-pass-main__premium-hint-button");
			attr(div1, "class", "event-pass-main__premium-hint");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, p0);
			append(div1, t2);
			append(div1, div0);

			if (!mounted) {
				dispose = listen(div0, "click", /*buyPremium*/ ctx[10]);
				mounted = true;
			}
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
			mounted = false;
			dispose();
		}
	};
}

// (159:175) 
function components_main_index_svelte_create_if_block_5(ctx) {
	let div2;

	return {
		c() {
			div2 = internal_element("div");

			div2.innerHTML = `<div class="event-pass-main__recived-icon icon-check-circle"></div> 
                                                <div class="event-pass-main__recived-text">Получено</div>`;

			attr(div2, "class", "event-pass-main__recived");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

// (152:40) {#if !$battlePassData.availableToReceive[reward.level - 1] && $battlePassData.level >= reward.level && $battlePassData.premium > 0}
function components_main_index_svelte_create_if_block_4(ctx) {
	let div;
	let button;
	let current;
	let mounted;
	let dispose;

	function func() {
		return /*func*/ ctx[12](/*reward*/ ctx[23]);
	}

	button = new components_button_index_svelte({
			props: {
				text: 'Получить',
				style: 'yellow',
				onClick: func
			}
		});

	function click_handler() {
		return /*click_handler*/ ctx[13](/*reward*/ ctx[23]);
	}

	return {
		c() {
			div = internal_element("div");
			create_component(button.$$.fragment);
			attr(div, "class", "event-pass-main__reward-button");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(button, div, null);
			current = true;

			if (!mounted) {
				dispose = listen(div, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			const button_changes = {};
			if (dirty & /*commonRewards*/ 2) button_changes.onClick = func;
			button.$set(button_changes);
		},
		i(local) {
			if (current) return;
			transition_in(button.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(button.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(button);
			mounted = false;
			dispose();
		}
	};
}

// (130:24) {#each commonRewards as reward, index}
function components_main_index_svelte_create_each_block_1(ctx) {
	let div1;
	let div0;
	let t;
	let current;
	let if_block = /*reward*/ ctx[23].sysName >= 0 && components_main_index_svelte_create_if_block_3(ctx);

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			if (if_block) if_block.c();
			t = space();
			attr(div0, "class", "event-pass-main__reward");
			toggle_class(div0, "event-pass-main__reward--locked", false);
			toggle_class(div0, "event-pass-main__reward--recived", false);
			attr(div1, "class", "event-pass-main__reward-border");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			if (if_block) if_block.m(div0, null);
			append(div1, t);
			current = true;
		},
		p(ctx, dirty) {
			if (/*reward*/ ctx[23].sysName >= 0) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*commonRewards*/ 2) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = components_main_index_svelte_create_if_block_3(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(div0, null);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			if (if_block) if_block.d();
		}
	};
}

// (201:36) {#if item.sysName >= 0}
function event_pass_components_main_index_svelte_create_if_block_2(ctx) {
	let div2;
	let div1;
	let div0;
	let t_value = /*index*/ ctx[22] + 1 + (/*currentLevelPage*/ ctx[0] - 1) * index_svelte_PAGE_SIZE + "";
	let t;

	return {
		c() {
			div2 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");
			t = internal_text(t_value);
			attr(div0, "class", "event-pass-main__experience-line-level-value");
			toggle_class(div0, "event-pass-main__experience-line-level-value--unreached", /*$battlePassData*/ ctx[2].level < /*index*/ ctx[22] + 1 + (/*currentLevelPage*/ ctx[0] - 1) * index_svelte_PAGE_SIZE);
			attr(div1, "class", "event-pass-main__experience-line-level");
			toggle_class(div1, "event-pass-main__experience-line-level--red", /*index*/ ctx[22] + 1 + (/*currentLevelPage*/ ctx[0] - 1) * index_svelte_PAGE_SIZE <= /*$battlePassData*/ ctx[2].level);
			attr(div2, "class", "event-pass-main__experience-line-level-value-wrapper");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div1);
			append(div1, div0);
			append(div0, t);
		},
		p(ctx, dirty) {
			if (dirty & /*currentLevelPage*/ 1 && t_value !== (t_value = /*index*/ ctx[22] + 1 + (/*currentLevelPage*/ ctx[0] - 1) * index_svelte_PAGE_SIZE + "")) set_data(t, t_value);

			if (dirty & /*$battlePassData, currentLevelPage, PAGE_SIZE*/ 5) {
				toggle_class(div0, "event-pass-main__experience-line-level-value--unreached", /*$battlePassData*/ ctx[2].level < /*index*/ ctx[22] + 1 + (/*currentLevelPage*/ ctx[0] - 1) * index_svelte_PAGE_SIZE);
			}

			if (dirty & /*currentLevelPage, PAGE_SIZE, $battlePassData*/ 5) {
				toggle_class(div1, "event-pass-main__experience-line-level--red", /*index*/ ctx[22] + 1 + (/*currentLevelPage*/ ctx[0] - 1) * index_svelte_PAGE_SIZE <= /*$battlePassData*/ ctx[2].level);
			}
		},
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

// (193:28) {#each commonRewards as item, index}
function event_pass_components_main_index_svelte_create_each_block(ctx) {
	let div;
	let t;
	let if_block = /*item*/ ctx[20].sysName >= 0 && event_pass_components_main_index_svelte_create_if_block_2(ctx);

	return {
		c() {
			div = internal_element("div");
			if (if_block) if_block.c();
			t = space();
			attr(div, "class", "event-pass-main__experience-line-level-wrapper");
			toggle_class(div, "event-pass-main__experience-line-level-wrapper--filled", /*$battlePassData*/ ctx[2].level > /*index*/ ctx[22] + 1 + (/*currentLevelPage*/ ctx[0] - 1) * index_svelte_PAGE_SIZE);
			toggle_class(div, "event-pass-main__experience-line-level-wrapper--current", /*$battlePassData*/ ctx[2].level === /*index*/ ctx[22] + 1 + (/*currentLevelPage*/ ctx[0] - 1) * index_svelte_PAGE_SIZE);
			toggle_class(div, "event-pass-main__experience-line-level-wrapper--first", /*index*/ ctx[22] + 1 + (/*currentLevelPage*/ ctx[0] - 1) * index_svelte_PAGE_SIZE === 1);
			toggle_class(div, "event-pass-main__experience-line-level-wrapper--last", /*index*/ ctx[22] + 1 + (/*currentLevelPage*/ ctx[0] - 1) * index_svelte_PAGE_SIZE === REWARDS.length);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block) if_block.m(div, null);
			append(div, t);
		},
		p(ctx, dirty) {
			if (/*item*/ ctx[20].sysName >= 0) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = event_pass_components_main_index_svelte_create_if_block_2(ctx);
					if_block.c();
					if_block.m(div, t);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (dirty & /*$battlePassData, currentLevelPage, PAGE_SIZE*/ 5) {
				toggle_class(div, "event-pass-main__experience-line-level-wrapper--filled", /*$battlePassData*/ ctx[2].level > /*index*/ ctx[22] + 1 + (/*currentLevelPage*/ ctx[0] - 1) * index_svelte_PAGE_SIZE);
			}

			if (dirty & /*$battlePassData, currentLevelPage, PAGE_SIZE*/ 5) {
				toggle_class(div, "event-pass-main__experience-line-level-wrapper--current", /*$battlePassData*/ ctx[2].level === /*index*/ ctx[22] + 1 + (/*currentLevelPage*/ ctx[0] - 1) * index_svelte_PAGE_SIZE);
			}

			if (dirty & /*currentLevelPage, PAGE_SIZE*/ 1) {
				toggle_class(div, "event-pass-main__experience-line-level-wrapper--first", /*index*/ ctx[22] + 1 + (/*currentLevelPage*/ ctx[0] - 1) * index_svelte_PAGE_SIZE === 1);
			}

			if (dirty & /*currentLevelPage, PAGE_SIZE, REWARDS*/ 1) {
				toggle_class(div, "event-pass-main__experience-line-level-wrapper--last", /*index*/ ctx[22] + 1 + (/*currentLevelPage*/ ctx[0] - 1) * index_svelte_PAGE_SIZE === REWARDS.length);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			if (if_block) if_block.d();
		}
	};
}

// (240:4) {#if !isEmpty($modal)}
function event_pass_components_main_index_svelte_create_if_block(ctx) {
	let div;
	let modal_1;
	let current;
	modal_1 = new components_modal_index_svelte({});

	return {
		c() {
			div = internal_element("div");
			create_component(modal_1.$$.fragment);
			attr(div, "class", "event-pass-main__modal-overlay");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(modal_1, div, null);
			current = true;
		},
		i(local) {
			if (current) return;
			transition_in(modal_1.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(modal_1.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(modal_1);
		}
	};
}

function event_pass_components_main_index_svelte_create_fragment(ctx) {
	let div1;
	let img;
	let img_src_value;
	let t0;
	let div0;
	let t1;
	let show_if_1 = !(0,lodash.isEmpty)(/*$battlePassData*/ ctx[2]);
	let t2;
	let show_if = !(0,lodash.isEmpty)(/*$modal*/ ctx[3]);
	let div1_intro;
	let current;
	let mounted;
	let dispose;
	let if_block0 = show_if_1 && event_pass_components_main_index_svelte_create_if_block_1(ctx);
	let if_block1 = show_if && event_pass_components_main_index_svelte_create_if_block(ctx);

	return {
		c() {
			div1 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div0 = internal_element("div");
			div0.innerHTML = `<i class="event-pass-main__guide-video-icon icon-play"></i>`;
			t1 = space();
			if (if_block0) if_block0.c();
			t2 = space();
			if (if_block1) if_block1.c();
			if (!src_url_equal(img.src, img_src_value = event_pass_img_logo_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "logo");
			attr(img, "class", "event-pass-main__logo");
			attr(div0, "class", "event-pass-main__guide-video");
			attr(div1, "class", "event-pass-main");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, img);
			append(div1, t0);
			append(div1, div0);
			append(div1, t1);
			if (if_block0) if_block0.m(div1, null);
			append(div1, t2);
			if (if_block1) if_block1.m(div1, null);
			current = true;

			if (!mounted) {
				dispose = [
					listen(window, "keyup", /*arrowsHandler*/ ctx[11]),
					listen(div0, "click", /*openGuide*/ ctx[9])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*$battlePassData*/ 4) show_if_1 = !(0,lodash.isEmpty)(/*$battlePassData*/ ctx[2]);

			if (show_if_1) {
				if (if_block0) {
					if_block0.p(ctx, dirty);

					if (dirty & /*$battlePassData*/ 4) {
						transition_in(if_block0, 1);
					}
				} else {
					if_block0 = event_pass_components_main_index_svelte_create_if_block_1(ctx);
					if_block0.c();
					transition_in(if_block0, 1);
					if_block0.m(div1, t2);
				}
			} else if (if_block0) {
				group_outros();

				transition_out(if_block0, 1, 1, () => {
					if_block0 = null;
				});

				check_outros();
			}

			if (dirty & /*$modal*/ 8) show_if = !(0,lodash.isEmpty)(/*$modal*/ ctx[3]);

			if (show_if) {
				if (if_block1) {
					if (dirty & /*$modal*/ 8) {
						transition_in(if_block1, 1);
					}
				} else {
					if_block1 = event_pass_components_main_index_svelte_create_if_block(ctx);
					if_block1.c();
					transition_in(if_block1, 1);
					if_block1.m(div1, null);
				}
			} else if (if_block1) {
				group_outros();

				transition_out(if_block1, 1, 1, () => {
					if_block1 = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block0);
			transition_in(if_block1);

			if (!div1_intro) {
				add_render_callback(() => {
					div1_intro = create_in_transition(div1, fade, { duration: 120 });
					div1_intro.start();
				});
			}

			current = true;
		},
		o(local) {
			transition_out(if_block0);
			transition_out(if_block1);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

const index_svelte_PAGE_SIZE = 4;

function event_pass_components_main_index_svelte_instance($$self, $$props, $$invalidate) {
	let $battlePassData;
	let $selectedPageBit;
	let $modal;
	component_subscribe($$self, store_battlePassData, $$value => $$invalidate(2, $battlePassData = $$value));
	component_subscribe($$self, selectedPageBit, $$value => $$invalidate(17, $selectedPageBit = $$value));
	component_subscribe($$self, modal, $$value => $$invalidate(3, $modal = $$value));
	const audio = new Audio(happ_sound_click_namespaceObject);
	const MAX_REWARD_LEVEL = REWARDS.length;
	const PAGES_COUNT = Math.ceil(REWARDS.length / index_svelte_PAGE_SIZE);
	let currentLevelPage = 1;
	let commonRewards = [];

	const updateRewardsList = () => {
		$$invalidate(1, commonRewards = REWARDS.slice((currentLevelPage - 1) * index_svelte_PAGE_SIZE, currentLevelPage * index_svelte_PAGE_SIZE));
	};

	const calculateDaysLeft = unix => Math.round((unix - moment_default()().unix()) / 86400);

	const nextPage = () => {
		if (currentLevelPage + 1 > PAGES_COUNT) {
			return;
		}

		audio.currentTime = 0;
		audio.play();
		$$invalidate(0, currentLevelPage += 1);
		updateRewardsList();
	};

	const prevPage = () => {
		if (currentLevelPage - 1 < 1) {
			return;
		}

		audio.currentTime = 0;
		audio.play();
		$$invalidate(0, currentLevelPage -= 1);
		updateRewardsList();
	};

	const getCommonReward = level => {
		audio.play();
		set_store_value(store_battlePassData, $battlePassData.availableToReceive[level - 1] = 1, $battlePassData);
		sendClientMessage('battlePass.holiday.getCommonReward', level);
	};

	const openGuide = () => {
		audio.play();
		set_store_value(selectedPageBit, $selectedPageBit = NAVIGATION_BITS.Guide, $selectedPageBit);
	};

	const buyPremium = () => {
		sendClientMessage('battlePass.holiday.buyPremium');
	};

	const arrowsHandler = event => {
		switch (event.keyCode) {
			case 39:
				nextPage();
				break;
			case 37:
				prevPage();
				break;
			default:
				break;
		}
	};

	if ($battlePassData.level > 0) {
		currentLevelPage = $battlePassData.level >= MAX_REWARD_LEVEL
		? Math.ceil(MAX_REWARD_LEVEL / index_svelte_PAGE_SIZE)
		: Math.ceil($battlePassData.level / index_svelte_PAGE_SIZE);
	}

	updateRewardsList();
	const func = reward => getCommonReward(reward.level);
	const click_handler = reward => getCommonReward(reward.level);
	const click_handler_1 = () => prevPage();
	const click_handler_2 = () => nextPage();

	return [
		currentLevelPage,
		commonRewards,
		$battlePassData,
		$modal,
		PAGES_COUNT,
		calculateDaysLeft,
		nextPage,
		prevPage,
		getCommonReward,
		openGuide,
		buyPremium,
		arrowsHandler,
		func,
		click_handler,
		click_handler_1,
		click_handler_2
	];
}

class event_pass_components_main_index_svelte_Main extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, event_pass_components_main_index_svelte_instance, event_pass_components_main_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const event_pass_components_main_index_svelte = (event_pass_components_main_index_svelte_Main);
;// CONCATENATED MODULE: ./src/views/event-pass/components/prize-image/index.svelte
/* src\views\event-pass\components\prize-image\index.svelte generated by Svelte v3.49.0 */







function components_prize_image_index_svelte_create_if_block(ctx) {
	let portal;
	let current;

	portal = new portal_svelte({
			props: {
				$$slots: { default: [prize_image_index_svelte_create_default_slot] },
				$$scope: { ctx }
			}
		});

	return {
		c() {
			create_component(portal.$$.fragment);
		},
		m(target, anchor) {
			mount_component(portal, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const portal_changes = {};

			if (dirty & /*$$scope, tooltipPosition, tooltip*/ 1060) {
				portal_changes.$$scope = { dirty, ctx };
			}

			portal.$set(portal_changes);
		},
		i(local) {
			if (current) return;
			transition_in(portal.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(portal.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(portal, detaching);
		}
	};
}

// (31:8) <Portal>
function prize_image_index_svelte_create_default_slot(ctx) {
	let div;
	let t;
	let div_transition;
	let current;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(/*tooltip*/ ctx[2]);
			set_style(div, "--x", `${/*tooltipPosition*/ ctx[5].x}px`);
			set_style(div, "--y", `${/*tooltipPosition*/ ctx[5].y}px`);
			attr(div, "class", "event-pass-prize-image__tooltip");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
			current = true;

			if (!mounted) {
				dispose = listen(div, "mouseenter", /*showTooltip*/ ctx[6]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (!current || dirty & /*tooltip*/ 4) set_data(t, /*tooltip*/ ctx[2]);

			if (!current || dirty & /*tooltipPosition*/ 32) {
				set_style(div, "--x", `${/*tooltipPosition*/ ctx[5].x}px`);
			}

			if (!current || dirty & /*tooltipPosition*/ 32) {
				set_style(div, "--y", `${/*tooltipPosition*/ ctx[5].y}px`);
			}
		},
		i(local) {
			if (current) return;

			add_render_callback(() => {
				if (!div_transition) div_transition = create_bidirectional_transition(div, fade, { duration: 150 }, true);
				div_transition.run(1);
			});

			current = true;
		},
		o(local) {
			if (!div_transition) div_transition = create_bidirectional_transition(div, fade, { duration: 150 }, false);
			div_transition.run(0);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (detaching && div_transition) div_transition.end();
			mounted = false;
			dispose();
		}
	};
}

function components_prize_image_index_svelte_create_fragment(ctx) {
	let div;
	let show_if = /*tooltipVisibility*/ ctx[3] && !(0,lodash.isEmpty)(/*tooltip*/ ctx[2]);
	let t;
	let img;
	let img_src_value;
	let div_class_value;
	let current;
	let mounted;
	let dispose;
	let if_block = show_if && components_prize_image_index_svelte_create_if_block(ctx);

	return {
		c() {
			div = internal_element("div");
			if (if_block) if_block.c();
			t = space();
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = /*imageSrc*/ ctx[0])) attr(img, "src", img_src_value);
			attr(img, "alt", "reward");
			attr(img, "class", "event-pass-prize-image__image");
			attr(div, "class", div_class_value = "event-pass-prize-image event-pass-prize-image--" + /*style*/ ctx[1]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block) if_block.m(div, null);
			append(div, t);
			append(div, img);
			/*div_binding*/ ctx[9](div);
			current = true;

			if (!mounted) {
				dispose = [
					listen(div, "mousemove", /*mousemove_handler*/ ctx[8]),
					listen(div, "mouseleave", /*hideTooltip*/ ctx[7])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*tooltipVisibility, tooltip*/ 12) show_if = /*tooltipVisibility*/ ctx[3] && !(0,lodash.isEmpty)(/*tooltip*/ ctx[2]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*tooltipVisibility, tooltip*/ 12) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = components_prize_image_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(div, t);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}

			if (!current || dirty & /*imageSrc*/ 1 && !src_url_equal(img.src, img_src_value = /*imageSrc*/ ctx[0])) {
				attr(img, "src", img_src_value);
			}

			if (!current || dirty & /*style*/ 2 && div_class_value !== (div_class_value = "event-pass-prize-image event-pass-prize-image--" + /*style*/ ctx[1])) {
				attr(div, "class", div_class_value);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (if_block) if_block.d();
			/*div_binding*/ ctx[9](null);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function components_prize_image_index_svelte_instance($$self, $$props, $$invalidate) {
	let { imageSrc = '' } = $$props;
	let { style = '' } = $$props;
	let { tooltip = '' } = $$props;
	let tooltipVisibility = false;
	let mainNode = null;
	const tooltipPosition = {};

	const showTooltip = event => {
		const mainNodeOffset = mainNode.getBoundingClientRect();
		$$invalidate(5, tooltipPosition.x = event.clientX + mainNodeOffset.width * 0.1, tooltipPosition);
		$$invalidate(5, tooltipPosition.y = event.clientY - mainNodeOffset.height * 0.55, tooltipPosition);
		$$invalidate(3, tooltipVisibility = true);
	};

	const hideTooltip = () => {
		$$invalidate(3, tooltipVisibility = false);
	};

	const mousemove_handler = event => showTooltip(event);

	function div_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			mainNode = $$value;
			$$invalidate(4, mainNode);
		});
	}

	$$self.$$set = $$props => {
		if ('imageSrc' in $$props) $$invalidate(0, imageSrc = $$props.imageSrc);
		if ('style' in $$props) $$invalidate(1, style = $$props.style);
		if ('tooltip' in $$props) $$invalidate(2, tooltip = $$props.tooltip);
	};

	return [
		imageSrc,
		style,
		tooltip,
		tooltipVisibility,
		mainNode,
		tooltipPosition,
		showTooltip,
		hideTooltip,
		mousemove_handler,
		div_binding
	];
}

class index_svelte_Prize_image extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, components_prize_image_index_svelte_instance, components_prize_image_index_svelte_create_fragment, safe_not_equal, { imageSrc: 0, style: 1, tooltip: 2 });
	}
}

/* harmony default export */ const components_prize_image_index_svelte = (index_svelte_Prize_image);
;// CONCATENATED MODULE: ./src/views/event-pass/img/schedule.svg
const schedule_namespaceObject = __webpack_require__.p + "assets/075f556b2c69fb279131.svg";
;// CONCATENATED MODULE: ./src/views/event-pass/img/controller.svg
const controller_namespaceObject = __webpack_require__.p + "assets/e95e10bd387f5102fe66.svg";
;// CONCATENATED MODULE: ./src/views/event-pass/components/quests/index.svelte
/* src\views\event-pass\components\quests\index.svelte generated by Svelte v3.49.0 */



















function event_pass_components_quests_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[10] = list[i];
	return child_ctx;
}

function event_pass_components_quests_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[13] = list[i];
	return child_ctx;
}

// (89:49) 
function event_pass_components_quests_index_svelte_create_if_block_7(ctx) {
	let div1;
	let i;
	let t0;
	let div0;
	let t1_value = /*quest*/ ctx[10].error_text + "";
	let t1;

	return {
		c() {
			div1 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			attr(i, "class", "event-pass-quests__overlay-icon icon-lock");
			attr(div0, "class", "event-pass-quests__overlay-text");
			attr(div1, "class", "event-pass-quests__overlay");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, i);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*localQuests*/ 1 && t1_value !== (t1_value = /*quest*/ ctx[10].error_text + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (82:12) {#if quest.available_timer > 0}
function event_pass_components_quests_index_svelte_create_if_block_6(ctx) {
	let div1;
	let i;
	let t0;
	let div0;
	let t1_value = `Будет доступно через ${/*calculateHours*/ ctx[2](/*quest*/ ctx[10].available_timer)} ч. ${/*calculateMinutes*/ ctx[3](/*quest*/ ctx[10].available_timer)} м. ${/*quest*/ ctx[10].available_timer % 60} с.` + "";
	let t1;

	return {
		c() {
			div1 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			attr(i, "class", "event-pass-quests__overlay-icon icon-lock");
			attr(div0, "class", "event-pass-quests__overlay-text");
			attr(div1, "class", "event-pass-quests__overlay");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, i);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*localQuests*/ 1 && t1_value !== (t1_value = `Будет доступно через ${/*calculateHours*/ ctx[2](/*quest*/ ctx[10].available_timer)} ч. ${/*calculateMinutes*/ ctx[3](/*quest*/ ctx[10].available_timer)} м. ${/*quest*/ ctx[10].available_timer % 60} с.` + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (106:16) {:else}
function event_pass_components_quests_index_svelte_create_else_block_1(ctx) {
	let div1;
	let img;
	let img_src_value;
	let t0;
	let div0;

	return {
		c() {
			div1 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div0 = internal_element("div");
			div0.textContent = "Сюжетное";
			if (!src_url_equal(img.src, img_src_value = controller_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "story");
			attr(img, "class", "event-pass-quests__quest-daily-icon");
			attr(div0, "class", "event-pass-quests__quest-daily-text");
			attr(div1, "class", "event-pass-quests__quest-daily event-pass-quests__quest-daily--purple");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, img);
			append(div1, t0);
			append(div1, div0);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (101:50) 
function event_pass_components_quests_index_svelte_create_if_block_5(ctx) {
	let div1;
	let img;
	let img_src_value;
	let t0;
	let div0;

	return {
		c() {
			div1 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div0 = internal_element("div");
			div0.textContent = "Глобальное";
			if (!src_url_equal(img.src, img_src_value = controller_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "story");
			attr(img, "class", "event-pass-quests__quest-daily-icon");
			attr(div0, "class", "event-pass-quests__quest-daily-text");
			attr(div1, "class", "event-pass-quests__quest-daily event-pass-quests__quest-daily--red");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, img);
			append(div1, t0);
			append(div1, div0);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (96:16) {#if quest.type === 'everyday'}
function event_pass_components_quests_index_svelte_create_if_block_4(ctx) {
	let div1;
	let img;
	let img_src_value;
	let t0;
	let div0;

	return {
		c() {
			div1 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div0 = internal_element("div");
			div0.textContent = "Ежедневное";
			if (!src_url_equal(img.src, img_src_value = schedule_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "daily");
			attr(img, "class", "event-pass-quests__quest-daily-icon");
			attr(div0, "class", "event-pass-quests__quest-daily-text");
			attr(div1, "class", "event-pass-quests__quest-daily");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, img);
			append(div1, t0);
			append(div1, div0);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (114:16) {#if isEmpty(quest.error_text)}
function event_pass_components_quests_index_svelte_create_if_block_2(ctx) {
	let div7;
	let div4;
	let div2;
	let div0;
	let t0_value = formatMoney(Math.min(/*quest*/ ctx[10].progress?.current, /*quest*/ ctx[10].progress?.max)) + "";
	let t0;
	let t1;
	let div1;
	let t2;
	let t3_value = formatMoney(/*quest*/ ctx[10].progress?.max) + "";
	let t3;
	let t4;
	let div3;
	let t5;
	let div6;
	let div5;

	function select_block_type_2(ctx, dirty) {
		if (/*quest*/ ctx[10].progress?.current < /*quest*/ ctx[10].progress?.max) return event_pass_components_quests_index_svelte_create_if_block_3;
		return event_pass_components_quests_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type_2(ctx, -1);
	let if_block = current_block_type(ctx);

	return {
		c() {
			div7 = internal_element("div");
			div4 = internal_element("div");
			div2 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			div1 = internal_element("div");
			t2 = internal_text(" / ");
			t3 = internal_text(t3_value);
			t4 = space();
			div3 = internal_element("div");
			if_block.c();
			t5 = space();
			div6 = internal_element("div");
			div5 = internal_element("div");
			attr(div0, "class", "event-pass-quests__progress-current");
			attr(div1, "class", "event-pass-quests__progress-total");
			attr(div2, "class", "event-pass-quests__progress-count");
			attr(div3, "class", "event-pass-quests__progress-percents");
			attr(div4, "class", "event-pass-quests__progress-marks");
			toggle_class(div4, "event-pass-quests__progress-marks--complete", /*quest*/ ctx[10].progress?.current >= /*quest*/ ctx[10].progress?.max);
			attr(div5, "class", "event-pass-quests__progress-bar event-pass-quests__progress-bar--current");
			toggle_class(div5, "event-pass-quests__progress-bar--complete", /*quest*/ ctx[10].progress?.current >= /*quest*/ ctx[10].progress?.max);
			attr(div6, "class", "event-pass-quests__progress-bar");
			set_style(div6, "--progress-percents", `${Math.floor(countPercents(/*quest*/ ctx[10].progress?.current, /*quest*/ ctx[10].progress?.max))}%`);
			attr(div7, "class", "event-pass-quests__progress-wrapper");
		},
		m(target, anchor) {
			insert(target, div7, anchor);
			append(div7, div4);
			append(div4, div2);
			append(div2, div0);
			append(div0, t0);
			append(div2, t1);
			append(div2, div1);
			append(div1, t2);
			append(div1, t3);
			append(div4, t4);
			append(div4, div3);
			if_block.m(div3, null);
			append(div7, t5);
			append(div7, div6);
			append(div6, div5);
		},
		p(ctx, dirty) {
			if (dirty & /*localQuests*/ 1 && t0_value !== (t0_value = formatMoney(Math.min(/*quest*/ ctx[10].progress?.current, /*quest*/ ctx[10].progress?.max)) + "")) set_data(t0, t0_value);
			if (dirty & /*localQuests*/ 1 && t3_value !== (t3_value = formatMoney(/*quest*/ ctx[10].progress?.max) + "")) set_data(t3, t3_value);

			if (current_block_type === (current_block_type = select_block_type_2(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div3, null);
				}
			}

			if (dirty & /*localQuests*/ 1) {
				toggle_class(div4, "event-pass-quests__progress-marks--complete", /*quest*/ ctx[10].progress?.current >= /*quest*/ ctx[10].progress?.max);
			}

			if (dirty & /*localQuests*/ 1) {
				toggle_class(div5, "event-pass-quests__progress-bar--complete", /*quest*/ ctx[10].progress?.current >= /*quest*/ ctx[10].progress?.max);
			}

			if (dirty & /*localQuests*/ 1) {
				set_style(div6, "--progress-percents", `${Math.floor(countPercents(/*quest*/ ctx[10].progress?.current, /*quest*/ ctx[10].progress?.max))}%`);
			}
		},
		d(detaching) {
			if (detaching) detach(div7);
			if_block.d();
		}
	};
}

// (129:32) {:else}
function event_pass_components_quests_index_svelte_create_else_block(ctx) {
	let i;
	let t0;
	let div;

	return {
		c() {
			i = internal_element("i");
			t0 = space();
			div = internal_element("div");
			div.textContent = "Выполнено";
			attr(i, "class", "event-pass-quests__progress-check icon-check-bold");
			attr(div, "class", "event-pass-quests__progress-total");
		},
		m(target, anchor) {
			insert(target, i, anchor);
			insert(target, t0, anchor);
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(i);
			if (detaching) detach(t0);
			if (detaching) detach(div);
		}
	};
}

// (127:32) {#if quest.progress?.current < quest.progress?.max}
function event_pass_components_quests_index_svelte_create_if_block_3(ctx) {
	let t_value = `${Math.floor(countPercents(/*quest*/ ctx[10].progress?.current, /*quest*/ ctx[10].progress?.max))}%` + "";
	let t;

	return {
		c() {
			t = internal_text(t_value);
		},
		m(target, anchor) {
			insert(target, t, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*localQuests*/ 1 && t_value !== (t_value = `${Math.floor(countPercents(/*quest*/ ctx[10].progress?.current, /*quest*/ ctx[10].progress?.max))}%` + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(t);
		}
	};
}

// (148:24) {#if quest.items}
function event_pass_components_quests_index_svelte_create_if_block_1(ctx) {
	let each_1_anchor;
	let current;
	let each_value_1 = /*quest*/ ctx[10].items;
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = event_pass_components_quests_index_svelte_create_each_block_1(event_pass_components_quests_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty & /*CDN_URL_RODINA, localQuests*/ 1) {
				each_value_1 = /*quest*/ ctx[10].items;
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = event_pass_components_quests_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = event_pass_components_quests_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
					}
				}

				group_outros();

				for (i = each_value_1.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value_1.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			destroy_each(each_blocks, detaching);
			if (detaching) detach(each_1_anchor);
		}
	};
}

// (149:28) {#each quest.items as reward}
function event_pass_components_quests_index_svelte_create_each_block_1(ctx) {
	let div;
	let prizeimage;
	let t;
	let current;

	prizeimage = new components_prize_image_index_svelte({
			props: {
				imageSrc: `${cdn_CDN_URL_RODINA}/systems/pirate-event/rewards/${/*reward*/ ctx[13].itemid}.webp`,
				style: /*reward*/ ctx[13].color,
				tooltip: /*reward*/ ctx[13].name
			}
		});

	return {
		c() {
			div = internal_element("div");
			create_component(prizeimage.$$.fragment);
			t = space();
			attr(div, "class", "event-pass-quests__quest-prize");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(prizeimage, div, null);
			append(div, t);
			current = true;
		},
		p(ctx, dirty) {
			const prizeimage_changes = {};
			if (dirty & /*localQuests*/ 1) prizeimage_changes.imageSrc = `${cdn_CDN_URL_RODINA}/systems/pirate-event/rewards/${/*reward*/ ctx[13].itemid}.webp`;
			if (dirty & /*localQuests*/ 1) prizeimage_changes.style = /*reward*/ ctx[13].color;
			if (dirty & /*localQuests*/ 1) prizeimage_changes.tooltip = /*reward*/ ctx[13].name;
			prizeimage.$set(prizeimage_changes);
		},
		i(local) {
			if (current) return;
			transition_in(prizeimage.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(prizeimage.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(prizeimage);
		}
	};
}

// (160:20) {#if isEmpty(quest.error_text)}
function event_pass_components_quests_index_svelte_create_if_block(ctx) {
	let div;
	let button;
	let current;

	function func() {
		return /*func*/ ctx[5](/*quest*/ ctx[10]);
	}

	button = new components_button_index_svelte({
			props: {
				icon: MAP_BUTTON_TO_ICON[/*quest*/ ctx[10].button_type],
				text: MAP_BUTTON_TO_NAME[/*quest*/ ctx[10].button_type],
				style: MAP_BUTTON_TO_STYLE[/*quest*/ ctx[10].button_type],
				disabled: /*quest*/ ctx[10].button_type === Buttons.Done,
				onClick: func
			}
		});

	return {
		c() {
			div = internal_element("div");
			create_component(button.$$.fragment);
			attr(div, "class", "event-pass-quests__button");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(button, div, null);
			current = true;
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			const button_changes = {};
			if (dirty & /*localQuests*/ 1) button_changes.icon = MAP_BUTTON_TO_ICON[/*quest*/ ctx[10].button_type];
			if (dirty & /*localQuests*/ 1) button_changes.text = MAP_BUTTON_TO_NAME[/*quest*/ ctx[10].button_type];
			if (dirty & /*localQuests*/ 1) button_changes.style = MAP_BUTTON_TO_STYLE[/*quest*/ ctx[10].button_type];
			if (dirty & /*localQuests*/ 1) button_changes.disabled = /*quest*/ ctx[10].button_type === Buttons.Done;
			if (dirty & /*localQuests*/ 1) button_changes.onClick = func;
			button.$set(button_changes);
		},
		i(local) {
			if (current) return;
			transition_in(button.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(button.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(button);
		}
	};
}

// (80:4) {#each localQuests as quest}
function event_pass_components_quests_index_svelte_create_each_block(ctx) {
	let div5;
	let show_if_2;
	let t0;
	let div4;
	let t1;
	let div0;
	let t2_value = /*quest*/ ctx[10].name + "";
	let t2;
	let t3;
	let div1;
	let t4_value = /*quest*/ ctx[10].description + "";
	let t4;
	let t5;
	let show_if_1 = (0,lodash.isEmpty)(/*quest*/ ctx[10].error_text);
	let t6;
	let div3;
	let div2;
	let t7;
	let show_if = (0,lodash.isEmpty)(/*quest*/ ctx[10].error_text);
	let t8;
	let current;

	function select_block_type(ctx, dirty) {
		if (dirty & /*localQuests*/ 1) show_if_2 = null;
		if (/*quest*/ ctx[10].available_timer > 0) return event_pass_components_quests_index_svelte_create_if_block_6;
		if (show_if_2 == null) show_if_2 = !!!(0,lodash.isEmpty)(/*quest*/ ctx[10].error_text);
		if (show_if_2) return event_pass_components_quests_index_svelte_create_if_block_7;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block0 = current_block_type && current_block_type(ctx);

	function select_block_type_1(ctx, dirty) {
		if (/*quest*/ ctx[10].type === 'everyday') return event_pass_components_quests_index_svelte_create_if_block_4;
		if (/*quest*/ ctx[10].type === 'global') return event_pass_components_quests_index_svelte_create_if_block_5;
		return event_pass_components_quests_index_svelte_create_else_block_1;
	}

	let current_block_type_1 = select_block_type_1(ctx, -1);
	let if_block1 = current_block_type_1(ctx);
	let if_block2 = show_if_1 && event_pass_components_quests_index_svelte_create_if_block_2(ctx);
	let if_block3 = /*quest*/ ctx[10].items && event_pass_components_quests_index_svelte_create_if_block_1(ctx);
	let if_block4 = show_if && event_pass_components_quests_index_svelte_create_if_block(ctx);

	return {
		c() {
			div5 = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			div4 = internal_element("div");
			if_block1.c();
			t1 = space();
			div0 = internal_element("div");
			t2 = internal_text(t2_value);
			t3 = space();
			div1 = internal_element("div");
			t4 = internal_text(t4_value);
			t5 = space();
			if (if_block2) if_block2.c();
			t6 = space();
			div3 = internal_element("div");
			div2 = internal_element("div");
			if (if_block3) if_block3.c();
			t7 = space();
			if (if_block4) if_block4.c();
			t8 = space();
			attr(div0, "class", "event-pass-quests__quest-title");
			attr(div1, "class", "event-pass-quests__quest-description");
			attr(div2, "class", "event-pass-quests__quest-prizes");
			attr(div3, "class", "event-pass-quests__footer");
			attr(div4, "class", "event-pass-quests__quest-content");
			attr(div5, "class", "event-pass-quests__quest");
			set_style(div5, "--questBg", `url(${cdn_CDN_URL_RODINA}/systems/pirate-event/quests/${/*quest*/ ctx[10].image}.webp)`);
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			if (if_block0) if_block0.m(div5, null);
			append(div5, t0);
			append(div5, div4);
			if_block1.m(div4, null);
			append(div4, t1);
			append(div4, div0);
			append(div0, t2);
			append(div4, t3);
			append(div4, div1);
			append(div1, t4);
			append(div4, t5);
			if (if_block2) if_block2.m(div4, null);
			append(div4, t6);
			append(div4, div3);
			append(div3, div2);
			if (if_block3) if_block3.m(div2, null);
			append(div3, t7);
			if (if_block4) if_block4.m(div3, null);
			append(div5, t8);
			current = true;
		},
		p(ctx, dirty) {
			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block0) {
				if_block0.p(ctx, dirty);
			} else {
				if (if_block0) if_block0.d(1);
				if_block0 = current_block_type && current_block_type(ctx);

				if (if_block0) {
					if_block0.c();
					if_block0.m(div5, t0);
				}
			}

			if (current_block_type_1 === (current_block_type_1 = select_block_type_1(ctx, dirty)) && if_block1) {
				if_block1.p(ctx, dirty);
			} else {
				if_block1.d(1);
				if_block1 = current_block_type_1(ctx);

				if (if_block1) {
					if_block1.c();
					if_block1.m(div4, t1);
				}
			}

			if ((!current || dirty & /*localQuests*/ 1) && t2_value !== (t2_value = /*quest*/ ctx[10].name + "")) set_data(t2, t2_value);
			if ((!current || dirty & /*localQuests*/ 1) && t4_value !== (t4_value = /*quest*/ ctx[10].description + "")) set_data(t4, t4_value);
			if (dirty & /*localQuests*/ 1) show_if_1 = (0,lodash.isEmpty)(/*quest*/ ctx[10].error_text);

			if (show_if_1) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = event_pass_components_quests_index_svelte_create_if_block_2(ctx);
					if_block2.c();
					if_block2.m(div4, t6);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			if (/*quest*/ ctx[10].items) {
				if (if_block3) {
					if_block3.p(ctx, dirty);

					if (dirty & /*localQuests*/ 1) {
						transition_in(if_block3, 1);
					}
				} else {
					if_block3 = event_pass_components_quests_index_svelte_create_if_block_1(ctx);
					if_block3.c();
					transition_in(if_block3, 1);
					if_block3.m(div2, null);
				}
			} else if (if_block3) {
				group_outros();

				transition_out(if_block3, 1, 1, () => {
					if_block3 = null;
				});

				check_outros();
			}

			if (dirty & /*localQuests*/ 1) show_if = (0,lodash.isEmpty)(/*quest*/ ctx[10].error_text);

			if (show_if) {
				if (if_block4) {
					if_block4.p(ctx, dirty);

					if (dirty & /*localQuests*/ 1) {
						transition_in(if_block4, 1);
					}
				} else {
					if_block4 = event_pass_components_quests_index_svelte_create_if_block(ctx);
					if_block4.c();
					transition_in(if_block4, 1);
					if_block4.m(div3, null);
				}
			} else if (if_block4) {
				group_outros();

				transition_out(if_block4, 1, 1, () => {
					if_block4 = null;
				});

				check_outros();
			}

			if (!current || dirty & /*localQuests*/ 1) {
				set_style(div5, "--questBg", `url(${cdn_CDN_URL_RODINA}/systems/pirate-event/quests/${/*quest*/ ctx[10].image}.webp)`);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block3);
			transition_in(if_block4);
			current = true;
		},
		o(local) {
			transition_out(if_block3);
			transition_out(if_block4);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div5);

			if (if_block0) {
				if_block0.d();
			}

			if_block1.d();
			if (if_block2) if_block2.d();
			if (if_block3) if_block3.d();
			if (if_block4) if_block4.d();
		}
	};
}

function event_pass_components_quests_index_svelte_create_fragment(ctx) {
	let div;
	let div_intro;
	let current;
	let each_value = /*localQuests*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = event_pass_components_quests_index_svelte_create_each_block(event_pass_components_quests_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "event-pass-quests");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}

			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*CDN_URL_RODINA, localQuests, MAP_BUTTON_TO_ICON, MAP_BUTTON_TO_NAME, MAP_BUTTON_TO_STYLE, Buttons, doAction, isEmpty, Math, countPercents, formatMoney, scheduleIcon, controllerIcon, calculateHours, calculateMinutes*/ 15) {
				each_value = /*localQuests*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = event_pass_components_quests_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = event_pass_components_quests_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			if (!div_intro) {
				add_render_callback(() => {
					div_intro = create_in_transition(div, fade, { duration: 120 });
					div_intro.start();
				});
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

function event_pass_components_quests_index_svelte_instance($$self, $$props, $$invalidate) {
	let $quests;
	component_subscribe($$self, store_quests, $$value => $$invalidate(4, $quests = $$value));
	let intervalId = null;
	let timerIndexes = [];
	let localQuests = [];
	const audio = new Audio(happ_sound_click_namespaceObject);

	const createInterval = () => {
		localQuests.forEach((item, index) => {
			if (item.available_timer > 0 && !timerIndexes.includes(index)) {
				timerIndexes.push(index);
			}
		});

		if ((0,lodash.isNil)(intervalId)) {
			intervalId = setInterval(
				() => {
					timerIndexes.forEach((item, index) => {
						$$invalidate(0, localQuests[item].available_timer -= 1, localQuests);

						if (localQuests[item].available_timer === 0) {
							timerIndexes = timerIndexes.filter((timerItem, indexToRemove) => index !== indexToRemove);
						}
					});

					if ((0,lodash.isEmpty)(timerIndexes)) {
						clearInterval(intervalId);
						intervalId = null;
					}
				},
				1000
			);
		}
	};

	const doAction = (action, id) => {
		if (action === Buttons.Done) {
			return;
		}

		audio.play();
		sendClientMessage('eventPass.quest.questButton', id);
	};

	const calculateHours = seconds => Math.floor(seconds / 3600);
	const calculateMinutes = seconds => Math.floor(seconds % 3600 / 60);

	onDestroy(() => {
		set_store_value(store_quests, $quests = [], $quests);

		if (!(0,lodash.isNil)(intervalId)) {
			clearInterval(intervalId);
			intervalId = null;
		}
	});

	const func = quest => doAction(quest.button_type, quest.id);

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*$quests*/ 16) {
			$: {
				if (!(0,lodash.isEmpty)($quests)) {
					$$invalidate(0, localQuests = $quests);
					createInterval();
				}
			}
		}
	};

	return [localQuests, doAction, calculateHours, calculateMinutes, $quests, func];
}

class event_pass_components_quests_index_svelte_Quests extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, event_pass_components_quests_index_svelte_instance, event_pass_components_quests_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const event_pass_components_quests_index_svelte = (event_pass_components_quests_index_svelte_Quests);
;// CONCATENATED MODULE: ./src/views/event-pass/components/events/index.svelte
/* src\views\event-pass\components\events\index.svelte generated by Svelte v3.49.0 */
















function events_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[11] = list[i];
	return child_ctx;
}

function events_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[14] = list[i];
	return child_ctx;
}

// (99:44) 
function events_index_svelte_create_if_block_4(ctx) {
	let div2;
	let div0;
	let t1;
	let div1;
	let t2_value = `${/*calculateHours*/ ctx[4](/*event*/ ctx[11].start_after)} ч. ${/*calculateMinutes*/ ctx[5](/*event*/ ctx[11].start_after)} м. ${/*event*/ ctx[11].start_after % 60} с.` + "";
	let t2;

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "Начало через";
			t1 = space();
			div1 = internal_element("div");
			t2 = internal_text(t2_value);
			attr(div0, "class", "event-pass-events__timer-text");
			attr(div1, "class", "event-pass-events__timer-text");
			attr(div2, "class", "event-pass-events__timer");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div2, t1);
			append(div2, div1);
			append(div1, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*localEvents*/ 1 && t2_value !== (t2_value = `${/*calculateHours*/ ctx[4](/*event*/ ctx[11].start_after)} ч. ${/*calculateMinutes*/ ctx[5](/*event*/ ctx[11].start_after)} м. ${/*event*/ ctx[11].start_after % 60} с.` + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

// (89:12) {#if event.available_after > 0}
function events_index_svelte_create_if_block_3(ctx) {
	let div2;
	let i;
	let t0;
	let div0;
	let t2;
	let div1;
	let t3_value = `${/*calculateHours*/ ctx[4](/*event*/ ctx[11].available_after)} ч. ${/*calculateMinutes*/ ctx[5](/*event*/ ctx[11].available_after)} м. ${/*event*/ ctx[11].available_after % 60} с.` + "";
	let t3;

	return {
		c() {
			div2 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div0 = internal_element("div");
			div0.textContent = "Будет доступно через";
			t2 = space();
			div1 = internal_element("div");
			t3 = internal_text(t3_value);
			attr(i, "class", "event-pass-events__overlay-icon icon-lock");
			attr(div0, "class", "event-pass-events__overlay-text");
			attr(div1, "class", "event-pass-events__overlay-text");
			attr(div2, "class", "event-pass-events__overlay");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, i);
			append(div2, t0);
			append(div2, div0);
			append(div2, t2);
			append(div2, div1);
			append(div1, t3);
		},
		p(ctx, dirty) {
			if (dirty & /*localEvents*/ 1 && t3_value !== (t3_value = `${/*calculateHours*/ ctx[4](/*event*/ ctx[11].available_after)} ч. ${/*calculateMinutes*/ ctx[5](/*event*/ ctx[11].available_after)} м. ${/*event*/ ctx[11].available_after % 60} с.` + "")) set_data(t3, t3_value);
		},
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

// (117:20) {#each event.items as reward}
function events_index_svelte_create_each_block_1(ctx) {
	let div;
	let prizeimage;
	let t;
	let current;

	prizeimage = new components_prize_image_index_svelte({
			props: {
				imageSrc: `${cdn_CDN_URL_RODINA}/systems/pirate-event/rewards/${/*reward*/ ctx[14].itemid}.webp`,
				style: /*reward*/ ctx[14].color,
				tooltip: /*reward*/ ctx[14].name
			}
		});

	return {
		c() {
			div = internal_element("div");
			create_component(prizeimage.$$.fragment);
			t = space();
			attr(div, "class", "event-pass-events__event-prize");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(prizeimage, div, null);
			append(div, t);
			current = true;
		},
		p(ctx, dirty) {
			const prizeimage_changes = {};
			if (dirty & /*localEvents*/ 1) prizeimage_changes.imageSrc = `${cdn_CDN_URL_RODINA}/systems/pirate-event/rewards/${/*reward*/ ctx[14].itemid}.webp`;
			if (dirty & /*localEvents*/ 1) prizeimage_changes.style = /*reward*/ ctx[14].color;
			if (dirty & /*localEvents*/ 1) prizeimage_changes.tooltip = /*reward*/ ctx[14].name;
			prizeimage.$set(prizeimage_changes);
		},
		i(local) {
			if (current) return;
			transition_in(prizeimage.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(prizeimage.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(prizeimage);
		}
	};
}

// (136:77) 
function events_index_svelte_create_if_block_2(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "Ожидайте свободной комнаты";
			attr(div, "class", "event-pass-events__event-rooms-full");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (129:24) {#if !isNil(event.players)}
function events_index_svelte_create_if_block_1(ctx) {
	let div0;
	let t1;
	let div1;
	let t2_value = `${/*event*/ ctx[11].players.current} / ${/*event*/ ctx[11].players.max}` + "";
	let t2;

	return {
		c() {
			div0 = internal_element("div");
			div0.textContent = "Участников";
			t1 = space();
			div1 = internal_element("div");
			t2 = internal_text(t2_value);
			attr(div0, "class", "event-pass-events__event-stat-name");
			attr(div1, "class", "event-pass-events__event-stat-count");
		},
		m(target, anchor) {
			insert(target, div0, anchor);
			insert(target, t1, anchor);
			insert(target, div1, anchor);
			append(div1, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*localEvents*/ 1 && t2_value !== (t2_value = `${/*event*/ ctx[11].players.current} / ${/*event*/ ctx[11].players.max}` + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div0);
			if (detaching) detach(t1);
			if (detaching) detach(div1);
		}
	};
}

// (142:20) {#if !isNil(event.attempts)}
function events_index_svelte_create_if_block(ctx) {
	let div2;
	let div0;
	let t1;
	let div1;
	let t2_value = `${/*event*/ ctx[11].attempts.current} / ${/*event*/ ctx[11].attempts.max}` + "";
	let t2;

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "Доступно попыток";
			t1 = space();
			div1 = internal_element("div");
			t2 = internal_text(t2_value);
			attr(div0, "class", "event-pass-events__event-stat-name");
			attr(div1, "class", "event-pass-events__event-stat-count");
			attr(div2, "class", "event-pass-events__event-stat");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div2, t1);
			append(div2, div1);
			append(div1, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*localEvents*/ 1 && t2_value !== (t2_value = `${/*event*/ ctx[11].attempts.current} / ${/*event*/ ctx[11].attempts.max}` + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

// (87:4) {#each localEvents as event}
function events_index_svelte_create_each_block(ctx) {
	let div7;
	let t0;
	let div6;
	let div0;
	let t1_value = /*event*/ ctx[11].name + "";
	let t1;
	let t2;
	let div1;
	let t3_value = /*event*/ ctx[11].description + "";
	let t3;
	let t4;
	let div2;
	let t5;
	let div4;
	let div3;
	let show_if_1;
	let t6;
	let show_if = !(0,lodash.isNil)(/*event*/ ctx[11].attempts);
	let t7;
	let div5;
	let button;
	let t8;
	let current;

	function select_block_type(ctx, dirty) {
		if (/*event*/ ctx[11].available_after > 0) return events_index_svelte_create_if_block_3;
		if (/*event*/ ctx[11].start_after > 0) return events_index_svelte_create_if_block_4;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block0 = current_block_type && current_block_type(ctx);
	let each_value_1 = /*event*/ ctx[11].items;
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = events_index_svelte_create_each_block_1(events_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	function select_block_type_1(ctx, dirty) {
		if (dirty & /*localEvents*/ 1) show_if_1 = null;
		if (show_if_1 == null) show_if_1 = !!!(0,lodash.isNil)(/*event*/ ctx[11].players);
		if (show_if_1) return events_index_svelte_create_if_block_1;
		if (/*event*/ ctx[11].button_type === Buttons.PlayersLimit) return events_index_svelte_create_if_block_2;
	}

	let current_block_type_1 = select_block_type_1(ctx, -1);
	let if_block1 = current_block_type_1 && current_block_type_1(ctx);
	let if_block2 = show_if && events_index_svelte_create_if_block(ctx);

	function func() {
		return /*func*/ ctx[7](/*event*/ ctx[11]);
	}

	button = new components_button_index_svelte({
			props: {
				icon: MAP_BUTTON_TO_ICON[/*event*/ ctx[11].button_type],
				text: MAP_BUTTON_TO_NAME[/*event*/ ctx[11].button_type],
				style: MAP_BUTTON_TO_STYLE[/*event*/ ctx[11].button_type],
				disabled: /*event*/ ctx[11].button_type === Buttons.PlayersLimit,
				onClick: func
			}
		});

	return {
		c() {
			div7 = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			div6 = internal_element("div");
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			div1 = internal_element("div");
			t3 = internal_text(t3_value);
			t4 = space();
			div2 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t5 = space();
			div4 = internal_element("div");
			div3 = internal_element("div");
			if (if_block1) if_block1.c();
			t6 = space();
			if (if_block2) if_block2.c();
			t7 = space();
			div5 = internal_element("div");
			create_component(button.$$.fragment);
			t8 = space();
			attr(div0, "class", "event-pass-events__event-name");
			attr(div1, "class", "event-pass-events__event-description");
			attr(div2, "class", "event-pass-events__event-prizes");
			attr(div3, "class", "event-pass-events__event-stat");
			attr(div4, "class", "event-pass-events__event-stats");
			attr(div5, "class", "event-pass-events__event-button");
			attr(div6, "class", "event-pass-events__even-content");
			attr(div7, "class", "event-pass-events__event");
			set_style(div7, "--eventBg", `url(${cdn_CDN_URL_RODINA}/systems/pirate-event/events/${/*event*/ ctx[11].image}.webp)`);
		},
		m(target, anchor) {
			insert(target, div7, anchor);
			if (if_block0) if_block0.m(div7, null);
			append(div7, t0);
			append(div7, div6);
			append(div6, div0);
			append(div0, t1);
			append(div6, t2);
			append(div6, div1);
			append(div1, t3);
			append(div6, t4);
			append(div6, div2);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div2, null);
			}

			append(div6, t5);
			append(div6, div4);
			append(div4, div3);
			if (if_block1) if_block1.m(div3, null);
			append(div4, t6);
			if (if_block2) if_block2.m(div4, null);
			append(div6, t7);
			append(div6, div5);
			mount_component(button, div5, null);
			append(div7, t8);
			current = true;
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block0) {
				if_block0.p(ctx, dirty);
			} else {
				if (if_block0) if_block0.d(1);
				if_block0 = current_block_type && current_block_type(ctx);

				if (if_block0) {
					if_block0.c();
					if_block0.m(div7, t0);
				}
			}

			if ((!current || dirty & /*localEvents*/ 1) && t1_value !== (t1_value = /*event*/ ctx[11].name + "")) set_data(t1, t1_value);
			if ((!current || dirty & /*localEvents*/ 1) && t3_value !== (t3_value = /*event*/ ctx[11].description + "")) set_data(t3, t3_value);

			if (dirty & /*CDN_URL_RODINA, localEvents*/ 1) {
				each_value_1 = /*event*/ ctx[11].items;
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = events_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = events_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div2, null);
					}
				}

				group_outros();

				for (i = each_value_1.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}

			if (current_block_type_1 === (current_block_type_1 = select_block_type_1(ctx, dirty)) && if_block1) {
				if_block1.p(ctx, dirty);
			} else {
				if (if_block1) if_block1.d(1);
				if_block1 = current_block_type_1 && current_block_type_1(ctx);

				if (if_block1) {
					if_block1.c();
					if_block1.m(div3, null);
				}
			}

			if (dirty & /*localEvents*/ 1) show_if = !(0,lodash.isNil)(/*event*/ ctx[11].attempts);

			if (show_if) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = events_index_svelte_create_if_block(ctx);
					if_block2.c();
					if_block2.m(div4, null);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			const button_changes = {};
			if (dirty & /*localEvents*/ 1) button_changes.icon = MAP_BUTTON_TO_ICON[/*event*/ ctx[11].button_type];
			if (dirty & /*localEvents*/ 1) button_changes.text = MAP_BUTTON_TO_NAME[/*event*/ ctx[11].button_type];
			if (dirty & /*localEvents*/ 1) button_changes.style = MAP_BUTTON_TO_STYLE[/*event*/ ctx[11].button_type];
			if (dirty & /*localEvents*/ 1) button_changes.disabled = /*event*/ ctx[11].button_type === Buttons.PlayersLimit;
			if (dirty & /*localEvents*/ 1) button_changes.onClick = func;
			button.$set(button_changes);

			if (!current || dirty & /*localEvents*/ 1) {
				set_style(div7, "--eventBg", `url(${cdn_CDN_URL_RODINA}/systems/pirate-event/events/${/*event*/ ctx[11].image}.webp)`);
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value_1.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			transition_in(button.$$.fragment, local);
			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			transition_out(button.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div7);

			if (if_block0) {
				if_block0.d();
			}

			destroy_each(each_blocks, detaching);

			if (if_block1) {
				if_block1.d();
			}

			if (if_block2) if_block2.d();
			destroy_component(button);
		}
	};
}

function events_index_svelte_create_fragment(ctx) {
	let div;
	let div_intro;
	let current;
	let mounted;
	let dispose;
	let each_value = /*localEvents*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = events_index_svelte_create_each_block(events_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "event-pass-events");
			toggle_class(div, "event-pass-events--large", /*localEvents*/ ctx[0]?.length > 3);
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}

			/*div_binding*/ ctx[8](div);
			current = true;

			if (!mounted) {
				dispose = listen(div, "wheel", /*handleWheel*/ ctx[2]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*CDN_URL_RODINA, localEvents, MAP_BUTTON_TO_ICON, MAP_BUTTON_TO_NAME, MAP_BUTTON_TO_STYLE, Buttons, doAction, isNil, calculateHours, calculateMinutes*/ 57) {
				each_value = /*localEvents*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = events_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = events_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}

			if (dirty & /*localEvents*/ 1) {
				toggle_class(div, "event-pass-events--large", /*localEvents*/ ctx[0]?.length > 3);
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			if (!div_intro) {
				add_render_callback(() => {
					div_intro = create_in_transition(div, fade, { duration: 120 });
					div_intro.start();
				});
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
			/*div_binding*/ ctx[8](null);
			mounted = false;
			dispose();
		}
	};
}

function events_index_svelte_instance($$self, $$props, $$invalidate) {
	let $events;
	component_subscribe($$self, events, $$value => $$invalidate(6, $events = $$value));
	const audio = new Audio(happ_sound_click_namespaceObject);
	let intervalId = null;

	// let timerIndexes = [];
	let localEvents = [];

	let containerRef;

	const handleWheel = event => {
		$$invalidate(1, containerRef.scrollLeft += event.deltaY, containerRef);
	};

	const doAction = (action, id) => {
		if (action === Buttons.PlayersLimit) {
			return;
		}

		audio.play();
		sendClientMessage('eventPass.event.eventButton', id);
	};

	const calculateHours = seconds => Math.floor(seconds / 3600);
	const calculateMinutes = seconds => Math.floor(seconds % 3600 / 60);

	onDestroy(() => {
		set_store_value(events, $events = [], $events);

		if (!(0,lodash.isNil)(intervalId)) {
			clearInterval(intervalId);
			intervalId = null;
		}
	});

	const func = event => doAction(event.button_type, event.event_id);

	function div_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			containerRef = $$value;
			$$invalidate(1, containerRef);
		});
	}

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*$events*/ 64) {
			// const createInterval = () => {
			//     localEvents.forEach((item, index) => {
			//         if (item.available_after > 0 && !timerIndexes.includes(index)) {
			//             timerIndexes.push(index);
			//         }
			//     });
			//     if (isNil(intervalId)) {
			//         intervalId = setInterval(() => {
			//             timerIndexes.forEach((item, index) => {
			//                 localEvents[item].available_after -= 1;
			//                 if (localEvents[item].available_after === 0) {
			//                     timerIndexes = timerIndexes.filter((timerItem, indexToRemove) => index !== indexToRemove);
			//                 }
			//             });
			//             if (isEmpty(timerIndexes)) {
			//                 clearInterval(intervalId);
			//                 intervalId = null;
			//             }
			//         }, 1000);
			//     }
			// };
			$: {
				if (!(0,lodash.isEmpty)($events)) {
					$$invalidate(0, localEvents = $events);
				} // createInterval();
			}
		}
	};

	return [
		localEvents,
		containerRef,
		handleWheel,
		doAction,
		calculateHours,
		calculateMinutes,
		$events,
		func,
		div_binding
	];
}

class Events extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, events_index_svelte_instance, events_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const events_index_svelte = (Events);
;// CONCATENATED MODULE: ./src/views/event-pass/img/shop/first.svg
const shop_first_namespaceObject = __webpack_require__.p + "assets/4f9057845ee87384c741.svg";
;// CONCATENATED MODULE: ./src/views/event-pass/img/shop/second.svg
const shop_second_namespaceObject = __webpack_require__.p + "assets/a16af5469e4fa2290b43.svg";
;// CONCATENATED MODULE: ./src/views/event-pass/components/shop/index.svelte
/* src\views\event-pass\components\shop\index.svelte generated by Svelte v3.49.0 */













// import coin from '../../img/coin.svg';




function event_pass_components_shop_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[6] = list[i];
	child_ctx[8] = i;
	return child_ctx;
}

function components_shop_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[9] = list[i];
	child_ctx[8] = i;
	return child_ctx;
}

// (25:0) {#if !isEmpty($shop)}
function event_pass_components_shop_index_svelte_create_if_block(ctx) {
	let div;
	let t;
	let show_if;
	let current_block_type_index;
	let if_block1;
	let div_intro;
	let current;
	let if_block0 = /*$shop*/ ctx[1].top && components_shop_index_svelte_create_if_block_3(ctx);
	const if_block_creators = [event_pass_components_shop_index_svelte_create_if_block_1, components_shop_index_svelte_create_else_block_1];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (dirty & /*$purchaseItem*/ 1) show_if = null;
		if (show_if == null) show_if = !!(0,lodash.isEmpty)(/*$purchaseItem*/ ctx[0]);
		if (show_if) return 0;
		return 1;
	}

	current_block_type_index = select_block_type(ctx, -1);
	if_block1 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div = internal_element("div");
			if (if_block0) if_block0.c();
			t = space();
			if_block1.c();
			attr(div, "class", "event-pass-shop");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block0) if_block0.m(div, null);
			append(div, t);
			if_blocks[current_block_type_index].m(div, null);
			current = true;
		},
		p(ctx, dirty) {
			if (/*$shop*/ ctx[1].top) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = components_shop_index_svelte_create_if_block_3(ctx);
					if_block0.c();
					if_block0.m(div, t);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block1 = if_blocks[current_block_type_index];

				if (!if_block1) {
					if_block1 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block1.c();
				} else {
					if_block1.p(ctx, dirty);
				}

				transition_in(if_block1, 1);
				if_block1.m(div, null);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block1);

			if (!div_intro) {
				add_render_callback(() => {
					div_intro = create_in_transition(div, fade, { duration: 120 });
					div_intro.start();
				});
			}

			current = true;
		},
		o(local) {
			transition_out(if_block1);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (if_block0) if_block0.d();
			if_blocks[current_block_type_index].d();
		}
	};
}

// (27:8) {#if $shop.top}
function components_shop_index_svelte_create_if_block_3(ctx) {
	let div;
	let each_value_1 = /*$shop*/ ctx[1].top;
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = components_shop_index_svelte_create_each_block_1(components_shop_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "event-pass-shop__sidebar");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}
		},
		p(ctx, dirty) {
			if (dirty & /*$shop, firstIcon, secondIcon, CDN_ITEMS_URL*/ 2) {
				each_value_1 = /*$shop*/ ctx[1].top;
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = components_shop_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = components_shop_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (29:16) {#each $shop.top as top, index}
function components_shop_index_svelte_create_each_block_1(ctx) {
	let div4;
	let img0;
	let img0_src_value;
	let t0;
	let img1;
	let img1_src_value;
	let t1;
	let div0;
	let t2;
	let div3;
	let div1;
	let t3_value = /*top*/ ctx[9].name + "";
	let t3;
	let t4;
	let div2;
	let t5_value = /*top*/ ctx[9].description + "";
	let t5;
	let t6;

	return {
		c() {
			div4 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			img1 = internal_element("img");
			t1 = space();
			div0 = internal_element("div");
			t2 = space();
			div3 = internal_element("div");
			div1 = internal_element("div");
			t3 = internal_text(t3_value);
			t4 = space();
			div2 = internal_element("div");
			t5 = internal_text(t5_value);
			t6 = space();
			if (!src_url_equal(img0.src, img0_src_value = `${CDN_ITEMS_URL}/${/*top*/ ctx[9].image}.webp`)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "top");
			attr(img0, "class", "event-pass-shop__top-image");
			if (!src_url_equal(img1.src, img1_src_value = /*index*/ ctx[8] === 0 ? shop_first_namespaceObject : shop_second_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "top");
			attr(img1, "class", "event-pass-shop__top-badge");
			attr(div0, "class", "event-pass-shop__top-overlay");
			attr(div1, "class", "event-pass-shop__top-name");
			attr(div2, "class", "event-pass-shop__top-caption");
			attr(div3, "class", "event-pass-shop__top-name-wrapper");
			attr(div4, "class", "event-pass-shop__top");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, img0);
			append(div4, t0);
			append(div4, img1);
			append(div4, t1);
			append(div4, div0);
			append(div4, t2);
			append(div4, div3);
			append(div3, div1);
			append(div1, t3);
			append(div3, t4);
			append(div3, div2);
			append(div2, t5);
			append(div4, t6);
		},
		p(ctx, dirty) {
			if (dirty & /*$shop*/ 2 && !src_url_equal(img0.src, img0_src_value = `${CDN_ITEMS_URL}/${/*top*/ ctx[9].image}.webp`)) {
				attr(img0, "src", img0_src_value);
			}

			if (dirty & /*$shop*/ 2 && t3_value !== (t3_value = /*top*/ ctx[9].name + "")) set_data(t3, t3_value);
			if (dirty & /*$shop*/ 2 && t5_value !== (t5_value = /*top*/ ctx[9].description + "")) set_data(t5, t5_value);
		},
		d(detaching) {
			if (detaching) detach(div4);
		}
	};
}

// (67:8) {:else}
function components_shop_index_svelte_create_else_block_1(ctx) {
	let div5;
	let img;
	let img_src_value;
	let t0;
	let div0;
	let t1_value = /*$purchaseItem*/ ctx[0].name + "";
	let t1;
	let t2;
	let div1;
	let t3_value = `${/*$purchaseItem*/ ctx[0].count} шт.` + "";
	let t3;
	let t4;
	let div2;
	let t5_value = /*$purchaseItem*/ ctx[0].caption + "";
	let t5;
	let t6;
	let div4;
	let i;
	let t7;
	let div3;
	let div5_intro;
	let mounted;
	let dispose;

	return {
		c() {
			div5 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			div1 = internal_element("div");
			t3 = internal_text(t3_value);
			t4 = space();
			div2 = internal_element("div");
			t5 = internal_text(t5_value);
			t6 = space();
			div4 = internal_element("div");
			i = internal_element("i");
			t7 = space();
			div3 = internal_element("div");
			div3.textContent = "ВЕРНУТЬСЯ НАЗАД";
			if (!src_url_equal(img.src, img_src_value = `${CDN_ITEMS_URL}/${/*$purchaseItem*/ ctx[0].image}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "purchaseItem");
			attr(img, "class", "event-pass-shop__purchase-item-image");
			attr(div0, "class", "event-pass-shop__purchase-item-name");
			attr(div1, "class", "event-pass-shop__purchase-item-count");
			attr(div2, "class", "event-pass-shop__purchase-item-caption");
			attr(i, "class", "event-pass-shop__purchase-item-button-icon icon-chevron-left-quad");
			attr(div3, "class", "event-pass-shop__purchase-item-button-text");
			attr(div4, "class", "event-pass-shop__purchase-item-button");
			attr(div5, "class", "event-pass-shop__purchase-item");
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			append(div5, img);
			append(div5, t0);
			append(div5, div0);
			append(div0, t1);
			append(div5, t2);
			append(div5, div1);
			append(div1, t3);
			append(div5, t4);
			append(div5, div2);
			append(div2, t5);
			append(div5, t6);
			append(div5, div4);
			append(div4, i);
			append(div4, t7);
			append(div4, div3);

			if (!mounted) {
				dispose = listen(div3, "click", /*backToShop*/ ctx[2]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*$purchaseItem*/ 1 && !src_url_equal(img.src, img_src_value = `${CDN_ITEMS_URL}/${/*$purchaseItem*/ ctx[0].image}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*$purchaseItem*/ 1 && t1_value !== (t1_value = /*$purchaseItem*/ ctx[0].name + "")) set_data(t1, t1_value);
			if (dirty & /*$purchaseItem*/ 1 && t3_value !== (t3_value = `${/*$purchaseItem*/ ctx[0].count} шт.` + "")) set_data(t3, t3_value);
			if (dirty & /*$purchaseItem*/ 1 && t5_value !== (t5_value = /*$purchaseItem*/ ctx[0].caption + "")) set_data(t5, t5_value);
		},
		i(local) {
			if (!div5_intro) {
				add_render_callback(() => {
					div5_intro = create_in_transition(div5, scale, { duration: 500 });
					div5_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div5);
			mounted = false;
			dispose();
		}
	};
}

// (42:8) {#if isEmpty($purchaseItem)}
function event_pass_components_shop_index_svelte_create_if_block_1(ctx) {
	let div;
	let current;
	let each_value = /*$shop*/ ctx[1].items;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = event_pass_components_shop_index_svelte_create_each_block(event_pass_components_shop_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "event-pass-shop__main");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}

			current = true;
		},
		p(ctx, dirty) {
			if (dirty & /*$shop, purchase, MAP_COINS_TYPE_TO_ICON, formatMoney, CDN_ITEMS_URL*/ 10) {
				each_value = /*$shop*/ ctx[1].items;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = event_pass_components_shop_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = event_pass_components_shop_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (54:28) {:else}
function components_shop_index_svelte_create_else_block(ctx) {
	let div1;
	let div0;
	let t0_value = formatMoney(/*item*/ ctx[6].price) + "";
	let t0;
	let t1;
	let img;
	let img_src_value;
	let t2;
	let div2;
	let button;
	let current;

	function func() {
		return /*func*/ ctx[4](/*item*/ ctx[6]);
	}

	button = new components_button_index_svelte({
			props: {
				style: 'yellow',
				text: 'Купить',
				onClick: func
			}
		});

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			img = internal_element("img");
			t2 = space();
			div2 = internal_element("div");
			create_component(button.$$.fragment);
			attr(div0, "class", "event-pass-shop__item-price-value");
			if (!src_url_equal(img.src, img_src_value = MAP_COINS_TYPE_TO_ICON[/*item*/ ctx[6].currency])) attr(img, "src", img_src_value);
			attr(img, "alt", "azCoin");
			attr(img, "class", "event-pass-shop__item-price-icon");
			attr(div1, "class", "event-pass-shop__item-price");
			attr(div2, "class", "event-pass-shop__item-button");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, t0);
			append(div1, t1);
			append(div1, img);
			insert(target, t2, anchor);
			insert(target, div2, anchor);
			mount_component(button, div2, null);
			current = true;
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if ((!current || dirty & /*$shop*/ 2) && t0_value !== (t0_value = formatMoney(/*item*/ ctx[6].price) + "")) set_data(t0, t0_value);

			if (!current || dirty & /*$shop*/ 2 && !src_url_equal(img.src, img_src_value = MAP_COINS_TYPE_TO_ICON[/*item*/ ctx[6].currency])) {
				attr(img, "src", img_src_value);
			}

			const button_changes = {};
			if (dirty & /*$shop*/ 2) button_changes.onClick = func;
			button.$set(button_changes);
		},
		i(local) {
			if (current) return;
			transition_in(button.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(button.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			if (detaching) detach(t2);
			if (detaching) detach(div2);
			destroy_component(button);
		}
	};
}

// (49:28) {#if item.recived}
function components_shop_index_svelte_create_if_block_2(ctx) {
	let div1;

	return {
		c() {
			div1 = internal_element("div");

			div1.innerHTML = `<i class="event-pass-shop__item-recived-icon icon-check"></i> 
                                    <div class="event-pass-shop__item-recived-text">Открыто</div>`;

			attr(div1, "class", "event-pass-shop__item-recived");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (44:16) {#each $shop.items as item, index}
function event_pass_components_shop_index_svelte_create_each_block(ctx) {
	let div2;
	let div0;
	let t0_value = /*item*/ ctx[6].name + "";
	let t0;
	let t1;
	let img;
	let img_src_value;
	let t2;
	let div1;
	let current_block_type_index;
	let if_block;
	let t3;
	let current;
	const if_block_creators = [components_shop_index_svelte_create_if_block_2, components_shop_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type_1(ctx, dirty) {
		if (/*item*/ ctx[6].recived) return 0;
		return 1;
	}

	current_block_type_index = select_block_type_1(ctx, -1);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			img = internal_element("img");
			t2 = space();
			div1 = internal_element("div");
			if_block.c();
			t3 = space();
			attr(div0, "class", "event-pass-shop__item-name");
			if (!src_url_equal(img.src, img_src_value = `${CDN_ITEMS_URL}/${/*item*/ ctx[6].image}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "item");
			attr(img, "class", "event-pass-shop__item-image");
			attr(div1, "class", "event-pass-shop__item-controls");
			attr(div2, "class", "event-pass-shop__item");
			toggle_class(div2, "event-pass-shop__item--yellow", !/*item*/ ctx[6].recived);
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div0, t0);
			append(div2, t1);
			append(div2, img);
			append(div2, t2);
			append(div2, div1);
			if_blocks[current_block_type_index].m(div1, null);
			append(div2, t3);
			current = true;
		},
		p(ctx, dirty) {
			if ((!current || dirty & /*$shop*/ 2) && t0_value !== (t0_value = /*item*/ ctx[6].name + "")) set_data(t0, t0_value);

			if (!current || dirty & /*$shop*/ 2 && !src_url_equal(img.src, img_src_value = `${CDN_ITEMS_URL}/${/*item*/ ctx[6].image}.webp`)) {
				attr(img, "src", img_src_value);
			}

			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type_1(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(div1, null);
			}

			if (dirty & /*$shop*/ 2) {
				toggle_class(div2, "event-pass-shop__item--yellow", !/*item*/ ctx[6].recived);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div2);
			if_blocks[current_block_type_index].d();
		}
	};
}

function event_pass_components_shop_index_svelte_create_fragment(ctx) {
	let show_if = !(0,lodash.isEmpty)(/*$shop*/ ctx[1]);
	let if_block_anchor;
	let current;
	let if_block = show_if && event_pass_components_shop_index_svelte_create_if_block(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*$shop*/ 2) show_if = !(0,lodash.isEmpty)(/*$shop*/ ctx[1]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*$shop*/ 2) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = event_pass_components_shop_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

function event_pass_components_shop_index_svelte_instance($$self, $$props, $$invalidate) {
	let $purchaseItem;
	let $shop;
	component_subscribe($$self, purchaseItem, $$value => $$invalidate(0, $purchaseItem = $$value));
	component_subscribe($$self, store_shop, $$value => $$invalidate(1, $shop = $$value));
	const audio = new Audio(happ_sound_click_namespaceObject);

	const backToShop = () => {
		set_store_value(purchaseItem, $purchaseItem = {}, $purchaseItem);
	};

	const purchase = (id, currency) => {
		sendClientMessage('eventPass.shop.purchase', id, currency);
		audio.play();
	};

	const func = item => purchase(item.id, item.currency);
	return [$purchaseItem, $shop, backToShop, purchase, func];
}

class event_pass_components_shop_index_svelte_Shop extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, event_pass_components_shop_index_svelte_instance, event_pass_components_shop_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const event_pass_components_shop_index_svelte = (event_pass_components_shop_index_svelte_Shop);
;// CONCATENATED MODULE: ./src/views/event-pass/video/guide.webm
const guide_namespaceObject = __webpack_require__.p + "assets/c6e7d5607d34aa713d35.webm";
;// CONCATENATED MODULE: ./src/views/event-pass/components/guide/index.svelte
/* src\views\event-pass\components\guide\index.svelte generated by Svelte v3.49.0 */










function guide_index_svelte_create_fragment(ctx) {
	let div6;
	let div3;
	let div1;
	let t2;
	let div2;
	let t4;
	let div5;
	let div4;
	let video;
	let track;
	let source;
	let source_src_value;
	let div6_intro;
	let mounted;
	let dispose;

	return {
		c() {
			div6 = internal_element("div");
			div3 = internal_element("div");
			div1 = internal_element("div");

			div1.innerHTML = `<i class="event-pass-guide__back-icon icon-chevron-left-quad"></i> 
            <div class="event-pass-guide__back-text">Назад</div>`;

			t2 = space();
			div2 = internal_element("div");
			div2.textContent = "ГАЙД “ПИРАТСКИЕ ТАЙНЫ”";
			t4 = space();
			div5 = internal_element("div");
			div4 = internal_element("div");
			video = internal_element("video");
			track = internal_element("track");
			source = internal_element("source");
			attr(div1, "class", "event-pass-guide__back");
			attr(div2, "class", "event-pass-guide__title");
			attr(div3, "class", "event-pass-guide__header");
			attr(track, "kind", "captions");
			if (!src_url_equal(source.src, source_src_value = guide_namespaceObject)) attr(source, "src", source_src_value);
			attr(source, "type", "video/webm");
			attr(video, "class", "event-pass-guide__video");
			video.controls = true;
			attr(div4, "class", "event-pass-guide__player");
			attr(div5, "class", "event-pass-guide__video-wrapper");
			attr(div6, "class", "event-pass-guide");
		},
		m(target, anchor) {
			insert(target, div6, anchor);
			append(div6, div3);
			append(div3, div1);
			append(div3, t2);
			append(div3, div2);
			append(div6, t4);
			append(div6, div5);
			append(div5, div4);
			append(div4, video);
			append(video, track);
			append(video, source);
			/*video_binding*/ ctx[2](video);

			if (!mounted) {
				dispose = listen(div1, "click", /*back*/ ctx[1]);
				mounted = true;
			}
		},
		p: internal_noop,
		i(local) {
			if (!div6_intro) {
				add_render_callback(() => {
					div6_intro = create_in_transition(div6, fade, { duration: 120 });
					div6_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div6);
			/*video_binding*/ ctx[2](null);
			mounted = false;
			dispose();
		}
	};
}

function guide_index_svelte_instance($$self, $$props, $$invalidate) {
	const audio = new Audio(happ_sound_click_namespaceObject);
	let player = null;

	// let pause = true;
	// let playerHovered = false;
	// const play = () => {
	//     if (pause) {
	//         player.play();
	//     } else {
	//         player.pause();
	//     }
	//     pause = !pause;
	// };
	const back = () => {
		audio.play();
		sendClientMessage('eventPass.changePage', NAVIGATION_BITS.Main);
	};

	onDestroy(() => {
		$$invalidate(0, player.currentTime = 0, player);
		player.pause();
	});

	function video_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			player = $$value;
			$$invalidate(0, player);
		});
	}

	return [player, back, video_binding];
}

class Guide extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, guide_index_svelte_instance, guide_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const guide_index_svelte = (Guide);
;// CONCATENATED MODULE: ./src/views/event-pass/img/ship/upgrade/component.png
const component_namespaceObject = __webpack_require__.p + "assets/68e4352b7cd693cbc75d.webp";
;// CONCATENATED MODULE: ./src/views/event-pass/img/rating-button.svg
const rating_button_namespaceObject = __webpack_require__.p + "assets/debb770370f717c5f340.svg";
;// CONCATENATED MODULE: ./src/views/event-pass/components/ship/index.svelte
/* src\views\event-pass\components\ship\index.svelte generated by Svelte v3.49.0 */











function ship_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[6] = list[i];
	return child_ctx;
}

// (58:8) {#each $ship.components || [] as component}
function ship_index_svelte_create_each_block(ctx) {
	let div3;
	let div0;
	let img0;
	let img0_src_value;
	let t0;
	let div2;
	let p0;
	let t1_value = /*component*/ ctx[6].title + "";
	let t1;
	let t2;
	let div1;
	let p1;
	let t3_value = formatMoney(/*component*/ ctx[6].price) + "";
	let t3;
	let t4;
	let img1;
	let img1_src_value;
	let t5;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[3](/*component*/ ctx[6]);
	}

	return {
		c() {
			div3 = internal_element("div");
			div0 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			div2 = internal_element("div");
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			div1 = internal_element("div");
			p1 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = space();
			img1 = internal_element("img");
			t5 = space();
			attr(img0, "class", "event-pass-ship__item-img");
			if (!src_url_equal(img0.src, img0_src_value = component_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "update-img");
			attr(div0, "class", "event-pass-ship__item-img-wrapper");
			attr(p0, "class", "event-pass-ship__item-info-title");
			attr(p1, "class", "event-pass-ship__item-info-price-value");
			attr(img1, "class", "event-pass-ship__item-info-price-img");
			if (!src_url_equal(img1.src, img1_src_value = MAP_COINS_TYPE_TO_ICON[/*component*/ ctx[6].currency])) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "coin");
			attr(div1, "class", "event-pass-ship__item-info-price");
			attr(div2, "class", "event-pass-ship__item-info");
			attr(div3, "class", "event-pass-ship__item");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div0);
			append(div0, img0);
			append(div3, t0);
			append(div3, div2);
			append(div2, p0);
			append(p0, t1);
			append(div2, t2);
			append(div2, div1);
			append(div1, p1);
			append(p1, t3);
			append(div1, t4);
			append(div1, img1);
			append(div3, t5);

			if (!mounted) {
				dispose = listen(div1, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if (dirty & /*$ship*/ 1 && t1_value !== (t1_value = /*component*/ ctx[6].title + "")) set_data(t1, t1_value);
			if (dirty & /*$ship*/ 1 && t3_value !== (t3_value = formatMoney(/*component*/ ctx[6].price) + "")) set_data(t3, t3_value);

			if (dirty & /*$ship*/ 1 && !src_url_equal(img1.src, img1_src_value = MAP_COINS_TYPE_TO_ICON[/*component*/ ctx[6].currency])) {
				attr(img1, "src", img1_src_value);
			}
		},
		d(detaching) {
			if (detaching) detach(div3);
			mounted = false;
			dispose();
		}
	};
}

function ship_index_svelte_create_fragment(ctx) {
	let div5;
	let div2;
	let p0;
	let t0_value = /*$ship*/ ctx[0].level + "";
	let t0;
	let t1;
	let t2;
	let div1;
	let div0;
	let div0_style_value;
	let t3;
	let p1;
	let t4_value = /*$ship*/ ctx[0].exp + "";
	let t4;
	let t5;
	let p2;
	let t6_value = /*$ship*/ ctx[0].maxExp + "";
	let t6;
	let t7;
	let div3;
	let img;
	let img_src_value;
	let t8;
	let p3;
	let t10;
	let div4;
	let mounted;
	let dispose;
	let each_value = /*$ship*/ ctx[0].components || [];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = ship_index_svelte_create_each_block(ship_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div5 = internal_element("div");
			div2 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = internal_text(" Уровень");
			t2 = space();
			div1 = internal_element("div");
			div0 = internal_element("div");
			t3 = space();
			p1 = internal_element("p");
			t4 = internal_text(t4_value);
			t5 = space();
			p2 = internal_element("p");
			t6 = internal_text(t6_value);
			t7 = space();
			div3 = internal_element("div");
			img = internal_element("img");
			t8 = space();
			p3 = internal_element("p");
			p3.textContent = "РЕЙТИНГ";
			t10 = space();
			div4 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(p0, "class", "event-pass-ship__lvl-value");
			attr(div0, "class", "event-pass-ship__lvl-progress-current");
			attr(div0, "style", div0_style_value = `width: ${/*$ship*/ ctx[0].exp / (/*$ship*/ ctx[0].maxExp / 100)}%;`);
			attr(p1, "class", "event-pass-ship__lvl-progress-value");
			attr(p2, "class", "event-pass-ship__lvl-progress-value");
			attr(div1, "class", "event-pass-ship__lvl-progress");
			attr(div2, "class", "event-pass-ship__lvl");
			attr(img, "class", "event-pass-ship__button-img");
			if (!src_url_equal(img.src, img_src_value = rating_button_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "button-img");
			attr(p3, "class", "event-pass-ship__button-title");
			attr(div3, "class", "event-pass-ship__button");
			attr(div4, "class", "event-pass-ship__list");
			attr(div5, "class", "event-pass-ship");
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			append(div5, div2);
			append(div2, p0);
			append(p0, t0);
			append(p0, t1);
			append(div2, t2);
			append(div2, div1);
			append(div1, div0);
			append(div1, t3);
			append(div1, p1);
			append(p1, t4);
			append(div1, t5);
			append(div1, p2);
			append(p2, t6);
			append(div5, t7);
			append(div5, div3);
			append(div3, img);
			append(div3, t8);
			append(div3, p3);
			append(div5, t10);
			append(div5, div4);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div4, null);
			}

			if (!mounted) {
				dispose = listen(div3, "click", /*openGuide*/ ctx[2]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*$ship*/ 1 && t0_value !== (t0_value = /*$ship*/ ctx[0].level + "")) set_data(t0, t0_value);

			if (dirty & /*$ship*/ 1 && div0_style_value !== (div0_style_value = `width: ${/*$ship*/ ctx[0].exp / (/*$ship*/ ctx[0].maxExp / 100)}%;`)) {
				attr(div0, "style", div0_style_value);
			}

			if (dirty & /*$ship*/ 1 && t4_value !== (t4_value = /*$ship*/ ctx[0].exp + "")) set_data(t4, t4_value);
			if (dirty & /*$ship*/ 1 && t6_value !== (t6_value = /*$ship*/ ctx[0].maxExp + "")) set_data(t6, t6_value);

			if (dirty & /*buyUpgradeComponent, $ship, MAP_COINS_TYPE_TO_ICON, formatMoney, UpgradeComponent*/ 3) {
				each_value = /*$ship*/ ctx[0].components || [];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = ship_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = ship_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div4, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div5);
			destroy_each(each_blocks, detaching);
			mounted = false;
			dispose();
		}
	};
}

function ship_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedPageBit;
	let $ship;
	component_subscribe($$self, selectedPageBit, $$value => $$invalidate(4, $selectedPageBit = $$value));
	component_subscribe($$self, ship, $$value => $$invalidate(0, $ship = $$value));
	const audio = new Audio(happ_sound_click_namespaceObject);

	const buyUpgradeComponent = (id, currency) => {
		sendClientMessage('eventPass.ship.upgrade', id, currency);
	};

	const openGuide = () => {
		audio.play();
		set_store_value(selectedPageBit, $selectedPageBit = NAVIGATION_BITS.Rating, $selectedPageBit);
		sendClientMessage('eventPass.ship.rating');
	};

	const click_handler = component => buyUpgradeComponent(component.id, component.currency);
	return [$ship, buyUpgradeComponent, openGuide, click_handler];
}

class Ship extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, ship_index_svelte_instance, ship_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const ship_index_svelte = (Ship);
;// CONCATENATED MODULE: ./src/views/event-pass/components/rating/index.svelte
/* src\views\event-pass\components\rating\index.svelte generated by Svelte v3.49.0 */








function components_rating_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[4] = list[i];
	return child_ctx;
}

// (36:8) {#each $rating as rating}
function components_rating_index_svelte_create_each_block(ctx) {
	let div;
	let p0;
	let t0_value = /*rating*/ ctx[4].name + "";
	let t0;
	let t1;
	let p1;
	let t2_value = /*rating*/ ctx[4].points + "";
	let t2;
	let t3;
	let t4;
	let p2;
	let t5_value = /*rating*/ ctx[4].prize + "";
	let t5;
	let t6;

	return {
		c() {
			div = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = internal_text(" очков");
			t4 = space();
			p2 = internal_element("p");
			t5 = internal_text(t5_value);
			t6 = space();
			attr(p0, "class", "event-pass-rating__item-title");
			attr(p1, "class", "event-pass-rating__item-title");
			attr(p2, "class", "event-pass-rating__item-title");
			attr(div, "class", "event-pass-rating__item");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p0);
			append(p0, t0);
			append(div, t1);
			append(div, p1);
			append(p1, t2);
			append(p1, t3);
			append(div, t4);
			append(div, p2);
			append(p2, t5);
			append(div, t6);
		},
		p(ctx, dirty) {
			if (dirty & /*$rating*/ 1 && t0_value !== (t0_value = /*rating*/ ctx[4].name + "")) set_data(t0, t0_value);
			if (dirty & /*$rating*/ 1 && t2_value !== (t2_value = /*rating*/ ctx[4].points + "")) set_data(t2, t2_value);
			if (dirty & /*$rating*/ 1 && t5_value !== (t5_value = /*rating*/ ctx[4].prize + "")) set_data(t5, t5_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function components_rating_index_svelte_create_fragment(ctx) {
	let div3;
	let div1;
	let t2;
	let div2;
	let mounted;
	let dispose;
	let each_value = /*$rating*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = components_rating_index_svelte_create_each_block(components_rating_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div3 = internal_element("div");
			div1 = internal_element("div");

			div1.innerHTML = `<div class="event-pass-rating__back-icon-wrapper"><i class="event-pass-rating__back-icon icon-chevron-left"></i></div> 
        <p class="event-pass-rating__back-title">РЕЙТИНГ</p>`;

			t2 = space();
			div2 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div1, "class", "event-pass-rating__back");
			attr(div2, "class", "event-pass-rating__list");
			attr(div3, "class", "event-pass-rating");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div1);
			append(div3, t2);
			append(div3, div2);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div2, null);
			}

			if (!mounted) {
				dispose = listen(div1, "click", /*returnToShip*/ ctx[1]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*$rating*/ 1) {
				each_value = /*$rating*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = components_rating_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = components_rating_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div2, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div3);
			destroy_each(each_blocks, detaching);
			mounted = false;
			dispose();
		}
	};
}

function components_rating_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedPageBit;
	let $rating;
	component_subscribe($$self, selectedPageBit, $$value => $$invalidate(2, $selectedPageBit = $$value));
	component_subscribe($$self, rating, $$value => $$invalidate(0, $rating = $$value));
	const audio = new Audio(happ_sound_click_namespaceObject);

	onDestroy(() => {
		clearRating();
	});

	const returnToShip = () => {
		audio.play();
		clearRating();
		set_store_value(selectedPageBit, $selectedPageBit = NAVIGATION_BITS.Ship, $selectedPageBit);
	};

	return [$rating, returnToShip];
}

class components_rating_index_svelte_Rating extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, components_rating_index_svelte_instance, components_rating_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const components_rating_index_svelte = (components_rating_index_svelte_Rating);
;// CONCATENATED MODULE: ./src/views/event-pass/routs.js
function event_pass_routs_typeof(o) { "@babel/helpers - typeof"; return event_pass_routs_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, event_pass_routs_typeof(o); }
function event_pass_routs_defineProperty(e, r, t) { return (r = event_pass_routs_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function event_pass_routs_toPropertyKey(t) { var i = event_pass_routs_toPrimitive(t, "string"); return "symbol" == event_pass_routs_typeof(i) ? i : i + ""; }
function event_pass_routs_toPrimitive(t, r) { if ("object" != event_pass_routs_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != event_pass_routs_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }








var MAP_BIT_TO_COMPONENT = event_pass_routs_defineProperty(event_pass_routs_defineProperty(event_pass_routs_defineProperty(event_pass_routs_defineProperty(event_pass_routs_defineProperty(event_pass_routs_defineProperty(event_pass_routs_defineProperty({}, NAVIGATION_BITS.Main, event_pass_components_main_index_svelte), NAVIGATION_BITS.Quests, event_pass_components_quests_index_svelte), NAVIGATION_BITS.Events, events_index_svelte), NAVIGATION_BITS.Shop, event_pass_components_shop_index_svelte), NAVIGATION_BITS.Guide, guide_index_svelte), NAVIGATION_BITS.Ship, ship_index_svelte), NAVIGATION_BITS.Rating, components_rating_index_svelte);
;// CONCATENATED MODULE: ./src/views/event-pass/index.svelte
/* src\views\event-pass\index.svelte generated by Svelte v3.49.0 */














function event_pass_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[14] = list[i];
	return child_ctx;
}

// (55:12) {#each MENU_ITEMS as item}
function event_pass_index_svelte_create_each_block(ctx) {
	let div;
	let t0_value = constants_MAP_BIT_TO_NAME[/*item*/ ctx[14]] + "";
	let t0;
	let t1;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[11](/*item*/ ctx[14]);
	}

	return {
		c() {
			div = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			attr(div, "class", "event-pass__navigation-item");
			toggle_class(div, "event-pass__navigation-item--active", /*item*/ ctx[14] === /*$selectedPageBit*/ ctx[3]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t0);
			append(div, t1);

			if (!mounted) {
				dispose = listen(div, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*MENU_ITEMS, $selectedPageBit*/ 8) {
				toggle_class(div, "event-pass__navigation-item--active", /*item*/ ctx[14] === /*$selectedPageBit*/ ctx[3]);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (82:8) {#if coinsShopStatus}
function event_pass_index_svelte_create_if_block(ctx) {
	let div5;
	let div0;
	let p0;
	let t1;
	let i;
	let t2;
	let div2;
	let p1;
	let t4;
	let div1;
	let input;
	let t5;
	let img0;
	let img0_src_value;
	let t6;
	let div4;
	let div3;
	let p2;
	let t7;
	let span;

	let t8_value = (!/*resultCoins*/ ctx[1]
	? 0
	: Math.round(/*resultCoins*/ ctx[1])) + "";

	let t8;
	let t9;
	let img1;
	let img1_src_value;
	let mounted;
	let dispose;

	return {
		c() {
			div5 = internal_element("div");
			div0 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Покупка жетонов";
			t1 = space();
			i = internal_element("i");
			t2 = space();
			div2 = internal_element("div");
			p1 = internal_element("p");
			p1.textContent = "Введите желаемое кол-во жетонов";
			t4 = space();
			div1 = internal_element("div");
			input = internal_element("input");
			t5 = space();
			img0 = internal_element("img");
			t6 = space();
			div4 = internal_element("div");
			div3 = internal_element("div");
			p2 = internal_element("p");
			t7 = internal_text("Купить\r\n                        ");
			span = internal_element("span");
			t8 = internal_text(t8_value);
			t9 = space();
			img1 = internal_element("img");
			attr(p0, "class", "event-pass__content-coin-header-title");
			attr(i, "class", "event-pass__content-coin-header-button icon-cancel");
			attr(div0, "class", "event-pass__content-coin-header");
			attr(p1, "class", "event-pass__content-coin-info-title");
			attr(input, "class", "event-pass__content-coin-info-input-field");
			attr(input, "type", "number");
			attr(img0, "class", "event-pass__content-coin-info-input-img");
			if (!src_url_equal(img0.src, img0_src_value = img_coin_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "coin");
			attr(div1, "class", "event-pass__content-coin-info-input");
			attr(div2, "class", "event-pass__content-coin-info");
			attr(span, "class", "event-pass__content-coin-bottom-button-title--bold");
			attr(p2, "class", "event-pass__content-coin-bottom-button-title");
			attr(img1, "class", "event-pass__content-coin-bottom-button-img");
			if (!src_url_equal(img1.src, img1_src_value = az_icon_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "az-coin");
			attr(div3, "class", "event-pass__content-coin-bottom-button");
			attr(div4, "class", "event-pass__content-coin-bottom");
			attr(div5, "class", "event-pass__content-coin");
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			append(div5, div0);
			append(div0, p0);
			append(div0, t1);
			append(div0, i);
			append(div5, t2);
			append(div5, div2);
			append(div2, p1);
			append(div2, t4);
			append(div2, div1);
			append(div1, input);
			set_input_value(input, /*coinValue*/ ctx[0]);
			append(div1, t5);
			append(div1, img0);
			append(div5, t6);
			append(div5, div4);
			append(div4, div3);
			append(div3, p2);
			append(p2, t7);
			append(p2, span);
			append(span, t8);
			append(div3, t9);
			append(div3, img1);

			if (!mounted) {
				dispose = [
					listen(i, "click", /*closeCoinShop*/ ctx[6]),
					listen(input, "input", /*input_input_handler*/ ctx[12]),
					listen(div3, "click", /*buyCoins*/ ctx[9])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*coinValue*/ 1 && to_number(input.value) !== /*coinValue*/ ctx[0]) {
				set_input_value(input, /*coinValue*/ ctx[0]);
			}

			if (dirty & /*resultCoins*/ 2 && t8_value !== (t8_value = (!/*resultCoins*/ ctx[1]
			? 0
			: Math.round(/*resultCoins*/ ctx[1])) + "")) set_data(t8, t8_value);
		},
		d(detaching) {
			if (detaching) detach(div5);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function event_pass_index_svelte_create_fragment(ctx) {
	let div8;
	let div6;
	let div0;
	let t0;
	let div5;
	let div2;
	let img;
	let img_src_value;
	let t1;
	let div1;
	let t2_value = formatMoney(/*$passCoins*/ ctx[4]) + "";
	let t2;
	let t3;
	let div3;
	let t5;
	let div4;
	let exitbutton;
	let t6;
	let div7;
	let switch_instance;
	let t7;
	let div8_intro;
	let current;
	let mounted;
	let dispose;
	let each_value = constants_MENU_ITEMS;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = event_pass_index_svelte_create_each_block(event_pass_index_svelte_get_each_context(ctx, each_value, i));
	}

	exitbutton = new exit_button_index_svelte({
			props: { onClick: /*exit*/ ctx[8], title: "" }
		});

	var switch_value = MAP_BIT_TO_COMPONENT[/*$selectedPageBit*/ ctx[3]];

	function switch_props(ctx) {
		return {};
	}

	if (switch_value) {
		switch_instance = new switch_value(switch_props(ctx));
	}

	let if_block = /*coinsShopStatus*/ ctx[2] && event_pass_index_svelte_create_if_block(ctx);

	return {
		c() {
			div8 = internal_element("div");
			div6 = internal_element("div");
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t0 = space();
			div5 = internal_element("div");
			div2 = internal_element("div");
			img = internal_element("img");
			t1 = space();
			div1 = internal_element("div");
			t2 = internal_text(t2_value);
			t3 = space();
			div3 = internal_element("div");
			div3.innerHTML = `<p class="event-pass__buy-coins-title">+</p>`;
			t5 = space();
			div4 = internal_element("div");
			create_component(exitbutton.$$.fragment);
			t6 = space();
			div7 = internal_element("div");
			if (switch_instance) create_component(switch_instance.$$.fragment);
			t7 = space();
			if (if_block) if_block.c();
			attr(div0, "class", "event-pass__navigation");
			if (!src_url_equal(img.src, img_src_value = img_coin_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "coin");
			attr(img, "class", "event-pass__coins-icon");
			attr(div1, "class", "event-pass__coins-value");
			attr(div2, "class", "event-pass__coins");
			attr(div3, "class", "event-pass__buy-coins");
			attr(div4, "class", "event-pass__exit");
			attr(div5, "class", "event-pass__side");
			attr(div6, "class", "event-pass__header");
			attr(div7, "class", "event-pass__content");
			attr(div8, "class", "event-pass");
			toggle_class(div8, "event-pass--main", /*$selectedPageBit*/ ctx[3] === NAVIGATION_BITS.Main);
			toggle_class(div8, "event-pass--ship", /*$selectedPageBit*/ ctx[3] === NAVIGATION_BITS.Ship);
		},
		m(target, anchor) {
			insert(target, div8, anchor);
			append(div8, div6);
			append(div6, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			append(div6, t0);
			append(div6, div5);
			append(div5, div2);
			append(div2, img);
			append(div2, t1);
			append(div2, div1);
			append(div1, t2);
			append(div5, t3);
			append(div5, div3);
			append(div5, t5);
			append(div5, div4);
			mount_component(exitbutton, div4, null);
			append(div8, t6);
			append(div8, div7);

			if (switch_instance) {
				mount_component(switch_instance, div7, null);
			}

			append(div7, t7);
			if (if_block) if_block.m(div7, null);
			current = true;

			if (!mounted) {
				dispose = listen(div3, "click", /*openCoinShop*/ ctx[5]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*MENU_ITEMS, $selectedPageBit, selectPage, MAP_BIT_TO_NAME*/ 136) {
				each_value = constants_MENU_ITEMS;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = event_pass_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = event_pass_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div0, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if ((!current || dirty & /*$passCoins*/ 16) && t2_value !== (t2_value = formatMoney(/*$passCoins*/ ctx[4]) + "")) set_data(t2, t2_value);

			if (switch_value !== (switch_value = MAP_BIT_TO_COMPONENT[/*$selectedPageBit*/ ctx[3]])) {
				if (switch_instance) {
					group_outros();
					const old_component = switch_instance;

					transition_out(old_component.$$.fragment, 1, 0, () => {
						destroy_component(old_component, 1);
					});

					check_outros();
				}

				if (switch_value) {
					switch_instance = new switch_value(switch_props(ctx));
					create_component(switch_instance.$$.fragment);
					transition_in(switch_instance.$$.fragment, 1);
					mount_component(switch_instance, div7, t7);
				} else {
					switch_instance = null;
				}
			} else if (switch_value) {
				
			}

			if (/*coinsShopStatus*/ ctx[2]) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = event_pass_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div7, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (dirty & /*$selectedPageBit, NAVIGATION_BITS*/ 8) {
				toggle_class(div8, "event-pass--main", /*$selectedPageBit*/ ctx[3] === NAVIGATION_BITS.Main);
			}

			if (dirty & /*$selectedPageBit, NAVIGATION_BITS*/ 8) {
				toggle_class(div8, "event-pass--ship", /*$selectedPageBit*/ ctx[3] === NAVIGATION_BITS.Ship);
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			if (switch_instance) transition_in(switch_instance.$$.fragment, local);

			if (!div8_intro) {
				add_render_callback(() => {
					div8_intro = create_in_transition(div8, fade, { duration: 120 });
					div8_intro.start();
				});
			}

			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			if (switch_instance) transition_out(switch_instance.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div8);
			destroy_each(each_blocks, detaching);
			destroy_component(exitbutton);
			if (switch_instance) destroy_component(switch_instance);
			if (if_block) if_block.d();
			mounted = false;
			dispose();
		}
	};
}

function event_pass_index_svelte_instance($$self, $$props, $$invalidate) {
	let $battlePassData;
	let $selectedPageBit;
	let $passCoins;
	component_subscribe($$self, store_battlePassData, $$value => $$invalidate(10, $battlePassData = $$value));
	component_subscribe($$self, selectedPageBit, $$value => $$invalidate(3, $selectedPageBit = $$value));
	component_subscribe($$self, passCoins, $$value => $$invalidate(4, $passCoins = $$value));
	const audio = new Audio(happ_sound_click_namespaceObject);
	let coinValue;
	let resultCoins;
	let coinsShopStatus = false;

	const openCoinShop = () => {
		audio.play();
		$$invalidate(2, coinsShopStatus = true);
	};

	const closeCoinShop = () => {
		audio.play();
		$$invalidate(2, coinsShopStatus = false);
	};

	const selectPage = bits => {
		if ($selectedPageBit === bits) {
			return;
		}

		audio.play();
		sendClientMessage('eventPass.changePage', bits);
	};

	const exit = () => {
		sendClientMessage('eventPass.exit');
		audio.play();
	};

	const buyCoins = () => {
		sendClientMessage('eventPass.buyCoins', coinValue);
	};

	const click_handler = item => selectPage(item);

	function input_input_handler() {
		coinValue = to_number(this.value);
		$$invalidate(0, coinValue);
	}

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*coinValue, $battlePassData*/ 1025) {
			$: {
				$$invalidate(1, resultCoins = coinValue * $battlePassData.rateCoins);
			}
		}
	};

	return [
		coinValue,
		resultCoins,
		coinsShopStatus,
		$selectedPageBit,
		$passCoins,
		openCoinShop,
		closeCoinShop,
		selectPage,
		exit,
		buyCoins,
		$battlePassData,
		click_handler,
		input_input_handler
	];
}

class Event_pass extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, event_pass_index_svelte_instance, event_pass_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const event_pass_index_svelte = (Event_pass);
;// CONCATENATED MODULE: ./src/components/ui-kit/button/index.svelte
/* src\components\ui-kit\button\index.svelte generated by Svelte v3.49.0 */




function ui_kit_button_index_svelte_add_css(target) {
	append_styles(target, "svelte-q90i7l", "@keyframes svelte-q90i7l-blinking{50%{opacity:0}}@keyframes svelte-q90i7l-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-q90i7l-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-q90i7l-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-q90i7l-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-q90i7l-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-q90i7l-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-q90i7l-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-q90i7l-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-q90i7l-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-q90i7l-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-q90i7l-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-q90i7l-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-q90i7l-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-q90i7l-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.kit-button.svelte-q90i7l{width:100%;height:100%;background-color:#1B1B1B;border-style:solid;border-color:rgba(255, 255, 255, 0.1);display:flex;align-items:center;justify-content:center;color:#FFFFFF;transition:0.14s ease-out;transition-property:color, background-color, background-image, border, transform;border-radius:calc(0.0052083333 * 100vw + 0px);border-width:calc(0.0005208333 * 100vw + 0px);padding-left:calc(0.0005208333 * 100vw + 0px);padding-right:calc(0.0005208333 * 100vw + 0px);gap:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.kit-button.svelte-q90i7l{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.kit-button.svelte-q90i7l{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.kit-button.svelte-q90i7l{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.kit-button.svelte-q90i7l{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.kit-button.svelte-q90i7l{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.kit-button.svelte-q90i7l{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.kit-button.svelte-q90i7l{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.kit-button.svelte-q90i7l{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.kit-button.svelte-q90i7l{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.kit-button.svelte-q90i7l{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.kit-button.svelte-q90i7l{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.kit-button.svelte-q90i7l{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.kit-button.svelte-q90i7l{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.kit-button.svelte-q90i7l{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.kit-button.svelte-q90i7l{padding-left:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.kit-button.svelte-q90i7l{padding-left:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.kit-button.svelte-q90i7l{padding-left:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.kit-button.svelte-q90i7l{padding-left:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.kit-button.svelte-q90i7l{padding-left:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.kit-button.svelte-q90i7l{padding-left:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.kit-button.svelte-q90i7l{padding-left:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.kit-button.svelte-q90i7l{padding-right:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.kit-button.svelte-q90i7l{padding-right:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.kit-button.svelte-q90i7l{padding-right:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.kit-button.svelte-q90i7l{padding-right:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.kit-button.svelte-q90i7l{padding-right:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.kit-button.svelte-q90i7l{padding-right:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.kit-button.svelte-q90i7l{padding-right:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.kit-button.svelte-q90i7l{gap:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.kit-button.svelte-q90i7l{gap:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.kit-button.svelte-q90i7l{gap:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.kit-button.svelte-q90i7l{gap:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.kit-button.svelte-q90i7l{gap:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.kit-button.svelte-q90i7l{gap:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.kit-button.svelte-q90i7l{gap:calc(0.006875 * 100vw + 0px)}}.kit-button.svelte-q90i7l:active{transform:translateY(5%)}.kit-button.svelte-q90i7l:hover{color:#111111;background:#FFFFFF;border-color:#FFFFFF}.kit-button--disabled.svelte-q90i7l{opacity:0.5}.kit-button--disabled.svelte-q90i7l:hover{color:#FFFFFF;background:#1B1B1B;border-color:rgba(255, 255, 255, 0.1)}.kit-button--purple.svelte-q90i7l{background:linear-gradient(90deg, #8A00E2 0%, #BC52FF 100%)}.kit-button--purple.svelte-q90i7l:hover{color:#111111;background:#FFFFFF;border-color:#FFFFFF}.kit-button--purple.kit-button--disabled.svelte-q90i7l{opacity:0.5}.kit-button--purple.kit-button--disabled.svelte-q90i7l:hover{color:#FFFFFF;background:linear-gradient(90deg, #8A00E2 0%, #BC52FF 100%);border-color:rgba(255, 255, 255, 0.1)}.kit-button--gold.svelte-q90i7l{color:#111111;background:linear-gradient(263.52deg, #FFB522 0%, #FF8000 99.98%)}.kit-button--gold.svelte-q90i7l:hover{color:#111111;background:#FFFFFF;border-color:#FFFFFF}.kit-button--gold.kit-button--disabled.svelte-q90i7l{opacity:0.5}.kit-button--gold.kit-button--disabled.svelte-q90i7l:hover{color:#111111;background:linear-gradient(263.52deg, #FFB522 0%, #FF8000 99.98%);border-color:rgba(255, 255, 255, 0.1)}.kit-button--red.svelte-q90i7l{color:#FFFFFF;background:linear-gradient(90deg, #FD0E42 0%, #AA0022 100%)}.kit-button--red.svelte-q90i7l:hover{color:#111111;background:#FFFFFF;border-color:#FFFFFF}.kit-button--red.kit-button--disabled.svelte-q90i7l{opacity:0.5}.kit-button--red.kit-button--disabled.svelte-q90i7l:hover{color:#FFFFFF;background:linear-gradient(90deg, #FD0E42 0%, #AA0022 100%);border-color:rgba(255, 255, 255, 0.1)}.kit-button--black.svelte-q90i7l{color:#FFFFFF;background:linear-gradient(180deg, rgba(41, 41, 41, 0) 0%, #292929 100%)}.kit-button--black.svelte-q90i7l:hover{color:#111111;background:#FFFFFF;border-color:#FFFFFF}.kit-button--black.kit-button--disabled.svelte-q90i7l{opacity:0.5}.kit-button--black.kit-button--disabled.svelte-q90i7l:hover{color:#FFFFFF;background:linear-gradient(180deg, rgba(41, 41, 41, 0) 0%, #292929 100%);border-color:rgba(255, 255, 255, 0.1)}.kit-button__icon.svelte-q90i7l{font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.kit-button__icon.svelte-q90i7l{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.kit-button__icon.svelte-q90i7l{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.kit-button__icon.svelte-q90i7l{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.kit-button__icon.svelte-q90i7l{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.kit-button__icon.svelte-q90i7l{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.kit-button__icon.svelte-q90i7l{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.kit-button__icon.svelte-q90i7l{font-size:calc(0.0091666667 * 100vw + 0px)}}.kit-button__icon-image.svelte-q90i7l{height:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.kit-button__icon-image.svelte-q90i7l{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.kit-button__icon-image.svelte-q90i7l{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.kit-button__icon-image.svelte-q90i7l{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.kit-button__icon-image.svelte-q90i7l{height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.kit-button__icon-image.svelte-q90i7l{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.kit-button__icon-image.svelte-q90i7l{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.kit-button__icon-image.svelte-q90i7l{height:calc(0.0114583333 * 100vw + 0px)}}.kit-button__text.svelte-q90i7l{color:inherit;font-family:\"HeadingNowBold\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.kit-button__text.svelte-q90i7l{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.kit-button__text.svelte-q90i7l{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.kit-button__text.svelte-q90i7l{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.kit-button__text.svelte-q90i7l{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.kit-button__text.svelte-q90i7l{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.kit-button__text.svelte-q90i7l{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.kit-button__text.svelte-q90i7l{font-size:calc(0.006875 * 100vw + 0px)}}");
}

// (576:4) {#if !isEmpty(iconLeft)}
function button_index_svelte_create_if_block_4(ctx) {
	let i;
	let i_class_value;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", i_class_value = "kit-button__icon kit-button__icon--left " + /*iconLeft*/ ctx[1] + " svelte-q90i7l");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*iconLeft*/ 2 && i_class_value !== (i_class_value = "kit-button__icon kit-button__icon--left " + /*iconLeft*/ ctx[1] + " svelte-q90i7l")) {
				attr(i, "class", i_class_value);
			}
		},
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (579:4) {#if !isEmpty(iconLeftImgSrc)}
function button_index_svelte_create_if_block_3(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = /*iconLeftImgSrc*/ ctx[3])) attr(img, "src", img_src_value);
			attr(img, "alt", "icon");
			attr(img, "class", "kit-button__icon-image kit-button__icon-image--left svelte-q90i7l");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*iconLeftImgSrc*/ 8 && !src_url_equal(img.src, img_src_value = /*iconLeftImgSrc*/ ctx[3])) {
				attr(img, "src", img_src_value);
			}
		},
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (582:4) {#if !isEmpty(text)}
function button_index_svelte_create_if_block_2(ctx) {
	let div;
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(/*text*/ ctx[0]);
			attr(div, "class", "kit-button__text svelte-q90i7l");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*text*/ 1) set_data(t, /*text*/ ctx[0]);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (585:4) {#if !isEmpty(iconRight)}
function ui_kit_button_index_svelte_create_if_block_1(ctx) {
	let i;
	let i_class_value;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", i_class_value = "kit-button__icon kit-button__icon--left " + /*iconRight*/ ctx[2] + " svelte-q90i7l");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*iconRight*/ 4 && i_class_value !== (i_class_value = "kit-button__icon kit-button__icon--left " + /*iconRight*/ ctx[2] + " svelte-q90i7l")) {
				attr(i, "class", i_class_value);
			}
		},
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (588:4) {#if !isEmpty(iconRightImgSrc)}
function ui_kit_button_index_svelte_create_if_block(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = /*iconRightImgSrc*/ ctx[4])) attr(img, "src", img_src_value);
			attr(img, "alt", "icon");
			attr(img, "class", "kit-button__icon-image kit-button__icon-image--right svelte-q90i7l");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*iconRightImgSrc*/ 16 && !src_url_equal(img.src, img_src_value = /*iconRightImgSrc*/ ctx[4])) {
				attr(img, "src", img_src_value);
			}
		},
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

function ui_kit_button_index_svelte_create_fragment(ctx) {
	let div;
	let show_if_4 = !(0,lodash.isEmpty)(/*iconLeft*/ ctx[1]);
	let t0;
	let show_if_3 = !(0,lodash.isEmpty)(/*iconLeftImgSrc*/ ctx[3]);
	let t1;
	let show_if_2 = !(0,lodash.isEmpty)(/*text*/ ctx[0]);
	let t2;
	let show_if_1 = !(0,lodash.isEmpty)(/*iconRight*/ ctx[2]);
	let t3;
	let show_if = !(0,lodash.isEmpty)(/*iconRightImgSrc*/ ctx[4]);
	let div_class_value;
	let mounted;
	let dispose;
	let if_block0 = show_if_4 && button_index_svelte_create_if_block_4(ctx);
	let if_block1 = show_if_3 && button_index_svelte_create_if_block_3(ctx);
	let if_block2 = show_if_2 && button_index_svelte_create_if_block_2(ctx);
	let if_block3 = show_if_1 && ui_kit_button_index_svelte_create_if_block_1(ctx);
	let if_block4 = show_if && ui_kit_button_index_svelte_create_if_block(ctx);

	return {
		c() {
			div = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			if (if_block1) if_block1.c();
			t1 = space();
			if (if_block2) if_block2.c();
			t2 = space();
			if (if_block3) if_block3.c();
			t3 = space();
			if (if_block4) if_block4.c();
			attr(div, "class", div_class_value = "kit-button kit-button--" + ((0,lodash.isEmpty)(/*gradient*/ ctx[7]) ? /*style*/ ctx[6] : '') + " svelte-q90i7l");
			set_style(div, "background", /*gradient*/ ctx[7]);
			toggle_class(div, "kit-button--disabled", /*disabled*/ ctx[5]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block0) if_block0.m(div, null);
			append(div, t0);
			if (if_block1) if_block1.m(div, null);
			append(div, t1);
			if (if_block2) if_block2.m(div, null);
			append(div, t2);
			if (if_block3) if_block3.m(div, null);
			append(div, t3);
			if (if_block4) if_block4.m(div, null);

			if (!mounted) {
				dispose = listen(div, "click", function () {
					if (internal_is_function(/*onClick*/ ctx[8])) /*onClick*/ ctx[8].apply(this, arguments);
				});

				mounted = true;
			}
		},
		p(new_ctx, [dirty]) {
			ctx = new_ctx;
			if (dirty & /*iconLeft*/ 2) show_if_4 = !(0,lodash.isEmpty)(/*iconLeft*/ ctx[1]);

			if (show_if_4) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = button_index_svelte_create_if_block_4(ctx);
					if_block0.c();
					if_block0.m(div, t0);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty & /*iconLeftImgSrc*/ 8) show_if_3 = !(0,lodash.isEmpty)(/*iconLeftImgSrc*/ ctx[3]);

			if (show_if_3) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = button_index_svelte_create_if_block_3(ctx);
					if_block1.c();
					if_block1.m(div, t1);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty & /*text*/ 1) show_if_2 = !(0,lodash.isEmpty)(/*text*/ ctx[0]);

			if (show_if_2) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = button_index_svelte_create_if_block_2(ctx);
					if_block2.c();
					if_block2.m(div, t2);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			if (dirty & /*iconRight*/ 4) show_if_1 = !(0,lodash.isEmpty)(/*iconRight*/ ctx[2]);

			if (show_if_1) {
				if (if_block3) {
					if_block3.p(ctx, dirty);
				} else {
					if_block3 = ui_kit_button_index_svelte_create_if_block_1(ctx);
					if_block3.c();
					if_block3.m(div, t3);
				}
			} else if (if_block3) {
				if_block3.d(1);
				if_block3 = null;
			}

			if (dirty & /*iconRightImgSrc*/ 16) show_if = !(0,lodash.isEmpty)(/*iconRightImgSrc*/ ctx[4]);

			if (show_if) {
				if (if_block4) {
					if_block4.p(ctx, dirty);
				} else {
					if_block4 = ui_kit_button_index_svelte_create_if_block(ctx);
					if_block4.c();
					if_block4.m(div, null);
				}
			} else if (if_block4) {
				if_block4.d(1);
				if_block4 = null;
			}

			if (dirty & /*gradient, style*/ 192 && div_class_value !== (div_class_value = "kit-button kit-button--" + ((0,lodash.isEmpty)(/*gradient*/ ctx[7]) ? /*style*/ ctx[6] : '') + " svelte-q90i7l")) {
				attr(div, "class", div_class_value);
			}

			if (dirty & /*gradient*/ 128) {
				set_style(div, "background", /*gradient*/ ctx[7]);
			}

			if (dirty & /*gradient, style, disabled*/ 224) {
				toggle_class(div, "kit-button--disabled", /*disabled*/ ctx[5]);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			if (if_block2) if_block2.d();
			if (if_block3) if_block3.d();
			if (if_block4) if_block4.d();
			mounted = false;
			dispose();
		}
	};
}

function ui_kit_button_index_svelte_instance($$self, $$props, $$invalidate) {
	let { text = '' } = $$props;
	let { iconLeft = '' } = $$props;
	let { iconRight = '' } = $$props;
	let { iconLeftImgSrc = '' } = $$props;
	let { iconRightImgSrc = '' } = $$props;
	let { disabled = false } = $$props;
	let { style = '' } = $$props;
	let { gradient = '' } = $$props;

	let { onClick = () => {
		
	} } = $$props;

	$$self.$$set = $$props => {
		if ('text' in $$props) $$invalidate(0, text = $$props.text);
		if ('iconLeft' in $$props) $$invalidate(1, iconLeft = $$props.iconLeft);
		if ('iconRight' in $$props) $$invalidate(2, iconRight = $$props.iconRight);
		if ('iconLeftImgSrc' in $$props) $$invalidate(3, iconLeftImgSrc = $$props.iconLeftImgSrc);
		if ('iconRightImgSrc' in $$props) $$invalidate(4, iconRightImgSrc = $$props.iconRightImgSrc);
		if ('disabled' in $$props) $$invalidate(5, disabled = $$props.disabled);
		if ('style' in $$props) $$invalidate(6, style = $$props.style);
		if ('gradient' in $$props) $$invalidate(7, gradient = $$props.gradient);
		if ('onClick' in $$props) $$invalidate(8, onClick = $$props.onClick);
	};

	return [
		text,
		iconLeft,
		iconRight,
		iconLeftImgSrc,
		iconRightImgSrc,
		disabled,
		style,
		gradient,
		onClick
	];
}

class button_index_svelte_Button extends SvelteComponent {
	constructor(options) {
		super();

		init(
			this,
			options,
			ui_kit_button_index_svelte_instance,
			ui_kit_button_index_svelte_create_fragment,
			safe_not_equal,
			{
				text: 0,
				iconLeft: 1,
				iconRight: 2,
				iconLeftImgSrc: 3,
				iconRightImgSrc: 4,
				disabled: 5,
				style: 6,
				gradient: 7,
				onClick: 8
			},
			ui_kit_button_index_svelte_add_css
		);
	}
}

/* harmony default export */ const ui_kit_button_index_svelte = (button_index_svelte_Button);
;// CONCATENATED MODULE: ./src/views/open-case/video/standart.webm
const standart_namespaceObject = __webpack_require__.p + "assets/273302f7ba9df7716c60.webm";
;// CONCATENATED MODULE: ./src/views/open-case/video/auto.webm
const auto_namespaceObject = __webpack_require__.p + "assets/6f65ce27a97d79d3e81f.webm";
;// CONCATENATED MODULE: ./src/views/open-case/video/gold.webm
const gold_namespaceObject = __webpack_require__.p + "assets/02d1e8d3e128e707e376.webm";
;// CONCATENATED MODULE: ./src/views/open-case/video/pirate.webm
const pirate_namespaceObject = __webpack_require__.p + "assets/f85c8dc91fe22229543d.webm";
;// CONCATENATED MODULE: ./src/views/open-case/video/legendary.webm
const legendary_namespaceObject = __webpack_require__.p + "assets/4490c3a9d3fa3042cc2a.webm";
;// CONCATENATED MODULE: ./src/views/open-case/video/cyber.webm
const cyber_namespaceObject = __webpack_require__.p + "assets/c4e731ccc40b46439357.webm";
;// CONCATENATED MODULE: ./src/views/open-case/constants.js
function open_case_constants_typeof(o) { "@babel/helpers - typeof"; return open_case_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, open_case_constants_typeof(o); }
function open_case_constants_defineProperty(e, r, t) { return (r = open_case_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function open_case_constants_toPropertyKey(t) { var i = open_case_constants_toPrimitive(t, "string"); return "symbol" == open_case_constants_typeof(i) ? i : i + ""; }
function open_case_constants_toPrimitive(t, r) { if ("object" != open_case_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != open_case_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






var open_case_constants_Screens = {
  Main: 'main',
  Video: 'video',
  Inside: 'inside'
};
var PrizeActions = {
  Sell: 'sell',
  Save: 'save'
};
var MAP_ID_TO_VIDEO_SRC = {
  standart: standart_namespaceObject,
  auto: auto_namespaceObject,
  gold: gold_namespaceObject,
  legendary: legendary_namespaceObject,
  pirate: pirate_namespaceObject,
  cyber: cyber_namespaceObject
};
var RarityWeight = {
  common: 0,
  green: 1,
  red: 2,
  purple: 3,
  gold: 4
};
var open_case_constants_Rarity = {
  Tier1: 'tier1',
  Tier2: 'tier2',
  Tier3: 'tier3',
  Random: 'random'
};
var open_case_constants_MAP_RARITY_TO_TITLE = open_case_constants_defineProperty(open_case_constants_defineProperty(open_case_constants_defineProperty(open_case_constants_defineProperty({}, open_case_constants_Rarity.Tier1, 'Хлам'), open_case_constants_Rarity.Tier2, 'Обычное'), open_case_constants_Rarity.Tier3, 'Идеальное'), open_case_constants_Rarity.Random, 'Случайное');
;// CONCATENATED MODULE: ./src/views/open-case/store.js
function open_case_store_typeof(o) { "@babel/helpers - typeof"; return open_case_store_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, open_case_store_typeof(o); }
function open_case_store_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function open_case_store_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? open_case_store_ownKeys(Object(t), !0).forEach(function (r) { open_case_store_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : open_case_store_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function open_case_store_defineProperty(e, r, t) { return (r = open_case_store_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function open_case_store_toPropertyKey(t) { var i = open_case_store_toPrimitive(t, "string"); return "symbol" == open_case_store_typeof(i) ? i : i + ""; }
function open_case_store_toPrimitive(t, r) { if ("object" != open_case_store_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != open_case_store_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }




var open_case_store_selectedScreen = writable('');
var selectedVideo = writable('');
var mainInfo = writable({});
var mainCase = writable({});
var rewards = writable([]);
var cases = writable([]);
var similarIds = writable([]);
var initializeMainInfo = function initializeMainInfo(dto) {
  mainInfo.set(open_case_store_objectSpread(open_case_store_objectSpread({}, get_store_value(mainInfo)), dto));
  if (!(0,lodash.isNil)(dto.caseId)) {
    mainCase.set({});
  }
};
registerEvent('openCase.initializeMainInfo', initializeMainInfo);
var updateSelectedScreen = function updateSelectedScreen(value) {
  return open_case_store_selectedScreen.set(value);
};
registerEvent('openCase.selectScreen', updateSelectedScreen);
updateSelectedScreen(open_case_constants_Screens.Main);
var updateSelectedVideo = function updateSelectedVideo(value) {
  selectedVideo.set(value);
  open_case_store_selectedScreen.set(open_case_constants_Screens.Video);
};
registerEvent('openCase.selectVideo', updateSelectedVideo);
var initializeRewards = function initializeRewards(dto) {
  var cache = get_store_value(mainCase);
  rewards.set(dto.map(function (dtoItem) {
    return cache.prizes.find(function (prize) {
      return prize.id === dtoItem.item && prize.count === dtoItem.count;
    });
  }));
};
registerEvent('openCase.initializeRewards', initializeRewards);
;// CONCATENATED MODULE: ./src/views/open-case/components/video/index.svelte
/* src\views\open-case\components\video\index.svelte generated by Svelte v3.49.0 */







function video_index_svelte_add_css(target) {
	append_styles(target, "svelte-1u8ztvi", "@keyframes svelte-1u8ztvi-blinking{50%{opacity:0}}@keyframes svelte-1u8ztvi-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1u8ztvi-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1u8ztvi-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1u8ztvi-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1u8ztvi-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1u8ztvi-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1u8ztvi-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1u8ztvi-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1u8ztvi-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1u8ztvi-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1u8ztvi-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1u8ztvi-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1u8ztvi-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1u8ztvi-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.open-case-video.svelte-1u8ztvi{position:absolute;width:100%;height:100%}.open-case-video__player.svelte-1u8ztvi{width:100%;height:100%}.open-case-video__button-skip.svelte-1u8ztvi{position:absolute;left:50%;transform:translateX(-50%);bottom:calc(0.09375 * 100vw + 0px);width:calc(0.0651041667 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-video__button-skip.svelte-1u8ztvi{bottom:calc(0.09375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-video__button-skip.svelte-1u8ztvi{bottom:calc(0.09375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-video__button-skip.svelte-1u8ztvi{bottom:calc(0.0721875 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-video__button-skip.svelte-1u8ztvi{bottom:calc(0.103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-video__button-skip.svelte-1u8ztvi{bottom:calc(0.065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-video__button-skip.svelte-1u8ztvi{bottom:calc(0.084375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-video__button-skip.svelte-1u8ztvi{bottom:calc(0.103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-video__button-skip.svelte-1u8ztvi{width:calc(0.0651041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-video__button-skip.svelte-1u8ztvi{width:calc(0.0651041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-video__button-skip.svelte-1u8ztvi{width:calc(0.0501302083 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-video__button-skip.svelte-1u8ztvi{width:calc(0.0716145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-video__button-skip.svelte-1u8ztvi{width:calc(0.0455729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-video__button-skip.svelte-1u8ztvi{width:calc(0.05859375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-video__button-skip.svelte-1u8ztvi{width:calc(0.0716145833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-video__button-skip.svelte-1u8ztvi{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-video__button-skip.svelte-1u8ztvi{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-video__button-skip.svelte-1u8ztvi{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-video__button-skip.svelte-1u8ztvi{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-video__button-skip.svelte-1u8ztvi{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-video__button-skip.svelte-1u8ztvi{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-video__button-skip.svelte-1u8ztvi{height:calc(0.0286458333 * 100vw + 0px)}}");
}

function video_index_svelte_create_fragment(ctx) {
	let div1;
	let video;
	let track;
	let source;
	let source_src_value;
	let t;
	let div0;
	let button;
	let div1_outro;
	let current;
	let mounted;
	let dispose;

	button = new ui_kit_button_index_svelte({
			props: {
				text: 'Пропустить',
				onClick: /*videoEndHandler*/ ctx[1]
			}
		});

	return {
		c() {
			div1 = internal_element("div");
			video = internal_element("video");
			track = internal_element("track");
			source = internal_element("source");
			t = space();
			div0 = internal_element("div");
			create_component(button.$$.fragment);
			attr(track, "kind", "captions");
			if (!src_url_equal(source.src, source_src_value = MAP_ID_TO_VIDEO_SRC[/*$selectedVideo*/ ctx[0]])) attr(source, "src", source_src_value);
			attr(source, "type", "video/webm");
			attr(video, "class", "open-case-video__player svelte-1u8ztvi");
			video.autoplay = true;
			attr(div0, "class", "open-case-video__button-skip svelte-1u8ztvi");
			attr(div1, "class", "open-case-video svelte-1u8ztvi");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, video);
			append(video, track);
			append(video, source);
			append(div1, t);
			append(div1, div0);
			mount_component(button, div0, null);
			current = true;

			if (!mounted) {
				dispose = listen(video, "ended", /*videoEndHandler*/ ctx[1]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (!current || dirty & /*$selectedVideo*/ 1 && !src_url_equal(source.src, source_src_value = MAP_ID_TO_VIDEO_SRC[/*$selectedVideo*/ ctx[0]])) {
				attr(source, "src", source_src_value);
			}
		},
		i(local) {
			if (current) return;
			transition_in(button.$$.fragment, local);
			if (div1_outro) div1_outro.end(1);
			current = true;
		},
		o(local) {
			transition_out(button.$$.fragment, local);
			div1_outro = create_out_transition(div1, fade, { duration: 300 });
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			destroy_component(button);
			if (detaching && div1_outro) div1_outro.end();
			mounted = false;
			dispose();
		}
	};
}

function video_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedVideo;
	let $selectedScreen;
	component_subscribe($$self, selectedVideo, $$value => $$invalidate(0, $selectedVideo = $$value));
	component_subscribe($$self, open_case_store_selectedScreen, $$value => $$invalidate(2, $selectedScreen = $$value));

	const videoEndHandler = () => {
		if ($selectedVideo === 'legendary') {
			set_store_value(open_case_store_selectedScreen, $selectedScreen = open_case_constants_Screens.Main, $selectedScreen);
		} else {
			set_store_value(open_case_store_selectedScreen, $selectedScreen = open_case_constants_Screens.Inside, $selectedScreen);
		}

		set_store_value(selectedVideo, $selectedVideo = '', $selectedVideo);
	};

	return [$selectedVideo, videoEndHandler];
}

class Video extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, video_index_svelte_instance, video_index_svelte_create_fragment, safe_not_equal, {}, video_index_svelte_add_css);
	}
}

/* harmony default export */ const video_index_svelte = (Video);
;// CONCATENATED MODULE: ./src/views/open-case/img/gold-case.png
const gold_case_namespaceObject = __webpack_require__.p + "assets/5928ff550f12cb47329d.webp";
;// CONCATENATED MODULE: ./src/views/open-case/img/icons/diamond.svg
const diamond_namespaceObject = __webpack_require__.p + "assets/b91c57ca739b617e4e5a.svg";
;// CONCATENATED MODULE: ./src/views/open-case/img/icons/coin.svg
const icons_coin_namespaceObject = __webpack_require__.p + "assets/cd9f30493cfb7a7e76d0.svg";
;// CONCATENATED MODULE: ./src/views/open-case/components/similar/index.svelte
/* src\views\open-case\components\similar\index.svelte generated by Svelte v3.49.0 */








function similar_index_svelte_add_css(target) {
	append_styles(target, "svelte-1kw280t", "@keyframes svelte-1kw280t-blinking{50%{opacity:0}}@keyframes svelte-1kw280t-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1kw280t-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1kw280t-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1kw280t-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1kw280t-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1kw280t-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1kw280t-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1kw280t-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1kw280t-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1kw280t-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1kw280t-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1kw280t-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1kw280t-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1kw280t-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.open-case-similar.svelte-1kw280t{position:relative;display:flex;align-items:center;background-color:#0D1011;background-image:radial-gradient(92.5% 92.5% at 50% 50%, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.25) 80%);border-color:rgba(255, 255, 255, 0.1);border-style:solid;transition:0.1s ease-out;transition-property:border-color, transform;width:calc(0.15625 * 100vw + 0px);height:calc(0.0479166667 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);border-width:calc(0.0005208333 * 100vw + 0px);gap:calc(0.0052083333 * 100vw + 0px);padding-left:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-similar.svelte-1kw280t{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-similar.svelte-1kw280t{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-similar.svelte-1kw280t{width:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-similar.svelte-1kw280t{width:calc(0.171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-similar.svelte-1kw280t{width:calc(0.109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-similar.svelte-1kw280t{width:calc(0.140625 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-similar.svelte-1kw280t{width:calc(0.171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-similar.svelte-1kw280t{height:calc(0.0479166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-similar.svelte-1kw280t{height:calc(0.0479166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-similar.svelte-1kw280t{height:calc(0.0368958333 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-similar.svelte-1kw280t{height:calc(0.0527083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-similar.svelte-1kw280t{height:calc(0.0335416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-similar.svelte-1kw280t{height:calc(0.043125 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-similar.svelte-1kw280t{height:calc(0.0527083333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-similar.svelte-1kw280t{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-similar.svelte-1kw280t{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-similar.svelte-1kw280t{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-similar.svelte-1kw280t{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-similar.svelte-1kw280t{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-similar.svelte-1kw280t{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-similar.svelte-1kw280t{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-similar.svelte-1kw280t{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-similar.svelte-1kw280t{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-similar.svelte-1kw280t{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-similar.svelte-1kw280t{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-similar.svelte-1kw280t{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-similar.svelte-1kw280t{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-similar.svelte-1kw280t{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-similar.svelte-1kw280t{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-similar.svelte-1kw280t{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-similar.svelte-1kw280t{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-similar.svelte-1kw280t{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-similar.svelte-1kw280t{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-similar.svelte-1kw280t{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-similar.svelte-1kw280t{gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-similar.svelte-1kw280t{padding-left:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-similar.svelte-1kw280t{padding-left:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-similar.svelte-1kw280t{padding-left:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-similar.svelte-1kw280t{padding-left:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-similar.svelte-1kw280t{padding-left:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-similar.svelte-1kw280t{padding-left:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-similar.svelte-1kw280t{padding-left:calc(0.00859375 * 100vw + 0px)}}.open-case-similar.svelte-1kw280t:hover{border-color:#FFFFFF}.open-case-similar.svelte-1kw280t:active{transform:translateY(2%)}.open-case-similar__image-wrapper.svelte-1kw280t{width:calc(0.0390625 * 100vw + 0px);height:calc(0.0390625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-similar__image-wrapper.svelte-1kw280t{width:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-similar__image-wrapper.svelte-1kw280t{width:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-similar__image-wrapper.svelte-1kw280t{width:calc(0.030078125 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-similar__image-wrapper.svelte-1kw280t{width:calc(0.04296875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-similar__image-wrapper.svelte-1kw280t{width:calc(0.02734375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-similar__image-wrapper.svelte-1kw280t{width:calc(0.03515625 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-similar__image-wrapper.svelte-1kw280t{width:calc(0.04296875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-similar__image-wrapper.svelte-1kw280t{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-similar__image-wrapper.svelte-1kw280t{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-similar__image-wrapper.svelte-1kw280t{height:calc(0.030078125 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-similar__image-wrapper.svelte-1kw280t{height:calc(0.04296875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-similar__image-wrapper.svelte-1kw280t{height:calc(0.02734375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-similar__image-wrapper.svelte-1kw280t{height:calc(0.03515625 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-similar__image-wrapper.svelte-1kw280t{height:calc(0.04296875 * 100vw + 0px)}}.open-case-similar__image.svelte-1kw280t{height:100%;width:auto}.open-case-similar__badges.svelte-1kw280t{position:absolute;display:flex;align-items:center;gap:calc(0.0026041667 * 100vw + 0px);top:calc(-0.0052083333 * 100vw + 0px);right:calc(-0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-similar__badges.svelte-1kw280t{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-similar__badges.svelte-1kw280t{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-similar__badges.svelte-1kw280t{gap:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-similar__badges.svelte-1kw280t{gap:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-similar__badges.svelte-1kw280t{gap:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-similar__badges.svelte-1kw280t{gap:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-similar__badges.svelte-1kw280t{gap:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-similar__badges.svelte-1kw280t{top:calc(-0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-similar__badges.svelte-1kw280t{top:calc(-0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-similar__badges.svelte-1kw280t{top:calc(-0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-similar__badges.svelte-1kw280t{top:calc(-0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-similar__badges.svelte-1kw280t{top:calc(-0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-similar__badges.svelte-1kw280t{top:calc(-0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-similar__badges.svelte-1kw280t{top:calc(-0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-similar__badges.svelte-1kw280t{right:calc(-0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-similar__badges.svelte-1kw280t{right:calc(-0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-similar__badges.svelte-1kw280t{right:calc(-0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-similar__badges.svelte-1kw280t{right:calc(-0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-similar__badges.svelte-1kw280t{right:calc(-0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-similar__badges.svelte-1kw280t{right:calc(-0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-similar__badges.svelte-1kw280t{right:calc(-0.0028645833 * 100vw + 0px)}}.open-case-similar__badge.svelte-1kw280t{display:flex;align-items:center;justify-content:center;height:calc(0.0104166667 * 100vw + 0px);padding-left:calc(0.0026041667 * 100vw + 0px);padding-right:calc(0.0026041667 * 100vw + 0px);border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-similar__badge.svelte-1kw280t{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-similar__badge.svelte-1kw280t{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-similar__badge.svelte-1kw280t{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-similar__badge.svelte-1kw280t{height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-similar__badge.svelte-1kw280t{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-similar__badge.svelte-1kw280t{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-similar__badge.svelte-1kw280t{height:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-similar__badge.svelte-1kw280t{padding-left:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-similar__badge.svelte-1kw280t{padding-left:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-similar__badge.svelte-1kw280t{padding-left:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-similar__badge.svelte-1kw280t{padding-left:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-similar__badge.svelte-1kw280t{padding-left:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-similar__badge.svelte-1kw280t{padding-left:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-similar__badge.svelte-1kw280t{padding-left:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-similar__badge.svelte-1kw280t{padding-right:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-similar__badge.svelte-1kw280t{padding-right:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-similar__badge.svelte-1kw280t{padding-right:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-similar__badge.svelte-1kw280t{padding-right:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-similar__badge.svelte-1kw280t{padding-right:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-similar__badge.svelte-1kw280t{padding-right:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-similar__badge.svelte-1kw280t{padding-right:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-similar__badge.svelte-1kw280t{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-similar__badge.svelte-1kw280t{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-similar__badge.svelte-1kw280t{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-similar__badge.svelte-1kw280t{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-similar__badge.svelte-1kw280t{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-similar__badge.svelte-1kw280t{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-similar__badge.svelte-1kw280t{border-radius:calc(0.0028645833 * 100vw + 0px)}}.open-case-similar__badge--red.svelte-1kw280t{background:linear-gradient(90deg, #FD0E42 0%, #D5002B 100%)}.open-case-similar__badge--orange.svelte-1kw280t{background:linear-gradient(90deg, #FF8C00 0%, #D85A00 100%)}.open-case-similar__badge--blue.svelte-1kw280t{background:linear-gradient(90deg, #00CFFF 0%, #0084FF 100%)}.open-case-similar__badge--green.svelte-1kw280t{background:linear-gradient(90deg, #7FDD2D 0%, #7FDD2D 100%)}.open-case-similar__badge-icon.svelte-1kw280t{font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-similar__badge-icon.svelte-1kw280t{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-similar__badge-icon.svelte-1kw280t{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-similar__badge-icon.svelte-1kw280t{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-similar__badge-icon.svelte-1kw280t{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-similar__badge-icon.svelte-1kw280t{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-similar__badge-icon.svelte-1kw280t{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-similar__badge-icon.svelte-1kw280t{font-size:calc(0.0057291667 * 100vw + 0px)}}.open-case-similar__badge-text.svelte-1kw280t{color:#FFFFFF;font-family:\"HeadingNowBold\";text-transform:uppercase;font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-similar__badge-text.svelte-1kw280t{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-similar__badge-text.svelte-1kw280t{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-similar__badge-text.svelte-1kw280t{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-similar__badge-text.svelte-1kw280t{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-similar__badge-text.svelte-1kw280t{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-similar__badge-text.svelte-1kw280t{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-similar__badge-text.svelte-1kw280t{font-size:calc(0.006875 * 100vw + 0px)}}.open-case-similar__info.svelte-1kw280t{display:flex;flex-direction:column;gap:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-similar__info.svelte-1kw280t{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-similar__info.svelte-1kw280t{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-similar__info.svelte-1kw280t{gap:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-similar__info.svelte-1kw280t{gap:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-similar__info.svelte-1kw280t{gap:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-similar__info.svelte-1kw280t{gap:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-similar__info.svelte-1kw280t{gap:calc(0.0028645833 * 100vw + 0px)}}.open-case-similar__name.svelte-1kw280t{color:#FFFFFF;font-family:\"HeadingNowBold\";text-transform:uppercase;font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-similar__name.svelte-1kw280t{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-similar__name.svelte-1kw280t{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-similar__name.svelte-1kw280t{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-similar__name.svelte-1kw280t{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-similar__name.svelte-1kw280t{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-similar__name.svelte-1kw280t{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-similar__name.svelte-1kw280t{font-size:calc(0.0080208333 * 100vw + 0px)}}.open-case-similar__price.svelte-1kw280t{display:flex;align-items:center;gap:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-similar__price.svelte-1kw280t{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-similar__price.svelte-1kw280t{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-similar__price.svelte-1kw280t{gap:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-similar__price.svelte-1kw280t{gap:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-similar__price.svelte-1kw280t{gap:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-similar__price.svelte-1kw280t{gap:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-similar__price.svelte-1kw280t{gap:calc(0.0028645833 * 100vw + 0px)}}.open-case-similar__price-value.svelte-1kw280t{color:#FFFFFF;font-family:\"HeadingNowRegular\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-similar__price-value.svelte-1kw280t{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-similar__price-value.svelte-1kw280t{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-similar__price-value.svelte-1kw280t{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-similar__price-value.svelte-1kw280t{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-similar__price-value.svelte-1kw280t{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-similar__price-value.svelte-1kw280t{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-similar__price-value.svelte-1kw280t{font-size:calc(0.006875 * 100vw + 0px)}}.open-case-similar__price-icon.svelte-1kw280t{color:#95FF00;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-similar__price-icon.svelte-1kw280t{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-similar__price-icon.svelte-1kw280t{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-similar__price-icon.svelte-1kw280t{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-similar__price-icon.svelte-1kw280t{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-similar__price-icon.svelte-1kw280t{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-similar__price-icon.svelte-1kw280t{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-similar__price-icon.svelte-1kw280t{font-size:calc(0.0103125 * 100vw + 0px)}}.open-case-similar__price-image.svelte-1kw280t{height:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-similar__price-image.svelte-1kw280t{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-similar__price-image.svelte-1kw280t{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-similar__price-image.svelte-1kw280t{height:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-similar__price-image.svelte-1kw280t{height:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-similar__price-image.svelte-1kw280t{height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-similar__price-image.svelte-1kw280t{height:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-similar__price-image.svelte-1kw280t{height:calc(0.0103125 * 100vw + 0px)}}.open-case-similar__time.svelte-1kw280t{position:absolute;display:flex;align-items:center;gap:calc(0.0026041667 * 100vw + 0px);bottom:calc(0.0041666667 * 100vw + 0px);right:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-similar__time.svelte-1kw280t{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-similar__time.svelte-1kw280t{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-similar__time.svelte-1kw280t{gap:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-similar__time.svelte-1kw280t{gap:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-similar__time.svelte-1kw280t{gap:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-similar__time.svelte-1kw280t{gap:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-similar__time.svelte-1kw280t{gap:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-similar__time.svelte-1kw280t{bottom:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-similar__time.svelte-1kw280t{bottom:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-similar__time.svelte-1kw280t{bottom:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-similar__time.svelte-1kw280t{bottom:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-similar__time.svelte-1kw280t{bottom:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-similar__time.svelte-1kw280t{bottom:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-similar__time.svelte-1kw280t{bottom:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-similar__time.svelte-1kw280t{right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-similar__time.svelte-1kw280t{right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-similar__time.svelte-1kw280t{right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-similar__time.svelte-1kw280t{right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-similar__time.svelte-1kw280t{right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-similar__time.svelte-1kw280t{right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-similar__time.svelte-1kw280t{right:calc(0.0057291667 * 100vw + 0px)}}.open-case-similar__time-icon.svelte-1kw280t{color:rgba(255, 255, 255, 0.3);font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-similar__time-icon.svelte-1kw280t{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-similar__time-icon.svelte-1kw280t{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-similar__time-icon.svelte-1kw280t{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-similar__time-icon.svelte-1kw280t{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-similar__time-icon.svelte-1kw280t{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-similar__time-icon.svelte-1kw280t{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-similar__time-icon.svelte-1kw280t{font-size:calc(0.006875 * 100vw + 0px)}}.open-case-similar__time-value.svelte-1kw280t{color:rgba(255, 255, 255, 0.3);font-family:\"HeadingNowRegular\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-similar__time-value.svelte-1kw280t{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-similar__time-value.svelte-1kw280t{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-similar__time-value.svelte-1kw280t{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-similar__time-value.svelte-1kw280t{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-similar__time-value.svelte-1kw280t{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-similar__time-value.svelte-1kw280t{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-similar__time-value.svelte-1kw280t{font-size:calc(0.006875 * 100vw + 0px)}}");
}

function similar_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[3] = list[i];
	return child_ctx;
}

// (1278:16) {#if !isEmpty(badge.icon)}
function similar_index_svelte_create_if_block_3(ctx) {
	let div;
	let t_value = /*codeToEmoji*/ ctx[2](/*badge*/ ctx[3].icon) + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "open-case-similar__badge-icon svelte-1kw280t");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*similarCase*/ 1 && t_value !== (t_value = /*codeToEmoji*/ ctx[2](/*badge*/ ctx[3].icon) + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1276:8) {#each similarCase.badges as badge}
function similar_index_svelte_create_each_block(ctx) {
	let div1;
	let show_if = !(0,lodash.isEmpty)(/*badge*/ ctx[3].icon);
	let t0;
	let div0;
	let t1_value = /*badge*/ ctx[3].name + "";
	let t1;
	let t2;
	let div1_class_value;
	let if_block = show_if && similar_index_svelte_create_if_block_3(ctx);

	return {
		c() {
			div1 = internal_element("div");
			if (if_block) if_block.c();
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(div0, "class", "open-case-similar__badge-text svelte-1kw280t");
			attr(div1, "class", div1_class_value = "open-case-similar__badge open-case-similar__badge--" + /*badge*/ ctx[3].style + " svelte-1kw280t");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			if (if_block) if_block.m(div1, null);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
			append(div1, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*similarCase*/ 1) show_if = !(0,lodash.isEmpty)(/*badge*/ ctx[3].icon);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = similar_index_svelte_create_if_block_3(ctx);
					if_block.c();
					if_block.m(div1, t0);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (dirty & /*similarCase*/ 1 && t1_value !== (t1_value = /*badge*/ ctx[3].name + "")) set_data(t1, t1_value);

			if (dirty & /*similarCase*/ 1 && div1_class_value !== (div1_class_value = "open-case-similar__badge open-case-similar__badge--" + /*badge*/ ctx[3].style + " svelte-1kw280t")) {
				attr(div1, "class", div1_class_value);
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			if (if_block) if_block.d();
		}
	};
}

// (1287:8) {#if similarCase.price > 0}
function similar_index_svelte_create_if_block_1(ctx) {
	let div1;
	let div0;
	let t0_value = formatMoney(/*similarCase*/ ctx[0].price) + "";
	let t0;
	let t1;

	function select_block_type(ctx, dirty) {
		if (/*similarCase*/ ctx[0].currency === 0) return similar_index_svelte_create_if_block_2;
		return similar_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block = current_block_type(ctx);

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			if_block.c();
			attr(div0, "class", "open-case-similar__price-value svelte-1kw280t");
			attr(div1, "class", "open-case-similar__price svelte-1kw280t");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, t0);
			append(div1, t1);
			if_block.m(div1, null);
		},
		p(ctx, dirty) {
			if (dirty & /*similarCase*/ 1 && t0_value !== (t0_value = formatMoney(/*similarCase*/ ctx[0].price) + "")) set_data(t0, t0_value);

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div1, null);
				}
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			if_block.d();
		}
	};
}

// (1292:16) {:else}
function similar_index_svelte_create_else_block(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = icons_coin_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "coin");
			attr(img, "class", "open-case-similar__price-image svelte-1kw280t");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (1290:16) {#if similarCase.currency === 0}
function similar_index_svelte_create_if_block_2(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "open-case-similar__price-icon icon-rub-circle svelte-1kw280t");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (1298:4) {#if similarCase.unix > 0}
function similar_index_svelte_create_if_block(ctx) {
	let div1;
	let i;
	let t0;
	let div0;
	let t1_value = moment_default().unix(/*similarCase*/ ctx[0].unix).format(/*formatter*/ ctx[1]) + "";
	let t1;

	return {
		c() {
			div1 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			attr(i, "class", "open-case-similar__time-icon icon-clock svelte-1kw280t");
			attr(div0, "class", "open-case-similar__time-value svelte-1kw280t");
			attr(div1, "class", "open-case-similar__time svelte-1kw280t");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, i);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*similarCase*/ 1 && t1_value !== (t1_value = moment_default().unix(/*similarCase*/ ctx[0].unix).format(/*formatter*/ ctx[1]) + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

function similar_index_svelte_create_fragment(ctx) {
	let div4;
	let div0;
	let img;
	let img_src_value;
	let t0;
	let div1;
	let t1;
	let div3;
	let div2;
	let t2_value = /*similarCase*/ ctx[0].name + "";
	let t2;
	let t3;
	let t4;
	let each_value = /*similarCase*/ ctx[0].badges;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = similar_index_svelte_create_each_block(similar_index_svelte_get_each_context(ctx, each_value, i));
	}

	let if_block0 = /*similarCase*/ ctx[0].price > 0 && similar_index_svelte_create_if_block_1(ctx);
	let if_block1 = /*similarCase*/ ctx[0].unix > 0 && similar_index_svelte_create_if_block(ctx);

	return {
		c() {
			div4 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t1 = space();
			div3 = internal_element("div");
			div2 = internal_element("div");
			t2 = internal_text(t2_value);
			t3 = space();
			if (if_block0) if_block0.c();
			t4 = space();
			if (if_block1) if_block1.c();
			if (!src_url_equal(img.src, img_src_value = `${CDN_URL}/projects/rodina-rp/systems/cases/${/*similarCase*/ ctx[0].id}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "case");
			attr(img, "class", "open-case-similar__image svelte-1kw280t");
			attr(div0, "class", "open-case-similar__image-wrapper svelte-1kw280t");
			attr(div1, "class", "open-case-similar__badges svelte-1kw280t");
			attr(div2, "class", "open-case-similar__name svelte-1kw280t");
			attr(div3, "class", "open-case-similar__info svelte-1kw280t");
			attr(div4, "class", "open-case-similar svelte-1kw280t");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div0);
			append(div0, img);
			append(div4, t0);
			append(div4, div1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}

			append(div4, t1);
			append(div4, div3);
			append(div3, div2);
			append(div2, t2);
			append(div3, t3);
			if (if_block0) if_block0.m(div3, null);
			append(div4, t4);
			if (if_block1) if_block1.m(div4, null);
		},
		p(ctx, [dirty]) {
			if (dirty & /*similarCase*/ 1 && !src_url_equal(img.src, img_src_value = `${CDN_URL}/projects/rodina-rp/systems/cases/${/*similarCase*/ ctx[0].id}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*similarCase, codeToEmoji, isEmpty*/ 5) {
				each_value = /*similarCase*/ ctx[0].badges;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = similar_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = similar_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div1, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if (dirty & /*similarCase*/ 1 && t2_value !== (t2_value = /*similarCase*/ ctx[0].name + "")) set_data(t2, t2_value);

			if (/*similarCase*/ ctx[0].price > 0) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = similar_index_svelte_create_if_block_1(ctx);
					if_block0.c();
					if_block0.m(div3, null);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (/*similarCase*/ ctx[0].unix > 0) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = similar_index_svelte_create_if_block(ctx);
					if_block1.c();
					if_block1.m(div4, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div4);
			destroy_each(each_blocks, detaching);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
		}
	};
}

const daySeconds = 86400;

function similar_index_svelte_instance($$self, $$props, $$invalidate) {
	let { similarCase = {} } = $$props;

	const formatter = similarCase.unix - moment_default()().unix() < daySeconds
	? 'HH:mm'
	: 'DD.MM.YYYY';

	const codeToEmoji = iconString => {
		const code = iconString.replace(/[^\d]/g, '');
		return String.fromCodePoint(parseInt(code, 10));
	};

	$$self.$$set = $$props => {
		if ('similarCase' in $$props) $$invalidate(0, similarCase = $$props.similarCase);
	};

	return [similarCase, formatter, codeToEmoji];
}

class Similar extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, similar_index_svelte_instance, similar_index_svelte_create_fragment, safe_not_equal, { similarCase: 0 }, similar_index_svelte_add_css);
	}
}

/* harmony default export */ const similar_index_svelte = (Similar);
;// CONCATENATED MODULE: ./src/views/open-case/components/guaranteed/index.svelte
/* src\views\open-case\components\guaranteed\index.svelte generated by Svelte v3.49.0 */





function guaranteed_index_svelte_create_fragment(ctx) {
	let div4;
	let div3;
	let div0;
	let t0_value = `X${/*prize*/ ctx[0].garante}` + "";
	let t0;
	let t1;
	let div1;
	let t2_value = `${/*prize*/ ctx[0].name} ${/*prize*/ ctx[0].count > 1 ? /*prize*/ ctx[0].count : ''}` + "";
	let t2;
	let t3;
	let div2;
	let img;
	let img_src_value;

	return {
		c() {
			div4 = internal_element("div");
			div3 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			div1 = internal_element("div");
			t2 = internal_text(t2_value);
			t3 = space();
			div2 = internal_element("div");
			img = internal_element("img");
			attr(div0, "class", "open-case-guaranteed__count");
			attr(div1, "class", "open-case-guaranteed__name");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*prize*/ ctx[0].item}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "case");
			attr(img, "class", "open-case-guaranteed__image");
			attr(div2, "class", "open-case-guaranteed__image-wrapper");
			attr(div3, "class", "open-case-guaranteed__content");
			attr(div4, "class", "open-case-guaranteed");
			toggle_class(div4, "open-case-guaranteed--gold", /*isFirst*/ ctx[1]);
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div3);
			append(div3, div0);
			append(div0, t0);
			append(div3, t1);
			append(div3, div1);
			append(div1, t2);
			append(div3, t3);
			append(div3, div2);
			append(div2, img);
		},
		p(ctx, [dirty]) {
			if (dirty & /*prize*/ 1 && t0_value !== (t0_value = `X${/*prize*/ ctx[0].garante}` + "")) set_data(t0, t0_value);
			if (dirty & /*prize*/ 1 && t2_value !== (t2_value = `${/*prize*/ ctx[0].name} ${/*prize*/ ctx[0].count > 1 ? /*prize*/ ctx[0].count : ''}` + "")) set_data(t2, t2_value);

			if (dirty & /*prize*/ 1 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*prize*/ ctx[0].item}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*isFirst*/ 2) {
				toggle_class(div4, "open-case-guaranteed--gold", /*isFirst*/ ctx[1]);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div4);
		}
	};
}

function guaranteed_index_svelte_instance($$self, $$props, $$invalidate) {
	let { prize = {} } = $$props;
	let { isFirst = false } = $$props;

	$$self.$$set = $$props => {
		if ('prize' in $$props) $$invalidate(0, prize = $$props.prize);
		if ('isFirst' in $$props) $$invalidate(1, isFirst = $$props.isFirst);
	};

	return [prize, isFirst];
}

class Guaranteed extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, guaranteed_index_svelte_instance, guaranteed_index_svelte_create_fragment, safe_not_equal, { prize: 0, isFirst: 1 });
	}
}

/* harmony default export */ const guaranteed_index_svelte = (Guaranteed);
;// CONCATENATED MODULE: ./src/views/open-case/components/prize/index.svelte
/* src\views\open-case\components\prize\index.svelte generated by Svelte v3.49.0 */






function prize_index_svelte_add_css(target) {
	append_styles(target, "svelte-1gx7xr6", "@keyframes svelte-1gx7xr6-blinking{50%{opacity:0}}@keyframes svelte-1gx7xr6-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1gx7xr6-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1gx7xr6-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1gx7xr6-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1gx7xr6-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1gx7xr6-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1gx7xr6-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1gx7xr6-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1gx7xr6-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1gx7xr6-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1gx7xr6-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1gx7xr6-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1gx7xr6-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1gx7xr6-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.open-case-prize.svelte-1gx7xr6{width:100%;height:100%;position:relative;background-color:rgba(0, 0, 0, 0.1);display:flex;align-items:center;justify-content:center;overflow:hidden;border-style:solid;border-color:rgba(255, 255, 255, 0.1);border-radius:calc(0.0083333333 * 100vw + 0px);border-width:calc(0.0005208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-prize.svelte-1gx7xr6{border-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-prize.svelte-1gx7xr6{border-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-prize.svelte-1gx7xr6{border-radius:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-prize.svelte-1gx7xr6{border-radius:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-prize.svelte-1gx7xr6{border-radius:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-prize.svelte-1gx7xr6{border-radius:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-prize.svelte-1gx7xr6{border-radius:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-prize.svelte-1gx7xr6{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-prize.svelte-1gx7xr6{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-prize.svelte-1gx7xr6{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-prize.svelte-1gx7xr6{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-prize.svelte-1gx7xr6{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-prize.svelte-1gx7xr6{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-prize.svelte-1gx7xr6{border-width:calc(0.0005729167 * 100vw + 0px)}}.open-case-prize--common.svelte-1gx7xr6:after{content:\"\";position:absolute;background-color:transparent;bottom:0;left:50%;transform:translateX(-50%);width:40%;height:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-prize--common.svelte-1gx7xr6:after{height:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-prize--common.svelte-1gx7xr6:after{height:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-prize--common.svelte-1gx7xr6:after{height:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-prize--common.svelte-1gx7xr6:after{height:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-prize--common.svelte-1gx7xr6:after{height:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-prize--common.svelte-1gx7xr6:after{height:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-prize--common.svelte-1gx7xr6:after{height:calc(0.0022916667 * 100vw + 0px)}}.open-case-prize--common.svelte-1gx7xr6:before{content:\"\";position:absolute;width:100%;height:100%;background:linear-gradient(225deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.02) 77.4%)}.open-case-prize--green.svelte-1gx7xr6{border-color:rgba(127, 221, 45, 0.25)}.open-case-prize--green.svelte-1gx7xr6:after{content:\"\";position:absolute;background-color:#7FDD2D;bottom:0;left:50%;transform:translateX(-50%);width:40%;height:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-prize--green.svelte-1gx7xr6:after{height:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-prize--green.svelte-1gx7xr6:after{height:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-prize--green.svelte-1gx7xr6:after{height:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-prize--green.svelte-1gx7xr6:after{height:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-prize--green.svelte-1gx7xr6:after{height:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-prize--green.svelte-1gx7xr6:after{height:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-prize--green.svelte-1gx7xr6:after{height:calc(0.0022916667 * 100vw + 0px)}}.open-case-prize--green.svelte-1gx7xr6:before{content:\"\";position:absolute;width:100%;height:100%;background:linear-gradient(225deg, rgba(127, 221, 45, 0.5) 0%, rgba(127, 221, 45, 0.1) 77.4%)}.open-case-prize--purple.svelte-1gx7xr6{border-color:rgba(193, 36, 255, 0.25)}.open-case-prize--purple.svelte-1gx7xr6:after{content:\"\";position:absolute;background-color:#C124FF;bottom:0;left:50%;transform:translateX(-50%);width:40%;height:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-prize--purple.svelte-1gx7xr6:after{height:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-prize--purple.svelte-1gx7xr6:after{height:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-prize--purple.svelte-1gx7xr6:after{height:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-prize--purple.svelte-1gx7xr6:after{height:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-prize--purple.svelte-1gx7xr6:after{height:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-prize--purple.svelte-1gx7xr6:after{height:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-prize--purple.svelte-1gx7xr6:after{height:calc(0.0022916667 * 100vw + 0px)}}.open-case-prize--purple.svelte-1gx7xr6:before{content:\"\";position:absolute;width:100%;height:100%;background:linear-gradient(225deg, rgba(193, 36, 255, 0.5) 0%, rgba(193, 36, 255, 0.1) 77.4%)}.open-case-prize--red.svelte-1gx7xr6{border-color:rgba(255, 36, 36, 0.25)}.open-case-prize--red.svelte-1gx7xr6:after{content:\"\";position:absolute;background-color:#FF2727;bottom:0;left:50%;transform:translateX(-50%);width:40%;height:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-prize--red.svelte-1gx7xr6:after{height:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-prize--red.svelte-1gx7xr6:after{height:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-prize--red.svelte-1gx7xr6:after{height:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-prize--red.svelte-1gx7xr6:after{height:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-prize--red.svelte-1gx7xr6:after{height:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-prize--red.svelte-1gx7xr6:after{height:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-prize--red.svelte-1gx7xr6:after{height:calc(0.0022916667 * 100vw + 0px)}}.open-case-prize--red.svelte-1gx7xr6:before{content:\"\";position:absolute;width:100%;height:100%;background:linear-gradient(225deg, rgba(255, 36, 36, 0.5) 0%, rgba(255, 36, 36, 0.1) 77.4%)}.open-case-prize--gold.svelte-1gx7xr6{border-color:rgba(255, 178, 36, 0.25)}.open-case-prize--gold.svelte-1gx7xr6:after{content:\"\";position:absolute;background-color:#FFB224;bottom:0;left:50%;transform:translateX(-50%);width:40%;height:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-prize--gold.svelte-1gx7xr6:after{height:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-prize--gold.svelte-1gx7xr6:after{height:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-prize--gold.svelte-1gx7xr6:after{height:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-prize--gold.svelte-1gx7xr6:after{height:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-prize--gold.svelte-1gx7xr6:after{height:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-prize--gold.svelte-1gx7xr6:after{height:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-prize--gold.svelte-1gx7xr6:after{height:calc(0.0022916667 * 100vw + 0px)}}.open-case-prize--gold.svelte-1gx7xr6:before{content:\"\";position:absolute;width:100%;height:100%;background:linear-gradient(225deg, rgba(255, 178, 36, 0.5) 0%, rgba(255, 178, 36, 0.1) 77.4%)}.open-case-prize__image.svelte-1gx7xr6{position:absolute;height:80%;transform:translateY(-10%)}.open-case-prize__text.svelte-1gx7xr6{position:absolute;width:80%;text-align:center;color:#FFFFFF;font-family:\"HeadingNowRegular\";font-size:calc(0.00625 * 100vw + 0px);bottom:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-prize__text.svelte-1gx7xr6{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-prize__text.svelte-1gx7xr6{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-prize__text.svelte-1gx7xr6{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-prize__text.svelte-1gx7xr6{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-prize__text.svelte-1gx7xr6{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-prize__text.svelte-1gx7xr6{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-prize__text.svelte-1gx7xr6{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-prize__text.svelte-1gx7xr6{bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-prize__text.svelte-1gx7xr6{bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-prize__text.svelte-1gx7xr6{bottom:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-prize__text.svelte-1gx7xr6{bottom:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-prize__text.svelte-1gx7xr6{bottom:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-prize__text.svelte-1gx7xr6{bottom:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-prize__text.svelte-1gx7xr6{bottom:calc(0.00859375 * 100vw + 0px)}}.open-case-prize__empty.svelte-1gx7xr6{color:rgba(255, 255, 255, 0.5);font-family:\"HeadingNowBold\";transform:translateY(-5%);font-size:calc(0.0489583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-prize__empty.svelte-1gx7xr6{font-size:calc(0.0489583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-prize__empty.svelte-1gx7xr6{font-size:calc(0.0489583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-prize__empty.svelte-1gx7xr6{font-size:calc(0.0376979167 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-prize__empty.svelte-1gx7xr6{font-size:calc(0.0538541667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-prize__empty.svelte-1gx7xr6{font-size:calc(0.0342708333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-prize__empty.svelte-1gx7xr6{font-size:calc(0.0440625 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-prize__empty.svelte-1gx7xr6{font-size:calc(0.0538541667 * 100vw + 0px)}}.open-case-prize__backlight.svelte-1gx7xr6{position:absolute;width:100%;height:75%;bottom:0;left:50%;border-radius:50%;opacity:0.65;transform:translateX(-50%) translateY(60%)}.open-case-prize__backlight--common.svelte-1gx7xr6{background:radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 70%)}.open-case-prize__backlight--green.svelte-1gx7xr6{background:radial-gradient(circle, #7FDD2D 0%, transparent 70%)}.open-case-prize__backlight--purple.svelte-1gx7xr6{background:radial-gradient(circle, #C124FF 0%, transparent 70%)}.open-case-prize__backlight--red.svelte-1gx7xr6{background:radial-gradient(circle, #FF2727 0%, transparent 70%)}.open-case-prize__backlight--gold.svelte-1gx7xr6{background:radial-gradient(circle, #FFB224 0%, transparent 70%)}");
}

// (681:4) {:else}
function prize_index_svelte_create_else_block(ctx) {
	let img;
	let img_src_value;
	let img_intro;

	return {
		c() {
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*imageSrc*/ ctx[0]}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "reward");
			attr(img, "class", "open-case-prize__image svelte-1gx7xr6");
			attr(img, "draggable", "false");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*imageSrc*/ 1 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*imageSrc*/ ctx[0]}.webp`)) {
				attr(img, "src", img_src_value);
			}
		},
		i(local) {
			if (!img_intro) {
				add_render_callback(() => {
					img_intro = create_in_transition(img, fly, { x: 20, y: 20 });
					img_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (679:4) {#if isNil(imageSrc)}
function prize_index_svelte_create_if_block_1(ctx) {
	let div;
	let div_outro;
	let current;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "?";
			attr(div, "class", "open-case-prize__empty svelte-1gx7xr6");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			if (div_outro) div_outro.end(1);
			current = true;
		},
		o(local) {
			div_outro = create_out_transition(div, fly, { x: -20, y: -20 });
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (detaching && div_outro) div_outro.end();
		}
	};
}

// (689:4) {#if !isEmpty(text)}
function prize_index_svelte_create_if_block(ctx) {
	let div;
	let t_value = `${/*text*/ ctx[2]} ${/*count*/ ctx[3]}` + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "open-case-prize__text svelte-1gx7xr6");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*text, count*/ 12 && t_value !== (t_value = `${/*text*/ ctx[2]} ${/*count*/ ctx[3]}` + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function prize_index_svelte_create_fragment(ctx) {
	let div1;
	let div0;
	let div0_class_value;
	let t0;
	let show_if_1;
	let current_block_type_index;
	let if_block0;
	let t1;
	let show_if = !(0,lodash.isEmpty)(/*text*/ ctx[2]);
	let div1_class_value;
	let current;
	const if_block_creators = [prize_index_svelte_create_if_block_1, prize_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (dirty & /*imageSrc*/ 1) show_if_1 = null;
		if (show_if_1 == null) show_if_1 = !!(0,lodash.isNil)(/*imageSrc*/ ctx[0]);
		if (show_if_1) return 0;
		return 1;
	}

	current_block_type_index = select_block_type(ctx, -1);
	if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
	let if_block1 = show_if && prize_index_svelte_create_if_block(ctx);

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			t0 = space();
			if_block0.c();
			t1 = space();
			if (if_block1) if_block1.c();
			attr(div0, "class", div0_class_value = "open-case-prize__backlight open-case-prize__backlight--" + /*style*/ ctx[1] + " svelte-1gx7xr6");
			attr(div1, "class", div1_class_value = "open-case-prize open-case-prize--" + /*style*/ ctx[1] + " svelte-1gx7xr6");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div1, t0);
			if_blocks[current_block_type_index].m(div1, null);
			append(div1, t1);
			if (if_block1) if_block1.m(div1, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if (!current || dirty & /*style*/ 2 && div0_class_value !== (div0_class_value = "open-case-prize__backlight open-case-prize__backlight--" + /*style*/ ctx[1] + " svelte-1gx7xr6")) {
				attr(div0, "class", div0_class_value);
			}

			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block0 = if_blocks[current_block_type_index];

				if (!if_block0) {
					if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block0.c();
				} else {
					if_block0.p(ctx, dirty);
				}

				transition_in(if_block0, 1);
				if_block0.m(div1, t1);
			}

			if (dirty & /*text*/ 4) show_if = !(0,lodash.isEmpty)(/*text*/ ctx[2]);

			if (show_if) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = prize_index_svelte_create_if_block(ctx);
					if_block1.c();
					if_block1.m(div1, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (!current || dirty & /*style*/ 2 && div1_class_value !== (div1_class_value = "open-case-prize open-case-prize--" + /*style*/ ctx[1] + " svelte-1gx7xr6")) {
				attr(div1, "class", div1_class_value);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block0);
			current = true;
		},
		o(local) {
			transition_out(if_block0);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			if_blocks[current_block_type_index].d();
			if (if_block1) if_block1.d();
		}
	};
}

function prize_index_svelte_instance($$self, $$props, $$invalidate) {
	let { imageSrc = null } = $$props;
	let { style = '' } = $$props;
	let { text = '' } = $$props;
	let { count = '' } = $$props;

	$$self.$$set = $$props => {
		if ('imageSrc' in $$props) $$invalidate(0, imageSrc = $$props.imageSrc);
		if ('style' in $$props) $$invalidate(1, style = $$props.style);
		if ('text' in $$props) $$invalidate(2, text = $$props.text);
		if ('count' in $$props) $$invalidate(3, count = $$props.count);
	};

	return [imageSrc, style, text, count];
}

class index_svelte_Prize extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, prize_index_svelte_instance, prize_index_svelte_create_fragment, safe_not_equal, { imageSrc: 0, style: 1, text: 2, count: 3 }, prize_index_svelte_add_css);
	}
}

/* harmony default export */ const prize_index_svelte = (index_svelte_Prize);
;// CONCATENATED MODULE: ./src/views/open-case/components/main/index.svelte
/* src\views\open-case\components\main\index.svelte generated by Svelte v3.49.0 */











// import { ITEMS } from 'constants/items';












function components_main_index_svelte_add_css(target) {
	append_styles(target, "svelte-1iexhby", "@keyframes svelte-1iexhby-blinking{50%{opacity:0}}@keyframes svelte-1iexhby-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1iexhby-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1iexhby-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1iexhby-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1iexhby-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1iexhby-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1iexhby-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1iexhby-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1iexhby-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1iexhby-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1iexhby-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1iexhby-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1iexhby-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1iexhby-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.open-case-main.svelte-1iexhby.svelte-1iexhby{width:100%;padding-left:calc(0.0442708333 * 100vw + 0px);padding-right:calc(0.0442708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-main.svelte-1iexhby.svelte-1iexhby{padding-left:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main.svelte-1iexhby.svelte-1iexhby{padding-left:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main.svelte-1iexhby.svelte-1iexhby{padding-left:calc(0.0340885417 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main.svelte-1iexhby.svelte-1iexhby{padding-left:calc(0.0486979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main.svelte-1iexhby.svelte-1iexhby{padding-left:calc(0.0309895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main.svelte-1iexhby.svelte-1iexhby{padding-left:calc(0.03984375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main.svelte-1iexhby.svelte-1iexhby{padding-left:calc(0.0486979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-main.svelte-1iexhby.svelte-1iexhby{padding-right:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main.svelte-1iexhby.svelte-1iexhby{padding-right:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main.svelte-1iexhby.svelte-1iexhby{padding-right:calc(0.0340885417 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main.svelte-1iexhby.svelte-1iexhby{padding-right:calc(0.0486979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main.svelte-1iexhby.svelte-1iexhby{padding-right:calc(0.0309895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main.svelte-1iexhby.svelte-1iexhby{padding-right:calc(0.03984375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main.svelte-1iexhby.svelte-1iexhby{padding-right:calc(0.0486979167 * 100vw + 0px)}}.open-case-main__row.svelte-1iexhby.svelte-1iexhby{width:100%;display:flex;align-items:flex-start;justify-content:space-between;top:calc(0.1067708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__row.svelte-1iexhby.svelte-1iexhby{top:calc(0.1067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__row.svelte-1iexhby.svelte-1iexhby{top:calc(0.1067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__row.svelte-1iexhby.svelte-1iexhby{top:calc(0.0822135417 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__row.svelte-1iexhby.svelte-1iexhby{top:calc(0.1174479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__row.svelte-1iexhby.svelte-1iexhby{top:calc(0.0747395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__row.svelte-1iexhby.svelte-1iexhby{top:calc(0.09609375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__row.svelte-1iexhby.svelte-1iexhby{top:calc(0.1174479167 * 100vw + 0px)}}.open-case-main__main.svelte-1iexhby.svelte-1iexhby{display:flex;flex-direction:column;align-items:center;width:calc(0.1822916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__main.svelte-1iexhby.svelte-1iexhby{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__main.svelte-1iexhby.svelte-1iexhby{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__main.svelte-1iexhby.svelte-1iexhby{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__main.svelte-1iexhby.svelte-1iexhby{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__main.svelte-1iexhby.svelte-1iexhby{width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__main.svelte-1iexhby.svelte-1iexhby{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__main.svelte-1iexhby.svelte-1iexhby{width:calc(0.2005208333 * 100vw + 0px)}}.open-case-main__main-caption.svelte-1iexhby.svelte-1iexhby{font-family:\"HeadingNowRegular\";color:#FFFFFF;font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__main-caption.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__main-caption.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__main-caption.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__main-caption.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__main-caption.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__main-caption.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__main-caption.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.006875 * 100vw + 0px)}}.open-case-main__main-name-image.svelte-1iexhby.svelte-1iexhby{width:55%;margin-top:calc(0.0072916667 * 100vw + 0px);margin-bottom:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__main-name-image.svelte-1iexhby.svelte-1iexhby{margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__main-name-image.svelte-1iexhby.svelte-1iexhby{margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__main-name-image.svelte-1iexhby.svelte-1iexhby{margin-top:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__main-name-image.svelte-1iexhby.svelte-1iexhby{margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__main-name-image.svelte-1iexhby.svelte-1iexhby{margin-top:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__main-name-image.svelte-1iexhby.svelte-1iexhby{margin-top:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__main-name-image.svelte-1iexhby.svelte-1iexhby{margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__main-name-image.svelte-1iexhby.svelte-1iexhby{margin-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__main-name-image.svelte-1iexhby.svelte-1iexhby{margin-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__main-name-image.svelte-1iexhby.svelte-1iexhby{margin-bottom:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__main-name-image.svelte-1iexhby.svelte-1iexhby{margin-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__main-name-image.svelte-1iexhby.svelte-1iexhby{margin-bottom:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__main-name-image.svelte-1iexhby.svelte-1iexhby{margin-bottom:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__main-name-image.svelte-1iexhby.svelte-1iexhby{margin-bottom:calc(0.0080208333 * 100vw + 0px)}}.open-case-main__main-image.svelte-1iexhby.svelte-1iexhby{width:100%}.open-case-main__main-time.svelte-1iexhby.svelte-1iexhby{display:flex;align-items:center;gap:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__main-time.svelte-1iexhby.svelte-1iexhby{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__main-time.svelte-1iexhby.svelte-1iexhby{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__main-time.svelte-1iexhby.svelte-1iexhby{gap:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__main-time.svelte-1iexhby.svelte-1iexhby{gap:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__main-time.svelte-1iexhby.svelte-1iexhby{gap:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__main-time.svelte-1iexhby.svelte-1iexhby{gap:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__main-time.svelte-1iexhby.svelte-1iexhby{gap:calc(0.0028645833 * 100vw + 0px)}}.open-case-main__main-time-icon.svelte-1iexhby.svelte-1iexhby{color:rgba(255, 255, 255, 0.5);font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__main-time-icon.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__main-time-icon.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__main-time-icon.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__main-time-icon.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__main-time-icon.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__main-time-icon.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__main-time-icon.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.006875 * 100vw + 0px)}}.open-case-main__main-time-value.svelte-1iexhby.svelte-1iexhby{color:rgba(255, 255, 255, 0.5);font-family:\"HeadingNowRegular\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__main-time-value.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__main-time-value.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__main-time-value.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__main-time-value.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__main-time-value.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__main-time-value.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__main-time-value.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.006875 * 100vw + 0px)}}.open-case-main__main-buttons.svelte-1iexhby.svelte-1iexhby{display:flex;gap:calc(0.0052083333 * 100vw + 0px);height:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__main-buttons.svelte-1iexhby.svelte-1iexhby{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__main-buttons.svelte-1iexhby.svelte-1iexhby{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__main-buttons.svelte-1iexhby.svelte-1iexhby{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__main-buttons.svelte-1iexhby.svelte-1iexhby{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__main-buttons.svelte-1iexhby.svelte-1iexhby{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__main-buttons.svelte-1iexhby.svelte-1iexhby{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__main-buttons.svelte-1iexhby.svelte-1iexhby{gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__main-buttons.svelte-1iexhby.svelte-1iexhby{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__main-buttons.svelte-1iexhby.svelte-1iexhby{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__main-buttons.svelte-1iexhby.svelte-1iexhby{height:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__main-buttons.svelte-1iexhby.svelte-1iexhby{height:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__main-buttons.svelte-1iexhby.svelte-1iexhby{height:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__main-buttons.svelte-1iexhby.svelte-1iexhby{height:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__main-buttons.svelte-1iexhby.svelte-1iexhby{height:calc(0.0275 * 100vw + 0px)}}.open-case-main__main-button-scale.svelte-1iexhby.svelte-1iexhby{display:flex;align-items:center;justify-content:center;font-family:\"HeadingNowRegular\";color:#FFFFFF;background-color:rgba(255, 255, 255, 0.1);font-size:calc(0.00625 * 100vw + 0px);width:calc(0.025 * 100vw + 0px);height:calc(0.025 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__main-button-scale.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__main-button-scale.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__main-button-scale.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__main-button-scale.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__main-button-scale.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__main-button-scale.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__main-button-scale.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__main-button-scale.svelte-1iexhby.svelte-1iexhby{width:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__main-button-scale.svelte-1iexhby.svelte-1iexhby{width:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__main-button-scale.svelte-1iexhby.svelte-1iexhby{width:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__main-button-scale.svelte-1iexhby.svelte-1iexhby{width:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__main-button-scale.svelte-1iexhby.svelte-1iexhby{width:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__main-button-scale.svelte-1iexhby.svelte-1iexhby{width:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__main-button-scale.svelte-1iexhby.svelte-1iexhby{width:calc(0.0275 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__main-button-scale.svelte-1iexhby.svelte-1iexhby{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__main-button-scale.svelte-1iexhby.svelte-1iexhby{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__main-button-scale.svelte-1iexhby.svelte-1iexhby{height:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__main-button-scale.svelte-1iexhby.svelte-1iexhby{height:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__main-button-scale.svelte-1iexhby.svelte-1iexhby{height:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__main-button-scale.svelte-1iexhby.svelte-1iexhby{height:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__main-button-scale.svelte-1iexhby.svelte-1iexhby{height:calc(0.0275 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__main-button-scale.svelte-1iexhby.svelte-1iexhby{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__main-button-scale.svelte-1iexhby.svelte-1iexhby{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__main-button-scale.svelte-1iexhby.svelte-1iexhby{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__main-button-scale.svelte-1iexhby.svelte-1iexhby{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__main-button-scale.svelte-1iexhby.svelte-1iexhby{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__main-button-scale.svelte-1iexhby.svelte-1iexhby{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__main-button-scale.svelte-1iexhby.svelte-1iexhby{border-radius:calc(0.0057291667 * 100vw + 0px)}}.open-case-main__main-button-scale.svelte-1iexhby.svelte-1iexhby:hover{background-color:rgba(255, 255, 255, 0.25)}.open-case-main__main-button-scale--active.svelte-1iexhby.svelte-1iexhby{background-color:rgba(255, 255, 255, 0.25);border-color:#FFFFFF;border-style:solid;border-width:calc(0.0005208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__main-button-scale--active.svelte-1iexhby.svelte-1iexhby{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__main-button-scale--active.svelte-1iexhby.svelte-1iexhby{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__main-button-scale--active.svelte-1iexhby.svelte-1iexhby{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__main-button-scale--active.svelte-1iexhby.svelte-1iexhby{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__main-button-scale--active.svelte-1iexhby.svelte-1iexhby{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__main-button-scale--active.svelte-1iexhby.svelte-1iexhby{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__main-button-scale--active.svelte-1iexhby.svelte-1iexhby{border-width:calc(0.0005729167 * 100vw + 0px)}}.open-case-main__main-button-purchase.svelte-1iexhby.svelte-1iexhby{position:relative;width:calc(0.1041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__main-button-purchase.svelte-1iexhby.svelte-1iexhby{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__main-button-purchase.svelte-1iexhby.svelte-1iexhby{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__main-button-purchase.svelte-1iexhby.svelte-1iexhby{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__main-button-purchase.svelte-1iexhby.svelte-1iexhby{width:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__main-button-purchase.svelte-1iexhby.svelte-1iexhby{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__main-button-purchase.svelte-1iexhby.svelte-1iexhby{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__main-button-purchase.svelte-1iexhby.svelte-1iexhby{width:calc(0.1145833333 * 100vw + 0px)}}.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{position:absolute;top:0;right:0;display:flex;align-items:center;justify-content:center;border-style:solid;border-color:rgba(255, 255, 255, 0.1);color:#FFFFFF;font-family:\"HeadingNowRegular\";background-color:#FF2323;transform:translateY(-25%) translateX(25%);font-size:calc(0.00625 * 100vw + 0px);height:calc(0.0104166667 * 100vw + 0px);padding-left:calc(0.003125 * 100vw + 0px);padding-right:calc(0.003125 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px);border-width:calc(0.0005208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{height:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{padding-left:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{padding-left:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{padding-left:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{padding-left:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{padding-left:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{padding-left:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{padding-left:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{padding-right:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{padding-right:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{padding-right:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{padding-right:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{padding-right:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{padding-right:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{padding-right:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__main-button-discount.svelte-1iexhby.svelte-1iexhby{border-width:calc(0.0005729167 * 100vw + 0px)}}.open-case-main__main-count.svelte-1iexhby.svelte-1iexhby{color:rgba(255, 255, 255, 0.5);font-family:\"HeadingNowRegular\";font-size:calc(0.00625 * 100vw + 0px);margin-top:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__main-count.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__main-count.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__main-count.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__main-count.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__main-count.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__main-count.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__main-count.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__main-count.svelte-1iexhby.svelte-1iexhby{margin-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__main-count.svelte-1iexhby.svelte-1iexhby{margin-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__main-count.svelte-1iexhby.svelte-1iexhby{margin-top:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__main-count.svelte-1iexhby.svelte-1iexhby{margin-top:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__main-count.svelte-1iexhby.svelte-1iexhby{margin-top:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__main-count.svelte-1iexhby.svelte-1iexhby{margin-top:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__main-count.svelte-1iexhby.svelte-1iexhby{margin-top:calc(0.00859375 * 100vw + 0px)}}.open-case-main__loader.svelte-1iexhby.svelte-1iexhby{position:absolute;left:50%;top:50%;transform:translateX(-50%) translateY(-50%);height:calc(0.078125 * 100vw + 0px);width:calc(0.078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__loader.svelte-1iexhby.svelte-1iexhby{height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__loader.svelte-1iexhby.svelte-1iexhby{height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__loader.svelte-1iexhby.svelte-1iexhby{height:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__loader.svelte-1iexhby.svelte-1iexhby{height:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__loader.svelte-1iexhby.svelte-1iexhby{height:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__loader.svelte-1iexhby.svelte-1iexhby{height:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__loader.svelte-1iexhby.svelte-1iexhby{height:calc(0.0859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__loader.svelte-1iexhby.svelte-1iexhby{width:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__loader.svelte-1iexhby.svelte-1iexhby{width:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__loader.svelte-1iexhby.svelte-1iexhby{width:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__loader.svelte-1iexhby.svelte-1iexhby{width:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__loader.svelte-1iexhby.svelte-1iexhby{width:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__loader.svelte-1iexhby.svelte-1iexhby{width:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__loader.svelte-1iexhby.svelte-1iexhby{width:calc(0.0859375 * 100vw + 0px)}}.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{display:flex;flex-direction:column;overflow-y:scroll;gap:calc(0.0104166667 * 100vw + 0px);padding-top:calc(0.0052083333 * 100vw + 0px);padding-bottom:calc(0.0052083333 * 100vw + 0px);min-width:calc(0.1666666667 * 100vw + 0px);max-height:calc(0.3125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{gap:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{gap:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{padding-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{padding-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{padding-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{padding-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{padding-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{padding-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{padding-top:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{padding-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{padding-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{padding-bottom:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{padding-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{padding-bottom:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{padding-bottom:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{padding-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{min-width:calc(0.1666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{min-width:calc(0.1666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{min-width:calc(0.1283333333 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{min-width:calc(0.1833333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{min-width:calc(0.1166666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{min-width:calc(0.15 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{min-width:calc(0.1833333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{max-height:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{max-height:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{max-height:calc(0.240625 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{max-height:calc(0.34375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{max-height:calc(0.21875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{max-height:calc(0.28125 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{max-height:calc(0.34375 * 100vw + 0px)}}.open-case-main__similar-list.svelte-1iexhby.svelte-1iexhby::-webkit-scrollbar,.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby::-webkit-scrollbar{width:0}.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{align-items:flex-end;gap:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__guaranteed-list.svelte-1iexhby.svelte-1iexhby{gap:calc(0.0057291667 * 100vw + 0px)}}.open-case-main__similar-title.svelte-1iexhby.svelte-1iexhby{font-family:\"HeadingNowRegular\";color:#FFFFFF;text-transform:uppercase;font-size:calc(0.0072916667 * 100vw + 0px);margin-bottom:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__similar-title.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__similar-title.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__similar-title.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__similar-title.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__similar-title.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__similar-title.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__similar-title.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__similar-title.svelte-1iexhby.svelte-1iexhby{margin-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__similar-title.svelte-1iexhby.svelte-1iexhby{margin-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__similar-title.svelte-1iexhby.svelte-1iexhby{margin-bottom:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__similar-title.svelte-1iexhby.svelte-1iexhby{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__similar-title.svelte-1iexhby.svelte-1iexhby{margin-bottom:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__similar-title.svelte-1iexhby.svelte-1iexhby{margin-bottom:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__similar-title.svelte-1iexhby.svelte-1iexhby{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}.open-case-main__guaranteed-title-wrapper.svelte-1iexhby.svelte-1iexhby{display:flex;align-items:center;gap:calc(0.0026041667 * 100vw + 0px);margin-bottom:calc(0.0052083333 * 100vw + 0px);margin-left:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__guaranteed-title-wrapper.svelte-1iexhby.svelte-1iexhby{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__guaranteed-title-wrapper.svelte-1iexhby.svelte-1iexhby{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__guaranteed-title-wrapper.svelte-1iexhby.svelte-1iexhby{gap:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__guaranteed-title-wrapper.svelte-1iexhby.svelte-1iexhby{gap:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__guaranteed-title-wrapper.svelte-1iexhby.svelte-1iexhby{gap:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__guaranteed-title-wrapper.svelte-1iexhby.svelte-1iexhby{gap:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__guaranteed-title-wrapper.svelte-1iexhby.svelte-1iexhby{gap:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__guaranteed-title-wrapper.svelte-1iexhby.svelte-1iexhby{margin-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__guaranteed-title-wrapper.svelte-1iexhby.svelte-1iexhby{margin-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__guaranteed-title-wrapper.svelte-1iexhby.svelte-1iexhby{margin-bottom:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__guaranteed-title-wrapper.svelte-1iexhby.svelte-1iexhby{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__guaranteed-title-wrapper.svelte-1iexhby.svelte-1iexhby{margin-bottom:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__guaranteed-title-wrapper.svelte-1iexhby.svelte-1iexhby{margin-bottom:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__guaranteed-title-wrapper.svelte-1iexhby.svelte-1iexhby{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__guaranteed-title-wrapper.svelte-1iexhby.svelte-1iexhby{margin-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__guaranteed-title-wrapper.svelte-1iexhby.svelte-1iexhby{margin-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__guaranteed-title-wrapper.svelte-1iexhby.svelte-1iexhby{margin-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__guaranteed-title-wrapper.svelte-1iexhby.svelte-1iexhby{margin-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__guaranteed-title-wrapper.svelte-1iexhby.svelte-1iexhby{margin-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__guaranteed-title-wrapper.svelte-1iexhby.svelte-1iexhby{margin-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__guaranteed-title-wrapper.svelte-1iexhby.svelte-1iexhby{margin-left:calc(0.0143229167 * 100vw + 0px)}}.open-case-main__guaranteed-title-wrapper.svelte-1iexhby:hover .open-case-main__guaranteed-title-icon.svelte-1iexhby{transform:translateY(-10%)}.open-case-main__guaranteed-title-icon.svelte-1iexhby.svelte-1iexhby{color:#FFFFFF;transition:0.14s ease-in-out;transition-property:transform;font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__guaranteed-title-icon.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__guaranteed-title-icon.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__guaranteed-title-icon.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__guaranteed-title-icon.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__guaranteed-title-icon.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__guaranteed-title-icon.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__guaranteed-title-icon.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.0114583333 * 100vw + 0px)}}.open-case-main__guaranteed-title.svelte-1iexhby.svelte-1iexhby{font-family:\"HeadingNowRegular\";color:#FFFFFF;text-transform:uppercase;font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__guaranteed-title.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__guaranteed-title.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__guaranteed-title.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__guaranteed-title.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__guaranteed-title.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__guaranteed-title.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__guaranteed-title.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.0080208333 * 100vw + 0px)}}.open-case-main__prizes.svelte-1iexhby.svelte-1iexhby{position:absolute;left:0;right:0;display:flex;flex-direction:column;align-items:center;bottom:calc(0.0338541667 * 100vw + 0px);padding-left:calc(0.0442708333 * 100vw + 0px);padding-right:calc(0.0442708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__prizes.svelte-1iexhby.svelte-1iexhby{bottom:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__prizes.svelte-1iexhby.svelte-1iexhby{bottom:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__prizes.svelte-1iexhby.svelte-1iexhby{bottom:calc(0.0260677083 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__prizes.svelte-1iexhby.svelte-1iexhby{bottom:calc(0.0372395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__prizes.svelte-1iexhby.svelte-1iexhby{bottom:calc(0.0236979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__prizes.svelte-1iexhby.svelte-1iexhby{bottom:calc(0.03046875 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__prizes.svelte-1iexhby.svelte-1iexhby{bottom:calc(0.0372395833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__prizes.svelte-1iexhby.svelte-1iexhby{padding-left:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__prizes.svelte-1iexhby.svelte-1iexhby{padding-left:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__prizes.svelte-1iexhby.svelte-1iexhby{padding-left:calc(0.0340885417 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__prizes.svelte-1iexhby.svelte-1iexhby{padding-left:calc(0.0486979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__prizes.svelte-1iexhby.svelte-1iexhby{padding-left:calc(0.0309895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__prizes.svelte-1iexhby.svelte-1iexhby{padding-left:calc(0.03984375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__prizes.svelte-1iexhby.svelte-1iexhby{padding-left:calc(0.0486979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__prizes.svelte-1iexhby.svelte-1iexhby{padding-right:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__prizes.svelte-1iexhby.svelte-1iexhby{padding-right:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__prizes.svelte-1iexhby.svelte-1iexhby{padding-right:calc(0.0340885417 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__prizes.svelte-1iexhby.svelte-1iexhby{padding-right:calc(0.0486979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__prizes.svelte-1iexhby.svelte-1iexhby{padding-right:calc(0.0309895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__prizes.svelte-1iexhby.svelte-1iexhby{padding-right:calc(0.03984375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__prizes.svelte-1iexhby.svelte-1iexhby{padding-right:calc(0.0486979167 * 100vw + 0px)}}.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{position:absolute;display:flex;align-items:center;justify-content:center;background-color:rgba(255, 255, 255, 0.3);border:1px solid rgba(255, 255, 255, 0.1);transition:background-color 0.2s linear;cursor:pointer;top:calc(0.0052083333 * 100vw + 0px);left:calc(0.0052083333 * 100vw + 0px);border-radius:calc(0.003125 * 100vw + 0px);width:calc(0.009375 * 100vw + 0px);height:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{top:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{left:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{border-radius:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{border-radius:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{border-radius:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{border-radius:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{border-radius:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{border-radius:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{border-radius:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{width:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{width:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{width:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{width:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{width:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{width:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{width:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{height:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{height:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{height:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby{height:calc(0.0103125 * 100vw + 0px)}}.open-case-main__prize-rarity-button.svelte-1iexhby.svelte-1iexhby:hover{background-color:rgba(255, 255, 255, 0.5);border:1px solid rgba(255, 255, 255, 0.4)}.open-case-main__prize-rarity-button-title.svelte-1iexhby.svelte-1iexhby{font-family:\"HeadingNowRegular\";color:#FFFFFF;font-style:normal;pointer-events:none;font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__prize-rarity-button-title.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__prize-rarity-button-title.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__prize-rarity-button-title.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__prize-rarity-button-title.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__prize-rarity-button-title.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__prize-rarity-button-title.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__prize-rarity-button-title.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.006875 * 100vw + 0px)}}.open-case-main__prizes-title.svelte-1iexhby.svelte-1iexhby{text-align:center;color:#FFFFFF;font-family:\"HeadingNowRegular\";text-transform:uppercase;font-size:calc(0.00625 * 100vw + 0px);margin-bottom:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__prizes-title.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__prizes-title.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__prizes-title.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__prizes-title.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__prizes-title.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__prizes-title.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__prizes-title.svelte-1iexhby.svelte-1iexhby{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__prizes-title.svelte-1iexhby.svelte-1iexhby{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__prizes-title.svelte-1iexhby.svelte-1iexhby{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__prizes-title.svelte-1iexhby.svelte-1iexhby{margin-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__prizes-title.svelte-1iexhby.svelte-1iexhby{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__prizes-title.svelte-1iexhby.svelte-1iexhby{margin-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__prizes-title.svelte-1iexhby.svelte-1iexhby{margin-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__prizes-title.svelte-1iexhby.svelte-1iexhby{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby{max-width:100%;display:flex;justify-content:flex-start;overflow-y:hidden;overflow-x:auto;gap:calc(0.0078125 * 100vw + 0px);height:calc(0.0791666667 * 100vw + 0px);padding-bottom:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby{gap:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby{gap:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby{gap:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby{gap:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby{gap:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby{height:calc(0.0791666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby{height:calc(0.0791666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby{height:calc(0.0609583333 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby{height:calc(0.0870833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby{height:calc(0.0554166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby{height:calc(0.07125 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby{height:calc(0.0870833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby{padding-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby{padding-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby{padding-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby{padding-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby{padding-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby{padding-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby{padding-bottom:calc(0.0114583333 * 100vw + 0px)}}.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby::-webkit-scrollbar{width:0;height:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby::-webkit-scrollbar{height:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby::-webkit-scrollbar{height:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby::-webkit-scrollbar{height:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby::-webkit-scrollbar{height:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby::-webkit-scrollbar{height:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby::-webkit-scrollbar{height:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby::-webkit-scrollbar{height:calc(0.0022916667 * 100vw + 0px)}}.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby::-webkit-scrollbar-button{display:none}.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.3)}.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby::-webkit-scrollbar-track-piece{background:rgba(255, 255, 255, 0.3);border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby::-webkit-scrollbar-track-piece{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby::-webkit-scrollbar-track-piece{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby::-webkit-scrollbar-track-piece{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby::-webkit-scrollbar-track-piece{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby::-webkit-scrollbar-track-piece{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby::-webkit-scrollbar-track-piece{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby::-webkit-scrollbar-track-piece{border-radius:calc(0.0028645833 * 100vw + 0px)}}.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby::-webkit-scrollbar-thumb{background:#FFFFFF;border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby::-webkit-scrollbar-thumb{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby::-webkit-scrollbar-thumb{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby::-webkit-scrollbar-thumb{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby::-webkit-scrollbar-thumb{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby::-webkit-scrollbar-thumb{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby::-webkit-scrollbar-thumb{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby::-webkit-scrollbar-thumb{border-radius:calc(0.0028645833 * 100vw + 0px)}}.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby::-webkit-scrollbar-corner{background-color:rgba(255, 255, 255, 0.3)}.open-case-main__prizes-list.svelte-1iexhby.svelte-1iexhby::-webkit-resizer{background-color:rgba(255, 255, 255, 0.3)}.open-case-main__prize.svelte-1iexhby.svelte-1iexhby{position:relative;height:100%;min-width:calc(0.0666666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-main__prize.svelte-1iexhby.svelte-1iexhby{min-width:calc(0.0666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-main__prize.svelte-1iexhby.svelte-1iexhby{min-width:calc(0.0666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-main__prize.svelte-1iexhby.svelte-1iexhby{min-width:calc(0.0513333333 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-main__prize.svelte-1iexhby.svelte-1iexhby{min-width:calc(0.0733333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-main__prize.svelte-1iexhby.svelte-1iexhby{min-width:calc(0.0466666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-main__prize.svelte-1iexhby.svelte-1iexhby{min-width:calc(0.06 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-main__prize.svelte-1iexhby.svelte-1iexhby{min-width:calc(0.0733333333 * 100vw + 0px)}}");
}

function open_case_components_main_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[26] = list[i];
	return child_ctx;
}

function open_case_components_main_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[26] = list[i];
	child_ctx[30] = i;
	return child_ctx;
}

function components_main_index_svelte_get_each_context_2(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[31] = list[i];
	child_ctx[30] = i;
	return child_ctx;
}

// (2615:12) {#if !isEmpty($mainCase.similar)}
function components_main_index_svelte_create_if_block_9(ctx) {
	let div;
	let current;
	let each_value_2 = /*$mainCase*/ ctx[1].similar;
	let each_blocks = [];

	for (let i = 0; i < each_value_2.length; i += 1) {
		each_blocks[i] = components_main_index_svelte_create_each_block_2(components_main_index_svelte_get_each_context_2(ctx, each_value_2, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "open-case-main__similar-list svelte-1iexhby");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}

			current = true;
		},
		p(ctx, dirty) {
			if (dirty[0] & /*selectCase, $mainCase*/ 258) {
				each_value_2 = /*$mainCase*/ ctx[1].similar;
				let i;

				for (i = 0; i < each_value_2.length; i += 1) {
					const child_ctx = components_main_index_svelte_get_each_context_2(ctx, each_value_2, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = components_main_index_svelte_create_each_block_2(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div, null);
					}
				}

				group_outros();

				for (i = each_value_2.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value_2.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (2618:24) {#if similarCase.id !== $mainCase.id}
function components_main_index_svelte_create_if_block_10(ctx) {
	let div;
	let similar;
	let t;
	let div_intro;
	let current;
	let mounted;
	let dispose;

	similar = new similar_index_svelte({
			props: { similarCase: /*similarCase*/ ctx[31] }
		});

	function click_handler() {
		return /*click_handler*/ ctx[13](/*similarCase*/ ctx[31]);
	}

	return {
		c() {
			div = internal_element("div");
			create_component(similar.$$.fragment);
			t = space();
			attr(div, "class", "open-case-main__similar-item");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(similar, div, null);
			append(div, t);
			current = true;

			if (!mounted) {
				dispose = listen(div, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			const similar_changes = {};
			if (dirty[0] & /*$mainCase*/ 2) similar_changes.similarCase = /*similarCase*/ ctx[31];
			similar.$set(similar_changes);
		},
		i(local) {
			if (current) return;
			transition_in(similar.$$.fragment, local);

			if (!div_intro) {
				add_render_callback(() => {
					div_intro = create_in_transition(div, fly, {
						duration: 200,
						delay: 130 * (/*index*/ ctx[30] + 2),
						x: -50
					});

					div_intro.start();
				});
			}

			current = true;
		},
		o(local) {
			transition_out(similar.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(similar);
			mounted = false;
			dispose();
		}
	};
}

// (2617:20) {#each $mainCase.similar as similarCase, index}
function components_main_index_svelte_create_each_block_2(ctx) {
	let if_block_anchor;
	let current;
	let if_block = /*similarCase*/ ctx[31].id !== /*$mainCase*/ ctx[1].id && components_main_index_svelte_create_if_block_10(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
			current = true;
		},
		p(ctx, dirty) {
			if (/*similarCase*/ ctx[31].id !== /*$mainCase*/ ctx[1].id) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty[0] & /*$mainCase*/ 2) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = components_main_index_svelte_create_if_block_10(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

// (2684:8) {:else}
function open_case_components_main_index_svelte_create_else_block(ctx) {
	let div;
	let loader;
	let current;
	loader = new loader_index_svelte({});

	return {
		c() {
			div = internal_element("div");
			create_component(loader.$$.fragment);
			attr(div, "class", "open-case-main__loader svelte-1iexhby");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(loader, div, null);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(loader.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(loader.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(loader);
		}
	};
}

// (2632:8) {#if !isEmpty($mainCase)}
function open_case_components_main_index_svelte_create_if_block_4(ctx) {
	let div4;
	let div0;
	let t1;
	let img0;
	let img0_src_value;
	let t2;
	let t3;
	let img1;
	let img1_src_value;
	let t4;
	let div2;
	let t5;
	let div1;
	let button;
	let t6;
	let t7;
	let t8;
	let div3;
	let t9;
	let t10_value = /*$mainInfo*/ ctx[2].count + "";
	let t10;
	let t11;
	let div4_intro;
	let current;
	let if_block0 = /*$mainCase*/ ctx[1].unix > 0 && open_case_components_main_index_svelte_create_if_block_8(ctx);
	let if_block1 = /*$mainInfo*/ ctx[2].count === 0 && /*$mainInfo*/ ctx[2].caseId > 0 && open_case_components_main_index_svelte_create_if_block_7(ctx);

	button = new ui_kit_button_index_svelte({
			props: {
				text: /*getButtonCaption*/ ctx[6](),
				iconRight: /*$mainInfo*/ ctx[2].count === 0 && /*$mainInfo*/ ctx[2].caseId > 0 && /*$mainCase*/ ctx[1].currency === 0
				? 'icon-rub-circle'
				: '',
				iconRightImgSrc: /*$mainInfo*/ ctx[2].count === 0 && /*$mainInfo*/ ctx[2].caseId > 0 && /*$mainCase*/ ctx[1].currency === 1
				? icons_coin_namespaceObject
				: '',
				style: 'gold',
				onClick: /*$mainInfo*/ ctx[2].count === 0
				? /*purchaseCase*/ ctx[9]
				: /*openCase*/ ctx[10],
				disabled: /*$mainInfo*/ ctx[2].caseId === 0 && /*$mainInfo*/ ctx[2].count === 0
			}
		});

	let if_block2 = /*$mainInfo*/ ctx[2].count === 0 && mainCase.discount !== 0 && /*scaler*/ ctx[0] >= /*$mainCase*/ ctx[1].discount_count && open_case_components_main_index_svelte_create_if_block_6(ctx);
	let if_block3 = /*$mainInfo*/ ctx[2].count === 0 && /*$mainInfo*/ ctx[2].caseId > 0 && open_case_components_main_index_svelte_create_if_block_5(ctx);

	return {
		c() {
			div4 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "Вы открываете кейс";
			t1 = space();
			img0 = internal_element("img");
			t2 = space();
			if (if_block0) if_block0.c();
			t3 = space();
			img1 = internal_element("img");
			t4 = space();
			div2 = internal_element("div");
			if (if_block1) if_block1.c();
			t5 = space();
			div1 = internal_element("div");
			create_component(button.$$.fragment);
			t6 = space();
			if (if_block2) if_block2.c();
			t7 = space();
			if (if_block3) if_block3.c();
			t8 = space();
			div3 = internal_element("div");
			t9 = internal_text("Осталось ");
			t10 = internal_text(t10_value);
			t11 = internal_text(" шт.");
			attr(div0, "class", "open-case-main__main-caption svelte-1iexhby");
			if (!src_url_equal(img0.src, img0_src_value = `${CDN_URL}/projects/rodina-rp/systems/cases/logo_${/*$mainCase*/ ctx[1].id}.webp`)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "name");
			attr(img0, "class", "open-case-main__main-name-image svelte-1iexhby");
			if (!src_url_equal(img1.src, img1_src_value = `${CDN_URL}/projects/rodina-rp/systems/cases/${/*$mainCase*/ ctx[1].id}.webp`)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "name");
			attr(img1, "class", "open-case-main__main-image svelte-1iexhby");
			attr(div1, "class", "open-case-main__main-button-purchase svelte-1iexhby");
			attr(div2, "class", "open-case-main__main-buttons svelte-1iexhby");
			attr(div3, "class", "open-case-main__main-count svelte-1iexhby");
			attr(div4, "class", "open-case-main__main svelte-1iexhby");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div0);
			append(div4, t1);
			append(div4, img0);
			append(div4, t2);
			if (if_block0) if_block0.m(div4, null);
			append(div4, t3);
			append(div4, img1);
			append(div4, t4);
			append(div4, div2);
			if (if_block1) if_block1.m(div2, null);
			append(div2, t5);
			append(div2, div1);
			mount_component(button, div1, null);
			append(div1, t6);
			if (if_block2) if_block2.m(div1, null);
			append(div2, t7);
			if (if_block3) if_block3.m(div2, null);
			append(div4, t8);
			append(div4, div3);
			append(div3, t9);
			append(div3, t10);
			append(div3, t11);
			current = true;
		},
		p(ctx, dirty) {
			if (!current || dirty[0] & /*$mainCase*/ 2 && !src_url_equal(img0.src, img0_src_value = `${CDN_URL}/projects/rodina-rp/systems/cases/logo_${/*$mainCase*/ ctx[1].id}.webp`)) {
				attr(img0, "src", img0_src_value);
			}

			if (/*$mainCase*/ ctx[1].unix > 0) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = open_case_components_main_index_svelte_create_if_block_8(ctx);
					if_block0.c();
					if_block0.m(div4, t3);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (!current || dirty[0] & /*$mainCase*/ 2 && !src_url_equal(img1.src, img1_src_value = `${CDN_URL}/projects/rodina-rp/systems/cases/${/*$mainCase*/ ctx[1].id}.webp`)) {
				attr(img1, "src", img1_src_value);
			}

			if (/*$mainInfo*/ ctx[2].count === 0 && /*$mainInfo*/ ctx[2].caseId > 0) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = open_case_components_main_index_svelte_create_if_block_7(ctx);
					if_block1.c();
					if_block1.m(div2, t5);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			const button_changes = {};
			if (dirty[0] & /*getButtonCaption*/ 64) button_changes.text = /*getButtonCaption*/ ctx[6]();

			if (dirty[0] & /*$mainInfo, $mainCase*/ 6) button_changes.iconRight = /*$mainInfo*/ ctx[2].count === 0 && /*$mainInfo*/ ctx[2].caseId > 0 && /*$mainCase*/ ctx[1].currency === 0
			? 'icon-rub-circle'
			: '';

			if (dirty[0] & /*$mainInfo, $mainCase*/ 6) button_changes.iconRightImgSrc = /*$mainInfo*/ ctx[2].count === 0 && /*$mainInfo*/ ctx[2].caseId > 0 && /*$mainCase*/ ctx[1].currency === 1
			? icons_coin_namespaceObject
			: '';

			if (dirty[0] & /*$mainInfo*/ 4) button_changes.onClick = /*$mainInfo*/ ctx[2].count === 0
			? /*purchaseCase*/ ctx[9]
			: /*openCase*/ ctx[10];

			if (dirty[0] & /*$mainInfo*/ 4) button_changes.disabled = /*$mainInfo*/ ctx[2].caseId === 0 && /*$mainInfo*/ ctx[2].count === 0;
			button.$set(button_changes);

			if (/*$mainInfo*/ ctx[2].count === 0 && mainCase.discount !== 0 && /*scaler*/ ctx[0] >= /*$mainCase*/ ctx[1].discount_count) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = open_case_components_main_index_svelte_create_if_block_6(ctx);
					if_block2.c();
					if_block2.m(div1, null);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			if (/*$mainInfo*/ ctx[2].count === 0 && /*$mainInfo*/ ctx[2].caseId > 0) {
				if (if_block3) {
					if_block3.p(ctx, dirty);
				} else {
					if_block3 = open_case_components_main_index_svelte_create_if_block_5(ctx);
					if_block3.c();
					if_block3.m(div2, null);
				}
			} else if (if_block3) {
				if_block3.d(1);
				if_block3 = null;
			}

			if ((!current || dirty[0] & /*$mainInfo*/ 4) && t10_value !== (t10_value = /*$mainInfo*/ ctx[2].count + "")) set_data(t10, t10_value);
		},
		i(local) {
			if (current) return;
			transition_in(button.$$.fragment, local);

			if (!div4_intro) {
				add_render_callback(() => {
					div4_intro = create_in_transition(div4, fly, { y: 50, duration: 500 });
					div4_intro.start();
				});
			}

			current = true;
		},
		o(local) {
			transition_out(button.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div4);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			destroy_component(button);
			if (if_block2) if_block2.d();
			if (if_block3) if_block3.d();
		}
	};
}

// (2636:16) {#if $mainCase.unix > 0}
function open_case_components_main_index_svelte_create_if_block_8(ctx) {
	let div1;
	let i;
	let t0;
	let div0;
	let t1_value = `доступен до ${moment_default().unix(/*$mainCase*/ ctx[1].unix).format(/*formatter*/ ctx[3])}` + "";
	let t1;

	return {
		c() {
			div1 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			attr(i, "class", "open-case-main__main-time-icon icon-clock svelte-1iexhby");
			attr(div0, "class", "open-case-main__main-time-value svelte-1iexhby");
			attr(div1, "class", "open-case-main__main-time svelte-1iexhby");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, i);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$mainCase, formatter*/ 10 && t1_value !== (t1_value = `доступен до ${moment_default().unix(/*$mainCase*/ ctx[1].unix).format(/*formatter*/ ctx[3])}` + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (2646:20) {#if $mainInfo.count === 0 && $mainInfo.caseId > 0}
function open_case_components_main_index_svelte_create_if_block_7(ctx) {
	let div;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "X1";
			attr(div, "class", "open-case-main__main-button-scale svelte-1iexhby");
			toggle_class(div, "open-case-main__main-button-scale--active", /*scaler*/ ctx[0] === 1);
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = listen(div, "click", /*click_handler_1*/ ctx[14]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty[0] & /*scaler*/ 1) {
				toggle_class(div, "open-case-main__main-button-scale--active", /*scaler*/ ctx[0] === 1);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (2664:24) {#if $mainInfo.count === 0 && mainCase.discount !== 0 && scaler >= $mainCase.discount_count}
function open_case_components_main_index_svelte_create_if_block_6(ctx) {
	let div;
	let t0;
	let t1_value = /*$mainCase*/ ctx[1].discount + "";
	let t1;
	let t2;

	return {
		c() {
			div = internal_element("div");
			t0 = internal_text("-");
			t1 = internal_text(t1_value);
			t2 = internal_text("%");
			attr(div, "class", "open-case-main__main-button-discount svelte-1iexhby");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t0);
			append(div, t1);
			append(div, t2);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$mainCase*/ 2 && t1_value !== (t1_value = /*$mainCase*/ ctx[1].discount + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (2670:20) {#if $mainInfo.count === 0 && $mainInfo.caseId > 0}
function open_case_components_main_index_svelte_create_if_block_5(ctx) {
	let div;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "X10";
			attr(div, "class", "open-case-main__main-button-scale svelte-1iexhby");
			toggle_class(div, "open-case-main__main-button-scale--active", /*scaler*/ ctx[0] === 10);
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = listen(div, "click", /*click_handler_2*/ ctx[15]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty[0] & /*scaler*/ 1) {
				toggle_class(div, "open-case-main__main-button-scale--active", /*scaler*/ ctx[0] === 10);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (2696:16) {#if !isEmpty($mainCase.guaranteed)}
function open_case_components_main_index_svelte_create_if_block_3(ctx) {
	let each_1_anchor;
	let current;
	let each_value_1 = /*$mainCase*/ ctx[1].guaranteed;
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = open_case_components_main_index_svelte_create_each_block_1(open_case_components_main_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$mainCase*/ 2) {
				each_value_1 = /*$mainCase*/ ctx[1].guaranteed;
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = open_case_components_main_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = open_case_components_main_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
					}
				}

				group_outros();

				for (i = each_value_1.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value_1.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			destroy_each(each_blocks, detaching);
			if (detaching) detach(each_1_anchor);
		}
	};
}

// (2697:20) {#each $mainCase.guaranteed as prize, index}
function open_case_components_main_index_svelte_create_each_block_1(ctx) {
	let div;
	let guaranteed;
	let t;
	let div_intro;
	let current;

	guaranteed = new guaranteed_index_svelte({
			props: {
				prize: /*prize*/ ctx[26],
				isFirst: /*index*/ ctx[30] === 0
			}
		});

	return {
		c() {
			div = internal_element("div");
			create_component(guaranteed.$$.fragment);
			t = space();
			attr(div, "class", "open-case-main__guaranteed-item");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(guaranteed, div, null);
			append(div, t);
			current = true;
		},
		p(ctx, dirty) {
			const guaranteed_changes = {};
			if (dirty[0] & /*$mainCase*/ 2) guaranteed_changes.prize = /*prize*/ ctx[26];
			guaranteed.$set(guaranteed_changes);
		},
		i(local) {
			if (current) return;
			transition_in(guaranteed.$$.fragment, local);

			if (!div_intro) {
				add_render_callback(() => {
					div_intro = create_in_transition(div, fly, {
						duration: 200,
						delay: 130 * (/*index*/ ctx[30] + 2),
						x: 50
					});

					div_intro.start();
				});
			}

			current = true;
		},
		o(local) {
			transition_out(guaranteed.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(guaranteed);
		}
	};
}

// (2707:4) {#if prizesInitialized}
function open_case_components_main_index_svelte_create_if_block(ctx) {
	let div2;
	let div0;
	let t1;
	let div1;
	let div2_intro;
	let current;
	let mounted;
	let dispose;
	let each_value = /*$mainCase*/ ctx[1].prizes;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = open_case_components_main_index_svelte_create_each_block(open_case_components_main_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "Что можно выиграть?";
			t1 = space();
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div0, "class", "open-case-main__prizes-title svelte-1iexhby");
			attr(div1, "class", "open-case-main__prizes-list svelte-1iexhby");
			attr(div2, "class", "open-case-main__prizes svelte-1iexhby");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div2, t1);
			append(div2, div1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}

			/*div1_binding*/ ctx[16](div1);
			current = true;

			if (!mounted) {
				dispose = listen(div1, "wheel", /*scrollHandler*/ ctx[12]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$mainCase*/ 2) {
				each_value = /*$mainCase*/ ctx[1].prizes;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = open_case_components_main_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = open_case_components_main_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div1, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			if (!div2_intro) {
				add_render_callback(() => {
					div2_intro = create_in_transition(div2, fade, { duration: 500 });
					div2_intro.start();
				});
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div2);
			destroy_each(each_blocks, detaching);
			/*div1_binding*/ ctx[16](null);
			mounted = false;
			dispose();
		}
	};
}

// (2712:20) {#if prize.garante === 0}
function open_case_components_main_index_svelte_create_if_block_1(ctx) {
	let div;
	let prize;
	let t0;
	let t1;
	let current;

	prize = new prize_index_svelte({
			props: {
				style: /*prize*/ ctx[26].rarity,
				count: /*prize*/ ctx[26].countText,
				imageSrc: /*prize*/ ctx[26].item,
				text: /*prize*/ ctx[26].name
			}
		});

	let if_block = /*prize*/ ctx[26].isVehicle && open_case_components_main_index_svelte_create_if_block_2(ctx);

	return {
		c() {
			div = internal_element("div");
			create_component(prize.$$.fragment);
			t0 = space();
			if (if_block) if_block.c();
			t1 = space();
			attr(div, "class", "open-case-main__prize svelte-1iexhby");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(prize, div, null);
			append(div, t0);
			if (if_block) if_block.m(div, null);
			append(div, t1);
			current = true;
		},
		p(ctx, dirty) {
			const prize_changes = {};
			if (dirty[0] & /*$mainCase*/ 2) prize_changes.style = /*prize*/ ctx[26].rarity;
			if (dirty[0] & /*$mainCase*/ 2) prize_changes.count = /*prize*/ ctx[26].countText;
			if (dirty[0] & /*$mainCase*/ 2) prize_changes.imageSrc = /*prize*/ ctx[26].item;
			if (dirty[0] & /*$mainCase*/ 2) prize_changes.text = /*prize*/ ctx[26].name;
			prize.$set(prize_changes);

			if (/*prize*/ ctx[26].isVehicle) {
				if (if_block) {
					
				} else {
					if_block = open_case_components_main_index_svelte_create_if_block_2(ctx);
					if_block.c();
					if_block.m(div, t1);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		i(local) {
			if (current) return;
			transition_in(prize.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(prize.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(prize);
			if (if_block) if_block.d();
		}
	};
}

// (2720:28) {#if prize.isVehicle}
function open_case_components_main_index_svelte_create_if_block_2(ctx) {
	let div;
	let tooltip_action;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<i class="open-case-main__prize-rarity-button-title svelte-1iexhby">i</i>`;
			attr(div, "class", "open-case-main__prize-rarity-button svelte-1iexhby");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = action_destroyer(tooltip_action = tooltip.call(null, div, {
					bonuses: [
						'Качество будет определено при открытии сертификата.',
						'Вы можете получить:',
						'- Хлам',
						'- Обычное',
						'- Идеальное'
					],
					isShowRarityPlate: false,
					isDottedList: false,
					isShowBonusesHeader: false,
					offsetX: 90,
					offsetY: -200
				}));

				mounted = true;
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (2711:16) {#each $mainCase.prizes as prize}
function open_case_components_main_index_svelte_create_each_block(ctx) {
	let if_block_anchor;
	let current;
	let if_block = /*prize*/ ctx[26].garante === 0 && open_case_components_main_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
			current = true;
		},
		p(ctx, dirty) {
			if (/*prize*/ ctx[26].garante === 0) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty[0] & /*$mainCase*/ 2) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = open_case_components_main_index_svelte_create_if_block_1(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

function open_case_components_main_index_svelte_create_fragment(ctx) {
	let div7;
	let div6;
	let div1;
	let div0;
	let t1;
	let show_if_2 = !(0,lodash.isEmpty)(/*$mainCase*/ ctx[1].similar);
	let t2;
	let show_if_1;
	let current_block_type_index;
	let if_block1;
	let t3;
	let div5;
	let div3;
	let t6;
	let div4;
	let show_if = !(0,lodash.isEmpty)(/*$mainCase*/ ctx[1].guaranteed);
	let t7;
	let current;
	let mounted;
	let dispose;
	let if_block0 = show_if_2 && components_main_index_svelte_create_if_block_9(ctx);
	const if_block_creators = [open_case_components_main_index_svelte_create_if_block_4, open_case_components_main_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (dirty[0] & /*$mainCase*/ 2) show_if_1 = null;
		if (show_if_1 == null) show_if_1 = !!!(0,lodash.isEmpty)(/*$mainCase*/ ctx[1]);
		if (show_if_1) return 0;
		return 1;
	}

	current_block_type_index = select_block_type(ctx, [-1, -1]);
	if_block1 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
	let if_block2 = show_if && open_case_components_main_index_svelte_create_if_block_3(ctx);
	let if_block3 = /*prizesInitialized*/ ctx[4] && open_case_components_main_index_svelte_create_if_block(ctx);

	return {
		c() {
			div7 = internal_element("div");
			div6 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "Похожие кейсы";
			t1 = space();
			if (if_block0) if_block0.c();
			t2 = space();
			if_block1.c();
			t3 = space();
			div5 = internal_element("div");
			div3 = internal_element("div");

			div3.innerHTML = `<i class="open-case-main__guaranteed-title-icon icon-chat-info svelte-1iexhby"></i> 
                <div class="open-case-main__guaranteed-title svelte-1iexhby">Гарантированные призы</div>`;

			t6 = space();
			div4 = internal_element("div");
			if (if_block2) if_block2.c();
			t7 = space();
			if (if_block3) if_block3.c();
			attr(div0, "class", "open-case-main__similar-title svelte-1iexhby");
			attr(div1, "class", "open-case-main__similar");
			attr(div3, "class", "open-case-main__guaranteed-title-wrapper svelte-1iexhby");
			attr(div4, "class", "open-case-main__guaranteed-list svelte-1iexhby");
			attr(div5, "class", "open-case-main__guaranteed");
			attr(div6, "class", "open-case-main__row svelte-1iexhby");
			attr(div7, "class", "open-case-main svelte-1iexhby");
		},
		m(target, anchor) {
			insert(target, div7, anchor);
			append(div7, div6);
			append(div6, div1);
			append(div1, div0);
			append(div1, t1);
			if (if_block0) if_block0.m(div1, null);
			append(div6, t2);
			if_blocks[current_block_type_index].m(div6, null);
			append(div6, t3);
			append(div6, div5);
			append(div5, div3);
			append(div5, t6);
			append(div5, div4);
			if (if_block2) if_block2.m(div4, null);
			append(div7, t7);
			if (if_block3) if_block3.m(div7, null);
			current = true;

			if (!mounted) {
				dispose = listen(div3, "click", /*openGuaranteedInfo*/ ctx[11]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$mainCase*/ 2) show_if_2 = !(0,lodash.isEmpty)(/*$mainCase*/ ctx[1].similar);

			if (show_if_2) {
				if (if_block0) {
					if_block0.p(ctx, dirty);

					if (dirty[0] & /*$mainCase*/ 2) {
						transition_in(if_block0, 1);
					}
				} else {
					if_block0 = components_main_index_svelte_create_if_block_9(ctx);
					if_block0.c();
					transition_in(if_block0, 1);
					if_block0.m(div1, null);
				}
			} else if (if_block0) {
				group_outros();

				transition_out(if_block0, 1, 1, () => {
					if_block0 = null;
				});

				check_outros();
			}

			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block1 = if_blocks[current_block_type_index];

				if (!if_block1) {
					if_block1 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block1.c();
				} else {
					if_block1.p(ctx, dirty);
				}

				transition_in(if_block1, 1);
				if_block1.m(div6, t3);
			}

			if (dirty[0] & /*$mainCase*/ 2) show_if = !(0,lodash.isEmpty)(/*$mainCase*/ ctx[1].guaranteed);

			if (show_if) {
				if (if_block2) {
					if_block2.p(ctx, dirty);

					if (dirty[0] & /*$mainCase*/ 2) {
						transition_in(if_block2, 1);
					}
				} else {
					if_block2 = open_case_components_main_index_svelte_create_if_block_3(ctx);
					if_block2.c();
					transition_in(if_block2, 1);
					if_block2.m(div4, null);
				}
			} else if (if_block2) {
				group_outros();

				transition_out(if_block2, 1, 1, () => {
					if_block2 = null;
				});

				check_outros();
			}

			if (/*prizesInitialized*/ ctx[4]) {
				if (if_block3) {
					if_block3.p(ctx, dirty);

					if (dirty[0] & /*prizesInitialized*/ 16) {
						transition_in(if_block3, 1);
					}
				} else {
					if_block3 = open_case_components_main_index_svelte_create_if_block(ctx);
					if_block3.c();
					transition_in(if_block3, 1);
					if_block3.m(div7, null);
				}
			} else if (if_block3) {
				group_outros();

				transition_out(if_block3, 1, 1, () => {
					if_block3 = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block0);
			transition_in(if_block1);
			transition_in(if_block2);
			transition_in(if_block3);
			current = true;
		},
		o(local) {
			transition_out(if_block0);
			transition_out(if_block1);
			transition_out(if_block2);
			transition_out(if_block3);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div7);
			if (if_block0) if_block0.d();
			if_blocks[current_block_type_index].d();
			if (if_block2) if_block2.d();
			if (if_block3) if_block3.d();
			mounted = false;
			dispose();
		}
	};
}

const index_svelte_daySeconds = 86400;

function open_case_components_main_index_svelte_instance($$self, $$props, $$invalidate) {
	let getButtonCaption;
	let $mainCase;
	let $mainInfo;
	let $cases;
	let $serverApiToken;
	let $serverApiServerId;
	let $similarIds;
	component_subscribe($$self, mainCase, $$value => $$invalidate(1, $mainCase = $$value));
	component_subscribe($$self, mainInfo, $$value => $$invalidate(2, $mainInfo = $$value));
	component_subscribe($$self, cases, $$value => $$invalidate(19, $cases = $$value));
	component_subscribe($$self, serverApiToken, $$value => $$invalidate(20, $serverApiToken = $$value));
	component_subscribe($$self, serverApiServerId, $$value => $$invalidate(21, $serverApiServerId = $$value));
	component_subscribe($$self, similarIds, $$value => $$invalidate(22, $similarIds = $$value));
	let formatter = '';
	let caseResponseData = {};
	let similarResponseData = [];
	let prizesInitialized = false;
	let scaler = 1;
	let scrollNode;

	const selectScaler = value => {
		$$invalidate(0, scaler = value);
	};

	const selectCase = id => {
		$$invalidate(0, scaler = 1);
		sendClientMessage('openCase.selectCase', id);
	};

	const purchaseCase = () => {
		if ($mainInfo.caseId === 0 && $mainInfo.count === 0) {
			return;
		}

		sendClientMessage('openCase.purchaseCase', scaler);
	};

	const openCase = () => {
		sendClientMessage('openCase.open');
	};

	const createCase = () => {
		set_store_value(
			mainCase,
			$mainCase = {
				...caseResponseData,
				count: $mainInfo.count,
				similar: similarResponseData
			},
			$mainCase
		);

		set_store_value(
			mainCase,
			$mainCase.prizes = $mainCase.prizes.map(prize => {
				const globalItem = ITEMS.find(item => item.id === prize.item);

				if ((0,lodash.isNil)(globalItem)) {
					return prize;
				}

				return {
					...prize,
					id: prize.item,
					name: globalItem.name || '',
					icon: globalItem.icon || '',
					revealed: false,
					sold: false,
					saved: false,
					order: RarityWeight[prize.rarity],
					count: prize.count,
					countText: prize.count > 1
					? `${prize.count.toLocaleString('ru-RU')}\u00A0шт.`
					: ''
				};
			}),
			$mainCase
		);

		set_store_value(mainCase, $mainCase.prizes = $mainCase.prizes.sort((a, b) => b.order - a.order), $mainCase);
		set_store_value(mainCase, $mainCase.guaranteed = $mainCase.prizes.filter(prize => prize.garante > 0), $mainCase);
		$$invalidate(4, prizesInitialized = true);

		$$invalidate(3, formatter = $mainCase.unix - moment_default()().unix() < index_svelte_daySeconds
		? 'HH:mm'
		: 'DD.MM.YYYY');
	};

	const getSimilar = () => {
		lib_axios.get(`${SERVER_API_URL}/client/json/table/get?project=${SERVER_API_PROJECT}&server=${$serverApiServerId}&key=cases_similar`, {
			headers: {
				Authorization: `Bearer ${$serverApiToken}`
			}
		}).then(response => {
			set_store_value(similarIds, $similarIds = response.data, $similarIds);
			similarResponseData = $cases.filter(item => $similarIds.includes(item.id));

			if ($mainInfo.legendary > 0) {
				similarResponseData = [$cases.find(item => item.id === 0), ...similarResponseData];
			}

			createCase();
		}).catch(() => {
			
		});
	};

	const getCases = () => {
		lib_axios.get(`${SERVER_API_URL}/client/json/table/get?project=${SERVER_API_PROJECT}&server=${$serverApiServerId}&key=cases`, {
			headers: {
				Authorization: `Bearer ${$serverApiToken}`
			}
		}).then(response => {
			set_store_value(cases, $cases = response.data, $cases);
			caseResponseData = $cases.find(item => item.id === $mainInfo.caseId);
			getSimilar();
		}).catch(() => {
			
		});
	};

	const openGuaranteedInfo = () => {
		sendClientMessage('openCase.openGuaranteedInfo');
	};

	const scrollHandler = event => {
		$$invalidate(5, scrollNode.scrollLeft += event.deltaY, scrollNode);
	};

	const click_handler = similarCase => selectCase(similarCase.id);
	const click_handler_1 = () => selectScaler(1);
	const click_handler_2 = () => selectScaler(10);

	function div1_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			scrollNode = $$value;
			$$invalidate(5, scrollNode);
		});
	}

	$$self.$$.update = () => {
		if ($$self.$$.dirty[0] & /*$mainInfo, $mainCase, scaler*/ 7) {
			$: $$invalidate(6, getButtonCaption = () => {
				let caption = '';

				if ($mainInfo.caseId === 0 && $mainInfo.count === 0) {
					caption = 'НЕДОСТУПНО';
				} else if ($mainInfo.caseId > 0 && $mainInfo.count === 0) {
					if ($mainCase.discount !== 0 && scaler >= $mainCase.discount_count) {
						caption = `ОТКРЫТЬ ЗА ${formatMoney($mainCase.price * scaler * (1 - $mainCase.discount / 100))}`;
					} else {
						caption = `ОТКРЫТЬ ЗА ${formatMoney($mainCase.price * scaler)}`;
					}
				} else {
					caption = 'ОТКРЫТЬ';
				}

				return caption;
			});
		}

		if ($$self.$$.dirty[0] & /*$mainCase*/ 2) {
			$: {
				if ((0,lodash.isEmpty)($mainCase)) {
					$$invalidate(4, prizesInitialized = false);
					getCases();
				}
			}
		}
	};

	return [
		scaler,
		$mainCase,
		$mainInfo,
		formatter,
		prizesInitialized,
		scrollNode,
		getButtonCaption,
		selectScaler,
		selectCase,
		purchaseCase,
		openCase,
		openGuaranteedInfo,
		scrollHandler,
		click_handler,
		click_handler_1,
		click_handler_2,
		div1_binding
	];
}

class open_case_components_main_index_svelte_Main extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, open_case_components_main_index_svelte_instance, open_case_components_main_index_svelte_create_fragment, safe_not_equal, {}, components_main_index_svelte_add_css, [-1, -1]);
	}
}

/* harmony default export */ const open_case_components_main_index_svelte = (open_case_components_main_index_svelte_Main);
;// CONCATENATED MODULE: ./src/views/open-case/components/inside/index.svelte
/* src\views\open-case\components\inside\index.svelte generated by Svelte v3.49.0 */












function inside_index_svelte_add_css(target) {
	append_styles(target, "svelte-s8lcnu", "@keyframes svelte-s8lcnu-blinking{50%{opacity:0}}@keyframes svelte-s8lcnu-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-s8lcnu-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-s8lcnu-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-s8lcnu-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-s8lcnu-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-s8lcnu-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-s8lcnu-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-s8lcnu-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-s8lcnu-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-s8lcnu-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-s8lcnu-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-s8lcnu-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-s8lcnu-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-s8lcnu-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.open-case-inside.svelte-s8lcnu.svelte-s8lcnu{display:inline-flex;flex-direction:column;align-items:center}.open-case-inside__case-image-wrapper.svelte-s8lcnu.svelte-s8lcnu{width:calc(0.1333333333 * 100vw + 0px);height:calc(0.1333333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-inside__case-image-wrapper.svelte-s8lcnu.svelte-s8lcnu{width:calc(0.1333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-inside__case-image-wrapper.svelte-s8lcnu.svelte-s8lcnu{width:calc(0.1333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-inside__case-image-wrapper.svelte-s8lcnu.svelte-s8lcnu{width:calc(0.1026666667 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-inside__case-image-wrapper.svelte-s8lcnu.svelte-s8lcnu{width:calc(0.1466666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-inside__case-image-wrapper.svelte-s8lcnu.svelte-s8lcnu{width:calc(0.0933333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-inside__case-image-wrapper.svelte-s8lcnu.svelte-s8lcnu{width:calc(0.12 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-inside__case-image-wrapper.svelte-s8lcnu.svelte-s8lcnu{width:calc(0.1466666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-inside__case-image-wrapper.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.1333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-inside__case-image-wrapper.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.1333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-inside__case-image-wrapper.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.1026666667 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-inside__case-image-wrapper.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.1466666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-inside__case-image-wrapper.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.0933333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-inside__case-image-wrapper.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.12 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-inside__case-image-wrapper.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.1466666667 * 100vw + 0px)}}.open-case-inside__case-image.svelte-s8lcnu.svelte-s8lcnu{width:100%}.open-case-inside__case-caption.svelte-s8lcnu.svelte-s8lcnu{font-family:\"HeadingNowBold\";color:#FFFFFF;text-transform:uppercase;font-size:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-inside__case-caption.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-inside__case-caption.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-inside__case-caption.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-inside__case-caption.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-inside__case-caption.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-inside__case-caption.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-inside__case-caption.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.0171875 * 100vw + 0px)}}.open-case-inside__prizes.svelte-s8lcnu.svelte-s8lcnu{display:flex;gap:calc(0.0078125 * 100vw + 0px);margin-bottom:calc(0.0520833333 * 100vw + 0px);margin-top:calc(0.0364583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-inside__prizes.svelte-s8lcnu.svelte-s8lcnu{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-inside__prizes.svelte-s8lcnu.svelte-s8lcnu{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-inside__prizes.svelte-s8lcnu.svelte-s8lcnu{gap:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-inside__prizes.svelte-s8lcnu.svelte-s8lcnu{gap:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-inside__prizes.svelte-s8lcnu.svelte-s8lcnu{gap:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-inside__prizes.svelte-s8lcnu.svelte-s8lcnu{gap:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-inside__prizes.svelte-s8lcnu.svelte-s8lcnu{gap:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-inside__prizes.svelte-s8lcnu.svelte-s8lcnu{margin-bottom:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-inside__prizes.svelte-s8lcnu.svelte-s8lcnu{margin-bottom:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-inside__prizes.svelte-s8lcnu.svelte-s8lcnu{margin-bottom:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-inside__prizes.svelte-s8lcnu.svelte-s8lcnu{margin-bottom:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-inside__prizes.svelte-s8lcnu.svelte-s8lcnu{margin-bottom:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-inside__prizes.svelte-s8lcnu.svelte-s8lcnu{margin-bottom:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-inside__prizes.svelte-s8lcnu.svelte-s8lcnu{margin-bottom:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-inside__prizes.svelte-s8lcnu.svelte-s8lcnu{margin-top:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-inside__prizes.svelte-s8lcnu.svelte-s8lcnu{margin-top:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-inside__prizes.svelte-s8lcnu.svelte-s8lcnu{margin-top:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-inside__prizes.svelte-s8lcnu.svelte-s8lcnu{margin-top:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-inside__prizes.svelte-s8lcnu.svelte-s8lcnu{margin-top:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-inside__prizes.svelte-s8lcnu.svelte-s8lcnu{margin-top:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-inside__prizes.svelte-s8lcnu.svelte-s8lcnu{margin-top:calc(0.0401041667 * 100vw + 0px)}}.open-case-inside__prize.svelte-s8lcnu.svelte-s8lcnu{position:relative;width:calc(0.1041666667 * 100vw + 0px);height:calc(0.1041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-inside__prize.svelte-s8lcnu.svelte-s8lcnu{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-inside__prize.svelte-s8lcnu.svelte-s8lcnu{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-inside__prize.svelte-s8lcnu.svelte-s8lcnu{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-inside__prize.svelte-s8lcnu.svelte-s8lcnu{width:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-inside__prize.svelte-s8lcnu.svelte-s8lcnu{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-inside__prize.svelte-s8lcnu.svelte-s8lcnu{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-inside__prize.svelte-s8lcnu.svelte-s8lcnu{width:calc(0.1145833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-inside__prize.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-inside__prize.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-inside__prize.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-inside__prize.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-inside__prize.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-inside__prize.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-inside__prize.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.1145833333 * 100vw + 0px)}}.open-case-inside__prize.svelte-s8lcnu:hover .open-case-inside__prize-check.svelte-s8lcnu{color:#FFFFFF}.open-case-inside__prize.svelte-s8lcnu:hover .open-case-inside__prize-check--complete.svelte-s8lcnu{color:#95FF00}.open-case-inside__prize--checked.svelte-s8lcnu:hover .open-case-inside__prize-check.svelte-s8lcnu{color:#95FF00}.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{position:absolute;display:flex;align-items:center;justify-content:center;background-color:rgba(255, 255, 255, 0.3);border:1px solid 1px solid rgba(255, 255, 255, 0.1);transition:background-color 0.2s linear;cursor:pointer;top:calc(0.0088541667 * 100vw + 0px);left:calc(0.0088541667 * 100vw + 0px);border-radius:calc(0.003125 * 100vw + 0px);width:calc(0.009375 * 100vw + 0px);height:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{top:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{top:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{top:calc(0.0068177083 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{top:calc(0.0097395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{top:calc(0.0061979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{top:calc(0.00796875 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{top:calc(0.0097395833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{left:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{left:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{left:calc(0.0068177083 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{left:calc(0.0097395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{left:calc(0.0061979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{left:calc(0.00796875 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{left:calc(0.0097395833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{border-radius:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{border-radius:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{border-radius:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{border-radius:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{border-radius:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{border-radius:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{border-radius:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{width:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{width:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{width:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{width:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{width:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{width:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{width:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.0103125 * 100vw + 0px)}}.open-case-inside__prize-rarity-button.svelte-s8lcnu.svelte-s8lcnu:hover{background-color:rgba(255, 255, 255, 0.5);border:1xp solid rgba(255, 255, 255, 0.4)}.open-case-inside__prize-rarity-button-title.svelte-s8lcnu.svelte-s8lcnu{font-family:\"HeadingNowRegular\";font-style:normal;color:#FFFFFF;pointer-events:none;font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-inside__prize-rarity-button-title.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-inside__prize-rarity-button-title.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-inside__prize-rarity-button-title.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-inside__prize-rarity-button-title.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-inside__prize-rarity-button-title.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-inside__prize-rarity-button-title.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-inside__prize-rarity-button-title.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.006875 * 100vw + 0px)}}.open-case-inside__prize-caption.svelte-s8lcnu.svelte-s8lcnu{position:absolute;display:flex;align-items:center;justify-content:center;font-family:\"HeadingNowBold\";color:#FFFFFF;text-transform:uppercase;top:50%;left:50%;transform:translateX(-50%) translateY(-50%);font-size:calc(0.0072916667 * 100vw + 0px);width:calc(0.0572916667 * 100vw + 0px);height:calc(0.0182291667 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-inside__prize-caption.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-inside__prize-caption.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-inside__prize-caption.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-inside__prize-caption.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-inside__prize-caption.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-inside__prize-caption.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-inside__prize-caption.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-inside__prize-caption.svelte-s8lcnu.svelte-s8lcnu{width:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-inside__prize-caption.svelte-s8lcnu.svelte-s8lcnu{width:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-inside__prize-caption.svelte-s8lcnu.svelte-s8lcnu{width:calc(0.0441145833 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-inside__prize-caption.svelte-s8lcnu.svelte-s8lcnu{width:calc(0.0630208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-inside__prize-caption.svelte-s8lcnu.svelte-s8lcnu{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-inside__prize-caption.svelte-s8lcnu.svelte-s8lcnu{width:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-inside__prize-caption.svelte-s8lcnu.svelte-s8lcnu{width:calc(0.0630208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-inside__prize-caption.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-inside__prize-caption.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-inside__prize-caption.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-inside__prize-caption.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-inside__prize-caption.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-inside__prize-caption.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-inside__prize-caption.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.0200520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-inside__prize-caption.svelte-s8lcnu.svelte-s8lcnu{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-inside__prize-caption.svelte-s8lcnu.svelte-s8lcnu{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-inside__prize-caption.svelte-s8lcnu.svelte-s8lcnu{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-inside__prize-caption.svelte-s8lcnu.svelte-s8lcnu{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-inside__prize-caption.svelte-s8lcnu.svelte-s8lcnu{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-inside__prize-caption.svelte-s8lcnu.svelte-s8lcnu{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-inside__prize-caption.svelte-s8lcnu.svelte-s8lcnu{border-radius:calc(0.0057291667 * 100vw + 0px)}}.open-case-inside__prize-caption--sold.svelte-s8lcnu.svelte-s8lcnu{background:linear-gradient(90deg, #8A00E2 0%, #BC52FF 100%)}.open-case-inside__prize-caption--saved.svelte-s8lcnu.svelte-s8lcnu{color:#111111;background:linear-gradient(263.52deg, #FFB522 0%, #FF8000 99.98%)}.open-case-inside__buttons.svelte-s8lcnu.svelte-s8lcnu{width:100%;display:flex;gap:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-inside__buttons.svelte-s8lcnu.svelte-s8lcnu{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-inside__buttons.svelte-s8lcnu.svelte-s8lcnu{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-inside__buttons.svelte-s8lcnu.svelte-s8lcnu{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-inside__buttons.svelte-s8lcnu.svelte-s8lcnu{gap:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-inside__buttons.svelte-s8lcnu.svelte-s8lcnu{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-inside__buttons.svelte-s8lcnu.svelte-s8lcnu{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-inside__buttons.svelte-s8lcnu.svelte-s8lcnu{gap:calc(0.0114583333 * 100vw + 0px)}}.open-case-inside__button.svelte-s8lcnu.svelte-s8lcnu{width:100%;display:flex;flex-direction:column;align-items:center}.open-case-inside__button-wrapper.svelte-s8lcnu.svelte-s8lcnu{width:100%;height:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-inside__button-wrapper.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-inside__button-wrapper.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-inside__button-wrapper.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-inside__button-wrapper.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-inside__button-wrapper.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-inside__button-wrapper.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-inside__button-wrapper.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.0275 * 100vw + 0px)}}.open-case-inside__prize-check.svelte-s8lcnu.svelte-s8lcnu{position:absolute;display:flex;color:rgba(255, 255, 255, 0.5);top:calc(0.0052083333 * 100vw + 0px);right:calc(0.0052083333 * 100vw + 0px);font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-inside__prize-check.svelte-s8lcnu.svelte-s8lcnu{top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-inside__prize-check.svelte-s8lcnu.svelte-s8lcnu{top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-inside__prize-check.svelte-s8lcnu.svelte-s8lcnu{top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-inside__prize-check.svelte-s8lcnu.svelte-s8lcnu{top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-inside__prize-check.svelte-s8lcnu.svelte-s8lcnu{top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-inside__prize-check.svelte-s8lcnu.svelte-s8lcnu{top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-inside__prize-check.svelte-s8lcnu.svelte-s8lcnu{top:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-inside__prize-check.svelte-s8lcnu.svelte-s8lcnu{right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-inside__prize-check.svelte-s8lcnu.svelte-s8lcnu{right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-inside__prize-check.svelte-s8lcnu.svelte-s8lcnu{right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-inside__prize-check.svelte-s8lcnu.svelte-s8lcnu{right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-inside__prize-check.svelte-s8lcnu.svelte-s8lcnu{right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-inside__prize-check.svelte-s8lcnu.svelte-s8lcnu{right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-inside__prize-check.svelte-s8lcnu.svelte-s8lcnu{right:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-inside__prize-check.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-inside__prize-check.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-inside__prize-check.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-inside__prize-check.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-inside__prize-check.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-inside__prize-check.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-inside__prize-check.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.0114583333 * 100vw + 0px)}}.open-case-inside__prize-check--checked.svelte-s8lcnu.svelte-s8lcnu,.open-case-inside__prize-check--complete.svelte-s8lcnu.svelte-s8lcnu{color:#95FF00}.open-case-inside__prize-shards.svelte-s8lcnu.svelte-s8lcnu{display:flex;align-items:center;justify-content:center;gap:calc(0.0026041667 * 100vw + 0px);margin-top:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-inside__prize-shards.svelte-s8lcnu.svelte-s8lcnu{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-inside__prize-shards.svelte-s8lcnu.svelte-s8lcnu{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-inside__prize-shards.svelte-s8lcnu.svelte-s8lcnu{gap:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-inside__prize-shards.svelte-s8lcnu.svelte-s8lcnu{gap:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-inside__prize-shards.svelte-s8lcnu.svelte-s8lcnu{gap:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-inside__prize-shards.svelte-s8lcnu.svelte-s8lcnu{gap:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-inside__prize-shards.svelte-s8lcnu.svelte-s8lcnu{gap:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-inside__prize-shards.svelte-s8lcnu.svelte-s8lcnu{margin-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-inside__prize-shards.svelte-s8lcnu.svelte-s8lcnu{margin-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-inside__prize-shards.svelte-s8lcnu.svelte-s8lcnu{margin-top:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-inside__prize-shards.svelte-s8lcnu.svelte-s8lcnu{margin-top:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-inside__prize-shards.svelte-s8lcnu.svelte-s8lcnu{margin-top:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-inside__prize-shards.svelte-s8lcnu.svelte-s8lcnu{margin-top:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-inside__prize-shards.svelte-s8lcnu.svelte-s8lcnu{margin-top:calc(0.00859375 * 100vw + 0px)}}.open-case-inside__prize-shards-value.svelte-s8lcnu.svelte-s8lcnu{color:#FFFFFF;font-family:\"HeadingNowBold\";font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-inside__prize-shards-value.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-inside__prize-shards-value.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-inside__prize-shards-value.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-inside__prize-shards-value.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-inside__prize-shards-value.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-inside__prize-shards-value.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-inside__prize-shards-value.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.0080208333 * 100vw + 0px)}}.open-case-inside__total-shards-icon.svelte-s8lcnu.svelte-s8lcnu,.open-case-inside__prize-shards-icon.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-inside__total-shards-icon.svelte-s8lcnu.svelte-s8lcnu,.open-case-inside__prize-shards-icon.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-inside__total-shards-icon.svelte-s8lcnu.svelte-s8lcnu,.open-case-inside__prize-shards-icon.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-inside__total-shards-icon.svelte-s8lcnu.svelte-s8lcnu,.open-case-inside__prize-shards-icon.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-inside__total-shards-icon.svelte-s8lcnu.svelte-s8lcnu,.open-case-inside__prize-shards-icon.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-inside__total-shards-icon.svelte-s8lcnu.svelte-s8lcnu,.open-case-inside__prize-shards-icon.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-inside__total-shards-icon.svelte-s8lcnu.svelte-s8lcnu,.open-case-inside__prize-shards-icon.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-inside__total-shards-icon.svelte-s8lcnu.svelte-s8lcnu,.open-case-inside__prize-shards-icon.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.0114583333 * 100vw + 0px)}}.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{display:inline-flex;align-items:center;justify-content:center;background-color:#FFFFFF;gap:calc(0.0026041667 * 100vw + 0px);margin-top:calc(0.0078125 * 100vw + 0px);padding-left:calc(0.0078125 * 100vw + 0px);padding-right:calc(0.0078125 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);height:calc(0.021875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{gap:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{gap:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{gap:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{gap:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{gap:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{margin-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{margin-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{margin-top:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{margin-top:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{margin-top:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{margin-top:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{margin-top:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{padding-left:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{padding-left:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{padding-left:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{padding-left:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{padding-left:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{padding-left:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{padding-left:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{padding-right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{padding-right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{padding-right:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{padding-right:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{padding-right:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{padding-right:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{padding-right:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.01684375 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.0153125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-inside__total-shards.svelte-s8lcnu.svelte-s8lcnu{height:calc(0.0240625 * 100vw + 0px)}}.open-case-inside__total-shards-value.svelte-s8lcnu.svelte-s8lcnu{color:#111111;font-family:\"HeadingNowBold\";font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.open-case-inside__total-shards-value.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.open-case-inside__total-shards-value.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.open-case-inside__total-shards-value.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.open-case-inside__total-shards-value.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.open-case-inside__total-shards-value.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.open-case-inside__total-shards-value.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.open-case-inside__total-shards-value.svelte-s8lcnu.svelte-s8lcnu{font-size:calc(0.0080208333 * 100vw + 0px)}}");
}

function inside_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[13] = list[i];
	child_ctx[15] = i;
	return child_ctx;
}

// (1576:16) {#if reward.sold}
function inside_index_svelte_create_if_block_6(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "Расколот";
			attr(div, "class", "open-case-inside__prize-caption open-case-inside__prize-caption--sold svelte-s8lcnu");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1579:16) {#if reward.saved}
function inside_index_svelte_create_if_block_5(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "Получен";
			attr(div, "class", "open-case-inside__prize-caption open-case-inside__prize-caption--saved svelte-s8lcnu");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1582:16) {#if allRevealed}
function inside_index_svelte_create_if_block_4(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "open-case-inside__prize-check icon-check-circle svelte-s8lcnu");
			toggle_class(i, "open-case-inside__prize-check--checked", /*reward*/ ctx[13].checked);
			toggle_class(i, "open-case-inside__prize-check--complete", /*reward*/ ctx[13].sold || /*reward*/ ctx[13].saved);
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*$rewards*/ 1) {
				toggle_class(i, "open-case-inside__prize-check--checked", /*reward*/ ctx[13].checked);
			}

			if (dirty & /*$rewards*/ 1) {
				toggle_class(i, "open-case-inside__prize-check--complete", /*reward*/ ctx[13].sold || /*reward*/ ctx[13].saved);
			}
		},
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (1589:16) {#if reward.revealed}
function inside_index_svelte_create_if_block_3(ctx) {
	let div1;
	let div0;
	let t0_value = `+${/*reward*/ ctx[13].shards}` + "";
	let t0;
	let t1;
	let img;
	let img_src_value;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			img = internal_element("img");
			attr(div0, "class", "open-case-inside__prize-shards-value svelte-s8lcnu");
			if (!src_url_equal(img.src, img_src_value = diamond_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "diamond");
			attr(img, "class", "open-case-inside__prize-shards-icon svelte-s8lcnu");
			attr(div1, "class", "open-case-inside__prize-shards svelte-s8lcnu");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, t0);
			append(div1, t1);
			append(div1, img);
		},
		p(ctx, dirty) {
			if (dirty & /*$rewards*/ 1 && t0_value !== (t0_value = `+${/*reward*/ ctx[13].shards}` + "")) set_data(t0, t0_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (1595:16) {#if reward.isVehicle}
function inside_index_svelte_create_if_block_2(ctx) {
	let div;
	let tooltip_action;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<i class="open-case-inside__prize-rarity-button-title svelte-s8lcnu">i</i>`;
			attr(div, "class", "open-case-inside__prize-rarity-button svelte-s8lcnu");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = action_destroyer(tooltip_action = tooltip.call(null, div, {
					bonuses: [
						'Качество будет определено при открытии сертификата.',
						'Вы можете получить:',
						'- Хлам',
						'- Обычное',
						'- Идеальное'
					],
					isShowRarityPlate: false,
					isDottedList: false,
					isShowBonusesHeader: false,
					offsetX: 100,
					offsetY: -200
				}));

				mounted = true;
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (1564:8) {#each $rewards as reward, index}
function inside_index_svelte_create_each_block(ctx) {
	let div;
	let prize;
	let t0;
	let t1;
	let t2;
	let t3;
	let t4;
	let t5;
	let div_intro;
	let current;
	let mounted;
	let dispose;

	prize = new prize_index_svelte({
			props: {
				imageSrc: /*reward*/ ctx[13].revealed
				? /*reward*/ ctx[13].id
				: null,
				text: /*reward*/ ctx[13].revealed
				? `${/*reward*/ ctx[13].name} ${/*reward*/ ctx[13].countText}`
				: '',
				style: /*reward*/ ctx[13].rarity
			}
		});

	let if_block0 = /*reward*/ ctx[13].sold && inside_index_svelte_create_if_block_6(ctx);
	let if_block1 = /*reward*/ ctx[13].saved && inside_index_svelte_create_if_block_5(ctx);
	let if_block2 = /*allRevealed*/ ctx[3] && inside_index_svelte_create_if_block_4(ctx);
	let if_block3 = /*reward*/ ctx[13].revealed && inside_index_svelte_create_if_block_3(ctx);
	let if_block4 = /*reward*/ ctx[13].isVehicle && inside_index_svelte_create_if_block_2(ctx);

	function click_handler() {
		return /*click_handler*/ ctx[9](/*reward*/ ctx[13], /*index*/ ctx[15]);
	}

	function click_handler_1() {
		return /*click_handler_1*/ ctx[10](/*index*/ ctx[15]);
	}

	return {
		c() {
			div = internal_element("div");
			create_component(prize.$$.fragment);
			t0 = space();
			if (if_block0) if_block0.c();
			t1 = space();
			if (if_block1) if_block1.c();
			t2 = space();
			if (if_block2) if_block2.c();
			t3 = space();
			if (if_block3) if_block3.c();
			t4 = space();
			if (if_block4) if_block4.c();
			t5 = space();
			attr(div, "class", "open-case-inside__prize svelte-s8lcnu");
			toggle_class(div, "open-case-inside__prize--checked", /*reward*/ ctx[13].checked);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(prize, div, null);
			append(div, t0);
			if (if_block0) if_block0.m(div, null);
			append(div, t1);
			if (if_block1) if_block1.m(div, null);
			append(div, t2);
			if (if_block2) if_block2.m(div, null);
			append(div, t3);
			if (if_block3) if_block3.m(div, null);
			append(div, t4);
			if (if_block4) if_block4.m(div, null);
			append(div, t5);
			current = true;

			if (!mounted) {
				dispose = listen(div, "click", function () {
					if (internal_is_function(/*reward*/ ctx[13].revealed
					? click_handler
					: click_handler_1)) (/*reward*/ ctx[13].revealed
					? click_handler
					: click_handler_1).apply(this, arguments);
				});

				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			const prize_changes = {};

			if (dirty & /*$rewards*/ 1) prize_changes.imageSrc = /*reward*/ ctx[13].revealed
			? /*reward*/ ctx[13].id
			: null;

			if (dirty & /*$rewards*/ 1) prize_changes.text = /*reward*/ ctx[13].revealed
			? `${/*reward*/ ctx[13].name} ${/*reward*/ ctx[13].countText}`
			: '';

			if (dirty & /*$rewards*/ 1) prize_changes.style = /*reward*/ ctx[13].rarity;
			prize.$set(prize_changes);

			if (/*reward*/ ctx[13].sold) {
				if (if_block0) {
					
				} else {
					if_block0 = inside_index_svelte_create_if_block_6(ctx);
					if_block0.c();
					if_block0.m(div, t1);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (/*reward*/ ctx[13].saved) {
				if (if_block1) {
					
				} else {
					if_block1 = inside_index_svelte_create_if_block_5(ctx);
					if_block1.c();
					if_block1.m(div, t2);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (/*allRevealed*/ ctx[3]) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = inside_index_svelte_create_if_block_4(ctx);
					if_block2.c();
					if_block2.m(div, t3);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			if (/*reward*/ ctx[13].revealed) {
				if (if_block3) {
					if_block3.p(ctx, dirty);
				} else {
					if_block3 = inside_index_svelte_create_if_block_3(ctx);
					if_block3.c();
					if_block3.m(div, t4);
				}
			} else if (if_block3) {
				if_block3.d(1);
				if_block3 = null;
			}

			if (/*reward*/ ctx[13].isVehicle) {
				if (if_block4) {
					
				} else {
					if_block4 = inside_index_svelte_create_if_block_2(ctx);
					if_block4.c();
					if_block4.m(div, t5);
				}
			} else if (if_block4) {
				if_block4.d(1);
				if_block4 = null;
			}

			if (dirty & /*$rewards*/ 1) {
				toggle_class(div, "open-case-inside__prize--checked", /*reward*/ ctx[13].checked);
			}
		},
		i(local) {
			if (current) return;
			transition_in(prize.$$.fragment, local);

			if (!div_intro) {
				add_render_callback(() => {
					div_intro = create_in_transition(div, fly, {
						duration: 180,
						delay: 150 * (/*index*/ ctx[15] + 1),
						y: 50
					});

					div_intro.start();
				});
			}

			current = true;
		},
		o(local) {
			transition_out(prize.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(prize);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			if (if_block2) if_block2.d();
			if (if_block3) if_block3.d();
			if (if_block4) if_block4.d();
			mounted = false;
			dispose();
		}
	};
}

// (1639:8) {:else}
function inside_index_svelte_create_else_block(ctx) {
	let div1;
	let div0;
	let button;
	let current;

	button = new ui_kit_button_index_svelte({
			props: {
				text: 'Открыть всё',
				style: 'gold',
				onClick: /*revealAll*/ ctx[7]
			}
		});

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			create_component(button.$$.fragment);
			attr(div0, "class", "open-case-inside__button-wrapper svelte-s8lcnu");
			attr(div1, "class", "open-case-inside__button svelte-s8lcnu");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			mount_component(button, div0, null);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(button.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(button.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			destroy_component(button);
		}
	};
}

// (1622:8) {#if allRevealed}
function inside_index_svelte_create_if_block(ctx) {
	let div1;
	let div0;
	let button0;
	let t0;
	let div3;
	let div2;
	let button1;
	let t1;
	let current;

	button0 = new ui_kit_button_index_svelte({
			props: {
				text: 'Забрать',
				disabled: /*buttonsDisabled*/ ctx[2],
				style: 'gold',
				onClick: /*func*/ ctx[11]
			}
		});

	button1 = new ui_kit_button_index_svelte({
			props: {
				text: 'Расколоть',
				disabled: /*buttonsDisabled*/ ctx[2],
				style: 'purple',
				onClick: /*func_1*/ ctx[12]
			}
		});

	let if_block = /*total*/ ctx[1] > 0 && inside_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			create_component(button0.$$.fragment);
			t0 = space();
			div3 = internal_element("div");
			div2 = internal_element("div");
			create_component(button1.$$.fragment);
			t1 = space();
			if (if_block) if_block.c();
			attr(div0, "class", "open-case-inside__button-wrapper svelte-s8lcnu");
			attr(div1, "class", "open-case-inside__button svelte-s8lcnu");
			attr(div2, "class", "open-case-inside__button-wrapper svelte-s8lcnu");
			attr(div3, "class", "open-case-inside__button svelte-s8lcnu");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			mount_component(button0, div0, null);
			insert(target, t0, anchor);
			insert(target, div3, anchor);
			append(div3, div2);
			mount_component(button1, div2, null);
			append(div3, t1);
			if (if_block) if_block.m(div3, null);
			current = true;
		},
		p(ctx, dirty) {
			const button0_changes = {};
			if (dirty & /*buttonsDisabled*/ 4) button0_changes.disabled = /*buttonsDisabled*/ ctx[2];
			button0.$set(button0_changes);
			const button1_changes = {};
			if (dirty & /*buttonsDisabled*/ 4) button1_changes.disabled = /*buttonsDisabled*/ ctx[2];
			button1.$set(button1_changes);

			if (/*total*/ ctx[1] > 0) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = inside_index_svelte_create_if_block_1(ctx);
					if_block.c();
					if_block.m(div3, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		i(local) {
			if (current) return;
			transition_in(button0.$$.fragment, local);
			transition_in(button1.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(button0.$$.fragment, local);
			transition_out(button1.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			destroy_component(button0);
			if (detaching) detach(t0);
			if (detaching) detach(div3);
			destroy_component(button1);
			if (if_block) if_block.d();
		}
	};
}

// (1632:16) {#if total > 0}
function inside_index_svelte_create_if_block_1(ctx) {
	let div1;
	let div0;
	let t0_value = `+${/*total*/ ctx[1]}` + "";
	let t0;
	let t1;
	let img;
	let img_src_value;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			img = internal_element("img");
			attr(div0, "class", "open-case-inside__total-shards-value svelte-s8lcnu");
			if (!src_url_equal(img.src, img_src_value = diamond_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "diamond");
			attr(img, "class", "open-case-inside__total-shards-icon svelte-s8lcnu");
			attr(div1, "class", "open-case-inside__total-shards svelte-s8lcnu");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, t0);
			append(div1, t1);
			append(div1, img);
		},
		p(ctx, dirty) {
			if (dirty & /*total*/ 2 && t0_value !== (t0_value = `+${/*total*/ ctx[1]}` + "")) set_data(t0, t0_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

function inside_index_svelte_create_fragment(ctx) {
	let div4;
	let div0;
	let img;
	let img_src_value;
	let t0;
	let div1;
	let t2;
	let div2;
	let t3;
	let div3;
	let current_block_type_index;
	let if_block;
	let current;
	let each_value = /*$rewards*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = inside_index_svelte_create_each_block(inside_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	const if_block_creators = [inside_index_svelte_create_if_block, inside_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (/*allRevealed*/ ctx[3]) return 0;
		return 1;
	}

	current_block_type_index = select_block_type(ctx, -1);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div4 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div1 = internal_element("div");
			div1.textContent = "Откройте содержимое кейса";
			t2 = space();
			div2 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t3 = space();
			div3 = internal_element("div");
			if_block.c();
			if (!src_url_equal(img.src, img_src_value = `${CDN_URL}/projects/rodina-rp/systems/cases/${/*$mainInfo*/ ctx[4].caseId}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "case");
			attr(img, "class", "open-case-inside__case-image svelte-s8lcnu");
			attr(div0, "class", "open-case-inside__case-image-wrapper svelte-s8lcnu");
			attr(div1, "class", "open-case-inside__case-caption svelte-s8lcnu");
			attr(div2, "class", "open-case-inside__prizes svelte-s8lcnu");
			attr(div3, "class", "open-case-inside__buttons svelte-s8lcnu");
			attr(div4, "class", "open-case-inside svelte-s8lcnu");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div0);
			append(div0, img);
			append(div4, t0);
			append(div4, div1);
			append(div4, t2);
			append(div4, div2);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div2, null);
			}

			append(div4, t3);
			append(div4, div3);
			if_blocks[current_block_type_index].m(div3, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if (!current || dirty & /*$mainInfo*/ 16 && !src_url_equal(img.src, img_src_value = `${CDN_URL}/projects/rodina-rp/systems/cases/${/*$mainInfo*/ ctx[4].caseId}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*$rewards, selectPrize, reveal, diamondIcon, allRevealed*/ 105) {
				each_value = /*$rewards*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = inside_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = inside_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div2, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}

			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(div3, null);
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			transition_in(if_block);
			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div4);
			destroy_each(each_blocks, detaching);
			if_blocks[current_block_type_index].d();
		}
	};
}

function inside_index_svelte_instance($$self, $$props, $$invalidate) {
	let allRevealed;
	let buttonsDisabled;
	let $rewards;
	let $mainInfo;
	component_subscribe($$self, rewards, $$value => $$invalidate(0, $rewards = $$value));
	component_subscribe($$self, mainInfo, $$value => $$invalidate(4, $mainInfo = $$value));
	let total = 0;

	const selectPrize = (updateReward, rewardIndex) => {
		if (updateReward.sold || updateReward.saved) {
			return;
		}

		set_store_value(
			rewards,
			$rewards = $rewards.map((reward, index) => {
				let prize = reward;

				if (index === rewardIndex) {
					$$invalidate(1, total += reward.checked ? -reward.shards : reward.shards);
					prize = { ...reward, checked: !reward.checked };
				}

				return prize;
			}),
			$rewards
		);
	};

	const reveal = updateIndex => {
		set_store_value(
			rewards,
			$rewards = $rewards.map((reward, index) => index === updateIndex
			? {
					...reward,
					revealed: true,
					checked: $rewards.length === 1
				}
			: reward),
			$rewards
		);
	};

	const revealAll = () => {
		set_store_value(rewards, $rewards = $rewards.map(reward => ({ ...reward, revealed: true })), $rewards);
	};

	const doAction = action => {
		const selectedRewardsIndexes = [];

		$rewards.forEach((reward, index) => {
			if (reward.checked) selectedRewardsIndexes.push(index);
		});

		sendClientMessage(`openCase.${action}`, selectedRewardsIndexes);

		if (action === PrizeActions.Sell) {
			set_store_value(
				rewards,
				$rewards = $rewards.map((reward, index) => selectedRewardsIndexes.includes(index)
				? { ...reward, sold: true }
				: reward),
				$rewards
			);
		}

		if (action === PrizeActions.Save) {
			set_store_value(
				rewards,
				$rewards = $rewards.map((reward, index) => selectedRewardsIndexes.includes(index)
				? { ...reward, saved: true }
				: reward),
				$rewards
			);

			$$invalidate(1, total = 0);
		}

		set_store_value(rewards, $rewards = $rewards.map(reward => ({ ...reward, checked: false })), $rewards);
	};

	const click_handler = (reward, index) => selectPrize(reward, index);
	const click_handler_1 = index => reveal(index);
	const func = () => doAction(PrizeActions.Save);
	const func_1 = () => doAction(PrizeActions.Sell);

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*$rewards*/ 1) {
			$: $$invalidate(3, allRevealed = $rewards.every(reward => reward.revealed));
		}

		if ($$self.$$.dirty & /*$rewards*/ 1) {
			$: $$invalidate(2, buttonsDisabled = !$rewards.some(reward => reward.checked));
		}
	};

	return [
		$rewards,
		total,
		buttonsDisabled,
		allRevealed,
		$mainInfo,
		selectPrize,
		reveal,
		revealAll,
		doAction,
		click_handler,
		click_handler_1,
		func,
		func_1
	];
}

class Inside extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, inside_index_svelte_instance, inside_index_svelte_create_fragment, safe_not_equal, {}, inside_index_svelte_add_css);
	}
}

/* harmony default export */ const inside_index_svelte = (Inside);
;// CONCATENATED MODULE: ./src/views/open-case/routs.js
function open_case_routs_typeof(o) { "@babel/helpers - typeof"; return open_case_routs_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, open_case_routs_typeof(o); }
function open_case_routs_defineProperty(e, r, t) { return (r = open_case_routs_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function open_case_routs_toPropertyKey(t) { var i = open_case_routs_toPrimitive(t, "string"); return "symbol" == open_case_routs_typeof(i) ? i : i + ""; }
function open_case_routs_toPrimitive(t, r) { if ("object" != open_case_routs_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != open_case_routs_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }




var routs_MAP_SCREEN_TO_COMPONENT = open_case_routs_defineProperty(open_case_routs_defineProperty(open_case_routs_defineProperty({}, open_case_constants_Screens.Main, open_case_components_main_index_svelte), open_case_constants_Screens.Video, video_index_svelte), open_case_constants_Screens.Inside, inside_index_svelte);
;// CONCATENATED MODULE: ./src/views/open-case/index.svelte
/* src\views\open-case\index.svelte generated by Svelte v3.49.0 */














function open_case_index_svelte_create_if_block(ctx) {
	let div;
	let current_block_type_index;
	let if_block;
	let current;
	const if_block_creators = [open_case_index_svelte_create_if_block_1, open_case_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (/*$selectedScreen*/ ctx[1] === open_case_constants_Screens.Video) return 0;
		return 1;
	}

	current_block_type_index = select_block_type(ctx, -1);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div = internal_element("div");
			if_block.c();
			attr(div, "class", "open-case");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if_blocks[current_block_type_index].m(div, null);
			current = true;
		},
		p(ctx, dirty) {
			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(div, null);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if_blocks[current_block_type_index].d();
		}
	};
}

// (24:8) {:else}
function open_case_index_svelte_create_else_block(ctx) {
	let div1;
	let t0;
	let div0;
	let t2;
	let t3;
	let div9;
	let div8;
	let div3;
	let t6;
	let div7;
	let div4;
	let t7;
	let div6;
	let div5;
	let t8_value = `${/*$mainInfo*/ ctx[0].current} / ${/*$mainInfo*/ ctx[0].total}` + "";
	let t8;
	let t9;
	let img0;
	let img0_src_value;
	let t10;
	let img1;
	let img1_src_value;
	let t11;
	let div10;
	let switch_instance;
	let current;
	let mounted;
	let dispose;
	let if_block0 = /*$selectedScreen*/ ctx[1] !== open_case_constants_Screens.Inside && open_case_index_svelte_create_if_block_3(ctx);
	let if_block1 = /*$selectedScreen*/ ctx[1] !== open_case_constants_Screens.Inside && open_case_index_svelte_create_if_block_2(ctx);
	var switch_value = routs_MAP_SCREEN_TO_COMPONENT[/*$selectedScreen*/ ctx[1]];

	function switch_props(ctx) {
		return {};
	}

	if (switch_value) {
		switch_instance = new switch_value(switch_props(ctx));
	}

	return {
		c() {
			div1 = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			div0 = internal_element("div");
			div0.textContent = "КЕЙСЫ";
			t2 = space();
			if (if_block1) if_block1.c();
			t3 = space();
			div9 = internal_element("div");
			div8 = internal_element("div");
			div3 = internal_element("div");

			div3.innerHTML = `<i class="open-case__special-title-icon icon-chat-info"></i> 
                        <div class="open-case__special-title">особый кейс</div>`;

			t6 = space();
			div7 = internal_element("div");
			div4 = internal_element("div");
			t7 = space();
			div6 = internal_element("div");
			div5 = internal_element("div");
			t8 = internal_text(t8_value);
			t9 = space();
			img0 = internal_element("img");
			t10 = space();
			img1 = internal_element("img");
			t11 = space();
			div10 = internal_element("div");
			if (switch_instance) create_component(switch_instance.$$.fragment);
			attr(div0, "class", "open-case__back-text");
			attr(div1, "class", "open-case__back");
			attr(div3, "class", "open-case__special-title-wrapper");
			attr(div4, "class", "open-case__progress-current");
			set_style(div4, "--current-progress", countPercents(/*$mainInfo*/ ctx[0].current, /*$mainInfo*/ ctx[0].total) + "%");
			attr(div5, "class", "open-case__progress-counter-value");
			if (!src_url_equal(img0.src, img0_src_value = diamond_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "diamond");
			attr(img0, "class", "open-case__progress-counter-icon");
			attr(div6, "class", "open-case__progress-counter");
			attr(div7, "class", "open-case__progress");
			attr(div8, "class", "open-case__special-content");
			if (!src_url_equal(img1.src, img1_src_value = gold_case_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "case");
			attr(img1, "class", "open-case__special-case-image");
			attr(div9, "class", "open-case__special");
			attr(div10, "class", "open-case__content");
			toggle_class(div10, "open-case__content--fullscreen", /*$selectedScreen*/ ctx[1] === open_case_constants_Screens.Video);
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			if (if_block0) if_block0.m(div1, null);
			append(div1, t0);
			append(div1, div0);
			insert(target, t2, anchor);
			if (if_block1) if_block1.m(target, anchor);
			insert(target, t3, anchor);
			insert(target, div9, anchor);
			append(div9, div8);
			append(div8, div3);
			append(div8, t6);
			append(div8, div7);
			append(div7, div4);
			append(div7, t7);
			append(div7, div6);
			append(div6, div5);
			append(div5, t8);
			append(div6, t9);
			append(div6, img0);
			append(div9, t10);
			append(div9, img1);
			insert(target, t11, anchor);
			insert(target, div10, anchor);

			if (switch_instance) {
				mount_component(switch_instance, div10, null);
			}

			current = true;

			if (!mounted) {
				dispose = listen(div9, "click", /*openSpecialInfo*/ ctx[3]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (/*$selectedScreen*/ ctx[1] !== open_case_constants_Screens.Inside) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = open_case_index_svelte_create_if_block_3(ctx);
					if_block0.c();
					if_block0.m(div1, t0);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (/*$selectedScreen*/ ctx[1] !== open_case_constants_Screens.Inside) {
				if (if_block1) {
					if_block1.p(ctx, dirty);

					if (dirty & /*$selectedScreen*/ 2) {
						transition_in(if_block1, 1);
					}
				} else {
					if_block1 = open_case_index_svelte_create_if_block_2(ctx);
					if_block1.c();
					transition_in(if_block1, 1);
					if_block1.m(t3.parentNode, t3);
				}
			} else if (if_block1) {
				group_outros();

				transition_out(if_block1, 1, 1, () => {
					if_block1 = null;
				});

				check_outros();
			}

			if (!current || dirty & /*$mainInfo*/ 1) {
				set_style(div4, "--current-progress", countPercents(/*$mainInfo*/ ctx[0].current, /*$mainInfo*/ ctx[0].total) + "%");
			}

			if ((!current || dirty & /*$mainInfo*/ 1) && t8_value !== (t8_value = `${/*$mainInfo*/ ctx[0].current} / ${/*$mainInfo*/ ctx[0].total}` + "")) set_data(t8, t8_value);

			if (switch_value !== (switch_value = routs_MAP_SCREEN_TO_COMPONENT[/*$selectedScreen*/ ctx[1]])) {
				if (switch_instance) {
					group_outros();
					const old_component = switch_instance;

					transition_out(old_component.$$.fragment, 1, 0, () => {
						destroy_component(old_component, 1);
					});

					check_outros();
				}

				if (switch_value) {
					switch_instance = new switch_value(switch_props(ctx));
					create_component(switch_instance.$$.fragment);
					transition_in(switch_instance.$$.fragment, 1);
					mount_component(switch_instance, div10, null);
				} else {
					switch_instance = null;
				}
			} else if (switch_value) {
				
			}

			if (dirty & /*$selectedScreen, Screens*/ 2) {
				toggle_class(div10, "open-case__content--fullscreen", /*$selectedScreen*/ ctx[1] === open_case_constants_Screens.Video);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block1);
			if (switch_instance) transition_in(switch_instance.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(if_block1);
			if (switch_instance) transition_out(switch_instance.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			if (if_block0) if_block0.d();
			if (detaching) detach(t2);
			if (if_block1) if_block1.d(detaching);
			if (detaching) detach(t3);
			if (detaching) detach(div9);
			if (detaching) detach(t11);
			if (detaching) detach(div10);
			if (switch_instance) destroy_component(switch_instance);
			mounted = false;
			dispose();
		}
	};
}

// (22:8) {#if $selectedScreen === Screens.Video}
function open_case_index_svelte_create_if_block_1(ctx) {
	let video;
	let current;
	video = new video_index_svelte({});

	return {
		c() {
			create_component(video.$$.fragment);
		},
		m(target, anchor) {
			mount_component(video, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(video.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(video.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(video, detaching);
		}
	};
}

// (26:16) {#if $selectedScreen !== Screens.Inside}
function open_case_index_svelte_create_if_block_3(ctx) {
	let i;
	let mounted;
	let dispose;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "open-case__back-icon icon-chevron-left");
		},
		m(target, anchor) {
			insert(target, i, anchor);

			if (!mounted) {
				dispose = listen(i, "click", /*click_handler*/ ctx[4]);
				mounted = true;
			}
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(i);
			mounted = false;
			dispose();
		}
	};
}

// (34:12) {#if $selectedScreen !== Screens.Inside}
function open_case_index_svelte_create_if_block_2(ctx) {
	let exitbutton;
	let current;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*exit*/ ctx[2],
				fixedPosition: true
			}
		});

	return {
		c() {
			create_component(exitbutton.$$.fragment);
		},
		m(target, anchor) {
			mount_component(exitbutton, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(exitbutton, detaching);
		}
	};
}

function open_case_index_svelte_create_fragment(ctx) {
	let show_if = !(0,lodash.isEmpty)(/*$mainInfo*/ ctx[0]);
	let if_block_anchor;
	let current;
	let if_block = show_if && open_case_index_svelte_create_if_block(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*$mainInfo*/ 1) show_if = !(0,lodash.isEmpty)(/*$mainInfo*/ ctx[0]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*$mainInfo*/ 1) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = open_case_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

function open_case_index_svelte_instance($$self, $$props, $$invalidate) {
	let $mainInfo;
	let $selectedScreen;
	component_subscribe($$self, mainInfo, $$value => $$invalidate(0, $mainInfo = $$value));
	component_subscribe($$self, open_case_store_selectedScreen, $$value => $$invalidate(1, $selectedScreen = $$value));

	const exit = () => {
		sendClientMessage('openCase.exit');
	};

	const openSpecialInfo = () => {
		sendClientMessage('openCase.specialInfo');
	};

	const click_handler = () => sendClientMessage('openCase.mainBack');
	return [$mainInfo, $selectedScreen, exit, openSpecialInfo, click_handler];
}

class Open_case extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, open_case_index_svelte_instance, open_case_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const open_case_index_svelte = (Open_case);
;// CONCATENATED MODULE: ./src/views/service-station/img/logo.svg
const service_station_img_logo_namespaceObject = __webpack_require__.p + "assets/1b71f66071c8863d366a.svg";
;// CONCATENATED MODULE: ./src/views/service-station/img/background.svg
const service_station_img_background_namespaceObject = __webpack_require__.p + "assets/ae85013d061080aeb0f6.svg";
;// CONCATENATED MODULE: ./src/views/service-station/img/services/1.png
const services_1_namespaceObject = __webpack_require__.p + "assets/c808e05350642c7ccff4.webp";
;// CONCATENATED MODULE: ./src/views/service-station/img/services/2.png
const services_2_namespaceObject = __webpack_require__.p + "assets/ab30691bdcc2acb6bd15.webp";
;// CONCATENATED MODULE: ./src/views/service-station/img/services/3.png
const services_3_namespaceObject = __webpack_require__.p + "assets/b3ce3f79525b060bd112.webp";
;// CONCATENATED MODULE: ./src/views/service-station/img/services/4.png
const services_4_namespaceObject = __webpack_require__.p + "assets/60435f3bf4bd2d6a0567.webp";
;// CONCATENATED MODULE: ./src/views/service-station/img/services/5.png
const services_5_namespaceObject = __webpack_require__.p + "assets/35e3358a27c3642e7240.webp";
;// CONCATENATED MODULE: ./src/views/service-station/constants.js





var CHANGE_OIL_ENGINE_OFFSET = 47;
var SERVICES = [{
  id: 0,
  title: 'Скрутка пробега',
  image: services_1_namespaceObject
}, {
  id: 1,
  title: 'Состояние',
  image: services_2_namespaceObject
}, {
  id: 2,
  title: 'Замена масла',
  image: services_3_namespaceObject
}, {
  id: 3,
  title: 'Шиномонтаж',
  image: services_4_namespaceObject
}, {
  id: 4,
  title: 'Кастомные фары',
  image: services_5_namespaceObject
}];
;// CONCATENATED MODULE: ./src/views/service-station/menu/index.svelte
/* src\views\service-station\menu\index.svelte generated by Svelte v3.49.0 */













function service_station_menu_index_svelte_add_css(target) {
	append_styles(target, "svelte-35zt9e", "@keyframes svelte-35zt9e-blinking{50%{opacity:0}}@keyframes svelte-35zt9e-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-35zt9e-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-35zt9e-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-35zt9e-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-35zt9e-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-35zt9e-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-35zt9e-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-35zt9e-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-35zt9e-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-35zt9e-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-35zt9e-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-35zt9e-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-35zt9e-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-35zt9e-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.service-station-menu.svelte-35zt9e{position:relative;display:flex;align-items:center;justify-content:center;width:100vw;height:100vh;background:rgba(19, 21, 22, 0.95)}.service-station-menu__logo.svelte-35zt9e{position:absolute;left:calc(0.03125 * 100vw + 0px);top:calc(0.03125 * 100vw + 0px);width:calc(0.1458333333 * 100vw + 0px);height:calc(0.0494791667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-menu__logo.svelte-35zt9e{left:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-menu__logo.svelte-35zt9e{left:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-menu__logo.svelte-35zt9e{left:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-menu__logo.svelte-35zt9e{left:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-menu__logo.svelte-35zt9e{left:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-menu__logo.svelte-35zt9e{left:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-menu__logo.svelte-35zt9e{left:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-menu__logo.svelte-35zt9e{top:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-menu__logo.svelte-35zt9e{top:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-menu__logo.svelte-35zt9e{top:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-menu__logo.svelte-35zt9e{top:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-menu__logo.svelte-35zt9e{top:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-menu__logo.svelte-35zt9e{top:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-menu__logo.svelte-35zt9e{top:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-menu__logo.svelte-35zt9e{width:calc(0.1458333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-menu__logo.svelte-35zt9e{width:calc(0.1458333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-menu__logo.svelte-35zt9e{width:calc(0.1122916667 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-menu__logo.svelte-35zt9e{width:calc(0.1604166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-menu__logo.svelte-35zt9e{width:calc(0.1020833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-menu__logo.svelte-35zt9e{width:calc(0.13125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-menu__logo.svelte-35zt9e{width:calc(0.1604166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-menu__logo.svelte-35zt9e{height:calc(0.0494791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-menu__logo.svelte-35zt9e{height:calc(0.0494791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-menu__logo.svelte-35zt9e{height:calc(0.0380989583 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-menu__logo.svelte-35zt9e{height:calc(0.0544270833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-menu__logo.svelte-35zt9e{height:calc(0.0346354167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-menu__logo.svelte-35zt9e{height:calc(0.04453125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-menu__logo.svelte-35zt9e{height:calc(0.0544270833 * 100vw + 0px)}}.service-station-menu__background.svelte-35zt9e{position:absolute;top:0;left:0;width:calc(0.15625 * 100vw + 0px);height:calc(0.3125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-menu__background.svelte-35zt9e{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-menu__background.svelte-35zt9e{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-menu__background.svelte-35zt9e{width:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-menu__background.svelte-35zt9e{width:calc(0.171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-menu__background.svelte-35zt9e{width:calc(0.109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-menu__background.svelte-35zt9e{width:calc(0.140625 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-menu__background.svelte-35zt9e{width:calc(0.171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-menu__background.svelte-35zt9e{height:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-menu__background.svelte-35zt9e{height:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-menu__background.svelte-35zt9e{height:calc(0.240625 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-menu__background.svelte-35zt9e{height:calc(0.34375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-menu__background.svelte-35zt9e{height:calc(0.21875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-menu__background.svelte-35zt9e{height:calc(0.28125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-menu__background.svelte-35zt9e{height:calc(0.34375 * 100vw + 0px)}}.service-station-menu__header.svelte-35zt9e{position:absolute;top:calc(0.03125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-menu__header.svelte-35zt9e{top:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-menu__header.svelte-35zt9e{top:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-menu__header.svelte-35zt9e{top:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-menu__header.svelte-35zt9e{top:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-menu__header.svelte-35zt9e{top:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-menu__header.svelte-35zt9e{top:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-menu__header.svelte-35zt9e{top:calc(0.034375 * 100vw + 0px)}}.service-station-menu__header-title.svelte-35zt9e{font-family:\"GothamPro-Bold\";color:#FFFFFF;font-size:calc(0.01875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-menu__header-title.svelte-35zt9e{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-menu__header-title.svelte-35zt9e{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-menu__header-title.svelte-35zt9e{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-menu__header-title.svelte-35zt9e{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-menu__header-title.svelte-35zt9e{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-menu__header-title.svelte-35zt9e{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-menu__header-title.svelte-35zt9e{font-size:calc(0.020625 * 100vw + 0px)}}.service-station-menu__list.svelte-35zt9e{position:absolute;display:flex;justify-content:center;width:100%;gap:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-menu__list.svelte-35zt9e{gap:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-menu__list.svelte-35zt9e{gap:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-menu__list.svelte-35zt9e{gap:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-menu__list.svelte-35zt9e{gap:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-menu__list.svelte-35zt9e{gap:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-menu__list.svelte-35zt9e{gap:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-menu__list.svelte-35zt9e{gap:calc(0.0171875 * 100vw + 0px)}}.service-station-menu__item.svelte-35zt9e{position:relative;display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden;opacity:0.5;transform:scale(0.95);cursor:pointer;transition:0.5s all ease;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.1770833333 * 100vw + 0px);height:calc(0.2604166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-menu__item.svelte-35zt9e{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-menu__item.svelte-35zt9e{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-menu__item.svelte-35zt9e{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-menu__item.svelte-35zt9e{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-menu__item.svelte-35zt9e{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-menu__item.svelte-35zt9e{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-menu__item.svelte-35zt9e{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-menu__item.svelte-35zt9e{width:calc(0.1770833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-menu__item.svelte-35zt9e{width:calc(0.1770833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-menu__item.svelte-35zt9e{width:calc(0.1363541667 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-menu__item.svelte-35zt9e{width:calc(0.1947916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-menu__item.svelte-35zt9e{width:calc(0.1239583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-menu__item.svelte-35zt9e{width:calc(0.159375 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-menu__item.svelte-35zt9e{width:calc(0.1947916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-menu__item.svelte-35zt9e{height:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-menu__item.svelte-35zt9e{height:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-menu__item.svelte-35zt9e{height:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-menu__item.svelte-35zt9e{height:calc(0.2864583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-menu__item.svelte-35zt9e{height:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-menu__item.svelte-35zt9e{height:calc(0.234375 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-menu__item.svelte-35zt9e{height:calc(0.2864583333 * 100vw + 0px)}}.service-station-menu__item.svelte-35zt9e:hover,.service-station-menu__item--selected.svelte-35zt9e{opacity:1;transform:scale(1);background:rgba(255, 255, 255, 0.2);border-color:transparent}.service-station-menu__item-background.svelte-35zt9e{position:absolute;width:100%;height:110%;-webkit-mask-image:linear-gradient(0deg, rgba(71, 71, 71, 0) 0%, rgba(71, 71, 71, 0) 5%, #434343 40%)}.service-station-menu__item-title.svelte-35zt9e{z-index:2;font-family:\"GothamPro-Medium\";color:#FFFFFF;font-weight:500;text-shadow:2px 2px 6px rgba(0, 0, 0, 0.8);font-size:calc(0.01875 * 100vw + 0px);line-height:calc(0.0208333333 * 100vw + 0px);margin-left:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-menu__item-title.svelte-35zt9e{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-menu__item-title.svelte-35zt9e{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-menu__item-title.svelte-35zt9e{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-menu__item-title.svelte-35zt9e{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-menu__item-title.svelte-35zt9e{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-menu__item-title.svelte-35zt9e{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-menu__item-title.svelte-35zt9e{font-size:calc(0.020625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-menu__item-title.svelte-35zt9e{line-height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-menu__item-title.svelte-35zt9e{line-height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-menu__item-title.svelte-35zt9e{line-height:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-menu__item-title.svelte-35zt9e{line-height:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-menu__item-title.svelte-35zt9e{line-height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-menu__item-title.svelte-35zt9e{line-height:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-menu__item-title.svelte-35zt9e{line-height:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-menu__item-title.svelte-35zt9e{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-menu__item-title.svelte-35zt9e{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-menu__item-title.svelte-35zt9e{margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-menu__item-title.svelte-35zt9e{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-menu__item-title.svelte-35zt9e{margin-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-menu__item-title.svelte-35zt9e{margin-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-menu__item-title.svelte-35zt9e{margin-left:calc(0.0057291667 * 100vw + 0px)}}.service-station-menu__item-price.svelte-35zt9e{z-index:2;font-family:\"GothamPro-Medium\";color:#FFFFFF;font-weight:400;text-shadow:2px 2px 6px rgba(0, 0, 0, 0.8);font-size:calc(0.0114583333 * 100vw + 0px);line-height:calc(0.0208333333 * 100vw + 0px);margin-top:calc(0.0026041667 * 100vw + 0px);margin-left:calc(0.0052083333 * 100vw + 0px);margin-bottom:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-menu__item-price.svelte-35zt9e{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-menu__item-price.svelte-35zt9e{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-menu__item-price.svelte-35zt9e{font-size:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-menu__item-price.svelte-35zt9e{font-size:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-menu__item-price.svelte-35zt9e{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-menu__item-price.svelte-35zt9e{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-menu__item-price.svelte-35zt9e{font-size:calc(0.0126041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-menu__item-price.svelte-35zt9e{line-height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-menu__item-price.svelte-35zt9e{line-height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-menu__item-price.svelte-35zt9e{line-height:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-menu__item-price.svelte-35zt9e{line-height:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-menu__item-price.svelte-35zt9e{line-height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-menu__item-price.svelte-35zt9e{line-height:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-menu__item-price.svelte-35zt9e{line-height:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-menu__item-price.svelte-35zt9e{margin-top:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-menu__item-price.svelte-35zt9e{margin-top:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-menu__item-price.svelte-35zt9e{margin-top:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-menu__item-price.svelte-35zt9e{margin-top:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-menu__item-price.svelte-35zt9e{margin-top:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-menu__item-price.svelte-35zt9e{margin-top:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-menu__item-price.svelte-35zt9e{margin-top:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-menu__item-price.svelte-35zt9e{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-menu__item-price.svelte-35zt9e{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-menu__item-price.svelte-35zt9e{margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-menu__item-price.svelte-35zt9e{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-menu__item-price.svelte-35zt9e{margin-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-menu__item-price.svelte-35zt9e{margin-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-menu__item-price.svelte-35zt9e{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-menu__item-price.svelte-35zt9e{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-menu__item-price.svelte-35zt9e{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-menu__item-price.svelte-35zt9e{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-menu__item-price.svelte-35zt9e{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-menu__item-price.svelte-35zt9e{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-menu__item-price.svelte-35zt9e{margin-bottom:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-menu__item-price.svelte-35zt9e{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}.service-station-menu__buttons.svelte-35zt9e{position:absolute;display:flex;left:calc(0.0364583333 * 100vw + 0px);bottom:calc(0.03125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-menu__buttons.svelte-35zt9e{left:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-menu__buttons.svelte-35zt9e{left:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-menu__buttons.svelte-35zt9e{left:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-menu__buttons.svelte-35zt9e{left:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-menu__buttons.svelte-35zt9e{left:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-menu__buttons.svelte-35zt9e{left:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-menu__buttons.svelte-35zt9e{left:calc(0.0401041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-menu__buttons.svelte-35zt9e{bottom:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-menu__buttons.svelte-35zt9e{bottom:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-menu__buttons.svelte-35zt9e{bottom:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-menu__buttons.svelte-35zt9e{bottom:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-menu__buttons.svelte-35zt9e{bottom:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-menu__buttons.svelte-35zt9e{bottom:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-menu__buttons.svelte-35zt9e{bottom:calc(0.034375 * 100vw + 0px)}}.service-station-menu__button-arrows.svelte-35zt9e{display:flex;align-items:center;gap:calc(0.0026041667 * 100vw + 0px);width:calc(0.8177083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-menu__button-arrows.svelte-35zt9e{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-menu__button-arrows.svelte-35zt9e{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-menu__button-arrows.svelte-35zt9e{gap:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-menu__button-arrows.svelte-35zt9e{gap:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-menu__button-arrows.svelte-35zt9e{gap:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-menu__button-arrows.svelte-35zt9e{gap:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-menu__button-arrows.svelte-35zt9e{gap:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-menu__button-arrows.svelte-35zt9e{width:calc(0.8177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-menu__button-arrows.svelte-35zt9e{width:calc(0.8177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-menu__button-arrows.svelte-35zt9e{width:calc(0.6296354167 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-menu__button-arrows.svelte-35zt9e{width:calc(0.8994791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-menu__button-arrows.svelte-35zt9e{width:calc(0.5723958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-menu__button-arrows.svelte-35zt9e{width:calc(0.7359375 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-menu__button-arrows.svelte-35zt9e{width:calc(0.8994791667 * 100vw + 0px)}}.service-station-menu__button-arrow-title.svelte-35zt9e{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0078125 * 100vw + 0px);margin-left:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-menu__button-arrow-title.svelte-35zt9e{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-menu__button-arrow-title.svelte-35zt9e{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-menu__button-arrow-title.svelte-35zt9e{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-menu__button-arrow-title.svelte-35zt9e{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-menu__button-arrow-title.svelte-35zt9e{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-menu__button-arrow-title.svelte-35zt9e{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-menu__button-arrow-title.svelte-35zt9e{font-size:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-menu__button-arrow-title.svelte-35zt9e{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-menu__button-arrow-title.svelte-35zt9e{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-menu__button-arrow-title.svelte-35zt9e{margin-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-menu__button-arrow-title.svelte-35zt9e{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-menu__button-arrow-title.svelte-35zt9e{margin-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-menu__button-arrow-title.svelte-35zt9e{margin-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-menu__button-arrow-title.svelte-35zt9e{margin-left:calc(0.0114583333 * 100vw + 0px)}}.service-station-menu__button-submit-wrapper.svelte-35zt9e{display:flex;align-items:center}.service-station-menu__button-submit-title.svelte-35zt9e{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0078125 * 100vw + 0px);margin-left:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-menu__button-submit-title.svelte-35zt9e{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-menu__button-submit-title.svelte-35zt9e{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-menu__button-submit-title.svelte-35zt9e{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-menu__button-submit-title.svelte-35zt9e{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-menu__button-submit-title.svelte-35zt9e{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-menu__button-submit-title.svelte-35zt9e{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-menu__button-submit-title.svelte-35zt9e{font-size:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-menu__button-submit-title.svelte-35zt9e{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-menu__button-submit-title.svelte-35zt9e{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-menu__button-submit-title.svelte-35zt9e{margin-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-menu__button-submit-title.svelte-35zt9e{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-menu__button-submit-title.svelte-35zt9e{margin-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-menu__button-submit-title.svelte-35zt9e{margin-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-menu__button-submit-title.svelte-35zt9e{margin-left:calc(0.0114583333 * 100vw + 0px)}}");
}

function service_station_menu_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[15] = list[i];
	child_ctx[17] = i;
	return child_ctx;
}

// (1341:8) {#each SERVICES as service, i}
function service_station_menu_index_svelte_create_each_block(ctx) {
	let div;
	let img;
	let img_src_value;
	let t0;
	let p0;
	let t1_value = /*service*/ ctx[15].title + "";
	let t1;
	let t2;
	let p1;
	let t3;
	let t4_value = formatMoney(/*prices*/ ctx[0][/*service*/ ctx[15].id]) + "";
	let t4;
	let t5;
	let t6;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[8](/*i*/ ctx[17]);
	}

	function click_handler_1() {
		return /*click_handler_1*/ ctx[9](/*i*/ ctx[17]);
	}

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			p1 = internal_element("p");
			t3 = internal_text("от ");
			t4 = internal_text(t4_value);
			t5 = internal_text(" ₽");
			t6 = space();
			attr(img, "class", "service-station-menu__item-background svelte-35zt9e");
			if (!src_url_equal(img.src, img_src_value = /*service*/ ctx[15].image)) attr(img, "src", img_src_value);
			attr(img, "alt", "item-background");
			attr(p0, "class", "service-station-menu__item-title svelte-35zt9e");
			attr(p1, "class", "service-station-menu__item-price svelte-35zt9e");
			attr(div, "class", "service-station-menu__item svelte-35zt9e");
			toggle_class(div, "service-station-menu__item--selected", /*selectedIndex*/ ctx[1] === /*i*/ ctx[17]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
			append(div, t0);
			append(div, p0);
			append(p0, t1);
			append(div, t2);
			append(div, p1);
			append(p1, t3);
			append(p1, t4);
			append(p1, t5);
			append(div, t6);

			if (!mounted) {
				dispose = [
					listen(div, "click", click_handler),
					listen(div, "click", click_handler_1)
				];

				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if (dirty & /*prices*/ 1 && t4_value !== (t4_value = formatMoney(/*prices*/ ctx[0][/*service*/ ctx[15].id]) + "")) set_data(t4, t4_value);

			if (dirty & /*selectedIndex*/ 2) {
				toggle_class(div, "service-station-menu__item--selected", /*selectedIndex*/ ctx[1] === /*i*/ ctx[17]);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function service_station_menu_index_svelte_create_fragment(ctx) {
	let div6;
	let img0;
	let img0_src_value;
	let t0;
	let img1;
	let img1_src_value;
	let t1;
	let div0;
	let p0;
	let t3;
	let exitbutton;
	let t4;
	let div1;
	let t5;
	let div5;
	let div2;
	let actionbutton0;
	let t6;
	let actionbutton1;
	let t7;
	let p1;
	let t9;
	let div4;
	let div3;
	let actionbutton2;
	let t10;
	let p2;
	let current;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[3],
				fixedPosition: true
			}
		});

	let each_value = SERVICES;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = service_station_menu_index_svelte_create_each_block(service_station_menu_index_svelte_get_each_context(ctx, each_value, i));
	}

	actionbutton0 = new index_svelte({
			props: {
				onPress: /*func*/ ctx[10],
				keyIcon: "icon-arrow-left",
				keyCode: 37,
				size: ActionButtonSize.Regular
			}
		});

	actionbutton1 = new index_svelte({
			props: {
				onPress: /*func_1*/ ctx[11],
				keyIcon: "icon-arrow-right",
				keyCode: 39,
				size: ActionButtonSize.Regular
			}
		});

	actionbutton2 = new index_svelte({
			props: {
				onPress: /*func_2*/ ctx[12],
				keyTitle: "Enter",
				keyCode: 13,
				size: ActionButtonSize.Regular
			}
		});

	return {
		c() {
			div6 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			img1 = internal_element("img");
			t1 = space();
			div0 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Выберите услугу";
			t3 = space();
			create_component(exitbutton.$$.fragment);
			t4 = space();
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t5 = space();
			div5 = internal_element("div");
			div2 = internal_element("div");
			create_component(actionbutton0.$$.fragment);
			t6 = space();
			create_component(actionbutton1.$$.fragment);
			t7 = space();
			p1 = internal_element("p");
			p1.textContent = "Выбор услуги";
			t9 = space();
			div4 = internal_element("div");
			div3 = internal_element("div");
			create_component(actionbutton2.$$.fragment);
			t10 = space();
			p2 = internal_element("p");
			p2.textContent = "Выбрать услугу";
			attr(img0, "class", "service-station-menu__logo svelte-35zt9e");
			if (!src_url_equal(img0.src, img0_src_value = service_station_img_logo_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "logo");
			attr(img1, "class", "service-station-menu__background svelte-35zt9e");
			if (!src_url_equal(img1.src, img1_src_value = service_station_img_background_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "background");
			attr(p0, "class", "service-station-menu__header-title svelte-35zt9e");
			attr(div0, "class", "service-station-menu__header svelte-35zt9e");
			attr(div1, "class", "service-station-menu__list svelte-35zt9e");
			attr(p1, "class", "service-station-menu__button-arrow-title svelte-35zt9e");
			attr(div2, "class", "service-station-menu__button-arrows svelte-35zt9e");
			attr(div3, "class", "service-station-menu__button-submit");
			attr(p2, "class", "service-station-menu__button-submit-title svelte-35zt9e");
			attr(div4, "class", "service-station-menu__button-submit-wrapper svelte-35zt9e");
			attr(div5, "class", "service-station-menu__buttons svelte-35zt9e");
			attr(div6, "class", "service-station-menu svelte-35zt9e");
		},
		m(target, anchor) {
			insert(target, div6, anchor);
			append(div6, img0);
			append(div6, t0);
			append(div6, img1);
			append(div6, t1);
			append(div6, div0);
			append(div0, p0);
			append(div0, t3);
			mount_component(exitbutton, div0, null);
			append(div6, t4);
			append(div6, div1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}

			append(div6, t5);
			append(div6, div5);
			append(div5, div2);
			mount_component(actionbutton0, div2, null);
			append(div2, t6);
			mount_component(actionbutton1, div2, null);
			append(div2, t7);
			append(div2, p1);
			append(div5, t9);
			append(div5, div4);
			append(div4, div3);
			mount_component(actionbutton2, div3, null);
			append(div4, t10);
			append(div4, p2);
			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*selectedIndex, selectIndex, toPage, formatMoney, prices, SERVICES*/ 23) {
				each_value = SERVICES;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = service_station_menu_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = service_station_menu_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div1, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			transition_in(actionbutton0.$$.fragment, local);
			transition_in(actionbutton1.$$.fragment, local);
			transition_in(actionbutton2.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			transition_out(actionbutton0.$$.fragment, local);
			transition_out(actionbutton1.$$.fragment, local);
			transition_out(actionbutton2.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div6);
			destroy_component(exitbutton);
			destroy_each(each_blocks, detaching);
			destroy_component(actionbutton0);
			destroy_component(actionbutton1);
			destroy_component(actionbutton2);
		}
	};
}

function service_station_menu_index_svelte_instance($$self, $$props, $$invalidate) {
	let prices = {};
	let selectedIndex = 0;

	const initializePrices = pricesDto => {
		$$invalidate(0, prices = pricesDto);
	};

	const selectIndex = index => {
		$$invalidate(1, selectedIndex = index);
	};

	const handleClose = () => {
		sendClientMessage('serviceStation.menu.exit');
	};

	const toPage = index => {
		sendClientMessage('serviceStation.menu.toPage', index);
	};

	const actionArrowLeft = () => {
		if (selectedIndex - 1 < 0) {
			$$invalidate(1, selectedIndex = SERVICES.length - 1);
			return;
		}

		$$invalidate(1, selectedIndex -= 1);
	};

	const actionArrowRight = () => {
		if (selectedIndex + 1 > SERVICES.length - 1) {
			$$invalidate(1, selectedIndex = 0);
			return;
		}

		$$invalidate(1, selectedIndex += 1);
	};

	const actionEnter = () => {
		toPage(selectedIndex);
	};

	const unregisterInitializePricesEvent = registerEvent('serviceStation.menu.initializePrices', initializePrices);

	onDestroy(() => {
		unregisterInitializePricesEvent();
	});

	const click_handler = i => selectIndex(i);
	const click_handler_1 = i => toPage(i);
	const func = () => actionArrowLeft();
	const func_1 = () => actionArrowRight();
	const func_2 = () => actionEnter();

	return [
		prices,
		selectedIndex,
		selectIndex,
		handleClose,
		toPage,
		actionArrowLeft,
		actionArrowRight,
		actionEnter,
		click_handler,
		click_handler_1,
		func,
		func_1,
		func_2
	];
}

class service_station_menu_index_svelte_Menu extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, service_station_menu_index_svelte_instance, service_station_menu_index_svelte_create_fragment, safe_not_equal, {}, service_station_menu_index_svelte_add_css);
	}
}

/* harmony default export */ const service_station_menu_index_svelte = (service_station_menu_index_svelte_Menu);
;// CONCATENATED MODULE: ./src/views/service-station/change-oil/components/change-oil-engine/index.svelte
/* src\views\service-station\change-oil\components\change-oil-engine\index.svelte generated by Svelte v3.49.0 */




function change_oil_engine_index_svelte_add_css(target) {
	append_styles(target, "svelte-1nyso4n", "@keyframes svelte-1nyso4n-blinking{50%{opacity:0}}@keyframes svelte-1nyso4n-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1nyso4n-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1nyso4n-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1nyso4n-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1nyso4n-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1nyso4n-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1nyso4n-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1nyso4n-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1nyso4n-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1nyso4n-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1nyso4n-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1nyso4n-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1nyso4n-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1nyso4n-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}svg.svelte-1nyso4n.svelte-1nyso4n{width:calc(0.1979166667 * 100vw + 0px);height:calc(0.1979166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){svg.svelte-1nyso4n.svelte-1nyso4n{width:calc(0.1979166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){svg.svelte-1nyso4n.svelte-1nyso4n{width:calc(0.1979166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){svg.svelte-1nyso4n.svelte-1nyso4n{width:calc(0.1523958333 * 100vw + 0px)}}@media(min-width: 3440px){svg.svelte-1nyso4n.svelte-1nyso4n{width:calc(0.2177083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){svg.svelte-1nyso4n.svelte-1nyso4n{width:calc(0.1385416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){svg.svelte-1nyso4n.svelte-1nyso4n{width:calc(0.178125 * 100vw + 0px)}}@media(min-width: 4096px){svg.svelte-1nyso4n.svelte-1nyso4n{width:calc(0.2177083333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){svg.svelte-1nyso4n.svelte-1nyso4n{height:calc(0.1979166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){svg.svelte-1nyso4n.svelte-1nyso4n{height:calc(0.1979166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){svg.svelte-1nyso4n.svelte-1nyso4n{height:calc(0.1523958333 * 100vw + 0px)}}@media(min-width: 3440px){svg.svelte-1nyso4n.svelte-1nyso4n{height:calc(0.2177083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){svg.svelte-1nyso4n.svelte-1nyso4n{height:calc(0.1385416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){svg.svelte-1nyso4n.svelte-1nyso4n{height:calc(0.178125 * 100vw + 0px)}}@media(min-width: 4096px){svg.svelte-1nyso4n.svelte-1nyso4n{height:calc(0.2177083333 * 100vw + 0px)}}svg.svelte-1nyso4n .wave.svelte-1nyso4n{transition:transform 0.5s ease-in-out}");
}

// (285:4) {:else}
function change_oil_engine_index_svelte_create_else_block(ctx) {
	let svg;
	let path0;
	let path1;
	let path2;
	let path3;
	let path4;
	let path5;
	let path6;
	let path7;
	let path8;
	let path9;
	let path10;
	let path11;
	let path12;
	let path13;
	let path14;
	let path15;
	let path16;
	let path17;
	let path18;
	let path19;
	let path20;
	let path21;
	let path22;
	let path23;
	let path24;
	let path25;
	let path26;
	let path27;
	let path28;
	let path29;
	let circle;
	let path30;

	return {
		c() {
			svg = svg_element("svg");
			path0 = svg_element("path");
			path1 = svg_element("path");
			path2 = svg_element("path");
			path3 = svg_element("path");
			path4 = svg_element("path");
			path5 = svg_element("path");
			path6 = svg_element("path");
			path7 = svg_element("path");
			path8 = svg_element("path");
			path9 = svg_element("path");
			path10 = svg_element("path");
			path11 = svg_element("path");
			path12 = svg_element("path");
			path13 = svg_element("path");
			path14 = svg_element("path");
			path15 = svg_element("path");
			path16 = svg_element("path");
			path17 = svg_element("path");
			path18 = svg_element("path");
			path19 = svg_element("path");
			path20 = svg_element("path");
			path21 = svg_element("path");
			path22 = svg_element("path");
			path23 = svg_element("path");
			path24 = svg_element("path");
			path25 = svg_element("path");
			path26 = svg_element("path");
			path27 = svg_element("path");
			path28 = svg_element("path");
			path29 = svg_element("path");
			circle = svg_element("circle");
			path30 = svg_element("path");
			attr(path0, "d", "M64.5996 333.252L74.8535 342.139H216.699L226.953 335.645V289.844V248.145L240.625 237.207L261.133 230.371L269.336 221.143V162.695L278.223 147.998L305.566 160.303L325.732 125.781L320.264 118.945L301.465 109.033L305.566 100.488L307.617 84.4238L305.566 47.5098L293.604 40.6738L280.957 37.5977L257.031 15.7227L226.953 5.12695H101.514L78.2715 10.2539C67.6758 16.6341 46.0059 29.668 44.0918 30.7617C42.1777 31.8555 36.9141 37.8255 34.5215 40.6738L22.9004 45.459V88.1836V144.922L48.5352 193.115L64.5996 225.244V250.195L53.6621 273.779V294.629L64.5996 312.061V333.252Z");
			attr(path0, "fill", "#76D355");
			attr(path0, "fill-opacity", "0.25");
			attr(path1, "d", "M81.2735 4.38745C67.7915 7.13846 56.259 13.3089 46.935 22.7625C44.051 25.713 40.6315 29.8044 39.3575 31.817C37.345 34.9705 36.6065 35.5725 34.461 35.9085C28.9625 36.8465 23.863 40.6685 21.049 45.9674L19.572 48.7185V97.0079V145.297L40.026 186.478L60.48 227.726L60.6795 238.926L60.8825 250.192L57.8655 253.881C51.828 261.259 48.0725 272.19 48.0725 282.116C48.0725 291.905 52.2305 303.644 58.1315 310.686L60.6795 313.703L60.949 323.762C61.1485 332.481 61.3515 334.091 62.6255 336.506C64.5015 340.062 67.5885 343.145 71.141 345.025L73.892 346.502H145.653H217.42L220.171 345.025C223.727 343.145 226.811 340.062 228.69 336.506C230.167 333.755 230.167 333.489 230.5 292.843C230.836 252.201 230.836 251.932 232.309 249.184C234.119 245.831 237.272 242.545 240.156 241.068C241.297 240.466 246.327 238.856 251.356 237.445C264.1 233.959 266.851 232.349 269.934 226.581L271.744 223.095L272.08 192.915C272.279 176.283 272.682 162.132 273.018 161.394C274.425 158.31 278.516 151.667 278.985 151.667C279.321 151.667 284.753 154.684 291.057 158.373C301.987 164.743 304.336 165.685 306.012 164.544C307.22 163.739 330.425 124.57 330.425 123.366C330.425 121.69 327.408 119.478 316.071 113.171C310.303 109.951 305.473 107 305.273 106.731C305.074 106.395 306.145 103.78 307.755 100.896L310.639 95.664V72.1895C310.639 45.9674 310.772 46.7725 305.676 41.4735C301.518 37.046 298.904 36.0414 290.518 35.7719L283.14 35.5024L280.459 31.4774C273.417 20.7464 261.142 11.426 248.266 6.99847C237.668 3.37598 239.414 3.44595 159.401 3.51245C104.545 3.58246 84.224 3.85196 81.2735 4.38745ZM115.276 8.27945C114.741 8.81494 113.936 8.81497 112.326 8.34598L110.114 7.60745L113.131 7.54095C115.343 7.47446 115.882 7.67395 115.276 8.27945ZM203.203 7.94345C202.734 8.07648 202.332 8.81494 202.332 9.48694C202.332 10.964 198.576 12.7069 197.502 11.6324C196.564 10.6945 194.954 11.3629 194.954 12.8399C194.954 14.5164 193.144 15.7905 190.729 15.857C189.119 15.857 188.517 16.1929 188.381 17.1974C188.248 17.9359 187.509 19.2099 186.704 20.015C185.7 21.1559 185.161 21.3554 184.422 20.8199C183.215 19.7455 181.538 21.2224 182.007 22.9654C182.476 24.5754 180.331 27.1234 178.987 26.588C177.513 26.0524 176.103 27.5259 176.775 28.8699C177.58 30.2769 175.298 33.2975 173.824 32.692C172.82 32.356 171.21 34.4349 171.945 35.24C172.148 35.4429 166.849 35.6425 160.073 35.6425C153.3 35.6425 148.001 35.4429 148.201 35.24C148.939 34.4349 147.329 32.356 146.325 32.692C144.848 33.2939 142.569 30.2769 143.374 28.8699C144.046 27.5294 142.503 25.8529 141.295 26.588C140.893 26.8575 139.818 26.3885 138.947 25.5835C137.739 24.4425 137.47 23.7739 137.942 22.8989C138.814 21.2889 137.071 19.679 135.73 20.8199C134.992 21.3554 134.456 21.1559 133.448 20.015C132.643 19.2099 131.905 17.9359 131.772 17.1974C131.639 16.1929 131.033 15.857 129.423 15.857C127.008 15.7905 125.199 14.5164 125.199 12.8399C125.199 11.3629 123.589 10.6945 122.651 11.6324C121.576 12.7069 117.821 10.9604 117.821 9.48694C117.821 8.81494 117.418 8.07996 117.016 7.94345C116.547 7.74048 135.93 7.60745 160.073 7.60745C184.223 7.60745 203.606 7.74048 203.203 7.94345ZM207.83 8.34598C206.22 8.81497 205.415 8.81494 204.88 8.27945C204.278 7.67395 204.813 7.47446 207.092 7.54095L210.042 7.60745L207.83 8.34598ZM106.761 15.857C112.728 17.4669 122.322 22.3635 127.082 26.252C133.119 31.215 138.282 37.7214 141.701 44.83C154.847 71.7239 143.714 103.983 116.683 117.196C89.922 130.342 57.3965 119.142 44.3835 92.3145C40.0225 83.3264 39.0845 79.1685 39.0845 68.5074C39.0845 58.312 39.956 54.0209 43.778 45.838C51.422 29.2059 66.9165 17.6034 85.2915 14.5829C89.1205 13.9774 102.736 14.7824 106.761 15.857ZM240.895 15.857C246.862 17.4669 256.456 22.3635 261.216 26.252C267.253 31.215 272.416 37.7214 275.835 44.83C288.981 71.7239 277.848 103.983 250.821 117.196C224.06 130.342 191.534 119.142 178.521 92.3145C174.164 83.3264 173.222 79.1685 173.222 68.5074C173.222 58.312 174.094 54.0209 177.916 45.838C185.563 29.2059 201.054 17.6034 219.429 14.5829C223.255 13.9774 236.87 14.7824 240.895 15.857ZM168.998 42.751C169.736 43.556 167.993 47.042 166.786 47.042C165.242 47.042 164.437 49.121 165.645 50.059C166.786 50.9305 165.848 55.0885 164.504 55.0885C163.097 55.0885 162.558 57.234 163.765 57.906C165.442 58.9105 164.84 63.1385 163.027 63.1385C162.491 63.1385 162.089 63.7404 162.089 64.479C162.089 65.2175 162.558 65.8195 163.093 65.8195C163.832 65.8195 164.098 66.558 164.098 68.1679C164.098 69.6449 163.695 70.716 163.093 70.9189C161.819 71.4545 161.753 73.8694 163.027 73.8694C164.836 73.8694 165.442 78.094 163.765 79.102C162.558 79.774 163.093 81.9195 164.437 81.9195C164.906 81.9195 165.645 82.8575 166.047 83.9984C166.649 85.7415 166.583 86.2769 165.711 86.8824C164.437 87.8869 165.176 89.9659 166.786 89.9659C168.396 89.9659 169.869 93.8544 168.462 94.3934C167.724 94.7294 167.657 95.132 168.193 96.1365C168.595 96.875 169.334 97.2775 169.869 97.0744C171.143 96.6055 173.222 100.56 172.218 101.568C171.28 102.506 172.554 104.788 173.828 104.319C175.305 103.717 177.583 106.734 176.778 108.141C176.106 109.482 177.65 111.158 178.857 110.42C179.26 110.15 180.334 110.619 181.206 111.428C182.413 112.569 182.679 113.237 182.21 114.109C181.339 115.719 183.082 117.329 184.422 116.188C185.161 115.652 185.696 115.852 186.704 116.993C187.509 117.798 188.248 119.072 188.381 119.81C188.514 120.815 189.119 121.151 190.729 121.151C193.144 121.217 194.954 122.491 194.954 124.168C194.954 125.645 196.564 126.313 197.502 125.375C198.576 124.304 202.332 126.047 202.332 127.521C202.332 128.928 203.875 129.733 204.88 128.728C206.021 127.587 209.71 128.795 209.71 130.272C209.71 131.679 211.656 132.015 212.863 130.807C213.871 129.803 217.76 130.741 217.76 131.948C217.76 132.484 218.365 132.886 219.1 132.886C219.839 132.886 220.441 132.55 220.441 132.214C220.441 131.812 221.648 131.542 223.122 131.542C225.068 131.542 225.803 131.812 225.803 132.547C225.803 133.082 226.408 133.551 227.143 133.551C227.882 133.551 228.484 133.082 228.484 132.547C228.484 131.808 229.222 131.542 231.165 131.542C232.642 131.542 233.849 131.812 233.849 132.214C233.849 132.55 234.451 132.886 235.19 132.886C235.928 132.886 236.53 132.484 236.53 131.948C236.53 130.741 240.419 129.803 241.427 130.807C242.634 132.015 244.58 131.679 244.58 130.272C244.58 128.662 248.269 127.591 249.477 128.865C250.079 129.467 249.813 130.072 248.269 131.346C247.198 132.351 235.526 142.679 222.45 154.418C197.232 176.951 195.556 178.764 193.34 186.478C192.738 188.491 192.269 191.641 192.269 193.454C192.269 196.002 200.585 241.81 202.664 250.728L203 252.271H185.427C170.069 252.271 167.72 252.404 166.649 253.412C165.176 254.753 165.106 256.832 166.583 258.442C167.587 259.583 169.064 259.649 185.899 259.649C205.751 259.649 205.013 259.516 205.013 263.405V265.015H186.435C170.139 265.015 167.724 265.148 166.649 266.156C165.176 267.496 165.106 269.575 166.583 271.185C167.587 272.326 169.131 272.393 187.24 272.393H206.822L208.229 279.904C209.034 284.062 209.906 288.556 210.109 289.83L210.578 292.178L207.424 288.958C205.615 287.012 202.461 284.867 199.78 283.593C195.689 281.647 194.681 281.447 188.916 281.447C183.148 281.447 182.144 281.65 178.052 283.593C172.351 286.277 167.923 290.701 165.242 296.403C163.296 300.494 163.097 301.499 163.097 307.267C163.097 312.429 163.433 314.242 164.64 316.99C166.852 321.886 169.201 324.97 172.687 327.654L175.704 330.069H173.089C168.595 330.069 110.985 325.442 110.583 325.04C110.38 324.84 110.583 324.704 110.985 324.704C111.454 324.704 111.79 324.098 111.79 323.43C111.79 321.886 113.67 321.081 114.874 322.089C116.081 323.027 117.086 322.292 116.683 320.749C116.347 319.342 118.36 318.267 119.364 319.275C120.302 320.213 121.912 318.873 121.443 317.665C121.041 316.594 122.315 315.653 124.194 315.653C125.066 315.653 125.535 315.184 125.535 314.312C125.535 312.3 126.473 311.159 127.883 311.628C129.36 312.097 130.365 310.823 129.29 309.748C128.352 308.81 130.295 306.528 131.572 306.997C132.713 307.466 133.651 305.923 132.577 305.254C131.436 304.582 132.913 301.835 134.187 302.304C135.394 302.773 136.266 301.296 135.328 300.358C134.12 299.15 134.456 297.876 136.266 297.204C138.075 296.532 138.478 295.328 137.004 294.789C135.863 294.32 136.402 291.839 137.676 291.839C139.153 291.839 139.552 290.362 138.348 289.424C136.941 288.416 137.477 285.801 139.02 285.801C139.556 285.801 139.958 285.332 139.958 284.793C139.958 284.254 139.489 283.785 138.954 283.785C138.352 283.785 137.949 283.183 137.949 282.109C137.949 281.034 138.352 280.432 138.954 280.432C139.489 280.432 139.958 279.963 139.958 279.424C139.958 278.889 139.556 278.42 139.02 278.42C137.477 278.42 136.941 275.805 138.348 274.797C139.556 273.859 139.153 272.382 137.676 272.382C136.402 272.382 135.867 269.901 137.004 269.432C138.478 268.896 138.079 267.689 136.266 267.017C134.456 266.345 134.12 265.071 135.328 263.863C136.266 262.925 135.394 261.448 134.187 261.917C132.913 262.386 131.436 259.635 132.577 258.967C133.651 258.295 132.846 256.954 131.303 256.954C129.56 256.954 128.419 255.547 129.29 254.539C130.295 253.332 129.357 252.124 127.883 252.593C126.476 253.062 125.535 251.921 125.535 249.912C125.535 249.041 125.066 248.572 124.194 248.572C122.385 248.572 121.041 247.634 121.443 246.559C121.912 245.285 120.439 244.078 119.497 244.883C118.223 245.957 116.344 244.883 116.68 243.476C117.082 241.932 116.078 241.194 114.87 242.135C113.663 243.14 111.787 242.335 111.787 240.861C111.787 239.388 110.044 238.583 109.508 239.857C109.039 241.197 106.425 240.259 106.425 238.782C106.425 237.442 104.815 237.039 104.076 238.177C103.474 239.115 100.923 238.982 101.192 238.044C101.392 237.575 116.417 233.683 136.336 228.989C157.528 223.96 172.484 220.068 174.563 219.063C190.124 211.493 194.954 191.172 184.555 177.018C181.269 172.524 176.978 169.64 168.861 166.287L161.886 163.403L169.061 163.067C175.231 162.797 176.439 162.531 177.244 161.457C178.584 159.577 178.385 157.232 176.841 155.689C175.567 154.415 174.629 154.348 157.927 154.348H140.357L115.14 143.887C101.325 138.119 89.25 133.023 88.312 132.484C86.6355 131.612 86.6355 131.612 89.1835 131.546C90.9265 131.546 91.665 131.815 91.665 132.55C91.665 133.086 92.267 133.555 93.0055 133.555C93.744 133.555 94.346 133.086 94.346 132.55C94.346 131.812 95.0845 131.546 97.0305 131.546C98.5075 131.546 99.7115 131.815 99.7115 132.218C99.7115 132.554 100.314 132.89 101.052 132.89C101.791 132.89 102.393 132.487 102.393 131.952C102.393 130.744 106.281 129.806 107.289 130.811C108.497 132.018 110.443 131.682 110.443 130.275C110.443 128.798 114.132 127.594 115.273 128.732C116.277 129.736 117.821 128.935 117.821 127.524C117.821 126.047 121.576 124.304 122.651 125.379C123.589 126.317 125.199 125.648 125.199 124.171C125.199 122.495 127.008 121.221 129.423 121.154C131.033 121.154 131.635 120.818 131.772 119.814C131.905 119.075 132.643 117.801 133.448 116.996C134.453 115.855 134.992 115.656 135.73 116.191C137.071 117.332 138.814 115.722 137.942 114.112C137.473 113.241 137.743 112.569 138.947 111.431C139.818 110.626 140.893 110.157 141.295 110.423C142.503 111.162 144.046 109.485 143.374 108.145C142.569 106.738 144.851 103.717 146.325 104.323C147.599 104.792 148.873 102.513 147.935 101.572C146.93 100.567 149.009 96.6089 150.283 97.0779C150.819 97.2774 151.557 96.8749 151.96 96.1399C152.495 95.1355 152.429 94.733 151.69 94.397C150.283 93.8615 151.757 89.9695 153.367 89.9695C154.844 89.9695 155.579 87.4879 154.305 86.7495C153.5 86.347 153.5 85.8114 154.105 84.0649C154.508 82.8575 155.246 81.9195 155.715 81.9195C156.923 81.9195 157.458 79.3715 156.317 78.969C154.774 78.367 155.11 74.4749 156.72 74.0724C158.263 73.67 158.529 71.5244 157.056 70.9189C156.454 70.716 156.051 69.6449 156.051 68.1679C156.051 66.558 156.321 65.8195 157.056 65.8195C157.591 65.8195 158.06 65.2175 158.06 64.479C158.06 63.7404 157.658 63.1385 157.122 63.1385C155.379 63.1385 154.641 58.7109 156.317 58.0424C157.458 57.64 156.919 55.0919 155.715 55.0919C155.246 55.0919 154.508 54.154 154.105 52.9465C153.503 51.2035 153.503 50.6679 154.305 50.2654C155.579 49.5269 154.84 47.0454 153.367 47.0454C152.159 47.0454 150.416 43.5594 151.155 42.7545C151.694 42.2155 168.462 42.2155 168.998 42.751ZM297.094 43.2865C299.978 44.4275 303.464 48.519 303.933 51.2C304.133 52.4074 304.269 62.603 304.133 73.8694L303.933 94.327L285.824 125.512C275.898 142.679 267.246 158.174 266.578 160.05C265.57 163.067 265.437 166.49 265.37 191.84C265.37 228.727 266.308 226.515 249.274 231.075C244.311 232.416 238.879 234.229 237.202 235.03C233.044 236.976 228.417 241.803 226.069 246.566L224.123 250.591L223.787 291.503C223.517 320.878 223.251 332.817 222.646 333.755C221.438 335.834 218.285 338.651 216.209 339.39C214.935 339.925 192.535 340.128 145.586 340.128C88.7145 340.128 76.5065 339.995 74.697 339.19C72.0825 338.119 69.1985 335.099 68.257 332.551C67.585 330.741 67.1825 320.01 67.788 320.01C67.991 320.01 69.531 320.882 71.344 322.023C73.087 323.097 76.979 324.774 79.863 325.712C84.826 327.388 88.7145 327.791 138.345 331.546L191.531 335.638L196.025 334.43C204.61 332.082 212.055 325.442 215.138 317.329C217.686 310.756 217.553 306.665 214.13 289.095C212.454 280.376 211.047 272.998 211.047 272.799C211.047 272.599 212.454 272.396 214.2 272.396C219.097 272.396 221.375 269.243 218.628 266.226C217.823 265.354 216.549 265.018 213.598 265.018C211.05 265.018 209.573 264.752 209.44 264.147C209.241 263.744 208.971 262.537 208.768 261.462L208.366 259.653H212.86C217.69 259.653 219.769 258.578 219.769 256.097C219.769 253.213 217.956 252.275 212.391 252.275C207.561 252.275 207.158 252.142 206.826 250.731C206.353 248.848 198.975 210.285 198.975 209.75C198.975 209.547 200.382 210.824 202.195 212.501C203.938 214.177 207.291 216.526 209.706 217.667C213.595 219.546 214.736 219.746 220.437 219.746C226.139 219.746 227.276 219.546 231.168 217.667C236.733 215.052 241.563 210.222 244.181 204.654C246.061 200.765 246.26 199.624 246.26 193.923C246.26 188.221 246.061 187.08 244.181 183.192C240.023 174.473 231.973 168.772 222.653 168.033C220.171 167.834 216.752 167.967 215.142 168.303C212.258 168.975 212.258 168.975 213.465 167.767C215.411 165.958 258.734 127.325 266.851 120.216C280.13 108.614 286.5 98.6879 290.591 83.2635C292.334 76.8935 292.334 60.5274 290.591 53.7549C289.853 51.0039 288.781 47.4514 288.043 45.8415C287.371 44.2314 286.836 42.758 286.836 42.6215C286.836 41.946 295.152 42.4149 297.094 43.2865ZM32.648 44.0249C32.648 44.158 32.179 45.502 31.6435 46.8424C29.0955 53.615 28.357 58.1089 28.357 68.1679C28.2905 79.6375 29.2285 84.6004 33.2535 93.9874C39.6235 108.943 51.429 120.948 66.3845 127.79C68.999 129.064 84.224 135.434 100.188 142.007L129.094 154.012L103.607 154.348C79.3975 154.684 78.12 154.751 77.182 155.958C75.8415 157.838 76.041 160.183 77.5845 161.726C78.8585 163 79.863 163.067 115.007 163.067L151.022 163.133L156.387 165.345L161.686 167.624L158.267 168.093C150.084 169.167 142.104 175.268 138.348 183.185C136.469 187.073 136.269 188.214 136.269 193.916C136.269 199.684 136.469 200.688 138.415 204.78C141.701 211.755 147.602 216.851 154.914 219.063C157.329 219.735 156.121 220.138 131.103 226.039C78.5225 238.513 77.651 238.712 72.352 241.6L67.522 244.284V236.703C67.522 232.545 67.186 227.918 66.7835 226.511C66.381 225.034 56.9905 205.585 45.9935 183.251L25.942 142.679V97.274C25.942 66.8239 26.2115 51.2 26.6805 49.926C27.6885 47.1785 32.648 42.282 32.648 44.0249ZM312.12 118.603C317.751 121.823 322.315 124.64 322.245 124.84C321.237 127.188 303.132 156.966 302.663 156.966C302.327 157.033 297.567 154.418 292.135 151.198L282.205 145.364L283.749 142.613C293.608 125.512 301.119 112.768 301.455 112.768C301.655 112.768 306.485 115.383 312.12 118.603ZM253.568 126.45C252.896 126.985 252.161 127.255 251.958 127.122C251.622 126.719 253.365 125.512 254.24 125.512C254.643 125.512 254.307 125.914 253.568 126.45ZM170.944 173.598C175.305 175.611 179.865 179.972 182.011 184.462C184.492 189.492 184.692 197.874 182.413 202.771C180.401 207.198 175.977 211.692 171.549 213.838C168.329 215.448 166.989 215.714 162.092 215.714C157.196 215.714 155.855 215.448 152.635 213.838C137.68 206.526 135.667 186.877 148.813 176.279C154.511 171.722 164.035 170.581 170.944 173.598ZM229.292 173.598C233.653 175.611 238.214 179.972 240.359 184.462C242.841 189.492 243.044 197.874 240.762 202.771C238.749 207.198 234.325 211.692 229.898 213.838C226.678 215.448 225.337 215.714 220.441 215.714C215.544 215.714 214.204 215.448 210.984 213.838C196.028 206.526 194.016 186.877 207.162 176.279C212.86 171.722 222.383 170.581 229.292 173.598ZM103.338 245.562C106.222 246.3 110.11 247.707 111.99 248.715C116.484 251.064 125.069 259.646 127.414 264.14C129.829 268.7 131.908 276.95 131.908 282.112C131.908 287.275 129.829 295.524 127.414 300.085C125.066 304.579 116.484 313.164 111.99 315.509C107.429 317.924 99.1795 320.003 94.017 320.003C88.8545 320.003 80.605 317.924 76.0445 315.509C71.5505 313.161 62.965 304.579 60.62 300.085C58.205 295.524 56.126 287.275 56.126 282.112C56.126 276.946 58.205 268.7 60.62 264.14C63.035 259.646 71.5505 251.06 76.0445 248.715C84.1575 244.421 94.283 243.213 103.338 245.562ZM198.373 286.606C202.934 288.685 207.092 292.91 209.507 297.74C211.117 301.026 211.386 302.367 211.386 307.263C211.386 314.172 209.577 318.666 204.95 323.293C200.323 327.92 195.829 329.73 188.92 329.73C184.023 329.73 182.683 329.46 179.396 327.85C174.566 325.502 170.408 321.344 168.196 316.65C166.719 313.567 166.453 312.023 166.453 307.26C166.453 302.496 166.723 300.956 168.196 297.869C170.076 293.911 174.5 289.018 177.786 287.341C184.223 283.992 192.07 283.722 198.373 286.606ZM109.778 324.767C109.778 325.103 109.039 325.372 108.101 325.372C106.222 325.372 105.823 324.298 107.632 323.829C108.973 323.563 109.778 323.895 109.778 324.767Z");
			attr(path1, "fill", "#76D355");
			attr(path2, "d", "M85.0289 38.0582C68.4634 42.4857 58.2679 59.7862 62.4959 76.2188C66.5874 91.8463 81.8789 101.972 97.7724 99.5568C114.873 96.8758 126.679 80.7792 124.061 63.7412C121.177 45.4327 102.735 33.2947 85.0289 38.0582ZM102.802 46.6402C107.964 48.9888 112.528 53.5492 114.94 58.7117C116.55 62.1977 116.819 63.6748 116.819 68.5048C116.819 73.3348 116.55 74.8083 114.94 78.2978C112.525 83.4603 107.964 88.0242 102.732 90.4357C99.3124 92.0457 97.8354 92.3118 93.0054 92.3118C88.1754 92.3118 86.7019 92.0422 83.2789 90.4357C78.0464 88.0207 73.4859 83.4603 71.0709 78.2978C69.4609 74.8118 69.1949 73.3348 69.1949 68.5048C69.1949 63.6748 69.4644 62.2012 71.0709 58.7782C76.8459 46.5072 90.7304 41.1417 102.802 46.6402Z");
			attr(path2, "fill", "#76D355");
			attr(path3, "d", "M86.506 58.175L80.269 61.8641V69.1755V76.487L86.639 80.2425L93.009 83.998L99.379 80.2425L105.749 76.487V69.1755V61.8641L99.4455 58.1086C95.9595 56.0961 93.0055 54.4195 92.8725 54.4195C92.8095 54.486 89.859 56.096 86.506 58.175ZM97.5695 61.7975C101.528 64.2125 102.802 69.711 100.387 73.6695C94.6855 83.06 80.2655 74.8771 85.2985 65.0841C87.577 60.7896 93.345 59.2495 97.5695 61.7975Z");
			attr(path3, "fill", "#76D355");
			attr(path4, "d", "M219.163 38.0587C213.797 39.4657 209.17 42.2167 205.012 46.3747C195.02 56.3672 192.808 71.0567 199.514 83.5307C201.862 87.8917 207.763 93.7927 212.124 96.1377C224.598 102.844 239.288 100.632 249.28 90.6392C259.273 80.6467 261.488 65.9572 254.779 53.4832C252.43 49.1222 246.529 43.2212 242.172 40.8762C235.193 37.1172 226.541 36.0462 219.163 38.0587ZM233.852 45.4332C240.625 47.4457 245.924 52.0727 249.077 58.7787C250.687 62.1982 250.953 63.6752 250.953 68.5052C250.953 73.3352 250.684 74.8087 249.077 78.2982C246.662 83.4607 242.102 88.0247 236.869 90.4362C233.45 92.0462 231.973 92.3122 227.143 92.3122C222.313 92.3122 220.839 92.0427 217.416 90.4362C210.71 87.2827 206.083 81.9837 204.071 75.2112C198.709 57.1722 215.81 40.0677 233.852 45.4332Z");
			attr(path4, "fill", "#76D355");
			attr(path5, "d", "M220.64 58.175L214.403 61.8641V69.1755V76.487L220.773 80.2425L227.146 83.998L233.516 80.2425L239.886 76.487V69.1755V61.8641L233.583 58.1086C230.097 56.0961 227.146 54.4195 227.01 54.4195C226.943 54.486 223.993 56.096 220.64 58.175ZM231.703 61.7975C235.662 64.2125 236.936 69.711 234.521 73.6695C228.819 83.06 214.399 74.8771 219.429 65.0841C221.711 60.7896 227.479 59.2495 231.703 61.7975Z");
			attr(path5, "fill", "#76D355");
			attr(path6, "d", "M147.336 132.488C145.527 134.7 148.544 137.318 150.556 135.306C151.428 134.434 151.494 133.965 150.959 133.024C149.951 131.48 148.407 131.281 147.336 132.488Z");
			attr(path6, "fill", "#76D355");
			attr(path7, "d", "M179.525 149.924C177.716 152.136 180.733 154.754 182.745 152.741C183.617 151.87 183.683 151.401 183.148 150.463C182.143 148.916 180.6 148.716 179.525 149.924Z");
			attr(path7, "fill", "#76D355");
			attr(path8, "d", "M205.013 149.924C203.203 152.136 206.22 154.754 208.233 152.741C209.104 151.87 209.171 151.401 208.635 150.463C207.627 148.916 206.087 148.716 205.013 149.924Z");
			attr(path8, "fill", "#76D355");
			attr(path9, "d", "M138.215 240.466C137.477 242.346 138.485 243.686 140.427 243.417C141.901 243.284 142.303 242.881 142.303 241.537C142.303 240.197 141.901 239.794 140.427 239.661C139.22 239.528 138.481 239.794 138.215 240.466Z");
			attr(path9, "fill", "#76D355");
			attr(path10, "d", "M164.37 240.465C163.698 242.208 164.64 243.685 166.25 243.415C167.391 243.282 167.793 242.743 167.793 241.536C167.793 240.328 167.391 239.793 166.25 239.66C165.375 239.527 164.57 239.859 164.37 240.465Z");
			attr(path10, "fill", "#76D355");
			attr(path11, "d", "M189.857 240.465C189.185 242.208 190.123 243.685 191.737 243.415C192.878 243.282 193.277 242.743 193.277 241.536C193.277 240.328 192.874 239.793 191.737 239.66C190.862 239.527 190.057 239.859 189.857 240.465Z");
			attr(path11, "fill", "#76D355");
			attr(path12, "d", "M145.324 256.966C144.585 257.704 143.983 258.912 143.983 259.65C143.983 260.389 144.585 261.596 145.324 262.331C146.062 263.07 147.27 263.672 148.008 263.672C148.747 263.672 149.954 263.07 150.693 262.331C151.431 261.593 152.033 260.385 152.033 259.65C152.033 258.912 151.431 257.704 150.693 256.966C149.954 256.227 148.747 255.625 148.008 255.625C147.266 255.622 146.062 256.227 145.324 256.966Z");
			attr(path12, "fill", "#76D355");
			attr(path13, "d", "M158.067 277.755C157.329 278.493 156.727 279.701 156.727 280.439C156.727 281.178 157.329 282.385 158.067 283.12C158.806 283.859 160.013 284.461 160.752 284.461C161.49 284.461 162.698 283.855 163.433 283.12C164.171 282.382 164.773 281.174 164.773 280.439C164.773 279.704 164.171 278.493 163.433 277.755C162.694 277.016 161.487 276.414 160.752 276.414C160.017 276.414 158.802 277.016 158.067 277.755Z");
			attr(path13, "fill", "#76D355");
			attr(path14, "d", "M253.302 149.924C251.493 152.136 254.51 154.754 256.522 152.741C257.394 151.87 257.46 151.401 256.925 150.463C255.917 148.916 254.373 148.716 253.302 149.924Z");
			attr(path14, "fill", "#76D355");
			attr(path15, "d", "M50.1551 143.887C44.3205 147.107 46.8021 156.361 53.4416 156.361C56.8611 156.361 60.1476 153.075 60.1476 149.722C60.1476 144.692 54.5791 141.406 50.1551 143.887Z");
			attr(path15, "fill", "#76D355");
			attr(path16, "d", "M51.429 163.739C50.6905 164.478 50.0885 165.685 50.0885 166.42C50.0885 167.159 50.6905 168.366 51.429 169.105C52.1675 169.843 53.375 170.445 54.11 170.445C54.8485 170.445 56.056 169.843 56.7945 169.105C57.533 168.366 58.135 167.159 58.135 166.42C58.135 165.682 57.533 164.474 56.7945 163.739C56.056 163.001 54.8485 162.399 54.11 162.399C53.375 162.399 52.1675 163.001 51.429 163.739Z");
			attr(path16, "fill", "#76D355");
			attr(path17, "d", "M73.0906 168.299C56.2556 174.337 54.8486 197.272 70.7421 205.119C76.1741 207.804 83.0166 207.804 88.4486 205.119C95.4906 201.633 99.3126 195.529 99.3791 187.479V182.716L100.72 185.131C102.33 188.015 106.89 190.563 110.446 190.563C115.679 190.496 121.111 185.064 121.177 179.832C121.177 175.873 118.629 171.649 115.14 169.906C113.53 169.101 111.115 168.429 109.774 168.429C104.542 168.495 99.1096 173.927 99.0431 179.093V181.442L97.3001 177.956C93.0091 169.374 82.2116 165.013 73.0906 168.299ZM85.2986 171.586C91.4691 173.665 96.3656 180.574 96.3656 187.213C96.3656 196.94 87.5141 204.787 77.7876 203.779C63.9066 202.372 57.9356 185.404 67.8616 175.474C72.4886 170.781 78.8586 169.374 85.2986 171.586ZM114.405 171.652C117.086 173.059 119.165 176.549 119.165 179.499C119.165 184.126 114.737 188.554 110.11 188.554C105.483 188.554 101.059 184.13 101.059 179.499C101.059 174.869 105.487 170.448 110.114 170.448C111.251 170.448 113.197 170.984 114.405 171.652Z");
			attr(path17, "fill", "#76D355");
			attr(path18, "d", "M75.0365 178.226C66.2515 182.72 68.733 195.999 78.5225 197.073C86.2365 197.945 91.9345 189.965 88.6515 182.923C86.303 178.026 79.8665 175.811 75.0365 178.226ZM82.7505 183.994C84.6965 185.803 84.6965 188.355 82.817 190.364C81.0075 192.31 78.456 192.31 76.447 190.43C74.501 188.621 74.501 186.069 76.3805 184.06C78.1865 182.118 80.738 182.118 82.7505 183.994Z");
			attr(path18, "fill", "#76D355");
			attr(path19, "d", "M107.362 174.605C105.885 175.277 104.412 177.759 104.412 179.502C104.412 182.519 107.296 185.203 110.516 185.203C112.259 185.203 115.815 181.647 115.815 179.904C115.811 175.34 111.454 172.593 107.362 174.605ZM112.056 178.627C112.591 179.565 112.525 180.034 111.653 180.909C109.641 182.921 106.624 180.303 108.433 178.091C109.508 176.884 111.051 177.087 112.056 178.627Z");
			attr(path19, "fill", "#76D355");
			attr(path20, "d", "M101.528 197.14C100.051 198.75 100.121 200.829 101.595 202.17C102.669 203.178 104.815 203.311 117.289 203.311C130.368 203.311 131.775 203.178 132.78 202.103C134.257 200.493 134.187 198.414 132.713 197.074C131.639 196.069 129.493 195.933 117.019 195.933C103.943 195.933 102.533 196.069 101.528 197.14Z");
			attr(path20, "fill", "#76D355");
			attr(path21, "d", "M108.906 207.198C107.429 208.808 107.499 210.887 108.973 212.227C110.852 213.97 123.862 213.904 125.405 212.161C126.882 210.551 126.812 208.472 125.339 207.131C123.459 205.388 110.446 205.455 108.906 207.198Z");
			attr(path21, "fill", "#76D355");
			attr(path22, "d", "M90.328 217.394C89.5895 218.133 88.9875 219.34 88.9875 220.079C88.9875 220.817 89.5895 222.025 90.328 222.763C91.0665 223.502 92.274 224.104 93.009 224.104C93.7475 224.104 94.955 223.502 95.6935 222.763C96.432 222.025 97.034 220.817 97.034 220.079C97.034 219.34 96.432 218.133 95.6935 217.394C94.955 216.656 93.7475 216.054 93.009 216.054C92.274 216.054 91.0665 216.656 90.328 217.394Z");
			attr(path22, "fill", "#76D355");
			attr(path23, "d", "M108.906 217.26C107.429 218.87 107.499 220.949 108.973 222.29C110.852 224.033 123.862 223.966 125.405 222.223C126.882 220.613 126.812 218.534 125.339 217.194C123.459 215.447 110.446 215.514 108.906 217.26Z");
			attr(path23, "fill", "#76D355");
			attr(path24, "d", "M157.059 182.453C146.73 187.213 147 201.23 157.528 205.658C160.681 206.932 163.495 206.932 166.649 205.658C177.38 201.164 177.38 186.677 166.649 182.183C163.362 180.843 160.345 180.909 157.059 182.453ZM166.18 189.831C167.521 191.171 168.126 192.445 168.126 193.922C168.126 196.806 164.973 199.96 162.089 199.96C159.205 199.96 156.051 196.806 156.051 193.922C156.051 192.445 156.653 191.171 157.997 189.831C159.338 188.49 160.612 187.885 162.089 187.885C163.566 187.885 164.839 188.487 166.18 189.831Z");
			attr(path24, "fill", "#76D355");
			attr(path25, "d", "M215.407 182.453C205.079 187.213 205.348 201.23 215.876 205.658C219.03 206.932 221.844 206.932 224.997 205.658C235.728 201.164 235.728 186.677 224.997 182.183C221.711 180.843 218.694 180.909 215.407 182.453ZM224.528 189.831C225.869 191.171 226.474 192.445 226.474 193.922C226.474 196.806 223.321 199.96 220.437 199.96C217.553 199.96 214.4 196.806 214.4 193.922C214.4 191.038 217.553 187.885 220.437 187.885C221.914 187.885 223.188 188.487 224.528 189.831Z");
			attr(path25, "fill", "#76D355");
			attr(path26, "d", "M87.9795 261.189C83.552 262.666 81.4065 264.073 78.1865 267.493C74.228 271.717 72.5515 276.078 72.5515 282.112C72.5515 288.283 74.228 292.574 78.386 296.935C82.9465 301.765 87.171 303.508 94.0135 303.508C100.856 303.508 105.081 301.765 109.641 296.935C113.799 292.574 115.476 288.283 115.476 282.112C115.476 279.095 115.007 276.211 114.202 274.062C112.459 269.568 107.293 264.203 102.869 262.327C98.644 260.451 91.735 259.982 87.9795 261.189ZM100.723 266.621C104.545 268.364 107.832 271.518 109.575 275.004C111.318 278.56 111.185 286.001 109.305 289.49C106.019 295.727 100.989 298.811 94.0135 298.811C86.702 298.877 81.6725 295.591 78.5225 288.818C72.0195 275.07 86.975 260.115 100.723 266.621Z");
			attr(path26, "fill", "#76D355");
			attr(path27, "d", "M89.4564 274.266L84.9624 276.747V282.113V287.478L89.5229 289.96L94.0169 292.441L98.5774 289.96L103.071 287.478V282.113V276.747L98.5109 274.266L94.0169 271.784L89.4564 274.266ZM98.5109 277.755C100.32 279.565 100.523 280.17 100.187 282.585C99.7184 286.071 97.9754 287.818 94.4859 288.287C92.0709 288.623 91.4689 288.42 89.6559 286.61C86.9049 283.793 86.8384 280.44 89.5894 277.692C92.3404 274.938 95.6934 275.004 98.5109 277.755Z");
			attr(path27, "fill", "#76D355");
			attr(path28, "d", "M183.887 295.797C173.558 300.557 173.828 314.574 184.356 319.002C187.509 320.276 190.323 320.276 193.477 319.002C204.208 314.508 204.208 300.021 193.477 295.527C190.19 294.187 187.173 294.253 183.887 295.797ZM194.751 299.08C197.635 301.092 199.178 304.781 198.776 308.334C198.174 313.969 193.41 317.791 187.845 317.119C174.969 315.712 176.712 296.329 189.655 297.4C191.398 297.54 193.68 298.275 194.751 299.08Z");
			attr(path28, "fill", "#76D355");
			attr(path29, "d", "M186.099 302.769C183.75 304.11 183.551 304.512 183.551 307.263C183.551 310.081 183.75 310.417 186.232 311.824L188.916 313.367L191.597 311.824C194.079 310.417 194.278 310.081 194.278 307.263C194.278 304.446 194.079 304.11 191.597 302.703C190.19 301.898 188.916 301.226 188.78 301.226C188.647 301.296 187.439 301.964 186.099 302.769ZM191.198 304.985C193.277 306.997 191.8 310.62 188.916 310.62C187.306 310.62 185.563 308.877 185.563 307.267C185.563 305.657 187.306 303.914 188.916 303.914C189.588 303.91 190.659 304.379 191.198 304.985Z");
			attr(path29, "fill", "#76D355");
			attr(circle, "cx", "174");
			attr(circle, "cy", "174");
			attr(circle, "r", "60");
			attr(circle, "fill", "#76D355");
			attr(path30, "d", "M201.835 162.433L169.529 194.958C168.722 195.77 167.406 195.77 166.594 194.958L165.939 194.303V194.308L165.234 193.591L162.187 190.528C162.17 190.506 162.165 190.478 162.142 190.461L148.17 176.287C147.358 175.47 147.358 174.148 148.17 173.331L152.572 168.895C153.384 168.078 154.694 168.078 155.506 168.895L168.073 181.635L194.488 155.041C195.3 154.223 196.61 154.223 197.428 155.041L201.835 159.476C202.642 160.294 202.642 161.615 201.835 162.433Z");
			attr(path30, "fill", "white");
			attr(svg, "width", "350");
			attr(svg, "height", "350");
			attr(svg, "viewBox", "0 0 350 350");
			attr(svg, "fill", "none");
			attr(svg, "xmlns", "http://www.w3.org/2000/svg");
			attr(svg, "class", "svelte-1nyso4n");
		},
		m(target, anchor) {
			insert(target, svg, anchor);
			append(svg, path0);
			append(svg, path1);
			append(svg, path2);
			append(svg, path3);
			append(svg, path4);
			append(svg, path5);
			append(svg, path6);
			append(svg, path7);
			append(svg, path8);
			append(svg, path9);
			append(svg, path10);
			append(svg, path11);
			append(svg, path12);
			append(svg, path13);
			append(svg, path14);
			append(svg, path15);
			append(svg, path16);
			append(svg, path17);
			append(svg, path18);
			append(svg, path19);
			append(svg, path20);
			append(svg, path21);
			append(svg, path22);
			append(svg, path23);
			append(svg, path24);
			append(svg, path25);
			append(svg, path26);
			append(svg, path27);
			append(svg, path28);
			append(svg, path29);
			append(svg, circle);
			append(svg, path30);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(svg);
		}
	};
}

// (245:4) {#if !oilStats.success}
function change_oil_engine_index_svelte_create_if_block(ctx) {
	let svg;
	let path0;
	let mask;
	let path1;
	let g;
	let path2;
	let path2_style_value;
	let path3;
	let path3_style_value;
	let path4;
	let path5;
	let path6;
	let path7;
	let path8;
	let path9;
	let path10;
	let path11;
	let path12;
	let path13;
	let path14;
	let path15;
	let path16;
	let path17;
	let path18;
	let path19;
	let path20;
	let path21;
	let path22;
	let path23;
	let path24;
	let path25;
	let path26;
	let path27;
	let path28;
	let path29;
	let path30;
	let path31;
	let path32;

	return {
		c() {
			svg = svg_element("svg");
			path0 = svg_element("path");
			mask = svg_element("mask");
			path1 = svg_element("path");
			g = svg_element("g");
			path2 = svg_element("path");
			path3 = svg_element("path");
			path4 = svg_element("path");
			path5 = svg_element("path");
			path6 = svg_element("path");
			path7 = svg_element("path");
			path8 = svg_element("path");
			path9 = svg_element("path");
			path10 = svg_element("path");
			path11 = svg_element("path");
			path12 = svg_element("path");
			path13 = svg_element("path");
			path14 = svg_element("path");
			path15 = svg_element("path");
			path16 = svg_element("path");
			path17 = svg_element("path");
			path18 = svg_element("path");
			path19 = svg_element("path");
			path20 = svg_element("path");
			path21 = svg_element("path");
			path22 = svg_element("path");
			path23 = svg_element("path");
			path24 = svg_element("path");
			path25 = svg_element("path");
			path26 = svg_element("path");
			path27 = svg_element("path");
			path28 = svg_element("path");
			path29 = svg_element("path");
			path30 = svg_element("path");
			path31 = svg_element("path");
			path32 = svg_element("path");
			attr(path0, "d", "M64.5996 333.252L74.8535 342.139H216.699L226.953 335.645V289.844V248.145L240.625 237.207L261.133 230.371L269.336 221.143V162.695L278.223 147.998L305.566 160.303L325.732 125.781L320.264 118.945L301.465 109.033L305.566 100.488L307.617 84.4238L305.566 47.5098L293.604 40.6738L280.957 37.5977L257.031 15.7227L226.953 5.12695H101.514L78.2715 10.2539C67.6758 16.6341 46.0059 29.668 44.0918 30.7617C42.1777 31.8555 36.9141 37.8255 34.5215 40.6738L22.9004 45.459V88.1836V144.922L48.5352 193.115L64.5996 225.244V250.195L53.6621 273.779V294.629L64.5996 312.061V333.252Z");
			attr(path0, "fill", "white");
			attr(path0, "fill-opacity", "0.1");
			attr(path1, "d", "M62.6862 337.982L73.1828 347H218.386L228.883 340.41V293.931V251.615L242.878 240.515L263.871 233.578L272.269 224.213V164.901L281.366 149.986L309.357 162.473L330 127.44L324.402 120.503L305.158 110.444L309.357 101.773L311.456 85.4706L309.357 48.0101L297.111 41.073L284.165 37.9513L259.673 15.7525L228.883 5H100.474L76.6817 10.2028C65.8352 16.6775 43.6524 29.9043 41.693 31.0142C39.7336 32.1241 34.3454 38.1826 31.8962 41.073L20 45.929V89.286V146.864L46.2415 195.771L62.6862 228.375V253.696L51.4898 277.629V298.787L62.6862 316.477V337.982Z");
			attr(path1, "fill", "white");
			attr(mask, "id", "mask0_1789_167");
			set_style(mask, "mask-type", "alpha");
			attr(mask, "maskUnits", "userSpaceOnUse");
			attr(mask, "x", "0");
			attr(mask, "y", "0");
			attr(mask, "width", "350");
			attr(mask, "height", "342");
			attr(path2, "style", path2_style_value = `transform: translateY(${CHANGE_OIL_ENGINE_OFFSET - /*oilStats*/ ctx[0].progress / 10 - /*oilStats*/ ctx[0].progress}%) translateX(-${/*oilStats*/ ctx[0].progress % 30}%)`);
			attr(path2, "class", "wave wave--1 svelte-1nyso4n");
			attr(path2, "d", "M331.943 223.532C390.017 280.395 485.195 299.652 525.524 302.173C544.932 328.638 583.598 385.197 582.993 399.715C582.388 414.233 513.677 546.913 479.397 611.438L127.776 619L-66.5611 595.559C-105.378 527.506 -159.722 367.202 -66.5611 270.414C49.8898 149.429 259.35 152.454 331.943 223.532Z");
			attr(path2, "fill", "#F2C94C");
			attr(path2, "fill-opacity", "0.5");
			attr(path3, "style", path3_style_value = `transform: translateY(${CHANGE_OIL_ENGINE_OFFSET - /*oilStats*/ ctx[0].progress / 10 - /*oilStats*/ ctx[0].progress}%) translateX(${/*oilStats*/ ctx[0].progress % 30}%)`);
			attr(path3, "class", "wave wave--2 svelte-1nyso4n");
			attr(path3, "d", "M275.257 230.77C132.205 159.862 -21.1861 186.98 -80 209.403L7.82523 632H696.185C745.768 466.074 826.736 144.034 753.944 183.287C662.954 232.352 454.072 319.405 275.257 230.77Z");
			attr(path3, "fill", "#F2C94C");
			attr(path3, "fill-opacity", "0.75");
			attr(g, "mask", "url(#mask0_1789_167)");
			attr(path4, "d", "M81.2735 4.38744C67.7915 7.13844 56.259 13.3089 46.935 22.7624C44.051 25.7129 40.6315 29.8045 39.3575 31.817C37.345 34.9705 36.6065 35.5725 34.461 35.9085C28.9625 36.8465 23.863 40.6684 21.049 45.9674L19.572 48.7185V97.0079V145.297L40.026 186.478L60.48 227.726L60.6795 238.926L60.8825 250.192L57.8655 253.881C51.828 261.259 48.0725 272.19 48.0725 282.116C48.0725 291.905 52.2305 303.644 58.1315 310.686L60.6795 313.703L60.949 323.762C61.1485 332.481 61.3515 334.091 62.6255 336.506C64.5015 340.062 67.5885 343.145 71.141 345.025L73.892 346.502H145.652H217.42L220.171 345.025C223.727 343.145 226.81 340.062 228.69 336.506C230.167 333.755 230.167 333.489 230.499 292.843C230.835 252.201 230.835 251.932 232.309 249.184C234.118 245.831 237.272 242.545 240.156 241.068C241.297 240.466 246.326 238.856 251.356 237.445C264.099 233.959 266.85 232.349 269.934 226.581L271.743 223.095L272.079 192.915C272.279 176.283 272.681 162.132 273.017 161.394C274.424 158.31 278.516 151.667 278.985 151.667C279.321 151.667 284.753 154.684 291.056 158.373C301.987 164.743 304.335 165.685 306.012 164.544C307.219 163.739 330.424 124.57 330.424 123.366C330.424 121.69 327.407 119.478 316.071 113.171C310.303 109.951 305.473 107 305.273 106.731C305.074 106.395 306.145 103.78 307.755 100.896L310.639 95.664V72.1895C310.639 45.9675 310.772 46.7725 305.676 41.4735C301.518 37.046 298.903 36.0415 290.517 35.772L283.139 35.5024L280.458 31.4774C273.416 20.7464 261.142 11.426 248.265 6.99847C237.667 3.37597 239.414 3.44594 159.4 3.51244C104.545 3.58244 84.224 3.85194 81.2735 4.38744ZM115.276 8.27945C114.74 8.81495 113.935 8.81497 112.325 8.34597L110.113 7.60744L113.13 7.54097C115.342 7.47447 115.881 7.67395 115.276 8.27945ZM203.203 7.94347C202.734 8.07647 202.331 8.81495 202.331 9.48695C202.331 10.964 198.576 12.7069 197.501 11.6324C196.563 10.6944 194.953 11.3629 194.953 12.8399C194.953 14.5164 193.144 15.7905 190.729 15.857C189.119 15.857 188.517 16.1929 188.38 17.1974C188.247 17.9359 187.509 19.2099 186.704 20.0149C185.699 21.1559 185.16 21.3554 184.422 20.8199C183.214 19.7454 181.538 21.2224 182.007 22.9654C182.476 24.5754 180.33 27.1234 178.986 26.5879C177.513 26.0524 176.102 27.5259 176.774 28.8699C177.579 30.2769 175.297 33.2975 173.824 32.692C172.819 32.356 171.209 34.4349 171.944 35.2399C172.147 35.4429 166.848 35.6424 160.072 35.6424C153.3 35.6424 148.001 35.4429 148.2 35.2399C148.939 34.4349 147.329 32.356 146.325 32.692C144.848 33.294 142.569 30.2769 143.374 28.8699C144.046 27.5294 142.502 25.8529 141.295 26.5879C140.892 26.8574 139.818 26.3885 138.946 25.5835C137.739 24.4425 137.469 23.7739 137.942 22.8989C138.813 21.2889 137.07 19.6789 135.73 20.8199C134.991 21.3554 134.456 21.1559 133.448 20.0149C132.643 19.2099 131.904 17.9359 131.771 17.1974C131.638 16.1929 131.033 15.857 129.423 15.857C127.008 15.7905 125.198 14.5164 125.198 12.8399C125.198 11.3629 123.588 10.6944 122.65 11.6324C121.576 12.7069 117.82 10.9605 117.82 9.48695C117.82 8.81495 117.418 8.07997 117.015 7.94347C116.546 7.74047 135.929 7.60744 160.072 7.60744C184.222 7.60744 203.605 7.74047 203.203 7.94347ZM207.83 8.34597C206.22 8.81497 205.415 8.81495 204.879 8.27945C204.277 7.67395 204.813 7.47447 207.091 7.54097L210.042 7.60744L207.83 8.34597ZM106.76 15.857C112.728 17.467 122.321 22.3635 127.081 26.252C133.119 31.215 138.281 37.7214 141.701 44.8299C154.847 71.7239 143.713 103.983 116.683 117.196C89.922 130.342 57.3965 119.142 44.3835 92.3145C40.0225 83.3265 39.0845 79.1684 39.0845 68.5074C39.0845 58.3119 39.956 54.0209 43.778 45.8379C51.422 29.2059 66.9165 17.6034 85.2915 14.5829C89.1205 13.9774 102.735 14.7825 106.76 15.857ZM240.894 15.857C246.862 17.467 256.455 22.3635 261.215 26.252C267.253 31.215 272.415 37.7214 275.835 44.8299C288.981 71.7239 277.847 103.983 250.82 117.196C224.059 130.342 191.534 119.142 178.521 92.3145C174.163 83.3265 173.222 79.1684 173.222 68.5074C173.222 58.3119 174.093 54.0209 177.915 45.8379C185.563 29.2059 201.054 17.6034 219.429 14.5829C223.254 13.9774 236.869 14.7825 240.894 15.857ZM168.997 42.751C169.736 43.556 167.993 47.042 166.785 47.042C165.242 47.042 164.437 49.121 165.644 50.059C166.785 50.9305 165.847 55.0885 164.503 55.0885C163.096 55.0885 162.557 57.234 163.765 57.906C165.441 58.9105 164.839 63.1384 163.026 63.1384C162.491 63.1384 162.088 63.7405 162.088 64.479C162.088 65.2175 162.557 65.8195 163.093 65.8195C163.831 65.8195 164.097 66.5579 164.097 68.1679C164.097 69.6449 163.695 70.716 163.093 70.919C161.819 71.4545 161.752 73.8695 163.026 73.8695C164.836 73.8695 165.441 78.094 163.765 79.102C162.557 79.774 163.093 81.9195 164.437 81.9195C164.906 81.9195 165.644 82.8574 166.047 83.9984C166.649 85.7414 166.582 86.2769 165.711 86.8824C164.437 87.8869 165.175 89.9659 166.785 89.9659C168.395 89.9659 169.869 93.8544 168.462 94.3934C167.723 94.7294 167.657 95.132 168.192 96.1365C168.595 96.875 169.333 97.2775 169.869 97.0745C171.143 96.6055 173.222 100.56 172.217 101.568C171.279 102.506 172.553 104.788 173.827 104.319C175.304 103.717 177.583 106.734 176.778 108.141C176.106 109.482 177.649 111.158 178.857 110.42C179.259 110.15 180.334 110.619 181.205 111.428C182.413 112.569 182.679 113.237 182.21 114.109C181.338 115.719 183.081 117.329 184.422 116.188C185.16 115.652 185.696 115.852 186.704 116.993C187.509 117.798 188.247 119.072 188.38 119.81C188.513 120.815 189.119 121.151 190.729 121.151C193.144 121.217 194.953 122.491 194.953 124.168C194.953 125.645 196.563 126.313 197.501 125.375C198.576 124.304 202.331 126.047 202.331 127.521C202.331 128.928 203.875 129.733 204.879 128.728C206.02 127.587 209.709 128.795 209.709 130.272C209.709 131.679 211.655 132.015 212.863 130.807C213.871 129.803 217.759 130.741 217.759 131.948C217.759 132.484 218.365 132.886 219.1 132.886C219.838 132.886 220.44 132.55 220.44 132.214C220.44 131.812 221.648 131.542 223.121 131.542C225.067 131.542 225.802 131.812 225.802 132.547C225.802 133.082 226.408 133.551 227.143 133.551C227.881 133.551 228.483 133.082 228.483 132.547C228.483 131.808 229.222 131.542 231.164 131.542C232.641 131.542 233.849 131.812 233.849 132.214C233.849 132.55 234.451 132.886 235.189 132.886C235.928 132.886 236.53 132.484 236.53 131.948C236.53 130.741 240.418 129.803 241.426 130.807C242.634 132.015 244.58 131.679 244.58 130.272C244.58 128.662 248.269 127.591 249.476 128.865C250.078 129.467 249.812 130.072 248.269 131.346C247.198 132.351 235.525 142.679 222.449 154.418C197.232 176.951 195.555 178.764 193.34 186.478C192.738 188.491 192.269 191.641 192.269 193.454C192.269 196.002 200.585 241.81 202.664 250.728L203 252.271H185.426C170.068 252.271 167.72 252.404 166.649 253.412C165.175 254.753 165.105 256.832 166.582 258.442C167.587 259.583 169.064 259.649 185.899 259.649C205.751 259.649 205.012 259.516 205.012 263.405V265.015H186.434C170.138 265.015 167.723 265.148 166.649 266.156C165.175 267.496 165.105 269.575 166.582 271.185C167.587 272.326 169.13 272.393 187.239 272.393H206.822L208.229 279.904C209.034 284.062 209.905 288.556 210.108 289.83L210.577 292.178L207.424 288.958C205.614 287.012 202.461 284.867 199.78 283.593C195.688 281.647 194.68 281.447 188.916 281.447C183.148 281.447 182.143 281.65 178.052 283.593C172.35 286.277 167.923 290.701 165.242 296.403C163.296 300.494 163.096 301.499 163.096 307.267C163.096 312.429 163.432 314.242 164.64 316.99C166.852 321.886 169.2 324.97 172.686 327.654L175.703 330.069H173.089C168.595 330.069 110.985 325.442 110.582 325.04C110.379 324.84 110.582 324.704 110.985 324.704C111.454 324.704 111.79 324.098 111.79 323.43C111.79 321.886 113.669 321.081 114.873 322.089C116.081 323.027 117.085 322.292 116.683 320.749C116.347 319.342 118.359 318.267 119.364 319.275C120.302 320.213 121.912 318.873 121.443 317.665C121.04 316.594 122.314 315.653 124.194 315.653C125.065 315.653 125.534 315.184 125.534 314.312C125.534 312.3 126.472 311.159 127.883 311.628C129.36 312.097 130.364 310.823 129.29 309.748C128.352 308.81 130.294 306.528 131.572 306.997C132.713 307.466 133.651 305.923 132.576 305.254C131.435 304.582 132.912 301.835 134.186 302.304C135.394 302.773 136.265 301.296 135.327 300.358C134.12 299.15 134.456 297.876 136.265 297.204C138.075 296.532 138.477 295.328 137.004 294.789C135.863 294.32 136.402 291.839 137.676 291.839C139.153 291.839 139.552 290.362 138.348 289.424C136.941 288.416 137.476 285.801 139.02 285.801C139.555 285.801 139.958 285.332 139.958 284.793C139.958 284.254 139.489 283.785 138.953 283.785C138.351 283.785 137.949 283.183 137.949 282.109C137.949 281.034 138.351 280.432 138.953 280.432C139.489 280.432 139.958 279.963 139.958 279.424C139.958 278.889 139.555 278.42 139.02 278.42C137.476 278.42 136.941 275.805 138.348 274.797C139.555 273.859 139.153 272.382 137.676 272.382C136.402 272.382 135.866 269.901 137.004 269.432C138.477 268.896 138.078 267.689 136.265 267.017C134.456 266.345 134.12 265.071 135.327 263.863C136.265 262.925 135.394 261.448 134.186 261.917C132.912 262.386 131.435 259.635 132.576 258.967C133.651 258.295 132.846 256.954 131.302 256.954C129.559 256.954 128.418 255.547 129.29 254.539C130.294 253.332 129.356 252.124 127.883 252.593C126.476 253.062 125.534 251.921 125.534 249.912C125.534 249.041 125.065 248.572 124.194 248.572C122.384 248.572 121.04 247.634 121.443 246.559C121.912 245.285 120.438 244.078 119.497 244.883C118.223 245.957 116.343 244.883 116.679 243.476C117.082 241.932 116.077 241.194 114.87 242.135C113.662 243.14 111.786 242.335 111.786 240.861C111.786 239.388 110.043 238.583 109.508 239.857C109.039 241.197 106.424 240.259 106.424 238.782C106.424 237.442 104.814 237.039 104.076 238.177C103.474 239.115 100.922 238.982 101.192 238.044C101.391 237.575 116.417 233.683 136.335 228.989C157.528 223.96 172.483 220.068 174.562 219.063C190.123 211.493 194.953 191.172 184.555 177.018C181.268 172.524 176.977 169.64 168.861 166.287L161.885 163.403L169.06 163.067C175.231 162.797 176.438 162.531 177.243 161.457C178.584 159.577 178.384 157.232 176.841 155.689C175.567 154.415 174.629 154.348 157.927 154.348H140.357L115.139 143.887C101.325 138.119 89.25 133.023 88.312 132.484C86.6355 131.612 86.6355 131.612 89.1835 131.546C90.9265 131.546 91.665 131.815 91.665 132.55C91.665 133.086 92.267 133.555 93.0055 133.555C93.744 133.555 94.346 133.086 94.346 132.55C94.346 131.812 95.0845 131.546 97.0305 131.546C98.5075 131.546 99.7115 131.815 99.7115 132.218C99.7115 132.554 100.313 132.89 101.052 132.89C101.79 132.89 102.392 132.487 102.392 131.952C102.392 130.744 106.281 129.806 107.289 130.811C108.496 132.018 110.442 131.682 110.442 130.275C110.442 128.798 114.131 127.594 115.272 128.732C116.277 129.736 117.82 128.935 117.82 127.524C117.82 126.047 121.576 124.304 122.65 125.379C123.588 126.317 125.198 125.648 125.198 124.171C125.198 122.495 127.008 121.221 129.423 121.154C131.033 121.154 131.635 120.818 131.771 119.814C131.904 119.075 132.643 117.801 133.448 116.996C134.452 115.855 134.991 115.656 135.73 116.191C137.07 117.332 138.813 115.722 137.942 114.112C137.473 113.241 137.742 112.569 138.946 111.431C139.818 110.626 140.892 110.157 141.295 110.423C142.502 111.162 144.046 109.485 143.374 108.145C142.569 106.738 144.851 103.717 146.325 104.323C147.599 104.792 148.873 102.513 147.935 101.572C146.93 100.567 149.009 96.6089 150.283 97.0779C150.818 97.2774 151.557 96.8749 151.96 96.1399C152.495 95.1354 152.428 94.733 151.69 94.397C150.283 93.8615 151.756 89.9695 153.366 89.9695C154.843 89.9695 155.579 87.488 154.305 86.7495C153.5 86.347 153.499 85.8114 154.105 84.0649C154.507 82.8574 155.246 81.9195 155.715 81.9195C156.922 81.9195 157.458 79.3715 156.317 78.969C154.774 78.367 155.11 74.4749 156.72 74.0724C158.263 73.6699 158.529 71.5245 157.055 70.919C156.453 70.716 156.051 69.6449 156.051 68.1679C156.051 66.5579 156.32 65.8195 157.055 65.8195C157.591 65.8195 158.06 65.2175 158.06 64.479C158.06 63.7405 157.658 63.1384 157.122 63.1384C155.379 63.1384 154.641 58.7109 156.317 58.0424C157.458 57.6399 156.919 55.092 155.715 55.092C155.246 55.092 154.507 54.154 154.105 52.9465C153.503 51.2035 153.503 50.6679 154.305 50.2654C155.579 49.5269 154.84 47.0454 153.366 47.0454C152.159 47.0454 150.416 43.5595 151.155 42.7545C151.694 42.2155 168.462 42.2155 168.997 42.751ZM297.094 43.2865C299.978 44.4275 303.464 48.5189 303.933 51.1999C304.132 52.4074 304.269 62.603 304.132 73.8695L303.933 94.327L285.824 125.512C275.898 142.679 267.246 158.174 266.577 160.05C265.569 163.067 265.436 166.49 265.37 191.84C265.37 228.727 266.308 226.515 249.273 231.075C244.31 232.416 238.878 234.229 237.202 235.03C233.044 236.976 228.417 241.803 226.068 246.566L224.122 250.591L223.786 291.503C223.517 320.878 223.251 332.817 222.645 333.755C221.438 335.834 218.284 338.651 216.209 339.39C214.935 339.925 192.535 340.128 145.586 340.128C88.7145 340.128 76.5065 339.995 74.697 339.19C72.0825 338.119 69.1985 335.099 68.257 332.551C67.585 330.741 67.1825 320.01 67.788 320.01C67.991 320.01 69.531 320.882 71.344 322.023C73.087 323.097 76.979 324.774 79.863 325.712C84.826 327.388 88.7145 327.791 138.344 331.546L191.53 335.638L196.024 334.43C204.61 332.082 212.054 325.442 215.138 317.329C217.686 310.756 217.553 306.665 214.13 289.095C212.453 280.376 211.046 272.998 211.046 272.799C211.046 272.599 212.453 272.396 214.2 272.396C219.096 272.396 221.375 269.243 218.627 266.226C217.822 265.354 216.548 265.018 213.598 265.018C211.05 265.018 209.573 264.752 209.44 264.147C209.24 263.744 208.971 262.537 208.768 261.462L208.365 259.653H212.859C217.689 259.653 219.768 258.578 219.768 256.097C219.768 253.213 217.955 252.275 212.39 252.275C207.56 252.275 207.158 252.142 206.825 250.731C206.353 248.848 198.975 210.285 198.975 209.75C198.975 209.547 200.382 210.824 202.195 212.501C203.938 214.177 207.291 216.526 209.706 217.667C213.594 219.546 214.735 219.746 220.437 219.746C226.138 219.746 227.276 219.546 231.168 217.667C236.733 215.052 241.563 210.222 244.181 204.654C246.06 200.765 246.26 199.624 246.26 193.923C246.26 188.221 246.06 187.08 244.181 183.192C240.023 174.473 231.973 168.772 222.652 168.033C220.171 167.834 216.751 167.967 215.141 168.303C212.257 168.975 212.257 168.975 213.465 167.767C215.411 165.958 258.734 127.325 266.85 120.216C280.129 108.614 286.499 98.6879 290.591 83.2634C292.334 76.8934 292.334 60.5274 290.591 53.7549C289.852 51.0039 288.781 47.4515 288.043 45.8415C287.371 44.2315 286.835 42.758 286.835 42.6215C286.835 41.946 295.151 42.415 297.094 43.2865ZM32.648 44.0249C32.648 44.1579 32.179 45.5019 31.6435 46.8424C29.0955 53.6149 28.357 58.1089 28.357 68.1679C28.2905 79.6374 29.2285 84.6004 33.2535 93.9874C39.6235 108.943 51.429 120.948 66.3845 127.79C68.999 129.064 84.224 135.434 100.187 142.007L129.094 154.012L103.607 154.348C79.3975 154.684 78.12 154.751 77.182 155.958C75.8415 157.838 76.041 160.183 77.5845 161.726C78.8585 163 79.863 163.067 115.006 163.067L151.021 163.133L156.387 165.345L161.686 167.624L158.266 168.093C150.083 169.167 142.103 175.268 138.348 183.185C136.468 187.073 136.269 188.214 136.269 193.916C136.269 199.684 136.468 200.688 138.414 204.78C141.701 211.755 147.602 216.851 154.913 219.063C157.328 219.735 156.121 220.138 131.103 226.039C78.5225 238.513 77.651 238.712 72.352 241.6L67.522 244.284V236.703C67.522 232.545 67.186 227.918 66.7835 226.511C66.381 225.034 56.9905 205.585 45.9935 183.251L25.942 142.679V97.274C25.942 66.824 26.2115 51.2 26.6805 49.926C27.6885 47.1785 32.648 42.2819 32.648 44.0249ZM312.119 118.603C317.751 121.823 322.315 124.64 322.245 124.84C321.237 127.188 303.131 156.966 302.662 156.966C302.326 157.033 297.566 154.418 292.134 151.198L282.205 145.364L283.748 142.613C293.608 125.512 301.119 112.768 301.455 112.768C301.654 112.768 306.484 115.383 312.119 118.603ZM253.568 126.45C252.896 126.985 252.161 127.255 251.958 127.122C251.622 126.719 253.365 125.512 254.24 125.512C254.642 125.512 254.306 125.914 253.568 126.45ZM170.943 173.598C175.304 175.611 179.865 179.972 182.01 184.462C184.492 189.492 184.691 197.874 182.413 202.771C180.4 207.198 175.976 211.692 171.549 213.838C168.329 215.448 166.988 215.714 162.092 215.714C157.196 215.714 155.855 215.448 152.635 213.838C137.679 206.526 135.667 186.877 148.813 176.279C154.511 171.722 164.034 170.581 170.943 173.598ZM229.292 173.598C233.653 175.611 238.213 179.972 240.359 184.462C242.84 189.492 243.043 197.874 240.761 202.771C238.749 207.198 234.325 211.692 229.897 213.838C226.677 215.448 225.337 215.714 220.44 215.714C215.544 215.714 214.203 215.448 210.983 213.838C196.028 206.526 194.015 186.877 207.161 176.279C212.859 171.722 222.383 170.581 229.292 173.598ZM103.337 245.562C106.221 246.3 110.11 247.707 111.989 248.715C116.483 251.064 125.069 259.646 127.414 264.14C129.829 268.7 131.908 276.95 131.908 282.112C131.908 287.275 129.829 295.524 127.414 300.085C125.065 304.579 116.483 313.164 111.989 315.509C107.429 317.924 99.1795 320.003 94.017 320.003C88.8545 320.003 80.605 317.924 76.0445 315.509C71.5505 313.161 62.965 304.579 60.62 300.085C58.205 295.524 56.126 287.275 56.126 282.112C56.126 276.946 58.205 268.7 60.62 264.14C63.035 259.646 71.5505 251.06 76.0445 248.715C84.1575 244.421 94.283 243.213 103.337 245.562ZM198.373 286.606C202.933 288.685 207.091 292.91 209.506 297.74C211.116 301.026 211.386 302.367 211.386 307.263C211.386 314.172 209.576 318.666 204.949 323.293C200.322 327.92 195.828 329.73 188.919 329.73C184.023 329.73 182.682 329.46 179.396 327.85C174.566 325.502 170.408 321.344 168.196 316.65C166.719 313.567 166.453 312.023 166.453 307.26C166.453 302.496 166.722 300.956 168.196 297.869C170.075 293.911 174.499 289.018 177.786 287.341C184.222 283.992 192.069 283.722 198.373 286.606ZM109.777 324.767C109.777 325.103 109.039 325.372 108.101 325.372C106.221 325.372 105.822 324.298 107.632 323.829C108.972 323.563 109.777 323.895 109.777 324.767Z");
			attr(path4, "fill", "white");
			attr(path5, "d", "M85.0289 38.0582C68.4634 42.4857 58.2679 59.7862 62.4959 76.2187C66.5874 91.8463 81.8789 101.972 97.7724 99.5568C114.873 96.8758 126.679 80.7792 124.061 63.7412C121.177 45.4327 102.735 33.2947 85.0289 38.0582ZM102.802 46.6402C107.964 48.9887 112.528 53.5492 114.94 58.7117C116.55 62.1977 116.819 63.6748 116.819 68.5048C116.819 73.3348 116.55 74.8083 114.94 78.2978C112.525 83.4603 107.964 88.0242 102.732 90.4357C99.3124 92.0457 97.8354 92.3118 93.0054 92.3118C88.1754 92.3118 86.7019 92.0422 83.2789 90.4357C78.0464 88.0207 73.4859 83.4603 71.0709 78.2978C69.4609 74.8118 69.1949 73.3348 69.1949 68.5048C69.1949 63.6748 69.4644 62.2012 71.0709 58.7782C76.8459 46.5072 90.7304 41.1417 102.802 46.6402Z");
			attr(path5, "fill", "white");
			attr(path5, "fill-opacity", "0.5");
			attr(path6, "d", "M86.506 58.175L80.269 61.8641V69.1755V76.487L86.639 80.2425L93.009 83.998L99.379 80.2425L105.749 76.487V69.1755V61.8641L99.4455 58.1086C95.9595 56.0961 93.0055 54.4195 92.8725 54.4195C92.8095 54.486 89.859 56.096 86.506 58.175ZM97.5695 61.7975C101.528 64.2125 102.802 69.711 100.387 73.6695C94.6855 83.06 80.2655 74.8771 85.2985 65.0841C87.577 60.7896 93.345 59.2495 97.5695 61.7975Z");
			attr(path6, "fill", "white");
			attr(path6, "fill-opacity", "0.5");
			attr(path7, "d", "M219.163 38.0587C213.797 39.4657 209.17 42.2167 205.012 46.3747C195.02 56.3672 192.808 71.0567 199.514 83.5307C201.862 87.8917 207.763 93.7927 212.124 96.1377C224.598 102.844 239.288 100.632 249.28 90.6392C259.273 80.6467 261.488 65.9572 254.779 53.4832C252.43 49.1222 246.529 43.2212 242.172 40.8762C235.193 37.1172 226.541 36.0462 219.163 38.0587ZM233.852 45.4332C240.625 47.4457 245.924 52.0727 249.077 58.7787C250.687 62.1982 250.953 63.6752 250.953 68.5052C250.953 73.3352 250.684 74.8087 249.077 78.2982C246.662 83.4607 242.102 88.0247 236.869 90.4362C233.45 92.0462 231.973 92.3122 227.143 92.3122C222.313 92.3122 220.839 92.0427 217.416 90.4362C210.71 87.2827 206.083 81.9837 204.071 75.2112C198.709 57.1722 215.81 40.0677 233.852 45.4332Z");
			attr(path7, "fill", "white");
			attr(path7, "fill-opacity", "0.5");
			attr(path8, "d", "M220.64 58.175L214.403 61.8641V69.1755V76.487L220.773 80.2425L227.146 83.998L233.516 80.2425L239.886 76.487V69.1755V61.8641L233.583 58.1086C230.097 56.0961 227.146 54.4195 227.01 54.4195C226.943 54.486 223.993 56.096 220.64 58.175ZM231.703 61.7975C235.662 64.2125 236.936 69.711 234.521 73.6695C228.819 83.06 214.399 74.8771 219.429 65.0841C221.711 60.7896 227.479 59.2495 231.703 61.7975Z");
			attr(path8, "fill", "white");
			attr(path8, "fill-opacity", "0.5");
			attr(path9, "d", "M147.336 132.488C145.526 134.7 148.544 137.318 150.556 135.306C151.428 134.434 151.494 133.965 150.959 133.024C149.951 131.48 148.407 131.281 147.336 132.488Z");
			attr(path9, "fill", "white");
			attr(path9, "fill-opacity", "0.5");
			attr(path10, "d", "M179.525 149.924C177.716 152.136 180.733 154.754 182.745 152.741C183.617 151.87 183.683 151.401 183.148 150.463C182.143 148.916 180.6 148.716 179.525 149.924Z");
			attr(path10, "fill", "white");
			attr(path10, "fill-opacity", "0.5");
			attr(path11, "d", "M205.012 149.924C203.203 152.136 206.22 154.754 208.232 152.741C209.104 151.87 209.17 151.401 208.635 150.463C207.627 148.916 206.087 148.716 205.012 149.924Z");
			attr(path11, "fill", "white");
			attr(path11, "fill-opacity", "0.5");
			attr(path12, "d", "M138.215 240.466C137.477 242.346 138.485 243.686 140.427 243.417C141.901 243.284 142.303 242.881 142.303 241.537C142.303 240.197 141.901 239.794 140.427 239.661C139.22 239.528 138.481 239.794 138.215 240.466Z");
			attr(path12, "fill", "white");
			attr(path12, "fill-opacity", "0.5");
			attr(path13, "d", "M164.37 240.465C163.698 242.208 164.64 243.685 166.25 243.415C167.391 243.282 167.794 242.743 167.794 241.536C167.794 240.328 167.391 239.793 166.25 239.66C165.375 239.527 164.57 239.859 164.37 240.465Z");
			attr(path13, "fill", "white");
			attr(path13, "fill-opacity", "0.5");
			attr(path14, "d", "M189.857 240.465C189.185 242.208 190.123 243.685 191.737 243.415C192.878 243.282 193.277 242.743 193.277 241.536C193.277 240.328 192.874 239.793 191.737 239.66C190.862 239.527 190.057 239.859 189.857 240.465Z");
			attr(path14, "fill", "white");
			attr(path14, "fill-opacity", "0.5");
			attr(path15, "d", "M145.324 256.966C144.585 257.704 143.983 258.912 143.983 259.65C143.983 260.389 144.585 261.596 145.324 262.331C146.062 263.07 147.27 263.672 148.008 263.672C148.747 263.672 149.954 263.07 150.693 262.331C151.431 261.593 152.033 260.385 152.033 259.65C152.033 258.912 151.431 257.704 150.693 256.966C149.954 256.227 148.747 255.625 148.008 255.625C147.266 255.622 146.062 256.227 145.324 256.966Z");
			attr(path15, "fill", "white");
			attr(path15, "fill-opacity", "0.5");
			attr(path16, "d", "M158.067 277.755C157.329 278.493 156.727 279.701 156.727 280.439C156.727 281.178 157.329 282.385 158.067 283.12C158.806 283.859 160.013 284.461 160.752 284.461C161.49 284.461 162.698 283.855 163.433 283.12C164.171 282.382 164.773 281.174 164.773 280.439C164.773 279.704 164.171 278.493 163.433 277.755C162.694 277.016 161.487 276.414 160.752 276.414C160.017 276.414 158.802 277.016 158.067 277.755Z");
			attr(path16, "fill", "white");
			attr(path16, "fill-opacity", "0.5");
			attr(path17, "d", "M253.302 149.924C251.493 152.136 254.51 154.754 256.522 152.741C257.393 151.87 257.46 151.401 256.924 150.463C255.917 148.916 254.373 148.716 253.302 149.924Z");
			attr(path17, "fill", "white");
			attr(path17, "fill-opacity", "0.5");
			attr(path18, "d", "M50.155 143.887C44.3205 147.107 46.802 156.361 53.4415 156.361C56.861 156.361 60.1476 153.075 60.1476 149.722C60.1476 144.692 54.579 141.406 50.155 143.887Z");
			attr(path18, "fill", "white");
			attr(path18, "fill-opacity", "0.5");
			attr(path19, "d", "M51.4289 163.739C50.6904 164.478 50.0884 165.685 50.0884 166.42C50.0884 167.159 50.6904 168.366 51.4289 169.105C52.1674 169.843 53.3749 170.445 54.1099 170.445C54.8484 170.445 56.0559 169.843 56.7944 169.105C57.5329 168.366 58.1349 167.159 58.1349 166.42C58.1349 165.682 57.5329 164.474 56.7944 163.739C56.0559 163.001 54.8484 162.399 54.1099 162.399C53.3749 162.399 52.1674 163.001 51.4289 163.739Z");
			attr(path19, "fill", "white");
			attr(path19, "fill-opacity", "0.5");
			attr(path20, "d", "M73.0905 168.299C56.2555 174.337 54.8485 197.272 70.742 205.119C76.174 207.804 83.0165 207.804 88.4485 205.119C95.4905 201.633 99.3125 195.529 99.379 187.479V182.716L100.719 185.131C102.329 188.015 106.89 190.563 110.446 190.563C115.678 190.496 121.11 185.064 121.177 179.832C121.177 175.873 118.629 171.649 115.139 169.906C113.529 169.101 111.114 168.429 109.774 168.429C104.541 168.495 99.1095 173.927 99.043 179.093V181.442L97.3 177.956C93.009 169.374 82.2115 165.013 73.0905 168.299ZM85.2985 171.586C91.469 173.665 96.3655 180.574 96.3655 187.213C96.3655 196.94 87.514 204.787 77.7875 203.779C63.9065 202.372 57.9355 185.404 67.8615 175.474C72.4885 170.781 78.8585 169.374 85.2985 171.586ZM114.404 171.652C117.085 173.059 119.164 176.549 119.164 179.499C119.164 184.126 114.737 188.554 110.11 188.554C105.483 188.554 101.059 184.13 101.059 179.499C101.059 174.869 105.486 170.448 110.113 170.448C111.251 170.448 113.197 170.984 114.404 171.652Z");
			attr(path20, "fill", "white");
			attr(path20, "fill-opacity", "0.5");
			attr(path21, "d", "M75.0365 178.226C66.2515 182.72 68.733 195.999 78.5225 197.073C86.2365 197.945 91.9345 189.965 88.6515 182.923C86.303 178.026 79.8665 175.811 75.0365 178.226ZM82.7505 183.994C84.6965 185.803 84.6965 188.355 82.817 190.364C81.0075 192.31 78.456 192.31 76.447 190.43C74.501 188.621 74.501 186.069 76.3805 184.06C78.1865 182.118 80.738 182.118 82.7505 183.994Z");
			attr(path21, "fill", "white");
			attr(path21, "fill-opacity", "0.5");
			attr(path22, "d", "M107.363 174.605C105.886 175.277 104.412 177.759 104.412 179.502C104.412 182.519 107.296 185.203 110.516 185.203C112.259 185.203 115.815 181.647 115.815 179.904C115.812 175.34 111.454 172.593 107.363 174.605ZM112.056 178.627C112.592 179.565 112.525 180.034 111.654 180.909C109.641 182.921 106.624 180.303 108.434 178.091C109.508 176.884 111.052 177.087 112.056 178.627Z");
			attr(path22, "fill", "white");
			attr(path22, "fill-opacity", "0.5");
			attr(path23, "d", "M101.528 197.14C100.051 198.75 100.121 200.829 101.595 202.17C102.669 203.178 104.815 203.311 117.289 203.311C130.368 203.311 131.775 203.178 132.78 202.103C134.257 200.493 134.187 198.414 132.713 197.074C131.639 196.069 129.493 195.933 117.019 195.933C103.943 195.933 102.533 196.069 101.528 197.14Z");
			attr(path23, "fill", "white");
			attr(path23, "fill-opacity", "0.5");
			attr(path24, "d", "M108.906 207.198C107.429 208.808 107.499 210.887 108.973 212.227C110.852 213.97 123.862 213.904 125.405 212.161C126.882 210.551 126.812 208.472 125.339 207.131C123.459 205.388 110.446 205.455 108.906 207.198Z");
			attr(path24, "fill", "white");
			attr(path24, "fill-opacity", "0.5");
			attr(path25, "d", "M90.328 217.394C89.5895 218.133 88.9875 219.34 88.9875 220.079C88.9875 220.817 89.5895 222.025 90.328 222.763C91.0665 223.502 92.274 224.104 93.009 224.104C93.7475 224.104 94.955 223.502 95.6935 222.763C96.432 222.025 97.034 220.817 97.034 220.079C97.034 219.34 96.432 218.133 95.6935 217.394C94.955 216.656 93.7475 216.054 93.009 216.054C92.274 216.054 91.0665 216.656 90.328 217.394Z");
			attr(path25, "fill", "white");
			attr(path25, "fill-opacity", "0.5");
			attr(path26, "d", "M108.906 217.26C107.429 218.87 107.499 220.949 108.973 222.29C110.852 224.033 123.862 223.966 125.405 222.223C126.882 220.613 126.812 218.534 125.339 217.194C123.459 215.447 110.446 215.514 108.906 217.26Z");
			attr(path26, "fill", "white");
			attr(path26, "fill-opacity", "0.5");
			attr(path27, "d", "M157.059 182.453C146.73 187.213 147 201.23 157.528 205.658C160.681 206.932 163.495 206.932 166.649 205.658C177.38 201.164 177.38 186.677 166.649 182.183C163.362 180.843 160.345 180.909 157.059 182.453ZM166.18 189.831C167.521 191.171 168.126 192.445 168.126 193.922C168.126 196.806 164.973 199.96 162.089 199.96C159.204 199.96 156.051 196.806 156.051 193.922C156.051 192.445 156.653 191.171 157.997 189.831C159.338 188.49 160.612 187.885 162.089 187.885C163.566 187.885 164.839 188.487 166.18 189.831Z");
			attr(path27, "fill", "white");
			attr(path27, "fill-opacity", "0.5");
			attr(path28, "d", "M215.408 182.453C205.079 187.213 205.349 201.23 215.877 205.658C219.03 206.932 221.844 206.932 224.998 205.658C235.728 201.164 235.728 186.677 224.998 182.183C221.711 180.843 218.694 180.909 215.408 182.453ZM224.529 189.831C225.869 191.171 226.475 192.445 226.475 193.922C226.475 196.806 223.321 199.96 220.437 199.96C217.553 199.96 214.4 196.806 214.4 193.922C214.4 191.038 217.553 187.885 220.437 187.885C221.914 187.885 223.188 188.487 224.529 189.831Z");
			attr(path28, "fill", "white");
			attr(path28, "fill-opacity", "0.5");
			attr(path29, "d", "M87.9794 261.189C83.5519 262.666 81.4064 264.073 78.1864 267.493C74.2279 271.717 72.5514 276.078 72.5514 282.112C72.5514 288.283 74.2279 292.574 78.3859 296.935C82.9464 301.765 87.1709 303.508 94.0134 303.508C100.856 303.508 105.08 301.765 109.641 296.935C113.799 292.574 115.475 288.283 115.475 282.112C115.475 279.095 115.006 276.211 114.201 274.062C112.458 269.568 107.292 264.203 102.868 262.327C98.6439 260.451 91.7349 259.982 87.9794 261.189ZM100.723 266.621C104.545 268.364 107.831 271.518 109.574 275.004C111.317 278.56 111.184 286.001 109.305 289.49C106.018 295.727 100.989 298.811 94.0134 298.811C86.7019 298.877 81.6724 295.591 78.5224 288.818C72.0194 275.07 86.9749 260.115 100.723 266.621Z");
			attr(path29, "fill", "white");
			attr(path29, "fill-opacity", "0.5");
			attr(path30, "d", "M89.4564 274.266L84.9624 276.747V282.113V287.478L89.5229 289.96L94.0169 292.441L98.5774 289.96L103.071 287.478V282.113V276.747L98.5109 274.266L94.0169 271.784L89.4564 274.266ZM98.5109 277.755C100.32 279.565 100.523 280.17 100.187 282.585C99.7184 286.071 97.9754 287.818 94.4859 288.287C92.0709 288.623 91.4689 288.42 89.6559 286.61C86.9049 283.793 86.8384 280.44 89.5894 277.692C92.3404 274.938 95.6934 275.004 98.5109 277.755Z");
			attr(path30, "fill", "white");
			attr(path30, "fill-opacity", "0.5");
			attr(path31, "d", "M183.887 295.797C173.558 300.557 173.828 314.574 184.356 319.002C187.509 320.276 190.323 320.276 193.477 319.002C204.208 314.508 204.208 300.021 193.477 295.527C190.19 294.187 187.173 294.253 183.887 295.797ZM194.751 299.08C197.635 301.092 199.178 304.781 198.776 308.334C198.174 313.969 193.41 317.791 187.845 317.119C174.969 315.712 176.712 296.329 189.655 297.4C191.398 297.54 193.68 298.275 194.751 299.08Z");
			attr(path31, "fill", "white");
			attr(path31, "fill-opacity", "0.5");
			attr(path32, "d", "M186.098 302.769C183.75 304.11 183.55 304.512 183.55 307.263C183.55 310.081 183.75 310.417 186.231 311.824L188.916 313.367L191.597 311.824C194.078 310.417 194.278 310.081 194.278 307.263C194.278 304.446 194.078 304.11 191.597 302.703C190.19 301.898 188.916 301.226 188.779 301.226C188.646 301.296 187.439 301.964 186.098 302.769ZM191.198 304.985C193.277 306.997 191.8 310.62 188.916 310.62C187.306 310.62 185.563 308.877 185.563 307.267C185.563 305.657 187.306 303.914 188.916 303.914C189.588 303.91 190.659 304.379 191.198 304.985Z");
			attr(path32, "fill", "white");
			attr(path32, "fill-opacity", "0.5");
			attr(svg, "viewBox", "0 0 350 350");
			attr(svg, "fill", "none");
			attr(svg, "xmlns", "http://www.w3.org/2000/svg");
			attr(svg, "class", "svelte-1nyso4n");
		},
		m(target, anchor) {
			insert(target, svg, anchor);
			append(svg, path0);
			append(svg, mask);
			append(mask, path1);
			append(svg, g);
			append(g, path2);
			append(g, path3);
			append(svg, path4);
			append(svg, path5);
			append(svg, path6);
			append(svg, path7);
			append(svg, path8);
			append(svg, path9);
			append(svg, path10);
			append(svg, path11);
			append(svg, path12);
			append(svg, path13);
			append(svg, path14);
			append(svg, path15);
			append(svg, path16);
			append(svg, path17);
			append(svg, path18);
			append(svg, path19);
			append(svg, path20);
			append(svg, path21);
			append(svg, path22);
			append(svg, path23);
			append(svg, path24);
			append(svg, path25);
			append(svg, path26);
			append(svg, path27);
			append(svg, path28);
			append(svg, path29);
			append(svg, path30);
			append(svg, path31);
			append(svg, path32);
		},
		p(ctx, dirty) {
			if (dirty & /*oilStats*/ 1 && path2_style_value !== (path2_style_value = `transform: translateY(${CHANGE_OIL_ENGINE_OFFSET - /*oilStats*/ ctx[0].progress / 10 - /*oilStats*/ ctx[0].progress}%) translateX(-${/*oilStats*/ ctx[0].progress % 30}%)`)) {
				attr(path2, "style", path2_style_value);
			}

			if (dirty & /*oilStats*/ 1 && path3_style_value !== (path3_style_value = `transform: translateY(${CHANGE_OIL_ENGINE_OFFSET - /*oilStats*/ ctx[0].progress / 10 - /*oilStats*/ ctx[0].progress}%) translateX(${/*oilStats*/ ctx[0].progress % 30}%)`)) {
				attr(path3, "style", path3_style_value);
			}
		},
		d(detaching) {
			if (detaching) detach(svg);
		}
	};
}

function change_oil_engine_index_svelte_create_fragment(ctx) {
	let div;

	function select_block_type(ctx, dirty) {
		if (!/*oilStats*/ ctx[0].success) return change_oil_engine_index_svelte_create_if_block;
		return change_oil_engine_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block = current_block_type(ctx);

	return {
		c() {
			div = internal_element("div");
			if_block.c();
			attr(div, "class", "svg");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if_block.m(div, null);
		},
		p(ctx, [dirty]) {
			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div, null);
				}
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			if_block.d();
		}
	};
}

function change_oil_engine_index_svelte_instance($$self, $$props, $$invalidate) {
	let { oilStats } = $$props;

	$$self.$$set = $$props => {
		if ('oilStats' in $$props) $$invalidate(0, oilStats = $$props.oilStats);
	};

	return [oilStats];
}

class Change_oil_engine extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, change_oil_engine_index_svelte_instance, change_oil_engine_index_svelte_create_fragment, safe_not_equal, { oilStats: 0 }, change_oil_engine_index_svelte_add_css);
	}
}

/* harmony default export */ const change_oil_engine_index_svelte = (Change_oil_engine);
;// CONCATENATED MODULE: ./src/views/service-station/img/info.svg
const info_namespaceObject = __webpack_require__.p + "assets/e6735634697a55306ad6.svg";
;// CONCATENATED MODULE: ./src/views/service-station/img/success.svg
const success_namespaceObject = __webpack_require__.p + "assets/e9d2d5d89994994b2825.svg";
;// CONCATENATED MODULE: ./src/views/service-station/img/leftMouse.svg
const service_station_img_leftMouse_namespaceObject = __webpack_require__.p + "assets/fdc882a27bc6e749f3ed.svg";
;// CONCATENATED MODULE: ./src/views/service-station/change-oil/index.svelte
/* src\views\service-station\change-oil\index.svelte generated by Svelte v3.49.0 */













function change_oil_index_svelte_add_css(target) {
	append_styles(target, "svelte-1c0sv3v", "@keyframes svelte-1c0sv3v-blinking{50%{opacity:0}}@keyframes svelte-1c0sv3v-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1c0sv3v-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1c0sv3v-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1c0sv3v-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1c0sv3v-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1c0sv3v-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1c0sv3v-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1c0sv3v-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1c0sv3v-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1c0sv3v-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1c0sv3v-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1c0sv3v-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1c0sv3v-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1c0sv3v-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.service-station-oil.svelte-1c0sv3v{position:relative;display:flex;align-items:center;justify-content:center;width:100vw;height:100vh;background:rgba(19, 21, 22, 0.95)}.service-station-oil__logo.svelte-1c0sv3v{position:absolute;left:calc(0.03125 * 100vw + 0px);top:calc(0.03125 * 100vw + 0px);width:calc(0.1458333333 * 100vw + 0px);height:calc(0.0494791667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-oil__logo.svelte-1c0sv3v{left:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-oil__logo.svelte-1c0sv3v{left:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-oil__logo.svelte-1c0sv3v{left:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-oil__logo.svelte-1c0sv3v{left:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-oil__logo.svelte-1c0sv3v{left:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-oil__logo.svelte-1c0sv3v{left:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-oil__logo.svelte-1c0sv3v{left:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-oil__logo.svelte-1c0sv3v{top:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-oil__logo.svelte-1c0sv3v{top:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-oil__logo.svelte-1c0sv3v{top:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-oil__logo.svelte-1c0sv3v{top:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-oil__logo.svelte-1c0sv3v{top:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-oil__logo.svelte-1c0sv3v{top:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-oil__logo.svelte-1c0sv3v{top:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-oil__logo.svelte-1c0sv3v{width:calc(0.1458333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-oil__logo.svelte-1c0sv3v{width:calc(0.1458333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-oil__logo.svelte-1c0sv3v{width:calc(0.1122916667 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-oil__logo.svelte-1c0sv3v{width:calc(0.1604166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-oil__logo.svelte-1c0sv3v{width:calc(0.1020833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-oil__logo.svelte-1c0sv3v{width:calc(0.13125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-oil__logo.svelte-1c0sv3v{width:calc(0.1604166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-oil__logo.svelte-1c0sv3v{height:calc(0.0494791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-oil__logo.svelte-1c0sv3v{height:calc(0.0494791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-oil__logo.svelte-1c0sv3v{height:calc(0.0380989583 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-oil__logo.svelte-1c0sv3v{height:calc(0.0544270833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-oil__logo.svelte-1c0sv3v{height:calc(0.0346354167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-oil__logo.svelte-1c0sv3v{height:calc(0.04453125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-oil__logo.svelte-1c0sv3v{height:calc(0.0544270833 * 100vw + 0px)}}.service-station-oil__background.svelte-1c0sv3v{position:absolute;top:0;left:0;width:calc(0.15625 * 100vw + 0px);height:calc(0.3125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-oil__background.svelte-1c0sv3v{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-oil__background.svelte-1c0sv3v{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-oil__background.svelte-1c0sv3v{width:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-oil__background.svelte-1c0sv3v{width:calc(0.171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-oil__background.svelte-1c0sv3v{width:calc(0.109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-oil__background.svelte-1c0sv3v{width:calc(0.140625 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-oil__background.svelte-1c0sv3v{width:calc(0.171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-oil__background.svelte-1c0sv3v{height:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-oil__background.svelte-1c0sv3v{height:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-oil__background.svelte-1c0sv3v{height:calc(0.240625 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-oil__background.svelte-1c0sv3v{height:calc(0.34375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-oil__background.svelte-1c0sv3v{height:calc(0.21875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-oil__background.svelte-1c0sv3v{height:calc(0.28125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-oil__background.svelte-1c0sv3v{height:calc(0.34375 * 100vw + 0px)}}.service-station-oil__header.svelte-1c0sv3v{position:absolute;top:calc(0.03125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-oil__header.svelte-1c0sv3v{top:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-oil__header.svelte-1c0sv3v{top:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-oil__header.svelte-1c0sv3v{top:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-oil__header.svelte-1c0sv3v{top:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-oil__header.svelte-1c0sv3v{top:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-oil__header.svelte-1c0sv3v{top:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-oil__header.svelte-1c0sv3v{top:calc(0.034375 * 100vw + 0px)}}.service-station-oil__header-title-wrapper.svelte-1c0sv3v{display:flex;flex-direction:column;align-items:center}.service-station-oil__header-title.svelte-1c0sv3v{font-family:\"GothamPro-Bold\";color:#FFFFFF;font-size:calc(0.01875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-oil__header-title.svelte-1c0sv3v{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-oil__header-title.svelte-1c0sv3v{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-oil__header-title.svelte-1c0sv3v{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-oil__header-title.svelte-1c0sv3v{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-oil__header-title.svelte-1c0sv3v{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-oil__header-title.svelte-1c0sv3v{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-oil__header-title.svelte-1c0sv3v{font-size:calc(0.020625 * 100vw + 0px)}}.service-station-oil__header-description.svelte-1c0sv3v{font-family:\"GothamPro\";color:rgba(255, 255, 255, 0.7);font-size:calc(0.009375 * 100vw + 0px);margin-top:calc(0.0088541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-oil__header-description.svelte-1c0sv3v{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-oil__header-description.svelte-1c0sv3v{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-oil__header-description.svelte-1c0sv3v{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-oil__header-description.svelte-1c0sv3v{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-oil__header-description.svelte-1c0sv3v{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-oil__header-description.svelte-1c0sv3v{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-oil__header-description.svelte-1c0sv3v{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-oil__header-description.svelte-1c0sv3v{margin-top:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-oil__header-description.svelte-1c0sv3v{margin-top:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-oil__header-description.svelte-1c0sv3v{margin-top:calc(0.0068177083 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-oil__header-description.svelte-1c0sv3v{margin-top:calc(0.0097395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-oil__header-description.svelte-1c0sv3v{margin-top:calc(0.0061979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-oil__header-description.svelte-1c0sv3v{margin-top:calc(0.00796875 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-oil__header-description.svelte-1c0sv3v{margin-top:calc(0.0097395833 * 100vw + 0px)}}.service-station-oil__hint.svelte-1c0sv3v{position:absolute;display:flex;align-items:center;gap:calc(0.0083333333 * 100vw + 0px);bottom:calc(0.0677083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-oil__hint.svelte-1c0sv3v{gap:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-oil__hint.svelte-1c0sv3v{gap:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-oil__hint.svelte-1c0sv3v{gap:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-oil__hint.svelte-1c0sv3v{gap:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-oil__hint.svelte-1c0sv3v{gap:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-oil__hint.svelte-1c0sv3v{gap:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-oil__hint.svelte-1c0sv3v{gap:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-oil__hint.svelte-1c0sv3v{bottom:calc(0.0677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-oil__hint.svelte-1c0sv3v{bottom:calc(0.0677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-oil__hint.svelte-1c0sv3v{bottom:calc(0.0521354167 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-oil__hint.svelte-1c0sv3v{bottom:calc(0.0744791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-oil__hint.svelte-1c0sv3v{bottom:calc(0.0473958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-oil__hint.svelte-1c0sv3v{bottom:calc(0.0609375 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-oil__hint.svelte-1c0sv3v{bottom:calc(0.0744791667 * 100vw + 0px)}}.service-station-oil__hint-img.svelte-1c0sv3v{height:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-oil__hint-img.svelte-1c0sv3v{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-oil__hint-img.svelte-1c0sv3v{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-oil__hint-img.svelte-1c0sv3v{height:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-oil__hint-img.svelte-1c0sv3v{height:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-oil__hint-img.svelte-1c0sv3v{height:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-oil__hint-img.svelte-1c0sv3v{height:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-oil__hint-img.svelte-1c0sv3v{height:calc(0.0275 * 100vw + 0px)}}.service-station-oil__hint-title.svelte-1c0sv3v{font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-oil__hint-title.svelte-1c0sv3v{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-oil__hint-title.svelte-1c0sv3v{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-oil__hint-title.svelte-1c0sv3v{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-oil__hint-title.svelte-1c0sv3v{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-oil__hint-title.svelte-1c0sv3v{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-oil__hint-title.svelte-1c0sv3v{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-oil__hint-title.svelte-1c0sv3v{font-size:calc(0.0091666667 * 100vw + 0px)}}.service-station-oil__button.svelte-1c0sv3v{position:absolute;display:flex;align-items:center;bottom:calc(0.03125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-oil__button.svelte-1c0sv3v{bottom:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-oil__button.svelte-1c0sv3v{bottom:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-oil__button.svelte-1c0sv3v{bottom:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-oil__button.svelte-1c0sv3v{bottom:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-oil__button.svelte-1c0sv3v{bottom:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-oil__button.svelte-1c0sv3v{bottom:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-oil__button.svelte-1c0sv3v{bottom:calc(0.034375 * 100vw + 0px)}}.service-station-oil__button-img.svelte-1c0sv3v{height:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-oil__button-img.svelte-1c0sv3v{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-oil__button-img.svelte-1c0sv3v{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-oil__button-img.svelte-1c0sv3v{height:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-oil__button-img.svelte-1c0sv3v{height:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-oil__button-img.svelte-1c0sv3v{height:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-oil__button-img.svelte-1c0sv3v{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-oil__button-img.svelte-1c0sv3v{height:calc(0.0171875 * 100vw + 0px)}}.service-station-oil__button-title.svelte-1c0sv3v{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0078125 * 100vw + 0px);margin-left:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-oil__button-title.svelte-1c0sv3v{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-oil__button-title.svelte-1c0sv3v{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-oil__button-title.svelte-1c0sv3v{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-oil__button-title.svelte-1c0sv3v{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-oil__button-title.svelte-1c0sv3v{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-oil__button-title.svelte-1c0sv3v{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-oil__button-title.svelte-1c0sv3v{font-size:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-oil__button-title.svelte-1c0sv3v{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-oil__button-title.svelte-1c0sv3v{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-oil__button-title.svelte-1c0sv3v{margin-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-oil__button-title.svelte-1c0sv3v{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-oil__button-title.svelte-1c0sv3v{margin-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-oil__button-title.svelte-1c0sv3v{margin-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-oil__button-title.svelte-1c0sv3v{margin-left:calc(0.0114583333 * 100vw + 0px)}}");
}

// (937:8) {:else}
function change_oil_index_svelte_create_else_block(ctx) {
	let img;
	let img_src_value;
	let t0;
	let p;

	return {
		c() {
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			p.innerHTML = `Вы успешно залили масло в двигатель.<br/>Для выхода нажмите <strong>Esc</strong>.`;
			attr(img, "class", "service-station-oil__hint-img svelte-1c0sv3v");
			if (!src_url_equal(img.src, img_src_value = success_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "info-img");
			attr(p, "class", "service-station-oil__hint-title svelte-1c0sv3v");
		},
		m(target, anchor) {
			insert(target, img, anchor);
			insert(target, t0, anchor);
			insert(target, p, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
			if (detaching) detach(t0);
			if (detaching) detach(p);
		}
	};
}

// (928:8) {#if !changeOilStats.success}
function change_oil_index_svelte_create_if_block_1(ctx) {
	let img;
	let img_src_value;
	let t0;
	let p;

	return {
		c() {
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			p.innerHTML = `Нажимайте несколько раз на <strong>ЛКМ</strong>,<br/>чтобы залить масло в двигатель`;
			attr(img, "class", "service-station-oil__hint-img svelte-1c0sv3v");
			if (!src_url_equal(img.src, img_src_value = info_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "info-img");
			attr(p, "class", "service-station-oil__hint-title svelte-1c0sv3v");
		},
		m(target, anchor) {
			insert(target, img, anchor);
			insert(target, t0, anchor);
			insert(target, p, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
			if (detaching) detach(t0);
			if (detaching) detach(p);
		}
	};
}

// (948:4) {#if !changeOilStats.success}
function change_oil_index_svelte_create_if_block(ctx) {
	let div;
	let img;
	let img_src_value;
	let t0;
	let p;

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			p.textContent = "Заливать масло";
			attr(img, "class", "service-station-oil__button-img svelte-1c0sv3v");
			if (!src_url_equal(img.src, img_src_value = service_station_img_leftMouse_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "mouse-click");
			attr(p, "class", "service-station-oil__button-title svelte-1c0sv3v");
			attr(div, "class", "service-station-oil__button svelte-1c0sv3v");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
			append(div, t0);
			append(div, p);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function change_oil_index_svelte_create_fragment(ctx) {
	let div3;
	let img0;
	let img0_src_value;
	let t0;
	let img1;
	let img1_src_value;
	let t1;
	let div1;
	let div0;
	let t5;
	let exitbutton;
	let t6;
	let changeoil;
	let t7;
	let div2;
	let t8;
	let current;
	let mounted;
	let dispose;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[1],
				fixedPosition: true
			}
		});

	changeoil = new change_oil_engine_index_svelte({
			props: { oilStats: /*changeOilStats*/ ctx[0] }
		});

	function select_block_type(ctx, dirty) {
		if (!/*changeOilStats*/ ctx[0].success) return change_oil_index_svelte_create_if_block_1;
		return change_oil_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block0 = current_block_type(ctx);
	let if_block1 = !/*changeOilStats*/ ctx[0].success && change_oil_index_svelte_create_if_block(ctx);

	return {
		c() {
			div3 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			img1 = internal_element("img");
			t1 = space();
			div1 = internal_element("div");
			div0 = internal_element("div");

			div0.innerHTML = `<p class="service-station-oil__header-title svelte-1c0sv3v">Замена масла</p> 
            <p class="service-station-oil__header-description svelte-1c0sv3v">Обслужите автомобиль и залейте масло в двигатель</p>`;

			t5 = space();
			create_component(exitbutton.$$.fragment);
			t6 = space();
			create_component(changeoil.$$.fragment);
			t7 = space();
			div2 = internal_element("div");
			if_block0.c();
			t8 = space();
			if (if_block1) if_block1.c();
			attr(img0, "class", "service-station-oil__logo svelte-1c0sv3v");
			if (!src_url_equal(img0.src, img0_src_value = service_station_img_logo_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "logo");
			attr(img1, "class", "service-station-oil__background svelte-1c0sv3v");
			if (!src_url_equal(img1.src, img1_src_value = service_station_img_background_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "background");
			attr(div0, "class", "service-station-oil__header-title-wrapper svelte-1c0sv3v");
			attr(div1, "class", "service-station-oil__header svelte-1c0sv3v");
			attr(div2, "class", "service-station-oil__hint svelte-1c0sv3v");
			attr(div3, "class", "service-station-oil svelte-1c0sv3v");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, img0);
			append(div3, t0);
			append(div3, img1);
			append(div3, t1);
			append(div3, div1);
			append(div1, div0);
			append(div1, t5);
			mount_component(exitbutton, div1, null);
			append(div3, t6);
			mount_component(changeoil, div3, null);
			append(div3, t7);
			append(div3, div2);
			if_block0.m(div2, null);
			append(div3, t8);
			if (if_block1) if_block1.m(div3, null);
			current = true;

			if (!mounted) {
				dispose = listen(window, "click", /*actionPour*/ ctx[2]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			const changeoil_changes = {};
			if (dirty & /*changeOilStats*/ 1) changeoil_changes.oilStats = /*changeOilStats*/ ctx[0];
			changeoil.$set(changeoil_changes);

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block0) {
				if_block0.p(ctx, dirty);
			} else {
				if_block0.d(1);
				if_block0 = current_block_type(ctx);

				if (if_block0) {
					if_block0.c();
					if_block0.m(div2, null);
				}
			}

			if (!/*changeOilStats*/ ctx[0].success) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = change_oil_index_svelte_create_if_block(ctx);
					if_block1.c();
					if_block1.m(div3, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			transition_in(changeoil.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			transition_out(changeoil.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div3);
			destroy_component(exitbutton);
			destroy_component(changeoil);
			if_block0.d();
			if (if_block1) if_block1.d();
			mounted = false;
			dispose();
		}
	};
}

function change_oil_index_svelte_instance($$self, $$props, $$invalidate) {
	let changeOilStats = {};

	const initializeOilStats = changeOilStatsDto => {
		$$invalidate(0, changeOilStats = changeOilStatsDto);
	};

	const handleClose = () => {
		sendClientMessage('serviceStation.changeOil.exit');
	};

	const actionPour = () => {
		sendClientMessage('serviceStation.changeOil.actionPour');
	};

	const unregisterInitializeOilStatsEvent = registerEvent('serviceStation.changeOil.initializeOilStats', initializeOilStats);

	onDestroy(() => {
		unregisterInitializeOilStatsEvent();
	});

	return [changeOilStats, handleClose, actionPour];
}

class Change_oil extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, change_oil_index_svelte_instance, change_oil_index_svelte_create_fragment, safe_not_equal, {}, change_oil_index_svelte_add_css);
	}
}

/* harmony default export */ const change_oil_index_svelte = (Change_oil);
;// CONCATENATED MODULE: ./src/views/service-station/tire-fitting-list/index.svelte
/* src\views\service-station\tire-fitting-list\index.svelte generated by Svelte v3.49.0 */











function tire_fitting_list_index_svelte_add_css(target) {
	append_styles(target, "svelte-o40k58", "@keyframes svelte-o40k58-blinking{50%{opacity:0}}@keyframes svelte-o40k58-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-o40k58-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-o40k58-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-o40k58-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-o40k58-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-o40k58-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-o40k58-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-o40k58-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-o40k58-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-o40k58-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-o40k58-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-o40k58-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-o40k58-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-o40k58-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.service-station-tire-list.svelte-o40k58.svelte-o40k58{position:relative;display:flex;align-items:center;justify-content:center;width:100vw;height:100vh;background:rgba(19, 21, 22, 0.95)}.service-station-tire-list__logo.svelte-o40k58.svelte-o40k58{position:absolute;left:calc(0.03125 * 100vw + 0px);top:calc(0.03125 * 100vw + 0px);width:calc(0.1458333333 * 100vw + 0px);height:calc(0.0494791667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-list__logo.svelte-o40k58.svelte-o40k58{left:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-list__logo.svelte-o40k58.svelte-o40k58{left:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-list__logo.svelte-o40k58.svelte-o40k58{left:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-list__logo.svelte-o40k58.svelte-o40k58{left:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-list__logo.svelte-o40k58.svelte-o40k58{left:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-list__logo.svelte-o40k58.svelte-o40k58{left:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-list__logo.svelte-o40k58.svelte-o40k58{left:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-list__logo.svelte-o40k58.svelte-o40k58{top:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-list__logo.svelte-o40k58.svelte-o40k58{top:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-list__logo.svelte-o40k58.svelte-o40k58{top:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-list__logo.svelte-o40k58.svelte-o40k58{top:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-list__logo.svelte-o40k58.svelte-o40k58{top:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-list__logo.svelte-o40k58.svelte-o40k58{top:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-list__logo.svelte-o40k58.svelte-o40k58{top:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-list__logo.svelte-o40k58.svelte-o40k58{width:calc(0.1458333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-list__logo.svelte-o40k58.svelte-o40k58{width:calc(0.1458333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-list__logo.svelte-o40k58.svelte-o40k58{width:calc(0.1122916667 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-list__logo.svelte-o40k58.svelte-o40k58{width:calc(0.1604166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-list__logo.svelte-o40k58.svelte-o40k58{width:calc(0.1020833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-list__logo.svelte-o40k58.svelte-o40k58{width:calc(0.13125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-list__logo.svelte-o40k58.svelte-o40k58{width:calc(0.1604166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-list__logo.svelte-o40k58.svelte-o40k58{height:calc(0.0494791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-list__logo.svelte-o40k58.svelte-o40k58{height:calc(0.0494791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-list__logo.svelte-o40k58.svelte-o40k58{height:calc(0.0380989583 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-list__logo.svelte-o40k58.svelte-o40k58{height:calc(0.0544270833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-list__logo.svelte-o40k58.svelte-o40k58{height:calc(0.0346354167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-list__logo.svelte-o40k58.svelte-o40k58{height:calc(0.04453125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-list__logo.svelte-o40k58.svelte-o40k58{height:calc(0.0544270833 * 100vw + 0px)}}.service-station-tire-list__background.svelte-o40k58.svelte-o40k58{position:absolute;top:0;left:0;width:calc(0.15625 * 100vw + 0px);height:calc(0.3125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-list__background.svelte-o40k58.svelte-o40k58{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-list__background.svelte-o40k58.svelte-o40k58{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-list__background.svelte-o40k58.svelte-o40k58{width:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-list__background.svelte-o40k58.svelte-o40k58{width:calc(0.171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-list__background.svelte-o40k58.svelte-o40k58{width:calc(0.109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-list__background.svelte-o40k58.svelte-o40k58{width:calc(0.140625 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-list__background.svelte-o40k58.svelte-o40k58{width:calc(0.171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-list__background.svelte-o40k58.svelte-o40k58{height:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-list__background.svelte-o40k58.svelte-o40k58{height:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-list__background.svelte-o40k58.svelte-o40k58{height:calc(0.240625 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-list__background.svelte-o40k58.svelte-o40k58{height:calc(0.34375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-list__background.svelte-o40k58.svelte-o40k58{height:calc(0.21875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-list__background.svelte-o40k58.svelte-o40k58{height:calc(0.28125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-list__background.svelte-o40k58.svelte-o40k58{height:calc(0.34375 * 100vw + 0px)}}.service-station-tire-list__header.svelte-o40k58.svelte-o40k58{position:absolute;top:calc(0.03125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-list__header.svelte-o40k58.svelte-o40k58{top:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-list__header.svelte-o40k58.svelte-o40k58{top:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-list__header.svelte-o40k58.svelte-o40k58{top:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-list__header.svelte-o40k58.svelte-o40k58{top:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-list__header.svelte-o40k58.svelte-o40k58{top:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-list__header.svelte-o40k58.svelte-o40k58{top:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-list__header.svelte-o40k58.svelte-o40k58{top:calc(0.034375 * 100vw + 0px)}}.service-station-tire-list__header-title-wrapper.svelte-o40k58.svelte-o40k58{display:flex;flex-direction:column;align-items:center}.service-station-tire-list__header-title.svelte-o40k58.svelte-o40k58{font-family:\"GothamPro-Bold\";color:#FFFFFF;font-size:calc(0.01875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-list__header-title.svelte-o40k58.svelte-o40k58{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-list__header-title.svelte-o40k58.svelte-o40k58{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-list__header-title.svelte-o40k58.svelte-o40k58{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-list__header-title.svelte-o40k58.svelte-o40k58{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-list__header-title.svelte-o40k58.svelte-o40k58{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-list__header-title.svelte-o40k58.svelte-o40k58{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-list__header-title.svelte-o40k58.svelte-o40k58{font-size:calc(0.020625 * 100vw + 0px)}}.service-station-tire-list__header-description.svelte-o40k58.svelte-o40k58{font-family:\"GothamPro\";color:rgba(255, 255, 255, 0.7);font-size:calc(0.009375 * 100vw + 0px);margin-top:calc(0.0088541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-list__header-description.svelte-o40k58.svelte-o40k58{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-list__header-description.svelte-o40k58.svelte-o40k58{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-list__header-description.svelte-o40k58.svelte-o40k58{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-list__header-description.svelte-o40k58.svelte-o40k58{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-list__header-description.svelte-o40k58.svelte-o40k58{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-list__header-description.svelte-o40k58.svelte-o40k58{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-list__header-description.svelte-o40k58.svelte-o40k58{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-list__header-description.svelte-o40k58.svelte-o40k58{margin-top:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-list__header-description.svelte-o40k58.svelte-o40k58{margin-top:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-list__header-description.svelte-o40k58.svelte-o40k58{margin-top:calc(0.0068177083 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-list__header-description.svelte-o40k58.svelte-o40k58{margin-top:calc(0.0097395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-list__header-description.svelte-o40k58.svelte-o40k58{margin-top:calc(0.0061979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-list__header-description.svelte-o40k58.svelte-o40k58{margin-top:calc(0.00796875 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-list__header-description.svelte-o40k58.svelte-o40k58{margin-top:calc(0.0097395833 * 100vw + 0px)}}.service-station-tire-list__hint.svelte-o40k58.svelte-o40k58{position:absolute;display:flex;align-items:center;gap:calc(0.0083333333 * 100vw + 0px);bottom:calc(0.0677083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-list__hint.svelte-o40k58.svelte-o40k58{gap:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-list__hint.svelte-o40k58.svelte-o40k58{gap:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-list__hint.svelte-o40k58.svelte-o40k58{gap:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-list__hint.svelte-o40k58.svelte-o40k58{gap:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-list__hint.svelte-o40k58.svelte-o40k58{gap:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-list__hint.svelte-o40k58.svelte-o40k58{gap:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-list__hint.svelte-o40k58.svelte-o40k58{gap:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-list__hint.svelte-o40k58.svelte-o40k58{bottom:calc(0.0677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-list__hint.svelte-o40k58.svelte-o40k58{bottom:calc(0.0677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-list__hint.svelte-o40k58.svelte-o40k58{bottom:calc(0.0521354167 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-list__hint.svelte-o40k58.svelte-o40k58{bottom:calc(0.0744791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-list__hint.svelte-o40k58.svelte-o40k58{bottom:calc(0.0473958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-list__hint.svelte-o40k58.svelte-o40k58{bottom:calc(0.0609375 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-list__hint.svelte-o40k58.svelte-o40k58{bottom:calc(0.0744791667 * 100vw + 0px)}}.service-station-tire-list__hint-img.svelte-o40k58.svelte-o40k58{height:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-list__hint-img.svelte-o40k58.svelte-o40k58{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-list__hint-img.svelte-o40k58.svelte-o40k58{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-list__hint-img.svelte-o40k58.svelte-o40k58{height:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-list__hint-img.svelte-o40k58.svelte-o40k58{height:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-list__hint-img.svelte-o40k58.svelte-o40k58{height:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-list__hint-img.svelte-o40k58.svelte-o40k58{height:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-list__hint-img.svelte-o40k58.svelte-o40k58{height:calc(0.0275 * 100vw + 0px)}}.service-station-tire-list__hint-title.svelte-o40k58.svelte-o40k58{font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-list__hint-title.svelte-o40k58.svelte-o40k58{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-list__hint-title.svelte-o40k58.svelte-o40k58{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-list__hint-title.svelte-o40k58.svelte-o40k58{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-list__hint-title.svelte-o40k58.svelte-o40k58{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-list__hint-title.svelte-o40k58.svelte-o40k58{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-list__hint-title.svelte-o40k58.svelte-o40k58{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-list__hint-title.svelte-o40k58.svelte-o40k58{font-size:calc(0.0091666667 * 100vw + 0px)}}.service-station-tire-list__hint-title--red.svelte-o40k58.svelte-o40k58{color:#E00000}.service-station-tire-list__hint-title--green.svelte-o40k58.svelte-o40k58{color:#60CA5D}.service-station-tire-list__button.svelte-o40k58.svelte-o40k58{position:absolute;display:flex;align-items:center;bottom:calc(0.03125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-list__button.svelte-o40k58.svelte-o40k58{bottom:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-list__button.svelte-o40k58.svelte-o40k58{bottom:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-list__button.svelte-o40k58.svelte-o40k58{bottom:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-list__button.svelte-o40k58.svelte-o40k58{bottom:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-list__button.svelte-o40k58.svelte-o40k58{bottom:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-list__button.svelte-o40k58.svelte-o40k58{bottom:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-list__button.svelte-o40k58.svelte-o40k58{bottom:calc(0.034375 * 100vw + 0px)}}.service-station-tire-list__button-img.svelte-o40k58.svelte-o40k58{height:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-list__button-img.svelte-o40k58.svelte-o40k58{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-list__button-img.svelte-o40k58.svelte-o40k58{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-list__button-img.svelte-o40k58.svelte-o40k58{height:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-list__button-img.svelte-o40k58.svelte-o40k58{height:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-list__button-img.svelte-o40k58.svelte-o40k58{height:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-list__button-img.svelte-o40k58.svelte-o40k58{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-list__button-img.svelte-o40k58.svelte-o40k58{height:calc(0.0171875 * 100vw + 0px)}}.service-station-tire-list__button-title.svelte-o40k58.svelte-o40k58{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0078125 * 100vw + 0px);margin-left:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-list__button-title.svelte-o40k58.svelte-o40k58{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-list__button-title.svelte-o40k58.svelte-o40k58{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-list__button-title.svelte-o40k58.svelte-o40k58{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-list__button-title.svelte-o40k58.svelte-o40k58{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-list__button-title.svelte-o40k58.svelte-o40k58{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-list__button-title.svelte-o40k58.svelte-o40k58{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-list__button-title.svelte-o40k58.svelte-o40k58{font-size:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-list__button-title.svelte-o40k58.svelte-o40k58{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-list__button-title.svelte-o40k58.svelte-o40k58{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-list__button-title.svelte-o40k58.svelte-o40k58{margin-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-list__button-title.svelte-o40k58.svelte-o40k58{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-list__button-title.svelte-o40k58.svelte-o40k58{margin-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-list__button-title.svelte-o40k58.svelte-o40k58{margin-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-list__button-title.svelte-o40k58.svelte-o40k58{margin-left:calc(0.0114583333 * 100vw + 0px)}}.service-station-tire-list__wheels.svelte-o40k58.svelte-o40k58{position:relative;width:calc(0.2895833333 * 100vw + 0px);height:calc(0.1302083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-list__wheels.svelte-o40k58.svelte-o40k58{width:calc(0.2895833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-list__wheels.svelte-o40k58.svelte-o40k58{width:calc(0.2895833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-list__wheels.svelte-o40k58.svelte-o40k58{width:calc(0.2229791667 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-list__wheels.svelte-o40k58.svelte-o40k58{width:calc(0.3185416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-list__wheels.svelte-o40k58.svelte-o40k58{width:calc(0.2027083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-list__wheels.svelte-o40k58.svelte-o40k58{width:calc(0.260625 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-list__wheels.svelte-o40k58.svelte-o40k58{width:calc(0.3185416667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-list__wheels.svelte-o40k58.svelte-o40k58{height:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-list__wheels.svelte-o40k58.svelte-o40k58{height:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-list__wheels.svelte-o40k58.svelte-o40k58{height:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-list__wheels.svelte-o40k58.svelte-o40k58{height:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-list__wheels.svelte-o40k58.svelte-o40k58{height:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-list__wheels.svelte-o40k58.svelte-o40k58{height:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-list__wheels.svelte-o40k58.svelte-o40k58{height:calc(0.1432291667 * 100vw + 0px)}}.service-station-tire-list__wheel.svelte-o40k58.svelte-o40k58{position:absolute;display:flex;align-items:center;justify-content:center;background:rgba(255, 255, 255, 0.1);cursor:pointer;overflow:hidden;border-radius:calc(0.0052083333 * 100vw + 0px);border:calc(0.0010416667 * 100vw + 0px) solid rgba(255, 255, 255, 0.7);width:calc(0.0885416667 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-list__wheel.svelte-o40k58.svelte-o40k58{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-list__wheel.svelte-o40k58.svelte-o40k58{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-list__wheel.svelte-o40k58.svelte-o40k58{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-list__wheel.svelte-o40k58.svelte-o40k58{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-list__wheel.svelte-o40k58.svelte-o40k58{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-list__wheel.svelte-o40k58.svelte-o40k58{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-list__wheel.svelte-o40k58.svelte-o40k58{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-list__wheel.svelte-o40k58.svelte-o40k58{border:calc(0.0010416667 * 100vw + 0px) solid rgba(255, 255, 255, 0.7)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-list__wheel.svelte-o40k58.svelte-o40k58{border:calc(0.0010416667 * 100vw + 0px) solid rgba(255, 255, 255, 0.7)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-list__wheel.svelte-o40k58.svelte-o40k58{border:calc(0.0008020833 * 100vw + 0px) solid rgba(255, 255, 255, 0.7)}}@media(min-width: 3440px){.service-station-tire-list__wheel.svelte-o40k58.svelte-o40k58{border:calc(0.0011458333 * 100vw + 0px) solid rgba(255, 255, 255, 0.7)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-list__wheel.svelte-o40k58.svelte-o40k58{border:calc(0.0007291667 * 100vw + 0px) solid rgba(255, 255, 255, 0.7)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-list__wheel.svelte-o40k58.svelte-o40k58{border:calc(0.0009375 * 100vw + 0px) solid rgba(255, 255, 255, 0.7)}}@media(min-width: 4096px){.service-station-tire-list__wheel.svelte-o40k58.svelte-o40k58{border:calc(0.0011458333 * 100vw + 0px) solid rgba(255, 255, 255, 0.7)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-list__wheel.svelte-o40k58.svelte-o40k58{width:calc(0.0885416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-list__wheel.svelte-o40k58.svelte-o40k58{width:calc(0.0885416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-list__wheel.svelte-o40k58.svelte-o40k58{width:calc(0.0681770833 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-list__wheel.svelte-o40k58.svelte-o40k58{width:calc(0.0973958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-list__wheel.svelte-o40k58.svelte-o40k58{width:calc(0.0619791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-list__wheel.svelte-o40k58.svelte-o40k58{width:calc(0.0796875 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-list__wheel.svelte-o40k58.svelte-o40k58{width:calc(0.0973958333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-list__wheel.svelte-o40k58.svelte-o40k58{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-list__wheel.svelte-o40k58.svelte-o40k58{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-list__wheel.svelte-o40k58.svelte-o40k58{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-list__wheel.svelte-o40k58.svelte-o40k58{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-list__wheel.svelte-o40k58.svelte-o40k58{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-list__wheel.svelte-o40k58.svelte-o40k58{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-list__wheel.svelte-o40k58.svelte-o40k58{height:calc(0.0286458333 * 100vw + 0px)}}.service-station-tire-list__wheel.svelte-o40k58.svelte-o40k58:hover{border-color:#FFFFFF}.service-station-tire-list__wheel.svelte-o40k58:hover .service-station-tire-list__wheel-percents.svelte-o40k58{color:#FFFFFF}.service-station-tire-list__wheel--0.svelte-o40k58.svelte-o40k58{left:0;top:0}.service-station-tire-list__wheel--1.svelte-o40k58.svelte-o40k58{right:0;top:0}.service-station-tire-list__wheel--2.svelte-o40k58.svelte-o40k58{left:0;bottom:0}.service-station-tire-list__wheel--3.svelte-o40k58.svelte-o40k58{right:0;bottom:0}.service-station-tire-list__wheel-progress.svelte-o40k58.svelte-o40k58{position:absolute;left:0;height:100%;width:0}.service-station-tire-list__wheel-percents.svelte-o40k58.svelte-o40k58{position:relative;z-index:2;color:rgba(255, 255, 255, 0.7);font-family:\"GothamPro-Medium\";font-size:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-list__wheel-percents.svelte-o40k58.svelte-o40k58{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-list__wheel-percents.svelte-o40k58.svelte-o40k58{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-list__wheel-percents.svelte-o40k58.svelte-o40k58{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-list__wheel-percents.svelte-o40k58.svelte-o40k58{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-list__wheel-percents.svelte-o40k58.svelte-o40k58{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-list__wheel-percents.svelte-o40k58.svelte-o40k58{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-list__wheel-percents.svelte-o40k58.svelte-o40k58{font-size:calc(0.00859375 * 100vw + 0px)}}.service-station-tire-list__wheel-line.svelte-o40k58.svelte-o40k58{position:absolute;background:#FFFFFF}.service-station-tire-list__wheel-line--left.svelte-o40k58.svelte-o40k58,.service-station-tire-list__wheel-line--right.svelte-o40k58.svelte-o40k58{width:calc(0.003125 * 100vw + 0px);height:calc(0.078125 * 100vw + 0px);top:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-list__wheel-line--left.svelte-o40k58.svelte-o40k58,.service-station-tire-list__wheel-line--right.svelte-o40k58.svelte-o40k58{width:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-list__wheel-line--left.svelte-o40k58.svelte-o40k58,.service-station-tire-list__wheel-line--right.svelte-o40k58.svelte-o40k58{width:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-list__wheel-line--left.svelte-o40k58.svelte-o40k58,.service-station-tire-list__wheel-line--right.svelte-o40k58.svelte-o40k58{width:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-list__wheel-line--left.svelte-o40k58.svelte-o40k58,.service-station-tire-list__wheel-line--right.svelte-o40k58.svelte-o40k58{width:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-list__wheel-line--left.svelte-o40k58.svelte-o40k58,.service-station-tire-list__wheel-line--right.svelte-o40k58.svelte-o40k58{width:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-list__wheel-line--left.svelte-o40k58.svelte-o40k58,.service-station-tire-list__wheel-line--right.svelte-o40k58.svelte-o40k58{width:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-list__wheel-line--left.svelte-o40k58.svelte-o40k58,.service-station-tire-list__wheel-line--right.svelte-o40k58.svelte-o40k58{width:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-list__wheel-line--left.svelte-o40k58.svelte-o40k58,.service-station-tire-list__wheel-line--right.svelte-o40k58.svelte-o40k58{height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-list__wheel-line--left.svelte-o40k58.svelte-o40k58,.service-station-tire-list__wheel-line--right.svelte-o40k58.svelte-o40k58{height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-list__wheel-line--left.svelte-o40k58.svelte-o40k58,.service-station-tire-list__wheel-line--right.svelte-o40k58.svelte-o40k58{height:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-list__wheel-line--left.svelte-o40k58.svelte-o40k58,.service-station-tire-list__wheel-line--right.svelte-o40k58.svelte-o40k58{height:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-list__wheel-line--left.svelte-o40k58.svelte-o40k58,.service-station-tire-list__wheel-line--right.svelte-o40k58.svelte-o40k58{height:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-list__wheel-line--left.svelte-o40k58.svelte-o40k58,.service-station-tire-list__wheel-line--right.svelte-o40k58.svelte-o40k58{height:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-list__wheel-line--left.svelte-o40k58.svelte-o40k58,.service-station-tire-list__wheel-line--right.svelte-o40k58.svelte-o40k58{height:calc(0.0859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-list__wheel-line--left.svelte-o40k58.svelte-o40k58,.service-station-tire-list__wheel-line--right.svelte-o40k58.svelte-o40k58{top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-list__wheel-line--left.svelte-o40k58.svelte-o40k58,.service-station-tire-list__wheel-line--right.svelte-o40k58.svelte-o40k58{top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-list__wheel-line--left.svelte-o40k58.svelte-o40k58,.service-station-tire-list__wheel-line--right.svelte-o40k58.svelte-o40k58{top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-list__wheel-line--left.svelte-o40k58.svelte-o40k58,.service-station-tire-list__wheel-line--right.svelte-o40k58.svelte-o40k58{top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-list__wheel-line--left.svelte-o40k58.svelte-o40k58,.service-station-tire-list__wheel-line--right.svelte-o40k58.svelte-o40k58{top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-list__wheel-line--left.svelte-o40k58.svelte-o40k58,.service-station-tire-list__wheel-line--right.svelte-o40k58.svelte-o40k58{top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-list__wheel-line--left.svelte-o40k58.svelte-o40k58,.service-station-tire-list__wheel-line--right.svelte-o40k58.svelte-o40k58{top:calc(0.0286458333 * 100vw + 0px)}}.service-station-tire-list__wheel-line--left.svelte-o40k58.svelte-o40k58{left:calc(0.0442708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-list__wheel-line--left.svelte-o40k58.svelte-o40k58{left:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-list__wheel-line--left.svelte-o40k58.svelte-o40k58{left:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-list__wheel-line--left.svelte-o40k58.svelte-o40k58{left:calc(0.0340885417 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-list__wheel-line--left.svelte-o40k58.svelte-o40k58{left:calc(0.0486979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-list__wheel-line--left.svelte-o40k58.svelte-o40k58{left:calc(0.0309895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-list__wheel-line--left.svelte-o40k58.svelte-o40k58{left:calc(0.03984375 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-list__wheel-line--left.svelte-o40k58.svelte-o40k58{left:calc(0.0486979167 * 100vw + 0px)}}.service-station-tire-list__wheel-line--right.svelte-o40k58.svelte-o40k58{right:calc(0.0442708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-list__wheel-line--right.svelte-o40k58.svelte-o40k58{right:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-list__wheel-line--right.svelte-o40k58.svelte-o40k58{right:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-list__wheel-line--right.svelte-o40k58.svelte-o40k58{right:calc(0.0340885417 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-list__wheel-line--right.svelte-o40k58.svelte-o40k58{right:calc(0.0486979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-list__wheel-line--right.svelte-o40k58.svelte-o40k58{right:calc(0.0309895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-list__wheel-line--right.svelte-o40k58.svelte-o40k58{right:calc(0.03984375 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-list__wheel-line--right.svelte-o40k58.svelte-o40k58{right:calc(0.0486979167 * 100vw + 0px)}}.service-station-tire-list__wheel-line--middle.svelte-o40k58.svelte-o40k58{top:50%;left:calc(0.0442708333 * 100vw + 0px);width:calc(0.2005208333 * 100vw + 0px);height:calc(0.003125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-list__wheel-line--middle.svelte-o40k58.svelte-o40k58{left:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-list__wheel-line--middle.svelte-o40k58.svelte-o40k58{left:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-list__wheel-line--middle.svelte-o40k58.svelte-o40k58{left:calc(0.0340885417 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-list__wheel-line--middle.svelte-o40k58.svelte-o40k58{left:calc(0.0486979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-list__wheel-line--middle.svelte-o40k58.svelte-o40k58{left:calc(0.0309895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-list__wheel-line--middle.svelte-o40k58.svelte-o40k58{left:calc(0.03984375 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-list__wheel-line--middle.svelte-o40k58.svelte-o40k58{left:calc(0.0486979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-list__wheel-line--middle.svelte-o40k58.svelte-o40k58{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-list__wheel-line--middle.svelte-o40k58.svelte-o40k58{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-list__wheel-line--middle.svelte-o40k58.svelte-o40k58{width:calc(0.1544010417 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-list__wheel-line--middle.svelte-o40k58.svelte-o40k58{width:calc(0.2205729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-list__wheel-line--middle.svelte-o40k58.svelte-o40k58{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-list__wheel-line--middle.svelte-o40k58.svelte-o40k58{width:calc(0.18046875 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-list__wheel-line--middle.svelte-o40k58.svelte-o40k58{width:calc(0.2205729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-list__wheel-line--middle.svelte-o40k58.svelte-o40k58{height:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-list__wheel-line--middle.svelte-o40k58.svelte-o40k58{height:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-list__wheel-line--middle.svelte-o40k58.svelte-o40k58{height:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-list__wheel-line--middle.svelte-o40k58.svelte-o40k58{height:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-list__wheel-line--middle.svelte-o40k58.svelte-o40k58{height:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-list__wheel-line--middle.svelte-o40k58.svelte-o40k58{height:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-list__wheel-line--middle.svelte-o40k58.svelte-o40k58{height:calc(0.0034375 * 100vw + 0px)}}");
}

function tire_fitting_list_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[6] = list[i];
	child_ctx[8] = i;
	return child_ctx;
}

// (1530:8) {#each tireList as wheel, i}
function tire_fitting_list_index_svelte_create_each_block(ctx) {
	let div1;
	let div0;
	let div0_style_value;
	let t0;
	let p;
	let t1_value = /*tireList*/ ctx[0][/*i*/ ctx[8]] + "";
	let t1;
	let t2;
	let div1_class_value;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[3](/*i*/ ctx[8]);
	}

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = internal_text("%");
			attr(div0, "class", "service-station-tire-list__wheel-progress svelte-o40k58");

			attr(div0, "style", div0_style_value = `width: ${/*tireList*/ ctx[0][/*i*/ ctx[8]] / (100 / 100)}%; background-color: ${/*tireList*/ ctx[0][/*i*/ ctx[8]] === 100
			? '#6EDC5D'
			: '#FF2424'}`);

			attr(p, "class", "service-station-tire-list__wheel-percents svelte-o40k58");
			attr(div1, "class", div1_class_value = "service-station-tire-list__wheel service-station-tire-list__wheel--" + /*i*/ ctx[8] + " svelte-o40k58");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div1, t0);
			append(div1, p);
			append(p, t1);
			append(p, t2);

			if (!mounted) {
				dispose = listen(div1, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*tireList*/ 1 && div0_style_value !== (div0_style_value = `width: ${/*tireList*/ ctx[0][/*i*/ ctx[8]] / (100 / 100)}%; background-color: ${/*tireList*/ ctx[0][/*i*/ ctx[8]] === 100
			? '#6EDC5D'
			: '#FF2424'}`)) {
				attr(div0, "style", div0_style_value);
			}

			if (dirty & /*tireList*/ 1 && t1_value !== (t1_value = /*tireList*/ ctx[0][/*i*/ ctx[8]] + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
			mounted = false;
			dispose();
		}
	};
}

function tire_fitting_list_index_svelte_create_fragment(ctx) {
	let div8;
	let img0;
	let img0_src_value;
	let t0;
	let img1;
	let img1_src_value;
	let t1;
	let div1;
	let div0;
	let t5;
	let exitbutton;
	let t6;
	let div5;
	let t7;
	let div2;
	let t8;
	let div3;
	let t9;
	let div4;
	let t10;
	let div6;
	let img2;
	let img2_src_value;
	let t11;
	let p2;
	let t14;
	let div7;
	let img3;
	let img3_src_value;
	let t15;
	let p3;
	let current;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[1],
				fixedPosition: true
			}
		});

	let each_value = /*tireList*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = tire_fitting_list_index_svelte_create_each_block(tire_fitting_list_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div8 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			img1 = internal_element("img");
			t1 = space();
			div1 = internal_element("div");
			div0 = internal_element("div");

			div0.innerHTML = `<p class="service-station-tire-list__header-title svelte-o40k58">Шиномонтаж</p> 
            <p class="service-station-tire-list__header-description svelte-o40k58">Выберите колесо, чтобы снять его с транспорта</p>`;

			t5 = space();
			create_component(exitbutton.$$.fragment);
			t6 = space();
			div5 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t7 = space();
			div2 = internal_element("div");
			t8 = space();
			div3 = internal_element("div");
			t9 = space();
			div4 = internal_element("div");
			t10 = space();
			div6 = internal_element("div");
			img2 = internal_element("img");
			t11 = space();
			p2 = internal_element("p");

			p2.innerHTML = `<span class="service-station-tire-list__hint-title--green svelte-o40k58">Зелёным</span>
            — отмечены колёса, не требующие замены.`;

			t14 = space();
			div7 = internal_element("div");
			img3 = internal_element("img");
			t15 = space();
			p3 = internal_element("p");
			p3.textContent = "Выбрать колесо";
			attr(img0, "class", "service-station-tire-list__logo svelte-o40k58");
			if (!src_url_equal(img0.src, img0_src_value = service_station_img_logo_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "logo");
			attr(img1, "class", "service-station-tire-list__background svelte-o40k58");
			if (!src_url_equal(img1.src, img1_src_value = service_station_img_background_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "background");
			attr(div0, "class", "service-station-tire-list__header-title-wrapper svelte-o40k58");
			attr(div1, "class", "service-station-tire-list__header svelte-o40k58");
			attr(div2, "class", "service-station-tire-list__wheel-line service-station-tire-list__wheel-line--left svelte-o40k58");
			attr(div3, "class", "service-station-tire-list__wheel-line service-station-tire-list__wheel-line--right svelte-o40k58");
			attr(div4, "class", "service-station-tire-list__wheel-line service-station-tire-list__wheel-line--middle svelte-o40k58");
			attr(div5, "class", "service-station-tire-list__wheels svelte-o40k58");
			attr(img2, "class", "service-station-tire-list__hint-img svelte-o40k58");
			if (!src_url_equal(img2.src, img2_src_value = info_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "info-img");
			attr(p2, "class", "service-station-tire-list__hint-title svelte-o40k58");
			attr(div6, "class", "service-station-tire-list__hint svelte-o40k58");
			attr(img3, "class", "service-station-tire-list__button-img svelte-o40k58");
			if (!src_url_equal(img3.src, img3_src_value = service_station_img_leftMouse_namespaceObject)) attr(img3, "src", img3_src_value);
			attr(img3, "alt", "mouse-click");
			attr(p3, "class", "service-station-tire-list__button-title svelte-o40k58");
			attr(div7, "class", "service-station-tire-list__button svelte-o40k58");
			attr(div8, "class", "service-station-tire-list svelte-o40k58");
		},
		m(target, anchor) {
			insert(target, div8, anchor);
			append(div8, img0);
			append(div8, t0);
			append(div8, img1);
			append(div8, t1);
			append(div8, div1);
			append(div1, div0);
			append(div1, t5);
			mount_component(exitbutton, div1, null);
			append(div8, t6);
			append(div8, div5);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div5, null);
			}

			append(div5, t7);
			append(div5, div2);
			append(div5, t8);
			append(div5, div3);
			append(div5, t9);
			append(div5, div4);
			append(div8, t10);
			append(div8, div6);
			append(div6, img2);
			append(div6, t11);
			append(div6, p2);
			append(div8, t14);
			append(div8, div7);
			append(div7, img3);
			append(div7, t15);
			append(div7, p3);
			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*clickWheel, tireList*/ 5) {
				each_value = /*tireList*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = tire_fitting_list_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = tire_fitting_list_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div5, t7);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div8);
			destroy_component(exitbutton);
			destroy_each(each_blocks, detaching);
		}
	};
}

function tire_fitting_list_index_svelte_instance($$self, $$props, $$invalidate) {
	let tireList = {};

	const initializeTireList = tireListDto => {
		$$invalidate(0, tireList = tireListDto);
	};

	const handleClose = () => {
		sendClientMessage('serviceStation.tireList.exit');
	};

	const clickWheel = index => {
		sendClientMessage('serviceStation.tireList.clickWheel', index);
	};

	const unregisterInitializeTireListEvent = registerEvent('serviceStation.tireList.initializeTireList', initializeTireList);

	onDestroy(() => {
		unregisterInitializeTireListEvent();
	});

	const click_handler = i => clickWheel(i);
	return [tireList, handleClose, clickWheel, click_handler];
}

class Tire_fitting_list extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, tire_fitting_list_index_svelte_instance, tire_fitting_list_index_svelte_create_fragment, safe_not_equal, {}, tire_fitting_list_index_svelte_add_css);
	}
}

/* harmony default export */ const tire_fitting_list_index_svelte = (Tire_fitting_list);
;// CONCATENATED MODULE: ./src/views/service-station/tire-fitting-view/components/tire-fitting-screw/index.svelte
/* src\views\service-station\tire-fitting-view\components\tire-fitting-screw\index.svelte generated by Svelte v3.49.0 */


function tire_fitting_screw_index_svelte_add_css(target) {
	append_styles(target, "svelte-kj6ikl", "@keyframes svelte-kj6ikl-blinking{50%{opacity:0}}@keyframes svelte-kj6ikl-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-kj6ikl-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-kj6ikl-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-kj6ikl-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-kj6ikl-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-kj6ikl-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-kj6ikl-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-kj6ikl-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-kj6ikl-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-kj6ikl-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-kj6ikl-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-kj6ikl-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-kj6ikl-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-kj6ikl-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.service-station-tire-view__wheel-screw.svelte-kj6ikl{cursor:pointer;position:absolute;width:calc(0.009375 * 100vw + 0px);height:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-view__wheel-screw.svelte-kj6ikl{width:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-view__wheel-screw.svelte-kj6ikl{width:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-view__wheel-screw.svelte-kj6ikl{width:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-view__wheel-screw.svelte-kj6ikl{width:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-view__wheel-screw.svelte-kj6ikl{width:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-view__wheel-screw.svelte-kj6ikl{width:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-view__wheel-screw.svelte-kj6ikl{width:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-view__wheel-screw.svelte-kj6ikl{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-view__wheel-screw.svelte-kj6ikl{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-view__wheel-screw.svelte-kj6ikl{height:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-view__wheel-screw.svelte-kj6ikl{height:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-view__wheel-screw.svelte-kj6ikl{height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-view__wheel-screw.svelte-kj6ikl{height:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-view__wheel-screw.svelte-kj6ikl{height:calc(0.0103125 * 100vw + 0px)}}.service-station-tire-view__wheel-screw--0.svelte-kj6ikl,.service-station-tire-view__wheel-screw--1.svelte-kj6ikl{top:calc(0.0625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-view__wheel-screw--0.svelte-kj6ikl,.service-station-tire-view__wheel-screw--1.svelte-kj6ikl{top:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-view__wheel-screw--0.svelte-kj6ikl,.service-station-tire-view__wheel-screw--1.svelte-kj6ikl{top:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-view__wheel-screw--0.svelte-kj6ikl,.service-station-tire-view__wheel-screw--1.svelte-kj6ikl{top:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-view__wheel-screw--0.svelte-kj6ikl,.service-station-tire-view__wheel-screw--1.svelte-kj6ikl{top:calc(0.06875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-view__wheel-screw--0.svelte-kj6ikl,.service-station-tire-view__wheel-screw--1.svelte-kj6ikl{top:calc(0.04375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-view__wheel-screw--0.svelte-kj6ikl,.service-station-tire-view__wheel-screw--1.svelte-kj6ikl{top:calc(0.05625 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-view__wheel-screw--0.svelte-kj6ikl,.service-station-tire-view__wheel-screw--1.svelte-kj6ikl{top:calc(0.06875 * 100vw + 0px)}}.service-station-tire-view__wheel-screw--0.svelte-kj6ikl,.service-station-tire-view__wheel-screw--2.svelte-kj6ikl{left:calc(0.0625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-view__wheel-screw--0.svelte-kj6ikl,.service-station-tire-view__wheel-screw--2.svelte-kj6ikl{left:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-view__wheel-screw--0.svelte-kj6ikl,.service-station-tire-view__wheel-screw--2.svelte-kj6ikl{left:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-view__wheel-screw--0.svelte-kj6ikl,.service-station-tire-view__wheel-screw--2.svelte-kj6ikl{left:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-view__wheel-screw--0.svelte-kj6ikl,.service-station-tire-view__wheel-screw--2.svelte-kj6ikl{left:calc(0.06875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-view__wheel-screw--0.svelte-kj6ikl,.service-station-tire-view__wheel-screw--2.svelte-kj6ikl{left:calc(0.04375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-view__wheel-screw--0.svelte-kj6ikl,.service-station-tire-view__wheel-screw--2.svelte-kj6ikl{left:calc(0.05625 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-view__wheel-screw--0.svelte-kj6ikl,.service-station-tire-view__wheel-screw--2.svelte-kj6ikl{left:calc(0.06875 * 100vw + 0px)}}.service-station-tire-view__wheel-screw--1.svelte-kj6ikl,.service-station-tire-view__wheel-screw--3.svelte-kj6ikl{right:calc(0.0625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-view__wheel-screw--1.svelte-kj6ikl,.service-station-tire-view__wheel-screw--3.svelte-kj6ikl{right:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-view__wheel-screw--1.svelte-kj6ikl,.service-station-tire-view__wheel-screw--3.svelte-kj6ikl{right:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-view__wheel-screw--1.svelte-kj6ikl,.service-station-tire-view__wheel-screw--3.svelte-kj6ikl{right:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-view__wheel-screw--1.svelte-kj6ikl,.service-station-tire-view__wheel-screw--3.svelte-kj6ikl{right:calc(0.06875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-view__wheel-screw--1.svelte-kj6ikl,.service-station-tire-view__wheel-screw--3.svelte-kj6ikl{right:calc(0.04375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-view__wheel-screw--1.svelte-kj6ikl,.service-station-tire-view__wheel-screw--3.svelte-kj6ikl{right:calc(0.05625 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-view__wheel-screw--1.svelte-kj6ikl,.service-station-tire-view__wheel-screw--3.svelte-kj6ikl{right:calc(0.06875 * 100vw + 0px)}}.service-station-tire-view__wheel-screw--2.svelte-kj6ikl,.service-station-tire-view__wheel-screw--3.svelte-kj6ikl{bottom:calc(0.0625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-view__wheel-screw--2.svelte-kj6ikl,.service-station-tire-view__wheel-screw--3.svelte-kj6ikl{bottom:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-view__wheel-screw--2.svelte-kj6ikl,.service-station-tire-view__wheel-screw--3.svelte-kj6ikl{bottom:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-view__wheel-screw--2.svelte-kj6ikl,.service-station-tire-view__wheel-screw--3.svelte-kj6ikl{bottom:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-view__wheel-screw--2.svelte-kj6ikl,.service-station-tire-view__wheel-screw--3.svelte-kj6ikl{bottom:calc(0.06875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-view__wheel-screw--2.svelte-kj6ikl,.service-station-tire-view__wheel-screw--3.svelte-kj6ikl{bottom:calc(0.04375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-view__wheel-screw--2.svelte-kj6ikl,.service-station-tire-view__wheel-screw--3.svelte-kj6ikl{bottom:calc(0.05625 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-view__wheel-screw--2.svelte-kj6ikl,.service-station-tire-view__wheel-screw--3.svelte-kj6ikl{bottom:calc(0.06875 * 100vw + 0px)}}");
}

function tire_fitting_screw_index_svelte_create_fragment(ctx) {
	let svg;
	let path;
	let path_fill_value;
	let svg_class_value;
	let mounted;
	let dispose;

	return {
		c() {
			svg = svg_element("svg");
			path = svg_element("path");
			attr(path, "d", "M9 0L16.0365 3.38859L17.7744 11.0027L12.905 17.1087H5.09505L0.225649 11.0027L1.96352 3.38859L9 0Z");
			attr(path, "fill", path_fill_value = /*isUnscrewed*/ ctx[1] ? '#76D355' : '#FF3737');
			attr(svg, "class", svg_class_value = "" + (null_to_empty(/*screwClass*/ ctx[0]) + " svelte-kj6ikl"));
			attr(svg, "width", "18");
			attr(svg, "height", "18");
			attr(svg, "viewBox", "0 0 18 18");
			attr(svg, "fill", "none");
			attr(svg, "xmlns", "http://www.w3.org/2000/svg");
		},
		m(target, anchor) {
			insert(target, svg, anchor);
			append(svg, path);

			if (!mounted) {
				dispose = listen(svg, "click", function () {
					if (internal_is_function(/*mouseClick*/ ctx[2])) /*mouseClick*/ ctx[2].apply(this, arguments);
				});

				mounted = true;
			}
		},
		p(new_ctx, [dirty]) {
			ctx = new_ctx;

			if (dirty & /*isUnscrewed*/ 2 && path_fill_value !== (path_fill_value = /*isUnscrewed*/ ctx[1] ? '#76D355' : '#FF3737')) {
				attr(path, "fill", path_fill_value);
			}

			if (dirty & /*screwClass*/ 1 && svg_class_value !== (svg_class_value = "" + (null_to_empty(/*screwClass*/ ctx[0]) + " svelte-kj6ikl"))) {
				attr(svg, "class", svg_class_value);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(svg);
			mounted = false;
			dispose();
		}
	};
}

function tire_fitting_screw_index_svelte_instance($$self, $$props, $$invalidate) {
	let { screwClass } = $$props;
	let { isUnscrewed } = $$props;
	let { mouseClick } = $$props;

	$$self.$$set = $$props => {
		if ('screwClass' in $$props) $$invalidate(0, screwClass = $$props.screwClass);
		if ('isUnscrewed' in $$props) $$invalidate(1, isUnscrewed = $$props.isUnscrewed);
		if ('mouseClick' in $$props) $$invalidate(2, mouseClick = $$props.mouseClick);
	};

	return [screwClass, isUnscrewed, mouseClick];
}

class Tire_fitting_screw extends SvelteComponent {
	constructor(options) {
		super();

		init(
			this,
			options,
			tire_fitting_screw_index_svelte_instance,
			tire_fitting_screw_index_svelte_create_fragment,
			safe_not_equal,
			{
				screwClass: 0,
				isUnscrewed: 1,
				mouseClick: 2
			},
			tire_fitting_screw_index_svelte_add_css
		);
	}
}

/* harmony default export */ const tire_fitting_screw_index_svelte = (Tire_fitting_screw);
;// CONCATENATED MODULE: ./src/views/service-station/img/warning.svg
const service_station_img_warning_namespaceObject = __webpack_require__.p + "assets/8cfe204490bd7c0ec7ed.svg";
;// CONCATENATED MODULE: ./src/views/service-station/img/rightMouse.svg
const rightMouse_namespaceObject = __webpack_require__.p + "assets/60a052229bc27778b962.svg";
;// CONCATENATED MODULE: ./src/views/service-station/img/tire-fitting-wheel.svg
const tire_fitting_wheel_namespaceObject = __webpack_require__.p + "assets/8b77f7356290fd7f461a.svg";
;// CONCATENATED MODULE: ./src/views/service-station/tire-fitting-view/index.svelte
/* src\views\service-station\tire-fitting-view\index.svelte generated by Svelte v3.49.0 */

















function tire_fitting_view_index_svelte_add_css(target) {
	append_styles(target, "svelte-wi9n9j", "@keyframes svelte-wi9n9j-blinking{50%{opacity:0}}@keyframes svelte-wi9n9j-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-wi9n9j-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-wi9n9j-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-wi9n9j-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-wi9n9j-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-wi9n9j-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-wi9n9j-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-wi9n9j-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-wi9n9j-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-wi9n9j-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-wi9n9j-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-wi9n9j-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-wi9n9j-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-wi9n9j-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.service-station-tire-view.svelte-wi9n9j{position:relative;display:flex;align-items:center;justify-content:center;width:100vw;height:100vh;background:rgba(19, 21, 22, 0.95)}.service-station-tire-view__logo.svelte-wi9n9j{position:absolute;left:calc(0.03125 * 100vw + 0px);top:calc(0.03125 * 100vw + 0px);width:calc(0.1458333333 * 100vw + 0px);height:calc(0.0494791667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-view__logo.svelte-wi9n9j{left:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-view__logo.svelte-wi9n9j{left:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-view__logo.svelte-wi9n9j{left:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-view__logo.svelte-wi9n9j{left:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-view__logo.svelte-wi9n9j{left:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-view__logo.svelte-wi9n9j{left:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-view__logo.svelte-wi9n9j{left:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-view__logo.svelte-wi9n9j{top:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-view__logo.svelte-wi9n9j{top:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-view__logo.svelte-wi9n9j{top:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-view__logo.svelte-wi9n9j{top:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-view__logo.svelte-wi9n9j{top:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-view__logo.svelte-wi9n9j{top:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-view__logo.svelte-wi9n9j{top:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-view__logo.svelte-wi9n9j{width:calc(0.1458333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-view__logo.svelte-wi9n9j{width:calc(0.1458333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-view__logo.svelte-wi9n9j{width:calc(0.1122916667 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-view__logo.svelte-wi9n9j{width:calc(0.1604166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-view__logo.svelte-wi9n9j{width:calc(0.1020833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-view__logo.svelte-wi9n9j{width:calc(0.13125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-view__logo.svelte-wi9n9j{width:calc(0.1604166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-view__logo.svelte-wi9n9j{height:calc(0.0494791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-view__logo.svelte-wi9n9j{height:calc(0.0494791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-view__logo.svelte-wi9n9j{height:calc(0.0380989583 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-view__logo.svelte-wi9n9j{height:calc(0.0544270833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-view__logo.svelte-wi9n9j{height:calc(0.0346354167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-view__logo.svelte-wi9n9j{height:calc(0.04453125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-view__logo.svelte-wi9n9j{height:calc(0.0544270833 * 100vw + 0px)}}.service-station-tire-view__background.svelte-wi9n9j{position:absolute;top:0;left:0;width:calc(0.15625 * 100vw + 0px);height:calc(0.3125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-view__background.svelte-wi9n9j{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-view__background.svelte-wi9n9j{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-view__background.svelte-wi9n9j{width:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-view__background.svelte-wi9n9j{width:calc(0.171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-view__background.svelte-wi9n9j{width:calc(0.109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-view__background.svelte-wi9n9j{width:calc(0.140625 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-view__background.svelte-wi9n9j{width:calc(0.171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-view__background.svelte-wi9n9j{height:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-view__background.svelte-wi9n9j{height:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-view__background.svelte-wi9n9j{height:calc(0.240625 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-view__background.svelte-wi9n9j{height:calc(0.34375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-view__background.svelte-wi9n9j{height:calc(0.21875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-view__background.svelte-wi9n9j{height:calc(0.28125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-view__background.svelte-wi9n9j{height:calc(0.34375 * 100vw + 0px)}}.service-station-tire-view__header.svelte-wi9n9j{position:absolute;top:calc(0.03125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-view__header.svelte-wi9n9j{top:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-view__header.svelte-wi9n9j{top:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-view__header.svelte-wi9n9j{top:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-view__header.svelte-wi9n9j{top:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-view__header.svelte-wi9n9j{top:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-view__header.svelte-wi9n9j{top:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-view__header.svelte-wi9n9j{top:calc(0.034375 * 100vw + 0px)}}.service-station-tire-view__header-title-wrapper.svelte-wi9n9j{display:flex;flex-direction:column;align-items:center}.service-station-tire-view__header-title.svelte-wi9n9j{font-family:\"GothamPro-Bold\";color:#FFFFFF;font-size:calc(0.01875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-view__header-title.svelte-wi9n9j{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-view__header-title.svelte-wi9n9j{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-view__header-title.svelte-wi9n9j{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-view__header-title.svelte-wi9n9j{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-view__header-title.svelte-wi9n9j{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-view__header-title.svelte-wi9n9j{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-view__header-title.svelte-wi9n9j{font-size:calc(0.020625 * 100vw + 0px)}}.service-station-tire-view__header-description.svelte-wi9n9j{font-family:\"GothamPro\";color:rgba(255, 255, 255, 0.7);font-size:calc(0.009375 * 100vw + 0px);margin-top:calc(0.0088541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-view__header-description.svelte-wi9n9j{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-view__header-description.svelte-wi9n9j{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-view__header-description.svelte-wi9n9j{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-view__header-description.svelte-wi9n9j{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-view__header-description.svelte-wi9n9j{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-view__header-description.svelte-wi9n9j{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-view__header-description.svelte-wi9n9j{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-view__header-description.svelte-wi9n9j{margin-top:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-view__header-description.svelte-wi9n9j{margin-top:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-view__header-description.svelte-wi9n9j{margin-top:calc(0.0068177083 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-view__header-description.svelte-wi9n9j{margin-top:calc(0.0097395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-view__header-description.svelte-wi9n9j{margin-top:calc(0.0061979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-view__header-description.svelte-wi9n9j{margin-top:calc(0.00796875 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-view__header-description.svelte-wi9n9j{margin-top:calc(0.0097395833 * 100vw + 0px)}}.service-station-tire-view__hint.svelte-wi9n9j{position:absolute;display:flex;align-items:center;gap:calc(0.0083333333 * 100vw + 0px);bottom:calc(0.0677083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-view__hint.svelte-wi9n9j{gap:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-view__hint.svelte-wi9n9j{gap:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-view__hint.svelte-wi9n9j{gap:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-view__hint.svelte-wi9n9j{gap:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-view__hint.svelte-wi9n9j{gap:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-view__hint.svelte-wi9n9j{gap:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-view__hint.svelte-wi9n9j{gap:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-view__hint.svelte-wi9n9j{bottom:calc(0.0677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-view__hint.svelte-wi9n9j{bottom:calc(0.0677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-view__hint.svelte-wi9n9j{bottom:calc(0.0521354167 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-view__hint.svelte-wi9n9j{bottom:calc(0.0744791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-view__hint.svelte-wi9n9j{bottom:calc(0.0473958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-view__hint.svelte-wi9n9j{bottom:calc(0.0609375 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-view__hint.svelte-wi9n9j{bottom:calc(0.0744791667 * 100vw + 0px)}}.service-station-tire-view__hint-img.svelte-wi9n9j{height:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-view__hint-img.svelte-wi9n9j{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-view__hint-img.svelte-wi9n9j{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-view__hint-img.svelte-wi9n9j{height:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-view__hint-img.svelte-wi9n9j{height:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-view__hint-img.svelte-wi9n9j{height:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-view__hint-img.svelte-wi9n9j{height:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-view__hint-img.svelte-wi9n9j{height:calc(0.0275 * 100vw + 0px)}}.service-station-tire-view__hint-title.svelte-wi9n9j{font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-view__hint-title.svelte-wi9n9j{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-view__hint-title.svelte-wi9n9j{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-view__hint-title.svelte-wi9n9j{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-view__hint-title.svelte-wi9n9j{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-view__hint-title.svelte-wi9n9j{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-view__hint-title.svelte-wi9n9j{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-view__hint-title.svelte-wi9n9j{font-size:calc(0.0091666667 * 100vw + 0px)}}.service-station-tire-view__button.svelte-wi9n9j{position:absolute;display:flex;align-items:center;bottom:calc(0.03125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-view__button.svelte-wi9n9j{bottom:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-view__button.svelte-wi9n9j{bottom:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-view__button.svelte-wi9n9j{bottom:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-view__button.svelte-wi9n9j{bottom:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-view__button.svelte-wi9n9j{bottom:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-view__button.svelte-wi9n9j{bottom:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-view__button.svelte-wi9n9j{bottom:calc(0.034375 * 100vw + 0px)}}.service-station-tire-view__button-img.svelte-wi9n9j{height:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-view__button-img.svelte-wi9n9j{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-view__button-img.svelte-wi9n9j{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-view__button-img.svelte-wi9n9j{height:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-view__button-img.svelte-wi9n9j{height:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-view__button-img.svelte-wi9n9j{height:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-view__button-img.svelte-wi9n9j{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-view__button-img.svelte-wi9n9j{height:calc(0.0171875 * 100vw + 0px)}}.service-station-tire-view__button-title.svelte-wi9n9j{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0078125 * 100vw + 0px);margin-left:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-view__button-title.svelte-wi9n9j{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-view__button-title.svelte-wi9n9j{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-view__button-title.svelte-wi9n9j{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-view__button-title.svelte-wi9n9j{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-view__button-title.svelte-wi9n9j{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-view__button-title.svelte-wi9n9j{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-view__button-title.svelte-wi9n9j{font-size:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-view__button-title.svelte-wi9n9j{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-view__button-title.svelte-wi9n9j{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-view__button-title.svelte-wi9n9j{margin-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-view__button-title.svelte-wi9n9j{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-view__button-title.svelte-wi9n9j{margin-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-view__button-title.svelte-wi9n9j{margin-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-view__button-title.svelte-wi9n9j{margin-left:calc(0.0114583333 * 100vw + 0px)}}.service-station-tire-view__wheel.svelte-wi9n9j{display:flex;align-items:center;justify-content:center;background-color:rgba(255, 255, 255, 0.1);border-radius:50%;position:relative;width:calc(0.2083333333 * 100vw + 0px);height:calc(0.2083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-view__wheel.svelte-wi9n9j{width:calc(0.2083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-view__wheel.svelte-wi9n9j{width:calc(0.2083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-view__wheel.svelte-wi9n9j{width:calc(0.1604166667 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-view__wheel.svelte-wi9n9j{width:calc(0.2291666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-view__wheel.svelte-wi9n9j{width:calc(0.1458333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-view__wheel.svelte-wi9n9j{width:calc(0.1875 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-view__wheel.svelte-wi9n9j{width:calc(0.2291666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-view__wheel.svelte-wi9n9j{height:calc(0.2083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-view__wheel.svelte-wi9n9j{height:calc(0.2083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-view__wheel.svelte-wi9n9j{height:calc(0.1604166667 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-view__wheel.svelte-wi9n9j{height:calc(0.2291666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-view__wheel.svelte-wi9n9j{height:calc(0.1458333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-view__wheel.svelte-wi9n9j{height:calc(0.1875 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-view__wheel.svelte-wi9n9j{height:calc(0.2291666667 * 100vw + 0px)}}.service-station-tire-view__wheel-img-wrapper.svelte-wi9n9j{position:relative;display:flex;z-index:2;width:calc(0.15625 * 100vw + 0px);height:calc(0.15625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-view__wheel-img-wrapper.svelte-wi9n9j{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-view__wheel-img-wrapper.svelte-wi9n9j{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-view__wheel-img-wrapper.svelte-wi9n9j{width:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-view__wheel-img-wrapper.svelte-wi9n9j{width:calc(0.171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-view__wheel-img-wrapper.svelte-wi9n9j{width:calc(0.109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-view__wheel-img-wrapper.svelte-wi9n9j{width:calc(0.140625 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-view__wheel-img-wrapper.svelte-wi9n9j{width:calc(0.171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-view__wheel-img-wrapper.svelte-wi9n9j{height:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-view__wheel-img-wrapper.svelte-wi9n9j{height:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-view__wheel-img-wrapper.svelte-wi9n9j{height:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-view__wheel-img-wrapper.svelte-wi9n9j{height:calc(0.171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-view__wheel-img-wrapper.svelte-wi9n9j{height:calc(0.109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-view__wheel-img-wrapper.svelte-wi9n9j{height:calc(0.140625 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-view__wheel-img-wrapper.svelte-wi9n9j{height:calc(0.171875 * 100vw + 0px)}}.service-station-tire-view__wheel-progress.svelte-wi9n9j{position:absolute;width:104%;height:104%}.service-station-tire-view__wheel-title.svelte-wi9n9j{font-family:\"GothamPro-Medium\";color:rgba(255, 255, 255, 0.5);text-align:center;text-transform:uppercase;font-size:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-view__wheel-title.svelte-wi9n9j{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-view__wheel-title.svelte-wi9n9j{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-view__wheel-title.svelte-wi9n9j{font-size:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-view__wheel-title.svelte-wi9n9j{font-size:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-view__wheel-title.svelte-wi9n9j{font-size:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-view__wheel-title.svelte-wi9n9j{font-size:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-view__wheel-title.svelte-wi9n9j{font-size:calc(0.0171875 * 100vw + 0px)}}.service-station-tire-view__wheel-header-text.svelte-wi9n9j{position:absolute;font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.009375 * 100vw + 0px);top:calc(-0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-view__wheel-header-text.svelte-wi9n9j{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-view__wheel-header-text.svelte-wi9n9j{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-view__wheel-header-text.svelte-wi9n9j{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-view__wheel-header-text.svelte-wi9n9j{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-view__wheel-header-text.svelte-wi9n9j{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-view__wheel-header-text.svelte-wi9n9j{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-view__wheel-header-text.svelte-wi9n9j{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-view__wheel-header-text.svelte-wi9n9j{top:calc(-0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-view__wheel-header-text.svelte-wi9n9j{top:calc(-0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-view__wheel-header-text.svelte-wi9n9j{top:calc(-0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-view__wheel-header-text.svelte-wi9n9j{top:calc(-0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-view__wheel-header-text.svelte-wi9n9j{top:calc(-0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-view__wheel-header-text.svelte-wi9n9j{top:calc(-0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-view__wheel-header-text.svelte-wi9n9j{top:calc(-0.0286458333 * 100vw + 0px)}}.service-station-tire-view__wheel-percents-text.svelte-wi9n9j{position:absolute;font-family:\"GothamPro-Medium\";background-color:#FFFFFF;color:#111111;font-size:calc(0.0072916667 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);padding:calc(0.0052083333 * 100vw + 0px);top:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-view__wheel-percents-text.svelte-wi9n9j{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-view__wheel-percents-text.svelte-wi9n9j{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-view__wheel-percents-text.svelte-wi9n9j{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-view__wheel-percents-text.svelte-wi9n9j{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-view__wheel-percents-text.svelte-wi9n9j{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-view__wheel-percents-text.svelte-wi9n9j{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-view__wheel-percents-text.svelte-wi9n9j{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-view__wheel-percents-text.svelte-wi9n9j{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-view__wheel-percents-text.svelte-wi9n9j{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-view__wheel-percents-text.svelte-wi9n9j{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-view__wheel-percents-text.svelte-wi9n9j{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-view__wheel-percents-text.svelte-wi9n9j{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-view__wheel-percents-text.svelte-wi9n9j{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-view__wheel-percents-text.svelte-wi9n9j{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-view__wheel-percents-text.svelte-wi9n9j{padding:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-view__wheel-percents-text.svelte-wi9n9j{padding:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-view__wheel-percents-text.svelte-wi9n9j{padding:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-view__wheel-percents-text.svelte-wi9n9j{padding:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-view__wheel-percents-text.svelte-wi9n9j{padding:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-view__wheel-percents-text.svelte-wi9n9j{padding:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-view__wheel-percents-text.svelte-wi9n9j{padding:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.service-station-tire-view__wheel-percents-text.svelte-wi9n9j{top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.service-station-tire-view__wheel-percents-text.svelte-wi9n9j{top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.service-station-tire-view__wheel-percents-text.svelte-wi9n9j{top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.service-station-tire-view__wheel-percents-text.svelte-wi9n9j{top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.service-station-tire-view__wheel-percents-text.svelte-wi9n9j{top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.service-station-tire-view__wheel-percents-text.svelte-wi9n9j{top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.service-station-tire-view__wheel-percents-text.svelte-wi9n9j{top:calc(0.0114583333 * 100vw + 0px)}}");
}

function tire_fitting_view_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[15] = list[i];
	child_ctx[17] = i;
	return child_ctx;
}

function tire_fitting_view_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[15] = list[i];
	child_ctx[17] = i;
	return child_ctx;
}

// (1557:48) 
function tire_fitting_view_index_svelte_create_if_block_3(ctx) {
	let div0;
	let t1;
	let div1;
	let img0;
	let img0_src_value;
	let t2;
	let p1;
	let t5;
	let div2;
	let img1;
	let img1_src_value;
	let t6;
	let p2;

	return {
		c() {
			div0 = internal_element("div");
			div0.innerHTML = `<p class="service-station-tire-view__wheel-title svelte-wi9n9j">Новое колесо установлено</p>`;
			t1 = space();
			div1 = internal_element("div");
			img0 = internal_element("img");
			t2 = space();
			p1 = internal_element("p");
			p1.innerHTML = `<strong>Болты закручены</strong>. Так держать!`;
			t5 = space();
			div2 = internal_element("div");
			img1 = internal_element("img");
			t6 = space();
			p2 = internal_element("p");
			p2.textContent = "Вернуться к транспорту";
			attr(div0, "class", "service-station-tire-view__wheel svelte-wi9n9j");
			attr(img0, "class", "service-station-tire-view__hint-img svelte-wi9n9j");
			if (!src_url_equal(img0.src, img0_src_value = success_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "info-img");
			attr(p1, "class", "service-station-tire-view__hint-title svelte-wi9n9j");
			attr(div1, "class", "service-station-tire-view__hint svelte-wi9n9j");
			attr(img1, "class", "service-station-tire-view__button-img svelte-wi9n9j");
			if (!src_url_equal(img1.src, img1_src_value = rightMouse_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "mouse-click");
			attr(p2, "class", "service-station-tire-view__button-title svelte-wi9n9j");
			attr(div2, "class", "service-station-tire-view__button svelte-wi9n9j");
		},
		m(target, anchor) {
			insert(target, div0, anchor);
			insert(target, t1, anchor);
			insert(target, div1, anchor);
			append(div1, img0);
			append(div1, t2);
			append(div1, p1);
			insert(target, t5, anchor);
			insert(target, div2, anchor);
			append(div2, img1);
			append(div2, t6);
			append(div2, p2);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div0);
			if (detaching) detach(t1);
			if (detaching) detach(div1);
			if (detaching) detach(t5);
			if (detaching) detach(div2);
		}
	};
}

// (1506:49) 
function tire_fitting_view_index_svelte_create_if_block_2(ctx) {
	let div2;
	let p0;
	let t1;
	let p1;
	let t2_value = (/*progress*/ ctx[3][/*currentSelectedIndex*/ ctx[2]] || 0) + "";
	let t2;
	let t3;
	let t4;
	let div0;
	let img0;
	let img0_src_value;
	let t5;
	let t6;
	let div1;
	let circleprogress;
	let t7;
	let div3;
	let img1;
	let img1_src_value;
	let t8;
	let p2;
	let t12;
	let div4;
	let img2;
	let img2_src_value;
	let t13;
	let p3;
	let current;
	let each_value_1 = /*tireView*/ ctx[0].screwStates;
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = tire_fitting_view_index_svelte_create_each_block_1(tire_fitting_view_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	circleprogress = new circle_progress_index_svelte({
			props: {
				color: "#fff",
				strokeWidth: "6",
				percents: /*progress*/ ctx[3][/*currentSelectedIndex*/ ctx[2]] || 0
			}
		});

	return {
		c() {
			div2 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Состояние протектора";
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = internal_text("%");
			t4 = space();
			div0 = internal_element("div");
			img0 = internal_element("img");
			t5 = space();

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t6 = space();
			div1 = internal_element("div");
			create_component(circleprogress.$$.fragment);
			t7 = space();
			div3 = internal_element("div");
			img1 = internal_element("img");
			t8 = space();
			p2 = internal_element("p");

			p2.innerHTML = `<strong>Колесо установлено</strong>. <br/>
                Теперь осталось закрепить болты!`;

			t12 = space();
			div4 = internal_element("div");
			img2 = internal_element("img");
			t13 = space();
			p3 = internal_element("p");
			p3.textContent = "Закрутить гайку";
			attr(p0, "class", "service-station-tire-view__wheel-header-text svelte-wi9n9j");
			attr(p1, "class", "service-station-tire-view__wheel-percents-text svelte-wi9n9j");
			attr(img0, "class", "service-station-tire-view__wheel-img");
			if (!src_url_equal(img0.src, img0_src_value = tire_fitting_wheel_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "wheel-img");
			attr(div0, "class", "service-station-tire-view__wheel-img-wrapper svelte-wi9n9j");
			attr(div1, "class", "service-station-tire-view__wheel-progress svelte-wi9n9j");
			attr(div2, "class", "service-station-tire-view__wheel svelte-wi9n9j");
			attr(img1, "class", "service-station-tire-view__hint-img svelte-wi9n9j");
			if (!src_url_equal(img1.src, img1_src_value = success_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "info-img");
			attr(p2, "class", "service-station-tire-view__hint-title svelte-wi9n9j");
			attr(div3, "class", "service-station-tire-view__hint svelte-wi9n9j");
			attr(img2, "class", "service-station-tire-view__button-img svelte-wi9n9j");
			if (!src_url_equal(img2.src, img2_src_value = service_station_img_leftMouse_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "mouse-click");
			attr(p3, "class", "service-station-tire-view__button-title svelte-wi9n9j");
			attr(div4, "class", "service-station-tire-view__button svelte-wi9n9j");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, p0);
			append(div2, t1);
			append(div2, p1);
			append(p1, t2);
			append(p1, t3);
			append(div2, t4);
			append(div2, div0);
			append(div0, img0);
			append(div0, t5);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			append(div2, t6);
			append(div2, div1);
			mount_component(circleprogress, div1, null);
			insert(target, t7, anchor);
			insert(target, div3, anchor);
			append(div3, img1);
			append(div3, t8);
			append(div3, p2);
			insert(target, t12, anchor);
			insert(target, div4, anchor);
			append(div4, img2);
			append(div4, t13);
			append(div4, p3);
			current = true;
		},
		p(ctx, dirty) {
			if ((!current || dirty & /*progress, currentSelectedIndex*/ 12) && t2_value !== (t2_value = (/*progress*/ ctx[3][/*currentSelectedIndex*/ ctx[2]] || 0) + "")) set_data(t2, t2_value);

			if (dirty & /*tireView, screwActions*/ 17) {
				each_value_1 = /*tireView*/ ctx[0].screwStates;
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = tire_fitting_view_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = tire_fitting_view_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div0, null);
					}
				}

				group_outros();

				for (i = each_value_1.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}

			const circleprogress_changes = {};
			if (dirty & /*progress, currentSelectedIndex*/ 12) circleprogress_changes.percents = /*progress*/ ctx[3][/*currentSelectedIndex*/ ctx[2]] || 0;
			circleprogress.$set(circleprogress_changes);
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value_1.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			transition_in(circleprogress.$$.fragment, local);
			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			transition_out(circleprogress.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div2);
			destroy_each(each_blocks, detaching);
			destroy_component(circleprogress);
			if (detaching) detach(t7);
			if (detaching) detach(div3);
			if (detaching) detach(t12);
			if (detaching) detach(div4);
		}
	};
}

// (1479:36) 
function tire_fitting_view_index_svelte_create_if_block_1(ctx) {
	let div0;
	let t1;
	let div1;
	let img0;
	let img0_src_value;
	let t2;
	let p1;
	let t6;
	let div2;
	let img1;
	let img1_src_value;
	let t7;
	let p2;

	return {
		c() {
			div0 = internal_element("div");
			div0.innerHTML = `<p class="service-station-tire-view__wheel-title svelte-wi9n9j">Колесо снято</p>`;
			t1 = space();
			div1 = internal_element("div");
			img0 = internal_element("img");
			t2 = space();
			p1 = internal_element("p");

			p1.innerHTML = `<strong>Супер! Колесо демонтировано</strong>. <br/>
                Установите новое колесо на транспорт и закрепите гайки.`;

			t6 = space();
			div2 = internal_element("div");
			img1 = internal_element("img");
			t7 = space();
			p2 = internal_element("p");
			p2.textContent = "Установить колесо";
			attr(div0, "class", "service-station-tire-view__wheel svelte-wi9n9j");
			attr(img0, "class", "service-station-tire-view__hint-img svelte-wi9n9j");
			if (!src_url_equal(img0.src, img0_src_value = service_station_img_warning_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "info-img");
			attr(p1, "class", "service-station-tire-view__hint-title svelte-wi9n9j");
			attr(div1, "class", "service-station-tire-view__hint svelte-wi9n9j");
			attr(img1, "class", "service-station-tire-view__button-img svelte-wi9n9j");
			if (!src_url_equal(img1.src, img1_src_value = rightMouse_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "mouse-click");
			attr(p2, "class", "service-station-tire-view__button-title svelte-wi9n9j");
			attr(div2, "class", "service-station-tire-view__button svelte-wi9n9j");
		},
		m(target, anchor) {
			insert(target, div0, anchor);
			insert(target, t1, anchor);
			insert(target, div1, anchor);
			append(div1, img0);
			append(div1, t2);
			append(div1, p1);
			insert(target, t6, anchor);
			insert(target, div2, anchor);
			append(div2, img1);
			append(div2, t7);
			append(div2, p2);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div0);
			if (detaching) detach(t1);
			if (detaching) detach(div1);
			if (detaching) detach(t6);
			if (detaching) detach(div2);
		}
	};
}

// (1429:4) {#if tireView.action === 0}
function tire_fitting_view_index_svelte_create_if_block(ctx) {
	let div2;
	let p0;
	let t1;
	let p1;
	let t2_value = (/*progress*/ ctx[3][/*currentSelectedIndex*/ ctx[2]] || 0) + "";
	let t2;
	let t3;
	let t4;
	let div0;
	let img0;
	let img0_src_value;
	let t5;
	let t6;
	let div1;
	let circleprogress;
	let t7;
	let div3;
	let img1;
	let img1_src_value;
	let t8;
	let p2;
	let t10;
	let div4;
	let img2;
	let img2_src_value;
	let t11;
	let p3;
	let t12_value = (/*isActive*/ ctx[1] ? 'Снять колесо' : 'Открутить гайку') + "";
	let t12;
	let current;
	let each_value = /*tireView*/ ctx[0].screwStates;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = tire_fitting_view_index_svelte_create_each_block(tire_fitting_view_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	circleprogress = new circle_progress_index_svelte({
			props: {
				color: "#fff",
				strokeWidth: "6",
				percents: /*progress*/ ctx[3][/*currentSelectedIndex*/ ctx[2]] || 0
			}
		});

	return {
		c() {
			div2 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Состояние протектора";
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = internal_text("%");
			t4 = space();
			div0 = internal_element("div");
			img0 = internal_element("img");
			t5 = space();

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t6 = space();
			div1 = internal_element("div");
			create_component(circleprogress.$$.fragment);
			t7 = space();
			div3 = internal_element("div");
			img1 = internal_element("img");
			t8 = space();
			p2 = internal_element("p");
			p2.textContent = "Открутите гайки, и снимите колесо с транспорта.";
			t10 = space();
			div4 = internal_element("div");
			img2 = internal_element("img");
			t11 = space();
			p3 = internal_element("p");
			t12 = internal_text(t12_value);
			attr(p0, "class", "service-station-tire-view__wheel-header-text svelte-wi9n9j");
			attr(p1, "class", "service-station-tire-view__wheel-percents-text svelte-wi9n9j");
			attr(img0, "class", "service-station-tire-view__wheel-img");
			if (!src_url_equal(img0.src, img0_src_value = tire_fitting_wheel_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "wheel-img");
			attr(div0, "class", "service-station-tire-view__wheel-img-wrapper svelte-wi9n9j");
			attr(div1, "class", "service-station-tire-view__wheel-progress svelte-wi9n9j");
			attr(div2, "class", "service-station-tire-view__wheel svelte-wi9n9j");
			attr(img1, "class", "service-station-tire-view__hint-img svelte-wi9n9j");
			if (!src_url_equal(img1.src, img1_src_value = info_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "info-img");
			attr(p2, "class", "service-station-tire-view__hint-title svelte-wi9n9j");
			attr(div3, "class", "service-station-tire-view__hint svelte-wi9n9j");
			attr(img2, "class", "service-station-tire-view__button-img svelte-wi9n9j");
			if (!src_url_equal(img2.src, img2_src_value = service_station_img_leftMouse_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "mouse-click");
			attr(p3, "class", "service-station-tire-view__button-title svelte-wi9n9j");
			attr(div4, "class", "service-station-tire-view__button svelte-wi9n9j");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, p0);
			append(div2, t1);
			append(div2, p1);
			append(p1, t2);
			append(p1, t3);
			append(div2, t4);
			append(div2, div0);
			append(div0, img0);
			append(div0, t5);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			append(div2, t6);
			append(div2, div1);
			mount_component(circleprogress, div1, null);
			insert(target, t7, anchor);
			insert(target, div3, anchor);
			append(div3, img1);
			append(div3, t8);
			append(div3, p2);
			insert(target, t10, anchor);
			insert(target, div4, anchor);
			append(div4, img2);
			append(div4, t11);
			append(div4, p3);
			append(p3, t12);
			current = true;
		},
		p(ctx, dirty) {
			if ((!current || dirty & /*progress, currentSelectedIndex*/ 12) && t2_value !== (t2_value = (/*progress*/ ctx[3][/*currentSelectedIndex*/ ctx[2]] || 0) + "")) set_data(t2, t2_value);

			if (dirty & /*tireView, screwActions*/ 17) {
				each_value = /*tireView*/ ctx[0].screwStates;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = tire_fitting_view_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = tire_fitting_view_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div0, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}

			const circleprogress_changes = {};
			if (dirty & /*progress, currentSelectedIndex*/ 12) circleprogress_changes.percents = /*progress*/ ctx[3][/*currentSelectedIndex*/ ctx[2]] || 0;
			circleprogress.$set(circleprogress_changes);
			if ((!current || dirty & /*isActive*/ 2) && t12_value !== (t12_value = (/*isActive*/ ctx[1] ? 'Снять колесо' : 'Открутить гайку') + "")) set_data(t12, t12_value);
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			transition_in(circleprogress.$$.fragment, local);
			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			transition_out(circleprogress.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div2);
			destroy_each(each_blocks, detaching);
			destroy_component(circleprogress);
			if (detaching) detach(t7);
			if (detaching) detach(div3);
			if (detaching) detach(t10);
			if (detaching) detach(div4);
		}
	};
}

// (1520:16) {#each tireView.screwStates as screw, i}
function tire_fitting_view_index_svelte_create_each_block_1(ctx) {
	let tirefittingscrew;
	let current;

	function func_1() {
		return /*func_1*/ ctx[8](/*i*/ ctx[17]);
	}

	tirefittingscrew = new tire_fitting_screw_index_svelte({
			props: {
				screwClass: "service-station-tire-view__wheel-screw service-station-tire-view__wheel-screw--" + /*i*/ ctx[17],
				isUnscrewed: /*tireView*/ ctx[0].screwStates[/*i*/ ctx[17]],
				mouseClick: func_1
			}
		});

	return {
		c() {
			create_component(tirefittingscrew.$$.fragment);
		},
		m(target, anchor) {
			mount_component(tirefittingscrew, target, anchor);
			current = true;
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			const tirefittingscrew_changes = {};
			if (dirty & /*tireView*/ 1) tirefittingscrew_changes.isUnscrewed = /*tireView*/ ctx[0].screwStates[/*i*/ ctx[17]];
			tirefittingscrew.$set(tirefittingscrew_changes);
		},
		i(local) {
			if (current) return;
			transition_in(tirefittingscrew.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(tirefittingscrew.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(tirefittingscrew, detaching);
		}
	};
}

// (1443:16) {#each tireView.screwStates as screw, i}
function tire_fitting_view_index_svelte_create_each_block(ctx) {
	let tirefittingscrew;
	let current;

	function func() {
		return /*func*/ ctx[7](/*i*/ ctx[17]);
	}

	tirefittingscrew = new tire_fitting_screw_index_svelte({
			props: {
				screwClass: "service-station-tire-view__wheel-screw service-station-tire-view__wheel-screw--" + /*i*/ ctx[17],
				isUnscrewed: /*tireView*/ ctx[0].screwStates[/*i*/ ctx[17]],
				mouseClick: func
			}
		});

	return {
		c() {
			create_component(tirefittingscrew.$$.fragment);
		},
		m(target, anchor) {
			mount_component(tirefittingscrew, target, anchor);
			current = true;
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			const tirefittingscrew_changes = {};
			if (dirty & /*tireView*/ 1) tirefittingscrew_changes.isUnscrewed = /*tireView*/ ctx[0].screwStates[/*i*/ ctx[17]];
			tirefittingscrew.$set(tirefittingscrew_changes);
		},
		i(local) {
			if (current) return;
			transition_in(tirefittingscrew.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(tirefittingscrew.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(tirefittingscrew, detaching);
		}
	};
}

function tire_fitting_view_index_svelte_create_fragment(ctx) {
	let div2;
	let img0;
	let img0_src_value;
	let t0;
	let img1;
	let img1_src_value;
	let t1;
	let div1;
	let div0;
	let t5;
	let exitbutton;
	let t6;
	let current_block_type_index;
	let if_block;
	let current;
	let mounted;
	let dispose;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[6],
				fixedPosition: true
			}
		});

	const if_block_creators = [tire_fitting_view_index_svelte_create_if_block, tire_fitting_view_index_svelte_create_if_block_1, tire_fitting_view_index_svelte_create_if_block_2, tire_fitting_view_index_svelte_create_if_block_3];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (/*tireView*/ ctx[0].action === 0) return 0;
		if (/*tireView*/ ctx[0].action === 1) return 1;
		if (/*tireView*/ ctx[0].action === 2 && !/*isActive*/ ctx[1]) return 2;
		if (/*tireView*/ ctx[0].action === 2 && /*isActive*/ ctx[1]) return 3;
		return -1;
	}

	if (~(current_block_type_index = select_block_type(ctx, -1))) {
		if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
	}

	return {
		c() {
			div2 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			img1 = internal_element("img");
			t1 = space();
			div1 = internal_element("div");
			div0 = internal_element("div");

			div0.innerHTML = `<p class="service-station-tire-view__header-title svelte-wi9n9j">Шиномонтаж</p> 
            <p class="service-station-tire-view__header-description svelte-wi9n9j">Установите на транспорт новое колесо</p>`;

			t5 = space();
			create_component(exitbutton.$$.fragment);
			t6 = space();
			if (if_block) if_block.c();
			attr(img0, "class", "service-station-tire-view__logo svelte-wi9n9j");
			if (!src_url_equal(img0.src, img0_src_value = service_station_img_logo_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "logo");
			attr(img1, "class", "service-station-tire-view__background svelte-wi9n9j");
			if (!src_url_equal(img1.src, img1_src_value = service_station_img_background_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "background");
			attr(div0, "class", "service-station-tire-view__header-title-wrapper svelte-wi9n9j");
			attr(div1, "class", "service-station-tire-view__header svelte-wi9n9j");
			attr(div2, "class", "service-station-tire-view svelte-wi9n9j");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, img0);
			append(div2, t0);
			append(div2, img1);
			append(div2, t1);
			append(div2, div1);
			append(div1, div0);
			append(div1, t5);
			mount_component(exitbutton, div1, null);
			append(div2, t6);

			if (~current_block_type_index) {
				if_blocks[current_block_type_index].m(div2, null);
			}

			current = true;

			if (!mounted) {
				dispose = [
					listen(window, "click", /*actions*/ ctx[5]),
					listen(window, "contextmenu", prevent_default(/*actions*/ ctx[5]))
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if (~current_block_type_index) {
					if_blocks[current_block_type_index].p(ctx, dirty);
				}
			} else {
				if (if_block) {
					group_outros();

					transition_out(if_blocks[previous_block_index], 1, 1, () => {
						if_blocks[previous_block_index] = null;
					});

					check_outros();
				}

				if (~current_block_type_index) {
					if_block = if_blocks[current_block_type_index];

					if (!if_block) {
						if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
						if_block.c();
					} else {
						if_block.p(ctx, dirty);
					}

					transition_in(if_block, 1);
					if_block.m(div2, null);
				} else {
					if_block = null;
				}
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div2);
			destroy_component(exitbutton);

			if (~current_block_type_index) {
				if_blocks[current_block_type_index].d();
			}

			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function tire_fitting_view_index_svelte_instance($$self, $$props, $$invalidate) {
	let tireView = {};
	let isActive = true;
	let currentSelectedIndex = null;
	let progress = {};

	const initializeTireView = tireViewDto => {
		if (tireViewDto.action !== tireView?.action) {
			$$invalidate(3, progress = {});
		}

		$$invalidate(0, tireView = tireViewDto);
	};

	const screwActions = index => {
		if (tireView.screwStates[index] === 1 || progress[index] >= 100) {
			return;
		}

		if (!progress[index]) {
			$$invalidate(3, progress[index] = 0, progress);
		}

		$$invalidate(2, currentSelectedIndex = index);
		$$invalidate(3, progress[index] += Math.min(Math.floor(Math.random() * 6) + 10, 100 - progress[index]), progress);

		if (currentSelectedIndex === null) {
			$$invalidate(2, currentSelectedIndex = index);
		}

		if (progress[index] === 100) {
			if (tireView.action === 0) {
				sendClientMessage('serviceStation.tireView.actionUnscrew', index);
			} else {
				sendClientMessage('serviceStation.tireView.actionScrew', index);
			}
		}
	};

	const actionRemoveWheel = () => {
		sendClientMessage('serviceStation.tireView.actionRemoveWheel');
	};

	const actionInstallWheel = () => {
		sendClientMessage('serviceStation.tireView.actionInstallWheel');
	};

	const actionReturnToVehicle = () => {
		sendClientMessage('serviceStation.tireView.actionReturnToVehicle');
	};

	function resetScrewStates() {
		if (Array.isArray(tireView.screwStates)) {
			$$invalidate(0, tireView.screwStates = tireView.screwStates.map(() => 0), tireView);
		}
	}

	const actions = event => {
		if (event.which === 1 && (tireView.action === 0 && isActive)) {
			actionRemoveWheel();
		} else if (event.which === 3 && tireView.action === 1) {
			actionInstallWheel();
		} else if (event.which === 3 && (tireView.action === 2 && isActive)) {
			actionReturnToVehicle();
		}
	};

	const handleClose = () => {
		sendClientMessage('serviceStation.tireView.exit');
	};

	const unregisterInitializeTireViewEvent = registerEvent('serviceStation.tireView.initializeTireView', initializeTireView);

	onDestroy(() => {
		unregisterInitializeTireViewEvent();
	});

	const func = i => screwActions(i);
	const func_1 = i => screwActions(i);

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*tireView*/ 1) {
			$: if (tireView.action === 1) {
				resetScrewStates();
			}
		}

		if ($$self.$$.dirty & /*tireView*/ 1) {
			$: if (Array.isArray(tireView.screwStates)) {
				$$invalidate(1, isActive = tireView.screwStates.every(screw => !!screw));
			}
		}
	};

	return [
		tireView,
		isActive,
		currentSelectedIndex,
		progress,
		screwActions,
		actions,
		handleClose,
		func,
		func_1
	];
}

class Tire_fitting_view extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, tire_fitting_view_index_svelte_instance, tire_fitting_view_index_svelte_create_fragment, safe_not_equal, {}, tire_fitting_view_index_svelte_add_css);
	}
}

/* harmony default export */ const tire_fitting_view_index_svelte = (Tire_fitting_view);
;// CONCATENATED MODULE: ./src/views/side-menu/craft/index.svelte
/* src\views\side-menu\craft\index.svelte generated by Svelte v3.49.0 */











function side_menu_craft_index_svelte_add_css(target) {
	append_styles(target, "svelte-twtj9m", "@keyframes svelte-twtj9m-blinking{50%{opacity:0}}@keyframes svelte-twtj9m-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-twtj9m-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-twtj9m-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-twtj9m-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-twtj9m-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-twtj9m-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-twtj9m-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-twtj9m-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-twtj9m-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-twtj9m-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-twtj9m-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-twtj9m-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-twtj9m-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-twtj9m-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.side-menu-craft.svelte-twtj9m{position:absolute;display:flex;align-items:center;justify-content:center;right:0;height:100vh;width:calc(0.35625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft.svelte-twtj9m{width:calc(0.35625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft.svelte-twtj9m{width:calc(0.35625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft.svelte-twtj9m{width:calc(0.2743125 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft.svelte-twtj9m{width:calc(0.391875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft.svelte-twtj9m{width:calc(0.249375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft.svelte-twtj9m{width:calc(0.320625 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft.svelte-twtj9m{width:calc(0.391875 * 100vw + 0px)}}.side-menu-craft.svelte-twtj9m::before{content:\"\";z-index:-1;position:absolute;top:0;right:0;width:100%;height:100%;background:linear-gradient(-90deg, rgba(19, 21, 22, 0.95) 75%, transparent);padding-left:calc(0.1041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft.svelte-twtj9m::before{padding-left:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft.svelte-twtj9m::before{padding-left:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft.svelte-twtj9m::before{padding-left:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft.svelte-twtj9m::before{padding-left:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft.svelte-twtj9m::before{padding-left:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft.svelte-twtj9m::before{padding-left:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft.svelte-twtj9m::before{padding-left:calc(0.1145833333 * 100vw + 0px)}}.side-menu-craft__title.svelte-twtj9m{position:absolute;font-family:\"GothamPro-Bold\";color:#FFFFFF;font-size:calc(0.015625 * 100vw + 0px);top:calc(0.040625 * 100vw + 0px);left:calc(0.0286458333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__title.svelte-twtj9m{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__title.svelte-twtj9m{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__title.svelte-twtj9m{font-size:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__title.svelte-twtj9m{font-size:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__title.svelte-twtj9m{font-size:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__title.svelte-twtj9m{font-size:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__title.svelte-twtj9m{font-size:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__title.svelte-twtj9m{top:calc(0.040625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__title.svelte-twtj9m{top:calc(0.040625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__title.svelte-twtj9m{top:calc(0.03128125 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__title.svelte-twtj9m{top:calc(0.0446875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__title.svelte-twtj9m{top:calc(0.0284375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__title.svelte-twtj9m{top:calc(0.0365625 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__title.svelte-twtj9m{top:calc(0.0446875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__title.svelte-twtj9m{left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__title.svelte-twtj9m{left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__title.svelte-twtj9m{left:calc(0.0220572917 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__title.svelte-twtj9m{left:calc(0.0315104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__title.svelte-twtj9m{left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__title.svelte-twtj9m{left:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__title.svelte-twtj9m{left:calc(0.0315104167 * 100vw + 0px)}}.side-menu-craft__list.svelte-twtj9m{overflow:auto;height:calc(0.4166666667 * 100vw + 0px)}.side-menu-craft__list.svelte-twtj9m::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__list.svelte-twtj9m::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__list.svelte-twtj9m::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__list.svelte-twtj9m::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__list.svelte-twtj9m::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__list.svelte-twtj9m::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__list.svelte-twtj9m::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__list.svelte-twtj9m::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__list.svelte-twtj9m::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__list.svelte-twtj9m::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__list.svelte-twtj9m::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__list.svelte-twtj9m::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__list.svelte-twtj9m::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__list.svelte-twtj9m::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__list.svelte-twtj9m::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.side-menu-craft__list.svelte-twtj9m::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__list.svelte-twtj9m::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__list.svelte-twtj9m::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__list.svelte-twtj9m::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__list.svelte-twtj9m::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__list.svelte-twtj9m::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__list.svelte-twtj9m::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__list.svelte-twtj9m::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.side-menu-craft__list.svelte-twtj9m::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__list.svelte-twtj9m::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__list.svelte-twtj9m::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__list.svelte-twtj9m::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__list.svelte-twtj9m::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__list.svelte-twtj9m::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__list.svelte-twtj9m::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__list.svelte-twtj9m::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__list.svelte-twtj9m{height:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__list.svelte-twtj9m{height:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__list.svelte-twtj9m{height:calc(0.3208333333 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__list.svelte-twtj9m{height:calc(0.4583333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__list.svelte-twtj9m{height:calc(0.2916666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__list.svelte-twtj9m{height:calc(0.375 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__list.svelte-twtj9m{height:calc(0.4583333333 * 100vw + 0px)}}.side-menu-craft__list.svelte-twtj9m::-webkit-scrollbar{width:0px}.side-menu-craft__item.svelte-twtj9m{display:flex;flex-direction:column;opacity:0.5;transform:scale(0.95);transition:0.5s all ease;cursor:pointer;gap:calc(0.0052083333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);padding:calc(0.009375 * 100vw + 0px) calc(0.0114583333 * 100vw + 0px);margin-bottom:calc(0.0114583333 * 100vw + 0px);width:calc(0.3005208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__item.svelte-twtj9m{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__item.svelte-twtj9m{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__item.svelte-twtj9m{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__item.svelte-twtj9m{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__item.svelte-twtj9m{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__item.svelte-twtj9m{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__item.svelte-twtj9m{gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__item.svelte-twtj9m{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__item.svelte-twtj9m{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__item.svelte-twtj9m{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__item.svelte-twtj9m{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__item.svelte-twtj9m{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__item.svelte-twtj9m{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__item.svelte-twtj9m{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__item.svelte-twtj9m{padding:calc(0.009375 * 100vw + 0px) calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__item.svelte-twtj9m{padding:calc(0.009375 * 100vw + 0px) calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__item.svelte-twtj9m{padding:calc(0.00721875 * 100vw + 0px) calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__item.svelte-twtj9m{padding:calc(0.0103125 * 100vw + 0px) calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__item.svelte-twtj9m{padding:calc(0.0065625 * 100vw + 0px) calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__item.svelte-twtj9m{padding:calc(0.0084375 * 100vw + 0px) calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__item.svelte-twtj9m{padding:calc(0.0103125 * 100vw + 0px) calc(0.0126041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__item.svelte-twtj9m{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__item.svelte-twtj9m{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__item.svelte-twtj9m{margin-bottom:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__item.svelte-twtj9m{margin-bottom:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__item.svelte-twtj9m{margin-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__item.svelte-twtj9m{margin-bottom:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__item.svelte-twtj9m{margin-bottom:calc(0.0126041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__item.svelte-twtj9m{width:calc(0.3005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__item.svelte-twtj9m{width:calc(0.3005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__item.svelte-twtj9m{width:calc(0.2314010417 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__item.svelte-twtj9m{width:calc(0.3305729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__item.svelte-twtj9m{width:calc(0.2103645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__item.svelte-twtj9m{width:calc(0.27046875 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__item.svelte-twtj9m{width:calc(0.3305729167 * 100vw + 0px)}}.side-menu-craft__item.svelte-twtj9m:hover,.side-menu-craft__item--selected.svelte-twtj9m{opacity:1;transform:scale(1);background:rgba(255, 255, 255, 0.2);border-color:transparent;transition:0.5s all ease}.side-menu-craft__item-image-wrapper.svelte-twtj9m{display:flex;align-items:center;gap:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__item-image-wrapper.svelte-twtj9m{gap:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__item-image-wrapper.svelte-twtj9m{gap:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__item-image-wrapper.svelte-twtj9m{gap:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__item-image-wrapper.svelte-twtj9m{gap:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__item-image-wrapper.svelte-twtj9m{gap:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__item-image-wrapper.svelte-twtj9m{gap:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__item-image-wrapper.svelte-twtj9m{gap:calc(0.01375 * 100vw + 0px)}}.side-menu-craft__item-image.svelte-twtj9m{border-radius:calc(0.0052083333 * 100vw + 0px);height:calc(0.0416666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__item-image.svelte-twtj9m{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__item-image.svelte-twtj9m{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__item-image.svelte-twtj9m{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__item-image.svelte-twtj9m{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__item-image.svelte-twtj9m{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__item-image.svelte-twtj9m{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__item-image.svelte-twtj9m{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__item-image.svelte-twtj9m{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__item-image.svelte-twtj9m{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__item-image.svelte-twtj9m{height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__item-image.svelte-twtj9m{height:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__item-image.svelte-twtj9m{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__item-image.svelte-twtj9m{height:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__item-image.svelte-twtj9m{height:calc(0.0458333333 * 100vw + 0px)}}.side-menu-craft__item-title-wrapper.svelte-twtj9m{display:flex;flex-direction:column;gap:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__item-title-wrapper.svelte-twtj9m{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__item-title-wrapper.svelte-twtj9m{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__item-title-wrapper.svelte-twtj9m{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__item-title-wrapper.svelte-twtj9m{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__item-title-wrapper.svelte-twtj9m{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__item-title-wrapper.svelte-twtj9m{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__item-title-wrapper.svelte-twtj9m{gap:calc(0.0057291667 * 100vw + 0px)}}.side-menu-craft__item-title.svelte-twtj9m{font-family:\"GothamPro-Bold\";color:#FFFFFF;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__item-title.svelte-twtj9m{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__item-title.svelte-twtj9m{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__item-title.svelte-twtj9m{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__item-title.svelte-twtj9m{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__item-title.svelte-twtj9m{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__item-title.svelte-twtj9m{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__item-title.svelte-twtj9m{font-size:calc(0.01375 * 100vw + 0px)}}.side-menu-craft__item-price.svelte-twtj9m{font-family:\"GothamPro-Bold\";color:#60CA5D;font-size:calc(0.0088541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__item-price.svelte-twtj9m{font-size:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__item-price.svelte-twtj9m{font-size:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__item-price.svelte-twtj9m{font-size:calc(0.0068177083 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__item-price.svelte-twtj9m{font-size:calc(0.0097395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__item-price.svelte-twtj9m{font-size:calc(0.0061979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__item-price.svelte-twtj9m{font-size:calc(0.00796875 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__item-price.svelte-twtj9m{font-size:calc(0.0097395833 * 100vw + 0px)}}.side-menu-craft__item-materials.svelte-twtj9m{display:flex;flex-wrap:wrap;gap:calc(0.0104166667 * 100vw + 0px);width:calc(0.2864583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__item-materials.svelte-twtj9m{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__item-materials.svelte-twtj9m{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__item-materials.svelte-twtj9m{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__item-materials.svelte-twtj9m{gap:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__item-materials.svelte-twtj9m{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__item-materials.svelte-twtj9m{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__item-materials.svelte-twtj9m{gap:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__item-materials.svelte-twtj9m{width:calc(0.2864583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__item-materials.svelte-twtj9m{width:calc(0.2864583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__item-materials.svelte-twtj9m{width:calc(0.2205729167 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__item-materials.svelte-twtj9m{width:calc(0.3151041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__item-materials.svelte-twtj9m{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__item-materials.svelte-twtj9m{width:calc(0.2578125 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__item-materials.svelte-twtj9m{width:calc(0.3151041667 * 100vw + 0px)}}.side-menu-craft__item-material.svelte-twtj9m{display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid rgba(255, 255, 255, 0.25);gap:calc(0.0036458333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.0625 * 100vw + 0px);height:calc(0.046875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__item-material.svelte-twtj9m{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__item-material.svelte-twtj9m{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__item-material.svelte-twtj9m{gap:calc(0.0028072917 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__item-material.svelte-twtj9m{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__item-material.svelte-twtj9m{gap:calc(0.0025520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__item-material.svelte-twtj9m{gap:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__item-material.svelte-twtj9m{gap:calc(0.0040104167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__item-material.svelte-twtj9m{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__item-material.svelte-twtj9m{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__item-material.svelte-twtj9m{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__item-material.svelte-twtj9m{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__item-material.svelte-twtj9m{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__item-material.svelte-twtj9m{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__item-material.svelte-twtj9m{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__item-material.svelte-twtj9m{width:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__item-material.svelte-twtj9m{width:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__item-material.svelte-twtj9m{width:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__item-material.svelte-twtj9m{width:calc(0.06875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__item-material.svelte-twtj9m{width:calc(0.04375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__item-material.svelte-twtj9m{width:calc(0.05625 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__item-material.svelte-twtj9m{width:calc(0.06875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__item-material.svelte-twtj9m{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__item-material.svelte-twtj9m{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__item-material.svelte-twtj9m{height:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__item-material.svelte-twtj9m{height:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__item-material.svelte-twtj9m{height:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__item-material.svelte-twtj9m{height:calc(0.0421875 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__item-material.svelte-twtj9m{height:calc(0.0515625 * 100vw + 0px)}}.side-menu-craft__item-material-icon.svelte-twtj9m{height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__item-material-icon.svelte-twtj9m{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__item-material-icon.svelte-twtj9m{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__item-material-icon.svelte-twtj9m{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__item-material-icon.svelte-twtj9m{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__item-material-icon.svelte-twtj9m{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__item-material-icon.svelte-twtj9m{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__item-material-icon.svelte-twtj9m{height:calc(0.0286458333 * 100vw + 0px)}}.side-menu-craft__item-material-title.svelte-twtj9m{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__item-material-title.svelte-twtj9m{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__item-material-title.svelte-twtj9m{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__item-material-title.svelte-twtj9m{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__item-material-title.svelte-twtj9m{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__item-material-title.svelte-twtj9m{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__item-material-title.svelte-twtj9m{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__item-material-title.svelte-twtj9m{font-size:calc(0.0080208333 * 100vw + 0px)}}.side-menu-craft__buttons.svelte-twtj9m{position:absolute;display:flex;align-items:center;gap:calc(0.0208333333 * 100vw + 0px);bottom:calc(0.03125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__buttons.svelte-twtj9m{gap:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__buttons.svelte-twtj9m{gap:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__buttons.svelte-twtj9m{gap:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__buttons.svelte-twtj9m{gap:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__buttons.svelte-twtj9m{gap:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__buttons.svelte-twtj9m{gap:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__buttons.svelte-twtj9m{gap:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__buttons.svelte-twtj9m{bottom:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__buttons.svelte-twtj9m{bottom:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__buttons.svelte-twtj9m{bottom:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__buttons.svelte-twtj9m{bottom:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__buttons.svelte-twtj9m{bottom:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__buttons.svelte-twtj9m{bottom:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__buttons.svelte-twtj9m{bottom:calc(0.034375 * 100vw + 0px)}}.side-menu-craft__button-arrows.svelte-twtj9m{display:flex;align-items:center;gap:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__button-arrows.svelte-twtj9m{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__button-arrows.svelte-twtj9m{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__button-arrows.svelte-twtj9m{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__button-arrows.svelte-twtj9m{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__button-arrows.svelte-twtj9m{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__button-arrows.svelte-twtj9m{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__button-arrows.svelte-twtj9m{gap:calc(0.0057291667 * 100vw + 0px)}}.side-menu-craft__button-arrow.svelte-twtj9m{width:calc(0.021875 * 100vw + 0px);height:calc(0.0234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__button-arrow.svelte-twtj9m{width:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__button-arrow.svelte-twtj9m{width:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__button-arrow.svelte-twtj9m{width:calc(0.01684375 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__button-arrow.svelte-twtj9m{width:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__button-arrow.svelte-twtj9m{width:calc(0.0153125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__button-arrow.svelte-twtj9m{width:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__button-arrow.svelte-twtj9m{width:calc(0.0240625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__button-arrow.svelte-twtj9m{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__button-arrow.svelte-twtj9m{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__button-arrow.svelte-twtj9m{height:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__button-arrow.svelte-twtj9m{height:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__button-arrow.svelte-twtj9m{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__button-arrow.svelte-twtj9m{height:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__button-arrow.svelte-twtj9m{height:calc(0.02578125 * 100vw + 0px)}}.side-menu-craft__button-arrow-title.svelte-twtj9m{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0078125 * 100vw + 0px);margin-left:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__button-arrow-title.svelte-twtj9m{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__button-arrow-title.svelte-twtj9m{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__button-arrow-title.svelte-twtj9m{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__button-arrow-title.svelte-twtj9m{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__button-arrow-title.svelte-twtj9m{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__button-arrow-title.svelte-twtj9m{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__button-arrow-title.svelte-twtj9m{font-size:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__button-arrow-title.svelte-twtj9m{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__button-arrow-title.svelte-twtj9m{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__button-arrow-title.svelte-twtj9m{margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__button-arrow-title.svelte-twtj9m{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__button-arrow-title.svelte-twtj9m{margin-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__button-arrow-title.svelte-twtj9m{margin-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__button-arrow-title.svelte-twtj9m{margin-left:calc(0.0057291667 * 100vw + 0px)}}.side-menu-craft__button-back.svelte-twtj9m{display:flex;align-items:center}.side-menu-craft__button-back-title.svelte-twtj9m{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0078125 * 100vw + 0px);margin-left:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__button-back-title.svelte-twtj9m{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__button-back-title.svelte-twtj9m{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__button-back-title.svelte-twtj9m{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__button-back-title.svelte-twtj9m{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__button-back-title.svelte-twtj9m{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__button-back-title.svelte-twtj9m{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__button-back-title.svelte-twtj9m{font-size:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__button-back-title.svelte-twtj9m{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__button-back-title.svelte-twtj9m{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__button-back-title.svelte-twtj9m{margin-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__button-back-title.svelte-twtj9m{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__button-back-title.svelte-twtj9m{margin-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__button-back-title.svelte-twtj9m{margin-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__button-back-title.svelte-twtj9m{margin-left:calc(0.0114583333 * 100vw + 0px)}}.side-menu-craft__button-submit.svelte-twtj9m{display:flex;align-items:center}.side-menu-craft__button-submit-title.svelte-twtj9m{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0078125 * 100vw + 0px);margin-left:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__button-submit-title.svelte-twtj9m{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__button-submit-title.svelte-twtj9m{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__button-submit-title.svelte-twtj9m{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__button-submit-title.svelte-twtj9m{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__button-submit-title.svelte-twtj9m{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__button-submit-title.svelte-twtj9m{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__button-submit-title.svelte-twtj9m{font-size:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-craft__button-submit-title.svelte-twtj9m{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-craft__button-submit-title.svelte-twtj9m{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-craft__button-submit-title.svelte-twtj9m{margin-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-craft__button-submit-title.svelte-twtj9m{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-craft__button-submit-title.svelte-twtj9m{margin-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-craft__button-submit-title.svelte-twtj9m{margin-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-craft__button-submit-title.svelte-twtj9m{margin-left:calc(0.0114583333 * 100vw + 0px)}}");
}

function side_menu_craft_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[20] = list[i];
	child_ctx[21] = list;
	child_ctx[22] = i;
	return child_ctx;
}

function side_menu_craft_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[23] = list[i];
	return child_ctx;
}

// (1839:16) {#if craft.items}
function side_menu_craft_index_svelte_create_if_block(ctx) {
	let div;
	let each_value_1 = /*craft*/ ctx[20].items;
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = side_menu_craft_index_svelte_create_each_block_1(side_menu_craft_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "side-menu-craft__item-materials svelte-twtj9m");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}
		},
		p(ctx, dirty) {
			if (dirty & /*craftInfo, CDN_ITEMS_URL*/ 1) {
				each_value_1 = /*craft*/ ctx[20].items;
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = side_menu_craft_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = side_menu_craft_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (1841:24) {#each craft.items as item}
function side_menu_craft_index_svelte_create_each_block_1(ctx) {
	let div;
	let img;
	let img_src_value;
	let t0;
	let p;
	let raw_value = /*item*/ ctx[23].title + "";
	let t1;

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			t1 = space();
			attr(img, "class", "side-menu-craft__item-material-icon svelte-twtj9m");
			if (!src_url_equal(img.src, img_src_value = `${CDN_ITEMS_URL}/${/*item*/ ctx[23].icon}`)) attr(img, "src", img_src_value);
			attr(img, "alt", "material");
			attr(p, "class", "side-menu-craft__item-material-title svelte-twtj9m");
			attr(div, "class", "side-menu-craft__item-material svelte-twtj9m");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
			append(div, t0);
			append(div, p);
			p.innerHTML = raw_value;
			append(div, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*craftInfo*/ 1 && !src_url_equal(img.src, img_src_value = `${CDN_ITEMS_URL}/${/*item*/ ctx[23].icon}`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*craftInfo*/ 1 && raw_value !== (raw_value = /*item*/ ctx[23].title + "")) p.innerHTML = raw_value;;
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1814:8) {#each craftInfo as craft, index}
function side_menu_craft_index_svelte_create_each_block(ctx) {
	let div2;
	let div1;
	let img;
	let img_src_value;
	let t0;
	let div0;
	let p0;
	let raw_value = /*craft*/ ctx[20].title + "";
	let t1;
	let p1;
	let t2_value = formatMoney(/*craft*/ ctx[20].price) + "";
	let t2;
	let t3;
	let t4;
	let t5;
	let index = /*index*/ ctx[22];
	let mounted;
	let dispose;
	let if_block = /*craft*/ ctx[20].items && side_menu_craft_index_svelte_create_if_block(ctx);

	function click_handler() {
		return /*click_handler*/ ctx[9](/*index*/ ctx[22]);
	}

	const assign_div2 = () => /*div2_binding*/ ctx[10](div2, index);
	const unassign_div2 = () => /*div2_binding*/ ctx[10](null, index);

	return {
		c() {
			div2 = internal_element("div");
			div1 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div0 = internal_element("div");
			p0 = internal_element("p");
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = internal_text(" ₽");
			t4 = space();
			if (if_block) if_block.c();
			t5 = space();
			attr(img, "class", "side-menu-craft__item-image svelte-twtj9m");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/sidemenu/${/*craft*/ ctx[20].icon}`)) attr(img, "src", img_src_value);
			attr(img, "alt", "logo");
			attr(p0, "class", "side-menu-craft__item-title svelte-twtj9m");
			attr(p1, "class", "side-menu-craft__item-price svelte-twtj9m");
			attr(div0, "class", "side-menu-craft__item-title-wrapper svelte-twtj9m");
			attr(div1, "class", "side-menu-craft__item-image-wrapper svelte-twtj9m");
			attr(div2, "class", "side-menu-craft__item svelte-twtj9m");
			toggle_class(div2, "side-menu-craft__item--selected", /*selectedIndex*/ ctx[2] === /*index*/ ctx[22]);
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div1);
			append(div1, img);
			append(div1, t0);
			append(div1, div0);
			append(div0, p0);
			p0.innerHTML = raw_value;
			append(div0, t1);
			append(div0, p1);
			append(p1, t2);
			append(p1, t3);
			append(div2, t4);
			if (if_block) if_block.m(div2, null);
			append(div2, t5);
			assign_div2();

			if (!mounted) {
				dispose = listen(div2, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*craftInfo*/ 1 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/sidemenu/${/*craft*/ ctx[20].icon}`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*craftInfo*/ 1 && raw_value !== (raw_value = /*craft*/ ctx[20].title + "")) p0.innerHTML = raw_value;;
			if (dirty & /*craftInfo*/ 1 && t2_value !== (t2_value = formatMoney(/*craft*/ ctx[20].price) + "")) set_data(t2, t2_value);

			if (/*craft*/ ctx[20].items) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = side_menu_craft_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div2, t5);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (index !== /*index*/ ctx[22]) {
				unassign_div2();
				index = /*index*/ ctx[22];
				assign_div2();
			}

			if (dirty & /*selectedIndex*/ 4) {
				toggle_class(div2, "side-menu-craft__item--selected", /*selectedIndex*/ ctx[2] === /*index*/ ctx[22]);
			}
		},
		d(detaching) {
			if (detaching) detach(div2);
			if (if_block) if_block.d();
			unassign_div2();
			mounted = false;
			dispose();
		}
	};
}

function side_menu_craft_index_svelte_create_fragment(ctx) {
	let div7;
	let p0;
	let t0;
	let t1;
	let exitbutton;
	let t2;
	let div0;
	let t3;
	let div6;
	let div3;
	let div1;
	let actionbutton0;
	let t4;
	let div2;
	let actionbutton1;
	let t5;
	let p1;
	let t7;
	let div4;
	let actionbutton2;
	let t8;
	let p2;
	let t10;
	let div5;
	let actionbutton3;
	let t11;
	let p3;
	let current;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[8],
				fixedPosition: true
			}
		});

	let each_value = /*craftInfo*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = side_menu_craft_index_svelte_create_each_block(side_menu_craft_index_svelte_get_each_context(ctx, each_value, i));
	}

	actionbutton0 = new index_svelte({
			props: {
				onPress: /*func*/ ctx[12],
				keyIcon: "icon-arrow-down",
				keyCode: 40,
				size: ActionButtonSize.FillFree
			}
		});

	actionbutton1 = new index_svelte({
			props: {
				onPress: /*func_1*/ ctx[13],
				keyIcon: "icon-arrow-up",
				keyCode: 38,
				size: ActionButtonSize.FillFree
			}
		});

	actionbutton2 = new index_svelte({
			props: {
				onPress: /*func_2*/ ctx[14],
				keyTitle: "Backspace",
				keyCode: 8,
				size: ActionButtonSize.Regular
			}
		});

	actionbutton3 = new index_svelte({
			props: {
				onPress: /*func_3*/ ctx[15],
				keyTitle: "Enter",
				keyCode: 13,
				size: ActionButtonSize.Regular
			}
		});

	return {
		c() {
			div7 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(/*propertyTitle*/ ctx[1]);
			t1 = space();
			create_component(exitbutton.$$.fragment);
			t2 = space();
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t3 = space();
			div6 = internal_element("div");
			div3 = internal_element("div");
			div1 = internal_element("div");
			create_component(actionbutton0.$$.fragment);
			t4 = space();
			div2 = internal_element("div");
			create_component(actionbutton1.$$.fragment);
			t5 = space();
			p1 = internal_element("p");
			p1.textContent = "Выбор";
			t7 = space();
			div4 = internal_element("div");
			create_component(actionbutton2.$$.fragment);
			t8 = space();
			p2 = internal_element("p");
			p2.textContent = "Назад";
			t10 = space();
			div5 = internal_element("div");
			create_component(actionbutton3.$$.fragment);
			t11 = space();
			p3 = internal_element("p");
			p3.textContent = "Выбрать";
			attr(p0, "class", "side-menu-craft__title svelte-twtj9m");
			attr(div0, "class", "side-menu-craft__list svelte-twtj9m");
			attr(div1, "class", "side-menu-craft__button-arrow svelte-twtj9m");
			attr(div2, "class", "side-menu-craft__button-arrow svelte-twtj9m");
			attr(p1, "class", "side-menu-craft__button-arrow-title svelte-twtj9m");
			attr(div3, "class", "side-menu-craft__button-arrows svelte-twtj9m");
			attr(p2, "class", "side-menu-craft__button-back-title svelte-twtj9m");
			attr(div4, "class", "side-menu-craft__button-back svelte-twtj9m");
			attr(p3, "class", "side-menu-craft__button-submit-title svelte-twtj9m");
			attr(div5, "class", "side-menu-craft__button-submit svelte-twtj9m");
			attr(div6, "class", "side-menu-craft__buttons svelte-twtj9m");
			attr(div7, "class", "side-menu-craft svelte-twtj9m");
		},
		m(target, anchor) {
			insert(target, div7, anchor);
			append(div7, p0);
			append(p0, t0);
			append(div7, t1);
			mount_component(exitbutton, div7, null);
			append(div7, t2);
			append(div7, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			/*div0_binding*/ ctx[11](div0);
			append(div7, t3);
			append(div7, div6);
			append(div6, div3);
			append(div3, div1);
			mount_component(actionbutton0, div1, null);
			append(div3, t4);
			append(div3, div2);
			mount_component(actionbutton1, div2, null);
			append(div3, t5);
			append(div3, p1);
			append(div6, t7);
			append(div6, div4);
			mount_component(actionbutton2, div4, null);
			append(div4, t8);
			append(div4, p2);
			append(div6, t10);
			append(div6, div5);
			mount_component(actionbutton3, div5, null);
			append(div5, t11);
			append(div5, p3);
			current = true;
		},
		p(ctx, [dirty]) {
			if (!current || dirty & /*propertyTitle*/ 2) set_data(t0, /*propertyTitle*/ ctx[1]);

			if (dirty & /*craftRefs, selectedIndex, selectItem, buy, craftInfo, CDN_ITEMS_URL, formatMoney, CDN_URL_RODINA*/ 181) {
				each_value = /*craftInfo*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = side_menu_craft_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = side_menu_craft_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div0, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			const actionbutton0_changes = {};
			if (dirty & /*selectedIndex*/ 4) actionbutton0_changes.onPress = /*func*/ ctx[12];
			actionbutton0.$set(actionbutton0_changes);
			const actionbutton1_changes = {};
			if (dirty & /*selectedIndex*/ 4) actionbutton1_changes.onPress = /*func_1*/ ctx[13];
			actionbutton1.$set(actionbutton1_changes);
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			transition_in(actionbutton0.$$.fragment, local);
			transition_in(actionbutton1.$$.fragment, local);
			transition_in(actionbutton2.$$.fragment, local);
			transition_in(actionbutton3.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			transition_out(actionbutton0.$$.fragment, local);
			transition_out(actionbutton1.$$.fragment, local);
			transition_out(actionbutton2.$$.fragment, local);
			transition_out(actionbutton3.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div7);
			destroy_component(exitbutton);
			destroy_each(each_blocks, detaching);
			/*div0_binding*/ ctx[11](null);
			destroy_component(actionbutton0);
			destroy_component(actionbutton1);
			destroy_component(actionbutton2);
			destroy_component(actionbutton3);
		}
	};
}

function side_menu_craft_index_svelte_instance($$self, $$props, $$invalidate) {
	let craftInfo = [];
	let propertyTitle = 'Заголовок';
	let selectedIndex = 0;
	let containerRef;
	const craftRefs = [];

	const initializeCraftInfo = (craftInfoDto, title) => {
		$$invalidate(0, craftInfo = craftInfoDto);
		$$invalidate(1, propertyTitle = title);
	};

	const pushIntoList = (data = []) => {
		$$invalidate(0, craftInfo = [...craftInfo, ...data]);
	};

	const selectItem = index => {
		let correctIndex = index;

		if (craftInfo.length - 1 < index) {
			correctIndex = 0;
		} else if (index < 0) {
			correctIndex = craftInfo.length - 1;
		}

		$$invalidate(2, selectedIndex = correctIndex);

		if (craftInfo.length <= 1) {
			return;
		}

		const containerHeight = containerRef.getBoundingClientRect().height;
		const itemRect = craftRefs[correctIndex].getBoundingClientRect();
		const currentTop = containerHeight + containerRef.scrollTop;
		const siblingItemRect = (craftRefs[correctIndex + 1] || craftRefs[correctIndex - 1]).getBoundingClientRect();
		const gapHeight = Math.min(Math.abs(siblingItemRect.bottom - itemRect.top), Math.abs(siblingItemRect.top - itemRect.bottom));
		const itemHeight = itemRect.height + gapHeight;
		const itemInViewTopPosition = itemHeight * (correctIndex + 1);
		const itemInViewBottomPosition = itemInViewTopPosition - itemHeight;

		if (currentTop < itemInViewTopPosition) {
			containerRef.scroll({
				top: itemInViewTopPosition,
				behavior: 'smooth'
			});
		}

		if (containerRef.scrollTop > itemInViewBottomPosition) {
			containerRef.scroll({
				top: itemInViewBottomPosition,
				behavior: 'smooth'
			});
		}
	};

	const back = () => {
		sendClientMessage('sideMenu.craft.back');
	};

	const buy = () => {
		sendClientMessage('sideMenu.craft.submit', selectedIndex);
	};

	const handleClose = () => {
		sendClientMessage('sideMenu.craft.exit');
	};

	const unregisterInitializeCraftInfoEvent = registerEvent('sideMenu.craft.initialize', initializeCraftInfo);
	const unregisterListPushEvent = registerEvent('sideMenu.craft.push', pushIntoList);

	onDestroy(() => {
		unregisterInitializeCraftInfoEvent();
		unregisterListPushEvent();
	});

	const click_handler = index => {
		selectItem(index);
		buy();
	};

	function div2_binding($$value, index) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			craftRefs[index] = $$value;
			$$invalidate(4, craftRefs);
		});
	}

	function div0_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			containerRef = $$value;
			$$invalidate(3, containerRef);
		});
	}

	const func = () => selectItem(selectedIndex + 1);
	const func_1 = () => selectItem(selectedIndex - 1);
	const func_2 = () => back();
	const func_3 = () => buy();

	return [
		craftInfo,
		propertyTitle,
		selectedIndex,
		containerRef,
		craftRefs,
		selectItem,
		back,
		buy,
		handleClose,
		click_handler,
		div2_binding,
		div0_binding,
		func,
		func_1,
		func_2,
		func_3
	];
}

class index_svelte_Craft extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, side_menu_craft_index_svelte_instance, side_menu_craft_index_svelte_create_fragment, safe_not_equal, {}, side_menu_craft_index_svelte_add_css);
	}
}

/* harmony default export */ const side_menu_craft_index_svelte = (index_svelte_Craft);
;// CONCATENATED MODULE: ./src/views/side-menu/list/index.svelte
/* src\views\side-menu\list\index.svelte generated by Svelte v3.49.0 */










function side_menu_list_index_svelte_add_css(target) {
	append_styles(target, "svelte-1ne1k6r", "@keyframes svelte-1ne1k6r-blinking{50%{opacity:0}}@keyframes svelte-1ne1k6r-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1ne1k6r-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1ne1k6r-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1ne1k6r-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1ne1k6r-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1ne1k6r-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1ne1k6r-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1ne1k6r-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1ne1k6r-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1ne1k6r-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1ne1k6r-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1ne1k6r-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1ne1k6r-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1ne1k6r-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.side-menu-list.svelte-1ne1k6r{position:absolute;display:flex;align-items:center;justify-content:center;right:0;height:100vh;width:calc(0.35625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-list.svelte-1ne1k6r{width:calc(0.35625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-list.svelte-1ne1k6r{width:calc(0.35625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-list.svelte-1ne1k6r{width:calc(0.2743125 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-list.svelte-1ne1k6r{width:calc(0.391875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-list.svelte-1ne1k6r{width:calc(0.249375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-list.svelte-1ne1k6r{width:calc(0.320625 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-list.svelte-1ne1k6r{width:calc(0.391875 * 100vw + 0px)}}.side-menu-list.svelte-1ne1k6r::before{content:\"\";z-index:-1;position:absolute;top:0;right:0;width:100%;height:100%;background:linear-gradient(-90deg, rgba(19, 21, 22, 0.95) 75%, transparent);padding-left:calc(0.1041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-list.svelte-1ne1k6r::before{padding-left:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-list.svelte-1ne1k6r::before{padding-left:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-list.svelte-1ne1k6r::before{padding-left:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-list.svelte-1ne1k6r::before{padding-left:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-list.svelte-1ne1k6r::before{padding-left:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-list.svelte-1ne1k6r::before{padding-left:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-list.svelte-1ne1k6r::before{padding-left:calc(0.1145833333 * 100vw + 0px)}}.side-menu-list__title.svelte-1ne1k6r{position:absolute;font-family:\"GothamPro-Bold\";color:#FFFFFF;font-size:calc(0.015625 * 100vw + 0px);top:calc(0.040625 * 100vw + 0px);left:calc(0.0286458333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-list__title.svelte-1ne1k6r{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-list__title.svelte-1ne1k6r{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-list__title.svelte-1ne1k6r{font-size:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-list__title.svelte-1ne1k6r{font-size:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-list__title.svelte-1ne1k6r{font-size:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-list__title.svelte-1ne1k6r{font-size:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-list__title.svelte-1ne1k6r{font-size:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-list__title.svelte-1ne1k6r{top:calc(0.040625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-list__title.svelte-1ne1k6r{top:calc(0.040625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-list__title.svelte-1ne1k6r{top:calc(0.03128125 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-list__title.svelte-1ne1k6r{top:calc(0.0446875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-list__title.svelte-1ne1k6r{top:calc(0.0284375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-list__title.svelte-1ne1k6r{top:calc(0.0365625 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-list__title.svelte-1ne1k6r{top:calc(0.0446875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-list__title.svelte-1ne1k6r{left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-list__title.svelte-1ne1k6r{left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-list__title.svelte-1ne1k6r{left:calc(0.0220572917 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-list__title.svelte-1ne1k6r{left:calc(0.0315104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-list__title.svelte-1ne1k6r{left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-list__title.svelte-1ne1k6r{left:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-list__title.svelte-1ne1k6r{left:calc(0.0315104167 * 100vw + 0px)}}.side-menu-list__list.svelte-1ne1k6r{overflow:auto;height:calc(0.4166666667 * 100vw + 0px)}.side-menu-list__list.svelte-1ne1k6r::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-list__list.svelte-1ne1k6r::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-list__list.svelte-1ne1k6r::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-list__list.svelte-1ne1k6r::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-list__list.svelte-1ne1k6r::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-list__list.svelte-1ne1k6r::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-list__list.svelte-1ne1k6r::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-list__list.svelte-1ne1k6r::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-list__list.svelte-1ne1k6r::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-list__list.svelte-1ne1k6r::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-list__list.svelte-1ne1k6r::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-list__list.svelte-1ne1k6r::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-list__list.svelte-1ne1k6r::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-list__list.svelte-1ne1k6r::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-list__list.svelte-1ne1k6r::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.side-menu-list__list.svelte-1ne1k6r::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-list__list.svelte-1ne1k6r::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-list__list.svelte-1ne1k6r::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-list__list.svelte-1ne1k6r::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-list__list.svelte-1ne1k6r::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-list__list.svelte-1ne1k6r::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-list__list.svelte-1ne1k6r::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-list__list.svelte-1ne1k6r::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.side-menu-list__list.svelte-1ne1k6r::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-list__list.svelte-1ne1k6r::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-list__list.svelte-1ne1k6r::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-list__list.svelte-1ne1k6r::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-list__list.svelte-1ne1k6r::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-list__list.svelte-1ne1k6r::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-list__list.svelte-1ne1k6r::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-list__list.svelte-1ne1k6r::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-list__list.svelte-1ne1k6r{height:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-list__list.svelte-1ne1k6r{height:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-list__list.svelte-1ne1k6r{height:calc(0.3208333333 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-list__list.svelte-1ne1k6r{height:calc(0.4583333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-list__list.svelte-1ne1k6r{height:calc(0.2916666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-list__list.svelte-1ne1k6r{height:calc(0.375 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-list__list.svelte-1ne1k6r{height:calc(0.4583333333 * 100vw + 0px)}}.side-menu-list__list.svelte-1ne1k6r::-webkit-scrollbar{width:0px}.side-menu-list__item.svelte-1ne1k6r{display:flex;align-items:center;opacity:0.5;transform:scale(0.95);transition:0.5s all ease;cursor:pointer;gap:calc(0.0125 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);padding-left:calc(0.0145833333 * 100vw + 0px);margin-bottom:calc(0.0114583333 * 100vw + 0px);width:calc(0.3005208333 * 100vw + 0px);height:calc(0.0755208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-list__item.svelte-1ne1k6r{gap:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-list__item.svelte-1ne1k6r{gap:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-list__item.svelte-1ne1k6r{gap:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-list__item.svelte-1ne1k6r{gap:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-list__item.svelte-1ne1k6r{gap:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-list__item.svelte-1ne1k6r{gap:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-list__item.svelte-1ne1k6r{gap:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-list__item.svelte-1ne1k6r{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-list__item.svelte-1ne1k6r{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-list__item.svelte-1ne1k6r{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-list__item.svelte-1ne1k6r{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-list__item.svelte-1ne1k6r{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-list__item.svelte-1ne1k6r{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-list__item.svelte-1ne1k6r{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-list__item.svelte-1ne1k6r{padding-left:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-list__item.svelte-1ne1k6r{padding-left:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-list__item.svelte-1ne1k6r{padding-left:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-list__item.svelte-1ne1k6r{padding-left:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-list__item.svelte-1ne1k6r{padding-left:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-list__item.svelte-1ne1k6r{padding-left:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-list__item.svelte-1ne1k6r{padding-left:calc(0.0160416667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-list__item.svelte-1ne1k6r{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-list__item.svelte-1ne1k6r{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-list__item.svelte-1ne1k6r{margin-bottom:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-list__item.svelte-1ne1k6r{margin-bottom:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-list__item.svelte-1ne1k6r{margin-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-list__item.svelte-1ne1k6r{margin-bottom:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-list__item.svelte-1ne1k6r{margin-bottom:calc(0.0126041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-list__item.svelte-1ne1k6r{width:calc(0.3005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-list__item.svelte-1ne1k6r{width:calc(0.3005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-list__item.svelte-1ne1k6r{width:calc(0.2314010417 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-list__item.svelte-1ne1k6r{width:calc(0.3305729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-list__item.svelte-1ne1k6r{width:calc(0.2103645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-list__item.svelte-1ne1k6r{width:calc(0.27046875 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-list__item.svelte-1ne1k6r{width:calc(0.3305729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-list__item.svelte-1ne1k6r{height:calc(0.0755208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-list__item.svelte-1ne1k6r{height:calc(0.0755208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-list__item.svelte-1ne1k6r{height:calc(0.0581510417 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-list__item.svelte-1ne1k6r{height:calc(0.0830729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-list__item.svelte-1ne1k6r{height:calc(0.0528645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-list__item.svelte-1ne1k6r{height:calc(0.06796875 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-list__item.svelte-1ne1k6r{height:calc(0.0830729167 * 100vw + 0px)}}.side-menu-list__item.svelte-1ne1k6r:hover,.side-menu-list__item--selected.svelte-1ne1k6r{opacity:1;transform:scale(1);background:rgba(255, 255, 255, 0.2);border-color:transparent;transition:0.5s all ease}.side-menu-list__item-image.svelte-1ne1k6r{height:calc(0.0520833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-list__item-image.svelte-1ne1k6r{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-list__item-image.svelte-1ne1k6r{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-list__item-image.svelte-1ne1k6r{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-list__item-image.svelte-1ne1k6r{height:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-list__item-image.svelte-1ne1k6r{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-list__item-image.svelte-1ne1k6r{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-list__item-image.svelte-1ne1k6r{height:calc(0.0572916667 * 100vw + 0px)}}.side-menu-list__item-title.svelte-1ne1k6r{font-family:\"GothamPro-Bold\";color:#FFFFFF;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-list__item-title.svelte-1ne1k6r{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-list__item-title.svelte-1ne1k6r{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-list__item-title.svelte-1ne1k6r{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-list__item-title.svelte-1ne1k6r{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-list__item-title.svelte-1ne1k6r{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-list__item-title.svelte-1ne1k6r{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-list__item-title.svelte-1ne1k6r{font-size:calc(0.01375 * 100vw + 0px)}}.side-menu-list__buttons.svelte-1ne1k6r{position:absolute;display:flex;align-items:center;gap:calc(0.0208333333 * 100vw + 0px);bottom:calc(0.03125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-list__buttons.svelte-1ne1k6r{gap:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-list__buttons.svelte-1ne1k6r{gap:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-list__buttons.svelte-1ne1k6r{gap:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-list__buttons.svelte-1ne1k6r{gap:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-list__buttons.svelte-1ne1k6r{gap:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-list__buttons.svelte-1ne1k6r{gap:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-list__buttons.svelte-1ne1k6r{gap:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-list__buttons.svelte-1ne1k6r{bottom:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-list__buttons.svelte-1ne1k6r{bottom:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-list__buttons.svelte-1ne1k6r{bottom:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-list__buttons.svelte-1ne1k6r{bottom:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-list__buttons.svelte-1ne1k6r{bottom:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-list__buttons.svelte-1ne1k6r{bottom:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-list__buttons.svelte-1ne1k6r{bottom:calc(0.034375 * 100vw + 0px)}}.side-menu-list__button-arrows.svelte-1ne1k6r{display:flex;align-items:center;gap:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-list__button-arrows.svelte-1ne1k6r{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-list__button-arrows.svelte-1ne1k6r{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-list__button-arrows.svelte-1ne1k6r{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-list__button-arrows.svelte-1ne1k6r{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-list__button-arrows.svelte-1ne1k6r{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-list__button-arrows.svelte-1ne1k6r{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-list__button-arrows.svelte-1ne1k6r{gap:calc(0.0057291667 * 100vw + 0px)}}.side-menu-list__button-arrow.svelte-1ne1k6r{width:calc(0.021875 * 100vw + 0px);height:calc(0.0234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-list__button-arrow.svelte-1ne1k6r{width:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-list__button-arrow.svelte-1ne1k6r{width:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-list__button-arrow.svelte-1ne1k6r{width:calc(0.01684375 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-list__button-arrow.svelte-1ne1k6r{width:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-list__button-arrow.svelte-1ne1k6r{width:calc(0.0153125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-list__button-arrow.svelte-1ne1k6r{width:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-list__button-arrow.svelte-1ne1k6r{width:calc(0.0240625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-list__button-arrow.svelte-1ne1k6r{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-list__button-arrow.svelte-1ne1k6r{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-list__button-arrow.svelte-1ne1k6r{height:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-list__button-arrow.svelte-1ne1k6r{height:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-list__button-arrow.svelte-1ne1k6r{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-list__button-arrow.svelte-1ne1k6r{height:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-list__button-arrow.svelte-1ne1k6r{height:calc(0.02578125 * 100vw + 0px)}}.side-menu-list__button-arrow-title.svelte-1ne1k6r{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0078125 * 100vw + 0px);margin-left:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-list__button-arrow-title.svelte-1ne1k6r{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-list__button-arrow-title.svelte-1ne1k6r{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-list__button-arrow-title.svelte-1ne1k6r{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-list__button-arrow-title.svelte-1ne1k6r{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-list__button-arrow-title.svelte-1ne1k6r{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-list__button-arrow-title.svelte-1ne1k6r{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-list__button-arrow-title.svelte-1ne1k6r{font-size:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-list__button-arrow-title.svelte-1ne1k6r{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-list__button-arrow-title.svelte-1ne1k6r{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-list__button-arrow-title.svelte-1ne1k6r{margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-list__button-arrow-title.svelte-1ne1k6r{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-list__button-arrow-title.svelte-1ne1k6r{margin-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-list__button-arrow-title.svelte-1ne1k6r{margin-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-list__button-arrow-title.svelte-1ne1k6r{margin-left:calc(0.0057291667 * 100vw + 0px)}}.side-menu-list__button-back.svelte-1ne1k6r{display:flex;align-items:center}.side-menu-list__button-back-title.svelte-1ne1k6r{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0078125 * 100vw + 0px);margin-left:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-list__button-back-title.svelte-1ne1k6r{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-list__button-back-title.svelte-1ne1k6r{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-list__button-back-title.svelte-1ne1k6r{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-list__button-back-title.svelte-1ne1k6r{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-list__button-back-title.svelte-1ne1k6r{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-list__button-back-title.svelte-1ne1k6r{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-list__button-back-title.svelte-1ne1k6r{font-size:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-list__button-back-title.svelte-1ne1k6r{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-list__button-back-title.svelte-1ne1k6r{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-list__button-back-title.svelte-1ne1k6r{margin-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-list__button-back-title.svelte-1ne1k6r{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-list__button-back-title.svelte-1ne1k6r{margin-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-list__button-back-title.svelte-1ne1k6r{margin-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-list__button-back-title.svelte-1ne1k6r{margin-left:calc(0.0114583333 * 100vw + 0px)}}.side-menu-list__button-submit.svelte-1ne1k6r{display:flex;align-items:center}.side-menu-list__button-submit-title.svelte-1ne1k6r{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0078125 * 100vw + 0px);margin-left:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-list__button-submit-title.svelte-1ne1k6r{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-list__button-submit-title.svelte-1ne1k6r{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-list__button-submit-title.svelte-1ne1k6r{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-list__button-submit-title.svelte-1ne1k6r{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-list__button-submit-title.svelte-1ne1k6r{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-list__button-submit-title.svelte-1ne1k6r{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-list__button-submit-title.svelte-1ne1k6r{font-size:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-list__button-submit-title.svelte-1ne1k6r{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-list__button-submit-title.svelte-1ne1k6r{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-list__button-submit-title.svelte-1ne1k6r{margin-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-list__button-submit-title.svelte-1ne1k6r{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-list__button-submit-title.svelte-1ne1k6r{margin-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-list__button-submit-title.svelte-1ne1k6r{margin-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-list__button-submit-title.svelte-1ne1k6r{margin-left:calc(0.0114583333 * 100vw + 0px)}}");
}

function side_menu_list_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[20] = list[i];
	child_ctx[21] = list;
	child_ctx[22] = i;
	return child_ctx;
}

// (1388:8) {#each listInfo as item, index}
function side_menu_list_index_svelte_create_each_block(ctx) {
	let div;
	let img;
	let img_src_value;
	let t0;
	let p;
	let raw_value = /*item*/ ctx[20].title + "";
	let t1;
	let index = /*index*/ ctx[22];
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[9](/*index*/ ctx[22]);
	}

	const assign_div = () => /*div_binding*/ ctx[10](div, index);
	const unassign_div = () => /*div_binding*/ ctx[10](null, index);

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			t1 = space();
			attr(img, "class", "side-menu-list__item-image svelte-1ne1k6r");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/sidemenu/${/*item*/ ctx[20].icon}`)) attr(img, "src", img_src_value);
			attr(img, "alt", "logo");
			attr(p, "class", "side-menu-list__item-title svelte-1ne1k6r");
			attr(div, "class", "side-menu-list__item svelte-1ne1k6r");
			toggle_class(div, "side-menu-list__item--selected", /*selectedIndex*/ ctx[2] === /*index*/ ctx[22]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
			append(div, t0);
			append(div, p);
			p.innerHTML = raw_value;
			append(div, t1);
			assign_div();

			if (!mounted) {
				dispose = listen(div, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*listInfo*/ 1 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/sidemenu/${/*item*/ ctx[20].icon}`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*listInfo*/ 1 && raw_value !== (raw_value = /*item*/ ctx[20].title + "")) p.innerHTML = raw_value;;

			if (index !== /*index*/ ctx[22]) {
				unassign_div();
				index = /*index*/ ctx[22];
				assign_div();
			}

			if (dirty & /*selectedIndex*/ 4) {
				toggle_class(div, "side-menu-list__item--selected", /*selectedIndex*/ ctx[2] === /*index*/ ctx[22]);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			unassign_div();
			mounted = false;
			dispose();
		}
	};
}

function side_menu_list_index_svelte_create_fragment(ctx) {
	let div7;
	let p0;
	let t0;
	let t1;
	let exitbutton;
	let t2;
	let div0;
	let t3;
	let div6;
	let div3;
	let div1;
	let actionbutton0;
	let t4;
	let div2;
	let actionbutton1;
	let t5;
	let p1;
	let t7;
	let div4;
	let actionbutton2;
	let t8;
	let p2;
	let t10;
	let div5;
	let actionbutton3;
	let t11;
	let p3;
	let current;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[8],
				fixedPosition: true
			}
		});

	let each_value = /*listInfo*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = side_menu_list_index_svelte_create_each_block(side_menu_list_index_svelte_get_each_context(ctx, each_value, i));
	}

	actionbutton0 = new index_svelte({
			props: {
				onPress: /*func*/ ctx[12],
				keyIcon: "icon-arrow-down",
				keyCode: 40,
				size: ActionButtonSize.FillFree
			}
		});

	actionbutton1 = new index_svelte({
			props: {
				onPress: /*func_1*/ ctx[13],
				keyIcon: "icon-arrow-up",
				keyCode: 38,
				size: ActionButtonSize.FillFree
			}
		});

	actionbutton2 = new index_svelte({
			props: {
				onPress: /*func_2*/ ctx[14],
				keyTitle: "Backspace",
				keyCode: 8,
				size: ActionButtonSize.Regular
			}
		});

	actionbutton3 = new index_svelte({
			props: {
				onPress: /*func_3*/ ctx[15],
				keyTitle: "Enter",
				keyCode: 13,
				size: ActionButtonSize.Regular
			}
		});

	return {
		c() {
			div7 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(/*propertyTitle*/ ctx[1]);
			t1 = space();
			create_component(exitbutton.$$.fragment);
			t2 = space();
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t3 = space();
			div6 = internal_element("div");
			div3 = internal_element("div");
			div1 = internal_element("div");
			create_component(actionbutton0.$$.fragment);
			t4 = space();
			div2 = internal_element("div");
			create_component(actionbutton1.$$.fragment);
			t5 = space();
			p1 = internal_element("p");
			p1.textContent = "Выбор";
			t7 = space();
			div4 = internal_element("div");
			create_component(actionbutton2.$$.fragment);
			t8 = space();
			p2 = internal_element("p");
			p2.textContent = "Назад";
			t10 = space();
			div5 = internal_element("div");
			create_component(actionbutton3.$$.fragment);
			t11 = space();
			p3 = internal_element("p");
			p3.textContent = "Выбрать";
			attr(p0, "class", "side-menu-list__title svelte-1ne1k6r");
			attr(div0, "class", "side-menu-list__list svelte-1ne1k6r");
			attr(div1, "class", "side-menu-list__button-arrow svelte-1ne1k6r");
			attr(div2, "class", "side-menu-list__button-arrow svelte-1ne1k6r");
			attr(p1, "class", "side-menu-list__button-arrow-title svelte-1ne1k6r");
			attr(div3, "class", "side-menu-list__button-arrows svelte-1ne1k6r");
			attr(p2, "class", "side-menu-list__button-back-title svelte-1ne1k6r");
			attr(div4, "class", "side-menu-list__button-back svelte-1ne1k6r");
			attr(p3, "class", "side-menu-list__button-submit-title svelte-1ne1k6r");
			attr(div5, "class", "side-menu-list__button-submit svelte-1ne1k6r");
			attr(div6, "class", "side-menu-list__buttons svelte-1ne1k6r");
			attr(div7, "class", "side-menu-list svelte-1ne1k6r");
		},
		m(target, anchor) {
			insert(target, div7, anchor);
			append(div7, p0);
			append(p0, t0);
			append(div7, t1);
			mount_component(exitbutton, div7, null);
			append(div7, t2);
			append(div7, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			/*div0_binding*/ ctx[11](div0);
			append(div7, t3);
			append(div7, div6);
			append(div6, div3);
			append(div3, div1);
			mount_component(actionbutton0, div1, null);
			append(div3, t4);
			append(div3, div2);
			mount_component(actionbutton1, div2, null);
			append(div3, t5);
			append(div3, p1);
			append(div6, t7);
			append(div6, div4);
			mount_component(actionbutton2, div4, null);
			append(div4, t8);
			append(div4, p2);
			append(div6, t10);
			append(div6, div5);
			mount_component(actionbutton3, div5, null);
			append(div5, t11);
			append(div5, p3);
			current = true;
		},
		p(ctx, [dirty]) {
			if (!current || dirty & /*propertyTitle*/ 2) set_data(t0, /*propertyTitle*/ ctx[1]);

			if (dirty & /*itemsRefs, selectedIndex, selectItem, submit, listInfo, CDN_URL_RODINA*/ 181) {
				each_value = /*listInfo*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = side_menu_list_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = side_menu_list_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div0, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			const actionbutton0_changes = {};
			if (dirty & /*selectedIndex*/ 4) actionbutton0_changes.onPress = /*func*/ ctx[12];
			actionbutton0.$set(actionbutton0_changes);
			const actionbutton1_changes = {};
			if (dirty & /*selectedIndex*/ 4) actionbutton1_changes.onPress = /*func_1*/ ctx[13];
			actionbutton1.$set(actionbutton1_changes);
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			transition_in(actionbutton0.$$.fragment, local);
			transition_in(actionbutton1.$$.fragment, local);
			transition_in(actionbutton2.$$.fragment, local);
			transition_in(actionbutton3.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			transition_out(actionbutton0.$$.fragment, local);
			transition_out(actionbutton1.$$.fragment, local);
			transition_out(actionbutton2.$$.fragment, local);
			transition_out(actionbutton3.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div7);
			destroy_component(exitbutton);
			destroy_each(each_blocks, detaching);
			/*div0_binding*/ ctx[11](null);
			destroy_component(actionbutton0);
			destroy_component(actionbutton1);
			destroy_component(actionbutton2);
			destroy_component(actionbutton3);
		}
	};
}

function side_menu_list_index_svelte_instance($$self, $$props, $$invalidate) {
	let listInfo = [];
	let propertyTitle = 'Заголовок';
	let selectedIndex = 0;
	let containerRef;
	const itemsRefs = [];

	const initializeListInfo = (listInfoDto, title) => {
		$$invalidate(0, listInfo = listInfoDto);
		$$invalidate(1, propertyTitle = title);
	};

	const pushIntoList = (data = []) => {
		$$invalidate(0, listInfo = [...listInfo, ...data]);
	};

	const selectItem = index => {
		let correctIndex = index;

		if (listInfo.length - 1 < index) {
			correctIndex = 0;
		} else if (index < 0) {
			correctIndex = listInfo.length - 1;
		}

		$$invalidate(2, selectedIndex = correctIndex);

		if (listInfo.length <= 1) {
			return;
		}

		const containerHeight = containerRef.getBoundingClientRect().height;
		const itemRect = itemsRefs[correctIndex].getBoundingClientRect();
		const currentTop = containerHeight + containerRef.scrollTop;
		const siblingItemRect = (itemsRefs[correctIndex + 1] || itemsRefs[correctIndex - 1]).getBoundingClientRect();
		const gapHeight = Math.min(Math.abs(siblingItemRect.bottom - itemRect.top), Math.abs(siblingItemRect.top - itemRect.bottom));
		const itemHeight = itemRect.height + gapHeight;
		const itemInViewTopPosition = itemHeight * (correctIndex + 1);
		const itemInViewBottomPosition = itemInViewTopPosition - itemHeight;

		if (currentTop < itemInViewTopPosition) {
			containerRef.scroll({
				top: itemInViewTopPosition,
				behavior: 'smooth'
			});
		}

		if (containerRef.scrollTop > itemInViewBottomPosition) {
			containerRef.scroll({
				top: itemInViewBottomPosition,
				behavior: 'smooth'
			});
		}
	};

	const back = () => {
		sendClientMessage('sideMenu.list.back');
	};

	const submit = () => {
		sendClientMessage('sideMenu.list.submit', selectedIndex);
	};

	const handleClose = () => {
		sendClientMessage('sideMenu.list.exit');
	};

	const unregisterInitializeListInfoEvent = registerEvent('sideMenu.list.initialize', initializeListInfo);
	const unregisterListPushEvent = registerEvent('sideMenu.list.push', pushIntoList);

	onDestroy(() => {
		unregisterInitializeListInfoEvent();
		unregisterListPushEvent();
	});

	const click_handler = index => {
		selectItem(index);
		submit();
	};

	function div_binding($$value, index) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			itemsRefs[index] = $$value;
			$$invalidate(4, itemsRefs);
		});
	}

	function div0_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			containerRef = $$value;
			$$invalidate(3, containerRef);
		});
	}

	const func = () => selectItem(selectedIndex + 1);
	const func_1 = () => selectItem(selectedIndex - 1);
	const func_2 = () => back();
	const func_3 = () => submit();

	return [
		listInfo,
		propertyTitle,
		selectedIndex,
		containerRef,
		itemsRefs,
		selectItem,
		back,
		submit,
		handleClose,
		click_handler,
		div_binding,
		div0_binding,
		func,
		func_1,
		func_2,
		func_3
	];
}

class side_menu_list_index_svelte_List extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, side_menu_list_index_svelte_instance, side_menu_list_index_svelte_create_fragment, safe_not_equal, {}, side_menu_list_index_svelte_add_css);
	}
}

/* harmony default export */ const side_menu_list_index_svelte = (side_menu_list_index_svelte_List);
;// CONCATENATED MODULE: ./src/views/side-menu/constants.js
function side_menu_constants_typeof(o) { "@babel/helpers - typeof"; return side_menu_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, side_menu_constants_typeof(o); }
function side_menu_constants_defineProperty(e, r, t) { return (r = side_menu_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function side_menu_constants_toPropertyKey(t) { var i = side_menu_constants_toPrimitive(t, "string"); return "symbol" == side_menu_constants_typeof(i) ? i : i + ""; }
function side_menu_constants_toPrimitive(t, r) { if ("object" != side_menu_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != side_menu_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
var side_menu_constants_COLORS = {
  Red: 'red',
  Orange: 'orange'
};
var MAP_COLOR_TO_HEX_VALUE = side_menu_constants_defineProperty(side_menu_constants_defineProperty({}, side_menu_constants_COLORS.Red, '#FF3737'), side_menu_constants_COLORS.Orange, '#FFA000');
;// CONCATENATED MODULE: ./src/views/side-menu/properties/index.svelte
/* src\views\side-menu\properties\index.svelte generated by Svelte v3.49.0 */











function properties_index_svelte_add_css(target) {
	append_styles(target, "svelte-6l7zl8", "@keyframes svelte-6l7zl8-blinking{50%{opacity:0}}@keyframes svelte-6l7zl8-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-6l7zl8-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-6l7zl8-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-6l7zl8-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-6l7zl8-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-6l7zl8-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-6l7zl8-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-6l7zl8-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-6l7zl8-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-6l7zl8-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-6l7zl8-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-6l7zl8-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-6l7zl8-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-6l7zl8-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.side-menu-property.svelte-6l7zl8{position:absolute;display:flex;align-items:center;justify-content:center;right:0;height:100vh;width:calc(0.35625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property.svelte-6l7zl8{width:calc(0.35625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property.svelte-6l7zl8{width:calc(0.35625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property.svelte-6l7zl8{width:calc(0.2743125 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property.svelte-6l7zl8{width:calc(0.391875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property.svelte-6l7zl8{width:calc(0.249375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property.svelte-6l7zl8{width:calc(0.320625 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property.svelte-6l7zl8{width:calc(0.391875 * 100vw + 0px)}}.side-menu-property.svelte-6l7zl8::before{content:\"\";z-index:-1;position:absolute;top:0;right:0;width:100%;height:100%;background:linear-gradient(-90deg, rgba(19, 21, 22, 0.95) 75%, transparent);padding-left:calc(0.1041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property.svelte-6l7zl8::before{padding-left:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property.svelte-6l7zl8::before{padding-left:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property.svelte-6l7zl8::before{padding-left:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property.svelte-6l7zl8::before{padding-left:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property.svelte-6l7zl8::before{padding-left:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property.svelte-6l7zl8::before{padding-left:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property.svelte-6l7zl8::before{padding-left:calc(0.1145833333 * 100vw + 0px)}}.side-menu-property__title.svelte-6l7zl8{position:absolute;font-family:\"GothamPro-Bold\";color:#FFFFFF;font-size:calc(0.015625 * 100vw + 0px);top:calc(0.040625 * 100vw + 0px);left:calc(0.0286458333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property__title.svelte-6l7zl8{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property__title.svelte-6l7zl8{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property__title.svelte-6l7zl8{font-size:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property__title.svelte-6l7zl8{font-size:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property__title.svelte-6l7zl8{font-size:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property__title.svelte-6l7zl8{font-size:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property__title.svelte-6l7zl8{font-size:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property__title.svelte-6l7zl8{top:calc(0.040625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property__title.svelte-6l7zl8{top:calc(0.040625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property__title.svelte-6l7zl8{top:calc(0.03128125 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property__title.svelte-6l7zl8{top:calc(0.0446875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property__title.svelte-6l7zl8{top:calc(0.0284375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property__title.svelte-6l7zl8{top:calc(0.0365625 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property__title.svelte-6l7zl8{top:calc(0.0446875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property__title.svelte-6l7zl8{left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property__title.svelte-6l7zl8{left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property__title.svelte-6l7zl8{left:calc(0.0220572917 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property__title.svelte-6l7zl8{left:calc(0.0315104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property__title.svelte-6l7zl8{left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property__title.svelte-6l7zl8{left:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property__title.svelte-6l7zl8{left:calc(0.0315104167 * 100vw + 0px)}}.side-menu-property__list.svelte-6l7zl8{overflow:auto;height:calc(0.4166666667 * 100vw + 0px)}.side-menu-property__list.svelte-6l7zl8::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property__list.svelte-6l7zl8::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property__list.svelte-6l7zl8::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property__list.svelte-6l7zl8::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property__list.svelte-6l7zl8::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property__list.svelte-6l7zl8::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property__list.svelte-6l7zl8::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property__list.svelte-6l7zl8::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property__list.svelte-6l7zl8::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property__list.svelte-6l7zl8::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property__list.svelte-6l7zl8::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property__list.svelte-6l7zl8::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property__list.svelte-6l7zl8::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property__list.svelte-6l7zl8::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property__list.svelte-6l7zl8::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.side-menu-property__list.svelte-6l7zl8::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property__list.svelte-6l7zl8::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property__list.svelte-6l7zl8::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property__list.svelte-6l7zl8::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property__list.svelte-6l7zl8::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property__list.svelte-6l7zl8::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property__list.svelte-6l7zl8::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property__list.svelte-6l7zl8::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.side-menu-property__list.svelte-6l7zl8::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property__list.svelte-6l7zl8::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property__list.svelte-6l7zl8::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property__list.svelte-6l7zl8::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property__list.svelte-6l7zl8::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property__list.svelte-6l7zl8::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property__list.svelte-6l7zl8::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property__list.svelte-6l7zl8::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property__list.svelte-6l7zl8{height:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property__list.svelte-6l7zl8{height:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property__list.svelte-6l7zl8{height:calc(0.3208333333 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property__list.svelte-6l7zl8{height:calc(0.4583333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property__list.svelte-6l7zl8{height:calc(0.2916666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property__list.svelte-6l7zl8{height:calc(0.375 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property__list.svelte-6l7zl8{height:calc(0.4583333333 * 100vw + 0px)}}.side-menu-property__list.svelte-6l7zl8::-webkit-scrollbar{width:0px}.side-menu-property__item.svelte-6l7zl8{display:flex;flex-direction:column;opacity:0.5;transform:scale(0.95);transition:0.5s all ease;cursor:pointer;gap:calc(0.0052083333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);padding:calc(0.0015625 * 100vw + 0px) calc(0.0083333333 * 100vw + 0px);margin-bottom:calc(0.0114583333 * 100vw + 0px);width:calc(0.3005208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property__item.svelte-6l7zl8{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property__item.svelte-6l7zl8{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property__item.svelte-6l7zl8{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property__item.svelte-6l7zl8{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property__item.svelte-6l7zl8{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property__item.svelte-6l7zl8{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property__item.svelte-6l7zl8{gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property__item.svelte-6l7zl8{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property__item.svelte-6l7zl8{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property__item.svelte-6l7zl8{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property__item.svelte-6l7zl8{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property__item.svelte-6l7zl8{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property__item.svelte-6l7zl8{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property__item.svelte-6l7zl8{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property__item.svelte-6l7zl8{padding:calc(0.0015625 * 100vw + 0px) calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property__item.svelte-6l7zl8{padding:calc(0.0015625 * 100vw + 0px) calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property__item.svelte-6l7zl8{padding:calc(0.001203125 * 100vw + 0px) calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property__item.svelte-6l7zl8{padding:calc(0.00171875 * 100vw + 0px) calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property__item.svelte-6l7zl8{padding:calc(0.00109375 * 100vw + 0px) calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property__item.svelte-6l7zl8{padding:calc(0.00140625 * 100vw + 0px) calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property__item.svelte-6l7zl8{padding:calc(0.00171875 * 100vw + 0px) calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property__item.svelte-6l7zl8{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property__item.svelte-6l7zl8{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property__item.svelte-6l7zl8{margin-bottom:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property__item.svelte-6l7zl8{margin-bottom:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property__item.svelte-6l7zl8{margin-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property__item.svelte-6l7zl8{margin-bottom:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property__item.svelte-6l7zl8{margin-bottom:calc(0.0126041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property__item.svelte-6l7zl8{width:calc(0.3005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property__item.svelte-6l7zl8{width:calc(0.3005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property__item.svelte-6l7zl8{width:calc(0.2314010417 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property__item.svelte-6l7zl8{width:calc(0.3305729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property__item.svelte-6l7zl8{width:calc(0.2103645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property__item.svelte-6l7zl8{width:calc(0.27046875 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property__item.svelte-6l7zl8{width:calc(0.3305729167 * 100vw + 0px)}}.side-menu-property__item.svelte-6l7zl8:hover,.side-menu-property__item--selected.svelte-6l7zl8{opacity:1;transform:scale(1);background:rgba(255, 255, 255, 0.2);border-color:transparent;transition:0.5s all ease}.side-menu-property__item-title.svelte-6l7zl8{display:flex;align-items:center;font-family:\"GothamPro-Bold\";color:#FFFFFF;font-size:calc(0.0125 * 100vw + 0px);margin-left:calc(0.0125 * 100vw + 0px);height:calc(0.0270833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property__item-title.svelte-6l7zl8{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property__item-title.svelte-6l7zl8{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property__item-title.svelte-6l7zl8{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property__item-title.svelte-6l7zl8{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property__item-title.svelte-6l7zl8{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property__item-title.svelte-6l7zl8{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property__item-title.svelte-6l7zl8{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property__item-title.svelte-6l7zl8{margin-left:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property__item-title.svelte-6l7zl8{margin-left:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property__item-title.svelte-6l7zl8{margin-left:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property__item-title.svelte-6l7zl8{margin-left:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property__item-title.svelte-6l7zl8{margin-left:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property__item-title.svelte-6l7zl8{margin-left:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property__item-title.svelte-6l7zl8{margin-left:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property__item-title.svelte-6l7zl8{height:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property__item-title.svelte-6l7zl8{height:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property__item-title.svelte-6l7zl8{height:calc(0.0208541667 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property__item-title.svelte-6l7zl8{height:calc(0.0297916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property__item-title.svelte-6l7zl8{height:calc(0.0189583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property__item-title.svelte-6l7zl8{height:calc(0.024375 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property__item-title.svelte-6l7zl8{height:calc(0.0297916667 * 100vw + 0px)}}.side-menu-property__item-descriptions.svelte-6l7zl8{display:flex;flex-wrap:wrap;border-top:1px solid rgba(255, 255, 255, 0.1);gap:calc(0.0104166667 * 100vw + 0px);padding-top:calc(0.0052083333 * 100vw + 0px);width:calc(0.2864583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property__item-descriptions.svelte-6l7zl8{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property__item-descriptions.svelte-6l7zl8{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property__item-descriptions.svelte-6l7zl8{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property__item-descriptions.svelte-6l7zl8{gap:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property__item-descriptions.svelte-6l7zl8{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property__item-descriptions.svelte-6l7zl8{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property__item-descriptions.svelte-6l7zl8{gap:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property__item-descriptions.svelte-6l7zl8{padding-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property__item-descriptions.svelte-6l7zl8{padding-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property__item-descriptions.svelte-6l7zl8{padding-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property__item-descriptions.svelte-6l7zl8{padding-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property__item-descriptions.svelte-6l7zl8{padding-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property__item-descriptions.svelte-6l7zl8{padding-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property__item-descriptions.svelte-6l7zl8{padding-top:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property__item-descriptions.svelte-6l7zl8{width:calc(0.2864583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property__item-descriptions.svelte-6l7zl8{width:calc(0.2864583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property__item-descriptions.svelte-6l7zl8{width:calc(0.2205729167 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property__item-descriptions.svelte-6l7zl8{width:calc(0.3151041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property__item-descriptions.svelte-6l7zl8{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property__item-descriptions.svelte-6l7zl8{width:calc(0.2578125 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property__item-descriptions.svelte-6l7zl8{width:calc(0.3151041667 * 100vw + 0px)}}.side-menu-property__item-description.svelte-6l7zl8{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:calc(0.0026041667 * 100vw + 0px);width:calc(0.0859375 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property__item-description.svelte-6l7zl8{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property__item-description.svelte-6l7zl8{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property__item-description.svelte-6l7zl8{gap:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property__item-description.svelte-6l7zl8{gap:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property__item-description.svelte-6l7zl8{gap:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property__item-description.svelte-6l7zl8{gap:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property__item-description.svelte-6l7zl8{gap:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property__item-description.svelte-6l7zl8{width:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property__item-description.svelte-6l7zl8{width:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property__item-description.svelte-6l7zl8{width:calc(0.066171875 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property__item-description.svelte-6l7zl8{width:calc(0.09453125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property__item-description.svelte-6l7zl8{width:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property__item-description.svelte-6l7zl8{width:calc(0.07734375 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property__item-description.svelte-6l7zl8{width:calc(0.09453125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property__item-description.svelte-6l7zl8{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property__item-description.svelte-6l7zl8{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property__item-description.svelte-6l7zl8{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property__item-description.svelte-6l7zl8{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property__item-description.svelte-6l7zl8{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property__item-description.svelte-6l7zl8{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property__item-description.svelte-6l7zl8{height:calc(0.0286458333 * 100vw + 0px)}}.side-menu-property__item-description-title.svelte-6l7zl8{font-family:\"GothamPro-Medium\";color:rgba(255, 255, 255, 0.5);font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property__item-description-title.svelte-6l7zl8{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property__item-description-title.svelte-6l7zl8{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property__item-description-title.svelte-6l7zl8{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property__item-description-title.svelte-6l7zl8{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property__item-description-title.svelte-6l7zl8{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property__item-description-title.svelte-6l7zl8{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property__item-description-title.svelte-6l7zl8{font-size:calc(0.006875 * 100vw + 0px)}}.side-menu-property__item-description-value.svelte-6l7zl8{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0067708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property__item-description-value.svelte-6l7zl8{font-size:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property__item-description-value.svelte-6l7zl8{font-size:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property__item-description-value.svelte-6l7zl8{font-size:calc(0.0052135417 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property__item-description-value.svelte-6l7zl8{font-size:calc(0.0074479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property__item-description-value.svelte-6l7zl8{font-size:calc(0.0047395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property__item-description-value.svelte-6l7zl8{font-size:calc(0.00609375 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property__item-description-value.svelte-6l7zl8{font-size:calc(0.0074479167 * 100vw + 0px)}}.side-menu-property__buttons.svelte-6l7zl8{position:absolute;display:flex;align-items:center;gap:calc(0.0208333333 * 100vw + 0px);bottom:calc(0.03125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property__buttons.svelte-6l7zl8{gap:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property__buttons.svelte-6l7zl8{gap:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property__buttons.svelte-6l7zl8{gap:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property__buttons.svelte-6l7zl8{gap:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property__buttons.svelte-6l7zl8{gap:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property__buttons.svelte-6l7zl8{gap:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property__buttons.svelte-6l7zl8{gap:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property__buttons.svelte-6l7zl8{bottom:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property__buttons.svelte-6l7zl8{bottom:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property__buttons.svelte-6l7zl8{bottom:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property__buttons.svelte-6l7zl8{bottom:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property__buttons.svelte-6l7zl8{bottom:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property__buttons.svelte-6l7zl8{bottom:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property__buttons.svelte-6l7zl8{bottom:calc(0.034375 * 100vw + 0px)}}.side-menu-property__button-arrows.svelte-6l7zl8{display:flex;align-items:center;gap:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property__button-arrows.svelte-6l7zl8{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property__button-arrows.svelte-6l7zl8{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property__button-arrows.svelte-6l7zl8{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property__button-arrows.svelte-6l7zl8{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property__button-arrows.svelte-6l7zl8{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property__button-arrows.svelte-6l7zl8{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property__button-arrows.svelte-6l7zl8{gap:calc(0.0057291667 * 100vw + 0px)}}.side-menu-property__button-arrow.svelte-6l7zl8{width:calc(0.021875 * 100vw + 0px);height:calc(0.0234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property__button-arrow.svelte-6l7zl8{width:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property__button-arrow.svelte-6l7zl8{width:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property__button-arrow.svelte-6l7zl8{width:calc(0.01684375 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property__button-arrow.svelte-6l7zl8{width:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property__button-arrow.svelte-6l7zl8{width:calc(0.0153125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property__button-arrow.svelte-6l7zl8{width:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property__button-arrow.svelte-6l7zl8{width:calc(0.0240625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property__button-arrow.svelte-6l7zl8{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property__button-arrow.svelte-6l7zl8{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property__button-arrow.svelte-6l7zl8{height:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property__button-arrow.svelte-6l7zl8{height:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property__button-arrow.svelte-6l7zl8{height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property__button-arrow.svelte-6l7zl8{height:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property__button-arrow.svelte-6l7zl8{height:calc(0.02578125 * 100vw + 0px)}}.side-menu-property__button-arrow-title.svelte-6l7zl8{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0078125 * 100vw + 0px);margin-left:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property__button-arrow-title.svelte-6l7zl8{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property__button-arrow-title.svelte-6l7zl8{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property__button-arrow-title.svelte-6l7zl8{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property__button-arrow-title.svelte-6l7zl8{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property__button-arrow-title.svelte-6l7zl8{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property__button-arrow-title.svelte-6l7zl8{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property__button-arrow-title.svelte-6l7zl8{font-size:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property__button-arrow-title.svelte-6l7zl8{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property__button-arrow-title.svelte-6l7zl8{margin-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property__button-arrow-title.svelte-6l7zl8{margin-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property__button-arrow-title.svelte-6l7zl8{margin-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property__button-arrow-title.svelte-6l7zl8{margin-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property__button-arrow-title.svelte-6l7zl8{margin-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property__button-arrow-title.svelte-6l7zl8{margin-left:calc(0.0057291667 * 100vw + 0px)}}.side-menu-property__button-back.svelte-6l7zl8{display:flex;align-items:center}.side-menu-property__button-back-title.svelte-6l7zl8{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0078125 * 100vw + 0px);margin-left:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property__button-back-title.svelte-6l7zl8{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property__button-back-title.svelte-6l7zl8{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property__button-back-title.svelte-6l7zl8{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property__button-back-title.svelte-6l7zl8{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property__button-back-title.svelte-6l7zl8{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property__button-back-title.svelte-6l7zl8{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property__button-back-title.svelte-6l7zl8{font-size:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property__button-back-title.svelte-6l7zl8{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property__button-back-title.svelte-6l7zl8{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property__button-back-title.svelte-6l7zl8{margin-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property__button-back-title.svelte-6l7zl8{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property__button-back-title.svelte-6l7zl8{margin-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property__button-back-title.svelte-6l7zl8{margin-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property__button-back-title.svelte-6l7zl8{margin-left:calc(0.0114583333 * 100vw + 0px)}}.side-menu-property__button-submit.svelte-6l7zl8{display:flex;align-items:center}.side-menu-property__button-submit-title.svelte-6l7zl8{font-family:\"GothamPro-Medium\";color:#FFFFFF;font-size:calc(0.0078125 * 100vw + 0px);margin-left:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property__button-submit-title.svelte-6l7zl8{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property__button-submit-title.svelte-6l7zl8{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property__button-submit-title.svelte-6l7zl8{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property__button-submit-title.svelte-6l7zl8{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property__button-submit-title.svelte-6l7zl8{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property__button-submit-title.svelte-6l7zl8{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property__button-submit-title.svelte-6l7zl8{font-size:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.side-menu-property__button-submit-title.svelte-6l7zl8{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.side-menu-property__button-submit-title.svelte-6l7zl8{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.side-menu-property__button-submit-title.svelte-6l7zl8{margin-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.side-menu-property__button-submit-title.svelte-6l7zl8{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.side-menu-property__button-submit-title.svelte-6l7zl8{margin-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.side-menu-property__button-submit-title.svelte-6l7zl8{margin-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.side-menu-property__button-submit-title.svelte-6l7zl8{margin-left:calc(0.0114583333 * 100vw + 0px)}}");
}

function properties_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[20] = list[i];
	child_ctx[21] = list;
	child_ctx[22] = i;
	return child_ctx;
}

function properties_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[23] = list[i];
	return child_ctx;
}

// (1706:16) {#if !isEmpty(property.title)}
function properties_index_svelte_create_if_block_1(ctx) {
	let p;
	let raw_value = /*property*/ ctx[20].title + "";

	return {
		c() {
			p = internal_element("p");
			attr(p, "class", "side-menu-property__item-title svelte-6l7zl8");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			p.innerHTML = raw_value;
		},
		p(ctx, dirty) {
			if (dirty & /*propertyInfo*/ 1 && raw_value !== (raw_value = /*property*/ ctx[20].title + "")) p.innerHTML = raw_value;;
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (1711:16) {#if property.items}
function properties_index_svelte_create_if_block(ctx) {
	let div;
	let each_value_1 = /*property*/ ctx[20].items;
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = properties_index_svelte_create_each_block_1(properties_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "side-menu-property__item-descriptions svelte-6l7zl8");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}
		},
		p(ctx, dirty) {
			if (dirty & /*MAP_COLOR_TO_HEX_VALUE, propertyInfo*/ 1) {
				each_value_1 = /*property*/ ctx[20].items;
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = properties_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = properties_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (1713:24) {#each property.items as item}
function properties_index_svelte_create_each_block_1(ctx) {
	let div;
	let p0;
	let raw0_value = /*item*/ ctx[23].title + "";
	let t0;
	let p1;
	let raw1_value = /*item*/ ctx[23].value + "";
	let p1_style_value;
	let t1;

	return {
		c() {
			div = internal_element("div");
			p0 = internal_element("p");
			t0 = space();
			p1 = internal_element("p");
			t1 = space();
			attr(p0, "class", "side-menu-property__item-description-title svelte-6l7zl8");
			attr(p1, "class", "side-menu-property__item-description-value svelte-6l7zl8");
			attr(p1, "style", p1_style_value = `color: ${MAP_COLOR_TO_HEX_VALUE[/*item*/ ctx[23].color]}`);
			attr(div, "class", "side-menu-property__item-description svelte-6l7zl8");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p0);
			p0.innerHTML = raw0_value;
			append(div, t0);
			append(div, p1);
			p1.innerHTML = raw1_value;
			append(div, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*propertyInfo*/ 1 && raw0_value !== (raw0_value = /*item*/ ctx[23].title + "")) p0.innerHTML = raw0_value;;
			if (dirty & /*propertyInfo*/ 1 && raw1_value !== (raw1_value = /*item*/ ctx[23].value + "")) p1.innerHTML = raw1_value;;

			if (dirty & /*propertyInfo*/ 1 && p1_style_value !== (p1_style_value = `color: ${MAP_COLOR_TO_HEX_VALUE[/*item*/ ctx[23].color]}`)) {
				attr(p1, "style", p1_style_value);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1696:8) {#each propertyInfo as property, index}
function properties_index_svelte_create_each_block(ctx) {
	let div;
	let show_if = !(0,lodash.isEmpty)(/*property*/ ctx[20].title);
	let t0;
	let t1;
	let index = /*index*/ ctx[22];
	let mounted;
	let dispose;
	let if_block0 = show_if && properties_index_svelte_create_if_block_1(ctx);
	let if_block1 = /*property*/ ctx[20].items && properties_index_svelte_create_if_block(ctx);

	function click_handler() {
		return /*click_handler*/ ctx[9](/*index*/ ctx[22]);
	}

	const assign_div = () => /*div_binding*/ ctx[10](div, index);
	const unassign_div = () => /*div_binding*/ ctx[10](null, index);

	return {
		c() {
			div = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			if (if_block1) if_block1.c();
			t1 = space();
			attr(div, "class", "side-menu-property__item svelte-6l7zl8");
			toggle_class(div, "side-menu-property__item--selected", /*selectedIndex*/ ctx[1] === /*index*/ ctx[22]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block0) if_block0.m(div, null);
			append(div, t0);
			if (if_block1) if_block1.m(div, null);
			append(div, t1);
			assign_div();

			if (!mounted) {
				dispose = listen(div, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if (dirty & /*propertyInfo*/ 1) show_if = !(0,lodash.isEmpty)(/*property*/ ctx[20].title);

			if (show_if) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = properties_index_svelte_create_if_block_1(ctx);
					if_block0.c();
					if_block0.m(div, t0);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (/*property*/ ctx[20].items) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = properties_index_svelte_create_if_block(ctx);
					if_block1.c();
					if_block1.m(div, t1);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (index !== /*index*/ ctx[22]) {
				unassign_div();
				index = /*index*/ ctx[22];
				assign_div();
			}

			if (dirty & /*selectedIndex*/ 2) {
				toggle_class(div, "side-menu-property__item--selected", /*selectedIndex*/ ctx[1] === /*index*/ ctx[22]);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			unassign_div();
			mounted = false;
			dispose();
		}
	};
}

function properties_index_svelte_create_fragment(ctx) {
	let div7;
	let p0;
	let t0;
	let t1;
	let exitbutton;
	let t2;
	let div0;
	let t3;
	let div6;
	let div3;
	let div1;
	let actionbutton0;
	let t4;
	let div2;
	let actionbutton1;
	let t5;
	let p1;
	let t7;
	let div4;
	let actionbutton2;
	let t8;
	let p2;
	let t10;
	let div5;
	let actionbutton3;
	let t11;
	let p3;
	let current;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[8],
				fixedPosition: true
			}
		});

	let each_value = /*propertyInfo*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = properties_index_svelte_create_each_block(properties_index_svelte_get_each_context(ctx, each_value, i));
	}

	actionbutton0 = new index_svelte({
			props: {
				onPress: /*func*/ ctx[12],
				keyIcon: "icon-arrow-down",
				keyCode: 40,
				size: ActionButtonSize.FillFree
			}
		});

	actionbutton1 = new index_svelte({
			props: {
				onPress: /*func_1*/ ctx[13],
				keyIcon: "icon-arrow-up",
				keyCode: 38,
				size: ActionButtonSize.FillFree
			}
		});

	actionbutton2 = new index_svelte({
			props: {
				onPress: /*func_2*/ ctx[14],
				keyTitle: "Backspace",
				keyCode: 8,
				size: ActionButtonSize.Regular
			}
		});

	actionbutton3 = new index_svelte({
			props: {
				onPress: /*func_3*/ ctx[15],
				keyTitle: "Enter",
				keyCode: 13,
				size: ActionButtonSize.Regular
			}
		});

	return {
		c() {
			div7 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(/*propertyTitle*/ ctx[3]);
			t1 = space();
			create_component(exitbutton.$$.fragment);
			t2 = space();
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t3 = space();
			div6 = internal_element("div");
			div3 = internal_element("div");
			div1 = internal_element("div");
			create_component(actionbutton0.$$.fragment);
			t4 = space();
			div2 = internal_element("div");
			create_component(actionbutton1.$$.fragment);
			t5 = space();
			p1 = internal_element("p");
			p1.textContent = "Выбор";
			t7 = space();
			div4 = internal_element("div");
			create_component(actionbutton2.$$.fragment);
			t8 = space();
			p2 = internal_element("p");
			p2.textContent = "Назад";
			t10 = space();
			div5 = internal_element("div");
			create_component(actionbutton3.$$.fragment);
			t11 = space();
			p3 = internal_element("p");
			p3.textContent = "Выбрать";
			attr(p0, "class", "side-menu-property__title svelte-6l7zl8");
			attr(div0, "class", "side-menu-property__list svelte-6l7zl8");
			attr(div1, "class", "side-menu-property__button-arrow svelte-6l7zl8");
			attr(div2, "class", "side-menu-property__button-arrow svelte-6l7zl8");
			attr(p1, "class", "side-menu-property__button-arrow-title svelte-6l7zl8");
			attr(div3, "class", "side-menu-property__button-arrows svelte-6l7zl8");
			attr(p2, "class", "side-menu-property__button-back-title svelte-6l7zl8");
			attr(div4, "class", "side-menu-property__button-back svelte-6l7zl8");
			attr(p3, "class", "side-menu-property__button-submit-title svelte-6l7zl8");
			attr(div5, "class", "side-menu-property__button-submit svelte-6l7zl8");
			attr(div6, "class", "side-menu-property__buttons svelte-6l7zl8");
			attr(div7, "class", "side-menu-property svelte-6l7zl8");
		},
		m(target, anchor) {
			insert(target, div7, anchor);
			append(div7, p0);
			append(p0, t0);
			append(div7, t1);
			mount_component(exitbutton, div7, null);
			append(div7, t2);
			append(div7, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			/*div0_binding*/ ctx[11](div0);
			append(div7, t3);
			append(div7, div6);
			append(div6, div3);
			append(div3, div1);
			mount_component(actionbutton0, div1, null);
			append(div3, t4);
			append(div3, div2);
			mount_component(actionbutton1, div2, null);
			append(div3, t5);
			append(div3, p1);
			append(div6, t7);
			append(div6, div4);
			mount_component(actionbutton2, div4, null);
			append(div4, t8);
			append(div4, p2);
			append(div6, t10);
			append(div6, div5);
			mount_component(actionbutton3, div5, null);
			append(div5, t11);
			append(div5, p3);
			current = true;
		},
		p(ctx, [dirty]) {
			if (!current || dirty & /*propertyTitle*/ 8) set_data(t0, /*propertyTitle*/ ctx[3]);

			if (dirty & /*propertyRefs, selectedIndex, selectItem, submit, propertyInfo, MAP_COLOR_TO_HEX_VALUE, isEmpty*/ 179) {
				each_value = /*propertyInfo*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = properties_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = properties_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div0, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			const actionbutton0_changes = {};
			if (dirty & /*selectedIndex*/ 2) actionbutton0_changes.onPress = /*func*/ ctx[12];
			actionbutton0.$set(actionbutton0_changes);
			const actionbutton1_changes = {};
			if (dirty & /*selectedIndex*/ 2) actionbutton1_changes.onPress = /*func_1*/ ctx[13];
			actionbutton1.$set(actionbutton1_changes);
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			transition_in(actionbutton0.$$.fragment, local);
			transition_in(actionbutton1.$$.fragment, local);
			transition_in(actionbutton2.$$.fragment, local);
			transition_in(actionbutton3.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			transition_out(actionbutton0.$$.fragment, local);
			transition_out(actionbutton1.$$.fragment, local);
			transition_out(actionbutton2.$$.fragment, local);
			transition_out(actionbutton3.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div7);
			destroy_component(exitbutton);
			destroy_each(each_blocks, detaching);
			/*div0_binding*/ ctx[11](null);
			destroy_component(actionbutton0);
			destroy_component(actionbutton1);
			destroy_component(actionbutton2);
			destroy_component(actionbutton3);
		}
	};
}

function properties_index_svelte_instance($$self, $$props, $$invalidate) {
	let propertyInfo = [];
	let selectedIndex = 0;
	let containerRef;
	let propertyTitle = 'Заголовок';
	const propertyRefs = [];

	const initializePropertyInfo = (propertyInfoDto, title) => {
		$$invalidate(0, propertyInfo = propertyInfoDto);
		$$invalidate(3, propertyTitle = title);
	};

	const pushIntoList = (data = []) => {
		$$invalidate(0, propertyInfo = [...propertyInfo, ...data]);
	};

	const selectItem = index => {
		let correctIndex = index;

		if (propertyInfo.length - 1 < index) {
			correctIndex = 0;
		} else if (index < 0) {
			correctIndex = propertyInfo.length - 1;
		}

		$$invalidate(1, selectedIndex = correctIndex);

		if (propertyInfo.length <= 1) {
			return;
		}

		const containerHeight = containerRef.getBoundingClientRect().height;
		const itemRect = propertyRefs[correctIndex].getBoundingClientRect();
		const currentTop = containerHeight + containerRef.scrollTop;
		const siblingItemRect = (propertyRefs[correctIndex + 1] || propertyRefs[correctIndex - 1]).getBoundingClientRect();
		const gapHeight = Math.min(Math.abs(siblingItemRect.bottom - itemRect.top), Math.abs(siblingItemRect.top - itemRect.bottom));
		const itemHeight = itemRect.height + gapHeight;
		const itemInViewTopPosition = itemHeight * (correctIndex + 1);
		const itemInViewBottomPosition = itemInViewTopPosition - itemHeight;

		if (currentTop < itemInViewTopPosition) {
			containerRef.scroll({
				top: itemInViewTopPosition,
				behavior: 'smooth'
			});
		}

		if (containerRef.scrollTop > itemInViewBottomPosition) {
			containerRef.scroll({
				top: itemInViewBottomPosition,
				behavior: 'smooth'
			});
		}
	};

	const back = () => {
		sendClientMessage('sideMenu.property.back');
	};

	const submit = () => {
		sendClientMessage('sideMenu.property.submit', selectedIndex);
	};

	const handleClose = () => {
		sendClientMessage('sideMenu.property.exit');
	};

	const unregisterInitializePropertyInfoEvent = registerEvent('sideMenu.property.initialize', initializePropertyInfo);
	const unregisterListPushEvent = registerEvent('sideMenu.property.push', pushIntoList);

	onDestroy(() => {
		unregisterInitializePropertyInfoEvent();
		unregisterListPushEvent();
	});

	const click_handler = index => {
		selectItem(index);
		submit();
	};

	function div_binding($$value, index) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			propertyRefs[index] = $$value;
			$$invalidate(4, propertyRefs);
		});
	}

	function div0_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			containerRef = $$value;
			$$invalidate(2, containerRef);
		});
	}

	const func = () => selectItem(selectedIndex + 1);
	const func_1 = () => selectItem(selectedIndex - 1);
	const func_2 = () => back();
	const func_3 = () => submit();

	return [
		propertyInfo,
		selectedIndex,
		containerRef,
		propertyTitle,
		propertyRefs,
		selectItem,
		back,
		submit,
		handleClose,
		click_handler,
		div_binding,
		div0_binding,
		func,
		func_1,
		func_2,
		func_3
	];
}

class Properties extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, properties_index_svelte_instance, properties_index_svelte_create_fragment, safe_not_equal, {}, properties_index_svelte_add_css);
	}
}

/* harmony default export */ const properties_index_svelte = (Properties);
;// CONCATENATED MODULE: ./src/views/promo/img/window-background.png
const window_background_namespaceObject = __webpack_require__.p + "assets/4ca192eca2fd7d8f0593.webp";
;// CONCATENATED MODULE: ./src/views/promo/img/banner.png
const banner_namespaceObject = __webpack_require__.p + "assets/4c1099e37707faafb5b2.webp";
;// CONCATENATED MODULE: ./src/views/promo/img/success.svg
const promo_img_success_namespaceObject = __webpack_require__.p + "assets/d1c4f3ebd3f26bc362e6.svg";
;// CONCATENATED MODULE: ./src/views/promo/store.js


var promos = writable([]);
var controlInfo = writable({});
var referralsInfo = writable({});
var controlAvailable = writable({
  available: false,
  minLevel: 1
});
registerEvent('event.promo.control.updateAvailability', function (dto) {
  controlAvailable.set(dto);
});
;// CONCATENATED MODULE: ./src/views/promo/components/activation/index.svelte
/* src\views\promo\components\activation\index.svelte generated by Svelte v3.49.0 */












function activation_index_svelte_add_css(target) {
	append_styles(target, "svelte-1wtyfh5", "@keyframes svelte-1wtyfh5-blinking{50%{opacity:0}}@keyframes svelte-1wtyfh5-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1wtyfh5-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1wtyfh5-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1wtyfh5-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1wtyfh5-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1wtyfh5-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1wtyfh5-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1wtyfh5-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1wtyfh5-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1wtyfh5-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1wtyfh5-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1wtyfh5-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1wtyfh5-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1wtyfh5-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.promo-activation__window-left.svelte-1wtyfh5.svelte-1wtyfh5{box-sizing:content-box;width:calc(0.4322916667 * 100vw + 0px);padding-left:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.4322916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.4322916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.3328645833 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.4755208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.3026041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.3890625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.4755208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left.svelte-1wtyfh5.svelte-1wtyfh5{padding-left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left.svelte-1wtyfh5.svelte-1wtyfh5{padding-left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left.svelte-1wtyfh5.svelte-1wtyfh5{padding-left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left.svelte-1wtyfh5.svelte-1wtyfh5{padding-left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left.svelte-1wtyfh5.svelte-1wtyfh5{padding-left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left.svelte-1wtyfh5.svelte-1wtyfh5{padding-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left.svelte-1wtyfh5.svelte-1wtyfh5{padding-left:calc(0.0286458333 * 100vw + 0px)}}.promo-activation__window-left-title.svelte-1wtyfh5.svelte-1wtyfh5{font-family:\"HeadingNowBold\";color:#FFFFFF;text-transform:uppercase;line-height:calc(0.0364583333 * 100vw + 0px);font-size:calc(0.03125 * 100vw + 0px);margin-top:calc(0.0234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-title.svelte-1wtyfh5.svelte-1wtyfh5{line-height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-title.svelte-1wtyfh5.svelte-1wtyfh5{line-height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-title.svelte-1wtyfh5.svelte-1wtyfh5{line-height:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-title.svelte-1wtyfh5.svelte-1wtyfh5{line-height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-title.svelte-1wtyfh5.svelte-1wtyfh5{line-height:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-title.svelte-1wtyfh5.svelte-1wtyfh5{line-height:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-title.svelte-1wtyfh5.svelte-1wtyfh5{line-height:calc(0.0401041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-title.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-title.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-title.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-title.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-title.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-title.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-title.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.02578125 * 100vw + 0px)}}.promo-activation__window-left-title--colored.svelte-1wtyfh5.svelte-1wtyfh5{background:linear-gradient(91.81deg, #FCD80F 1.53%, #FF9112 59.82%);color:transparent;background-clip:text;-webkit-background-clip:text}.promo-activation__window-left-input-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{position:relative;display:flex;align-items:center;margin-top:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-input-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-input-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-input-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-input-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-input-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-input-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-input-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.0143229167 * 100vw + 0px)}}.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{font-family:\"HeadingNowMedium\";color:rgba(255, 255, 255, 0.6);text-transform:uppercase;background-color:#343940;border:1px solid rgba(255, 255, 255, 0.1);width:100%;border-radius:calc(0.0052083333 * 100vw + 0px);font-size:calc(0.0072916667 * 100vw + 0px);padding-left:calc(0.009375 * 100vw + 0px);padding-right:calc(0.028125 * 100vw + 0px);height:calc(0.0390625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{padding-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{padding-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{padding-left:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{padding-left:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{padding-left:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{padding-left:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{padding-left:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{padding-right:calc(0.028125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{padding-right:calc(0.028125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{padding-right:calc(0.02165625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{padding-right:calc(0.0309375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{padding-right:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{padding-right:calc(0.0253125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{padding-right:calc(0.0309375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.030078125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.04296875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.02734375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.03515625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-input.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.04296875 * 100vw + 0px)}}.promo-activation__window-left-input-icon.svelte-1wtyfh5.svelte-1wtyfh5{position:absolute;color:#FFFFFF;transition:transform 0.2s linear;cursor:pointer;font-size:calc(0.0083333333 * 100vw + 0px);right:calc(0.0098958333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-input-icon.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-input-icon.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-input-icon.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-input-icon.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-input-icon.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-input-icon.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-input-icon.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-input-icon.svelte-1wtyfh5.svelte-1wtyfh5{right:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-input-icon.svelte-1wtyfh5.svelte-1wtyfh5{right:calc(0.0098958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-input-icon.svelte-1wtyfh5.svelte-1wtyfh5{right:calc(0.0076197917 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-input-icon.svelte-1wtyfh5.svelte-1wtyfh5{right:calc(0.0108854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-input-icon.svelte-1wtyfh5.svelte-1wtyfh5{right:calc(0.0069270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-input-icon.svelte-1wtyfh5.svelte-1wtyfh5{right:calc(0.00890625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-input-icon.svelte-1wtyfh5.svelte-1wtyfh5{right:calc(0.0108854167 * 100vw + 0px)}}.promo-activation__window-left-input-icon--disabled.svelte-1wtyfh5.svelte-1wtyfh5{color:rgba(255, 255, 255, 0.6);pointer-events:none}.promo-activation__window-left-input-icon.svelte-1wtyfh5.svelte-1wtyfh5:hover{transform:scale(1.1)}.promo-activation__window-left-title-list.svelte-1wtyfh5.svelte-1wtyfh5{font-family:\"HeadingNowRegular\";color:#FFFFFF;font-size:calc(0.009375 * 100vw + 0px);margin-top:calc(0.0390625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-title-list.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-title-list.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-title-list.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-title-list.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-title-list.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-title-list.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-title-list.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-title-list.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-title-list.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-title-list.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.030078125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-title-list.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.04296875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-title-list.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.02734375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-title-list.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.03515625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-title-list.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.04296875 * 100vw + 0px)}}.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5{width:100%;overflow:auto;height:calc(0.234375 * 100vw + 0px);margin-top:calc(0.0114583333 * 100vw + 0px);padding-bottom:calc(0.078125 * 100vw + 0px)}.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.18046875 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.2578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.2109375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.2578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.0126041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5{padding-bottom:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5{padding-bottom:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5{padding-bottom:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5{padding-bottom:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5{padding-bottom:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5{padding-bottom:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5{padding-bottom:calc(0.0859375 * 100vw + 0px)}}.promo-activation__window-left-list.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar{width:0px}.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5{position:relative;display:flex;justify-content:space-between;align-items:center;background-color:rgba(19, 21, 22, 0.96);border:1px solid rgba(255, 255, 255, 0.1);cursor:pointer;transition:background-color 0.2s linear;width:100%;border-radius:calc(0.0052083333 * 100vw + 0px);padding-left:calc(0.0130208333 * 100vw + 0px);padding-right:calc(0.0130208333 * 100vw + 0px);height:calc(0.0848958333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5{padding-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5{padding-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5{padding-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0848958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0848958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0653697917 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0933854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0594270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.07640625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0933854167 * 100vw + 0px)}}.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5:not(:first-child){margin-top:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5:not(:first-child){margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5:not(:first-child){margin-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5:not(:first-child){margin-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5:not(:first-child){margin-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5:not(:first-child){margin-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5:not(:first-child){margin-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5:not(:first-child){margin-top:calc(0.0057291667 * 100vw + 0px)}}.promo-activation__window-left-item.svelte-1wtyfh5.svelte-1wtyfh5:hover{background-color:rgba(36, 37, 37, 0.96)}.promo-activation__window-left-item-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{display:flex;gap:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-item-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-item-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-item-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-item-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-item-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-item-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-item-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.006875 * 100vw + 0px)}}.promo-activation__window-left-item-reward.svelte-1wtyfh5.svelte-1wtyfh5{display:flex;flex-direction:column;align-items:center;gap:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-item-reward.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-item-reward.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-item-reward.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-item-reward.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-item-reward.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-item-reward.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-item-reward.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.0022916667 * 100vw + 0px)}}.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgb(13, 16, 17) 90%);border:1px solid rgba(255, 255, 255, 0.05);border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.0416666667 * 100vw + 0px);height:calc(0.0416666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0458333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0458333333 * 100vw + 0px)}}.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:after{content:\"\";position:absolute;background-color:var(--shadowColor);bottom:0;width:calc(0.015625 * 100vw + 0px);height:calc(0.0010416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:after{width:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:after{width:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:after{width:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:after{width:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:after{width:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:after{width:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:after{width:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:after{height:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:after{height:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:after{height:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:after{height:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:after{height:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:after{height:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:after{height:calc(0.0011458333 * 100vw + 0px)}}.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{content:\"\";position:absolute;background-color:var(--shadowColor);filter:blur(10px);border-radius:100%;bottom:calc(-0.0104166667 * 100vw + 0px);width:calc(0.03125 * 100vw + 0px);height:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{bottom:calc(-0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{bottom:calc(-0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{bottom:calc(-0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{bottom:calc(-0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{bottom:calc(-0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{bottom:calc(-0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{bottom:calc(-0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{width:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{width:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{width:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{width:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{width:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{width:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{width:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{height:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{height:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{height:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-item-reward-img-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{height:calc(0.0171875 * 100vw + 0px)}}.promo-activation__window-left-item-reward-img.svelte-1wtyfh5.svelte-1wtyfh5{z-index:2;height:calc(0.0333333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-item-reward-img.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-item-reward-img.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-item-reward-img.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-item-reward-img.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-item-reward-img.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-item-reward-img.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-item-reward-img.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0366666667 * 100vw + 0px)}}.promo-activation__window-left-item-reward-title.svelte-1wtyfh5.svelte-1wtyfh5{font-family:\"HeadingNowRegular\";color:rgba(255, 255, 255, 0.85);text-align:center;font-size:calc(0.00625 * 100vw + 0px);width:calc(0.03125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-item-reward-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-item-reward-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-item-reward-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-item-reward-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-item-reward-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-item-reward-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-item-reward-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-item-reward-title.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-item-reward-title.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-item-reward-title.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-item-reward-title.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-item-reward-title.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-item-reward-title.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-item-reward-title.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.034375 * 100vw + 0px)}}.promo-activation__window-left-item-promo.svelte-1wtyfh5.svelte-1wtyfh5{display:flex;flex-direction:column;align-items:flex-end;gap:calc(0.0151041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-item-promo.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-item-promo.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-item-promo.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.0116302083 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-item-promo.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.0166145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-item-promo.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.0105729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-item-promo.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.01359375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-item-promo.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.0166145833 * 100vw + 0px)}}.promo-activation__window-left-item-promo-title.svelte-1wtyfh5.svelte-1wtyfh5{font-family:\"HeadingNowBold\";color:rgba(255, 255, 255, 0.9);text-transform:uppercase;font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-item-promo-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-item-promo-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-item-promo-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-item-promo-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-item-promo-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-item-promo-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-item-promo-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0080208333 * 100vw + 0px)}}.promo-activation__window-left-item-promo-button.svelte-1wtyfh5.svelte-1wtyfh5{display:flex;align-items:center;justify-content:center;background:linear-gradient(91.81deg, #FCD80F 1.53%, #FF9112 59.82%);border:1px solid rgba(255, 255, 255, 0.05);cursor:pointer;transition:background 0.2s linear, border 0.2s linear, color 0.2s linear;position:relative;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.078125 * 100vw + 0px);height:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-item-promo-button.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-item-promo-button.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-item-promo-button.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-item-promo-button.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-item-promo-button.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-item-promo-button.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-item-promo-button.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-item-promo-button.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-item-promo-button.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-item-promo-button.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-item-promo-button.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-item-promo-button.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-item-promo-button.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-item-promo-button.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-item-promo-button.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-item-promo-button.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-item-promo-button.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-item-promo-button.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-item-promo-button.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-item-promo-button.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-item-promo-button.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0275 * 100vw + 0px)}}.promo-activation__window-left-item-promo-button.svelte-1wtyfh5.svelte-1wtyfh5:hover{background:#FFFFFF;border:1px solid rgba(0, 0, 0, 0.05)}.promo-activation__window-left-item-promo-button.svelte-1wtyfh5:hover .promo-activation__window-left-item-promo-button-title.svelte-1wtyfh5{color:rgba(0, 0, 0, 0.9)}.promo-activation__window-left-item-promo-button--available.svelte-1wtyfh5.svelte-1wtyfh5::after{content:\"\";position:absolute;background-color:#FD0E42;border-radius:100%;animation:svelte-1wtyfh5-pulse 1s linear infinite alternate;top:calc(-0.003125 * 100vw + 0px);right:calc(-0.003125 * 100vw + 0px);width:calc(0.00625 * 100vw + 0px);height:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-item-promo-button--available.svelte-1wtyfh5.svelte-1wtyfh5::after{top:calc(-0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-item-promo-button--available.svelte-1wtyfh5.svelte-1wtyfh5::after{top:calc(-0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-item-promo-button--available.svelte-1wtyfh5.svelte-1wtyfh5::after{top:calc(-0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-item-promo-button--available.svelte-1wtyfh5.svelte-1wtyfh5::after{top:calc(-0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-item-promo-button--available.svelte-1wtyfh5.svelte-1wtyfh5::after{top:calc(-0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-item-promo-button--available.svelte-1wtyfh5.svelte-1wtyfh5::after{top:calc(-0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-item-promo-button--available.svelte-1wtyfh5.svelte-1wtyfh5::after{top:calc(-0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-item-promo-button--available.svelte-1wtyfh5.svelte-1wtyfh5::after{right:calc(-0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-item-promo-button--available.svelte-1wtyfh5.svelte-1wtyfh5::after{right:calc(-0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-item-promo-button--available.svelte-1wtyfh5.svelte-1wtyfh5::after{right:calc(-0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-item-promo-button--available.svelte-1wtyfh5.svelte-1wtyfh5::after{right:calc(-0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-item-promo-button--available.svelte-1wtyfh5.svelte-1wtyfh5::after{right:calc(-0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-item-promo-button--available.svelte-1wtyfh5.svelte-1wtyfh5::after{right:calc(-0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-item-promo-button--available.svelte-1wtyfh5.svelte-1wtyfh5::after{right:calc(-0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-item-promo-button--available.svelte-1wtyfh5.svelte-1wtyfh5::after{width:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-item-promo-button--available.svelte-1wtyfh5.svelte-1wtyfh5::after{width:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-item-promo-button--available.svelte-1wtyfh5.svelte-1wtyfh5::after{width:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-item-promo-button--available.svelte-1wtyfh5.svelte-1wtyfh5::after{width:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-item-promo-button--available.svelte-1wtyfh5.svelte-1wtyfh5::after{width:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-item-promo-button--available.svelte-1wtyfh5.svelte-1wtyfh5::after{width:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-item-promo-button--available.svelte-1wtyfh5.svelte-1wtyfh5::after{width:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-item-promo-button--available.svelte-1wtyfh5.svelte-1wtyfh5::after{height:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-item-promo-button--available.svelte-1wtyfh5.svelte-1wtyfh5::after{height:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-item-promo-button--available.svelte-1wtyfh5.svelte-1wtyfh5::after{height:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-item-promo-button--available.svelte-1wtyfh5.svelte-1wtyfh5::after{height:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-item-promo-button--available.svelte-1wtyfh5.svelte-1wtyfh5::after{height:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-item-promo-button--available.svelte-1wtyfh5.svelte-1wtyfh5::after{height:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-item-promo-button--available.svelte-1wtyfh5.svelte-1wtyfh5::after{height:calc(0.006875 * 100vw + 0px)}}.promo-activation__window-left-item-promo-button--received.svelte-1wtyfh5.svelte-1wtyfh5{pointer-events:none;background:transparent;gap:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-item-promo-button--received.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-item-promo-button--received.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-item-promo-button--received.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-item-promo-button--received.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-item-promo-button--received.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-item-promo-button--received.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-item-promo-button--received.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.006875 * 100vw + 0px)}}.promo-activation__window-left-item-promo-button--received.svelte-1wtyfh5 .promo-activation__window-left-item-promo-button-icon.svelte-1wtyfh5{color:rgba(255, 255, 255, 0.5);font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-item-promo-button--received.svelte-1wtyfh5 .promo-activation__window-left-item-promo-button-icon.svelte-1wtyfh5{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-item-promo-button--received.svelte-1wtyfh5 .promo-activation__window-left-item-promo-button-icon.svelte-1wtyfh5{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-item-promo-button--received.svelte-1wtyfh5 .promo-activation__window-left-item-promo-button-icon.svelte-1wtyfh5{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-item-promo-button--received.svelte-1wtyfh5 .promo-activation__window-left-item-promo-button-icon.svelte-1wtyfh5{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-item-promo-button--received.svelte-1wtyfh5 .promo-activation__window-left-item-promo-button-icon.svelte-1wtyfh5{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-item-promo-button--received.svelte-1wtyfh5 .promo-activation__window-left-item-promo-button-icon.svelte-1wtyfh5{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-item-promo-button--received.svelte-1wtyfh5 .promo-activation__window-left-item-promo-button-icon.svelte-1wtyfh5{font-size:calc(0.0103125 * 100vw + 0px)}}.promo-activation__window-left-item-promo-button--received.svelte-1wtyfh5 .promo-activation__window-left-item-promo-button-title.svelte-1wtyfh5{color:rgba(255, 255, 255, 0.5);font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-item-promo-button--received.svelte-1wtyfh5 .promo-activation__window-left-item-promo-button-title.svelte-1wtyfh5{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-item-promo-button--received.svelte-1wtyfh5 .promo-activation__window-left-item-promo-button-title.svelte-1wtyfh5{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-item-promo-button--received.svelte-1wtyfh5 .promo-activation__window-left-item-promo-button-title.svelte-1wtyfh5{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-item-promo-button--received.svelte-1wtyfh5 .promo-activation__window-left-item-promo-button-title.svelte-1wtyfh5{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-item-promo-button--received.svelte-1wtyfh5 .promo-activation__window-left-item-promo-button-title.svelte-1wtyfh5{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-item-promo-button--received.svelte-1wtyfh5 .promo-activation__window-left-item-promo-button-title.svelte-1wtyfh5{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-item-promo-button--received.svelte-1wtyfh5 .promo-activation__window-left-item-promo-button-title.svelte-1wtyfh5{font-size:calc(0.006875 * 100vw + 0px)}}.promo-activation__window-left-item-promo-button--notAvailable.svelte-1wtyfh5.svelte-1wtyfh5{background:#FFFFFF}.promo-activation__window-left-item-promo-button--notAvailable.svelte-1wtyfh5.svelte-1wtyfh5:hover{background:linear-gradient(91.81deg, #FCD80F 1.53%, #FF9112 59.82%)}.promo-activation__window-left-item-promo-button--notAvailable.svelte-1wtyfh5:hover .promo-activation__window-left-item-promo-button-title.svelte-1wtyfh5{color:rgba(0, 0, 0, 0.9)}.promo-activation__window-left-item-promo-button-title.svelte-1wtyfh5.svelte-1wtyfh5{font-family:\"HeadingNowBold\";color:rgba(0, 0, 0, 0.9);text-transform:uppercase;font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-left-item-promo-button-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-left-item-promo-button-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-left-item-promo-button-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-left-item-promo-button-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-left-item-promo-button-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-left-item-promo-button-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-left-item-promo-button-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.006875 * 100vw + 0px)}}.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;border-radius:calc(0.0052083333 * 100vw + 0px);right:calc(0.0260416667 * 100vw + 0px);bottom:calc(0.0291666667 * 100vw + 0px);width:calc(0.15625 * 100vw + 0px);height:calc(0.3942708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{right:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{right:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{right:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{right:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{right:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{right:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{right:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{bottom:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{bottom:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{bottom:calc(0.0224583333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{bottom:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{bottom:calc(0.0204166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{bottom:calc(0.02625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{bottom:calc(0.0320833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.140625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.3942708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.3942708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.3035885417 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.4336979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.2759895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.35484375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.4336979167 * 100vw + 0px)}}.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5:before{content:\"\";z-index:1;position:absolute;background:linear-gradient(180deg, rgba(19, 21, 22, 0) 36.06%, #131516 87.98%);width:100%;border-bottom-left-radius:calc(0.0052083333 * 100vw + 0px);border-bottom-right-radius:calc(0.0052083333 * 100vw + 0px);bottom:calc(-0.0104166667 * 100vw + 0px);height:calc(0.3942708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5:before{border-bottom-left-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5:before{border-bottom-left-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5:before{border-bottom-left-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5:before{border-bottom-left-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5:before{border-bottom-left-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5:before{border-bottom-left-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5:before{border-bottom-left-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5:before{border-bottom-right-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5:before{border-bottom-right-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5:before{border-bottom-right-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5:before{border-bottom-right-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5:before{border-bottom-right-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5:before{border-bottom-right-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5:before{border-bottom-right-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5:before{bottom:calc(-0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5:before{bottom:calc(-0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5:before{bottom:calc(-0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5:before{bottom:calc(-0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5:before{bottom:calc(-0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5:before{bottom:calc(-0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5:before{bottom:calc(-0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5:before{height:calc(0.3942708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5:before{height:calc(0.3942708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5:before{height:calc(0.3035885417 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5:before{height:calc(0.4336979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5:before{height:calc(0.2759895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5:before{height:calc(0.35484375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-right.svelte-1wtyfh5.svelte-1wtyfh5:before{height:calc(0.4336979167 * 100vw + 0px)}}.promo-activation__window-right-background.svelte-1wtyfh5.svelte-1wtyfh5{position:absolute;width:100%;height:100%}.promo-activation__window-right-title.svelte-1wtyfh5.svelte-1wtyfh5{z-index:2;font-family:\"HeadingNowBold\";color:#FFFFFF;text-align:center;text-transform:uppercase;font-size:calc(0.0104166667 * 100vw + 0px);width:calc(0.1302083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-right-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-right-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-right-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-right-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-right-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-right-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-right-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-right-title.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-right-title.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-right-title.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-right-title.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-right-title.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-right-title.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-right-title.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.1432291667 * 100vw + 0px)}}.promo-activation__window-right-title--colored.svelte-1wtyfh5.svelte-1wtyfh5{background:linear-gradient(91.81deg, #FCD80F 1.53%, #FF9112 59.82%);color:transparent;background-clip:text;-webkit-background-clip:text}.promo-activation__window-right-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{z-index:2;display:flex;flex-wrap:wrap;gap:calc(0.0026041667 * 100vw + 0px);margin-top:calc(0.0104166667 * 100vw + 0px);margin-bottom:calc(0.0067708333 * 100vw + 0px);width:calc(0.1302083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-right-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-right-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-right-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-right-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-right-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-right-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-right-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-right-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-right-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-right-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-right-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-right-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-right-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-right-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-right-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{margin-bottom:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-right-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{margin-bottom:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-right-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{margin-bottom:calc(0.0052135417 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-right-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{margin-bottom:calc(0.0074479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-right-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{margin-bottom:calc(0.0047395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-right-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{margin-bottom:calc(0.00609375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-right-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{margin-bottom:calc(0.0074479167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-right-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-right-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-right-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-right-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-right-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-right-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-right-reward-list.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.1432291667 * 100vw + 0px)}}.promo-activation__window-right-reward-item.svelte-1wtyfh5.svelte-1wtyfh5{display:flex;align-items:center;justify-content:center;border:1px solid rgba(255, 255, 255, 0.1);border-radius:calc(0.0026041667 * 100vw + 0px);width:calc(0.0635416667 * 100vw + 0px);height:calc(0.0140625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-right-reward-item.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-right-reward-item.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-right-reward-item.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-right-reward-item.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-right-reward-item.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-right-reward-item.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-right-reward-item.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-right-reward-item.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0635416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-right-reward-item.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0635416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-right-reward-item.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0489270833 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-right-reward-item.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0698958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-right-reward-item.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0444791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-right-reward-item.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0571875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-right-reward-item.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0698958333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-right-reward-item.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-right-reward-item.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-right-reward-item.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.010828125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-right-reward-item.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.01546875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-right-reward-item.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-right-reward-item.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.01265625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-right-reward-item.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.01546875 * 100vw + 0px)}}.promo-activation__window-right-reward-item-title.svelte-1wtyfh5.svelte-1wtyfh5{font-family:\"HeadingNowRegular\";color:#FFFFFF;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-right-reward-item-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-right-reward-item-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-right-reward-item-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-right-reward-item-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-right-reward-item-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-right-reward-item-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-right-reward-item-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0057291667 * 100vw + 0px)}}.promo-activation__window-right-button.svelte-1wtyfh5.svelte-1wtyfh5{z-index:2;display:flex;align-items:center;justify-content:center;background:linear-gradient(91.81deg, #FCD80F 1.53%, #FF9112 59.82%);border:1px solid rgba(255, 255, 255, 0.05);cursor:pointer;transition:background 0.2s linear, border 0.2s linear, color 0.2s linear;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.1302083333 * 100vw + 0px);height:calc(0.021875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-right-button.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-right-button.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-right-button.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-right-button.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-right-button.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-right-button.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-right-button.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-right-button.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-right-button.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-right-button.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-right-button.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-right-button.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-right-button.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-right-button.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.1432291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-right-button.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-right-button.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-right-button.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.01684375 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-right-button.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-right-button.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0153125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-right-button.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-right-button.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0240625 * 100vw + 0px)}}.promo-activation__window-right-button.svelte-1wtyfh5.svelte-1wtyfh5:hover{background:#FFFFFF;border:1px solid rgba(0, 0, 0, 0.05)}.promo-activation__window-right-button.svelte-1wtyfh5:hover .promo-activation__window-right-button-title.svelte-1wtyfh5{color:rgba(0, 0, 0, 0.9)}.promo-activation__window-right-button-title.svelte-1wtyfh5.svelte-1wtyfh5{font-family:\"HeadingNowBold\";color:rgba(0, 0, 0, 0.9);text-transform:uppercase;font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__window-right-button-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__window-right-button-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__window-right-button-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__window-right-button-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__window-right-button-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__window-right-button-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__window-right-button-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.006875 * 100vw + 0px)}}.promo-activation__back-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{display:flex;align-items:center;gap:calc(0.0260416667 * 100vw + 0px);margin-top:calc(0.0234375 * 100vw + 0px);margin-left:calc(0.0260416667 * 100vw + 0px);margin-bottom:calc(0.0510416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__back-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__back-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__back-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__back-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__back-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__back-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__back-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__back-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__back-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__back-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__back-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__back-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__back-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__back-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.02578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__back-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{margin-left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__back-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{margin-left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__back-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{margin-left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__back-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{margin-left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__back-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{margin-left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__back-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{margin-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__back-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{margin-left:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__back-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{margin-bottom:calc(0.0510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__back-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{margin-bottom:calc(0.0510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__back-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{margin-bottom:calc(0.0393020833 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__back-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{margin-bottom:calc(0.0561458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__back-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{margin-bottom:calc(0.0357291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__back-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{margin-bottom:calc(0.0459375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__back-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{margin-bottom:calc(0.0561458333 * 100vw + 0px)}}.promo-activation__back.svelte-1wtyfh5.svelte-1wtyfh5{display:flex;align-items:center;justify-content:center;background-color:#343940;border:1px solid rgba(255, 255, 255, 0.2);cursor:pointer;transition:background-color 0.2s linear, color 0.2s linear;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.025 * 100vw + 0px);height:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__back.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__back.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__back.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__back.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__back.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__back.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__back.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__back.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__back.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__back.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__back.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__back.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__back.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__back.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0275 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__back.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__back.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__back.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__back.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__back.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__back.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__back.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0275 * 100vw + 0px)}}.promo-activation__back.svelte-1wtyfh5.svelte-1wtyfh5:hover{background-color:#FFFFFF}.promo-activation__back.svelte-1wtyfh5:hover .promo-activation__back-icon.svelte-1wtyfh5{color:rgba(0, 0, 0, 0.9)}.promo-activation__back-icon.svelte-1wtyfh5.svelte-1wtyfh5{color:#FFFFFF;font-size:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__back-icon.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__back-icon.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__back-icon.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__back-icon.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__back-icon.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__back-icon.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__back-icon.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0045833333 * 100vw + 0px)}}.promo-activation__info-promo-title.svelte-1wtyfh5.svelte-1wtyfh5{font-family:\"HeadingNowRegular\";color:#FFFFFF;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__info-promo-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__info-promo-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__info-promo-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__info-promo-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__info-promo-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__info-promo-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__info-promo-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0103125 * 100vw + 0px)}}.promo-activation__info-promo.svelte-1wtyfh5.svelte-1wtyfh5{font-family:\"HeadingNowBold\";background:linear-gradient(91.81deg, #FCD80F 1.53%, #FF9112 59.82%);color:transparent;background-clip:text;-webkit-background-clip:text;text-transform:uppercase;font-size:calc(0.03125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__info-promo.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__info-promo.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__info-promo.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__info-promo.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__info-promo.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__info-promo.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__info-promo.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.034375 * 100vw + 0px)}}.promo-activation__reward-list-title.svelte-1wtyfh5.svelte-1wtyfh5{font-family:\"HeadingNowRegular\";color:#FFFFFF;text-align:center;font-size:calc(0.009375 * 100vw + 0px);margin-bottom:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-list-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-list-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-list-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-list-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-list-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-list-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-list-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-list-title.svelte-1wtyfh5.svelte-1wtyfh5{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-list-title.svelte-1wtyfh5.svelte-1wtyfh5{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-list-title.svelte-1wtyfh5.svelte-1wtyfh5{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-list-title.svelte-1wtyfh5.svelte-1wtyfh5{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-list-title.svelte-1wtyfh5.svelte-1wtyfh5{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-list-title.svelte-1wtyfh5.svelte-1wtyfh5{margin-bottom:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-list-title.svelte-1wtyfh5.svelte-1wtyfh5{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{display:flex;align-items:flex-end;overflow:auto;overflow-y:auto;width:calc(0.6666666667 * 100vw + 0px);height:calc(0.234375 * 100vw + 0px);padding-bottom:calc(0.0520833333 * 100vw + 0px)}.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.6666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.6666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.5133333333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.7333333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.4666666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.6 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.7333333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.18046875 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.2578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.2109375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.2578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{padding-bottom:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{padding-bottom:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{padding-bottom:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{padding-bottom:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{padding-bottom:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{padding-bottom:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{padding-bottom:calc(0.0572916667 * 100vw + 0px)}}.promo-activation__reward-list-wrapper.svelte-1wtyfh5.svelte-1wtyfh5::-webkit-scrollbar{display:none}.promo-activation__reward-item.svelte-1wtyfh5.svelte-1wtyfh5{display:flex;flex-direction:column;align-items:center;transform:translateY(-100%);position:absolute;top:calc(-0.0432291667 * 100vw + 0px);gap:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-item.svelte-1wtyfh5.svelte-1wtyfh5{top:calc(-0.0432291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-item.svelte-1wtyfh5.svelte-1wtyfh5{top:calc(-0.0432291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-item.svelte-1wtyfh5.svelte-1wtyfh5{top:calc(-0.0332864583 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-item.svelte-1wtyfh5.svelte-1wtyfh5{top:calc(-0.0475520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-item.svelte-1wtyfh5.svelte-1wtyfh5{top:calc(-0.0302604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-item.svelte-1wtyfh5.svelte-1wtyfh5{top:calc(-0.03890625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-item.svelte-1wtyfh5.svelte-1wtyfh5{top:calc(-0.0475520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-item.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-item.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-item.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-item.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-item.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-item.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-item.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.00859375 * 100vw + 0px)}}.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgb(13, 16, 17) 90%);border:2px solid rgba(255, 255, 255, 0.05);border-radius:calc(0.0104166667 * 100vw + 0px);width:calc(0.078125 * 100vw + 0px);height:calc(0.078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0859375 * 100vw + 0px)}}.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:after{content:\"\";position:absolute;background-color:var(--shadowColor);bottom:0;width:calc(0.0291666667 * 100vw + 0px);height:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:after{width:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:after{width:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:after{width:calc(0.0224583333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:after{width:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:after{width:calc(0.0204166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:after{width:calc(0.02625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:after{width:calc(0.0320833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:after{height:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:after{height:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:after{height:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:after{height:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:after{height:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:after{height:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:after{height:calc(0.0022916667 * 100vw + 0px)}}.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{content:\"\";position:absolute;background-color:var(--shadowColor);filter:blur(20px);border-radius:100%;bottom:calc(-0.0104166667 * 100vw + 0px);width:calc(0.0729166667 * 100vw + 0px);height:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{bottom:calc(-0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{bottom:calc(-0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{bottom:calc(-0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{bottom:calc(-0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{bottom:calc(-0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{bottom:calc(-0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{bottom:calc(-0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{width:calc(0.0561458333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{width:calc(0.0510416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{width:calc(0.065625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{width:calc(0.0802083333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{height:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{height:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{height:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-item-image-wrapper.svelte-1wtyfh5.svelte-1wtyfh5:before{height:calc(0.0171875 * 100vw + 0px)}}.promo-activation__reward-item-image.svelte-1wtyfh5.svelte-1wtyfh5{z-index:2;height:calc(0.0625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-item-image.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-item-image.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-item-image.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-item-image.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.06875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-item-image.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.04375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-item-image.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.05625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-item-image.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.06875 * 100vw + 0px)}}.promo-activation__reward-item-timer-status.svelte-1wtyfh5.svelte-1wtyfh5{z-index:2;position:absolute;background-color:rgba(255, 0, 0, 0.2509803922);width:100%;height:100%}.promo-activation__reward-item-timer.svelte-1wtyfh5.svelte-1wtyfh5{z-index:3;position:absolute;display:flex;align-items:center;gap:calc(0.0020833333 * 100vw + 0px);right:calc(0.0067708333 * 100vw + 0px);bottom:calc(0.0067708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-item-timer.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-item-timer.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-item-timer.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-item-timer.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-item-timer.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-item-timer.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-item-timer.svelte-1wtyfh5.svelte-1wtyfh5{gap:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-item-timer.svelte-1wtyfh5.svelte-1wtyfh5{right:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-item-timer.svelte-1wtyfh5.svelte-1wtyfh5{right:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-item-timer.svelte-1wtyfh5.svelte-1wtyfh5{right:calc(0.0052135417 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-item-timer.svelte-1wtyfh5.svelte-1wtyfh5{right:calc(0.0074479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-item-timer.svelte-1wtyfh5.svelte-1wtyfh5{right:calc(0.0047395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-item-timer.svelte-1wtyfh5.svelte-1wtyfh5{right:calc(0.00609375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-item-timer.svelte-1wtyfh5.svelte-1wtyfh5{right:calc(0.0074479167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-item-timer.svelte-1wtyfh5.svelte-1wtyfh5{bottom:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-item-timer.svelte-1wtyfh5.svelte-1wtyfh5{bottom:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-item-timer.svelte-1wtyfh5.svelte-1wtyfh5{bottom:calc(0.0052135417 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-item-timer.svelte-1wtyfh5.svelte-1wtyfh5{bottom:calc(0.0074479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-item-timer.svelte-1wtyfh5.svelte-1wtyfh5{bottom:calc(0.0047395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-item-timer.svelte-1wtyfh5.svelte-1wtyfh5{bottom:calc(0.00609375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-item-timer.svelte-1wtyfh5.svelte-1wtyfh5{bottom:calc(0.0074479167 * 100vw + 0px)}}.promo-activation__reward-item-timer--timeOut.svelte-1wtyfh5 .promo-activation__reward-item-timer-icon.svelte-1wtyfh5,.promo-activation__reward-item-timer--timeOut.svelte-1wtyfh5 .promo-activation__reward-item-timer-title.svelte-1wtyfh5{color:#FF0000}.promo-activation__reward-item-timer-icon.svelte-1wtyfh5.svelte-1wtyfh5{color:#FFFFFF;font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-item-timer-icon.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-item-timer-icon.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-item-timer-icon.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-item-timer-icon.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-item-timer-icon.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-item-timer-icon.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-item-timer-icon.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.006875 * 100vw + 0px)}}.promo-activation__reward-item-timer-title.svelte-1wtyfh5.svelte-1wtyfh5{font-family:\"HeadingNowRegular\";color:#FFFFFF;font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-item-timer-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-item-timer-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-item-timer-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-item-timer-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-item-timer-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-item-timer-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-item-timer-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.006875 * 100vw + 0px)}}.promo-activation__reward-item-amount.svelte-1wtyfh5.svelte-1wtyfh5{z-index:2;position:absolute;font-family:\"HeadingNowRegular\";color:#FFFFFF;font-size:calc(0.00625 * 100vw + 0px);top:calc(0.0052083333 * 100vw + 0px);right:calc(0.0067708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-item-amount.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-item-amount.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-item-amount.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-item-amount.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-item-amount.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-item-amount.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-item-amount.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-item-amount.svelte-1wtyfh5.svelte-1wtyfh5{top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-item-amount.svelte-1wtyfh5.svelte-1wtyfh5{top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-item-amount.svelte-1wtyfh5.svelte-1wtyfh5{top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-item-amount.svelte-1wtyfh5.svelte-1wtyfh5{top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-item-amount.svelte-1wtyfh5.svelte-1wtyfh5{top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-item-amount.svelte-1wtyfh5.svelte-1wtyfh5{top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-item-amount.svelte-1wtyfh5.svelte-1wtyfh5{top:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-item-amount.svelte-1wtyfh5.svelte-1wtyfh5{right:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-item-amount.svelte-1wtyfh5.svelte-1wtyfh5{right:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-item-amount.svelte-1wtyfh5.svelte-1wtyfh5{right:calc(0.0052135417 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-item-amount.svelte-1wtyfh5.svelte-1wtyfh5{right:calc(0.0074479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-item-amount.svelte-1wtyfh5.svelte-1wtyfh5{right:calc(0.0047395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-item-amount.svelte-1wtyfh5.svelte-1wtyfh5{right:calc(0.00609375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-item-amount.svelte-1wtyfh5.svelte-1wtyfh5{right:calc(0.0074479167 * 100vw + 0px)}}.promo-activation__reward-item-image-success.svelte-1wtyfh5.svelte-1wtyfh5{z-index:2;position:absolute;display:flex;justify-content:center;align-items:center;background-color:rgba(0, 0, 0, 0.5);width:100%;height:100%}.promo-activation__reward-item-image-success-img.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-item-image-success-img.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-item-image-success-img.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-item-image-success-img.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-item-image-success-img.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-item-image-success-img.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-item-image-success-img.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-item-image-success-img.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0286458333 * 100vw + 0px)}}.promo-activation__reward-item-image-received.svelte-1wtyfh5.svelte-1wtyfh5{z-index:2;position:absolute;display:flex;align-items:center;justify-content:center;width:100%;height:100%}.promo-activation__reward-item-image-received-button.svelte-1wtyfh5.svelte-1wtyfh5{z-index:2;position:absolute;display:flex;align-items:center;justify-content:center;background:#FFFFFF;border:1px solid rgba(255, 255, 255, 0.05);cursor:pointer;transition:border 0.2s linear, color 0.2s linear;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.0651041667 * 100vw + 0px);height:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-item-image-received-button.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-item-image-received-button.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-item-image-received-button.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-item-image-received-button.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-item-image-received-button.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-item-image-received-button.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-item-image-received-button.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-item-image-received-button.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0651041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-item-image-received-button.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0651041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-item-image-received-button.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0501302083 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-item-image-received-button.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0716145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-item-image-received-button.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0455729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-item-image-received-button.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.05859375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-item-image-received-button.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0716145833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-item-image-received-button.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-item-image-received-button.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-item-image-received-button.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-item-image-received-button.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-item-image-received-button.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-item-image-received-button.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-item-image-received-button.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0275 * 100vw + 0px)}}.promo-activation__reward-item-image-received-button.svelte-1wtyfh5.svelte-1wtyfh5::after{content:\"\";position:absolute;z-index:1;background:linear-gradient(91.81deg, #FCD80F 1.53%, #FF9112 59.82%);transition:opacity 0.2s linear;border:1px solid transparent;opacity:1;width:100%;height:100%;border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-item-image-received-button.svelte-1wtyfh5.svelte-1wtyfh5::after{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-item-image-received-button.svelte-1wtyfh5.svelte-1wtyfh5::after{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-item-image-received-button.svelte-1wtyfh5.svelte-1wtyfh5::after{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-item-image-received-button.svelte-1wtyfh5.svelte-1wtyfh5::after{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-item-image-received-button.svelte-1wtyfh5.svelte-1wtyfh5::after{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-item-image-received-button.svelte-1wtyfh5.svelte-1wtyfh5::after{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-item-image-received-button.svelte-1wtyfh5.svelte-1wtyfh5::after{border-radius:calc(0.0057291667 * 100vw + 0px)}}.promo-activation__reward-item-image-received-button.svelte-1wtyfh5.svelte-1wtyfh5:hover{border:1px solid rgba(0, 0, 0, 0.05)}.promo-activation__reward-item-image-received-button.svelte-1wtyfh5:hover .promo-activation__reward-item-image-received-button-title.svelte-1wtyfh5{color:rgba(0, 0, 0, 0.9)}.promo-activation__reward-item-image-received-button.svelte-1wtyfh5.svelte-1wtyfh5:hover::after{opacity:0}.promo-activation__reward-item-image-received-button-title.svelte-1wtyfh5.svelte-1wtyfh5{z-index:2;font-family:\"HeadingNowBold\";color:#111111;font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-item-image-received-button-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-item-image-received-button-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-item-image-received-button-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-item-image-received-button-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-item-image-received-button-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-item-image-received-button-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-item-image-received-button-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.006875 * 100vw + 0px)}}.promo-activation__reward-item-title.svelte-1wtyfh5.svelte-1wtyfh5{font-family:\"HeadingNowRegular\";color:rgba(255, 255, 255, 0.85);position:absolute;text-align:center;transform:translateY(100%);font-size:calc(0.00625 * 100vw + 0px);width:calc(0.0364583333 * 100vw + 0px);bottom:calc(-0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-item-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-item-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-item-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-item-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-item-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-item-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-item-title.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-item-title.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-item-title.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-item-title.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-item-title.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-item-title.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-item-title.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-item-title.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0401041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__reward-item-title.svelte-1wtyfh5.svelte-1wtyfh5{bottom:calc(-0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__reward-item-title.svelte-1wtyfh5.svelte-1wtyfh5{bottom:calc(-0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__reward-item-title.svelte-1wtyfh5.svelte-1wtyfh5{bottom:calc(-0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__reward-item-title.svelte-1wtyfh5.svelte-1wtyfh5{bottom:calc(-0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__reward-item-title.svelte-1wtyfh5.svelte-1wtyfh5{bottom:calc(-0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__reward-item-title.svelte-1wtyfh5.svelte-1wtyfh5{bottom:calc(-0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__reward-item-title.svelte-1wtyfh5.svelte-1wtyfh5{bottom:calc(-0.00859375 * 100vw + 0px)}}.promo-activation__progress.svelte-1wtyfh5.svelte-1wtyfh5{position:relative;display:flex;margin-top:calc(0.0130208333 * 100vw + 0px);height:calc(0.04375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__progress.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__progress.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__progress.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__progress.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__progress.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__progress.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__progress.svelte-1wtyfh5.svelte-1wtyfh5{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__progress.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.04375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__progress.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.04375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__progress.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0336875 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__progress.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__progress.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.030625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__progress.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.039375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__progress.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.048125 * 100vw + 0px)}}.promo-activation__progress-item.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.1197916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__progress-item.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.1197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__progress-item.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.1197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__progress-item.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0922395833 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__progress-item.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.1317708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__progress-item.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0838541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__progress-item.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.1078125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__progress-item.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.1317708333 * 100vw + 0px)}}.promo-activation__progress-item.svelte-1wtyfh5.svelte-1wtyfh5:last-child{box-sizing:content-box;padding-right:calc(0.0520833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__progress-item.svelte-1wtyfh5.svelte-1wtyfh5:last-child{padding-right:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__progress-item.svelte-1wtyfh5.svelte-1wtyfh5:last-child{padding-right:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__progress-item.svelte-1wtyfh5.svelte-1wtyfh5:last-child{padding-right:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__progress-item.svelte-1wtyfh5.svelte-1wtyfh5:last-child{padding-right:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__progress-item.svelte-1wtyfh5.svelte-1wtyfh5:last-child{padding-right:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__progress-item.svelte-1wtyfh5.svelte-1wtyfh5:last-child{padding-right:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__progress-item.svelte-1wtyfh5.svelte-1wtyfh5:last-child{padding-right:calc(0.0572916667 * 100vw + 0px)}}.promo-activation__progress-item-fill.svelte-1wtyfh5.svelte-1wtyfh5{display:flex;align-items:center;justify-content:center;position:relative;width:100%;height:calc(0.0364583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__progress-item-fill.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__progress-item-fill.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__progress-item-fill.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__progress-item-fill.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__progress-item-fill.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__progress-item-fill.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__progress-item-fill.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0401041667 * 100vw + 0px)}}.promo-activation__progress-item-fill--filled.svelte-1wtyfh5 .promo-activation__progress-item-fill-line.svelte-1wtyfh5,.promo-activation__progress-item-fill--filled.svelte-1wtyfh5 .promo-activation__progress-item-fill-line-level.svelte-1wtyfh5{background-color:#FFBF00}.promo-activation__progress-item-fill--filled.svelte-1wtyfh5 .promo-activation__progress-item-fill-value.svelte-1wtyfh5{color:#16191D}.promo-activation__progress-item-fill-line.svelte-1wtyfh5.svelte-1wtyfh5{position:absolute;background-color:#343940;width:100%;height:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__progress-item-fill-line.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__progress-item-fill-line.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__progress-item-fill-line.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__progress-item-fill-line.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__progress-item-fill-line.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__progress-item-fill-line.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__progress-item-fill-line.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.006875 * 100vw + 0px)}}.promo-activation__progress-item-fill-line-level-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{display:flex;align-items:center;justify-content:center;position:absolute;right:0;z-index:1}.promo-activation__progress-item-fill-line-level.svelte-1wtyfh5.svelte-1wtyfh5{display:flex;align-items:center;justify-content:center;background-color:#343940;transform:rotate(45deg);border-radius:calc(0.0083333333 * 100vw + 0px);height:calc(0.03125 * 100vw + 0px);width:calc(0.03125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__progress-item-fill-line-level.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__progress-item-fill-line-level.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__progress-item-fill-line-level.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__progress-item-fill-line-level.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__progress-item-fill-line-level.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__progress-item-fill-line-level.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__progress-item-fill-line-level.svelte-1wtyfh5.svelte-1wtyfh5{border-radius:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__progress-item-fill-line-level.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__progress-item-fill-line-level.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__progress-item-fill-line-level.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__progress-item-fill-line-level.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__progress-item-fill-line-level.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__progress-item-fill-line-level.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__progress-item-fill-line-level.svelte-1wtyfh5.svelte-1wtyfh5{height:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__progress-item-fill-line-level.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__progress-item-fill-line-level.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__progress-item-fill-line-level.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__progress-item-fill-line-level.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__progress-item-fill-line-level.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__progress-item-fill-line-level.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__progress-item-fill-line-level.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.034375 * 100vw + 0px)}}.promo-activation__progress-item-fill-value.svelte-1wtyfh5.svelte-1wtyfh5{font-family:PFDinDisplayProRegular;font-weight:900;transform:rotate(-45deg);color:#FFFFFF;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__progress-item-fill-value.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__progress-item-fill-value.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__progress-item-fill-value.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__progress-item-fill-value.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__progress-item-fill-value.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__progress-item-fill-value.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__progress-item-fill-value.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.01375 * 100vw + 0px)}}.promo-activation__progress-item-fill-level-description-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{display:flex;align-items:center;justify-content:center;position:absolute;transform:translateY(100%);bottom:calc(-0.0260416667 * 100vw + 0px);width:calc(0.078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__progress-item-fill-level-description-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{bottom:calc(-0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__progress-item-fill-level-description-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{bottom:calc(-0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__progress-item-fill-level-description-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{bottom:calc(-0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__progress-item-fill-level-description-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{bottom:calc(-0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__progress-item-fill-level-description-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{bottom:calc(-0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__progress-item-fill-level-description-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{bottom:calc(-0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__progress-item-fill-level-description-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{bottom:calc(-0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__progress-item-fill-level-description-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__progress-item-fill-level-description-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__progress-item-fill-level-description-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__progress-item-fill-level-description-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__progress-item-fill-level-description-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__progress-item-fill-level-description-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__progress-item-fill-level-description-wrapper.svelte-1wtyfh5.svelte-1wtyfh5{width:calc(0.0859375 * 100vw + 0px)}}.promo-activation__progress-item-fill-level-description.svelte-1wtyfh5.svelte-1wtyfh5{position:absolute;width:100%;font-family:\"HeadingNowRegular\";color:#FFFFFF;text-align:center;font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-activation__progress-item-fill-level-description.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-activation__progress-item-fill-level-description.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-activation__progress-item-fill-level-description.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.promo-activation__progress-item-fill-level-description.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-activation__progress-item-fill-level-description.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-activation__progress-item-fill-level-description.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-activation__progress-item-fill-level-description.svelte-1wtyfh5.svelte-1wtyfh5{font-size:calc(0.0080208333 * 100vw + 0px)}}");
}

function activation_index_svelte_get_each_context_2(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[21] = list[i];
	return child_ctx;
}

function activation_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[18] = list[i];
	child_ctx[20] = i;
	return child_ctx;
}

function activation_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[21] = list[i];
	return child_ctx;
}

// (5739:4) {:else}
function activation_index_svelte_create_else_block_1(ctx) {
	let div2;
	let div0;
	let t0;
	let div1;
	let p0;
	let t2;
	let p1;
	let t3_value = /*$promos*/ ctx[3][/*selectedItemIndex*/ ctx[1]].title + "";
	let t3;
	let t4;
	let p2;
	let t6;
	let div4;
	let div3;
	let mounted;
	let dispose;
	let each_value_2 = /*$promos*/ ctx[3][/*selectedItemIndex*/ ctx[1]].rewards;
	let each_blocks = [];

	for (let i = 0; i < each_value_2.length; i += 1) {
		each_blocks[i] = activation_index_svelte_create_each_block_2(activation_index_svelte_get_each_context_2(ctx, each_value_2, i));
	}

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			div0.innerHTML = `<i class="promo-activation__back-icon icon-family-left-arrow svelte-1wtyfh5"></i>`;
			t0 = space();
			div1 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Промокод";
			t2 = space();
			p1 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = space();
			p2 = internal_element("p");
			p2.textContent = "Награды и условия";
			t6 = space();
			div4 = internal_element("div");
			div3 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div0, "class", "promo-activation__back svelte-1wtyfh5");
			attr(p0, "class", "promo-activation__info-promo-title svelte-1wtyfh5");
			attr(p1, "class", "promo-activation__info-promo svelte-1wtyfh5");
			attr(div1, "class", "promo-activation__info-promo-wrapper");
			attr(div2, "class", "promo-activation__back-wrapper svelte-1wtyfh5");
			attr(p2, "class", "promo-activation__reward-list-title svelte-1wtyfh5");
			attr(div3, "class", "promo-activation__progress svelte-1wtyfh5");
			attr(div4, "class", "promo-activation__reward-list-wrapper svelte-1wtyfh5");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div2, t0);
			append(div2, div1);
			append(div1, p0);
			append(div1, t2);
			append(div1, p1);
			append(p1, t3);
			insert(target, t4, anchor);
			insert(target, p2, anchor);
			insert(target, t6, anchor);
			insert(target, div4, anchor);
			append(div4, div3);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div3, null);
			}

			/*div4_binding*/ ctx[14](div4);

			if (!mounted) {
				dispose = [
					listen(div0, "click", /*back*/ ctx[6]),
					listen(div4, "wheel", /*handleWheel*/ ctx[4])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*$promos, selectedItemIndex*/ 10 && t3_value !== (t3_value = /*$promos*/ ctx[3][/*selectedItemIndex*/ ctx[1]].title + "")) set_data(t3, t3_value);

			if (dirty & /*$promos, selectedItemIndex, Success, takeReward, formatSecondsToHoursMinutesAndSeconds, CDN_ITEMS_URL*/ 266) {
				each_value_2 = /*$promos*/ ctx[3][/*selectedItemIndex*/ ctx[1]].rewards;
				let i;

				for (i = 0; i < each_value_2.length; i += 1) {
					const child_ctx = activation_index_svelte_get_each_context_2(ctx, each_value_2, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = activation_index_svelte_create_each_block_2(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div3, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_2.length;
			}
		},
		d(detaching) {
			if (detaching) detach(div2);
			if (detaching) detach(t4);
			if (detaching) detach(p2);
			if (detaching) detach(t6);
			if (detaching) detach(div4);
			destroy_each(each_blocks, detaching);
			/*div4_binding*/ ctx[14](null);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (5610:4) {#if isNil(selectedItemIndex)}
function activation_index_svelte_create_if_block(ctx) {
	let div2;
	let p0;
	let t2;
	let div0;
	let input;
	let t3;
	let i;
	let t4;
	let p1;
	let t6;
	let div1;
	let t7;
	let div9;
	let img;
	let img_src_value;
	let t8;
	let p2;
	let t12;
	let div7;
	let t20;
	let div8;
	let mounted;
	let dispose;
	let each_value = /*$promos*/ ctx[3];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = activation_index_svelte_create_each_block(activation_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div2 = internal_element("div");
			p0 = internal_element("p");

			p0.innerHTML = `Есть промокод?
                <span class="promo-activation__window-left-title--colored svelte-1wtyfh5">Активируй его!</span>`;

			t2 = space();
			div0 = internal_element("div");
			input = internal_element("input");
			t3 = space();
			i = internal_element("i");
			t4 = space();
			p1 = internal_element("p");
			p1.textContent = "Активированные промокоды";
			t6 = space();
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t7 = space();
			div9 = internal_element("div");
			img = internal_element("img");
			t8 = space();
			p2 = internal_element("p");

			p2.innerHTML = `зови друзей
                <br/> 
                <span class="promo-activation__window-right-title--colored svelte-1wtyfh5">и получай награды</span>`;

			t12 = space();
			div7 = internal_element("div");

			div7.innerHTML = `<div class="promo-activation__window-right-reward-item svelte-1wtyfh5"><p class="promo-activation__window-right-reward-item-title svelte-1wtyfh5">Транспорт</p></div> 
                <div class="promo-activation__window-right-reward-item svelte-1wtyfh5"><p class="promo-activation__window-right-reward-item-title svelte-1wtyfh5">ADD VIP на 30 дней</p></div> 
                <div class="promo-activation__window-right-reward-item svelte-1wtyfh5"><p class="promo-activation__window-right-reward-item-title svelte-1wtyfh5">Уникальные скины</p></div> 
                <div class="promo-activation__window-right-reward-item svelte-1wtyfh5"><p class="promo-activation__window-right-reward-item-title svelte-1wtyfh5">% AZ-Coins от друзей</p></div>`;

			t20 = space();
			div8 = internal_element("div");
			div8.innerHTML = `<p class="promo-activation__window-right-button-title svelte-1wtyfh5">подробнее</p>`;
			attr(p0, "class", "promo-activation__window-left-title svelte-1wtyfh5");
			attr(input, "class", "promo-activation__window-left-input svelte-1wtyfh5");
			attr(input, "type", "text");
			attr(input, "placeholder", "Введите промокод");
			attr(i, "class", "promo-activation__window-left-input-icon icon-send svelte-1wtyfh5");
			toggle_class(i, "promo-activation__window-left-input-icon--disabled", !/*promoValue*/ ctx[0].length);
			attr(div0, "class", "promo-activation__window-left-input-wrapper svelte-1wtyfh5");
			attr(p1, "class", "promo-activation__window-left-title-list svelte-1wtyfh5");
			attr(div1, "class", "promo-activation__window-left-list svelte-1wtyfh5");
			attr(div2, "class", "promo-activation__window-left svelte-1wtyfh5");
			attr(img, "class", "promo-activation__window-right-background svelte-1wtyfh5");
			if (!src_url_equal(img.src, img_src_value = banner_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "background");
			attr(p2, "class", "promo-activation__window-right-title svelte-1wtyfh5");
			attr(div7, "class", "promo-activation__window-right-reward-list svelte-1wtyfh5");
			attr(div8, "class", "promo-activation__window-right-button svelte-1wtyfh5");
			attr(div9, "class", "promo-activation__window-right svelte-1wtyfh5");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, p0);
			append(div2, t2);
			append(div2, div0);
			append(div0, input);
			set_input_value(input, /*promoValue*/ ctx[0]);
			append(div0, t3);
			append(div0, i);
			append(div2, t4);
			append(div2, p1);
			append(div2, t6);
			append(div2, div1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}

			insert(target, t7, anchor);
			insert(target, div9, anchor);
			append(div9, img);
			append(div9, t8);
			append(div9, p2);
			append(div9, t12);
			append(div9, div7);
			append(div9, t20);
			append(div9, div8);

			if (!mounted) {
				dispose = [
					listen(input, "input", /*input_input_handler*/ ctx[11]),
					listen(input, "keydown", /*activatePromoEnter*/ ctx[10]),
					listen(i, "click", /*activatePromo*/ ctx[9]),
					listen(div8, "click", /*moreDetails*/ ctx[7])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*promoValue*/ 1 && input.value !== /*promoValue*/ ctx[0]) {
				set_input_value(input, /*promoValue*/ ctx[0]);
			}

			if (dirty & /*promoValue*/ 1) {
				toggle_class(i, "promo-activation__window-left-input-icon--disabled", !/*promoValue*/ ctx[0].length);
			}

			if (dirty & /*$promos, selectItem, CDN_ITEMS_URL*/ 40) {
				each_value = /*$promos*/ ctx[3];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = activation_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = activation_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div1, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		d(detaching) {
			if (detaching) detach(div2);
			destroy_each(each_blocks, detaching);
			if (detaching) detach(t7);
			if (detaching) detach(div9);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (5793:40) {#if reward.timer >= 0}
function activation_index_svelte_create_if_block_7(ctx) {
	let t0;
	let div;
	let i;
	let t1;
	let p;
	let t2_value = formatSecondsToHoursMinutesAndSeconds(/*reward*/ ctx[21].timer) + "";
	let t2;
	let if_block = /*reward*/ ctx[21].timer === 0 && activation_index_svelte_create_if_block_8(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			t0 = space();
			div = internal_element("div");
			i = internal_element("i");
			t1 = space();
			p = internal_element("p");
			t2 = internal_text(t2_value);
			attr(i, "class", "promo-activation__reward-item-timer-icon icon-train-clock svelte-1wtyfh5");
			attr(p, "class", "promo-activation__reward-item-timer-title svelte-1wtyfh5");
			attr(div, "class", "promo-activation__reward-item-timer svelte-1wtyfh5");
			toggle_class(div, "promo-activation__reward-item-timer--timeOut", /*reward*/ ctx[21].timer === 0);
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, t0, anchor);
			insert(target, div, anchor);
			append(div, i);
			append(div, t1);
			append(div, p);
			append(p, t2);
		},
		p(ctx, dirty) {
			if (/*reward*/ ctx[21].timer === 0) {
				if (if_block) {
					
				} else {
					if_block = activation_index_svelte_create_if_block_8(ctx);
					if_block.c();
					if_block.m(t0.parentNode, t0);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (dirty & /*$promos, selectedItemIndex*/ 10 && t2_value !== (t2_value = formatSecondsToHoursMinutesAndSeconds(/*reward*/ ctx[21].timer) + "")) set_data(t2, t2_value);

			if (dirty & /*$promos, selectedItemIndex*/ 10) {
				toggle_class(div, "promo-activation__reward-item-timer--timeOut", /*reward*/ ctx[21].timer === 0);
			}
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(t0);
			if (detaching) detach(div);
		}
	};
}

// (5794:44) {#if reward.timer === 0}
function activation_index_svelte_create_if_block_8(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			attr(div, "class", "promo-activation__reward-item-timer-status svelte-1wtyfh5");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (5807:40) {#if reward.currentProgress}
function activation_index_svelte_create_if_block_5(ctx) {
	let t0;
	let p;

	let t1_value = (/*reward*/ ctx[21].currentProgress === /*reward*/ ctx[21].maxProgress
	? 0
	: `${/*reward*/ ctx[21].currentProgress} / ${/*reward*/ ctx[21].maxProgress}`) + "";

	let t1;
	let if_block = /*reward*/ ctx[21].currentProgress === /*reward*/ ctx[21].maxProgress && activation_index_svelte_create_if_block_6(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			attr(p, "class", "promo-activation__reward-item-amount svelte-1wtyfh5");
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, t0, anchor);
			insert(target, p, anchor);
			append(p, t1);
		},
		p(ctx, dirty) {
			if (/*reward*/ ctx[21].currentProgress === /*reward*/ ctx[21].maxProgress) {
				if (if_block) {
					
				} else {
					if_block = activation_index_svelte_create_if_block_6(ctx);
					if_block.c();
					if_block.m(t0.parentNode, t0);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (dirty & /*$promos, selectedItemIndex*/ 10 && t1_value !== (t1_value = (/*reward*/ ctx[21].currentProgress === /*reward*/ ctx[21].maxProgress
			? 0
			: `${/*reward*/ ctx[21].currentProgress} / ${/*reward*/ ctx[21].maxProgress}`) + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(t0);
			if (detaching) detach(p);
		}
	};
}

// (5808:44) {#if reward.currentProgress === reward.maxProgress}
function activation_index_svelte_create_if_block_6(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			attr(div, "class", "promo-activation__reward-item-timer-status svelte-1wtyfh5");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (5823:67) 
function activation_index_svelte_create_if_block_4(ctx) {
	let div1;
	let div0;
	let mounted;
	let dispose;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			div0.innerHTML = `<p class="promo-activation__reward-item-image-received-button-title svelte-1wtyfh5">Получить</p>`;
			attr(div0, "class", "promo-activation__reward-item-image-received-button svelte-1wtyfh5");
			attr(div1, "class", "promo-activation__reward-item-image-received svelte-1wtyfh5");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);

			if (!mounted) {
				dispose = listen(div0, "click", function () {
					if (internal_is_function(/*takeReward*/ ctx[8](/*reward*/ ctx[21].id))) /*takeReward*/ ctx[8](/*reward*/ ctx[21].id).apply(this, arguments);
				});

				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
		},
		d(detaching) {
			if (detaching) detach(div1);
			mounted = false;
			dispose();
		}
	};
}

// (5815:40) {#if reward.received}
function activation_index_svelte_create_if_block_3(ctx) {
	let div;
	let img;
	let img_src_value;

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			attr(img, "class", "promo-activation__reward-item-image-success-img svelte-1wtyfh5");
			if (!src_url_equal(img.src, img_src_value = promo_img_success_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "success");
			attr(div, "class", "promo-activation__reward-item-image-success svelte-1wtyfh5");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (5765:16) {#each $promos[selectedItemIndex].rewards as reward}
function activation_index_svelte_create_each_block_2(ctx) {
	let div7;
	let div6;
	let div0;
	let t0;
	let div5;
	let div1;
	let p0;
	let t1_value = /*reward*/ ctx[21].id + 1 + "";
	let t1;
	let t2;
	let div2;
	let p1;
	let t3_value = /*reward*/ ctx[21].requirement + "";
	let t3;
	let t4;
	let div4;
	let div3;
	let img;
	let img_src_value;
	let t5;
	let t6;
	let t7;
	let div3_style_value;
	let t8;
	let p2;
	let t9_value = /*reward*/ ctx[21].title + "";
	let t9;
	let t10;
	let if_block0 = /*reward*/ ctx[21].timer >= 0 && activation_index_svelte_create_if_block_7(ctx);
	let if_block1 = /*reward*/ ctx[21].currentProgress && activation_index_svelte_create_if_block_5(ctx);

	function select_block_type_2(ctx, dirty) {
		if (/*reward*/ ctx[21].received) return activation_index_svelte_create_if_block_3;
		if (/*reward*/ ctx[21].available) return activation_index_svelte_create_if_block_4;
	}

	let current_block_type = select_block_type_2(ctx, -1);
	let if_block2 = current_block_type && current_block_type(ctx);

	return {
		c() {
			div7 = internal_element("div");
			div6 = internal_element("div");
			div0 = internal_element("div");
			t0 = space();
			div5 = internal_element("div");
			div1 = internal_element("div");
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			div2 = internal_element("div");
			p1 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = space();
			div4 = internal_element("div");
			div3 = internal_element("div");
			img = internal_element("img");
			t5 = space();
			if (if_block0) if_block0.c();
			t6 = space();
			if (if_block1) if_block1.c();
			t7 = space();
			if (if_block2) if_block2.c();
			t8 = space();
			p2 = internal_element("p");
			t9 = internal_text(t9_value);
			t10 = space();
			attr(div0, "class", "promo-activation__progress-item-fill-line svelte-1wtyfh5");
			attr(p0, "class", "promo-activation__progress-item-fill-value svelte-1wtyfh5");
			attr(div1, "class", "promo-activation__progress-item-fill-line-level svelte-1wtyfh5");
			attr(p1, "class", "promo-activation__progress-item-fill-level-description svelte-1wtyfh5");
			attr(div2, "class", "promo-activation__progress-item-fill-level-description-wrapper svelte-1wtyfh5");
			attr(img, "class", "promo-activation__reward-item-image svelte-1wtyfh5");
			if (!src_url_equal(img.src, img_src_value = `${CDN_ITEMS_URL}/${/*reward*/ ctx[21].image}`)) attr(img, "src", img_src_value);
			attr(img, "alt", "reward");
			attr(div3, "class", "promo-activation__reward-item-image-wrapper svelte-1wtyfh5");
			attr(div3, "style", div3_style_value = `--shadowColor: ${/*reward*/ ctx[21].color};`);
			attr(p2, "class", "promo-activation__reward-item-title svelte-1wtyfh5");
			attr(div4, "class", "promo-activation__reward-item svelte-1wtyfh5");
			attr(div5, "class", "promo-activation__progress-item-fill-line-level-wrapper svelte-1wtyfh5");
			attr(div6, "class", "promo-activation__progress-item-fill svelte-1wtyfh5");
			toggle_class(div6, "promo-activation__progress-item-fill--filled", /*reward*/ ctx[21].available || /*reward*/ ctx[21].received || /*reward*/ ctx[21].skipped);
			attr(div7, "class", "promo-activation__progress-item svelte-1wtyfh5");
		},
		m(target, anchor) {
			insert(target, div7, anchor);
			append(div7, div6);
			append(div6, div0);
			append(div6, t0);
			append(div6, div5);
			append(div5, div1);
			append(div1, p0);
			append(p0, t1);
			append(div5, t2);
			append(div5, div2);
			append(div2, p1);
			append(p1, t3);
			append(div5, t4);
			append(div5, div4);
			append(div4, div3);
			append(div3, img);
			append(div3, t5);
			if (if_block0) if_block0.m(div3, null);
			append(div3, t6);
			if (if_block1) if_block1.m(div3, null);
			append(div3, t7);
			if (if_block2) if_block2.m(div3, null);
			append(div4, t8);
			append(div4, p2);
			append(p2, t9);
			append(div7, t10);
		},
		p(ctx, dirty) {
			if (dirty & /*$promos, selectedItemIndex*/ 10 && t1_value !== (t1_value = /*reward*/ ctx[21].id + 1 + "")) set_data(t1, t1_value);
			if (dirty & /*$promos, selectedItemIndex*/ 10 && t3_value !== (t3_value = /*reward*/ ctx[21].requirement + "")) set_data(t3, t3_value);

			if (dirty & /*$promos, selectedItemIndex*/ 10 && !src_url_equal(img.src, img_src_value = `${CDN_ITEMS_URL}/${/*reward*/ ctx[21].image}`)) {
				attr(img, "src", img_src_value);
			}

			if (/*reward*/ ctx[21].timer >= 0) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = activation_index_svelte_create_if_block_7(ctx);
					if_block0.c();
					if_block0.m(div3, t6);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (/*reward*/ ctx[21].currentProgress) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = activation_index_svelte_create_if_block_5(ctx);
					if_block1.c();
					if_block1.m(div3, t7);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (current_block_type === (current_block_type = select_block_type_2(ctx, dirty)) && if_block2) {
				if_block2.p(ctx, dirty);
			} else {
				if (if_block2) if_block2.d(1);
				if_block2 = current_block_type && current_block_type(ctx);

				if (if_block2) {
					if_block2.c();
					if_block2.m(div3, null);
				}
			}

			if (dirty & /*$promos, selectedItemIndex*/ 10 && div3_style_value !== (div3_style_value = `--shadowColor: ${/*reward*/ ctx[21].color};`)) {
				attr(div3, "style", div3_style_value);
			}

			if (dirty & /*$promos, selectedItemIndex*/ 10 && t9_value !== (t9_value = /*reward*/ ctx[21].title + "")) set_data(t9, t9_value);

			if (dirty & /*$promos, selectedItemIndex*/ 10) {
				toggle_class(div6, "promo-activation__progress-item-fill--filled", /*reward*/ ctx[21].available || /*reward*/ ctx[21].received || /*reward*/ ctx[21].skipped);
			}
		},
		d(detaching) {
			if (detaching) detach(div7);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();

			if (if_block2) {
				if_block2.d();
			}
		}
	};
}

// (5641:28) {#each promo.rewards as reward}
function activation_index_svelte_create_each_block_1(ctx) {
	let div1;
	let div0;
	let img;
	let img_src_value;
	let div0_style_value;
	let t0;
	let p;
	let t1_value = /*reward*/ ctx[21].title + "";
	let t1;
	let t2;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(img, "class", "promo-activation__window-left-item-reward-img svelte-1wtyfh5");
			if (!src_url_equal(img.src, img_src_value = `${CDN_ITEMS_URL}/${/*reward*/ ctx[21].image}`)) attr(img, "src", img_src_value);
			attr(img, "alt", "reward-icon");
			attr(div0, "class", "promo-activation__window-left-item-reward-img-wrapper svelte-1wtyfh5");
			attr(div0, "style", div0_style_value = `--shadowColor: ${/*reward*/ ctx[21].color};`);
			attr(p, "class", "promo-activation__window-left-item-reward-title svelte-1wtyfh5");
			attr(div1, "class", "promo-activation__window-left-item-reward svelte-1wtyfh5");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, img);
			append(div1, t0);
			append(div1, p);
			append(p, t1);
			append(div1, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*$promos*/ 8 && !src_url_equal(img.src, img_src_value = `${CDN_ITEMS_URL}/${/*reward*/ ctx[21].image}`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*$promos*/ 8 && div0_style_value !== (div0_style_value = `--shadowColor: ${/*reward*/ ctx[21].color};`)) {
				attr(div0, "style", div0_style_value);
			}

			if (dirty & /*$promos*/ 8 && t1_value !== (t1_value = /*reward*/ ctx[21].title + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (5680:28) {:else}
function activation_index_svelte_create_else_block(ctx) {
	let div;
	let mounted;
	let dispose;

	function click_handler_1() {
		return /*click_handler_1*/ ctx[13](/*index*/ ctx[20]);
	}

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="promo-activation__window-left-item-promo-button-title svelte-1wtyfh5">Посмотреть</p>`;
			attr(div, "class", "promo-activation__window-left-item-promo-button promo-activation__window-left-item-promo-button--notAvailable svelte-1wtyfh5");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = listen(div, "click", click_handler_1);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (5673:90) 
function activation_index_svelte_create_if_block_2(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");

			div.innerHTML = `<i class="promo-activation__window-left-item-promo-button-icon icon-promo-check svelte-1wtyfh5"></i> 
                                    <p class="promo-activation__window-left-item-promo-button-title svelte-1wtyfh5">Получен</p>`;

			attr(div, "class", "promo-activation__window-left-item-promo-button promo-activation__window-left-item-promo-button--received svelte-1wtyfh5");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (5663:28) {#if promo.rewards.some(r => r.available && !r.received)}
function activation_index_svelte_create_if_block_1(ctx) {
	let div;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[12](/*index*/ ctx[20]);
	}

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="promo-activation__window-left-item-promo-button-title svelte-1wtyfh5">Получить</p>`;
			attr(div, "class", "promo-activation__window-left-item-promo-button svelte-1wtyfh5");
			toggle_class(div, "promo-activation__window-left-item-promo-button--available", /*promo*/ ctx[18].rewards.some(func_2));
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = listen(div, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*$promos*/ 8) {
				toggle_class(div, "promo-activation__window-left-item-promo-button--available", /*promo*/ ctx[18].rewards.some(func_2));
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (5636:16) {#each $promos as promo, index}
function activation_index_svelte_create_each_block(ctx) {
	let div2;
	let div0;
	let t0;
	let div1;
	let p;
	let t1_value = /*promo*/ ctx[18].title + "";
	let t1;
	let t2;
	let show_if;
	let show_if_1;
	let t3;
	let each_value_1 = /*promo*/ ctx[18].rewards;
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = activation_index_svelte_create_each_block_1(activation_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	function select_block_type_1(ctx, dirty) {
		if (dirty & /*$promos*/ 8) show_if = null;
		if (dirty & /*$promos*/ 8) show_if_1 = null;
		if (show_if == null) show_if = !!/*promo*/ ctx[18].rewards.some(func);
		if (show_if) return activation_index_svelte_create_if_block_1;
		if (show_if_1 == null) show_if_1 = !!/*promo*/ ctx[18].rewards.every(func_1);
		if (show_if_1) return activation_index_svelte_create_if_block_2;
		return activation_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type_1(ctx, -1);
	let if_block = current_block_type(ctx);

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t0 = space();
			div1 = internal_element("div");
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			if_block.c();
			t3 = space();
			attr(div0, "class", "promo-activation__window-left-item-reward-list svelte-1wtyfh5");
			attr(p, "class", "promo-activation__window-left-item-promo-title svelte-1wtyfh5");
			attr(div1, "class", "promo-activation__window-left-item-promo svelte-1wtyfh5");
			attr(div2, "class", "promo-activation__window-left-item svelte-1wtyfh5");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			append(div2, t0);
			append(div2, div1);
			append(div1, p);
			append(p, t1);
			append(div1, t2);
			if_block.m(div1, null);
			append(div2, t3);
		},
		p(ctx, dirty) {
			if (dirty & /*$promos, CDN_ITEMS_URL*/ 8) {
				each_value_1 = /*promo*/ ctx[18].rewards;
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = activation_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = activation_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div0, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}

			if (dirty & /*$promos*/ 8 && t1_value !== (t1_value = /*promo*/ ctx[18].title + "")) set_data(t1, t1_value);

			if (current_block_type === (current_block_type = select_block_type_1(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div1, null);
				}
			}
		},
		d(detaching) {
			if (detaching) detach(div2);
			destroy_each(each_blocks, detaching);
			if_block.d();
		}
	};
}

function activation_index_svelte_create_fragment(ctx) {
	let div;
	let show_if;

	function select_block_type(ctx, dirty) {
		if (dirty & /*selectedItemIndex*/ 2) show_if = null;
		if (show_if == null) show_if = !!(0,lodash.isNil)(/*selectedItemIndex*/ ctx[1]);
		if (show_if) return activation_index_svelte_create_if_block;
		return activation_index_svelte_create_else_block_1;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block = current_block_type(ctx);

	return {
		c() {
			div = internal_element("div");
			if_block.c();
			attr(div, "class", "promo-activation");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if_block.m(div, null);
		},
		p(ctx, [dirty]) {
			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div, null);
				}
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			if_block.d();
		}
	};
}

const func = r => r.available && !r.received;
const func_1 = r => r.available && r.received;
const func_2 = r => r.available && !r.received;

function activation_index_svelte_instance($$self, $$props, $$invalidate) {
	let $promos;
	component_subscribe($$self, promos, $$value => $$invalidate(3, $promos = $$value));
	let promoValue = '';
	let selectedItemIndex;
	let containerRef;

	const initializePromos = promosDto => {
		set_store_value(promos, $promos = promosDto, $promos);
	};

	const handleWheel = event => {
		$$invalidate(2, containerRef.scrollLeft += event.deltaY, containerRef);
	};

	const selectItem = index => {
		$$invalidate(1, selectedItemIndex = index);
	};

	const back = () => {
		$$invalidate(1, selectedItemIndex = null);
	};

	const moreDetails = () => {
		sendClientMessage('promo.activation.details');
	};

	const takeReward = id => {
		sendClientMessage('promo.activation.takeReward', selectedItemIndex, id);
	};

	const activatePromo = () => {
		sendClientMessage('promo.activation.activatePromo', promoValue);
	};

	const activatePromoEnter = event => {
		if (event.keyCode === 13) {
			activatePromo();
		}
	};

	const unregisterInitializeEvent = registerEvent('event.promo.activation.initializePromos', initializePromos);
	const unregisterSelectItemEvent = registerEvent('event.promo.activation.selectItem', selectItem);

	onMount(() => {
		sendClientMessage('promo.activation.opened');
	});

	onDestroy(() => {
		unregisterInitializeEvent();
		unregisterSelectItemEvent();
	});

	function input_input_handler() {
		promoValue = this.value;
		$$invalidate(0, promoValue);
	}

	const click_handler = index => selectItem(index);
	const click_handler_1 = index => selectItem(index);

	function div4_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			containerRef = $$value;
			$$invalidate(2, containerRef);
		});
	}

	return [
		promoValue,
		selectedItemIndex,
		containerRef,
		$promos,
		handleWheel,
		selectItem,
		back,
		moreDetails,
		takeReward,
		activatePromo,
		activatePromoEnter,
		input_input_handler,
		click_handler,
		click_handler_1,
		div4_binding
	];
}

class Activation extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, activation_index_svelte_instance, activation_index_svelte_create_fragment, safe_not_equal, {}, activation_index_svelte_add_css);
	}
}

/* harmony default export */ const activation_index_svelte = (Activation);
;// CONCATENATED MODULE: ./src/views/promo/components/control/img/background-lvl.png
const background_lvl_namespaceObject = __webpack_require__.p + "assets/0ea97fc4711c6c7214ea.webp";
;// CONCATENATED MODULE: ./src/views/promo/components/control/img/background-rating.png
const background_rating_namespaceObject = __webpack_require__.p + "assets/6469eec4691435099e84.webp";
;// CONCATENATED MODULE: ./src/views/promo/components/control/img/coin-img.png
const coin_img_namespaceObject = __webpack_require__.p + "assets/f7d18758904e615db786.webp";
;// CONCATENATED MODULE: ./src/views/promo/components/control/index.svelte
/* src\views\promo\components\control\index.svelte generated by Svelte v3.49.0 */












function control_index_svelte_add_css(target) {
	append_styles(target, "svelte-1gj6989", "@keyframes svelte-1gj6989-blinking{50%{opacity:0}}@keyframes svelte-1gj6989-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1gj6989-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1gj6989-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1gj6989-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1gj6989-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1gj6989-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1gj6989-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1gj6989-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1gj6989-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1gj6989-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1gj6989-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1gj6989-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1gj6989-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1gj6989-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.promo-control__coin.svelte-1gj6989.svelte-1gj6989{position:absolute;display:flex;gap:calc(0.0083333333 * 100vw + 0px);top:calc(0.0234375 * 100vw + 0px);right:calc(0.0473958333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__coin.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__coin.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__coin.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__coin.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__coin.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__coin.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__coin.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-control__coin.svelte-1gj6989.svelte-1gj6989{top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__coin.svelte-1gj6989.svelte-1gj6989{top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__coin.svelte-1gj6989.svelte-1gj6989{top:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__coin.svelte-1gj6989.svelte-1gj6989{top:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__coin.svelte-1gj6989.svelte-1gj6989{top:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__coin.svelte-1gj6989.svelte-1gj6989{top:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__coin.svelte-1gj6989.svelte-1gj6989{top:calc(0.02578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-control__coin.svelte-1gj6989.svelte-1gj6989{right:calc(0.0473958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__coin.svelte-1gj6989.svelte-1gj6989{right:calc(0.0473958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__coin.svelte-1gj6989.svelte-1gj6989{right:calc(0.0364947917 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__coin.svelte-1gj6989.svelte-1gj6989{right:calc(0.0521354167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__coin.svelte-1gj6989.svelte-1gj6989{right:calc(0.0331770833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__coin.svelte-1gj6989.svelte-1gj6989{right:calc(0.04265625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__coin.svelte-1gj6989.svelte-1gj6989{right:calc(0.0521354167 * 100vw + 0px)}}.promo-control__coin-icon.svelte-1gj6989.svelte-1gj6989{display:flex;align-items:center;gap:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__coin-icon.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__coin-icon.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__coin-icon.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__coin-icon.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__coin-icon.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__coin-icon.svelte-1gj6989.svelte-1gj6989{gap:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__coin-icon.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0028645833 * 100vw + 0px)}}.promo-control__coin-icon-image.svelte-1gj6989.svelte-1gj6989{height:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__coin-icon-image.svelte-1gj6989.svelte-1gj6989{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__coin-icon-image.svelte-1gj6989.svelte-1gj6989{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__coin-icon-image.svelte-1gj6989.svelte-1gj6989{height:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__coin-icon-image.svelte-1gj6989.svelte-1gj6989{height:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__coin-icon-image.svelte-1gj6989.svelte-1gj6989{height:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__coin-icon-image.svelte-1gj6989.svelte-1gj6989{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__coin-icon-image.svelte-1gj6989.svelte-1gj6989{height:calc(0.0171875 * 100vw + 0px)}}.promo-control__coin-icon-value.svelte-1gj6989.svelte-1gj6989{font-family:\"HeadingNowBold\";color:rgba(255, 255, 255, 0.9);font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__coin-icon-value.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__coin-icon-value.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__coin-icon-value.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__coin-icon-value.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__coin-icon-value.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__coin-icon-value.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__coin-icon-value.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.006875 * 100vw + 0px)}}.promo-control__coin-button.svelte-1gj6989.svelte-1gj6989{display:flex;align-items:center;justify-content:center;background:linear-gradient(91.81deg, #FCD80F 1.53%, #FF9112 59.82%);border:1px solid rgba(255, 255, 255, 0.05);cursor:pointer;transition:background 0.2s linear, border 0.2s linear, color 0.2s linear;gap:calc(0.00625 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.0520833333 * 100vw + 0px);height:calc(0.021875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__coin-button.svelte-1gj6989.svelte-1gj6989{gap:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__coin-button.svelte-1gj6989.svelte-1gj6989{gap:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__coin-button.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__coin-button.svelte-1gj6989.svelte-1gj6989{gap:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__coin-button.svelte-1gj6989.svelte-1gj6989{gap:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__coin-button.svelte-1gj6989.svelte-1gj6989{gap:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__coin-button.svelte-1gj6989.svelte-1gj6989{gap:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-control__coin-button.svelte-1gj6989.svelte-1gj6989{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__coin-button.svelte-1gj6989.svelte-1gj6989{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__coin-button.svelte-1gj6989.svelte-1gj6989{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__coin-button.svelte-1gj6989.svelte-1gj6989{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__coin-button.svelte-1gj6989.svelte-1gj6989{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__coin-button.svelte-1gj6989.svelte-1gj6989{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__coin-button.svelte-1gj6989.svelte-1gj6989{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-control__coin-button.svelte-1gj6989.svelte-1gj6989{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__coin-button.svelte-1gj6989.svelte-1gj6989{width:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__coin-button.svelte-1gj6989.svelte-1gj6989{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__coin-button.svelte-1gj6989.svelte-1gj6989{width:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__coin-button.svelte-1gj6989.svelte-1gj6989{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__coin-button.svelte-1gj6989.svelte-1gj6989{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__coin-button.svelte-1gj6989.svelte-1gj6989{width:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-control__coin-button.svelte-1gj6989.svelte-1gj6989{height:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__coin-button.svelte-1gj6989.svelte-1gj6989{height:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__coin-button.svelte-1gj6989.svelte-1gj6989{height:calc(0.01684375 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__coin-button.svelte-1gj6989.svelte-1gj6989{height:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__coin-button.svelte-1gj6989.svelte-1gj6989{height:calc(0.0153125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__coin-button.svelte-1gj6989.svelte-1gj6989{height:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__coin-button.svelte-1gj6989.svelte-1gj6989{height:calc(0.0240625 * 100vw + 0px)}}.promo-control__coin-button.svelte-1gj6989.svelte-1gj6989:hover{background:#FFFFFF;border:1px solid rgba(0, 0, 0, 0.05)}.promo-control__coin-button.svelte-1gj6989:hover .promo-control__coin-button-title.svelte-1gj6989{color:rgba(0, 0, 0, 0.9)}.promo-control__coin-button-title.svelte-1gj6989.svelte-1gj6989{font-family:\"HeadingNowBold\";text-transform:uppercase;color:rgba(0, 0, 0, 0.9);font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__coin-button-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__coin-button-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__coin-button-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__coin-button-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__coin-button-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__coin-button-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__coin-button-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.006875 * 100vw + 0px)}}.promo-control__info.svelte-1gj6989.svelte-1gj6989{display:flex;align-items:center;gap:calc(0.0364583333 * 100vw + 0px);margin-top:calc(0.0260416667 * 100vw + 0px);margin-left:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__info.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__info.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__info.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__info.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__info.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__info.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__info.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0401041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-control__info.svelte-1gj6989.svelte-1gj6989{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__info.svelte-1gj6989.svelte-1gj6989{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__info.svelte-1gj6989.svelte-1gj6989{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__info.svelte-1gj6989.svelte-1gj6989{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__info.svelte-1gj6989.svelte-1gj6989{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__info.svelte-1gj6989.svelte-1gj6989{margin-top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__info.svelte-1gj6989.svelte-1gj6989{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-control__info.svelte-1gj6989.svelte-1gj6989{margin-left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__info.svelte-1gj6989.svelte-1gj6989{margin-left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__info.svelte-1gj6989.svelte-1gj6989{margin-left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__info.svelte-1gj6989.svelte-1gj6989{margin-left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__info.svelte-1gj6989.svelte-1gj6989{margin-left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__info.svelte-1gj6989.svelte-1gj6989{margin-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__info.svelte-1gj6989.svelte-1gj6989{margin-left:calc(0.0286458333 * 100vw + 0px)}}.promo-control__info-promo-title.svelte-1gj6989.svelte-1gj6989{font-family:\"HeadingNowRegular\";color:#FFFFFF;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__info-promo-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__info-promo-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__info-promo-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__info-promo-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__info-promo-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__info-promo-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__info-promo-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0103125 * 100vw + 0px)}}.promo-control__info-promo.svelte-1gj6989.svelte-1gj6989{font-family:\"HeadingNowBold\";background:linear-gradient(91.81deg, #FCD80F 1.53%, #FF9112 59.82%);color:transparent;background-clip:text;-webkit-background-clip:text;text-transform:uppercase;font-size:calc(0.01875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__info-promo.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__info-promo.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__info-promo.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__info-promo.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__info-promo.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__info-promo.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__info-promo.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.020625 * 100vw + 0px)}}.promo-control__info-control.svelte-1gj6989.svelte-1gj6989{display:flex;gap:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__info-control.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__info-control.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__info-control.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__info-control.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__info-control.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__info-control.svelte-1gj6989.svelte-1gj6989{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__info-control.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0114583333 * 100vw + 0px)}}.promo-control__info-control-button.svelte-1gj6989.svelte-1gj6989{display:flex;align-items:center;justify-content:center;background-color:rgba(19, 21, 22, 0.96);border:1px solid rgba(255, 255, 255, 0.1);cursor:pointer;transition:background-color 0.2s linear, border 0.2s linear, color 0.2s linear;gap:calc(0.00625 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.078125 * 100vw + 0px);height:calc(0.021875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__info-control-button.svelte-1gj6989.svelte-1gj6989{gap:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__info-control-button.svelte-1gj6989.svelte-1gj6989{gap:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__info-control-button.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__info-control-button.svelte-1gj6989.svelte-1gj6989{gap:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__info-control-button.svelte-1gj6989.svelte-1gj6989{gap:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__info-control-button.svelte-1gj6989.svelte-1gj6989{gap:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__info-control-button.svelte-1gj6989.svelte-1gj6989{gap:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-control__info-control-button.svelte-1gj6989.svelte-1gj6989{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__info-control-button.svelte-1gj6989.svelte-1gj6989{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__info-control-button.svelte-1gj6989.svelte-1gj6989{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__info-control-button.svelte-1gj6989.svelte-1gj6989{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__info-control-button.svelte-1gj6989.svelte-1gj6989{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__info-control-button.svelte-1gj6989.svelte-1gj6989{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__info-control-button.svelte-1gj6989.svelte-1gj6989{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-control__info-control-button.svelte-1gj6989.svelte-1gj6989{width:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__info-control-button.svelte-1gj6989.svelte-1gj6989{width:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__info-control-button.svelte-1gj6989.svelte-1gj6989{width:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__info-control-button.svelte-1gj6989.svelte-1gj6989{width:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__info-control-button.svelte-1gj6989.svelte-1gj6989{width:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__info-control-button.svelte-1gj6989.svelte-1gj6989{width:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__info-control-button.svelte-1gj6989.svelte-1gj6989{width:calc(0.0859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-control__info-control-button.svelte-1gj6989.svelte-1gj6989{height:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__info-control-button.svelte-1gj6989.svelte-1gj6989{height:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__info-control-button.svelte-1gj6989.svelte-1gj6989{height:calc(0.01684375 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__info-control-button.svelte-1gj6989.svelte-1gj6989{height:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__info-control-button.svelte-1gj6989.svelte-1gj6989{height:calc(0.0153125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__info-control-button.svelte-1gj6989.svelte-1gj6989{height:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__info-control-button.svelte-1gj6989.svelte-1gj6989{height:calc(0.0240625 * 100vw + 0px)}}.promo-control__info-control-button--small.svelte-1gj6989.svelte-1gj6989{width:calc(0.021875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__info-control-button--small.svelte-1gj6989.svelte-1gj6989{width:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__info-control-button--small.svelte-1gj6989.svelte-1gj6989{width:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__info-control-button--small.svelte-1gj6989.svelte-1gj6989{width:calc(0.01684375 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__info-control-button--small.svelte-1gj6989.svelte-1gj6989{width:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__info-control-button--small.svelte-1gj6989.svelte-1gj6989{width:calc(0.0153125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__info-control-button--small.svelte-1gj6989.svelte-1gj6989{width:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__info-control-button--small.svelte-1gj6989.svelte-1gj6989{width:calc(0.0240625 * 100vw + 0px)}}.promo-control__info-control-button.svelte-1gj6989.svelte-1gj6989:hover{background-color:#FFFFFF;border:1px solid rgba(255, 255, 255, 0.2)}.promo-control__info-control-button.svelte-1gj6989:hover .promo-control__info-control-button-title.svelte-1gj6989,.promo-control__info-control-button.svelte-1gj6989:hover .promo-control__info-control-button-icon.svelte-1gj6989{color:rgba(0, 0, 0, 0.9)}.promo-control__info-control-button-icon.svelte-1gj6989.svelte-1gj6989{color:rgba(255, 255, 255, 0.9);font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__info-control-button-icon.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__info-control-button-icon.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__info-control-button-icon.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__info-control-button-icon.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__info-control-button-icon.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__info-control-button-icon.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__info-control-button-icon.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0103125 * 100vw + 0px)}}.promo-control__info-control-button-title.svelte-1gj6989.svelte-1gj6989{font-family:\"HeadingNowBold\";color:rgba(255, 255, 255, 0.9);font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__info-control-button-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__info-control-button-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__info-control-button-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__info-control-button-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__info-control-button-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__info-control-button-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__info-control-button-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.006875 * 100vw + 0px)}}.promo-control__info-control-improve.svelte-1gj6989.svelte-1gj6989{display:flex;align-items:center;justify-content:center;background:linear-gradient(91.81deg, #FCD80F 1.53%, #FF9112 59.82%);border:1px solid rgba(255, 255, 255, 0.05);cursor:pointer;transition:background 0.2s linear, border 0.2s linear, color 0.2s linear;gap:calc(0.00625 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.078125 * 100vw + 0px);height:calc(0.021875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__info-control-improve.svelte-1gj6989.svelte-1gj6989{gap:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__info-control-improve.svelte-1gj6989.svelte-1gj6989{gap:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__info-control-improve.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__info-control-improve.svelte-1gj6989.svelte-1gj6989{gap:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__info-control-improve.svelte-1gj6989.svelte-1gj6989{gap:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__info-control-improve.svelte-1gj6989.svelte-1gj6989{gap:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__info-control-improve.svelte-1gj6989.svelte-1gj6989{gap:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-control__info-control-improve.svelte-1gj6989.svelte-1gj6989{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__info-control-improve.svelte-1gj6989.svelte-1gj6989{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__info-control-improve.svelte-1gj6989.svelte-1gj6989{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__info-control-improve.svelte-1gj6989.svelte-1gj6989{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__info-control-improve.svelte-1gj6989.svelte-1gj6989{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__info-control-improve.svelte-1gj6989.svelte-1gj6989{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__info-control-improve.svelte-1gj6989.svelte-1gj6989{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-control__info-control-improve.svelte-1gj6989.svelte-1gj6989{width:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__info-control-improve.svelte-1gj6989.svelte-1gj6989{width:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__info-control-improve.svelte-1gj6989.svelte-1gj6989{width:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__info-control-improve.svelte-1gj6989.svelte-1gj6989{width:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__info-control-improve.svelte-1gj6989.svelte-1gj6989{width:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__info-control-improve.svelte-1gj6989.svelte-1gj6989{width:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__info-control-improve.svelte-1gj6989.svelte-1gj6989{width:calc(0.0859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-control__info-control-improve.svelte-1gj6989.svelte-1gj6989{height:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__info-control-improve.svelte-1gj6989.svelte-1gj6989{height:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__info-control-improve.svelte-1gj6989.svelte-1gj6989{height:calc(0.01684375 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__info-control-improve.svelte-1gj6989.svelte-1gj6989{height:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__info-control-improve.svelte-1gj6989.svelte-1gj6989{height:calc(0.0153125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__info-control-improve.svelte-1gj6989.svelte-1gj6989{height:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__info-control-improve.svelte-1gj6989.svelte-1gj6989{height:calc(0.0240625 * 100vw + 0px)}}.promo-control__info-control-improve.svelte-1gj6989.svelte-1gj6989:hover{background:#FFFFFF;border:1px solid rgba(0, 0, 0, 0.05)}.promo-control__info-control-improve.svelte-1gj6989:hover .promo-control__info-control-improve-title.svelte-1gj6989,.promo-control__info-control-improve.svelte-1gj6989:hover .promo-control__info-control-improve-icon.svelte-1gj6989{color:rgba(0, 0, 0, 0.9)}.promo-control__info-control-improve-icon.svelte-1gj6989.svelte-1gj6989{color:rgba(0, 0, 0, 0.9);font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__info-control-improve-icon.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__info-control-improve-icon.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__info-control-improve-icon.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__info-control-improve-icon.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__info-control-improve-icon.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__info-control-improve-icon.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__info-control-improve-icon.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0103125 * 100vw + 0px)}}.promo-control__info-control-improve-title.svelte-1gj6989.svelte-1gj6989{font-family:\"HeadingNowBold\";color:rgba(0, 0, 0, 0.9);font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__info-control-improve-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__info-control-improve-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__info-control-improve-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__info-control-improve-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__info-control-improve-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__info-control-improve-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__info-control-improve-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.006875 * 100vw + 0px)}}.promo-control__stats.svelte-1gj6989.svelte-1gj6989{display:flex;align-items:center;justify-content:center;gap:calc(0.0104166667 * 100vw + 0px);margin-top:calc(0.0286458333 * 100vw + 0px);margin-bottom:calc(0.03125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__stats.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__stats.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__stats.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__stats.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__stats.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__stats.svelte-1gj6989.svelte-1gj6989{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__stats.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-control__stats.svelte-1gj6989.svelte-1gj6989{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__stats.svelte-1gj6989.svelte-1gj6989{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__stats.svelte-1gj6989.svelte-1gj6989{margin-top:calc(0.0220572917 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__stats.svelte-1gj6989.svelte-1gj6989{margin-top:calc(0.0315104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__stats.svelte-1gj6989.svelte-1gj6989{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__stats.svelte-1gj6989.svelte-1gj6989{margin-top:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__stats.svelte-1gj6989.svelte-1gj6989{margin-top:calc(0.0315104167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-control__stats.svelte-1gj6989.svelte-1gj6989{margin-bottom:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__stats.svelte-1gj6989.svelte-1gj6989{margin-bottom:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__stats.svelte-1gj6989.svelte-1gj6989{margin-bottom:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__stats.svelte-1gj6989.svelte-1gj6989{margin-bottom:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__stats.svelte-1gj6989.svelte-1gj6989{margin-bottom:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__stats.svelte-1gj6989.svelte-1gj6989{margin-bottom:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__stats.svelte-1gj6989.svelte-1gj6989{margin-bottom:calc(0.034375 * 100vw + 0px)}}.promo-control__stats-item.svelte-1gj6989.svelte-1gj6989{position:relative;display:flex;flex-direction:column;justify-content:center;gap:calc(0.0052083333 * 100vw + 0px);width:calc(0.3020833333 * 100vw + 0px);height:calc(0.1041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__stats-item.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__stats-item.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__stats-item.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__stats-item.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__stats-item.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__stats-item.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__stats-item.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-control__stats-item.svelte-1gj6989.svelte-1gj6989{width:calc(0.3020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__stats-item.svelte-1gj6989.svelte-1gj6989{width:calc(0.3020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__stats-item.svelte-1gj6989.svelte-1gj6989{width:calc(0.2326041667 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__stats-item.svelte-1gj6989.svelte-1gj6989{width:calc(0.3322916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__stats-item.svelte-1gj6989.svelte-1gj6989{width:calc(0.2114583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__stats-item.svelte-1gj6989.svelte-1gj6989{width:calc(0.271875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__stats-item.svelte-1gj6989.svelte-1gj6989{width:calc(0.3322916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-control__stats-item.svelte-1gj6989.svelte-1gj6989{height:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__stats-item.svelte-1gj6989.svelte-1gj6989{height:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__stats-item.svelte-1gj6989.svelte-1gj6989{height:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__stats-item.svelte-1gj6989.svelte-1gj6989{height:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__stats-item.svelte-1gj6989.svelte-1gj6989{height:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__stats-item.svelte-1gj6989.svelte-1gj6989{height:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__stats-item.svelte-1gj6989.svelte-1gj6989{height:calc(0.1145833333 * 100vw + 0px)}}.promo-control__stats-item-background.svelte-1gj6989.svelte-1gj6989{z-index:-1;position:absolute;width:100%;height:100%}.promo-control__stats-item-lvl.svelte-1gj6989.svelte-1gj6989{display:flex;gap:calc(0.0052083333 * 100vw + 0px);margin-left:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__stats-item-lvl.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__stats-item-lvl.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__stats-item-lvl.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__stats-item-lvl.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__stats-item-lvl.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__stats-item-lvl.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__stats-item-lvl.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-control__stats-item-lvl.svelte-1gj6989.svelte-1gj6989{margin-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__stats-item-lvl.svelte-1gj6989.svelte-1gj6989{margin-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__stats-item-lvl.svelte-1gj6989.svelte-1gj6989{margin-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__stats-item-lvl.svelte-1gj6989.svelte-1gj6989{margin-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__stats-item-lvl.svelte-1gj6989.svelte-1gj6989{margin-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__stats-item-lvl.svelte-1gj6989.svelte-1gj6989{margin-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__stats-item-lvl.svelte-1gj6989.svelte-1gj6989{margin-left:calc(0.0143229167 * 100vw + 0px)}}.promo-control__stats-item-lvl-title.svelte-1gj6989.svelte-1gj6989{display:flex;align-items:center;font-family:\"HeadingNowBold\";color:rgba(0, 0, 0, 0.9);line-height:1;font-size:calc(0.03125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__stats-item-lvl-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__stats-item-lvl-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__stats-item-lvl-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__stats-item-lvl-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__stats-item-lvl-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__stats-item-lvl-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__stats-item-lvl-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.034375 * 100vw + 0px)}}.promo-control__stats-item-lvl-title--up.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0125 * 100vw + 0px);height:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__stats-item-lvl-title--up.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__stats-item-lvl-title--up.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__stats-item-lvl-title--up.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__stats-item-lvl-title--up.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__stats-item-lvl-title--up.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__stats-item-lvl-title--up.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__stats-item-lvl-title--up.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-control__stats-item-lvl-title--up.svelte-1gj6989.svelte-1gj6989{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__stats-item-lvl-title--up.svelte-1gj6989.svelte-1gj6989{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__stats-item-lvl-title--up.svelte-1gj6989.svelte-1gj6989{height:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__stats-item-lvl-title--up.svelte-1gj6989.svelte-1gj6989{height:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__stats-item-lvl-title--up.svelte-1gj6989.svelte-1gj6989{height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__stats-item-lvl-title--up.svelte-1gj6989.svelte-1gj6989{height:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__stats-item-lvl-title--up.svelte-1gj6989.svelte-1gj6989{height:calc(0.0103125 * 100vw + 0px)}}.promo-control__stats-item-title.svelte-1gj6989.svelte-1gj6989{font-family:\"HeadingNowBold\";color:rgba(0, 0, 0, 0.9);text-transform:uppercase;font-size:calc(0.0104166667 * 100vw + 0px);margin-left:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__stats-item-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__stats-item-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__stats-item-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__stats-item-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__stats-item-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__stats-item-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__stats-item-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-control__stats-item-title.svelte-1gj6989.svelte-1gj6989{margin-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__stats-item-title.svelte-1gj6989.svelte-1gj6989{margin-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__stats-item-title.svelte-1gj6989.svelte-1gj6989{margin-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__stats-item-title.svelte-1gj6989.svelte-1gj6989{margin-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__stats-item-title.svelte-1gj6989.svelte-1gj6989{margin-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__stats-item-title.svelte-1gj6989.svelte-1gj6989{margin-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__stats-item-title.svelte-1gj6989.svelte-1gj6989{margin-left:calc(0.0143229167 * 100vw + 0px)}}.promo-control__stats-item-title--light.svelte-1gj6989.svelte-1gj6989{color:#FFFFFF}.promo-control__stats-item-rating-value.svelte-1gj6989.svelte-1gj6989{font-family:\"HeadingNowBold\";color:#FFFFFF;line-height:1;font-size:calc(0.03125 * 100vw + 0px);margin-left:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__stats-item-rating-value.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__stats-item-rating-value.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__stats-item-rating-value.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__stats-item-rating-value.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__stats-item-rating-value.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__stats-item-rating-value.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__stats-item-rating-value.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-control__stats-item-rating-value.svelte-1gj6989.svelte-1gj6989{margin-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__stats-item-rating-value.svelte-1gj6989.svelte-1gj6989{margin-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__stats-item-rating-value.svelte-1gj6989.svelte-1gj6989{margin-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__stats-item-rating-value.svelte-1gj6989.svelte-1gj6989{margin-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__stats-item-rating-value.svelte-1gj6989.svelte-1gj6989{margin-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__stats-item-rating-value.svelte-1gj6989.svelte-1gj6989{margin-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__stats-item-rating-value.svelte-1gj6989.svelte-1gj6989{margin-left:calc(0.0143229167 * 100vw + 0px)}}.promo-control__reward-list-title.svelte-1gj6989.svelte-1gj6989{font-family:\"HeadingNowRegular\";color:#FFFFFF;text-align:center;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__reward-list-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__reward-list-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__reward-list-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__reward-list-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__reward-list-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__reward-list-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__reward-list-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0103125 * 100vw + 0px)}}.promo-control__reward-list.svelte-1gj6989.svelte-1gj6989{display:flex;justify-content:center;gap:calc(0.0442708333 * 100vw + 0px);margin-top:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__reward-list.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__reward-list.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0442708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__reward-list.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0340885417 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__reward-list.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0486979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__reward-list.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0309895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__reward-list.svelte-1gj6989.svelte-1gj6989{gap:calc(0.03984375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__reward-list.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0486979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-control__reward-list.svelte-1gj6989.svelte-1gj6989{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__reward-list.svelte-1gj6989.svelte-1gj6989{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__reward-list.svelte-1gj6989.svelte-1gj6989{margin-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__reward-list.svelte-1gj6989.svelte-1gj6989{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__reward-list.svelte-1gj6989.svelte-1gj6989{margin-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__reward-list.svelte-1gj6989.svelte-1gj6989{margin-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__reward-list.svelte-1gj6989.svelte-1gj6989{margin-top:calc(0.0143229167 * 100vw + 0px)}}.promo-control__reward-item.svelte-1gj6989.svelte-1gj6989{display:flex;flex-direction:column;align-items:center;gap:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__reward-item.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__reward-item.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__reward-item.svelte-1gj6989.svelte-1gj6989{gap:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__reward-item.svelte-1gj6989.svelte-1gj6989{gap:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__reward-item.svelte-1gj6989.svelte-1gj6989{gap:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__reward-item.svelte-1gj6989.svelte-1gj6989{gap:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__reward-item.svelte-1gj6989.svelte-1gj6989{gap:calc(0.00859375 * 100vw + 0px)}}.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgb(13, 16, 17) 90%);border:2px solid rgba(255, 255, 255, 0.05);border-radius:calc(0.0104166667 * 100vw + 0px);width:calc(0.078125 * 100vw + 0px);height:calc(0.078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989{width:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989{width:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989{width:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989{width:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989{width:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989{width:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989{width:calc(0.0859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989{height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989{height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989{height:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989{height:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989{height:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989{height:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989{height:calc(0.0859375 * 100vw + 0px)}}.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:after{content:\"\";position:absolute;background-color:var(--shadowColor);bottom:0;width:calc(0.0291666667 * 100vw + 0px);height:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:after{width:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:after{width:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:after{width:calc(0.0224583333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:after{width:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:after{width:calc(0.0204166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:after{width:calc(0.02625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:after{width:calc(0.0320833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:after{height:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:after{height:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:after{height:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:after{height:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:after{height:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:after{height:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:after{height:calc(0.0022916667 * 100vw + 0px)}}.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:before{content:\"\";position:absolute;background-color:var(--shadowColor);filter:blur(20px);border-radius:100%;bottom:calc(-0.0104166667 * 100vw + 0px);width:calc(0.0729166667 * 100vw + 0px);height:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:before{bottom:calc(-0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:before{bottom:calc(-0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:before{bottom:calc(-0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:before{bottom:calc(-0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:before{bottom:calc(-0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:before{bottom:calc(-0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:before{bottom:calc(-0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:before{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:before{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:before{width:calc(0.0561458333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:before{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:before{width:calc(0.0510416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:before{width:calc(0.065625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:before{width:calc(0.0802083333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:before{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:before{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:before{height:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:before{height:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:before{height:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:before{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__reward-item-image-wrapper.svelte-1gj6989.svelte-1gj6989:before{height:calc(0.0171875 * 100vw + 0px)}}.promo-control__reward-item-image.svelte-1gj6989.svelte-1gj6989{z-index:2;height:calc(0.0625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__reward-item-image.svelte-1gj6989.svelte-1gj6989{height:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__reward-item-image.svelte-1gj6989.svelte-1gj6989{height:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__reward-item-image.svelte-1gj6989.svelte-1gj6989{height:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__reward-item-image.svelte-1gj6989.svelte-1gj6989{height:calc(0.06875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__reward-item-image.svelte-1gj6989.svelte-1gj6989{height:calc(0.04375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__reward-item-image.svelte-1gj6989.svelte-1gj6989{height:calc(0.05625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__reward-item-image.svelte-1gj6989.svelte-1gj6989{height:calc(0.06875 * 100vw + 0px)}}.promo-control__reward-item-title.svelte-1gj6989.svelte-1gj6989{font-family:\"HeadingNowRegular\";color:rgba(255, 255, 255, 0.85);text-align:center;font-size:calc(0.00625 * 100vw + 0px);width:calc(0.0364583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__reward-item-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__reward-item-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__reward-item-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__reward-item-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__reward-item-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__reward-item-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__reward-item-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-control__reward-item-title.svelte-1gj6989.svelte-1gj6989{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__reward-item-title.svelte-1gj6989.svelte-1gj6989{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__reward-item-title.svelte-1gj6989.svelte-1gj6989{width:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__reward-item-title.svelte-1gj6989.svelte-1gj6989{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__reward-item-title.svelte-1gj6989.svelte-1gj6989{width:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__reward-item-title.svelte-1gj6989.svelte-1gj6989{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__reward-item-title.svelte-1gj6989.svelte-1gj6989{width:calc(0.0401041667 * 100vw + 0px)}}.promo-control__hint-icon.svelte-1gj6989.svelte-1gj6989{color:rgba(255, 255, 255, 0.5);font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__hint-icon.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__hint-icon.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__hint-icon.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__hint-icon.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__hint-icon.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__hint-icon.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__hint-icon.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0114583333 * 100vw + 0px)}}.promo-control__hint-title.svelte-1gj6989.svelte-1gj6989{font-family:\"HeadingNowRegular\";color:#FFFFFF;font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__hint-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__hint-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__hint-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__hint-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__hint-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__hint-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__hint-title.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0080208333 * 100vw + 0px)}}.promo-control__hint.svelte-1gj6989.svelte-1gj6989{display:flex;justify-content:center;gap:calc(0.0078125 * 100vw + 0px);margin-top:calc(0.0401041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__hint.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__hint.svelte-1gj6989.svelte-1gj6989{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__hint.svelte-1gj6989.svelte-1gj6989{gap:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__hint.svelte-1gj6989.svelte-1gj6989{gap:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__hint.svelte-1gj6989.svelte-1gj6989{gap:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__hint.svelte-1gj6989.svelte-1gj6989{gap:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__hint.svelte-1gj6989.svelte-1gj6989{gap:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-control__hint.svelte-1gj6989.svelte-1gj6989{margin-top:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__hint.svelte-1gj6989.svelte-1gj6989{margin-top:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__hint.svelte-1gj6989.svelte-1gj6989{margin-top:calc(0.0308802083 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__hint.svelte-1gj6989.svelte-1gj6989{margin-top:calc(0.0441145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__hint.svelte-1gj6989.svelte-1gj6989{margin-top:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__hint.svelte-1gj6989.svelte-1gj6989{margin-top:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__hint.svelte-1gj6989.svelte-1gj6989{margin-top:calc(0.0441145833 * 100vw + 0px)}}.promo-control__error-message.svelte-1gj6989.svelte-1gj6989{position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);font-family:\"HeadingNowMedium\";color:#FFFFFF;width:90%;text-align:center;font-size:calc(0.021875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-control__error-message.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-control__error-message.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-control__error-message.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.01684375 * 100vw + 0px)}}@media(min-width: 3440px){.promo-control__error-message.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-control__error-message.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0153125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-control__error-message.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-control__error-message.svelte-1gj6989.svelte-1gj6989{font-size:calc(0.0240625 * 100vw + 0px)}}");
}

function control_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[9] = list[i];
	return child_ctx;
}

// (2894:4) {:else}
function control_index_svelte_create_else_block(ctx) {
	let p;
	let t_value = `СОЗДАТЬ СВОЙ ПРОМО-КОД МОЖНО С ${/*$controlAvailable*/ ctx[1].minLevel} УРОВНЯ` + "";
	let t;

	return {
		c() {
			p = internal_element("p");
			t = internal_text(t_value);
			attr(p, "class", "promo-control__error-message svelte-1gj6989");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t);
		},
		p(ctx, dirty) {
			if (dirty & /*$controlAvailable*/ 2 && t_value !== (t_value = `СОЗДАТЬ СВОЙ ПРОМО-КОД МОЖНО С ${/*$controlAvailable*/ ctx[1].minLevel} УРОВНЯ` + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (2763:4) {#if $controlAvailable.available}
function control_index_svelte_create_if_block(ctx) {
	let div2;
	let div0;
	let img0;
	let img0_src_value;
	let t0;
	let p0;
	let t1_value = formatMoney(/*$controlInfo*/ ctx[0].coins) + "";
	let t1;
	let t2;
	let div1;
	let t4;
	let div9;
	let div3;
	let p2;
	let t6;
	let p3;
	let t7_value = /*$controlInfo*/ ctx[0].promo + "";
	let t7;
	let t8;
	let div8;
	let div4;
	let t9;
	let div5;
	let t12;
	let div6;
	let t15;
	let div7;
	let t18;
	let div13;
	let div11;
	let img1;
	let img1_src_value;
	let t19;
	let div10;
	let p7;
	let t20_value = /*$controlInfo*/ ctx[0].currentLvl + "";
	let t20;
	let t21;
	let p8;
	let t22;
	let t23_value = /*$controlInfo*/ ctx[0].maxLvl + "";
	let t23;
	let t24;
	let p9;
	let t26;
	let div12;
	let img2;
	let img2_src_value;
	let t27;
	let p10;
	let t28_value = /*$controlInfo*/ ctx[0].position + "";
	let t28;
	let t29;
	let p11;
	let t31;
	let div14;
	let p12;
	let t33;
	let t34;
	let div15;
	let mounted;
	let dispose;
	let if_block = /*$controlInfo*/ ctx[0].currentRewards && control_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			div1 = internal_element("div");
			div1.innerHTML = `<p class="promo-control__coin-button-title svelte-1gj6989">получить</p>`;
			t4 = space();
			div9 = internal_element("div");
			div3 = internal_element("div");
			p2 = internal_element("p");
			p2.textContent = "Ваш промокод";
			t6 = space();
			p3 = internal_element("p");
			t7 = internal_text(t7_value);
			t8 = space();
			div8 = internal_element("div");
			div4 = internal_element("div");
			div4.innerHTML = `<i class="promo-control__info-control-button-icon icon-information-cirlce svelte-1gj6989"></i>`;
			t9 = space();
			div5 = internal_element("div");

			div5.innerHTML = `<i class="promo-control__info-control-button-icon icon-promo-change svelte-1gj6989"></i> 
            <p class="promo-control__info-control-button-title svelte-1gj6989">Изменить</p>`;

			t12 = space();
			div6 = internal_element("div");

			div6.innerHTML = `<i class="promo-control__info-control-button-icon icon-promo-copy svelte-1gj6989"></i> 
            <p class="promo-control__info-control-button-title svelte-1gj6989">Скопировать</p>`;

			t15 = space();
			div7 = internal_element("div");

			div7.innerHTML = `<i class="promo-control__info-control-improve-icon icon-promo-star svelte-1gj6989"></i> 
            <p class="promo-control__info-control-improve-title svelte-1gj6989">Улучшить</p>`;

			t18 = space();
			div13 = internal_element("div");
			div11 = internal_element("div");
			img1 = internal_element("img");
			t19 = space();
			div10 = internal_element("div");
			p7 = internal_element("p");
			t20 = internal_text(t20_value);
			t21 = space();
			p8 = internal_element("p");
			t22 = internal_text("/");
			t23 = internal_text(t23_value);
			t24 = space();
			p9 = internal_element("p");
			p9.textContent = "Текущий уровень";
			t26 = space();
			div12 = internal_element("div");
			img2 = internal_element("img");
			t27 = space();
			p10 = internal_element("p");
			t28 = internal_text(t28_value);
			t29 = space();
			p11 = internal_element("p");
			p11.textContent = "позиция в рейтинге";
			t31 = space();
			div14 = internal_element("div");
			p12 = internal_element("p");
			p12.textContent = "Текущие бонусы";
			t33 = space();
			if (if_block) if_block.c();
			t34 = space();
			div15 = internal_element("div");

			div15.innerHTML = `<i class="promo-control__hint-icon icon-information-cirlce svelte-1gj6989"></i> 
        <p class="promo-control__hint-title svelte-1gj6989">Улучшайте уровень своего промокода, чтобы увеличить количество наград!</p>`;

			attr(img0, "class", "promo-control__coin-icon-image svelte-1gj6989");
			if (!src_url_equal(img0.src, img0_src_value = coin_img_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "coin");
			attr(p0, "class", "promo-control__coin-icon-value svelte-1gj6989");
			attr(div0, "class", "promo-control__coin-icon svelte-1gj6989");
			attr(div1, "class", "promo-control__coin-button svelte-1gj6989");
			attr(div2, "class", "promo-control__coin svelte-1gj6989");
			attr(p2, "class", "promo-control__info-promo-title svelte-1gj6989");
			attr(p3, "class", "promo-control__info-promo svelte-1gj6989");
			attr(div3, "class", "promo-control__info-promo-wrapper");
			attr(div4, "class", "promo-control__info-control-button promo-control__info-control-button--small svelte-1gj6989");
			attr(div5, "class", "promo-control__info-control-button svelte-1gj6989");
			attr(div6, "class", "promo-control__info-control-button svelte-1gj6989");
			attr(div7, "class", "promo-control__info-control-improve svelte-1gj6989");
			attr(div8, "class", "promo-control__info-control svelte-1gj6989");
			attr(div9, "class", "promo-control__info svelte-1gj6989");
			attr(img1, "class", "promo-control__stats-item-background svelte-1gj6989");
			if (!src_url_equal(img1.src, img1_src_value = background_lvl_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "background");
			attr(p7, "class", "promo-control__stats-item-lvl-title svelte-1gj6989");
			attr(p8, "class", "promo-control__stats-item-lvl-title promo-control__stats-item-lvl-title--up svelte-1gj6989");
			attr(div10, "class", "promo-control__stats-item-lvl svelte-1gj6989");
			attr(p9, "class", "promo-control__stats-item-title svelte-1gj6989");
			attr(div11, "class", "promo-control__stats-item svelte-1gj6989");
			attr(img2, "class", "promo-control__stats-item-background svelte-1gj6989");
			if (!src_url_equal(img2.src, img2_src_value = background_rating_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "background");
			attr(p10, "class", "promo-control__stats-item-rating-value svelte-1gj6989");
			attr(p11, "class", "promo-control__stats-item-title promo-control__stats-item-title--light svelte-1gj6989");
			attr(div12, "class", "promo-control__stats-item svelte-1gj6989");
			attr(div13, "class", "promo-control__stats svelte-1gj6989");
			attr(p12, "class", "promo-control__reward-list-title svelte-1gj6989");
			attr(div14, "class", "promo-control__reward-list-wrapper");
			attr(div15, "class", "promo-control__hint svelte-1gj6989");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div0, img0);
			append(div0, t0);
			append(div0, p0);
			append(p0, t1);
			append(div2, t2);
			append(div2, div1);
			insert(target, t4, anchor);
			insert(target, div9, anchor);
			append(div9, div3);
			append(div3, p2);
			append(div3, t6);
			append(div3, p3);
			append(p3, t7);
			append(div9, t8);
			append(div9, div8);
			append(div8, div4);
			append(div8, t9);
			append(div8, div5);
			append(div8, t12);
			append(div8, div6);
			append(div8, t15);
			append(div8, div7);
			insert(target, t18, anchor);
			insert(target, div13, anchor);
			append(div13, div11);
			append(div11, img1);
			append(div11, t19);
			append(div11, div10);
			append(div10, p7);
			append(p7, t20);
			append(div10, t21);
			append(div10, p8);
			append(p8, t22);
			append(p8, t23);
			append(div11, t24);
			append(div11, p9);
			append(div13, t26);
			append(div13, div12);
			append(div12, img2);
			append(div12, t27);
			append(div12, p10);
			append(p10, t28);
			append(div12, t29);
			append(div12, p11);
			insert(target, t31, anchor);
			insert(target, div14, anchor);
			append(div14, p12);
			append(div14, t33);
			if (if_block) if_block.m(div14, null);
			insert(target, t34, anchor);
			insert(target, div15, anchor);

			if (!mounted) {
				dispose = [
					listen(div1, "click", /*getCoin*/ ctx[6]),
					listen(div4, "click", /*openInfo*/ ctx[2]),
					listen(div5, "click", /*change*/ ctx[3]),
					listen(div6, "click", /*copy*/ ctx[4]),
					listen(div7, "click", /*improve*/ ctx[5])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*$controlInfo*/ 1 && t1_value !== (t1_value = formatMoney(/*$controlInfo*/ ctx[0].coins) + "")) set_data(t1, t1_value);
			if (dirty & /*$controlInfo*/ 1 && t7_value !== (t7_value = /*$controlInfo*/ ctx[0].promo + "")) set_data(t7, t7_value);
			if (dirty & /*$controlInfo*/ 1 && t20_value !== (t20_value = /*$controlInfo*/ ctx[0].currentLvl + "")) set_data(t20, t20_value);
			if (dirty & /*$controlInfo*/ 1 && t23_value !== (t23_value = /*$controlInfo*/ ctx[0].maxLvl + "")) set_data(t23, t23_value);
			if (dirty & /*$controlInfo*/ 1 && t28_value !== (t28_value = /*$controlInfo*/ ctx[0].position + "")) set_data(t28, t28_value);

			if (/*$controlInfo*/ ctx[0].currentRewards) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = control_index_svelte_create_if_block_1(ctx);
					if_block.c();
					if_block.m(div14, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		d(detaching) {
			if (detaching) detach(div2);
			if (detaching) detach(t4);
			if (detaching) detach(div9);
			if (detaching) detach(t18);
			if (detaching) detach(div13);
			if (detaching) detach(t31);
			if (detaching) detach(div14);
			if (if_block) if_block.d();
			if (detaching) detach(t34);
			if (detaching) detach(div15);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (2866:8) {#if $controlInfo.currentRewards}
function control_index_svelte_create_if_block_1(ctx) {
	let div;
	let each_value = /*$controlInfo*/ ctx[0].currentRewards;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = control_index_svelte_create_each_block(control_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "promo-control__reward-list svelte-1gj6989");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}
		},
		p(ctx, dirty) {
			if (dirty & /*$controlInfo, CDN_ITEMS_URL*/ 1) {
				each_value = /*$controlInfo*/ ctx[0].currentRewards;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = control_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = control_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (2868:12) {#each $controlInfo.currentRewards as reward}
function control_index_svelte_create_each_block(ctx) {
	let div1;
	let div0;
	let img;
	let img_src_value;
	let div0_style_value;
	let t0;
	let p;
	let t1_value = /*reward*/ ctx[9].title + "";
	let t1;
	let t2;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(img, "class", "promo-control__reward-item-image svelte-1gj6989");
			if (!src_url_equal(img.src, img_src_value = `${CDN_ITEMS_URL}/${/*reward*/ ctx[9].image}`)) attr(img, "src", img_src_value);
			attr(img, "alt", "reward");
			attr(div0, "class", "promo-control__reward-item-image-wrapper svelte-1gj6989");
			attr(div0, "style", div0_style_value = `--shadowColor: ${/*reward*/ ctx[9].color};`);
			attr(p, "class", "promo-control__reward-item-title svelte-1gj6989");
			attr(div1, "class", "promo-control__reward-item svelte-1gj6989");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, img);
			append(div1, t0);
			append(div1, p);
			append(p, t1);
			append(div1, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*$controlInfo*/ 1 && !src_url_equal(img.src, img_src_value = `${CDN_ITEMS_URL}/${/*reward*/ ctx[9].image}`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*$controlInfo*/ 1 && div0_style_value !== (div0_style_value = `--shadowColor: ${/*reward*/ ctx[9].color};`)) {
				attr(div0, "style", div0_style_value);
			}

			if (dirty & /*$controlInfo*/ 1 && t1_value !== (t1_value = /*reward*/ ctx[9].title + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

function control_index_svelte_create_fragment(ctx) {
	let div;

	function select_block_type(ctx, dirty) {
		if (/*$controlAvailable*/ ctx[1].available) return control_index_svelte_create_if_block;
		return control_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block = current_block_type(ctx);

	return {
		c() {
			div = internal_element("div");
			if_block.c();
			attr(div, "class", "promo-control");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if_block.m(div, null);
		},
		p(ctx, [dirty]) {
			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div, null);
				}
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			if_block.d();
		}
	};
}

function control_index_svelte_instance($$self, $$props, $$invalidate) {
	let $controlInfo;
	let $controlAvailable;
	component_subscribe($$self, controlInfo, $$value => $$invalidate(0, $controlInfo = $$value));
	component_subscribe($$self, controlAvailable, $$value => $$invalidate(1, $controlAvailable = $$value));

	const initializePlayerInfo = playerInfoDto => {
		set_store_value(controlInfo, $controlInfo = playerInfoDto, $controlInfo);
	};

	const openInfo = () => {
		sendClientMessage('promo.control.openInfo');
	};

	const change = () => {
		sendClientMessage('promo.control.change');
	};

	const copy = () => {
		copyToClipboard($controlInfo.promo);
	};

	const improve = () => {
		sendClientMessage('promo.control.upgrade');
	};

	const getCoin = () => {
		sendClientMessage('promo.control.getCoin');
	};

	const unregisterInitializeEvent = registerEvent('event.promo.control.initializePlayerInfo', initializePlayerInfo);

	onMount(() => {
		sendClientMessage('promo.control.opened');
	});

	onDestroy(() => {
		unregisterInitializeEvent();
	});

	return [$controlInfo, $controlAvailable, openInfo, change, copy, improve, getCoin];
}

class index_svelte_Control extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, control_index_svelte_instance, control_index_svelte_create_fragment, safe_not_equal, {}, control_index_svelte_add_css);
	}
}

/* harmony default export */ const control_index_svelte = (index_svelte_Control);
;// CONCATENATED MODULE: ./src/views/promo/components/referrals/img/background-list.png
const background_list_namespaceObject = __webpack_require__.p + "assets/631ad076df87dd4abee0.webp";
;// CONCATENATED MODULE: ./src/views/promo/components/referrals/img/background-cashback.png
const background_cashback_namespaceObject = __webpack_require__.p + "assets/e710f6e5824e25c2e180.webp";
;// CONCATENATED MODULE: ./src/views/promo/components/referrals/index.svelte
/* src\views\promo\components\referrals\index.svelte generated by Svelte v3.49.0 */











function referrals_index_svelte_add_css(target) {
	append_styles(target, "svelte-1ols93u", "@keyframes svelte-1ols93u-blinking{50%{opacity:0}}@keyframes svelte-1ols93u-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1ols93u-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1ols93u-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1ols93u-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1ols93u-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1ols93u-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1ols93u-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1ols93u-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1ols93u-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1ols93u-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1ols93u-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1ols93u-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1ols93u-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1ols93u-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.promo-referrals__info.svelte-1ols93u.svelte-1ols93u{display:flex;align-items:center;gap:calc(0.0625 * 100vw + 0px);margin-top:calc(0.0260416667 * 100vw + 0px);margin-left:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__info.svelte-1ols93u.svelte-1ols93u{gap:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__info.svelte-1ols93u.svelte-1ols93u{gap:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__info.svelte-1ols93u.svelte-1ols93u{gap:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__info.svelte-1ols93u.svelte-1ols93u{gap:calc(0.06875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__info.svelte-1ols93u.svelte-1ols93u{gap:calc(0.04375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__info.svelte-1ols93u.svelte-1ols93u{gap:calc(0.05625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__info.svelte-1ols93u.svelte-1ols93u{gap:calc(0.06875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__info.svelte-1ols93u.svelte-1ols93u{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__info.svelte-1ols93u.svelte-1ols93u{margin-top:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__info.svelte-1ols93u.svelte-1ols93u{margin-top:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__info.svelte-1ols93u.svelte-1ols93u{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__info.svelte-1ols93u.svelte-1ols93u{margin-top:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__info.svelte-1ols93u.svelte-1ols93u{margin-top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__info.svelte-1ols93u.svelte-1ols93u{margin-top:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__info.svelte-1ols93u.svelte-1ols93u{margin-left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__info.svelte-1ols93u.svelte-1ols93u{margin-left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__info.svelte-1ols93u.svelte-1ols93u{margin-left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__info.svelte-1ols93u.svelte-1ols93u{margin-left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__info.svelte-1ols93u.svelte-1ols93u{margin-left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__info.svelte-1ols93u.svelte-1ols93u{margin-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__info.svelte-1ols93u.svelte-1ols93u{margin-left:calc(0.0286458333 * 100vw + 0px)}}.promo-referrals__info-promo-title.svelte-1ols93u.svelte-1ols93u{font-family:\"HeadingNowRegular\";color:#FFFFFF;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__info-promo-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__info-promo-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__info-promo-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__info-promo-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__info-promo-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__info-promo-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__info-promo-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0103125 * 100vw + 0px)}}.promo-referrals__info-promo.svelte-1ols93u.svelte-1ols93u{font-family:\"HeadingNowBold\";background:linear-gradient(91.81deg, #FCD80F 1.53%, #FF9112 59.82%);color:transparent;background-clip:text;-webkit-background-clip:text;text-transform:uppercase;font-size:calc(0.01875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__info-promo.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__info-promo.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__info-promo.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__info-promo.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__info-promo.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__info-promo.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__info-promo.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.020625 * 100vw + 0px)}}.promo-referrals__info-control.svelte-1ols93u.svelte-1ols93u{display:flex;gap:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__info-control.svelte-1ols93u.svelte-1ols93u{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__info-control.svelte-1ols93u.svelte-1ols93u{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__info-control.svelte-1ols93u.svelte-1ols93u{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__info-control.svelte-1ols93u.svelte-1ols93u{gap:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__info-control.svelte-1ols93u.svelte-1ols93u{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__info-control.svelte-1ols93u.svelte-1ols93u{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__info-control.svelte-1ols93u.svelte-1ols93u{gap:calc(0.0114583333 * 100vw + 0px)}}.promo-referrals__info-control-button.svelte-1ols93u.svelte-1ols93u{display:flex;align-items:center;justify-content:center;background-color:rgba(19, 21, 22, 0.96);border:1px solid rgba(255, 255, 255, 0.1);cursor:pointer;transition:background-color 0.2s linear, border 0.2s linear, color 0.2s linear;gap:calc(0.00625 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.1171875 * 100vw + 0px);height:calc(0.021875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__info-control-button.svelte-1ols93u.svelte-1ols93u{gap:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__info-control-button.svelte-1ols93u.svelte-1ols93u{gap:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__info-control-button.svelte-1ols93u.svelte-1ols93u{gap:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__info-control-button.svelte-1ols93u.svelte-1ols93u{gap:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__info-control-button.svelte-1ols93u.svelte-1ols93u{gap:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__info-control-button.svelte-1ols93u.svelte-1ols93u{gap:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__info-control-button.svelte-1ols93u.svelte-1ols93u{gap:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__info-control-button.svelte-1ols93u.svelte-1ols93u{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__info-control-button.svelte-1ols93u.svelte-1ols93u{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__info-control-button.svelte-1ols93u.svelte-1ols93u{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__info-control-button.svelte-1ols93u.svelte-1ols93u{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__info-control-button.svelte-1ols93u.svelte-1ols93u{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__info-control-button.svelte-1ols93u.svelte-1ols93u{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__info-control-button.svelte-1ols93u.svelte-1ols93u{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__info-control-button.svelte-1ols93u.svelte-1ols93u{width:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__info-control-button.svelte-1ols93u.svelte-1ols93u{width:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__info-control-button.svelte-1ols93u.svelte-1ols93u{width:calc(0.090234375 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__info-control-button.svelte-1ols93u.svelte-1ols93u{width:calc(0.12890625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__info-control-button.svelte-1ols93u.svelte-1ols93u{width:calc(0.08203125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__info-control-button.svelte-1ols93u.svelte-1ols93u{width:calc(0.10546875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__info-control-button.svelte-1ols93u.svelte-1ols93u{width:calc(0.12890625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__info-control-button.svelte-1ols93u.svelte-1ols93u{height:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__info-control-button.svelte-1ols93u.svelte-1ols93u{height:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__info-control-button.svelte-1ols93u.svelte-1ols93u{height:calc(0.01684375 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__info-control-button.svelte-1ols93u.svelte-1ols93u{height:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__info-control-button.svelte-1ols93u.svelte-1ols93u{height:calc(0.0153125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__info-control-button.svelte-1ols93u.svelte-1ols93u{height:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__info-control-button.svelte-1ols93u.svelte-1ols93u{height:calc(0.0240625 * 100vw + 0px)}}.promo-referrals__info-control-button--small.svelte-1ols93u.svelte-1ols93u{width:calc(0.021875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__info-control-button--small.svelte-1ols93u.svelte-1ols93u{width:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__info-control-button--small.svelte-1ols93u.svelte-1ols93u{width:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__info-control-button--small.svelte-1ols93u.svelte-1ols93u{width:calc(0.01684375 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__info-control-button--small.svelte-1ols93u.svelte-1ols93u{width:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__info-control-button--small.svelte-1ols93u.svelte-1ols93u{width:calc(0.0153125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__info-control-button--small.svelte-1ols93u.svelte-1ols93u{width:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__info-control-button--small.svelte-1ols93u.svelte-1ols93u{width:calc(0.0240625 * 100vw + 0px)}}.promo-referrals__info-control-button.svelte-1ols93u.svelte-1ols93u:hover{background-color:#FFFFFF;border:1px solid rgba(255, 255, 255, 0.2)}.promo-referrals__info-control-button.svelte-1ols93u:hover .promo-referrals__info-control-button-title.svelte-1ols93u,.promo-referrals__info-control-button.svelte-1ols93u:hover .promo-referrals__info-control-button-icon.svelte-1ols93u{color:rgba(0, 0, 0, 0.9)}.promo-referrals__info-control-button-icon.svelte-1ols93u.svelte-1ols93u{color:rgba(255, 255, 255, 0.9);font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__info-control-button-icon.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__info-control-button-icon.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__info-control-button-icon.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__info-control-button-icon.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__info-control-button-icon.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__info-control-button-icon.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__info-control-button-icon.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0103125 * 100vw + 0px)}}.promo-referrals__info-control-button-title.svelte-1ols93u.svelte-1ols93u{font-family:\"HeadingNowBold\";color:rgba(255, 255, 255, 0.9);font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__info-control-button-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__info-control-button-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__info-control-button-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__info-control-button-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__info-control-button-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__info-control-button-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__info-control-button-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.006875 * 100vw + 0px)}}.promo-referrals__stats.svelte-1ols93u.svelte-1ols93u{display:flex;align-items:center;justify-content:center;gap:calc(0.0104166667 * 100vw + 0px);margin-top:calc(0.0078125 * 100vw + 0px);margin-bottom:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__stats.svelte-1ols93u.svelte-1ols93u{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__stats.svelte-1ols93u.svelte-1ols93u{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__stats.svelte-1ols93u.svelte-1ols93u{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__stats.svelte-1ols93u.svelte-1ols93u{gap:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__stats.svelte-1ols93u.svelte-1ols93u{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__stats.svelte-1ols93u.svelte-1ols93u{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__stats.svelte-1ols93u.svelte-1ols93u{gap:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__stats.svelte-1ols93u.svelte-1ols93u{margin-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__stats.svelte-1ols93u.svelte-1ols93u{margin-top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__stats.svelte-1ols93u.svelte-1ols93u{margin-top:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__stats.svelte-1ols93u.svelte-1ols93u{margin-top:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__stats.svelte-1ols93u.svelte-1ols93u{margin-top:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__stats.svelte-1ols93u.svelte-1ols93u{margin-top:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__stats.svelte-1ols93u.svelte-1ols93u{margin-top:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__stats.svelte-1ols93u.svelte-1ols93u{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__stats.svelte-1ols93u.svelte-1ols93u{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__stats.svelte-1ols93u.svelte-1ols93u{margin-bottom:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__stats.svelte-1ols93u.svelte-1ols93u{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__stats.svelte-1ols93u.svelte-1ols93u{margin-bottom:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__stats.svelte-1ols93u.svelte-1ols93u{margin-bottom:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__stats.svelte-1ols93u.svelte-1ols93u{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}.promo-referrals__stats-item.svelte-1ols93u.svelte-1ols93u{position:relative;display:flex;flex-direction:column;justify-content:center;gap:calc(0.0052083333 * 100vw + 0px);width:calc(0.3020833333 * 100vw + 0px);height:calc(0.1041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__stats-item.svelte-1ols93u.svelte-1ols93u{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__stats-item.svelte-1ols93u.svelte-1ols93u{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__stats-item.svelte-1ols93u.svelte-1ols93u{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__stats-item.svelte-1ols93u.svelte-1ols93u{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__stats-item.svelte-1ols93u.svelte-1ols93u{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__stats-item.svelte-1ols93u.svelte-1ols93u{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__stats-item.svelte-1ols93u.svelte-1ols93u{gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__stats-item.svelte-1ols93u.svelte-1ols93u{width:calc(0.3020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__stats-item.svelte-1ols93u.svelte-1ols93u{width:calc(0.3020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__stats-item.svelte-1ols93u.svelte-1ols93u{width:calc(0.2326041667 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__stats-item.svelte-1ols93u.svelte-1ols93u{width:calc(0.3322916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__stats-item.svelte-1ols93u.svelte-1ols93u{width:calc(0.2114583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__stats-item.svelte-1ols93u.svelte-1ols93u{width:calc(0.271875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__stats-item.svelte-1ols93u.svelte-1ols93u{width:calc(0.3322916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__stats-item.svelte-1ols93u.svelte-1ols93u{height:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__stats-item.svelte-1ols93u.svelte-1ols93u{height:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__stats-item.svelte-1ols93u.svelte-1ols93u{height:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__stats-item.svelte-1ols93u.svelte-1ols93u{height:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__stats-item.svelte-1ols93u.svelte-1ols93u{height:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__stats-item.svelte-1ols93u.svelte-1ols93u{height:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__stats-item.svelte-1ols93u.svelte-1ols93u{height:calc(0.1145833333 * 100vw + 0px)}}.promo-referrals__stats-item-background.svelte-1ols93u.svelte-1ols93u{z-index:-1;position:absolute;width:100%;height:100%}.promo-referrals__stats-item-lvl-title.svelte-1ols93u.svelte-1ols93u{display:flex;align-items:center;font-family:\"HeadingNowBold\";color:rgba(0, 0, 0, 0.9);font-size:calc(0.03125 * 100vw + 0px);margin-left:calc(0.0130208333 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__stats-item-lvl-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__stats-item-lvl-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__stats-item-lvl-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__stats-item-lvl-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__stats-item-lvl-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__stats-item-lvl-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__stats-item-lvl-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__stats-item-lvl-title.svelte-1ols93u.svelte-1ols93u{margin-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__stats-item-lvl-title.svelte-1ols93u.svelte-1ols93u{margin-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__stats-item-lvl-title.svelte-1ols93u.svelte-1ols93u{margin-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__stats-item-lvl-title.svelte-1ols93u.svelte-1ols93u{margin-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__stats-item-lvl-title.svelte-1ols93u.svelte-1ols93u{margin-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__stats-item-lvl-title.svelte-1ols93u.svelte-1ols93u{margin-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__stats-item-lvl-title.svelte-1ols93u.svelte-1ols93u{margin-left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__stats-item-lvl-title.svelte-1ols93u.svelte-1ols93u{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__stats-item-lvl-title.svelte-1ols93u.svelte-1ols93u{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__stats-item-lvl-title.svelte-1ols93u.svelte-1ols93u{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__stats-item-lvl-title.svelte-1ols93u.svelte-1ols93u{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__stats-item-lvl-title.svelte-1ols93u.svelte-1ols93u{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__stats-item-lvl-title.svelte-1ols93u.svelte-1ols93u{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__stats-item-lvl-title.svelte-1ols93u.svelte-1ols93u{height:calc(0.0286458333 * 100vw + 0px)}}.promo-referrals__stats-item-title.svelte-1ols93u.svelte-1ols93u{font-family:\"HeadingNowBold\";color:rgba(0, 0, 0, 0.9);text-transform:uppercase;font-size:calc(0.0104166667 * 100vw + 0px);margin-left:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__stats-item-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__stats-item-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__stats-item-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__stats-item-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__stats-item-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__stats-item-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__stats-item-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__stats-item-title.svelte-1ols93u.svelte-1ols93u{margin-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__stats-item-title.svelte-1ols93u.svelte-1ols93u{margin-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__stats-item-title.svelte-1ols93u.svelte-1ols93u{margin-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__stats-item-title.svelte-1ols93u.svelte-1ols93u{margin-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__stats-item-title.svelte-1ols93u.svelte-1ols93u{margin-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__stats-item-title.svelte-1ols93u.svelte-1ols93u{margin-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__stats-item-title.svelte-1ols93u.svelte-1ols93u{margin-left:calc(0.0143229167 * 100vw + 0px)}}.promo-referrals__stats-item-title--light.svelte-1ols93u.svelte-1ols93u{color:#FFFFFF}.promo-referrals__stats-item-rating-value.svelte-1ols93u.svelte-1ols93u{font-family:\"HeadingNowBold\";color:#FFFFFF;font-size:calc(0.03125 * 100vw + 0px);margin-left:calc(0.0130208333 * 100vw + 0px);line-height:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__stats-item-rating-value.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__stats-item-rating-value.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__stats-item-rating-value.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__stats-item-rating-value.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__stats-item-rating-value.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__stats-item-rating-value.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__stats-item-rating-value.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__stats-item-rating-value.svelte-1ols93u.svelte-1ols93u{margin-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__stats-item-rating-value.svelte-1ols93u.svelte-1ols93u{margin-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__stats-item-rating-value.svelte-1ols93u.svelte-1ols93u{margin-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__stats-item-rating-value.svelte-1ols93u.svelte-1ols93u{margin-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__stats-item-rating-value.svelte-1ols93u.svelte-1ols93u{margin-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__stats-item-rating-value.svelte-1ols93u.svelte-1ols93u{margin-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__stats-item-rating-value.svelte-1ols93u.svelte-1ols93u{margin-left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__stats-item-rating-value.svelte-1ols93u.svelte-1ols93u{line-height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__stats-item-rating-value.svelte-1ols93u.svelte-1ols93u{line-height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__stats-item-rating-value.svelte-1ols93u.svelte-1ols93u{line-height:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__stats-item-rating-value.svelte-1ols93u.svelte-1ols93u{line-height:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__stats-item-rating-value.svelte-1ols93u.svelte-1ols93u{line-height:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__stats-item-rating-value.svelte-1ols93u.svelte-1ols93u{line-height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__stats-item-rating-value.svelte-1ols93u.svelte-1ols93u{line-height:calc(0.0171875 * 100vw + 0px)}}.promo-referrals__stats-item-rating-value--small.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__stats-item-rating-value--small.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__stats-item-rating-value--small.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__stats-item-rating-value--small.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__stats-item-rating-value--small.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__stats-item-rating-value--small.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__stats-item-rating-value--small.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__stats-item-rating-value--small.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0114583333 * 100vw + 0px)}}.promo-referrals__reward-list-title.svelte-1ols93u.svelte-1ols93u{font-family:\"HeadingNowRegular\";color:#FFFFFF;text-align:center;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__reward-list-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__reward-list-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__reward-list-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__reward-list-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__reward-list-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__reward-list-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__reward-list-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0103125 * 100vw + 0px)}}.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u{display:flex;align-items:flex-end;overflow:auto;overflow-y:auto;width:calc(0.6666666667 * 100vw + 0px);height:calc(0.2083333333 * 100vw + 0px);padding-bottom:calc(0.0364583333 * 100vw + 0px)}.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u{width:calc(0.6666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u{width:calc(0.6666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u{width:calc(0.5133333333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u{width:calc(0.7333333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u{width:calc(0.4666666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u{width:calc(0.6 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u{width:calc(0.7333333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u{height:calc(0.2083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u{height:calc(0.2083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u{height:calc(0.1604166667 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u{height:calc(0.2291666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u{height:calc(0.1458333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u{height:calc(0.1875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u{height:calc(0.2291666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u{padding-bottom:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u{padding-bottom:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u{padding-bottom:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u{padding-bottom:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u{padding-bottom:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u{padding-bottom:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u{padding-bottom:calc(0.0401041667 * 100vw + 0px)}}.promo-referrals__reward-list-wrapper.svelte-1ols93u.svelte-1ols93u::-webkit-scrollbar{display:none}.promo-referrals__reward-item.svelte-1ols93u.svelte-1ols93u{display:flex;flex-direction:column;align-items:center;transform:translateY(-100%);position:absolute;top:calc(-0.0364583333 * 100vw + 0px);gap:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__reward-item.svelte-1ols93u.svelte-1ols93u{top:calc(-0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__reward-item.svelte-1ols93u.svelte-1ols93u{top:calc(-0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__reward-item.svelte-1ols93u.svelte-1ols93u{top:calc(-0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__reward-item.svelte-1ols93u.svelte-1ols93u{top:calc(-0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__reward-item.svelte-1ols93u.svelte-1ols93u{top:calc(-0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__reward-item.svelte-1ols93u.svelte-1ols93u{top:calc(-0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__reward-item.svelte-1ols93u.svelte-1ols93u{top:calc(-0.0401041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__reward-item.svelte-1ols93u.svelte-1ols93u{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__reward-item.svelte-1ols93u.svelte-1ols93u{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__reward-item.svelte-1ols93u.svelte-1ols93u{gap:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__reward-item.svelte-1ols93u.svelte-1ols93u{gap:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__reward-item.svelte-1ols93u.svelte-1ols93u{gap:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__reward-item.svelte-1ols93u.svelte-1ols93u{gap:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__reward-item.svelte-1ols93u.svelte-1ols93u{gap:calc(0.00859375 * 100vw + 0px)}}.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgb(13, 16, 17) 90%);border:2px solid rgba(255, 255, 255, 0.05);border-radius:calc(0.0104166667 * 100vw + 0px);width:calc(0.078125 * 100vw + 0px);height:calc(0.078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u{width:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u{width:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u{width:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u{width:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u{width:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u{width:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u{width:calc(0.0859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u{height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u{height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u{height:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u{height:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u{height:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u{height:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u{height:calc(0.0859375 * 100vw + 0px)}}.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:after{content:\"\";position:absolute;background-color:var(--shadowColor);bottom:0;width:calc(0.0291666667 * 100vw + 0px);height:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:after{width:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:after{width:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:after{width:calc(0.0224583333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:after{width:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:after{width:calc(0.0204166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:after{width:calc(0.02625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:after{width:calc(0.0320833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:after{height:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:after{height:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:after{height:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:after{height:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:after{height:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:after{height:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:after{height:calc(0.0022916667 * 100vw + 0px)}}.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:before{content:\"\";position:absolute;background-color:var(--shadowColor);filter:blur(20px);border-radius:100%;bottom:calc(-0.0104166667 * 100vw + 0px);width:calc(0.0729166667 * 100vw + 0px);height:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:before{bottom:calc(-0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:before{bottom:calc(-0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:before{bottom:calc(-0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:before{bottom:calc(-0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:before{bottom:calc(-0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:before{bottom:calc(-0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:before{bottom:calc(-0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:before{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:before{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:before{width:calc(0.0561458333 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:before{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:before{width:calc(0.0510416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:before{width:calc(0.065625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:before{width:calc(0.0802083333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:before{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:before{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:before{height:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:before{height:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:before{height:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:before{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__reward-item-image-wrapper.svelte-1ols93u.svelte-1ols93u:before{height:calc(0.0171875 * 100vw + 0px)}}.promo-referrals__reward-item-image.svelte-1ols93u.svelte-1ols93u{z-index:2;height:calc(0.0625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__reward-item-image.svelte-1ols93u.svelte-1ols93u{height:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__reward-item-image.svelte-1ols93u.svelte-1ols93u{height:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__reward-item-image.svelte-1ols93u.svelte-1ols93u{height:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__reward-item-image.svelte-1ols93u.svelte-1ols93u{height:calc(0.06875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__reward-item-image.svelte-1ols93u.svelte-1ols93u{height:calc(0.04375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__reward-item-image.svelte-1ols93u.svelte-1ols93u{height:calc(0.05625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__reward-item-image.svelte-1ols93u.svelte-1ols93u{height:calc(0.06875 * 100vw + 0px)}}.promo-referrals__reward-item-image-success.svelte-1ols93u.svelte-1ols93u{z-index:2;position:absolute;display:flex;justify-content:center;align-items:center;background-color:rgba(0, 0, 0, 0.5);width:100%;height:100%}.promo-referrals__reward-item-image-success-img.svelte-1ols93u.svelte-1ols93u{height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__reward-item-image-success-img.svelte-1ols93u.svelte-1ols93u{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__reward-item-image-success-img.svelte-1ols93u.svelte-1ols93u{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__reward-item-image-success-img.svelte-1ols93u.svelte-1ols93u{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__reward-item-image-success-img.svelte-1ols93u.svelte-1ols93u{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__reward-item-image-success-img.svelte-1ols93u.svelte-1ols93u{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__reward-item-image-success-img.svelte-1ols93u.svelte-1ols93u{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__reward-item-image-success-img.svelte-1ols93u.svelte-1ols93u{height:calc(0.0286458333 * 100vw + 0px)}}.promo-referrals__reward-item-image-received.svelte-1ols93u.svelte-1ols93u{z-index:2;position:absolute;display:flex;align-items:center;justify-content:center;width:100%;height:100%}.promo-referrals__reward-item-image-received-button.svelte-1ols93u.svelte-1ols93u{z-index:2;position:absolute;display:flex;align-items:center;justify-content:center;background:#FFFFFF;border:1px solid rgba(255, 255, 255, 0.05);cursor:pointer;transition:border 0.2s linear, color 0.2s linear;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.0651041667 * 100vw + 0px);height:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__reward-item-image-received-button.svelte-1ols93u.svelte-1ols93u{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__reward-item-image-received-button.svelte-1ols93u.svelte-1ols93u{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__reward-item-image-received-button.svelte-1ols93u.svelte-1ols93u{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__reward-item-image-received-button.svelte-1ols93u.svelte-1ols93u{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__reward-item-image-received-button.svelte-1ols93u.svelte-1ols93u{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__reward-item-image-received-button.svelte-1ols93u.svelte-1ols93u{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__reward-item-image-received-button.svelte-1ols93u.svelte-1ols93u{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__reward-item-image-received-button.svelte-1ols93u.svelte-1ols93u{width:calc(0.0651041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__reward-item-image-received-button.svelte-1ols93u.svelte-1ols93u{width:calc(0.0651041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__reward-item-image-received-button.svelte-1ols93u.svelte-1ols93u{width:calc(0.0501302083 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__reward-item-image-received-button.svelte-1ols93u.svelte-1ols93u{width:calc(0.0716145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__reward-item-image-received-button.svelte-1ols93u.svelte-1ols93u{width:calc(0.0455729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__reward-item-image-received-button.svelte-1ols93u.svelte-1ols93u{width:calc(0.05859375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__reward-item-image-received-button.svelte-1ols93u.svelte-1ols93u{width:calc(0.0716145833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__reward-item-image-received-button.svelte-1ols93u.svelte-1ols93u{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__reward-item-image-received-button.svelte-1ols93u.svelte-1ols93u{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__reward-item-image-received-button.svelte-1ols93u.svelte-1ols93u{height:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__reward-item-image-received-button.svelte-1ols93u.svelte-1ols93u{height:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__reward-item-image-received-button.svelte-1ols93u.svelte-1ols93u{height:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__reward-item-image-received-button.svelte-1ols93u.svelte-1ols93u{height:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__reward-item-image-received-button.svelte-1ols93u.svelte-1ols93u{height:calc(0.0275 * 100vw + 0px)}}.promo-referrals__reward-item-image-received-button.svelte-1ols93u.svelte-1ols93u::after{content:\"\";position:absolute;z-index:1;background:linear-gradient(91.81deg, #FCD80F 1.53%, #FF9112 59.82%);transition:opacity 0.2s linear;border:1px solid transparent;opacity:1;width:100%;height:100%;border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__reward-item-image-received-button.svelte-1ols93u.svelte-1ols93u::after{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__reward-item-image-received-button.svelte-1ols93u.svelte-1ols93u::after{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__reward-item-image-received-button.svelte-1ols93u.svelte-1ols93u::after{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__reward-item-image-received-button.svelte-1ols93u.svelte-1ols93u::after{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__reward-item-image-received-button.svelte-1ols93u.svelte-1ols93u::after{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__reward-item-image-received-button.svelte-1ols93u.svelte-1ols93u::after{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__reward-item-image-received-button.svelte-1ols93u.svelte-1ols93u::after{border-radius:calc(0.0057291667 * 100vw + 0px)}}.promo-referrals__reward-item-image-received-button.svelte-1ols93u.svelte-1ols93u:hover{border:1px solid rgba(0, 0, 0, 0.05)}.promo-referrals__reward-item-image-received-button.svelte-1ols93u:hover .promo-referrals__reward-item-image-received-button-title.svelte-1ols93u{color:rgba(0, 0, 0, 0.9)}.promo-referrals__reward-item-image-received-button.svelte-1ols93u.svelte-1ols93u:hover::after{opacity:0}.promo-referrals__reward-item-image-received-button-title.svelte-1ols93u.svelte-1ols93u{z-index:2;font-family:\"HeadingNowBold\";color:#111111;text-transform:uppercase;font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__reward-item-image-received-button-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__reward-item-image-received-button-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__reward-item-image-received-button-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__reward-item-image-received-button-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__reward-item-image-received-button-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__reward-item-image-received-button-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__reward-item-image-received-button-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.006875 * 100vw + 0px)}}.promo-referrals__reward-item-title.svelte-1ols93u.svelte-1ols93u{font-family:\"HeadingNowRegular\";color:rgba(255, 255, 255, 0.85);position:absolute;text-align:center;transform:translateY(100%);font-size:calc(0.00625 * 100vw + 0px);width:calc(0.0364583333 * 100vw + 0px);bottom:calc(-0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__reward-item-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__reward-item-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__reward-item-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__reward-item-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__reward-item-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__reward-item-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__reward-item-title.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__reward-item-title.svelte-1ols93u.svelte-1ols93u{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__reward-item-title.svelte-1ols93u.svelte-1ols93u{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__reward-item-title.svelte-1ols93u.svelte-1ols93u{width:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__reward-item-title.svelte-1ols93u.svelte-1ols93u{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__reward-item-title.svelte-1ols93u.svelte-1ols93u{width:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__reward-item-title.svelte-1ols93u.svelte-1ols93u{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__reward-item-title.svelte-1ols93u.svelte-1ols93u{width:calc(0.0401041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__reward-item-title.svelte-1ols93u.svelte-1ols93u{bottom:calc(-0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__reward-item-title.svelte-1ols93u.svelte-1ols93u{bottom:calc(-0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__reward-item-title.svelte-1ols93u.svelte-1ols93u{bottom:calc(-0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__reward-item-title.svelte-1ols93u.svelte-1ols93u{bottom:calc(-0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__reward-item-title.svelte-1ols93u.svelte-1ols93u{bottom:calc(-0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__reward-item-title.svelte-1ols93u.svelte-1ols93u{bottom:calc(-0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__reward-item-title.svelte-1ols93u.svelte-1ols93u{bottom:calc(-0.00859375 * 100vw + 0px)}}.promo-referrals__progress.svelte-1ols93u.svelte-1ols93u{position:relative;display:flex;margin-top:calc(0.0130208333 * 100vw + 0px);height:calc(0.04375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__progress.svelte-1ols93u.svelte-1ols93u{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__progress.svelte-1ols93u.svelte-1ols93u{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__progress.svelte-1ols93u.svelte-1ols93u{margin-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__progress.svelte-1ols93u.svelte-1ols93u{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__progress.svelte-1ols93u.svelte-1ols93u{margin-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__progress.svelte-1ols93u.svelte-1ols93u{margin-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__progress.svelte-1ols93u.svelte-1ols93u{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__progress.svelte-1ols93u.svelte-1ols93u{height:calc(0.04375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__progress.svelte-1ols93u.svelte-1ols93u{height:calc(0.04375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__progress.svelte-1ols93u.svelte-1ols93u{height:calc(0.0336875 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__progress.svelte-1ols93u.svelte-1ols93u{height:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__progress.svelte-1ols93u.svelte-1ols93u{height:calc(0.030625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__progress.svelte-1ols93u.svelte-1ols93u{height:calc(0.039375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__progress.svelte-1ols93u.svelte-1ols93u{height:calc(0.048125 * 100vw + 0px)}}.promo-referrals__progress-item.svelte-1ols93u.svelte-1ols93u{width:calc(0.1197916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__progress-item.svelte-1ols93u.svelte-1ols93u{width:calc(0.1197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__progress-item.svelte-1ols93u.svelte-1ols93u{width:calc(0.1197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__progress-item.svelte-1ols93u.svelte-1ols93u{width:calc(0.0922395833 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__progress-item.svelte-1ols93u.svelte-1ols93u{width:calc(0.1317708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__progress-item.svelte-1ols93u.svelte-1ols93u{width:calc(0.0838541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__progress-item.svelte-1ols93u.svelte-1ols93u{width:calc(0.1078125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__progress-item.svelte-1ols93u.svelte-1ols93u{width:calc(0.1317708333 * 100vw + 0px)}}.promo-referrals__progress-item.svelte-1ols93u.svelte-1ols93u:last-child{box-sizing:content-box;padding-right:calc(0.0520833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__progress-item.svelte-1ols93u.svelte-1ols93u:last-child{padding-right:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__progress-item.svelte-1ols93u.svelte-1ols93u:last-child{padding-right:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__progress-item.svelte-1ols93u.svelte-1ols93u:last-child{padding-right:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__progress-item.svelte-1ols93u.svelte-1ols93u:last-child{padding-right:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__progress-item.svelte-1ols93u.svelte-1ols93u:last-child{padding-right:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__progress-item.svelte-1ols93u.svelte-1ols93u:last-child{padding-right:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__progress-item.svelte-1ols93u.svelte-1ols93u:last-child{padding-right:calc(0.0572916667 * 100vw + 0px)}}.promo-referrals__progress-item-fill.svelte-1ols93u.svelte-1ols93u{display:flex;align-items:center;justify-content:center;position:relative;width:100%;height:calc(0.0364583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__progress-item-fill.svelte-1ols93u.svelte-1ols93u{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__progress-item-fill.svelte-1ols93u.svelte-1ols93u{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__progress-item-fill.svelte-1ols93u.svelte-1ols93u{height:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__progress-item-fill.svelte-1ols93u.svelte-1ols93u{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__progress-item-fill.svelte-1ols93u.svelte-1ols93u{height:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__progress-item-fill.svelte-1ols93u.svelte-1ols93u{height:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__progress-item-fill.svelte-1ols93u.svelte-1ols93u{height:calc(0.0401041667 * 100vw + 0px)}}.promo-referrals__progress-item-fill--filled.svelte-1ols93u .promo-referrals__progress-item-fill-line.svelte-1ols93u,.promo-referrals__progress-item-fill--filled.svelte-1ols93u .promo-referrals__progress-item-fill-line-level.svelte-1ols93u{background-color:#FFBF00}.promo-referrals__progress-item-fill--filled.svelte-1ols93u .promo-referrals__progress-item-fill-value.svelte-1ols93u{color:#16191D}.promo-referrals__progress-item-fill-line.svelte-1ols93u.svelte-1ols93u{position:absolute;background-color:#343940;width:100%;height:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__progress-item-fill-line.svelte-1ols93u.svelte-1ols93u{height:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__progress-item-fill-line.svelte-1ols93u.svelte-1ols93u{height:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__progress-item-fill-line.svelte-1ols93u.svelte-1ols93u{height:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__progress-item-fill-line.svelte-1ols93u.svelte-1ols93u{height:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__progress-item-fill-line.svelte-1ols93u.svelte-1ols93u{height:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__progress-item-fill-line.svelte-1ols93u.svelte-1ols93u{height:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__progress-item-fill-line.svelte-1ols93u.svelte-1ols93u{height:calc(0.006875 * 100vw + 0px)}}.promo-referrals__progress-item-fill-line-level-wrapper.svelte-1ols93u.svelte-1ols93u{display:flex;align-items:center;justify-content:center;position:absolute;right:0;z-index:1}.promo-referrals__progress-item-fill-line-level.svelte-1ols93u.svelte-1ols93u{display:flex;align-items:center;justify-content:center;background-color:#343940;transform:rotate(45deg);border-radius:calc(0.0083333333 * 100vw + 0px);height:calc(0.03125 * 100vw + 0px);width:calc(0.03125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__progress-item-fill-line-level.svelte-1ols93u.svelte-1ols93u{border-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__progress-item-fill-line-level.svelte-1ols93u.svelte-1ols93u{border-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__progress-item-fill-line-level.svelte-1ols93u.svelte-1ols93u{border-radius:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__progress-item-fill-line-level.svelte-1ols93u.svelte-1ols93u{border-radius:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__progress-item-fill-line-level.svelte-1ols93u.svelte-1ols93u{border-radius:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__progress-item-fill-line-level.svelte-1ols93u.svelte-1ols93u{border-radius:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__progress-item-fill-line-level.svelte-1ols93u.svelte-1ols93u{border-radius:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__progress-item-fill-line-level.svelte-1ols93u.svelte-1ols93u{height:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__progress-item-fill-line-level.svelte-1ols93u.svelte-1ols93u{height:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__progress-item-fill-line-level.svelte-1ols93u.svelte-1ols93u{height:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__progress-item-fill-line-level.svelte-1ols93u.svelte-1ols93u{height:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__progress-item-fill-line-level.svelte-1ols93u.svelte-1ols93u{height:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__progress-item-fill-line-level.svelte-1ols93u.svelte-1ols93u{height:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__progress-item-fill-line-level.svelte-1ols93u.svelte-1ols93u{height:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__progress-item-fill-line-level.svelte-1ols93u.svelte-1ols93u{width:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__progress-item-fill-line-level.svelte-1ols93u.svelte-1ols93u{width:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__progress-item-fill-line-level.svelte-1ols93u.svelte-1ols93u{width:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__progress-item-fill-line-level.svelte-1ols93u.svelte-1ols93u{width:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__progress-item-fill-line-level.svelte-1ols93u.svelte-1ols93u{width:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__progress-item-fill-line-level.svelte-1ols93u.svelte-1ols93u{width:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__progress-item-fill-line-level.svelte-1ols93u.svelte-1ols93u{width:calc(0.034375 * 100vw + 0px)}}.promo-referrals__progress-item-fill-value.svelte-1ols93u.svelte-1ols93u{font-family:PFDinDisplayProRegular;font-weight:900;transform:rotate(-45deg);color:#FFFFFF;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__progress-item-fill-value.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__progress-item-fill-value.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__progress-item-fill-value.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__progress-item-fill-value.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__progress-item-fill-value.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__progress-item-fill-value.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__progress-item-fill-value.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.01375 * 100vw + 0px)}}.promo-referrals__progress-item-fill-level-description-wrapper.svelte-1ols93u.svelte-1ols93u{display:flex;align-items:center;justify-content:center;position:absolute;transform:translateY(100%);bottom:0;width:calc(0.078125 * 100vw + 0px);height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__progress-item-fill-level-description-wrapper.svelte-1ols93u.svelte-1ols93u{width:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__progress-item-fill-level-description-wrapper.svelte-1ols93u.svelte-1ols93u{width:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__progress-item-fill-level-description-wrapper.svelte-1ols93u.svelte-1ols93u{width:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__progress-item-fill-level-description-wrapper.svelte-1ols93u.svelte-1ols93u{width:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__progress-item-fill-level-description-wrapper.svelte-1ols93u.svelte-1ols93u{width:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__progress-item-fill-level-description-wrapper.svelte-1ols93u.svelte-1ols93u{width:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__progress-item-fill-level-description-wrapper.svelte-1ols93u.svelte-1ols93u{width:calc(0.0859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__progress-item-fill-level-description-wrapper.svelte-1ols93u.svelte-1ols93u{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__progress-item-fill-level-description-wrapper.svelte-1ols93u.svelte-1ols93u{height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__progress-item-fill-level-description-wrapper.svelte-1ols93u.svelte-1ols93u{height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__progress-item-fill-level-description-wrapper.svelte-1ols93u.svelte-1ols93u{height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__progress-item-fill-level-description-wrapper.svelte-1ols93u.svelte-1ols93u{height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__progress-item-fill-level-description-wrapper.svelte-1ols93u.svelte-1ols93u{height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__progress-item-fill-level-description-wrapper.svelte-1ols93u.svelte-1ols93u{height:calc(0.0286458333 * 100vw + 0px)}}.promo-referrals__progress-item-fill-level-description.svelte-1ols93u.svelte-1ols93u{position:absolute;width:100%;font-family:\"HeadingNowRegular\";color:#FFFFFF;text-align:center;font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo-referrals__progress-item-fill-level-description.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo-referrals__progress-item-fill-level-description.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo-referrals__progress-item-fill-level-description.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.promo-referrals__progress-item-fill-level-description.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo-referrals__progress-item-fill-level-description.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo-referrals__progress-item-fill-level-description.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.promo-referrals__progress-item-fill-level-description.svelte-1ols93u.svelte-1ols93u{font-size:calc(0.0080208333 * 100vw + 0px)}}");
}

function referrals_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[10] = list[i];
	return child_ctx;
}

// (3032:2) {#if $referralsInfo.referralsRewards}
function referrals_index_svelte_create_if_block(ctx) {
	let div1;
	let div0;
	let mounted;
	let dispose;
	let each_value = /*$referralsInfo*/ ctx[1].referralsRewards;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = referrals_index_svelte_create_each_block(referrals_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div0, "class", "promo-referrals__progress svelte-1ols93u");
			attr(div1, "class", "promo-referrals__reward-list-wrapper svelte-1ols93u");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			/*div1_binding*/ ctx[7](div1);

			if (!mounted) {
				dispose = listen(div1, "wheel", /*handleWheel*/ ctx[2]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*$referralsInfo, Success, takeReward, CDN_ITEMS_URL*/ 66) {
				each_value = /*$referralsInfo*/ ctx[1].referralsRewards;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = referrals_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = referrals_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div0, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			destroy_each(each_blocks, detaching);
			/*div1_binding*/ ctx[7](null);
			mounted = false;
			dispose();
		}
	};
}

// (3075:67) 
function referrals_index_svelte_create_if_block_2(ctx) {
	let div1;
	let div0;
	let mounted;
	let dispose;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			div0.innerHTML = `<p class="promo-referrals__reward-item-image-received-button-title svelte-1ols93u">Получить</p>`;
			attr(div0, "class", "promo-referrals__reward-item-image-received-button svelte-1ols93u");
			attr(div1, "class", "promo-referrals__reward-item-image-received svelte-1ols93u");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);

			if (!mounted) {
				dispose = listen(div0, "click", function () {
					if (internal_is_function(/*takeReward*/ ctx[6](/*reward*/ ctx[10].id))) /*takeReward*/ ctx[6](/*reward*/ ctx[10].id).apply(this, arguments);
				});

				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
		},
		d(detaching) {
			if (detaching) detach(div1);
			mounted = false;
			dispose();
		}
	};
}

// (3067:20) {#if reward.received}
function referrals_index_svelte_create_if_block_1(ctx) {
	let div;
	let img;
	let img_src_value;

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			attr(img, "class", "promo-referrals__reward-item-image-success-img svelte-1ols93u");
			if (!src_url_equal(img.src, img_src_value = promo_img_success_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "success");
			attr(div, "class", "promo-referrals__reward-item-image-success svelte-1ols93u");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (3039:8) {#each $referralsInfo.referralsRewards as reward}
function referrals_index_svelte_create_each_block(ctx) {
	let div7;
	let div6;
	let div0;
	let t0;
	let div5;
	let div1;
	let p0;
	let t1_value = /*reward*/ ctx[10].id + 1 + "";
	let t1;
	let t2;
	let div2;
	let p1;
	let t3_value = /*reward*/ ctx[10].requirement + "";
	let t3;
	let t4;
	let div4;
	let div3;
	let img;
	let img_src_value;
	let t5;
	let div3_style_value;
	let t6;
	let p2;
	let t7_value = /*reward*/ ctx[10].title + "";
	let t7;
	let t8;

	function select_block_type(ctx, dirty) {
		if (/*reward*/ ctx[10].received) return referrals_index_svelte_create_if_block_1;
		if (!/*reward*/ ctx[10].received && /*reward*/ ctx[10].available) return referrals_index_svelte_create_if_block_2;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block = current_block_type && current_block_type(ctx);

	return {
		c() {
			div7 = internal_element("div");
			div6 = internal_element("div");
			div0 = internal_element("div");
			t0 = space();
			div5 = internal_element("div");
			div1 = internal_element("div");
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			div2 = internal_element("div");
			p1 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = space();
			div4 = internal_element("div");
			div3 = internal_element("div");
			img = internal_element("img");
			t5 = space();
			if (if_block) if_block.c();
			t6 = space();
			p2 = internal_element("p");
			t7 = internal_text(t7_value);
			t8 = space();
			attr(div0, "class", "promo-referrals__progress-item-fill-line svelte-1ols93u");
			attr(p0, "class", "promo-referrals__progress-item-fill-value svelte-1ols93u");
			attr(div1, "class", "promo-referrals__progress-item-fill-line-level svelte-1ols93u");
			attr(p1, "class", "promo-referrals__progress-item-fill-level-description svelte-1ols93u");
			attr(div2, "class", "promo-referrals__progress-item-fill-level-description-wrapper svelte-1ols93u");
			attr(img, "class", "promo-referrals__reward-item-image svelte-1ols93u");
			if (!src_url_equal(img.src, img_src_value = `${CDN_ITEMS_URL}/${/*reward*/ ctx[10].image}`)) attr(img, "src", img_src_value);
			attr(img, "alt", "reward");
			attr(div3, "class", "promo-referrals__reward-item-image-wrapper svelte-1ols93u");
			attr(div3, "style", div3_style_value = `--shadowColor: ${/*reward*/ ctx[10].color};`);
			attr(p2, "class", "promo-referrals__reward-item-title svelte-1ols93u");
			attr(div4, "class", "promo-referrals__reward-item svelte-1ols93u");
			attr(div5, "class", "promo-referrals__progress-item-fill-line-level-wrapper svelte-1ols93u");
			attr(div6, "class", "promo-referrals__progress-item-fill svelte-1ols93u");
			toggle_class(div6, "promo-referrals__progress-item-fill--filled", /*reward*/ ctx[10].available || /*reward*/ ctx[10].received || /*reward*/ ctx[10].skipped);
			attr(div7, "class", "promo-referrals__progress-item svelte-1ols93u");
		},
		m(target, anchor) {
			insert(target, div7, anchor);
			append(div7, div6);
			append(div6, div0);
			append(div6, t0);
			append(div6, div5);
			append(div5, div1);
			append(div1, p0);
			append(p0, t1);
			append(div5, t2);
			append(div5, div2);
			append(div2, p1);
			append(p1, t3);
			append(div5, t4);
			append(div5, div4);
			append(div4, div3);
			append(div3, img);
			append(div3, t5);
			if (if_block) if_block.m(div3, null);
			append(div4, t6);
			append(div4, p2);
			append(p2, t7);
			append(div7, t8);
		},
		p(ctx, dirty) {
			if (dirty & /*$referralsInfo*/ 2 && t1_value !== (t1_value = /*reward*/ ctx[10].id + 1 + "")) set_data(t1, t1_value);
			if (dirty & /*$referralsInfo*/ 2 && t3_value !== (t3_value = /*reward*/ ctx[10].requirement + "")) set_data(t3, t3_value);

			if (dirty & /*$referralsInfo*/ 2 && !src_url_equal(img.src, img_src_value = `${CDN_ITEMS_URL}/${/*reward*/ ctx[10].image}`)) {
				attr(img, "src", img_src_value);
			}

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if (if_block) if_block.d(1);
				if_block = current_block_type && current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div3, null);
				}
			}

			if (dirty & /*$referralsInfo*/ 2 && div3_style_value !== (div3_style_value = `--shadowColor: ${/*reward*/ ctx[10].color};`)) {
				attr(div3, "style", div3_style_value);
			}

			if (dirty & /*$referralsInfo*/ 2 && t7_value !== (t7_value = /*reward*/ ctx[10].title + "")) set_data(t7, t7_value);

			if (dirty & /*$referralsInfo*/ 2) {
				toggle_class(div6, "promo-referrals__progress-item-fill--filled", /*reward*/ ctx[10].available || /*reward*/ ctx[10].received || /*reward*/ ctx[10].skipped);
			}
		},
		d(detaching) {
			if (detaching) detach(div7);

			if (if_block) {
				if_block.d();
			}
		}
	};
}

function referrals_index_svelte_create_fragment(ctx) {
	let div9;
	let div5;
	let div0;
	let p0;
	let t1;
	let p1;
	let t2_value = /*$referralsInfo*/ ctx[1].name + "";
	let t2;
	let t3;
	let div4;
	let div1;
	let t4;
	let div2;
	let t7;
	let div3;
	let t10;
	let div8;
	let div6;
	let img0;
	let img0_src_value;
	let t11;
	let p4;
	let t12_value = /*$referralsInfo*/ ctx[1].referralsValue + "";
	let t12;
	let t13;
	let p5;
	let t15;
	let div7;
	let img1;
	let img1_src_value;
	let t16;
	let p6;
	let t17_value = /*$referralsInfo*/ ctx[1].cashBack + "";
	let t17;
	let t18;
	let span;
	let t20;
	let p7;
	let t22;
	let p8;
	let t24;
	let mounted;
	let dispose;
	let if_block = /*$referralsInfo*/ ctx[1].referralsRewards && referrals_index_svelte_create_if_block(ctx);

	return {
		c() {
			div9 = internal_element("div");
			div5 = internal_element("div");
			div0 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Ваш никнейм";
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(t2_value);
			t3 = space();
			div4 = internal_element("div");
			div1 = internal_element("div");
			div1.innerHTML = `<i class="promo-referrals__info-control-button-icon icon-information-cirlce svelte-1ols93u"></i>`;
			t4 = space();
			div2 = internal_element("div");

			div2.innerHTML = `<i class="promo-referrals__info-control-button-icon icon-promo-list svelte-1ols93u"></i> 
        <p class="promo-referrals__info-control-button-title svelte-1ols93u">Список рефералов</p>`;

			t7 = space();
			div3 = internal_element("div");

			div3.innerHTML = `<i class="promo-referrals__info-control-button-icon icon-promo-change svelte-1ols93u"></i> 
        <p class="promo-referrals__info-control-button-title svelte-1ols93u">Редактировать возврат</p>`;

			t10 = space();
			div8 = internal_element("div");
			div6 = internal_element("div");
			img0 = internal_element("img");
			t11 = space();
			p4 = internal_element("p");
			t12 = internal_text(t12_value);
			t13 = space();
			p5 = internal_element("p");
			p5.textContent = "Кол-во рефералов";
			t15 = space();
			div7 = internal_element("div");
			img1 = internal_element("img");
			t16 = space();
			p6 = internal_element("p");
			t17 = internal_text(t17_value);
			t18 = space();
			span = internal_element("span");
			span.textContent = "руб.";
			t20 = space();
			p7 = internal_element("p");
			p7.textContent = "Возврат рефералам";
			t22 = space();
			p8 = internal_element("p");
			p8.textContent = "Награды за рефералов";
			t24 = space();
			if (if_block) if_block.c();
			attr(p0, "class", "promo-referrals__info-promo-title svelte-1ols93u");
			attr(p1, "class", "promo-referrals__info-promo svelte-1ols93u");
			attr(div0, "class", "promo-referrals__info-promo-wrapper");
			attr(div1, "class", "promo-referrals__info-control-button promo-referrals__info-control-button--small svelte-1ols93u");
			attr(div2, "class", "promo-referrals__info-control-button svelte-1ols93u");
			attr(div3, "class", "promo-referrals__info-control-button svelte-1ols93u");
			attr(div4, "class", "promo-referrals__info-control svelte-1ols93u");
			attr(div5, "class", "promo-referrals__info svelte-1ols93u");
			attr(img0, "class", "promo-referrals__stats-item-background svelte-1ols93u");
			if (!src_url_equal(img0.src, img0_src_value = background_list_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "background");
			attr(p4, "class", "promo-referrals__stats-item-lvl-title svelte-1ols93u");
			attr(p5, "class", "promo-referrals__stats-item-title svelte-1ols93u");
			attr(div6, "class", "promo-referrals__stats-item svelte-1ols93u");
			attr(img1, "class", "promo-referrals__stats-item-background svelte-1ols93u");
			if (!src_url_equal(img1.src, img1_src_value = background_cashback_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "background");
			attr(span, "class", "promo-referrals__stats-item-rating-value--small svelte-1ols93u");
			attr(p6, "class", "promo-referrals__stats-item-rating-value svelte-1ols93u");
			attr(p7, "class", "promo-referrals__stats-item-title promo-referrals__stats-item-title--light svelte-1ols93u");
			attr(div7, "class", "promo-referrals__stats-item svelte-1ols93u");
			attr(div8, "class", "promo-referrals__stats svelte-1ols93u");
			attr(p8, "class", "promo-referrals__reward-list-title svelte-1ols93u");
			attr(div9, "class", "promo-referrals");
		},
		m(target, anchor) {
			insert(target, div9, anchor);
			append(div9, div5);
			append(div5, div0);
			append(div0, p0);
			append(div0, t1);
			append(div0, p1);
			append(p1, t2);
			append(div5, t3);
			append(div5, div4);
			append(div4, div1);
			append(div4, t4);
			append(div4, div2);
			append(div4, t7);
			append(div4, div3);
			append(div9, t10);
			append(div9, div8);
			append(div8, div6);
			append(div6, img0);
			append(div6, t11);
			append(div6, p4);
			append(p4, t12);
			append(div6, t13);
			append(div6, p5);
			append(div8, t15);
			append(div8, div7);
			append(div7, img1);
			append(div7, t16);
			append(div7, p6);
			append(p6, t17);
			append(p6, t18);
			append(p6, span);
			append(div7, t20);
			append(div7, p7);
			append(div9, t22);
			append(div9, p8);
			append(div9, t24);
			if (if_block) if_block.m(div9, null);

			if (!mounted) {
				dispose = [
					listen(div1, "click", /*openInfo*/ ctx[3]),
					listen(div2, "click", /*openReferralsList*/ ctx[4]),
					listen(div3, "click", /*edit*/ ctx[5])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*$referralsInfo*/ 2 && t2_value !== (t2_value = /*$referralsInfo*/ ctx[1].name + "")) set_data(t2, t2_value);
			if (dirty & /*$referralsInfo*/ 2 && t12_value !== (t12_value = /*$referralsInfo*/ ctx[1].referralsValue + "")) set_data(t12, t12_value);
			if (dirty & /*$referralsInfo*/ 2 && t17_value !== (t17_value = /*$referralsInfo*/ ctx[1].cashBack + "")) set_data(t17, t17_value);

			if (/*$referralsInfo*/ ctx[1].referralsRewards) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = referrals_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div9, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div9);
			if (if_block) if_block.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function referrals_index_svelte_instance($$self, $$props, $$invalidate) {
	let $referralsInfo;
	component_subscribe($$self, referralsInfo, $$value => $$invalidate(1, $referralsInfo = $$value));
	let containerRef;

	const initializePlayerInfo = playerInfoDto => {
		set_store_value(referralsInfo, $referralsInfo = playerInfoDto, $referralsInfo);
	};

	const handleWheel = event => {
		$$invalidate(0, containerRef.scrollLeft += event.deltaY, containerRef);
	};

	const openInfo = () => {
		sendClientMessage('promo.referrals.openInfo');
	};

	const openReferralsList = () => {
		sendClientMessage('promo.referrals.openReferralsList');
	};

	const edit = () => {
		sendClientMessage('promo.referrals.edit');
	};

	const takeReward = id => {
		sendClientMessage('promo.referrals.takeReward', id);
	};

	const unregisterInitializeEvent = registerEvent('event.promo.referrals.initializePlayerInfo', initializePlayerInfo);

	onMount(() => {
		sendClientMessage('promo.referrals.opened');
	});

	onDestroy(() => {
		unregisterInitializeEvent();
	});

	function div1_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			containerRef = $$value;
			$$invalidate(0, containerRef);
		});
	}

	return [
		containerRef,
		$referralsInfo,
		handleWheel,
		openInfo,
		openReferralsList,
		edit,
		takeReward,
		div1_binding
	];
}

class Referrals extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, referrals_index_svelte_instance, referrals_index_svelte_create_fragment, safe_not_equal, {}, referrals_index_svelte_add_css);
	}
}

/* harmony default export */ const referrals_index_svelte = (Referrals);
;// CONCATENATED MODULE: ./src/views/promo/constants.js
function promo_constants_typeof(o) { "@babel/helpers - typeof"; return promo_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, promo_constants_typeof(o); }
function promo_constants_defineProperty(e, r, t) { return (r = promo_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function promo_constants_toPropertyKey(t) { var i = promo_constants_toPrimitive(t, "string"); return "symbol" == promo_constants_typeof(i) ? i : i + ""; }
function promo_constants_toPrimitive(t, r) { if ("object" != promo_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != promo_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }



var PromoTabId = {
  Activation: 'activation',
  Control: 'control',
  Referrals: 'referrals'
};
var constants_SETTINGS_TABS = [{
  id: PromoTabId.Activation,
  title: 'Активация'
}, {
  id: PromoTabId.Control,
  title: 'Управление'
}, {
  id: PromoTabId.Referrals,
  title: 'Рефералы'
}];
var constants_MAP_ID_TO_BODY = promo_constants_defineProperty(promo_constants_defineProperty(promo_constants_defineProperty({}, PromoTabId.Activation, activation_index_svelte), PromoTabId.Control, control_index_svelte), PromoTabId.Referrals, referrals_index_svelte);
;// CONCATENATED MODULE: ./src/views/promo/index.svelte
/* src\views\promo\index.svelte generated by Svelte v3.49.0 */








function promo_index_svelte_add_css(target) {
	append_styles(target, "svelte-1dnq18x", "@keyframes svelte-1dnq18x-blinking{50%{opacity:0}}@keyframes svelte-1dnq18x-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1dnq18x-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1dnq18x-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1dnq18x-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1dnq18x-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1dnq18x-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1dnq18x-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1dnq18x-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1dnq18x-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1dnq18x-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1dnq18x-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1dnq18x-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1dnq18x-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1dnq18x-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.promo.svelte-1dnq18x.svelte-1dnq18x{display:flex;align-items:center;justify-content:center;width:100vw;height:100vh}.promo__window.svelte-1dnq18x.svelte-1dnq18x{position:relative;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.6666666667 * 100vw + 0px);height:calc(0.4947916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo__window.svelte-1dnq18x.svelte-1dnq18x{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo__window.svelte-1dnq18x.svelte-1dnq18x{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo__window.svelte-1dnq18x.svelte-1dnq18x{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.promo__window.svelte-1dnq18x.svelte-1dnq18x{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo__window.svelte-1dnq18x.svelte-1dnq18x{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo__window.svelte-1dnq18x.svelte-1dnq18x{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.promo__window.svelte-1dnq18x.svelte-1dnq18x{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo__window.svelte-1dnq18x.svelte-1dnq18x{width:calc(0.6666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo__window.svelte-1dnq18x.svelte-1dnq18x{width:calc(0.6666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo__window.svelte-1dnq18x.svelte-1dnq18x{width:calc(0.5133333333 * 100vw + 0px)}}@media(min-width: 3440px){.promo__window.svelte-1dnq18x.svelte-1dnq18x{width:calc(0.7333333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo__window.svelte-1dnq18x.svelte-1dnq18x{width:calc(0.4666666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo__window.svelte-1dnq18x.svelte-1dnq18x{width:calc(0.6 * 100vw + 0px)}}@media(min-width: 4096px){.promo__window.svelte-1dnq18x.svelte-1dnq18x{width:calc(0.7333333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo__window.svelte-1dnq18x.svelte-1dnq18x{height:calc(0.4947916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo__window.svelte-1dnq18x.svelte-1dnq18x{height:calc(0.4947916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo__window.svelte-1dnq18x.svelte-1dnq18x{height:calc(0.3809895833 * 100vw + 0px)}}@media(min-width: 3440px){.promo__window.svelte-1dnq18x.svelte-1dnq18x{height:calc(0.5442708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo__window.svelte-1dnq18x.svelte-1dnq18x{height:calc(0.3463541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo__window.svelte-1dnq18x.svelte-1dnq18x{height:calc(0.4453125 * 100vw + 0px)}}@media(min-width: 4096px){.promo__window.svelte-1dnq18x.svelte-1dnq18x{height:calc(0.5442708333 * 100vw + 0px)}}.promo__window-background.svelte-1dnq18x.svelte-1dnq18x{z-index:-1;position:absolute;width:100%;height:100%}.promo__window-header.svelte-1dnq18x.svelte-1dnq18x{display:flex;align-items:center;gap:calc(0.35 * 100vw + 0px);margin-top:calc(0.0234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo__window-header.svelte-1dnq18x.svelte-1dnq18x{gap:calc(0.35 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo__window-header.svelte-1dnq18x.svelte-1dnq18x{gap:calc(0.35 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo__window-header.svelte-1dnq18x.svelte-1dnq18x{gap:calc(0.2695 * 100vw + 0px)}}@media(min-width: 3440px){.promo__window-header.svelte-1dnq18x.svelte-1dnq18x{gap:calc(0.385 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo__window-header.svelte-1dnq18x.svelte-1dnq18x{gap:calc(0.245 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo__window-header.svelte-1dnq18x.svelte-1dnq18x{gap:calc(0.315 * 100vw + 0px)}}@media(min-width: 4096px){.promo__window-header.svelte-1dnq18x.svelte-1dnq18x{gap:calc(0.385 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo__window-header.svelte-1dnq18x.svelte-1dnq18x{margin-top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo__window-header.svelte-1dnq18x.svelte-1dnq18x{margin-top:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo__window-header.svelte-1dnq18x.svelte-1dnq18x{margin-top:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.promo__window-header.svelte-1dnq18x.svelte-1dnq18x{margin-top:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo__window-header.svelte-1dnq18x.svelte-1dnq18x{margin-top:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo__window-header.svelte-1dnq18x.svelte-1dnq18x{margin-top:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.promo__window-header.svelte-1dnq18x.svelte-1dnq18x{margin-top:calc(0.02578125 * 100vw + 0px)}}.promo__window-header-nav-list.svelte-1dnq18x.svelte-1dnq18x{display:flex;gap:calc(0.0104166667 * 100vw + 0px);margin-left:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo__window-header-nav-list.svelte-1dnq18x.svelte-1dnq18x{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo__window-header-nav-list.svelte-1dnq18x.svelte-1dnq18x{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo__window-header-nav-list.svelte-1dnq18x.svelte-1dnq18x{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.promo__window-header-nav-list.svelte-1dnq18x.svelte-1dnq18x{gap:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo__window-header-nav-list.svelte-1dnq18x.svelte-1dnq18x{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo__window-header-nav-list.svelte-1dnq18x.svelte-1dnq18x{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.promo__window-header-nav-list.svelte-1dnq18x.svelte-1dnq18x{gap:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo__window-header-nav-list.svelte-1dnq18x.svelte-1dnq18x{margin-left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo__window-header-nav-list.svelte-1dnq18x.svelte-1dnq18x{margin-left:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo__window-header-nav-list.svelte-1dnq18x.svelte-1dnq18x{margin-left:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.promo__window-header-nav-list.svelte-1dnq18x.svelte-1dnq18x{margin-left:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo__window-header-nav-list.svelte-1dnq18x.svelte-1dnq18x{margin-left:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo__window-header-nav-list.svelte-1dnq18x.svelte-1dnq18x{margin-left:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.promo__window-header-nav-list.svelte-1dnq18x.svelte-1dnq18x{margin-left:calc(0.0286458333 * 100vw + 0px)}}.promo__window-header-nav.svelte-1dnq18x.svelte-1dnq18x{display:flex;align-items:center;justify-content:center;background-color:#343940;border:1px solid rgba(255, 255, 255, 0.1);cursor:pointer;transition:background-color 0.2s linear, border 0.2s linear, color 0.2s linear;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.078125 * 100vw + 0px);height:calc(0.021875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo__window-header-nav.svelte-1dnq18x.svelte-1dnq18x{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo__window-header-nav.svelte-1dnq18x.svelte-1dnq18x{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo__window-header-nav.svelte-1dnq18x.svelte-1dnq18x{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.promo__window-header-nav.svelte-1dnq18x.svelte-1dnq18x{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo__window-header-nav.svelte-1dnq18x.svelte-1dnq18x{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo__window-header-nav.svelte-1dnq18x.svelte-1dnq18x{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.promo__window-header-nav.svelte-1dnq18x.svelte-1dnq18x{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo__window-header-nav.svelte-1dnq18x.svelte-1dnq18x{width:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo__window-header-nav.svelte-1dnq18x.svelte-1dnq18x{width:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo__window-header-nav.svelte-1dnq18x.svelte-1dnq18x{width:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.promo__window-header-nav.svelte-1dnq18x.svelte-1dnq18x{width:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo__window-header-nav.svelte-1dnq18x.svelte-1dnq18x{width:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo__window-header-nav.svelte-1dnq18x.svelte-1dnq18x{width:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.promo__window-header-nav.svelte-1dnq18x.svelte-1dnq18x{width:calc(0.0859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.promo__window-header-nav.svelte-1dnq18x.svelte-1dnq18x{height:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo__window-header-nav.svelte-1dnq18x.svelte-1dnq18x{height:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo__window-header-nav.svelte-1dnq18x.svelte-1dnq18x{height:calc(0.01684375 * 100vw + 0px)}}@media(min-width: 3440px){.promo__window-header-nav.svelte-1dnq18x.svelte-1dnq18x{height:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo__window-header-nav.svelte-1dnq18x.svelte-1dnq18x{height:calc(0.0153125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo__window-header-nav.svelte-1dnq18x.svelte-1dnq18x{height:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 4096px){.promo__window-header-nav.svelte-1dnq18x.svelte-1dnq18x{height:calc(0.0240625 * 100vw + 0px)}}.promo__window-header-nav--selected.svelte-1dnq18x.svelte-1dnq18x,.promo__window-header-nav.svelte-1dnq18x.svelte-1dnq18x:hover{background-color:#FFFFFF;border:1px solid rgba(255, 255, 255, 0.05)}.promo__window-header-nav--selected.svelte-1dnq18x .promo__window-header-nav-title.svelte-1dnq18x,.promo__window-header-nav.svelte-1dnq18x:hover .promo__window-header-nav-title.svelte-1dnq18x{color:rgba(0, 0, 0, 0.9)}.promo__window-header-nav-title.svelte-1dnq18x.svelte-1dnq18x{font-family:\"HeadingNowBold\";color:rgba(255, 255, 255, 0.9);text-transform:uppercase;font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo__window-header-nav-title.svelte-1dnq18x.svelte-1dnq18x{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo__window-header-nav-title.svelte-1dnq18x.svelte-1dnq18x{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo__window-header-nav-title.svelte-1dnq18x.svelte-1dnq18x{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.promo__window-header-nav-title.svelte-1dnq18x.svelte-1dnq18x{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo__window-header-nav-title.svelte-1dnq18x.svelte-1dnq18x{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo__window-header-nav-title.svelte-1dnq18x.svelte-1dnq18x{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.promo__window-header-nav-title.svelte-1dnq18x.svelte-1dnq18x{font-size:calc(0.006875 * 100vw + 0px)}}.promo__window-header-exit.svelte-1dnq18x.svelte-1dnq18x{color:#FFFFFF;cursor:pointer;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.promo__window-header-exit.svelte-1dnq18x.svelte-1dnq18x{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.promo__window-header-exit.svelte-1dnq18x.svelte-1dnq18x{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.promo__window-header-exit.svelte-1dnq18x.svelte-1dnq18x{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.promo__window-header-exit.svelte-1dnq18x.svelte-1dnq18x{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.promo__window-header-exit.svelte-1dnq18x.svelte-1dnq18x{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.promo__window-header-exit.svelte-1dnq18x.svelte-1dnq18x{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.promo__window-header-exit.svelte-1dnq18x.svelte-1dnq18x{font-size:calc(0.0091666667 * 100vw + 0px)}}");
}

function promo_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[6] = list[i];
	return child_ctx;
}

// (680:8) {#each SETTINGS_TABS as tab}
function promo_index_svelte_create_each_block(ctx) {
	let div;
	let p;
	let t0_value = /*tab*/ ctx[6].title + "";
	let t0;
	let t1;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[3](/*tab*/ ctx[6]);
	}

	return {
		c() {
			div = internal_element("div");
			p = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			attr(p, "class", "promo__window-header-nav-title svelte-1dnq18x");
			attr(div, "class", "promo__window-header-nav svelte-1dnq18x");
			toggle_class(div, "promo__window-header-nav--selected", /*tab*/ ctx[6].id === /*selectedNavId*/ ctx[0]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, p);
			append(p, t0);
			append(div, t1);

			if (!mounted) {
				dispose = listen(div, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*SETTINGS_TABS, selectedNavId*/ 1) {
				toggle_class(div, "promo__window-header-nav--selected", /*tab*/ ctx[6].id === /*selectedNavId*/ ctx[0]);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

function promo_index_svelte_create_fragment(ctx) {
	let div3;
	let div2;
	let img;
	let img_src_value;
	let t0;
	let div1;
	let div0;
	let t1;
	let i;
	let t2;
	let switch_instance;
	let current;
	let mounted;
	let dispose;
	let each_value = constants_SETTINGS_TABS;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = promo_index_svelte_create_each_block(promo_index_svelte_get_each_context(ctx, each_value, i));
	}

	var switch_value = constants_MAP_ID_TO_BODY[/*selectedNavId*/ ctx[0]];

	function switch_props(ctx) {
		return {};
	}

	if (switch_value) {
		switch_instance = new switch_value(switch_props(ctx));
	}

	return {
		c() {
			div3 = internal_element("div");
			div2 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div1 = internal_element("div");
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t1 = space();
			i = internal_element("i");
			t2 = space();
			if (switch_instance) create_component(switch_instance.$$.fragment);
			attr(img, "class", "promo__window-background svelte-1dnq18x");
			if (!src_url_equal(img.src, img_src_value = window_background_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "background");
			attr(div0, "class", "promo__window-header-nav-list svelte-1dnq18x");
			attr(i, "class", "promo__window-header-exit icon-cancel svelte-1dnq18x");
			attr(div1, "class", "promo__window-header svelte-1dnq18x");
			attr(div2, "class", "promo__window svelte-1dnq18x");
			attr(div3, "class", "promo svelte-1dnq18x");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div2);
			append(div2, img);
			append(div2, t0);
			append(div2, div1);
			append(div1, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			append(div1, t1);
			append(div1, i);
			append(div2, t2);

			if (switch_instance) {
				mount_component(switch_instance, div2, null);
			}

			current = true;

			if (!mounted) {
				dispose = listen(i, "click", /*handleClose*/ ctx[2]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*SETTINGS_TABS, selectedNavId, selectNav*/ 3) {
				each_value = constants_SETTINGS_TABS;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = promo_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = promo_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div0, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if (switch_value !== (switch_value = constants_MAP_ID_TO_BODY[/*selectedNavId*/ ctx[0]])) {
				if (switch_instance) {
					group_outros();
					const old_component = switch_instance;

					transition_out(old_component.$$.fragment, 1, 0, () => {
						destroy_component(old_component, 1);
					});

					check_outros();
				}

				if (switch_value) {
					switch_instance = new switch_value(switch_props(ctx));
					create_component(switch_instance.$$.fragment);
					transition_in(switch_instance.$$.fragment, 1);
					mount_component(switch_instance, div2, null);
				} else {
					switch_instance = null;
				}
			} else if (switch_value) {
				
			}
		},
		i(local) {
			if (current) return;
			if (switch_instance) transition_in(switch_instance.$$.fragment, local);
			current = true;
		},
		o(local) {
			if (switch_instance) transition_out(switch_instance.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div3);
			destroy_each(each_blocks, detaching);
			if (switch_instance) destroy_component(switch_instance);
			mounted = false;
			dispose();
		}
	};
}

function promo_index_svelte_instance($$self, $$props, $$invalidate) {
	let selectedNavId = PromoTabId.Activation;

	const selectNav = id => {
		$$invalidate(0, selectedNavId = id);
	};

	const handleClose = () => {
		sendClientMessage('promo.exit');
	};

	const handleTabSelect = tab => {
		selectNav(tab.id);
	};

	const unregisterSetTabEvent = registerEvent('event.promo.selectTab', handleTabSelect);

	onDestroy(() => {
		unregisterSetTabEvent();
	});

	const click_handler = tab => selectNav(tab.id);
	return [selectedNavId, selectNav, handleClose, click_handler];
}

class Promo extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, promo_index_svelte_instance, promo_index_svelte_create_fragment, safe_not_equal, {}, promo_index_svelte_add_css);
	}
}

/* harmony default export */ const promo_index_svelte = (Promo);
;// CONCATENATED MODULE: ./src/views/starter-packs/index.svelte
/* src\views\starter-packs\index.svelte generated by Svelte v3.49.0 */








function starter_packs_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[9] = list[i];
	child_ctx[11] = i;
	return child_ctx;
}

function starter_packs_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[12] = list[i];
	return child_ctx;
}

// (94:20) {#if pack.discount}
function starter_packs_index_svelte_create_if_block_1(ctx) {
	let div2;
	let div0;
	let p0;
	let t0;
	let t1_value = /*pack*/ ctx[9].discount + "";
	let t1;
	let t2;
	let t3;
	let div1;
	let i;
	let t4;
	let p1;
	let t5_value = /*formatSecondsToHhMm*/ ctx[2](/*packsTimers*/ ctx[1][/*packIndex*/ ctx[11]]) + "";
	let t5;

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text("ВЫГОДА ");
			t1 = internal_text(t1_value);
			t2 = internal_text("%");
			t3 = space();
			div1 = internal_element("div");
			i = internal_element("i");
			t4 = space();
			p1 = internal_element("p");
			t5 = internal_text(t5_value);
			attr(p0, "class", "starter-packs__window-item-promotion-value");
			attr(div0, "class", "starter-packs__window-item-promotion-value-wrapper");
			attr(i, "class", "starter-packs__window-item-promotion-timer-icon icon-timer");
			attr(p1, "class", "starter-packs__window-item-promotion-timer-value");
			attr(div1, "class", "starter-packs__window-item-promotion-timer");
			attr(div2, "class", "starter-packs__window-item-promotion");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div0, p0);
			append(p0, t0);
			append(p0, t1);
			append(p0, t2);
			append(div2, t3);
			append(div2, div1);
			append(div1, i);
			append(div1, t4);
			append(div1, p1);
			append(p1, t5);
		},
		p(ctx, dirty) {
			if (dirty & /*packs*/ 1 && t1_value !== (t1_value = /*pack*/ ctx[9].discount + "")) set_data(t1, t1_value);
			if (dirty & /*packsTimers*/ 2 && t5_value !== (t5_value = /*formatSecondsToHhMm*/ ctx[2](/*packsTimers*/ ctx[1][/*packIndex*/ ctx[11]]) + "")) set_data(t5, t5_value);
		},
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

// (116:24) {#each pack.rewards as reward}
function starter_packs_index_svelte_create_each_block_1(ctx) {
	let div1;
	let div0;
	let img;
	let img_src_value;
	let div0_style_value;
	let t0;
	let p;
	let t1_value = /*reward*/ ctx[12].title + "";
	let t1;
	let t2;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(img, "class", "starter-packs__window-item-reward-icon");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/starter-packs/images/${/*reward*/ ctx[12].icon}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "reward-img");
			attr(div0, "class", "starter-packs__window-item-reward-icon-wrapper");
			attr(div0, "style", div0_style_value = `--colorGlow: ${/*reward*/ ctx[12].color}`);
			attr(p, "class", "starter-packs__window-item-reward-title");
			attr(div1, "class", "starter-packs__window-item-reward");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, img);
			append(div1, t0);
			append(div1, p);
			append(p, t1);
			append(div1, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*packs*/ 1 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/starter-packs/images/${/*reward*/ ctx[12].icon}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*packs*/ 1 && div0_style_value !== (div0_style_value = `--colorGlow: ${/*reward*/ ctx[12].color}`)) {
				attr(div0, "style", div0_style_value);
			}

			if (dirty & /*packs*/ 1 && t1_value !== (t1_value = /*reward*/ ctx[12].title + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (138:24) {#if pack.discount}
function starter_packs_index_svelte_create_if_block(ctx) {
	let p;
	let t_value = /*pack*/ ctx[9].oldPrice + "";
	let t;

	return {
		c() {
			p = internal_element("p");
			t = internal_text(t_value);
			attr(p, "class", "starter-packs__window-item-button-title starter-packs__window-item-button-title--oldPrice");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t);
		},
		p(ctx, dirty) {
			if (dirty & /*packs*/ 1 && t_value !== (t_value = /*pack*/ ctx[9].oldPrice + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (87:12) {#each packs as pack, packIndex}
function starter_packs_index_svelte_create_each_block(ctx) {
	let div2;
	let img;
	let img_src_value;
	let t0;
	let t1;
	let p0;
	let t2;
	let t3_value = /*pack*/ ctx[9].level + "";
	let t3;
	let t4;
	let t5;
	let p1;
	let raw_value = /*pack*/ ctx[9].title + "";
	let t6;
	let div0;
	let t7;
	let div1;
	let t8;
	let p2;
	let t9_value = /*pack*/ ctx[9].price + "";
	let t9;
	let t10;
	let t11;
	let mounted;
	let dispose;
	let if_block0 = /*pack*/ ctx[9].discount && starter_packs_index_svelte_create_if_block_1(ctx);
	let each_value_1 = /*pack*/ ctx[9].rewards;
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = starter_packs_index_svelte_create_each_block_1(starter_packs_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	let if_block1 = /*pack*/ ctx[9].discount && starter_packs_index_svelte_create_if_block(ctx);

	function click_handler() {
		return /*click_handler*/ ctx[5](/*pack*/ ctx[9]);
	}

	return {
		c() {
			div2 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			if (if_block0) if_block0.c();
			t1 = space();
			p0 = internal_element("p");
			t2 = internal_text("Доступно до ");
			t3 = internal_text(t3_value);
			t4 = internal_text(" уровня");
			t5 = space();
			p1 = internal_element("p");
			t6 = space();
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t7 = space();
			div1 = internal_element("div");
			if (if_block1) if_block1.c();
			t8 = space();
			p2 = internal_element("p");
			t9 = internal_text(t9_value);
			t10 = internal_text(" рублей");
			t11 = space();
			attr(img, "class", "starter-packs__window-item-background");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/starter-packs/images/${/*pack*/ ctx[9].image}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "background-img");
			attr(p0, "class", "starter-packs__window-item-lvl");
			attr(p1, "class", "starter-packs__window-item-title");
			attr(div0, "class", "starter-packs__window-item-rewards");
			attr(p2, "class", "starter-packs__window-item-button-title");
			attr(div1, "class", "starter-packs__window-item-button");
			attr(div2, "class", "starter-packs__window-item");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, img);
			append(div2, t0);
			if (if_block0) if_block0.m(div2, null);
			append(div2, t1);
			append(div2, p0);
			append(p0, t2);
			append(p0, t3);
			append(p0, t4);
			append(div2, t5);
			append(div2, p1);
			p1.innerHTML = raw_value;
			append(div2, t6);
			append(div2, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			append(div2, t7);
			append(div2, div1);
			if (if_block1) if_block1.m(div1, null);
			append(div1, t8);
			append(div1, p2);
			append(p2, t9);
			append(p2, t10);
			append(div2, t11);

			if (!mounted) {
				dispose = listen(div1, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*packs*/ 1 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/starter-packs/images/${/*pack*/ ctx[9].image}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (/*pack*/ ctx[9].discount) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = starter_packs_index_svelte_create_if_block_1(ctx);
					if_block0.c();
					if_block0.m(div2, t1);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty & /*packs*/ 1 && t3_value !== (t3_value = /*pack*/ ctx[9].level + "")) set_data(t3, t3_value);
			if (dirty & /*packs*/ 1 && raw_value !== (raw_value = /*pack*/ ctx[9].title + "")) p1.innerHTML = raw_value;;

			if (dirty & /*packs, CDN_URL_RODINA*/ 1) {
				each_value_1 = /*pack*/ ctx[9].rewards;
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = starter_packs_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = starter_packs_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div0, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}

			if (/*pack*/ ctx[9].discount) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = starter_packs_index_svelte_create_if_block(ctx);
					if_block1.c();
					if_block1.m(div1, t8);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty & /*packs*/ 1 && t9_value !== (t9_value = /*pack*/ ctx[9].price + "")) set_data(t9, t9_value);
		},
		d(detaching) {
			if (detaching) detach(div2);
			if (if_block0) if_block0.d();
			destroy_each(each_blocks, detaching);
			if (if_block1) if_block1.d();
			mounted = false;
			dispose();
		}
	};
}

function starter_packs_index_svelte_create_fragment(ctx) {
	let div3;
	let div2;
	let div0;
	let p;
	let t1;
	let i;
	let t2;
	let div1;
	let mounted;
	let dispose;
	let each_value = /*packs*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = starter_packs_index_svelte_create_each_block(starter_packs_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div3 = internal_element("div");
			div2 = internal_element("div");
			div0 = internal_element("div");
			p = internal_element("p");
			p.textContent = "СТАРТОВЫЕ НАБОРЫ";
			t1 = space();
			i = internal_element("i");
			t2 = space();
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(p, "class", "starter-packs__window-header-title");
			attr(i, "class", "starter-packs__window-header-exit icon-cancel");
			attr(div0, "class", "starter-packs__window-header");
			attr(div1, "class", "starter-packs__window-list");
			attr(div2, "class", "starter-packs__window");
			attr(div3, "class", "starter-packs");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div2);
			append(div2, div0);
			append(div0, p);
			append(div0, t1);
			append(div0, i);
			append(div2, t2);
			append(div2, div1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}

			if (!mounted) {
				dispose = listen(i, "click", /*close*/ ctx[3]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*buyPack, packs, CDN_URL_RODINA, formatSecondsToHhMm, packsTimers*/ 23) {
				each_value = /*packs*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = starter_packs_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = starter_packs_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div1, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div3);
			destroy_each(each_blocks, detaching);
			mounted = false;
			dispose();
		}
	};
}

function starter_packs_index_svelte_instance($$self, $$props, $$invalidate) {
	let packs = [];
	const packsTimers = {};
	let timerIntervalId = null;

	const initializePacks = packsDto => {
		$$invalidate(0, packs = packsDto);

		packs.forEach(({ time }, index) => {
			if (time && time > 0) {
				$$invalidate(1, packsTimers[index] = time, packsTimers);
			}
		});

		if (Object.values(packsTimers).length) {
			timerIntervalId = setInterval(
				() => {
					Object.entries(packsTimers).forEach(([key, value]) => {
						if (value > 0) {
							$$invalidate(1, packsTimers[key] -= 1, packsTimers);
						} else {
							delete packsTimers[key];
						}
					});

					if (!Object.values(packsTimers).length) {
						clearInterval(timerIntervalId);
						timerIntervalId = null;
					}
				},
				1000
			);
		}
	};

	const formatSecondsToHhMm = seconds => {
		if (seconds <= 0) {
			return '0 час. 0 мин.';
		}

		const minutes = Math.floor(seconds / 60);
		const hours = Math.floor(minutes / 60, 10);
		const formattedMinutes = Math.floor(minutes - hours * 60);
		return `${hours} час. ${formattedMinutes} мин.`;
	};

	const close = () => {
		sendClientMessage('starterPacks.close');
	};

	const buyPack = id => {
		sendClientMessage('starterPacks.buy', id);
	};

	const unregisterInitializePacksEvent = registerEvent('event.starterPacks.initializePacks', initializePacks);

	onDestroy(() => {
		unregisterInitializePacksEvent();

		if (timerIntervalId) {
			clearInterval(timerIntervalId);
		}
	});

	const click_handler = pack => buyPack(pack.id);
	return [packs, packsTimers, formatSecondsToHhMm, close, buyPack, click_handler];
}

class Starter_packs extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, starter_packs_index_svelte_instance, starter_packs_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const starter_packs_index_svelte = (Starter_packs);
;// CONCATENATED MODULE: ./src/views/donate-shop/img/icons/coin.svg
const donate_shop_img_icons_coin_namespaceObject = __webpack_require__.p + "assets/a06e3ed7a139b78c7376.svg";
;// CONCATENATED MODULE: ./src/views/donate-shop/img/category-icons/accessories.png
const accessories_namespaceObject = __webpack_require__.p + "assets/e25f1a58aa118d28d9fc.webp";
;// CONCATENATED MODULE: ./src/views/donate-shop/img/category-icons/animation.png
const animation_namespaceObject = __webpack_require__.p + "assets/609de2acd51b6ed7222b.webp";
;// CONCATENATED MODULE: ./src/views/donate-shop/img/category-icons/vehicle.png
const category_icons_vehicle_namespaceObject = __webpack_require__.p + "assets/fa0b3f8c2506b37f921b.webp";
;// CONCATENATED MODULE: ./src/views/donate-shop/img/category-icons/main.png
const main_namespaceObject = __webpack_require__.p + "assets/09afb030fa3d867bb4ae.webp";
;// CONCATENATED MODULE: ./src/views/donate-shop/img/category-icons/other.png
const other_namespaceObject = __webpack_require__.p + "assets/14e5ba460db672daeef7.webp";
;// CONCATENATED MODULE: ./src/views/donate-shop/img/category-icons/promo.png
const category_icons_promo_namespaceObject = __webpack_require__.p + "assets/9d2f5e8e69d7809abe24.webp";
;// CONCATENATED MODULE: ./src/views/donate-shop/img/category-icons/rouelette.png
const rouelette_namespaceObject = __webpack_require__.p + "assets/3792284e3f37251a7b53.webp";
;// CONCATENATED MODULE: ./src/views/donate-shop/img/category-icons/security.png
const security_namespaceObject = __webpack_require__.p + "assets/6da2ee02188775c872ff.webp";
;// CONCATENATED MODULE: ./src/views/donate-shop/img/category-icons/skins.png
const skins_namespaceObject = __webpack_require__.p + "assets/b33b84e8c922ba6abc7b.webp";
;// CONCATENATED MODULE: ./src/views/donate-shop/img/category-icons/tuning.png
const tuning_namespaceObject = __webpack_require__.p + "assets/85fb5ef59087ec0b9d07.webp";
;// CONCATENATED MODULE: ./src/views/donate-shop/img/bg-category-dark.png
const bg_category_dark_namespaceObject = __webpack_require__.p + "assets/e18b63480f162216748a.webp";
;// CONCATENATED MODULE: ./src/views/donate-shop/img/icons/rub.svg
const rub_namespaceObject = __webpack_require__.p + "assets/5e3ecfb8ad4c1b83ed58.svg";
;// CONCATENATED MODULE: ./src/views/donate-shop/constants.js
function donate_shop_constants_typeof(o) { "@babel/helpers - typeof"; return donate_shop_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, donate_shop_constants_typeof(o); }
function donate_shop_constants_defineProperty(e, r, t) { return (r = donate_shop_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function donate_shop_constants_toPropertyKey(t) { var i = donate_shop_constants_toPrimitive(t, "string"); return "symbol" == donate_shop_constants_typeof(i) ? i : i + ""; }
function donate_shop_constants_toPrimitive(t, r) { if ("object" != donate_shop_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != donate_shop_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }













var donate_shop_constants_Screens = {
  Main: 'main',
  Grid: 'grid'
};
var Categories = {
  Main: 0,
  Promo: 1,
  Roulettes: 2,
  Skins: 3,
  Accessories: 4,
  Vehicle: 5,
  Tuning: 6,
  Security: 7,
  Animation: 8,
  Other: 9
};
var constants_MAP_CATEGORY_TO_NAME = donate_shop_constants_defineProperty(donate_shop_constants_defineProperty(donate_shop_constants_defineProperty(donate_shop_constants_defineProperty(donate_shop_constants_defineProperty(donate_shop_constants_defineProperty(donate_shop_constants_defineProperty(donate_shop_constants_defineProperty(donate_shop_constants_defineProperty(donate_shop_constants_defineProperty({}, Categories.Main, 'Главная'), Categories.Promo, 'Товары на акции'), Categories.Roulettes, 'Боксы и рулетки'), Categories.Skins, 'Скины'), Categories.Accessories, 'Аксессуары'), Categories.Vehicle, 'Транспорт'), Categories.Tuning, 'Тюнинг'), Categories.Security, 'Охранники'), Categories.Animation, 'Анимации'), Categories.Other, 'Другое');
var MAP_CATEGORY_TO_ICON = donate_shop_constants_defineProperty(donate_shop_constants_defineProperty(donate_shop_constants_defineProperty(donate_shop_constants_defineProperty(donate_shop_constants_defineProperty(donate_shop_constants_defineProperty(donate_shop_constants_defineProperty(donate_shop_constants_defineProperty(donate_shop_constants_defineProperty(donate_shop_constants_defineProperty({}, Categories.Main, accessories_namespaceObject), Categories.Promo, animation_namespaceObject), Categories.Roulettes, category_icons_vehicle_namespaceObject), Categories.Skins, main_namespaceObject), Categories.Accessories, other_namespaceObject), Categories.Vehicle, category_icons_promo_namespaceObject), Categories.Tuning, rouelette_namespaceObject), Categories.Security, security_namespaceObject), Categories.Animation, skins_namespaceObject), Categories.Other, tuning_namespaceObject);
var MAP_ID_TO_CATEGORY_BACKGROUND = {
  0: bg_category_dark_namespaceObject,
  1: bg_category_dark_namespaceObject,
  2: bg_category_dark_namespaceObject,
  3: bg_category_dark_namespaceObject,
  4: bg_category_dark_namespaceObject,
  5: bg_category_dark_namespaceObject,
  6: bg_category_dark_namespaceObject,
  7: bg_category_dark_namespaceObject,
  8: bg_category_dark_namespaceObject,
  9: bg_category_dark_namespaceObject,
  10: bg_category_dark_namespaceObject,
  11: bg_category_dark_namespaceObject,
  12: bg_category_dark_namespaceObject,
  13: bg_category_dark_namespaceObject,
  14: bg_category_dark_namespaceObject,
  15: bg_category_dark_namespaceObject
};
var Templates = {
  Standart: 0,
  Wide: 1,
  Big: 2,
  Exchange: 3,
  Add: 4,
  Exp: 5
};
var MAP_TEMPLATE_TO_CLASS = donate_shop_constants_defineProperty(donate_shop_constants_defineProperty(donate_shop_constants_defineProperty(donate_shop_constants_defineProperty(donate_shop_constants_defineProperty(donate_shop_constants_defineProperty({}, Templates.Standart, 'standart'), Templates.Wide, 'wide'), Templates.Big, 'big'), Templates.Exchange, 'exchange'), Templates.Add, 'add'), Templates.Exp, 'exchange');
var ModalMode = {
  Add: 'add',
  Exchange: 'exchange',
  Exp: 'exp'
};
var ModalStyle = {
  Default: 'default',
  Green: 'green',
  Gold: 'gold'
};
var LayoutTemplate = {
  0: 'grid',
  1: 'row'
};
var Currency = {
  Rub: 0,
  Az: 1
};
var donate_shop_constants_Rarity = {
  Tier1: 'tier1',
  Tier2: 'tier2',
  Tier3: 'tier3',
  Random: 'random'
};
var donate_shop_constants_MAP_RARITY_TO_TITLE = donate_shop_constants_defineProperty(donate_shop_constants_defineProperty(donate_shop_constants_defineProperty(donate_shop_constants_defineProperty({}, donate_shop_constants_Rarity.Tier1, 'Хлам'), donate_shop_constants_Rarity.Tier2, 'Обычное'), donate_shop_constants_Rarity.Tier3, 'Идеальное'), donate_shop_constants_Rarity.Random, 'Случайное');
var MAP_RARITY_TO_BACKGROUND = donate_shop_constants_defineProperty(donate_shop_constants_defineProperty(donate_shop_constants_defineProperty(donate_shop_constants_defineProperty({}, donate_shop_constants_Rarity.Tier1, '#767676'), donate_shop_constants_Rarity.Tier2, '#01FFFF'), donate_shop_constants_Rarity.Tier3, '#FF9D14'), donate_shop_constants_Rarity.Random, '#FF9D14');
var MAP_ID_TO_CURRENCY = donate_shop_constants_defineProperty(donate_shop_constants_defineProperty(donate_shop_constants_defineProperty(donate_shop_constants_defineProperty(donate_shop_constants_defineProperty({}, Currency.Rub, rub_namespaceObject), Currency.Az, donate_shop_img_icons_coin_namespaceObject), ModalMode.Exchange, donate_shop_img_icons_coin_namespaceObject), ModalMode.Add, rub_namespaceObject), ModalMode.Exp, donate_shop_img_icons_coin_namespaceObject);
var MAP_MODE_TO_TITLE = donate_shop_constants_defineProperty(donate_shop_constants_defineProperty(donate_shop_constants_defineProperty({}, ModalMode.Add, 'пополнение AZ Коинов'), ModalMode.Exchange, 'ОБМЕН AZ COINS'), ModalMode.Exp, 'ОБМЕН AZ COINS НА EXP');
var MAP_ID_TO_CURRENCY_NAME = donate_shop_constants_defineProperty(donate_shop_constants_defineProperty({}, Currency.Rub, 'РУБ'), Currency.Az, 'AZ COINS');
var MODAL_SETTINGS_DEFAULT = {
  visibility: false,
  theme: [ModalStyle.Default],
  mode: [ModalMode.Add],
  loading: false,
  disabled: false
};
;// CONCATENATED MODULE: ./src/views/donate-shop/store.js


var store_mainInfo = writable({});
var donate_shop_store_selectedScreen = writable(donate_shop_constants_Screens.Main);
var store_selectedCategoryId = writable(0);
var sliderProducts = writable([]);
var products = writable({});
var categories = writable([]);
var layoutTemplate = writable(LayoutTemplate[0]);
var donateSettings = writable({});
var modalSettings = writable(MODAL_SETTINGS_DEFAULT);
var categoriesDisabled = writable(false);
;// CONCATENATED MODULE: ./src/views/donate-shop/component/modal/index.svelte
/* src\views\donate-shop\component\modal\index.svelte generated by Svelte v3.49.0 */















function component_modal_index_svelte_add_css(target) {
	append_styles(target, "svelte-kzdl1r", "@keyframes svelte-kzdl1r-blinking{50%{opacity:0}}@keyframes svelte-kzdl1r-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-kzdl1r-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-kzdl1r-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-kzdl1r-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-kzdl1r-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-kzdl1r-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-kzdl1r-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-kzdl1r-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-kzdl1r-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-kzdl1r-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-kzdl1r-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-kzdl1r-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-kzdl1r-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-kzdl1r-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.donate-shop-modal.svelte-kzdl1r{overflow:hidden;background-color:#131516;width:calc(0.21875 * 100vw + 0px);border-radius:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal.svelte-kzdl1r{width:calc(0.21875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal.svelte-kzdl1r{width:calc(0.21875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal.svelte-kzdl1r{width:calc(0.1684375 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal.svelte-kzdl1r{width:calc(0.240625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal.svelte-kzdl1r{width:calc(0.153125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal.svelte-kzdl1r{width:calc(0.196875 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal.svelte-kzdl1r{width:calc(0.240625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal.svelte-kzdl1r{border-radius:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal.svelte-kzdl1r{border-radius:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal.svelte-kzdl1r{border-radius:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal.svelte-kzdl1r{border-radius:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal.svelte-kzdl1r{border-radius:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal.svelte-kzdl1r{border-radius:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal.svelte-kzdl1r{border-radius:calc(0.006875 * 100vw + 0px)}}.donate-shop-modal__header.svelte-kzdl1r{position:relative;display:flex;align-items:center;justify-content:center;background-color:#131516;background-image:linear-gradient(90deg, transparent 0%, #364B84 84.5%, #CC3048 100%);height:calc(0.0270833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__header.svelte-kzdl1r{height:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__header.svelte-kzdl1r{height:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__header.svelte-kzdl1r{height:calc(0.0208541667 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__header.svelte-kzdl1r{height:calc(0.0297916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__header.svelte-kzdl1r{height:calc(0.0189583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__header.svelte-kzdl1r{height:calc(0.024375 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__header.svelte-kzdl1r{height:calc(0.0297916667 * 100vw + 0px)}}.donate-shop-modal__header--green.svelte-kzdl1r{background-image:linear-gradient(90deg, #265006 0%, #90C739 100%)}.donate-shop-modal__header--gold.svelte-kzdl1r{background-image:linear-gradient(90deg, #845514 0%, #E8B11C 100%)}.donate-shop-modal__header-title.svelte-kzdl1r{position:relative;color:#FFFFFF;font-family:\"HeadingNowBold\";text-transform:uppercase;font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__header-title.svelte-kzdl1r{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__header-title.svelte-kzdl1r{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__header-title.svelte-kzdl1r{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__header-title.svelte-kzdl1r{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__header-title.svelte-kzdl1r{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__header-title.svelte-kzdl1r{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__header-title.svelte-kzdl1r{font-size:calc(0.0080208333 * 100vw + 0px)}}.donate-shop-modal__header-close.svelte-kzdl1r{position:absolute;top:50%;transform:translateY(-50%);right:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__header-close.svelte-kzdl1r{right:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__header-close.svelte-kzdl1r{right:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__header-close.svelte-kzdl1r{right:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__header-close.svelte-kzdl1r{right:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__header-close.svelte-kzdl1r{right:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__header-close.svelte-kzdl1r{right:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__header-close.svelte-kzdl1r{right:calc(0.01375 * 100vw + 0px)}}.donate-shop-modal__header-close-icon.svelte-kzdl1r{color:#FFFFFF;font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__header-close-icon.svelte-kzdl1r{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__header-close-icon.svelte-kzdl1r{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__header-close-icon.svelte-kzdl1r{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__header-close-icon.svelte-kzdl1r{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__header-close-icon.svelte-kzdl1r{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__header-close-icon.svelte-kzdl1r{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__header-close-icon.svelte-kzdl1r{font-size:calc(0.006875 * 100vw + 0px)}}.donate-shop-modal__content.svelte-kzdl1r{display:flex;flex-direction:column;padding:calc(0.009375 * 100vw + 0px);gap:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__content.svelte-kzdl1r{padding:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__content.svelte-kzdl1r{padding:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__content.svelte-kzdl1r{padding:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__content.svelte-kzdl1r{padding:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__content.svelte-kzdl1r{padding:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__content.svelte-kzdl1r{padding:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__content.svelte-kzdl1r{padding:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__content.svelte-kzdl1r{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__content.svelte-kzdl1r{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__content.svelte-kzdl1r{gap:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__content.svelte-kzdl1r{gap:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__content.svelte-kzdl1r{gap:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__content.svelte-kzdl1r{gap:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__content.svelte-kzdl1r{gap:calc(0.0103125 * 100vw + 0px)}}.donate-shop-modal__course.svelte-kzdl1r{display:flex;align-items:stretch;flex-direction:column;gap:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__course.svelte-kzdl1r{gap:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__course.svelte-kzdl1r{gap:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__course.svelte-kzdl1r{gap:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__course.svelte-kzdl1r{gap:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__course.svelte-kzdl1r{gap:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__course.svelte-kzdl1r{gap:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__course.svelte-kzdl1r{gap:calc(0.0045833333 * 100vw + 0px)}}.donate-shop-modal__course-header.svelte-kzdl1r{display:flex;align-items:center;gap:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__course-header.svelte-kzdl1r{gap:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__course-header.svelte-kzdl1r{gap:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__course-header.svelte-kzdl1r{gap:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__course-header.svelte-kzdl1r{gap:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__course-header.svelte-kzdl1r{gap:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__course-header.svelte-kzdl1r{gap:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__course-header.svelte-kzdl1r{gap:calc(0.0045833333 * 100vw + 0px)}}.donate-shop-modal__caption.svelte-kzdl1r{font-family:\"HeadingNowRegular\";color:rgba(255, 255, 255, 0.6);font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__caption.svelte-kzdl1r{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__caption.svelte-kzdl1r{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__caption.svelte-kzdl1r{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__caption.svelte-kzdl1r{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__caption.svelte-kzdl1r{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__caption.svelte-kzdl1r{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__caption.svelte-kzdl1r{font-size:calc(0.006875 * 100vw + 0px)}}.donate-shop-modal__badges.svelte-kzdl1r{display:flex;align-items:stretch;gap:calc(0.0010416667 * 100vw + 0px);height:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__badges.svelte-kzdl1r{gap:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__badges.svelte-kzdl1r{gap:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__badges.svelte-kzdl1r{gap:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__badges.svelte-kzdl1r{gap:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__badges.svelte-kzdl1r{gap:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__badges.svelte-kzdl1r{gap:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__badges.svelte-kzdl1r{gap:calc(0.0011458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__badges.svelte-kzdl1r{height:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__badges.svelte-kzdl1r{height:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__badges.svelte-kzdl1r{height:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__badges.svelte-kzdl1r{height:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__badges.svelte-kzdl1r{height:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__badges.svelte-kzdl1r{height:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__badges.svelte-kzdl1r{height:calc(0.00859375 * 100vw + 0px)}}.donate-shop-modal__badge.svelte-kzdl1r{display:flex;align-items:center;justify-content:center;background-color:rgb(214, 122, 0);font-family:\"HeadingNowRegular\";color:#FFFFFF;height:calc(0.0083333333 * 100vw + 0px);padding-left:calc(0.003125 * 100vw + 0px);padding-right:calc(0.003125 * 100vw + 0px);font-size:calc(0.00625 * 100vw + 0px);border-radius:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__badge.svelte-kzdl1r{height:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__badge.svelte-kzdl1r{height:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__badge.svelte-kzdl1r{height:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__badge.svelte-kzdl1r{height:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__badge.svelte-kzdl1r{height:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__badge.svelte-kzdl1r{height:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__badge.svelte-kzdl1r{height:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__badge.svelte-kzdl1r{padding-left:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__badge.svelte-kzdl1r{padding-left:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__badge.svelte-kzdl1r{padding-left:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__badge.svelte-kzdl1r{padding-left:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__badge.svelte-kzdl1r{padding-left:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__badge.svelte-kzdl1r{padding-left:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__badge.svelte-kzdl1r{padding-left:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__badge.svelte-kzdl1r{padding-right:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__badge.svelte-kzdl1r{padding-right:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__badge.svelte-kzdl1r{padding-right:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__badge.svelte-kzdl1r{padding-right:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__badge.svelte-kzdl1r{padding-right:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__badge.svelte-kzdl1r{padding-right:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__badge.svelte-kzdl1r{padding-right:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__badge.svelte-kzdl1r{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__badge.svelte-kzdl1r{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__badge.svelte-kzdl1r{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__badge.svelte-kzdl1r{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__badge.svelte-kzdl1r{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__badge.svelte-kzdl1r{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__badge.svelte-kzdl1r{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__badge.svelte-kzdl1r{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__badge.svelte-kzdl1r{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__badge.svelte-kzdl1r{border-radius:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__badge.svelte-kzdl1r{border-radius:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__badge.svelte-kzdl1r{border-radius:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__badge.svelte-kzdl1r{border-radius:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__badge.svelte-kzdl1r{border-radius:calc(0.0022916667 * 100vw + 0px)}}.donate-shop-modal__badge--dark.svelte-kzdl1r{background-color:rgba(214, 122, 0, 0.5)}.donate-shop-modal__badge--green.svelte-kzdl1r{background-color:rgb(214, 122, 0)}.donate-shop-modal__badge--green.donate-shop-modal__badge--dark.svelte-kzdl1r{background-color:rgba(214, 122, 0, 0.5)}.donate-shop-modal__info.svelte-kzdl1r{display:inline-flex;align-items:center;background-color:rgba(255, 255, 255, 0.1);height:calc(0.021875 * 100vw + 0px);padding-left:calc(0.0078125 * 100vw + 0px);padding-right:calc(0.0078125 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);gap:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__info.svelte-kzdl1r{height:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__info.svelte-kzdl1r{height:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__info.svelte-kzdl1r{height:calc(0.01684375 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__info.svelte-kzdl1r{height:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__info.svelte-kzdl1r{height:calc(0.0153125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__info.svelte-kzdl1r{height:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__info.svelte-kzdl1r{height:calc(0.0240625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__info.svelte-kzdl1r{padding-left:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__info.svelte-kzdl1r{padding-left:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__info.svelte-kzdl1r{padding-left:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__info.svelte-kzdl1r{padding-left:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__info.svelte-kzdl1r{padding-left:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__info.svelte-kzdl1r{padding-left:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__info.svelte-kzdl1r{padding-left:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__info.svelte-kzdl1r{padding-right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__info.svelte-kzdl1r{padding-right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__info.svelte-kzdl1r{padding-right:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__info.svelte-kzdl1r{padding-right:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__info.svelte-kzdl1r{padding-right:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__info.svelte-kzdl1r{padding-right:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__info.svelte-kzdl1r{padding-right:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__info.svelte-kzdl1r{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__info.svelte-kzdl1r{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__info.svelte-kzdl1r{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__info.svelte-kzdl1r{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__info.svelte-kzdl1r{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__info.svelte-kzdl1r{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__info.svelte-kzdl1r{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__info.svelte-kzdl1r{gap:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__info.svelte-kzdl1r{gap:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__info.svelte-kzdl1r{gap:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__info.svelte-kzdl1r{gap:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__info.svelte-kzdl1r{gap:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__info.svelte-kzdl1r{gap:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__info.svelte-kzdl1r{gap:calc(0.0045833333 * 100vw + 0px)}}.donate-shop-modal__info-currency-rub.svelte-kzdl1r,.donate-shop-modal__info-value.svelte-kzdl1r{color:rgba(255, 255, 255, 0.6);font-family:\"HeadingNowRegular\";font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__info-currency-rub.svelte-kzdl1r,.donate-shop-modal__info-value.svelte-kzdl1r{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__info-currency-rub.svelte-kzdl1r,.donate-shop-modal__info-value.svelte-kzdl1r{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__info-currency-rub.svelte-kzdl1r,.donate-shop-modal__info-value.svelte-kzdl1r{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__info-currency-rub.svelte-kzdl1r,.donate-shop-modal__info-value.svelte-kzdl1r{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__info-currency-rub.svelte-kzdl1r,.donate-shop-modal__info-value.svelte-kzdl1r{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__info-currency-rub.svelte-kzdl1r,.donate-shop-modal__info-value.svelte-kzdl1r{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__info-currency-rub.svelte-kzdl1r,.donate-shop-modal__info-value.svelte-kzdl1r{font-size:calc(0.0080208333 * 100vw + 0px)}}.donate-shop-modal__info-currency.svelte-kzdl1r{color:rgba(255, 255, 255, 0.6);font-size:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__info-currency.svelte-kzdl1r{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__info-currency.svelte-kzdl1r{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__info-currency.svelte-kzdl1r{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__info-currency.svelte-kzdl1r{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__info-currency.svelte-kzdl1r{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__info-currency.svelte-kzdl1r{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__info-currency.svelte-kzdl1r{font-size:calc(0.00859375 * 100vw + 0px)}}.donate-shop-modal__info-currency-exp.svelte-kzdl1r{display:flex;align-items:center;justify-content:center;background-color:rgba(255, 255, 255, 0.6);color:#131516;font-family:\"HeadingNowRegular\";font-size:calc(0.0057291667 * 100vw + 0px);border-radius:calc(0.0020833333 * 100vw + 0px);padding-left:calc(0.0020833333 * 100vw + 0px);padding-right:calc(0.0020833333 * 100vw + 0px);padding-bottom:calc(0.0010416667 * 100vw + 0px);height:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{font-size:calc(0.0044114583 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{font-size:calc(0.0063020833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{font-size:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{font-size:calc(0.0063020833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{border-radius:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{border-radius:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{border-radius:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{border-radius:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{border-radius:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{padding-left:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{padding-left:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{padding-left:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{padding-left:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{padding-left:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{padding-left:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{padding-left:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{padding-right:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{padding-right:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{padding-right:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{padding-right:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{padding-right:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{padding-right:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{padding-right:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{padding-bottom:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{padding-bottom:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{padding-bottom:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{padding-bottom:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{padding-bottom:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{padding-bottom:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{padding-bottom:calc(0.0011458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{height:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{height:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{height:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{height:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{height:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{height:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__info-currency-exp.svelte-kzdl1r{height:calc(0.00859375 * 100vw + 0px)}}.donate-shop-modal__info-currency-image.svelte-kzdl1r{height:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__info-currency-image.svelte-kzdl1r{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__info-currency-image.svelte-kzdl1r{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__info-currency-image.svelte-kzdl1r{height:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__info-currency-image.svelte-kzdl1r{height:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__info-currency-image.svelte-kzdl1r{height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__info-currency-image.svelte-kzdl1r{height:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__info-currency-image.svelte-kzdl1r{height:calc(0.0103125 * 100vw + 0px)}}.donate-shop-modal__replenishment-field.svelte-kzdl1r{background-color:#0D1011;display:flex;align-items:center;justify-content:space-between;height:calc(0.025 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);padding-left:calc(0.009375 * 100vw + 0px);padding-right:calc(0.009375 * 100vw + 0px);margin-top:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__replenishment-field.svelte-kzdl1r{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__replenishment-field.svelte-kzdl1r{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__replenishment-field.svelte-kzdl1r{height:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__replenishment-field.svelte-kzdl1r{height:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__replenishment-field.svelte-kzdl1r{height:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__replenishment-field.svelte-kzdl1r{height:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__replenishment-field.svelte-kzdl1r{height:calc(0.0275 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__replenishment-field.svelte-kzdl1r{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__replenishment-field.svelte-kzdl1r{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__replenishment-field.svelte-kzdl1r{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__replenishment-field.svelte-kzdl1r{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__replenishment-field.svelte-kzdl1r{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__replenishment-field.svelte-kzdl1r{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__replenishment-field.svelte-kzdl1r{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__replenishment-field.svelte-kzdl1r{padding-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__replenishment-field.svelte-kzdl1r{padding-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__replenishment-field.svelte-kzdl1r{padding-left:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__replenishment-field.svelte-kzdl1r{padding-left:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__replenishment-field.svelte-kzdl1r{padding-left:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__replenishment-field.svelte-kzdl1r{padding-left:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__replenishment-field.svelte-kzdl1r{padding-left:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__replenishment-field.svelte-kzdl1r{padding-right:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__replenishment-field.svelte-kzdl1r{padding-right:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__replenishment-field.svelte-kzdl1r{padding-right:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__replenishment-field.svelte-kzdl1r{padding-right:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__replenishment-field.svelte-kzdl1r{padding-right:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__replenishment-field.svelte-kzdl1r{padding-right:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__replenishment-field.svelte-kzdl1r{padding-right:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__replenishment-field.svelte-kzdl1r{margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__replenishment-field.svelte-kzdl1r{margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__replenishment-field.svelte-kzdl1r{margin-top:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__replenishment-field.svelte-kzdl1r{margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__replenishment-field.svelte-kzdl1r{margin-top:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__replenishment-field.svelte-kzdl1r{margin-top:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__replenishment-field.svelte-kzdl1r{margin-top:calc(0.0080208333 * 100vw + 0px)}}.donate-shop-modal__replenishment-field-input.svelte-kzdl1r{background-color:transparent;color:#FFFFFF;outline:none;border:none;font-family:\"HeadingNowRegular\";width:75%;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__replenishment-field-input.svelte-kzdl1r{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__replenishment-field-input.svelte-kzdl1r{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__replenishment-field-input.svelte-kzdl1r{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__replenishment-field-input.svelte-kzdl1r{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__replenishment-field-input.svelte-kzdl1r{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__replenishment-field-input.svelte-kzdl1r{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__replenishment-field-input.svelte-kzdl1r{font-size:calc(0.0103125 * 100vw + 0px)}}.donate-shop-modal__replenishment-field-input.svelte-kzdl1r::-webkit-inner-spin-button{-webkit-appearance:none}.donate-shop-modal__replenishment-icon.svelte-kzdl1r{font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__replenishment-icon.svelte-kzdl1r{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__replenishment-icon.svelte-kzdl1r{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__replenishment-icon.svelte-kzdl1r{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__replenishment-icon.svelte-kzdl1r{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__replenishment-icon.svelte-kzdl1r{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__replenishment-icon.svelte-kzdl1r{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__replenishment-icon.svelte-kzdl1r{font-size:calc(0.0103125 * 100vw + 0px)}}.donate-shop-modal__bonuses.svelte-kzdl1r{width:100%;display:flex;align-items:stretch;gap:calc(0.003125 * 100vw + 0px);height:calc(0.0265625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__bonuses.svelte-kzdl1r{gap:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__bonuses.svelte-kzdl1r{gap:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__bonuses.svelte-kzdl1r{gap:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__bonuses.svelte-kzdl1r{gap:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__bonuses.svelte-kzdl1r{gap:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__bonuses.svelte-kzdl1r{gap:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__bonuses.svelte-kzdl1r{gap:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__bonuses.svelte-kzdl1r{height:calc(0.0265625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__bonuses.svelte-kzdl1r{height:calc(0.0265625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__bonuses.svelte-kzdl1r{height:calc(0.020453125 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__bonuses.svelte-kzdl1r{height:calc(0.02921875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__bonuses.svelte-kzdl1r{height:calc(0.01859375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__bonuses.svelte-kzdl1r{height:calc(0.02390625 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__bonuses.svelte-kzdl1r{height:calc(0.02921875 * 100vw + 0px)}}.donate-shop-modal__bonus.svelte-kzdl1r{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:rgba(255, 255, 255, 0.1);border-style:solid;border-color:rgba(255, 255, 255, 0.05);border-width:calc(0.0005208333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__bonus.svelte-kzdl1r{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__bonus.svelte-kzdl1r{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__bonus.svelte-kzdl1r{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__bonus.svelte-kzdl1r{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__bonus.svelte-kzdl1r{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__bonus.svelte-kzdl1r{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__bonus.svelte-kzdl1r{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__bonus.svelte-kzdl1r{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__bonus.svelte-kzdl1r{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__bonus.svelte-kzdl1r{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__bonus.svelte-kzdl1r{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__bonus.svelte-kzdl1r{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__bonus.svelte-kzdl1r{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__bonus.svelte-kzdl1r{border-radius:calc(0.0057291667 * 100vw + 0px)}}.donate-shop-modal__bonus--active.svelte-kzdl1r{background-color:rgba(214, 122, 0, 0.3);border-color:#FDCF19}.donate-shop-modal__bonus-point.svelte-kzdl1r{color:rgba(255, 255, 255, 0.5);font-family:\"HeadingNowRegular\";text-transform:uppercase;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__bonus-point.svelte-kzdl1r{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__bonus-point.svelte-kzdl1r{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__bonus-point.svelte-kzdl1r{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__bonus-point.svelte-kzdl1r{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__bonus-point.svelte-kzdl1r{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__bonus-point.svelte-kzdl1r{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__bonus-point.svelte-kzdl1r{font-size:calc(0.0057291667 * 100vw + 0px)}}.donate-shop-modal__bonus-value.svelte-kzdl1r{color:#FFFFFF;font-family:\"HeadingNowMedium\";text-transform:uppercase;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__bonus-value.svelte-kzdl1r{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__bonus-value.svelte-kzdl1r{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__bonus-value.svelte-kzdl1r{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__bonus-value.svelte-kzdl1r{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__bonus-value.svelte-kzdl1r{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__bonus-value.svelte-kzdl1r{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__bonus-value.svelte-kzdl1r{font-size:calc(0.0103125 * 100vw + 0px)}}.donate-shop-modal__summary.svelte-kzdl1r{width:100%}.donate-shop-modal__summary-field.svelte-kzdl1r{width:100%;display:flex;align-items:center;justify-content:flex-start;background-color:rgba(255, 255, 255, 0.1);border-style:solid;border-color:rgba(255, 255, 255, 0.05);border-width:calc(0.0005208333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);height:calc(0.025 * 100vw + 0px);padding-left:calc(0.009375 * 100vw + 0px);margin-top:calc(0.009375 * 100vw + 0px);margin-bottom:calc(0.009375 * 100vw + 0px);gap:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__summary-field.svelte-kzdl1r{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__summary-field.svelte-kzdl1r{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__summary-field.svelte-kzdl1r{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__summary-field.svelte-kzdl1r{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__summary-field.svelte-kzdl1r{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__summary-field.svelte-kzdl1r{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__summary-field.svelte-kzdl1r{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__summary-field.svelte-kzdl1r{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__summary-field.svelte-kzdl1r{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__summary-field.svelte-kzdl1r{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__summary-field.svelte-kzdl1r{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__summary-field.svelte-kzdl1r{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__summary-field.svelte-kzdl1r{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__summary-field.svelte-kzdl1r{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__summary-field.svelte-kzdl1r{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__summary-field.svelte-kzdl1r{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__summary-field.svelte-kzdl1r{height:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__summary-field.svelte-kzdl1r{height:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__summary-field.svelte-kzdl1r{height:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__summary-field.svelte-kzdl1r{height:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__summary-field.svelte-kzdl1r{height:calc(0.0275 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__summary-field.svelte-kzdl1r{padding-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__summary-field.svelte-kzdl1r{padding-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__summary-field.svelte-kzdl1r{padding-left:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__summary-field.svelte-kzdl1r{padding-left:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__summary-field.svelte-kzdl1r{padding-left:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__summary-field.svelte-kzdl1r{padding-left:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__summary-field.svelte-kzdl1r{padding-left:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__summary-field.svelte-kzdl1r{margin-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__summary-field.svelte-kzdl1r{margin-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__summary-field.svelte-kzdl1r{margin-top:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__summary-field.svelte-kzdl1r{margin-top:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__summary-field.svelte-kzdl1r{margin-top:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__summary-field.svelte-kzdl1r{margin-top:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__summary-field.svelte-kzdl1r{margin-top:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__summary-field.svelte-kzdl1r{margin-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__summary-field.svelte-kzdl1r{margin-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__summary-field.svelte-kzdl1r{margin-bottom:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__summary-field.svelte-kzdl1r{margin-bottom:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__summary-field.svelte-kzdl1r{margin-bottom:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__summary-field.svelte-kzdl1r{margin-bottom:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__summary-field.svelte-kzdl1r{margin-bottom:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__summary-field.svelte-kzdl1r{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__summary-field.svelte-kzdl1r{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__summary-field.svelte-kzdl1r{gap:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__summary-field.svelte-kzdl1r{gap:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__summary-field.svelte-kzdl1r{gap:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__summary-field.svelte-kzdl1r{gap:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__summary-field.svelte-kzdl1r{gap:calc(0.0103125 * 100vw + 0px)}}.donate-shop-modal__summary-value.svelte-kzdl1r{color:#FFFFFF;font-family:\"HeadingNowBold\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__summary-value.svelte-kzdl1r{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__summary-value.svelte-kzdl1r{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__summary-value.svelte-kzdl1r{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__summary-value.svelte-kzdl1r{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__summary-value.svelte-kzdl1r{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__summary-value.svelte-kzdl1r{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__summary-value.svelte-kzdl1r{font-size:calc(0.006875 * 100vw + 0px)}}.donate-shop-modal__summary-text.svelte-kzdl1r{color:rgba(255, 255, 255, 0.6);font-family:\"HeadingNowRegular\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__summary-text.svelte-kzdl1r{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__summary-text.svelte-kzdl1r{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__summary-text.svelte-kzdl1r{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__summary-text.svelte-kzdl1r{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__summary-text.svelte-kzdl1r{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__summary-text.svelte-kzdl1r{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__summary-text.svelte-kzdl1r{font-size:calc(0.006875 * 100vw + 0px)}}.donate-shop-modal__summary-text--gold.svelte-kzdl1r{font-family:\"HeadingNowMedium\";color:#FFC42C}.donate-shop-modal__summary-text--green.svelte-kzdl1r{font-family:\"HeadingNowMedium\";color:#95FF00}.donate-shop-modal__footer.svelte-kzdl1r{border-style:solid;border-color:rgba(255, 255, 255, 0.05);padding-top:calc(0.009375 * 100vw + 0px);border-width:calc(0.0005208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__footer.svelte-kzdl1r{padding-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__footer.svelte-kzdl1r{padding-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__footer.svelte-kzdl1r{padding-top:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__footer.svelte-kzdl1r{padding-top:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__footer.svelte-kzdl1r{padding-top:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__footer.svelte-kzdl1r{padding-top:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__footer.svelte-kzdl1r{padding-top:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__footer.svelte-kzdl1r{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__footer.svelte-kzdl1r{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__footer.svelte-kzdl1r{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__footer.svelte-kzdl1r{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__footer.svelte-kzdl1r{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__footer.svelte-kzdl1r{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__footer.svelte-kzdl1r{border-width:calc(0.0005729167 * 100vw + 0px)}}.donate-shop-modal__button.svelte-kzdl1r{display:flex;align-items:center;justify-content:center;background:linear-gradient(90deg, #364B84 0%, #CC3048 100%);color:rgba(255, 255, 255, 0.9);font-family:\"HeadingNowRegular\";text-transform:uppercase;transition:0.14s ease-out;transition-property:transform;font-size:calc(0.00625 * 100vw + 0px);height:calc(0.021875 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__button.svelte-kzdl1r{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__button.svelte-kzdl1r{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__button.svelte-kzdl1r{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__button.svelte-kzdl1r{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__button.svelte-kzdl1r{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__button.svelte-kzdl1r{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__button.svelte-kzdl1r{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__button.svelte-kzdl1r{height:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__button.svelte-kzdl1r{height:calc(0.021875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__button.svelte-kzdl1r{height:calc(0.01684375 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__button.svelte-kzdl1r{height:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__button.svelte-kzdl1r{height:calc(0.0153125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__button.svelte-kzdl1r{height:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__button.svelte-kzdl1r{height:calc(0.0240625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__button.svelte-kzdl1r{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__button.svelte-kzdl1r{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__button.svelte-kzdl1r{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__button.svelte-kzdl1r{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__button.svelte-kzdl1r{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__button.svelte-kzdl1r{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__button.svelte-kzdl1r{border-radius:calc(0.0057291667 * 100vw + 0px)}}.donate-shop-modal__button.svelte-kzdl1r:active{transform:translateY(5%)}.donate-shop-modal__button--green.svelte-kzdl1r{background-color:#131516;background-image:linear-gradient(90deg, #265006 0%, #90C739 100%)}.donate-shop-modal__button--gold.svelte-kzdl1r{background-image:linear-gradient(90deg, #845514 0%, #E8B11C 100%)}.donate-shop-modal__loader.svelte-kzdl1r{width:calc(0.0104166667 * 100vw + 0px);height:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__loader.svelte-kzdl1r{width:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__loader.svelte-kzdl1r{width:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__loader.svelte-kzdl1r{width:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__loader.svelte-kzdl1r{width:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__loader.svelte-kzdl1r{width:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__loader.svelte-kzdl1r{width:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__loader.svelte-kzdl1r{width:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-modal__loader.svelte-kzdl1r{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-modal__loader.svelte-kzdl1r{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-modal__loader.svelte-kzdl1r{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-modal__loader.svelte-kzdl1r{height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-modal__loader.svelte-kzdl1r{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-modal__loader.svelte-kzdl1r{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-modal__loader.svelte-kzdl1r{height:calc(0.0114583333 * 100vw + 0px)}}");
}

function modal_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[12] = list[i];
	child_ctx[14] = i;
	return child_ctx;
}

// (2643:20) {#if !isNil($mainInfo.getBoostPayment) && $modalSettings.mode !== ModalMode.Exp}
function modal_index_svelte_create_if_block_9(ctx) {
	let div1;
	let div0;
	let t0;
	let t1_value = /*$mainInfo*/ ctx[7].getBoostPayment + "";
	let t1;
	let t2;
	let if_block = /*$donateSettings*/ ctx[6].boostEndTime >= 0 && modal_index_svelte_create_if_block_10(ctx);

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text("X");
			t1 = internal_text(t1_value);
			t2 = space();
			if (if_block) if_block.c();
			attr(div0, "class", "donate-shop-modal__badge svelte-kzdl1r");
			toggle_class(div0, "donate-shop-modal__badge--green", false);
			attr(div1, "class", "donate-shop-modal__badges svelte-kzdl1r");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, t0);
			append(div0, t1);
			append(div1, t2);
			if (if_block) if_block.m(div1, null);
		},
		p(ctx, dirty) {
			if (dirty & /*$mainInfo*/ 128 && t1_value !== (t1_value = /*$mainInfo*/ ctx[7].getBoostPayment + "")) set_data(t1, t1_value);

			if (/*$donateSettings*/ ctx[6].boostEndTime >= 0) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = modal_index_svelte_create_if_block_10(ctx);
					if_block.c();
					if_block.m(div1, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			if (if_block) if_block.d();
		}
	};
}

// (2651:28) {#if $donateSettings.boostEndTime >= 0}
function modal_index_svelte_create_if_block_10(ctx) {
	let div;
	let t_value = moment_default().unix(/*$donateSettings*/ ctx[6].boostEndTime).format(/*timeFormatter*/ ctx[8]) + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "donate-shop-modal__badge donate-shop-modal__badge--dark svelte-kzdl1r");
			toggle_class(div, "donate-shop-modal__badge--green", false);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*$donateSettings*/ 64 && t_value !== (t_value = moment_default().unix(/*$donateSettings*/ ctx[6].boostEndTime).format(/*timeFormatter*/ ctx[8]) + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (2666:20) {:else}
function create_else_block_4(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = donate_shop_img_icons_coin_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "coin");
			attr(img, "class", "donate-shop-modal__info-currency-image svelte-kzdl1r");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (2664:20) {#if $modalSettings.mode === ModalMode.Add}
function modal_index_svelte_create_if_block_8(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "donate-shop-modal__info-currency icon-rub-circle svelte-kzdl1r");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (2677:20) {:else}
function create_else_block_3(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "donate-shop-modal__info-currency icon-rub-circle svelte-kzdl1r");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (2675:68) 
function modal_index_svelte_create_if_block_7(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "exp";
			attr(div, "class", "donate-shop-modal__info-currency-exp svelte-kzdl1r");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (2673:20) {#if $modalSettings.mode === ModalMode.Add}
function modal_index_svelte_create_if_block_6(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = donate_shop_img_icons_coin_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "coin");
			attr(img, "class", "donate-shop-modal__info-currency-image svelte-kzdl1r");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (2695:16) {:else}
function modal_index_svelte_create_else_block_2(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "руб.";
			attr(div, "class", "donate-shop-modal__info-currency-rub svelte-kzdl1r");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (2693:16) {#if $modalSettings.mode === ModalMode.Exchange}
function component_modal_index_svelte_create_if_block_5(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = donate_shop_img_icons_coin_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "coin");
			attr(img, "class", "donate-shop-modal__replenishment-icon svelte-kzdl1r");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (2701:8) {#if $modalSettings.mode === ModalMode.Add}
function component_modal_index_svelte_create_if_block_4(ctx) {
	let div;
	let each_value = /*$donateSettings*/ ctx[6].bonusPayments;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = modal_index_svelte_create_each_block(modal_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "donate-shop-modal__bonuses svelte-kzdl1r");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}
		},
		p(ctx, dirty) {
			if (dirty & /*$modalSettings, selectedScaleButtonIndex, $donateSettings*/ 112) {
				each_value = /*$donateSettings*/ ctx[6].bonusPayments;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = modal_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = modal_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (2703:16) {#each $donateSettings.bonusPayments as item, index}
function modal_index_svelte_create_each_block(ctx) {
	let div2;
	let div0;
	let t0;
	let t1_value = /*item*/ ctx[12].from + "";
	let t1;
	let t2;
	let t3;
	let div1;
	let t4_value = `+${/*item*/ ctx[12].percent || 0}%` + "";
	let t4;
	let t5;
	let div2_class_value;

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text("От ");
			t1 = internal_text(t1_value);
			t2 = internal_text(" руб");
			t3 = space();
			div1 = internal_element("div");
			t4 = internal_text(t4_value);
			t5 = space();
			attr(div0, "class", "donate-shop-modal__bonus-point svelte-kzdl1r");
			attr(div1, "class", "donate-shop-modal__bonus-value svelte-kzdl1r");
			attr(div2, "class", div2_class_value = "donate-shop-modal__bonus donate-shop-modal__bonus--" + /*$modalSettings*/ ctx[5].theme + " svelte-kzdl1r");
			toggle_class(div2, "donate-shop-modal__bonus--active", /*selectedScaleButtonIndex*/ ctx[4] === /*index*/ ctx[14]);
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div0, t0);
			append(div0, t1);
			append(div0, t2);
			append(div2, t3);
			append(div2, div1);
			append(div1, t4);
			append(div2, t5);
		},
		p(ctx, dirty) {
			if (dirty & /*$donateSettings*/ 64 && t1_value !== (t1_value = /*item*/ ctx[12].from + "")) set_data(t1, t1_value);
			if (dirty & /*$donateSettings*/ 64 && t4_value !== (t4_value = `+${/*item*/ ctx[12].percent || 0}%` + "")) set_data(t4, t4_value);

			if (dirty & /*$modalSettings*/ 32 && div2_class_value !== (div2_class_value = "donate-shop-modal__bonus donate-shop-modal__bonus--" + /*$modalSettings*/ ctx[5].theme + " svelte-kzdl1r")) {
				attr(div2, "class", div2_class_value);
			}

			if (dirty & /*$modalSettings, selectedScaleButtonIndex*/ 48) {
				toggle_class(div2, "donate-shop-modal__bonus--active", /*selectedScaleButtonIndex*/ ctx[4] === /*index*/ ctx[14]);
			}
		},
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

// (2722:16) {:else}
function modal_index_svelte_create_else_block_1(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "donate-shop-modal__info-currency icon-rub-circle svelte-kzdl1r");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (2720:64) 
function component_modal_index_svelte_create_if_block_3(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "exp";
			attr(div, "class", "donate-shop-modal__info-currency-exp svelte-kzdl1r");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (2718:16) {#if $modalSettings.mode === ModalMode.Add}
function component_modal_index_svelte_create_if_block_2(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = donate_shop_img_icons_coin_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "coin");
			attr(img, "class", "donate-shop-modal__info-currency-image svelte-kzdl1r");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (2727:12) {#if $modalSettings.mode === ModalMode.Add && bonusScale > 1}
function component_modal_index_svelte_create_if_block_1(ctx) {
	let div;
	let t0;
	let span;
	let t1_value = (Math.abs(/*inputValue*/ ctx[1] * /*$modalSettings*/ ctx[5].rate - /*totalValue*/ ctx[2]) || 0) + "";
	let t1;
	let t2;
	let span_class_value;
	let t3;
	let div_intro;

	return {
		c() {
			div = internal_element("div");
			t0 = internal_text("Из них ");
			span = internal_element("span");
			t1 = internal_text(t1_value);
			t2 = internal_text(" AZ");
			t3 = internal_text(" - бонус");
			attr(span, "class", span_class_value = "donate-shop-modal__summary-text--" + /*$modalSettings*/ ctx[5].theme + " svelte-kzdl1r");
			attr(div, "class", "donate-shop-modal__summary-text svelte-kzdl1r");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t0);
			append(div, span);
			append(span, t1);
			append(span, t2);
			append(div, t3);
		},
		p(ctx, dirty) {
			if (dirty & /*inputValue, $modalSettings, totalValue*/ 38 && t1_value !== (t1_value = (Math.abs(/*inputValue*/ ctx[1] * /*$modalSettings*/ ctx[5].rate - /*totalValue*/ ctx[2]) || 0) + "")) set_data(t1, t1_value);

			if (dirty & /*$modalSettings*/ 32 && span_class_value !== (span_class_value = "donate-shop-modal__summary-text--" + /*$modalSettings*/ ctx[5].theme + " svelte-kzdl1r")) {
				attr(span, "class", span_class_value);
			}
		},
		i(local) {
			if (!div_intro) {
				add_render_callback(() => {
					div_intro = create_in_transition(div, fade, {});
					div_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (2742:16) {:else}
function modal_index_svelte_create_else_block(ctx) {
	let t_value = (/*$modalSettings*/ ctx[5].mode === ModalMode.Add
	? 'ПОПОЛНИТЬ'
	: 'ОБМЕНЯТЬ') + "";

	let t;

	return {
		c() {
			t = internal_text(t_value);
		},
		m(target, anchor) {
			insert(target, t, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*$modalSettings*/ 32 && t_value !== (t_value = (/*$modalSettings*/ ctx[5].mode === ModalMode.Add
			? 'ПОПОЛНИТЬ'
			: 'ОБМЕНЯТЬ') + "")) set_data(t, t_value);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(t);
		}
	};
}

// (2738:16) {#if $modalSettings.loading}
function component_modal_index_svelte_create_if_block(ctx) {
	let div;
	let loader;
	let current;
	loader = new loader_index_svelte({ props: { style: 'fade' } });

	return {
		c() {
			div = internal_element("div");
			create_component(loader.$$.fragment);
			attr(div, "class", "donate-shop-modal__loader svelte-kzdl1r");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(loader, div, null);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(loader.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(loader.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(loader);
		}
	};
}

function component_modal_index_svelte_create_fragment(ctx) {
	let div21;
	let div2;
	let div0;
	let t0_value = MAP_MODE_TO_TITLE[/*$modalSettings*/ ctx[5].mode] + "";
	let t0;
	let t1;
	let div1;
	let div2_class_value;
	let t2;
	let div20;
	let div10;
	let div9;
	let div4;
	let div3;
	let t4;
	let show_if = !(0,lodash.isNil)(/*$mainInfo*/ ctx[7].getBoostPayment) && /*$modalSettings*/ ctx[5].mode !== ModalMode.Exp;
	let t5;
	let div8;
	let div5;
	let t7;
	let t8;
	let div6;
	let t10;
	let div7;
	let t11_value = formatMoney(/*$modalSettings*/ ctx[5].rate) + "";
	let t11;
	let t12;
	let t13;
	let div13;
	let div11;
	let t15;
	let div12;
	let input;
	let t16;
	let t17;
	let t18;
	let div17;
	let div14;
	let t20;
	let div16;
	let t21;
	let div15;
	let t22_value = formatMoney(/*totalValue*/ ctx[2]) + "";
	let t22;
	let t23;
	let t24;
	let div19;
	let div18;
	let current_block_type_index;
	let if_block7;
	let div18_class_value;
	let current;
	let mounted;
	let dispose;
	let if_block0 = show_if && modal_index_svelte_create_if_block_9(ctx);

	function select_block_type(ctx, dirty) {
		if (/*$modalSettings*/ ctx[5].mode === ModalMode.Add) return modal_index_svelte_create_if_block_8;
		return create_else_block_4;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block1 = current_block_type(ctx);

	function select_block_type_1(ctx, dirty) {
		if (/*$modalSettings*/ ctx[5].mode === ModalMode.Add) return modal_index_svelte_create_if_block_6;
		if (/*$modalSettings*/ ctx[5].mode === ModalMode.Exp) return modal_index_svelte_create_if_block_7;
		return create_else_block_3;
	}

	let current_block_type_1 = select_block_type_1(ctx, -1);
	let if_block2 = current_block_type_1(ctx);

	function select_block_type_2(ctx, dirty) {
		if (/*$modalSettings*/ ctx[5].mode === ModalMode.Exchange) return component_modal_index_svelte_create_if_block_5;
		return modal_index_svelte_create_else_block_2;
	}

	let current_block_type_2 = select_block_type_2(ctx, -1);
	let if_block3 = current_block_type_2(ctx);
	let if_block4 = /*$modalSettings*/ ctx[5].mode === ModalMode.Add && component_modal_index_svelte_create_if_block_4(ctx);

	function select_block_type_3(ctx, dirty) {
		if (/*$modalSettings*/ ctx[5].mode === ModalMode.Add) return component_modal_index_svelte_create_if_block_2;
		if (/*$modalSettings*/ ctx[5].mode === ModalMode.Exp) return component_modal_index_svelte_create_if_block_3;
		return modal_index_svelte_create_else_block_1;
	}

	let current_block_type_3 = select_block_type_3(ctx, -1);
	let if_block5 = current_block_type_3(ctx);
	let if_block6 = /*$modalSettings*/ ctx[5].mode === ModalMode.Add && /*bonusScale*/ ctx[3] > 1 && component_modal_index_svelte_create_if_block_1(ctx);
	const if_block_creators = [component_modal_index_svelte_create_if_block, modal_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type_4(ctx, dirty) {
		if (/*$modalSettings*/ ctx[5].loading) return 0;
		return 1;
	}

	current_block_type_index = select_block_type_4(ctx, -1);
	if_block7 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div21 = internal_element("div");
			div2 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			div1 = internal_element("div");
			div1.innerHTML = `<i class="donate-shop-modal__header-close-icon icon-close svelte-kzdl1r"></i>`;
			t2 = space();
			div20 = internal_element("div");
			div10 = internal_element("div");
			div9 = internal_element("div");
			div4 = internal_element("div");
			div3 = internal_element("div");
			div3.textContent = "Курс обмена";
			t4 = space();
			if (if_block0) if_block0.c();
			t5 = space();
			div8 = internal_element("div");
			div5 = internal_element("div");
			div5.textContent = "1";
			t7 = space();
			if_block1.c();
			t8 = space();
			div6 = internal_element("div");
			div6.textContent = "=";
			t10 = space();
			div7 = internal_element("div");
			t11 = internal_text(t11_value);
			t12 = space();
			if_block2.c();
			t13 = space();
			div13 = internal_element("div");
			div11 = internal_element("div");
			div11.textContent = "Сумма пополнения";
			t15 = space();
			div12 = internal_element("div");
			input = internal_element("input");
			t16 = space();
			if_block3.c();
			t17 = space();
			if (if_block4) if_block4.c();
			t18 = space();
			div17 = internal_element("div");
			div14 = internal_element("div");
			div14.textContent = "Вы получите";
			t20 = space();
			div16 = internal_element("div");
			if_block5.c();
			t21 = space();
			div15 = internal_element("div");
			t22 = internal_text(t22_value);
			t23 = space();
			if (if_block6) if_block6.c();
			t24 = space();
			div19 = internal_element("div");
			div18 = internal_element("div");
			if_block7.c();
			attr(div0, "class", "donate-shop-modal__header-title svelte-kzdl1r");
			attr(div1, "class", "donate-shop-modal__header-close svelte-kzdl1r");
			attr(div2, "class", div2_class_value = "donate-shop-modal__header donate-shop-modal__header--" + /*$modalSettings*/ ctx[5].theme + " svelte-kzdl1r");
			attr(div3, "class", "donate-shop-modal__caption svelte-kzdl1r");
			attr(div4, "class", "donate-shop-modal__course-header svelte-kzdl1r");
			attr(div5, "class", "donate-shop-modal__info-value svelte-kzdl1r");
			attr(div6, "class", "donate-shop-modal__info-value svelte-kzdl1r");
			attr(div7, "class", "donate-shop-modal__info-value svelte-kzdl1r");
			attr(div8, "class", "donate-shop-modal__info svelte-kzdl1r");
			attr(div9, "class", "donate-shop-modal__course svelte-kzdl1r");
			attr(div10, "class", "donate-shop-modal__exchange-rate");
			attr(div11, "class", "donate-shop-modal__caption svelte-kzdl1r");
			attr(input, "type", "number");
			attr(input, "class", "donate-shop-modal__replenishment-field-input svelte-kzdl1r");
			attr(input, "min", "0");
			input.value = /*inputValue*/ ctx[1];
			attr(div12, "class", "donate-shop-modal__replenishment-field svelte-kzdl1r");
			attr(div13, "class", "donate-shop-modal__replenishment");
			attr(div14, "class", "donate-shop-modal__caption svelte-kzdl1r");
			attr(div15, "class", "donate-shop-modal__summary-value svelte-kzdl1r");
			attr(div16, "class", "donate-shop-modal__summary-field svelte-kzdl1r");
			attr(div17, "class", "donate-shop-modal__summary svelte-kzdl1r");
			attr(div18, "class", div18_class_value = "donate-shop-modal__button donate-shop-modal__button--" + /*$modalSettings*/ ctx[5].theme + " svelte-kzdl1r");
			attr(div19, "class", "donate-shop-modal__footer svelte-kzdl1r");
			attr(div20, "class", "donate-shop-modal__content svelte-kzdl1r");
			attr(div21, "class", "donate-shop-modal svelte-kzdl1r");
		},
		m(target, anchor) {
			insert(target, div21, anchor);
			append(div21, div2);
			append(div2, div0);
			append(div0, t0);
			append(div2, t1);
			append(div2, div1);
			append(div21, t2);
			append(div21, div20);
			append(div20, div10);
			append(div10, div9);
			append(div9, div4);
			append(div4, div3);
			append(div4, t4);
			if (if_block0) if_block0.m(div4, null);
			append(div9, t5);
			append(div9, div8);
			append(div8, div5);
			append(div8, t7);
			if_block1.m(div8, null);
			append(div8, t8);
			append(div8, div6);
			append(div8, t10);
			append(div8, div7);
			append(div7, t11);
			append(div8, t12);
			if_block2.m(div8, null);
			append(div20, t13);
			append(div20, div13);
			append(div13, div11);
			append(div13, t15);
			append(div13, div12);
			append(div12, input);
			append(div12, t16);
			if_block3.m(div12, null);
			append(div20, t17);
			if (if_block4) if_block4.m(div20, null);
			append(div20, t18);
			append(div20, div17);
			append(div17, div14);
			append(div17, t20);
			append(div17, div16);
			if_block5.m(div16, null);
			append(div16, t21);
			append(div16, div15);
			append(div15, t22);
			append(div17, t23);
			if (if_block6) if_block6.m(div17, null);
			append(div20, t24);
			append(div20, div19);
			append(div19, div18);
			if_blocks[current_block_type_index].m(div18, null);
			current = true;

			if (!mounted) {
				dispose = [
					listen(div1, "click", function () {
						if (internal_is_function(/*onClose*/ ctx[0])) /*onClose*/ ctx[0].apply(this, arguments);
					}),
					listen(input, "input", /*input_handler*/ ctx[11]),
					listen(div18, "click", /*modalSubmit*/ ctx[10])
				];

				mounted = true;
			}
		},
		p(new_ctx, [dirty]) {
			ctx = new_ctx;
			if ((!current || dirty & /*$modalSettings*/ 32) && t0_value !== (t0_value = MAP_MODE_TO_TITLE[/*$modalSettings*/ ctx[5].mode] + "")) set_data(t0, t0_value);

			if (!current || dirty & /*$modalSettings*/ 32 && div2_class_value !== (div2_class_value = "donate-shop-modal__header donate-shop-modal__header--" + /*$modalSettings*/ ctx[5].theme + " svelte-kzdl1r")) {
				attr(div2, "class", div2_class_value);
			}

			if (dirty & /*$mainInfo, $modalSettings*/ 160) show_if = !(0,lodash.isNil)(/*$mainInfo*/ ctx[7].getBoostPayment) && /*$modalSettings*/ ctx[5].mode !== ModalMode.Exp;

			if (show_if) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = modal_index_svelte_create_if_block_9(ctx);
					if_block0.c();
					if_block0.m(div4, null);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block1) {
				if_block1.p(ctx, dirty);
			} else {
				if_block1.d(1);
				if_block1 = current_block_type(ctx);

				if (if_block1) {
					if_block1.c();
					if_block1.m(div8, t8);
				}
			}

			if ((!current || dirty & /*$modalSettings*/ 32) && t11_value !== (t11_value = formatMoney(/*$modalSettings*/ ctx[5].rate) + "")) set_data(t11, t11_value);

			if (current_block_type_1 === (current_block_type_1 = select_block_type_1(ctx, dirty)) && if_block2) {
				if_block2.p(ctx, dirty);
			} else {
				if_block2.d(1);
				if_block2 = current_block_type_1(ctx);

				if (if_block2) {
					if_block2.c();
					if_block2.m(div8, null);
				}
			}

			if (!current || dirty & /*inputValue*/ 2 && input.value !== /*inputValue*/ ctx[1]) {
				input.value = /*inputValue*/ ctx[1];
			}

			if (current_block_type_2 === (current_block_type_2 = select_block_type_2(ctx, dirty)) && if_block3) {
				if_block3.p(ctx, dirty);
			} else {
				if_block3.d(1);
				if_block3 = current_block_type_2(ctx);

				if (if_block3) {
					if_block3.c();
					if_block3.m(div12, null);
				}
			}

			if (/*$modalSettings*/ ctx[5].mode === ModalMode.Add) {
				if (if_block4) {
					if_block4.p(ctx, dirty);
				} else {
					if_block4 = component_modal_index_svelte_create_if_block_4(ctx);
					if_block4.c();
					if_block4.m(div20, t18);
				}
			} else if (if_block4) {
				if_block4.d(1);
				if_block4 = null;
			}

			if (current_block_type_3 === (current_block_type_3 = select_block_type_3(ctx, dirty)) && if_block5) {
				if_block5.p(ctx, dirty);
			} else {
				if_block5.d(1);
				if_block5 = current_block_type_3(ctx);

				if (if_block5) {
					if_block5.c();
					if_block5.m(div16, t21);
				}
			}

			if ((!current || dirty & /*totalValue*/ 4) && t22_value !== (t22_value = formatMoney(/*totalValue*/ ctx[2]) + "")) set_data(t22, t22_value);

			if (/*$modalSettings*/ ctx[5].mode === ModalMode.Add && /*bonusScale*/ ctx[3] > 1) {
				if (if_block6) {
					if_block6.p(ctx, dirty);

					if (dirty & /*$modalSettings, bonusScale*/ 40) {
						transition_in(if_block6, 1);
					}
				} else {
					if_block6 = component_modal_index_svelte_create_if_block_1(ctx);
					if_block6.c();
					transition_in(if_block6, 1);
					if_block6.m(div17, null);
				}
			} else if (if_block6) {
				if_block6.d(1);
				if_block6 = null;
			}

			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type_4(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block7 = if_blocks[current_block_type_index];

				if (!if_block7) {
					if_block7 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block7.c();
				} else {
					if_block7.p(ctx, dirty);
				}

				transition_in(if_block7, 1);
				if_block7.m(div18, null);
			}

			if (!current || dirty & /*$modalSettings*/ 32 && div18_class_value !== (div18_class_value = "donate-shop-modal__button donate-shop-modal__button--" + /*$modalSettings*/ ctx[5].theme + " svelte-kzdl1r")) {
				attr(div18, "class", div18_class_value);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block6);
			transition_in(if_block7);
			current = true;
		},
		o(local) {
			transition_out(if_block7);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div21);
			if (if_block0) if_block0.d();
			if_block1.d();
			if_block2.d();
			if_block3.d();
			if (if_block4) if_block4.d();
			if_block5.d();
			if (if_block6) if_block6.d();
			if_blocks[current_block_type_index].d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function component_modal_index_svelte_instance($$self, $$props, $$invalidate) {
	let $modalSettings;
	let $donateSettings;
	let $mainInfo;
	component_subscribe($$self, modalSettings, $$value => $$invalidate(5, $modalSettings = $$value));
	component_subscribe($$self, donateSettings, $$value => $$invalidate(6, $donateSettings = $$value));
	component_subscribe($$self, store_mainInfo, $$value => $$invalidate(7, $mainInfo = $$value));

	let { onClose = () => {
		
	} } = $$props;

	let inputValue;
	let totalValue = 0;
	let bonusScale = 1;
	let selectedScaleButtonIndex = -1;

	const timeFormatter = $donateSettings.boostEndTime - moment_default()().unix() > 86400
	? 'DD.MM.YYYY'
	: 'HH:mm:ss';

	const onInput = event => {
		if (inputValue < 0 || inputValue > 1500000000 || event.data === '-') {
			$$invalidate(1, inputValue = 0);
		}

		$$invalidate(1, inputValue = event.target.value);

		if ((/^0/).test(inputValue)) {
			$$invalidate(1, inputValue = null);
		}

		if ($modalSettings.mode === ModalMode.Add) {
			$donateSettings.bonusPayments.forEach((item, index) => {
				const current = $donateSettings.bonusPayments[index];
				const next = $donateSettings.bonusPayments[index + 1];

				if (inputValue >= current.from && ((0,lodash.isNil)(next) || inputValue < next.from)) {
					$$invalidate(3, bonusScale = 1 + item.percent / 100);
					$$invalidate(4, selectedScaleButtonIndex = index);
				}

				if (inputValue < $donateSettings.bonusPayments[0].from) {
					$$invalidate(3, bonusScale = 1);
					$$invalidate(4, selectedScaleButtonIndex = -1);
				}
			});

			$$invalidate(2, totalValue = Math.floor(inputValue * $modalSettings.rate * bonusScale));
		}

		if ($modalSettings.mode === ModalMode.Exchange) {
			$$invalidate(2, totalValue = inputValue * $donateSettings.totalEarnings);
		}

		if ($modalSettings.mode === ModalMode.Exp) {
			$$invalidate(2, totalValue = inputValue * $modalSettings.rate);
		}
	};

	const modalSubmit = () => {
		if ((0,lodash.isNil)(inputValue) || $modalSettings.loading) {
			return;
		}

		sendClientMessage(`donateShop.modal.${$modalSettings.mode}`, inputValue);
		set_store_value(modalSettings, $modalSettings.loading = false, $modalSettings);
	};

	onDestroy(() => {
		set_store_value(modalSettings, $modalSettings = MODAL_SETTINGS_DEFAULT, $modalSettings);
	});

	const input_handler = event => onInput(event);

	$$self.$$set = $$props => {
		if ('onClose' in $$props) $$invalidate(0, onClose = $$props.onClose);
	};

	return [
		onClose,
		inputValue,
		totalValue,
		bonusScale,
		selectedScaleButtonIndex,
		$modalSettings,
		$donateSettings,
		$mainInfo,
		timeFormatter,
		onInput,
		modalSubmit,
		input_handler
	];
}

class modal_index_svelte_Modal extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, component_modal_index_svelte_instance, component_modal_index_svelte_create_fragment, safe_not_equal, { onClose: 0 }, component_modal_index_svelte_add_css);
	}
}

/* harmony default export */ const component_modal_index_svelte = (modal_index_svelte_Modal);
;// CONCATENATED MODULE: ./src/views/donate-shop/component/button/index.svelte
/* src\views\donate-shop\component\button\index.svelte generated by Svelte v3.49.0 */






function button_index_svelte_create_else_block(ctx) {
	let show_if_2 = !(0,lodash.isEmpty)(/*icon*/ ctx[0]);
	let t0;
	let show_if_1 = !(0,lodash.isEmpty)(/*icon*/ ctx[0]);
	let t1;
	let show_if = !(0,lodash.isEmpty)(/*currency*/ ctx[1]);
	let t2;
	let div2;
	let div0;
	let t3;
	let t4;
	let div1;
	let t5;
	let if_block0 = show_if_2 && component_button_index_svelte_create_if_block_3(ctx);
	let if_block1 = show_if_1 && component_button_index_svelte_create_if_block_2(ctx);
	let if_block2 = show_if && component_button_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			if (if_block0) if_block0.c();
			t0 = space();
			if (if_block1) if_block1.c();
			t1 = space();
			if (if_block2) if_block2.c();
			t2 = space();
			div2 = internal_element("div");
			div0 = internal_element("div");
			t3 = internal_text(/*crossedText*/ ctx[4]);
			t4 = space();
			div1 = internal_element("div");
			t5 = internal_text(/*text*/ ctx[2]);
			attr(div0, "class", "donate-shop-button__crossed-text");
			toggle_class(div0, "donate-shop-button__crossed-text--disabled", /*disabled*/ ctx[5]);
			attr(div1, "class", "donate-shop-button__text");
			attr(div2, "class", "donate-shop-button__main");
		},
		m(target, anchor) {
			if (if_block0) if_block0.m(target, anchor);
			insert(target, t0, anchor);
			if (if_block1) if_block1.m(target, anchor);
			insert(target, t1, anchor);
			if (if_block2) if_block2.m(target, anchor);
			insert(target, t2, anchor);
			insert(target, div2, anchor);
			append(div2, div0);
			append(div0, t3);
			append(div2, t4);
			append(div2, div1);
			append(div1, t5);
		},
		p(ctx, dirty) {
			if (dirty & /*icon*/ 1) show_if_2 = !(0,lodash.isEmpty)(/*icon*/ ctx[0]);

			if (show_if_2) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = component_button_index_svelte_create_if_block_3(ctx);
					if_block0.c();
					if_block0.m(t0.parentNode, t0);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty & /*icon*/ 1) show_if_1 = !(0,lodash.isEmpty)(/*icon*/ ctx[0]);

			if (show_if_1) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = component_button_index_svelte_create_if_block_2(ctx);
					if_block1.c();
					if_block1.m(t1.parentNode, t1);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty & /*currency*/ 2) show_if = !(0,lodash.isEmpty)(/*currency*/ ctx[1]);

			if (show_if) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = component_button_index_svelte_create_if_block_1(ctx);
					if_block2.c();
					if_block2.m(t2.parentNode, t2);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			if (dirty & /*crossedText*/ 16) set_data(t3, /*crossedText*/ ctx[4]);

			if (dirty & /*disabled*/ 32) {
				toggle_class(div0, "donate-shop-button__crossed-text--disabled", /*disabled*/ ctx[5]);
			}

			if (dirty & /*text*/ 4) set_data(t5, /*text*/ ctx[2]);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (if_block0) if_block0.d(detaching);
			if (detaching) detach(t0);
			if (if_block1) if_block1.d(detaching);
			if (detaching) detach(t1);
			if (if_block2) if_block2.d(detaching);
			if (detaching) detach(t2);
			if (detaching) detach(div2);
		}
	};
}

// (26:1) {#if loading}
function component_button_index_svelte_create_if_block(ctx) {
	let div;
	let loader;
	let current;
	loader = new loader_index_svelte({ props: { style: 'fade' } });

	return {
		c() {
			div = internal_element("div");
			create_component(loader.$$.fragment);
			attr(div, "class", "donate-shop-button__loader");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(loader, div, null);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(loader.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(loader.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(loader);
		}
	};
}

// (31:2) {#if !isEmpty(icon)}
function component_button_index_svelte_create_if_block_3(ctx) {
	let i;
	let i_class_value;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", i_class_value = "donate-shop-button__icon " + /*icon*/ ctx[0]);
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*icon*/ 1 && i_class_value !== (i_class_value = "donate-shop-button__icon " + /*icon*/ ctx[0])) {
				attr(i, "class", i_class_value);
			}
		},
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (34:2) {#if !isEmpty(icon)}
function component_button_index_svelte_create_if_block_2(ctx) {
	let i;
	let i_class_value;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", i_class_value = "donate-shop-button__icon " + /*icon*/ ctx[0]);
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*icon*/ 1 && i_class_value !== (i_class_value = "donate-shop-button__icon " + /*icon*/ ctx[0])) {
				attr(i, "class", i_class_value);
			}
		},
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (37:2) {#if !isEmpty(currency)}
function component_button_index_svelte_create_if_block_1(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = /*currency*/ ctx[1])) attr(img, "src", img_src_value);
			attr(img, "class", "donate-shop-button__icon-currency");
			attr(img, "alt", "currency");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*currency*/ 2 && !src_url_equal(img.src, img_src_value = /*currency*/ ctx[1])) {
				attr(img, "src", img_src_value);
			}
		},
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

function component_button_index_svelte_create_fragment(ctx) {
	let div;
	let current_block_type_index;
	let if_block;
	let current;
	let mounted;
	let dispose;
	const if_block_creators = [component_button_index_svelte_create_if_block, button_index_svelte_create_else_block];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (/*loading*/ ctx[6]) return 0;
		return 1;
	}

	current_block_type_index = select_block_type(ctx, -1);
	if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);

	return {
		c() {
			div = internal_element("div");
			if_block.c();
			attr(div, "class", "donate-shop-button");
			set_style(div, "--gradient", "linear-gradient(90deg, " + /*colors*/ ctx[3][0] + " 0%, " + /*colors*/ ctx[3][1] + " 100%)");
			set_style(div, "--shadow", "0px 0px 16px 0px " + /*colors*/ ctx[3][0] + "B2");
			toggle_class(div, "donate-shop-button--disabled", /*disabled*/ ctx[5]);
			toggle_class(div, "donate-shop-button--loading", /*loading*/ ctx[6]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if_blocks[current_block_type_index].m(div, null);
			current = true;

			if (!mounted) {
				dispose = listen(div, "click", function () {
					if (internal_is_function(/*onClick*/ ctx[7])) /*onClick*/ ctx[7].apply(this, arguments);
				});

				mounted = true;
			}
		},
		p(new_ctx, [dirty]) {
			ctx = new_ctx;
			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block = if_blocks[current_block_type_index];

				if (!if_block) {
					if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block.c();
				} else {
					if_block.p(ctx, dirty);
				}

				transition_in(if_block, 1);
				if_block.m(div, null);
			}

			if (!current || dirty & /*colors*/ 8) {
				set_style(div, "--gradient", "linear-gradient(90deg, " + /*colors*/ ctx[3][0] + " 0%, " + /*colors*/ ctx[3][1] + " 100%)");
			}

			if (!current || dirty & /*colors*/ 8) {
				set_style(div, "--shadow", "0px 0px 16px 0px " + /*colors*/ ctx[3][0] + "B2");
			}

			if (dirty & /*disabled*/ 32) {
				toggle_class(div, "donate-shop-button--disabled", /*disabled*/ ctx[5]);
			}

			if (dirty & /*loading*/ 64) {
				toggle_class(div, "donate-shop-button--loading", /*loading*/ ctx[6]);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if_blocks[current_block_type_index].d();
			mounted = false;
			dispose();
		}
	};
}

function component_button_index_svelte_instance($$self, $$props, $$invalidate) {
	let { icon = '' } = $$props;
	let { currency = '' } = $$props;
	let { text = '' } = $$props;
	let { colors = [] } = $$props;
	let { crossedText = '' } = $$props;
	let { disabled = false } = $$props;
	let { loading = false } = $$props;

	let { onClick = () => {
		
	} } = $$props;

	$$self.$$set = $$props => {
		if ('icon' in $$props) $$invalidate(0, icon = $$props.icon);
		if ('currency' in $$props) $$invalidate(1, currency = $$props.currency);
		if ('text' in $$props) $$invalidate(2, text = $$props.text);
		if ('colors' in $$props) $$invalidate(3, colors = $$props.colors);
		if ('crossedText' in $$props) $$invalidate(4, crossedText = $$props.crossedText);
		if ('disabled' in $$props) $$invalidate(5, disabled = $$props.disabled);
		if ('loading' in $$props) $$invalidate(6, loading = $$props.loading);
		if ('onClick' in $$props) $$invalidate(7, onClick = $$props.onClick);
	};

	return [icon, currency, text, colors, crossedText, disabled, loading, onClick];
}

class component_button_index_svelte_Button extends SvelteComponent {
	constructor(options) {
		super();

		init(this, options, component_button_index_svelte_instance, component_button_index_svelte_create_fragment, safe_not_equal, {
			icon: 0,
			currency: 1,
			text: 2,
			colors: 3,
			crossedText: 4,
			disabled: 5,
			loading: 6,
			onClick: 7
		});
	}
}

/* harmony default export */ const component_button_index_svelte = (component_button_index_svelte_Button);
;// CONCATENATED MODULE: ./src/views/donate-shop/component/light/index.svelte
/* src\views\donate-shop\component\light\index.svelte generated by Svelte v3.49.0 */


function light_index_svelte_add_css(target) {
	append_styles(target, "svelte-10ece87", "@keyframes svelte-10ece87-blinking{50%{opacity:0}}@keyframes svelte-10ece87-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-10ece87-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-10ece87-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-10ece87-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-10ece87-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-10ece87-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-10ece87-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-10ece87-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-10ece87-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-10ece87-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-10ece87-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-10ece87-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-10ece87-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-10ece87-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.donate-shop-light.svelte-10ece87{width:100%;height:100%;will-change:filter}");
}

function light_index_svelte_create_fragment(ctx) {
	let svg;
	let g;
	let circle;
	let defs;
	let filter;
	let feFlood;
	let feBlend;
	let feGaussianBlur;

	return {
		c() {
			svg = svg_element("svg");
			g = svg_element("g");
			circle = svg_element("circle");
			defs = svg_element("defs");
			filter = svg_element("filter");
			feFlood = svg_element("feFlood");
			feBlend = svg_element("feBlend");
			feGaussianBlur = svg_element("feGaussianBlur");
			attr(circle, "cx", "166");
			attr(circle, "cy", "129");
			attr(circle, "r", "76");
			attr(circle, "fill", /*color*/ ctx[0]);
			attr(g, "filter", "url(#filter0_f_761_18014)");
			attr(feFlood, "flood-opacity", "0");
			attr(feFlood, "result", "BackgroundImageFix");
			attr(feBlend, "mode", "normal");
			attr(feBlend, "in", "SourceGraphic");
			attr(feBlend, "in2", "BackgroundImageFix");
			attr(feBlend, "result", "shape");
			attr(feGaussianBlur, "stdDeviation", "50");
			attr(feGaussianBlur, "result", "effect1_foregroundBlur_761_18014");
			attr(filter, "id", "filter0_f_761_18014");
			attr(filter, "x", "-10");
			attr(filter, "y", "-47");
			attr(filter, "width", "352");
			attr(filter, "height", "352");
			attr(filter, "filterUnits", "userSpaceOnUse");
			attr(filter, "color-interpolation-filters", "sRGB");
			attr(svg, "viewBox", "0 0 336 305");
			attr(svg, "fill", "none");
			attr(svg, "xmlns", "http://www.w3.org/2000/svg");
			attr(svg, "class", "donate-shop-light svelte-10ece87");
		},
		m(target, anchor) {
			insert(target, svg, anchor);
			append(svg, g);
			append(g, circle);
			append(svg, defs);
			append(defs, filter);
			append(filter, feFlood);
			append(filter, feBlend);
			append(filter, feGaussianBlur);
		},
		p(ctx, [dirty]) {
			if (dirty & /*color*/ 1) {
				attr(circle, "fill", /*color*/ ctx[0]);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(svg);
		}
	};
}

function light_index_svelte_instance($$self, $$props, $$invalidate) {
	let { color = '' } = $$props;

	$$self.$$set = $$props => {
		if ('color' in $$props) $$invalidate(0, color = $$props.color);
	};

	return [color];
}

class Light extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, light_index_svelte_instance, light_index_svelte_create_fragment, safe_not_equal, { color: 0 }, light_index_svelte_add_css);
	}
}

/* harmony default export */ const light_index_svelte = (Light);
;// CONCATENATED MODULE: ./src/views/donate-shop/component/product/test.webp
const test_namespaceObject = __webpack_require__.p + "assets/b31fd32a5be9294dffc3.webp";
;// CONCATENATED MODULE: ./src/views/donate-shop/component/product/testpart.webp
const testpart_namespaceObject = __webpack_require__.p + "assets/5c1a3a44a69f78802739.webp";
;// CONCATENATED MODULE: ./src/views/donate-shop/component/product/index.svelte
/* src\views\donate-shop\component\product\index.svelte generated by Svelte v3.49.0 */












// import whiteGlowLeftEffect from '../../img/effects/white-glow-left.png';
// import whiteGlowRightEffect from '../../img/effects/white-glow-right.png';
// import goldGlowLeftEffect from '../../img/effects/gold-glow-left.png';
// import goldGlowRightEffect from '../../img/effects/gold-glow-right.png';







function product_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[8] = list[i];
	return child_ctx;
}

// (48:4) {#if data.animation >= 0 && backgroundLoaded}
function index_svelte_create_if_block_16(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "donate-shop-product__animated-border");
			if (!src_url_equal(img.src, img_src_value = test_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "border-anim");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (51:4) {#if data.isVehicle}
function index_svelte_create_if_block_15(ctx) {
	let div;
	let tooltip_action;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="donate-shop-product__rarity-button-title">i</p>`;
			attr(div, "class", "donate-shop-product__rarity-button");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = action_destroyer(tooltip_action = tooltip.call(null, div, {
					bonuses: [
						'Качество будет определено при открытии сертификата.',
						'Вы можете получить:',
						'- Хлам',
						'- Обычное',
						'- Идеальное'
					],
					isShowRarityPlate: false,
					isDottedList: false,
					isShowBonusesHeader: false,
					offsetX: 240
				}));

				mounted = true;
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (81:4) {#if data.animation >= 0 && backgroundLoaded}
function index_svelte_create_if_block_14(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			attr(img, "class", "donate-shop-product__animated-parts");
			if (!src_url_equal(img.src, img_src_value = testpart_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "parts-anim");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (103:12) {#if data.imageId >= 0 || data.gifId >= 0}
function index_svelte_create_if_block_13(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/assets/images/items/${/*data*/ ctx[0].imageId}.${/*data*/ ctx[0].gifId > 0 ? 'gif' : 'webp'}`)) attr(img, "src", img_src_value);
			attr(img, "class", "donate-shop-product__image");
			attr(img, "alt", "item-icon");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*data*/ 1 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/assets/images/items/${/*data*/ ctx[0].imageId}.${/*data*/ ctx[0].gifId > 0 ? 'gif' : 'webp'}`)) {
				attr(img, "src", img_src_value);
			}
		},
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (118:24) {#if !isEmpty(badge.icon)}
function product_index_svelte_create_if_block_12(ctx) {
	let div;
	let t_value = unicodeFormatToEmoji(/*badge*/ ctx[8].icon) + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "donate-shop-product__badge-icon");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*data*/ 1 && t_value !== (t_value = unicodeFormatToEmoji(/*badge*/ ctx[8].icon) + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (113:16) {#each data.badges as badge}
function product_index_svelte_create_each_block(ctx) {
	let div1;
	let show_if = !(0,lodash.isEmpty)(/*badge*/ ctx[8].icon);
	let t0;
	let div0;
	let t1_value = /*badge*/ ctx[8].text + "";
	let t1;
	let t2;
	let if_block = show_if && product_index_svelte_create_if_block_12(ctx);

	return {
		c() {
			div1 = internal_element("div");
			if (if_block) if_block.c();
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(div0, "class", "donate-shop-product__badge-text");
			attr(div1, "class", "donate-shop-product__badge");
			set_style(div1, "--gradient", "linear-gradient(90deg, " + /*badge*/ ctx[8].colors[0] + " 0%, " + /*badge*/ ctx[8].colors[1] + " 100%)");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			if (if_block) if_block.m(div1, null);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
			append(div1, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*data*/ 1) show_if = !(0,lodash.isEmpty)(/*badge*/ ctx[8].icon);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = product_index_svelte_create_if_block_12(ctx);
					if_block.c();
					if_block.m(div1, t0);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (dirty & /*data*/ 1 && t1_value !== (t1_value = /*badge*/ ctx[8].text + "")) set_data(t1, t1_value);

			if (dirty & /*data*/ 1) {
				set_style(div1, "--gradient", "linear-gradient(90deg, " + /*badge*/ ctx[8].colors[0] + " 0%, " + /*badge*/ ctx[8].colors[1] + " 100%)");
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			if (if_block) if_block.d();
		}
	};
}

// (130:16) {#if data.endUnixTime >= 0 && data.timeDifference > 0}
function product_index_svelte_create_if_block_10(ctx) {
	let i;
	let t;
	let div;

	function select_block_type(ctx, dirty) {
		if (/*data*/ ctx[0].timerView) return product_index_svelte_create_if_block_11;
		return product_index_svelte_create_else_block_2;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block = current_block_type(ctx);

	return {
		c() {
			i = internal_element("i");
			t = space();
			div = internal_element("div");
			if_block.c();
			attr(i, "class", "donate-shop-product__time-icon icon-time");
			attr(div, "class", "donate-shop-product__time-text");
		},
		m(target, anchor) {
			insert(target, i, anchor);
			insert(target, t, anchor);
			insert(target, div, anchor);
			if_block.m(div, null);
		},
		p(ctx, dirty) {
			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div, null);
				}
			}
		},
		d(detaching) {
			if (detaching) detach(i);
			if (detaching) detach(t);
			if (detaching) detach(div);
			if_block.d();
		}
	};
}

// (135:24) {:else}
function product_index_svelte_create_else_block_2(ctx) {
	let t_value = moment_default().unix(/*data*/ ctx[0].endUnixTime).format('DD.MM.YYYY') + "";
	let t;

	return {
		c() {
			t = internal_text(t_value);
		},
		m(target, anchor) {
			insert(target, t, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*data*/ 1 && t_value !== (t_value = moment_default().unix(/*data*/ ctx[0].endUnixTime).format('DD.MM.YYYY') + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(t);
		}
	};
}

// (133:24) {#if data.timerView}
function product_index_svelte_create_if_block_11(ctx) {
	let t_value = /*formatTimeString*/ ctx[6](/*data*/ ctx[0].timeDifference) + "";
	let t;

	return {
		c() {
			t = internal_text(t_value);
		},
		m(target, anchor) {
			insert(target, t, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*data*/ 1 && t_value !== (t_value = /*formatTimeString*/ ctx[6](/*data*/ ctx[0].timeDifference) + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(t);
		}
	};
}

// (144:12) {#if data.typeTemplate === Templates.Exp || data.typeTemplate === Templates.Exchange || data.typeTemplate === Templates.Add}
function product_index_svelte_create_if_block_5(ctx) {
	let show_if = /*data*/ ctx[0].typeTemplate && !(0,lodash.isEmpty)(/*data*/ ctx[0].desc);
	let t0;
	let div2;
	let div0;
	let t2;
	let t3;
	let div1;
	let t4;

	let t5_value = formatMoney(/*data*/ ctx[0].typeTemplate === Templates.Exchange
	? /*$donateSettings*/ ctx[5].totalEarnings
	: /*data*/ ctx[0].price) + "";

	let t5;
	let t6;
	let if_block0 = show_if && product_index_svelte_create_if_block_9(ctx);

	function select_block_type_1(ctx, dirty) {
		if (/*data*/ ctx[0].typeTemplate === Templates.Exchange || /*data*/ ctx[0].typeTemplate === Templates.Exp) return product_index_svelte_create_if_block_8;
		return product_index_svelte_create_else_block_1;
	}

	let current_block_type = select_block_type_1(ctx, -1);
	let if_block1 = current_block_type(ctx);

	function select_block_type_2(ctx, dirty) {
		if (/*data*/ ctx[0].typeTemplate === Templates.Exchange) return product_index_svelte_create_if_block_6;
		if (/*data*/ ctx[0].typeTemplate === Templates.Exp) return product_index_svelte_create_if_block_7;
		return product_index_svelte_create_else_block;
	}

	let current_block_type_1 = select_block_type_2(ctx, -1);
	let if_block2 = current_block_type_1(ctx);

	return {
		c() {
			if (if_block0) if_block0.c();
			t0 = space();
			div2 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "1";
			t2 = space();
			if_block1.c();
			t3 = space();
			div1 = internal_element("div");
			t4 = internal_text("= ");
			t5 = internal_text(t5_value);
			t6 = space();
			if_block2.c();
			attr(div0, "class", "donate-shop-product__exchange-value");
			attr(div1, "class", "donate-shop-product__exchange-value");
			attr(div2, "class", "donate-shop-product__exchange");
		},
		m(target, anchor) {
			if (if_block0) if_block0.m(target, anchor);
			insert(target, t0, anchor);
			insert(target, div2, anchor);
			append(div2, div0);
			append(div2, t2);
			if_block1.m(div2, null);
			append(div2, t3);
			append(div2, div1);
			append(div1, t4);
			append(div1, t5);
			append(div2, t6);
			if_block2.m(div2, null);
		},
		p(ctx, dirty) {
			if (dirty & /*data*/ 1) show_if = /*data*/ ctx[0].typeTemplate && !(0,lodash.isEmpty)(/*data*/ ctx[0].desc);

			if (show_if) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = product_index_svelte_create_if_block_9(ctx);
					if_block0.c();
					if_block0.m(t0.parentNode, t0);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (current_block_type === (current_block_type = select_block_type_1(ctx, dirty)) && if_block1) {
				if_block1.p(ctx, dirty);
			} else {
				if_block1.d(1);
				if_block1 = current_block_type(ctx);

				if (if_block1) {
					if_block1.c();
					if_block1.m(div2, t3);
				}
			}

			if (dirty & /*data, $donateSettings*/ 33 && t5_value !== (t5_value = formatMoney(/*data*/ ctx[0].typeTemplate === Templates.Exchange
			? /*$donateSettings*/ ctx[5].totalEarnings
			: /*data*/ ctx[0].price) + "")) set_data(t5, t5_value);

			if (current_block_type_1 === (current_block_type_1 = select_block_type_2(ctx, dirty)) && if_block2) {
				if_block2.p(ctx, dirty);
			} else {
				if_block2.d(1);
				if_block2 = current_block_type_1(ctx);

				if (if_block2) {
					if_block2.c();
					if_block2.m(div2, null);
				}
			}
		},
		d(detaching) {
			if (if_block0) if_block0.d(detaching);
			if (detaching) detach(t0);
			if (detaching) detach(div2);
			if_block1.d();
			if_block2.d();
		}
	};
}

// (145:16) {#if data.typeTemplate && !isEmpty(data.desc)}
function product_index_svelte_create_if_block_9(ctx) {
	let div;
	let t_value = /*data*/ ctx[0].desc + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "donate-shop-product__description donate-shop-product__description--exchange");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*data*/ 1 && t_value !== (t_value = /*data*/ ctx[0].desc + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (154:20) {:else}
function product_index_svelte_create_else_block_1(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "donate-shop-product__exchange-ruble icon-rubble-circle");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (152:20) {#if data.typeTemplate === Templates.Exchange || data.typeTemplate === Templates.Exp}
function product_index_svelte_create_if_block_8(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = donate_shop_img_icons_coin_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "coin");
			attr(img, "class", "donate-shop-product__exchange-coin-image");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (164:20) {:else}
function product_index_svelte_create_else_block(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = donate_shop_img_icons_coin_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "coin");
			attr(img, "class", "donate-shop-product__exchange-coin-image");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (162:66) 
function product_index_svelte_create_if_block_7(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "exp";
			attr(div, "class", "donate-shop-product__exchange-exp");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (160:20) {#if data.typeTemplate === Templates.Exchange}
function product_index_svelte_create_if_block_6(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "donate-shop-product__exchange-ruble icon-dollar");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (169:12) {#if data.typeTemplate === Templates.Big && !isEmpty(data.desc)}
function product_index_svelte_create_if_block_4(ctx) {
	let div;
	let t_value = /*data*/ ctx[0].desc + "";
	let t;
	let div_class_value;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", div_class_value = "donate-shop-product__description donate-shop-product__description--" + MAP_TEMPLATE_TO_CLASS[/*data*/ ctx[0].typeTemplate]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*data*/ 1 && t_value !== (t_value = /*data*/ ctx[0].desc + "")) set_data(t, t_value);

			if (dirty & /*data*/ 1 && div_class_value !== (div_class_value = "donate-shop-product__description donate-shop-product__description--" + MAP_TEMPLATE_TO_CLASS[/*data*/ ctx[0].typeTemplate])) {
				attr(div, "class", div_class_value);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (186:12) {#if (data.typeTemplate === Templates.Standart || data.typeTemplate === Templates.Wide) && !isEmpty(data.desc)}
function product_index_svelte_create_if_block_3(ctx) {
	let div;
	let t_value = /*data*/ ctx[0].desc + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "donate-shop-product__description");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*data*/ 1 && t_value !== (t_value = /*data*/ ctx[0].desc + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (203:8) {#if data.blockedType >= 0}
function product_index_svelte_create_if_block(ctx) {
	let div;
	let current_block_type_index;
	let if_block;
	let current;
	const if_block_creators = [product_index_svelte_create_if_block_1, product_index_svelte_create_if_block_2];
	const if_blocks = [];

	function select_block_type_3(ctx, dirty) {
		if (/*data*/ ctx[0].blockedType === 1) return 0;
		if (/*data*/ ctx[0].blockedType === 0) return 1;
		return -1;
	}

	if (~(current_block_type_index = select_block_type_3(ctx, -1))) {
		if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
	}

	return {
		c() {
			div = internal_element("div");
			if (if_block) if_block.c();
			attr(div, "class", "donate-shop-product__block-overlay");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (~current_block_type_index) {
				if_blocks[current_block_type_index].m(div, null);
			}

			current = true;
		},
		p(ctx, dirty) {
			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type_3(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if (~current_block_type_index) {
					if_blocks[current_block_type_index].p(ctx, dirty);
				}
			} else {
				if (if_block) {
					group_outros();

					transition_out(if_blocks[previous_block_index], 1, 1, () => {
						if_blocks[previous_block_index] = null;
					});

					check_outros();
				}

				if (~current_block_type_index) {
					if_block = if_blocks[current_block_type_index];

					if (!if_block) {
						if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
						if_block.c();
					} else {
						if_block.p(ctx, dirty);
					}

					transition_in(if_block, 1);
					if_block.m(div, null);
				} else {
					if_block = null;
				}
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);

			if (~current_block_type_index) {
				if_blocks[current_block_type_index].d();
			}
		}
	};
}

// (210:49) 
function product_index_svelte_create_if_block_2(ctx) {
	let div;
	let loader;
	let current;
	loader = new loader_index_svelte({ props: { style: 'fade' } });

	return {
		c() {
			div = internal_element("div");
			create_component(loader.$$.fragment);
			attr(div, "class", "donate-shop-product__block-loader");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(loader, div, null);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(loader.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(loader.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(loader);
		}
	};
}

// (205:16) {#if data.blockedType === 1}
function product_index_svelte_create_if_block_1(ctx) {
	let i;
	let t0;
	let div;

	let t1_value = (/*data*/ ctx[0].blockedReason === 0
	? ''
	: /*data*/ ctx[0].blockedReason) + "";

	let t1;

	return {
		c() {
			i = internal_element("i");
			t0 = space();
			div = internal_element("div");
			t1 = internal_text(t1_value);
			attr(i, "class", "donate-shop-product__block-icon icon-lock-wide");
			attr(div, "class", "donate-shop-product__block-reason");
		},
		m(target, anchor) {
			insert(target, i, anchor);
			insert(target, t0, anchor);
			insert(target, div, anchor);
			append(div, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*data*/ 1 && t1_value !== (t1_value = (/*data*/ ctx[0].blockedReason === 0
			? ''
			: /*data*/ ctx[0].blockedReason) + "")) set_data(t1, t1_value);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(i);
			if (detaching) detach(t0);
			if (detaching) detach(div);
		}
	};
}

function product_index_svelte_create_fragment(ctx) {
	let div10;
	let t0;
	let t1;
	let div0;
	let img;
	let img_src_value;
	let t2;
	let t3;
	let div9;
	let div2;
	let div1;
	let light;
	let t4;
	let div2_class_value;
	let t5;
	let div5;
	let div3;
	let t6;
	let div4;
	let t7;
	let div8;
	let t8;
	let show_if_1 = /*data*/ ctx[0].typeTemplate === Templates.Big && !(0,lodash.isEmpty)(/*data*/ ctx[0].desc);
	let t9;
	let div6;
	let span0;
	let t10;
	let t11;
	let span1;
	let t12;
	let t13;
	let show_if = (/*data*/ ctx[0].typeTemplate === Templates.Standart || /*data*/ ctx[0].typeTemplate === Templates.Wide) && !(0,lodash.isEmpty)(/*data*/ ctx[0].desc);
	let t14;
	let div7;
	let button;
	let t15;
	let div10_class_value;
	let current;
	let mounted;
	let dispose;
	let if_block0 = /*data*/ ctx[0].animation >= 0 && /*backgroundLoaded*/ ctx[2] && index_svelte_create_if_block_16(ctx);
	let if_block1 = /*data*/ ctx[0].isVehicle && index_svelte_create_if_block_15(ctx);
	let if_block2 = /*data*/ ctx[0].animation >= 0 && /*backgroundLoaded*/ ctx[2] && index_svelte_create_if_block_14(ctx);

	light = new light_index_svelte({
			props: { color: /*data*/ ctx[0].imageEffectId }
		});

	let if_block3 = (/*data*/ ctx[0].imageId >= 0 || /*data*/ ctx[0].gifId >= 0) && index_svelte_create_if_block_13(ctx);
	let each_value = /*data*/ ctx[0].badges;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = product_index_svelte_create_each_block(product_index_svelte_get_each_context(ctx, each_value, i));
	}

	let if_block4 = /*data*/ ctx[0].endUnixTime >= 0 && /*data*/ ctx[0].timeDifference > 0 && product_index_svelte_create_if_block_10(ctx);
	let if_block5 = (/*data*/ ctx[0].typeTemplate === Templates.Exp || /*data*/ ctx[0].typeTemplate === Templates.Exchange || /*data*/ ctx[0].typeTemplate === Templates.Add) && product_index_svelte_create_if_block_5(ctx);
	let if_block6 = show_if_1 && product_index_svelte_create_if_block_4(ctx);
	let if_block7 = show_if && product_index_svelte_create_if_block_3(ctx);

	button = new component_button_index_svelte({
			props: {
				onClick: /*purchase*/ ctx[1],
				colors: /*data*/ ctx[0].colorButton,
				currency: MAP_ID_TO_CURRENCY[/*data*/ ctx[0].priceCurrency],
				crossedText: /*data*/ ctx[0].discountPrice !== 0
				? /*data*/ ctx[0].price
				: '',
				text: (0,lodash.isEmpty)(/*data*/ ctx[0].nameButton)
				? `${/*data*/ ctx[0].discountPrice === 0
					? /*data*/ ctx[0].price
					: /*data*/ ctx[0].discountPrice} ${MAP_ID_TO_CURRENCY_NAME[/*data*/ ctx[0].priceCurrency]}`
				: /*data*/ ctx[0].nameButton,
				disabled: /*data*/ ctx[0].iSdisabledButton
			}
		});

	let if_block8 = /*data*/ ctx[0].blockedType >= 0 && product_index_svelte_create_if_block(ctx);

	return {
		c() {
			div10 = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			if (if_block1) if_block1.c();
			t1 = space();
			div0 = internal_element("div");
			img = internal_element("img");
			t2 = space();
			if (if_block2) if_block2.c();
			t3 = space();
			div9 = internal_element("div");
			div2 = internal_element("div");
			div1 = internal_element("div");
			create_component(light.$$.fragment);
			t4 = space();
			if (if_block3) if_block3.c();
			t5 = space();
			div5 = internal_element("div");
			div3 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t6 = space();
			div4 = internal_element("div");
			if (if_block4) if_block4.c();
			t7 = space();
			div8 = internal_element("div");
			if (if_block5) if_block5.c();
			t8 = space();
			if (if_block6) if_block6.c();
			t9 = space();
			div6 = internal_element("div");
			span0 = internal_element("span");
			t10 = internal_text(/*solidText*/ ctx[4]);
			t11 = space();
			span1 = internal_element("span");
			t12 = internal_text(/*gradientText*/ ctx[3]);
			t13 = space();
			if (if_block7) if_block7.c();
			t14 = space();
			div7 = internal_element("div");
			create_component(button.$$.fragment);
			t15 = space();
			if (if_block8) if_block8.c();
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/assets/images/donate_background/${/*data*/ ctx[0].backgroundId}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "back");
			attr(img, "class", "donate-shop-product__background-image");
			attr(div0, "class", "donate-shop-product__background");
			attr(div1, "class", "donate-shop-product__image-light");
			attr(div2, "class", div2_class_value = "donate-shop-product__image-wrapper donate-shop-product__image-wrapper--" + MAP_TEMPLATE_TO_CLASS[/*data*/ ctx[0].typeTemplate]);
			attr(div3, "class", "donate-shop-product__badges");
			attr(div4, "class", "donate-shop-product__time");
			attr(div5, "class", "donate-shop-product__header");
			toggle_class(div5, "donate-shop-product__header--wide", /*data*/ ctx[0].typeTemplate === Templates.Big);
			attr(span0, "class", "donate-shop-product__name");
			attr(span1, "class", "donate-shop-product__name");
			set_style(span1, "--textGradient", "linear-gradient(90deg, " + (/*data*/ ctx[0].textGradientColor[0] || '#FFF') + " 0%, " + (/*data*/ ctx[0].textGradientColor[1] || '#FFF') + " 100%)");
			toggle_class(span1, "donate-shop-product__name--gradient", /*data*/ ctx[0].textGradientColor.length > 1);
			attr(div6, "class", "donate-shop-product__name-wrppaer");
			attr(div7, "class", "donate-shop-product__button");
			attr(div8, "class", "donate-shop-product__footer");
			attr(div9, "class", "donate-shop-product__content");

			attr(div10, "class", div10_class_value = "donate-shop-product donate-shop-product--" + MAP_TEMPLATE_TO_CLASS[/*data*/ ctx[0].forcedMinimyzed
			? 0
			: /*data*/ ctx[0].typeTemplate]);

			set_style(div10, "--rarityBlur", /*data*/ ctx[0].rarity
			? MAP_RARITY_TO_BACKGROUND[/*data*/ ctx[0].rarity]
			: '');

			toggle_class(div10, "donate-shop-product--white", /*data*/ ctx[0].animation === 0 && /*backgroundLoaded*/ ctx[2]);
			toggle_class(div10, "donate-shop-product--gold", /*data*/ ctx[0].animation === 1 && /*backgroundLoaded*/ ctx[2]);
		},
		m(target, anchor) {
			insert(target, div10, anchor);
			if (if_block0) if_block0.m(div10, null);
			append(div10, t0);
			if (if_block1) if_block1.m(div10, null);
			append(div10, t1);
			append(div10, div0);
			append(div0, img);
			append(div10, t2);
			if (if_block2) if_block2.m(div10, null);
			append(div10, t3);
			append(div10, div9);
			append(div9, div2);
			append(div2, div1);
			mount_component(light, div1, null);
			append(div2, t4);
			if (if_block3) if_block3.m(div2, null);
			append(div9, t5);
			append(div9, div5);
			append(div5, div3);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div3, null);
			}

			append(div5, t6);
			append(div5, div4);
			if (if_block4) if_block4.m(div4, null);
			append(div9, t7);
			append(div9, div8);
			if (if_block5) if_block5.m(div8, null);
			append(div8, t8);
			if (if_block6) if_block6.m(div8, null);
			append(div8, t9);
			append(div8, div6);
			append(div6, span0);
			append(span0, t10);
			append(div6, t11);
			append(div6, span1);
			append(span1, t12);
			append(div8, t13);
			if (if_block7) if_block7.m(div8, null);
			append(div8, t14);
			append(div8, div7);
			mount_component(button, div7, null);
			append(div9, t15);
			if (if_block8) if_block8.m(div9, null);
			current = true;

			if (!mounted) {
				dispose = listen(img, "load", /*load_handler*/ ctx[7]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (/*data*/ ctx[0].animation >= 0 && /*backgroundLoaded*/ ctx[2]) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = index_svelte_create_if_block_16(ctx);
					if_block0.c();
					if_block0.m(div10, t0);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (/*data*/ ctx[0].isVehicle) {
				if (if_block1) {
					
				} else {
					if_block1 = index_svelte_create_if_block_15(ctx);
					if_block1.c();
					if_block1.m(div10, t1);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (!current || dirty & /*data*/ 1 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/assets/images/donate_background/${/*data*/ ctx[0].backgroundId}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (/*data*/ ctx[0].animation >= 0 && /*backgroundLoaded*/ ctx[2]) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = index_svelte_create_if_block_14(ctx);
					if_block2.c();
					if_block2.m(div10, t3);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			const light_changes = {};
			if (dirty & /*data*/ 1) light_changes.color = /*data*/ ctx[0].imageEffectId;
			light.$set(light_changes);

			if (/*data*/ ctx[0].imageId >= 0 || /*data*/ ctx[0].gifId >= 0) {
				if (if_block3) {
					if_block3.p(ctx, dirty);
				} else {
					if_block3 = index_svelte_create_if_block_13(ctx);
					if_block3.c();
					if_block3.m(div2, null);
				}
			} else if (if_block3) {
				if_block3.d(1);
				if_block3 = null;
			}

			if (!current || dirty & /*data*/ 1 && div2_class_value !== (div2_class_value = "donate-shop-product__image-wrapper donate-shop-product__image-wrapper--" + MAP_TEMPLATE_TO_CLASS[/*data*/ ctx[0].typeTemplate])) {
				attr(div2, "class", div2_class_value);
			}

			if (dirty & /*data, unicodeFormatToEmoji, isEmpty*/ 1) {
				each_value = /*data*/ ctx[0].badges;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = product_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = product_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div3, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if (/*data*/ ctx[0].endUnixTime >= 0 && /*data*/ ctx[0].timeDifference > 0) {
				if (if_block4) {
					if_block4.p(ctx, dirty);
				} else {
					if_block4 = product_index_svelte_create_if_block_10(ctx);
					if_block4.c();
					if_block4.m(div4, null);
				}
			} else if (if_block4) {
				if_block4.d(1);
				if_block4 = null;
			}

			if (dirty & /*data, Templates*/ 1) {
				toggle_class(div5, "donate-shop-product__header--wide", /*data*/ ctx[0].typeTemplate === Templates.Big);
			}

			if (/*data*/ ctx[0].typeTemplate === Templates.Exp || /*data*/ ctx[0].typeTemplate === Templates.Exchange || /*data*/ ctx[0].typeTemplate === Templates.Add) {
				if (if_block5) {
					if_block5.p(ctx, dirty);
				} else {
					if_block5 = product_index_svelte_create_if_block_5(ctx);
					if_block5.c();
					if_block5.m(div8, t8);
				}
			} else if (if_block5) {
				if_block5.d(1);
				if_block5 = null;
			}

			if (dirty & /*data*/ 1) show_if_1 = /*data*/ ctx[0].typeTemplate === Templates.Big && !(0,lodash.isEmpty)(/*data*/ ctx[0].desc);

			if (show_if_1) {
				if (if_block6) {
					if_block6.p(ctx, dirty);
				} else {
					if_block6 = product_index_svelte_create_if_block_4(ctx);
					if_block6.c();
					if_block6.m(div8, t9);
				}
			} else if (if_block6) {
				if_block6.d(1);
				if_block6 = null;
			}

			if (!current || dirty & /*solidText*/ 16) set_data(t10, /*solidText*/ ctx[4]);
			if (!current || dirty & /*gradientText*/ 8) set_data(t12, /*gradientText*/ ctx[3]);

			if (!current || dirty & /*data*/ 1) {
				set_style(span1, "--textGradient", "linear-gradient(90deg, " + (/*data*/ ctx[0].textGradientColor[0] || '#FFF') + " 0%, " + (/*data*/ ctx[0].textGradientColor[1] || '#FFF') + " 100%)");
			}

			if (dirty & /*data*/ 1) {
				toggle_class(span1, "donate-shop-product__name--gradient", /*data*/ ctx[0].textGradientColor.length > 1);
			}

			if (dirty & /*data*/ 1) show_if = (/*data*/ ctx[0].typeTemplate === Templates.Standart || /*data*/ ctx[0].typeTemplate === Templates.Wide) && !(0,lodash.isEmpty)(/*data*/ ctx[0].desc);

			if (show_if) {
				if (if_block7) {
					if_block7.p(ctx, dirty);
				} else {
					if_block7 = product_index_svelte_create_if_block_3(ctx);
					if_block7.c();
					if_block7.m(div8, t14);
				}
			} else if (if_block7) {
				if_block7.d(1);
				if_block7 = null;
			}

			const button_changes = {};
			if (dirty & /*purchase*/ 2) button_changes.onClick = /*purchase*/ ctx[1];
			if (dirty & /*data*/ 1) button_changes.colors = /*data*/ ctx[0].colorButton;
			if (dirty & /*data*/ 1) button_changes.currency = MAP_ID_TO_CURRENCY[/*data*/ ctx[0].priceCurrency];

			if (dirty & /*data*/ 1) button_changes.crossedText = /*data*/ ctx[0].discountPrice !== 0
			? /*data*/ ctx[0].price
			: '';

			if (dirty & /*data*/ 1) button_changes.text = (0,lodash.isEmpty)(/*data*/ ctx[0].nameButton)
			? `${/*data*/ ctx[0].discountPrice === 0
				? /*data*/ ctx[0].price
				: /*data*/ ctx[0].discountPrice} ${MAP_ID_TO_CURRENCY_NAME[/*data*/ ctx[0].priceCurrency]}`
			: /*data*/ ctx[0].nameButton;

			if (dirty & /*data*/ 1) button_changes.disabled = /*data*/ ctx[0].iSdisabledButton;
			button.$set(button_changes);

			if (/*data*/ ctx[0].blockedType >= 0) {
				if (if_block8) {
					if_block8.p(ctx, dirty);

					if (dirty & /*data*/ 1) {
						transition_in(if_block8, 1);
					}
				} else {
					if_block8 = product_index_svelte_create_if_block(ctx);
					if_block8.c();
					transition_in(if_block8, 1);
					if_block8.m(div9, null);
				}
			} else if (if_block8) {
				group_outros();

				transition_out(if_block8, 1, 1, () => {
					if_block8 = null;
				});

				check_outros();
			}

			if (!current || dirty & /*data*/ 1 && div10_class_value !== (div10_class_value = "donate-shop-product donate-shop-product--" + MAP_TEMPLATE_TO_CLASS[/*data*/ ctx[0].forcedMinimyzed
			? 0
			: /*data*/ ctx[0].typeTemplate])) {
				attr(div10, "class", div10_class_value);
			}

			if (!current || dirty & /*data*/ 1) {
				set_style(div10, "--rarityBlur", /*data*/ ctx[0].rarity
				? MAP_RARITY_TO_BACKGROUND[/*data*/ ctx[0].rarity]
				: '');
			}

			if (dirty & /*data, data, backgroundLoaded*/ 5) {
				toggle_class(div10, "donate-shop-product--white", /*data*/ ctx[0].animation === 0 && /*backgroundLoaded*/ ctx[2]);
			}

			if (dirty & /*data, data, backgroundLoaded*/ 5) {
				toggle_class(div10, "donate-shop-product--gold", /*data*/ ctx[0].animation === 1 && /*backgroundLoaded*/ ctx[2]);
			}
		},
		i(local) {
			if (current) return;
			transition_in(light.$$.fragment, local);
			transition_in(button.$$.fragment, local);
			transition_in(if_block8);
			current = true;
		},
		o(local) {
			transition_out(light.$$.fragment, local);
			transition_out(button.$$.fragment, local);
			transition_out(if_block8);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div10);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			if (if_block2) if_block2.d();
			destroy_component(light);
			if (if_block3) if_block3.d();
			destroy_each(each_blocks, detaching);
			if (if_block4) if_block4.d();
			if (if_block5) if_block5.d();
			if (if_block6) if_block6.d();
			if (if_block7) if_block7.d();
			destroy_component(button);
			if (if_block8) if_block8.d();
			mounted = false;
			dispose();
		}
	};
}

function product_index_svelte_instance($$self, $$props, $$invalidate) {
	let solidText;
	let gradientText;
	let $donateSettings;
	component_subscribe($$self, donateSettings, $$value => $$invalidate(5, $donateSettings = $$value));
	let { data = {} } = $$props;

	let { purchase = () => {
		
	} } = $$props;

	let backgroundLoaded = false;

	const formatTimeString = seconds => {
		const hours = Math.floor(seconds / 3600);
		const minutes = Math.floor(seconds % 3600 / 60);
		return `${hours}час. ${minutes}мин.`;
	};

	const load_handler = () => {
		$$invalidate(2, backgroundLoaded = true);
	};

	$$self.$$set = $$props => {
		if ('data' in $$props) $$invalidate(0, data = $$props.data);
		if ('purchase' in $$props) $$invalidate(1, purchase = $$props.purchase);
	};

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*data*/ 1) {
			$: $$invalidate(4, [solidText] = data.name.split(' '), solidText);
		}

		if ($$self.$$.dirty & /*data*/ 1) {
			$: $$invalidate(3, gradientText = data.name.split(' ').slice(1).join(' '));
		}
	};

	return [
		data,
		purchase,
		backgroundLoaded,
		gradientText,
		solidText,
		$donateSettings,
		formatTimeString,
		load_handler
	];
}

class Product extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, product_index_svelte_instance, product_index_svelte_create_fragment, safe_not_equal, { data: 0, purchase: 1 });
	}
}

/* harmony default export */ const product_index_svelte = (Product);
;// CONCATENATED MODULE: ./src/views/donate-shop/component/carousel/index.svelte
/* src\views\donate-shop\component\carousel\index.svelte generated by Svelte v3.49.0 */








function carousel_index_svelte_add_css(target) {
	append_styles(target, "svelte-47jnu6", "@keyframes svelte-47jnu6-blinking{50%{opacity:0}}@keyframes svelte-47jnu6-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-47jnu6-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-47jnu6-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-47jnu6-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-47jnu6-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-47jnu6-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-47jnu6-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-47jnu6-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-47jnu6-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-47jnu6-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-47jnu6-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-47jnu6-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-47jnu6-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-47jnu6-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.donate-shop-carousel.svelte-47jnu6{width:100%;overflow:hidden;position:relative}.donate-shop-carousel__container.svelte-47jnu6{width:100%;overflow:hidden}.donate-shop-carousel__track.svelte-47jnu6{display:flex;transition:transform 0.5s ease-in-out;will-change:transform;display:flex}.donate-shop-carousel__page.svelte-47jnu6{min-width:fit-content;display:grid;grid-template-columns:repeat(4, 1fr);gap:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-carousel__page.svelte-47jnu6{gap:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-carousel__page.svelte-47jnu6{gap:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-carousel__page.svelte-47jnu6{gap:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-carousel__page.svelte-47jnu6{gap:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-carousel__page.svelte-47jnu6{gap:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-carousel__page.svelte-47jnu6{gap:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-carousel__page.svelte-47jnu6{gap:calc(0.006875 * 100vw + 0px)}}.donate-shop-carousel__item.svelte-47jnu6{grid-column:var(--span)}.donate-shop-carousel__controls.svelte-47jnu6{display:flex;justify-content:center;gap:calc(0.0057291667 * 100vw + 0px);margin-top:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-carousel__controls.svelte-47jnu6{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-carousel__controls.svelte-47jnu6{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-carousel__controls.svelte-47jnu6{gap:calc(0.0044114583 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-carousel__controls.svelte-47jnu6{gap:calc(0.0063020833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-carousel__controls.svelte-47jnu6{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-carousel__controls.svelte-47jnu6{gap:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-carousel__controls.svelte-47jnu6{gap:calc(0.0063020833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-carousel__controls.svelte-47jnu6{margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-carousel__controls.svelte-47jnu6{margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-carousel__controls.svelte-47jnu6{margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-carousel__controls.svelte-47jnu6{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-carousel__controls.svelte-47jnu6{margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-carousel__controls.svelte-47jnu6{margin-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-carousel__controls.svelte-47jnu6{margin-top:calc(0.0114583333 * 100vw + 0px)}}.donate-shop-carousel__point.svelte-47jnu6{border-radius:50%;background-color:rgba(255, 255, 255, 0.2);width:calc(0.0083333333 * 100vw + 0px);height:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-carousel__point.svelte-47jnu6{width:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-carousel__point.svelte-47jnu6{width:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-carousel__point.svelte-47jnu6{width:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-carousel__point.svelte-47jnu6{width:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-carousel__point.svelte-47jnu6{width:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-carousel__point.svelte-47jnu6{width:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-carousel__point.svelte-47jnu6{width:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-carousel__point.svelte-47jnu6{height:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-carousel__point.svelte-47jnu6{height:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-carousel__point.svelte-47jnu6{height:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-carousel__point.svelte-47jnu6{height:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-carousel__point.svelte-47jnu6{height:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-carousel__point.svelte-47jnu6{height:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-carousel__point.svelte-47jnu6{height:calc(0.0091666667 * 100vw + 0px)}}.donate-shop-carousel__point--active.svelte-47jnu6{background-color:#FFFFFF}");
}

function carousel_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[12] = list[i];
	child_ctx[14] = i;
	return child_ctx;
}

function carousel_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[1] = list[i];
	return child_ctx;
}

function carousel_index_svelte_get_each_context_2(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[12] = list[i];
	return child_ctx;
}

// (464:24) {#if item.visible}
function carousel_index_svelte_create_if_block(ctx) {
	let div;
	let product;
	let current;

	function func() {
		return /*func*/ ctx[6](/*item*/ ctx[12]);
	}

	product = new product_index_svelte({
			props: { data: /*item*/ ctx[12], purchase: func }
		});

	return {
		c() {
			div = internal_element("div");
			create_component(product.$$.fragment);
			attr(div, "class", "donate-shop-carousel__item svelte-47jnu6");

			set_style(div, "--span", /*item*/ ctx[12].typeTemplate === 2 && !/*item*/ ctx[12].forcedMinimyzed
			? 'span 2'
			: 'span 1');
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(product, div, null);
			current = true;
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			const product_changes = {};
			if (dirty & /*items*/ 1) product_changes.data = /*item*/ ctx[12];
			if (dirty & /*items*/ 1) product_changes.purchase = func;
			product.$set(product_changes);

			if (!current || dirty & /*items*/ 1) {
				set_style(div, "--span", /*item*/ ctx[12].typeTemplate === 2 && !/*item*/ ctx[12].forcedMinimyzed
				? 'span 2'
				: 'span 1');
			}
		},
		i(local) {
			if (current) return;
			transition_in(product.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(product.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(product);
		}
	};
}

// (463:20) {#each page as item (item)}
function carousel_index_svelte_create_each_block_2(key_1, ctx) {
	let first;
	let if_block_anchor;
	let current;
	let if_block = /*item*/ ctx[12].visible && carousel_index_svelte_create_if_block(ctx);

	return {
		key: key_1,
		first: null,
		c() {
			first = empty();
			if (if_block) if_block.c();
			if_block_anchor = empty();
			this.first = first;
		},
		m(target, anchor) {
			insert(target, first, anchor);
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
			current = true;
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (/*item*/ ctx[12].visible) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*items*/ 1) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = carousel_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(first);
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

// (461:12) {#each items as page (page)}
function carousel_index_svelte_create_each_block_1(key_1, ctx) {
	let div;
	let each_blocks = [];
	let each_1_lookup = new Map();
	let t;
	let current;
	let each_value_2 = /*page*/ ctx[1];
	const get_key = ctx => /*item*/ ctx[12];

	for (let i = 0; i < each_value_2.length; i += 1) {
		let child_ctx = carousel_index_svelte_get_each_context_2(ctx, each_value_2, i);
		let key = get_key(child_ctx);
		each_1_lookup.set(key, each_blocks[i] = carousel_index_svelte_create_each_block_2(key, child_ctx));
	}

	return {
		key: key_1,
		first: null,
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t = space();
			attr(div, "class", "donate-shop-carousel__page svelte-47jnu6");
			this.first = div;
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}

			append(div, t);
			current = true;
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*items, purchase*/ 33) {
				each_value_2 = /*page*/ ctx[1];
				group_outros();
				each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value_2, each_1_lookup, div, outro_and_destroy_block, carousel_index_svelte_create_each_block_2, t, carousel_index_svelte_get_each_context_2);
				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value_2.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].d();
			}
		}
	};
}

// (475:8) {#each items as item, index}
function carousel_index_svelte_create_each_block(ctx) {
	let div;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[7](/*index*/ ctx[14]);
	}

	return {
		c() {
			div = internal_element("div");
			attr(div, "class", "donate-shop-carousel__point svelte-47jnu6");
			toggle_class(div, "donate-shop-carousel__point--active", /*page*/ ctx[1] === /*index*/ ctx[14]);
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = listen(div, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*page*/ 2) {
				toggle_class(div, "donate-shop-carousel__point--active", /*page*/ ctx[1] === /*index*/ ctx[14]);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

function carousel_index_svelte_create_fragment(ctx) {
	let div3;
	let div1;
	let div0;
	let each_blocks_1 = [];
	let each0_lookup = new Map();
	let div0_style_value;
	let t;
	let div2;
	let current;
	let mounted;
	let dispose;
	let each_value_1 = /*items*/ ctx[0];
	const get_key = ctx => /*page*/ ctx[1];

	for (let i = 0; i < each_value_1.length; i += 1) {
		let child_ctx = carousel_index_svelte_get_each_context_1(ctx, each_value_1, i);
		let key = get_key(child_ctx);
		each0_lookup.set(key, each_blocks_1[i] = carousel_index_svelte_create_each_block_1(key, child_ctx));
	}

	let each_value = /*items*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = carousel_index_svelte_create_each_block(carousel_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div3 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].c();
			}

			t = space();
			div2 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div0, "class", "donate-shop-carousel__track svelte-47jnu6");
			attr(div0, "style", div0_style_value = `transform: translateX(${/*offset*/ ctx[2]}%)`);
			attr(div1, "class", "donate-shop-carousel__container svelte-47jnu6");
			attr(div2, "class", "donate-shop-carousel__controls svelte-47jnu6");
			attr(div3, "class", "donate-shop-carousel svelte-47jnu6");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div1);
			append(div1, div0);

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].m(div0, null);
			}

			append(div3, t);
			append(div3, div2);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div2, null);
			}

			current = true;

			if (!mounted) {
				dispose = [
					listen(div3, "mouseenter", /*stopAutoPlay*/ ctx[4]),
					listen(div3, "mouseleave", /*startAutoPlay*/ ctx[3])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*items, purchase*/ 33) {
				each_value_1 = /*items*/ ctx[0];
				group_outros();
				each_blocks_1 = update_keyed_each(each_blocks_1, dirty, get_key, 1, ctx, each_value_1, each0_lookup, div0, outro_and_destroy_block, carousel_index_svelte_create_each_block_1, null, carousel_index_svelte_get_each_context_1);
				check_outros();
			}

			if (!current || dirty & /*offset*/ 4 && div0_style_value !== (div0_style_value = `transform: translateX(${/*offset*/ ctx[2]}%)`)) {
				attr(div0, "style", div0_style_value);
			}

			if (dirty & /*page, items*/ 3) {
				each_value = /*items*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = carousel_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = carousel_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div2, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value_1.length; i += 1) {
				transition_in(each_blocks_1[i]);
			}

			current = true;
		},
		o(local) {
			for (let i = 0; i < each_blocks_1.length; i += 1) {
				transition_out(each_blocks_1[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div3);

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].d();
			}

			destroy_each(each_blocks, detaching);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function carousel_index_svelte_instance($$self, $$props, $$invalidate) {
	let $modalSettings;
	let $donateSettings;
	component_subscribe($$self, modalSettings, $$value => $$invalidate(9, $modalSettings = $$value));
	component_subscribe($$self, donateSettings, $$value => $$invalidate(10, $donateSettings = $$value));
	let { items = [] } = $$props;
	let offset = 0;
	let interval;
	let page = 0;

	const nextSlide = () => {
		if (page + 1 >= items.length) {
			$$invalidate(1, page = -1);
		}

		$$invalidate(1, page += 1);
	};

	const startAutoPlay = () => {
		interval = setInterval(nextSlide, 5000);
	};

	const stopAutoPlay = () => {
		clearInterval(interval);
	};

	const purchase = product => {
		if (product.disabled || product.iSdisabledButton || product.blockedType >= 0) {
			return;
		}

		if (product.typeTemplate === Templates.Exchange) {
			set_store_value(modalSettings, $modalSettings.mode = ModalMode.Exchange, $modalSettings);
			set_store_value(modalSettings, $modalSettings.theme = ModalStyle.Green, $modalSettings);
			set_store_value(modalSettings, $modalSettings.rate = $donateSettings.totalEarnings, $modalSettings);
			set_store_value(modalSettings, $modalSettings.visibility = true, $modalSettings);
			sendClientMessage('donateShop.openModal', ModalMode.Exchange);
			return;
		}

		if (product.typeTemplate === Templates.Exp) {
			set_store_value(modalSettings, $modalSettings.mode = ModalMode.Exp, $modalSettings);
			set_store_value(modalSettings, $modalSettings.theme = ModalStyle.Green, $modalSettings);
			set_store_value(modalSettings, $modalSettings.rate = product.price, $modalSettings);
			set_store_value(modalSettings, $modalSettings.visibility = true, $modalSettings);
			sendClientMessage('donateShop.openModal', ModalMode.Exp);
			return;
		}

		if (product.typeTemplate === Templates.Add) {
			set_store_value(modalSettings, $modalSettings.mode = ModalMode.Add, $modalSettings);
			set_store_value(modalSettings, $modalSettings.theme = ModalStyle.Add, $modalSettings);
			set_store_value(modalSettings, $modalSettings.rate = product.price, $modalSettings);
			set_store_value(modalSettings, $modalSettings.visibility = true, $modalSettings);
			sendClientMessage('donateShop.openModal', ModalMode.Add);
			return;
		}

		sendClientMessage('donateShop.purchase', product.key);
	};

	onMount(() => {
		startAutoPlay();
	});

	onDestroy(() => {
		clearInterval(interval);
	});

	const func = item => purchase(item);

	const click_handler = index => {
		$$invalidate(1, page = index);
	};

	$$self.$$set = $$props => {
		if ('items' in $$props) $$invalidate(0, items = $$props.items);
	};

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*page*/ 2) {
			$: $$invalidate(2, offset = -page * 100);
		}
	};

	return [
		items,
		page,
		offset,
		startAutoPlay,
		stopAutoPlay,
		purchase,
		func,
		click_handler
	];
}

class Carousel extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, carousel_index_svelte_instance, carousel_index_svelte_create_fragment, safe_not_equal, { items: 0 }, carousel_index_svelte_add_css);
	}
}

/* harmony default export */ const carousel_index_svelte = (Carousel);
;// CONCATENATED MODULE: ./src/views/donate-shop/component/grid/index.svelte
/* src\views\donate-shop\component\grid\index.svelte generated by Svelte v3.49.0 */










function grid_index_svelte_add_css(target) {
	append_styles(target, "svelte-7wsl4c", "@keyframes svelte-7wsl4c-blinking{50%{opacity:0}}@keyframes svelte-7wsl4c-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-7wsl4c-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-7wsl4c-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-7wsl4c-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-7wsl4c-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-7wsl4c-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-7wsl4c-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-7wsl4c-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-7wsl4c-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-7wsl4c-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-7wsl4c-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-7wsl4c-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-7wsl4c-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-7wsl4c-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.donate-shop-grid.svelte-7wsl4c{width:100%;display:flex;flex-direction:column;justify-content:center}.donate-shop-grid--row.svelte-7wsl4c{height:100%;display:flex;align-items:center}.donate-shop-grid__title.svelte-7wsl4c{color:#FFFFFF;font-family:\"HeadingNowBold\";font-size:calc(0.01875 * 100vw + 0px);margin-bottom:calc(0.01875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-grid__title.svelte-7wsl4c{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-grid__title.svelte-7wsl4c{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-grid__title.svelte-7wsl4c{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-grid__title.svelte-7wsl4c{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-grid__title.svelte-7wsl4c{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-grid__title.svelte-7wsl4c{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-grid__title.svelte-7wsl4c{font-size:calc(0.020625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-grid__title.svelte-7wsl4c{margin-bottom:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-grid__title.svelte-7wsl4c{margin-bottom:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-grid__title.svelte-7wsl4c{margin-bottom:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-grid__title.svelte-7wsl4c{margin-bottom:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-grid__title.svelte-7wsl4c{margin-bottom:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-grid__title.svelte-7wsl4c{margin-bottom:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-grid__title.svelte-7wsl4c{margin-bottom:calc(0.020625 * 100vw + 0px)}}.donate-shop-grid__wrapper.svelte-7wsl4c{gap:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-grid__wrapper.svelte-7wsl4c{gap:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-grid__wrapper.svelte-7wsl4c{gap:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-grid__wrapper.svelte-7wsl4c{gap:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-grid__wrapper.svelte-7wsl4c{gap:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-grid__wrapper.svelte-7wsl4c{gap:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-grid__wrapper.svelte-7wsl4c{gap:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-grid__wrapper.svelte-7wsl4c{gap:calc(0.006875 * 100vw + 0px)}}.donate-shop-grid__wrapper--grid.svelte-7wsl4c{display:grid;grid-template-columns:repeat(4, 1fr);align-items:stretch;grid-auto-rows:auto}.donate-shop-grid__wrapper--row.svelte-7wsl4c{width:100%;overflow-x:auto;display:flex;align-items:center;padding-bottom:calc(0.01875 * 100vw + 0px)}.donate-shop-grid__wrapper--row.svelte-7wsl4c::-webkit-scrollbar{width:0;height:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-grid__wrapper--row.svelte-7wsl4c::-webkit-scrollbar{height:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-grid__wrapper--row.svelte-7wsl4c::-webkit-scrollbar{height:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-grid__wrapper--row.svelte-7wsl4c::-webkit-scrollbar{height:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-grid__wrapper--row.svelte-7wsl4c::-webkit-scrollbar{height:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-grid__wrapper--row.svelte-7wsl4c::-webkit-scrollbar{height:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-grid__wrapper--row.svelte-7wsl4c::-webkit-scrollbar{height:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-grid__wrapper--row.svelte-7wsl4c::-webkit-scrollbar{height:calc(0.0045833333 * 100vw + 0px)}}.donate-shop-grid__wrapper--row.svelte-7wsl4c::-webkit-scrollbar-button{display:none}.donate-shop-grid__wrapper--row.svelte-7wsl4c::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.5)}.donate-shop-grid__wrapper--row.svelte-7wsl4c::-webkit-scrollbar-track-piece{background:rgba(255, 255, 255, 0.5);border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-grid__wrapper--row.svelte-7wsl4c::-webkit-scrollbar-track-piece{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-grid__wrapper--row.svelte-7wsl4c::-webkit-scrollbar-track-piece{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-grid__wrapper--row.svelte-7wsl4c::-webkit-scrollbar-track-piece{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-grid__wrapper--row.svelte-7wsl4c::-webkit-scrollbar-track-piece{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-grid__wrapper--row.svelte-7wsl4c::-webkit-scrollbar-track-piece{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-grid__wrapper--row.svelte-7wsl4c::-webkit-scrollbar-track-piece{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-grid__wrapper--row.svelte-7wsl4c::-webkit-scrollbar-track-piece{border-radius:calc(0.0028645833 * 100vw + 0px)}}.donate-shop-grid__wrapper--row.svelte-7wsl4c::-webkit-scrollbar-thumb{background:#FFFFFF;border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-grid__wrapper--row.svelte-7wsl4c::-webkit-scrollbar-thumb{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-grid__wrapper--row.svelte-7wsl4c::-webkit-scrollbar-thumb{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-grid__wrapper--row.svelte-7wsl4c::-webkit-scrollbar-thumb{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-grid__wrapper--row.svelte-7wsl4c::-webkit-scrollbar-thumb{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-grid__wrapper--row.svelte-7wsl4c::-webkit-scrollbar-thumb{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-grid__wrapper--row.svelte-7wsl4c::-webkit-scrollbar-thumb{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-grid__wrapper--row.svelte-7wsl4c::-webkit-scrollbar-thumb{border-radius:calc(0.0028645833 * 100vw + 0px)}}.donate-shop-grid__wrapper--row.svelte-7wsl4c::-webkit-scrollbar-corner{background-color:rgba(255, 255, 255, 0.5)}.donate-shop-grid__wrapper--row.svelte-7wsl4c::-webkit-resizer{background-color:rgba(255, 255, 255, 0.5)}@media(max-width: 1920px) and (max-height: 768px){.donate-shop-grid__wrapper--row.svelte-7wsl4c{padding-bottom:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.donate-shop-grid__wrapper--row.svelte-7wsl4c{padding-bottom:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.donate-shop-grid__wrapper--row.svelte-7wsl4c{padding-bottom:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.donate-shop-grid__wrapper--row.svelte-7wsl4c{padding-bottom:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.donate-shop-grid__wrapper--row.svelte-7wsl4c{padding-bottom:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.donate-shop-grid__wrapper--row.svelte-7wsl4c{padding-bottom:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.donate-shop-grid__wrapper--row.svelte-7wsl4c{padding-bottom:calc(0.020625 * 100vw + 0px)}}.donate-shop-grid__item.svelte-7wsl4c{grid-column:var(--span);align-self:stretch;min-height:100%;display:flex}");
}

function grid_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[12] = list[i];
	return child_ctx;
}

// (529:4) {#if $layoutTemplate === LayoutTemplate.Row}
function grid_index_svelte_create_if_block_1(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "Покупка AZ-коинов";
			attr(div, "class", "donate-shop-grid__title svelte-7wsl4c");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (534:12) {#if data.visible}
function grid_index_svelte_create_if_block(ctx) {
	let div;
	let product;
	let t;
	let current;

	function func() {
		return /*func*/ ctx[6](/*data*/ ctx[12]);
	}

	product = new product_index_svelte({
			props: { data: /*data*/ ctx[12], purchase: func }
		});

	return {
		c() {
			div = internal_element("div");
			create_component(product.$$.fragment);
			t = space();
			attr(div, "class", "donate-shop-grid__item svelte-7wsl4c");

			set_style(div, "--span", /*data*/ ctx[12].typeTemplate === 2 && !/*data*/ ctx[12].forcedMinimyzed
			? 'span 2'
			: 'span 1');
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(product, div, null);
			append(div, t);
			current = true;
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			const product_changes = {};
			if (dirty & /*forceItems, items*/ 3) product_changes.data = /*data*/ ctx[12];
			if (dirty & /*forceItems, items*/ 3) product_changes.purchase = func;
			product.$set(product_changes);

			if (!current || dirty & /*forceItems, items*/ 3) {
				set_style(div, "--span", /*data*/ ctx[12].typeTemplate === 2 && !/*data*/ ctx[12].forcedMinimyzed
				? 'span 2'
				: 'span 1');
			}
		},
		i(local) {
			if (current) return;
			transition_in(product.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(product.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(product);
		}
	};
}

// (533:8) {#each forceItems || items as data (data)}
function grid_index_svelte_create_each_block(key_1, ctx) {
	let first;
	let if_block_anchor;
	let current;
	let if_block = /*data*/ ctx[12].visible && grid_index_svelte_create_if_block(ctx);

	return {
		key: key_1,
		first: null,
		c() {
			first = empty();
			if (if_block) if_block.c();
			if_block_anchor = empty();
			this.first = first;
		},
		m(target, anchor) {
			insert(target, first, anchor);
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
			current = true;
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (/*data*/ ctx[12].visible) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty & /*forceItems, items*/ 3) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = grid_index_svelte_create_if_block(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(first);
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

function grid_index_svelte_create_fragment(ctx) {
	let div1;
	let t;
	let div0;
	let each_blocks = [];
	let each_1_lookup = new Map();
	let div0_class_value;
	let div0_intro;
	let div1_class_value;
	let current;
	let mounted;
	let dispose;
	let if_block = /*$layoutTemplate*/ ctx[3] === LayoutTemplate.Row && grid_index_svelte_create_if_block_1(ctx);
	let each_value = /*forceItems*/ ctx[0] || /*items*/ ctx[1];
	const get_key = ctx => /*data*/ ctx[12];

	for (let i = 0; i < each_value.length; i += 1) {
		let child_ctx = grid_index_svelte_get_each_context(ctx, each_value, i);
		let key = get_key(child_ctx);
		each_1_lookup.set(key, each_blocks[i] = grid_index_svelte_create_each_block(key, child_ctx));
	}

	return {
		c() {
			div1 = internal_element("div");
			if (if_block) if_block.c();
			t = space();
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div0, "class", div0_class_value = "donate-shop-grid__wrapper donate-shop-grid__wrapper--" + /*$layoutTemplate*/ ctx[3] + " svelte-7wsl4c");
			attr(div1, "class", div1_class_value = "donate-shop-grid donate-shop-grid--" + /*$layoutTemplate*/ ctx[3] + " svelte-7wsl4c");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			if (if_block) if_block.m(div1, null);
			append(div1, t);
			append(div1, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			/*div0_binding*/ ctx[7](div0);
			current = true;

			if (!mounted) {
				dispose = listen(div0, "wheel", /*scrollHandler*/ ctx[4]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (/*$layoutTemplate*/ ctx[3] === LayoutTemplate.Row) {
				if (if_block) {
					
				} else {
					if_block = grid_index_svelte_create_if_block_1(ctx);
					if_block.c();
					if_block.m(div1, t);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (dirty & /*forceItems, items, purchase*/ 35) {
				each_value = /*forceItems*/ ctx[0] || /*items*/ ctx[1];
				group_outros();
				each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, div0, outro_and_destroy_block, grid_index_svelte_create_each_block, null, grid_index_svelte_get_each_context);
				check_outros();
			}

			if (!current || dirty & /*$layoutTemplate*/ 8 && div0_class_value !== (div0_class_value = "donate-shop-grid__wrapper donate-shop-grid__wrapper--" + /*$layoutTemplate*/ ctx[3] + " svelte-7wsl4c")) {
				attr(div0, "class", div0_class_value);
			}

			if (!current || dirty & /*$layoutTemplate*/ 8 && div1_class_value !== (div1_class_value = "donate-shop-grid donate-shop-grid--" + /*$layoutTemplate*/ ctx[3] + " svelte-7wsl4c")) {
				attr(div1, "class", div1_class_value);
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			if (!div0_intro) {
				add_render_callback(() => {
					div0_intro = create_in_transition(div0, fade, {});
					div0_intro.start();
				});
			}

			current = true;
		},
		o(local) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			if (if_block) if_block.d();

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].d();
			}

			/*div0_binding*/ ctx[7](null);
			mounted = false;
			dispose();
		}
	};
}

function grid_index_svelte_instance($$self, $$props, $$invalidate) {
	let $modalSettings;
	let $donateSettings;
	let $selectedCategoryId;
	let $products;
	let $layoutTemplate;
	component_subscribe($$self, modalSettings, $$value => $$invalidate(8, $modalSettings = $$value));
	component_subscribe($$self, donateSettings, $$value => $$invalidate(9, $donateSettings = $$value));
	component_subscribe($$self, store_selectedCategoryId, $$value => $$invalidate(10, $selectedCategoryId = $$value));
	component_subscribe($$self, products, $$value => $$invalidate(11, $products = $$value));
	component_subscribe($$self, layoutTemplate, $$value => $$invalidate(3, $layoutTemplate = $$value));
	let { forceItems = null } = $$props;
	let { items = $products[$selectedCategoryId] || [] } = $$props;
	let scrollNode;

	const scrollHandler = event => {
		$$invalidate(2, scrollNode.scrollLeft += event.deltaY, scrollNode);
	};

	const purchase = product => {
		if (product.disabled || product.iSdisabledButton || product.loading) {
			return;
		}

		if (product.typeTemplate === Templates.Exchange) {
			set_store_value(modalSettings, $modalSettings.mode = ModalMode.Exchange, $modalSettings);
			set_store_value(modalSettings, $modalSettings.theme = ModalStyle.Green, $modalSettings);
			set_store_value(modalSettings, $modalSettings.rate = $donateSettings.totalEarnings, $modalSettings);
			set_store_value(modalSettings, $modalSettings.visibility = true, $modalSettings);
			sendClientMessage('donateShop.openModal', ModalMode.Exchange);
			return;
		}

		if (product.typeTemplate === Templates.Exp) {
			set_store_value(modalSettings, $modalSettings.mode = ModalMode.Exp, $modalSettings);
			set_store_value(modalSettings, $modalSettings.theme = ModalStyle.Green, $modalSettings);
			set_store_value(modalSettings, $modalSettings.rate = product.price, $modalSettings);
			set_store_value(modalSettings, $modalSettings.visibility = true, $modalSettings);
			sendClientMessage('donateShop.openModal', ModalMode.Exp);
			return;
		}

		if (product.typeTemplate === Templates.Add) {
			set_store_value(modalSettings, $modalSettings.mode = ModalMode.Add, $modalSettings);
			set_store_value(modalSettings, $modalSettings.theme = ModalStyle.Add, $modalSettings);
			set_store_value(modalSettings, $modalSettings.rate = product.price, $modalSettings);
			set_store_value(modalSettings, $modalSettings.visibility = true, $modalSettings);
			sendClientMessage('donateShop.openModal', ModalMode.Add);
			return;
		}

		sendClientMessage('donateShop.purchase', product.key);
	};

	const func = data => purchase(data);

	function div0_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			scrollNode = $$value;
			$$invalidate(2, scrollNode);
		});
	}

	$$self.$$set = $$props => {
		if ('forceItems' in $$props) $$invalidate(0, forceItems = $$props.forceItems);
		if ('items' in $$props) $$invalidate(1, items = $$props.items);
	};

	return [
		forceItems,
		items,
		scrollNode,
		$layoutTemplate,
		scrollHandler,
		purchase,
		func,
		div0_binding
	];
}

class Grid extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, grid_index_svelte_instance, grid_index_svelte_create_fragment, safe_not_equal, { forceItems: 0, items: 1 }, grid_index_svelte_add_css);
	}
}

/* harmony default export */ const grid_index_svelte = (Grid);
;// CONCATENATED MODULE: ./src/views/donate-shop/component/main/index.svelte
/* src\views\donate-shop\component\main\index.svelte generated by Svelte v3.49.0 */








function component_main_index_svelte_create_fragment(ctx) {
	let div2;
	let div0;
	let grid;
	let updating_forceItems;
	let t;
	let div1;
	let carousel;
	let current;

	function grid_forceItems_binding(value) {
		/*grid_forceItems_binding*/ ctx[3](value);
	}

	let grid_props = { layout: LayoutTemplate.Row };

	if (/*top*/ ctx[0] !== void 0) {
		grid_props.forceItems = /*top*/ ctx[0];
	}

	grid = new grid_index_svelte({ props: grid_props });
	binding_callbacks.push(() => bind(grid, 'forceItems', grid_forceItems_binding));
	carousel = new carousel_index_svelte({ props: { items: /*sliderItems*/ ctx[1] } });

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			create_component(grid.$$.fragment);
			t = space();
			div1 = internal_element("div");
			create_component(carousel.$$.fragment);
			attr(div0, "class", "donate-shop-main__grid");
			attr(div1, "class", "donate-shop-main__slider");
			attr(div2, "class", "donate-shop-main");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			mount_component(grid, div0, null);
			append(div2, t);
			append(div2, div1);
			mount_component(carousel, div1, null);
			current = true;
		},
		p(ctx, [dirty]) {
			const grid_changes = {};

			if (!updating_forceItems && dirty & /*top*/ 1) {
				updating_forceItems = true;
				grid_changes.forceItems = /*top*/ ctx[0];
				add_flush_callback(() => updating_forceItems = false);
			}

			grid.$set(grid_changes);
			const carousel_changes = {};
			if (dirty & /*sliderItems*/ 2) carousel_changes.items = /*sliderItems*/ ctx[1];
			carousel.$set(carousel_changes);
		},
		i(local) {
			if (current) return;
			transition_in(grid.$$.fragment, local);
			transition_in(carousel.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(grid.$$.fragment, local);
			transition_out(carousel.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div2);
			destroy_component(grid);
			destroy_component(carousel);
		}
	};
}

function component_main_index_svelte_instance($$self, $$props, $$invalidate) {
	let { items = [] } = $$props;
	let top = [];
	let sliderItems = [];

	function grid_forceItems_binding(value) {
		top = value;
		(($$invalidate(0, top), $$invalidate(2, items)), $$invalidate(1, sliderItems));
	}

	$$self.$$set = $$props => {
		if ('items' in $$props) $$invalidate(2, items = $$props.items);
	};

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*items, top, sliderItems*/ 7) {
			$: {
				$$invalidate(0, top = []);
				$$invalidate(1, sliderItems = []);

				items.forEach(item => {
					if (top.length >= 3 && item.visible) {
						$$invalidate(1, sliderItems = [...sliderItems, { ...item, forcedMinimyzed: true }].sort((a, b) => a.position - b.position));
					} else if (item.visible) {
						$$invalidate(0, top = [...top, item]);
					}
				});

				$$invalidate(1, sliderItems = (0,lodash.chunk)(sliderItems, 4));
			}
		}
	};

	return [top, sliderItems, items, grid_forceItems_binding];
}

class component_main_index_svelte_Main extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, component_main_index_svelte_instance, component_main_index_svelte_create_fragment, safe_not_equal, { items: 2 });
	}
}

/* harmony default export */ const component_main_index_svelte = (component_main_index_svelte_Main);
;// CONCATENATED MODULE: ./src/views/donate-shop/routs.js
function donate_shop_routs_typeof(o) { "@babel/helpers - typeof"; return donate_shop_routs_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, donate_shop_routs_typeof(o); }
function donate_shop_routs_defineProperty(e, r, t) { return (r = donate_shop_routs_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function donate_shop_routs_toPropertyKey(t) { var i = donate_shop_routs_toPrimitive(t, "string"); return "symbol" == donate_shop_routs_typeof(i) ? i : i + ""; }
function donate_shop_routs_toPrimitive(t, r) { if ("object" != donate_shop_routs_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != donate_shop_routs_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }



var donate_shop_routs_MAP_SCREEN_TO_COMPONENT = donate_shop_routs_defineProperty(donate_shop_routs_defineProperty({}, donate_shop_constants_Screens.Main, component_main_index_svelte), donate_shop_constants_Screens.Grid, grid_index_svelte);
;// CONCATENATED MODULE: ./src/views/donate-shop/img/battlepass-icon.png
const battlepass_icon_namespaceObject = __webpack_require__.p + "assets/80c27c59f37eb059bf84.webp";
;// CONCATENATED MODULE: ./src/views/donate-shop/index.svelte
/* src\views\donate-shop\index.svelte generated by Svelte v3.49.0 */
















// import { SERVER_MOCK } from './mock';




// import productBackgroundGrey from './img/bg-product.png';
// import productBackgroundGreen from './img/bg-product-green.png';
// import productBackgroundOrange from './img/bg-product-orange.png';
// import videoBackground from './img/back.webm';






function donate_shop_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[42] = list[i];
	child_ctx[44] = i;
	return child_ctx;
}

// (302:8) {:else}
function donate_shop_index_svelte_create_else_block_1(ctx) {
	let div;
	let each_value = /*$categories*/ ctx[5];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = donate_shop_index_svelte_create_each_block(donate_shop_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div, "class", "donate-shop__navigation-list");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$categoriesDisabled, hoveredCategoryId, $categories, selectCategory, $selectedCategoryId*/ 2217) {
				each_value = /*$categories*/ ctx[5];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = donate_shop_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = donate_shop_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (298:8) {#if isEmpty($categories)}
function donate_shop_index_svelte_create_if_block_6(ctx) {
	let div;
	let loader;
	let current;
	loader = new loader_index_svelte({ props: { style: 'fade' } });

	return {
		c() {
			div = internal_element("div");
			create_component(loader.$$.fragment);
			attr(div, "class", "donate-shop__categories-loader");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(loader, div, null);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(loader.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(loader.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(loader);
		}
	};
}

// (305:20) {#if category.visible}
function donate_shop_index_svelte_create_if_block_7(ctx) {
	let div3;
	let div2;
	let div0;
	let t0;
	let t1;
	let img;
	let img_src_value;
	let t2;
	let div1;
	let t3_value = /*category*/ ctx[42].name + "";
	let t3;
	let t4;
	let show_if = !(0,lodash.isEmpty)(/*category*/ ctx[42].borderColorId);
	let t5;
	let t6;
	let mounted;
	let dispose;
	let if_block0 = (/*hoveredCategoryId*/ ctx[0] === /*category*/ ctx[42].key || /*$selectedCategoryId*/ ctx[3] === /*category*/ ctx[42].key) && donate_shop_index_svelte_create_if_block_10(ctx);
	let if_block1 = show_if && donate_shop_index_svelte_create_if_block_9(ctx);
	let if_block2 = /*category*/ ctx[42].isNew && donate_shop_index_svelte_create_if_block_8(ctx);

	function mouseenter_handler() {
		return /*mouseenter_handler*/ ctx[17](/*category*/ ctx[42]);
	}

	function click_handler() {
		return /*click_handler*/ ctx[19](/*category*/ ctx[42]);
	}

	return {
		c() {
			div3 = internal_element("div");
			div2 = internal_element("div");
			div0 = internal_element("div");
			t0 = space();
			if (if_block0) if_block0.c();
			t1 = space();
			img = internal_element("img");
			t2 = space();
			div1 = internal_element("div");
			t3 = internal_text(t3_value);
			t4 = space();
			if (if_block1) if_block1.c();
			t5 = space();
			if (if_block2) if_block2.c();
			t6 = space();
			attr(div0, "class", "donate-shop__navigation-item-background");
			set_style(div0, "background-image", "url(" + MAP_ID_TO_CATEGORY_BACKGROUND[/*category*/ ctx[42].backgroundId] + ")");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/assets/images/donate_category/${/*category*/ ctx[42].imageId}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "icon");
			attr(img, "class", "donate-shop__navigation-item-icon");
			attr(div1, "class", "donate-shop__navigation-item-name");
			attr(div2, "class", "donate-shop__navigation-item-border");
			set_style(div2, "--gradientRegular", `linear-gradient(90deg, ${/*category*/ ctx[42].borderColorId[0]} 0%, ${/*category*/ ctx[42].borderColorId[1]} 100%)`);
			set_style(div2, "--gradientHover", `linear-gradient(180deg, ${/*category*/ ctx[42].borderColorId[0]} 0%, ${/*category*/ ctx[42].borderColorId[1]} 100%)`);
			set_style(div2, "--gradientClick", `linear-gradient(270deg, ${/*category*/ ctx[42].borderColorId[0]} 0%, ${/*category*/ ctx[42].borderColorId[1]} 100%)`);
			set_style(div2, "--gradientActive", `linear-gradient(0deg, ${/*category*/ ctx[42].borderColorId[0]} 0%, ${/*category*/ ctx[42].borderColorId[1]} 100%)`);
			set_style(div2, "--shadowBoxFull", `0px 0px 24px 0px ${/*category*/ ctx[42].hoverColorId}`);
			set_style(div2, "--shadowBoxOpacity", `0px 0px 16px 0px ${/*category*/ ctx[42].hoverColorId}1a`);
			set_style(div2, "--hoverHalfColor", `linear-gradient(90deg, transparent 20%, ${/*category*/ ctx[42].hoverColorId} 100%)`);
			set_style(div2, "--hoverFullColor", `linear-gradient(90deg, ${/*category*/ ctx[42].hoverColorId}66 0%, ${/*category*/ ctx[42].hoverColorId}CC 100%)`);
			set_style(div2, "--flareGradient", `radial-gradient(ellipse, ${/*category*/ ctx[42].hoverColorId}66 15%, transparent 70%)`);
			toggle_class(div2, "donate-shop__navigation-item-border--active", /*category*/ ctx[42].key === /*$selectedCategoryId*/ ctx[3]);
			toggle_class(div2, "donate-shop__navigation-item-border--hidden", /*category*/ ctx[42].borderColorId === 0);
			attr(div3, "class", "donate-shop__navigation-item");
			toggle_class(div3, "donate-shop__navigation-item--disabled", /*$categoriesDisabled*/ ctx[7]);
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div2);
			append(div2, div0);
			append(div2, t0);
			if (if_block0) if_block0.m(div2, null);
			append(div2, t1);
			append(div2, img);
			append(div2, t2);
			append(div2, div1);
			append(div1, t3);
			append(div2, t4);
			if (if_block1) if_block1.m(div2, null);
			append(div2, t5);
			if (if_block2) if_block2.m(div2, null);
			append(div3, t6);

			if (!mounted) {
				dispose = [
					listen(div3, "mouseenter", mouseenter_handler),
					listen(div3, "mouseleave", /*mouseleave_handler*/ ctx[18]),
					listen(div3, "click", click_handler)
				];

				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty[0] & /*$categories*/ 32) {
				set_style(div0, "background-image", "url(" + MAP_ID_TO_CATEGORY_BACKGROUND[/*category*/ ctx[42].backgroundId] + ")");
			}

			if (/*hoveredCategoryId*/ ctx[0] === /*category*/ ctx[42].key || /*$selectedCategoryId*/ ctx[3] === /*category*/ ctx[42].key) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = donate_shop_index_svelte_create_if_block_10(ctx);
					if_block0.c();
					if_block0.m(div2, t1);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty[0] & /*$categories*/ 32 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/assets/images/donate_category/${/*category*/ ctx[42].imageId}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty[0] & /*$categories*/ 32 && t3_value !== (t3_value = /*category*/ ctx[42].name + "")) set_data(t3, t3_value);
			if (dirty[0] & /*$categories*/ 32) show_if = !(0,lodash.isEmpty)(/*category*/ ctx[42].borderColorId);

			if (show_if) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = donate_shop_index_svelte_create_if_block_9(ctx);
					if_block1.c();
					if_block1.m(div2, t5);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (/*category*/ ctx[42].isNew) {
				if (if_block2) {
					
				} else {
					if_block2 = donate_shop_index_svelte_create_if_block_8(ctx);
					if_block2.c();
					if_block2.m(div2, null);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			if (dirty[0] & /*$categories*/ 32) {
				set_style(div2, "--gradientRegular", `linear-gradient(90deg, ${/*category*/ ctx[42].borderColorId[0]} 0%, ${/*category*/ ctx[42].borderColorId[1]} 100%)`);
			}

			if (dirty[0] & /*$categories*/ 32) {
				set_style(div2, "--gradientHover", `linear-gradient(180deg, ${/*category*/ ctx[42].borderColorId[0]} 0%, ${/*category*/ ctx[42].borderColorId[1]} 100%)`);
			}

			if (dirty[0] & /*$categories*/ 32) {
				set_style(div2, "--gradientClick", `linear-gradient(270deg, ${/*category*/ ctx[42].borderColorId[0]} 0%, ${/*category*/ ctx[42].borderColorId[1]} 100%)`);
			}

			if (dirty[0] & /*$categories*/ 32) {
				set_style(div2, "--gradientActive", `linear-gradient(0deg, ${/*category*/ ctx[42].borderColorId[0]} 0%, ${/*category*/ ctx[42].borderColorId[1]} 100%)`);
			}

			if (dirty[0] & /*$categories*/ 32) {
				set_style(div2, "--shadowBoxFull", `0px 0px 24px 0px ${/*category*/ ctx[42].hoverColorId}`);
			}

			if (dirty[0] & /*$categories*/ 32) {
				set_style(div2, "--shadowBoxOpacity", `0px 0px 16px 0px ${/*category*/ ctx[42].hoverColorId}1a`);
			}

			if (dirty[0] & /*$categories*/ 32) {
				set_style(div2, "--hoverHalfColor", `linear-gradient(90deg, transparent 20%, ${/*category*/ ctx[42].hoverColorId} 100%)`);
			}

			if (dirty[0] & /*$categories*/ 32) {
				set_style(div2, "--hoverFullColor", `linear-gradient(90deg, ${/*category*/ ctx[42].hoverColorId}66 0%, ${/*category*/ ctx[42].hoverColorId}CC 100%)`);
			}

			if (dirty[0] & /*$categories*/ 32) {
				set_style(div2, "--flareGradient", `radial-gradient(ellipse, ${/*category*/ ctx[42].hoverColorId}66 15%, transparent 70%)`);
			}

			if (dirty[0] & /*$categories, $selectedCategoryId*/ 40) {
				toggle_class(div2, "donate-shop__navigation-item-border--active", /*category*/ ctx[42].key === /*$selectedCategoryId*/ ctx[3]);
			}

			if (dirty[0] & /*$categories*/ 32) {
				toggle_class(div2, "donate-shop__navigation-item-border--hidden", /*category*/ ctx[42].borderColorId === 0);
			}

			if (dirty[0] & /*$categoriesDisabled*/ 128) {
				toggle_class(div3, "donate-shop__navigation-item--disabled", /*$categoriesDisabled*/ ctx[7]);
			}
		},
		d(detaching) {
			if (detaching) detach(div3);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			if (if_block2) if_block2.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (333:32) {#if hoveredCategoryId === category.key || $selectedCategoryId === category.key}
function donate_shop_index_svelte_create_if_block_10(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			attr(div, "class", "donate-shop__navigation-hover-overlay");
			toggle_class(div, "donate-shop__navigation-hover-overlay--hidden", /*hoveredCategoryId*/ ctx[0] !== /*category*/ ctx[42].key && /*$selectedCategoryId*/ ctx[3] !== /*category*/ ctx[42].key);
			toggle_class(div, "donate-shop__navigation-hover-overlay--active", /*$selectedCategoryId*/ ctx[3] === /*category*/ ctx[42].key);
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*hoveredCategoryId, $categories, $selectedCategoryId*/ 41) {
				toggle_class(div, "donate-shop__navigation-hover-overlay--hidden", /*hoveredCategoryId*/ ctx[0] !== /*category*/ ctx[42].key && /*$selectedCategoryId*/ ctx[3] !== /*category*/ ctx[42].key);
			}

			if (dirty[0] & /*$selectedCategoryId, $categories*/ 40) {
				toggle_class(div, "donate-shop__navigation-hover-overlay--active", /*$selectedCategoryId*/ ctx[3] === /*category*/ ctx[42].key);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (342:32) {#if !isEmpty(category.borderColorId)}
function donate_shop_index_svelte_create_if_block_9(ctx) {
	let div1;
	let div0;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			attr(div0, "class", "donate-shop__navigation-item-flare");
			set_style(div0, "animation-delay", 4 * _randomHelper(0, /*$categories*/ ctx[5].length) + "s");
			attr(div1, "class", "donate-shop__navigation-item-flare-wrapper");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$categories*/ 32) {
				set_style(div0, "animation-delay", 4 * _randomHelper(0, /*$categories*/ ctx[5].length) + "s");
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (347:32) {#if category.isNew}
function donate_shop_index_svelte_create_if_block_8(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "NEW";
			attr(div, "class", "donate-shop__navigation-item-badge");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (304:16) {#each $categories as category, index}
function donate_shop_index_svelte_create_each_block(ctx) {
	let if_block_anchor;
	let if_block = /*category*/ ctx[42].visible && donate_shop_index_svelte_create_if_block_7(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
		},
		p(ctx, dirty) {
			if (/*category*/ ctx[42].visible) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = donate_shop_index_svelte_create_if_block_7(ctx);
					if_block.c();
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

// (358:8) {#if $mainInfo.buttonEventStatus}
function donate_shop_index_svelte_create_if_block_5(ctx) {
	let div1;
	let img;
	let img_src_value;
	let t0;
	let div0;
	let t1_value = (/*$mainInfo*/ ctx[4].buttonEventName || '') + "";
	let t1;
	let mounted;
	let dispose;

	return {
		c() {
			div1 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			if (!src_url_equal(img.src, img_src_value = battlepass_icon_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "battlepass");
			attr(img, "class", "donate-shop__battle-pass-image");
			attr(div0, "class", "donate-shop__battle-pass-title");
			attr(div1, "class", "donate-shop__battle-pass");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, img);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);

			if (!mounted) {
				dispose = listen(div1, "click", /*openBattlePass*/ ctx[16]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$mainInfo*/ 16 && t1_value !== (t1_value = (/*$mainInfo*/ ctx[4].buttonEventName || '') + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
			mounted = false;
			dispose();
		}
	};
}

// (382:16) {#if $mainInfo.freeSpinAvailable}
function donate_shop_index_svelte_create_if_block_4(ctx) {
	let div1;
	let mounted;
	let dispose;

	return {
		c() {
			div1 = internal_element("div");

			div1.innerHTML = `<i class="donate-shop__coins-add-icon icon-pocker-cap"></i> 
                        <div class="donate-shop__coins-free">FREE</div>`;

			attr(div1, "class", "donate-shop__coins-add donate-shop__coins-add--free-spin donate-shop__coins-add--pink");
		},
		m(target, anchor) {
			insert(target, div1, anchor);

			if (!mounted) {
				dispose = listen(div1, "click", /*click_handler_2*/ ctx[21]);
				mounted = true;
			}
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
			mounted = false;
			dispose();
		}
	};
}

// (392:12) {#if $mainInfo.getBoostPayment > 3}
function donate_shop_index_svelte_create_if_block_3(ctx) {
	let div;
	let t0;
	let t1_value = /*$mainInfo*/ ctx[4].getBoostPayment + "";
	let t1;

	return {
		c() {
			div = internal_element("div");
			t0 = internal_text("X");
			t1 = internal_text(t1_value);
			attr(div, "class", "donate-shop__coins-rate");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t0);
			append(div, t1);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$mainInfo*/ 16 && t1_value !== (t1_value = /*$mainInfo*/ ctx[4].getBoostPayment + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (410:8) {:else}
function donate_shop_index_svelte_create_else_block(ctx) {
	let switch_instance;
	let updating_items;
	let switch_instance_anchor;
	let current;

	function switch_instance_items_binding(value) {
		/*switch_instance_items_binding*/ ctx[22](value);
	}

	var switch_value = donate_shop_routs_MAP_SCREEN_TO_COMPONENT[/*$selectedScreen*/ ctx[10]];

	function switch_props(ctx) {
		let switch_instance_props = {};

		if (/*$products*/ ctx[8][/*$selectedCategoryId*/ ctx[3]] !== void 0) {
			switch_instance_props.items = /*$products*/ ctx[8][/*$selectedCategoryId*/ ctx[3]];
		}

		return { props: switch_instance_props };
	}

	if (switch_value) {
		switch_instance = new switch_value(switch_props(ctx));
		binding_callbacks.push(() => bind(switch_instance, 'items', switch_instance_items_binding));
	}

	return {
		c() {
			if (switch_instance) create_component(switch_instance.$$.fragment);
			switch_instance_anchor = empty();
		},
		m(target, anchor) {
			if (switch_instance) {
				mount_component(switch_instance, target, anchor);
			}

			insert(target, switch_instance_anchor, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const switch_instance_changes = {};

			if (!updating_items && dirty[0] & /*$products, $selectedCategoryId*/ 264) {
				updating_items = true;
				switch_instance_changes.items = /*$products*/ ctx[8][/*$selectedCategoryId*/ ctx[3]];
				add_flush_callback(() => updating_items = false);
			}

			if (switch_value !== (switch_value = donate_shop_routs_MAP_SCREEN_TO_COMPONENT[/*$selectedScreen*/ ctx[10]])) {
				if (switch_instance) {
					group_outros();
					const old_component = switch_instance;

					transition_out(old_component.$$.fragment, 1, 0, () => {
						destroy_component(old_component, 1);
					});

					check_outros();
				}

				if (switch_value) {
					switch_instance = new switch_value(switch_props(ctx));
					binding_callbacks.push(() => bind(switch_instance, 'items', switch_instance_items_binding));
					create_component(switch_instance.$$.fragment);
					transition_in(switch_instance.$$.fragment, 1);
					mount_component(switch_instance, switch_instance_anchor.parentNode, switch_instance_anchor);
				} else {
					switch_instance = null;
				}
			} else if (switch_value) {
				switch_instance.$set(switch_instance_changes);
			}
		},
		i(local) {
			if (current) return;
			if (switch_instance) transition_in(switch_instance.$$.fragment, local);
			current = true;
		},
		o(local) {
			if (switch_instance) transition_out(switch_instance.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(switch_instance_anchor);
			if (switch_instance) destroy_component(switch_instance, detaching);
		}
	};
}

// (406:32) 
function donate_shop_index_svelte_create_if_block_2(ctx) {
	let div1;

	return {
		c() {
			div1 = internal_element("div");
			div1.innerHTML = `<div class="donate-shop__grid-empty">Нет доступных предметов</div>`;
			attr(div1, "class", "donate-shop__grid-empty-wrapper");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (402:8) {#if isEmpty($products[$selectedCategoryId]) && !emptyCategory}
function donate_shop_index_svelte_create_if_block_1(ctx) {
	let div;
	let loader;
	let current;
	loader = new loader_index_svelte({ props: { style: 'fade' } });

	return {
		c() {
			div = internal_element("div");
			create_component(loader.$$.fragment);
			attr(div, "class", "donate-shop__grid-loader");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(loader, div, null);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(loader.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(loader.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(loader);
		}
	};
}

// (415:4) {#if $modalSettings.visibility}
function donate_shop_index_svelte_create_if_block(ctx) {
	let div;
	let modal;
	let current;
	let mounted;
	let dispose;

	modal = new component_modal_index_svelte({
			props: { onClose: /*closeModal*/ ctx[13] }
		});

	return {
		c() {
			div = internal_element("div");
			create_component(modal.$$.fragment);
			attr(div, "class", "donate-shop__modal-overlay");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(modal, div, null);
			current = true;

			if (!mounted) {
				dispose = listen(div, "click", internal_self(/*closeModal*/ ctx[13]));
				mounted = true;
			}
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(modal.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(modal.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(modal);
			mounted = false;
			dispose();
		}
	};
}

function donate_shop_index_svelte_create_fragment(ctx) {
	let div12;
	let div1;
	let div0;
	let t1;
	let show_if_1;
	let current_block_type_index;
	let if_block0;
	let t2;
	let div10;
	let t3;
	let div5;
	let div3;
	let div2;
	let t4_value = formatMoney(/*$mainInfo*/ ctx[4].countMoney || 0) + "";
	let t4;
	let t5;
	let i0;
	let t6;
	let div4;
	let t7;
	let div9;
	let div7;
	let div6;
	let t8_value = `${formatMoney(/*$mainInfo*/ ctx[4].countDonate || 0)} AZ` + "";
	let t8;
	let t9;
	let img;
	let img_src_value;
	let t10;
	let div8;
	let i2;
	let t11;
	let t12;
	let t13;
	let actionbutton;
	let t14;
	let div11;
	let show_if;
	let current_block_type_index_1;
	let if_block4;
	let t15;
	let current;
	let mounted;
	let dispose;
	const if_block_creators = [donate_shop_index_svelte_create_if_block_6, donate_shop_index_svelte_create_else_block_1];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (dirty[0] & /*$categories*/ 32) show_if_1 = null;
		if (show_if_1 == null) show_if_1 = !!(0,lodash.isEmpty)(/*$categories*/ ctx[5]);
		if (show_if_1) return 0;
		return 1;
	}

	current_block_type_index = select_block_type(ctx, [-1, -1]);
	if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
	let if_block1 = /*$mainInfo*/ ctx[4].buttonEventStatus && donate_shop_index_svelte_create_if_block_5(ctx);
	let if_block2 = /*$mainInfo*/ ctx[4].freeSpinAvailable && donate_shop_index_svelte_create_if_block_4(ctx);
	let if_block3 = /*$mainInfo*/ ctx[4].getBoostPayment > 3 && donate_shop_index_svelte_create_if_block_3(ctx);

	actionbutton = new index_svelte({
			props: {
				code: "escape",
				keyTitle: "Esc",
				onPress: /*exit*/ ctx[14]
			}
		});

	const if_block_creators_1 = [donate_shop_index_svelte_create_if_block_1, donate_shop_index_svelte_create_if_block_2, donate_shop_index_svelte_create_else_block];
	const if_blocks_1 = [];

	function select_block_type_1(ctx, dirty) {
		if (dirty[0] & /*$products, $selectedCategoryId, emptyCategory*/ 268) show_if = null;
		if (show_if == null) show_if = !!((0,lodash.isEmpty)(/*$products*/ ctx[8][/*$selectedCategoryId*/ ctx[3]]) && !/*emptyCategory*/ ctx[2]);
		if (show_if) return 0;
		if (/*emptyCategory*/ ctx[2]) return 1;
		return 2;
	}

	current_block_type_index_1 = select_block_type_1(ctx, [-1, -1]);
	if_block4 = if_blocks_1[current_block_type_index_1] = if_block_creators_1[current_block_type_index_1](ctx);
	let if_block5 = /*$modalSettings*/ ctx[6].visibility && donate_shop_index_svelte_create_if_block(ctx);

	return {
		c() {
			div12 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "МАГАЗИН";
			t1 = space();
			if_block0.c();
			t2 = space();
			div10 = internal_element("div");
			if (if_block1) if_block1.c();
			t3 = space();
			div5 = internal_element("div");
			div3 = internal_element("div");
			div2 = internal_element("div");
			t4 = internal_text(t4_value);
			t5 = space();
			i0 = internal_element("i");
			t6 = space();
			div4 = internal_element("div");
			div4.innerHTML = `<i class="donate-shop__coins-add-icon icon-plus-circle"></i>`;
			t7 = space();
			div9 = internal_element("div");
			div7 = internal_element("div");
			div6 = internal_element("div");
			t8 = internal_text(t8_value);
			t9 = space();
			img = internal_element("img");
			t10 = space();
			div8 = internal_element("div");
			i2 = internal_element("i");
			t11 = space();
			if (if_block2) if_block2.c();
			t12 = space();
			if (if_block3) if_block3.c();
			t13 = space();
			create_component(actionbutton.$$.fragment);
			t14 = space();
			div11 = internal_element("div");
			if_block4.c();
			t15 = space();
			if (if_block5) if_block5.c();
			attr(div0, "class", "donate-shop__navigation-title");
			attr(div1, "class", "donate-shop__navigation");
			attr(div2, "class", "donate-shop__coins-value");
			attr(i0, "class", "donate-shop__pass-coins-currency-icon icon-dollar");
			attr(div3, "class", "donate-shop__coins-value-wrapper");
			attr(div4, "class", "donate-shop__coins-add donate-shop__coins-add--green");
			attr(div5, "class", "donate-shop__coins-field");
			attr(div6, "class", "donate-shop__coins-value");
			if (!src_url_equal(img.src, img_src_value = donate_shop_img_icons_coin_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "class", "donate-shop__pass-coins-currency-image");
			attr(img, "alt", "coins");
			attr(div7, "class", "donate-shop__coins-value-wrapper");
			attr(i2, "class", "donate-shop__coins-add-icon icon-plus-circle");
			attr(div8, "class", "donate-shop__coins-add donate-shop__coins-add--yellow");
			attr(div9, "class", "donate-shop__coins-field");
			attr(div10, "class", "donate-shop__coins");
			attr(div11, "class", "donate-shop__content");
			attr(div12, "class", "donate-shop");
		},
		m(target, anchor) {
			insert(target, div12, anchor);
			append(div12, div1);
			append(div1, div0);
			append(div1, t1);
			if_blocks[current_block_type_index].m(div1, null);
			append(div12, t2);
			append(div12, div10);
			if (if_block1) if_block1.m(div10, null);
			append(div10, t3);
			append(div10, div5);
			append(div5, div3);
			append(div3, div2);
			append(div2, t4);
			append(div3, t5);
			append(div3, i0);
			append(div5, t6);
			append(div5, div4);
			append(div10, t7);
			append(div10, div9);
			append(div9, div7);
			append(div7, div6);
			append(div6, t8);
			append(div7, t9);
			append(div7, img);
			append(div9, t10);
			append(div9, div8);
			append(div8, i2);
			append(div8, t11);
			if (if_block2) if_block2.m(div8, null);
			append(div9, t12);
			if (if_block3) if_block3.m(div9, null);
			append(div10, t13);
			mount_component(actionbutton, div10, null);
			append(div12, t14);
			append(div12, div11);
			if_blocks_1[current_block_type_index_1].m(div11, null);
			/*div11_binding*/ ctx[23](div11);
			append(div12, t15);
			if (if_block5) if_block5.m(div12, null);
			current = true;

			if (!mounted) {
				dispose = [
					listen(div4, "click", /*click_handler_1*/ ctx[20]),
					listen(div8, "click", /*openAzPurchasing*/ ctx[15])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if_blocks[current_block_type_index].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks[previous_block_index], 1, 1, () => {
					if_blocks[previous_block_index] = null;
				});

				check_outros();
				if_block0 = if_blocks[current_block_type_index];

				if (!if_block0) {
					if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
					if_block0.c();
				} else {
					if_block0.p(ctx, dirty);
				}

				transition_in(if_block0, 1);
				if_block0.m(div1, null);
			}

			if (/*$mainInfo*/ ctx[4].buttonEventStatus) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = donate_shop_index_svelte_create_if_block_5(ctx);
					if_block1.c();
					if_block1.m(div10, t3);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if ((!current || dirty[0] & /*$mainInfo*/ 16) && t4_value !== (t4_value = formatMoney(/*$mainInfo*/ ctx[4].countMoney || 0) + "")) set_data(t4, t4_value);
			if ((!current || dirty[0] & /*$mainInfo*/ 16) && t8_value !== (t8_value = `${formatMoney(/*$mainInfo*/ ctx[4].countDonate || 0)} AZ` + "")) set_data(t8, t8_value);

			if (/*$mainInfo*/ ctx[4].freeSpinAvailable) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = donate_shop_index_svelte_create_if_block_4(ctx);
					if_block2.c();
					if_block2.m(div8, null);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			if (/*$mainInfo*/ ctx[4].getBoostPayment > 3) {
				if (if_block3) {
					if_block3.p(ctx, dirty);
				} else {
					if_block3 = donate_shop_index_svelte_create_if_block_3(ctx);
					if_block3.c();
					if_block3.m(div9, null);
				}
			} else if (if_block3) {
				if_block3.d(1);
				if_block3 = null;
			}

			let previous_block_index_1 = current_block_type_index_1;
			current_block_type_index_1 = select_block_type_1(ctx, dirty);

			if (current_block_type_index_1 === previous_block_index_1) {
				if_blocks_1[current_block_type_index_1].p(ctx, dirty);
			} else {
				group_outros();

				transition_out(if_blocks_1[previous_block_index_1], 1, 1, () => {
					if_blocks_1[previous_block_index_1] = null;
				});

				check_outros();
				if_block4 = if_blocks_1[current_block_type_index_1];

				if (!if_block4) {
					if_block4 = if_blocks_1[current_block_type_index_1] = if_block_creators_1[current_block_type_index_1](ctx);
					if_block4.c();
				} else {
					if_block4.p(ctx, dirty);
				}

				transition_in(if_block4, 1);
				if_block4.m(div11, null);
			}

			if (/*$modalSettings*/ ctx[6].visibility) {
				if (if_block5) {
					if_block5.p(ctx, dirty);

					if (dirty[0] & /*$modalSettings*/ 64) {
						transition_in(if_block5, 1);
					}
				} else {
					if_block5 = donate_shop_index_svelte_create_if_block(ctx);
					if_block5.c();
					transition_in(if_block5, 1);
					if_block5.m(div12, null);
				}
			} else if (if_block5) {
				group_outros();

				transition_out(if_block5, 1, 1, () => {
					if_block5 = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block0);
			transition_in(actionbutton.$$.fragment, local);
			transition_in(if_block4);
			transition_in(if_block5);
			current = true;
		},
		o(local) {
			transition_out(if_block0);
			transition_out(actionbutton.$$.fragment, local);
			transition_out(if_block4);
			transition_out(if_block5);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div12);
			if_blocks[current_block_type_index].d();
			if (if_block1) if_block1.d();
			if (if_block2) if_block2.d();
			if (if_block3) if_block3.d();
			destroy_component(actionbutton);
			if_blocks_1[current_block_type_index_1].d();
			/*div11_binding*/ ctx[23](null);
			if (if_block5) if_block5.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function donate_shop_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedCategoryId;
	let $mainInfo;
	let $categories;
	let $modalSettings;
	let $categoriesDisabled;
	let $products;
	let $donateSettings;
	let $serverApiToken;
	let $serverApiServerId;
	let $layoutTemplate;
	let $selectedScreen;
	component_subscribe($$self, store_selectedCategoryId, $$value => $$invalidate(3, $selectedCategoryId = $$value));
	component_subscribe($$self, store_mainInfo, $$value => $$invalidate(4, $mainInfo = $$value));
	component_subscribe($$self, categories, $$value => $$invalidate(5, $categories = $$value));
	component_subscribe($$self, modalSettings, $$value => $$invalidate(6, $modalSettings = $$value));
	component_subscribe($$self, categoriesDisabled, $$value => $$invalidate(7, $categoriesDisabled = $$value));
	component_subscribe($$self, products, $$value => $$invalidate(8, $products = $$value));
	component_subscribe($$self, donateSettings, $$value => $$invalidate(9, $donateSettings = $$value));
	component_subscribe($$self, serverApiToken, $$value => $$invalidate(28, $serverApiToken = $$value));
	component_subscribe($$self, serverApiServerId, $$value => $$invalidate(29, $serverApiServerId = $$value));
	component_subscribe($$self, layoutTemplate, $$value => $$invalidate(30, $layoutTemplate = $$value));
	component_subscribe($$self, donate_shop_store_selectedScreen, $$value => $$invalidate(10, $selectedScreen = $$value));
	let hoveredCategoryId = -1;
	let timerItems = [];
	let interval = null;
	let actionCategoryId = -1;
	let limitedCategoryId = -1;
	let scrollNode = null;
	let emptyCategory = false;

	const selectCategory = category => {
		if ($categoriesDisabled) {
			return;
		}

		scrollNode.scrollTo(0, 0);
		set_store_value(store_selectedCategoryId, $selectedCategoryId = category.key, $selectedCategoryId);

		set_store_value(
			donate_shop_store_selectedScreen,
			$selectedScreen = $selectedCategoryId === Categories.Main
			? donate_shop_constants_Screens.Main
			: donate_shop_constants_Screens.Grid,
			$selectedScreen
		);

		set_store_value(layoutTemplate, $layoutTemplate = LayoutTemplate[category.gridTemplate], $layoutTemplate);
		$$invalidate(2, emptyCategory = (0,lodash.isEmpty)($products[$selectedCategoryId]) && $selectedCategoryId !== 0);
		sendClientMessage('donateShop.selectCategory', category.key);
	};

	const openModal = (mode, style, rate) => {
		if ($modalSettings.disabled) {
			return;
		}

		set_store_value(modalSettings, $modalSettings.rate = rate, $modalSettings);
		set_store_value(modalSettings, $modalSettings.mode = mode, $modalSettings);
		set_store_value(modalSettings, $modalSettings.theme = style, $modalSettings);
		set_store_value(modalSettings, $modalSettings.visibility = true, $modalSettings);
		sendClientMessage('donateShop.openModal', mode);
	};

	const closeModal = () => {
		set_store_value(modalSettings, $modalSettings.visibility = false, $modalSettings);
	};

	const getProducts = () => {
		lib_axios.get(`https://api.ko-rista.com/v1/getLauncherMobileDonate?launcher_key=CHANGEMEKEY777&project=rodina&server=1&key=donate_items`, {
			headers: {
				Authorization: `Bearer ${$serverApiToken}`
			}
		}).then(response => {
			if ((0,lodash.isEmpty)(response.data)) {
				return;
			}

			response.data.forEach(item => {
				const timeDifference = item.endUnixTime - moment_default()().unix();
				const timerView = timeDifference > 0 && timeDifference < 86400;
				const augmentedItem = { ...item, timerView, timeDifference };
				set_store_value(products, $products[item.category] = [...$products[item.category], augmentedItem].sort((a, b) => a.position - b.position), $products);

				if (item.discount > 0 && item.category !== actionCategoryId && item.category !== 0) {
					set_store_value(
						products,
						$products[actionCategoryId] = [
							...$products[actionCategoryId],
							{ ...augmentedItem, forcedMinimyzed: true }
						].sort((a, b) => a.position - b.position),
						$products
					);
				}

				if (item.limited > 0 && item.category !== limitedCategoryId && item.category !== 0) {
					set_store_value(
						products,
						$products[limitedCategoryId] = [
							...$products[limitedCategoryId],
							{ ...augmentedItem, forcedMinimyzed: true }
						].sort((a, b) => a.position - b.position),
						$products
					);
				}

				if (timerView) {
					const itemIndex = $products[item.category].findIndex(findItem => findItem.key === item.key);
					const actionItemIndex = $products[actionCategoryId].findIndex(findItem => findItem.key === item.key);
					const limitedItemIndex = $products[limitedCategoryId].findIndex(findItem => findItem.key === item.key);

					timerItems.push({
						category: augmentedItem.category,
						itemIndex
					});

					if (actionItemIndex >= 0 && augmentedItem.timeDifference > 0 && augmentedItem.discount > 0) {
						timerItems.push({
							category: actionCategoryId,
							itemIndex: actionItemIndex
						});
					}

					if (limitedItemIndex >= 0 && augmentedItem.category === limitedCategoryId) {
						timerItems.push({
							category: limitedCategoryId,
							itemIndex: limitedItemIndex
						});
					}
				}
			});

			timerItems = timerItems.filter((item, index, array) => array.findIndex(arrayItem => JSON.stringify(arrayItem) === JSON.stringify(item)) === index);
			set_store_value(products, $products[0] = [...$products[0], ...$products[actionCategoryId]], $products);

			if (timerItems.length > 0 && (0,lodash.isNil)(interval)) {
				interval = setInterval(
					() => {
						timerItems.forEach(timer => {
							if ($products[timer.category][timer.itemIndex].timeDifference > 0) {
								set_store_value(products, $products[timer.category][timer.itemIndex].timeDifference -= 1, $products);
							} else {
								timerItems = timerItems.filter(filterTimer => $products[filterTimer.category][filterTimer.itemIndex].timeDifference > 0);
							}
						});

						if ((0,lodash.isEmpty)(timerItems) && !(0,lodash.isNil)(interval)) {
							clearInterval(interval);
							interval = null;
						}
					},
					1000
				);
			}

			sendClientMessage('donateShop.initializeComplete');
		}).catch(error => {
			if (!(0,lodash.isNil)(error.response) && (error.response.status === 401 || error.response.status === 403)) {
				// eslint-disable-next-line no-console
				console.log(JSON.stringify(error));
			}
		});
	};

	const getCategories = () => {
		lib_axios.get(`https://api.ko-rista.com/v1/getLauncherMobileDonate?launcher_key=CHANGEMEKEY777&project=rodina&server=1&key=donate_category`, {
			headers: {
				Authorization: `Bearer ${$serverApiToken}`
			}
		}).then(response => {
			if ((0,lodash.isEmpty)(response.data)) {
				return;
			}

			set_store_value(categories, $categories = response.data, $categories);

			$categories.forEach(item => {
				set_store_value(products, $products[item.key] = [], $products);

				if (actionCategoryId === -1 && item.isActionCategory) {
					actionCategoryId = item.key;
				}

				if (limitedCategoryId === -1 && item.isLimitedCategory) {
					limitedCategoryId = item.key;
				}
			});

			getProducts();
		}).catch(error => {
			if (!(0,lodash.isNil)(error.response) && (error.response.status === 401 || error.response.status === 403)) {
				// eslint-disable-next-line no-console
				console.log(JSON.stringify(error));
			}
		});
	};

	const getDonateSettings = () => {
		lib_axios.get(`${SERVER_API_URL}/client/json/table/get?project=${SERVER_API_PROJECT}&key=donate_settings&server=${$serverApiServerId}`, {
			headers: {
				Authorization: `Bearer ${$serverApiToken}`
			}
		}).then(response => {
			if ((0,lodash.isEmpty)(response.data)) {
				return;
			}

			set_store_value(donateSettings, [$donateSettings] = response.data, $donateSettings);
		}).catch(error => {
			if (!(0,lodash.isNil)(error.response) && (error.response.status === 401 || error.response.status === 403)) {
				// eslint-disable-next-line no-console
				console.log(JSON.stringify(error));
			}
		});
	};

	const updateProduct = productDto => {
		if ((0,lodash.isNil)($products[productDto.category])) {
			set_store_value(products, $products[productDto.category] = [], $products);
		}

		set_store_value(
			products,
			$products[productDto.category] = $products[productDto.category].map(item => {
				let temp = item;

				if (item.key === productDto.key) {
					temp = { ...item, ...productDto };
				}

				return temp;
			}),
			$products
		);

		set_store_value(products, $products = { ...$products }, $products);

		if (!productDto.loading) {
			set_store_value(categoriesDisabled, $categoriesDisabled = false, $categoriesDisabled);
		}
	};

	const unregregisterUpdateProduct = registerEvent('event.donateShop.updateProduct', updateProduct);

	const updateModalSettings = dto => {
		set_store_value(modalSettings, $modalSettings = { ...$modalSettings, ...dto }, $modalSettings);
	};

	const unregregisterUpdateModalSettings = registerEvent('event.donateShop.updateModalSettings', updateModalSettings);

	// updateModalSettings(MODAL_SETTINGS_MOCK);
	const updateSelectedCategory = value => selectCategory($categories[value]);

	const unregregisterSelectedCategory = registerEvent('event.donateShop.updateSelectedCategory', updateSelectedCategory);

	const initializeMainInfo = dto => {
		set_store_value(store_mainInfo, $mainInfo = dto, $mainInfo);
	};

	const unregregisterMainInfo = registerEvent('event.donateShop.initializeMainInfo', initializeMainInfo);

	// initializeMainInfo(SERVER_MOCK);
	const exit = () => {
		sendClientMessage('donateShop.exit');
	};

	const openAzPurchasing = () => {
		sendClientMessage('donateShop.openAzPurchasing');
	};

	const openBattlePass = () => {
		sendClientMessage('donateShop.battlePass');
	};

	getDonateSettings();
	getCategories();

	onDestroy(() => {
		unregregisterSelectedCategory();
		unregregisterMainInfo();
		unregregisterUpdateProduct();
		unregregisterUpdateModalSettings();
		set_store_value(store_selectedCategoryId, $selectedCategoryId = 0, $selectedCategoryId);

		if (!(0,lodash.isNil)(interval)) {
			clearInterval(interval);
			interval = null;
		}
	});

	const mouseenter_handler = category => {
		$$invalidate(0, hoveredCategoryId = category.key);
	};

	const mouseleave_handler = () => {
		$$invalidate(0, hoveredCategoryId = -1);
	};

	const click_handler = category => selectCategory(category);
	const click_handler_1 = () => openModal(ModalMode.Exchange, ModalStyle.Green, $donateSettings.totalEarnings);
	const click_handler_2 = () => sendClientMessage('roulette.main.openDonate');

	function switch_instance_items_binding(value) {
		if ($$self.$$.not_equal($products[$selectedCategoryId], value)) {
			$products[$selectedCategoryId] = value;
			products.set($products);
		}
	}

	function div11_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			scrollNode = $$value;
			$$invalidate(1, scrollNode);
		});
	}

	return [
		hoveredCategoryId,
		scrollNode,
		emptyCategory,
		$selectedCategoryId,
		$mainInfo,
		$categories,
		$modalSettings,
		$categoriesDisabled,
		$products,
		$donateSettings,
		$selectedScreen,
		selectCategory,
		openModal,
		closeModal,
		exit,
		openAzPurchasing,
		openBattlePass,
		mouseenter_handler,
		mouseleave_handler,
		click_handler,
		click_handler_1,
		click_handler_2,
		switch_instance_items_binding,
		div11_binding
	];
}

class Donate_shop extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, donate_shop_index_svelte_instance, donate_shop_index_svelte_create_fragment, safe_not_equal, {}, null, [-1, -1]);
	}
}

/* harmony default export */ const donate_shop_index_svelte = (Donate_shop);
;// CONCATENATED MODULE: ./src/views/player-quests/img/family-left.png
const family_left_namespaceObject = __webpack_require__.p + "assets/7aff63ef7e18d3aeb818.webp";
;// CONCATENATED MODULE: ./src/views/player-quests/img/family-right.png
const family_right_namespaceObject = __webpack_require__.p + "assets/a03cc34fe1a30596dc9d.webp";
;// CONCATENATED MODULE: ./src/views/player-quests/img/organization-left.png
const organization_left_namespaceObject = __webpack_require__.p + "assets/d308c0e8512f9877f4ca.webp";
;// CONCATENATED MODULE: ./src/views/player-quests/img/organization-right.png
const organization_right_namespaceObject = __webpack_require__.p + "assets/e22da3e1e3e6706c285e.webp";
;// CONCATENATED MODULE: ./src/views/player-quests/constants.js
function player_quests_constants_typeof(o) { "@babel/helpers - typeof"; return player_quests_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, player_quests_constants_typeof(o); }
function player_quests_constants_defineProperty(e, r, t) { return (r = player_quests_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function player_quests_constants_toPropertyKey(t) { var i = player_quests_constants_toPrimitive(t, "string"); return "symbol" == player_quests_constants_typeof(i) ? i : i + ""; }
function player_quests_constants_toPrimitive(t, r) { if ("object" != player_quests_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != player_quests_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }




var constants_Views = {
  Quests: 'quests',
  Chapters: 'chapters',
  Chapter: 'chapter',
  Access: 'access'
};
var QuestStates = {
  Unavailable: 0,
  Available: 1,
  Progress: 2,
  Complete: 3
};
var MAP_STATE_TO_ICON = player_quests_constants_defineProperty(player_quests_constants_defineProperty(player_quests_constants_defineProperty(player_quests_constants_defineProperty({}, QuestStates.Available, 'icon-next'), QuestStates.Unavailable, 'icon-close-circle'), QuestStates.Progress, 'icon-clock-alarm'), QuestStates.Complete, 'icon-check-circle');
var MAP_STATE_TO_NAME = player_quests_constants_defineProperty(player_quests_constants_defineProperty(player_quests_constants_defineProperty(player_quests_constants_defineProperty({}, QuestStates.Available, 'Доступно'), QuestStates.Unavailable, 'Недоступно'), QuestStates.Progress, 'Выполняется'), QuestStates.Complete, 'Выполнено');
var QuestAccessTypes = {
  Any: -1,
  Family: 0,
  Fraction: 1,
  Vip: 2
};
var MAP_QUEST_TYPE_TO_TEXT = player_quests_constants_defineProperty(player_quests_constants_defineProperty(player_quests_constants_defineProperty(player_quests_constants_defineProperty({}, QuestAccessTypes.Any, -1), QuestAccessTypes.Family, 'Участник семьи'), QuestAccessTypes.Fraction, 'Участник фракции'), QuestAccessTypes.Vip, 'diamond vip');
var CategoryAccessTypes = {
  Family: 0,
  Fraction: 1
};
var MAP_CATEGORY_TYPE_TO_TEXT = player_quests_constants_defineProperty(player_quests_constants_defineProperty({}, CategoryAccessTypes.Family, {
  title: 'Вы не состоите в семье',
  subTitle: 'Вступите в семью, чтобы получить доступ к заданиям'
}), CategoryAccessTypes.Fraction, {
  title: 'Вы не состоите в организации',
  subTitle: 'Вступите в организацию, чтобы получить доступ к заданиям'
});
var MAP_CATEGORY_TYPE_TO_IMAGES = player_quests_constants_defineProperty(player_quests_constants_defineProperty({}, CategoryAccessTypes.Family, {
  left: family_left_namespaceObject,
  right: family_right_namespaceObject
}), CategoryAccessTypes.Fraction, {
  left: organization_left_namespaceObject,
  right: organization_right_namespaceObject
});
;// CONCATENATED MODULE: ./src/views/player-quests/components/prize/index.svelte
/* src\views\player-quests\components\prize\index.svelte generated by Svelte v3.49.0 */





function components_prize_index_svelte_add_css(target) {
	append_styles(target, "svelte-1eeri63", "@keyframes svelte-1eeri63-blinking{50%{opacity:0}}@keyframes svelte-1eeri63-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1eeri63-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1eeri63-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1eeri63-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1eeri63-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1eeri63-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1eeri63-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1eeri63-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1eeri63-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1eeri63-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1eeri63-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1eeri63-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1eeri63-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1eeri63-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.player-quests-prize.svelte-1eeri63{width:100%;height:100%;position:relative;background-color:#131516;background-image:radial-gradient(92.5% 92.5% at 50% 50%, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0) 100%);display:flex;align-items:center;justify-content:center;overflow:hidden;border-style:solid;border-color:rgba(255, 255, 255, 0.1);border-radius:calc(0.0083333333 * 100vw + 0px);border-width:calc(0.0005208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-prize.svelte-1eeri63{border-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-prize.svelte-1eeri63{border-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-prize.svelte-1eeri63{border-radius:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-prize.svelte-1eeri63{border-radius:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-prize.svelte-1eeri63{border-radius:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-prize.svelte-1eeri63{border-radius:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-prize.svelte-1eeri63{border-radius:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-prize.svelte-1eeri63{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-prize.svelte-1eeri63{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-prize.svelte-1eeri63{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-prize.svelte-1eeri63{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-prize.svelte-1eeri63{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-prize.svelte-1eeri63{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-prize.svelte-1eeri63{border-width:calc(0.0005729167 * 100vw + 0px)}}.player-quests-prize.svelte-1eeri63:after{content:\"\";position:absolute;background-color:var(--rarityColor);bottom:0;left:50%;transform:translateX(-50%);width:40%;height:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-prize.svelte-1eeri63:after{height:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-prize.svelte-1eeri63:after{height:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-prize.svelte-1eeri63:after{height:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-prize.svelte-1eeri63:after{height:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-prize.svelte-1eeri63:after{height:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-prize.svelte-1eeri63:after{height:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-prize.svelte-1eeri63:after{height:calc(0.0022916667 * 100vw + 0px)}}.player-quests-prize--mini.svelte-1eeri63{border-radius:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-prize--mini.svelte-1eeri63{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-prize--mini.svelte-1eeri63{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-prize--mini.svelte-1eeri63{border-radius:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-prize--mini.svelte-1eeri63{border-radius:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-prize--mini.svelte-1eeri63{border-radius:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-prize--mini.svelte-1eeri63{border-radius:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-prize--mini.svelte-1eeri63{border-radius:calc(0.0022916667 * 100vw + 0px)}}.player-quests-prize--mini.svelte-1eeri63:after{height:calc(0.0010416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-prize--mini.svelte-1eeri63:after{height:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-prize--mini.svelte-1eeri63:after{height:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-prize--mini.svelte-1eeri63:after{height:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-prize--mini.svelte-1eeri63:after{height:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-prize--mini.svelte-1eeri63:after{height:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-prize--mini.svelte-1eeri63:after{height:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-prize--mini.svelte-1eeri63:after{height:calc(0.0011458333 * 100vw + 0px)}}.player-quests-prize__image.svelte-1eeri63{position:absolute;height:80%;transform:translateY(-5%)}.player-quests-prize__text.svelte-1eeri63{position:absolute;width:80%;text-align:center;color:#FFFFFF;font-family:\"HeadingNowRegular\";font-size:calc(0.00625 * 100vw + 0px);bottom:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-prize__text.svelte-1eeri63{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-prize__text.svelte-1eeri63{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-prize__text.svelte-1eeri63{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-prize__text.svelte-1eeri63{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-prize__text.svelte-1eeri63{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-prize__text.svelte-1eeri63{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-prize__text.svelte-1eeri63{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-prize__text.svelte-1eeri63{bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-prize__text.svelte-1eeri63{bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-prize__text.svelte-1eeri63{bottom:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-prize__text.svelte-1eeri63{bottom:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-prize__text.svelte-1eeri63{bottom:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-prize__text.svelte-1eeri63{bottom:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-prize__text.svelte-1eeri63{bottom:calc(0.00859375 * 100vw + 0px)}}.player-quests-prize__empty.svelte-1eeri63{position:absolute;top:50%;left:50%;color:rgba(255, 255, 255, 0.5);font-family:\"HeadingNowBold\";transform:translateY(-50%) translateX(-50%);font-size:calc(0.0333333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-prize__empty.svelte-1eeri63{font-size:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-prize__empty.svelte-1eeri63{font-size:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-prize__empty.svelte-1eeri63{font-size:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-prize__empty.svelte-1eeri63{font-size:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-prize__empty.svelte-1eeri63{font-size:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-prize__empty.svelte-1eeri63{font-size:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-prize__empty.svelte-1eeri63{font-size:calc(0.0366666667 * 100vw + 0px)}}.player-quests-prize__empty--mini.svelte-1eeri63{font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-prize__empty--mini.svelte-1eeri63{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-prize__empty--mini.svelte-1eeri63{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-prize__empty--mini.svelte-1eeri63{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-prize__empty--mini.svelte-1eeri63{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-prize__empty--mini.svelte-1eeri63{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-prize__empty--mini.svelte-1eeri63{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-prize__empty--mini.svelte-1eeri63{font-size:calc(0.01375 * 100vw + 0px)}}.player-quests-prize__backlight.svelte-1eeri63{position:absolute;width:110%;height:85%;bottom:0;left:50%;border-radius:50%;opacity:0.65;transform:translateX(-50%) translateY(60%);background:var(--rarityBacklight)}");
}

// (567:4) {:else}
function components_prize_index_svelte_create_else_block(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = `${CDN_ITEMS_URL}/${/*imageSrc*/ ctx[0]}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "reward");
			attr(img, "class", "player-quests-prize__image svelte-1eeri63");
			attr(img, "draggable", "false");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*imageSrc*/ 1 && !src_url_equal(img.src, img_src_value = `${CDN_ITEMS_URL}/${/*imageSrc*/ ctx[0]}.webp`)) {
				attr(img, "src", img_src_value);
			}
		},
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (565:4) {#if isEmpty(imageSrc)}
function components_prize_index_svelte_create_if_block_1(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "?";
			attr(div, "class", "player-quests-prize__empty svelte-1eeri63");
			toggle_class(div, "player-quests-prize__empty--mini", /*smallSize*/ ctx[2]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*smallSize*/ 4) {
				toggle_class(div, "player-quests-prize__empty--mini", /*smallSize*/ ctx[2]);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (574:4) {#if !isEmpty(text)}
function components_prize_index_svelte_create_if_block(ctx) {
	let div;
	let t_value = `${/*text*/ ctx[3]} ${/*count*/ ctx[4]}` + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "player-quests-prize__text svelte-1eeri63");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*text, count*/ 24 && t_value !== (t_value = `${/*text*/ ctx[3]} ${/*count*/ ctx[4]}` + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function components_prize_index_svelte_create_fragment(ctx) {
	let div1;
	let div0;
	let div0_class_value;
	let t0;
	let show_if_1;
	let t1;
	let show_if = !(0,lodash.isEmpty)(/*text*/ ctx[3]);

	function select_block_type(ctx, dirty) {
		if (dirty & /*imageSrc*/ 1) show_if_1 = null;
		if (show_if_1 == null) show_if_1 = !!(0,lodash.isEmpty)(/*imageSrc*/ ctx[0]);
		if (show_if_1) return components_prize_index_svelte_create_if_block_1;
		return components_prize_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block0 = current_block_type(ctx);
	let if_block1 = show_if && components_prize_index_svelte_create_if_block(ctx);

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			t0 = space();
			if_block0.c();
			t1 = space();
			if (if_block1) if_block1.c();
			attr(div0, "class", div0_class_value = "player-quests-prize__backlight player-quests-prize__backlight--" + /*style*/ ctx[1] + " svelte-1eeri63");
			attr(div1, "class", "player-quests-prize svelte-1eeri63");
			set_style(div1, "--rarityColor", /*color*/ ctx[5] || 'transparent');
			set_style(div1, "--rarityBacklight", `radial-gradient(circle, ${/*color*/ ctx[5]}aa 0%, transparent 70%)` || 'transparent');
			toggle_class(div1, "player-quests-prize--mini", /*smallSize*/ ctx[2]);
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div1, t0);
			if_block0.m(div1, null);
			append(div1, t1);
			if (if_block1) if_block1.m(div1, null);
		},
		p(ctx, [dirty]) {
			if (dirty & /*style*/ 2 && div0_class_value !== (div0_class_value = "player-quests-prize__backlight player-quests-prize__backlight--" + /*style*/ ctx[1] + " svelte-1eeri63")) {
				attr(div0, "class", div0_class_value);
			}

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block0) {
				if_block0.p(ctx, dirty);
			} else {
				if_block0.d(1);
				if_block0 = current_block_type(ctx);

				if (if_block0) {
					if_block0.c();
					if_block0.m(div1, t1);
				}
			}

			if (dirty & /*text*/ 8) show_if = !(0,lodash.isEmpty)(/*text*/ ctx[3]);

			if (show_if) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = components_prize_index_svelte_create_if_block(ctx);
					if_block1.c();
					if_block1.m(div1, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty & /*color*/ 32) {
				set_style(div1, "--rarityColor", /*color*/ ctx[5] || 'transparent');
			}

			if (dirty & /*color*/ 32) {
				set_style(div1, "--rarityBacklight", `radial-gradient(circle, ${/*color*/ ctx[5]}aa 0%, transparent 70%)` || 'transparent');
			}

			if (dirty & /*smallSize*/ 4) {
				toggle_class(div1, "player-quests-prize--mini", /*smallSize*/ ctx[2]);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
			if_block0.d();
			if (if_block1) if_block1.d();
		}
	};
}

function components_prize_index_svelte_instance($$self, $$props, $$invalidate) {
	let { imageSrc = '' } = $$props;
	let { style = '' } = $$props;
	let { smallSize = false } = $$props;
	let { text = '' } = $$props;
	let { count = '' } = $$props;
	let { color } = $$props;

	$$self.$$set = $$props => {
		if ('imageSrc' in $$props) $$invalidate(0, imageSrc = $$props.imageSrc);
		if ('style' in $$props) $$invalidate(1, style = $$props.style);
		if ('smallSize' in $$props) $$invalidate(2, smallSize = $$props.smallSize);
		if ('text' in $$props) $$invalidate(3, text = $$props.text);
		if ('count' in $$props) $$invalidate(4, count = $$props.count);
		if ('color' in $$props) $$invalidate(5, color = $$props.color);
	};

	return [imageSrc, style, smallSize, text, count, color];
}

class prize_index_svelte_Prize extends SvelteComponent {
	constructor(options) {
		super();

		init(
			this,
			options,
			components_prize_index_svelte_instance,
			components_prize_index_svelte_create_fragment,
			safe_not_equal,
			{
				imageSrc: 0,
				style: 1,
				smallSize: 2,
				text: 3,
				count: 4,
				color: 5
			},
			components_prize_index_svelte_add_css
		);
	}
}

/* harmony default export */ const components_prize_index_svelte = (prize_index_svelte_Prize);
;// CONCATENATED MODULE: ./src/views/player-quests/mock.js
var CATEGORY_ACCESS_MOCK = {
  accessType: 1
};
var QUESTS_LIST_STATIC_MOCK = [{
  id: 1,
  categoryId: 1,
  title: 'Водитель автобуса',
  description: 'Какое-то длинное описание',
  stages: [{
    name: 'Задание Какое-то Задание Задание',
    total: 2
  }],
  rewards: [{
    title: 'BMW M3 G20',
    icon: 'Reward1',
    color: '#FFBA00'
  }, {
    title: 'Скин',
    icon: 'Reward6',
    color: '#FF3600'
  }, {
    title: 'Titan VIP (7 дней)',
    icon: 'Reward2',
    color: '#E500FF'
  }, {
    title: 'Все лицензии',
    icon: 'Reward3',
    color: '#6881FF'
  }, {
    title: 'Военный билет',
    icon: 'Reward4',
    color: '#6881FF'
  }],
  badges: [{
    colors: ['#FD0E42', '#AA0022'],
    text: 'BattlePass'
  }]
}, {
  id: 1,
  categoryId: 2,
  title: 'На страже порядка',
  description: 'Город с каждым днём становится всё опаснее и страшнее',
  stages: [{
    name: 'Задание',
    total: 2
  }],
  rewards: [{
    title: 'BMW M3 G20',
    icon: 'Reward1',
    color: '#FFBA00'
  }, {
    title: 'Скин',
    value: 10,
    icon: 'Reward6',
    color: '#FF3600'
  }, {
    title: 'Titan VIP (7 дней)',
    value: 10,
    icon: 'Reward2',
    color: '#E500FF'
  }, {
    title: 'Все лицензии',
    icon: 'Reward3',
    color: '#6881FF'
  }, {
    title: 'Военный билет',
    icon: 'Reward4',
    color: '#6881FF'
  }],
  badges: [{
    colors: ['#A830B3', '#5F1566'],
    text: 'Легендарное'
  }, {
    colors: ['#85B330', '#4E7010'],
    text: 'Ежедневное'
  }]
}];
var QUESTS_LIST_DYNAMIC_MOCK = [{
  id: 1,
  isAvailable: false,
  categoryId: 0,
  statusId: 2,
  accessType: -1,
  stages: [{
    id: 0,
    progress: 2
  }]
}, {
  id: 2,
  isAvailable: true,
  categoryId: 0,
  statusId: 0,
  accessType: -1,
  stages: [{
    id: 0,
    progress: 2
  }]
}];
var CATEGORY_LIST_STATIC_MOCK = [{
  id: 0,
  name: 'Текущее',
  background: ['#FD0E42', '#AA0022']
}, {
  id: 1,
  name: 'Текущее',
  background: ['', '']
}, {
  id: 2,
  name: 'Текущее',
  background: ['', '']
}, {
  id: 3,
  name: 'Сюжетные',
  background: ['', '']
}];
var CATEGORY_LIST_DYNAMIC_MOCK = [{
  id: 0,
  accessType: -1
}];
var CATEGORY_BONUS_STATIC_MOCK = {
  categoryId: 0,
  progressTotal: 300,
  prizes: [{
    id: 1,
    title: 'Наркотический гриб (24 шт.) (24 шт.)',
    icon: '12',
    color: '#FFFFFF',
    max_progress: 50
  }, {
    id: 2,
    title: 'Рандомный ларец (-1 шт.) (-1 шт.)',
    icon: '1',
    color: '#FFFFFF',
    max_progress: 150
  }, {
    id: 3,
    title: 'Рандомный ларец (-1 шт.) (-1 шт.)',
    icon: '1',
    color: '#FFFFFF',
    max_progress: 150
  }]
};
var CATEGORY_BONUS_DYNAMIC_MOCK = {
  progressCurrent: 150,
  prizes: [{
    id: 1,
    received: 1
  }, {
    id: 2,
    received: 0
  }, {
    id: 3,
    received: 0
  }]
};
var CHAPTERS_STATIC_MOCK = [{
  id: 1,
  icon: 'image1',
  title: 'Первая недвижимость'
}, {
  id: 2,
  icon: 'image2',
  title: 'Моя первая машина'
}, {
  id: 3,
  icon: 'image2',
  title: 'Моя первая машина'
}];
var CHAPTERS_DYANMIC_MOCK = [{
  id: 1,
  progress: 100,
  accessType: -1
}, {
  id: 2,
  progress: 50,
  accessType: -1
}, {
  id: 3,
  progress: 0,
  accessType: 2
}];
var CHAPTER_QUEST_LIST_STATIC_MOCK = [{
  id: 1,
  chapterId: 1,
  title: 'Моя первая машина',
  description: 'Это не просто рутинные поездки по маршруту, а полноценная профессия, требующая ответственности, выдержки и умения находить общий язык с людьми. Каждый день ты садишься за руль, проверяешь техническое состояние автобуса и отправляешься в путь, соблюдая расписание и правила дорожного движения. От твоей внимательности зависит безопасность пассажиров — нужно следить за дорогой, погодой и поведением других водителей, чтобы избежать аварий и штрафов.',
  stages: [{
    id: 0,
    title: 'Завершите теорию и практическую часть в автошколе',
    total: 10
  }, {
    id: 1,
    title: 'Завершите теорию и практическую часть в автошколе',
    total: 10
  }, {
    id: 2,
    title: 'Завершите теорию и практическую часть в автошколе',
    total: 10
  }],
  rewards: [{
    title: 'title',
    icon: "1001",
    color: '#85B330'
  }, {
    title: 'title',
    icon: "1001",
    color: '#85B330'
  }, {
    title: 'title',
    icon: "1001",
    color: '#85B330'
  }]
}];
var CHAPTER_QUEST_LIST_DYNAMIC_MOCK = [{
  id: 1,
  chapterId: 1,
  progress: 35,
  isAvailble: 1,
  stages: [{
    current: 10,
    isAvailble: 0
  }, {
    current: 10,
    isAvailble: 0
  }, {
    current: 10,
    isAvailble: 0
  }]
}];
var ACTUAL_QUESTS_MOCK = [{
  id: 0,
  categoryId: 0
}, {
  id: 0,
  categoryId: 1
}, {
  id: 3,
  categoryId: 1
}, {
  id: 1,
  categoryId: 2
}];
;// CONCATENATED MODULE: ./src/views/player-quests/store.js
function player_quests_store_typeof(o) { "@babel/helpers - typeof"; return player_quests_store_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, player_quests_store_typeof(o); }
function player_quests_store_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function player_quests_store_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? player_quests_store_ownKeys(Object(t), !0).forEach(function (r) { player_quests_store_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : player_quests_store_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function player_quests_store_defineProperty(e, r, t) { return (r = player_quests_store_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function player_quests_store_toPropertyKey(t) { var i = player_quests_store_toPrimitive(t, "string"); return "symbol" == player_quests_store_typeof(i) ? i : i + ""; }
function player_quests_store_toPrimitive(t, r) { if ("object" != player_quests_store_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != player_quests_store_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






var player_quests_store_mainInfo = writable({});
var questsList = writable([]);
var categoryBonuses = writable({});
var categoryAccessType = writable('');
var selectedQuest = writable({});
var selectedCategory = writable({});
var store_selectedView = writable();
var chapters = writable([]);
var store_categories = writable([]);
var chapter = writable({});
var accessState = writable({});
var questsCollection = writable([]);
var apiData = writable([]);
var store_questsProgress = writable([]);
var actualCategoryQyuests = writable([]);
var categoriesAccess = writable([]);
var categoryBonusProgress = writable([]);
var selectedCategoryUpdate = writable('');
var store_initializeMainInfo = function initializeMainInfo(dto) {
  player_quests_store_mainInfo.set(dto);
};
registerEvent('event.questsApp.initializeMainInfo', store_initializeMainInfo);
var initializeChapters = function initializeChapters(dto) {
  chapters.set(dto);
};
registerEvent('event.questsApp.initializeChapters', initializeChapters);
var store_updateSelectedScreen = function updateSelectedScreen(value) {
  selectedCategoryUpdate.set(value);
};
registerEvent('event.questsApp.updateSelectedScreen', store_updateSelectedScreen);
var initializeChaptersProgress = function initializeChaptersProgress(dto) {
  var chaptersCache = get_store_value(chapters);
  chaptersCache = chaptersCache.map(function (item) {
    var progressItem = dto.find(function (itemFind) {
      return itemFind.id === item.id;
    });
    var result = item;
    var stagesTemp = item.stages || [];
    stagesTemp = stagesTemp.map(function (itemStage) {
      var stageProgress = progressItem.stages.find(function (itemFind) {
        return itemFind.id === itemStage.id;
      });
      var stageResult = itemStage;
      if (!(0,lodash.isNil)(stageProgress)) {
        stageResult = player_quests_store_objectSpread(player_quests_store_objectSpread({}, itemStage), {}, {
          stageProgress: stageProgress
        });
      }
      return stageResult;
    });
    if (!(0,lodash.isNil)(progressItem)) {
      result = player_quests_store_objectSpread(player_quests_store_objectSpread({}, item), {}, {
        progressItem: progressItem,
        stages: stagesTemp
      });
    }
    return result;
  });
  chapters.set(chaptersCache);
  store_selectedView.set(constants_Views.Chapters);
};
registerEvent('event.questsApp.initializeChaptersProgress', initializeChaptersProgress);
var initializeQuestProgress = function initializeQuestProgress(dto) {
  store_questsProgress.set(dto);
};
registerEvent('event.questsApp.initializeQuestProgress', initializeQuestProgress);
var initializeBonusProgress = function initializeBonusProgress(dto) {
  categoryBonusProgress.set(dto);
};
registerEvent('event.questsApp.initializeBonusProgress', initializeBonusProgress);
var initializeCategoryAcess = function initializeCategoryAcess(dto) {
  categoryAccessType.set(dto);
};
registerEvent('event.questsApp.initializeCategoryAcess', initializeCategoryAcess);
var initializeCategoriesAccess = function initializeCategoriesAccess(dto) {
  categoriesAccess.set(dto);
};
registerEvent('event.questsApp.initializeCategoriesAccess', initializeCategoriesAccess);
var updateBonusProgress = function updateBonusProgress(dto) {
  var selectedCategoryId = get_store_value(selectedCategory).id;
  var bonusesCache = get_store_value(categoryBonuses);
  var bonusCache = bonusesCache[selectedCategoryId];
  bonusCache.progressCurrent = (0,lodash.isNil)(dto.progressCurrent) ? bonusCache.progressCurrent : dto.progressCurrent;
  bonusCache.prizes = bonusCache.prizes.map(function (prize, index) {
    var result = {};
    var prizeTemp = prize;
    if (!(0,lodash.isNil)(dto.prizes)) {
      var updateData = dto.prizes.find(function (findItem) {
        return prize.id === findItem.id;
      });
      prizeTemp = player_quests_store_objectSpread(player_quests_store_objectSpread({}, prizeTemp), updateData);
    }
    var stateText = '';
    var progressPercents = 0;
    if (prizeTemp.received) {
      stateText = 'ПОЛУЧЕН';
      progressPercents = 100;
    } else if (bonusCache.progressCurrent >= prizeTemp.max_progress && !prizeTemp.received) {
      progressPercents = 100;
      stateText = 'ЗАБРАТЬ';
    } else {
      var previousMaxValue = 0;
      if (index > 0) {
        previousMaxValue = bonusCache.prizes[index - 1].max_progress;
      }
      var certainPrizeProgress = bonusCache.progressCurrent - previousMaxValue;
      var certainPrizeTotal = prizeTemp.max_progress - previousMaxValue;
      progressPercents = countPercents(certainPrizeProgress, certainPrizeTotal);
      stateText = "".concat(prizeTemp.max_progress, " KP");
    }
    result = player_quests_store_objectSpread(player_quests_store_objectSpread({}, prizeTemp), {}, {
      progressPercents: progressPercents > 0 ? progressPercents : 0,
      stateText: stateText
    });
    return result;
  });
  bonusesCache[selectedCategoryId] = bonusCache;
  categoryBonuses.set(bonusesCache);
};
registerEvent('event.questsApp.updateBonusProgress', updateBonusProgress);
var updateQuestProgress = function updateQuestProgress(dto) {
  var questsCache = get_store_value(questsList);
  questsCache = questsCache.map(function (quest) {
    var questTemp = quest;
    var stagesUpdate = questTemp.stages;
    var update = dto.find(function (findItem) {
      return findItem.id === questTemp.id && findItem.categoryId === questTemp.categoryId;
    });
    if (!(0,lodash.isNil)(update) && !(0,lodash.isNil)(update.stages)) {
      stagesUpdate = questTemp.stages.map(function (stage) {
        var stageUpdate = update.stages.find(function (findItem) {
          return findItem.id === stage.id;
        });
        return (0,lodash.isNil)(stageUpdate) ? stage : player_quests_store_objectSpread(player_quests_store_objectSpread({}, stage), stageUpdate);
      });
    }
    return (0,lodash.isNil)(update) ? questTemp : player_quests_store_objectSpread(player_quests_store_objectSpread(player_quests_store_objectSpread({}, questTemp), update), {}, {
      stages: stagesUpdate
    });
  });
  questsCache = questsCache.sort(function (a, b) {
    return b.statusId - a.statusId;
  });
  questsList.set(questsCache);
};
registerEvent('event.questsApp.updateQuestProgress', updateQuestProgress);
;// CONCATENATED MODULE: ./src/views/player-quests/img/icons/kp.svg
const kp_namespaceObject = __webpack_require__.p + "assets/8f2fdd5d5dd339945011.svg";
;// CONCATENATED MODULE: ./src/views/player-quests/img/icons/crown.svg
const icons_crown_namespaceObject = __webpack_require__.p + "assets/b2fa651ea2f10f77c774.svg";
;// CONCATENATED MODULE: ./src/views/player-quests/components/main/index.svelte
/* src\views\player-quests\components\main\index.svelte generated by Svelte v3.49.0 */
















function player_quests_components_main_index_svelte_add_css(target) {
	append_styles(target, "svelte-sfdbme", "@keyframes svelte-sfdbme-blinking{50%{opacity:0}}@keyframes svelte-sfdbme-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-sfdbme-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-sfdbme-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-sfdbme-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-sfdbme-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-sfdbme-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-sfdbme-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-sfdbme-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-sfdbme-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-sfdbme-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-sfdbme-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-sfdbme-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-sfdbme-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-sfdbme-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.player-quests-main.svelte-sfdbme.svelte-sfdbme{position:absolute;display:flex;align-items:flex-start;justify-content:center;width:100%;height:100%;gap:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0286458333 * 100vw + 0px)}}.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme{height:100%;top:0;left:0;bottom:0;overflow:auto;min-width:calc(0.2604166667 * 100vw + 0px);padding-right:calc(0.0078125 * 100vw + 0px);overflow:auto;overflow-x:hidden}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme{min-width:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme{min-width:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme{min-width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme{min-width:calc(0.2864583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme{min-width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme{min-width:calc(0.234375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme{min-width:calc(0.2864583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme{padding-right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme{padding-right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme{padding-right:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme{padding-right:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme{padding-right:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme{padding-right:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme{padding-right:calc(0.00859375 * 100vw + 0px)}}.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__sidebar.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}.player-quests-main__quest-list.svelte-sfdbme.svelte-sfdbme{position:relative;overflow:hidden;border-radius:calc(0.0078125 * 100vw + 0px);width:calc(0.2604166667 * 100vw + 0px);min-height:calc(0.4583333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__quest-list.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__quest-list.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__quest-list.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__quest-list.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__quest-list.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__quest-list.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__quest-list.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__quest-list.svelte-sfdbme.svelte-sfdbme{width:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__quest-list.svelte-sfdbme.svelte-sfdbme{width:calc(0.2604166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__quest-list.svelte-sfdbme.svelte-sfdbme{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__quest-list.svelte-sfdbme.svelte-sfdbme{width:calc(0.2864583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__quest-list.svelte-sfdbme.svelte-sfdbme{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__quest-list.svelte-sfdbme.svelte-sfdbme{width:calc(0.234375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__quest-list.svelte-sfdbme.svelte-sfdbme{width:calc(0.2864583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__quest-list.svelte-sfdbme.svelte-sfdbme{min-height:calc(0.4583333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__quest-list.svelte-sfdbme.svelte-sfdbme{min-height:calc(0.4583333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__quest-list.svelte-sfdbme.svelte-sfdbme{min-height:calc(0.3529166667 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__quest-list.svelte-sfdbme.svelte-sfdbme{min-height:calc(0.5041666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__quest-list.svelte-sfdbme.svelte-sfdbme{min-height:calc(0.3208333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__quest-list.svelte-sfdbme.svelte-sfdbme{min-height:calc(0.4125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__quest-list.svelte-sfdbme.svelte-sfdbme{min-height:calc(0.5041666667 * 100vw + 0px)}}.player-quests-main__quest-list.svelte-sfdbme.svelte-sfdbme:before{height:100%;position:absolute;top:0;left:0;right:0;bottom:0;content:\"\";background-color:#131516;border-radius:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__quest-list.svelte-sfdbme.svelte-sfdbme:before{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__quest-list.svelte-sfdbme.svelte-sfdbme:before{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__quest-list.svelte-sfdbme.svelte-sfdbme:before{border-radius:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__quest-list.svelte-sfdbme.svelte-sfdbme:before{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__quest-list.svelte-sfdbme.svelte-sfdbme:before{border-radius:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__quest-list.svelte-sfdbme.svelte-sfdbme:before{border-radius:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__quest-list.svelte-sfdbme.svelte-sfdbme:before{border-radius:calc(0.00859375 * 100vw + 0px)}}.player-quests-main__quest.svelte-sfdbme.svelte-sfdbme{position:relative;display:flex;align-items:center;justify-content:space-between;overflow:hidden;padding-left:calc(0.0130208333 * 100vw + 0px);padding-right:calc(0.0130208333 * 100vw + 0px);height:calc(0.0651041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__quest.svelte-sfdbme.svelte-sfdbme{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__quest.svelte-sfdbme.svelte-sfdbme{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__quest.svelte-sfdbme.svelte-sfdbme{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__quest.svelte-sfdbme.svelte-sfdbme{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__quest.svelte-sfdbme.svelte-sfdbme{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__quest.svelte-sfdbme.svelte-sfdbme{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__quest.svelte-sfdbme.svelte-sfdbme{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__quest.svelte-sfdbme.svelte-sfdbme{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__quest.svelte-sfdbme.svelte-sfdbme{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__quest.svelte-sfdbme.svelte-sfdbme{padding-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__quest.svelte-sfdbme.svelte-sfdbme{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__quest.svelte-sfdbme.svelte-sfdbme{padding-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__quest.svelte-sfdbme.svelte-sfdbme{padding-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__quest.svelte-sfdbme.svelte-sfdbme{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__quest.svelte-sfdbme.svelte-sfdbme{height:calc(0.0651041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__quest.svelte-sfdbme.svelte-sfdbme{height:calc(0.0651041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__quest.svelte-sfdbme.svelte-sfdbme{height:calc(0.0501302083 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__quest.svelte-sfdbme.svelte-sfdbme{height:calc(0.0716145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__quest.svelte-sfdbme.svelte-sfdbme{height:calc(0.0455729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__quest.svelte-sfdbme.svelte-sfdbme{height:calc(0.05859375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__quest.svelte-sfdbme.svelte-sfdbme{height:calc(0.0716145833 * 100vw + 0px)}}.player-quests-main__quest.svelte-sfdbme.svelte-sfdbme:hover{background-color:rgba(255, 255, 255, 0.1)}.player-quests-main__quest--disabled.svelte-sfdbme.svelte-sfdbme:after{content:\"\";position:absolute;top:0;left:0;right:0;bottom:0;background-color:rgba(0, 0, 0, 0.25)}.player-quests-main__quest--disabled.svelte-sfdbme.svelte-sfdbme:hover{background-color:#131516}.player-quests-main__quest--active.svelte-sfdbme.svelte-sfdbme{background-color:rgba(255, 255, 255, 0.1)}.player-quests-main__quest--active.svelte-sfdbme.svelte-sfdbme:hover{background-color:rgba(255, 255, 255, 0.1)}.player-quests-main__quest-info.svelte-sfdbme.svelte-sfdbme{display:flex;flex-direction:column;justify-content:space-between;min-width:calc(0.1302083333 * 100vw + 0px);height:calc(0.0416666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__quest-info.svelte-sfdbme.svelte-sfdbme{min-width:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__quest-info.svelte-sfdbme.svelte-sfdbme{min-width:calc(0.1302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__quest-info.svelte-sfdbme.svelte-sfdbme{min-width:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__quest-info.svelte-sfdbme.svelte-sfdbme{min-width:calc(0.1432291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__quest-info.svelte-sfdbme.svelte-sfdbme{min-width:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__quest-info.svelte-sfdbme.svelte-sfdbme{min-width:calc(0.1171875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__quest-info.svelte-sfdbme.svelte-sfdbme{min-width:calc(0.1432291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__quest-info.svelte-sfdbme.svelte-sfdbme{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__quest-info.svelte-sfdbme.svelte-sfdbme{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__quest-info.svelte-sfdbme.svelte-sfdbme{height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__quest-info.svelte-sfdbme.svelte-sfdbme{height:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__quest-info.svelte-sfdbme.svelte-sfdbme{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__quest-info.svelte-sfdbme.svelte-sfdbme{height:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__quest-info.svelte-sfdbme.svelte-sfdbme{height:calc(0.0458333333 * 100vw + 0px)}}.player-quests-main__quest-title.svelte-sfdbme.svelte-sfdbme{color:#FFFFFF;font-family:\"HeadingNowBold\";overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__quest-title.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__quest-title.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__quest-title.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__quest-title.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__quest-title.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__quest-title.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__quest-title.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0103125 * 100vw + 0px)}}.player-quests-main__quest-rewards.svelte-sfdbme.svelte-sfdbme{display:flex;gap:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__quest-rewards.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__quest-rewards.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__quest-rewards.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__quest-rewards.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__quest-rewards.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__quest-rewards.svelte-sfdbme.svelte-sfdbme{gap:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__quest-rewards.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0143229167 * 100vw + 0px)}}.player-quests-main__quest-rewards.svelte-sfdbme.svelte-sfdbme{display:flex;align-items:stretch;gap:calc(0.0041666667 * 100vw + 0px);height:calc(0.0208333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__quest-rewards.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__quest-rewards.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__quest-rewards.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__quest-rewards.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__quest-rewards.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__quest-rewards.svelte-sfdbme.svelte-sfdbme{gap:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__quest-rewards.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__quest-rewards.svelte-sfdbme.svelte-sfdbme{height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__quest-rewards.svelte-sfdbme.svelte-sfdbme{height:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__quest-rewards.svelte-sfdbme.svelte-sfdbme{height:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__quest-rewards.svelte-sfdbme.svelte-sfdbme{height:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__quest-rewards.svelte-sfdbme.svelte-sfdbme{height:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__quest-rewards.svelte-sfdbme.svelte-sfdbme{height:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__quest-rewards.svelte-sfdbme.svelte-sfdbme{height:calc(0.0229166667 * 100vw + 0px)}}.player-quests-main__quest-reward-preview.svelte-sfdbme.svelte-sfdbme{display:flex;align-items:center;min-width:calc(0.0208333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__quest-reward-preview.svelte-sfdbme.svelte-sfdbme{min-width:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__quest-reward-preview.svelte-sfdbme.svelte-sfdbme{min-width:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__quest-reward-preview.svelte-sfdbme.svelte-sfdbme{min-width:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__quest-reward-preview.svelte-sfdbme.svelte-sfdbme{min-width:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__quest-reward-preview.svelte-sfdbme.svelte-sfdbme{min-width:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__quest-reward-preview.svelte-sfdbme.svelte-sfdbme{min-width:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__quest-reward-preview.svelte-sfdbme.svelte-sfdbme{min-width:calc(0.0229166667 * 100vw + 0px)}}.player-quests-main__quest-state-wrapper.svelte-sfdbme.svelte-sfdbme{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;max-width:calc(0.1119791667 * 100vw + 0px);height:calc(0.0390625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__quest-state-wrapper.svelte-sfdbme.svelte-sfdbme{max-width:calc(0.1119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__quest-state-wrapper.svelte-sfdbme.svelte-sfdbme{max-width:calc(0.1119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__quest-state-wrapper.svelte-sfdbme.svelte-sfdbme{max-width:calc(0.0862239583 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__quest-state-wrapper.svelte-sfdbme.svelte-sfdbme{max-width:calc(0.1231770833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__quest-state-wrapper.svelte-sfdbme.svelte-sfdbme{max-width:calc(0.0783854167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__quest-state-wrapper.svelte-sfdbme.svelte-sfdbme{max-width:calc(0.10078125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__quest-state-wrapper.svelte-sfdbme.svelte-sfdbme{max-width:calc(0.1231770833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__quest-state-wrapper.svelte-sfdbme.svelte-sfdbme{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__quest-state-wrapper.svelte-sfdbme.svelte-sfdbme{height:calc(0.0390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__quest-state-wrapper.svelte-sfdbme.svelte-sfdbme{height:calc(0.030078125 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__quest-state-wrapper.svelte-sfdbme.svelte-sfdbme{height:calc(0.04296875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__quest-state-wrapper.svelte-sfdbme.svelte-sfdbme{height:calc(0.02734375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__quest-state-wrapper.svelte-sfdbme.svelte-sfdbme{height:calc(0.03515625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__quest-state-wrapper.svelte-sfdbme.svelte-sfdbme{height:calc(0.04296875 * 100vw + 0px)}}.player-quests-main__badges.svelte-sfdbme.svelte-sfdbme,.player-quests-main__quest-badges.svelte-sfdbme.svelte-sfdbme{display:flex;gap:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__badges.svelte-sfdbme.svelte-sfdbme,.player-quests-main__quest-badges.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__badges.svelte-sfdbme.svelte-sfdbme,.player-quests-main__quest-badges.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__badges.svelte-sfdbme.svelte-sfdbme,.player-quests-main__quest-badges.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__badges.svelte-sfdbme.svelte-sfdbme,.player-quests-main__quest-badges.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__badges.svelte-sfdbme.svelte-sfdbme,.player-quests-main__quest-badges.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__badges.svelte-sfdbme.svelte-sfdbme,.player-quests-main__quest-badges.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__badges.svelte-sfdbme.svelte-sfdbme,.player-quests-main__quest-badges.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0057291667 * 100vw + 0px)}}.player-quests-main__badge.svelte-sfdbme.svelte-sfdbme,.player-quests-main__quest-badge.svelte-sfdbme.svelte-sfdbme{display:flex;align-items:center;justify-content:center;background-image:var(--badgeGradient);padding:calc(0.0052083333 * 100vw + 0px);border-radius:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__badge.svelte-sfdbme.svelte-sfdbme,.player-quests-main__quest-badge.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__badge.svelte-sfdbme.svelte-sfdbme,.player-quests-main__quest-badge.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__badge.svelte-sfdbme.svelte-sfdbme,.player-quests-main__quest-badge.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__badge.svelte-sfdbme.svelte-sfdbme,.player-quests-main__quest-badge.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__badge.svelte-sfdbme.svelte-sfdbme,.player-quests-main__quest-badge.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__badge.svelte-sfdbme.svelte-sfdbme,.player-quests-main__quest-badge.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__badge.svelte-sfdbme.svelte-sfdbme,.player-quests-main__quest-badge.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__badge.svelte-sfdbme.svelte-sfdbme,.player-quests-main__quest-badge.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__badge.svelte-sfdbme.svelte-sfdbme,.player-quests-main__quest-badge.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__badge.svelte-sfdbme.svelte-sfdbme,.player-quests-main__quest-badge.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__badge.svelte-sfdbme.svelte-sfdbme,.player-quests-main__quest-badge.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__badge.svelte-sfdbme.svelte-sfdbme,.player-quests-main__quest-badge.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__badge.svelte-sfdbme.svelte-sfdbme,.player-quests-main__quest-badge.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__badge.svelte-sfdbme.svelte-sfdbme,.player-quests-main__quest-badge.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0045833333 * 100vw + 0px)}}.player-quests-main__badge-text.svelte-sfdbme.svelte-sfdbme,.player-quests-main__quest-badge-text.svelte-sfdbme.svelte-sfdbme{color:#FFFFFF;font-family:\"HeadingNowRegular\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__badge-text.svelte-sfdbme.svelte-sfdbme,.player-quests-main__quest-badge-text.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__badge-text.svelte-sfdbme.svelte-sfdbme,.player-quests-main__quest-badge-text.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__badge-text.svelte-sfdbme.svelte-sfdbme,.player-quests-main__quest-badge-text.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__badge-text.svelte-sfdbme.svelte-sfdbme,.player-quests-main__quest-badge-text.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__badge-text.svelte-sfdbme.svelte-sfdbme,.player-quests-main__quest-badge-text.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__badge-text.svelte-sfdbme.svelte-sfdbme,.player-quests-main__quest-badge-text.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__badge-text.svelte-sfdbme.svelte-sfdbme,.player-quests-main__quest-badge-text.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.006875 * 100vw + 0px)}}.player-quests-main__quest-state.svelte-sfdbme.svelte-sfdbme{display:flex;align-items:center;color:rgba(255, 255, 255, 0.5);gap:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__quest-state.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__quest-state.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__quest-state.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__quest-state.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__quest-state.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__quest-state.svelte-sfdbme.svelte-sfdbme{gap:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__quest-state.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0028645833 * 100vw + 0px)}}.player-quests-main__quest-state-text.svelte-sfdbme.svelte-sfdbme{color:inherit;font-family:\"HeadingNowRegular\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__quest-state-text.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__quest-state-text.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__quest-state-text.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__quest-state-text.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__quest-state-text.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__quest-state-text.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__quest-state-text.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.006875 * 100vw + 0px)}}.player-quests-main__quest-state-icon.svelte-sfdbme.svelte-sfdbme{color:inherit;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__quest-state-icon.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__quest-state-icon.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__quest-state-icon.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__quest-state-icon.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__quest-state-icon.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__quest-state-icon.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__quest-state-icon.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0103125 * 100vw + 0px)}}.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{top:0;right:0;background-color:#131516;display:flex;align-items:center;justify-content:space-between;width:calc(0.5729166667 * 100vw + 0px);height:calc(0.0885416667 * 100vw + 0px);border-radius:calc(0.0078125 * 100vw + 0px);padding:calc(0.0130208333 * 100vw + 0px);margin-bottom:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{width:calc(0.5729166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{width:calc(0.5729166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{width:calc(0.4411458333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{width:calc(0.6302083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{width:calc(0.4010416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{width:calc(0.515625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{width:calc(0.6302083333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{height:calc(0.0885416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{height:calc(0.0885416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{height:calc(0.0681770833 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{height:calc(0.0973958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{height:calc(0.0619791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{height:calc(0.0796875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{height:calc(0.0973958333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{padding:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{margin-bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{margin-bottom:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{margin-bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{margin-bottom:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__header.svelte-sfdbme.svelte-sfdbme{margin-bottom:calc(0.0286458333 * 100vw + 0px)}}.player-quests-main__header-title.svelte-sfdbme.svelte-sfdbme{color:#FFFFFF;font-family:\"HeadingNowBold\";font-size:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__header-title.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__header-title.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__header-title.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__header-title.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__header-title.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__header-title.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__header-title.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0275 * 100vw + 0px)}}.player-quests-main__header-title.svelte-sfdbme.svelte-sfdbme{color:#FFFFFF;font-family:\"HeadingNowBold\";font-size:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__header-title.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__header-title.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__header-title.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__header-title.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__header-title.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__header-title.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__header-title.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0275 * 100vw + 0px)}}.player-quests-main__header-progress.svelte-sfdbme.svelte-sfdbme{display:flex;align-items:center;border-style:solid;border-color:rgba(255, 255, 255, 0.1);font-family:\"HeadingNowRegular\";width:fit-content;border-radius:calc(0.0041666667 * 100vw + 0px);border-width:calc(0.0005208333 * 100vw + 0px);gap:calc(0.0052083333 * 100vw + 0px);padding:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__header-progress.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__header-progress.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__header-progress.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__header-progress.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__header-progress.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__header-progress.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__header-progress.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__header-progress.svelte-sfdbme.svelte-sfdbme{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__header-progress.svelte-sfdbme.svelte-sfdbme{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__header-progress.svelte-sfdbme.svelte-sfdbme{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__header-progress.svelte-sfdbme.svelte-sfdbme{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__header-progress.svelte-sfdbme.svelte-sfdbme{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__header-progress.svelte-sfdbme.svelte-sfdbme{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__header-progress.svelte-sfdbme.svelte-sfdbme{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__header-progress.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__header-progress.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__header-progress.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__header-progress.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__header-progress.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__header-progress.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__header-progress.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__header-progress.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__header-progress.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__header-progress.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__header-progress.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__header-progress.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__header-progress.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__header-progress.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0057291667 * 100vw + 0px)}}.player-quests-main__header-left.svelte-sfdbme.svelte-sfdbme{display:flex;flex-direction:column;gap:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__header-left.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__header-left.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__header-left.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__header-left.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__header-left.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__header-left.svelte-sfdbme.svelte-sfdbme{gap:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__header-left.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0028645833 * 100vw + 0px)}}.player-quests-main__header-right.svelte-sfdbme.svelte-sfdbme{display:flex;flex-direction:column;gap:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__header-right.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__header-right.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__header-right.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__header-right.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__header-right.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__header-right.svelte-sfdbme.svelte-sfdbme{gap:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__header-right.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0143229167 * 100vw + 0px)}}.player-quests-main__header-progress-caption.svelte-sfdbme.svelte-sfdbme{color:rgba(255, 255, 255, 0.5);font-family:\"HeadingNowRegular\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__header-progress-caption.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__header-progress-caption.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__header-progress-caption.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__header-progress-caption.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__header-progress-caption.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__header-progress-caption.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__header-progress-caption.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.006875 * 100vw + 0px)}}.player-quests-main__header-progress-value.svelte-sfdbme.svelte-sfdbme{color:#FFFFFF;font-family:\"HeadingNowBold\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__header-progress-value.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__header-progress-value.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__header-progress-value.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__header-progress-value.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__header-progress-value.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__header-progress-value.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__header-progress-value.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.006875 * 100vw + 0px)}}.player-quests-main__header-progress-coin.svelte-sfdbme.svelte-sfdbme{height:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__header-progress-coin.svelte-sfdbme.svelte-sfdbme{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__header-progress-coin.svelte-sfdbme.svelte-sfdbme{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__header-progress-coin.svelte-sfdbme.svelte-sfdbme{height:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__header-progress-coin.svelte-sfdbme.svelte-sfdbme{height:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__header-progress-coin.svelte-sfdbme.svelte-sfdbme{height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__header-progress-coin.svelte-sfdbme.svelte-sfdbme{height:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__header-progress-coin.svelte-sfdbme.svelte-sfdbme{height:calc(0.0103125 * 100vw + 0px)}}.player-quests-main__info.svelte-sfdbme.svelte-sfdbme{display:flex;align-items:center;gap:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__info.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__info.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__info.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__info.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__info.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__info.svelte-sfdbme.svelte-sfdbme{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__info.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0114583333 * 100vw + 0px)}}.player-quests-main__header-prizes.svelte-sfdbme.svelte-sfdbme{display:flex;gap:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__header-prizes.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__header-prizes.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__header-prizes.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__header-prizes.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__header-prizes.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__header-prizes.svelte-sfdbme.svelte-sfdbme{gap:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__header-prizes.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0143229167 * 100vw + 0px)}}.player-quests-main__header-prize.svelte-sfdbme.svelte-sfdbme{position:relative;width:calc(0.046875 * 100vw + 0px);height:calc(0.046875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__header-prize.svelte-sfdbme.svelte-sfdbme{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__header-prize.svelte-sfdbme.svelte-sfdbme{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__header-prize.svelte-sfdbme.svelte-sfdbme{width:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__header-prize.svelte-sfdbme.svelte-sfdbme{width:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__header-prize.svelte-sfdbme.svelte-sfdbme{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__header-prize.svelte-sfdbme.svelte-sfdbme{width:calc(0.0421875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__header-prize.svelte-sfdbme.svelte-sfdbme{width:calc(0.0515625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__header-prize.svelte-sfdbme.svelte-sfdbme{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__header-prize.svelte-sfdbme.svelte-sfdbme{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__header-prize.svelte-sfdbme.svelte-sfdbme{height:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__header-prize.svelte-sfdbme.svelte-sfdbme{height:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__header-prize.svelte-sfdbme.svelte-sfdbme{height:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__header-prize.svelte-sfdbme.svelte-sfdbme{height:calc(0.0421875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__header-prize.svelte-sfdbme.svelte-sfdbme{height:calc(0.0515625 * 100vw + 0px)}}.player-quests-main__header-prize.svelte-sfdbme:hover .player-quests-main__header-prize-tooltip.svelte-sfdbme{display:block}.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme{display:none;position:absolute;top:0;left:50%;transform:translateX(-50%) translateY(-100%);background-color:#FFFFFF;font-family:\"HeadingNowBold\";white-space:pre;font-size:calc(0.00625 * 100vw + 0px);padding:calc(0.0052083333 * 100vw + 0px);border-radius:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0045833333 * 100vw + 0px)}}.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme:before,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme:before{content:\"\";position:absolute;background-color:#FFFFFF;left:50%;bottom:0;transform:translateX(-50%) translateY(40%) rotate(45deg);border-radius:calc(0.0020833333 * 100vw + 0px);width:calc(0.0072916667 * 100vw + 0px);height:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme:before,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme:before{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme:before,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme:before{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme:before,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme:before{border-radius:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme:before,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme:before{border-radius:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme:before,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme:before{border-radius:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme:before,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme:before{border-radius:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme:before,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme:before{border-radius:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme:before,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme:before{width:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme:before,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme:before{width:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme:before,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme:before{width:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme:before,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme:before{width:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme:before,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme:before{width:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme:before,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme:before{width:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme:before,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme:before{width:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme:before,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme:before{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme:before,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme:before{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme:before,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme:before{height:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme:before,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme:before{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme:before,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme:before{height:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme:before,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme:before{height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__reward-tooltip.svelte-sfdbme.svelte-sfdbme:before,.player-quests-main__header-prize-tooltip.svelte-sfdbme.svelte-sfdbme:before{height:calc(0.0080208333 * 100vw + 0px)}}.player-quests-main__header-prizes-progress-bar.svelte-sfdbme.svelte-sfdbme{display:flex;overflow:hidden;gap:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__header-prizes-progress-bar.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__header-prizes-progress-bar.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__header-prizes-progress-bar.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__header-prizes-progress-bar.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__header-prizes-progress-bar.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__header-prizes-progress-bar.svelte-sfdbme.svelte-sfdbme{gap:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__header-prizes-progress-bar.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0143229167 * 100vw + 0px)}}.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{position:relative;display:flex;align-items:center;justify-content:center;background-color:#95FF00;color:#111111;font-family:\"HeadingNowBold\";gap:calc(0.0130208333 * 100vw + 0px);border-radius:calc(0.0041666667 * 100vw + 0px);font-size:calc(0.00625 * 100vw + 0px);width:calc(0.046875 * 100vw + 0px);height:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{gap:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{width:calc(0.046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{width:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{width:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{width:calc(0.0421875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{width:calc(0.0515625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{height:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{height:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{height:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{height:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme{height:calc(0.0143229167 * 100vw + 0px)}}.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme:before{content:\"\";position:absolute;top:50%;left:0;transform:translateX(-100%) translateY(-50%);background-color:#95FF00;width:calc(0.0130208333 * 100vw + 0px);height:calc(0.0010416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme:before{width:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme:before{width:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme:before{width:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme:before{width:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme:before{width:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme:before{width:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme:before{width:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme:before{height:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme:before{height:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme:before{height:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme:before{height:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme:before{height:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme:before{height:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__header-prize-progress-item.svelte-sfdbme.svelte-sfdbme:before{height:calc(0.0011458333 * 100vw + 0px)}}.player-quests-main__header-prize-progress-item--unreached.svelte-sfdbme.svelte-sfdbme{color:#FFFFFF;background-color:rgba(19, 21, 22, 0.95)}.player-quests-main__header-prize-progress-item--unreached.svelte-sfdbme.svelte-sfdbme:before{background-color:rgba(122, 243, 36, 0.25)}.player-quests-main__header-prize-progress-item--disabled.svelte-sfdbme.svelte-sfdbme{color:#FFFFFF;background-color:rgba(19, 21, 22, 0.95)}.player-quests-main__header-prize-progress-item--disabled.svelte-sfdbme.svelte-sfdbme:before{background-color:rgba(19, 21, 22, 0.95)}.player-quests-main__header-prize-progress-item-inner-progress.svelte-sfdbme.svelte-sfdbme{position:absolute;height:100%;width:var(--progress);background-color:rgba(122, 243, 36, 0.25);left:0;border-radius:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__header-prize-progress-item-inner-progress.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__header-prize-progress-item-inner-progress.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__header-prize-progress-item-inner-progress.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__header-prize-progress-item-inner-progress.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__header-prize-progress-item-inner-progress.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__header-prize-progress-item-inner-progress.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__header-prize-progress-item-inner-progress.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0045833333 * 100vw + 0px)}}.player-quests-main__main.svelte-sfdbme.svelte-sfdbme{position:relative;background-color:#131516;width:calc(0.5729166667 * 100vw + 0px);height:calc(0.3385416667 * 100vw + 0px);border-radius:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__main.svelte-sfdbme.svelte-sfdbme{width:calc(0.5729166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__main.svelte-sfdbme.svelte-sfdbme{width:calc(0.5729166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__main.svelte-sfdbme.svelte-sfdbme{width:calc(0.4411458333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__main.svelte-sfdbme.svelte-sfdbme{width:calc(0.6302083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__main.svelte-sfdbme.svelte-sfdbme{width:calc(0.4010416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__main.svelte-sfdbme.svelte-sfdbme{width:calc(0.515625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__main.svelte-sfdbme.svelte-sfdbme{width:calc(0.6302083333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__main.svelte-sfdbme.svelte-sfdbme{height:calc(0.3385416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__main.svelte-sfdbme.svelte-sfdbme{height:calc(0.3385416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__main.svelte-sfdbme.svelte-sfdbme{height:calc(0.2606770833 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__main.svelte-sfdbme.svelte-sfdbme{height:calc(0.3723958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__main.svelte-sfdbme.svelte-sfdbme{height:calc(0.2369791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__main.svelte-sfdbme.svelte-sfdbme{height:calc(0.3046875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__main.svelte-sfdbme.svelte-sfdbme{height:calc(0.3723958333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__main.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__main.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__main.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__main.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__main.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__main.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__main.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.00859375 * 100vw + 0px)}}.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme{position:relative;width:100%;background-image:var(--cover);background-size:cover;background-repeat:no-repeat;background-position:top center;height:calc(0.0911458333 * 100vw + 0px);border-top-left-radius:calc(0.0078125 * 100vw + 0px);border-top-right-radius:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme{height:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme{height:calc(0.0911458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme{height:calc(0.0701822917 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme{height:calc(0.1002604167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme{height:calc(0.0638020833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme{height:calc(0.08203125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme{height:calc(0.1002604167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme{border-top-left-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme{border-top-left-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme{border-top-left-radius:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme{border-top-left-radius:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme{border-top-left-radius:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme{border-top-left-radius:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme{border-top-left-radius:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme{border-top-right-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme{border-top-right-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme{border-top-right-radius:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme{border-top-right-radius:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme{border-top-right-radius:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme{border-top-right-radius:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme{border-top-right-radius:calc(0.00859375 * 100vw + 0px)}}.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme:after{content:\"\";position:absolute;background:linear-gradient(180deg, transparent 0%, #131516 95%);height:100%;width:100%;border-top-left-radius:calc(0.0078125 * 100vw + 0px);border-top-right-radius:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme:after{border-top-left-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme:after{border-top-left-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme:after{border-top-left-radius:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme:after{border-top-left-radius:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme:after{border-top-left-radius:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme:after{border-top-left-radius:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme:after{border-top-left-radius:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme:after{border-top-right-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme:after{border-top-right-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme:after{border-top-right-radius:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme:after{border-top-right-radius:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme:after{border-top-right-radius:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme:after{border-top-right-radius:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__cover.svelte-sfdbme.svelte-sfdbme:after{border-top-right-radius:calc(0.00859375 * 100vw + 0px)}}.player-quests-main__title-row.svelte-sfdbme.svelte-sfdbme{display:flex;justify-content:space-between;margin-bottom:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__title-row.svelte-sfdbme.svelte-sfdbme{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__title-row.svelte-sfdbme.svelte-sfdbme{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__title-row.svelte-sfdbme.svelte-sfdbme{margin-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__title-row.svelte-sfdbme.svelte-sfdbme{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__title-row.svelte-sfdbme.svelte-sfdbme{margin-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__title-row.svelte-sfdbme.svelte-sfdbme{margin-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__title-row.svelte-sfdbme.svelte-sfdbme{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}.player-quests-main__title.svelte-sfdbme.svelte-sfdbme{color:#FFFFFF;font-family:\"HeadingNowBold\";text-transform:uppercase;font-size:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__title.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__title.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__title.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__title.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__title.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__title.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__title.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0275 * 100vw + 0px)}}.player-quests-main__time-wrapper.svelte-sfdbme.svelte-sfdbme{display:flex;align-items:center;color:rgba(255, 255, 255, 0.45);gap:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__time-wrapper.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__time-wrapper.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__time-wrapper.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__time-wrapper.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__time-wrapper.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__time-wrapper.svelte-sfdbme.svelte-sfdbme{gap:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__time-wrapper.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0045833333 * 100vw + 0px)}}.player-quests-main__time.svelte-sfdbme.svelte-sfdbme{font-family:\"HeadingNowRegular\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__time.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__time.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__time.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__time.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__time.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__time.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__time.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.006875 * 100vw + 0px)}}.player-quests-main__time-icon.svelte-sfdbme.svelte-sfdbme{transform:scaleX(-1);font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__time-icon.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__time-icon.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__time-icon.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__time-icon.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__time-icon.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__time-icon.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__time-icon.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0103125 * 100vw + 0px)}}.player-quests-main__content.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0260416667 * 100vw + 0px);padding:calc(0.0130208333 * 100vw + 0px);padding-top:calc(0 * 100vw + 0px);padding-bottom:calc(0.0244791667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__content.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__content.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__content.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__content.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__content.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__content.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__content.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__content.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__content.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__content.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__content.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__content.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__content.svelte-sfdbme.svelte-sfdbme{padding:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__content.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__content.svelte-sfdbme.svelte-sfdbme{padding-top:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__content.svelte-sfdbme.svelte-sfdbme{padding-top:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__content.svelte-sfdbme.svelte-sfdbme{padding-top:calc(0 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__content.svelte-sfdbme.svelte-sfdbme{padding-top:calc(0 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__content.svelte-sfdbme.svelte-sfdbme{padding-top:calc(0 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__content.svelte-sfdbme.svelte-sfdbme{padding-top:calc(0 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__content.svelte-sfdbme.svelte-sfdbme{padding-top:calc(0 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__content.svelte-sfdbme.svelte-sfdbme{padding-bottom:calc(0.0244791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__content.svelte-sfdbme.svelte-sfdbme{padding-bottom:calc(0.0244791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__content.svelte-sfdbme.svelte-sfdbme{padding-bottom:calc(0.0188489583 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__content.svelte-sfdbme.svelte-sfdbme{padding-bottom:calc(0.0269270833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__content.svelte-sfdbme.svelte-sfdbme{padding-bottom:calc(0.0171354167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__content.svelte-sfdbme.svelte-sfdbme{padding-bottom:calc(0.02203125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__content.svelte-sfdbme.svelte-sfdbme{padding-bottom:calc(0.0269270833 * 100vw + 0px)}}.player-quests-main__details.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0260416667 * 100vw + 0px);padding:calc(0.0130208333 * 100vw + 0px);padding-top:calc(0 * 100vw + 0px);padding-bottom:calc(0.0244791667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__details.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__details.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__details.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__details.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__details.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__details.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__details.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__details.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__details.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__details.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__details.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__details.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__details.svelte-sfdbme.svelte-sfdbme{padding:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__details.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__details.svelte-sfdbme.svelte-sfdbme{padding-top:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__details.svelte-sfdbme.svelte-sfdbme{padding-top:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__details.svelte-sfdbme.svelte-sfdbme{padding-top:calc(0 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__details.svelte-sfdbme.svelte-sfdbme{padding-top:calc(0 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__details.svelte-sfdbme.svelte-sfdbme{padding-top:calc(0 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__details.svelte-sfdbme.svelte-sfdbme{padding-top:calc(0 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__details.svelte-sfdbme.svelte-sfdbme{padding-top:calc(0 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__details.svelte-sfdbme.svelte-sfdbme{padding-bottom:calc(0.0244791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__details.svelte-sfdbme.svelte-sfdbme{padding-bottom:calc(0.0244791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__details.svelte-sfdbme.svelte-sfdbme{padding-bottom:calc(0.0188489583 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__details.svelte-sfdbme.svelte-sfdbme{padding-bottom:calc(0.0269270833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__details.svelte-sfdbme.svelte-sfdbme{padding-bottom:calc(0.0171354167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__details.svelte-sfdbme.svelte-sfdbme{padding-bottom:calc(0.02203125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__details.svelte-sfdbme.svelte-sfdbme{padding-bottom:calc(0.0269270833 * 100vw + 0px)}}.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme{overflow:auto;height:calc(0.1041666667 * 100vw + 0px)}.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme{height:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme{height:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme{height:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme{height:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme{height:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme{height:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__scroollable.svelte-sfdbme.svelte-sfdbme{height:calc(0.1145833333 * 100vw + 0px)}}.player-quests-main__description.svelte-sfdbme.svelte-sfdbme{color:#FFFFFF;font-family:\"HeadingNowRegular\";font-size:calc(0.00625 * 100vw + 0px);line-height:calc(0.0182291667 * 100vw + 0px);padding-right:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__description.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__description.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__description.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__description.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__description.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__description.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__description.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__description.svelte-sfdbme.svelte-sfdbme{line-height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__description.svelte-sfdbme.svelte-sfdbme{line-height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__description.svelte-sfdbme.svelte-sfdbme{line-height:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__description.svelte-sfdbme.svelte-sfdbme{line-height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__description.svelte-sfdbme.svelte-sfdbme{line-height:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__description.svelte-sfdbme.svelte-sfdbme{line-height:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__description.svelte-sfdbme.svelte-sfdbme{line-height:calc(0.0200520833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__description.svelte-sfdbme.svelte-sfdbme{padding-right:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__description.svelte-sfdbme.svelte-sfdbme{padding-right:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__description.svelte-sfdbme.svelte-sfdbme{padding-right:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__description.svelte-sfdbme.svelte-sfdbme{padding-right:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__description.svelte-sfdbme.svelte-sfdbme{padding-right:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__description.svelte-sfdbme.svelte-sfdbme{padding-right:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__description.svelte-sfdbme.svelte-sfdbme{padding-right:calc(0.0171875 * 100vw + 0px)}}.player-quests-main__stages.svelte-sfdbme.svelte-sfdbme{margin-top:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__stages.svelte-sfdbme.svelte-sfdbme{margin-top:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__stages.svelte-sfdbme.svelte-sfdbme{margin-top:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__stages.svelte-sfdbme.svelte-sfdbme{margin-top:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__stages.svelte-sfdbme.svelte-sfdbme{margin-top:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__stages.svelte-sfdbme.svelte-sfdbme{margin-top:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__stages.svelte-sfdbme.svelte-sfdbme{margin-top:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__stages.svelte-sfdbme.svelte-sfdbme{margin-top:calc(0.0171875 * 100vw + 0px)}}.player-quests-main__stages-caption.svelte-sfdbme.svelte-sfdbme{color:#FFFFFF;font-family:\"HeadingNowBold\";text-transform:uppercase;font-size:calc(0.00625 * 100vw + 0px);margin-bottom:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__stages-caption.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__stages-caption.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__stages-caption.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__stages-caption.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__stages-caption.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__stages-caption.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__stages-caption.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__stages-caption.svelte-sfdbme.svelte-sfdbme{margin-bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__stages-caption.svelte-sfdbme.svelte-sfdbme{margin-bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__stages-caption.svelte-sfdbme.svelte-sfdbme{margin-bottom:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__stages-caption.svelte-sfdbme.svelte-sfdbme{margin-bottom:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__stages-caption.svelte-sfdbme.svelte-sfdbme{margin-bottom:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__stages-caption.svelte-sfdbme.svelte-sfdbme{margin-bottom:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__stages-caption.svelte-sfdbme.svelte-sfdbme{margin-bottom:calc(0.00859375 * 100vw + 0px)}}.player-quests-main__stages-line.svelte-sfdbme.svelte-sfdbme{display:flex;gap:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__stages-line.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__stages-line.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__stages-line.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__stages-line.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__stages-line.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__stages-line.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__stages-line.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0057291667 * 100vw + 0px)}}.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{display:flex;align-items:center;justify-content:space-between;background-color:rgba(255, 255, 255, 0.05);width:calc(0.1041666667 * 100vw + 0px);height:calc(0.0338541667 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);padding:calc(0.0078125 * 100vw + 0px);gap:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{width:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{width:calc(0.1145833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{height:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{height:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{height:calc(0.0260677083 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{height:calc(0.0372395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{height:calc(0.0236979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{height:calc(0.03046875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{height:calc(0.0372395833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{padding:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{padding:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{padding:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{padding:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{padding:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{padding:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__stage.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0057291667 * 100vw + 0px)}}.player-quests-main__stage--complete.svelte-sfdbme.svelte-sfdbme{background-color:rgba(122, 243, 36, 0.25);border-style:solid;border-color:#95FF00;border-width:calc(0.0005208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__stage--complete.svelte-sfdbme.svelte-sfdbme{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__stage--complete.svelte-sfdbme.svelte-sfdbme{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__stage--complete.svelte-sfdbme.svelte-sfdbme{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__stage--complete.svelte-sfdbme.svelte-sfdbme{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__stage--complete.svelte-sfdbme.svelte-sfdbme{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__stage--complete.svelte-sfdbme.svelte-sfdbme{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__stage--complete.svelte-sfdbme.svelte-sfdbme{border-width:calc(0.0005729167 * 100vw + 0px)}}.player-quests-main__stage-title.svelte-sfdbme.svelte-sfdbme{color:#FFFFFF;font-family:\"HeadingNowMedium\";text-transform:uppercase;-webkit-line-clamp:3;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__stage-title.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__stage-title.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__stage-title.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__stage-title.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__stage-title.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__stage-title.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__stage-title.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0057291667 * 100vw + 0px)}}.player-quests-main__stage-icon.svelte-sfdbme.svelte-sfdbme{color:#95FF00;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__stage-icon.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__stage-icon.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__stage-icon.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__stage-icon.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__stage-icon.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__stage-icon.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__stage-icon.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0103125 * 100vw + 0px)}}.player-quests-main__stage-progress.svelte-sfdbme.svelte-sfdbme{white-space:pre;color:#FFFFFF;font-family:\"HeadingNowMedium\";text-transform:uppercase;font-size:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__stage-progress.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__stage-progress.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__stage-progress.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__stage-progress.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__stage-progress.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__stage-progress.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__stage-progress.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0057291667 * 100vw + 0px)}}.player-quests-main__rewards.svelte-sfdbme.svelte-sfdbme{position:absolute;bottom:calc(0.03125 * 100vw + 0px);left:calc(0.0130208333 * 100vw + 0px);right:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__rewards.svelte-sfdbme.svelte-sfdbme{bottom:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__rewards.svelte-sfdbme.svelte-sfdbme{bottom:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__rewards.svelte-sfdbme.svelte-sfdbme{bottom:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__rewards.svelte-sfdbme.svelte-sfdbme{bottom:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__rewards.svelte-sfdbme.svelte-sfdbme{bottom:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__rewards.svelte-sfdbme.svelte-sfdbme{bottom:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__rewards.svelte-sfdbme.svelte-sfdbme{bottom:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__rewards.svelte-sfdbme.svelte-sfdbme{left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__rewards.svelte-sfdbme.svelte-sfdbme{left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__rewards.svelte-sfdbme.svelte-sfdbme{left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__rewards.svelte-sfdbme.svelte-sfdbme{left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__rewards.svelte-sfdbme.svelte-sfdbme{left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__rewards.svelte-sfdbme.svelte-sfdbme{left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__rewards.svelte-sfdbme.svelte-sfdbme{left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__rewards.svelte-sfdbme.svelte-sfdbme{right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__rewards.svelte-sfdbme.svelte-sfdbme{right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__rewards.svelte-sfdbme.svelte-sfdbme{right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__rewards.svelte-sfdbme.svelte-sfdbme{right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__rewards.svelte-sfdbme.svelte-sfdbme{right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__rewards.svelte-sfdbme.svelte-sfdbme{right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__rewards.svelte-sfdbme.svelte-sfdbme{right:calc(0.0143229167 * 100vw + 0px)}}.player-quests-main__rewards-caption.svelte-sfdbme.svelte-sfdbme{color:#FFFFFF;font-family:\"HeadingNowBold\";text-transform:uppercase;font-size:calc(0.00625 * 100vw + 0px);margin-bottom:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__rewards-caption.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__rewards-caption.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__rewards-caption.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__rewards-caption.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__rewards-caption.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__rewards-caption.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__rewards-caption.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__rewards-caption.svelte-sfdbme.svelte-sfdbme{margin-bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__rewards-caption.svelte-sfdbme.svelte-sfdbme{margin-bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__rewards-caption.svelte-sfdbme.svelte-sfdbme{margin-bottom:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__rewards-caption.svelte-sfdbme.svelte-sfdbme{margin-bottom:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__rewards-caption.svelte-sfdbme.svelte-sfdbme{margin-bottom:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__rewards-caption.svelte-sfdbme.svelte-sfdbme{margin-bottom:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__rewards-caption.svelte-sfdbme.svelte-sfdbme{margin-bottom:calc(0.00859375 * 100vw + 0px)}}.player-quests-main__rewards-line.svelte-sfdbme.svelte-sfdbme{display:inline-flex;align-items:center;gap:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__rewards-line.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__rewards-line.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__rewards-line.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__rewards-line.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__rewards-line.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__rewards-line.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__rewards-line.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0057291667 * 100vw + 0px)}}.player-quests-main__reward.svelte-sfdbme.svelte-sfdbme{position:relative;width:calc(0.0416666667 * 100vw + 0px);height:calc(0.0416666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__reward.svelte-sfdbme.svelte-sfdbme{width:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__reward.svelte-sfdbme.svelte-sfdbme{width:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__reward.svelte-sfdbme.svelte-sfdbme{width:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__reward.svelte-sfdbme.svelte-sfdbme{width:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__reward.svelte-sfdbme.svelte-sfdbme{width:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__reward.svelte-sfdbme.svelte-sfdbme{width:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__reward.svelte-sfdbme.svelte-sfdbme{width:calc(0.0458333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__reward.svelte-sfdbme.svelte-sfdbme{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__reward.svelte-sfdbme.svelte-sfdbme{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__reward.svelte-sfdbme.svelte-sfdbme{height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__reward.svelte-sfdbme.svelte-sfdbme{height:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__reward.svelte-sfdbme.svelte-sfdbme{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__reward.svelte-sfdbme.svelte-sfdbme{height:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__reward.svelte-sfdbme.svelte-sfdbme{height:calc(0.0458333333 * 100vw + 0px)}}.player-quests-main__reward-name.svelte-sfdbme.svelte-sfdbme{color:#FFFFFF;font-family:\"HeadingNowRegular\";text-align:center;font-size:calc(0.0052083333 * 100vw + 0px);padding-top:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__reward-name.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__reward-name.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__reward-name.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__reward-name.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__reward-name.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__reward-name.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__reward-name.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__reward-name.svelte-sfdbme.svelte-sfdbme{padding-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__reward-name.svelte-sfdbme.svelte-sfdbme{padding-top:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__reward-name.svelte-sfdbme.svelte-sfdbme{padding-top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__reward-name.svelte-sfdbme.svelte-sfdbme{padding-top:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__reward-name.svelte-sfdbme.svelte-sfdbme{padding-top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__reward-name.svelte-sfdbme.svelte-sfdbme{padding-top:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__reward-name.svelte-sfdbme.svelte-sfdbme{padding-top:calc(0.0057291667 * 100vw + 0px)}}.player-quests-main__rewards-wrapper.svelte-sfdbme.svelte-sfdbme{display:flex;align-items:center;justify-content:space-between}.player-quests-main__rewards-buttons.svelte-sfdbme.svelte-sfdbme{display:inline-flex;align-items:center;gap:calc(0.003125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__rewards-buttons.svelte-sfdbme.svelte-sfdbme{gap:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__rewards-buttons.svelte-sfdbme.svelte-sfdbme{gap:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__rewards-buttons.svelte-sfdbme.svelte-sfdbme{gap:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__rewards-buttons.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__rewards-buttons.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__rewards-buttons.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__rewards-buttons.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0034375 * 100vw + 0px)}}.player-quests-main__rewards-button.svelte-sfdbme.svelte-sfdbme{width:calc(0.1041666667 * 100vw + 0px);height:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__rewards-button.svelte-sfdbme.svelte-sfdbme{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__rewards-button.svelte-sfdbme.svelte-sfdbme{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__rewards-button.svelte-sfdbme.svelte-sfdbme{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__rewards-button.svelte-sfdbme.svelte-sfdbme{width:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__rewards-button.svelte-sfdbme.svelte-sfdbme{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__rewards-button.svelte-sfdbme.svelte-sfdbme{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__rewards-button.svelte-sfdbme.svelte-sfdbme{width:calc(0.1145833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__rewards-button.svelte-sfdbme.svelte-sfdbme{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__rewards-button.svelte-sfdbme.svelte-sfdbme{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__rewards-button.svelte-sfdbme.svelte-sfdbme{height:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__rewards-button.svelte-sfdbme.svelte-sfdbme{height:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__rewards-button.svelte-sfdbme.svelte-sfdbme{height:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__rewards-button.svelte-sfdbme.svelte-sfdbme{height:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__rewards-button.svelte-sfdbme.svelte-sfdbme{height:calc(0.0275 * 100vw + 0px)}}.player-quests-main__rewards-button--cancel.svelte-sfdbme.svelte-sfdbme{width:calc(0.025 * 100vw + 0px);height:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__rewards-button--cancel.svelte-sfdbme.svelte-sfdbme{width:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__rewards-button--cancel.svelte-sfdbme.svelte-sfdbme{width:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__rewards-button--cancel.svelte-sfdbme.svelte-sfdbme{width:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__rewards-button--cancel.svelte-sfdbme.svelte-sfdbme{width:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__rewards-button--cancel.svelte-sfdbme.svelte-sfdbme{width:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__rewards-button--cancel.svelte-sfdbme.svelte-sfdbme{width:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__rewards-button--cancel.svelte-sfdbme.svelte-sfdbme{width:calc(0.0275 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__rewards-button--cancel.svelte-sfdbme.svelte-sfdbme{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__rewards-button--cancel.svelte-sfdbme.svelte-sfdbme{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__rewards-button--cancel.svelte-sfdbme.svelte-sfdbme{height:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__rewards-button--cancel.svelte-sfdbme.svelte-sfdbme{height:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__rewards-button--cancel.svelte-sfdbme.svelte-sfdbme{height:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__rewards-button--cancel.svelte-sfdbme.svelte-sfdbme{height:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__rewards-button--cancel.svelte-sfdbme.svelte-sfdbme{height:calc(0.0275 * 100vw + 0px)}}.player-quests-main__lock-overlay.svelte-sfdbme.svelte-sfdbme{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:rgba(0, 0, 0, 0.9);gap:calc(0.0208333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__lock-overlay.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__lock-overlay.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__lock-overlay.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__lock-overlay.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__lock-overlay.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__lock-overlay.svelte-sfdbme.svelte-sfdbme{gap:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__lock-overlay.svelte-sfdbme.svelte-sfdbme{gap:calc(0.0229166667 * 100vw + 0px)}}.player-quests-main__lock-overlay-icon.svelte-sfdbme.svelte-sfdbme{height:calc(0.0416666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__lock-overlay-icon.svelte-sfdbme.svelte-sfdbme{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__lock-overlay-icon.svelte-sfdbme.svelte-sfdbme{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__lock-overlay-icon.svelte-sfdbme.svelte-sfdbme{height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__lock-overlay-icon.svelte-sfdbme.svelte-sfdbme{height:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__lock-overlay-icon.svelte-sfdbme.svelte-sfdbme{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__lock-overlay-icon.svelte-sfdbme.svelte-sfdbme{height:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__lock-overlay-icon.svelte-sfdbme.svelte-sfdbme{height:calc(0.0458333333 * 100vw + 0px)}}.player-quests-main__lock-overlay-message.svelte-sfdbme.svelte-sfdbme{color:#FFFFFF;font-family:\"HeadingNowBold\";text-align:center;text-transform:uppercase;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__lock-overlay-message.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__lock-overlay-message.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__lock-overlay-message.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__lock-overlay-message.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__lock-overlay-message.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__lock-overlay-message.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__lock-overlay-message.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0103125 * 100vw + 0px)}}.player-quests-main__lock-overlay-status.svelte-sfdbme.svelte-sfdbme{color:#FFC42C;font-family:\"HeadingNowBold\";text-transform:uppercase;font-size:calc(0.01875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__lock-overlay-status.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__lock-overlay-status.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__lock-overlay-status.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__lock-overlay-status.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__lock-overlay-status.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__lock-overlay-status.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__lock-overlay-status.svelte-sfdbme.svelte-sfdbme{font-size:calc(0.020625 * 100vw + 0px)}}.player-quests-main__lock-overlay-button.svelte-sfdbme.svelte-sfdbme{width:calc(0.2005208333 * 100vw + 0px);height:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__lock-overlay-button.svelte-sfdbme.svelte-sfdbme{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__lock-overlay-button.svelte-sfdbme.svelte-sfdbme{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__lock-overlay-button.svelte-sfdbme.svelte-sfdbme{width:calc(0.1544010417 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__lock-overlay-button.svelte-sfdbme.svelte-sfdbme{width:calc(0.2205729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__lock-overlay-button.svelte-sfdbme.svelte-sfdbme{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__lock-overlay-button.svelte-sfdbme.svelte-sfdbme{width:calc(0.18046875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__lock-overlay-button.svelte-sfdbme.svelte-sfdbme{width:calc(0.2205729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-main__lock-overlay-button.svelte-sfdbme.svelte-sfdbme{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-main__lock-overlay-button.svelte-sfdbme.svelte-sfdbme{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-main__lock-overlay-button.svelte-sfdbme.svelte-sfdbme{height:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-main__lock-overlay-button.svelte-sfdbme.svelte-sfdbme{height:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-main__lock-overlay-button.svelte-sfdbme.svelte-sfdbme{height:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-main__lock-overlay-button.svelte-sfdbme.svelte-sfdbme{height:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-main__lock-overlay-button.svelte-sfdbme.svelte-sfdbme{height:calc(0.0275 * 100vw + 0px)}}");
}

function player_quests_components_main_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[13] = list[i];
	return child_ctx;
}

function player_quests_components_main_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[16] = list[i];
	return child_ctx;
}

function player_quests_components_main_index_svelte_get_each_context_2(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[19] = list[i];
	return child_ctx;
}

function main_index_svelte_get_each_context_3(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[13] = list[i];
	return child_ctx;
}

function main_index_svelte_get_each_context_4(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[13] = list[i];
	return child_ctx;
}

function index_svelte_get_each_context_5(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[26] = list[i];
	return child_ctx;
}

function get_each_context_6(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[19] = list[i];
	return child_ctx;
}

function get_each_context_7(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[13] = list[i];
	return child_ctx;
}

// (5230:16) {#if quest.visible}
function player_quests_components_main_index_svelte_create_if_block_7(ctx) {
	let div7;
	let div2;
	let div0;
	let t0_value = /*quest*/ ctx[26].title + "";
	let t0;
	let t1;
	let div1;
	let t2;
	let div6;
	let div3;
	let t3;
	let div5;
	let div4;
	let t4_value = MAP_STATE_TO_NAME[/*quest*/ ctx[26].statusId] + "";
	let t4;
	let t5;
	let i;
	let i_class_value;
	let t6;
	let current;
	let mounted;
	let dispose;
	let each_value_7 = /*quest*/ ctx[26].rewards_short;
	let each_blocks_1 = [];

	for (let i = 0; i < each_value_7.length; i += 1) {
		each_blocks_1[i] = create_each_block_7(get_each_context_7(ctx, each_value_7, i));
	}

	const out = i => transition_out(each_blocks_1[i], 1, 1, () => {
		each_blocks_1[i] = null;
	});

	let each_value_6 = /*quest*/ ctx[26].badges;
	let each_blocks = [];

	for (let i = 0; i < each_value_6.length; i += 1) {
		each_blocks[i] = create_each_block_6(get_each_context_6(ctx, each_value_6, i));
	}

	function click_handler() {
		return /*click_handler*/ ctx[11](/*quest*/ ctx[26]);
	}

	return {
		c() {
			div7 = internal_element("div");
			div2 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].c();
			}

			t2 = space();
			div6 = internal_element("div");
			div3 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t3 = space();
			div5 = internal_element("div");
			div4 = internal_element("div");
			t4 = internal_text(t4_value);
			t5 = space();
			i = internal_element("i");
			t6 = space();
			attr(div0, "class", "player-quests-main__quest-title svelte-sfdbme");
			attr(div1, "class", "player-quests-main__quest-rewards svelte-sfdbme");
			attr(div2, "class", "player-quests-main__quest-info svelte-sfdbme");
			attr(div3, "class", "player-quests-main__quest-badges svelte-sfdbme");
			attr(div4, "class", "player-quests-main__quest-state-text svelte-sfdbme");
			attr(i, "class", i_class_value = "player-quests-main__quest-state-icon " + MAP_STATE_TO_ICON[/*quest*/ ctx[26].statusId] + " svelte-sfdbme");
			attr(div5, "class", "player-quests-main__quest-state svelte-sfdbme");
			attr(div6, "class", "player-quests-main__quest-state-wrapper svelte-sfdbme");
			attr(div7, "class", "player-quests-main__quest svelte-sfdbme");
			toggle_class(div7, "player-quests-main__quest--active", /*$selectedQuest*/ ctx[2].id === /*quest*/ ctx[26].id);
			toggle_class(div7, "player-quests-main__quest--disabled", /*quest*/ ctx[26].statusId === QuestStates.Unavailable);
		},
		m(target, anchor) {
			insert(target, div7, anchor);
			append(div7, div2);
			append(div2, div0);
			append(div0, t0);
			append(div2, t1);
			append(div2, div1);

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].m(div1, null);
			}

			append(div7, t2);
			append(div7, div6);
			append(div6, div3);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div3, null);
			}

			append(div6, t3);
			append(div6, div5);
			append(div5, div4);
			append(div4, t4);
			append(div5, t5);
			append(div5, i);
			append(div7, t6);
			current = true;

			if (!mounted) {
				dispose = listen(div7, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if ((!current || dirty[0] & /*$questsList*/ 1) && t0_value !== (t0_value = /*quest*/ ctx[26].title + "")) set_data(t0, t0_value);

			if (dirty[0] & /*$questsList*/ 1) {
				each_value_7 = /*quest*/ ctx[26].rewards_short;
				let i;

				for (i = 0; i < each_value_7.length; i += 1) {
					const child_ctx = get_each_context_7(ctx, each_value_7, i);

					if (each_blocks_1[i]) {
						each_blocks_1[i].p(child_ctx, dirty);
						transition_in(each_blocks_1[i], 1);
					} else {
						each_blocks_1[i] = create_each_block_7(child_ctx);
						each_blocks_1[i].c();
						transition_in(each_blocks_1[i], 1);
						each_blocks_1[i].m(div1, null);
					}
				}

				group_outros();

				for (i = each_value_7.length; i < each_blocks_1.length; i += 1) {
					out(i);
				}

				check_outros();
			}

			if (dirty[0] & /*$questsList*/ 1) {
				each_value_6 = /*quest*/ ctx[26].badges;
				let i;

				for (i = 0; i < each_value_6.length; i += 1) {
					const child_ctx = get_each_context_6(ctx, each_value_6, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = create_each_block_6(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div3, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_6.length;
			}

			if ((!current || dirty[0] & /*$questsList*/ 1) && t4_value !== (t4_value = MAP_STATE_TO_NAME[/*quest*/ ctx[26].statusId] + "")) set_data(t4, t4_value);

			if (!current || dirty[0] & /*$questsList*/ 1 && i_class_value !== (i_class_value = "player-quests-main__quest-state-icon " + MAP_STATE_TO_ICON[/*quest*/ ctx[26].statusId] + " svelte-sfdbme")) {
				attr(i, "class", i_class_value);
			}

			if (dirty[0] & /*$selectedQuest, $questsList*/ 5) {
				toggle_class(div7, "player-quests-main__quest--active", /*$selectedQuest*/ ctx[2].id === /*quest*/ ctx[26].id);
			}

			if (dirty[0] & /*$questsList*/ 1) {
				toggle_class(div7, "player-quests-main__quest--disabled", /*quest*/ ctx[26].statusId === QuestStates.Unavailable);
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value_7.length; i += 1) {
				transition_in(each_blocks_1[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks_1 = each_blocks_1.filter(Boolean);

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				transition_out(each_blocks_1[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div7);
			destroy_each(each_blocks_1, detaching);
			destroy_each(each_blocks, detaching);
			mounted = false;
			dispose();
		}
	};
}

// (5240:32) {#each quest.rewards_short as reward}
function create_each_block_7(ctx) {
	let div;
	let prize;
	let t;
	let current;

	prize = new components_prize_index_svelte({
			props: {
				imageSrc: /*reward*/ ctx[13].icon,
				color: /*reward*/ ctx[13].color,
				style: /*reward*/ ctx[13].color,
				smallSize: true
			}
		});

	return {
		c() {
			div = internal_element("div");
			create_component(prize.$$.fragment);
			t = space();
			attr(div, "class", "player-quests-main__quest-reward-preview svelte-sfdbme");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(prize, div, null);
			append(div, t);
			current = true;
		},
		p(ctx, dirty) {
			const prize_changes = {};
			if (dirty[0] & /*$questsList*/ 1) prize_changes.imageSrc = /*reward*/ ctx[13].icon;
			if (dirty[0] & /*$questsList*/ 1) prize_changes.color = /*reward*/ ctx[13].color;
			if (dirty[0] & /*$questsList*/ 1) prize_changes.style = /*reward*/ ctx[13].color;
			prize.$set(prize_changes);
		},
		i(local) {
			if (current) return;
			transition_in(prize.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(prize.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(prize);
		}
	};
}

// (5251:32) {#each quest.badges as badge}
function create_each_block_6(ctx) {
	let div1;
	let div0;
	let t0_value = /*badge*/ ctx[19].text + "";
	let t0;
	let t1;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			attr(div0, "class", "player-quests-main__quest-badge-text svelte-sfdbme");
			attr(div1, "class", "player-quests-main__quest-badge svelte-sfdbme");
			set_style(div1, "--badgeGradient", `linear-gradient(270deg, ${/*badge*/ ctx[19].colors[0]} 0%, ${/*badge*/ ctx[19].colors[1]} 100%)`);
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, t0);
			append(div1, t1);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$questsList*/ 1 && t0_value !== (t0_value = /*badge*/ ctx[19].text + "")) set_data(t0, t0_value);

			if (dirty[0] & /*$questsList*/ 1) {
				set_style(div1, "--badgeGradient", `linear-gradient(270deg, ${/*badge*/ ctx[19].colors[0]} 0%, ${/*badge*/ ctx[19].colors[1]} 100%)`);
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (5229:12) {#each $questsList as quest}
function index_svelte_create_each_block_5(ctx) {
	let if_block_anchor;
	let current;
	let if_block = /*quest*/ ctx[26].visible && player_quests_components_main_index_svelte_create_if_block_7(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
			current = true;
		},
		p(ctx, dirty) {
			if (/*quest*/ ctx[26].visible) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty[0] & /*$questsList*/ 1) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = player_quests_components_main_index_svelte_create_if_block_7(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

// (5272:8) {#if !isNil(bonus)}
function player_quests_components_main_index_svelte_create_if_block_6(ctx) {
	let div8;
	let div4;
	let div0;
	let t1;
	let div3;
	let div1;
	let t3;
	let div2;
	let t4_value = `${/*bonus*/ ctx[1].progressCurrent} / ${/*bonus*/ ctx[1].progressTotal}` + "";
	let t4;
	let t5;
	let img;
	let img_src_value;
	let t6;
	let div7;
	let div5;
	let t7;
	let div6;
	let current;
	let each_value_4 = /*bonus*/ ctx[1].prizes;
	let each_blocks_1 = [];

	for (let i = 0; i < each_value_4.length; i += 1) {
		each_blocks_1[i] = main_index_svelte_create_each_block_4(main_index_svelte_get_each_context_4(ctx, each_value_4, i));
	}

	const out = i => transition_out(each_blocks_1[i], 1, 1, () => {
		each_blocks_1[i] = null;
	});

	let each_value_3 = /*bonus*/ ctx[1].prizes;
	let each_blocks = [];

	for (let i = 0; i < each_value_3.length; i += 1) {
		each_blocks[i] = main_index_svelte_create_each_block_3(main_index_svelte_get_each_context_3(ctx, each_value_3, i));
	}

	return {
		c() {
			div8 = internal_element("div");
			div4 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "Бесплатные ларцы";
			t1 = space();
			div3 = internal_element("div");
			div1 = internal_element("div");
			div1.textContent = "Ваш прогресс";
			t3 = space();
			div2 = internal_element("div");
			t4 = internal_text(t4_value);
			t5 = space();
			img = internal_element("img");
			t6 = space();
			div7 = internal_element("div");
			div5 = internal_element("div");

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].c();
			}

			t7 = space();
			div6 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div0, "class", "player-quests-main__header-title svelte-sfdbme");
			attr(div1, "class", "player-quests-main__header-progress-caption svelte-sfdbme");
			attr(div2, "class", "player-quests-main__header-progress-value svelte-sfdbme");
			if (!src_url_equal(img.src, img_src_value = kp_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "kp");
			attr(img, "class", "player-quests-main__header-progress-coin svelte-sfdbme");
			attr(div3, "class", "player-quests-main__header-progress svelte-sfdbme");
			attr(div4, "class", "player-quests-main__header-left svelte-sfdbme");
			attr(div5, "class", "player-quests-main__header-prizes svelte-sfdbme");
			attr(div6, "class", "player-quests-main__header-prizes-progress-bar svelte-sfdbme");
			attr(div7, "class", "player-quests-main__header-right svelte-sfdbme");
			attr(div8, "class", "player-quests-main__header svelte-sfdbme");
		},
		m(target, anchor) {
			insert(target, div8, anchor);
			append(div8, div4);
			append(div4, div0);
			append(div4, t1);
			append(div4, div3);
			append(div3, div1);
			append(div3, t3);
			append(div3, div2);
			append(div2, t4);
			append(div3, t5);
			append(div3, img);
			append(div8, t6);
			append(div8, div7);
			append(div7, div5);

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].m(div5, null);
			}

			append(div7, t7);
			append(div7, div6);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div6, null);
			}

			current = true;
		},
		p(ctx, dirty) {
			if ((!current || dirty[0] & /*bonus*/ 2) && t4_value !== (t4_value = `${/*bonus*/ ctx[1].progressCurrent} / ${/*bonus*/ ctx[1].progressTotal}` + "")) set_data(t4, t4_value);

			if (dirty[0] & /*bonus*/ 2) {
				each_value_4 = /*bonus*/ ctx[1].prizes;
				let i;

				for (i = 0; i < each_value_4.length; i += 1) {
					const child_ctx = main_index_svelte_get_each_context_4(ctx, each_value_4, i);

					if (each_blocks_1[i]) {
						each_blocks_1[i].p(child_ctx, dirty);
						transition_in(each_blocks_1[i], 1);
					} else {
						each_blocks_1[i] = main_index_svelte_create_each_block_4(child_ctx);
						each_blocks_1[i].c();
						transition_in(each_blocks_1[i], 1);
						each_blocks_1[i].m(div5, null);
					}
				}

				group_outros();

				for (i = each_value_4.length; i < each_blocks_1.length; i += 1) {
					out(i);
				}

				check_outros();
			}

			if (dirty[0] & /*bonus, getFreeReward*/ 258) {
				each_value_3 = /*bonus*/ ctx[1].prizes;
				let i;

				for (i = 0; i < each_value_3.length; i += 1) {
					const child_ctx = main_index_svelte_get_each_context_3(ctx, each_value_3, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = main_index_svelte_create_each_block_3(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div6, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_3.length;
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value_4.length; i += 1) {
				transition_in(each_blocks_1[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks_1 = each_blocks_1.filter(Boolean);

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				transition_out(each_blocks_1[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div8);
			destroy_each(each_blocks_1, detaching);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (5290:24) {#each bonus.prizes as reward}
function main_index_svelte_create_each_block_4(ctx) {
	let div1;
	let prize;
	let t0;
	let div0;
	let t1_value = /*reward*/ ctx[13].title + "";
	let t1;
	let t2;
	let current;

	prize = new components_prize_index_svelte({
			props: {
				imageSrc: /*reward*/ ctx[13].icon,
				color: /*reward*/ ctx[13].color,
				style: /*reward*/ ctx[13].color
			}
		});

	return {
		c() {
			div1 = internal_element("div");
			create_component(prize.$$.fragment);
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(div0, "class", "player-quests-main__header-prize-tooltip svelte-sfdbme");
			attr(div1, "class", "player-quests-main__header-prize svelte-sfdbme");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			mount_component(prize, div1, null);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
			append(div1, t2);
			current = true;
		},
		p(ctx, dirty) {
			const prize_changes = {};
			if (dirty[0] & /*bonus*/ 2) prize_changes.imageSrc = /*reward*/ ctx[13].icon;
			if (dirty[0] & /*bonus*/ 2) prize_changes.color = /*reward*/ ctx[13].color;
			if (dirty[0] & /*bonus*/ 2) prize_changes.style = /*reward*/ ctx[13].color;
			prize.$set(prize_changes);
			if ((!current || dirty[0] & /*bonus*/ 2) && t1_value !== (t1_value = /*reward*/ ctx[13].title + "")) set_data(t1, t1_value);
		},
		i(local) {
			if (current) return;
			transition_in(prize.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(prize.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			destroy_component(prize);
		}
	};
}

// (5301:24) {#each bonus.prizes as reward}
function main_index_svelte_create_each_block_3(ctx) {
	let div1;
	let div0;
	let t0;
	let t1_value = /*reward*/ ctx[13].stateText + "";
	let t1;
	let t2;
	let mounted;
	let dispose;

	function click_handler_1() {
		return /*click_handler_1*/ ctx[12](/*reward*/ ctx[13]);
	}

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			t0 = space();
			t1 = internal_text(t1_value);
			t2 = space();
			attr(div0, "class", "player-quests-main__header-prize-progress-item-inner-progress svelte-sfdbme");
			attr(div1, "class", "player-quests-main__header-prize-progress-item svelte-sfdbme");
			set_style(div1, "--progress", /*reward*/ ctx[13].progressPercents + "%");
			toggle_class(div1, "player-quests-main__header-prize-progress-item--unreached", /*bonus*/ ctx[1].progressCurrent < /*reward*/ ctx[13].max_progress);
			toggle_class(div1, "player-quests-main__header-prize-progress-item--disabled", !/*reward*/ ctx[13].progressPercents);
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div1, t0);
			append(div1, t1);
			append(div1, t2);

			if (!mounted) {
				dispose = listen(div1, "click", click_handler_1);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if (dirty[0] & /*bonus*/ 2 && t1_value !== (t1_value = /*reward*/ ctx[13].stateText + "")) set_data(t1, t1_value);

			if (dirty[0] & /*bonus*/ 2) {
				set_style(div1, "--progress", /*reward*/ ctx[13].progressPercents + "%");
			}

			if (dirty[0] & /*bonus*/ 2) {
				toggle_class(div1, "player-quests-main__header-prize-progress-item--unreached", /*bonus*/ ctx[1].progressCurrent < /*reward*/ ctx[13].max_progress);
			}

			if (dirty[0] & /*bonus*/ 2) {
				toggle_class(div1, "player-quests-main__header-prize-progress-item--disabled", !/*reward*/ ctx[13].progressPercents);
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			mounted = false;
			dispose();
		}
	};
}

// (5319:12) {#if !isEmpty($selectedQuest)}
function player_quests_components_main_index_svelte_create_if_block(ctx) {
	let div0;
	let t0;
	let div15;
	let div5;
	let div1;
	let t1_value = /*$selectedQuest*/ ctx[2].title + "";
	let t1;
	let t2;
	let div4;
	let div2;
	let t3;
	let div3;
	let t4;
	let div10;
	let div6;
	let t5_value = /*$selectedQuest*/ ctx[2].description + "";
	let t5;
	let t6;
	let div9;
	let div7;
	let t8;
	let div8;
	let t9;
	let div14;
	let div11;
	let t11;
	let div13;
	let div12;
	let t12;
	let t13;
	let if_block2_anchor;
	let current;
	let if_block0 = /*$selectedQuest*/ ctx[2].status_id === 0 && /*$selectedQuest*/ ctx[2].timeLeft >= 0 && player_quests_components_main_index_svelte_create_if_block_5(ctx);
	let each_value_2 = /*$selectedQuest*/ ctx[2].badges;
	let each_blocks_2 = [];

	for (let i = 0; i < each_value_2.length; i += 1) {
		each_blocks_2[i] = player_quests_components_main_index_svelte_create_each_block_2(player_quests_components_main_index_svelte_get_each_context_2(ctx, each_value_2, i));
	}

	let each_value_1 = /*$selectedQuest*/ ctx[2].stages;
	let each_blocks_1 = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks_1[i] = player_quests_components_main_index_svelte_create_each_block_1(player_quests_components_main_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	let each_value = /*$selectedQuest*/ ctx[2].rewards;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = player_quests_components_main_index_svelte_create_each_block(player_quests_components_main_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	let if_block1 = /*$selectedQuest*/ ctx[2].statusId > 0 && player_quests_components_main_index_svelte_create_if_block_2(ctx);
	let if_block2 = /*$selectedQuest*/ ctx[2].accessType >= 0 && player_quests_components_main_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			div0 = internal_element("div");
			t0 = space();
			div15 = internal_element("div");
			div5 = internal_element("div");
			div1 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			div4 = internal_element("div");
			div2 = internal_element("div");
			if (if_block0) if_block0.c();
			t3 = space();
			div3 = internal_element("div");

			for (let i = 0; i < each_blocks_2.length; i += 1) {
				each_blocks_2[i].c();
			}

			t4 = space();
			div10 = internal_element("div");
			div6 = internal_element("div");
			t5 = internal_text(t5_value);
			t6 = space();
			div9 = internal_element("div");
			div7 = internal_element("div");
			div7.textContent = "ЗАДАНИЯ";
			t8 = space();
			div8 = internal_element("div");

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].c();
			}

			t9 = space();
			div14 = internal_element("div");
			div11 = internal_element("div");
			div11.textContent = "НАГРАДА";
			t11 = space();
			div13 = internal_element("div");
			div12 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t12 = space();
			if (if_block1) if_block1.c();
			t13 = space();
			if (if_block2) if_block2.c();
			if_block2_anchor = empty();
			attr(div0, "class", "player-quests-main__cover svelte-sfdbme");
			set_style(div0, "--cover", `url('${cdn_CDN_URL_RODINA}/systems/quests/category/quest/${/*$selectedQuest*/ ctx[2].icon}.webp')`);
			attr(div1, "class", "player-quests-main__title svelte-sfdbme");
			attr(div2, "class", "player-quests-main__time-wrapper svelte-sfdbme");
			attr(div3, "class", "player-quests-main__badges svelte-sfdbme");
			attr(div4, "class", "player-quests-main__info svelte-sfdbme");
			attr(div5, "class", "player-quests-main__title-row svelte-sfdbme");
			attr(div6, "class", "player-quests-main__description svelte-sfdbme");
			attr(div7, "class", "player-quests-main__stages-caption svelte-sfdbme");
			attr(div8, "class", "player-quests-main__stages-line svelte-sfdbme");
			attr(div9, "class", "player-quests-main__stages svelte-sfdbme");
			attr(div10, "class", "player-quests-main__scroollable svelte-sfdbme");
			attr(div11, "class", "player-quests-main__rewards-caption svelte-sfdbme");
			attr(div12, "class", "player-quests-main__rewards-line svelte-sfdbme");
			attr(div13, "class", "player-quests-main__rewards-wrapper svelte-sfdbme");
			attr(div14, "class", "player-quests-main__rewards svelte-sfdbme");
			attr(div15, "class", "player-quests-main__details svelte-sfdbme");
		},
		m(target, anchor) {
			insert(target, div0, anchor);
			insert(target, t0, anchor);
			insert(target, div15, anchor);
			append(div15, div5);
			append(div5, div1);
			append(div1, t1);
			append(div5, t2);
			append(div5, div4);
			append(div4, div2);
			if (if_block0) if_block0.m(div2, null);
			append(div4, t3);
			append(div4, div3);

			for (let i = 0; i < each_blocks_2.length; i += 1) {
				each_blocks_2[i].m(div3, null);
			}

			append(div15, t4);
			append(div15, div10);
			append(div10, div6);
			append(div6, t5);
			append(div10, t6);
			append(div10, div9);
			append(div9, div7);
			append(div9, t8);
			append(div9, div8);

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].m(div8, null);
			}

			append(div15, t9);
			append(div15, div14);
			append(div14, div11);
			append(div14, t11);
			append(div14, div13);
			append(div13, div12);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div12, null);
			}

			append(div13, t12);
			if (if_block1) if_block1.m(div13, null);
			insert(target, t13, anchor);
			if (if_block2) if_block2.m(target, anchor);
			insert(target, if_block2_anchor, anchor);
			current = true;
		},
		p(ctx, dirty) {
			if (!current || dirty[0] & /*$selectedQuest*/ 4) {
				set_style(div0, "--cover", `url('${cdn_CDN_URL_RODINA}/systems/quests/category/quest/${/*$selectedQuest*/ ctx[2].icon}.webp')`);
			}

			if ((!current || dirty[0] & /*$selectedQuest*/ 4) && t1_value !== (t1_value = /*$selectedQuest*/ ctx[2].title + "")) set_data(t1, t1_value);

			if (/*$selectedQuest*/ ctx[2].status_id === 0 && /*$selectedQuest*/ ctx[2].timeLeft >= 0) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = player_quests_components_main_index_svelte_create_if_block_5(ctx);
					if_block0.c();
					if_block0.m(div2, null);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty[0] & /*$selectedQuest*/ 4) {
				each_value_2 = /*$selectedQuest*/ ctx[2].badges;
				let i;

				for (i = 0; i < each_value_2.length; i += 1) {
					const child_ctx = player_quests_components_main_index_svelte_get_each_context_2(ctx, each_value_2, i);

					if (each_blocks_2[i]) {
						each_blocks_2[i].p(child_ctx, dirty);
					} else {
						each_blocks_2[i] = player_quests_components_main_index_svelte_create_each_block_2(child_ctx);
						each_blocks_2[i].c();
						each_blocks_2[i].m(div3, null);
					}
				}

				for (; i < each_blocks_2.length; i += 1) {
					each_blocks_2[i].d(1);
				}

				each_blocks_2.length = each_value_2.length;
			}

			if ((!current || dirty[0] & /*$selectedQuest*/ 4) && t5_value !== (t5_value = /*$selectedQuest*/ ctx[2].description + "")) set_data(t5, t5_value);

			if (dirty[0] & /*$selectedQuest*/ 4) {
				each_value_1 = /*$selectedQuest*/ ctx[2].stages;
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = player_quests_components_main_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks_1[i]) {
						each_blocks_1[i].p(child_ctx, dirty);
					} else {
						each_blocks_1[i] = player_quests_components_main_index_svelte_create_each_block_1(child_ctx);
						each_blocks_1[i].c();
						each_blocks_1[i].m(div8, null);
					}
				}

				for (; i < each_blocks_1.length; i += 1) {
					each_blocks_1[i].d(1);
				}

				each_blocks_1.length = each_value_1.length;
			}

			if (dirty[0] & /*$selectedQuest*/ 4) {
				each_value = /*$selectedQuest*/ ctx[2].rewards;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = player_quests_components_main_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = player_quests_components_main_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div12, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}

			if (/*$selectedQuest*/ ctx[2].statusId > 0) {
				if (if_block1) {
					if_block1.p(ctx, dirty);

					if (dirty[0] & /*$selectedQuest*/ 4) {
						transition_in(if_block1, 1);
					}
				} else {
					if_block1 = player_quests_components_main_index_svelte_create_if_block_2(ctx);
					if_block1.c();
					transition_in(if_block1, 1);
					if_block1.m(div13, null);
				}
			} else if (if_block1) {
				group_outros();

				transition_out(if_block1, 1, 1, () => {
					if_block1 = null;
				});

				check_outros();
			}

			if (/*$selectedQuest*/ ctx[2].accessType >= 0) {
				if (if_block2) {
					if_block2.p(ctx, dirty);

					if (dirty[0] & /*$selectedQuest*/ 4) {
						transition_in(if_block2, 1);
					}
				} else {
					if_block2 = player_quests_components_main_index_svelte_create_if_block_1(ctx);
					if_block2.c();
					transition_in(if_block2, 1);
					if_block2.m(if_block2_anchor.parentNode, if_block2_anchor);
				}
			} else if (if_block2) {
				group_outros();

				transition_out(if_block2, 1, 1, () => {
					if_block2 = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			transition_in(if_block1);
			transition_in(if_block2);
			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			transition_out(if_block1);
			transition_out(if_block2);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div0);
			if (detaching) detach(t0);
			if (detaching) detach(div15);
			if (if_block0) if_block0.d();
			destroy_each(each_blocks_2, detaching);
			destroy_each(each_blocks_1, detaching);
			destroy_each(each_blocks, detaching);
			if (if_block1) if_block1.d();
			if (detaching) detach(t13);
			if (if_block2) if_block2.d(detaching);
			if (detaching) detach(if_block2_anchor);
		}
	};
}

// (5329:32) {#if $selectedQuest.status_id === 0 && $selectedQuest.timeLeft >= 0}
function player_quests_components_main_index_svelte_create_if_block_5(ctx) {
	let div;
	let t0;
	let t1_value = moment_default().unix(/*$selectedQuest*/ ctx[2].timeLeft).format('HH:mm:ss') + "";
	let t1;
	let t2;
	let i;

	return {
		c() {
			div = internal_element("div");
			t0 = internal_text("Осталось ");
			t1 = internal_text(t1_value);
			t2 = space();
			i = internal_element("i");
			attr(div, "class", "player-quests-main__time svelte-sfdbme");
			attr(i, "class", "player-quests-main__time-icon icon-timer svelte-sfdbme");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t0);
			append(div, t1);
			insert(target, t2, anchor);
			insert(target, i, anchor);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$selectedQuest*/ 4 && t1_value !== (t1_value = moment_default().unix(/*$selectedQuest*/ ctx[2].timeLeft).format('HH:mm:ss') + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div);
			if (detaching) detach(t2);
			if (detaching) detach(i);
		}
	};
}

// (5335:32) {#each $selectedQuest.badges as badge}
function player_quests_components_main_index_svelte_create_each_block_2(ctx) {
	let div1;
	let div0;
	let t0_value = /*badge*/ ctx[19].text + "";
	let t0;
	let t1;

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			attr(div0, "class", "player-quests-main__badge-text svelte-sfdbme");
			attr(div1, "class", "player-quests-main__badge svelte-sfdbme");
			set_style(div1, "--badgeGradient", `linear-gradient(270deg, ${/*badge*/ ctx[19].colors[0]} 0%, ${/*badge*/ ctx[19].colors[1]} 100%)`);
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, t0);
			append(div1, t1);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$selectedQuest*/ 4 && t0_value !== (t0_value = /*badge*/ ctx[19].text + "")) set_data(t0, t0_value);

			if (dirty[0] & /*$selectedQuest*/ 4) {
				set_style(div1, "--badgeGradient", `linear-gradient(270deg, ${/*badge*/ ctx[19].colors[0]} 0%, ${/*badge*/ ctx[19].colors[1]} 100%)`);
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (5362:40) {:else}
function player_quests_components_main_index_svelte_create_else_block(ctx) {
	let div;
	let t_value = `${/*stage*/ ctx[16].progress}/${/*stage*/ ctx[16].total}` + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "player-quests-main__stage-progress svelte-sfdbme");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$selectedQuest*/ 4 && t_value !== (t_value = `${/*stage*/ ctx[16].progress}/${/*stage*/ ctx[16].total}` + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (5360:40) {#if stage.progress >= stage.total}
function player_quests_components_main_index_svelte_create_if_block_4(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "player-quests-main__stage-icon icon-check-circle svelte-sfdbme");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (5355:32) {#each $selectedQuest.stages as stage}
function player_quests_components_main_index_svelte_create_each_block_1(ctx) {
	let div1;
	let div0;
	let t0_value = /*stage*/ ctx[16].name + "";
	let t0;
	let t1;
	let t2;

	function select_block_type(ctx, dirty) {
		if (/*stage*/ ctx[16].progress >= /*stage*/ ctx[16].total) return player_quests_components_main_index_svelte_create_if_block_4;
		return player_quests_components_main_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, [-1, -1]);
	let if_block = current_block_type(ctx);

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			if_block.c();
			t2 = space();
			attr(div0, "class", "player-quests-main__stage-title svelte-sfdbme");
			attr(div1, "class", "player-quests-main__stage svelte-sfdbme");
			toggle_class(div1, "player-quests-main__stage--complete", /*stage*/ ctx[16].progress >= /*stage*/ ctx[16].total);
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div0, t0);
			append(div1, t1);
			if_block.m(div1, null);
			append(div1, t2);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$selectedQuest*/ 4 && t0_value !== (t0_value = /*stage*/ ctx[16].name + "")) set_data(t0, t0_value);

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div1, t2);
				}
			}

			if (dirty[0] & /*$selectedQuest*/ 4) {
				toggle_class(div1, "player-quests-main__stage--complete", /*stage*/ ctx[16].progress >= /*stage*/ ctx[16].total);
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			if_block.d();
		}
	};
}

// (5378:32) {#each $selectedQuest.rewards as reward}
function player_quests_components_main_index_svelte_create_each_block(ctx) {
	let div1;
	let prize;
	let t0;
	let div0;
	let t1_value = /*reward*/ ctx[13].title + "";
	let t1;
	let t2;
	let current;

	prize = new components_prize_index_svelte({
			props: {
				imageSrc: /*reward*/ ctx[13].icon,
				color: /*reward*/ ctx[13].color
			}
		});

	return {
		c() {
			div1 = internal_element("div");
			create_component(prize.$$.fragment);
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(div0, "class", "player-quests-main__reward-name svelte-sfdbme");
			attr(div1, "class", "player-quests-main__reward svelte-sfdbme");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			mount_component(prize, div1, null);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
			append(div1, t2);
			current = true;
		},
		p(ctx, dirty) {
			const prize_changes = {};
			if (dirty[0] & /*$selectedQuest*/ 4) prize_changes.imageSrc = /*reward*/ ctx[13].icon;
			if (dirty[0] & /*$selectedQuest*/ 4) prize_changes.color = /*reward*/ ctx[13].color;
			prize.$set(prize_changes);
			if ((!current || dirty[0] & /*$selectedQuest*/ 4) && t1_value !== (t1_value = /*reward*/ ctx[13].title + "")) set_data(t1, t1_value);
		},
		i(local) {
			if (current) return;
			transition_in(prize.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(prize.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			destroy_component(prize);
		}
	};
}

// (5388:28) {#if $selectedQuest.statusId > 0}
function player_quests_components_main_index_svelte_create_if_block_2(ctx) {
	let div2;
	let t0;
	let div0;
	let button0;
	let t1;
	let div1;
	let button1;
	let current;
	let if_block = /*$selectedQuest*/ ctx[2].statusId === QuestStates.Complete && player_quests_components_main_index_svelte_create_if_block_3(ctx);

	button0 = new ui_kit_button_index_svelte({
			props: {
				text: 'Отметить на карте',
				iconRight: 'icon-geo-loc',
				style: 'red',
				onClick: /*gps*/ ctx[5]
			}
		});

	button1 = new ui_kit_button_index_svelte({
			props: {
				iconRight: 'icon-close-circle',
				style: 'black',
				onClick: /*cancel*/ ctx[7]
			}
		});

	return {
		c() {
			div2 = internal_element("div");
			if (if_block) if_block.c();
			t0 = space();
			div0 = internal_element("div");
			create_component(button0.$$.fragment);
			t1 = space();
			div1 = internal_element("div");
			create_component(button1.$$.fragment);
			attr(div0, "class", "player-quests-main__rewards-button svelte-sfdbme");
			attr(div1, "class", "player-quests-main__rewards-button player-quests-main__rewards-button--cancel svelte-sfdbme");
			attr(div2, "class", "player-quests-main__rewards-buttons svelte-sfdbme");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			if (if_block) if_block.m(div2, null);
			append(div2, t0);
			append(div2, div0);
			mount_component(button0, div0, null);
			append(div2, t1);
			append(div2, div1);
			mount_component(button1, div1, null);
			current = true;
		},
		p(ctx, dirty) {
			if (/*$selectedQuest*/ ctx[2].statusId === QuestStates.Complete) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty[0] & /*$selectedQuest*/ 4) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = player_quests_components_main_index_svelte_create_if_block_3(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(div2, t0);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			transition_in(button0.$$.fragment, local);
			transition_in(button1.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			transition_out(button0.$$.fragment, local);
			transition_out(button1.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div2);
			if (if_block) if_block.d();
			destroy_component(button0);
			destroy_component(button1);
		}
	};
}

// (5390:36) {#if $selectedQuest.statusId === QuestStates.Complete}
function player_quests_components_main_index_svelte_create_if_block_3(ctx) {
	let div;
	let button;
	let current;

	button = new ui_kit_button_index_svelte({
			props: {
				iconRight: 'icon-check',
				text: 'Забрать награду',
				style: 'gold',
				onClick: /*getRewards*/ ctx[6]
			}
		});

	return {
		c() {
			div = internal_element("div");
			create_component(button.$$.fragment);
			attr(div, "class", "player-quests-main__rewards-button svelte-sfdbme");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			mount_component(button, div, null);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(button.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(button.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_component(button);
		}
	};
}

// (5406:16) {#if $selectedQuest.accessType >= 0}
function player_quests_components_main_index_svelte_create_if_block_1(ctx) {
	let div3;
	let img;
	let img_src_value;
	let t0;
	let div0;
	let t3;
	let div1;
	let t4_value = MAP_QUEST_TYPE_TO_TEXT[/*$selectedQuest*/ ctx[2].accessType] + "";
	let t4;
	let t5;
	let div2;
	let button;
	let current;

	button = new ui_kit_button_index_svelte({
			props: {
				text: 'Приобрести',
				iconRight: 'icon-cart',
				style: 'gold',
				onClick: /*getAccess*/ ctx[4]
			}
		});

	return {
		c() {
			div3 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div0 = internal_element("div");
			div0.innerHTML = `Данное задание доступно только <br/> для игроков с статусом`;
			t3 = space();
			div1 = internal_element("div");
			t4 = internal_text(t4_value);
			t5 = space();
			div2 = internal_element("div");
			create_component(button.$$.fragment);
			if (!src_url_equal(img.src, img_src_value = icons_crown_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "crown");
			attr(img, "class", "player-quests-main__lock-overlay-icon svelte-sfdbme");
			attr(div0, "class", "player-quests-main__lock-overlay-message svelte-sfdbme");
			attr(div1, "class", "player-quests-main__lock-overlay-status svelte-sfdbme");
			attr(div2, "class", "player-quests-main__lock-overlay-button svelte-sfdbme");
			attr(div3, "class", "player-quests-main__lock-overlay svelte-sfdbme");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, img);
			append(div3, t0);
			append(div3, div0);
			append(div3, t3);
			append(div3, div1);
			append(div1, t4);
			append(div3, t5);
			append(div3, div2);
			mount_component(button, div2, null);
			current = true;
		},
		p(ctx, dirty) {
			if ((!current || dirty[0] & /*$selectedQuest*/ 4) && t4_value !== (t4_value = MAP_QUEST_TYPE_TO_TEXT[/*$selectedQuest*/ ctx[2].accessType] + "")) set_data(t4, t4_value);
		},
		i(local) {
			if (current) return;
			transition_in(button.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(button.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div3);
			destroy_component(button);
		}
	};
}

function player_quests_components_main_index_svelte_create_fragment(ctx) {
	let div4;
	let div1;
	let div0;
	let t0;
	let div3;
	let show_if_1 = !(0,lodash.isNil)(/*bonus*/ ctx[1]);
	let t1;
	let div2;
	let show_if = !(0,lodash.isEmpty)(/*$selectedQuest*/ ctx[2]);
	let current;
	let each_value_5 = /*$questsList*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value_5.length; i += 1) {
		each_blocks[i] = index_svelte_create_each_block_5(index_svelte_get_each_context_5(ctx, each_value_5, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	let if_block0 = show_if_1 && player_quests_components_main_index_svelte_create_if_block_6(ctx);
	let if_block1 = show_if && player_quests_components_main_index_svelte_create_if_block(ctx);

	return {
		c() {
			div4 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t0 = space();
			div3 = internal_element("div");
			if (if_block0) if_block0.c();
			t1 = space();
			div2 = internal_element("div");
			if (if_block1) if_block1.c();
			attr(div0, "class", "player-quests-main__quest-list svelte-sfdbme");
			attr(div1, "class", "player-quests-main__sidebar svelte-sfdbme");
			attr(div2, "class", "player-quests-main__main svelte-sfdbme");
			attr(div3, "class", "player-quests-main__content svelte-sfdbme");
			attr(div4, "class", "player-quests-main svelte-sfdbme");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div1);
			append(div1, div0);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div0, null);
			}

			append(div4, t0);
			append(div4, div3);
			if (if_block0) if_block0.m(div3, null);
			append(div3, t1);
			append(div3, div2);
			if (if_block1) if_block1.m(div2, null);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$selectedQuest, $questsList, selectQuest*/ 13) {
				each_value_5 = /*$questsList*/ ctx[0];
				let i;

				for (i = 0; i < each_value_5.length; i += 1) {
					const child_ctx = index_svelte_get_each_context_5(ctx, each_value_5, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = index_svelte_create_each_block_5(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div0, null);
					}
				}

				group_outros();

				for (i = each_value_5.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}

			if (dirty[0] & /*bonus*/ 2) show_if_1 = !(0,lodash.isNil)(/*bonus*/ ctx[1]);

			if (show_if_1) {
				if (if_block0) {
					if_block0.p(ctx, dirty);

					if (dirty[0] & /*bonus*/ 2) {
						transition_in(if_block0, 1);
					}
				} else {
					if_block0 = player_quests_components_main_index_svelte_create_if_block_6(ctx);
					if_block0.c();
					transition_in(if_block0, 1);
					if_block0.m(div3, t1);
				}
			} else if (if_block0) {
				group_outros();

				transition_out(if_block0, 1, 1, () => {
					if_block0 = null;
				});

				check_outros();
			}

			if (dirty[0] & /*$selectedQuest*/ 4) show_if = !(0,lodash.isEmpty)(/*$selectedQuest*/ ctx[2]);

			if (show_if) {
				if (if_block1) {
					if_block1.p(ctx, dirty);

					if (dirty[0] & /*$selectedQuest*/ 4) {
						transition_in(if_block1, 1);
					}
				} else {
					if_block1 = player_quests_components_main_index_svelte_create_if_block(ctx);
					if_block1.c();
					transition_in(if_block1, 1);
					if_block1.m(div2, null);
				}
			} else if (if_block1) {
				group_outros();

				transition_out(if_block1, 1, 1, () => {
					if_block1 = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value_5.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			transition_in(if_block0);
			transition_in(if_block1);
			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			transition_out(if_block0);
			transition_out(if_block1);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div4);
			destroy_each(each_blocks, detaching);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
		}
	};
}

function player_quests_components_main_index_svelte_instance($$self, $$props, $$invalidate) {
	let bonus;
	let $questsList;
	let $selectedCategory;
	let $selectedQuest;
	let $categoryBonuses;
	component_subscribe($$self, questsList, $$value => $$invalidate(0, $questsList = $$value));
	component_subscribe($$self, selectedCategory, $$value => $$invalidate(9, $selectedCategory = $$value));
	component_subscribe($$self, selectedQuest, $$value => $$invalidate(2, $selectedQuest = $$value));
	component_subscribe($$self, categoryBonuses, $$value => $$invalidate(10, $categoryBonuses = $$value));

	const selectQuest = quest => {
		set_store_value(selectedQuest, $selectedQuest = quest, $selectedQuest);
	};

	const getAccess = () => {
		sendClientMessage('playerQuests.quest.getAccess', $selectedQuest.categoryId, $selectedQuest.id, $selectedQuest.accessType);
	};

	const gps = () => {
		sendClientMessage('playerQuests.quest.gps', $selectedQuest.categoryId, $selectedQuest.id);
	};

	const getRewards = () => {
		sendClientMessage('playerQuests.quest.getRewards', $selectedQuest.categoryId, $selectedQuest.id);
		set_store_value(selectedQuest, $selectedQuest.statusId = QuestStates.Unavailable, $selectedQuest);

		if ($selectedCategory.id === -1) {
			set_store_value(questsList, $questsList = $questsList.filter(item => item.statusId > 0), $questsList);
		}

		set_store_value(questsList, $questsList = $questsList.sort((a, b) => b.statusId - a.statusId), $questsList);
	};

	const cancel = () => {
		sendClientMessage('playerQuests.quest.cancel', $selectedQuest.categoryId, $selectedQuest.id);
	};

	const getFreeReward = reward => {
		if (reward.received || reward.progressPercents < 100) {
			return;
		}

		sendClientMessage('playerQuests.quest.getFreeReward', $selectedCategory.id, reward.id);
	};

	const click_handler = quest => selectQuest(quest);
	const click_handler_1 = reward => getFreeReward(reward);

	$$self.$$.update = () => {
		if ($$self.$$.dirty[0] & /*$categoryBonuses, $selectedCategory*/ 1536) {
			$: $$invalidate(1, bonus = $categoryBonuses[$selectedCategory.id]);
		}

		if ($$self.$$.dirty[0] & /*$questsList*/ 1) {
			$: {
				set_store_value(questsList, $questsList = $questsList.sort((a, b) => b.statusId - a.statusId), $questsList);
				selectQuest($questsList[0]);
			}
		}
	};

	return [
		$questsList,
		bonus,
		$selectedQuest,
		selectQuest,
		getAccess,
		gps,
		getRewards,
		cancel,
		getFreeReward,
		$selectedCategory,
		$categoryBonuses,
		click_handler,
		click_handler_1
	];
}

class player_quests_components_main_index_svelte_Main extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, player_quests_components_main_index_svelte_instance, player_quests_components_main_index_svelte_create_fragment, safe_not_equal, {}, player_quests_components_main_index_svelte_add_css, [-1, -1]);
	}
}

/* harmony default export */ const player_quests_components_main_index_svelte = (player_quests_components_main_index_svelte_Main);
;// CONCATENATED MODULE: ./src/views/player-quests/components/chapters/index.svelte
/* src\views\player-quests\components\chapters\index.svelte generated by Svelte v3.49.0 */









function chapters_index_svelte_add_css(target) {
	append_styles(target, "svelte-8qoll2", "@keyframes svelte-8qoll2-blinking{50%{opacity:0}}@keyframes svelte-8qoll2-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-8qoll2-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-8qoll2-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-8qoll2-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-8qoll2-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-8qoll2-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-8qoll2-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-8qoll2-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-8qoll2-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-8qoll2-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-8qoll2-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-8qoll2-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-8qoll2-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-8qoll2-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.player-quests-chapters.svelte-8qoll2{position:absolute;width:100%;height:100%;display:flex;flex-direction:column;justify-content:space-between;align-items:center}.player-quests-chapters__title.svelte-8qoll2{color:#FFFFFF;font-family:\"HeadingNowBold\";font-size:calc(0.01875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__title.svelte-8qoll2{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__title.svelte-8qoll2{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__title.svelte-8qoll2{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__title.svelte-8qoll2{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__title.svelte-8qoll2{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__title.svelte-8qoll2{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__title.svelte-8qoll2{font-size:calc(0.020625 * 100vw + 0px)}}.player-quests-chapters__row.svelte-8qoll2{width:100%;display:flex;justify-content:flex-start;gap:calc(0.0130208333 * 100vw + 0px);padding-bottom:calc(0.0395833333 * 100vw + 0px);overflow:auto}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__row.svelte-8qoll2{gap:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__row.svelte-8qoll2{gap:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__row.svelte-8qoll2{gap:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__row.svelte-8qoll2{gap:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__row.svelte-8qoll2{gap:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__row.svelte-8qoll2{gap:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__row.svelte-8qoll2{gap:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__row.svelte-8qoll2{padding-bottom:calc(0.0395833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__row.svelte-8qoll2{padding-bottom:calc(0.0395833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__row.svelte-8qoll2{padding-bottom:calc(0.0304791667 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__row.svelte-8qoll2{padding-bottom:calc(0.0435416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__row.svelte-8qoll2{padding-bottom:calc(0.0277083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__row.svelte-8qoll2{padding-bottom:calc(0.035625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__row.svelte-8qoll2{padding-bottom:calc(0.0435416667 * 100vw + 0px)}}.player-quests-chapters__row.svelte-8qoll2::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__row.svelte-8qoll2::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__row.svelte-8qoll2::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__row.svelte-8qoll2::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__row.svelte-8qoll2::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__row.svelte-8qoll2::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__row.svelte-8qoll2::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__row.svelte-8qoll2::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__row.svelte-8qoll2::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__row.svelte-8qoll2::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__row.svelte-8qoll2::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__row.svelte-8qoll2::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__row.svelte-8qoll2::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__row.svelte-8qoll2::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__row.svelte-8qoll2::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.player-quests-chapters__row.svelte-8qoll2::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__row.svelte-8qoll2::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__row.svelte-8qoll2::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__row.svelte-8qoll2::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__row.svelte-8qoll2::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__row.svelte-8qoll2::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__row.svelte-8qoll2::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__row.svelte-8qoll2::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.player-quests-chapters__row.svelte-8qoll2::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__row.svelte-8qoll2::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__row.svelte-8qoll2::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__row.svelte-8qoll2::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__row.svelte-8qoll2::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__row.svelte-8qoll2::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__row.svelte-8qoll2::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__row.svelte-8qoll2::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}.player-quests-chapters__chapter.svelte-8qoll2{width:100%;position:relative;background-color:#131516;border-style:solid;border-color:rgba(255, 255, 255, 0.2);transition:0.14s ease-out;transition-property:border-color;background-image:var(--cover);background-repeat:no-repeat;background-size:cover;height:calc(0.3125 * 100vw + 0px);min-width:calc(0.1822916667 * 100vw + 0px);max-width:calc(0.1822916667 * 100vw + 0px);border-radius:calc(0.0078125 * 100vw + 0px);border-width:calc(0.0005208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__chapter.svelte-8qoll2{height:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__chapter.svelte-8qoll2{height:calc(0.3125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__chapter.svelte-8qoll2{height:calc(0.240625 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__chapter.svelte-8qoll2{height:calc(0.34375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__chapter.svelte-8qoll2{height:calc(0.21875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__chapter.svelte-8qoll2{height:calc(0.28125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__chapter.svelte-8qoll2{height:calc(0.34375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__chapter.svelte-8qoll2{min-width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__chapter.svelte-8qoll2{min-width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__chapter.svelte-8qoll2{min-width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__chapter.svelte-8qoll2{min-width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__chapter.svelte-8qoll2{min-width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__chapter.svelte-8qoll2{min-width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__chapter.svelte-8qoll2{min-width:calc(0.2005208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__chapter.svelte-8qoll2{max-width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__chapter.svelte-8qoll2{max-width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__chapter.svelte-8qoll2{max-width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__chapter.svelte-8qoll2{max-width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__chapter.svelte-8qoll2{max-width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__chapter.svelte-8qoll2{max-width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__chapter.svelte-8qoll2{max-width:calc(0.2005208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__chapter.svelte-8qoll2{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__chapter.svelte-8qoll2{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__chapter.svelte-8qoll2{border-radius:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__chapter.svelte-8qoll2{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__chapter.svelte-8qoll2{border-radius:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__chapter.svelte-8qoll2{border-radius:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__chapter.svelte-8qoll2{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__chapter.svelte-8qoll2{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__chapter.svelte-8qoll2{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__chapter.svelte-8qoll2{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__chapter.svelte-8qoll2{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__chapter.svelte-8qoll2{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__chapter.svelte-8qoll2{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__chapter.svelte-8qoll2{border-width:calc(0.0005729167 * 100vw + 0px)}}.player-quests-chapters__chapter.svelte-8qoll2:hover{border-color:#FFFFFF}.player-quests-chapters__chapter--complete.svelte-8qoll2{border-color:#95FF00}.player-quests-chapters__chapter-inner.svelte-8qoll2{position:absolute;display:flex;flex-direction:column;left:calc(0.0130208333 * 100vw + 0px);right:calc(0.0130208333 * 100vw + 0px);bottom:calc(0.0130208333 * 100vw + 0px);gap:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__chapter-inner.svelte-8qoll2{left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__chapter-inner.svelte-8qoll2{left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__chapter-inner.svelte-8qoll2{left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__chapter-inner.svelte-8qoll2{left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__chapter-inner.svelte-8qoll2{left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__chapter-inner.svelte-8qoll2{left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__chapter-inner.svelte-8qoll2{left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__chapter-inner.svelte-8qoll2{right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__chapter-inner.svelte-8qoll2{right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__chapter-inner.svelte-8qoll2{right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__chapter-inner.svelte-8qoll2{right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__chapter-inner.svelte-8qoll2{right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__chapter-inner.svelte-8qoll2{right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__chapter-inner.svelte-8qoll2{right:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__chapter-inner.svelte-8qoll2{bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__chapter-inner.svelte-8qoll2{bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__chapter-inner.svelte-8qoll2{bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__chapter-inner.svelte-8qoll2{bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__chapter-inner.svelte-8qoll2{bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__chapter-inner.svelte-8qoll2{bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__chapter-inner.svelte-8qoll2{bottom:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__chapter-inner.svelte-8qoll2{gap:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__chapter-inner.svelte-8qoll2{gap:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__chapter-inner.svelte-8qoll2{gap:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__chapter-inner.svelte-8qoll2{gap:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__chapter-inner.svelte-8qoll2{gap:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__chapter-inner.svelte-8qoll2{gap:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__chapter-inner.svelte-8qoll2{gap:calc(0.0200520833 * 100vw + 0px)}}.player-quests-chapters__chapter-state.svelte-8qoll2{height:calc(0.028125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__chapter-state.svelte-8qoll2{height:calc(0.028125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__chapter-state.svelte-8qoll2{height:calc(0.028125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__chapter-state.svelte-8qoll2{height:calc(0.02165625 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__chapter-state.svelte-8qoll2{height:calc(0.0309375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__chapter-state.svelte-8qoll2{height:calc(0.0196875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__chapter-state.svelte-8qoll2{height:calc(0.0253125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__chapter-state.svelte-8qoll2{height:calc(0.0309375 * 100vw + 0px)}}.player-quests-chapters__chapter-title.svelte-8qoll2{color:#FFFFFF;font-family:\"HeadingNowBold\";font-size:calc(0.015625 * 100vw + 0px);line-height:calc(0.0197916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__chapter-title.svelte-8qoll2{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__chapter-title.svelte-8qoll2{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__chapter-title.svelte-8qoll2{font-size:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__chapter-title.svelte-8qoll2{font-size:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__chapter-title.svelte-8qoll2{font-size:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__chapter-title.svelte-8qoll2{font-size:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__chapter-title.svelte-8qoll2{font-size:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__chapter-title.svelte-8qoll2{line-height:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__chapter-title.svelte-8qoll2{line-height:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__chapter-title.svelte-8qoll2{line-height:calc(0.0152395833 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__chapter-title.svelte-8qoll2{line-height:calc(0.0217708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__chapter-title.svelte-8qoll2{line-height:calc(0.0138541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__chapter-title.svelte-8qoll2{line-height:calc(0.0178125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__chapter-title.svelte-8qoll2{line-height:calc(0.0217708333 * 100vw + 0px)}}.player-quests-chapters__chapter-progress.svelte-8qoll2{height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:space-between}.player-quests-chapters__chapter-progress-caption.svelte-8qoll2{color:#FFFFFF;font-family:\"HeadingNowMedium\";text-transform:uppercase;font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__chapter-progress-caption.svelte-8qoll2{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__chapter-progress-caption.svelte-8qoll2{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__chapter-progress-caption.svelte-8qoll2{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__chapter-progress-caption.svelte-8qoll2{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__chapter-progress-caption.svelte-8qoll2{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__chapter-progress-caption.svelte-8qoll2{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__chapter-progress-caption.svelte-8qoll2{font-size:calc(0.0080208333 * 100vw + 0px)}}.player-quests-chapters__chapter-progress-bar.svelte-8qoll2{width:100%;position:relative;background-color:rgba(255, 255, 255, 0.3);height:calc(0.0010416667 * 100vw + 0px);border-radius:calc(0.0010416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__chapter-progress-bar.svelte-8qoll2{height:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__chapter-progress-bar.svelte-8qoll2{height:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__chapter-progress-bar.svelte-8qoll2{height:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__chapter-progress-bar.svelte-8qoll2{height:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__chapter-progress-bar.svelte-8qoll2{height:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__chapter-progress-bar.svelte-8qoll2{height:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__chapter-progress-bar.svelte-8qoll2{height:calc(0.0011458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__chapter-progress-bar.svelte-8qoll2{border-radius:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__chapter-progress-bar.svelte-8qoll2{border-radius:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__chapter-progress-bar.svelte-8qoll2{border-radius:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__chapter-progress-bar.svelte-8qoll2{border-radius:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__chapter-progress-bar.svelte-8qoll2{border-radius:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__chapter-progress-bar.svelte-8qoll2{border-radius:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__chapter-progress-bar.svelte-8qoll2{border-radius:calc(0.0011458333 * 100vw + 0px)}}.player-quests-chapters__chapter-progress-bar-current.svelte-8qoll2{position:absolute;top:50%;width:var(--progress);background-color:#FFC42C;transform:translateY(-50%);height:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__chapter-progress-bar-current.svelte-8qoll2{height:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__chapter-progress-bar-current.svelte-8qoll2{height:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__chapter-progress-bar-current.svelte-8qoll2{height:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__chapter-progress-bar-current.svelte-8qoll2{height:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__chapter-progress-bar-current.svelte-8qoll2{height:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__chapter-progress-bar-current.svelte-8qoll2{height:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__chapter-progress-bar-current.svelte-8qoll2{height:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__chapter-progress-bar-current.svelte-8qoll2{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__chapter-progress-bar-current.svelte-8qoll2{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__chapter-progress-bar-current.svelte-8qoll2{border-radius:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__chapter-progress-bar-current.svelte-8qoll2{border-radius:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__chapter-progress-bar-current.svelte-8qoll2{border-radius:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__chapter-progress-bar-current.svelte-8qoll2{border-radius:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__chapter-progress-bar-current.svelte-8qoll2{border-radius:calc(0.0022916667 * 100vw + 0px)}}.player-quests-chapters__chapter-progress-counter.svelte-8qoll2{color:#FFFFFF;font-family:\"HeadingNowBold\";font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__chapter-progress-counter.svelte-8qoll2{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__chapter-progress-counter.svelte-8qoll2{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__chapter-progress-counter.svelte-8qoll2{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__chapter-progress-counter.svelte-8qoll2{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__chapter-progress-counter.svelte-8qoll2{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__chapter-progress-counter.svelte-8qoll2{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__chapter-progress-counter.svelte-8qoll2{font-size:calc(0.0080208333 * 100vw + 0px)}}.player-quests-chapters__chapter-complete-wrapper.svelte-8qoll2{height:100%;width:100%;display:flex;align-items:center;justify-content:center;gap:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__chapter-complete-wrapper.svelte-8qoll2{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__chapter-complete-wrapper.svelte-8qoll2{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__chapter-complete-wrapper.svelte-8qoll2{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__chapter-complete-wrapper.svelte-8qoll2{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__chapter-complete-wrapper.svelte-8qoll2{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__chapter-complete-wrapper.svelte-8qoll2{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__chapter-complete-wrapper.svelte-8qoll2{gap:calc(0.0057291667 * 100vw + 0px)}}.player-quests-chapters__chapter-complete-text.svelte-8qoll2{color:#95FF00;font-family:\"HeadingNowBold\";text-transform:uppercase;font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__chapter-complete-text.svelte-8qoll2{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__chapter-complete-text.svelte-8qoll2{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__chapter-complete-text.svelte-8qoll2{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__chapter-complete-text.svelte-8qoll2{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__chapter-complete-text.svelte-8qoll2{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__chapter-complete-text.svelte-8qoll2{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__chapter-complete-text.svelte-8qoll2{font-size:calc(0.0080208333 * 100vw + 0px)}}.player-quests-chapters__chapter-complete-icon.svelte-8qoll2{color:#95FF00;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__chapter-complete-icon.svelte-8qoll2{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__chapter-complete-icon.svelte-8qoll2{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__chapter-complete-icon.svelte-8qoll2{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__chapter-complete-icon.svelte-8qoll2{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__chapter-complete-icon.svelte-8qoll2{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__chapter-complete-icon.svelte-8qoll2{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__chapter-complete-icon.svelte-8qoll2{font-size:calc(0.0103125 * 100vw + 0px)}}.player-quests-chapters__lock-overlay.svelte-8qoll2{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:rgba(0, 0, 0, 0.9);overflow:hidden;padding:calc(0.0130208333 * 100vw + 0px);border-radius:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__lock-overlay.svelte-8qoll2{padding:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__lock-overlay.svelte-8qoll2{padding:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__lock-overlay.svelte-8qoll2{padding:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__lock-overlay.svelte-8qoll2{padding:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__lock-overlay.svelte-8qoll2{padding:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__lock-overlay.svelte-8qoll2{padding:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__lock-overlay.svelte-8qoll2{padding:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__lock-overlay.svelte-8qoll2{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__lock-overlay.svelte-8qoll2{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__lock-overlay.svelte-8qoll2{border-radius:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__lock-overlay.svelte-8qoll2{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__lock-overlay.svelte-8qoll2{border-radius:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__lock-overlay.svelte-8qoll2{border-radius:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__lock-overlay.svelte-8qoll2{border-radius:calc(0.00859375 * 100vw + 0px)}}.player-quests-chapters__lock-wrapper.svelte-8qoll2{display:flex;flex-direction:column;align-items:center;justify-content:center;transform:translateY(-20%);gap:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__lock-wrapper.svelte-8qoll2{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__lock-wrapper.svelte-8qoll2{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__lock-wrapper.svelte-8qoll2{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__lock-wrapper.svelte-8qoll2{gap:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__lock-wrapper.svelte-8qoll2{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__lock-wrapper.svelte-8qoll2{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__lock-wrapper.svelte-8qoll2{gap:calc(0.0114583333 * 100vw + 0px)}}.player-quests-chapters__lock-icon.svelte-8qoll2{height:calc(0.0520833333 * 100vw + 0px);margin-bottom:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__lock-icon.svelte-8qoll2{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__lock-icon.svelte-8qoll2{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__lock-icon.svelte-8qoll2{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__lock-icon.svelte-8qoll2{height:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__lock-icon.svelte-8qoll2{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__lock-icon.svelte-8qoll2{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__lock-icon.svelte-8qoll2{height:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__lock-icon.svelte-8qoll2{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__lock-icon.svelte-8qoll2{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__lock-icon.svelte-8qoll2{margin-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__lock-icon.svelte-8qoll2{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__lock-icon.svelte-8qoll2{margin-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__lock-icon.svelte-8qoll2{margin-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__lock-icon.svelte-8qoll2{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}.player-quests-chapters__lock-message.svelte-8qoll2{color:#FFFFFF;font-family:\"HeadingNowBold\";text-align:center;text-transform:uppercase;font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__lock-message.svelte-8qoll2{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__lock-message.svelte-8qoll2{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__lock-message.svelte-8qoll2{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__lock-message.svelte-8qoll2{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__lock-message.svelte-8qoll2{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__lock-message.svelte-8qoll2{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__lock-message.svelte-8qoll2{font-size:calc(0.006875 * 100vw + 0px)}}.player-quests-chapters__lock-status.svelte-8qoll2{color:#FFC42C;font-family:\"HeadingNowBold\";text-transform:uppercase;font-size:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__lock-status.svelte-8qoll2{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__lock-status.svelte-8qoll2{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__lock-status.svelte-8qoll2{font-size:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__lock-status.svelte-8qoll2{font-size:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__lock-status.svelte-8qoll2{font-size:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__lock-status.svelte-8qoll2{font-size:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__lock-status.svelte-8qoll2{font-size:calc(0.0171875 * 100vw + 0px)}}.player-quests-chapters__lock-button.svelte-8qoll2{position:absolute;height:calc(0.025 * 100vw + 0px);left:calc(0.0130208333 * 100vw + 0px);right:calc(0.0130208333 * 100vw + 0px);bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__lock-button.svelte-8qoll2{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__lock-button.svelte-8qoll2{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__lock-button.svelte-8qoll2{height:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__lock-button.svelte-8qoll2{height:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__lock-button.svelte-8qoll2{height:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__lock-button.svelte-8qoll2{height:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__lock-button.svelte-8qoll2{height:calc(0.0275 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__lock-button.svelte-8qoll2{left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__lock-button.svelte-8qoll2{left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__lock-button.svelte-8qoll2{left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__lock-button.svelte-8qoll2{left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__lock-button.svelte-8qoll2{left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__lock-button.svelte-8qoll2{left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__lock-button.svelte-8qoll2{left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__lock-button.svelte-8qoll2{right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__lock-button.svelte-8qoll2{right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__lock-button.svelte-8qoll2{right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__lock-button.svelte-8qoll2{right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__lock-button.svelte-8qoll2{right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__lock-button.svelte-8qoll2{right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__lock-button.svelte-8qoll2{right:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapters__lock-button.svelte-8qoll2{bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapters__lock-button.svelte-8qoll2{bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapters__lock-button.svelte-8qoll2{bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapters__lock-button.svelte-8qoll2{bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapters__lock-button.svelte-8qoll2{bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapters__lock-button.svelte-8qoll2{bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapters__lock-button.svelte-8qoll2{bottom:calc(0.0143229167 * 100vw + 0px)}}");
}

function chapters_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[5] = list[i];
	return child_ctx;
}

// (1738:24) {:else}
function chapters_index_svelte_create_else_block(ctx) {
	let div4;
	let div0;
	let t1;
	let div2;
	let div1;
	let t2;
	let div3;
	let t3_value = /*chapter*/ ctx[5].progress + "";
	let t3;
	let t4;

	return {
		c() {
			div4 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "ПРОГРЕСС";
			t1 = space();
			div2 = internal_element("div");
			div1 = internal_element("div");
			t2 = space();
			div3 = internal_element("div");
			t3 = internal_text(t3_value);
			t4 = internal_text(" %");
			attr(div0, "class", "player-quests-chapters__chapter-progress-caption svelte-8qoll2");
			attr(div1, "class", "player-quests-chapters__chapter-progress-bar-current svelte-8qoll2");
			set_style(div1, "--progress", /*chapter*/ ctx[5].progress + "%");
			attr(div2, "class", "player-quests-chapters__chapter-progress-bar svelte-8qoll2");
			attr(div3, "class", "player-quests-chapters__chapter-progress-counter svelte-8qoll2");
			attr(div4, "class", "player-quests-chapters__chapter-progress svelte-8qoll2");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div0);
			append(div4, t1);
			append(div4, div2);
			append(div2, div1);
			append(div4, t2);
			append(div4, div3);
			append(div3, t3);
			append(div3, t4);
		},
		p(ctx, dirty) {
			if (dirty & /*$chapters*/ 1) {
				set_style(div1, "--progress", /*chapter*/ ctx[5].progress + "%");
			}

			if (dirty & /*$chapters*/ 1 && t3_value !== (t3_value = /*chapter*/ ctx[5].progress + "")) set_data(t3, t3_value);
		},
		d(detaching) {
			if (detaching) detach(div4);
		}
	};
}

// (1733:24) {#if chapter.progress === 100}
function chapters_index_svelte_create_if_block_1(ctx) {
	let div1;

	return {
		c() {
			div1 = internal_element("div");

			div1.innerHTML = `<i class="player-quests-chapters__chapter-complete-icon icon-check-circle svelte-8qoll2"></i> 
                                <div class="player-quests-chapters__chapter-complete-text svelte-8qoll2">ВЫПОЛНЕНО</div>`;

			attr(div1, "class", "player-quests-chapters__chapter-complete-wrapper svelte-8qoll2");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (1749:16) {#if !$mainInfo.premium && chapter.vip}
function chapters_index_svelte_create_if_block(ctx) {
	let div4;
	let div2;
	let img;
	let img_src_value;
	let t0;
	let div0;
	let t3;
	let div1;
	let t5;
	let div3;
	let button;
	let current;

	button = new ui_kit_button_index_svelte({
			props: {
				text: 'Приобрести',
				iconRight: 'icon-cart',
				style: 'gold'
			}
		});

	return {
		c() {
			div4 = internal_element("div");
			div2 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div0 = internal_element("div");
			div0.innerHTML = `Данное задание доступно только <br/> для игроков с статусом`;
			t3 = space();
			div1 = internal_element("div");
			div1.textContent = "diamond vip";
			t5 = space();
			div3 = internal_element("div");
			create_component(button.$$.fragment);
			if (!src_url_equal(img.src, img_src_value = icons_crown_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "crown");
			attr(img, "class", "player-quests-chapters__lock-icon svelte-8qoll2");
			attr(div0, "class", "player-quests-chapters__lock-message svelte-8qoll2");
			attr(div1, "class", "player-quests-chapters__lock-status svelte-8qoll2");
			attr(div2, "class", "player-quests-chapters__lock-wrapper svelte-8qoll2");
			attr(div3, "class", "player-quests-chapters__lock-button svelte-8qoll2");
			attr(div4, "class", "player-quests-chapters__lock-overlay svelte-8qoll2");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div2);
			append(div2, img);
			append(div2, t0);
			append(div2, div0);
			append(div2, t3);
			append(div2, div1);
			append(div4, t5);
			append(div4, div3);
			mount_component(button, div3, null);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(button.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(button.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div4);
			destroy_component(button);
		}
	};
}

// (1721:8) {#each $chapters as chapter}
function chapters_index_svelte_create_each_block(ctx) {
	let div3;
	let div2;
	let div0;
	let t0_value = /*chapter*/ ctx[5].title + "";
	let t0;
	let t1;
	let div1;
	let t2;
	let t3;
	let current;
	let mounted;
	let dispose;

	function select_block_type(ctx, dirty) {
		if (/*chapter*/ ctx[5].progress === 100) return chapters_index_svelte_create_if_block_1;
		return chapters_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block0 = current_block_type(ctx);
	let if_block1 = !/*$mainInfo*/ ctx[1].premium && /*chapter*/ ctx[5].vip && chapters_index_svelte_create_if_block(ctx);

	function click_handler() {
		return /*click_handler*/ ctx[3](/*chapter*/ ctx[5]);
	}

	return {
		c() {
			div3 = internal_element("div");
			div2 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			div1 = internal_element("div");
			if_block0.c();
			t2 = space();
			if (if_block1) if_block1.c();
			t3 = space();
			attr(div0, "class", "player-quests-chapters__chapter-title svelte-8qoll2");
			attr(div1, "class", "player-quests-chapters__chapter-state svelte-8qoll2");
			attr(div2, "class", "player-quests-chapters__chapter-inner svelte-8qoll2");
			attr(div3, "class", "player-quests-chapters__chapter svelte-8qoll2");
			set_style(div3, "--cover", `url('${cdn_CDN_URL_RODINA}/quests/chapter/chapters/${/*chapter*/ ctx[5].cover}.webp')`);
			toggle_class(div3, "player-quests-chapters__chapter--complete", /*chapter*/ ctx[5].progress === 100);
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div2);
			append(div2, div0);
			append(div0, t0);
			append(div2, t1);
			append(div2, div1);
			if_block0.m(div1, null);
			append(div3, t2);
			if (if_block1) if_block1.m(div3, null);
			append(div3, t3);
			current = true;

			if (!mounted) {
				dispose = listen(div3, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if ((!current || dirty & /*$chapters*/ 1) && t0_value !== (t0_value = /*chapter*/ ctx[5].title + "")) set_data(t0, t0_value);

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block0) {
				if_block0.p(ctx, dirty);
			} else {
				if_block0.d(1);
				if_block0 = current_block_type(ctx);

				if (if_block0) {
					if_block0.c();
					if_block0.m(div1, null);
				}
			}

			if (!/*$mainInfo*/ ctx[1].premium && /*chapter*/ ctx[5].vip) {
				if (if_block1) {
					if_block1.p(ctx, dirty);

					if (dirty & /*$mainInfo, $chapters*/ 3) {
						transition_in(if_block1, 1);
					}
				} else {
					if_block1 = chapters_index_svelte_create_if_block(ctx);
					if_block1.c();
					transition_in(if_block1, 1);
					if_block1.m(div3, t3);
				}
			} else if (if_block1) {
				group_outros();

				transition_out(if_block1, 1, 1, () => {
					if_block1 = null;
				});

				check_outros();
			}

			if (!current || dirty & /*$chapters*/ 1) {
				set_style(div3, "--cover", `url('${cdn_CDN_URL_RODINA}/quests/chapter/chapters/${/*chapter*/ ctx[5].cover}.webp')`);
			}

			if (dirty & /*$chapters*/ 1) {
				toggle_class(div3, "player-quests-chapters__chapter--complete", /*chapter*/ ctx[5].progress === 100);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block1);
			current = true;
		},
		o(local) {
			transition_out(if_block1);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div3);
			if_block0.d();
			if (if_block1) if_block1.d();
			mounted = false;
			dispose();
		}
	};
}

function chapters_index_svelte_create_fragment(ctx) {
	let div2;
	let div0;
	let t1;
	let div1;
	let current;
	let each_value = /*$chapters*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = chapters_index_svelte_create_each_block(chapters_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "Выберите главу для прохождения";
			t1 = space();
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div0, "class", "player-quests-chapters__title svelte-8qoll2");
			attr(div1, "class", "player-quests-chapters__row svelte-8qoll2");
			attr(div2, "class", "player-quests-chapters svelte-8qoll2");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div2, t1);
			append(div2, div1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}

			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*CDN_URL_RODINA, $chapters, openChapter, crownIcon, $mainInfo*/ 7) {
				each_value = /*$chapters*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = chapters_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = chapters_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div1, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div2);
			destroy_each(each_blocks, detaching);
		}
	};
}

function chapters_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedCategory;
	let $chapters;
	let $mainInfo;
	component_subscribe($$self, selectedCategory, $$value => $$invalidate(4, $selectedCategory = $$value));
	component_subscribe($$self, chapters, $$value => $$invalidate(0, $chapters = $$value));
	component_subscribe($$self, player_quests_store_mainInfo, $$value => $$invalidate(1, $mainInfo = $$value));

	const openChapter = id => {
		set_store_value(selectedCategory, $selectedCategory = constants_Views.Chapter, $selectedCategory);
		sendClientMessage('questsApp.chapters.select', id);
	};

	const click_handler = chapter => openChapter(chapter.id);
	return [$chapters, $mainInfo, openChapter, click_handler];
}

class Chapters extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, chapters_index_svelte_instance, chapters_index_svelte_create_fragment, safe_not_equal, {}, chapters_index_svelte_add_css);
	}
}

/* harmony default export */ const chapters_index_svelte = (Chapters);
;// CONCATENATED MODULE: ./src/views/player-quests/components/chapter/index.svelte
/* src\views\player-quests\components\chapter\index.svelte generated by Svelte v3.49.0 */






function chapter_index_svelte_add_css(target) {
	append_styles(target, "svelte-1671kcd", "@keyframes svelte-1671kcd-blinking{50%{opacity:0}}@keyframes svelte-1671kcd-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1671kcd-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1671kcd-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1671kcd-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1671kcd-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1671kcd-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1671kcd-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1671kcd-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1671kcd-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1671kcd-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1671kcd-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1671kcd-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1671kcd-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1671kcd-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.player-quests-chapter.svelte-1671kcd.svelte-1671kcd{position:relative;width:100%;height:100%}.player-quests-chapter__sidebar.svelte-1671kcd.svelte-1671kcd{position:absolute;top:0;left:0;bottom:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;padding-right:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__sidebar.svelte-1671kcd.svelte-1671kcd{padding-right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__sidebar.svelte-1671kcd.svelte-1671kcd{padding-right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__sidebar.svelte-1671kcd.svelte-1671kcd{padding-right:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__sidebar.svelte-1671kcd.svelte-1671kcd{padding-right:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__sidebar.svelte-1671kcd.svelte-1671kcd{padding-right:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__sidebar.svelte-1671kcd.svelte-1671kcd{padding-right:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__sidebar.svelte-1671kcd.svelte-1671kcd{padding-right:calc(0.00859375 * 100vw + 0px)}}.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{display:flex;align-items:center;justify-content:center;background-color:#131516;border-top-left-radius:calc(0.0052083333 * 100vw + 0px);border-top-right-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.1041666667 * 100vw + 0px);height:calc(0.025 * 100vw + 0px);gap:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{border-top-left-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{border-top-left-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{border-top-left-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{border-top-left-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{border-top-left-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{border-top-left-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{border-top-left-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{border-top-right-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{border-top-right-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{border-top-right-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{border-top-right-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{border-top-right-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{border-top-right-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{border-top-right-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{width:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{width:calc(0.1145833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{height:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{height:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{height:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{height:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{height:calc(0.0275 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{gap:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{gap:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{gap:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{gap:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{gap:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{gap:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__back.svelte-1671kcd.svelte-1671kcd{gap:calc(0.006875 * 100vw + 0px)}}.player-quests-chapter__back-icon.svelte-1671kcd.svelte-1671kcd{color:#FFFFFF;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__back-icon.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__back-icon.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__back-icon.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__back-icon.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__back-icon.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__back-icon.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__back-icon.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.0103125 * 100vw + 0px)}}.player-quests-chapter__back-text.svelte-1671kcd.svelte-1671kcd{color:#FFFFFF;font-family:\"HeadingNowBold\";text-transform:uppercase;font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__back-text.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__back-text.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__back-text.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__back-text.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__back-text.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__back-text.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__back-text.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.006875 * 100vw + 0px)}}.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd{overflow-x:hidden;display:flex;align-items:flex-start;padding-right:calc(0.0078125 * 100vw + 0px);height:calc(0.4166666667 * 100vw + 0px);overflow:auto}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd{padding-right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd{padding-right:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd{padding-right:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd{padding-right:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd{padding-right:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd{padding-right:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd{padding-right:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd{height:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd{height:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd{height:calc(0.3208333333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd{height:calc(0.4583333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd{height:calc(0.2916666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd{height:calc(0.375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd{height:calc(0.4583333333 * 100vw + 0px)}}.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__quest-list-wrapper.svelte-1671kcd.svelte-1671kcd::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}.player-quests-chapter__quest-list.svelte-1671kcd.svelte-1671kcd{background-color:#131516;border-radius:calc(0.0078125 * 100vw + 0px);border-top-left-radius:calc(0 * 100vw + 0px);width:calc(0.3802083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__quest-list.svelte-1671kcd.svelte-1671kcd{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__quest-list.svelte-1671kcd.svelte-1671kcd{border-radius:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__quest-list.svelte-1671kcd.svelte-1671kcd{border-radius:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__quest-list.svelte-1671kcd.svelte-1671kcd{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__quest-list.svelte-1671kcd.svelte-1671kcd{border-radius:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__quest-list.svelte-1671kcd.svelte-1671kcd{border-radius:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__quest-list.svelte-1671kcd.svelte-1671kcd{border-radius:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__quest-list.svelte-1671kcd.svelte-1671kcd{border-top-left-radius:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__quest-list.svelte-1671kcd.svelte-1671kcd{border-top-left-radius:calc(0 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__quest-list.svelte-1671kcd.svelte-1671kcd{border-top-left-radius:calc(0 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__quest-list.svelte-1671kcd.svelte-1671kcd{border-top-left-radius:calc(0 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__quest-list.svelte-1671kcd.svelte-1671kcd{border-top-left-radius:calc(0 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__quest-list.svelte-1671kcd.svelte-1671kcd{border-top-left-radius:calc(0 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__quest-list.svelte-1671kcd.svelte-1671kcd{border-top-left-radius:calc(0 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__quest-list.svelte-1671kcd.svelte-1671kcd{width:calc(0.3802083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__quest-list.svelte-1671kcd.svelte-1671kcd{width:calc(0.3802083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__quest-list.svelte-1671kcd.svelte-1671kcd{width:calc(0.2927604167 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__quest-list.svelte-1671kcd.svelte-1671kcd{width:calc(0.4182291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__quest-list.svelte-1671kcd.svelte-1671kcd{width:calc(0.2661458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__quest-list.svelte-1671kcd.svelte-1671kcd{width:calc(0.3421875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__quest-list.svelte-1671kcd.svelte-1671kcd{width:calc(0.4182291667 * 100vw + 0px)}}.player-quests-chapter__quest.svelte-1671kcd.svelte-1671kcd{position:relative;display:flex;align-items:center;justify-content:center;padding-left:calc(0.0130208333 * 100vw + 0px);padding-right:calc(0.0130208333 * 100vw + 0px);height:calc(0.0520833333 * 100vw + 0px);gap:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__quest.svelte-1671kcd.svelte-1671kcd{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__quest.svelte-1671kcd.svelte-1671kcd{padding-left:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__quest.svelte-1671kcd.svelte-1671kcd{padding-left:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__quest.svelte-1671kcd.svelte-1671kcd{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__quest.svelte-1671kcd.svelte-1671kcd{padding-left:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__quest.svelte-1671kcd.svelte-1671kcd{padding-left:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__quest.svelte-1671kcd.svelte-1671kcd{padding-left:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__quest.svelte-1671kcd.svelte-1671kcd{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__quest.svelte-1671kcd.svelte-1671kcd{padding-right:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__quest.svelte-1671kcd.svelte-1671kcd{padding-right:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__quest.svelte-1671kcd.svelte-1671kcd{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__quest.svelte-1671kcd.svelte-1671kcd{padding-right:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__quest.svelte-1671kcd.svelte-1671kcd{padding-right:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__quest.svelte-1671kcd.svelte-1671kcd{padding-right:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__quest.svelte-1671kcd.svelte-1671kcd{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__quest.svelte-1671kcd.svelte-1671kcd{height:calc(0.0520833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__quest.svelte-1671kcd.svelte-1671kcd{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__quest.svelte-1671kcd.svelte-1671kcd{height:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__quest.svelte-1671kcd.svelte-1671kcd{height:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__quest.svelte-1671kcd.svelte-1671kcd{height:calc(0.046875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__quest.svelte-1671kcd.svelte-1671kcd{height:calc(0.0572916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__quest.svelte-1671kcd.svelte-1671kcd{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__quest.svelte-1671kcd.svelte-1671kcd{gap:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__quest.svelte-1671kcd.svelte-1671kcd{gap:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__quest.svelte-1671kcd.svelte-1671kcd{gap:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__quest.svelte-1671kcd.svelte-1671kcd{gap:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__quest.svelte-1671kcd.svelte-1671kcd{gap:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__quest.svelte-1671kcd.svelte-1671kcd{gap:calc(0.00859375 * 100vw + 0px)}}.player-quests-chapter__quest.svelte-1671kcd.svelte-1671kcd:hover{background-color:rgba(255, 255, 255, 0.1)}.player-quests-chapter__quest-info.svelte-1671kcd.svelte-1671kcd{display:flex;flex-direction:column;justify-content:space-between;width:calc(0.1848958333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__quest-info.svelte-1671kcd.svelte-1671kcd{width:calc(0.1848958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__quest-info.svelte-1671kcd.svelte-1671kcd{width:calc(0.1848958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__quest-info.svelte-1671kcd.svelte-1671kcd{width:calc(0.1423697917 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__quest-info.svelte-1671kcd.svelte-1671kcd{width:calc(0.2033854167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__quest-info.svelte-1671kcd.svelte-1671kcd{width:calc(0.1294270833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__quest-info.svelte-1671kcd.svelte-1671kcd{width:calc(0.16640625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__quest-info.svelte-1671kcd.svelte-1671kcd{width:calc(0.2033854167 * 100vw + 0px)}}.player-quests-chapter__quest-title.svelte-1671kcd.svelte-1671kcd{color:#FFFFFF;font-family:\"HeadingNowBold\";text-transform:uppercase;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__quest-title.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__quest-title.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__quest-title.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__quest-title.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__quest-title.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__quest-title.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__quest-title.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.0103125 * 100vw + 0px)}}.player-quests-chapter__quest-progress.svelte-1671kcd.svelte-1671kcd{width:calc(0.15625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__quest-progress.svelte-1671kcd.svelte-1671kcd{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__quest-progress.svelte-1671kcd.svelte-1671kcd{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__quest-progress.svelte-1671kcd.svelte-1671kcd{width:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__quest-progress.svelte-1671kcd.svelte-1671kcd{width:calc(0.171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__quest-progress.svelte-1671kcd.svelte-1671kcd{width:calc(0.109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__quest-progress.svelte-1671kcd.svelte-1671kcd{width:calc(0.140625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__quest-progress.svelte-1671kcd.svelte-1671kcd{width:calc(0.171875 * 100vw + 0px)}}.player-quests-chapter__chapter-progress-row.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-row.svelte-1671kcd.svelte-1671kcd{display:flex;align-items:center;justify-content:space-between;margin-bottom:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__chapter-progress-row.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-row.svelte-1671kcd.svelte-1671kcd{margin-bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__chapter-progress-row.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-row.svelte-1671kcd.svelte-1671kcd{margin-bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__chapter-progress-row.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-row.svelte-1671kcd.svelte-1671kcd{margin-bottom:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__chapter-progress-row.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-row.svelte-1671kcd.svelte-1671kcd{margin-bottom:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__chapter-progress-row.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-row.svelte-1671kcd.svelte-1671kcd{margin-bottom:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__chapter-progress-row.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-row.svelte-1671kcd.svelte-1671kcd{margin-bottom:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__chapter-progress-row.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-row.svelte-1671kcd.svelte-1671kcd{margin-bottom:calc(0.00859375 * 100vw + 0px)}}.player-quests-chapter__chapter-progress-complete.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-complete.svelte-1671kcd.svelte-1671kcd{display:flex;align-items:center;color:#95FF00;text-transform:uppercase;gap:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__chapter-progress-complete.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-complete.svelte-1671kcd.svelte-1671kcd{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__chapter-progress-complete.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-complete.svelte-1671kcd.svelte-1671kcd{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__chapter-progress-complete.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-complete.svelte-1671kcd.svelte-1671kcd{gap:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__chapter-progress-complete.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-complete.svelte-1671kcd.svelte-1671kcd{gap:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__chapter-progress-complete.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-complete.svelte-1671kcd.svelte-1671kcd{gap:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__chapter-progress-complete.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-complete.svelte-1671kcd.svelte-1671kcd{gap:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__chapter-progress-complete.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-complete.svelte-1671kcd.svelte-1671kcd{gap:calc(0.0028645833 * 100vw + 0px)}}.player-quests-chapter__chapter-progress-counter.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-counter.svelte-1671kcd.svelte-1671kcd{color:#FFFFFF;font-family:\"HeadingNowBold\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__chapter-progress-counter.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-counter.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__chapter-progress-counter.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-counter.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__chapter-progress-counter.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-counter.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__chapter-progress-counter.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-counter.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__chapter-progress-counter.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-counter.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__chapter-progress-counter.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-counter.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__chapter-progress-counter.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-counter.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.006875 * 100vw + 0px)}}.player-quests-chapter__quest-progress-caption.svelte-1671kcd.svelte-1671kcd{color:#FFFFFF;font-family:\"HeadingNowMedium\";text-transform:uppercase;font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__quest-progress-caption.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__quest-progress-caption.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__quest-progress-caption.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__quest-progress-caption.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__quest-progress-caption.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__quest-progress-caption.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__quest-progress-caption.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.006875 * 100vw + 0px)}}.player-quests-chapter__chapter-progress-complete-text.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-complete-text.svelte-1671kcd.svelte-1671kcd{color:#95FF00;font-family:\"HeadingNowBold\";font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__chapter-progress-complete-text.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-complete-text.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__chapter-progress-complete-text.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-complete-text.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__chapter-progress-complete-text.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-complete-text.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__chapter-progress-complete-text.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-complete-text.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__chapter-progress-complete-text.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-complete-text.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__chapter-progress-complete-text.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-complete-text.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__chapter-progress-complete-text.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-complete-text.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.0080208333 * 100vw + 0px)}}.player-quests-chapter__chapter-progress-complete-icon.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-complete-icon.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__chapter-progress-complete-icon.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-complete-icon.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__chapter-progress-complete-icon.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-complete-icon.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__chapter-progress-complete-icon.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-complete-icon.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__chapter-progress-complete-icon.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-complete-icon.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__chapter-progress-complete-icon.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-complete-icon.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__chapter-progress-complete-icon.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-complete-icon.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__chapter-progress-complete-icon.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-complete-icon.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.006875 * 100vw + 0px)}}.player-quests-chapter__chapter-progress-bar.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-bar.svelte-1671kcd.svelte-1671kcd{width:100%;position:relative;background-color:rgba(255, 255, 255, 0.3);height:calc(0.0010416667 * 100vw + 0px);border-radius:calc(0.0010416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__chapter-progress-bar.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-bar.svelte-1671kcd.svelte-1671kcd{height:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__chapter-progress-bar.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-bar.svelte-1671kcd.svelte-1671kcd{height:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__chapter-progress-bar.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-bar.svelte-1671kcd.svelte-1671kcd{height:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__chapter-progress-bar.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-bar.svelte-1671kcd.svelte-1671kcd{height:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__chapter-progress-bar.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-bar.svelte-1671kcd.svelte-1671kcd{height:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__chapter-progress-bar.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-bar.svelte-1671kcd.svelte-1671kcd{height:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__chapter-progress-bar.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-bar.svelte-1671kcd.svelte-1671kcd{height:calc(0.0011458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__chapter-progress-bar.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-bar.svelte-1671kcd.svelte-1671kcd{border-radius:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__chapter-progress-bar.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-bar.svelte-1671kcd.svelte-1671kcd{border-radius:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__chapter-progress-bar.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-bar.svelte-1671kcd.svelte-1671kcd{border-radius:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__chapter-progress-bar.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-bar.svelte-1671kcd.svelte-1671kcd{border-radius:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__chapter-progress-bar.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-bar.svelte-1671kcd.svelte-1671kcd{border-radius:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__chapter-progress-bar.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-bar.svelte-1671kcd.svelte-1671kcd{border-radius:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__chapter-progress-bar.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-bar.svelte-1671kcd.svelte-1671kcd{border-radius:calc(0.0011458333 * 100vw + 0px)}}.player-quests-chapter__chapter-progress-bar-current.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-bar-current.svelte-1671kcd.svelte-1671kcd{position:absolute;top:50%;width:var(--progress);background-color:#FFC42C;transform:translateY(-50%);height:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__chapter-progress-bar-current.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-bar-current.svelte-1671kcd.svelte-1671kcd{height:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__chapter-progress-bar-current.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-bar-current.svelte-1671kcd.svelte-1671kcd{height:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__chapter-progress-bar-current.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-bar-current.svelte-1671kcd.svelte-1671kcd{height:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__chapter-progress-bar-current.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-bar-current.svelte-1671kcd.svelte-1671kcd{height:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__chapter-progress-bar-current.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-bar-current.svelte-1671kcd.svelte-1671kcd{height:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__chapter-progress-bar-current.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-bar-current.svelte-1671kcd.svelte-1671kcd{height:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__chapter-progress-bar-current.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-bar-current.svelte-1671kcd.svelte-1671kcd{height:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__chapter-progress-bar-current.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-bar-current.svelte-1671kcd.svelte-1671kcd{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__chapter-progress-bar-current.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-bar-current.svelte-1671kcd.svelte-1671kcd{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__chapter-progress-bar-current.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-bar-current.svelte-1671kcd.svelte-1671kcd{border-radius:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__chapter-progress-bar-current.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-bar-current.svelte-1671kcd.svelte-1671kcd{border-radius:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__chapter-progress-bar-current.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-bar-current.svelte-1671kcd.svelte-1671kcd{border-radius:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__chapter-progress-bar-current.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-bar-current.svelte-1671kcd.svelte-1671kcd{border-radius:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__chapter-progress-bar-current.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-bar-current.svelte-1671kcd.svelte-1671kcd{border-radius:calc(0.0022916667 * 100vw + 0px)}}.player-quests-chapter__chapter-progress-bar-current--complete.svelte-1671kcd.svelte-1671kcd,.player-quests-chapter__quest-progress-bar-current--complete.svelte-1671kcd.svelte-1671kcd{background-color:#95FF00}.player-quests-chapter__main.svelte-1671kcd.svelte-1671kcd{position:absolute;top:50%;right:0;transform:translateY(-60%);width:calc(0.3645833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__main.svelte-1671kcd.svelte-1671kcd{width:calc(0.3645833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__main.svelte-1671kcd.svelte-1671kcd{width:calc(0.3645833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__main.svelte-1671kcd.svelte-1671kcd{width:calc(0.2807291667 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__main.svelte-1671kcd.svelte-1671kcd{width:calc(0.4010416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__main.svelte-1671kcd.svelte-1671kcd{width:calc(0.2552083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__main.svelte-1671kcd.svelte-1671kcd{width:calc(0.328125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__main.svelte-1671kcd.svelte-1671kcd{width:calc(0.4010416667 * 100vw + 0px)}}.player-quests-chapter__title.svelte-1671kcd.svelte-1671kcd{display:flex;align-items:center;color:#FFFFFF;font-family:\"HeadingNowBold\";text-transform:uppercase;font-size:calc(0.03125 * 100vw + 0px);height:calc(0.078125 * 100vw + 0px);margin-bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__title.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__title.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__title.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__title.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__title.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__title.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__title.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__title.svelte-1671kcd.svelte-1671kcd{height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__title.svelte-1671kcd.svelte-1671kcd{height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__title.svelte-1671kcd.svelte-1671kcd{height:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__title.svelte-1671kcd.svelte-1671kcd{height:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__title.svelte-1671kcd.svelte-1671kcd{height:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__title.svelte-1671kcd.svelte-1671kcd{height:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__title.svelte-1671kcd.svelte-1671kcd{height:calc(0.0859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__title.svelte-1671kcd.svelte-1671kcd{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__title.svelte-1671kcd.svelte-1671kcd{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__title.svelte-1671kcd.svelte-1671kcd{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__title.svelte-1671kcd.svelte-1671kcd{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__title.svelte-1671kcd.svelte-1671kcd{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__title.svelte-1671kcd.svelte-1671kcd{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__title.svelte-1671kcd.svelte-1671kcd{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.player-quests-chapter__description.svelte-1671kcd.svelte-1671kcd{color:#FFFFFF;font-family:\"HeadingNowRegular\";font-size:calc(0.00625 * 100vw + 0px);line-height:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__description.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__description.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__description.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__description.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__description.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__description.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__description.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__description.svelte-1671kcd.svelte-1671kcd{line-height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__description.svelte-1671kcd.svelte-1671kcd{line-height:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__description.svelte-1671kcd.svelte-1671kcd{line-height:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__description.svelte-1671kcd.svelte-1671kcd{line-height:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__description.svelte-1671kcd.svelte-1671kcd{line-height:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__description.svelte-1671kcd.svelte-1671kcd{line-height:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__description.svelte-1671kcd.svelte-1671kcd{line-height:calc(0.0143229167 * 100vw + 0px)}}.player-quests-chapter__footer.svelte-1671kcd.svelte-1671kcd{position:absolute;right:0;bottom:0;width:calc(0.3645833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__footer.svelte-1671kcd.svelte-1671kcd{width:calc(0.3645833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__footer.svelte-1671kcd.svelte-1671kcd{width:calc(0.3645833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__footer.svelte-1671kcd.svelte-1671kcd{width:calc(0.2807291667 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__footer.svelte-1671kcd.svelte-1671kcd{width:calc(0.4010416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__footer.svelte-1671kcd.svelte-1671kcd{width:calc(0.2552083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__footer.svelte-1671kcd.svelte-1671kcd{width:calc(0.328125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__footer.svelte-1671kcd.svelte-1671kcd{width:calc(0.4010416667 * 100vw + 0px)}}.player-quests-chapter__chapter-progress.svelte-1671kcd.svelte-1671kcd{width:100%;margin-bottom:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__chapter-progress.svelte-1671kcd.svelte-1671kcd{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__chapter-progress.svelte-1671kcd.svelte-1671kcd{margin-bottom:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__chapter-progress.svelte-1671kcd.svelte-1671kcd{margin-bottom:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__chapter-progress.svelte-1671kcd.svelte-1671kcd{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__chapter-progress.svelte-1671kcd.svelte-1671kcd{margin-bottom:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__chapter-progress.svelte-1671kcd.svelte-1671kcd{margin-bottom:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__chapter-progress.svelte-1671kcd.svelte-1671kcd{margin-bottom:calc(0.0143229167 * 100vw + 0px)}}.player-quests-chapter__chapter-progress-caption.svelte-1671kcd.svelte-1671kcd{color:#FFFFFF;font-family:\"HeadingNowMedium\";text-transform:uppercase;font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__chapter-progress-caption.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__chapter-progress-caption.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__chapter-progress-caption.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__chapter-progress-caption.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__chapter-progress-caption.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__chapter-progress-caption.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__chapter-progress-caption.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.0080208333 * 100vw + 0px)}}.player-quests-chapter__rewards-caption.svelte-1671kcd.svelte-1671kcd{color:#FFFFFF;font-family:\"HeadingNowBold\";text-transform:uppercase;font-size:calc(0.00625 * 100vw + 0px);margin-bottom:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__rewards-caption.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__rewards-caption.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__rewards-caption.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__rewards-caption.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__rewards-caption.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__rewards-caption.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__rewards-caption.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__rewards-caption.svelte-1671kcd.svelte-1671kcd{margin-bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__rewards-caption.svelte-1671kcd.svelte-1671kcd{margin-bottom:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__rewards-caption.svelte-1671kcd.svelte-1671kcd{margin-bottom:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__rewards-caption.svelte-1671kcd.svelte-1671kcd{margin-bottom:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__rewards-caption.svelte-1671kcd.svelte-1671kcd{margin-bottom:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__rewards-caption.svelte-1671kcd.svelte-1671kcd{margin-bottom:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__rewards-caption.svelte-1671kcd.svelte-1671kcd{margin-bottom:calc(0.00859375 * 100vw + 0px)}}.player-quests-chapter__rewards-line.svelte-1671kcd.svelte-1671kcd{display:inline-flex;align-items:center;gap:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__rewards-line.svelte-1671kcd.svelte-1671kcd{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__rewards-line.svelte-1671kcd.svelte-1671kcd{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__rewards-line.svelte-1671kcd.svelte-1671kcd{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__rewards-line.svelte-1671kcd.svelte-1671kcd{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__rewards-line.svelte-1671kcd.svelte-1671kcd{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__rewards-line.svelte-1671kcd.svelte-1671kcd{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__rewards-line.svelte-1671kcd.svelte-1671kcd{gap:calc(0.0057291667 * 100vw + 0px)}}.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd{display:none;position:absolute;top:0;left:50%;transform:translateX(-50%) translateY(-100%);background-color:#FFFFFF;font-family:\"HeadingNowBold\";white-space:pre;font-size:calc(0.00625 * 100vw + 0px);padding:calc(0.0052083333 * 100vw + 0px);border-radius:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd{padding:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd{padding:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd{padding:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd{padding:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd{padding:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd{padding:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd{padding:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd{border-radius:calc(0.0045833333 * 100vw + 0px)}}.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd:before{content:\"\";position:absolute;background-color:#FFFFFF;left:50%;bottom:0;transform:translateX(-50%) translateY(40%) rotate(45deg);border-radius:calc(0.0020833333 * 100vw + 0px);width:calc(0.0072916667 * 100vw + 0px);height:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd:before{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd:before{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd:before{border-radius:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd:before{border-radius:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd:before{border-radius:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd:before{border-radius:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd:before{border-radius:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd:before{width:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd:before{width:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd:before{width:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd:before{width:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd:before{width:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd:before{width:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd:before{width:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd:before{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd:before{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd:before{height:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd:before{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd:before{height:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd:before{height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__reward-tooltip.svelte-1671kcd.svelte-1671kcd:before{height:calc(0.0080208333 * 100vw + 0px)}}.player-quests-chapter__reward.svelte-1671kcd.svelte-1671kcd{position:relative;width:calc(0.0416666667 * 100vw + 0px);height:calc(0.0416666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__reward.svelte-1671kcd.svelte-1671kcd{width:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__reward.svelte-1671kcd.svelte-1671kcd{width:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__reward.svelte-1671kcd.svelte-1671kcd{width:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__reward.svelte-1671kcd.svelte-1671kcd{width:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__reward.svelte-1671kcd.svelte-1671kcd{width:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__reward.svelte-1671kcd.svelte-1671kcd{width:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__reward.svelte-1671kcd.svelte-1671kcd{width:calc(0.0458333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__reward.svelte-1671kcd.svelte-1671kcd{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__reward.svelte-1671kcd.svelte-1671kcd{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__reward.svelte-1671kcd.svelte-1671kcd{height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__reward.svelte-1671kcd.svelte-1671kcd{height:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__reward.svelte-1671kcd.svelte-1671kcd{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__reward.svelte-1671kcd.svelte-1671kcd{height:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__reward.svelte-1671kcd.svelte-1671kcd{height:calc(0.0458333333 * 100vw + 0px)}}.player-quests-chapter__reward.svelte-1671kcd:hover .player-quests-chapter__reward-tooltip.svelte-1671kcd{display:block}.player-quests-chapter__rewards-wrapper.svelte-1671kcd.svelte-1671kcd{display:flex;align-items:center;justify-content:space-between}.player-quests-chapter__rewards-buttons.svelte-1671kcd.svelte-1671kcd{display:inline-flex;align-items:center;gap:calc(0.003125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__rewards-buttons.svelte-1671kcd.svelte-1671kcd{gap:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__rewards-buttons.svelte-1671kcd.svelte-1671kcd{gap:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__rewards-buttons.svelte-1671kcd.svelte-1671kcd{gap:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__rewards-buttons.svelte-1671kcd.svelte-1671kcd{gap:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__rewards-buttons.svelte-1671kcd.svelte-1671kcd{gap:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__rewards-buttons.svelte-1671kcd.svelte-1671kcd{gap:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__rewards-buttons.svelte-1671kcd.svelte-1671kcd{gap:calc(0.0034375 * 100vw + 0px)}}.player-quests-chapter__rewards-button.svelte-1671kcd.svelte-1671kcd{width:calc(0.1041666667 * 100vw + 0px);height:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__rewards-button.svelte-1671kcd.svelte-1671kcd{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__rewards-button.svelte-1671kcd.svelte-1671kcd{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__rewards-button.svelte-1671kcd.svelte-1671kcd{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__rewards-button.svelte-1671kcd.svelte-1671kcd{width:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__rewards-button.svelte-1671kcd.svelte-1671kcd{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__rewards-button.svelte-1671kcd.svelte-1671kcd{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__rewards-button.svelte-1671kcd.svelte-1671kcd{width:calc(0.1145833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-chapter__rewards-button.svelte-1671kcd.svelte-1671kcd{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-chapter__rewards-button.svelte-1671kcd.svelte-1671kcd{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-chapter__rewards-button.svelte-1671kcd.svelte-1671kcd{height:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-chapter__rewards-button.svelte-1671kcd.svelte-1671kcd{height:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-chapter__rewards-button.svelte-1671kcd.svelte-1671kcd{height:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-chapter__rewards-button.svelte-1671kcd.svelte-1671kcd{height:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-chapter__rewards-button.svelte-1671kcd.svelte-1671kcd{height:calc(0.0275 * 100vw + 0px)}}");
}

function chapter_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[1] = list[i];
	return child_ctx;
}

function chapter_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[4] = list[i];
	return child_ctx;
}

// (2418:28) {#if quest.visible}
function chapter_index_svelte_create_if_block_1(ctx) {
	let div1;
	let div0;
	let t1;
	let t2;
	let div3;
	let div2;

	function select_block_type(ctx, dirty) {
		if (/*quest*/ ctx[4].complete) return chapter_index_svelte_create_if_block_2;
		return chapter_index_svelte_create_else_block_1;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block = current_block_type(ctx);

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "ПРОГРЕСС";
			t1 = space();
			if_block.c();
			t2 = space();
			div3 = internal_element("div");
			div2 = internal_element("div");
			attr(div0, "class", "player-quests-chapter__quest-progress-caption svelte-1671kcd");
			attr(div1, "class", "player-quests-chapter__quest-progress-row svelte-1671kcd");
			attr(div2, "class", "player-quests-chapter__quest-progress-bar-current svelte-1671kcd");
			set_style(div2, "--progress", /*quest*/ ctx[4].percentes + "%");
			toggle_class(div2, "player-quests-chapter__quest-progress-bar-current--complete", /*quest*/ ctx[4].complete);
			attr(div3, "class", "player-quests-chapter__quest-progress-bar svelte-1671kcd");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			append(div1, t1);
			if_block.m(div1, null);
			insert(target, t2, anchor);
			insert(target, div3, anchor);
			append(div3, div2);
		},
		p(ctx, dirty) {
			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div1, null);
				}
			}

			if (dirty & /*$chapter*/ 1) {
				set_style(div2, "--progress", /*quest*/ ctx[4].percentes + "%");
			}

			if (dirty & /*$chapter*/ 1) {
				toggle_class(div2, "player-quests-chapter__quest-progress-bar-current--complete", /*quest*/ ctx[4].complete);
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			if_block.d();
			if (detaching) detach(t2);
			if (detaching) detach(div3);
		}
	};
}

// (2426:36) {:else}
function chapter_index_svelte_create_else_block_1(ctx) {
	let div;
	let t0_value = /*quest*/ ctx[4].current + "";
	let t0;
	let t1;
	let t2_value = /*quest*/ ctx[4].total + "";
	let t2;

	return {
		c() {
			div = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = internal_text(" / ");
			t2 = internal_text(t2_value);
			attr(div, "class", "player-quests-chapter__quest-progress-counter svelte-1671kcd");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t0);
			append(div, t1);
			append(div, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*$chapter*/ 1 && t0_value !== (t0_value = /*quest*/ ctx[4].current + "")) set_data(t0, t0_value);
			if (dirty & /*$chapter*/ 1 && t2_value !== (t2_value = /*quest*/ ctx[4].total + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (2421:36) {#if quest.complete}
function chapter_index_svelte_create_if_block_2(ctx) {
	let div1;

	return {
		c() {
			div1 = internal_element("div");

			div1.innerHTML = `<i class="player-quests-chapter__quest-progress-complete-icon icon-check-circle svelte-1671kcd"></i> 
                                            <div class="player-quests-chapter__quest-progress-complete-text svelte-1671kcd">ВЫПОЛНЕНО</div>`;

			attr(div1, "class", "player-quests-chapter__quest-progress-complete svelte-1671kcd");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (2412:16) {#each $chapter.quests as quest}
function chapter_index_svelte_create_each_block_1(ctx) {
	let div3;
	let div1;
	let div0;
	let t0_value = /*quest*/ ctx[4].title + "";
	let t0;
	let t1;
	let div2;
	let t2;
	let if_block = /*quest*/ ctx[4].visible && chapter_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			div3 = internal_element("div");
			div1 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			div2 = internal_element("div");
			if (if_block) if_block.c();
			t2 = space();
			attr(div0, "class", "player-quests-chapter__quest-title svelte-1671kcd");
			attr(div1, "class", "player-quests-chapter__quest-info svelte-1671kcd");
			attr(div2, "class", "player-quests-chapter__quest-progress svelte-1671kcd");
			attr(div3, "class", "player-quests-chapter__quest svelte-1671kcd");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div1);
			append(div1, div0);
			append(div0, t0);
			append(div3, t1);
			append(div3, div2);
			if (if_block) if_block.m(div2, null);
			append(div3, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*$chapter*/ 1 && t0_value !== (t0_value = /*quest*/ ctx[4].title + "")) set_data(t0, t0_value);

			if (/*quest*/ ctx[4].visible) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = chapter_index_svelte_create_if_block_1(ctx);
					if_block.c();
					if_block.m(div2, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		d(detaching) {
			if (detaching) detach(div3);
			if (if_block) if_block.d();
		}
	};
}

// (2460:20) {:else}
function chapter_index_svelte_create_else_block(ctx) {
	let div;
	let t0_value = /*$chapter*/ ctx[0].progress + "";
	let t0;
	let t1;

	return {
		c() {
			div = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = internal_text("%");
			attr(div, "class", "player-quests-chapter__chapter-progress-counter svelte-1671kcd");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t0);
			append(div, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*$chapter*/ 1 && t0_value !== (t0_value = /*$chapter*/ ctx[0].progress + "")) set_data(t0, t0_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (2455:20) {#if $chapter.complete}
function chapter_index_svelte_create_if_block(ctx) {
	let div1;

	return {
		c() {
			div1 = internal_element("div");

			div1.innerHTML = `<i class="player-quests-chapter__chapter-progress-complete-icon icon-check-circle svelte-1671kcd"></i> 
                            <div class="player-quests-chapter__chapter-progress-complete-text svelte-1671kcd">ВЫПОЛНЕНО</div>`;

			attr(div1, "class", "player-quests-chapter__chapter-progress-complete svelte-1671kcd");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (2477:24) {#each $chapter.rewards as reward}
function chapter_index_svelte_create_each_block(ctx) {
	let div1;
	let prize;
	let t0;
	let div0;
	let t1_value = /*reward*/ ctx[1].name + "";
	let t1;
	let t2;
	let current;

	prize = new components_prize_index_svelte({
			props: {
				imageSrc: /*reward*/ ctx[1].id,
				style: /*reward*/ ctx[1].rarity
			}
		});

	return {
		c() {
			div1 = internal_element("div");
			create_component(prize.$$.fragment);
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(div0, "class", "player-quests-chapter__reward-tooltip svelte-1671kcd");
			attr(div1, "class", "player-quests-chapter__reward svelte-1671kcd");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			mount_component(prize, div1, null);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
			append(div1, t2);
			current = true;
		},
		p(ctx, dirty) {
			const prize_changes = {};
			if (dirty & /*$chapter*/ 1) prize_changes.imageSrc = /*reward*/ ctx[1].id;
			if (dirty & /*$chapter*/ 1) prize_changes.style = /*reward*/ ctx[1].rarity;
			prize.$set(prize_changes);
			if ((!current || dirty & /*$chapter*/ 1) && t1_value !== (t1_value = /*reward*/ ctx[1].name + "")) set_data(t1, t1_value);
		},
		i(local) {
			if (current) return;
			transition_in(prize.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(prize.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			destroy_component(prize);
		}
	};
}

function chapter_index_svelte_create_fragment(ctx) {
	let div21;
	let div4;
	let div1;
	let t2;
	let div3;
	let div2;
	let t3;
	let div20;
	let div7;
	let div5;
	let t4_value = /*$chapter*/ ctx[0].title + "";
	let t4;
	let t5;
	let div6;
	let t6_value = /*$chapter*/ ctx[0].description + "";
	let t6;
	let t7;
	let div19;
	let div12;
	let div9;
	let div8;
	let t9;
	let t10;
	let div11;
	let div10;
	let t11;
	let div18;
	let div13;
	let t13;
	let div17;
	let div14;
	let t14;
	let div16;
	let div15;
	let button;
	let current;
	let each_value_1 = /*$chapter*/ ctx[0].quests;
	let each_blocks_1 = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks_1[i] = chapter_index_svelte_create_each_block_1(chapter_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	function select_block_type_1(ctx, dirty) {
		if (/*$chapter*/ ctx[0].complete) return chapter_index_svelte_create_if_block;
		return chapter_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type_1(ctx, -1);
	let if_block = current_block_type(ctx);
	let each_value = /*$chapter*/ ctx[0].rewards;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = chapter_index_svelte_create_each_block(chapter_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	button = new ui_kit_button_index_svelte({
			props: {
				text: 'Отметить на карте',
				iconRight: 'icon-geo-loc',
				style: 'red'
			}
		});

	return {
		c() {
			div21 = internal_element("div");
			div4 = internal_element("div");
			div1 = internal_element("div");

			div1.innerHTML = `<i class="player-quests-chapter__back-icon icon-next svelte-1671kcd"></i> 
            <div class="player-quests-chapter__back-text svelte-1671kcd">Назад к главам</div>`;

			t2 = space();
			div3 = internal_element("div");
			div2 = internal_element("div");

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].c();
			}

			t3 = space();
			div20 = internal_element("div");
			div7 = internal_element("div");
			div5 = internal_element("div");
			t4 = internal_text(t4_value);
			t5 = space();
			div6 = internal_element("div");
			t6 = internal_text(t6_value);
			t7 = space();
			div19 = internal_element("div");
			div12 = internal_element("div");
			div9 = internal_element("div");
			div8 = internal_element("div");
			div8.textContent = "ПРОГРЕСС";
			t9 = space();
			if_block.c();
			t10 = space();
			div11 = internal_element("div");
			div10 = internal_element("div");
			t11 = space();
			div18 = internal_element("div");
			div13 = internal_element("div");
			div13.textContent = "НАГРАДА";
			t13 = space();
			div17 = internal_element("div");
			div14 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t14 = space();
			div16 = internal_element("div");
			div15 = internal_element("div");
			create_component(button.$$.fragment);
			attr(div1, "class", "player-quests-chapter__back svelte-1671kcd");
			attr(div2, "class", "player-quests-chapter__quest-list svelte-1671kcd");
			attr(div3, "class", "player-quests-chapter__quest-list-wrapper svelte-1671kcd");
			attr(div4, "class", "player-quests-chapter__sidebar svelte-1671kcd");
			attr(div5, "class", "player-quests-chapter__title svelte-1671kcd");
			attr(div6, "class", "player-quests-chapter__description svelte-1671kcd");
			attr(div7, "class", "player-quests-chapter__main svelte-1671kcd");
			attr(div8, "class", "player-quests-chapter__chapter-progress-caption svelte-1671kcd");
			attr(div9, "class", "player-quests-chapter__chapter-progress-row svelte-1671kcd");
			attr(div10, "class", "player-quests-chapter__chapter-progress-bar-current svelte-1671kcd");
			set_style(div10, "--progress", /*$chapter*/ ctx[0].progress + "%");
			toggle_class(div10, "player-quests-chapter__chapter-progress-bar-current--complete", /*$chapter*/ ctx[0].complete);
			attr(div11, "class", "player-quests-chapter__chapter-progress-bar svelte-1671kcd");
			attr(div12, "class", "player-quests-chapter__chapter-progress svelte-1671kcd");
			attr(div13, "class", "player-quests-chapter__rewards-caption svelte-1671kcd");
			attr(div14, "class", "player-quests-chapter__rewards-line svelte-1671kcd");
			attr(div15, "class", "player-quests-chapter__rewards-button svelte-1671kcd");
			attr(div16, "class", "player-quests-chapter__rewards-buttons svelte-1671kcd");
			attr(div17, "class", "player-quests-chapter__rewards-wrapper svelte-1671kcd");
			attr(div18, "class", "player-quests-chapter__rewards");
			attr(div19, "class", "player-quests-chapter__footer svelte-1671kcd");
			attr(div20, "class", "player-quests-chapter__content");
			attr(div21, "class", "player-quests-chapter svelte-1671kcd");
		},
		m(target, anchor) {
			insert(target, div21, anchor);
			append(div21, div4);
			append(div4, div1);
			append(div4, t2);
			append(div4, div3);
			append(div3, div2);

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].m(div2, null);
			}

			append(div21, t3);
			append(div21, div20);
			append(div20, div7);
			append(div7, div5);
			append(div5, t4);
			append(div7, t5);
			append(div7, div6);
			append(div6, t6);
			append(div20, t7);
			append(div20, div19);
			append(div19, div12);
			append(div12, div9);
			append(div9, div8);
			append(div9, t9);
			if_block.m(div9, null);
			append(div12, t10);
			append(div12, div11);
			append(div11, div10);
			append(div19, t11);
			append(div19, div18);
			append(div18, div13);
			append(div18, t13);
			append(div18, div17);
			append(div17, div14);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div14, null);
			}

			append(div17, t14);
			append(div17, div16);
			append(div16, div15);
			mount_component(button, div15, null);
			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*$chapter*/ 1) {
				each_value_1 = /*$chapter*/ ctx[0].quests;
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = chapter_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks_1[i]) {
						each_blocks_1[i].p(child_ctx, dirty);
					} else {
						each_blocks_1[i] = chapter_index_svelte_create_each_block_1(child_ctx);
						each_blocks_1[i].c();
						each_blocks_1[i].m(div2, null);
					}
				}

				for (; i < each_blocks_1.length; i += 1) {
					each_blocks_1[i].d(1);
				}

				each_blocks_1.length = each_value_1.length;
			}

			if ((!current || dirty & /*$chapter*/ 1) && t4_value !== (t4_value = /*$chapter*/ ctx[0].title + "")) set_data(t4, t4_value);
			if ((!current || dirty & /*$chapter*/ 1) && t6_value !== (t6_value = /*$chapter*/ ctx[0].description + "")) set_data(t6, t6_value);

			if (current_block_type === (current_block_type = select_block_type_1(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div9, null);
				}
			}

			if (!current || dirty & /*$chapter*/ 1) {
				set_style(div10, "--progress", /*$chapter*/ ctx[0].progress + "%");
			}

			if (dirty & /*$chapter*/ 1) {
				toggle_class(div10, "player-quests-chapter__chapter-progress-bar-current--complete", /*$chapter*/ ctx[0].complete);
			}

			if (dirty & /*$chapter*/ 1) {
				each_value = /*$chapter*/ ctx[0].rewards;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = chapter_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = chapter_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div14, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			transition_in(button.$$.fragment, local);
			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			transition_out(button.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div21);
			destroy_each(each_blocks_1, detaching);
			if_block.d();
			destroy_each(each_blocks, detaching);
			destroy_component(button);
		}
	};
}

function chapter_index_svelte_instance($$self, $$props, $$invalidate) {
	let $chapter;
	component_subscribe($$self, chapter, $$value => $$invalidate(0, $chapter = $$value));
	return [$chapter];
}

class Chapter extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, chapter_index_svelte_instance, chapter_index_svelte_create_fragment, safe_not_equal, {}, chapter_index_svelte_add_css);
	}
}

/* harmony default export */ const chapter_index_svelte = (Chapter);
;// CONCATENATED MODULE: ./src/views/player-quests/components/access/index.svelte
/* src\views\player-quests\components\access\index.svelte generated by Svelte v3.49.0 */









function access_index_svelte_add_css(target) {
	append_styles(target, "svelte-xxxhmx", "@keyframes svelte-xxxhmx-blinking{50%{opacity:0}}@keyframes svelte-xxxhmx-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-xxxhmx-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-xxxhmx-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-xxxhmx-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-xxxhmx-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-xxxhmx-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-xxxhmx-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-xxxhmx-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-xxxhmx-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-xxxhmx-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-xxxhmx-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-xxxhmx-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-xxxhmx-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-xxxhmx-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.player-quests-access.svelte-xxxhmx{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.player-quests-access__not-allowed-message.svelte-xxxhmx{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-access__not-allowed-message.svelte-xxxhmx{gap:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-access__not-allowed-message.svelte-xxxhmx{gap:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-access__not-allowed-message.svelte-xxxhmx{gap:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-access__not-allowed-message.svelte-xxxhmx{gap:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-access__not-allowed-message.svelte-xxxhmx{gap:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-access__not-allowed-message.svelte-xxxhmx{gap:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-access__not-allowed-message.svelte-xxxhmx{gap:calc(0.0200520833 * 100vw + 0px)}}.player-quests-access__not-allowed-left.svelte-xxxhmx{position:absolute;pointer-events:none;left:calc(0.0104166667 * 100vw + 0px);bottom:calc(-0.0052083333 * 100vw + 0px);width:calc(0.3645833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-access__not-allowed-left.svelte-xxxhmx{left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-access__not-allowed-left.svelte-xxxhmx{left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-access__not-allowed-left.svelte-xxxhmx{left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-access__not-allowed-left.svelte-xxxhmx{left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-access__not-allowed-left.svelte-xxxhmx{left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-access__not-allowed-left.svelte-xxxhmx{left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-access__not-allowed-left.svelte-xxxhmx{left:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-access__not-allowed-left.svelte-xxxhmx{bottom:calc(-0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-access__not-allowed-left.svelte-xxxhmx{bottom:calc(-0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-access__not-allowed-left.svelte-xxxhmx{bottom:calc(-0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-access__not-allowed-left.svelte-xxxhmx{bottom:calc(-0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-access__not-allowed-left.svelte-xxxhmx{bottom:calc(-0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-access__not-allowed-left.svelte-xxxhmx{bottom:calc(-0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-access__not-allowed-left.svelte-xxxhmx{bottom:calc(-0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-access__not-allowed-left.svelte-xxxhmx{width:calc(0.3645833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-access__not-allowed-left.svelte-xxxhmx{width:calc(0.3645833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-access__not-allowed-left.svelte-xxxhmx{width:calc(0.2807291667 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-access__not-allowed-left.svelte-xxxhmx{width:calc(0.4010416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-access__not-allowed-left.svelte-xxxhmx{width:calc(0.2552083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-access__not-allowed-left.svelte-xxxhmx{width:calc(0.328125 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-access__not-allowed-left.svelte-xxxhmx{width:calc(0.4010416667 * 100vw + 0px)}}.player-quests-access__not-allowed-right.svelte-xxxhmx{position:absolute;pointer-events:none;right:calc(0.0104166667 * 100vw + 0px);bottom:calc(-0.0052083333 * 100vw + 0px);width:calc(0.390625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-access__not-allowed-right.svelte-xxxhmx{right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-access__not-allowed-right.svelte-xxxhmx{right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-access__not-allowed-right.svelte-xxxhmx{right:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-access__not-allowed-right.svelte-xxxhmx{right:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-access__not-allowed-right.svelte-xxxhmx{right:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-access__not-allowed-right.svelte-xxxhmx{right:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-access__not-allowed-right.svelte-xxxhmx{right:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-access__not-allowed-right.svelte-xxxhmx{bottom:calc(-0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-access__not-allowed-right.svelte-xxxhmx{bottom:calc(-0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-access__not-allowed-right.svelte-xxxhmx{bottom:calc(-0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-access__not-allowed-right.svelte-xxxhmx{bottom:calc(-0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-access__not-allowed-right.svelte-xxxhmx{bottom:calc(-0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-access__not-allowed-right.svelte-xxxhmx{bottom:calc(-0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-access__not-allowed-right.svelte-xxxhmx{bottom:calc(-0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-access__not-allowed-right.svelte-xxxhmx{width:calc(0.390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-access__not-allowed-right.svelte-xxxhmx{width:calc(0.390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-access__not-allowed-right.svelte-xxxhmx{width:calc(0.30078125 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-access__not-allowed-right.svelte-xxxhmx{width:calc(0.4296875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-access__not-allowed-right.svelte-xxxhmx{width:calc(0.2734375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-access__not-allowed-right.svelte-xxxhmx{width:calc(0.3515625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-access__not-allowed-right.svelte-xxxhmx{width:calc(0.4296875 * 100vw + 0px)}}.player-quests-access__not-allowed-image.svelte-xxxhmx{width:100%}.player-quests-access__not-allowed-title.svelte-xxxhmx{font-family:\"HeadingNowBold\";color:#FFFFFF;text-transform:uppercase;font-size:calc(0.01875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-access__not-allowed-title.svelte-xxxhmx{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-access__not-allowed-title.svelte-xxxhmx{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-access__not-allowed-title.svelte-xxxhmx{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-access__not-allowed-title.svelte-xxxhmx{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-access__not-allowed-title.svelte-xxxhmx{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-access__not-allowed-title.svelte-xxxhmx{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-access__not-allowed-title.svelte-xxxhmx{font-size:calc(0.020625 * 100vw + 0px)}}.player-quests-access__not-allowed-sub-tittle.svelte-xxxhmx{font-family:\"HeadingNowMedium\";color:rgba(255, 255, 255, 0.5);text-transform:uppercase;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-access__not-allowed-sub-tittle.svelte-xxxhmx{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-access__not-allowed-sub-tittle.svelte-xxxhmx{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-access__not-allowed-sub-tittle.svelte-xxxhmx{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-access__not-allowed-sub-tittle.svelte-xxxhmx{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-access__not-allowed-sub-tittle.svelte-xxxhmx{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-access__not-allowed-sub-tittle.svelte-xxxhmx{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-access__not-allowed-sub-tittle.svelte-xxxhmx{font-size:calc(0.0103125 * 100vw + 0px)}}.player-quests-access__not-allowed-button.svelte-xxxhmx{width:calc(0.1822916667 * 100vw + 0px);height:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.player-quests-access__not-allowed-button.svelte-xxxhmx{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-access__not-allowed-button.svelte-xxxhmx{width:calc(0.1822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-access__not-allowed-button.svelte-xxxhmx{width:calc(0.1403645833 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-access__not-allowed-button.svelte-xxxhmx{width:calc(0.2005208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-access__not-allowed-button.svelte-xxxhmx{width:calc(0.1276041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-access__not-allowed-button.svelte-xxxhmx{width:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-access__not-allowed-button.svelte-xxxhmx{width:calc(0.2005208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.player-quests-access__not-allowed-button.svelte-xxxhmx{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.player-quests-access__not-allowed-button.svelte-xxxhmx{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.player-quests-access__not-allowed-button.svelte-xxxhmx{height:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.player-quests-access__not-allowed-button.svelte-xxxhmx{height:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.player-quests-access__not-allowed-button.svelte-xxxhmx{height:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.player-quests-access__not-allowed-button.svelte-xxxhmx{height:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.player-quests-access__not-allowed-button.svelte-xxxhmx{height:calc(0.0275 * 100vw + 0px)}}");
}

function access_index_svelte_create_fragment(ctx) {
	let div6;
	let div0;
	let img0;
	let img0_src_value;
	let t0;
	let div4;
	let div1;
	let t1_value = MAP_CATEGORY_TYPE_TO_TEXT[/*$selectedCategory*/ ctx[0].accessType].title + "";
	let t1;
	let t2;
	let div2;
	let t3_value = MAP_CATEGORY_TYPE_TO_TEXT[/*$selectedCategory*/ ctx[0].accessType].subTitle + "";
	let t3;
	let t4;
	let div3;
	let button;
	let t5;
	let div5;
	let img1;
	let img1_src_value;
	let current;

	button = new ui_kit_button_index_svelte({
			props: {
				text: 'Вступить',
				style: 'red',
				icon: 'icon-next',
				onClick: /*getAccess*/ ctx[1]
			}
		});

	return {
		c() {
			div6 = internal_element("div");
			div0 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			div4 = internal_element("div");
			div1 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			div2 = internal_element("div");
			t3 = internal_text(t3_value);
			t4 = space();
			div3 = internal_element("div");
			create_component(button.$$.fragment);
			t5 = space();
			div5 = internal_element("div");
			img1 = internal_element("img");
			if (!src_url_equal(img0.src, img0_src_value = MAP_CATEGORY_TYPE_TO_IMAGES[/*$selectedCategory*/ ctx[0].accessType].left)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "left");
			attr(img0, "class", "player-quests-access__not-allowed-image svelte-xxxhmx");
			attr(div0, "class", "player-quests-access__not-allowed-left svelte-xxxhmx");
			attr(div1, "class", "player-quests-access__not-allowed-title svelte-xxxhmx");
			attr(div2, "class", "player-quests-access__not-allowed-sub-tittle svelte-xxxhmx");
			attr(div3, "class", "player-quests-access__not-allowed-button svelte-xxxhmx");
			attr(div4, "class", "player-quests-access__not-allowed-message svelte-xxxhmx");
			if (!src_url_equal(img1.src, img1_src_value = MAP_CATEGORY_TYPE_TO_IMAGES[/*$selectedCategory*/ ctx[0].accessType].right)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "right");
			attr(img1, "class", "player-quests-access__not-allowed-image svelte-xxxhmx");
			attr(div5, "class", "player-quests-access__not-allowed-right svelte-xxxhmx");
			attr(div6, "class", "player-quests-access svelte-xxxhmx");
		},
		m(target, anchor) {
			insert(target, div6, anchor);
			append(div6, div0);
			append(div0, img0);
			append(div6, t0);
			append(div6, div4);
			append(div4, div1);
			append(div1, t1);
			append(div4, t2);
			append(div4, div2);
			append(div2, t3);
			append(div4, t4);
			append(div4, div3);
			mount_component(button, div3, null);
			append(div6, t5);
			append(div6, div5);
			append(div5, img1);
			current = true;
		},
		p(ctx, [dirty]) {
			if (!current || dirty & /*$selectedCategory*/ 1 && !src_url_equal(img0.src, img0_src_value = MAP_CATEGORY_TYPE_TO_IMAGES[/*$selectedCategory*/ ctx[0].accessType].left)) {
				attr(img0, "src", img0_src_value);
			}

			if ((!current || dirty & /*$selectedCategory*/ 1) && t1_value !== (t1_value = MAP_CATEGORY_TYPE_TO_TEXT[/*$selectedCategory*/ ctx[0].accessType].title + "")) set_data(t1, t1_value);
			if ((!current || dirty & /*$selectedCategory*/ 1) && t3_value !== (t3_value = MAP_CATEGORY_TYPE_TO_TEXT[/*$selectedCategory*/ ctx[0].accessType].subTitle + "")) set_data(t3, t3_value);

			if (!current || dirty & /*$selectedCategory*/ 1 && !src_url_equal(img1.src, img1_src_value = MAP_CATEGORY_TYPE_TO_IMAGES[/*$selectedCategory*/ ctx[0].accessType].right)) {
				attr(img1, "src", img1_src_value);
			}
		},
		i(local) {
			if (current) return;
			transition_in(button.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(button.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div6);
			destroy_component(button);
		}
	};
}

function access_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedCategory;
	component_subscribe($$self, selectedCategory, $$value => $$invalidate(0, $selectedCategory = $$value));

	const getAccess = () => {
		sendClientMessage('playerQuests.category.getAccess', $selectedCategory.id, $selectedCategory.accessType);
	};

	return [$selectedCategory, getAccess];
}

class Access extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, access_index_svelte_instance, access_index_svelte_create_fragment, safe_not_equal, {}, access_index_svelte_add_css);
	}
}

/* harmony default export */ const access_index_svelte = (Access);
;// CONCATENATED MODULE: ./src/views/player-quests/rout.js
function rout_typeof(o) { "@babel/helpers - typeof"; return rout_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, rout_typeof(o); }
function rout_defineProperty(e, r, t) { return (r = rout_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function rout_toPropertyKey(t) { var i = rout_toPrimitive(t, "string"); return "symbol" == rout_typeof(i) ? i : i + ""; }
function rout_toPrimitive(t, r) { if ("object" != rout_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != rout_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }





var MAP_VIEW_TYPE_TO_COMPONENT = rout_defineProperty(rout_defineProperty(rout_defineProperty(rout_defineProperty({}, constants_Views.Quests, player_quests_components_main_index_svelte), constants_Views.Chapters, chapters_index_svelte), constants_Views.Chapter, chapter_index_svelte), constants_Views.Access, access_index_svelte);
;// CONCATENATED MODULE: ./src/views/player-quests/index.svelte
/* src\views\player-quests\index.svelte generated by Svelte v3.49.0 */


















function player_quests_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[19] = list[i];
	return child_ctx;
}

// (209:8) {#each $categories as category}
function player_quests_index_svelte_create_each_block(ctx) {
	let div;
	let t0_value = /*category*/ ctx[19].name + "";
	let t0;
	let t1;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[12](/*category*/ ctx[19]);
	}

	return {
		c() {
			div = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			attr(div, "class", "player-quests__navigation-item");
			set_style(div, "background", "linear-gradient(270deg, " + /*category*/ ctx[19].background[0] + " 0%, " + /*category*/ ctx[19].background[1] + " 100%)");
			toggle_class(div, "player-quests__navigation-item--active", /*$selectedCategory*/ ctx[0].id === /*category*/ ctx[19].id);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t0);
			append(div, t1);

			if (!mounted) {
				dispose = listen(div, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if (dirty & /*$categories*/ 2 && t0_value !== (t0_value = /*category*/ ctx[19].name + "")) set_data(t0, t0_value);

			if (dirty & /*$categories*/ 2) {
				set_style(div, "background", "linear-gradient(270deg, " + /*category*/ ctx[19].background[0] + " 0%, " + /*category*/ ctx[19].background[1] + " 100%)");
			}

			if (dirty & /*$selectedCategory, $categories*/ 3) {
				toggle_class(div, "player-quests__navigation-item--active", /*$selectedCategory*/ ctx[0].id === /*category*/ ctx[19].id);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

function player_quests_index_svelte_create_fragment(ctx) {
	let div4;
	let div0;
	let t1;
	let div1;
	let t2;
	let div2;
	let exitbutton;
	let t3;
	let div3;
	let switch_instance;
	let current;
	let each_value = /*$categories*/ ctx[1];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = player_quests_index_svelte_create_each_block(player_quests_index_svelte_get_each_context(ctx, each_value, i));
	}

	exitbutton = new exit_button_index_svelte({ props: { onClick: /*exit*/ ctx[4] } });
	var switch_value = MAP_VIEW_TYPE_TO_COMPONENT[/*$selectedView*/ ctx[2]];

	function switch_props(ctx) {
		return {};
	}

	if (switch_value) {
		switch_instance = new switch_value(switch_props(ctx));
	}

	return {
		c() {
			div4 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "ЗАДАНИЯ";
			t1 = space();
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t2 = space();
			div2 = internal_element("div");
			create_component(exitbutton.$$.fragment);
			t3 = space();
			div3 = internal_element("div");
			if (switch_instance) create_component(switch_instance.$$.fragment);
			attr(div0, "class", "player-quests__title");
			attr(div1, "class", "player-quests__navigation");
			attr(div2, "class", "player-quests__exit-button");
			attr(div3, "class", "player-quests__content");
			toggle_class(div3, "player-quests__content--no-padding", /*$selectedView*/ ctx[2] === constants_Views.Access);
			attr(div4, "class", "player-quests");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div0);
			append(div4, t1);
			append(div4, div1);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div1, null);
			}

			append(div4, t2);
			append(div4, div2);
			mount_component(exitbutton, div2, null);
			append(div4, t3);
			append(div4, div3);

			if (switch_instance) {
				mount_component(switch_instance, div3, null);
			}

			current = true;
		},
		p(ctx, [dirty]) {
			if (dirty & /*$categories, $selectedCategory, selectCategory*/ 11) {
				each_value = /*$categories*/ ctx[1];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = player_quests_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = player_quests_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div1, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if (switch_value !== (switch_value = MAP_VIEW_TYPE_TO_COMPONENT[/*$selectedView*/ ctx[2]])) {
				if (switch_instance) {
					group_outros();
					const old_component = switch_instance;

					transition_out(old_component.$$.fragment, 1, 0, () => {
						destroy_component(old_component, 1);
					});

					check_outros();
				}

				if (switch_value) {
					switch_instance = new switch_value(switch_props(ctx));
					create_component(switch_instance.$$.fragment);
					transition_in(switch_instance.$$.fragment, 1);
					mount_component(switch_instance, div3, null);
				} else {
					switch_instance = null;
				}
			} else if (switch_value) {
				
			}

			if (dirty & /*$selectedView, Views*/ 4) {
				toggle_class(div3, "player-quests__content--no-padding", /*$selectedView*/ ctx[2] === constants_Views.Access);
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			if (switch_instance) transition_in(switch_instance.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			if (switch_instance) transition_out(switch_instance.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div4);
			destroy_each(each_blocks, detaching);
			destroy_component(exitbutton);
			if (switch_instance) destroy_component(switch_instance);
		}
	};
}

function player_quests_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedView;
	let $categoryBonusProgress;
	let $selectedCategory;
	let $categoryBonuses;
	let $apiData;
	let $categoriesAccess;
	let $categories;
	let $questsProgress;
	let $questsList;
	let $selectedCategoryUpdate;
	let $chapters;
	let $serverApiToken;
	let $serverApiServerId;
	let $selectedQuest;
	component_subscribe($$self, store_selectedView, $$value => $$invalidate(2, $selectedView = $$value));
	component_subscribe($$self, categoryBonusProgress, $$value => $$invalidate(5, $categoryBonusProgress = $$value));
	component_subscribe($$self, selectedCategory, $$value => $$invalidate(0, $selectedCategory = $$value));
	component_subscribe($$self, categoryBonuses, $$value => $$invalidate(6, $categoryBonuses = $$value));
	component_subscribe($$self, apiData, $$value => $$invalidate(7, $apiData = $$value));
	component_subscribe($$self, categoriesAccess, $$value => $$invalidate(8, $categoriesAccess = $$value));
	component_subscribe($$self, store_categories, $$value => $$invalidate(1, $categories = $$value));
	component_subscribe($$self, store_questsProgress, $$value => $$invalidate(9, $questsProgress = $$value));
	component_subscribe($$self, questsList, $$value => $$invalidate(10, $questsList = $$value));
	component_subscribe($$self, selectedCategoryUpdate, $$value => $$invalidate(11, $selectedCategoryUpdate = $$value));
	component_subscribe($$self, chapters, $$value => $$invalidate(13, $chapters = $$value));
	component_subscribe($$self, serverApiToken, $$value => $$invalidate(14, $serverApiToken = $$value));
	component_subscribe($$self, serverApiServerId, $$value => $$invalidate(15, $serverApiServerId = $$value));
	component_subscribe($$self, selectedQuest, $$value => $$invalidate(16, $selectedQuest = $$value));

	const selectCategory = category => {
		set_store_value(selectedCategory, $selectedCategory = category, $selectedCategory);
		set_store_value(selectedQuest, $selectedQuest = {}, $selectedQuest);
		set_store_value(questsList, $questsList = [], $questsList);

		// console.log(category);
		if (category.accessType >= 0) {
			set_store_value(store_selectedView, $selectedView = constants_Views.Access, $selectedView);
			return;
		}

		set_store_value(store_selectedView, $selectedView = constants_Views.Quests, $selectedView);
		sendClientMessage('playerQuests.selectCategory', $selectedCategory.id);
	};

	const getQuests = () => {
		lib_axios.get(`${SERVER_API_URL}/client/json/table/get?project=${SERVER_API_PROJECT}&server=${$serverApiServerId}&key=quests`, {
			headers: {
				Authorization: `Bearer ${$serverApiToken}`
			}
		}).then(response => {
			set_store_value(apiData, [$apiData] = response.data, $apiData);
			set_store_value(apiData, $apiData.quest_list = $apiData.quest_list.map(item => ({ ...item, visible: false })), $apiData);
			set_store_value(store_categories, $categories = $apiData.category, $categories);
			set_store_value(chapters, $chapters = $apiData.chapter, $chapters);

			$apiData.quest_category_bonus.forEach(item => {
				set_store_value(categoryBonuses, $categoryBonuses[item.categoryId] = item, $categoryBonuses);
			});

			sendClientMessage('playerQuests.questsInitializeComplete');
		}).catch(error => {
			// eslint-disable-next-line no-console
			console.log('error from getQuests', JSON.stringify(error));
		});
	};

	if ((0,lodash.isEmpty)($apiData)) {
		getQuests();
	}

	registerEvent('pq.load', () => getQuests());
	const exit = () => sendClientMessage('playerQuests.exit');

	const initializeCategory = () => {
		const findCategory = $categories.find(itemFind => itemFind.id === $selectedCategoryUpdate);

		if ((0,lodash.isNil)(findCategory)) {
			return;
		}

		set_store_value(selectedCategory, $selectedCategory = findCategory, $selectedCategory);

		if ($selectedCategory.accessType >= 0) {
			set_store_value(store_selectedView, $selectedView = constants_Views.Access, $selectedView);
			return;
		}

		set_store_value(store_selectedView, $selectedView = constants_Views.Quests, $selectedView);
	};

	onDestroy(() => {
		set_store_value(store_selectedView, $selectedView = '', $selectedView);
	}); // $questsList = [];
	// $questsCollection = [];

	const click_handler = category => selectCategory(category);

	$$self.$$.update = () => {
		if ($$self.$$.dirty & /*$apiData, $categoriesAccess*/ 384) {
			$: {
				if (!(0,lodash.isEmpty)($apiData) && !(0,lodash.isEmpty)($categoriesAccess)) {
					set_store_value(
						store_categories,
						$categories = $apiData.category.map(category => {
							const access = $categoriesAccess.find(itemFind => itemFind.id === category.id);
							return { ...category, ...access };
						}),
						$categories
					);

					set_store_value(categoriesAccess, $categoriesAccess = [], $categoriesAccess);
				}
			}
		}

		if ($$self.$$.dirty & /*$categories, $selectedCategoryUpdate*/ 2050) {
			$: {
				if (!(0,lodash.isEmpty)($categories) && $selectedCategoryUpdate >= -1) {
					initializeCategory();
				}
			}
		}

		if ($$self.$$.dirty & /*$apiData, $questsProgress, $questsList*/ 1664) {
			$: {
				if (!(0,lodash.isEmpty)($apiData) && !(0,lodash.isEmpty)($questsProgress)) {
					set_store_value(
						questsList,
						$questsList = $questsProgress.map(progressItem => {
							const updatingQuest = $apiData.quest_list.find(itemFind => itemFind.id === progressItem.id && itemFind.categoryId === progressItem.categoryId);

							if ((0,lodash.isNil)(updatingQuest)) {
								return progressItem;
							}

							const updatingStages = updatingQuest.stages.map(stageItem => {
								const stageprogress = progressItem.stages.find(itemFind => itemFind.id === stageItem.id);
								return { ...stageItem, ...stageprogress };
							});

							return {
								...updatingQuest,
								...progressItem,
								stages: updatingStages,
								visible: true
							};
						}),
						$questsList
					);

					set_store_value(questsList, $questsList = $questsList.sort((a, b) => b.statusId - a.statusId), $questsList);
					set_store_value(store_questsProgress, $questsProgress = [], $questsProgress);
				}
			}
		}

		if ($$self.$$.dirty & /*$apiData, $categoryBonusProgress, $categoryBonuses, $selectedCategory*/ 225) {
			$: {
				if (!(0,lodash.isEmpty)($apiData) && !(0,lodash.isEmpty)($categoryBonusProgress)) {
					const currentBonus = $categoryBonuses[$selectedCategory.id];
					let updatingPrizes = currentBonus.prizes;

					updatingPrizes = updatingPrizes.map((prize, index) => {
						const prizeProgress = $categoryBonusProgress.prizes.find(itemFind => itemFind.id === prize.id);
						let stateText = '';
						let progressPercents = 0;

						if (prizeProgress.received) {
							stateText = 'ПОЛУЧЕН';
							progressPercents = 100;
						} else if ($categoryBonusProgress.progressCurrent >= prize.max_progress && !prizeProgress.received) {
							progressPercents = 100;
							stateText = 'ЗАБРАТЬ';
						} else {
							let previousMaxValue = 0;

							if (index > 0) {
								previousMaxValue = currentBonus.prizes[index - 1].max_progress;
							}

							const certainPrizeProgress = $categoryBonusProgress.progressCurrent - previousMaxValue;
							const certainPrizeTotal = prize.max_progress - previousMaxValue;
							progressPercents = countPercents(certainPrizeProgress, certainPrizeTotal);
							stateText = `${prize.max_progress} KP`;
						}

						return {
							...prize,
							...prizeProgress,
							progressPercents: progressPercents > 0 ? progressPercents : 0,
							stateText
						};
					});

					set_store_value(
						categoryBonuses,
						$categoryBonuses[$selectedCategory.id] = {
							...currentBonus,
							...$categoryBonusProgress,
							prizes: updatingPrizes
						},
						$categoryBonuses
					);

					set_store_value(categoryBonusProgress, $categoryBonusProgress = {}, $categoryBonusProgress);
				}
			}
		}
	};

	return [
		$selectedCategory,
		$categories,
		$selectedView,
		selectCategory,
		exit,
		$categoryBonusProgress,
		$categoryBonuses,
		$apiData,
		$categoriesAccess,
		$questsProgress,
		$questsList,
		$selectedCategoryUpdate,
		click_handler
	];
}

class Player_quests extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, player_quests_index_svelte_instance, player_quests_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const player_quests_index_svelte = (Player_quests);
;// CONCATENATED MODULE: ./src/views/documents/sound/paper-click.mp3
const paper_click_namespaceObject = __webpack_require__.p + "assets/c69f0ef55ed02166a8a7.mp3";
;// CONCATENATED MODULE: ./src/views/documents/sound/click.mp3
const sound_click_namespaceObject = __webpack_require__.p + "assets/3881f637b19a8a53ba9f.mp3";
;// CONCATENATED MODULE: ./src/views/documents/components/pasport/index.svelte
/* src\views\documents\components\pasport\index.svelte generated by Svelte v3.49.0 */







function pasport_index_svelte_add_css(target) {
	append_styles(target, "svelte-1xj8th1", "@charset \"UTF-8\";@keyframes svelte-1xj8th1-blinking{50%{opacity:0}}@keyframes svelte-1xj8th1-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1xj8th1-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1xj8th1-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1xj8th1-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1xj8th1-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1xj8th1-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1xj8th1-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1xj8th1-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1xj8th1-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1xj8th1-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1xj8th1-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1xj8th1-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1xj8th1-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1xj8th1-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.documents-pasport.svelte-1xj8th1{position:relative;flex:1 1 auto;display:flex;align-items:center;justify-content:center;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport.svelte-1xj8th1{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport.svelte-1xj8th1{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport.svelte-1xj8th1{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport.svelte-1xj8th1{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport.svelte-1xj8th1{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport.svelte-1xj8th1{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport.svelte-1xj8th1{border-radius:calc(0.0114583333 * 100vw + 0px)}}.documents-pasport__title.svelte-1xj8th1{position:absolute;font-family:\"GothamPro\";color:#4A578E;font-weight:700;text-transform:uppercase;font-size:calc(0.01875 * 100vw + 0px);line-height:calc(0.0223958333 * 100vw + 0px);top:calc(0.0130208333 * 100vw + 0px);left:calc(0.0333333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__title.svelte-1xj8th1{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__title.svelte-1xj8th1{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__title.svelte-1xj8th1{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__title.svelte-1xj8th1{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__title.svelte-1xj8th1{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__title.svelte-1xj8th1{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__title.svelte-1xj8th1{font-size:calc(0.020625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__title.svelte-1xj8th1{line-height:calc(0.0223958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__title.svelte-1xj8th1{line-height:calc(0.0223958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__title.svelte-1xj8th1{line-height:calc(0.0172447917 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__title.svelte-1xj8th1{line-height:calc(0.0246354167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__title.svelte-1xj8th1{line-height:calc(0.0156770833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__title.svelte-1xj8th1{line-height:calc(0.02015625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__title.svelte-1xj8th1{line-height:calc(0.0246354167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__title.svelte-1xj8th1{top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__title.svelte-1xj8th1{top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__title.svelte-1xj8th1{top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__title.svelte-1xj8th1{top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__title.svelte-1xj8th1{top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__title.svelte-1xj8th1{top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__title.svelte-1xj8th1{top:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__title.svelte-1xj8th1{left:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__title.svelte-1xj8th1{left:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__title.svelte-1xj8th1{left:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__title.svelte-1xj8th1{left:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__title.svelte-1xj8th1{left:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__title.svelte-1xj8th1{left:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__title.svelte-1xj8th1{left:calc(0.0366666667 * 100vw + 0px)}}.documents-pasport__header.svelte-1xj8th1{display:flex;align-items:center;position:absolute;font-family:\"GothamPro\";color:rgba(77, 88, 154, 0.5019607843);font-weight:700;text-transform:uppercase;font-size:calc(0.025 * 100vw + 0px);line-height:calc(0.0302083333 * 100vw + 0px);letter-spacing:calc(0.0052083333 * 100vw + 0px);top:calc(0.0078125 * 100vw + 0px);right:calc(0.03125 * 100vw + 0px);gap:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__header.svelte-1xj8th1{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__header.svelte-1xj8th1{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__header.svelte-1xj8th1{font-size:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__header.svelte-1xj8th1{font-size:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__header.svelte-1xj8th1{font-size:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__header.svelte-1xj8th1{font-size:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__header.svelte-1xj8th1{font-size:calc(0.0275 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__header.svelte-1xj8th1{line-height:calc(0.0302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__header.svelte-1xj8th1{line-height:calc(0.0302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__header.svelte-1xj8th1{line-height:calc(0.0232604167 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__header.svelte-1xj8th1{line-height:calc(0.0332291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__header.svelte-1xj8th1{line-height:calc(0.0211458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__header.svelte-1xj8th1{line-height:calc(0.0271875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__header.svelte-1xj8th1{line-height:calc(0.0332291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__header.svelte-1xj8th1{letter-spacing:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__header.svelte-1xj8th1{letter-spacing:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__header.svelte-1xj8th1{letter-spacing:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__header.svelte-1xj8th1{letter-spacing:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__header.svelte-1xj8th1{letter-spacing:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__header.svelte-1xj8th1{letter-spacing:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__header.svelte-1xj8th1{letter-spacing:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__header.svelte-1xj8th1{top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__header.svelte-1xj8th1{top:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__header.svelte-1xj8th1{top:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__header.svelte-1xj8th1{top:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__header.svelte-1xj8th1{top:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__header.svelte-1xj8th1{top:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__header.svelte-1xj8th1{top:calc(0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__header.svelte-1xj8th1{right:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__header.svelte-1xj8th1{right:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__header.svelte-1xj8th1{right:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__header.svelte-1xj8th1{right:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__header.svelte-1xj8th1{right:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__header.svelte-1xj8th1{right:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__header.svelte-1xj8th1{right:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__header.svelte-1xj8th1{gap:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__header.svelte-1xj8th1{gap:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__header.svelte-1xj8th1{gap:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__header.svelte-1xj8th1{gap:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__header.svelte-1xj8th1{gap:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__header.svelte-1xj8th1{gap:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__header.svelte-1xj8th1{gap:calc(0.0286458333 * 100vw + 0px)}}.documents-pasport__photo-wrapper.svelte-1xj8th1{position:absolute;overflow:hidden;display:flex;align-items:flex-start;justify-content:center;filter:grayscale(100%);top:calc(0.0755208333 * 100vw + 0px);left:calc(0.0375 * 100vw + 0px);width:calc(0.1447916667 * 100vw + 0px);height:calc(0.1953125 * 100vw + 0px);border-radius:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__photo-wrapper.svelte-1xj8th1{top:calc(0.0755208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__photo-wrapper.svelte-1xj8th1{top:calc(0.0755208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__photo-wrapper.svelte-1xj8th1{top:calc(0.0581510417 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__photo-wrapper.svelte-1xj8th1{top:calc(0.0830729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__photo-wrapper.svelte-1xj8th1{top:calc(0.0528645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__photo-wrapper.svelte-1xj8th1{top:calc(0.06796875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__photo-wrapper.svelte-1xj8th1{top:calc(0.0830729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__photo-wrapper.svelte-1xj8th1{left:calc(0.0375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__photo-wrapper.svelte-1xj8th1{left:calc(0.0375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__photo-wrapper.svelte-1xj8th1{left:calc(0.028875 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__photo-wrapper.svelte-1xj8th1{left:calc(0.04125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__photo-wrapper.svelte-1xj8th1{left:calc(0.02625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__photo-wrapper.svelte-1xj8th1{left:calc(0.03375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__photo-wrapper.svelte-1xj8th1{left:calc(0.04125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__photo-wrapper.svelte-1xj8th1{width:calc(0.1447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__photo-wrapper.svelte-1xj8th1{width:calc(0.1447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__photo-wrapper.svelte-1xj8th1{width:calc(0.1114895833 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__photo-wrapper.svelte-1xj8th1{width:calc(0.1592708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__photo-wrapper.svelte-1xj8th1{width:calc(0.1013541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__photo-wrapper.svelte-1xj8th1{width:calc(0.1303125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__photo-wrapper.svelte-1xj8th1{width:calc(0.1592708333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__photo-wrapper.svelte-1xj8th1{height:calc(0.1953125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__photo-wrapper.svelte-1xj8th1{height:calc(0.1953125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__photo-wrapper.svelte-1xj8th1{height:calc(0.150390625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__photo-wrapper.svelte-1xj8th1{height:calc(0.21484375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__photo-wrapper.svelte-1xj8th1{height:calc(0.13671875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__photo-wrapper.svelte-1xj8th1{height:calc(0.17578125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__photo-wrapper.svelte-1xj8th1{height:calc(0.21484375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__photo-wrapper.svelte-1xj8th1{border-radius:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__photo-wrapper.svelte-1xj8th1{border-radius:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__photo-wrapper.svelte-1xj8th1{border-radius:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__photo-wrapper.svelte-1xj8th1{border-radius:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__photo-wrapper.svelte-1xj8th1{border-radius:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__photo-wrapper.svelte-1xj8th1{border-radius:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__photo-wrapper.svelte-1xj8th1{border-radius:calc(0.01375 * 100vw + 0px)}}.documents-pasport__photo.svelte-1xj8th1{height:300%}.documents-pasport__main-info.svelte-1xj8th1{position:absolute;display:grid;grid-template-columns:50% 50%;width:calc(0.3307291667 * 100vw + 0px);top:calc(0.0859375 * 100vw + 0px);right:calc(0.03125 * 100vw + 0px);gap:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__main-info.svelte-1xj8th1{width:calc(0.3307291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__main-info.svelte-1xj8th1{width:calc(0.3307291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__main-info.svelte-1xj8th1{width:calc(0.2546614583 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__main-info.svelte-1xj8th1{width:calc(0.3638020833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__main-info.svelte-1xj8th1{width:calc(0.2315104167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__main-info.svelte-1xj8th1{width:calc(0.29765625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__main-info.svelte-1xj8th1{width:calc(0.3638020833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__main-info.svelte-1xj8th1{top:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__main-info.svelte-1xj8th1{top:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__main-info.svelte-1xj8th1{top:calc(0.066171875 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__main-info.svelte-1xj8th1{top:calc(0.09453125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__main-info.svelte-1xj8th1{top:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__main-info.svelte-1xj8th1{top:calc(0.07734375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__main-info.svelte-1xj8th1{top:calc(0.09453125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__main-info.svelte-1xj8th1{right:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__main-info.svelte-1xj8th1{right:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__main-info.svelte-1xj8th1{right:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__main-info.svelte-1xj8th1{right:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__main-info.svelte-1xj8th1{right:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__main-info.svelte-1xj8th1{right:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__main-info.svelte-1xj8th1{right:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__main-info.svelte-1xj8th1{gap:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__main-info.svelte-1xj8th1{gap:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__main-info.svelte-1xj8th1{gap:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__main-info.svelte-1xj8th1{gap:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__main-info.svelte-1xj8th1{gap:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__main-info.svelte-1xj8th1{gap:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__main-info.svelte-1xj8th1{gap:calc(0.01375 * 100vw + 0px)}}.documents-pasport__caption.svelte-1xj8th1{font-family:\"GothamPro\";color:#4A578E;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__caption.svelte-1xj8th1{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__caption.svelte-1xj8th1{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__caption.svelte-1xj8th1{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__caption.svelte-1xj8th1{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__caption.svelte-1xj8th1{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__caption.svelte-1xj8th1{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__caption.svelte-1xj8th1{font-size:calc(0.0091666667 * 100vw + 0px)}}.documents-pasport__value.svelte-1xj8th1{font-family:\"GothamPro\";color:#111111;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__value.svelte-1xj8th1{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__value.svelte-1xj8th1{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__value.svelte-1xj8th1{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__value.svelte-1xj8th1{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__value.svelte-1xj8th1{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__value.svelte-1xj8th1{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__value.svelte-1xj8th1{font-size:calc(0.01375 * 100vw + 0px)}}.documents-pasport__rank.svelte-1xj8th1{font-family:\"GothamPro\";color:#111111;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;font-size:calc(0.009375 * 100vw + 0px);word-wrap:break-word;white-space:normal}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__rank.svelte-1xj8th1{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__rank.svelte-1xj8th1{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__rank.svelte-1xj8th1{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__rank.svelte-1xj8th1{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__rank.svelte-1xj8th1{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__rank.svelte-1xj8th1{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__rank.svelte-1xj8th1{font-size:calc(0.0103125 * 100vw + 0px)}}.documents-pasport__serial.svelte-1xj8th1{position:absolute;left:calc(0.0375 * 100vw + 0px);bottom:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__serial.svelte-1xj8th1{left:calc(0.0375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__serial.svelte-1xj8th1{left:calc(0.0375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__serial.svelte-1xj8th1{left:calc(0.028875 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__serial.svelte-1xj8th1{left:calc(0.04125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__serial.svelte-1xj8th1{left:calc(0.02625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__serial.svelte-1xj8th1{left:calc(0.03375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__serial.svelte-1xj8th1{left:calc(0.04125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__serial.svelte-1xj8th1{bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__serial.svelte-1xj8th1{bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__serial.svelte-1xj8th1{bottom:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__serial.svelte-1xj8th1{bottom:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__serial.svelte-1xj8th1{bottom:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__serial.svelte-1xj8th1{bottom:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__serial.svelte-1xj8th1{bottom:calc(0.0057291667 * 100vw + 0px)}}.documents-pasport__serial-value.svelte-1xj8th1,.documents-pasport__number-value.svelte-1xj8th1{font-family:\"GothamPro\";color:#C4C4C4;font-weight:200;font-size:calc(0.025 * 100vw + 0px);letter-spacing:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__serial-value.svelte-1xj8th1,.documents-pasport__number-value.svelte-1xj8th1{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__serial-value.svelte-1xj8th1,.documents-pasport__number-value.svelte-1xj8th1{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__serial-value.svelte-1xj8th1,.documents-pasport__number-value.svelte-1xj8th1{font-size:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__serial-value.svelte-1xj8th1,.documents-pasport__number-value.svelte-1xj8th1{font-size:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__serial-value.svelte-1xj8th1,.documents-pasport__number-value.svelte-1xj8th1{font-size:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__serial-value.svelte-1xj8th1,.documents-pasport__number-value.svelte-1xj8th1{font-size:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__serial-value.svelte-1xj8th1,.documents-pasport__number-value.svelte-1xj8th1{font-size:calc(0.0275 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__serial-value.svelte-1xj8th1,.documents-pasport__number-value.svelte-1xj8th1{letter-spacing:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__serial-value.svelte-1xj8th1,.documents-pasport__number-value.svelte-1xj8th1{letter-spacing:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__serial-value.svelte-1xj8th1,.documents-pasport__number-value.svelte-1xj8th1{letter-spacing:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__serial-value.svelte-1xj8th1,.documents-pasport__number-value.svelte-1xj8th1{letter-spacing:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__serial-value.svelte-1xj8th1,.documents-pasport__number-value.svelte-1xj8th1{letter-spacing:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__serial-value.svelte-1xj8th1,.documents-pasport__number-value.svelte-1xj8th1{letter-spacing:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__serial-value.svelte-1xj8th1,.documents-pasport__number-value.svelte-1xj8th1{letter-spacing:calc(0.0057291667 * 100vw + 0px)}}.documents-pasport__serial-caption.svelte-1xj8th1,.documents-pasport__number-caption.svelte-1xj8th1{font-family:\"GothamPro\";color:#98A2C9;text-transform:uppercase;font-size:calc(0.0083333333 * 100vw + 0px);margin-bottom:calc(0.0104166667 * 100vw + 0px);letter-spacing:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__serial-caption.svelte-1xj8th1,.documents-pasport__number-caption.svelte-1xj8th1{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__serial-caption.svelte-1xj8th1,.documents-pasport__number-caption.svelte-1xj8th1{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__serial-caption.svelte-1xj8th1,.documents-pasport__number-caption.svelte-1xj8th1{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__serial-caption.svelte-1xj8th1,.documents-pasport__number-caption.svelte-1xj8th1{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__serial-caption.svelte-1xj8th1,.documents-pasport__number-caption.svelte-1xj8th1{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__serial-caption.svelte-1xj8th1,.documents-pasport__number-caption.svelte-1xj8th1{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__serial-caption.svelte-1xj8th1,.documents-pasport__number-caption.svelte-1xj8th1{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__serial-caption.svelte-1xj8th1,.documents-pasport__number-caption.svelte-1xj8th1{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__serial-caption.svelte-1xj8th1,.documents-pasport__number-caption.svelte-1xj8th1{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__serial-caption.svelte-1xj8th1,.documents-pasport__number-caption.svelte-1xj8th1{margin-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__serial-caption.svelte-1xj8th1,.documents-pasport__number-caption.svelte-1xj8th1{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__serial-caption.svelte-1xj8th1,.documents-pasport__number-caption.svelte-1xj8th1{margin-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__serial-caption.svelte-1xj8th1,.documents-pasport__number-caption.svelte-1xj8th1{margin-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__serial-caption.svelte-1xj8th1,.documents-pasport__number-caption.svelte-1xj8th1{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__serial-caption.svelte-1xj8th1,.documents-pasport__number-caption.svelte-1xj8th1{letter-spacing:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__serial-caption.svelte-1xj8th1,.documents-pasport__number-caption.svelte-1xj8th1{letter-spacing:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__serial-caption.svelte-1xj8th1,.documents-pasport__number-caption.svelte-1xj8th1{letter-spacing:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__serial-caption.svelte-1xj8th1,.documents-pasport__number-caption.svelte-1xj8th1{letter-spacing:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__serial-caption.svelte-1xj8th1,.documents-pasport__number-caption.svelte-1xj8th1{letter-spacing:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__serial-caption.svelte-1xj8th1,.documents-pasport__number-caption.svelte-1xj8th1{letter-spacing:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__serial-caption.svelte-1xj8th1,.documents-pasport__number-caption.svelte-1xj8th1{letter-spacing:calc(0.0057291667 * 100vw + 0px)}}.documents-pasport__number.svelte-1xj8th1{position:absolute;left:calc(0.1744791667 * 100vw + 0px);bottom:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__number.svelte-1xj8th1{left:calc(0.1744791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__number.svelte-1xj8th1{left:calc(0.1744791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__number.svelte-1xj8th1{left:calc(0.1343489583 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__number.svelte-1xj8th1{left:calc(0.1919270833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__number.svelte-1xj8th1{left:calc(0.1221354167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__number.svelte-1xj8th1{left:calc(0.15703125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__number.svelte-1xj8th1{left:calc(0.1919270833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__number.svelte-1xj8th1{bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__number.svelte-1xj8th1{bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__number.svelte-1xj8th1{bottom:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__number.svelte-1xj8th1{bottom:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__number.svelte-1xj8th1{bottom:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__number.svelte-1xj8th1{bottom:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__number.svelte-1xj8th1{bottom:calc(0.0057291667 * 100vw + 0px)}}.documents-pasport__signature-caption.svelte-1xj8th1{position:absolute;font-family:\"GothamPro\";color:#4A578E;right:calc(0.1901041667 * 100vw + 0px);bottom:calc(0.0260416667 * 100vw + 0px);font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__signature-caption.svelte-1xj8th1{right:calc(0.1901041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__signature-caption.svelte-1xj8th1{right:calc(0.1901041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__signature-caption.svelte-1xj8th1{right:calc(0.1463802083 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__signature-caption.svelte-1xj8th1{right:calc(0.2091145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__signature-caption.svelte-1xj8th1{right:calc(0.1330729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__signature-caption.svelte-1xj8th1{right:calc(0.17109375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__signature-caption.svelte-1xj8th1{right:calc(0.2091145833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__signature-caption.svelte-1xj8th1{bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__signature-caption.svelte-1xj8th1{bottom:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__signature-caption.svelte-1xj8th1{bottom:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__signature-caption.svelte-1xj8th1{bottom:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__signature-caption.svelte-1xj8th1{bottom:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__signature-caption.svelte-1xj8th1{bottom:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__signature-caption.svelte-1xj8th1{bottom:calc(0.0286458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__signature-caption.svelte-1xj8th1{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__signature-caption.svelte-1xj8th1{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__signature-caption.svelte-1xj8th1{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__signature-caption.svelte-1xj8th1{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__signature-caption.svelte-1xj8th1{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__signature-caption.svelte-1xj8th1{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__signature-caption.svelte-1xj8th1{font-size:calc(0.0091666667 * 100vw + 0px)}}.documents-pasport__signature.svelte-1xj8th1{position:absolute;font-family:\"StevenSignature\";color:#4A578E;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden;left:calc(0.3958333333 * 100vw + 0px);bottom:calc(0.015625 * 100vw + 0px);width:calc(0.171875 * 100vw + 0px);font-size:calc(0.0333333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__signature.svelte-1xj8th1{left:calc(0.3958333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__signature.svelte-1xj8th1{left:calc(0.3958333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__signature.svelte-1xj8th1{left:calc(0.3047916667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__signature.svelte-1xj8th1{left:calc(0.4354166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__signature.svelte-1xj8th1{left:calc(0.2770833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__signature.svelte-1xj8th1{left:calc(0.35625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__signature.svelte-1xj8th1{left:calc(0.4354166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__signature.svelte-1xj8th1{bottom:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__signature.svelte-1xj8th1{bottom:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__signature.svelte-1xj8th1{bottom:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__signature.svelte-1xj8th1{bottom:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__signature.svelte-1xj8th1{bottom:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__signature.svelte-1xj8th1{bottom:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__signature.svelte-1xj8th1{bottom:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__signature.svelte-1xj8th1{width:calc(0.171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__signature.svelte-1xj8th1{width:calc(0.171875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__signature.svelte-1xj8th1{width:calc(0.13234375 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__signature.svelte-1xj8th1{width:calc(0.1890625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__signature.svelte-1xj8th1{width:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__signature.svelte-1xj8th1{width:calc(0.1546875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__signature.svelte-1xj8th1{width:calc(0.1890625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__signature.svelte-1xj8th1{font-size:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__signature.svelte-1xj8th1{font-size:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__signature.svelte-1xj8th1{font-size:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__signature.svelte-1xj8th1{font-size:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__signature.svelte-1xj8th1{font-size:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__signature.svelte-1xj8th1{font-size:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__signature.svelte-1xj8th1{font-size:calc(0.0366666667 * 100vw + 0px)}}.documents-pasport__holder-wrapper.svelte-1xj8th1{display:flex;flex-direction:column;align-items:center;gap:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__holder-wrapper.svelte-1xj8th1{gap:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__holder-wrapper.svelte-1xj8th1{gap:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__holder-wrapper.svelte-1xj8th1{gap:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__holder-wrapper.svelte-1xj8th1{gap:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__holder-wrapper.svelte-1xj8th1{gap:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__holder-wrapper.svelte-1xj8th1{gap:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__holder-wrapper.svelte-1xj8th1{gap:calc(0.0183333333 * 100vw + 0px)}}.documents-pasport__holder.svelte-1xj8th1{display:flex;align-items:center;border-style:solid;border-color:#333D49;width:calc(0.3229166667 * 100vw + 0px);height:calc(0.078125 * 100vw + 0px);border-radius:calc(0.0125 * 100vw + 0px);padding-left:calc(0.025 * 100vw + 0px);padding-right:calc(0.025 * 100vw + 0px);border-width:calc(0.0010416667 * 100vw + 0px);gap:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__holder.svelte-1xj8th1{width:calc(0.3229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__holder.svelte-1xj8th1{width:calc(0.3229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__holder.svelte-1xj8th1{width:calc(0.2486458333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__holder.svelte-1xj8th1{width:calc(0.3552083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__holder.svelte-1xj8th1{width:calc(0.2260416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__holder.svelte-1xj8th1{width:calc(0.290625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__holder.svelte-1xj8th1{width:calc(0.3552083333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__holder.svelte-1xj8th1{height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__holder.svelte-1xj8th1{height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__holder.svelte-1xj8th1{height:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__holder.svelte-1xj8th1{height:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__holder.svelte-1xj8th1{height:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__holder.svelte-1xj8th1{height:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__holder.svelte-1xj8th1{height:calc(0.0859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__holder.svelte-1xj8th1{border-radius:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__holder.svelte-1xj8th1{border-radius:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__holder.svelte-1xj8th1{border-radius:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__holder.svelte-1xj8th1{border-radius:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__holder.svelte-1xj8th1{border-radius:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__holder.svelte-1xj8th1{border-radius:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__holder.svelte-1xj8th1{border-radius:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__holder.svelte-1xj8th1{padding-left:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__holder.svelte-1xj8th1{padding-left:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__holder.svelte-1xj8th1{padding-left:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__holder.svelte-1xj8th1{padding-left:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__holder.svelte-1xj8th1{padding-left:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__holder.svelte-1xj8th1{padding-left:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__holder.svelte-1xj8th1{padding-left:calc(0.0275 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__holder.svelte-1xj8th1{padding-right:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__holder.svelte-1xj8th1{padding-right:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__holder.svelte-1xj8th1{padding-right:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__holder.svelte-1xj8th1{padding-right:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__holder.svelte-1xj8th1{padding-right:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__holder.svelte-1xj8th1{padding-right:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__holder.svelte-1xj8th1{padding-right:calc(0.0275 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__holder.svelte-1xj8th1{border-width:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__holder.svelte-1xj8th1{border-width:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__holder.svelte-1xj8th1{border-width:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__holder.svelte-1xj8th1{border-width:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__holder.svelte-1xj8th1{border-width:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__holder.svelte-1xj8th1{border-width:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__holder.svelte-1xj8th1{border-width:calc(0.0011458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__holder.svelte-1xj8th1{gap:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__holder.svelte-1xj8th1{gap:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__holder.svelte-1xj8th1{gap:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__holder.svelte-1xj8th1{gap:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__holder.svelte-1xj8th1{gap:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__holder.svelte-1xj8th1{gap:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__holder.svelte-1xj8th1{gap:calc(0.0183333333 * 100vw + 0px)}}.documents-pasport__holder-icon.svelte-1xj8th1{border-color:#333D49;font-size:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__holder-icon.svelte-1xj8th1{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__holder-icon.svelte-1xj8th1{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__holder-icon.svelte-1xj8th1{font-size:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__holder-icon.svelte-1xj8th1{font-size:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__holder-icon.svelte-1xj8th1{font-size:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__holder-icon.svelte-1xj8th1{font-size:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__holder-icon.svelte-1xj8th1{font-size:calc(0.0275 * 100vw + 0px)}}.documents-pasport__holder-text.svelte-1xj8th1{text-align:center;font-family:\"GothamPro\";color:#333D49;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__holder-text.svelte-1xj8th1{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__holder-text.svelte-1xj8th1{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__holder-text.svelte-1xj8th1{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__holder-text.svelte-1xj8th1{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__holder-text.svelte-1xj8th1{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__holder-text.svelte-1xj8th1{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__holder-text.svelte-1xj8th1{font-size:calc(0.01375 * 100vw + 0px)}}.documents-pasport__button.svelte-1xj8th1{display:flex;align-items:center;justify-content:center;background-color:#FFFFFF;transition:0.14s ease-out;transition-property:background-color;width:calc(0.2125 * 100vw + 0px);height:calc(0.0291666667 * 100vw + 0px);border-radius:calc(0.00625 * 100vw + 0px);gap:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__button.svelte-1xj8th1{width:calc(0.2125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__button.svelte-1xj8th1{width:calc(0.2125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__button.svelte-1xj8th1{width:calc(0.163625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__button.svelte-1xj8th1{width:calc(0.23375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__button.svelte-1xj8th1{width:calc(0.14875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__button.svelte-1xj8th1{width:calc(0.19125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__button.svelte-1xj8th1{width:calc(0.23375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__button.svelte-1xj8th1{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__button.svelte-1xj8th1{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__button.svelte-1xj8th1{height:calc(0.0224583333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__button.svelte-1xj8th1{height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__button.svelte-1xj8th1{height:calc(0.0204166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__button.svelte-1xj8th1{height:calc(0.02625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__button.svelte-1xj8th1{height:calc(0.0320833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__button.svelte-1xj8th1{border-radius:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__button.svelte-1xj8th1{border-radius:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__button.svelte-1xj8th1{border-radius:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__button.svelte-1xj8th1{border-radius:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__button.svelte-1xj8th1{border-radius:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__button.svelte-1xj8th1{border-radius:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__button.svelte-1xj8th1{border-radius:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__button.svelte-1xj8th1{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__button.svelte-1xj8th1{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__button.svelte-1xj8th1{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__button.svelte-1xj8th1{gap:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__button.svelte-1xj8th1{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__button.svelte-1xj8th1{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__button.svelte-1xj8th1{gap:calc(0.0114583333 * 100vw + 0px)}}.documents-pasport__button.svelte-1xj8th1:hover{background-color:rgba(255, 255, 255, 0.8)}.documents-pasport__button.svelte-1xj8th1:active{background-color:rgba(255, 255, 255, 0.45)}.documents-pasport__button-icon.svelte-1xj8th1{border-color:#333D49;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__button-icon.svelte-1xj8th1{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__button-icon.svelte-1xj8th1{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__button-icon.svelte-1xj8th1{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__button-icon.svelte-1xj8th1{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__button-icon.svelte-1xj8th1{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__button-icon.svelte-1xj8th1{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__button-icon.svelte-1xj8th1{font-size:calc(0.01375 * 100vw + 0px)}}.documents-pasport__button-text.svelte-1xj8th1{text-align:center;font-family:\"GothamPro\";color:#333D49;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-pasport__button-text.svelte-1xj8th1{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-pasport__button-text.svelte-1xj8th1{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-pasport__button-text.svelte-1xj8th1{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-pasport__button-text.svelte-1xj8th1{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-pasport__button-text.svelte-1xj8th1{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-pasport__button-text.svelte-1xj8th1{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.documents-pasport__button-text.svelte-1xj8th1{font-size:calc(0.0091666667 * 100vw + 0px)}}");
}

// (2362:20) 
function pasport_index_svelte_create_if_block_1(ctx) {
	let div2;
	let div1;
	let i;
	let t0;
	let div0;

	let t1_value = (/*showMode*/ ctx[1]
	? 'У игрока отсутствует паспорт. Вы можете напомнить ему о необходимости получения паспорта в Мэрии штата.'
	: 'У вас нет паспорта. Вы можете оформить его в Мэрии штата. Используйте кнопку снизу, чтобы отметить Мэрию на GPS.') + "";

	let t1;
	let t2;
	let if_block = !/*showMode*/ ctx[1] && pasport_index_svelte_create_if_block_2(ctx);

	return {
		c() {
			div2 = internal_element("div");
			div1 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			if (if_block) if_block.c();
			attr(i, "class", "documents-pasport__holder-icon icon-triangle-warning svelte-1xj8th1");
			attr(div0, "class", "documents-pasport__holder-text svelte-1xj8th1");
			attr(div1, "class", "documents-pasport__holder svelte-1xj8th1");
			attr(div2, "class", "documents-pasport__holder-wrapper svelte-1xj8th1");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div1);
			append(div1, i);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
			append(div2, t2);
			if (if_block) if_block.m(div2, null);
		},
		p(ctx, dirty) {
			if (dirty & /*showMode*/ 2 && t1_value !== (t1_value = (/*showMode*/ ctx[1]
			? 'У игрока отсутствует паспорт. Вы можете напомнить ему о необходимости получения паспорта в Мэрии штата.'
			: 'У вас нет паспорта. Вы можете оформить его в Мэрии штата. Используйте кнопку снизу, чтобы отметить Мэрию на GPS.') + "")) set_data(t1, t1_value);

			if (!/*showMode*/ ctx[1]) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = pasport_index_svelte_create_if_block_2(ctx);
					if_block.c();
					if_block.m(div2, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		d(detaching) {
			if (detaching) detach(div2);
			if (if_block) if_block.d();
		}
	};
}

// (2296:1) {#if !isEmpty(data) && !data.not}
function pasport_index_svelte_create_if_block(ctx) {
	let div0;
	let t2;
	let div1;
	let t5;
	let div2;
	let img;
	let img_src_value;
	let t6;
	let div34;
	let div5;
	let div3;
	let t8;
	let div4;
	let t9_value = /*data*/ ctx[0].name + "";
	let t9;
	let t10;
	let div8;
	let div6;
	let t12;
	let div7;
	let t13_value = /*data*/ ctx[0].level + "";
	let t13;
	let t14;
	let div11;
	let div9;
	let t16;
	let div10;
	let t17_value = /*data*/ ctx[0].sex + "";
	let t17;
	let t18;
	let div14;
	let div12;
	let t20;
	let div13;
	let t21_value = /*data*/ ctx[0].zakono + "";
	let t21;
	let t22;
	let div17;
	let div15;
	let t24;
	let div16;
	let t25_value = /*data*/ ctx[0].birthday + "";
	let t25;
	let t26;
	let div20;
	let div18;
	let t28;
	let div19;
	let t29_value = /*data*/ ctx[0].job + "";
	let t29;
	let t30;
	let div23;
	let div21;
	let t32;
	let div22;
	let t33_value = /*data*/ ctx[0].citizen + "";
	let t33;
	let t34;
	let div26;
	let div24;
	let t36;
	let div25;
	let t37_value = /*data*/ ctx[0].agenda + "";
	let t37;
	let t38;
	let div29;
	let div27;
	let t40;
	let div28;
	let t41_value = /*data*/ ctx[0].married + "";
	let t41;
	let t42;
	let div33;
	let div30;
	let t44;
	let div31;
	let t45_value = /*data*/ ctx[0].charity + "";
	let t45;
	let t46;
	let div32;
	let t47_value = /*data*/ ctx[0].rank + "";
	let t47;
	let t48;
	let div37;
	let div35;
	let t49_value = /*data*/ ctx[0].seria + "";
	let t49;
	let t50;
	let div36;
	let t52;
	let div40;
	let div38;
	let t53_value = /*data*/ ctx[0].number + "";
	let t53;
	let t54;
	let div39;
	let t56;
	let div41;
	let t59;
	let div42;
	let t60_value = /*data*/ ctx[0].signature + "";
	let t60;
	let mounted;
	let dispose;

	return {
		c() {
			div0 = internal_element("div");
			div0.innerHTML = `Паспорт <br/> Passport`;
			t2 = space();
			div1 = internal_element("div");
			div1.innerHTML = `ARIZONA <i class="icon-arizona-logo"></i> ARIZONA`;
			t5 = space();
			div2 = internal_element("div");
			img = internal_element("img");
			t6 = space();
			div34 = internal_element("div");
			div5 = internal_element("div");
			div3 = internal_element("div");
			div3.textContent = "Имя Фамилия:";
			t8 = space();
			div4 = internal_element("div");
			t9 = internal_text(t9_value);
			t10 = space();
			div8 = internal_element("div");
			div6 = internal_element("div");
			div6.textContent = "Лет в штате:";
			t12 = space();
			div7 = internal_element("div");
			t13 = internal_text(t13_value);
			t14 = space();
			div11 = internal_element("div");
			div9 = internal_element("div");
			div9.textContent = "Пол:";
			t16 = space();
			div10 = internal_element("div");
			t17 = internal_text(t17_value);
			t18 = space();
			div14 = internal_element("div");
			div12 = internal_element("div");
			div12.textContent = "Законопослушность:";
			t20 = space();
			div13 = internal_element("div");
			t21 = internal_text(t21_value);
			t22 = space();
			div17 = internal_element("div");
			div15 = internal_element("div");
			div15.textContent = "Дата рождения:";
			t24 = space();
			div16 = internal_element("div");
			t25 = internal_text(t25_value);
			t26 = space();
			div20 = internal_element("div");
			div18 = internal_element("div");
			div18.textContent = "Работа:";
			t28 = space();
			div19 = internal_element("div");
			t29 = internal_text(t29_value);
			t30 = space();
			div23 = internal_element("div");
			div21 = internal_element("div");
			div21.textContent = "Гражданство:";
			t32 = space();
			div22 = internal_element("div");
			t33 = internal_text(t33_value);
			t34 = space();
			div26 = internal_element("div");
			div24 = internal_element("div");
			div24.textContent = "Повестка:";
			t36 = space();
			div25 = internal_element("div");
			t37 = internal_text(t37_value);
			t38 = space();
			div29 = internal_element("div");
			div27 = internal_element("div");
			div27.textContent = "Семейное положение:";
			t40 = space();
			div28 = internal_element("div");
			t41 = internal_text(t41_value);
			t42 = space();
			div33 = internal_element("div");
			div30 = internal_element("div");
			div30.textContent = "Организация:";
			t44 = space();
			div31 = internal_element("div");
			t45 = internal_text(t45_value);
			t46 = space();
			div32 = internal_element("div");
			t47 = internal_text(t47_value);
			t48 = space();
			div37 = internal_element("div");
			div35 = internal_element("div");
			t49 = internal_text(t49_value);
			t50 = space();
			div36 = internal_element("div");
			div36.textContent = "СЕРИЯ";
			t52 = space();
			div40 = internal_element("div");
			div38 = internal_element("div");
			t53 = internal_text(t53_value);
			t54 = space();
			div39 = internal_element("div");
			div39.textContent = "НОМЕР";
			t56 = space();
			div41 = internal_element("div");
			div41.innerHTML = `Подпись <br/> владельца:`;
			t59 = space();
			div42 = internal_element("div");
			t60 = internal_text(t60_value);
			attr(div0, "class", "documents-pasport__title svelte-1xj8th1");
			attr(div1, "class", "documents-pasport__header svelte-1xj8th1");
			if (!src_url_equal(img.src, img_src_value = CDN_URLS[CDN_CHANNEL_TYPES.CDN_CHANNEL_RESOURCES] + /*data*/ ctx[0].skin_image_url)) attr(img, "src", img_src_value);
			attr(img, "alt", "avatar");
			attr(img, "class", "documents-pasport__photo svelte-1xj8th1");
			attr(div2, "class", "documents-pasport__photo-wrapper svelte-1xj8th1");
			attr(div3, "class", "documents-pasport__caption svelte-1xj8th1");
			attr(div4, "class", "documents-pasport__value svelte-1xj8th1");
			attr(div5, "class", "documents-pasport__info");
			attr(div6, "class", "documents-pasport__caption svelte-1xj8th1");
			attr(div7, "class", "documents-pasport__value svelte-1xj8th1");
			attr(div8, "class", "documents-pasport__info");
			attr(div9, "class", "documents-pasport__caption svelte-1xj8th1");
			attr(div10, "class", "documents-pasport__value svelte-1xj8th1");
			attr(div11, "class", "documents-pasport__info");
			attr(div12, "class", "documents-pasport__caption svelte-1xj8th1");
			attr(div13, "class", "documents-pasport__value svelte-1xj8th1");
			attr(div14, "class", "documents-pasport__info");
			attr(div15, "class", "documents-pasport__caption svelte-1xj8th1");
			attr(div16, "class", "documents-pasport__value svelte-1xj8th1");
			attr(div17, "class", "documents-pasport__info");
			attr(div18, "class", "documents-pasport__caption svelte-1xj8th1");
			attr(div19, "class", "documents-pasport__value svelte-1xj8th1");
			attr(div20, "class", "documents-pasport__info");
			attr(div21, "class", "documents-pasport__caption svelte-1xj8th1");
			attr(div22, "class", "documents-pasport__value svelte-1xj8th1");
			attr(div23, "class", "documents-pasport__info");
			attr(div24, "class", "documents-pasport__caption svelte-1xj8th1");
			attr(div25, "class", "documents-pasport__value svelte-1xj8th1");
			set_style(div25, "color", /*data*/ ctx[0].agenda_color);
			attr(div26, "class", "documents-pasport__info");
			attr(div27, "class", "documents-pasport__caption svelte-1xj8th1");
			attr(div28, "class", "documents-pasport__value svelte-1xj8th1");
			attr(div29, "class", "documents-pasport__info");
			attr(div30, "class", "documents-pasport__caption svelte-1xj8th1");
			attr(div31, "class", "documents-pasport__value svelte-1xj8th1");
			attr(div32, "class", "documents-pasport__rank svelte-1xj8th1");
			attr(div33, "class", "documents-pasport__info");
			attr(div34, "class", "documents-pasport__main-info svelte-1xj8th1");
			attr(div35, "class", "documents-pasport__serial-value svelte-1xj8th1");
			attr(div36, "class", "documents-pasport__serial-caption svelte-1xj8th1");
			attr(div37, "class", "documents-pasport__serial svelte-1xj8th1");
			attr(div38, "class", "documents-pasport__number-value svelte-1xj8th1");
			attr(div39, "class", "documents-pasport__number-caption svelte-1xj8th1");
			attr(div40, "class", "documents-pasport__number svelte-1xj8th1");
			attr(div41, "class", "documents-pasport__signature-caption svelte-1xj8th1");
			attr(div42, "class", "documents-pasport__signature svelte-1xj8th1");
		},
		m(target, anchor) {
			insert(target, div0, anchor);
			insert(target, t2, anchor);
			insert(target, div1, anchor);
			insert(target, t5, anchor);
			insert(target, div2, anchor);
			append(div2, img);
			/*img_binding*/ ctx[5](img);
			insert(target, t6, anchor);
			insert(target, div34, anchor);
			append(div34, div5);
			append(div5, div3);
			append(div5, t8);
			append(div5, div4);
			append(div4, t9);
			append(div34, t10);
			append(div34, div8);
			append(div8, div6);
			append(div8, t12);
			append(div8, div7);
			append(div7, t13);
			append(div34, t14);
			append(div34, div11);
			append(div11, div9);
			append(div11, t16);
			append(div11, div10);
			append(div10, t17);
			append(div34, t18);
			append(div34, div14);
			append(div14, div12);
			append(div14, t20);
			append(div14, div13);
			append(div13, t21);
			append(div34, t22);
			append(div34, div17);
			append(div17, div15);
			append(div17, t24);
			append(div17, div16);
			append(div16, t25);
			append(div34, t26);
			append(div34, div20);
			append(div20, div18);
			append(div20, t28);
			append(div20, div19);
			append(div19, t29);
			append(div34, t30);
			append(div34, div23);
			append(div23, div21);
			append(div23, t32);
			append(div23, div22);
			append(div22, t33);
			append(div34, t34);
			append(div34, div26);
			append(div26, div24);
			append(div26, t36);
			append(div26, div25);
			append(div25, t37);
			append(div34, t38);
			append(div34, div29);
			append(div29, div27);
			append(div29, t40);
			append(div29, div28);
			append(div28, t41);
			append(div34, t42);
			append(div34, div33);
			append(div33, div30);
			append(div33, t44);
			append(div33, div31);
			append(div31, t45);
			append(div33, t46);
			append(div33, div32);
			append(div32, t47);
			insert(target, t48, anchor);
			insert(target, div37, anchor);
			append(div37, div35);
			append(div35, t49);
			append(div37, t50);
			append(div37, div36);
			insert(target, t52, anchor);
			insert(target, div40, anchor);
			append(div40, div38);
			append(div38, t53);
			append(div40, t54);
			append(div40, div39);
			insert(target, t56, anchor);
			insert(target, div41, anchor);
			insert(target, t59, anchor);
			insert(target, div42, anchor);
			append(div42, t60);

			if (!mounted) {
				dispose = listen(img, "error", /*handleError*/ ctx[4]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*data*/ 1 && !src_url_equal(img.src, img_src_value = CDN_URLS[CDN_CHANNEL_TYPES.CDN_CHANNEL_RESOURCES] + /*data*/ ctx[0].skin_image_url)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*data*/ 1 && t9_value !== (t9_value = /*data*/ ctx[0].name + "")) set_data(t9, t9_value);
			if (dirty & /*data*/ 1 && t13_value !== (t13_value = /*data*/ ctx[0].level + "")) set_data(t13, t13_value);
			if (dirty & /*data*/ 1 && t17_value !== (t17_value = /*data*/ ctx[0].sex + "")) set_data(t17, t17_value);
			if (dirty & /*data*/ 1 && t21_value !== (t21_value = /*data*/ ctx[0].zakono + "")) set_data(t21, t21_value);
			if (dirty & /*data*/ 1 && t25_value !== (t25_value = /*data*/ ctx[0].birthday + "")) set_data(t25, t25_value);
			if (dirty & /*data*/ 1 && t29_value !== (t29_value = /*data*/ ctx[0].job + "")) set_data(t29, t29_value);
			if (dirty & /*data*/ 1 && t33_value !== (t33_value = /*data*/ ctx[0].citizen + "")) set_data(t33, t33_value);
			if (dirty & /*data*/ 1 && t37_value !== (t37_value = /*data*/ ctx[0].agenda + "")) set_data(t37, t37_value);

			if (dirty & /*data*/ 1) {
				set_style(div25, "color", /*data*/ ctx[0].agenda_color);
			}

			if (dirty & /*data*/ 1 && t41_value !== (t41_value = /*data*/ ctx[0].married + "")) set_data(t41, t41_value);
			if (dirty & /*data*/ 1 && t45_value !== (t45_value = /*data*/ ctx[0].charity + "")) set_data(t45, t45_value);
			if (dirty & /*data*/ 1 && t47_value !== (t47_value = /*data*/ ctx[0].rank + "")) set_data(t47, t47_value);
			if (dirty & /*data*/ 1 && t49_value !== (t49_value = /*data*/ ctx[0].seria + "")) set_data(t49, t49_value);
			if (dirty & /*data*/ 1 && t53_value !== (t53_value = /*data*/ ctx[0].number + "")) set_data(t53, t53_value);
			if (dirty & /*data*/ 1 && t60_value !== (t60_value = /*data*/ ctx[0].signature + "")) set_data(t60, t60_value);
		},
		d(detaching) {
			if (detaching) detach(div0);
			if (detaching) detach(t2);
			if (detaching) detach(div1);
			if (detaching) detach(t5);
			if (detaching) detach(div2);
			/*img_binding*/ ctx[5](null);
			if (detaching) detach(t6);
			if (detaching) detach(div34);
			if (detaching) detach(t48);
			if (detaching) detach(div37);
			if (detaching) detach(t52);
			if (detaching) detach(div40);
			if (detaching) detach(t56);
			if (detaching) detach(div41);
			if (detaching) detach(t59);
			if (detaching) detach(div42);
			mounted = false;
			dispose();
		}
	};
}

// (2373:3) {#if !showMode}
function pasport_index_svelte_create_if_block_2(ctx) {
	let div1;
	let mounted;
	let dispose;

	return {
		c() {
			div1 = internal_element("div");

			div1.innerHTML = `<i class="documents-pasport__button-icon icon-geo-pick svelte-1xj8th1"></i> 
					<div class="documents-pasport__button-text svelte-1xj8th1">Отметить в GPS</div>`;

			attr(div1, "class", "documents-pasport__button svelte-1xj8th1");
		},
		m(target, anchor) {
			insert(target, div1, anchor);

			if (!mounted) {
				dispose = listen(div1, "click", /*showGPS*/ ctx[3]);
				mounted = true;
			}
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
			mounted = false;
			dispose();
		}
	};
}

function pasport_index_svelte_create_fragment(ctx) {
	let div;
	let show_if;

	function select_block_type(ctx, dirty) {
		if (dirty & /*data*/ 1) show_if = null;
		if (show_if == null) show_if = !!(!(0,lodash.isEmpty)(/*data*/ ctx[0]) && !/*data*/ ctx[0].not);
		if (show_if) return pasport_index_svelte_create_if_block;
		if (/*data*/ ctx[0].not) return pasport_index_svelte_create_if_block_1;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block = current_block_type && current_block_type(ctx);

	return {
		c() {
			div = internal_element("div");
			if (if_block) if_block.c();
			attr(div, "class", "documents-pasport svelte-1xj8th1");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block) if_block.m(div, null);
		},
		p(ctx, [dirty]) {
			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if (if_block) if_block.d(1);
				if_block = current_block_type && current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div, null);
				}
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);

			if (if_block) {
				if_block.d();
			}
		}
	};
}

function pasport_index_svelte_instance($$self, $$props, $$invalidate) {
	let { data = [] } = $$props;
	let { showMode = false } = $$props;
	const audio = new Audio(sound_click_namespaceObject);
	let imageNode = null;

	const showGPS = () => {
		audio.play();
		sendClientMessage('documents.pasport.gps');
	};

	const handleError = () => {
		if (!(0,lodash.isNil)(imageNode)) {
			$$invalidate(2, imageNode.src = `${CDN_URL}/assets/images/inventory/skins/512/-1.webp`, imageNode);
		}
	};

	function img_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			imageNode = $$value;
			$$invalidate(2, imageNode);
		});
	}

	$$self.$$set = $$props => {
		if ('data' in $$props) $$invalidate(0, data = $$props.data);
		if ('showMode' in $$props) $$invalidate(1, showMode = $$props.showMode);
	};

	return [data, showMode, imageNode, showGPS, handleError, img_binding];
}

class Pasport extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, pasport_index_svelte_instance, pasport_index_svelte_create_fragment, safe_not_equal, { data: 0, showMode: 1 }, pasport_index_svelte_add_css);
	}
}

/* harmony default export */ const pasport_index_svelte = (Pasport);
;// CONCATENATED MODULE: ./src/views/documents/components/license/constants.js
var _MAP_LICENSE_TO_INFO;
function license_constants_typeof(o) { "@babel/helpers - typeof"; return license_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, license_constants_typeof(o); }
function license_constants_defineProperty(e, r, t) { return (r = license_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function license_constants_toPropertyKey(t) { var i = license_constants_toPrimitive(t, "string"); return "symbol" == license_constants_typeof(i) ? i : i + ""; }
function license_constants_toPrimitive(t, r) { if ("object" != license_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != license_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
var Licenses = {
  Car: 'car',
  Bike: 'bike',
  Fly: 'fly',
  Boat: 'boat',
  Fish: 'fish',
  Gun: 'gun',
  Hunter: 'hunter',
  Hitch: 'hitch',
  Taxi: 'taxi',
  Mechanic: 'mechanic',
  Lawyer: 'lawyer',
  Taxman: 'taxman',
  Diplomat: 'diplomat',
  Resource: 'resource',
  Railway: 'railway'
};
var MAP_LICENSE_TO_INFO = (_MAP_LICENSE_TO_INFO = {}, license_constants_defineProperty(license_constants_defineProperty(license_constants_defineProperty(license_constants_defineProperty(license_constants_defineProperty(license_constants_defineProperty(license_constants_defineProperty(license_constants_defineProperty(license_constants_defineProperty(license_constants_defineProperty(_MAP_LICENSE_TO_INFO, Licenses.Car, {
  name: 'Лицензия на авто',
  icon: 'icon-car'
}), Licenses.Bike, {
  name: 'Лицензия на мото',
  icon: 'icon-bike'
}), Licenses.Fly, {
  name: 'Лицензия на полеты',
  icon: 'icon-airship'
}), Licenses.Boat, {
  name: 'Лицензия на плавание',
  icon: 'icon-boat'
}), Licenses.Fish, {
  name: 'Лицензия на ловлю рыбы',
  icon: 'icon-fishing'
}), Licenses.Gun, {
  name: 'Лицензия на оружие',
  icon: 'icon-glock'
}), Licenses.Hunter, {
  name: 'Лицензия на охоту',
  icon: 'icon-deer'
}), Licenses.Hitch, {
  name: 'Лицензия на раскопки',
  icon: 'icon-shovel'
}), Licenses.Taxi, {
  name: 'Лицензия таксиста',
  icon: 'icon-taxi'
}), Licenses.Mechanic, {
  name: 'Лицензия механика',
  icon: 'icon-repair'
}), license_constants_defineProperty(license_constants_defineProperty(license_constants_defineProperty(license_constants_defineProperty(license_constants_defineProperty(_MAP_LICENSE_TO_INFO, Licenses.Lawyer, {
  name: 'Лицензия адвоката',
  icon: 'icon-court'
}), Licenses.Taxman, {
  name: 'Лицензия налоговика',
  icon: 'icon-tax'
}), Licenses.Diplomat, {
  name: 'Лицензия дипломата',
  icon: 'icon-diplomacy'
}), Licenses.Resource, {
  name: 'Разрешение на добычу ресурсов',
  icon: 'icon-pickaxe'
}), Licenses.Railway, {
  name: 'Лицензия на вождения электро-поездом',
  icon: 'icon-railway'
}));
;// CONCATENATED MODULE: ./src/views/documents/components/license/index.svelte
/* src\views\documents\components\license\index.svelte generated by Svelte v3.49.0 */






function license_index_svelte_add_css(target) {
	append_styles(target, "svelte-10lakcj", "@keyframes svelte-10lakcj-blinking{50%{opacity:0}}@keyframes svelte-10lakcj-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-10lakcj-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-10lakcj-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-10lakcj-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-10lakcj-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-10lakcj-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-10lakcj-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-10lakcj-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-10lakcj-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-10lakcj-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-10lakcj-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-10lakcj-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-10lakcj-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-10lakcj-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.documents-license.svelte-10lakcj{position:relative;flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:space-between;border-radius:calc(0.0104166667 * 100vw + 0px);padding:calc(0.0208333333 * 100vw + 0px);padding-top:calc(0.0270833333 * 100vw + 0px);gap:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-license.svelte-10lakcj{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license.svelte-10lakcj{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license.svelte-10lakcj{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license.svelte-10lakcj{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license.svelte-10lakcj{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license.svelte-10lakcj{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license.svelte-10lakcj{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-license.svelte-10lakcj{padding:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license.svelte-10lakcj{padding:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license.svelte-10lakcj{padding:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license.svelte-10lakcj{padding:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license.svelte-10lakcj{padding:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license.svelte-10lakcj{padding:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license.svelte-10lakcj{padding:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-license.svelte-10lakcj{padding-top:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license.svelte-10lakcj{padding-top:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license.svelte-10lakcj{padding-top:calc(0.0208541667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license.svelte-10lakcj{padding-top:calc(0.0297916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license.svelte-10lakcj{padding-top:calc(0.0189583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license.svelte-10lakcj{padding-top:calc(0.024375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license.svelte-10lakcj{padding-top:calc(0.0297916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-license.svelte-10lakcj{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license.svelte-10lakcj{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license.svelte-10lakcj{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license.svelte-10lakcj{gap:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license.svelte-10lakcj{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license.svelte-10lakcj{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license.svelte-10lakcj{gap:calc(0.0114583333 * 100vw + 0px)}}.documents-license__title.svelte-10lakcj{width:100%;font-family:\"GothamPro\";color:rgba(46, 83, 86, 0.5);display:flex;align-items:center;justify-content:center;font-weight:700;text-transform:uppercase;font-size:calc(0.025 * 100vw + 0px);line-height:calc(0.0223958333 * 100vw + 0px);gap:calc(0.0145833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-license__title.svelte-10lakcj{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__title.svelte-10lakcj{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__title.svelte-10lakcj{font-size:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__title.svelte-10lakcj{font-size:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__title.svelte-10lakcj{font-size:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__title.svelte-10lakcj{font-size:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__title.svelte-10lakcj{font-size:calc(0.0275 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-license__title.svelte-10lakcj{line-height:calc(0.0223958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__title.svelte-10lakcj{line-height:calc(0.0223958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__title.svelte-10lakcj{line-height:calc(0.0172447917 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__title.svelte-10lakcj{line-height:calc(0.0246354167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__title.svelte-10lakcj{line-height:calc(0.0156770833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__title.svelte-10lakcj{line-height:calc(0.02015625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__title.svelte-10lakcj{line-height:calc(0.0246354167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-license__title.svelte-10lakcj{gap:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__title.svelte-10lakcj{gap:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__title.svelte-10lakcj{gap:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__title.svelte-10lakcj{gap:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__title.svelte-10lakcj{gap:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__title.svelte-10lakcj{gap:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__title.svelte-10lakcj{gap:calc(0.0160416667 * 100vw + 0px)}}.documents-license__diplomacy.svelte-10lakcj{display:flex;align-items:center;justify-content:center;border-style:solid;border-color:rgba(46, 83, 86, 0.5);background-color:rgba(46, 83, 86, 0.1);height:calc(0.0458333333 * 100vw + 0px);width:calc(0.1677083333 * 100vw + 0px);gap:calc(0.0125 * 100vw + 0px);border-radius:calc(0.0083333333 * 100vw + 0px);border-width:calc(0.0005208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-license__diplomacy.svelte-10lakcj{height:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__diplomacy.svelte-10lakcj{height:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__diplomacy.svelte-10lakcj{height:calc(0.0352916667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__diplomacy.svelte-10lakcj{height:calc(0.0504166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__diplomacy.svelte-10lakcj{height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__diplomacy.svelte-10lakcj{height:calc(0.04125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__diplomacy.svelte-10lakcj{height:calc(0.0504166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-license__diplomacy.svelte-10lakcj{width:calc(0.1677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__diplomacy.svelte-10lakcj{width:calc(0.1677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__diplomacy.svelte-10lakcj{width:calc(0.1291354167 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__diplomacy.svelte-10lakcj{width:calc(0.1844791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__diplomacy.svelte-10lakcj{width:calc(0.1173958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__diplomacy.svelte-10lakcj{width:calc(0.1509375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__diplomacy.svelte-10lakcj{width:calc(0.1844791667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-license__diplomacy.svelte-10lakcj{gap:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__diplomacy.svelte-10lakcj{gap:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__diplomacy.svelte-10lakcj{gap:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__diplomacy.svelte-10lakcj{gap:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__diplomacy.svelte-10lakcj{gap:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__diplomacy.svelte-10lakcj{gap:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__diplomacy.svelte-10lakcj{gap:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-license__diplomacy.svelte-10lakcj{border-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__diplomacy.svelte-10lakcj{border-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__diplomacy.svelte-10lakcj{border-radius:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__diplomacy.svelte-10lakcj{border-radius:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__diplomacy.svelte-10lakcj{border-radius:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__diplomacy.svelte-10lakcj{border-radius:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__diplomacy.svelte-10lakcj{border-radius:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-license__diplomacy.svelte-10lakcj{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__diplomacy.svelte-10lakcj{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__diplomacy.svelte-10lakcj{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__diplomacy.svelte-10lakcj{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__diplomacy.svelte-10lakcj{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__diplomacy.svelte-10lakcj{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__diplomacy.svelte-10lakcj{border-width:calc(0.0005729167 * 100vw + 0px)}}.documents-license__diplomacy-icon.svelte-10lakcj{color:#2E5356;font-size:calc(0.0333333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-license__diplomacy-icon.svelte-10lakcj{font-size:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__diplomacy-icon.svelte-10lakcj{font-size:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__diplomacy-icon.svelte-10lakcj{font-size:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__diplomacy-icon.svelte-10lakcj{font-size:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__diplomacy-icon.svelte-10lakcj{font-size:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__diplomacy-icon.svelte-10lakcj{font-size:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__diplomacy-icon.svelte-10lakcj{font-size:calc(0.0366666667 * 100vw + 0px)}}.documents-license__diplomacy-icon--disabled.svelte-10lakcj{color:rgba(46, 83, 86, 0.2)}.documents-license__diplomacy-name.svelte-10lakcj{font-family:\"GothamPro\";color:#2E5356;font-size:calc(0.0083333333 * 100vw + 0px);margin-bottom:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-license__diplomacy-name.svelte-10lakcj{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__diplomacy-name.svelte-10lakcj{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__diplomacy-name.svelte-10lakcj{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__diplomacy-name.svelte-10lakcj{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__diplomacy-name.svelte-10lakcj{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__diplomacy-name.svelte-10lakcj{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__diplomacy-name.svelte-10lakcj{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-license__diplomacy-name.svelte-10lakcj{margin-bottom:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__diplomacy-name.svelte-10lakcj{margin-bottom:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__diplomacy-name.svelte-10lakcj{margin-bottom:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__diplomacy-name.svelte-10lakcj{margin-bottom:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__diplomacy-name.svelte-10lakcj{margin-bottom:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__diplomacy-name.svelte-10lakcj{margin-bottom:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__diplomacy-name.svelte-10lakcj{margin-bottom:calc(0.0022916667 * 100vw + 0px)}}.documents-license__diplomacy-name--disabled.svelte-10lakcj{color:rgba(46, 83, 86, 0.2)}.documents-license__diplomacy-duration.svelte-10lakcj{width:fit-content;background-color:rgba(46, 83, 86, 0.5);font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.00625 * 100vw + 0px);border-radius:calc(0.0020833333 * 100vw + 0px);padding-left:calc(0.0041666667 * 100vw + 0px);padding-right:calc(0.0041666667 * 100vw + 0px);padding-top:calc(0.0020833333 * 100vw + 0px);padding-bottom:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-license__diplomacy-duration.svelte-10lakcj{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__diplomacy-duration.svelte-10lakcj{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__diplomacy-duration.svelte-10lakcj{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__diplomacy-duration.svelte-10lakcj{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__diplomacy-duration.svelte-10lakcj{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__diplomacy-duration.svelte-10lakcj{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__diplomacy-duration.svelte-10lakcj{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-license__diplomacy-duration.svelte-10lakcj{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__diplomacy-duration.svelte-10lakcj{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__diplomacy-duration.svelte-10lakcj{border-radius:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__diplomacy-duration.svelte-10lakcj{border-radius:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__diplomacy-duration.svelte-10lakcj{border-radius:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__diplomacy-duration.svelte-10lakcj{border-radius:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__diplomacy-duration.svelte-10lakcj{border-radius:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-license__diplomacy-duration.svelte-10lakcj{padding-left:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__diplomacy-duration.svelte-10lakcj{padding-left:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__diplomacy-duration.svelte-10lakcj{padding-left:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__diplomacy-duration.svelte-10lakcj{padding-left:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__diplomacy-duration.svelte-10lakcj{padding-left:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__diplomacy-duration.svelte-10lakcj{padding-left:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__diplomacy-duration.svelte-10lakcj{padding-left:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-license__diplomacy-duration.svelte-10lakcj{padding-right:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__diplomacy-duration.svelte-10lakcj{padding-right:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__diplomacy-duration.svelte-10lakcj{padding-right:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__diplomacy-duration.svelte-10lakcj{padding-right:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__diplomacy-duration.svelte-10lakcj{padding-right:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__diplomacy-duration.svelte-10lakcj{padding-right:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__diplomacy-duration.svelte-10lakcj{padding-right:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-license__diplomacy-duration.svelte-10lakcj{padding-top:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__diplomacy-duration.svelte-10lakcj{padding-top:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__diplomacy-duration.svelte-10lakcj{padding-top:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__diplomacy-duration.svelte-10lakcj{padding-top:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__diplomacy-duration.svelte-10lakcj{padding-top:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__diplomacy-duration.svelte-10lakcj{padding-top:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__diplomacy-duration.svelte-10lakcj{padding-top:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-license__diplomacy-duration.svelte-10lakcj{padding-bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__diplomacy-duration.svelte-10lakcj{padding-bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__diplomacy-duration.svelte-10lakcj{padding-bottom:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__diplomacy-duration.svelte-10lakcj{padding-bottom:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__diplomacy-duration.svelte-10lakcj{padding-bottom:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__diplomacy-duration.svelte-10lakcj{padding-bottom:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__diplomacy-duration.svelte-10lakcj{padding-bottom:calc(0.0028645833 * 100vw + 0px)}}.documents-license__diplomacy-duration--disabled.svelte-10lakcj{background-color:rgba(46, 83, 86, 0.2)}.documents-license__license-grid.svelte-10lakcj{display:grid;grid-auto-flow:column;grid-template-rows:repeat(5, 1fr);width:calc(0.4822916667 * 100vw + 0px);gap:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-license__license-grid.svelte-10lakcj{width:calc(0.4822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__license-grid.svelte-10lakcj{width:calc(0.4822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__license-grid.svelte-10lakcj{width:calc(0.3713645833 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__license-grid.svelte-10lakcj{width:calc(0.5305208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__license-grid.svelte-10lakcj{width:calc(0.3376041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__license-grid.svelte-10lakcj{width:calc(0.4340625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__license-grid.svelte-10lakcj{width:calc(0.5305208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-license__license-grid.svelte-10lakcj{gap:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__license-grid.svelte-10lakcj{gap:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__license-grid.svelte-10lakcj{gap:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__license-grid.svelte-10lakcj{gap:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__license-grid.svelte-10lakcj{gap:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__license-grid.svelte-10lakcj{gap:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__license-grid.svelte-10lakcj{gap:calc(0.0091666667 * 100vw + 0px)}}.documents-license__license-grid--centered.svelte-10lakcj{transform:translateY(-20%)}.documents-license__license.svelte-10lakcj{display:flex;align-items:center;height:calc(0.0333333333 * 100vw + 0px);gap:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-license__license.svelte-10lakcj{height:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__license.svelte-10lakcj{height:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__license.svelte-10lakcj{height:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__license.svelte-10lakcj{height:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__license.svelte-10lakcj{height:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__license.svelte-10lakcj{height:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__license.svelte-10lakcj{height:calc(0.0366666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-license__license.svelte-10lakcj{gap:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__license.svelte-10lakcj{gap:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__license.svelte-10lakcj{gap:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__license.svelte-10lakcj{gap:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__license.svelte-10lakcj{gap:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__license.svelte-10lakcj{gap:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__license.svelte-10lakcj{gap:calc(0.0183333333 * 100vw + 0px)}}.documents-license__license-icon.svelte-10lakcj{color:#2E5356;font-size:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-license__license-icon.svelte-10lakcj{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__license-icon.svelte-10lakcj{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__license-icon.svelte-10lakcj{font-size:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__license-icon.svelte-10lakcj{font-size:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__license-icon.svelte-10lakcj{font-size:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__license-icon.svelte-10lakcj{font-size:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__license-icon.svelte-10lakcj{font-size:calc(0.0275 * 100vw + 0px)}}.documents-license__license-icon--disabled.svelte-10lakcj{color:rgba(46, 83, 86, 0.2)}.documents-license__license-name.svelte-10lakcj{font-family:\"GothamPro\";color:#2E5356;font-size:calc(0.0083333333 * 100vw + 0px);margin-bottom:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-license__license-name.svelte-10lakcj{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__license-name.svelte-10lakcj{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__license-name.svelte-10lakcj{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__license-name.svelte-10lakcj{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__license-name.svelte-10lakcj{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__license-name.svelte-10lakcj{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__license-name.svelte-10lakcj{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-license__license-name.svelte-10lakcj{margin-bottom:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__license-name.svelte-10lakcj{margin-bottom:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__license-name.svelte-10lakcj{margin-bottom:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__license-name.svelte-10lakcj{margin-bottom:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__license-name.svelte-10lakcj{margin-bottom:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__license-name.svelte-10lakcj{margin-bottom:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__license-name.svelte-10lakcj{margin-bottom:calc(0.0022916667 * 100vw + 0px)}}.documents-license__license-name--disabled.svelte-10lakcj{color:rgba(46, 83, 86, 0.2)}.documents-license__license-duration.svelte-10lakcj{width:fit-content;background-color:rgba(46, 83, 86, 0.5);font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.00625 * 100vw + 0px);border-radius:calc(0.0020833333 * 100vw + 0px);padding-left:calc(0.0041666667 * 100vw + 0px);padding-right:calc(0.0041666667 * 100vw + 0px);padding-top:calc(0.0020833333 * 100vw + 0px);padding-bottom:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-license__license-duration.svelte-10lakcj{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__license-duration.svelte-10lakcj{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__license-duration.svelte-10lakcj{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__license-duration.svelte-10lakcj{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__license-duration.svelte-10lakcj{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__license-duration.svelte-10lakcj{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__license-duration.svelte-10lakcj{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-license__license-duration.svelte-10lakcj{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__license-duration.svelte-10lakcj{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__license-duration.svelte-10lakcj{border-radius:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__license-duration.svelte-10lakcj{border-radius:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__license-duration.svelte-10lakcj{border-radius:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__license-duration.svelte-10lakcj{border-radius:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__license-duration.svelte-10lakcj{border-radius:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-license__license-duration.svelte-10lakcj{padding-left:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__license-duration.svelte-10lakcj{padding-left:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__license-duration.svelte-10lakcj{padding-left:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__license-duration.svelte-10lakcj{padding-left:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__license-duration.svelte-10lakcj{padding-left:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__license-duration.svelte-10lakcj{padding-left:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__license-duration.svelte-10lakcj{padding-left:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-license__license-duration.svelte-10lakcj{padding-right:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__license-duration.svelte-10lakcj{padding-right:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__license-duration.svelte-10lakcj{padding-right:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__license-duration.svelte-10lakcj{padding-right:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__license-duration.svelte-10lakcj{padding-right:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__license-duration.svelte-10lakcj{padding-right:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__license-duration.svelte-10lakcj{padding-right:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-license__license-duration.svelte-10lakcj{padding-top:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__license-duration.svelte-10lakcj{padding-top:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__license-duration.svelte-10lakcj{padding-top:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__license-duration.svelte-10lakcj{padding-top:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__license-duration.svelte-10lakcj{padding-top:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__license-duration.svelte-10lakcj{padding-top:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__license-duration.svelte-10lakcj{padding-top:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-license__license-duration.svelte-10lakcj{padding-bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__license-duration.svelte-10lakcj{padding-bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__license-duration.svelte-10lakcj{padding-bottom:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__license-duration.svelte-10lakcj{padding-bottom:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__license-duration.svelte-10lakcj{padding-bottom:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__license-duration.svelte-10lakcj{padding-bottom:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__license-duration.svelte-10lakcj{padding-bottom:calc(0.0028645833 * 100vw + 0px)}}.documents-license__license-duration--disabled.svelte-10lakcj{background-color:rgba(46, 83, 86, 0.2)}.documents-license__tip.svelte-10lakcj{display:flex;align-items:center;justify-content:center;border-style:solid;border-color:rgba(46, 83, 86, 0.5);border-width:calc(0.0005208333 * 100vw + 0px);border-radius:calc(0.0083333333 * 100vw + 0px);width:calc(0.4822916667 * 100vw + 0px);height:calc(0.0416666667 * 100vw + 0px);margin-top:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-license__tip.svelte-10lakcj{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__tip.svelte-10lakcj{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__tip.svelte-10lakcj{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__tip.svelte-10lakcj{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__tip.svelte-10lakcj{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__tip.svelte-10lakcj{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__tip.svelte-10lakcj{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-license__tip.svelte-10lakcj{border-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__tip.svelte-10lakcj{border-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__tip.svelte-10lakcj{border-radius:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__tip.svelte-10lakcj{border-radius:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__tip.svelte-10lakcj{border-radius:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__tip.svelte-10lakcj{border-radius:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__tip.svelte-10lakcj{border-radius:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-license__tip.svelte-10lakcj{width:calc(0.4822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__tip.svelte-10lakcj{width:calc(0.4822916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__tip.svelte-10lakcj{width:calc(0.3713645833 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__tip.svelte-10lakcj{width:calc(0.5305208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__tip.svelte-10lakcj{width:calc(0.3376041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__tip.svelte-10lakcj{width:calc(0.4340625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__tip.svelte-10lakcj{width:calc(0.5305208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-license__tip.svelte-10lakcj{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__tip.svelte-10lakcj{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__tip.svelte-10lakcj{height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__tip.svelte-10lakcj{height:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__tip.svelte-10lakcj{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__tip.svelte-10lakcj{height:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__tip.svelte-10lakcj{height:calc(0.0458333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-license__tip.svelte-10lakcj{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__tip.svelte-10lakcj{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__tip.svelte-10lakcj{margin-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__tip.svelte-10lakcj{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__tip.svelte-10lakcj{margin-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__tip.svelte-10lakcj{margin-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__tip.svelte-10lakcj{margin-top:calc(0.0143229167 * 100vw + 0px)}}.documents-license__tip-text.svelte-10lakcj{text-align:center;font-family:\"GothamPro\";color:rgba(46, 83, 86, 0.5);font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-license__tip-text.svelte-10lakcj{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-license__tip-text.svelte-10lakcj{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-license__tip-text.svelte-10lakcj{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-license__tip-text.svelte-10lakcj{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-license__tip-text.svelte-10lakcj{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-license__tip-text.svelte-10lakcj{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-license__tip-text.svelte-10lakcj{font-size:calc(0.0114583333 * 100vw + 0px)}}");
}

function license_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[3] = list[i];
	child_ctx[5] = i;
	return child_ctx;
}

// (1711:1) {#if diplomacyLicense}
function license_index_svelte_create_if_block_3(ctx) {
	let div3;

	return {
		c() {
			div3 = internal_element("div");

			div3.innerHTML = `<i class="documents-license__diplomacy-icon icon-diplomacy svelte-10lakcj"></i> 
			<div class="documents-license__diplomacy-info-wrapper"><div class="documents-license__diplomacy-name svelte-10lakcj">Лицензия дипломата</div> 
				<div class="documents-license__diplomacy-duration svelte-10lakcj">Вечный пакет всех лицензий</div></div>`;

			attr(div3, "class", "documents-license__diplomacy svelte-10lakcj");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
		},
		d(detaching) {
			if (detaching) detach(div3);
		}
	};
}

// (1725:1) {#if !data.not}
function license_index_svelte_create_if_block_1(ctx) {
	let each_1_anchor;
	let each_value = /*data*/ ctx[2].info;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = license_index_svelte_create_each_block(license_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*data, isNil, MAP_LICENSE_TO_INFO*/ 4) {
				each_value = /*data*/ ctx[2].info;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = license_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = license_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		d(detaching) {
			destroy_each(each_blocks, detaching);
			if (detaching) detach(each_1_anchor);
		}
	};
}

// (1739:5) {#if !isNil(license.date_text)}
function license_index_svelte_create_if_block_2(ctx) {
	let div;
	let t_value = /*license*/ ctx[3].date_text + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "documents-license__license-duration svelte-10lakcj");
			toggle_class(div, "documents-license__license-duration--disabled", !/*license*/ ctx[3].available);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*data*/ 4 && t_value !== (t_value = /*license*/ ctx[3].date_text + "")) set_data(t, t_value);

			if (dirty & /*data*/ 4) {
				toggle_class(div, "documents-license__license-duration--disabled", !/*license*/ ctx[3].available);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1726:2) {#each data.info as license, index}
function license_index_svelte_create_each_block(ctx) {
	let div2;
	let i;
	let i_class_value;
	let t0;
	let div1;
	let div0;
	let t1_value = MAP_LICENSE_TO_INFO[/*license*/ ctx[3].license].name + "";
	let t1;
	let t2;
	let show_if = !(0,lodash.isNil)(/*license*/ ctx[3].date_text);
	let t3;
	let if_block = show_if && license_index_svelte_create_if_block_2(ctx);

	return {
		c() {
			div2 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div1 = internal_element("div");
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			if (if_block) if_block.c();
			t3 = space();
			attr(i, "class", i_class_value = "documents-license__license-icon " + MAP_LICENSE_TO_INFO[/*license*/ ctx[3].license].icon + " svelte-10lakcj");
			toggle_class(i, "documents-license__license-icon--disabled", !/*license*/ ctx[3].available);
			attr(div0, "class", "documents-license__license-name svelte-10lakcj");
			toggle_class(div0, "documents-license__license-name--disabled", !/*license*/ ctx[3].available);
			attr(div1, "class", "documents-license__license-info-wrapper");
			attr(div2, "class", "documents-license__license svelte-10lakcj");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, i);
			append(div2, t0);
			append(div2, div1);
			append(div1, div0);
			append(div0, t1);
			append(div1, t2);
			if (if_block) if_block.m(div1, null);
			append(div2, t3);
		},
		p(ctx, dirty) {
			if (dirty & /*data*/ 4 && i_class_value !== (i_class_value = "documents-license__license-icon " + MAP_LICENSE_TO_INFO[/*license*/ ctx[3].license].icon + " svelte-10lakcj")) {
				attr(i, "class", i_class_value);
			}

			if (dirty & /*data, data*/ 4) {
				toggle_class(i, "documents-license__license-icon--disabled", !/*license*/ ctx[3].available);
			}

			if (dirty & /*data*/ 4 && t1_value !== (t1_value = MAP_LICENSE_TO_INFO[/*license*/ ctx[3].license].name + "")) set_data(t1, t1_value);

			if (dirty & /*data*/ 4) {
				toggle_class(div0, "documents-license__license-name--disabled", !/*license*/ ctx[3].available);
			}

			if (dirty & /*data*/ 4) show_if = !(0,lodash.isNil)(/*license*/ ctx[3].date_text);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = license_index_svelte_create_if_block_2(ctx);
					if_block.c();
					if_block.m(div1, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		d(detaching) {
			if (detaching) detach(div2);
			if (if_block) if_block.d();
		}
	};
}

// (1753:1) {#if !showMode && !diplomacyLicense}
function license_index_svelte_create_if_block(ctx) {
	let div1;

	return {
		c() {
			div1 = internal_element("div");
			div1.innerHTML = `<div class="documents-license__tip-text svelte-10lakcj">Получить лицензии можно в Центре Лицензирования, или <br/> купить в донат-меню</div>`;
			attr(div1, "class", "documents-license__tip svelte-10lakcj");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

function license_index_svelte_create_fragment(ctx) {
	let div2;
	let div0;
	let t1;
	let t2;
	let div1;
	let t3;
	let div2_intro;
	let if_block0 = /*diplomacyLicense*/ ctx[0] && license_index_svelte_create_if_block_3(ctx);
	let if_block1 = !/*data*/ ctx[2].not && license_index_svelte_create_if_block_1(ctx);
	let if_block2 = !/*showMode*/ ctx[1] && !/*diplomacyLicense*/ ctx[0] && license_index_svelte_create_if_block(ctx);

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");

			div0.innerHTML = `<i class="documents-license__title-icon icon-license"></i>
		ЛИЦЕНЗИИ
		<i class="documents-license__title-icon icon-license"></i>`;

			t1 = space();
			if (if_block0) if_block0.c();
			t2 = space();
			div1 = internal_element("div");
			if (if_block1) if_block1.c();
			t3 = space();
			if (if_block2) if_block2.c();
			attr(div0, "class", "documents-license__title svelte-10lakcj");
			attr(div1, "class", "documents-license__license-grid svelte-10lakcj");
			toggle_class(div1, "documents-license__license-grid--centered", !/*diplomacyLicense*/ ctx[0] && /*showMode*/ ctx[1]);
			attr(div2, "class", "documents-license svelte-10lakcj");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div2, t1);
			if (if_block0) if_block0.m(div2, null);
			append(div2, t2);
			append(div2, div1);
			if (if_block1) if_block1.m(div1, null);
			append(div2, t3);
			if (if_block2) if_block2.m(div2, null);
		},
		p(ctx, [dirty]) {
			if (/*diplomacyLicense*/ ctx[0]) {
				if (if_block0) {
					
				} else {
					if_block0 = license_index_svelte_create_if_block_3(ctx);
					if_block0.c();
					if_block0.m(div2, t2);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (!/*data*/ ctx[2].not) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = license_index_svelte_create_if_block_1(ctx);
					if_block1.c();
					if_block1.m(div1, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty & /*diplomacyLicense, showMode*/ 3) {
				toggle_class(div1, "documents-license__license-grid--centered", !/*diplomacyLicense*/ ctx[0] && /*showMode*/ ctx[1]);
			}

			if (!/*showMode*/ ctx[1] && !/*diplomacyLicense*/ ctx[0]) {
				if (if_block2) {
					
				} else {
					if_block2 = license_index_svelte_create_if_block(ctx);
					if_block2.c();
					if_block2.m(div2, null);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}
		},
		i(local) {
			if (!div2_intro) {
				add_render_callback(() => {
					div2_intro = create_in_transition(div2, fade, { y: 35, duration: 250 });
					div2_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div2);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			if (if_block2) if_block2.d();
		}
	};
}

function license_index_svelte_instance($$self, $$props, $$invalidate) {
	let { diplomacyLicense = false } = $$props;
	let { showMode = false } = $$props;
	let { data = [] } = $$props;

	$$self.$$set = $$props => {
		if ('diplomacyLicense' in $$props) $$invalidate(0, diplomacyLicense = $$props.diplomacyLicense);
		if ('showMode' in $$props) $$invalidate(1, showMode = $$props.showMode);
		if ('data' in $$props) $$invalidate(2, data = $$props.data);
	};

	return [diplomacyLicense, showMode, data];
}

class License extends SvelteComponent {
	constructor(options) {
		super();

		init(
			this,
			options,
			license_index_svelte_instance,
			license_index_svelte_create_fragment,
			safe_not_equal,
			{
				diplomacyLicense: 0,
				showMode: 1,
				data: 2
			},
			license_index_svelte_add_css
		);
	}
}

/* harmony default export */ const license_index_svelte = (License);
;// CONCATENATED MODULE: ./src/views/documents/components/medical/index.svelte
/* src\views\documents\components\medical\index.svelte generated by Svelte v3.49.0 */








function medical_index_svelte_add_css(target) {
	append_styles(target, "svelte-7xt0wh", "@keyframes svelte-7xt0wh-blinking{50%{opacity:0}}@keyframes svelte-7xt0wh-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-7xt0wh-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-7xt0wh-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-7xt0wh-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-7xt0wh-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-7xt0wh-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-7xt0wh-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-7xt0wh-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-7xt0wh-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-7xt0wh-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-7xt0wh-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-7xt0wh-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-7xt0wh-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-7xt0wh-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.documents-medical.svelte-7xt0wh{position:relative;flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:space-between;border-radius:calc(0.0104166667 * 100vw + 0px);padding:calc(0.0208333333 * 100vw + 0px);gap:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-medical.svelte-7xt0wh{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical.svelte-7xt0wh{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical.svelte-7xt0wh{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical.svelte-7xt0wh{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical.svelte-7xt0wh{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical.svelte-7xt0wh{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical.svelte-7xt0wh{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-medical.svelte-7xt0wh{padding:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical.svelte-7xt0wh{padding:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical.svelte-7xt0wh{padding:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical.svelte-7xt0wh{padding:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical.svelte-7xt0wh{padding:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical.svelte-7xt0wh{padding:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical.svelte-7xt0wh{padding:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-medical.svelte-7xt0wh{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical.svelte-7xt0wh{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical.svelte-7xt0wh{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical.svelte-7xt0wh{gap:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical.svelte-7xt0wh{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical.svelte-7xt0wh{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical.svelte-7xt0wh{gap:calc(0.0114583333 * 100vw + 0px)}}.documents-medical--empty.svelte-7xt0wh{justify-content:center}.documents-medical__title.svelte-7xt0wh{width:100%;font-family:\"GothamPro\";color:rgba(73, 51, 51, 0.5);display:flex;align-items:center;justify-content:center;font-weight:700;text-transform:uppercase;font-size:calc(0.025 * 100vw + 0px);line-height:calc(0.0223958333 * 100vw + 0px);gap:calc(0.0145833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__title.svelte-7xt0wh{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__title.svelte-7xt0wh{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__title.svelte-7xt0wh{font-size:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__title.svelte-7xt0wh{font-size:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__title.svelte-7xt0wh{font-size:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__title.svelte-7xt0wh{font-size:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__title.svelte-7xt0wh{font-size:calc(0.0275 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__title.svelte-7xt0wh{line-height:calc(0.0223958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__title.svelte-7xt0wh{line-height:calc(0.0223958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__title.svelte-7xt0wh{line-height:calc(0.0172447917 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__title.svelte-7xt0wh{line-height:calc(0.0246354167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__title.svelte-7xt0wh{line-height:calc(0.0156770833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__title.svelte-7xt0wh{line-height:calc(0.02015625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__title.svelte-7xt0wh{line-height:calc(0.0246354167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__title.svelte-7xt0wh{gap:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__title.svelte-7xt0wh{gap:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__title.svelte-7xt0wh{gap:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__title.svelte-7xt0wh{gap:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__title.svelte-7xt0wh{gap:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__title.svelte-7xt0wh{gap:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__title.svelte-7xt0wh{gap:calc(0.0160416667 * 100vw + 0px)}}.documents-medical__title-icon.svelte-7xt0wh{font-size:calc(0.0354166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__title-icon.svelte-7xt0wh{font-size:calc(0.0354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__title-icon.svelte-7xt0wh{font-size:calc(0.0354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__title-icon.svelte-7xt0wh{font-size:calc(0.0272708333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__title-icon.svelte-7xt0wh{font-size:calc(0.0389583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__title-icon.svelte-7xt0wh{font-size:calc(0.0247916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__title-icon.svelte-7xt0wh{font-size:calc(0.031875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__title-icon.svelte-7xt0wh{font-size:calc(0.0389583333 * 100vw + 0px)}}.documents-medical__photo-wrapper.svelte-7xt0wh{position:absolute;overflow:hidden;display:flex;align-items:flex-start;justify-content:center;filter:grayscale(100%);top:calc(0.0755208333 * 100vw + 0px);left:calc(0.0375 * 100vw + 0px);width:calc(0.1447916667 * 100vw + 0px);height:calc(0.1953125 * 100vw + 0px);border-radius:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__photo-wrapper.svelte-7xt0wh{top:calc(0.0755208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__photo-wrapper.svelte-7xt0wh{top:calc(0.0755208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__photo-wrapper.svelte-7xt0wh{top:calc(0.0581510417 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__photo-wrapper.svelte-7xt0wh{top:calc(0.0830729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__photo-wrapper.svelte-7xt0wh{top:calc(0.0528645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__photo-wrapper.svelte-7xt0wh{top:calc(0.06796875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__photo-wrapper.svelte-7xt0wh{top:calc(0.0830729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__photo-wrapper.svelte-7xt0wh{left:calc(0.0375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__photo-wrapper.svelte-7xt0wh{left:calc(0.0375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__photo-wrapper.svelte-7xt0wh{left:calc(0.028875 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__photo-wrapper.svelte-7xt0wh{left:calc(0.04125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__photo-wrapper.svelte-7xt0wh{left:calc(0.02625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__photo-wrapper.svelte-7xt0wh{left:calc(0.03375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__photo-wrapper.svelte-7xt0wh{left:calc(0.04125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__photo-wrapper.svelte-7xt0wh{width:calc(0.1447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__photo-wrapper.svelte-7xt0wh{width:calc(0.1447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__photo-wrapper.svelte-7xt0wh{width:calc(0.1114895833 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__photo-wrapper.svelte-7xt0wh{width:calc(0.1592708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__photo-wrapper.svelte-7xt0wh{width:calc(0.1013541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__photo-wrapper.svelte-7xt0wh{width:calc(0.1303125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__photo-wrapper.svelte-7xt0wh{width:calc(0.1592708333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__photo-wrapper.svelte-7xt0wh{height:calc(0.1953125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__photo-wrapper.svelte-7xt0wh{height:calc(0.1953125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__photo-wrapper.svelte-7xt0wh{height:calc(0.150390625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__photo-wrapper.svelte-7xt0wh{height:calc(0.21484375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__photo-wrapper.svelte-7xt0wh{height:calc(0.13671875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__photo-wrapper.svelte-7xt0wh{height:calc(0.17578125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__photo-wrapper.svelte-7xt0wh{height:calc(0.21484375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__photo-wrapper.svelte-7xt0wh{border-radius:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__photo-wrapper.svelte-7xt0wh{border-radius:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__photo-wrapper.svelte-7xt0wh{border-radius:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__photo-wrapper.svelte-7xt0wh{border-radius:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__photo-wrapper.svelte-7xt0wh{border-radius:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__photo-wrapper.svelte-7xt0wh{border-radius:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__photo-wrapper.svelte-7xt0wh{border-radius:calc(0.01375 * 100vw + 0px)}}.documents-medical__photo.svelte-7xt0wh{height:300%}.documents-medical__main-info.svelte-7xt0wh{position:absolute;display:flex;flex-direction:column;flex-wrap:wrap;width:calc(0.325 * 100vw + 0px);height:calc(0.1041666667 * 100vw + 0px);top:calc(0.0755208333 * 100vw + 0px);right:calc(0.0375 * 100vw + 0px);gap:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__main-info.svelte-7xt0wh{width:calc(0.325 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__main-info.svelte-7xt0wh{width:calc(0.325 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__main-info.svelte-7xt0wh{width:calc(0.25025 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__main-info.svelte-7xt0wh{width:calc(0.3575 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__main-info.svelte-7xt0wh{width:calc(0.2275 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__main-info.svelte-7xt0wh{width:calc(0.2925 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__main-info.svelte-7xt0wh{width:calc(0.3575 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__main-info.svelte-7xt0wh{height:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__main-info.svelte-7xt0wh{height:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__main-info.svelte-7xt0wh{height:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__main-info.svelte-7xt0wh{height:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__main-info.svelte-7xt0wh{height:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__main-info.svelte-7xt0wh{height:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__main-info.svelte-7xt0wh{height:calc(0.1145833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__main-info.svelte-7xt0wh{top:calc(0.0755208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__main-info.svelte-7xt0wh{top:calc(0.0755208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__main-info.svelte-7xt0wh{top:calc(0.0581510417 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__main-info.svelte-7xt0wh{top:calc(0.0830729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__main-info.svelte-7xt0wh{top:calc(0.0528645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__main-info.svelte-7xt0wh{top:calc(0.06796875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__main-info.svelte-7xt0wh{top:calc(0.0830729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__main-info.svelte-7xt0wh{right:calc(0.0375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__main-info.svelte-7xt0wh{right:calc(0.0375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__main-info.svelte-7xt0wh{right:calc(0.028875 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__main-info.svelte-7xt0wh{right:calc(0.04125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__main-info.svelte-7xt0wh{right:calc(0.02625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__main-info.svelte-7xt0wh{right:calc(0.03375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__main-info.svelte-7xt0wh{right:calc(0.04125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__main-info.svelte-7xt0wh{gap:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__main-info.svelte-7xt0wh{gap:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__main-info.svelte-7xt0wh{gap:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__main-info.svelte-7xt0wh{gap:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__main-info.svelte-7xt0wh{gap:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__main-info.svelte-7xt0wh{gap:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__main-info.svelte-7xt0wh{gap:calc(0.01375 * 100vw + 0px)}}.documents-medical__caption.svelte-7xt0wh{font-family:\"GothamPro\";color:#B06262;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__caption.svelte-7xt0wh{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__caption.svelte-7xt0wh{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__caption.svelte-7xt0wh{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__caption.svelte-7xt0wh{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__caption.svelte-7xt0wh{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__caption.svelte-7xt0wh{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__caption.svelte-7xt0wh{font-size:calc(0.0091666667 * 100vw + 0px)}}.documents-medical__value-wrapper.svelte-7xt0wh{display:flex;align-items:center;gap:calc(0.003125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__value-wrapper.svelte-7xt0wh{gap:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__value-wrapper.svelte-7xt0wh{gap:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__value-wrapper.svelte-7xt0wh{gap:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__value-wrapper.svelte-7xt0wh{gap:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__value-wrapper.svelte-7xt0wh{gap:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__value-wrapper.svelte-7xt0wh{gap:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__value-wrapper.svelte-7xt0wh{gap:calc(0.0034375 * 100vw + 0px)}}.documents-medical__value.svelte-7xt0wh{font-family:\"GothamPro\";color:#111111;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__value.svelte-7xt0wh{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__value.svelte-7xt0wh{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__value.svelte-7xt0wh{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__value.svelte-7xt0wh{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__value.svelte-7xt0wh{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__value.svelte-7xt0wh{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__value.svelte-7xt0wh{font-size:calc(0.01375 * 100vw + 0px)}}.documents-medical__refresh-card.svelte-7xt0wh{font-family:\"GothamPro\";display:inline-flex;align-items:center;justify-content:center;color:#111111;background-color:#DC8C8C;font-size:calc(0.00625 * 100vw + 0px);border-radius:calc(0.0041666667 * 100vw + 0px);height:calc(0.0125 * 100vw + 0px);width:calc(0.0619791667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__refresh-card.svelte-7xt0wh{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__refresh-card.svelte-7xt0wh{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__refresh-card.svelte-7xt0wh{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__refresh-card.svelte-7xt0wh{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__refresh-card.svelte-7xt0wh{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__refresh-card.svelte-7xt0wh{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__refresh-card.svelte-7xt0wh{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__refresh-card.svelte-7xt0wh{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__refresh-card.svelte-7xt0wh{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__refresh-card.svelte-7xt0wh{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__refresh-card.svelte-7xt0wh{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__refresh-card.svelte-7xt0wh{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__refresh-card.svelte-7xt0wh{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__refresh-card.svelte-7xt0wh{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__refresh-card.svelte-7xt0wh{height:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__refresh-card.svelte-7xt0wh{height:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__refresh-card.svelte-7xt0wh{height:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__refresh-card.svelte-7xt0wh{height:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__refresh-card.svelte-7xt0wh{height:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__refresh-card.svelte-7xt0wh{height:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__refresh-card.svelte-7xt0wh{height:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__refresh-card.svelte-7xt0wh{width:calc(0.0619791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__refresh-card.svelte-7xt0wh{width:calc(0.0619791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__refresh-card.svelte-7xt0wh{width:calc(0.0477239583 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__refresh-card.svelte-7xt0wh{width:calc(0.0681770833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__refresh-card.svelte-7xt0wh{width:calc(0.0433854167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__refresh-card.svelte-7xt0wh{width:calc(0.05578125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__refresh-card.svelte-7xt0wh{width:calc(0.0681770833 * 100vw + 0px)}}.documents-medical__tip.svelte-7xt0wh{display:flex;align-items:center;justify-content:center;border-style:solid;border-color:#DC8C8C;border-width:calc(0.0005208333 * 100vw + 0px);border-radius:calc(0.0083333333 * 100vw + 0px);width:calc(0.5026041667 * 100vw + 0px);height:calc(0.0416666667 * 100vw + 0px);margin-top:calc(0.0130208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__tip.svelte-7xt0wh{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__tip.svelte-7xt0wh{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__tip.svelte-7xt0wh{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__tip.svelte-7xt0wh{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__tip.svelte-7xt0wh{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__tip.svelte-7xt0wh{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__tip.svelte-7xt0wh{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__tip.svelte-7xt0wh{border-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__tip.svelte-7xt0wh{border-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__tip.svelte-7xt0wh{border-radius:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__tip.svelte-7xt0wh{border-radius:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__tip.svelte-7xt0wh{border-radius:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__tip.svelte-7xt0wh{border-radius:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__tip.svelte-7xt0wh{border-radius:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__tip.svelte-7xt0wh{width:calc(0.5026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__tip.svelte-7xt0wh{width:calc(0.5026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__tip.svelte-7xt0wh{width:calc(0.3870052083 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__tip.svelte-7xt0wh{width:calc(0.5528645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__tip.svelte-7xt0wh{width:calc(0.3518229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__tip.svelte-7xt0wh{width:calc(0.45234375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__tip.svelte-7xt0wh{width:calc(0.5528645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__tip.svelte-7xt0wh{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__tip.svelte-7xt0wh{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__tip.svelte-7xt0wh{height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__tip.svelte-7xt0wh{height:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__tip.svelte-7xt0wh{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__tip.svelte-7xt0wh{height:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__tip.svelte-7xt0wh{height:calc(0.0458333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__tip.svelte-7xt0wh{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__tip.svelte-7xt0wh{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__tip.svelte-7xt0wh{margin-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__tip.svelte-7xt0wh{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__tip.svelte-7xt0wh{margin-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__tip.svelte-7xt0wh{margin-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__tip.svelte-7xt0wh{margin-top:calc(0.0143229167 * 100vw + 0px)}}.documents-medical__tip-text.svelte-7xt0wh{text-align:center;font-family:\"GothamPro\";color:rgba(73, 51, 51, 0.5);font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__tip-text.svelte-7xt0wh{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__tip-text.svelte-7xt0wh{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__tip-text.svelte-7xt0wh{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__tip-text.svelte-7xt0wh{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__tip-text.svelte-7xt0wh{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__tip-text.svelte-7xt0wh{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__tip-text.svelte-7xt0wh{font-size:calc(0.0114583333 * 100vw + 0px)}}.documents-medical__inspection.svelte-7xt0wh{position:absolute;width:calc(0.325 * 100vw + 0px);bottom:calc(0.0791666667 * 100vw + 0px);right:calc(0.0375 * 100vw + 0px);gap:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__inspection.svelte-7xt0wh{width:calc(0.325 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__inspection.svelte-7xt0wh{width:calc(0.325 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__inspection.svelte-7xt0wh{width:calc(0.25025 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__inspection.svelte-7xt0wh{width:calc(0.3575 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__inspection.svelte-7xt0wh{width:calc(0.2275 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__inspection.svelte-7xt0wh{width:calc(0.2925 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__inspection.svelte-7xt0wh{width:calc(0.3575 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__inspection.svelte-7xt0wh{bottom:calc(0.0791666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__inspection.svelte-7xt0wh{bottom:calc(0.0791666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__inspection.svelte-7xt0wh{bottom:calc(0.0609583333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__inspection.svelte-7xt0wh{bottom:calc(0.0870833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__inspection.svelte-7xt0wh{bottom:calc(0.0554166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__inspection.svelte-7xt0wh{bottom:calc(0.07125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__inspection.svelte-7xt0wh{bottom:calc(0.0870833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__inspection.svelte-7xt0wh{right:calc(0.0375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__inspection.svelte-7xt0wh{right:calc(0.0375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__inspection.svelte-7xt0wh{right:calc(0.028875 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__inspection.svelte-7xt0wh{right:calc(0.04125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__inspection.svelte-7xt0wh{right:calc(0.02625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__inspection.svelte-7xt0wh{right:calc(0.03375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__inspection.svelte-7xt0wh{right:calc(0.04125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__inspection.svelte-7xt0wh{gap:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__inspection.svelte-7xt0wh{gap:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__inspection.svelte-7xt0wh{gap:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__inspection.svelte-7xt0wh{gap:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__inspection.svelte-7xt0wh{gap:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__inspection.svelte-7xt0wh{gap:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__inspection.svelte-7xt0wh{gap:calc(0.01375 * 100vw + 0px)}}.documents-medical__inspection-header.svelte-7xt0wh{display:flex;align-items:center;justify-content:space-between;font-family:\"GothamPro\";color:#B06262;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__inspection-header.svelte-7xt0wh{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__inspection-header.svelte-7xt0wh{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__inspection-header.svelte-7xt0wh{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__inspection-header.svelte-7xt0wh{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__inspection-header.svelte-7xt0wh{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__inspection-header.svelte-7xt0wh{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__inspection-header.svelte-7xt0wh{font-size:calc(0.0091666667 * 100vw + 0px)}}.documents-medical__inspection-progress.svelte-7xt0wh{display:flex;align-items:center;gap:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__inspection-progress.svelte-7xt0wh{gap:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__inspection-progress.svelte-7xt0wh{gap:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__inspection-progress.svelte-7xt0wh{gap:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__inspection-progress.svelte-7xt0wh{gap:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__inspection-progress.svelte-7xt0wh{gap:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__inspection-progress.svelte-7xt0wh{gap:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__inspection-progress.svelte-7xt0wh{gap:calc(0.0045833333 * 100vw + 0px)}}.documents-medical__inspection-progress.svelte-7xt0wh{display:flex;align-items:center;gap:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__inspection-progress.svelte-7xt0wh{gap:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__inspection-progress.svelte-7xt0wh{gap:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__inspection-progress.svelte-7xt0wh{gap:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__inspection-progress.svelte-7xt0wh{gap:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__inspection-progress.svelte-7xt0wh{gap:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__inspection-progress.svelte-7xt0wh{gap:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__inspection-progress.svelte-7xt0wh{gap:calc(0.0045833333 * 100vw + 0px)}}.documents-medical__progress-counter.svelte-7xt0wh{display:flex;gap:calc(0.0083333333 * 100vw + 0px);margin-top:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__progress-counter.svelte-7xt0wh{gap:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__progress-counter.svelte-7xt0wh{gap:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__progress-counter.svelte-7xt0wh{gap:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__progress-counter.svelte-7xt0wh{gap:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__progress-counter.svelte-7xt0wh{gap:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__progress-counter.svelte-7xt0wh{gap:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__progress-counter.svelte-7xt0wh{gap:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__progress-counter.svelte-7xt0wh{margin-top:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__progress-counter.svelte-7xt0wh{margin-top:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__progress-counter.svelte-7xt0wh{margin-top:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__progress-counter.svelte-7xt0wh{margin-top:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__progress-counter.svelte-7xt0wh{margin-top:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__progress-counter.svelte-7xt0wh{margin-top:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__progress-counter.svelte-7xt0wh{margin-top:calc(0.006875 * 100vw + 0px)}}.documents-medical__progress-counter-item.svelte-7xt0wh{background-color:#C9B8B8;width:calc(0.025 * 100vw + 0px);height:calc(0.0333333333 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__progress-counter-item.svelte-7xt0wh{width:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__progress-counter-item.svelte-7xt0wh{width:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__progress-counter-item.svelte-7xt0wh{width:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__progress-counter-item.svelte-7xt0wh{width:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__progress-counter-item.svelte-7xt0wh{width:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__progress-counter-item.svelte-7xt0wh{width:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__progress-counter-item.svelte-7xt0wh{width:calc(0.0275 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__progress-counter-item.svelte-7xt0wh{height:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__progress-counter-item.svelte-7xt0wh{height:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__progress-counter-item.svelte-7xt0wh{height:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__progress-counter-item.svelte-7xt0wh{height:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__progress-counter-item.svelte-7xt0wh{height:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__progress-counter-item.svelte-7xt0wh{height:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__progress-counter-item.svelte-7xt0wh{height:calc(0.0366666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__progress-counter-item.svelte-7xt0wh{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__progress-counter-item.svelte-7xt0wh{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__progress-counter-item.svelte-7xt0wh{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__progress-counter-item.svelte-7xt0wh{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__progress-counter-item.svelte-7xt0wh{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__progress-counter-item.svelte-7xt0wh{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__progress-counter-item.svelte-7xt0wh{border-radius:calc(0.0057291667 * 100vw + 0px)}}.documents-medical__progress-counter-item--active.svelte-7xt0wh{background-color:#DC8C8C}.documents-medical__holder-wrapper.svelte-7xt0wh{display:flex;flex-direction:column;align-items:center;gap:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__holder-wrapper.svelte-7xt0wh{gap:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__holder-wrapper.svelte-7xt0wh{gap:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__holder-wrapper.svelte-7xt0wh{gap:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__holder-wrapper.svelte-7xt0wh{gap:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__holder-wrapper.svelte-7xt0wh{gap:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__holder-wrapper.svelte-7xt0wh{gap:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__holder-wrapper.svelte-7xt0wh{gap:calc(0.0183333333 * 100vw + 0px)}}.documents-medical__holder.svelte-7xt0wh{display:flex;align-items:center;border-style:solid;border-color:#493333;width:calc(0.3229166667 * 100vw + 0px);height:calc(0.0916666667 * 100vw + 0px);border-radius:calc(0.0125 * 100vw + 0px);padding-left:calc(0.025 * 100vw + 0px);padding-right:calc(0.025 * 100vw + 0px);border-width:calc(0.0010416667 * 100vw + 0px);gap:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__holder.svelte-7xt0wh{width:calc(0.3229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__holder.svelte-7xt0wh{width:calc(0.3229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__holder.svelte-7xt0wh{width:calc(0.2486458333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__holder.svelte-7xt0wh{width:calc(0.3552083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__holder.svelte-7xt0wh{width:calc(0.2260416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__holder.svelte-7xt0wh{width:calc(0.290625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__holder.svelte-7xt0wh{width:calc(0.3552083333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__holder.svelte-7xt0wh{height:calc(0.0916666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__holder.svelte-7xt0wh{height:calc(0.0916666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__holder.svelte-7xt0wh{height:calc(0.0705833333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__holder.svelte-7xt0wh{height:calc(0.1008333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__holder.svelte-7xt0wh{height:calc(0.0641666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__holder.svelte-7xt0wh{height:calc(0.0825 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__holder.svelte-7xt0wh{height:calc(0.1008333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__holder.svelte-7xt0wh{border-radius:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__holder.svelte-7xt0wh{border-radius:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__holder.svelte-7xt0wh{border-radius:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__holder.svelte-7xt0wh{border-radius:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__holder.svelte-7xt0wh{border-radius:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__holder.svelte-7xt0wh{border-radius:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__holder.svelte-7xt0wh{border-radius:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__holder.svelte-7xt0wh{padding-left:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__holder.svelte-7xt0wh{padding-left:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__holder.svelte-7xt0wh{padding-left:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__holder.svelte-7xt0wh{padding-left:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__holder.svelte-7xt0wh{padding-left:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__holder.svelte-7xt0wh{padding-left:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__holder.svelte-7xt0wh{padding-left:calc(0.0275 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__holder.svelte-7xt0wh{padding-right:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__holder.svelte-7xt0wh{padding-right:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__holder.svelte-7xt0wh{padding-right:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__holder.svelte-7xt0wh{padding-right:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__holder.svelte-7xt0wh{padding-right:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__holder.svelte-7xt0wh{padding-right:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__holder.svelte-7xt0wh{padding-right:calc(0.0275 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__holder.svelte-7xt0wh{border-width:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__holder.svelte-7xt0wh{border-width:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__holder.svelte-7xt0wh{border-width:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__holder.svelte-7xt0wh{border-width:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__holder.svelte-7xt0wh{border-width:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__holder.svelte-7xt0wh{border-width:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__holder.svelte-7xt0wh{border-width:calc(0.0011458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__holder.svelte-7xt0wh{gap:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__holder.svelte-7xt0wh{gap:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__holder.svelte-7xt0wh{gap:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__holder.svelte-7xt0wh{gap:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__holder.svelte-7xt0wh{gap:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__holder.svelte-7xt0wh{gap:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__holder.svelte-7xt0wh{gap:calc(0.0183333333 * 100vw + 0px)}}.documents-medical__holder-icon.svelte-7xt0wh{border-color:#493333;font-size:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__holder-icon.svelte-7xt0wh{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__holder-icon.svelte-7xt0wh{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__holder-icon.svelte-7xt0wh{font-size:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__holder-icon.svelte-7xt0wh{font-size:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__holder-icon.svelte-7xt0wh{font-size:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__holder-icon.svelte-7xt0wh{font-size:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__holder-icon.svelte-7xt0wh{font-size:calc(0.0275 * 100vw + 0px)}}.documents-medical__holder-text.svelte-7xt0wh{text-align:center;font-family:\"GothamPro\";color:#493333;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__holder-text.svelte-7xt0wh{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__holder-text.svelte-7xt0wh{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__holder-text.svelte-7xt0wh{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__holder-text.svelte-7xt0wh{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__holder-text.svelte-7xt0wh{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__holder-text.svelte-7xt0wh{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__holder-text.svelte-7xt0wh{font-size:calc(0.01375 * 100vw + 0px)}}.documents-medical__button.svelte-7xt0wh{display:flex;align-items:center;justify-content:center;background-color:#FFFFFF;transition:0.14s ease-out;transition-property:background-color;width:calc(0.2125 * 100vw + 0px);height:calc(0.0291666667 * 100vw + 0px);border-radius:calc(0.00625 * 100vw + 0px);gap:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__button.svelte-7xt0wh{width:calc(0.2125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__button.svelte-7xt0wh{width:calc(0.2125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__button.svelte-7xt0wh{width:calc(0.163625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__button.svelte-7xt0wh{width:calc(0.23375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__button.svelte-7xt0wh{width:calc(0.14875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__button.svelte-7xt0wh{width:calc(0.19125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__button.svelte-7xt0wh{width:calc(0.23375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__button.svelte-7xt0wh{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__button.svelte-7xt0wh{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__button.svelte-7xt0wh{height:calc(0.0224583333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__button.svelte-7xt0wh{height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__button.svelte-7xt0wh{height:calc(0.0204166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__button.svelte-7xt0wh{height:calc(0.02625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__button.svelte-7xt0wh{height:calc(0.0320833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__button.svelte-7xt0wh{border-radius:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__button.svelte-7xt0wh{border-radius:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__button.svelte-7xt0wh{border-radius:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__button.svelte-7xt0wh{border-radius:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__button.svelte-7xt0wh{border-radius:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__button.svelte-7xt0wh{border-radius:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__button.svelte-7xt0wh{border-radius:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__button.svelte-7xt0wh{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__button.svelte-7xt0wh{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__button.svelte-7xt0wh{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__button.svelte-7xt0wh{gap:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__button.svelte-7xt0wh{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__button.svelte-7xt0wh{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__button.svelte-7xt0wh{gap:calc(0.0114583333 * 100vw + 0px)}}.documents-medical__button.svelte-7xt0wh:hover{background-color:rgba(255, 255, 255, 0.8)}.documents-medical__button.svelte-7xt0wh:active{background-color:rgba(255, 255, 255, 0.45)}.documents-medical__button-icon.svelte-7xt0wh{border-color:#493333;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__button-icon.svelte-7xt0wh{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__button-icon.svelte-7xt0wh{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__button-icon.svelte-7xt0wh{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__button-icon.svelte-7xt0wh{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__button-icon.svelte-7xt0wh{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__button-icon.svelte-7xt0wh{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__button-icon.svelte-7xt0wh{font-size:calc(0.01375 * 100vw + 0px)}}.documents-medical__button-text.svelte-7xt0wh{text-align:center;font-family:\"GothamPro\";color:#493333;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-medical__button-text.svelte-7xt0wh{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-medical__button-text.svelte-7xt0wh{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-medical__button-text.svelte-7xt0wh{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-medical__button-text.svelte-7xt0wh{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-medical__button-text.svelte-7xt0wh{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-medical__button-text.svelte-7xt0wh{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.documents-medical__button-text.svelte-7xt0wh{font-size:calc(0.0091666667 * 100vw + 0px)}}");
}

function medical_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[7] = list[i];
	child_ctx[9] = i;
	return child_ctx;
}

// (2511:20) 
function medical_index_svelte_create_if_block_5(ctx) {
	let div2;
	let div1;
	let i;
	let t0;
	let div0;

	let t1_value = (/*showMode*/ ctx[1]
	? 'У игрока отсутствует мед. карта. Вы можете напомнить ему о необходимости ее получения в любой больнице.'
	: 'У вас нет мед. карты. Вы можете оформить ее в любой больнице.' + 'Используйте кнопку ниже, чтобы отметить на GPS ближайшую больницу.') + "";

	let t1;
	let t2;
	let if_block = !/*showMode*/ ctx[1] && medical_index_svelte_create_if_block_6(ctx);

	return {
		c() {
			div2 = internal_element("div");
			div1 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			if (if_block) if_block.c();
			attr(i, "class", "documents-medical__holder-icon icon-triangle-warning svelte-7xt0wh");
			attr(div0, "class", "documents-medical__holder-text svelte-7xt0wh");
			attr(div1, "class", "documents-medical__holder svelte-7xt0wh");
			attr(div2, "class", "documents-medical__holder-wrapper svelte-7xt0wh");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div1);
			append(div1, i);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
			append(div2, t2);
			if (if_block) if_block.m(div2, null);
		},
		p(ctx, dirty) {
			if (dirty & /*showMode*/ 2 && t1_value !== (t1_value = (/*showMode*/ ctx[1]
			? 'У игрока отсутствует мед. карта. Вы можете напомнить ему о необходимости ее получения в любой больнице.'
			: 'У вас нет мед. карты. Вы можете оформить ее в любой больнице.' + 'Используйте кнопку ниже, чтобы отметить на GPS ближайшую больницу.') + "")) set_data(t1, t1_value);

			if (!/*showMode*/ ctx[1]) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = medical_index_svelte_create_if_block_6(ctx);
					if_block.c();
					if_block.m(div2, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		d(detaching) {
			if (detaching) detach(div2);
			if (if_block) if_block.d();
		}
	};
}

// (2418:1) {#if !isEmpty(data) && !data.not}
function medical_index_svelte_create_if_block(ctx) {
	let div0;
	let t1;
	let div1;
	let img;
	let img_src_value;
	let t2;
	let div17;
	let div4;
	let div2;
	let t4;
	let div3;
	let t5_value = /*data*/ ctx[0].name + "";
	let t5;
	let t6;
	let div7;
	let div5;
	let t8;
	let div6;
	let t9_value = /*data*/ ctx[0].zavisimost + "";
	let t9;
	let t10;
	let div10;
	let div8;
	let t12;
	let div9;
	let t13_value = /*data*/ ctx[0].state + "";
	let t13;
	let t14;
	let div13;
	let div11;
	let t16;
	let div12;
	let t17_value = /*data*/ ctx[0].health_insurance + "";
	let t17;
	let t18;
	let div16;
	let div14;
	let t20;
	let div15;
	let t21_value = /*data*/ ctx[0].med_card_time + "";
	let t21;
	let t22;
	let show_if = !(0,lodash.isNil)(/*data*/ ctx[0].demorgan);
	let t23;
	let div21;
	let div19;
	let div18;
	let t25;
	let t26;
	let div20;
	let t27;
	let div22;
	let mounted;
	let dispose;
	let if_block0 = show_if && medical_index_svelte_create_if_block_3(ctx);

	function select_block_type_1(ctx, dirty) {
		if (/*data*/ ctx[0].med_osmotr_progress < 10) return medical_index_svelte_create_if_block_2;
		return medical_index_svelte_create_else_block_1;
	}

	let current_block_type = select_block_type_1(ctx, -1);
	let if_block1 = current_block_type(ctx);
	let each_value = { length: 10 };
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = medical_index_svelte_create_each_block(medical_index_svelte_get_each_context(ctx, each_value, i));
	}

	function select_block_type_2(ctx, dirty) {
		if (/*data*/ ctx[0].med_osmotr_progress < 10) return medical_index_svelte_create_if_block_1;
		return medical_index_svelte_create_else_block;
	}

	let current_block_type_1 = select_block_type_2(ctx, -1);
	let if_block2 = current_block_type_1(ctx);

	return {
		c() {
			div0 = internal_element("div");

			div0.innerHTML = `<i class="documents-medical__title-icon icon-medical-card svelte-7xt0wh"></i>
			МЕДИЦИНСКАЯ КНИЖКА
			<i class="documents-medical__title-icon icon-medical-card svelte-7xt0wh"></i>`;

			t1 = space();
			div1 = internal_element("div");
			img = internal_element("img");
			t2 = space();
			div17 = internal_element("div");
			div4 = internal_element("div");
			div2 = internal_element("div");
			div2.textContent = "Имя Фамилия:";
			t4 = space();
			div3 = internal_element("div");
			t5 = internal_text(t5_value);
			t6 = space();
			div7 = internal_element("div");
			div5 = internal_element("div");
			div5.textContent = "Зависимость от укропа:";
			t8 = space();
			div6 = internal_element("div");
			t9 = internal_text(t9_value);
			t10 = space();
			div10 = internal_element("div");
			div8 = internal_element("div");
			div8.textContent = "Состояние здоровья:";
			t12 = space();
			div9 = internal_element("div");
			t13 = internal_text(t13_value);
			t14 = space();
			div13 = internal_element("div");
			div11 = internal_element("div");
			div11.textContent = "Медицинская страховка:";
			t16 = space();
			div12 = internal_element("div");
			t17 = internal_text(t17_value);
			t18 = space();
			div16 = internal_element("div");
			div14 = internal_element("div");
			div14.textContent = "Срок действия:";
			t20 = space();
			div15 = internal_element("div");
			t21 = internal_text(t21_value);
			t22 = space();
			if (if_block0) if_block0.c();
			t23 = space();
			div21 = internal_element("div");
			div19 = internal_element("div");
			div18 = internal_element("div");
			div18.textContent = "Медицинский осмотр:";
			t25 = space();
			if_block1.c();
			t26 = space();
			div20 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t27 = space();
			div22 = internal_element("div");
			if_block2.c();
			attr(div0, "class", "documents-medical__title svelte-7xt0wh");
			if (!src_url_equal(img.src, img_src_value = CDN_URLS[CDN_CHANNEL_TYPES.CDN_CHANNEL_RESOURCES] + /*data*/ ctx[0].skin_image_url)) attr(img, "src", img_src_value);
			attr(img, "alt", "avatar");
			attr(img, "class", "documents-medical__photo svelte-7xt0wh");
			attr(div1, "class", "documents-medical__photo-wrapper svelte-7xt0wh");
			attr(div2, "class", "documents-medical__caption svelte-7xt0wh");
			attr(div3, "class", "documents-medical__value svelte-7xt0wh");
			attr(div4, "class", "documents-medical__info");
			attr(div5, "class", "documents-medical__caption svelte-7xt0wh");
			attr(div6, "class", "documents-medical__value svelte-7xt0wh");
			attr(div7, "class", "documents-medical__info");
			attr(div8, "class", "documents-medical__caption svelte-7xt0wh");
			attr(div9, "class", "documents-medical__value svelte-7xt0wh");
			attr(div10, "class", "documents-medical__info");
			attr(div11, "class", "documents-medical__caption svelte-7xt0wh");
			attr(div12, "class", "documents-medical__value svelte-7xt0wh");
			attr(div13, "class", "documents-medical__info");
			attr(div14, "class", "documents-medical__caption svelte-7xt0wh");
			attr(div15, "class", "documents-medical__value svelte-7xt0wh");
			attr(div16, "class", "documents-medical__info");
			attr(div17, "class", "documents-medical__main-info svelte-7xt0wh");
			attr(div18, "class", "documents-medical__inspection-caption");
			attr(div19, "class", "documents-medical__inspection-header svelte-7xt0wh");
			attr(div20, "class", "documents-medical__progress-counter svelte-7xt0wh");
			attr(div21, "class", "documents-medical__inspection svelte-7xt0wh");
			attr(div22, "class", "documents-medical__tip svelte-7xt0wh");
		},
		m(target, anchor) {
			insert(target, div0, anchor);
			insert(target, t1, anchor);
			insert(target, div1, anchor);
			append(div1, img);
			/*img_binding*/ ctx[5](img);
			insert(target, t2, anchor);
			insert(target, div17, anchor);
			append(div17, div4);
			append(div4, div2);
			append(div4, t4);
			append(div4, div3);
			append(div3, t5);
			append(div17, t6);
			append(div17, div7);
			append(div7, div5);
			append(div7, t8);
			append(div7, div6);
			append(div6, t9);
			append(div17, t10);
			append(div17, div10);
			append(div10, div8);
			append(div10, t12);
			append(div10, div9);
			append(div9, t13);
			append(div17, t14);
			append(div17, div13);
			append(div13, div11);
			append(div13, t16);
			append(div13, div12);
			append(div12, t17);
			append(div17, t18);
			append(div17, div16);
			append(div16, div14);
			append(div16, t20);
			append(div16, div15);
			append(div15, t21);
			append(div17, t22);
			if (if_block0) if_block0.m(div17, null);
			insert(target, t23, anchor);
			insert(target, div21, anchor);
			append(div21, div19);
			append(div19, div18);
			append(div19, t25);
			if_block1.m(div19, null);
			append(div21, t26);
			append(div21, div20);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div20, null);
			}

			insert(target, t27, anchor);
			insert(target, div22, anchor);
			if_block2.m(div22, null);

			if (!mounted) {
				dispose = listen(img, "error", /*handleError*/ ctx[4]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*data*/ 1 && !src_url_equal(img.src, img_src_value = CDN_URLS[CDN_CHANNEL_TYPES.CDN_CHANNEL_RESOURCES] + /*data*/ ctx[0].skin_image_url)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*data*/ 1 && t5_value !== (t5_value = /*data*/ ctx[0].name + "")) set_data(t5, t5_value);
			if (dirty & /*data*/ 1 && t9_value !== (t9_value = /*data*/ ctx[0].zavisimost + "")) set_data(t9, t9_value);
			if (dirty & /*data*/ 1 && t13_value !== (t13_value = /*data*/ ctx[0].state + "")) set_data(t13, t13_value);
			if (dirty & /*data*/ 1 && t17_value !== (t17_value = /*data*/ ctx[0].health_insurance + "")) set_data(t17, t17_value);
			if (dirty & /*data*/ 1 && t21_value !== (t21_value = /*data*/ ctx[0].med_card_time + "")) set_data(t21, t21_value);
			if (dirty & /*data*/ 1) show_if = !(0,lodash.isNil)(/*data*/ ctx[0].demorgan);

			if (show_if) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = medical_index_svelte_create_if_block_3(ctx);
					if_block0.c();
					if_block0.m(div17, null);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (current_block_type === (current_block_type = select_block_type_1(ctx, dirty)) && if_block1) {
				if_block1.p(ctx, dirty);
			} else {
				if_block1.d(1);
				if_block1 = current_block_type(ctx);

				if (if_block1) {
					if_block1.c();
					if_block1.m(div19, null);
				}
			}

			if (dirty & /*data*/ 1) {
				each_value = { length: 10 };
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = medical_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = medical_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div20, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if (current_block_type_1 === (current_block_type_1 = select_block_type_2(ctx, dirty)) && if_block2) {
				if_block2.p(ctx, dirty);
			} else {
				if_block2.d(1);
				if_block2 = current_block_type_1(ctx);

				if (if_block2) {
					if_block2.c();
					if_block2.m(div22, null);
				}
			}
		},
		d(detaching) {
			if (detaching) detach(div0);
			if (detaching) detach(t1);
			if (detaching) detach(div1);
			/*img_binding*/ ctx[5](null);
			if (detaching) detach(t2);
			if (detaching) detach(div17);
			if (if_block0) if_block0.d();
			if (detaching) detach(t23);
			if (detaching) detach(div21);
			if_block1.d();
			destroy_each(each_blocks, detaching);
			if (detaching) detach(t27);
			if (detaching) detach(div22);
			if_block2.d();
			mounted = false;
			dispose();
		}
	};
}

// (2523:3) {#if !showMode}
function medical_index_svelte_create_if_block_6(ctx) {
	let div1;
	let mounted;
	let dispose;

	return {
		c() {
			div1 = internal_element("div");

			div1.innerHTML = `<i class="documents-medical__button-icon icon-geo-pick svelte-7xt0wh"></i> 
					<div class="documents-medical__button-text svelte-7xt0wh">Отметить в GPS</div>`;

			attr(div1, "class", "documents-medical__button svelte-7xt0wh");
		},
		m(target, anchor) {
			insert(target, div1, anchor);

			if (!mounted) {
				dispose = listen(div1, "click", /*showGPS*/ ctx[3]);
				mounted = true;
			}
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
			mounted = false;
			dispose();
		}
	};
}

// (2456:3) {#if !isNil(data.demorgan)}
function medical_index_svelte_create_if_block_3(ctx) {
	let div3;
	let div0;
	let t1;
	let div2;
	let div1;
	let t2_value = /*data*/ ctx[0].demorgan.count + "";
	let t2;
	let t3;
	let show_if = !(0,lodash.isEmpty)(/*data*/ ctx[0].demorgan.sub_text);
	let if_block = show_if && medical_index_svelte_create_if_block_4(ctx);

	return {
		c() {
			div3 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "Лечился в псих.больнице:";
			t1 = space();
			div2 = internal_element("div");
			div1 = internal_element("div");
			t2 = internal_text(t2_value);
			t3 = space();
			if (if_block) if_block.c();
			attr(div0, "class", "documents-medical__caption svelte-7xt0wh");
			attr(div1, "class", "documents-medical__value svelte-7xt0wh");
			set_style(div1, "color", /*data*/ ctx[0].sub_text_color);
			attr(div2, "class", "documents-medical__value-wrapper svelte-7xt0wh");
			attr(div3, "class", "documents-medical__info");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div0);
			append(div3, t1);
			append(div3, div2);
			append(div2, div1);
			append(div1, t2);
			append(div2, t3);
			if (if_block) if_block.m(div2, null);
		},
		p(ctx, dirty) {
			if (dirty & /*data*/ 1 && t2_value !== (t2_value = /*data*/ ctx[0].demorgan.count + "")) set_data(t2, t2_value);

			if (dirty & /*data*/ 1) {
				set_style(div1, "color", /*data*/ ctx[0].sub_text_color);
			}

			if (dirty & /*data*/ 1) show_if = !(0,lodash.isEmpty)(/*data*/ ctx[0].demorgan.sub_text);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = medical_index_svelte_create_if_block_4(ctx);
					if_block.c();
					if_block.m(div2, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		d(detaching) {
			if (detaching) detach(div3);
			if (if_block) if_block.d();
		}
	};
}

// (2461:6) {#if !isEmpty(data.demorgan.sub_text)}
function medical_index_svelte_create_if_block_4(ctx) {
	let span;
	let t_value = /*data*/ ctx[0].demorgan.sub_text + "";
	let t;

	return {
		c() {
			span = internal_element("span");
			t = internal_text(t_value);
			attr(span, "class", "documents-medical__refresh-card svelte-7xt0wh");
		},
		m(target, anchor) {
			insert(target, span, anchor);
			append(span, t);
		},
		p(ctx, dirty) {
			if (dirty & /*data*/ 1 && t_value !== (t_value = /*data*/ ctx[0].demorgan.sub_text + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

// (2474:4) {:else}
function medical_index_svelte_create_else_block_1(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");

			div.innerHTML = `<i class="documents-medical__inspection-progress-icon icon-check-circle"></i>
						Пройден`;

			attr(div, "class", "documents-medical__inspection-progress svelte-7xt0wh");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (2472:4) {#if data.med_osmotr_progress < 10}
function medical_index_svelte_create_if_block_2(ctx) {
	let div;
	let t_value = `${/*data*/ ctx[0].med_osmotr_progress} / 10` + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "documents-medical__inspection-progress svelte-7xt0wh");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*data*/ 1 && t_value !== (t_value = `${/*data*/ ctx[0].med_osmotr_progress} / 10` + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (2482:4) {#each { length: 10 } as item, index}
function medical_index_svelte_create_each_block(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			attr(div, "class", "documents-medical__progress-counter-item svelte-7xt0wh");
			toggle_class(div, "documents-medical__progress-counter-item--active", /*data*/ ctx[0].med_osmotr_progress > /*index*/ ctx[9]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*data*/ 1) {
				toggle_class(div, "documents-medical__progress-counter-item--active", /*data*/ ctx[0].med_osmotr_progress > /*index*/ ctx[9]);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (2501:3) {:else}
function medical_index_svelte_create_else_block(ctx) {
	let div;

	let t_value = (!/*showMode*/ ctx[1]
	? 'Вы прошли необходимые 10 мед. осмотров у врачей и теперь можете' + 'не проходить обязательный мед. осмотр перед вылетом на работе пилота'
	: 'Игрок прошёл необходимые 10 мед. осмотров у врачей') + "";

	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "documents-medical__tip-text svelte-7xt0wh");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*showMode*/ 2 && t_value !== (t_value = (!/*showMode*/ ctx[1]
			? 'Вы прошли необходимые 10 мед. осмотров у врачей и теперь можете' + 'не проходить обязательный мед. осмотр перед вылетом на работе пилота'
			: 'Игрок прошёл необходимые 10 мед. осмотров у врачей') + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (2493:3) {#if data.med_osmotr_progress < 10}
function medical_index_svelte_create_if_block_1(ctx) {
	let div;

	let t_value = (!/*showMode*/ ctx[1]
	? 'Пройдите 10 медосмотров у врачей 3+ ранга, ' + 'чтобы больше не проходить его перед вылетом на работе пилота'
	: 'У игрока не пройдено 10 медосмотров') + "";

	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "documents-medical__tip-text svelte-7xt0wh");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*showMode*/ 2 && t_value !== (t_value = (!/*showMode*/ ctx[1]
			? 'Пройдите 10 медосмотров у врачей 3+ ранга, ' + 'чтобы больше не проходить его перед вылетом на работе пилота'
			: 'У игрока не пройдено 10 медосмотров') + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function medical_index_svelte_create_fragment(ctx) {
	let div;
	let show_if;
	let div_intro;

	function select_block_type(ctx, dirty) {
		if (dirty & /*data*/ 1) show_if = null;
		if (show_if == null) show_if = !!(!(0,lodash.isEmpty)(/*data*/ ctx[0]) && !/*data*/ ctx[0].not);
		if (show_if) return medical_index_svelte_create_if_block;
		if (/*data*/ ctx[0].not) return medical_index_svelte_create_if_block_5;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block = current_block_type && current_block_type(ctx);

	return {
		c() {
			div = internal_element("div");
			if (if_block) if_block.c();
			attr(div, "class", "documents-medical svelte-7xt0wh");
			toggle_class(div, "documents-medical--empty", /*data*/ ctx[0].not);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block) if_block.m(div, null);
		},
		p(ctx, [dirty]) {
			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if (if_block) if_block.d(1);
				if_block = current_block_type && current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div, null);
				}
			}

			if (dirty & /*data*/ 1) {
				toggle_class(div, "documents-medical--empty", /*data*/ ctx[0].not);
			}
		},
		i(local) {
			if (!div_intro) {
				add_render_callback(() => {
					div_intro = create_in_transition(div, fade, { y: 35, duration: 250 });
					div_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);

			if (if_block) {
				if_block.d();
			}
		}
	};
}

function medical_index_svelte_instance($$self, $$props, $$invalidate) {
	let { data = [] } = $$props;
	let { showMode = false } = $$props;
	const audio = new Audio(sound_click_namespaceObject);
	let imageNode = null;

	const showGPS = () => {
		audio.play();
		sendClientMessage('documents.medical.gps');
	};

	const handleError = () => {
		if (!(0,lodash.isNil)(imageNode)) {
			$$invalidate(2, imageNode.src = `${CDN_URL}/assets/images/inventory/skins/512/-1.webp`, imageNode);
		}
	};

	function img_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			imageNode = $$value;
			$$invalidate(2, imageNode);
		});
	}

	$$self.$$set = $$props => {
		if ('data' in $$props) $$invalidate(0, data = $$props.data);
		if ('showMode' in $$props) $$invalidate(1, showMode = $$props.showMode);
	};

	return [data, showMode, imageNode, showGPS, handleError, img_binding];
}

class Medical extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, medical_index_svelte_instance, medical_index_svelte_create_fragment, safe_not_equal, { data: 0, showMode: 1 }, medical_index_svelte_add_css);
	}
}

/* harmony default export */ const medical_index_svelte = (Medical);
;// CONCATENATED MODULE: ./src/views/documents/components/military/index.svelte
/* src\views\documents\components\military\index.svelte generated by Svelte v3.49.0 */






function military_index_svelte_add_css(target) {
	append_styles(target, "svelte-156owml", "@keyframes svelte-156owml-blinking{50%{opacity:0}}@keyframes svelte-156owml-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-156owml-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-156owml-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-156owml-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-156owml-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-156owml-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-156owml-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-156owml-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-156owml-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-156owml-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-156owml-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-156owml-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-156owml-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-156owml-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.documents-military.svelte-156owml{position:relative;flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:space-between;border-radius:calc(0.0104166667 * 100vw + 0px);padding:calc(0.0208333333 * 100vw + 0px);gap:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-military.svelte-156owml{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military.svelte-156owml{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military.svelte-156owml{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military.svelte-156owml{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military.svelte-156owml{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military.svelte-156owml{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military.svelte-156owml{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-military.svelte-156owml{padding:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military.svelte-156owml{padding:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military.svelte-156owml{padding:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military.svelte-156owml{padding:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military.svelte-156owml{padding:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military.svelte-156owml{padding:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military.svelte-156owml{padding:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-military.svelte-156owml{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military.svelte-156owml{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military.svelte-156owml{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military.svelte-156owml{gap:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military.svelte-156owml{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military.svelte-156owml{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military.svelte-156owml{gap:calc(0.0114583333 * 100vw + 0px)}}.documents-military--empty.svelte-156owml{justify-content:center}.documents-military__title.svelte-156owml{width:100%;font-family:\"GothamPro\";color:rgba(64, 73, 51, 0.5);display:flex;align-items:center;justify-content:center;font-weight:700;text-transform:uppercase;font-size:calc(0.025 * 100vw + 0px);line-height:calc(0.0223958333 * 100vw + 0px);gap:calc(0.0145833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-military__title.svelte-156owml{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__title.svelte-156owml{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__title.svelte-156owml{font-size:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__title.svelte-156owml{font-size:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__title.svelte-156owml{font-size:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__title.svelte-156owml{font-size:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__title.svelte-156owml{font-size:calc(0.0275 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-military__title.svelte-156owml{line-height:calc(0.0223958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__title.svelte-156owml{line-height:calc(0.0223958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__title.svelte-156owml{line-height:calc(0.0172447917 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__title.svelte-156owml{line-height:calc(0.0246354167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__title.svelte-156owml{line-height:calc(0.0156770833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__title.svelte-156owml{line-height:calc(0.02015625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__title.svelte-156owml{line-height:calc(0.0246354167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-military__title.svelte-156owml{gap:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__title.svelte-156owml{gap:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__title.svelte-156owml{gap:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__title.svelte-156owml{gap:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__title.svelte-156owml{gap:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__title.svelte-156owml{gap:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__title.svelte-156owml{gap:calc(0.0160416667 * 100vw + 0px)}}.documents-military__title-icon.svelte-156owml{font-size:calc(0.0354166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-military__title-icon.svelte-156owml{font-size:calc(0.0354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__title-icon.svelte-156owml{font-size:calc(0.0354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__title-icon.svelte-156owml{font-size:calc(0.0272708333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__title-icon.svelte-156owml{font-size:calc(0.0389583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__title-icon.svelte-156owml{font-size:calc(0.0247916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__title-icon.svelte-156owml{font-size:calc(0.031875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__title-icon.svelte-156owml{font-size:calc(0.0389583333 * 100vw + 0px)}}.documents-military__photo-wrapper.svelte-156owml{position:absolute;overflow:hidden;display:flex;align-items:flex-start;justify-content:center;filter:grayscale(100%);top:calc(0.0755208333 * 100vw + 0px);left:calc(0.0375 * 100vw + 0px);width:calc(0.1447916667 * 100vw + 0px);height:calc(0.1953125 * 100vw + 0px);border-radius:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-military__photo-wrapper.svelte-156owml{top:calc(0.0755208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__photo-wrapper.svelte-156owml{top:calc(0.0755208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__photo-wrapper.svelte-156owml{top:calc(0.0581510417 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__photo-wrapper.svelte-156owml{top:calc(0.0830729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__photo-wrapper.svelte-156owml{top:calc(0.0528645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__photo-wrapper.svelte-156owml{top:calc(0.06796875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__photo-wrapper.svelte-156owml{top:calc(0.0830729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-military__photo-wrapper.svelte-156owml{left:calc(0.0375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__photo-wrapper.svelte-156owml{left:calc(0.0375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__photo-wrapper.svelte-156owml{left:calc(0.028875 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__photo-wrapper.svelte-156owml{left:calc(0.04125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__photo-wrapper.svelte-156owml{left:calc(0.02625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__photo-wrapper.svelte-156owml{left:calc(0.03375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__photo-wrapper.svelte-156owml{left:calc(0.04125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-military__photo-wrapper.svelte-156owml{width:calc(0.1447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__photo-wrapper.svelte-156owml{width:calc(0.1447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__photo-wrapper.svelte-156owml{width:calc(0.1114895833 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__photo-wrapper.svelte-156owml{width:calc(0.1592708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__photo-wrapper.svelte-156owml{width:calc(0.1013541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__photo-wrapper.svelte-156owml{width:calc(0.1303125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__photo-wrapper.svelte-156owml{width:calc(0.1592708333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-military__photo-wrapper.svelte-156owml{height:calc(0.1953125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__photo-wrapper.svelte-156owml{height:calc(0.1953125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__photo-wrapper.svelte-156owml{height:calc(0.150390625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__photo-wrapper.svelte-156owml{height:calc(0.21484375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__photo-wrapper.svelte-156owml{height:calc(0.13671875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__photo-wrapper.svelte-156owml{height:calc(0.17578125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__photo-wrapper.svelte-156owml{height:calc(0.21484375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-military__photo-wrapper.svelte-156owml{border-radius:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__photo-wrapper.svelte-156owml{border-radius:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__photo-wrapper.svelte-156owml{border-radius:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__photo-wrapper.svelte-156owml{border-radius:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__photo-wrapper.svelte-156owml{border-radius:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__photo-wrapper.svelte-156owml{border-radius:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__photo-wrapper.svelte-156owml{border-radius:calc(0.01375 * 100vw + 0px)}}.documents-military__photo.svelte-156owml{height:300%}.documents-military__main-info.svelte-156owml{position:absolute;display:grid;grid-template-columns:50% 50%;width:calc(0.325 * 100vw + 0px);top:calc(0.0755208333 * 100vw + 0px);right:calc(0.0375 * 100vw + 0px);gap:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-military__main-info.svelte-156owml{width:calc(0.325 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__main-info.svelte-156owml{width:calc(0.325 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__main-info.svelte-156owml{width:calc(0.25025 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__main-info.svelte-156owml{width:calc(0.3575 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__main-info.svelte-156owml{width:calc(0.2275 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__main-info.svelte-156owml{width:calc(0.2925 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__main-info.svelte-156owml{width:calc(0.3575 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-military__main-info.svelte-156owml{top:calc(0.0755208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__main-info.svelte-156owml{top:calc(0.0755208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__main-info.svelte-156owml{top:calc(0.0581510417 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__main-info.svelte-156owml{top:calc(0.0830729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__main-info.svelte-156owml{top:calc(0.0528645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__main-info.svelte-156owml{top:calc(0.06796875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__main-info.svelte-156owml{top:calc(0.0830729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-military__main-info.svelte-156owml{right:calc(0.0375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__main-info.svelte-156owml{right:calc(0.0375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__main-info.svelte-156owml{right:calc(0.028875 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__main-info.svelte-156owml{right:calc(0.04125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__main-info.svelte-156owml{right:calc(0.02625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__main-info.svelte-156owml{right:calc(0.03375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__main-info.svelte-156owml{right:calc(0.04125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-military__main-info.svelte-156owml{gap:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__main-info.svelte-156owml{gap:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__main-info.svelte-156owml{gap:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__main-info.svelte-156owml{gap:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__main-info.svelte-156owml{gap:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__main-info.svelte-156owml{gap:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__main-info.svelte-156owml{gap:calc(0.01375 * 100vw + 0px)}}.documents-military__caption.svelte-156owml{font-family:\"GothamPro\";color:#71874E;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-military__caption.svelte-156owml{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__caption.svelte-156owml{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__caption.svelte-156owml{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__caption.svelte-156owml{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__caption.svelte-156owml{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__caption.svelte-156owml{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__caption.svelte-156owml{font-size:calc(0.0091666667 * 100vw + 0px)}}.documents-military__value.svelte-156owml{font-family:\"GothamPro\";color:#111111;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-military__value.svelte-156owml{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__value.svelte-156owml{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__value.svelte-156owml{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__value.svelte-156owml{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__value.svelte-156owml{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__value.svelte-156owml{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__value.svelte-156owml{font-size:calc(0.01375 * 100vw + 0px)}}.documents-military__tip.svelte-156owml{position:absolute;display:flex;align-items:center;justify-content:center;border-style:solid;border-color:#71874E;border-width:calc(0.0005208333 * 100vw + 0px);border-radius:calc(0.0083333333 * 100vw + 0px);margin-top:calc(0.0130208333 * 100vw + 0px);width:calc(0.325 * 100vw + 0px);height:calc(0.0572916667 * 100vw + 0px);bottom:calc(0.0791666667 * 100vw + 0px);right:calc(0.0375 * 100vw + 0px);gap:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-military__tip.svelte-156owml{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__tip.svelte-156owml{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__tip.svelte-156owml{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__tip.svelte-156owml{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__tip.svelte-156owml{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__tip.svelte-156owml{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__tip.svelte-156owml{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-military__tip.svelte-156owml{border-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__tip.svelte-156owml{border-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__tip.svelte-156owml{border-radius:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__tip.svelte-156owml{border-radius:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__tip.svelte-156owml{border-radius:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__tip.svelte-156owml{border-radius:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__tip.svelte-156owml{border-radius:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-military__tip.svelte-156owml{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__tip.svelte-156owml{margin-top:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__tip.svelte-156owml{margin-top:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__tip.svelte-156owml{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__tip.svelte-156owml{margin-top:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__tip.svelte-156owml{margin-top:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__tip.svelte-156owml{margin-top:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-military__tip.svelte-156owml{width:calc(0.325 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__tip.svelte-156owml{width:calc(0.325 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__tip.svelte-156owml{width:calc(0.25025 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__tip.svelte-156owml{width:calc(0.3575 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__tip.svelte-156owml{width:calc(0.2275 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__tip.svelte-156owml{width:calc(0.2925 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__tip.svelte-156owml{width:calc(0.3575 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-military__tip.svelte-156owml{height:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__tip.svelte-156owml{height:calc(0.0572916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__tip.svelte-156owml{height:calc(0.0441145833 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__tip.svelte-156owml{height:calc(0.0630208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__tip.svelte-156owml{height:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__tip.svelte-156owml{height:calc(0.0515625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__tip.svelte-156owml{height:calc(0.0630208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-military__tip.svelte-156owml{bottom:calc(0.0791666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__tip.svelte-156owml{bottom:calc(0.0791666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__tip.svelte-156owml{bottom:calc(0.0609583333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__tip.svelte-156owml{bottom:calc(0.0870833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__tip.svelte-156owml{bottom:calc(0.0554166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__tip.svelte-156owml{bottom:calc(0.07125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__tip.svelte-156owml{bottom:calc(0.0870833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-military__tip.svelte-156owml{right:calc(0.0375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__tip.svelte-156owml{right:calc(0.0375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__tip.svelte-156owml{right:calc(0.028875 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__tip.svelte-156owml{right:calc(0.04125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__tip.svelte-156owml{right:calc(0.02625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__tip.svelte-156owml{right:calc(0.03375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__tip.svelte-156owml{right:calc(0.04125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-military__tip.svelte-156owml{gap:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__tip.svelte-156owml{gap:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__tip.svelte-156owml{gap:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__tip.svelte-156owml{gap:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__tip.svelte-156owml{gap:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__tip.svelte-156owml{gap:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__tip.svelte-156owml{gap:calc(0.01375 * 100vw + 0px)}}.documents-military__tip-text.svelte-156owml{text-align:center;font-family:\"GothamPro\";color:rgba(113, 135, 78, 0.5);font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-military__tip-text.svelte-156owml{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__tip-text.svelte-156owml{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__tip-text.svelte-156owml{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__tip-text.svelte-156owml{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__tip-text.svelte-156owml{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__tip-text.svelte-156owml{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__tip-text.svelte-156owml{font-size:calc(0.01375 * 100vw + 0px)}}.documents-military__tip-icon.svelte-156owml{position:absolute;color:#71874E;top:calc(-0.0078125 * 100vw + 0px);left:calc(0.0140625 * 100vw + 0px);font-size:calc(0.01875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-military__tip-icon.svelte-156owml{top:calc(-0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__tip-icon.svelte-156owml{top:calc(-0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__tip-icon.svelte-156owml{top:calc(-0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__tip-icon.svelte-156owml{top:calc(-0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__tip-icon.svelte-156owml{top:calc(-0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__tip-icon.svelte-156owml{top:calc(-0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__tip-icon.svelte-156owml{top:calc(-0.00859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-military__tip-icon.svelte-156owml{left:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__tip-icon.svelte-156owml{left:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__tip-icon.svelte-156owml{left:calc(0.010828125 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__tip-icon.svelte-156owml{left:calc(0.01546875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__tip-icon.svelte-156owml{left:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__tip-icon.svelte-156owml{left:calc(0.01265625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__tip-icon.svelte-156owml{left:calc(0.01546875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-military__tip-icon.svelte-156owml{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__tip-icon.svelte-156owml{font-size:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__tip-icon.svelte-156owml{font-size:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__tip-icon.svelte-156owml{font-size:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__tip-icon.svelte-156owml{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__tip-icon.svelte-156owml{font-size:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__tip-icon.svelte-156owml{font-size:calc(0.020625 * 100vw + 0px)}}.documents-military__holder-wrapper.svelte-156owml{display:flex;flex-direction:column;align-items:center;gap:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-military__holder-wrapper.svelte-156owml{gap:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__holder-wrapper.svelte-156owml{gap:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__holder-wrapper.svelte-156owml{gap:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__holder-wrapper.svelte-156owml{gap:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__holder-wrapper.svelte-156owml{gap:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__holder-wrapper.svelte-156owml{gap:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__holder-wrapper.svelte-156owml{gap:calc(0.0183333333 * 100vw + 0px)}}.documents-military__holder.svelte-156owml{display:flex;align-items:center;border-style:solid;border-color:#334933;width:calc(0.4026041667 * 100vw + 0px);height:calc(0.078125 * 100vw + 0px);border-radius:calc(0.0125 * 100vw + 0px);padding-left:calc(0.025 * 100vw + 0px);padding-right:calc(0.025 * 100vw + 0px);border-width:calc(0.0010416667 * 100vw + 0px);gap:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-military__holder.svelte-156owml{width:calc(0.4026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__holder.svelte-156owml{width:calc(0.4026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__holder.svelte-156owml{width:calc(0.3100052083 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__holder.svelte-156owml{width:calc(0.4428645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__holder.svelte-156owml{width:calc(0.2818229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__holder.svelte-156owml{width:calc(0.36234375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__holder.svelte-156owml{width:calc(0.4428645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-military__holder.svelte-156owml{height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__holder.svelte-156owml{height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__holder.svelte-156owml{height:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__holder.svelte-156owml{height:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__holder.svelte-156owml{height:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__holder.svelte-156owml{height:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__holder.svelte-156owml{height:calc(0.0859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-military__holder.svelte-156owml{border-radius:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__holder.svelte-156owml{border-radius:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__holder.svelte-156owml{border-radius:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__holder.svelte-156owml{border-radius:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__holder.svelte-156owml{border-radius:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__holder.svelte-156owml{border-radius:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__holder.svelte-156owml{border-radius:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-military__holder.svelte-156owml{padding-left:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__holder.svelte-156owml{padding-left:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__holder.svelte-156owml{padding-left:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__holder.svelte-156owml{padding-left:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__holder.svelte-156owml{padding-left:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__holder.svelte-156owml{padding-left:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__holder.svelte-156owml{padding-left:calc(0.0275 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-military__holder.svelte-156owml{padding-right:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__holder.svelte-156owml{padding-right:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__holder.svelte-156owml{padding-right:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__holder.svelte-156owml{padding-right:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__holder.svelte-156owml{padding-right:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__holder.svelte-156owml{padding-right:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__holder.svelte-156owml{padding-right:calc(0.0275 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-military__holder.svelte-156owml{border-width:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__holder.svelte-156owml{border-width:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__holder.svelte-156owml{border-width:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__holder.svelte-156owml{border-width:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__holder.svelte-156owml{border-width:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__holder.svelte-156owml{border-width:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__holder.svelte-156owml{border-width:calc(0.0011458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-military__holder.svelte-156owml{gap:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__holder.svelte-156owml{gap:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__holder.svelte-156owml{gap:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__holder.svelte-156owml{gap:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__holder.svelte-156owml{gap:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__holder.svelte-156owml{gap:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__holder.svelte-156owml{gap:calc(0.0183333333 * 100vw + 0px)}}.documents-military__holder-icon.svelte-156owml{border-color:#334933;font-size:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-military__holder-icon.svelte-156owml{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__holder-icon.svelte-156owml{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__holder-icon.svelte-156owml{font-size:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__holder-icon.svelte-156owml{font-size:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__holder-icon.svelte-156owml{font-size:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__holder-icon.svelte-156owml{font-size:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__holder-icon.svelte-156owml{font-size:calc(0.0275 * 100vw + 0px)}}.documents-military__holder-text.svelte-156owml{text-align:center;font-family:\"GothamPro\";color:#334933;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-military__holder-text.svelte-156owml{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-military__holder-text.svelte-156owml{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-military__holder-text.svelte-156owml{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-military__holder-text.svelte-156owml{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-military__holder-text.svelte-156owml{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-military__holder-text.svelte-156owml{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-military__holder-text.svelte-156owml{font-size:calc(0.01375 * 100vw + 0px)}}");
}

// (1748:20) 
function military_index_svelte_create_if_block_2(ctx) {
	let div2;
	let div1;
	let i;
	let t0;
	let div0;

	let t1_value = (/*showMode*/ ctx[1]
	? 'У игрока отсутствует военный билет. Вы можете напомнить ему о необходимости прохождения военной службы.'
	: 'У вас нет военного билета. Его можно получить при прохождении военной службы' + 'в Армии LS, SF или Тюрьме строгого режима, а также купить в донат-меню.') + "";

	let t1;

	return {
		c() {
			div2 = internal_element("div");
			div1 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			attr(i, "class", "documents-military__holder-icon icon-triangle-warning svelte-156owml");
			attr(div0, "class", "documents-military__holder-text svelte-156owml");
			attr(div1, "class", "documents-military__holder svelte-156owml");
			attr(div2, "class", "documents-military__holder-wrapper svelte-156owml");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div1);
			append(div1, i);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*showMode*/ 2 && t1_value !== (t1_value = (/*showMode*/ ctx[1]
			? 'У игрока отсутствует военный билет. Вы можете напомнить ему о необходимости прохождения военной службы.'
			: 'У вас нет военного билета. Его можно получить при прохождении военной службы' + 'в Армии LS, SF или Тюрьме строгого режима, а также купить в донат-меню.') + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

// (1705:1) {#if !isEmpty(data) && !data.not}
function military_index_svelte_create_if_block(ctx) {
	let div0;
	let t1;
	let div1;
	let img;
	let img_src_value;
	let t2;
	let div14;
	let div4;
	let div2;
	let t4;
	let div3;
	let t5_value = /*data*/ ctx[0].name + "";
	let t5;
	let t6;
	let div7;
	let div5;
	let t8;
	let div6;
	let t9_value = /*data*/ ctx[0].army_online + "";
	let t9;
	let t10;
	let div10;
	let div8;
	let t12;
	let div9;
	let t13_value = /*data*/ ctx[0].have_army_ticket + "";
	let t13;
	let t14;
	let div13;
	let div11;
	let t16;
	let div12;
	let t17_value = /*data*/ ctx[0].rank + "";
	let t17;
	let t18;
	let if_block_anchor;
	let mounted;
	let dispose;
	let if_block = !/*showMode*/ ctx[1] && military_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			div0 = internal_element("div");

			div0.innerHTML = `<i class="documents-military__title-icon icon-army svelte-156owml"></i>
			ВОЕННЫЙ БИЛЕТ
			<i class="documents-military__title-icon icon-army svelte-156owml"></i>`;

			t1 = space();
			div1 = internal_element("div");
			img = internal_element("img");
			t2 = space();
			div14 = internal_element("div");
			div4 = internal_element("div");
			div2 = internal_element("div");
			div2.textContent = "Имя Фамилия:";
			t4 = space();
			div3 = internal_element("div");
			t5 = internal_text(t5_value);
			t6 = space();
			div7 = internal_element("div");
			div5 = internal_element("div");
			div5.textContent = "Действителен:";
			t8 = space();
			div6 = internal_element("div");
			t9 = internal_text(t9_value);
			t10 = space();
			div10 = internal_element("div");
			div8 = internal_element("div");
			div8.textContent = "Военный билет";
			t12 = space();
			div9 = internal_element("div");
			t13 = internal_text(t13_value);
			t14 = space();
			div13 = internal_element("div");
			div11 = internal_element("div");
			div11.textContent = "Звание:";
			t16 = space();
			div12 = internal_element("div");
			t17 = internal_text(t17_value);
			t18 = space();
			if (if_block) if_block.c();
			if_block_anchor = empty();
			attr(div0, "class", "documents-military__title svelte-156owml");
			if (!src_url_equal(img.src, img_src_value = CDN_URLS[CDN_CHANNEL_TYPES.CDN_CHANNEL_RESOURCES] + /*data*/ ctx[0].skin_image_url)) attr(img, "src", img_src_value);
			attr(img, "alt", "avatar");
			attr(img, "class", "documents-military__photo svelte-156owml");
			attr(div1, "class", "documents-military__photo-wrapper svelte-156owml");
			attr(div2, "class", "documents-military__caption svelte-156owml");
			attr(div3, "class", "documents-military__value svelte-156owml");
			attr(div4, "class", "documents-military__info");
			attr(div5, "class", "documents-military__caption svelte-156owml");
			attr(div6, "class", "documents-military__value svelte-156owml");
			attr(div7, "class", "documents-military__info");
			attr(div8, "class", "documents-military__caption svelte-156owml");
			attr(div9, "class", "documents-military__value svelte-156owml");
			attr(div10, "class", "documents-military__info");
			attr(div11, "class", "documents-military__caption svelte-156owml");
			attr(div12, "class", "documents-military__value svelte-156owml");
			attr(div13, "class", "documents-military__info");
			attr(div14, "class", "documents-military__main-info svelte-156owml");
		},
		m(target, anchor) {
			insert(target, div0, anchor);
			insert(target, t1, anchor);
			insert(target, div1, anchor);
			append(div1, img);
			/*img_binding*/ ctx[4](img);
			insert(target, t2, anchor);
			insert(target, div14, anchor);
			append(div14, div4);
			append(div4, div2);
			append(div4, t4);
			append(div4, div3);
			append(div3, t5);
			append(div14, t6);
			append(div14, div7);
			append(div7, div5);
			append(div7, t8);
			append(div7, div6);
			append(div6, t9);
			append(div14, t10);
			append(div14, div10);
			append(div10, div8);
			append(div10, t12);
			append(div10, div9);
			append(div9, t13);
			append(div14, t14);
			append(div14, div13);
			append(div13, div11);
			append(div13, t16);
			append(div13, div12);
			append(div12, t17);
			insert(target, t18, anchor);
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);

			if (!mounted) {
				dispose = listen(img, "error", /*handleError*/ ctx[3]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*data*/ 1 && !src_url_equal(img.src, img_src_value = CDN_URLS[CDN_CHANNEL_TYPES.CDN_CHANNEL_RESOURCES] + /*data*/ ctx[0].skin_image_url)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*data*/ 1 && t5_value !== (t5_value = /*data*/ ctx[0].name + "")) set_data(t5, t5_value);
			if (dirty & /*data*/ 1 && t9_value !== (t9_value = /*data*/ ctx[0].army_online + "")) set_data(t9, t9_value);
			if (dirty & /*data*/ 1 && t13_value !== (t13_value = /*data*/ ctx[0].have_army_ticket + "")) set_data(t13, t13_value);
			if (dirty & /*data*/ 1 && t17_value !== (t17_value = /*data*/ ctx[0].rank + "")) set_data(t17, t17_value);

			if (!/*showMode*/ ctx[1]) {
				if (if_block) {
					
				} else {
					if_block = military_index_svelte_create_if_block_1(ctx);
					if_block.c();
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		d(detaching) {
			if (detaching) detach(div0);
			if (detaching) detach(t1);
			if (detaching) detach(div1);
			/*img_binding*/ ctx[4](null);
			if (detaching) detach(t2);
			if (detaching) detach(div14);
			if (detaching) detach(t18);
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
			mounted = false;
			dispose();
		}
	};
}

// (1740:2) {#if !showMode}
function military_index_svelte_create_if_block_1(ctx) {
	let div1;

	return {
		c() {
			div1 = internal_element("div");

			div1.innerHTML = `<i class="documents-military__tip-icon icon-info-square svelte-156owml"></i> 
				<div class="documents-military__tip-text svelte-156owml">Если у Вас есть военный билет то Вы будете получать <br/> на 15% больше заработную плату в любой организации</div>`;

			attr(div1, "class", "documents-military__tip svelte-156owml");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

function military_index_svelte_create_fragment(ctx) {
	let div;
	let show_if;
	let div_intro;

	function select_block_type(ctx, dirty) {
		if (dirty & /*data*/ 1) show_if = null;
		if (show_if == null) show_if = !!(!(0,lodash.isEmpty)(/*data*/ ctx[0]) && !/*data*/ ctx[0].not);
		if (show_if) return military_index_svelte_create_if_block;
		if (/*data*/ ctx[0].not) return military_index_svelte_create_if_block_2;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block = current_block_type && current_block_type(ctx);

	return {
		c() {
			div = internal_element("div");
			if (if_block) if_block.c();
			attr(div, "class", "documents-military svelte-156owml");
			toggle_class(div, "documents-military--empty", /*data*/ ctx[0].not);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block) if_block.m(div, null);
		},
		p(ctx, [dirty]) {
			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if (if_block) if_block.d(1);
				if_block = current_block_type && current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div, null);
				}
			}

			if (dirty & /*data*/ 1) {
				toggle_class(div, "documents-military--empty", /*data*/ ctx[0].not);
			}
		},
		i(local) {
			if (!div_intro) {
				add_render_callback(() => {
					div_intro = create_in_transition(div, fade, { y: 35, duration: 250 });
					div_intro.start();
				});
			}
		},
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);

			if (if_block) {
				if_block.d();
			}
		}
	};
}

function military_index_svelte_instance($$self, $$props, $$invalidate) {
	let { data = [] } = $$props;
	let { showMode = false } = $$props;
	let imageNode = null;

	const handleError = () => {
		if (!(0,lodash.isNil)(imageNode)) {
			$$invalidate(2, imageNode.src = `${CDN_URL}/assets/images/inventory/skins/512/-1.webp`, imageNode);
		}
	};

	function img_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			imageNode = $$value;
			$$invalidate(2, imageNode);
		});
	}

	$$self.$$set = $$props => {
		if ('data' in $$props) $$invalidate(0, data = $$props.data);
		if ('showMode' in $$props) $$invalidate(1, showMode = $$props.showMode);
	};

	return [data, showMode, imageNode, handleError, img_binding];
}

class Military extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, military_index_svelte_instance, military_index_svelte_create_fragment, safe_not_equal, { data: 0, showMode: 1 }, military_index_svelte_add_css);
	}
}

/* harmony default export */ const military_index_svelte = (Military);
;// CONCATENATED MODULE: ./src/views/documents/components/property/constants.js
var constants_MAP_TYPE_TO_ICON;
function property_constants_typeof(o) { "@babel/helpers - typeof"; return property_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, property_constants_typeof(o); }
function property_constants_defineProperty(e, r, t) { return (r = property_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function property_constants_toPropertyKey(t) { var i = property_constants_toPrimitive(t, "string"); return "symbol" == property_constants_typeof(i) ? i : i + ""; }
function property_constants_toPrimitive(t, r) { if ("object" != property_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != property_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
var Columns = {
  Residental: 'residential',
  Commercial: 'commerce'
};
var Types = {
  House: 'house',
  Flat: 'flat',
  Trailer: 'trailer',
  Hotel: 'hotel',
  BizHotel: 'biz-hotel',
  Ammo: 'ammo',
  Bar: 'bar',
  ConvenienceStore: 'convenience-store',
  ClothingShop: 'clothing-shop',
  InfoCenter: 'info-center',
  TunningShopSf: 'tunning-salon',
  FuelStation: 'fuel-station',
  FoodStall: 'food-stall',
  CarRent: 'car-rent',
  AccessoriesStore: 'accessories-store',
  FoodStall2: 'food-stall-road',
  CarMarket: 'car-market',
  TunningShop: 'tunning-shop',
  MechanicRepair: 'mechanics',
  SportPalace: 'sport-palace',
  DanceSchool: 'dance-school',
  OilRigWater: 'oil-rig-water',
  ClothingWorkshop: 'clothing-workshop',
  CottonFarm: 'farm-shop',
  Farm: 'car-rent-farm',
  ElectronicsStore: 'electronics-store',
  TestDrive: 'test-drive',
  Bookmaker: 'bookmaker',
  SecondHand: 'second-hand',
  Cinema: 'cinema',
  Lottery: 'lottery',
  AutoService: 'auto-service',
  WarehouseTruckers: 'warehouse-truckers',
  StripClub: 'strip-club',
  FishingShop: 'fishing-shop',
  PawnShop: 'pawn-shop',
  OilRigGround: 'oil-rig-ground',
  PrivateBank: 'private-bank',
  CarMarketVc: 'car-market-vc',
  ElixirMaster: 'elixir-master',
  ParkingSpace: 'parking-space',
  Stall: 'stall',
  FastFoodEaster: 'easter-stall',
  PropertyExchangeCenter: 'property-exchange-center',
  Electricity: 'electro-company',
  TestDriveAdmin: 'test-drive-admin',
  StallAdmin: 'admin-stall',
  StoragePoint: 'storage-point',
  BoatMarket: 'boat-market',
  StorageSpace: 'storage-space',
  PrivateFarm: 'farm'
};
var property_constants_MAP_TYPE_TO_ICON = (constants_MAP_TYPE_TO_ICON = {}, property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(constants_MAP_TYPE_TO_ICON, Types.House, 'icon-house'), Types.Flat, 'icon-apartment'), Types.Trailer, 'icon-trailer'), Types.Hotel, 'icon-hotel-key'), Types.BizHotel, 'icon-biz-hotel'), Types.Ammo, 'icon-glock'), Types.Bar, 'icon-alco'), Types.ConvenienceStore, 'icon-shop-cart'), Types.ClothingShop, 'icon-clothing-shop'), Types.InfoCenter, 'icon-office'), property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(constants_MAP_TYPE_TO_ICON, Types.TunningShopSf, 'icon-tuning-shop-sf'), Types.FuelStation, 'icon-fuel-point'), Types.FoodStall, 'icon-fast-food'), Types.CarRent, 'icon-car-rental'), Types.AccessoriesStore, 'icon-accessories-shop'), Types.FoodStall2, 'icon-food-stand'), Types.CarMarket, 'icon-market-car'), Types.TunningShop, 'icon-tuning-shop'), Types.MechanicRepair, 'icon-mechanics-repair'), Types.SportPalace, 'icon-sport-club'), property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(constants_MAP_TYPE_TO_ICON, Types.DanceSchool, 'icon-dance'), Types.OilRigWater, 'icon-oil-rig-water'), Types.ClothingWorkshop, 'icon-clothing-develop'), Types.CottonFarm, 'icon-farm-cotton'), Types.Farm, 'icon-farm-car-rent'), Types.ElectronicsStore, 'icon-videocard'), Types.TestDrive, 'icon-testdrive'), Types.Bookmaker, 'icon-dice'), Types.SecondHand, 'icon-secondhand'), Types.Cinema, 'icon-cinema-camera'), property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(constants_MAP_TYPE_TO_ICON, Types.Lottery, 'icon-horse-stall'), Types.AutoService, 'icon-wheel'), Types.WarehouseTruckers, 'icon-warehouse-truckers'), Types.StripClub, 'icon-heel-shoes'), Types.FishingShop, 'icon-fishing-club'), Types.PawnShop, 'icon-shop-pawn'), Types.OilRigGround, 'icon-oil-rig-ground'), Types.PrivateBank, 'icon-private-bank'), Types.CarMarketVc, 'icon-autosalon'), Types.ElixirMaster, 'icon-elixir-master'), property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(property_constants_defineProperty(constants_MAP_TYPE_TO_ICON, Types.ParkingSpace, 'icon-parking-space'), Types.Stall, 'icon-stall'), Types.FastFoodEaster, 'icon-fast-food-eater'), Types.PropertyExchangeCenter, 'icon-change-center'), Types.Electricity, 'icon-electro'), Types.TestDriveAdmin, 'icon-testdrive-admin'), Types.StallAdmin, 'icon-stall-admin'), Types.StoragePoint, 'icon-box'), Types.BoatMarket, 'icon-boat-market'), Types.StorageSpace, 'icon-storage-space'), property_constants_defineProperty(constants_MAP_TYPE_TO_ICON, Types.PrivateFarm, 'icon-farm-build'));
;// CONCATENATED MODULE: ./src/views/documents/components/property/index.svelte
/* src\views\documents\components\property\index.svelte generated by Svelte v3.49.0 */





function property_index_svelte_add_css(target) {
	append_styles(target, "svelte-1fsb0hp", "@keyframes svelte-1fsb0hp-blinking{50%{opacity:0}}@keyframes svelte-1fsb0hp-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1fsb0hp-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1fsb0hp-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1fsb0hp-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1fsb0hp-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1fsb0hp-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1fsb0hp-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1fsb0hp-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1fsb0hp-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1fsb0hp-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1fsb0hp-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1fsb0hp-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1fsb0hp-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1fsb0hp-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.documents-property.svelte-1fsb0hp{position:relative;flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;border-radius:calc(0.0104166667 * 100vw + 0px);padding:calc(0.0208333333 * 100vw + 0px);padding-top:calc(0.0270833333 * 100vw + 0px);gap:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-property.svelte-1fsb0hp{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-property.svelte-1fsb0hp{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-property.svelte-1fsb0hp{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-property.svelte-1fsb0hp{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-property.svelte-1fsb0hp{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-property.svelte-1fsb0hp{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-property.svelte-1fsb0hp{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-property.svelte-1fsb0hp{padding:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-property.svelte-1fsb0hp{padding:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-property.svelte-1fsb0hp{padding:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-property.svelte-1fsb0hp{padding:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-property.svelte-1fsb0hp{padding:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-property.svelte-1fsb0hp{padding:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-property.svelte-1fsb0hp{padding:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-property.svelte-1fsb0hp{padding-top:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-property.svelte-1fsb0hp{padding-top:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-property.svelte-1fsb0hp{padding-top:calc(0.0208541667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-property.svelte-1fsb0hp{padding-top:calc(0.0297916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-property.svelte-1fsb0hp{padding-top:calc(0.0189583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-property.svelte-1fsb0hp{padding-top:calc(0.024375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-property.svelte-1fsb0hp{padding-top:calc(0.0297916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-property.svelte-1fsb0hp{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-property.svelte-1fsb0hp{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-property.svelte-1fsb0hp{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-property.svelte-1fsb0hp{gap:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-property.svelte-1fsb0hp{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-property.svelte-1fsb0hp{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-property.svelte-1fsb0hp{gap:calc(0.0114583333 * 100vw + 0px)}}.documents-property__title.svelte-1fsb0hp{width:100%;font-family:\"GothamPro\";color:rgba(64, 73, 51, 0.5);display:flex;align-items:center;justify-content:center;font-weight:700;text-transform:uppercase;font-size:calc(0.025 * 100vw + 0px);line-height:calc(0.0223958333 * 100vw + 0px);gap:calc(0.0145833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-property__title.svelte-1fsb0hp{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-property__title.svelte-1fsb0hp{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-property__title.svelte-1fsb0hp{font-size:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.documents-property__title.svelte-1fsb0hp{font-size:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-property__title.svelte-1fsb0hp{font-size:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-property__title.svelte-1fsb0hp{font-size:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.documents-property__title.svelte-1fsb0hp{font-size:calc(0.0275 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-property__title.svelte-1fsb0hp{line-height:calc(0.0223958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-property__title.svelte-1fsb0hp{line-height:calc(0.0223958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-property__title.svelte-1fsb0hp{line-height:calc(0.0172447917 * 100vw + 0px)}}@media(min-width: 3440px){.documents-property__title.svelte-1fsb0hp{line-height:calc(0.0246354167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-property__title.svelte-1fsb0hp{line-height:calc(0.0156770833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-property__title.svelte-1fsb0hp{line-height:calc(0.02015625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-property__title.svelte-1fsb0hp{line-height:calc(0.0246354167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-property__title.svelte-1fsb0hp{gap:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-property__title.svelte-1fsb0hp{gap:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-property__title.svelte-1fsb0hp{gap:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-property__title.svelte-1fsb0hp{gap:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-property__title.svelte-1fsb0hp{gap:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-property__title.svelte-1fsb0hp{gap:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-property__title.svelte-1fsb0hp{gap:calc(0.0160416667 * 100vw + 0px)}}.documents-property__labels.svelte-1fsb0hp{display:grid;grid-template-columns:50% 50%;justify-content:center;gap:calc(0.0333333333 * 100vw + 0px);width:calc(0.4354166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-property__labels.svelte-1fsb0hp{gap:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-property__labels.svelte-1fsb0hp{gap:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-property__labels.svelte-1fsb0hp{gap:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-property__labels.svelte-1fsb0hp{gap:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-property__labels.svelte-1fsb0hp{gap:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-property__labels.svelte-1fsb0hp{gap:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.documents-property__labels.svelte-1fsb0hp{gap:calc(0.0366666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-property__labels.svelte-1fsb0hp{width:calc(0.4354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-property__labels.svelte-1fsb0hp{width:calc(0.4354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-property__labels.svelte-1fsb0hp{width:calc(0.3352708333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-property__labels.svelte-1fsb0hp{width:calc(0.4789583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-property__labels.svelte-1fsb0hp{width:calc(0.3047916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-property__labels.svelte-1fsb0hp{width:calc(0.391875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-property__labels.svelte-1fsb0hp{width:calc(0.4789583333 * 100vw + 0px)}}.documents-property__label.svelte-1fsb0hp{width:calc(0.1333333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-property__label.svelte-1fsb0hp{width:calc(0.1333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-property__label.svelte-1fsb0hp{width:calc(0.1333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-property__label.svelte-1fsb0hp{width:calc(0.1026666667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-property__label.svelte-1fsb0hp{width:calc(0.1466666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-property__label.svelte-1fsb0hp{width:calc(0.0933333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-property__label.svelte-1fsb0hp{width:calc(0.12 * 100vw + 0px)}}@media(min-width: 4096px){.documents-property__label.svelte-1fsb0hp{width:calc(0.1466666667 * 100vw + 0px)}}.documents-property__label-text.svelte-1fsb0hp{font-family:\"GothamPro\";color:#B08762;font-size:calc(0.0083333333 * 100vw + 0px);margin-bottom:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-property__label-text.svelte-1fsb0hp{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-property__label-text.svelte-1fsb0hp{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-property__label-text.svelte-1fsb0hp{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-property__label-text.svelte-1fsb0hp{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-property__label-text.svelte-1fsb0hp{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-property__label-text.svelte-1fsb0hp{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.documents-property__label-text.svelte-1fsb0hp{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-property__label-text.svelte-1fsb0hp{margin-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-property__label-text.svelte-1fsb0hp{margin-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-property__label-text.svelte-1fsb0hp{margin-bottom:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.documents-property__label-text.svelte-1fsb0hp{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-property__label-text.svelte-1fsb0hp{margin-bottom:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-property__label-text.svelte-1fsb0hp{margin-bottom:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-property__label-text.svelte-1fsb0hp{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}.documents-property__label-separator.svelte-1fsb0hp{width:100%;background:linear-gradient(270deg, transparent 0%, #DCC18C 99.61%);height:calc(0.0010416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-property__label-separator.svelte-1fsb0hp{height:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-property__label-separator.svelte-1fsb0hp{height:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-property__label-separator.svelte-1fsb0hp{height:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.documents-property__label-separator.svelte-1fsb0hp{height:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-property__label-separator.svelte-1fsb0hp{height:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-property__label-separator.svelte-1fsb0hp{height:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-property__label-separator.svelte-1fsb0hp{height:calc(0.0011458333 * 100vw + 0px)}}.documents-property__main-info.svelte-1fsb0hp{flex:1 1 auto;display:grid;justify-content:center;grid-template-columns:50% 50%;width:calc(0.4354166667 * 100vw + 0px);gap:calc(0.0333333333 * 100vw + 0px);max-height:calc(0.234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-property__main-info.svelte-1fsb0hp{width:calc(0.4354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-property__main-info.svelte-1fsb0hp{width:calc(0.4354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-property__main-info.svelte-1fsb0hp{width:calc(0.3352708333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-property__main-info.svelte-1fsb0hp{width:calc(0.4789583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-property__main-info.svelte-1fsb0hp{width:calc(0.3047916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-property__main-info.svelte-1fsb0hp{width:calc(0.391875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-property__main-info.svelte-1fsb0hp{width:calc(0.4789583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-property__main-info.svelte-1fsb0hp{gap:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-property__main-info.svelte-1fsb0hp{gap:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-property__main-info.svelte-1fsb0hp{gap:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-property__main-info.svelte-1fsb0hp{gap:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-property__main-info.svelte-1fsb0hp{gap:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-property__main-info.svelte-1fsb0hp{gap:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.documents-property__main-info.svelte-1fsb0hp{gap:calc(0.0366666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-property__main-info.svelte-1fsb0hp{max-height:calc(0.234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-property__main-info.svelte-1fsb0hp{max-height:calc(0.234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-property__main-info.svelte-1fsb0hp{max-height:calc(0.18046875 * 100vw + 0px)}}@media(min-width: 3440px){.documents-property__main-info.svelte-1fsb0hp{max-height:calc(0.2578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-property__main-info.svelte-1fsb0hp{max-height:calc(0.1640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-property__main-info.svelte-1fsb0hp{max-height:calc(0.2109375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-property__main-info.svelte-1fsb0hp{max-height:calc(0.2578125 * 100vw + 0px)}}.documents-property__list.svelte-1fsb0hp{overflow:auto}.documents-property__list.svelte-1fsb0hp::-webkit-scrollbar{height:0;width:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-property__list.svelte-1fsb0hp::-webkit-scrollbar{width:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-property__list.svelte-1fsb0hp::-webkit-scrollbar{width:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-property__list.svelte-1fsb0hp::-webkit-scrollbar{width:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-property__list.svelte-1fsb0hp::-webkit-scrollbar{width:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-property__list.svelte-1fsb0hp::-webkit-scrollbar{width:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-property__list.svelte-1fsb0hp::-webkit-scrollbar{width:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-property__list.svelte-1fsb0hp::-webkit-scrollbar{width:calc(0.0045833333 * 100vw + 0px)}}.documents-property__list.svelte-1fsb0hp::-webkit-scrollbar-button{display:none}.documents-property__list.svelte-1fsb0hp::-webkit-scrollbar-track{background-color:rgba(0, 0, 0, 0.1)}.documents-property__list.svelte-1fsb0hp::-webkit-scrollbar-track-piece{background:rgba(0, 0, 0, 0.1);border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-property__list.svelte-1fsb0hp::-webkit-scrollbar-track-piece{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-property__list.svelte-1fsb0hp::-webkit-scrollbar-track-piece{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-property__list.svelte-1fsb0hp::-webkit-scrollbar-track-piece{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.documents-property__list.svelte-1fsb0hp::-webkit-scrollbar-track-piece{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-property__list.svelte-1fsb0hp::-webkit-scrollbar-track-piece{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-property__list.svelte-1fsb0hp::-webkit-scrollbar-track-piece{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-property__list.svelte-1fsb0hp::-webkit-scrollbar-track-piece{border-radius:calc(0.0028645833 * 100vw + 0px)}}.documents-property__list.svelte-1fsb0hp::-webkit-scrollbar-thumb{background:#DCC18C;border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-property__list.svelte-1fsb0hp::-webkit-scrollbar-thumb{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-property__list.svelte-1fsb0hp::-webkit-scrollbar-thumb{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-property__list.svelte-1fsb0hp::-webkit-scrollbar-thumb{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.documents-property__list.svelte-1fsb0hp::-webkit-scrollbar-thumb{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-property__list.svelte-1fsb0hp::-webkit-scrollbar-thumb{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-property__list.svelte-1fsb0hp::-webkit-scrollbar-thumb{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-property__list.svelte-1fsb0hp::-webkit-scrollbar-thumb{border-radius:calc(0.0028645833 * 100vw + 0px)}}.documents-property__list.svelte-1fsb0hp::-webkit-scrollbar-corner{background-color:rgba(0, 0, 0, 0.1)}.documents-property__list.svelte-1fsb0hp::-webkit-resizer{background-color:rgba(0, 0, 0, 0.1)}.documents-property__list--empty.svelte-1fsb0hp{background:rgba(220, 193, 140, 0.4);display:flex;align-items:center;justify-content:center;font-family:\"GothamPro\";color:#C4C4C4;font-size:calc(0.0125 * 100vw + 0px);border-radius:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-property__list--empty.svelte-1fsb0hp{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-property__list--empty.svelte-1fsb0hp{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-property__list--empty.svelte-1fsb0hp{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-property__list--empty.svelte-1fsb0hp{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-property__list--empty.svelte-1fsb0hp{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-property__list--empty.svelte-1fsb0hp{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-property__list--empty.svelte-1fsb0hp{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-property__list--empty.svelte-1fsb0hp{border-radius:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-property__list--empty.svelte-1fsb0hp{border-radius:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-property__list--empty.svelte-1fsb0hp{border-radius:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-property__list--empty.svelte-1fsb0hp{border-radius:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-property__list--empty.svelte-1fsb0hp{border-radius:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-property__list--empty.svelte-1fsb0hp{border-radius:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.documents-property__list--empty.svelte-1fsb0hp{border-radius:calc(0.0183333333 * 100vw + 0px)}}.documents-property__property.svelte-1fsb0hp{display:flex;align-items:center;height:calc(0.0416666667 * 100vw + 0px);gap:calc(0.0166666667 * 100vw + 0px);padding-right:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-property__property.svelte-1fsb0hp{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-property__property.svelte-1fsb0hp{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-property__property.svelte-1fsb0hp{height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-property__property.svelte-1fsb0hp{height:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-property__property.svelte-1fsb0hp{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-property__property.svelte-1fsb0hp{height:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-property__property.svelte-1fsb0hp{height:calc(0.0458333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-property__property.svelte-1fsb0hp{gap:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-property__property.svelte-1fsb0hp{gap:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-property__property.svelte-1fsb0hp{gap:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-property__property.svelte-1fsb0hp{gap:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-property__property.svelte-1fsb0hp{gap:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-property__property.svelte-1fsb0hp{gap:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.documents-property__property.svelte-1fsb0hp{gap:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-property__property.svelte-1fsb0hp{padding-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-property__property.svelte-1fsb0hp{padding-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-property__property.svelte-1fsb0hp{padding-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.documents-property__property.svelte-1fsb0hp{padding-right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-property__property.svelte-1fsb0hp{padding-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-property__property.svelte-1fsb0hp{padding-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-property__property.svelte-1fsb0hp{padding-right:calc(0.0057291667 * 100vw + 0px)}}.documents-property__property-icon.svelte-1fsb0hp{display:flex;align-items:center;color:#CAB7A6;font-size:calc(0.0234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-property__property-icon.svelte-1fsb0hp{font-size:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-property__property-icon.svelte-1fsb0hp{font-size:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-property__property-icon.svelte-1fsb0hp{font-size:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.documents-property__property-icon.svelte-1fsb0hp{font-size:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-property__property-icon.svelte-1fsb0hp{font-size:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-property__property-icon.svelte-1fsb0hp{font-size:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-property__property-icon.svelte-1fsb0hp{font-size:calc(0.02578125 * 100vw + 0px)}}.documents-property__property-name.svelte-1fsb0hp{font-family:\"GothamPro\";color:#ABABAB;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-property__property-name.svelte-1fsb0hp{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-property__property-name.svelte-1fsb0hp{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-property__property-name.svelte-1fsb0hp{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-property__property-name.svelte-1fsb0hp{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-property__property-name.svelte-1fsb0hp{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-property__property-name.svelte-1fsb0hp{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-property__property-name.svelte-1fsb0hp{font-size:calc(0.01375 * 100vw + 0px)}}.documents-property__holder.svelte-1fsb0hp{display:flex;align-items:center;justify-content:center;border-style:solid;border-color:#333D49;width:calc(0.3229166667 * 100vw + 0px);height:calc(0.078125 * 100vw + 0px);border-radius:calc(0.0125 * 100vw + 0px);gap:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-property__holder.svelte-1fsb0hp{width:calc(0.3229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-property__holder.svelte-1fsb0hp{width:calc(0.3229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-property__holder.svelte-1fsb0hp{width:calc(0.2486458333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-property__holder.svelte-1fsb0hp{width:calc(0.3552083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-property__holder.svelte-1fsb0hp{width:calc(0.2260416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-property__holder.svelte-1fsb0hp{width:calc(0.290625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-property__holder.svelte-1fsb0hp{width:calc(0.3552083333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-property__holder.svelte-1fsb0hp{height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-property__holder.svelte-1fsb0hp{height:calc(0.078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-property__holder.svelte-1fsb0hp{height:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-property__holder.svelte-1fsb0hp{height:calc(0.0859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-property__holder.svelte-1fsb0hp{height:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-property__holder.svelte-1fsb0hp{height:calc(0.0703125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-property__holder.svelte-1fsb0hp{height:calc(0.0859375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-property__holder.svelte-1fsb0hp{border-radius:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-property__holder.svelte-1fsb0hp{border-radius:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-property__holder.svelte-1fsb0hp{border-radius:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-property__holder.svelte-1fsb0hp{border-radius:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-property__holder.svelte-1fsb0hp{border-radius:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-property__holder.svelte-1fsb0hp{border-radius:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-property__holder.svelte-1fsb0hp{border-radius:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-property__holder.svelte-1fsb0hp{gap:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-property__holder.svelte-1fsb0hp{gap:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-property__holder.svelte-1fsb0hp{gap:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-property__holder.svelte-1fsb0hp{gap:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-property__holder.svelte-1fsb0hp{gap:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-property__holder.svelte-1fsb0hp{gap:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.documents-property__holder.svelte-1fsb0hp{gap:calc(0.0183333333 * 100vw + 0px)}}.documents-property__holder-icon.svelte-1fsb0hp{border-color:#333D49;font-size:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-property__holder-icon.svelte-1fsb0hp{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-property__holder-icon.svelte-1fsb0hp{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-property__holder-icon.svelte-1fsb0hp{font-size:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.documents-property__holder-icon.svelte-1fsb0hp{font-size:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-property__holder-icon.svelte-1fsb0hp{font-size:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-property__holder-icon.svelte-1fsb0hp{font-size:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.documents-property__holder-icon.svelte-1fsb0hp{font-size:calc(0.0275 * 100vw + 0px)}}.documents-property__holder-text.svelte-1fsb0hp{text-align:center;font-family:\"GothamPro\";color:#333D49;font-size:calc(0.0125 * 100vw + 0px);line-height:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-property__holder-text.svelte-1fsb0hp{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-property__holder-text.svelte-1fsb0hp{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-property__holder-text.svelte-1fsb0hp{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-property__holder-text.svelte-1fsb0hp{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-property__holder-text.svelte-1fsb0hp{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-property__holder-text.svelte-1fsb0hp{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-property__holder-text.svelte-1fsb0hp{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-property__holder-text.svelte-1fsb0hp{line-height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-property__holder-text.svelte-1fsb0hp{line-height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-property__holder-text.svelte-1fsb0hp{line-height:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.documents-property__holder-text.svelte-1fsb0hp{line-height:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-property__holder-text.svelte-1fsb0hp{line-height:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-property__holder-text.svelte-1fsb0hp{line-height:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.documents-property__holder-text.svelte-1fsb0hp{line-height:calc(0.0275 * 100vw + 0px)}}");
}

function property_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[1] = list[i];
	return child_ctx;
}

function property_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[1] = list[i];
	return child_ctx;
}

// (1476:3) {:else}
function property_index_svelte_create_else_block_1(ctx) {
	let each_1_anchor;
	let each_value_1 = /*data*/ ctx[0][Columns.Residental];
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = property_index_svelte_create_each_block_1(property_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*data, Columns, MAP_TYPE_TO_ICON*/ 1) {
				each_value_1 = /*data*/ ctx[0][Columns.Residental];
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = property_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = property_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}
		},
		d(detaching) {
			destroy_each(each_blocks, detaching);
			if (detaching) detach(each_1_anchor);
		}
	};
}

// (1474:3) {#if isEmpty(data[Columns.Residental])}
function property_index_svelte_create_if_block_2(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "Список пуст";
			attr(div, "class", "documents-property__list-empty");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1478:5) {#if item.column === Columns.Residental}
function property_index_svelte_create_if_block_3(ctx) {
	let div1;
	let i;
	let i_class_value;
	let t0;
	let div0;
	let t1_value = /*item*/ ctx[1].text + "";
	let t1;
	let t2;

	return {
		c() {
			div1 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(i, "class", i_class_value = "documents-property__property-icon " + property_constants_MAP_TYPE_TO_ICON[/*item*/ ctx[1].property_type] + " svelte-1fsb0hp");
			attr(div0, "class", "documents-property__property-name svelte-1fsb0hp");
			attr(div1, "class", "documents-property__property svelte-1fsb0hp");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, i);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
			append(div1, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*data*/ 1 && i_class_value !== (i_class_value = "documents-property__property-icon " + property_constants_MAP_TYPE_TO_ICON[/*item*/ ctx[1].property_type] + " svelte-1fsb0hp")) {
				attr(i, "class", i_class_value);
			}

			if (dirty & /*data*/ 1 && t1_value !== (t1_value = /*item*/ ctx[1].text + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (1477:4) {#each data[Columns.Residental] as item}
function property_index_svelte_create_each_block_1(ctx) {
	let if_block_anchor;
	let if_block = /*item*/ ctx[1].column === Columns.Residental && property_index_svelte_create_if_block_3(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
		},
		p(ctx, dirty) {
			if (/*item*/ ctx[1].column === Columns.Residental) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = property_index_svelte_create_if_block_3(ctx);
					if_block.c();
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

// (1490:3) {:else}
function property_index_svelte_create_else_block(ctx) {
	let each_1_anchor;
	let each_value = /*data*/ ctx[0][Columns.Commercial];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = property_index_svelte_create_each_block(property_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*data, Columns, MAP_TYPE_TO_ICON*/ 1) {
				each_value = /*data*/ ctx[0][Columns.Commercial];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = property_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = property_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		d(detaching) {
			destroy_each(each_blocks, detaching);
			if (detaching) detach(each_1_anchor);
		}
	};
}

// (1488:3) {#if isEmpty(data[Columns.Commercial])}
function property_index_svelte_create_if_block(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "Список пуст";
			attr(div, "class", "documents-property__list-empty");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1492:5) {#if item.column === Columns.Commercial}
function property_index_svelte_create_if_block_1(ctx) {
	let div1;
	let i;
	let i_class_value;
	let t0;
	let div0;
	let t1_value = /*item*/ ctx[1].text + "";
	let t1;
	let t2;

	return {
		c() {
			div1 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(i, "class", i_class_value = "documents-property__property-icon " + property_constants_MAP_TYPE_TO_ICON[/*item*/ ctx[1].property_type] + " svelte-1fsb0hp");
			attr(div0, "class", "documents-property__property-name svelte-1fsb0hp");
			attr(div1, "class", "documents-property__property svelte-1fsb0hp");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, i);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
			append(div1, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*data*/ 1 && i_class_value !== (i_class_value = "documents-property__property-icon " + property_constants_MAP_TYPE_TO_ICON[/*item*/ ctx[1].property_type] + " svelte-1fsb0hp")) {
				attr(i, "class", i_class_value);
			}

			if (dirty & /*data*/ 1 && t1_value !== (t1_value = /*item*/ ctx[1].text + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (1491:4) {#each data[Columns.Commercial] as item}
function property_index_svelte_create_each_block(ctx) {
	let if_block_anchor;
	let if_block = /*item*/ ctx[1].column === Columns.Commercial && property_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
		},
		p(ctx, dirty) {
			if (/*item*/ ctx[1].column === Columns.Commercial) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = property_index_svelte_create_if_block_1(ctx);
					if_block.c();
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

function property_index_svelte_create_fragment(ctx) {
	let div11;
	let div0;
	let t1;
	let div7;
	let t7;
	let div10;
	let div8;
	let show_if_1;
	let t8;
	let div9;
	let show_if;

	function select_block_type(ctx, dirty) {
		if (dirty & /*data*/ 1) show_if_1 = null;
		if (show_if_1 == null) show_if_1 = !!(0,lodash.isEmpty)(/*data*/ ctx[0][Columns.Residental]);
		if (show_if_1) return property_index_svelte_create_if_block_2;
		return property_index_svelte_create_else_block_1;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block0 = current_block_type(ctx);

	function select_block_type_1(ctx, dirty) {
		if (dirty & /*data*/ 1) show_if = null;
		if (show_if == null) show_if = !!(0,lodash.isEmpty)(/*data*/ ctx[0][Columns.Commercial]);
		if (show_if) return property_index_svelte_create_if_block;
		return property_index_svelte_create_else_block;
	}

	let current_block_type_1 = select_block_type_1(ctx, -1);
	let if_block1 = current_block_type_1(ctx);

	return {
		c() {
			div11 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "НЕДВИЖИМОСТЬ";
			t1 = space();
			div7 = internal_element("div");

			div7.innerHTML = `<div class="documents-property__label svelte-1fsb0hp"><div class="documents-property__label-text svelte-1fsb0hp">Жилая недвижимость</div> 
			<div class="documents-property__label-separator svelte-1fsb0hp"></div></div> 
		<div class="documents-property__label svelte-1fsb0hp"><div class="documents-property__label-text svelte-1fsb0hp">Комерческая недвижимость</div> 
			<div class="documents-property__label-separator svelte-1fsb0hp"></div></div>`;

			t7 = space();
			div10 = internal_element("div");
			div8 = internal_element("div");
			if_block0.c();
			t8 = space();
			div9 = internal_element("div");
			if_block1.c();
			attr(div0, "class", "documents-property__title svelte-1fsb0hp");
			attr(div7, "class", "documents-property__labels svelte-1fsb0hp");
			attr(div8, "class", "documents-property__list svelte-1fsb0hp");
			toggle_class(div8, "documents-property__list--empty", (0,lodash.isEmpty)(/*data*/ ctx[0][Columns.Residental]));
			attr(div9, "class", "documents-property__list svelte-1fsb0hp");
			toggle_class(div9, "documents-property__list--empty", (0,lodash.isEmpty)(/*data*/ ctx[0][Columns.Commercial]));
			attr(div10, "class", "documents-property__main-info svelte-1fsb0hp");
			attr(div11, "class", "documents-property svelte-1fsb0hp");
		},
		m(target, anchor) {
			insert(target, div11, anchor);
			append(div11, div0);
			append(div11, t1);
			append(div11, div7);
			append(div11, t7);
			append(div11, div10);
			append(div10, div8);
			if_block0.m(div8, null);
			append(div10, t8);
			append(div10, div9);
			if_block1.m(div9, null);
		},
		p(ctx, [dirty]) {
			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block0) {
				if_block0.p(ctx, dirty);
			} else {
				if_block0.d(1);
				if_block0 = current_block_type(ctx);

				if (if_block0) {
					if_block0.c();
					if_block0.m(div8, null);
				}
			}

			if (dirty & /*isEmpty, data, Columns*/ 1) {
				toggle_class(div8, "documents-property__list--empty", (0,lodash.isEmpty)(/*data*/ ctx[0][Columns.Residental]));
			}

			if (current_block_type_1 === (current_block_type_1 = select_block_type_1(ctx, dirty)) && if_block1) {
				if_block1.p(ctx, dirty);
			} else {
				if_block1.d(1);
				if_block1 = current_block_type_1(ctx);

				if (if_block1) {
					if_block1.c();
					if_block1.m(div9, null);
				}
			}

			if (dirty & /*isEmpty, data, Columns*/ 1) {
				toggle_class(div9, "documents-property__list--empty", (0,lodash.isEmpty)(/*data*/ ctx[0][Columns.Commercial]));
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div11);
			if_block0.d();
			if_block1.d();
		}
	};
}

function property_index_svelte_instance($$self, $$props, $$invalidate) {
	let { data = {} } = $$props;

	$$self.$$set = $$props => {
		if ('data' in $$props) $$invalidate(0, data = $$props.data);
	};

	return [data];
}

class index_svelte_Property extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, property_index_svelte_instance, property_index_svelte_create_fragment, safe_not_equal, { data: 0 }, property_index_svelte_add_css);
	}
}

/* harmony default export */ const property_index_svelte = (index_svelte_Property);
;// CONCATENATED MODULE: ./src/views/documents/components/vehicle/index.svelte
/* src\views\documents\components\vehicle\index.svelte generated by Svelte v3.49.0 */





function components_vehicle_index_svelte_add_css(target) {
	append_styles(target, "svelte-1ulgaxl", "@keyframes svelte-1ulgaxl-blinking{50%{opacity:0}}@keyframes svelte-1ulgaxl-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1ulgaxl-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1ulgaxl-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1ulgaxl-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1ulgaxl-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1ulgaxl-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1ulgaxl-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1ulgaxl-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1ulgaxl-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1ulgaxl-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1ulgaxl-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1ulgaxl-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1ulgaxl-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1ulgaxl-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.documents-vehicle.svelte-1ulgaxl{position:relative;flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;border-radius:calc(0.0104166667 * 100vw + 0px);padding:calc(0.0208333333 * 100vw + 0px);padding-top:calc(0.0270833333 * 100vw + 0px);gap:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle.svelte-1ulgaxl{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle.svelte-1ulgaxl{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle.svelte-1ulgaxl{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle.svelte-1ulgaxl{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle.svelte-1ulgaxl{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle.svelte-1ulgaxl{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle.svelte-1ulgaxl{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle.svelte-1ulgaxl{padding:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle.svelte-1ulgaxl{padding:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle.svelte-1ulgaxl{padding:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle.svelte-1ulgaxl{padding:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle.svelte-1ulgaxl{padding:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle.svelte-1ulgaxl{padding:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle.svelte-1ulgaxl{padding:calc(0.0229166667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle.svelte-1ulgaxl{padding-top:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle.svelte-1ulgaxl{padding-top:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle.svelte-1ulgaxl{padding-top:calc(0.0208541667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle.svelte-1ulgaxl{padding-top:calc(0.0297916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle.svelte-1ulgaxl{padding-top:calc(0.0189583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle.svelte-1ulgaxl{padding-top:calc(0.024375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle.svelte-1ulgaxl{padding-top:calc(0.0297916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle.svelte-1ulgaxl{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle.svelte-1ulgaxl{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle.svelte-1ulgaxl{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle.svelte-1ulgaxl{gap:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle.svelte-1ulgaxl{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle.svelte-1ulgaxl{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle.svelte-1ulgaxl{gap:calc(0.0114583333 * 100vw + 0px)}}.documents-vehicle__title.svelte-1ulgaxl{width:100%;font-family:\"GothamPro\";color:rgba(61, 51, 73, 0.5);display:flex;align-items:center;justify-content:center;font-weight:700;text-transform:uppercase;font-size:calc(0.025 * 100vw + 0px);line-height:calc(0.0223958333 * 100vw + 0px);gap:calc(0.0145833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__title.svelte-1ulgaxl{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__title.svelte-1ulgaxl{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__title.svelte-1ulgaxl{font-size:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__title.svelte-1ulgaxl{font-size:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__title.svelte-1ulgaxl{font-size:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__title.svelte-1ulgaxl{font-size:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__title.svelte-1ulgaxl{font-size:calc(0.0275 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__title.svelte-1ulgaxl{line-height:calc(0.0223958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__title.svelte-1ulgaxl{line-height:calc(0.0223958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__title.svelte-1ulgaxl{line-height:calc(0.0172447917 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__title.svelte-1ulgaxl{line-height:calc(0.0246354167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__title.svelte-1ulgaxl{line-height:calc(0.0156770833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__title.svelte-1ulgaxl{line-height:calc(0.02015625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__title.svelte-1ulgaxl{line-height:calc(0.0246354167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__title.svelte-1ulgaxl{gap:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__title.svelte-1ulgaxl{gap:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__title.svelte-1ulgaxl{gap:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__title.svelte-1ulgaxl{gap:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__title.svelte-1ulgaxl{gap:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__title.svelte-1ulgaxl{gap:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__title.svelte-1ulgaxl{gap:calc(0.0160416667 * 100vw + 0px)}}.documents-vehicle__main-info.svelte-1ulgaxl{flex:1 1 auto;width:calc(0.390625 * 100vw + 0px);gap:calc(0.0333333333 * 100vw + 0px);max-height:calc(0.2708333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__main-info.svelte-1ulgaxl{width:calc(0.390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__main-info.svelte-1ulgaxl{width:calc(0.390625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__main-info.svelte-1ulgaxl{width:calc(0.30078125 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__main-info.svelte-1ulgaxl{width:calc(0.4296875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__main-info.svelte-1ulgaxl{width:calc(0.2734375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__main-info.svelte-1ulgaxl{width:calc(0.3515625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__main-info.svelte-1ulgaxl{width:calc(0.4296875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__main-info.svelte-1ulgaxl{gap:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__main-info.svelte-1ulgaxl{gap:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__main-info.svelte-1ulgaxl{gap:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__main-info.svelte-1ulgaxl{gap:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__main-info.svelte-1ulgaxl{gap:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__main-info.svelte-1ulgaxl{gap:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__main-info.svelte-1ulgaxl{gap:calc(0.0366666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__main-info.svelte-1ulgaxl{max-height:calc(0.2708333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__main-info.svelte-1ulgaxl{max-height:calc(0.2708333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__main-info.svelte-1ulgaxl{max-height:calc(0.2085416667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__main-info.svelte-1ulgaxl{max-height:calc(0.2979166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__main-info.svelte-1ulgaxl{max-height:calc(0.1895833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__main-info.svelte-1ulgaxl{max-height:calc(0.24375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__main-info.svelte-1ulgaxl{max-height:calc(0.2979166667 * 100vw + 0px)}}.documents-vehicle__list.svelte-1ulgaxl{height:100%;overflow:auto;display:flex;flex-direction:column;gap:calc(0.0041666667 * 100vw + 0px)}.documents-vehicle__list.svelte-1ulgaxl::-webkit-scrollbar{height:0;width:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__list.svelte-1ulgaxl::-webkit-scrollbar{width:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__list.svelte-1ulgaxl::-webkit-scrollbar{width:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__list.svelte-1ulgaxl::-webkit-scrollbar{width:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__list.svelte-1ulgaxl::-webkit-scrollbar{width:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__list.svelte-1ulgaxl::-webkit-scrollbar{width:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__list.svelte-1ulgaxl::-webkit-scrollbar{width:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__list.svelte-1ulgaxl::-webkit-scrollbar{width:calc(0.0045833333 * 100vw + 0px)}}.documents-vehicle__list.svelte-1ulgaxl::-webkit-scrollbar-button{display:none}.documents-vehicle__list.svelte-1ulgaxl::-webkit-scrollbar-track{background-color:rgba(0, 0, 0, 0.1)}.documents-vehicle__list.svelte-1ulgaxl::-webkit-scrollbar-track-piece{background:rgba(0, 0, 0, 0.1);border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__list.svelte-1ulgaxl::-webkit-scrollbar-track-piece{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__list.svelte-1ulgaxl::-webkit-scrollbar-track-piece{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__list.svelte-1ulgaxl::-webkit-scrollbar-track-piece{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__list.svelte-1ulgaxl::-webkit-scrollbar-track-piece{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__list.svelte-1ulgaxl::-webkit-scrollbar-track-piece{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__list.svelte-1ulgaxl::-webkit-scrollbar-track-piece{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__list.svelte-1ulgaxl::-webkit-scrollbar-track-piece{border-radius:calc(0.0028645833 * 100vw + 0px)}}.documents-vehicle__list.svelte-1ulgaxl::-webkit-scrollbar-thumb{background:#8462B0;border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__list.svelte-1ulgaxl::-webkit-scrollbar-thumb{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__list.svelte-1ulgaxl::-webkit-scrollbar-thumb{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__list.svelte-1ulgaxl::-webkit-scrollbar-thumb{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__list.svelte-1ulgaxl::-webkit-scrollbar-thumb{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__list.svelte-1ulgaxl::-webkit-scrollbar-thumb{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__list.svelte-1ulgaxl::-webkit-scrollbar-thumb{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__list.svelte-1ulgaxl::-webkit-scrollbar-thumb{border-radius:calc(0.0028645833 * 100vw + 0px)}}.documents-vehicle__list.svelte-1ulgaxl::-webkit-scrollbar-corner{background-color:rgba(0, 0, 0, 0.1)}.documents-vehicle__list.svelte-1ulgaxl::-webkit-resizer{background-color:rgba(0, 0, 0, 0.1)}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__list.svelte-1ulgaxl{gap:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__list.svelte-1ulgaxl{gap:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__list.svelte-1ulgaxl{gap:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__list.svelte-1ulgaxl{gap:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__list.svelte-1ulgaxl{gap:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__list.svelte-1ulgaxl{gap:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__list.svelte-1ulgaxl{gap:calc(0.0045833333 * 100vw + 0px)}}.documents-vehicle__list--empty.svelte-1ulgaxl{background:rgba(153, 151, 237, 0.4);display:flex;align-items:center;justify-content:center;font-family:\"GothamPro\";color:#8681A5;font-size:calc(0.0125 * 100vw + 0px);border-radius:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__list--empty.svelte-1ulgaxl{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__list--empty.svelte-1ulgaxl{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__list--empty.svelte-1ulgaxl{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__list--empty.svelte-1ulgaxl{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__list--empty.svelte-1ulgaxl{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__list--empty.svelte-1ulgaxl{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__list--empty.svelte-1ulgaxl{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__list--empty.svelte-1ulgaxl{border-radius:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__list--empty.svelte-1ulgaxl{border-radius:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__list--empty.svelte-1ulgaxl{border-radius:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__list--empty.svelte-1ulgaxl{border-radius:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__list--empty.svelte-1ulgaxl{border-radius:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__list--empty.svelte-1ulgaxl{border-radius:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__list--empty.svelte-1ulgaxl{border-radius:calc(0.0183333333 * 100vw + 0px)}}.documents-vehicle__vehicle.svelte-1ulgaxl{display:flex;align-items:center;height:calc(0.05 * 100vw + 0px);gap:calc(0.0166666667 * 100vw + 0px);padding-right:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__vehicle.svelte-1ulgaxl{height:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__vehicle.svelte-1ulgaxl{height:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__vehicle.svelte-1ulgaxl{height:calc(0.0385 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__vehicle.svelte-1ulgaxl{height:calc(0.055 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__vehicle.svelte-1ulgaxl{height:calc(0.035 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__vehicle.svelte-1ulgaxl{height:calc(0.045 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__vehicle.svelte-1ulgaxl{height:calc(0.055 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__vehicle.svelte-1ulgaxl{gap:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__vehicle.svelte-1ulgaxl{gap:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__vehicle.svelte-1ulgaxl{gap:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__vehicle.svelte-1ulgaxl{gap:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__vehicle.svelte-1ulgaxl{gap:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__vehicle.svelte-1ulgaxl{gap:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__vehicle.svelte-1ulgaxl{gap:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__vehicle.svelte-1ulgaxl{padding-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__vehicle.svelte-1ulgaxl{padding-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__vehicle.svelte-1ulgaxl{padding-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__vehicle.svelte-1ulgaxl{padding-right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__vehicle.svelte-1ulgaxl{padding-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__vehicle.svelte-1ulgaxl{padding-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__vehicle.svelte-1ulgaxl{padding-right:calc(0.0057291667 * 100vw + 0px)}}.documents-vehicle__vehicle-image-wrapper.svelte-1ulgaxl{display:flex;align-items:center;justify-content:center;background-color:#0D1011;background-image:radial-gradient(79.61% 116.04% at 50% 56.13%, rgba(255, 255, 255, 0.3) 0%, transparent 100%);border-style:solid;border-color:rgba(255, 255, 255, 0.3);border-radius:calc(0.00625 * 100vw + 0px);border-width:calc(0.0010416667 * 100vw + 0px);width:calc(0.05 * 100vw + 0px);height:calc(0.05 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__vehicle-image-wrapper.svelte-1ulgaxl{border-radius:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__vehicle-image-wrapper.svelte-1ulgaxl{border-radius:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__vehicle-image-wrapper.svelte-1ulgaxl{border-radius:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__vehicle-image-wrapper.svelte-1ulgaxl{border-radius:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__vehicle-image-wrapper.svelte-1ulgaxl{border-radius:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__vehicle-image-wrapper.svelte-1ulgaxl{border-radius:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__vehicle-image-wrapper.svelte-1ulgaxl{border-radius:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__vehicle-image-wrapper.svelte-1ulgaxl{border-width:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__vehicle-image-wrapper.svelte-1ulgaxl{border-width:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__vehicle-image-wrapper.svelte-1ulgaxl{border-width:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__vehicle-image-wrapper.svelte-1ulgaxl{border-width:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__vehicle-image-wrapper.svelte-1ulgaxl{border-width:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__vehicle-image-wrapper.svelte-1ulgaxl{border-width:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__vehicle-image-wrapper.svelte-1ulgaxl{border-width:calc(0.0011458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__vehicle-image-wrapper.svelte-1ulgaxl{width:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__vehicle-image-wrapper.svelte-1ulgaxl{width:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__vehicle-image-wrapper.svelte-1ulgaxl{width:calc(0.0385 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__vehicle-image-wrapper.svelte-1ulgaxl{width:calc(0.055 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__vehicle-image-wrapper.svelte-1ulgaxl{width:calc(0.035 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__vehicle-image-wrapper.svelte-1ulgaxl{width:calc(0.045 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__vehicle-image-wrapper.svelte-1ulgaxl{width:calc(0.055 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__vehicle-image-wrapper.svelte-1ulgaxl{height:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__vehicle-image-wrapper.svelte-1ulgaxl{height:calc(0.05 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__vehicle-image-wrapper.svelte-1ulgaxl{height:calc(0.0385 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__vehicle-image-wrapper.svelte-1ulgaxl{height:calc(0.055 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__vehicle-image-wrapper.svelte-1ulgaxl{height:calc(0.035 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__vehicle-image-wrapper.svelte-1ulgaxl{height:calc(0.045 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__vehicle-image-wrapper.svelte-1ulgaxl{height:calc(0.055 * 100vw + 0px)}}.documents-vehicle__vehicle-image.svelte-1ulgaxl{width:100%;display:flex;align-items:center;font-size:calc(0.0234375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__vehicle-image.svelte-1ulgaxl{font-size:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__vehicle-image.svelte-1ulgaxl{font-size:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__vehicle-image.svelte-1ulgaxl{font-size:calc(0.018046875 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__vehicle-image.svelte-1ulgaxl{font-size:calc(0.02578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__vehicle-image.svelte-1ulgaxl{font-size:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__vehicle-image.svelte-1ulgaxl{font-size:calc(0.02109375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__vehicle-image.svelte-1ulgaxl{font-size:calc(0.02578125 * 100vw + 0px)}}.documents-vehicle__vehicle-name.svelte-1ulgaxl{font-family:\"GothamPro\";color:#8681A5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__vehicle-name.svelte-1ulgaxl{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__vehicle-name.svelte-1ulgaxl{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__vehicle-name.svelte-1ulgaxl{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__vehicle-name.svelte-1ulgaxl{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__vehicle-name.svelte-1ulgaxl{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__vehicle-name.svelte-1ulgaxl{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__vehicle-name.svelte-1ulgaxl{font-size:calc(0.01375 * 100vw + 0px)}}.documents-vehicle__vehicle-info.svelte-1ulgaxl{display:flex;align-items:center;gap:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__vehicle-info.svelte-1ulgaxl{gap:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__vehicle-info.svelte-1ulgaxl{gap:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__vehicle-info.svelte-1ulgaxl{gap:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__vehicle-info.svelte-1ulgaxl{gap:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__vehicle-info.svelte-1ulgaxl{gap:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__vehicle-info.svelte-1ulgaxl{gap:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__vehicle-info.svelte-1ulgaxl{gap:calc(0.0183333333 * 100vw + 0px)}}.documents-vehicle__vehicle-number.svelte-1ulgaxl{display:flex;align-items:center;justify-content:center;color:#111111;font-family:\"GothamPro\";background-color:#FFFFFF;border-style:solid;border-color:rgba(0, 0, 0, 0.5);border-width:calc(0.0005208333 * 100vw + 0px);border-radius:calc(0.0041666667 * 100vw + 0px);padding-left:calc(0.0052083333 * 100vw + 0px);padding-right:calc(0.0052083333 * 100vw + 0px);height:calc(0.0161458333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__vehicle-number.svelte-1ulgaxl{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__vehicle-number.svelte-1ulgaxl{border-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__vehicle-number.svelte-1ulgaxl{border-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__vehicle-number.svelte-1ulgaxl{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__vehicle-number.svelte-1ulgaxl{border-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__vehicle-number.svelte-1ulgaxl{border-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__vehicle-number.svelte-1ulgaxl{border-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__vehicle-number.svelte-1ulgaxl{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__vehicle-number.svelte-1ulgaxl{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__vehicle-number.svelte-1ulgaxl{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__vehicle-number.svelte-1ulgaxl{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__vehicle-number.svelte-1ulgaxl{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__vehicle-number.svelte-1ulgaxl{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__vehicle-number.svelte-1ulgaxl{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__vehicle-number.svelte-1ulgaxl{padding-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__vehicle-number.svelte-1ulgaxl{padding-left:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__vehicle-number.svelte-1ulgaxl{padding-left:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__vehicle-number.svelte-1ulgaxl{padding-left:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__vehicle-number.svelte-1ulgaxl{padding-left:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__vehicle-number.svelte-1ulgaxl{padding-left:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__vehicle-number.svelte-1ulgaxl{padding-left:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__vehicle-number.svelte-1ulgaxl{padding-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__vehicle-number.svelte-1ulgaxl{padding-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__vehicle-number.svelte-1ulgaxl{padding-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__vehicle-number.svelte-1ulgaxl{padding-right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__vehicle-number.svelte-1ulgaxl{padding-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__vehicle-number.svelte-1ulgaxl{padding-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__vehicle-number.svelte-1ulgaxl{padding-right:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__vehicle-number.svelte-1ulgaxl{height:calc(0.0161458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__vehicle-number.svelte-1ulgaxl{height:calc(0.0161458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__vehicle-number.svelte-1ulgaxl{height:calc(0.0124322917 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__vehicle-number.svelte-1ulgaxl{height:calc(0.0177604167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__vehicle-number.svelte-1ulgaxl{height:calc(0.0113020833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__vehicle-number.svelte-1ulgaxl{height:calc(0.01453125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__vehicle-number.svelte-1ulgaxl{height:calc(0.0177604167 * 100vw + 0px)}}.documents-vehicle__vehicle-mileage.svelte-1ulgaxl,.documents-vehicle__vehicle-price.svelte-1ulgaxl{display:flex;align-items:center;gap:calc(0.0046875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__vehicle-mileage.svelte-1ulgaxl,.documents-vehicle__vehicle-price.svelte-1ulgaxl{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__vehicle-mileage.svelte-1ulgaxl,.documents-vehicle__vehicle-price.svelte-1ulgaxl{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__vehicle-mileage.svelte-1ulgaxl,.documents-vehicle__vehicle-price.svelte-1ulgaxl{gap:calc(0.003609375 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__vehicle-mileage.svelte-1ulgaxl,.documents-vehicle__vehicle-price.svelte-1ulgaxl{gap:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__vehicle-mileage.svelte-1ulgaxl,.documents-vehicle__vehicle-price.svelte-1ulgaxl{gap:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__vehicle-mileage.svelte-1ulgaxl,.documents-vehicle__vehicle-price.svelte-1ulgaxl{gap:calc(0.00421875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__vehicle-mileage.svelte-1ulgaxl,.documents-vehicle__vehicle-price.svelte-1ulgaxl{gap:calc(0.00515625 * 100vw + 0px)}}.documents-vehicle__vehicle-mileage-icon.svelte-1ulgaxl,.documents-vehicle__vehicle-price-icon.svelte-1ulgaxl{color:#8681A5;font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__vehicle-mileage-icon.svelte-1ulgaxl,.documents-vehicle__vehicle-price-icon.svelte-1ulgaxl{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__vehicle-mileage-icon.svelte-1ulgaxl,.documents-vehicle__vehicle-price-icon.svelte-1ulgaxl{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__vehicle-mileage-icon.svelte-1ulgaxl,.documents-vehicle__vehicle-price-icon.svelte-1ulgaxl{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__vehicle-mileage-icon.svelte-1ulgaxl,.documents-vehicle__vehicle-price-icon.svelte-1ulgaxl{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__vehicle-mileage-icon.svelte-1ulgaxl,.documents-vehicle__vehicle-price-icon.svelte-1ulgaxl{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__vehicle-mileage-icon.svelte-1ulgaxl,.documents-vehicle__vehicle-price-icon.svelte-1ulgaxl{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__vehicle-mileage-icon.svelte-1ulgaxl,.documents-vehicle__vehicle-price-icon.svelte-1ulgaxl{font-size:calc(0.0114583333 * 100vw + 0px)}}.documents-vehicle__vehicle-mileage-value.svelte-1ulgaxl,.documents-vehicle__vehicle-price-value.svelte-1ulgaxl{font-family:\"GothamPro\";color:#8681A5;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__vehicle-mileage-value.svelte-1ulgaxl,.documents-vehicle__vehicle-price-value.svelte-1ulgaxl{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__vehicle-mileage-value.svelte-1ulgaxl,.documents-vehicle__vehicle-price-value.svelte-1ulgaxl{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__vehicle-mileage-value.svelte-1ulgaxl,.documents-vehicle__vehicle-price-value.svelte-1ulgaxl{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__vehicle-mileage-value.svelte-1ulgaxl,.documents-vehicle__vehicle-price-value.svelte-1ulgaxl{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__vehicle-mileage-value.svelte-1ulgaxl,.documents-vehicle__vehicle-price-value.svelte-1ulgaxl{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__vehicle-mileage-value.svelte-1ulgaxl,.documents-vehicle__vehicle-price-value.svelte-1ulgaxl{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__vehicle-mileage-value.svelte-1ulgaxl,.documents-vehicle__vehicle-price-value.svelte-1ulgaxl{font-size:calc(0.0091666667 * 100vw + 0px)}}.documents-vehicle__vehicle-status.svelte-1ulgaxl{display:flex;align-items:center;justify-content:center;font-family:\"GothamPro\";color:var(--statusColor);background-color:var(--statusColor02);font-size:calc(0.0072916667 * 100vw + 0px);height:calc(0.015625 * 100vw + 0px);padding:calc(0.0041666667 * 100vw + 0px);padding-right:calc(0.0052083333 * 100vw + 0px);border-radius:calc(0.0130208333 * 100vw + 0px);gap:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{height:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{height:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{height:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{height:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{padding:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{padding:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{padding:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{padding:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{padding:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{padding:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{padding:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{padding-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{padding-right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{padding-right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{padding-right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{padding-right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{padding-right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{padding-right:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{border-radius:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{border-radius:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{border-radius:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{border-radius:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{border-radius:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{gap:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{gap:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{gap:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{gap:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__vehicle-status.svelte-1ulgaxl{gap:calc(0.0028645833 * 100vw + 0px)}}.documents-vehicle__vehicle-status-circle.svelte-1ulgaxl{display:flex;align-items:center;justify-content:center;border-radius:50%;border-style:solid;background-color:var(--statusColor06);width:calc(0.009375 * 100vw + 0px);height:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__vehicle-status-circle.svelte-1ulgaxl{width:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__vehicle-status-circle.svelte-1ulgaxl{width:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__vehicle-status-circle.svelte-1ulgaxl{width:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__vehicle-status-circle.svelte-1ulgaxl{width:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__vehicle-status-circle.svelte-1ulgaxl{width:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__vehicle-status-circle.svelte-1ulgaxl{width:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__vehicle-status-circle.svelte-1ulgaxl{width:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__vehicle-status-circle.svelte-1ulgaxl{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__vehicle-status-circle.svelte-1ulgaxl{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__vehicle-status-circle.svelte-1ulgaxl{height:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__vehicle-status-circle.svelte-1ulgaxl{height:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__vehicle-status-circle.svelte-1ulgaxl{height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__vehicle-status-circle.svelte-1ulgaxl{height:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__vehicle-status-circle.svelte-1ulgaxl{height:calc(0.0103125 * 100vw + 0px)}}.documents-vehicle__vehicle-status-circle.svelte-1ulgaxl:before{content:\"\";border-radius:50%;background-color:var(--statusColor);width:calc(0.00625 * 100vw + 0px);height:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__vehicle-status-circle.svelte-1ulgaxl:before{width:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__vehicle-status-circle.svelte-1ulgaxl:before{width:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__vehicle-status-circle.svelte-1ulgaxl:before{width:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__vehicle-status-circle.svelte-1ulgaxl:before{width:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__vehicle-status-circle.svelte-1ulgaxl:before{width:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__vehicle-status-circle.svelte-1ulgaxl:before{width:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__vehicle-status-circle.svelte-1ulgaxl:before{width:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vehicle__vehicle-status-circle.svelte-1ulgaxl:before{height:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vehicle__vehicle-status-circle.svelte-1ulgaxl:before{height:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vehicle__vehicle-status-circle.svelte-1ulgaxl:before{height:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vehicle__vehicle-status-circle.svelte-1ulgaxl:before{height:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vehicle__vehicle-status-circle.svelte-1ulgaxl:before{height:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vehicle__vehicle-status-circle.svelte-1ulgaxl:before{height:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vehicle__vehicle-status-circle.svelte-1ulgaxl:before{height:calc(0.006875 * 100vw + 0px)}}.documents-vehicle__vehicle-status-value.svelte-1ulgaxl{font-family:\"GothamPro\"}");
}

function vehicle_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[1] = list[i];
	return child_ctx;
}

// (1889:3) {:else}
function vehicle_index_svelte_create_else_block(ctx) {
	let each_1_anchor;
	let each_value = /*data*/ ctx[0].vehicles;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = vehicle_index_svelte_create_each_block(vehicle_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*data, isEmpty, CDN_URLS, CDN_CHANNEL_TYPES*/ 1) {
				each_value = /*data*/ ctx[0].vehicles;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = vehicle_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = vehicle_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		d(detaching) {
			destroy_each(each_blocks, detaching);
			if (detaching) detach(each_1_anchor);
		}
	};
}

// (1887:3) {#if isEmpty(data.vehicles)}
function components_vehicle_index_svelte_create_if_block(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "Список пуст";
			attr(div, "class", "documents-vehicle__list-empty");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1899:8) {#if !isEmpty(item.number)}
function vehicle_index_svelte_create_if_block_3(ctx) {
	let div;
	let t_value = /*item*/ ctx[1].number + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(t_value);
			attr(div, "class", "documents-vehicle__vehicle-number svelte-1ulgaxl");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*data*/ 1 && t_value !== (t_value = /*item*/ ctx[1].number + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1902:8) {#if !isEmpty(item.cost)}
function components_vehicle_index_svelte_create_if_block_2(ctx) {
	let div;
	let i;
	let t0;
	let span;
	let t1_value = /*item*/ ctx[1].cost + "";
	let t1;

	return {
		c() {
			div = internal_element("div");
			i = internal_element("i");
			t0 = space();
			span = internal_element("span");
			t1 = internal_text(t1_value);
			attr(i, "class", "documents-vehicle__vehicle-price-icon icon-dollar svelte-1ulgaxl");
			attr(span, "class", "documents-vehicle__vehicle-price-value svelte-1ulgaxl");
			attr(div, "class", "documents-vehicle__vehicle-price svelte-1ulgaxl");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, i);
			append(div, t0);
			append(div, span);
			append(span, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*data*/ 1 && t1_value !== (t1_value = /*item*/ ctx[1].cost + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1908:8) {#if !isEmpty(item.milliage)}
function components_vehicle_index_svelte_create_if_block_1(ctx) {
	let div;
	let i;
	let t0;
	let span;
	let t1_value = /*item*/ ctx[1].milliage + "";
	let t1;

	return {
		c() {
			div = internal_element("div");
			i = internal_element("i");
			t0 = space();
			span = internal_element("span");
			t1 = internal_text(t1_value);
			attr(i, "class", "documents-vehicle__vehicle-mileage-icon icon-speedometer svelte-1ulgaxl");
			attr(span, "class", "documents-vehicle__vehicle-mileage-value svelte-1ulgaxl");
			attr(div, "class", "documents-vehicle__vehicle-mileage svelte-1ulgaxl");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, i);
			append(div, t0);
			append(div, span);
			append(span, t1);
		},
		p(ctx, dirty) {
			if (dirty & /*data*/ 1 && t1_value !== (t1_value = /*item*/ ctx[1].milliage + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (1890:4) {#each data.vehicles as item}
function vehicle_index_svelte_create_each_block(ctx) {
	let div7;
	let div0;
	let img;
	let img_src_value;
	let t0;
	let div6;
	let div1;
	let t1_value = /*item*/ ctx[1].name + "";
	let t1;
	let t2;
	let div5;
	let show_if_2 = !(0,lodash.isEmpty)(/*item*/ ctx[1].number);
	let t3;
	let show_if_1 = !(0,lodash.isEmpty)(/*item*/ ctx[1].cost);
	let t4;
	let show_if = !(0,lodash.isEmpty)(/*item*/ ctx[1].milliage);
	let t5;
	let div4;
	let div2;
	let t6;
	let div3;
	let t7_value = /*item*/ ctx[1].status_text + "";
	let t7;
	let t8;
	let if_block0 = show_if_2 && vehicle_index_svelte_create_if_block_3(ctx);
	let if_block1 = show_if_1 && components_vehicle_index_svelte_create_if_block_2(ctx);
	let if_block2 = show_if && components_vehicle_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			div7 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div6 = internal_element("div");
			div1 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			div5 = internal_element("div");
			if (if_block0) if_block0.c();
			t3 = space();
			if (if_block1) if_block1.c();
			t4 = space();
			if (if_block2) if_block2.c();
			t5 = space();
			div4 = internal_element("div");
			div2 = internal_element("div");
			t6 = space();
			div3 = internal_element("div");
			t7 = internal_text(t7_value);
			t8 = space();
			if (!src_url_equal(img.src, img_src_value = CDN_URLS[CDN_CHANNEL_TYPES.CDN_CHANNEL_RESOURCES] + /*item*/ ctx[1].image_url)) attr(img, "src", img_src_value);
			attr(img, "alt", "car");
			attr(img, "class", "documents-vehicle__vehicle-image svelte-1ulgaxl");
			attr(div0, "class", "documents-vehicle__vehicle-image-wrapper svelte-1ulgaxl");
			attr(div1, "class", "documents-vehicle__vehicle-name svelte-1ulgaxl");
			attr(div2, "class", "documents-vehicle__vehicle-status-circle svelte-1ulgaxl");
			attr(div3, "class", "documents-vehicle__vehicle-status-value svelte-1ulgaxl");
			attr(div4, "class", "documents-vehicle__vehicle-status svelte-1ulgaxl");
			set_style(div4, "--statusColor", /*item*/ ctx[1].status_color);
			set_style(div4, "--statusColor02", `${/*item*/ ctx[1].status_color}33`);
			set_style(div4, "--statusColor06", `${/*item*/ ctx[1].status_color}99`);
			attr(div5, "class", "documents-vehicle__vehicle-info svelte-1ulgaxl");
			attr(div6, "class", "documents-vehicle__vehicle-info-wrapper");
			attr(div7, "class", "documents-vehicle__vehicle svelte-1ulgaxl");
		},
		m(target, anchor) {
			insert(target, div7, anchor);
			append(div7, div0);
			append(div0, img);
			append(div7, t0);
			append(div7, div6);
			append(div6, div1);
			append(div1, t1);
			append(div6, t2);
			append(div6, div5);
			if (if_block0) if_block0.m(div5, null);
			append(div5, t3);
			if (if_block1) if_block1.m(div5, null);
			append(div5, t4);
			if (if_block2) if_block2.m(div5, null);
			append(div5, t5);
			append(div5, div4);
			append(div4, div2);
			append(div4, t6);
			append(div4, div3);
			append(div3, t7);
			append(div7, t8);
		},
		p(ctx, dirty) {
			if (dirty & /*data*/ 1 && !src_url_equal(img.src, img_src_value = CDN_URLS[CDN_CHANNEL_TYPES.CDN_CHANNEL_RESOURCES] + /*item*/ ctx[1].image_url)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*data*/ 1 && t1_value !== (t1_value = /*item*/ ctx[1].name + "")) set_data(t1, t1_value);
			if (dirty & /*data*/ 1) show_if_2 = !(0,lodash.isEmpty)(/*item*/ ctx[1].number);

			if (show_if_2) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = vehicle_index_svelte_create_if_block_3(ctx);
					if_block0.c();
					if_block0.m(div5, t3);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty & /*data*/ 1) show_if_1 = !(0,lodash.isEmpty)(/*item*/ ctx[1].cost);

			if (show_if_1) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = components_vehicle_index_svelte_create_if_block_2(ctx);
					if_block1.c();
					if_block1.m(div5, t4);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty & /*data*/ 1) show_if = !(0,lodash.isEmpty)(/*item*/ ctx[1].milliage);

			if (show_if) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = components_vehicle_index_svelte_create_if_block_1(ctx);
					if_block2.c();
					if_block2.m(div5, t5);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			if (dirty & /*data*/ 1 && t7_value !== (t7_value = /*item*/ ctx[1].status_text + "")) set_data(t7, t7_value);

			if (dirty & /*data*/ 1) {
				set_style(div4, "--statusColor", /*item*/ ctx[1].status_color);
			}

			if (dirty & /*data*/ 1) {
				set_style(div4, "--statusColor02", `${/*item*/ ctx[1].status_color}33`);
			}

			if (dirty & /*data*/ 1) {
				set_style(div4, "--statusColor06", `${/*item*/ ctx[1].status_color}99`);
			}
		},
		d(detaching) {
			if (detaching) detach(div7);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			if (if_block2) if_block2.d();
		}
	};
}

function components_vehicle_index_svelte_create_fragment(ctx) {
	let div3;
	let div0;
	let t1;
	let div2;
	let div1;
	let show_if;

	function select_block_type(ctx, dirty) {
		if (dirty & /*data*/ 1) show_if = null;
		if (show_if == null) show_if = !!(0,lodash.isEmpty)(/*data*/ ctx[0].vehicles);
		if (show_if) return components_vehicle_index_svelte_create_if_block;
		return vehicle_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block = current_block_type(ctx);

	return {
		c() {
			div3 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "АВТОМОБИЛИ";
			t1 = space();
			div2 = internal_element("div");
			div1 = internal_element("div");
			if_block.c();
			attr(div0, "class", "documents-vehicle__title svelte-1ulgaxl");
			attr(div1, "class", "documents-vehicle__list svelte-1ulgaxl");
			toggle_class(div1, "documents-vehicle__list--empty", (0,lodash.isEmpty)(/*data*/ ctx[0].vehicles));
			attr(div2, "class", "documents-vehicle__main-info svelte-1ulgaxl");
			attr(div3, "class", "documents-vehicle svelte-1ulgaxl");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div0);
			append(div3, t1);
			append(div3, div2);
			append(div2, div1);
			if_block.m(div1, null);
		},
		p(ctx, [dirty]) {
			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div1, null);
				}
			}

			if (dirty & /*isEmpty, data*/ 1) {
				toggle_class(div1, "documents-vehicle__list--empty", (0,lodash.isEmpty)(/*data*/ ctx[0].vehicles));
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div3);
			if_block.d();
		}
	};
}

function components_vehicle_index_svelte_instance($$self, $$props, $$invalidate) {
	let { data = [] } = $$props;

	$$self.$$set = $$props => {
		if ('data' in $$props) $$invalidate(0, data = $$props.data);
	};

	return [data];
}

class index_svelte_Vehicle extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, components_vehicle_index_svelte_instance, components_vehicle_index_svelte_create_fragment, safe_not_equal, { data: 0 }, components_vehicle_index_svelte_add_css);
	}
}

/* harmony default export */ const components_vehicle_index_svelte = (index_svelte_Vehicle);
;// CONCATENATED MODULE: ./src/views/documents/img/icons/vip.svg
const vip_namespaceObject = __webpack_require__.p + "assets/77f643ac1a5102508af8.svg";
;// CONCATENATED MODULE: ./src/views/documents/img/icons/premium-vip.svg
const premium_vip_namespaceObject = __webpack_require__.p + "assets/9eda8875f3d7914b5101.svg";
;// CONCATENATED MODULE: ./src/views/documents/img/icons/vip-crown.svg
const vip_crown_namespaceObject = __webpack_require__.p + "assets/5b989acd1d0c1b1d10a9.svg";
;// CONCATENATED MODULE: ./src/views/documents/img/icons/diamond.svg
const img_icons_diamond_namespaceObject = __webpack_require__.p + "assets/a495271f27525a0fdeb0.svg";
;// CONCATENATED MODULE: ./src/views/documents/components/vip/constants.js
function vip_constants_typeof(o) { "@babel/helpers - typeof"; return vip_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, vip_constants_typeof(o); }
function vip_constants_defineProperty(e, r, t) { return (r = vip_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function vip_constants_toPropertyKey(t) { var i = vip_constants_toPrimitive(t, "string"); return "symbol" == vip_constants_typeof(i) ? i : i + ""; }
function vip_constants_toPrimitive(t, r) { if ("object" != vip_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != vip_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }




var constants_Types = {
  Add: 'add',
  Premium: 'premium',
  Titan: 'titan',
  Diamond: 'diamond'
};
var MAP_TYPE_TO_INFO = vip_constants_defineProperty(vip_constants_defineProperty(vip_constants_defineProperty(vip_constants_defineProperty({}, constants_Types.Add, {
  name: 'ADD VIP',
  icon: vip_namespaceObject
}), constants_Types.Premium, {
  name: 'Premium VIP',
  icon: premium_vip_namespaceObject
}), constants_Types.Titan, {
  name: 'Titan VIP',
  icon: vip_crown_namespaceObject
}), constants_Types.Diamond, {
  name: 'Diamond VIP',
  icon: img_icons_diamond_namespaceObject
});
;// CONCATENATED MODULE: ./src/views/documents/components/vip/index.svelte
/* src\views\documents\components\vip\index.svelte generated by Svelte v3.49.0 */







function vip_index_svelte_add_css(target) {
	append_styles(target, "svelte-ppah77", "@keyframes svelte-ppah77-blinking{50%{opacity:0}}@keyframes svelte-ppah77-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-ppah77-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-ppah77-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-ppah77-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-ppah77-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-ppah77-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-ppah77-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-ppah77-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-ppah77-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-ppah77-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-ppah77-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-ppah77-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-ppah77-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-ppah77-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.documents-vip.svelte-ppah77.svelte-ppah77{position:relative;flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;border-radius:calc(0.0104166667 * 100vw + 0px);padding:calc(0.0130208333 * 100vw + 0px);padding-top:calc(0.0104166667 * 100vw + 0px);gap:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip.svelte-ppah77.svelte-ppah77{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vip.svelte-ppah77.svelte-ppah77{padding:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip.svelte-ppah77.svelte-ppah77{padding:calc(0.0130208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip.svelte-ppah77.svelte-ppah77{padding:calc(0.0100260417 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip.svelte-ppah77.svelte-ppah77{padding:calc(0.0143229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip.svelte-ppah77.svelte-ppah77{padding:calc(0.0091145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip.svelte-ppah77.svelte-ppah77{padding:calc(0.01171875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip.svelte-ppah77.svelte-ppah77{padding:calc(0.0143229167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vip.svelte-ppah77.svelte-ppah77{padding-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip.svelte-ppah77.svelte-ppah77{padding-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip.svelte-ppah77.svelte-ppah77{padding-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip.svelte-ppah77.svelte-ppah77{padding-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip.svelte-ppah77.svelte-ppah77{padding-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip.svelte-ppah77.svelte-ppah77{padding-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip.svelte-ppah77.svelte-ppah77{padding-top:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vip.svelte-ppah77.svelte-ppah77{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip.svelte-ppah77.svelte-ppah77{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip.svelte-ppah77.svelte-ppah77{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip.svelte-ppah77.svelte-ppah77{gap:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip.svelte-ppah77.svelte-ppah77{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip.svelte-ppah77.svelte-ppah77{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip.svelte-ppah77.svelte-ppah77{gap:calc(0.0114583333 * 100vw + 0px)}}.documents-vip__title.svelte-ppah77.svelte-ppah77{width:100%;font-family:\"GothamPro\";color:#FFFFFF;display:flex;align-items:center;justify-content:center;font-weight:700;text-transform:uppercase;font-size:calc(0.025 * 100vw + 0px);line-height:calc(0.0223958333 * 100vw + 0px);gap:calc(0.0145833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__title.svelte-ppah77.svelte-ppah77{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__title.svelte-ppah77.svelte-ppah77{font-size:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__title.svelte-ppah77.svelte-ppah77{font-size:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__title.svelte-ppah77.svelte-ppah77{font-size:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__title.svelte-ppah77.svelte-ppah77{font-size:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__title.svelte-ppah77.svelte-ppah77{font-size:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__title.svelte-ppah77.svelte-ppah77{font-size:calc(0.0275 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__title.svelte-ppah77.svelte-ppah77{line-height:calc(0.0223958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__title.svelte-ppah77.svelte-ppah77{line-height:calc(0.0223958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__title.svelte-ppah77.svelte-ppah77{line-height:calc(0.0172447917 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__title.svelte-ppah77.svelte-ppah77{line-height:calc(0.0246354167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__title.svelte-ppah77.svelte-ppah77{line-height:calc(0.0156770833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__title.svelte-ppah77.svelte-ppah77{line-height:calc(0.02015625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__title.svelte-ppah77.svelte-ppah77{line-height:calc(0.0246354167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__title.svelte-ppah77.svelte-ppah77{gap:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__title.svelte-ppah77.svelte-ppah77{gap:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__title.svelte-ppah77.svelte-ppah77{gap:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__title.svelte-ppah77.svelte-ppah77{gap:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__title.svelte-ppah77.svelte-ppah77{gap:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__title.svelte-ppah77.svelte-ppah77{gap:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__title.svelte-ppah77.svelte-ppah77{gap:calc(0.0160416667 * 100vw + 0px)}}.documents-vip__absent.svelte-ppah77.svelte-ppah77{font-family:\"GothamPro\";color:rgba(255, 255, 255, 0.45);font-size:calc(0.0145833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__absent.svelte-ppah77.svelte-ppah77{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__absent.svelte-ppah77.svelte-ppah77{font-size:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__absent.svelte-ppah77.svelte-ppah77{font-size:calc(0.0112291667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__absent.svelte-ppah77.svelte-ppah77{font-size:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__absent.svelte-ppah77.svelte-ppah77{font-size:calc(0.0102083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__absent.svelte-ppah77.svelte-ppah77{font-size:calc(0.013125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__absent.svelte-ppah77.svelte-ppah77{font-size:calc(0.0160416667 * 100vw + 0px)}}.documents-vip__status-wrapper.svelte-ppah77.svelte-ppah77{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:rgba(255, 255, 255, 0.1);height:calc(0.0588541667 * 100vw + 0px);width:calc(0.4447916667 * 100vw + 0px);border-radius:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__status-wrapper.svelte-ppah77.svelte-ppah77{height:calc(0.0588541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__status-wrapper.svelte-ppah77.svelte-ppah77{height:calc(0.0588541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__status-wrapper.svelte-ppah77.svelte-ppah77{height:calc(0.0453177083 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__status-wrapper.svelte-ppah77.svelte-ppah77{height:calc(0.0647395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__status-wrapper.svelte-ppah77.svelte-ppah77{height:calc(0.0411979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__status-wrapper.svelte-ppah77.svelte-ppah77{height:calc(0.05296875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__status-wrapper.svelte-ppah77.svelte-ppah77{height:calc(0.0647395833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__status-wrapper.svelte-ppah77.svelte-ppah77{width:calc(0.4447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__status-wrapper.svelte-ppah77.svelte-ppah77{width:calc(0.4447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__status-wrapper.svelte-ppah77.svelte-ppah77{width:calc(0.3424895833 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__status-wrapper.svelte-ppah77.svelte-ppah77{width:calc(0.4892708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__status-wrapper.svelte-ppah77.svelte-ppah77{width:calc(0.3113541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__status-wrapper.svelte-ppah77.svelte-ppah77{width:calc(0.4003125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__status-wrapper.svelte-ppah77.svelte-ppah77{width:calc(0.4892708333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__status-wrapper.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__status-wrapper.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__status-wrapper.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__status-wrapper.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__status-wrapper.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__status-wrapper.svelte-ppah77.svelte-ppah77{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__status-wrapper.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0045833333 * 100vw + 0px)}}.documents-vip__status.svelte-ppah77.svelte-ppah77{display:flex;align-items:center}.documents-vip__status-caption.svelte-ppah77.svelte-ppah77{font-family:\"GothamPro\";color:#FFFFFF;text-transform:uppercase;font-size:calc(0.0072916667 * 100vw + 0px);margin-bottom:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__status-caption.svelte-ppah77.svelte-ppah77{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__status-caption.svelte-ppah77.svelte-ppah77{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__status-caption.svelte-ppah77.svelte-ppah77{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__status-caption.svelte-ppah77.svelte-ppah77{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__status-caption.svelte-ppah77.svelte-ppah77{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__status-caption.svelte-ppah77.svelte-ppah77{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__status-caption.svelte-ppah77.svelte-ppah77{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__status-caption.svelte-ppah77.svelte-ppah77{margin-bottom:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__status-caption.svelte-ppah77.svelte-ppah77{margin-bottom:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__status-caption.svelte-ppah77.svelte-ppah77{margin-bottom:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__status-caption.svelte-ppah77.svelte-ppah77{margin-bottom:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__status-caption.svelte-ppah77.svelte-ppah77{margin-bottom:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__status-caption.svelte-ppah77.svelte-ppah77{margin-bottom:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__status-caption.svelte-ppah77.svelte-ppah77{margin-bottom:calc(0.0045833333 * 100vw + 0px)}}.documents-vip__status-icon.svelte-ppah77.svelte-ppah77{height:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__status-icon.svelte-ppah77.svelte-ppah77{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__status-icon.svelte-ppah77.svelte-ppah77{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__status-icon.svelte-ppah77.svelte-ppah77{height:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__status-icon.svelte-ppah77.svelte-ppah77{height:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__status-icon.svelte-ppah77.svelte-ppah77{height:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__status-icon.svelte-ppah77.svelte-ppah77{height:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__status-icon.svelte-ppah77.svelte-ppah77{height:calc(0.0275 * 100vw + 0px)}}.documents-vip__status-info.svelte-ppah77.svelte-ppah77{display:flex;flex-direction:column;margin-left:calc(0.0104166667 * 100vw + 0px);margin-right:calc(0.01875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__status-info.svelte-ppah77.svelte-ppah77{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__status-info.svelte-ppah77.svelte-ppah77{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__status-info.svelte-ppah77.svelte-ppah77{margin-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__status-info.svelte-ppah77.svelte-ppah77{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__status-info.svelte-ppah77.svelte-ppah77{margin-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__status-info.svelte-ppah77.svelte-ppah77{margin-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__status-info.svelte-ppah77.svelte-ppah77{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__status-info.svelte-ppah77.svelte-ppah77{margin-right:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__status-info.svelte-ppah77.svelte-ppah77{margin-right:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__status-info.svelte-ppah77.svelte-ppah77{margin-right:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__status-info.svelte-ppah77.svelte-ppah77{margin-right:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__status-info.svelte-ppah77.svelte-ppah77{margin-right:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__status-info.svelte-ppah77.svelte-ppah77{margin-right:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__status-info.svelte-ppah77.svelte-ppah77{margin-right:calc(0.020625 * 100vw + 0px)}}.documents-vip__status-name.svelte-ppah77.svelte-ppah77{font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__status-name.svelte-ppah77.svelte-ppah77{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__status-name.svelte-ppah77.svelte-ppah77{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__status-name.svelte-ppah77.svelte-ppah77{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__status-name.svelte-ppah77.svelte-ppah77{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__status-name.svelte-ppah77.svelte-ppah77{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__status-name.svelte-ppah77.svelte-ppah77{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__status-name.svelte-ppah77.svelte-ppah77{font-size:calc(0.01375 * 100vw + 0px)}}.documents-vip__status-time.svelte-ppah77.svelte-ppah77{font-family:\"GothamPro\";color:rgba(255, 255, 255, 0.45);font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__status-time.svelte-ppah77.svelte-ppah77{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__status-time.svelte-ppah77.svelte-ppah77{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__status-time.svelte-ppah77.svelte-ppah77{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__status-time.svelte-ppah77.svelte-ppah77{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__status-time.svelte-ppah77.svelte-ppah77{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__status-time.svelte-ppah77.svelte-ppah77{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__status-time.svelte-ppah77.svelte-ppah77{font-size:calc(0.0091666667 * 100vw + 0px)}}.documents-vip__add-vip.svelte-ppah77.svelte-ppah77{height:100%;border-style:solid;border-color:#FFC300;background-color:rgba(255, 195, 0, 0.1);display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;transition:0.14s ease-out;transition-property:background-color, transform;border-width:calc(0.0010416667 * 100vw + 0px);border-radius:calc(0.00625 * 100vw + 0px);width:calc(0.0546875 * 100vw + 0px);height:calc(0.0328125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__add-vip.svelte-ppah77.svelte-ppah77{border-width:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__add-vip.svelte-ppah77.svelte-ppah77{border-width:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__add-vip.svelte-ppah77.svelte-ppah77{border-width:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__add-vip.svelte-ppah77.svelte-ppah77{border-width:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__add-vip.svelte-ppah77.svelte-ppah77{border-width:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__add-vip.svelte-ppah77.svelte-ppah77{border-width:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__add-vip.svelte-ppah77.svelte-ppah77{border-width:calc(0.0011458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__add-vip.svelte-ppah77.svelte-ppah77{border-radius:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__add-vip.svelte-ppah77.svelte-ppah77{border-radius:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__add-vip.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__add-vip.svelte-ppah77.svelte-ppah77{border-radius:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__add-vip.svelte-ppah77.svelte-ppah77{border-radius:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__add-vip.svelte-ppah77.svelte-ppah77{border-radius:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__add-vip.svelte-ppah77.svelte-ppah77{border-radius:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__add-vip.svelte-ppah77.svelte-ppah77{width:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__add-vip.svelte-ppah77.svelte-ppah77{width:calc(0.0546875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__add-vip.svelte-ppah77.svelte-ppah77{width:calc(0.042109375 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__add-vip.svelte-ppah77.svelte-ppah77{width:calc(0.06015625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__add-vip.svelte-ppah77.svelte-ppah77{width:calc(0.03828125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__add-vip.svelte-ppah77.svelte-ppah77{width:calc(0.04921875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__add-vip.svelte-ppah77.svelte-ppah77{width:calc(0.06015625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__add-vip.svelte-ppah77.svelte-ppah77{height:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__add-vip.svelte-ppah77.svelte-ppah77{height:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__add-vip.svelte-ppah77.svelte-ppah77{height:calc(0.025265625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__add-vip.svelte-ppah77.svelte-ppah77{height:calc(0.03609375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__add-vip.svelte-ppah77.svelte-ppah77{height:calc(0.02296875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__add-vip.svelte-ppah77.svelte-ppah77{height:calc(0.02953125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__add-vip.svelte-ppah77.svelte-ppah77{height:calc(0.03609375 * 100vw + 0px)}}.documents-vip__add-vip-title.svelte-ppah77.svelte-ppah77{font-family:\"GothamPro\";text-transform:uppercase;color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__add-vip-title.svelte-ppah77.svelte-ppah77{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__add-vip-title.svelte-ppah77.svelte-ppah77{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__add-vip-title.svelte-ppah77.svelte-ppah77{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__add-vip-title.svelte-ppah77.svelte-ppah77{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__add-vip-title.svelte-ppah77.svelte-ppah77{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__add-vip-title.svelte-ppah77.svelte-ppah77{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__add-vip-title.svelte-ppah77.svelte-ppah77{font-size:calc(0.0114583333 * 100vw + 0px)}}.documents-vip__add-vip-days.svelte-ppah77.svelte-ppah77{font-family:\"GothamPro\";color:rgba(255, 255, 255, 0.45);font-size:calc(0.0067708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__add-vip-days.svelte-ppah77.svelte-ppah77{font-size:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__add-vip-days.svelte-ppah77.svelte-ppah77{font-size:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__add-vip-days.svelte-ppah77.svelte-ppah77{font-size:calc(0.0052135417 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__add-vip-days.svelte-ppah77.svelte-ppah77{font-size:calc(0.0074479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__add-vip-days.svelte-ppah77.svelte-ppah77{font-size:calc(0.0047395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__add-vip-days.svelte-ppah77.svelte-ppah77{font-size:calc(0.00609375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__add-vip-days.svelte-ppah77.svelte-ppah77{font-size:calc(0.0074479167 * 100vw + 0px)}}.documents-vip__labels.svelte-ppah77.svelte-ppah77{display:grid;grid-template-columns:45% 44%;width:calc(0.4447916667 * 100vw + 0px);gap:calc(0.0375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__labels.svelte-ppah77.svelte-ppah77{width:calc(0.4447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__labels.svelte-ppah77.svelte-ppah77{width:calc(0.4447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__labels.svelte-ppah77.svelte-ppah77{width:calc(0.3424895833 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__labels.svelte-ppah77.svelte-ppah77{width:calc(0.4892708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__labels.svelte-ppah77.svelte-ppah77{width:calc(0.3113541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__labels.svelte-ppah77.svelte-ppah77{width:calc(0.4003125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__labels.svelte-ppah77.svelte-ppah77{width:calc(0.4892708333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__labels.svelte-ppah77.svelte-ppah77{gap:calc(0.0375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__labels.svelte-ppah77.svelte-ppah77{gap:calc(0.0375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__labels.svelte-ppah77.svelte-ppah77{gap:calc(0.028875 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__labels.svelte-ppah77.svelte-ppah77{gap:calc(0.04125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__labels.svelte-ppah77.svelte-ppah77{gap:calc(0.02625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__labels.svelte-ppah77.svelte-ppah77{gap:calc(0.03375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__labels.svelte-ppah77.svelte-ppah77{gap:calc(0.04125 * 100vw + 0px)}}.documents-vip__label.svelte-ppah77.svelte-ppah77{width:calc(0.1333333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__label.svelte-ppah77.svelte-ppah77{width:calc(0.1333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__label.svelte-ppah77.svelte-ppah77{width:calc(0.1333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__label.svelte-ppah77.svelte-ppah77{width:calc(0.1026666667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__label.svelte-ppah77.svelte-ppah77{width:calc(0.1466666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__label.svelte-ppah77.svelte-ppah77{width:calc(0.0933333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__label.svelte-ppah77.svelte-ppah77{width:calc(0.12 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__label.svelte-ppah77.svelte-ppah77{width:calc(0.1466666667 * 100vw + 0px)}}.documents-vip__label-text.svelte-ppah77.svelte-ppah77{font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.0083333333 * 100vw + 0px);margin-bottom:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__label-text.svelte-ppah77.svelte-ppah77{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__label-text.svelte-ppah77.svelte-ppah77{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__label-text.svelte-ppah77.svelte-ppah77{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__label-text.svelte-ppah77.svelte-ppah77{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__label-text.svelte-ppah77.svelte-ppah77{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__label-text.svelte-ppah77.svelte-ppah77{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__label-text.svelte-ppah77.svelte-ppah77{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__label-text.svelte-ppah77.svelte-ppah77{margin-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__label-text.svelte-ppah77.svelte-ppah77{margin-bottom:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__label-text.svelte-ppah77.svelte-ppah77{margin-bottom:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__label-text.svelte-ppah77.svelte-ppah77{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__label-text.svelte-ppah77.svelte-ppah77{margin-bottom:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__label-text.svelte-ppah77.svelte-ppah77{margin-bottom:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__label-text.svelte-ppah77.svelte-ppah77{margin-bottom:calc(0.0057291667 * 100vw + 0px)}}.documents-vip__label-separator.svelte-ppah77.svelte-ppah77{width:100%;background:linear-gradient(270deg, transparent 0%, #FFFFFF 99.61%);height:calc(0.0010416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__label-separator.svelte-ppah77.svelte-ppah77{height:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__label-separator.svelte-ppah77.svelte-ppah77{height:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__label-separator.svelte-ppah77.svelte-ppah77{height:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__label-separator.svelte-ppah77.svelte-ppah77{height:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__label-separator.svelte-ppah77.svelte-ppah77{height:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__label-separator.svelte-ppah77.svelte-ppah77{height:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__label-separator.svelte-ppah77.svelte-ppah77{height:calc(0.0011458333 * 100vw + 0px)}}.documents-vip__main-info.svelte-ppah77.svelte-ppah77{flex:1 1 auto;display:grid;grid-template-columns:50% 44%;width:calc(0.4447916667 * 100vw + 0px);gap:calc(0.0166666667 * 100vw + 0px);max-height:calc(0.1572916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__main-info.svelte-ppah77.svelte-ppah77{width:calc(0.4447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__main-info.svelte-ppah77.svelte-ppah77{width:calc(0.4447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__main-info.svelte-ppah77.svelte-ppah77{width:calc(0.3424895833 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__main-info.svelte-ppah77.svelte-ppah77{width:calc(0.4892708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__main-info.svelte-ppah77.svelte-ppah77{width:calc(0.3113541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__main-info.svelte-ppah77.svelte-ppah77{width:calc(0.4003125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__main-info.svelte-ppah77.svelte-ppah77{width:calc(0.4892708333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__main-info.svelte-ppah77.svelte-ppah77{gap:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__main-info.svelte-ppah77.svelte-ppah77{gap:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__main-info.svelte-ppah77.svelte-ppah77{gap:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__main-info.svelte-ppah77.svelte-ppah77{gap:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__main-info.svelte-ppah77.svelte-ppah77{gap:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__main-info.svelte-ppah77.svelte-ppah77{gap:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__main-info.svelte-ppah77.svelte-ppah77{gap:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__main-info.svelte-ppah77.svelte-ppah77{max-height:calc(0.1572916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__main-info.svelte-ppah77.svelte-ppah77{max-height:calc(0.1572916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__main-info.svelte-ppah77.svelte-ppah77{max-height:calc(0.1211145833 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__main-info.svelte-ppah77.svelte-ppah77{max-height:calc(0.1730208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__main-info.svelte-ppah77.svelte-ppah77{max-height:calc(0.1101041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__main-info.svelte-ppah77.svelte-ppah77{max-height:calc(0.1415625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__main-info.svelte-ppah77.svelte-ppah77{max-height:calc(0.1730208333 * 100vw + 0px)}}.documents-vip__list.svelte-ppah77.svelte-ppah77{overflow:auto}.documents-vip__list.svelte-ppah77.svelte-ppah77::-webkit-scrollbar{height:0;width:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__list.svelte-ppah77.svelte-ppah77::-webkit-scrollbar{width:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__list.svelte-ppah77.svelte-ppah77::-webkit-scrollbar{width:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__list.svelte-ppah77.svelte-ppah77::-webkit-scrollbar{width:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__list.svelte-ppah77.svelte-ppah77::-webkit-scrollbar{width:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__list.svelte-ppah77.svelte-ppah77::-webkit-scrollbar{width:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__list.svelte-ppah77.svelte-ppah77::-webkit-scrollbar{width:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__list.svelte-ppah77.svelte-ppah77::-webkit-scrollbar{width:calc(0.0045833333 * 100vw + 0px)}}.documents-vip__list.svelte-ppah77.svelte-ppah77::-webkit-scrollbar-button{display:none}.documents-vip__list.svelte-ppah77.svelte-ppah77::-webkit-scrollbar-track{background-color:rgba(0, 0, 0, 0.1)}.documents-vip__list.svelte-ppah77.svelte-ppah77::-webkit-scrollbar-track-piece{background:rgba(0, 0, 0, 0.1);border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__list.svelte-ppah77.svelte-ppah77::-webkit-scrollbar-track-piece{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__list.svelte-ppah77.svelte-ppah77::-webkit-scrollbar-track-piece{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__list.svelte-ppah77.svelte-ppah77::-webkit-scrollbar-track-piece{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__list.svelte-ppah77.svelte-ppah77::-webkit-scrollbar-track-piece{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__list.svelte-ppah77.svelte-ppah77::-webkit-scrollbar-track-piece{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__list.svelte-ppah77.svelte-ppah77::-webkit-scrollbar-track-piece{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__list.svelte-ppah77.svelte-ppah77::-webkit-scrollbar-track-piece{border-radius:calc(0.0028645833 * 100vw + 0px)}}.documents-vip__list.svelte-ppah77.svelte-ppah77::-webkit-scrollbar-thumb{background:#FFFFFF;border-radius:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__list.svelte-ppah77.svelte-ppah77::-webkit-scrollbar-thumb{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__list.svelte-ppah77.svelte-ppah77::-webkit-scrollbar-thumb{border-radius:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__list.svelte-ppah77.svelte-ppah77::-webkit-scrollbar-thumb{border-radius:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__list.svelte-ppah77.svelte-ppah77::-webkit-scrollbar-thumb{border-radius:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__list.svelte-ppah77.svelte-ppah77::-webkit-scrollbar-thumb{border-radius:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__list.svelte-ppah77.svelte-ppah77::-webkit-scrollbar-thumb{border-radius:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__list.svelte-ppah77.svelte-ppah77::-webkit-scrollbar-thumb{border-radius:calc(0.0028645833 * 100vw + 0px)}}.documents-vip__list.svelte-ppah77.svelte-ppah77::-webkit-scrollbar-corner{background-color:rgba(0, 0, 0, 0.1)}.documents-vip__list.svelte-ppah77.svelte-ppah77::-webkit-resizer{background-color:rgba(0, 0, 0, 0.1)}.documents-vip__list--types.svelte-ppah77.svelte-ppah77{display:flex;flex-direction:column;gap:calc(0.0182291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__list--types.svelte-ppah77.svelte-ppah77{gap:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__list--types.svelte-ppah77.svelte-ppah77{gap:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__list--types.svelte-ppah77.svelte-ppah77{gap:calc(0.0140364583 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__list--types.svelte-ppah77.svelte-ppah77{gap:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__list--types.svelte-ppah77.svelte-ppah77{gap:calc(0.0127604167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__list--types.svelte-ppah77.svelte-ppah77{gap:calc(0.01640625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__list--types.svelte-ppah77.svelte-ppah77{gap:calc(0.0200520833 * 100vw + 0px)}}.documents-vip__level.svelte-ppah77.svelte-ppah77{display:flex;align-items:center;height:calc(0.0416666667 * 100vw + 0px);gap:calc(0.0177083333 * 100vw + 0px);padding-right:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__level.svelte-ppah77.svelte-ppah77{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__level.svelte-ppah77.svelte-ppah77{height:calc(0.0416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__level.svelte-ppah77.svelte-ppah77{height:calc(0.0320833333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__level.svelte-ppah77.svelte-ppah77{height:calc(0.0458333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__level.svelte-ppah77.svelte-ppah77{height:calc(0.0291666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__level.svelte-ppah77.svelte-ppah77{height:calc(0.0375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__level.svelte-ppah77.svelte-ppah77{height:calc(0.0458333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__level.svelte-ppah77.svelte-ppah77{gap:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__level.svelte-ppah77.svelte-ppah77{gap:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__level.svelte-ppah77.svelte-ppah77{gap:calc(0.0136354167 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__level.svelte-ppah77.svelte-ppah77{gap:calc(0.0194791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__level.svelte-ppah77.svelte-ppah77{gap:calc(0.0123958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__level.svelte-ppah77.svelte-ppah77{gap:calc(0.0159375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__level.svelte-ppah77.svelte-ppah77{gap:calc(0.0194791667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__level.svelte-ppah77.svelte-ppah77{padding-right:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__level.svelte-ppah77.svelte-ppah77{padding-right:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__level.svelte-ppah77.svelte-ppah77{padding-right:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__level.svelte-ppah77.svelte-ppah77{padding-right:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__level.svelte-ppah77.svelte-ppah77{padding-right:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__level.svelte-ppah77.svelte-ppah77{padding-right:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__level.svelte-ppah77.svelte-ppah77{padding-right:calc(0.0183333333 * 100vw + 0px)}}.documents-vip__level.svelte-ppah77:last-child .documents-vip__level-tip.svelte-ppah77{top:unset;bottom:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__level.svelte-ppah77:last-child .documents-vip__level-tip.svelte-ppah77{bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__level.svelte-ppah77:last-child .documents-vip__level-tip.svelte-ppah77{bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__level.svelte-ppah77:last-child .documents-vip__level-tip.svelte-ppah77{bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__level.svelte-ppah77:last-child .documents-vip__level-tip.svelte-ppah77{bottom:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__level.svelte-ppah77:last-child .documents-vip__level-tip.svelte-ppah77{bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__level.svelte-ppah77:last-child .documents-vip__level-tip.svelte-ppah77{bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__level.svelte-ppah77:last-child .documents-vip__level-tip.svelte-ppah77{bottom:calc(0.0114583333 * 100vw + 0px)}}.documents-vip__level-icon.svelte-ppah77.svelte-ppah77{display:flex;align-items:center;color:#FFFFFF;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__level-icon.svelte-ppah77.svelte-ppah77{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__level-icon.svelte-ppah77.svelte-ppah77{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__level-icon.svelte-ppah77.svelte-ppah77{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__level-icon.svelte-ppah77.svelte-ppah77{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__level-icon.svelte-ppah77.svelte-ppah77{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__level-icon.svelte-ppah77.svelte-ppah77{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__level-icon.svelte-ppah77.svelte-ppah77{font-size:calc(0.01375 * 100vw + 0px)}}.documents-vip__level-info-icon.svelte-ppah77.svelte-ppah77{position:relative;color:rgba(255, 255, 255, 0.45);transition:0.14s ease-out;transition-property:color;font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__level-info-icon.svelte-ppah77.svelte-ppah77{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__level-info-icon.svelte-ppah77.svelte-ppah77{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__level-info-icon.svelte-ppah77.svelte-ppah77{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__level-info-icon.svelte-ppah77.svelte-ppah77{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__level-info-icon.svelte-ppah77.svelte-ppah77{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__level-info-icon.svelte-ppah77.svelte-ppah77{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__level-info-icon.svelte-ppah77.svelte-ppah77{font-size:calc(0.0080208333 * 100vw + 0px)}}.documents-vip__level-info-icon.svelte-ppah77.svelte-ppah77:hover{color:#FFFFFF}.documents-vip__level-info-icon.svelte-ppah77:hover .documents-vip__level-tip.svelte-ppah77{display:block}.documents-vip__level-check-blank.svelte-ppah77.svelte-ppah77{background-color:rgba(255, 255, 255, 0.45);border-radius:calc(0.0020833333 * 100vw + 0px);min-width:calc(0.0125 * 100vw + 0px);height:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__level-check-blank.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__level-check-blank.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__level-check-blank.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__level-check-blank.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__level-check-blank.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__level-check-blank.svelte-ppah77.svelte-ppah77{border-radius:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__level-check-blank.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__level-check-blank.svelte-ppah77.svelte-ppah77{min-width:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__level-check-blank.svelte-ppah77.svelte-ppah77{min-width:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__level-check-blank.svelte-ppah77.svelte-ppah77{min-width:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__level-check-blank.svelte-ppah77.svelte-ppah77{min-width:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__level-check-blank.svelte-ppah77.svelte-ppah77{min-width:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__level-check-blank.svelte-ppah77.svelte-ppah77{min-width:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__level-check-blank.svelte-ppah77.svelte-ppah77{min-width:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__level-check-blank.svelte-ppah77.svelte-ppah77{height:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__level-check-blank.svelte-ppah77.svelte-ppah77{height:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__level-check-blank.svelte-ppah77.svelte-ppah77{height:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__level-check-blank.svelte-ppah77.svelte-ppah77{height:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__level-check-blank.svelte-ppah77.svelte-ppah77{height:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__level-check-blank.svelte-ppah77.svelte-ppah77{height:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__level-check-blank.svelte-ppah77.svelte-ppah77{height:calc(0.01375 * 100vw + 0px)}}.documents-vip__level-title.svelte-ppah77.svelte-ppah77{display:flex;align-items:center;font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.0083333333 * 100vw + 0px);gap:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__level-title.svelte-ppah77.svelte-ppah77{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__level-title.svelte-ppah77.svelte-ppah77{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__level-title.svelte-ppah77.svelte-ppah77{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__level-title.svelte-ppah77.svelte-ppah77{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__level-title.svelte-ppah77.svelte-ppah77{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__level-title.svelte-ppah77.svelte-ppah77{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__level-title.svelte-ppah77.svelte-ppah77{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__level-title.svelte-ppah77.svelte-ppah77{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__level-title.svelte-ppah77.svelte-ppah77{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__level-title.svelte-ppah77.svelte-ppah77{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__level-title.svelte-ppah77.svelte-ppah77{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__level-title.svelte-ppah77.svelte-ppah77{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__level-title.svelte-ppah77.svelte-ppah77{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__level-title.svelte-ppah77.svelte-ppah77{gap:calc(0.0057291667 * 100vw + 0px)}}.documents-vip__level-description.svelte-ppah77.svelte-ppah77{font-family:\"GothamPro\";color:rgba(255, 255, 255, 0.45);font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__level-description.svelte-ppah77.svelte-ppah77{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__level-description.svelte-ppah77.svelte-ppah77{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__level-description.svelte-ppah77.svelte-ppah77{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__level-description.svelte-ppah77.svelte-ppah77{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__level-description.svelte-ppah77.svelte-ppah77{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__level-description.svelte-ppah77.svelte-ppah77{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__level-description.svelte-ppah77.svelte-ppah77{font-size:calc(0.0080208333 * 100vw + 0px)}}.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{position:absolute;left:0;display:none;color:#111111;background-color:#FFFFFF;font-family:\"GothamPro\";width:calc(0.140625 * 100vw + 0px);padding:calc(0.0052083333 * 100vw + 0px);border-radius:calc(0.0041666667 * 100vw + 0px);font-size:calc(0.0072916667 * 100vw + 0px);top:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{width:calc(0.140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{width:calc(0.140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{width:calc(0.10828125 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{width:calc(0.1546875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{width:calc(0.0984375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{width:calc(0.1265625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{width:calc(0.1546875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{padding:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{padding:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{padding:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{padding:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{padding:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{padding:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{padding:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__level-tip.svelte-ppah77.svelte-ppah77{top:calc(0.0114583333 * 100vw + 0px)}}.documents-vip__type.svelte-ppah77.svelte-ppah77{display:flex;align-items:center;justify-content:space-between;height:calc(0.025 * 100vw + 0px);padding-right:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__type.svelte-ppah77.svelte-ppah77{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__type.svelte-ppah77.svelte-ppah77{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__type.svelte-ppah77.svelte-ppah77{height:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__type.svelte-ppah77.svelte-ppah77{height:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__type.svelte-ppah77.svelte-ppah77{height:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__type.svelte-ppah77.svelte-ppah77{height:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__type.svelte-ppah77.svelte-ppah77{height:calc(0.0275 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__type.svelte-ppah77.svelte-ppah77{padding-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__type.svelte-ppah77.svelte-ppah77{padding-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__type.svelte-ppah77.svelte-ppah77{padding-right:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__type.svelte-ppah77.svelte-ppah77{padding-right:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__type.svelte-ppah77.svelte-ppah77{padding-right:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__type.svelte-ppah77.svelte-ppah77{padding-right:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__type.svelte-ppah77.svelte-ppah77{padding-right:calc(0.0114583333 * 100vw + 0px)}}.documents-vip__type-icon.svelte-ppah77.svelte-ppah77{width:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__type-icon.svelte-ppah77.svelte-ppah77{width:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__type-icon.svelte-ppah77.svelte-ppah77{width:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__type-icon.svelte-ppah77.svelte-ppah77{width:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__type-icon.svelte-ppah77.svelte-ppah77{width:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__type-icon.svelte-ppah77.svelte-ppah77{width:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__type-icon.svelte-ppah77.svelte-ppah77{width:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__type-icon.svelte-ppah77.svelte-ppah77{width:calc(0.0275 * 100vw + 0px)}}.documents-vip__type-name.svelte-ppah77.svelte-ppah77{font-family:\"GothamPro\";color:#FFFFFF;font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__type-name.svelte-ppah77.svelte-ppah77{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__type-name.svelte-ppah77.svelte-ppah77{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__type-name.svelte-ppah77.svelte-ppah77{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__type-name.svelte-ppah77.svelte-ppah77{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__type-name.svelte-ppah77.svelte-ppah77{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__type-name.svelte-ppah77.svelte-ppah77{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__type-name.svelte-ppah77.svelte-ppah77{font-size:calc(0.01375 * 100vw + 0px)}}.documents-vip__type-time.svelte-ppah77.svelte-ppah77{font-family:\"GothamPro\";color:rgba(255, 255, 255, 0.45);font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__type-time.svelte-ppah77.svelte-ppah77{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__type-time.svelte-ppah77.svelte-ppah77{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__type-time.svelte-ppah77.svelte-ppah77{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__type-time.svelte-ppah77.svelte-ppah77{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__type-time.svelte-ppah77.svelte-ppah77{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__type-time.svelte-ppah77.svelte-ppah77{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__type-time.svelte-ppah77.svelte-ppah77{font-size:calc(0.0091666667 * 100vw + 0px)}}.documents-vip__type-wrapper.svelte-ppah77.svelte-ppah77{display:flex;align-items:center;gap:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__type-wrapper.svelte-ppah77.svelte-ppah77{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__type-wrapper.svelte-ppah77.svelte-ppah77{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__type-wrapper.svelte-ppah77.svelte-ppah77{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__type-wrapper.svelte-ppah77.svelte-ppah77{gap:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__type-wrapper.svelte-ppah77.svelte-ppah77{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__type-wrapper.svelte-ppah77.svelte-ppah77{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__type-wrapper.svelte-ppah77.svelte-ppah77{gap:calc(0.0114583333 * 100vw + 0px)}}.documents-vip__type-wrapper--disabled.svelte-ppah77.svelte-ppah77{opacity:0.3}.documents-vip__type-button.svelte-ppah77.svelte-ppah77{display:flex;align-items:center;justify-content:center;font-family:\"GothamPro\";color:#FFFFFF;background-color:rgba(255, 255, 255, 0.3);transition:0.14s ease-out;transition-property:background-color, color;width:calc(0.0552083333 * 100vw + 0px);height:calc(0.0177083333 * 100vw + 0px);border-radius:calc(0.0041666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__type-button.svelte-ppah77.svelte-ppah77{width:calc(0.0552083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__type-button.svelte-ppah77.svelte-ppah77{width:calc(0.0552083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__type-button.svelte-ppah77.svelte-ppah77{width:calc(0.0425104167 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__type-button.svelte-ppah77.svelte-ppah77{width:calc(0.0607291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__type-button.svelte-ppah77.svelte-ppah77{width:calc(0.0386458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__type-button.svelte-ppah77.svelte-ppah77{width:calc(0.0496875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__type-button.svelte-ppah77.svelte-ppah77{width:calc(0.0607291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__type-button.svelte-ppah77.svelte-ppah77{height:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__type-button.svelte-ppah77.svelte-ppah77{height:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__type-button.svelte-ppah77.svelte-ppah77{height:calc(0.0136354167 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__type-button.svelte-ppah77.svelte-ppah77{height:calc(0.0194791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__type-button.svelte-ppah77.svelte-ppah77{height:calc(0.0123958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__type-button.svelte-ppah77.svelte-ppah77{height:calc(0.0159375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__type-button.svelte-ppah77.svelte-ppah77{height:calc(0.0194791667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__type-button.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__type-button.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__type-button.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__type-button.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__type-button.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__type-button.svelte-ppah77.svelte-ppah77{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__type-button.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0045833333 * 100vw + 0px)}}.documents-vip__type-button.svelte-ppah77.svelte-ppah77:hover{background-color:rgba(255, 255, 255, 0.6)}.documents-vip__type-button.svelte-ppah77.svelte-ppah77:active{color:#111111;background-color:#FFFFFF}.documents-vip__buttons.svelte-ppah77.svelte-ppah77{display:grid;grid-template-columns:45% 44%;width:calc(0.4447916667 * 100vw + 0px);gap:calc(0.0375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__buttons.svelte-ppah77.svelte-ppah77{width:calc(0.4447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__buttons.svelte-ppah77.svelte-ppah77{width:calc(0.4447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__buttons.svelte-ppah77.svelte-ppah77{width:calc(0.3424895833 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__buttons.svelte-ppah77.svelte-ppah77{width:calc(0.4892708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__buttons.svelte-ppah77.svelte-ppah77{width:calc(0.3113541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__buttons.svelte-ppah77.svelte-ppah77{width:calc(0.4003125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__buttons.svelte-ppah77.svelte-ppah77{width:calc(0.4892708333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__buttons.svelte-ppah77.svelte-ppah77{gap:calc(0.0375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__buttons.svelte-ppah77.svelte-ppah77{gap:calc(0.0375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__buttons.svelte-ppah77.svelte-ppah77{gap:calc(0.028875 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__buttons.svelte-ppah77.svelte-ppah77{gap:calc(0.04125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__buttons.svelte-ppah77.svelte-ppah77{gap:calc(0.02625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__buttons.svelte-ppah77.svelte-ppah77{gap:calc(0.03375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__buttons.svelte-ppah77.svelte-ppah77{gap:calc(0.04125 * 100vw + 0px)}}.documents-vip__button.svelte-ppah77.svelte-ppah77{width:100%;display:flex;align-items:center;justify-content:center;background-color:#FFFFFF;color:#012C68;transition:0.14s ease-out;transition-property:box-shadow, background-color;border-radius:calc(0.0041666667 * 100vw + 0px);height:calc(0.0296875 * 100vw + 0px);gap:calc(0.0083333333 * 100vw + 0px);padding-right:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__button.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__button.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__button.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__button.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__button.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__button.svelte-ppah77.svelte-ppah77{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__button.svelte-ppah77.svelte-ppah77{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__button.svelte-ppah77.svelte-ppah77{height:calc(0.0296875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__button.svelte-ppah77.svelte-ppah77{height:calc(0.0296875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__button.svelte-ppah77.svelte-ppah77{height:calc(0.022859375 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__button.svelte-ppah77.svelte-ppah77{height:calc(0.03265625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__button.svelte-ppah77.svelte-ppah77{height:calc(0.02078125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__button.svelte-ppah77.svelte-ppah77{height:calc(0.02671875 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__button.svelte-ppah77.svelte-ppah77{height:calc(0.03265625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__button.svelte-ppah77.svelte-ppah77{gap:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__button.svelte-ppah77.svelte-ppah77{gap:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__button.svelte-ppah77.svelte-ppah77{gap:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__button.svelte-ppah77.svelte-ppah77{gap:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__button.svelte-ppah77.svelte-ppah77{gap:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__button.svelte-ppah77.svelte-ppah77{gap:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__button.svelte-ppah77.svelte-ppah77{gap:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__button.svelte-ppah77.svelte-ppah77{padding-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__button.svelte-ppah77.svelte-ppah77{padding-right:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__button.svelte-ppah77.svelte-ppah77{padding-right:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__button.svelte-ppah77.svelte-ppah77{padding-right:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__button.svelte-ppah77.svelte-ppah77{padding-right:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__button.svelte-ppah77.svelte-ppah77{padding-right:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__button.svelte-ppah77.svelte-ppah77{padding-right:calc(0.0114583333 * 100vw + 0px)}}.documents-vip__button.svelte-ppah77.svelte-ppah77:hover{box-shadow:0px 0px 16px 0px rgba(255, 255, 255, 0.8)}.documents-vip__button.svelte-ppah77.svelte-ppah77:active{box-shadow:unset;background-color:rgba(255, 255, 255, 0.45)}.documents-vip__button--disabled.svelte-ppah77.svelte-ppah77{opacity:0.5}.documents-vip__button--disabled.svelte-ppah77.svelte-ppah77:hover{box-shadow:unset}.documents-vip__button--disabled.svelte-ppah77.svelte-ppah77:active{box-shadow:unset;background-color:#FFFFFF}.documents-vip__button-icon.svelte-ppah77.svelte-ppah77{font-size:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__button-icon.svelte-ppah77.svelte-ppah77{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__button-icon.svelte-ppah77.svelte-ppah77{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__button-icon.svelte-ppah77.svelte-ppah77{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__button-icon.svelte-ppah77.svelte-ppah77{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__button-icon.svelte-ppah77.svelte-ppah77{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__button-icon.svelte-ppah77.svelte-ppah77{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__button-icon.svelte-ppah77.svelte-ppah77{font-size:calc(0.01375 * 100vw + 0px)}}.documents-vip__button-name.svelte-ppah77.svelte-ppah77{font-family:\"GothamPro\";font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__button-name.svelte-ppah77.svelte-ppah77{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__button-name.svelte-ppah77.svelte-ppah77{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__button-name.svelte-ppah77.svelte-ppah77{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__button-name.svelte-ppah77.svelte-ppah77{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__button-name.svelte-ppah77.svelte-ppah77{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__button-name.svelte-ppah77.svelte-ppah77{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__button-name.svelte-ppah77.svelte-ppah77{font-size:calc(0.0091666667 * 100vw + 0px)}}.documents-vip__button-time.svelte-ppah77.svelte-ppah77{font-family:\"GothamPro\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.documents-vip__button-time.svelte-ppah77.svelte-ppah77{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.documents-vip__button-time.svelte-ppah77.svelte-ppah77{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.documents-vip__button-time.svelte-ppah77.svelte-ppah77{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.documents-vip__button-time.svelte-ppah77.svelte-ppah77{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.documents-vip__button-time.svelte-ppah77.svelte-ppah77{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.documents-vip__button-time.svelte-ppah77.svelte-ppah77{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.documents-vip__button-time.svelte-ppah77.svelte-ppah77{font-size:calc(0.006875 * 100vw + 0px)}}");
}

function vip_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[6] = list[i];
	child_ctx[8] = i;
	return child_ctx;
}

function vip_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[9] = list[i];
	child_ctx[8] = i;
	return child_ctx;
}

// (3030:1) {#if !isEmpty(data) && !data.not}
function vip_index_svelte_create_if_block(ctx) {
	let div0;
	let t1;
	let div2;
	let div1;
	let t3;
	let show_if_2;
	let t4;
	let div9;
	let t10;
	let div12;
	let div10;
	let show_if_1 = !(0,lodash.isNil)(/*data*/ ctx[0].premium_levels);
	let t11;
	let div11;
	let show_if = !(0,lodash.isNil)(/*data*/ ctx[0].vip_statuses);
	let t12;
	let div20;
	let div16;
	let t17;
	let div19;
	let mounted;
	let dispose;

	function select_block_type(ctx, dirty) {
		if (dirty & /*data*/ 1) show_if_2 = null;
		if (show_if_2 == null) show_if_2 = !!((0,lodash.isNil)(/*data*/ ctx[0].header_block) || (0,lodash.isEmpty)(/*data*/ ctx[0].header_block));
		if (show_if_2) return vip_index_svelte_create_if_block_4;
		return vip_index_svelte_create_else_block_1;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block0 = current_block_type(ctx);
	let if_block1 = show_if_1 && vip_index_svelte_create_if_block_2(ctx);
	let if_block2 = show_if && vip_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			div0 = internal_element("div");
			div0.textContent = "VIP Статусы";
			t1 = space();
			div2 = internal_element("div");
			div1 = internal_element("div");
			div1.textContent = "Ваш текущий статус:";
			t3 = space();
			if_block0.c();
			t4 = space();
			div9 = internal_element("div");

			div9.innerHTML = `<div class="documents-vip__label svelte-ppah77"><div class="documents-vip__label-text svelte-ppah77">Улучшения PREMIUM VIP</div> 
				<div class="documents-vip__label-separator svelte-ppah77"></div></div> 
			<div class="documents-vip__label svelte-ppah77"><div class="documents-vip__label-text svelte-ppah77">VIP</div> 
				<div class="documents-vip__label-separator svelte-ppah77"></div></div>`;

			t10 = space();
			div12 = internal_element("div");
			div10 = internal_element("div");
			if (if_block1) if_block1.c();
			t11 = space();
			div11 = internal_element("div");
			if (if_block2) if_block2.c();
			t12 = space();
			div20 = internal_element("div");
			div16 = internal_element("div");

			div16.innerHTML = `<i class="documents-vip__button-icon icon-geo-pick svelte-ppah77"></i> 
				<div class="documents-vip__button-info"><div class="documents-vip__button-name svelte-ppah77">Улучшить Premium VIP</div> 
					<div class="documents-vip__button-time svelte-ppah77">Доступно в мастерской одежды</div></div>`;

			t17 = space();
			div19 = internal_element("div");

			div19.innerHTML = `<i class="documents-vip__button-icon icon-prize svelte-ppah77"></i> 
				<div class="documents-vip__button-info"><div class="documents-vip__button-name svelte-ppah77">Мои бонусы VIP</div></div>`;

			attr(div0, "class", "documents-vip__title svelte-ppah77");
			attr(div1, "class", "documents-vip__status-caption svelte-ppah77");
			attr(div2, "class", "documents-vip__status-wrapper svelte-ppah77");
			attr(div9, "class", "documents-vip__labels svelte-ppah77");
			attr(div10, "class", "documents-vip__list svelte-ppah77");
			attr(div11, "class", "documents-vip__list documents-vip__list--types svelte-ppah77");
			attr(div12, "class", "documents-vip__main-info svelte-ppah77");
			attr(div16, "class", "documents-vip__button svelte-ppah77");
			toggle_class(div16, "documents-vip__button--disabled", !/*data*/ ctx[0].button_upgrade_premium);
			attr(div19, "class", "documents-vip__button svelte-ppah77");
			toggle_class(div19, "documents-vip__button--disabled", !/*data*/ ctx[0].button_my_bonuses);
			attr(div20, "class", "documents-vip__buttons svelte-ppah77");
		},
		m(target, anchor) {
			insert(target, div0, anchor);
			insert(target, t1, anchor);
			insert(target, div2, anchor);
			append(div2, div1);
			append(div2, t3);
			if_block0.m(div2, null);
			insert(target, t4, anchor);
			insert(target, div9, anchor);
			insert(target, t10, anchor);
			insert(target, div12, anchor);
			append(div12, div10);
			if (if_block1) if_block1.m(div10, null);
			append(div12, t11);
			append(div12, div11);
			if (if_block2) if_block2.m(div11, null);
			insert(target, t12, anchor);
			insert(target, div20, anchor);
			append(div20, div16);
			append(div20, t17);
			append(div20, div19);

			if (!mounted) {
				dispose = [
					listen(div16, "click", /*upgradeLevel*/ ctx[2]),
					listen(div19, "click", /*myBonuses*/ ctx[3])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block0) {
				if_block0.p(ctx, dirty);
			} else {
				if_block0.d(1);
				if_block0 = current_block_type(ctx);

				if (if_block0) {
					if_block0.c();
					if_block0.m(div2, null);
				}
			}

			if (dirty & /*data*/ 1) show_if_1 = !(0,lodash.isNil)(/*data*/ ctx[0].premium_levels);

			if (show_if_1) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = vip_index_svelte_create_if_block_2(ctx);
					if_block1.c();
					if_block1.m(div10, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty & /*data*/ 1) show_if = !(0,lodash.isNil)(/*data*/ ctx[0].vip_statuses);

			if (show_if) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = vip_index_svelte_create_if_block_1(ctx);
					if_block2.c();
					if_block2.m(div11, null);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			if (dirty & /*data*/ 1) {
				toggle_class(div16, "documents-vip__button--disabled", !/*data*/ ctx[0].button_upgrade_premium);
			}

			if (dirty & /*data*/ 1) {
				toggle_class(div19, "documents-vip__button--disabled", !/*data*/ ctx[0].button_my_bonuses);
			}
		},
		d(detaching) {
			if (detaching) detach(div0);
			if (detaching) detach(t1);
			if (detaching) detach(div2);
			if_block0.d();
			if (detaching) detach(t4);
			if (detaching) detach(div9);
			if (detaching) detach(t10);
			if (detaching) detach(div12);
			if (if_block1) if_block1.d();
			if (if_block2) if_block2.d();
			if (detaching) detach(t12);
			if (detaching) detach(div20);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (3036:4) {:else}
function vip_index_svelte_create_else_block_1(ctx) {
	let div1;
	let div0;
	let show_if_1 = !(0,lodash.isNil)(/*data*/ ctx[0].header_block.type_vip) || !(0,lodash.isEmpty)(/*data*/ ctx[0].header_block.type_vip);
	let t;
	let show_if = !(0,lodash.isEmpty)(/*data*/ ctx[0].header_block.add_vip_date);
	let if_block0 = show_if_1 && vip_index_svelte_create_if_block_6(ctx);
	let if_block1 = show_if && vip_index_svelte_create_if_block_5(ctx);

	return {
		c() {
			div1 = internal_element("div");
			div0 = internal_element("div");
			if (if_block0) if_block0.c();
			t = space();
			if (if_block1) if_block1.c();
			attr(div0, "class", "documents-vip__status svelte-ppah77");
			attr(div1, "class", "documents-vip__status svelte-ppah77");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, div0);
			if (if_block0) if_block0.m(div0, null);
			append(div0, t);
			if (if_block1) if_block1.m(div0, null);
		},
		p(ctx, dirty) {
			if (dirty & /*data*/ 1) show_if_1 = !(0,lodash.isNil)(/*data*/ ctx[0].header_block.type_vip) || !(0,lodash.isEmpty)(/*data*/ ctx[0].header_block.type_vip);

			if (show_if_1) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = vip_index_svelte_create_if_block_6(ctx);
					if_block0.c();
					if_block0.m(div0, t);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty & /*data*/ 1) show_if = !(0,lodash.isEmpty)(/*data*/ ctx[0].header_block.add_vip_date);

			if (show_if) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = vip_index_svelte_create_if_block_5(ctx);
					if_block1.c();
					if_block1.m(div0, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
		}
	};
}

// (3034:4) {#if isNil(data.header_block) || isEmpty(data.header_block)}
function vip_index_svelte_create_if_block_4(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "Отсутствует";
			attr(div, "class", "documents-vip__absent svelte-ppah77");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (3039:6) {#if !isNil(data.header_block.type_vip) || !isEmpty(data.header_block.type_vip)}
function vip_index_svelte_create_if_block_6(ctx) {
	let img;
	let img_src_value;
	let t0;
	let div2;
	let div0;
	let t1_value = MAP_TYPE_TO_INFO[/*data*/ ctx[0].header_block.type_vip].name + "";
	let t1;
	let t2;
	let div1;
	let t3_value = /*data*/ ctx[0].header_block.vip_date + "";
	let t3;

	return {
		c() {
			img = internal_element("img");
			t0 = space();
			div2 = internal_element("div");
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			div1 = internal_element("div");
			t3 = internal_text(t3_value);
			attr(img, "class", "documents-vip__status-icon svelte-ppah77");
			if (!src_url_equal(img.src, img_src_value = MAP_TYPE_TO_INFO[/*data*/ ctx[0].header_block.type_vip].icon)) attr(img, "src", img_src_value);
			attr(img, "alt", "vip-icon");
			attr(div0, "class", "documents-vip__status-name svelte-ppah77");
			attr(div1, "class", "documents-vip__status-time svelte-ppah77");
			attr(div2, "class", "documents-vip__status-info svelte-ppah77");
		},
		m(target, anchor) {
			insert(target, img, anchor);
			insert(target, t0, anchor);
			insert(target, div2, anchor);
			append(div2, div0);
			append(div0, t1);
			append(div2, t2);
			append(div2, div1);
			append(div1, t3);
		},
		p(ctx, dirty) {
			if (dirty & /*data*/ 1 && !src_url_equal(img.src, img_src_value = MAP_TYPE_TO_INFO[/*data*/ ctx[0].header_block.type_vip].icon)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*data*/ 1 && t1_value !== (t1_value = MAP_TYPE_TO_INFO[/*data*/ ctx[0].header_block.type_vip].name + "")) set_data(t1, t1_value);
			if (dirty & /*data*/ 1 && t3_value !== (t3_value = /*data*/ ctx[0].header_block.vip_date + "")) set_data(t3, t3_value);
		},
		d(detaching) {
			if (detaching) detach(img);
			if (detaching) detach(t0);
			if (detaching) detach(div2);
		}
	};
}

// (3050:6) {#if !isEmpty(data.header_block.add_vip_date)}
function vip_index_svelte_create_if_block_5(ctx) {
	let div2;
	let div0;
	let t1;
	let div1;
	let t2_value = /*data*/ ctx[0].header_block.add_vip_date + "";
	let t2;

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "ADD VIP";
			t1 = space();
			div1 = internal_element("div");
			t2 = internal_text(t2_value);
			attr(div0, "class", "documents-vip__add-vip-title svelte-ppah77");
			attr(div1, "class", "documents-vip__add-vip-days svelte-ppah77");
			attr(div2, "class", "documents-vip__add-vip svelte-ppah77");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div2, t1);
			append(div2, div1);
			append(div1, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*data*/ 1 && t2_value !== (t2_value = /*data*/ ctx[0].header_block.add_vip_date + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

// (3076:4) {#if !isNil(data.premium_levels)}
function vip_index_svelte_create_if_block_2(ctx) {
	let each_1_anchor;
	let each_value_1 = /*data*/ ctx[0].premium_levels;
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = vip_index_svelte_create_each_block_1(vip_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*data*/ 1) {
				each_value_1 = /*data*/ ctx[0].premium_levels;
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = vip_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = vip_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_1.length;
			}
		},
		d(detaching) {
			destroy_each(each_blocks, detaching);
			if (detaching) detach(each_1_anchor);
		}
	};
}

// (3081:7) {:else}
function vip_index_svelte_create_else_block(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			attr(div, "class", "documents-vip__level-check-blank svelte-ppah77");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (3079:7) {#if level.mark}
function vip_index_svelte_create_if_block_3(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "documents-vip__level-icon icon-check-quad svelte-ppah77");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (3077:5) {#each data.premium_levels as level, index}
function vip_index_svelte_create_each_block_1(ctx) {
	let div4;
	let t0;
	let div3;
	let div1;
	let t1_value = `Уровень ${/*index*/ ctx[8] + 1}` + "";
	let t1;
	let t2;
	let i;
	let div0;
	let t3_value = /*level*/ ctx[9].text + "";
	let t3;
	let t4;
	let div2;
	let t5_value = /*level*/ ctx[9].desc + "";
	let t5;
	let t6;

	function select_block_type_1(ctx, dirty) {
		if (/*level*/ ctx[9].mark) return vip_index_svelte_create_if_block_3;
		return vip_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type_1(ctx, -1);
	let if_block = current_block_type(ctx);

	return {
		c() {
			div4 = internal_element("div");
			if_block.c();
			t0 = space();
			div3 = internal_element("div");
			div1 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			i = internal_element("i");
			div0 = internal_element("div");
			t3 = internal_text(t3_value);
			t4 = space();
			div2 = internal_element("div");
			t5 = internal_text(t5_value);
			t6 = space();
			attr(div0, "class", "documents-vip__level-tip svelte-ppah77");
			attr(i, "class", "documents-vip__level-info-icon icon-info-square svelte-ppah77");
			attr(div1, "class", "documents-vip__level-title svelte-ppah77");
			attr(div2, "class", "documents-vip__level-description svelte-ppah77");
			attr(div3, "class", "documents-vip__level-info");
			attr(div4, "class", "documents-vip__level svelte-ppah77");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			if_block.m(div4, null);
			append(div4, t0);
			append(div4, div3);
			append(div3, div1);
			append(div1, t1);
			append(div1, t2);
			append(div1, i);
			append(i, div0);
			append(div0, t3);
			append(div3, t4);
			append(div3, div2);
			append(div2, t5);
			append(div4, t6);
		},
		p(ctx, dirty) {
			if (current_block_type !== (current_block_type = select_block_type_1(ctx, dirty))) {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div4, t0);
				}
			}

			if (dirty & /*data*/ 1 && t3_value !== (t3_value = /*level*/ ctx[9].text + "")) set_data(t3, t3_value);
			if (dirty & /*data*/ 1 && t5_value !== (t5_value = /*level*/ ctx[9].desc + "")) set_data(t5, t5_value);
		},
		d(detaching) {
			if (detaching) detach(div4);
			if_block.d();
		}
	};
}

// (3098:4) {#if !isNil(data.vip_statuses)}
function vip_index_svelte_create_if_block_1(ctx) {
	let each_1_anchor;
	let each_value = /*data*/ ctx[0].vip_statuses;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = vip_index_svelte_create_each_block(vip_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*more, data, MAP_TYPE_TO_INFO*/ 3) {
				each_value = /*data*/ ctx[0].vip_statuses;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = vip_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = vip_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		d(detaching) {
			destroy_each(each_blocks, detaching);
			if (detaching) detach(each_1_anchor);
		}
	};
}

// (3099:5) {#each data.vip_statuses as vip, index}
function vip_index_svelte_create_each_block(ctx) {
	let div5;
	let div3;
	let img;
	let img_src_value;
	let t0;
	let div2;
	let div0;
	let t1_value = MAP_TYPE_TO_INFO[/*vip*/ ctx[6].type_vip].name + "";
	let t1;
	let t2;
	let div1;
	let t3_value = /*vip*/ ctx[6].date_vip + "";
	let t3;
	let t4;
	let div4;
	let t6;
	let mounted;
	let dispose;

	function click_handler() {
		return /*click_handler*/ ctx[4](/*index*/ ctx[8]);
	}

	return {
		c() {
			div5 = internal_element("div");
			div3 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div2 = internal_element("div");
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			div1 = internal_element("div");
			t3 = internal_text(t3_value);
			t4 = space();
			div4 = internal_element("div");
			div4.textContent = "Подробнее";
			t6 = space();
			if (!src_url_equal(img.src, img_src_value = MAP_TYPE_TO_INFO[/*vip*/ ctx[6].type_vip].icon)) attr(img, "src", img_src_value);
			attr(img, "alt", "icon");
			attr(img, "class", "documents-vip__type-icon svelte-ppah77");
			attr(div0, "class", "documents-vip__type-name svelte-ppah77");
			attr(div1, "class", "documents-vip__type-time svelte-ppah77");
			attr(div2, "class", "documents-vip__type-info");
			attr(div3, "class", "documents-vip__type-wrapper svelte-ppah77");
			toggle_class(div3, "documents-vip__type-wrapper--disabled", !/*vip*/ ctx[6].available);
			attr(div4, "class", "documents-vip__type-button svelte-ppah77");
			attr(div5, "class", "documents-vip__type svelte-ppah77");
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			append(div5, div3);
			append(div3, img);
			append(div3, t0);
			append(div3, div2);
			append(div2, div0);
			append(div0, t1);
			append(div2, t2);
			append(div2, div1);
			append(div1, t3);
			append(div5, t4);
			append(div5, div4);
			append(div5, t6);

			if (!mounted) {
				dispose = listen(div4, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty & /*data*/ 1 && !src_url_equal(img.src, img_src_value = MAP_TYPE_TO_INFO[/*vip*/ ctx[6].type_vip].icon)) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*data*/ 1 && t1_value !== (t1_value = MAP_TYPE_TO_INFO[/*vip*/ ctx[6].type_vip].name + "")) set_data(t1, t1_value);
			if (dirty & /*data*/ 1 && t3_value !== (t3_value = /*vip*/ ctx[6].date_vip + "")) set_data(t3, t3_value);

			if (dirty & /*data*/ 1) {
				toggle_class(div3, "documents-vip__type-wrapper--disabled", !/*vip*/ ctx[6].available);
			}
		},
		d(detaching) {
			if (detaching) detach(div5);
			mounted = false;
			dispose();
		}
	};
}

function vip_index_svelte_create_fragment(ctx) {
	let div;
	let show_if = !(0,lodash.isEmpty)(/*data*/ ctx[0]) && !/*data*/ ctx[0].not;
	let if_block = show_if && vip_index_svelte_create_if_block(ctx);

	return {
		c() {
			div = internal_element("div");
			if (if_block) if_block.c();
			attr(div, "class", "documents-vip svelte-ppah77");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block) if_block.m(div, null);
		},
		p(ctx, [dirty]) {
			if (dirty & /*data*/ 1) show_if = !(0,lodash.isEmpty)(/*data*/ ctx[0]) && !/*data*/ ctx[0].not;

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = vip_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			if (if_block) if_block.d();
		}
	};
}

function vip_index_svelte_instance($$self, $$props, $$invalidate) {
	let { data = {} } = $$props;
	const audio = new Audio(sound_click_namespaceObject);

	const more = index => {
		audio.play();
		sendClientMessage('documents.vip.more', index);
	};

	const upgradeLevel = () => {
		if (!data.button_upgrade_premium) {
			return;
		}

		audio.play();
		sendClientMessage('documents.vip.upgradeLevel');
	};

	const myBonuses = () => {
		if (!data.button_my_bonuses) {
			return;
		}

		audio.play();
		sendClientMessage('documents.vip.myBonuses');
	};

	const click_handler = index => more(index);

	$$self.$$set = $$props => {
		if ('data' in $$props) $$invalidate(0, data = $$props.data);
	};

	return [data, more, upgradeLevel, myBonuses, click_handler];
}

class Vip extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, vip_index_svelte_instance, vip_index_svelte_create_fragment, safe_not_equal, { data: 0 }, vip_index_svelte_add_css);
	}
}

/* harmony default export */ const vip_index_svelte = (Vip);
;// CONCATENATED MODULE: ./src/views/documents/img/icons/vip-crown-gold.svg
const vip_crown_gold_namespaceObject = __webpack_require__.p + "assets/02ad5f3799c3dd3d22c0.svg";
;// CONCATENATED MODULE: ./src/views/documents/constants.js
function documents_constants_typeof(o) { "@babel/helpers - typeof"; return documents_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, documents_constants_typeof(o); }
function documents_constants_defineProperty(e, r, t) { return (r = documents_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function documents_constants_toPropertyKey(t) { var i = documents_constants_toPrimitive(t, "string"); return "symbol" == documents_constants_typeof(i) ? i : i + ""; }
function documents_constants_toPrimitive(t, r) { if ("object" != documents_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != documents_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }








var PAGES_BITS = {
  Pasport: 1,
  License: 2,
  Medical: 4,
  Military: 8,
  Property: 16,
  Vehicle: 32,
  Vip: 64
};
var documents_constants_MENU_ITEMS = Object.values(PAGES_BITS);
var MAP_BITS_TO_CLASS = documents_constants_defineProperty(documents_constants_defineProperty(documents_constants_defineProperty(documents_constants_defineProperty(documents_constants_defineProperty(documents_constants_defineProperty(documents_constants_defineProperty({}, PAGES_BITS.Pasport, 'pasport'), PAGES_BITS.License, 'license'), PAGES_BITS.Medical, 'medical'), PAGES_BITS.Military, 'military'), PAGES_BITS.Property, 'property'), PAGES_BITS.Vehicle, 'vehicle'), PAGES_BITS.Vip, 'vip');
var MAP_BITS_TO_ICON = documents_constants_defineProperty(documents_constants_defineProperty(documents_constants_defineProperty(documents_constants_defineProperty(documents_constants_defineProperty(documents_constants_defineProperty(documents_constants_defineProperty({}, PAGES_BITS.Pasport, 'icon-pasport'), PAGES_BITS.License, 'icon-license'), PAGES_BITS.Medical, 'icon-medical'), PAGES_BITS.Military, 'icon-helmet'), PAGES_BITS.Property, 'icon-properties'), PAGES_BITS.Vehicle, 'icon-car'), PAGES_BITS.Vip, vip_crown_gold_namespaceObject);
var MAP_BITS_TO_COMPONENT = documents_constants_defineProperty(documents_constants_defineProperty(documents_constants_defineProperty(documents_constants_defineProperty(documents_constants_defineProperty(documents_constants_defineProperty(documents_constants_defineProperty({}, PAGES_BITS.Pasport, pasport_index_svelte), PAGES_BITS.License, license_index_svelte), PAGES_BITS.Medical, medical_index_svelte), PAGES_BITS.Military, military_index_svelte), PAGES_BITS.Property, property_index_svelte), PAGES_BITS.Vehicle, components_vehicle_index_svelte), PAGES_BITS.Vip, vip_index_svelte);
var DAY_SECONDS = 86400;
;// CONCATENATED MODULE: ./src/views/documents/index.svelte
/* src\views\documents\index.svelte generated by Svelte v3.49.0 */













// import {
//     PASPORT_MOCK,
//     LICENSE_MOCK,
//     MEDICAL_MOCK,
//     MILITARY_MOCK,
//     PROPERTY_MOCK,
//     VEHICLE_MOCK,
//     VIP_MOCK,
//     EMPTY_MOCK,
// } from './mock';


function documents_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[25] = list[i];
	child_ctx[27] = i;
	return child_ctx;
}

// (162:3) {#if itemBits && menuBits}
function documents_index_svelte_create_if_block(ctx) {
	let div2;
	let t0;
	let div0;
	let div0_class_value;
	let t1;
	let div1;
	let div2_class_value;
	let mounted;
	let dispose;
	let if_block0 = /*index*/ ctx[27] > 0 && documents_index_svelte_create_if_block_2(ctx);

	function select_block_type(ctx, dirty) {
		if (/*itemBits*/ ctx[25] === PAGES_BITS.Vip) return documents_index_svelte_create_if_block_1;
		return documents_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block1 = current_block_type(ctx);

	function click_handler() {
		return /*click_handler*/ ctx[9](/*index*/ ctx[27]);
	}

	return {
		c() {
			div2 = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			div0 = internal_element("div");
			if_block1.c();
			t1 = space();
			div1 = internal_element("div");
			attr(div0, "class", div0_class_value = "documents__navigation-tab documents__navigation-tab--" + MAP_BITS_TO_CLASS[/*itemBits*/ ctx[25]]);
			toggle_class(div0, "documents__navigation-tab--disabled", /*showMode*/ ctx[2] && /*selectedPageBits*/ ctx[0] !== /*itemBits*/ ctx[25] || !(/*itemBits*/ ctx[25] && /*menuAvailableBits*/ ctx[6]));
			attr(div1, "class", "documents__navigation-tab-corener-right");

			set_style(div1, "z-index", /*selectedIndex*/ ctx[1] > /*index*/ ctx[27]
			? /*index*/ ctx[27]
			: 0);

			attr(div2, "class", div2_class_value = "documents__navigation-tab-wrapper documents__navigation-tab-wrapper--" + MAP_BITS_TO_CLASS[/*itemBits*/ ctx[25]]);
			set_style(div2, "transform", "translateX(" + `-${10 * /*index*/ ctx[27]}%` + ")");

			set_style(div2, "z-index", /*index*/ ctx[27] >= /*selectedIndex*/ ctx[1]
			? documents_constants_MENU_ITEMS.length - /*index*/ ctx[27]
			: 0);

			toggle_class(div2, "documents__navigation-tab-wrapper--hidden", /*showMode*/ ctx[2] && /*itemBits*/ ctx[25] === PAGES_BITS.Vip);
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			if (if_block0) if_block0.m(div2, null);
			append(div2, t0);
			append(div2, div0);
			if_block1.m(div0, null);
			append(div2, t1);
			append(div2, div1);

			if (!mounted) {
				dispose = listen(div2, "click", click_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if (/*index*/ ctx[27] > 0) if_block0.p(ctx, dirty);
			if_block1.p(ctx, dirty);

			if (dirty & /*showMode, selectedPageBits, MENU_ITEMS, menuAvailableBits*/ 69) {
				toggle_class(div0, "documents__navigation-tab--disabled", /*showMode*/ ctx[2] && /*selectedPageBits*/ ctx[0] !== /*itemBits*/ ctx[25] || !(/*itemBits*/ ctx[25] && /*menuAvailableBits*/ ctx[6]));
			}

			if (dirty & /*selectedIndex*/ 2) {
				set_style(div1, "z-index", /*selectedIndex*/ ctx[1] > /*index*/ ctx[27]
				? /*index*/ ctx[27]
				: 0);
			}

			if (dirty & /*selectedIndex*/ 2) {
				set_style(div2, "z-index", /*index*/ ctx[27] >= /*selectedIndex*/ ctx[1]
				? documents_constants_MENU_ITEMS.length - /*index*/ ctx[27]
				: 0);
			}

			if (dirty & /*showMode, MENU_ITEMS, PAGES_BITS*/ 4) {
				toggle_class(div2, "documents__navigation-tab-wrapper--hidden", /*showMode*/ ctx[2] && /*itemBits*/ ctx[25] === PAGES_BITS.Vip);
			}
		},
		d(detaching) {
			if (detaching) detach(div2);
			if (if_block0) if_block0.d();
			if_block1.d();
			mounted = false;
			dispose();
		}
	};
}

// (172:5) {#if index > 0}
function documents_index_svelte_create_if_block_2(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			attr(div, "class", "documents__navigation-tab-corener-left");

			set_style(div, "z-index", /*selectedIndex*/ ctx[1] < /*index*/ ctx[27]
			? /*index*/ ctx[27]
			: 0);
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*selectedIndex*/ 2) {
				set_style(div, "z-index", /*selectedIndex*/ ctx[1] < /*index*/ ctx[27]
				? /*index*/ ctx[27]
				: 0);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (186:6) {:else}
function documents_index_svelte_create_else_block(ctx) {
	let i;
	let i_class_value;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", i_class_value = "documents__navigation-tab-icon " + MAP_BITS_TO_ICON[/*itemBits*/ ctx[25]]);
			toggle_class(i, "documents__navigation-tab-icon--active", /*selectedPageBits*/ ctx[0] === /*itemBits*/ ctx[25]);
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*selectedPageBits, MENU_ITEMS*/ 1) {
				toggle_class(i, "documents__navigation-tab-icon--active", /*selectedPageBits*/ ctx[0] === /*itemBits*/ ctx[25]);
			}
		},
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (179:6) {#if itemBits === PAGES_BITS.Vip}
function documents_index_svelte_create_if_block_1(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = MAP_BITS_TO_ICON[/*itemBits*/ ctx[25]])) attr(img, "src", img_src_value);
			attr(img, "alt", "icon");
			attr(img, "class", "documents__navigation-tab-icon");
			toggle_class(img, "documents__navigation-tab-icon--active", /*selectedPageBits*/ ctx[0] === /*itemBits*/ ctx[25]);
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*selectedPageBits, MENU_ITEMS*/ 1) {
				toggle_class(img, "documents__navigation-tab-icon--active", /*selectedPageBits*/ ctx[0] === /*itemBits*/ ctx[25]);
			}
		},
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (161:2) {#each MENU_ITEMS as itemBits, index}
function documents_index_svelte_create_each_block(ctx) {
	let if_block_anchor;
	let if_block = /*itemBits*/ ctx[25] && /*menuBits*/ ctx[5] && documents_index_svelte_create_if_block(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
		},
		p(ctx, dirty) {
			if (/*itemBits*/ ctx[25] && /*menuBits*/ ctx[5]) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = documents_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

function documents_index_svelte_create_fragment(ctx) {
	let div5;
	let div2;
	let t0;
	let div1;
	let t3;
	let div4;
	let div3;
	let switch_instance;
	let div3_class_value;
	let div4_class_value;
	let div5_intro;
	let current;
	let mounted;
	let dispose;
	let each_value = documents_constants_MENU_ITEMS;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = documents_index_svelte_create_each_block(documents_index_svelte_get_each_context(ctx, each_value, i));
	}

	var switch_value = MAP_BITS_TO_COMPONENT[/*selectedPageBits*/ ctx[0]];

	function switch_props(ctx) {
		return {
			props: {
				data: /*data*/ ctx[3][/*selectedPageBits*/ ctx[0]],
				name: /*data*/ ctx[3].name,
				photo: /*data*/ ctx[3].photo,
				showMode: /*showMode*/ ctx[2],
				diplomacyLicense: /*diplomacyLicense*/ ctx[4]
			}
		};
	}

	if (switch_value) {
		switch_instance = new switch_value(switch_props(ctx));
	}

	return {
		c() {
			div5 = internal_element("div");
			div2 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t0 = space();
			div1 = internal_element("div");

			div1.innerHTML = `<i class="documents__navigation-tab-icon--exit ui-close"></i> 
			<div class="documents__navigation-tab-text">ESC</div>`;

			t3 = space();
			div4 = internal_element("div");
			div3 = internal_element("div");
			if (switch_instance) create_component(switch_instance.$$.fragment);
			attr(div1, "class", "documents__navigation-tab documents__navigation-tab--exit");
			attr(div2, "class", "documents__navigation");
			attr(div3, "class", div3_class_value = "documents__content-bg documents__content-bg--" + MAP_BITS_TO_CLASS[/*selectedPageBits*/ ctx[0]]);
			toggle_class(div3, "documents__content-bg--empty", !(0,lodash.isNil)(/*data*/ ctx[3][/*selectedPageBits*/ ctx[0]]) && /*data*/ ctx[3][/*selectedPageBits*/ ctx[0]].not && /*selectedPageBits*/ ctx[0] !== PAGES_BITS.License);
			attr(div4, "class", div4_class_value = "documents__content documents__content--" + MAP_BITS_TO_CLASS[/*selectedPageBits*/ ctx[0]]);
			attr(div5, "class", "documents");
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			append(div5, div2);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div2, null);
			}

			append(div2, t0);
			append(div2, div1);
			append(div5, t3);
			append(div5, div4);
			append(div4, div3);

			if (switch_instance) {
				mount_component(switch_instance, div3, null);
			}

			current = true;

			if (!mounted) {
				dispose = listen(div1, "click", /*close*/ ctx[8]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*MAP_BITS_TO_CLASS, MENU_ITEMS, selectedIndex, showMode, PAGES_BITS, selectPage, selectedPageBits, menuAvailableBits, MAP_BITS_TO_ICON, menuBits*/ 231) {
				each_value = documents_constants_MENU_ITEMS;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = documents_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = documents_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div2, t0);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			const switch_instance_changes = {};
			if (dirty & /*data, selectedPageBits*/ 9) switch_instance_changes.data = /*data*/ ctx[3][/*selectedPageBits*/ ctx[0]];
			if (dirty & /*data*/ 8) switch_instance_changes.name = /*data*/ ctx[3].name;
			if (dirty & /*data*/ 8) switch_instance_changes.photo = /*data*/ ctx[3].photo;
			if (dirty & /*showMode*/ 4) switch_instance_changes.showMode = /*showMode*/ ctx[2];
			if (dirty & /*diplomacyLicense*/ 16) switch_instance_changes.diplomacyLicense = /*diplomacyLicense*/ ctx[4];

			if (switch_value !== (switch_value = MAP_BITS_TO_COMPONENT[/*selectedPageBits*/ ctx[0]])) {
				if (switch_instance) {
					group_outros();
					const old_component = switch_instance;

					transition_out(old_component.$$.fragment, 1, 0, () => {
						destroy_component(old_component, 1);
					});

					check_outros();
				}

				if (switch_value) {
					switch_instance = new switch_value(switch_props(ctx));
					create_component(switch_instance.$$.fragment);
					transition_in(switch_instance.$$.fragment, 1);
					mount_component(switch_instance, div3, null);
				} else {
					switch_instance = null;
				}
			} else if (switch_value) {
				switch_instance.$set(switch_instance_changes);
			}

			if (!current || dirty & /*selectedPageBits*/ 1 && div3_class_value !== (div3_class_value = "documents__content-bg documents__content-bg--" + MAP_BITS_TO_CLASS[/*selectedPageBits*/ ctx[0]])) {
				attr(div3, "class", div3_class_value);
			}

			if (dirty & /*selectedPageBits, isNil, data, selectedPageBits, PAGES_BITS*/ 9) {
				toggle_class(div3, "documents__content-bg--empty", !(0,lodash.isNil)(/*data*/ ctx[3][/*selectedPageBits*/ ctx[0]]) && /*data*/ ctx[3][/*selectedPageBits*/ ctx[0]].not && /*selectedPageBits*/ ctx[0] !== PAGES_BITS.License);
			}

			if (!current || dirty & /*selectedPageBits*/ 1 && div4_class_value !== (div4_class_value = "documents__content documents__content--" + MAP_BITS_TO_CLASS[/*selectedPageBits*/ ctx[0]])) {
				attr(div4, "class", div4_class_value);
			}
		},
		i(local) {
			if (current) return;
			if (switch_instance) transition_in(switch_instance.$$.fragment, local);

			if (!div5_intro) {
				add_render_callback(() => {
					div5_intro = create_in_transition(div5, fly, { y: 35, duration: 250 });
					div5_intro.start();
				});
			}

			current = true;
		},
		o(local) {
			if (switch_instance) transition_out(switch_instance.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div5);
			destroy_each(each_blocks, detaching);
			if (switch_instance) destroy_component(switch_instance);
			mounted = false;
			dispose();
		}
	};
}

function documents_index_svelte_instance($$self, $$props, $$invalidate) {
	let selectedPageBits = '';
	let selectedIndex = 0;
	let showMode = false;
	const data = {};
	let diplomacyLicense = false;
	let menuBits = 0;
	let menuAvailableBits = 0;
	const audio = new Audio(paper_click_namespaceObject);

	const selectPage = index => {
		if (index === selectedIndex) {
			return;
		}

		audio.play();
		sendClientMessage('documents.changePage', documents_constants_MENU_ITEMS[index]);
	};

	const updateShowMode = value => {
		$$invalidate(2, showMode = value);
	};

	const unregisterUpdateShowMode = registerEvent('event.documents.updateShowMode', updateShowMode);

	const updatePage = bits => {
		$$invalidate(1, selectedIndex = documents_constants_MENU_ITEMS.findIndex(item => item === bits));
		$$invalidate(0, selectedPageBits = bits);
	};

	const unregisterUpdatePage = registerEvent('event.documents.updatePage', updatePage);

	const inititalizeData = dto => {
		$$invalidate(
			3,
			data[dto.type] = (0,lodash.isNil)(data[dto.type])
			? { ...dto }
			: { ...data[dto.type], ...dto },
			data
		);

		if (dto.type === PAGES_BITS.Property) {
			$$invalidate(3, data[dto.type][Columns.Residental] = dto.properties.filter(item => item.column === Columns.Residental), data);
			$$invalidate(3, data[dto.type][Columns.Commercial] = dto.properties.filter(item => item.column === Columns.Commercial), data);
		}

		updatePage(dto.type);
	};

	const unregisterInitializeData = registerEvent('event.documents.inititalizeData', inititalizeData);

	const pushData = dto => {
		switch (dto.type) {
			case 2:
				$$invalidate(
					3,
					data[dto.type].info = (0,lodash.isNil)(data[dto.type].info)
					? dto.info
					: [...data[dto.type].info, ...dto.info],
					data
				);
				break;
			case 16:
				{
					const residental = dto.properties.filter(item => item.column === Columns.Residental);
					const commercial = dto.properties.filter(item => item.column === Columns.Commercial);

					$$invalidate(
						3,
						data[dto.type][Columns.Residental] = (0,lodash.isNil)(data[dto.type][Columns.Residental])
						? residental
						: [...data[dto.type][Columns.Residental], ...residental],
						data
					);

					$$invalidate(
						3,
						data[dto.type][Columns.Commercial] = (0,lodash.isNil)(data[dto.type][Columns.Commercial])
						? commercial
						: [...data[dto.type][Columns.Commercial], ...commercial],
						data
					);

					break;
				}
			case 32:
				$$invalidate(
					3,
					data[dto.type].vehicles = (0,lodash.isNil)(data[dto.type].vehicles)
					? dto.vehicles
					: [...data[dto.type].vehicles, ...dto.vehicles],
					data
				);
				break;
			case 64:
				if (!(0,lodash.isNil)(dto.vip_statuses)) {
					$$invalidate(
						3,
						data[dto.type].vip_statuses = (0,lodash.isNil)(data[dto.type].vip_statuses)
						? dto.vip_statuses
						: [...data[dto.type].vip_statuses, ...dto.vip_statuses],
						data
					);
				}
				if (!(0,lodash.isNil)(dto.premium_levels)) {
					$$invalidate(
						3,
						data[dto.type].premium_levels = (0,lodash.isNil)(data[dto.type].premium_levels)
						? dto.premium_levels
						: [...data[dto.type].premium_levels, ...dto.premium_levels],
						data
					);
				}
				break;
			default:
				$$invalidate(3, data[dto.type] = { ...data[dto.type], ...dto }, data);
				break;
		}
	};

	const unregisterPushData = registerEvent('event.documents.pushData', pushData);

	const inititalizeDiplomacyLicense = value => {
		$$invalidate(4, diplomacyLicense = value);
	};

	const unregisterInitializeDiplomacyData = registerEvent('event.documents.inititalizeDiplomacyLicense', inititalizeDiplomacyLicense);

	const inititalizeMenuBits = bits => {
		$$invalidate(5, menuBits = bits);
	};

	const unregisterInitializeMenuBits = registerEvent('event.documents.inititalizeMenuBits', inititalizeMenuBits);

	const inititalizeMenuAvailable = bits => {
		$$invalidate(6, menuAvailableBits = bits);
	};

	const unregisterInitializeMenuAvailable = registerEvent('event.documents.inititalizeMenuAvailable', inititalizeMenuAvailable);
	const close = () => sendClientMessage('documents.close');

	// updateShowMode(0);
	// selectPage(1);
	// inititalizeDiplomacyLicense(0);
	// inititalizeData(PASPORT_MOCK);
	// inititalizeData(PASPORT_MOCK_2);
	// inititalizeData(LICENSE_MOCK);
	// inititalizeData(LICENSE_MOCK_2);
	// inititalizeData(LICENSE_MOCK_3);
	// inititalizeData(MEDICAL_MOCK);
	// inititalizeData(MILITARY_MOCK);
	// inititalizeData(PROPERTY_MOCK);
	// inititalizeData(VEHICLE_MOCK);
	// inititalizeData(VIP_MOCK);
	// updatePage(PAGES_BITS.License);
	// inititalizeMenuBits(127);
	// inititalizeMenuAvailable(127);
	onDestroy(() => {
		unregisterInitializeData();
		unregisterUpdateShowMode();
		unregisterUpdatePage();
		unregisterInitializeDiplomacyData();
		unregisterInitializeMenuBits();
		unregisterInitializeMenuAvailable();
		unregisterPushData();
	});

	const click_handler = index => selectPage(index);

	return [
		selectedPageBits,
		selectedIndex,
		showMode,
		data,
		diplomacyLicense,
		menuBits,
		menuAvailableBits,
		selectPage,
		close,
		click_handler
	];
}

class Documents extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, documents_index_svelte_instance, documents_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const documents_index_svelte = (Documents);
;// CONCATENATED MODULE: ./src/views/transport-interaction/components/tooltip/index.svelte
/* src\views\transport-interaction\components\tooltip\index.svelte generated by Svelte v3.49.0 */


function components_tooltip_index_svelte_add_css(target) {
	append_styles(target, "svelte-1052z4r", "@charset \"UTF-8\";@keyframes svelte-1052z4r-blinking{50%{opacity:0}}@keyframes svelte-1052z4r-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-1052z4r-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-1052z4r-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-1052z4r-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-1052z4r-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1052z4r-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-1052z4r-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-1052z4r-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1052z4r-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-1052z4r-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1052z4r-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-1052z4r-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-1052z4r-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-1052z4r-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.tooltip.svelte-1052z4r{z-index:1000;position:absolute;display:flex;flex-direction:column;pointer-events:none;background:#F0F0F0;color:#223144;font-family:\"HeadingNowRegular\";font-size:calc(0.0072916667 * 100vw + 0px);gap:calc(0.0026041667 * 100vw + 0px);border-top-left-radius:calc(0.0020833333 * 100vw + 0px);border-top-right-radius:calc(0.0083333333 * 100vw + 0px);border-bottom-right-radius:calc(0.0083333333 * 100vw + 0px);border-bottom-left-radius:calc(0.0083333333 * 100vw + 0px);padding:calc(0.0083333333 * 100vw + 0px);width:calc(0.16875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.tooltip.svelte-1052z4r{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip.svelte-1052z4r{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip.svelte-1052z4r{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip.svelte-1052z4r{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip.svelte-1052z4r{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip.svelte-1052z4r{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip.svelte-1052z4r{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tooltip.svelte-1052z4r{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip.svelte-1052z4r{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip.svelte-1052z4r{gap:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip.svelte-1052z4r{gap:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip.svelte-1052z4r{gap:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip.svelte-1052z4r{gap:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip.svelte-1052z4r{gap:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tooltip.svelte-1052z4r{border-top-left-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip.svelte-1052z4r{border-top-left-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip.svelte-1052z4r{border-top-left-radius:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip.svelte-1052z4r{border-top-left-radius:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip.svelte-1052z4r{border-top-left-radius:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip.svelte-1052z4r{border-top-left-radius:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip.svelte-1052z4r{border-top-left-radius:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tooltip.svelte-1052z4r{border-top-right-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip.svelte-1052z4r{border-top-right-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip.svelte-1052z4r{border-top-right-radius:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip.svelte-1052z4r{border-top-right-radius:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip.svelte-1052z4r{border-top-right-radius:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip.svelte-1052z4r{border-top-right-radius:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip.svelte-1052z4r{border-top-right-radius:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tooltip.svelte-1052z4r{border-bottom-right-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip.svelte-1052z4r{border-bottom-right-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip.svelte-1052z4r{border-bottom-right-radius:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip.svelte-1052z4r{border-bottom-right-radius:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip.svelte-1052z4r{border-bottom-right-radius:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip.svelte-1052z4r{border-bottom-right-radius:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip.svelte-1052z4r{border-bottom-right-radius:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tooltip.svelte-1052z4r{border-bottom-left-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip.svelte-1052z4r{border-bottom-left-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip.svelte-1052z4r{border-bottom-left-radius:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip.svelte-1052z4r{border-bottom-left-radius:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip.svelte-1052z4r{border-bottom-left-radius:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip.svelte-1052z4r{border-bottom-left-radius:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip.svelte-1052z4r{border-bottom-left-radius:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tooltip.svelte-1052z4r{padding:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip.svelte-1052z4r{padding:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip.svelte-1052z4r{padding:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip.svelte-1052z4r{padding:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip.svelte-1052z4r{padding:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip.svelte-1052z4r{padding:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip.svelte-1052z4r{padding:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tooltip.svelte-1052z4r{width:calc(0.16875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip.svelte-1052z4r{width:calc(0.16875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip.svelte-1052z4r{width:calc(0.1299375 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip.svelte-1052z4r{width:calc(0.185625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip.svelte-1052z4r{width:calc(0.118125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip.svelte-1052z4r{width:calc(0.151875 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip.svelte-1052z4r{width:calc(0.185625 * 100vw + 0px)}}.tooltip__list.svelte-1052z4r{list-style:none;padding-left:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.tooltip__list.svelte-1052z4r{padding-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip__list.svelte-1052z4r{padding-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip__list.svelte-1052z4r{padding-left:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip__list.svelte-1052z4r{padding-left:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip__list.svelte-1052z4r{padding-left:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip__list.svelte-1052z4r{padding-left:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip__list.svelte-1052z4r{padding-left:calc(0.0103125 * 100vw + 0px)}}.tooltip__item.svelte-1052z4r{position:relative;margin-bottom:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.tooltip__item.svelte-1052z4r{margin-bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip__item.svelte-1052z4r{margin-bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip__item.svelte-1052z4r{margin-bottom:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip__item.svelte-1052z4r{margin-bottom:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip__item.svelte-1052z4r{margin-bottom:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip__item.svelte-1052z4r{margin-bottom:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip__item.svelte-1052z4r{margin-bottom:calc(0.0028645833 * 100vw + 0px)}}.tooltip__item.svelte-1052z4r::before{content:\"•\";position:absolute;color:#223144;top:50%;transform:translateY(-40%);font-size:calc(0.015625 * 100vw + 0px);left:calc(-0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.tooltip__item.svelte-1052z4r::before{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip__item.svelte-1052z4r::before{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip__item.svelte-1052z4r::before{font-size:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip__item.svelte-1052z4r::before{font-size:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip__item.svelte-1052z4r::before{font-size:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip__item.svelte-1052z4r::before{font-size:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip__item.svelte-1052z4r::before{font-size:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tooltip__item.svelte-1052z4r::before{left:calc(-0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip__item.svelte-1052z4r::before{left:calc(-0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip__item.svelte-1052z4r::before{left:calc(-0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip__item.svelte-1052z4r::before{left:calc(-0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip__item.svelte-1052z4r::before{left:calc(-0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip__item.svelte-1052z4r::before{left:calc(-0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip__item.svelte-1052z4r::before{left:calc(-0.00859375 * 100vw + 0px)}}.tooltip__item.svelte-1052z4r:last-child{margin-bottom:0}.tooltip__item.svelte-1052z4r span{font-family:\"HeadingNowMedium\";font-size:calc(0.00625 * 100vw + 0px);border-radius:calc(0.0020833333 * 100vw + 0px);padding:calc(0.0005208333 * 100vw + 0px) calc(0.0020833333 * 100vw + 0px);margin-left:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.tooltip__item.svelte-1052z4r span{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip__item.svelte-1052z4r span{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip__item.svelte-1052z4r span{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip__item.svelte-1052z4r span{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip__item.svelte-1052z4r span{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip__item.svelte-1052z4r span{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip__item.svelte-1052z4r span{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tooltip__item.svelte-1052z4r span{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip__item.svelte-1052z4r span{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip__item.svelte-1052z4r span{border-radius:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip__item.svelte-1052z4r span{border-radius:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip__item.svelte-1052z4r span{border-radius:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip__item.svelte-1052z4r span{border-radius:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip__item.svelte-1052z4r span{border-radius:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tooltip__item.svelte-1052z4r span{padding:calc(0.0005208333 * 100vw + 0px) calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip__item.svelte-1052z4r span{padding:calc(0.0005208333 * 100vw + 0px) calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip__item.svelte-1052z4r span{padding:calc(0.0004010417 * 100vw + 0px) calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip__item.svelte-1052z4r span{padding:calc(0.0005729167 * 100vw + 0px) calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip__item.svelte-1052z4r span{padding:calc(0.0003645833 * 100vw + 0px) calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip__item.svelte-1052z4r span{padding:calc(0.00046875 * 100vw + 0px) calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip__item.svelte-1052z4r span{padding:calc(0.0005729167 * 100vw + 0px) calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.tooltip__item.svelte-1052z4r span{margin-left:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.tooltip__item.svelte-1052z4r span{margin-left:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.tooltip__item.svelte-1052z4r span{margin-left:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.tooltip__item.svelte-1052z4r span{margin-left:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.tooltip__item.svelte-1052z4r span{margin-left:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.tooltip__item.svelte-1052z4r span{margin-left:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.tooltip__item.svelte-1052z4r span{margin-left:calc(0.0022916667 * 100vw + 0px)}}.tooltip__item--tier1.svelte-1052z4r span{background-color:#9A9A9A;color:#111111}.tooltip__item--tier2.svelte-1052z4r span{background-color:#00FFFF;color:#004D4D}.tooltip__item--tier3.svelte-1052z4r span{background-color:#FFCC00;color:#111111}.tooltip__item--random.svelte-1052z4r span{background-color:#223144;color:#FFCC00}");
}

function tooltip_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[4] = list[i];
	return child_ctx;
}

// (789:0) {#if bonuses.length}
function components_tooltip_index_svelte_create_if_block(ctx) {
	let div;
	let t;
	let ul;
	let each_value = /*bonuses*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = tooltip_index_svelte_create_each_block(tooltip_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			div = internal_element("div");
			t = internal_text("Бонусы:\r\n    ");
			ul = internal_element("ul");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(ul, "class", "tooltip__list svelte-1052z4r");
			attr(div, "class", "tooltip svelte-1052z4r");
			set_style(div, "top", /*y*/ ctx[3] + 10 + "px");
			set_style(div, "left", /*x*/ ctx[2] - 60 + "px");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
			append(div, ul);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(ul, null);
			}
		},
		p(ctx, dirty) {
			if (dirty & /*tier, bonuses*/ 3) {
				each_value = /*bonuses*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = tooltip_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = tooltip_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(ul, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if (dirty & /*y*/ 8) {
				set_style(div, "top", /*y*/ ctx[3] + 10 + "px");
			}

			if (dirty & /*x*/ 4) {
				set_style(div, "left", /*x*/ ctx[2] - 60 + "px");
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (793:6) {#each bonuses as bonus}
function tooltip_index_svelte_create_each_block(ctx) {
	let li;
	let html_tag;
	let raw_value = /*bonus*/ ctx[4] + "";
	let t;
	let li_class_value;

	return {
		c() {
			li = internal_element("li");
			html_tag = new HtmlTag(false);
			t = space();
			html_tag.a = t;
			attr(li, "class", li_class_value = "tooltip__item tooltip__item--" + /*tier*/ ctx[1] + " svelte-1052z4r");
		},
		m(target, anchor) {
			insert(target, li, anchor);
			html_tag.m(raw_value, li);
			append(li, t);
		},
		p(ctx, dirty) {
			if (dirty & /*bonuses*/ 1 && raw_value !== (raw_value = /*bonus*/ ctx[4] + "")) html_tag.p(raw_value);

			if (dirty & /*tier*/ 2 && li_class_value !== (li_class_value = "tooltip__item tooltip__item--" + /*tier*/ ctx[1] + " svelte-1052z4r")) {
				attr(li, "class", li_class_value);
			}
		},
		d(detaching) {
			if (detaching) detach(li);
		}
	};
}

function components_tooltip_index_svelte_create_fragment(ctx) {
	let if_block_anchor;
	let if_block = /*bonuses*/ ctx[0].length && components_tooltip_index_svelte_create_if_block(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
		},
		p(ctx, [dirty]) {
			if (/*bonuses*/ ctx[0].length) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = components_tooltip_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

function components_tooltip_index_svelte_instance($$self, $$props, $$invalidate) {
	let { bonuses = [] } = $$props;
	let { tier } = $$props;
	let { x } = $$props;
	let { y } = $$props;

	$$self.$$set = $$props => {
		if ('bonuses' in $$props) $$invalidate(0, bonuses = $$props.bonuses);
		if ('tier' in $$props) $$invalidate(1, tier = $$props.tier);
		if ('x' in $$props) $$invalidate(2, x = $$props.x);
		if ('y' in $$props) $$invalidate(3, y = $$props.y);
	};

	return [bonuses, tier, x, y];
}

class index_svelte_Tooltip extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, components_tooltip_index_svelte_instance, components_tooltip_index_svelte_create_fragment, safe_not_equal, { bonuses: 0, tier: 1, x: 2, y: 3 }, components_tooltip_index_svelte_add_css);
	}
}

/* harmony default export */ const components_tooltip_index_svelte = (index_svelte_Tooltip);
;// CONCATENATED MODULE: ./src/views/transport-interaction/components/tooltip/index.js


function components_tooltip_tooltip(element, _ref) {
  var bonuses = _ref.bonuses,
    tier = _ref.tier;
  var tooltipComponent;
  function mouseOver(event) {
    if (event.target !== event.currentTarget) {
      return;
    }
    element.removeAttribute('bonuses');
    tooltipComponent = new components_tooltip_index_svelte({
      props: {
        bonuses: bonuses,
        tier: tier,
        x: event.pageX,
        y: event.pageY
      },
      target: document.body
    });
  }
  function mouseMove(event) {
    if (!tooltipComponent) {
      return;
    }
    tooltipComponent.$set({
      x: event.pageX,
      y: event.pageY
    });
  }
  function deleteTooltip() {
    if ((0,lodash.isNil)(tooltipComponent)) {
      return;
    }
    tooltipComponent.$destroy();
  }
  element.addEventListener('mouseover', mouseOver);
  element.addEventListener('mouseleave', deleteTooltip);
  element.addEventListener('mousemove', mouseMove);
  return {
    destroy: function destroy() {
      deleteTooltip();
      element.removeEventListener('mouseover', mouseOver);
      element.removeEventListener('mouseleave', deleteTooltip);
      element.removeEventListener('mousemove', mouseMove);
    }
  };
}
;// CONCATENATED MODULE: ./src/views/transport-interaction/img/certificate-tier1.png
const certificate_tier1_namespaceObject = __webpack_require__.p + "assets/c3c99e2ac951f81aa955.webp";
;// CONCATENATED MODULE: ./src/views/transport-interaction/img/certificate-tier2.png
const certificate_tier2_namespaceObject = __webpack_require__.p + "assets/42fc1218e5092e030e84.webp";
;// CONCATENATED MODULE: ./src/views/transport-interaction/img/certificate-tier3.png
const certificate_tier3_namespaceObject = __webpack_require__.p + "assets/cab7b96ed94807cf2344.webp";
;// CONCATENATED MODULE: ./src/views/transport-interaction/img/Shop-tier1.png
const Shop_tier1_namespaceObject = __webpack_require__.p + "assets/21433f20ec875b574e96.webp";
;// CONCATENATED MODULE: ./src/views/transport-interaction/img/Shop-tier2.png
const Shop_tier2_namespaceObject = __webpack_require__.p + "assets/e0277c43abaa36defe2a.webp";
;// CONCATENATED MODULE: ./src/views/transport-interaction/img/Shop-tier3.png
const Shop_tier3_namespaceObject = __webpack_require__.p + "assets/0048f29a03c81b829b56.webp";
;// CONCATENATED MODULE: ./src/views/transport-interaction/constants.js
function transport_interaction_constants_typeof(o) { "@babel/helpers - typeof"; return transport_interaction_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, transport_interaction_constants_typeof(o); }
function transport_interaction_constants_defineProperty(e, r, t) { return (r = transport_interaction_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function transport_interaction_constants_toPropertyKey(t) { var i = transport_interaction_constants_toPrimitive(t, "string"); return "symbol" == transport_interaction_constants_typeof(i) ? i : i + ""; }
function transport_interaction_constants_toPrimitive(t, r) { if ("object" != transport_interaction_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != transport_interaction_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }






var TierTypes = {
  Tier1: 'tier1',
  Tier2: 'tier2',
  Tier3: 'tier3',
  Random: 'random'
};
var MAP_TIER_TYPES_TO_TITLE = transport_interaction_constants_defineProperty(transport_interaction_constants_defineProperty(transport_interaction_constants_defineProperty(transport_interaction_constants_defineProperty({}, TierTypes.Tier1, 'Хлам'), TierTypes.Tier2, 'Обычное'), TierTypes.Tier3, 'Идеальное'), TierTypes.Random, 'Случайное');
var MAP_TIER_TYPES_TO_CERTIFICATE_BACKGROUND = transport_interaction_constants_defineProperty(transport_interaction_constants_defineProperty(transport_interaction_constants_defineProperty({}, TierTypes.Tier1, certificate_tier1_namespaceObject), TierTypes.Tier2, certificate_tier2_namespaceObject), TierTypes.Tier3, certificate_tier3_namespaceObject);
var MAP_TIER_TYPES_TO_SHOP_BACKGROUND = transport_interaction_constants_defineProperty(transport_interaction_constants_defineProperty(transport_interaction_constants_defineProperty(transport_interaction_constants_defineProperty({}, TierTypes.Tier1, Shop_tier1_namespaceObject), TierTypes.Tier2, Shop_tier2_namespaceObject), TierTypes.Tier3, Shop_tier3_namespaceObject), TierTypes.Random, Shop_tier1_namespaceObject);
;// CONCATENATED MODULE: ./src/views/transport-interaction/shop/img/plate-rus.png
const plate_rus_namespaceObject = __webpack_require__.p + "assets/1629620a58dbe3c2bf6f.webp";
;// CONCATENATED MODULE: ./src/views/transport-interaction/shop/img/plate-kz.png
const plate_kz_namespaceObject = __webpack_require__.p + "assets/e06d980ade92f042b610.webp";
;// CONCATENATED MODULE: ./src/views/transport-interaction/shop/img/plate-ua.png
const plate_ua_namespaceObject = __webpack_require__.p + "assets/9a87b2cbecfa2ccb4646.webp";
;// CONCATENATED MODULE: ./src/views/transport-interaction/shop/img/plate-by.png
const plate_by_namespaceObject = __webpack_require__.p + "assets/f4019f0df1f0359209f6.webp";
;// CONCATENATED MODULE: ./src/views/transport-interaction/shop/img/plate-transit.png
const plate_transit_namespaceObject = __webpack_require__.p + "assets/d000ed7d1c55e47a9648.webp";
;// CONCATENATED MODULE: ./src/views/transport-interaction/shop/constants.js
function shop_constants_typeof(o) { "@babel/helpers - typeof"; return shop_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, shop_constants_typeof(o); }
function shop_constants_defineProperty(e, r, t) { return (r = shop_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function shop_constants_toPropertyKey(t) { var i = shop_constants_toPrimitive(t, "string"); return "symbol" == shop_constants_typeof(i) ? i : i + ""; }
function shop_constants_toPrimitive(t, r) { if ("object" != shop_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != shop_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }





var PlateTypes = {
  RUS: 'rus',
  KZ: 'kz',
  UA: 'ua',
  BY: 'by',
  Transit: 'transit'
};
var MAP_PLATE_TYPES_TO_IMG = shop_constants_defineProperty(shop_constants_defineProperty(shop_constants_defineProperty(shop_constants_defineProperty(shop_constants_defineProperty({}, PlateTypes.RUS, plate_rus_namespaceObject), PlateTypes.KZ, plate_kz_namespaceObject), PlateTypes.UA, plate_ua_namespaceObject), PlateTypes.BY, plate_by_namespaceObject), PlateTypes.Transit, plate_transit_namespaceObject);
;// CONCATENATED MODULE: ./src/views/transport-interaction/shop/img/coin.svg
const shop_img_coin_namespaceObject = __webpack_require__.p + "assets/47edb9e74ba19382ddc3.svg";
;// CONCATENATED MODULE: ./src/views/transport-interaction/shop/img/white-coin.svg
const white_coin_namespaceObject = __webpack_require__.p + "assets/7bf7289aa2e2646f3f7d.svg";
;// CONCATENATED MODULE: ./src/views/transport-interaction/shop/img/wheel-bold.svg
const wheel_bold_namespaceObject = __webpack_require__.p + "assets/6895db28611abf33535b.svg";
;// CONCATENATED MODULE: ./src/views/transport-interaction/shop/index.svelte
/* src\views\transport-interaction\shop\index.svelte generated by Svelte v3.49.0 */


















function transport_interaction_shop_index_svelte_add_css(target) {
	append_styles(target, "svelte-13x4jd3", "@keyframes svelte-13x4jd3-blinking{50%{opacity:0}}@keyframes svelte-13x4jd3-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-13x4jd3-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-13x4jd3-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-13x4jd3-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-13x4jd3-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-13x4jd3-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-13x4jd3-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-13x4jd3-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-13x4jd3-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-13x4jd3-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-13x4jd3-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-13x4jd3-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-13x4jd3-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-13x4jd3-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.transport-interaction-shop.svelte-13x4jd3.svelte-13x4jd3{display:flex;align-items:center;justify-content:center;width:100vw;height:100vh}.transport-interaction-shop__window.svelte-13x4jd3.svelte-13x4jd3{background-color:#131516;border-color:rgba(255, 255, 255, 0.04);border-style:solid;border-bottom-width:calc(0.0005208333 * 100vw + 0px);border-radius:calc(0.00625 * 100vw + 0px);width:calc(0.6421875 * 100vw + 0px);height:calc(0.3645833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window.svelte-13x4jd3.svelte-13x4jd3{border-bottom-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window.svelte-13x4jd3.svelte-13x4jd3{border-bottom-width:calc(0.0005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window.svelte-13x4jd3.svelte-13x4jd3{border-bottom-width:calc(0.0004010417 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window.svelte-13x4jd3.svelte-13x4jd3{border-bottom-width:calc(0.0005729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window.svelte-13x4jd3.svelte-13x4jd3{border-bottom-width:calc(0.0003645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window.svelte-13x4jd3.svelte-13x4jd3{border-bottom-width:calc(0.00046875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window.svelte-13x4jd3.svelte-13x4jd3{border-bottom-width:calc(0.0005729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.6421875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.6421875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.494484375 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.70640625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.44953125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.57796875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.70640625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.3645833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.3645833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.2807291667 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.4010416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.2552083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.328125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.4010416667 * 100vw + 0px)}}.transport-interaction-shop__window-header.svelte-13x4jd3.svelte-13x4jd3{position:relative;display:flex;align-items:center;justify-content:center;background:linear-gradient(129deg, rgba(2, 0, 36, 0) 16%, rgb(253, 14, 66) 85%, rgb(170, 0, 34) 100%);border-top-right-radius:calc(0.00625 * 100vw + 0px);border-top-left-radius:calc(0.00625 * 100vw + 0px);height:calc(0.0270833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-header.svelte-13x4jd3.svelte-13x4jd3{border-top-right-radius:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-header.svelte-13x4jd3.svelte-13x4jd3{border-top-right-radius:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-header.svelte-13x4jd3.svelte-13x4jd3{border-top-right-radius:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-header.svelte-13x4jd3.svelte-13x4jd3{border-top-right-radius:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-header.svelte-13x4jd3.svelte-13x4jd3{border-top-right-radius:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-header.svelte-13x4jd3.svelte-13x4jd3{border-top-right-radius:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-header.svelte-13x4jd3.svelte-13x4jd3{border-top-right-radius:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-header.svelte-13x4jd3.svelte-13x4jd3{border-top-left-radius:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-header.svelte-13x4jd3.svelte-13x4jd3{border-top-left-radius:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-header.svelte-13x4jd3.svelte-13x4jd3{border-top-left-radius:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-header.svelte-13x4jd3.svelte-13x4jd3{border-top-left-radius:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-header.svelte-13x4jd3.svelte-13x4jd3{border-top-left-radius:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-header.svelte-13x4jd3.svelte-13x4jd3{border-top-left-radius:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-header.svelte-13x4jd3.svelte-13x4jd3{border-top-left-radius:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-header.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-header.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-header.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0208541667 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-header.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0297916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-header.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0189583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-header.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.024375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-header.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0297916667 * 100vw + 0px)}}.transport-interaction-shop__window-header-title.svelte-13x4jd3.svelte-13x4jd3{font-family:\"HeadingNowBold\";color:#FFFFFF;font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-header-title.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-header-title.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-header-title.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-header-title.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-header-title.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-header-title.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-header-title.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0080208333 * 100vw + 0px)}}.transport-interaction-shop__window-header-exit.svelte-13x4jd3.svelte-13x4jd3{position:absolute;color:#FFFFFF;transition:color 0.2s linear;cursor:pointer;font-size:calc(0.0104166667 * 100vw + 0px);right:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-header-exit.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-header-exit.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-header-exit.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-header-exit.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-header-exit.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-header-exit.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-header-exit.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-header-exit.svelte-13x4jd3.svelte-13x4jd3{right:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-header-exit.svelte-13x4jd3.svelte-13x4jd3{right:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-header-exit.svelte-13x4jd3.svelte-13x4jd3{right:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-header-exit.svelte-13x4jd3.svelte-13x4jd3{right:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-header-exit.svelte-13x4jd3.svelte-13x4jd3{right:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-header-exit.svelte-13x4jd3.svelte-13x4jd3{right:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-header-exit.svelte-13x4jd3.svelte-13x4jd3{right:calc(0.0103125 * 100vw + 0px)}}.transport-interaction-shop__window-header-exit.svelte-13x4jd3.svelte-13x4jd3:hover{color:rgba(255, 255, 255, 0.5)}.transport-interaction-shop__window-car-wrapper.svelte-13x4jd3.svelte-13x4jd3{display:flex;padding:calc(0.009375 * 100vw + 0px);gap:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-wrapper.svelte-13x4jd3.svelte-13x4jd3{padding:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-wrapper.svelte-13x4jd3.svelte-13x4jd3{padding:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-wrapper.svelte-13x4jd3.svelte-13x4jd3{padding:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-wrapper.svelte-13x4jd3.svelte-13x4jd3{padding:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-wrapper.svelte-13x4jd3.svelte-13x4jd3{padding:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-wrapper.svelte-13x4jd3.svelte-13x4jd3{padding:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-wrapper.svelte-13x4jd3.svelte-13x4jd3{padding:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-wrapper.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-wrapper.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-wrapper.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-wrapper.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-wrapper.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-wrapper.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-wrapper.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0103125 * 100vw + 0px)}}.transport-interaction-shop__window-list.svelte-13x4jd3.svelte-13x4jd3{display:flex;flex-wrap:wrap;align-content:flex-start;gap:calc(0.0046875 * 100vw + 0px);width:calc(0.3453125 * 100vw + 0px);height:calc(0.309375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-list.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-list.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-list.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.003609375 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-list.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.00515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-list.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-list.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.00421875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-list.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.00515625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-list.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.3453125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-list.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.3453125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-list.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.265890625 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-list.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.37984375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-list.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.24171875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-list.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.31078125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-list.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.37984375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-list.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.309375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-list.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.309375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-list.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.23821875 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-list.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.3403125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-list.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.2165625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-list.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.2784375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-list.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.3403125 * 100vw + 0px)}}.transport-interaction-shop__window-item.svelte-13x4jd3.svelte-13x4jd3{display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(180deg, rgba(19, 21, 22, 0) 26.8%, #505050 118.75%, #505050 135.62%);border:1px solid rgba(255, 255, 255, 0.04);border-radius:calc(0.0041666667 * 100vw + 0px);padding:calc(0.009375 * 100vw + 0px);width:calc(0.0828125 * 100vw + 0px);height:calc(0.1 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-item.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-item.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-item.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-item.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-item.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-item.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-item.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-item.svelte-13x4jd3.svelte-13x4jd3{padding:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-item.svelte-13x4jd3.svelte-13x4jd3{padding:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-item.svelte-13x4jd3.svelte-13x4jd3{padding:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-item.svelte-13x4jd3.svelte-13x4jd3{padding:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-item.svelte-13x4jd3.svelte-13x4jd3{padding:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-item.svelte-13x4jd3.svelte-13x4jd3{padding:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-item.svelte-13x4jd3.svelte-13x4jd3{padding:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-item.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.0828125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-item.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.0828125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-item.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.063765625 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-item.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.09109375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-item.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.05796875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-item.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.07453125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-item.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.09109375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-item.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.1 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-item.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.1 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-item.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.077 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-item.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.11 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-item.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.07 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-item.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.09 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-item.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.11 * 100vw + 0px)}}.transport-interaction-shop__window-item--black.svelte-13x4jd3.svelte-13x4jd3{background:linear-gradient(210deg, rgba(19, 21, 22, 0) 46.8%, #505050 88.75%, #505050 135.62%), linear-gradient(308deg, rgba(0, 0, 0, 0.8) 10%, rgba(0, 0, 0, 0.02) 127.4%)}.transport-interaction-shop__window-item--lightBlue.svelte-13x4jd3.svelte-13x4jd3{background:linear-gradient(0deg, #000000, rgba(0, 0, 0, 0)), linear-gradient(225deg, rgba(3, 157, 157, 0.8) 50%, rgba(3, 157, 157, 0.1) 97.4%)}.transport-interaction-shop__window-item--blue.svelte-13x4jd3.svelte-13x4jd3{background:linear-gradient(167deg, rgba(19, 21, 22, 0) 96.8%, #505050 128.75%, #505050 135.62%), linear-gradient(35deg, #000000, rgba(0, 0, 0, 0)), linear-gradient(225deg, rgba(45, 100, 221, 0.8) 20%, rgba(45, 100, 221, 0.1) 77.4%)}.transport-interaction-shop__window-item--purple.svelte-13x4jd3.svelte-13x4jd3{background:linear-gradient(167deg, rgba(19, 21, 22, 0) 96.8%, #505050 128.75%, #505050 135.62%), linear-gradient(35deg, #000000, rgba(0, 0, 0, 0)), linear-gradient(225deg, rgba(193, 36, 255, 0.8) 20%, rgba(193, 36, 255, 0.1) 77.4%)}.transport-interaction-shop__window-item--red.svelte-13x4jd3.svelte-13x4jd3{background:linear-gradient(167deg, rgba(19, 21, 22, 0) 96.8%, #505050 128.75%, #505050 135.62%), linear-gradient(35deg, #000000, rgba(0, 0, 0, 0)), linear-gradient(225deg, rgba(255, 68, 36, 0.8) 20%, rgba(255, 68, 36, 0.1) 77.4%)}.transport-interaction-shop__window-item--orange.svelte-13x4jd3.svelte-13x4jd3{background:linear-gradient(167deg, rgba(19, 21, 22, 0) 96.8%, #505050 128.75%, #505050 135.62%), linear-gradient(35deg, #000000, rgba(0, 0, 0, 0)), linear-gradient(225deg, rgba(255, 138, 36, 0.8) 20%, rgba(255, 138, 36, 0.1) 77.4%)}.transport-interaction-shop__window-item-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{display:flex;align-items:center;justify-content:center;background:rgba(0, 0, 0, 0.5019607843);border-radius:calc(0.0041666667 * 100vw + 0px);width:calc(0.0354166667 * 100vw + 0px);height:calc(0.0354166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-item-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-item-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-item-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-item-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-item-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-item-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-item-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-item-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.0354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-item-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.0354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-item-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.0272708333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-item-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.0389583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-item-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.0247916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-item-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.031875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-item-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.0389583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-item-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-item-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-item-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0272708333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-item-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0389583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-item-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0247916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-item-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.031875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-item-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0389583333 * 100vw + 0px)}}.transport-interaction-shop__window-item-icon.svelte-13x4jd3.svelte-13x4jd3{color:rgba(255, 255, 255, 0.5);font-size:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-item-icon.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-item-icon.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-item-icon.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-item-icon.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-item-icon.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-item-icon.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-item-icon.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0183333333 * 100vw + 0px)}}.transport-interaction-shop__window-item-icon--player.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0114583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-item-icon--player.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-item-icon--player.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-item-icon--player.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-item-icon--player.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-item-icon--player.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-item-icon--player.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-item-icon--player.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0126041667 * 100vw + 0px)}}.transport-interaction-shop__window-item-name.svelte-13x4jd3.svelte-13x4jd3{color:#FFFFFF;font-family:\"HeadingNowBold\";text-transform:uppercase;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-item-name.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-item-name.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-item-name.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-item-name.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-item-name.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-item-name.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-item-name.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0091666667 * 100vw + 0px)}}.transport-interaction-shop__window-item-name--small.svelte-13x4jd3.svelte-13x4jd3{color:rgba(255, 255, 255, 0.5);font-family:\"HeadingNowMedium\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-item-name--small.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-item-name--small.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-item-name--small.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-item-name--small.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-item-name--small.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-item-name--small.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-item-name--small.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.006875 * 100vw + 0px)}}.transport-interaction-shop__window-item-name-img.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-item-name-img.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-item-name-img.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-item-name-img.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-item-name-img.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-item-name-img.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-item-name-img.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-item-name-img.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0080208333 * 100vw + 0px)}}.transport-interaction-shop__window-item-title.svelte-13x4jd3.svelte-13x4jd3{color:rgba(255, 255, 255, 0.5);font-family:\"HeadingNowRegular\";font-size:calc(0.00625 * 100vw + 0px);margin-top:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-item-title.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-item-title.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-item-title.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-item-title.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-item-title.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-item-title.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-item-title.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-item-title.svelte-13x4jd3.svelte-13x4jd3{margin-top:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-item-title.svelte-13x4jd3.svelte-13x4jd3{margin-top:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-item-title.svelte-13x4jd3.svelte-13x4jd3{margin-top:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-item-title.svelte-13x4jd3.svelte-13x4jd3{margin-top:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-item-title.svelte-13x4jd3.svelte-13x4jd3{margin-top:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-item-title.svelte-13x4jd3.svelte-13x4jd3{margin-top:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-item-title.svelte-13x4jd3.svelte-13x4jd3{margin-top:calc(0.0028645833 * 100vw + 0px)}}.transport-interaction-shop__window-car.svelte-13x4jd3.svelte-13x4jd3{position:relative;display:flex;flex-direction:column;border:1px solid rgba(255, 255, 255, 0.1);padding:calc(0.0125 * 100vw + 0px);border-radius:calc(0.0041666667 * 100vw + 0px);width:calc(0.26875 * 100vw + 0px);height:calc(0.309375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car.svelte-13x4jd3.svelte-13x4jd3{padding:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car.svelte-13x4jd3.svelte-13x4jd3{padding:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car.svelte-13x4jd3.svelte-13x4jd3{padding:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car.svelte-13x4jd3.svelte-13x4jd3{padding:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car.svelte-13x4jd3.svelte-13x4jd3{padding:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car.svelte-13x4jd3.svelte-13x4jd3{padding:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car.svelte-13x4jd3.svelte-13x4jd3{padding:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.26875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.26875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.2069375 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.295625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.188125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.241875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.295625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.309375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.309375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.23821875 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.3403125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.2165625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.2784375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.3403125 * 100vw + 0px)}}.transport-interaction-shop__window-car-background.svelte-13x4jd3.svelte-13x4jd3{position:absolute;top:0;left:0;width:100%;height:100%}.transport-interaction-shop__window-car-name.svelte-13x4jd3.svelte-13x4jd3{z-index:1;color:#FFFFFF;font-family:\"HeadingNowBold\";text-transform:uppercase;font-size:calc(0.0239583333 * 100vw + 0px);line-height:calc(0.0260416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-name.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0239583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-name.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0239583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-name.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0184479167 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-name.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0263541667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-name.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0167708333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-name.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0215625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-name.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0263541667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-name.svelte-13x4jd3.svelte-13x4jd3{line-height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-name.svelte-13x4jd3.svelte-13x4jd3{line-height:calc(0.0260416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-name.svelte-13x4jd3.svelte-13x4jd3{line-height:calc(0.0200520833 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-name.svelte-13x4jd3.svelte-13x4jd3{line-height:calc(0.0286458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-name.svelte-13x4jd3.svelte-13x4jd3{line-height:calc(0.0182291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-name.svelte-13x4jd3.svelte-13x4jd3{line-height:calc(0.0234375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-name.svelte-13x4jd3.svelte-13x4jd3{line-height:calc(0.0286458333 * 100vw + 0px)}}.transport-interaction-shop__window-car-info.svelte-13x4jd3.svelte-13x4jd3{z-index:1;display:flex;gap:calc(0.0052083333 * 100vw + 0px);margin-top:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info.svelte-13x4jd3.svelte-13x4jd3{margin-top:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info.svelte-13x4jd3.svelte-13x4jd3{margin-top:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info.svelte-13x4jd3.svelte-13x4jd3{margin-top:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info.svelte-13x4jd3.svelte-13x4jd3{margin-top:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info.svelte-13x4jd3.svelte-13x4jd3{margin-top:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info.svelte-13x4jd3.svelte-13x4jd3{margin-top:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info.svelte-13x4jd3.svelte-13x4jd3{margin-top:calc(0.01375 * 100vw + 0px)}}.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{display:flex;align-items:center;justify-content:center;gap:calc(0.0052083333 * 100vw + 0px);padding-left:calc(0.003125 * 100vw + 0px);padding-right:calc(0.003125 * 100vw + 0px);border-radius:calc(0.0020833333 * 100vw + 0px);height:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{padding-right:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{padding-right:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{padding-right:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{padding-right:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{padding-right:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{padding-right:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{padding-right:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-rarity.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0171875 * 100vw + 0px)}}.transport-interaction-shop__window-car-info-rarity--tier1.svelte-13x4jd3.svelte-13x4jd3{background:linear-gradient(0deg, #8F8F8F, #8F8F8F), linear-gradient(90deg, rgba(255, 255, 255, 0) 49.69%, #FFFFFF 100%)}.transport-interaction-shop__window-car-info-rarity--tier1.svelte-13x4jd3 .transport-interaction-shop__window-car-info-rarity-title.svelte-13x4jd3{color:#111111}.transport-interaction-shop__window-car-info-rarity--tier2.svelte-13x4jd3.svelte-13x4jd3{background:linear-gradient(0deg, #00FFFF, #00FFFF), linear-gradient(90deg, rgba(255, 255, 255, 0) 49.69%, rgba(255, 255, 255, 0.5) 100%)}.transport-interaction-shop__window-car-info-rarity--tier2.svelte-13x4jd3 .transport-interaction-shop__window-car-info-rarity-title.svelte-13x4jd3{color:#004D4D}.transport-interaction-shop__window-car-info-rarity--tier3.svelte-13x4jd3.svelte-13x4jd3{background:#FFCC00}.transport-interaction-shop__window-car-info-rarity--tier3.svelte-13x4jd3 .transport-interaction-shop__window-car-info-rarity-title.svelte-13x4jd3{color:#672400}.transport-interaction-shop__window-car-info-rarity--random.svelte-13x4jd3.svelte-13x4jd3{background:rgba(255, 255, 255, 0.1)}.transport-interaction-shop__window-car-info-rarity--random.svelte-13x4jd3 .transport-interaction-shop__window-car-info-rarity-title.svelte-13x4jd3{color:#FFCC00}.transport-interaction-shop__window-car-info-rarity-title.svelte-13x4jd3.svelte-13x4jd3{font-family:\"HeadingNowMedium\";text-transform:uppercase;font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-rarity-title.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-rarity-title.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-rarity-title.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-rarity-title.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-rarity-title.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-rarity-title.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-rarity-title.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0080208333 * 100vw + 0px)}}.transport-interaction-shop__window-car-info-rarity-title-icon.svelte-13x4jd3.svelte-13x4jd3{color:#FFCC00;font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-rarity-title-icon.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-rarity-title-icon.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-rarity-title-icon.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-rarity-title-icon.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-rarity-title-icon.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-rarity-title-icon.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-rarity-title-icon.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0080208333 * 100vw + 0px)}}.transport-interaction-shop__window-car-info-rarity-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{display:flex;align-items:center;justify-content:center;background-color:#111111;border:1px solid rgba(255, 255, 255, 0.1);cursor:pointer;transition:background-color 0.2s linear, border 0.2s linear;border-radius:calc(0.003125 * 100vw + 0px);width:calc(0.009375 * 100vw + 0px);height:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-rarity-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-rarity-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-rarity-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-rarity-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-rarity-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-rarity-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-rarity-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-rarity-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-rarity-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-rarity-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-rarity-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-rarity-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-rarity-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-rarity-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-rarity-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-rarity-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-rarity-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-rarity-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-rarity-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-rarity-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-rarity-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0103125 * 100vw + 0px)}}.transport-interaction-shop__window-car-info-rarity-icon-wrapper.svelte-13x4jd3.svelte-13x4jd3:hover{background-color:#383838;border:1px solid rgba(255, 255, 255, 0.4)}.transport-interaction-shop__window-car-info-rarity-icon.svelte-13x4jd3.svelte-13x4jd3{color:#FFFFFF;font-family:\"HeadingNowRegular\";pointer-events:none;font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-rarity-icon.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-rarity-icon.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-rarity-icon.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-rarity-icon.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-rarity-icon.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-rarity-icon.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-rarity-icon.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.006875 * 100vw + 0px)}}.transport-interaction-shop__window-car-info-number.svelte-13x4jd3.svelte-13x4jd3{position:relative;display:flex;width:calc(0.075 * 100vw + 0px);height:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.075 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.075 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.05775 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.0825 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.0525 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.0675 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.0825 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0171875 * 100vw + 0px)}}.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3.svelte-13x4jd3{align-items:center;padding-left:calc(0.0067708333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.0067708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.0052135417 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.0074479167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.0047395833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.00609375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.0074479167 * 100vw + 0px)}}.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3{margin-bottom:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3{margin-bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3{margin-bottom:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3{margin-bottom:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3{margin-bottom:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3{margin-bottom:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3{margin-bottom:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3{margin-bottom:calc(0.0028645833 * 100vw + 0px)}}.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.0109375 * 100vw + 0px);height:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.008421875 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.00765625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.01203125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{height:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{height:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{height:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{height:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{height:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{height:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{height:calc(0.00859375 * 100vw + 0px)}}.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{font-size:calc(0.0072916667 * 100vw + 0px);top:calc(0.003125 * 100vw + 0px);right:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{top:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{top:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{top:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{top:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{top:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{top:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{top:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{right:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{right:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{right:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{right:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{right:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{right:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number--rus.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{right:calc(0.0028645833 * 100vw + 0px)}}.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3.svelte-13x4jd3{align-items:center;padding-left:calc(0.0151041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.0151041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.0116302083 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.0166145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.0105729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.01359375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.0166145833 * 100vw + 0px)}}.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3{margin-bottom:calc(0.003125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3{margin-bottom:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3{margin-bottom:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3{margin-bottom:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3{margin-bottom:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3{margin-bottom:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3{margin-bottom:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3{margin-bottom:calc(0.0034375 * 100vw + 0px)}}.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.0109375 * 100vw + 0px);height:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.008421875 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.00765625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.01203125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{height:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{height:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{height:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{height:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{height:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{height:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{height:calc(0.00859375 * 100vw + 0px)}}.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{font-size:calc(0.0109375 * 100vw + 0px);top:calc(0.0036458333 * 100vw + 0px);right:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{font-size:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{font-size:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{font-size:calc(0.008421875 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{font-size:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{font-size:calc(0.00765625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{font-size:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{font-size:calc(0.01203125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{top:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{top:calc(0.0028072917 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{top:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{top:calc(0.0025520833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{top:calc(0.00328125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{top:calc(0.0040104167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{right:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{right:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{right:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{right:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{right:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{right:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number--kz.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{right:calc(0.0022916667 * 100vw + 0px)}}.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3.svelte-13x4jd3{align-items:center;padding-left:calc(0.0302083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.0302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.0302083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.0232604167 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.0332291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.0211458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.0271875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.0332291667 * 100vw + 0px)}}.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3{gap:calc(0.0020833333 * 100vw + 0px);margin-top:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3{gap:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3{gap:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3{gap:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3{gap:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3{gap:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3{gap:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3{gap:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3{margin-top:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3{margin-top:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3{margin-top:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3{margin-top:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3{margin-top:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3{margin-top:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3{margin-top:calc(0.0022916667 * 100vw + 0px)}}.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.009375 * 100vw + 0px);height:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{height:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{height:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{height:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{height:calc(0.0103125 * 100vw + 0px)}}.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-subTitle.svelte-13x4jd3{font-size:calc(0.0119791667 * 100vw + 0px);height:calc(0.0140625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-subTitle.svelte-13x4jd3{font-size:calc(0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-subTitle.svelte-13x4jd3{font-size:calc(0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-subTitle.svelte-13x4jd3{font-size:calc(0.0092239583 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-subTitle.svelte-13x4jd3{font-size:calc(0.0131770833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-subTitle.svelte-13x4jd3{font-size:calc(0.0083854167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-subTitle.svelte-13x4jd3{font-size:calc(0.01078125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-subTitle.svelte-13x4jd3{font-size:calc(0.0131770833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-subTitle.svelte-13x4jd3{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-subTitle.svelte-13x4jd3{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-subTitle.svelte-13x4jd3{height:calc(0.010828125 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-subTitle.svelte-13x4jd3{height:calc(0.01546875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-subTitle.svelte-13x4jd3{height:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-subTitle.svelte-13x4jd3{height:calc(0.01265625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-subTitle.svelte-13x4jd3{height:calc(0.01546875 * 100vw + 0px)}}.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{font-size:calc(0.0119791667 * 100vw + 0px);top:calc(0.0020833333 * 100vw + 0px);left:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{font-size:calc(0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{font-size:calc(0.0119791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{font-size:calc(0.0092239583 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{font-size:calc(0.0131770833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{font-size:calc(0.0083854167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{font-size:calc(0.01078125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{font-size:calc(0.0131770833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{top:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{top:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{top:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{top:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{top:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{top:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{top:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{left:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{left:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{left:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{left:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{left:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{left:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number--ua.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{left:calc(0.01375 * 100vw + 0px)}}.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3.svelte-13x4jd3{align-items:center;padding-left:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.01375 * 100vw + 0px)}}.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.0104166667 * 100vw + 0px);height:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{height:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{height:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{height:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{height:calc(0.0103125 * 100vw + 0px)}}.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-subTitle.svelte-13x4jd3{font-size:calc(0.0135416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-subTitle.svelte-13x4jd3{font-size:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-subTitle.svelte-13x4jd3{font-size:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-subTitle.svelte-13x4jd3{font-size:calc(0.0104270833 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-subTitle.svelte-13x4jd3{font-size:calc(0.0148958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-subTitle.svelte-13x4jd3{font-size:calc(0.0094791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-subTitle.svelte-13x4jd3{font-size:calc(0.0121875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-subTitle.svelte-13x4jd3{font-size:calc(0.0148958333 * 100vw + 0px)}}.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{font-size:calc(0.0104166667 * 100vw + 0px);top:calc(0.0041666667 * 100vw + 0px);right:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{top:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{top:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{top:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{top:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{top:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{top:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{top:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{right:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{right:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{right:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{right:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{right:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number--by.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3{right:calc(0.0057291667 * 100vw + 0px)}}.transport-interaction-shop__window-car-info-number--transit.svelte-13x4jd3.svelte-13x4jd3{align-items:center;padding-left:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number--transit.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--transit.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number--transit.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number--transit.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--transit.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number--transit.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number--transit.svelte-13x4jd3.svelte-13x4jd3{padding-left:calc(0.01375 * 100vw + 0px)}}.transport-interaction-shop__window-car-info-number--transit.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.0109375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number--transit.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--transit.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number--transit.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.008421875 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number--transit.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number--transit.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.00765625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number--transit.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.00984375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number--transit.svelte-13x4jd3 .transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3{font-size:calc(0.01203125 * 100vw + 0px)}}.transport-interaction-shop__window-car-info-number-img.svelte-13x4jd3.svelte-13x4jd3{position:absolute;left:0;height:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number-img.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number-img.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number-img.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number-img.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number-img.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number-img.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number-img.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0171875 * 100vw + 0px)}}.transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3.svelte-13x4jd3{position:absolute;display:flex;align-items:center;gap:calc(0.003125 * 100vw + 0px);margin-top:calc(0.0015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3.svelte-13x4jd3{margin-top:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3.svelte-13x4jd3{margin-top:calc(0.0015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3.svelte-13x4jd3{margin-top:calc(0.001203125 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3.svelte-13x4jd3{margin-top:calc(0.00171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3.svelte-13x4jd3{margin-top:calc(0.00109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3.svelte-13x4jd3{margin-top:calc(0.00140625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-info-number-titles.svelte-13x4jd3.svelte-13x4jd3{margin-top:calc(0.00171875 * 100vw + 0px)}}.transport-interaction-shop__window-car-info-number-title.svelte-13x4jd3.svelte-13x4jd3{font-family:\"GOST-R\";color:#111111;text-transform:uppercase}.transport-interaction-shop__window-car-info-number-subTitle.svelte-13x4jd3.svelte-13x4jd3{font-family:\"GOST-R\";color:#111111;text-transform:uppercase}.transport-interaction-shop__window-car-info-number-region.svelte-13x4jd3.svelte-13x4jd3{position:absolute;font-family:\"GOST-R\";color:#111111;text-transform:uppercase}.transport-interaction-shop__window-car-img.svelte-13x4jd3.svelte-13x4jd3{z-index:1;margin-top:calc(0.015625 * 100vw + 0px);height:calc(0.1552083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-img.svelte-13x4jd3.svelte-13x4jd3{margin-top:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-img.svelte-13x4jd3.svelte-13x4jd3{margin-top:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-img.svelte-13x4jd3.svelte-13x4jd3{margin-top:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-img.svelte-13x4jd3.svelte-13x4jd3{margin-top:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-img.svelte-13x4jd3.svelte-13x4jd3{margin-top:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-img.svelte-13x4jd3.svelte-13x4jd3{margin-top:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-img.svelte-13x4jd3.svelte-13x4jd3{margin-top:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-img.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.1552083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-img.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.1552083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-img.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.1195104167 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-img.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.1707291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-img.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.1086458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-img.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.1396875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-img.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.1707291667 * 100vw + 0px)}}.transport-interaction-shop__window-car-buttons.svelte-13x4jd3.svelte-13x4jd3{z-index:1;display:flex;gap:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-buttons.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-buttons.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-buttons.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-buttons.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-buttons.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-buttons.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-buttons.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0057291667 * 100vw + 0px)}}.transport-interaction-shop__window-car-button.svelte-13x4jd3.svelte-13x4jd3{display:flex;align-items:center;justify-content:center;background:linear-gradient(90deg, #FFFFFF 0%, #BCBCBC 100%);border:1px solid rgba(255, 255, 255, 0.05);color:rgba(0, 0, 0, 0.85);cursor:pointer;transition:background 0.2s linear;gap:calc(0.0026041667 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.1192708333 * 100vw + 0px);height:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-button.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-button.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-button.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-button.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-button.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-button.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-button.svelte-13x4jd3.svelte-13x4jd3{gap:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-button.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-button.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-button.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-button.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-button.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-button.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-button.svelte-13x4jd3.svelte-13x4jd3{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-button.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.1192708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-button.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.1192708333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-button.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.0918385417 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-button.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.1311979167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-button.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.0834895833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-button.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.10734375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-button.svelte-13x4jd3.svelte-13x4jd3{width:calc(0.1311979167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-button.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-button.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-button.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-button.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-button.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-button.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-button.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0275 * 100vw + 0px)}}.transport-interaction-shop__window-car-button.svelte-13x4jd3.svelte-13x4jd3:hover{background:linear-gradient(90deg, #BCBCBC 0%, #979797 100%)}.transport-interaction-shop__window-car-button.svelte-13x4jd3.svelte-13x4jd3:nth-child(2){background:linear-gradient(90deg, #FD0E42 0%, #AA0022 100%);color:#FFFFFF}.transport-interaction-shop__window-car-button.svelte-13x4jd3.svelte-13x4jd3:nth-child(2):hover{background:linear-gradient(90deg, #AA0022 0%, #92001D 100%)}.transport-interaction-shop__window-car-button-title.svelte-13x4jd3.svelte-13x4jd3{font-family:\"HeadingNowBold\";text-transform:uppercase;font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-button-title.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-button-title.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-button-title.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-button-title.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-button-title.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-button-title.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-button-title.svelte-13x4jd3.svelte-13x4jd3{font-size:calc(0.006875 * 100vw + 0px)}}.transport-interaction-shop__window-car-button-img.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-shop__window-car-button-img.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-shop__window-car-button-img.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-shop__window-car-button-img.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-shop__window-car-button-img.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-shop__window-car-button-img.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-shop__window-car-button-img.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-shop__window-car-button-img.svelte-13x4jd3.svelte-13x4jd3{height:calc(0.0091666667 * 100vw + 0px)}}");
}

function transport_interaction_shop_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[13] = list[i];
	return child_ctx;
}

// (3934:8) {#if !isEmpty(shopInformation)}
function transport_interaction_shop_index_svelte_create_if_block(ctx) {
	let div7;
	let div0;
	let t0;
	let t1;
	let t2;
	let t3;
	let t4;
	let t5;
	let t6;
	let t7;
	let show_if = !(0,lodash.isEmpty)(/*shopInformation*/ ctx[0].improve);
	let t8;
	let div6;
	let img0;
	let img0_src_value;
	let t9;
	let p0;
	let t10_value = /*shopInformation*/ ctx[0].carName + "";
	let t10;
	let t11;
	let div2;
	let div1;
	let t12;
	let p1;
	let t13_value = MAP_TIER_TYPES_TO_TITLE[/*shopInformation*/ ctx[0].rarity] + "";
	let t13;
	let t14;
	let t15;
	let previous_key = /*bonusesInfo*/ ctx[1].length.toString();
	let div1_class_value;
	let t16;
	let t17;
	let img1;
	let img1_src_value;
	let t18;
	let div5;
	let div3;
	let img2;
	let img2_src_value;
	let t19;
	let p2;
	let t21;
	let div4;
	let p3;
	let t22_value = formatMoney(/*shopInformation*/ ctx[0].priceButton) + "";
	let t22;
	let t23;
	let img3;
	let img3_src_value;
	let mounted;
	let dispose;
	let if_block0 = /*shopInformation*/ ctx[0].owner && shop_index_svelte_create_if_block_14(ctx);
	let if_block1 = /*shopInformation*/ ctx[0].mileage && shop_index_svelte_create_if_block_13(ctx);
	let if_block2 = /*shopInformation*/ ctx[0].currentTaxes && shop_index_svelte_create_if_block_12(ctx);
	let if_block3 = /*shopInformation*/ ctx[0].price && shop_index_svelte_create_if_block_11(ctx);
	let if_block4 = /*shopInformation*/ ctx[0].currentCarState && shop_index_svelte_create_if_block_10(ctx);
	let if_block5 = /*shopInformation*/ ctx[0].currentWheelState && transport_interaction_shop_index_svelte_create_if_block_9(ctx);
	let if_block6 = /*shopInformation*/ ctx[0].currentOilState && transport_interaction_shop_index_svelte_create_if_block_8(ctx);
	let if_block7 = /*shopInformation*/ ctx[0].currentFuel && transport_interaction_shop_index_svelte_create_if_block_7(ctx);
	let if_block8 = show_if && transport_interaction_shop_index_svelte_create_if_block_6(ctx);
	let if_block9 = /*shopInformation*/ ctx[0].rarity === 'random' && transport_interaction_shop_index_svelte_create_if_block_5(ctx);
	let if_block10 = /*shopInformation*/ ctx[0].rarityLevel && transport_interaction_shop_index_svelte_create_if_block_4(ctx);
	let key_block = shop_index_svelte_create_key_block(ctx);
	let if_block11 = /*shopInformation*/ ctx[0].plateNumber && transport_interaction_shop_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			div7 = internal_element("div");
			div0 = internal_element("div");
			if (if_block0) if_block0.c();
			t0 = space();
			if (if_block1) if_block1.c();
			t1 = space();
			if (if_block2) if_block2.c();
			t2 = space();
			if (if_block3) if_block3.c();
			t3 = space();
			if (if_block4) if_block4.c();
			t4 = space();
			if (if_block5) if_block5.c();
			t5 = space();
			if (if_block6) if_block6.c();
			t6 = space();
			if (if_block7) if_block7.c();
			t7 = space();
			if (if_block8) if_block8.c();
			t8 = space();
			div6 = internal_element("div");
			img0 = internal_element("img");
			t9 = space();
			p0 = internal_element("p");
			t10 = internal_text(t10_value);
			t11 = space();
			div2 = internal_element("div");
			div1 = internal_element("div");
			if (if_block9) if_block9.c();
			t12 = space();
			p1 = internal_element("p");
			t13 = internal_text(t13_value);
			t14 = space();
			if (if_block10) if_block10.c();
			t15 = space();
			key_block.c();
			t16 = space();
			if (if_block11) if_block11.c();
			t17 = space();
			img1 = internal_element("img");
			t18 = space();
			div5 = internal_element("div");
			div3 = internal_element("div");
			img2 = internal_element("img");
			t19 = space();
			p2 = internal_element("p");
			p2.textContent = "тест-драйв";
			t21 = space();
			div4 = internal_element("div");
			p3 = internal_element("p");
			t22 = internal_text(t22_value);
			t23 = space();
			img3 = internal_element("img");
			attr(div0, "class", "transport-interaction-shop__window-list svelte-13x4jd3");
			attr(img0, "class", "transport-interaction-shop__window-car-background svelte-13x4jd3");
			if (!src_url_equal(img0.src, img0_src_value = MAP_TIER_TYPES_TO_SHOP_BACKGROUND[/*shopInformation*/ ctx[0].rarity])) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "car-background");
			attr(p0, "class", "transport-interaction-shop__window-car-name svelte-13x4jd3");
			attr(p1, "class", "transport-interaction-shop__window-car-info-rarity-title svelte-13x4jd3");
			attr(div1, "class", div1_class_value = "transport-interaction-shop__window-car-info-rarity transport-interaction-shop__window-car-info-rarity--" + /*shopInformation*/ ctx[0].rarity + " svelte-13x4jd3");
			attr(div2, "class", "transport-interaction-shop__window-car-info svelte-13x4jd3");
			attr(img1, "class", "transport-interaction-shop__window-car-img svelte-13x4jd3");
			if (!src_url_equal(img1.src, img1_src_value = `${cdn_CDN_URL_RODINA}/assets/images/inventory/vehicles/512/${/*shopInformation*/ ctx[0].image}.webp`)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "car");
			attr(img2, "class", "transport-interaction-shop__window-car-button-img svelte-13x4jd3");
			if (!src_url_equal(img2.src, img2_src_value = wheel_bold_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "wheel");
			attr(p2, "class", "transport-interaction-shop__window-car-button-title svelte-13x4jd3");
			attr(div3, "class", "transport-interaction-shop__window-car-button svelte-13x4jd3");
			attr(p3, "class", "transport-interaction-shop__window-car-button-title svelte-13x4jd3");
			attr(img3, "class", "transport-interaction-shop__window-car-button-img svelte-13x4jd3");
			if (!src_url_equal(img3.src, img3_src_value = white_coin_namespaceObject)) attr(img3, "src", img3_src_value);
			attr(img3, "alt", "currency");
			attr(div4, "class", "transport-interaction-shop__window-car-button svelte-13x4jd3");
			attr(div5, "class", "transport-interaction-shop__window-car-buttons svelte-13x4jd3");
			attr(div6, "class", "transport-interaction-shop__window-car svelte-13x4jd3");
			attr(div7, "class", "transport-interaction-shop__window-car-wrapper svelte-13x4jd3");
		},
		m(target, anchor) {
			insert(target, div7, anchor);
			append(div7, div0);
			if (if_block0) if_block0.m(div0, null);
			append(div0, t0);
			if (if_block1) if_block1.m(div0, null);
			append(div0, t1);
			if (if_block2) if_block2.m(div0, null);
			append(div0, t2);
			if (if_block3) if_block3.m(div0, null);
			append(div0, t3);
			if (if_block4) if_block4.m(div0, null);
			append(div0, t4);
			if (if_block5) if_block5.m(div0, null);
			append(div0, t5);
			if (if_block6) if_block6.m(div0, null);
			append(div0, t6);
			if (if_block7) if_block7.m(div0, null);
			append(div0, t7);
			if (if_block8) if_block8.m(div0, null);
			append(div7, t8);
			append(div7, div6);
			append(div6, img0);
			append(div6, t9);
			append(div6, p0);
			append(p0, t10);
			append(div6, t11);
			append(div6, div2);
			append(div2, div1);
			if (if_block9) if_block9.m(div1, null);
			append(div1, t12);
			append(div1, p1);
			append(p1, t13);
			append(p1, t14);
			if (if_block10) if_block10.m(p1, null);
			append(div1, t15);
			key_block.m(div1, null);
			append(div2, t16);
			if (if_block11) if_block11.m(div2, null);
			append(div6, t17);
			append(div6, img1);
			append(div6, t18);
			append(div6, div5);
			append(div5, div3);
			append(div3, img2);
			append(div3, t19);
			append(div3, p2);
			append(div5, t21);
			append(div5, div4);
			append(div4, p3);
			append(p3, t22);
			append(div4, t23);
			append(div4, img3);

			if (!mounted) {
				dispose = [
					listen(div3, "click", /*testDrive*/ ctx[4]),
					listen(div4, "click", /*click_handler*/ ctx[7])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (/*shopInformation*/ ctx[0].owner) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = shop_index_svelte_create_if_block_14(ctx);
					if_block0.c();
					if_block0.m(div0, t0);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (/*shopInformation*/ ctx[0].mileage) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = shop_index_svelte_create_if_block_13(ctx);
					if_block1.c();
					if_block1.m(div0, t1);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (/*shopInformation*/ ctx[0].currentTaxes) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = shop_index_svelte_create_if_block_12(ctx);
					if_block2.c();
					if_block2.m(div0, t2);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			if (/*shopInformation*/ ctx[0].price) {
				if (if_block3) {
					if_block3.p(ctx, dirty);
				} else {
					if_block3 = shop_index_svelte_create_if_block_11(ctx);
					if_block3.c();
					if_block3.m(div0, t3);
				}
			} else if (if_block3) {
				if_block3.d(1);
				if_block3 = null;
			}

			if (/*shopInformation*/ ctx[0].currentCarState) {
				if (if_block4) {
					if_block4.p(ctx, dirty);
				} else {
					if_block4 = shop_index_svelte_create_if_block_10(ctx);
					if_block4.c();
					if_block4.m(div0, t4);
				}
			} else if (if_block4) {
				if_block4.d(1);
				if_block4 = null;
			}

			if (/*shopInformation*/ ctx[0].currentWheelState) {
				if (if_block5) {
					if_block5.p(ctx, dirty);
				} else {
					if_block5 = transport_interaction_shop_index_svelte_create_if_block_9(ctx);
					if_block5.c();
					if_block5.m(div0, t5);
				}
			} else if (if_block5) {
				if_block5.d(1);
				if_block5 = null;
			}

			if (/*shopInformation*/ ctx[0].currentOilState) {
				if (if_block6) {
					if_block6.p(ctx, dirty);
				} else {
					if_block6 = transport_interaction_shop_index_svelte_create_if_block_8(ctx);
					if_block6.c();
					if_block6.m(div0, t6);
				}
			} else if (if_block6) {
				if_block6.d(1);
				if_block6 = null;
			}

			if (/*shopInformation*/ ctx[0].currentFuel) {
				if (if_block7) {
					if_block7.p(ctx, dirty);
				} else {
					if_block7 = transport_interaction_shop_index_svelte_create_if_block_7(ctx);
					if_block7.c();
					if_block7.m(div0, t7);
				}
			} else if (if_block7) {
				if_block7.d(1);
				if_block7 = null;
			}

			if (dirty & /*shopInformation*/ 1) show_if = !(0,lodash.isEmpty)(/*shopInformation*/ ctx[0].improve);

			if (show_if) {
				if (if_block8) {
					if_block8.p(ctx, dirty);
				} else {
					if_block8 = transport_interaction_shop_index_svelte_create_if_block_6(ctx);
					if_block8.c();
					if_block8.m(div0, null);
				}
			} else if (if_block8) {
				if_block8.d(1);
				if_block8 = null;
			}

			if (dirty & /*shopInformation*/ 1 && !src_url_equal(img0.src, img0_src_value = MAP_TIER_TYPES_TO_SHOP_BACKGROUND[/*shopInformation*/ ctx[0].rarity])) {
				attr(img0, "src", img0_src_value);
			}

			if (dirty & /*shopInformation*/ 1 && t10_value !== (t10_value = /*shopInformation*/ ctx[0].carName + "")) set_data(t10, t10_value);

			if (/*shopInformation*/ ctx[0].rarity === 'random') {
				if (if_block9) {
					
				} else {
					if_block9 = transport_interaction_shop_index_svelte_create_if_block_5(ctx);
					if_block9.c();
					if_block9.m(div1, t12);
				}
			} else if (if_block9) {
				if_block9.d(1);
				if_block9 = null;
			}

			if (dirty & /*shopInformation*/ 1 && t13_value !== (t13_value = MAP_TIER_TYPES_TO_TITLE[/*shopInformation*/ ctx[0].rarity] + "")) set_data(t13, t13_value);

			if (/*shopInformation*/ ctx[0].rarityLevel) {
				if (if_block10) {
					if_block10.p(ctx, dirty);
				} else {
					if_block10 = transport_interaction_shop_index_svelte_create_if_block_4(ctx);
					if_block10.c();
					if_block10.m(p1, null);
				}
			} else if (if_block10) {
				if_block10.d(1);
				if_block10 = null;
			}

			if (dirty & /*bonusesInfo*/ 2 && safe_not_equal(previous_key, previous_key = /*bonusesInfo*/ ctx[1].length.toString())) {
				key_block.d(1);
				key_block = shop_index_svelte_create_key_block(ctx);
				key_block.c();
				key_block.m(div1, null);
			} else {
				key_block.p(ctx, dirty);
			}

			if (dirty & /*shopInformation*/ 1 && div1_class_value !== (div1_class_value = "transport-interaction-shop__window-car-info-rarity transport-interaction-shop__window-car-info-rarity--" + /*shopInformation*/ ctx[0].rarity + " svelte-13x4jd3")) {
				attr(div1, "class", div1_class_value);
			}

			if (/*shopInformation*/ ctx[0].plateNumber) {
				if (if_block11) {
					if_block11.p(ctx, dirty);
				} else {
					if_block11 = transport_interaction_shop_index_svelte_create_if_block_1(ctx);
					if_block11.c();
					if_block11.m(div2, null);
				}
			} else if (if_block11) {
				if_block11.d(1);
				if_block11 = null;
			}

			if (dirty & /*shopInformation*/ 1 && !src_url_equal(img1.src, img1_src_value = `${cdn_CDN_URL_RODINA}/assets/images/inventory/vehicles/512/${/*shopInformation*/ ctx[0].image}.webp`)) {
				attr(img1, "src", img1_src_value);
			}

			if (dirty & /*shopInformation*/ 1 && t22_value !== (t22_value = formatMoney(/*shopInformation*/ ctx[0].priceButton) + "")) set_data(t22, t22_value);
		},
		d(detaching) {
			if (detaching) detach(div7);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			if (if_block2) if_block2.d();
			if (if_block3) if_block3.d();
			if (if_block4) if_block4.d();
			if (if_block5) if_block5.d();
			if (if_block6) if_block6.d();
			if (if_block7) if_block7.d();
			if (if_block8) if_block8.d();
			if (if_block9) if_block9.d();
			if (if_block10) if_block10.d();
			key_block.d(detaching);
			if (if_block11) if_block11.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (3937:20) {#if shopInformation.owner}
function shop_index_svelte_create_if_block_14(ctx) {
	let div2;
	let div0;
	let t0;
	let div1;
	let p0;
	let t1_value = /*shopInformation*/ ctx[0].owner + "";
	let t1;
	let t2;
	let p1;

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			div0.innerHTML = `<i class="transport-interaction-shop__window-item-icon transport-interaction-shop__window-item-icon--player icon-transport-player svelte-13x4jd3"></i>`;
			t0 = space();
			div1 = internal_element("div");
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			p1 = internal_element("p");
			p1.textContent = "Владелец";
			attr(div0, "class", "transport-interaction-shop__window-item-icon-wrapper svelte-13x4jd3");
			attr(p0, "class", "transport-interaction-shop__window-item-name svelte-13x4jd3");
			attr(p1, "class", "transport-interaction-shop__window-item-title svelte-13x4jd3");
			attr(div1, "class", "transport-interaction-shop__window-item-title-wrapper");
			attr(div2, "class", "transport-interaction-shop__window-item svelte-13x4jd3");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div2, t0);
			append(div2, div1);
			append(div1, p0);
			append(p0, t1);
			append(div1, t2);
			append(div1, p1);
		},
		p(ctx, dirty) {
			if (dirty & /*shopInformation*/ 1 && t1_value !== (t1_value = /*shopInformation*/ ctx[0].owner + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

// (3952:20) {#if shopInformation.mileage}
function shop_index_svelte_create_if_block_13(ctx) {
	let div2;
	let div0;
	let t0;
	let div1;
	let p0;
	let t1_value = formatMoney(/*shopInformation*/ ctx[0].mileage) + "";
	let t1;
	let t2;
	let t3;
	let p1;

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			div0.innerHTML = `<i class="transport-interaction-shop__window-item-icon icon-transport-speed svelte-13x4jd3"></i>`;
			t0 = space();
			div1 = internal_element("div");
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = internal_text(" КМ");
			t3 = space();
			p1 = internal_element("p");
			p1.textContent = "Пробег";
			attr(div0, "class", "transport-interaction-shop__window-item-icon-wrapper svelte-13x4jd3");
			attr(p0, "class", "transport-interaction-shop__window-item-name transport-interaction-shop__window-item-name--mileage svelte-13x4jd3");
			attr(p1, "class", "transport-interaction-shop__window-item-title svelte-13x4jd3");
			attr(div1, "class", "transport-interaction-shop__window-item-title-wrapper");
			attr(div2, "class", "transport-interaction-shop__window-item svelte-13x4jd3");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div2, t0);
			append(div2, div1);
			append(div1, p0);
			append(p0, t1);
			append(p0, t2);
			append(div1, t3);
			append(div1, p1);
		},
		p(ctx, dirty) {
			if (dirty & /*shopInformation*/ 1 && t1_value !== (t1_value = formatMoney(/*shopInformation*/ ctx[0].mileage) + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

// (3967:20) {#if shopInformation.currentTaxes}
function shop_index_svelte_create_if_block_12(ctx) {
	let div2;
	let div0;
	let t0;
	let div1;
	let p0;
	let t1_value = formatMoney(/*shopInformation*/ ctx[0].currentTaxes) + "";
	let t1;
	let t2;
	let img0;
	let img0_src_value;
	let t3;
	let span;
	let t5;
	let p1;
	let t6_value = formatMoney(/*shopInformation*/ ctx[0].maxTaxes) + "";
	let t6;
	let t7;
	let img1;
	let img1_src_value;
	let t8;
	let p2;

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			div0.innerHTML = `<i class="transport-interaction-shop__window-item-icon icon-transport-taxes svelte-13x4jd3"></i>`;
			t0 = space();
			div1 = internal_element("div");
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			img0 = internal_element("img");
			t3 = space();
			span = internal_element("span");
			span.textContent = "из";
			t5 = space();
			p1 = internal_element("p");
			t6 = internal_text(t6_value);
			t7 = space();
			img1 = internal_element("img");
			t8 = space();
			p2 = internal_element("p");
			p2.textContent = "Налоги";
			attr(div0, "class", "transport-interaction-shop__window-item-icon-wrapper svelte-13x4jd3");
			attr(img0, "class", "transport-interaction-shop__window-item-name-img svelte-13x4jd3");
			if (!src_url_equal(img0.src, img0_src_value = shop_img_coin_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "currency");
			attr(span, "class", "transport-interaction-shop__window-item-name--small svelte-13x4jd3");
			attr(p0, "class", "transport-interaction-shop__window-item-name svelte-13x4jd3");
			attr(img1, "class", "transport-interaction-shop__window-item-name-img svelte-13x4jd3");
			if (!src_url_equal(img1.src, img1_src_value = shop_img_coin_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "currency");
			attr(p1, "class", "transport-interaction-shop__window-item-name transport-interaction-shop__window-item-name--taxes svelte-13x4jd3");
			attr(p2, "class", "transport-interaction-shop__window-item-title svelte-13x4jd3");
			attr(div1, "class", "transport-interaction-shop__window-item-title-wrapper");
			attr(div2, "class", "transport-interaction-shop__window-item svelte-13x4jd3");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div2, t0);
			append(div2, div1);
			append(div1, p0);
			append(p0, t1);
			append(p0, t2);
			append(p0, img0);
			append(p0, t3);
			append(p0, span);
			append(div1, t5);
			append(div1, p1);
			append(p1, t6);
			append(p1, t7);
			append(p1, img1);
			append(div1, t8);
			append(div1, p2);
		},
		p(ctx, dirty) {
			if (dirty & /*shopInformation*/ 1 && t1_value !== (t1_value = formatMoney(/*shopInformation*/ ctx[0].currentTaxes) + "")) set_data(t1, t1_value);
			if (dirty & /*shopInformation*/ 1 && t6_value !== (t6_value = formatMoney(/*shopInformation*/ ctx[0].maxTaxes) + "")) set_data(t6, t6_value);
		},
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

// (3998:20) {#if shopInformation.price}
function shop_index_svelte_create_if_block_11(ctx) {
	let div2;
	let div0;
	let t0;
	let div1;
	let p0;
	let t1_value = formatMoney(/*shopInformation*/ ctx[0].price) + "";
	let t1;
	let t2;
	let img;
	let img_src_value;
	let t3;
	let p1;

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			div0.innerHTML = `<i class="transport-interaction-shop__window-item-icon icon-transport-price svelte-13x4jd3"></i>`;
			t0 = space();
			div1 = internal_element("div");
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			img = internal_element("img");
			t3 = space();
			p1 = internal_element("p");
			p1.textContent = "Гос. цена";
			attr(div0, "class", "transport-interaction-shop__window-item-icon-wrapper svelte-13x4jd3");
			attr(img, "class", "transport-interaction-shop__window-item-name-img svelte-13x4jd3");
			if (!src_url_equal(img.src, img_src_value = shop_img_coin_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "currency");
			attr(p0, "class", "transport-interaction-shop__window-item-name transport-interaction-shop__window-item-name--price svelte-13x4jd3");
			attr(p1, "class", "transport-interaction-shop__window-item-title svelte-13x4jd3");
			attr(div1, "class", "transport-interaction-shop__window-item-title-wrapper");
			attr(div2, "class", "transport-interaction-shop__window-item svelte-13x4jd3");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div2, t0);
			append(div2, div1);
			append(div1, p0);
			append(p0, t1);
			append(p0, t2);
			append(p0, img);
			append(div1, t3);
			append(div1, p1);
		},
		p(ctx, dirty) {
			if (dirty & /*shopInformation*/ 1 && t1_value !== (t1_value = formatMoney(/*shopInformation*/ ctx[0].price) + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

// (4018:20) {#if shopInformation.currentCarState}
function shop_index_svelte_create_if_block_10(ctx) {
	let div2;
	let div0;
	let t0;
	let div1;
	let p0;
	let t1_value = /*shopInformation*/ ctx[0].currentCarState + "";
	let t1;
	let t2;
	let p1;

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			div0.innerHTML = `<i class="transport-interaction-shop__window-item-icon icon-transport-engine svelte-13x4jd3"></i>`;
			t0 = space();
			div1 = internal_element("div");
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			p1 = internal_element("p");
			p1.textContent = "Состояние авто";
			attr(div0, "class", "transport-interaction-shop__window-item-icon-wrapper svelte-13x4jd3");
			attr(p0, "class", "transport-interaction-shop__window-item-name transport-interaction-shop__window-item-name--other svelte-13x4jd3");
			attr(p1, "class", "transport-interaction-shop__window-item-title svelte-13x4jd3");
			attr(div1, "class", "transport-interaction-shop__window-item-title-wrapper");
			attr(div2, "class", "transport-interaction-shop__window-item svelte-13x4jd3");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div2, t0);
			append(div2, div1);
			append(div1, p0);
			append(p0, t1);
			append(div1, t2);
			append(div1, p1);
		},
		p(ctx, dirty) {
			if (dirty & /*shopInformation*/ 1 && t1_value !== (t1_value = /*shopInformation*/ ctx[0].currentCarState + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

// (4033:20) {#if shopInformation.currentWheelState}
function transport_interaction_shop_index_svelte_create_if_block_9(ctx) {
	let div2;
	let div0;
	let t0;
	let div1;
	let p0;
	let t1_value = /*shopInformation*/ ctx[0].currentWheelState + "";
	let t1;
	let t2;
	let p1;

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			div0.innerHTML = `<i class="transport-interaction-shop__window-item-icon icon-transport-wheel svelte-13x4jd3"></i>`;
			t0 = space();
			div1 = internal_element("div");
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			p1 = internal_element("p");
			p1.textContent = "Состояние шин";
			attr(div0, "class", "transport-interaction-shop__window-item-icon-wrapper svelte-13x4jd3");
			attr(p0, "class", "transport-interaction-shop__window-item-name transport-interaction-shop__window-item-name--other svelte-13x4jd3");
			attr(p1, "class", "transport-interaction-shop__window-item-title svelte-13x4jd3");
			attr(div1, "class", "transport-interaction-shop__window-item-title-wrapper");
			attr(div2, "class", "transport-interaction-shop__window-item svelte-13x4jd3");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div2, t0);
			append(div2, div1);
			append(div1, p0);
			append(p0, t1);
			append(div1, t2);
			append(div1, p1);
		},
		p(ctx, dirty) {
			if (dirty & /*shopInformation*/ 1 && t1_value !== (t1_value = /*shopInformation*/ ctx[0].currentWheelState + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

// (4048:20) {#if shopInformation.currentOilState}
function transport_interaction_shop_index_svelte_create_if_block_8(ctx) {
	let div2;
	let div0;
	let t0;
	let div1;
	let p0;
	let t1_value = /*shopInformation*/ ctx[0].currentOilState + "";
	let t1;
	let t2;
	let p1;

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			div0.innerHTML = `<i class="transport-interaction-shop__window-item-icon icon-transport-oil svelte-13x4jd3"></i>`;
			t0 = space();
			div1 = internal_element("div");
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			p1 = internal_element("p");
			p1.textContent = "Состояние масла";
			attr(div0, "class", "transport-interaction-shop__window-item-icon-wrapper svelte-13x4jd3");
			attr(p0, "class", "transport-interaction-shop__window-item-name transport-interaction-shop__window-item-name--other svelte-13x4jd3");
			attr(p1, "class", "transport-interaction-shop__window-item-title svelte-13x4jd3");
			attr(div1, "class", "transport-interaction-shop__window-item-title-wrapper");
			attr(div2, "class", "transport-interaction-shop__window-item svelte-13x4jd3");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div2, t0);
			append(div2, div1);
			append(div1, p0);
			append(p0, t1);
			append(div1, t2);
			append(div1, p1);
		},
		p(ctx, dirty) {
			if (dirty & /*shopInformation*/ 1 && t1_value !== (t1_value = /*shopInformation*/ ctx[0].currentOilState + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

// (4063:20) {#if shopInformation.currentFuel}
function transport_interaction_shop_index_svelte_create_if_block_7(ctx) {
	let div2;
	let div0;
	let t0;
	let div1;
	let p0;
	let t1_value = /*shopInformation*/ ctx[0].currentFuel + "";
	let t1;
	let t2;
	let p1;

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			div0.innerHTML = `<i class="transport-interaction-shop__window-item-icon icon-transport-fuel svelte-13x4jd3"></i>`;
			t0 = space();
			div1 = internal_element("div");
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			p1 = internal_element("p");
			p1.textContent = "Расход топлива";
			attr(div0, "class", "transport-interaction-shop__window-item-icon-wrapper svelte-13x4jd3");
			attr(p0, "class", "transport-interaction-shop__window-item-name transport-interaction-shop__window-item-name--other svelte-13x4jd3");
			attr(p1, "class", "transport-interaction-shop__window-item-title svelte-13x4jd3");
			attr(div1, "class", "transport-interaction-shop__window-item-title-wrapper");
			attr(div2, "class", "transport-interaction-shop__window-item svelte-13x4jd3");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div2, t0);
			append(div2, div1);
			append(div1, p0);
			append(p0, t1);
			append(div1, t2);
			append(div1, p1);
		},
		p(ctx, dirty) {
			if (dirty & /*shopInformation*/ 1 && t1_value !== (t1_value = /*shopInformation*/ ctx[0].currentFuel + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

// (4078:20) {#if !isEmpty(shopInformation.improve)}
function transport_interaction_shop_index_svelte_create_if_block_6(ctx) {
	let each_1_anchor;
	let each_value = /*shopInformation*/ ctx[0].improve;
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = transport_interaction_shop_index_svelte_create_each_block(transport_interaction_shop_index_svelte_get_each_context(ctx, each_value, i));
	}

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*shopInformation*/ 1) {
				each_value = /*shopInformation*/ ctx[0].improve;
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = transport_interaction_shop_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = transport_interaction_shop_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}
		},
		d(detaching) {
			destroy_each(each_blocks, detaching);
			if (detaching) detach(each_1_anchor);
		}
	};
}

// (4079:24) {#each shopInformation.improve as improve}
function transport_interaction_shop_index_svelte_create_each_block(ctx) {
	let div2;
	let div0;
	let i;
	let i_class_value;
	let t0;
	let div1;
	let p0;
	let t1_value = /*improve*/ ctx[13].title + "";
	let t1;
	let t2;
	let p1;
	let t3;
	let t4_value = /*improve*/ ctx[13].id + "";
	let t4;
	let t5;
	let div2_class_value;

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div1 = internal_element("div");
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			p1 = internal_element("p");
			t3 = internal_text("Улучшение №");
			t4 = internal_text(t4_value);
			t5 = space();
			attr(i, "class", i_class_value = "transport-interaction-shop__window-item-icon icon-transport-" + /*improve*/ ctx[13].icon + " svelte-13x4jd3");
			attr(div0, "class", "transport-interaction-shop__window-item-icon-wrapper svelte-13x4jd3");
			attr(p0, "class", "transport-interaction-shop__window-item-name transport-interaction-shop__window-item-name--other svelte-13x4jd3");
			attr(p1, "class", "transport-interaction-shop__window-item-title svelte-13x4jd3");
			attr(div1, "class", "transport-interaction-shop__window-item-title-wrapper");
			attr(div2, "class", div2_class_value = "transport-interaction-shop__window-item transport-interaction-shop__window-item--" + /*improve*/ ctx[13].rarity + " svelte-13x4jd3");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div0, i);
			append(div2, t0);
			append(div2, div1);
			append(div1, p0);
			append(p0, t1);
			append(div1, t2);
			append(div1, p1);
			append(p1, t3);
			append(p1, t4);
			append(div2, t5);
		},
		p(ctx, dirty) {
			if (dirty & /*shopInformation*/ 1 && i_class_value !== (i_class_value = "transport-interaction-shop__window-item-icon icon-transport-" + /*improve*/ ctx[13].icon + " svelte-13x4jd3")) {
				attr(i, "class", i_class_value);
			}

			if (dirty & /*shopInformation*/ 1 && t1_value !== (t1_value = /*improve*/ ctx[13].title + "")) set_data(t1, t1_value);
			if (dirty & /*shopInformation*/ 1 && t4_value !== (t4_value = /*improve*/ ctx[13].id + "")) set_data(t4, t4_value);

			if (dirty & /*shopInformation*/ 1 && div2_class_value !== (div2_class_value = "transport-interaction-shop__window-item transport-interaction-shop__window-item--" + /*improve*/ ctx[13].rarity + " svelte-13x4jd3")) {
				attr(div2, "class", div2_class_value);
			}
		},
		d(detaching) {
			if (detaching) detach(div2);
		}
	};
}

// (4107:28) {#if shopInformation.rarity === 'random'}
function transport_interaction_shop_index_svelte_create_if_block_5(ctx) {
	let i;

	return {
		c() {
			i = internal_element("i");
			attr(i, "class", "transport-interaction-shop__window-car-info-rarity-title-icon icon-transport-dice svelte-13x4jd3");
		},
		m(target, anchor) {
			insert(target, i, anchor);
		},
		d(detaching) {
			if (detaching) detach(i);
		}
	};
}

// (4112:32) {#if shopInformation.rarityLevel}
function transport_interaction_shop_index_svelte_create_if_block_4(ctx) {
	let t0;
	let t1_value = /*shopInformation*/ ctx[0].rarityLevel + "";
	let t1;
	let t2;

	return {
		c() {
			t0 = internal_text("(");
			t1 = internal_text(t1_value);
			t2 = internal_text(")");
		},
		m(target, anchor) {
			insert(target, t0, anchor);
			insert(target, t1, anchor);
			insert(target, t2, anchor);
		},
		p(ctx, dirty) {
			if (dirty & /*shopInformation*/ 1 && t1_value !== (t1_value = /*shopInformation*/ ctx[0].rarityLevel + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(t0);
			if (detaching) detach(t1);
			if (detaching) detach(t2);
		}
	};
}

// (4116:28) {#key bonusesInfo.length.toString()}
function shop_index_svelte_create_key_block(ctx) {
	let div;
	let tooltip_action;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="transport-interaction-shop__window-car-info-rarity-icon svelte-13x4jd3">i</p>`;
			attr(div, "class", "transport-interaction-shop__window-car-info-rarity-icon-wrapper svelte-13x4jd3");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = action_destroyer(tooltip_action = components_tooltip_tooltip.call(null, div, {
					bonuses: /*bonusesInfo*/ ctx[1],
					tier: /*shopInformation*/ ctx[0].rarity
				}));

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (tooltip_action && internal_is_function(tooltip_action.update) && dirty & /*bonusesInfo, shopInformation*/ 3) tooltip_action.update.call(null, {
				bonuses: /*bonusesInfo*/ ctx[1],
				tier: /*shopInformation*/ ctx[0].rarity
			});
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (4128:24) {#if shopInformation.plateNumber}
function transport_interaction_shop_index_svelte_create_if_block_1(ctx) {
	let div1;
	let img;
	let img_src_value;
	let t0;
	let div0;
	let t1;
	let div1_class_value;

	function select_block_type(ctx, dirty) {
		if (/*shopInformation*/ ctx[0].plateCountry === 'ua' || /*shopInformation*/ ctx[0].plateCountry === 'by') return transport_interaction_shop_index_svelte_create_if_block_3;
		return transport_interaction_shop_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block0 = current_block_type(ctx);
	let if_block1 = /*shopInformation*/ ctx[0].plateRegion && transport_interaction_shop_index_svelte_create_if_block_2(ctx);

	return {
		c() {
			div1 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div0 = internal_element("div");
			if_block0.c();
			t1 = space();
			if (if_block1) if_block1.c();
			attr(img, "class", "transport-interaction-shop__window-car-info-number-img svelte-13x4jd3");
			if (!src_url_equal(img.src, img_src_value = MAP_PLATE_TYPES_TO_IMG[/*shopInformation*/ ctx[0].plateCountry])) attr(img, "src", img_src_value);
			attr(img, "alt", "car-number");
			attr(div0, "class", "transport-interaction-shop__window-car-info-number-titles svelte-13x4jd3");
			attr(div1, "class", div1_class_value = "transport-interaction-shop__window-car-info-number transport-interaction-shop__window-car-info-number--" + /*shopInformation*/ ctx[0].plateCountry + " svelte-13x4jd3");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, img);
			append(div1, t0);
			append(div1, div0);
			if_block0.m(div0, null);
			append(div1, t1);
			if (if_block1) if_block1.m(div1, null);
		},
		p(ctx, dirty) {
			if (dirty & /*shopInformation*/ 1 && !src_url_equal(img.src, img_src_value = MAP_PLATE_TYPES_TO_IMG[/*shopInformation*/ ctx[0].plateCountry])) {
				attr(img, "src", img_src_value);
			}

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block0) {
				if_block0.p(ctx, dirty);
			} else {
				if_block0.d(1);
				if_block0 = current_block_type(ctx);

				if (if_block0) {
					if_block0.c();
					if_block0.m(div0, null);
				}
			}

			if (/*shopInformation*/ ctx[0].plateRegion) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = transport_interaction_shop_index_svelte_create_if_block_2(ctx);
					if_block1.c();
					if_block1.m(div1, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty & /*shopInformation*/ 1 && div1_class_value !== (div1_class_value = "transport-interaction-shop__window-car-info-number transport-interaction-shop__window-car-info-number--" + /*shopInformation*/ ctx[0].plateCountry + " svelte-13x4jd3")) {
				attr(div1, "class", div1_class_value);
			}
		},
		d(detaching) {
			if (detaching) detach(div1);
			if_block0.d();
			if (if_block1) if_block1.d();
		}
	};
}

// (4143:36) {:else}
function transport_interaction_shop_index_svelte_create_else_block(ctx) {
	let p;
	let t_value = /*shopInformation*/ ctx[0].plateNumber + "";
	let t;

	return {
		c() {
			p = internal_element("p");
			t = internal_text(t_value);
			attr(p, "class", "transport-interaction-shop__window-car-info-number-title svelte-13x4jd3");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t);
		},
		p(ctx, dirty) {
			if (dirty & /*shopInformation*/ 1 && t_value !== (t_value = /*shopInformation*/ ctx[0].plateNumber + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

// (4136:36) {#if shopInformation.plateCountry === 'ua' || shopInformation.plateCountry === 'by'}
function transport_interaction_shop_index_svelte_create_if_block_3(ctx) {
	let p0;
	let t0;
	let t1;
	let p1;
	let t2;

	return {
		c() {
			p0 = internal_element("p");
			t0 = internal_text(/*plateText*/ ctx[2]);
			t1 = space();
			p1 = internal_element("p");
			t2 = internal_text(/*plateSubText*/ ctx[3]);
			attr(p0, "class", "transport-interaction-shop__window-car-info-number-title svelte-13x4jd3");
			attr(p1, "class", "transport-interaction-shop__window-car-info-number-subTitle svelte-13x4jd3");
		},
		m(target, anchor) {
			insert(target, p0, anchor);
			append(p0, t0);
			insert(target, t1, anchor);
			insert(target, p1, anchor);
			append(p1, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*plateText*/ 4) set_data(t0, /*plateText*/ ctx[2]);
			if (dirty & /*plateSubText*/ 8) set_data(t2, /*plateSubText*/ ctx[3]);
		},
		d(detaching) {
			if (detaching) detach(p0);
			if (detaching) detach(t1);
			if (detaching) detach(p1);
		}
	};
}

// (4149:32) {#if shopInformation.plateRegion}
function transport_interaction_shop_index_svelte_create_if_block_2(ctx) {
	let p;
	let t_value = /*shopInformation*/ ctx[0].plateRegion + "";
	let t;

	return {
		c() {
			p = internal_element("p");
			t = internal_text(t_value);
			attr(p, "class", "transport-interaction-shop__window-car-info-number-region svelte-13x4jd3");
		},
		m(target, anchor) {
			insert(target, p, anchor);
			append(p, t);
		},
		p(ctx, dirty) {
			if (dirty & /*shopInformation*/ 1 && t_value !== (t_value = /*shopInformation*/ ctx[0].plateRegion + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(p);
		}
	};
}

function transport_interaction_shop_index_svelte_create_fragment(ctx) {
	let div2;
	let exitbutton;
	let t0;
	let div1;
	let div0;
	let p;
	let t2;
	let i;
	let t3;
	let show_if = !(0,lodash.isEmpty)(/*shopInformation*/ ctx[0]);
	let current;
	let mounted;
	let dispose;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[6],
				fixedPosition: true
			}
		});

	let if_block = show_if && transport_interaction_shop_index_svelte_create_if_block(ctx);

	return {
		c() {
			div2 = internal_element("div");
			create_component(exitbutton.$$.fragment);
			t0 = space();
			div1 = internal_element("div");
			div0 = internal_element("div");
			p = internal_element("p");
			p.textContent = "ИНФОРМАЦИЯ О ТРАНСПОРТЕ";
			t2 = space();
			i = internal_element("i");
			t3 = space();
			if (if_block) if_block.c();
			attr(p, "class", "transport-interaction-shop__window-header-title svelte-13x4jd3");
			attr(i, "class", "transport-interaction-shop__window-header-exit icon-cancel svelte-13x4jd3");
			attr(div0, "class", "transport-interaction-shop__window-header svelte-13x4jd3");
			attr(div1, "class", "transport-interaction-shop__window svelte-13x4jd3");
			attr(div2, "class", "transport-interaction-shop svelte-13x4jd3");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			mount_component(exitbutton, div2, null);
			append(div2, t0);
			append(div2, div1);
			append(div1, div0);
			append(div0, p);
			append(div0, t2);
			append(div0, i);
			append(div1, t3);
			if (if_block) if_block.m(div1, null);
			current = true;

			if (!mounted) {
				dispose = listen(i, "click", /*handleClose*/ ctx[6]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*shopInformation*/ 1) show_if = !(0,lodash.isEmpty)(/*shopInformation*/ ctx[0]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = transport_interaction_shop_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div1, null);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div2);
			destroy_component(exitbutton);
			if (if_block) if_block.d();
			mounted = false;
			dispose();
		}
	};
}

function transport_interaction_shop_index_svelte_instance($$self, $$props, $$invalidate) {
	let shopInformation = {};
	let bonusesInfo = [];
	let plateText = '';
	let plateSubText = '';

	const parsePlateParts = () => {
		if (!shopInformation.plateNumber) return;
		const parts = (shopInformation.plateNumber || '').split(' ');
		const [first, ...rest] = parts;
		$$invalidate(2, plateText = first || '');
		$$invalidate(3, plateSubText = rest.join(' ') || '');
	};

	const initializeShopInformation = shopInformationDto => {
		$$invalidate(0, shopInformation = shopInformationDto);
		parsePlateParts();
	};

	const initializeBonuses = bonusesInfoDto => {
		$$invalidate(1, bonusesInfo = bonusesInfoDto);
	};

	const testDrive = () => {
		sendClientMessage('transportInteraction.shop.testDrive');
	};

	const buy = price => {
		sendClientMessage('transportInteraction.shop.buy', price);
	};

	const handleClose = () => {
		sendClientMessage('transportInteraction.shop.exit');
	};

	const unregisterInitializeShopInformation = registerEvent('transportInteraction.shop.initialize', initializeShopInformation);
	const unregisterInitializeBonuses = registerEvent('transportInteraction.shop.initializeBonuses', initializeBonuses);

	onDestroy(() => {
		unregisterInitializeShopInformation();
		unregisterInitializeBonuses();
	});

	const click_handler = () => buy(shopInformation.priceButton);

	return [
		shopInformation,
		bonusesInfo,
		plateText,
		plateSubText,
		testDrive,
		buy,
		handleClose,
		click_handler
	];
}

class transport_interaction_shop_index_svelte_Shop extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, transport_interaction_shop_index_svelte_instance, transport_interaction_shop_index_svelte_create_fragment, safe_not_equal, {}, transport_interaction_shop_index_svelte_add_css);
	}
}

/* harmony default export */ const transport_interaction_shop_index_svelte = (transport_interaction_shop_index_svelte_Shop);
;// CONCATENATED MODULE: ./src/components/object-viewer/constants.js
var DEFAULT_VEHICLE_PROPERTIES = {
  main_color: 0,
  sec_color: 1,
  dirt: 0,
  wear: 1,
  wheel_rr: 0,
  wheel_rf: 0,
  wheel_lr: 0,
  wheel_lf: 0,
  bonnet: 0,
  boot: 0,
  door_lf: 0,
  door_rf: 0,
  door_lr: 0,
  door_rr: 0,
  light_state: 0,
  panel_state: 0,
  material_vinil1: '',
  texture_vinil1: '',
  color_vinil1: 0xFFFFFFFF,
  material_vinil2: '',
  texture_vinil2: '',
  color_vinil2: 0xFFFFFFFF,
  material_vinil3: '',
  texture_vinil3: '',
  color_vinil3: 0xFFFFFFFF,
  material_vinil4: '',
  texture_vinil4: '',
  color_vinil4: 0xFFFFFFFF
};
;// CONCATENATED MODULE: ./src/components/object-viewer/index.svelte
/* src\components\object-viewer\index.svelte generated by Svelte v3.49.0 */


const { window: object_viewer_index_svelte_window_1 } = globals;



function object_viewer_index_svelte_create_fragment(ctx) {
	let div;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			set_style(div, "position", "absolute");
			set_style(div, "left", "0");
			set_style(div, "top", "0");
			set_style(div, "width", "100%");
			set_style(div, "height", "100%");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			/*div_binding*/ ctx[8](div);

			if (!mounted) {
				dispose = [
					listen(object_viewer_index_svelte_window_1, "mouseup", /*onMouseUp*/ ctx[2]),
					listen(object_viewer_index_svelte_window_1, "mousemove", /*onMouseMove*/ ctx[3]),
					listen(div, "mousedown", /*onMouseDown*/ ctx[1])
				];

				mounted = true;
			}
		},
		p: internal_noop,
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			/*div_binding*/ ctx[8](null);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function object_viewer_index_svelte_instance($$self, $$props, $$invalidate) {
	let { type = 'vehicle' } = $$props;
	let { properties = {} } = $$props;
	let { components = [] } = $$props;
	let { id = null } = $$props;
	let containerRef = null;
	let blockGrabbed = false;
	let lastX = 0;
	let lastY = 0;
	let rotationX = -10;
	let rotationY = -40;

	const onMouseDown = event => {
		blockGrabbed = true;
		lastX = event.clientX;
		lastY = event.clientY;
	};

	const onMouseUp = () => {
		blockGrabbed = false;
	};

	const onMouseMove = event => {
		if (!blockGrabbed) return;
		const deltaX = event.clientX - lastX;
		const deltaY = event.clientY - lastY;
		const sensitivity = 0.2;
		rotationX += Math.round(deltaY * sensitivity);
		rotationY += Math.round(deltaX * sensitivity);

		// rotationX = Math.max(Math.min(rotationX, 90), -90);
		// rotationY %= 360;
		window.cef.ModelViewerRotateObject(id, rotationX, 0, rotationY);

		lastX = event.clientX;
		lastY = event.clientY;
	};

	onMount(() => {
		const rect = containerRef.getBoundingClientRect();
		window.cef.ModelViewerSetupScene(Math.round(rect.x), Math.round(rect.y), Math.round(rect.width), Math.round(rect.height), 0);

		if (type === 'vehicle') {
			const vehicleProperties = {
				...DEFAULT_VEHICLE_PROPERTIES,
				...properties || {}
			};

			window.cef.ModelViewerAddVehicle(id, vehicleProperties.main_color, vehicleProperties.sec_color, vehicleProperties.dirt, vehicleProperties.wear, vehicleProperties.wheel_rr, vehicleProperties.wheel_rf, vehicleProperties.wheel_lr, vehicleProperties.wheel_lf, vehicleProperties.bonnet, vehicleProperties.boot, vehicleProperties.door_lf, vehicleProperties.door_rf, vehicleProperties.door_lr, vehicleProperties.door_rr, vehicleProperties.light_state, vehicleProperties.panel_state, vehicleProperties.material_vinil1, vehicleProperties.texture_vinil1, vehicleProperties.color_vinil1, vehicleProperties.material_vinil2, vehicleProperties.texture_vinil2, vehicleProperties.color_vinil2, vehicleProperties.material_vinil3, vehicleProperties.texture_vinil3, vehicleProperties.color_vinil3, vehicleProperties.material_vinil4, vehicleProperties.texture_vinil4, vehicleProperties.color_vinil4); // основной цвет кузова (0-255)
			// вторичный цвет кузова (0-255)
			// уровень грязи (0-15)
			// уровень износа (0-17)
			// заднее правое колесо (0=OK)
			// переднее правое колесо (0=OK)
			// заднее левое колесо (0=OK)
			// переднее левое колесо (0=OK)
			// капот (0=OK)
			// багажник (0=OK)
			// передняя левая дверь (0=OK)
			// передняя правая дверь (0=OK)
			// задняя левая дверь (0=OK)
			// задняя правая дверь (0=OK)
			// состояние фар (битовые флаги)
			// состояние панелей (битовые флаги)
			// материал винила 1
			// текстура винила 1
			// цвет винила 1 (белый + 100% альфа)
			// материал винила 2
			// текстура винила 2
			// цвет винила 2
			// материал винила 3
			// текстура винила 3
			// цвет винила 3
			// материал винила 4
			// текстура винила 4
			// цвет винила 4
		} else {
			window.cef.ModelViewerAddObject(id);
		}

		if (components) {
			components.forEach(component => {
				window.cef.ModelViewerAddVehicleUpgrade(id, component);
			});
		}

		window.cef.ModelViewerRotateObject(id, rotationX, 0, rotationY);
	}); // window.cef.ModelViewerRemoveObject(411);
	// window.cef.ModelViewerRotateObject(411, 0, 0, 50);
	// window.cef.ModelViewerScaleObject(411, 1);

	onDestroy(() => {
		window.cef.ModelViewerRemoveObject(id);
	});

	function div_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			containerRef = $$value;
			$$invalidate(0, containerRef);
		});
	}

	$$self.$$set = $$props => {
		if ('type' in $$props) $$invalidate(4, type = $$props.type);
		if ('properties' in $$props) $$invalidate(5, properties = $$props.properties);
		if ('components' in $$props) $$invalidate(6, components = $$props.components);
		if ('id' in $$props) $$invalidate(7, id = $$props.id);
	};

	return [
		containerRef,
		onMouseDown,
		onMouseUp,
		onMouseMove,
		type,
		properties,
		components,
		id,
		div_binding
	];
}

class Object_viewer extends SvelteComponent {
	constructor(options) {
		super();

		init(this, options, object_viewer_index_svelte_instance, object_viewer_index_svelte_create_fragment, safe_not_equal, {
			type: 4,
			properties: 5,
			components: 6,
			id: 7
		});
	}
}

/* harmony default export */ const object_viewer_index_svelte = (Object_viewer);
;// CONCATENATED MODULE: ./src/views/transport-interaction/rating/img/bg.png
const rating_img_bg_namespaceObject = __webpack_require__.p + "assets/6858573425d40033380c.webp";
;// CONCATENATED MODULE: ./src/views/transport-interaction/rating/img/rarity-bg.png
const rarity_bg_namespaceObject = __webpack_require__.p + "assets/90d2c725be6529e1d794.webp";
;// CONCATENATED MODULE: ./src/views/transport-interaction/rating/img/rating.svg
const rating_namespaceObject = __webpack_require__.p + "assets/1793978a2e6c34a54779.svg";
;// CONCATENATED MODULE: ./src/views/transport-interaction/rating/img/rotate.png
const rotate_namespaceObject = __webpack_require__.p + "assets/3b179d54fc2470bd028c.webp";
;// CONCATENATED MODULE: ./src/views/transport-interaction/rating/index.svelte
/* src\views\transport-interaction\rating\index.svelte generated by Svelte v3.49.0 */

















function transport_interaction_rating_index_svelte_add_css(target) {
	append_styles(target, "svelte-vvr35t", "@keyframes svelte-vvr35t-blinking{50%{opacity:0}}@keyframes svelte-vvr35t-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-vvr35t-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-vvr35t-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-vvr35t-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-vvr35t-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-vvr35t-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-vvr35t-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-vvr35t-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-vvr35t-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-vvr35t-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-vvr35t-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-vvr35t-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-vvr35t-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-vvr35t-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.transport-interaction-rating.svelte-vvr35t.svelte-vvr35t{position:relative;display:flex;flex-direction:column;width:100vw;height:100vh;padding-top:calc(0.0338541667 * 100vw + 0px);padding-left:calc(0.0395833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating.svelte-vvr35t.svelte-vvr35t{padding-top:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating.svelte-vvr35t.svelte-vvr35t{padding-top:calc(0.0338541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating.svelte-vvr35t.svelte-vvr35t{padding-top:calc(0.0260677083 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating.svelte-vvr35t.svelte-vvr35t{padding-top:calc(0.0372395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating.svelte-vvr35t.svelte-vvr35t{padding-top:calc(0.0236979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating.svelte-vvr35t.svelte-vvr35t{padding-top:calc(0.03046875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating.svelte-vvr35t.svelte-vvr35t{padding-top:calc(0.0372395833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating.svelte-vvr35t.svelte-vvr35t{padding-left:calc(0.0395833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating.svelte-vvr35t.svelte-vvr35t{padding-left:calc(0.0395833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating.svelte-vvr35t.svelte-vvr35t{padding-left:calc(0.0304791667 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating.svelte-vvr35t.svelte-vvr35t{padding-left:calc(0.0435416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating.svelte-vvr35t.svelte-vvr35t{padding-left:calc(0.0277083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating.svelte-vvr35t.svelte-vvr35t{padding-left:calc(0.035625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating.svelte-vvr35t.svelte-vvr35t{padding-left:calc(0.0435416667 * 100vw + 0px)}}.transport-interaction-rating.svelte-vvr35t.svelte-vvr35t::after{content:\"\";position:absolute;background:linear-gradient(180deg, rgba(31, 0, 7, 0) 0%, #1F0007 100%);pointer-events:none;left:0;bottom:0;width:100%;z-index:2;height:calc(0.0630208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating.svelte-vvr35t.svelte-vvr35t::after{height:calc(0.0630208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating.svelte-vvr35t.svelte-vvr35t::after{height:calc(0.0630208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating.svelte-vvr35t.svelte-vvr35t::after{height:calc(0.0485260417 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating.svelte-vvr35t.svelte-vvr35t::after{height:calc(0.0693229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating.svelte-vvr35t.svelte-vvr35t::after{height:calc(0.0441145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating.svelte-vvr35t.svelte-vvr35t::after{height:calc(0.05671875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating.svelte-vvr35t.svelte-vvr35t::after{height:calc(0.0693229167 * 100vw + 0px)}}.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__sort-item.svelte-vvr35t{width:calc(0.2296875 * 100vw + 0px);height:calc(0.0229166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__sort-item.svelte-vvr35t{width:calc(0.2296875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__sort-item.svelte-vvr35t{width:calc(0.2296875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__sort-item.svelte-vvr35t{width:calc(0.176859375 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__sort-item.svelte-vvr35t{width:calc(0.25265625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__sort-item.svelte-vvr35t{width:calc(0.16078125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__sort-item.svelte-vvr35t{width:calc(0.20671875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__sort-item.svelte-vvr35t{width:calc(0.25265625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__sort-item.svelte-vvr35t{height:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__sort-item.svelte-vvr35t{height:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__sort-item.svelte-vvr35t{height:calc(0.0176458333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__sort-item.svelte-vvr35t{height:calc(0.0252083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__sort-item.svelte-vvr35t{height:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__sort-item.svelte-vvr35t{height:calc(0.020625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__sort-item.svelte-vvr35t{height:calc(0.0252083333 * 100vw + 0px)}}.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__side-left.svelte-vvr35t{width:calc(0.9328125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__side-left.svelte-vvr35t{width:calc(0.9328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__side-left.svelte-vvr35t{width:calc(0.9328125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__side-left.svelte-vvr35t{width:calc(0.718265625 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__side-left.svelte-vvr35t{width:calc(1.02609375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__side-left.svelte-vvr35t{width:calc(0.65296875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__side-left.svelte-vvr35t{width:calc(0.83953125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__side-left.svelte-vvr35t{width:calc(1.02609375 * 100vw + 0px)}}.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__side-left-item.svelte-vvr35t{width:calc(0.2223958333 * 100vw + 0px);height:calc(0.1697916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__side-left-item.svelte-vvr35t{width:calc(0.2223958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__side-left-item.svelte-vvr35t{width:calc(0.2223958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__side-left-item.svelte-vvr35t{width:calc(0.1712447917 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__side-left-item.svelte-vvr35t{width:calc(0.2446354167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__side-left-item.svelte-vvr35t{width:calc(0.1556770833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__side-left-item.svelte-vvr35t{width:calc(0.20015625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__side-left-item.svelte-vvr35t{width:calc(0.2446354167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__side-left-item.svelte-vvr35t{height:calc(0.1697916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__side-left-item.svelte-vvr35t{height:calc(0.1697916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__side-left-item.svelte-vvr35t{height:calc(0.1307395833 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__side-left-item.svelte-vvr35t{height:calc(0.1867708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__side-left-item.svelte-vvr35t{height:calc(0.1188541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__side-left-item.svelte-vvr35t{height:calc(0.1528125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating--fullscreen.svelte-vvr35t .transport-interaction-rating__side-left-item.svelte-vvr35t{height:calc(0.1867708333 * 100vw + 0px)}}.transport-interaction-rating__background.svelte-vvr35t.svelte-vvr35t{position:absolute;pointer-events:none;top:0;left:0;width:100%;height:100%}.transport-interaction-rating__title.svelte-vvr35t.svelte-vvr35t{z-index:1;color:#FFFFFF;font-family:\"HeadingNowBold\";font-size:calc(0.0333333333 * 100vw + 0px);width:calc(0.4005208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__title.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__title.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__title.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__title.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__title.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__title.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__title.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0366666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__title.svelte-vvr35t.svelte-vvr35t{width:calc(0.4005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__title.svelte-vvr35t.svelte-vvr35t{width:calc(0.4005208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__title.svelte-vvr35t.svelte-vvr35t{width:calc(0.3084010417 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__title.svelte-vvr35t.svelte-vvr35t{width:calc(0.4405729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__title.svelte-vvr35t.svelte-vvr35t{width:calc(0.2803645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__title.svelte-vvr35t.svelte-vvr35t{width:calc(0.36046875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__title.svelte-vvr35t.svelte-vvr35t{width:calc(0.4405729167 * 100vw + 0px)}}.transport-interaction-rating__sort.svelte-vvr35t.svelte-vvr35t{z-index:2;display:flex;margin-top:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.0275 * 100vw + 0px)}}.transport-interaction-rating__sort-item.svelte-vvr35t.svelte-vvr35t{display:flex;align-items:center;justify-content:center;background:#0D1011;border:1px solid rgba(255, 255, 255, 0.05);cursor:pointer;transition:background 0.2s linear, border 0.2s linear;border-radius:calc(0.0052083333 * 100vw + 0px);width:calc(0.1223958333 * 100vw + 0px);height:calc(0.0229166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-item.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-item.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-item.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-item.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-item.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-item.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-item.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-item.svelte-vvr35t.svelte-vvr35t{width:calc(0.1223958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-item.svelte-vvr35t.svelte-vvr35t{width:calc(0.1223958333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-item.svelte-vvr35t.svelte-vvr35t{width:calc(0.0942447917 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-item.svelte-vvr35t.svelte-vvr35t{width:calc(0.1346354167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-item.svelte-vvr35t.svelte-vvr35t{width:calc(0.0856770833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-item.svelte-vvr35t.svelte-vvr35t{width:calc(0.11015625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-item.svelte-vvr35t.svelte-vvr35t{width:calc(0.1346354167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-item.svelte-vvr35t.svelte-vvr35t{height:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-item.svelte-vvr35t.svelte-vvr35t{height:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-item.svelte-vvr35t.svelte-vvr35t{height:calc(0.0176458333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-item.svelte-vvr35t.svelte-vvr35t{height:calc(0.0252083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-item.svelte-vvr35t.svelte-vvr35t{height:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-item.svelte-vvr35t.svelte-vvr35t{height:calc(0.020625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-item.svelte-vvr35t.svelte-vvr35t{height:calc(0.0252083333 * 100vw + 0px)}}.transport-interaction-rating__sort-item.svelte-vvr35t.svelte-vvr35t:not(:first-child){margin-left:calc(0.003125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-item.svelte-vvr35t.svelte-vvr35t:not(:first-child){margin-left:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-item.svelte-vvr35t.svelte-vvr35t:not(:first-child){margin-left:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-item.svelte-vvr35t.svelte-vvr35t:not(:first-child){margin-left:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-item.svelte-vvr35t.svelte-vvr35t:not(:first-child){margin-left:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-item.svelte-vvr35t.svelte-vvr35t:not(:first-child){margin-left:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-item.svelte-vvr35t.svelte-vvr35t:not(:first-child){margin-left:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-item.svelte-vvr35t.svelte-vvr35t:not(:first-child){margin-left:calc(0.0034375 * 100vw + 0px)}}.transport-interaction-rating__sort-item.svelte-vvr35t.svelte-vvr35t:hover{background:#FFFFFF;border:1px solid rgba(0, 0, 0, 0.05)}.transport-interaction-rating__sort-item.svelte-vvr35t:hover .transport-interaction-rating__sort-item-title.svelte-vvr35t{color:rgba(0, 0, 0, 0.9)}.transport-interaction-rating__sort-item--selected.svelte-vvr35t.svelte-vvr35t{pointer-events:none;background:linear-gradient(90deg, #FD0E42 0%, #AA0022 100%)}.transport-interaction-rating__sort-item-title.svelte-vvr35t.svelte-vvr35t{color:rgba(255, 255, 255, 0.9);font-family:\"HeadingNowBold\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-item-title.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-item-title.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-item-title.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-item-title.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-item-title.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-item-title.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-item-title.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.006875 * 100vw + 0px)}}.transport-interaction-rating__sort-input.svelte-vvr35t.svelte-vvr35t{position:relative;display:flex;align-items:center;margin-left:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-input.svelte-vvr35t.svelte-vvr35t{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-input.svelte-vvr35t.svelte-vvr35t{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-input.svelte-vvr35t.svelte-vvr35t{margin-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-input.svelte-vvr35t.svelte-vvr35t{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-input.svelte-vvr35t.svelte-vvr35t{margin-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-input.svelte-vvr35t.svelte-vvr35t{margin-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-input.svelte-vvr35t.svelte-vvr35t{margin-left:calc(0.0114583333 * 100vw + 0px)}}.transport-interaction-rating__sort-input-icon.svelte-vvr35t.svelte-vvr35t{z-index:1;position:absolute;color:rgba(255, 255, 255, 0.5);transition:color 0.2s linear, transform 0.2s linear;cursor:pointer;font-size:calc(0.0125 * 100vw + 0px);left:calc(0.0114583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-input-icon.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-input-icon.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-input-icon.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-input-icon.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-input-icon.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-input-icon.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-input-icon.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-input-icon.svelte-vvr35t.svelte-vvr35t{left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-input-icon.svelte-vvr35t.svelte-vvr35t{left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-input-icon.svelte-vvr35t.svelte-vvr35t{left:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-input-icon.svelte-vvr35t.svelte-vvr35t{left:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-input-icon.svelte-vvr35t.svelte-vvr35t{left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-input-icon.svelte-vvr35t.svelte-vvr35t{left:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-input-icon.svelte-vvr35t.svelte-vvr35t{left:calc(0.0126041667 * 100vw + 0px)}}.transport-interaction-rating__sort-input-icon.svelte-vvr35t.svelte-vvr35t:hover{color:#FFFFFF;transform:scale(1.2)}.transport-interaction-rating__sort-input-icon.svelte-vvr35t.svelte-vvr35t:active{transform:scale(1)}.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{position:relative;border:none;background-color:#0D1011;font-family:\"HeadingNowBold\";color:rgba(255, 255, 255, 0.85);caret-color:#FFFFFF;border:1px solid rgba(255, 255, 255, 0.05);font-size:calc(0.00625 * 100vw + 0px);border-radius:calc(0.0052083333 * 100vw + 0px);padding-left:calc(0.03125 * 100vw + 0px);padding-right:calc(0.009375 * 100vw + 0px);width:calc(0.1927083333 * 100vw + 0px);height:calc(0.0229166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{padding-left:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{padding-left:calc(0.03125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{padding-left:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{padding-left:calc(0.034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{padding-left:calc(0.021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{padding-left:calc(0.028125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{padding-left:calc(0.034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{padding-right:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{padding-right:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{padding-right:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{padding-right:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{padding-right:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{padding-right:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{padding-right:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{width:calc(0.1927083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{width:calc(0.1927083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{width:calc(0.1483854167 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{width:calc(0.2119791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{width:calc(0.1348958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{width:calc(0.1734375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{width:calc(0.2119791667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{height:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{height:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{height:calc(0.0176458333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{height:calc(0.0252083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{height:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{height:calc(0.020625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t{height:calc(0.0252083333 * 100vw + 0px)}}.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t::placeholder{color:rgba(255, 255, 255, 0.85);font-family:\"HeadingNowBold\";text-transform:uppercase;font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t::placeholder{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t::placeholder{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t::placeholder{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t::placeholder{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t::placeholder{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t::placeholder{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t::placeholder{font-size:calc(0.006875 * 100vw + 0px)}}.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t:hover{background-color:#292929}.transport-interaction-rating__sort-input-field.svelte-vvr35t.svelte-vvr35t:focus{box-shadow:0px 0px 0px 1px rgb(255, 255, 255)}.transport-interaction-rating__sort-filter.svelte-vvr35t.svelte-vvr35t{position:relative;display:flex;align-items:center;justify-content:center;background:#0D1011;cursor:pointer;transition:background 0.2s linear;border-radius:calc(0.0052083333 * 100vw + 0px);margin-left:calc(0.0104166667 * 100vw + 0px);width:calc(0.0229166667 * 100vw + 0px);height:calc(0.0229166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-filter.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-filter.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-filter.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-filter.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-filter.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-filter.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-filter.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-filter.svelte-vvr35t.svelte-vvr35t{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-filter.svelte-vvr35t.svelte-vvr35t{margin-left:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-filter.svelte-vvr35t.svelte-vvr35t{margin-left:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-filter.svelte-vvr35t.svelte-vvr35t{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-filter.svelte-vvr35t.svelte-vvr35t{margin-left:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-filter.svelte-vvr35t.svelte-vvr35t{margin-left:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-filter.svelte-vvr35t.svelte-vvr35t{margin-left:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-filter.svelte-vvr35t.svelte-vvr35t{width:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-filter.svelte-vvr35t.svelte-vvr35t{width:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-filter.svelte-vvr35t.svelte-vvr35t{width:calc(0.0176458333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-filter.svelte-vvr35t.svelte-vvr35t{width:calc(0.0252083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-filter.svelte-vvr35t.svelte-vvr35t{width:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-filter.svelte-vvr35t.svelte-vvr35t{width:calc(0.020625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-filter.svelte-vvr35t.svelte-vvr35t{width:calc(0.0252083333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-filter.svelte-vvr35t.svelte-vvr35t{height:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-filter.svelte-vvr35t.svelte-vvr35t{height:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-filter.svelte-vvr35t.svelte-vvr35t{height:calc(0.0176458333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-filter.svelte-vvr35t.svelte-vvr35t{height:calc(0.0252083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-filter.svelte-vvr35t.svelte-vvr35t{height:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-filter.svelte-vvr35t.svelte-vvr35t{height:calc(0.020625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-filter.svelte-vvr35t.svelte-vvr35t{height:calc(0.0252083333 * 100vw + 0px)}}.transport-interaction-rating__sort-filter.svelte-vvr35t.svelte-vvr35t:hover{background:#FFFFFF}.transport-interaction-rating__sort-filter.svelte-vvr35t:hover .transport-interaction-rating__sort-filter-icon.svelte-vvr35t{color:rgba(0, 0, 0, 0.9)}.transport-interaction-rating__sort-filter--active.svelte-vvr35t.svelte-vvr35t{background:linear-gradient(90deg, #FD0E42 0%, #AA0022 100%)}.transport-interaction-rating__sort-filter-icon.svelte-vvr35t.svelte-vvr35t{color:#FFFFFF;font-size:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-filter-icon.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-filter-icon.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-filter-icon.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-filter-icon.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-filter-icon.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-filter-icon.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-filter-icon.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0114583333 * 100vw + 0px)}}.transport-interaction-rating__sort-filter-dropdown.svelte-vvr35t.svelte-vvr35t{position:absolute;right:0;overflow:hidden;border-radius:calc(0.00625 * 100vw + 0px);top:calc(0.0333333333 * 100vw + 0px);width:calc(0.1677083333 * 100vw + 0px);height:calc(0.1375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-filter-dropdown.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-filter-dropdown.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-filter-dropdown.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-filter-dropdown.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-filter-dropdown.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-filter-dropdown.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-filter-dropdown.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-filter-dropdown.svelte-vvr35t.svelte-vvr35t{top:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-filter-dropdown.svelte-vvr35t.svelte-vvr35t{top:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-filter-dropdown.svelte-vvr35t.svelte-vvr35t{top:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-filter-dropdown.svelte-vvr35t.svelte-vvr35t{top:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-filter-dropdown.svelte-vvr35t.svelte-vvr35t{top:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-filter-dropdown.svelte-vvr35t.svelte-vvr35t{top:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-filter-dropdown.svelte-vvr35t.svelte-vvr35t{top:calc(0.0366666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-filter-dropdown.svelte-vvr35t.svelte-vvr35t{width:calc(0.1677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-filter-dropdown.svelte-vvr35t.svelte-vvr35t{width:calc(0.1677083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-filter-dropdown.svelte-vvr35t.svelte-vvr35t{width:calc(0.1291354167 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-filter-dropdown.svelte-vvr35t.svelte-vvr35t{width:calc(0.1844791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-filter-dropdown.svelte-vvr35t.svelte-vvr35t{width:calc(0.1173958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-filter-dropdown.svelte-vvr35t.svelte-vvr35t{width:calc(0.1509375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-filter-dropdown.svelte-vvr35t.svelte-vvr35t{width:calc(0.1844791667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-filter-dropdown.svelte-vvr35t.svelte-vvr35t{height:calc(0.1375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-filter-dropdown.svelte-vvr35t.svelte-vvr35t{height:calc(0.1375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-filter-dropdown.svelte-vvr35t.svelte-vvr35t{height:calc(0.105875 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-filter-dropdown.svelte-vvr35t.svelte-vvr35t{height:calc(0.15125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-filter-dropdown.svelte-vvr35t.svelte-vvr35t{height:calc(0.09625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-filter-dropdown.svelte-vvr35t.svelte-vvr35t{height:calc(0.12375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-filter-dropdown.svelte-vvr35t.svelte-vvr35t{height:calc(0.15125 * 100vw + 0px)}}.transport-interaction-rating__sort-filter-dropdown-item.svelte-vvr35t.svelte-vvr35t{display:flex;align-items:center;justify-content:center;background-color:#FFFFFF;width:100%;cursor:pointer;transition:background-color 0.2s linear;height:calc(0.034375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-filter-dropdown-item.svelte-vvr35t.svelte-vvr35t{height:calc(0.034375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-filter-dropdown-item.svelte-vvr35t.svelte-vvr35t{height:calc(0.034375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-filter-dropdown-item.svelte-vvr35t.svelte-vvr35t{height:calc(0.02646875 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-filter-dropdown-item.svelte-vvr35t.svelte-vvr35t{height:calc(0.0378125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-filter-dropdown-item.svelte-vvr35t.svelte-vvr35t{height:calc(0.0240625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-filter-dropdown-item.svelte-vvr35t.svelte-vvr35t{height:calc(0.0309375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-filter-dropdown-item.svelte-vvr35t.svelte-vvr35t{height:calc(0.0378125 * 100vw + 0px)}}.transport-interaction-rating__sort-filter-dropdown-item.svelte-vvr35t.svelte-vvr35t:hover{background-color:#E6E6E6}.transport-interaction-rating__sort-filter-dropdown-item--active.svelte-vvr35t .transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t{background-color:#ED1A3A}.transport-interaction-rating__sort-filter-dropdown-item--active.svelte-vvr35t .transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t::after{content:\"\";background-color:#FFFFFF;border-radius:100%;width:calc(0.0052083333 * 100vw + 0px);height:calc(0.0052083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-filter-dropdown-item--active.svelte-vvr35t .transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t::after{width:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-filter-dropdown-item--active.svelte-vvr35t .transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t::after{width:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-filter-dropdown-item--active.svelte-vvr35t .transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t::after{width:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-filter-dropdown-item--active.svelte-vvr35t .transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t::after{width:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-filter-dropdown-item--active.svelte-vvr35t .transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t::after{width:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-filter-dropdown-item--active.svelte-vvr35t .transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t::after{width:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-filter-dropdown-item--active.svelte-vvr35t .transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t::after{width:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-filter-dropdown-item--active.svelte-vvr35t .transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t::after{height:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-filter-dropdown-item--active.svelte-vvr35t .transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t::after{height:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-filter-dropdown-item--active.svelte-vvr35t .transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t::after{height:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-filter-dropdown-item--active.svelte-vvr35t .transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t::after{height:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-filter-dropdown-item--active.svelte-vvr35t .transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t::after{height:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-filter-dropdown-item--active.svelte-vvr35t .transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t::after{height:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-filter-dropdown-item--active.svelte-vvr35t .transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t::after{height:calc(0.0057291667 * 100vw + 0px)}}.transport-interaction-rating__sort-filter-dropdown-item-title.svelte-vvr35t.svelte-vvr35t{font-family:\"HeadingNowRegular\";color:rgba(34, 49, 68, 0.5);font-size:calc(0.0072916667 * 100vw + 0px);margin-right:calc(0.0197916667 * 100vw + 0px);width:calc(0.0364583333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-filter-dropdown-item-title.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-filter-dropdown-item-title.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-filter-dropdown-item-title.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-filter-dropdown-item-title.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-filter-dropdown-item-title.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-filter-dropdown-item-title.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-filter-dropdown-item-title.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-filter-dropdown-item-title.svelte-vvr35t.svelte-vvr35t{margin-right:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-filter-dropdown-item-title.svelte-vvr35t.svelte-vvr35t{margin-right:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-filter-dropdown-item-title.svelte-vvr35t.svelte-vvr35t{margin-right:calc(0.0152395833 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-filter-dropdown-item-title.svelte-vvr35t.svelte-vvr35t{margin-right:calc(0.0217708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-filter-dropdown-item-title.svelte-vvr35t.svelte-vvr35t{margin-right:calc(0.0138541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-filter-dropdown-item-title.svelte-vvr35t.svelte-vvr35t{margin-right:calc(0.0178125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-filter-dropdown-item-title.svelte-vvr35t.svelte-vvr35t{margin-right:calc(0.0217708333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-filter-dropdown-item-title.svelte-vvr35t.svelte-vvr35t{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-filter-dropdown-item-title.svelte-vvr35t.svelte-vvr35t{width:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-filter-dropdown-item-title.svelte-vvr35t.svelte-vvr35t{width:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-filter-dropdown-item-title.svelte-vvr35t.svelte-vvr35t{width:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-filter-dropdown-item-title.svelte-vvr35t.svelte-vvr35t{width:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-filter-dropdown-item-title.svelte-vvr35t.svelte-vvr35t{width:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-filter-dropdown-item-title.svelte-vvr35t.svelte-vvr35t{width:calc(0.0401041667 * 100vw + 0px)}}.transport-interaction-rating__sort-filter-dropdown-item-subTitle.svelte-vvr35t.svelte-vvr35t{font-family:\"HeadingNowMedium\";color:#223144;font-size:calc(0.0072916667 * 100vw + 0px);margin-right:calc(0.0083333333 * 100vw + 0px);width:calc(0.0708333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-filter-dropdown-item-subTitle.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-filter-dropdown-item-subTitle.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-filter-dropdown-item-subTitle.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-filter-dropdown-item-subTitle.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-filter-dropdown-item-subTitle.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-filter-dropdown-item-subTitle.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-filter-dropdown-item-subTitle.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-filter-dropdown-item-subTitle.svelte-vvr35t.svelte-vvr35t{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-filter-dropdown-item-subTitle.svelte-vvr35t.svelte-vvr35t{margin-right:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-filter-dropdown-item-subTitle.svelte-vvr35t.svelte-vvr35t{margin-right:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-filter-dropdown-item-subTitle.svelte-vvr35t.svelte-vvr35t{margin-right:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-filter-dropdown-item-subTitle.svelte-vvr35t.svelte-vvr35t{margin-right:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-filter-dropdown-item-subTitle.svelte-vvr35t.svelte-vvr35t{margin-right:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-filter-dropdown-item-subTitle.svelte-vvr35t.svelte-vvr35t{margin-right:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-filter-dropdown-item-subTitle.svelte-vvr35t.svelte-vvr35t{width:calc(0.0708333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-filter-dropdown-item-subTitle.svelte-vvr35t.svelte-vvr35t{width:calc(0.0708333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-filter-dropdown-item-subTitle.svelte-vvr35t.svelte-vvr35t{width:calc(0.0545416667 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-filter-dropdown-item-subTitle.svelte-vvr35t.svelte-vvr35t{width:calc(0.0779166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-filter-dropdown-item-subTitle.svelte-vvr35t.svelte-vvr35t{width:calc(0.0495833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-filter-dropdown-item-subTitle.svelte-vvr35t.svelte-vvr35t{width:calc(0.06375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-filter-dropdown-item-subTitle.svelte-vvr35t.svelte-vvr35t{width:calc(0.0779166667 * 100vw + 0px)}}.transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t.svelte-vvr35t{display:flex;align-items:center;justify-content:center;background-color:rgba(0, 0, 0, 0.2);border-radius:calc(0.0166666667 * 100vw + 0px);width:calc(0.0135416667 * 100vw + 0px);height:calc(0.0135416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0183333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t.svelte-vvr35t{width:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t.svelte-vvr35t{width:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t.svelte-vvr35t{width:calc(0.0104270833 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t.svelte-vvr35t{width:calc(0.0148958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t.svelte-vvr35t{width:calc(0.0094791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t.svelte-vvr35t{width:calc(0.0121875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t.svelte-vvr35t{width:calc(0.0148958333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t.svelte-vvr35t{height:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t.svelte-vvr35t{height:calc(0.0135416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t.svelte-vvr35t{height:calc(0.0104270833 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t.svelte-vvr35t{height:calc(0.0148958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t.svelte-vvr35t{height:calc(0.0094791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t.svelte-vvr35t{height:calc(0.0121875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sort-filter-dropdown-item-radio.svelte-vvr35t.svelte-vvr35t{height:calc(0.0148958333 * 100vw + 0px)}}.transport-interaction-rating__sides.svelte-vvr35t.svelte-vvr35t{z-index:1;display:flex;align-items:center;gap:calc(0.0447916667 * 100vw + 0px);margin-top:calc(0.0208333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sides.svelte-vvr35t.svelte-vvr35t{gap:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sides.svelte-vvr35t.svelte-vvr35t{gap:calc(0.0447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sides.svelte-vvr35t.svelte-vvr35t{gap:calc(0.0344895833 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sides.svelte-vvr35t.svelte-vvr35t{gap:calc(0.0492708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sides.svelte-vvr35t.svelte-vvr35t{gap:calc(0.0313541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sides.svelte-vvr35t.svelte-vvr35t{gap:calc(0.0403125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sides.svelte-vvr35t.svelte-vvr35t{gap:calc(0.0492708333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__sides.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__sides.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.0208333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__sides.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__sides.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__sides.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.0145833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__sides.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.01875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__sides.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.0229166667 * 100vw + 0px)}}.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t{display:flex;flex-wrap:wrap;overflow:auto;gap:calc(0.0104166667 * 100vw + 0px);padding-bottom:calc(0.0625 * 100vw + 0px);width:calc(0.6114583333 * 100vw + 0px);height:calc(0.4109375 * 100vw + 0px)}.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t::-webkit-scrollbar{width:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t::-webkit-scrollbar{width:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t::-webkit-scrollbar{width:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t::-webkit-scrollbar{width:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t::-webkit-scrollbar{width:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t::-webkit-scrollbar{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t::-webkit-scrollbar{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t::-webkit-scrollbar{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t::-webkit-scrollbar{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t::-webkit-scrollbar{border-radius:calc(0.0114583333 * 100vw + 0px)}}.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.2);border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t::-webkit-scrollbar-track{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t::-webkit-scrollbar-track{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t::-webkit-scrollbar-track{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t::-webkit-scrollbar-track{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t::-webkit-scrollbar-track{border-radius:calc(0.0114583333 * 100vw + 0px)}}.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t::-webkit-scrollbar-thumb{background-color:#FFFFFF;border-radius:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t::-webkit-scrollbar-thumb{border-radius:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t::-webkit-scrollbar-thumb{border-radius:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t::-webkit-scrollbar-thumb{border-radius:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t::-webkit-scrollbar-thumb{border-radius:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t::-webkit-scrollbar-thumb{border-radius:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t{gap:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t{gap:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t{padding-bottom:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t{padding-bottom:calc(0.0625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t{padding-bottom:calc(0.048125 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t{padding-bottom:calc(0.06875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t{padding-bottom:calc(0.04375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t{padding-bottom:calc(0.05625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t{padding-bottom:calc(0.06875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t{width:calc(0.6114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t{width:calc(0.6114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t{width:calc(0.4708229167 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t{width:calc(0.6726041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t{width:calc(0.4280208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t{width:calc(0.5503125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t{width:calc(0.6726041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t{height:calc(0.4109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t{height:calc(0.4109375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t{height:calc(0.316421875 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t{height:calc(0.45203125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t{height:calc(0.28765625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t{height:calc(0.36984375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t{height:calc(0.45203125 * 100vw + 0px)}}.transport-interaction-rating__side-left.svelte-vvr35t.svelte-vvr35t::-webkit-scrollbar{width:0px}.transport-interaction-rating__side-left-scroll-wrapper.svelte-vvr35t.svelte-vvr35t{position:absolute}.transport-interaction-rating__side-left-item.svelte-vvr35t.svelte-vvr35t{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:space-between;border:2px solid rgba(255, 255, 255, 0.1);overflow:hidden;cursor:pointer;transition:border 0.2s linear;border-radius:calc(0.0041666667 * 100vw + 0px);padding-bottom:calc(0.0125 * 100vw + 0px);width:calc(0.1447916667 * 100vw + 0px);height:calc(0.1708333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-left-item.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-left-item.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-left-item.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-left-item.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-left-item.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-left-item.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-left-item.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-left-item.svelte-vvr35t.svelte-vvr35t{padding-bottom:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-left-item.svelte-vvr35t.svelte-vvr35t{padding-bottom:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-left-item.svelte-vvr35t.svelte-vvr35t{padding-bottom:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-left-item.svelte-vvr35t.svelte-vvr35t{padding-bottom:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-left-item.svelte-vvr35t.svelte-vvr35t{padding-bottom:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-left-item.svelte-vvr35t.svelte-vvr35t{padding-bottom:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-left-item.svelte-vvr35t.svelte-vvr35t{padding-bottom:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-left-item.svelte-vvr35t.svelte-vvr35t{width:calc(0.1447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-left-item.svelte-vvr35t.svelte-vvr35t{width:calc(0.1447916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-left-item.svelte-vvr35t.svelte-vvr35t{width:calc(0.1114895833 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-left-item.svelte-vvr35t.svelte-vvr35t{width:calc(0.1592708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-left-item.svelte-vvr35t.svelte-vvr35t{width:calc(0.1013541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-left-item.svelte-vvr35t.svelte-vvr35t{width:calc(0.1303125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-left-item.svelte-vvr35t.svelte-vvr35t{width:calc(0.1592708333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-left-item.svelte-vvr35t.svelte-vvr35t{height:calc(0.1708333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-left-item.svelte-vvr35t.svelte-vvr35t{height:calc(0.1708333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-left-item.svelte-vvr35t.svelte-vvr35t{height:calc(0.1315416667 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-left-item.svelte-vvr35t.svelte-vvr35t{height:calc(0.1879166667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-left-item.svelte-vvr35t.svelte-vvr35t{height:calc(0.1195833333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-left-item.svelte-vvr35t.svelte-vvr35t{height:calc(0.15375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-left-item.svelte-vvr35t.svelte-vvr35t{height:calc(0.1879166667 * 100vw + 0px)}}.transport-interaction-rating__side-left-item--tier1.svelte-vvr35t.svelte-vvr35t{background:linear-gradient(245deg, rgba(13, 16, 17, 0), #0d1011), linear-gradient(200deg, rgb(139, 139, 139) -160%, rgb(42, 42, 42) 67.4%)}.transport-interaction-rating__side-left-item--tier1.svelte-vvr35t .transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t{color:#111111;background:linear-gradient(0deg, #8F8F8F, #8F8F8F), linear-gradient(90deg, rgba(255, 255, 255, 0) 49.69%, #FFFFFF 100%)}.transport-interaction-rating__side-left-item--tier2.svelte-vvr35t.svelte-vvr35t{background:linear-gradient(35deg, #042a2a 40%, #00FFFF 100%)}.transport-interaction-rating__side-left-item--tier2.svelte-vvr35t .transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t{color:#004D4D;background:linear-gradient(0deg, #00FFFF, #00FFFF), linear-gradient(90deg, rgba(255, 255, 255, 0) 49.69%, rgba(255, 255, 255, 0.5) 100%)}.transport-interaction-rating__side-left-item--tier3.svelte-vvr35t.svelte-vvr35t{background:linear-gradient(44deg, #4a2f00 20%, #ffb224 60%, #ffca00 80%)}.transport-interaction-rating__side-left-item--tier3.svelte-vvr35t .transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t{color:#672400;background:#FFCC00}.transport-interaction-rating__side-left-item.svelte-vvr35t.svelte-vvr35t:hover{border:2px solid #DE0E40}.transport-interaction-rating__side-left-item-number.svelte-vvr35t.svelte-vvr35t{position:absolute;display:flex;align-items:center;justify-content:center;background-color:#111111;top:0;left:0;border-bottom-right-radius:calc(0.00625 * 100vw + 0px);padding-left:calc(0.00625 * 100vw + 0px);padding-right:calc(0.00625 * 100vw + 0px);height:calc(0.01875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-left-item-number.svelte-vvr35t.svelte-vvr35t{border-bottom-right-radius:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-left-item-number.svelte-vvr35t.svelte-vvr35t{border-bottom-right-radius:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-left-item-number.svelte-vvr35t.svelte-vvr35t{border-bottom-right-radius:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-left-item-number.svelte-vvr35t.svelte-vvr35t{border-bottom-right-radius:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-left-item-number.svelte-vvr35t.svelte-vvr35t{border-bottom-right-radius:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-left-item-number.svelte-vvr35t.svelte-vvr35t{border-bottom-right-radius:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-left-item-number.svelte-vvr35t.svelte-vvr35t{border-bottom-right-radius:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-left-item-number.svelte-vvr35t.svelte-vvr35t{padding-left:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-left-item-number.svelte-vvr35t.svelte-vvr35t{padding-left:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-left-item-number.svelte-vvr35t.svelte-vvr35t{padding-left:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-left-item-number.svelte-vvr35t.svelte-vvr35t{padding-left:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-left-item-number.svelte-vvr35t.svelte-vvr35t{padding-left:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-left-item-number.svelte-vvr35t.svelte-vvr35t{padding-left:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-left-item-number.svelte-vvr35t.svelte-vvr35t{padding-left:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-left-item-number.svelte-vvr35t.svelte-vvr35t{padding-right:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-left-item-number.svelte-vvr35t.svelte-vvr35t{padding-right:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-left-item-number.svelte-vvr35t.svelte-vvr35t{padding-right:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-left-item-number.svelte-vvr35t.svelte-vvr35t{padding-right:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-left-item-number.svelte-vvr35t.svelte-vvr35t{padding-right:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-left-item-number.svelte-vvr35t.svelte-vvr35t{padding-right:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-left-item-number.svelte-vvr35t.svelte-vvr35t{padding-right:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-left-item-number.svelte-vvr35t.svelte-vvr35t{height:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-left-item-number.svelte-vvr35t.svelte-vvr35t{height:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-left-item-number.svelte-vvr35t.svelte-vvr35t{height:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-left-item-number.svelte-vvr35t.svelte-vvr35t{height:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-left-item-number.svelte-vvr35t.svelte-vvr35t{height:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-left-item-number.svelte-vvr35t.svelte-vvr35t{height:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-left-item-number.svelte-vvr35t.svelte-vvr35t{height:calc(0.020625 * 100vw + 0px)}}.transport-interaction-rating__side-left-item-number-value.svelte-vvr35t.svelte-vvr35t{color:#FFFFFF;font-family:\"HeadingNowBold\";font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-left-item-number-value.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-left-item-number-value.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-left-item-number-value.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-left-item-number-value.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-left-item-number-value.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-left-item-number-value.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-left-item-number-value.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0091666667 * 100vw + 0px)}}.transport-interaction-rating__side-left-item-image.svelte-vvr35t.svelte-vvr35t{height:calc(0.1010416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-left-item-image.svelte-vvr35t.svelte-vvr35t{height:calc(0.1010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-left-item-image.svelte-vvr35t.svelte-vvr35t{height:calc(0.1010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-left-item-image.svelte-vvr35t.svelte-vvr35t{height:calc(0.0778020833 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-left-item-image.svelte-vvr35t.svelte-vvr35t{height:calc(0.1111458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-left-item-image.svelte-vvr35t.svelte-vvr35t{height:calc(0.0707291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-left-item-image.svelte-vvr35t.svelte-vvr35t{height:calc(0.0909375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-left-item-image.svelte-vvr35t.svelte-vvr35t{height:calc(0.1111458333 * 100vw + 0px)}}.transport-interaction-rating__side-left-item-titles.svelte-vvr35t.svelte-vvr35t{display:flex;flex-direction:column;align-items:center}.transport-interaction-rating__side-left-item-title-player.svelte-vvr35t.svelte-vvr35t{color:rgba(255, 255, 255, 0.5);font-family:\"HeadingNowRegular\";font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-left-item-title-player.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-left-item-title-player.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-left-item-title-player.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-left-item-title-player.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-left-item-title-player.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-left-item-title-player.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-left-item-title-player.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0080208333 * 100vw + 0px)}}.transport-interaction-rating__side-left-item-title-car.svelte-vvr35t.svelte-vvr35t{color:#FFFFFF;font-family:\"HeadingNowRegular\";font-size:calc(0.0125 * 100vw + 0px);margin-top:calc(0.0010416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-left-item-title-car.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-left-item-title-car.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-left-item-title-car.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-left-item-title-car.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-left-item-title-car.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-left-item-title-car.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-left-item-title-car.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.01375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-left-item-title-car.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-left-item-title-car.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-left-item-title-car.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-left-item-title-car.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-left-item-title-car.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-left-item-title-car.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-left-item-title-car.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.0011458333 * 100vw + 0px)}}.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{display:flex;align-items:center;justify-content:center;border-radius:calc(0.0020833333 * 100vw + 0px);padding-left:calc(0.003125 * 100vw + 0px);padding-right:calc(0.003125 * 100vw + 0px);margin-top:calc(0.0083333333 * 100vw + 0px);height:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{border-radius:calc(0.0022916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{padding-left:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{padding-left:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{padding-left:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{padding-left:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{padding-left:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{padding-left:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{padding-left:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{padding-right:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{padding-right:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{padding-right:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{padding-right:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{padding-right:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{padding-right:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{padding-right:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{height:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{height:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{height:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{height:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{height:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-left-item-title-rarity.svelte-vvr35t.svelte-vvr35t{height:calc(0.0171875 * 100vw + 0px)}}.transport-interaction-rating__side-left-item-title-rarity-value.svelte-vvr35t.svelte-vvr35t{font-family:\"HeadingNowMedium\";text-transform:uppercase;font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-left-item-title-rarity-value.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-left-item-title-rarity-value.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-left-item-title-rarity-value.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-left-item-title-rarity-value.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-left-item-title-rarity-value.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-left-item-title-rarity-value.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-left-item-title-rarity-value.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0080208333 * 100vw + 0px)}}.transport-interaction-rating__side-right.svelte-vvr35t.svelte-vvr35t{display:flex;flex-direction:column;align-items:center;width:calc(0.2645833333 * 100vw + 0px);height:calc(0.3375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-right.svelte-vvr35t.svelte-vvr35t{width:calc(0.2645833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-right.svelte-vvr35t.svelte-vvr35t{width:calc(0.2645833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-right.svelte-vvr35t.svelte-vvr35t{width:calc(0.2037291667 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-right.svelte-vvr35t.svelte-vvr35t{width:calc(0.2910416667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-right.svelte-vvr35t.svelte-vvr35t{width:calc(0.1852083333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-right.svelte-vvr35t.svelte-vvr35t{width:calc(0.238125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-right.svelte-vvr35t.svelte-vvr35t{width:calc(0.2910416667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-right.svelte-vvr35t.svelte-vvr35t{height:calc(0.3375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-right.svelte-vvr35t.svelte-vvr35t{height:calc(0.3375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-right.svelte-vvr35t.svelte-vvr35t{height:calc(0.259875 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-right.svelte-vvr35t.svelte-vvr35t{height:calc(0.37125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-right.svelte-vvr35t.svelte-vvr35t{height:calc(0.23625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-right.svelte-vvr35t.svelte-vvr35t{height:calc(0.30375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-right.svelte-vvr35t.svelte-vvr35t{height:calc(0.37125 * 100vw + 0px)}}.transport-interaction-rating__side-right-title.svelte-vvr35t.svelte-vvr35t{color:#FFFFFF;font-family:\"HeadingNowBold\";text-transform:uppercase;font-size:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-right-title.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-right-title.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-right-title.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-right-title.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-right-title.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-right-title.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-right-title.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0183333333 * 100vw + 0px)}}.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{position:relative;display:flex;align-items:center;justify-content:center;gap:calc(0.0052083333 * 100vw + 0px);margin-top:calc(0.0104166667 * 100vw + 0px);margin-bottom:calc(0.0104166667 * 100vw + 0px);width:calc(0.240625 * 100vw + 0px);height:calc(0.0197916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{margin-bottom:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{margin-bottom:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{margin-bottom:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{margin-bottom:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{margin-bottom:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{width:calc(0.240625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{width:calc(0.240625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{width:calc(0.18528125 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{width:calc(0.2646875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{width:calc(0.1684375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{width:calc(0.2165625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{width:calc(0.2646875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{height:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{height:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{height:calc(0.0152395833 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{height:calc(0.0217708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{height:calc(0.0138541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{height:calc(0.0178125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-right-rarity.svelte-vvr35t.svelte-vvr35t{height:calc(0.0217708333 * 100vw + 0px)}}.transport-interaction-rating__side-right-rarity--tier1.svelte-vvr35t.svelte-vvr35t{background:radial-gradient(50% 255.26% at 50% 50%, #E5E5E5 32.86%, rgba(120, 120, 120, 0) 100%)}.transport-interaction-rating__side-right-rarity--tier1.svelte-vvr35t .transport-interaction-rating__side-right-rarity-title.svelte-vvr35t{color:#111111}.transport-interaction-rating__side-right-rarity--tier2.svelte-vvr35t.svelte-vvr35t{background:radial-gradient(50% 255.26% at 50% 50%, #00FFFF 32.86%, rgba(0, 54, 54, 0) 100%)}.transport-interaction-rating__side-right-rarity--tier2.svelte-vvr35t .transport-interaction-rating__side-right-rarity-title.svelte-vvr35t{color:#004D4D}.transport-interaction-rating__side-right-rarity--tier3.svelte-vvr35t.svelte-vvr35t{background:radial-gradient(50% 255.26% at 50% 50%, #FFCC00 32.86%, rgba(255, 204, 0, 0) 100%)}.transport-interaction-rating__side-right-rarity--tier3.svelte-vvr35t .transport-interaction-rating__side-right-rarity-title.svelte-vvr35t{color:#672400}.transport-interaction-rating__side-right-rarity-bg.svelte-vvr35t.svelte-vvr35t{position:absolute;pointer-events:none;width:calc(0.240625 * 100vw + 0px);height:calc(0.0244791667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-right-rarity-bg.svelte-vvr35t.svelte-vvr35t{width:calc(0.240625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-right-rarity-bg.svelte-vvr35t.svelte-vvr35t{width:calc(0.240625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-right-rarity-bg.svelte-vvr35t.svelte-vvr35t{width:calc(0.18528125 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-right-rarity-bg.svelte-vvr35t.svelte-vvr35t{width:calc(0.2646875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-right-rarity-bg.svelte-vvr35t.svelte-vvr35t{width:calc(0.1684375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-right-rarity-bg.svelte-vvr35t.svelte-vvr35t{width:calc(0.2165625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-right-rarity-bg.svelte-vvr35t.svelte-vvr35t{width:calc(0.2646875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-right-rarity-bg.svelte-vvr35t.svelte-vvr35t{height:calc(0.0244791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-right-rarity-bg.svelte-vvr35t.svelte-vvr35t{height:calc(0.0244791667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-right-rarity-bg.svelte-vvr35t.svelte-vvr35t{height:calc(0.0188489583 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-right-rarity-bg.svelte-vvr35t.svelte-vvr35t{height:calc(0.0269270833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-right-rarity-bg.svelte-vvr35t.svelte-vvr35t{height:calc(0.0171354167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-right-rarity-bg.svelte-vvr35t.svelte-vvr35t{height:calc(0.02203125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-right-rarity-bg.svelte-vvr35t.svelte-vvr35t{height:calc(0.0269270833 * 100vw + 0px)}}.transport-interaction-rating__side-right-rarity-title.svelte-vvr35t.svelte-vvr35t{color:#111111;font-family:\"HeadingNowMedium\";text-transform:uppercase;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-right-rarity-title.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-right-rarity-title.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-right-rarity-title.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-right-rarity-title.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-right-rarity-title.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-right-rarity-title.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-right-rarity-title.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0091666667 * 100vw + 0px)}}.transport-interaction-rating__side-right-player.svelte-vvr35t.svelte-vvr35t{color:#F2C94C;font-family:\"HeadingNowMedium\";text-transform:uppercase;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-right-player.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-right-player.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-right-player.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-right-player.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-right-player.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-right-player.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-right-player.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0103125 * 100vw + 0px)}}.transport-interaction-rating__side-right-player--small.svelte-vvr35t.svelte-vvr35t{font-family:\"HeadingNowRegular\";text-transform:none;font-size:calc(0.0078125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-right-player--small.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-right-player--small.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.0078125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-right-player--small.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.006015625 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-right-player--small.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.00859375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-right-player--small.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.00546875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-right-player--small.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.00703125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-right-player--small.svelte-vvr35t.svelte-vvr35t{font-size:calc(0.00859375 * 100vw + 0px)}}.transport-interaction-rating__side-right-player-rating.svelte-vvr35t.svelte-vvr35t{height:calc(0.0104166667 * 100vw + 0px);margin-left:calc(0.0026041667 * 100vw + 0px);margin-right:calc(0.0026041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-right-player-rating.svelte-vvr35t.svelte-vvr35t{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-right-player-rating.svelte-vvr35t.svelte-vvr35t{height:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-right-player-rating.svelte-vvr35t.svelte-vvr35t{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-right-player-rating.svelte-vvr35t.svelte-vvr35t{height:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-right-player-rating.svelte-vvr35t.svelte-vvr35t{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-right-player-rating.svelte-vvr35t.svelte-vvr35t{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-right-player-rating.svelte-vvr35t.svelte-vvr35t{height:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-right-player-rating.svelte-vvr35t.svelte-vvr35t{margin-left:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-right-player-rating.svelte-vvr35t.svelte-vvr35t{margin-left:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-right-player-rating.svelte-vvr35t.svelte-vvr35t{margin-left:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-right-player-rating.svelte-vvr35t.svelte-vvr35t{margin-left:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-right-player-rating.svelte-vvr35t.svelte-vvr35t{margin-left:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-right-player-rating.svelte-vvr35t.svelte-vvr35t{margin-left:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-right-player-rating.svelte-vvr35t.svelte-vvr35t{margin-left:calc(0.0028645833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-right-player-rating.svelte-vvr35t.svelte-vvr35t{margin-right:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-right-player-rating.svelte-vvr35t.svelte-vvr35t{margin-right:calc(0.0026041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-right-player-rating.svelte-vvr35t.svelte-vvr35t{margin-right:calc(0.0020052083 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-right-player-rating.svelte-vvr35t.svelte-vvr35t{margin-right:calc(0.0028645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-right-player-rating.svelte-vvr35t.svelte-vvr35t{margin-right:calc(0.0018229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-right-player-rating.svelte-vvr35t.svelte-vvr35t{margin-right:calc(0.00234375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-right-player-rating.svelte-vvr35t.svelte-vvr35t{margin-right:calc(0.0028645833 * 100vw + 0px)}}.transport-interaction-rating__side-right-car-img-wrapper.svelte-vvr35t.svelte-vvr35t{display:flex;align-items:center;justify-content:center;position:relative;height:calc(0.1901041667 * 100vw + 0px);width:calc(0.1901041667 * 100vw + 0px);margin-top:calc(0.00625 * 100vw + 0px);margin-bottom:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-right-car-img-wrapper.svelte-vvr35t.svelte-vvr35t{height:calc(0.1901041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-right-car-img-wrapper.svelte-vvr35t.svelte-vvr35t{height:calc(0.1901041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-right-car-img-wrapper.svelte-vvr35t.svelte-vvr35t{height:calc(0.1463802083 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-right-car-img-wrapper.svelte-vvr35t.svelte-vvr35t{height:calc(0.2091145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-right-car-img-wrapper.svelte-vvr35t.svelte-vvr35t{height:calc(0.1330729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-right-car-img-wrapper.svelte-vvr35t.svelte-vvr35t{height:calc(0.17109375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-right-car-img-wrapper.svelte-vvr35t.svelte-vvr35t{height:calc(0.2091145833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-right-car-img-wrapper.svelte-vvr35t.svelte-vvr35t{width:calc(0.1901041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-right-car-img-wrapper.svelte-vvr35t.svelte-vvr35t{width:calc(0.1901041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-right-car-img-wrapper.svelte-vvr35t.svelte-vvr35t{width:calc(0.1463802083 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-right-car-img-wrapper.svelte-vvr35t.svelte-vvr35t{width:calc(0.2091145833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-right-car-img-wrapper.svelte-vvr35t.svelte-vvr35t{width:calc(0.1330729167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-right-car-img-wrapper.svelte-vvr35t.svelte-vvr35t{width:calc(0.17109375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-right-car-img-wrapper.svelte-vvr35t.svelte-vvr35t{width:calc(0.2091145833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-right-car-img-wrapper.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-right-car-img-wrapper.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-right-car-img-wrapper.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-right-car-img-wrapper.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-right-car-img-wrapper.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-right-car-img-wrapper.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-right-car-img-wrapper.svelte-vvr35t.svelte-vvr35t{margin-top:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-right-car-img-wrapper.svelte-vvr35t.svelte-vvr35t{margin-bottom:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-right-car-img-wrapper.svelte-vvr35t.svelte-vvr35t{margin-bottom:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-right-car-img-wrapper.svelte-vvr35t.svelte-vvr35t{margin-bottom:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-right-car-img-wrapper.svelte-vvr35t.svelte-vvr35t{margin-bottom:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-right-car-img-wrapper.svelte-vvr35t.svelte-vvr35t{margin-bottom:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-right-car-img-wrapper.svelte-vvr35t.svelte-vvr35t{margin-bottom:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-right-car-img-wrapper.svelte-vvr35t.svelte-vvr35t{margin-bottom:calc(0.006875 * 100vw + 0px)}}.transport-interaction-rating__side-right-car-img.svelte-vvr35t.svelte-vvr35t{position:absolute;height:calc(0.4166666667 * 100vw + 0px);width:calc(0.4166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-right-car-img.svelte-vvr35t.svelte-vvr35t{height:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-right-car-img.svelte-vvr35t.svelte-vvr35t{height:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-right-car-img.svelte-vvr35t.svelte-vvr35t{height:calc(0.3208333333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-right-car-img.svelte-vvr35t.svelte-vvr35t{height:calc(0.4583333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-right-car-img.svelte-vvr35t.svelte-vvr35t{height:calc(0.2916666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-right-car-img.svelte-vvr35t.svelte-vvr35t{height:calc(0.375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-right-car-img.svelte-vvr35t.svelte-vvr35t{height:calc(0.4583333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-right-car-img.svelte-vvr35t.svelte-vvr35t{width:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-right-car-img.svelte-vvr35t.svelte-vvr35t{width:calc(0.4166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-right-car-img.svelte-vvr35t.svelte-vvr35t{width:calc(0.3208333333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-right-car-img.svelte-vvr35t.svelte-vvr35t{width:calc(0.4583333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-right-car-img.svelte-vvr35t.svelte-vvr35t{width:calc(0.2916666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-right-car-img.svelte-vvr35t.svelte-vvr35t{width:calc(0.375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-right-car-img.svelte-vvr35t.svelte-vvr35t{width:calc(0.4583333333 * 100vw + 0px)}}.transport-interaction-rating__side-right-rotate-img.svelte-vvr35t.svelte-vvr35t{cursor:pointer;height:calc(0.01875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-rating__side-right-rotate-img.svelte-vvr35t.svelte-vvr35t{height:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-rating__side-right-rotate-img.svelte-vvr35t.svelte-vvr35t{height:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-rating__side-right-rotate-img.svelte-vvr35t.svelte-vvr35t{height:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-rating__side-right-rotate-img.svelte-vvr35t.svelte-vvr35t{height:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-rating__side-right-rotate-img.svelte-vvr35t.svelte-vvr35t{height:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-rating__side-right-rotate-img.svelte-vvr35t.svelte-vvr35t{height:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-rating__side-right-rotate-img.svelte-vvr35t.svelte-vvr35t{height:calc(0.020625 * 100vw + 0px)}}");
}

function transport_interaction_rating_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[31] = list[i];
	child_ctx[33] = i;
	return child_ctx;
}

// (4214:12) {#if sortDropdownOpened}
function rating_index_svelte_create_if_block_2(ctx) {
	let div4;
	let div1;
	let t4;
	let div3;
	let mounted;
	let dispose;

	return {
		c() {
			div4 = internal_element("div");
			div1 = internal_element("div");

			div1.innerHTML = `<p class="transport-interaction-rating__sort-filter-dropdown-item-title svelte-vvr35t">Качество:</p> 
                        <p class="transport-interaction-rating__sort-filter-dropdown-item-subTitle svelte-vvr35t">от идеального</p> 
                        <div class="transport-interaction-rating__sort-filter-dropdown-item-radio svelte-vvr35t"></div>`;

			t4 = space();
			div3 = internal_element("div");

			div3.innerHTML = `<p class="transport-interaction-rating__sort-filter-dropdown-item-title svelte-vvr35t">Качество:</p> 
                        <p class="transport-interaction-rating__sort-filter-dropdown-item-subTitle svelte-vvr35t">от хлама</p> 
                        <div class="transport-interaction-rating__sort-filter-dropdown-item-radio svelte-vvr35t"></div>`;

			attr(div1, "class", "transport-interaction-rating__sort-filter-dropdown-item svelte-vvr35t");
			toggle_class(div1, "transport-interaction-rating__sort-filter-dropdown-item--active", /*sortType*/ ctx[4] === 'tier3');
			attr(div3, "class", "transport-interaction-rating__sort-filter-dropdown-item svelte-vvr35t");
			toggle_class(div3, "transport-interaction-rating__sort-filter-dropdown-item--active", /*sortType*/ ctx[4] === 'tier1');
			attr(div4, "class", "transport-interaction-rating__sort-filter-dropdown svelte-vvr35t");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div1);
			append(div4, t4);
			append(div4, div3);

			if (!mounted) {
				dispose = [
					listen(div1, "click", /*click_handler_4*/ ctx[21]),
					listen(div3, "click", /*click_handler_5*/ ctx[22]),
					listen(div4, "click", stop_propagation(/*click_handler*/ ctx[15]))
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty[0] & /*sortType*/ 16) {
				toggle_class(div1, "transport-interaction-rating__sort-filter-dropdown-item--active", /*sortType*/ ctx[4] === 'tier3');
			}

			if (dirty[0] & /*sortType*/ 16) {
				toggle_class(div3, "transport-interaction-rating__sort-filter-dropdown-item--active", /*sortType*/ ctx[4] === 'tier1');
			}
		},
		d(detaching) {
			if (detaching) detach(div4);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (4251:12) {#each actualList as item, i}
function transport_interaction_rating_index_svelte_create_each_block(ctx) {
	let div3;
	let div0;
	let p0;
	let t0_value = /*item*/ ctx[31].id + "";
	let t0;
	let t1;
	let img;
	let img_src_value;
	let t2;
	let div2;
	let p1;
	let t3_value = /*item*/ ctx[31].playerName + "";
	let t3;
	let t4;
	let p2;
	let t5_value = /*item*/ ctx[31].carName + "";
	let t5;
	let t6;
	let div1;
	let p3;
	let t7_value = MAP_TIER_TYPES_TO_TITLE[/*item*/ ctx[31].rarity] + "";
	let t7;
	let t8;
	let t9_value = /*item*/ ctx[31].rarityLevel + "";
	let t9;
	let t10;
	let div3_class_value;
	let mounted;
	let dispose;

	function click_handler_7() {
		return /*click_handler_7*/ ctx[24](/*i*/ ctx[33]);
	}

	return {
		c() {
			div3 = internal_element("div");
			div0 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			img = internal_element("img");
			t2 = space();
			div2 = internal_element("div");
			p1 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = space();
			p2 = internal_element("p");
			t5 = internal_text(t5_value);
			t6 = space();
			div1 = internal_element("div");
			p3 = internal_element("p");
			t7 = internal_text(t7_value);
			t8 = internal_text(" (");
			t9 = internal_text(t9_value);
			t10 = internal_text(")");
			attr(p0, "class", "transport-interaction-rating__side-left-item-number-value svelte-vvr35t");
			attr(div0, "class", "transport-interaction-rating__side-left-item-number svelte-vvr35t");
			attr(img, "class", "transport-interaction-rating__side-left-item-image svelte-vvr35t");
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/assets/images/inventory/vehicles/512/${/*item*/ ctx[31].image}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "car");
			attr(p1, "class", "transport-interaction-rating__side-left-item-title-player svelte-vvr35t");
			attr(p2, "class", "transport-interaction-rating__side-left-item-title-car svelte-vvr35t");
			attr(p3, "class", "transport-interaction-rating__side-left-item-title-rarity-value svelte-vvr35t");
			attr(div1, "class", "transport-interaction-rating__side-left-item-title-rarity svelte-vvr35t");
			attr(div2, "class", "transport-interaction-rating__side-left-item-titles svelte-vvr35t");
			attr(div3, "class", div3_class_value = "transport-interaction-rating__side-left-item transport-interaction-rating__side-left-item--" + /*item*/ ctx[31].rarity + " svelte-vvr35t");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, div0);
			append(div0, p0);
			append(p0, t0);
			append(div3, t1);
			append(div3, img);
			append(div3, t2);
			append(div3, div2);
			append(div2, p1);
			append(p1, t3);
			append(div2, t4);
			append(div2, p2);
			append(p2, t5);
			append(div2, t6);
			append(div2, div1);
			append(div1, p3);
			append(p3, t7);
			append(p3, t8);
			append(p3, t9);
			append(p3, t10);

			if (!mounted) {
				dispose = listen(div3, "click", click_handler_7);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if (dirty[0] & /*actualList*/ 1 && t0_value !== (t0_value = /*item*/ ctx[31].id + "")) set_data(t0, t0_value);

			if (dirty[0] & /*actualList*/ 1 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/assets/images/inventory/vehicles/512/${/*item*/ ctx[31].image}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty[0] & /*actualList*/ 1 && t3_value !== (t3_value = /*item*/ ctx[31].playerName + "")) set_data(t3, t3_value);
			if (dirty[0] & /*actualList*/ 1 && t5_value !== (t5_value = /*item*/ ctx[31].carName + "")) set_data(t5, t5_value);
			if (dirty[0] & /*actualList*/ 1 && t7_value !== (t7_value = MAP_TIER_TYPES_TO_TITLE[/*item*/ ctx[31].rarity] + "")) set_data(t7, t7_value);
			if (dirty[0] & /*actualList*/ 1 && t9_value !== (t9_value = /*item*/ ctx[31].rarityLevel + "")) set_data(t9, t9_value);

			if (dirty[0] & /*actualList*/ 1 && div3_class_value !== (div3_class_value = "transport-interaction-rating__side-left-item transport-interaction-rating__side-left-item--" + /*item*/ ctx[31].rarity + " svelte-vvr35t")) {
				attr(div3, "class", div3_class_value);
			}
		},
		d(detaching) {
			if (detaching) detach(div3);
			mounted = false;
			dispose();
		}
	};
}

// (4283:8) {#if !isNil(selectedItemIndex)}
function transport_interaction_rating_index_svelte_create_if_block(ctx) {
	let div3;
	let p0;
	let t0_value = /*actualList*/ ctx[0][/*selectedItemIndex*/ ctx[1]].carName + "";
	let t0;
	let t1;
	let div0;
	let img0;
	let img0_src_value;
	let t2;
	let p1;
	let t3_value = MAP_TIER_TYPES_TO_TITLE[/*actualList*/ ctx[0][/*selectedItemIndex*/ ctx[1]].rarity] + "";
	let t3;
	let t4;
	let t5_value = /*actualList*/ ctx[0][/*selectedItemIndex*/ ctx[1]].rarityLevel + "";
	let t5;
	let t6;
	let div0_class_value;
	let t7;
	let p2;
	let t8_value = /*actualList*/ ctx[0][/*selectedItemIndex*/ ctx[1]].playerName + "";
	let t8;
	let t9;
	let img1;
	let img1_src_value;
	let t10;
	let span;
	let t12;
	let div2;
	let div1;
	let previous_key = /*actualList*/ ctx[0][/*selectedItemIndex*/ ctx[1]].vehicleId;
	let t13;
	let img2;
	let img2_src_value;
	let div3_intro;
	let div3_outro;
	let current;
	let mounted;
	let dispose;
	let key_block = rating_index_svelte_create_key_block(ctx);

	return {
		c() {
			div3 = internal_element("div");
			p0 = internal_element("p");
			t0 = internal_text(t0_value);
			t1 = space();
			div0 = internal_element("div");
			img0 = internal_element("img");
			t2 = space();
			p1 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = internal_text(" (");
			t5 = internal_text(t5_value);
			t6 = internal_text(")");
			t7 = space();
			p2 = internal_element("p");
			t8 = internal_text(t8_value);
			t9 = space();
			img1 = internal_element("img");
			t10 = space();
			span = internal_element("span");
			span.textContent = "1 место";
			t12 = space();
			div2 = internal_element("div");
			div1 = internal_element("div");
			key_block.c();
			t13 = space();
			img2 = internal_element("img");
			attr(p0, "class", "transport-interaction-rating__side-right-title svelte-vvr35t");
			attr(img0, "class", "transport-interaction-rating__side-right-rarity-bg svelte-vvr35t");
			if (!src_url_equal(img0.src, img0_src_value = rarity_bg_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "rarity-bg");
			attr(p1, "class", "transport-interaction-rating__side-right-rarity-title svelte-vvr35t");
			attr(div0, "class", div0_class_value = "transport-interaction-rating__side-right-rarity transport-interaction-rating__side-right-rarity--" + /*actualList*/ ctx[0][/*selectedItemIndex*/ ctx[1]].rarity + " svelte-vvr35t");
			attr(img1, "class", "transport-interaction-rating__side-right-player-rating svelte-vvr35t");
			if (!src_url_equal(img1.src, img1_src_value = rating_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "rating");
			attr(span, "class", "transport-interaction-rating__side-right-player--small svelte-vvr35t");
			attr(p2, "class", "transport-interaction-rating__side-right-player svelte-vvr35t");
			attr(div1, "class", "transport-interaction-rating__side-right-car-img svelte-vvr35t");
			attr(div2, "class", "transport-interaction-rating__side-right-car-img-wrapper svelte-vvr35t");
			attr(img2, "class", "transport-interaction-rating__side-right-rotate-img svelte-vvr35t");
			if (!src_url_equal(img2.src, img2_src_value = rotate_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "rotate");
			attr(div3, "class", "transport-interaction-rating__side-right svelte-vvr35t");
		},
		m(target, anchor) {
			insert(target, div3, anchor);
			append(div3, p0);
			append(p0, t0);
			append(div3, t1);
			append(div3, div0);
			append(div0, img0);
			append(div0, t2);
			append(div0, p1);
			append(p1, t3);
			append(p1, t4);
			append(p1, t5);
			append(p1, t6);
			append(div3, t7);
			append(div3, p2);
			append(p2, t8);
			append(p2, t9);
			append(p2, img1);
			append(p2, t10);
			append(p2, span);
			append(div3, t12);
			append(div3, div2);
			append(div2, div1);
			key_block.m(div1, null);
			append(div3, t13);
			append(div3, img2);
			current = true;

			if (!mounted) {
				dispose = [
					listen(img2, "click", /*rotate*/ ctx[13]),
					listen(div3, "introend", /*introend_handler*/ ctx[25])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if ((!current || dirty[0] & /*actualList, selectedItemIndex*/ 3) && t0_value !== (t0_value = /*actualList*/ ctx[0][/*selectedItemIndex*/ ctx[1]].carName + "")) set_data(t0, t0_value);
			if ((!current || dirty[0] & /*actualList, selectedItemIndex*/ 3) && t3_value !== (t3_value = MAP_TIER_TYPES_TO_TITLE[/*actualList*/ ctx[0][/*selectedItemIndex*/ ctx[1]].rarity] + "")) set_data(t3, t3_value);
			if ((!current || dirty[0] & /*actualList, selectedItemIndex*/ 3) && t5_value !== (t5_value = /*actualList*/ ctx[0][/*selectedItemIndex*/ ctx[1]].rarityLevel + "")) set_data(t5, t5_value);

			if (!current || dirty[0] & /*actualList, selectedItemIndex*/ 3 && div0_class_value !== (div0_class_value = "transport-interaction-rating__side-right-rarity transport-interaction-rating__side-right-rarity--" + /*actualList*/ ctx[0][/*selectedItemIndex*/ ctx[1]].rarity + " svelte-vvr35t")) {
				attr(div0, "class", div0_class_value);
			}

			if ((!current || dirty[0] & /*actualList, selectedItemIndex*/ 3) && t8_value !== (t8_value = /*actualList*/ ctx[0][/*selectedItemIndex*/ ctx[1]].playerName + "")) set_data(t8, t8_value);

			if (dirty[0] & /*actualList, selectedItemIndex*/ 3 && safe_not_equal(previous_key, previous_key = /*actualList*/ ctx[0][/*selectedItemIndex*/ ctx[1]].vehicleId)) {
				group_outros();
				transition_out(key_block, 1, 1, internal_noop);
				check_outros();
				key_block = rating_index_svelte_create_key_block(ctx);
				key_block.c();
				transition_in(key_block, 1);
				key_block.m(div1, null);
			} else {
				key_block.p(ctx, dirty);
			}
		},
		i(local) {
			if (current) return;
			transition_in(key_block);

			if (local) {
				add_render_callback(() => {
					if (div3_outro) div3_outro.end(1);
					div3_intro = create_in_transition(div3, fly, { x: 200, duration: 500 });
					div3_intro.start();
				});
			}

			current = true;
		},
		o(local) {
			transition_out(key_block);
			if (div3_intro) div3_intro.invalidate();

			if (local) {
				div3_outro = create_out_transition(div3, fly, { x: 200, duration: 200 });
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div3);
			key_block.d(detaching);
			if (detaching && div3_outro) div3_outro.end();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (4318:28) {#if selectedVehicleBlockMounted && actualList[selectedItemIndex].vehicleId}
function transport_interaction_rating_index_svelte_create_if_block_1(ctx) {
	let objectviewer;
	let current;

	objectviewer = new object_viewer_index_svelte({
			props: {
				id: /*actualList*/ ctx[0][/*selectedItemIndex*/ ctx[1]].vehicleId,
				properties: /*actualList*/ ctx[0][/*selectedItemIndex*/ ctx[1]].vehicleProperties,
				components: /*actualList*/ ctx[0][/*selectedItemIndex*/ ctx[1]].vehicleComponents,
				type: "vehicle"
			}
		});

	return {
		c() {
			create_component(objectviewer.$$.fragment);
		},
		m(target, anchor) {
			mount_component(objectviewer, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const objectviewer_changes = {};
			if (dirty[0] & /*actualList, selectedItemIndex*/ 3) objectviewer_changes.id = /*actualList*/ ctx[0][/*selectedItemIndex*/ ctx[1]].vehicleId;
			if (dirty[0] & /*actualList, selectedItemIndex*/ 3) objectviewer_changes.properties = /*actualList*/ ctx[0][/*selectedItemIndex*/ ctx[1]].vehicleProperties;
			if (dirty[0] & /*actualList, selectedItemIndex*/ 3) objectviewer_changes.components = /*actualList*/ ctx[0][/*selectedItemIndex*/ ctx[1]].vehicleComponents;
			objectviewer.$set(objectviewer_changes);
		},
		i(local) {
			if (current) return;
			transition_in(objectviewer.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(objectviewer.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(objectviewer, detaching);
		}
	};
}

// (4317:24) {#key actualList[selectedItemIndex].vehicleId}
function rating_index_svelte_create_key_block(ctx) {
	let if_block_anchor;
	let current;
	let if_block = /*selectedVehicleBlockMounted*/ ctx[6] && /*actualList*/ ctx[0][/*selectedItemIndex*/ ctx[1]].vehicleId && transport_interaction_rating_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			if (if_block) if_block.c();
			if_block_anchor = empty();
		},
		m(target, anchor) {
			if (if_block) if_block.m(target, anchor);
			insert(target, if_block_anchor, anchor);
			current = true;
		},
		p(ctx, dirty) {
			if (/*selectedVehicleBlockMounted*/ ctx[6] && /*actualList*/ ctx[0][/*selectedItemIndex*/ ctx[1]].vehicleId) {
				if (if_block) {
					if_block.p(ctx, dirty);

					if (dirty[0] & /*selectedVehicleBlockMounted, actualList, selectedItemIndex*/ 67) {
						transition_in(if_block, 1);
					}
				} else {
					if_block = transport_interaction_rating_index_svelte_create_if_block_1(ctx);
					if_block.c();
					transition_in(if_block, 1);
					if_block.m(if_block_anchor.parentNode, if_block_anchor);
				}
			} else if (if_block) {
				group_outros();

				transition_out(if_block, 1, 1, () => {
					if_block = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block);
			current = true;
		},
		o(local) {
			transition_out(if_block);
			current = false;
		},
		d(detaching) {
			if (if_block) if_block.d(detaching);
			if (detaching) detach(if_block_anchor);
		}
	};
}

function transport_interaction_rating_index_svelte_create_fragment(ctx) {
	let div8;
	let img;
	let img_src_value;
	let t0;
	let exitbutton;
	let t1;
	let p0;
	let t3;
	let div5;
	let div0;
	let t5;
	let div1;
	let t7;
	let div2;
	let t9;
	let div3;
	let i0;
	let t10;
	let input;
	let t11;
	let div4;
	let i1;
	let t12;
	let t13;
	let div7;
	let div6;
	let t14;
	let infinitescroll;
	let t15;
	let show_if = !(0,lodash.isNil)(/*selectedItemIndex*/ ctx[1]);
	let current;
	let mounted;
	let dispose;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[12],
				fixedPosition: true
			}
		});

	let if_block0 = /*sortDropdownOpened*/ ctx[5] && rating_index_svelte_create_if_block_2(ctx);
	let each_value = /*actualList*/ ctx[0];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = transport_interaction_rating_index_svelte_create_each_block(transport_interaction_rating_index_svelte_get_each_context(ctx, each_value, i));
	}

	infinitescroll = new InfiniteScroll({ props: { threshold: 0 } });
	infinitescroll.$on("loadMore", /*requestList*/ ctx[7]);
	let if_block1 = show_if && transport_interaction_rating_index_svelte_create_if_block(ctx);

	return {
		c() {
			div8 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			create_component(exitbutton.$$.fragment);
			t1 = space();
			p0 = internal_element("p");
			p0.textContent = "РЕЙТИНГ АВТОМОБИЛЕЙ";
			t3 = space();
			div5 = internal_element("div");
			div0 = internal_element("div");
			div0.innerHTML = `<p class="transport-interaction-rating__sort-item-title svelte-vvr35t">ОБЩИЙ</p>`;
			t5 = space();
			div1 = internal_element("div");
			div1.innerHTML = `<p class="transport-interaction-rating__sort-item-title svelte-vvr35t">ХЛАМ</p>`;
			t7 = space();
			div2 = internal_element("div");
			div2.innerHTML = `<p class="transport-interaction-rating__sort-item-title svelte-vvr35t">ИДЕАЛЬНОЕ</p>`;
			t9 = space();
			div3 = internal_element("div");
			i0 = internal_element("i");
			t10 = space();
			input = internal_element("input");
			t11 = space();
			div4 = internal_element("div");
			i1 = internal_element("i");
			t12 = space();
			if (if_block0) if_block0.c();
			t13 = space();
			div7 = internal_element("div");
			div6 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t14 = space();
			create_component(infinitescroll.$$.fragment);
			t15 = space();
			if (if_block1) if_block1.c();
			attr(img, "class", "transport-interaction-rating__background svelte-vvr35t");
			if (!src_url_equal(img.src, img_src_value = rating_img_bg_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "bg");
			attr(p0, "class", "transport-interaction-rating__title svelte-vvr35t");
			attr(div0, "class", "transport-interaction-rating__sort-item svelte-vvr35t");
			toggle_class(div0, "transport-interaction-rating__sort-item--selected", /*filterType*/ ctx[3] === 'all');
			attr(div1, "class", "transport-interaction-rating__sort-item svelte-vvr35t");
			toggle_class(div1, "transport-interaction-rating__sort-item--selected", /*filterType*/ ctx[3] === 'tier1');
			attr(div2, "class", "transport-interaction-rating__sort-item svelte-vvr35t");
			toggle_class(div2, "transport-interaction-rating__sort-item--selected", /*filterType*/ ctx[3] === 'tier3');
			attr(i0, "class", "transport-interaction-rating__sort-input-icon icon-transport-search svelte-vvr35t");
			attr(input, "class", "transport-interaction-rating__sort-input-field svelte-vvr35t");
			attr(input, "type", "text");
			attr(input, "placeholder", "Поиск по модели..");
			attr(div3, "class", "transport-interaction-rating__sort-input svelte-vvr35t");
			attr(i1, "class", "transport-interaction-rating__sort-filter-icon icon-transport-filter svelte-vvr35t");
			attr(div4, "class", "transport-interaction-rating__sort-filter svelte-vvr35t");
			toggle_class(div4, "transport-interaction-rating__sort-filter--active", /*sortDropdownOpened*/ ctx[5]);
			attr(div5, "class", "transport-interaction-rating__sort svelte-vvr35t");
			attr(div6, "class", "transport-interaction-rating__side-left svelte-vvr35t");
			attr(div7, "class", "transport-interaction-rating__sides svelte-vvr35t");
			attr(div8, "class", "transport-interaction-rating svelte-vvr35t");
			toggle_class(div8, "transport-interaction-rating--fullscreen", (0,lodash.isNil)(/*selectedItemIndex*/ ctx[1]));
		},
		m(target, anchor) {
			insert(target, div8, anchor);
			append(div8, img);
			append(div8, t0);
			mount_component(exitbutton, div8, null);
			append(div8, t1);
			append(div8, p0);
			append(div8, t3);
			append(div8, div5);
			append(div5, div0);
			append(div5, t5);
			append(div5, div1);
			append(div5, t7);
			append(div5, div2);
			append(div5, t9);
			append(div5, div3);
			append(div3, i0);
			append(div3, t10);
			append(div3, input);
			set_input_value(input, /*searchText*/ ctx[2]);
			append(div5, t11);
			append(div5, div4);
			append(div4, i1);
			append(div4, t12);
			if (if_block0) if_block0.m(div4, null);
			append(div8, t13);
			append(div8, div7);
			append(div7, div6);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div6, null);
			}

			append(div6, t14);
			mount_component(infinitescroll, div6, null);
			append(div7, t15);
			if (if_block1) if_block1.m(div7, null);
			current = true;

			if (!mounted) {
				dispose = [
					listen(div0, "click", /*click_handler_1*/ ctx[16]),
					listen(div1, "click", /*click_handler_2*/ ctx[17]),
					listen(div2, "click", /*click_handler_3*/ ctx[18]),
					listen(i0, "click", /*search*/ ctx[9]),
					listen(input, "input", /*input_input_handler*/ ctx[19]),
					listen(input, "focus", /*focus_handler*/ ctx[20]),
					listen(div4, "click", /*click_handler_6*/ ctx[23])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty[0] & /*filterType*/ 8) {
				toggle_class(div0, "transport-interaction-rating__sort-item--selected", /*filterType*/ ctx[3] === 'all');
			}

			if (dirty[0] & /*filterType*/ 8) {
				toggle_class(div1, "transport-interaction-rating__sort-item--selected", /*filterType*/ ctx[3] === 'tier1');
			}

			if (dirty[0] & /*filterType*/ 8) {
				toggle_class(div2, "transport-interaction-rating__sort-item--selected", /*filterType*/ ctx[3] === 'tier3');
			}

			if (dirty[0] & /*searchText*/ 4 && input.value !== /*searchText*/ ctx[2]) {
				set_input_value(input, /*searchText*/ ctx[2]);
			}

			if (/*sortDropdownOpened*/ ctx[5]) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = rating_index_svelte_create_if_block_2(ctx);
					if_block0.c();
					if_block0.m(div4, null);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty[0] & /*sortDropdownOpened*/ 32) {
				toggle_class(div4, "transport-interaction-rating__sort-filter--active", /*sortDropdownOpened*/ ctx[5]);
			}

			if (dirty[0] & /*actualList, selectItem*/ 257) {
				each_value = /*actualList*/ ctx[0];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = transport_interaction_rating_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = transport_interaction_rating_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div6, t14);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if (dirty[0] & /*selectedItemIndex*/ 2) show_if = !(0,lodash.isNil)(/*selectedItemIndex*/ ctx[1]);

			if (show_if) {
				if (if_block1) {
					if_block1.p(ctx, dirty);

					if (dirty[0] & /*selectedItemIndex*/ 2) {
						transition_in(if_block1, 1);
					}
				} else {
					if_block1 = transport_interaction_rating_index_svelte_create_if_block(ctx);
					if_block1.c();
					transition_in(if_block1, 1);
					if_block1.m(div7, null);
				}
			} else if (if_block1) {
				group_outros();

				transition_out(if_block1, 1, 1, () => {
					if_block1 = null;
				});

				check_outros();
			}

			if (dirty[0] & /*selectedItemIndex*/ 2) {
				toggle_class(div8, "transport-interaction-rating--fullscreen", (0,lodash.isNil)(/*selectedItemIndex*/ ctx[1]));
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			transition_in(infinitescroll.$$.fragment, local);
			transition_in(if_block1);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			transition_out(infinitescroll.$$.fragment, local);
			transition_out(if_block1);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div8);
			destroy_component(exitbutton);
			if (if_block0) if_block0.d();
			destroy_each(each_blocks, detaching);
			destroy_component(infinitescroll);
			if (if_block1) if_block1.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function transport_interaction_rating_index_svelte_instance($$self, $$props, $$invalidate) {
	let list = [];
	let actualList = [];
	let selectedItemIndex = null;
	let searchText = '';
	let filterType = 'all';
	let sortType = '';
	let sortDropdownOpened = false;
	let initiallyLoaded = false;
	let selectedVehicleBlockMounted = false;

	const requestList = () => {
		sendClientMessage('transportInteraction.rating.requestList', list.length);
	};

	const initializeList = listDto => {
		$$invalidate(14, list = listDto);

		if (!initiallyLoaded) {
			initiallyLoaded = true;
			requestList();
		}
	};

	const selectItem = index => {
		$$invalidate(1, selectedItemIndex = index);
	};

	const pushList = (data = []) => {
		$$invalidate(14, list = [...list, ...data]);
	};

	const search = () => {
		$$invalidate(1, selectedItemIndex = null);
		$$invalidate(4, sortType = null);
		$$invalidate(14, list = []);
		$$invalidate(0, actualList = []);
		sendClientMessage('transportInteraction.rating.search', searchText);
	};

	const filter = type => {
		$$invalidate(3, filterType = type);
		$$invalidate(14, list = []);
		$$invalidate(0, actualList = []);
		$$invalidate(1, selectedItemIndex = null);
		$$invalidate(4, sortType = null);
		sendClientMessage('transportInteraction.rating.filter', filterType, searchText);
	};

	const sort = type => {
		$$invalidate(4, sortType = type);
		sendClientMessage('transportInteraction.rating.sort', sortType);
	};

	const handleClose = () => {
		sendClientMessage('transportInteraction.rating.exit');
	};

	const rotate = () => {
		sendClientMessage('transportInteraction.rating.rotate');
	};

	const unregisterInitializeList = registerEvent('transportInteraction.rating.initialize', initializeList);
	const unregisterInitializePushListEvent = registerEvent('transportInteraction.rating.pushList', pushList);

	onDestroy(() => {
		unregisterInitializeList();
		unregisterInitializePushListEvent();
	});

	function click_handler(event) {
		bubble.call(this, $$self, event);
	}

	const click_handler_1 = () => filter('all');
	const click_handler_2 = () => filter('tier1');
	const click_handler_3 = () => filter('tier3');

	function input_input_handler() {
		searchText = this.value;
		$$invalidate(2, searchText);
	}

	const focus_handler = () => {
		$$invalidate(1, selectedItemIndex = null);
	};

	const click_handler_4 = () => sort('tier3');
	const click_handler_5 = () => sort('tier1');

	const click_handler_6 = () => {
		$$invalidate(5, sortDropdownOpened = !sortDropdownOpened);
	};

	const click_handler_7 = i => selectItem(i);

	const introend_handler = () => {
		$$invalidate(6, selectedVehicleBlockMounted = true);
	};

	$$self.$$.update = () => {
		if ($$self.$$.dirty[0] & /*list*/ 16384) {
			$: {
				$$invalidate(0, actualList = list);
			}
		}
	};

	return [
		actualList,
		selectedItemIndex,
		searchText,
		filterType,
		sortType,
		sortDropdownOpened,
		selectedVehicleBlockMounted,
		requestList,
		selectItem,
		search,
		filter,
		sort,
		handleClose,
		rotate,
		list,
		click_handler,
		click_handler_1,
		click_handler_2,
		click_handler_3,
		input_input_handler,
		focus_handler,
		click_handler_4,
		click_handler_5,
		click_handler_6,
		click_handler_7,
		introend_handler
	];
}

class Rating_1 extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, transport_interaction_rating_index_svelte_instance, transport_interaction_rating_index_svelte_create_fragment, safe_not_equal, {}, transport_interaction_rating_index_svelte_add_css, [-1, -1]);
	}
}

/* harmony default export */ const transport_interaction_rating_index_svelte = (Rating_1);
;// CONCATENATED MODULE: ./src/views/transport-interaction/certificate/img/rotate.png
const certificate_img_rotate_namespaceObject = __webpack_require__.p + "assets/3b179d54fc2470bd028c.webp";
;// CONCATENATED MODULE: ./src/views/transport-interaction/certificate/img/rarity-bg.png
const certificate_img_rarity_bg_namespaceObject = __webpack_require__.p + "assets/bb4f59e41c5455406436.webp";
;// CONCATENATED MODULE: ./src/views/transport-interaction/certificate/img/currency-white.svg
const currency_white_namespaceObject = __webpack_require__.p + "assets/14946ef9482b68481302.svg";
;// CONCATENATED MODULE: ./src/views/transport-interaction/certificate/img/currency-black.svg
const currency_black_namespaceObject = __webpack_require__.p + "assets/3b29369bfaa08c247ccd.svg";
;// CONCATENATED MODULE: ./src/views/transport-interaction/certificate/index.svelte
/* src\views\transport-interaction\certificate\index.svelte generated by Svelte v3.49.0 */


















function certificate_index_svelte_add_css(target) {
	append_styles(target, "svelte-14tthxh", "@keyframes svelte-14tthxh-blinking{50%{opacity:0}}@keyframes svelte-14tthxh-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-14tthxh-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-14tthxh-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-14tthxh-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-14tthxh-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-14tthxh-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-14tthxh-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-14tthxh-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-14tthxh-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-14tthxh-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-14tthxh-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-14tthxh-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-14tthxh-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-14tthxh-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.transport-interaction-certificate.svelte-14tthxh.svelte-14tthxh{position:relative;display:flex;align-items:center;flex-direction:column;width:100vw;height:100vh}.transport-interaction-certificate__background.svelte-14tthxh.svelte-14tthxh{position:absolute;width:100%;height:100%}.transport-interaction-certificate__title-wrapper.svelte-14tthxh.svelte-14tthxh{z-index:1;display:flex;align-items:center;justify-content:center;background:radial-gradient(50% 473.33% at 50% 50%, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);margin-top:calc(0.0479166667 * 100vw + 0px);width:calc(0.5739583333 * 100vw + 0px);height:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__title-wrapper.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.0479166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__title-wrapper.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.0479166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__title-wrapper.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.0368958333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__title-wrapper.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.0527083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__title-wrapper.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.0335416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__title-wrapper.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.043125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__title-wrapper.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.0527083333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__title-wrapper.svelte-14tthxh.svelte-14tthxh{width:calc(0.5739583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__title-wrapper.svelte-14tthxh.svelte-14tthxh{width:calc(0.5739583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__title-wrapper.svelte-14tthxh.svelte-14tthxh{width:calc(0.4419479167 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__title-wrapper.svelte-14tthxh.svelte-14tthxh{width:calc(0.6313541667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__title-wrapper.svelte-14tthxh.svelte-14tthxh{width:calc(0.4017708333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__title-wrapper.svelte-14tthxh.svelte-14tthxh{width:calc(0.5165625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__title-wrapper.svelte-14tthxh.svelte-14tthxh{width:calc(0.6313541667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__title-wrapper.svelte-14tthxh.svelte-14tthxh{height:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__title-wrapper.svelte-14tthxh.svelte-14tthxh{height:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__title-wrapper.svelte-14tthxh.svelte-14tthxh{height:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__title-wrapper.svelte-14tthxh.svelte-14tthxh{height:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__title-wrapper.svelte-14tthxh.svelte-14tthxh{height:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__title-wrapper.svelte-14tthxh.svelte-14tthxh{height:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__title-wrapper.svelte-14tthxh.svelte-14tthxh{height:calc(0.0183333333 * 100vw + 0px)}}.transport-interaction-certificate__title.svelte-14tthxh.svelte-14tthxh{color:#FFFFFF;font-family:\"HeadingNowBold\";text-transform:uppercase;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0091666667 * 100vw + 0px)}}.transport-interaction-certificate__name.svelte-14tthxh.svelte-14tthxh{z-index:1;color:#FFFFFF;font-family:\"HeadingNowBold\";text-transform:uppercase;font-size:calc(0.0333333333 * 100vw + 0px);margin-top:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__name.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__name.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__name.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__name.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__name.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__name.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__name.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0366666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__name.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__name.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__name.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__name.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__name.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__name.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__name.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.0171875 * 100vw + 0px)}}.transport-interaction-certificate__rarity.svelte-14tthxh.svelte-14tthxh{z-index:1;position:relative;display:flex;align-items:center;justify-content:center;gap:calc(0.0052083333 * 100vw + 0px);margin-top:calc(0.015625 * 100vw + 0px);width:calc(0.5270833333 * 100vw + 0px);height:calc(0.0197916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__rarity.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__rarity.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__rarity.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__rarity.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__rarity.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__rarity.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__rarity.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__rarity.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__rarity.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__rarity.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__rarity.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__rarity.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__rarity.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__rarity.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__rarity.svelte-14tthxh.svelte-14tthxh{width:calc(0.5270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__rarity.svelte-14tthxh.svelte-14tthxh{width:calc(0.5270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__rarity.svelte-14tthxh.svelte-14tthxh{width:calc(0.4058541667 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__rarity.svelte-14tthxh.svelte-14tthxh{width:calc(0.5797916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__rarity.svelte-14tthxh.svelte-14tthxh{width:calc(0.3689583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__rarity.svelte-14tthxh.svelte-14tthxh{width:calc(0.474375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__rarity.svelte-14tthxh.svelte-14tthxh{width:calc(0.5797916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__rarity.svelte-14tthxh.svelte-14tthxh{height:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__rarity.svelte-14tthxh.svelte-14tthxh{height:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__rarity.svelte-14tthxh.svelte-14tthxh{height:calc(0.0152395833 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__rarity.svelte-14tthxh.svelte-14tthxh{height:calc(0.0217708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__rarity.svelte-14tthxh.svelte-14tthxh{height:calc(0.0138541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__rarity.svelte-14tthxh.svelte-14tthxh{height:calc(0.0178125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__rarity.svelte-14tthxh.svelte-14tthxh{height:calc(0.0217708333 * 100vw + 0px)}}.transport-interaction-certificate__rarity--tier1.svelte-14tthxh.svelte-14tthxh{background:radial-gradient(50% 255.26% at 50% 50%, #E5E5E5 32.86%, rgba(120, 120, 120, 0) 100%)}.transport-interaction-certificate__rarity--tier2.svelte-14tthxh.svelte-14tthxh{background:radial-gradient(50% 255.26% at 50% 50%, #00FFFF 32.86%, rgba(0, 54, 54, 0) 100%)}.transport-interaction-certificate__rarity--tier3.svelte-14tthxh.svelte-14tthxh{background:radial-gradient(50% 255.26% at 50% 50%, #FFCC00 32.86%, rgba(255, 204, 0, 0) 100%)}.transport-interaction-certificate__rarity-bg.svelte-14tthxh.svelte-14tthxh{position:absolute;pointer-events:none;width:calc(0.5270833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__rarity-bg.svelte-14tthxh.svelte-14tthxh{width:calc(0.5270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__rarity-bg.svelte-14tthxh.svelte-14tthxh{width:calc(0.5270833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__rarity-bg.svelte-14tthxh.svelte-14tthxh{width:calc(0.4058541667 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__rarity-bg.svelte-14tthxh.svelte-14tthxh{width:calc(0.5797916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__rarity-bg.svelte-14tthxh.svelte-14tthxh{width:calc(0.3689583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__rarity-bg.svelte-14tthxh.svelte-14tthxh{width:calc(0.474375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__rarity-bg.svelte-14tthxh.svelte-14tthxh{width:calc(0.5797916667 * 100vw + 0px)}}.transport-interaction-certificate__rarity-title.svelte-14tthxh.svelte-14tthxh{color:#111111;font-family:\"HeadingNowMedium\";text-transform:uppercase;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__rarity-title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__rarity-title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__rarity-title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__rarity-title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__rarity-title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__rarity-title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__rarity-title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0091666667 * 100vw + 0px)}}.transport-interaction-certificate__rarity-info.svelte-14tthxh.svelte-14tthxh{display:flex;align-items:center;justify-content:center;background-color:#111111;border:1px solid rgba(255, 255, 255, 0.1);cursor:pointer;transition:background-color 0.2s linear, border 0.2s linear;border-radius:calc(0.003125 * 100vw + 0px);width:calc(0.009375 * 100vw + 0px);height:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__rarity-info.svelte-14tthxh.svelte-14tthxh{border-radius:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__rarity-info.svelte-14tthxh.svelte-14tthxh{border-radius:calc(0.003125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__rarity-info.svelte-14tthxh.svelte-14tthxh{border-radius:calc(0.00240625 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__rarity-info.svelte-14tthxh.svelte-14tthxh{border-radius:calc(0.0034375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__rarity-info.svelte-14tthxh.svelte-14tthxh{border-radius:calc(0.0021875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__rarity-info.svelte-14tthxh.svelte-14tthxh{border-radius:calc(0.0028125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__rarity-info.svelte-14tthxh.svelte-14tthxh{border-radius:calc(0.0034375 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__rarity-info.svelte-14tthxh.svelte-14tthxh{width:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__rarity-info.svelte-14tthxh.svelte-14tthxh{width:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__rarity-info.svelte-14tthxh.svelte-14tthxh{width:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__rarity-info.svelte-14tthxh.svelte-14tthxh{width:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__rarity-info.svelte-14tthxh.svelte-14tthxh{width:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__rarity-info.svelte-14tthxh.svelte-14tthxh{width:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__rarity-info.svelte-14tthxh.svelte-14tthxh{width:calc(0.0103125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__rarity-info.svelte-14tthxh.svelte-14tthxh{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__rarity-info.svelte-14tthxh.svelte-14tthxh{height:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__rarity-info.svelte-14tthxh.svelte-14tthxh{height:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__rarity-info.svelte-14tthxh.svelte-14tthxh{height:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__rarity-info.svelte-14tthxh.svelte-14tthxh{height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__rarity-info.svelte-14tthxh.svelte-14tthxh{height:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__rarity-info.svelte-14tthxh.svelte-14tthxh{height:calc(0.0103125 * 100vw + 0px)}}.transport-interaction-certificate__rarity-info.svelte-14tthxh.svelte-14tthxh:hover{background-color:#383838;border:1px solid rgba(255, 255, 255, 0.4)}.transport-interaction-certificate__rarity-info-title.svelte-14tthxh.svelte-14tthxh{color:#FFFFFF;font-family:\"HeadingNowRegular\";pointer-events:none;font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__rarity-info-title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__rarity-info-title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__rarity-info-title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__rarity-info-title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__rarity-info-title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__rarity-info-title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__rarity-info-title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.006875 * 100vw + 0px)}}.transport-interaction-certificate__car-img-wrapper.svelte-14tthxh.svelte-14tthxh{display:flex;align-items:center;justify-content:center;position:relative;height:calc(0.2838541667 * 100vw + 0px);width:calc(0.3880208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__car-img-wrapper.svelte-14tthxh.svelte-14tthxh{height:calc(0.2838541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__car-img-wrapper.svelte-14tthxh.svelte-14tthxh{height:calc(0.2838541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__car-img-wrapper.svelte-14tthxh.svelte-14tthxh{height:calc(0.2185677083 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__car-img-wrapper.svelte-14tthxh.svelte-14tthxh{height:calc(0.3122395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__car-img-wrapper.svelte-14tthxh.svelte-14tthxh{height:calc(0.1986979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__car-img-wrapper.svelte-14tthxh.svelte-14tthxh{height:calc(0.25546875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__car-img-wrapper.svelte-14tthxh.svelte-14tthxh{height:calc(0.3122395833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__car-img-wrapper.svelte-14tthxh.svelte-14tthxh{width:calc(0.3880208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__car-img-wrapper.svelte-14tthxh.svelte-14tthxh{width:calc(0.3880208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__car-img-wrapper.svelte-14tthxh.svelte-14tthxh{width:calc(0.2987760417 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__car-img-wrapper.svelte-14tthxh.svelte-14tthxh{width:calc(0.4268229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__car-img-wrapper.svelte-14tthxh.svelte-14tthxh{width:calc(0.2716145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__car-img-wrapper.svelte-14tthxh.svelte-14tthxh{width:calc(0.34921875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__car-img-wrapper.svelte-14tthxh.svelte-14tthxh{width:calc(0.4268229167 * 100vw + 0px)}}.transport-interaction-certificate__car-img.svelte-14tthxh.svelte-14tthxh{position:absolute;height:calc(0.46875 * 100vw + 0px);width:calc(0.46875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__car-img.svelte-14tthxh.svelte-14tthxh{height:calc(0.46875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__car-img.svelte-14tthxh.svelte-14tthxh{height:calc(0.46875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__car-img.svelte-14tthxh.svelte-14tthxh{height:calc(0.3609375 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__car-img.svelte-14tthxh.svelte-14tthxh{height:calc(0.515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__car-img.svelte-14tthxh.svelte-14tthxh{height:calc(0.328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__car-img.svelte-14tthxh.svelte-14tthxh{height:calc(0.421875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__car-img.svelte-14tthxh.svelte-14tthxh{height:calc(0.515625 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__car-img.svelte-14tthxh.svelte-14tthxh{width:calc(0.46875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__car-img.svelte-14tthxh.svelte-14tthxh{width:calc(0.46875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__car-img.svelte-14tthxh.svelte-14tthxh{width:calc(0.3609375 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__car-img.svelte-14tthxh.svelte-14tthxh{width:calc(0.515625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__car-img.svelte-14tthxh.svelte-14tthxh{width:calc(0.328125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__car-img.svelte-14tthxh.svelte-14tthxh{width:calc(0.421875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__car-img.svelte-14tthxh.svelte-14tthxh{width:calc(0.515625 * 100vw + 0px)}}.transport-interaction-certificate__rotate-img.svelte-14tthxh.svelte-14tthxh{z-index:1;cursor:pointer;margin-top:calc(0.0114583333 * 100vw + 0px);height:calc(0.01875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__rotate-img.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__rotate-img.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__rotate-img.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.0088229167 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__rotate-img.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.0126041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__rotate-img.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__rotate-img.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__rotate-img.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.0126041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__rotate-img.svelte-14tthxh.svelte-14tthxh{height:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__rotate-img.svelte-14tthxh.svelte-14tthxh{height:calc(0.01875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__rotate-img.svelte-14tthxh.svelte-14tthxh{height:calc(0.0144375 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__rotate-img.svelte-14tthxh.svelte-14tthxh{height:calc(0.020625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__rotate-img.svelte-14tthxh.svelte-14tthxh{height:calc(0.013125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__rotate-img.svelte-14tthxh.svelte-14tthxh{height:calc(0.016875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__rotate-img.svelte-14tthxh.svelte-14tthxh{height:calc(0.020625 * 100vw + 0px)}}.transport-interaction-certificate__buttons.svelte-14tthxh.svelte-14tthxh{z-index:1;display:flex;gap:calc(0.0104166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__buttons.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__buttons.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__buttons.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__buttons.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__buttons.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__buttons.svelte-14tthxh.svelte-14tthxh{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__buttons.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0114583333 * 100vw + 0px)}}.transport-interaction-certificate__button-wrapper.svelte-14tthxh.svelte-14tthxh{position:relative;display:flex;justify-content:center;margin-top:calc(0.0088541667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__button-wrapper.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__button-wrapper.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__button-wrapper.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.0068177083 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__button-wrapper.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.0097395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__button-wrapper.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.0061979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__button-wrapper.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.00796875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__button-wrapper.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.0097395833 * 100vw + 0px)}}.transport-interaction-certificate__button.svelte-14tthxh.svelte-14tthxh{position:relative;display:flex;align-items:center;justify-content:center;background:linear-gradient(90deg, #FD0E42 0%, #AA0022 100%);border:1px solid rgba(255, 255, 255, 0.05);cursor:pointer;transition:background 0.2s linear;border-radius:calc(0.0052083333 * 100vw + 0px);margin-top:calc(0.0088541667 * 100vw + 0px);width:calc(0.1041666667 * 100vw + 0px);height:calc(0.025 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__button.svelte-14tthxh.svelte-14tthxh{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__button.svelte-14tthxh.svelte-14tthxh{border-radius:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__button.svelte-14tthxh.svelte-14tthxh{border-radius:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__button.svelte-14tthxh.svelte-14tthxh{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__button.svelte-14tthxh.svelte-14tthxh{border-radius:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__button.svelte-14tthxh.svelte-14tthxh{border-radius:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__button.svelte-14tthxh.svelte-14tthxh{border-radius:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__button.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__button.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__button.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.0068177083 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__button.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.0097395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__button.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.0061979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__button.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.00796875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__button.svelte-14tthxh.svelte-14tthxh{margin-top:calc(0.0097395833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__button.svelte-14tthxh.svelte-14tthxh{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__button.svelte-14tthxh.svelte-14tthxh{width:calc(0.1041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__button.svelte-14tthxh.svelte-14tthxh{width:calc(0.0802083333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__button.svelte-14tthxh.svelte-14tthxh{width:calc(0.1145833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__button.svelte-14tthxh.svelte-14tthxh{width:calc(0.0729166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__button.svelte-14tthxh.svelte-14tthxh{width:calc(0.09375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__button.svelte-14tthxh.svelte-14tthxh{width:calc(0.1145833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__button.svelte-14tthxh.svelte-14tthxh{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__button.svelte-14tthxh.svelte-14tthxh{height:calc(0.025 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__button.svelte-14tthxh.svelte-14tthxh{height:calc(0.01925 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__button.svelte-14tthxh.svelte-14tthxh{height:calc(0.0275 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__button.svelte-14tthxh.svelte-14tthxh{height:calc(0.0175 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__button.svelte-14tthxh.svelte-14tthxh{height:calc(0.0225 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__button.svelte-14tthxh.svelte-14tthxh{height:calc(0.0275 * 100vw + 0px)}}.transport-interaction-certificate__button.svelte-14tthxh.svelte-14tthxh:hover{background:linear-gradient(90deg, #AA0022 0%, #92001D 100%)}.transport-interaction-certificate__button--price.svelte-14tthxh.svelte-14tthxh{background:linear-gradient(90deg, #FFFFFF 0%, #BCBCBC 100%);margin-top:0;gap:calc(0.0020833333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__button--price.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__button--price.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__button--price.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0016041667 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__button--price.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0022916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__button--price.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0014583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__button--price.svelte-14tthxh.svelte-14tthxh{gap:calc(0.001875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__button--price.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0022916667 * 100vw + 0px)}}.transport-interaction-certificate__button--price.svelte-14tthxh .transport-interaction-certificate__button-title.svelte-14tthxh{color:rgba(0, 0, 0, 0.85)}.transport-interaction-certificate__button--price.svelte-14tthxh.svelte-14tthxh:hover{background:linear-gradient(90deg, #BCBCBC 0%, #979797 100%)}.transport-interaction-certificate__button-title.svelte-14tthxh.svelte-14tthxh{color:rgba(255, 255, 255, 0.85);font-family:\"HeadingNowBold\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__button-title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__button-title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__button-title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__button-title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__button-title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__button-title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__button-title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.006875 * 100vw + 0px)}}.transport-interaction-certificate__button-title-icon.svelte-14tthxh.svelte-14tthxh{height:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__button-title-icon.svelte-14tthxh.svelte-14tthxh{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__button-title-icon.svelte-14tthxh.svelte-14tthxh{height:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__button-title-icon.svelte-14tthxh.svelte-14tthxh{height:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__button-title-icon.svelte-14tthxh.svelte-14tthxh{height:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__button-title-icon.svelte-14tthxh.svelte-14tthxh{height:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__button-title-icon.svelte-14tthxh.svelte-14tthxh{height:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__button-title-icon.svelte-14tthxh.svelte-14tthxh{height:calc(0.0080208333 * 100vw + 0px)}}.transport-interaction-certificate__button-hint.svelte-14tthxh.svelte-14tthxh{position:absolute;display:flex;align-items:center;gap:calc(0.0041666667 * 100vw + 0px);top:calc(0.0296875 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__button-hint.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__button-hint.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__button-hint.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__button-hint.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__button-hint.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__button-hint.svelte-14tthxh.svelte-14tthxh{gap:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__button-hint.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__button-hint.svelte-14tthxh.svelte-14tthxh{top:calc(0.0296875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__button-hint.svelte-14tthxh.svelte-14tthxh{top:calc(0.0296875 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__button-hint.svelte-14tthxh.svelte-14tthxh{top:calc(0.022859375 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__button-hint.svelte-14tthxh.svelte-14tthxh{top:calc(0.03265625 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__button-hint.svelte-14tthxh.svelte-14tthxh{top:calc(0.02078125 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__button-hint.svelte-14tthxh.svelte-14tthxh{top:calc(0.02671875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__button-hint.svelte-14tthxh.svelte-14tthxh{top:calc(0.03265625 * 100vw + 0px)}}.transport-interaction-certificate__button-hint-icon.svelte-14tthxh.svelte-14tthxh{color:rgba(255, 255, 255, 0.4);font-size:calc(0.0072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__button-hint-icon.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__button-hint-icon.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__button-hint-icon.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0056145833 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__button-hint-icon.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__button-hint-icon.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0051041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__button-hint-icon.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__button-hint-icon.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0080208333 * 100vw + 0px)}}.transport-interaction-certificate__button-hint-title.svelte-14tthxh.svelte-14tthxh{font-family:\"HeadingNowRegular\";color:rgba(255, 255, 255, 0.85);font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__button-hint-title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__button-hint-title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__button-hint-title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__button-hint-title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__button-hint-title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__button-hint-title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__button-hint-title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.006875 * 100vw + 0px)}}.transport-interaction-certificate__list.svelte-14tthxh.svelte-14tthxh{z-index:1}.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh{z-index:1;position:absolute;display:flex;align-items:center;background:linear-gradient(90deg, #000000 0%, rgba(0, 0, 0, 0.770618) 22.94%, rgba(0, 0, 0, 0) 100%);border-left:4px solid #D9D9D9;gap:calc(0.0104166667 * 100vw + 0px);padding-left:calc(0.0088541667 * 100vw + 0px);width:calc(0.1354166667 * 100vw + 0px);height:calc(0.0333333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh{gap:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh{padding-left:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh{padding-left:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh{padding-left:calc(0.0068177083 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh{padding-left:calc(0.0097395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh{padding-left:calc(0.0061979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh{padding-left:calc(0.00796875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh{padding-left:calc(0.0097395833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh{width:calc(0.1354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh{width:calc(0.1354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh{width:calc(0.1042708333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh{width:calc(0.1489583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh{width:calc(0.0947916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh{width:calc(0.121875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh{width:calc(0.1489583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh{height:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh{height:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh{height:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh{height:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh{height:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh{height:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh{height:calc(0.0366666667 * 100vw + 0px)}}.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(1){top:calc(0.2020833333 * 100vw + 0px);left:calc(0.1630208333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(1){top:calc(0.2020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(1){top:calc(0.2020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(1){top:calc(0.1556041667 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(1){top:calc(0.2222916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(1){top:calc(0.1414583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(1){top:calc(0.181875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(1){top:calc(0.2222916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(1){left:calc(0.1630208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(1){left:calc(0.1630208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(1){left:calc(0.1255260417 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(1){left:calc(0.1793229167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(1){left:calc(0.1141145833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(1){left:calc(0.14671875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(1){left:calc(0.1793229167 * 100vw + 0px)}}.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(2){left:calc(0.1234375 * 100vw + 0px);bottom:calc(0.2161458333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(2){left:calc(0.1234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(2){left:calc(0.1234375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(2){left:calc(0.095046875 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(2){left:calc(0.13578125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(2){left:calc(0.08640625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(2){left:calc(0.11109375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(2){left:calc(0.13578125 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(2){bottom:calc(0.2161458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(2){bottom:calc(0.2161458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(2){bottom:calc(0.1664322917 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(2){bottom:calc(0.2377604167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(2){bottom:calc(0.1513020833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(2){bottom:calc(0.19453125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(2){bottom:calc(0.2377604167 * 100vw + 0px)}}.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(3){flex-direction:row-reverse;background:linear-gradient(270deg, #000000 0%, rgba(0, 0, 0, 0.770618) 22.94%, rgba(0, 0, 0, 0) 100%);border-left:none;border-right:4px solid #D9D9D9;padding-right:calc(0.0088541667 * 100vw + 0px);top:calc(0.2020833333 * 100vw + 0px);right:calc(0.1578125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(3){padding-right:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(3){padding-right:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(3){padding-right:calc(0.0068177083 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(3){padding-right:calc(0.0097395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(3){padding-right:calc(0.0061979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(3){padding-right:calc(0.00796875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(3){padding-right:calc(0.0097395833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(3){top:calc(0.2020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(3){top:calc(0.2020833333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(3){top:calc(0.1556041667 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(3){top:calc(0.2222916667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(3){top:calc(0.1414583333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(3){top:calc(0.181875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(3){top:calc(0.2222916667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(3){right:calc(0.1578125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(3){right:calc(0.1578125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(3){right:calc(0.121515625 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(3){right:calc(0.17359375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(3){right:calc(0.11046875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(3){right:calc(0.14203125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(3){right:calc(0.17359375 * 100vw + 0px)}}.transport-interaction-certificate__item.svelte-14tthxh:nth-child(3) .transport-interaction-certificate__item-info.svelte-14tthxh{align-items:flex-end}.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(4){flex-direction:row-reverse;background:linear-gradient(270deg, #000000 0%, rgba(0, 0, 0, 0.770618) 22.94%, rgba(0, 0, 0, 0) 100%);border-left:none;border-right:4px solid #D9D9D9;padding-right:calc(0.0088541667 * 100vw + 0px);right:calc(0.1255208333 * 100vw + 0px);bottom:calc(0.2161458333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(4){padding-right:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(4){padding-right:calc(0.0088541667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(4){padding-right:calc(0.0068177083 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(4){padding-right:calc(0.0097395833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(4){padding-right:calc(0.0061979167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(4){padding-right:calc(0.00796875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(4){padding-right:calc(0.0097395833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(4){right:calc(0.1255208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(4){right:calc(0.1255208333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(4){right:calc(0.0966510417 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(4){right:calc(0.1380729167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(4){right:calc(0.0878645833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(4){right:calc(0.11296875 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(4){right:calc(0.1380729167 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(4){bottom:calc(0.2161458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(4){bottom:calc(0.2161458333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(4){bottom:calc(0.1664322917 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(4){bottom:calc(0.2377604167 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(4){bottom:calc(0.1513020833 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(4){bottom:calc(0.19453125 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__item.svelte-14tthxh.svelte-14tthxh:nth-child(4){bottom:calc(0.2377604167 * 100vw + 0px)}}.transport-interaction-certificate__item.svelte-14tthxh:nth-child(4) .transport-interaction-certificate__item-info.svelte-14tthxh{align-items:flex-end}.transport-interaction-certificate__item-icon.svelte-14tthxh.svelte-14tthxh{color:#FFFFFF;font-size:calc(0.0166666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__item-icon.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__item-icon.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0166666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__item-icon.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0128333333 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__item-icon.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0183333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__item-icon.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0116666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__item-icon.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.015 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__item-icon.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0183333333 * 100vw + 0px)}}.transport-interaction-certificate__item-info.svelte-14tthxh.svelte-14tthxh{display:flex;flex-direction:column;align-items:flex-start;gap:calc(0.0010416667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__item-info.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__item-info.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0010416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__item-info.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0008020833 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__item-info.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0011458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__item-info.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0007291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__item-info.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0009375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__item-info.svelte-14tthxh.svelte-14tthxh{gap:calc(0.0011458333 * 100vw + 0px)}}.transport-interaction-certificate__item-info-title.svelte-14tthxh.svelte-14tthxh{color:rgba(255, 255, 255, 0.5);font-family:\"HeadingNowRegular\";font-size:calc(0.00625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__item-info-title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__item-info-title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__item-info-title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__item-info-title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__item-info-title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__item-info-title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__item-info-title.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.006875 * 100vw + 0px)}}.transport-interaction-certificate__item-info-value.svelte-14tthxh.svelte-14tthxh{color:#FFFFFF;font-family:\"HeadingNowMedium\";text-transform:uppercase;font-size:calc(0.009375 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__item-info-value.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__item-info-value.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.009375 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__item-info-value.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.00721875 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__item-info-value.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0103125 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__item-info-value.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0065625 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__item-info-value.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0084375 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__item-info-value.svelte-14tthxh.svelte-14tthxh{font-size:calc(0.0103125 * 100vw + 0px)}}.transport-interaction-certificate__item-info-value--colored.svelte-14tthxh.svelte-14tthxh{color:#FFCC00}.transport-interaction-certificate__item-info-value-icon.svelte-14tthxh.svelte-14tthxh{height:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.transport-interaction-certificate__item-info-value-icon.svelte-14tthxh.svelte-14tthxh{height:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.transport-interaction-certificate__item-info-value-icon.svelte-14tthxh.svelte-14tthxh{height:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.transport-interaction-certificate__item-info-value-icon.svelte-14tthxh.svelte-14tthxh{height:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.transport-interaction-certificate__item-info-value-icon.svelte-14tthxh.svelte-14tthxh{height:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.transport-interaction-certificate__item-info-value-icon.svelte-14tthxh.svelte-14tthxh{height:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.transport-interaction-certificate__item-info-value-icon.svelte-14tthxh.svelte-14tthxh{height:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.transport-interaction-certificate__item-info-value-icon.svelte-14tthxh.svelte-14tthxh{height:calc(0.0091666667 * 100vw + 0px)}}");
}

// (2381:8) {#key bonusesInfo.length.toString()}
function certificate_index_svelte_create_key_block(ctx) {
	let div;
	let tooltip_action;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			div.innerHTML = `<p class="transport-interaction-certificate__rarity-info-title svelte-14tthxh">i</p>`;
			attr(div, "class", "transport-interaction-certificate__rarity-info svelte-14tthxh");
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = action_destroyer(tooltip_action = components_tooltip_tooltip.call(null, div, {
					bonuses: /*bonusesInfo*/ ctx[1],
					tier: /*certificateInfo*/ ctx[0].rarity
				}));

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (tooltip_action && internal_is_function(tooltip_action.update) && dirty & /*bonusesInfo, certificateInfo*/ 3) tooltip_action.update.call(null, {
				bonuses: /*bonusesInfo*/ ctx[1],
				tier: /*certificateInfo*/ ctx[0].rarity
			});
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (2400:12) {#if certificateInfo.vehicleId}
function certificate_index_svelte_create_if_block_5(ctx) {
	let objectviewer;
	let current;

	objectviewer = new object_viewer_index_svelte({
			props: {
				id: /*certificateInfo*/ ctx[0].vehicleId,
				properties: /*certificateInfo*/ ctx[0].vehicleProperties,
				components: /*certificateInfo*/ ctx[0].vehicleComponents,
				type: "vehicle"
			}
		});

	return {
		c() {
			create_component(objectviewer.$$.fragment);
		},
		m(target, anchor) {
			mount_component(objectviewer, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const objectviewer_changes = {};
			if (dirty & /*certificateInfo*/ 1) objectviewer_changes.id = /*certificateInfo*/ ctx[0].vehicleId;
			if (dirty & /*certificateInfo*/ 1) objectviewer_changes.properties = /*certificateInfo*/ ctx[0].vehicleProperties;
			if (dirty & /*certificateInfo*/ 1) objectviewer_changes.components = /*certificateInfo*/ ctx[0].vehicleComponents;
			objectviewer.$set(objectviewer_changes);
		},
		i(local) {
			if (current) return;
			transition_in(objectviewer.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(objectviewer.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(objectviewer, detaching);
		}
	};
}

// (2426:8) {#if certificateInfo.priceButton > 0}
function certificate_index_svelte_create_if_block_4(ctx) {
	let div2;
	let div0;
	let img;
	let img_src_value;
	let t0;
	let p0;
	let t1_value = formatMoney(/*certificateInfo*/ ctx[0].priceButton) + "";
	let t1;
	let t2;
	let div1;
	let mounted;
	let dispose;

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			div1 = internal_element("div");

			div1.innerHTML = `<i class="transport-interaction-certificate__button-hint-icon icon-transport-hint svelte-14tthxh"></i> 
                    <p class="transport-interaction-certificate__button-hint-title svelte-14tthxh">Продать государству</p>`;

			attr(img, "class", "transport-interaction-certificate__button-title-icon svelte-14tthxh");
			if (!src_url_equal(img.src, img_src_value = currency_black_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "currency");
			attr(p0, "class", "transport-interaction-certificate__button-title svelte-14tthxh");
			attr(div0, "class", "transport-interaction-certificate__button transport-interaction-certificate__button--price svelte-14tthxh");
			attr(div1, "class", "transport-interaction-certificate__button-hint svelte-14tthxh");
			attr(div2, "class", "transport-interaction-certificate__button-wrapper svelte-14tthxh");
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div0, img);
			append(div0, t0);
			append(div0, p0);
			append(p0, t1);
			append(div2, t2);
			append(div2, div1);

			if (!mounted) {
				dispose = listen(div0, "click", /*click_handler*/ ctx[6]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty & /*certificateInfo*/ 1 && t1_value !== (t1_value = formatMoney(/*certificateInfo*/ ctx[0].priceButton) + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div2);
			mounted = false;
			dispose();
		}
	};
}

// (2459:20) {#if certificateInfo.maxSpeedBonus}
function certificate_index_svelte_create_if_block_3(ctx) {
	let span;
	let t0;
	let t1_value = /*certificateInfo*/ ctx[0].maxSpeedBonus + "";
	let t1;
	let t2;

	return {
		c() {
			span = internal_element("span");
			t0 = internal_text("(+");
			t1 = internal_text(t1_value);
			t2 = internal_text(" км/ч)");
			attr(span, "class", "transport-interaction-certificate__item-info-value--colored svelte-14tthxh");
		},
		m(target, anchor) {
			insert(target, span, anchor);
			append(span, t0);
			append(span, t1);
			append(span, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*certificateInfo*/ 1 && t1_value !== (t1_value = /*certificateInfo*/ ctx[0].maxSpeedBonus + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

// (2475:20) {#if certificateInfo.powerBonus}
function certificate_index_svelte_create_if_block_2(ctx) {
	let span;
	let t0;
	let t1_value = /*certificateInfo*/ ctx[0].powerBonus + "";
	let t1;
	let t2;

	return {
		c() {
			span = internal_element("span");
			t0 = internal_text("(+");
			t1 = internal_text(t1_value);
			t2 = internal_text("%)");
			attr(span, "class", "transport-interaction-certificate__item-info-value--colored svelte-14tthxh");
		},
		m(target, anchor) {
			insert(target, span, anchor);
			append(span, t0);
			append(span, t1);
			append(span, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*certificateInfo*/ 1 && t1_value !== (t1_value = /*certificateInfo*/ ctx[0].powerBonus + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

// (2491:20) {#if certificateInfo.hpBonus}
function certificate_index_svelte_create_if_block_1(ctx) {
	let span;
	let t0;
	let t1_value = formatMoney(/*certificateInfo*/ ctx[0].hpBonus) + "";
	let t1;
	let t2;

	return {
		c() {
			span = internal_element("span");
			t0 = internal_text("(+");
			t1 = internal_text(t1_value);
			t2 = internal_text("%)");
			attr(span, "class", "transport-interaction-certificate__item-info-value--colored svelte-14tthxh");
		},
		m(target, anchor) {
			insert(target, span, anchor);
			append(span, t0);
			append(span, t1);
			append(span, t2);
		},
		p(ctx, dirty) {
			if (dirty & /*certificateInfo*/ 1 && t1_value !== (t1_value = formatMoney(/*certificateInfo*/ ctx[0].hpBonus) + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

// (2511:8) {:else}
function certificate_index_svelte_create_else_block(ctx) {
	let div1;
	let i;
	let t0;
	let div0;
	let p0;
	let t2;
	let p1;
	let t3_value = formatMoney(/*certificateInfo*/ ctx[0].price) + "";
	let t3;
	let t4;
	let img;
	let img_src_value;

	return {
		c() {
			div1 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div0 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Гос. цена";
			t2 = space();
			p1 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = space();
			img = internal_element("img");
			attr(i, "class", "transport-interaction-certificate__item-icon icon-transport-price svelte-14tthxh");
			attr(p0, "class", "transport-interaction-certificate__item-info-title svelte-14tthxh");
			attr(img, "class", "transport-interaction-certificate__item-info-value-icon svelte-14tthxh");
			if (!src_url_equal(img.src, img_src_value = currency_white_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "currency");
			attr(p1, "class", "transport-interaction-certificate__item-info-value svelte-14tthxh");
			attr(div0, "class", "transport-interaction-certificate__item-info svelte-14tthxh");
			attr(div1, "class", "transport-interaction-certificate__item svelte-14tthxh");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, i);
			append(div1, t0);
			append(div1, div0);
			append(div0, p0);
			append(div0, t2);
			append(div0, p1);
			append(p1, t3);
			append(p1, t4);
			append(p1, img);
		},
		p(ctx, dirty) {
			if (dirty & /*certificateInfo*/ 1 && t3_value !== (t3_value = formatMoney(/*certificateInfo*/ ctx[0].price) + "")) set_data(t3, t3_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (2499:8) {#if certificateInfo.rarity === Rarity.Tier3}
function certificate_index_svelte_create_if_block(ctx) {
	let div1;
	let i;
	let t0;
	let div0;
	let p0;
	let t2;
	let p1;
	let t3_value = /*certificateInfo*/ ctx[0].supportsColor + "";
	let t3;

	return {
		c() {
			div1 = internal_element("div");
			i = internal_element("i");
			t0 = space();
			div0 = internal_element("div");
			p0 = internal_element("p");
			p0.textContent = "Цвет суппортов";
			t2 = space();
			p1 = internal_element("p");
			t3 = internal_text(t3_value);
			attr(i, "class", "transport-interaction-certificate__item-icon icon-transport-price svelte-14tthxh");
			attr(p0, "class", "transport-interaction-certificate__item-info-title svelte-14tthxh");
			attr(p1, "class", "transport-interaction-certificate__item-info-value svelte-14tthxh");
			attr(div0, "class", "transport-interaction-certificate__item-info svelte-14tthxh");
			attr(div1, "class", "transport-interaction-certificate__item svelte-14tthxh");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, i);
			append(div1, t0);
			append(div1, div0);
			append(div0, p0);
			append(div0, t2);
			append(div0, p1);
			append(p1, t3);
		},
		p(ctx, dirty) {
			if (dirty & /*certificateInfo*/ 1 && t3_value !== (t3_value = /*certificateInfo*/ ctx[0].supportsColor + "")) set_data(t3, t3_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

function certificate_index_svelte_create_fragment(ctx) {
	let div13;
	let img0;
	let img0_src_value;
	let t0;
	let exitbutton;
	let t1;
	let div0;
	let t3;
	let p1;
	let t4_value = /*certificateInfo*/ ctx[0].carName + "";
	let t4;
	let t5;
	let div1;
	let img1;
	let img1_src_value;
	let t6;
	let p2;
	let t7_value = MAP_TIER_TYPES_TO_TITLE[/*certificateInfo*/ ctx[0].rarity] + "";
	let t7;
	let t8;
	let t9_value = /*certificateInfo*/ ctx[0].rarityLevel + "";
	let t9;
	let t10;
	let t11;
	let previous_key = /*bonusesInfo*/ ctx[1].length.toString();
	let div1_class_value;
	let t12;
	let div3;
	let div2;
	let t13;
	let img2;
	let img2_src_value;
	let t14;
	let div5;
	let div4;
	let t16;
	let t17;
	let div12;
	let div7;
	let i0;
	let t18;
	let div6;
	let p4;
	let t20;
	let p5;
	let t21_value = /*certificateInfo*/ ctx[0].maxSpeed + "";
	let t21;
	let t22;
	let t23;
	let div9;
	let i1;
	let t24;
	let div8;
	let p6;
	let t26;
	let p7;
	let t27_value = /*certificateInfo*/ ctx[0].power + "";
	let t27;
	let t28;
	let t29;
	let div11;
	let i2;
	let t30;
	let div10;
	let p8;
	let t32;
	let p9;
	let t33_value = formatMoney(/*certificateInfo*/ ctx[0].hp) + "";
	let t33;
	let t34;
	let t35;
	let current;
	let mounted;
	let dispose;

	exitbutton = new exit_button_index_svelte({
			props: {
				onClick: /*handleClose*/ ctx[5],
				fixedPosition: true
			}
		});

	let key_block = certificate_index_svelte_create_key_block(ctx);
	let if_block0 = /*certificateInfo*/ ctx[0].vehicleId && certificate_index_svelte_create_if_block_5(ctx);
	let if_block1 = /*certificateInfo*/ ctx[0].priceButton > 0 && certificate_index_svelte_create_if_block_4(ctx);
	let if_block2 = /*certificateInfo*/ ctx[0].maxSpeedBonus && certificate_index_svelte_create_if_block_3(ctx);
	let if_block3 = /*certificateInfo*/ ctx[0].powerBonus && certificate_index_svelte_create_if_block_2(ctx);
	let if_block4 = /*certificateInfo*/ ctx[0].hpBonus && certificate_index_svelte_create_if_block_1(ctx);

	function select_block_type(ctx, dirty) {
		if (/*certificateInfo*/ ctx[0].rarity === Rarity.Tier3) return certificate_index_svelte_create_if_block;
		return certificate_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type(ctx, -1);
	let if_block5 = current_block_type(ctx);

	return {
		c() {
			div13 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			create_component(exitbutton.$$.fragment);
			t1 = space();
			div0 = internal_element("div");
			div0.innerHTML = `<p class="transport-interaction-certificate__title svelte-14tthxh">открыв сертификат вы получите:</p>`;
			t3 = space();
			p1 = internal_element("p");
			t4 = internal_text(t4_value);
			t5 = space();
			div1 = internal_element("div");
			img1 = internal_element("img");
			t6 = space();
			p2 = internal_element("p");
			t7 = internal_text(t7_value);
			t8 = internal_text(" (");
			t9 = internal_text(t9_value);
			t10 = internal_text(")");
			t11 = space();
			key_block.c();
			t12 = space();
			div3 = internal_element("div");
			div2 = internal_element("div");
			if (if_block0) if_block0.c();
			t13 = space();
			img2 = internal_element("img");
			t14 = space();
			div5 = internal_element("div");
			div4 = internal_element("div");
			div4.innerHTML = `<p class="transport-interaction-certificate__button-title svelte-14tthxh">получить</p>`;
			t16 = space();
			if (if_block1) if_block1.c();
			t17 = space();
			div12 = internal_element("div");
			div7 = internal_element("div");
			i0 = internal_element("i");
			t18 = space();
			div6 = internal_element("div");
			p4 = internal_element("p");
			p4.textContent = "Скорость";
			t20 = space();
			p5 = internal_element("p");
			t21 = internal_text(t21_value);
			t22 = internal_text(" км/ч\r\n                    ");
			if (if_block2) if_block2.c();
			t23 = space();
			div9 = internal_element("div");
			i1 = internal_element("i");
			t24 = space();
			div8 = internal_element("div");
			p6 = internal_element("p");
			p6.textContent = "Мощность";
			t26 = space();
			p7 = internal_element("p");
			t27 = internal_text(t27_value);
			t28 = internal_text("%\r\n                    ");
			if (if_block3) if_block3.c();
			t29 = space();
			div11 = internal_element("div");
			i2 = internal_element("i");
			t30 = space();
			div10 = internal_element("div");
			p8 = internal_element("p");
			p8.textContent = "Очков здоровья";
			t32 = space();
			p9 = internal_element("p");
			t33 = internal_text(t33_value);
			t34 = space();
			if (if_block4) if_block4.c();
			t35 = space();
			if_block5.c();
			attr(img0, "class", "transport-interaction-certificate__background svelte-14tthxh");
			if (!src_url_equal(img0.src, img0_src_value = MAP_TIER_TYPES_TO_CERTIFICATE_BACKGROUND[/*certificateInfo*/ ctx[0].rarity])) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "background");
			attr(div0, "class", "transport-interaction-certificate__title-wrapper svelte-14tthxh");
			attr(p1, "class", "transport-interaction-certificate__name svelte-14tthxh");
			attr(img1, "class", "transport-interaction-certificate__rarity-bg svelte-14tthxh");
			if (!src_url_equal(img1.src, img1_src_value = certificate_img_rarity_bg_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "rarity-bg");
			attr(p2, "class", "transport-interaction-certificate__rarity-title svelte-14tthxh");
			attr(div1, "class", div1_class_value = "transport-interaction-certificate__rarity transport-interaction-certificate__rarity--" + /*certificateInfo*/ ctx[0].rarity + " svelte-14tthxh");
			attr(div2, "class", "transport-interaction-certificate__car-img svelte-14tthxh");
			attr(div3, "class", "transport-interaction-certificate__car-img-wrapper svelte-14tthxh");
			attr(img2, "class", "transport-interaction-certificate__rotate-img svelte-14tthxh");
			if (!src_url_equal(img2.src, img2_src_value = certificate_img_rotate_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "rotate-car");
			attr(div4, "class", "transport-interaction-certificate__button svelte-14tthxh");
			attr(div5, "class", "transport-interaction-certificate__buttons svelte-14tthxh");
			attr(i0, "class", "transport-interaction-certificate__item-icon icon-transport-speed svelte-14tthxh");
			attr(p4, "class", "transport-interaction-certificate__item-info-title svelte-14tthxh");
			attr(p5, "class", "transport-interaction-certificate__item-info-value svelte-14tthxh");
			attr(div6, "class", "transport-interaction-certificate__item-info svelte-14tthxh");
			attr(div7, "class", "transport-interaction-certificate__item svelte-14tthxh");
			attr(i1, "class", "transport-interaction-certificate__item-icon icon-transport-engine svelte-14tthxh");
			attr(p6, "class", "transport-interaction-certificate__item-info-title svelte-14tthxh");
			attr(p7, "class", "transport-interaction-certificate__item-info-value svelte-14tthxh");
			attr(div8, "class", "transport-interaction-certificate__item-info svelte-14tthxh");
			attr(div9, "class", "transport-interaction-certificate__item svelte-14tthxh");
			attr(i2, "class", "transport-interaction-certificate__item-icon icon-transport-heart svelte-14tthxh");
			attr(p8, "class", "transport-interaction-certificate__item-info-title svelte-14tthxh");
			attr(p9, "class", "transport-interaction-certificate__item-info-value svelte-14tthxh");
			attr(div10, "class", "transport-interaction-certificate__item-info svelte-14tthxh");
			attr(div11, "class", "transport-interaction-certificate__item svelte-14tthxh");
			attr(div12, "class", "transport-interaction-certificate__list svelte-14tthxh");
			attr(div13, "class", "transport-interaction-certificate svelte-14tthxh");
		},
		m(target, anchor) {
			insert(target, div13, anchor);
			append(div13, img0);
			append(div13, t0);
			mount_component(exitbutton, div13, null);
			append(div13, t1);
			append(div13, div0);
			append(div13, t3);
			append(div13, p1);
			append(p1, t4);
			append(div13, t5);
			append(div13, div1);
			append(div1, img1);
			append(div1, t6);
			append(div1, p2);
			append(p2, t7);
			append(p2, t8);
			append(p2, t9);
			append(p2, t10);
			append(div1, t11);
			key_block.m(div1, null);
			append(div13, t12);
			append(div13, div3);
			append(div3, div2);
			if (if_block0) if_block0.m(div2, null);
			append(div13, t13);
			append(div13, img2);
			append(div13, t14);
			append(div13, div5);
			append(div5, div4);
			append(div5, t16);
			if (if_block1) if_block1.m(div5, null);
			append(div13, t17);
			append(div13, div12);
			append(div12, div7);
			append(div7, i0);
			append(div7, t18);
			append(div7, div6);
			append(div6, p4);
			append(div6, t20);
			append(div6, p5);
			append(p5, t21);
			append(p5, t22);
			if (if_block2) if_block2.m(p5, null);
			append(div12, t23);
			append(div12, div9);
			append(div9, i1);
			append(div9, t24);
			append(div9, div8);
			append(div8, p6);
			append(div8, t26);
			append(div8, p7);
			append(p7, t27);
			append(p7, t28);
			if (if_block3) if_block3.m(p7, null);
			append(div12, t29);
			append(div12, div11);
			append(div11, i2);
			append(div11, t30);
			append(div11, div10);
			append(div10, p8);
			append(div10, t32);
			append(div10, p9);
			append(p9, t33);
			append(p9, t34);
			if (if_block4) if_block4.m(p9, null);
			append(div12, t35);
			if_block5.m(div12, null);
			current = true;

			if (!mounted) {
				dispose = [
					listen(img2, "click", /*rotate*/ ctx[2]),
					listen(div4, "click", /*takeCar*/ ctx[3])
				];

				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (!current || dirty & /*certificateInfo*/ 1 && !src_url_equal(img0.src, img0_src_value = MAP_TIER_TYPES_TO_CERTIFICATE_BACKGROUND[/*certificateInfo*/ ctx[0].rarity])) {
				attr(img0, "src", img0_src_value);
			}

			if ((!current || dirty & /*certificateInfo*/ 1) && t4_value !== (t4_value = /*certificateInfo*/ ctx[0].carName + "")) set_data(t4, t4_value);
			if ((!current || dirty & /*certificateInfo*/ 1) && t7_value !== (t7_value = MAP_TIER_TYPES_TO_TITLE[/*certificateInfo*/ ctx[0].rarity] + "")) set_data(t7, t7_value);
			if ((!current || dirty & /*certificateInfo*/ 1) && t9_value !== (t9_value = /*certificateInfo*/ ctx[0].rarityLevel + "")) set_data(t9, t9_value);

			if (dirty & /*bonusesInfo*/ 2 && safe_not_equal(previous_key, previous_key = /*bonusesInfo*/ ctx[1].length.toString())) {
				key_block.d(1);
				key_block = certificate_index_svelte_create_key_block(ctx);
				key_block.c();
				key_block.m(div1, null);
			} else {
				key_block.p(ctx, dirty);
			}

			if (!current || dirty & /*certificateInfo*/ 1 && div1_class_value !== (div1_class_value = "transport-interaction-certificate__rarity transport-interaction-certificate__rarity--" + /*certificateInfo*/ ctx[0].rarity + " svelte-14tthxh")) {
				attr(div1, "class", div1_class_value);
			}

			if (/*certificateInfo*/ ctx[0].vehicleId) {
				if (if_block0) {
					if_block0.p(ctx, dirty);

					if (dirty & /*certificateInfo*/ 1) {
						transition_in(if_block0, 1);
					}
				} else {
					if_block0 = certificate_index_svelte_create_if_block_5(ctx);
					if_block0.c();
					transition_in(if_block0, 1);
					if_block0.m(div2, null);
				}
			} else if (if_block0) {
				group_outros();

				transition_out(if_block0, 1, 1, () => {
					if_block0 = null;
				});

				check_outros();
			}

			if (/*certificateInfo*/ ctx[0].priceButton > 0) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = certificate_index_svelte_create_if_block_4(ctx);
					if_block1.c();
					if_block1.m(div5, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if ((!current || dirty & /*certificateInfo*/ 1) && t21_value !== (t21_value = /*certificateInfo*/ ctx[0].maxSpeed + "")) set_data(t21, t21_value);

			if (/*certificateInfo*/ ctx[0].maxSpeedBonus) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = certificate_index_svelte_create_if_block_3(ctx);
					if_block2.c();
					if_block2.m(p5, null);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}

			if ((!current || dirty & /*certificateInfo*/ 1) && t27_value !== (t27_value = /*certificateInfo*/ ctx[0].power + "")) set_data(t27, t27_value);

			if (/*certificateInfo*/ ctx[0].powerBonus) {
				if (if_block3) {
					if_block3.p(ctx, dirty);
				} else {
					if_block3 = certificate_index_svelte_create_if_block_2(ctx);
					if_block3.c();
					if_block3.m(p7, null);
				}
			} else if (if_block3) {
				if_block3.d(1);
				if_block3 = null;
			}

			if ((!current || dirty & /*certificateInfo*/ 1) && t33_value !== (t33_value = formatMoney(/*certificateInfo*/ ctx[0].hp) + "")) set_data(t33, t33_value);

			if (/*certificateInfo*/ ctx[0].hpBonus) {
				if (if_block4) {
					if_block4.p(ctx, dirty);
				} else {
					if_block4 = certificate_index_svelte_create_if_block_1(ctx);
					if_block4.c();
					if_block4.m(p9, null);
				}
			} else if (if_block4) {
				if_block4.d(1);
				if_block4 = null;
			}

			if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block5) {
				if_block5.p(ctx, dirty);
			} else {
				if_block5.d(1);
				if_block5 = current_block_type(ctx);

				if (if_block5) {
					if_block5.c();
					if_block5.m(div12, null);
				}
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			transition_in(if_block0);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			transition_out(if_block0);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div13);
			destroy_component(exitbutton);
			key_block.d(detaching);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			if (if_block2) if_block2.d();
			if (if_block3) if_block3.d();
			if (if_block4) if_block4.d();
			if_block5.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function certificate_index_svelte_instance($$self, $$props, $$invalidate) {
	let certificateInfo = {};
	let bonusesInfo = [];

	const initializeCertificateInfo = certificateInfoDto => {
		$$invalidate(0, certificateInfo = certificateInfoDto);
	};

	const initializeBonuses = bonusesInfoDto => {
		$$invalidate(1, bonusesInfo = bonusesInfoDto);
	};

	const rotate = () => {
		sendClientMessage('transportInteraction.certificate.rotate');
	};

	const takeCar = () => {
		sendClientMessage('transportInteraction.certificate.take');
	};

	const buy = price => {
		sendClientMessage('transportInteraction.certificate.buy', price);
	};

	const handleClose = () => {
		sendClientMessage('transportInteraction.certificate.exit');
	};

	const unregisterInitializeCertificateInfo = registerEvent('transportInteraction.certificate.initialize', initializeCertificateInfo);
	const unregisterinitializeBonuses = registerEvent('transportInteraction.certificate.initializeBonuses', initializeBonuses);

	onDestroy(() => {
		unregisterInitializeCertificateInfo();
		unregisterinitializeBonuses();
	});

	const click_handler = () => buy(certificateInfo.priceButton);
	return [certificateInfo, bonusesInfo, rotate, takeCar, buy, handleClose, click_handler];
}

class Certificate extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, certificate_index_svelte_instance, certificate_index_svelte_create_fragment, safe_not_equal, {}, certificate_index_svelte_add_css);
	}
}

/* harmony default export */ const certificate_index_svelte = (Certificate);
;// CONCATENATED MODULE: ./src/views/event-pass-lore/img/map.svg
const map_namespaceObject = __webpack_require__.p + "assets/6e8fb73edc6cda95e98c.svg";
;// CONCATENATED MODULE: ./src/views/event-pass-lore/img/letter.png
const letter_namespaceObject = __webpack_require__.p + "assets/eef1b139844d2094e8b9.webp";
;// CONCATENATED MODULE: ./src/views/event-pass-lore/index.svelte
/* src\views\event-pass-lore\index.svelte generated by Svelte v3.49.0 */








function event_pass_lore_index_svelte_add_css(target) {
	append_styles(target, "svelte-r75zns", "@keyframes svelte-r75zns-blinking{50%{opacity:0}}@keyframes svelte-r75zns-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-r75zns-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-r75zns-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-r75zns-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-r75zns-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-r75zns-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-r75zns-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-r75zns-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-r75zns-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-r75zns-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-r75zns-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-r75zns-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-r75zns-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-r75zns-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.event-pass-lore.svelte-r75zns{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100vw;height:100vh}.event-pass-lore__location.svelte-r75zns{position:absolute;display:flex;align-items:center;justify-content:center;gap:calc(0.0083333333 * 100vw + 0px);left:calc(0.0364583333 * 100vw + 0px);bottom:calc(0.0354166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.event-pass-lore__location.svelte-r75zns{gap:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-lore__location.svelte-r75zns{gap:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-lore__location.svelte-r75zns{gap:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-lore__location.svelte-r75zns{gap:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-lore__location.svelte-r75zns{gap:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-lore__location.svelte-r75zns{gap:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-lore__location.svelte-r75zns{gap:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.event-pass-lore__location.svelte-r75zns{left:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-lore__location.svelte-r75zns{left:calc(0.0364583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-lore__location.svelte-r75zns{left:calc(0.0280729167 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-lore__location.svelte-r75zns{left:calc(0.0401041667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-lore__location.svelte-r75zns{left:calc(0.0255208333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-lore__location.svelte-r75zns{left:calc(0.0328125 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-lore__location.svelte-r75zns{left:calc(0.0401041667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.event-pass-lore__location.svelte-r75zns{bottom:calc(0.0354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-lore__location.svelte-r75zns{bottom:calc(0.0354166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-lore__location.svelte-r75zns{bottom:calc(0.0272708333 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-lore__location.svelte-r75zns{bottom:calc(0.0389583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-lore__location.svelte-r75zns{bottom:calc(0.0247916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-lore__location.svelte-r75zns{bottom:calc(0.031875 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-lore__location.svelte-r75zns{bottom:calc(0.0389583333 * 100vw + 0px)}}.event-pass-lore__location-img.svelte-r75zns{height:calc(0.0333333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.event-pass-lore__location-img.svelte-r75zns{height:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-lore__location-img.svelte-r75zns{height:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-lore__location-img.svelte-r75zns{height:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-lore__location-img.svelte-r75zns{height:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-lore__location-img.svelte-r75zns{height:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-lore__location-img.svelte-r75zns{height:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-lore__location-img.svelte-r75zns{height:calc(0.0366666667 * 100vw + 0px)}}.event-pass-lore__location-title-time.svelte-r75zns{font-family:\"HeadingNowMedium\";color:#FFFFFF;text-transform:uppercase;font-size:calc(0.015625 * 100vw + 0px);line-height:calc(0.0197916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.event-pass-lore__location-title-time.svelte-r75zns{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-lore__location-title-time.svelte-r75zns{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-lore__location-title-time.svelte-r75zns{font-size:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-lore__location-title-time.svelte-r75zns{font-size:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-lore__location-title-time.svelte-r75zns{font-size:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-lore__location-title-time.svelte-r75zns{font-size:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-lore__location-title-time.svelte-r75zns{font-size:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.event-pass-lore__location-title-time.svelte-r75zns{line-height:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-lore__location-title-time.svelte-r75zns{line-height:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-lore__location-title-time.svelte-r75zns{line-height:calc(0.0152395833 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-lore__location-title-time.svelte-r75zns{line-height:calc(0.0217708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-lore__location-title-time.svelte-r75zns{line-height:calc(0.0138541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-lore__location-title-time.svelte-r75zns{line-height:calc(0.0178125 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-lore__location-title-time.svelte-r75zns{line-height:calc(0.0217708333 * 100vw + 0px)}}.event-pass-lore__location-title-place.svelte-r75zns{font-family:\"HeadingNowRegular\";color:rgba(255, 255, 255, 0.5);font-size:calc(0.015625 * 100vw + 0px);line-height:calc(0.0197916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.event-pass-lore__location-title-place.svelte-r75zns{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-lore__location-title-place.svelte-r75zns{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-lore__location-title-place.svelte-r75zns{font-size:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-lore__location-title-place.svelte-r75zns{font-size:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-lore__location-title-place.svelte-r75zns{font-size:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-lore__location-title-place.svelte-r75zns{font-size:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-lore__location-title-place.svelte-r75zns{font-size:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.event-pass-lore__location-title-place.svelte-r75zns{line-height:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-lore__location-title-place.svelte-r75zns{line-height:calc(0.0197916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-lore__location-title-place.svelte-r75zns{line-height:calc(0.0152395833 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-lore__location-title-place.svelte-r75zns{line-height:calc(0.0217708333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-lore__location-title-place.svelte-r75zns{line-height:calc(0.0138541667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-lore__location-title-place.svelte-r75zns{line-height:calc(0.0178125 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-lore__location-title-place.svelte-r75zns{line-height:calc(0.0217708333 * 100vw + 0px)}}.event-pass-lore__letter.svelte-r75zns{z-index:1;position:relative;display:flex;flex-direction:column;align-items:center;gap:calc(0.0333333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.event-pass-lore__letter.svelte-r75zns{gap:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-lore__letter.svelte-r75zns{gap:calc(0.0333333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-lore__letter.svelte-r75zns{gap:calc(0.0256666667 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-lore__letter.svelte-r75zns{gap:calc(0.0366666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-lore__letter.svelte-r75zns{gap:calc(0.0233333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-lore__letter.svelte-r75zns{gap:calc(0.03 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-lore__letter.svelte-r75zns{gap:calc(0.0366666667 * 100vw + 0px)}}.event-pass-lore__letter-img.svelte-r75zns{display:flex;align-items:center;justify-content:center;width:calc(0.5557291667 * 100vw + 0px);height:calc(0.1666666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.event-pass-lore__letter-img.svelte-r75zns{width:calc(0.5557291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-lore__letter-img.svelte-r75zns{width:calc(0.5557291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-lore__letter-img.svelte-r75zns{width:calc(0.4279114583 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-lore__letter-img.svelte-r75zns{width:calc(0.6113020833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-lore__letter-img.svelte-r75zns{width:calc(0.3890104167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-lore__letter-img.svelte-r75zns{width:calc(0.50015625 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-lore__letter-img.svelte-r75zns{width:calc(0.6113020833 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.event-pass-lore__letter-img.svelte-r75zns{height:calc(0.1666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-lore__letter-img.svelte-r75zns{height:calc(0.1666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-lore__letter-img.svelte-r75zns{height:calc(0.1283333333 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-lore__letter-img.svelte-r75zns{height:calc(0.1833333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-lore__letter-img.svelte-r75zns{height:calc(0.1166666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-lore__letter-img.svelte-r75zns{height:calc(0.15 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-lore__letter-img.svelte-r75zns{height:calc(0.1833333333 * 100vw + 0px)}}.event-pass-lore__letter-img-bg.svelte-r75zns{position:absolute;height:calc(0.1666666667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.event-pass-lore__letter-img-bg.svelte-r75zns{height:calc(0.1666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-lore__letter-img-bg.svelte-r75zns{height:calc(0.1666666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-lore__letter-img-bg.svelte-r75zns{height:calc(0.1283333333 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-lore__letter-img-bg.svelte-r75zns{height:calc(0.1833333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-lore__letter-img-bg.svelte-r75zns{height:calc(0.1166666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-lore__letter-img-bg.svelte-r75zns{height:calc(0.15 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-lore__letter-img-bg.svelte-r75zns{height:calc(0.1833333333 * 100vw + 0px)}}.event-pass-lore__letter-img-title.svelte-r75zns{position:absolute;font-family:\"HeadingNowRegular\";color:#111111;font-size:calc(0.015625 * 100vw + 0px);width:calc(0.4276041667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.event-pass-lore__letter-img-title.svelte-r75zns{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-lore__letter-img-title.svelte-r75zns{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-lore__letter-img-title.svelte-r75zns{font-size:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-lore__letter-img-title.svelte-r75zns{font-size:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-lore__letter-img-title.svelte-r75zns{font-size:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-lore__letter-img-title.svelte-r75zns{font-size:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-lore__letter-img-title.svelte-r75zns{font-size:calc(0.0171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.event-pass-lore__letter-img-title.svelte-r75zns{width:calc(0.4276041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-lore__letter-img-title.svelte-r75zns{width:calc(0.4276041667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-lore__letter-img-title.svelte-r75zns{width:calc(0.3292552083 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-lore__letter-img-title.svelte-r75zns{width:calc(0.4703645833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-lore__letter-img-title.svelte-r75zns{width:calc(0.2993229167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-lore__letter-img-title.svelte-r75zns{width:calc(0.38484375 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-lore__letter-img-title.svelte-r75zns{width:calc(0.4703645833 * 100vw + 0px)}}.event-pass-lore__letter-button.svelte-r75zns{display:flex;align-items:center;justify-content:center;background-color:#74FFF3;transition:background-color 0.2s linear;cursor:pointer;border-radius:calc(0.00625 * 100vw + 0px);width:calc(0.1635416667 * 100vw + 0px);height:calc(0.040625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.event-pass-lore__letter-button.svelte-r75zns{border-radius:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-lore__letter-button.svelte-r75zns{border-radius:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-lore__letter-button.svelte-r75zns{border-radius:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-lore__letter-button.svelte-r75zns{border-radius:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-lore__letter-button.svelte-r75zns{border-radius:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-lore__letter-button.svelte-r75zns{border-radius:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-lore__letter-button.svelte-r75zns{border-radius:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.event-pass-lore__letter-button.svelte-r75zns{width:calc(0.1635416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-lore__letter-button.svelte-r75zns{width:calc(0.1635416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-lore__letter-button.svelte-r75zns{width:calc(0.1259270833 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-lore__letter-button.svelte-r75zns{width:calc(0.1798958333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-lore__letter-button.svelte-r75zns{width:calc(0.1144791667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-lore__letter-button.svelte-r75zns{width:calc(0.1471875 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-lore__letter-button.svelte-r75zns{width:calc(0.1798958333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.event-pass-lore__letter-button.svelte-r75zns{height:calc(0.040625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-lore__letter-button.svelte-r75zns{height:calc(0.040625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-lore__letter-button.svelte-r75zns{height:calc(0.03128125 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-lore__letter-button.svelte-r75zns{height:calc(0.0446875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-lore__letter-button.svelte-r75zns{height:calc(0.0284375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-lore__letter-button.svelte-r75zns{height:calc(0.0365625 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-lore__letter-button.svelte-r75zns{height:calc(0.0446875 * 100vw + 0px)}}.event-pass-lore__letter-button.svelte-r75zns:hover{background-color:#2CBAAE}.event-pass-lore__letter-button-title.svelte-r75zns{font-family:\"HeadingNowRegular\";color:#16191D;font-size:calc(0.015625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.event-pass-lore__letter-button-title.svelte-r75zns{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-lore__letter-button-title.svelte-r75zns{font-size:calc(0.015625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-lore__letter-button-title.svelte-r75zns{font-size:calc(0.01203125 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-lore__letter-button-title.svelte-r75zns{font-size:calc(0.0171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-lore__letter-button-title.svelte-r75zns{font-size:calc(0.0109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-lore__letter-button-title.svelte-r75zns{font-size:calc(0.0140625 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-lore__letter-button-title.svelte-r75zns{font-size:calc(0.0171875 * 100vw + 0px)}}");
}

function event_pass_lore_index_svelte_create_fragment(ctx) {
	let div5;
	let div1;
	let img0;
	let img0_src_value;
	let t0;
	let div0;
	let p0;
	let t1_value = /*lore*/ ctx[0].timeTitle + "";
	let t1;
	let t2;
	let p1;
	let t3_value = /*lore*/ ctx[0].placeTitle + "";
	let t3;
	let t4;
	let div4;
	let div2;
	let img1;
	let img1_src_value;
	let t5;
	let p2;
	let t6_value = /*lore*/ ctx[0].description + "";
	let t6;
	let t7;
	let div3;
	let mounted;
	let dispose;

	return {
		c() {
			div5 = internal_element("div");
			div1 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			div0 = internal_element("div");
			p0 = internal_element("p");
			t1 = internal_text(t1_value);
			t2 = space();
			p1 = internal_element("p");
			t3 = internal_text(t3_value);
			t4 = space();
			div4 = internal_element("div");
			div2 = internal_element("div");
			img1 = internal_element("img");
			t5 = space();
			p2 = internal_element("p");
			t6 = internal_text(t6_value);
			t7 = space();
			div3 = internal_element("div");
			div3.innerHTML = `<p class="event-pass-lore__letter-button-title svelte-r75zns">Продолжить</p>`;
			attr(img0, "class", "event-pass-lore__location-img svelte-r75zns");
			if (!src_url_equal(img0.src, img0_src_value = map_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "map");
			attr(p0, "class", "event-pass-lore__location-title-time svelte-r75zns");
			attr(p1, "class", "event-pass-lore__location-title-place svelte-r75zns");
			attr(div0, "class", "event-pass-lore__location-titles");
			attr(div1, "class", "event-pass-lore__location svelte-r75zns");
			attr(img1, "class", "event-pass-lore__letter-img-bg svelte-r75zns");
			if (!src_url_equal(img1.src, img1_src_value = letter_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "letter-bg");
			attr(p2, "class", "event-pass-lore__letter-img-title svelte-r75zns");
			attr(div2, "class", "event-pass-lore__letter-img svelte-r75zns");
			attr(div3, "class", "event-pass-lore__letter-button svelte-r75zns");
			attr(div4, "class", "event-pass-lore__letter svelte-r75zns");
			attr(div5, "class", "event-pass-lore svelte-r75zns");
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			append(div5, div1);
			append(div1, img0);
			append(div1, t0);
			append(div1, div0);
			append(div0, p0);
			append(p0, t1);
			append(div0, t2);
			append(div0, p1);
			append(p1, t3);
			append(div5, t4);
			append(div5, div4);
			append(div4, div2);
			append(div2, img1);
			append(div2, t5);
			append(div2, p2);
			append(p2, t6);
			append(div4, t7);
			append(div4, div3);

			if (!mounted) {
				dispose = listen(div3, "click", /*nextLetter*/ ctx[1]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*lore*/ 1 && t1_value !== (t1_value = /*lore*/ ctx[0].timeTitle + "")) set_data(t1, t1_value);
			if (dirty & /*lore*/ 1 && t3_value !== (t3_value = /*lore*/ ctx[0].placeTitle + "")) set_data(t3, t3_value);
			if (dirty & /*lore*/ 1 && t6_value !== (t6_value = /*lore*/ ctx[0].description + "")) set_data(t6, t6_value);
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div5);
			mounted = false;
			dispose();
		}
	};
}

function event_pass_lore_index_svelte_instance($$self, $$props, $$invalidate) {
	let lore = {};

	const initializeLore = loreDto => {
		$$invalidate(0, lore = loreDto);
	};

	const nextLetter = () => {
		sendClientMessage('eventPassLore.continue');
	};

	const unregisterInitializeLore = registerEvent('event.eventPassLore.initializeLore', initializeLore);

	onDestroy(() => {
		unregisterInitializeLore();
	});

	return [lore, nextLetter];
}

class Event_pass_lore extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, event_pass_lore_index_svelte_instance, event_pass_lore_index_svelte_create_fragment, safe_not_equal, {}, event_pass_lore_index_svelte_add_css);
	}
}

/* harmony default export */ const event_pass_lore_index_svelte = (Event_pass_lore);
;// CONCATENATED MODULE: ./src/views/event-pass-radar/img/radar.png
const event_pass_radar_img_radar_namespaceObject = __webpack_require__.p + "assets/d85cab066caf3bd858bb.webp";
;// CONCATENATED MODULE: ./src/views/event-pass-radar/img/info.svg
const event_pass_radar_img_info_namespaceObject = __webpack_require__.p + "assets/648645ceb5c2a91c0ea3.svg";
;// CONCATENATED MODULE: ./src/views/event-pass-radar/index.svelte
/* src\views\event-pass-radar\index.svelte generated by Svelte v3.49.0 */








function event_pass_radar_index_svelte_add_css(target) {
	append_styles(target, "svelte-f5fg6y", "@keyframes svelte-f5fg6y-blinking{50%{opacity:0}}@keyframes svelte-f5fg6y-bouncingLeft{0%{transform:translateX(0)}20%{transform:translateX(-5%)}40%{transform:translateX(-2%)}60%{transform:translateX(-6%)}80%{transform:translateX(0)}100%{transform:translateX(0)}}@keyframes svelte-f5fg6y-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes svelte-f5fg6y-slideUp{0%{transform:translateY(0%);opacity:1}100%{transform:translateY(-150%);opacity:0}}@keyframes svelte-f5fg6y-pulse{0%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes svelte-f5fg6y-slideFromLeft{from{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-f5fg6y-slideFromRight{from{-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes svelte-f5fg6y-slideToTheLeft{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);visibility:visible}to{-webkit-transform:translate3d(-100vw, 0, 0);transform:translate3d(-100vw, 0, 0)}}@keyframes svelte-f5fg6y-slideFromBottomLeftCorner{from{transform:translate3d(-100%, 100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-f5fg6y-slideFromTopRightCorner{from{transform:translate3d(100%, -100%, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}@keyframes svelte-f5fg6y-scaleFromZeroWithBounce{0%{transform:scale(0);visibility:visible}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-f5fg6y-scaleSmallBounce{0%{transform:scale(1)}80%{transform:scale(1.1)}100%{transform:scale(1)}}@keyframes svelte-f5fg6y-customGlassSlide{0%{transform:translate3d(0, 0, 0);visibility:visible}50%{transform:translate3d(0, 30px, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes svelte-f5fg6y-fillAnimation{0%{width:0%}100%{width:100%}}@keyframes svelte-f5fg6y-freeSpinButtonAnim{0%{opacity:0}50%{opacity:0}75%{opacity:1}100%{opacity:0}}.event-pass-radar.svelte-f5fg6y{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100vw;height:100vh}.event-pass-radar__radar.svelte-f5fg6y{position:absolute;display:flex;flex-direction:column;align-items:center;right:calc(0.0239583333 * 100vw + 0px);bottom:calc(0.0177083333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.event-pass-radar__radar.svelte-f5fg6y{right:calc(0.0239583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-radar__radar.svelte-f5fg6y{right:calc(0.0239583333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-radar__radar.svelte-f5fg6y{right:calc(0.0184479167 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-radar__radar.svelte-f5fg6y{right:calc(0.0263541667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-radar__radar.svelte-f5fg6y{right:calc(0.0167708333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-radar__radar.svelte-f5fg6y{right:calc(0.0215625 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-radar__radar.svelte-f5fg6y{right:calc(0.0263541667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.event-pass-radar__radar.svelte-f5fg6y{bottom:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-radar__radar.svelte-f5fg6y{bottom:calc(0.0177083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-radar__radar.svelte-f5fg6y{bottom:calc(0.0136354167 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-radar__radar.svelte-f5fg6y{bottom:calc(0.0194791667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-radar__radar.svelte-f5fg6y{bottom:calc(0.0123958333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-radar__radar.svelte-f5fg6y{bottom:calc(0.0159375 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-radar__radar.svelte-f5fg6y{bottom:calc(0.0194791667 * 100vw + 0px)}}.event-pass-radar__radar-body.svelte-f5fg6y{position:relative;display:flex;align-items:center;justify-content:center;width:calc(0.15625 * 100vw + 0px);height:calc(0.15625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.event-pass-radar__radar-body.svelte-f5fg6y{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-radar__radar-body.svelte-f5fg6y{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-radar__radar-body.svelte-f5fg6y{width:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-radar__radar-body.svelte-f5fg6y{width:calc(0.171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-radar__radar-body.svelte-f5fg6y{width:calc(0.109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-radar__radar-body.svelte-f5fg6y{width:calc(0.140625 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-radar__radar-body.svelte-f5fg6y{width:calc(0.171875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.event-pass-radar__radar-body.svelte-f5fg6y{height:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-radar__radar-body.svelte-f5fg6y{height:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-radar__radar-body.svelte-f5fg6y{height:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-radar__radar-body.svelte-f5fg6y{height:calc(0.171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-radar__radar-body.svelte-f5fg6y{height:calc(0.109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-radar__radar-body.svelte-f5fg6y{height:calc(0.140625 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-radar__radar-body.svelte-f5fg6y{height:calc(0.171875 * 100vw + 0px)}}.event-pass-radar__radar-img.svelte-f5fg6y{position:absolute;width:calc(0.15625 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.event-pass-radar__radar-img.svelte-f5fg6y{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-radar__radar-img.svelte-f5fg6y{width:calc(0.15625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-radar__radar-img.svelte-f5fg6y{width:calc(0.1203125 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-radar__radar-img.svelte-f5fg6y{width:calc(0.171875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-radar__radar-img.svelte-f5fg6y{width:calc(0.109375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-radar__radar-img.svelte-f5fg6y{width:calc(0.140625 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-radar__radar-img.svelte-f5fg6y{width:calc(0.171875 * 100vw + 0px)}}.event-pass-radar__radar-waves.svelte-f5fg6y{position:absolute;width:calc(0.1510416667 * 100vw + 0px);height:calc(0.1510416667 * 100vw + 0px);background:radial-gradient(50% 50% at 50% 50%, rgba(81, 199, 179, 0) 68.27%, rgba(81, 199, 179, 0.7) 100%);border-radius:50%;animation:svelte-f5fg6y-waves var(--blinkingTime) infinite}@media(max-width: 1920px) and (max-height: 768px){.event-pass-radar__radar-waves.svelte-f5fg6y{width:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-radar__radar-waves.svelte-f5fg6y{width:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-radar__radar-waves.svelte-f5fg6y{width:calc(0.1163020833 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-radar__radar-waves.svelte-f5fg6y{width:calc(0.1661458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-radar__radar-waves.svelte-f5fg6y{width:calc(0.1057291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-radar__radar-waves.svelte-f5fg6y{width:calc(0.1359375 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-radar__radar-waves.svelte-f5fg6y{width:calc(0.1661458333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.event-pass-radar__radar-waves.svelte-f5fg6y{height:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-radar__radar-waves.svelte-f5fg6y{height:calc(0.1510416667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-radar__radar-waves.svelte-f5fg6y{height:calc(0.1163020833 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-radar__radar-waves.svelte-f5fg6y{height:calc(0.1661458333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-radar__radar-waves.svelte-f5fg6y{height:calc(0.1057291667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-radar__radar-waves.svelte-f5fg6y{height:calc(0.1359375 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-radar__radar-waves.svelte-f5fg6y{height:calc(0.1661458333 * 100vw + 0px)}}.event-pass-radar__radar-info.svelte-f5fg6y{display:flex;align-items:center;justify-content:center;background-color:rgba(255, 255, 255, 0.2);gap:calc(0.0052083333 * 100vw + 0px);border-radius:calc(0.0083333333 * 100vw + 0px);margin-top:calc(0.0104166667 * 100vw + 0px);width:calc(0.1416666667 * 100vw + 0px);height:calc(0.0307291667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.event-pass-radar__radar-info.svelte-f5fg6y{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-radar__radar-info.svelte-f5fg6y{gap:calc(0.0052083333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-radar__radar-info.svelte-f5fg6y{gap:calc(0.0040104167 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-radar__radar-info.svelte-f5fg6y{gap:calc(0.0057291667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-radar__radar-info.svelte-f5fg6y{gap:calc(0.0036458333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-radar__radar-info.svelte-f5fg6y{gap:calc(0.0046875 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-radar__radar-info.svelte-f5fg6y{gap:calc(0.0057291667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.event-pass-radar__radar-info.svelte-f5fg6y{border-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-radar__radar-info.svelte-f5fg6y{border-radius:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-radar__radar-info.svelte-f5fg6y{border-radius:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-radar__radar-info.svelte-f5fg6y{border-radius:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-radar__radar-info.svelte-f5fg6y{border-radius:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-radar__radar-info.svelte-f5fg6y{border-radius:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-radar__radar-info.svelte-f5fg6y{border-radius:calc(0.0091666667 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.event-pass-radar__radar-info.svelte-f5fg6y{margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-radar__radar-info.svelte-f5fg6y{margin-top:calc(0.0104166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-radar__radar-info.svelte-f5fg6y{margin-top:calc(0.0080208333 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-radar__radar-info.svelte-f5fg6y{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-radar__radar-info.svelte-f5fg6y{margin-top:calc(0.0072916667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-radar__radar-info.svelte-f5fg6y{margin-top:calc(0.009375 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-radar__radar-info.svelte-f5fg6y{margin-top:calc(0.0114583333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.event-pass-radar__radar-info.svelte-f5fg6y{width:calc(0.1416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-radar__radar-info.svelte-f5fg6y{width:calc(0.1416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-radar__radar-info.svelte-f5fg6y{width:calc(0.1090833333 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-radar__radar-info.svelte-f5fg6y{width:calc(0.1558333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-radar__radar-info.svelte-f5fg6y{width:calc(0.0991666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-radar__radar-info.svelte-f5fg6y{width:calc(0.1275 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-radar__radar-info.svelte-f5fg6y{width:calc(0.1558333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.event-pass-radar__radar-info.svelte-f5fg6y{height:calc(0.0307291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-radar__radar-info.svelte-f5fg6y{height:calc(0.0307291667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-radar__radar-info.svelte-f5fg6y{height:calc(0.0236614583 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-radar__radar-info.svelte-f5fg6y{height:calc(0.0338020833 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-radar__radar-info.svelte-f5fg6y{height:calc(0.0215104167 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-radar__radar-info.svelte-f5fg6y{height:calc(0.02765625 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-radar__radar-info.svelte-f5fg6y{height:calc(0.0338020833 * 100vw + 0px)}}.event-pass-radar__radar-info-img.svelte-f5fg6y{height:calc(0.0125 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.event-pass-radar__radar-info-img.svelte-f5fg6y{height:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-radar__radar-info-img.svelte-f5fg6y{height:calc(0.0125 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-radar__radar-info-img.svelte-f5fg6y{height:calc(0.009625 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-radar__radar-info-img.svelte-f5fg6y{height:calc(0.01375 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-radar__radar-info-img.svelte-f5fg6y{height:calc(0.00875 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-radar__radar-info-img.svelte-f5fg6y{height:calc(0.01125 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-radar__radar-info-img.svelte-f5fg6y{height:calc(0.01375 * 100vw + 0px)}}.event-pass-radar__radar-info-title.svelte-f5fg6y{font-family:\"HeadingNowRegular\";color:#FFFFFF;font-size:calc(0.00625 * 100vw + 0px);width:calc(0.1072916667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.event-pass-radar__radar-info-title.svelte-f5fg6y{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-radar__radar-info-title.svelte-f5fg6y{font-size:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-radar__radar-info-title.svelte-f5fg6y{font-size:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-radar__radar-info-title.svelte-f5fg6y{font-size:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-radar__radar-info-title.svelte-f5fg6y{font-size:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-radar__radar-info-title.svelte-f5fg6y{font-size:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-radar__radar-info-title.svelte-f5fg6y{font-size:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.event-pass-radar__radar-info-title.svelte-f5fg6y{width:calc(0.1072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-radar__radar-info-title.svelte-f5fg6y{width:calc(0.1072916667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-radar__radar-info-title.svelte-f5fg6y{width:calc(0.0826145833 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-radar__radar-info-title.svelte-f5fg6y{width:calc(0.1180208333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-radar__radar-info-title.svelte-f5fg6y{width:calc(0.0751041667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-radar__radar-info-title.svelte-f5fg6y{width:calc(0.0965625 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-radar__radar-info-title.svelte-f5fg6y{width:calc(0.1180208333 * 100vw + 0px)}}.event-pass-radar__radar-button.svelte-f5fg6y{display:flex;align-items:center;justify-content:center;background-color:#74FFF3;cursor:pointer;transition:background-color 0.2s linear;border-radius:calc(0.00625 * 100vw + 0px);margin-top:calc(0.0041666667 * 100vw + 0px);width:calc(0.1416666667 * 100vw + 0px);height:calc(0.0229166667 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.event-pass-radar__radar-button.svelte-f5fg6y{border-radius:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-radar__radar-button.svelte-f5fg6y{border-radius:calc(0.00625 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-radar__radar-button.svelte-f5fg6y{border-radius:calc(0.0048125 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-radar__radar-button.svelte-f5fg6y{border-radius:calc(0.006875 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-radar__radar-button.svelte-f5fg6y{border-radius:calc(0.004375 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-radar__radar-button.svelte-f5fg6y{border-radius:calc(0.005625 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-radar__radar-button.svelte-f5fg6y{border-radius:calc(0.006875 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.event-pass-radar__radar-button.svelte-f5fg6y{margin-top:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-radar__radar-button.svelte-f5fg6y{margin-top:calc(0.0041666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-radar__radar-button.svelte-f5fg6y{margin-top:calc(0.0032083333 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-radar__radar-button.svelte-f5fg6y{margin-top:calc(0.0045833333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-radar__radar-button.svelte-f5fg6y{margin-top:calc(0.0029166667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-radar__radar-button.svelte-f5fg6y{margin-top:calc(0.00375 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-radar__radar-button.svelte-f5fg6y{margin-top:calc(0.0045833333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.event-pass-radar__radar-button.svelte-f5fg6y{width:calc(0.1416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-radar__radar-button.svelte-f5fg6y{width:calc(0.1416666667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-radar__radar-button.svelte-f5fg6y{width:calc(0.1090833333 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-radar__radar-button.svelte-f5fg6y{width:calc(0.1558333333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-radar__radar-button.svelte-f5fg6y{width:calc(0.0991666667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-radar__radar-button.svelte-f5fg6y{width:calc(0.1275 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-radar__radar-button.svelte-f5fg6y{width:calc(0.1558333333 * 100vw + 0px)}}@media(max-width: 1920px) and (max-height: 768px){.event-pass-radar__radar-button.svelte-f5fg6y{height:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-radar__radar-button.svelte-f5fg6y{height:calc(0.0229166667 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-radar__radar-button.svelte-f5fg6y{height:calc(0.0176458333 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-radar__radar-button.svelte-f5fg6y{height:calc(0.0252083333 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-radar__radar-button.svelte-f5fg6y{height:calc(0.0160416667 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-radar__radar-button.svelte-f5fg6y{height:calc(0.020625 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-radar__radar-button.svelte-f5fg6y{height:calc(0.0252083333 * 100vw + 0px)}}.event-pass-radar__radar-button.svelte-f5fg6y:hover{background-color:#2CBAAE}.event-pass-radar__radar-button-title.svelte-f5fg6y{font-family:\"HeadingNowRegular\";color:#16191D;font-size:calc(0.0083333333 * 100vw + 0px)}@media(max-width: 1920px) and (max-height: 768px){.event-pass-radar__radar-button-title.svelte-f5fg6y{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1440px){.event-pass-radar__radar-button-title.svelte-f5fg6y{font-size:calc(0.0083333333 * 100vw + 0px)}}@media(min-width: 2560px) and (max-height: 1080px){.event-pass-radar__radar-button-title.svelte-f5fg6y{font-size:calc(0.0064166667 * 100vw + 0px)}}@media(min-width: 3440px){.event-pass-radar__radar-button-title.svelte-f5fg6y{font-size:calc(0.0091666667 * 100vw + 0px)}}@media(min-width: 3440px) and (max-height: 1440px){.event-pass-radar__radar-button-title.svelte-f5fg6y{font-size:calc(0.0058333333 * 100vw + 0px)}}@media(min-width: 3840px) and (max-height: 2160px){.event-pass-radar__radar-button-title.svelte-f5fg6y{font-size:calc(0.0075 * 100vw + 0px)}}@media(min-width: 4096px){.event-pass-radar__radar-button-title.svelte-f5fg6y{font-size:calc(0.0091666667 * 100vw + 0px)}}@keyframes svelte-f5fg6y-waves{0%{transform:scale(0.1, 0.1);opacity:1}90%{opacity:1}100%{transform:scale(1, 1);opacity:0}}");
}

function event_pass_radar_index_svelte_create_fragment(ctx) {
	let div5;
	let div4;
	let div1;
	let img0;
	let img0_src_value;
	let t0;
	let div0;
	let div0_style_value;
	let t1;
	let div2;
	let img1;
	let img1_src_value;
	let t2;
	let p0;
	let t4;
	let div3;
	let mounted;
	let dispose;

	return {
		c() {
			div5 = internal_element("div");
			div4 = internal_element("div");
			div1 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			div0 = internal_element("div");
			t1 = space();
			div2 = internal_element("div");
			img1 = internal_element("img");
			t2 = space();
			p0 = internal_element("p");
			p0.textContent = "Частота моргания индикатора обозначает близость к пришельцу";
			t4 = space();
			div3 = internal_element("div");
			div3.innerHTML = `<p class="event-pass-radar__radar-button-title svelte-f5fg6y">Разоблачить (Нажмите ENTER)</p>`;
			attr(img0, "class", "event-pass-radar__radar-img svelte-f5fg6y");
			if (!src_url_equal(img0.src, img0_src_value = event_pass_radar_img_radar_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "radar");
			attr(div0, "class", "event-pass-radar__radar-waves svelte-f5fg6y");
			attr(div0, "style", div0_style_value = `--blinkingTime: ${/*blinkingTime*/ ctx[0]}s`);
			attr(div1, "class", "event-pass-radar__radar-body svelte-f5fg6y");
			attr(img1, "class", "event-pass-radar__radar-info-img svelte-f5fg6y");
			if (!src_url_equal(img1.src, img1_src_value = event_pass_radar_img_info_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "info-img");
			attr(p0, "class", "event-pass-radar__radar-info-title svelte-f5fg6y");
			attr(div2, "class", "event-pass-radar__radar-info svelte-f5fg6y");
			attr(div3, "class", "event-pass-radar__radar-button svelte-f5fg6y");
			attr(div4, "class", "event-pass-radar__radar svelte-f5fg6y");
			attr(div5, "class", "event-pass-radar svelte-f5fg6y");
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			append(div5, div4);
			append(div4, div1);
			append(div1, img0);
			append(div1, t0);
			append(div1, div0);
			append(div4, t1);
			append(div4, div2);
			append(div2, img1);
			append(div2, t2);
			append(div2, p0);
			append(div4, t4);
			append(div4, div3);

			if (!mounted) {
				dispose = listen(div3, "click", /*unmask*/ ctx[1]);
				mounted = true;
			}
		},
		p(ctx, [dirty]) {
			if (dirty & /*blinkingTime*/ 1 && div0_style_value !== (div0_style_value = `--blinkingTime: ${/*blinkingTime*/ ctx[0]}s`)) {
				attr(div0, "style", div0_style_value);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div5);
			mounted = false;
			dispose();
		}
	};
}

function event_pass_radar_index_svelte_instance($$self, $$props, $$invalidate) {
	let blinkingTime = 0;

	const setBlinkingTime = blinkingTimes => {
		$$invalidate(0, blinkingTime = blinkingTimes);
	};

	const unmask = () => {
		sendClientMessage('eventPassRadar.unmask');
	};

	const unregisterSetBlinkingTimeEvent = registerEvent('event.eventPassRadar.setBlinkingTime', setBlinkingTime);

	onDestroy(() => {
		unregisterSetBlinkingTimeEvent();
	});

	return [blinkingTime, unmask];
}

class Event_pass_radar extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, event_pass_radar_index_svelte_instance, event_pass_radar_index_svelte_create_fragment, safe_not_equal, {}, event_pass_radar_index_svelte_add_css);
	}
}

/* harmony default export */ const event_pass_radar_index_svelte = (Event_pass_radar);
;// CONCATENATED MODULE: ./src/views/sort-game/base-game/constants.js
var MOVE_INTERVAL_RATE = 60;
var PIXELS_STEP = 5;
var OUT_OF_SIGHT_OFFSET = -100;
var Colors = {
  Red: 'red',
  Green: 'green',
  Blue: 'blue',
  Yellow: 'yellow',
  Orange: 'orange',
  Pink: 'pink'
};
var COLORS_POOL = Object.values(Colors);
var DropStatus = {
  Wrong: 'wrong',
  Right: 'right',
  Miss: 'miss'
};
;// CONCATENATED MODULE: ./src/views/sort-game/sound/fail.mp3
const fail_namespaceObject = __webpack_require__.p + "assets/1f45faf55ca890f1f3e2.mp3";
;// CONCATENATED MODULE: ./src/views/sort-game/sound/success.mp3
const sound_success_namespaceObject = __webpack_require__.p + "assets/bea7f613301d0bbc6c14.mp3";
;// CONCATENATED MODULE: ./src/views/sort-game/sound/grab.mp3
const grab_namespaceObject = __webpack_require__.p + "assets/6144b331704387d13281.mp3";
;// CONCATENATED MODULE: ./src/views/sort-game/sound/music.mp3
const sound_music_namespaceObject = __webpack_require__.p + "assets/bef929df0eb5c53f7bca.mp3";
;// CONCATENATED MODULE: ./src/views/sort-game/img/crystals/items/red.png
const red_namespaceObject = __webpack_require__.p + "assets/7341353de8e77c257844.webp";
;// CONCATENATED MODULE: ./src/views/sort-game/img/crystals/items/green.png
const green_namespaceObject = __webpack_require__.p + "assets/c4bab1c97a0729798303.webp";
;// CONCATENATED MODULE: ./src/views/sort-game/img/crystals/items/blue.png
const blue_namespaceObject = __webpack_require__.p + "assets/45a4bb43abfaf39656a5.webp";
;// CONCATENATED MODULE: ./src/views/sort-game/img/crystals/items/yellow.png
const yellow_namespaceObject = __webpack_require__.p + "assets/204632b9cb65b9d321d0.webp";
;// CONCATENATED MODULE: ./src/views/sort-game/img/crystals/items/orange.png
const orange_namespaceObject = __webpack_require__.p + "assets/02266449e64c4bc6bc2d.webp";
;// CONCATENATED MODULE: ./src/views/sort-game/img/crystals/items/pink.png
const pink_namespaceObject = __webpack_require__.p + "assets/e8c8eeefef807c707dea.webp";
;// CONCATENATED MODULE: ./src/views/sort-game/img/crystals/boxes/red.png
const boxes_red_namespaceObject = __webpack_require__.p + "assets/c13fcf55c0fc589fd0fc.webp";
;// CONCATENATED MODULE: ./src/views/sort-game/img/crystals/boxes/green.png
const boxes_green_namespaceObject = __webpack_require__.p + "assets/70d48da7ee56bbb2f6af.webp";
;// CONCATENATED MODULE: ./src/views/sort-game/img/crystals/boxes/blue.png
const boxes_blue_namespaceObject = __webpack_require__.p + "assets/b309ec9dfc6ad5ffe8c2.webp";
;// CONCATENATED MODULE: ./src/views/sort-game/img/crystals/boxes/yellow.png
const boxes_yellow_namespaceObject = __webpack_require__.p + "assets/58bd67121fa6b37be8b7.webp";
;// CONCATENATED MODULE: ./src/views/sort-game/img/crystals/boxes/orange.png
const boxes_orange_namespaceObject = __webpack_require__.p + "assets/b9fc9291fc7d5fca9b72.webp";
;// CONCATENATED MODULE: ./src/views/sort-game/img/crystals/boxes/pink.png
const boxes_pink_namespaceObject = __webpack_require__.p + "assets/e756100ccd832cfcff6c.webp";
;// CONCATENATED MODULE: ./src/views/sort-game/base-game/mocks.js












var GAME_DETAILS_MOCK = [{
  id: 'red',
  image: red_namespaceObject,
  destinationImage: boxes_red_namespaceObject
}, {
  id: 'green',
  image: green_namespaceObject,
  destinationImage: boxes_green_namespaceObject
}, {
  id: 'blue',
  image: blue_namespaceObject,
  destinationImage: boxes_blue_namespaceObject
}, {
  id: 'yellow',
  image: yellow_namespaceObject,
  destinationImage: boxes_yellow_namespaceObject
}, {
  id: 'orange',
  image: orange_namespaceObject,
  destinationImage: boxes_orange_namespaceObject
}, {
  id: 'pink',
  image: pink_namespaceObject,
  destinationImage: boxes_pink_namespaceObject
}];
;// CONCATENATED MODULE: ./src/views/sort-game/base-game/index.svelte
/* src\views\sort-game\base-game\index.svelte generated by Svelte v3.49.0 */


















function base_game_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[40] = list[i];
	return child_ctx;
}

function base_game_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[43] = list[i];
	return child_ctx;
}

// (277:12) {#each items as item}
function base_game_index_svelte_create_each_block_1(ctx) {
	let div;
	let img;
	let img_src_value;
	let t;
	let mounted;
	let dispose;

	function mousedown_handler(...args) {
		return /*mousedown_handler*/ ctx[20](/*item*/ ctx[43], ...args);
	}

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			t = space();
			if (!src_url_equal(img.src, img_src_value = /*item*/ ctx[43].image)) attr(img, "src", img_src_value);
			attr(img, "alt", "item");
			attr(img, "draggable", "false");
			attr(img, "class", "sort-game__egg-image");
			attr(div, "class", "sort-game__egg");
			set_style(div, "left", /*item*/ ctx[43].x + "px");
			set_style(div, "top", /*item*/ ctx[43].y + "px");
			toggle_class(div, "sort-game__egg--hide", /*item*/ ctx[43].hide);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
			append(div, t);

			if (!mounted) {
				dispose = listen(div, "mousedown", mousedown_handler);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty[0] & /*items*/ 2048 && !src_url_equal(img.src, img_src_value = /*item*/ ctx[43].image)) {
				attr(img, "src", img_src_value);
			}

			if (dirty[0] & /*items*/ 2048) {
				set_style(div, "left", /*item*/ ctx[43].x + "px");
			}

			if (dirty[0] & /*items*/ 2048) {
				set_style(div, "top", /*item*/ ctx[43].y + "px");
			}

			if (dirty[0] & /*items*/ 2048) {
				toggle_class(div, "sort-game__egg--hide", /*item*/ ctx[43].hide);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (296:8) {#each gameDetails as itemBox}
function base_game_index_svelte_create_each_block(ctx) {
	let div;
	let img;
	let img_src_value;
	let t;
	let div_id_value;

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			t = space();
			if (!src_url_equal(img.src, img_src_value = /*itemBox*/ ctx[40].destinationImage)) attr(img, "src", img_src_value);
			attr(img, "alt", "box");
			attr(img, "draggable", "false");
			attr(img, "class", "sort-game__box-image");
			attr(div, "id", div_id_value = "box-" + /*itemBox*/ ctx[40].id);
			attr(div, "class", "sort-game__box");
			toggle_class(div, "sort-game__box--shaking", false);
			toggle_class(div, "sort-game__box--jumping", /*draggingItem*/ ctx[10].color === /*itemBox*/ ctx[40].id);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*gameDetails*/ 512 && !src_url_equal(img.src, img_src_value = /*itemBox*/ ctx[40].destinationImage)) {
				attr(img, "src", img_src_value);
			}

			if (dirty[0] & /*gameDetails*/ 512 && div_id_value !== (div_id_value = "box-" + /*itemBox*/ ctx[40].id)) {
				attr(div, "id", div_id_value);
			}

			if (dirty[0] & /*draggingItem, gameDetails*/ 1536) {
				toggle_class(div, "sort-game__box--jumping", /*draggingItem*/ ctx[10].color === /*itemBox*/ ctx[40].id);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (312:4) {#if conveyorBottomImage}
function base_game_index_svelte_create_if_block_1(ctx) {
	let div;
	let div_style_value;

	return {
		c() {
			div = internal_element("div");
			attr(div, "class", "sort-game__conveyor-bottom");
			attr(div, "style", div_style_value = `background-image: url(${/*conveyorBottomImage*/ ctx[8]})`);
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*conveyorBottomImage*/ 256 && div_style_value !== (div_style_value = `background-image: url(${/*conveyorBottomImage*/ ctx[8]})`)) {
				attr(div, "style", div_style_value);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (326:4) {#if !isEmpty(draggingItem)}
function base_game_index_svelte_create_if_block(ctx) {
	let portal;
	let current;

	portal = new portal_svelte({
			props: {
				$$slots: { default: [base_game_index_svelte_create_default_slot] },
				$$scope: { ctx }
			}
		});

	return {
		c() {
			create_component(portal.$$.fragment);
		},
		m(target, anchor) {
			mount_component(portal, target, anchor);
			current = true;
		},
		p(ctx, dirty) {
			const portal_changes = {};

			if (dirty[0] & /*draggingItem*/ 1024 | dirty[1] & /*$$scope*/ 32768) {
				portal_changes.$$scope = { dirty, ctx };
			}

			portal.$set(portal_changes);
		},
		i(local) {
			if (current) return;
			transition_in(portal.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(portal.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(portal, detaching);
		}
	};
}

// (327:8) <Portal>
function base_game_index_svelte_create_default_slot(ctx) {
	let div;
	let img;
	let img_src_value;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = /*draggingItem*/ ctx[10].image)) attr(img, "src", img_src_value);
			attr(img, "alt", "egg");
			attr(img, "draggable", "false");
			attr(img, "class", "sort-game__egg-image");
			attr(div, "class", "sort-game__egg");
			set_style(div, "left", /*draggingItem*/ ctx[10].x + "px");
			set_style(div, "top", /*draggingItem*/ ctx[10].y + "px");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);

			if (!mounted) {
				dispose = [
					listen(div, "mouseup", /*handleMouseUp*/ ctx[17]),
					listen(div, "mousemove", /*handleMouseMove*/ ctx[16])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty[0] & /*draggingItem*/ 1024 && !src_url_equal(img.src, img_src_value = /*draggingItem*/ ctx[10].image)) {
				attr(img, "src", img_src_value);
			}

			if (dirty[0] & /*draggingItem*/ 1024) {
				set_style(div, "left", /*draggingItem*/ ctx[10].x + "px");
			}

			if (dirty[0] & /*draggingItem*/ 1024) {
				set_style(div, "top", /*draggingItem*/ ctx[10].y + "px");
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function base_game_index_svelte_create_fragment(ctx) {
	let div12;
	let div0;
	let t0;
	let div1;
	let t1;
	let t2;
	let div2;
	let exitbutton;
	let t3;
	let div6;
	let div3;
	let t5;
	let div5;
	let img;
	let img_src_value;
	let t6;
	let div4;
	let t7_value = `${/*score*/ ctx[13]} / ${/*total*/ ctx[14]}` + "";
	let t7;
	let div4_style_value;
	let div5_style_value;
	let t8;
	let div8;
	let div7;
	let div8_style_value;
	let t9;
	let div9;
	let t10;
	let t11;
	let div11;
	let i;
	let i_class_value;
	let t12;
	let div10;
	let t13;
	let t14;
	let show_if = !(0,lodash.isEmpty)(/*draggingItem*/ ctx[10]);
	let div12_style_value;
	let current;
	let mounted;
	let dispose;
	exitbutton = new exit_button_index_svelte({ props: { onClick: /*exit*/ ctx[18] } });
	let each_value_1 = /*items*/ ctx[11];
	let each_blocks_1 = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks_1[i] = base_game_index_svelte_create_each_block_1(base_game_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	let each_value = /*gameDetails*/ ctx[9];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = base_game_index_svelte_create_each_block(base_game_index_svelte_get_each_context(ctx, each_value, i));
	}

	let if_block0 = /*conveyorBottomImage*/ ctx[8] && base_game_index_svelte_create_if_block_1(ctx);
	let if_block1 = show_if && base_game_index_svelte_create_if_block(ctx);

	return {
		c() {
			div12 = internal_element("div");
			div0 = internal_element("div");
			t0 = space();
			div1 = internal_element("div");
			t1 = internal_text(/*title*/ ctx[0]);
			t2 = space();
			div2 = internal_element("div");
			create_component(exitbutton.$$.fragment);
			t3 = space();
			div6 = internal_element("div");
			div3 = internal_element("div");
			div3.textContent = "Осталось";
			t5 = space();
			div5 = internal_element("div");
			img = internal_element("img");
			t6 = space();
			div4 = internal_element("div");
			t7 = internal_text(t7_value);
			t8 = space();
			div8 = internal_element("div");
			div7 = internal_element("div");

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].c();
			}

			t9 = space();
			div9 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t10 = space();
			if (if_block0) if_block0.c();
			t11 = space();
			div11 = internal_element("div");
			i = internal_element("i");
			t12 = space();
			div10 = internal_element("div");
			t13 = internal_text(/*description*/ ctx[1]);
			t14 = space();
			if (if_block1) if_block1.c();
			attr(div0, "class", "sort-game__fade");
			attr(div1, "class", "sort-game__title");
			attr(div2, "class", "sort-game__exit");
			attr(div3, "class", "sort-game__counter-caption");
			if (!src_url_equal(img.src, img_src_value = /*counterIcon*/ ctx[3])) attr(img, "src", img_src_value);
			attr(img, "alt", "egg");
			attr(img, "class", "sort-game__counter-icon");
			attr(div4, "class", "sort-game__counter-score");
			attr(div4, "style", div4_style_value = `color: ${/*counterValueColor*/ ctx[5]}`);
			attr(div5, "class", "sort-game__counter-wrapper");

			attr(div5, "style", div5_style_value = `background: ${Array.isArray(/*counterColor*/ ctx[4])
			? `linear-gradient(90deg,${/*counterColor*/ ctx[4][0]} 0%,${/*counterColor*/ ctx[4][1]} 100%)`
			: /*counterColor*/ ctx[4]};`);

			attr(div6, "class", "sort-game__counter");
			attr(div7, "class", "sort-game__items");
			attr(div8, "class", "sort-game__conveyor");
			attr(div8, "style", div8_style_value = `background-image: url(${/*conveyorImage*/ ctx[7]})`);
			attr(div9, "class", "sort-game__boxes");
			attr(i, "class", i_class_value = "sort-game__info-icon " + /*descriptionIcon*/ ctx[2]);
			attr(div10, "class", "sort-game__info-text");
			attr(div11, "class", "sort-game__info");
			attr(div12, "class", "sort-game");
			attr(div12, "style", div12_style_value = `background-image: url(${/*backgroundImage*/ ctx[6]})`);
		},
		m(target, anchor) {
			insert(target, div12, anchor);
			append(div12, div0);
			append(div12, t0);
			append(div12, div1);
			append(div1, t1);
			append(div12, t2);
			append(div12, div2);
			mount_component(exitbutton, div2, null);
			append(div12, t3);
			append(div12, div6);
			append(div6, div3);
			append(div6, t5);
			append(div6, div5);
			append(div5, img);
			append(div5, t6);
			append(div5, div4);
			append(div4, t7);
			append(div12, t8);
			append(div12, div8);
			append(div8, div7);

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].m(div7, null);
			}

			/*div7_binding*/ ctx[21](div7);
			append(div12, t9);
			append(div12, div9);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div9, null);
			}

			append(div12, t10);
			if (if_block0) if_block0.m(div12, null);
			append(div12, t11);
			append(div12, div11);
			append(div11, i);
			append(div11, t12);
			append(div11, div10);
			append(div10, t13);
			append(div12, t14);
			if (if_block1) if_block1.m(div12, null);
			current = true;

			if (!mounted) {
				dispose = listen(div12, "mousemove", /*handleMouseMove*/ ctx[16]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (!current || dirty[0] & /*title*/ 1) set_data(t1, /*title*/ ctx[0]);

			if (!current || dirty[0] & /*counterIcon*/ 8 && !src_url_equal(img.src, img_src_value = /*counterIcon*/ ctx[3])) {
				attr(img, "src", img_src_value);
			}

			if ((!current || dirty[0] & /*score, total*/ 24576) && t7_value !== (t7_value = `${/*score*/ ctx[13]} / ${/*total*/ ctx[14]}` + "")) set_data(t7, t7_value);

			if (!current || dirty[0] & /*counterValueColor*/ 32 && div4_style_value !== (div4_style_value = `color: ${/*counterValueColor*/ ctx[5]}`)) {
				attr(div4, "style", div4_style_value);
			}

			if (!current || dirty[0] & /*counterColor*/ 16 && div5_style_value !== (div5_style_value = `background: ${Array.isArray(/*counterColor*/ ctx[4])
			? `linear-gradient(90deg,${/*counterColor*/ ctx[4][0]} 0%,${/*counterColor*/ ctx[4][1]} 100%)`
			: /*counterColor*/ ctx[4]};`)) {
				attr(div5, "style", div5_style_value);
			}

			if (dirty[0] & /*items, handleMouseDown*/ 34816) {
				each_value_1 = /*items*/ ctx[11];
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = base_game_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks_1[i]) {
						each_blocks_1[i].p(child_ctx, dirty);
					} else {
						each_blocks_1[i] = base_game_index_svelte_create_each_block_1(child_ctx);
						each_blocks_1[i].c();
						each_blocks_1[i].m(div7, null);
					}
				}

				for (; i < each_blocks_1.length; i += 1) {
					each_blocks_1[i].d(1);
				}

				each_blocks_1.length = each_value_1.length;
			}

			if (!current || dirty[0] & /*conveyorImage*/ 128 && div8_style_value !== (div8_style_value = `background-image: url(${/*conveyorImage*/ ctx[7]})`)) {
				attr(div8, "style", div8_style_value);
			}

			if (dirty[0] & /*gameDetails, draggingItem*/ 1536) {
				each_value = /*gameDetails*/ ctx[9];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = base_game_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = base_game_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div9, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value.length;
			}

			if (/*conveyorBottomImage*/ ctx[8]) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = base_game_index_svelte_create_if_block_1(ctx);
					if_block0.c();
					if_block0.m(div12, t11);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (!current || dirty[0] & /*descriptionIcon*/ 4 && i_class_value !== (i_class_value = "sort-game__info-icon " + /*descriptionIcon*/ ctx[2])) {
				attr(i, "class", i_class_value);
			}

			if (!current || dirty[0] & /*description*/ 2) set_data(t13, /*description*/ ctx[1]);
			if (dirty[0] & /*draggingItem*/ 1024) show_if = !(0,lodash.isEmpty)(/*draggingItem*/ ctx[10]);

			if (show_if) {
				if (if_block1) {
					if_block1.p(ctx, dirty);

					if (dirty[0] & /*draggingItem*/ 1024) {
						transition_in(if_block1, 1);
					}
				} else {
					if_block1 = base_game_index_svelte_create_if_block(ctx);
					if_block1.c();
					transition_in(if_block1, 1);
					if_block1.m(div12, null);
				}
			} else if (if_block1) {
				group_outros();

				transition_out(if_block1, 1, 1, () => {
					if_block1 = null;
				});

				check_outros();
			}

			if (!current || dirty[0] & /*backgroundImage*/ 64 && div12_style_value !== (div12_style_value = `background-image: url(${/*backgroundImage*/ ctx[6]})`)) {
				attr(div12, "style", div12_style_value);
			}
		},
		i(local) {
			if (current) return;
			transition_in(exitbutton.$$.fragment, local);
			transition_in(if_block1);
			current = true;
		},
		o(local) {
			transition_out(exitbutton.$$.fragment, local);
			transition_out(if_block1);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div12);
			destroy_component(exitbutton);
			destroy_each(each_blocks_1, detaching);
			/*div7_binding*/ ctx[21](null);
			destroy_each(each_blocks, detaching);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			mounted = false;
			dispose();
		}
	};
}

function base_game_index_svelte_instance($$self, $$props, $$invalidate) {
	let { gameId = '' } = $$props;
	let { title } = $$props;
	let { description } = $$props;
	let { descriptionIcon } = $$props;
	let { counterIcon } = $$props;
	let { counterColor } = $$props;
	let { counterValueColor } = $$props;
	let { backgroundImage } = $$props;
	let { conveyorImage } = $$props;
	let { conveyorBottomImage } = $$props;
	let gameDetails = [];
	let generatorInterval = null;
	let moveInterval = null;
	let draggingItem = {};
	let items = [];
	let itemsNode = null;
	let offsetTop = 0;
	let initialOffsetLeft = 0;
	const startPosition = {};
	let score = 0;
	let total = 0;
	let boxesCoords = [];
	const innerOffsets = {};
	let speed = 0;
	const failSound = new Audio(fail_namespaceObject);
	const successSound = new Audio(sound_success_namespaceObject);
	const grabSound = new Audio(grab_namespaceObject);
	const musicSound = new Audio(sound_music_namespaceObject);

	const initializeGameDetails = gameDetailsDto => {
		$$invalidate(9, gameDetails = gameDetailsDto);
	};

	const getResolutionScale = value => {
		const screenWidth = window.innerWidth;
		if (screenWidth >= 2560) return value * 1.5;
		if (screenWidth >= 3840) return value * 3;
		return value;
	};

	const checkBox = () => {
		let condition = DropStatus.Miss;

		boxesCoords.forEach(box => {
			if (draggingItem.x > box.x1 && draggingItem.x < box.x2 && draggingItem.y > box.y1 && draggingItem.y < box.y2 && draggingItem.color === box.color) {
				condition = DropStatus.Right;
			} else if (draggingItem.x > box.x1 && draggingItem.x < box.x2 && draggingItem.y > box.y1 && draggingItem.y < box.y2 && draggingItem.color !== box.color) {
				condition = DropStatus.Wrong;
			}
		});

		return condition;
	};

	const move = () => {
		$$invalidate(11, items = items.map(item => {
			if (item.drag) {
				return item;
			}

			const nextX = item.x + speed;

			if (nextX > window.innerWidth) {
				return null;
			}

			return { ...item, x: nextX };
		}));

		$$invalidate(11, items = items.filter(Boolean)); // исключает значения null;
	}; // requestAnimationFrame(move);

	const handleMouseDown = (event, item) => {
		if (event.button === 0) {
			innerOffsets.x = event.target.getBoundingClientRect().width / 2;
			innerOffsets.y = event.target.getBoundingClientRect().height * 0.1;
			$$invalidate(10, draggingItem = { ...item });
			startPosition.x = item.x;
			startPosition.y = offsetTop;

			$$invalidate(11, items = items.map(udpateItem => {
				if (udpateItem.id === draggingItem.id) {
					return { ...udpateItem, hide: true };
				}

				return udpateItem;
			}));

			grabSound.play();
		}
	};

	const handleMouseMove = event => {
		if (!(0,lodash.isEmpty)(draggingItem)) {
			$$invalidate(10, draggingItem.x = event.clientX - innerOffsets.x, draggingItem);
			$$invalidate(10, draggingItem.y = event.clientY + innerOffsets.y, draggingItem);
		}
	};

	const handleMouseUp = event => {
		if (event.button === 0) {
			const dropResultStatus = checkBox();

			if (dropResultStatus === DropStatus.Right) {
				$$invalidate(13, score += 1);
				const { color } = draggingItem;
				document.querySelector(`#box-${color}`).classList.add('sort-game__box--shaking');

				setTimeout(
					() => {
						document.querySelector(`#box-${color}`).classList.remove('sort-game__box--shaking');
					},
					1200
				);

				sendClientMessage('sortBaseGame.correctMove');
				successSound.currentTime = 0;
				successSound.play();
			} else if (dropResultStatus === DropStatus.Wrong) {
				$$invalidate(11, items = items.map(udpateItem => {
					if (udpateItem.id === draggingItem.id) {
						return { ...udpateItem, hide: true };
					}

					failSound.currentTime = 0;
					failSound.play();
					return udpateItem;
				}));
			} else {
				$$invalidate(11, items = items.map(udpateItem => {
					if (udpateItem.id === draggingItem.id) {
						return { ...udpateItem, hide: false, y: offsetTop };
					}

					return udpateItem;
				}));
			}

			$$invalidate(10, draggingItem = {});
		}
	};

	const unregisterInitializeTotal = registerEvent('event.sortBaseGame.total', value => {
		$$invalidate(14, total = value);
	});

	const unregisterInitializeGameDetails = registerEvent('event.sortBaseGame.initializeGameDetails', initializeGameDetails);
	const exit = () => sendClientMessage('sortBaseGame.exit', { gameId });
	initializeGameDetails(GAME_DETAILS_MOCK);

	onMount(() => {
		musicSound.loop = true;
		musicSound.currentTime = 0;
		musicSound.play();
		offsetTop = itemsNode.getBoundingClientRect().y;

		boxesCoords = COLORS_POOL.map(color => {
			const nodeCoords = document.querySelector(`#box-${color}`).getBoundingClientRect();

			return {
				color,
				x1: nodeCoords.x,
				y1: nodeCoords.y,
				x2: nodeCoords.x + nodeCoords.width,
				y2: nodeCoords.y + nodeCoords.height
			};
		});

		speed = getResolutionScale(PIXELS_STEP);
		initialOffsetLeft = getResolutionScale(OUT_OF_SIGHT_OFFSET);

		generatorInterval = setInterval(
			() => {
				const color = COLORS_POOL[Math.floor(Math.random() * COLORS_POOL.length)];
				const image = gameDetails.find(item => item.id === color)?.image;

				$$invalidate(11, items = [
					{
						id: Math.random().toString(16).slice(2),
						color,
						image,
						x: initialOffsetLeft,
						y: offsetTop,
						drag: false
					},
					...items
				]);
			},
			2000
		);

		moveInterval = setInterval(
			() => {
				move();
			},
			MOVE_INTERVAL_RATE
		);
	});

	onDestroy(() => {
		unregisterInitializeTotal();
		unregisterInitializeGameDetails();

		if (!(0,lodash.isNil)(moveInterval)) {
			clearInterval(moveInterval);
		}

		if (!(0,lodash.isNil)(generatorInterval)) {
			clearInterval(generatorInterval);
		}

		musicSound.pause();
	});

	const mousedown_handler = (item, event) => handleMouseDown(event, item);

	function div7_binding($$value) {
		binding_callbacks[$$value ? 'unshift' : 'push'](() => {
			itemsNode = $$value;
			$$invalidate(12, itemsNode);
		});
	}

	$$self.$$set = $$props => {
		if ('gameId' in $$props) $$invalidate(19, gameId = $$props.gameId);
		if ('title' in $$props) $$invalidate(0, title = $$props.title);
		if ('description' in $$props) $$invalidate(1, description = $$props.description);
		if ('descriptionIcon' in $$props) $$invalidate(2, descriptionIcon = $$props.descriptionIcon);
		if ('counterIcon' in $$props) $$invalidate(3, counterIcon = $$props.counterIcon);
		if ('counterColor' in $$props) $$invalidate(4, counterColor = $$props.counterColor);
		if ('counterValueColor' in $$props) $$invalidate(5, counterValueColor = $$props.counterValueColor);
		if ('backgroundImage' in $$props) $$invalidate(6, backgroundImage = $$props.backgroundImage);
		if ('conveyorImage' in $$props) $$invalidate(7, conveyorImage = $$props.conveyorImage);
		if ('conveyorBottomImage' in $$props) $$invalidate(8, conveyorBottomImage = $$props.conveyorBottomImage);
	};

	return [
		title,
		description,
		descriptionIcon,
		counterIcon,
		counterColor,
		counterValueColor,
		backgroundImage,
		conveyorImage,
		conveyorBottomImage,
		gameDetails,
		draggingItem,
		items,
		itemsNode,
		score,
		total,
		handleMouseDown,
		handleMouseMove,
		handleMouseUp,
		exit,
		gameId,
		mousedown_handler,
		div7_binding
	];
}

class Base_game extends SvelteComponent {
	constructor(options) {
		super();

		init(
			this,
			options,
			base_game_index_svelte_instance,
			base_game_index_svelte_create_fragment,
			safe_not_equal,
			{
				gameId: 19,
				title: 0,
				description: 1,
				descriptionIcon: 2,
				counterIcon: 3,
				counterColor: 4,
				counterValueColor: 5,
				backgroundImage: 6,
				conveyorImage: 7,
				conveyorBottomImage: 8
			},
			null,
			[-1, -1]
		);
	}
}

/* harmony default export */ const base_game_index_svelte = (Base_game);
;// CONCATENATED MODULE: ./src/views/sort-game/img/eggs/counter-egg.svg
const counter_egg_namespaceObject = __webpack_require__.p + "assets/977f9814c7c9d128e486.svg";
;// CONCATENATED MODULE: ./src/views/sort-game/img/eggs/bg.png
const eggs_bg_namespaceObject = __webpack_require__.p + "assets/fcd1412a72bdbb4fd54a.webp";
;// CONCATENATED MODULE: ./src/views/sort-game/img/eggs/conveyor.png
const conveyor_namespaceObject = __webpack_require__.p + "assets/c43b2200005ab35fc9b9.webp";
;// CONCATENATED MODULE: ./src/views/sort-game/img/eggs/conveyor-bottom.png
const conveyor_bottom_namespaceObject = __webpack_require__.p + "assets/a7b6756d1bdc8e3ed251.webp";
;// CONCATENATED MODULE: ./src/views/sort-game/eggs/index.svelte
/* src\views\sort-game\eggs\index.svelte generated by Svelte v3.49.0 */








function eggs_index_svelte_create_fragment(ctx) {
	let basegame;
	let current;

	basegame = new base_game_index_svelte({
			props: {
				title: "Сортировка пасхальных яиц",
				description: "Нажмите на яйцо с помощью ПКМ и перенесите в нужную коробку",
				descriptionIcon: "icon-info",
				counterIcon: counter_egg_namespaceObject,
				counterColor: "#83D1EF",
				backgroundImage: eggs_bg_namespaceObject,
				conveyorImage: conveyor_namespaceObject,
				conveyorBottomImage: conveyor_bottom_namespaceObject
			}
		});

	return {
		c() {
			create_component(basegame.$$.fragment);
		},
		m(target, anchor) {
			mount_component(basegame, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(basegame.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(basegame.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(basegame, detaching);
		}
	};
}

class Eggs extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, eggs_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const eggs_index_svelte = (Eggs);
;// CONCATENATED MODULE: ./src/views/sort-game/img/documents/counter-document.svg
const counter_document_namespaceObject = __webpack_require__.p + "assets/f1a82dbde3f6695e478b.svg";
;// CONCATENATED MODULE: ./src/views/sort-game/img/documents/bg.png
const documents_bg_namespaceObject = __webpack_require__.p + "assets/150008d02a6f7c43996b.webp";
;// CONCATENATED MODULE: ./src/views/sort-game/img/documents/conveyor.png
const documents_conveyor_namespaceObject = __webpack_require__.p + "assets/5a21302210c5eca4e95d.webp";
;// CONCATENATED MODULE: ./src/views/sort-game/documents/index.svelte
/* src\views\sort-game\documents\index.svelte generated by Svelte v3.49.0 */







function sort_game_documents_index_svelte_create_fragment(ctx) {
	let basegame;
	let current;

	basegame = new base_game_index_svelte({
			props: {
				title: "Сортировка документации",
				description: "Нажмите на документ с помощью ПКМ и перенесите в нужную коробку",
				descriptionIcon: "icon-info",
				counterIcon: counter_document_namespaceObject,
				counterColor: ['#FFDB0D', '#FA6E0A'],
				backgroundImage: documents_bg_namespaceObject,
				conveyorImage: documents_conveyor_namespaceObject
			}
		});

	return {
		c() {
			create_component(basegame.$$.fragment);
		},
		m(target, anchor) {
			mount_component(basegame, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(basegame.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(basegame.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(basegame, detaching);
		}
	};
}

class index_svelte_Documents extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, sort_game_documents_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const sort_game_documents_index_svelte = (index_svelte_Documents);
;// CONCATENATED MODULE: ./src/views/sort-game/img/crystals/counter-crystal.png
const counter_crystal_namespaceObject = __webpack_require__.p + "assets/35a70f080d14cc4922e0.webp";
;// CONCATENATED MODULE: ./src/views/sort-game/img/crystals/background.png
const crystals_background_namespaceObject = __webpack_require__.p + "assets/8b2883c670679ae0c8f7.webp";
;// CONCATENATED MODULE: ./src/views/sort-game/img/crystals/conveyor.png
const crystals_conveyor_namespaceObject = __webpack_require__.p + "assets/dbe7e3e07573f99a7e7a.webp";
;// CONCATENATED MODULE: ./src/views/sort-game/img/crystals/conveyor-bottom.png
const crystals_conveyor_bottom_namespaceObject = __webpack_require__.p + "assets/6f4f494b9c8795603f6a.webp";
;// CONCATENATED MODULE: ./src/views/sort-game/crystals/index.svelte
/* src\views\sort-game\crystals\index.svelte generated by Svelte v3.49.0 */








function crystals_index_svelte_create_fragment(ctx) {
	let basegame;
	let current;

	basegame = new base_game_index_svelte({
			props: {
				title: "Сортировка космических артефактов",
				description: "Нажмите на кристал с помощью ЛКМ и перенесите в нужный кейс",
				descriptionIcon: "icon-filled-info",
				counterIcon: counter_crystal_namespaceObject,
				counterColor: "radial-gradient(114.71% 114.71% at 50% 50%, rgba(0, 157, 255, 0) 0%, #009DFF 100%);",
				counterValueColor: "#fff",
				backgroundImage: crystals_background_namespaceObject,
				conveyorImage: crystals_conveyor_namespaceObject,
				conveyorBottomImage: crystals_conveyor_bottom_namespaceObject
			}
		});

	return {
		c() {
			create_component(basegame.$$.fragment);
		},
		m(target, anchor) {
			mount_component(basegame, target, anchor);
			current = true;
		},
		p: internal_noop,
		i(local) {
			if (current) return;
			transition_in(basegame.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(basegame.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(basegame, detaching);
		}
	};
}

class Crystals extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, null, crystals_index_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const crystals_index_svelte = (Crystals);
;// CONCATENATED MODULE: ./src/views/roulette/components/prize-image/index.svelte
/* src\views\roulette\components\prize-image\index.svelte generated by Svelte v3.49.0 */





function roulette_components_prize_image_index_svelte_create_if_block(ctx) {
	let div;
	let t;

	return {
		c() {
			div = internal_element("div");
			t = internal_text(/*text*/ ctx[2]);
			attr(div, "class", "arizona-pass-prize-image__text");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty & /*text*/ 4) set_data(t, /*text*/ ctx[2]);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

function roulette_components_prize_image_index_svelte_create_fragment(ctx) {
	let div;
	let show_if = !(0,lodash.isEmpty)(/*text*/ ctx[2]);
	let t;
	let img;
	let img_src_value;
	let div_class_value;
	let if_block = show_if && roulette_components_prize_image_index_svelte_create_if_block(ctx);

	return {
		c() {
			div = internal_element("div");
			if (if_block) if_block.c();
			t = space();
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = /*imageSrc*/ ctx[0])) attr(img, "src", img_src_value);
			attr(img, "alt", "reward");
			attr(img, "class", "arizona-pass-prize-image__image");
			attr(div, "class", div_class_value = "arizona-pass-prize-image arizona-pass-prize-image--" + /*style*/ ctx[1]);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block) if_block.m(div, null);
			append(div, t);
			append(div, img);
		},
		p(ctx, [dirty]) {
			if (dirty & /*text*/ 4) show_if = !(0,lodash.isEmpty)(/*text*/ ctx[2]);

			if (show_if) {
				if (if_block) {
					if_block.p(ctx, dirty);
				} else {
					if_block = roulette_components_prize_image_index_svelte_create_if_block(ctx);
					if_block.c();
					if_block.m(div, t);
				}
			} else if (if_block) {
				if_block.d(1);
				if_block = null;
			}

			if (dirty & /*imageSrc*/ 1 && !src_url_equal(img.src, img_src_value = /*imageSrc*/ ctx[0])) {
				attr(img, "src", img_src_value);
			}

			if (dirty & /*style*/ 2 && div_class_value !== (div_class_value = "arizona-pass-prize-image arizona-pass-prize-image--" + /*style*/ ctx[1])) {
				attr(div, "class", div_class_value);
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div);
			if (if_block) if_block.d();
		}
	};
}

function roulette_components_prize_image_index_svelte_instance($$self, $$props, $$invalidate) {
	let { imageSrc = () => {
		
	} } = $$props;

	let { style = '' } = $$props;
	let { text = '' } = $$props;

	$$self.$$set = $$props => {
		if ('imageSrc' in $$props) $$invalidate(0, imageSrc = $$props.imageSrc);
		if ('style' in $$props) $$invalidate(1, style = $$props.style);
		if ('text' in $$props) $$invalidate(2, text = $$props.text);
	};

	return [imageSrc, style, text];
}

class prize_image_index_svelte_Prize_image extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, roulette_components_prize_image_index_svelte_instance, roulette_components_prize_image_index_svelte_create_fragment, safe_not_equal, { imageSrc: 0, style: 1, text: 2 });
	}
}

/* harmony default export */ const roulette_components_prize_image_index_svelte = (prize_image_index_svelte_Prize_image);
;// CONCATENATED MODULE: ./src/views/roulette/img/winter-roulette-box.png
const roulette_img_winter_roulette_box_namespaceObject = __webpack_require__.p + "assets/5a05a67e0d7cd9f3a90b.webp";
;// CONCATENATED MODULE: ./src/views/roulette/img/premium-roulette-box.png
const roulette_img_premium_roulette_box_namespaceObject = __webpack_require__.p + "assets/a33d3b3c5c9f9a0c4c6d.webp";
;// CONCATENATED MODULE: ./src/views/roulette/img/prize.svg
const roulette_img_prize_namespaceObject = __webpack_require__.p + "assets/e8c83fe217287005aa03.svg";
;// CONCATENATED MODULE: ./src/views/roulette/img/icon-bpoints.svg
const roulette_img_icon_bpoints_namespaceObject = __webpack_require__.p + "assets/154e3a69dcecfb10d59a.svg";
;// CONCATENATED MODULE: ./src/views/roulette/img/procent.svg
const roulette_img_procent_namespaceObject = __webpack_require__.p + "assets/ed4dd47077b3cff3fb5e.svg";
;// CONCATENATED MODULE: ./src/views/roulette/img/diamond.svg
const img_diamond_namespaceObject = __webpack_require__.p + "assets/b91c57ca739b617e4e5a.svg";
;// CONCATENATED MODULE: ./src/views/roulette/img/left-sign.png
const roulette_img_left_sign_namespaceObject = __webpack_require__.p + "assets/4d055920ffb70aaa8b24.webp";
;// CONCATENATED MODULE: ./src/views/roulette/img/right-sign.png
const roulette_img_right_sign_namespaceObject = __webpack_require__.p + "assets/cab5c3e1aadfbeeb4b70.webp";
;// CONCATENATED MODULE: ./src/views/roulette/img/az-coin.svg
const roulette_img_az_coin_namespaceObject = __webpack_require__.p + "assets/36a9f2dd81877f62c1be.svg";
;// CONCATENATED MODULE: ./src/views/roulette/store.js
function roulette_store_typeof(o) { "@babel/helpers - typeof"; return roulette_store_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, roulette_store_typeof(o); }
function roulette_store_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function roulette_store_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? roulette_store_ownKeys(Object(t), !0).forEach(function (r) { roulette_store_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : roulette_store_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function roulette_store_defineProperty(e, r, t) { return (r = roulette_store_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function roulette_store_toPropertyKey(t) { var i = roulette_store_toPrimitive(t, "string"); return "symbol" == roulette_store_typeof(i) ? i : i + ""; }
function roulette_store_toPrimitive(t, r) { if ("object" != roulette_store_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != roulette_store_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function roulette_store_toConsumableArray(r) { return roulette_store_arrayWithoutHoles(r) || roulette_store_iterableToArray(r) || roulette_store_unsupportedIterableToArray(r) || roulette_store_nonIterableSpread(); }
function roulette_store_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 roulette_store_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return roulette_store_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? roulette_store_arrayLikeToArray(r, a) : void 0; } }
function roulette_store_iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
function roulette_store_arrayWithoutHoles(r) { if (Array.isArray(r)) return roulette_store_arrayLikeToArray(r); }
function roulette_store_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }



var roulette_store_mainInfo = writable({});
var store_rouletteBoxes = writable([]);
var store_roulettePrizePool = writable([]);
var store_roulettePrizeFeed = writable([]);
var store_selectedRouletteType = writable(1);
var store_rouletteActive = writable(false);
var store_rewardsPagesCount = writable(0);
var inititalizeMainInfo = function inititalizeMainInfo(dto) {
  return roulette_store_mainInfo.set(dto);
};
registerEvent('event.roulette.initializeMainInfo', inititalizeMainInfo);
var store_inititalizeRouletteBoxes = function inititalizeRouletteBoxes(rouletteBoxesDto) {
  var cache = get_store_value(store_rouletteBoxes);
  if ((0,lodash.isEmpty)(cache)) {
    store_rouletteBoxes.set([].concat(roulette_store_toConsumableArray(get_store_value(store_rouletteBoxes)), roulette_store_toConsumableArray(rouletteBoxesDto)));
  } else {
    rouletteBoxesDto.forEach(function (item) {
      cache[item.id] = roulette_store_objectSpread(roulette_store_objectSpread({}, cache[item.id]), item);
    });
    store_rouletteBoxes.set(cache);
  }
};
registerEvent('event.roulette.initializeRouletteBoxes', store_inititalizeRouletteBoxes);
var store_inititalizeRoulettePrizePool = function inititalizeRoulettePrizePool(roulettePrizePoolDto) {
  return store_roulettePrizePool.set([].concat(roulette_store_toConsumableArray(get_store_value(store_roulettePrizePool)), roulette_store_toConsumableArray(roulettePrizePoolDto)));
};
registerEvent('event.roulette.initializeRoulettePrizePool', store_inititalizeRoulettePrizePool);
var store_inititalizeRoulettePrizeFeed = function inititalizeRoulettePrizeFeed(roulettePrizeFeedDto) {
  store_roulettePrizeFeed.set([]);
  roulettePrizeFeedDto.sort(function (a, b) {
    return b.time - a.time;
  });
  store_roulettePrizeFeed.set(roulettePrizeFeedDto);
};
registerEvent('event.roulette.initializeRoulettePrizeFeed', store_inititalizeRoulettePrizeFeed);
var store_openRoulette = function openRoulette(type) {
  store_selectedRouletteType.set(type);
};
registerEvent('event.roulette.openRoulette', store_openRoulette);
;// CONCATENATED MODULE: ./src/views/roulette/img/logo.png
const roulette_img_logo_namespaceObject = __webpack_require__.p + "assets/434de76fec56cf6b7c39.webp";
;// CONCATENATED MODULE: ./src/views/roulette/img/logo-premium.png
const roulette_img_logo_premium_namespaceObject = __webpack_require__.p + "assets/bc64e7c7c9f2780aa681.webp";
;// CONCATENATED MODULE: ./src/views/roulette/img/logo-premium-plus.png
const roulette_img_logo_premium_plus_namespaceObject = __webpack_require__.p + "assets/0a14ec38af13c5baca6f.webp";
;// CONCATENATED MODULE: ./src/views/roulette/img/bg-preview.png
const roulette_img_bg_preview_namespaceObject = __webpack_require__.p + "assets/81fd586864361b97dfb2.webp";
;// CONCATENATED MODULE: ./src/views/roulette/img/bg-main.png
const roulette_img_bg_main_namespaceObject = __webpack_require__.p + "assets/e45a60f500a617a3de91.webp";
;// CONCATENATED MODULE: ./src/views/roulette/img/bg-quests.png
const roulette_img_bg_quests_namespaceObject = __webpack_require__.p + "assets/b1c356a5986a0d80e617.webp";
;// CONCATENATED MODULE: ./src/views/roulette/img/bg-roulette.png
const roulette_img_bg_roulette_namespaceObject = __webpack_require__.p + "assets/05e3c8c249d6110056b1.webp";
;// CONCATENATED MODULE: ./src/views/roulette/img/bg-slot-machine.png
const roulette_img_bg_slot_machine_namespaceObject = __webpack_require__.p + "assets/81fd586864361b97dfb2.webp";
;// CONCATENATED MODULE: ./src/views/roulette/constants.js
function views_roulette_constants_typeof(o) { "@babel/helpers - typeof"; return views_roulette_constants_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, views_roulette_constants_typeof(o); }
function views_roulette_constants_defineProperty(e, r, t) { return (r = views_roulette_constants_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function views_roulette_constants_toPropertyKey(t) { var i = views_roulette_constants_toPrimitive(t, "string"); return "symbol" == views_roulette_constants_typeof(i) ? i : i + ""; }
function views_roulette_constants_toPrimitive(t, r) { if ("object" != views_roulette_constants_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != views_roulette_constants_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }









var constants_REGULAR_QUESTS_URL = "".concat(cdn_CDN_URL_RODINA, "/assets/data/regular-quests-test.json");
var constants_BP_IMAGES_BASE_CDN_URL = "".concat(cdn_CDN_URL_RODINA, "/systems/battlepass/images");
var constants_getItemImageCdnUrl = function getItemImageCdnUrl(id) {
  return "".concat(CDN_URL_RODINA, "/").concat(id, ".webp");
};
var constants_battlePassDailyQuestType = {
  Common: 'common',
  Fraction: 'fraction',
  Job: 'job',
  Rating: 'rating'
};
var constants_MenuIds = {
  Main: 'main',
  Tasks: 'tasks',
  Shop: 'shop',
  Roulette: 'roulette',
  DonateSite: 'donate-site',
  Donate: 'donate',
  Preview: 'preview',
  Information: 'information',
  PurchaseLevel: 'purchase-level',
  PurchasePremium: 'purchase-premium',
  SlotMachine: 'slot-machine'
};
var roulette_constants_MAP_MENU_ID_TO_TITLE = views_roulette_constants_defineProperty(views_roulette_constants_defineProperty(views_roulette_constants_defineProperty(views_roulette_constants_defineProperty(views_roulette_constants_defineProperty(views_roulette_constants_defineProperty({}, constants_MenuIds.Main, 'ГЛАВНАЯ'), constants_MenuIds.Tasks, 'ЗАДАНИЯ'), constants_MenuIds.Shop, 'МАГАЗИН'), constants_MenuIds.DonateSite, 'ДОНАТ'), constants_MenuIds.Roulette, 'Рулетка'), constants_MenuIds.Information, 'ИНФОРМАЦИЯ');
var roulette_constants_MAP_MENU_ID_TO_ICON = views_roulette_constants_defineProperty(views_roulette_constants_defineProperty(views_roulette_constants_defineProperty(views_roulette_constants_defineProperty(views_roulette_constants_defineProperty(views_roulette_constants_defineProperty(views_roulette_constants_defineProperty({}, constants_MenuIds.Main, 'icon-muzify-home'), constants_MenuIds.Tasks, 'icon-tasks'), constants_MenuIds.Shop, 'icon-cart'), constants_MenuIds.DonateSite, 'icon-money-bag'), constants_MenuIds.Information, 'icon-information-quad'), constants_MenuIds.Preview, 'icon-information-quad'), constants_MenuIds.Roulette, 'icon-roulette');
var constants_MAP_MENU_ID_TO_VISIBILITY = views_roulette_constants_defineProperty(views_roulette_constants_defineProperty(views_roulette_constants_defineProperty(views_roulette_constants_defineProperty(views_roulette_constants_defineProperty(views_roulette_constants_defineProperty(views_roulette_constants_defineProperty(views_roulette_constants_defineProperty(views_roulette_constants_defineProperty(views_roulette_constants_defineProperty({}, constants_MenuIds.Main, true), constants_MenuIds.Tasks, true), constants_MenuIds.Shop, false), constants_MenuIds.Roulette, true), constants_MenuIds.DonateSite, false), constants_MenuIds.Donate, false), constants_MenuIds.Preview, false), constants_MenuIds.Information, false), constants_MenuIds.PurchaseLevel, false), constants_MenuIds.PurchasePremium, false);
var constants_MAP_PREMIUM_TO_LOGO = [roulette_img_logo_namespaceObject, roulette_img_logo_premium_namespaceObject, roulette_img_logo_premium_plus_namespaceObject];
var constants_MAP_MENU_TO_BG = views_roulette_constants_defineProperty(views_roulette_constants_defineProperty(views_roulette_constants_defineProperty(views_roulette_constants_defineProperty(views_roulette_constants_defineProperty(views_roulette_constants_defineProperty(views_roulette_constants_defineProperty(views_roulette_constants_defineProperty({}, constants_MenuIds.Preview, roulette_img_bg_preview_namespaceObject), constants_MenuIds.Main, roulette_img_bg_main_namespaceObject), constants_MenuIds.Donate, roulette_img_bg_main_namespaceObject), constants_MenuIds.Tasks, roulette_img_bg_quests_namespaceObject), constants_MenuIds.PurchasePremium, roulette_img_bg_main_namespaceObject), constants_MenuIds.PurchaseLevel, roulette_img_bg_main_namespaceObject), constants_MenuIds.Roulette, roulette_img_bg_roulette_namespaceObject), constants_MenuIds.SlotMachine, roulette_img_bg_slot_machine_namespaceObject);
;// CONCATENATED MODULE: ./src/views/roulette/index.svelte
/* src\views\roulette\index.svelte generated by Svelte v3.49.0 */





















// import passCoinsImage from './img/free-spin.svg';







function views_roulette_index_svelte_get_each_context(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[49] = list[i];
	return child_ctx;
}

function views_roulette_index_svelte_get_each_context_1(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[52] = list[i];
	child_ctx[54] = i;
	return child_ctx;
}

function views_roulette_index_svelte_get_each_context_2(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[49] = list[i];
	child_ctx[56] = i;
	return child_ctx;
}

function roulette_index_svelte_get_each_context_3(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[57] = list[i];
	child_ctx[56] = i;
	return child_ctx;
}

function roulette_index_svelte_get_each_context_4(ctx, list, i) {
	const child_ctx = ctx.slice();
	child_ctx[59] = list[i];
	return child_ctx;
}

// (282:16) {#if $mainInfo.freeSpinAvailable}
function roulette_index_svelte_create_if_block_15(ctx) {
	let div1;
	let mounted;
	let dispose;

	return {
		c() {
			div1 = internal_element("div");

			div1.innerHTML = `<i class="roulette__coins-add-icon icon-pocker-cap"></i> 
                        <div class="roulette__coins-free">FREE</div>`;

			attr(div1, "class", "roulette__coins-add roulette__coins-add--free-spin roulette__coins-add--pink");
		},
		m(target, anchor) {
			insert(target, div1, anchor);

			if (!mounted) {
				dispose = listen(div1, "click", /*click_handler_1*/ ctx[28]);
				mounted = true;
			}
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(div1);
			mounted = false;
			dispose();
		}
	};
}

// (439:73) 
function views_roulette_index_svelte_create_if_block_4(ctx) {
	let div11;
	let div2;
	let div0;
	let t1;
	let div1;
	let t2;
	let t3;
	let div7;
	let t4;
	let show_if_1 = !(0,lodash.isEmpty)(/*rouletteLines*/ ctx[4]);
	let t5;
	let div6;
	let t6;
	let div5;
	let div3;
	let t8;
	let div4;
	let t9_value = /*$rouletteBoxes*/ ctx[12][/*$selectedRouletteType*/ ctx[9]].total + "";
	let t9;
	let t10;
	let div10;
	let div8;
	let t12;
	let div9;
	let show_if = (0,lodash.isEmpty)(/*$roulettePrizeFeed*/ ctx[10]);
	let t13;
	let current;
	let each_value_4 = /*$roulettePrizePool*/ ctx[11];
	let each_blocks_1 = [];

	for (let i = 0; i < each_value_4.length; i += 1) {
		each_blocks_1[i] = roulette_index_svelte_create_each_block_4(roulette_index_svelte_get_each_context_4(ctx, each_value_4, i));
	}

	const out = i => transition_out(each_blocks_1[i], 1, 1, () => {
		each_blocks_1[i] = null;
	});

	let if_block0 = /*$rouletteBoxes*/ ctx[12][/*$selectedRouletteType*/ ctx[9]].price > 0 && roulette_index_svelte_create_if_block_12(ctx);
	let if_block1 = /*afterRoll*/ ctx[0] && views_roulette_index_svelte_create_if_block_11(ctx);
	let if_block2 = show_if_1 && views_roulette_index_svelte_create_if_block_7(ctx);

	function select_block_type_4(ctx, dirty) {
		if (/*afterRoll*/ ctx[0]) return views_roulette_index_svelte_create_if_block_6;
		return views_roulette_index_svelte_create_else_block;
	}

	let current_block_type = select_block_type_4(ctx, [-1, -1]);
	let if_block3 = current_block_type(ctx);
	let if_block4 = show_if && views_roulette_index_svelte_create_if_block_5(ctx);
	let each_value = /*$roulettePrizeFeed*/ ctx[10];
	let each_blocks = [];

	for (let i = 0; i < each_value.length; i += 1) {
		each_blocks[i] = views_roulette_index_svelte_create_each_block(views_roulette_index_svelte_get_each_context(ctx, each_value, i));
	}

	const out_1 = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			div11 = internal_element("div");
			div2 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "Что можно выиграть?";
			t1 = space();
			div1 = internal_element("div");

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].c();
			}

			t2 = space();
			if (if_block0) if_block0.c();
			t3 = space();
			div7 = internal_element("div");
			if (if_block1) if_block1.c();
			t4 = space();
			if (if_block2) if_block2.c();
			t5 = space();
			div6 = internal_element("div");
			if_block3.c();
			t6 = space();
			div5 = internal_element("div");
			div3 = internal_element("div");
			div3.textContent = "Доступно попыток:";
			t8 = space();
			div4 = internal_element("div");
			t9 = internal_text(t9_value);
			t10 = space();
			div10 = internal_element("div");
			div8 = internal_element("div");
			div8.textContent = "ПОСЛЕДНИЕ ВЫИГРЫШИ:";
			t12 = space();
			div9 = internal_element("div");
			if (if_block4) if_block4.c();
			t13 = space();

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			attr(div0, "class", "roulette__prize-pool-title");
			attr(div1, "class", "roulette__prize-pool");
			attr(div2, "class", "roulette__prize-pool-wrapper");
			attr(div3, "class", "roulette__attempts-caption");
			attr(div4, "class", "roulette__attempts-value");
			attr(div5, "class", "roulette__attempts");
			attr(div6, "class", "roulette__control-wrapper");
			attr(div7, "class", "roulette__slot-machine-wrapper");
			attr(div8, "class", "roulette__prize-feed-title");
			attr(div9, "class", "roulette__prize-feed-content");
			attr(div10, "class", "roulette__prize-feed");
			attr(div11, "class", "roulette__wrapper");
		},
		m(target, anchor) {
			insert(target, div11, anchor);
			append(div11, div2);
			append(div2, div0);
			append(div2, t1);
			append(div2, div1);

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				each_blocks_1[i].m(div1, null);
			}

			append(div11, t2);
			if (if_block0) if_block0.m(div11, null);
			append(div11, t3);
			append(div11, div7);
			if (if_block1) if_block1.m(div7, null);
			append(div7, t4);
			if (if_block2) if_block2.m(div7, null);
			append(div7, t5);
			append(div7, div6);
			if_block3.m(div6, null);
			append(div6, t6);
			append(div6, div5);
			append(div5, div3);
			append(div5, t8);
			append(div5, div4);
			append(div4, t9);
			append(div11, t10);
			append(div11, div10);
			append(div10, div8);
			append(div10, t12);
			append(div10, div9);
			if (if_block4) if_block4.m(div9, null);
			append(div9, t13);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div9, null);
			}

			current = true;
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$roulettePrizePool*/ 2048) {
				each_value_4 = /*$roulettePrizePool*/ ctx[11];
				let i;

				for (i = 0; i < each_value_4.length; i += 1) {
					const child_ctx = roulette_index_svelte_get_each_context_4(ctx, each_value_4, i);

					if (each_blocks_1[i]) {
						each_blocks_1[i].p(child_ctx, dirty);
						transition_in(each_blocks_1[i], 1);
					} else {
						each_blocks_1[i] = roulette_index_svelte_create_each_block_4(child_ctx);
						each_blocks_1[i].c();
						transition_in(each_blocks_1[i], 1);
						each_blocks_1[i].m(div1, null);
					}
				}

				group_outros();

				for (i = each_value_4.length; i < each_blocks_1.length; i += 1) {
					out(i);
				}

				check_outros();
			}

			if (/*$rouletteBoxes*/ ctx[12][/*$selectedRouletteType*/ ctx[9]].price > 0) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = roulette_index_svelte_create_if_block_12(ctx);
					if_block0.c();
					if_block0.m(div11, t3);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (/*afterRoll*/ ctx[0]) {
				if (if_block1) {
					
				} else {
					if_block1 = views_roulette_index_svelte_create_if_block_11(ctx);
					if_block1.c();
					if_block1.m(div7, t4);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty[0] & /*rouletteLines*/ 16) show_if_1 = !(0,lodash.isEmpty)(/*rouletteLines*/ ctx[4]);

			if (show_if_1) {
				if (if_block2) {
					if_block2.p(ctx, dirty);

					if (dirty[0] & /*rouletteLines*/ 16) {
						transition_in(if_block2, 1);
					}
				} else {
					if_block2 = views_roulette_index_svelte_create_if_block_7(ctx);
					if_block2.c();
					transition_in(if_block2, 1);
					if_block2.m(div7, t5);
				}
			} else if (if_block2) {
				group_outros();

				transition_out(if_block2, 1, 1, () => {
					if_block2 = null;
				});

				check_outros();
			}

			if (current_block_type === (current_block_type = select_block_type_4(ctx, dirty)) && if_block3) {
				if_block3.p(ctx, dirty);
			} else {
				if_block3.d(1);
				if_block3 = current_block_type(ctx);

				if (if_block3) {
					if_block3.c();
					if_block3.m(div6, t6);
				}
			}

			if ((!current || dirty[0] & /*$rouletteBoxes, $selectedRouletteType*/ 4608) && t9_value !== (t9_value = /*$rouletteBoxes*/ ctx[12][/*$selectedRouletteType*/ ctx[9]].total + "")) set_data(t9, t9_value);
			if (dirty[0] & /*$roulettePrizeFeed*/ 1024) show_if = (0,lodash.isEmpty)(/*$roulettePrizeFeed*/ ctx[10]);

			if (show_if) {
				if (if_block4) {
					
				} else {
					if_block4 = views_roulette_index_svelte_create_if_block_5(ctx);
					if_block4.c();
					if_block4.m(div9, t13);
				}
			} else if (if_block4) {
				if_block4.d(1);
				if_block4 = null;
			}

			if (dirty[0] & /*$roulettePrizeFeed, calculateTimeDiff*/ 525312) {
				each_value = /*$roulettePrizeFeed*/ ctx[10];
				let i;

				for (i = 0; i < each_value.length; i += 1) {
					const child_ctx = views_roulette_index_svelte_get_each_context(ctx, each_value, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = views_roulette_index_svelte_create_each_block(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div9, null);
					}
				}

				group_outros();

				for (i = each_value.length; i < each_blocks.length; i += 1) {
					out_1(i);
				}

				check_outros();
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value_4.length; i += 1) {
				transition_in(each_blocks_1[i]);
			}

			transition_in(if_block2);

			for (let i = 0; i < each_value.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks_1 = each_blocks_1.filter(Boolean);

			for (let i = 0; i < each_blocks_1.length; i += 1) {
				transition_out(each_blocks_1[i]);
			}

			transition_out(if_block2);
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div11);
			destroy_each(each_blocks_1, detaching);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			if (if_block2) if_block2.d();
			if_block3.d();
			if (if_block4) if_block4.d();
			destroy_each(each_blocks, detaching);
		}
	};
}

// (324:8) {#if $selectedRouletteType < 0 && !isEmpty($rouletteBoxes)}
function views_roulette_index_svelte_create_if_block(ctx) {
	let div20;
	let div9;
	let div8;
	let img0;
	let img0_src_value;
	let t0;
	let div7;
	let div0;
	let t3;
	let div2;
	let img1;
	let img1_src_value;
	let t4;
	let div1;
	let t7;
	let div6;
	let div3;
	let t8;
	let b2;
	let t9_value = /*$rouletteBoxes*/ ctx[12][0].total + "";
	let t9;
	let t10;
	let t11;
	let div5;
	let div4;
	let t13;
	let img2;
	let img2_src_value;
	let t14;
	let show_if_1 = !(0,lodash.isEmpty)(/*$rouletteBoxes*/ ctx[12][0].description);
	let t15;
	let div19;
	let div18;
	let img3;
	let img3_src_value;
	let t16;
	let div17;
	let div10;
	let t19;
	let div12;
	let img4;
	let img4_src_value;
	let t20;
	let div11;
	let t23;
	let div16;
	let div13;
	let t24;
	let b4;
	let t25_value = /*$rouletteBoxes*/ ctx[12][1].total + "";
	let t25;
	let t26;
	let t27;
	let div15;
	let t29;
	let t30;
	let show_if = !(0,lodash.isEmpty)(/*$rouletteBoxes*/ ctx[12][1].description);
	let mounted;
	let dispose;
	let if_block0 = show_if_1 && views_roulette_index_svelte_create_if_block_3(ctx);
	let if_block1 = /*$rouletteBoxes*/ ctx[12][1].discount && views_roulette_index_svelte_create_if_block_2(ctx);
	let if_block2 = show_if && views_roulette_index_svelte_create_if_block_1(ctx);

	return {
		c() {
			div20 = internal_element("div");
			div9 = internal_element("div");
			div8 = internal_element("div");
			img0 = internal_element("img");
			t0 = space();
			div7 = internal_element("div");
			div0 = internal_element("div");
			div0.innerHTML = `Уличная <b>рулетка</b>`;
			t3 = space();
			div2 = internal_element("div");
			img1 = internal_element("img");
			t4 = space();
			div1 = internal_element("div");
			div1.innerHTML = `Вы получите сразу <b>3 приза</b>`;
			t7 = space();
			div6 = internal_element("div");
			div3 = internal_element("div");
			t8 = internal_text("В наличии ");
			b2 = internal_element("b");
			t9 = internal_text(t9_value);
			t10 = internal_text(" шт.");
			t11 = space();
			div5 = internal_element("div");
			div4 = internal_element("div");
			div4.textContent = "Открыть";
			t13 = space();
			img2 = internal_element("img");
			t14 = space();
			if (if_block0) if_block0.c();
			t15 = space();
			div19 = internal_element("div");
			div18 = internal_element("div");
			img3 = internal_element("img");
			t16 = space();
			div17 = internal_element("div");
			div10 = internal_element("div");
			div10.innerHTML = `<span class="roulette__variant-name--premium">Premium</span> рулетка`;
			t19 = space();
			div12 = internal_element("div");
			img4 = internal_element("img");
			t20 = space();
			div11 = internal_element("div");
			div11.innerHTML = `Вы получите сразу <b>7 призов</b>`;
			t23 = space();
			div16 = internal_element("div");
			div13 = internal_element("div");
			t24 = internal_text("В наличии ");
			b4 = internal_element("b");
			t25 = internal_text(t25_value);
			t26 = internal_text(" шт.");
			t27 = space();
			div15 = internal_element("div");
			div15.innerHTML = `<div class="roulette__button-text">Открыть</div>`;
			t29 = space();
			if (if_block1) if_block1.c();
			t30 = space();
			if (if_block2) if_block2.c();
			if (!src_url_equal(img0.src, img0_src_value = roulette_img_winter_roulette_box_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "winter-box");
			attr(img0, "class", "roulette__variant-image");
			attr(div0, "class", "roulette__variant-name");
			if (!src_url_equal(img1.src, img1_src_value = roulette_img_prize_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "prize");
			attr(img1, "class", "roulette__prizes-count-icon");
			attr(div1, "class", "roulette__prizes-count-text");
			attr(div2, "class", "roulette__prizes-count");
			attr(div3, "class", "roulette__total");
			attr(div4, "class", "roulette__button-text");
			if (!src_url_equal(img2.src, img2_src_value = roulette_img_icon_bpoints_namespaceObject)) attr(img2, "src", img2_src_value);
			attr(img2, "alt", "bp-coin");
			attr(img2, "class", "roulette__button-image");
			attr(div5, "class", "roulette__button");
			attr(div6, "class", "roulette__footer");
			attr(div7, "class", "roulette__variant-info");
			attr(div8, "class", "roulette__variant");
			attr(div9, "class", "roulette__variant-wrapper");
			if (!src_url_equal(img3.src, img3_src_value = roulette_img_premium_roulette_box_namespaceObject)) attr(img3, "src", img3_src_value);
			attr(img3, "alt", "winter-box");
			attr(img3, "class", "roulette__variant-image roulette__variant-image--premium");
			attr(div10, "class", "roulette__variant-name");
			if (!src_url_equal(img4.src, img4_src_value = roulette_img_prize_namespaceObject)) attr(img4, "src", img4_src_value);
			attr(img4, "alt", "prize");
			attr(img4, "class", "roulette__prizes-count-icon");
			attr(div11, "class", "roulette__prizes-count-text");
			attr(div12, "class", "roulette__prizes-count roulette__prizes-count--premium");
			attr(div13, "class", "roulette__total");
			attr(div15, "class", "roulette__button roulette__button--premium");
			attr(div16, "class", "roulette__footer");
			attr(div17, "class", "roulette__variant-info");
			attr(div18, "class", "roulette__variant roulette__variant--premium");
			attr(div19, "class", "roulette__variant-wrapper");
			attr(div20, "class", "roulette__choice");
		},
		m(target, anchor) {
			insert(target, div20, anchor);
			append(div20, div9);
			append(div9, div8);
			append(div8, img0);
			append(div8, t0);
			append(div8, div7);
			append(div7, div0);
			append(div7, t3);
			append(div7, div2);
			append(div2, img1);
			append(div2, t4);
			append(div2, div1);
			append(div7, t7);
			append(div7, div6);
			append(div6, div3);
			append(div3, t8);
			append(div3, b2);
			append(b2, t9);
			append(b2, t10);
			append(div6, t11);
			append(div6, div5);
			append(div5, div4);
			append(div5, t13);
			append(div5, img2);
			append(div9, t14);
			if (if_block0) if_block0.m(div9, null);
			append(div20, t15);
			append(div20, div19);
			append(div19, div18);
			append(div18, img3);
			append(div18, t16);
			append(div18, div17);
			append(div17, div10);
			append(div17, t19);
			append(div17, div12);
			append(div12, img4);
			append(div12, t20);
			append(div12, div11);
			append(div17, t23);
			append(div17, div16);
			append(div16, div13);
			append(div13, t24);
			append(div13, b4);
			append(b4, t25);
			append(b4, t26);
			append(div16, t27);
			append(div16, div15);
			append(div16, t29);
			if (if_block1) if_block1.m(div16, null);
			append(div19, t30);
			if (if_block2) if_block2.m(div19, null);

			if (!mounted) {
				dispose = [
					listen(div5, "click", /*click_handler_3*/ ctx[30]),
					listen(div15, "click", /*click_handler_4*/ ctx[31])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$rouletteBoxes*/ 4096 && t9_value !== (t9_value = /*$rouletteBoxes*/ ctx[12][0].total + "")) set_data(t9, t9_value);
			if (dirty[0] & /*$rouletteBoxes*/ 4096) show_if_1 = !(0,lodash.isEmpty)(/*$rouletteBoxes*/ ctx[12][0].description);

			if (show_if_1) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = views_roulette_index_svelte_create_if_block_3(ctx);
					if_block0.c();
					if_block0.m(div9, null);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (dirty[0] & /*$rouletteBoxes*/ 4096 && t25_value !== (t25_value = /*$rouletteBoxes*/ ctx[12][1].total + "")) set_data(t25, t25_value);

			if (/*$rouletteBoxes*/ ctx[12][1].discount) {
				if (if_block1) {
					if_block1.p(ctx, dirty);
				} else {
					if_block1 = views_roulette_index_svelte_create_if_block_2(ctx);
					if_block1.c();
					if_block1.m(div16, null);
				}
			} else if (if_block1) {
				if_block1.d(1);
				if_block1 = null;
			}

			if (dirty[0] & /*$rouletteBoxes*/ 4096) show_if = !(0,lodash.isEmpty)(/*$rouletteBoxes*/ ctx[12][1].description);

			if (show_if) {
				if (if_block2) {
					if_block2.p(ctx, dirty);
				} else {
					if_block2 = views_roulette_index_svelte_create_if_block_1(ctx);
					if_block2.c();
					if_block2.m(div19, null);
				}
			} else if (if_block2) {
				if_block2.d(1);
				if_block2 = null;
			}
		},
		i: internal_noop,
		o: internal_noop,
		d(detaching) {
			if (detaching) detach(div20);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
			if (if_block2) if_block2.d();
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (446:24) {#each $roulettePrizePool as prize}
function roulette_index_svelte_create_each_block_4(ctx) {
	let div1;
	let prizeimage;
	let t0;
	let div0;
	let t1_value = /*prize*/ ctx[59].title + "";
	let t1;
	let t2;
	let current;

	prizeimage = new roulette_components_prize_image_index_svelte({
			props: {
				imageSrc: `${constants_BP_IMAGES_BASE_CDN_URL}/${/*prize*/ ctx[59].image}.webp`,
				style: /*prize*/ ctx[59].rarity
			}
		});

	return {
		c() {
			div1 = internal_element("div");
			create_component(prizeimage.$$.fragment);
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			t2 = space();
			attr(div0, "class", "roulette__prize-pool-item-tooltip");
			attr(div1, "class", "roulette__prize-pool-item");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			mount_component(prizeimage, div1, null);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
			append(div1, t2);
			current = true;
		},
		p(ctx, dirty) {
			const prizeimage_changes = {};
			if (dirty[0] & /*$roulettePrizePool*/ 2048) prizeimage_changes.imageSrc = `${constants_BP_IMAGES_BASE_CDN_URL}/${/*prize*/ ctx[59].image}.webp`;
			if (dirty[0] & /*$roulettePrizePool*/ 2048) prizeimage_changes.style = /*prize*/ ctx[59].rarity;
			prizeimage.$set(prizeimage_changes);
			if ((!current || dirty[0] & /*$roulettePrizePool*/ 2048) && t1_value !== (t1_value = /*prize*/ ctx[59].title + "")) set_data(t1, t1_value);
		},
		i(local) {
			if (current) return;
			transition_in(prizeimage.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(prizeimage.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div1);
			destroy_component(prizeimage);
		}
	};
}

// (454:16) {#if $rouletteBoxes[$selectedRouletteType].price > 0}
function roulette_index_svelte_create_if_block_12(ctx) {
	let div6;
	let div0;
	let t1;
	let div2;
	let div1;
	let t3;
	let span0;
	let t4_value = /*$rouletteBoxes*/ ctx[12][/*$selectedRouletteType*/ ctx[9]].price + "";
	let t4;
	let t5;
	let t6;
	let div3;
	let t7;
	let div5;
	let div4;
	let span1;
	let t9;
	let span2;
	let t10_value = /*$rouletteBoxes*/ ctx[12][/*$selectedRouletteType*/ ctx[9]].price * /*scales*/ ctx[14][/*selectedScaler*/ ctx[2]] + "";
	let t10;
	let t11;
	let mounted;
	let dispose;

	function select_block_type_1(ctx, dirty) {
		if (/*$selectedRouletteType*/ ctx[9] === 0) return roulette_index_svelte_create_if_block_14;
		return index_svelte_create_else_block_3;
	}

	let current_block_type = select_block_type_1(ctx, [-1, -1]);
	let if_block0 = current_block_type(ctx);
	let each_value_3 = /*scales*/ ctx[14];
	let each_blocks = [];

	for (let i = 0; i < each_value_3.length; i += 1) {
		each_blocks[i] = roulette_index_svelte_create_each_block_3(roulette_index_svelte_get_each_context_3(ctx, each_value_3, i));
	}

	function select_block_type_2(ctx, dirty) {
		if (/*$selectedRouletteType*/ ctx[9] === 0) return roulette_index_svelte_create_if_block_13;
		return views_roulette_index_svelte_create_else_block_2;
	}

	let current_block_type_1 = select_block_type_2(ctx, [-1, -1]);
	let if_block1 = current_block_type_1(ctx);

	return {
		c() {
			div6 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "Купить попытки";
			t1 = space();
			div2 = internal_element("div");
			div1 = internal_element("div");
			div1.textContent = "1 попытка -";
			t3 = space();
			span0 = internal_element("span");
			t4 = internal_text(t4_value);
			t5 = space();
			if_block0.c();
			t6 = space();
			div3 = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t7 = space();
			div5 = internal_element("div");
			div4 = internal_element("div");
			span1 = internal_element("span");
			span1.textContent = "Купить за";
			t9 = space();
			span2 = internal_element("span");
			t10 = internal_text(t10_value);
			t11 = space();
			if_block1.c();
			attr(div0, "class", "roulette__purchase-title");
			attr(div1, "class", "roulette__purchase-caption-tries");
			attr(span0, "class", "roulette__purchase-caption-text");
			attr(div2, "class", "roulette__purchase-caption");
			attr(div3, "class", "roulette__purchase-scales");
			attr(span1, "class", "roulette__purchase-button-caption");
			attr(span2, "class", "roulette__purchase-button-price");
			attr(div4, "class", "roulette__purchase-button-text");
			attr(div5, "class", "roulette__purchase-button");
			toggle_class(div5, "roulette__purchase-button--premium", 0);
			attr(div6, "class", "roulette__purchase");
		},
		m(target, anchor) {
			insert(target, div6, anchor);
			append(div6, div0);
			append(div6, t1);
			append(div6, div2);
			append(div2, div1);
			append(div2, t3);
			append(div2, span0);
			append(span0, t4);
			append(div2, t5);
			if_block0.m(div2, null);
			append(div6, t6);
			append(div6, div3);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div3, null);
			}

			append(div6, t7);
			append(div6, div5);
			append(div5, div4);
			append(div4, span1);
			append(div4, t9);
			append(div4, span2);
			append(span2, t10);
			append(div5, t11);
			if_block1.m(div5, null);

			if (!mounted) {
				dispose = listen(div5, "click", /*click_handler_6*/ ctx[33]);
				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$rouletteBoxes, $selectedRouletteType*/ 4608 && t4_value !== (t4_value = /*$rouletteBoxes*/ ctx[12][/*$selectedRouletteType*/ ctx[9]].price + "")) set_data(t4, t4_value);

			if (current_block_type === (current_block_type = select_block_type_1(ctx, dirty)) && if_block0) {
				if_block0.p(ctx, dirty);
			} else {
				if_block0.d(1);
				if_block0 = current_block_type(ctx);

				if (if_block0) {
					if_block0.c();
					if_block0.m(div2, null);
				}
			}

			if (dirty[0] & /*selectedScaler, scales*/ 16388) {
				each_value_3 = /*scales*/ ctx[14];
				let i;

				for (i = 0; i < each_value_3.length; i += 1) {
					const child_ctx = roulette_index_svelte_get_each_context_3(ctx, each_value_3, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = roulette_index_svelte_create_each_block_3(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(div3, null);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_3.length;
			}

			if (dirty[0] & /*$rouletteBoxes, $selectedRouletteType, selectedScaler*/ 4612 && t10_value !== (t10_value = /*$rouletteBoxes*/ ctx[12][/*$selectedRouletteType*/ ctx[9]].price * /*scales*/ ctx[14][/*selectedScaler*/ ctx[2]] + "")) set_data(t10, t10_value);

			if (current_block_type_1 === (current_block_type_1 = select_block_type_2(ctx, dirty)) && if_block1) {
				if_block1.p(ctx, dirty);
			} else {
				if_block1.d(1);
				if_block1 = current_block_type_1(ctx);

				if (if_block1) {
					if_block1.c();
					if_block1.m(div5, null);
				}
			}
		},
		d(detaching) {
			if (detaching) detach(div6);
			if_block0.d();
			destroy_each(each_blocks, detaching);
			if_block1.d();
			mounted = false;
			dispose();
		}
	};
}

// (466:28) {:else}
function index_svelte_create_else_block_3(ctx) {
	let span;

	return {
		c() {
			span = internal_element("span");
			span.textContent = "RUB";
			attr(span, "class", "roulette__purchase-caption-text");
		},
		m(target, anchor) {
			insert(target, span, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

// (464:28) {#if $selectedRouletteType === 0}
function roulette_index_svelte_create_if_block_14(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = roulette_img_icon_bpoints_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "bp-coin");
			attr(img, "class", "roulette__purchase-caption-icon");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (476:28) {#each scales as scale, index}
function roulette_index_svelte_create_each_block_3(ctx) {
	let div;
	let t0_value = `x${/*scale*/ ctx[57]}` + "";
	let t0;
	let t1;
	let mounted;
	let dispose;

	function click_handler_5() {
		return /*click_handler_5*/ ctx[32](/*index*/ ctx[56]);
	}

	return {
		c() {
			div = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			attr(div, "class", "roulette__purchase-scale");
			toggle_class(div, "roulette__purchase-scale--active", /*index*/ ctx[56] === /*selectedScaler*/ ctx[2]);
			toggle_class(div, "roulette__purchase-scale--premium", false);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, t0);
			append(div, t1);

			if (!mounted) {
				dispose = listen(div, "click", click_handler_5);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty[0] & /*selectedScaler*/ 4) {
				toggle_class(div, "roulette__purchase-scale--active", /*index*/ ctx[56] === /*selectedScaler*/ ctx[2]);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (502:28) {:else}
function views_roulette_index_svelte_create_else_block_2(ctx) {
	let span;

	return {
		c() {
			span = internal_element("span");
			span.innerHTML = `<b>RUB</b>`;
			attr(span, "class", "roulette__purchase-button-caption");
		},
		m(target, anchor) {
			insert(target, span, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

// (500:28) {#if $selectedRouletteType === 0}
function roulette_index_svelte_create_if_block_13(ctx) {
	let img;
	let img_src_value;

	return {
		c() {
			img = internal_element("img");
			if (!src_url_equal(img.src, img_src_value = roulette_img_icon_bpoints_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "bp-coin");
			attr(img, "class", "roulette__purchase-button-image");
		},
		m(target, anchor) {
			insert(target, img, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(img);
		}
	};
}

// (512:20) {#if afterRoll}
function views_roulette_index_svelte_create_if_block_11(ctx) {
	let div;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "Ваш выигрыш";
			attr(div, "class", "roulette__slot-machine-finish-title");
		},
		m(target, anchor) {
			insert(target, div, anchor);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (517:20) {#if !isEmpty(rouletteLines)}
function views_roulette_index_svelte_create_if_block_7(ctx) {
	let div;
	let t0;
	let img0;
	let img0_src_value;
	let t1;
	let img1;
	let img1_src_value;
	let current;
	let each_value_1 = new Array(/*reelsCount*/ ctx[15][/*$selectedRouletteType*/ ctx[9]]);
	let each_blocks = [];

	for (let i = 0; i < each_value_1.length; i += 1) {
		each_blocks[i] = views_roulette_index_svelte_create_each_block_1(views_roulette_index_svelte_get_each_context_1(ctx, each_value_1, i));
	}

	const out = i => transition_out(each_blocks[i], 1, 1, () => {
		each_blocks[i] = null;
	});

	return {
		c() {
			div = internal_element("div");

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			t0 = space();
			img0 = internal_element("img");
			t1 = space();
			img1 = internal_element("img");
			if (!src_url_equal(img0.src, img0_src_value = roulette_img_left_sign_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "left stopper");
			attr(img0, "class", "roulette__slot-machine-body-stopper");
			if (!src_url_equal(img1.src, img1_src_value = roulette_img_right_sign_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "alt", "right stopper");
			attr(img1, "class", "roulette__slot-machine-body-stopper roulette__slot-machine-body-stopper--right");
			attr(div, "class", "roulette__slot-machine-body");
			toggle_class(div, "roulette__slot-machine-body--mini", /*$selectedRouletteType*/ ctx[9] === 0);
		},
		m(target, anchor) {
			insert(target, div, anchor);

			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(div, null);
			}

			append(div, t0);
			append(div, img0);
			append(div, t1);
			append(div, img1);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty[0] & /*animated, $selectedRouletteType, offset, prizeSold, sellPrize, $roulettePrizePool, winIds, afterRoll, rouletteLines, createId*/ 33688307) {
				each_value_1 = new Array(/*reelsCount*/ ctx[15][/*$selectedRouletteType*/ ctx[9]]);
				let i;

				for (i = 0; i < each_value_1.length; i += 1) {
					const child_ctx = views_roulette_index_svelte_get_each_context_1(ctx, each_value_1, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
						transition_in(each_blocks[i], 1);
					} else {
						each_blocks[i] = views_roulette_index_svelte_create_each_block_1(child_ctx);
						each_blocks[i].c();
						transition_in(each_blocks[i], 1);
						each_blocks[i].m(div, t0);
					}
				}

				group_outros();

				for (i = each_value_1.length; i < each_blocks.length; i += 1) {
					out(i);
				}

				check_outros();
			}

			if (dirty[0] & /*$selectedRouletteType*/ 512) {
				toggle_class(div, "roulette__slot-machine-body--mini", /*$selectedRouletteType*/ ctx[9] === 0);
			}
		},
		i(local) {
			if (current) return;

			for (let i = 0; i < each_value_1.length; i += 1) {
				transition_in(each_blocks[i]);
			}

			current = true;
		},
		o(local) {
			each_blocks = each_blocks.filter(Boolean);

			for (let i = 0; i < each_blocks.length; i += 1) {
				transition_out(each_blocks[i]);
			}

			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			destroy_each(each_blocks, detaching);
		}
	};
}

// (532:40) {#if !isEmpty(rouletteLines[reelIndex])}
function views_roulette_index_svelte_create_if_block_10(ctx) {
	let each_1_anchor;
	let each_value_2 = /*rouletteLines*/ ctx[4][/*reelIndex*/ ctx[54]];
	let each_blocks = [];

	for (let i = 0; i < each_value_2.length; i += 1) {
		each_blocks[i] = views_roulette_index_svelte_create_each_block_2(views_roulette_index_svelte_get_each_context_2(ctx, each_value_2, i));
	}

	return {
		c() {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].c();
			}

			each_1_anchor = empty();
		},
		m(target, anchor) {
			for (let i = 0; i < each_blocks.length; i += 1) {
				each_blocks[i].m(target, anchor);
			}

			insert(target, each_1_anchor, anchor);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*rouletteLines, createId, $selectedRouletteType, afterRoll*/ 33554961) {
				each_value_2 = /*rouletteLines*/ ctx[4][/*reelIndex*/ ctx[54]];
				let i;

				for (i = 0; i < each_value_2.length; i += 1) {
					const child_ctx = views_roulette_index_svelte_get_each_context_2(ctx, each_value_2, i);

					if (each_blocks[i]) {
						each_blocks[i].p(child_ctx, dirty);
					} else {
						each_blocks[i] = views_roulette_index_svelte_create_each_block_2(child_ctx);
						each_blocks[i].c();
						each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
					}
				}

				for (; i < each_blocks.length; i += 1) {
					each_blocks[i].d(1);
				}

				each_blocks.length = each_value_2.length;
			}
		},
		d(detaching) {
			destroy_each(each_blocks, detaching);
			if (detaching) detach(each_1_anchor);
		}
	};
}

// (533:44) {#each rouletteLines[reelIndex] as item, index}
function views_roulette_index_svelte_create_each_block_2(ctx) {
	let div;
	let img;
	let img_src_value;
	let t;
	let div_class_value;
	let div_id_value;

	return {
		c() {
			div = internal_element("div");
			img = internal_element("img");
			t = space();
			if (!src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*item*/ ctx[49].image}.webp`)) attr(img, "src", img_src_value);
			attr(img, "alt", "slotImage");
			attr(img, "class", "roulette__slot-item-image");
			toggle_class(img, "roulette__slot-item-image--small", /*$selectedRouletteType*/ ctx[9] === 1);
			attr(div, "class", div_class_value = "roulette__slot-item roulette__slot-item--" + /*item*/ ctx[49].rarity);
			attr(div, "id", div_id_value = /*createId*/ ctx[25](/*index*/ ctx[56], /*reelIndex*/ ctx[54]));
			toggle_class(div, "roulette__slot-item--small", /*$selectedRouletteType*/ ctx[9] === 1);
			toggle_class(div, "roulette__slot-item--hidden", /*afterRoll*/ ctx[0] && /*index*/ ctx[56] === /*rouletteLines*/ ctx[4][/*reelIndex*/ ctx[54]].length - 2);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, img);
			append(div, t);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*rouletteLines*/ 16 && !src_url_equal(img.src, img_src_value = `${cdn_CDN_URL_RODINA}/systems/battlepass/items/${/*item*/ ctx[49].image}.webp`)) {
				attr(img, "src", img_src_value);
			}

			if (dirty[0] & /*$selectedRouletteType*/ 512) {
				toggle_class(img, "roulette__slot-item-image--small", /*$selectedRouletteType*/ ctx[9] === 1);
			}

			if (dirty[0] & /*rouletteLines*/ 16 && div_class_value !== (div_class_value = "roulette__slot-item roulette__slot-item--" + /*item*/ ctx[49].rarity)) {
				attr(div, "class", div_class_value);
			}

			if (dirty[0] & /*rouletteLines, $selectedRouletteType*/ 528) {
				toggle_class(div, "roulette__slot-item--small", /*$selectedRouletteType*/ ctx[9] === 1);
			}

			if (dirty[0] & /*rouletteLines, afterRoll, rouletteLines*/ 17) {
				toggle_class(div, "roulette__slot-item--hidden", /*afterRoll*/ ctx[0] && /*index*/ ctx[56] === /*rouletteLines*/ ctx[4][/*reelIndex*/ ctx[54]].length - 2);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (549:40) {#if afterRoll}
function views_roulette_index_svelte_create_if_block_8(ctx) {
	let div2;
	let div0;
	let t0_value = /*$roulettePrizePool*/ ctx[11][/*winIds*/ ctx[6][/*reelIndex*/ ctx[54]]].title + "";
	let t0;
	let t1;
	let div1;
	let div2_transition;
	let current;
	let mounted;
	let dispose;

	function select_block_type_3(ctx, dirty) {
		if (/*prizeSold*/ ctx[5][/*reelIndex*/ ctx[54]]) return views_roulette_index_svelte_create_if_block_9;
		return views_roulette_index_svelte_create_else_block_1;
	}

	let current_block_type = select_block_type_3(ctx, [-1, -1]);
	let if_block = current_block_type(ctx);

	function click_handler_7() {
		return /*click_handler_7*/ ctx[34](/*reelIndex*/ ctx[54]);
	}

	return {
		c() {
			div2 = internal_element("div");
			div0 = internal_element("div");
			t0 = internal_text(t0_value);
			t1 = space();
			div1 = internal_element("div");
			if_block.c();
			attr(div0, "class", "roulette__slot-sell-title");
			attr(div1, "class", "roulette__slot-sell-button");
			toggle_class(div1, "roulette__slot-sell-button--disabled", /*prizeSold*/ ctx[5][/*reelIndex*/ ctx[54]]);
			attr(div2, "class", "roulette__slot-sell");
			toggle_class(div2, "roulette__slot-sell--mini", /*$selectedRouletteType*/ ctx[9] === 0);
		},
		m(target, anchor) {
			insert(target, div2, anchor);
			append(div2, div0);
			append(div0, t0);
			append(div2, t1);
			append(div2, div1);
			if_block.m(div1, null);
			current = true;

			if (!mounted) {
				dispose = listen(div1, "click", click_handler_7);
				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;
			if ((!current || dirty[0] & /*$roulettePrizePool, winIds*/ 2112) && t0_value !== (t0_value = /*$roulettePrizePool*/ ctx[11][/*winIds*/ ctx[6][/*reelIndex*/ ctx[54]]].title + "")) set_data(t0, t0_value);

			if (current_block_type === (current_block_type = select_block_type_3(ctx, dirty)) && if_block) {
				if_block.p(ctx, dirty);
			} else {
				if_block.d(1);
				if_block = current_block_type(ctx);

				if (if_block) {
					if_block.c();
					if_block.m(div1, null);
				}
			}

			if (dirty[0] & /*prizeSold*/ 32) {
				toggle_class(div1, "roulette__slot-sell-button--disabled", /*prizeSold*/ ctx[5][/*reelIndex*/ ctx[54]]);
			}

			if (dirty[0] & /*$selectedRouletteType*/ 512) {
				toggle_class(div2, "roulette__slot-sell--mini", /*$selectedRouletteType*/ ctx[9] === 0);
			}
		},
		i(local) {
			if (current) return;

			add_render_callback(() => {
				if (!div2_transition) div2_transition = create_bidirectional_transition(div2, fade, { duration: 200 }, true);
				div2_transition.run(1);
			});

			current = true;
		},
		o(local) {
			if (!div2_transition) div2_transition = create_bidirectional_transition(div2, fade, { duration: 200 }, false);
			div2_transition.run(0);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div2);
			if_block.d();
			if (detaching && div2_transition) div2_transition.end();
			mounted = false;
			dispose();
		}
	};
}

// (567:56) {:else}
function views_roulette_index_svelte_create_else_block_1(ctx) {
	let span;
	let t1;
	let b;
	let t2_value = /*$roulettePrizePool*/ ctx[11][/*winIds*/ ctx[6][/*reelIndex*/ ctx[54]]].price + "";
	let t2;
	let t3;
	let img;
	let img_src_value;

	return {
		c() {
			span = internal_element("span");
			span.textContent = "Продать за";
			t1 = space();
			b = internal_element("b");
			t2 = internal_text(t2_value);
			t3 = space();
			img = internal_element("img");
			attr(span, "class", "roulette__slot-sell-button-caption");
			if (!src_url_equal(img.src, img_src_value = img_diamond_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "diamond");
			attr(img, "class", "roulette__pass-coins-currency-icon");
		},
		m(target, anchor) {
			insert(target, span, anchor);
			insert(target, t1, anchor);
			insert(target, b, anchor);
			append(b, t2);
			insert(target, t3, anchor);
			insert(target, img, anchor);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$roulettePrizePool, winIds*/ 2112 && t2_value !== (t2_value = /*$roulettePrizePool*/ ctx[11][/*winIds*/ ctx[6][/*reelIndex*/ ctx[54]]].price + "")) set_data(t2, t2_value);
		},
		d(detaching) {
			if (detaching) detach(span);
			if (detaching) detach(t1);
			if (detaching) detach(b);
			if (detaching) detach(t3);
			if (detaching) detach(img);
		}
	};
}

// (563:56) {#if prizeSold[reelIndex]}
function views_roulette_index_svelte_create_if_block_9(ctx) {
	let span;

	return {
		c() {
			span = internal_element("span");
			span.textContent = "Продано";
			attr(span, "class", "roulette__slot-sell-button-caption");
		},
		m(target, anchor) {
			insert(target, span, anchor);
		},
		p: internal_noop,
		d(detaching) {
			if (detaching) detach(span);
		}
	};
}

// (523:32) {#each new Array(reelsCount[$selectedRouletteType]) as reel, reelIndex}
function views_roulette_index_svelte_create_each_block_1(ctx) {
	let div;
	let show_if = !(0,lodash.isEmpty)(/*rouletteLines*/ ctx[4][/*reelIndex*/ ctx[54]]);
	let t;
	let current;
	let if_block0 = show_if && views_roulette_index_svelte_create_if_block_10(ctx);
	let if_block1 = /*afterRoll*/ ctx[0] && views_roulette_index_svelte_create_if_block_8(ctx);

	return {
		c() {
			div = internal_element("div");
			if (if_block0) if_block0.c();
			t = space();
			if (if_block1) if_block1.c();
			attr(div, "class", "roulette__slot-machine-body-reel");
			toggle_class(div, "roulette__slot-machine-body-reel--animated", /*animated*/ ctx[1]);
			toggle_class(div, "roulette__slot-machine-body-reel--small", /*$selectedRouletteType*/ ctx[9] === 1);
			set_style(div, "transform", `translateY(${/*offset*/ ctx[7]}px)`, false);
			set_style(div, "transition", /*animated*/ ctx[1] ? '8s' : 'none', false);

			set_style(
				div,
				"transition-delay",
				`${/*animated*/ ctx[1]
				? `${0.8 * /*reelIndex*/ ctx[54]}s`
				: 'none'}`,
				false
			);
		},
		m(target, anchor) {
			insert(target, div, anchor);
			if (if_block0) if_block0.m(div, null);
			append(div, t);
			if (if_block1) if_block1.m(div, null);
			current = true;
		},
		p(ctx, dirty) {
			if (dirty[0] & /*rouletteLines*/ 16) show_if = !(0,lodash.isEmpty)(/*rouletteLines*/ ctx[4][/*reelIndex*/ ctx[54]]);

			if (show_if) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = views_roulette_index_svelte_create_if_block_10(ctx);
					if_block0.c();
					if_block0.m(div, t);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			if (/*afterRoll*/ ctx[0]) {
				if (if_block1) {
					if_block1.p(ctx, dirty);

					if (dirty[0] & /*afterRoll*/ 1) {
						transition_in(if_block1, 1);
					}
				} else {
					if_block1 = views_roulette_index_svelte_create_if_block_8(ctx);
					if_block1.c();
					transition_in(if_block1, 1);
					if_block1.m(div, null);
				}
			} else if (if_block1) {
				group_outros();

				transition_out(if_block1, 1, 1, () => {
					if_block1 = null;
				});

				check_outros();
			}

			if (dirty[0] & /*animated*/ 2) {
				toggle_class(div, "roulette__slot-machine-body-reel--animated", /*animated*/ ctx[1]);
			}

			if (dirty[0] & /*$selectedRouletteType*/ 512) {
				toggle_class(div, "roulette__slot-machine-body-reel--small", /*$selectedRouletteType*/ ctx[9] === 1);
			}

			if (dirty[0] & /*offset*/ 128) {
				set_style(div, "transform", `translateY(${/*offset*/ ctx[7]}px)`, false);
			}

			if (dirty[0] & /*animated*/ 2) {
				set_style(div, "transition", /*animated*/ ctx[1] ? '8s' : 'none', false);
			}

			if (dirty[0] & /*animated*/ 2) {
				set_style(
					div,
					"transition-delay",
					`${/*animated*/ ctx[1]
					? `${0.8 * /*reelIndex*/ ctx[54]}s`
					: 'none'}`,
					false
				);
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block1);
			current = true;
		},
		o(local) {
			transition_out(if_block1);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div);
			if (if_block0) if_block0.d();
			if (if_block1) if_block1.d();
		}
	};
}

// (626:28) {:else}
function views_roulette_index_svelte_create_else_block(ctx) {
	let div;
	let mounted;
	let dispose;

	return {
		c() {
			div = internal_element("div");
			div.textContent = "Крутить рулетку";
			attr(div, "class", "roulette__button roulette__button--start-roll");
			toggle_class(div, "roulette__button--disabled", /*$rouletteBoxes*/ ctx[12][/*$selectedRouletteType*/ ctx[9]].total === 0 || /*disabled*/ ctx[3]);
		},
		m(target, anchor) {
			insert(target, div, anchor);

			if (!mounted) {
				dispose = listen(div, "click", function () {
					if (internal_is_function(/*afterRoll*/ ctx[0]
					? /*rearmRoulette*/ ctx[24]
					: /*rollMessage*/ ctx[23])) (/*afterRoll*/ ctx[0]
					? /*rearmRoulette*/ ctx[24]
					: /*rollMessage*/ ctx[23]).apply(this, arguments);
				});

				mounted = true;
			}
		},
		p(new_ctx, dirty) {
			ctx = new_ctx;

			if (dirty[0] & /*$rouletteBoxes, $selectedRouletteType, disabled*/ 4616) {
				toggle_class(div, "roulette__button--disabled", /*$rouletteBoxes*/ ctx[12][/*$selectedRouletteType*/ ctx[9]].total === 0 || /*disabled*/ ctx[3]);
			}
		},
		d(detaching) {
			if (detaching) detach(div);
			mounted = false;
			dispose();
		}
	};
}

// (603:28) {#if afterRoll}
function views_roulette_index_svelte_create_if_block_6(ctx) {
	let div4;
	let div0;
	let t1;
	let div3;
	let div1;
	let t3;
	let div2;
	let t4;
	let t5;
	let img;
	let img_src_value;
	let mounted;
	let dispose;

	return {
		c() {
			div4 = internal_element("div");
			div0 = internal_element("div");
			div0.textContent = "Забрать все";
			t1 = space();
			div3 = internal_element("div");
			div1 = internal_element("div");
			div1.textContent = "продать все";
			t3 = space();
			div2 = internal_element("div");
			t4 = internal_text(/*sellTotal*/ ctx[8]);
			t5 = space();
			img = internal_element("img");
			attr(div0, "class", "roulette__button roulette__button roulette__button roulette__button--take");
			toggle_class(div0, "roulette__button--disabled", /*$rouletteBoxes*/ ctx[12][/*$selectedRouletteType*/ ctx[9]].total === 0 || /*disabled*/ ctx[3]);
			attr(div1, "class", "roulette__button-text");
			if (!src_url_equal(img.src, img_src_value = img_diamond_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "diamond");
			attr(img, "class", "roulette__pass-coins-currency-icon");
			attr(div2, "class", "roulette__button-value");
			attr(div3, "class", "roulette__button roulette__button roulette__button roulette__button--sell");
			toggle_class(div3, "roulette__button--disabled", /*$rouletteBoxes*/ ctx[12][/*$selectedRouletteType*/ ctx[9]].total === 0 || /*disabled*/ ctx[3]);
			attr(div4, "class", "roulette__buttons-row");
		},
		m(target, anchor) {
			insert(target, div4, anchor);
			append(div4, div0);
			append(div4, t1);
			append(div4, div3);
			append(div3, div1);
			append(div3, t3);
			append(div3, div2);
			append(div2, t4);
			append(div2, t5);
			append(div2, img);

			if (!mounted) {
				dispose = [
					listen(div0, "click", /*takeAll*/ ctx[22]),
					listen(div3, "click", /*sellAll*/ ctx[21])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$rouletteBoxes, $selectedRouletteType, disabled*/ 4616) {
				toggle_class(div0, "roulette__button--disabled", /*$rouletteBoxes*/ ctx[12][/*$selectedRouletteType*/ ctx[9]].total === 0 || /*disabled*/ ctx[3]);
			}

			if (dirty[0] & /*sellTotal*/ 256) set_data(t4, /*sellTotal*/ ctx[8]);

			if (dirty[0] & /*$rouletteBoxes, $selectedRouletteType, disabled*/ 4616) {
				toggle_class(div3, "roulette__button--disabled", /*$rouletteBoxes*/ ctx[12][/*$selectedRouletteType*/ ctx[9]].total === 0 || /*disabled*/ ctx[3]);
			}
		},
		d(detaching) {
			if (detaching) detach(div4);
			mounted = false;
			internal_run_all(dispose);
		}
	};
}

// (645:24) {#if isEmpty($roulettePrizeFeed)}
function views_roulette_index_svelte_create_if_block_5(ctx) {
	let div1;

	return {
		c() {
			div1 = internal_element("div");
			div1.innerHTML = `<div class="roulette__prize-feed-holder-text">Список призов пуст</div>`;
			attr(div1, "class", "roulette__prize-feed-holder");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (650:24) {#each $roulettePrizeFeed as item}
function views_roulette_index_svelte_create_each_block(ctx) {
	let div5;
	let div3;
	let prizeimage;
	let t0;
	let div1;
	let img;
	let img_src_value;
	let t1;
	let div0;

	let t2_value = (/*item*/ ctx[49].id
	? 'Premium рулетка'
	: 'Рулетка основания') + "";

	let t2;
	let t3;
	let div2;
	let t4_value = /*calculateTimeDiff*/ ctx[19](/*item*/ ctx[49].time) + "";
	let t4;
	let t5;
	let div4;
	let t6_value = /*item*/ ctx[49].title + "";
	let t6;
	let t7;
	let current;

	prizeimage = new roulette_components_prize_image_index_svelte({
			props: {
				imageSrc: `${constants_BP_IMAGES_BASE_CDN_URL}/${/*item*/ ctx[49].image}.webp`,
				style: /*item*/ ctx[49].style
			}
		});

	return {
		c() {
			div5 = internal_element("div");
			div3 = internal_element("div");
			create_component(prizeimage.$$.fragment);
			t0 = space();
			div1 = internal_element("div");
			img = internal_element("img");
			t1 = space();
			div0 = internal_element("div");
			t2 = internal_text(t2_value);
			t3 = space();
			div2 = internal_element("div");
			t4 = internal_text(t4_value);
			t5 = space();
			div4 = internal_element("div");
			t6 = internal_text(t6_value);
			t7 = space();
			if (!src_url_equal(img.src, img_src_value = /*item*/ ctx[49].id ? roulette_img_premium_roulette_box_namespaceObject : roulette_img_winter_roulette_box_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "box");
			attr(img, "class", "roulette__prize-feed-item-overlay-image");
			attr(div0, "class", "roulette__prize-feed-item-overlay-title");
			attr(div1, "class", "roulette__prize-feed-item-overlay");
			attr(div2, "class", "roulette__prize-feed-item-time");
			attr(div3, "class", "roulette__prize-feed-item-image");
			attr(div4, "class", "roulette__prize-feed-item-caption");
			attr(div5, "class", "roulette__prize-feed-item");
		},
		m(target, anchor) {
			insert(target, div5, anchor);
			append(div5, div3);
			mount_component(prizeimage, div3, null);
			append(div3, t0);
			append(div3, div1);
			append(div1, img);
			append(div1, t1);
			append(div1, div0);
			append(div0, t2);
			append(div3, t3);
			append(div3, div2);
			append(div2, t4);
			append(div5, t5);
			append(div5, div4);
			append(div4, t6);
			append(div5, t7);
			current = true;
		},
		p(ctx, dirty) {
			const prizeimage_changes = {};
			if (dirty[0] & /*$roulettePrizeFeed*/ 1024) prizeimage_changes.imageSrc = `${constants_BP_IMAGES_BASE_CDN_URL}/${/*item*/ ctx[49].image}.webp`;
			if (dirty[0] & /*$roulettePrizeFeed*/ 1024) prizeimage_changes.style = /*item*/ ctx[49].style;
			prizeimage.$set(prizeimage_changes);

			if (!current || dirty[0] & /*$roulettePrizeFeed*/ 1024 && !src_url_equal(img.src, img_src_value = /*item*/ ctx[49].id ? roulette_img_premium_roulette_box_namespaceObject : roulette_img_winter_roulette_box_namespaceObject)) {
				attr(img, "src", img_src_value);
			}

			if ((!current || dirty[0] & /*$roulettePrizeFeed*/ 1024) && t2_value !== (t2_value = (/*item*/ ctx[49].id
			? 'Premium рулетка'
			: 'Рулетка основания') + "")) set_data(t2, t2_value);

			if ((!current || dirty[0] & /*$roulettePrizeFeed*/ 1024) && t4_value !== (t4_value = /*calculateTimeDiff*/ ctx[19](/*item*/ ctx[49].time) + "")) set_data(t4, t4_value);
			if ((!current || dirty[0] & /*$roulettePrizeFeed*/ 1024) && t6_value !== (t6_value = /*item*/ ctx[49].title + "")) set_data(t6, t6_value);
		},
		i(local) {
			if (current) return;
			transition_in(prizeimage.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(prizeimage.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div5);
			destroy_component(prizeimage);
		}
	};
}

// (372:20) {#if !isEmpty($rouletteBoxes[0].description)}
function views_roulette_index_svelte_create_if_block_3(ctx) {
	let div1;
	let img;
	let img_src_value;
	let t0;
	let div0;
	let t1_value = /*$rouletteBoxes*/ ctx[12][1].description + "";
	let t1;

	return {
		c() {
			div1 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			if (!src_url_equal(img.src, img_src_value = roulette_img_procent_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "percent");
			attr(img, "class", "roulette__additional-icon");
			attr(div0, "class", "roulette__additional-text");
			attr(div1, "class", "roulette__additional");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, img);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$rouletteBoxes*/ 4096 && t1_value !== (t1_value = /*$rouletteBoxes*/ ctx[12][1].description + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

// (422:32) {#if $rouletteBoxes[1].discount}
function views_roulette_index_svelte_create_if_block_2(ctx) {
	let div;
	let b;
	let t_value = `${/*$rouletteBoxes*/ ctx[12][1].discount}%` + "";
	let t;

	return {
		c() {
			div = internal_element("div");
			b = internal_element("b");
			t = internal_text(t_value);
			attr(div, "class", "roulette__discount");
		},
		m(target, anchor) {
			insert(target, div, anchor);
			append(div, b);
			append(b, t);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$rouletteBoxes*/ 4096 && t_value !== (t_value = `${/*$rouletteBoxes*/ ctx[12][1].discount}%` + "")) set_data(t, t_value);
		},
		d(detaching) {
			if (detaching) detach(div);
		}
	};
}

// (431:20) {#if !isEmpty($rouletteBoxes[1].description)}
function views_roulette_index_svelte_create_if_block_1(ctx) {
	let div1;
	let img;
	let img_src_value;
	let t0;
	let div0;
	let t1_value = /*$rouletteBoxes*/ ctx[12][1].description + "";
	let t1;

	return {
		c() {
			div1 = internal_element("div");
			img = internal_element("img");
			t0 = space();
			div0 = internal_element("div");
			t1 = internal_text(t1_value);
			if (!src_url_equal(img.src, img_src_value = roulette_img_procent_namespaceObject)) attr(img, "src", img_src_value);
			attr(img, "alt", "percent");
			attr(img, "class", "roulette__additional-icon");
			attr(div0, "class", "roulette__additional-text");
			attr(div1, "class", "roulette__additional");
		},
		m(target, anchor) {
			insert(target, div1, anchor);
			append(div1, img);
			append(div1, t0);
			append(div1, div0);
			append(div0, t1);
		},
		p(ctx, dirty) {
			if (dirty[0] & /*$rouletteBoxes*/ 4096 && t1_value !== (t1_value = /*$rouletteBoxes*/ ctx[12][1].description + "")) set_data(t1, t1_value);
		},
		d(detaching) {
			if (detaching) detach(div1);
		}
	};
}

function views_roulette_index_svelte_create_fragment(ctx) {
	let div13;
	let div12;
	let div2;
	let div0;
	let t0;
	let div1;
	let t2;
	let div11;
	let div6;
	let div4;
	let div3;
	let t3_value = formatMoney(/*$mainInfo*/ ctx[13].countMoney || 0) + "";
	let t3;
	let t4;
	let img0;
	let img0_src_value;
	let t5;
	let div5;
	let t6;
	let div10;
	let div8;
	let div7;
	let t7_value = `${formatMoney(/*$mainInfo*/ ctx[13].countDonate || 0)} AZ` + "";
	let t7;
	let t8;
	let img1;
	let img1_src_value;
	let t9;
	let div9;
	let i2;
	let t10;
	let t11;
	let actionbutton;
	let t12;
	let show_if;
	let show_if_1;
	let current_block_type_index;
	let if_block1;
	let current;
	let mounted;
	let dispose;
	let if_block0 = /*$mainInfo*/ ctx[13].freeSpinAvailable && roulette_index_svelte_create_if_block_15(ctx);

	actionbutton = new index_svelte({
			props: {
				code: "escape",
				keyTitle: "Esc",
				onPress: /*exit*/ ctx[26]
			}
		});

	const if_block_creators = [views_roulette_index_svelte_create_if_block, views_roulette_index_svelte_create_if_block_4];
	const if_blocks = [];

	function select_block_type(ctx, dirty) {
		if (dirty[0] & /*$selectedRouletteType, $rouletteBoxes*/ 4608) show_if = null;
		if (dirty[0] & /*$selectedRouletteType, $rouletteBoxes*/ 4608) show_if_1 = null;
		if (show_if == null) show_if = !!(/*$selectedRouletteType*/ ctx[9] < 0 && !(0,lodash.isEmpty)(/*$rouletteBoxes*/ ctx[12]));
		if (show_if) return 0;
		if (show_if_1 == null) show_if_1 = !!(/*$selectedRouletteType*/ ctx[9] >= 0 && !(0,lodash.isEmpty)(/*$rouletteBoxes*/ ctx[12]));
		if (show_if_1) return 1;
		return -1;
	}

	if (~(current_block_type_index = select_block_type(ctx, [-1, -1]))) {
		if_block1 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
	}

	return {
		c() {
			div13 = internal_element("div");
			div12 = internal_element("div");
			div2 = internal_element("div");
			div0 = internal_element("div");
			div0.innerHTML = `<i class="roulette__back-icon icon-back-arrow"></i>`;
			t0 = space();
			div1 = internal_element("div");
			div1.textContent = "Рулетка";
			t2 = space();
			div11 = internal_element("div");
			div6 = internal_element("div");
			div4 = internal_element("div");
			div3 = internal_element("div");
			t3 = internal_text(t3_value);
			t4 = space();
			img0 = internal_element("img");
			t5 = space();
			div5 = internal_element("div");
			div5.innerHTML = `<i class="roulette__coins-add-icon icon-plus-circle"></i>`;
			t6 = space();
			div10 = internal_element("div");
			div8 = internal_element("div");
			div7 = internal_element("div");
			t7 = internal_text(t7_value);
			t8 = space();
			img1 = internal_element("img");
			t9 = space();
			div9 = internal_element("div");
			i2 = internal_element("i");
			t10 = space();
			if (if_block0) if_block0.c();
			t11 = space();
			create_component(actionbutton.$$.fragment);
			t12 = space();
			if (if_block1) if_block1.c();
			attr(div0, "class", "roulette__back");
			attr(div1, "class", "roulette__title");
			attr(div2, "class", "roulette__title-wrapper");
			attr(div3, "class", "roulette__coins-value");
			if (!src_url_equal(img0.src, img0_src_value = img_diamond_namespaceObject)) attr(img0, "src", img0_src_value);
			attr(img0, "alt", "diamond");
			attr(img0, "class", "roulette__pass-coins-currency-icon");
			attr(div4, "class", "roulette__coins-value-wrapper");
			attr(div5, "class", "roulette__coins-add roulette__coins-add--green");
			attr(div6, "class", "roulette__coins-field");
			attr(div7, "class", "roulette__coins-value");
			if (!src_url_equal(img1.src, img1_src_value = roulette_img_az_coin_namespaceObject)) attr(img1, "src", img1_src_value);
			attr(img1, "class", "roulette__pass-coins-currency-image");
			attr(img1, "alt", "coins");
			attr(div8, "class", "roulette__coins-value-wrapper");
			attr(i2, "class", "roulette__coins-add-icon icon-plus-circle");
			attr(div9, "class", "roulette__coins-add roulette__coins-add--yellow");
			attr(div10, "class", "roulette__coins-field");
			attr(div11, "class", "roulette__coins");
			attr(div12, "class", "roulette__header");
			attr(div13, "class", "roulette");
		},
		m(target, anchor) {
			insert(target, div13, anchor);
			append(div13, div12);
			append(div12, div2);
			append(div2, div0);
			append(div2, t0);
			append(div2, div1);
			append(div12, t2);
			append(div12, div11);
			append(div11, div6);
			append(div6, div4);
			append(div4, div3);
			append(div3, t3);
			append(div4, t4);
			append(div4, img0);
			append(div6, t5);
			append(div6, div5);
			append(div11, t6);
			append(div11, div10);
			append(div10, div8);
			append(div8, div7);
			append(div7, t7);
			append(div8, t8);
			append(div8, img1);
			append(div10, t9);
			append(div10, div9);
			append(div9, i2);
			append(div9, t10);
			if (if_block0) if_block0.m(div9, null);
			append(div11, t11);
			mount_component(actionbutton, div11, null);
			append(div13, t12);

			if (~current_block_type_index) {
				if_blocks[current_block_type_index].m(div13, null);
			}

			current = true;

			if (!mounted) {
				dispose = [
					listen(div0, "click", /*backToChoice*/ ctx[16]),
					listen(div5, "click", /*click_handler*/ ctx[27]),
					listen(div9, "click", /*click_handler_2*/ ctx[29])
				];

				mounted = true;
			}
		},
		p(ctx, dirty) {
			if ((!current || dirty[0] & /*$mainInfo*/ 8192) && t3_value !== (t3_value = formatMoney(/*$mainInfo*/ ctx[13].countMoney || 0) + "")) set_data(t3, t3_value);
			if ((!current || dirty[0] & /*$mainInfo*/ 8192) && t7_value !== (t7_value = `${formatMoney(/*$mainInfo*/ ctx[13].countDonate || 0)} AZ` + "")) set_data(t7, t7_value);

			if (/*$mainInfo*/ ctx[13].freeSpinAvailable) {
				if (if_block0) {
					if_block0.p(ctx, dirty);
				} else {
					if_block0 = roulette_index_svelte_create_if_block_15(ctx);
					if_block0.c();
					if_block0.m(div9, null);
				}
			} else if (if_block0) {
				if_block0.d(1);
				if_block0 = null;
			}

			let previous_block_index = current_block_type_index;
			current_block_type_index = select_block_type(ctx, dirty);

			if (current_block_type_index === previous_block_index) {
				if (~current_block_type_index) {
					if_blocks[current_block_type_index].p(ctx, dirty);
				}
			} else {
				if (if_block1) {
					group_outros();

					transition_out(if_blocks[previous_block_index], 1, 1, () => {
						if_blocks[previous_block_index] = null;
					});

					check_outros();
				}

				if (~current_block_type_index) {
					if_block1 = if_blocks[current_block_type_index];

					if (!if_block1) {
						if_block1 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
						if_block1.c();
					} else {
						if_block1.p(ctx, dirty);
					}

					transition_in(if_block1, 1);
					if_block1.m(div13, null);
				} else {
					if_block1 = null;
				}
			}
		},
		i(local) {
			if (current) return;
			transition_in(actionbutton.$$.fragment, local);
			transition_in(if_block1);
			current = true;
		},
		o(local) {
			transition_out(actionbutton.$$.fragment, local);
			transition_out(if_block1);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(div13);
			if (if_block0) if_block0.d();
			destroy_component(actionbutton);

			if (~current_block_type_index) {
				if_blocks[current_block_type_index].d();
			}

			mounted = false;
			internal_run_all(dispose);
		}
	};
}

function views_roulette_index_svelte_instance($$self, $$props, $$invalidate) {
	let $selectedRouletteType;
	let $roulettePrizeFeed;
	let $roulettePrizePool;
	let $rouletteBoxes;
	let $rouletteActive;
	let $mainInfo;
	component_subscribe($$self, store_selectedRouletteType, $$value => $$invalidate(9, $selectedRouletteType = $$value));
	component_subscribe($$self, store_roulettePrizeFeed, $$value => $$invalidate(10, $roulettePrizeFeed = $$value));
	component_subscribe($$self, store_roulettePrizePool, $$value => $$invalidate(11, $roulettePrizePool = $$value));
	component_subscribe($$self, store_rouletteBoxes, $$value => $$invalidate(12, $rouletteBoxes = $$value));
	component_subscribe($$self, store_rouletteActive, $$value => $$invalidate(37, $rouletteActive = $$value));
	component_subscribe($$self, roulette_store_mainInfo, $$value => $$invalidate(13, $mainInfo = $$value));
	let animated = false;
	let selectedScaler = 0;
	let disabled = false;
	let afterRoll = false;
	let rouletteLines = [];
	const scales = [1, 5, 10];
	const reelsCount = [3, 7];
	const reelsTime = [9700, 12800];
	const prizeSold = Array(reelsCount[$selectedRouletteType]).fill(false);
	let prizeCount = Array(reelsCount[$selectedRouletteType]).fill(1);
	let winIds = [];
	let reelsSoldIds = [];
	let offset = 0;
	let sellTotal = 0;

	const backToChoice = () => {
		if ($rouletteActive) {
			return;
		}

		sendClientMessage('roulette.roulette.back');
	}; // $selectedRouletteType = -1;
	// rouletteLines = [];
	// winIds = [];
	// $roulettePrizePool = [];

	// $roulettePrizeFeed = [];
	// const calculatePrice = (price, discount) => Math.ceil(price - price * (discount / 100));
	const calculateTotalSell = () => {
		$$invalidate(8, sellTotal = 0);

		winIds.forEach((id, index) => {
			$$invalidate(8, sellTotal += reelsSoldIds.includes(index)
			? 0
			: $roulettePrizePool[id].price);
		});
	};

	const sellPrize = reelIndex => {
		$$invalidate(5, prizeSold[reelIndex] = true, prizeSold);
		reelsSoldIds = [...reelsSoldIds, reelIndex];
		calculateTotalSell();
		sendClientMessage('roulette.roulette.sellPrize', reelIndex);
	};

	const selectType = type => {
		sendClientMessage('roulette.roulette.selectRouletteType', type);

		if ($rouletteBoxes[type].total === 0) {
			sendClientMessage('roulette.roulette.purchaseRoulette', type);
		} // return;

		set_store_value(store_selectedRouletteType, $selectedRouletteType = type, $selectedRouletteType);
		$$invalidate(6, winIds = Array(reelsCount[$selectedRouletteType]).fill(0));
	};

	const calculateTimeDiff = unix => {
		let diff = moment_default()().unix() - unix;
		let formatted = '';
		diff = diff < 0 ? 1 : diff;

		if (diff < 60) {
			formatted = `${diff} сек`;
		} else if (diff > 60 && diff <= 3540) {
			formatted = `${Math.round(diff / 60)} мин`;
		} else if (diff > 3540 && diff < 86400) {
			formatted = `${Math.round(diff / 3600)} час+`;
		} else {
			formatted = '24 часа+';
		}

		return formatted;
	};

	const roll = () => {
		set_store_value(store_rouletteActive, $rouletteActive = true, $rouletteActive);

		// if ($rouletteBoxes[$selectedRouletteType].total === 0 || disabled) {
		//     return;
		// }
		$$invalidate(0, afterRoll = false);

		$$invalidate(3, disabled = true);
		$$invalidate(1, animated = true);
		$$invalidate(7, offset = 0);
		$$invalidate(8, sellTotal = 0);
		reelsSoldIds = [];

		setTimeout(
			() => {
				$$invalidate(0, afterRoll = true);
				$$invalidate(3, disabled = false);
				$$invalidate(1, animated = false);

				rouletteLines.forEach((item, index) => {
					$$invalidate(4, rouletteLines[index] = rouletteLines[index].splice(0, 2), rouletteLines);
				});

				$$invalidate(4, rouletteLines = rouletteLines.map(line => {
					const addItems = Array(47).fill({}).map(() => $roulettePrizePool[_randomHelper(0, $roulettePrizePool.length)]);
					const cache = [...addItems, ...line];
					return cache;
				}));

				setTimeout(
					() => {
						$$invalidate(7, offset = document.querySelector(`#start-${0}`).offsetTop * -1);
					},
					0
				);

				set_store_value(store_rouletteActive, $rouletteActive = false, $rouletteActive);
				sendClientMessage('roulette.roulette.spinFinish');
			},
			reelsTime[$selectedRouletteType]
		);

		if ($rouletteBoxes[$selectedRouletteType].total > 0) {
			set_store_value(store_rouletteBoxes, $rouletteBoxes[$selectedRouletteType].total -= 1, $rouletteBoxes);
		}
	};

	const purchaseRoulette = () => sendClientMessage('roulette.roulette.purchaseScaledRoulette', scales[selectedScaler]);
	const sellAll = () => sendClientMessage('roulette.roulette.sellAll');
	const takeAll = () => sendClientMessage('roulette.roulette.takeAll');
	const rollMessage = () => sendClientMessage('roulette.roulette.startRoll');

	const rearmRoulette = () => {
		$$invalidate(3, disabled = false);
		$$invalidate(1, animated = false);
		prizeSold.fill(false);

		setTimeout(
			() => {
				$$invalidate(7, offset = document.querySelector(`#start-${0}`).offsetTop * -1);
				rollMessage();
			},
			0
		);
	};

	const initializeWinIds = ids => {
		$$invalidate(6, winIds = [...ids]);

		rouletteLines.forEach((line, index) => {
			/* eslint-disable no-param-reassign */
			line[1] = $roulettePrizePool[winIds[index]];
		}); /* eslint-enable no-param-reassign */

		$$invalidate(4, rouletteLines = [...rouletteLines]);

		setTimeout(
			() => {
				roll();
			},
			100
		);
	};

	const createRouletteLines = () => {
		$$invalidate(4, rouletteLines = Array(reelsCount[$selectedRouletteType]).fill([]).map((item, index) => Array(50).fill({}).map(() => $roulettePrizePool[_randomHelper(0, $roulettePrizePool.length, [winIds[index]])])));

		setTimeout(
			() => {
				$$invalidate(7, offset = document.querySelector(`#start-${0}`).offsetTop * -1);
			},
			0
		);
	};

	const stopRoll = () => {
		$$invalidate(0, afterRoll = false);
	};

	const initializePriceCount = count => {
		prizeCount = count;
	};

	const unregisterInitializeWinIds = registerEvent('event.roulette.initializeWinIds', initializeWinIds);
	const unregisterInitializePriceCount = registerEvent('event.roulette.prizeCount', initializePriceCount);
	const unregisterPrizePoolComplite = registerEvent('event.roulette.prizePoolComplite', createRouletteLines);
	const unregisterStopRoll = registerEvent('event.roulette.stopRoll', stopRoll);

	const createId = (slotIndex, reelIndex) => {
		let id = '';

		switch (slotIndex) {
			case 1:
				id = `finish-${reelIndex}`;
				break;
			case 47:
				id = `start-${reelIndex}`;
				break;
			default:
				break;
		}

		return id;
	};

	const exit = () => sendClientMessage('battlePass.exit');

	onDestroy(() => {
		set_store_value(store_rouletteBoxes, $rouletteBoxes = [], $rouletteBoxes);
		set_store_value(store_roulettePrizePool, $roulettePrizePool = [], $roulettePrizePool);
		set_store_value(store_roulettePrizeFeed, $roulettePrizeFeed = [], $roulettePrizeFeed);
		set_store_value(store_selectedRouletteType, $selectedRouletteType = 1, $selectedRouletteType);
		unregisterInitializeWinIds();
		unregisterPrizePoolComplite();
		unregisterInitializePriceCount();
		unregisterStopRoll();
	});

	const click_handler = () => sendClientMessage('roulette.main.addCoins');
	const click_handler_1 = () => sendClientMessage('roulette.main.openDonate');
	const click_handler_2 = () => sendClientMessage('roulette.main.openDonate');
	const click_handler_3 = () => selectType(0);
	const click_handler_4 = () => selectType(1);

	const click_handler_5 = index => {
		$$invalidate(2, selectedScaler = index);
	};

	const click_handler_6 = () => purchaseRoulette();
	const click_handler_7 = reelIndex => sellPrize(reelIndex);

	$$self.$$.update = () => {
		if ($$self.$$.dirty[0] & /*afterRoll*/ 1) {
			$: {
				if (afterRoll) {
					calculateTotalSell();
				}
			}
		}
	};

	return [
		afterRoll,
		animated,
		selectedScaler,
		disabled,
		rouletteLines,
		prizeSold,
		winIds,
		offset,
		sellTotal,
		$selectedRouletteType,
		$roulettePrizeFeed,
		$roulettePrizePool,
		$rouletteBoxes,
		$mainInfo,
		scales,
		reelsCount,
		backToChoice,
		sellPrize,
		selectType,
		calculateTimeDiff,
		purchaseRoulette,
		sellAll,
		takeAll,
		rollMessage,
		rearmRoulette,
		createId,
		exit,
		click_handler,
		click_handler_1,
		click_handler_2,
		click_handler_3,
		click_handler_4,
		click_handler_5,
		click_handler_6,
		click_handler_7
	];
}

class roulette_index_svelte_Roulette extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, views_roulette_index_svelte_instance, views_roulette_index_svelte_create_fragment, safe_not_equal, {}, null, [-1, -1]);
	}
}

/* harmony default export */ const views_roulette_index_svelte = (roulette_index_svelte_Roulette);
;// CONCATENATED MODULE: ./src/App.svelte
/* src\App.svelte generated by Svelte v3.49.0 */




































































































































function App_svelte_create_if_block_1(ctx) {
	let videobackground;
	let current;
	videobackground = new video_background_index_svelte({});

	return {
		c() {
			create_component(videobackground.$$.fragment);
		},
		m(target, anchor) {
			mount_component(videobackground, target, anchor);
			current = true;
		},
		i(local) {
			if (current) return;
			transition_in(videobackground.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(videobackground.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			destroy_component(videobackground, detaching);
		}
	};
}

// (284:0) {#if !isNil(views[$selectedView])}
function App_svelte_create_if_block(ctx) {
	let switch_instance;
	let switch_instance_anchor;
	let current;
	var switch_value = /*views*/ ctx[2][/*$selectedView*/ ctx[1]];

	function switch_props(ctx) {
		return {};
	}

	if (switch_value) {
		switch_instance = new switch_value(switch_props(ctx));
	}

	return {
		c() {
			if (switch_instance) create_component(switch_instance.$$.fragment);
			switch_instance_anchor = empty();
		},
		m(target, anchor) {
			if (switch_instance) {
				mount_component(switch_instance, target, anchor);
			}

			insert(target, switch_instance_anchor, anchor);
			current = true;
		},
		p(ctx, dirty) {
			if (switch_value !== (switch_value = /*views*/ ctx[2][/*$selectedView*/ ctx[1]])) {
				if (switch_instance) {
					group_outros();
					const old_component = switch_instance;

					transition_out(old_component.$$.fragment, 1, 0, () => {
						destroy_component(old_component, 1);
					});

					check_outros();
				}

				if (switch_value) {
					switch_instance = new switch_value(switch_props(ctx));
					create_component(switch_instance.$$.fragment);
					transition_in(switch_instance.$$.fragment, 1);
					mount_component(switch_instance, switch_instance_anchor.parentNode, switch_instance_anchor);
				} else {
					switch_instance = null;
				}
			} else if (switch_value) {
				
			}
		},
		i(local) {
			if (current) return;
			if (switch_instance) transition_in(switch_instance.$$.fragment, local);
			current = true;
		},
		o(local) {
			if (switch_instance) transition_out(switch_instance.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (detaching) detach(switch_instance_anchor);
			if (switch_instance) destroy_component(switch_instance, detaching);
		}
	};
}

function App_svelte_create_fragment(ctx) {
	let t0;
	let show_if = !(0,lodash.isNil)(/*views*/ ctx[2][/*$selectedView*/ ctx[1]]);
	let t1;
	let hud;
	let t2;
	let notifications;
	let t3;
	let sidebarmenu;
	let t4;
	let portalcontainer;
	let t5;
	let modalsroot;
	let current;
	let if_block0 = /*$videoBackgroundVisible*/ ctx[0] === true && App_svelte_create_if_block_1(ctx);
	let if_block1 = show_if && App_svelte_create_if_block(ctx);
	hud = new hud_index_svelte({});
	notifications = new notifications_index_svelte({});
	sidebarmenu = new sidebar_menu_index_svelte({});
	portalcontainer = new container_svelte({});
	modalsroot = new modals_root_index_svelte({});

	return {
		c() {
			if (if_block0) if_block0.c();
			t0 = space();
			if (if_block1) if_block1.c();
			t1 = space();
			create_component(hud.$$.fragment);
			t2 = space();
			create_component(notifications.$$.fragment);
			t3 = space();
			create_component(sidebarmenu.$$.fragment);
			t4 = space();
			create_component(portalcontainer.$$.fragment);
			t5 = space();
			create_component(modalsroot.$$.fragment);
		},
		m(target, anchor) {
			if (if_block0) if_block0.m(target, anchor);
			insert(target, t0, anchor);
			if (if_block1) if_block1.m(target, anchor);
			insert(target, t1, anchor);
			mount_component(hud, target, anchor);
			insert(target, t2, anchor);
			mount_component(notifications, target, anchor);
			insert(target, t3, anchor);
			mount_component(sidebarmenu, target, anchor);
			insert(target, t4, anchor);
			mount_component(portalcontainer, target, anchor);
			insert(target, t5, anchor);
			mount_component(modalsroot, target, anchor);
			current = true;
		},
		p(ctx, [dirty]) {
			if (/*$videoBackgroundVisible*/ ctx[0] === true) {
				if (if_block0) {
					if (dirty & /*$videoBackgroundVisible*/ 1) {
						transition_in(if_block0, 1);
					}
				} else {
					if_block0 = App_svelte_create_if_block_1(ctx);
					if_block0.c();
					transition_in(if_block0, 1);
					if_block0.m(t0.parentNode, t0);
				}
			} else if (if_block0) {
				group_outros();

				transition_out(if_block0, 1, 1, () => {
					if_block0 = null;
				});

				check_outros();
			}

			if (dirty & /*$selectedView*/ 2) show_if = !(0,lodash.isNil)(/*views*/ ctx[2][/*$selectedView*/ ctx[1]]);

			if (show_if) {
				if (if_block1) {
					if_block1.p(ctx, dirty);

					if (dirty & /*$selectedView*/ 2) {
						transition_in(if_block1, 1);
					}
				} else {
					if_block1 = App_svelte_create_if_block(ctx);
					if_block1.c();
					transition_in(if_block1, 1);
					if_block1.m(t1.parentNode, t1);
				}
			} else if (if_block1) {
				group_outros();

				transition_out(if_block1, 1, 1, () => {
					if_block1 = null;
				});

				check_outros();
			}
		},
		i(local) {
			if (current) return;
			transition_in(if_block0);
			transition_in(if_block1);
			transition_in(hud.$$.fragment, local);
			transition_in(notifications.$$.fragment, local);
			transition_in(sidebarmenu.$$.fragment, local);
			transition_in(portalcontainer.$$.fragment, local);
			transition_in(modalsroot.$$.fragment, local);
			current = true;
		},
		o(local) {
			transition_out(if_block0);
			transition_out(if_block1);
			transition_out(hud.$$.fragment, local);
			transition_out(notifications.$$.fragment, local);
			transition_out(sidebarmenu.$$.fragment, local);
			transition_out(portalcontainer.$$.fragment, local);
			transition_out(modalsroot.$$.fragment, local);
			current = false;
		},
		d(detaching) {
			if (if_block0) if_block0.d(detaching);
			if (detaching) detach(t0);
			if (if_block1) if_block1.d(detaching);
			if (detaching) detach(t1);
			destroy_component(hud, detaching);
			if (detaching) detach(t2);
			destroy_component(notifications, detaching);
			if (detaching) detach(t3);
			destroy_component(sidebarmenu, detaching);
			if (detaching) detach(t4);
			destroy_component(portalcontainer, detaching);
			if (detaching) detach(t5);
			destroy_component(modalsroot, detaching);
		}
	};
}

function App_svelte_instance($$self, $$props, $$invalidate) {
	let $browserId;
	let $videoBackgroundVisible;
	let $selectedView;
	component_subscribe($$self, browserId, $$value => $$invalidate(3, $browserId = $$value));
	component_subscribe($$self, videoBackgroundVisible, $$value => $$invalidate(0, $videoBackgroundVisible = $$value));
	component_subscribe($$self, selectedView, $$value => $$invalidate(1, $selectedView = $$value));

	const views = {
		DriftRating: drift_rating_index_svelte,
		JobContractsMenuHunting: hunting_index_svelte,
		JobContractsMenuFishing: fishing_index_svelte,
		JobContractsMenuBandit: menu_bandit_index_svelte,
		JobContractsMenuMafia: menu_mafia_index_svelte,
		JobContractsMenuDoctor: menu_doctor_index_svelte,
		JobContractsMenuJournalist: menu_journalist_index_svelte,
		JobContractsMenuAgent: menu_agent_index_svelte,
		JobContractsMenuSoldier: menu_soldier_index_svelte,
		JobContractsMenuInstructor: menu_instructor_index_svelte,
		JobContractsMenuWorker: menu_worker_index_svelte,
		JobContractsMenuCollector: menu_collector_index_svelte,
		JobContractsRatingHunting: rating_hunting_index_svelte,
		JobContractsRatingFishing: rating_fishing_index_svelte,
		JobContractsRatingPostman: postman_index_svelte,
		JobContractsContractsHunting: contracts_hunting_index_svelte,
		JobContractsContractsFishing: contracts_fishing_index_svelte,
		JobContractsContractsBandit: contracts_bandit_index_svelte,
		JobContractsContractsMafia: contracts_mafia_index_svelte,
		JobContractsContractsDoctor: contracts_doctor_index_svelte,
		JobContractsContractsJournalist: contracts_journalist_index_svelte,
		JobContractsContractsAgent: contracts_agent_index_svelte,
		JobContractsContractsSoldier: contracts_soldier_index_svelte,
		JobContractsContractsInstructor: contracts_instructor_index_svelte,
		JobContractsContractsWorker: contracts_worker_index_svelte,
		Birthday: birthday_index_svelte,
		DetectorRadar: detector_radar_index_svelte,
		LockPick: lockpick_index_svelte,
		InteractionMenu: interaction_menu_index_svelte,
		Screamer: screamer_index_svelte,
		Halloween: halloween_index_svelte,
		BarbieEventMenu: menu_index_svelte,
		BarbieEventQuests: quests_index_svelte,
		GasStation: gas_station_index_svelte,
		Auth: auth_index_svelte,
		HitmanMenu: hitman_menu_index_svelte,
		HitmanRating: hitman_rating_index_svelte,
		HitmanQuests: hitman_quests_index_svelte,
		HitmanOrder: order_index_svelte,
		Quests: views_quests_index_svelte,
		Halloween2023: halloween_2023_index_svelte,
		HalloweenEventMenu: halloween_event_menu_index_svelte,
		HalloweenEventQuests: halloween_event_quests_index_svelte,
		BattlePass: battle_pass_index_svelte,
		ShootingRangeSkills: skills_index_svelte,
		ShootingRangeChallenge: challenge_index_svelte,
		ShootingRangeMatchmaking: matchmaking_index_svelte,
		NewYearEventMenu: new_year_event_menu_index_svelte,
		NewYearEventQuests: new_year_event_quests_index_svelte,
		Shop: views_shop_index_svelte,
		SprayBooth: spray_booth_index_svelte,
		AirLineMenu: airline_menu_index_svelte,
		AirLineQuests: airline_quests_index_svelte,
		AirLineRating: airline_rating_index_svelte,
		Mail: mail_index_svelte,
		EasterEventMenu: easter_event_menu_index_svelte,
		EasterEventQuests: easter_event_quests_index_svelte,
		FadeScreen: fade_screen_index_svelte,
		FilmedText: filmed_text_index_svelte,
		RageDayEventMenu: rage_day_event_menu_index_svelte,
		RageDayEventQuests: rage_day_event_quests_index_svelte,
		Blueprint: blueprint_index_svelte,
		DailyReward: daily_reward_index_svelte,
		NpcDialog: npc_dialog_index_svelte,
		StreetFood: street_food_index_svelte,
		BoardJobMenu: board_job_menu_index_svelte,
		BoardJobChallenge: board_job_challenge_index_svelte,
		CarNumbers: car_numbers_index_svelte,
		CasinoRoulette: features_roulette_index_svelte,
		CasinoSlotsMachine: slots_machine_index_svelte,
		MountainTestDrive: mountain_test_drive_index_svelte,
		BirthDayEventMenu: birthday_event_menu_index_svelte,
		BirthDayEventQuests: birthday_event_quests_index_svelte,
		CrateRoulette: crate_roulette_index_svelte,
		TuningStation: tuning_station_index_svelte,
		Inventory: inventory_index_svelte,
		RewardBanner: reward_banner_index_svelte,
		ContainerContent: container_content_index_svelte,
		ContainersAuction: containers_auction_index_svelte,
		NeighboursGameQuests: neighbours_game_quests_index_svelte,
		NeighboursGameMain: neighbours_game_main_index_svelte,
		VipImprovement: vip_improvement_index_svelte,
		BusinessInformation: business_information_index_svelte,
		BusinessList: business_list_index_svelte,
		Excavations: excavations_index_svelte,
		Parking: parking_index_svelte,
		AnimationsMenu: animations_menu_index_svelte,
		Dice: dice_index_svelte,
		Tutorial: tutorial_index_svelte,
		TrainJobMain: train_job_main_index_svelte,
		TrainJobQuests: train_job_quests_index_svelte,
		TrainJobRoutes: routes_index_svelte,
		TrainJobWork: work_index_svelte,
		BattlePassChose: battle_pass_chose_index_svelte,
		EventPass: event_pass_index_svelte,
		OpenCase: open_case_index_svelte,
		ServiceStationMenu: service_station_menu_index_svelte,
		ServiceStationChangeOil: change_oil_index_svelte,
		ServiceStationTireList: tire_fitting_list_index_svelte,
		ServiceStationTireView: tire_fitting_view_index_svelte,
		SideMenuList: side_menu_list_index_svelte,
		SideMenuCraft: side_menu_craft_index_svelte,
		SideMenuProperties: properties_index_svelte,
		Promo: promo_index_svelte,
		StarterPacks: starter_packs_index_svelte,
		DonateShop: donate_shop_index_svelte,
		PlayerQuests: player_quests_index_svelte,
		Documents: documents_index_svelte,
		TransportInteractionShop: transport_interaction_shop_index_svelte,
		TransportInteractionRating: transport_interaction_rating_index_svelte,
		TransportInteractionCertificate: certificate_index_svelte,
		EventPassLore: event_pass_lore_index_svelte,
		EventPassRadar: event_pass_radar_index_svelte,
		EggsSortGame: eggs_index_svelte,
		DocumentsSortGame: sort_game_documents_index_svelte,
		CrystalsSortGame: crystals_index_svelte,
		Roulette: views_roulette_index_svelte
	};

	const readyCallback = () => {
		if ($browserId === undefined) {
			setTimeout(() => readyCallback(), 250);
		} else {
			window.cef.SendMessage('svelteReady', $browserId); // console.log('[error] svelteReady => undefined');
		} // console.log(`[debug] svelteReady => ${browserId}`);
	};

	onMount(() => {
		getInventoryData();

		if (window.svelteBrowserId === undefined) {
			window.cef.onMyId = id => {
				set_store_value(browserId, $browserId = id, $browserId);
				readyCallback();
			};

			window.cef.GetMyId();
			initLinksCDN();
		} else {
			set_store_value(browserId, $browserId = window.svelteBrowserId, $browserId);
			readyCallback();
		}
	});

	return [$videoBackgroundVisible, $selectedView, views];
}

class App extends SvelteComponent {
	constructor(options) {
		super();
		init(this, options, App_svelte_instance, App_svelte_create_fragment, safe_not_equal, {});
	}
}

/* harmony default export */ const App_svelte = (App);
;// CONCATENATED MODULE: ./src/index.js






registerApi();
document.oncontextmenu = function () {
  return false;
};
var app = new App_svelte({
  target: document.body
});
/* harmony default export */ const src = ((/* unused pure expression or super */ null && (app)));
})();

/******/ })()
;